diff --git a/Dockerfile b/Dockerfile index e451fadb..11c10e93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +# NOTE: python3-distutils should not be needed when emsdk > 1.39.13 is used, +# so remove it when updating emsdk FROM debian:buster RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/force-unsafe-io RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -23,19 +25,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ autoconf \ m4 \ gperf \ - wget && \ + wget \ + python3-distutils && \ rm -rf /var/lib/apt/lists/* RUN pip install ply RUN git clone https://github.com/emscripten-core/emsdk.git && \ cd emsdk && \ - ./emsdk install 1.39.11 && \ - ./emsdk activate 1.39.11 - -# Patch emscripten; needed until https://github.com/emscripten-core/emscripten/pull/10846 is merged and released -RUN wget https://raw.githubusercontent.com/emscripten-core/emscripten/d68250f1e6059168bd1f791921445527c7548e29/src/preamble.js -O /emsdk/upstream/emscripten/src/preamble.js && \ - wget https://raw.githubusercontent.com/emscripten-core/emscripten/d68250f1e6059168bd1f791921445527c7548e29/src/URIUtils.js -O /emsdk/upstream/emscripten/src/URIUtils.js + ./emsdk install 1.39.13 && \ + ./emsdk activate 1.39.13 ENV PATH=$PATH:/emsdk:/emsdk/upstream/emscripten:/emsdk/node/12.9.1_64bit/bin WORKDIR /code diff --git a/Makefile b/Makefile index f2d7ea7d..b7bcc218 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BASE_DIR:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) DIST_DIR:=$(BASE_DIR)dist/libraries -GLOBAL_CFLAGS:=-O3 +GLOBAL_CFLAGS:=-O3 -s ENVIRONMENT=web,webview -s DOUBLE_MODE=0 all: subtitleoctopus @@ -308,6 +308,8 @@ EMCC_COMMON_ARGS = \ --preload-file assets/fonts.conf \ -s ALLOW_MEMORY_GROWTH=1 \ -s FORCE_FILESYSTEM=1 \ + -s ENVIRONMENT=web,webview \ + -s DOUBLE_MODE=0 \ --llvm-lto 1 \ --no-heap-copy \ -o $@ @@ -335,6 +337,8 @@ dist/js/subtitles-octopus-worker-legacy.js: src/subtitles-octopus-worker.bc src/ --post-js src/post-worker.js \ -s WASM=0 \ -s LEGACY_VM_SUPPORT=1 \ + -s MIN_CHROME_VERSION=27 \ + -s MIN_SAFARI_VERSION=60005 \ $(EMCC_COMMON_ARGS) dist/js/subtitles-octopus.js: src/subtitles-octopus.js diff --git a/dist/js/subtitles-octopus-worker-legacy.js b/dist/js/subtitles-octopus-worker-legacy.js index 8220839a..c49b10c1 100644 --- a/dist/js/subtitles-octopus-worker-legacy.js +++ b/dist/js/subtitles-octopus-worker-legacy.js @@ -1,82 +1,82 @@ -var Module=typeof Module!=="undefined"?Module:{};if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="dist/js/subtitles-octopus-worker-legacy.data";var REMOTE_PACKAGE_BASE="subtitles-octopus-worker-legacy.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata["remote_package_size"];var PACKAGE_UUID=metadata["package_uuid"];function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","assets",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};var files=metadata["files"];for(var i=0;ithis.length){this_len=this.length}return this.substring(this_len-search.length,this_len)===search}}var hasNativeConsole=typeof console!=="undefined";function makeCustomConsole(){var console=function(){function postConsoleMessage(prefix,args){postMessage({target:"console-"+prefix,content:JSON.stringify(Array.prototype.slice.call(args))})}return{log:function(){postConsoleMessage("log",arguments)},debug:function(){postConsoleMessage("debug",arguments)},info:function(){postConsoleMessage("info",arguments)},warn:function(){postConsoleMessage("warn",arguments)},error:function(){postConsoleMessage("error",arguments)}}}();return console}Module=Module||{};Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){var i;Module["FS_createFolder"]("/","fonts",true,true);if(!self.subContent){if(self.subUrl.endsWith(".br")){self.subContent=Module["BrotliDecode"](readBinary(self.subUrl))}else{self.subContent=read_(self.subUrl)}}if(self.availableFonts&&self.availableFonts.length!==0){var sections=parseAss(self.subContent);for(var i=0;i0||self.libassGlyphLimit>0){self.octObj.setMemoryLimits(self.libassGlyphLimit,self.libassMemoryLimit)}};Module["print"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.log(text)};Module["printErr"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.error(text)};if(!hasNativeConsole){var console={log:function(x){if(typeof dump==="function")dump("log: "+x+"\n")},debug:function(x){if(typeof dump==="function")dump("debug: "+x+"\n")},info:function(x){if(typeof dump==="function")dump("info: "+x+"\n")},warn:function(x){if(typeof dump==="function")dump("warn: "+x+"\n")},error:function(x){if(typeof dump==="function")dump("error: "+x+"\n")}}}if("performance"in self===false){self.performance={}}Date.now=Date.now||function(){return(new Date).getTime()};if("now"in self.performance===false){var nowOffset=Date.now();if(performance.timing&&performance.timing.navigationStart){nowOffset=performance.timing.navigationStart}self.performance.now=function now(){return Date.now()-nowOffset}}(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unbrotli=f()}})(function(){var exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i0};BrotliBitReader.prototype.readMoreInput=function(){if(this.bit_end_pos_>256){return}else if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var dst=this.buf_ptr_;var bytes_read=this.input_.read(this.buf_,dst,BROTLI_READ_SIZE);if(bytes_read<0){throw new Error("Unexpected end of input")}if(bytes_read=8){this.val_>>>=8;this.val_|=this.buf_[this.pos_&BROTLI_IBUF_MASK]<<24;++this.pos_;this.bit_pos_=this.bit_pos_-8>>>0;this.bit_end_pos_=this.bit_end_pos_-8>>>0}};BrotliBitReader.prototype.readBits=function(n_bits){if(32-this.bit_pos_>>this.bit_pos_&kBitMask[n_bits];this.bit_pos_+=n_bits;return val};module.exports=BrotliBitReader},{}],2:[function(require,module,exports){exports.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]);exports.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],3:[function(require,module,exports){var BrotliInput=require("./streams").BrotliInput;var BrotliOutput=require("./streams").BrotliOutput;var BrotliBitReader=require("./bit_reader");var BrotliDictionary=require("./dictionary");var HuffmanCode=require("./huffman").HuffmanCode;var BrotliBuildHuffmanTable=require("./huffman").BrotliBuildHuffmanTable;var Context=require("./context");var Prefix=require("./prefix");var Transform=require("./transform");var kDefaultCodeLength=8;var kCodeLengthRepeatCode=16;var kNumLiteralCodes=256;var kNumInsertAndCopyCodes=704;var kNumBlockLengthCodes=26;var kLiteralContextBits=6;var kDistanceContextBits=2;var HUFFMAN_TABLE_BITS=8;var HUFFMAN_TABLE_MASK=255;var HUFFMAN_MAX_TABLE_SIZE=1080;var CODE_LENGTH_CODES=18;var kCodeLengthCodeOrder=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var NUM_DISTANCE_SHORT_CODES=16;var kDistanceShortCodeIndexOffset=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]);var kDistanceShortCodeValueOffset=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var kMaxHuffmanTableSize=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function DecodeWindowBits(br){var n;if(br.readBits(1)===0){return 16}n=br.readBits(3);if(n>0){return 17+n}n=br.readBits(3);if(n>0){return 8+n}return 17}function DecodeVarLenUint8(br){if(br.readBits(1)){var nbits=br.readBits(3);if(nbits===0){return 1}else{return br.readBits(nbits)+(1<1&&next_byte===0)throw new Error("Invalid size byte");out.meta_block_length|=next_byte<4&&next_nibble===0)throw new Error("Invalid size nibble");out.meta_block_length|=next_nibble<>>br.bit_pos_&HUFFMAN_TABLE_MASK;nbits=table[index].bits-HUFFMAN_TABLE_BITS;if(nbits>0){br.bit_pos_+=HUFFMAN_TABLE_BITS;index+=table[index].value;index+=br.val_>>>br.bit_pos_&(1<0){var p=0;var code_len;br.readMoreInput();br.fillBitWindow();p+=br.val_>>>br.bit_pos_&31;br.bit_pos_+=table[p].bits;code_len=table[p].value&255;if(code_len>code_len}}else{var extra_bits=code_len-14;var old_repeat;var repeat_delta;var new_len=0;if(code_len===kCodeLengthRepeatCode){new_len=prev_code_len}if(repeat_code_len!==new_len){repeat=0;repeat_code_len=new_len}old_repeat=repeat;if(repeat>0){repeat-=2;repeat<<=extra_bits}repeat+=br.readBits(extra_bits)+3;repeat_delta=repeat-old_repeat;if(symbol+repeat_delta>num_symbols){throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols")}for(var x=0;x0;++i){var code_len_idx=kCodeLengthCodeOrder[i];var p=0;var v;br.fillBitWindow();p+=br.val_>>>br.bit_pos_&15;br.bit_pos_+=huff[p].bits;v=huff[p].value;code_length_code_lengths[code_len_idx]=v;if(v!==0){space-=32>>v;++num_codes}}if(!(num_codes===1||space===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");ReadHuffmanCodeLengths(code_length_code_lengths,alphabet_size,code_lengths,br)}table_size=BrotliBuildHuffmanTable(tables,table,HUFFMAN_TABLE_BITS,code_lengths,alphabet_size);if(table_size===0){throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ")}return table_size}function ReadBlockLength(table,index,br){var code;var nbits;code=ReadSymbol(table,index,br);nbits=Prefix.kBlockLengthPrefixCode[code].nbits;return Prefix.kBlockLengthPrefixCode[code].offset+br.readBits(nbits)}function TranslateShortCodes(code,ringbuffer,index){var val;if(code>>5]);this.htrees=new Uint32Array(num_htrees)}HuffmanTreeGroup.prototype.decode=function(br){var i;var table_size;var next=0;for(i=0;i=context_map_size){throw new Error("[DecodeContextMap] i >= context_map_size")}context_map[i]=0;++i}}else{context_map[i]=code-max_run_length_prefix;++i}}if(br.readBits(1)){InverseMoveToFrontTransform(context_map,context_map_size)}return out}function DecodeBlockType(max_block_type,trees,tree_type,block_types,ringbuffers,indexes,br){var ringbuffer=tree_type*2;var index=tree_type;var type_code=ReadSymbol(trees,tree_type*HUFFMAN_MAX_TABLE_SIZE,br);var block_type;if(type_code===0){block_type=ringbuffers[ringbuffer+(indexes[index]&1)]}else if(type_code===1){block_type=ringbuffers[ringbuffer+(indexes[index]-1&1)]+1}else{block_type=type_code-2}if(block_type>=max_block_type){block_type-=max_block_type}block_types[tree_type]=block_type;ringbuffers[ringbuffer+(indexes[index]&1)]=block_type;++indexes[index]}function CopyUncompressedBlockToOutput(output,len,pos,ringbuffer,ringbuffer_mask,br){var rb_size=ringbuffer_mask+1;var rb_pos=pos&ringbuffer_mask;var br_pos=br.pos_&BrotliBitReader.IBUF_MASK;var nbytes;if(len<8||br.bit_pos_+(len<<3)0){br.readMoreInput();ringbuffer[rb_pos++]=br.readBits(8);if(rb_pos===rb_size){output.write(ringbuffer,rb_size);rb_pos=0}}return}if(br.bit_end_pos_<32){throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32")}while(br.bit_pos_<32){ringbuffer[rb_pos]=br.val_>>>br.bit_pos_;br.bit_pos_+=8;++rb_pos;--len}nbytes=br.bit_end_pos_-br.bit_pos_>>3;if(br_pos+nbytes>BrotliBitReader.IBUF_MASK){var tail=BrotliBitReader.IBUF_MASK+1-br_pos;for(var x=0;x=rb_size){output.write(ringbuffer,rb_size);rb_pos-=rb_size;for(var x=0;x=rb_size){nbytes=rb_size-rb_pos;if(br.input_.read(ringbuffer,rb_pos,nbytes)output.buffer.length){var tmp=new Uint8Array(pos+meta_block_remaining_len);tmp.set(output.buffer);output.buffer=tmp}input_end=_out.input_end;is_uncompressed=_out.is_uncompressed;if(_out.is_metadata){JumpToByteBoundary(br);for(;meta_block_remaining_len>0;--meta_block_remaining_len){br.readMoreInput();br.readBits(8)}continue}if(meta_block_remaining_len===0){continue}if(is_uncompressed){br.bit_pos_=br.bit_pos_+7&~7;CopyUncompressedBlockToOutput(output,meta_block_remaining_len,pos,ringbuffer,ringbuffer_mask,br);pos+=meta_block_remaining_len;continue}for(i=0;i<3;++i){num_block_types[i]=DecodeVarLenUint8(br)+1;if(num_block_types[i]>=2){ReadHuffmanCode(num_block_types[i]+2,block_type_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);ReadHuffmanCode(kNumBlockLengthCodes,block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_length[i]=ReadBlockLength(block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_type_rb_index[i]=1}}br.readMoreInput();distance_postfix_bits=br.readBits(2);num_direct_distance_codes=NUM_DISTANCE_SHORT_CODES+(br.readBits(4)<0){var cmd_code;var range_idx;var insert_code;var copy_code;var insert_length;var copy_length;var distance_code;var distance;var context;var j;var copy_dst;br.readMoreInput();if(block_length[1]===0){DecodeBlockType(num_block_types[1],block_type_trees,1,block_type,block_type_rb,block_type_rb_index,br);block_length[1]=ReadBlockLength(block_len_trees,HUFFMAN_MAX_TABLE_SIZE,br);htree_command=hgroup[1].htrees[block_type[1]]}--block_length[1];cmd_code=ReadSymbol(hgroup[1].codes,htree_command,br);range_idx=cmd_code>>6;if(range_idx>=2){range_idx-=2;distance_code=-1}else{distance_code=0}insert_code=Prefix.kInsertRangeLut[range_idx]+(cmd_code>>3&7);copy_code=Prefix.kCopyRangeLut[range_idx]+(cmd_code&7);insert_length=Prefix.kInsertLengthPrefixCode[insert_code].offset+br.readBits(Prefix.kInsertLengthPrefixCode[insert_code].nbits);copy_length=Prefix.kCopyLengthPrefixCode[copy_code].offset+br.readBits(Prefix.kCopyLengthPrefixCode[copy_code].nbits);prev_byte1=ringbuffer[pos-1&ringbuffer_mask];prev_byte2=ringbuffer[pos-2&ringbuffer_mask];for(j=0;j4?3:copy_length-2)&255;dist_htree_index=dist_context_map[dist_context_map_slice+context];distance_code=ReadSymbol(hgroup[2].codes,hgroup[2].htrees[dist_htree_index],br);if(distance_code>=num_direct_distance_codes){var nbits;var postfix;var offset;distance_code-=num_direct_distance_codes;postfix=distance_code&distance_postfix_mask;distance_code>>=distance_postfix_bits;nbits=(distance_code>>1)+1;offset=(2+(distance_code&1)<max_distance){if(copy_length>=BrotliDictionary.minDictionaryWordLength&©_length<=BrotliDictionary.maxDictionaryWordLength){var offset=BrotliDictionary.offsetsByLength[copy_length];var word_id=distance-max_distance-1;var shift=BrotliDictionary.sizeBitsByLength[copy_length];var mask=(1<>shift;offset+=word_idx*copy_length;if(transform_idx=ringbuffer_end){output.write(ringbuffer,ringbuffer_size);for(var _x=0;_x0){dist_rb[dist_rb_idx&3]=distance;++dist_rb_idx}if(copy_length>meta_block_remaining_len){throw new Error("Invalid backward reference. pos: "+pos+" distance: "+distance+" len: "+copy_length+" bytes left: "+meta_block_remaining_len)}for(j=0;j>=1}return(key&step-1)+step}function ReplicateValue(table,i,step,end,code){do{end-=step;table[i+end]=new HuffmanCode(code.bits,code.value)}while(end>0)}function NextTableBitSize(count,len,root_bits){var left=1<0;--count[len]){code=new HuffmanCode(len&255,sorted[symbol++]&65535);ReplicateValue(root_table,table+key,step,table_size,code);key=GetNextKey(key,len)}}mask=total_size-1;low=-1;for(len=root_bits+1,step=2;len<=MAX_LENGTH;++len,step<<=1){for(;count[len]>0;--count[len]){if((key&mask)!==low){table+=table_size;table_bits=NextTableBitSize(count,len,root_bits);table_size=1<>root_bits),step,table_size,code);key=GetNextKey(key,len)}}return total_size}},{}],8:[function(require,module,exports){function PrefixCodeRange(offset,nbits){this.offset=offset;this.nbits=nbits}exports.kBlockLengthPrefixCode=[new PrefixCodeRange(1,2),new PrefixCodeRange(5,2),new PrefixCodeRange(9,2),new PrefixCodeRange(13,2),new PrefixCodeRange(17,3),new PrefixCodeRange(25,3),new PrefixCodeRange(33,3),new PrefixCodeRange(41,3),new PrefixCodeRange(49,4),new PrefixCodeRange(65,4),new PrefixCodeRange(81,4),new PrefixCodeRange(97,4),new PrefixCodeRange(113,5),new PrefixCodeRange(145,5),new PrefixCodeRange(177,5),new PrefixCodeRange(209,5),new PrefixCodeRange(241,6),new PrefixCodeRange(305,6),new PrefixCodeRange(369,7),new PrefixCodeRange(497,8),new PrefixCodeRange(753,9),new PrefixCodeRange(1265,10),new PrefixCodeRange(2289,11),new PrefixCodeRange(4337,12),new PrefixCodeRange(8433,13),new PrefixCodeRange(16625,24)];exports.kInsertLengthPrefixCode=[new PrefixCodeRange(0,0),new PrefixCodeRange(1,0),new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,1),new PrefixCodeRange(8,1),new PrefixCodeRange(10,2),new PrefixCodeRange(14,2),new PrefixCodeRange(18,3),new PrefixCodeRange(26,3),new PrefixCodeRange(34,4),new PrefixCodeRange(50,4),new PrefixCodeRange(66,5),new PrefixCodeRange(98,5),new PrefixCodeRange(130,6),new PrefixCodeRange(194,7),new PrefixCodeRange(322,8),new PrefixCodeRange(578,9),new PrefixCodeRange(1090,10),new PrefixCodeRange(2114,12),new PrefixCodeRange(6210,14),new PrefixCodeRange(22594,24)];exports.kCopyLengthPrefixCode=[new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,0),new PrefixCodeRange(7,0),new PrefixCodeRange(8,0),new PrefixCodeRange(9,0),new PrefixCodeRange(10,1),new PrefixCodeRange(12,1),new PrefixCodeRange(14,2),new PrefixCodeRange(18,2),new PrefixCodeRange(22,3),new PrefixCodeRange(30,3),new PrefixCodeRange(38,4),new PrefixCodeRange(54,4),new PrefixCodeRange(70,5),new PrefixCodeRange(102,5),new PrefixCodeRange(134,6),new PrefixCodeRange(198,7),new PrefixCodeRange(326,8),new PrefixCodeRange(582,9),new PrefixCodeRange(1094,10),new PrefixCodeRange(2118,24)];exports.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];exports.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],9:[function(require,module,exports){function BrotliInput(buffer){this.buffer=buffer;this.pos=0}BrotliInput.prototype.read=function(buf,i,count){if(this.pos+count>this.buffer.length){count=this.buffer.length-this.pos}for(var p=0;pthis.buffer.length)throw new Error("Output buffer is not large enough");this.buffer.set(buf.subarray(0,count),this.pos);this.pos+=count;return count};exports.BrotliOutput=BrotliOutput},{}],10:[function(require,module,exports){var BrotliDictionary=require("./dictionary");var kIdentity=0;var kOmitLast1=1;var kOmitLast2=2;var kOmitLast3=3;var kOmitLast4=4;var kOmitLast5=5;var kOmitLast6=6;var kOmitLast7=7;var kOmitLast8=8;var kOmitLast9=9;var kUppercaseFirst=10;var kUppercaseAll=11;var kOmitFirst1=12;var kOmitFirst2=13;var kOmitFirst3=14;var kOmitFirst4=15;var kOmitFirst5=16;var kOmitFirst6=17;var kOmitFirst7=18;var kOmitFirst9=20;function Transform(prefix,transform,suffix){this.prefix=new Uint8Array(prefix.length);this.transform=transform;this.suffix=new Uint8Array(suffix.length);for(var i=0;i'),new Transform("",kIdentity,"\n"),new Transform("",kOmitLast3,""),new Transform("",kIdentity,"]"),new Transform("",kIdentity," for "),new Transform("",kOmitFirst3,""),new Transform("",kOmitLast2,""),new Transform("",kIdentity," a "),new Transform("",kIdentity," that "),new Transform(" ",kUppercaseFirst,""),new Transform("",kIdentity,". "),new Transform(".",kIdentity,""),new Transform(" ",kIdentity,", "),new Transform("",kOmitFirst4,""),new Transform("",kIdentity," with "),new Transform("",kIdentity,"'"),new Transform("",kIdentity," from "),new Transform("",kIdentity," by "),new Transform("",kOmitFirst5,""),new Transform("",kOmitFirst6,""),new Transform(" the ",kIdentity,""),new Transform("",kOmitLast4,""),new Transform("",kIdentity,". The "),new Transform("",kUppercaseAll,""),new Transform("",kIdentity," on "),new Transform("",kIdentity," as "),new Transform("",kIdentity," is "),new Transform("",kOmitLast7,""),new Transform("",kOmitLast1,"ing "),new Transform("",kIdentity,"\n\t"),new Transform("",kIdentity,":"),new Transform(" ",kIdentity,". "),new Transform("",kIdentity,"ed "),new Transform("",kOmitFirst9,""),new Transform("",kOmitFirst7,""),new Transform("",kOmitLast6,""),new Transform("",kIdentity,"("),new Transform("",kUppercaseFirst,", "),new Transform("",kOmitLast8,""),new Transform("",kIdentity," at "),new Transform("",kIdentity,"ly "),new Transform(" the ",kIdentity," of "),new Transform("",kOmitLast5,""),new Transform("",kOmitLast9,""),new Transform(" ",kUppercaseFirst,", "),new Transform("",kUppercaseFirst,'"'),new Transform(".",kIdentity,"("),new Transform("",kUppercaseAll," "),new Transform("",kUppercaseFirst,'">'),new Transform("",kIdentity,'="'),new Transform(" ",kIdentity,"."),new Transform(".com/",kIdentity,""),new Transform(" the ",kIdentity," of the "),new Transform("",kUppercaseFirst,"'"),new Transform("",kIdentity,". This "),new Transform("",kIdentity,","),new Transform(".",kIdentity," "),new Transform("",kUppercaseFirst,"("),new Transform("",kUppercaseFirst,"."),new Transform("",kIdentity," not "),new Transform(" ",kIdentity,'="'),new Transform("",kIdentity,"er "),new Transform(" ",kUppercaseAll," "),new Transform("",kIdentity,"al "),new Transform(" ",kUppercaseAll,""),new Transform("",kIdentity,"='"),new Transform("",kUppercaseAll,'"'),new Transform("",kUppercaseFirst,". "),new Transform(" ",kIdentity,"("),new Transform("",kIdentity,"ful "),new Transform(" ",kUppercaseFirst,". "),new Transform("",kIdentity,"ive "),new Transform("",kIdentity,"less "),new Transform("",kUppercaseAll,"'"),new Transform("",kIdentity,"est "),new Transform(" ",kUppercaseFirst,"."),new Transform("",kUppercaseAll,'">'),new Transform(" ",kIdentity,"='"),new Transform("",kUppercaseFirst,","),new Transform("",kIdentity,"ize "),new Transform("",kUppercaseAll,"."),new Transform(" ",kIdentity,""),new Transform(" ",kIdentity,","),new Transform("",kUppercaseFirst,'="'),new Transform("",kUppercaseAll,'="'),new Transform("",kIdentity,"ous "),new Transform("",kUppercaseAll,", "),new Transform("",kUppercaseFirst,"='"),new Transform(" ",kUppercaseFirst,","),new Transform(" ",kUppercaseAll,'="'),new Transform(" ",kUppercaseAll,", "),new Transform("",kUppercaseAll,","),new Transform("",kUppercaseAll,"("),new Transform("",kUppercaseAll,". "),new Transform(" ",kUppercaseAll,"."),new Transform("",kUppercaseAll,"='"),new Transform(" ",kUppercaseAll,". "),new Transform(" ",kUppercaseFirst,'="'),new Transform(" ",kUppercaseAll,"='"),new Transform(" ",kUppercaseFirst,"='")];exports.kTransforms=kTransforms;exports.kNumTransforms=kTransforms.length;function ToUpperCase(p,i){if(p[i]<192){if(p[i]>=97&&p[i]<=122){p[i]^=32}return 1}if(p[i]<224){p[i+1]^=32;return 2}p[i+2]^=5;return 3}exports.transformDictionaryWord=function(dst,idx,word,len,transform){var prefix=kTransforms[transform].prefix;var suffix=kTransforms[transform].suffix;var t=kTransforms[transform].transform;var skip=tlen){skip=len}var prefix_pos=0;while(prefix_pos0){var step=ToUpperCase(dst,uppercase);uppercase+=step;len-=step}}var suffix_pos=0;while(suffix_pos0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}]},{},[11])(11)});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=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else 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"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=Number(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=1024;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];var Promise=function(){function noop(){}function bind(fn,thisArg){return function(){fn.apply(thisArg,arguments)}}function Promise(fn){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if(typeof fn!=="function")throw new TypeError("not a function");this._state=0;this._handled=false;this._value=undefined;this._deferreds=[];doResolve(fn,this)}function handle(self,deferred){while(self._state===3){self=self._value}if(self._state===0){self._deferreds.push(deferred);return}self._handled=true;Promise._immediateFn(function(){var cb=self._state===1?deferred.onFulfilled:deferred.onRejected;if(cb===null){(self._state===1?resolve:reject)(deferred.promise,self._value);return}var ret;try{ret=cb(self._value)}catch(e){reject(deferred.promise,e);return}resolve(deferred.promise,ret)})}function resolve(self,newValue){try{if(newValue===self)throw new TypeError("A promise cannot be resolved with itself.");if(newValue&&(typeof newValue==="object"||typeof newValue==="function")){var then=newValue.then;if(newValue instanceof Promise){self._state=3;self._value=newValue;finale(self);return}else if(typeof then==="function"){doResolve(bind(then,newValue),self);return}}self._state=1;self._value=newValue;finale(self)}catch(e){reject(self,e)}}function reject(self,newValue){self._state=2;self._value=newValue;finale(self)}function finale(self){if(self._state===2&&self._deferreds.length===0){Promise._immediateFn(function(){if(!self._handled){Promise._unhandledRejectionFn(self._value)}})}for(var i=0,len=self._deferreds.length;i=1009+0){abort("Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH.")}ret.push(null)};ret.set=function(i,func){ret[i]=func};ret.get=function(i){return ret[i]};return ret},Module:function(binary){return{}},Instance:function(module,info){var exports=( +var Module=typeof Module!=="undefined"?Module:{};if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="dist/js/subtitles-octopus-worker-legacy.data";var REMOTE_PACKAGE_BASE="subtitles-octopus-worker-legacy.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata["remote_package_size"];var PACKAGE_UUID=metadata["package_uuid"];function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","assets",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};var files=metadata["files"];for(var i=0;ithis.length){this_len=this.length}return this.substring(this_len-search.length,this_len)===search}}if(!Uint8Array.prototype.slice){Object.defineProperty(Uint8Array.prototype,"slice",{value:function(begin,end){return new Uint8Array(this.subarray(begin,end))}})}var hasNativeConsole=typeof console!=="undefined";function makeCustomConsole(){var console=function(){function postConsoleMessage(prefix,args){postMessage({target:"console-"+prefix,content:JSON.stringify(Array.prototype.slice.call(args))})}return{log:function(){postConsoleMessage("log",arguments)},debug:function(){postConsoleMessage("debug",arguments)},info:function(){postConsoleMessage("info",arguments)},warn:function(){postConsoleMessage("warn",arguments)},error:function(){postConsoleMessage("error",arguments)}}}();return console}Module=Module||{};Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){var i;Module["FS_createFolder"]("/","fonts",true,true);if(!self.subContent){if(self.subUrl.endsWith(".br")){self.subContent=Module["BrotliDecode"](readBinary(self.subUrl))}else{self.subContent=read_(self.subUrl)}}if(self.availableFonts&&self.availableFonts.length!==0){var sections=parseAss(self.subContent);for(var i=0;i0||self.libassGlyphLimit>0){self.octObj.setMemoryLimits(self.libassGlyphLimit,self.libassMemoryLimit)}};Module["print"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.log(text)};Module["printErr"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.error(text)};if(!hasNativeConsole){var console={log:function(x){if(typeof dump==="function")dump("log: "+x+"\n")},debug:function(x){if(typeof dump==="function")dump("debug: "+x+"\n")},info:function(x){if(typeof dump==="function")dump("info: "+x+"\n")},warn:function(x){if(typeof dump==="function")dump("warn: "+x+"\n")},error:function(x){if(typeof dump==="function")dump("error: "+x+"\n")}}}if("performance"in self===false){self.performance={}}Date.now=Date.now||function(){return(new Date).getTime()};if("now"in self.performance===false){var nowOffset=Date.now();if(performance.timing&&performance.timing.navigationStart){nowOffset=performance.timing.navigationStart}self.performance.now=function now(){return Date.now()-nowOffset}}(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unbrotli=f()}})(function(){return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i0};BrotliBitReader.prototype.readMoreInput=function(){if(this.bit_end_pos_>256){return}else if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var dst=this.buf_ptr_;var bytes_read=this.input_.read(this.buf_,dst,BROTLI_READ_SIZE);if(bytes_read<0){throw new Error("Unexpected end of input")}if(bytes_read=8){this.val_>>>=8;this.val_|=this.buf_[this.pos_&BROTLI_IBUF_MASK]<<24;++this.pos_;this.bit_pos_=this.bit_pos_-8>>>0;this.bit_end_pos_=this.bit_end_pos_-8>>>0}};BrotliBitReader.prototype.readBits=function(n_bits){if(32-this.bit_pos_>>this.bit_pos_&kBitMask[n_bits];this.bit_pos_+=n_bits;return val};module.exports=BrotliBitReader},{}],2:[function(require,module,exports){exports.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]);exports.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],3:[function(require,module,exports){var BrotliInput=require("./streams").BrotliInput;var BrotliOutput=require("./streams").BrotliOutput;var BrotliBitReader=require("./bit_reader");var BrotliDictionary=require("./dictionary");var HuffmanCode=require("./huffman").HuffmanCode;var BrotliBuildHuffmanTable=require("./huffman").BrotliBuildHuffmanTable;var Context=require("./context");var Prefix=require("./prefix");var Transform=require("./transform");var kDefaultCodeLength=8;var kCodeLengthRepeatCode=16;var kNumLiteralCodes=256;var kNumInsertAndCopyCodes=704;var kNumBlockLengthCodes=26;var kLiteralContextBits=6;var kDistanceContextBits=2;var HUFFMAN_TABLE_BITS=8;var HUFFMAN_TABLE_MASK=255;var HUFFMAN_MAX_TABLE_SIZE=1080;var CODE_LENGTH_CODES=18;var kCodeLengthCodeOrder=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var NUM_DISTANCE_SHORT_CODES=16;var kDistanceShortCodeIndexOffset=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]);var kDistanceShortCodeValueOffset=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var kMaxHuffmanTableSize=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function DecodeWindowBits(br){var n;if(br.readBits(1)===0){return 16}n=br.readBits(3);if(n>0){return 17+n}n=br.readBits(3);if(n>0){return 8+n}return 17}function DecodeVarLenUint8(br){if(br.readBits(1)){var nbits=br.readBits(3);if(nbits===0){return 1}else{return br.readBits(nbits)+(1<1&&next_byte===0)throw new Error("Invalid size byte");out.meta_block_length|=next_byte<4&&next_nibble===0)throw new Error("Invalid size nibble");out.meta_block_length|=next_nibble<>>br.bit_pos_&HUFFMAN_TABLE_MASK;nbits=table[index].bits-HUFFMAN_TABLE_BITS;if(nbits>0){br.bit_pos_+=HUFFMAN_TABLE_BITS;index+=table[index].value;index+=br.val_>>>br.bit_pos_&(1<0){var p=0;var code_len;br.readMoreInput();br.fillBitWindow();p+=br.val_>>>br.bit_pos_&31;br.bit_pos_+=table[p].bits;code_len=table[p].value&255;if(code_len>code_len}}else{var extra_bits=code_len-14;var old_repeat;var repeat_delta;var new_len=0;if(code_len===kCodeLengthRepeatCode){new_len=prev_code_len}if(repeat_code_len!==new_len){repeat=0;repeat_code_len=new_len}old_repeat=repeat;if(repeat>0){repeat-=2;repeat<<=extra_bits}repeat+=br.readBits(extra_bits)+3;repeat_delta=repeat-old_repeat;if(symbol+repeat_delta>num_symbols){throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols")}for(var x=0;x0;++i){var code_len_idx=kCodeLengthCodeOrder[i];var p=0;var v;br.fillBitWindow();p+=br.val_>>>br.bit_pos_&15;br.bit_pos_+=huff[p].bits;v=huff[p].value;code_length_code_lengths[code_len_idx]=v;if(v!==0){space-=32>>v;++num_codes}}if(!(num_codes===1||space===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");ReadHuffmanCodeLengths(code_length_code_lengths,alphabet_size,code_lengths,br)}table_size=BrotliBuildHuffmanTable(tables,table,HUFFMAN_TABLE_BITS,code_lengths,alphabet_size);if(table_size===0){throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ")}return table_size}function ReadBlockLength(table,index,br){var code;var nbits;code=ReadSymbol(table,index,br);nbits=Prefix.kBlockLengthPrefixCode[code].nbits;return Prefix.kBlockLengthPrefixCode[code].offset+br.readBits(nbits)}function TranslateShortCodes(code,ringbuffer,index){var val;if(code>>5]);this.htrees=new Uint32Array(num_htrees)}HuffmanTreeGroup.prototype.decode=function(br){var i;var table_size;var next=0;for(i=0;i=context_map_size){throw new Error("[DecodeContextMap] i >= context_map_size")}context_map[i]=0;++i}}else{context_map[i]=code-max_run_length_prefix;++i}}if(br.readBits(1)){InverseMoveToFrontTransform(context_map,context_map_size)}return out}function DecodeBlockType(max_block_type,trees,tree_type,block_types,ringbuffers,indexes,br){var ringbuffer=tree_type*2;var index=tree_type;var type_code=ReadSymbol(trees,tree_type*HUFFMAN_MAX_TABLE_SIZE,br);var block_type;if(type_code===0){block_type=ringbuffers[ringbuffer+(indexes[index]&1)]}else if(type_code===1){block_type=ringbuffers[ringbuffer+(indexes[index]-1&1)]+1}else{block_type=type_code-2}if(block_type>=max_block_type){block_type-=max_block_type}block_types[tree_type]=block_type;ringbuffers[ringbuffer+(indexes[index]&1)]=block_type;++indexes[index]}function CopyUncompressedBlockToOutput(output,len,pos,ringbuffer,ringbuffer_mask,br){var rb_size=ringbuffer_mask+1;var rb_pos=pos&ringbuffer_mask;var br_pos=br.pos_&BrotliBitReader.IBUF_MASK;var nbytes;if(len<8||br.bit_pos_+(len<<3)0){br.readMoreInput();ringbuffer[rb_pos++]=br.readBits(8);if(rb_pos===rb_size){output.write(ringbuffer,rb_size);rb_pos=0}}return}if(br.bit_end_pos_<32){throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32")}while(br.bit_pos_<32){ringbuffer[rb_pos]=br.val_>>>br.bit_pos_;br.bit_pos_+=8;++rb_pos;--len}nbytes=br.bit_end_pos_-br.bit_pos_>>3;if(br_pos+nbytes>BrotliBitReader.IBUF_MASK){var tail=BrotliBitReader.IBUF_MASK+1-br_pos;for(var x=0;x=rb_size){output.write(ringbuffer,rb_size);rb_pos-=rb_size;for(var x=0;x=rb_size){nbytes=rb_size-rb_pos;if(br.input_.read(ringbuffer,rb_pos,nbytes)output.buffer.length){var tmp=new Uint8Array(pos+meta_block_remaining_len);tmp.set(output.buffer);output.buffer=tmp}input_end=_out.input_end;is_uncompressed=_out.is_uncompressed;if(_out.is_metadata){JumpToByteBoundary(br);for(;meta_block_remaining_len>0;--meta_block_remaining_len){br.readMoreInput();br.readBits(8)}continue}if(meta_block_remaining_len===0){continue}if(is_uncompressed){br.bit_pos_=br.bit_pos_+7&~7;CopyUncompressedBlockToOutput(output,meta_block_remaining_len,pos,ringbuffer,ringbuffer_mask,br);pos+=meta_block_remaining_len;continue}for(i=0;i<3;++i){num_block_types[i]=DecodeVarLenUint8(br)+1;if(num_block_types[i]>=2){ReadHuffmanCode(num_block_types[i]+2,block_type_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);ReadHuffmanCode(kNumBlockLengthCodes,block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_length[i]=ReadBlockLength(block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_type_rb_index[i]=1}}br.readMoreInput();distance_postfix_bits=br.readBits(2);num_direct_distance_codes=NUM_DISTANCE_SHORT_CODES+(br.readBits(4)<0){var cmd_code;var range_idx;var insert_code;var copy_code;var insert_length;var copy_length;var distance_code;var distance;var context;var j;var copy_dst;br.readMoreInput();if(block_length[1]===0){DecodeBlockType(num_block_types[1],block_type_trees,1,block_type,block_type_rb,block_type_rb_index,br);block_length[1]=ReadBlockLength(block_len_trees,HUFFMAN_MAX_TABLE_SIZE,br);htree_command=hgroup[1].htrees[block_type[1]]}--block_length[1];cmd_code=ReadSymbol(hgroup[1].codes,htree_command,br);range_idx=cmd_code>>6;if(range_idx>=2){range_idx-=2;distance_code=-1}else{distance_code=0}insert_code=Prefix.kInsertRangeLut[range_idx]+(cmd_code>>3&7);copy_code=Prefix.kCopyRangeLut[range_idx]+(cmd_code&7);insert_length=Prefix.kInsertLengthPrefixCode[insert_code].offset+br.readBits(Prefix.kInsertLengthPrefixCode[insert_code].nbits);copy_length=Prefix.kCopyLengthPrefixCode[copy_code].offset+br.readBits(Prefix.kCopyLengthPrefixCode[copy_code].nbits);prev_byte1=ringbuffer[pos-1&ringbuffer_mask];prev_byte2=ringbuffer[pos-2&ringbuffer_mask];for(j=0;j4?3:copy_length-2)&255;dist_htree_index=dist_context_map[dist_context_map_slice+context];distance_code=ReadSymbol(hgroup[2].codes,hgroup[2].htrees[dist_htree_index],br);if(distance_code>=num_direct_distance_codes){var nbits;var postfix;var offset;distance_code-=num_direct_distance_codes;postfix=distance_code&distance_postfix_mask;distance_code>>=distance_postfix_bits;nbits=(distance_code>>1)+1;offset=(2+(distance_code&1)<max_distance){if(copy_length>=BrotliDictionary.minDictionaryWordLength&©_length<=BrotliDictionary.maxDictionaryWordLength){var offset=BrotliDictionary.offsetsByLength[copy_length];var word_id=distance-max_distance-1;var shift=BrotliDictionary.sizeBitsByLength[copy_length];var mask=(1<>shift;offset+=word_idx*copy_length;if(transform_idx=ringbuffer_end){output.write(ringbuffer,ringbuffer_size);for(var _x=0;_x0){dist_rb[dist_rb_idx&3]=distance;++dist_rb_idx}if(copy_length>meta_block_remaining_len){throw new Error("Invalid backward reference. pos: "+pos+" distance: "+distance+" len: "+copy_length+" bytes left: "+meta_block_remaining_len)}for(j=0;j>=1}return(key&step-1)+step}function ReplicateValue(table,i,step,end,code){do{end-=step;table[i+end]=new HuffmanCode(code.bits,code.value)}while(end>0)}function NextTableBitSize(count,len,root_bits){var left=1<0;--count[len]){code=new HuffmanCode(len&255,sorted[symbol++]&65535);ReplicateValue(root_table,table+key,step,table_size,code);key=GetNextKey(key,len)}}mask=total_size-1;low=-1;for(len=root_bits+1,step=2;len<=MAX_LENGTH;++len,step<<=1){for(;count[len]>0;--count[len]){if((key&mask)!==low){table+=table_size;table_bits=NextTableBitSize(count,len,root_bits);table_size=1<>root_bits),step,table_size,code);key=GetNextKey(key,len)}}return total_size}},{}],8:[function(require,module,exports){function PrefixCodeRange(offset,nbits){this.offset=offset;this.nbits=nbits}exports.kBlockLengthPrefixCode=[new PrefixCodeRange(1,2),new PrefixCodeRange(5,2),new PrefixCodeRange(9,2),new PrefixCodeRange(13,2),new PrefixCodeRange(17,3),new PrefixCodeRange(25,3),new PrefixCodeRange(33,3),new PrefixCodeRange(41,3),new PrefixCodeRange(49,4),new PrefixCodeRange(65,4),new PrefixCodeRange(81,4),new PrefixCodeRange(97,4),new PrefixCodeRange(113,5),new PrefixCodeRange(145,5),new PrefixCodeRange(177,5),new PrefixCodeRange(209,5),new PrefixCodeRange(241,6),new PrefixCodeRange(305,6),new PrefixCodeRange(369,7),new PrefixCodeRange(497,8),new PrefixCodeRange(753,9),new PrefixCodeRange(1265,10),new PrefixCodeRange(2289,11),new PrefixCodeRange(4337,12),new PrefixCodeRange(8433,13),new PrefixCodeRange(16625,24)];exports.kInsertLengthPrefixCode=[new PrefixCodeRange(0,0),new PrefixCodeRange(1,0),new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,1),new PrefixCodeRange(8,1),new PrefixCodeRange(10,2),new PrefixCodeRange(14,2),new PrefixCodeRange(18,3),new PrefixCodeRange(26,3),new PrefixCodeRange(34,4),new PrefixCodeRange(50,4),new PrefixCodeRange(66,5),new PrefixCodeRange(98,5),new PrefixCodeRange(130,6),new PrefixCodeRange(194,7),new PrefixCodeRange(322,8),new PrefixCodeRange(578,9),new PrefixCodeRange(1090,10),new PrefixCodeRange(2114,12),new PrefixCodeRange(6210,14),new PrefixCodeRange(22594,24)];exports.kCopyLengthPrefixCode=[new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,0),new PrefixCodeRange(7,0),new PrefixCodeRange(8,0),new PrefixCodeRange(9,0),new PrefixCodeRange(10,1),new PrefixCodeRange(12,1),new PrefixCodeRange(14,2),new PrefixCodeRange(18,2),new PrefixCodeRange(22,3),new PrefixCodeRange(30,3),new PrefixCodeRange(38,4),new PrefixCodeRange(54,4),new PrefixCodeRange(70,5),new PrefixCodeRange(102,5),new PrefixCodeRange(134,6),new PrefixCodeRange(198,7),new PrefixCodeRange(326,8),new PrefixCodeRange(582,9),new PrefixCodeRange(1094,10),new PrefixCodeRange(2118,24)];exports.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];exports.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],9:[function(require,module,exports){function BrotliInput(buffer){this.buffer=buffer;this.pos=0}BrotliInput.prototype.read=function(buf,i,count){if(this.pos+count>this.buffer.length){count=this.buffer.length-this.pos}for(var p=0;pthis.buffer.length)throw new Error("Output buffer is not large enough");this.buffer.set(buf.subarray(0,count),this.pos);this.pos+=count;return count};exports.BrotliOutput=BrotliOutput},{}],10:[function(require,module,exports){var BrotliDictionary=require("./dictionary");var kIdentity=0;var kOmitLast1=1;var kOmitLast2=2;var kOmitLast3=3;var kOmitLast4=4;var kOmitLast5=5;var kOmitLast6=6;var kOmitLast7=7;var kOmitLast8=8;var kOmitLast9=9;var kUppercaseFirst=10;var kUppercaseAll=11;var kOmitFirst1=12;var kOmitFirst2=13;var kOmitFirst3=14;var kOmitFirst4=15;var kOmitFirst5=16;var kOmitFirst6=17;var kOmitFirst7=18;var kOmitFirst9=20;function Transform(prefix,transform,suffix){this.prefix=new Uint8Array(prefix.length);this.transform=transform;this.suffix=new Uint8Array(suffix.length);for(var i=0;i'),new Transform("",kIdentity,"\n"),new Transform("",kOmitLast3,""),new Transform("",kIdentity,"]"),new Transform("",kIdentity," for "),new Transform("",kOmitFirst3,""),new Transform("",kOmitLast2,""),new Transform("",kIdentity," a "),new Transform("",kIdentity," that "),new Transform(" ",kUppercaseFirst,""),new Transform("",kIdentity,". "),new Transform(".",kIdentity,""),new Transform(" ",kIdentity,", "),new Transform("",kOmitFirst4,""),new Transform("",kIdentity," with "),new Transform("",kIdentity,"'"),new Transform("",kIdentity," from "),new Transform("",kIdentity," by "),new Transform("",kOmitFirst5,""),new Transform("",kOmitFirst6,""),new Transform(" the ",kIdentity,""),new Transform("",kOmitLast4,""),new Transform("",kIdentity,". The "),new Transform("",kUppercaseAll,""),new Transform("",kIdentity," on "),new Transform("",kIdentity," as "),new Transform("",kIdentity," is "),new Transform("",kOmitLast7,""),new Transform("",kOmitLast1,"ing "),new Transform("",kIdentity,"\n\t"),new Transform("",kIdentity,":"),new Transform(" ",kIdentity,". "),new Transform("",kIdentity,"ed "),new Transform("",kOmitFirst9,""),new Transform("",kOmitFirst7,""),new Transform("",kOmitLast6,""),new Transform("",kIdentity,"("),new Transform("",kUppercaseFirst,", "),new Transform("",kOmitLast8,""),new Transform("",kIdentity," at "),new Transform("",kIdentity,"ly "),new Transform(" the ",kIdentity," of "),new Transform("",kOmitLast5,""),new Transform("",kOmitLast9,""),new Transform(" ",kUppercaseFirst,", "),new Transform("",kUppercaseFirst,'"'),new Transform(".",kIdentity,"("),new Transform("",kUppercaseAll," "),new Transform("",kUppercaseFirst,'">'),new Transform("",kIdentity,'="'),new Transform(" ",kIdentity,"."),new Transform(".com/",kIdentity,""),new Transform(" the ",kIdentity," of the "),new Transform("",kUppercaseFirst,"'"),new Transform("",kIdentity,". This "),new Transform("",kIdentity,","),new Transform(".",kIdentity," "),new Transform("",kUppercaseFirst,"("),new Transform("",kUppercaseFirst,"."),new Transform("",kIdentity," not "),new Transform(" ",kIdentity,'="'),new Transform("",kIdentity,"er "),new Transform(" ",kUppercaseAll," "),new Transform("",kIdentity,"al "),new Transform(" ",kUppercaseAll,""),new Transform("",kIdentity,"='"),new Transform("",kUppercaseAll,'"'),new Transform("",kUppercaseFirst,". "),new Transform(" ",kIdentity,"("),new Transform("",kIdentity,"ful "),new Transform(" ",kUppercaseFirst,". "),new Transform("",kIdentity,"ive "),new Transform("",kIdentity,"less "),new Transform("",kUppercaseAll,"'"),new Transform("",kIdentity,"est "),new Transform(" ",kUppercaseFirst,"."),new Transform("",kUppercaseAll,'">'),new Transform(" ",kIdentity,"='"),new Transform("",kUppercaseFirst,","),new Transform("",kIdentity,"ize "),new Transform("",kUppercaseAll,"."),new Transform(" ",kIdentity,""),new Transform(" ",kIdentity,","),new Transform("",kUppercaseFirst,'="'),new Transform("",kUppercaseAll,'="'),new Transform("",kIdentity,"ous "),new Transform("",kUppercaseAll,", "),new Transform("",kUppercaseFirst,"='"),new Transform(" ",kUppercaseFirst,","),new Transform(" ",kUppercaseAll,'="'),new Transform(" ",kUppercaseAll,", "),new Transform("",kUppercaseAll,","),new Transform("",kUppercaseAll,"("),new Transform("",kUppercaseAll,". "),new Transform(" ",kUppercaseAll,"."),new Transform("",kUppercaseAll,"='"),new Transform(" ",kUppercaseAll,". "),new Transform(" ",kUppercaseFirst,'="'),new Transform(" ",kUppercaseAll,"='"),new Transform(" ",kUppercaseFirst,"='")];exports.kTransforms=kTransforms;exports.kNumTransforms=kTransforms.length;function ToUpperCase(p,i){if(p[i]<192){if(p[i]>=97&&p[i]<=122){p[i]^=32}return 1}if(p[i]<224){p[i+1]^=32;return 2}p[i+2]^=5;return 3}exports.transformDictionaryWord=function(dst,idx,word,len,transform){var prefix=kTransforms[transform].prefix;var suffix=kTransforms[transform].suffix;var t=kTransforms[transform].transform;var skip=tlen){skip=len}var prefix_pos=0;while(prefix_pos0){var step=ToUpperCase(dst,uppercase);uppercase+=step;len-=step}}var suffix_pos=0;while(suffix_pos0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}]},{},[11])(11)});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=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}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"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=1024;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];var Promise=function(){function noop(){}function bind(fn,thisArg){return function(){fn.apply(thisArg,arguments)}}function Promise(fn){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if(typeof fn!=="function")throw new TypeError("not a function");this._state=0;this._handled=false;this._value=undefined;this._deferreds=[];doResolve(fn,this)}function handle(self,deferred){while(self._state===3){self=self._value}if(self._state===0){self._deferreds.push(deferred);return}self._handled=true;Promise._immediateFn(function(){var cb=self._state===1?deferred.onFulfilled:deferred.onRejected;if(cb===null){(self._state===1?resolve:reject)(deferred.promise,self._value);return}var ret;try{ret=cb(self._value)}catch(e){reject(deferred.promise,e);return}resolve(deferred.promise,ret)})}function resolve(self,newValue){try{if(newValue===self)throw new TypeError("A promise cannot be resolved with itself.");if(newValue&&(typeof newValue==="object"||typeof newValue==="function")){var then=newValue.then;if(newValue instanceof Promise){self._state=3;self._value=newValue;finale(self);return}else if(typeof then==="function"){doResolve(bind(then,newValue),self);return}}self._state=1;self._value=newValue;finale(self)}catch(e){reject(self,e)}}function reject(self,newValue){self._state=2;self._value=newValue;finale(self)}function finale(self){if(self._state===2&&self._deferreds.length===0){Promise._immediateFn(function(){if(!self._handled){Promise._unhandledRejectionFn(self._value)}})}for(var i=0,len=self._deferreds.length;i=1009+0){abort("Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH.")}ret.push(null)};ret.set=function(i,func){ret[i]=func};ret.get=function(i){return ret[i]};return ret},Module:function(binary){return{}},Instance:function(module,info){var exports=( // EMSCRIPTEN_START_ASM -function a(asmLibraryArg,wasmMemory,wasmTable){var scratchBuffer=new ArrayBuffer(8);var b=new Int32Array(scratchBuffer);var c=new Float32Array(scratchBuffer);var d=new Float64Array(scratchBuffer);function e(index){return b[index]}function f(index,value){b[index]=value}function g(){return d[0]}function h(value){d[0]=value}function i(low,high){b[0]=low;b[1]=high}function j(){return c[0]}function k(value){c[0]=value}function l(global,env,buffer){var m=env.memory;var n=wasmTable;var o=new global.Int8Array(buffer);var p=new global.Int16Array(buffer);var q=new global.Int32Array(buffer);var r=new global.Uint8Array(buffer);var s=new global.Uint16Array(buffer);var t=new global.Uint32Array(buffer);var u=new global.Float32Array(buffer);var v=new global.Float64Array(buffer);var w=global.Math.imul;var x=global.Math.fround;var y=global.Math.abs;var z=global.Math.clz32;var A=global.Math.min;var B=global.Math.max;var C=global.Math.floor;var D=global.Math.ceil;var E=global.Math.sqrt;var F=env.abort;var G=global.NaN;var H=global.Infinity;var I=env.__assert_fail;var J=env.roundf;var K=env.setTempRet0;var L=env.__syscall221;var M=env.getTempRet0;var N=env.testSetjmp;var O=env.fd_close;var P=env.emscripten_longjmp;var Q=env.exit;var R=env.__syscall20;var S=env.fd_write;var T=env.__syscall5;var U=env.time;var V=env.saveSetjmp;var W=env.__syscall195;var X=env.abort;var Y=env.invoke_iiii;var Z=env.emscripten_get_now;var _=env.invoke_iiiii;var $=env.invoke_iii;var aa=env.fd_seek;var ba=env.emscripten_memcpy_big;var ca=env.emscripten_resize_heap;var da=env.fd_fdstat_get;var ea=env.environ_get;var fa=env.environ_sizes_get;var ga=env.__map_file;var ha=env.__syscall38;var ia=env.fd_read;var ja=env.__syscall54;var ka=env.__syscall91;var la=env.__syscall125;var ma=env.__syscall10;var na=env.__syscall183;var oa=env.__syscall83;var pa=env.__syscall3;var qa=env.__syscall33;var ra=env.__syscall85;var sa=env.__syscall9;var ta=env.__syscall40;var ua=env.__syscall220;var va=env.__clock_gettime;var wa=env.__syscall197;var xa=env.__syscall196;var ya=env.__syscall15;var za=env.__syscall39;var Aa=env.gettimeofday;var Ba=env.invoke_vii;var Ca=env.sysconf;var Da=5888432;var Ea=0; +function a(asmLibraryArg,wasmMemory,wasmTable){var scratchBuffer=new ArrayBuffer(8);var b=new Int32Array(scratchBuffer);var c=new Float32Array(scratchBuffer);var d=new Float64Array(scratchBuffer);function e(index){return b[index]}function f(index,value){b[index]=value}function g(){return d[0]}function h(value){d[0]=value}function i(low,high){b[0]=low;b[1]=high}function j(){return c[0]}function k(value){c[0]=value}function l(global,env,buffer){var m=env.memory;var n=wasmTable;var o=new global.Int8Array(buffer);var p=new global.Int16Array(buffer);var q=new global.Int32Array(buffer);var r=new global.Uint8Array(buffer);var s=new global.Uint16Array(buffer);var t=new global.Uint32Array(buffer);var u=new global.Float32Array(buffer);var v=new global.Float64Array(buffer);var w=global.Math.imul;var x=global.Math.fround;var y=global.Math.abs;var z=global.Math.clz32;var A=global.Math.min;var B=global.Math.max;var C=global.Math.floor;var D=global.Math.ceil;var E=global.Math.sqrt;var F=env.abort;var G=global.NaN;var H=global.Infinity;var I=env.__assert_fail;var J=env.roundf;var K=env.setTempRet0;var L=env.__sys_fcntl64;var M=env.getTempRet0;var N=env.testSetjmp;var O=env.fd_close;var P=env.emscripten_longjmp;var Q=env.exit;var R=env.__sys_getpid;var S=env.fd_write;var T=env.__sys_open;var U=env.time;var V=env.saveSetjmp;var W=env.__sys_stat64;var X=env.abort;var Y=env.invoke_iiii;var Z=env.emscripten_get_now;var _=env.invoke_iiiii;var $=env.invoke_iii;var aa=env.fd_seek;var ba=env.emscripten_memcpy_big;var ca=env.emscripten_resize_heap;var da=env.fd_fdstat_get;var ea=env.environ_get;var fa=env.environ_sizes_get;var ga=env.__map_file;var ha=env.__sys_rename;var ia=env.fd_read;var ja=env.__sys_ioctl;var ka=env.__sys_munmap;var la=env.__sys_mprotect;var ma=env.__sys_unlink;var na=env.__sys_getcwd;var oa=env.__sys_symlink;var pa=env.__sys_read;var qa=env.__sys_access;var ra=env.__sys_readlink;var sa=env.__sys_link;var ta=env.__sys_rmdir;var ua=env.__sys_getdents64;var va=env.__clock_gettime;var wa=env.__sys_fstat64;var xa=env.__sys_lstat64;var ya=env.__sys_chmod;var za=env.__sys_mkdir;var Aa=env.gettimeofday;var Ba=env.invoke_vii;var Ca=env.sysconf;var Da=5888432;var Ea=0; // EMSCRIPTEN_START_FUNCS -function Wg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;k=Da-15984|0;Da=k;q[k+15972>>2]=g;q[k+15976>>2]=f;y=q[a+176>>2];j=y;i=q[q[j+536>>2]+544>>2];Q=q[a+52>>2];M=q[a>>2];Na(k+15824|0,0,128);q[k+15968>>2]=0;f=k+15808|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15700|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15708|0;q[f>>2]=0;q[f+4>>2]=0;q[k+15960>>2]=0;q[k+15964>>2]=0;q[k+15792>>2]=0;q[k+15796>>2]=0;q[k+15800>>2]=0;q[k+15804>>2]=0;q[k+15776>>2]=0;q[k+15780>>2]=0;q[k+15768>>2]=10;q[k+15772>>2]=0;q[k+15760>>2]=20;q[k+15764>>2]=0;O=a+4|0;q[k+15756>>2]=O;q[k+15752>>2]=M;q[k+15744>>2]=0;q[k+15748>>2]=0;q[k+15736>>2]=10;q[k+15740>>2]=0;q[k+15728>>2]=20;q[k+15732>>2]=0;q[k+15724>>2]=O;q[k+15720>>2]=M;q[k+15692>>2]=0;q[k+15696>>2]=0;q[k+15688>>2]=O;Na(k+15568|0,0,120);f=k+15540|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15532|0;q[f>>2]=10;q[f+4>>2]=0;f=k+15524|0;q[f>>2]=8;q[f+4>>2]=0;q[k+15520>>2]=O;q[k+15516>>2]=M;q[k+3908>>2]=c;q[k+3904>>2]=a;Na(k+11660|0,0,3856);f=r[a+184|0];q[k+11664>>2]=Q;o[k+11661|0]=f;S=k+15516|0;q[k+11656>>2]=S;T=k+11648|0;q[k+11652>>2]=T;q[k+11648>>2]=a;Na(k+7792|0,0,3856);q[k+7796>>2]=Q;o[k+7793|0]=f;q[k+7788>>2]=S;q[k+7784>>2]=T;q[k+7780>>2]=a;Na(k+3924|0,0,3856);q[k+3928>>2]=Q;o[k+3925|0]=f;q[k+3920>>2]=S;q[k+3916>>2]=T;q[k+3912>>2]=a;q[k+15548>>2]=q[a+40>>2];R=48;f=q[a+48>>2];q[k+15556>>2]=Q;q[k+15552>>2]=f;u=q[d+4>>2];f=q[d>>2];q[k+15588>>2]=a+240;q[k+15584>>2]=g;q[k+15560>>2]=f;q[k+15564>>2]=u;q[k+15580>>2]=k+15688;q[k+15576>>2]=k+15720;q[k+15572>>2]=k+15752;o[k+15570|0]=r[a+185|0];f=q[a+228>>2];q[k+15592>>2]=f;u=q[a+232>>2];q[k+15604>>2]=6554;q[k+15596>>2]=u;o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1;g=f;f=f>>31;g=g+f^f;f=u>>31;f=f+u^f;q[k+15600>>2]=((g|0)>(f|0)?g:f)<<1;f=r[a+9|0];o[k+15791|0]=(f|0)!=0;q[h>>2]=q[q[j+536>>2]+540>>2]<<16;R=f?q[q[j+532>>2]+1556>>2]:R;q[k+32>>2]=0;g=gb(M,20,k+32|0);if(!q[k+32>>2]){q[g+4>>2]=O;q[g>>2]=M}f=Oa(M,8,0,R,0,k+32|0);q[g+8>>2]=f;a:{b:{if(q[k+32>>2]){if(g){n[q[M+8>>2]](M,g)}x=64;f=1;g=0;break b}q[g+12>>2]=f;q[g+16>>2]=R;f=0;q[k+32>>2]=0;N=Oa(M,1,0,272,0,k+32|0);u=q[a+4>>2];if(q[k+32>>2]){if(u){break a}q[a+4>>2]=64;break a}if(u){break a}U=i<<16;X=k+15688|4;E=g;u=q[b+4>>2];q[N>>2]=q[b>>2];q[N+4>>2]=u;u=q[b+12>>2];q[N+8>>2]=q[b+8>>2];q[N+12>>2]=u;Y=a+92|0;Z=k|4;_=k+44|0;V=k+7780|0;P=k+15608|0;I=k+3912|0;W=2e7;A=N;c:while(1){H=0;while(1){u=f;f=q[A+12>>2];l=q[A+8>>2];d:{if(f>>>0>=l>>>0){b=K?11:14;m=f;break d}m=f+1|0;q[A+12>>2]=m;b=r[f|0];f=b+ -11|0;if(f>>>0>3){break d}e:{switch(f-1|0){case 0:case 1:break d;default:break e}}b=r[a+9|0]?0:b}v=r[a+8|0];if(v){j=b|1;f:{i=b>>>0>31;if(i){break f}f=b|2;if((f|0)==14|(j|0)==11|(u&255|(b|0)==13)){break f}if((f|0)==3){break f}q[g+12>>2]=q[g+8>>2];f=0;continue}f=(b|0)==12;L=f?L:L&255?i?L:0:L;z=i?z:f?z:(z|0)<1?z:(j|0)==11?z:0}if(q[a+4>>2]){f=0;break a}W=W+ -1|0;if(!W){f=0;q[a+4>>2]=18;break a}g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if(b>>>0<=31){f=u;A:{switch(b-1|0){case 14:if(!r[a+9|0]){break i}if(r[a+93|0]){break g}b=q[g+12>>2];if((b|0)==q[g+8>>2]){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break j}q[f>>2]=161;q[a+120>>2]=0;break i}if(q[b+ -4>>2]!=2){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break j}q[f>>2]=160;break j}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];if((b|0)>=0){break j}break i;case 15:if(!r[a+9|0]){break i}x=18;f=0;if(!q[a+96>>2]){break b}B:{if(!n[q[q[a+548>>2]+12>>2]](Y,q[a+120>>2],q[a+124>>2],q[a+128>>2])){break B}b=n[q[q[a+548>>2]+16>>2]](Y,q[a+120>>2],q[a+124>>2],q[a+128>>2])|0;if(!b){break B}x=b;break b}C:{D:{E:{F:{i=q[g+8>>2];j=q[g+12>>2];G:{if((i|0)==(j|0)){b=q[g+4>>2];if(!b|q[b>>2]){break G}q[b>>2]=161;break G}if(q[j+ -4>>2]==2){break F}b=q[g+4>>2];if(!b|q[b>>2]){break G}q[b>>2]=160}b=j-i>>3;break E}j=j+ -8|0;q[g+12>>2]=j;F=q[j>>2];if(F>>>0>R>>>0){break b}b=j-i>>3;if(F){break D}}C=0;F=0;break C}C=w(q[a+112>>2],F);B=b-C|0;b=B+F|0;v=0;while(1){f=q[a+116>>2];m=j-i>>3;G=v+B|0;H:{if(m>>>0<=G>>>0){l=0;D=q[g+4>>2];if(!D|q[D>>2]){break H}q[D>>2]=130;break H}D=(G<<3)+i|0;l=q[D+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[D>>2]<<16;break H}l=q[D>>2];l=((l>>31)+l|0)- -8192>>14;break H}l=q[D>>2]}x=1;if(t[a+112>>2]>=2){while(1){m=q[f+4>>2];I:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break I}q[j>>2]=130;break I}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break I}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break I}i=q[j>>2]}b=b+1|0;f=f+4|0;l=Ma(m,i)+l|0;i=q[g+8>>2];j=q[g+12>>2];x=x+1|0;if(x>>>0>2]){continue}break}m=j-i>>3}J:{if(m>>>0>>0){f=q[g+4>>2];if(!f|q[f>>2]){break J}q[f>>2]=130;break J}f=G<<3;q[f+i>>2]=l;i=q[g+8>>2];q[(f+i|0)+4>>2]=0;j=q[g+12>>2]}v=v+1|0;if((F|0)!=(v|0)){continue}break}b=j-i>>3}f=b;b=C-F|0;K:{if(f>>>0>>0){b=q[g+4>>2];if(!b|q[b>>2]){break K}q[b>>2]=161;break K}q[g+12>>2]=j-(b<<3)}o[a+93|0]=1;f=u;continue;case 0:case 17:b=a;i=g;l=k+15752|0;j=h;m=k+15791|0;L:{if(!v){if(r[k+15692|0]){break i}u=0;break L}u=q[q[y+32>>2]+4>>2]}Ei(b,i,l,j,m,u);if(!r[y+548|0]){break h}break k;case 2:case 22:b=a;i=g;l=k+15720|0;j=h;m=k+15791|0;M:{if(!v){if(r[k+15692|0]){break i}u=0;break M}u=q[q[y+32>>2]>>2]}Ei(b,i,l,j,m,u);if(r[y+548|0]){break k}break h;case 3:i=q[g+12>>2];j=q[g+8>>2];if(!(r[k+15791|0]|i-j>>3>>>0<2)){b=h;f=q[j+4>>2]+ -1|0;N:{if(f>>>0<=1){l=q[j>>2]<<16;if(!(f-1)){break N}f=q[j>>2];l=((f>>31)+f|0)- -8192>>14;break N}l=q[j>>2]}q[b>>2]=l+U}o[k+15791|0]=1;if(r[y+548|0]){break k}f=q[k+15972>>2];O:{if((i|0)==(j|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break O}q[i>>2]=161;break O}i=i+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break O}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break O}b=q[i>>2]}f=b+f|0;q[k+15972>>2]=f;if(q[y+468>>2]){break i}b=q[k+15976>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=f;q[k+15624>>2]=b;q[k+15640>>2]=b;q[k+15628>>2]=f;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i;case 4:j=g;i=q[g+12>>2];f=q[g+8>>2];b=i-f|0;if(b){v=b>>3;b=0;while(1){m=q[k+15976>>2];l=i-f>>3;P:{if(l>>>0<=b>>>0){i=0;B=q[g+4>>2];if(!B|q[B>>2]){break P}q[B>>2]=130;break P}B=(b<<3)+f|0;i=q[B+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[B>>2]<<16;break P}i=q[B>>2];i=((i>>31)+i|0)- -8192>>14;break P}i=q[B>>2]}i=i+m|0;q[k+15976>>2]=i;m=q[k+15972>>2];B=l;l=b|1;Q:{if(B>>>0<=l>>>0){f=0;l=q[g+4>>2];if(!l|q[l>>2]){break Q}q[l>>2]=130;i=q[k+15976>>2];break Q}l=(l<<3)+f|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[l>>2]<<16;break Q}f=q[l>>2];f=((f>>31)+f|0)- -8192>>14;break Q}f=q[l>>2]}f=f+m|0;q[k+15972>>2]=f;Wd(k+3904|0,i,f);b=b+2|0;if(b>>>0>>0){f=q[g+8>>2];i=q[g+12>>2];continue}break}f=q[g+8>>2]}q[j+12>>2]=f;f=u;continue;case 5:case 6:l=g;j=q[g+12>>2];i=q[g+8>>2];f=j-i|0;if(f){f=f>>3;m=f>>>0>1?f:1;f=(b|0)==6;b=0;while(1){R:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break R}q[j>>2]=130;break R}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break R}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break R}i=q[j>>2]}S:{if(f&1){q[k+15976>>2]=q[k+15976>>2]+i;break S}q[k+15972>>2]=q[k+15972>>2]+i}Wd(k+3904|0,q[k+15976>>2],q[k+15972>>2]);b=b+1|0;if((m|0)!=(b|0)){f=f^1;i=q[g+8>>2];j=q[g+12>>2];continue}break}i=q[g+8>>2]}q[l+12>>2]=i;f=u;continue;case 8:break m;case 9:case 28:break n;case 10:break o;case 11:break p;case 12:break q;case 13:break r;case 18:case 19:break s;case 20:break t;case 21:break u;case 24:break v;case 25:break w;case 26:break x;case 29:case 30:break y;case 27:break z;case 7:case 23:break A;default:break h}}i=6;f=0;l=q[g+12>>2];j=q[g+8>>2];C=l-j>>3;if(C>>>0<6){break l}while(1){v=i;G=l-j>>3;T:{if(G>>>0<=f>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break T}q[i>>2]=130;break T}l=(f<<3)+j|0;i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[l>>2]<<16;break T}i=q[l>>2];l=((i>>31)+i|0)- -8192>>14;break T}l=q[l>>2]}D=q[k+15976>>2];i=f|1;U:{if(G>>>0<=i>>>0){m=0;i=q[g+4>>2];if(!i|q[i>>2]){break U}q[i>>2]=130;break U}m=(i<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){m=q[m>>2]<<16;break U}i=q[m>>2];m=((i>>31)+i|0)- -8192>>14;break U}m=q[m>>2]}B=q[k+15972>>2];i=f+2|0;V:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break V}q[i>>2]=130;break V}x=(i<<3)+j|0;i=q[x+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[x>>2]<<16;break V}i=q[x>>2];F=((i>>31)+i|0)- -8192>>14;break V}F=q[x>>2]}x=l+D|0;i=f+3|0;W:{if(G>>>0<=i>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break W}q[i>>2]=130;break W}l=(i<<3)+j|0;i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[l>>2]<<16;break W}i=q[l>>2];l=((i>>31)+i|0)- -8192>>14;break W}l=q[l>>2]}D=m+B|0;B=x+F|0;i=f+4|0;X:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break X}q[i>>2]=130;break X}m=(i<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[m>>2]<<16;break X}i=q[m>>2];F=((i>>31)+i|0)- -8192>>14;break X}F=q[m>>2]}m=l+D|0;l=B+F|0;f=f+5|0;Y:{if(G>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Y}q[i>>2]=130;break Y}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Y}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Y}f=q[i>>2]}f=f+m|0;bf(k+3904|0,x,D,B,m,l,f);q[k+15972>>2]=f;q[k+15976>>2]=l;i=v+6|0;if(i>>>0>C>>>0){f=v;break l}else{j=q[g+8>>2];l=q[g+12>>2];f=v;continue}}}if(b>>>0<=246){f=q[g+12>>2];if((f|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=b+ -139;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}if(b>>>0<=250){Z:{if(m>>>0>>0){q[A+12>>2]=m+1;i=r[m|0];break Z}i=0;f=q[A>>2];if(!f|q[f>>2]){break Z}q[f>>2]=85}f=q[g+12>>2];if((f|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=((b<<8)+ -63232|i)+108;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}if((b|0)!=255){_:{if(m>>>0>>0){q[A+12>>2]=m+1;f=r[m|0];break _}f=0;i=q[A>>2];if(!i|q[i>>2]){break _}q[i>>2]=85}i=q[g+12>>2];if((i|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[i>>2]=-108-((b<<8)+ -64256|f);b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}$:{if(m>>>0>>0){b=m+1|0;q[A+12>>2]=b;j=r[m|0];break $}j=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=m}aa:{if(b>>>0>>0){f=b+1|0;q[A+12>>2]=f;x=r[b|0];break aa}x=0;f=q[A>>2];if(!(!f|q[f>>2])){q[f>>2]=85}f=b}ba:{if(f>>>0>>0){b=f+1|0;q[A+12>>2]=b;m=r[f|0];break ba}m=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=f}ca:{if(b>>>0>>0){q[A+12>>2]=b+1;b=r[b|0];break ca}b=0;f=q[A>>2];if(!f|q[f>>2]){break ca}q[f>>2]=85}f=x<<16|j<<24|m<<8|b;if(v){L=L&255?L:f+32e3>>>0<64001?L:1;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}da:{if(m>>>0>>0){b=m+1|0;q[A+12>>2]=b;f=r[m|0];break da}f=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=m}ea:{if(b>>>0>>0){q[A+12>>2]=b+1;b=r[b|0];break ea}b=0;i=q[A>>2];if(!i|q[i>>2]){break ea}q[i>>2]=85}i=q[g+12>>2];if((i|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[i>>2]=(b<<16|f<<24)>>16;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}B=g;i=q[g+8>>2];f=q[g+12>>2]-i>>3;C=f&-3;f=f&2;if(C>>>0>f>>>0){F=(b|0)==31;while(1){fa:{if(F&255){G=q[g+8>>2];D=q[g+12>>2]-G>>3;ga:{if(D>>>0<=f>>>0){i=0;b=q[g+4>>2];if(!b|q[b>>2]){break ga}q[b>>2]=130;break ga}i=G+(f<<3)|0;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){i=q[i>>2]<<16;break ga}b=q[i>>2];i=((b>>31)+b|0)- -8192>>14;break ga}i=q[i>>2]}l=q[k+15976>>2];x=q[k+15972>>2];b=f+1|0;ha:{if(D>>>0<=b>>>0){v=0;j=q[g+4>>2];if(!j|q[j>>2]){break ha}q[j>>2]=130;break ha}m=G+(b<<3)|0;j=q[m+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){v=q[m>>2]<<16;break ha}j=q[m>>2];v=((j>>31)+j|0)- -8192>>14;break ha}v=q[m>>2]}j=f+2|0;ia:{if(D>>>0<=j>>>0){F=0;j=q[g+4>>2];if(!j|q[j>>2]){break ia}q[j>>2]=130;break ia}m=G+(j<<3)|0;j=q[m+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){F=q[m>>2]<<16;break ia}j=q[m>>2];F=((j>>31)+j|0)- -8192>>14;break ia}F=q[m>>2]}m=i+l|0;i=x+F|0;j=f+3|0;ja:{if(D>>>0<=j>>>0){j=0;l=q[g+4>>2];if(!l|q[l>>2]){break ja}q[l>>2]=130;break ja}l=G+(j<<3)|0;j=q[l+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[l>>2]<<16;break ja}j=q[l>>2];j=((j>>31)+j|0)- -8192>>14;break ja}j=q[l>>2]}v=m+v|0;j=i+j|0;F=0;if((C-f|0)!=5){b=f;l=v;break fa}f=f+4|0;ka:{if(D>>>0<=f>>>0){l=q[g+4>>2];f=0;if(!l|q[l>>2]){break ka}q[l>>2]=130;l=v;break fa}l=G+(f<<3)|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){l=(q[l>>2]<<16)+v|0;break fa}f=q[l>>2];l=(((f>>31)+f|0)- -8192>>14)+v|0;break fa}f=q[l>>2]}l=f+v|0;break fa}m=q[k+15976>>2];J=q[g+8>>2];G=q[g+12>>2]-J>>3;la:{if(G>>>0<=f>>>0){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break la}q[b>>2]=130;break la}i=J+(f<<3)|0;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){l=q[i>>2]<<16;break la}b=q[i>>2];l=((b>>31)+b|0)- -8192>>14;break la}l=q[i>>2]}j=q[k+15972>>2];b=f+1|0;ma:{if(G>>>0<=b>>>0){v=0;i=q[g+4>>2];if(!i|q[i>>2]){break ma}q[i>>2]=130;break ma}v=J+(b<<3)|0;i=q[v+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){v=q[v>>2]<<16;break ma}i=q[v>>2];v=((i>>31)+i|0)- -8192>>14;break ma}v=q[v>>2]}i=f+2|0;na:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break na}q[i>>2]=130;break na}D=J+(i<<3)|0;i=q[D+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[D>>2]<<16;break na}i=q[D>>2];F=((i>>31)+i|0)- -8192>>14;break na}F=q[D>>2]}x=j+l|0;v=m+v|0;i=f+3|0;oa:{if(G>>>0<=i>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break oa}q[i>>2]=130;break oa}j=J+(i<<3)|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[j>>2]<<16;break oa}i=q[j>>2];l=((i>>31)+i|0)- -8192>>14;break oa}l=q[j>>2]}i=x+F|0;l=l+v|0;F=1;if((C-f|0)!=5){b=f;j=i;break fa}f=f+4|0;pa:{if(G>>>0<=f>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break pa}q[j>>2]=130;break pa}j=J+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break pa}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break pa}f=q[j>>2]}j=f+i|0}bf(k+3904|0,m,x,v,i,l,j);q[k+15972>>2]=j;q[k+15976>>2]=l;f=b+4|0;if(C>>>0>f>>>0){continue}break}i=q[g+8>>2]}q[B+12>>2]=i;f=u;continue}l=g;f=q[g+8>>2];x=q[g+12>>2]-f>>3;D=x&-3;b=x&2;if(D>>>0>b>>>0){while(1){qa:{if(x-b&1){j=q[g+8>>2];f=q[g+12>>2]-j>>3;ra:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break ra}q[m>>2]=130;break ra}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break ra}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break ra}i=q[m>>2]}b=b+1|0;v=q[k+15972>>2]+i|0;break qa}j=q[g+8>>2];f=q[g+12>>2]-j>>3;v=q[k+15972>>2]}sa:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break sa}q[m>>2]=130;break sa}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break sa}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break sa}i=q[m>>2]}B=q[k+15976>>2];m=b+1|0;ta:{if(f>>>0<=m>>>0){m=0;C=q[g+4>>2];if(!C|q[C>>2]){break ta}q[C>>2]=130;break ta}C=(m<<3)+j|0;m=q[C+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){m=q[C>>2]<<16;break ta}m=q[C>>2];m=((m>>31)+m|0)- -8192>>14;break ta}m=q[C>>2]}C=i+B|0;i=b+2|0;ua:{if(f>>>0<=i>>>0){i=0;B=q[g+4>>2];if(!B|q[B>>2]){break ua}q[B>>2]=130;break ua}B=(i<<3)+j|0;i=q[B+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[B>>2]<<16;break ua}i=q[B>>2];i=((i>>31)+i|0)- -8192>>14;break ua}i=q[B>>2]}m=m+C|0;B=i+v|0;i=f;f=b+3|0;va:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break va}q[i>>2]=130;break va}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break va}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break va}f=q[i>>2]}f=f+m|0;bf(k+3904|0,C,v,m,B,f,B);q[k+15972>>2]=B;q[k+15976>>2]=f;b=b+4|0;if(D>>>0>b>>>0){continue}break}f=q[g+8>>2]}q[l+12>>2]=f;f=u;continue}l=g;f=q[g+8>>2];x=q[g+12>>2]-f>>3;D=x&-3;b=x&2;if(D>>>0>b>>>0){while(1){wa:{if(x-b&1){j=q[g+8>>2];f=q[g+12>>2]-j>>3;xa:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break xa}q[m>>2]=130;break xa}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break xa}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break xa}i=q[m>>2]}b=b+1|0;B=q[k+15976>>2]+i|0;break wa}j=q[g+8>>2];f=q[g+12>>2]-j>>3;B=q[k+15976>>2]}ya:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break ya}q[m>>2]=130;break ya}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break ya}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break ya}i=q[m>>2]}v=q[k+15972>>2];m=b+1|0;za:{if(f>>>0<=m>>>0){m=0;C=q[g+4>>2];if(!C|q[C>>2]){break za}q[C>>2]=130;break za}C=(m<<3)+j|0;m=q[C+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){m=q[C>>2]<<16;break za}m=q[C>>2];m=((m>>31)+m|0)- -8192>>14;break za}m=q[C>>2]}C=i+v|0;i=b+2|0;Aa:{if(f>>>0<=i>>>0){v=0;i=q[g+4>>2];if(!i|q[i>>2]){break Aa}q[i>>2]=130;break Aa}v=(i<<3)+j|0;i=q[v+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){v=q[v>>2]<<16;break Aa}i=q[v>>2];v=((i>>31)+i|0)- -8192>>14;break Aa}v=q[v>>2]}G=m+B|0;m=v+C|0;i=f;f=b+3|0;Ba:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Ba}q[i>>2]=130;break Ba}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Ba}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Ba}f=q[i>>2]}f=f+m|0;bf(k+3904|0,B,C,G,m,G,f);q[k+15972>>2]=f;q[k+15976>>2]=G;b=b+4|0;if(D>>>0>b>>>0){continue}break}f=q[g+8>>2]}q[l+12>>2]=f;f=u;continue}b=0;i=q[g+12>>2];f=q[g+8>>2];C=i-f>>3;if(C>>>0>6){while(1){l=q[k+15976>>2];j=i-f>>3;Ca:{if(j>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break Ca}q[m>>2]=130;break Ca}m=(b<<3)+f|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break Ca}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break Ca}i=q[m>>2]}i=i+l|0;q[k+15976>>2]=i;l=q[k+15972>>2];v=j;j=b|1;Da:{if(v>>>0<=j>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break Da}q[j>>2]=130;i=q[k+15976>>2];break Da}j=(j<<3)+f|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break Da}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break Da}f=q[j>>2]}f=f+l|0;q[k+15972>>2]=f;Wd(k+3904|0,i,f);j=b+2|0;if(b+8>>>0>>0){f=q[g+8>>2];i=q[g+12>>2];b=j;continue}break}b=j}if(b>>>0>>0){while(1){J=q[g+8>>2];G=q[g+12>>2]-J>>3;Ea:{if(G>>>0<=b>>>0){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ea}q[f>>2]=130;break Ea}i=J+(b<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[i>>2]<<16;break Ea}f=q[i>>2];j=((f>>31)+f|0)- -8192>>14;break Ea}j=q[i>>2]}l=q[k+15976>>2];f=b|1;Fa:{if(G>>>0<=f>>>0){x=0;f=q[g+4>>2];if(!f|q[f>>2]){break Fa}q[f>>2]=130;break Fa}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){x=q[i>>2]<<16;break Fa}f=q[i>>2];x=((f>>31)+f|0)- -8192>>14;break Fa}x=q[i>>2]}i=q[k+15972>>2];f=b+2|0;Ga:{if(G>>>0<=f>>>0){v=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ga}q[f>>2]=130;break Ga}m=J+(f<<3)|0;f=q[m+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){v=q[m>>2]<<16;break Ga}f=q[m>>2];v=((f>>31)+f|0)- -8192>>14;break Ga}v=q[m>>2]}D=j+l|0;f=b+3|0;Ha:{if(G>>>0<=f>>>0){F=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ha}q[f>>2]=130;break Ha}j=J+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){F=q[j>>2]<<16;break Ha}f=q[j>>2];F=((f>>31)+f|0)- -8192>>14;break Ha}F=q[j>>2]}B=i+x|0;m=v+D|0;f=b+4|0;Ia:{if(G>>>0<=f>>>0){v=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ia}q[f>>2]=130;break Ia}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){v=q[i>>2]<<16;break Ia}f=q[i>>2];v=((f>>31)+f|0)- -8192>>14;break Ia}v=q[i>>2]}l=B+F|0;j=m+v|0;f=b+5|0;Ja:{if(G>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Ja}q[i>>2]=130;break Ja}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Ja}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Ja}f=q[i>>2]}f=f+l|0;bf(k+3904|0,D,B,m,l,j,f);q[k+15972>>2]=f;q[k+15976>>2]=j;b=b+6|0;if(b>>>0>>0){continue}break}}q[g+12>>2]=q[g+8>>2];f=u;continue}i=q[g+12>>2];j=q[g+8>>2];if(!(r[k+15791|0]|i-j>>3>>>0<2)){b=h;f=q[j+4>>2]+ -1|0;Ka:{if(f>>>0<=1){l=q[j>>2]<<16;if(!(f-1)){break Ka}f=q[j>>2];l=((f>>31)+f|0)- -8192>>14;break Ka}l=q[j>>2]}q[b>>2]=l+U}o[k+15791|0]=1;if(r[y+548|0]){break k}f=q[k+15976>>2];La:{if((i|0)==(j|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break La}q[i>>2]=161;break La}i=i+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break La}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break La}b=q[i>>2]}f=b+f|0;q[k+15976>>2]=f;if(q[y+468>>2]){break i}b=q[k+15972>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=b;q[k+15624>>2]=f;q[k+15640>>2]=f;q[k+15628>>2]=b;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i}b=q[g+12>>2];l=q[g+8>>2];if(!(r[k+15791|0]|b-l>>3>>>0<3)){f=h;i=q[l+4>>2]+ -1|0;Ma:{if(i>>>0<=1){j=q[l>>2]<<16;if(!(i-1)){break Ma}i=q[l>>2];j=((i>>31)+i|0)- -8192>>14;break Ma}j=q[l>>2]}q[f>>2]=j+U}o[k+15791|0]=1;if(r[y+548|0]){break k}i=q[k+15972>>2];Na:{if((b|0)==(l|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Na}q[f>>2]=161;break Na}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[b>>2]<<16;break Na}f=q[b>>2];j=((f>>31)+f|0)- -8192>>14;break Na}j=q[b>>2]}q[k+15972>>2]=i+j;f=q[k+15976>>2];Oa:{if((b|0)==(l|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break Oa}q[i>>2]=161;break Oa}i=b+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break Oa}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break Oa}b=q[i>>2]}f=b+f|0;q[k+15976>>2]=f;if(q[y+468>>2]){break i}b=q[k+15972>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=b;q[k+15624>>2]=f;q[k+15640>>2]=f;q[k+15628>>2]=b;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i}if(r[k+15692|0]?q[g+12>>2]-q[g+8>>2]>>3>>>0>=2:0){break i}f=0;Ei(a,g,k+15720|0,h,k+15791|0,0);if(r[y+548|0]){x=0;break b}if((b|0)==19){f=q[k+15740>>2]+q[k+15772>>2]|0;if(f>>>0>=97){b=q[k+15688>>2];if(!b|q[b>>2]){break i}q[b>>2]=18;break i}q[k+15696>>2]=f;p[k+15692>>1]=257;b=f+7>>>3|0;q[k+15700>>2]=b;if(!f|!b){break i}b=0;while(1){f=q[A+12>>2];Pa:{if(f>>>0>2]){q[A+12>>2]=f+1;f=r[f|0];break Pa}f=0;i=q[A>>2];if(!i|q[i>>2]){break Pa}q[i>>2]=85}o[(b+k|0)+15704|0]=f;b=b+1|0;if(b>>>0>2]){continue}break}break i}Na(_,0,3856);b=r[a+184|0];q[k+48>>2]=Q;o[k+45|0]=b;q[k+40>>2]=S;q[k+36>>2]=T;q[k+32>>2]=a;b=Z;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[k>>2]=O;f=q[k+15740>>2]+q[k+15772>>2]|0;Qa:{if(f>>>0>=97){if(q[a+4>>2]){break Qa}q[a+4>>2]=18;break Qa}q[k+8>>2]=f;p[k+4>>1]=257;b=f+7>>>3|0;q[k+12>>2]=b;if(!f|!b){break Qa}b=0;while(1){f=q[A+12>>2];Ra:{if(f>>>0>2]){q[A+12>>2]=f+1;f=r[f|0];break Ra}f=0;i=q[A>>2];if(!i|q[i>>2]){break Ra}q[i>>2]=85}o[(b+k|0)+16|0]=f;b=b+1|0;if(b>>>0>2]){continue}break}}De(k+32|0,k+15752|0,k+15720|0,k,0,0);break i}if(!(!v|u&255)){f=q[k+15972>>2];b=q[k+15976>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=f;q[k+15624>>2]=b;q[k+15640>>2]=b;q[k+15628>>2]=f;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);q[k+15772>>2]=0;q[k+15740>>2]=0;b=X;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;p[k+15692>>1]=256;q[k+15688>>2]=O;if((K|0)>=1){while(1){b=K;K=b+ -1|0;f=K;Sa:{if(f>>>0<17){break Sa}f=0;if(q[a+4>>2]){break Sa}q[a+4>>2]=130}if((b|0)>1){continue}break}A=(f<<4)+N|0;K=0}q[A+12>>2]=q[A+4>>2];f=1;break h}f=q[g+8>>2];b=(q[g+12>>2]-f>>3)+ -1|0;Ta:{if(b>>>0>4){break Ta}Ua:{switch(b-1|0){case 0:case 1:case 2:break Ta;default:break Ua}}if(r[k+15791|0]){break Ta}b=q[f+4>>2]+ -1|0;Va:{if(b>>>0<=1){u=q[f>>2]<<16;if(!(b-1)){break Va}b=q[f>>2];u=((b>>31)+b|0)- -8192>>14;break Va}u=q[f>>2]}q[h>>2]=u+U}o[k+15791|0]=1;if(r[y+548|0]){break k}if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}if(r[a+9|0]|r[a+8|0]){break k}h=q[g+12>>2];u=q[g+8>>2];if(h-u>>3>>>0<2){break k}x=18;Wa:{if(e){break Wa}Xa:{if((h|0)==(u|0)){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Xa}q[b>>2]=161;break Xa}if(q[h+ -4>>2]!=2){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Xa}q[b>>2]=160;break Xa}h=h+ -8|0;q[g+12>>2]=h;l=q[h>>2]}Ya:{if((h|0)==(u|0)){f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Ya}q[b>>2]=161;break Ya}if(q[h+ -4>>2]!=2){f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Ya}q[b>>2]=160;break Ya}h=h+ -8|0;q[g+12>>2]=h;f=q[h>>2]}Za:{if((h|0)==(u|0)){i=0;b=q[g+4>>2];if(!b|q[b>>2]){break Za}q[b>>2]=161;break Za}h=h+ -8|0;q[g+12>>2]=h;b=q[h+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){i=q[h>>2]<<16;break Za}b=q[h>>2];i=((b>>31)+b|0)- -8192>>14;break Za}i=q[h>>2]}q[k+15972>>2]=i;_a:{if((h|0)==(u|0)){v=0;b=q[g+4>>2];if(!b|q[b>>2]){break _a}q[b>>2]=161;break _a}e=h+ -8|0;q[g+12>>2]=e;b=q[e+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){v=q[e>>2]<<16;break _a}b=q[e>>2];v=((b>>31)+b|0)- -8192>>14;break _a}v=q[e>>2]}q[k+40>>2]=0;q[k+44>>2]=0;q[k+15976>>2]=v;q[k+32>>2]=0;q[k+36>>2]=0;b=q[y+4>>2];if(!q[q[b+128>>2]+52>>2]){if(l>>>0>255){break Wa}b=q[y+532>>2];if(!q[b+1188>>2]){break Wa}h=n[q[q[b+3088>>2]>>2]](l)|0;e=q[b+20>>2];if(!e){break Wa}b=q[b+1188>>2];l=0;while(1){if((h|0)!=s[b+(l<<1)>>1]){l=l+1|0;if((e|0)!=(l|0)){continue}break Wa}break}if((l|0)<0){break Wa}b=q[y+4>>2]}x=n[q[y+596>>2]](b,l,k,k+15980|0)|0;if(x){break Wa}e=q[k>>2];q[k+36>>2]=e;q[k+44>>2]=e;b=e?e+q[k+15980>>2]|0:0;q[k+40>>2]=b;Wg(a,k+32|0,c,d,1,q[k+15976>>2],q[k+15972>>2],k+3900|0);u=k+32|4;n[q[y+600>>2]](q[y+4>>2],u,b-e|0);q[k+32>>2]=0;q[k+36>>2]=0;q[k+40>>2]=0;q[k+44>>2]=0;b=q[y+4>>2];if(!q[q[b+128>>2]+52>>2]){x=18;if(f>>>0>255){break Wa}b=q[y+532>>2];if(!q[b+1188>>2]){break Wa}h=n[q[q[b+3088>>2]>>2]](f)|0;e=q[b+20>>2];if(!e){break Wa}b=q[b+1188>>2];f=0;while(1){if((h|0)!=s[b+(f<<1)>>1]){f=f+1|0;if((e|0)!=(f|0)){continue}break Wa}break}if((f|0)<0){break Wa}b=q[y+4>>2]}x=n[q[y+596>>2]](b,f,k,k+15980|0)|0;if(x){break Wa}b=q[k>>2];q[k+36>>2]=b;q[k+44>>2]=b;x=0;q[k+40>>2]=b?b+q[k+15980>>2]|0:0;Wg(a,k+32|0,c,d,1,0,0,k+3900|0);n[q[y+600>>2]](q[y+4>>2],u,q[k+40>>2]-q[k+36>>2]|0)}f=0;break b}if(!v){break i}b=q[g+12>>2];i=q[g+8>>2];$a:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break $a}q[f>>2]=161;break $a}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[b>>2]<<16;break $a}f=q[b>>2];j=((f>>31)+f|0)- -8192>>14;break $a}j=q[b>>2]}f=q[y+36>>2];q[f+4>>2]=0;q[f>>2]=j;ab:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break ab}q[f>>2]=161;break ab}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break ab}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break ab}b=q[f>>2]}f=q[y+32>>2];q[f>>2]=q[f>>2]+b;o[k+15791|0]=1;if(r[y+47|0]){break k}if(!(u&255)){f=0;break h}q[k+15976>>2]=q[k+15976>>2]+b;break i}bb:{if(m>>>0>=l>>>0){f=q[A>>2];if(f){b=0;if(q[f>>2]){break bb}q[f>>2]=85}b=0;break bb}q[A+12>>2]=m+1;b=r[m|0];i=b+ -8|0;if(i>>>0>29){break bb}cb:{switch(i-1|0){case 25:Di(g,k+15976|0,k+15972|0,k+3904|0,291869,0);continue;case 27:Di(g,k+15976|0,k+15972|0,k+3904|0,291893,0);continue;case 28:Di(g,k+15976|0,k+15972|0,k+3904|0,291905,1);continue;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 24:break bb;case 26:break cb;default:break h}}Di(g,k+15976|0,k+15972|0,k+3904|0,291881,0);break i}if(r[a+9|0]|b>>>0>37){break i}if(!(!v|(b|0)==17|(z|0)<=0)){z=0;break i}i=b+ -1|0;if(i>>>0>32){break i}f=u;db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{switch(i-2|0){default:if(!v){break i}m=q[g+8>>2];f=q[g+12>>2]-m|0;i=f>>3;pb:{qb:{rb:{sb:{tb:{ub:{if(!f){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;l=0;break ub}f=q[m+4>>2]+ -1|0;vb:{if(f>>>0<=1){l=q[m>>2]<<16;if(!(f-1)){break vb}f=q[m>>2];l=((f>>31)+f|0)- -8192>>14;break vb}l=q[m>>2]}if(i>>>0>2){break tb}}j=0;f=q[g+4>>2];if(!f){x=0;break qb}if(q[f>>2]){x=0;break qb}q[f>>2]=130;break sb}f=q[m+20>>2]+ -1|0;wb:{if(f>>>0<=1){j=q[m+16>>2]<<16;if(!(f-1)){break wb}f=q[m+16>>2];j=((f>>31)+f|0)- -8192>>14;break wb}j=q[m+16>>2]}if(i>>>0>4){break rb}}x=0;f=q[g+4>>2];if(!f|q[f>>2]){break qb}q[f>>2]=130;break qb}f=q[m+36>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){x=q[m+32>>2]<<16;break qb}f=q[m+32>>2];x=((f>>31)+f|0)- -8192>>14;break qb}x=q[m+32>>2]}xb:{yb:{zb:{Ab:{if(i>>>0<=1){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break Ab}f=q[m+12>>2]+ -1|0;Bb:{if(f>>>0<=1){v=q[m+8>>2]<<16;if(!(f-1)){break Bb}f=q[m+8>>2];v=((f>>31)+f|0)- -8192>>14;break Bb}v=q[m+8>>2]}f=v;if(i>>>0>1){break zb}}f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break yb}q[m+16>>2]=(j-l|0)-f;l=q[g+8>>2];q[l+20>>2]=0;i=q[g+12>>2]-l>>3;if(i>>>0>3){break xb}}f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break pb}f=q[l+28>>2]+ -1|0;Cb:{if(f>>>0<=1){v=q[l+24>>2]<<16;if(!(f-1)){break Cb}f=q[l+24>>2];v=((f>>31)+f|0)- -8192>>14;break Cb}v=q[l+24>>2]}f=v;if(i>>>0<=3){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break pb}q[l+32>>2]=(x-j|0)-f;q[q[g+8>>2]+36>>2]=0}Ei(a,g,(b|0)==1?k+15720|0:k+15752|0,h,k+15791|0,q[q[y+32>>2]+(((b|0)!=1)<<2)>>2]);f=u;if(r[y+548|0]){break k}break h;case 0:b=q[g+12>>2];f=q[g+8>>2];Db:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break Db}q[j>>2]=161;break Db}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break Db}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break Db}i=q[b>>2]}Eb:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break Eb}if(q[b>>2]){b=f;break Eb}q[b>>2]=161;b=f;break Eb}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break Eb}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break Eb}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|0)!=0&(j|0)!=0;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 1:b=q[g+12>>2];f=q[g+8>>2];Fb:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break Fb}q[j>>2]=161;break Fb}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break Fb}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break Fb}i=q[b>>2]}Gb:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break Gb}if(q[b>>2]){b=f;break Gb}q[b>>2]=161;b=f;break Gb}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break Gb}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break Gb}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|j)!=0;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 2:b=q[g+12>>2];j=q[g+8>>2];Hb:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Hb}q[f>>2]=161;break Hb}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break Hb}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break Hb}i=q[b>>2]}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=!i;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 3:if(!v){break h}h=q[y+4>>2];b=q[g+12>>2];u=q[g+8>>2];Ib:{if((b|0)==(u|0)){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ib}q[f>>2]=161;break Ib}if(q[b+ -4>>2]!=2){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ib}q[f>>2]=160;break Ib}b=b+ -8|0;q[g+12>>2]=b;l=q[b>>2]}Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{if((b|0)==(u|0)){f=0;b=q[g+4>>2];if(!b){i=0;break eb}i=0;m=0;v=0;if(q[b>>2]){break db}q[b>>2]=161;break Ob}Pb:{if(q[b+ -4>>2]!=2){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Pb}q[f>>2]=160;break Pb}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}if((b|0)!=(u|0)){break Nb}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break eb}q[b>>2]=161;m=0;break Mb}j=b+ -8|0;q[g+12>>2]=j;f=q[j+4>>2]+ -1|0;Qb:{if(f>>>0<=1){m=q[j>>2]<<16;if(!(f-1)){break Qb}f=q[j>>2];m=((f>>31)+f|0)- -8192>>14;break Qb}m=q[j>>2]}if((j|0)!=(u|0)){break Lb}}f=0;b=q[g+4>>2];if(!b){v=0;break db}if(q[b>>2]){v=0;break db}q[b>>2]=161;break Kb}j=b+ -16|0;q[g+12>>2]=j;f=q[j+4>>2]+ -1|0;Rb:{if(f>>>0<=1){v=q[j>>2]<<16;if(!(f-1)){break Rb}f=q[j>>2];v=((f>>31)+f|0)- -8192>>14;break Rb}v=q[j>>2]}f=v;if((j|0)!=(u|0)){break Jb}}v=0;b=q[g+4>>2];if(!b|q[b>>2]){break db}q[b>>2]=161;break db}u=b+ -24|0;q[g+12>>2]=u;b=q[u+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){v=q[u>>2]<<16;break db}b=q[u>>2];v=((b>>31)+b|0)- -8192>>14;break db}v=q[u>>2];break db;case 4:if(!v){break i}b=q[g+12>>2];j=q[g+8>>2];Sb:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Sb}q[f>>2]=161;break Sb}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break Sb}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break Sb}i=q[b>>2]}f=q[y+36>>2];q[f+4>>2]=i;Tb:{Ub:{Vb:{Wb:{Xb:{if((b|0)==(j|0)){b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}q[f>>2]=0;break Xb}l=b+ -8|0;q[g+12>>2]=l;Yb:{Zb:{i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){break Zb}i=q[l>>2];i=((i>>31)+i|0)- -8192>>14;break Yb}i=q[l>>2];break Yb}i=q[l>>2]<<16}q[f>>2]=i;if((j|0)!=(l|0)){break Wb}}i=0;b=q[g+4>>2];if(!b){f=0;break Tb}f=0;if(q[b>>2]){break Tb}q[b>>2]=161;break Vb}l=b+ -16|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;_b:{if(f>>>0<=1){i=q[l>>2]<<16;if(!(f-1)){break _b}f=q[l>>2];i=((f>>31)+f|0)- -8192>>14;break _b}i=q[l>>2]}if((j|0)!=(l|0)){break Ub}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Tb}q[b>>2]=161;break Tb}f=b+ -24|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){f=q[f>>2]<<16;break Tb}b=q[f>>2];f=((b>>31)+b|0)- -8192>>14;break Tb}f=q[f>>2]}b=q[y+32>>2];q[b>>2]=q[b>>2]+f;q[b+4>>2]=q[b+4>>2]+i;o[k+15791|0]=1;if(r[y+47|0]){break k}if(!(u&255)){f=0;break h}q[k+15976>>2]=q[k+15976>>2]+f;q[k+15972>>2]=q[k+15972>>2]+i;break i;case 6:b=q[g+12>>2];j=q[g+8>>2];$b:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break $b}q[f>>2]=161;break $b}b=b+ -8|0;q[g+12>>2]=b;ac:{bc:{f=q[b+4>>2]+ -1|0;cc:{if(f>>>0<=1){if(f-1){break bc}i=q[b>>2]<<16;break cc}i=q[b>>2]}if((i|0)!=-2147483648){break ac}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=2147483647;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14}f=i>>31;i=f+i^f}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 7:b=q[g+12>>2];f=q[g+8>>2];dc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break dc}q[j>>2]=161;break dc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break dc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break dc}i=q[b>>2]}ec:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break ec}if(q[b>>2]){b=f;break ec}q[b>>2]=161;b=f;break ec}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break ec}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break ec}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i+j;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 8:b=q[g+12>>2];f=q[g+8>>2];fc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break fc}q[j>>2]=161;break fc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break fc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break fc}i=q[b>>2]}gc:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break gc}if(q[b>>2]){b=f;break gc}q[b>>2]=161;b=f;break gc}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break gc}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break gc}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=j-i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 9:j=q[g+8>>2];b=q[g+12>>2];if(!(!v|!(L&255))){hc:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break hc}q[f>>2]=161;break hc}if(q[b+ -4>>2]!=2){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break hc}q[f>>2]=160;break hc}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}if((b|0)==(j|0)){f=q[g+4>>2];if(!f){break gb}b=0;if(q[f>>2]){L=0;break fb}q[f>>2]=161;break gb}if(q[b+ -4>>2]!=2){f=q[g+4>>2];if(!f){break gb}b=0;if(q[f>>2]){L=0;break fb}q[f>>2]=160;break gb}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];L=0;break fb}ic:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break ic}q[f>>2]=161;break ic}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break ic}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break ic}i=q[b>>2]}if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break fb}q[f>>2]=161;break fb}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break fb}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break fb}b=q[f>>2];break fb;case 11:b=q[g+12>>2];j=q[g+8>>2];jc:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break jc}q[f>>2]=161;break jc}b=b+ -8|0;q[g+12>>2]=b;kc:{f=q[b+4>>2]+ -1|0;lc:{if(f>>>0<=1){if(f-1){break kc}i=q[b>>2]<<16;break lc}i=q[b>>2]}if((i|0)!=-2147483648){break jc}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=2147483647;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=0-i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 12:b=q[g+12>>2];f=q[g+8>>2];mc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break mc}q[j>>2]=161;break mc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break mc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break mc}i=q[b>>2]}nc:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break nc}if(q[b>>2]){b=f;break nc}q[b>>2]=161;b=f;break nc}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break nc}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break nc}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|0)==(j|0);b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 13:if(!v){continue}i=q[g+8>>2];j=q[g+12>>2];oc:{if((i|0)==(j|0)){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break oc}q[b>>2]=161;break oc}if(q[j+ -4>>2]!=2){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break oc}q[b>>2]=160;break oc}j=j+ -8|0;q[g+12>>2]=j;l=q[j>>2]}pc:{if((i|0)==(j|0)){z=0;f=q[g+4>>2];b=i;if(!f){break pc}b=i;if(q[f>>2]){break pc}q[f>>2]=161;b=i;break pc}qc:{if(q[j+ -4>>2]!=2){z=0;b=q[g+4>>2];if(!b|q[b>>2]){break qc}q[b>>2]=160;break qc}j=j+ -8|0;q[g+12>>2]=j;z=q[j>>2]}b=j}rc:{if(l>>>0>28){break rc}sc:{switch(l-1|0){default:x=18;f=0;if((z|0)!=3|(!q[y+468>>2]|q[y+472>>2]!=7?u&255:0)){break b}tc:{if(((q[E+16>>2]<<3)+i|0)==(b|0)){f=q[g+4>>2];if(!f|q[f>>2]){break tc}q[f>>2]=130;break tc}q[b>>2]=q[k+15976>>2];b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;i=q[g+8>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=2;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[k+15972>>2];z=0;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;H=2;f=u;continue;case 0:if(z){break g}z=0;f=0;H=0;if(!(u&255)){continue}uc:{b=q[y+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+6>>>0<=t[b+4>>2]){break uc}if(!Xb(b,6,0)){break uc}x=0;break b}q[y+468>>2]=1;q[y+472>>2]=0;break hb;case 1:x=18;if(z){f=0;break b}z=0;f=0;H=0;if(!(u&255)){continue}if(!q[y+468>>2]){break b}i=q[y+472>>2];q[y+472>>2]=i+1;f=u;if(i+ -1>>>0>5){continue}b=q[y+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+1>>>0>t[b+4>>2]){f=0;if(Xb(b,1,0)){break b}}b=i<<1;b=(k+15792|0)+(((i|0)>3?b+ -6|0:b)<<2)|0;q[b+ -8>>2]=q[k+15976>>2];q[b+ -4>>2]=q[k+15972>>2];f=u;b=i+ -3|0;if(b>>>0>3){continue}vc:{switch(b-1|0){case 0:case 1:continue;default:break vc}}bf(k+3904|0,q[k+15792>>2],q[k+15796>>2],q[k+15800>>2],q[k+15804>>2],q[k+15808>>2],q[k+15812>>2]);continue c;case 2:H=1;if((z|0)!=1){break g}z=0;f=0;if(!(u&255)){continue}q[k+15772>>2]=0;q[k+15740>>2]=0;b=X;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;p[k+15692>>1]=256;q[k+15688>>2]=O;f=u;continue;case 11:case 12:q[g+12>>2]=i;break hb;case 13:case 14:case 15:case 16:case 17:f=0;x=18;m=q[y+644>>2];if(!m){break b}H=(((l|0)==18)+l|0)+ -13|0;if((w(H,q[m>>2])|0)!=(z|0)){break b}x=(j-i>>3)-z|0;b=H+x|0;v=0;while(1){wc:{if(j-i>>3>>>0<=x>>>0){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break wc}q[f>>2]=130;break wc}l=(x<<3)+i|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){l=q[l>>2]<<16;break wc}f=q[l>>2];l=((f>>31)+f|0)- -8192>>14;break wc}l=q[l>>2]}f=1;if(t[m>>2]>=2){while(1){xc:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break xc}q[j>>2]=130;break xc}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break xc}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break xc}i=q[j>>2]}b=b+1|0;l=Ma(i,q[q[m+136>>2]+(f<<2)>>2])+l|0;i=q[g+8>>2];j=q[g+12>>2];f=f+1|0;if(f>>>0>2]){continue}break}}yc:{if(j-i>>3>>>0>>0){f=q[g+4>>2];if(!f|q[f>>2]){break yc}q[f>>2]=130;break yc}f=x<<3;q[f+i>>2]=l;i=q[g+8>>2];q[(f+i|0)+4>>2]=0}x=x+1|0;j=q[g+12>>2];v=v+1|0;if((H|0)!=(v|0)){continue}break}b=z-H|0;if(j-i>>3>>>0>>0){z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}q[g+12>>2]=j-(b<<3);z=0;f=u;continue;case 18:x=18;f=0;if((z|0)!=1){break b}j=q[y+644>>2];if(!j){break b}zc:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break zc}q[f>>2]=161;break zc}if(q[b+ -4>>2]!=2){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break zc}q[f>>2]=160;break zc}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];if((b|0)<0){break b}}f=q[j>>2];if(f+b>>>0>t[y+652>>2]){f=0;break b}Qa(q[y+648>>2]+(b<<2)|0,q[j+136>>2],f<<2);break hb;case 19:if((z|0)!=2){break g}Ac:{Bc:{Cc:{if((b|0)==(i|0)){j=0;l=q[g+4>>2];if(!l){b=i;f=0;break Ac}b=i;f=0;if(q[l>>2]){break Ac}q[l>>2]=161;break Cc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Dc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Dc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Dc}j=q[l>>2]}if((i|0)!=(l|0)){break Bc}}f=0;b=q[g+4>>2];if(!b){b=i;break Ac}if(q[b>>2]){b=i;break Ac}q[b>>2]=161;b=i;break Ac}b=b+ -16|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[b>>2]<<16;break Ac}f=q[b>>2];f=((f>>31)+f|0)- -8192>>14;break Ac}f=q[b>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f+j;break ib;case 20:if((z|0)!=2){break g}Ec:{Fc:{Gc:{if((b|0)==(i|0)){j=0;l=q[g+4>>2];if(!l){b=i;f=0;break Ec}b=i;f=0;if(q[l>>2]){break Ec}q[l>>2]=161;break Gc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Hc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Hc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Hc}j=q[l>>2]}if((i|0)!=(l|0)){break Fc}}f=0;b=q[g+4>>2];if(!b){b=i;break Ec}if(q[b>>2]){b=i;break Ec}q[b>>2]=161;b=i;break Ec}b=b+ -16|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[b>>2]<<16;break Ec}f=q[b>>2];f=((f>>31)+f|0)- -8192>>14;break Ec}f=q[b>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f-j;break ib;case 21:if((z|0)!=2){break g}Ic:{Jc:{Kc:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f){b=0;break Ic}b=0;if(q[f>>2]){break Ic}q[f>>2]=161;break Kc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Lc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Lc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Lc}j=q[l>>2]}if((i|0)!=(l|0)){break Jc}}b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ic}q[f>>2]=161;break Ic}f=b+ -16|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Ic}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Ic}b=q[f>>2]}f=Ma(b,j);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;break ib;case 22:x=18;f=0;if((z|0)!=2){break b}Mc:{Nc:{Oc:{if((b|0)==(i|0)){b=q[g+4>>2];if(!b|q[b>>2]){break b}q[b>>2]=161;j=0;break Oc}l=b+ -8|0;q[g+12>>2]=l;j=q[l+4>>2]+ -1|0;Pc:{if(j>>>0<=1){v=q[l>>2]<<16;if(!(j-1)){break Pc}j=q[l>>2];v=((j>>31)+j|0)- -8192>>14;break Pc}v=q[l>>2]}j=v;if((i|0)!=(l|0)){break Nc}}b=0;i=q[g+4>>2];if(!i|q[i>>2]){break Mc}q[i>>2]=161;break Mc}i=b+ -16|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break Mc}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break Mc}b=q[i>>2]}if(!j){break b}f=Za(b,j);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;break ib;case 23:x=18;f=0;if(!q[y+644>>2]|(z|0)!=2){break b}Qc:{if((b|0)==(i|0)){j=0;b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}b=i;break Qc}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Qc}q[f>>2]=160;break Qc}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if((j|0)<0){break b}}if(j>>>0>=t[y+652>>2]){f=0;break b}Rc:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Rc}q[f>>2]=161;break Rc}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Rc}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Rc}b=q[f>>2]}q[q[y+648>>2]+(j<<2)>>2]=b;break hb;case 24:x=18;f=0;if(!q[y+644>>2]|(z|0)!=1){break b}Sc:{if((b|0)==(i|0)){j=0;b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}b=i;break Sc}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Sc}q[f>>2]=160;break Sc}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if((j|0)<0){break b}}if(j>>>0>=t[y+652>>2]){f=0;break b}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[q[y+648>>2]+(j<<2)>>2];break ib;case 26:if((z|0)!=4){break g}Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{if((b|0)==(i|0)){f=0;m=q[g+4>>2];if(!m){j=0;l=0;break kb}j=0;l=0;b=i;x=0;if(q[m>>2]){break jb}q[m>>2]=161;break Yc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Zc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Zc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Zc}j=q[l>>2]}if((i|0)!=(l|0)){break Xc}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break lb}q[b>>2]=161;l=0;break Wc}m=b+ -16|0;q[g+12>>2]=m;f=q[m+4>>2]+ -1|0;_c:{if(f>>>0<=1){l=q[m>>2]<<16;if(!(f-1)){break _c}f=q[m>>2];l=((f>>31)+f|0)- -8192>>14;break _c}l=q[m>>2]}if((i|0)!=(m|0)){break Vc}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break kb}q[b>>2]=161;break Uc}m=b+ -24|0;q[g+12>>2]=m;f=q[m+4>>2]+ -1|0;$c:{if(f>>>0<=1){v=q[m>>2]<<16;if(!(f-1)){break $c}f=q[m>>2];v=((f>>31)+f|0)- -8192>>14;break $c}v=q[m>>2]}f=v;if((i|0)!=(m|0)){break Tc}}x=0;b=q[g+4>>2];if(!b){b=i;break jb}if(q[b>>2]){b=i;break jb}q[b>>2]=161;b=i;break jb}b=b+ -32|0;q[g+12>>2]=b;m=q[b+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){x=q[b>>2]<<16;break jb}m=q[b>>2];x=((m>>31)+m|0)- -8192>>14;break jb}x=q[b>>2];break jb;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 25:break rc;case 27:break sc}}if(z){break g}j=q[y+536>>2];l=q[j+648>>2];f=l<<13^l;f=f>>>17^f;q[j+648>>2]=f^f<<5;if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}H=1;q[b>>2]=(l&65535)+1;z=0;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=0;if((l|z)<0){x=18;break b}l=1;H=0;f=u;u=(z|0)<3?z:3;if((u|0)<1){continue}while(1){j=l;ad:{if((b|0)==(i|0)){l=0;b=q[g+4>>2];if(!b){b=i;break ad}if(q[b>>2]){b=i;break ad}q[b>>2]=161;b=i;break ad}b=b+ -8|0;q[g+12>>2]=b;l=q[b+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[b>>2]<<16;break ad}l=q[b>>2];l=((l>>31)+l|0)- -8192>>14;break ad}l=q[b>>2]}q[(k+15960|0)+(u-j<<2)>>2]=l;l=j+1|0;if((j|0)!=(u|0)){continue}break}z=u;continue;case 14:if(!v){continue}if((H|0)>=1){H=H+ -1|0;continue}if(!z){break g}z=z+ -1|0;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[(k+15960|0)+(z<<2)>>2];b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;continue;case 15:b=q[g+12>>2];if((b|0)==q[g+8>>2]){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}q[g+12>>2]=b+ -8;continue;case 17:b=q[g+12>>2];f=q[g+8>>2];bd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break bd}q[j>>2]=161;break bd}if(q[b+ -4>>2]!=2){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break bd}q[j>>2]=160;break bd}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}cd:{if((b|0)==(f|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break cd}q[f>>2]=161;break cd}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break cd}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break cd}b=q[f>>2]}f=u;if(i>>>0>31){continue}q[(k+15824|0)+(i<<2)>>2]=b;continue;case 18:b=q[g+12>>2];i=q[g+8>>2];dd:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break dd}q[f>>2]=161;break dd}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break dd}q[f>>2]=160;break dd}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if(j>>>0>31){continue}}if((i+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[(k+15824|0)+(j<<2)>>2];b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 19:b=q[g+12>>2];f=q[g+8>>2];ed:{if((b|0)==(f|0)){x=0;i=q[g+4>>2];if(!i|q[i>>2]){break ed}q[i>>2]=161;break ed}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){x=q[b>>2]<<16;break ed}i=q[b>>2];x=((i>>31)+i|0)- -8192>>14;break ed}x=q[b>>2]}fd:{gd:{hd:{id:{if((b|0)==(f|0)){i=0;m=q[g+4>>2];if(!m){j=0;break nb}j=0;b=f;l=0;if(q[m>>2]){break mb}q[m>>2]=161;break id}l=b+ -8|0;q[g+12>>2]=l;i=q[l+4>>2]+ -1|0;jd:{if(i>>>0<=1){j=q[l>>2]<<16;if(!(i-1)){break jd}i=q[l>>2];j=((i>>31)+i|0)- -8192>>14;break jd}j=q[l>>2]}if((f|0)!=(l|0)){break hd}}i=0;b=q[g+4>>2];if(!b|q[b>>2]){break nb}q[b>>2]=161;break gd}l=b+ -16|0;q[g+12>>2]=l;i=q[l+4>>2]+ -1|0;kd:{if(i>>>0<=1){v=q[l>>2]<<16;if(!(i-1)){break kd}i=q[l>>2];v=((i>>31)+i|0)- -8192>>14;break kd}v=q[l>>2]}i=v;if((f|0)!=(l|0)){break fd}}l=0;b=q[g+4>>2];if(!b){b=f;break mb}if(q[b>>2]){b=f;break mb}q[b>>2]=161;b=f;break mb}b=b+ -24|0;q[g+12>>2]=b;l=q[b+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[b>>2]<<16;break mb}l=q[b>>2];l=((l>>31)+l|0)- -8192>>14;break mb}l=q[b>>2];break mb;case 20:f=q[y+536>>2];i=q[f+648>>2];b=i<<13^i;b=b>>>17^b;q[f+648>>2]=b^b<<5;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i&65535)+1;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 21:b=q[g+12>>2];j=q[g+8>>2];ld:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break ld}q[f>>2]=161;break ld}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break ld}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break ld}i=q[b>>2]}md:{if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break md}q[f>>2]=161;break md}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break md}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break md}b=q[f>>2]}f=Ma(b,i);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 23:i=q[g+12>>2];j=q[g+8>>2];nd:{if((i|0)==(j|0)){b=0;f=q[g+4>>2];if(!f){f=i;break nd}if(q[f>>2]){f=i;break nd}q[f>>2]=161;f=i;break nd}f=i+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;od:{if(b>>>0<=1){i=q[f>>2]<<16;if(!(b-1)){break od}b=q[f>>2];i=((b>>31)+b|0)- -8192>>14;break od}i=q[f>>2]}if((i|0)<1){b=0;i=j;break nd}f=i>>>((i|0)>9)|0;while(1){b=f;f=(b+Za(i,b)|0)+1>>1;if((b|0)!=(f|0)){continue}break}i=q[g+8>>2];f=q[g+12>>2]}if(((q[E+16>>2]<<3)+i|0)==(f|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=b;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 24:b=q[g+12>>2];f=q[g+8>>2];pd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break pd}q[j>>2]=161;break pd}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break pd}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break pd}i=q[b>>2]}qd:{if(((q[E+16>>2]<<3)+f|0)==(b|0)){j=q[g+4>>2];if(!j|q[j>>2]){break qd}q[j>>2]=130;break qd}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;f=q[g+8>>2]}if(((q[E+16>>2]<<3)+f|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 25:b=q[g+12>>2];f=q[g+8>>2];rd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break rd}q[j>>2]=161;break rd}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break rd}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break rd}i=q[b>>2]}sd:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break sd}if(q[b>>2]){b=f;break sd}q[b>>2]=161;b=f;break sd}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break sd}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break sd}j=q[b>>2]}td:{if(((q[E+16>>2]<<3)+f|0)==(b|0)){i=q[g+4>>2];if(!i|q[i>>2]){break td}q[i>>2]=130;break td}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;f=q[g+8>>2]}if(((q[E+16>>2]<<3)+f|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=j;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 26:b=q[g+12>>2];m=q[g+8>>2];ud:{if((b|0)==(m|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break ud}q[f>>2]=161;break ud}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break ud}q[f>>2]=160;break ud}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2]}f=u;i=b-m|0;if(!i){continue}l=i>>3;i=l;f=l+ -1|0;vd:{if((j|0)<=-1){break vd}f=0;if(j>>>0>=l>>>0){break vd}f=l+(j^-1)|0}wd:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break wd}q[i>>2]=130;break wd}i=m+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break wd}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break wd}f=q[i>>2]}if((m+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 27:b=q[g+12>>2];i=q[g+8>>2];xd:{if((b|0)==(i|0)){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break xd}q[f>>2]=161;break xd}if(q[b+ -4>>2]!=2){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break xd}q[f>>2]=160;break xd}b=b+ -8|0;q[g+12>>2]=b;l=q[b>>2]}if((b|0)==(i|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}if(q[b+ -4>>2]!=2){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=160;continue}b=b+ -8|0;q[g+12>>2]=b;f=u;x=q[b>>2];if((x|0)<2){continue}if(b-i>>3>>>0>>0){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}v=(l|0)%(x|0)|0;if(!v){continue}f=0;m=0-x|0;C=0;D=2;b=-1;j=-1;while(1){yd:{if((b|0)!=(j|0)){l=q[g+8>>2];B=C;i=D;break yd}l=q[g+8>>2];j=b+1|0;b=l+(j<<3)|0;B=q[b>>2];i=q[b+4>>2];b=j}b=b+v|0;b=((b|0)<(x|0)?x&b>>31:m)+b|0;l=(b<<3)+l|0;C=q[l>>2];D=q[l+4>>2];q[l>>2]=B;q[l+4>>2]=i;f=f+1|0;if((x|0)!=(f|0)){continue}break}f=u;continue;case 5:case 10:case 16:case 22:case 28:case 29:break h;case 30:break ob}}if(!(u&255)|!v){break i}b=q[g+12>>2];j=q[g+8>>2];zd:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break zd}q[f>>2]=161;break zd}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break zd}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break zd}i=q[b>>2]}q[k+15972>>2]=i;Ad:{if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ad}q[f>>2]=161;break Ad}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Ad}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Ad}b=q[f>>2]}q[k+15976>>2]=b;q[y+468>>2]=0;break i}b=f;l=0}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(j|0)>(x|0)?i:l;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}l=0}b=i;x=0}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(l|0)>(j|0)?f:x}b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;z=0;H=1;f=u;continue}z=0;f=u;continue c}b=0;L=0}f=Za(b,i);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}m=0;v=0}x=18;Bd:{if(r[y+47|0]|e){break Bd}b=q[q[h+128>>2]+52>>2];Cd:{if(!q[y+580>>2]){if(!b){break Bd}j=q[q[y+32>>2]>>2]+f|0;break Cd}j=q[q[y+32>>2]>>2]+f|0;if(b){break Cd}b=-1;Dd:{if(i>>>0>255){break Dd}b=q[y+604>>2];u=n[q[b+20>>2]](s[q[b+24>>2]+(i<<1)>>1])|0;b=-1;f=q[y+584>>2];if(!f){break Dd}e=q[y+580>>2];b=0;while(1){h=q[e+(b<<2)>>2];if(!(!h|r[h|0]!=r[u|0])){if(!Ta(h,u)){break Dd}}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=-1}Ed:{Fd:{if(l>>>0>255){break Fd}e=q[y+604>>2];u=n[q[e+20>>2]](s[q[e+24>>2]+(l<<1)>>1])|0;f=q[y+584>>2];if(!f){break Fd}e=q[y+580>>2];l=0;while(1){h=q[e+(l<<2)>>2];if(!(!h|r[h|0]!=r[u|0])){if(!Ta(h,u)){break Ed}}l=l+1|0;if((f|0)!=(l|0)){continue}break}}l=-1}i=b}if((i|l)<0){break Bd}if(r[y+46|0]){d=q[y+8>>2];c=q[q[d+156>>2]>>2];x=xq(c,2);if(x){break Bd}e=q[c+88>>2];q[e+32>>2]=l;q[e+8>>2]=0;q[e+12>>2]=0;p[e+4>>1]=514;q[e>>2]=i;p[e+36>>1]=2;b=j-v|0;q[e+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[e+44>>2]=(((m>>31)+m|0)+32768&-65536)>>16;q[d+128>>2]=2;b=q[c+52>>2];q[d+72>>2]=1668246896;q[d+132>>2]=b;q[c+84>>2]=2;x=0;f=0;break b}RK(q[y+12>>2]);f=q[y+4>>2];b=q[q[f+128>>2]+52>>2];Gd:{if(!b){e=i<<2;b=q[e+q[f+428>>2]>>2];q[k>>2]=b;h=q[e+q[f+432>>2]>>2];q[k+4>>2]=h;break Gd}x=n[q[q[b>>2]>>2]](q[b+4>>2],i,k)|0;if(x){break Bd}h=q[k+4>>2];b=q[k>>2]}q[k+44>>2]=b;q[k+32>>2]=0;q[k+36>>2]=b;q[k+40>>2]=b+h;e=q[y+36>>2];B=q[e>>2];i=q[e+4>>2];e=q[y+32>>2];C=q[e>>2];D=q[e+4>>2];Wg(a,k+32|0,c,d,1,0,0,k+15980|0);e=q[y+4>>2];q[k+4>>2]=h;q[k>>2]=b;b=q[q[e+128>>2]+52>>2];if(b){n[q[q[b>>2]+4>>2]](q[b+4>>2],k)}Hd:{if(r[k+15791|0]){b=q[y+32>>2];break Hd}b=q[y+36>>2];B=q[b>>2];i=q[b+4>>2];b=q[y+32>>2];C=q[b>>2];D=q[b+4>>2]}q[b>>2]=0;q[b+4>>2]=0;f=q[y+4>>2];b=q[q[f+128>>2]+52>>2];Id:{if(!b){e=l<<2;b=q[e+q[f+428>>2]>>2];q[k>>2]=b;h=q[e+q[f+432>>2]>>2];q[k+4>>2]=h;break Id}x=n[q[q[b>>2]>>2]](q[b+4>>2],l,k)|0;if(x){break Bd}h=q[k+4>>2];b=q[k>>2]}q[k+44>>2]=b;x=0;q[k+32>>2]=0;q[k+36>>2]=b;q[k+40>>2]=b+h;Wg(a,k+32|0,c,d,1,j-v|0,m,k+15980|0);c=q[y+4>>2];q[k+4>>2]=h;q[k>>2]=b;b=q[q[c+128>>2]+52>>2];if(b){n[q[q[b>>2]+4>>2]](q[b+4>>2],k)}b=q[y+32>>2];q[b>>2]=C;q[b+4>>2]=D;b=q[y+36>>2];q[b>>2]=B;q[b+4>>2]=i}f=0;break b}if((K|0)<1){break g}u=N;K=K+ -1|0;b=K;if(b>>>0>=17){q[a+4>>2]=130;b=0}A=(b<<4)+u|0;continue}x=18;f=0;if((K|0)>16){break b}K=K+1|0;i=K;if(i>>>0>=17){q[a+4>>2]=130;i=0}j=i<<4;i=q[g+12>>2];Jd:{if((i|0)==q[g+8>>2]){i=0;l=q[g+4>>2];if(!l|q[l>>2]){break Jd}q[l>>2]=161;break Jd}if(q[i+ -4>>2]!=2){i=0;l=q[g+4>>2];if(!l|q[l>>2]){break Jd}q[l>>2]=160;break Jd}i=i+ -8|0;q[g+12>>2]=i;i=q[i>>2]}A=j+N|0;Kd:{if(!v){break Kd}j=q[y+616>>2];if(!j){break Kd}i=dc(i,j);if(!i){i=-1;break Kd}i=q[i>>2]}q[A>>2]=0;q[A+4>>2]=0;q[A+8>>2]=0;q[A+12>>2]=0;if((b|0)==29){b=q[y+568>>2]+i|0;if(b>>>0>=t[y+560>>2]){break b}f=q[y+576>>2]+(b<<2)|0;b=q[f>>2];q[A+4>>2]=b;q[A+12>>2]=b;q[A+8>>2]=q[f+4>>2];f=u;continue}b=q[y+564>>2]+i|0;if(b>>>0>=t[y+556>>2]){break b}i=b<<2;j=i+q[y+572>>2]|0;b=q[j>>2];q[A+4>>2]=b;Ld:{if(r[y+48|0]){f=q[y+612>>2];if(f){if(!b){q[A+8>>2]=0;break Ld}q[A+8>>2]=q[f+i>>2]+b;break Ld}f=b;b=q[y+608>>2];b=f+((b|0)>0?b:0)|0;q[A+4>>2]=b;q[A+8>>2]=q[j+4>>2];break Ld}q[A+8>>2]=q[j+4>>2]}q[A+12>>2]=b;f=u;continue}if(!v){break i}if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}o[k+15791|0]=1;break i}if((b|0)==24){i=q[k+15976>>2];m=q[g+8>>2];j=q[g+12>>2]-m>>3;Md:{if(j>>>0<=f>>>0){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Md}q[b>>2]=130;break Md}l=m+(f<<3)|0;b=q[l+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){l=q[l>>2]<<16;break Md}b=q[l>>2];l=((b>>31)+b|0)- -8192>>14;break Md}l=q[l>>2]}b=i+l|0;q[k+15976>>2]=b;i=q[k+15972>>2];f=f|1;Nd:{if(j>>>0<=f>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break Nd}q[j>>2]=130;b=q[k+15976>>2];break Nd}j=m+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break Nd}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break Nd}f=q[j>>2]}f=f+i|0;q[k+15972>>2]=f;Wd(k+3904|0,b,f)}q[g+12>>2]=q[g+8>>2];f=u;continue}f=0;x=0;break b}q[a+120>>2]=b}f=u}q[g+12>>2]=q[g+8>>2];continue}break}break}x=18;f=0}if(q[a+4>>2]){break a}q[a+4>>2]=x}q[k+15536>>2]=0;q[k+15540>>2]=0;q[k+15528>>2]=0;b=q[k+15516>>2];a=q[k+15544>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15544>>2]=0;q[k+15740>>2]=0;q[k+15744>>2]=0;q[k+15732>>2]=0;b=q[k+15720>>2];a=q[k+15748>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15748>>2]=0;q[k+15772>>2]=0;q[k+15776>>2]=0;q[k+15764>>2]=0;b=q[k+15752>>2];a=q[k+15780>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15780>>2]=0;if(N){n[q[M+8>>2]](M,N)}if(!f){c=q[g>>2];b=c;a=q[g+8>>2];if(a){n[q[b+8>>2]](b,a)}q[g+8>>2]=0;if(g){n[q[c+8>>2]](c,g)}}Da=k+15984|0}function iF(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,u=0,v=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;j=Da+ -64|0;Da=j;d=q[a>>2];b=0;a:{if(q[q[d+96>>2]+64>>2]!=40){break a}b=0;if(!r[a+613|0]){break a}b=0;if(r[d+9|0]&32){break a}b=(r[a+340|0]>>>2^-1)&1}p[a+616>>1]=0;o[a+615|0]=b;b=q[a+384>>2];e=s[a+152>>1];c=b+e<<1;c=c>>>0>30?c:30;if(c>>>0>1]){p[a+188>>1]=c>>>0<65535?c:65535}q[a+628>>2]=0;q[a+620>>2]=0;c=a;b:{if(e){e=w(e,10);b=(e>>>0>50?e:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=w(b,10)+300|0}q[c+624>>2]=b;d=q[d+16>>2];q[a+260>>2]=0;c=s[a+220>>1]==s[a+222>>1];q[a+608>>2]=c?30:31;q[a+604>>2]=c?32:33;q[a+600>>2]=c?34:35;q[a+596>>2]=c?36:37;c=w(d,100);b=b>>>0>c>>>0?c:b;q[a+632>>2]=b;q[a+624>>2]=b;d=p[a+302>>1];c:{if((d&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;c=b;break c}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;c=s[a+298>>1];break c}c=p[a+298>>1];b=w(b,p[a+300>>1])+w(d,c)>>14;q[a+568>>2]=b}d:{if((c&65535)==16384){q[a+576>>2]=38;break d}if(s[a+300>>1]==16384){q[a+576>>2]=39;break d}q[a+576>>2]=40}e:{if(s[a+294>>1]==16384){q[a+580>>2]=38;break e}if(s[a+296>>1]==16384){q[a+580>>2]=39;break e}q[a+580>>2]=41}q[a+592>>2]=42;q[a+588>>2]=43;f:{if((b|0)!=16384){break f}if((d|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break f}if(s[a+304>>1]!=16384){break f}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;b=q[a+316>>2];if((b&255)>>>0<=7){q[a+572>>2]=q[(b<<24>>22)+6744>>2]}C=a+180|0;D=a+144|0;u=a+72|0;m=a+36|0;v=a+108|0;c=q[a+364>>2];H=a;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{while(1){i=q[a+360>>2];g=r[i+c|0];o[a+372|0]=g;h=o[g+4560|0];q[a+376>>2]=h;r:{if((g|1)!=65){d=q[a+368>>2];break r}b=c+1|0;d=q[a+368>>2];if((b|0)>=(d|0)){break q}h=2-w(r[b+i|0],h)|0;q[a+376>>2]=h}if((c+h|0)>(d|0)){break q}d=r[g+4816|0];b=d>>>4|0;c=q[a+16>>2]-b|0;q[a+28>>2]=c;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:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{if((c|0)<=-1){if(r[a+565|0]){break Wa}if(b){Na(q[a+24>>2],0,b<<2)}q[a+28>>2]=0;c=0}b=a;Xa:{Ya:{if((g|0)==145){d=q[q[a>>2]+736>>2];if(!d){d=q[a+32>>2];break Xa}d=q[d>>2]+c|0;break Ya}d=(d&15)+c|0}q[b+32>>2]=d}b=q[a+20>>2];if((d|0)>(b|0)){break i}q[a+12>>2]=0;o[a+380|0]=1;f=q[a+24>>2];e=f+(c<<2)|0;if(g>>>0>146){break Ta}Za:{_a:{switch(g-6|0){default:c=g<<14&16384;b=c^16384;if(g>>>0<=3){p[a+296>>1]=b;p[a+294>>1]=c;p[a+300>>1]=b;p[a+298>>1]=c}$a:{if(g&2){c=s[a+302>>1];break $a}p[a+304>>1]=b;p[a+302>>1]=c}ab:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ab}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ab}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;bb:{if((b|0)!=16384){break bb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break bb}if(s[a+304>>1]!=16384){break bb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 0:case 1:cb:{b=s[e+4>>1];if(s[a+116>>1]>b>>>0){c=s[e>>1];if(s[a+80>>1]>c>>>0){break cb}}if(!r[a+565|0]){break w}break j}c=q[a+88>>2]+(c<<3)|0;d=q[a+124>>2]+(b<<3)|0;b=q[c+4>>2]-q[d+4>>2]|0;d=q[c>>2]-q[d>>2]|0;c=b|d;d=c?d:16384;c=!(g&1)|!c;e=c?b:d;b=c?d:0-b|0;if(e|b){q[j+28>>2]=e;q[j+24>>2]=b;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}d=s[a+298>>1]|s[a+300>>1]<<16;p[a+294>>1]=d;p[a+296>>1]=d>>>16;c=a;e=p[a+302>>1];f=d<<16>>16;db:{if((e&65535)==16384){break db}b=p[a+304>>1];f=p[a+300>>1];if((b|0)==16384){break db}f=w(b,p[a+300>>1])+w(e,d<<16>>16)>>14}b=f;q[c+568>>2]=b;eb:{if((d&65535)!=16384){q[a+576>>2]=s[a+300>>1]==16384?39:40;c=(d&-65536)==1073741824?39:41;break eb}q[a+576>>2]=38;c=38}q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;fb:{if((b|0)!=16384){break fb}if((e|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break fb}if(s[a+304>>1]!=16384){break fb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 2:case 3:gb:{b=s[e+4>>1];if(s[a+116>>1]>b>>>0){c=s[e>>1];if(s[a+80>>1]>c>>>0){break gb}}if(r[a+565|0]){break j}break w}c=q[a+88>>2]+(c<<3)|0;d=q[a+124>>2]+(b<<3)|0;b=q[c+4>>2]-q[d+4>>2]|0;d=q[c>>2]-q[d>>2]|0;c=b|d;d=c?d:16384;c=!(g&1)|!c;e=c?b:d;b=c?d:0-b|0;hb:{if(!(e|b)){c=s[a+302>>1];break hb}q[j+28>>2]=e;q[j+24>>2]=b;yf(j+24|0);c=q[j+24>>2]/4|0;p[a+302>>1]=c;p[a+304>>1]=q[j+28>>2]/4}ib:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ib}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ib}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;jb:{if((b|0)!=16384){break jb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break jb}if(s[a+304>>1]!=16384){break jb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 4:b=p[e+4>>1];c=p[e>>1];if(b|c){q[j+28>>2]=b;q[j+24>>2]=c;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}d=s[a+298>>1]|s[a+300>>1]<<16;p[a+294>>1]=d;p[a+296>>1]=d>>>16;c=a;e=p[a+302>>1];f=d<<16>>16;kb:{if((e&65535)==16384){break kb}b=p[a+304>>1];f=p[a+300>>1];if((b|0)==16384){break kb}f=w(b,p[a+300>>1])+w(e,d<<16>>16)>>14}b=f;q[c+568>>2]=b;lb:{if((d&65535)!=16384){q[a+576>>2]=s[a+300>>1]==16384?39:40;c=(d&-65536)==1073741824?39:41;break lb}q[a+576>>2]=38;c=38}q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;mb:{if((b|0)!=16384){break mb}if((e|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break mb}if(s[a+304>>1]!=16384){break mb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 5:b=p[e+4>>1];c=p[e>>1];nb:{if(!(b|c)){c=s[a+302>>1];break nb}q[j+28>>2]=b;q[j+24>>2]=c;yf(j+24|0);c=q[j+24>>2]/4|0;p[a+302>>1]=c;p[a+304>>1]=q[j+28>>2]/4}ob:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ob}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ob}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;pb:{if((b|0)!=16384){break pb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break pb}if(s[a+304>>1]!=16384){break pb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 6:b=p[a+298>>1];q[e+4>>2]=p[a+300>>1];q[e>>2]=b;break w;case 7:b=p[a+302>>1];q[e+4>>2]=p[a+304>>1];q[e>>2]=b;break w;case 8:e=s[a+298>>1]|s[a+300>>1]<<16;p[a+302>>1]=e;p[a+304>>1]=e>>>16;f=e>>>16|0;b=e<<16>>16;c=a;d=a;qb:{rb:{sb:{if((e&65535)!=16384){if((f|0)!=16384){break sb}h=p[a+300>>1];b=h;break rb}q[a+568>>2]=b;d=38;break qb}h=p[a+300>>1];b=w(h,e>>16)+w(b,b)>>14}q[d+568>>2]=b;d=(h|0)==16384?39:40}q[c+576>>2]=d;h=38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;tb:{if((b|0)!=16384){break tb}if((e&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break tb}if((f|0)!=16384){break tb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 9:ub:{c=s[e+12>>1];b=s[a+44>>1];vb:{if(c>>>0>=b>>>0){break vb}f=s[e+16>>1];if(f>>>0>=b>>>0){break vb}g=s[e+4>>1];b=s[a+80>>1];if(g>>>0>=b>>>0){break vb}i=s[e+8>>1];if(i>>>0>=b>>>0){break vb}b=s[e>>1];if(b>>>0>1]){break ub}}if(!r[a+565|0]){break w}break j}e=q[a+52>>2];x=c<<3;c=e+x|0;d=q[c>>2];y=f<<3;l=y+e|0;k=q[l>>2];h=q[a+88>>2];e=g<<3;g=h+e|0;f=q[g+4>>2];A=i<<3;i=A+h|0;h=q[i+4>>2];z=q[g>>2];g=q[i>>2]-z|0;E=q[c+4>>2];B=q[l+4>>2]-E|0;F=0-B|0;i=h-f|0;l=k-d|0;c=bb(g,F,64)+bb(i,l,64)|0;k=c>>31;B=bb(g,l,64)+bb(i,B,64)|0;h=B>>31;wb:{if((w(k^c+k,19)|0)>(h^h+B)){d=bb(d-z|0,F,64)+bb(E-f|0,l,64)|0;f=bb(d,g,c);d=bb(d,i,c);c=q[a+124>>2];e=e+q[a+88>>2]|0;q[c+(b<<3)>>2]=f+q[e>>2];d=d+q[e+4>>2]|0;break wb}c=q[a+124>>2];d=q[a+52>>2];f=d+x|0;g=q[a+88>>2];i=g+A|0;e=e+g|0;d=d+y|0;q[c+(b<<3)>>2]=((q[f>>2]+(q[i>>2]+q[e>>2]|0)|0)+q[d>>2]|0)/4;d=(q[d+4>>2]+(q[f+4>>2]+(q[i+4>>2]+q[e+4>>2]|0)|0)|0)/4|0}q[((b<<3)+c|0)+4>>2]=d;b=q[a+132>>2]+b|0;o[b|0]=r[b|0]|24;break w;case 10:p[a+288>>1]=q[e>>2];break w;case 11:p[a+290>>1]=q[e>>2];break w;case 12:p[a+292>>1]=q[e>>2];break w;case 13:c=m;f=c;xb:{yb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break xb}break yb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[m+32>>2]=q[b+32>>2];c=q[b+28>>2];q[m+24>>2]=q[b+24>>2];q[m+28>>2]=c;c=q[b+20>>2];q[m+16>>2]=q[b+16>>2];q[m+20>>2]=c;c=q[b+12>>2];q[m+8>>2]=q[b+8>>2];q[m+12>>2]=c;p[a+348>>1]=q[e>>2];break w;case 14:c=u;f=c;zb:{Ab:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break zb}break Ab}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[u+32>>2]=q[b+32>>2];c=q[b+28>>2];q[u+24>>2]=q[b+24>>2];q[u+28>>2]=c;c=q[b+20>>2];q[u+16>>2]=q[b+16>>2];q[u+20>>2]=c;c=q[b+12>>2];q[u+8>>2]=q[b+8>>2];q[u+12>>2]=c;p[a+350>>1]=q[e>>2];break w;case 15:c=v;f=c;Bb:{Cb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break Bb}break Cb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[v+32>>2]=q[b+32>>2];c=q[b+28>>2];q[v+24>>2]=q[b+24>>2];q[v+28>>2]=c;c=q[b+20>>2];q[v+16>>2]=q[b+16>>2];q[v+20>>2]=c;c=q[b+12>>2];q[v+8>>2]=q[b+8>>2];q[v+12>>2]=c;p[a+352>>1]=q[e>>2];break w;case 16:c=m;f=c;Db:{Eb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break Db}break Eb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];i=q[b>>2];q[f>>2]=i;q[c+4>>2]=d;l=q[b+32>>2];q[m+32>>2]=l;c=q[b+28>>2];k=q[b+24>>2];q[m+24>>2]=k;q[m+28>>2]=c;f=q[b+20>>2];h=q[b+16>>2];q[m+16>>2]=h;q[m+20>>2]=f;g=q[b+12>>2];b=q[b+8>>2];q[m+8>>2]=b;q[m+12>>2]=g;q[u+32>>2]=l;q[u+24>>2]=k;q[u+28>>2]=c;q[u+16>>2]=h;q[u+20>>2]=f;q[u+8>>2]=b;q[u+12>>2]=g;q[u>>2]=i;q[u+4>>2]=d;q[v+32>>2]=q[m+32>>2];b=q[m+28>>2];q[v+24>>2]=q[m+24>>2];q[v+28>>2]=b;b=q[m+20>>2];q[v+16>>2]=q[m+16>>2];q[v+20>>2]=b;b=q[m+12>>2];q[v+8>>2]=q[m+8>>2];q[v+12>>2]=b;b=q[m+4>>2];q[v>>2]=q[m>>2];q[v+4>>2]=b;b=s[e>>1];p[a+352>>1]=b;p[a+350>>1]=b;p[a+348>>1]=b;break w;case 17:b=q[e>>2];if((b|0)<=-1){break k}q[a+308>>2]=(b|0)<65535?b:65535;break w;case 18:q[a+572>>2]=48;q[a+316>>2]=1;break w;case 19:q[a+572>>2]=49;q[a+316>>2]=0;break w;case 20:q[a+312>>2]=q[e>>2];break w;case 21:b=q[a+364>>2];c=q[a+368>>2];e=1;while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){f=b+1|0;if((f|0)>=(c|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}d=d+ -88|0;if(d>>>0<=1){if(d-1){e=e+1|0;if(e){continue}break w}e=e+ -1|0}if(e){continue}break}break w;case 22:b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l;case 23:q[a+324>>2]=q[e>>2];break w;case 24:q[a+328>>2]=q[e>>2];break w;case 25:I=a,J=Ma(q[e>>2],q[a+264>>2]),q[I+332>>2]=J;break w;case 26:q[e+4>>2]=q[e>>2];break w;case 29:b=q[e+4>>2];q[e+4>>2]=q[e>>2];q[e>>2]=b;break w;case 30:q[e>>2]=q[a+16>>2];break w;case 31:b=e;g=b;d=q[b>>2];Fb:{if(!((c|0)>=(d|0)?(d|0)>=1:0)){b=0;if(!r[a+565|0]){break Fb}q[a+12>>2]=134;q[e>>2]=0;break w}b=q[(c-d<<2)+f>>2]}q[g>>2]=b;break w;case 32:b=q[e>>2];if(!((c|0)>=(b|0)?(b|0)>=1:0)){if(!r[a+565|0]){break w}break j}c=(c-b<<2)+f|0;d=q[c>>2];sb(c,c+4|0,(b<<2)+ -4|0);q[(q[a+24>>2]+(q[a+28>>2]<<2)|0)+ -4>>2]=d;break w;case 33:Gb:{b=s[e>>1];if(b>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break Gb}}if(!r[a+565|0]){break w}break j}e=b;d=q[a+52>>2]+(c<<3)|0;b=q[a+88>>2]+(b<<3)|0;b=(n[q[a+576>>2]](a,q[d>>2]-q[b>>2]|0,q[d+4>>2]-q[b+4>>2]|0)|0)/2|0;n[q[a+588>>2]](a,u,e,b);n[q[a+588>>2]](a,m,c,0-b|0);break w;case 34:qf(a);break w;case 35:b=s[e>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break w}break j}b=b+q[a+60>>2]|0;c=b;d=r[b|0];b=s[a+302>>1]?-9:-1;o[c|0]=d&(s[a+304>>1]?b&239:b);break w;case 36:d=q[e+4>>2];b=q[a+424>>2]+1|0;if(d>>>0>=b>>>0){break j}c=q[a+408>>2];f=q[a+400>>2];Hb:{if((f|0)==(b|0)){b=c?c+w(d,24)|0:0;if((d|0)==q[b+12>>2]){break Hb}}b=c;c=b?b+w(f,24)|0:0;Ib:{if(b>>>0>=c>>>0){break Ib}while(1){if((d|0)==q[b+12>>2]){break Ib}b=b+24|0;if(b>>>0>>0){continue}break}}if((b|0)==(c|0)){break j}}if(!r[b+16|0]){break j}d=q[a+432>>2];if((d|0)>=q[a+436>>2]){break i}if(q[e>>2]<1){break w}c=q[a+440>>2]+(d<<4)|0;q[c>>2]=q[a+356>>2];q[c+4>>2]=q[a+364>>2]+1;f=q[e>>2];q[c+12>>2]=b;q[c+8>>2]=f;q[a+432>>2]=d+1;d=q[b>>2];c=d+ -1|0;Jb:{if(c>>>0>=3){q[a+12>>2]=132;break Jb}f=q[((c<<3)+a|0)+448>>2];if(!f){q[a+12>>2]=138;break Jb}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){q[a+12>>2]=131;break Jb}q[a+368>>2]=c;q[a+360>>2]=f;q[a+364>>2]=b;q[a+356>>2]=d}o[a+380|0]=0;b=q[a+620>>2]+q[e>>2]|0;q[a+620>>2]=b;if(b>>>0<=t[a+624>>2]){break w}break l;case 37:b=q[a+424>>2]+1|0;d=q[e>>2];if(b>>>0<=d>>>0){break j}c=q[a+408>>2];if(!c){break j}e=q[a+400>>2];Kb:{if((e|0)==(b|0)){b=c+w(d,24)|0;if((d|0)==q[b+12>>2]){break Kb}}f=c+w(e,24)|0;b=c;Lb:{if((e|0)<1){break Lb}while(1){if((d|0)==q[b+12>>2]){break Lb}b=b+24|0;if(b>>>0>>0){continue}break}}if((b|0)==(f|0)){break j}}if(!r[b+16|0]){break j}d=q[a+432>>2];if((d|0)>=q[a+436>>2]){break i}c=q[a+440>>2]+(d<<4)|0;q[c>>2]=q[a+356>>2];e=q[a+364>>2];q[c+12>>2]=b;q[c+8>>2]=1;q[c+4>>2]=e+1;q[a+432>>2]=d+1;d=q[b>>2];c=d+ -1|0;Mb:{if(c>>>0>=3){q[a+12>>2]=132;break Mb}e=q[((c<<3)+a|0)+448>>2];if(!e){q[a+12>>2]=138;break Mb}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){q[a+12>>2]=131;break Mb}q[a+368>>2]=c;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=d}o[a+380|0]=0;break w;case 38:g=q[a+356>>2];if((g|0)==3){break m}d=q[a+408>>2];Nb:{Ob:{if(!d){f=q[a+400>>2];c=q[e>>2];b=0;break Ob}f=q[a+400>>2];b=w(f,24)+d|0;c=q[e>>2];Pb:{if((f|0)<1){break Pb}while(1){if(q[d+12>>2]==(c|0)){break Pb}d=d+24|0;if(d>>>0>>0){continue}break}}if((b|0)!=(d|0)){break Nb}}if(f>>>0>=t[a+404>>2]){break n}q[a+400>>2]=f+1;d=b}if(c>>>0>=65536){break n}q[d+12>>2]=c;q[d>>2]=g;b=q[a+364>>2];q[d+20>>2]=0;p[d+16>>1]=1;q[d+4>>2]=b+1;if(c>>>0>t[a+424>>2]){q[a+424>>2]=c}e=q[a+368>>2];while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(e|0)){break q}c=r[b+i|0];o[a+372|0]=c;h=o[c+4560|0];q[a+376>>2]=h;if((c|1)==65){f=b+1|0;if((f|0)>=(e|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(e|0)){break q}f=c+ -44|0;if(f>>>0<=1){break Za}if((c|0)!=137){continue}break}break o;case 39:c=q[a+432>>2];b=136;if((c|0)<=0){break h}b=c+ -1|0;q[a+432>>2]=b;b=q[a+440>>2]+(b<<4)|0;d=q[b+8>>2];q[b+8>>2]=d+ -1;o[a+380|0]=0;if((d|0)>=2){q[a+432>>2]=c;q[a+364>>2]=q[q[b+12>>2]+4>>2];break w}d=q[b>>2];c=d+ -1|0;if(c>>>0>=3){break k}e=q[((c<<3)+a|0)+448>>2];if(!e){break p}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){break q}q[a+368>>2]=c;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=d;break w;case 40:case 41:b=s[e>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break w}break j}c=a;d=m;e=b;if(g&1){f=q[a+52>>2]+(b<<3)|0;f=n[q[a+576>>2]](a,q[f>>2],q[f+4>>2])|0;f=(n[q[a+572>>2]](a,f,q[a+268>>2])|0)-f|0}else{f=0}n[q[a+588>>2]](c,d,e,f);p[a+290>>1]=b;p[a+288>>1]=b;break w;case 125:case 126:break Ga;case 127:break Ha;case 128:case 129:break Ia;case 130:break Ja;case 131:break Ka;case 132:break La;case 133:break Ma;case 134:break Na;case 135:break Oa;case 136:break Pa;case 137:case 138:break Qa;case 139:break Ra;case 140:break Sa;case 27:case 83:case 120:case 121:break Ua;case 28:break Va;case 42:case 43:break _a;case 44:case 45:break y;case 46:case 47:break z;case 48:case 49:break A;case 50:break B;case 51:break C;case 52:case 53:break D;case 54:break E;case 55:break F;case 56:case 57:break G;case 58:break H;case 59:break I;case 60:break J;case 61:break K;case 62:break L;case 63:break M;case 64:case 65:break N;case 66:break O;case 67:case 68:break P;case 69:break Q;case 70:break R;case 71:break S;case 72:break T;case 73:break U;case 74:break V;case 75:break W;case 76:break X;case 77:break Y;case 78:break Z;case 79:break _;case 80:break $;case 81:break aa;case 82:break ba;case 84:break ca;case 85:break da;case 86:break ea;case 87:break fa;case 88:break ga;case 89:break ha;case 90:break ia;case 91:break ja;case 92:break ka;case 93:break la;case 94:break ma;case 95:break na;case 96:break oa;case 97:break pa;case 98:case 99:case 100:case 101:break qa;case 102:case 103:case 104:case 105:break ra;case 106:break sa;case 107:case 108:break ta;case 109:case 110:case 111:break ua;case 112:break va;case 113:break wa;case 114:break xa;case 115:break ya;case 116:break za;case 117:break Aa;case 118:break Ba;case 119:break Ca;case 122:break Da;case 123:break Ea;case 124:break Fa}}Qb:{if(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40){break Qb}if(r[a+617|0]?r[a+616|0]:0){break w}if(g&1){o[a+616|0]=1;break Qb}o[a+617|0]=1}if(!s[a+154>>1]){break w}Rb:{if(g&1){h=q[a+156>>2];q[j+24>>2]=h;y=q[a+160>>2];q[j+28>>2]=y;q[j+32>>2]=q[a+164>>2];k=8;break Rb}h=q[a+156>>2]+4|0;q[j+24>>2]=h;y=q[a+160>>2]+4|0;q[j+28>>2]=y;q[j+32>>2]=q[a+164>>2]+4;k=16}c=s[a+152>>1];q[j+36>>2]=c;A=0;f=0;while(1){b=s[q[a+172>>2]+(A<<1)>>1]-s[a+176>>1]|0;c=c&65535;x=b>>>0>>0?b:c+ -1|0;Sb:{if(f>>>0>x>>>0){b=f;break Sb}d=q[a+168>>2];c=f;Tb:{Ub:{while(1){Vb:{b=c+1|0;if(k&r[c+d|0]){g=b;i=c;l=c;Wb:{z=b>>>0>x>>>0;if(!z){while(1){e=g;if(k&r[e+d|0]){yj(j+24|0,l+1|0,i,l,e);l=e}g=e+1|0;if(g>>>0<=x>>>0){d=q[a+168>>2];i=e;continue}break}if((c|0)!=(l|0)){break Wb}}d=c<<3;d=q[d+y>>2]-q[d+h>>2]|0;if(!d){break Tb}if(f>>>0>>0){break Vb}break Ub}yj(j+24|0,l+1&65535,x,l,c);if(!c){break Tb}yj(j+24|0,f,c+ -1|0,l,c);break Tb}c=b;if(b>>>0<=x>>>0){continue}break Sb}break}while(1){e=(f<<3)+y|0;q[e>>2]=d+q[e>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}if(z){break Tb}while(1){c=(b<<3)+y|0;q[c>>2]=d+q[c>>2];b=b+1|0;if(b>>>0<=x>>>0){continue}break}}b=g}A=A+1|0;if((A|0)>=p[a+154>>1]){break w}c=s[a+152>>1];f=b;continue}}if(f-1){break o}break x}b=129;break h}q[a+32>>2]=0;break v}q[a+16>>2]=d;break u}if(g>>>0>=224){Xb:{Yb:{f=s[e>>1];Zb:{if(f>>>0>=s[a+80>>1]){break Zb}b=q[e+4>>2];c=b+1|0;if(c>>>0>=q[a+384>>2]+1>>>0){break Zb}if(s[a+288>>1]>1]){break Yb}}if(!r[a+565|0]){break Xb}q[a+12>>2]=134;break Xb}l=q[a+324>>2];g=q[a+312>>2];if(c){b=n[q[a+600>>2]](a,b)|0}else{b=0}c=q[a+332>>2];e=b-c|0;d=e>>31;b=(d^e+d)>2]?(b|0)>-1?c:0-c|0:b;if(!s[a+350>>1]){d=p[a+302>>1];c=d>>31;i=c^c+d;c=b>>31;k=c+b^c;h=k>>>16|0;x=w(i,h);e=x<<16|8192;y=f<<3;c=y+q[a+84>>2]|0;A=q[a+48>>2]+(s[a+288>>1]<<3)|0;z=i;i=k&65535;k=e+w(z,i)|0;e=(x>>>16|0)+(k>>>0>>0)<<18|k>>>14;q[c>>2]=q[A>>2]+((b^d)>-1?e:0-e|0);d=p[a+304>>1];e=d>>31;k=e^e+d;h=w(k,h);e=h<<16|8192;i=e+w(i,k)|0;e=(h>>>16|0)+(i>>>0>>0)<<18|i>>>14;q[c+4>>2]=q[A+4>>2]+((b^d)>-1?e:0-e|0);e=q[c+4>>2];d=y+q[a+88>>2]|0;q[d>>2]=q[c>>2];q[d+4>>2]=e}c=f<<3;d=c+q[a+84>>2]|0;e=q[a+48>>2]+(s[a+288>>1]<<3)|0;e=n[q[a+580>>2]](a,q[d>>2]-q[e>>2]|0,q[d+4>>2]-q[e+4>>2]|0)|0;c=c+q[a+88>>2]|0;d=q[a+52>>2]+(s[a+288>>1]<<3)|0;k=n[q[a+576>>2]](a,q[c>>2]-q[d>>2]|0,q[c+4>>2]-q[d+4>>2]|0)|0;b=(b^e)<0?r[a+320|0]?0-b|0:b:b;c=r[a+372|0];_b:{if(c&4){d=a;if(s[a+348>>1]==s[a+350>>1]){h=b-e|0;i=h>>31;b=(i^h+i)>(l|0)?e:b}h=n[q[a+572>>2]](d,b,q[(((c&3)<<2)+a|0)+268>>2])|0;c=r[a+372|0];break _b}d=q[(((c&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+d|0;h=(b|0)>0?b:0;break _b}b=b-d|0;h=b>>31&b}$b:{if(!(c&8)){break $b}if((e|0)>=0){h=(h|0)<(g|0)?g:h;break $b}b=0-g|0;h=(h|0)>(b|0)?b:h}n[q[a+588>>2]](a,u,f,h-k|0)}p[a+290>>1]=s[a+288>>1];if(r[a+372|0]&16){p[a+288>>1]=f}p[a+292>>1]=f;break w}if(g>>>0>=192){ac:{bc:{b=s[e>>1];if(b>>>0>1]){c=s[a+288>>1];if(c>>>0>1]){break bc}}if(!r[a+565|0]){break ac}q[a+12>>2]=134;break ac}e=q[a+312>>2];cc:{if(!(s[a+350>>1]?s[a+348>>1]:0)){d=q[a+84>>2]+(b<<3)|0;c=q[a+48>>2]+(c<<3)|0;c=n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0;break cc}c=q[a+56>>2]+(c<<3)|0;d=q[a+92>>2]+(b<<3)|0;f=q[a+224>>2];if((f|0)==q[a+228>>2]){c=Ma(n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0,q[a+224>>2]);break cc}c=(J=a,K=Ma(q[d>>2]-q[c>>2]|0,f),L=Ma(q[d+4>>2]-q[c+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](J|0,K|0,L|0)|0)}f=q[a+328>>2];dc:{if((f|0)<1){break dc}d=q[a+332>>2];if((c|0)>=(d+f|0)|(c|0)<=(d-f|0)){break dc}c=(c|0)>-1?d:0-d|0}h=r[a+372|0];ec:{if(h&4){d=n[q[a+572>>2]](a,c,q[(((h&3)<<2)+a|0)+268>>2])|0;h=r[a+372|0];break ec}d=q[(((h&3)<<2)+a|0)+268>>2];if((c|0)>=0){d=c+d|0;d=(d|0)>0?d:0;break ec}d=c-d|0;d=d>>31&d}fc:{if(!(h&8)){break fc}if((c|0)>=0){d=(d|0)<(e|0)?e:d;break fc}c=0-e|0;d=(d|0)>(c|0)?c:d}e=d;c=q[a+88>>2]+(b<<3)|0;d=q[a+52>>2]+(s[a+288>>1]<<3)|0;L=a,K=u,J=b,M=e-(n[q[a+576>>2]](a,q[c>>2]-q[d>>2]|0,q[c+4>>2]-q[d+4>>2]|0)|0)|0,I=q[a+588>>2],n[I](L|0,K|0,J|0,M|0)}p[a+292>>1]=b;p[a+290>>1]=s[a+288>>1];if(!(r[a+372|0]&16)){break w}p[a+288>>1]=b;break w}if(g>>>0>=184){d=g+65353&65535;if(d>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}b=q[a+364>>2];c=b+1|0;q[a+364>>2]=c;gc:{if(!d){break gc}q[a+364>>2]=b+3;q[e>>2]=(r[(b+i|0)+2|0]|r[c+i|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break gc}while(1){f=q[a+364>>2];q[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+i|0;b=r[b|0]|r[b+1|0]<<8;q[g>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(d>>>0>b>>>0){continue}break}}o[a+380|0]=0;break w}if(g>>>0>=176){d=g+65361&65535;if(d>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}b=1;c=1;if(!d){break w}while(1){q[(e+(b<<2)|0)+ -4>>2]=r[i+(q[a+364>>2]+b|0)|0];c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}qf(a);break w}if(q[q[a>>2]+736>>2]){q[e>>2]=17;break w}qf(a);break w}d=q[q[a>>2]+736>>2];if(d){c=q[d>>2];if(c>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}d=q[d+8>>2];if(d){b=0;if(!c){break w}while(1){f=b<<2;q[f+e>>2]=q[d+f>>2]>>2;b=b+1|0;if((c|0)!=(b|0)){continue}break}break w}if(!c){break w}Na(e,0,c<<2);break w}qf(a);break w}qf(a);break w}d=q[e+4>>2];b=d+ -1|0;if(b>>>0>=3){if(!r[a+565|0]){break w}break j}c=1<>2];if(!(!b|(b|0)==(c|0))){if(!r[a+565|0]){break w}break j}o[a+340|0]=b|r[a+340|0]&(c^-1);if((d|0)!=3|q[q[q[a>>2]+96>>2]+64>>2]!=40){break w}o[a+615|0]=(b|0)!=4;break w}b=q[e>>2];if((b|0)<0){break w}q[a+344>>2]=b&65535;break w}b=q[e+4>>2];if((b|0)>=q[e>>2]){break w}q[e>>2]=b;break w}b=q[e+4>>2];if((b|0)<=q[e>>2]){break w}q[e>>2]=b;break w}b=q[e+4>>2];c=q[e+8>>2];q[e+8>>2]=q[e>>2];q[e>>2]=b;q[e+4>>2]=c;break w}f=q[a+356>>2];if((f|0)==3){break m}c=q[a+412>>2];hc:{d=q[a+420>>2];ic:{jc:{if(!d){b=0;break jc}b=w(c,24)+d|0;kc:{if((c|0)<1){break kc}g=q[e>>2];while(1){if((g|0)==q[d+12>>2]){break kc}d=d+24|0;if(d>>>0>>0){continue}break}}if((b|0)!=(d|0)){break ic}}if(c>>>0>=t[a+416>>2]){break hc}q[a+412>>2]=c+1;d=b}b=q[e>>2];if(b>>>0>=256){break hc}q[d+12>>2]=b;b=q[a+364>>2];o[d+16|0]=1;q[d>>2]=f;q[d+4>>2]=b+1;c=q[e>>2];if(c>>>0>t[a+428>>2]){q[a+428>>2]=c&255}e=q[a+368>>2];while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(e|0)){break q}c=r[b+i|0];o[a+372|0]=c;h=o[c+4560|0];q[a+376>>2]=h;if((c|1)==65){f=b+1|0;if((f|0)>=(e|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(e|0)){break q}f=c+ -44|0;if(f>>>0>1){if((c|0)==137){break o}continue}break}if(f-1){break o}q[d+8>>2]=b;break w}b=141;break h}b=0;c=q[e>>2];if(c&1){b=q[q[q[a>>2]+96>>2]+64>>2]}b=c&2?r[a+285|0]?b|256:b:b;b=c&4?r[a+286|0]?b|512:b:b;b=c&8?q[q[a>>2]+736>>2]?b|1024:b:b;b=c&32?r[a+612|0]?b|4096:b:b;d=b;lc:{if(!r[a+613|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40){break lc}d=c<<7;b=d&8192|b;if(c&256){b=r[a+614|0]?b|32768:b}b=d&393216|b;d=b;if(!(c&4096)){break lc}d=r[a+618|0]?b|524288:b}q[e>>2]=d;break w}mc:{b=s[e>>1];if(b>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break mc}}if(!r[a+565|0]){break w}break j}d=b<<3;e=d+q[a+84>>2]|0;f=c<<3;c=f+q[a+120>>2]|0;b=q[e+4>>2]-q[c+4>>2]|0;e=q[e>>2]-q[c>>2]|0;c=b|e;e=c?e:16384;c=!(g&1)|!c;g=c?b:e;b=c?e:0-b|0;if(g|b){q[j+28>>2]=g;q[j+24>>2]=b;yf(j+24|0);p[a+294>>1]=q[j+24>>2]/4;p[a+296>>1]=q[j+28>>2]/4}d=d+q[a+88>>2]|0;e=f+q[a+124>>2]|0;b=q[d+4>>2]-q[e+4>>2]|0;e=q[d>>2]-q[e>>2]|0;d=b|e;e=d?e:16384;c=c|!d;d=c?b:e;b=c?e:0-b|0;if(d|b){q[j+28>>2]=d;q[j+24>>2]=b;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}f=s[a+302>>1];nc:{if((f|0)==16384){b=p[a+298>>1];q[a+568>>2]=b;d=b;break nc}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;d=s[a+298>>1];break nc}d=p[a+298>>1];b=w(b,p[a+300>>1])+w(d,f<<16>>16)>>14;q[a+568>>2]=b}c=38;q[a+576>>2]=(d&65535)!=16384?s[a+300>>1]==16384?39:40:38;c=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:c;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;oc:{if((b|0)!=16384){break oc}if((f|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break oc}if(s[a+304>>1]!=16384){break oc}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w}pc:{b=q[e>>2];c=b&255;if(c){if((c|0)!=255){break pc}o[a+341|0]=1;break w}o[a+341|0]=0;break w}if(!(!(b&256)|c>>>0>1])){o[a+341|0]=1}if(!(!(b&512)|!r[a+285|0])){o[a+341|0]=1}if(!(!(b&1024)|!r[a+286|0])){o[a+341|0]=1}if(!(!(b&2048)|c>>>0>=s[a+256>>1])){o[a+341|0]=0}if(!(!(b&4096)|!r[a+285|0])){o[a+341|0]=0}if(!(b&8192)|!r[a+286|0]){break w}o[a+341|0]=0;break w}qf(a);break w}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break w}}qc:{d=s[e+4>>1];c=s[a+152>>1];if(d>>>0>=c>>>0){break qc}b=s[e>>1];if(b>>>0>=c>>>0){break qc}if(d>>>0>>0){break w}c=b;while(1){b=q[a+168>>2]+b|0;o[b|0]=r[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}if(!r[a+565|0]){break w}break j}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break w}}rc:{d=s[e+4>>1];c=s[a+152>>1];if(d>>>0>=c>>>0){break rc}b=s[e>>1];if(b>>>0>=c>>>0){break rc}if(d>>>0>>0){break w}c=b;while(1){b=q[a+168>>2]+b|0;o[b|0]=r[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}if(!r[a+565|0]){break w}break j}sc:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break sc}}tc:{b=q[a+308>>2];if(q[a+16>>2]>=(b|0)){if((b|0)>0){break tc}break sc}if(!r[a+565|0]){break sc}q[a+12>>2]=129;break sc}while(1){c=c+ -1|0;q[a+28>>2]=c;c=s[(c<<2)+f>>1];uc:{if(c>>>0>=s[a+152>>1]){if(r[a+565|0]){break j}break uc}b=c+q[a+168>>2]|0;o[b|0]=r[b|0]^1;b=q[a+308>>2]}d=b+ -1|0;q[a+308>>2]=d;c=q[a+28>>2];if((b|0)<2){break sc}f=q[a+24>>2];b=d;continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}q[a+572>>2]=50;q[a+316>>2]=3;break w}q[a+572>>2]=51;q[a+316>>2]=4;break w}qf(a);break w}q[a+572>>2]=52;q[a+316>>2]=5;break w}if(q[e+4>>2]){break w}b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l}if(!q[e+4>>2]){break w}b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l}e=q[e>>2];b=e>>>4|0;c=q[(b&12)+6792>>2];q[a+480>>2]=c;vc:{wc:{xc:{yc:{b=b&3;switch(b-1|0){case 2:break wc;case 1:break xc;case 0:break yc;default:break vc}}b=c>>>2|0;break vc}b=c>>>1|0;break vc}b=w(c,3)>>>2|0}q[a+484>>2]=b;q[a+572>>2]=53;q[a+316>>2]=7;d=a;e=e&15;f=c+ -1|0;zc:{if(!e){break zc}f=(w(c,e+ -4|0)|0)/8|0}q[d+488>>2]=f>>8;q[a+484>>2]=b>>>8;q[a+480>>2]=c>>>8;break w}e=q[e>>2];b=e>>>4|0;c=q[(b&12)+6776>>2];q[a+480>>2]=c;Ac:{Bc:{Cc:{Dc:{b=b&3;switch(b-1|0){case 2:break Bc;case 1:break Cc;case 0:break Dc;default:break Ac}}b=c>>>2|0;break Ac}b=c>>>1|0;break Ac}b=w(c,3)>>>2|0}q[a+484>>2]=b;q[a+572>>2]=54;q[a+316>>2]=6;d=a;e=e&15;f=c+ -1|0;Ec:{if(!e){break Ec}f=(w(c,e+ -4|0)|0)/8|0}q[d+488>>2]=f>>8;q[a+484>>2]=b>>>8;q[a+480>>2]=c>>>8;break w}d=n[q[a+596>>2]](a)|0;c=1;e=q[e>>2];Fc:{if(!e){break Fc}while(1){b=q[a+28>>2];if((b|0)<=1){if(r[a+565|0]){q[a+12>>2]=129}q[a+28>>2]=0;break Fc}f=b+ -2|0;q[a+28>>2]=f;g=b<<2;b=q[a+24>>2];g=q[(g+b|0)+ -4>>2];Gc:{if(g>>>0>=t[a+384>>2]){if(r[a+565|0]){break j}break Gc}l=d;f=q[b+(f<<2)>>2];b=f>>>4&15;i=r[a+372|0]+ -116|0;h=b;Hc:{if(i>>>0>1){break Hc}h=b|16;if(i-1){break Hc}h=b|32}if((l|0)!=(h+s[a+336>>1]|0)){break Gc}b=f&15;n[q[a+608>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-s[a+338>>1])}c=c+1|0;if(c>>>0<=e>>>0){continue}break}}q[a+32>>2]=q[a+28>>2];break w}Bo(a,e);break w}b=q[e>>2];if(b>>>0>=t[a+384>>2]){if(!r[a+565|0]){break w}break j}c=Ma(q[e+4>>2],q[a+264>>2]);q[q[a+388>>2]+(b<<2)>>2]=c;break w}b=q[((g<<2)+a|0)+ -164>>2];c=q[e>>2];if((c|0)>=0){b=b+c|0;q[e>>2]=(b|0)>0?b:0;break w}b=c-b|0;q[e>>2]=b>>31&b;break w}I=e,M=n[q[a+572>>2]](a,q[e>>2],q[((g<<2)+a|0)+ -148>>2])|0,q[I>>2]=M;break w}q[e>>2]=q[e>>2]+63&-64;break w}q[e>>2]=q[e>>2]&-64;break w}q[e>>2]=0-q[e>>2];break w}b=q[e>>2];if((b|0)>-1){break w}q[e>>2]=0-b;break w}I=e,M=bb(q[e>>2],q[e+4>>2],64),q[I>>2]=M;break w}c=q[e+4>>2];b=133;if(!c){break h}I=e,M=Sk(q[e>>2],64,c),q[I>>2]=M;break w}q[e>>2]=q[e>>2]-q[e+4>>2];break w}q[e>>2]=q[e+4>>2]+q[e>>2];break w}b=q[e>>2];if(b>>>0>=7){break k}p[a+338>>1]=b;break w}p[a+336>>1]=q[e>>2];break w}Bo(a,e);break w}q[e>>2]=!q[e>>2];break w}b=e;q[b>>2]=q[b>>2]?1:q[b+4>>2]!=0;break w}if(!q[e>>2]){q[e>>2]=0;break w}q[e>>2]=q[e+4>>2]!=0;break w}if(q[e>>2]){break w}b=q[a+364>>2];c=q[a+368>>2];f=1;while(1){Ic:{Jc:{if((f|0)==1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){e=b+1|0;if((e|0)>=(c|0)){break q}h=2-w(r[e+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}e=d+ -88|0;if(e>>>0>1){f=1;if((d|0)!=27){continue}break w}if(e-1){break Jc}break w}while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){e=b+1|0;if((e|0)>=(c|0)){break q}h=2-w(r[e+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}if((d|0)==27){continue}break}d=d+ -88|0;if(d>>>0>1){continue}if(!(d-1)){break Ic}}f=f+1|0;continue}f=f+ -1|0;if(f){continue}break}break w}I=e,M=!(n[q[a+572>>2]](a,q[e>>2],0)&127),q[I>>2]=M;break w}I=e,M=(n[q[a+572>>2]](a,q[e>>2],0)&127)==64,q[I>>2]=M;break w}q[e>>2]=q[e>>2]!=q[e+4>>2];break w}q[e>>2]=q[e>>2]==q[e+4>>2];break w}q[e>>2]=q[e>>2]>=q[e+4>>2];break w}q[e>>2]=q[e>>2]>q[e+4>>2];break w}q[e>>2]=q[e>>2]<=q[e+4>>2];break w}q[e>>2]=q[e>>2]>2];break w}b=135;break h}o[a+320|0]=0;break v}o[a+320|0]=1;break v}if(q[q[q[a>>2]+96>>2]+64>>2]==35){I=e,M=n[q[a+596>>2]](a)|0,q[I>>2]=M;break w}q[e>>2]=q[a+216>>2];break w}I=e,M=n[q[a+596>>2]](a)|0,q[I>>2]=M;break w}Kc:{Lc:{b=e;d=s[b>>1];if(d>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break Lc}}c=0;if(!r[a+565|0]){break Kc}q[a+12>>2]=134;q[e>>2]=0;break w}if(g&1){b=q[a+52>>2]+(d<<3)|0;c=q[a+88>>2]+(c<<3)|0;I=e,M=n[q[a+576>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0,q[I>>2]=M;break w}if(!(s[a+350>>1]?s[a+348>>1]:0)){b=q[a+48>>2]+(d<<3)|0;c=q[a+84>>2]+(c<<3)|0;I=e,M=n[q[a+580>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0,q[I>>2]=M;break w}c=q[a+92>>2]+(c<<3)|0;d=q[a+56>>2]+(d<<3)|0;f=q[a+224>>2];if((f|0)==q[a+228>>2]){I=e,M=Ma(n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0,q[a+224>>2]),q[I>>2]=M;break w}c=(M=a,J=Ma(q[d>>2]-q[c>>2]|0,f),K=Ma(q[d+4>>2]-q[c+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](M|0,J|0,K|0)|0)}q[b>>2]=c;break w}b=s[e>>1];if(b>>>0>=s[a+116>>1]){if(!r[a+565|0]){break w}break j}c=b<<3;d=c+q[a+124>>2]|0;d=n[q[a+576>>2]](a,q[d>>2],q[d+4>>2])|0;n[q[a+588>>2]](a,v,b,q[e+4>>2]-d|0);if(s[a+352>>1]){break w}b=c+q[a+120>>2]|0;c=c+q[a+124>>2]|0;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;break w}b=e;c=q[b>>2];Mc:{if(c>>>0>=s[a+116>>1]){c=0;if(!r[a+565|0]){break Mc}q[a+12>>2]=134;q[e>>2]=0;break w}if(g&1){b=q[a+120>>2]+(c<<3)|0;I=e,K=n[q[a+580>>2]](a,q[b>>2],q[b+4>>2])|0,q[I>>2]=K;break w}c=q[a+124>>2]+(c<<3)|0;c=n[q[a+576>>2]](a,q[c>>2],q[c+4>>2])|0}q[b>>2]=c;break w}b=q[e>>2];Nc:{if(b>>>0>=t[a+384>>2]){b=0;if(r[a+565|0]){break j}break Nc}b=n[q[a+600>>2]](a,b)|0}q[e>>2]=b;break w}b=q[e>>2];if(b>>>0>=t[a+384>>2]){if(!r[a+565|0]){break w}break j}n[q[a+604>>2]](a,b,q[e+4>>2]);break w}b=q[e>>2];Oc:{if(b>>>0>=s[a+472>>1]){b=0;if(r[a+565|0]){break j}break Oc}b=q[q[a+476>>2]+(b<<2)>>2]}q[e>>2]=b;break w}b=q[e>>2];if(b>>>0>=s[a+472>>1]){if(!r[a+565|0]){break w}break j}q[q[a+476>>2]+(b<<2)>>2]=q[e+4>>2];break w}f=(b-q[a+16>>2]|0)+1|0;b=q[a+364>>2];c=b+i|0;d=r[c+1|0];if(f>>>0<=d>>>0){break i}f=b+2|0;q[a+364>>2]=f;Pc:{if(!d){break Pc}q[a+364>>2]=b+4;q[e>>2]=(r[c+3|0]|r[f+i|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break Pc}while(1){f=q[a+364>>2];q[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+i|0;b=r[b|0]|r[b+1|0]<<8;q[g>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(b>>>0>>0){continue}break}}o[a+380|0]=0;q[a+32>>2]=d+q[a+32>>2];break w}c=(b-q[a+16>>2]|0)+1|0;b=i+q[a+364>>2]|0;d=r[b+1|0];if(c>>>0<=d>>>0){break i}Qc:{if(!d){break Qc}q[e>>2]=r[b+2|0];b=2;c=2;if((d|0)==1){break Qc}while(1){q[(e+(b<<2)|0)+ -4>>2]=r[(i+(q[a+364>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(b>>>0<=d>>>0){continue}break}}q[a+32>>2]=d+q[a+32>>2];break w}Rc:{Sc:{c=s[e>>1];if(c>>>0>1]){b=q[e+4>>2];if(t[a+384>>2]>b>>>0){break Sc}}if(!r[a+565|0]){break Rc}q[a+12>>2]=134;break Rc}l=q[a+324>>2];b=n[q[a+600>>2]](a,b)|0;if(!s[a+348>>1]){e=p[a+302>>1];d=e>>31;g=d^e+d;d=b>>31;i=d+b^d;k=i>>>16|0;h=w(g,k);f=h<<16|8192;x=c<<3;d=x+q[a+48>>2]|0;z=g;g=i&65535;i=f+w(z,g)|0;f=(h>>>16|0)+(i>>>0>>0)<<18|i>>>14;q[d>>2]=(b^e)>-1?f:0-f|0;e=p[a+304>>1];f=e>>31;i=f^e+f;k=w(i,k);f=k<<16|8192;g=f+w(g,i)|0;f=(k>>>16|0)+(g>>>0>>0)<<18|g>>>14;q[d+4>>2]=(b^e)>-1?f:0-f|0;f=q[d+4>>2];e=x+q[a+52>>2]|0;q[e>>2]=q[d>>2];q[e+4>>2]=f}d=q[a+52>>2]+(c<<3)|0;g=n[q[a+576>>2]](a,q[d>>2],q[d+4>>2])|0;d=a;e=m;f=c;if(o[a+372|0]&1){k=b-g|0;i=k>>31;b=n[q[a+572>>2]](a,(i^i+k)>(l|0)?g:b,q[a+268>>2])|0}n[q[a+588>>2]](d,e,f,b-g|0)}p[a+290>>1]=c;p[a+288>>1]=c;break w}q[a+572>>2]=55;q[a+316>>2]=2;break w}Tc:{b=q[a+308>>2];if(!(s[a+288>>1]>1]?q[a+16>>2]>=(b|0):0)){if(!r[a+565|0]){break Tc}q[a+12>>2]=134;break Tc}if((b|0)<1){break Tc}while(1){c=c+ -1|0;q[a+28>>2]=c;c=s[(c<<2)+f>>1];Uc:{if(c>>>0>=s[a+80>>1]){if(r[a+565|0]){break j}break Uc}d=c;b=q[a+88>>2]+(c<<3)|0;c=q[a+52>>2]+(s[a+288>>1]<<3)|0;K=a,J=u,M=d,L=0-(n[q[a+576>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0)|0,I=q[a+588>>2],n[I](K|0,J|0,M|0,L|0);b=q[a+308>>2]}d=b+ -1|0;q[a+308>>2]=d;c=q[a+28>>2];if((b|0)<2){break Tc}f=q[a+24>>2];b=d;continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}Vc:{b=s[e>>1];if(b>>>0>1]){c=s[a+288>>1];if(c>>>0>1]){break Vc}}if(!r[a+565|0]){break w}break j}if(!s[a+350>>1]){c=q[a+48>>2]+(c<<3)|0;g=q[c+4>>2];d=b<<3;f=d+q[a+84>>2]|0;q[f>>2]=q[c>>2];q[f+4>>2]=g;n[q[a+592>>2]](a,u,b,q[e+4>>2]);c=d+q[a+88>>2]|0;d=d+q[a+84>>2]|0;f=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=f;c=s[a+288>>1]}d=q[a+88>>2]+(b<<3)|0;c=q[a+52>>2]+(c<<3)|0;c=n[q[a+576>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0;n[q[a+588>>2]](a,u,b,q[e+4>>2]-c|0);p[a+292>>1]=b;p[a+290>>1]=s[a+288>>1];if(!(o[a+372|0]&1)){break w}p[a+288>>1]=b;break w}c=q[a+308>>2];Wc:{if(q[a+16>>2]<(c|0)){if(!r[a+565|0]){break Wc}q[a+12>>2]=134;break Wc}e=1;e=!s[a+348>>1]|!s[a+350>>1]?e:!s[a+352>>1];b=s[a+290>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break Wc}q[a+12>>2]=134;break Wc}g=q[(e?48:56)+a>>2];d=b<<3;f=g+d|0;k=q[a+52>>2];h=k+d|0;i=0;d=0;l=s[a+292>>1];if(l>>>0>1]){Xc:{if(e){c=q[a+84>>2]+(l<<3)|0;d=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[(g+(b<<3)|0)+4>>2]|0)|0;break Xc}c=q[a+224>>2];if((c|0)==q[a+228>>2]){c=q[a+92>>2]+(l<<3)|0;d=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[(g+(b<<3)|0)+4>>2]|0)|0;break Xc}d=(L=a,M=Ma(q[q[a+92>>2]+(l<<3)>>2]-q[f>>2]|0,c),J=Ma(q[(q[a+92>>2]+(s[a+292>>1]<<3)|0)+4>>2]-q[(g+(b<<3)|0)+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](L|0,M|0,J|0)|0)}c=q[a+88>>2]+(s[a+292>>1]<<3)|0;i=n[q[a+576>>2]](a,q[c>>2]-q[h>>2]|0,q[c+4>>2]-q[(k+(b<<3)|0)+4>>2]|0)|0;c=q[a+308>>2]}if((c|0)<1){break Wc}b=b<<3;l=b+k|0;g=b+g|0;while(1){b=q[a+28>>2]+ -1|0;q[a+28>>2]=b;b=q[q[a+24>>2]+(b<<2)>>2];Yc:{if(b>>>0>=s[a+116>>1]){b=c;if(r[a+565|0]){break j}break Yc}Zc:{if(e){c=q[a+120>>2]+(b<<3)|0;c=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[g+4>>2]|0)|0;break Zc}c=q[a+224>>2];if((c|0)==q[a+228>>2]){c=q[a+128>>2]+(b<<3)|0;c=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[g+4>>2]|0)|0;break Zc}k=b<<3;c=(J=a,M=Ma(q[k+q[a+128>>2]>>2]-q[f>>2]|0,c),L=Ma(q[(k+q[a+128>>2]|0)+4>>2]-q[g+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](J|0,M|0,L|0)|0)}k=q[a+124>>2]+(b<<3)|0;k=n[q[a+576>>2]](a,q[k>>2]-q[h>>2]|0,q[k+4>>2]-q[l+4>>2]|0)|0;z=a;x=v;b=b&65535;if(!(!d|!c)){c=bb(c,i,d)}n[q[a+588>>2]](z,x,b,c-k|0);b=q[a+308>>2]}c=b+ -1|0;q[a+308>>2]=c;if((b|0)>1){continue}break}}q[a+308>>2]=1;q[a+32>>2]=q[a+28>>2];break w}h=1;h=!s[a+348>>1]|!s[a+350>>1]?h:!s[a+352>>1];_c:{b=q[a+308>>2];if(q[a+16>>2]<=(b|0)){if(!r[a+565|0]){break _c}q[a+12>>2]=134;break _c}if((b|0)<1){break _c}d=p[a+304>>1];g=d>>31;b=q[e>>2];e=b>>31;g=g^d+g;i=e^b+e;l=i>>>16|0;k=w(g,l);e=k<<16|8192;i=i&65535;g=e+w(i,g)|0;e=(k>>>16|0)+(g>>>0>>0)<<18|g>>>14;d=(b^d)>-1?e:0-e|0;e=p[a+302>>1];g=e>>31;k=l;l=g^e+g;k=w(k,l);g=k<<16|8192;i=g+w(i,l)|0;g=(k>>>16|0)+(i>>>0>>0)<<18|i>>>14;e=(b^e)>-1?g:0-g|0;while(1){b=c+ -1|0;q[a+28>>2]=b;b=s[(b<<2)+f>>1];$c:{if(b>>>0>=s[a+116>>1]){if(r[a+565|0]){break j}break $c}ad:{bd:{if(q[q[q[a>>2]+96>>2]+64>>2]==40){if(r[a+615|0]){cd:{if(h){break cd}if(r[a+617|0]?r[a+616|0]:0){break $c}if(s[a+304>>1]?r[a+564|0]:0){break cd}if(!(r[b+q[a+132>>2]|0]&16)){break $c}}if(s[a+302>>1]){c=b+q[a+132>>2]|0;o[c|0]=r[c|0]|8}if(!s[a+304>>1]){break $c}dd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break dd}}c=q[a+124>>2]+(b<<3)|0;q[c+4>>2]=d+q[c+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16;break $c}if(s[a+302>>1]){break bd}break ad}if(!s[a+302>>1]){break ad}}c=q[a+124>>2]+(b<<3)|0;q[c>>2]=e+q[c>>2];c=b+q[a+132>>2]|0;o[c|0]=r[c|0]|8}if(!s[a+304>>1]){break $c}ed:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break ed}}c=q[a+124>>2]+(b<<3)|0;q[c+4>>2]=d+q[c+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16}b=q[a+308>>2];q[a+308>>2]=b+ -1;c=q[a+28>>2];if((b|0)<2){break _c}f=q[a+24>>2];continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}if(t[e>>2]>=2){if(!r[a+565|0]){break w}q[a+12>>2]=134;break w}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}b=s[a+352>>1];if(b>>>0>1){break w}if(b-1){b=s[a+116>>1]}else{b=p[a+118>>1];if((b|0)<1){break w}b=s[(q[a+136>>2]+((b&65535)<<1)|0)+ -2>>1]+1|0}if(!(b&65535)){break w}c=q[j+12>>2];e=q[j+16>>2];fd:{f=q[j+40>>2];d=q[a+124>>2];if((f|0)!=(d|0)){f=b&65535;g=s[a+304>>1];if(s[a+302>>1]){break fd}b=0;while(1){gd:{if(!g){break gd}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break gd}}e=d+(b<<3)|0;q[e+4>>2]=c+q[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break w}d=b&65535;b=0;g=s[j+22>>1];while(1){hd:{if((b|0)==(g|0)){break hd}if(!(!s[a+302>>1]|(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;q[i>>2]=e+q[i>>2]}if(!s[a+304>>1]){break hd}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break hd}}i=f+(b<<3)|0;q[i+4>>2]=c+q[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break w}i=q[a>>2];l=q[q[i+96>>2]+64>>2];b=0;while(1){if(!(r[a+615|0]?(l|0)==40:0)){k=d+(b<<3)|0;q[k>>2]=e+q[k>>2]}id:{if(!g){break id}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[i+96>>2]+64>>2]!=40))){if(r[a+617|0]){break id}}k=d+(b<<3)|0;q[k+4>>2]=c+q[k+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break w}d=q[e>>2]<<16;c=d>>16;b=c;if(s[a+352>>1]){e=p[a+118>>1]}else{e=1}if(b>>>0>=e>>>0){if(!r[a+565|0]){break w}q[a+12>>2]=134;break w}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}b=(d?(s[(q[a+136>>2]+(c<<1)|0)+ -2>>1]-s[a+140>>1]|0)+1|0:0)&65535;d=b;if(s[a+352>>1]){c=(s[q[a+136>>2]+(c<<1)>>1]-s[a+140>>1]|0)+1|0}else{c=s[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break w}d=s[j+22>>1];e=q[j+12>>2];f=q[j+16>>2];g=q[j+40>>2];while(1){i=q[a+124>>2];jd:{if((i|0)==(g|0)?(b|0)==(d|0):0){break jd}if(s[a+302>>1]){if(!(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;q[i>>2]=f+q[i>>2]}i=q[a+132>>2]+b|0;o[i|0]=r[i|0]|8}if(!s[a+304>>1]){break jd}kd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break kd}}i=q[a+124>>2]+(b<<3)|0;q[i+4>>2]=e+q[i+4>>2]}i=q[a+132>>2]+b|0;o[i|0]=r[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break w}ld:{if(q[a+16>>2]>2]){if(!r[a+565|0]){break ld}q[a+12>>2]=134;break ld}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}if(q[a+308>>2]<1){break ld}c=q[j+12>>2];d=q[j+16>>2];while(1){b=q[a+28>>2]+ -1|0;q[a+28>>2]=b;b=s[q[a+24>>2]+(b<<2)>>1];md:{if(b>>>0>=s[a+116>>1]){if(!r[a+565|0]){break md}q[a+12>>2]=134;break w}if(s[a+302>>1]){if(!(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0)){e=q[a+124>>2]+(b<<3)|0;q[e>>2]=d+q[e>>2]}e=b+q[a+132>>2]|0;o[e|0]=r[e|0]|8}if(!s[a+304>>1]){break md}nd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break nd}}e=q[a+124>>2]+(b<<3)|0;q[e+4>>2]=c+q[e+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16}b=q[a+308>>2];q[a+308>>2]=b+ -1;if((b|0)>1){continue}break}}q[a+308>>2]=1;q[a+32>>2]=q[a+28>>2];break w}q[d+8>>2]=b}b=q[a+12>>2];if(!b){break v}if((b|0)!=128){break g}b=q[a+420>>2];od:{if(!b){break od}c=q[a+412>>2];if((c|0)<1){break od}c=w(c,24)+b|0;while(1){if(!(!r[b+16|0]|r[a+372|0]!=r[b+12|0])){c=q[a+432>>2];if((c|0)>=q[a+436>>2]){break j}c=q[a+440>>2]+(c<<4)|0;q[c>>2]=q[a+356>>2];d=q[a+364>>2];q[c+12>>2]=b;q[c+8>>2]=1;q[c+4>>2]=d+1;c=q[b>>2];d=c+ -1|0;if(d>>>0>=3){break k}d=(d<<3)+a|0;e=q[d+448>>2];if(!e){break p}d=q[d+452>>2];b=q[b+4>>2];if((d|0)<(b|0)){break q}q[a+368>>2]=d;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=c;break s}b=b+24|0;if(b>>>0>>0){continue}break}}b=128;break h}q[a+16>>2]=q[a+32>>2];if(!r[a+380|0]){break t}}q[a+364>>2]=q[a+364>>2]+q[a+376>>2]}G=G+1|0;if(G>>>0<=1e6){break s}b=139;break g}c=q[a+364>>2];if((c|0)>=q[a+368>>2]){if(q[a+432>>2]>=1){break q}b=0;break g}if(!r[a+492|0]){continue}break}b=0;break g}b=131;break h}b=138;break h}b=137;break h}b=140;break h}b=156;break h}b=139;break h}b=132;break h}b=134;break h}b=130}q[H+12>>2]=b}Da=j- -64|0;return b|0}function UT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(r[a+16|0]&16){break a}b=a;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}i=q[b+76>>2];b:{c:{d:{d=q[b+52>>2];if((d|0)<=1332902240){if((d|0)>1198879348){break d}if((d|0)>1147500128){break c}if((d|0)!=1113943655){if((d|0)!=1114792296){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}e:{f:{g=q[b+88>>2];c=q[g+w(a,20)>>2]+ -69637|0;if(c>>>0>10){break f}d=69688;g:{h:{switch(c-1|0){case 5:d=69694;break g;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 8:break f;case 9:break h;default:break g}}d=69698}c=q[g+w(e,20)>>2];i:{if(r[b+69|0]){f=b;j:{if((g|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break j}}if(!Va(b,1,1)){break i}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[e>>2];q[g+4>>2]=a;q[g+16>>2]=q[e+16>>2];a=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if((c|0)!=(d|0)){break e}k:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break k}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break k}l:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break l}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){m:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break m}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break e}if(r[b+69|0]){f=b;n:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break n}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}o:{p:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -2437|0;if(c>>>0>7){break p}d=2494;q:{r:{switch(c-1|0){case 5:d=2499;break q;case 0:case 1:case 2:case 3:case 4:break p;case 6:break r;default:break q}}d=2530}g=q[h+w(e,20)>>2];s:{if(r[b+69|0]){c=b;t:{if((h|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break t}}if(!Va(b,1,1)){break s}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[c+80>>2]=f+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break o}u:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break u}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break u}v:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break v}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){w:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break w}}if(!Va(b,1,1)){break o}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break o}if(r[b+69|0]){f=b;x:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break x}}if(!Va(b,1,1)){break o}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}if((d|0)<=1415671147){y:{a=d+ -1399418468|0;if(a>>>0>4){if((d|0)==1332902241){break y}if((d|0)!=1415670642){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}z:{A:{B:{e=q[b+88>>2];c=q[e+w(a,20)>>2]+ -71296|0;if(c>>>0>6){break B}C:{D:{E:{F:{switch(c-1|0){default:d=q[e+w(d,20)>>2]+ -71341|0;if(d>>>0>8|!(1<>2];G:{if(r[b+69|0]){f=b;H:{if((e|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break H}}if(!Va(b,1,1)){break G}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if((c|0)==71346){break C}break z}f=b;I:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break I}}if(!Va(b,1,1)){break C}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}J:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break J}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break J}K:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break K}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){L:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break L}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break z}if(r[b+69|0]){f=b;M:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break M}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break z}if(r[b+69|0]){f=b;N:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break N}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}O:{switch(a-1|0){default:q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}P:{Q:{R:{S:{T:{c=q[b+88>>2];if(q[c+w(a,20)>>2]==70320){d=q[c+w(d,20)>>2];if((d|0)!=70368?d+ -70373>>>0>=4:0){break Q}if(r[b+69|0]){break T}break S}if(r[b+69|0]){f=b;U:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break U}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break P}f=b;V:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break V}}if(!Va(b,1,1)){break R}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}W:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}X:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break X}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Y:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Y}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break P}if(r[b+69|0]){f=b;Z:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Z}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b;case 0:case 1:case 2:break a;case 3:break O}}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}_:{$:{aa:{e=q[b+88>>2];c=q[e+w(a,20)>>2]+ -3461|0;if(c>>>0>15){break aa}ba:{ca:{da:{ea:{fa:{switch(c-1|0){case 5:case 9:case 14:c=q[e+w(d,20)>>2]==3551;break ea;case 7:c=q[e+w(d,20)>>2]==3544;break ea;case 11:d=q[e+w(d,20)>>2]+ -3530|0;if(d>>>0>19|!(1<>2]+ -3535>>>0<3}ga:{if(r[b+69|0]){f=b;ha:{if((e|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break ha}}if(!Va(b,1,1)){break ga}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if(c){break ba}break _}f=b;ia:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ia}}if(!Va(b,1,1)){break ba}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}ja:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ja}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ja}ka:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break ka}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){la:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break la}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break _}if(r[b+69|0]){f=b;ma:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ma}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break _}if(r[b+69|0]){f=b;na:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break na}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}oa:{pa:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -2821|0;if(c>>>0>14){break pa}d=2878;qa:{switch(c-1|0){case 9:case 13:d=2903;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:break pa;default:break qa}}g=q[h+w(e,20)>>2];ra:{if(r[b+69|0]){c=b;sa:{if((h|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break sa}}if(!Va(b,1,1)){break ra}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[c+80>>2]=f+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break oa}ta:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ta}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ta}ua:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break ua}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){va:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break va}}if(!Va(b,1,1)){break oa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break oa}if(r[b+69|0]){f=b;wa:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break wa}}if(!Va(b,1,1)){break oa}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}if((d|0)!=1415671148){if((d|0)!=1415933045){if((d|0)!=1416196712){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}xa:{ya:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -70785|0;za:{if(c>>>0>12){if((e|0)!=70826){break ya}c=q[g+w(d,20)>>2]+ -70837>>>0<2;break za}Aa:{switch(c-1|0){default:c=q[g+w(d,20)>>2]==70832;break za;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:break ya;case 9:case 11:break Aa}}c=q[g+w(d,20)>>2]==70842}Ba:{if(r[b+69|0]){f=b;Ca:{if((g|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break Ca}}if(!Va(b,1,1)){break Ba}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if(!c){break xa}Da:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Da}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Da}Ea:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Ea}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Fa:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Fa}}if(!Va(b,1,1)){break xa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break xa}if(r[b+69|0]){f=b;Ga:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ga}}if(!Va(b,1,1)){break xa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Ha:{Ia:{Ja:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -3135|0;Ka:{if(!(c>>>0>11|!(1<>2];La:{if(r[b+69|0]){f=b;Ma:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ma}}if(!Va(b,1,1)){break La}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)==3157){break Ka}break Ha}if((e|0)!=3090){break Ja}d=q[g+w(d,20)>>2]+ -3148|0;if(d>>>0>9){break Ia}Na:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ia;default:break Na}}if(r[b+69|0]){f=b;Oa:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Oa}}if(!Va(b,1,1)){break Ka}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Pa:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Pa}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Pa}Qa:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Qa}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ra:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ra}}if(!Va(b,1,1)){break Ha}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Ha}if(r[b+69|0]){f=b;Sa:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Sa}}if(!Va(b,1,1)){break Ha}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Ha}if(r[b+69|0]){f=b;Ta:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ta}}if(!Va(b,1,1)){break Ha}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}c=q[b+88>>2];if(!(q[c+w(a,20)>>2]!=2949|q[c+w(d,20)>>2]!=3010)){Ua:{if(r[b+69|0]){f=b;Va:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Va}}if(!Va(b,1,1)){break Ua}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Wa:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Wa}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Wa}Xa:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Xa}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407}Ya:{if(r[b+69|0]){Za:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Za}}if(!Va(b,1,1)){a=q[b+72>>2];break Ya}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}a=q[b+72>>2]+1|0;q[b+72>>2]=a}d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)<=1298954604){if((d|0)!=1198879349){if((d|0)!=1265525857){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}_a:{$a:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -3209|0;if(c>>>0>9){break $a}d=3262;ab:{switch(c-1|0){case 8:d=3276;break;case 0:case 2:case 3:case 4:case 5:case 6:case 7:break $a;default:break ab}}g=q[h+w(e,20)>>2];bb:{if(r[b+69|0]){c=b;cb:{if((h|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break cb}}if(!Va(b,1,1)){break bb}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[c+80>>2]=f+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break _a}db:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break db}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break db}eb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break eb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){fb:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break fb}}if(!Va(b,1,1)){break _a}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break _a}if(r[b+69|0]){f=b;gb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break gb}}if(!Va(b,1,1)){break _a}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}hb:{ib:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -2674|0;jb:{if(c>>>0>1){kb:{if((e|0)==2565){d=q[g+w(d,20)>>2]+ -2622|0;if(d>>>0>14|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break lb}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break jb}if(r[b+69|0]){f=b;mb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break mb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}if(r[b+69|0]){f=b;nb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break nb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}if(!(c-1)){d=q[g+w(d,20)>>2]+ -2625|0;if(!(d>>>0>10|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break ob}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break jb}if(r[b+69|0]){f=b;pb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break pb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}d=q[g+w(d,20)>>2]+ -2623|0;if(d>>>0>8|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break qb}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}rb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break rb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break rb}sb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break sb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){tb:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break tb}}if(!Va(b,1,1)){break hb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break hb}if(r[b+69|0]){f=b;ub:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ub}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)!=1298954605){if((d|0)!=1299145833){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}e=q[b+88>>2];vb:{if((q[e+w(a,20)>>2]&-2)==71168){c=q[e+w(d,20)>>2]+ -71225|0;wb:{if(r[b+69|0]){f=b;xb:{if((e|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break xb}}if(!Va(b,1,1)){break wb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if(c>>>0>1){break vb}yb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break yb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break yb}zb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break zb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ab:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ab}}if(!Va(b,1,1)){break vb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break vb}if(r[b+69|0]){f=b;Bb:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Bb}}if(!Va(b,1,1)){break vb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Cb:{Db:{Eb:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -3335|0;if(c>>>0>11){break Eb}e=3415;Fb:{Gb:{Hb:{Ib:{switch(c-1|0){case 10:d=q[h+w(d,20)>>2];if((d|0)!=3415?(d|0)!=3390:0){break Db}if(r[b+69|0]){break Hb}break Gb;case 6:e=3398;break;case 0:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Eb;default:break Ib}}g=q[h+w(d,20)>>2];Jb:{if(r[b+69|0]){f=b;Kb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Kb}}if(!Va(b,1,1)){break Jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[c>>2];q[h+4>>2]=a;q[h+16>>2]=q[c+16>>2];a=q[c+12>>2];q[h+8>>2]=q[c+8>>2];q[h+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)==(g|0)){break Fb}break Cb}f=b;Lb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Lb}}if(!Va(b,1,1)){break Fb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Mb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Mb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Mb}Nb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Nb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ob:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ob}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Cb}if(r[b+69|0]){f=b;Pb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Pb}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Cb}if(r[b+69|0]){f=b;Qb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Qb}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)!=1147500129){if((d|0)!=1198877298){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Rb:{Sb:{Tb:{g=q[b+88>>2];c=q[g+w(a,20)>>2];Ub:{if((c|0)!=2757){if((c|0)!=2693){break Tb}d=q[g+w(d,20)>>2]+ -2750|0;if(d>>>0>14|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break Vb}}if(!Va(b,1,1)){break Ub}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Ub}e=q[g+w(d,20)>>2];Wb:{if(r[b+69|0]){f=b;Xb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Xb}}if(!Va(b,1,1)){break Wb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)!=2750){break Rb}}Yb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Yb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Yb}Zb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Zb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){_b:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break _b}}if(!Va(b,1,1)){break Rb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Rb}if(r[b+69|0]){f=b;$b:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break $b}}if(!Va(b,1,1)){break Rb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Rb}if(r[b+69|0]){f=b;ac:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ac}}if(!Va(b,1,1)){break Rb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}bc:{cc:{dc:{ec:{fc:{gc:{g=q[b+88>>2];c=q[g+w(a,20)>>2]+ -2309|0;if(c>>>0>43){break gc}hc:{ic:{jc:{switch(c-1|0){default:d=q[g+w(d,20)>>2]+ -2362|0;if(d>>>0>29|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break kc}}if(!Va(b,1,1)){break hc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hc;case 0:d=q[g+w(d,20)>>2];if((d|0)!=2362?d+ -2373>>>0>=4:0){break dc}if(r[b+69|0]){f=b;lc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break lc}}if(!Va(b,1,1)){break hc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hc;case 9:c=q[g+w(d,20)>>2]+ -2373>>>0<3;break ic;case 42:if(q[g+w(d,20)>>2]!=2381){break ec}d=a+2|0;if(d>>>0>=i>>>0){break fc}e=q[g+w(d,20)>>2];mc:{if(r[b+69|0]){f=b;nc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break nc}}if(!Va(b,1,1)){break mc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)!=2311){break bc}oc:{if(r[b+69|0]){pc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break pc}}if(!Va(b,1,1)){break oc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}qc:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break qc}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break qc}rc:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break rc}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){sc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break sc}}if(!Va(b,1,1)){break bc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break bc;case 1:case 2:case 4:case 5:case 6:case 7:case 8: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:case 36:case 37:case 38:case 39:case 40:case 41:break gc;case 3:break jc}}c=q[g+w(d,20)>>2]==2369}tc:{if(r[b+69|0]){f=b;uc:{if((g|0)==q[b+92>>2]){e=a;if(q[b+80>>2]==(a|0)){break uc}}if(!Va(b,1,1)){break tc}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[e>>2];q[g+4>>2]=a;q[g+16>>2]=q[e+16>>2];a=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=a;a=q[b+72>>2];e=q[b+80>>2]}q[f+80>>2]=e+1}q[b+72>>2]=a+1}if(!c){break bc}}vc:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break vc}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break vc}wc:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break wc}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){xc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break xc}}if(!Va(b,1,1)){break bc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break bc}if(r[b+69|0]){f=b;yc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break yc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;zc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break zc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Ac:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ac}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Bc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Bc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Cc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Cc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}}Dc:{if(a>>>0>=i>>>0){break Dc}if(r[b+69|0]){f=b;Ec:{if(q[b+92>>2]==q[b+88>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ec}}if(!Va(b,1,1)){break Dc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Kc(b)}}function iO(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=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;m=Da-224|0;Da=m;a:{if(q[b+24>>2]>=q[q[a+160>>2]>>2]){hb(q[a>>2],2,355779,0);break a}if(!q[b+48>>2]){hb(q[a>>2],2,355794,0);break a}Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+208>>2]=b;q[a+288>>2]=0;q[a+216>>2]=0;q[a+692>>2]=0;e=q[a+160>>2];q[a+520>>2]=q[e+56>>2];q[a+400>>2]=0;q[a+404>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+304>>2]=0;q[a+308>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=0;q[a+324>>2]=0;o[a+328|0]=0;q[a+408>>2]=q[e+36>>2];q[a+412>>2]=q[e+40>>2];q[a+420>>2]=0;q[a+456>>2]=0;q[a+492>>2]=0;q[a+484>>2]=0;q[a+488>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;p[a+416>>1]=256;_N(a,b);e=a;if(q[a+288>>2]){d=1}else{d=(XN(q[b+48>>2])|0)!=0}q[e+536>>2]=d;ul(a,0);e=q[a+212>>2];q[a+236>>2]=q[e+104>>2];q[a+240>>2]=q[e+136>>2];j=q[b+48>>2];q[m+64>>2]=j;la=a+688|0;while(1){b:{e=r[j|0];d=(e|0)==123;c:{if(!d){if(!e){break b}break c}e=Pb(j,125);if(!e){break c}e=Ir(a,j,e,1,0);q[m+64>>2]=e;if(r[e|0]==125){j=e+1|0;q[m+64>>2]=j;continue}I(355865,355697,1866,355875);F()}d:{if(q[a+456>>2]){d=d?j+1|0:j;while(1){e=r[d|0];if(!(!e|(e|0)==123)){d=d+1|0;continue}break}e=Fg(j,d-j|0);q[m+64>>2]=d;l=65532;break d}e=0;l=YN(a,m- -64|0);if(!l){break b}}if(!q[a+220>>2]){Cb(0);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;La(e);break a}d=q[a+692>>2];j=q[a+720>>2];e:{if((d|0)<(j|0)){j=q[la>>2];break e}q[a+720>>2]=j<<1;j=db(q[a+688>>2],w(j,672));q[a+688>>2]=j;d=q[a+692>>2]}d=Na(w(d,336)+j|0,0,336);f:{if(e){q[d+32>>2]=e;q[d+36>>2]=q[a+456>>2];j=d;h=v[a+464>>3];g:{if(y(h)<2147483648){s=~~h;break g}s=-2147483648}q[j+40>>2]=s;q[d>>2]=l;q[d+8>>2]=q[a+220>>2];break f}q[d>>2]=l;j=q[a+220>>2];q[d+8>>2]=j;ke(j)}s=q[a+384>>2];q[m+176>>2]=s;j=d;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+116>>2]=s;s=q[a+388>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>0){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+120>>2]=s;s=q[a+392>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+124>>2]=s;s=q[a+396>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+128>>2]=s;q[d+152>>2]=q[a+484>>2];q[d+156>>2]=q[a+488>>2];q[d+160>>2]=q[a+492>>2];k=v[a+176>>3];u=v[a+224>>3]*k;v[d+24>>3]=u;q[d+172>>2]=o[a+424|0];j=q[a+436>>2];q[d+176>>2]=q[a+432>>2];q[d+180>>2]=j;j=q[a+444>>2];q[d+184>>2]=q[a+440>>2];q[d+188>>2]=j;j=q[a+452>>2];q[d+192>>2]=q[a+448>>2];q[d+196>>2]=j;K=q[a+340>>2];G=q[a+336>>2];q[d+240>>2]=G;q[d+244>>2]=K;j=q[a+348>>2];t=j;x=q[a+344>>2];q[d+248>>2]=x;q[d+252>>2]=j;q[d+264>>2]=q[a+360>>2];j=q[a+372>>2];q[d+272>>2]=q[a+368>>2];q[d+276>>2]=j;j=q[a+380>>2];q[d+280>>2]=q[a+376>>2];q[d+284>>2]=j;J=q[a+356>>2];s=q[a+352>>2];q[d+288>>2]=s;q[d+292>>2]=J;q[d+304>>2]=q[a+508>>2];q[d+300>>2]=q[a+512>>2];j=q[a+232>>2];q[d+308>>2]=j;f(0,G|0);f(1,K|0);H=+g();f(0,s|0);f(1,J|0);h=+g();if(!(!q[q[d+8>>2]+12>>2]|l>>>0<753)){q[d+308>>2]=j|4}j=q[a+252>>2];q[d+200>>2]=q[a+248>>2];q[d+204>>2]=j;j=q[a+260>>2];q[d+208>>2]=q[a+256>>2];q[d+212>>2]=j;j=q[a+268>>2];q[d+216>>2]=q[a+264>>2];q[d+220>>2]=j;j=q[a+276>>2];q[d+224>>2]=q[a+272>>2];q[d+228>>2]=j;s=q[a+280>>2];l=q[a+284>>2];j=d;h=k*h*H*64;h:{if(y(h)<2147483648){J=~~h;break h}J=-2147483648}q[j+296>>2]=J;q[d+232>>2]=s;q[d+236>>2]=l;q[d+256>>2]=0;q[d+260>>2]=1072693248;if(!e){f(0,x|0);f(1,t|0);k=+g();h=q[a+88>>2]?u*k:256;u=u/h;v[d+256>>3]=1/u;v[d+240>>3]=u*H;v[d+248>>3]=u*k;v[d+24>>3]=h}q[a+492>>2]=0;q[a+484>>2]=0;q[a+488>>2]=0;q[a+692>>2]=q[a+692>>2]+1;j=q[m+64>>2];continue}break}if(!q[a+692>>2]){Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;break a}q[q[a+116>>2]+28>>2]=q[a+524>>2]==-1?64:272;HN(a,q[a+688>>2],q[a+692>>2]);if((GN(q[a+116>>2],la)|0)<=-1){hb(q[a>>2],1,355806,0);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;break a}i:{if(q[a+692>>2]<1){break i}x=q[a+688>>2];l=0;while(1){if(x){d=x+w(l,336)|0;while(1){s=d;j:{k:{l:{e=q[d+32>>2];if(e){q[m+72>>2]=e;q[m+64>>2]=1;e=ed(q[a+740>>2],m- -64|0,a);if(r[e|0]?e:0){break l}Cb(e);break j}q[m+64>>2]=0;q[m+72>>2]=q[d+8>>2];e=q[d+28>>2];q[m+80>>2]=q[d+24>>2];q[m+84>>2]=e;q[m+88>>2]=q[d+12>>2];q[m+92>>2]=q[d+16>>2];q[m+96>>2]=q[d+304>>2];q[m+100>>2]=q[d+300>>2];q[m+104>>2]=q[d+308>>2];e=ed(q[a+740>>2],m- -64|0,a);if(!(!e|!r[e|0])){j=q[e+76>>2];C=q[e+72>>2];h=v[d+248>>3];D=0;k=v[d+240>>3];break k}Cb(e);break j}k=v[a+176>>3]/+(1<>2]+ -1);h=v[d+248>>3]*k;j=q[d+40>>2]<<6;C=q[e+72>>2]-j|0;D=h*+(0-C|0);k=v[d+240>>3]*k}v[s+48>>3]=k;q[d+44>>2]=e;v[d+72>>3]=D;s=d- -64|0;q[s>>2]=0;q[s+4>>2]=0;v[d+56>>3]=h;ua=d,va=gc(k*+q[e+52>>2]+0),q[ua+80>>2]=va;ua=d,va=gc(D+h*+q[e+56>>2]),q[ua+84>>2]=va;ua=d,va=gc(k*+q[e+60>>2]+0),q[ua+88>>2]=va;ua=d,va=gc(D+h*+q[e+64>>2]),q[ua+92>>2]=va;if(!(q[a+92>>2]?!q[d+32>>2]:0)){e=q[e+68>>2];q[d+144>>2]=0;q[d+136>>2]=0;e=gc(k*+(e|0));q[d+140>>2]=e;q[d+132>>2]=e}ua=d,va=gc(h*+(j|0)),q[ua+168>>2]=va;ua=d,va=gc(h*+(C|0)),q[ua+164>>2]=va}d=q[d+332>>2];if(d){continue}break}}m:{if(!l){break m}d=l+ -1|0;if(q[(x+w(l,336)|0)+300>>2]|!q[(x+w(d,336)|0)+300>>2]){break m}j=0;n:{if(!d){break n}while(1){e=x+w(d,336)|0;if(q[e+88>>2]!=q[e+80>>2]){j=d;break n}if(!q[e+300>>2]){j=d;break n}d=d+ -1|0;if(d){continue}break}}d=x+w(j,336)|0;e=q[d+88>>2];if((e|0)<=q[d+140>>2]){break m}q[d+140>>2]=e}d=x+w(l,336)|0;j=q[d+140>>2]+q[d+296>>2]|0;q[d+140>>2]=j;e=d;h=v[d+232>>3]/v[d+240>>3]*v[d+248>>3]*+(j|0)+ +q[d+144>>2];o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}q[e+144>>2]=d;l=l+1|0;t=q[a+692>>2];if((l|0)<(t|0)){continue}break}if((t|0)<1){break i}x=q[a+688>>2];if(!x){break i}l=0;while(1){s=w(l,336);d=s+x|0;e=i;j=A;while(1){q[d+96>>2]=e;q[d+100>>2]=j;e=q[d+132>>2]+e|0;j=q[d+136>>2]+j|0;d=q[d+332>>2];if(d){continue}break}e=s+x|0;i=q[e+140>>2]+i|0;A=q[e+144>>2]+A|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}ZN(a);J=q[a+236>>2];d=q[b+32>>2];if(!d){d=q[q[a+212>>2]+108>>2]}e=q[b+36>>2];if(!e){e=q[q[a+212>>2]+112>>2]}O=q[b+40>>2];if(!O){O=q[q[a+212>>2]+116>>2]}i=q[q[a+160>>2]+36>>2];h=+(i-e|0);p:{if(q[a+536>>2]){u=+q[a+148>>2];H=h*u;h=v[a+184>>3];k=+(i|0);D=+q[a- -64>>2];M=H/h/k+D;E=+(d|0);u=E*u;break p}u=+q[a+156>>2];H=h*u;h=v[a+184>>3];k=+(i|0);e=q[a- -64>>2];D=+(((e|0)>0?e:0)|0);M=H/h/k+D;E=+(d|0);u=E*u}z=M-(u/h/k+D);q:{r:{s:{t:{u:{if(q[a+288>>2]!=2){q[a+700>>2]=1;A=q[a+692>>2];if((A|0)<1){break u}i=-1;d=0;e=q[a+688>>2];l=e;while(1){j=w(d,336)+e|0;e=q[j>>2];v:{if((e|0)==32){i=d;break v}w:{x:{if((e|0)==10){e=q[a>>2];q[m+16>>2]=d;hb(e,7,355888,m+16|0);s=2;e=d;break x}if(+(q[j+96>>2]+q[j+88>>2]|0)*.015625- +(q[l+96>>2]+q[l+80>>2]|0)*.015625>=z^1|q[a+520>>2]==2){break v}if((i|0)>=0){e=q[a>>2];q[m>>2]=i;hb(e,7,355912,m);s=1;e=i;break x}s=1;e=i;if((e|0)==-1){break w}}j=q[a+724>>2];if(q[a+700>>2]>=(j|0)){q[a+724>>2]=j<<1;ua=a,va=db(q[a+696>>2],w(j,48)),q[ua+696>>2]=va}e=e+1|0;A=q[a+692>>2];if((e|0)>=(A|0)){break v}l=q[a+688>>2]+w(e,336)|0;o[l+112|0]=s;q[a+700>>2]=q[a+700>>2]+1}i=-1}d=d+1|0;if((d|0)>=(A|0)){break u}e=q[a+688>>2];continue}}e=q[a+696>>2];q[e+16>>2]=0;q[e+20>>2]=q[a+692>>2];q[a+700>>2]=1;Nr(a);break t}y:{if(q[a+520>>2]==1){break y}C=0;if((A|0)<0){break y}s=1;e=0;t=q[a+688>>2];l=t;while(1){z:{G=(A|0)==(C|0);d=w(C,336);if(!(r[(d+t|0)+112|0]?0:!G)){i=d+t|0;A:{if(!e){x=s;break A}d=l;if(r[d+112|0]!=1){x=s;break A}B:{while(1){d=d+ -336|0;if(d>>>0<=e>>>0){break B}if(q[d>>2]==32){continue}break}while(1){d=d+ -336|0;if(d>>>0<=e>>>0){break B}if(q[d>>2]!=32){continue}break}}j=d;C:{if(d>>>0<=e>>>0){break C}while(1){if(q[j>>2]!=32){break C}j=j+ -336|0;if(j>>>0>e>>>0){continue}break}}x=s;s=q[i+ -240>>2]+q[i+ -248>>2]|0;d=q[d>>2]==32?d+336|0:d;k=+((s-q[d+80>>2]|0)-q[d+96>>2]|0)*.015625;e=q[e+96>>2]+q[e+80>>2]|0;h=+(q[j+96>>2]+(q[j+88>>2]-e|0)|0)*.015625;u=h>2]|0)-q[l+96>>2]|0)*.015625;h=+((q[l+ -240>>2]+q[l+ -248>>2]|0)-e|0)*.015625;if(!(u<(h>2]=q[a+700>>2]+ -1}if(!e){o[d+112|0]=1}x=0;o[l+112|0]=0}if(G){break z}e=l;s=x;l=i}C=C+1|0;continue}s=1;C=0;e=0;l=t;if(!x){continue}break}}if(q[a+700>>2]<=0){break s}Nr(a);j=q[a+688>>2];s=q[a+692>>2];e=s+ -1|0;D:{if(e){while(1){i=j+w(e,336)|0;d=q[i>>2];if(!(((d|0)!=10?(d|0)!=32:0)|r[i+112|0])){q[i+4>>2]=q[i+4>>2]+1;e=e+ -1|0;if(e){continue}}break}A=1;if((s|0)<1){break D}}e=0;d=j;while(1){i=q[d>>2];if(!(r[d+112|0]|((i|0)!=10?(i|0)!=32:0))){q[d+4>>2]=q[d+4>>2]+1;e=e+1|0;d=j+w(e,336)|0;if((e|0)!=(s|0)){continue}}break}A=0;while(1){l=j+w(A,336)|0;E:{if(!r[l+112|0]){break E}e=A+ -1|0;F:{if(!e){break F}while(1){i=j+w(e,336)|0;d=q[i>>2];if(((d|0)!=10?(d|0)!=32:0)|r[i+112|0]){break F}q[i+4>>2]=q[i+4>>2]+1;e=e+ -1|0;if(e){continue}break}}e=q[l>>2];if((e|0)!=10?(e|0)!=32:0){break E}q[l+4>>2]=q[l+4>>2]+1;e=A+1|0;G:{if((e|0)>=(s|0)){break G}while(1){i=j+w(e,336)|0;d=q[i>>2];if(((d|0)!=10?(d|0)!=32:0)|r[i+112|0]){break G}q[i+4>>2]=q[i+4>>2]+1;e=e+1|0;if((s|0)!=(e|0)){continue}break}e=s}A=e+ -1|0}A=A+1|0;if((A|0)<(s|0)){continue}break}A=1;if((s|0)<1){break D}i=j+w(s,336)|0;d=0;e=j;H:{while(1){if(!q[e+4>>2]){break H}d=d+1|0;e=j+w(d,336)|0;if((d|0)!=(s|0)){continue}break}e=i}k=+(0-q[e+96>>2]|0)*.015625;h=0;d=0;while(1){l=w(d,336);e=l+j|0;I:{if(!r[e+112|0]){l=q[(j+l|0)+96>>2];break I}J:{if((d|0)>=(s|0)){break J}while(1){if(!q[e+4>>2]|q[e>>2]==10){break J}d=d+1|0;e=j+w(d,336)|0;if((d|0)!=(s|0)){continue}break}e=i;d=s}l=q[a+696>>2]+w(A,24)|0;q[l+ -4>>2]=d-q[l+ -8>>2];q[l+16>>2]=d;h=h+(v[l+ -16>>3]+v[l>>3]+v[a+40>>3]);A=A+1|0;l=q[e+96>>2];k=+(0-l|0)*.015625}x=e;u=k*64;K:{if(y(u)<2147483648){t=~~u;break K}t=-2147483648}q[x+96>>2]=t+l;l=e;u=h*64;L:{if(y(u)<2147483648){x=~~u;break L}x=-2147483648}q[l+100>>2]=x+q[e+100>>2];d=d+1|0;if((d|0)<(s|0)){continue}break}}e=q[a+696>>2]+w(A,24)|0;q[e+ -4>>2]=s-q[e+ -8>>2]}t=vN(q[a+116>>2],la);if(!t){break r}A=q[a+692>>2];if((A|0)<1){break q}K=q[a+688>>2];h=0;C=0;k=0;x=1;i=0;s=0;while(1){l=t+(C<<2)|0;G=w(q[l>>2],336);M:{if(r[(K+w(C,336)|0)+112|0]){j=G+K|0;h=+(i|0)-(+(s|0)-k)*(h/v[j+240>>3]*v[j+248>>3]);N:{if(y(h)<2147483648){e=~~h;break N}e=-2147483648}d=q[a+696>>2]+w(x,24)|0;h=v[d+ -16>>3]*64;O:{if(y(h)<2147483648){i=~~h;break O}i=-2147483648}e=e+i|0;h=v[d>>3]*64;P:{if(y(h)<2147483648){i=~~h;break P}i=-2147483648}e=i+e|0;h=v[a+40>>3]*64;Q:{if(y(h)<2147483648){i=~~h;break Q}i=-2147483648}i=i+e|0;x=x+1|0;k=0;s=0;u=v[j+232>>3];break M}e=G+K|0;u=v[e+232>>3];if(h==u){break M}H=+(s|0);h=+(i|0)-(H-k)*(h/v[e+240>>3]*v[e+248>>3]);R:{if(y(h)<2147483648){i=~~h;break R}i=-2147483648}k=H}h=u;if(!q[(G+K|0)+4>>2]){d=G+K|0;e=s;j=i;while(1){q[d+96>>2]=q[d+104>>2]+e;q[d+100>>2]=q[d+108>>2]+j;e=q[d+132>>2]+e|0;j=q[d+136>>2]+j|0;d=q[d+332>>2];if(d){continue}break}e=K+w(q[l>>2],336)|0;s=q[e+140>>2]+s|0;i=q[e+144>>2]+i|0}C=C+1|0;if((C|0)!=(A|0)){continue}break}break q}I(355929,355697,1701,355953);F()}d=0;hb(q[a>>2],1,356018,0);Er(la);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}A=0;q[a+692>>2]=0}K=q[a+688>>2];S:{T:{s=q[a+288>>2];U:{if((s|0)==2){break U}d=0;M=0;A=q[a+692>>2];if((A|0)<0){break T}x=q[a+236>>2]&3;G=q[a+240>>2];h=0;while(1){i=(d|0)==(A|0);if(!(r[(K+w(d,336)|0)+112|0]?0:!i)){M=M>h?M:h;h=0}V:{if((d|0)>=(A|0)){break V}j=K+w(d,336)|0;if(q[j+4>>2]){break V}W:{e=q[j>>2];if(e>>>0>10){break W}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break W;default:break V}}h=h+ +q[j+140>>2]*.015625}d=d+1|0;if(!i){continue}break}d=-1;l=0;if((x|0)==1){t=G+ -2|0;x=t>>>0>1;while(1){i=(l|0)==(A|0);if(!(r[(K+w(l,336)|0)+112|0]?0:!i)){u=0;X:{if(x){break X}u=(M-h)*.5;if(t-1){break X}u=M-h}h=u;j=d+1|0;Y:{if((j|0)>=(l|0)){break Y}h=h*64;Z:{if(y(h)<2147483648){e=~~h;break Z}e=-2147483648}if(!K){break Y}while(1){d=K+w(j,336)|0;while(1){q[d+96>>2]=e+q[d+96>>2];d=q[d+332>>2];if(d){continue}break}j=j+1|0;if((l|0)!=(j|0)){continue}break}}h=0;d=l+ -1|0}_:{if((l|0)>=(A|0)){break _}j=K+w(l,336)|0;if(q[j+4>>2]){break _}$:{e=q[j>>2];if(e>>>0>10){break $}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break $;default:break _}}h=h+ +q[j+140>>2]*.015625}l=l+1|0;if(!i){continue}break}break U}H=z-M;u=H*.5;S=M+u;t=x+ -2|0;x=t>>>0>1;while(1){i=l;if(!(r[(K+w(i,336)|0)+112|0]?0:(i|0)!=(A|0))){aa:{if(x){k=0;break aa}if(!(t-1)){e=G+ -1|0;if(e>>>0<=1){k=H;if(e-1){break aa}k=H+(M-h)*.5;break aa}k=z-h;break aa}ba:{e=G+ -1|0;if(e>>>0>2){break ba}k=u;ca:{switch(e-1|0){case 0:break ba;case 1:break ca;default:break aa}}k=S-h;break aa}k=(z-h)*.5}j=d+1|0;da:{if((j|0)>=(i|0)){break da}h=k*64;ea:{if(y(h)<2147483648){e=~~h;if(K){break ea}break da}e=-2147483648;if(!K){break da}}while(1){d=K+w(j,336)|0;while(1){q[d+96>>2]=q[d+96>>2]+e;d=q[d+332>>2];if(d){continue}break}j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=i+ -1|0;h=0}fa:{if((i|0)>=(A|0)){break fa}j=K+w(i,336)|0;if(q[j+4>>2]){break fa}ga:{e=q[j>>2];if(e>>>0>10){break ga}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break ga;default:break fa}}h=h+ +q[j+140>>2]*.015625}l=i+1|0;if((i|0)!=(A|0)){continue}break}}if((A|0)<1){M=0;break T}z=v[a+712>>3];u=v[q[a+696>>2]>>3];k=+q[K+100>>2];d=0;S=-32e3;M=32e3;while(1){e=K+w(d,336)|0;if(!q[e+4>>2]){H=+q[e+96>>2]*.015625;h=H+ +q[e+140>>2]*.015625;S=S>h?S:h;M=M>H?H:M}d=d+1|0;if((A|0)!=(d|0)){continue}break}H=k*.015625-u;u=H+z;break S}H=0;S=0;u=0}P=J&12;ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{d=s>>>0>3;pa:{if(d){break pa}qa:{ra:{switch(s-1|0){default:if(!q[a+536>>2]){break qa}X=E*+q[a+148>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2]+ +q[a- -64>>2];break pa;case 0:break pa;case 1:break ra}}e=q[a+496>>2];if(e>>>0>1){break na}if(!(e-1)){e=q[q[a+160>>2]+36>>2];h=+(e-q[a+500>>2]|0);if(!q[a+536>>2]){break oa}X=h*+q[a+148>>2]/v[a+184>>3]/+(e|0)+ +q[a- -64>>2];break na}h=+q[a+500>>2];sa:{if(q[a+536>>2]){h=h*+q[a+148>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2];e=q[a- -64>>2];break sa}h=h*+q[a+156>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2];e=q[a- -64>>2];e=(e|0)>0?e:0}X=h+ +(e|0)-(S-M);break na}e=q[a- -64>>2];X=E*+q[a+156>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2]+ +(((e|0)>0?e:0)|0)}if(d){break ja}switch(s-1|0){case 0:break ja;case 2:break ma;default:break na}}h=h*+q[a+156>>2]/v[a+184>>3]/+(e|0);e=q[a- -64>>2];X=h+ +(((e|0)>0?e:0)|0)}ta:{e=P+ -4|0;if(e>>>0>4){break ta}ua:{switch(e-1|0){default:h=+(O|0);k=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2]+ +q[a+56>>2];va:{if(q[a+536>>2]){break va}h=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2];k=h;if(q[a+72>>2]){break va}e=q[a+56>>2];k=h+ +(((e|0)>0?e:0)|0)}V=k+v[q[a+696>>2]>>3];break ja;case 0:case 1:case 2:break ta;case 3:break ua}}k=+q[q[a+160>>2]+40>>2];h=k*.5;wa:{if(q[a+536>>2]){d=a+144|0;e=q[a+56>>2];break wa}d=a+152|0;e=q[a+56>>2];e=(e|0)>0?e:0}V=h*+q[d>>2]/k+ +(e|0)+(H+u)*-.5;break ja}k=0;d=q[a+536>>2];if(!d){k=v[a+48>>3]}if(P){hb(q[a>>2],6,355827,0);d=q[a+536>>2]}e=q[q[a+160>>2]+40>>2];L=+(e-O|0);if(d){break la}h=L;L=+q[a+152>>2];E=+(e|0);e=q[a+56>>2];z=+(((e|0)>0?e:0)|0);h=h*L/E+z;if(q[a+72>>2]){e=q[a+60>>2];h=h+ +(((e|0)>0?e:0)|0);D=L*0/E;break ka}D=L*0/E+z;break ka}e=q[a+496>>2]+ -2|0;if(e>>>0>1){break ia}if(e-1){h=+(q[a+500>>2]+q[a+404>>2]|0);xa:{if(q[a+536>>2]){h=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2];e=q[a+56>>2];break xa}h=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2];e=q[a+56>>2];e=(e|0)>0?e:0}V=h+ +(e|0)-(u-H);break ia}h=+(q[a+412>>2]-q[a+500>>2]|0);if(q[a+536>>2]){V=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2]+ +q[a+56>>2];break ia}e=q[a+56>>2];V=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2]+ +(((e|0)>0?e:0)|0);break ia}E=+q[a+144>>2];z=+(e|0);h=+q[a+56>>2];D=E*0/z+h;h=L*E/z+h}E=v[q[a+696>>2]>>3];z=D+E;h=E+(h+k*(D-h)/100-v[a+712>>3]);V=k>0?h>2]}if(s>>>0>3){break ha}if(s-1){break ia}e=q[a+236>>2];d=e&12;h=0;e=(e&3)+ -1|0;k=0;ya:{if(e>>>0>2){break ya}za:{switch(e-1|0){default:k=M;break ya;case 0:k=(M+S)*.5;break ya;case 1:break za}}k=S}Aa:{if(d>>>0>8){break Aa}Ba:{switch(d-1|0){case 3:h=H;break Aa;case 7:h=(H+u)*.5;break Aa;case 0:case 1:case 2:case 4:case 5:case 6:break Aa;default:break Ba}}h=u}Y=+q[a+148>>2];e=q[a+160>>2];R=+q[e+36>>2];N=+q[a- -64>>2];z=+q[a+400>>2]*Y/R+N;Ca:{if(y(z)<2147483648){i=~~z;break Ca}i=-2147483648}d=q[e+40>>2];q[a+400>>2]=i;e=a;z=Y*+q[a+408>>2]/R+N;Da:{if(y(z)<2147483648){i=~~z;break Da}i=-2147483648}q[e+408>>2]=i;e=a;D=+q[a+144>>2];L=+(d|0);E=+q[a+56>>2];z=+q[a+404>>2]*D/L+E;Ea:{if(y(z)<2147483648){i=~~z;break Ea}i=-2147483648}q[e+404>>2]=i;e=a;z=D*+q[a+412>>2]/L+E;Fa:{if(y(z)<2147483648){i=~~z;break Fa}i=-2147483648}q[e+412>>2]=i;V=v[a+304>>3]*D/L+E-h;X=v[a+296>>3]*Y/v[a+184>>3]/R+N-k;break ha}h=+q[a+400>>2];e=a;i=q[a+536>>2];Ga:{if(i){k=+q[a+148>>2];j=q[a+160>>2];D=+q[j+36>>2];z=h*k/D;h=+q[a- -64>>2];z=z+h;break Ga}k=+q[a+156>>2];j=q[a+160>>2];D=+q[j+36>>2];z=h*k/D;d=q[a- -64>>2];h=+(((d|0)>0?d:0)|0);z=z+h}Ha:{if(y(z)<2147483648){d=~~z;break Ha}d=-2147483648}q[e+400>>2]=d;e=a;h=k*+q[a+408>>2]/D+h;Ia:{if(y(h)<2147483648){d=~~h;break Ia}d=-2147483648}q[e+408>>2]=d;if(P>>>0>8){break ha}Ja:{switch(P-1|0){case 3:h=+q[a+404>>2];e=a;Ka:{La:{Ma:{Na:{if(!i){E=+q[a+152>>2];z=+q[j+40>>2];h=h*E/z;if(!q[a+72>>2]){break La}if(!(y(h)<2147483648)){break Na}d=~~h;break Ma}e=a;E=+q[a+144>>2];z=+q[j+40>>2];k=+q[a+56>>2];h=h*E/z+k;Oa:{if(y(h)<2147483648){i=~~h;break Oa}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k;break Ka}d=-2147483648}q[e+404>>2]=d;h=+q[a+412>>2]*E/z;break Ka}e=a;d=q[a+56>>2];k=+(((d|0)>0?d:0)|0);h=h+k;Pa:{if(y(h)<2147483648){i=~~h;break Pa}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k}if(y(h)<2147483648){q[a+412>>2]=~~h;break ha}q[a+412>>2]=-2147483648;break ha;case 7:h=+q[a+404>>2];e=a;Qa:{if(i){k=+q[a+144>>2];D=+q[j+40>>2];z=h*k/D;h=+q[a+56>>2];z=z+h;break Qa}k=+q[a+152>>2];D=+q[j+40>>2];z=h*k/D;d=q[a+56>>2];h=+(((d|0)>0?d:0)|0);z=z+h}Ra:{if(y(z)<2147483648){i=~~z;break Ra}i=-2147483648}q[e+404>>2]=i;h=k*+q[a+412>>2]/D+h;if(y(h)<2147483648){q[a+412>>2]=~~h;break ha}q[a+412>>2]=-2147483648;break ha;case 0:case 1:case 2:case 4:case 5:case 6:break ha;default:break Ja}}h=+q[a+404>>2];d=a;e=a;Sa:{Ta:{Ua:{if(!i){E=+q[a+152>>2];z=+q[j+40>>2];i=q[a+56>>2];k=+(((i|0)>0?i:0)|0);h=h*E/z+k;j=q[a+72>>2];if(j){i=q[a+60>>2];h=h+ +(((i|0)>0?i:0)|0)}if(!(y(h)<2147483648)){break Ua}i=~~h;break Ta}e=a;E=+q[a+144>>2];z=+q[j+40>>2];k=+q[a+56>>2];h=h*E/z+k;Va:{if(y(h)<2147483648){i=~~h;break Va}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k;break Sa}i=-2147483648}q[e+404>>2]=i;k=+q[a+412>>2]*E/z+k;h=k;if(!j){break Sa}e=q[a+60>>2];h=k+ +(((e|0)>0?e:0)|0)}Wa:{if(y(h)<2147483648){e=~~h;break Wa}e=-2147483648}q[d+412>>2]=e}Xa:{Ya:{if(!q[a+536>>2]){if(!r[a+328|0]){break Ya}d=q[a+160>>2];e=q[a+56>>2];k=v[a+320>>3]*+q[a+152>>2]/+q[d+40>>2]+ +(((e|0)>0?e:0)|0);e=q[a- -64>>2];h=v[a+312>>3]*+q[a+156>>2]/v[a+184>>3]/+q[d+36>>2]+ +(((e|0)>0?e:0)|0);break Xa}D=+q[a+148>>2];e=q[a+160>>2];R=+q[e+36>>2];L=+q[a- -64>>2];k=D*0/R+L;h=+q[a+400>>2];h=k>h?k:h;Za:{if(y(h)<2147483648){i=~~h;break Za}i=-2147483648}d=q[e+40>>2];q[a+400>>2]=i;e=a;E=+q[a+144>>2];N=+(d|0);z=+q[a+56>>2];k=E*0/N+z;h=+q[a+404>>2];h=k>h?k:h;_a:{if(y(h)<2147483648){i=~~h;break _a}i=-2147483648}q[e+404>>2]=i;e=a;k=D*R/R+L;h=+q[a+408>>2];h=k>2]=i;e=a;k=E*N/N+z;h=+q[a+412>>2];h=k>2]=i;if(!r[a+328|0]){break Ya}k=v[a+320>>3]*E/N+z;h=v[a+312>>3]*D/v[a+184>>3]/R+L;break Xa}e=q[a+236>>2];d=e&12;h=0;e=(e&3)+ -1|0;k=0;bb:{if(e>>>0>2){break bb}cb:{switch(e-1|0){default:k=M;break bb;case 0:k=(M+S)*.5;break bb;case 1:break cb}}k=S}z=k;db:{if(d>>>0>8){break db}eb:{switch(d-1|0){case 3:h=H;break db;case 7:h=(H+u)*.5;break db;case 0:case 1:case 2:case 4:case 5:case 6:break db;default:break eb}}h=u}k=V+h;h=X+z}l=q[a+692>>2];j=(l|0)<1;fb:{if(j){break fb}s=q[a+688>>2];k=(V-k)*64;gb:{if(y(k)<2147483648){i=~~k;break gb}i=-2147483648}h=(X-h)*64;hb:{if(y(h)<2147483648){e=~~h;break hb}e=-2147483648}if(!s){break fb}C=0;while(1){d=s+w(C,336)|0;while(1){q[d+316>>2]=e+q[d+96>>2];q[d+320>>2]=i+q[d+100>>2];d=q[d+332>>2];if(d){continue}break}C=C+1|0;if((l|0)!=(C|0)){continue}break}}A=0;ib:{if(j){break ib}u=+q[a- -64>>2];k=v[a+184>>3]*(X-u);x=q[a+704>>2];h=V*64;jb:{if(y(h)<2147483648){s=~~h;break jb}s=-2147483648}ta=k+u;U=m+192|0;K=m+188|0;C=0;e=0;l=0;O=0;while(1){i=q[a+688>>2];d=i+w(O,336)|0;C=r[d+112|0]?1:C;kb:{if(q[d+4>>2]){if(!i){break kb}while(1){Cb(q[d+44>>2]);d=q[d+332>>2];if(d){continue}break}break kb}if(!i){break kb}while(1){G=q[d+264>>2];j=(G|0)==3;k=v[d+272>>3];if(!(v[d+280>>3]==0?k==0:0)){j=j|2}h=v[d+184>>3];lb:{if(v[d+192>>3]==0?h==0:0){break lb}j=j|4;if((j|0)!=4){break lb}j=(r[d+116|0]!=255)<<2}mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{if(!l|C&255|(r[d+148|0]|q[d+32>>2])){break tb}if(q[l+32>>2]){break tb}t=q[l+8>>2];i=q[d+8>>2];if(Ta(q[t>>2],q[i>>2])|q[t+12>>2]!=q[i+12>>2]|(q[l+12>>2]!=q[d+12>>2]|v[l+24>>3]!=v[d+24>>3])){break tb}if(q[l+116>>2]!=q[d+116>>2]|q[l+120>>2]!=q[d+120>>2]|(q[l+124>>2]!=q[d+124>>2]|q[l+128>>2]!=q[d+128>>2])){break tb}if(q[l+172>>2]!=q[d+172>>2]|v[l+176>>3]!=v[d+176>>3]|(v[l+184>>3]!=h|v[l+192>>3]!=v[d+192>>3])){break tb}if(v[l+200>>3]!=v[d+200>>3]|v[l+208>>3]!=v[d+208>>3]|(v[l+216>>3]!=v[d+216>>3]|v[l+224>>3]!=v[d+224>>3])){break tb}if(v[l+232>>3]!=v[d+232>>3]|v[l+240>>3]!=v[d+240>>3]|((G|0)!=q[l+264>>2]|v[l+248>>3]!=v[d+248>>3])){break tb}if(v[l+272>>3]!=k|v[l+280>>3]!=v[d+280>>3]|(q[l+300>>2]!=q[d+300>>2]|v[l+288>>3]!=v[d+288>>3])){break tb}if(q[l+304>>2]!=q[d+304>>2]){break tb}if(!((q[d+308>>2]^q[l+308>>2])&-5)){break sb}}i=q[a+728>>2];if(A>>>0>=i>>>0){q[160942]=0;i=i<<1;ua=a,va=qc(q[a+704>>2],i,84),q[ua+704>>2]=va;if(q[160942]){break qb}q[a+728>>2]=i;x=q[a+704>>2]}i=q[d+120>>2];G=w(A,84);e=G+x|0;q[e+20>>2]=q[d+116>>2];q[e+24>>2]=i;i=q[d+128>>2];q[e+28>>2]=q[d+124>>2];q[e+32>>2]=i;q[e+36>>2]=q[d+152>>2];q[e+40>>2]=q[d+156>>2];i=q[d+88>>2];q[e>>2]=j;q[e+44>>2]=i>>6;q[e+4>>2]=q[d+172>>2];h=v[d+176>>3]*(v[a+200>>3]*.8493218002880191)*.03125;Wf((h+1)*4,m- -64|0);t=q[m+64>>2];ua=e,va=gc(pH(h)*256),q[ua+8>>2]=va;l=0;i=0;if(j&4){J=-1<>1^-1;i=J;k=v[a+192>>3];h=k*v[d+192>>3]*64;ub:{if(y(h)<2147483648){l=~~h;break ub}l=-2147483648}l=i&l+t;h=v[d+184>>3]*k*64;vb:{if(y(h)<2147483648){i=~~h;break vb}i=-2147483648}i=J&i+t}t=x+G|0;q[t+12>>2]=i;q[t+60>>2]=2147483647;q[t+64>>2]=2147483647;q[t+68>>2]=0;q[t+72>>2]=0;q[t+48>>2]=0;q[t+52>>2]=0;q[t+16>>2]=l;q[t+76>>2]=0;q[t+80>>2]=0;i=Sa(1536);q[t+56>>2]=i;if(i){q[t+52>>2]=64;A=A+1|0;break rb}Cb(q[d+44>>2]);l=0;break mb}if(!e){break pb}}ca=v[a+184>>3];J=s+q[d+100>>2]|0;q[d+100>>2]=J;l=d;h=(ta+ca*(+q[d+96>>2]*.015625))*64;wb:{if(y(h)<2147483648){i=~~h;break wb}i=-2147483648}q[l+96>>2]=i;xb:{t=q[d+44>>2];yb:{if(!t){break yb}G=q[e+48>>2];zb:{l=q[d>>2];if(l>>>0>10){break zb}switch(l-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break zb;default:break yb}}if(!q[d+4>>2]){break xb}}Cb(t);break nb}Y=v[d+240>>3];u=v[d+224>>3];N=v[d+248>>3];h=v[d+216>>3];da=Oj(h);ea=Nj(h);h=v[d+208>>3];fa=Nj(h);D=v[d+200>>3];k=Nj(D);ga=Oj(h);na=v[d- -64>>3];oa=v[d+72>>3];C=q[d+320>>2];t=q[d+164>>2];l=q[d+316>>2];L=v[a+200>>3];T=v[d+48>>3];h=v[d+232>>3];aa=u*Y/N;E=ea+da*aa;z=da-ea*aa;Q=-k;H=z*Q;ha=fa*E+ga*H;R=v[d+56>>3];pa=ha*R;v[m+120>>3]=pa;h=N*h/Y;u=da+ea*h;h=da*h-ea;k=h*Q;ia=fa*u+ga*k;qa=T*ia;v[m+112>>3]=qa;N=Oj(D);ma=L*2e4;L=+(J-C|0);Z=N*z*ma+ha*L;ra=R*Z;v[m+96>>3]=ra;_=ma*(N*h)+ia*L;sa=T*_;v[m+88>>3]=sa;h=+(l|0);D=+(i|0)-ca*h;z=ca*ma;ba=D*ha+(ga*E-fa*H)*z;ca=R*ba;v[m+72>>3]=ca;H=T;T=z*(ga*u-fa*k)+D*ia;Y=H*T;v[m+64>>3]=Y;k=+(C|0);h=aa*+(t|0)+h;H=ea*k+da*h;u=da*k-ea*h;k=u*Q;Q=ma+(fa*H+ga*k);h=ia*na+ha*oa+Q;v[m+128>>3]=h;L=ma*(N*u)+Q*L;R=Z*oa+na*_+L;v[m+104>>3]=R;E=z*(ga*H-fa*k)+D*Q;N=ba*oa+na*T+E;v[m+80>>3]=N;q[m+136>>2]=q[d+44>>2];if(!sl(m- -64|0,m+40|0,m+48|0,!G,m+136|0)){Cb(q[d+44>>2]);break nb}i=ed(q[a+744>>2],m+136|0,a);q[d+324>>2]=i;if(!(q[i+20>>2]?i:0)){Cb(i);q[d+324>>2]=0}i=q[m+44>>2];J=i;G=q[m+40>>2];q[m+32>>2]=G;q[m+36>>2]=i;Ab:{if(j&1){if(!(j&6)){break nb}q[m+176>>2]=3;z=v[d+272>>3];l=q[d+132>>2];j=q[d+296>>2];H=v[d+240>>3];u=v[a+192>>3]*64;k=v[d+256>>3];h=k*v[d+248>>3];N=B(u*v[d+280>>3]*h,64);i=q[d+164>>2];D=(h*+(i+q[d+168>>2]|0)+(N+N))*.015625;v[m+120>>3]=ha*D;h=H*k;k=B(z*u*h,64);h=(h*+(j+l|0)+(k+k))*.015625;v[m+112>>3]=ia*h;v[m+96>>3]=Z*D;v[m+88>>3]=_*h;v[m+72>>3]=ba*D;v[m+64>>3]=T*h;h=-N- +(i|0);v[m+104>>3]=L+(Z*h-_*k);v[m+80>>3]=E+(ba*h-T*k);h=Q+(ha*h-ia*k);break Ab}if(!(j&2)){break nb}q[m+176>>2]=2;i=q[d+44>>2];q[m+184>>2]=i;D=v[m+128>>3];k=v[a+192>>3]*64;L=k*v[d+272>>3]/v[d+48>>3];Q=L+64+ +(q[i+60>>2]-q[i+52>>2]|0)*.5;E=y(v[m+112>>3]);z=k*v[d+280>>3]/v[d+56>>3];Z=z+64+ +(q[i- -64>>2]-q[i+56>>2]|0)*.5;H=y(v[m+120>>3]);u=D-Q*E-Z*H;k=D*.0625;_=1/(u>k?u:k);ba=_+_;T=y(v[m+64>>3]);aa=y(v[m+72>>3]);u=T*Q+aa*Z;k=Q;Q=y(v[m+88>>3]);D=y(v[m+96>>3]);k=k*Q+Z*D;k=(u>k?u:k)*_;Wf(ba*((T>Q?T:Q)+E*k),K);Wf(ba*((aa>D?aa:D)+H*k),U);t=q[m+188>>2];l=gc(Qe(L,t)*.0625);q[m+196>>2]=l;j=q[m+192>>2];i=gc(Qe(z,j)*.0625);q[m+200>>2]=i;if(!(i|l)){break ob}l=0-t|0;ua=m,wa=Qe(Y,l),v[ua+64>>3]=wa;v[m+80>>3]=N;i=0-j|0;ua=m,wa=Qe(ca,i),v[ua+72>>3]=wa;ua=m,wa=Qe(sa,l),v[ua+88>>3]=wa;v[m+104>>3]=R;ua=m,wa=Qe(ra,i),v[ua+96>>3]=wa;ua=m,wa=Qe(qa,l),v[ua+112>>3]=wa;ua=m,wa=Qe(pa,i),v[ua+120>>3]=wa}v[m+128>>3]=h;i=ed(q[a+740>>2],m+176|0,a);q[m+136>>2]=i;if(!i){Cb(0);break nb}Bb:{if(r[i|0]){if(sl(m- -64|0,m+32|0,m+48|0,0,m+136|0)){break Bb}i=q[m+136>>2]}Cb(i);break nb}i=ed(q[a+744>>2],m+136|0,a);q[d+328>>2]=i;if(!(q[i+20>>2]?i:0)){Cb(i);q[d+328>>2]=0;q[m+32>>2]=G;q[m+36>>2]=J;break nb}if(q[d+324>>2]){break nb}i=q[m+36>>2];q[m+40>>2]=q[m+32>>2];q[m+44>>2]=i;break nb}Cb(q[d+44>>2]);l=0;break mb}I(356041,355697,2299,356054);F()}ke(q[d+324>>2]);q[d+328>>2]=q[d+324>>2]}C=q[d+324>>2];Cb:{if(!(C|q[d+328>>2])){Cb(0);Cb(q[d+328>>2]);break Cb}j=q[e+48>>2];i=q[e+52>>2];if(j>>>0>=i>>>0){q[160942]=0;i=i<<1;ua=e,va=qc(q[e+56>>2],i,24),q[ua+56>>2]=va;if(q[160942]){Cb(q[d+324>>2]);Cb(q[d+328>>2]);break Cb}q[e+52>>2]=i;C=q[d+324>>2];j=q[e+48>>2]}l=q[e+56>>2]+w(j,24)|0;q[l>>2]=C;q[l+4>>2]=q[d+328>>2];j=q[m+44>>2];i=q[m+40>>2];q[l+8>>2]=i;q[l+12>>2]=j;j=q[m+36>>2];l=q[e+56>>2]+w(q[e+48>>2],24)|0;q[l+16>>2]=q[m+32>>2];q[l+20>>2]=j;q[e+48>>2]=q[e+48>>2]+1;j=q[e+60>>2];q[e+60>>2]=(j|0)>(i|0)?i:j;j=q[m+44>>2];i=q[e+64>>2];q[e+64>>2]=(i|0)>(j|0)?j:i}l=d}C=0;d=q[d+332>>2];if(d){continue}break}}O=O+1|0;if((O|0)>2]){continue}break}if(!A){A=0;break ib}s=0;while(1){J=w(s,84)+x|0;j=J;i=q[j+48>>2];if(i){t=q[J+64>>2];d=q[J+56>>2];l=q[J+60>>2];e=0;while(1){G=d+w(e,24)|0;q[G+8>>2]=q[G+8>>2]-l;q[G+16>>2]=q[G+16>>2]-l;q[G+12>>2]=q[G+12>>2]-t;q[G+20>>2]=q[G+20>>2]-t;e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[m+80>>2]=q[J+16>>2];e=q[J+12>>2];q[m+72>>2]=q[J+8>>2];q[m+76>>2]=e;e=q[J+4>>2];q[m+64>>2]=q[J>>2];q[m+68>>2]=e;q[m+84>>2]=q[j+48>>2];q[m+88>>2]=q[J+56>>2];e=ed(q[a+748>>2],m- -64|0,a);if(e){if(q[e+20>>2]){q[J+68>>2]=e}if(q[e+44>>2]){q[J+72>>2]=e+24}if(q[e+68>>2]){q[J+76>>2]=e+48}q[J+80>>2]=e}s=s+1|0;if((A|0)!=(s|0)){continue}break}}q[a+708>>2]=A;q[c>>2]=0;e=c;h=V-v[q[a+696>>2]>>3];Db:{if(y(h)<2147483648){i=~~h;break Db}i=-2147483648}q[e+4>>2]=i;e=c;h=v[a+712>>3];Eb:{if(y(h)<2147483648){i=~~h;break Eb}i=-2147483648}q[e+8>>2]=i;e=c;k=v[a+184>>3];h=(S-M)*k+.5;Fb:{if(y(h)<2147483648){i=~~h;break Fb}i=-2147483648}q[e+16>>2]=i;e=c;h=X+M*k+.5;Gb:{if(y(h)<2147483648){i=~~h;break Gb}i=-2147483648}q[e+12>>2]=i;e=o[a+417|0];q[c+28>>2]=b;q[c+24>>2]=(P|0)==4?1:-1;q[c+20>>2]=e;l=m+40|0;x=q[a+708>>2];if(x){s=q[a+704>>2];while(1){e=s+w($,84)|0;b=q[e+76>>2];if(!(!b|q[a+360>>2]==4)){l=mg(a,b,q[e+60>>2],q[e+64>>2],q[e+32>>2],0,1e6,l,2,q[e+80>>2])}$=$+1|0;if((x|0)!=($|0)){continue}break}C=0;while(1){e=s+w(C,84)|0;b=q[e+72>>2];if(!(!b|(q[e+40>>2]<=q[e+44>>2]?q[e+36>>2]==3:0))){l=mg(a,b,q[e+60>>2],q[e+64>>2],q[e+28>>2],0,1e6,l,1,q[e+80>>2])}C=C+1|0;if((x|0)!=(C|0)){continue}break}C=0;while(1){t=s+w(C,84)|0;j=q[t+68>>2];Hb:{if(!j){break Hb}e=q[t+36>>2];b=e+ -1|0;if(!(b>>>0>2|!(b-1))){e=q[t+64>>2];b=q[t+60>>2];if(q[t+40>>2]>q[t+44>>2]){l=mg(a,j,b,e,q[t+20>>2],0,1e6,l,0,q[t+80>>2]);break Hb}l=mg(a,j,b,e,q[t+24>>2],0,1e6,l,0,q[t+80>>2]);break Hb}i=q[t+20>>2];d=q[t+64>>2];b=q[t+60>>2];if((e|0)==2){l=mg(a,j,b,d,i,q[t+24>>2],q[t+40>>2],l,0,q[t+80>>2]);break Hb}l=mg(a,j,b,d,i,0,1e6,l,0,q[t+80>>2])}C=C+1|0;if((x|0)!=(C|0)){continue}break}d=0;while(1){Cb(q[(s+w(d,84)|0)+80>>2]);d=d+1|0;if((x|0)!=(d|0)){continue}break}}j=0;q[l>>2]=0;d=q[m+40>>2];e=c;b=q[a+472>>2];if(b){q[m+184>>2]=b;q[m+176>>2]=1;q[m+120>>2]=0;q[m+124>>2]=0;q[m+112>>2]=0;q[m+116>>2]=0;q[m+104>>2]=0;q[m+108>>2]=0;q[m+96>>2]=0;q[m+100>>2]=0;q[m+88>>2]=0;q[m+92>>2]=0;q[m+80>>2]=0;q[m+84>>2]=0;q[m+72>>2]=0;q[m+76>>2]=0;q[m+64>>2]=0;q[m+68>>2]=0;b=q[a+476>>2];k=v[a+184>>3];h=v[a+176>>3];q[m+128>>2]=0;q[m+132>>2]=1072693248;h=h/+(1<>3]=h;v[m+64>>3]=k*h;v[m+80>>3]=q[a+64>>2]<<6;v[m+104>>3]=q[a+56>>2]<<6;b=ed(q[a+740>>2],m+176|0,a);q[m+136>>2]=b;Ib:{if(!b){break Ib}j=b;if(!r[j|0]){break Ib}if(!sl(m- -64|0,m+48|0,0,1,m+136|0)){j=q[m+136>>2];break Ib}Jb:{j=ed(q[a+744>>2],m+136|0,a);if(!j){break Jb}b=q[j+20>>2];if(!b|!d){break Jb}s=q[m+52>>2];l=q[m+48>>2];while(1){C=q[j>>2]+l|0;J=C+q[j+8>>2]|0;i=q[d>>2];P=q[d+20>>2];G=i+P|0;K=q[d+4>>2];O=q[d+24>>2];x=K+O|0;U=s+q[j+4>>2]|0;A=(G|0)<(C|0)|(x|0)<(U|0)|(P|0)>(J|0);$=U+q[j+12>>2]|0;t=(O|0)>(U|0)?O:U;ja=((x|0)<($|0)?x:$)-t|0;x=(P|0)>(C|0)?P:C;W=((G|0)<(J|0)?G:J)-x|0;J=t-U|0;G=x-C|0;C=t-O|0;U=x-P|0;P=q[j+16>>2];ka=q[d+8>>2];t=q[d+12>>2];Kb:{Lb:{if(q[a+480>>2]){if(!W|A|(!ja|(O|0)>($|0))){break Kb}A=oe(32,w(K,ka),0);if(!A){break Jb}va=U+(Qa(A,t,w(ka,K+ -1|0)+i|0)+w(C,ka)|0)|0,xa=ka,ya=G+(w(J,P)+b|0)|0,za=P,Aa=ja,Ba=W,ua=q[q[a+764>>2]+24>>2],n[ua](va|0,xa|0,ya|0,za|0,Aa|0,Ba|0);break Lb}Mb:{if(!(!W|A|(O|0)>($|0))){if(ja){break Mb}}q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;break Kb}x=(W|0)<16?(W|0)<8?1:8:16;i=0-x|0;i=W>>>0>i>>>0?W:i&(x+W|0)+ -1;A=oe(x,w(i,ja),0);if(!A){break Jb}n[q[q[a+764>>2]+28>>2]](A,i,U+(t+w(C,ka)|0)|0,ka,G+(w(J,P)+b|0)|0,P,W,ja);q[d+8>>2]=i;q[d+4>>2]=ja;q[d>>2]=W;q[d+20>>2]=U+q[d+20>>2];q[d+24>>2]=C+q[d+24>>2]}q[d+12>>2]=A;q[d+40>>2]=A;Cb(q[d+36>>2]);q[d+36>>2]=0}d=q[d+28>>2];if(!d){break Jb}b=q[j+20>>2];continue}}}Cb(j);d=q[m+40>>2]}q[e>>2]=d;Nb:{if(q[a+360>>2]!=4){break Nb}h=0;k=0;u=v[a+440>>3];if(!!(u>0)){k=u*v[a+192>>3]}u=v[a+448>>3];if(!!(u>0)){h=u*v[a+192>>3]}b=q[c+4>>2];u=+(b|0)-h;Ob:{if(y(u)<2147483648){x=~~u;break Ob}x=-2147483648}h=h+ +(b+q[c+8>>2]|0);Pb:{if(y(h)<2147483648){s=~~h;break Pb}s=-2147483648}e=q[a+136>>2];j=e;d=q[c+12>>2];h=+(d|0)-k;Qb:{if(y(h)<2147483648){i=~~h;break Qb}i=-2147483648}b=(i|0)>0?i:0;j=(b|0)>(e|0)?j:b;i=e;h=k+ +(d+q[c+16>>2]|0);Rb:{if(y(h)<2147483648){d=~~h;break Rb}d=-2147483648}b=(d|0)>0?d:0;l=((b|0)>(e|0)?i:b)-j|0;if((l|0)<1){break Nb}e=q[a+140>>2];b=(x|0)>0?x:0;i=(b|0)>(e|0)?e:b;b=(s|0)>0?s:0;d=((b|0)>(e|0)?e:b)-i|0;if((d|0)<1){break Nb}e=w(d,l);b=oe(1,e,0);if(!b){break Nb}e=Na(b,255,e);b=q[a+396>>2];s=Sa(48);if(!s){gd(e);break Nb}q[s+36>>2]=0;q[s+24>>2]=i;q[s+20>>2]=j;q[s+16>>2]=b;q[s+12>>2]=e;q[s+8>>2]=l;q[s+4>>2]=d;q[s>>2]=l;ke(0);q[s+44>>2]=0;q[s+40>>2]=e;q[s+28>>2]=q[c>>2];q[c>>2]=s}Er(la);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);d=0;q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;C=1;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0}Da=m+224|0;return C}function nI(a,b){a=a|0;b=b|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,p=0;f=Da-576|0;Da=f;b=q[a>>2];if(b){d=q[b+4>>2];c=d+ -2|0;a:{if(c>>>0>52){break 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:{switch(c-1|0){default:d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}if(!r[d|0]){_a(a,1,500317,0);break a}g=q[a>>2];ea:{if(!g){break ea}c=q[g+8>>2];if(!c){break ea}b=q[c>>2];if(!b){break ea}fa:{while(1){if(!Ta(b,500351)){o[b|0]=0;g=q[a>>2];e=q[c+4>>2];break fa}b=q[c+8>>2];c=c+8|0;if(b){continue}break}e=0}if(!g){break ea}c=q[g+8>>2];if(!c){break ea}b=q[c>>2];if(!b){break ea}while(1){if(!Ta(b,500358)){o[b|0]=0;i=q[c+4>>2];break ea}b=q[c+8>>2];c=c+8|0;if(b){continue}break}}b=Up(a,d,e);if(b){ga:{if(q[a+2856>>2]|!r[b|0]){break ga}if(r[b|0]==126){if(!Yh()){break ga}}if(Sp(q[a+16>>2],b,0,i)){break ga}q[f>>2]=b;_a(a,2,500363,f)}uc(q[a>>2]+12|0);La(b);break a}uc(q[a>>2]+12|0);break a;case 0:d=0;c=q[b+8>>2];ha:{if(!c){break ha}b=q[c>>2];if(!b){break ha}while(1){if(Ta(b,500351)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ha}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ha}if(Rd(b,500402)){break ha}d=Qp();if(!d){break a}}b=bg(q[a>>2]+12|0);if(b){if(!r[b|0]){_a(a,1,500522,0);break a}ia:{if(!d){c=b;break ia}e=Wa(d);g=e+1|0;h=Wa(b);i=g+h|0;c=db(d,i+1|0);if(!c){_a(a,2,499215,0);La(d);La(b);break a}o[c+e|0]=47;Qa(c+g|0,b,h);o[c+i|0]=0;La(b);if(!r[c|0]){break ca}}if(q[a+2856>>2]){break b}if(r[c|0]==126){if(!Yh()){break b}}if(mk(q[a+16>>2],c)){break b}q[f+16>>2]=c;_a(a,2,500557,f+16|0);break b}_a(a,2,499215,0);if(!d){break a}La(d);break a;case 1:if(!Qd(b+12|0)){_a(a,2,499215,0);break a}uc(q[a>>2]+12|0);break a;case 2:d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}b=q[a>>2];if(!b){g=1;break d}g=1;c=q[b+8>>2];ja:{if(!c){break ja}b=q[c>>2];if(!b){break ja}while(1){if(Ta(b,500602)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ja}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ja}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+80>>2]=b;_a(a,1,500711,f+80|0)}g=q[f+432>>2]!=1}b=q[a>>2];if(!b){break d}c=q[b+8>>2];h=0;ka:{if(!c){break ka}b=q[c>>2];h=0;if(!b){break ka}la:{while(1){if(!Ta(b,500617)){break la}b=q[c+8>>2];c=c+8|0;if(b){continue}break}h=0;break ka}o[b|0]=0;b=q[c+4>>2];h=0;if(!b){break ka}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+64>>2]=b;_a(a,1,500711,f- -64|0)}h=q[f+432>>2]==1}b=q[a>>2];if(!b){break d}c=q[b+8>>2];if(!c){break d}b=q[c>>2];if(!b){break d}while(1){if(Ta(b,500351)){b=q[c+8>>2];c=c+8|0;if(b){continue}break d}break}o[b|0]=0;b=q[c+4>>2];if(!b){break d}if(Rd(b,500402)){break d}c=bI();if(!c){break a}e=Wa(c);i=e+1|0;j=Wa(d);l=i+j|0;b=db(c,l+1|0);if(b){o[b+e|0]=47;Qa(b+i|0,d,j);j=0;o[b+l|0]=0;if($f(b)){break f}if(Aq(b)){break g}if(zL(b)){break f}break g}_a(a,2,499215,0);La(c);break a;case 4:d=0;c=q[b+8>>2];ma:{if(!c){break ma}b=q[c>>2];if(!b){break ma}na:{while(1){if(!Ta(b,500737)){break na}b=q[c+8>>2];c=c+8|0;if(b){continue}break}break ma}o[b|0]=0;b=q[c+4>>2];if(!b){break ma}if(!Ta(b,500744)){break ma}if(Ta(b,500752)){break k}e=1}c=q[a+4>>2];if(!c){break i}while(1){if(q[c+4>>2]!=q[a>>2]){break j}oa:{pa:{b=q[c+8>>2]+ -17|0;if(b>>>0>2){break pa}qa:{switch(b-1|0){default:g=q[c+16>>2];b=Sa(12);ra:{if(!b){b=0;break ra}q[b+8>>2]=g;q[b>>2]=0;q[b+4>>2]=1}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break oa;case 0:break pa;case 1:break qa}}g=q[c+16>>2];b=Sa(12);sa:{if(!b){b=0;break sa}q[b+8>>2]=g;q[b>>2]=0;q[b+4>>2]=2}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break oa}_a(a,1,500842,0)}nd(a);c=q[a+4>>2];if(c){continue}break}break j;case 6:break m;case 7:break n;case 8:break o;case 9:break p;case 10:break q;case 11:break r;case 3:case 14:break a;case 12:break s;case 13:break t;case 20:break u;case 21:break v;case 22:break w;case 23:break x;case 24:break y;case 25:break z;case 26:break A;case 27:break B;case 28:break C;case 29:break D;case 15:case 16:break E;case 17:break F;case 18:break G;case 19:break H;case 30:break I;case 31:break J;case 32:break K;case 33:break L;case 34:break M;case 35:break N;case 36:break O;case 37:break P;case 38:break Q;case 39:break R;case 40:break S;case 41:break T;case 42:break U;case 43:break V;case 44:break W;case 45:break X;case 46:break Y;case 47:break Z;case 48:break _;case 49:break $;case 50:break aa;case 51:break ba;case 5:break da}}ta:{c=q[b+8>>2];ua:{if(!c){break ua}b=q[c>>2];if(!b){break ua}while(1){if(Ta(b,500905)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ua}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ua}if(!Ta(b,501035)){break ua}if(!Ta(b,501040)){j=1;break ua}if(Ta(b,501047)){break ta}j=2}b=q[a+4>>2];if(!b){_a(a,2,501004,0);break a}c=0;while(1){if(q[b+4>>2]==q[a>>2]){va:{wa:{xa:{d=q[b+8>>2]+ -2|0;if(d>>>0>15){break xa}ya:{switch(d-1|0){default:if(h){_a(a,1,500913,0);l=q[b+16>>2];d=Hc(q[a+16>>2]);if(d){q[d+8>>2]=l;q[d>>2]=36;q[d+12>>2]=h;h=d;break wa}_a(a,2,499215,0);break va}h=q[b+16>>2];if(h){break wa}h=0;break va;case 4:if(e){tb(e)}q[b+8>>2]=0;e=q[b+16>>2];break va;case 5:if(i){tb(i)}q[b+8>>2]=0;i=q[b+16>>2];break va;case 6:if(g){tb(g)}q[b+8>>2]=0;g=q[b+16>>2];break va;case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:case 13:break xa;case 14:break ya}}l=q[b+16>>2];d=Sa(12);za:{if(!d){d=0;break za}q[d+8>>2]=l;q[d>>2]=0;q[d+4>>2]=1}if(c){q[d>>2]=c}q[b+8>>2]=0;c=d;break va}_a(a,1,500994,0);break va}q[b+8>>2]=0}nd(a);b=q[a+4>>2];if(b){continue}}break}if(!h){_a(a,2,501004,0);if(e){tb(e)}if(i){tb(i)}if(g){tb(g)}if(!c){break a}while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){Aa:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break Aa}d=q[c+8>>2];e=q[d+8>>2];if(!e){break Aa}tb(e)}La(d)}La(c);c=b;if(b){continue}break}break a}if(!(i|(e|g))){tb(h);if(!c){break a}while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){Ba:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break Ba}d=q[c+8>>2];e=q[d+8>>2];if(!e){break Ba}tb(e)}La(d)}La(c);c=b;if(b){continue}break}break a}d=Sa(20);Ca:{if(!d){break Ca}b=d;q[b>>2]=0;q[b+4>>2]=0;l=qd(501028);q[b+16>>2]=h;q[b+12>>2]=65558;q[b+8>>2]=l;b=$e(Qc(l));if(!b){break Ca}we(a,h,q[b+4>>2])}Da:{if(c){b=c;while(1){h=b;b=q[b>>2];if(b){continue}break}b=Sa(12);if(!b){b=0;q[h>>2]=0;break Da}q[b+8>>2]=d;q[b>>2]=0;q[b+4>>2]=1;q[h>>2]=b;break Da}c=Sa(12);if(!c){c=0;b=0;break Da}q[c+8>>2]=d;q[c>>2]=0;q[c+4>>2]=1;b=c}if(!e){d=b;break l}h=Sa(16);if(h){q[h+12>>2]=j;q[h+8>>2]=e;q[h>>2]=1;q[h+4>>2]=14;d=$e(Qc(1));if(d){we(a,e,q[d+4>>2])}d=Sa(12);Ea:{if(!d){d=0;break Ea}q[d+8>>2]=h;q[d>>2]=0;q[d+4>>2]=2}q[b>>2]=d;break l}tb(e);d=b;break l}q[f+128>>2]=b;_a(a,1,501052,f+128|0);break a}_a(a,1,500522,0);break b}Kg(a,40);break a}Kg(a,39);break a}Kg(a,38);break a}Kg(a,37);break a}Vc(a,19);break a}Kg(a,35);break a}Vc(a,34);break a}Vc(a,33);break a}Vc(a,32);break a}Vc(a,31);break a}Vc(a,26);break a}Vc(a,24);break a}Vc(a,30);break a}Vc(a,29);break a}Vc(a,28);break a}Vc(a,27);break a}Vc(a,23);break a}Vc(a,22);break a}Vc(a,21);break a}Vc(a,20);break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}Fa:{b=q[a+1312>>2];Ga:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ga}c=Sa(24);if(!c){break Fa}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break Fa}q[c+8>>2]=3;q[c+16>>2]=d;break a}La(d);break a}Ha:{c=q[b+8>>2];if(!c){d=-1;break Ha}b=q[c>>2];if(!b){d=-1;break Ha}Ia:{while(1){if(!Ta(b,500737)){break Ia}b=q[c+8>>2];c=c+8|0;if(b){continue}break}d=-1;break Ha}d=0;o[b|0]=0;b=q[c+4>>2];if(!b){d=-1;break Ha}if(!Ta(b,500744)){break Ha}if(!Ta(b,500752)){d=1;break Ha}d=-1;if(!Ta(b,500406)){break Ha}q[f+416>>2]=b;_a(a,1,502476,f+416|0);break a}b=q[a>>2];if(!b){break a}e=bg(b+12|0);if(!e){_a(a,2,499215,0);break a}h=qd(e);b=q[a+1312>>2];Ja:{Ka:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ka}c=Sa(24);if(!c){break Ja}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;g=q[a>>2];if(g){g=q[g>>2]}else{g=0}q[b+4>>2]=g;q[a+4>>2]=c;if(!c){break Ja}q[c+16>>2]=h;q[c+8>>2]=5;q[c+20>>2]=d}La(e);break a}d=Pg();if(!d){_a(a,2,499215,0);break a}La:{b=q[a>>2];if(!b){break La}c=q[b+8>>2];if(!c){break La}b=q[c>>2];if(!b){break La}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break La}break}o[b|0]=0;e=q[c+4>>2];if(!e){break La}c=f+568|0;while(1){b=q[a+4>>2];Ma:{if(!(q[b+4>>2]==q[a>>2]?b:0)){q[f+560>>2]=0;break Ma}q[f+560>>2]=0;Na:{Oa:{g=q[b+8>>2];h=g+ -1|0;if(h>>>0>15){break Oa}Pa:{switch(h-1|0){default:b=eb(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=3;break Na;case 1:if(!jr(q[b+16>>2],c)){break Na}q[f+560>>2]=1;break Na;case 8:b=q[b+16>>2];q[f+560>>2]=1;q[f+568>>2]=b;break Na;case 9:g=q[b+20>>2];b=q[b+16>>2];q[f+560>>2]=2;q[f+568>>2]=b;q[f+572>>2]=g;break Na;case 12:b=q[b+16>>2];q[f+560>>2]=4;q[f+568>>2]=b;break Na;case 13:b=Qg(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=6;break Na;case 14:b=zf(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=8;break Na;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 10:break Oa;case 11:break Pa}}b=_k(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=9;break Na}q[f+400>>2]=g;_a(a,1,502449,f+400|0)}nd(a)}b=q[c+4>>2];q[f+440>>2]=q[c>>2];q[f+444>>2]=b;b=q[f+564>>2];g=q[f+560>>2];q[f+432>>2]=g;q[f+436>>2]=b;Qa:{if(g){b=q[f+444>>2];q[f+392>>2]=q[f+440>>2];q[f+396>>2]=b;b=q[f+436>>2];q[f+384>>2]=q[f+432>>2];q[f+388>>2]=b;if(bM(d,e,f+384|0)){break Qa}_a(a,2,499215,0);b=q[f+444>>2];q[f+360>>2]=q[f+440>>2];q[f+364>>2]=b;b=q[f+436>>2];q[f+352>>2]=q[f+432>>2];q[f+356>>2]=b;Wc(f+352|0)}b=q[a+1312>>2];Ra:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ra}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=6;q[c+16>>2]=d;break a}b=q[f+444>>2];q[f+376>>2]=q[f+440>>2];q[f+380>>2]=b;b=q[f+436>>2];q[f+368>>2]=q[f+432>>2];q[f+372>>2]=b;Wc(f+368|0);continue}}_a(a,1,502420,0);ie(d);break a}d=Pg();if(d){c=q[a+4>>2];Sa:{if(!c){break Sa}while(1){if(q[c+4>>2]!=q[a>>2]){break Sa}Ta:{if(q[c+8>>2]==6){if(VL(d,q[c+16>>2])){break Ta}_a(a,2,499215,0);ie(d);break a}_a(a,1,502396,0)}nd(a);c=q[a+4>>2];if(c){continue}break}}b=q[a+1312>>2];Ua:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ua}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=6;q[c+16>>2]=d;break a}_a(a,2,499215,0);break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}Va:{b=q[a+1312>>2];Wa:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Wa}c=Sa(24);if(!c){break Va}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break Va}q[c+8>>2]=4;q[c+16>>2]=d;break a}La(d);break a}c=q[a+4>>2];if(!c|q[c+4>>2]!=(b|0)){break a}b=(d|0)==18;while(1){Xa:{Ya:{d=q[c+8>>2]+ -4|0;if(d>>>0>2){break Ya}Za:{switch(d-1|0){default:if(!q[a+2856>>2]){if(!Ad(q[q[a+16>>2]+(b?36:40)>>2],q[c+16>>2])){_a(a,2,499215,0);break Xa}if(!q[a+2856>>2]){break Xa}}d=q[c+16>>2];if(!d){break Xa}La(d);q[c+8>>2]=0;break Xa;case 0:break Ya;case 1:break Za}}_a:{if(!q[a+2856>>2]){if(!wi(q[q[a+16>>2]+(b?44:48)>>2],q[c+16>>2])){_a(a,2,499215,0);break Xa}if(!q[a+2856>>2]){break _a}}d=q[c+16>>2];if(!d){break _a}ie(d)}q[c+8>>2]=0;break Xa}_a(a,1,502378,0)}nd(a);c=q[a+4>>2];if(!c){break a}if(q[c+4>>2]==q[a>>2]){continue}break}break a}d=oi();$a:{c=q[a+4>>2];if(!c){break $a}b=0;while(1){if(q[c+4>>2]==q[a>>2]){ab:{if(q[c+8>>2]==1){if(!Ik(d,q[c+16>>2])){q[f+336>>2]=q[c+16>>2];_a(a,1,502331,f+336|0);break ab}b=b+1|0;break ab}_a(a,2,502351,0)}nd(a);c=q[a+4>>2];if(c){continue}}break}if((b|0)<1){break $a}if(!d){break a}b=q[a+1312>>2];bb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break bb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=16;q[c+16>>2]=d;break a}Sd(d);break a}e=Uk();cb:{c=q[a+4>>2];if(!c){break cb}b=0;while(1){if(q[c+4>>2]==q[a>>2]){db:{eb:{d=q[c+8>>2]+ -10|0;if(d>>>0>3){break eb}fb:{switch(d-1|0){default:if(!vi(e,q[c+16>>2])){q[f+304>>2]=q[c+16>>2];_a(a,1,502278,f+304|0);break db}b=b+1|0;break db;case 0:case 1:break eb;case 2:break fb}}g=q[c+16>>2];k=v[g+8>>3];gb:{if(k<4294967296&k>=0){d=~~k>>>0;break gb}d=0}k=v[g>>3];hb:{if(k<4294967296&k>=0){c=~~k>>>0;break hb}c=0}if(c>>>0>d>>>0){break db}while(1){ib:{if(!vi(e,c)){q[f+320>>2]=c;_a(a,1,502278,f+320|0);break ib}b=b+1|0}c=c+1|0;if(c>>>0<=d>>>0){continue}break}break db}_a(a,2,502304,0)}nd(a);c=q[a+4>>2];if(c){continue}}break}if((b|0)<1){break cb}if(!e){break a}b=q[a+1312>>2];jb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break jb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=15;q[c+16>>2]=e;break a}Xc(e);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+288>>2]=b;_a(a,1,500711,f+288|0)}e=q[f+432>>2];b=q[a+1312>>2];kb:{lb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break lb}c=Sa(24);if(!c){break kb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break kb}q[c+8>>2]=14;q[c+16>>2]=e}uc(q[a>>2]+12|0);break a}q[f+560>>2]=0;q[f+564>>2]=0;q[f+440>>2]=0;q[f+444>>2]=0;q[f+432>>2]=0;q[f+436>>2]=0;mb:{c=q[a+4>>2];if(c){d=1;if(q[c+4>>2]==(b|0)){while(1){b=d;if((b|0)<=-1){_a(a,2,502212,0);break a}d=q[c+8>>2]+ -10|0;nb:{if(d>>>0<=1){if(d-1){c=q[c+16>>2];if(g){v[(f+432|0)+(b<<3)>>3]=c|0;break nb}q[(f+560|0)+(b<<2)>>2]=c;g=0;break nb}if(!(b|g)){v[f+440>>3]=t[f+564>>2]}e=q[c+20>>2];d=(f+432|0)+(b<<3)|0;q[d>>2]=q[c+16>>2];q[d+4>>2]=e;g=1;break nb}_a(a,2,502239,0);if(g){c=(f+432|0)+(b<<3)|0;q[c>>2]=0;q[c+4>>2]=0;break nb}g=0;q[(f+560|0)+(b<<2)>>2]=0}nd(a);c=q[a+4>>2];if(c){d=b+ -1|0;if(q[c+4>>2]==q[a>>2]){continue}}break}b=(b|0)>0}else{b=1}if(!b){break mb}}_a(a,2,502264,0);break a}ob:{if(g){k=v[f+432>>3];m=v[f+440>>3];if(!!(k>m)){_a(a,2,502264,0);break a}b=$k(k,m);break ob}c=q[f+560>>2];d=q[f+564>>2];if(c>>>0>d>>>0){_a(a,2,502264,0);break a}b=Sa(16);if(b){v[b+8>>3]=d>>>0;v[b>>3]=c>>>0}}c=q[a+1312>>2];pb:{if(c>>>0<=63){q[a+1312>>2]=c+1;c=(w(c,24)+a|0)+1320|0;break pb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];d=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[d+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=13;q[c+16>>2]=b;break a}c=yd(a);d=yd(a);g=yd(a);h=yd(a);qb:{if(!(!g|(!c|!d))){if(h){break qb}}_a(a,1,502147,0);break a}if(yd(a)){_a(a,2,502180,0);break a}b=q[a+1312>>2];rb:{if(b>>>0<=63){q[a+1312>>2]=b+1;e=(w(b,24)+a|0)+1320|0;break rb}e=Sa(24);if(!e){break a}}q[e+8>>2]=0;q[e>>2]=q[a+4>>2];b=e;i=q[a>>2];if(i){i=q[i>>2]}else{i=0}q[b+4>>2]=i;q[a+4>>2]=e;if(!e){break a}b=Sa(16);if(b){q[b+12>>2]=c;q[b+8>>2]=d;q[b+4>>2]=g;q[b>>2]=h}q[e+8>>2]=12;q[e+16>>2]=b;break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}sb:{b=q[a+1312>>2];tb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break tb}c=Sa(24);if(!c){break sb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break sb}q[c+8>>2]=1;q[c+16>>2]=d;break a}La(d);break a}c=Qd(b+12|0);if(!c){_a(a,2,499215,0);break a}q[f+428>>2]=0;b=q[127142];d=Wa(b);e=Pb(c,46);ub:{if(!(!e|(r[b+1|0]?0:r[b|0]==46))){if((Wa(c)+d|0)>=129){q[f+428>>2]=c;b=c;break ub}g=e-c|0;h=Md(f+432|0,c,g);tc(tc(g+(f+432|0)|0,b)+d|0,e+1|0);q[f+560>>2]=0;k=Sj(h,f+560|0);b=q[f+560>>2];vb:{if(!b){break vb}b=c+(b-(f+432|0)|0)|0;q[f+560>>2]=b;if(b>>>0<=e>>>0){break vb}b=(b-d|0)+1|0;q[f+560>>2]=b}q[f+428>>2]=b;break ub}k=Sj(c,f+428|0);b=q[f+428>>2]}wb:{if((Wa(c)+c|0)!=(b|0)){q[f+272>>2]=c;_a(a,2,502122,f+272|0);break wb}b=q[a+1312>>2];xb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break xb}c=Sa(24);if(!c){break wb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break wb}q[c+8>>2]=11;v[c+16>>3]=k}uc(q[a>>2]+12|0);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}q[f+432>>2]=0;e=Sb(b,f+432|0,0);yb:{if(q[f+432>>2]!=(Wa(b)+b|0)){q[f+256>>2]=b;_a(a,2,502096,f+256|0);break yb}b=q[a+1312>>2];zb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break zb}c=Sa(24);if(!c){break yb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break yb}q[c+8>>2]=10;q[c+16>>2]=e}uc(q[a>>2]+12|0);break a}Ab:{c=q[b+8>>2];Bb:{if(!c){break Bb}b=q[c>>2];if(!b){break Bb}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Bb}break}o[b|0]=0;g=q[c+4>>2];if(g){break Ab}}_a(a,1,501824,0);break a}Cb:{Db:{Eb:{Fb:{b=q[a>>2];Gb:{if(!b){h=11;break Gb}h=11;Hb:{c=q[b+8>>2];if(!c){break Hb}b=q[c>>2];if(!b){break Hb}while(1){if(Ta(b,501842)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Hb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Hb}h=Tp(b,501936);if((h|0)!=41){break Hb}q[f+240>>2]=b;_a(a,1,501847,f+240|0);break a}b=q[a>>2];if(!b){break Gb}c=q[b+8>>2];if(!c){break Gb}b=q[c>>2];if(!b){break Gb}while(1){if(Ta(b,500905)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Gb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Gb}if(!Ta(b,501035)){break Gb}if(!Ta(b,501040)){e=1;break Gb}if(Ta(b,501047)){break Fb}e=2}d=yd(a);if(!d){break Cb}b=0;while(1){if(b){c=Hc(q[a+16>>2]);if(!c){break Eb}q[c+8>>2]=d;q[c>>2]=36;q[c+12>>2]=b;b=c}else{b=d}d=yd(a);if(d){continue}break}if(h+ -17>>>0>1){i=b;break Cb}_a(a,1,501870,0);break Db}q[f+224>>2]=b;_a(a,1,501052,f+224|0);break a}_a(a,2,499215,0);tb(d)}tb(b)}b=qd(g);d=Sa(16);if(d){q[d+12>>2]=e;q[d+8>>2]=i;q[d+4>>2]=h;q[d>>2]=b;b=$e(Qc(b));if(b){we(a,i,q[b+4>>2])}Ib:{b=q[a+1312>>2];Jb:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break Jb}b=Sa(24);if(!b){break Ib}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];c=b;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[c+4>>2]=e;q[a+4>>2]=b;if(!b){break Ib}q[b+8>>2]=19;q[b+16>>2]=d;break a}b=q[d+8>>2];if(b){tb(b)}La(d);break a}_a(a,2,499215,0);tb(i);break a}Kb:{c=q[b+8>>2];if(!c){d=-1;break Kb}b=q[c>>2];if(!b){d=-1;break Kb}Lb:{while(1){if(!Ta(b,500737)){break Lb}b=q[c+8>>2];c=c+8|0;if(b){continue}break}d=-1;break Kb}d=0;o[b|0]=0;b=q[c+4>>2];if(!b){d=-1;break Kb}if(!Ta(b,500744)){break Kb}if(!Ta(b,500752)){d=1;break Kb}if(!Ta(b,498830)){d=2;break Kb}d=-1;if(!Ta(b,500406)){break Kb}q[f+208>>2]=b;_a(a,1,501379,f+208|0);break a}Mb:{Nb:{Ob:{Pb:{b=q[a>>2];Qb:{if(!b){break Qb}c=q[b+8>>2];Rb:{if(!c){break Rb}b=q[c>>2];if(!b){break Rb}while(1){if(Ta(b,501404)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Rb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Rb}if(!Ta(b,501409)){break Rb}if(!Ta(b,501413)){e=1;break Rb}if(!Ta(b,501417)){e=2;break Rb}if(Ta(b,501423)){break Ob}e=3}b=q[a>>2];if(!b){break Qb}c=q[b+8>>2];if(!c){break Qb}b=q[c>>2];if(!b){break Qb}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Qb}break}o[b|0]=0;h=q[c+4>>2];if(h){break Pb}}_a(a,1,501461,0);break a}b=q[a>>2];if(!b){j=22;break Mb}j=22;c=q[b+8>>2];if(!c){break Nb}b=q[c>>2];if(!b){break Nb}while(1){if(Ta(b,501479)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Nb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Nb}j=Tp(b,501664);if((j|0)!=41){break Nb}q[f+176>>2]=b;_a(a,1,501487,f+176|0);break a}q[f+192>>2]=b;_a(a,1,501433,f+192|0);break a}b=q[a>>2];if(!b){break Mb}c=q[b+8>>2];if(!c){break Mb}b=q[c>>2];if(!b){break Mb}while(1){if(Ta(b,501513)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Mb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Mb}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+160>>2]=b;_a(a,1,501527,f+160|0)}i=(q[f+432>>2]!=0)<<16}Sb:{Tb:{Ub:{g=yd(a);if(g){b=0;Vb:{while(1){if(b){c=Hc(q[a+16>>2]);if(!c){break Vb}q[c+8>>2]=g;q[c>>2]=36;q[c+12>>2]=b;b=c}else{b=g}g=yd(a);if(g){continue}break}if(q[b>>2]==36){_a(a,1,501583,0)}g=Sa(20);if(!g){break Sb}q[g+4>>2]=e;q[g>>2]=d;c=qd(h);q[g+16>>2]=b;q[g+12>>2]=j&65535|i;q[g+8>>2]=c;c=$e(Qc(c));if(c){we(a,b,q[c+4>>2])}b=q[a+1312>>2];if(b>>>0>63){break Ub}q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break Tb}_a(a,2,499215,0);tb(g);tb(b)}_a(a,1,501559,0);break a}b=Sa(24);if(!b){break a}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];c=b;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[c+4>>2]=d;q[a+4>>2]=b;if(!b){break a}q[b+8>>2]=17;q[b+16>>2]=g;break a}_a(a,2,499215,0);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}d=Hc(q[a+16>>2]);if(!d){uc(q[a>>2]+12|0);break a}q[d>>2]=2;n=d,p=eb(b),q[n+8>>2]=p;uc(q[a>>2]+12|0);b=q[a+1312>>2];Wb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Wb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=2;q[c+16>>2]=d;break a}rk(a,9);break a}rk(a,8);break a}rk(a,7);break a}c=q[a+4>>2];if(!c){break a}d=0;g=c;Xb:{while(1){if(q[g+4>>2]==(b|0)){d=d+1|0;g=q[g>>2];if(g){continue}break Xb}break}if(!d){break a}}while(1){e=d+ -1|0;Yb:{if(!c){break Yb}b=e;if((d|0)==1){break Yb}while(1){c=q[c>>2];if((b|0)<2){break Yb}b=b+ -1|0;if(c){continue}break}}Zb:{if(q[c+8>>2]!=10){_a(a,1,501349,0);break Zb}q[q[a+16>>2]+64>>2]=q[c+16>>2]}if((d|0)<2){break a}c=q[a+4>>2];d=e;continue}}if(q[a+2856>>2]){break a}b=q[a+16>>2];if(r[643740]&16){Rb(503984)}if(pL(q[b+8>>2])){break a}_a(a,2,501322,0);break a}d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}if(!r[d|0]){_a(a,1,501188,0);break a}_b:{b=q[a>>2];$b:{if(!b){break $b}c=q[b+8>>2];if(!c){break $b}b=q[c>>2];if(!b){break $b}while(1){if(Ta(b,501232)){b=q[c+8>>2];c=c+8|0;if(b){continue}break $b}break}o[b|0]=0;i=q[c+4>>2];if(i){break _b}}_a(a,1,501240,0);break a}g=q[a>>2];ac:{if(!g){break ac}c=q[g+8>>2];if(!c){break ac}b=q[c>>2];if(!b){break ac}bc:{while(1){if(!Ta(b,500351)){o[b|0]=0;g=q[a>>2];e=q[c+4>>2];break bc}b=q[c+8>>2];c=c+8|0;if(b){continue}break}e=0}if(!g){break ac}c=q[g+8>>2];if(!c){break ac}b=q[c>>2];if(!b){break ac}while(1){if(!Ta(b,500358)){o[b|0]=0;h=q[c+4>>2];break ac}b=q[c+8>>2];c=c+8|0;if(b){continue}break}}b=Up(a,d,e);if(b){cc:{if(q[a+2856>>2]|!r[b|0]){break cc}if(r[b|0]==126){if(!Yh()){break cc}}if(Sp(q[a+16>>2],b,i,h)){break cc}q[f+148>>2]=i;q[f+144>>2]=b;_a(a,2,501269,f+144|0)}uc(q[a>>2]+12|0);La(b);break a}uc(q[a>>2]+12|0);break a}c=q[b+8>>2];dc:{if(!c){break dc}d=q[c>>2];if(!d){break dc}while(1){if(!Ta(d,501181)){o[d|0]=0;b=q[a>>2];g=q[c+4>>2];break dc}d=q[c+8>>2];c=c+8|0;if(d){continue}break}}b=bg(b+12|0);if(!b){_a(a,2,499215,0);break a}Np(q[a+20>>2],g,b);La(b);break a}ec:{if(!i){b=d;break ec}e=Sa(16);if(e){q[e+12>>2]=j;q[e+8>>2]=i;q[e>>2]=1;q[e+4>>2]=15;b=$e(Qc(1));if(b){we(a,i,q[b+4>>2])}b=Sa(12);fc:{if(!b){b=0;break fc}q[b+8>>2]=e;q[b>>2]=0;q[b+4>>2]=2}q[d>>2]=b;break ec}tb(i);b=d}gc:{if(!g){break gc}d=Sa(16);if(d){q[d+12>>2]=j;q[d+8>>2]=g;q[d>>2]=1;q[d+4>>2]=16;e=$e(Qc(1));if(e){we(a,g,q[e+4>>2])}g=Sa(12);hc:{if(!g){g=0;break hc}q[g+8>>2]=d;q[g>>2]=0;q[g+4>>2]=2}q[b>>2]=g;break gc}tb(g)}b=Mp(q[a+20>>2],c,0);if((b|0)==-1){while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){ic:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break ic}d=q[c+8>>2];e=q[d+8>>2];if(!e){break ic}tb(e)}La(d)}La(c);c=b;if(b){continue}break a}}c=q[a+16>>2];if(q[c+32>>2]>=(b|0)){break a}q[c+32>>2]=b;break a}if(Ta(b,498830)){q[f+112>>2]=b;_a(a,1,500757,f+112|0);break a}c=q[a+4>>2];if(!c){break i}e=2;while(1){if(q[c+4>>2]!=q[a>>2]){break j}jc:{kc:{lc:{b=q[c+8>>2]+ -17|0;if(b>>>0>2){break lc}mc:{switch(b-1|0){case 1:g=q[c+16>>2];b=q[g>>2];if((b|0)>51){break jc}b=Sa(12);nc:{if(!b){b=0;break nc}q[b+8>>2]=g;q[b>>2]=0;q[b+4>>2]=2}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break kc;case 0:break lc;default:break mc}}g=q[c+16>>2];b=Sa(12);oc:{if(!b){b=0;break oc}q[b+8>>2]=g;q[b>>2]=0;q[b+4>>2]=1}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break kc}_a(a,1,500842,0)}nd(a);c=q[a+4>>2];if(c){continue}break j}break}n=f,p=Qc(b),q[n+96>>2]=p;_a(a,2,500783,f+96|0);if(!d){break a}while(1){c=q[d>>2];b=q[d+4>>2]+ -1|0;if(b>>>0<=1){pc:{if(b-1){b=q[d+8>>2];tb(q[b+16>>2]);break pc}b=q[d+8>>2];e=q[b+8>>2];if(!e){break pc}tb(e)}La(b)}La(d);d=c;if(c){continue}break}break a}if(d){break h}}_a(a,1,500864,0);break a}b=Mp(q[a+20>>2],d,e);if((b|0)==-1){_a(a,2,499215,0);while(1){c=q[d>>2];b=q[d+4>>2]+ -1|0;if(b>>>0<=1){qc:{if(b-1){b=q[d+8>>2];tb(q[b+16>>2]);break qc}b=q[d+8>>2];e=q[b+8>>2];if(!e){break qc}tb(e)}La(b)}La(d);d=c;if(c){continue}break}break a}c=q[a+16>>2];if(q[c+32>>2]>=(b|0)){break a}q[c+32>>2]=b;break a}while(1){i=0;j=q[160937];if(j){break e}j=eb(b);c=q[160937];q[160937]=c?c:j;if(!c){break e}La(j);continue}}while(1){i=q[160936];if(i){break e}i=eb(b);c=q[160936];q[160936]=c?c:i;if(!c){break e}La(i);continue}}d=b;break c}b=0}c=q[a+20>>2];e=Op(q[c+4>>2]);q[a+20>>2]=e;l=q[c+16>>2];if(e){q[e+16>>2]=l}Np(q[a+20>>2],q[c+12>>2],q[c+8>>2]);e=q[c+20>>2];q[f+432>>2]=e;e=q[e+4>>2];q[f+440>>2]=0;q[f+436>>2]=e;if(q[f+432>>2]==q[c+20>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+20>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+20>>2],f+432|0,c)}e=q[c+24>>2];q[f+432>>2]=e;e=q[e+4>>2];q[f+440>>2]=0;q[f+436>>2]=e;if(q[f+432>>2]==q[c+24>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+24>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+24>>2],f+432|0,c)}e=q[c+28>>2];q[f+432>>2]=e;e=q[e+4>>2];q[f+440>>2]=0;q[f+436>>2]=e;if(q[f+432>>2]==q[c+28>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+28>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+28>>2],f+432|0,c)}nk(c);rc:{if(!ai(q[a+16>>2],d,g,!q[a+2856>>2])){q[a+8>>2]=1;break rc}c=lk(q[a+16>>2],d);sc:{if(!c|(!i|!h)){break sc}if(jL(c)){break sc}if($f(c)){e=Mg(i);if(!$f(e)){Tg(e)}La(e);tc:{if($f(i)){break tc}if(Vj(c,i)){break tc}if(!Gp(i,c)){break sc}}if(r[643756]){break sc}q[f+52>>2]=i;q[f+48>>2]=d;_a(a,1,500635,f+48|0);o[643756]=1;break sc}e=Mg(j);if(!$f(e)){Tg(e)}La(e);uc:{if(Aq(j)){break uc}if(Vj(c,j)){break uc}if(!Gp(j,c)){break sc}}if(r[643752]){break sc}q[f+36>>2]=j;q[f+32>>2]=d;_a(a,1,500635,f+32|0);o[643752]=1}if(!c){break rc}La(c)}uc(q[a>>2]+12|0);if(!b){break a}La(b);break a}uc(q[a>>2]+12|0);La(c)}Vp(a)}Da=f+576|0}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,p=0,s=0,t=0,u=0,w=0,x=0,z=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0;f=Da-96|0;Da=f;q[f+76>>2]=b;a:{b:{c:{if(b>>>0>=c>>>0){break c}b=q[f+76>>2];while(1){g=r[b|0];m=(g|0)!=92;d:{if((b|0)==(c|0)){h=b;break d}h=b;if((g|0)==92){break d}while(1){h=b+1|0;q[f+76>>2]=h;g=r[b+1|0];m=(g|0)!=92;if((c|0)==(h|0)){break d}b=h;if((g|0)!=92){continue}break}}if(m){b=h;break c}b=h+1|0;q[f+76>>2]=b;if((b|0)==(c|0)){j=c}else{fd(f+76|0);b=q[f+76>>2];j=b}e:{while(1){f:{q[f+72>>2]=b;g:{h=r[b|0];i=b;h:{if((h|0)==40){break h}i=b;if((h|0)==92){break h}if((b|0)!=(c|0)){break g}i=c}if((i|0)==(j|0)){break e}q[f+12>>2]=356105;q[f>>2]=356105;q[f+4>>2]=356105;q[f+20>>2]=356105;q[f+8>>2]=356105;q[f+28>>2]=356105;q[f+16>>2]=356105;q[f+36>>2]=356105;q[f+24>>2]=356105;q[f+44>>2]=356105;q[f+32>>2]=356105;q[f+52>>2]=356105;q[f+40>>2]=356105;q[f+60>>2]=356105;q[f+48>>2]=356105;q[f+56>>2]=356105;g=0;b=i;if(r[b|0]!=40){break f}while(1){b=b+1|0;q[f+72>>2]=b;m=c;if((b|0)!=(m|0)){fd(f+72|0);m=q[f+72>>2]}b=m;i:{j:{while(1){k:{h=r[b|0];j=h+ -41|0;if(j>>>0>3){if((h|0)==92){break j}break k}switch(j-1|0){case 2:break i;case 0:case 1:break k;default:break j}}if((b|0)!=(c|0)){b=b+1|0;continue}break}b=c;if((h|0)==44){break i}}while(1){l:{h=b;b=b+1|0;if((c|0)==(h|0)){break l}if(r[h|0]!=41){continue}}break}q[f+88>>2]=h;m:{if((g|0)>7){break m}nb(f+88|0,m);j=q[f+88>>2];if(j>>>0<=m>>>0){break m}n=(g<<3)+f|0;q[n+4>>2]=j;q[n>>2]=m;g=g+1|0}q[f+72>>2]=(c|0)!=(h|0)?b:h;j=q[f+76>>2];break f}q[f+88>>2]=b;if((g|0)>7){continue}nb(f+88|0,m);h=q[f+88>>2];if(h>>>0<=m>>>0){continue}j=(g<<3)+f|0;q[j+4>>2]=h;q[j>>2]=m;g=g+1|0;continue}}b=b+1|0;continue}break}n:{if(!Ra(j,356106,5)){b=j+5|0;q[f+76>>2]=b;q[f+88>>2]=i;o:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break o}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+368>>3]=B(d*v[f+80>>3]+(1-d)*v[a+368>>3],0);break n}v[a+368>>3]=v[q[a+212>>2]+88>>3];break n}if(!Ra(j,356112,5)){b=j+5|0;q[f+76>>2]=b;q[f+88>>2]=i;p:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break p}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+376>>3]=B(d*v[f+80>>3]+(1-d)*v[a+376>>3],0);break n}v[a+376>>3]=v[q[a+212>>2]+88>>3];break n}if(!Ra(j,356118,5)){b=j+5|0;q[f+76>>2]=b;q[f+88>>2]=i;q:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break q}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+440>>3]=d*v[f+80>>3]+(1-d)*v[a+440>>3];break n}v[a+440>>3]=v[q[a+212>>2]+96>>3];break n}if(!Ra(j,356124,5)){b=j+5|0;q[f+76>>2]=b;q[f+88>>2]=i;r:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break r}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+448>>3]=d*v[f+80>>3]+(1-d)*v[a+448>>3];break n}v[a+448>>3]=v[q[a+212>>2]+96>>3];break n}if(!Ra(j,356130,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;s:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break s}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+272>>3]=d*v[f+80>>3]+(1-d)*v[a+272>>3];break n}q[a+272>>2]=0;q[a+276>>2]=0;break n}if(!Ra(j,356134,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;t:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break t}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+280>>3]=d*v[f+80>>3]+(1-d)*v[a+280>>3];break n}q[a+280>>2]=0;q[a+284>>2]=0;break n}if(!Ra(j,356138,5)){q[f+76>>2]=j+5;if((g|0)==4){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);g=q[f+80>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[f+80>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);m=q[f+80>>2];o[a+416|0]=1;b=a;j=b;k=1-d;l=d*+(g|0)+k*+q[b+400>>2];u:{if(y(l)<2147483648){g=~~l;break u}g=-2147483648}q[j+400>>2]=g;g=a;l=d*+(i|0)+k*+q[b+408>>2];v:{if(y(l)<2147483648){i=~~l;break v}i=-2147483648}q[g+408>>2]=i;g=a;l=d*+(h|0)+k*+q[b+404>>2];w:{if(y(l)<2147483648){b=~~l;break w}b=-2147483648}q[g+404>>2]=b;k=d*+(m|0)+k*+q[a+412>>2];if(y(k)<2147483648){q[a+412>>2]=~~k;break n}q[a+412>>2]=-2147483648;break n}if(q[a+472>>2]){break n}b=g+ -1|0;if(b>>>0>1){break n}h=1;if((g|0)==2){g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2]}b=(b<<3)+f|0;g=q[b>>2];b=Fg(g,q[b+4>>2]-g|0);q[a+480>>2]=1;q[a+476>>2]=h;q[a+472>>2]=b;break n}if(!Ra(j,356144,4)){b=j+4|0;q[f+76>>2]=b;q[f+88>>2]=i;x:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break x}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+432>>3]=A(B(d*v[f+80>>3]+(1-d)*v[a+432>>3],0),100);break n}q[a+432>>2]=0;q[a+436>>2]=0;break n}if(!Ra(j,356149,4)){b=j+4|0;q[f+76>>2]=b;q[f+88>>2]=i;y:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break y}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+336>>3]=B(d*(v[f+80>>3]/100)+(1-d)*v[a+336>>3],0);break n}v[a+336>>3]=v[q[a+212>>2]+48>>3];break n}if(!Ra(j,356154,4)){b=j+4|0;q[f+76>>2]=b;q[f+88>>2]=i;z:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break z}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+344>>3]=B(d*(v[f+80>>3]/100)+(1-d)*v[a+344>>3],0);break n}v[a+344>>3]=v[q[a+212>>2]+56>>3];break n}if(!Ra(j,356159,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;A:{if((g|0)>7){break A}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break A}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[a+212>>2];g=q[b+52>>2];q[a+336>>2]=q[b+48>>2];q[a+340>>2]=g;g=q[b+60>>2];q[a+344>>2]=q[b+56>>2];q[a+348>>2]=g;break n}if(!Ra(j,356163,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;B:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break B}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+352>>3]=d*v[f+80>>3]+(1-d)*v[a+352>>3];break n}b=q[a+212>>2];g=q[b+68>>2];q[a+352>>2]=q[b+64>>2];q[a+356>>2]=g;break n}if(!Ra(j,356167,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;C:{D:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break D}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3];b=r[q[f>>2]]+ -43|0;l=(d*k/10+1)*v[a+224>>3];E:{if(!(b>>>0>2|!(b-1))){break E}l=d*k+(1-d)*v[a+224>>3]}if(!(l<=0)){break C}}l=v[q[a+212>>2]+8>>3]}if(!q[a+220>>2]){break n}v[a+224>>3]=l;break n}if(!Ra(j,356170,4)){b=j+4|0;q[f+76>>2]=b;q[f+88>>2]=i;F:{G:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break G}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=d*v[f+80>>3];t=1-d;l=B(k+t*v[a+376>>3],0);k=B(k+t*v[a+368>>3],0);break F}l=v[q[a+212>>2]+88>>3];k=l}v[a+376>>3]=l;v[a+368>>3]=k;break n}if(!Ra(j,356175,4)){q[f+76>>2]=j+4;if((g|2)!=6){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);l=v[f+80>>3];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);t=v[f+80>>3];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);G=v[f+80>>3];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);H=v[f+80>>3];i=0;s=0;h=0;p=0;if((g|0)==6){b=q[f+36>>2];q[f+88>>2]=q[f+32>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+84>>2];g=q[f+44>>2];q[f+88>>2]=q[f+40>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);m=q[f+80>>2];j=q[f+84>>2];g=j;g=(b|0)>(g|0)?1:(b|0)>=(g|0)?i>>>0<=m>>>0?0:1:0;h=g?m:i;p=g?j:b;s=g?b:j;i=g?i:m}m=q[a+168>>2];g=q[a+208>>2];j=q[g>>2];b=m-j|0;n=b;if(!(((s|0)>0?1:(s|0)>=0?i>>>0<=0?0:1:0)|((p|0)>0?1:(p|0)>=0?h>>>0<=0?0:1:0))){i=q[g+8>>2];s=q[g+12>>2];p=0;h=0}m=q[a+172>>2]-(q[g+4>>2]+(m>>>0>>0)|0)|0;g=m;k=0;H:{if((g|0)<(p|0)?1:(g|0)<=(p|0)?n>>>0>h>>>0?0:1:0){break H}k=1;if((m|0)>(s|0)?1:(m|0)>=(s|0)?b>>>0>>0?0:1:0){break H}g=h;k=(+(b-g>>>0)+4294967296*+(m-((b>>>0>>0)+p|0)|0))/(+(i-g>>>0)+4294967296*+(s-((i>>>0>>0)+p|0)|0))}if(q[a+288>>2]==1){break n}o[a+417|0]=0;q[a+288>>2]=1;v[a+304>>3]=t+(H-t)*k;v[a+296>>3]=l+(G-l)*k;break n}if(!Ra(j,356180,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;I:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break I}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+248>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+248>>3];break n}q[a+248>>2]=0;q[a+252>>2]=0;break n}if(!Ra(j,356184,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;J:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break J}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+256>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+256>>3];break n}q[a+256>>2]=0;q[a+260>>2]=0;break n}K:{L:{if(!Ra(j,356188,3)){b=j+3|0;q[f+76>>2]=b;break L}if(Ra(j,356192,2)){break K}b=j+2|0;q[f+76>>2]=b}q[f+88>>2]=i;M:{if((g|0)>7){break M}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break M}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+264>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+264>>3];break n}v[a+264>>3]=v[q[a+212>>2]+72>>3]*3.141592653589793/180;break n}if(!Ra(j,356195,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;N:{if((g|0)>7){break N}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break N}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f>>2];q[f+88>>2]=b;O:{P:{if(!g){break P}if(!Ra(b,356198,q[f+4>>2]-b|0)){break P}fd(f+88|0);b=q[f+88>>2];b=Fg(b,q[f+4>>2]-b|0);break O}b=eb(q[q[a+212>>2]+4>>2])}La(q[a+504>>2]);q[a+504>>2]=b;Bi(a);break n}if(!Ra(j,356200,5)){b=j+5|0;q[f+76>>2]=b;q[f+88>>2]=i;Q:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Q}}b=a;h=b;k=d*+(Yg(q[f>>2])|0);l=1-d;t=k+l*+r[b+384|0];R:{if(t<4294967296&t>=0){g=~~t>>>0;break R}g=0}o[h+384|0]=g;h=a;t=k+l*+r[b+388|0];S:{if(t<4294967296&t>=0){g=~~t>>>0;break S}g=0}o[h+388|0]=g;h=a;t=k+l*+r[b+392|0];T:{if(t<4294967296&t>=0){b=~~t>>>0;break T}b=0}o[h+392|0]=b;k=k+l*+r[a+396|0];if(k<4294967296&k>=0){o[a+396|0]=~~k>>>0;break n}o[a+396|0]=0;break n}b=q[a+212>>2];o[a+384|0]=q[b+16>>2];o[a+388|0]=q[b+20>>2];o[a+392|0]=q[b+24>>2];o[a+396|0]=q[b+28>>2];break n}if(!Ra(j,356206,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;U:{if((g|0)>7){break U}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break U}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[a+216>>2];if(b&2){break n}g=q[f+80>>2];V:{if(g+ -1>>>0<=8){J=a,K=cs(g),q[J+236>>2]=K;b=q[a+216>>2];break V}q[a+236>>2]=q[q[a+212>>2]+104>>2]}q[a+216>>2]=b|2;break n}b=r[j|0];if((b|0)==97){b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;W:{if((g|0)>7){break W}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break W}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[a+216>>2];if(h&2){break n}b=a;g=q[f+80>>2];X:{if(g+ -1>>>0<=10){g=g&3?g:5;break X}g=q[q[a+212>>2]+104>>2]}q[b+236>>2]=g;q[a+216>>2]=h|2;break n}if(!Ra(j,356209,3)){q[f+76>>2]=j+3;if((g|0)!=2){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+84>>2];h=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=h;Fb(f+88|0,f+80|0);if(q[a+288>>2]==1){hb(q[a>>2],6,356213,0);break n}h=q[f+80>>2];i=q[f+84>>2];o[a+417|0]=0;q[a+288>>2]=1;q[a+304>>2]=h;q[a+308>>2]=i;q[a+296>>2]=b;q[a+300>>2]=g;break n}h=4;Y:{if(Ra(j,356267,4)){h=3;if(Ra(j,356272,3)){break Y}}q[f+76>>2]=h+j;b=g+ -2|0;if(b>>>0>5){break n}Z:{_:{switch(b-1|0){default:b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);x=q[f+80>>2];z=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);g=q[f+80>>2];w=q[f+84>>2];j=0;m=255;h=-1;p=-1;b=255;s=-1;i=-1;break Z;case 4:break _;case 0:case 1:case 2:case 3:break n}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);j=q[f+80>>2];g=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);m=q[f+80>>2];g=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];g=q[f+36>>2];q[f+88>>2]=q[f+32>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);x=q[f+80>>2];z=q[f+84>>2];g=q[f+44>>2];q[f+88>>2]=q[f+40>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);g=q[f+80>>2];w=q[f+84>>2];i=q[f+52>>2];q[f+88>>2]=q[f+48>>2];q[f+92>>2]=i;Fd(f+88|0,f+80|0);s=q[f+84>>2];i=q[f+80>>2]}if((i&h)==-1&(p&s)==-1){n=q[a+208>>2];i=q[n+8>>2];h=g;g=i-g|0;s=q[n+12>>2];w=s-((i>>>0>>0)+w|0)|0;p=0;h=0}C=q[a+216>>2];if(C&1){break n}u=q[a+168>>2];D=q[a+208>>2];E=q[D>>2];n=u-E|0;u=q[a+172>>2]-(q[D+4>>2]+(u>>>0>>0)|0)|0;$:{if((u|0)<(p|0)?1:(u|0)<=(p|0)?n>>>0>=h>>>0?0:1:0){break $}aa:{if((u|0)<(z|0)?1:(u|0)<=(z|0)?n>>>0>=x>>>0?0:1:0){g=h;k=(+(n-g>>>0)+4294967296*+(u-((n>>>0>>0)+p|0)|0))/(+(x-g>>>0)+4294967296*+(z-((x>>>0>>0)+p|0)|0));k=k*+(j|0)+(1-k)*+(b|0);if(!(y(k)<2147483648)){break aa}b=~~k;break $}if((u|0)<(w|0)?1:(u|0)<=(w|0)?n>>>0>=g>>>0?0:1:0){b=j;break $}if((u|0)>(s|0)?1:(u|0)>=(s|0)?n>>>0>>0?0:1:0){b=m;break $}b=g;k=(+(n-b>>>0)+4294967296*+(u-((n>>>0>>0)+w|0)|0))/(+(i-b>>>0)+4294967296*+(s-((i>>>0>>0)+w|0)|0));k=k*+(m|0)+(1-k)*+(j|0);if(!(y(k)<2147483648)){break aa}b=~~k;break $}b=-2147483648}q[a+420>>2]=b;q[a+216>>2]=C|1;break n}if(!Ra(j,356276,3)){q[f+76>>2]=j+3;if((g|0)!=2){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+84>>2];h=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=h;Fb(f+88|0,f+80|0);if(r[a+328|0]){break n}h=q[f+80>>2];i=q[f+84>>2];o[a+417|0]=0;o[a+328|0]=1;q[a+320>>2]=h;q[a+324>>2]=i;q[a+312>>2]=b;q[a+316>>2]=g;break n}ba:{ca:{if((b|0)==116){q[f+76>>2]=j+1;da:{ea:{b=g+ -2|0;k=1;fa:{if(b>>>0>2){break fa}ga:{switch(b-1|0){case 0:b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];s=q[f+84>>2];k=1;break da;case 1:break ea;default:break ga}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3]}o[a+417|0]=0;h=0;p=0;break ca}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];s=q[f+84>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3]}o[a+417|0]=0;if(!(i|s)){break ca}b=q[a+208>>2];break ba}if(!Ra(j,356326,4)){q[f+76>>2]=j+4;if((g|0)==4){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);g=q[f+80>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[f+80>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);m=q[f+80>>2];o[a+416|0]=0;b=a;j=b;k=1-d;l=d*+(g|0)+k*+q[b+400>>2];ha:{if(y(l)<2147483648){g=~~l;break ha}g=-2147483648}q[j+400>>2]=g;g=a;l=d*+(i|0)+k*+q[b+408>>2];ia:{if(y(l)<2147483648){i=~~l;break ia}i=-2147483648}q[g+408>>2]=i;g=a;l=d*+(h|0)+k*+q[b+404>>2];ja:{if(y(l)<2147483648){b=~~l;break ja}b=-2147483648}q[g+404>>2]=b;k=d*+(m|0)+k*+q[a+412>>2];if(y(k)<2147483648){q[a+412>>2]=~~k;break n}q[a+412>>2]=-2147483648;break n}if(q[a+472>>2]){break n}b=g+ -1|0;if(b>>>0>1){break n}h=1;if((g|0)==2){g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2]}b=(b<<3)+f|0;g=q[b>>2];b=Fg(g,q[b+4>>2]-g|0);q[a+480>>2]=0;q[a+476>>2]=h;q[a+472>>2]=b;break n}ka:{la:{if((b|0)==99){b=j+1|0;q[f+76>>2]=b;break la}if(Ra(j,356331,2)){break ka}b=j+2|0;q[f+76>>2]=b}q[f+88>>2]=i;ma:{if((g|0)>7){break ma}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break ma}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){h=Gi(q[f>>2]);k=1-d;g=q[a+384>>2];l=d*+((h>>>16&255)>>>0)+k*+((g>>>16&255)>>>0);na:{if(l<4294967296&l>=0){b=~~l>>>0;break na}b=0}m=b<<16;b=a;i=g&255;l=d*+(h>>>24>>>0)+k*+(g>>>24>>>0);oa:{if(l<4294967296&l>=0){j=~~l>>>0;break oa}j=0}i=i|j<<24|m;k=d*+((h>>>8&255)>>>0)+k*+((g>>>8&255)>>>0);pa:{if(k<4294967296&k>=0){h=~~k>>>0;break pa}h=0}q[b+384>>2]=i|h<<8;break n}b=q[q[a+212>>2]+16>>2];q[a+384>>2]=r[a+384|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(j,356334,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;qa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break qa}}h=Gi(q[f>>2]);k=1-d;g=q[a+388>>2];l=d*+((h>>>16&255)>>>0)+k*+((g>>>16&255)>>>0);ra:{if(l<4294967296&l>=0){b=~~l>>>0;break ra}b=0}m=b<<16;b=a;i=g&255;l=d*+(h>>>24>>>0)+k*+(g>>>24>>>0);sa:{if(l<4294967296&l>=0){j=~~l>>>0;break sa}j=0}i=i|j<<24|m;k=d*+((h>>>8&255)>>>0)+k*+((g>>>8&255)>>>0);ta:{if(k<4294967296&k>=0){h=~~k>>>0;break ta}h=0}q[b+388>>2]=i|h<<8;break n}b=q[q[a+212>>2]+20>>2];q[a+388>>2]=r[a+388|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(j,356337,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;ua:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break ua}}h=Gi(q[f>>2]);k=1-d;g=q[a+392>>2];l=d*+((h>>>16&255)>>>0)+k*+((g>>>16&255)>>>0);va:{if(l<4294967296&l>=0){b=~~l>>>0;break va}b=0}m=b<<16;b=a;i=g&255;l=d*+(h>>>24>>>0)+k*+(g>>>24>>>0);wa:{if(l<4294967296&l>=0){j=~~l>>>0;break wa}j=0}i=i|j<<24|m;k=d*+((h>>>8&255)>>>0)+k*+((g>>>8&255)>>>0);xa:{if(k<4294967296&k>=0){h=~~k>>>0;break xa}h=0}q[b+392>>2]=i|h<<8;break n}b=q[q[a+212>>2]+24>>2];q[a+392>>2]=r[a+392|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(j,356340,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;ya:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break ya}}h=Gi(q[f>>2]);k=1-d;g=q[a+396>>2];l=d*+((h>>>16&255)>>>0)+k*+((g>>>16&255)>>>0);za:{if(l<4294967296&l>=0){b=~~l>>>0;break za}b=0}m=b<<16;b=a;i=g&255;l=d*+(h>>>24>>>0)+k*+(g>>>24>>>0);Aa:{if(l<4294967296&l>=0){j=~~l>>>0;break Aa}j=0}i=i|j<<24|m;k=d*+((h>>>8&255)>>>0)+k*+((g>>>8&255)>>>0);Ba:{if(k<4294967296&k>=0){h=~~k>>>0;break Ba}h=0}q[b+396>>2]=i|h<<8;break n}b=q[q[a+212>>2]+28>>2];q[a+396>>2]=r[a+396|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(j,356343,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ca:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ca}}k=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+384|0];if(k<4294967296&k>=0){o[a+384|0]=~~k>>>0;break n}o[a+384|0]=0;break n}o[a+384|0]=q[q[a+212>>2]+16>>2];break n}if(!Ra(j,356346,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Da:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Da}}k=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+388|0];if(k<4294967296&k>=0){o[a+388|0]=~~k>>>0;break n}o[a+388|0]=0;break n}o[a+388|0]=q[q[a+212>>2]+20>>2];break n}if(!Ra(j,356349,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ea:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ea}}k=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+392|0];if(k<4294967296&k>=0){o[a+392|0]=~~k>>>0;break n}o[a+392|0]=0;break n}o[a+392|0]=q[q[a+212>>2]+24>>2];break n}if(!Ra(j,356352,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Fa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Fa}}k=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+396|0];if(k<4294967296&k>=0){o[a+396|0]=~~k>>>0;break n}o[a+396|0]=0;break n}o[a+396|0]=q[q[a+212>>2]+28>>2];break n}if((b|0)==114){b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Ga:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ga}}b=q[f>>2];ul(a,nP(q[a+160>>2],b,q[f+4>>2]-b|0));break n}ul(a,0);break n}if(!Ra(j,356355,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ha:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ha}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=a;h=b;k=d*v[f+80>>3]+(1-d)*+o[b+424|0]+.5;Ia:{if(y(k)<2147483648){g=~~k;break Ia}g=-2147483648}b=(g|0)>0?g:0;o[h+424|0]=(b|0)<127?b:127;break n}o[a+424|0]=0;break n}Ja:{h=b+ -98|0;if(h>>>0>7){break Ja}Ka:{switch(h-1|0){default:b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;La:{if((g|0)>7){break La}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break La}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);Ma:{if(g){b=q[f+80>>2];if(b>>>0<2|(b|0)>99){break Ma}}b=q[q[a+212>>2]+32>>2]}q[a+508>>2]=b;Bi(a);break n;case 0:case 1:case 2:case 3:case 4:case 5:break Ja;case 6:break Ka}}b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Na:{if((g|0)>7){break Na}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break Na}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);Oa:{if(g){b=q[f+80>>2];if(b>>>0<2){break Oa}}b=q[q[a+212>>2]+36>>2]}q[a+512>>2]=b;Bi(a);break n}Pa:{Qa:{if(!Ra(j,356358,2)){b=j+2|0;q[f+76>>2]=b;break Qa}if((b|0)!=75){break Pa}b=j+1|0;q[f+76>>2]=b}q[f+88>>2]=i;Ra:{if((g|0)>7){break Ra}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break Ra}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3]}else{k=100}q[a+484>>2]=2;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}k=k*10;if(y(k)<2147483648){q[a+488>>2]=~~k;break n}q[a+488>>2]=-2147483648;break n}if(!Ra(j,356361,2)){b=j+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Sa:{Ta:{if((g|0)>=8){break Ta}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){break Ta}k=100;break Sa}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3]}q[a+484>>2]=3;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}k=k*10;if(y(k)<2147483648){q[a+488>>2]=~~k;break n}q[a+488>>2]=-2147483648;break n}if((b|0)==107){b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Ua:{Va:{if((g|0)>=8){break Va}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){break Va}k=100;break Ua}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=v[f+80>>3]}q[a+484>>2]=1;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}k=k*10;if(y(k)<2147483648){q[a+488>>2]=~~k;break n}q[a+488>>2]=-2147483648;break n}if(!Ra(j,356364,4)){b=j+4|0;q[f+76>>2]=b;q[f+88>>2]=i;Wa:{Xa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Xa}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);k=d*v[f+80>>3];t=1-d;l=B(k+t*v[a+448>>3],0);k=B(k+t*v[a+440>>3],0);break Wa}k=v[q[a+212>>2]+96>>3];l=k}v[a+448>>3]=l;v[a+440>>3]=k;break n}Ya:{h=b+ -115|0;if(h>>>0>2){break Ya}Za:{switch(h-1|0){default:b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;_a:{if((g|0)>7){break _a}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break _a}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);$a:{if(g){b=q[f+80>>2];if(b>>>0<2){break $a}}b=q[q[a+212>>2]+44>>2]}g=q[a+232>>2];q[a+232>>2]=b?g|2:g&-3;break n;case 0:break Ya;case 1:break Za}}b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;ab:{if((g|0)>7){break ab}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break ab}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);bb:{if(g){b=q[f+80>>2];if(b>>>0<2){break bb}}b=q[q[a+212>>2]+40>>2]}g=q[a+232>>2];q[a+232>>2]=b?g|1:g&-2;break n}if(!Ra(j,356369,3)){b=j+3|0;q[f+76>>2]=b;q[f+88>>2]=i;cb:{if((g|0)>7){break cb}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break cb}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+84>>2];q[a+464>>2]=q[f+80>>2];q[a+468>>2]=b;break n}b=b+ -112|0;if(b>>>0<=1){if(b-1){b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;db:{if((g|0)>7){break db}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break db}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[f+80>>2];q[a+456>>2]=(b|0)>0?b:0;break n}b=j+1|0;q[f+76>>2]=b;q[f+88>>2]=i;eb:{if((g|0)>7){break eb}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break eb}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);fb:{if(g){b=q[f+80>>2];if(b>>>0<4){break fb}}b=q[q[a+160>>2]+56>>2]}q[a+520>>2]=b;break n}if(Ra(j,356373,2)){break n}h=j+2|0;q[f+76>>2]=h;q[f+88>>2]=i;b=a;gb:{hb:{if((g|0)<8){nb(f+88|0,h);i=q[f+88>>2];if(i>>>0>h>>>0){m=(g<<3)+f|0;q[m+4>>2]=i;q[m>>2]=h;g=g+1|0}if(!g){break hb}}g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2];break gb}h=q[q[a+212>>2]+120>>2]}q[b+524>>2]=h;break n}b=q[a+208>>2];i=q[b+8>>2];s=q[b+12>>2]}j=q[a+168>>2];n=q[b>>2];m=j-n|0;n=q[a+172>>2]-(q[b+4>>2]+(j>>>0>>0)|0)|0;b=n;l=0;ib:{if((b|0)<(p|0)?1:(b|0)<=(p|0)?m>>>0>=h>>>0?0:1:0){break ib}l=1;if((n|0)>(s|0)?1:(n|0)>=(s|0)?m>>>0>>0?0:1:0){break ib}b=s-((i>>>0>>0)+p|0)|0;j=i-h|0;i=b;if(!(b|j)){break b}l=vG((+(m-h>>>0)+4294967296*+(n-((m>>>0>>0)+p|0)|0))/(+(j>>>0)+4294967296*+(i|0)),k)}k=l;d=e&1?k:d;b=g+ -1|0;if(b>>>0>3){break n}g=(b<<3)+f|0;b=q[g>>2];q[f+76>>2]=b;g=q[g+4>>2];if(g>>>0>>0){J=f,K=Ir(a,b,g,k,1),q[J+76>>2]=K;break n}if(q[f+72>>2]!=(c|0)){break a}q[f+72>>2]=b;e=1;d=k}b=q[f+72>>2]}q[f+76>>2]=b;if(b>>>0>>0){continue}break}}Da=f+96|0;return b}I(356280,356294,637,356306);F()}I(356317,356294,648,356306);F()}function _f(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0;m=Da-16|0;Da=m;q[m+4>>2]=f;j=q[a+352>>2];a:{if(q[a+144>>2]==(b|0)){D=a+284|0;A=a+288|0;break a}D=q[a+296>>2];A=D+4|0}x=a+424|0;v=a+412|0;H=a+288|0;J=a+284|0;E=j+132|0;u=j+92|0;y=j+80|0;G=a+252|0;b:{c:{d:{e:{while(1){f:{q[D>>2]=c;k=q[m+4>>2];q[A>>2]=k;g:{if((e|0)>0){f=e;break g}if(e?h:0){break c}f=15;h:{z=e+15|0;if(z>>>0>15){break h}l=6;s=5;i:{switch(z-1|0){case 14:q[D>>2]=k;l=4;break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break h;case 10:break i;case 12:break b;case 13:break f;default:break g}}if(q[a+144>>2]!=(b|0)){if(!r[q[a+296>>2]+20|0]){break c}break d}if(r[a+484|0]){break d}l=3;break b}q[m+4>>2]=d;f=0-e|0;k=d}l=1;B=n[q[G>>2]](G,f,c,k,b)|0;e=B+1|0;j:{k:{if(e>>>0>61){break k}k=0;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:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{switch(e-1|0){case 1:s=gq(a,0,c,q[m+4>>2]);if(s){break f}b=q[a+144>>2];break j;case 4:xa:{if(!q[a+84>>2]){e=1;break xa}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break e}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break e}break}if(!q[a+428>>2]){break e}f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(v)){break e}f=q[x>>2]}s=1;q[a+424>>2]=f+1;e=0;o[f|0]=0;f=q[a+428>>2];q[a+316>>2]=f;if(!f){break f}q[a+324>>2]=0;q[a+428>>2]=q[a+424>>2]}q[a+320>>2]=0;if(e){break k}break j;case 7:e=q[a+84>>2];if(!e){break k}n[e](q[a+4>>2],q[a+316>>2],q[a+320>>2],q[a+324>>2],1);q[a+316>>2]=0;f=q[a+416>>2];ya:{if(!f){q[a+416>>2]=q[a+412>>2];break ya}c=q[v>>2];if(!c){break ya}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j;case 57:s=gq(a,1,c,q[m+4>>2]);if(s){break f}b=q[a+144>>2];break j;case 39:break x;case 33:break y;case 17:break z;case 11:break A;case 3:break B;case 0:break C;case 56:break D;case 55:break E;case 45:break F;case 48:break G;case 46:break H;case 47:break I;case 51:break K;case 53:break L;case 54:break M;case 52:break N;case 43:break O;case 41:case 42:break P;case 40:break Q;case 59:case 60:break R;case 49:break S;case 50:break T;case 44:break U;case 58:break V;case 20:break X;case 19:break Y;case 21:break Z;case 18:break _;case 10:break $;case 9:break aa;case 16:break ba;case 15:break ca;case 13:break da;case 5:break ea;case 12:break fa;case 37:case 38:break ga;case 35:case 36:break ha;case 31:case 32:break ia;case 30:break ja;case 29:break ka;case 28:break la;case 27:break ma;case 26:break na;case 25:break oa;case 24:break pa;case 23:break qa;case 22:break ra;case 34:break sa;case 2:break ta;case 8:break ua;case 14:break va;case 6:break wa;default:break W}}o[a+485|0]=0;e=ic(a,E,498158,36);q[a+312>>2]=e;if(!e){break b}o[j+129|0]=1;if(!q[a+84>>2]){break va}if(!n[q[b+52>>2]](b,c,q[m+4>>2],D)){l=32;break b}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}e=e-f|0;za:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break za}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;f=q[a+428>>2];if(!f){break f}s=f;k=f;e=f;l=r[e|0];Aa:{if(!l){break Aa}while(1){e=k;z=s;k=(l<<24>>24)+ -10|0;Ba:{if(!(k>>>0>22|!(1<>2]=f;q[a+428>>2]=q[a+424>>2];break m}if(n[q[b+52>>2]](b,c,q[m+4>>2],D)){break m}l=32;break b}if((i|0)!=1){l=4;break b}e=q[a+316>>2];if(e){n[q[a+84>>2]](q[a+4>>2],e,q[a+320>>2],q[a+324>>2],0);k=q[a+416>>2];Ca:{if(!k){q[a+416>>2]=q[a+412>>2];break Ca}e=q[v>>2];if(!e){break Ca}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;l=0}if(!(r[a+485|0]?0:!q[a+320>>2])){f=r[j+129|0];o[j+129|0]=1;Da:{if(!q[a+488>>2]|!q[a+112>>2]){break Da}e=ic(a,E,498158,36);if(!e){l=1;break b}if(r[a+485|0]){q[e+20>>2]=q[a+356>>2]}o[j+131|0]=0;if(!n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])){l=21;break b}if(r[j+131|0]){if(r[j+130|0]){break Da}e=q[a+108>>2];if(!e){break Da}if(n[e](q[a+4>>2])){break Da}l=22;break b}if(q[a+320>>2]){break Da}o[j+129|0]=f}o[a+485|0]=0}e=q[a+88>>2];if(!e){break l}n[e](q[a+4>>2]);break j}Ea:{if(!r[a+485|0]){break Ea}e=r[j+129|0];o[j+129|0]=1;if(!q[a+488>>2]|!q[a+112>>2]){break Ea}b=ic(a,E,498158,36);if(!b){break b}q[b+20>>2]=q[a+356>>2];o[j+131|0]=0;if(!n[q[a+112>>2]](q[a+116>>2],0,q[b+20>>2],q[b+16>>2],q[b+24>>2])){l=21;break b}if(r[j+131|0]){if(r[j+130|0]){break Ea}b=q[a+108>>2];if(!b){break Ea}if(n[b](q[a+4>>2])){break Ea}l=22;break b}o[j+129|0]=e}q[a+276>>2]=966;l=We(a,0,q[a+144>>2],c,d,g,!r[a+480|0]);if(l){break b}b=q[a+360>>2];if(!b){l=0;break b}while(1){f=q[b+4>>2];c=q[b+36>>2];d=q[b+24>>2]+1|0;k=c+d|0;if((f|0)==(k|0)){l=0;break b}l=q[b+8>>2];e=d+l|0;if((e|0)>(q[b+40>>2]-c|0)){c=n[q[a+16>>2]](c,e)|0;if(!c){l=1;break b}f=q[b+36>>2];if((f|0)==q[b+12>>2]){q[b+12>>2]=c}g=q[b+16>>2];if(g){q[b+16>>2]=c+(g-f|0)}q[b+36>>2]=c;q[b+40>>2]=c+e;k=c+d|0;l=q[b+8>>2];f=q[b+4>>2]}K=b,L=Qa(k,f,l),q[K+4>>2]=L;b=q[b>>2];if(b){continue}break}l=0;break b}e=q[a+352>>2];l=q[m+4>>2];q[m+12>>2]=c;f=e+80|0;k=e+92|0;Fa:{if(!q[k>>2]){if(!Ya(f)){break Fa}}while(1){if(n[q[b+56>>2]](b,m+12|0,l,k,q[e+88>>2])>>>0>=2){if(Ya(f)){continue}break Fa}break}if(!q[e+96>>2]){break Fa}l=q[e+92>>2];if((l|0)==q[e+88>>2]){if(!Ya(f)){break Fa}l=q[k>>2]}q[e+92>>2]=l+1;o[l|0]=0;k=q[e+96>>2];if(!k){break Fa}f=ic(a,e+20|0,k,24);if(!f){break Fa}if((k|0)!=q[f>>2]){q[e+92>>2]=q[e+96>>2];break o}q[e+96>>2]=q[e+92>>2];if(ci(a,f)){break o}}q[a+340>>2]=0;l=1;break b}e=wk(a,b,c,q[m+4>>2]);q[a+344>>2]=e;if(!e){break b}q[a+328>>2]=0;p[a+348>>1]=0;break n}q[a+328>>2]=498160;o[a+348|0]=1;break n}q[a+328>>2]=498166;o[a+349|0]=1;break n}q[a+328>>2]=498169;break n}q[a+328>>2]=498175;break n}q[a+328>>2]=498182;break n}q[a+328>>2]=498189;break n}q[a+328>>2]=498198;break n}q[a+328>>2]=498206;break n}if(!r[j+128|0]|!q[a+132>>2]){break k}e=q[a+328>>2]?498225:(B|0)==32?498215:498227;f=r[e|0];if(f){while(1){k=q[a+424>>2];if((k|0)==q[a+420>>2]){if(!Ya(v)){break b}k=q[x>>2];f=r[e|0]}q[x>>2]=k+1;o[k|0]=f;f=r[e+1|0];e=e+1|0;if(f){continue}break}}s=1;if(!q[a+428>>2]){break f}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break b}}Ga:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break Ga}if(Ya(v)){continue}break}break b}c=q[a+428>>2];if(!c){break f}q[a+328>>2]=c;break j}if(!r[j+128|0]){break k}s=r[a+348|0];l=q[a+344>>2];f=q[a+340>>2];k=q[f+12>>2];Ha:{Ia:{if(!r[a+349|0]){break Ia}if((k|0)>=1){z=q[f+20>>2];e=0;while(1){if((l|0)==q[z+w(e,12)>>2]){break Ha}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(q[f+8>>2]|r[l+9|0]){break Ia}q[f+8>>2]=l}Ja:{if((k|0)!=q[f+16>>2]){e=q[f+20>>2];break Ja}if(!k){q[f+16>>2]=8;e=n[q[a+12>>2]](96)|0;q[f+20>>2]=e;if(e){break Ja}q[f+16>>2]=0;l=1;break b}e=n[q[a+16>>2]](q[f+20>>2],w(k,24))|0;if(!e){l=1;break b}q[f+20>>2]=e;q[f+16>>2]=k<<1}e=w(q[f+12>>2],12)+e|0;q[e+8>>2]=0;q[e>>2]=l;o[e+4|0]=s;if(!s){o[l+8|0]=1}q[f+12>>2]=q[f+12>>2]+1}if(!q[a+132>>2]){break k}e=q[a+328>>2];if(!e){break k}f=r[e|0];if(!((f|0)!=78|r[e+1|0]!=79?(f|0)!=40:0)){e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){l=1;break b}e=q[x>>2]}s=1;q[a+424>>2]=e+1;o[e|0]=41;e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;q[a+328>>2]=q[a+428>>2];q[a+428>>2]=q[a+424>>2]}q[A>>2]=c;n[q[a+132>>2]](q[a+4>>2],q[q[a+340>>2]>>2],q[q[a+344>>2]>>2],q[a+328>>2],0,(B|0)==36);f=q[a+416>>2];Ka:{if(!f){q[a+416>>2]=q[a+412>>2];break Ka}c=q[v>>2];if(!c){break Ka}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j}if(!r[j+128|0]){break k}f=r[a+348|0];e=q[b+64>>2];s=vk(a,b,f,e+c|0,q[m+4>>2]-e|0,y);if(s){break f}e=q[u>>2];La:{if((e|0)==q[j+96>>2]|f){break La}f=e+ -1|0;if(r[f|0]!=32){break La}q[u>>2]=f;e=f}if(q[j+88>>2]==(e|0)){if(!Ya(y)){break b}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;l=q[j+96>>2];q[j+96>>2]=q[u>>2];z=r[a+348|0];s=q[a+344>>2];f=q[a+340>>2];k=q[f+12>>2];Ma:{if(!(!l|(k|0)<1)){C=q[f+20>>2];e=0;while(1){if((s|0)==q[C+w(e,12)>>2]){break Ma}e=e+1|0;if((k|0)!=(e|0)){continue}break}}Na:{if((k|0)!=q[f+16>>2]){e=q[f+20>>2];break Na}if(!k){q[f+16>>2]=8;e=n[q[a+12>>2]](96)|0;q[f+20>>2]=e;if(e){break Na}q[f+16>>2]=0;l=1;break b}e=n[q[a+16>>2]](q[f+20>>2],w(k,24))|0;if(!e){l=1;break b}q[f+20>>2]=e;q[f+16>>2]=k<<1}e=w(q[f+12>>2],12)+e|0;q[e+8>>2]=l;q[e>>2]=s;o[e+4|0]=z;if(!z){o[s+8|0]=1}q[f+12>>2]=q[f+12>>2]+1}if(!q[a+132>>2]){break k}e=q[a+328>>2];if(!e){break k}f=r[e|0];if(!((f|0)!=78|r[e+1|0]!=79?(f|0)!=40:0)){e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){l=1;break b}e=q[x>>2]}s=1;q[a+424>>2]=e+1;o[e|0]=41;e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;q[a+328>>2]=q[a+428>>2];q[a+428>>2]=q[a+424>>2]}q[A>>2]=c;n[q[a+132>>2]](q[a+4>>2],q[q[a+340>>2]>>2],q[q[a+344>>2]>>2],q[a+328>>2],l,(B|0)==38);f=q[a+416>>2];Oa:{if(!f){q[a+416>>2]=q[a+412>>2];break Oa}c=q[v>>2];if(!c){break Oa}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j}if(!r[j+128|0]){break k}e=q[b+64>>2];s=fq(a,b,e+c|0,q[m+4>>2]-e|0);e=q[j+120>>2];f=q[a+312>>2];Pa:{if(f){q[f+4>>2]=e;q[q[a+312>>2]+8>>2]=q[j+116>>2]-q[j+120>>2];q[j+120>>2]=q[j+116>>2];if(!q[a+136>>2]){break Pa}q[A>>2]=c;l=0;e=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[e>>2],r[e+33|0],q[e+4>>2],q[e+8>>2],q[a+356>>2],0,0,0);if(s){break f}break l}q[j+116>>2]=e}if(s){break f}break l}o[a+485|0]=0;o[j+129|0]=1;Qa:{if(q[a+84>>2]){e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break p}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break p}break}if(!q[a+428>>2]){break p}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break p}e=q[x>>2]}s=1;q[a+424>>2]=e+1;l=0;o[e|0]=0;e=q[a+428>>2];q[a+320>>2]=e;if(!e){break f}q[a+428>>2]=q[a+424>>2];break Qa}q[a+320>>2]=498158}Ra:{if(r[j+130|0]|q[a+488>>2]){break Ra}e=q[a+108>>2];if(!e){break Ra}if(n[e](q[a+4>>2])){break Ra}l=22;break b}if(q[a+312>>2]){break da}e=ic(a,E,498158,36);q[a+312>>2]=e;if(!e){l=1;break b}q[e+24>>2]=0}if(!r[j+128|0]|!q[a+312>>2]){break l}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;Sa:{Ta:{Ua:{if(!q[u>>2]){if(!Ya(y)){break Ua}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Ta}if(Ya(y)){continue}break}}e=0;break Sa}e=0;if(!q[j+96>>2]){break Sa}f=q[j+92>>2];if((f|0)==q[j+88>>2]){if(!Ya(y)){break Sa}f=q[u>>2]}q[u>>2]=f+1;o[f|0]=0;e=q[j+96>>2]}q[q[a+312>>2]+16>>2]=e;e=q[a+312>>2];if(!q[e+16>>2]){l=1;break b}q[e+20>>2]=q[a+356>>2];q[j+96>>2]=q[u>>2];if(!q[a+136>>2]|(B|0)!=13){break l}break j}if(!q[a+136>>2]|(!r[j+128|0]|!q[a+312>>2])){break k}q[A>>2]=c;c=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[c>>2],r[c+33|0],0,0,q[c+20>>2],q[c+16>>2],q[c+24>>2],0);break j}if(!r[j+128|0]|!q[a+312>>2]){break k}e=q[m+4>>2];q[m+12>>2]=c;Va:{Wa:{Xa:{if(!q[u>>2]){if(!Ya(y)){break Xa}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Wa}if(Ya(y)){continue}break}}e=0;break Va}e=0;if(!q[j+96>>2]){break Va}f=q[j+92>>2];if((f|0)==q[j+88>>2]){if(!Ya(y)){break Va}f=q[u>>2]}q[u>>2]=f+1;o[f|0]=0;e=q[j+96>>2]}q[q[a+312>>2]+28>>2]=e;if(!q[q[a+312>>2]+28>>2]){break b}q[j+96>>2]=q[u>>2];if(q[a+92>>2]){q[A>>2]=c;c=q[a+312>>2];n[q[a+92>>2]](q[a+4>>2],q[c>>2],q[c+20>>2],q[c+16>>2],q[c+24>>2],q[c+28>>2]);break j}if(!q[a+136>>2]){break k}q[A>>2]=c;c=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[c>>2],0,0,0,q[c+20>>2],q[c+16>>2],q[c+24>>2],q[c+28>>2]);break j}if(n[q[b+44>>2]](b,c,q[m+4>>2])){q[a+312>>2]=0;break k}if(!r[j+128|0]){break w}e=q[m+4>>2];q[m+12>>2]=c;if(!q[u>>2]){if(!Ya(y)){break b}}Ya:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Ya}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;e=q[j+96>>2];if(!e){break f}f=ic(a,j,e,36);q[a+312>>2]=f;if(!f){break f}if((e|0)!=q[f>>2]){q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[j+96>>2]=q[u>>2];q[q[a+312>>2]+24>>2]=0;o[q[a+312>>2]+33|0]=0;o[q[a+312>>2]+34|0]=(q[a+472>>2]?1:q[a+296>>2]!=0)^1;if(!q[a+136>>2]){break k}break j}if(r[j+128|0]){e=q[m+4>>2];q[m+12>>2]=c;if(!q[u>>2]){if(!Ya(y)){break b}}Za:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Za}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;e=q[j+96>>2];if(!e){break f}f=ic(a,E,e,36);q[a+312>>2]=f;if(!f){break f}if((e|0)!=q[f>>2]){q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[j+96>>2]=q[u>>2];q[q[a+312>>2]+24>>2]=0;o[q[a+312>>2]+33|0]=1;o[q[a+312>>2]+34|0]=(q[a+472>>2]?1:q[a+296>>2]!=0)^1;if(!q[a+136>>2]){break k}break j}q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[a+332>>2]=0;q[a+336>>2]=0;if(!q[a+96>>2]){break k}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break q}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break q}break}if(!q[a+428>>2]){break q}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(v)){break q}c=q[x>>2]}s=1;q[a+424>>2]=c+1;o[c|0]=0;c=q[a+428>>2];q[a+332>>2]=c;if(!c){break f}q[a+428>>2]=q[a+424>>2];break j}if(!n[q[b+52>>2]](b,c,q[m+4>>2],D)){l=32;break b}if(!q[a+332>>2]){break k}e=q[m+4>>2];f=c;c=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}c=e-c|0;_a:{while(1){if(n[q[b+56>>2]](b,m+12|0,c,x,q[a+420>>2])>>>0<2){break _a}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(v)){break f}c=q[x>>2]}q[a+424>>2]=c+1;o[c|0]=0;e=q[a+428>>2];if(!e){break f}l=e;f=e;c=e;k=r[e|0];$a:{if(!k){break $a}while(1){c=f;s=l;f=(k<<24>>24)+ -10|0;ab:{if(!(f>>>0>22|!(1<>2]=e;q[a+428>>2]=q[a+424>>2];break j}if(!(!q[a+332>>2]|!q[a+96>>2])){e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}e=e-f|0;bb:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break bb}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;l=0;o[e|0]=0;e=q[a+428>>2];if(!e){break f}q[A>>2]=c;n[q[a+96>>2]](q[a+4>>2],q[a+332>>2],q[a+356>>2],e,q[a+336>>2])}k=q[a+416>>2];cb:{if(!k){q[a+416>>2]=q[a+412>>2];break cb}e=q[v>>2];if(!e){break cb}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;if(l){break k}break j}if(!(!q[a+336>>2]|!q[a+96>>2])){q[A>>2]=c;n[q[a+96>>2]](q[a+4>>2],q[a+332>>2],q[a+356>>2],0,q[a+336>>2]);l=0}k=q[a+416>>2];db:{if(!k){q[a+416>>2]=q[a+412>>2];break db}e=q[v>>2];if(!e){break db}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;if(l){break k}break j}l=(f|0)==28?10:(f|0)==12?17:2;break b}f=q[a+80>>2];eb:{if(!f){break eb}e=q[m+4>>2];q[m+12>>2]=c;if(!r[b+68|0]){k=J;l=H;if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];l=k+4|0}while(1){q[m+8>>2]=q[a+44>>2];c=n[q[b+56>>2]](b,m+12|0,e,m+8|0,q[a+48>>2])|0;q[l>>2]=q[m+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[m+8>>2]-f|0);q[k>>2]=q[m+12>>2];if(c>>>0>1){continue}break}break eb}n[f](q[a+4>>2],c,e-c|0)}s=eq(a,b,m+4|0,d,g,h);if(s){break f}if(q[m+4>>2]){break j}q[a+276>>2]=967;l=0;break b}e=q[a+464>>2];fb:{if(t[a+256>>2]>>0){break fb}gb:{if(e){e=e<<1;q[a+464>>2]=e;e=n[q[a+16>>2]](q[a+460>>2],e)|0;if(!e){q[a+464>>2]=q[a+464>>2]>>>1;break b}q[a+460>>2]=e;e=q[j+184>>2];if(!e){break fb}e=n[q[a+16>>2]](e,q[a+464>>2]<<2)|0;if(e){break gb}break b}q[a+464>>2]=32;e=n[q[a+12>>2]](32)|0;q[a+460>>2]=e;if(e){break fb}q[a+464>>2]=0;break b}q[j+184>>2]=e}o[q[a+460>>2]+q[a+256>>2]|0]=0;if(!r[j+160|0]){break k}e=dq(a);if((e|0)<0){break b}f=q[j+184>>2];if(!f){break v}q[f+(q[j+180>>2]<<2)>>2]=e;q[j+180>>2]=q[j+180>>2]+1;q[q[j+164>>2]+w(e,28)>>2]=6;if(!q[a+128>>2]){break k}break j}e=q[a+460>>2]+q[a+256>>2]|0;if(r[e|0]==124){l=2;break b}o[e|0]=44;if(!r[j+160|0]|!q[a+128>>2]){break k}break j}e=q[a+460>>2];f=q[a+256>>2];l=r[e+f|0];if((l|0)==44){l=2;break b}k=1;hb:{if(!r[j+160|0]|l){break hb}l=q[j+164>>2]+w(q[(q[j+184>>2]+(q[j+180>>2]<<2)|0)+ -4>>2],28)|0;if(q[l>>2]==3){break hb}q[l>>2]=5;f=q[a+256>>2];e=q[a+460>>2];k=!q[a+128>>2]}o[e+f|0]=124;if(k){break k}break j}o[j+129|0]=1;if(!q[a+488>>2]){e=r[j+130|0];o[j+128|0]=e;break r}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[u>>2]){if(!Ya(y)){break b}}e=e-f|0;ib:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break ib}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;f=q[j+96>>2];if(!f){break f}e=ic(a,E,f,0);q[u>>2]=q[j+96>>2];if(!q[a+268>>2]){break t}jb:{if(r[j+130|0]){if(!q[a+296>>2]){break jb}break t}if(r[j+129|0]){break t}}if(!e){l=11;break b}if(r[e+34|0]){break s}l=24;break b}if(!q[a+128>>2]){break k}e=q[a+352>>2];k=q[m+4>>2];q[m+12>>2]=c;c=e+80|0;f=e+92|0;kb:{if(!q[f>>2]){if(!Ya(c)){break kb}}while(1){if(n[q[b+56>>2]](b,m+12|0,k,f,q[e+88>>2])>>>0>=2){if(Ya(c)){continue}break kb}break}if(!q[e+96>>2]){break kb}k=q[e+92>>2];if((k|0)==q[e+88>>2]){if(!Ya(c)){break kb}k=q[f>>2]}q[e+92>>2]=k+1;o[k|0]=0;f=q[e+96>>2];if(!f){break kb}c=ic(a,e+20|0,f,24);if(!c){break kb}if((f|0)!=q[c>>2]){q[e+92>>2]=q[e+96>>2];break u}q[e+96>>2]=q[e+92>>2];if(ci(a,c)){break u}}q[a+340>>2]=0;break b}if(!r[j+160|0]){break k}if(q[a+128>>2]){e=n[q[a+12>>2]](20)|0;if(!e){break b}q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;q[e>>2]=(B|0)==41?2:1;q[A>>2]=c;n[q[a+128>>2]](q[a+4>>2],q[q[a+340>>2]>>2],e);e=0}else{e=1}o[j+160|0]=0;if(e){break k}break j}if(!r[j+160|0]){break k}q[q[j+164>>2]+w(q[(q[j+184>>2]+(q[j+180>>2]<<2)|0)+ -4>>2],28)>>2]=3;if(!q[a+128>>2]){break k}break j}l=2;break L}l=3}if(!r[j+160|0]){break k}e=q[m+4>>2]-q[b+64>>2]|0;break J}if(!r[j+160|0]){break k}l=0;e=q[m+4>>2]}s=1;z=dq(a);if((z|0)<0){break f}f=w(z,28);q[f+q[j+164>>2]>>2]=4;q[(f+q[j+164>>2]|0)+4>>2]=l;f=q[a+352>>2];q[m+12>>2]=c;k=f+80|0;lb:{C=f+92|0;mb:{if(!q[C>>2]){if(!Ya(k)){break mb}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,C,q[f+88>>2])>>>0<2){break lb}if(Ya(k)){continue}break}}l=1;break b}if(!q[f+96>>2]){break f}l=q[f+92>>2];if((l|0)==q[f+88>>2]){if(!Ya(k)){break f}l=q[C>>2]}q[f+92>>2]=l+1;o[l|0]=0;k=q[f+96>>2];if(!k){break f}e=ic(a,f+20|0,k,24);if(!e){break f}nb:{if((k|0)!=q[e>>2]){q[f+92>>2]=q[f+96>>2];break nb}q[f+96>>2]=q[f+92>>2];if(!ci(a,e)){break f}}f=q[e>>2];q[(q[j+164>>2]+w(z,28)|0)+8>>2]=f;e=0;while(1){k=e+f|0;l=e+1|0;e=l;if(r[k|0]){continue}break}q[j+168>>2]=l+q[j+168>>2];if(!q[a+128>>2]){break k}break j}k=1;break F}k=2;break F}k=3}if(!r[j+160|0]){break k}e=q[a+128>>2];f=q[j+180>>2]+ -1|0;q[j+180>>2]=f;q[(q[j+164>>2]+w(q[q[j+184>>2]+(f<<2)>>2],28)|0)+4>>2]=k;l=!e;if(q[j+180>>2]){break l}if(e){f=q[a+352>>2];e=n[q[a+12>>2]](w(q[f+176>>2],20)+q[f+168>>2]|0)|0;if(!e){l=1;break b}f=q[f+176>>2];q[m+12>>2]=e+20;q[m+8>>2]=e+w(f,20);cq(a,0,e,m+12|0,m+8|0);q[A>>2]=c;n[q[a+128>>2]](q[a+4>>2],q[q[a+340>>2]>>2],e)}q[j+168>>2]=0;o[j+160|0]=0;break l}if(uk(a,b,c,q[m+4>>2])){break j}break b}if(tk(a,b,c,q[m+4>>2])){break j}break b}if((f|0)!=14){break k}break j}if(!q[a+84>>2]){break k}break j}if(!r[j+128|0]|!q[a+136>>2]){break k}break j}if(!q[a+96>>2]){break k}break j}if(!r[j+128|0]|!q[a+132>>2]){break k}break j}if(!q[a+128>>2]){break k}break j}q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}I(498229,496835,4809,498253);F()}q[a+340>>2]=c;q[j+176>>2]=0;q[j+180>>2]=0;o[j+160|0]=1;break j}if(e){break s}o[j+128|0]=r[j+130|0];if((B|0)!=60){break k}e=q[a+120>>2];if(!e){break k}n[e](q[a+4>>2],f,1);break j}if(r[e+32|0]){l=12;break b}if(q[e+4>>2]){s=bq(a,e,(B|0)==60);if(!s){break j}break f}if(q[a+112>>2]){l=0;o[j+131|0]=0;o[e+32|0]=1;f=n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])|0;o[e+32|0]=0;if(!f){l=21;break b}e=r[j+130|0];if(r[j+131|0]){break r}o[j+128|0]=e;break j}o[j+128|0]=r[j+130|0];break k}if(e&255){break l}e=q[a+108>>2];if(!e){break l}if(n[e](q[a+4>>2])){break l}l=22;break b}q[a+332>>2]=0;break b}q[a+320>>2]=0;break b}q[a+340>>2]=f}if(!r[j+128|0]|!q[a+132>>2]){break k}break j}if(!r[j+128|0]|!q[a+312>>2]){break l}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;ob:{pb:{if(!q[u>>2]){if(!Ya(y)){break pb}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break ob}if(Ya(y)){continue}break}}l=1;break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;f=q[j+96>>2];if(!f){break f}z=f;k=f;e=f;s=r[e|0];qb:{if(!s){break qb}while(1){e=k;C=z;k=(s<<24>>24)+ -10|0;rb:{if(!(k>>>0>22|!(1<>2]+24>>2]=f;q[j+96>>2]=q[u>>2];if((B|0)!=14){break l}if(q[a+136>>2]){break j}}if(!l){break j}}f=q[a+80>>2];if(!f){break j}e=q[m+4>>2];q[m+12>>2]=c;if(!r[b+68|0]){k=J;l=H;if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];l=k+4|0}while(1){q[m+8>>2]=q[a+44>>2];c=n[q[b+56>>2]](b,m+12|0,e,m+8|0,q[a+48>>2])|0;q[l>>2]=q[m+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[m+8>>2]-f|0);q[k>>2]=q[m+12>>2];if(c>>>0>1){continue}break}break j}n[f](q[a+4>>2],c,e-c|0)}c=q[a+476>>2]+ -2|0;if(c>>>0<=1){s=35;if(c-1){break f}q[g>>2]=q[m+4>>2];l=0;break b}else{c=q[m+4>>2];e=n[q[b>>2]](b,c,d,m+4|0)|0;continue}}break}l=s;break b}q[a+316>>2]=0;break b}if((n[q[G>>2]](G,-4,d,d,b)|0)!=-1){break c}l=29;break b}q[g>>2]=c;l=0}Da=m+16|0;return l}function kz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0;f=Da-96|0;Da=f;x=q[a+28>>2];q[f+76>>2]=0;v=q[c>>2];B=lb(a,162240,f+8|0);q[f+76>>2]=B;a:{if(B){break a}B=8;if(q[f+12>>2]==2001684018){break a}e=q[f+16>>2];if((e|0)!=q[a+4>>2]){break a}h=s[f+20>>1];if(!h|w(h,20)+48>>>0>=e>>>0){break a}j=q[f+36>>2];g=q[f+32>>2];b:{if(!g){if(q[f+40>>2]|j){break a}j=0;if(e>>>0>g>>>0){break b}break a}if(j){if(e>>>0<=g>>>0){break a}if(q[f+40>>2]){break b}break a}j=0;if(e>>>0<=g>>>0){break a}}if(e-g>>>0>>0){break a}g=q[f+44>>2];c:{if(!g){if(!q[f+48>>2]){break c}break a}if(e-g>>>0>2]|e>>>0<=g>>>0){break a}}q[f+72>>2]=0;ca=Oa(x,32,0,h,0,f+76|0);d:{if(q[f+76>>2]){B=0;break d}Q=Oa(x,4,0,s[f+20>>1],0,f+76|0);e:{f:{if(q[f+76>>2]){break f}B=0;g:{if(s[f+20>>1]){while(1){j=(m<<5)+ca|0;D=Ob(a,f+76|0);o[j|0]=D;if(q[f+76>>2]){break f}e=D&63;h:{if((e|0)==63){H=Hb(a,f+76|0);q[j+4>>2]=H;if(q[f+76>>2]){break g}D=r[j|0];break h}H=q[(e<<2)+162304>>2];q[j+4>>2]=H}e=qn(a,j+8|0);q[f+76>>2]=e;if(e){break g}h=(D&192)>>>6|0;D=q[j+8>>2];q[j+12>>2]=D;i:{j:{g=((H|0)!=1735162214?(H|0)!=1819239265:0)?((h|0)!=0)<<8:!h<<8;if(g){e=qn(a,j+12|0);q[f+76>>2]=e;if(e){break g}e=q[j+12>>2];if(q[j+4>>2]==1819239265){break j}D=e}if(D>>>0<=(l^-1)>>>0){break i}q[f+76>>2]=8;break f}D=0;if(!e){break i}q[f+76>>2]=8;break f}q[j+24>>2]=D;q[j+20>>2]=l;q[j+16>>2]=g|h;q[(m<<2)+Q>>2]=j;l=l+D|0;m=m+1|0;B=s[f+20>>1];if(m>>>0>>0){continue}break}}g=q[((B<<2)+Q|0)+ -4>>2];e=q[g+24>>2];g=e+q[g+20>>2]|0;q[f+52>>2]=g;if(g>>>0>>0){q[f+76>>2]=8;break f}q[f+60>>2]=0;p[f+64>>1]=1;k:{if(q[f+12>>2]==1953784678){e=Hb(a,f+76|0);q[f+60>>2]=e;if(q[f+76>>2]){break f}if(!((e|0)==65536|(e|0)==131072)){q[f+76>>2]=8;break f}e=nf(a,f- -64|0);q[f+76>>2]=e;if(e){break g}e=s[f+64>>1];if(!e){q[f+76>>2]=8;break f}l=Oa(x,12,0,e,0,f+76|0);q[f+72>>2]=l;if(q[f+76>>2]){break f}if(!s[f+64>>1]){break k}g=l+4|0;e=nf(a,g);q[f+76>>2]=e;if(e){break f}while(1){j=w(L,12)+l|0;na=j,oa=Hb(a,f+76|0),q[na>>2]=oa;if(q[f+76>>2]){break g}na=j,oa=Oa(x,2,0,s[g>>1],0,f+76|0),q[na+8>>2]=oa;if(q[f+76>>2]){break f}m=0;l:{if(!s[g>>1]){D=0;break l}D=0;while(1){e=nf(a,f+92|0);q[f+76>>2]=e;if(e){break g}e=s[f+92>>1];if(e>>>0>=s[f+20>>1]){q[f+76>>2]=8;I=0;break f}p[q[j+8>>2]+(I<<1)>>1]=e;h=q[q[(e<<2)+Q>>2]+4>>2];D=(h|0)==1735162214?e:D;m=(h|0)==1819239265?e:m;I=I+1|0;if(I>>>0>1]){continue}break}}if(!(!(m|D)|((m-D|0)==1?m>>>0>=D>>>0:0))){q[f+76>>2]=8;I=0;break f}L=L+1|0;if(L>>>0>=s[f+64>>1]){break k}l=q[f+72>>2];g=(l+w(L,12)|0)+4|0;e=nf(a,g);q[f+76>>2]=e;I=0;m=0;D=0;B=0;if(!e){continue}break}break d}q[f+72>>2]=0}e=q[a+8>>2];q[f+56>>2]=e;e=(e+q[f+28>>2]|0)+3|0;B=e&-4;g=q[f+16>>2];if(B>>>0>g>>>0){q[f+76>>2]=8;I=0;break f}j=q[f+32>>2];if(j){if((j|0)!=(B|0)){q[f+76>>2]=8;I=0;break f}B=q[f+36>>2]+(e|3)&-4}e=q[f+44>>2];if(e){if((e|0)!=(B|0)){q[f+76>>2]=8;I=0;break f}B=q[f+48>>2]+(B|3)&-4}if((g+3&-4)!=(B|0)){q[f+76>>2]=8;I=0;break f}e=d;d=s[f+64>>1];q[e>>2]=d;m:{e=v>>31;g=(e+v^e)&65535;e=q[c>>2];D=g+(e>>31)|0;if((D|0)<(d|0)){break m}D=0;if((e|0)<0){break m}q[f+76>>2]=6;I=0;break f}n:{if(!q[f+60>>2]){B=s[f+20>>1];break n}I=0;j=q[f+72>>2];e=j+w(D,12)|0;d=Oa(x,4,0,s[e+4>>1],0,f+76|0);if(q[f+76>>2]){break f}g=s[e+4>>1];if(g){h=g>>>0>1?g:1;m=j+w(D,12)|0;B=0;while(1){q[d+(B<<2)>>2]=q[(s[q[m+8>>2]+(B<<1)>>1]<<2)+Q>>2];B=B+1|0;if((h|0)!=(B|0)){continue}break}}Q=Oa(x,4,s[f+20>>1],g,Q,f+76|0);if(q[f+76>>2]){break g}g=s[e+4>>1];if(g){g=g>>>0>1?g:1;B=0;while(1){h=B<<2;q[h+Q>>2]=q[d+h>>2];B=B+1|0;if((g|0)!=(B|0)){continue}break}}if(d){n[q[x+8>>2]](x,d)}q[f+12>>2]=q[j+w(D,12)>>2];B=s[e+4>>1];p[f+20>>1]=B}d=x;e=q[f+24>>2];j=(B&65535)<<4|12;if(e>>>0>j>>>0){g=q[f+16>>2];e=e>>>6>>>0>g>>>0?g<<6:e;j=e>>>0<67108864?e:67108864}m=gb(d,j,f+76|0);if(q[f+76>>2]){I=0;break e}D=gb(x,40,f+76|0);o:{if(q[f+76>>2]){break o}N=q[f+12>>2];o[m|0]=N>>>24;R=q[f+12>>2];o[m+1|0]=R>>>16;K=q[f+12>>2];o[m+2|0]=K>>>8;i=q[f+12>>2];o[m+3|0]=i;e=s[f+20>>1];p:{if(!e){g=r[m+11|0];y=r[m+10|0];d=r[m+9|0];l=r[m+7|0];e=r[m+6|0];H=r[m+5|0];h=r[m+4|0];B=0;v=r[m+8|0];break p}h=e>>>8|0;o[m+4|0]=h;H=r[f+20|0];d=32-z(e>>>1|0)|0;o[m+9|0]=d;o[m+5|0]=H;o[m+8|0]=d>>>8;l=16<>>8|0;o[m+6|0]=e;y=g>>>8|0;o[m+10|0]=y;B=s[f+20>>1];v=0}Gc(Q,B&65535,4,313);k=q[f+52>>2];if(!k){q[f+76>>2]=8;break o}if(k>>>0>j>>>0){q[f+76>>2]=8;break o}I=0;B=gb(x,k,f+76|0);if(q[f+76>>2]){break d}k=mb(a,q[f+28>>2]);q[f+76>>2]=k;if(k){break d}k=q[a+32>>2];L=q[f+28>>2];F=q[f+52>>2];q[f+92>>2]=F;k=AA(L,k,f+92|0,B);q[f+76>>2]=(k|0)==1?((F|0)!=q[f+92>>2])<<3:8;jb(a);if(q[f+76>>2]){break d}ia=q[f+52>>2];q[f+80>>2]=0;q:{V=s[f+20>>1];r:{if(!V){break r}s:{while(1){O=q[(I<<2)+Q>>2];if(q[O+4>>2]==1735162214){break s}I=I+1|0;if((V|0)!=(I|0)){continue}break}O=0}I=0;t:{u:{while(1){W=q[(I<<2)+Q>>2];if(q[W+4>>2]!=1819239265){I=I+1|0;if((V|0)!=(I|0)){continue}break u}break}if(!O^!W){break q}if(O){break t}O=0;break r}if(O){break q}O=0;W=0;break r}if((q[W+16>>2]^q[O+16>>2])&256){break q}}I=0;C=Oa(x,1,0,16,0,f+80|0);v:{if(q[f+80>>2]){break v}u=gb(x,40,f+80|0);if(q[f+80>>2]){break v}q[u+32>>2]=0;q[u+8>>2]=0;q[u+4>>2]=ia;q[u>>2]=B;q[u+20>>2]=0;q[u+24>>2]=0;w:{x:{if(!V){break x}da=((l&255|((H&255)<<16|h<<24|(e&255)<<8))+(i&255|(K&65280|(R&16711680|N&-16777216)))|0)+(g&255|((d&255)<<16|v<<24|(y&255)<<8))|0;N=V<<4|12;ma=B+8|0;k=0;v=0;ea=12;R=0;y:{z:{while(1){d=q[(fa<<2)+Q>>2];e=q[d+28>>2];l=q[d+16>>2];aa=q[d+8>>2];X=q[d+4>>2];h=q[d+24>>2];g=q[d+20>>2];d=Xa(u,g);q[f+80>>2]=d;if(d|g+h>>>0>ia>>>0){break w}A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{if((X|0)==1751672161){d=Ib(u,34);q[f+92>>2]=d;if(d){break x}ga=ib(u,f+92|0);if(q[f+92>>2]){break x}if(!(l&256)){break P}break x}if(l&256){break O}if((X|0)!=1751474532){break P}if(h>>>0<12){break x}d=g+ma|0;o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0}e=g+B|0;d=0;H=0;g=h&-4;if(g){while(1){H=(r[e+(d|3)|0]|(r[e+(d|1)|0]<<16|r[d+e|0]<<24|r[e+(d|2)|0]<<8))+H|0;d=d+4|0;if(d>>>0>>0){continue}break}}if((g|0)!=(h|0)){d=0;if(g>>>0>>0){while(1){d=r[e+g|0]<<((g<<3^-1)&24)|d;g=g+1|0;if((h|0)!=(g|0)){continue}break}}H=d+H|0}q[f+92>>2]=0;d=h+N|0;if(d>>>0>31457280){break x}Q:{if(d>>>0<=j>>>0){y=j;g=m;break Q}g=Oa(x,1,j,d,m,f+92|0);y=d;if(q[f+92>>2]){break x}}Qa(g+N|0,e,h);if(q[f+92>>2]){break N}j=y;m=g;break A}if((X|0)==1819239265){d=N;H=R;N=e;break A}if((X|0)==1752003704){break M}if((X|0)!=1735162214){break x}l=0;q[f+84>>2]=0;d=q[u+8>>2];A=Oa(x,12,0,7,0,f+84|0);if(q[f+84>>2]){break D}e=Ib(u,4);q[f+84>>2]=e;if(e){break D}K=ib(u,f+84|0);if(q[f+84>>2]){break D}ja=ib(u,f+84|0);if(q[f+84>>2]){break D}H=0;v=K+1|0;_=w(v,ja?4:2);if((_|0)!=q[W+8>>2]|t[O+12>>2]<36){break G}e=Hb(u,f+84|0);if(q[f+84>>2]){break I}if(e>>>0>q[O+12>>2]+ -36>>>0){break G}q[A+8>>2]=e;g=d+36|0;q[A+4>>2]=g;q[A>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=e+36|0;if(g>>>0>q[O+12>>2]-h>>>0){break G}q[A+20>>2]=g;e=d+h|0;q[A+16>>2]=e;q[A+12>>2]=e;e=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=g+h|0;if(e>>>0>q[O+12>>2]-h>>>0){break G}q[A+32>>2]=e;g=d+h|0;q[A+28>>2]=g;q[A+24>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=e+h|0;if(g>>>0>q[O+12>>2]-h>>>0){break G}q[A+44>>2]=g;e=d+h|0;q[A+40>>2]=e;q[A+36>>2]=e;e=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=g+h|0;if(e>>>0>q[O+12>>2]-h>>>0){break G}q[A+56>>2]=e;g=d+h|0;q[A+52>>2]=g;q[A+48>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}e=e+h|0;if(g>>>0>q[O+12>>2]-e>>>0){break G}q[A+68>>2]=g;h=d+e|0;q[A+64>>2]=h;q[A+60>>2]=h;h=Hb(u,f+84|0);if(q[f+84>>2]){break I}e=e+g|0;if(h>>>0>q[O+12>>2]-e>>>0){break G}q[A+80>>2]=h;d=d+e|0;q[A+76>>2]=d;q[A+72>>2]=d;l=Oa(x,4,0,v,0,f+84|0);if(q[f+84>>2]){break I}ka=q[A+64>>2];q[A+64>>2]=ka+(K+31>>>3&16380);L=0;y=Oa(x,1,0,5120,0,f+84|0);if(q[f+84>>2]){break H}I=Oa(x,2,0,K,0,f+84|0);if(q[f+84>>2]){break H}k=5120;$=0;d=N;if(!K){break K}while(1){R:{e=Xa(u,($>>>3|0)+ka|0);q[f+84>>2]=e;if(e){break L}e=Ob(u,f+84|0);if(q[f+84>>2]){break L}g=Xa(u,q[A+4>>2]);q[f+84>>2]=g;if(g){break L}Y=ib(u,f+84|0);if(q[f+84>>2]){break L}S=e&128>>>($&7);q[A+4>>2]=q[A+4>>2]+2;S:{T:{U:{V:{if(Y){if((Y|0)==65535){p[f+88>>1]=0;if(!S){break T}J=q[A+52>>2];e=Xa(u,J);q[f+92>>2]=e;if(e){break T}e=32;v=0;while(1){if(e&32){e=ib(u,f+92|0);if(q[f+92>>2]){break T}v=e>>>8&1|v;h=f;g=u;F=e&1?6:4;i=F+2|0;W:{if(e&8){break W}i=F+4|0;if(e&64){break W}i=F|e>>>4&8}g=Ib(g,i);q[h+92>>2]=g;if(!g){continue}break T}break}if(q[f+92>>2]){break T}g=q[u+8>>2];i=k;h=v&255;v=0;X:{if(!h){break X}e=Xa(u,q[A+40>>2]);q[f+84>>2]=e;if(e){break T}e=nf(u,f+88|0);q[f+84>>2]=e;if(e){break T}q[A+40>>2]=q[u+8>>2];v=s[f+88>>1]}e=g-J|0;g=e+12|0;v=(v&65535)+g|0;Y:{if(i>>>0>=v>>>0){v=k;break Y}y=Oa(x,1,k,v,y,f+84|0);if(q[f+84>>2]){break T}}o[y|0]=65535;o[y+1|0]=255;k=Xa(u,q[A+64>>2]);q[f+84>>2]=k;if(k){break T}M=ib(u,f+84|0);if(q[f+84>>2]){break T}k=Xa(u,q[A+64>>2]);q[f+84>>2]=k;if(k){break T}k=Wb(u,y+2|0,8);q[f+84>>2]=k;if(k){break T}q[A+64>>2]=q[A+64>>2]+8;k=Xa(u,q[A+52>>2]);q[f+84>>2]=k;if(k){break T}k=Wb(u,y+10|0,e);q[f+84>>2]=k;if(k){break T}q[A+52>>2]=e+q[A+52>>2];e=e+10|0;if(h){e=e+y|0;h=s[f+88>>1];h=(h<<24|h<<8&16711680)>>>16|0;o[e|0]=h;o[e+1|0]=h>>>8;e=Xa(u,q[A+76>>2]);q[f+84>>2]=e;if(e){break T}e=s[f+88>>1];h=Wb(u,g+y|0,e);q[f+84>>2]=h;if(h){break T}q[A+76>>2]=e+q[A+76>>2];e=e+g|0}k=v;break U}e=0;v=Oa(x,2,0,Y,0,f+84|0);if(q[f+84>>2]){break F}h=Xa(u,q[A+16>>2]);q[f+84>>2]=h;g=0;i=0;if(h){break F}while(1){h=nf(u,f+92|0);q[f+84>>2]=h;if(h){break F}h=s[f+92>>1];p[(g<<1)+v>>1]=h;P=h+i|0;if(P>>>0>>0){break F}i=P;g=g+1|0;if((Y|0)!=(g|0)){continue}break}q[A+16>>2]=q[u+8>>2];if(P>>>0>t[A+32>>2]){break F}h=q[A+44>>2];i=q[A+40>>2];F=i-q[A+36>>2]|0;if(h>>>0>>0){break F}e=q[u>>2];J=q[A+28>>2];g=Oa(x,12,0,P,0,f+84|0);if(q[f+84>>2]){e=g;break F}T=h-F|0;if(P>>>0>T>>>0){e=g;break F}U=0;Z:{if(!P){e=0;break Z}Z=e+i|0;ba=e+J|0;M=0;J=0;h=0;while(1){G=r[U+ba|0];E=G&127;i=1;_:{if(E>>>0<84){break _}i=2;if(E>>>0<120){break _}i=E>>>0<124?3:4}e=i+M|0;if(e>>>0>T>>>0){e=g;break F}if(e>>>0>>0){e=g;break F}$:{if(E>>>0<=9){F=0;i=r[M+Z|0]|E<<7&1792;i=G&1?i:0-i|0;break $}if(E>>>0<=19){i=r[M+Z|0]|(E<<7)+768&1792;F=G&1?i:0-i|0;i=0;break $}if(E>>>0<=83){i=E+ -20|0;E=r[M+Z|0];F=(i&48|1)+(E>>>4|0)|0;F=G&1?F:0-F|0;i=(E&15)+(i<<2&48|1)|0;i=G&2?i:0-i|0;break $}if(E>>>0<=119){i=M+Z|0;E=E+ -84|0;M=(E|0)/12|0;F=r[i|0]+(M<<8|1)|0;F=G&1?F:0-F|0;i=r[i+1|0]+(E-w(M,12)<<6&-256|1)|0;i=G&2?i:0-i|0;break $}if(E>>>0<=123){i=M+Z|0;E=r[i+1|0];F=r[i|0]<<4|E>>>4;F=G&1?F:0-F|0;i=r[i+2|0]|E<<8&3840;i=G&2?i:0-i|0;break $}i=M+Z|0;F=r[i|0]<<8|r[i+1|0];F=G&1?F:0-F|0;i=r[i+3|0]|r[i+2|0]<<8;i=G&2?i:0-i|0}if(!((h|0)<1|(2147483647-h|0)>=(F|0))){e=g;break F}if(!((-2147483648-h|0)<=(F|0)|(h|0)>-1)){e=g;break F}if(!((J|0)<1|(2147483647-J|0)>=(i|0))){e=g;break F}if(!((-2147483648-J|0)<=(i|0)|(J|0)>-1)){e=g;break F}E=g+w(U,12)|0;o[E+8|0]=((G^-1)&128)>>>7;J=i+J|0;q[E+4>>2]=J;h=h+F|0;q[E>>2]=h;M=e;U=U+1|0;if((U|0)!=(P|0)){continue}break}}q[A+28>>2]=q[A+28>>2]+P;e=q[A+40>>2]+e|0;q[A+40>>2]=e;e=Xa(u,e);q[f+84>>2]=e;if(e){e=g;break F}e=nf(u,f+88|0);q[f+84>>2]=e;if(e){e=g;break F}q[A+40>>2]=q[u+8>>2];if(P>>>0>134217727){e=g;break F}E=Y<<1;G=E+12|0;F=s[f+88>>1]+(G+w(P,5)|0)|0;if(k>>>0>=F>>>0){F=k;break V}y=Oa(x,1,k,F,y,f+84|0);if(!q[f+84>>2]){break V}e=g;break F}e=0;if(!S){M=0;break U}v=0;break F}e=(Y<<24|Y<<8)>>>16|0;o[y|0]=e;o[y+1|0]=e>>>8;aa:{if(S){e=Xa(u,q[A+64>>2]);q[f+84>>2]=e;if(e){e=g;break F}M=ib(u,f+84|0);if(q[f+84>>2]){e=g;break F}e=Xa(u,q[A+64>>2]);q[f+84>>2]=e;if(e){e=g;break F}e=Wb(u,y+2|0,8);q[f+84>>2]=e;if(e){e=g;break F}q[A+64>>2]=q[A+64>>2]+8;break aa}ba:{if(!P){e=0;i=0;k=0;M=0;break ba}S=1;M=q[g>>2];i=M;k=q[g+4>>2];e=k;if((P|0)==1){break ba}while(1){J=g+w(S,12)|0;h=q[J+4>>2];e=(h|0)>(e|0)?h:e;J=q[J>>2];i=(J|0)>(i|0)?J:i;k=(h|0)<(k|0)?h:k;M=(J|0)<(M|0)?J:M;S=S+1|0;if((P|0)!=(S|0)){continue}break}}o[y+9|0]=e;o[y+7|0]=i;o[y+5|0]=k;o[y+3|0]=M;o[y+8|0]=e>>>8;o[y+6|0]=i>>>8;o[y+4|0]=k>>>8;o[y+2|0]=M>>>8}i=y+10|0;h=E+i|0;e=-1;k=0;while(1){e=s[(k<<1)+v>>1]+e|0;if((e|0)>65535){e=g;break F}J=(e<<8&16711680|e<<24)>>>16|0;o[i|0]=J;o[i+1|0]=J>>>8;i=i+2|0;k=k+1|0;if((Y|0)!=(k|0)){continue}break}e=s[f+88>>1];e=(e<<24|e<<8&16711680)>>>16|0;o[h|0]=e;o[h+1|0]=e>>>8;e=Xa(u,q[A+76>>2]);q[f+84>>2]=e;if(e){e=g;break F}e=s[f+88>>1];h=Wb(u,y+G|0,e);q[f+84>>2]=h;if(h){e=g;break F}q[A+76>>2]=e+q[A+76>>2];e=e+G|0;h=0;Z=-1;ca:{da:{if(P){i=e;e=0;k=0;U=0;S=0;ea:{fa:while(1){ha=i+y|0;la=ha+ -1|0;T=0;J=U;while(1){E=g+w(J,12)|0;G=q[E+4>>2];ba=G-e|0;e=r[E+8|0]!=0;E=q[E>>2];h=E-h|0;ga:{if(!h){e=e|16;break ga}if(h+255>>>0<=510){k=k+1|0;e=((h|0)>0?18:2)|e;break ga}k=k+2|0}ha:{if(!ba){e=e|32;break ha}if(ba+255>>>0<=510){S=S+1|0;e=((ba|0)>0?36:4)|e;break ha}S=S+2|0}if(!((e|0)==(Z|0)?(T|0)!=255:0)){if(T){if(i>>>0>=F>>>0){e=g;break F}o[ha|0]=T;i=i+1|0}if(i>>>0>=F>>>0){e=g;break F}o[i+y|0]=e;i=i+1|0;Z=e;h=E;e=G;U=J+1|0;if((U|0)!=(P|0)){continue fa}break ea}o[la|0]=r[la|0]|8;T=T+1|0;h=E;e=G;J=J+1|0;if((P|0)!=(J|0)){continue}break}break}if(i>>>0>=F>>>0){e=g;break F}o[ha|0]=P-U;i=i+1|0}e=k+S|0;if(e>>>0>>0){e=g;break F}e=e+i|0;if(e>>>0>>0){e=g;break F}if(e>>>0<=F>>>0){break da}e=g;break F}if(e>>>0<=F>>>0){break ca}e=g;break F}e=k+i|0;J=0;h=0;T=0;while(1){k=h;G=J;J=g+w(T,12)|0;h=q[J+4>>2];k=h-k|0;J=q[J>>2];G=J-G|0;ia:{if(!G){break ia}if(G+255>>>0<=510){E=G;G=G>>31;o[i+y|0]=E+G^G;i=i+1|0;break ia}E=i+y|0;G=(G<<8&16711680|G<<24)>>>16|0;o[E|0]=G;o[E+1|0]=G>>>8;i=i+2|0}ja:{if(!k){break ja}if(k+255>>>0<=510){G=k;k=k>>31;o[e+y|0]=G+k^k;e=e+1|0;break ja}G=e+y|0;k=(k<<8&16711680|k<<24)>>>16|0;o[G|0]=k;o[G+1|0]=k>>>8;e=e+2|0}T=T+1|0;if((T|0)!=(P|0)){continue}break}}h=x;if(g){n[q[h+8>>2]](h,g)}if(v){n[q[x+8>>2]](x,v)}k=F}q[($<<2)+l>>2]=d-N;q[f+92>>2]=0;v=d+e|0;if(v>>>0>31457280){break T}if(v>>>0<=j>>>0){g=j;h=m;break S}h=Oa(x,1,j,v,m,f+92|0);g=v;if(!q[f+92>>2]){break S}}v=0;break J}Qa(d+h|0,y,e);ka:{la:{ma:{if(!q[f+92>>2]){o[f+90|0]=0;p[f+88>>1]=0;d=v+3&-4;i=d-v|0;if(!i){j=g;m=h;d=v;break la}q[f+92>>2]=0;if(d>>>0<=31457280){if(d>>>0<=g>>>0){j=g;m=h;break ma}m=Oa(x,1,g,d,h,f+92|0);j=d;if(!q[f+92>>2]){break ma}}j=g;break ka}j=g;break R}Qa(m+v|0,f+88|0,i);if(q[f+92>>2]){break ka}}v=0;h=0;g=e&-4;if(g){while(1){h=(r[(v|3)+y|0]|(r[(v|1)+y|0]<<16|r[v+y|0]<<24|r[(v|2)+y|0]<<8))+h|0;v=v+4|0;if(v>>>0>>0){continue}break}}if((e|0)!=(g|0)){v=0;if(g>>>0>>0){while(1){v=r[g+y|0]<<((g<<3^-1)&24)|v;g=g+1|0;if((g|0)!=(e|0)){continue}break}}h=h+v|0}if(Y){p[($<<1)+I>>1]=M}H=h+H|0;$=$+1|0;if((K|0)==($|0)){break K}continue}}break}v=0;m=h;break J}j=y;m=g;break x}na:{if(v&255){break na}d=0;q[f+92>>2]=0;oa:{while(1){l=q[(d<<2)+Q>>2];if(q[l+4>>2]==1835104368){break oa}d=d+1|0;if((V|0)!=(d|0)){continue}break}l=0}d=0;while(1){e=q[(d<<2)+Q>>2];if(q[e+4>>2]!=1751474532){d=d+1|0;if((V|0)!=(d|0)){continue}break x}break}if(!l|!e){break x}d=Xa(u,q[l+20>>2]);q[f+92>>2]=d;if(d){d=Ib(u,8);q[f+92>>2]=d;if(d){break x}}k=ib(u,f+92|0);if(q[f+92>>2]){break x}d=Xa(u,q[e+20>>2]);q[f+92>>2]=d;if(d){d=Ib(u,50);q[f+92>>2]=d;if(d){break x}}e=ib(u,f+92|0);if(q[f+92>>2]){break x}I=Oa(x,2,0,k,0,f+92|0);if(q[f+92>>2]){break x}if(!k){break na}g=e?4:2;d=q[W+20>>2];l=0;if(!e){while(1){e=Xa(u,d);q[f+92>>2]=e;if(e){break x}e=ib(u,f+92|0);if(q[f+92>>2]){break x}e=Xa(u,q[O+20>>2]+(e<<1)|0);q[f+92>>2]=e;if(e){e=Ib(u,2);q[f+92>>2]=e;if(e){break x}}na=(l<<1)+I|0,oa=ib(u,f+92|0),p[na>>1]=oa;if(q[f+92>>2]){break x}d=d+g|0;l=l+1|0;if((l|0)!=(k|0)){continue}break na}}while(1){e=Xa(u,d);q[f+92>>2]=e;if(e){break x}e=Hb(u,f+92|0);if(q[f+92>>2]){break x}e=Xa(u,e+q[O+20>>2]|0);q[f+92>>2]=e;if(e){e=Ib(u,2);q[f+92>>2]=e;if(e){break x}}na=(l<<1)+I|0,oa=ib(u,f+92|0),p[na>>1]=oa;if(q[f+92>>2]){break x}d=d+g|0;l=l+1|0;if((l|0)!=(k|0)){continue}break}}y=0;q[f+88>>2]=0;pa:{qa:{d=Ob(u,f+88|0);if((d&255)>>>0>3|q[f+88>>2]|!d){break qa}g=k&65535;if((ga+ -1&65535)>>>0>=g>>>0){break qa}L=0;e=ga&65535;y=Oa(x,2,0,e,0,f+88|0);if(q[f+88>>2]){l=0;break pa}l=0;L=Oa(x,2,0,g,0,f+88|0);if(q[f+88>>2]){break pa}h=d&2;K=d&1;d=0;while(1){i=ib(u,f+88|0);if(q[f+88>>2]){break pa}p[(d<<1)+y>>1]=i;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0;ra:{if(!K){while(1){K=ib(u,f+88|0);if(q[f+88>>2]){break pa}p[(d<<1)+L>>1]=K;d=d+1|0;if((e|0)!=(d|0)){continue}break ra}}while(1){d=l<<1;p[d+L>>1]=s[d+I>>1];l=l+1|0;if((e|0)!=(l|0)){continue}break}}sa:{if((ga&65535)>>>0>=g>>>0){break sa}l=e;d=e;if(!h){while(1){d=ib(u,f+88|0);if(q[f+88>>2]){l=0;break pa}p[(l<<1)+L>>1]=d;l=l+1|0;if((g|0)!=(l|0)){continue}break sa}}while(1){h=d<<1;p[h+L>>1]=s[h+I>>1];d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=e+g<<1;l=Oa(x,1,0,h,0,f+88|0);if(q[f+88>>2]){break pa}H=0;d=l;if(g){while(1){if(H>>>0>>0){K=(H<<1)+y|0;o[d|0]=r[K+1|0];o[d+1|0]=r[K|0];d=d+2|0}K=(H<<1)+L|0;o[d|0]=r[K+1|0];o[d+1|0]=r[K|0];d=d+2|0;H=H+1|0;if((g|0)!=(H|0)){continue}break}}d=0;H=0;g=h&262140;if(g){while(1){H=(r[(d|3)+l|0]|(r[(d|1)+l|0]<<16|r[d+l|0]<<24|r[(d|2)+l|0]<<8))+H|0;d=d+4|0;if(d>>>0>>0){continue}break}}if((g|0)!=(h|0)){d=0;if(g>>>0>>0){while(1){d=r[g+l|0]<<((g<<3^-1)&24)|d;g=g+1|0;if((h|0)!=(g|0)){continue}break}}H=d+H|0}q[f+92>>2]=0;d=h+N|0;if(d>>>0>31457280){break pa}ta:{if(d>>>0<=j>>>0){e=j;g=m;break ta}g=Oa(x,1,j,d,m,f+92|0);e=d;if(q[f+92>>2]){break pa}}Qa(g+N|0,l,h);if(q[f+92>>2]){j=e;break pa}j=x;if(y){n[q[j+8>>2]](j,y)}if(L){n[q[j+8>>2]](j,L)}if(l){n[q[x+8>>2]](x,l)}if(!q[f+88>>2]){j=e;m=g;break A}j=e;m=g;break x}L=0;l=0}d=x;if(y){n[q[d+8>>2]](d,y)}if(L){n[q[d+8>>2]](d,L)}if(l){n[q[x+8>>2]](x,l)}if(q[f+88>>2]){break x}q[f+88>>2]=8;break x}e=0;break E}e=d-q[O+28>>2]|0;q[O+8>>2]=e;q[W+28>>2]=d;q[(K<<2)+l>>2]=e;q[f+88>>2]=0;k=Oa(x,1,0,_,0,f+88|0);ua:{va:{wa:{if(q[f+88>>2]){break wa}e=0;R=k;v=k;xa:{if(!ja){while(1){g=q[(e<<2)+l>>2];o[R+1|0]=g>>>1;o[R|0]=g>>>9;R=R+2|0;g=(e|0)==(K|0);e=e+1|0;if(!g){continue}break xa}}while(1){g=q[(e<<2)+l>>2];g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o[v|0]=g;o[v+1|0]=g>>>8;o[v+2|0]=g>>>16;o[v+3|0]=g>>>24;v=v+4|0;g=(e|0)!=(K|0);e=e+1|0;if(g){continue}break}}v=0;e=0;R=0;g=0;h=_&1048572;ya:{za:{if(h){while(1){R=(r[k+(e|3)|0]|(r[k+(e|1)|0]<<16|r[e+k|0]<<24|r[k+(e|2)|0]<<8))+R|0;e=e+4|0;if(e>>>0>>0){continue}break}if((h|0)==(_|0)){break ya}g=R;e=0;if(h>>>0>=_>>>0){break za}}while(1){v=r[h+k|0]<<((h<<3^-1)&24)|v;h=h+1|0;if((_|0)!=(h|0)){continue}break}R=g;e=v}R=e+R|0}q[f+92>>2]=0;e=d+_|0;Aa:{if(e>>>0>31457280){break Aa}Ba:{if(e>>>0<=j>>>0){h=j;v=m;break Ba}v=Oa(x,1,j,e,m,f+92|0);h=e;if(q[f+92>>2]){break Aa}}Qa(d+v|0,k,_);if(!q[f+92>>2]){break va}j=h}if(q[f+88>>2]){break wa}q[f+88>>2]=8}h=j;if(k){n[q[x+8>>2]](x,k)}break ua}if(k){n[q[x+8>>2]](x,k)}m=v;d=e}if(q[f+88>>2]){v=0;j=h;break J}q[W+8>>2]=d-q[W+28>>2];e=0;k=K;j=h;break B}e=0;break F}L=0;y=0}k=K;break C}v=0;y=0;e=0}if(q[f+84>>2]){L=v;break E}q[f+84>>2]=8;L=v}k=K;d=N;break B}L=0;y=0}e=0;d=N;H=0}g=x;if(A){n[q[g+8>>2]](g,A)}if(l){n[q[g+8>>2]](g,l)}if(L){n[q[g+8>>2]](g,L)}if(y){n[q[g+8>>2]](g,y)}if(e){n[q[x+8>>2]](x,e)}v=1;if(q[f+84>>2]){break x}}o[C+15|0]=aa;o[C+11|0]=N;o[C+7|0]=H;o[C+3|0]=X;o[C+14|0]=aa>>>8;o[C+13|0]=aa>>>16;o[C+12|0]=aa>>>24;o[C+10|0]=N>>>8;o[C+9|0]=N>>>16;o[C+8|0]=N>>>24;o[C+6|0]=H>>>8;o[C+5|0]=H>>>16;o[C+4|0]=H>>>24;o[C+2|0]=X>>>8;o[C+1|0]=X>>>16;o[C|0]=X>>>24;q[f+92>>2]=0;Ca:{Da:{g=ea+16|0;if(g>>>0>31457280){break Da}Ea:{if(g>>>0<=j>>>0){e=j;h=m;break Ea}h=Oa(x,1,j,g,m,f+92|0);e=g;if(q[f+92>>2]){break Da}}m=r[C+4|0]|r[C+5|0]<<8|(r[C+6|0]<<16|r[C+7|0]<<24);j=h+ea|0;l=r[C|0]|r[C+1|0]<<8|(r[C+2|0]<<16|r[C+3|0]<<24);o[j|0]=l;o[j+1|0]=l>>>8;o[j+2|0]=l>>>16;o[j+3|0]=l>>>24;o[j+4|0]=m;o[j+5|0]=m>>>8;o[j+6|0]=m>>>16;o[j+7|0]=m>>>24;m=r[C+12|0]|r[C+13|0]<<8|(r[C+14|0]<<16|r[C+15|0]<<24);l=r[C+8|0]|r[C+9|0]<<8|(r[C+10|0]<<16|r[C+11|0]<<24);o[j+8|0]=l;o[j+9|0]=l>>>8;o[j+10|0]=l>>>16;o[j+11|0]=l>>>24;o[j+12|0]=m;o[j+13|0]=m>>>8;o[j+14|0]=m>>>16;o[j+15|0]=m>>>24;ea=g;break Ca}e=j;h=m}g=r[C+12|0]|r[C+13|0]<<8|(r[C+14|0]<<16|r[C+15|0]<<24);y=r[C+8|0]|r[C+9|0]<<8|(r[C+10|0]<<16|r[C+11|0]<<24);K=r[C|0]|r[C+1|0]<<8|(r[C+2|0]<<16|r[C+3|0]<<24);i=r[C+4|0]|r[C+5|0]<<8|(r[C+6|0]<<16|r[C+7|0]<<24);o[f+90|0]=0;p[f+88>>1]=0;Fa:{Ga:{Ha:{if(d>>>0>4294967292){break Ha}l=d+3&-4;L=l-d|0;if(!L){j=e;m=h;l=d;break Fa}q[f+92>>2]=0;if(l>>>0>31457280){break Ha}if(l>>>0<=e>>>0){j=e;m=h;break Ga}m=Oa(x,1,e,l,h,f+92|0);j=l;if(!q[f+92>>2]){break Ga}}j=e;break z}Qa(d+m|0,f+88|0,L);if(q[f+92>>2]){break z}}if(N+aa>>>0>l>>>0){break x}da=((((H+da|0)+(K<<8&16711680|K<<24|(K>>>8&65280|K>>>24))|0)+(i<<8&16711680|i<<24|(i>>>8&65280|i>>>24))|0)+(y<<8&16711680|y<<24|(y>>>8&65280|y>>>24))|0)+(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0;N=l;fa=fa+1|0;if((fa|0)!=(V|0)){continue}break}d=0;break y}m=h;break x}while(1){e=q[(d<<2)+Q>>2];if(q[e+4>>2]!=1751474532){d=d+1|0;if((V|0)!=(d|0)){continue}break x}break}if(!e|t[e+8>>2]<12){break x}d=q[e+28>>2]+m|0;e=-1313820742-da|0;e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);o[d+8|0]=e;o[d+9|0]=e>>>8;o[d+10|0]=e>>>16;o[d+11|0]=e>>>24;q[f+68>>2]=N;break v}d=q[f+80>>2]}if(d){break v}q[f+80>>2]=8}d=x;if(C){n[q[d+8>>2]](d,C)}Ia:{if(!u){break Ia}d=q[u+24>>2];if(!d){break Ia}n[d](u)}if(u){n[q[x+8>>2]](x,u)}d=q[f+80>>2];q[f+76>>2]=d;if(d){break d}d=q[f+68>>2];if(d>>>0>>0){m=Oa(x,1,j,d,m,f+76|0);if(q[f+76>>2]){break d}d=q[f+68>>2]}q[D+32>>2]=0;q[D+8>>2]=0;q[D+4>>2]=d;q[D>>2]=m;q[D+20>>2]=0;q[D+24>>2]=0;a=q[a+28>>2];q[D+24>>2]=314;q[D+28>>2]=a;Zp(q[b+104>>2],q[b+8>>2]>>>10&1);q[b+104>>2]=D;q[b+8>>2]=q[b+8>>2]&-1025;if(q[c>>2]>=0){q[c>>2]=0;break d}q[c>>2]=-1;break d}q[f+76>>2]=8;I=0;break d}I=0;B=0;break d}I=0}m=0}D=0;B=0}a=x;if(ca){n[q[a+8>>2]](a,ca)}b=Q;if(Q){n[q[a+8>>2]](a,b)}if(B){n[q[a+8>>2]](a,B)}if(I){n[q[x+8>>2]](x,I)}B=q[f+72>>2];if(B){b=x;if(s[f+64>>1]){a=0;while(1){c=q[B+8>>2];if(c){n[q[x+8>>2]](x,c)}q[B+8>>2]=0;B=B+12|0;a=a+1|0;if(a>>>0>1]){continue}break}B=q[f+72>>2]}if(B){n[q[b+8>>2]](b,B)}q[f+72>>2]=0}Ja:{if(!q[f+76>>2]){break Ja}if(m){n[q[x+8>>2]](x,m)}if(!D){break Ja}Ka:{if(!D){break Ka}a=q[D+24>>2];if(!a){break Ka}n[a](D)}if(D){n[q[x+8>>2]](x,D)}}B=q[f+76>>2]}Da=f+96|0;return B}function Gu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0;l=Da-32|0;Da=l;a:{if(!b){k=1;if(!q[e>>2]|(!e|!f)){break a}q[e>>2]=0;break a}i=b;j=i+1|0;n=r[i+1|0];h=r[i|0];b:{if((h|0)==120){m=i;g=0;if((n|0)==45){break b}}m=0;c:{if(!n){b=j;break c}g=j;k=i;while(1){b=g;d:{if((h&255)!=45|r[k+2|0]!=45){break d}p=p?p:k;if((n|0)!=120){break d}m=b;break c}g=b+1|0;n=r[b+1|0];if(n){h=r[b|0];k=b;continue}else{b=g}break}}g=p?p:b}h=0;b=0;e:{if(!d){break e}b=0;if(!c){break e}b=0;if(!m){break e}b=0;if(!q[c>>2]){break e}k=cb(m,229176);b=0;if(!k){break e}n=r[k+5|0];if((n+ -48&255)>>>0>=10){b=0;if(((n&-33)+ -65&255)>>>0>25){break e}}p=(n+ -65&255)>>>0<26?n+32|0:n;o[l+8|0]=p;f:{g:{b=r[k+6|0];if((b+ -48&255)>>>0>=10){n=1;if(((b&-33)+ -65&255)>>>0>=26){break g}}b=(b+ -65&255)>>>0<26?b+32|0:b;o[l+9|0]=b;s=r[k+7|0];if((s+ -48&255)>>>0>=10){n=2;if(((s&-33)+ -65&255)>>>0>25){break g}}s=(s+ -65&255)>>>0<26?s+32|0:s;o[l+10|0]=s;k=r[k+8|0];if((k+ -48&255)>>>0>=10){n=3;if(((k&-33)+ -65&255)>>>0>=26){break g}}k=(k+ -65&255)>>>0<26?k+32|0:k;o[l+11|0]=k;break f}Na((l+8|0)+n|0,32,4-n|0);k=r[l+11|0];s=r[l+10|0];b=r[l+9|0];p=r[l+8|0]}b=k&255|(s&255)<<8|(b&255)<<16|p<<24;q[d>>2]=(b&-538976289)==1145457748?b^538976288:b;q[c>>2]=1;b=1}h:{if(!f|!e|(!m|!q[e>>2])){break h}k=cb(m,229182);if(!k){break h}m=r[k+5|0];if(((m&-33)+ -65&255)>>>0>25?(m+ -48&255)>>>0>=10:0){break h}p=(m+ -97&255)>>>0<26?m+ -32|0:m;o[l+8|0]=p;i:{j:{h=r[k+6|0];if((h+ -48&255)>>>0>=10){n=1;if(((h&-33)+ -65&255)>>>0>=26){break j}}h=(h+ -97&255)>>>0<26?h+ -32|0:h;o[l+9|0]=h;m=r[k+7|0];if((m+ -48&255)>>>0>=10){n=2;if(((m&-33)+ -65&255)>>>0>25){break j}}m=(m+ -97&255)>>>0<26?m+ -32|0:m;o[l+10|0]=m;k=r[k+8|0];if((k+ -48&255)>>>0>=10){n=3;if(((k&-33)+ -65&255)>>>0>=26){break j}}k=(k+ -97&255)>>>0<26?k+ -32|0:k;o[l+11|0]=k;break i}Na((l+8|0)+n|0,32,4-n|0);k=r[l+11|0];m=r[l+10|0];h=r[l+9|0];p=r[l+8|0]}h=k&255|(m&255)<<8|(h&255)<<16|p<<24;q[f>>2]=(h&-538976289)==1145457748?h^538976288:h;h=1;q[e>>2]=1}k=b^1;if(!f|!e|(!q[e>>2]|h)){break a}b=g;q[l+24>>2]=i;h=i;k:{l:{m:{while(1){g=cb(h,235760);if(!g|g>>>0>=b>>>0){break m}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1095782472;break l}h=i;n:{while(1){g=cb(h,235769);if(!g|g>>>0>=b>>>0){break n}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1346851360;break l}h=i;o:{while(1){g=cb(h,235778);if(!g|g>>>0>=b>>>0){break o}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1347571488;break l}h=i;p:{while(1){g=cb(h,235787);if(!g|g>>>0>=b>>>0){break p}h=g+7|0;g=r[g+7|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1230000200;break l}h=i;q:{while(1){g=cb(h,235795);if(!g|g>>>0>=b>>>0){break q}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1262961952;break l}h=i;r:{while(1){g=cb(h,235801);if(!g|g>>>0>=b>>>0){break r}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362693;break l}h=i;s:{while(1){g=cb(h,235807);if(!g|g>>>0>=b>>>0){break s}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362698;break l}h=i;t:{while(1){g=cb(h,235813);if(!g|g>>>0>=b>>>0){break t}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362702;break l}u:{h=o[i|0]+ -97|0;if(h>>>0>25){break u}v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{switch(h-1|0){default:if(Ta(j,235819)){break u}q[f>>2]=1245859616;break l;case 1:F:{if(Ra(j,235829,10)){break F}h=r[i+11|0];if(h?(h|0)!=45:0){break F}q[f>>2]=1514686496;break l}G:{if(Ra(j,235840,10)){break G}h=r[i+11|0];if(h?(h|0)!=45:0){break G}q[f>>2]=1514686496;break l}H:{if(Ra(j,235851,10)){break H}h=r[i+11|0];if(h?(h|0)!=45:0){break H}q[f>>2]=1514686496;break l}I:{if(Ra(j,235862,10)){break I}h=r[i+11|0];if(h?(h|0)!=45:0){break I}q[f>>2]=1514686496;break l}J:{if(Ra(j,235873,10)){break J}h=r[i+11|0];if(h?(h|0)!=45:0){break J}q[f>>2]=1514686496;break l}K:{if(Ra(j,235884,10)){break K}h=r[i+11|0];if(h?(h|0)!=45:0){break K}q[f>>2]=1514686496;break l}L:{if(Ra(j,235895,10)){break L}h=r[i+11|0];if(h?(h|0)!=45:0){break L}q[f>>2]=1514686496;break l}M:{if(Ra(j,235906,10)){break M}h=r[i+11|0];if(h?(h|0)!=45:0){break M}q[f>>2]=1514686496;break l}N:{if(Ra(j,235917,10)){break N}h=r[i+11|0];if(h?(h|0)!=45:0){break N}q[f>>2]=1514686496;break l}O:{if(Ra(j,235928,10)){break O}h=r[i+11|0];if(h?(h|0)!=45:0){break O}q[f>>2]=1514686496;break l}P:{if(Ra(j,235939,10)){break P}h=r[i+11|0];if(h?(h|0)!=45:0){break P}q[f>>2]=1514686496;break l}Q:{if(Ra(j,235950,10)){break Q}h=r[i+11|0];if(h?(h|0)!=45:0){break Q}q[f>>2]=1514686496;break l}R:{if(Ra(j,235961,7)){break R}h=r[i+8|0];if(h?(h|0)!=45:0){break R}q[f>>2]=1514689312;break l}S:{if(Ra(j,235969,7)){break S}h=r[i+8|0];if(h?(h|0)!=45:0){break S}q[f>>2]=1514689568;break l}T:{if(Ra(j,235977,7)){break T}h=r[i+8|0];if(h?(h|0)!=45:0){break T}q[f>>2]=1514689312;break l}U:{if(Ra(j,235985,7)){break U}h=r[i+8|0];if(h?(h|0)!=45:0){break U}q[f>>2]=1514689568;break l}V:{if(Ra(j,235993,7)){break V}h=r[i+8|0];if(h?(h|0)!=45:0){break V}q[f>>2]=1514689312;break l}W:{if(Ra(j,236001,7)){break W}h=r[i+8|0];if(h?(h|0)!=45:0){break W}q[f>>2]=1514689568;break l}X:{if(Ra(j,236009,7)){break X}h=r[i+8|0];if(h?(h|0)!=45:0){break X}q[f>>2]=1514689312;break l}Y:{if(Ra(j,236017,7)){break Y}h=r[i+8|0];if(h?(h|0)!=45:0){break Y}q[f>>2]=1514689568;break l}Z:{if(Ra(j,236025,7)){break Z}h=r[i+8|0];if(h?(h|0)!=45:0){break Z}q[f>>2]=1514689312;break l}_:{if(Ra(j,236033,7)){break _}h=r[i+8|0];if(h?(h|0)!=45:0){break _}q[f>>2]=1514689568;break l}$:{if(Ra(j,236041,7)){break $}h=r[i+8|0];if(h?(h|0)!=45:0){break $}q[f>>2]=1514689312;break l}aa:{if(Ra(j,236049,7)){break aa}h=r[i+8|0];if(h?(h|0)!=45:0){break aa}q[f>>2]=1514689568;break l}if(Ra(j,236057,3)){break v}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break w}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 5:ba:{if(Ra(j,236093,10)){break ba}h=r[i+11|0];if(h?(h|0)!=45:0){break ba}q[f>>2]=1514686496;break l}ca:{if(Ra(j,236104,10)){break ca}h=r[i+11|0];if(h?(h|0)!=45:0){break ca}q[f>>2]=1514686496;break l}da:{if(Ra(j,236115,7)){break da}h=r[i+8|0];if(h?(h|0)!=45:0){break da}q[f>>2]=1514689312;break l}ea:{if(Ra(j,236123,7)){break ea}h=r[i+8|0];if(h?(h|0)!=45:0){break ea}q[f>>2]=1514689568;break l}fa:{if(Ra(j,236131,6)){break fa}h=r[i+7|0];if(h?(h|0)!=45:0){break fa}q[f>>2]=1230132256;break l}if(Ra(j,236138,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break x}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 6:ga:{if(Ra(j,236142,10)){break ga}h=r[i+11|0];if(h?(h|0)!=45:0){break ga}q[f>>2]=1514686496;break l}ha:{if(Ra(j,236153,10)){break ha}h=r[i+11|0];if(h?(h|0)!=45:0){break ha}q[f>>2]=1514686496;break l}ia:{if(Ra(j,236164,10)){break ia}h=r[i+11|0];if(h?(h|0)!=45:0){break ia}q[f>>2]=1514686496;break l}ja:{if(Ra(j,236175,10)){break ja}h=r[i+11|0];if(h?(h|0)!=45:0){break ja}q[f>>2]=1514686496;break l}ka:{if(Ra(j,236186,7)){break ka}h=r[i+8|0];if(h?(h|0)!=45:0){break ka}q[f>>2]=1514689312;break l}la:{if(Ra(j,236194,7)){break la}h=r[i+8|0];if(h?(h|0)!=45:0){break la}q[f>>2]=1514689568;break l}ma:{if(Ra(j,236202,7)){break ma}h=r[i+8|0];if(h?(h|0)!=45:0){break ma}q[f>>2]=1514689312;break l}na:{if(Ra(j,236210,7)){break na}h=r[i+8|0];if(h?(h|0)!=45:0){break na}q[f>>2]=1514689568;break l}if(Ra(j,236218,3)){break y}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break z}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 7:if(!Ta(j,236226)){q[f>>2]=1312904736;b=1;if(t[e>>2]<=1){break k}q[f+4>>2]=1096042528;b=2;break k}if(!Ta(j,236234)){q[f>>2]=1514689312;break l}if(Ta(j,236239)){break u}q[f>>2]=1280596512;break l;case 10:if(Ra(j,236025,7)){break u}h=r[i+8|0];if(h?(h|0)!=45:0){break u}q[f>>2]=1514689312;break l;case 11:oa:{if(Ra(j,236244,10)){break oa}h=r[i+11|0];if(h?(h|0)!=45:0){break oa}q[f>>2]=1514686496;break l}pa:{if(Ra(j,236255,10)){break pa}h=r[i+11|0];if(h?(h|0)!=45:0){break pa}q[f>>2]=1514686496;break l}qa:{if(Ra(j,236266,7)){break qa}h=r[i+8|0];if(h?(h|0)!=45:0){break qa}q[f>>2]=1514689312;break l}ra:{if(Ra(j,236274,7)){break ra}h=r[i+8|0];if(h?(h|0)!=45:0){break ra}q[f>>2]=1514689568;break l}if(Ra(j,236282,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break A}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 12:sa:{if(Ra(j,236093,10)){break sa}h=r[i+11|0];if(h?(h|0)!=45:0){break sa}q[f>>2]=1514686496;break l}ta:{if(Ra(j,236104,10)){break ta}h=r[i+11|0];if(h?(h|0)!=45:0){break ta}q[f>>2]=1514686496;break l}ua:{if(Ra(j,236115,7)){break ua}h=r[i+8|0];if(h?(h|0)!=45:0){break ua}q[f>>2]=1514689312;break l}va:{if(Ra(j,236123,7)){break va}h=r[i+8|0];if(h?(h|0)!=45:0){break va}q[f>>2]=1514689568;break l}if(Ra(j,236138,3)){break B}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break C}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 16:if(Ra(j,236298,2)){break u}h=i;while(1){g=cb(h,236301);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1297042464;break l;case 21:wa:{if(Ra(j,236305,10)){break wa}h=r[i+11|0];if(h?(h|0)!=45:0){break wa}q[f>>2]=1514686496;break l}xa:{if(Ra(j,236316,10)){break xa}h=r[i+11|0];if(h?(h|0)!=45:0){break xa}q[f>>2]=1514686496;break l}ya:{if(Ra(j,236327,7)){break ya}h=r[i+8|0];if(h?(h|0)!=45:0){break ya}q[f>>2]=1514689312;break l}za:{if(Ra(j,236335,7)){break za}h=r[i+8|0];if(h?(h|0)!=45:0){break za}q[f>>2]=1514689568;break l}if(Ra(j,236343,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break D}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 23:if(Ra(j,236347,7)){break u}h=r[i+8|0];if(h?(h|0)!=45:0){break u}q[f>>2]=1514689312;break l;case 0:case 2:case 3:case 4:case 8:case 9:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 22:break u;case 24:break E}}Aa:{if(Ra(j,236355,9)){break Aa}h=r[i+10|0];if(h?(h|0)!=45:0){break Aa}q[f>>2]=1514686496;break l}Ba:{if(Ra(j,236365,9)){break Ba}h=r[i+10|0];if(h?(h|0)!=45:0){break Ba}q[f>>2]=1514686496;break l}if(!Ta(j,236375)){q[f>>2]=1514689312;break l}Ca:{if(Ra(j,236385,6)){break Ca}h=r[i+7|0];if(h?(h|0)!=45:0){break Ca}q[f>>2]=1514689312;break l}Da:{if(Ra(j,236392,6)){break Da}h=r[i+7|0];if(h?(h|0)!=45:0){break Da}q[f>>2]=1514689568;break l}if(!Ta(j,236399)){q[f>>2]=1514689312;break l}if(Ra(j,236405,2)){break u}h=i;Ea:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ea}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Fa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Fa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ga:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ga}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ha:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ha}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break B}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(!Ta(j,236286)){q[f>>2]=1313821216;break l}if(Ta(j,236292)){break u}q[f>>2]=1314475552;break l}h=i;Ia:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ia}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ja:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ja}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break y}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(Ra(j,236222,3)){break u}h=i;Ka:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ka}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;La:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break La}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ma:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ma}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Na:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Na}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break v}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Oa:{if(Ra(j,236073,3)){break Oa}h=i;Pa:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Pa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Qa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Qa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Oa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Ra:{if(Ra(j,236077,3)){break Ra}h=i;Sa:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Sa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Ta:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ta}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Ra}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Ua:{if(Ra(j,236081,3)){break Ua}h=i;Va:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Va}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Wa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Wa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Ua}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Xa:{if(Ra(j,236085,3)){break Xa}h=i;Ya:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ya}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Za:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Za}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Xa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(Ra(j,236089,3)){break u}h=i;_a:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break _a}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;$a:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break $a}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=Pb(i,45);ab:{if(!h|(b-i|0)<6){break ab}b=h+1|0;i=Pb(b,45);bb:{if(i){i=i+(h^-1)|0;break bb}i=Wa(b)}if((i|0)!=3|((r[b|0]&223)+ -65&255)>>>0>25){break ab}q[l+24>>2]=b}q[l+12>>2]=820;q[l+16>>2]=0;q[l+8>>2]=229200;if(eY(l+8|0,l+24|0,l+28|0)){b=q[l+28>>2];while(1){i=b;if(i){b=i+ -1|0;if(!Ta((i<<3)+229200|0,(b<<3)+229200|0)){continue}}break}if(!q[e>>2]){b=0;break k}b=820-i|0;h=b>>>0>820?0:b;g=(i<<3)+229200|0;b=0;while(1){if((b|0)==(h|0)){b=h;break k}j=b+i<<3;if(Ta(j+229200|0,g)){break k}q[(b<<2)+f>>2]=q[j+229204>>2];b=b+1|0;if(b>>>0>2]){continue}break}break k}i=q[l+24>>2];b=0;if(!h){h=Wa(i)+i|0}if((h-i|0)!=3){break k}u=f,v=cy(i)&-538976257,q[u>>2]=v}b=1}q[e>>2]=b}if(!(!d|!c|(!k|!q[c>>2]))){b=0;e=d;cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break fb}if((a|0)!=1147500129){break db}h=1684370994;break fb}if((a|0)==1198877298){break kb}if((a|0)==1198879349){break jb}if((a|0)!=1265525857){break db}h=1802396722;break fb}if((a|0)<=1332902240){if((a|0)==1298954605){break ib}h=1836674354;if((a|0)==1299803506){break eb}break db}if((a|0)==1332902241){break hb}if((a|0)==1415671148){break gb}if((a|0)!=1415933045){break db}h=1952803890;break fb}h=1735029298;break fb}h=1735750194;break fb}h=1835822386;break fb}h=1869773106;break fb}h=1953328178}q[e>>2]=h|51;b=1;if(t[c>>2]<2){break cb}}q[(b<<2)+d>>2]=h;b=b+1|0;if(t[c>>2]<=b>>>0){break cb}}d=(b<<2)+d|0;lb:{mb:{nb:{ob:{pb:{if((a|0)<=1315663726){if(!a){break cb}if((a|0)!=1214870113){break pb}a=1801547361;break lb}if((a|0)==1315663727){break ob}if((a|0)==1449224553){break nb}if((a|0)!=1500080489){break mb}a=2036932640;break lb}if((a|0)!=1281453935){break mb}a=1818324768;break lb}a=1852534560;break lb}a=1986095392;break lb}a=a|536870912}q[d>>2]=a;b=b+1|0}q[c>>2]=b}Da=l+32|0}function vD(a,b,c,d,e){a=a|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,u=0,v=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;g=Da-96|0;Da=g;a:{b:{i=q[q[b+96>>2]+4>>2];h=_d(i,9848);if(!h){break b}D=ld(q[b+96>>2],10164,1);E=_d(i,12904);f=_d(i,12913);if(!f){break b}q[b+556>>2]=f;F=ld(q[b+96>>2],10120,1);f=Xa(a,0);q[g+4>>2]=f;if(f){break a}f=n[q[h+4>>2]](a,b,c,d,e)|0;q[g+4>>2]=f;c:{if(!f){if(q[b+148>>2]!=1330926671){f=2;q[g+4>>2]=2;break a}f=0;if((c|0)<0){break a}f=n[q[b+516>>2]](b,1751474532,a,0)|0;q[g+4>>2]=f;d:{if(!f){f=n[q[h+8>>2]](a,b,c,d,e)|0;q[g+4>>2]=f;if(!f){break d}break a}f=n[q[h+32>>2]](b,a)|0;q[g+4>>2]=f;if(f){break a}y=1}f=n[q[b+516>>2]](b,1128678962,a,0)|0;q[g+4>>2]=f;if(!f){d=1;o[b+732|0]=1;e=1;break c}if((f&255)!=142){break a}e=0;f=n[q[b+516>>2]](b,1128678944,a,0)|0;q[g+4>>2]=f;if(f){break a}d=1;break c}d=0;f=Xa(a,0);q[g+4>>2]=f;if(f){break a}q[g+4>>2]=0;y=1;e=0}B=q[b+100>>2];h=gb(B,3136,g+4|0);f=q[g+4>>2];if(f){break a}q[b+712>>2]=h;A=q[a+28>>2];h=Na(h,0,3136);q[g+80>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;f=g- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[g+56>>2]=0;q[g+60>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;v=q[a+8>>2];o[h+32|0]=e;q[h+8>>2]=A;q[h+4>>2]=a;q[h>>2]=i;q[h+12>>2]=v;f=lb(a,12944,h);q[g+84>>2]=f;e:{if(f){break e}f:{if(e){if(!(r[h+26|0]>4?r[h+24|0]==2:0)){q[g+84>>2]=2;break e}I=h,J=ib(a,g+84|0),q[I+28>>2]=J;if(q[g+84>>2]){break e}l=r[h+26|0];break f}f=Ob(a,g+84|0);if(q[g+84>>2]){break e}if(!(r[h+24|0]!=1|(f&255)>>>0>4)){l=r[h+26|0];if(l>>>0>3){break f}}q[g+84>>2]=2;break e}f=Xa(a,v+(l&255)|0);q[g+84>>2]=f;if(f){if(!y){break e}q[g+84>>2]=2;break e}g:{if(e){q[h+1264>>2]=0;q[h+1268>>2]=0;q[h+1240>>2]=0;q[h+1244>>2]=0;q[h+1272>>2]=0;f=h+1256|0;q[f>>2]=0;q[f+4>>2]=0;f=h+1248|0;q[f>>2]=0;q[f+4>>2]=0;q[h+1260>>2]=q[a+8>>2];f=q[h+28>>2];q[h+1264>>2]=f;f=Ib(a,f);q[g+84>>2]=f;if(f){break e}f=Me(h+108|0,a,1,e);q[g+84>>2]=f;if(f){break e}break g}f=Me(h+36|0,a,0,0);q[g+84>>2]=f;if(f){if(!y){break e}q[g+84>>2]=2;break e}f=q[h+48>>2];if(!(f>>>0<2|t[h+60>>2]>=f>>>0)){q[g+84>>2]=y?2:3;break e}f=Me(h+1240|0,a,0,0);q[g+84>>2]=f;if(f){break e}f=Me(g+48|0,a,1,0);q[g+84>>2]=f;if(f){break e}f=Me(h+108|0,a,1,0);q[g+84>>2]=f;if(f){break e}f=mj(g+48|0,h+1360|0,h+1364|0,h+1368|0);q[g+84>>2]=f;if(f){break e}if(t[h+48>>2]<=t[h+1252>>2]){break g}q[g+84>>2]=3;break e}q[h+1356>>2]=q[g+60>>2];h:{i:{if(y){l=c&65535;f=q[h+48>>2];if((c|0)<1|l>>>0>>0){break i}q[g+84>>2]=6;break e}l=0;if(t[h+48>>2]<2){break h}q[g+84>>2]=3;break e}q[h+16>>2]=f}if((c|0)<0){break e}f=io(h+1372|0,h+1240|0,l,a,v,e?12288:4096,h,b);q[g+84>>2]=f;if(f){break e}f=Xa(a,v+q[h+1484>>2]|0);q[g+84>>2]=f;if(f){break e}f=Me(h+1204|0,a,0,e);q[g+84>>2]=f;if(f){break e}j:{if(!(q[h+1504>>2]==65535?!e:0)){f=q[a+28>>2];i=q[h+1552>>2];q[g+92>>2]=3;m=h+3112|0;k:{l:{if(!i){break l}i=Xa(a,i+v|0);q[g+92>>2]=i;if(i){break k}i=Ib(a,2);q[g+92>>2]=i;if(i){break k}x=q[a+8>>2];i=ib(a,g+92|0);if(q[g+92>>2]){break k}if((i|0)!=1){q[g+92>>2]=3;break k}i=Hb(a,g+92|0);if(q[g+92>>2]){break k}u=ib(a,g+92|0);q[m>>2]=u;if(q[g+92>>2]){break k}j=Oa(f,4,0,u,0,g+92|0);if(q[g+92>>2]){break k}if(q[m>>2]){while(1){I=(k<<2)+j|0,J=Hb(a,g+92|0),q[I>>2]=J;if(q[g+92>>2]){break k}k=k+1|0;if(k>>>0>2]){continue}break}}i=Xa(a,i+x|0);q[g+92>>2]=i;if(i){break k}I=h,J=ib(a,g+92|0),p[I+3120>>1]=J;if(q[g+92>>2]){break k}i=ib(a,g+92|0);q[h+3124>>2]=i;if(q[g+92>>2]){break k}u=Oa(f,4,0,i,0,g+92|0);q[h+3128>>2]=u;if(q[g+92>>2]){break k}m:{if(!q[h+3124>>2]){break m}i=Oa(f,12,0,s[h+3120>>1],0,g+92|0);q[u>>2]=i;if(q[g+92>>2]){break k}while(1){n:{if(!s[h+3120>>1]){i=0;break n}z=ib(a,g+92|0);if(q[g+92>>2]){break k}k=0;while(1){G=ib(a,g+92|0);if(q[g+92>>2]){break k}H=ib(a,g+92|0);if(q[g+92>>2]){break k}i=w(k,12)+i|0;q[i+8>>2]=H<<16>>16<<2;q[i+4>>2]=G<<16>>16<<2;q[i>>2]=z<<16>>16<<2;k=k+1|0;i=s[h+3120>>1];if(k>>>0>=i>>>0){break n}i=q[u>>2];z=ib(a,g+92|0);if(!q[g+92>>2]){continue}break}break k}C=C+1|0;if(C>>>0>=t[h+3124>>2]){break m}u=q[h+3128>>2]+(C<<2)|0;i=Oa(f,12,0,i,0,g+92|0);q[u>>2]=i;if(!q[g+92>>2]){continue}break}break k}k=Oa(f,8,0,q[h+3112>>2],0,g+92|0);q[h+3116>>2]=k;if(q[g+92>>2]){break k}if(!q[m>>2]){break l}i=Xa(a,x+q[j>>2]|0);q[g+92>>2]=i;if(i){break k}i=0;while(1){u=Ib(a,4);q[g+92>>2]=u;if(u){break k}u=(i<<3)+k|0;k=ib(a,g+92|0);q[u>>2]=k;if(q[g+92>>2]){break k}I=u,J=Oa(f,4,0,k,0,g+92|0),q[I+4>>2]=J;if(q[g+92>>2]){break k}if(q[u>>2]){k=0;while(1){z=ib(a,g+92|0);q[q[u+4>>2]+(k<<2)>>2]=z;if(q[g+92>>2]){break k}k=k+1|0;if(k>>>0>2]){continue}break}}i=i+1|0;if(i>>>0>=t[m>>2]){break l}k=q[h+3116>>2];u=Xa(a,x+q[(i<<2)+j>>2]|0);q[g+92>>2]=u;if(!u){continue}break}break k}q[g+92>>2]=0}if(j){n[q[f+8>>2]](f,j)}o:{if(!q[g+92>>2]){q[g+84>>2]=0;break o}ho(m,f);f=q[g+92>>2];q[g+84>>2]=f;if(f){break e}}f=Xa(a,v+q[h+1536>>2]|0);q[g+84>>2]=f;if(f){break e}i=0;f=Me(g+8|0,a,0,e);q[g+84>>2]=f;if(f){break e}f=q[g+20>>2];p:{if(f>>>0>256){break p}q[h+2024>>2]=f;j=0;f=Oa(A,652,0,f,0,g+84|0);i=q[g+84>>2];if(i){break p}i=q[g+20>>2];if(i){while(1){q[((j<<2)+h|0)+2028>>2]=f+w(j,652);j=j+1|0;if((i|0)!=(j|0)){continue}break}m=e?16384:4096;f=0;while(1){i=io(q[((f<<2)+h|0)+2028>>2],g+8|0,f,a,v,m,h,b);q[g+84>>2]=i;if(i){break p}f=f+1|0;j=q[g+20>>2];if(f>>>0>>0){continue}break}}if(j>>>0<=1){i=0;if(e){break p}}f=q[h+1216>>2];i=Xa(a,v+q[h+1540>>2]|0);q[g+92>>2]=i;q:{if(i){break q}j=Ob(a,g+92|0);i=q[g+92>>2];if(i){break q}q[h+3072>>2]=0;o[h+3052|0]=j;i=3;j=j&255;r:{if(j>>>0>3){break r}s:{switch(j-1|0){case 2:f=ib(a,g+92|0);i=q[g+92>>2];if(i){break q}if(!f){i=3;break r}f=w(f,3)+2|0;break;case 0:case 1:break r;default:break s}}q[h+3064>>2]=f;i=Bc(a,f,h+3060|0)}q[g+92>>2]=i}q[g+84>>2]=i}f=q[g+8>>2];if(f){i=g+40|0;j=q[f+28>>2];if(q[g+40>>2]){zb(f,i)}f=q[g+36>>2];if(f){n[q[j+8>>2]](j,f)}q[i>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;i=q[g+84>>2]}if(!i){break j}break e}q[h+2024>>2]=0}if(!q[h+1484>>2]){q[g+84>>2]=3;break e}q[h+20>>2]=q[h+1216>>2];f=mj(h+108|0,h+1352|0,0,0);q[g+84>>2]=f;if(f){break e}t:{if(e){break t}j=q[h+20>>2];if(!j){break t}m=q[a+28>>2];x=q[h+1504>>2];f=q[h+1476>>2];q[g+92>>2]=0;u=h+1180|0;u:{v:{w:{x:{if(f>>>0>=3){f=f+v|0;q[h+1184>>2]=f;f=Xa(a,f);q[g+92>>2]=f;if(f){break v}I=u,J=Ob(a,g+92|0)&255,q[I>>2]=J;if(q[g+92>>2]){break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}p[f>>1]=0;f=q[u>>2];if(f>>>0<=2){y:{switch(f-1|0){default:f=1;i=mb(a,(j<<1)+ -2|0);q[g+92>>2]=i;if(i){break v}if(j>>>0>=2){while(1){i=ob(a);p[q[h+1188>>2]+(f<<1)>>1]=i;f=f+1|0;if((j|0)!=(f|0)){continue}break}}jb(a);break x;case 0:case 1:break y}}f=1;if(j>>>0<=1){break x}while(1){i=ib(a,g+92|0);if(q[g+92>>2]){break v}z:{if(q[u>>2]==2){k=ib(a,g+92|0);if(!q[g+92>>2]){break z}break v}k=Ob(a,g+92|0);if(q[g+92>>2]){break v}k=k&255}A:{if(f>>>0>=j>>>0){break A}A=(k^65535)>>>0>>0?i^65535:k;z=q[h+1188>>2];k=0;while(1){p[z+(f<<1)>>1]=i;f=f+1|0;if(k>>>0>=A>>>0){break A}i=i+1|0;k=k+1|0;if(f>>>0>>0){continue}break}}if(f>>>0>>0){continue}break}break x}q[g+92>>2]=3;break v}q[h+1184>>2]=f;if(f>>>0>2){break w}B:{switch(f-1|0){default:if(j>>>0>=230){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,12976,j<<1);break x;case 0:if(j>>>0>=167){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,13440,j<<1);break x;case 1:break B}}if(j>>>0>=88){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,13776,j<<1)}C:{if(!((x|0)!=65535?y:0)){f=q[g+92>>2];break C}f=0;q[g+8>>2]=0;D:{if(q[h+1196>>2]){break D}k=q[h+1188>>2];i=0;while(1){x=s[k+(i<<1)>>1];f=x>>>0>(f&65535)>>>0?x:f;i=i+1|0;if((j|0)!=(i|0)){continue}break}k=f&65535;x=Oa(m,2,0,k+1|0,0,g+8|0);q[h+1192>>2]=x;f=q[g+8>>2];if(f){break D}if((j|0)>=1){A=q[h+1188>>2];f=j;while(1){i=f+ -1|0;p[x+(s[A+(i<<1)>>1]<<1)>>1]=i;z=(f|0)>1;f=i;if(z){continue}break}}q[h+1200>>2]=j;q[h+1196>>2]=k;f=0}q[g+92>>2]=f}if(f){break v}q[g+84>>2]=0;break u}q[g+92>>2]=3}f=q[h+1188>>2];if(f){n[q[m+8>>2]](m,f)}q[h+1188>>2]=0;f=q[h+1192>>2];if(f){n[q[m+8>>2]](m,f)}q[u+8>>2]=0;q[u+12>>2]=0;q[u>>2]=0;q[u+4>>2]=0;f=q[g+92>>2];q[g+84>>2]=f;if(f){break e}}if(q[h+1504>>2]!=65535){break t}f=q[h+1480>>2];m=q[h+20>>2];q[g+92>>2]=0;E:{F:{G:{H:{k=q[h+1188>>2];if(!k){break H}i=Na(h+156|0,0,1024);j=f>>>0>1;I:{if(j){f=f+v|0;q[h+148>>2]=f;f=Xa(a,f);q[g+92>>2]=f;if(f){break F}I=h,J=Ob(a,g+92|0)&255,q[I+144>>2]=J;f=q[g+92>>2];if(f){break F}i=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}f=q[h+144>>2]&127;if(f>>>0>1){break H}v=i&255;J:{if(f-1){q[h+152>>2]=v+1;f=mb(a,v);q[g+92>>2]=f;if(f){break F}if(i){j=q[a+32>>2];f=1;while(1){if(f>>>0>>0){i=(r[j|0]<<1)+h|0;p[i+668>>1]=f;p[i+156>>1]=s[q[h+1188>>2]+(f<<1)>>1]}j=j+1|0;i=(f|0)!=(v|0);f=f+1|0;if(i){continue}break}}jb(a);break J}u=0;q[h+152>>2]=0;if(!i){break J}j=1;while(1){x=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}i=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}k=i&255;f=k+1|0;i=q[h+152>>2];if(i>>>0<=k>>>0){q[h+152>>2]=f;i=f}k=f+j|0;if(j>>>0>>0){f=x&255;while(1){if(!(f>>>0>255|j>>>0>=m>>>0)){x=(f<<1)+h|0;p[x+668>>1]=j;p[x+156>>1]=s[q[h+1188>>2]+(j<<1)>>1]}f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}j=k;u=u+1|0;if((v|0)!=(u|0)){continue}break}if(i>>>0<257){break J}q[h+152>>2]=256}if(!(r[h+144|0]&128)){f=q[g+92>>2];break E}i=Ob(a,g+92|0);f=q[g+92>>2];if(!i|f){break E}i=i&255;k=0;if(!m){while(1){j=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}m=ib(a,g+92|0);f=q[g+92>>2];if(f){break F}p[(((j&255)<<1)+h|0)+156>>1]=m;k=k+1|0;if((i|0)!=(k|0)){continue}break I}}while(1){v=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}j=ib(a,g+92|0);f=q[g+92>>2];if(f){break F}v=((v&255)<<1)+h|0;p[v+156>>1]=j;u=q[h+1188>>2];f=0;K:{while(1){if((j|0)!=s[u+(f<<1)>>1]){f=f+1|0;if((m|0)!=(f|0)){continue}break K}break}p[v+668>>1]=f}k=k+1|0;if((i|0)!=(k|0)){continue}break}break I}if(j){break H}L:{if(f-1){Qa(i,10192,512);break L}Qa(i,13952,512)}q[h+152>>2]=0;a=q[a+28>>2];q[g+8>>2]=0;i=q[h+1196>>2];if(!i){i=0;u=h;if(m){f=0;while(1){v=s[k+(f<<1)>>1];i=v>>>0>(i&65535)>>>0?v:i;f=f+1|0;if((m|0)!=(f|0)){continue}break}i=i&65535}j=Oa(a,2,0,i+1|0,0,g+8|0);q[u+1192>>2]=j;f=q[g+8>>2];if(f){break G}if((m|0)>=1){k=q[h+1188>>2];f=m;while(1){a=f+ -1|0;p[j+(s[k+(a<<1)>>1]<<1)>>1]=a;v=(f|0)>1;f=a;if(v){continue}break}}q[h+1200>>2]=m;q[h+1196>>2]=i}q[g+92>>2]=0;f=0;while(1){a=(f<<1)+h|0;m=a;M:{N:{j=s[a+156>>1];if(!j|i>>>0>>0){break N}j=s[q[h+1192>>2]+(j<<1)>>1];if(!j){break N}p[a+668>>1]=j;f=f+1|0;q[h+152>>2]=f;break M}p[a+668>>1]=0;p[m+156>>1]=0;f=f+1|0}if((f|0)!=256){continue}break}}q[g+84>>2]=0;break t}f=3}q[g+92>>2]=f}q[g+84>>2]=f;break e}q[g+84>>2]=f;if(f){break e}}f=0;a=q[h+36>>2];O:{if(!a){break O}a=q[a+28>>2];i=Ag(h+36|0,l,g+8|0,g+92|0);q[g+88>>2]=i;if(i){break O}f=a;a=q[g+92>>2];f=gb(f,a+1|0,g+88|0);if(!q[g+88>>2]){if(a){Qa(f,q[g+8>>2],a)}o[a+f|0]=0}if(q[h+68>>2]){break O}zb(q[h+36>>2],g+8|0)}q[h+1348>>2]=f}a=q[g+48>>2];if(a){f=g+80|0;i=q[a+28>>2];if(q[g+80>>2]){zb(a,f)}a=q[g+76>>2];if(a){n[q[i+8>>2]](i,a)}q[f>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;a=g- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[g+56>>2]=0;q[g+60>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0}f=q[g+84>>2];q[g+4>>2]=f;if(f){break a}if((c|0)<=-1){q[b>>2]=q[h+16>>2];f=0;break a}q[h+3088>>2]=F;q[h+3084>>2]=D;q[h+3080>>2]=E;k=c&65535;q[b+4>>2]=k;q[b+16>>2]=q[h+20>>2];if(q[h+1504>>2]==65535?!D:0){break b}c=c>>>16|0;P:{if(!c){break P}f=q[b+548>>2];if(!f|!(q[b+8>>2]&256)){break P}a=q[b+552>>2];f=n[q[f+28>>2]](b,c)|0;q[g+4>>2]=f;if(f){break a}if(!a){break P}n[q[a+28>>2]](b)}if(!r[h+1436|0]){q[h+1440>>2]=y?1e3:s[b+68>>1]}f=q[h+1432>>2];if(!f){f=q[h+1428>>2]}a=f>>31;a=a+f^a;Q:{if((a|0)==65536){f=q[h+1448>>2];break Q}I=h,J=Za(q[h+1440>>2],a),q[I+1440>>2]=J;I=h,J=Za(q[h+1420>>2],a),q[I+1420>>2]=J;I=h,J=Za(q[h+1428>>2],a),q[I+1428>>2]=J;I=h,J=Za(q[h+1424>>2],a),q[I+1424>>2]=J;I=h,J=Za(q[h+1432>>2],a),q[I+1432>>2]=J;I=h,J=Za(q[h+1444>>2],a),q[I+1444>>2]=J;f=Za(q[h+1448>>2],a);q[h+1448>>2]=f}q[h+1448>>2]=f>>16;q[h+1444>>2]=q[h+1444>>2]>>16;a=q[h+2024>>2];if(a){v=h+2028|0;i=h+1420|0;j=i;while(1){a=a+ -1|0;c=q[v+(a<<2)>>2];R:{if(r[c+64|0]){if(!r[h+1436|0]){break R}l=1;f=q[h+1440>>2];S:{if(f>>>0<2){break S}m=q[c+68>>2];if(m>>>0<2){break S}l=f>>>0>>0?f:m}OL(i,c+48|0,l);IL(c+72|0,i,l);I=c,J=bb(q[c+68>>2],q[h+1440>>2],l),q[I+68>>2]=J;break R}f=q[i+4>>2];q[c+48>>2]=q[i>>2];q[c+52>>2]=f;f=q[j+12>>2];q[c+56>>2]=q[j+8>>2];q[c+60>>2]=f;f=q[h+1448>>2];q[c+72>>2]=q[h+1444>>2];q[c+76>>2]=f;q[c+68>>2]=q[h+1440>>2]}l=q[c+60>>2];if(!l){l=q[c+56>>2]}f=l>>31;f=f+l^f;T:{if((f|0)==65536){l=q[c+76>>2];break T}I=c,J=Za(q[c+68>>2],f),q[I+68>>2]=J;I=c,J=Za(q[c+48>>2],f),q[I+48>>2]=J;I=c,J=Za(q[c+56>>2],f),q[I+56>>2]=J;I=c,J=Za(q[c+52>>2],f),q[I+52>>2]=J;I=c,J=Za(q[c+60>>2],f),q[I+60>>2]=J;I=c,J=Za(q[c+72>>2],f),q[I+72>>2]=J;l=Za(q[c+76>>2],f);q[c+76>>2]=l}q[c+76>>2]=l>>16;q[c+72>>2]=q[c+72>>2]>>16;if(a){continue}break}}if(y){q[b>>2]=q[h+16>>2];a=b;if(q[h+1504>>2]!=65535){c=q[h+1196>>2]+1|0}else{c=q[h+1216>>2]}q[a+16>>2]=c;q[b+52>>2]=q[h+1456>>2]>>16;a=q[h+1460>>2]>>16;q[b+56>>2]=a;q[b+60>>2]=q[h+1464>>2]+65535>>16;c=q[h+1468>>2]+65535>>16;q[b- -64>>2]=c;f=q[h+1440>>2];p[b+72>>1]=a;p[b+70>>1]=c;p[b+68>>1]=f;a=c-a|0;c=(w(f&65535,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(a|0)?a:c;p[b+80>>1]=s[h+1406>>1];p[b+82>>1]=s[h+1410>>1];a=q[h+1388>>2];U:{if(!a|(a|0)==65535){break U}V:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break U}a=q[q[h+1360>>2]+(a<<2)>>2];break V}c=q[h+3084>>2];if(!c){break U}a=n[q[c+20>>2]](a)|0}if(!a){break U}I=b,J=$c(B,a,g+48|0),q[I+20>>2]=J}W:{X:{Y:{a=q[b+20>>2];Z:{if(a){break Z}a=0;c=q[h+36>>2];_:{if(!c){break _}c=q[c+28>>2];f=Ag(h+36|0,k,g+48|0,g+8|0);q[g+92>>2]=f;if(f){break _}a=c;c=q[g+8>>2];a=gb(a,c+1|0,g+92|0);if(!q[g+92>>2]){if(c){Qa(a,q[g+48>>2],c)}o[a+c|0]=0}if(q[h+68>>2]){break _}zb(q[h+36>>2],g+48|0)}q[b+20>>2]=a;if(!a){break Y}c=Wa(a);if((c|0)<6){break Z}c=c+1|0;while(1){$:{if(r[a+6|0]!=43|(r[a+5|0]+ -65&255)>>>0>25|((r[a+4|0]+ -65&255)>>>0>25|(r[a+3|0]+ -65&255)>>>0>25)){break $}if((r[a+2|0]+ -65&255)>>>0>25|(r[a|0]+ -65&255)>>>0>25|(r[a+1|0]+ -65&255)>>>0>25){break $}f=7;if((c|0)<8){break $}while(1){i=a+f|0;o[i+ -7|0]=r[i|0];f=f+1|0;if((f|0)!=(c|0)){continue}break}f=(c|0)>13;c=c+ -7|0;if(f){continue}}break}a=q[b+20>>2];if(!a){break Y}}c=q[h+1384>>2];if((c|0)==65535){break X}aa:{if(c>>>0>=391){c=c+ -391|0;if(t[h+1356>>2]<=c>>>0){break X}f=q[q[h+1360>>2]+(c<<2)>>2];break aa}a=q[h+3084>>2];if(!a){break X}f=n[q[a+20>>2]](c)|0;a=q[b+20>>2]}if(!f|!a){break X}j=r[f|0];if(!j){break X}while(1){c=f;ba:{ca:{da:{while(1){f=r[a|0];if((f|0)==(j|0)){a=a+1|0;break ba}ea:{i=j+ -32|0;if(i>>>0>13){break ea}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break ea;default:break ba}}fa:{i=f+ -32|0;if(i>>>0>13){if(f){break X}f=$c(B,c,g+48|0);c=q[b+20>>2];i=Wa(c);a=Wa(f);if((i|0)<=(a|0)){break ca}l=1;if((a|0)<1){break da}break fa}ga:{switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break X;default:break ga}}a=a+1|0;if(j){continue}break X}break}while(1){if(r[c+(i-l|0)|0]!=r[(a-l|0)+f|0]){break W}j=(a|0)==(l|0);l=l+1|0;if(!j){continue}break}}l=i+(a^-1)|0;if((l|0)<1){break ca}while(1){a=c+l|0;i=r[a|0];j=i+ -32|0;if(!((1<>>0<=13:0)|(i|0)==95)){o[a+1|0]=0;if(!f){break X}break W}a=(l|0)>1;l=l+ -1|0;if(a){continue}break}}if(!f){break X}break W}f=c+1|0;j=r[c+1|0];if(j){continue}break}break X}a=q[h+1544>>2];if((a|0)==65535){break X}ha:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break X}a=q[q[h+1360>>2]+(a<<2)>>2];break ha}c=q[h+3084>>2];if(!c){break X}a=n[q[c+20>>2]](a)|0}if(!a){break X}I=b,J=$c(B,a,g+48|0),q[I+20>>2]=J}f=$c(B,12919,g+48|0)}q[b+24>>2]=f;a=d?2073:2065;q[b+8>>2]=q[b+8>>2]|(r[h+1396|0]?a|4:a);f=q[h+1400>>2]!=0;a=q[h+1392>>2];ia:{if((a|0)==65535){break ia}ja:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break ia}a=q[q[h+1360>>2]+(a<<2)>>2];break ja}c=q[h+3084>>2];if(!c){break ia}a=n[q[c+20>>2]](a)|0}if(!a){break ia}if(Ta(a,12927)){if(Ta(a,12932)){break ia}}f=f|2}ka:{if(f&2){break ka}a=q[b+24>>2];if(!a){break ka}if(Ra(a,12927,4)){if(Ra(a,12932,5)){break ka}}f=f|2}q[b+12>>2]=f}a=q[h+1504>>2];la:{ma:{if(!e){l=512;if((a|0)==65535){break ma}}if(!y){break la}l=4096;if((a|0)==65535){break la}}q[b+8>>2]=q[b+8>>2]|l}a=q[b+36>>2];na:{oa:{if(a){c=q[b+40>>2];f=0;while(1){d=q[c+(f<<2)>>2];e=s[d+8>>1];pa:{if(e>>>0>3){break pa}qa:{switch(e-1|0){case 0:case 1:break pa;case 2:break qa;default:break oa}}if(s[d+10>>1]==1){break oa}}f=f+1|0;if(f>>>0>>0){continue}break}}if(q[h+1504>>2]!=65535?y:0){break na}q[g+48>>2]=b;q[g+52>>2]=1970170211;q[g+56>>2]=65539;c=md(9612,0,g+48|0,0);q[g+4>>2]=c;ra:{if(!c){break ra}c=c&255;if((c|0)==163){break ra}if((c|0)!=7){break na}}q[g+4>>2]=0;if(q[b+92>>2]|(a|0)==q[b+36>>2]){break oa}q[b+92>>2]=q[q[b+40>>2]+(a<<2)>>2]}if(!q[h+152>>2]){break na}p[g+56>>1]=7;q[g+48>>2]=b;a=g;b=q[h+148>>2];sa:{if(!b){p[g+58>>1]=0;b=1094995778;break sa}if((b|0)==1){p[g+58>>1]=1;b=1094992453;break sa}p[g+58>>1]=2;b=1094992451}q[a+52>>2]=b;I=g,J=md(9572,0,g+48|0,0),q[I+4>>2]=J}f=q[g+4>>2];break a}f=11;q[g+4>>2]=11}Da=g+96|0;return f|0}function Sn(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;v=Da-32|0;Da=v;e=-2;a:{if(!a){break a}c=q[a+28>>2];if(!c|!q[a>>2]){break a}j=-5;y=(b|0)==4?-5:0;while(1){b=q[c>>2];if(b>>>0>13){e=-2;break a}e=1;x=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(b-1|0){default:e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;b=r[b|0];q[c+4>>2]=b;c=q[a+28>>2];if((b&15)!=8){q[c>>2]=13;q[a+24>>2]=19656;break c}if((q[c+4>>2]>>>4|0)+8>>>0>t[c+16>>2]){q[c>>2]=13;q[a+24>>2]=19683;break c}q[c>>2]=1;j=y;case 0:e=j;b=q[a+4>>2];if(!b){break a}b=b+ -1|0;q[a+4>>2]=b;q[a+8>>2]=q[a+8>>2]+1;e=q[a>>2];q[a>>2]=e+1;e=r[e|0];if(((e|q[c+4>>2]<<8)>>>0)%31){q[c>>2]=13;q[a+24>>2]=19703;break c}if(!(e&32)){q[c>>2]=7;break b}q[c>>2]=2;e=y;break n;case 11:break a;case 7:break h;case 6:break i;case 5:break j;case 4:break k;case 3:break l;case 2:break m;case 1:break o;case 12:break d;case 10:break e;case 9:break f;case 8:break g}}b=q[a+4>>2];e=j}if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=r[b|0]<<24;c=q[a+28>>2];q[c>>2]=3;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<16);c=q[a+28>>2];q[c>>2]=4;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<8);c=q[a+28>>2];q[c>>2]=5;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+r[b|0];b=a;a=q[a+28>>2];q[b+48>>2]=q[a+8>>2];q[a>>2]=6;e=2;break a}q[c>>2]=13;q[a+24>>2]=19726;q[c+4>>2]=0;e=-2;break a}b=q[a+4>>2];f=q[a>>2];d=q[c+20>>2];i=q[d+28>>2];h=q[d+32>>2];m=q[d+52>>2];c=q[d+48>>2];p:{if(m>>>0>>0){e=c+(m^-1)|0;break p}e=q[d+44>>2]-m|0}B=d+20|0;A=d+16|0;q:{while(1){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:{c=q[d>>2];if((c|0)!=2){if(c>>>0>9){break L}R:{S:{switch(c-1|0){case 4:e=q[d+8>>2];break C;case 2:if(i>>>0<=13){break Q}g=i;c=f;break J;case 0:if(i>>>0<=31){break R}g=i;c=f;break w;case 7:break z;case 6:break A;case 5:break B;case 1:break L;case 8:break O;case 3:break P;default:break S}}T:{U:{V:{W:{X:{if(i>>>0>2){g=i;c=f;break X}if(!b){break W}b=b+ -1|0;g=i+8|0;h=r[f|0]<>2]=h&1;switch((h>>>1&3)-1|0){case 2:break T;case 1:break U;case 0:break V;default:break N}}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}f=n[q[a+32>>2]](q[a+40>>2],1,28)|0;if(f){q[f+24>>2]=24128;q[f+20>>2]=20032;p[f+16>>1]=1289;q[f>>2]=0;q[d+4>>2]=f;i=g+ -3|0;h=h>>>3|0;g=6;break M}q[d+32>>2]=h;q[d+4>>2]=0;q[d+28>>2]=g;break G}i=g+ -3|0;h=h>>>3|0;g=3;break M}q[d>>2]=9;q[a+24>>2]=19763;q[d+28>>2]=g+ -3;q[d+32>>2]=h>>>3;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}if(b){break x}break v}if(!b){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}if(e){c=m;break y}Y:{if(q[d+44>>2]!=(m|0)){c=m;break Y}c=q[d+40>>2];e=q[d+48>>2];if((c|0)==(e|0)){c=m;break Y}e=c>>>0>>0?e+(c^-1)|0:m-c|0;if(e){break y}}q[d+52>>2]=c;l=ec(d,a,j);j=q[d+52>>2];g=q[d+48>>2];Z:{if(j>>>0>>0){c=q[d+44>>2];e=g+(j^-1)|0;break Z}c=q[d+44>>2];e=c-j|0}_:{if((c|0)!=(j|0)){c=j;break _}c=q[d+40>>2];if((g|0)==(c|0)){c=j;break _}e=c>>>0>>0?g+(c^-1)|0:j-c|0}if(e){break y}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;x=ec(d,a,l);break q}if(b){break K}break I}e=q[d+8>>2];if(e>>>0<(q[d+4>>2]>>>10|0)+4>>>0){break E}break D}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break t}f=g+ -3|0;h=h>>>3>>>(f&7)|0;i=f&-8;g=1}f=c;q[d>>2]=g;continue}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=m;x=ec(d,a,-2);break q}$:{while(1){g=i+8|0;c=f+1|0;b=b+ -1|0;h=r[f|0]<>>0>=6){break $}i=g;f=c;if(b){continue}break}j=0;break I}j=0}q[d+4>>2]=h&16383;e=h&31;if(e>>>0<=29){f=h>>>5&31;if(f>>>0<30){break H}}q[d>>2]=9;q[a+24>>2]=19811;q[d+28>>2]=g;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}e=n[q[a+32>>2]](q[a+40>>2],(e+f|0)+258|0,4)|0;q[d+12>>2]=e;if(e){break F}q[d+28>>2]=g;q[d+32>>2]=h}q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);q[d+52>>2]=m;x=ec(d,a,-4);break q}q[d>>2]=4;e=0;q[d+8>>2]=0;i=g+ -14|0;h=h>>>14|0;f=c}while(1){aa:{if(i>>>0<=2){if(!b){break aa}b=b+ -1|0;h=r[f|0]<>2]=e+1;q[q[d+12>>2]+(q[(e<<2)+19856>>2]<<2)>>2]=h&7;i=i+ -3|0;h=h>>>3|0;e=q[d+8>>2];if(e>>>0<(q[d+4>>2]>>>10|0)+4>>>0){continue}break D}break}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}if(e>>>0<19){while(1){q[d+8>>2]=e+1;q[q[d+12>>2]+(q[(e<<2)+19856>>2]<<2)>>2]=0;e=q[d+8>>2];if(e>>>0<19){continue}break}}q[d+16>>2]=7;c=q[d+12>>2];g=q[d+36>>2];q[v+28>>2]=0;ba:{e=n[q[a+32>>2]](q[a+40>>2],19,4)|0;ca:{if(!e){c=-4;break ca}da:{ea:{fa:{ga:{ha:{c=jj(c,19,19,0,0,B,A,g,v+28|0,e);g=c+5|0;if(g>>>0>2){break ha}s=24384;switch(g-1|0){case 1:break fa;case 0:break ha;default:break ga}}if(q[A>>2]){break ea}}s=24424}q[a+24>>2]=s;n[q[a+36>>2]](q[a+40>>2],e);break da}n[q[a+36>>2]](q[a+40>>2],e);if(!c){break ba}if((c|0)!=-3){break ca}}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;c=-3}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=m;x=ec(d,a,c);break q}q[d>>2]=5;q[d+8>>2]=0;e=0}g=q[d+4>>2];c=g&31;g=g>>>5&31;k=(c+g|0)+258|0;if(e>>>0>>0){while(1){ia:{ja:{ka:{u=q[A>>2];la:{if(i>>>0>=u>>>0){c=i;l=f;g=b;break la}c=i;s=f;g=b;if(!b){break ka}ma:{while(1){l=s+1|0;g=g+ -1|0;h=r[s|0]<>>0>=u>>>0){break ma}s=l;if(g){continue}break}j=0;break ka}j=0}b=q[B>>2]+((q[(u<<2)+19936>>2]&h)<<3)|0;u=r[b+1|0];w=q[b+4>>2];if(w>>>0>15){break ja}q[d+8>>2]=e+1;q[q[d+12>>2]+(e<<2)>>2]=w;i=c-u|0;h=h>>>u|0;f=l;b=g;e=q[d+8>>2];break ia}q[d+32>>2]=h;q[d+28>>2]=(b<<3)+i;q[a+4>>2]=0;c=q[a>>2];b=b+f|0;q[a>>2]=b;q[a+8>>2]=q[a+8>>2]+(b-c|0);break r}na:{oa:{C=(w|0)==18;z=C?7:w+ -14|0;D=z+u|0;pa:{if(c>>>0>=D>>>0){i=c;f=l;b=g;break pa}i=c;s=l;b=g;if(!b){break oa}qa:{while(1){f=s+1|0;b=b+ -1|0;h=r[s|0]<>>0>=D>>>0){break qa}s=f;if(b){continue}break}j=0;break oa}j=0}i=(i-u|0)-z|0;c=h>>>u|0;h=c>>>z|0;c=(c&q[(z<<2)+19936>>2])+(C?11:3)|0;l=e+c|0;if((w|0)!=16|e?l>>>0<=k>>>0:0){break na}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;q[a+24>>2]=20004;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break t}q[d+32>>2]=h;q[d+28>>2]=(g<<3)+c;q[a+4>>2]=0;b=q[a>>2];c=g+l|0;q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break r}g=0;g=(w|0)==16?q[(q[d+12>>2]+(e<<2)|0)+ -4>>2]:g;while(1){q[q[d+12>>2]+(e<<2)>>2]=g;e=e+1|0;c=c+ -1|0;if(c){continue}break}q[d+8>>2]=l;e=l}g=q[d+4>>2];c=g&31;g=g>>>5&31;k=(c+g|0)+258|0;if(e>>>0>>0){continue}break}}q[d+20>>2]=0;q[v+24>>2]=9;q[v+20>>2]=6;l=q[d+36>>2];u=q[d+12>>2];q[v+28>>2]=0;ra:{sa:{ta:{e=n[q[a+32>>2]](q[a+40>>2],288,4)|0;ua:{if(!e){e=-4;break ua}va:{wa:{w=c+257|0;s=jj(u,w,257,24464,24592,v+16|0,v+24|0,l,v+28|0,e);z=s+4|0;xa:{ya:{if(z>>>0>4){break ya}k=24716;za:{switch(z-1|0){case 0:break xa;case 1:case 2:break ya;case 3:break za;default:break va}}k=q[v+24>>2];if(k){break wa}}k=24751}q[a+24>>2]=k;s=-3;break va}Aa:{Ba:{Ca:{Da:{s=jj(u+(w<<2)|0,g+1|0,0,24784,24912,v+12|0,v+20|0,l,v+28|0,e);l=s+5|0;Ea:{if(l>>>0>5){break Ea}g=25032;Fa:{switch(l-1|0){case 0:break Aa;case 1:break Ba;case 2:case 3:break Ea;case 4:break Fa;default:break Ca}}g=q[v+20>>2];if(g|!c){break Da}}g=25086;break Ba}n[q[a+36>>2]](q[a+40>>2],e);break ta}g=25061}q[a+24>>2]=g;s=-3}}n[q[a+36>>2]](q[a+40>>2],e);e=-4;c=s+3|0;if(c>>>0>3){break ua}Ga:{switch(c-1|0){case 2:g=q[v+20>>2];k=q[v+24>>2];break ta;case 0:case 1:break ua;default:break Ga}}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;e=-3}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=m;break sa}e=q[v+12>>2];l=q[v+16>>2];c=n[q[a+32>>2]](q[a+40>>2],1,28)|0;if(c){q[c+24>>2]=e;q[c+20>>2]=l;o[c+17|0]=g;o[c+16|0]=k;q[c>>2]=0;q[d+4>>2]=c;e=j;c=1;break ra}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=m;e=-4}x=ec(d,a,e);c=0}if(!c){break q}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=6;j=e}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=m;k=q[d+4>>2];c=q[d+48>>2];Ha:{if(m>>>0>>0){g=c+(m^-1)|0;break Ha}g=q[d+44>>2]-m|0}e=q[k>>2];Ia:{while(1){Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{if(e>>>0<=9){Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{switch(e-1|0){case 0:u=q[k+12>>2];break ab;case 2:u=q[k+12>>2];break Ma;case 4:c=q[k+12>>2];break Na;case 8:break Wa;case 7:break Xa;case 6:break Ya;case 5:break Za;case 3:break _a;case 1:break $a;default:break bb}}q[k>>2]=1;u=r[k+16|0];q[k+12>>2]=u;q[k+8>>2]=q[k+20>>2]}if(i>>>0>=u>>>0){e=i;s=f;c=b;break Pa}e=i;l=f;c=b;if(c){break Qa}break Ja}w=q[k+8>>2];if(i>>>0>=w>>>0){e=i;break Ra}e=i;l=f;c=b;if(c){break Sa}break Ja}u=q[k+8>>2];if(i>>>0>=u>>>0){e=i;break Ta}e=i;l=f;c=b;if(c){break Ua}break Ja}if(g){c=m;break Va}cb:{if(q[d+44>>2]!=(m|0)){c=m;break cb}c=q[d+40>>2];e=q[d+48>>2];if((c|0)==(e|0)){c=m;break cb}g=c>>>0>>0?e+(c^-1)|0:m-c|0;if(g){break Va}}q[d+52>>2]=c;l=ec(d,a,j);e=q[d+52>>2];j=q[d+48>>2];db:{if(e>>>0>>0){c=q[d+44>>2];g=j+(e^-1)|0;break db}c=q[d+44>>2];g=c-e|0}eb:{if((c|0)!=(e|0)){c=e;break eb}c=q[d+40>>2];if((j|0)==(c|0)){c=e;break eb}g=c>>>0>>0?j+(c^-1)|0:e-c|0}if(g){break Va}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;b=ec(d,a,l);break Ia}q[d+52>>2]=m;c=i>>>0>7;f=c?f+ -1|0:f;i=c?i+ -8|0:i;b=b+c|0;c=ec(d,a,j);m=q[d+52>>2];if((m|0)!=q[d+48>>2]){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);b=ec(d,a,c);break Ia}q[k>>2]=8}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=m;b=ec(d,a,1);break Ia}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break La}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=m;b=ec(d,a,-2);break Ia}o[c|0]=q[k+8>>2];e=0;q[k>>2]=0;g=g+ -1|0;m=c+1|0;j=0;continue}fb:{while(1){s=l+1|0;c=c+ -1|0;h=r[l|0]<>>0>=u>>>0){break fb}l=s;if(c){continue}break}j=0;break Ja}j=0;f=s;b=c}q[k>>2]=5;c=q[k+12>>2]+(q[(u<<2)+19936>>2]&h)|0;q[k+12>>2]=c;i=e-u|0;h=h>>>u|0;break Na}gb:{while(1){s=l+1|0;c=c+ -1|0;h=r[l|0]<>>0>=w>>>0){break gb}l=s;if(c){continue}break}j=0;break Ja}j=0;f=s;b=c}q[k>>2]=3;u=r[k+17|0];q[k+12>>2]=u;q[k+8>>2]=q[k+24>>2];q[k+4>>2]=q[k+4>>2]+(q[(w<<2)+19936>>2]&h);i=e-w|0;h=h>>>w|0;break Ma}hb:{while(1){s=l+1|0;c=c+ -1|0;h=r[l|0]<>>0>=u>>>0){break hb}l=s;if(c){continue}break}j=0;break Ja}j=0}f=e;b=q[k+8>>2]+((q[(u<<2)+19936>>2]&h)<<3)|0;e=r[b+1|0];i=f-e|0;h=h>>>e|0;e=r[b|0];ib:{if(!e){b=q[b+4>>2];q[k>>2]=6;q[k+8>>2]=b;e=6;break ib}if(e&16){q[k+8>>2]=e&15;b=q[b+4>>2];q[k>>2]=2;q[k+4>>2]=b;e=2;break ib}if(!(e&64)){q[k+12>>2]=e;q[k+8>>2]=b+(q[b+4>>2]<<3);e=1;break ib}if(!(e&32)){break Oa}q[k>>2]=7;e=7}f=s;b=c;continue}q[k>>2]=9;q[a+24>>2]=25119;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=c;b=q[a>>2];q[a>>2]=s;q[a+8>>2]=q[a+8>>2]+(s-b|0);break La}e=m-c|0;c=q[d+40>>2];if(e>>>0>>0){l=q[d+44>>2]-c|0;while(1){e=e+l|0;if(e>>>0>>0){continue}break}}if(q[k+4>>2]){while(1){jb:{if(g){c=m;break jb}kb:{if(q[d+44>>2]!=(m|0)){c=m;break kb}c=q[d+40>>2];g=q[d+48>>2];if((c|0)==(g|0)){c=m;break kb}g=c>>>0>>0?g+(c^-1)|0:m-c|0;if(g){break jb}}q[d+52>>2]=c;s=ec(d,a,j);j=q[d+52>>2];l=q[d+48>>2];lb:{if(j>>>0>>0){c=q[d+44>>2];g=l+(j^-1)|0;break lb}c=q[d+44>>2];g=c-j|0}mb:{if((c|0)!=(j|0)){c=j;break mb}c=q[d+40>>2];if((l|0)==(c|0)){c=j;break mb}g=c>>>0>>0?l+(c^-1)|0:j-c|0}if(g){break jb}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;b=ec(d,a,s);break Ia}o[c|0]=r[e|0];e=e+1|0;if((e|0)==q[d+44>>2]){e=q[d+40>>2]}g=g+ -1|0;m=c+1|0;c=q[k+4>>2]+ -1|0;q[k+4>>2]=c;j=0;if(c){continue}break}}e=0;q[k>>2]=0;continue}nb:{if(i>>>0>=u>>>0){e=i;s=f;c=b;break nb}e=i;l=f;c=b;if(!c){break Ja}ob:{while(1){s=l+1|0;c=c+ -1|0;h=r[l|0]<>>0>=u>>>0){break ob}l=s;if(c){continue}break}j=0;break Ja}j=0}i=e;l=q[k+8>>2];f=q[(u<<2)+19936>>2]&h;b=l+(f<<3)|0;e=r[b+1|0];i=i-e|0;h=h>>>e|0;e=r[b|0];if(e&16){q[k+8>>2]=e&15;b=q[b+4>>2];e=4;q[k>>2]=4;q[k+12>>2]=b;break Ka}if(!(e&64)){q[k+12>>2]=e;e=3;q[k+8>>2]=b+(q[(l+(f<<3)|0)+4>>2]<<3);break Ka}q[k>>2]=9;q[a+24>>2]=25147;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=c;b=q[a>>2];q[a>>2]=s;q[a+8>>2]=q[a+8>>2]+(s-b|0)}q[d+52>>2]=m;b=ec(d,a,-3);break Ia}f=s;b=c;continue}break}q[d+32>>2]=h;q[d+28>>2]=(b<<3)+i;q[a+4>>2]=0;c=q[a>>2];b=b+f|0;q[a>>2]=b;q[a+8>>2]=q[a+8>>2]+(b-c|0);q[d+52>>2]=m;b=ec(d,a,j)}if((b|0)!=1){x=ec(d,a,b);break q}n[q[a+36>>2]](q[a+40>>2],q[d+4>>2]);i=q[d+28>>2];h=q[d+32>>2];b=q[a+4>>2];f=q[a>>2];m=q[d+52>>2];c=q[d+48>>2];pb:{if(m>>>0>>0){e=c+(m^-1)|0;break pb}e=q[d+44>>2]-m|0}if(!q[d+24>>2]){j=0;q[d>>2]=0;continue}q[d>>2]=7;j=0}q[d+52>>2]=m;c=ec(d,a,j);m=q[d+52>>2];if((m|0)!=q[d+48>>2]){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);x=ec(d,a,c);break q}q[d>>2]=8}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=m;x=ec(d,a,1);break q}j=c;c=q[d+4>>2];c=c>>>0>b>>>0?b:c;c=c>>>0>e>>>0?e:c;j=Qa(j,f,c);g=q[d+4>>2]-c|0;q[d+4>>2]=g;e=e-c|0;m=c+j|0;b=b-c|0;f=c+f|0;j=0;if(g){continue}q[d>>2]=q[d+24>>2]?7:0;continue}qb:{while(1){g=i+8|0;c=f+1|0;b=b+ -1|0;h=r[f|0]<>>0>=24){break qb}i=g;f=c;if(b){continue}break}j=0;break v}j=0}f=(h^-1)>>>16|0;if((f|0)==(h&65535)){break u}q[d>>2]=9;q[a+24>>2]=19782;q[d+28>>2]=g;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}q[d+4>>2]=f;if(f){h=0;g=2;break s}h=0;g=q[d+24>>2]?7:0;break s}q[d+52>>2]=m;x=ec(d,a,-3);break q}i=0;f=c;q[d>>2]=g;continue}break}q[d+52>>2]=m;x=ec(d,a,j)}b=x+3|0;if(b>>>0>4){break d}e=y;rb:{switch(b-1|0){default:b=q[a+28>>2];q[b>>2]=13;q[b+4>>2]=0;j=-3;c=q[a+28>>2];continue;case 2:break a;case 3:break rb;case 0:case 1:break d}}b=q[a+28>>2];c=q[b+20>>2];q[b+4>>2]=q[c+60>>2];b=q[c>>2];if((b&-2)==4){n[q[a+36>>2]](q[a+40>>2],q[c+12>>2]);b=q[c>>2]}if((b|0)==6){n[q[a+36>>2]](q[a+40>>2],q[c+4>>2])}q[c+28>>2]=0;q[c+32>>2]=0;q[c>>2]=0;b=q[c+40>>2];q[c+52>>2]=b;q[c+48>>2]=b;b=q[c+56>>2];if(b){b=n[b](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}c=q[a+28>>2];if(q[c+12>>2]){q[c>>2]=12;break b}q[c>>2]=8;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=r[b|0]<<24;c=q[a+28>>2];q[c>>2]=9;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<16);c=q[a+28>>2];q[c>>2]=10;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<8);c=q[a+28>>2];q[c>>2]=11;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+r[b|0];b=q[a+28>>2];if(q[b+4>>2]!=q[b+8>>2]){q[b>>2]=13;q[a+24>>2]=19742;q[b+4>>2]=5;break b}q[b>>2]=12;e=1;break a}e=x;break a}q[c+4>>2]=5}c=q[a+28>>2];j=y;continue}}Da=v+32|0;return e}function ML(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=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,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;h=Da-656|0;Da=h;q[h+644>>2]=0;q[h+640>>2]=0;q[h+636>>2]=0;q[h+632>>2]=0;q[h+628>>2]=0;q[h+624>>2]=0;q[h+620>>2]=0;q[h+616>>2]=0;Bk();j=Pg();a:{if(!j){break a}b:{c:{g=q[a+8>>2]&1;if(!Pc(j,24,g)){break c}i=q[a+8>>2]&16384;if(!Pc(j,47,i>>>14|0)){break c}if(!Pc(j,25,(g|i)!=0)){break b}A=-1;H=1;k=j;g=c>>>16|0;d:{e:{if(!g){E=1;break e}if(Pl(a,h+644|0)){break b}if((g|0)==32768){m=q[h+644>>2];if(!q[m>>2]){break b}z=-1;i=0;while(1){l=q[m+12>>2]+w(i,24)|0;E=+q[l+4>>2]*152587890625e-16;y=+q[l+12>>2]*152587890625e-16;f:{if(E==y){break f}S=+q[l+8>>2]*152587890625e-16;if(E>S|S>y){break f}p=j;l=q[l+16>>2];g:{if((l|0)!=1869640570){if((l|0)==2003072104){A=0;U=1;u=9;break g}if((l|0)!=2003265652){break f}z=0;V=1;E=Mk(E);y=Mk(y);u=8;break g}W=1;u=10}g=$k(E,y);u=Uq(p,u,g);La(g);if(!u){break c}u=1;m=q[h+644>>2]}i=i+1|0;if(i>>>0>2]){continue}break}if(!u){break c}c=c&65535;E=1;break d}g=g+ -1|0;i=q[h+644>>2];if(g>>>0>=t[i+8>>2]){break b}P=q[i+16>>2]+w(g,12)|0;if(!q[i>>2]){E=1;break e}g=0;E=1;while(1){y=+q[q[P>>2]+(g<<2)>>2]*152587890625e-16;l=q[i+12>>2]+w(g,24)|0;u=q[l+16>>2];h:{if((u|0)!=1869640570){z=y;y=+q[l+8>>2]*152587890625e-16;y=y!=0?z/y:1;if((u|0)==2003072104){H=y;break h}if((u|0)!=2003265652){break h}E=y;break h}if(!ze(j,10,y)){break c}i=q[h+644>>2]}g=g+1|0;if(g>>>0>2]){continue}break}}z=-1;u=0}I=u;if(!Pc(k,50,u)){break c}u=0;C=wd(a,2);i:{if(!C){break i}g=s[C>>1];if(!r[C+60|0]|(!g|(g|0)==65535)){break i}u=Sa(5);g=q[C+60>>2];o[u+4|0]=0;o[u|0]=g;o[u+1|0]=g>>>8;o[u+2|0]=g>>>16;o[u+3|0]=g>>>24}if(o[643741]&1){Gb(10)}g=0;D=!a|!(r[a+8|0]&8)?g:s[a+340>>1];j:{if(f){F=q[f>>2];if(F){break j}}i=0;F=Sa(w(D,20));D=F?D:0;if((D|0)>=1){while(1){m=-1;k=-1;B=-1;p=-1;x=-1;if(!Hh(a,i,h+336|0)){p=s[h+340>>1];B=s[h+338>>1];m=s[h+336>>1];x=i;k=s[h+342>>1]}g=w(i,20)+F|0;q[g+16>>2]=x;q[g+12>>2]=p;q[g+8>>2]=B;q[g+4>>2]=k;q[g>>2]=m;i=i+1|0;if((D|0)!=(i|0)){continue}break}}Gc(F,D,20,834);if(!f){break j}q[f>>2]=F}X=D+ -1|0;G=u;while(1){L=s[(Q<<1)+442700>>1];M=0;while(1){R=s[(M<<1)+442720>>1];k=R;k:{l:{if(!P){break l}g=M+ -4|0;k=R;if(g>>>0>3){break l}if(g-3){break k}k=q[P+4>>2]}g=X;i=0;if((D|0)<1){break k}p=k;while(1){m:{n:{k=g+i|0;x=(k|0)/2|0;o:{if(Hh(a,q[(w(x,20)+F|0)+16>>2],h+600|0)){x=0;break o}p:{q:{r:{l=s[h+600>>1];s:{if(l>>>0>L>>>0){break s}if((l|0)!=(L|0)){break q}l=s[h+606>>1];if(p>>>0>>0){break s}if((l|0)!=(p|0)|k+1>>>0<3){break r}B=w(x+ -1|0,20)+F|0;if(q[B>>2]!=(L|0)|q[B+4>>2]!=(p|0)){break r}}g=x+ -1|0;break m}if(p>>>0<=l>>>0){break p}break n}if(l>>>0>>0){break n}}if(k+3>>>0<2){break k}}J=0;l=0;K=0;N=0;while(1){t:{u:{g=R+ -1|0;v:{if(g>>>0>21){break v}w:{switch(g-1|0){default:K=1;J=h+640|0;l=h+636|0;N=2;if(!(o[643741]&1)){break u}q[h+288>>2]=s[h+606>>1];q[h+292>>2]=s[h+600>>1];q[h+296>>2]=s[h+602>>1];q[h+300>>2]=s[h+604>>1];Ua(442740,h+288|0);break u;case 2:case 16:if(I){break v}J=h+624|0;l=h+620|0;K=5;N=6;if(!(o[643741]&1)){break u}q[h+304>>2]=s[h+606>>1];q[h+308>>2]=s[h+600>>1];q[h+312>>2]=s[h+602>>1];q[h+316>>2]=s[h+604>>1];Ua(442780,h+304|0);break u;case 0:case 15:case 20:if(I){break v}J=h+632|0;l=h+628|0;K=3;N=4;if(!(o[643741]&1)){break u}q[h+320>>2]=s[h+606>>1];q[h+324>>2]=s[h+600>>1];q[h+328>>2]=s[h+602>>1];q[h+332>>2]=s[h+604>>1];Ua(442820,h+320|0);break u;case 1:case 3:case 4:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:break v;case 5:case 6:break w}}if(G){break v}g=Rq(h+600|0);G=Qq(g);La(g)}if(K){break u}K=0;break t}B=Rq(h+600|0);k=s[h+604>>1];T=s[h+600>>1];if(!(s[h+602>>1]|(T|0)!=1)){Y=k;g=q[h+612>>2];x:{if((g|0)<1){m=0;g=0;break x}m=0;i=q[h+608>>2];k=0;while(1){O=r[i|0]>>>7|0;k=O+k|0;m=(O^1)+m|0;O=(g|0)>1;g=g+ -1|0;i=i+1|0;if(O){continue}break}g=k<<1}k=(g|0)>(m|0)?11:Y}g=0;y:{while(1){z:{A:{i=w(g,12);if(s[i+444720>>1]!=(T|0)){break A}if(!g){break z}if(s[i+444722>>1]!=(k&65535)){break A}g=i+444724|0;break y}g=g+1|0;if((g|0)!=335){continue}}break}g=0}if(o[643741]&1){Rb(B?B:442861)}i=B;if(!i){break t}k=g;while(1){g=i;i=g+1|0;if(r[g|0]==32){continue}break}i=g;g=Wa(g);m=sb(B,i,g+1|0);g=g+m|0;B=m>>>0>>0?m:g;while(1){B:{i=g;if(g>>>0<=m>>>0){i=B;break B}g=i+ -1|0;if(r[g|0]==32){continue}}break}o[i|0]=0;Wq(j,h+648|0);C:{D:{if(!zc(j,h+648|0,K)){break D}g=Tq(h+648|0);if(!g){break D}while(1){pc(h+336|0,g+8|0);if(q[h+336>>2]!=3){break D}if(!wb(q[h+344>>2],m)){break C}i=g;g=q[g>>2];g=g&1?i+(g&-2)|0:g;if(g){continue}break}}g=wc(j,K,m);La(m);if(!g){break b}if(k){if(q[l>>2]>2]){while(1){if(!wc(j,N,442868)){break b}g=q[l>>2]+1|0;q[l>>2]=g;if((g|0)>2]){continue}break}}if(!wc(j,N,k)){break b}q[l>>2]=q[l>>2]+1}q[J>>2]=q[J>>2]+1;break t}La(m)}x=x+1|0;if((x|0)>=(D|0)){break k}if(Hh(a,q[(w(x,20)+F|0)+16>>2],h+600|0)|s[h+600>>1]!=(L|0)){break k}if(s[h+606>>1]==(p|0)){continue}break}break k}i=x+1|0}if((i|0)<=(g|0)){continue}break}}M=M+1|0;if((M|0)!=10){continue}break}Q=Q+1|0;if((Q|0)!=4){continue}break}if(!f){La(F)}g=q[h+640>>2];E:{if(g){break E}g=0;i=q[a+20>>2];if(!i){break E}if(!wb(i,442872)){break E}if(o[643741]&1){q[h+272>>2]=q[a+20>>2];Ua(442873,h+272|0)}if(!wc(j,1,q[a+20>>2])){break b}if(!wc(j,2,442901)){break b}g=1;q[h+640>>2]=1}i=q[h+632>>2];F:{if(i|I){break F}k=q[a+24>>2];if(!k){break F}if(!wb(k,442872)){break F}if(o[643741]&1){q[h+256>>2]=q[a+24>>2];Ua(442904,h+256|0)}if(!wc(j,3,q[a+24>>2])){break b}if(!wc(j,4,442901)){break b}q[h+632>>2]=i+1}if(!(!r[b|0]|(g|!b))){g=ue(b,47);i=g?g+1|0:b;g=ue(i,46);if(!g){g=Wa(i)+i|0}k=g-i|0;g=Md(Sa(k+1|0),i,k);o[g+k|0]=0;if(o[643741]&1){q[h+240>>2]=g;Ua(442931,h+240|0)}i=wc(j,1,g);La(g);if(!i){break b}q[h+640>>2]=1}x=q[h+624>>2];if(!(x|I)){g=0;G:{if(Bd(j,2,0,h+596|0)){break G}while(1){if(!Rd(q[h+596>>2],442901)){break G}q[h+596>>2]=0;g=g+1|0;if(!Bd(j,2,g,h+596|0)){continue}break}}i=q[h+596>>2]?g:0;if(Bd(j,1,i,h+600|0)){break b}l=q[h+600>>2];g=Wa(l);k=0;H:{if(!g){break H}while(1){p=r[g+l|0];k=g;if(!((p|0)==32|p+ -9>>>0<5)){break H}g=g+ -1|0;if(g){continue}break}k=0}o[k+l|0]=0;I:{if(Bd(j,4,i,h+596|0)){break I}while(1){if(!Rd(q[h+596>>2],442901)){break I}q[h+596>>2]=0;i=i+1|0;if(!Bd(j,4,i,h+596|0)){continue}break}}if(Bd(j,3,q[h+596>>2]?i:0,h+648|0)){break b}cg(h+336|0,0,0);ge(h+336|0,q[h+600>>2]);Ng(h+336|0,32);ge(h+336|0,q[h+648>>2]);g=wc(j,5,Qd(h+336|0));uc(h+336|0);if(!g){break b}if(!wc(j,6,442901)){break b}q[h+624>>2]=x+1}if(!I){g=Jj(a);J:{if(!g){q[h+648>>2]=0;g=0;K:{if(Bd(j,2,0,h+648|0)){break K}while(1){if(!Rd(q[h+648>>2],442901)){break K}q[h+648>>2]=0;g=g+1|0;if(!Bd(j,2,g,h+648|0)){continue}break}}if(Bd(j,1,q[h+648>>2]?g:0,h+600|0)){break b}m=0;i=q[h+600>>2];g=Wa(i);if(g){m=g+ -1>>>0<254?g:255;g=0;while(1){k=r[g+i|0];Z=(h+336|0)+g|0,_=be(442976,k,16)?45:k,o[Z|0]=_;g=g+1|0;if((m|0)!=(g|0)){continue}break}}o[(h+336|0)+m|0]=0;break J}Md(h+336|0,g,255);o[h+591|0]=0}if(!wc(j,46,h+336|0)){break b}}if(!(!b|!r[b|0])){if(!wc(j,21,b)){break b}}if(!he(j,22,c)){break b}b=wd(a,0);L:{if(b){if(he(j,35,q[b+4>>2])){break L}break b}if(!he(j,35,0)){break b}}B=0;M:{if(!C){l=0;break M}l=0;b=s[C>>1];N:{O:{if(!b){break O}if((b|0)==65535){break N}c=q[C+80>>2];l=c&262144?c&131072?0:442680:c<<14>>31&442673;if((c&393216)==393216){break O}g=c&524288;b=g?l?0:442687:l;if(!(!l|!g)){l=b;break O}l=c&1048576?b?0:442694:b}z=Mk(E*+s[C+4>>1]);if(!(z==-1|!(q[160935]&256))){b=s[C+4>>1];v[h+224>>3]=z;v[h+216>>3]=E;q[h+208>>2]=b;Ab(442992,h+208|0)}y=H;b=s[C+6>>1];c=b+ -1|0;if((c&65535)>>>0<=8){A=v[(c<<16>>16<<3)+449168>>3]}A=y*A;if(!(q[160935]&256)|A==-1){break N}v[h+192>>3]=A;v[h+184>>3]=H;q[h+176>>2]=b;Ab(443046,h+176|0)}q[h+336>>2]=0;q[h+600>>2]=0;q[h+648>>2]=0;g=Ij(a,1399417958,0,h+336|0);c=Pq(a,1196445523,h+648|0);i=Pq(a,1196643650,h+600|0);p=c|i;b=0;P:{if(p&65535?0:g){break P}k=i&65535;x=c&65535;c=Sa(w(k+x|0,14)+(g?0:13)|0);b=0;if(!c){break P}o[c|0]=0;if(!g){b=r[448749]|r[448750]<<8|(r[448751]<<16|r[448752]<<24);g=r[448745]|r[448746]<<8|(r[448747]<<16|r[448748]<<24);o[c+5|0]=g;o[c+6|0]=g>>>8;o[c+7|0]=g>>>16;o[c+8|0]=g>>>24;o[c+9|0]=b;o[c+10|0]=b>>>8;o[c+11|0]=b>>>16;o[c+12|0]=b>>>24;b=r[448744]|r[448745]<<8|(r[448746]<<16|r[448747]<<24);g=r[448740]|r[448741]<<8|(r[448742]<<16|r[448743]<<24);o[c|0]=g;o[c+1|0]=g>>>8;o[c+2|0]=g>>>16;o[c+3|0]=g>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24}if(p&65535){i=0;p=q[h+648>>2];I=q[h+600>>2];g=0;while(1){Q:{if((g|0)==(k|0)){pi(c,q[p+(i<<2)>>2]);i=i+1|0;g=k;break Q}b=q[I+(g<<2)>>2];R:{if((i|0)!=(x|0)){D=q[p+(i<<2)>>2];if(b>>>0>=D>>>0){break R}}pi(c,b);g=g+1|0;break Q}if((b|0)==(D|0)){pi(c,b);i=i+1|0;g=g+1|0;break Q}pi(c,D);i=i+1|0}if((g|0)<(k|0)|(i|0)<(x|0)){continue}break}}if(o[643741]&1){q[h+160>>2]=c;Ua(448753,h+160|0)}b=c}La(q[h+600>>2]);La(q[h+648>>2]);if(!b){break M}c=wc(j,36,b);La(b);if(!c){break b}}b=j;c=q[a+104>>2];if(c){c=!Sq(a,1886545264,c)}else{c=0}if(!Pc(b,51,c)){break b}S:{if(!C|W){break S}b=s[C>>1];if(b>>>0<5|(b|0)==65535){break S}Oe(h+144|0,s[C+98>>1]);Ih(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,1073954816);Oe(h+112|0,s[C+100>>1]);Ih(h+96|0,q[h+112>>2],q[h+116>>2],q[h+120>>2],q[h+124>>2],0,0,0,1073954816);b=q[h+104>>2];c=q[h+108>>2];g=q[h+96>>2];i=q[h+100>>2];H=Tf(q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2]);y=Tf(g,i,b,c);if(H==y){if(ze(j,10,H)){break S}break b}b=$k(H,y);c=Uq(j,10,b);La(b);if(!c){break b}}T:{if(!Zr(a,h+336|0)){U:{if(z!=-1){break U}z=-1;b=q[h+352>>2];if(!b){break U}c=0;V:{W:{if(!wb(b,448799)){break W}c=1;if(!wb(b,448804)){break W}c=2;if(!wb(b,448815)){break W}c=3;if(!wb(b,448826)){break W}c=4;if(!wb(b,448836)){break W}c=5;if(!wb(b,448846)){break W}c=6;if(!wb(b,448852)){break W}c=7;if(!wb(b,448857)){break W}c=8;if(!wb(b,448865)){break W}c=9;if(!wb(b,448872)){break W}c=10;if(!wb(b,448879)){break W}c=11;if(!wb(b,448888)){break W}c=12;if(!wb(b,448893)){break W}c=13;if(!wb(b,448902)){break W}c=14;if(!wb(b,448912)){break W}c=15;if(!wb(b,448922)){break W}c=16;if(!wb(b,448932)){break W}c=17;if(!wb(b,448937)){break W}c=18;if(!wb(b,448948)){break W}c=19;if(!wb(b,448959)){break W}c=20;if(!wb(b,448970)){break W}c=21;if(!wb(b,448977)){break W}c=-1;if(wb(b,448983)){break V}c=22}c=q[(c<<3)+443108>>2]}z=+(c|0);if(!(o[643741]&1)){break U}q[h+80>>2]=q[h+352>>2];v[h+88>>3]=z;Ab(443288,h+80|0)}if(G){break T}G=Qq(q[h+340>>2])}if(G){break T}G=0;if(dg(a,443317,h+648|0)|q[h+648>>2]!=1){break T}G=q[h+652>>2]}X:{if(A!=-1){break X}Y:{Z:{_:{$:{if(!(dg(a,443325,h+648|0)|(q[h+648>>2]&-2)!=2)){b=((q[h+652>>2]+5|0)/10|0)+ -1|0;if(b>>>0<9){break $}}A=-1;if(dg(a,443343,h+648|0)|q[h+648>>2]!=1){break X}b=q[h+652>>2];if(!b){break X}c=0;if(!wb(b,448989)){break Z}if(wb(b,449004)){break _}c=1;break Z}A=v[(b<<3)+449168>>3];break X}c=2;if(!wb(b,449019)){break Z}c=3;if(!wb(b,449033)){break Z}c=4;if(!wb(b,448865)){break Z}c=5;if(!wb(b,449043)){break Z}c=6;if(!wb(b,449056)){break Z}c=7;if(!wb(b,449070)){break Z}c=8;if(!wb(b,449084)){break Z}c=-1;if(wb(b,449093)){break Y}c=9}c=q[(c<<3)+443364>>2]}A=+(c|0);if(!(o[643741]&1)){break X}q[h+64>>2]=q[h+652>>2];v[h+72>>3]=A;Ab(443440,h- -64|0)}aa:{ba:{if(pd(j,443465,0,h+616|0)){x=0;break ba}p=-1;x=0;while(1){ca:{if(z!=-1){break ca}g=0;b=q[h+616>>2];da:{ea:{while(1){i=g<<3;c=q[i+443104>>2];fa:{if(r[c|0]==60){if(!BL(b,c+1|0)){break fa}break ea}if(vc(b,c)){break ea}}g=g+1|0;if((g|0)!=23){continue}break}b=-1;break da}b=q[i+443108>>2]}z=+(b|0);if(!(o[643741]&1)){break ca}q[h+48>>2]=q[h+616>>2];v[h+56>>3]=z;Ab(443471,h+48|0)}ga:{if(A!=-1){break ga}g=0;ha:{ia:{b=q[h+616>>2];if(vc(b,448989)){break ia}g=1;if(vc(b,449004)){break ia}g=2;if(vc(b,449019)){break ia}g=3;if(vc(b,449033)){break ia}g=4;if(vc(b,448865)){break ia}g=5;if(vc(b,449043)){break ia}g=6;if(vc(b,449056)){break ia}g=7;if(vc(b,449070)){break ia}g=8;if(vc(b,449084)){break ia}g=9;if(vc(b,449093)){break ia}b=-1;break ha}b=q[(g<<3)+443364>>2]}A=+(b|0);if(!(o[643741]&1)){break ga}q[h+32>>2]=q[h+616>>2];v[h+40>>3]=A;Ab(443500,h+32|0)}ja:{if((p|0)!=-1){break ja}g=0;ka:{la:{b=q[h+616>>2];if(vc(b,449102)){break la}g=1;if(vc(b,449109)){break la}g=2;if(vc(b,449116)){break la}p=-1;break ka}p=q[(g<<3)+443540>>2]}if(!(o[643741]&1)){break ja}q[h+16>>2]=q[h+616>>2];q[h+20>>2]=p;Ua(443560,h+16|0)}ma:{if(x){break ma}g=0;na:{oa:{b=q[h+616>>2];if(vc(b,449124)){break oa}g=1;if(vc(b,449131)){break oa}g=2;if(vc(b,449136)){break oa}g=3;if(vc(b,449144)){break oa}g=4;if(vc(b,449152)){break oa}g=5;if(vc(b,449160)){break oa}b=-1;break na}b=q[(g<<3)+443604>>2]}x=(b|0)>0;if(!(o[643741]&1)){break ma}q[h>>2]=q[h+616>>2];q[h+4>>2]=x;Ua(443648,h)}B=B+1|0;if(!pd(j,443465,B,h+616|0)){continue}break}if((p|0)!=-1){break aa}}p=0-(q[a+12>>2]&1)&100}z=z==-1?r[a+12|0]&2?200:100:z;if(!he(j,7,p)){break b}if(!V){if(!ze(j,8,z)){break b}}if(!U){if(!ze(j,9,A==-1?100:A)){break b}}if(!wc(j,14,G?G:443681)){break b}if(!Pc(j,40,x)){break b}pa:{qa:{if(d){b=q[d>>2];if(!b){break qa}g=Qg(b);break pa}g=Oq(a);break pa}g=Oq(a);Z=d,_=Qg(g),q[Z>>2]=_}if(!g){break b}b=j;d=q[a+92>>2];c=0;ra:{if(!d){break ra}c=q[d+4>>2]==1937337698}if(!Pc(b,48,c)){break b}b=KL(a);sa:{if(dg(a,443689,h+648|0)){k=b;break sa}if(q[h+648>>2]!=1){k=b;break sa}d=q[h+652>>2];if(!d){k=b;break sa}k=110;if(!Ta(d,443697)){break sa}if(!Ta(d,443699)){break sa}k=100;if(!Ta(d,443701)){break sa}if(!Ta(d,443703)){break sa}if(Ta(d,443705)){k=b;if(Ta(d,443707)){break sa}}k=0}ta:{if(!jM(g)){if(!dg(a,443709,h+648|0)){break ta}}if(!$L(j,g)){break ta}ua:{va:{if(!c){if(!e){break va}b=q[e>>2];if(b){i=zf(b);if(i){break ua}break ta}i=Nq(g,l);Z=e,_=zf(i),q[Z>>2]=_;if(i){break ua}break ta}i=oi();break ua}i=Nq(g,l);if(!i){break ta}}b=_L(j,i);Sd(i);if(!b){break ta}if(k){if(!he(j,13,k)){break ta}}if(!(o[a+8|0]&1)){m=q[a+28>>2];if((m|0)>=1){i=0;while(1){b=j;wa:{xa:{if((m|0)!=1){break xa}if(dg(a,443709,h+600|0)|q[h+600>>2]!=2){break xa}y=+q[h+604>>2];break wa}y=+q[(q[a+32>>2]+(i<<4)|0)+12>>2]*.015625}if(!ze(b,12,y)){break ta}i=i+1|0;m=q[a+28>>2];if((i|0)<(m|0)){continue}break}}if(!Pc(j,15,0)){break ta}}b=0;ya:{if(!a){break ya}c=q[a+96>>2];d=q[q[c>>2]+32>>2];if(!d){break ya}b=n[d](c,4034)|0}if(b){if(!wc(j,37,b)){break ta}}Xc(g);if(u){La(u)}b=q[h+644>>2];if(!b){g=j;break a}a=q[a+84>>2];if(!a){g=j;break a}a=q[a>>2];if(a){a=q[a>>2];if(b){n[q[a+8>>2]](a,b)}}g=j;break a}Xc(g);break b}u=0}ie(j);b=q[h+644>>2];za:{if(!b){break za}a=q[a+84>>2];if(!a){break za}a=q[a>>2];if(a){a=q[a>>2];if(b){n[q[a+8>>2]](a,b)}}}if(!(!F|f)){La(F)}g=0;if(!u){break a}La(u)}Da=h+656|0;return g}function bX(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=Da-48|0;Da=d;c=q[a+24>>2];a:{if(!(c&4)){if(c>>>0<8){break a}e=8;while(1){h=f;f=e;e=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=e;e=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=e;if(c>>>0<=h>>>0){o[a+20|0]=1}j=q[a+32>>2];b:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break b}e=q[a+36>>2]+(h<<5)|0}l=r[a+176|0];c:{if(!l){break c}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break c}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break c}q[e+20>>2]=0}i=v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}d:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break d}e=q[a+36>>2]+(c<<5)|0}e:{if(!l){break e}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break e}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break e}q[e+20>>2]=0}c=h|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break f}g=q[a+36>>2]+(c<<5)|0}g:{if(!l){break g}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break g}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break g}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|3;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}h:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break h}e=q[a+36>>2]+(c<<5)|0}i:{if(!l){break i}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break i}j=q[e+24>>2];l=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break i}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];pb(a,b,d+32|0,d+16|0,d);c=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=c;c=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=c;c=h|4;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j=q[a+32>>2];j:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];k:{if(!l){break k}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break k}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|5;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break l}e=q[a+36>>2]+(c<<5)|0}m:{if(!l){break m}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break m}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break m}q[e+20>>2]=0}c=h|6;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break n}g=q[a+36>>2]+(c<<5)|0}o:{if(!l){break o}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break o}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break o}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|7;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}p:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break p}e=q[a+36>>2]+(c<<5)|0}q:{if(!l){break q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break q}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break q}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];c=q[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){o[a+20|0]=1}r:{if(j>>>0<=f>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break r}h=q[a+36>>2]+(f<<5)|0}s:{if(!l){break s}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break s}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break s}q[h+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[h>>3]}pb(a,b,d+32|0,d+16|0,d);e=f+8|0;c=q[a+24>>2];if(e>>>0<=c>>>0){continue}break}break a}f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(!c){o[a+20|0]=1}f=q[a+32>>2];t:{if(!f){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break t}h=q[a+36>>2]}l=r[a+176|0];u:{if(!l){break u}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break u}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break u}q[h+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[h>>3];h=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=h;h=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=h;if(t[a+24>>2]<=1){o[a+20|0]=1}v:{if(f>>>0<=1){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break v}h=q[a+36>>2]+32|0}w:{if(!l){break w}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break w}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break w}q[h+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}x:{if(f>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break x}e=q[a+36>>2]- -64|0}y:{if(!l){break y}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break y}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break y}q[e+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[h>>3];v[d+24>>3]=v[d+24>>3]+v[e>>3];h=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=h;h=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=h;if(t[a+24>>2]<=3){o[a+20|0]=1}z:{if(f>>>0<=3){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break z}h=q[a+36>>2]+96|0}A:{if(!l){break A}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break A}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break A}q[h+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[h>>3];c=12;h=4;e=q[a+24>>2];if(e>>>0>=12){while(1){e=h;h=c;pb(a,b,d+32|0,d+16|0,d);f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(t[a+24>>2]<=e>>>0){o[a+20|0]=1}j=q[a+32>>2];B:{if(j>>>0<=e>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break B}f=q[a+36>>2]+(e<<5)|0}l=r[a+176|0];C:{if(!l){break C}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break C}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break C}q[f+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[f>>3];f=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=f;f=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=f;f=e|1;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}D:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break D}f=q[a+36>>2]+(f<<5)|0}E:{if(!l){break E}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break E}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break E}q[f+20>>2]=0}c=e|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}F:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break F}g=q[a+36>>2]+(c<<5)|0}G:{if(!l){break G}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break G}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break G}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[f>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;f=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=f;f=e|3;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}H:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break H}f=q[a+36>>2]+(f<<5)|0}I:{if(!l){break I}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break I}j=q[f+24>>2];l=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break I}q[f+20>>2]=0}v[d>>3]=v[d>>3]+v[f>>3];pb(a,b,d+32|0,d+16|0,d);f=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=f;f=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=f;c=e+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f=q[a+32>>2];J:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break J}g=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];K:{if(!l){break K}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break K}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break K}q[g+20>>2]=0}i=v[g>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=e+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}L:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break L}g=q[a+36>>2]+(c<<5)|0}M:{if(!l){break M}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break M}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break M}q[g+20>>2]=0}c=e+6|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}N:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;j=642976;break N}j=q[a+36>>2]+(c<<5)|0}O:{if(!l){break O}k=q[j+20>>2];if(!k|(k|0)!=q[a+168>>2]){break O}m=q[j+24>>2];n=q[a+172>>2];i=v[j>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[j+8>>2]=0;q[j+12>>2]=0;v[j>>3]=i;if(q[j+16>>2]<0){break O}q[j+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[g>>3];v[d+24>>3]=v[d+24>>3]+v[j>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=e+7|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}P:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break P}e=q[a+36>>2]+(c<<5)|0}Q:{if(!l){break Q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break Q}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break Q}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];c=h+8|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}if(h>>>0>>0){R:{if(f>>>0<=h>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break R}f=q[a+36>>2]+(h<<5)|0}S:{if(!l){break S}h=q[f+20>>2];if(!h|(h|0)!=q[a+168>>2]){break S}e=q[f+24>>2];g=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[e+(c<<3)>>3]*+u[g+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break S}q[f+20>>2]=0}v[d>>3]=v[d>>3]+v[f>>3]}pb(a,b,d+32|0,d+16|0,d)}Da=d+48|0}function aX(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=Da-48|0;Da=d;c=q[a+24>>2];a:{if(!(c&4)){if(c>>>0<8){break a}e=8;while(1){h=f;f=e;e=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=e;e=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=e;if(c>>>0<=h>>>0){o[a+20|0]=1}j=q[a+32>>2];b:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break b}e=q[a+36>>2]+(h<<5)|0}l=r[a+176|0];c:{if(!l){break c}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break c}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break c}q[e+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}d:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break d}e=q[a+36>>2]+(c<<5)|0}e:{if(!l){break e}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break e}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break e}q[e+20>>2]=0}c=h|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break f}g=q[a+36>>2]+(c<<5)|0}g:{if(!l){break g}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break g}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break g}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|3;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}h:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break h}e=q[a+36>>2]+(c<<5)|0}i:{if(!l){break i}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break i}j=q[e+24>>2];l=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break i}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];pb(a,b,d+32|0,d+16|0,d);c=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=c;c=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=c;c=h|4;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j=q[a+32>>2];j:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];k:{if(!l){break k}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break k}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}i=v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|5;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break l}e=q[a+36>>2]+(c<<5)|0}m:{if(!l){break m}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break m}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break m}q[e+20>>2]=0}c=h|6;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break n}g=q[a+36>>2]+(c<<5)|0}o:{if(!l){break o}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break o}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break o}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|7;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}p:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break p}e=q[a+36>>2]+(c<<5)|0}q:{if(!l){break q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break q}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break q}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];c=q[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){o[a+20|0]=1}r:{if(j>>>0<=f>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break r}h=q[a+36>>2]+(f<<5)|0}s:{if(!l){break s}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break s}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break s}q[h+20>>2]=0}v[d>>3]=v[d>>3]+v[h>>3]}pb(a,b,d+32|0,d+16|0,d);e=f+8|0;c=q[a+24>>2];if(e>>>0<=c>>>0){continue}break}break a}f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(!c){o[a+20|0]=1}f=q[a+32>>2];t:{if(!f){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break t}h=q[a+36>>2]}l=r[a+176|0];u:{if(!l){break u}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break u}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break u}q[h+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[h>>3];h=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=h;h=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=h;if(t[a+24>>2]<=1){o[a+20|0]=1}v:{if(f>>>0<=1){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break v}h=q[a+36>>2]+32|0}w:{if(!l){break w}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break w}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break w}q[h+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}x:{if(f>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break x}e=q[a+36>>2]- -64|0}y:{if(!l){break y}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break y}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break y}q[e+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[h>>3];v[d+24>>3]=v[d+24>>3]+v[e>>3];h=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=h;h=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=h;if(t[a+24>>2]<=3){o[a+20|0]=1}z:{if(f>>>0<=3){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break z}h=q[a+36>>2]+96|0}A:{if(!l){break A}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break A}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break A}q[h+20>>2]=0}v[d>>3]=v[d>>3]+v[h>>3];c=12;h=4;e=q[a+24>>2];if(e>>>0>=12){while(1){e=h;h=c;pb(a,b,d+32|0,d+16|0,d);f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(t[a+24>>2]<=e>>>0){o[a+20|0]=1}j=q[a+32>>2];B:{if(j>>>0<=e>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break B}f=q[a+36>>2]+(e<<5)|0}l=r[a+176|0];C:{if(!l){break C}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break C}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break C}q[f+20>>2]=0}i=v[f>>3];f=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=f;v[d+32>>3]=i+v[d+32>>3];f=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=f;f=e|1;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}D:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break D}f=q[a+36>>2]+(f<<5)|0}E:{if(!l){break E}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break E}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break E}q[f+20>>2]=0}c=e|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}F:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break F}g=q[a+36>>2]+(c<<5)|0}G:{if(!l){break G}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break G}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break G}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[f>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;f=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=f;f=e|3;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}H:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break H}f=q[a+36>>2]+(f<<5)|0}I:{if(!l){break I}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break I}j=q[f+24>>2];l=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break I}q[f+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[f>>3];pb(a,b,d+32|0,d+16|0,d);f=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=f;f=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=f;c=e+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f=q[a+32>>2];J:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break J}g=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];K:{if(!l){break K}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break K}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break K}q[g+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[g>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=e+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}L:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break L}g=q[a+36>>2]+(c<<5)|0}M:{if(!l){break M}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break M}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break M}q[g+20>>2]=0}c=e+6|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}N:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;j=642976;break N}j=q[a+36>>2]+(c<<5)|0}O:{if(!l){break O}k=q[j+20>>2];if(!k|(k|0)!=q[a+168>>2]){break O}m=q[j+24>>2];n=q[a+172>>2];i=v[j>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[j+8>>2]=0;q[j+12>>2]=0;v[j>>3]=i;if(q[j+16>>2]<0){break O}q[j+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[g>>3];v[d+24>>3]=v[d+24>>3]+v[j>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=e+7|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}P:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break P}e=q[a+36>>2]+(c<<5)|0}Q:{if(!l){break Q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break Q}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break Q}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];c=h+8|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}if(h>>>0>>0){R:{if(f>>>0<=h>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break R}f=q[a+36>>2]+(h<<5)|0}S:{if(!l){break S}h=q[f+20>>2];if(!h|(h|0)!=q[a+168>>2]){break S}e=q[f+24>>2];g=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[e+(c<<3)>>3]*+u[g+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break S}q[f+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[f>>3]}pb(a,b,d+32|0,d+16|0,d)}Da=d+48|0}function nK(a,b,c,d){a=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=Da-16|0;Da=k;g=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{e=c-b|0;if(e&1){c=e&-2;if(!c){break q}c=b+c|0}r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{e=r[b+1|0];f=e+ -216|0;if(f>>>0>39){if(e){break s}l=a+72|0;e=r[l+r[b|0]|0];if(e>>>0>10){break s}switch(e-2|0){case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 8:break z;case 7:break A;case 1:break B;case 0:break C;default:break t}}switch(f-4|0){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:break s;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}g=-1;i=b+2|0;e=c-i|0;if((e|0)<2){break a}f=r[b+3|0];h=f+ -216|0;if(h>>>0<=39){break p}if(f){break e}h=r[b+2|0];j=r[l+h|0]+ -5|0;if(j>>>0>24){break c}D:{switch(j-1|0){case 0:g=-2;if((e|0)>=3){break c}break a;case 10:e=b+4|0;if((c-e|0)<2){break a}E:{if(r[b+5|0]){break E}f=r[r[b+4|0]+l|0]+ -20|0;if(f>>>0>7){break E}F:{switch(f-1|0){case 6:g=pq(a,b+6|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break E;default:break F}}e=b+6|0;if((c-e|0)<12){break a}if(r[b+7|0]|r[b+6|0]!=67){break g}e=b+8|0;if(r[b+9|0]|r[b+8|0]!=68){break g}e=b+10|0;if(r[b+11|0]|r[b+10|0]!=65){break g}e=b+12|0;if(r[b+13|0]|r[b+12|0]!=84){break g}e=b+14|0;if(r[b+15|0]|r[b+14|0]!=65){break g}e=b+16|0;if(r[b+17|0]|r[b+16|0]!=91){break g}q[d>>2]=b+18;g=8;break a}q[d>>2]=e;g=0;break a;case 9:g=oq(a,b+4|0,c,d);break a;case 16:case 18:break b;case 11:break D;case 23:break d;case 1:break f;default:break c}}e=b+4|0;a=c-e|0;if((a|0)<2){break a}h=r[b+5|0];f=h+ -216|0;if(f>>>0<=39){break o}if(h){break k}f=r[e|0];i=r[l+f|0]+ -5|0;if(i>>>0>24){break i}G:{switch(i-1|0){case 23:break j;case 1:break l;case 0:break G;case 16:case 18:break h;default:break i}}g=-2;if((a|0)>=3){break i}break a}g=gi(a,b+2|0,c,d);break a}g=-3;a=b+2|0;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+l|0]==10?b+4|0:a}q[d>>2]=a;g=7;break a}q[d>>2]=b+2;g=7;break a}g=-5;e=b+2|0;if((c-e|0)<2){break a}if(r[b+3|0]|r[e|0]!=93){break r}f=b+4|0;if((c-f|0)<2){break a}if(r[b+5|0]|r[b+4|0]!=62){break r}q[d>>2]=f;g=0;break a}g=-2;if((c-b|0)<2){break a}e=b+2|0;break r}g=-2;if((c-b|0)<3){break a}e=b+3|0;break r}g=-2;if((c-b|0)<4){break a}e=b+4|0;break r}if(r[b|0]<=253){break s}}q[d>>2]=b;g=0;break a}e=b+2|0}g=c-e|0;H:{if((g|0)<2){break H}h=a+72|0;while(1){f=c;I:{J:{K:{L:{M:{N:{a=r[e+1|0];b=a+ -216|0;if(b>>>0>39){if(a){break J}a=r[h+r[e|0]|0];if(a>>>0>10){break J}switch(a-4|0){case 1:break J;case 0:break L;case 3:break M;case 2:break N;default:break H}}switch(b-4|0){case 0:case 1:case 2:case 3:break H;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:break J;case 35:break K;default:break M}}if((g|0)<=2){break H}a=e+3|0;break I}if((g|0)<=3){break H}a=e+4|0;break I}if((g|0)<4){break H}b=e+2|0;a=b;if(r[e+3|0]){break I}a=b;if(r[b|0]!=93){break I}if((g|0)<6){break H}if(r[e+5|0]){break I}if(r[e+4|0]!=62){break I}q[d>>2]=e+4;g=0;break a}if(r[e|0]>253){break H}}a=e+2|0}e=a;g=f-e|0;if((g|0)>1){continue}break}}q[d>>2]=e;g=6;break a}g=-1;break a}switch(h-4|0){case 35:break n;case 0:case 1:case 2:case 3:break c;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:break e;default:break f}}switch(f-4|0){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:break k;case 35:break m;case 0:case 1:case 2:case 3:break i;default:break l}}h=r[b+2|0];if(h>>>0<=253){break d}break c}f=r[e|0];if(f>>>0<=253){break j}break i}g=-2;if((a|0)>=4){break i}break a}f=r[e|0]}if(q[(f>>>3&28|r[h+492528|0]<<5)+490512>>2]>>>(f&31)&1){break h}}q[d>>2]=e;g=0;break a}b=b+6|0;h=c-b|0;if((h|0)<=1){break a}while(1){O:{P:{Q:{R:{S:{f=r[e+3|0];a=f+ -216|0;if(a>>>0>39){if(f){break R}a=r[b|0];i=r[l+a|0];if(i+ -22>>>0<6){break O}i=i+ -5|0;if(i>>>0>24){break P}T:{switch(i-1|0){case 0:g=-2;if((h|0)>=3){break P}break a;case 3:case 4:case 15:e=e+4|0;if((c-e|0)<2){break a}while(1){U:{V:{if(r[e+1|0]){break V}a=r[r[e|0]+l|0]+ -9|0;if(a>>>0>12){break V}W:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break V;case 0:break W;default:break U}}q[d>>2]=e+2;g=5;break a}q[d>>2]=e;g=0;break a}e=e+2|0;if((c-e|0)>1){continue}break}break a;case 23:break Q;case 1:break S;case 5:break T;default:break P}}q[d>>2]=e+4;g=5;break a}X:{switch(a-4|0){case 0:case 1:case 2:case 3:break P;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:break R;case 35:break X;default:break S}}a=r[b|0];if(a>>>0<=253){break Q}break P}g=-2;if((h|0)>=4){break P}break a}a=r[b|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break O}}q[d>>2]=b;g=0;break a}e=b;b=b+2|0;h=c-b|0;if((h|0)>1){continue}break}break a}q[d>>2]=e;g=0;break a}g=-2;if((e|0)>=4){break c}break a}h=r[b+2|0]}if(q[(h>>>3&28|r[f+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=i;g=0;break a}e=b+4|0;j=c-e|0;if((j|0)<=1){break a}i=0;while(1){Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{f=r[e+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break $}b=r[e|0];m=r[l+b|0]+ -5|0;if(m>>>0>24){break Z}h=2;ka:{la:{ma:{switch(m-1|0){case 0:g=-2;if((j|0)>=3){break Z}break a;case 17:if(i){break Z}m=e+2|0;f=c-m|0;if((f|0)<2){break a}j=r[e+3|0];b=j+ -216|0;if(b>>>0<=39){break ja}if(j){break da}b=r[e+2|0];n=r[l+b|0]+ -5|0;if(n>>>0>24){break ba}i=1;h=4;na:{switch(n-1|0){case 16:case 18:break Y;case 23:break ca;case 1:break ea;case 0:break na;default:break ba}}g=-2;if((f|0)>=3){break ba}break a;case 16:case 18:case 19:case 20:case 21:break Y;case 23:break _;case 1:break aa;case 11:break ka;case 5:break la;case 3:case 4:case 15:break ma;default:break Z}}b=e+2|0;h=c-b|0;if((h|0)<2){break a}f=e;while(1){oa:{e=b;pa:{qa:{ra:{sa:{b=r[f+3|0];if(b){g=b+ -216|0;if(g>>>0>39){break sa}switch(g-4|0){case 0:case 1:case 2:case 3:break Z;case 35:break oa;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:break sa;default:break qa}}i=r[e|0];j=r[l+i|0]+ -5|0;if(j>>>0>24){break Z}switch(j-1|0){case 16:case 18:break ga;case 23:break ha;case 11:break ka;case 5:break la;case 3:case 4:case 15:break pa;case 1:break qa;case 0:break ra;default:break Z}}i=r[e|0];break ha}g=-2;if((h|0)>=3){break Z}break a}g=-2;if((h|0)>=4){break Z}break a}f=e;b=e+2|0;h=c-b|0;if((h|0)>1){continue}break a}break}i=r[e|0];if(i>>>0>253){break Z}break ha}g=2;q[d>>2]=e+2;break a}a=e+2|0;if((c-a|0)<2){break a}if(!(r[e+2|0]==62?!r[e+3|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=e+4;g=4;break a}switch(b-4|0){case 0:case 1:case 2:case 3:break Z;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:break $;case 35:break ia;default:break aa}}switch(b-4|0){case 0:case 1:case 2:case 3:break ba;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:break da;case 35:break fa;default:break ea}}b=r[e|0];if(b>>>0<=253){break _}break Z}if(!(q[(i>>>3&28|r[b+492528|0]<<5)+490512>>2]>>>(i&31)&1)){break Z}}e=f+4|0;q[k+12>>2]=e;g=-1;h=c-e|0;if((h|0)<2){break a}i=0;while(1){ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{f=r[e+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break xa}b=r[e|0];j=r[l+b|0]+ -5|0;if(j>>>0>24){break va}Ia:{Ja:{switch(j-1|0){case 0:g=-2;if((h|0)>=3){break va}break a;case 17:if(i){break va}b=e+2|0;q[k+12>>2]=b;h=c-b|0;if((h|0)<2){break a}i=r[e+3|0];f=i+ -216|0;if(f>>>0<=39){break Ha}if(i){break Ca}f=r[b|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break Aa}Ka:{switch(j-1|0){case 16:case 18:break za;case 23:break Ba;case 1:break Da;case 0:break Ka;default:break Aa}}g=-2;if((h|0)>=3){break Aa}break a;case 23:break wa;case 1:break ya;case 8:break Ia;case 3:case 4:case 15:break Ja;case 16:case 18:case 19:case 20:case 21:break ua;default:break va}}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}La:{if(r[e+3|0]){break La}e=b;while(1){f=r[r[e|0]+l|0]+ -9|0;if(f>>>0>12){break La}Ma:{switch(f-2|0){case 3:break Ia;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break La;default:break Ma}}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<=1){break a}f=r[e+3|0];e=b;if(!f){continue}break}}q[d>>2]=b;g=0;break a}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}Na:{if(r[e+3|0]){break Na}f=r[r[b|0]+l|0];if((f|1)==13){break Fa}while(1){e=b;f=f&255;if(f>>>0>21|!(1<>2]=b;if((c-b|0)<=1){break a}if(r[e+3|0]){break Na}f=r[r[b|0]+l|0];if((f|1)!=13){continue}break}break Fa}q[d>>2]=b;g=0;break a}switch(b-4|0){case 0:case 1:case 2:case 3:break va;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:break xa;case 35:break Ga;default:break ya}}switch(f-4|0){case 0:case 1:case 2:case 3:break Aa;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:break Ca;case 35:break Ea;default:break Da}}b=r[e|0];if(b>>>0<=253){break wa}break va}e=e+4|0;q[k+12>>2]=e;h=c-e|0;if((h|0)<2){break a}i=f&255;while(1){Oa:{Pa:{b=r[e+1|0];f=b+ -216|0;Qa:{if(f>>>0>39){if(b){break Qa}b=r[r[e|0]+l|0];break Oa}b=7;Ra:{switch(f-4|0){case 0:case 1:case 2:case 3:break Pa;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:break Qa;case 35:break Ra;default:break Oa}}b=0;if(r[e|0]>253){break Oa}}b=29;break Oa}b=8}if((b|0)!=(i|0)){f=k;Sa:{Ta:{Ua:{if(b>>>0>8){break Ua}Va:{switch(b-3|0){case 3:if((h|0)<3){g=-2;break a}e=e+3|0;break Ta;case 4:if((h|0)<4){g=-2;break a}e=e+4|0;break Ta;case 0:b=gi(a,e+2|0,c,k+12|0);if((b|0)>=1){e=q[k+12>>2];break Sa}g=b;if(b){break a}q[d>>2]=q[k+12>>2];g=0;break a;case 1:case 2:break Ua;default:break Va}}q[d>>2]=e;g=0;break a}e=e+2|0}q[f+12>>2]=e}h=c-e|0;if((h|0)>1){continue}break a}break}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}Wa:{if(r[e+3|0]){break Wa}f=r[r[b|0]+l|0]+ -9|0;if(f>>>0>12){break Wa}Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{switch(f-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Wa;case 6:break $a;case 0:break ab;default:break bb}}e=e+4|0;q[k+12>>2]=e;f=b;j=c-e|0;if((j|0)<2){break a}while(1){b=e;cb:{db:{eb:{fb:{e=r[f+3|0];if(e){h=e+ -216|0;if(h>>>0>39){break fb}switch(h-4|0){case 0:case 1:case 2:case 3:break Za;case 35:break _a;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:break fb;default:break db}}i=r[b|0];h=r[l+i|0]+ -5|0;if(h>>>0>24){break Za}switch(h-1|0){case 16:case 18:break Xa;case 23:break Ya;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:break Za;case 11:break $a;case 5:break ab;case 3:case 4:case 15:break cb;case 1:break db;case 0:break eb;default:break Wa}}i=r[b|0];break Ya}g=-2;if((j|0)>=3){break Wa}break a}g=-2;if((j|0)<4){break a}break Wa}e=b+2|0;q[k+12>>2]=e;f=b;j=c-e|0;if((j|0)>1){continue}break}break a}q[d>>2]=b+2;g=1;break a}a=b+2|0;q[k+12>>2]=a;if((c-a|0)<2){break a}if(!(r[a|0]==62?!r[b+3|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=b+4;g=3;break a}i=r[b|0];if(i>>>0<=253){break Ya}}q[d>>2]=b;g=0;break a}if(!(q[(i>>>3&28|r[e+492528|0]<<5)+490512>>2]>>>(i&31)&1)){break Wa}}e=f+4|0;q[k+12>>2]=e;i=0;break ta}q[d>>2]=b;g=0;break a}f=r[b|0];if(f>>>0<=253){break Ba}break Aa}g=-2;if((h|0)>=4){break Aa}break a}f=r[b|0]}if(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1){break za}}q[d>>2]=b;g=0;break a}e=e+4|0;q[k+12>>2]=e;i=1;break ta}g=-2;if((h|0)>=4){break va}break a}b=r[e|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break ua}}q[d>>2]=e;g=0;break a}e=e+2|0;q[k+12>>2]=e}h=c-e|0;if((h|0)>1){continue}break}break a}b=r[e+2|0];if(b>>>0<=253){break ca}break ba}g=-2;if((f|0)>=4){break ba}break a}b=r[e+2|0]}i=1;h=4;if(q[(b>>>3&28|r[j+492528|0]<<5)+490512>>2]>>>(b&31)&1){break Y}}q[d>>2]=m;g=0;break a}g=-2;if((j|0)>=4){break Z}break a}b=r[e|0]}h=2;if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break Y}}q[d>>2]=e;g=0;break a}e=e+h|0;j=c-e|0;if((j|0)>1){continue}break}}Da=k+16|0;return g|0}function WJ(a,b,c,d){a=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=Da-16|0;Da=k;g=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{e=r[b|0];f=e+ -216|0;if(f>>>0>39){if(e){break u}l=a+72|0;e=r[l+r[b+1|0]|0];if(e>>>0>10){break u}switch(e-2|0){case 5:break x;case 4:break y;case 3:break z;case 2:break A;case 8:break B;case 7:break C;case 1:break D;case 0:break E;default:break v}}switch(f-4|0){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:break u;case 0:case 1:case 2:case 3:break v;case 35:break w;default:break x}}g=-1;i=b+2|0;e=c-i|0;if((e|0)<2){break a}f=r[b+2|0];h=f+ -216|0;if(h>>>0<=39){break r}if(f){break e}h=r[b+3|0];j=r[l+h|0]+ -5|0;if(j>>>0>24){break c}F:{switch(j-1|0){case 0:g=-2;if((e|0)>=3){break c}break a;case 10:e=b+4|0;if((c-e|0)<2){break a}G:{if(r[b+4|0]){break G}f=r[r[b+5|0]+l|0]+ -20|0;if(f>>>0>7){break G}H:{switch(f-1|0){case 6:g=lq(a,b+6|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break G;default:break H}}e=b+6|0;if((c-e|0)<12){break a}if(r[b+6|0]|r[b+7|0]!=67){break g}e=b+8|0;if(r[b+8|0]|r[b+9|0]!=68){break g}e=b+10|0;if(r[b+10|0]|r[b+11|0]!=65){break g}e=b+12|0;if(r[b+12|0]|r[b+13|0]!=84){break g}e=b+14|0;if(r[b+14|0]|r[b+15|0]!=65){break g}e=b+16|0;if(r[b+16|0]|r[b+17|0]!=91){break g}q[d>>2]=b+18;g=8;break a}q[d>>2]=e;g=0;break a;case 9:g=kq(a,b+4|0,c,d);break a;case 16:case 18:break b;case 11:break F;case 23:break d;case 1:break f;default:break c}}e=b+4|0;a=c-e|0;if((a|0)<2){break a}h=r[e|0];f=h+ -216|0;if(f>>>0<=39){break q}if(h){break k}f=r[b+5|0];i=r[l+f|0]+ -5|0;if(i>>>0>24){break i}I:{switch(i-1|0){case 23:break j;case 1:break l;case 0:break I;case 16:case 18:break h;default:break i}}g=-2;if((a|0)>=3){break i}break a}g=fi(a,b+2|0,c,d);break a}g=-3;a=b+2|0;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+l|0]==10?b+4|0:a}q[d>>2]=a;g=7;break a}q[d>>2]=b+2;g=7;break a}g=-5;e=b+2|0;if((c-e|0)<2){break a}if(r[e|0]|r[b+3|0]!=93){break t}f=b+4|0;if((c-f|0)<2){break a}if(r[b+4|0]|r[b+5|0]!=62){break t}q[d>>2]=f;g=0;break a}g=-2;if((c-b|0)<2){break a}e=b+2|0;break t}g=-2;if((c-b|0)<3){break a}e=b+3|0;break t}g=-2;if((c-b|0)<4){break a}e=b+4|0;break t}if(r[b+1|0]<=253){break u}}q[d>>2]=b;g=0;break a}e=b+2|0}g=c-e|0;if((g|0)>=2){b=a+72|0;while(1){a=e;J:{K:{L:{M:{N:{O:{e=r[e|0];f=e+ -216|0;if(f>>>0>39){if(e){break K}e=r[b+r[a+1|0]|0];if(e>>>0>10){break K}switch(e-4|0){case 1:break K;case 0:break M;case 3:break N;case 2:break O;default:break p}}switch(f-4|0){case 0:case 1:case 2:case 3:break p;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:break K;case 35:break L;default:break N}}if((g|0)<=2){break p}e=a+3|0;break J}if((g|0)<=3){break p}e=a+4|0;break J}if((g|0)<4){break p}e=a+2|0;if(r[a+2|0]|r[a+3|0]!=93){break J}if((g|0)<6){break p}if(r[a+4|0]|r[a+5|0]!=62){break J}q[d>>2]=a+4;g=0;break a}if(r[a+1|0]>253){break p}}e=a+2|0}g=c-e|0;if((g|0)>1){continue}break}}q[d>>2]=e;break o}g=-1;break a}switch(h-4|0){case 35:break n;case 0:case 1:case 2:case 3:break c;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:break e;default:break f}}switch(f-4|0){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:break k;case 35:break m;case 0:case 1:case 2:case 3:break i;default:break l}}q[d>>2]=a}g=6;break a}h=r[b+3|0];if(h>>>0<=253){break d}break c}f=r[b+5|0];if(f>>>0<=253){break j}break i}g=-2;if((a|0)>=4){break i}break a}f=r[b+5|0]}if(q[(f>>>3&28|r[h+492528|0]<<5)+490512>>2]>>>(f&31)&1){break h}}q[d>>2]=e;g=0;break a}b=b+6|0;h=c-b|0;if((h|0)<=1){break a}while(1){P:{Q:{R:{S:{T:{f=r[b|0];a=f+ -216|0;if(a>>>0>39){if(f){break S}a=r[e+3|0];i=r[l+a|0];if(i+ -22>>>0<6){break P}i=i+ -5|0;if(i>>>0>24){break Q}U:{switch(i-1|0){case 0:g=-2;if((h|0)>=3){break Q}break a;case 3:case 4:case 15:b=e+4|0;if((c-b|0)<2){break a}while(1){V:{W:{if(r[b|0]){break W}a=r[r[b+1|0]+l|0]+ -9|0;if(a>>>0>12){break W}X:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break W;case 0:break X;default:break V}}q[d>>2]=b+2;g=5;break a}q[d>>2]=b;g=0;break a}b=b+2|0;if((c-b|0)>1){continue}break}break a;case 23:break R;case 1:break T;case 5:break U;default:break Q}}q[d>>2]=e+4;g=5;break a}Y:{switch(a-4|0){case 0:case 1:case 2:case 3:break Q;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:break S;case 35:break Y;default:break T}}a=r[e+3|0];if(a>>>0<=253){break R}break Q}g=-2;if((h|0)>=4){break Q}break a}a=r[e+3|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break P}}q[d>>2]=b;g=0;break a}e=b;b=b+2|0;h=c-b|0;if((h|0)>1){continue}break}break a}q[d>>2]=e;g=0;break a}g=-2;if((e|0)>=4){break c}break a}h=r[b+3|0]}if(q[(h>>>3&28|r[f+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=i;g=0;break a}b=b+4|0;i=c-b|0;if((i|0)<=1){break a}j=0;while(1){Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b|0];e=f+ -216|0;if(e>>>0>39){if(f){break aa}e=r[b+1|0];m=r[l+e|0]+ -5|0;if(m>>>0>24){break _}h=2;la:{ma:{na:{switch(m-1|0){case 0:g=-2;if((i|0)>=3){break _}break a;case 17:if(j){break _}m=b+2|0;f=c-m|0;if((f|0)<2){break a}i=r[b+2|0];e=i+ -216|0;if(e>>>0<=39){break ka}if(i){break ea}e=r[b+3|0];n=r[l+e|0]+ -5|0;if(n>>>0>24){break ca}j=1;h=4;oa:{switch(n-1|0){case 16:case 18:break Z;case 23:break da;case 1:break fa;case 0:break oa;default:break ca}}g=-2;if((f|0)>=3){break ca}break a;case 16:case 18:case 19:case 20:case 21:break Z;case 23:break $;case 1:break ba;case 11:break la;case 5:break ma;case 3:case 4:case 15:break na;default:break _}}f=b+2|0;h=c-f|0;if((h|0)<2){break a}e=b;while(1){pa:{b=f;qa:{ra:{sa:{ta:{i=r[e+2|0];if(i){f=i+ -216|0;if(f>>>0>39){break ta}switch(f-4|0){case 0:case 1:case 2:case 3:break _;case 35:break pa;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:break ta;default:break ra}}f=r[e+3|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break _}switch(j-1|0){case 16:case 18:break ha;case 23:break ia;case 11:break la;case 5:break ma;case 3:case 4:case 15:break qa;case 1:break ra;case 0:break sa;default:break _}}f=r[e+3|0];break ia}g=-2;if((h|0)>=3){break _}break a}g=-2;if((h|0)>=4){break _}break a}e=b;f=b+2|0;h=c-f|0;if((h|0)>1){continue}break a}break}f=r[e+3|0];if(f>>>0>253){break _}break ia}g=2;q[d>>2]=b+2;break a}a=b+2|0;if((c-a|0)<2){break a}if(!(r[b+3|0]==62?!r[b+2|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=b+4;g=4;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break _;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:break aa;case 35:break ja;default:break ba}}switch(e-4|0){case 0:case 1:case 2:case 3:break ca;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:break ea;case 35:break ga;default:break fa}}e=r[b+1|0];if(e>>>0<=253){break $}break _}if(!(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1)){break _}}b=e+4|0;q[k+12>>2]=b;h=c-b|0;if((h|0)<2){break a}f=0;while(1){ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{i=r[b|0];e=i+ -216|0;if(e>>>0>39){if(i){break ya}e=r[b+1|0];j=r[l+e|0]+ -5|0;if(j>>>0>24){break wa}Ja:{Ka:{La:{switch(j-1|0){case 0:g=-2;if((h|0)>=3){break wa}break a;case 17:if(f){break wa}e=b+2|0;q[k+12>>2]=e;h=c-e|0;if((h|0)<2){break a}i=r[e|0];f=i+ -216|0;if(f>>>0<=39){break Ja}if(i){break Da}f=r[b+3|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break Ba}Ma:{switch(j-1|0){case 16:case 18:break Aa;case 23:break Ca;case 1:break Ea;case 0:break Ma;default:break Ba}}g=-2;if((h|0)>=3){break Ba}break a;case 16:case 18:case 19:case 20:case 21:break va;case 23:break xa;case 1:break za;case 8:break Ka;case 3:case 4:case 15:break La;default:break wa}}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<2){break a}Na:{if(r[e|0]){break Na}f=b;b=e;while(1){f=r[r[f+3|0]+l|0]+ -9|0;if(f>>>0>12){break Na}Oa:{switch(f-2|0){case 3:break Ka;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break Na;default:break Oa}}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<=1){break a}f=b;b=e;if(!r[b|0]){continue}break}}q[d>>2]=e;g=0;break a}f=b+2|0;q[k+12>>2]=f;if((c-f|0)<2){break a}Pa:{Qa:{if(!r[f|0]){e=f;while(1){h=r[r[b+3|0]+l|0];if((h|1)==13){break Pa}if(!(1<>>0>21){break Qa}e=f+2|0;q[k+12>>2]=e;if((c-e|0)<=1){break a}b=f;f=e;if(!r[e|0]){continue}break}break Qa}e=f}q[d>>2]=e;g=0;break a}b=b+4|0;q[k+12>>2]=b;i=c-b|0;if((i|0)<2){break a}while(1){Ra:{Sa:{e=r[b|0];f=e+ -216|0;Ta:{if(f>>>0>39){if(e){break Ta}e=r[r[b+1|0]+l|0];break Ra}e=7;Ua:{switch(f-4|0){case 0:case 1:case 2:case 3:break Sa;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:break Ta;case 35:break Ua;default:break Ra}}e=0;if(r[b+1|0]>253){break Ra}}e=29;break Ra}e=8}if((e|0)!=(h|0)){f=k;Va:{Wa:{Xa:{if(e>>>0>8){break Xa}Ya:{switch(e-3|0){case 3:if((i|0)<3){g=-2;break a}b=b+3|0;break Wa;case 4:if((i|0)<4){g=-2;break a}b=b+4|0;break Wa;case 0:b=fi(a,b+2|0,c,k+12|0);if((b|0)>=1){b=q[k+12>>2];break Va}g=b;if(b){break a}q[d>>2]=q[k+12>>2];g=0;break a;case 1:case 2:break Xa;default:break Ya}}q[d>>2]=b;g=0;break a}b=b+2|0}q[f+12>>2]=b}i=c-b|0;if((i|0)>1){continue}break a}break}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<2){break a}if(r[e|0]){break Ga}f=r[r[b+3|0]+l|0]+ -9|0;if(f>>>0>12){break Ga}Za:{_a:{$a:{ab:{bb:{switch(f-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Ga;case 6:break $a;case 0:break ab;default:break bb}}b=b+4|0;q[k+12>>2]=b;f=e;i=c-b|0;if((i|0)<2){break a}while(1){e=b;cb:{db:{eb:{fb:{b=r[b|0];if(b){h=b+ -216|0;if(h>>>0>39){break fb}switch(h-4|0){case 0:case 1:case 2:case 3:break Za;case 35:break _a;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:break fb;default:break db}}j=r[f+3|0];h=r[j+l|0]+ -5|0;if(h>>>0>24){break Za}switch(h-1|0){case 16:case 18:break Ha;case 23:break Ia;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:break Za;case 11:break $a;case 5:break ab;case 3:case 4:case 15:break cb;case 1:break db;case 0:break eb;default:break Ga}}j=r[f+3|0];break Ia}g=-2;if((i|0)>=3){break Ga}break a}g=-2;if((i|0)<4){break a}break Ga}b=e+2|0;q[k+12>>2]=b;f=e;i=c-b|0;if((i|0)>1){continue}break}break a}q[d>>2]=e+2;g=1;break a}a=e+2|0;q[k+12>>2]=a;if((c-a|0)<2){break a}if(!(r[e+3|0]==62?!r[a|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=e+4;g=3;break a}j=r[f+3|0];if(j>>>0<=253){break Ia}}q[d>>2]=e;g=0;break a}switch(f-4|0){case 0:case 1:case 2:case 3:break Ba;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:break Da;case 35:break Fa;default:break Ea}}gb:{switch(e-4|0){case 0:case 1:case 2:case 3:break wa;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:break ya;case 35:break gb;default:break za}}e=r[b+1|0];if(e>>>0<=253){break xa}break wa}if(!(q[(j>>>3&28|r[b+492528|0]<<5)+490512>>2]>>>(j&31)&1)){break Ga}}b=f+4|0;q[k+12>>2]=b;f=0;break ua}q[d>>2]=e;g=0;break a}f=r[b+3|0];if(f>>>0<=253){break Ca}break Ba}g=-2;if((h|0)>=4){break Ba}break a}f=r[b+3|0]}if(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1){break Aa}}q[d>>2]=e;g=0;break a}b=b+4|0;q[k+12>>2]=b;f=1;break ua}g=-2;if((h|0)>=4){break wa}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[i+492784|0]<<5)+490512>>2]>>>(e&31)&1){break va}}q[d>>2]=b;g=0;break a}b=b+2|0;q[k+12>>2]=b}h=c-b|0;if((h|0)>1){continue}break}break a}e=r[b+3|0];if(e>>>0<=253){break da}break ca}g=-2;if((f|0)>=4){break ca}break a}e=r[b+3|0]}j=1;h=4;if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break Z}}q[d>>2]=m;g=0;break a}g=-2;if((i|0)>=4){break _}break a}e=r[b+1|0]}h=2;if(q[(e>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(e&31)&1){break Z}}q[d>>2]=b;g=0;break a}b=b+h|0;i=c-b|0;if((i|0)>1){continue}break}}Da=k+16|0;return g|0}function We(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;h=Da-48|0;Da=h;q[h+36>>2]=d;w=q[a+352>>2];a:{if(q[a+144>>2]==(c|0)){y=a+284|0;B=a+288|0;break a}y=q[a+296>>2];B=y+4|0}q[y>>2]=d;C=w+92|0;D=w+80|0;s=a+424|0;v=a+412|0;u=a+288|0;m=a+284|0;b:{c:{d:{while(1){d=q[h+36>>2];q[h+32>>2]=d;i=n[q[c+4>>2]](c,d,e,h+32|0)|0;d=q[h+32>>2];q[B>>2]=d;e:{f:{g:{h:{i=i+5|0;if(i>>>0<=18){j=17;i:{switch(i-1|0){case 1:if(g){q[f>>2]=q[h+36>>2];j=0;break b}q[B>>2]=e;d=q[a+60>>2];j:{if(d){o[h|0]=10;n[d](q[a+4>>2],h,1);break j}g=q[a+80>>2];if(!g){break j}d=q[h+36>>2];q[h>>2]=d;if(!r[c+68|0]){if(q[a+144>>2]!=(c|0)){m=q[a+296>>2];u=m+4|0}while(1){q[h+44>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h,e,h+44|0,q[a+48>>2])|0;q[u>>2]=q[h>>2];g=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],g,q[h+44>>2]-g|0);q[m>>2]=q[h>>2];if(d>>>0>1){continue}break}break j}n[g](q[a+4>>2],d,e-d|0)}if(!b){j=3;break b}j=13;if(q[a+308>>2]!=(b|0)){break b}break c;case 0:if(g){q[f>>2]=q[h+36>>2];j=0;break b}if((b|0)<1){j=3;break b}j=13;if(q[a+308>>2]!=(b|0)){break b}q[f>>2]=q[h+36>>2];j=0;break b;case 3:if(!g){j=5;break b}q[f>>2]=q[h+36>>2];j=0;break b;case 2:if(!g){j=6;break b}q[f>>2]=q[h+36>>2];j=0;break b;case 13:i=q[c+64>>2];d=n[q[c+44>>2]](c,i+q[h+36>>2]|0,d-i|0)|0;o[h+40|0]=d;if(d&255){d=q[a+60>>2];if(d){n[d](q[a+4>>2],h+40|0,1);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}d=q[h+32>>2];i=q[c+64>>2];q[h>>2]=i+q[h+36>>2];k:{l:{if(!q[C>>2]){if(!Ya(D)){break l}}d=d-i|0;while(1){if(n[q[c+56>>2]](c,h,d,C,q[w+88>>2])>>>0<2){break k}if(Ya(D)){continue}break}}j=1;break b}j=1;if(!q[w+96>>2]){break b}d=q[w+92>>2];if((d|0)==q[w+88>>2]){if(!Ya(D)){break b}d=q[C>>2]}q[w+92>>2]=d+1;o[d|0]=0;d=q[w+96>>2];if(!d){break b}l=ic(a,w,d,0);q[w+92>>2]=q[w+96>>2];m:{if(!(r[w+130|0]?0:r[w+129|0])){if(!l){j=11;break b}if(r[l+34|0]){break m}j=24;break b}if(l){break m}i=q[a+120>>2];if(i){n[i](q[a+4>>2],d,0);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}if(r[l+32|0]){j=12;break b}if(q[l+28>>2]){j=15;break b}n:{if(q[l+4>>2]){if(r[a+304|0]){break n}d=q[a+120>>2];if(d){n[d](q[a+4>>2],q[l>>2],0);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}o:{if(q[a+112>>2]){o[l+32|0]=1;x=q[a+352>>2];p:{if(!q[x+156>>2]){p=0;break p}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}p=1;q[a+424>>2]=d+1;o[d|0]=61;k=0;i=q[q[x+156>>2]+20>>2]-(r[a+468|0]!=0)|0;if((i|0)<1){break p}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}z=r[q[q[x+156>>2]+16>>2]+k|0];q[s>>2]=d+1;o[d|0]=z;k=k+1|0;if((i|0)!=(k|0)){continue}break}}d=q[x+60>>2];E=d+(q[x+68>>2]<<2)|0;while(1){if((d|0)!=(E|0)){z=q[d>>2];i=d+4|0;d=i;if(!z){continue}d=i;if(!q[z+4>>2]){continue}if(p&255){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[s>>2]=d+1;o[d|0]=12}d=q[a+424>>2];A=(d|0)==q[a+420>>2];p=q[z>>2];k=r[p|0];if(k){while(1){if(A){if(!Ya(v)){break o}k=r[p|0];d=q[s>>2]}q[a+424>>2]=d+1;o[d|0]=k;d=q[a+424>>2];A=(d|0)==q[a+420>>2];k=r[p+1|0];p=p+1|0;if(k){continue}break}}if(A){if(!Ya(v)){break o}d=q[s>>2]}p=1;q[a+424>>2]=d+1;o[d|0]=61;k=0;d=i;A=q[q[z+4>>2]+20>>2]-(r[a+468|0]!=0)|0;if((A|0)<1){continue}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}F=r[q[q[z+4>>2]+16>>2]+k|0];q[s>>2]=d+1;o[d|0]=F;k=k+1|0;if((A|0)!=(k|0)){continue}break}d=i;continue}break}d=q[x>>2];z=d+(q[x+8>>2]<<2)|0;while(1){if((d|0)!=(z|0)){k=q[d>>2];i=d+4|0;d=i;if(!k){continue}d=i;if(!r[k+32|0]){continue}if(p&255){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[s>>2]=d+1;o[d|0]=12}p=1;d=i;k=q[k>>2];x=r[k|0];if(!x){continue}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}x=r[k|0];d=q[s>>2]}q[s>>2]=d+1;o[d|0]=x;x=r[k+1|0];k=k+1|0;if(x){continue}break}d=i;continue}break}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[a+424>>2]=d+1;o[d|0]=0;d=q[a+428>>2];o[l+32|0]=0;if(!d){break b}if(!n[q[a+112>>2]](q[a+116>>2],d,q[l+20>>2],q[l+16>>2],q[l+24>>2])){j=21;break b}q[a+424>>2]=q[a+428>>2];break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}o[l+32|0]=0;break b}j=bq(a,l,0);if(!j){break e}break b;case 5:case 6:d=q[a+364>>2];q:{if(d){q[a+364>>2]=q[d>>2];break q}j=1;d=n[q[a+12>>2]](48)|0;if(!d){break b}i=n[q[a+12>>2]](32)|0;q[d+36>>2]=i;if(!i){n[q[a+20>>2]](d);break b}q[d+40>>2]=i+32}q[d+44>>2]=0;q[d>>2]=q[a+360>>2];q[a+360>>2]=d;q[d+16>>2]=0;q[d+20>>2]=0;i=q[h+36>>2]+q[c+64>>2]|0;q[d+4>>2]=i;G=d,H=n[q[c+28>>2]](c,i)|0,q[G+8>>2]=H;q[a+308>>2]=q[a+308>>2]+1;i=q[d+8>>2];j=q[d+4>>2];q[h>>2]=j;q[h+40>>2]=q[d+36>>2];l=i+j|0;p=n[q[c+56>>2]](c,h,l,h+40|0,q[d+40>>2]+ -1|0)|0;i=q[h+40>>2];k=q[d+36>>2];j=i-k|0;r:{s:{if((p|0)==1|t[h>>2]>=l>>>0){break s}while(1){i=k;k=q[d+40>>2]-k<<1;i=n[q[a+16>>2]](i,k)|0;if(!i){break r}q[d+36>>2]=i;k=i+k|0;q[d+40>>2]=k;q[h+40>>2]=i+j;p=n[q[c+56>>2]](c,h,l,h+40|0,k+ -1|0)|0;i=q[h+40>>2];k=q[d+36>>2];j=i-k|0;if((p|0)==1){break s}if(t[h>>2]>>0){continue}break}}q[d+24>>2]=j;q[d+12>>2]=k;o[i|0]=0;j=$p(a,c,q[h+36>>2],d+12|0,d+44|0);if(j){break b}i=q[a+52>>2];t:{if(i){n[i](q[a+4>>2],q[d+12>>2],q[a+388>>2]);break t}j=q[a+80>>2];if(!j){break t}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break t}n[j](q[a+4>>2],i,d-i|0)}j=q[a+416>>2];u:{if(!j){q[a+416>>2]=q[a+412>>2];break u}d=q[v>>2];if(!d){break u}while(1){i=q[d>>2];q[d>>2]=j;q[a+416>>2]=d;j=d;d=i;if(d){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break e}j=1;break b;case 7:case 8:d=q[c+64>>2];i=q[h+36>>2];q[h+28>>2]=0;d=d+i|0;i=n[q[c+28>>2]](c,d)|0;q[h+44>>2]=d;if(!q[s>>2]){if(!Ya(v)){break d}}d=d+i|0;while(1){if(n[q[c+56>>2]](c,h+44|0,d,s,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break d}break}if(!q[a+428>>2]){break d}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break d}d=q[s>>2]}j=1;q[a+424>>2]=d+1;o[d|0]=0;d=q[a+428>>2];q[h>>2]=d;if(!d){break b}q[a+428>>2]=q[a+424>>2];j=$p(a,c,q[h+36>>2],h,h+28|0);if(j){c=q[h+28>>2];if(!c){break b}while(1){b=q[a+104>>2];if(b){n[b](q[a+4>>2],q[q[c>>2]>>2])}b=q[c+4>>2];q[c+4>>2]=q[a+372>>2];q[a+372>>2]=c;q[q[c>>2]+4>>2]=q[c+8>>2];c=b;if(c){continue}break}break b}q[a+428>>2]=q[a+424>>2];d=q[a+52>>2];if(d){n[d](q[a+4>>2],q[h>>2],q[a+388>>2]);d=q[a+56>>2];if(!d){break f}if(!q[a+52>>2]){break g}q[y>>2]=q[B>>2];d=q[a+56>>2];break g}d=q[a+56>>2];if(d){break g}j=q[a+80>>2];if(!j){break f}d=q[h+32>>2];i=q[h+36>>2];q[h+44>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+40>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h+44|0,d,h+40|0,q[a+48>>2])|0;q[j>>2]=q[h+44>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+40>>2]-l|0);q[i>>2]=q[h+44>>2];if(k>>>0>1){continue}break}break f}n[j](q[a+4>>2],i,d-i|0);break f;case 9:if(q[a+308>>2]==(b|0)){j=13;break b}k=q[a+360>>2];q[a+360>>2]=q[k>>2];q[k>>2]=q[a+364>>2];q[a+364>>2]=k;d=q[h+36>>2]+(q[c+64>>2]<<1)|0;i=n[q[c+28>>2]](c,d)|0;v:{if((i|0)==q[k+8>>2]){if(!Oc(q[k+4>>2],d,i)){break v}}q[y>>2]=d;j=7;break b}q[a+308>>2]=q[a+308>>2]+ -1;d=q[a+56>>2];w:{if(d){j=q[k+16>>2];if(!(!j|!r[a+232|0])){d=q[k+12>>2]+q[k+28>>2]|0;i=r[j|0];if(i){while(1){o[d|0]=i;d=d+1|0;i=r[j+1|0];j=j+1|0;if(i){continue}break}}j=q[k+20>>2];x:{if(!j|!r[a+233|0]){break x}o[d|0]=r[a+468|0];d=d+1|0;i=r[j|0];if(!i){break x}while(1){o[d|0]=i;d=d+1|0;i=r[j+1|0];j=j+1|0;if(i){continue}break}}o[d|0]=0;d=q[a+56>>2]}n[d](q[a+4>>2],q[k+12>>2]);break w}j=q[a+80>>2];if(!j){break w}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){j=m;i=u;if(q[a+144>>2]!=(c|0)){j=q[a+296>>2];i=j+4|0}while(1){q[h+44>>2]=q[a+44>>2];l=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[i>>2]=q[h>>2];p=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],p,q[h+44>>2]-p|0);q[j>>2]=q[h>>2];if(l>>>0>1){continue}break}break w}n[j](q[a+4>>2],i,d-i|0)}while(1){i=q[k+44>>2];if(i){d=i;j=k;l=q[a+104>>2];if(l){n[l](q[a+4>>2],q[q[i>>2]>>2]);d=q[k+44>>2]}q[j+44>>2]=q[d+4>>2];q[i+4>>2]=q[a+372>>2];q[a+372>>2]=i;q[q[i>>2]+4>>2]=q[i+8>>2];continue}break}if(q[a+308>>2]){break e}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(d-1){break e}q[a+276>>2]=971;break e}j=sk(a,q[h+32>>2],e,f);break b;case 14:d=n[q[c+40>>2]](c,q[h+36>>2])|0;if((d|0)<0){j=14;break b}i=q[a+60>>2];if(i){n[i](q[a+4>>2],h,Ak(d,h));break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 11:i=q[a+60>>2];if(i){o[h|0]=10;n[i](q[a+4>>2],h,1);break e}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 12:i=q[a+72>>2];y:{if(i){n[i](q[a+4>>2]);break y}j=q[a+80>>2];if(!j){break y}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break y}n[j](q[a+4>>2],i,d-i|0)}j=_p(a,c,h+32|0,e,f,g);if(j){break b}if(q[h+32>>2]){break e}q[a+276>>2]=972;j=0;break b;default:if(g){q[f>>2]=q[h+36>>2];j=0;break b}d=q[a+60>>2];z:{if(d){if(!r[c+68|0]){q[h>>2]=q[a+44>>2];n[q[c+56>>2]](c,h+36|0,e,h,q[a+48>>2])|0;c=q[a+44>>2];n[q[a+60>>2]](q[a+4>>2],c,q[h>>2]-c|0);break z}c=q[h+36>>2];n[d](q[a+4>>2],c,e-c|0);break z}g=q[a+80>>2];if(!g){break z}d=q[h+36>>2];q[h>>2]=d;if(!r[c+68|0]){if(q[a+144>>2]!=(c|0)){m=q[a+296>>2];u=m+4|0}while(1){q[h+44>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h,e,h+44|0,q[a+48>>2])|0;q[u>>2]=q[h>>2];g=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],g,q[h+44>>2]-g|0);q[m>>2]=q[h>>2];if(d>>>0>1){continue}break}break z}n[g](q[a+4>>2],d,e-d|0)}if(!b){q[y>>2]=e;j=3;break b}if(q[a+308>>2]==(b|0)){break c}q[y>>2]=e;j=13;break b;case 10:i=q[a+60>>2];if(i){if(!r[c+68|0]){while(1){q[h>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h+36|0,d,h,q[a+48>>2])|0;q[B>>2]=q[h+36>>2];j=q[a+44>>2];n[i](q[a+4>>2],j,q[h>>2]-j|0);if(d>>>0<2){break e}q[y>>2]=q[h+36>>2];d=q[h+32>>2];continue}}j=q[h+36>>2];n[i](q[a+4>>2],j,d-j|0);break e}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 15:if(uk(a,c,q[h+36>>2],d)){break e}j=1;break b;case 4:break h;case 17:break i;case 16:break b}}if(tk(a,c,q[h+36>>2],d)){break e}j=1;break b}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}q[y>>2]=d;j=4;break b}n[d](q[a+4>>2],q[h>>2])}j=q[a+416>>2];A:{if(!j){q[a+416>>2]=q[a+412>>2];break A}d=q[v>>2];if(!d){break A}while(1){i=q[d>>2];q[d>>2]=j;q[a+416>>2]=d;j=d;d=i;if(d){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;d=q[h+28>>2];if(d){while(1){i=q[a+104>>2];if(i){n[i](q[a+4>>2],q[q[d>>2]>>2])}i=q[d+4>>2];q[d+4>>2]=q[a+372>>2];q[a+372>>2]=d;q[q[d>>2]+4>>2]=q[d+8>>2];d=i;if(d){continue}break}}if(q[a+308>>2]){break e}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(d-1){break e}q[a+276>>2]=971;break e}j=sk(a,q[h+32>>2],e,f);break b}d=q[h+32>>2];q[h+36>>2]=d;q[y>>2]=d;d=q[a+476>>2]+ -2|0;if(d>>>0>1){continue}break}j=35;if(d-1){break b}q[f>>2]=q[h+32>>2];j=0;break b}q[h>>2]=0;j=1;break b}q[f>>2]=e;j=0}Da=h+48|0;return j}function Pn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0;f=Da-32|0;Da=f;u=q[b+100>>2];e=Xa(a,0);q[f+28>>2]=e;d=1;a:{b:{c:{d:{e:{f:{g:{if(e){break g}e=lb(a,25552,b+184|0);q[f+28>>2]=e;if(e){break g}d=3;if(q[b+184>>2]!=1885562369){break g}e=q[b+188>>2];if(!e){break g}h=q[a+4>>2];if(h>>>0<16){break g}d=h>>>4|0;if(!(e>>>0<=d>>>0?e>>>0<=9:0)){e=h>>>0<144?d:9;q[b+188>>2]=e}e=Oa(u,16,0,e,0,f+28|0);q[b+192>>2]=e;d=q[f+28>>2];if(d){break g}if(q[b+188>>2]){while(1){d=lb(a,25568,e);q[f+28>>2]=d;if(d){break d}e=e+16|0;i=i+1|0;d=q[b+188>>2];if(i>>>0>>0){continue}break}e=q[b+192>>2];if((d|0)==1){break f}i=d}d=0;h:{i:{while(1){l=d+1|0;if((l|0)==(i|0)){k=i+ -1|0;g=q[a+4>>2];e=q[b+192>>2];break i}k=d^-1;h=q[e+12>>2];j=0;g=0;while(1){d=(g<<4)+e|0;v=h;g=g+1|0;h=(g<<4)+e|0;i=q[h+12>>2];if(v>>>0>i>>>0){i=q[d+12>>2];q[f+16>>2]=q[d+8>>2];q[f+20>>2]=i;i=q[d+4>>2];q[f+8>>2]=q[d>>2];q[f+12>>2]=i;i=q[h+12>>2];q[d+8>>2]=q[h+8>>2];q[d+12>>2]=i;i=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=i;i=q[f+20>>2];q[h+8>>2]=q[f+16>>2];q[h+12>>2]=i;i=q[f+12>>2];q[h>>2]=q[f+8>>2];q[h+4>>2]=i;j=1;i=q[h+12>>2]}h=q[d+8>>2];if(i>>>0>>0|t[d+12>>2]>i-h>>>0){break h}h=i;i=q[b+188>>2];if(g>>>0>>0){continue}break}k=i+ -1|0;if(j){d=l;if(d>>>0>>0){continue}}break}g=q[a+4>>2];e=q[b+192>>2];h=e;if((i|0)==1){break e}}i=k>>>0>1?k:1;h=(i<<4)+e|0;k=0;d=e;while(1){j=q[d+8>>2];if(!(t[d+12>>2]<=g-j>>>0?g>>>0>=j>>>0:0)){q[f+28>>2]=8;break d}d=d+16|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}break e}q[f+28>>2]=9;break d}q[f+4>>2]=d;break b}g=q[a+4>>2];h=e}d=q[h+12>>2];if(g>>>0>>0){q[f+28>>2]=8;break d}d=g-d|0;if(t[h+8>>2]>d>>>0){q[h+8>>2]=d}q[f+4>>2]=0;break c}e=q[b+192>>2];if(e){n[q[u+8>>2]](u,e)}e=0;q[b+192>>2]=0;d=q[f+28>>2];q[f+4>>2]=d;if(d){break b}}q[b>>2]=1;q[b+4>>2]=0;d=0;if((c|0)<0){break a}h=q[b+100>>2];g=3;j:{k:{c=q[b+188>>2];l:{if(!c){break l}d=0;while(1){if(q[(d<<4)+e>>2]==1){g=83;c=q[((d<<4)+e|0)+12>>2];i=q[a+8>>2];if(c>>>0>>0){break l}if(Ib(a,c-i|0)){break l}j=q[((d<<4)+e|0)+8>>2];e=0;q[f+8>>2]=0;c=Ec(a,f+8|0);if(c>>>0<=255){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}q[f+8>>2]=g;e=0;d=0;break j}if(q[f+8>>2]){d=0;break j}i=c&4;m:{if(i){c=Hb(a,f+8|0);break m}c=Ec(a,f+8|0)}if(q[f+8>>2]){d=0;break j}if(c>>>0>(j>>>0)/9>>>0){q[f+8>>2]=8;d=0;break j}k=c>>>0<256?c:256;q[b+280>>2]=k;d=Oa(h,12,0,k,0,f+8|0);if(q[f+8>>2]){break j}n:{if(!k){break n}g=0;if(!i){while(1){l=lb(a,25632,w(g,12)+d|0);q[f+8>>2]=l;if(l){break j}g=g+1|0;if((k|0)!=(g|0)){continue}break n}}while(1){l=lb(a,25600,w(g,12)+d|0);q[f+8>>2]=l;if(l){break j}g=g+1|0;if((k|0)!=(g|0)){continue}break}}g=Ib(a,w(c-k|0,9));q[f+8>>2]=g;if(g){q[f+8>>2]=83;break j}o:{g=c&3;if(!g){break o}g=Ib(a,4-g|0);q[f+8>>2]=g;if(!g){break o}q[f+8>>2]=83;break j}p:{if(i){i=Hb(a,f+8|0);break p}i=Ec(a,f+8|0)}if(q[f+8>>2]){break j}if(i>>>0>j+w(c,-9)>>>0){q[f+8>>2]=8;break j}i=i>>>0<16777472?i:16777472;e=Oa(h,1,0,i+1|0,0,f+8|0);if(q[f+8>>2]){break j}c=Wb(a,e,i);q[f+8>>2]=c;if(c){break j}g=0;l=Oa(h,12,0,k,0,f+8|0);if(q[f+8>>2]){break j}q[b+284>>2]=l;if(k){while(1){j=w(g,12);c=j+d|0;m=q[c>>2];if(!(m>>>0<=i>>>0?(m|0)>=0:0)){q[f+8>>2]=9;break j}j=j+l|0;x=j,y=$c(h,e+m|0,f+8|0),q[x>>2]=y;if(q[f+8>>2]){break j}m=r[c+4|0];o[j+4|0]=m;c=q[c+8>>2];q:{if(m){if(!(c>>>0<=i>>>0?(c|0)>=0:0)){q[f+8>>2]=9;break j}x=j,y=$c(h,c+e|0,f+8|0),q[x+8>>2]=y;if(!q[f+8>>2]){break q}break j}q[j+8>>2]=c}g=g+1|0;if((k|0)!=(g|0)){continue}break}}q[f+8>>2]=0}if(d){n[q[h+8>>2]](h,d)}if(e){n[q[h+8>>2]](h,e)}c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}e=q[b+188>>2];r:{if(e){c=q[b+192>>2];d=0;while(1){i=1;if(q[(d<<4)+c>>2]==256){break r}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=On(a,b,2);q[f+4>>2]=c;if(c){break b}e=q[b+188>>2];c=q[b+192>>2];i=0}g=3;s:{t:{u:{v:{w:{if(!e){break w}h=q[b+100>>2];d=0;while(1){if(q[(d<<4)+c>>2]==4){g=83;e=q[((d<<4)+c|0)+12>>2];k=q[a+8>>2];if(e>>>0>>0){break w}if(Ib(a,e-k|0)){break w}k=q[((d<<4)+c|0)+8>>2];q[f+28>>2]=0;e=Ec(a,f+28|0);d=q[f+28>>2];if(d){break s}d=3;if(((e|256)&-256)!=256){break s}g=e&4;if(e>>>0>255){break u}if(!g){break v}c=Hb(a,f+28|0);break t}d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[f+28>>2]=g;q[f+4>>2]=g;break b}c=Ec(a,f+28|0);break t}if(g){c=ib(a,f+28|0);break t}c=No(a,f+28|0)}if(q[f+28>>2]){break s}x:{if(e>>>0<=255){d=8;if(c+ -1>>>0<(k>>>0)/12>>>0){break x}break s}d=8;if(c+ -1>>>0>=(k>>>0)/5>>>0){break s}}c=(c>>>0<65534?c:65534)+1|0;q[b+288>>2]=c;c=Oa(h,16,0,c,0,f+28|0);q[b+292>>2]=c;d=q[f+28>>2];if(d){break s}y:{z:{A:{B:{if(t[b+288>>2]<2){break B}d=c+16|0;c=1;if(e>>>0<=255){e=g?25792:25824;while(1){g=lb(a,e,d);q[f+28>>2]=g;q[d+12>>2]=0;if(g){break z}if(!(p[d+6>>1]>=(0-p[d+8>>1]|0)?p[d+2>>1]>=p[d>>1]:0)){q[d>>2]=0;q[d+4>>2]=0;p[d+8>>1]=0}d=d+16|0;c=c+1|0;if(c>>>0>2]){continue}break}break B}while(1){e=lb(a,25856,f+8|0);if(e){break A}g=r[f+8|0];p[d>>1]=g+ -128;k=r[f+9|0];p[d+2>>1]=k+ -128;p[d+4>>1]=r[f+10|0]+ -128;j=r[f+11|0]+ -128|0;p[d+6>>1]=j;e=r[f+12|0];p[d+10>>1]=0;p[d+8>>1]=e+ -128;q[f+28>>2]=0;q[d+12>>2]=0;if(!((j|0)>=(128-e|0)?k>>>0>=g>>>0:0)){q[d>>2]=0;q[d+4>>2]=0;p[d+8>>1]=0}d=d+16|0;c=c+1|0;if(c>>>0>2]){continue}break}}q[f+4>>2]=0;break y}q[f+28>>2]=e;q[d+12>>2]=0}c=q[b+292>>2];if(c){n[q[h+8>>2]](h,c)}q[b+292>>2]=0;c=q[f+28>>2];q[f+4>>2]=c;if(c){break b}}g=3;C:{D:{E:{F:{e=q[b+188>>2];G:{if(!e){break G}c=q[b+192>>2];d=0;while(1){if(q[c+(d<<4)>>2]==8){g=83;e=q[(c+(d<<4)|0)+12>>2];h=q[a+8>>2];if(e>>>0>>0){break G}if(Ib(a,e-h|0)){break G}e=q[(c+(d<<4)|0)+8>>2];d=mb(a,8);q[f+8>>2]=d;if(d){break D}h=Oo(a);g=h&4;if(!g){break F}c=fc(a);break E}d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[f+8>>2]=g;q[f+4>>2]=g;break b}c=Oo(a)}jb(a);d=3;if(h>>>0>255){break D}c=c>>>0<65534?c:65534;if((c|0)!=(q[b+288>>2]+ -1|0)){break D}H:{if(!c){break H}k=(q[a+8>>2]+(c<<2)|0)+16|0;d=1;if(!g){while(1){j=Ec(a,f+8|0);q[(q[b+292>>2]+(d<<4)|0)+12>>2]=k+(j>>>0>e>>>0?0:j);j=(c|0)==(d|0);d=d+1|0;if(!j){continue}break H}}while(1){j=Hb(a,f+8|0);q[(q[b+292>>2]+(d<<4)|0)+12>>2]=k+(j>>>0>e>>>0?0:j);j=(c|0)!=(d|0);d=d+1|0;if(j){continue}break}}d=q[f+8>>2];if(d){break D}I:{if(g){Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);break I}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0)}d=q[f+8>>2];if(!d){break C}}q[f+4>>2]=d;break b}q[b+312>>2]=h;d=0;q[f+4>>2]=0;g=3;J:{K:{h=q[b+188>>2];L:{if(!h){break L}k=b+296|0;c=q[b+192>>2];e=q[b+100>>2];while(1){if(q[c+(d<<4)>>2]==32){g=83;c=q[(c+(d<<4)|0)+12>>2];d=q[a+8>>2];if(c>>>0>>0){break L}if(Ib(a,c-d|0)){break L}q[f+8>>2]=0;h=Ec(a,f+8|0);d=q[f+8>>2];if(d){break J}d=3;if(h>>>0<=255){break K}break J}d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[f+8>>2]=g;q[f+4>>2]=g;break b}c=f;l=h&4;M:{if(l){d=lb(a,25888,k);break M}d=lb(a,25920,k)}q[c+8>>2]=d;if(d){break J}d=8;c=s[b+298>>1];g=s[b+296>>1];if(c>>>0>>0|c>>>0>255){break J}h=s[b+302>>1];j=s[b+300>>1];if(h>>>0>>0|h>>>0>255){break J}c=w((h-j|0)+1|0,(c-g|0)+1|0);x=b,y=Oa(e,2,0,c,0,f+8|0),q[x+308>>2]=y;d=q[f+8>>2];if(d){break J}c=mb(a,c<<1);q[f+8>>2]=c;N:{if(!c){c=s[b+304>>1];e=c>>>8|0;d=s[b+300>>1];O:{P:{if(e>>>0>>0|e>>>0>s[b+302>>1]){break P}c=c&255;g=s[k>>1];if(c>>>0>>0){break P}j=s[b+298>>1];if(c>>>0<=j>>>0){break O}}g=s[b+296>>1];p[b+304>>1]=g+(d<<8);j=s[b+298>>1];e=d;c=g}h=1;v=c&65535;c=g&65535;c=q[a+32>>2]+((v-c|0)+w(((j&65535)-c|0)+1|0,e-d|0)<<1)|0;c=r[c+!l|0]<<8|r[c+((l|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=t[b+288>>2]>c>>>0?c:1}c=q[b+292>>2];e=(h<<4)+c|0;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;g=s[b+300>>1];h=s[b+302>>1];Q:{if(g>>>0>h>>>0){break Q}d=q[b+308>>2];e=s[b+298>>1];if(!l){while(1){c=s[k>>1];if(c>>>0<=(e&65535)>>>0){while(1){e=rf(a);p[d>>1]=(e|0)==65535?-1:e+1|0;d=d+2|0;c=c+1|0;e=s[b+298>>1];if((c&65535)>>>0<=e>>>0){continue}break}h=s[b+302>>1]}g=g+1|0;if((g&65535)>>>0<=(h&65535)>>>0){continue}break Q}}while(1){c=s[k>>1];if(c>>>0<=(e&65535)>>>0){while(1){e=ob(a);p[d>>1]=(e|0)==65535?-1:e+1|0;d=d+2|0;c=c+1|0;e=s[b+298>>1];if((c&65535)>>>0<=e>>>0){continue}break}h=s[b+302>>1]}g=g+1|0;if((g&65535)>>>0<=(h&65535)>>>0){continue}break}}jb(a);break N}c=q[b+308>>2];if(c){n[q[e+8>>2]](e,c)}q[b+308>>2]=0}c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}if(i){a=On(a,b,256);q[f+4>>2]=a;if(a){break b}}a=q[b+8>>2];q[b+8>>2]=a|18;if(r[b+199|0]){q[b+8>>2]=a|22}e=0;q[f+8>>2]=0;q[b+12>>2]=0;i=1;v=q[b+100>>2];j=q[b+280>>2];R:{S:{if((j|0)<1){l=0;c=0;h=0;k=0;m=0;break S}i=q[b+284>>2];while(1){T:{a=e;c=Ta(q[i+w(a,12)>>2],25948);e=a+1|0;if((e|0)>=(j|0)){break T}if(c){continue}}break}g=2;e=0;U:{if(c){h=0;break U}a=i+w(a,12)|0;if(!r[a+4|0]){h=0;break U}c=r[q[a+8>>2]]+ -73|0;if(c>>>0>38){h=0;break U}h=0;V:{switch(c-1|0){case 0: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:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:break U;default:break V}}q[b+12>>2]=1;h=(r[q[a+8>>2]]|32)==111?25954:25962;g=3}while(1){W:{a=e;d=Ta(q[i+w(a,12)>>2],25969);e=a+1|0;if((e|0)>=(j|0)){break W}if(d){continue}}break}e=0;c=0;X:{if(d){break X}a=i+w(a,12)|0;c=0;if(!r[a+4|0]){break X}c=0;if((r[q[a+8>>2]]|32)!=98){break X}q[b+12>>2]=g;c=25981}while(1){Y:{d=e;g=Ta(q[i+w(d,12)>>2],25986);e=d+1|0;if((e|0)>=(j|0)){break Y}if(g){continue}}break}e=0;a=0;Z:{if(g){break Z}d=i+w(d,12)|0;a=0;if(!r[d+4|0]){break Z}d=q[d+8>>2];g=r[d|0];a=0;if(!g){break Z}a=0;if((g|0)==78){break Z}a=0;if((g|0)==110){break Z}a=d}k=a;while(1){_:{a=e;m=Ta(q[i+w(a,12)>>2],26e3);e=a+1|0;if((e|0)>=(j|0)){break _}if(m){continue}}break}l=0;j=0;g=0;d=0;$:{if(m){break $}aa:{a=i+w(a,12)|0;if(!r[a+4|0]){break aa}a=q[a+8>>2];e=r[a|0];if(!e|(e|0)==78){break aa}d=0;if((e|0)==110){break $}j=a;g=Wa(a);d=g+1|0;break $}d=0}if(c){l=Wa(c);d=(l+d|0)+1|0;i=0}else{i=1}e=0;ba:{if(!h){m=0;break ba}m=Wa(h);d=(m+d|0)+1|0}if(k){e=Wa(k);d=(e+d|0)+1|0}if(d){break R}}d=8;j=26015;g=7}d=gb(v,d,f+8|0);q[b+24>>2]=d;a=q[f+8>>2];if(a){q[f+4>>2]=a;break b}if(j){d=Qa(d,j,g);if(g){a=0;while(1){j=a+d|0;if(r[j|0]==32){o[j|0]=45}a=a+1|0;if((g|0)!=(a|0)){continue}break}}d=d+g|0}if(!i){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}d=Qa(d,c,l)+l|0}if(h){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}d=Qa(d,h,m)+m|0}if(k){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}c=Qa(d,k,e);if(e){a=0;while(1){d=a+c|0;if(r[d|0]==32){o[d|0]=45}a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=c+e|0}a=0;o[d|0]=0;c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}ca:{da:{i=q[b+280>>2];if((i|0)<1){break da}e=q[b+284>>2];while(1){ea:{c=a;d=Ta(q[e+w(c,12)>>2],25444);a=c+1|0;if((a|0)>=(i|0)){break ea}if(d){continue}}break}if(d){break da}a=e+w(c,12)|0;if(!r[a+4|0]){break da}x=b,y=$c(u,q[a+8>>2],f+4|0),q[x+20>>2]=y;if(!q[f+4>>2]){break ca}break b}q[b+20>>2]=0}q[b+28>>2]=1;q[b+16>>2]=q[b+288>>2];i=Oa(u,16,0,1,0,f+4|0);q[b+32>>2]=i;if(q[f+4>>2]){break b}q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;g=32767;a=q[b+208>>2]+q[b+204>>2]|0;c=a>>31;if((c^a+c)<=32767){c=a<<16;a=c>>31;g=a^a+(c>>16)}p[i>>1]=g;fa:{ga:{a=q[b+280>>2];if((a|0)<1){break ga}d=q[b+284>>2];e=0;while(1){ha:{c=e;h=Ta(q[w(c,12)+d>>2],25456);e=c+1|0;if((e|0)>=(a|0)){break ha}if(h){continue}}break}if(h){break ga}c=q[(w(c,12)+d|0)+8>>2];e=c>>31;if((e^c+e)>=327666){p[i+2>>1]=32767;break fa}e=(c+5|0)/10|0;c=e<<16>>31;p[i+2>>1]=c^c+e;break fa}x=i,y=bb(g<<16>>16,2,3),p[x+2>>1]=y;a=q[b+280>>2];d=q[b+284>>2]}e=0;c=0;ia:{if((a|0)<1){break ia}while(1){ja:{c=e;h=Ta(q[w(c,12)+d>>2],25470);e=c+1|0;if((e|0)>=(a|0)){break ja}if(h){continue}}break}ka:{if(h){break ka}e=q[(w(c,12)+d|0)+8>>2];c=e>>31;c=c^c+e;if((c|0)>=328899){q[i+4>>2]=32767;break ka}x=i,y=bb(c,460800,72270),q[x+4>>2]=y;d=q[b+284>>2];a=q[b+280>>2]}e=0;c=0;if((a|0)<1){break ia}while(1){la:{c=e;h=Ta(q[w(c,12)+d>>2],25481);e=c+1|0;if((e|0)>=(a|0)){break la}if(h){continue}}break}if(!h){c=q[(w(c,12)+d|0)+8>>2];h=c>>31;e=i;if((h^c+h)<=32767){h=c<<16;c=h>>31;c=(c^c+(h>>16))<<6}else{c=2097088}q[e+12>>2]=c}e=0;while(1){ma:{h=e;g=Ta(q[w(e,12)+d>>2],25492);e=e+1|0;if((e|0)>=(a|0)){break ma}if(g){continue}}break}c=0;e=0;na:{if(g){break na}h=q[(w(h,12)+d|0)+8>>2];g=h>>31;e=32767;if((g^g+h)>32767){break na}e=h<<16>>31;e=(e+h^e)<<16>>16}while(1){oa:{h=c;g=Ta(q[w(c,12)+d>>2],25505);c=c+1|0;if((c|0)>=(a|0)){break oa}if(g){continue}}break}c=0;if(g){break ia}a=q[(w(h,12)+d|0)+8>>2];d=a>>31;c=32767;if((d^a+d)>32767){break ia}c=a<<16;a=c>>31;c=a^a+(c>>16)}a=q[i+12>>2];pa:{if(!a){a=q[i+4>>2];q[i+12>>2]=a;if(!(c&65535)){break pa}a=bb(a,c<<16>>16,72);q[i+12>>2]=a}if(!e|!(c&65535)){break pa}a=bb(a,e,c<<16>>16)}q[i+8>>2]=a;qa:{h=q[b+280>>2];if((h|0)<1){break qa}d=q[b+284>>2];c=0;a=0;while(1){ra:{e=c;a=Ta(q[d+w(c,12)>>2],25518)?a:1;c=c+1|0;if((c|0)>=(h|0)){break ra}if(!(a&255)){continue}}break}c=0;i=a&255?d+w(e,12)|0:0;a=0;while(1){sa:{e=c;a=Ta(q[d+w(c,12)>>2],25535)?a:1;c=c+1|0;if((c|0)>=(h|0)){break sa}if(!(a&255)){continue}}break}if(!i){break qa}a=a&255?d+w(e,12)|0:0;if(!a|!r[i+4|0]|!r[a+4|0]){break qa}x=b,y=$c(u,q[a+8>>2],f+4|0),q[x+176>>2]=y;if(q[f+4>>2]){break b}x=b,y=$c(u,q[i+8>>2],f+4|0),q[x+180>>2]=y;if(q[f+4>>2]){break b}d=0;break a}if(q[f+4>>2]){break b}d=0;break a}q[f+4>>2]=d;break b}q[f+4>>2]=d}q[f+4>>2]=3;d=3}Da=f+32|0;return d}function SN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;s=Da-9040|0;Da=s;g=1;a:{if(!c){break a}t=TN(a,b,c);b:{if(!t){break b}b=q[d>>2];z=b&1;c:{if(b&16){break c}f=t;while(1){f=q[f+4>>2];b=q[f+16>>2];if((b|0)==128){break c}if((b|0)==32864){i=i-((i|0)>0)|0;continue}if(b&32768){i=i+1|0;continue}if(i){continue}i=0;if(!(b&256)){continue}break}z=b&1;q[d>>2]=z|272}Na(s+8528|0,0,508);d:{w=Hr();if(!w){break d}d=128;b=1;h=q[t+4>>2];k=q[h+16>>2];e:{if((k|0)==128){break e}l=h+16|0;g=z;n=64;d=0;f=0;b=0;while(1){f:{o[h+21|0]=v;g:{if(k&1052672){h:{if(k&16){i=q[h+12>>2];if(!i){break h}u=k&1;j=k&16384?u|272:64;l=u|2;k=!m;while(1){p=(g+l&254)-u|0;i:{if(!(p<<24<2113929216?!(f|m):0)){f=f+k|0;break i}y=(s+512|0)+(d<<4)|0;q[y+12>>2]=v;o[y+4|0]=g;q[y+8>>2]=0;q[y>>2]=n;b=(g&255)==124?f:b;d=d+1|0;n=j;g=p}i=i+ -1|0;if(i){continue}break}break h}if((k|0)!=4128){break h}k=q[h+12>>2];if(!k){break h}while(1){j:{if(!d){d=0;break j}j=d+ -1|0;i=(s+512|0)+(j<<4)|0;if(q[i+8>>2]){break h}if((f|0)>(b|0)){f=f+ -1|0;break j}b=(b|0)==(f|0)?0:b;v=q[i+12>>2];n=q[i>>2];g=r[i+4|0];d=j}k=k+ -1|0;if(k){continue}break}}o[h+20|0]=255;j=q[h+4>>2];q[s+4>>2]=j;i=q[h>>2];if(i){q[i+4>>2]=j;q[q[h+4>>2]>>2]=i}q[h>>2]=q[w>>2];q[q[w>>2]+4>>2]=h;q[h+4>>2]=w;q[w>>2]=h;h=s;break g}if((k|0)==32864){j=q[h+12>>2];if(!j){break g}while(1){k:{if((m|0)>=1){o[h+20|0]=g;m=m+ -1|0;break k}l:{m:{if((x|0)>=1){if(!d){break m}while(1){i=d+ -1|0;k=(s+512|0)+(i<<4)|0;if(!q[k+8>>2]){if((f|0)>(b|0)){f=f+ -1|0;if(!d){break m}continue}b=(b|0)==(f|0)?0:b;v=q[k+12>>2];n=q[k>>2];g=r[k+4|0];d=i;if(d){continue}break m}break}f=-1;if((b|0)<0){break l}v=q[k+12>>2];n=q[k>>2];g=r[k+4|0];d=i;f=0;break l}q[l>>2]=64;o[h+20|0]=g;break k}d=0;f=0}o[h+20|0]=g;v=v+ -1|0;o[h+21|0]=v;x=x+ -1|0}j=j+ -1|0;if(j){continue}break}break g}n:{o:{if(k&32768){j=k+ -32832|0;if(j>>>0<=1){break o}if((k|0)!=33587264){break n}p=0;j=h;k=h;p:{q:{r:{if((x|0)<=-1){while(1){j=q[j+4>>2];i=q[j+16>>2];if((i|0)==128|(i|0)==32864){break q}if(i&32768){p=p+1|0;continue}if(p){continue}p=0;if(!(i&256)){continue}break r}}while(1){k=q[k+4>>2];i=q[k+16>>2];if((i|0)==128){break q}if((i|0)==32864){p=p+ -1|0;continue}if(i&32768){p=p+1|0;continue}if(p){continue}p=0;if(!(i&256)){continue}break}}j=g<<24>>24;p=j;if(!(i&1)){break p}p=(j+((j|0)%2|0)|0)+1|0;break n}p=g<<24>>24}p=(p-((p|0)%2|0)|0)+2|0;break n}if((k|0)==2107456){break f}o[h+20|0]=g;if(n&64){break g}q[l>>2]=n;break g}if(!(j-1)){j=g<<24>>24;p=(((j|0)%2|0)+j|0)+1|0;break n}j=g<<24>>24;p=(j-((j|0)%2|0)|0)+2|0}o[h+21|0]=v;o[h+20|0]=g;if(!(n&64)){q[l>>2]=n}v=((v|0)<124)+v|0;if(p<<24>>24<=125){x=x+1|0;if(!(f|m)){j=(s+512|0)+(d<<4)|0;q[j+12>>2]=v;o[j+4|0]=g;q[j+8>>2]=1;q[j>>2]=n;b=(g&255)==124?f:b;d=d+1|0;n=64;g=p;break g}f=!m+f|0;g=p;break g}m=m+1|0}h=q[h+4>>2];l=h+16|0;k=q[h+16>>2];if((k|0)!=128){continue}}break}b=1;h=q[t+4>>2];d=q[h+16>>2];if((d|0)==128){d=128;break e}j=s+8528|4;b=h;i=0;while(1){g=o[b+21|0];if((i|0)>(g|0)){Na(j+(g<<2)|0,0,i-g<<2)}f=(s+8528|0)+(g<<2)|0;i=q[f>>2];if(i){q[i+32>>2]=b;q[b+28>>2]=i}q[f>>2]=b;i=g;b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}b=0}x=z?273:272;s:{t:{u:{v:{if(!h){h=0;break v}if(b){break u}while(1){b=q[h>>2];w:{if(q[b+16>>2]!=(d|0)){b=h;break w}if(r[b+20|0]!=r[h+20|0]){b=h;break w}if(q[h+24>>2]){b=h;break w}if(q[b+24>>2]){b=h;break w}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];d=q[h+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(h)}h=q[b+4>>2];d=q[h+16>>2];if((d|0)!=128){continue}break}h=q[t+4>>2];d=q[h+16>>2]}q[s+512>>2]=x;if((d|0)==128){break t}j=h+16|0;p=0;while(1){b=642152;g=q[h+28>>2];x:{if(!g){break x}if(q[g+16>>2]==128){b=g;break x}f=o[h+21|0];b=g;while(1){if(o[b+21|0]<=(f|0)){break x}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}m=q[h+32>>2];y:{if(!m){f=642152;break y}f=m;i=q[f+16>>2];if((i|0)==128){break y}n=o[h+21|0];while(1){if(o[f+21|0]<=(n|0)?(i|0)!=32864:0){break y}g=q[f+32>>2];f=g?g:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}l=o[h+21|0];i=r[h+20|0];u=i<<24>>24;g=r[b+20|0];k=g<<24>>24;if((g|0)==(i|0)){i=q[b+16>>2]}else{i=((k|0)>(u|0)?k:u)&1?273:272}g=r[f+20|0];n=q[f+16>>2];z:{if((g|0)==(u&255)){break z}g=g<<24>>24;n=((g|0)>(u|0)?g:u)&1?273:272}g=n;if(i&16){q[(s+512|0)+(l<<2)>>2]=i}n=(p|0)<(l|0);A:{B:{if((d|0)!=544){if((d|0)!=524320){break B}d=q[h>>2];if(r[d+17|0]&128){q[j>>2]=64}C:{D:{if((k|0)==(u|0)){if((b|0)!=(d|0)){break D}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];if(m){q[m+28>>2]=b}q[b+32>>2]=m;La(h);break C}q[j>>2]=i}b=h}if((g|0)!=(i|0)){break A}d=q[b+4>>2];if((d|0)!=(f|0)|r[b+20|0]!=r[d+20|0]){break A}b=q[f>>2];d=q[f+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[f+12>>2];d=q[f+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(f);break A}if(q[(s+512|0)+(l<<2)>>2]!=275){break B}q[j>>2]=546;if((g|0)!=524320){break B}q[f+16>>2]=546}b=h}p=n?l:p;h=q[b+4>>2];j=h+16|0;d=q[h+16>>2];if((d|0)!=128){continue}break}h=q[t+4>>2];k=q[h+16>>2];q[s+512>>2]=x;d=h+16|0;if((k|0)==128){break s}m=64;j=1;n=d;g=h;while(1){u=o[g+21|0];b=642152;f=q[g+28>>2];E:{if(!f){break E}b=f;if(q[b+16>>2]==128){break E}while(1){if(o[b+21|0]<=(u|0)){break E}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}f=q[g+32>>2];F:{if(!f){f=642152;break F}i=q[f+16>>2];if((i|0)==128){break F}while(1){if(o[f+21|0]<=(u|0)?(i|0)!=32864:0){break F}f=q[f+32>>2];f=f?f:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}i=r[g+20|0];y=i<<24>>24;l=i;i=r[b+20|0];b=q[b+16>>2];G:{if((l|0)==(i|0)){break G}b=i<<24>>24;b=((b|0)>(y|0)?b:y)&1?273:272}l=r[f+20|0];i=y&255;f=q[f+16>>2];H:{if((l|0)==(i|0)){break H}f=l<<24>>24;f=((f|0)>(y|0)?f:y)&1?273:272}if(b&16){q[(s+512|0)+(u<<2)>>2]=b}I:{if((k|0)==275){q[n>>2]=273;g=q[g+4>>2];j=1;m=64;break I}J:{if(!j|(f|0)!=(m|0)|(!(m&512)|!(k&327680))){break J}if(q[g+12>>2]!=1|((k|0)!=263200?(m|0)!=544:0)){break J}q[n>>2]=b;k=b}K:{L:{M:{N:{if((k|0)==132128){if((f|0)!=544?(m|0)!=544:0){break N}q[n>>2]=544;j=0;break L}if(!(k&1024)){break M}}q[n>>2]=64}j=1;if((k|0)!=544){break K}}if(q[(s+512|0)+(u<<2)>>2]!=272){break K}q[n>>2]=272;g=q[g+4>>2];m=(i|0)==r[g+20|0]?544:64;break I}g=q[g+4>>2];i=q[g>>2];f=r[i+20|0];b=r[g+20|0];if((f|0)==(b|0)){m=q[i+16>>2];break I}f=f<<24>>24;b=b<<24>>24;m=((f|0)>(b|0)?f:b)&1?273:272}n=g+16|0;k=q[g+16>>2];if((k|0)!=128){continue}break}break s}q[s+512>>2]=x}q[s+512>>2]=x;d=h+16|0;p=0}O:{if(!h){break O}f=q[d>>2];if((f|0)==128){break O}while(1){b=q[h>>2];P:{if(r[b+20|0]!=r[h+20|0]){b=h;break P}d=q[b+16>>2];if(!((d|0)==(f|0)|d&f&64)){b=h;break P}if(q[h+24>>2]){b=h;break P}if(q[b+24>>2]){b=h;break P}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];d=q[h+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(h)}h=q[b+4>>2];f=q[h+16>>2];if((f|0)!=128){continue}break}}q[s+8524>>2]=0;k=o[t+20|0];b=(p<<2)+4|0;Na(s+8528|0,0,b);l=Na(s,0,b);q[l+8588>>2]=l+1472;q[l+8584>>2]=l+1408;q[l+8580>>2]=l+1344;q[l+8576>>2]=l+1280;q[l+8572>>2]=l+1216;q[l+8568>>2]=l+1152;q[l+8564>>2]=l+1088;q[l+8560>>2]=l+1024;q[l+8556>>2]=l+960;q[l+8552>>2]=l+896;q[l+8548>>2]=l+832;q[l+8544>>2]=l+768;q[l+8540>>2]=l+704;q[l+8536>>2]=l+640;q[l+8532>>2]=l+576;q[l+8528>>2]=l+512;if((p|0)>15){b=16;while(1){A=(l+8528|0)+(b<<2)|0,B=Sa(252),q[A>>2]=B;d=(b|0)==(p|0);b=b+1|0;if(!d){continue}break}}i=q[t+4>>2];d=q[i+16>>2];if((d|0)!=128){m=q[l+8524>>2];j=0;h=0;while(1){g=h;n=q[i+24>>2];b=k;k=o[i+20|0];h=o[i+21|0];if(!((b|0)==(k|0)|(g|0)!=(h|0))){q[l+(g<<2)>>2]=0}Q:{R:{if(!n|(d|0)!=64){break R}d=h<<2;f=d+l|0;b=q[f>>2];if((n|0)>=0){g=d+(l+8528|0)|0;while(1){if((b|0)<1){break R}b=b+ -1|0;d=q[q[g>>2]+(b<<2)>>2];if((n^q[d+24>>2])&2147483647){continue}break}q[f>>2]=b;m=Sa(12);q[m+8>>2]=j;q[m+4>>2]=i;q[m>>2]=d;j=m;break R}if((b|0)==63){break Q}d=q[d+(l+8528|0)>>2];q[f>>2]=b+1;q[d+(b<<2)>>2]=i}i=q[i+4>>2];d=q[i+16>>2];if((d|0)!=128){continue}}break}q[l+8524>>2]=m}ol(l+8524|0);j=q[l+8524>>2];if(j){m=j;while(1){d=q[m>>2];n=o[d+20|0];b=d;h=b;S:{T:{i=q[m+4>>2];if((i|0)!=(b|0)){while(1){f=273;g=q[b+16>>2];h=g+ -544|0;U:{V:{if(h>>>0>2){if((g|0)==273){break U}break V}if(h-1){break U}}f=g}if(f&16){g=o[b+20|0];if((((g^f)&1)+g|0)==(n|0)){break T}}b=q[b+4>>2];if((i|0)!=(b|0)){continue}break}h=i}k=r[d+21|0];b=d;W:{while(1){g=273;b=q[b>>2];f=q[b+16>>2];i=f+ -544|0;X:{Y:{if(i>>>0>2){if((f|0)==273){break X}if((f|0)==128){break W}break Y}if(i-1){break X}}g=f;if(!(f&16)){continue}}if((k|0)!=r[b+21|0]){continue}break}b=o[b+20|0];n=((b^g)&1)+b|0}b=d;if((h|0)==(b|0)){break S}while(1){Z:{f=q[b+16>>2];g=f+ -544|0;_:{$:{if(g>>>0>2){if((f|0)==273){break _}break $}if(g-1){break _}}if(!(f&16)){break Z}}if((k|0)!=r[b+21|0]){break Z}b=n&1|272;q[h+16>>2]=b;q[d+16>>2]=b;break S}b=q[b+4>>2];if((h|0)!=(b|0)){continue}break}break S}b=n&1|272;q[i+16>>2]=b;q[d+16>>2]=b}m=q[m+8>>2];if(m){continue}break}while(1){b=q[j+8>>2];La(j);j=b;if(b){continue}break}}b=16;if((p|0)>=16){while(1){La(q[(l+8528|0)+(b<<2)>>2]);d=(b|0)!=(p|0);b=b+1|0;if(d){continue}break}}f=q[t+4>>2];i=q[f+16>>2];aa:{if((i|0)==128){break aa}b=f;while(1){q[b+24>>2]=0;b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}if(!f){break aa}while(1){b=q[f>>2];ba:{if(r[b+20|0]!=r[f+20|0]){b=f;break ba}d=q[b+16>>2];if(!((d|0)==(i|0)|d&i&64)){b=f;break ba}if(q[f+24>>2]){b=f;break ba}if(q[b+24>>2]){b=f;break ba}d=q[f+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[f+12>>2];d=q[f+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(f)}f=q[b+4>>2];i=q[f+16>>2];if((i|0)!=128){continue}break}}g=q[t+4>>2];j=g+16|0;k=q[g+16>>2];if((k|0)!=128){n=j;d=g;while(1){b=642152;h=q[d+28>>2];ca:{if(!h){break ca}if(q[h+16>>2]==128){b=h;break ca}f=o[d+21|0];b=h;while(1){if(o[b+21|0]<=(f|0)){break ca}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}f=q[d+32>>2];da:{if(!f){f=642152;break da}i=q[f+16>>2];if((i|0)==128){break da}m=o[d+21|0];while(1){if(o[f+21|0]<=(m|0)?(i|0)!=32864:0){break da}h=q[f+32>>2];f=h?h:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}h=r[d+20|0];i=h<<24>>24;m=h;h=r[b+20|0];ea:{if((m|0)==(h|0)){b=q[b+16>>2];h=b&512?273:b;break ea}b=h<<24>>24;h=((b|0)>(i|0)?b:i)&1?273:272}b=r[f+20|0];fa:{if((b|0)==(i&255)){b=q[f+16>>2];b=b&512?273:b;break fa}b=b<<24>>24;b=((b|0)>(i|0)?b:i)&1?273:272}if((k&576)==64){q[n>>2]=(b|0)==(h|0)?h:i&1?273:272}d=q[d+4>>2];n=d+16|0;k=q[d+16>>2];if((k|0)!=128){continue}break}}ga:{ha:{if(g){i=z;f=q[j>>2];if((f|0)!=128){while(1){b=q[g>>2];ia:{if(q[b+16>>2]!=(f|0)){b=g;break ia}if(r[b+20|0]!=r[g+20|0]){b=g;break ia}if(q[g+24>>2]){b=g;break ia}if(q[b+24>>2]){b=g;break ia}d=q[g+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[g+12>>2];d=q[g+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(g)}g=q[b+4>>2];f=q[g+16>>2];if((f|0)!=128){continue}break}g=q[t+4>>2]}h=q[g+16>>2];if((h|0)!=128){break ha}break ga}g=0;i=z;h=q[4];if((h|0)==128){break ga}}f=h;b=g;i=z;while(1){j=r[b+20|0];d=f&512?j+2&-2:j+((f^j)&1)|0;o[b+20|0]=d;i=d<<24>>24>i<<24>>24?d:i;b=q[b+4>>2];f=q[b+16>>2];if((f|0)!=128){continue}break}if(!g){break ga}while(1){b=q[g>>2];ja:{if(q[b+16>>2]!=(h|0)){b=g;break ja}if(r[b+20|0]!=r[g+20|0]){b=g;break ja}if(q[g+24>>2]){b=g;break ja}if(q[b+24>>2]){b=g;break ja}d=q[g+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[g+12>>2];d=q[g+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(g)}g=q[b+4>>2];h=q[g+16>>2];if((h|0)!=128){continue}break}}ka:{if(q[w+4>>2]==(w|0)){break ka}if(!Gr(t,w,1)){break d}b=q[t+4>>2];if(!((t|0)==(b|0)|r[b+20|0]!=255)){o[b+20|0]=z}w=0;if(q[b+16>>2]==128){break ka}while(1){if(r[b+20|0]==255){o[b+20|0]=r[q[b>>2]+20|0]}b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}}j=Hr();la:{if(!j){k=0;break la}k=0;if((c|0)>=0){d=1;g=j;h=c+ -1|0;f=h;while(1){c=f;b=64;ma:{if((f|0)<0){break ma}b=q[(c<<2)+a>>2]}na:{if(!d){b=!(b&8192)|(d|0)!=0;h=b?h:c;d=b?d:1;break na}if(b&9482240){break na}b=UN();if(!b){zi(j);break la}o[b+20|0]=z;q[b+16>>2]=x;q[b+12>>2]=h-c;q[b+8>>2]=c+1;d=q[b>>2];if(d){q[d+4>>2]=q[b+4>>2];q[q[b+4>>2]>>2]=d}q[b>>2]=q[g>>2];q[q[g>>2]+4>>2]=b;q[b+4>>2]=g;q[g>>2]=b;d=0;g=b}f=c+ -1|0;if((c|0)>-1){continue}break}}if(!Gr(t,j,0)){break la}k=1;b=q[t+4>>2];if(q[b+16>>2]==128){break la}d=0;while(1){a=q[b+12>>2];if(a){Na(d+e|0,r[b+20|0],a);d=a+d|0}b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}}zi(t);if(w){zi(w)}if(!k){break b}g=i+1|0;break a}zi(t)}g=0}Da=s+9040|0;return g<<24>>24}function Bj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=Da-176|0;Da=e;q[e+172>>2]=0;y=q[a+12>>2];w=q[a>>2];if(s[w+290>>1]>>0){p[w+290>>1]=c}q[a+20>>2]=b;j=65536;m=65536;if(!(o[a+16|0]&1)){f=q[q[a+4>>2]+44>>2];j=q[f+8>>2];m=q[f+4>>2]}f=q[q[w+128>>2]+52>>2];a:{b:{if(f){f=n[q[q[f>>2]>>2]](q[f+4>>2],b,e+120|0)|0;q[e+172>>2]=f;if(f){break a}i=q[e+124>>2];q[a+28>>2]=i;q[e+160>>2]=0;q[e+164>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;q[e+144>>2]=0;q[e+148>>2]=0;q[e+136>>2]=0;q[e+140>>2]=0;q[e+128>>2]=0;q[e+132>>2]=0;f=q[e+120>>2];q[e+160>>2]=0;q[e+136>>2]=0;q[e+132>>2]=i;q[e+128>>2]=f;q[e+148>>2]=0;q[e+152>>2]=0;q[a+24>>2]=e+128;F=1;i=0;break b}i=Cj(w,b,a+28|0)}f=q[a+28>>2];c:{if((f|0)>=1){h=q[w+728>>2];if(!(h|q[q[w+128>>2]+52>>2])){q[e+172>>2]=8;break c}f=n[q[w+520>>2]](a,b,h+i|0,f)|0;q[e+172>>2]=f;if(f){break c}K=e,L=n[q[w+528>>2]](a)|0,q[K+172>>2]=L;n[q[w+524>>2]](a);if(q[e+172>>2]){break c}f=q[a+28>>2]}if(!(s[a+32>>1]?f:0)){q[a+36>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0}u=q[a>>2];x=q[a+24>>2];p[e+80>>1]=0;p[e>>1]=0;p[e+40>>1]=0;p[e+64>>1]=0;h=q[x+8>>2];n[q[q[u+540>>2]+140>>2]](u,0,b,e+80|0,e+40|0);d:{if(r[u+292|0]){n[q[q[u+540>>2]+140>>2]](u,1,b,e,e- -64|0);break d}v=q[a+48>>2];if(s[u+372>>1]!=65535){f=p[u+442>>1];p[e>>1]=f-v;f=f-p[u+444>>1]|0;v=f>>31;p[e+64>>1]=v^f+v;break d}f=p[u+220>>1];p[e>>1]=f-v;f=f-p[u+222>>1]|0;v=f>>31;p[e+64>>1]=v^f+v}h=Xa(x,h);e:{if(h){break e}q[a+52>>2]=p[e+80>>1];f=s[e+40>>1];q[a+56>>2]=f;q[a+172>>2]=p[e>>1];q[a+176>>2]=s[e+64>>1];if(r[a+64|0]){break e}q[a+60>>2]=f;o[a+64|0]=1}q[e+172>>2]=h;if(d|h){break c}f=q[a+28>>2];if(!(s[a+32>>1]?f:0)){f=0;h=q[a>>2];x=0;f:{if(q[q[h+96>>2]+64>>2]!=40){break f}c=q[a+156>>2];x=0;if(!c){break f}f=r[c+613|0]!=0;x=r[c+618|0]!=0}q[a+72>>2]=0;q[a+80>>2]=0;i=q[a+52>>2];d=q[a+36>>2]-i|0;q[a+68>>2]=d;c=q[a+172>>2]+q[a+48>>2]|0;q[a+184>>2]=c;v=q[a+56>>2];q[a+76>>2]=v+d;q[a+192>>2]=c-q[a+176>>2];c=x?f?(v|0)/2|0:0:0;q[a+180>>2]=c;q[a+188>>2]=c;d=q[q[h+128>>2]+52>>2];g:{if(!d){break g}c=q[q[d>>2]+8>>2];if(!c){break g}q[e+92>>2]=0;q[e+88>>2]=v;q[e+84>>2]=0;q[e+80>>2]=i;if(n[c](q[d+4>>2],b,0,e+80|0)){break g}c=p[e+80>>1];d=s[e+88>>1];q[a+172>>2]=0;q[a+176>>2]=0;q[a+56>>2]=d;q[a+52>>2]=c;if(r[a+64|0]){break g}q[a+60>>2]=d;o[a+64|0]=1}h:{if(r[w+9|0]&128?0:!(s[w+6>>1]&32767)){break h}q[e+76>>2]=16843009;q[e+64>>2]=65536;q[e+68>>2]=196610;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;q[e+80>>2]=q[a+68>>2];q[e+84>>2]=q[a+72>>2];q[e+88>>2]=q[a+76>>2];q[e+92>>2]=q[a+80>>2];q[e+96>>2]=q[a+180>>2];q[e+100>>2]=q[a+184>>2];q[e+104>>2]=q[a+188>>2];q[e+108>>2]=q[a+192>>2];q[e+40>>2]=262148;q[e+52>>2]=e- -64;q[e+48>>2]=e+76;q[e+44>>2]=e+80;b=sj(q[a>>2],b,e+40|0,e,4);q[e+172>>2]=b;if(b){break c}q[a+68>>2]=q[e+80>>2];q[a+72>>2]=q[e+84>>2];q[a+76>>2]=q[e+88>>2];q[a+80>>2]=q[e+92>>2];q[a+180>>2]=q[e+96>>2];q[a+184>>2]=q[e+100>>2];q[a+188>>2]=q[e+104>>2];q[a+192>>2]=q[e+108>>2];b=q[q[a>>2]+740>>2];if(!(b&2)){q[a+60>>2]=((q[e+8>>2]-q[e>>2]|0)+32&-64)/64}if(b&16){break h}q[a+176>>2]=((q[e+24>>2]-q[e+16>>2]|0)+32&-64)/64}if(!(o[a+16|0]&1)){K=a,L=Ma(q[a+68>>2],m),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],m),q[K+76>>2]=L;K=a,L=Ma(q[a+180>>2],m),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],j),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],m),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],j),q[K+192>>2]=L}q[e+172>>2]=0;break c}x=q[a>>2];g=0;i:{if(q[q[x+96>>2]+64>>2]!=40){break i}d=q[a+156>>2];g=0;if(!d){break i}l=r[d+613|0]!=0;g=r[d+618|0]!=0}q[a+72>>2]=0;q[a+80>>2]=0;v=q[a+52>>2];h=q[a+36>>2]-v|0;q[a+68>>2]=h;d=q[a+172>>2]+q[a+48>>2]|0;q[a+184>>2]=d;u=q[a+56>>2];q[a+76>>2]=u+h;q[a+192>>2]=d-q[a+176>>2];d=g?l?(u|0)/2|0:0:0;q[a+180>>2]=d;q[a+188>>2]=d;h=q[q[x+128>>2]+52>>2];j:{if(!h){break j}d=q[q[h>>2]+8>>2];if(!d){break j}q[e+92>>2]=0;q[e+88>>2]=u;q[e+84>>2]=0;q[e+80>>2]=v;k:{if(n[d](q[h+4>>2],b,0,e+80|0)){break k}d=p[e+80>>1];f=s[e+88>>1];q[a+172>>2]=0;q[a+176>>2]=0;q[a+56>>2]=f;q[a+52>>2]=d;if(r[a+64|0]){break k}q[a+60>>2]=f;o[a+64|0]=1}f=q[a+28>>2]}d=n[q[w+520>>2]](a,b,(i+q[w+728>>2]|0)+10|0,f+ -10|0)|0;q[e+172>>2]=d;if(d){break c}l:{d=p[a+32>>1];if((d|0)>=1){b=n[q[w+532>>2]](a)|0;q[e+172>>2]=b;if(b){break l}n[q[w+524>>2]](a);k=q[a+12>>2];j=0;q[e+80>>2]=0;u=q[q[a>>2]+100>>2];b=q[a+72>>2];l=p[k+58>>1];c=q[k+60>>2]+(l<<3)|0;q[c>>2]=q[a+68>>2];q[c+4>>2]=b;b=q[a+80>>2];x=l+1|0;c=q[k+60>>2]+(x<<3)|0;q[c>>2]=q[a+76>>2];q[c+4>>2]=b;b=q[a+184>>2];v=l+2|0;c=q[k+60>>2]+(v<<3)|0;q[c>>2]=q[a+180>>2];q[c+4>>2]=b;b=q[a+192>>2];h=l+3|0;c=q[k+60>>2]+(h<<3)|0;q[c>>2]=q[a+188>>2];q[c+4>>2]=b;b=k- -64|0;o[l+q[b>>2]|0]=0;o[x+q[b>>2]|0]=0;o[v+q[b>>2]|0]=0;o[h+q[b>>2]|0]=0;i=l+4|0;b=q[a>>2];m:{if(!(r[b+9|0]&128?0:!(s[b+6>>1]&32767))){j=Oa(u,8,0,i,0,e+80|0);if(q[e+80>>2]){break m}c=sj(q[a>>2],q[a+20>>2],k+56|0,j,i);q[e+80>>2]=c;b=q[q[a>>2]+740>>2];if(!(b&2)){q[a+60>>2]=((q[(x<<3)+j>>2]-q[(l<<3)+j>>2]|0)+32&-64)/64}if(!(b&16)){q[a+176>>2]=((q[(h<<3)+j>>2]-q[(v<<3)+j>>2]|0)+32&-64)/64}if(c){break m}}b=q[a+16>>2];if(!(b&2)){f=s[k+58>>1];p[a+128>>1]=f;p[a+130>>1]=s[k+56>>1];q[a+132>>2]=q[k+76>>2];d=q[k+60>>2];q[a+136>>2]=d;c=q[k+80>>2];q[a+140>>2]=c;q[a+144>>2]=q[k+64>>2];b=q[k+68>>2];p[a+152>>1]=0;q[a+148>>2]=b;Qa(c,d,(f<<3)+32|0);b=q[a+16>>2]}g=0;d=0;n:{if(b&1){break n}b=q[k+60>>2];f=b+(i<<3)|0;c=q[q[a+4>>2]+44>>2];g=q[c+8>>2];d=q[c+4>>2];c=q[a>>2];if(!(s[c+6>>1]&32767|r[c+9|0]&128)){if((l|0)<=-4){break n}while(1){K=b,L=Ma(q[b>>2],d),q[K>>2]=L;K=b,L=Ma(q[b+4>>2],g),q[K+4>>2]=L;b=b+8|0;if(b>>>0>>0){continue}break}break n}if((l|0)<-3){break n}c=j;while(1){K=b,L=Ma(q[c>>2],d)+32>>6,q[K>>2]=L;K=b,L=Ma(q[c+4>>2],g)+32>>6,q[K+4>>2]=L;c=c+8|0;b=b+8|0;if(b>>>0>>0){continue}break}}b=q[a>>2];o:{if(!(!(r[b+740|0]&2)|r[a+16|0]&2)){K=a,L=Ma(q[a+68>>2],d),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],d),q[K+76>>2]=L;b=q[a>>2];break o}f=q[k+60>>2]+(l<<3)|0;c=q[f+4>>2];q[a+68>>2]=q[f>>2];q[a+72>>2]=c;f=q[k+60>>2]+(x<<3)|0;c=q[f+4>>2];q[a+76>>2]=q[f>>2];q[a+80>>2]=c}p:{if(!(!(r[b+740|0]&16)|r[a+16|0]&2)){K=a,L=Ma(q[a+180>>2],d),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],g),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],d),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],g),q[K+192>>2]=L;break p}c=q[k+60>>2]+(v<<3)|0;b=q[c+4>>2];q[a+180>>2]=q[c>>2];q[a+184>>2]=b;c=q[k+60>>2]+(h<<3)|0;b=q[c+4>>2];q[a+188>>2]=q[c>>2];q[a+192>>2]=b}if(r[a+16|0]&2){break m}p[a+128>>1]=s[a+128>>1]+4;K=e,L=uo(a,0),q[K+80>>2]=L}if(j){n[q[u+8>>2]](u,j)}a=q[e+80>>2];q[e+172>>2]=a;if(a){break c}Lg(y);break c}if((d|0)>-1){break l}i=q[w+100>>2];p[a+32>>1]=65535;h=a+204|0;q:{r:{d=q[a+204>>2];s:{if(d){f=c;while(1){if(!f){f=d;while(1){q[f+8>>2]=-1;f=q[f+4>>2];if(f){continue}break}if(Qj(h,b)){break s}q[d+8>>2]=b;break q}f=f+ -1|0;d=q[d+4>>2];if(d){continue}break}}if(!Qj(h,b)){break r}}q[e+172>>2]=21;break l}d=gb(i,12,e+172|0);if(q[e+172>>2]){break l}q[d+8>>2]=b;zG(h,d)}x=p[y+22>>1];D=p[y+20>>1];d=n[q[w+536>>2]](a)|0;q[e+172>>2]=d;if(d){break l}G=q[a+164>>2];n[q[w+524>>2]](a);if(!(r[w+9|0]&128?0:!(s[w+6>>1]&32767))){k=q[y+84>>2];g=0;q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;d=k+4|0;p[e+80>>1]=d;p[e+82>>1]=d;z=d<<16>>16;u=Oa(i,8,0,z,0,e+172|0);l=0;f=0;d=0;t:{if(q[e+172>>2]){break t}v=Oa(i,1,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}h=Oa(i,2,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}f=Oa(i,8,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}A=k<<16;C=A>>16;if((A|0)>=1){d=q[y+88>>2];while(1){k=u+(g<<3)|0;q[k>>2]=q[d+8>>2];q[k+4>>2]=q[d+12>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;d=d+32|0;l=l+1|0;g=l<<16>>16;if((C|0)>(g|0)){continue}break}}d=u+(g<<3)|0;q[d>>2]=q[a+68>>2];q[d+4>>2]=q[a+72>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;g=l+1|0;k=g<<16>>16;d=u+(k<<3)|0;q[d>>2]=q[a+76>>2];q[d+4>>2]=q[a+80>>2];o[k+v|0]=1;p[h+(k<<1)>>1]=g;g=l+2|0;k=g<<16>>16;d=u+(k<<3)|0;q[d>>2]=q[a+180>>2];q[d+4>>2]=q[a+184>>2];o[k+v|0]=1;p[h+(k<<1)>>1]=g;l=l+3|0;g=l<<16>>16;d=u+(g<<3)|0;q[d>>2]=q[a+188>>2];q[d+4>>2]=q[a+192>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;q[e+92>>2]=h;q[e+88>>2]=v;q[e+84>>2]=u;b=sj(w,b,e+80|0,f,z);q[e+172>>2]=b;u:{if(b){break u}v:{if((A|0)<1){d=0;break v}b=q[y+88>>2];d=0;g=0;while(1){if(r[b+4|0]&2){d=u+(d<<3)|0;q[b+8>>2]=p[d>>1];q[b+12>>2]=p[d+4>>1]}b=b+32|0;g=g+1|0;d=g<<16>>16;if((C|0)>(d|0)){continue}break}}b=u+(d<<3)|0;q[a+68>>2]=q[b>>2];q[a+72>>2]=q[b+4>>2];q[a+76>>2]=q[b+8>>2];q[a+80>>2]=q[b+12>>2];q[a+180>>2]=q[b+16>>2];q[a+184>>2]=q[b+20>>2];q[a+188>>2]=q[b+24>>2];q[a+192>>2]=q[b+28>>2];d=q[w+740>>2];if(!(d&2)){b=(z<<3)+f|0;q[a+60>>2]=((q[b+ -24>>2]-q[b+ -32>>2]|0)+32&-64)/64}if(d&16){break u}b=(z<<3)+f|0;q[a+176>>2]=((q[b+ -8>>2]-q[b+ -16>>2]|0)+32&-64)/64}g=h;l=u;d=v}if(l){n[q[i+8>>2]](i,l)}if(d){n[q[i+8>>2]](i,d)}if(g){n[q[i+8>>2]](i,g)}if(f){n[q[i+8>>2]](i,f)}if(q[e+172>>2]){break c}}b=q[a+16>>2];if(!(b&1)){K=a,L=Ma(q[a+68>>2],m),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],m),q[K+76>>2]=L;K=a,L=Ma(q[a+180>>2],m),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],j),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],m),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],j),q[K+192>>2]=L;b=q[a+16>>2]}w:{x:{if(!(b&1024)){H=q[y+48>>2];E=q[y+84>>2];I=q[a+28>>2];J=q[a+24>>2];Lg(y);y:{if(!E){b=0;c=x;break y}z=c+1|0;f=0;while(1){B=p[y+22>>1];A=q[a+176>>2];C=q[a+60>>2];k=q[a+188>>2];j=q[a+192>>2];g=q[a+180>>2];l=q[a+184>>2];u=q[a+76>>2];v=q[a+80>>2];h=q[a+68>>2];i=q[a+72>>2];c=f<<5;d=H<<5;b=Bj(a,q[c+(d+q[y+52>>2]|0)>>2],z,0);q[e+172>>2]=b;if(b){break c}b=c+(d+q[y+52>>2]|0)|0;if(!(r[b+5|0]&2)){q[a+188>>2]=k;q[a+192>>2]=j;q[a+180>>2]=g;q[a+184>>2]=l;q[a+76>>2]=u;q[a+80>>2]=v;q[a+68>>2]=h;q[a+72>>2]=i;q[a+176>>2]=A;q[a+60>>2]=C}h=s[y+22>>1];if((h|0)!=(B&65535)){d=q[a+12>>2];q[e+84>>2]=q[d+24>>2]+(B<<3);p[e+82>>1]=s[d+22>>1]-B;l=s[b+4>>1];c=l&200;if(c){ce(e+80|0,b+16|0);l=s[b+4>>1]}j=q[b+12>>2];m=q[b+8>>2];z:{A:{if(!(l&2)){c=m+x|0;if(c>>>0>=B>>>0){break x}i=j+B|0;if(i>>>0>=p[d+22>>1]>>>0){break x}g=c<<3;c=q[d+24>>2];d=g+c|0;c=c+(i<<3)|0;j=q[d+4>>2]-q[c+4>>2]|0;m=q[d>>2]-q[c>>2]|0;break A}if(!(j|m)){break z}if(!(!(l&2048)|!c)){d=fg(q[b+16>>2],q[b+20>>2]);c=fg(q[b+28>>2],q[b+24>>2]);m=Ma(m,d);j=Ma(j,c)}if(o[a+16|0]&1){break A}d=q[q[a+4>>2]+44>>2];c=q[d+8>>2];m=Ma(m,q[d+4>>2]);j=Ma(j,c);if(!(r[b+4|0]&4)|r[a+16|0]&2){break A}m=q[q[q[a>>2]+96>>2]+64>>2]==35?m+32&-64:m;j=j+32&-64}if(!(j|m)){break z}oc(e+80|0,m,j)}q[e+172>>2]=0}f=f+1|0;if((E|0)!=(f|0)){continue}break}c=h<<16>>16}q[a+164>>2]=G;q[a+28>>2]=I;q[a+24>>2]=J;if(!b|q[a+16>>2]&2|(!(s[b+4>>1]&256)|c>>>0<=x>>>0)){break c}d=q[a+12>>2];f=p[d+22>>1];b=f+4|0;B:{if(!(p[d+58>>1]+(b+f|0)>>>0>t[d+4>>2]?b:0)){q[e>>2]=0;break B}c=Xb(d,b,0);q[e>>2]=c;if(c){break w}f=p[d+22>>1]}b=q[a+72>>2];c=q[d+24>>2]+(f<<3)|0;q[c>>2]=q[a+68>>2];q[c+4>>2]=b;b=q[a+80>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+8>>2]=q[a+76>>2];q[c+12>>2]=b;b=q[a+184>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+16>>2]=q[a+180>>2];q[c+20>>2]=b;b=q[a+192>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+24>>2]=q[a+188>>2];q[c+28>>2]=b;o[q[d+28>>2]+p[d+22>>1]|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+1|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+2|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+3|0]=0;b=q[a+24>>2];c=Xa(b,q[a+164>>2]);q[e>>2]=c;if(c){break w}d=ib(b,e);c=q[e>>2];if(c){break w}C:{if(d>>>0>s[q[a>>2]+286>>1]){c=22;if(q[a+28>>2]<(d|0)){break w}c=0;m=q[a+156>>2];j=q[m+392>>2];if(j>>>0>>0){K=m,L=Oa(q[m+8>>2],1,j,d,q[m+396>>2],e+80|0),q[K+396>>2]=L;m=q[a+156>>2];c=q[e+80>>2];j=c?j:d}q[e>>2]=c;q[m+392>>2]=j&65535;if(!c){break C}break w}if(!d){q[e+172>>2]=0;break c}m=q[a+156>>2]}c=Wb(b,q[m+396>>2],d);q[e>>2]=c;if(c){break w}c=q[q[a+156>>2]+396>>2];b=q[a+8>>2];q[b+140>>2]=d;q[b+136>>2]=c;c=q[a+12>>2];f=s[c+22>>1]-x|0;p[a+128>>1]=f;p[a+130>>1]=s[c+20>>1]-D;b=x<<3;q[a+132>>2]=b+q[c+40>>2];q[a+136>>2]=b+q[c+24>>2];q[a+140>>2]=b+q[c+44>>2];i=x+q[c+28>>2]|0;q[a+144>>2]=i;c=q[c+32>>2];p[a+152>>1]=x;b=1;q[a+148>>2]=c+(D<<1);d=a;if(f&65535){o[i|0]=r[i|0]&231;c=s[a+128>>1];if(c>>>0>=2){while(1){c=q[a+144>>2]+b|0;o[c|0]=r[c|0]&231;b=b+1|0;c=s[a+128>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}p[d+128>>1]=b;K=e,L=uo(a,1),q[K+172>>2]=L;break c}Lg(y);q[q[a+8>>2]+72>>2]=1668246896;break c}q[e+172>>2]=21;break c}q[e+172>>2]=c;break c}n[q[w+524>>2]](a)}if(!F){break a}a=q[q[w+128>>2]+52>>2];n[q[q[a>>2]+4>>2]](q[a+4>>2],e+120|0)}Da=e+176|0;return q[e+172>>2]}function Bt(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0;k=Da-16|0;Da=k;q[c+32>>2]=0;o[c+164|0]=0;f=q[c+76>>2];a:{if(f>>>0>134217726){break a}g=f<<5;q[c+36>>2]=g>>>0>8192?g:8192;if(f>>>0>67108862){break a}f=f<<6;q[c+40>>2]=f>>>0>1024?f:1024}o[c+164|0]=48;z=q[c+48>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}j=q[c+76>>2];if(j){g=q[a+96>>2];i=q[c+88>>2];f=0;while(1){q[(i+w(f,20)|0)+4>>2]=g;f=f+1|0;if((j|0)!=(f|0)){continue}break}while(1){f=i+w(h,20)|0;Gf(f,c);g=s[f+16>>1];b:{if(!((g&31)!=24|q[f>>2]+ -127995>>>0>4)){p[f+16>>1]=g|128;break b}if((g&287)==257){p[f+16>>1]=g|128;f=h+1|0;if(f>>>0>=j>>>0){break b}g=i+w(f,20)|0;if(!hS(q[g>>2])){break b}Gf(g,c);p[g+16>>1]=s[g+16>>1]|128;h=f;break b}if(q[f>>2]+ -917536>>>0>95){break b}p[f+16>>1]=g|128}h=h+1|0;if(h>>>0>>0){continue}break}}c:{if(!(1<<(s[q[c+88>>2]+16>>1]&31)&7168)|(q[c+144>>2]|(q[c+16>>2]&17)!=1)){break c}q[k+12>>2]=0;f=q[b+72>>2];if(!n[q[f+156>>2]](b,q[b+76>>2],9676,k+12|0,q[f+20>>2])){break c}f=q[c+12>>2];h=n[q[f+24>>2]](f,9676,q[f+56>>2])|0;q[c+32>>2]=q[c+32>>2]|1;if(!(!(1<>>0>31)){h=r[(n[q[f+16>>2]](f,9676,q[f+48>>2])|0)+271792|0]<<8|h|128}if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;f=q[c+88>>2];g=q[f+4>>2];j=q[f+8>>2];if(Va(c,0,1)){f=q[c+92>>2]+w(q[c+80>>2],20)|0;p[f+18>>1]=0;p[f+16>>1]=h;q[f+12>>2]=0;q[f+8>>2]=j;q[f+4>>2]=g;q[f>>2]=9676;q[c+80>>2]=q[c+80>>2]+1}f=q[c+72>>2];d:{if(f>>>0>=t[c+76>>2]){break d}while(1){if(!r[c+68|0]){break d}e:{if(r[c+69|0]){h=c;f:{if(q[c+92>>2]==q[c+88>>2]){g=f;if(q[c+80>>2]==(f|0)){break f}}if(!Va(c,1,1)){f=q[c+72>>2];break e}g=q[c+88>>2]+w(q[c+72>>2],20)|0;j=q[g+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;q[f>>2]=q[g>>2];q[f+4>>2]=j;q[f+16>>2]=q[g+16>>2];j=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=j;f=q[c+72>>2];g=q[c+80>>2]}q[h+80>>2]=g+1}f=f+1|0;q[c+72>>2]=f}if(f>>>0>2]){continue}break}}Kc(c)}g:{if(!(o[c+32|0]&1)){break g}j=q[c+76>>2];if(!q[c+20>>2]){if(!j){break g}f=j+ -1|0;i=q[c+88>>2];g=0;while(1){h:{if((f|0)==(g|0)){g=j;break h}g=g+1|0;if(r[(w(g,20)+i|0)+16|0]&128){continue}}break}h=j;while(1){if(g-l>>>0>=2){kc(c,l,g);i=q[c+88>>2];h=q[c+76>>2]}f=g+1|0;l=h>>>0>f>>>0?h:f;f=g;while(1){i:{f=f+1|0;if(f>>>0>=h>>>0){f=l;break i}if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}v=g>>>0>>0;l=g;g=f;if(v){continue}break}break g}if(!j){break g}g=j+ -1|0;i=q[c+88>>2];f=0;while(1){j:{if((f|0)==(g|0)){f=j;break j}f=f+1|0;if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}h=j;while(1){g=f;if(f-l>>>0>=2){rb(c,l,g);i=q[c+88>>2];h=q[c+76>>2]}f=g+1|0;l=h>>>0>f>>>0?h:f;f=g;while(1){k:{f=f+1|0;if(f>>>0>=h>>>0){f=l;break k}if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}l=g;if(g>>>0>>0){continue}break}}f=q[c+48>>2];g=aj(q[c+52>>2]);h=f&-2;l:{m:{if((h|0)==4){if((f|0)==(g|0)){break l}if(g){break m}break l}if((f|0)==6|(h|0)!=6){break l}}j=q[c+76>>2];n:{if(q[c+20>>2]==1){if(!j){break n}f=j+ -1|0;h=q[c+88>>2];g=0;while(1){o:{if((f|0)==(g|0)){g=j;break o}g=g+1|0;if(r[(h+w(g,20)|0)+16|0]&128){continue}}break}h=0;while(1){if(g-h>>>0>=2){kc(c,h,g)}at(c,h,g);i=q[c+76>>2];f=g+1|0;h=i>>>0>f>>>0?i:f;l=q[c+88>>2];f=g;while(1){p:{f=f+1|0;if(f>>>0>=i>>>0){f=h;break p}if(r[(l+w(f,20)|0)+16|0]&128){continue}}break}i=g>>>0>>0;h=g;g=f;if(i){continue}break}break n}if(!j){break n}g=j+ -1|0;h=q[c+88>>2];f=0;while(1){q:{if((f|0)==(g|0)){f=j;break q}f=f+1|0;if(r[(h+w(f,20)|0)+16|0]&128){continue}}break}g=0;while(1){h=g;g=f;at(c,h,f);i=q[c+76>>2];h=f+1|0;h=i>>>0>h>>>0?i:h;l=q[c+88>>2];while(1){r:{f=f+1|0;if(f>>>0>=i>>>0){f=h;break r}if(r[(l+w(f,20)|0)+16|0]&128){continue}}break}if(g>>>0>>0){continue}break}}_c(c);q[c+48>>2]=q[c+48>>2]^1}l=a+60|0;f=q[q[a+80>>2]+16>>2];if(f){n[f](l,c,b)}v=q[c+88>>2];h=q[c+76>>2];if(!(!h|(z&-3)!=5)){m=q[a+188>>2];g=q[c+12>>2];i=0;while(1){f=v+w(i,20)|0;j=n[q[g+28>>2]](g,q[f>>2],q[g+60>>2])|0;s:{t:{if((j|0)==q[f>>2]){break t}q[k+12>>2]=0;u=q[b+72>>2];if(!n[q[u+156>>2]](b,q[b+76>>2],j,k+12|0,q[u+20>>2])){break t}q[f>>2]=j;break s}q[f+4>>2]=m|q[f+4>>2]}i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(!(s[a+200>>1]&8|(!h|(z&-2)!=6))){f=0;while(1){m=v+w(f,20)|0;g=q[m>>2];j=g>>>8|0;i=j+ -32|0;u:{v:{if(i>>>0>16){j=j+ -254|0;if(j>>>0>1){break u}if(j-1){i=65076;if((g|0)==65103){break v}break u}j=g+ -65281|0;if(j>>>0>92){break u}i=65045;w:{switch(j-1|0){case 6:i=65077;break v;case 7:i=65078;break v;case 10:i=65040;break v;case 24:i=65043;break v;case 25:i=65044;break v;case 29:i=65046;break v;case 57:i=65095;break v;case 59:i=65096;break v;case 61:i=65075;break v;case 89:i=65079;break v;case 0:case 1:case 2:case 3:case 4:case 5: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 26:case 27:case 28: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 58:case 60: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 90:break u;case 91:break w;default:break v}}i=65080;break v}x:{switch(i-1|0){case 15:j=g+ -12289|0;if(j>>>0>=23|!(7995267>>>j&1)){break u}i=q[(j<<2)+270352>>2];break v;case 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 u;default:break x}}j=g+ -8211|0;if(j>>>0>19){break u}i=65074;y:{switch(j-1|0){case 0:i=65073;break v;case 17:i=65072;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:case 15:case 16:break u;case 18:break y;default:break v}}i=65049}if((g|0)==(i|0)){break u}q[k+12>>2]=0;g=q[b+72>>2];if(!n[q[g+156>>2]](b,q[b+76>>2],i,k+12|0,q[g+20>>2])){break u}q[m>>2]=i}f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=r[c+164|0];z:{if(!(f&15)){o[c+164|0]=f|15;lT(l,c,b);A:{if(!(o[c+32|0]&1)|!(r[a+200|0]&4)){break A}B:{if((q[c+48>>2]&-3)==4){f=q[a+176>>2];v=f|q[a+180>>2];g=a+184|0;break B}f=q[a+176>>2];v=f|q[a+184>>2];g=a+180|0}j=q[c+76>>2];if(!j){break A}x=q[g>>2]|f;m=q[c+88>>2];h=0;while(1){u=m+w(h,20)|0;if(q[u>>2]==8260){i=h+1|0;g=h;while(1){f=g;if(f){g=f+ -1|0;if((s[(m+w(g,20)|0)+16>>1]&31)==13){continue}}break}g=i;C:{if(g>>>0>=j>>>0){break C}while(1){if((s[(m+w(g,20)|0)+16>>1]&31)!=13){break C}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}if(g-f>>>0>=2){rb(c,f,g)}if(f>>>0>>0){while(1){y=m+w(f,20)|0;q[y+4>>2]=q[y+4>>2]|v;f=f+1|0;if((h|0)!=(f|0)){continue}break}}q[u+4>>2]=q[u+4>>2]|q[a+176>>2];if(i>>>0>>0){while(1){f=m+w(i,20)|0;q[f+4>>2]=x|q[f+4>>2];i=i+1|0;if((i|0)!=(g|0)){continue}break}}h=g+ -1|0}h=h+1|0;if(h>>>0>>0){continue}break}}f=q[q[a+80>>2]+36>>2];if(f){n[f](l,c,b)}if(e){i=0;while(1){j=(i<<4)+d|0;x=q[j+8>>2];if(!(q[j+12>>2]==-1?!x:0)){A=c;B=q[j+4>>2];D:{E:{f=q[a+104>>2];if((f|0)<1){break E}v=q[j>>2];y=q[a+108>>2];f=f+ -1|0;h=0;while(1){F:{m=f+h>>>1|0;u=y+w(m,36)|0;g=q[u>>2];G:{if(g>>>0>v>>>0){f=m+ -1|0;break G}if(g>>>0>=v>>>0){break F}h=m+1|0}if((h|0)<=(f|0)){continue}break E}break}h=q[u+24>>2];f=q[u+20>>2];break D}h=0;f=0}fS(A,B<>2])}i=i+1|0;if((i|0)!=(e|0)){continue}break}}if(r[a+200|0]&128){rT(c)}d=q[c+76>>2];if(d){e=q[c+88>>2];f=0;while(1){g=e+w(f,20)|0;q[g>>2]=q[g+12>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}}q[c+44>>2]=2;H:{d=r[c+164|0];if((d&15)==15){o[c+164|0]=d|15;A$(b,c);f=s[a+200>>1];I:{if(!(f&64)){break I}e=q[c+76>>2];if(!e){break I}g=q[c+88>>2];f=0;while(1){d=g+w(f,20)|0;h=s[d+16>>1];J:{if((h&31)==12){i=8;if(!(h&32)|r[d+12|0]&32){break J}}i=2}p[d+12>>1]=i;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=s[a+200>>1]}K:{if(f&4096){Sx(l,b,c);break K}w$(a+84|0,l,b,c)}ct(c);e=q[c+96>>2];f=q[c+88>>2];d=q[c+76>>2];L:{if((q[c+48>>2]&-2)==4){g=q[b+72>>2];n[q[g+176>>2]](b,q[b+76>>2],d,f,20,e,20,q[g+40>>2]);if(!d|!gh(b,9)){break L}h=0;while(1){g=w(h,20);Mf(b,q[g+f>>2],k+12|0,k+8|0);g=e+g|0;q[g+8>>2]=q[g+8>>2]-q[k+12>>2];q[g+12>>2]=q[g+12>>2]-q[k+8>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}break L}g=q[b+72>>2];n[q[g+180>>2]](b,q[b+76>>2],d,f,20,e+4|0,20,q[g+44>>2]);if(!d){break L}h=0;while(1){g=w(h,20);Tv(b,q[g+f>>2],k+12|0,k+8|0);g=e+g|0;q[g+8>>2]=q[g+8>>2]-q[k+12>>2];q[g+12>>2]=q[g+12>>2]-q[k+8>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(r[c+32|0]&4){mT(b,c)}g=q[c+96>>2];j=q[c+88>>2];e=q[c+76>>2];v=0;v=o[a+201|0]&1?(q[c+48>>2]&-3)==4:v;if(!(!e|!gh(b,9))){h=0;while(1){d=w(h,20);Mf(b,q[d+j>>2],k+12|0,k+8|0);d=d+g|0;q[d+8>>2]=q[d+8>>2]+q[k+12>>2];q[d+12>>2]=q[d+12>>2]+q[k+8>>2];h=h+1|0;if((e|0)!=(h|0)){continue}break}}y$(c);M:{if(!(r[a+200|0]&32)|q[q[a+80>>2]+48>>2]!=1){break M}m=q[c+76>>2];if(!m){break M}u=q[c+88>>2];f=0;while(1){h=w(f,20);if(r[(h+u|0)+12|0]&8){i=q[c+96>>2];if(v){d=h+i|0;q[d+8>>2]=q[d+8>>2]-q[d>>2];q[d+12>>2]=q[d+12>>2]-q[d+4>>2]}d=h+i|0;q[d>>2]=0;q[d+4>>2]=0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}dT(l,b,c);N:{if(!(r[a+200|0]&32)|q[q[a+80>>2]+48>>2]!=2){break N}m=q[c+76>>2];if(!m){break N}u=q[c+88>>2];f=0;while(1){h=w(f,20);if(r[(h+u|0)+12|0]&8){i=q[c+96>>2];if(v){d=h+i|0;q[d+8>>2]=q[d+8>>2]-q[d>>2];q[d+12>>2]=q[d+12>>2]-q[d+4>>2]}d=h+i|0;q[d>>2]=0;q[d+4>>2]=0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}O:{if(!(r[c+32|0]&2)|r[c+16|0]&12){break O}h=q[c+76>>2];if(!h){break O}i=q[c+96>>2];m=q[c+88>>2];f=0;while(1){d=w(f,20);u=d+m|0;if(!(!(r[u+16|0]&32)|r[u+12|0]&32)){d=d+i|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(r[a+201|0]&16){Px(c)}x$(c);if(!(!e|!gh(b,9))){h=0;while(1){d=w(h,20);Mf(b,q[d+j>>2],k+12|0,k+8|0);d=d+g|0;q[d+8>>2]=q[d+8>>2]-q[k+12>>2];q[d+12>>2]=q[d+12>>2]-q[k+8>>2];h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(r[a+200|0]&128){qT(l,b,c,v)}if((q[c+48>>2]&-3)==5){_c(c)}d=r[c+164|0];if(!(d&8)){break z}o[c+164|0]=d&247;if(!(d&4)){break z}o[c+164|0]=d&243;if((d&3)!=3){break z}o[c+164|0]=d&240;P:{if(!(r[c+32|0]&2)){break P}e=q[c+16>>2];if(e&4){break P}g=q[c+88>>2];d=q[c+76>>2];f=q[c+28>>2];q[k+12>>2]=f;Q:{if(e&8){break Q}if(!f){q[k+12>>2]=0;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],32,k+12|0,q[e+20>>2])){break Q}}if(!d){break P}f=0;while(1){e=g+w(f,20)|0;if(!(!(r[e+16|0]&32)|r[e+12|0]&32)){q[e>>2]=q[k+12>>2]}f=f+1|0;if((d|0)!=(f|0)){continue}break}break P}Vv(c,565)}if(r[a+201|0]&16){Vv(c,429)}a=q[q[a+80>>2]+20>>2];if(a){n[a](l,c,b)}R:{if(!(r[c+32|0]&16)){break R}b=q[c+76>>2];if(!b){break R}a=b+ -1|0;e=q[c+88>>2];d=q[e+8>>2];f=0;while(1){S:{if((a|0)==(f|0)){f=b;break S}f=f+1|0;if((d|0)==q[(e+w(f,20)|0)+8>>2]){continue}}break}i=0;while(1){a=f;g=i;T:{if(g>>>0>=f>>>0){break T}while(1){if(!(o[(e+w(g,20)|0)+4|0]&1)){g=g+1|0;if((a|0)!=(g|0)){continue}break T}break}while(1){d=e+w(i,20)|0;q[d+4>>2]=q[d+4>>2]|1;i=i+1|0;if((a|0)!=(i|0)){continue}break}}d=a+1|0;d=b>>>0>d>>>0?b:d;g=d+ -1|0;h=q[(e+w(a,20)|0)+8>>2];f=a;while(1){U:{if((f|0)==(g|0)){f=d;break U}f=f+1|0;if((h|0)==q[(e+w(f,20)|0)+8>>2]){continue}}break}i=a;if(i>>>0>>0){continue}break}}if((r[c+164|0]&48)!=48){break H}o[c+164|0]=0;q[c+36>>2]=1073741823;q[c+40>>2]=536870911;q[c+48>>2]=z;Da=k+16|0;return 1}break z}break z}I(270268,270240,150,270255);F()}I(270316,270240,160,270301);F()}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,p=0,u=0,v=0,x=0,y=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=Da-32|0;Da=n;q[b+12>>2]=2;q[n+8>>2]=0;q[n+12>>2]=0;q[b>>2]=q[a+24>>2];o[b+8|0]=r[a+32|0];Jm(q[a>>2],1196643650,q[a+36>>2],q[a+44>>2],n+24|0,n+16|0);q[b+4>>2]=q[a+28>>2];o[b+9|0]=r[a+33|0];Jm(q[a>>2],1196445523,q[a+40>>2],q[a+48>>2],n+28|0,n+20|0);d=q[a- -64>>2];a:{if(!d){break a}um(q[a+68>>2],d,28,458);i=1;g=q[a+64>>2];if(g>>>0>1){while(1){x=g>>>0>i>>>0;b:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break b}d=q[a+68>>2]+w(i,28)|0}h=q[d>>2];j=g>>>0>e>>>0;c:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break c}d=q[a+68>>2]+w(e,28)|0}f=q[d>>2];d:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+68>>2]+w(i,28)|0}e:{if((f|0)!=(h|0)){e=e+1|0;f:{if(g>>>0<=e>>>0){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break f}f=q[a+68>>2]+w(e,28)|0}g=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=g;q[f+24>>2]=q[d+24>>2];g=q[d+20>>2];q[f+16>>2]=q[d+16>>2];q[f+20>>2]=g;g=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=g;break e}f=q[d+12>>2]&1;g:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}d=q[a+68>>2]+w(e,28)|0}g=q[d+12>>2];h:{if(f){q[d+12>>2]=g|1;i:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+68>>2]+w(i,28)|0}f=q[d+8>>2];j:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}d=q[a+68>>2]+w(e,28)|0}q[d+8>>2]=f;k:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break k}d=q[a+68>>2]+w(i,28)|0}f=q[d+16>>2];if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;q[160748]=f;break h}q[(q[a+68>>2]+w(e,28)|0)+16>>2]=f;break h}if(g&1){l:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+68>>2]+w(e,28)|0}q[d+12>>2]=q[d+12>>2]^1}m:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[a+68>>2]+w(e,28)|0}n:{if(!x){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;h=642976;break n}h=q[a+68>>2]+w(i,28)|0}f=q[h+8>>2];d=q[d+8>>2];f=d>>>0>>0?f:d;o:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break o}d=q[a+68>>2]+w(e,28)|0}q[d+8>>2]=f}p:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+68>>2]+w(i,28)|0}q:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;g=642976;break q}g=q[a+68>>2]+w(e,28)|0;q[g+12>>2]=q[g+12>>2]|q[d+12>>2]&2}r:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break r}d=q[a+68>>2]+w(i,28)|0}f=q[d+20>>2];d=q[g+20>>2];f=d>>>0>f>>>0?f:d;s:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break s}d=q[a+68>>2]+w(e,28)|0}q[d+20>>2]=f;f=q[a+64>>2];g=f>>>0>e>>>0;t:{if(!g){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break t}d=q[a+68>>2]+w(e,28)|0}u:{if(f>>>0<=i>>>0){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;h=642976;break u}h=q[a+68>>2]+w(i,28)|0}f=q[h+24>>2];d=q[d+24>>2];f=d>>>0>f>>>0?f:d;v:{if(!g){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break v}d=q[a+68>>2]+w(e,28)|0}q[d+24>>2]=f}i=i+1|0;g=q[a+64>>2];if(i>>>0>>0){continue}break}}d=e+1|0;d=(d|0)>0?d:0;if(d>>>0>>0){q[a+64>>2]=d;g=d}if(!g){break a}u=n+4|0;y=q[n+12>>2];x=q[n+8>>2];f=2;while(1){k=q[a+68>>2]+w(l,28)|0;i=q[k+8>>2];w:{x:{if(o[k+12|0]&1){d=0;if((i|0)==1){break x}}if(!i){break w}d=i?32-z(i)|0:0;d=d>>>0<8?d:8}d=d+f|0;if(d>>>0>32){break w}g=q[k>>2];if((g|0)==q[n+16>>2]){x=q[k+20>>2]}i=Im(q[a>>2],1196643650,q[a+36>>2],q[a+44>>2],g,n);g=q[k>>2];if((g|0)==q[n+20>>2]){y=q[k+24>>2]}j=0;y:{z:{if(Im(q[a>>2],1196445523,q[a+40>>2],q[a+48>>2],g,u)|i){break z}e=q[k+12>>2];if(e&16){if(Lm(q[a>>2],1196643650,q[k>>2],n)|Lm(q[a>>2],1196445523,q[k>>2],u)){break z}e=q[k+12>>2]}j=1;if(!(e&2)){break y}}A:{B:{C:{g=q[b+16>>2];if((g|0)>=0){h=g;p=q[b+20>>2];i=p+1|0;i=(i|0)>0?i:0;if(g>>>0>=i>>>0){break B}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break}if(!(h>>>0>>0|h>>>0>119304646)){g=db(q[b+24>>2],w(h,36));if(g){break C}}q[b+16>>2]=-1}q[160752]=q[67836];g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break A}q[b+16>>2]=h;q[b+24>>2]=g;p=q[b+20>>2]}if(i>>>0>p>>>0){Na(q[b+24>>2]+w(p,36)|0,0,w(i-p|0,36))}q[b+20>>2]=i;g=(q[b+24>>2]+w(i,36)|0)+ -36|0}q[g>>2]=q[k>>2];q[g+4>>2]=q[n>>2];q[g+8>>2]=q[n+4>>2];q[g+12>>2]=q[k+20>>2];q[g+16>>2]=q[k+24>>2];i=(r[k+12|0]>>>1&2|r[g+32|0]&-3)^2;o[g+32|0]=i;i=(r[k+12|0]>>>1&4|i&-5)^4;o[g+32|0]=i;h=i&-9|r[k+12|0]>>>2&8;o[g+32|0]=h;D:{if(!(!(o[k+12|0]&1)|q[k+8>>2]!=1)){q[g+20>>2]=1;i=2;d=f;f=1;break D}q[g+20>>2]=f;i=(1<>2]=q[b+12>>2]|i&q[k+16>>2]<>2]=i;o[g+32|0]=h&254|j;q[g+28>>2]=1<>2]}l=l+1|0;if(l>>>0>>0){continue}break}q[n+12>>2]=y;q[n+8>>2]=x;if(!g){break a}q[a+64>>2]=0}_X(a);ZX(a);f=q[67829];k=f;v=q[67828];d=(f&65535)<<16|v>>>16;x=f;g=v;y=0;while(1){A=y<<2;H=A+a|0;if(q[H+52>>2]){I=c+A|0;f=w(y,12);m=f+b|0;C=m;G=a+f|0;J=G;K=A+(n+8|0)|0;L=A+(n+24|0)|0;f=0;i=0;B=0;while(1){h=q[L>>2];if(!((h|0)==65535|q[K>>2]!=(f|0))){Fu(a,b,y,h,q[I>>2],2,1,1,0)}l=0;e=q[b+20>>2];if(e){while(1){E:{if(e>>>0<=l>>>0){q[160752]=q[67836];j=q[67835];q[160750]=q[67834];q[160751]=j;j=q[67833];q[160748]=q[67832];q[160749]=j;j=q[67831];q[160746]=q[67830];q[160747]=j;q[160744]=v;q[160745]=k;h=642976;break E}h=q[b+24>>2]+w(l,36)|0}if(q[(h+A|0)+12>>2]==(f|0)){h=a;j=b;u=y;e=q[b+20>>2];F:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];p=642976;break F}p=q[b+24>>2]+w(l,36)|0}p=q[(p+A|0)+4>>2];M=q[I>>2];G:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];D=642976;break G}D=q[b+24>>2]+w(l,36)|0}D=q[D+24>>2];H:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];E=642976;break H}E=q[b+24>>2]+w(l,36)|0}E=(r[E+32|0]&2)!=0;I:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];F=642976;break I}F=q[b+24>>2]+w(l,36)|0}F=(r[F+32|0]&4)!=0;J:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=642976;break J}e=q[b+24>>2]+w(l,36)|0}Fu(h,j,u,p,M,D,E,F,(r[e+32|0]&8)>>>3|0)}l=l+1|0;e=q[b+20>>2];if(l>>>0>>0){continue}break}}h=q[m+32>>2];K:{if(h>>>0<=i>>>0){j=h;break K}um(q[m+36>>2]+(i<<3)|0,h-i|0,8,459);l=i+1|0;e=q[m+32>>2];if(l>>>0>>0){while(1){L:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[m+32>>2];j=g;break L}j=s[q[m+36>>2]+(l<<3)>>1]}M:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=q[m+32>>2];h=g;break M}h=s[q[m+36>>2]+(i<<3)>>1]}N:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;u=642976;break N}u=q[m+36>>2]+(l<<3)|0}O:{if((j&65535)!=(h&65535)){i=i+1|0;P:{if(t[m+32>>2]<=i>>>0){q[160744]=v;q[160745]=k;j=642976;break P}j=q[m+36>>2]+(i<<3)|0}h=q[u+4>>2];q[j>>2]=q[u>>2];q[j+4>>2]=h;break O}j=q[u+4>>2];e=q[m+32>>2];Q:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=q[m+32>>2];p=642976;h=x;break Q}p=q[m+36>>2]+(i<<3)|0;h=q[p+4>>2]}q[p+4>>2]=h|j;R:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[m+32>>2];h=d;break R}h=r[(q[m+36>>2]+(l<<3)|0)+2|0]}S:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=642976;j=d;break S}e=q[m+36>>2]+(i<<3)|0;j=r[e+2|0]}o[e+2|0]=j&(h|254);e=q[m+32>>2];T:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[m+32>>2];h=d;break T}h=r[(q[m+36>>2]+(l<<3)|0)+2|0]}U:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=642976;j=d;break U}e=q[m+36>>2]+(i<<3)|0;j=r[e+2|0]}o[e+2|0]=j&(h|253)}l=l+1|0;e=q[m+32>>2];if(l>>>0>>0){continue}break}l=i+1|0}h=(l|0)>0?l:0;j=e;if(h>>>0>=e>>>0){break K}q[m+32>>2]=h;j=h}i=j;V:{if(B>>>0>=t[G+76>>2]){break V}e=B<<3;if(q[e+q[J+80>>2]>>2]!=(f|0)){break V}W:{X:{Y:{h=q[m+52>>2];if((h|0)>=0){j=h;p=q[m+56>>2];u=p+1|0;u=(u|0)>0?u:0;if(h>>>0>=u>>>0){break X}while(1){j=((j>>>1|0)+j|0)+8|0;if(j>>>0<=u>>>0){continue}break}if(!(j>>>0>>0|j>>>0>536870910)){h=db(q[C+60>>2],j<<3);if(h){break Y}}q[m+52>>2]=-1}q[160744]=v;q[160745]=k;h=642976;break W}q[C+60>>2]=h;q[m+52>>2]=j;p=q[m+56>>2]}if(u>>>0>p>>>0){Na(q[C+60>>2]+(p<<3)|0,0,u-p<<3)}q[m+56>>2]=u;h=(q[C+60>>2]+(u<<3)|0)+ -8|0}q[h>>2]=i;Z:{if(t[G+76>>2]<=B>>>0){q[160744]=v;q[160745]=k;j=x;break Z}j=q[(q[J+80>>2]+e|0)+4>>2]}q[h+4>>2]=j;B=B+1|0}f=f+1|0;if(f>>>0>2]){continue}break}}y=y+1|0;if((y|0)!=2){continue}break}Da=n+32|0}function QA(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;i=Da-16|0;Da=i;q[i+8>>2]=0;g=q[e+32>>2];k=q[g+100>>2];a:{b:{c:{d:{if(Ra(a,26360,7)){break d}c=r[a+7|0];if(c>>>0>32){break d}e:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break d;default:break e}}q[i+12>>2]=0;d=q[g+88>>2];h=d;d=(c?-8:-7)+b|0;f=d+1|0;h=Oa(k,1,h,h+f|0,q[g+84>>2],i+12|0);q[g+84>>2]=h;b=q[i+12>>2];if(!b){z=Qa(h+q[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,A=10,o[z|0]=A;q[g+88>>2]=f+q[g+88>>2];b=q[i+12>>2]}q[i+8>>2]=b;break c}h=i;f:{g:{c=q[e>>2];h:{if(!(c&32)){i:{j:{if(Ra(a,27757,5)){break j}c=r[a+5|0];if(c>>>0>32){break j}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break j;default:break i}}b=180;break h}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}a=0;c=q[q[e+40>>2]+4>>2];k:{if(!c){break k}b=o[c|0];d=b&255;if(!d|!(r[(d>>>3|0)+28864|0]>>>(b&7)&1)){break k}while(1){if(a>>>0>429496727){a=-1;break k}a=r[b+28896|0]+w(a,10)|0;b=o[c+1|0];c=c+1|0;if(r[((b&248)>>>3|0)+28864|0]>>>(b&7)&1){continue}break}}q[g+48>>2]=a;q[e+4>>2]=a;b=t[e+60>>2]/20|0;if(a>>>0>b>>>0){q[g+48>>2]=b;q[e+4>>2]=b;a=b}if(!a){a=64;q[g+48>>2]=64;break g}if(a>>>0<1114112){break g}b=6;break h}l:{m:{n:{o:{p:{q:{r:{s:{if(Ra(a,29062,7)){break s}f=r[a+7|0];if(f>>>0>32){break s}t:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break s;default:break t}}if(!(c&4032)){break r}b=186;break h}u:{if(Ra(a,29070,7)){break u}d=r[a+7|0];if(d>>>0>32){break u}v:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break u;default:break v}}q[e+28>>2]=0;q[e>>2]=c&-4033;break f}d=c&64;if(q[q[e+36>>2]+4>>2]?0:!(!d|q[e+28>>2]!=-1)){break f}w:{if(Ra(a,29078,9)){break w}f=r[a+9|0];if(f>>>0>32){break w}x:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break w;default:break x}}if(c&4032){break l}c=q[e+24>>2];if(c){n[q[k+8>>2]](k,c)}q[e+24>>2]=0;b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}a=q[e+48>>2];if(a>>>0<=1){if(a-1){break m}q[e+48>>2]=0;b=3;break h}d=a+ -1|0;a=0;b=1;while(1){c=q[e+40>>2];q[c+(a<<2)>>2]=q[c+(b<<2)>>2];b=b+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}q[e+48>>2]=d;if(!d){break m}b=0;c=q[q[e+40>>2]>>2];a=c;while(1){f=r[a|0];if(f){while(1){o[b+c|0]=f;b=b+1|0;f=r[a+1|0];a=a+1|0;if(f){continue}break}d=q[e+48>>2]}j=j+1|0;if(j>>>0>>0){o[b+c|0]=32;d=q[e+48>>2];b=b+1|0}if(j>>>0>>0){a=q[q[e+40>>2]+(j<<2)>>2];continue}break}if((c|0)!=28849){o[b+c|0]=0;if(!c){break m}}a=b+1|0;d=Oa(k,1,0,a,0,i+8|0);q[e+24>>2]=d;b=q[i+8>>2];if(b){break b}Qa(d,c,a);q[e>>2]=q[e>>2]|64;break f}y:{if(Ra(a,29088,8)){break y}f=r[a+8|0];if(f>>>0>32){break y}z:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break y;default:break z}}if(!d){break l}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}h=q[e+40>>2];c=q[h+4>>2];if(!c){break p}d=r[c|0];if(!d){break p}if((d|0)==45){m=1;d=r[c+1|0];c=c+1|0}b=0;a=d<<24>>24;A:{if(!(r[((d&248)>>>3|0)+28864|0]>>>(a&7)&1)){break A}while(1){if((b|0)>214748362){b=2147483647;break A}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}j=e+28|0;a=m?0-b|0:b;B:{C:{if((a|0)<=-2){q[e+28>>2]=-1;break C}q[e+28>>2]=a;if((a|0)!=-1){break B}}if(t[e+48>>2]<3){break q}f=e;d=q[h+8>>2];c=0;D:{if(!d){break D}a=0;b=r[d|0];c=0;if(!b){break D}if((b|0)==45){b=r[d+1|0];d=d+1|0;a=1}c=0;h=r[((b&248)>>>3|0)+28864|0];b=b<<24>>24;E:{if(!(h>>>(b&7)&1)){break E}while(1){if((c|0)>214748362){c=2147483647;break E}c=r[b+28896|0]+w(c,10)|0;b=o[d+1|0];d=d+1|0;if(r[((b&248)>>>3|0)+28864|0]>>>(b&7)&1){continue}break}}c=a?0-c|0:c}a=c;q[f+28>>2]=a}if(a+1>>>0>=1114113){q[e+28>>2]=-1;break q}if((a|0)<0){break q}break o}if(c&128){d=q[e+28>>2]==-1;j=q[g+(d?64:52)>>2]+ -1|0;l=q[g+(d?68:56)>>2];if(c&2048){d=q[e+8>>2];b=l+w(j,36)|0;if(d>>>0>=s[b+14>>1]){if((c|0)<0){break f}q[e>>2]=c|-2147483648;break f}c=q[b+28>>2];b=q[b+24>>2]+w(c,d)|0;f=0;d=c<<1;F:{if(!d){c=0;break F}G:{while(1){c=f;h=r[c+a|0];f=h<<24>>24;if(!(r[(h>>>3|0)+29136|0]>>>(f&7)&1)){break G}o[b|0]=r[f+28896|0]+(r[b|0]<<4);f=c+1|0;if(!(!(c&1)|f>>>0>=d>>>0)){o[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break F}f=q[e>>2];if(f&1073741824){break F}q[e>>2]=f|1073741824}f=s[(l+w(j,36)|0)+12>>1];if(f){o[b|0]=r[b|0]&r[(w(f,s[q[e+32>>2]+96>>1])&7)+29097|0]}H:{if((c|0)!=(d|0)){break H}a=r[a+d|0];if(!(r[(a>>>3|0)+29136|0]>>>(a&7)&1)){break H}a=q[e>>2];if(a&1073741824){break H}q[e>>2]=a|1073741824}q[e+8>>2]=q[e+8>>2]+1;break f}I:{if(Ra(a,29105,6)){break I}d=r[a+6|0];if(d>>>0>32){break I}J:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break I;default:break J}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}b=0;f=q[q[e+40>>2]+4>>2];K:{if(!f){break K}a=o[f|0];c=a&255;if(!c|!(r[(c>>>3|0)+28864|0]>>>(a&7)&1)){break K}while(1){if(b>>>0>429496727){b=-1;break K}b=r[a+28896|0]+w(b,10)|0;a=o[f+1|0];f=f+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[(l+w(j,36)|0)+8>>1]=b;q[e>>2]=q[e>>2]|256;break f}L:{if(Ra(a,29112,6)){break L}d=r[a+6|0];if(d>>>0>32){break L}M:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break L;default:break M}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}b=0;c=q[q[e+40>>2]+4>>2];N:{if(!c){break N}a=o[c|0];d=a&255;if(!d|!(r[(d>>>3|0)+28864|0]>>>(a&7)&1)){break N}while(1){if(b>>>0>429496727){b=-1;break N}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}d=l+w(j,36)|0;p[d+10>>1]=b;c=e;a=q[e>>2];if(!(a&256)){z=d,A=bb(b&65535,72e3,w(q[g+20>>2],q[g+16>>2])),p[z+8>>1]=A;a=q[e>>2]}q[c>>2]=a|512;break f}O:{if(Ra(a,29119,3)){break O}d=r[a+3|0];if(d>>>0>32){break O}P:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break O;default:break P}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}d=0;u=q[e+40>>2];b=q[u+4>>2];Q:{if(!b){break Q}a=o[b|0];f=a&255;if(!f){break Q}c=0;if(!(r[(f>>>3|0)+28864|0]>>>(a&7)&1)){break Q}while(1){d=65535;if((c&65535)>>>0>6551){break Q}d=a+28896|0;a=o[b+1|0];b=b+1|0;c=r[d|0]+w(c,10)|0;d=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}f=l+w(j,36)|0;p[f+12>>1]=d;b=q[u+8>>2];R:{if(!b){break R}a=o[b|0];h=a&255;if(!h){break R}c=0;if(!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break R}while(1){m=65535;if((c&65535)>>>0>6551){break R}h=a+28896|0;a=o[b+1|0];b=b+1|0;c=r[h|0]+w(c,10)|0;m=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[f+14>>1]=m;h=0;v=l+w(j,36)|0;x=v;c=q[u+12>>2];b=0;S:{if(!c){break S}f=0;a=r[c|0];b=0;if(!a){break S}if((a|0)==45){f=1;a=r[c+1|0];c=c+1|0}b=0;y=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;T:{if(!(y>>>(a&7)&1)){break T}while(1){if(b<<16>>16>3274){b=32767;break T}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=f?0-b|0:b}f=b;p[x+16>>1]=f;c=q[u+16>>2];U:{if(!c){break U}a=r[c|0];if(!a){break U}if((a|0)==45){h=1;a=r[c+1|0];c=c+1|0}b=0;x=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;V:{if(!(x>>>(a&7)&1)){break V}while(1){if(b<<16>>16>3274){b=32767;break V}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}h=h?0-b|0:b}a=0-h|0;p[v+22>>1]=a;b=h+m|0;p[v+20>>1]=b;p[v+18>>1]=h;c=d+f|0;p[e+22>>1]=c;h=p[e+18>>1];p[e+18>>1]=b<<16>>16>(h|0)?b:h;b=p[e+20>>1];p[e+20>>1]=(b|0)>16?a:b;a=p[e+16>>1];p[e+16>>1]=c<<16>>16>(a|0)?c:a;a=p[e+12>>1];b=f<<16>>16;p[e+12>>1]=(b|0)<(a|0)?f:a;a=p[e+14>>1];p[e+14>>1]=(b|0)>(a|0)?f:a;a=q[e>>2];if(!(a&512)){p[(l+w(j,36)|0)+10>>1]=d}W:{if(!q[q[e+36>>2]>>2]){break W}a=l+w(j,36)|0;b=bb(s[a+10>>1],72e3,w(q[g+20>>2],q[g+16>>2]));if(s[a+8>>1]==(b&65535)){a=q[e>>2];break W}p[a+8>>1]=b;a=q[e>>2]|4096;q[e>>2]=a}q[e>>2]=a|1024;break f}if(Ra(a,29123,6)){break m}a=r[a+6|0];if(a>>>0>32){break m}X:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break m;default:break X}}b=183;if(!(c&1024)){break h}a=l+w(j,36)|0;c=w(s[g+96>>1],s[a+12>>1]);b=c+7>>>3|0;q[a+28>>2]=b;Y:{if(c>>>0<=524280){a=w(b,s[a+14>>1]);if(a>>>0<65536){break Y}}b=184;break h}b=l+w(j,36)|0;p[b+32>>1]=a;z=b,A=Oa(k,1,0,a,0,i+8|0),q[z+24>>2]=A;b=q[i+8>>2];if(b){break b}q[e+8>>2]=0;q[e>>2]=q[e>>2]|2048;break f}b=182;break h}Gc(q[g+56>>2],q[g+52>>2],36,294);q[e>>2]=q[e>>2]&-2;q[d>>2]=295;break f}Z:{if(q[q[e+36>>2]+4>>2]){a=q[g+64>>2];_:{if((a|0)!=q[g+60>>2]){c=q[g+68>>2];break _}c=Oa(k,36,a,a+4|0,q[g+68>>2],i+8|0);q[g+68>>2]=c;b=q[i+8>>2];if(b){break b}q[g+60>>2]=q[g+60>>2]+4;a=q[g+64>>2]}b=w(a,36)+c|0;q[b>>2]=q[e+24>>2];q[g+64>>2]=a+1;q[b+4>>2]=a;a=e+24|0;break Z}a=q[e+24>>2];if(a){n[q[k+8>>2]](k,a)}a=e+24|0}q[a>>2]=0;break n}a=0;q[e+28>>2]=0;j=e+28|0}b=q[g+52>>2];$:{if((b|0)!=q[g+48>>2]){c=q[g+56>>2];break $}c=Oa(k,36,b,b- -64|0,q[g+56>>2],i+8|0);q[g+56>>2]=c;b=q[i+8>>2];if(b){break b}q[g+48>>2]=q[g+48>>2]- -64;b=q[g+52>>2];a=q[j>>2]}q[g+52>>2]=b+1;d=q[e+24>>2];b=w(b,36)+c|0;q[b+4>>2]=a;q[b>>2]=d}q[e+24>>2]=0;q[e>>2]=q[e>>2]&1073741695|128;break f}b=3;break h}b=181}q[h+8>>2]=b;break b}z=g,A=Oa(k,36,0,a,0,i+8|0),q[z+56>>2]=A;b=q[i+8>>2];if(b){break b}q[e>>2]=q[e>>2]|32}b=q[i+8>>2]}if(b){break b}b=0;break a}if(!(r[e|0]&64)){break a}a=q[e+24>>2];if(a){n[q[k+8>>2]](k,a)}q[e+24>>2]=0;b=q[i+8>>2]}Da=i+16|0;return b|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;l=Da-16|0;Da=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){f=q[161264];g=a>>>0<11?16:a+11&-8;a=g>>>3|0;b=f>>>a|0;if(b&3){c=a+((b^-1)&1)|0;e=c<<3;b=q[e+645104>>2];a=b+8|0;d=q[b+8>>2];e=e+645096|0;l:{if((d|0)==(e|0)){m=645056,n=$$(-2,c)&f,q[m>>2]=n;break l}q[d+12>>2]=e;q[e+8>>2]=d}c=c<<3;q[b+4>>2]=c|3;b=b+c|0;q[b+4>>2]=q[b+4>>2]|1;break a}i=q[161266];if(g>>>0<=i>>>0){break k}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=q[d+645104>>2];a=q[b+8>>2];d=d+645096|0;m:{if((a|0)==(d|0)){f=$$(-2,c)&f;q[161264]=f;break m}q[a+12>>2]=d;q[d+8>>2]=a}a=b+8|0;q[b+4>>2]=g|3;h=b+g|0;c=c<<3;e=c-g|0;q[h+4>>2]=e|1;q[b+c>>2]=e;if(i){c=i>>>3|0;b=(c<<3)+645096|0;d=q[161269];c=1<>2]}q[b+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=c}q[161269]=h;q[161266]=e;break a}k=q[161265];if(!k){break k}a=(k&0-k)+ -1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=q[((c|b)+(a>>>b|0)<<2)+645360>>2];d=(q[b+4>>2]&-8)-g|0;c=b;while(1){o:{a=q[c+16>>2];if(!a){a=q[c+20>>2];if(!a){break o}}e=(q[a+4>>2]&-8)-g|0;c=e>>>0>>0;d=c?e:d;b=c?a:b;c=a;continue}break}j=q[b+24>>2];e=q[b+12>>2];if((e|0)!=(b|0)){a=q[b+8>>2];q[a+12>>2]=e;q[e+8>>2]=a;break b}c=b+20|0;a=q[c>>2];if(!a){a=q[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;e=a;c=a+20|0;a=q[c>>2];if(a){continue}c=e+16|0;a=q[e+16>>2];if(a){continue}break}q[h>>2]=0;break b}g=-1;if(a>>>0>4294967231){break k}b=a+11|0;g=b&-8;i=q[161265];if(!i){break k}c=0-g|0;b=b>>>8|0;f=0;p:{if(!b){break p}f=31;if(g>>>0>16777215){break p}d=b+1048320>>>16&8;b=b<>>16&4;f=b<>>16&2;a=(f<>>15|0)-(b|(a|d))|0;f=(a<<1|g>>>a+21&1)+28|0}d=q[(f<<2)+645360>>2];q:{r:{s:{if(!d){a=0;break s}b=g<<((f|0)==31?0:25-(f>>>1|0)|0);a=0;while(1){t:{h=(q[d+4>>2]&-8)-g|0;if(h>>>0>=c>>>0){break t}e=d;c=h;if(c){break t}c=0;a=d;break r}h=q[d+20>>2];d=q[((b>>>29&4)+d|0)+16>>2];a=h?(h|0)==(d|0)?a:h:a;b=b<<((d|0)!=0);if(d){continue}break}}if(!(a|e)){a=2<>>12&16;d=b;a=a>>>b|0;b=a>>>5&8;d=d|b;a=a>>>b|0;b=a>>>2&4;d=d|b;a=a>>>b|0;b=a>>>1&2;d=d|b;a=a>>>b|0;b=a>>>1&1;a=q[((d|b)+(a>>>b|0)<<2)+645360>>2]}if(!a){break q}}while(1){d=(q[a+4>>2]&-8)-g|0;b=d>>>0>>0;c=b?d:c;e=b?a:e;b=q[a+16>>2];if(b){a=b}else{a=q[a+20>>2]}if(a){continue}break}}if(!e|c>>>0>=q[161266]-g>>>0){break k}h=q[e+24>>2];b=q[e+12>>2];if((e|0)!=(b|0)){a=q[e+8>>2];q[a+12>>2]=b;q[b+8>>2]=a;break c}d=e+20|0;a=q[d>>2];if(!a){a=q[e+16>>2];if(!a){break i}d=e+16|0}while(1){f=d;b=a;d=a+20|0;a=q[d>>2];if(a){continue}d=b+16|0;a=q[b+16>>2];if(a){continue}break}q[f>>2]=0;break c}b=q[161266];if(b>>>0>=g>>>0){a=q[161269];c=b-g|0;u:{if(c>>>0>=16){q[161266]=c;d=a+g|0;q[161269]=d;q[d+4>>2]=c|1;q[a+b>>2]=c;q[a+4>>2]=g|3;break u}q[161269]=0;q[161266]=0;q[a+4>>2]=b|3;b=a+b|0;q[b+4>>2]=q[b+4>>2]|1}a=a+8|0;break a}d=q[161267];if(d>>>0>g>>>0){b=d-g|0;q[161267]=b;a=q[161270];c=a+g|0;q[161270]=c;q[c+4>>2]=b|1;q[a+4>>2]=g|3;a=a+8|0;break a}a=0;e=g+47|0;c=e;if(q[161382]){b=q[161384]}else{q[161385]=-1;q[161386]=-1;q[161383]=4096;q[161384]=4096;q[161382]=l+12&-16^1431655768;q[161387]=0;q[161375]=0;b=4096}f=c+b|0;h=0-b|0;c=f&h;if(c>>>0<=g>>>0){break a}b=q[161374];if(b){i=q[161372];j=i+c|0;if(j>>>0<=i>>>0|j>>>0>b>>>0){break a}}if(r[645500]&4){break f}v:{w:{b=q[161270];if(b){a=645504;while(1){i=q[a>>2];if(i+q[a+4>>2]>>>0>b>>>0?i>>>0<=b>>>0:0){break w}a=q[a+8>>2];if(a){continue}break}}b=sf(0);if((b|0)==-1){break g}f=c;a=q[161383];d=a+ -1|0;if(d&b){f=(c-b|0)+(b+d&0-a)|0}if(f>>>0<=g>>>0|f>>>0>2147483646){break g}a=q[161374];if(a){d=q[161372];h=d+f|0;if(h>>>0<=d>>>0|h>>>0>a>>>0){break g}}a=sf(f);if((b|0)!=(a|0)){break v}break e}f=h&f-d;if(f>>>0>2147483646){break g}b=sf(f);if((b|0)==(q[a>>2]+q[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|g+48>>>0<=f>>>0)){b=q[161384];b=b+(e-f|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((sf(b)|0)!=-1){f=b+f|0;b=a;break e}sf(0-f|0);break g}b=a;if((a|0)!=-1){break e}break g}e=0;break b}b=0;break c}if((b|0)!=-1){break e}}q[161375]=q[161375]|4}if(c>>>0>2147483646){break d}b=sf(c);a=sf(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}f=a-b|0;if(f>>>0<=g+40>>>0){break d}}a=q[161372]+f|0;q[161372]=a;if(a>>>0>t[161373]){q[161373]=a}x:{y:{z:{c=q[161270];if(c){a=645504;while(1){d=q[a>>2];e=q[a+4>>2];if((d+e|0)==(b|0)){break z}a=q[a+8>>2];if(a){continue}break}break y}a=q[161268];if(!(b>>>0>=a>>>0?a:0)){q[161268]=b}a=0;q[161377]=f;q[161376]=b;q[161272]=-1;q[161273]=q[161382];q[161379]=0;while(1){c=a<<3;d=c+645096|0;q[c+645104>>2]=d;q[c+645108>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=f+ -40|0;c=b+8&7?-8-b&7:0;d=a-c|0;q[161267]=d;c=b+c|0;q[161270]=c;q[c+4>>2]=d|1;q[(a+b|0)+4>>2]=40;q[161271]=q[161386];break x}if(r[a+12|0]&8|b>>>0<=c>>>0|d>>>0>c>>>0){break y}q[a+4>>2]=e+f;a=c+8&7?-8-c&7:0;b=a+c|0;q[161270]=b;d=q[161267]+f|0;a=d-a|0;q[161267]=a;q[b+4>>2]=a|1;q[(c+d|0)+4>>2]=40;q[161271]=q[161386];break x}e=q[161268];if(b>>>0>>0){q[161268]=b;e=0}d=b+f|0;a=645504;A:{B:{C:{D:{E:{F:{while(1){if((d|0)!=q[a>>2]){a=q[a+8>>2];if(a){continue}break F}break}if(!(r[a+12|0]&8)){break E}}a=645504;while(1){d=q[a>>2];if(d>>>0<=c>>>0){e=d+q[a+4>>2]|0;if(e>>>0>c>>>0){break D}}a=q[a+8>>2];continue}}q[a>>2]=b;q[a+4>>2]=q[a+4>>2]+f;j=(b+8&7?-8-b&7:0)+b|0;q[j+4>>2]=g|3;b=d+(d+8&7?-8-d&7:0)|0;a=(b-j|0)-g|0;h=g+j|0;if((b|0)==(c|0)){q[161270]=h;a=q[161267]+a|0;q[161267]=a;q[h+4>>2]=a|1;break B}if(q[161269]==(b|0)){q[161269]=h;a=q[161266]+a|0;q[161266]=a;q[h+4>>2]=a|1;q[a+h>>2]=a;break B}c=q[b+4>>2];if((c&3)==1){k=c&-8;G:{if(c>>>0<=255){e=c>>>3|0;c=q[b+8>>2];d=q[b+12>>2];if((d|0)==(c|0)){m=645056,n=q[161264]&$$(-2,e),q[m>>2]=n;break G}q[c+12>>2]=d;q[d+8>>2]=c;break G}i=q[b+24>>2];f=q[b+12>>2];H:{if((f|0)!=(b|0)){c=q[b+8>>2];q[c+12>>2]=f;q[f+8>>2]=c;break H}I:{d=b+20|0;g=q[d>>2];if(g){break I}d=b+16|0;g=q[d>>2];if(g){break I}f=0;break H}while(1){c=d;f=g;d=g+20|0;g=q[d>>2];if(g){continue}d=f+16|0;g=q[f+16>>2];if(g){continue}break}q[c>>2]=0}if(!i){break G}c=q[b+28>>2];d=(c<<2)+645360|0;J:{if(q[d>>2]==(b|0)){q[d>>2]=f;if(f){break J}m=645060,n=q[161265]&$$(-2,c),q[m>>2]=n;break G}q[i+(q[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break G}}q[f+24>>2]=i;c=q[b+16>>2];if(c){q[f+16>>2]=c;q[c+24>>2]=f}c=q[b+20>>2];if(!c){break G}q[f+20>>2]=c;q[c+24>>2]=f}b=b+k|0;a=a+k|0}q[b+4>>2]=q[b+4>>2]&-2;q[h+4>>2]=a|1;q[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+645096|0;c=q[161264];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break B}c=h;d=a>>>8|0;b=0;L:{if(!d){break L}b=31;if(a>>>0>16777215){break L}e=d+1048320>>>16&8;d=d<>>16&4;g=d<>>16&2;b=(g<>>15|0)-(d|(b|e))|0;b=(b<<1|a>>>b+21&1)+28|0}q[c+28>>2]=b;q[h+16>>2]=0;q[h+20>>2]=0;c=(b<<2)+645360|0;d=q[161265];e=1<>2]=h;break M}d=a<<((b|0)==31?0:25-(b>>>1|0)|0);b=q[c>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break C}b=d>>>29|0;d=d<<1;e=(b&4)+c|0;b=q[e+16>>2];if(b){continue}break}q[e+16>>2]=h}q[h+24>>2]=c;q[h+12>>2]=h;q[h+8>>2]=h;break B}a=f+ -40|0;d=b+8&7?-8-b&7:0;h=a-d|0;q[161267]=h;d=b+d|0;q[161270]=d;q[d+4>>2]=h|1;q[(a+b|0)+4>>2]=40;q[161271]=q[161386];a=(e+(e+ -39&7?39-e&7:0)|0)+ -47|0;d=a>>>0>>0?c:a;q[d+4>>2]=27;a=q[161379];q[d+16>>2]=q[161378];q[d+20>>2]=a;a=q[161377];q[d+8>>2]=q[161376];q[d+12>>2]=a;q[161378]=d+8;q[161377]=f;q[161376]=b;q[161379]=0;a=d+24|0;while(1){q[a+4>>2]=7;b=a+8|0;a=a+4|0;if(e>>>0>b>>>0){continue}break}if((c|0)==(d|0)){break x}q[d+4>>2]=q[d+4>>2]&-2;e=d-c|0;q[c+4>>2]=e|1;q[d>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+645096|0;d=q[161264];b=1<>2]}q[a+8>>2]=c;q[b+12>>2]=c;q[c+12>>2]=a;q[c+8>>2]=b;break x}q[c+16>>2]=0;q[c+20>>2]=0;b=c;d=e>>>8|0;a=0;O:{if(!d){break O}a=31;if(e>>>0>16777215){break O}f=d+1048320>>>16&8;d=d<>>16&4;h=d<>>16&2;a=(h<>>15|0)-(d|(a|f))|0;a=(a<<1|e>>>a+21&1)+28|0}q[b+28>>2]=a;b=(a<<2)+645360|0;d=q[161265];f=1<>2]=c;q[c+24>>2]=b;break P}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);b=q[b>>2];while(1){d=b;if((e|0)==(q[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;f=d+(b&4)|0;b=q[f+16>>2];if(b){continue}break}q[f+16>>2]=c;q[c+24>>2]=d}q[c+12>>2]=c;q[c+8>>2]=c;break x}a=q[c+8>>2];q[a+12>>2]=h;q[c+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=c;q[h+8>>2]=a}a=j+8|0;break a}a=q[d+8>>2];q[a+12>>2]=c;q[d+8>>2]=c;q[c+24>>2]=0;q[c+12>>2]=d;q[c+8>>2]=a}a=q[161267];if(a>>>0<=g>>>0){break d}b=a-g|0;q[161267]=b;a=q[161270];c=a+g|0;q[161270]=c;q[c+4>>2]=b|1;q[a+4>>2]=g|3;a=a+8|0;break a}q[160942]=48;a=0;break a}Q:{if(!h){break Q}a=q[e+28>>2];d=(a<<2)+645360|0;R:{if(q[d>>2]==(e|0)){q[d>>2]=b;if(b){break R}i=$$(-2,a)&i;q[161265]=i;break Q}q[h+(q[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break Q}}q[b+24>>2]=h;a=q[e+16>>2];if(a){q[b+16>>2]=a;q[a+24>>2]=b}a=q[e+20>>2];if(!a){break Q}q[b+20>>2]=a;q[a+24>>2]=b}S:{if(c>>>0<=15){a=c+g|0;q[e+4>>2]=a|3;a=a+e|0;q[a+4>>2]=q[a+4>>2]|1;break S}q[e+4>>2]=g|3;d=e+g|0;q[d+4>>2]=c|1;q[c+d>>2]=c;if(c>>>0<=255){b=c>>>3|0;a=(b<<3)+645096|0;c=q[161264];b=1<>2]}q[a+8>>2]=d;q[b+12>>2]=d;q[d+12>>2]=a;q[d+8>>2]=b;break S}b=d;g=c>>>8|0;a=0;U:{if(!g){break U}a=31;if(c>>>0>16777215){break U}f=g+1048320>>>16&8;g=g<>>16&4;h=g<>>16&2;a=(h<>>15|0)-(g|(a|f))|0;a=(a<<1|c>>>a+21&1)+28|0}q[b+28>>2]=a;q[d+16>>2]=0;q[d+20>>2]=0;b=(a<<2)+645360|0;V:{g=1<>2]=d;break W}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);g=q[b>>2];while(1){b=g;if((q[b+4>>2]&-8)==(c|0)){break V}g=a>>>29|0;a=a<<1;f=(g&4)+b|0;g=q[f+16>>2];if(g){continue}break}q[f+16>>2]=d}q[d+24>>2]=b;q[d+12>>2]=d;q[d+8>>2]=d;break S}a=q[b+8>>2];q[a+12>>2]=d;q[b+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=b;q[d+8>>2]=a}a=e+8|0;break a}X:{if(!j){break X}a=q[b+28>>2];c=(a<<2)+645360|0;Y:{if(q[c>>2]==(b|0)){q[c>>2]=e;if(e){break Y}m=645060,n=$$(-2,a)&k,q[m>>2]=n;break X}q[j+(q[j+16>>2]==(b|0)?16:20)>>2]=e;if(!e){break X}}q[e+24>>2]=j;a=q[b+16>>2];if(a){q[e+16>>2]=a;q[a+24>>2]=e}a=q[b+20>>2];if(!a){break X}q[e+20>>2]=a;q[a+24>>2]=e}Z:{if(d>>>0<=15){a=d+g|0;q[b+4>>2]=a|3;a=a+b|0;q[a+4>>2]=q[a+4>>2]|1;break Z}q[b+4>>2]=g|3;g=b+g|0;q[g+4>>2]=d|1;q[d+g>>2]=d;if(i){c=i>>>3|0;a=(c<<3)+645096|0;e=q[161269];c=1<>2]}q[a+8>>2]=e;q[c+12>>2]=e;q[e+12>>2]=a;q[e+8>>2]=c}q[161269]=g;q[161266]=d}a=b+8|0}Da=l+16|0;return a|0}function hc(a,b,c,d,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,t=0,u=0,w=0,x=0,z=0,A=0;j=Da-864|0;Da=j;a:{b:{o=s[i>>1];if(o>>>0>40){break b}c:{switch(o-1|0){default:q[a>>2]=1;q[a+8>>2]=q[i+8>>2];break a;case 0:q[a>>2]=2;b=q[i+12>>2];q[a+8>>2]=q[i+8>>2];q[a+12>>2]=b;break a;case 1:q[a>>2]=3;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+8>>2]=q[a+8>>2];q[j+12>>2]=b;b=q[a+4>>2];q[j>>2]=q[a>>2];q[j+4>>2]=b;Bf(j+576|0,j);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 2:q[a>>2]=5;hc(j+304|0,b,c,d,q[q[i+8>>2]>>2]);u=q[j+316>>2];o=q[j+312>>2];r=q[j+304>>2];d:{if(r>>>0>1){break d}if(!(r-1)){h(+(o|0));l=e(1)|0;o=e(0)|0;u=l;r=2;break d}l=q[a>>2]==5;o=l?438240:o;r=l?5:0}hc(j+288|0,b,c,d,q[q[i+8>>2]+4>>2]);w=q[j+300>>2];t=q[j+296>>2];m=q[j+288>>2];e:{if(m>>>0>1){break e}if(!(m-1)){h(+(t|0));l=e(1)|0;t=e(0)|0;w=l;m=2;break e}l=q[a>>2]==5;t=l?438240:t;m=l?5:0}hc(j+272|0,b,c,d,q[q[i+8>>2]+8>>2]);x=q[j+284>>2];l=q[j+280>>2];p=q[j+272>>2];f:{if(p>>>0>1){break f}if(!(p-1)){h(+(l|0));x=e(1)|0;l=e(0)|0;p=2;break f}p=q[a>>2]==5;l=p?438240:l;p=p?5:0}hc(j+256|0,b,c,d,q[q[i+8>>2]+12>>2]);b=q[j+268>>2];d=q[j+264>>2];i=q[j+256>>2];g:{if(i>>>0>1){break g}if(!(i-1)){h(+(d|0));b=e(1)|0;d=e(0)|0;i=2;break g}c=q[a>>2]==5;d=c?438240:d;i=c?5:0}h:{if(!((r|0)!=2|(m|0)!=2|((p|0)!=2|(i|0)!=2))){q[j+592>>2]=l;q[j+596>>2]=x;q[j+584>>2]=t;q[j+588>>2]=w;q[j+576>>2]=o;q[j+580>>2]=u;q[j+600>>2]=d;q[j+604>>2]=b;q[a+8>>2]=j+576;break h}q[a>>2]=0}b=q[a+12>>2];q[j+24>>2]=q[a+8>>2];q[j+28>>2]=b;b=q[a+4>>2];q[j+16>>2]=q[a>>2];q[j+20>>2]=b;Bf(j+320|0,j+16|0);b=q[j+332>>2];q[a+8>>2]=q[j+328>>2];q[a+12>>2]=b;b=q[j+324>>2];q[a>>2]=q[j+320>>2];q[a+4>>2]=b;break a;case 5:q[a>>2]=6;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+40>>2]=q[a+8>>2];q[j+44>>2]=b;b=q[a+4>>2];q[j+32>>2]=q[a>>2];q[j+36>>2]=b;Bf(j+576|0,j+32|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 6:q[a>>2]=8;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+56>>2]=q[a+8>>2];q[j+60>>2]=b;b=q[a+4>>2];q[j+48>>2]=q[a>>2];q[j+52>>2]=b;Bf(j+576|0,j+48|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 3:q[a>>2]=9;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+72>>2]=q[a+8>>2];q[j+76>>2]=b;b=q[a+4>>2];q[j+64>>2]=q[a>>2];q[j+68>>2]=b;Bf(j+576|0,j- -64|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 4:q[a>>2]=4;q[a+8>>2]=q[i+8>>2];break a;case 8:i:{j:{if(d>>>0>1){break j}if(!(d-1)){if(q[i+12>>2]){break j}if(!Og(c,q[i+8>>2],a)){break i}q[a>>2]=0;break i}if(q[i+12>>2]!=1){break j}Lc(503748,80,1,q[126999]);q[a>>2]=0;break i}if(!Og(b,q[i+8>>2],a)){break i}q[a>>2]=0}b=q[a+12>>2];q[j+88>>2]=q[a+8>>2];q[j+92>>2]=b;b=q[a+4>>2];q[j+80>>2]=q[a>>2];q[j+84>>2]=b;Bf(j+576|0,j+80|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 9:if(jr(q[i+8>>2],a+8|0)){q[a>>2]=1;break a}q[a>>2]=0;break a;case 18:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];m=q[j+576>>2];q[j+848>>2]=m;q[j+852>>2]=l;k:{if((m|0)==4){if(q[j+856>>2]){hc(j+576|0,b,c,d,q[q[i+12>>2]+8>>2]);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break k}hc(j+576|0,b,c,d,q[q[i+12>>2]+12>>2]);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break k}q[a>>2]=0}a=q[j+860>>2];q[j+104>>2]=q[j+856>>2];q[j+108>>2]=a;a=q[j+852>>2];q[j+96>>2]=q[j+848>>2];q[j+100>>2]=a;Wc(j+96|0);break a;case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];q[j+848>>2]=q[j+576>>2];q[j+852>>2]=l;hc(j+576|0,b,c,d,q[i+12>>2]);b=q[j+588>>2];q[j+840>>2]=q[j+584>>2];q[j+844>>2]=b;b=q[j+580>>2];q[j+832>>2]=q[j+576>>2];q[j+836>>2]=b;q[a>>2]=4;z=a,A=kk(j+848|0,q[i>>2],j+832|0),q[z+8>>2]=A;a=q[j+860>>2];q[j+136>>2]=q[j+856>>2];q[j+140>>2]=a;a=q[j+852>>2];q[j+128>>2]=q[j+848>>2];q[j+132>>2]=a;Wc(j+128|0);a=q[j+844>>2];q[j+120>>2]=q[j+840>>2];q[j+124>>2]=a;a=q[j+836>>2];q[j+112>>2]=q[j+832>>2];q[j+116>>2]=a;Wc(j+112|0);break a;case 19:case 20:case 30:case 31:case 32:case 33:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];q[j+848>>2]=q[j+576>>2];q[j+852>>2]=l;hc(j+576|0,b,c,d,q[i+12>>2]);b=q[j+588>>2];q[j+840>>2]=q[j+584>>2];q[j+844>>2]=b;c=q[j+580>>2];b=q[j+576>>2];q[j+832>>2]=b;q[j+836>>2]=c;d=q[j+860>>2];l=d;c=q[j+856>>2];q[j+320>>2]=c;q[j+324>>2]=d;d=c;l:{m:{n:{o:{p:{i=q[j+848>>2];if(i>>>0<=1){if(!(i-1)){break n}i=0;b=b+ -5|0;if(b>>>0>3){break l}q:{switch(b-1|0){case 1:break l;case 0:break o;case 2:break p;default:break q}}q[j+320>>2]=438240;i=5;break l}f(0,c|0);f(1,l|0);k=+g();if((b|0)!=8|(i|0)!=3){break m}z=j,A=Ze(d,j+576|0),q[z+320>>2]=A;i=8;break l}z=j,A=Ze(0,j+576|0),q[z+320>>2]=A;i=8;break l}b=j+576|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=-1;q[b+4>>2]=0;q[j+320>>2]=b;i=6;break l}k=+(d|0);v[j+320>>3]=k;i=2}if((b|0)!=9|(i|0)!=2){break l}b=j+576|0;v[b+8>>3]=k;v[b>>3]=k;q[j+320>>2]=b;i=9}k=v[j+320>>3];c=q[j+844>>2];b=q[j+840>>2];r:{s:{t:{u:{v:{w:{x:{d=q[j+832>>2];if(d>>>0<=1){if(!(d-1)){break v}l=i+ -5|0;if(l>>>0>3){break t}m=438240;d=i;switch(l-1|0){case 1:break t;case 0:break w;case 2:break x;default:break r}}if((i|0)!=8|(d|0)!=3){break u}d=8;m=Ze(b,j+320|0);break r}d=8;m=Ze(0,j+320|0);break r}d=6;m=j+320|0;q[m+8>>2]=0;q[m+12>>2]=0;q[m>>2]=-1;q[m+4>>2]=0;break r}h(+(b|0));c=e(1)|0;b=e(0)|0;d=2}if((i|0)!=9|(d|0)!=2){break s}d=9;f(0,b|0);f(1,c|0);m=j+320|0;n=+g();v[m+8>>3]=n;v[m>>3]=n;break r}d=0}m=b}y:{if((d|0)==(i|0)){z:{d=i+ -2|0;if(d>>>0>6){break z}h(+k);e(1)|0;b=e(0)|0;A:{switch(d-1|0){default:b=a;B:{C:{d=o+ -31|0;if(d>>>0<=3){D:{switch(d-1|0){case 0:q[a>>2]=2;f(0,m|0);f(1,c|0);k=k- +g();break B;case 1:q[a>>2]=2;f(0,m|0);f(1,c|0);k=k*+g();break B;case 2:break D;default:break C}}q[a>>2]=2;f(0,m|0);f(1,c|0);k=k/+g();break B}q[a>>2]=0;break y}q[a>>2]=2;f(0,m|0);f(1,c|0);k=k+ +g()}v[b+8>>3]=k;n=k;if(y(k)<2147483648){b=~~k}else{b=-2147483648}if(n!=+(b|0)){break y}q[a+8>>2]=b;q[a>>2]=1;break y;case 1:c=o+ -20|0;if(c>>>0<=1){if(c-1){q[a>>2]=4;q[a+8>>2]=(b|m)!=0;break y}q[a>>2]=4;q[a+8>>2]=(m|0)!=0&(b|0)!=0;break y}q[a>>2]=0;break y;case 0:if((o|0)==31){q[a>>2]=3;b=DL(b,m);z=a,A=eb(b),q[z+8>>2]=A;La(b);if(q[a+8>>2]){break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 2:if((o|0)==33){q[a>>2]=5;c=Sa(32);if(c){HM(c,b,m);q[a+8>>2]=c;break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 3:c=o+ -31|0;if(c>>>0<=1){if(c-1){q[a>>2]=6;b=_q(b,m,832,1);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=6;b=Zq(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 4:break z;case 5:break A}}c=o+ -31|0;if(c>>>0<=1){if(c-1){q[a>>2]=8;b=FL(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=8;b=EL(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=0;break y}q[a>>2]=0;break y}q[a>>2]=0}a=q[j+860>>2];q[j+168>>2]=q[j+856>>2];q[j+172>>2]=a;a=q[j+852>>2];q[j+160>>2]=q[j+848>>2];q[j+164>>2]=a;Wc(j+160|0);a=q[j+844>>2];q[j+152>>2]=q[j+840>>2];q[j+156>>2]=a;a=q[j+836>>2];q[j+144>>2]=q[j+832>>2];q[j+148>>2]=a;Wc(j+144|0);break a;case 34:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;E:{if((c|0)==4){q[a>>2]=4;q[a+8>>2]=!q[j+856>>2];break E}q[a>>2]=0}a=q[j+860>>2];q[j+184>>2]=q[j+856>>2];q[j+188>>2]=a;a=q[j+852>>2];q[j+176>>2]=q[j+848>>2];q[j+180>>2]=a;Wc(j+176|0);break a;case 36:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;F:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break F}q[a>>2]=1;k=v[j+856>>3];if(!!(k>=0)){if(y(k)<2147483648){q[a+8>>2]=~~k;break F}q[a+8>>2]=-2147483648;break F}n=-k;G:{if(y(n)<2147483648){b=~~n;break G}b=-2147483648}d=+(b|0)==n;k=1-k;H:{if(y(k)<2147483648){c=~~k;break H}c=-2147483648}q[a+8>>2]=0-(d?b:c);break F}q[a>>2]=0}a=q[j+860>>2];q[j+200>>2]=q[j+856>>2];q[j+204>>2]=a;a=q[j+852>>2];q[j+192>>2]=q[j+848>>2];q[j+196>>2]=a;Wc(j+192|0);break a;case 37:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;I:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break I}q[a>>2]=1;k=v[j+856>>3];if(!!(k>=0)){n=k;if(y(k)<2147483648){b=~~k}else{b=-2147483648}c=n==+(b|0);k=k+1;if(y(k)<2147483648){q[a+8>>2]=c?b:~~k;break I}q[a+8>>2]=c?b:-2147483648;break I}k=-k;J:{if(y(k)<2147483648){b=~~k;break J}b=-2147483648}q[a+8>>2]=0-b;break I}q[a>>2]=0}a=q[j+860>>2];q[j+216>>2]=q[j+856>>2];q[j+220>>2]=a;a=q[j+852>>2];q[j+208>>2]=q[j+848>>2];q[j+212>>2]=a;Wc(j+208|0);break a;case 38:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;K:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break K}q[a>>2]=1;k=v[j+856>>3]+.5;if(!!(k>=0)){if(y(k)<2147483648){q[a+8>>2]=~~k;break K}q[a+8>>2]=-2147483648;break K}n=-k;L:{if(y(n)<2147483648){b=~~n;break L}b=-2147483648}d=+(b|0)==n;k=1-k;M:{if(y(k)<2147483648){c=~~k;break M}c=-2147483648}q[a+8>>2]=0-(d?b:c);break K}q[a>>2]=0}a=q[j+860>>2];q[j+232>>2]=q[j+856>>2];q[j+236>>2]=a;a=q[j+852>>2];q[j+224>>2]=q[j+848>>2];q[j+228>>2]=a;Wc(j+224|0);break a;case 7:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 35:break b;case 39:break c}}hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;N:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break N}q[a>>2]=1;k=v[j+856>>3];n=-k;O:{if(y(n)<2147483648){b=~~n;break O}b=-2147483648}c=k>=0;d=0-b|0;if(y(k)<2147483648){b=~~k}else{b=-2147483648}q[a+8>>2]=c?b:d;break N}q[a>>2]=0}a=q[j+860>>2];q[j+248>>2]=q[j+856>>2];q[j+252>>2]=a;a=q[j+852>>2];q[j+240>>2]=q[j+848>>2];q[j+244>>2]=a;Wc(j+240|0);break a}q[a>>2]=0}Da=j+864|0}function BC(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=Da-384|0;Da=f;q[b>>2]=1;a:{if(!q[b+136>>2]){d=_d(q[q[b+96>>2]+4>>2],14744);if(!d){a=11;break a}q[b+136>>2]=d}if(!q[b+320>>2]){C=b,D=_d(q[q[b+96>>2]+4>>2],14750),q[C+320>>2]=D}a=Xa(a,0);if(a){break a}m=q[b+100>>2];q[f+108>>2]=0;i=q[b+104>>2];a=q[b+136>>2];Na(f+8|0,0,100);n[q[q[a+4>>2]>>2]](f+8|0,0,0,m);q[f+80>>2]=i;k=q[i+8>>2];b:{c:{d:{d=mb(i,31);e:{if(d){break e}a=Ra(q[i+32>>2],14778,31);jb(i);if(a){q[f+4>>2]=2;break b}u=f+106|0;l=f+84|0;v=f+112|9;while(1){j=q[i+8>>2];a=0;d=q[i+4>>2]-q[i+8>>2]|0;g=d>>>0<265?d:265;d=Wb(i,f+112|0,g);if(d){break e}while(1){f:{e=((f+112|0)+a|0)+g|0;o[e|0]=0;h=a+g|0;if(f+112>>>0>>0){g=h+u|0;d=r[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Ra(a,14810,9)){break g}g=10;break f}h:{d=r[a+1|0];if((d|0)!=115){break h}if(Ra(a,14820,6)){break h}g=7;break f}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(h>>>0<9){q[f+4>>2]=3;break b}a=e+ -9|0;d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o[f+120|0]=r[a+8|0];q[f+112>>2]=e;q[f+116>>2]=d;j=j+256|0;a=9;d=q[i+4>>2]-q[i+8>>2]|0;g=d>>>0<256?d:256;d=Wb(i,v,g);if(!d){continue}break e}break}d=Xa(i,k);if(d){break e}g=((g-(f+112|0)|0)+a|0)+j|0;a=g-k|0;d=Bc(i,a,l);if(d){break e}q[f+92>>2]=g;h=q[f+84>>2];q[f+12>>2]=h;q[f+104>>2]=-1;q[f+8>>2]=h;q[f+88>>2]=a;q[f+16>>2]=a+h;n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);a=q[f+8>>2];n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);d=q[f+8>>2];e=q[f+16>>2];j=e+ -6|0;if(d>>>0<=j>>>0){x=e+ -9|0;while(1){e=a;a=d;d=q[f+20>>2];if(d){break e}i:{if(r[a|0]!=83|a>>>0>x>>>0){break i}if(Ra(a,14810,9)){break i}if(Ra(h,14827,5)){break c}a=Sb(e,0,10);if((a|0)>=0){break d}q[f+4>>2]=3;break b}j:{if(r[a+1|0]!=115){break j}if(Ra(a,14820,6)){break j}q[f+4>>2]=2;break b}n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);h=e;d=q[f+8>>2];if(d>>>0<=j>>>0){continue}break}}zb(i,l);d=Xa(i,g);if(!d){continue}break}}q[f+4>>2]=d;break b}q[f+96>>2]=a}q[f+4>>2]=0;q[f+20>>2]=0;a=q[f+84>>2];q[f+8>>2]=a;g=q[f+88>>2]+a|0;q[f+16>>2]=g;h=b+164|0;i=b+312|0;k=b+196|0;l=b+140|0;x=g+ -1|0;while(1){q[f+8>>2]=a;n[q[f+36>>2]](f+8|0);d=q[f+8>>2];e=(d>>>0>>0?d:x)+ -17|0;if(a>>>0>>0){while(1){k:{if(r[a|0]!=37){break k}if(Ra(a,14833,17)|q[b+300>>2]<1){break k}q[f+104>>2]=q[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}l:{m:{n:{o:{p:{q:{if(d>>>0>=g>>>0){break q}n[q[f+40>>2]](f+8|0);a=q[f+8>>2];if(q[f+20>>2]|a>>>0>=g>>>0){break q}if(r[d|0]!=47|d+2>>>0>=g>>>0){break m}u=d+1|0;j=a-u|0;if(j+ -1>>>0>20){break m}v=r[u|0];d=14864;a=16772;if(j>>>0<2){break p}while(1){e=d;r:{if((v|0)!=r[a|0]){break r}d=1;if((Wa(a)|0)!=(j|0)){break r}while(1){if(r[d+u|0]!=r[a+d|0]){break r}d=d+1|0;if((j|0)!=(d|0)){continue}break}j=q[e+8>>2];if((j|0)==11){n[q[e+12>>2]](b,f+8|0);a=q[f+20>>2];break n}s:{t:{a=q[e+4>>2];if(a>>>0>5){break t}d=k;u:{switch(a-1|0){case 1:d=i;break s;case 2:d=h;break s;case 4:break s;case 0:case 3:break t;default:break u}}d=l;break s}a=q[f+104>>2];if((a|0)<0|(a|0)>=q[b+300>>2]){break o}d=q[b+304>>2]+w(a,252)|0}q[f+112>>2]=d;if(j+ -9>>>0>=2){a=n[q[f+72>>2]](f+8|0,e,f+112|0,0,0)|0;break n}a=n[q[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break n}d=e+36|0;a=q[e+36>>2];if(a){continue}break}break m}if(!q[b+300>>2]){a=3;break l}a=q[f+20>>2];q[f+4>>2]=a;if(a|(c|0)<0){break b}d=gb(m,40,f+4|0);q[b+328>>2]=d;if(q[f+4>>2]){break b}v:{e=b;a=q[f+96>>2];w:{if(a){h=b;d=q[q[b+104>>2]+4>>2]-q[f+92>>2]|0;if(a>>>0>d>>>0){q[f+96>>2]=d;a=d}j=gb(m,a,f+4|0);q[h+324>>2]=j;if(q[f+4>>2]){break b}a=q[f+96>>2];i=q[b+104>>2];h=Xa(i,q[f+92>>2]);if(h){break v}x:{if((a|0)<1){break x}m=a+j|0;l=1;d=f+112|0;k=d;while(1){if(d>>>0>=k>>>0){d=q[i+8>>2];a=q[i+4>>2]-d|0;if(!a){h=160;break v}h=Wb(i,f+112|0,a>>>0<256?a:256);if(h){break v}k=(q[i+8>>2]+(f+112|0)|0)-d|0;d=f+112|0}a=r[d|0];g=a+ -48|0;y:{z:{if(g>>>0<10){break z}A:{if((a+ -97&255)>>>0>=6){if((a+ -65&255)>>>0<6){break A}h=160;if(a>>>0>62){break v}v=1;g=0;B:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30: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:break v;case 61:break y;default:break B}}d=d+1|0;continue}g=a+ -87|0;break z}g=a+ -55|0}v=0}C:{if(l&255){o[j|0]=g<<4;break C}o[j|0]=r[j|0]+g;j=j+1|0}if(v){break x}d=d+1|0;l=1-l|0;if(j>>>0>>0){continue}break}}q[f+4>>2]=0;d=q[b+324>>2];h=q[f+96>>2];a=q[b+328>>2];q[a+32>>2]=0;q[a+8>>2]=0;q[a+4>>2]=h;q[a>>2]=d;q[a+20>>2]=0;q[a+24>>2]=0;a=0;break w}a=q[b+104>>2];h=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=h;h=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=h;h=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=h;h=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=h;h=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=h;a=q[f+92>>2]}q[e+308>>2]=a;D:{i=q[b+288>>2];if((i|0)>=0){k=q[b+292>>2];if((k|0)>0){break D}}q[f+4>>2]=3;break b}if(!((k|0)<5?(i|0)<=4:0)){q[f+4>>2]=3;break b}u=q[b+328>>2];d=q[u+4>>2]-a|0;l=q[b+300>>2];if((l|0)>=1){m=q[b+304>>2];g=0;while(1){a=m+w(g,252)|0;if(t[a+112>>2]>=1001){q[a+112>>2]=7}if(t[a+116>>2]>=1001){q[a+116>>2]=1}E:{e=q[a+248>>2];if((e|0)>=0){h=q[a+240>>2];if(!h|e){break E}}q[f+4>>2]=3;break b}if((e|0)>=5){q[f+4>>2]=3;break b}a=q[a+244>>2];if(d>>>0>>0){q[f+4>>2]=3;break b}if(!(!e|h>>>0<=(d-a>>>0)/(e>>>0)>>>0?(h|0)>=0:0)){q[f+4>>2]=3;break b}g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=q[b+284>>2];if(d>>>0>>0){q[f+4>>2]=3;break b}e=i+k|0;if(!(!e|t[b+296>>2]<=(d-a>>>0)/(e>>>0)>>>0)){q[f+4>>2]=3;break b}z=q[b+136>>2];g=0;i=q[b+100>>2];j=Oa(i,8,0,l,0,f+112|0);q[b+316>>2]=j;F:{if(q[f+112>>2]){break F}d=q[b+300>>2];if((d|0)<1){break F}x=0;h=0;while(1){G:{e=q[b+304>>2]+w(x,252)|0;m=q[e+240>>2];if(m){A=q[e+4>>2];y=m+1|0;if(y>>>0>h>>>0){a=m+4&-4;if(a>>>0<=h>>>0){q[f+112>>2]=160;break G}g=Oa(i,4,h,a,g,f+112|0);h=a;if(q[f+112>>2]){break G}}a=Xa(u,q[e+244>>2]+q[b+308>>2]|0);q[f+112>>2]=a;if(a){break G}a=mb(u,w(q[e+248>>2],y));q[f+112>>2]=a;if(a){break G}l=q[e+248>>2];H:{if(!(l&255)){a=0;while(1){q[(a<<2)+g>>2]=0;a=a+1|0;if(a>>>0<=m>>>0){continue}break}break H}B=(l+ -1&255)+1|0;k=q[u+32>>2];v=0;while(1){a=k;d=0;e=l;while(1){d=r[a|0]|d<<8;a=a+1|0;e=e+ -1|0;if(e&255){continue}break}q[(v<<2)+g>>2]=d;k=k+B|0;v=v+1|0;if(v>>>0<=m>>>0){continue}break}}jb(u);a=1;e=q[g>>2];d=e;I:{while(1){k=d;d=q[(a<<2)+g>>2];if(k>>>0<=d>>>0){a=a+1|0;if(a>>>0<=m>>>0){continue}break I}break}q[f+112>>2]=3;break G}a=q[(m<<2)+g>>2];if(a>>>0>q[u+4>>2]-q[b+308>>2]>>>0){q[f+112>>2]=3;break G}C=j,D=Oa(i,4,0,y,0,f+112|0),q[C+4>>2]=D;if(q[f+112>>2]){break G}a=a-e|0;d=gb(i,a,f+112|0);q[q[j+4>>2]>>2]=d;if(q[f+112>>2]){break G}d=Xa(u,q[g>>2]+q[b+308>>2]|0);q[f+112>>2]=d;if(d){break G}a=Wb(u,q[q[j+4>>2]>>2],a);q[f+112>>2]=a;if(a){break G}a=1;k=q[g>>2];d=k;while(1){e=a<<2;l=e+q[j+4>>2]|0;e=q[e+g>>2];q[l>>2]=q[l+ -4>>2]+(e-d|0);d=e;a=a+1|0;if(a>>>0<=m>>>0){continue}break}J:{if((A|0)<0){break J}n[q[z+16>>2]](q[q[j+4>>2]>>2],q[g+4>>2]-k|0,4330);if(m>>>0<2){break J}a=1;k=m>>>0>1?m:1;e=g+4|0;while(1){l=q[q[j+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;n[q[z+16>>2]](l,q[d>>2]-q[e>>2]|0,4330);e=d;if((a|0)!=(k|0)){continue}break}}q[j>>2]=m;d=q[b+300>>2]}j=j+8|0;x=x+1|0;if((x|0)<(d|0)){continue}break F}break}a=q[b+316>>2];if(!a){break F}if(q[b+300>>2]>=1){e=0;while(1){d=i;h=e<<3;k=q[(h+a|0)+4>>2];if(k){a=q[k>>2];if(a){n[q[i+8>>2]](i,a)}q[q[(h+q[b+316>>2]|0)+4>>2]>>2]=0;a=q[b+316>>2]}a=q[(a+h|0)+4>>2];if(a){n[q[d+8>>2]](d,a)}a=q[b+316>>2];q[(h+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){n[q[i+8>>2]](i,a)}q[b+316>>2]=0}if(g){n[q[i+8>>2]](i,g)}q[f+4>>2]=q[f+112>>2];break b}q[f+4>>2]=h;break b}while(1){K:{if((v|0)!=r[a|0]){break K}if((Wa(a)|0)!=(j|0)){break K}j=q[d+8>>2];if((j|0)==11){n[q[d+12>>2]](b,f+8|0);a=q[f+20>>2];break n}L:{M:{a=q[d+4>>2];if(a>>>0>5){break M}e=l;N:{switch(a-1|0){case 2:e=h;break L;case 1:e=i;break L;case 0:case 3:break M;case 4:break N;default:break L}}e=k;break L}a=q[f+104>>2];if((a|0)<0|(a|0)>=q[b+300>>2]){break o}e=q[b+304>>2]+w(a,252)|0}q[f+112>>2]=e;if(j+ -9>>>0<=1){a=n[q[f+76>>2]](f+8|0,d,f+112|0,0,0)|0;break n}a=n[q[f+72>>2]](f+8|0,d,f+112|0,0,0)|0;break n}a=q[d+36>>2];d=d+36|0;if(a){continue}break}break m}q[f+20>>2]=160;q[f+4>>2]=160;break b}q[f+20>>2]=a;if(a){break l}}a=q[f+8>>2];continue}break}q[f+4>>2]=a}if(q[f+84>>2]){zb(q[f+80>>2],f+84|0)}n[q[f+32>>2]](f+8|0);a=q[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}q[b+36>>2]=0;q[b+4>>2]=0;q[b+16>>2]=q[b+296>>2];a=q[b+8>>2];q[b+8>>2]=a|2065;if(r[b+188|0]){q[b+8>>2]=a|2069}q[b+24>>2]=14759;d=q[b+176>>2];q[b+20>>2]=d;O:{if(d){a=q[b+172>>2];if(!a){break O}e=r[a|0];if(!e){break O}while(1){e=e&255;c=r[d|0];P:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break P}Q:{R:{e=e+ -32|0;if(e>>>0>13){break R}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break R;default:break Q}}e=c+ -32|0;if(e>>>0>13){if(c){break O}q[b+24>>2]=a;break O}S:{switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break O;default:break S}}d=d+1|0;break P}a=a+1|0}e=r[a|0];if(e){continue}break}break O}a=q[b+140>>2];if(!a){break O}q[b+20>>2]=a}c=q[b+184>>2]!=0;q[b+12>>2]=c;a=q[b+180>>2];T:{if(!a){break T}if(Ta(a,14767)){if(Ta(a,14772)){break T}}q[b+12>>2]=c|2}q[b+28>>2]=0;q[b+32>>2]=0;q[b+52>>2]=q[b+196>>2]>>16;a=q[b+200>>2]>>16;q[b+56>>2]=a;q[b+60>>2]=q[b+204>>2]+65535>>16;c=q[b+208>>2]+65535>>16;q[b- -64>>2]=c;e=s[b+68>>1];if(!e){p[b+68>>1]=1e3;e=1e3}p[b+72>>1]=a;p[b+70>>1]=c;q[b+80>>2]=s[b+190>>1]|s[b+192>>1]<<16;d=b;a=c-a|0;b=(w(e,12)>>>0)/10|0;p[d+74>>1]=b<<16>>16<(a|0)?a:b;a=0}Da=f+384|0;return a|0}function pE(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0;f=Da-1536|0;Da=f;q[b>>2]=1;m=ld(q[b+96>>2],7210,1);q[b+488>>2]=m;k=_d(q[q[b+96>>2]+4>>2],7227);q[b+492>>2]=k;a:{if(!k){a=11;break a}y=b,z=_d(q[q[b+96>>2]+4>>2],7201),q[y+552>>2]=z;i=q[b+492>>2];Na(f+8|0,0,380);q[b+544>>2]=0;q[b+536>>2]=-1;q[b+540>>2]=-1;q[b+284>>2]=1;q[b+348>>2]=3932;q[b+172>>2]=4;q[b+276>>2]=2596864;q[b+280>>2]=7;d=q[b+104>>2];e=q[b+100>>2];n[q[q[i+4>>2]>>2]](f+8|0,0,0,e);q[f+92>>2]=0;q[f+96>>2]=0;o[f+99|0]=0;o[f+100|0]=0;o[f+101|0]=0;o[f+102|0]=0;q[f+84>>2]=0;q[f+88>>2]=0;q[f+80>>2]=d;a=to(d,7260,14);q[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=to(d,7275,10);q[f+4>>2]=a;if(a){break d}}a=Xa(d,0);q[f+4>>2]=a;if(a){break d}h=ib(d,f+1528|0);e:{f:{g:{h:{a=q[f+1528>>2];if(!a){if((h+32767&65535)>>>0>=2){q[f+4>>2]=0;break g}g=Ec(d,f+1528|0);a=q[f+1528>>2];if(!a){break h}}q[f+4>>2]=a;break d}q[f+4>>2]=0;if((h|0)==32769){break f}}a=Xa(d,0);q[f+4>>2]=a;if(a){break d}g=q[d+4>>2];break e}o[f+100|0]=1}i:{if(!q[d+20>>2]){a=q[d+8>>2];h=q[d>>2];o[f+101|0]=1;q[f+88>>2]=g;q[f+84>>2]=a+h;a=Ib(d,g);q[f+4>>2]=a;if(a){break d}g=q[f+88>>2];break i}h=gb(e,g,f+4|0);q[f+84>>2]=h;a=q[f+4>>2];if(a){break d}a=Wb(d,h,g);q[f+4>>2]=a;if(a){break d}q[f+88>>2]=g}d=q[f+84>>2];q[f+12>>2]=d;q[f+8>>2]=d;q[f+16>>2]=d+g;q[f>>2]=0;break c}if(r[f+101|0]){q[f>>2]=a;break b}a=q[f+84>>2];if(a){n[q[e+8>>2]](e,a)}d=0;q[f+84>>2]=0;a=q[f+4>>2];q[f>>2]=a;if(a){break b}g=q[f+88>>2]}a=so(b,f+8|0,d,g);q[f>>2]=a;if(a){break b}j=q[f+24>>2];d=q[f+80>>2];q[f+4>>2]=0;j:{k:{l:{m:{n:{o:{p:{if(r[f+100|0]){h=q[d+8>>2];q[f+96>>2]=0;while(1){e=ib(d,f+1528|0);a=q[f+1528>>2];if(a){break l}if((e+32767&65535)>>>0>=2){q[f+4>>2]=0;break p}g=Ec(d,f+1528|0);a=q[f+1528>>2];if(a){break l}q[f+4>>2]=0;if((e|0)!=32770){break p}q[f+96>>2]=g+q[f+96>>2];a=Ib(d,g);q[f+4>>2]=a;if(!a){continue}break}break k}e=q[f+84>>2];g=q[f+88>>2];d=e+g|0;a=e;while(1){q:{r:{if(r[a|0]!=101|a+9>>>0>=d>>>0|(r[a+1|0]!=101|r[a+2|0]!=120)){break r}if(r[a+3|0]!=101){break r}if(r[a+4|0]==99){break q}}a=a+1|0;if(a>>>0>=d>>>0){break o}continue}a=a+10|0;q[f+16>>2]=a;q[f+8>>2]=e;s:{if(a>>>0>e>>>0){while(1){t:{if(r[e|0]!=101|e+5>>>0>=a>>>0|(r[e+1|0]!=101|r[e+2|0]!=120)){break t}if(r[e+3|0]!=101){break t}if(r[e+4|0]==99){break s}}n[q[f+40>>2]](f+8|0);if(!q[f+20>>2]){n[q[f+36>>2]](f+8|0);e=q[f+8>>2];if(e>>>0>>0){continue}}break}g=q[f+88>>2];e=q[f+84>>2]}d=e+g|0;if(a>>>0>=d>>>0){break o}continue}break}q[f+16>>2]=q[f+84>>2]+q[f+88>>2];n[q[f+40>>2]](f+8|0);h=q[f+16>>2];d=q[f+8>>2];a=h-d|0;g=be(d,10,a);e=1;u:{if(!g){break u}e=g>>>0>be(d,13,a)>>>0}if(d>>>0>=h>>>0){break o}e=(e|0)!=0;while(1){v:{a=r[d|0];if(!((a|0)==9|(a|0)==32|(a|0)==10)){if(!(e&(a|0)==13)){break v}}d=d+1|0;if((h|0)!=(d|0)){continue}break o}break}g=q[f+84>>2];e=q[f+88>>2]+(g-d|0)|0;w:{if(r[f+101|0]){g=gb(j,e+1|0,f+4|0);q[f+92>>2]=g;a=q[f+4>>2];if(a){break k}q[f+96>>2]=e;break w}q[f+96>>2]=e;q[f+92>>2]=g;o[f+102|0]=1;q[f+84>>2]=0;q[f+88>>2]=0}x:{if(d+3>>>0>=h>>>0){break x}y:{a=r[d|0];if(a+ -48>>>0<10){break y}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break y}}z:{a=r[d+1|0];if(a+ -48>>>0<10){break z}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break z}}A:{a=r[d+2|0];if(a+ -48>>>0<10){break A}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break A}}B:{a=r[d+3|0];if(a+ -48>>>0<10){break B}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break B}}q[f+8>>2]=d;n[q[q[i+4>>2]+24>>2]](f+8|0,g,e,f+1528|0,0)|0;a=q[f+1528>>2];q[f+96>>2]=a;o[a+q[f+92>>2]|0]=0;break m}sb(g,d,e);break m}if(q[f+96>>2]){break n}}a=3;break l}a=Xa(d,h);q[f+4>>2]=a;if(a){break k}y=f,z=gb(j,q[f+96>>2],f+4|0),q[y+92>>2]=z;a=q[f+4>>2];if(a){break k}q[f+96>>2]=0;a=ib(d,f+1528|0);g=q[f+1528>>2];C:{D:{if(g){break D}while(1){if((a+32767&65535)>>>0>1){g=0;break D}e=Ec(d,f+1528|0);g=q[f+1528>>2];if(g){break D}q[f+4>>2]=0;if((a&65535)!=32770){break C}a=Wb(d,q[f+92>>2]+q[f+96>>2]|0,e);q[f+4>>2]=a;if(a){break k}q[f+96>>2]=e+q[f+96>>2];a=ib(d,f+1528|0);g=q[f+1528>>2];if(!g){continue}break}}q[f+4>>2]=g}q[f+4>>2]=0}n[q[i+16>>2]](q[f+92>>2],q[f+96>>2],55665);a=3;if(t[f+96>>2]>3){break j}}q[f+4>>2]=a}q[f>>2]=a;break b}o[q[f+92>>2]]=32;o[q[f+92>>2]+1|0]=32;o[q[f+92>>2]+2|0]=32;o[q[f+92>>2]+3|0]=32;a=q[f+92>>2];q[f+12>>2]=a;q[f+8>>2]=a;d=q[f+96>>2];q[f+16>>2]=d+a;e=q[f+4>>2];q[f>>2]=e;if(e){break b}a=so(b,f+8|0,a,d);q[f>>2]=a;if(a){break b}o[b+176|0]=r[b+176|0]&254;E:{F:{d=q[b+532>>2];if(!d){break F}if(q[d>>2]!=1<>2]){Bg(b);d=q[b+532>>2];if(!d){break F}}a=q[d+416>>2];if(!(!a|(a|0)==q[d+4>>2])){q[d+416>>2]=0}G:{H:{if(q[d>>2]){e=q[d+4>>2];if(e){break H}}Bg(b);d=q[b+532>>2];if(!d){break F}e=q[d+4>>2];if(!e){break G}}a=0;while(1){if(r[(w(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break G}break}Bg(b);if(!q[b+532>>2]){break F}}a=q[b+544>>2];if(!a){break E}y=b,z=Oa(q[b+100>>2],4,0,a,0,f),q[y+548>>2]=z;if(!q[f>>2]){break E}q[b+544>>2]=0;break b}q[b+544>>2]=0}i=q[f+160>>2];q[b+420>>2]=i;if(q[f+336>>2]){q[b+404>>2]=q[f+320>>2];q[b+392>>2]=q[f+324>>2];q[b+408>>2]=q[f+348>>2];q[b+412>>2]=q[f+352>>2];q[b+416>>2]=q[f+376>>2];q[f+376>>2]=0;q[f+336>>2]=0}if(!(q[q[b+128>>2]+52>>2]|q[f+228>>2])){q[f>>2]=3}e=0;q[f+228>>2]=0;q[b+396>>2]=q[f+216>>2];q[b+428>>2]=q[f+240>>2];q[b+432>>2]=q[f+244>>2];q[b+400>>2]=q[f+164>>2];q[b+424>>2]=q[f+188>>2];q[f+188>>2]=0;q[f+164>>2]=0;if(q[b+368>>2]==1){g=0;h=q[f+124>>2];I:{if((h|0)<1){break I}if((i|0)>=1){d=0;while(1){j=d<<2;u=q[j+q[f+132>>2]>>2];v=d<<1;p[v+q[b+384>>2]>>1]=0;q[j+q[b+388>>2]>>2]=7252;J:{if(!u){break J}x=q[b+424>>2];a=0;while(1){l=q[(a<<2)+x>>2];if(Ta(u,l)){a=a+1|0;if((i|0)!=(a|0)){continue}break J}break}p[q[b+384>>2]+v>>1]=a;q[j+q[b+388>>2]>>2]=l;if(!Ta(7252,l)){break J}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e}d=d+1|0;if((h|0)!=(d|0)){continue}break}break I}a=0;while(1){p[q[b+384>>2]+(a<<1)>>1]=0;q[q[b+388>>2]+(a<<2)>>2]=7252;a=a+1|0;if((h|0)!=(a|0)){continue}break}}q[b+380>>2]=g;q[b+376>>2]=e;q[b+372>>2]=q[f+104>>2]}if(t[b+280>>2]>=1001){q[b+280>>2]=7}if(t[b+284>>2]<1001){break b}q[b+284>>2]=1}a=q[f+24>>2];d=q[f+156>>2];if(d){n[d](f+108|0)}d=q[f+264>>2];if(d){n[d](f+216|0)}d=q[f+212>>2];if(d){n[d](f+164|0)}d=q[f+316>>2];if(d){n[d](f+268|0)}d=q[f+372>>2];if(d){n[d](f+324|0)}ei(q[f+376>>2],a);d=q[f+376>>2];if(d){n[q[a+8>>2]](a,d)}q[f+376>>2]=0;a=q[f+24>>2];d=a;e=q[f+92>>2];if(e){n[q[d+8>>2]](d,e)}q[f+92>>2]=0;if(!r[f+101|0]){d=q[f+84>>2];if(d){n[q[a+8>>2]](a,d)}q[f+84>>2]=0}n[q[f+32>>2]](f+8|0);a=q[f>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}q[b+4>>2]=0;q[b+16>>2]=q[b+420>>2];c=q[b+8>>2];a=c|2577;q[b+8>>2]=a;if(r[b+156|0]){a=c|2581;q[b+8>>2]=a}e=q[b+532>>2];if(e){q[b+8>>2]=a|256}q[b+24>>2]=0;d=q[b+144>>2];q[b+20>>2]=d;K:{L:{if(d){a=q[b+140>>2];if(!a){break L}c=r[a|0];if(!c){a=7233;break K}while(1){M:{N:{g=c&255;c=r[d|0];if((g|0)==(c|0)){a=a+1|0;break N}O:{g=g+ -32|0;if(g>>>0>13){break O}P:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break O;default:break P}}a=a+1|0;break M}g=c+ -32|0;if(g>>>0>13){if(c){break L}break K}switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break L;default:break N}}d=d+1|0}c=r[a|0];if(c){continue}break}a=7233;break K}a=q[b+364>>2];if(!a){break L}q[b+20>>2]=a}a=q[b+148>>2];a=a?a:7233}q[b+24>>2]=a;c=q[b+152>>2]!=0;q[b+12>>2]=c;a=q[b+148>>2];Q:{if(!a){break Q}if(Ta(a,7241)){if(Ta(a,7246)){break Q}}q[b+12>>2]=c|2}q[b+28>>2]=0;q[b+32>>2]=0;q[b+52>>2]=q[b+464>>2]>>16;a=q[b+468>>2]>>16;q[b+56>>2]=a;g=q[b+472>>2]+65535>>16;q[b+60>>2]=g;d=q[b+476>>2]+65535>>16;q[b- -64>>2]=d;c=s[b+68>>1];if(!c){p[b+68>>1]=1e3;c=1e3}p[b+76>>1]=g;p[b+72>>1]=a;p[b+70>>1]=d;a=d-a|0;c=(w(c,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(a|0)?a:c;d=0;a=e;e=q[b+492>>2];if(!n[q[q[e+12>>2]>>2]](f+8|0,b,0,0,q[b+424>>2],a,0,0,84)){o[f+76|0]=0;o[f+78|0]=1;q[f+1372>>2]=q[b+404>>2];q[f+1376>>2]=q[b+408>>2];q[f+1380>>2]=q[b+412>>2];q[f+1384>>2]=q[b+416>>2];q[f+1504>>2]=q[b+548>>2];q[f+1508>>2]=q[b+544>>2];if(q[b+420>>2]>=1){a=0;while(1){o[f+4|0]=0;R:{if(Ch(f+8|0,a,f+1528|0,f+4|0)){break R}c=q[q[q[f+12>>2]+128>>2]+52>>2];if(!c){break R}n[q[q[c>>2]+4>>2]](q[c+4>>2],f+1528|0)}c=q[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}n[q[q[e+12>>2]+4>>2]](f+8|0);p[b+76>>1]=(((d>>31)+d|0)+32768&-65536)>>>16}p[b+78>>1]=s[b+74>>1];q[b+80>>2]=s[b+158>>1]|s[b+160>>1]<<16;if(!m){a=0;break a}d=q[k+32>>2];q[f+8>>2]=b;q[f+12>>2]=1970170211;q[f+16>>2]=65539;a=md(q[d+12>>2],0,f+8|0,0);S:{T:{if(!a){break T}c=a&255;if((c|0)==163){break T}if((c|0)!=7){break S}}p[f+16>>1]=7;a=q[b+368>>2]+ -1|0;if(a>>>0>3){a=0;break S}U:{V:{switch(a-1|0){case 0:p[f+18>>1]=0;q[f+12>>2]=1094995778;break U;case 2:p[f+18>>1]=1;q[f+12>>2]=1094992453;d=d+4|0;break U;default:p[f+18>>1]=2;q[f+12>>2]=1094992451;d=d+8|0;break U;case 1:break V}}d=d+12|0;p[f+18>>1]=3;q[f+12>>2]=1818326065}a=0;b=q[d>>2];if(!b){break S}a=md(b,0,f+8|0,0)}Da=f+1536|0;return a|0}Da=f+1536|0;return a|0}function NK(a,b,c,d){a=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=Da-16|0;Da=i;e=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{j=a+72|0;f=r[j+r[b|0]|0];if(f>>>0<=10){p:{switch(f-2|0){case 2:break j;case 3:break m;case 4:break n;case 5:break o;case 0:break p;case 1:break f;case 7:break g;case 8:break h;default:break l}}f=b+1|0;g=c-f|0;if((g|0)<1){e=-1;break a}e=r[r[f|0]+j|0]+ -5|0;if(e>>>0>24){break b}h=2;q:{r:{s:{t:{u:{v:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=3;if(n[q[a+340>>2]](a,f)){break u}break b;case 0:e=-2;if((g|0)<3){break a}h=4;if(!n[q[a+344>>2]](a,f)){break b}break u;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 12:case 13:case 14:case 15:case 17:case 19:case 20:case 21:case 22:case 23:break b;case 11:break r;case 9:break s;case 10:break t;case 16:case 18:break u;case 1:break v}}e=-2;if((g|0)<4){break a}h=5;if(!n[q[a+348>>2]](a,f)){break b}}b=b+h|0;g=c-b|0;if((g|0)>=1){break q}e=-1;break a}f=b+2|0;if((c-f|0)<1){e=-1;break a}w:{e=r[r[b+2|0]+j|0]+ -20|0;if(e>>>0>7){break w}x:{switch(e-1|0){case 6:e=uq(a,b+3|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break w;default:break x}}e=-1;a=b+3|0;if((c-a|0)<6){break a}if(r[b+3|0]!=67){break c}if(r[b+4|0]!=68){a=b+4|0;break c}if(r[b+5|0]!=65){a=b+5|0;break c}if(r[b+6|0]!=84){a=b+6|0;break c}if(r[b+7|0]!=65){a=b+7|0;break c}e=8;if(r[b+8|0]!=91){a=b+8|0;break c}q[d>>2]=b+9;break a}q[d>>2]=f;e=0;break a}e=tq(a,b+2|0,c,d);break a}f=b+2|0;g=c-f|0;if((g|0)<1){e=-1;break a}e=r[r[f|0]+j|0]+ -5|0;y:{if(e>>>0>24){break y}h=3;z:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=4;if(n[q[a+340>>2]](a,f)){break d}break y;case 0:e=-2;if((g|0)<3){break a}h=5;if(!n[q[a+344>>2]](a,f)){break y}break d;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 17:case 19:case 20:case 21:case 22:case 23:break y;case 1:break z;case 16:case 18:break d}}e=-2;if((g|0)<4){break a}h=6;if(n[q[a+348>>2]](a,f)){break d}}q[d>>2]=f;e=0;break a}h=0;while(1){f=r[r[b|0]+j|0]+ -5|0;if(f>>>0>24){break e}e=1;A:{B:{C:{D:{switch(f-1|0){default:if((g|0)<2){e=-2;break a}e=2;if(n[q[a+328>>2]](a,b)){break A}break e;case 0:if((g|0)<3){e=-2;break a}e=3;if(!n[q[a+332>>2]](a,b)){break e}break A;case 1:if((g|0)<4){e=-2;break a}e=4;if(!n[q[a+336>>2]](a,b)){break e}break A;case 17:if(h){break e}f=b+1|0;g=c-f|0;if((g|0)<1){e=-1;break a}k=r[r[f|0]+j|0]+ -5|0;E:{if(k>>>0>24){break E}h=1;e=2;F:{switch(k-1|0){default:if((g|0)<2){e=-2;break a}e=3;if(n[q[a+340>>2]](a,f)){break A}break E;case 0:if((g|0)<3){e=-2;break a}e=4;if(!n[q[a+344>>2]](a,f)){break E}break A;case 16:case 18: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 17:case 19:case 20:case 21:case 22:case 23:break E;case 1:break F}}if((g|0)<4){e=-2;break a}e=5;if(n[q[a+348>>2]](a,f)){break A}}q[d>>2]=f;e=0;break a;case 16:case 18:case 19:case 20:case 21:break A;case 5:break B;case 11:break C;case 3:case 4:case 15:break D;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 22:case 23:break e}}e=b+1|0;g=c-e|0;if((g|0)<1){e=-1;break a}f=b;while(1){b=e;e=r[r[f+1|0]+j|0]+ -5|0;if(e>>>0>24){break e}h=2;G:{H:{I:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=3;if(!n[q[a+340>>2]](a,b)){break e}break H;case 0:e=-2;if((g|0)<3){break a}h=4;if(!n[q[a+344>>2]](a,b)){break e}break H;case 5:break B;case 11:break C;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break e;case 3:case 4:case 15:break G;case 16:case 18:break H;case 1:break I}}e=-2;if((g|0)<4){break a}h=5;if(!n[q[a+348>>2]](a,b)){break e}}b=f+h|0;q[i+12>>2]=b;e=-1;g=c-b|0;if((g|0)<1){break a}h=0;while(1){f=i;J:{K:{L:{M:{N:{O:{k=r[r[b|0]+j|0]+ -5|0;if(k>>>0>24){break O}P:{Q:{switch(k-1|0){default:if((g|0)<2){e=-2;break a}if(!n[q[a+328>>2]](a,b)){break O}b=b+2|0;break M;case 0:if((g|0)<3){e=-2;break a}if(!n[q[a+332>>2]](a,b)){break O}b=b+3|0;break M;case 1:if((g|0)<4){e=-2;break a}if(!n[q[a+336>>2]](a,b)){break O}b=b+4|0;break M;case 17:if(h){break O}f=b+1|0;q[i+12>>2]=f;h=c-f|0;if((h|0)<1){break a}R:{g=r[r[f|0]+j|0]+ -5|0;if(g>>>0>24){break R}S:{switch(g-1|0){case 16:case 18:b=b+2|0;break K;default:if((h|0)<2){e=-2;break a}if(!n[q[a+340>>2]](a,f)){break R}b=b+3|0;break K;case 0:if((h|0)<3){e=-2;break a}if(!n[q[a+344>>2]](a,f)){break R}b=b+4|0;break K;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 17:case 19:case 20:case 21:case 22:case 23:break R;case 1:break S}}if((h|0)<4){e=-2;break a}if(!n[q[a+348>>2]](a,f)){break R}b=b+5|0;break K}q[d>>2]=f;e=0;break a;case 16:case 18:case 19:case 20:case 21:break N;case 2:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 22:case 23:break O;case 8:break P;case 3:case 4:case 15:break Q}}b=b+1|0;q[i+12>>2]=b;if((c-b|0)<1){break a}while(1){f=r[r[b|0]+j|0]+ -9|0;if(f>>>0>12){break O}T:{switch(f-2|0){case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break O;case 3:break P;default:break T}}b=b+1|0;q[i+12>>2]=b;if((c-b|0)>0){continue}break}break a}f=b+1|0;q[i+12>>2]=f;if((c-f|0)<1){break a}g=r[r[f|0]+j|0];if((g|1)==13){break L}while(1){b=f;f=g&255;if(f>>>0>21|!(1<>2]=f;if((c-f|0)<=0){break a}g=r[r[f|0]+j|0];if((g|1)!=13){continue}break}break L}q[d>>2]=b;e=0;break a}b=b+1|0}q[f+12>>2]=b;break J}b=b+2|0;q[i+12>>2]=b;h=c-b|0;if((h|0)<1){break a}U:{while(1){k=r[r[b|0]+j|0];if((k|0)!=(g&255)){f=i;V:{W:{X:{if(k>>>0>8){break X}Y:{switch(k-3|0){case 2:if((h|0)<2){e=-2;break a}if(n[q[a+352>>2]](a,b)){break U}b=b+2|0;break W;case 3:if((h|0)<3){e=-2;break a}if(n[q[a+356>>2]](a,b)){break U}b=b+3|0;break W;case 4:if((h|0)<4){e=-2;break a}if(n[q[a+360>>2]](a,b)){break U}b=b+4|0;break W;case 1:break X;case 0:break Y;default:break U}}b=hi(a,b+1|0,c,i+12|0);if((b|0)>=1){b=q[i+12>>2];break V}e=b;if(b){break a}q[d>>2]=q[i+12>>2];e=0;break a}b=b+1|0}q[f+12>>2]=b}h=c-b|0;if((h|0)>0){continue}break a}break}f=b+1|0;q[i+12>>2]=f;if((c-f|0)<1){break a}Z:{_:{h=r[r[f|0]+j|0]+ -9|0;if(h>>>0>12){break _}$:{aa:{ba:{switch(h-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break _;case 6:break $;case 0:break aa;default:break ba}}b=b+2|0;q[i+12>>2]=b;h=f;g=c-b|0;if((g|0)<1){break a}while(1){f=b;b=r[r[b|0]+j|0]+ -5|0;if(b>>>0>24){break _}ca:{switch(b-1|0){case 16:case 18:b=h+2|0;break Z;default:if((g|0)<2){e=-2;break a}if(!n[q[a+340>>2]](a,f)){break _}b=f+2|0;break Z;case 0:if((g|0)<3){e=-2;break a}if(!n[q[a+344>>2]](a,f)){break _}b=f+3|0;break Z;case 1:if((g|0)<4){e=-2;break a}if(!n[q[a+348>>2]](a,f)){break _}b=f+4|0;break Z;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break _;case 11:break $;case 5:break aa;case 3:case 4:case 15:break ca}}b=f+1|0;q[i+12>>2]=b;h=f;g=c-b|0;if((g|0)>0){continue}break}break a}e=1;q[d>>2]=f+1;break a}a=f+1|0;q[i+12>>2]=a;if((c-a|0)<1){break a}if(r[a|0]!=62){q[d>>2]=a;e=0;break a}q[d>>2]=f+2;e=3;break a}q[d>>2]=f;e=0;break a}q[i+12>>2]=b;h=0;break J}q[d>>2]=b;e=0;break a}q[i+12>>2]=b;h=1}g=c-b|0;if((g|0)>0){continue}break}break a}f=b;e=b+1|0;g=c-e|0;if((g|0)>0){continue}break}e=-1;break a}e=-1;a=b+1|0;if((c-a|0)<1){break a}if(r[b+1|0]!=62){q[d>>2]=a;e=0;break a}q[d>>2]=b+2;e=4;break a}q[d>>2]=b+1;e=2;break a}b=b+e|0;g=c-b|0;if((g|0)>0){continue}break}e=-1;break a}f=b+1|0;break i}e=-2;if((c-b|0)<4){break a}if(n[q[a+360>>2]](a,b)){break l}f=b+4|0;break i}e=-2;if((c-b|0)<3){break a}if(n[q[a+356>>2]](a,b)){break l}f=b+3|0;break i}e=-2;if((c-b|0)<2){break a}if(!n[q[a+352>>2]](a,b)){break k}}q[d>>2]=b;e=0;break a}f=b+2|0;break i}e=-5;f=b+1|0;if((c-f|0)<1){break a}if(r[f|0]!=93){break i}h=b+2|0;if((c-h|0)<1){break a}if(r[b+2|0]!=62){break i}q[d>>2]=h;e=0;break a}da:{ea:{e=c-f|0;if((e|0)>=1){while(1){b=f;f=r[r[b|0]+j|0];fa:{if(f>>>0<=10){ga:{switch(f-4|0){case 1:if((e|0)<2){break ea}if(n[q[a+352>>2]](a,b)){break ea}f=b+2|0;break fa;case 2:if((e|0)<3){break ea}if(n[q[a+356>>2]](a,b)){break ea}f=b+3|0;break fa;case 3:if((e|0)<4){break ea}if(n[q[a+360>>2]](a,b)){break ea}f=b+4|0;break fa;case 0:break ga;default:break ea}}if((e|0)<2){break ea}f=b+1|0;if(r[b+1|0]!=93){break fa}if((e|0)<3){break ea}if(r[b+2|0]!=62){break fa}q[d>>2]=b+2;e=0;break a}f=b+1|0}e=c-f|0;if((e|0)>0){continue}break}}q[d>>2]=f;break da}q[d>>2]=b}e=6;break a}q[d>>2]=b+1;e=7;break a}a=b+1|0;if((c-a|0)<1){e=-3;break a}q[d>>2]=r[r[b+1|0]+j|0]==10?b+2|0:a;e=7;break a}e=hi(a,b+1|0,c,d);break a}q[d>>2]=b;e=0;break a}b=b+h|0;g=c-b|0;if((g|0)<1){e=-1;break a}ha:{ia:{ja:{while(1){f=r[r[b|0]+j|0]+ -5|0;if(f>>>0>24){break ha}e=1;ka:{la:{switch(f-1|0){default:if((g|0)<2){e=-2;break a}e=2;if(n[q[a+328>>2]](a,b)){break ka}break ha;case 0:if((g|0)<3){e=-2;break a}e=3;if(!n[q[a+332>>2]](a,b)){break ha}break ka;case 2:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 22:case 23:break ha;case 5:break ia;case 3:case 4:case 15:break ja;case 16:case 17:case 18:case 19:case 20:case 21:break ka;case 1:break la}}if((g|0)<4){e=-2;break a}e=4;if(!n[q[a+336>>2]](a,b)){break ha}}b=b+e|0;g=c-b|0;if((g|0)>0){continue}break}e=-1;break a}e=b+1|0;if((c-e|0)<1){e=-1;break a}while(1){ma:{na:{a=r[r[b+1|0]+j|0]+ -9|0;if(a>>>0>12){break na}oa:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break na;case 0:break oa;default:break ma}}q[d>>2]=b+2;e=5;break a}q[d>>2]=e;e=0;break a}b=e;e=b+1|0;if((c-e|0)>0){continue}break}e=-1;break a}q[d>>2]=b+1;e=5;break a}q[d>>2]=b;e=0;break a}q[d>>2]=a;e=0;break a}q[d>>2]=f;e=0}Da=i+16|0;return e|0}function Ug(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,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,V=0;g=Da-352|0;Da=g;o=v[d>>3];m=v[c+24>>3];t=v[d+8>>3];s=v[c+16>>3];I=o*m-t*s;z=v[d+32>>3];H=v[d+24>>3];l=o*z-t*H;F=v[d+40>>3];p=I+l*F;G=v[d+16>>3];K=H*m-z*s;B=l*G-K;A=o*s+t*m;C=H*s+z*m;a:{if(!(l<0)){i=33;h=l;r=2;break a}p=-p;B=-B;h=-l;r=1}N=A+C;b:{c:{if(!(N>0)){break c}o=o*H+t*z;d:{if(e&r){z=C+(o*G+F);t=A+(G+o*F);if(!(zs^1|G*(t*m+p)>s^1){break e}f:{if(f){q[a+56>>2]=r|q[a+56>>2];break f}x=q[b+4>>2];u=q[b>>2];w=r&(q[a+60>>2]^-1);p=v[a+80>>3]*v[a+16>>3];g:{if(y(p)<2147483648){n=~~p;break g}n=-2147483648}j=w&1;p=v[a+88>>3]*v[a+24>>3];h:{if(y(p)<2147483648){k=~~p;break h}k=-2147483648}if(j){q[g+116>>2]=k+x;q[g+112>>2]=n+u;D=q[a>>2];j=q[g+116>>2];q[g+104>>2]=q[g+112>>2];q[g+108>>2]=j;j=0;if(!qb(D,g+104|0,1)){break b}}if(!(w&2)){break f}q[g+116>>2]=x-k;q[g+112>>2]=u-n;n=q[a+4>>2];k=q[g+116>>2];q[g+96>>2]=q[g+112>>2];q[g+100>>2]=k;j=0;if(!qb(n,g+96|0,1)){break b}}q[a+60>>2]=r|q[a+60>>2];i:{if(!(t<0^1?!(z<0):0)){x=q[b+4>>2];h=v[a+24>>3]*0;j:{if(y(h)<2147483648){n=~~h;break j}n=-2147483648}u=r&1;h=v[a+16>>3]*0;k:{if(y(h)<2147483648){k=~~h;break k}k=-2147483648}w=q[b>>2];if(u){q[g+116>>2]=n+x;q[g+112>>2]=k+w;D=q[a>>2];j=q[g+116>>2];q[g+72>>2]=q[g+112>>2];q[g+76>>2]=j;j=0;if(!qb(D,g+72|0,1)){break b}}D=r&2;if(D){q[g+116>>2]=x-n;q[g+112>>2]=w-k;n=q[a+4>>2];k=q[g+116>>2];q[g+64>>2]=q[g+112>>2];q[g+68>>2]=k;j=0;if(!qb(n,g- -64|0,1)){break b}}x=q[b+28>>2];h=v[a+24>>3]*0;l:{if(y(h)<2147483648){n=~~h;break l}n=-2147483648}h=v[a+16>>3]*0;m:{if(y(h)<2147483648){k=~~h;break m}k=-2147483648}w=q[b+24>>2];if(u){q[g+116>>2]=n+x;q[g+112>>2]=k+w;u=q[a>>2];j=q[g+116>>2];q[g+56>>2]=q[g+112>>2];q[g+60>>2]=j;j=0;if(!qb(u,g+56|0,1)){break b}}if(!D){break i}q[g+116>>2]=x-n;q[g+112>>2]=w-k;n=q[a+4>>2];k=q[g+116>>2];q[g+48>>2]=q[g+112>>2];q[g+52>>2]=k;j=0;if(qb(n,g+48|0,1)){break i}break b}h=z/h;p=h*v[d+8>>3]*v[a+24>>3];n:{if(y(p)<2147483648){n=~~p;break n}n=-2147483648}j=r&1;x=q[b+4>>2];h=h*v[d>>3]*v[a+16>>3];o:{if(y(h)<2147483648){k=~~h;break o}k=-2147483648}u=q[b>>2];if(j){q[g+116>>2]=n+x;q[g+112>>2]=k+u;w=q[a>>2];j=q[g+116>>2];q[g+88>>2]=q[g+112>>2];q[g+92>>2]=j;j=0;if(!qb(w,g+88|0,1)){break b}}if(!(r&2)){break i}q[g+116>>2]=x-n;q[g+112>>2]=u-k;n=q[a+4>>2];k=q[g+116>>2];q[g+80>>2]=q[g+112>>2];q[g+84>>2]=k;j=0;if(!qb(n,g+80|0,1)){break b}}n=(r^-1)&e;if(n){break e}b=q[d+28>>2];q[a+80>>2]=q[d+24>>2];q[a+84>>2]=b;b=q[d+36>>2];q[a+88>>2]=q[d+32>>2];q[a+92>>2]=b;j=1;break b}r=e^r;break d}n=I<0?i|64:i;i=K<0?n^65:n;k=i&64;p:{q:{r:{s:{t:{u:{if(!!(o+B<1)){v:{if(!k){break v}i=(o<0?642:130)^i;if(!(z>h)){break v}i=i^10}n=k?1:2;break u}n=!k;if(k){break t}if(!(o>0)){i=i^193;break u}i=i^705}if(!(o+p<1)){break s}if(!k){break q}break r}if(o+p<1){i=i^65;break r}i=i^1;break p}if(k){i=i^64;break p}if(!(o>0)){i=i^320;break p}i=i^1344;break p}i=(o<0?1284:260)^i;if(!(t>h)){break q}i=i^20}n=n+1|0}r=((n|0)>2?r:0)^e}else{r=e}n=e}w:{if(!r){break w}H=o+ -1;B=(I+K)/N;O=B*B;P=H+H+O*3;h=l*B;J=h+h;Q=P-J;p=o+1;t=p*O;m=l*l;R=p*t;F=m*3+R*3;G=p*(h*6);s=F-G;h=E(p*.5);h=h*1.5*(h+1);L=(o+4)*J;M=m+m-t*6;S=L+M;z=h*S+(s+s);L=M-L;F=G+F;G=h*L+(F+F);M=(m-o*t)*7.2;m=o*((R-m)*3.6);t=h*M+(m+m);J=J+P;H=H*4+o*(O*3.6);h=((s-h*(h*Q))*z+((F-h*(h*J))*G+((m-h*(h*H))*t+0)))/(h*(z*z+(G*G+(t*t+0)))+1e-9);s=Q+h*(S+s*h);t=s*s;s=J+h*(L+F*h);m=H+h*(M+m*h);if(!(t+(s*s+(m*m+0))>3])){break w}m=l*h;s=p*h+ -1;p=B*s;h=m+p;p=p-m;e=i&32;k=e>>>5|0?2:1;x:{if(!(k&r)){m=v[d+40>>3];s=v[d+16>>3];break x}B=e?-l:l;j=s*(B+B)>3];t=e?-p:p;j=s-t<0?j|2:j;z=e?-h:h;m=v[d+40>>3];e=z+m<0?j|4:j;e=B+(A+s)-o*z<0?e|8:e;if(!(((o*t+(B+(C+m))<0?e|16:e)^i)&i>>>6)){break x}r=(k^-1)&r;if(!r){break w}}t=I+I;B=v[a+152>>3];A=A+A;if(!(y(t+p*3*s)>2];l=v[d+8>>3];o=v[d+32>>3];u=q[b>>2];A=v[d>>3];C=v[d+24>>3];T=r^-1;q[a+60>>2]=T&q[a+60>>2];m=v[a+80>>3]*v[a+16>>3];y:{if(y(m)<2147483648){e=~~m;break y}e=-2147483648}x=r&1;m=v[a+88>>3]*v[a+24>>3];z:{if(y(m)<2147483648){k=~~m;break z}k=-2147483648}if(x){q[g+116>>2]=i+k;q[g+112>>2]=e+u;w=q[a>>2];j=q[g+116>>2];q[g+40>>2]=q[g+112>>2];q[g+44>>2]=j;j=0;if(!qb(w,g+40|0,3)){break b}}w=r&2;if(w){q[g+116>>2]=i-k;q[g+112>>2]=u-e;e=q[a+4>>2];r=q[g+116>>2];q[g+32>>2]=q[g+112>>2];q[g+36>>2]=r;j=0;if(!qb(e,g+32|0,3)){break b}}m=A+p*l;u=q[b+12>>2];l=(l-p*A)*v[a+24>>3];A:{if(y(l)<2147483648){r=~~l;break A}r=-2147483648}l=m*v[a+16>>3];B:{if(y(l)<2147483648){k=~~l;break B}k=-2147483648}D=q[b+8>>2];if(x){i=q[a>>2];j=q[i>>2];e=q[i+4>>2];if(j>>>0>=e>>>0){j=0;q[160942]=0;e=e<<1;U=i,V=qc(q[i+16>>2],e,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=e;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=k+D;q[j+4>>2]=r+u;q[i>>2]=q[i>>2]+1}if(w){i=q[a+4>>2];j=q[i>>2];e=q[i+4>>2];if(j>>>0>=e>>>0){j=0;q[160942]=0;e=e<<1;U=i,V=qc(q[i+16>>2],e,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=e;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=D-k;q[j+4>>2]=u-r;q[i>>2]=q[i>>2]+1}l=C+h*o;u=q[b+20>>2];h=(o-h*C)*v[a+24>>3];C:{if(y(h)<2147483648){e=~~h;break C}e=-2147483648}l=l*v[a+16>>3];D:{if(y(l)<2147483648){r=~~l;break D}r=-2147483648}D=q[b+16>>2];if(x){i=q[a>>2];j=q[i>>2];k=q[i+4>>2];if(j>>>0>=k>>>0){j=0;q[160942]=0;k=k<<1;U=i,V=qc(q[i+16>>2],k,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=k;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=r+D;q[j+4>>2]=e+u;q[i>>2]=q[i>>2]+1}if(w){k=q[a+4>>2];j=q[k>>2];i=q[k+4>>2];if(j>>>0>=i>>>0){j=0;q[160942]=0;i=i<<1;U=k,V=qc(q[k+16>>2],i,8),q[U+16>>2]=V;if(q[160942]){break b}q[k+4>>2]=i;j=q[k>>2]}j=q[k+16>>2]+(j<<3)|0;q[j>>2]=D-r;q[j+4>>2]=u-e;q[k>>2]=q[k>>2]+1}e=n&T;if(e){break c}b=q[d+28>>2];q[a+80>>2]=q[d+24>>2];q[a+84>>2]=b;b=q[d+36>>2];q[a+88>>2]=q[d+32>>2];q[a+92>>2]=b;j=1;break b}e=n}n=q[b+12>>2];r=q[b+8>>2];j=q[b>>2];x=q[b+24>>2];k=q[b+16>>2];i=q[b+4>>2];u=q[b+20>>2];w=u+q[b+28>>2]|0;q[g+332>>2]=w>>1;u=(n+u|0)+2|0;w=u+w|0;q[g+324>>2]=w>>2;n=i+n|0;i=n+u|0;D=i>>2;q[g+308>>2]=D;i=(i+w|0)+ -1>>3;q[g+316>>2]=i;x=k+x|0;q[g+328>>2]=x>>1;j=j+r|0;q[g+296>>2]=j>>1;q[g+300>>2]=n>>1;n=(k+r|0)+2|0;r=n+x|0;q[g+320>>2]=r>>2;n=j+n|0;w=n>>2;q[g+304>>2]=w;x=(n+r|0)+ -1>>3;q[g+312>>2]=x;n=q[b+4>>2];r=q[b>>2];q[g+288>>2]=r;q[g+292>>2]=n;k=q[b+28>>2];q[g+336>>2]=q[b+24>>2];q[g+340>>2]=k;h=v[c>>3]*.5;v[g+208>>3]=h;l=v[c+8>>3]*.5;v[g+216>>3]=l;o=v[c+24>>3];C=v[c+16>>3];m=v[c+32>>3]*.5;v[g+272>>3]=m;p=v[c+40>>3];t=l;l=o*.5;A=(t+l)*.5;v[g+232>>3]=A;o=p*.5;v[g+280>>3]=o;p=(l+o)*.5;v[g+264>>3]=p;l=(A+p)*.5;v[g+248>>3]=l;t=h;h=C*.5;o=(t+h)*.5;v[g+224>>3]=o;C=(h+m)*.5;v[g+256>>3]=C;h=(o+C)*.5;v[g+240>>3]=h;k=g+240|0;u=g+312|0;m=E(h*h+l*l);s=v[a+128>>3];if(!!(m>2];q[g+112>>2]=q[d>>2];q[g+116>>2]=b;b=q[d+12>>2];q[g+120>>2]=q[d+8>>2];q[g+124>>2]=b;v[g+128>>3]=v[d+16>>3]*.5;b=q[d+36>>2];q[g+192>>2]=q[d+32>>2];q[g+196>>2]=b;b=q[d+28>>2];q[g+184>>2]=q[d+24>>2];q[g+188>>2]=b;v[g+200>>3]=v[d+40>>3]*.5;o=o+h;v[g+224>>3]=o;h=C+h;v[g+256>>3]=h;p=p+l;v[g+264>>3]=p;l=A+l;v[g+232>>3]=l;q[k>>2]=0;q[k+4>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;A=E(o*o+l*l);b=A>2];q[g+152>>2]=q[d+16>>2];q[g+156>>2]=c;c=q[d+12>>2];q[g+144>>2]=q[d+8>>2];q[g+148>>2]=c;c=q[d+4>>2];q[g+136>>2]=q[d>>2];q[g+140>>2]=c;break E}v[g+152>>3]=A;t=l;l=1/A;v[g+144>>3]=t*l;v[g+136>>3]=o*l}l=E(h*h+p*p);F:{if(!!(l>2];q[g+176>>2]=q[d+40>>2];q[g+180>>2]=c;c=q[d+36>>2];q[g+168>>2]=q[d+32>>2];q[g+172>>2]=c;c=q[d+28>>2];q[g+160>>2]=q[d+24>>2];q[g+164>>2]=c;break F}v[g+176>>3]=l;o=1/l;v[g+168>>3]=p*o;v[g+160>>3]=h*o}G:{if(!!b){q[a+60>>2]=q[a+60>>2]&(e^-1);h=v[a+80>>3]*v[a+16>>3];H:{if(y(h)<2147483648){b=~~h;break H}b=-2147483648}d=n;f=e&1;h=v[a+88>>3]*v[a+24>>3];I:{if(y(h)<2147483648){c=~~h;break I}c=-2147483648}if(f){q[g+348>>2]=c+d;q[g+344>>2]=b+r;f=q[a>>2];n=q[g+348>>2];q[g+24>>2]=q[g+344>>2];q[g+28>>2]=n;j=0;if(!qb(f,g+24|0,1)){break b}}if(!(e&2)){break G}q[g+348>>2]=d-c;q[g+344>>2]=r-b;b=q[a+4>>2];c=q[g+348>>2];q[g+16>>2]=q[g+344>>2];q[g+20>>2]=c;j=0;if(qb(b,g+16|0,1)){break G}break b}j=0;if(!Ug(a,g+288|0,g+208|0,g+112|0,e,f)){break b}}j=0;if(!kg(a,w,D,v[g+160>>3],v[g+168>>3],e)){break b}J:{if(!!(l>3])){q[a+60>>2]=q[a+60>>2]&(e^-1);l=v[a+80>>3]*v[a+16>>3];K:{if(y(l)<2147483648){b=~~l;break K}b=-2147483648}d=e&1;l=v[a+88>>3]*v[a+24>>3];L:{if(y(l)<2147483648){c=~~l;break L}c=-2147483648}if(d){q[g+348>>2]=c+i;q[g+344>>2]=b+x;d=q[a>>2];f=q[g+348>>2];q[g+8>>2]=q[g+344>>2];q[g+12>>2]=f;if(!qb(d,g+8|0,1)){break b}}if(!(e&2)){break J}q[g+348>>2]=i-c;q[g+344>>2]=x-b;a=q[a+4>>2];b=q[g+348>>2];q[g>>2]=q[g+344>>2];q[g+4>>2]=b;if(qb(a,g,1)){break J}break b}if(!Ug(a,u,k,g+160|0,e,0)){break b}}j=1;break b}b=q[d+4>>2];q[g+112>>2]=q[d>>2];q[g+116>>2]=b;b=q[d+12>>2];q[g+120>>2]=q[d+8>>2];q[g+124>>2]=b;o=v[d+16>>3];t=l;l=1/m;v[g+144>>3]=t*l;v[g+152>>3]=m;v[g+136>>3]=h*l;v[g+128>>3]=o*.5;b=q[d+36>>2];q[g+168>>2]=q[d+32>>2];q[g+172>>2]=b;b=q[d+28>>2];q[g+160>>2]=q[d+24>>2];q[g+164>>2]=b;v[g+176>>3]=v[d+40>>3]*.5;j=0;if(!Ug(a,g+288|0,g+208|0,g+112|0,e,f)){break b}j=Ug(a,u,k,g+136|0,e,0)}Da=g+352|0;return j}function zA(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;u=Da-16|0;Da=u;if(f){q[f>>2]=q[a+276>>2]}a:{if(q[a+92>>2]<0){break a}h=q[d>>2];if(!(!h|(q[e>>2]?e:0))){q[a+92>>2]=-20;break a}b:{if(!q[a+48>>2]){q[a+20>>2]=q[b>>2];q[a+16>>2]=q[c>>2];g=1;break b}q[a+16>>2]=a+40;g=2}m=a+8|0;y=h?e:0;G=a+824|0;A=a+1168|0;B=a+624|0;C=a+152|0;D=a+136|0;v=a+120|0;H=a+252|0;I=a+248|0;E=a+576|0;J=a+572|0;F=a+40|0;c:while(1){d:{e:{e=g+ -1|0;f:{if(e>>>0<=1){if(e-1){break d}if(q[a+96>>2]){g=sh(a,d,y,f,1);if((g|0)<0){break f}}e=q[a+48>>2];if(e){if(!q[a+20>>2]){q[a+48>>2]=0;q[a+20>>2]=q[b>>2];q[a+16>>2]=q[c>>2];g=1;continue}if(!q[b>>2]){q[a+92>>2]=2;g=2;break a}o[e+F|0]=r[q[c>>2]];g=1;e=q[a+48>>2]+1|0;q[a+20>>2]=e;q[a+48>>2]=e;q[c>>2]=q[c>>2]+1;q[b>>2]=q[b>>2]+ -1;continue}e=q[a+16>>2];q[c>>2]=e;d=q[a+20>>2];q[b>>2]=d;g=2;if(!d){break f}h=0;while(1){o[h+F|0]=r[e|0];h=q[a+48>>2]+1|0;q[a+48>>2]=h;e=q[c>>2]+1|0;q[c>>2]=e;d=q[b>>2]+ -1|0;q[b>>2]=d;if(d){continue}break}break f}if(!q[a+48>>2]){break e}q[a+48>>2]=0}q[a+92>>2]=g;g=g+ -1>>>0<3?g:0;break a}h=q[a+12>>2];e=32-h|0;d=e>>>3|0;i=d+q[a+20>>2]|0;q[a+20>>2]=i;v=q[a+16>>2]-d|0;q[a+16>>2]=v;d=a;e=e&-8;if((e|0)!=32){f=q[m>>2]<>2]=f;q[a+12>>2]=e+h;q[b>>2]=i;q[c>>2]=v;q[a+92>>2]=g;g=g+ -1>>>0<3?g:0;break a}g=1;e=q[a>>2];if(e>>>0>26){continue}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:{switch(e-1|0){case 18:e=q[a+4>>2];g=q[((e<<2)+a|0)+204>>2];break j;case 1:e=q[a+564>>2];break q;case 21:g=q[a+204>>2];break E;case 5:i=q[a+4>>2];break F;case 11:i=q[a+184>>2];if((i|0)<1){break n}g=q[a+12>>2];while(1){H:{if(32-g>>>0>7){h=g;break H}e=q[a+20>>2];while(1){if(!e){g=2;continue c}k=q[a+8>>2]>>>8|0;q[a+8>>2]=k;j=q[a+16>>2];l=r[j|0];e=e+ -1|0;q[a+20>>2]=e;h=g+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;q[a+8>>2]=k|l<<24;k=40-g|0;g=h;if(k>>>0<8){continue}break}}e=i+ -1|0;q[a+184>>2]=e;g=h+8|0;q[a+12>>2]=g;h=(i|0)>1;i=e;if(h){continue}break}break n;case 20:break h;case 19:break i;case 16:break l;case 3:break o;case 2:break p;case 0:break r;case 17:break s;case 10:break t;case 25:break v;case 13:break w;case 12:case 14:case 15:break x;case 6:case 7:case 8:case 9:break y;case 24:break z;case 23:break C;case 22:break D;case 4:break G;default:break g}}h=q[a+12>>2];I:{if(32-h>>>0>=6){j=q[m>>2];break I}g=q[a+20>>2];e=h;while(1){if(!g){g=2;continue c}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;k=q[a+16>>2];j=r[k|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=k+1;j=i|j<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<6){continue}break}}q[a+12>>2]=h+6;e=j>>>h|0;h=e&3;q[a+240>>2]=h;q[a+244>>2]=(e>>>2&15)<>2]](q[a+32>>2],q[a+204>>2])|0;q[a+580>>2]=e;g=-21;if(!e){continue}q[a>>2]=6;q[a+4>>2]=0;i=0}g=q[a+204>>2];if((i|0)<(g|0)){while(1){h=q[a+12>>2];J:{if(32-h>>>0>=2){j=q[a+8>>2];break J}g=q[a+20>>2];e=h;while(1){if(!g){break u}k=q[a+8>>2]>>>8|0;q[a+8>>2]=k;j=q[a+16>>2];l=r[j|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;j=k|l<<24;q[a+8>>2]=j;k=40-e|0;e=h;if(k>>>0<2){continue}break}}q[a+12>>2]=h+2;o[q[a+580>>2]+i|0]=j>>>h&3;i=i+1|0;g=q[a+204>>2];if((i|0)<(g|0)){continue}break}}q[a>>2]=22}g=In(g<<6,J,E,a);if((g|0)!=1){continue}q[a+592>>2]=0;q[a+596>>2]=0;q[a+616>>2]=0;q[a+620>>2]=0;q[a+608>>2]=0;q[a+612>>2]=0;q[a+600>>2]=0;q[a+604>>2]=0;l=q[a+204>>2];if(l){e=q[E>>2];i=0;while(1){h=i<<6;k=r[h+e|0];g=0;j=0;while(1){j=k^r[e+(g+h|0)|0]|j|k^r[e+(h+(g|1)|0)|0]|k^r[e+(h+(g|2)|0)|0]|k^r[e+(h+(g|3)|0)|0];t=g>>>0<60;g=g+4|0;if(t){continue}break}if(!j){h=(i>>>3&536870908)+a|0;q[h+592>>2]=q[h+592>>2]|1<<(i&31)}i=i+1|0;if((l|0)!=(i|0)){continue}break}}q[a>>2]=23}g=q[a+244>>2];e=g+16|0;i=q[a+240>>2];k=i+1|0;K:{if(!(r[a+560|0]&32)){e=e+(24<>>0>2147483643){break L}l=(2147483644-g>>>i|0)+4|0;j=z(l>>>1|0);j=((l>>>31-j&1)-(j<<1)|0)+60|0;h=e;if(!j){break L}h=(g+(-1<>2]<<2,I,H,a);if((g|0)!=1){continue}if(dj(a,v,256,256,q[a+572>>2])&dj(a,D,704,704,q[a+208>>2])&dj(a,C,e,h,q[a+248>>2])&1){break B}q[a+92>>2]=-22;g=0;break a}h=q[a+4>>2];if(h>>>0<=2){e=v;M:{switch(h-1|0){case 0:e=D;break A;case 1:break M;default:break A}}e=C;break A}q[a+92>>2]=-31;g=0;break a}q[a>>2]=24;q[a+4>>2]=0;h=0;e=v}if(q[a+624>>2]==1){i=q[a+2412>>2]}else{g=q[e+4>>2];q[a+2412>>2]=0;q[a+2416>>2]=g;q[a+624>>2]=1;i=0}if((i|0)>1]){g=q[a+2416>>2];while(1){g=rh(s[e+8>>1],s[e+10>>1],g,u+12|0,a);if((g|0)!=1){continue c}h=q[a+2412>>2];q[q[e>>2]+(h<<2)>>2]=q[a+2416>>2];g=q[u+12>>2];h=h+1|0;q[a+2412>>2]=h;g=q[a+2416>>2]+(g<<2)|0;q[a+2416>>2]=g;if((h|0)>1]){continue}break}h=q[a+4>>2]}q[a+624>>2]=0;g=1;q[a+4>>2]=h+1;if((h|0)<2){continue}q[a>>2]=25}e=q[a+220>>2];h=q[a+576>>2]+(e<<6)|0;q[a+112>>2]=h;q[a+176>>2]=q[((e>>>3&536870908)+a|0)+592>>2]>>>(e&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[h|0]<<2)>>2];e=r[e+q[a+580>>2]|0];q[a+116>>2]=q[a+252>>2];q[a+108>>2]=((e&3)<<9)+153696;q[a+104>>2]=q[q[a+136>>2]>>2];g=-27;if(!Hn(a)){continue}j=s[a+162>>1];l=q[a+240>>2];e=0;g=16;h=1;i=0;k=q[a+244>>2];if(k){while(1){o[g+B|0]=0;e=e+1|0;q[(g<<2)+A>>2]=e;g=g+1|0;if((e|0)!=(k|0)){continue}break}g=k+16|0}if(g>>>0>>0){while(1){t=k+((i+2<>2]=t+e;g=g+1|0;if(!(e>>>l)){continue}break}h=h+i|0;i=i^1;if(g>>>0>>0){continue}break}}q[a>>2]=7}g=yA(a);if((g|0)!=2){continue}g=xA(a);continue}g=sh(a,d,y,f,0);if((g|0)!=1){continue}wA(a);if(q[a+64>>2]==1<>2]){q[a+60>>2]=q[a+56>>2]}e=q[a>>2]+ -15|0;if(e>>>0<=1){if(e-1){if(!q[a+184>>2]){break n}q[a>>2]=7;g=1;continue}q[a>>2]=10;g=1;continue}if(!q[a+4>>2]){if(!q[a+184>>2]){break n}q[a>>2]=9;g=1;continue}q[a>>2]=8;g=1;continue}g=-10;if(q[a+184>>2]<0){continue}GA(a);if(!(o[a+560|0]&1)){q[a>>2]=3;g=1;continue}e=q[a+12>>2];i=0-e&7;N:{if(!i){h=e;break N}h=e+i|0;q[a+12>>2]=h;g=-15;if(q[(i<<2)+153552>>2]&q[a+8>>2]>>>e){continue}}if(!q[a+48>>2]){g=32-h|0;e=g>>>3|0;k=e+q[a+20>>2]|0;q[a+20>>2]=k;j=q[a+16>>2]-e|0;q[a+16>>2]=j;e=a;g=g&-8;if((g|0)!=32){i=q[m>>2]<>2]=i;q[a+12>>2]=g+h;q[b>>2]=k;q[c>>2]=j}q[a>>2]=26}if(q[a+96>>2]){g=sh(a,d,y,f,1);if((g|0)!=1){continue}}q[a+92>>2]=1;g=1;break a}q[a+4>>2]=i;g=2;continue}g=vA(d,y,f,a);if((g|0)!=1){continue}break n}g=q[a+4>>2];if((g|0)<3){break k}q[a>>2]=5;g=1;continue}h=q[a+12>>2];O:{if(32-h>>>0>=6){j=q[m>>2];break O}g=q[a+20>>2];e=h;while(1){if(!g){g=2;continue c}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;k=q[a+16>>2];j=r[k|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=k+1;j=i|j<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<6){continue}break}}q[a+12>>2]=h+6;e=j>>>h&63;q[a+564>>2]=e;g=-13;if(e+ -10>>>0>20){continue}q[a>>2]=2}q[a+56>>2]=(1<>2]](q[a+32>>2],12336)|0;q[a+168>>2]=e;g=-30;if(!e){continue}q[a>>2]=3;q[a+172>>2]=e+7584}HA(a);q[a>>2]=4}g=uA(a,m);if((g|0)!=1){continue}i=s[a+560>>1];P:{if(!(i&6)){break P}e=q[a+12>>2];h=0-e&7;if(!h){break P}q[a+12>>2]=e+h;g=-14;if(q[(h<<2)+153552>>2]&q[a+8>>2]>>>e){continue}}if(i&4){q[a>>2]=12;g=1;continue}if(q[a+184>>2]){break m}}q[a>>2]=14;g=1;continue}tA(a);if(r[a+560|0]&2){q[a>>2]=11;g=1;continue}q[a>>2]=17}q[a+788>>2]=G;q[a>>2]=18;q[a+4>>2]=0;q[a+632>>2]=0;q[a+636>>2]=0;q[a+624>>2]=0;q[a+628>>2]=0;g=0}g=Fn(a,m,((g<<2)+a|0)+204|0);if((g|0)!=1){continue}h=a+204|0;e=h+(q[a+4>>2]<<2)|0;q[e>>2]=q[e>>2]+1;e=q[a+4>>2];g=q[h+(e<<2)>>2];if(g>>>0<=1){g=1;q[a+4>>2]=e+1;continue}q[a>>2]=19}h=g+2|0;g=rh(h,h,q[a+168>>2]+w(e,2528)|0,0,a);if((g|0)!=1){continue}q[a>>2]=20}g=rh(26,26,q[a+172>>2]+w(q[a+4>>2],1584)|0,0,a);if((g|0)!=1){continue}q[a>>2]=21}l=q[a+4>>2];k=u;Q:{R:{if(!q[a+556>>2]){t=q[a+172>>2]+w(l,1584)|0;S:{h=q[a+12>>2];T:{if(32-h>>>0>=15){j=q[m>>2];break T}g=q[a+20>>2];e=h;while(1){if(!g){break S}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;j=q[a+16>>2];x=r[j|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;j=i|x<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<15){continue}break}}i=a;j=j>>>h|0;g=t+((j&255)<<2)|0;e=r[g|0];if(e>>>0>=9){h=h+8|0;q[a+12>>2]=h;g=(s[g+2>>1]+(q[(e<<2)+153520>>2]&j>>>8&127)<<2)+g|0;e=r[g|0]}q[i+12>>2]=(e&255)+h;i=s[g+2>>1];break R}if(!ud(t,m,u+8|0)){g=2;continue}i=q[u+8>>2];break Q}i=q[a+188>>2]}q[k+8>>2]=i}U:{h=q[a+12>>2];t=i<<2;k=r[t+153442|0];V:{if(32-h>>>0>=k>>>0){j=q[m>>2];break V}g=q[a+20>>2];e=h;while(1){if(!g){break U}j=q[a+8>>2]>>>8|0;q[a+8>>2]=j;x=q[a+16>>2];K=r[x|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=x+1;j=j|K<<24;q[a+8>>2]=j;x=40-e|0;e=h;if(x>>>0>>0){continue}break}}q[a+12>>2]=h+k;q[((l<<2)+a|0)+192>>2]=s[t+153440>>1]+(q[(k<<2)+153552>>2]&j>>>h);q[a+556>>2]=0;q[a>>2]=18;g=1;q[a+4>>2]=q[a+4>>2]+1;continue}q[a+556>>2]=1;q[a+188>>2]=i;g=2;continue}g=2;if(!ej(m)){continue}i=s[a+560>>1];g=i&-33;p[a+560>>1]=g;e=q[a+12>>2];k=e+1|0;q[a+12>>2]=k;h=q[a+8>>2];W:{if(!(h>>>e&1)){q[a+564>>2]=16;break W}j=e+4|0;q[a+12>>2]=j;k=h>>>k&7;if(k){q[a+564>>2]=k+17;break W}l=e+7|0;q[a+12>>2]=l;X:{k=h>>>j&7;if(k>>>0<=1){if(k-1){break X}g=-13;if(!(i&32)){continue}q[a+12>>2]=e+8;if(h>>>l&1){continue}g=i|32;p[a+560>>1]=g;break W}q[a+564>>2]=k|8;break W}q[a+564>>2]=17}if(g&32){q[a>>2]=1}else{q[a>>2]=2}g=1;continue}}Da=u+16|0;return g}function eC(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0;h=Da-32|0;Da=h;a:{b:{f=Xa(a,0);if(!f){f=lb(a,17536,b+132|0);if(!f){break b}}q[h+24>>2]=f;break a}q[b+168>>2]=q[b+168>>2]+(q[b+204>>2]<<16);q[h+24>>2]=0;c:{if(!(q[b+132>>2]!=1346785840|t[b+136>>2]>4|t[b+144>>2]<58)){if(q[b+140>>2]==3338){break c}}f=2;q[h+24>>2]=2;break a}e=q[b+152>>2];f=Xa(a,e);q[h+8>>2]=f;d:{e:{if(f){break e}g=ib(a,h+8|0);f=q[h+8>>2];if(f){break e}f:{if(g>>>0>13106){break f}d=q[a+4>>2];if(w(g,5)+2>>>0>=d-e>>>0){break f}if(w(g,23)+95>>>0>>0){break d}}f=8;q[h+8>>2]=8}q[h+24>>2]=f;break a}f=0;q[h+24>>2]=0;q[b>>2]=g;if((c|0)<0){break a}B=c&65535;if(B>>>0>=g>>>0){f=6;q[h+24>>2]=6;break a}k=q[b+204>>2];f=Xa(a,q[b+152>>2]);q[h+8>>2]=f;g:{h:{i:{if(f){break i}c=ib(a,h+8|0);f=q[h+8>>2];if(f){break i}f=6;if(B>>>0>=c>>>0){break i}f=Ib(a,w(B,5));q[h+8>>2]=f;if(f){break i}d=ib(a,h+8|0);f=q[h+8>>2];if(f){break i}c=LF(a,h+8|0);f=q[h+8>>2];if(f){break i}q[b+240>>2]=d;q[b+244>>2]=c;f=Xa(a,c);q[h+8>>2]=f;if(f){break i}f=mb(a,d);q[h+8>>2]=f;if(f){break i}j:{if(d>>>0<13){break j}l=q[a+32>>2];m=l+d|0;q[b+248>>2]=r[l+2|0]|(r[l+1|0]<<8|r[l|0]<<16);q[b+252>>2]=r[l+5|0]|(r[l+4|0]<<8|r[l+3|0]<<16);q[b+256>>2]=r[l+8|0]|(r[l+7|0]<<8|r[l+6|0]<<16);q[b+260>>2]=r[l+11|0]|(r[l+10|0]<<8|r[l+9|0]<<16);c=0;e=l+13|0;i=e;j=r[l+12|0];d=j&4;if(d){c=j&8?2:1;c=j&3?c:c+3|0}f=j&32;g=j&16;if(i+(c+(g>>>4|0?f?2:1:0)|0)>>>0>m>>>0){break j}k:{if(!d){break k}c=b;l:{if(j&8){e=l+15|0;d=r[l+13|0]|r[l+14|0]<<8;d=(d<<24|d<<8&16711680)>>16;break l}e=l+14|0;d=r[l+13|0]}q[c+268>>2]=d;if(j&3){break k}q[b+276>>2]=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);e=e+3|0}m:{if(!g){c=e;break m}n:{if(f){c=r[e|0]|r[e+1|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=e+2|0;break n}f=r[e|0];c=e+1|0}q[b+272>>2]=f}o:{if(!(j&64)){f=c;break o}f=c+1|0;if(f>>>0>m>>>0){break h}d=r[c|0];if(d){while(1){c=f+2|0;if(c>>>0>m>>>0){break h}f=c+r[f|0]|0;if(f>>>0>m>>>0){break h}d=d+ -1|0;if(d){continue}break}}q[h+8>>2]=0}if(f+5>>>0>m>>>0){break j}c=r[f+1|0]|r[f|0]<<8;q[b+280>>2]=c;q[b+284>>2]=r[f+4|0]|(r[f+3|0]<<8|r[f+2|0]<<16);if(!k){break g}if(f+6>>>0>m>>>0){break j}q[b+280>>2]=c|r[f+5|0]<<16;break g}q[h+8>>2]=8;break g}q[h+24>>2]=f;break a}q[h+8>>2]=8}jb(a);f=q[h+8>>2];q[h+24>>2]=f;if(f){break a}e=q[b+280>>2];j=q[b+284>>2];x=q[a+28>>2];q[b+428>>2]=b+424;q[b+424>>2]=0;q[b+292>>2]=j;i=b+288|0;q[i>>2]=x;f=Xa(a,j);q[h+28>>2]=f;p:{q:{r:{s:{if(f){break s}f=mb(a,e);q[h+28>>2]=f;if(f){break s}g=q[a+32>>2];q[i+148>>2]=g;t:{if((e|0)<15){break t}q[i+8>>2]=r[g+1|0]|r[g|0]<<8;q[i+12>>2]=r[g+3|0]|r[g+2|0]<<8;q[i+16>>2]=r[g+5|0]|r[g+4|0]<<8;c=r[g+6|0]|r[g+7|0]<<8;q[i+20>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+8|0]|r[g+9|0]<<8;q[i+24>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+10|0]|r[g+11|0]<<8;q[i+28>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+12|0]|r[g+13|0]<<8;q[i+32>>2]=(c<<24|c<<8&16711680)>>16;z=r[g+14|0];q[i+36>>2]=z;m=z&4;d=g+15|0;u:{if(m){break u}if((e|0)<17){break t}c=r[g+15|0]|r[g+16|0]<<8;q[i+40>>2]=(c<<24|c<<8&16711680)>>16;d=g+17|0}y=e+g|0;if(z&128){f=8;c=d+1|0;if(c>>>0>y>>>0){break q}u=r[d|0];v:{if(!u){d=c;break v}while(1){g=c+2|0;if(g>>>0>y>>>0){break r}d=g+r[c|0]|0;if(d>>>0>y>>>0){break r}f=17664;e=215;c=r[c+1|0];w:{if((c|0)!=1){while(1){e=q[f+12>>2];if(!e){break w}f=f+8|0;if((c|0)!=q[f>>2]){continue}break}}f=n[e](g,d,i)|0;if(f){break q}}c=d;u=u+ -1|0;if(u){continue}break}}q[h+28>>2]=0}e=d+3|0;if(e>>>0>y>>>0){break t}u=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);if(u){g=e+u|0;if(g>>>0>y>>>0){break t}while(1){x:{k=e+4|0;if(k>>>0>g>>>0){break x}l=r[e+1|0]|r[e|0]<<8;if(l>>>0<4|u>>>0>>0){break x}c=r[e+2|0]|r[e+3|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;y:{if(c>>>0>2){break y}z:{A:{B:{C:{switch(c-1|0){default:q[h+8>>2]=0;c=l+ -4|0;d=q[i+84>>2];if(d){if(d){n[q[x+8>>2]](x,d)}q[i+84>>2]=0}D:{E:{if(!c){break E}d=l+ -5|0;if(!r[d+k|0]){c=d;if(!c){break E}}f=0;while(1){d=r[f+k|0];if(d>>>0<32|d<<24>>24<0){break E}f=f+1|0;if((f|0)!=(c|0)){continue}break}break D}q[i+84>>2]=0;q[h+28>>2]=0;break y}d=gb(x,c+1|0,h+8|0);f=q[h+8>>2];if(f){q[i+84>>2]=d;break B}f=c;c=Qa(d,k,c);o[f+c|0]=0;f=q[h+8>>2];q[i+84>>2]=c;break z;case 0:if(l>>>0<36){break y}c=r[e+14|0]|r[e+15|0]<<8;q[i+44>>2]=(c<<24|c<<8&16711680)>>16;c=r[e+16|0]|r[e+17|0]<<8;q[i+48>>2]=(c<<24|c<<8&16711680)>>16;c=r[e+18|0]|r[e+19|0]<<8;q[i+52>>2]=(c<<24|c<<8&16711680)>>16;break y;case 1:break C}}q[h+8>>2]=0;c=l+ -4|0;d=q[i+88>>2];if(d){if(d){n[q[x+8>>2]](x,d)}q[i+88>>2]=0}F:{G:{if(!c){break G}d=l+ -5|0;if(!r[d+k|0]){c=d;if(!c){break G}}f=0;while(1){d=r[f+k|0];if(d>>>0<32|d<<24>>24<0){break G}f=f+1|0;if((f|0)!=(c|0)){continue}break}break F}q[i+88>>2]=0;q[h+28>>2]=0;break y}d=gb(x,c+1|0,h+8|0);f=q[h+8>>2];if(!f){break A}q[i+88>>2]=d}q[h+28>>2]=f;break s}f=c;c=Qa(d,k,c);o[f+c|0]=0;f=q[h+8>>2];q[i+88>>2]=c}q[h+28>>2]=f;if(f){break s}}e=e+l|0;u=u-l|0;if(u){continue}}break}e=g}f=e+1|0;if(f>>>0>y>>>0){break t}l=r[e|0];q[i+104>>2]=l;k=l<<1;if(k+f>>>0>y>>>0){break t}c=0;g=Oa(x,4,0,l,0,h+28|0);q[i+108>>2]=g;if(q[h+28>>2]){break p}if(l){while(1){d=r[f|0]|r[f+1|0]<<8;q[g+(c<<2)>>2]=(d<<24|d<<8&16711680)>>16;f=f+2|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}f=(k|1)+e|0}e=f+8|0;if(e>>>0>y>>>0){break t}q[i+112>>2]=r[f|0];q[i+116>>2]=r[f+1|0];q[i+68>>2]=r[f+3|0]|r[f+2|0]<<8;q[i+56>>2]=r[f+5|0]|r[f+4|0]<<8;v=r[f+7|0]|r[f+6|0]<<8;q[i+120>>2]=v;q[i+124>>2]=(e+j|0)-q[a+32>>2];j=z&16;d=z&8;A=z&32;c=z&2;if(w(v,((j>>>4)+(d>>>3)+(A>>>5)|0)+(m>>>1|(c>>>1|0?5:4))|0)+e>>>0>y>>>0){break t}l=Oa(x,16,0,v,0,h+28|0);q[i+128>>2]=l;if(q[h+28>>2]|!v){break p}H:{if(!c){if(m){f=d?4:3;c=0;while(1){g=l+(c<<4)|0;q[g>>2]=r[e|0];d=r[e+1|0]|r[e+2|0]<<8;q[g+4>>2]=(d<<24|d<<8&16711680)>>16;k=e+f|0;e=g;I:{if(j){d=k+2|0;k=r[k+1|0]|r[k|0]<<8;break I}d=k+1|0;k=r[k|0]}q[e+8>>2]=k;J:{if(A){u=2;k=r[d+1|0]<<8|r[d|0]<<16;e=d+3|0;break J}u=1;k=r[d|0]<<8;e=d+2|0}q[g+12>>2]=k|r[d+u|0];c=c+1|0;if((v|0)!=(c|0)){continue}break}break p}m=d?2:1;k=q[i+40>>2];d=0;if(j){break H}while(1){c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=c;c=e+m|0;q[g+8>>2]=r[c|0];j=c+1|0;K:{if(A){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break K}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((v|0)!=(d|0)){continue}break}break p}if(m){f=d?5:4;c=0;while(1){g=l+(c<<4)|0;q[g>>2]=r[e+1|0]|r[e|0]<<8;d=r[e+2|0]|r[e+3|0]<<8;q[g+4>>2]=(d<<24|d<<8&16711680)>>16;k=e+f|0;e=g;L:{if(j){d=k+2|0;k=r[k+1|0]|r[k|0]<<8;break L}d=k+1|0;k=r[k|0]}q[e+8>>2]=k;M:{if(A){u=2;k=r[d+1|0]<<8|r[d|0]<<16;e=d+3|0;break M}u=1;k=r[d|0]<<8;e=d+2|0}q[g+12>>2]=k|r[d+u|0];c=c+1|0;if((v|0)!=(c|0)){continue}break}break p}m=d?3:2;k=q[i+40>>2];d=0;if(!j){while(1){f=r[e+1|0];c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=f|c<<8;c=e+m|0;q[g+8>>2]=r[c|0];j=c+1|0;N:{if(A){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break N}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((v|0)!=(d|0)){continue}break p}}while(1){f=r[e+1|0];c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=f|c<<8;c=e+m|0;q[g+8>>2]=r[c|0]<<8|r[c+1|0];j=c+2|0;O:{if(A){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break O}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((v|0)!=(d|0)){continue}break}break p}while(1){c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=c;c=e+m|0;q[g+8>>2]=r[c|0]<<8|r[c+1|0];j=c+2|0;P:{if(A){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break P}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((v|0)!=(d|0)){continue}break}break p}q[h+28>>2]=8;break p}q[h+24>>2]=f;break a}f=8}q[h+28>>2]=f}jb(a);d=0;a=q[a+8>>2];q[i+148>>2]=0;q[i+144>>2]=a;f=q[h+28>>2];q[h+24>>2]=f;if(f){break a}q[b+4>>2]=B;e=q[b+408>>2];q[b+16>>2]=e+1;c=q[b+8>>2]|1;q[b+8>>2]=c;Q:{R:{S:{T:{if(!e){break T}a=q[i+128>>2];while(1){if(q[(a+(d<<4)|0)+12>>2]){break T}d=d+1|0;if((e|0)!=(d|0)){continue}break}break S}if((d|0)!=(e|0)){break R}}if(!q[i+92>>2]){break Q}c=0;q[b+8>>2]=0}a=q[i+36>>2];if(!(a&4)){c=c|4;q[b+8>>2]=c}f=(a&1?32:16)|c;q[b+8>>2]=f;j=q[b+380>>2];if(j){f=f|2;q[b+8>>2]=f}if(q[i+132>>2]){q[b+8>>2]=f|64}c=q[b+372>>2];q[b+20>>2]=c;if(!c){q[b+20>>2]=q[b+368>>2]}q[b+28>>2]=0;q[b+32>>2]=0;q[b+24>>2]=q[b+376>>2];m=q[i+28>>2];k=q[i+32>>2];f=q[i+24>>2];g=q[i+20>>2];e=q[b+300>>2];p[b+68>>1]=e;d=q[b+320>>2];p[b+70>>1]=d;c=q[b+312>>2];p[b+72>>1]=c;q[b+52>>2]=g;q[b+56>>2]=f;q[b+60>>2]=m;q[b+64>>2]=k;d=(d<<16>>16)-(c<<16>>16)|0;c=(w(e&65535,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(d|0)?d:c;if(j){d=0;a=Oa(q[q[b+104>>2]+28>>2],16,0,j,0,h+24|0);q[b+32>>2]=a;f=q[h+24>>2];if(f){break a}f=q[i+100>>2];while(1){c=q[f+4>>2];p[a>>1]=c;e=q[f>>2];c=c<<6;q[a+12>>2]=c;q[a+4>>2]=c;p[a+2>>1]=e;q[a+8>>2]=e<<6;f=f+36|0;a=a+16|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}q[b+28>>2]=j;a=q[b+324>>2]}U:{if(!(a&4)){f=q[i+40>>2];break U}c=q[i+120>>2];if(!c){f=0;break U}a=q[i+128>>2];f=0;while(1){d=q[a+4>>2];f=(f|0)<(d|0)?d:f;a=a+16|0;c=c+ -1|0;if(c){continue}break}}p[b+76>>1]=f;p[b+78>>1]=s[b+74>>1];a=s[b+68>>1];p[b+82>>1]=(a>>>0)/30;p[b+80>>1]=(a|0)/-10;q[h+8>>2]=b;q[h+12>>2]=1970170211;q[h+16>>2]=65539;f=md(17328,0,h+8|0,0);q[h+24>>2]=f;if(!q[b+420>>2]){break a}q[b+8>>2]=q[b+8>>2]|64;break a}f=3;q[h+24>>2]=3}Da=h+32|0;return f|0}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,t=0,u=0,v=0,x=0,y=0,z=0;j=Da-16|0;Da=j;c=q[a+1008>>2];d=0;a:{if((c|0)<0){break a}b:{while(1){d=q[a+4>>2];c=(c<<2)+a|0;q[a+72>>2]=w(d,p[c+946>>1]);c=p[c+944>>1];q[a+40>>2]=0;q[a+44>>2]=0;q[a+84>>2]=0;f=q[a+24>>2];q[a+36>>2]=f;p[a+78>>1]=0;q[a+80>>2]=f;k=q[a+28>>2]+ -32|0;q[a+32>>2]=k;q[a+68>>2]=w(c,d);q[f+8>>2]=f;p[a+76>>1]=0;c:{d:{e:{f:{g:{if(p[a+120>>1]<1){break g}c=q[a+8>>2];m=q[a+132>>2];e=0;v=0;h:{while(1){q[a+88>>2]=0;q[a+92>>2]=0;g=q[a+12>>2];h=q[a+124>>2];f=e&65535;e=h+(f<<3)|0;d=w(g,q[e+4>>2])-c|0;x=v<<1;i=s[x+m>>1];m=h+(i<<3)|0;h=q[m+4>>2];l=q[m>>2];u=w(g,q[e>>2])-c|0;t=b?u:d;u=b?d:u;k=q[a+128>>2];f=k+f|0;d=r[f|0];if(d&4){o[a+164|0]=d>>>5;d=r[f|0]}d=d&3;i:{if((d|0)==3){break i}j:{switch(d-1|0){case 0:break i;case 1:break b;default:break j}}d=w(g,l)-c|0;g=w(g,h)-c|0;c=b?d:g;d=b?g:d;k:{if((r[i+k|0]&3)==1){m=m+ -8|0;u=d;break k}u=(d+u|0)/2|0;c=(c+t|0)/2|0}t=c;f=f+ -1|0;e=e+ -8|0}q[a+64>>2]=t;q[a+60>>2]=u;l:{if(e>>>0>>0){while(1){m:{n:{o:{d=r[f+1|0]&3;if(d>>>0<=1){f=f+1|0;c=e+8|0;if(!(d-1)){g=q[e+8>>2];d=e;e=c;c=q[a+12>>2];h=w(c,q[d+12>>2]);d=q[a+8>>2];h=h-d|0;c=w(c,g)-d|0;if(ps(a,b?h:c,b?c:h)){break f}break m}d=q[a+12>>2];h=q[a+8>>2];g=w(d,q[e+8>>2])-h|0;d=w(d,q[e+12>>2])-h|0;if(!b){break o}while(1){if(c>>>0>=m>>>0){c=d;d=g;break n}h=f+1|0;e=c+8|0;l=q[a+12>>2];k=q[a+8>>2];i=w(l,q[c+8>>2])-k|0;l=w(l,q[c+12>>2])-k|0;c=r[f+1|0]&3;if(c){if((c|0)!=1){break b}f=h;if(!Zg(a,d,g,l,i)){break m}break f}k=Zg(a,d,g,(d+l|0)/2|0,(g+i|0)/2|0);f=h;c=e;d=l;g=i;if(!k){continue}break}break f}if((r[f+2|0]&3)!=2|e+16>>>0>m>>>0){break b}d=q[a+12>>2];g=q[a+8>>2];c=w(d,q[e+16>>2])-g|0;i=w(d,q[e+20>>2])-g|0;h=b?c:i;i=b?i:c;c=w(d,q[e+8>>2])-g|0;k=w(d,q[e+12>>2])-g|0;l=b?c:k;k=b?k:c;c=e+24|0;if(c>>>0<=m>>>0){y=h;h=w(d,q[e+28>>2])-g|0;d=w(d,q[e+24>>2])-g|0;if(os(a,k,l,i,y,b?h:d,b?d:h)){break f}f=f+3|0;e=c;break m}if(os(a,k,l,i,h,u,t)){break f}break l}while(1){if(c>>>0>=m>>>0){c=g;break n}h=f+1|0;e=c+8|0;l=q[a+12>>2];k=q[a+8>>2];i=w(l,q[c+8>>2])-k|0;l=w(l,q[c+12>>2])-k|0;c=r[f+1|0]&3;if(!c){k=Zg(a,g,d,(g+i|0)/2|0,(d+l|0)/2|0);f=h;c=e;g=i;d=l;if(k){break f}continue}break}if((c|0)!=1){break b}f=h;if(!Zg(a,g,d,i,l)){break m}break f}if(!Zg(a,c,d,u,t)){break l}break f}if(e>>>0>>0){continue}break}}if(ps(a,u,t)){break f}}m=q[a+132>>2];h=s[x+m>>1];e=q[a+4>>2];f=e+ -1|0;c=q[a+64>>2];i=f&c;p:{if(i|(c|0)>2]|(c|0)>q[a+72>>2]){break p}d=q[a+88>>2];if(!d|(s[q[a+80>>2]+12>>1]^s[d+12>>1])&8){break p}q[a+36>>2]=q[a+36>>2]+ -4}d=q[a+36>>2];g=q[a+80>>2];l=q[g+8>>2];q:{if(!((d|0)==(l|0)|!(r[g+12|0]&8))){c=q[a+8>>2];e=(i|0)>=(c|0);break q}e=(c+f&0-e)-c|0;c=q[a+8>>2];e=(e|0)>=(c|0)}f=d-l|0;if((f|0)<=-1){q[a+40>>2]=99;d=1;break a}r:{if(!f){f=d;break r}q[g+16>>2]=f>>2;if(e){e=s[g+12>>1];p[g+12>>1]=(e&8?16:32)|e}q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;q[d+8>>2]=f;q[d+16>>2]=0;q[g+28>>2]=d;p[a+76>>1]=s[a+76>>1]+1}k=q[a+32>>2];if(f>>>0>=k>>>0){break h}o[a+79|0]=0;d=q[a+88>>2];if(d){q[g+28>>2]=d}e=h+1|0;v=v+1|0;if((v|0)>1]){continue}break}u=s[a+76>>1];if(u>>>0<2){break g}h=q[a+84>>2];if(!h){break g}x=q[a+28>>2];c=h;while(1){s:{if((u&65535)>>>0>=2){g=q[c+16>>2];l=q[c+8>>2]+(g<<2)|0;q[c+4>>2]=l;break s}l=0;q[c+4>>2]=0;g=q[c+16>>2]}e=q[c+20>>2];t:{if(r[c+12|0]&8){d=e;e=(d+g|0)+ -1|0;break t}d=(e-g|0)+1|0;q[c+20>>2]=d;q[c+8>>2]=(q[c+8>>2]+(g<<2)|0)+ -4}t=e;e=q[a+44>>2];v=0-e|0;y=x-(e<<2)|0;m=(e&e>>31)+ -1|0;c=e;u:{v:{w:{while(1){i=c;if((c|0)<1){c=m;break w}c=i+ -1|0;z=y+(c<<2)|0;g=q[z>>2];if((g|0)>(d|0)){continue}break}if((g|0)>=(d|0)){break w}q[z>>2]=d;if((i|0)<2){d=g;break v}c=i+ -2|0;while(1){i=y+(c<<2)|0;d=q[i>>2];q[i>>2]=g;i=(c|0)>0;c=c+ -1|0;g=d;if(i){continue}break}break v}if((c|0)<=-1){break v}i=e;break u}k=k+ -4|0;q[a+32>>2]=k;if(k>>>0<=f>>>0){break h}i=e+1|0;q[a+44>>2]=i;v=e^-1;q[x+(v<<2)>>2]=d}d=t+1|0;m=x+(v<<2)|0;v=(i>>31&i)+ -1|0;c=i;x:{y:{z:{while(1){e=c;if((c|0)<1){c=v;break z}c=e+ -1|0;y=m+(c<<2)|0;g=q[y>>2];if((g|0)>(d|0)){continue}break}if((g|0)>(t|0)){break z}q[y>>2]=d;if((e|0)<2){d=g;break y}c=e+ -2|0;while(1){e=m+(c<<2)|0;d=q[e>>2];q[e>>2]=g;e=(c|0)>0;c=c+ -1|0;g=d;if(e){continue}break}break y}if((c|0)>-1){break x}}k=k+ -4|0;q[a+32>>2]=k;if(k>>>0<=f>>>0){break h}q[a+44>>2]=i+1;q[x+((i^-1)<<2)>>2]=d}c=l;u=u+ -1|0;if(u&65535){continue}break}if(f>>>0>=k>>>0){break f}q[j+8>>2]=0;q[j+4>>2]=0;q[j>>2]=0;c=q[a>>2];d=q[a+68>>2]>>c;p[j+12>>1]=d;g=q[a+72>>2]>>c;p[j+14>>1]=g;while(1){e=h;c=q[e+20>>2];f=(c+q[e+16>>2]<<16)+ -65536>>16;h=q[e+4>>2];if(c<<16>>16>16){p[j+14>>1]=c;g=c}if(d<<16>>16<(f|0)){p[j+12>>1]=f;d=f}q[e>>2]=0;f=j+8|0;c=q[j+8>>2];A:{if(!c){c=0;break A}if(q[c>>2]>0){break A}B:{while(1){f=c;c=q[c+4>>2];if(c){if(q[c>>2]<=0){continue}break B}break}c=0}f=f+4|0}q[e+4>>2]=c;q[f>>2]=e;if(h){continue}break}if(!q[a+44>>2]){q[a+40>>2]=20;d=20;break a}n[q[a+148>>2]](a,j+14|0,j+12|0);l=p[j+14>>1];f=q[j+8>>2];if(f){c=f;while(1){q[c+24>>2]=q[c+20>>2]-l;c=q[c+4>>2];if(c){continue}break}}c=q[a+44>>2];C:{if((c|0)<1){break C}D:{if(q[q[a+28>>2]-(c<<2)>>2]!=(l|0)){h=c;break D}h=c+ -1|0;q[a+44>>2]=h;if((c|0)<2){break C}}c=0;while(1){if(f){i=c<<16>>16;while(1){c=q[f+24>>2]-i|0;q[f+24>>2]=c;g=q[f+4>>2];if(!c){e=j+8|0;E:{while(1){c=e;d=q[c>>2];if(!d){break E}e=d+4|0;if((d|0)!=(f|0)){continue}break}q[c>>2]=q[e>>2]}e=q[f>>2];F:{if(r[f+12|0]&8){d=j+4|0;c=q[j+4>>2];if(!c){c=0;break F}if((e|0)>2]){break F}G:{while(1){d=c;c=q[c+4>>2];if(c){if((e|0)>=q[c>>2]){continue}break G}break}c=0}d=d+4|0;break F}d=j;c=q[d>>2];if(!c){c=0;break F}if((e|0)>2]){break F}H:{while(1){d=c;c=q[c+4>>2];if(c){if((e|0)>=q[c>>2]){continue}break H}break}c=0}d=d+4|0}q[f+4>>2]=c;q[d>>2]=f}f=g;if(g){continue}break}}e=q[j+4>>2];c=e;I:{if(!c){break I}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}c=q[e+4>>2];if(!c){break I}f=e+4|0;d=j+4|0;while(1){J:{if(q[e>>2]<=q[c>>2]){e=c;d=f;break J}q[d>>2]=c;q[f>>2]=q[c+4>>2];q[c+4>>2]=e;e=q[j+4>>2];d=j+4|0}f=e+4|0;c=q[e+4>>2];if(c){continue}break}}t=q[j>>2];c=t;K:{if(!c){t=0;break K}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}e=q[t+4>>2];if(!e){break K}f=t+4|0;d=j;c=t;while(1){L:{if(q[c>>2]<=q[e>>2]){d=f;c=e;break L}q[d>>2]=e;q[f>>2]=q[e+4>>2];q[e+4>>2]=c;d=j;t=q[d>>2];c=t}f=c+4|0;e=q[c+4>>2];if(e){continue}break}}q[a+44>>2]=h+ -1;y=q[q[a+28>>2]-(h<<2)>>2];z=y<<16>>16;M:{if((z|0)>l<<16>>16){v=t;h=t;i=l;while(1){e=q[j+4>>2];N:{if(!h){break N}u=0;f=h;c=e;if(!c){break N}while(1){g=q[c>>2];m=q[f>>2];k=(g|0)>(m|0);O:{P:{d=k?g:m;g=k?m:g;m=q[a+4>>2];if((d-g|0)>(m|0)){break P}x=0-m|0;k=x&g;if((k|0)==(g|0)){break P}x=x&(d+m|0)+ -1;if((x|0)==(d|0)|((x|0)!=(k+m|0)?(k|0)<=(x|0):0)){break P}if((s[c+12>>1]&7)==2){break O}q[c>>2]=g;q[f>>2]=d;q[c+24>>2]=1;u=u+1|0;break O}n[q[a+152>>2]](a,i<<16>>16,g,d,c,f)}c=q[c+4>>2];if(c){f=q[f+4>>2];if(f){continue}}break}c=e;if(u<<16>>16<=0){break N}while(1){if(q[c+24>>2]){q[c+24>>2]=0;n[q[a+156>>2]](a,i<<16>>16,q[c>>2],q[h>>2],c,h)}c=q[c+4>>2];if(!c){break N}h=q[h+4>>2];if(h){continue}break}}n[q[a+160>>2]](a);i=i+1|0;if((z|0)<=i<<16>>16){break M}c=e;g=v;Q:{if(!c){break Q}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}c=q[e+4>>2];g=v;if(!c){break Q}f=e+4|0;d=j+4|0;while(1){R:{if(q[e>>2]<=q[c>>2]){e=c;d=f;break R}q[d>>2]=c;q[f>>2]=q[c+4>>2];q[c+4>>2]=e;e=q[j+4>>2];d=j+4|0}f=e+4|0;c=q[e+4>>2];if(c){continue}break}t=q[j>>2];g=t}v=0;h=0;c=g;if(!c){continue}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}f=g+4|0;d=j;v=g;h=g;c=g;e=q[c+4>>2];if(!e){continue}while(1){S:{if(q[c>>2]<=q[e>>2]){d=f;c=e;break S}q[d>>2]=e;q[f>>2]=q[e+4>>2];q[e+4>>2]=c;d=j;t=q[d>>2];g=t;c=g}f=c+4|0;e=q[c+4>>2];if(e){continue}break}v=g;h=g;continue}}e=q[j+4>>2];i=l}if(e){while(1){c=e;e=q[c+4>>2];T:{if(q[c+16>>2]){break T}f=j+4|0;while(1){d=f;g=q[d>>2];if(!g){break T}f=g+4|0;if((c|0)!=(g|0)){continue}break}q[d>>2]=q[f>>2]}if(e){continue}break}}if(t){while(1){c=t;t=q[c+4>>2];U:{if(q[c+16>>2]){break U}e=j;while(1){d=e;g=q[d>>2];if(!g){break U}e=g+4|0;if((c|0)!=(g|0)){continue}break}q[d>>2]=q[e>>2]}if(t){continue}break}}h=q[a+44>>2];if((h|0)>=1){c=y-l|0;f=q[j+8>>2];l=i;continue}break}l=i}if(l<<16>>16>p[j+12>>1]){break d}while(1){n[q[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=p[j+12>>1]){continue}break}break d}q[a+40>>2]=98;break e}q[a+84>>2]=0;if(f>>>0>>0){break d}}if(q[a+40>>2]==98){break e}d=1;break a}q[a+40>>2]=0;c=q[a+1008>>2];d=(c<<2)+a|0;e=p[d+946>>1];f=p[d+944>>1];g=(f+e|0)/2|0;if(!((g|0)>=(f|0)?(c|0)<=6:0)){q[a+40>>2]=20;q[a+1008>>2]=0;d=20;break a}c=c+1|0;f=(c<<2)+a|0;p[f+946>>1]=e;p[f+944>>1]=g;p[d+946>>1]=g+ -1;break c}c=q[a+1008>>2]+ -1|0}q[a+1008>>2]=c;if((c|0)>-1){continue}break}d=0;break a}q[a+40>>2]=20;d=1}Da=j+16|0;return d}function $V(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=x(0),n=0,p=0,s=x(0),v=x(0),y=x(0),z=0,A=0,B=x(0),C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;f=Da-192|0;Da=f;h=1;i=q[c+60>>2];a:{if(!i){break a}g=q[a>>2];j=g?g:271312;j=t[j+16>>2]<20?271312:q[j+12>>2];if((i|0)!=(r[j+4|0]<<8|r[j+5|0])){break a}ZV(f+176|0,j,g,b);b=t[f+180>>2]<4?271312:q[f+176>>2];if(!(r[b|0]<<8|r[b+1|0])){break a}q[f+168>>2]=0;q[f+160>>2]=0;q[f+164>>2]=0;q[f+152>>2]=0;g=q[f+184>>2];q[f+120>>2]=g;b=q[f+180>>2];j=q[f+176>>2];q[f+112>>2]=j;q[f+116>>2]=b;q[f+144>>2]=0;q[f+148>>2]=0;i=q[a>>2];i=i?i:271312;i=t[i+16>>2]<20?271312:q[i+12>>2];n=r[i+5|0];i=r[i+4|0];q[f+24>>2]=g;q[f+16>>2]=j;q[f+20>>2]=b;if(XV(f+16|0,n|i<<8,f+160|0,f+128|0)){b=q[d+4>>2];b:{if((b|0)<1){break b}i=(b|0)>0?b:0;while(1){l=((l>>>1|0)+l|0)+8|0;if(l>>>0<=i>>>0){continue}break}h=0;c:{if(l>>>0>268435454){break c}g=Sa(l<<4);if(!g){break c}D=Na(g,0,i<<4);if(!b){break c}z=q[d>>2];g=0;while(1){d:{if(b>>>0<=g>>>0){j=q[67831];q[160746]=q[67830];q[160747]=j;j=q[67829];q[160744]=q[67828];q[160745]=j;j=642976;break d}j=z+(g<<4)|0}e=q[j+4>>2];l=(g<<4)+D|0;q[l>>2]=q[j>>2];q[l+4>>2]=e;n=q[j+12>>2];q[l+8>>2]=q[j+8>>2];q[l+12>>2]=n;g=g+1|0;if((g|0)!=(b|0)){continue}break}H=b}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break}l=0;if(h>>>0>268435454){break b}p=Sa(h<<4);if(!p){p=0;break b}Na(p,0,i<<4);l=b}e:{if(!b){j=q[67828];break e}j=q[67828];g=0;h=0;while(1){f:{if(b>>>0<=g>>>0){i=q[67831];q[160746]=q[67830];q[160747]=i;i=q[67829];q[160744]=q[67828];q[160745]=i;e=642976;break f}e=q[d>>2]+(g<<4)|0}if(r[e+12|0]){g:{h:{if((h|0)<0){b=h;break h}i=h;b=i;n=E+1|0;n=(n|0)>0?n:0;e=b;i:{if(b>>>0>=n>>>0){break i}while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=n>>>0){continue}break}b=-1;if(i>>>0>>0|i>>>0>1073741822){break h}h=db(F,i<<2);if(!h){break h}F=h;e=i}b=e;if(n>>>0>E>>>0){Na((E<<2)+F|0,0,n-E<<2)}E=n;e=((n<<2)+F|0)+ -4|0;break g}q[160744]=j;e=642976}q[e>>2]=g;h=b;b=q[d+4>>2]}g=g+1|0;if(g>>>0>>0){continue}break}}a=q[a>>2];a=a?a:271312;a=t[a+16>>2]<20?271312:q[a+12>>2];Q=w(r[a+4|0]<<8|r[a+5|0],r[a+7|0]|r[a+6|0]<<8);b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);R=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;S=q[c+60>>2];T=q[c+64>>2];g=q[f+156>>2];while(1){j:{q[f+8>>2]=0;q[f+100>>2]=Q;q[f+96>>2]=R;q[f+104>>2]=0;a=q[f+100>>2];q[f>>2]=q[f+96>>2];q[f+4>>2]=a;k:{k=WV(g,T,S,f);if(k==x(0)){break k}a=q[f+128>>2];b=r[a+3|0]|r[a+2|0]<<8;a=q[f+140>>2]+(b?a+b|0:271312)|0;q[f+92>>2]=a;l:{m:{n:{o:{p:{q:{b=q[f+144>>2];if(b>>>0>a>>>0){break q}b=b+q[f+148>>2]|0;if(a>>>0>b>>>0){break q}e=b-a|0;b=q[f+156>>2];c=r[b|0]<<8|r[b+1|0];if(e>>>0>>0){break q}q[f+88>>2]=0;q[f+84>>2]=c;q[f+80>>2]=a;q[f+72>>2]=0;q[f+64>>2]=0;q[f+68>>2]=0;r:{if(r[b+2|0]&32){h=1;if(!ou(f+92|0,f- -64|0,f+80|0)){break l}a=f- -64|0;if(q[f+68>>2]){break r}}a=f+160|0}z=q[a+8>>2];I=q[d+4>>2];i=q[a+4>>2];b=0;q[f+56>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;n=i?i:I;c=(n|0)>0?n:0;h=0;g=(n|0)<1;s:{if(!g){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}t:{if(b>>>0<=1073741822){a=Sa(b<<2);if(a){break t}}q[f+48>>2]=-1;break s}q[f+48>>2]=b;q[f+56>>2]=a;h=q[f+52>>2];b=a}if(c>>>0>h>>>0){Na((h<<2)+b|0,0,c-h<<2)}q[f+52>>2]=c}h=1;if(!nu(f+92|0,f+48|0,f+80|0)){break m}b=0;q[f+40>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;h=0;u:{if(!g){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}v:{if(b>>>0<=1073741822){a=Sa(b<<2);if(a){break v}}q[f+32>>2]=-1;break u}q[f+32>>2]=b;q[f+40>>2]=a;h=q[f+36>>2];b=a}if(c>>>0>h>>>0){Na((h<<2)+b|0,0,c-h<<2)}q[f+36>>2]=c}h=1;if(!nu(f+92|0,f+32|0,f+80|0)){break n}g=0;if(l){break p}break o}h=0;break j}while(1){a=(g<<4)+p|0;q[a+4>>2]=0;q[a+8>>2]=0;o[a|0]=0;o[a+12|0]=0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(n){g=0;h=q[f+40>>2];e=q[f+36>>2];C=q[f+56>>2];A=q[f+52>>2];while(1){b=l;a=g;w:{if(!i){break w}if(i>>>0<=g>>>0){q[160744]=j;a=j;break w}a=q[z+(g<<2)>>2]}c=b>>>0>a>>>0;x:{if(!c){b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break x}b=(a<<4)+p|0}o[b|0]=1;s=k;y:{if(A>>>0<=g>>>0){q[160744]=j;b=j;break y}b=q[C+(g<<2)>>2]}m=x(s*x(b|0));z:{if(!c){b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break z}b=(a<<4)+p|0}u[b+4>>2]=m+u[b+4>>2];s=k;A:{if(e>>>0<=g>>>0){q[160744]=j;b=j;break A}b=q[h+(g<<2)>>2]}m=x(s*x(b|0));B:{if(!c){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break B}a=(a<<4)+p|0}u[a+8>>2]=m+u[a+8>>2];g=g+1|0;if((n|0)!=(g|0)){continue}break}}G=0;b=0;if(E){while(1){C=0;A=q[(G<<2)+F>>2];g=b;if(A>>>0>=b>>>0){while(1){C:{if(l>>>0<=g>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break C}a=(g<<4)+p|0}C=!r[a|0]+C|0;g=g+1|0;if(g>>>0<=A>>>0){continue}break}}g=b;if(C+ -1>>>0>>0){D:while(1){a=g;g=a>>>0>>0?a+1|0:b;K=l>>>0>a>>>0;E:{if(!K){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break E}c=(a<<4)+p|0}if(!r[c|0]){continue}F:{if(l>>>0<=g>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break F}c=(g<<4)+p|0}if(r[c|0]){continue}g=a;while(1){h=g>>>0>>0;i=g+1|0;G:{if(l>>>0<=g>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break G}c=(g<<4)+p|0}g=h?i:b;if(r[c|0]){continue}L=l>>>0>g>>>0;H:{if(!L){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break H}c=(g<<4)+p|0}if(!r[c|0]){continue}break}c=g<<4;h=c+p|0;z=a<<4;i=z+p|0;n=c+D|0;z=z+D|0;c=a;while(1){c=c>>>0>>0?c+1|0:b;if((g|0)==(c|0)){continue D}M=H>>>0>c>>>0;I:{if(!M){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break I}e=(c<<4)+D|0}k=u[e+4>>2];e=z;N=H>>>0>a>>>0;if(!N){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}m=u[e+4>>2];e=n;O=H>>>0>g>>>0;if(!O){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}v=u[e+4>>2];e=i;if(!K){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}y=u[e+4>>2];e=h;if(!L){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}B=u[e+4>>2];s=y==B?y:x(0);J:{if(m==v){break J}s=mv?y:B;if(!!(k>=(m>=v?m:v))){break J}k=x(x(k-m)/x(v-m));s=x(x(x(x(1)-k)*y)+x(k*B))}k=s;P=l>>>0>c>>>0;K:{if(!P){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break K}e=(c<<4)+p|0}u[e+4>>2]=k;L:{if(!M){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break L}e=(c<<4)+D|0}k=u[e+8>>2];e=z;if(!N){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}m=u[e+8>>2];e=n;if(!O){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}v=u[e+8>>2];e=i;if(!K){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}y=u[e+8>>2];e=h;if(!L){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}B=u[e+8>>2];s=y==B?y:x(0);M:{if(m==v){break M}s=mv?y:B;if(!!(k>=(m>=v?m:v))){break M}k=x(x(k-m)/x(v-m));s=x(x(x(x(1)-k)*y)+x(k*B))}k=s;N:{if(!P){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break N}e=(c<<4)+p|0}u[e+8>>2]=k;C=C+ -1|0;if(C){continue}break}break}}b=A+1|0;G=G+1|0;if((G|0)!=(E|0)){continue}break}}if(I){b=q[d>>2];c=q[d+4>>2];g=0;while(1){h=l>>>0>g>>>0;O:{if(!h){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break O}a=(g<<4)+p|0}k=x(J(x(u[a+4>>2])));i=c>>>0>g>>>0;P:{if(!i){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break P}a=b+(g<<4)|0}u[a+4>>2]=k+u[a+4>>2];Q:{if(!h){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Q}a=(g<<4)+p|0}k=x(J(x(u[a+8>>2])));R:{if(!i){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break R}a=b+(g<<4)|0}u[a+8>>2]=k+u[a+8>>2];g=g+1|0;if((I|0)!=(g|0)){continue}break}}h=0}La(q[f+40>>2])}La(q[f+56>>2])}La(q[f+72>>2]);if(!h){break k}h=0;break j}a=q[f+156>>2];q[f+140>>2]=q[f+140>>2]+(r[a|0]<<8|r[a+1|0]);h=1;b=r[a+2|0];c=b>>>5&2|b>>>7;b=q[f+136>>2]<<1;g=(a+w(c,b)|0)+4|0;q[f+156>>2]=g;a=q[f+132>>2]+1|0;q[f+132>>2]=a;c=a;a=q[f+128>>2];if(c>>>0>=(r[a|0]<<8&3840|r[a+1|0])>>>0){break j}a=q[f+144>>2];if(a>>>0>g>>>0){break j}a=a+q[f+148>>2]|0;if(g>>>0>a>>>0){break j}c=a-g|0;if(c>>>0<4){break j}a=r[g+2|0];a=w(b,a>>>5&2|a>>>7)+4|0;if(!a){break j}b=r[g+1|0]|r[g|0]<<8;if(c>>>0>=(b>>>0>>0?a:b)>>>0){continue}}break}La(F);La(p);La(D)}La(q[f+168>>2])}Da=f+192|0;return h}function $p(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;k=Da+ -64|0;Da=k;A=q[a+352>>2];h=A+20|0;G=ic(a,h,q[d>>2],0);a:{b:{if(G){break b}u=A+80|0;f=q[d>>2];while(1){i=q[A+92>>2];if((i|0)==q[A+88>>2]){if(!Ya(u)){v=1;break a}i=q[A+92>>2]}g=r[f|0];q[A+92>>2]=i+1;o[i|0]=g;i=r[f|0];f=f+1|0;if(i){continue}break}f=q[A+96>>2];q[A+96>>2]=q[A+92>>2];v=1;if(!f){break a}G=ic(a,h,f,24);if(!G){break a}if(!r[a+232|0]){break b}if(!ci(a,G)){break a}}l=q[G+12>>2];j=n[q[b+36>>2]](b,c,q[a+376>>2],q[a+388>>2])|0;f=l+j|0;i=q[a+376>>2];c:{if((f|0)<=(i|0)){break c}f=f+16|0;q[a+376>>2]=f;f=n[q[a+16>>2]](q[a+388>>2],f<<4)|0;if(!f){q[a+376>>2]=i;v=1;break a}q[a+388>>2]=f;if((j|0)<=(i|0)){break c}n[q[b+36>>2]](b,c,j,f)|0}v=1;z=q[a+388>>2];d:{if((j|0)<1){c=0;break d}c=q[z>>2];t=wk(a,b,c,(n[q[b+28>>2]](b,c)|0)+c|0);if(!t){break a}p=a+424|0;s=a+412|0;c=0;while(1){f=q[t>>2]+ -1|0;if(r[f|0]){v=8;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=q[q[a+388>>2]+(m<<4)>>2];break a}o[f|0]=1;q[(c<<2)+z>>2]=q[t>>2];h=c+1|0;e:{u=q[a+388>>2]+(m<<4)|0;f:{if(!r[u+12|0]){x=1;g:{if(!r[t+8|0]|(l|0)<1){break g}i=q[G+20>>2];g=0;while(1){f=i+w(g,12)|0;if(q[f>>2]==(t|0)){x=r[f+4|0];break g}g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=x&255;v=vk(a,b,f,q[u+4>>2],q[u+8>>2],s);if(v){break a}g=q[p>>2];h:{if((g|0)==q[a+428>>2]|f){break h}f=g+ -1|0;if(r[f|0]!=32){break h}q[p>>2]=f;g=f}if(q[a+420>>2]==(g|0)){if(!Ya(s)){v=1;break a}g=q[p>>2]}q[a+424>>2]=g+1;o[g|0]=0;q[(h<<2)+z>>2]=q[a+428>>2];break f}f=q[u+8>>2];q[k+8>>2]=q[u+4>>2];if(!q[p>>2]){if(!Ya(s)){break e}}while(1){if(n[q[b+56>>2]](b,k+8|0,f,p,q[a+420>>2])>>>0>=2){if(Ya(s)){continue}break e}break}if(!q[a+428>>2]){break e}g=q[a+424>>2];if((g|0)==q[a+420>>2]){if(!Ya(s)){break e}g=q[p>>2]}q[a+424>>2]=g+1;o[g|0]=0;f=q[a+428>>2];q[(h<<2)+z>>2]=f;if(!f){break a}}q[a+428>>2]=q[a+424>>2];f=q[t+4>>2];i:{if(f){if(r[t+9|0]){v=xk(a,f,t,q[(h<<2)+z>>2],e);if(!v){break i}break a}o[q[t>>2]+ -1|0]=2;H=H+1|0}c=c+2|0}m=m+1|0;if((j|0)==(m|0)){break d}v=1;f=q[q[a+388>>2]+(m<<4)>>2];t=wk(a,b,f,(n[q[b+28>>2]](b,f)|0)+f|0);if(t){continue}break a}break}q[(h<<2)+z>>2]=0;break a}q[a+380>>2]=c;j:{k:{b=q[G+8>>2];if(!b){break k}b=q[b>>2];if(!r[b+ -1|0]){break k}if((c|0)<1){break j}f=0;while(1){if((b|0)!=q[(f<<2)+z>>2]){f=f+2|0;if((f|0)<(c|0)){continue}break j}break}q[a+384>>2]=f;break j}q[a+384>>2]=-1}if((l|0)>=1){f=0;while(1){h=q[G+20>>2]+w(f,12)|0;u=q[h>>2];g=q[u>>2]+ -1|0;l:{if(r[g|0]){break l}i=q[h+8>>2];if(!i){break l}b=q[u+4>>2];if(b){if(r[u+9|0]){v=xk(a,b,u,i,e);if(!v){break l}break a}o[g|0]=2;b=(c<<2)+z|0;q[b>>2]=q[q[h>>2]>>2];q[b+4>>2]=q[h+8>>2];c=c+2|0;H=H+1|0;break l}o[g|0]=1;b=(c<<2)+z|0;q[b>>2]=q[q[h>>2]>>2];q[b+4>>2]=q[h+8>>2];c=c+2|0}f=f+1|0;if((l|0)!=(f|0)){continue}break}}x=0;q[(c<<2)+z>>2]=0;m:{if(!H){break m}b=r[a+400|0];n:{o:{if(H<<1>>b){f=b;while(1){i=f&255;g=f+1|0;f=g;if(H>>i){continue}break}f=(g&255)>>>0>3?g:3;o[a+400|0]=f;i=f&255;f=n[q[a+16>>2]](q[a+392>>2],12<>2]=f;M=1<>2];if(i){break n}}f=M;while(1){i=-1;f=f+ -1|0;q[q[a+392>>2]+w(f,12)>>2]=-1;if(f){continue}break}}P=i+ -1|0;q[a+396>>2]=P;if((c|0)<1){break m}T=0-M|0;Q=a+412|0;U=A+40|0;R=M+ -1|0;V=R>>>2|0;K=k+48|0;u=k+40|0;while(1){S=(x<<2)+z|0;t=q[S>>2];i=t+ -1|0;p:{if(r[i|0]==2){f=a;while(1){b=f;f=q[f+472>>2];if(f){continue}break}b=q[b+492>>2];q[k+56>>2]=0;q[k+60>>2]=0;q[k+48>>2]=u;q[k+24>>2]=1852142177;q[k+28>>2]=1819895653;q[k+8>>2]=1886610805;q[k+12>>2]=1936682341;q[k+32>>2]=b^2037671283;q[k+36>>2]=1952801890;q[k+16>>2]=b^1852075885;q[k+20>>2]=1685025377;o[i|0]=0;v=1;b=ic(a,U,t,0);if(!b){break a}b=q[b+4>>2];if(!b){break a}L=q[b+4>>2];if(!L){v=27;break a}i=q[L+16>>2];m=0;f=q[L+20>>2];if((f|0)>=1){while(1){b=r[i+m|0];f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(Q)){break a}f=q[a+424>>2]}q[a+424>>2]=f+1;o[f|0]=b;i=q[L+16>>2];m=m+1|0;f=q[L+20>>2];if((m|0)<(f|0)){continue}break}}B=f+i|0;q:{while(1){m=0;r:{if(i>>>0>=B>>>0){break r}m=1;f=q[k+48>>2];if(f>>>0>=K>>>0){break r}s:{t:{while(1){b=r[i|0];q[k+48>>2]=f+1;o[f|0]=b;i=i+1|0;if((B|0)==(i|0)){break t}f=q[k+48>>2];if(f>>>0>>0){continue}break}b=i;break s}b=B}m=i>>>0>>0;i=b}f=q[k+48>>2];if(f>>>0>>0){break q}q[k+48>>2]=u;f=k;h=f;b=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){b=b+1|0}q[h+56>>2]=g;q[f+60>>2]=b;h=q[k+16>>2];g=q[f+20>>2];b=a0(h,g,13);l=Ea;j=b;b=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){b=b+1|0}C=g;j=j^g;h=l;l=b;g=h^b;D=a0(j,g,17);y=Ea;N=q[k+44>>2];E=N^q[k+36>>2];b=E+q[k+28>>2]|0;J=q[k+40>>2];F=J^q[k+32>>2];s=q[k+24>>2];h=F+s|0;if(h>>>0>>0){b=b+1|0}p=h;h=b;b=b+g|0;g=p;j=g+j|0;if(j>>>0>>0){b=b+1|0}I=j;j=j^D;s=b;g=b^y;D=a0(j,g,13);y=Ea;O=a0(F,E,16)^p;E=h^Ea;h=a0(C,l,32);l=h+O|0;b=Ea+E|0;p=l;h=l>>>0>>0?b+1|0:b;b=h+g|0;g=l;j=g+j|0;if(j>>>0>>0){b=b+1|0}F=j;j=j^D;l=b;g=b^y;D=a0(j,g,17);y=Ea;E=a0(O,E,21)^p;p=Ea^h;h=a0(I,s,32);s=h+E|0;b=Ea+p|0;b=s>>>0>>0?b+1|0:b;h=f;I=f;f=g;g=b;b=f+b|0;f=s;j=f+j|0;if(j>>>0>>0){b=b+1|0}f=j;q[I+16>>2]=f^D;q[h+20>>2]=b^y;W=k,X=a0(f,b,32),q[W+24>>2]=X;q[k+28>>2]=Ea;s=a0(E,p,16)^s;j=g^Ea;g=a0(F,l,32);h=g+s|0;b=Ea+j|0;b=h>>>0>>0?b+1|0:b;f=k;g=h;W=f,X=a0(s,j,21)^g,q[W+32>>2]=X;q[f+36>>2]=Ea^b;q[f+8>>2]=g^J;q[f+12>>2]=b^N;if(m){continue}break}f=u}while(1){b=r[t|0];g=t+1|0;t=g;if((b|0)!=58){continue}break}m=0;i=g;if(r[g|0]){while(1){m=m+1|0;b=r[i+1|0];i=i+1|0;if(b){continue}break}}D=g+m|0;i=g;while(1){B=0;u:{if(i>>>0>=D>>>0){break u}B=1;if(f>>>0>=K>>>0){break u}v:{while(1){w:{b=r[i|0];q[k+48>>2]=f+1;o[f|0]=b;f=q[k+48>>2];i=i+1|0;if((D|0)==(i|0)){break w}if(f>>>0>>0){continue}break v}break}i=D;B=0;break u}B=i>>>0>>0}if(f>>>0>=K>>>0){q[k+48>>2]=u;f=k;l=f;b=q[f+60>>2];h=q[f+56>>2]+8|0;if(h>>>0<8){b=b+1|0}q[l+56>>2]=h;q[f+60>>2]=b;j=q[k+16>>2];h=q[f+20>>2];b=a0(j,h,13);s=Ea;l=b;b=q[f+12>>2]+h|0;h=j;j=q[f+8>>2];h=h+j|0;if(h>>>0>>0){b=b+1|0}t=h;l=l^h;h=s;s=b;h=h^b;I=a0(l,h,17);F=Ea;O=q[k+44>>2];C=O^q[k+36>>2];b=C+q[k+28>>2]|0;N=q[k+40>>2];J=N^q[k+32>>2];p=q[k+24>>2];j=J+p|0;if(j>>>0

>>0){b=b+1|0}y=j;j=b;b=b+h|0;h=y;l=h+l|0;if(l>>>0>>0){b=b+1|0}E=l;l=l^I;p=b;h=b^F;I=a0(l,h,13);F=Ea;m=a0(J,C,16)^y;C=j^Ea;j=a0(t,s,32);s=j+m|0;b=Ea+C|0;y=s;j=s>>>0>>0?b+1|0:b;b=j+h|0;h=s;l=h+l|0;if(l>>>0>>0){b=b+1|0}J=l;l=l^I;s=b;h=b^F;I=a0(l,h,17);F=Ea;C=a0(m,C,21)^y;y=Ea^j;j=a0(E,p,32);p=j+C|0;b=Ea+y|0;b=p>>>0>>0?b+1|0:b;j=f;t=f;f=h;h=b;b=f+b|0;f=p;l=f+l|0;if(l>>>0>>0){b=b+1|0}f=l;q[t+16>>2]=f^I;q[j+20>>2]=b^F;W=k,X=a0(f,b,32),q[W+24>>2]=X;q[k+28>>2]=Ea;p=a0(C,y,16)^p;l=h^Ea;h=a0(J,s,32);j=h+p|0;b=Ea+l|0;b=j>>>0>>0?b+1|0:b;f=k;h=j;W=f,X=a0(p,l,21)^h,q[W+32>>2]=X;q[f+36>>2]=Ea^b;q[f+8>>2]=h^N;q[f+12>>2]=b^O;f=u;if(B){continue}}break}while(1){f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(Q)){break a}f=q[a+424>>2]}b=r[g|0];q[a+424>>2]=f+1;o[f|0]=b;b=r[g|0];g=g+1|0;if(b){continue}break}b=bi(k+8|0);s=q[a+392>>2];g=b&R;if((P|0)==q[s+w(g,12)>>2]){j=b&T;p=0;while(1){x:{i=w(g,12)+s|0;if((b|0)!=q[i+4>>2]){break x}f=q[a+428>>2];h=r[f|0];t=!h;y:{if(!h){break y}i=q[i+8>>2];if((h|0)!=r[i|0]){break y}while(1){l=r[f+1|0];t=!l;if(!l){break y}f=f+1|0;h=r[i+1|0];i=i+1|0;if((h|0)==(l|0)){continue}break}}if(!t){break x}v=8;break a}p=p&255?p:j>>>r[a+400|0]+ -1&V|1;f=p&255;g=(g-f|0)+((g|0)<(f|0)?M:0)|0;if((P|0)==q[w(g,12)+s>>2]){continue}break}}if(r[a+233|0]){o[q[a+424>>2]+ -1|0]=r[a+468|0];f=q[q[L>>2]>>2];while(1){i=q[a+424>>2];if((i|0)==q[a+420>>2]){if(!Ya(Q)){break a}i=q[a+424>>2]}h=r[f|0];q[a+424>>2]=i+1;o[i|0]=h;i=r[f|0];f=f+1|0;if(i){continue}break}}i=q[a+428>>2];q[a+428>>2]=q[a+424>>2];q[S>>2]=i;f=w(g,12);q[f+q[a+392>>2]>>2]=P;q[(f+q[a+392>>2]|0)+4>>2]=b;q[(f+q[a+392>>2]|0)+8>>2]=i;H=H+ -1|0;if(H){break p}x=x+2|0;break m}o[i|0]=0}x=x+2|0;if((x|0)<(c|0)){continue}break}}if((x|0)<(c|0)){while(1){o[q[(x<<2)+z>>2]+ -1|0]=0;x=x+2|0;if((x|0)<(c|0)){continue}break}}f=q[e>>2];if(f){while(1){o[q[q[f+12>>2]>>2]+ -1|0]=0;f=q[f+4>>2];if(f){continue}break}}v=0;if(!r[a+232|0]){break a}b=q[G+4>>2];z:{if(b){g=q[b+4>>2];if(!g){v=27;break a}f=q[d>>2];while(1){b=r[f|0];i=f+1|0;f=i;if((b|0)!=58){continue}break}break z}g=q[A+156>>2];if(!g){break a}i=q[d>>2]}f=0;b=0;A:{if(!r[a+233|0]){break A}c=0;u=q[q[g>>2]>>2];if(!u){break A}while(1){e=c+u|0;b=c+1|0;c=b;if(r[e|0]){continue}break}}q[d+4>>2]=i;q[d+16>>2]=q[g+20>>2];c=q[q[g>>2]>>2];q[d+20>>2]=b;q[d+8>>2]=c;while(1){c=f;f=f+1|0;if(r[c+i|0]){continue}break}m=q[g+20>>2];e=m+(b+f|0)|0;B:{if((e|0)<=q[g+24>>2]){t=q[g+16>>2];break B}e=e+24|0;t=n[q[a+12>>2]](e)|0;if(!t){v=1;break a}q[g+24>>2]=e;e=Qa(t,q[g+16>>2],q[g+20>>2]);m=q[a+360>>2];if(m){while(1){if(q[m+12>>2]==q[g+16>>2]){q[m+12>>2]=e}m=q[m>>2];if(m){continue}break}}n[q[a+20>>2]](q[g+16>>2]);q[g+16>>2]=e;m=q[g+20>>2]}e=Qa(m+t|0,i,f);if(b){c=c+e|0;o[c|0]=r[a+468|0];Qa(c+1|0,q[q[g>>2]>>2],b)}q[d>>2]=q[g+16>>2]}Da=k- -64|0;return v}function kF(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0;g=Da-256|0;Da=g;a:{if(!a){f=37;break a}if(!b){f=36;break a}i=q[a+4>>2];if(!i){f=35;break a}if(!(q[q[i+128>>2]+52>>2]|t[i+16>>2]>c>>>0)){f=6;break a}e=b;f=b+12|0;h=b+48|0;if(d&2){d=r[i+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(r[i+9|0]&32?9:11)|d}u=d&2;q[e+44>>2]=u?f:h;b:{if(d&8){break b}f=q[b+116>>2];if(r[i+9|0]&128|(s[i+6>>1]&32767|(f|0)==-1)){break b}e=q[b+20>>2];j=q[b+16>>2];f=n[q[q[i+540>>2]+72>>2]](i,f,c,d,q[i+104>>2],a+76|0,g+8|0)|0;if(!f){f=0;q[a+108>>2]=0;q[a+24>>2]=s[g+10>>1]<<6;q[a+28>>2]=s[g+8>>1]<<6;i=p[g+12>>1];q[a+32>>2]=i<<6;h=p[g+14>>1];q[a+36>>2]=h<<6;q[a+40>>2]=s[g+16>>1]<<6;l=p[g+18>>1];q[a+44>>2]=l<<6;k=p[g+20>>1];q[a+48>>2]=k<<6;u=s[g+22>>1];m=h;h=d&16;q[a+104>>2]=h?k:m;q[a+100>>2]=h?l:i;q[a+72>>2]=1651078259;q[a+52>>2]=u<<6;i=q[a+4>>2];if(!(o[i+8|0]&1)){break a}h=q[i+104>>2];Na(g+20|0,0,192);q[g+212>>2]=0;q[g+216>>2]=0;q[g+32>>2]=h;q[g+16>>2]=a;q[g+12>>2]=b;q[g+8>>2]=i;q[g+24>>2]=d;Bj(g+8|0,c,0,1);Ko(g+212|0,q[q[g+8>>2]+100>>2]);b=q[g+68>>2];q[a+56>>2]=b;q[a+60>>2]=q[g+184>>2];if(!(q[a+40>>2]|!b)){z=a,A=Ma(b,j),q[z+40>>2]=A}if(q[a+52>>2]){break a}b=q[a+60>>2];if(!b){break a}z=a,A=Ma(b,e),q[z+52>>2]=A;break a}i=q[a+4>>2];h=q[i+8>>2]&1;if((f&255)==157){if(h){break b}p[g+8>>1]=0;p[g+240>>1]=0;p[g+224>>1]=0;p[g+6>>1]=0;if(!q[i+752>>2]){break a}n[q[q[i+540>>2]+140>>2]](i,0,c,g+8|0,g+224|0);c:{if(r[i+292|0]){n[q[q[i+540>>2]+140>>2]](i,1,c,g+240|0,g+6|0);break c}if(s[i+372>>1]!=65535){b=p[i+442>>1];p[g+240>>1]=b;c=b-p[i+444>>1]|0;b=c>>31;p[g+6>>1]=b^b+c;break c}b=p[i+220>>1];p[g+240>>1]=b;c=b-p[i+222>>1]|0;b=c>>31;p[g+6>>1]=b^b+c}f=0;q[a+108>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;b=Ma(p[g+8>>1],j);q[a+36>>2]=0;q[a+32>>2]=b;b=Ma(s[g+224>>1],j);q[a+44>>2]=0;q[a+40>>2]=b;z=a,A=Ma(p[g+240>>1],e),q[z+48>>2]=A;b=Ma(s[g+6>>1],e);q[a+100>>2]=0;q[a+104>>2]=0;o[a+94|0]=1;q[a+72>>2]=1651078259;q[a+52>>2]=b;break a}if(!h){break a}}y=d&1;if(!(y|r[b+112|0])){f=36;break a}f=6;if(d&16384){break a}x=q[i+104>>2];v=q[i+96>>2];Na(g+8|0,0,212);if(!u){l=d>>>7&1;f=q[b+304>>2];d:{e:{if((f|0)>=0){e=q[b+308>>2];if((e|0)<0){break e}if(f){break a}f=e;if(!e){break d}break a}j=q[b>>2];f=q[j+100>>2];e=f;h=q[b+132>>2];if(h){n[q[e+8>>2]](e,h)}q[b+132>>2]=0;e=q[b+144>>2];if(e){n[q[f+8>>2]](f,e)}q[b+144>>2]=0;e=q[b+252>>2];if(e){n[q[f+8>>2]](f,e)}q[b+252>>2]=0;e=q[b+260>>2];if(e){n[q[f+8>>2]](f,e)}q[b+260>>2]=0;e=q[b+300>>2];if(e){q[e+444>>2]=0;h=q[e+8>>2];k=h;m=q[e+24>>2];if(m){n[q[k+8>>2]](k,m)}q[e+20>>2]=0;q[e+24>>2]=0;k=q[e+440>>2];if(k){n[q[h+8>>2]](h,k)}q[e+440>>2]=0;q[e+432>>2]=0;q[e+436>>2]=0;k=q[e+396>>2];if(k){n[q[h+8>>2]](h,k)}q[e+392>>2]=0;q[e+396>>2]=0;q[e>>2]=0;q[e+4>>2]=0;if(e){n[q[h+8>>2]](h,e)}}e=q[b+264>>2];if(e){h=q[b+292>>2];if(h){n[q[e+8>>2]](e,h)}q[b+292>>2]=0;h=q[b+288>>2];if(h){n[q[e+8>>2]](e,h)}q[b+288>>2]=0;h=q[b+280>>2];if(h){n[q[e+8>>2]](e,h)}q[b+280>>2]=0;h=q[b+276>>2];if(h){n[q[e+8>>2]](e,h)}q[b+276>>2]=0;h=q[b+284>>2];if(h){n[q[e+8>>2]](e,h)}q[b+284>>2]=0;q[b+272>>2]=0;q[b+264>>2]=0;q[b+268>>2]=0}q[b+304>>2]=-1;q[b+308>>2]=-1;z=b,A=jF(q[j+96>>2]),q[z+300>>2]=A;e=s[j+280>>1];q[b+128>>2]=e;h=s[j+282>>1];q[b+148>>2]=0;q[b+152>>2]=0;q[b+136>>2]=0;q[b+124>>2]=0;q[b+140>>2]=h;q[b+248>>2]=q[j+700>>2];h=s[j+278>>1];o[b+113|0]=0;o[b+114|0]=0;p[b+256>>1]=h;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;z=b,A=Oa(f,24,0,e,0,g+224|0),q[z+132>>2]=A;f:{if(q[g+224>>2]){break f}z=b,A=Oa(f,24,0,q[b+140>>2],0,g+224|0),q[z+144>>2]=A;if(q[g+224>>2]){break f}z=b,A=Oa(f,4,0,q[b+248>>2],0,g+224|0),q[z+252>>2]=A;if(q[g+224>>2]){break f}z=b,A=Oa(f,4,0,s[b+256>>1],0,g+224|0),q[z+260>>2]=A;if(q[g+224>>2]){break f}e=s[j+276>>1];q[b+292>>2]=0;q[b+296>>2]=0;q[b+284>>2]=0;q[b+288>>2]=0;q[b+276>>2]=0;q[b+280>>2]=0;q[b+268>>2]=0;q[b+272>>2]=0;q[b+264>>2]=f;k=e+4|0;h=k&65535;z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+276>>2]=A;g:{h:{i:{e=q[g+240>>2];j:{if(e){break j}z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+280>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+284>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,1,0,h,0,g+240|0),q[z+288>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,2,0,0,0,g+240|0),q[z+292>>2]=A;e=q[g+240>>2];if(!e){break i}}f=q[b+264>>2];if(f){break h}q[g+224>>2]=e;break f}p[b+268>>1]=k;p[b+270>>1]=0;q[g+224>>2]=0;break g}e=q[b+292>>2];if(e){n[q[f+8>>2]](f,e)}q[b+292>>2]=0;e=q[b+288>>2];if(e){n[q[f+8>>2]](f,e)}q[b+288>>2]=0;e=q[b+280>>2];if(e){n[q[f+8>>2]](f,e)}q[b+280>>2]=0;e=q[b+276>>2];if(e){n[q[f+8>>2]](f,e)}q[b+276>>2]=0;e=q[b+284>>2];if(e){n[q[f+8>>2]](f,e)}q[b+284>>2]=0;q[b+272>>2]=0;q[b+264>>2]=0;q[b+268>>2]=0;f=q[g+240>>2];q[g+224>>2]=f;if(f){break f}}p[b+272>>1]=k;Qa(b+180|0,4480,68);f=q[q[q[j+96>>2]+4>>2]+164>>2];q[j+708>>2]=f?f:29;e=q[b+300>>2];j=q[b>>2];f=Aj(e,j,b);k:{if(f){break k}q[e+484>>2]=0;q[e+488>>2]=0;q[e+480>>2]=64;q[e+16>>2]=0;q[e+432>>2]=0;q[e+568>>2]=16384;o[e+565|0]=l;q[e+220>>2]=0;q[e+224>>2]=0;o[e+492|0]=0;p[e+256>>1]=0;q[e+228>>2]=0;q[e+260>>2]=65536;q[e+264>>2]=0;h=q[j+688>>2];f=q[j+684>>2];q[e+456>>2]=0;q[e+460>>2]=0;q[e+452>>2]=f;q[e+448>>2]=h;q[e+464>>2]=0;q[e+468>>2]=0;l:{if(!f){q[b+304>>2]=0;break l}q[e+368>>2]=f;q[e+360>>2]=h;q[e+364>>2]=0;q[e+356>>2]=1;f=n[q[j+708>>2]](e)|0;q[b+304>>2]=f;if(f){break k}}q[b+124>>2]=q[e+400>>2];q[b+136>>2]=q[e+412>>2];q[b+148>>2]=q[e+424>>2];q[b+152>>2]=q[e+428>>2];f=q[e+452>>2];q[b+156>>2]=q[e+448>>2];q[b+160>>2]=f;f=q[e+460>>2];q[b+164>>2]=q[e+456>>2];q[b+168>>2]=f;f=q[e+468>>2];q[b+172>>2]=q[e+464>>2];q[b+176>>2]=f;f=0}q[g+224>>2]=f;break e}Fo(b);f=q[g+224>>2]}if(f){break a}f=q[b+308>>2];if((f|0)<=-1){f=s[b+272>>1];if(f){e=f>>>0>1?f:1;j=q[b+280>>2];h=q[b+276>>2];f=0;while(1){k=f<<3;m=k+h|0;q[m>>2]=0;q[m+4>>2]=0;k=j+k|0;q[k>>2]=0;q[k+4>>2]=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}f=s[b+256>>1];if(f){Na(q[b+260>>2],0,(f>>>0>1?f:1)<<2)}Qa(b+180|0,4480,68);f=Eo(b,l)}if(f){break a}}j=q[b+300>>2];if(!j){f=153;break a}f=d&983040;m:{if(q[v+64>>2]!=40){h=(f|0)!=131072;f=0;k=0;e=0;break m}k=(f|0)!=131072;f=k&(d&262144)>>>18;h=0;e=!(d&458752)&k}o[j+614|0]=f;f=Aj(j,i,b);if(f){break a}n:{o:{p:{q:{if(q[v+64>>2]==40){f=0;if(r[j+613|0]!=(k|0)){o[j+613|0]=k;f=1}if((e|0)!=r[j+618|0]){break q}if(r[j+612|0]==(h|0)){break p}o[j+612|0]=h;break o}if(r[j+612|0]==(h|0)){break n}o[j+612|0]=h;break o}o[j+618|0]=e;if(r[j+612|0]==(h|0)){break o}o[j+612|0]=h;break o}if(!f){break n}}f=Eo(b,l);if(f){break a}}f=r[j+340|0];e=f<<1&2;if(f&2){Qa(j+288|0,4480,68)}o[j+565|0]=l;q[g+164>>2]=j;q[g+168>>2]=q[j+396>>2];d=d|e}f=q[q[a+156>>2]>>2];Xe(f);q[g+24>>2]=d;q[g+20>>2]=f;q[g+212>>2]=0;q[g+216>>2]=0;q[g+32>>2]=x;q[g+16>>2]=a;q[g+12>>2]=b;q[g+8>>2]=i;q[a+124>>2]=0;q[a+128>>2]=0;q[a+72>>2]=1869968492;f=Bj(g+8|0,c,0,0);r:{if(f){break r}d=q[g+20>>2];s:{if(q[a+72>>2]==1668246896){q[a+128>>2]=q[d+48>>2];q[a+132>>2]=q[d+52>>2];break s}i=q[d+24>>2];f=a+108|0;q[f>>2]=q[d+20>>2];q[f+4>>2]=i;q[f+16>>2]=q[d+36>>2];i=q[d+32>>2];q[f+8>>2]=q[d+28>>2];q[f+12>>2]=i;q[a+124>>2]=q[a+124>>2]&-513;d=q[g+76>>2];if(!d){break s}oc(f,0-d|0,0)}t:{if(u){break t}d=q[g+164>>2];if(r[d+341|0]){u:{d=q[d+344>>2];if(d>>>0>5){break u}v:{switch(d-1|0){default:q[a+124>>2]=q[a+124>>2]|32;break t;case 3:q[a+124>>2]=q[a+124>>2]|48;break t;case 0:break t;case 1:case 2:break u;case 4:break v}}q[a+124>>2]=q[a+124>>2]|16;break t}q[a+124>>2]=q[a+124>>2]|8;break t}q[a+124>>2]=q[a+124>>2]|8}f=q[g+8>>2];i=q[f+96>>2];h=65536;e=q[g+12>>2];d=q[g+16>>2];h=o[g+24|0]&1?h:q[q[e+44>>2]+8>>2];w:{if(q[d+72>>2]!=1668246896){Te(d+108|0,g+240|0);break w}j=q[g+56>>2];q[g+248>>2]=q[g+52>>2];q[g+252>>2]=j;j=q[g+48>>2];q[g+240>>2]=q[g+44>>2];q[g+244>>2]=j}q[d+56>>2]=q[g+68>>2];u=q[g+240>>2];q[d+32>>2]=u;j=q[g+252>>2];q[d+36>>2]=j;q[d+40>>2]=q[g+84>>2]-q[g+76>>2];x:{y:{if(q[i+64>>2]!=40){break y}i=q[g+164>>2];if(!i){break y}if(r[i+615|0]){break x}}if(q[f+488>>2]|q[g+24>>2]&2097154){break x}v=q[f+776>>2];if(!v){break x}i=0;l=q[f+768>>2];x=l?l+8|0:0;k=q[f+780>>2];m=q[f+784>>2];e=s[q[e+44>>2]>>1];while(1){if((e|0)==r[i+m|0]){e=c+2|0;if(!l|e>>>0>=k>>>0){break x}q[d+40>>2]=r[e+(x+w(i,k)|0)|0]<<6;break x}i=i+1|0;if((v|0)!=(i|0)){continue}break}}q[d+24>>2]=q[g+248>>2]-u;i=j-q[g+244>>2]|0;q[d+28>>2]=i;z:{if(!(!r[f+292|0]|!s[f+330>>1])){e=Za(q[g+192>>2]-j|0,h)<<16>>16;i=0;j=q[g+192>>2];l=q[g+200>>2];if((j|0)<=(l|0)){break z}i=Za(j-l|0,h)&65535;break z}e=Za(i,h);i=s[f+372>>1]==65535;i=p[f+(i?220:442)>>1]-p[f+(i?222:444)>>1]|0;e=(i-(e<<16>>16)|0)/2|0}f=q[q[f+128>>2]+52>>2];A:{if(!f){break A}j=q[q[f>>2]+8>>2];if(!j){break A}q[g+232>>2]=i;q[g+228>>2]=e;q[g+224>>2]=0;f=n[j](q[f+4>>2],c,1,g+224|0)|0;if(f){break r}i=q[g+232>>2];e=q[g+228>>2]}q[d+60>>2]=i;c=d;if(!(o[g+24|0]&1)){e=Ma(e,h);i=Ma(i,h)}q[c+52>>2]=i;q[d+48>>2]=e;q[d+44>>2]=q[d+32>>2]-(q[d+40>>2]/2|0);f=0}Ko(g+212|0,q[q[g+8>>2]+100>>2]);if(s[q[b+44>>2]+2>>1]>23|y){break a}q[a+124>>2]=q[a+124>>2]|256}Da=g+256|0;return f|0}function Ih(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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;n=Da-192|0;Da=n;F=h;H=i&65535;r=d;o=e&65535;D=(e^i)&-2147483648;l=i>>>16&32767;a:{s=e>>>16&32767;b:{c:{if(l+ -1>>>0<32766?s+ -1>>>0<=32765:0){break c}m=e&2147483647;k=m;j=d;if(!(!j&(k|0)==2147418112?!(b|c):(k|0)==2147418112&j>>>0<0|k>>>0<2147418112)){K=d;D=e|32768;break b}m=i&2147483647;e=m;d=h;if(!(!d&(e|0)==2147418112?!(f|g):(e|0)==2147418112&d>>>0<0|e>>>0<2147418112)){K=h;D=i|32768;b=f;c=g;break b}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;D=2147450880;break b}D=D|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|j|(c|k))){break a}if(!(d|f|(e|g))){D=D|2147418112;b=0;c=0;break b}if((k|0)==65535&j>>>0<=4294967295|k>>>0<65535){j=b;h=!(o|r);i=h<<6;k=z(h?b:r)+32|0;b=z(h?c:o);b=i+((b|0)==32?k:b)|0;Fc(n+176|0,j,c,r,o,b+ -15|0);I=16-b|0;r=q[n+184>>2];o=q[n+188>>2];c=q[n+180>>2];b=q[n+176>>2]}if((e|0)==65535&d>>>0>4294967295|e>>>0>65535){break c}d=!(F|H);e=d<<6;h=z(d?f:F)+32|0;d=z(d?g:H);d=e+((d|0)==32?h:d)|0;Fc(n+160|0,f,g,F,H,d+ -15|0);I=(d+I|0)+ -16|0;F=q[n+168>>2];H=q[n+172>>2];f=q[n+160>>2];g=q[n+164>>2]}e=H|65536;J=e;L=F;d=F;k=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=k;i=1963258675-(k+(4192101508>>0)|0)|0;Ld(n+144|0,d,k,h,i);j=q[n+152>>2];Ld(n+128|0,0-j|0,0-(q[n+156>>2]+(0>>0)|0)|0,h,i);h=q[n+136>>2];i=h<<1|q[n+132>>2]>>>31;h=q[n+140>>2]<<1|h>>>31;Ld(n+112|0,i,h,d,k);j=h;h=q[n+120>>2];Ld(n+96|0,i,j,0-h|0,0-(q[n+124>>2]+(0>>0)|0)|0);h=q[n+104>>2];i=h<<1|q[n+100>>2]>>>31;h=q[n+108>>2]<<1|h>>>31;Ld(n+80|0,i,h,d,k);j=h;h=q[n+88>>2];Ld(n- -64|0,i,j,0-h|0,0-(q[n+92>>2]+(0>>0)|0)|0);h=q[n+72>>2];i=h<<1|q[n+68>>2]>>>31;h=q[n+76>>2]<<1|h>>>31;Ld(n+48|0,i,h,d,k);j=h;h=q[n+56>>2];Ld(n+32|0,i,j,0-h|0,0-(q[n+60>>2]+(0>>0)|0)|0);h=q[n+40>>2];i=h<<1|q[n+36>>2]>>>31;h=q[n+44>>2]<<1|h>>>31;Ld(n+16|0,i,h,d,k);j=h;h=q[n+24>>2];Ld(n,i,j,0-h|0,0-(q[n+28>>2]+(0>>0)|0)|0);I=(s-l|0)+I|0;h=q[n+8>>2];j=q[n+12>>2]<<1|h>>>31;i=h<<1;k=j+ -1|0;i=(q[n+4>>2]>>>31|i)+ -1|0;if(i>>>0<4294967295){k=k+1|0}h=i;j=0;x=j;t=e;l=0;m=W$(h,j,e,l);e=Ea;w=e;u=k;s=0;j=d;h=W$(k,s,j,0);d=h+m|0;k=Ea+e|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;p=W$(i,x,j,p);e=0+p|0;k=h;j=k+Ea|0;j=e>>>0

>>0|j>>>0>>0;e=d+B|0;if(e>>>0>>0){k=k+1|0}j=k;d=(w|0)!=0|(t|0)!=0;e=e+d|0;if(e>>>0>>0){j=j+1|0}k=e;e=0-k|0;p=0;h=W$(e,p,i,x);d=Ea;A=d;v=W$(u,s,e,p);e=Ea;B=e;y=0-((0>>0)+j|0)|0;j=0;p=W$(i,x,y,j);l=p+v|0;k=Ea+e|0;k=l>>>0

>>0?k+1|0:k;e=l;p=0+h|0;l=d+e|0;l=p>>>0>>0?l+1|0:l;m=p;d=l;l=(A|0)==(d|0)&m>>>0>>0|d>>>0>>0;m=(k|0)==(B|0)&e>>>0>>0|k>>>0>>0;e=W$(u,s,y,j)+k|0;j=m+Ea|0;j=e>>>0>>0?j+1|0:j;h=e;e=l+e|0;if(e>>>0>>0){j=j+1|0}y=e;h=j;l=p;e=0-w|0;G=0-((0>>0)+t|0)|0;w=0;B=W$(G,w,i,x);v=Ea;t=e;C=0;j=W$(e,C,u,s);e=j+B|0;k=Ea+v|0;m=e;e=e>>>0>>0?k+1|0:k;t=W$(i,x,t,C);i=0+t|0;j=m;k=j+Ea|0;k=i>>>0>>0?k+1|0:k;k=(j|0)==(k|0)&i>>>0>>0|k>>>0>>0;j=(e|0)==(v|0)&j>>>0>>0|e>>>0>>0;i=e;e=W$(u,s,G,w)+e|0;m=j+Ea|0;m=e>>>0>>0?m+1|0:m;i=e;e=k+e|0;j=m;j=e>>>0>>0?j+1|0:j;i=e;e=e+l|0;j=j+d|0;j=e>>>0>>0?j+1|0:j;i=e;k=h;e=j;d=(d|0)==(j|0)&i>>>0>>0|j>>>0>>0;h=d+y|0;if(h>>>0>>0){k=k+1|0}d=h;j=k;m=d;l=e+ -1|0;d=i+ -2|0;if(d>>>0<4294967294){l=l+1|0}h=d;k=d;d=l;e=(e|0)==(d|0)&k>>>0>>0|d>>>0>>0;i=m+e|0;if(i>>>0>>0){j=j+1|0}e=i+ -1|0;k=j+ -1|0;k=e>>>0<4294967295?k+1|0:k;i=0;u=i;s=e;j=r;v=j<<2|c>>>30;y=0;p=W$(e,i,v,y);i=Ea;m=i;i=c;G=(i&1073741823)<<2|b>>>30;C=k;i=0;j=W$(G,0,k,i);e=j+p|0;l=Ea+m|0;l=e>>>0>>0?l+1|0:l;j=e;t=l;A=(m|0)==(l|0)&j>>>0

>>0|l>>>0>>0;m=l;l=0;p=l;k=0;B=d;E=((o&1073741823)<<2|r>>>30)&-262145|262144;e=W$(d,l,E,0);d=e+j|0;m=Ea+m|0;m=d>>>0>>0?m+1|0:m;r=d;e=m;d=(t|0)==(e|0)&d>>>0>>0|e>>>0>>0;j=d+A|0;if(j>>>0>>0){k=1}m=W$(C,i,E,M);d=m+j|0;j=Ea+k|0;k=d>>>0>>0?j+1|0:j;l=W$(s,u,E,M);j=Ea;c=d;o=W$(v,y,C,i);d=o+l|0;m=Ea+j|0;m=d>>>0>>0?m+1|0:m;o=d;d=m;m=(j|0)==(d|0)&o>>>0>>0|d>>>0>>0;l=c+d|0;k=k+m|0;j=l;m=j>>>0>>0?k+1|0:k;c=j;l=e+o|0;k=0;d=k+r|0;if(d>>>0>>0){l=l+1|0}o=d;j=d;d=l;e=(e|0)==(d|0)&j>>>0>>0|d>>>0>>0;j=c+e|0;if(j>>>0>>0){m=m+1|0}N=j;e=o;k=d;r=W$(G,w,B,p);l=Ea;t=h;A=W$(h,0,v,y);h=A+r|0;j=Ea+l|0;j=h>>>0>>0?j+1|0:j;x=h;h=j;r=(l|0)==(j|0)&x>>>0>>0|j>>>0>>0;P=e;j=0;Q=r;c=b<<2&-4;r=W$(s,u,c,0);e=r+x|0;l=Ea+h|0;l=e>>>0>>0?l+1|0:l;A=e;r=e;e=l;h=(h|0)==(e|0)&r>>>0>>0|e>>>0>>0;l=Q+h|0;if(l>>>0>>0){j=1}h=P+l|0;k=j+k|0;k=h>>>0>>0?k+1|0:k;r=h;l=m;h=k;d=(d|0)==(k|0)&r>>>0>>0|k>>>0>>0;j=d+N|0;if(j>>>0>>0){l=l+1|0}P=j;o=r;x=h;N=W$(C,i,c,R);C=Ea;i=W$(E,M,t,O);d=i+N|0;m=Ea+C|0;m=d>>>0>>0?m+1|0:m;E=d;j=W$(v,y,B,p);d=d+j|0;i=m;k=i+Ea|0;k=d>>>0>>0?k+1|0:k;v=d;m=W$(s,u,G,w);d=d+m|0;j=Ea+k|0;s=d;j=d>>>0>>0?j+1|0:j;u=0;m=l;d=j;j=(j|0)==(k|0)&s>>>0>>0|j>>>0>>0;l=(i|0)==(C|0)&E>>>0>>0|i>>>0>>0;i=(i|0)==(k|0)&v>>>0>>0|k>>>0>>0;k=l+i|0;k>>>0>>0;i=j+k|0;k=i;j=d|0;i=j+o|0;k=(k|u)+x|0;k=i>>>0>>0?k+1|0:k;x=i;o=k;h=(h|0)==(k|0)&i>>>0>>0|k>>>0>>0;i=h+P|0;if(i>>>0>>0){m=m+1|0}y=i;i=m;m=x;r=o;u=A;B=W$(B,p,c,R);p=Ea;j=W$(G,w,t,O);h=j+B|0;l=Ea+p|0;l=h>>>0>>0?l+1|0:l;k=l;w=k;l=0;j=(k|0)==(p|0)&h>>>0>>0|k>>>0

>>0;h=k+u|0;k=(j|l)+e|0;k=h>>>0>>0?k+1|0:k;w=h;j=h;h=k;j=(e|0)==(k|0)&j>>>0>>0|k>>>0>>0;c=m;e=j;j=k+s|0;m=0;d=m+w|0;if(d>>>0>>0){j=j+1|0}d=(h|0)==(j|0)&d>>>0>>0|j>>>0>>0;e=e+d|0;if(e>>>0>>0){l=1}d=c+e|0;m=l+r|0;h=d;j=i;m=d>>>0>>0?m+1|0:m;i=m;d=(o|0)==(i|0)&d>>>0>>0|i>>>0>>0;e=d+y|0;if(e>>>0>>0){j=j+1|0}d=e;e=j;d:{if((j|0)==131071&d>>>0<=4294967295|j>>>0<131071){u=0;o=f;v=0;k=W$(h,u,o,v);l=Ea;j=b<<17;b=0;c=(k|0)!=0|(l|0)!=0;r=b-c|0;E=j-(b>>>0>>0)|0;w=0-k|0;p=0-((0>>0)+l|0)|0;c=0;y=W$(i,c,o,v);b=Ea;G=b;s=0;k=W$(h,u,g,s);j=k+y|0;l=Ea+b|0;l=j>>>0>>0?l+1|0:l;b=j;k=j;t=0;j=t;A=k;j=(k|0)==(p|0)&w>>>0>>0|p>>>0>>0;x=r-j|0;r=E-(r>>>0>>0)|0;j=W$(d,0,o,v);k=Ea;o=W$(h,u,F,0);j=o+j|0;m=Ea+k|0;m=j>>>0>>0?m+1|0:m;o=W$(g,s,i,c);j=o+j|0;k=Ea+m|0;k=j>>>0>>0?k+1|0:k;m=k;k=(l|0)==(G|0)&b>>>0>>0|l>>>0>>0;b=l+j|0;k=k+m|0;m=b;b=m>>>0>>0?k+1|0:k;j=W$(h,i,J,0);l=Ea;o=m;m=W$(f,g,e,0);k=m+j|0;j=Ea+l|0;j=k>>>0>>0?j+1|0:j;l=W$(d,e,g,s);m=l+k|0;j=W$(i,c,F,H);c=j+m|0;j=c;k=0;c=o+k|0;j=b+j|0;b=c;F=x-b|0;H=r-((x>>>0>>0)+(b>>>0>>0?j+1|0:j)|0)|0;I=I+ -1|0;c=w-t|0;b=p-((w>>>0>>0)+A|0)|0;break d}p=i>>>1|0;l=0;r=b<<16;k=d<<31;h=(i&1)<<31|h>>>1;i=i>>>1|k;y=0;c=f;m=0;b=W$(h,y,c,m);j=Ea;k=j;o=0;j=(b|0)!=0|(j|0)!=0;t=o-j|0;E=r-(o>>>0>>0)|0;A=0-b|0;x=0-((0>>0)+k|0)|0;o=x;r=0;w=W$(h,y,g,r);b=Ea;C=b;k=e<<31|d>>>1;p=p|d<<31;M=k|l;k=p;u=W$(k,0,c,m);l=u+w|0;j=Ea+b|0;j=l>>>0>>0?j+1|0:j;b=j;j=l;v=j;u=0;j=(j|0)==(o|0)&A>>>0>>0|o>>>0>>0;B=t-j|0;t=E-(t>>>0>>0)|0;E=W$(g,r,k,O);O=Ea;j=c;k=m;c=e>>>1|0;o=(e&1)<<31|d>>>1;m=W$(j,k,o,0);j=m+E|0;k=Ea+O|0;k=j>>>0>>0?k+1|0:k;s=W$(h,y,F,0);m=s+j|0;j=Ea+k|0;k=m;m=k>>>0>>0?j+1|0:j;j=(b|0)==(C|0)&l>>>0>>0|b>>>0>>0;s=b;b=b+k|0;l=j+m|0;m=b;b=m>>>0>>0?l+1|0:l;j=W$(h,i,J,0);k=Ea;e=W$(f,g,e>>>1|0,0);d=e+j|0;j=Ea+k|0;j=d>>>0>>0?j+1|0:j;e=W$(o,c,g,r);d=e+d|0;j=Ea+j|0;e=W$(p,M,F,H);d=e+d|0;j=d;e=0;d=e+m|0;k=b+j|0;F=B-d|0;H=t-((B>>>0>>0)+(d>>>0>>0?k+1|0:k)|0)|0;d=o;e=c;c=A-u|0;b=x-((A>>>0>>0)+v|0)|0}if((I|0)>=16384){D=D|2147418112;b=0;c=0;break b}l=I+16383|0;if((I|0)<=-16383){e:{if(l){break e}l=i;m=b<<1|c>>>31;j=c<<1;g=(g|0)==(m|0)&j>>>0>f>>>0|m>>>0>g>>>0;j=e&65535;f=F;m=H<<1|f>>>31;c=f<<1|b>>>31;e=c;b=(e|0)==(L|0)&(m|0)==(J|0)?g:(J|0)==(m|0)&e>>>0>L>>>0|m>>>0>J>>>0;c=b+h|0;if(c>>>0>>0){l=l+1|0}b=c;e=b;c=l;e=d+((i|0)==(l|0)&e>>>0>>0|l>>>0>>0)|0;if(e>>>0>>0){j=j+1|0}d=j;if(!(j&65536)){break e}K=e|K;D=d|D;break b}b=0;c=0;break b}k=i;e=e&65535;j=b<<1|c>>>31;o=c<<1;g=(g|0)==(j|0)&o>>>0>=f>>>0|j>>>0>g>>>0;f=F;j=H<<1|f>>>31;c=f<<1|b>>>31;b=(c|0)==(L|0)&(j|0)==(J|0)?g:(J|0)==(j|0)&c>>>0>=L>>>0|j>>>0>J>>>0;c=b+h|0;if(c>>>0>>0){k=k+1|0}b=c;c=k;f=d;d=((i|0)==(k|0)&b>>>0>>0|k>>>0>>0)+d|0;k=l<<16|e;K=d|K;D=D|(d>>>0>>0?k+1|0:k)}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=K;q[a+12>>2]=D;Da=n+192|0;return}q[a>>2]=0;q[a+4>>2]=0;b=(d|f)!=0|(e|g)!=0;q[a+8>>2]=b?K:0;q[a+12>>2]=b?D:2147450880;Da=n+192|0}function NV(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,p=0,s=0,u=0;d=Da-112|0;Da=d;q[a+84>>2]=0;q[a+88>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+108>>2]=-1;q[a+112>>2]=-1;q[a+116>>2]=-1;q[a+120>>2]=-1;q[a+124>>2]=-1;q[a+128>>2]=-1;q[a+132>>2]=-1;q[a+136>>2]=-1;q[a+140>>2]=-1;q[a+144>>2]=-1;q[a+148>>2]=-1;q[a+164>>2]=0;q[a+168>>2]=0;q[a+156>>2]=0;q[a+160>>2]=8720;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+196>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;q[a+208>>2]=0;if(!r[a+40|0]){c=Mb(b);o[a+40|0]=1;q[a+36>>2]=c}i=a+4|0;b=MV(i,Jb(b,1128678944));q[a>>2]=b;b=ub(b);o[a+24|0]=0;q[a+32>>2]=b;c=q[b+12>>2];q[a+8>>2]=c;e=c;c=q[b+16>>2];q[a+12>>2]=e+c;a:{b:{if((c|0)>-1){q[a+4>>2]=0;q[a+28>>2]=0;b=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[b+16>>2]=c;b=q[a>>2];k=q[b+12>>2];if(!(t[b+16>>2]>3?(k|0)!=271312:0)){nc(a);break a}b=r[k+2|0];b=b?b+k|0:271312;q[a+52>>2]=b;c:{if((b|0)!=271312){if(jf(b,i)){break c}}nc(a);break a}g=a;e=q[a+52>>2];b=0;d:{if((e|0)==271312){break d}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break d}c=r[e+2|0];l=w(c,h+1|0);if(c){b=(e+w(c,h)|0)+3|0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+56>>2]=b;e:{f:{if((b|0)==271312){break f}if(!jf(b,i)){break f}g=q[a+56>>2];b=r[g|0]<<8|r[g+1|0];if(b){break e}}nc(a);break a}f=r[g+2|0];e=(g+w(f,b+1|0)|0)+3|0;c=0;if(f){b=g+3|0;while(1){c=r[b|0]|c<<8;b=b+1|0;f=f+ -1|0;if(f){continue}break}}c=(c+e|0)+ -1|0;g:{g=rg(g,0);b=g+1|0;h:{if(b>>>0<=1){if(b-1){break h}break g}if(t[a+8>>2]>c>>>0){break h}b=q[a+12>>2];if(b>>>0>>0|b-c>>>0>>0){break h}b=q[a+16>>2];q[a+16>>2]=b+ -1;if((b|0)>0){break g}}nc(a);break a}b=a+84|0;q[d+72>>2]=0;q[d+76>>2]=0;e=d- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;o[d+96|0]=0;q[d+80>>2]=0;q[d+84>>2]=0;o[d+72|0]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;q[d+56>>2]=c;q[d+60>>2]=g;o[d+76|0]=0;c=Sa(4744);i:{if(!c){q[d+84>>2]=-1;break i}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=c;Na(c,0,4104)}o[d+96|0]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[a+148>>2]=-1;q[a+140>>2]=-1;q[a+144>>2]=-1;q[a+132>>2]=-1;q[a+136>>2]=-1;q[a+124>>2]=-1;q[a+128>>2]=-1;q[a+116>>2]=-1;q[a+120>>2]=-1;q[a+108>>2]=-1;q[a+112>>2]=-1;q[a+156>>2]=0;q[a+160>>2]=8720;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;if(!LV(d+56|0,b)){nc(a);La(q[d+92>>2]);break a}La(q[d+92>>2]);b=q[a+168>>2];if(b>>>0<=2){q[a+48>>2]=271312;break b}b=b+k|0;q[a+48>>2]=b;if((b|0)!=271312){if(KV(b,i)){break b}}nc(a);break a}I(242848,242873,195,242890);F()}q[a+80>>2]=1;j:{k:{l:{if(q[a+144>>2]!=-1){b=q[a+104>>2];b=b?b+k|0:271312;q[a+72>>2]=b;c=q[a+172>>2];q[a+76>>2]=c?c+k|0:271312;if((b|0)==271312){break j}if(!jf(b,i)){break j}b=q[a+76>>2];if((b|0)==271312){break j}h=q[a+8>>2];if(h>>>0>b>>>0){break j}l=q[a+12>>2];if(l>>>0<=b>>>0){break j}e=q[a+72>>2];c=r[e|0];m=r[e+1|0];f=q[a+16>>2];g=f+ -1|0;q[a+16>>2]=g;if((f|0)<1){break j}f=r[b|0];if(f>>>0>3){break j}m:{n:{switch(f-1|0){default:m=q[a+36>>2];if(!m){break m}f=b+1|0;b=0;c=g;while(1){j=b+f|0;if(h>>>0>j>>>0|l>>>0<=j>>>0){break j}c=c+ -1|0;q[a+16>>2]=c;if((b|0)==(g|0)){break j}b=b+1|0;if((m|0)!=(b|0)){continue}break}break m;case 0:case 1:break j;case 2:break n}}if(!ju(b+1|0,i,m|c<<8)){break j}e=q[a+72>>2]}b=r[e+1|0];c=r[e|0];q[a+44>>2]=271312;q[a+80>>2]=b|c<<8;b=a+44|0;if(q[a+144>>2]==-1){break l}if(q[a+48>>2]!=271312){break k}nc(a);break a}q[a+76>>2]=271312;q[a+72>>2]=271312;q[a+44>>2]=271312;b=a+44|0}c=q[a+164>>2];if(c>>>0<2){break k}e=b;b=c+k|0;q[e>>2]=b;if((b|0)!=271312){if(IV(b,i)){break k}}nc(a);break a}g=a;e=q[a+56>>2];b=0;o:{if((e|0)==271312){break o}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break o}c=r[e+2|0];l=w(c,h+1|0);p:{if(!c){f=0;break p}b=(e+w(c,h)|0)+3|0;f=0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+60>>2]=b;q:{if((b|0)!=271312){if(jf(b,i)){break q}}nc(a);break a}g=a;e=q[a+60>>2];b=0;r:{if((e|0)==271312){break r}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break r}c=r[e+2|0];l=w(c,h+1|0);s:{if(!c){f=0;break s}b=(e+w(c,h)|0)+3|0;f=0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+64>>2]=b;t:{if((b|0)==271312){break t}if(jf(b,i)){break t}nc(a);break a}b=q[a+100>>2];b=b?b+k|0:271312;q[a+68>>2]=b;u:{if((b|0)!=271312){if(jf(b,i)){break u}}nc(a);break a}b=q[a+68>>2];b=r[b|0]<<8|r[b+1|0];q[a+212>>2]=b;if((b|0)!=q[a+36>>2]){nc(a);break a}b=q[a+80>>2];c=0;e=q[a+200>>2];if((e|0)>=0){b=(b|0)>0?b:0;v:{if(e>>>0>>0){g=e;while(1){g=((g>>>1|0)+g|0)+8|0;if(g>>>0<=b>>>0){continue}break}w:{if(!(g>>>0>>0|g>>>0>178956969)){e=db(q[a+208>>2],w(g,24));if(e){break w}}q[a+200>>2]=-1;break v}q[a+200>>2]=g;q[a+208>>2]=e}g=q[a+204>>2];if(b>>>0>g>>>0){Na(q[a+208>>2]+w(g,24)|0,0,w(b-g|0,24))}q[a+204>>2]=b}b=q[a+80>>2]}x:{if(b){while(1){y:{if(t[a+204>>2]<=c>>>0){b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break y}b=q[a+208>>2]+w(c,24)|0}q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=c+1|0;b=q[a+80>>2];if(c>>>0>>0){continue}break}if(q[a+144>>2]==-1){break x}if(!b){break a}h=q[67830];l=q[67829];m=q[67828];g=0;while(1){c=m;b=l;e=h;z:{j=q[a+72>>2];f=r[j|0]<<8|r[j+1|0];if(f>>>0>g>>>0){c=r[j+2|0];n=w(c,f+1|0);e=0;f=0;if(c){b=(j+w(c,g)|0)+3|0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=(n+(j+2|0)|0)+f|0;b=rg(j,g)}f=b+1|0;A:{if(f>>>0<=1){if(f-1){break A}break z}if(t[a+8>>2]>c>>>0){break A}f=q[a+12>>2];if(f>>>0>>0|f-c>>>0>>0){break A}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)>0){break z}}nc(a);break a}o[d+76|0]=0;o[d+72|0]=0;q[d+68>>2]=0;q[d+64>>2]=e;q[d+60>>2]=b;q[d+56>>2]=c;q[d+88>>2]=0;q[d+92>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;b=Sa(4744);B:{if(!b){q[d+84>>2]=-1;break B}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=b;Na(b,0,4104)}o[d+96|0]=0;C:{D:{E:{F:{b=q[a+188>>2];if((b|0)>=0){c=b;f=q[a+192>>2];e=f+1|0;e=(e|0)>0?e:0;if(b>>>0>=e>>>0){break E}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>134217726)){b=db(q[a+196>>2],c<<5);if(b){break F}}q[a+188>>2]=-1}b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;break D}q[a+188>>2]=c;q[a+196>>2]=b;f=q[a+192>>2]}if(e>>>0>f>>>0){Na(q[a+196>>2]+(f<<5)|0,0,e-f<<5)}q[a+192>>2]=e;b=q[a+196>>2];c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];f=c;j=q[67832];q[160748]=j;q[160749]=c;c=q[67831];n=c;p=q[67830];q[160746]=p;q[160747]=c;c=q[67829];u=c;s=q[67828];q[160744]=s;q[160745]=c;c=b+(e+ -1<<5)|0;if((c|0)==642976){break D}q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+28>>2]=-1;if(!HV(d+56|0,c)){break D}G:{if(t[a+204>>2]<=g>>>0){q[160748]=j;q[160749]=f;q[160746]=p;q[160747]=n;q[160744]=s;q[160745]=u;b=642976;break G}b=q[a+208>>2]+w(g,24)|0}e=q[c+16>>2]+k|0;c=q[c+20>>2];f=c+1|0;H:{if(f>>>0<=1){if(f-1){break D}break H}if(t[a+8>>2]>e>>>0){break D}f=q[a+12>>2];if(f>>>0>>0|f-e>>>0>>0){break D}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)<=0){break D}}o[d+28|0]=0;q[d+12>>2]=c;q[d+8>>2]=e;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+24|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;c=Sa(4744);I:{if(!c){q[d+36>>2]=-1;break I}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=c;Na(c,0,4104)}o[d+48|0]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;J:{if(iu(d+8|0,b)){f=b;b=q[b+16>>2];c=b?b+e|0:271312;q[f+20>>2]=c;b=0;if((c|0)==271312){break J}if(jf(c,i)){break J}}nc(a);b=1}La(q[d+44>>2]);break C}nc(a);b=1}La(q[d+92>>2]);if(b){break a}g=g+1|0;if(g>>>0>2]){continue}break}break a}if(q[a+144>>2]!=-1){break a}}K:{if(!q[a+204>>2]){b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break K}b=q[a+208>>2]}c=q[a+176>>2]+k|0;L:{g=q[a+180>>2];e=g+1|0;M:{if(e>>>0<=1){if(e-1){break M}break L}if(t[a+8>>2]>c>>>0){break M}e=q[a+12>>2];if(e>>>0>>0|e-c>>>0>>0){break M}e=q[a+16>>2];q[a+16>>2]=e+ -1;if((e|0)>0){break L}}nc(a);break a}q[d+80>>2]=0;q[d+84>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;o[d+72|0]=0;o[d+76|0]=0;q[d+60>>2]=g;q[d+56>>2]=c;q[d+64>>2]=0;q[d+68>>2]=0;g=Sa(4744);N:{if(!g){q[d+84>>2]=-1;break N}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=g;Na(g,0,4104)}o[d+96|0]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;O:{if(iu(d+56|0,b)){e=b;b=q[b+16>>2];b=b?b+c|0:271312;q[e+20>>2]=b;if((b|0)==271312){break O}if(jf(b,i)){break O}}nc(a)}La(q[d+92>>2]);break a}nc(a)}Da=d+112|0}function OF(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;q[d>>2]=0;a:{b:{c:{d:{if(b){g=f;h=q[b+20>>2];e:{if(h){i=85;if(n[h](b,0,0,0)){break e}}q[b+8>>2]=0;q[f>>2]=0;q[d>>2]=0;i=kd(b,333319,e)}q[g>>2]=i;q[d+4>>2]=0;g=q[b+20>>2];if(!g){break d}if(!n[g](b,0,0,0)){break d}q[f+4>>2]=85;break c}q[d>>2]=0;q[f>>2]=81;q[d+4>>2]=0;q[f+4>>2]=81;q[d+8>>2]=0;q[f+8>>2]=0;j=q[a>>2];i=Tc(j,c,4305);if(!i){h=64;break a}g=q[a>>2];b=n[q[g+4>>2]](g,40)|0;if(!b){h=64;break b}o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;q[b+28>>2]=g;h=Vd(b,i);q[b+16>>2]=i;if(h){n[q[g+8>>2]](g,b);break b}q[b+28>>2]=g;h=kd(b,333319,e+8|0);g=q[b+28>>2];k=q[b+24>>2];if(k){n[k](b)}n[q[g+8>>2]](g,b);if(h){break b}q[d+8>>2]=i;h=0;break a}q[b+8>>2]=0;q[f+4>>2]=0;q[d+4>>2]=0;m=f,p=kd(b,333312,e+4|0),q[m+4>>2]=p}q[d+8>>2]=0;f:{g:{g=q[b+20>>2];if(!g){break g}if(!n[g](b,0,0,0)){break g}q[f+8>>2]=85;break f}q[b+8>>2]=0;q[f+8>>2]=0;k=q[a>>2];j=Tc(k,c,4305);h:{if(!j){i=64;break h}i:{h=q[a>>2];g=n[q[h+4>>2]](h,40)|0;if(!g){i=64;break i}o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g|0]=0;o[g+1|0]=0;o[g+2|0]=0;o[g+3|0]=0;o[g+4|0]=0;o[g+5|0]=0;o[g+6|0]=0;o[g+7|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+8|0]=0;o[g+9|0]=0;o[g+10|0]=0;o[g+11|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;q[g+28>>2]=h;i=Vd(g,j);q[g+16>>2]=j;if(i){n[q[h+8>>2]](h,g);break i}q[g+28>>2]=h;i=kd(g,333319,e+8|0);h=q[g+28>>2];l=q[g+24>>2];if(l){n[l](g)}n[q[h+8>>2]](h,g);if(i){break i}q[d+8>>2]=j;i=0;break h}n[q[k+8>>2]](k,j)}q[f+8>>2]=i}q[d+12>>2]=0;j:{k:{g=q[b+20>>2];if(!g){break k}if(!n[g](b,0,0,0)){break k}q[f+12>>2]=85;break j}q[b+8>>2]=0;q[f+12>>2]=0;i=Wa(c);j=i+18|0;g=f;l:{m:{if((i|0)<=-18){k=6;if(j){break l}h=0;break m}h=q[a>>2];h=n[q[h+4>>2]](h,j)|0;k=64;if(!h){break l}Na(h,0,j)}k=Qa(h,c,i);i=k+i|0;h=r[4324]|r[4325]<<8;o[i+16|0]=h;o[i+17|0]=h>>>8;h=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);j=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[i+8|0]=j;o[i+9|0]=j>>>8;o[i+10|0]=j>>>16;o[i+11|0]=j>>>24;o[i+12|0]=h;o[i+13|0]=h>>>8;o[i+14|0]=h>>>16;o[i+15|0]=h>>>24;h=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);j=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[i|0]=j;o[i+1|0]=j>>>8;o[i+2|0]=j>>>16;o[i+3|0]=j>>>24;o[i+4|0]=h;o[i+5|0]=h>>>8;o[i+6|0]=h>>>16;o[i+7|0]=h>>>24;q[d+12>>2]=k;q[e+12>>2]=0;k=0}q[g+12>>2]=k}q[d+16>>2]=0;n:{o:{g=q[b+20>>2];if(!g){break o}if(!n[g](b,0,0,0)){break o}q[f+16>>2]=85;break n}q[b+8>>2]=0;q[f+16>>2]=0;i=6;g=Wa(c);j=g+6|0;p:{q:{if((g|0)<=-6){if(j){break p}h=0;break q}i=q[a>>2];h=n[q[i+4>>2]](i,j)|0;if(!h){i=64;break p}Na(h,0,j)}i=0;j=Qa(h,c,g);g=j+g|0;h=r[4330]|r[4331]<<8;o[g+4|0]=h;o[g+5|0]=h>>>8;h=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[g|0]=h;o[g+1|0]=h>>>8;o[g+2|0]=h>>>16;o[g+3|0]=h>>>24;q[d+16>>2]=j;q[e+16>>2]=0}q[f+16>>2]=i}q[d+20>>2]=0;r:{s:{g=q[b+20>>2];if(!g){break s}if(!n[g](b,0,0,0)){break s}q[f+20>>2]=85;break r}q[b+8>>2]=0;q[f+20>>2]=0;g=f;h=Tc(q[a>>2],c,4332);i=64;t:{if(!h){break t}q[d+20>>2]=h;q[e+20>>2]=0;i=0}q[g+20>>2]=i}q[d+24>>2]=0;u:{v:{g=q[b+20>>2];if(!g){break v}if(!n[g](b,0,0,0)){break v}q[f+24>>2]=85;break u}q[b+8>>2]=0;q[f+24>>2]=0;g=f;h=Tc(q[a>>2],c,4346);i=64;w:{if(!h){break w}q[d+24>>2]=h;q[e+24>>2]=0;i=0}q[g+24>>2]=i}q[d+28>>2]=0;x:{y:{g=q[b+20>>2];if(!g){break y}if(!n[g](b,0,0,0)){break y}q[f+28>>2]=85;break x}q[b+8>>2]=0;q[f+28>>2]=0;k=q[a>>2];j=Tc(k,c,4357);z:{if(!j){i=64;break z}A:{h=q[a>>2];g=n[q[h+4>>2]](h,40)|0;if(!g){i=64;break A}o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g|0]=0;o[g+1|0]=0;o[g+2|0]=0;o[g+3|0]=0;o[g+4|0]=0;o[g+5|0]=0;o[g+6|0]=0;o[g+7|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+8|0]=0;o[g+9|0]=0;o[g+10|0]=0;o[g+11|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;q[g+28>>2]=h;i=Vd(g,j);q[g+16>>2]=j;if(i){n[q[h+8>>2]](h,g);break A}q[g+28>>2]=h;i=kd(g,333319,e+28|0);h=q[g+28>>2];l=q[g+24>>2];if(l){n[l](g)}n[q[h+8>>2]](h,g);if(i){break A}q[d+28>>2]=j;i=0;break z}n[q[k+8>>2]](k,j)}q[f+28>>2]=i}q[d+32>>2]=0;B:{g=q[b+20>>2];if(!g){break B}if(!n[g](b,0,0,0)){break B}q[f+32>>2]=85;return}q[b+8>>2]=0;q[f+32>>2]=0;g=q[a>>2];c=Tc(g,c,4359);if(!c){q[f+32>>2]=64;return}C:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){i=64;break C}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;i=Vd(a,c);q[a+16>>2]=c;if(i){n[q[b+8>>2]](b,a);break C}q[a+28>>2]=b;i=kd(a,333319,e+32|0);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(i){break C}q[d+32>>2]=c;q[f+32>>2]=0;return}n[q[g+8>>2]](g,c);q[f+32>>2]=i;return}n[q[j+8>>2]](j,i)}q[f+8>>2]=h;h=0;q[d+12>>2]=0;q[f+12>>2]=0;b=Wa(c);g=b+18|0;D:{E:{if((b|0)<=-18){i=6;if(!g){break E}break D}i=q[a>>2];h=n[q[i+4>>2]](i,g)|0;if(!h){i=64;break D}Na(h,0,g)}i=0;j=Qa(h,c,b);b=j+b|0;g=r[4324]|r[4325]<<8;o[b+16|0]=g;o[b+17|0]=g>>>8;g=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);h=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[b+8|0]=h;o[b+9|0]=h>>>8;o[b+10|0]=h>>>16;o[b+11|0]=h>>>24;o[b+12|0]=g;o[b+13|0]=g>>>8;o[b+14|0]=g>>>16;o[b+15|0]=g>>>24;g=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);h=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=g;o[b+5|0]=g>>>8;o[b+6|0]=g>>>16;o[b+7|0]=g>>>24;q[d+12>>2]=j;q[e+12>>2]=0}q[f+12>>2]=i;i=0;q[d+16>>2]=0;q[f+16>>2]=0;h=6;b=Wa(c);g=b+6|0;F:{G:{if((b|0)<=-6){if(!g){break G}break F}i=q[a>>2];i=n[q[i+4>>2]](i,g)|0;if(!i){h=64;break F}Na(i,0,g)}h=0;i=Qa(i,c,b);b=i+b|0;g=r[4330]|r[4331]<<8;o[b+4|0]=g;o[b+5|0]=g>>>8;g=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[b|0]=g;o[b+1|0]=g>>>8;o[b+2|0]=g>>>16;o[b+3|0]=g>>>24;q[d+16>>2]=i;q[e+16>>2]=0}q[f+16>>2]=h;q[d+20>>2]=0;q[f+20>>2]=0;b=f;g=Tc(q[a>>2],c,4332);if(g){q[d+20>>2]=g;q[e+20>>2]=0;g=0}else{g=64}q[b+20>>2]=g;q[d+24>>2]=0;q[f+24>>2]=0;b=f;g=Tc(q[a>>2],c,4346);if(g){q[d+24>>2]=g;q[e+24>>2]=0;g=0}else{g=64}q[b+24>>2]=g;q[d+28>>2]=0;q[f+28>>2]=0;h=64;j=q[a>>2];i=Tc(j,c,4357);H:{if(!i){break H}I:{g=q[a>>2];b=n[q[g+4>>2]](g,40)|0;if(!b){break I}o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;q[b+28>>2]=g;h=Vd(b,i);q[b+16>>2]=i;if(h){n[q[g+8>>2]](g,b);break I}q[b+28>>2]=g;h=kd(b,333319,e+28|0);g=q[b+28>>2];k=q[b+24>>2];if(k){n[k](b)}n[q[g+8>>2]](g,b);if(h){break I}q[d+28>>2]=i;h=0;break H}n[q[j+8>>2]](j,i)}q[f+28>>2]=h;q[d+32>>2]=0;q[f+32>>2]=0;J:{b=f;h=q[a>>2];g=Tc(h,c,4359);if(g){c=q[a>>2];a=n[q[c+4>>2]](c,40)|0;if(!a){i=64;break J}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=c;i=Vd(a,g);q[a+16>>2]=g;if(i){n[q[c+8>>2]](c,a);break J}q[a+28>>2]=c;i=kd(a,333319,e+32|0);c=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[c+8>>2]](c,a);if(i){break J}q[d+32>>2]=g;a=0}else{a=64}q[b+32>>2]=a;return}n[q[h+8>>2]](h,g);q[f+32>>2]=i}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,u=0;c=q[a+4>>2];j=q[a+52>>2];m=2;a:{if(t[a+20>>2]<28){break a}ej(a+8|0);b=q[a>>2]+ -7|0;if(b>>>0>3){return-31}b:{c:{switch(b-1|0){default:b=0;break b;case 0:b=1;break b;case 1:b=2;break b;case 2:break c}}b=3}while(1){d:{e:{f:{g:{h:{i:{switch(b|0){case 0:j:{k:{h=q[a+20>>2];if(h>>>0<28){break k}i=q[a+196>>2];if(i){break j}while(1){rA(a);h=q[a+20>>2];if(h>>>0<28){break k}i=q[a+196>>2];if(!i){continue}break}break j}q[a>>2]=7;break a}c=q[a+8>>2];f=q[a+104>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=c>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=c+2;c=e|d<<16;q[a+8>>2]=c}e=a;d=c>>>b|0;g=f+((d&255)<<2)|0;f=r[g|0];if(f>>>0>=9){b=b+8|0;q[a+12>>2]=b;g=(s[g+2>>1]+(q[(f<<2)+153520>>2]&d>>>8)<<2)+g|0;f=r[g|0]}d=(f&255)+b|0;q[e+12>>2]=d;b=s[g+2>>1]<<3;f=r[b+155747|0];q[a+180>>2]=f;q[a+268>>2]=o[b+155746|0];o[a+260|0]=r[f+q[a+116>>2]|0];l=b+155748|0;n=b+155750|0;g=r[b+155745|0];e=0;f=r[b+155744|0];l:{if(!f){b=d;break l}if(f>>>0<=16){if(d>>>0>=16){d=d^16;q[a+12>>2]=d;b=c>>>16|0;q[a+8>>2]=b;c=q[a+16>>2];e=r[c|0]|r[c+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=c+2;c=b|e<<16;q[a+8>>2]=c}b=f+d|0;q[a+12>>2]=b;e=q[(f<<2)+153552>>2]&c>>>d;break l}m:{n:{if(d>>>0<=15){e=d+16|0;q[a+12>>2]=e;d=c>>>d&65535;b=q[a+16>>2];break n}k=d^16;q[a+12>>2]=k;d=c>>>16|0;q[a+8>>2]=d;c=q[a+16>>2];u=r[c|0]|r[c+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;b=c+2|0;q[a+16>>2]=b;e=k+16|0;q[a+12>>2]=e;c=d|u<<16;q[a+8>>2]=c;d=c>>>k&65535;if(k>>>0>4294967279){break m}}e=e^16;q[a+12>>2]=e;c=c>>>16|0;q[a+8>>2]=c;k=r[b|0]|r[b+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=b+2;c=c|k<<16;q[a+8>>2]=c}f=f+ -16|0;b=f+e|0;q[a+12>>2]=b;e=(q[(f<<2)+153552>>2]&c>>>e)<<16|d}l=s[l>>1];n=s[n>>1];o:{if(g>>>0<=16){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;f=c>>>16|0;q[a+8>>2]=f;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=h+ -2;q[a+16>>2]=c+2;c=f|d<<16;q[a+8>>2]=c}q[a+12>>2]=b+g;c=q[(g<<2)+153552>>2]&c>>>b;break o}p:{q:{if(b>>>0<=15){d=b+16|0;q[a+12>>2]=d;f=c>>>b&65535;b=q[a+16>>2];break q}k=b^16;q[a+12>>2]=k;f=c>>>16|0;q[a+8>>2]=f;c=q[a+16>>2];u=r[c|0]|r[c+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;b=c+2|0;q[a+16>>2]=b;d=k+16|0;q[a+12>>2]=d;c=f|u<<16;q[a+8>>2]=c;f=c>>>k&65535;if(k>>>0>4294967279){break p}}d=d^16;q[a+12>>2]=d;c=c>>>16|0;q[a+8>>2]=c;k=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=h+ -2;q[a+16>>2]=b+2;c=c|k<<16;q[a+8>>2]=c}b=g+ -16|0;q[a+12>>2]=b+d;c=(q[(b<<2)+153552>>2]&c>>>d)<<16|f}q[a+196>>2]=i+ -1;q[a+264>>2]=c+n;c=e+l|0;if(!c){break h}q[a+184>>2]=q[a+184>>2]-c;b=1;continue;case 2:break f;case 1:break i;default:break g}}g=q[a+176>>2];while(1){r:{s:{t:{if(g){f=c;i=j;break t}i=q[a+96>>2];b=q[a+68>>2];g=r[i+(b&j+ -2)|0];e=r[i+(b&j+ -1)|0];f=c;i=j;while(1){if(t[a+20>>2]<=27){q[a>>2]=8;c=f;j=i;break a}if(!q[a+192>>2]){En(a);if(q[a+176>>2]){break t}}b=q[a+108>>2];k=q[q[a+120>>2]+(r[q[a+112>>2]+(r[(b+(g&255)|0)+256|0]|r[b+(e&255)|0])|0]<<2)>>2];d=q[a+8>>2];g=q[a+12>>2];if(g>>>0>=16){g=g^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;b=q[a+16>>2];h=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=b+2;d=d|h<<16;q[a+8>>2]=d}h=a;l=d>>>g|0;d=k+((l&255)<<2)|0;b=r[d|0];if(b>>>0>=9){g=g+8|0;q[a+12>>2]=g;d=(s[d+2>>1]+(q[(b<<2)+153520>>2]&l>>>8)<<2)+d|0;b=r[d|0]}q[h+12>>2]=(b&255)+g;b=s[d+2>>1];o[q[a+96>>2]+i|0]=b;q[a+192>>2]=q[a+192>>2]+ -1;i=i+1|0;if((i|0)==q[a+64>>2]){q[a>>2]=13;c=f+ -1|0;m=1;j=i;break a}g=e;e=b;f=f+ -1|0;if(f){continue}break}f=c;i=j;break s}j=q[a+8>>2];b=q[a+256>>2];c=q[a+12>>2];if(c>>>0>=16){c=c^16;q[a+12>>2]=c;e=j>>>16|0;q[a+8>>2]=e;j=q[a+16>>2];d=r[j|0]|r[j+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=j+2;j=e|d<<16;q[a+8>>2]=j}c=b+((j>>>c&255)<<2)|0;g=s[c+2>>1];d=r[c|0];c=f;j=i;while(1){if(t[a+20>>2]<=27){q[a>>2]=8;break a}u:{if(q[a+192>>2]){e=q[a+12>>2];b=q[a+256>>2];break u}En(a);g=q[a+8>>2];b=q[a+256>>2];e=q[a+12>>2];if(e>>>0>=16){e=e^16;q[a+12>>2]=e;g=g>>>16|0;q[a+8>>2]=g;d=q[a+16>>2];h=r[d|0]|r[d+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=d+2;g=g|h<<16;q[a+8>>2]=g}if(!q[a+176>>2]){break r}d=((g>>>e&255)<<2)+b|0;g=s[d+2>>1];d=r[d|0]}k=g&65535;g=d&255;v:{if(g>>>0>=9){d=q[a+8>>2];if(e>>>0>=16){e=e^16;q[a+12>>2]=e;h=d>>>16|0;q[a+8>>2]=h;d=q[a+16>>2];l=r[d|0]|r[d+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=d+2;d=h|l<<16;q[a+8>>2]=d}h=e;e=d>>>e|0;e=((((e&255)<<2)+b|0)+(k<<2)|0)+((q[(g<<2)+153520>>2]&e>>>8)<<2)|0;g=(h+r[e|0]|0)+8|0;q[a+12>>2]=g;k=s[e+2>>1];break v}g=e+g|0;q[a+12>>2]=g;d=q[a+8>>2]}if(g>>>0>=16){g=g^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];h=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=d|h<<16;q[a+8>>2]=d}b=((d>>>g&255)<<2)+b|0;g=s[b+2>>1];d=r[b|0];o[q[a+96>>2]+j|0]=k;q[a+192>>2]=q[a+192>>2]+ -1;j=j+1|0;if((j|0)==q[a+64>>2]){q[a>>2]=13;c=c+ -1|0;m=1;break a}c=c+ -1|0;if(c){continue}break}}j=f+i|0;c=0;if(q[a+184>>2]>0){break h}q[a>>2]=14;m=1;break a}g=0;continue}}b=2;continue}g=q[a+64>>2]-j|0;w:{x:{while(1){b=c+ -1|0;if((c|0)<1){break x}c=q[a+96>>2];o[c+j|0]=r[c+(q[a+68>>2]&j-q[a+268>>2])|0];j=j+1|0;c=b;g=g+ -1|0;if(g){continue}break}q[a>>2]=16;break w}if(q[a+184>>2]>0){c=b;break e}q[a>>2]=14}m=1;c=b;break a}c=q[a+268>>2];y:{if((c|0)>=0){h=!c;q[a+180>>2]=h;c=q[a+72>>2]+ -1|0;q[a+72>>2]=c;b=q[(((c&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;break y}if(!q[a+200>>2]){qA(a)}b=q[a+8>>2];e=q[q[a+152>>2]+(r[a+260|0]<<2)>>2];c=q[a+12>>2];if(c>>>0>=16){c=c^16;q[a+12>>2]=c;i=b>>>16|0;q[a+8>>2]=i;b=q[a+16>>2];f=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=b+2;b=i|f<<16;q[a+8>>2]=b}f=a;d=b>>>c|0;h=d&255;g=e+(h<<2)|0;i=r[g|0];if(i>>>0>=9){c=c+8|0;q[a+12>>2]=c;g=(s[(e+(h<<2)|0)+2>>1]+(q[(i<<2)+153520>>2]&d>>>8)<<2)+g|0;i=r[g|0]}h=(i&255)+c|0;q[f+12>>2]=h;f=s[g+2>>1];q[a+180>>2]=0;q[a+200>>2]=q[a+200>>2]+ -1;c=a;z:{if(f>>>0<=15){q[a+268>>2]=f;if(f>>>0<=3){h=1>>>f|0;q[a+180>>2]=h;c=q[a+72>>2];b=q[(((c+(f^-1)&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;q[a+72>>2]=c-h;break y}b=f>>>0<10;b=((6312258>>>((b?-4:-10)+f<<2)&15)+q[(((q[a+72>>2]+(b?3:2)&3)<<2)+a|0)+76>>2]|0)+ -3|0;b=(b|0)<1?2147483647:b;break z}e=r[f+(a+624|0)|0];A:{if(e>>>0<=16){if(h>>>0>=16){h=h^16;q[a+12>>2]=h;i=b>>>16|0;q[a+8>>2]=i;b=q[a+16>>2];d=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=b+2;b=i|d<<16;q[a+8>>2]=b}q[a+12>>2]=e+h;b=q[(e<<2)+153552>>2]&b>>>h;break A}B:{C:{if(h>>>0<=15){d=h+16|0;q[a+12>>2]=d;i=b>>>h&65535;k=q[a+20>>2];h=q[a+16>>2];break C}g=h^16;q[a+12>>2]=g;i=b>>>16|0;q[a+8>>2]=i;b=q[a+16>>2];l=r[b|0]|r[b+1|0]<<8;k=q[a+20>>2]+ -2|0;q[a+20>>2]=k;h=b+2|0;q[a+16>>2]=h;d=g+16|0;q[a+12>>2]=d;b=i|l<<16;q[a+8>>2]=b;i=b>>>g&65535;if(g>>>0>4294967279){break B}}d=d^16;q[a+12>>2]=d;b=b>>>16|0;q[a+8>>2]=b;g=r[h|0]|r[h+1|0]<<8;q[a+20>>2]=k+ -2;q[a+16>>2]=h+2;b=b|g<<16;q[a+8>>2]=b}e=e+ -16|0;q[a+12>>2]=e+d;b=(q[(e<<2)+153552>>2]&b>>>d)<<16|i}b=q[((f<<2)+a|0)+1168>>2]+(b<>2])|0}q[c+268>>2]=b;h=0}g=q[a+60>>2];c=q[a+56>>2];if((g|0)!=(c|0)){g=(j|0)<(c|0)?j:c;q[a+60>>2]=g}c=q[a+264>>2];D:{if((b|0)>(g|0)){if((b|0)>2147483644){return-16}if(c+ -4>>>0>20){return-12}i=q[a+584>>2];e=q[(i+(c<<2)|0)+32>>2];f=r[c+i|0];q[a+72>>2]=q[a+72>>2]+h;d=q[i+164>>2];if(!d){return-19}g=(g^-1)+b|0;b=g>>f;i=q[a+588>>2];if((b|0)>=q[i+12>>2]){return-11}f=d+(e+w(g&q[(f<<2)+153552>>2],c)|0)|0;e=q[a+96>>2]+j|0;E:{if((b|0)==p[i+24>>1]){Qa(e,f,c);b=c;break E}b=Kn(e,f,c,i,b)}q[a+184>>2]=q[a+184>>2]-b;j=b+j|0;if((j|0)>2]){b=j;break D}q[a>>2]=15;m=1;break a}e=q[a+96>>2];i=q[a+68>>2];f=q[a+72>>2];q[(((f&3)<<2)+a|0)+76>>2]=b;q[a+72>>2]=f+1;q[a+184>>2]=q[a+184>>2]-c;h=i&j-b;f=h+e|0;b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);i=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);d=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);e=e+j|0;g=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[e+8|0]=g;o[e+9|0]=g>>>8;o[e+10|0]=g>>>16;o[e+11|0]=g>>>24;o[e+12|0]=d;o[e+13|0]=d>>>8;o[e+14|0]=d>>>16;o[e+15|0]=d>>>24;o[e|0]=b;o[e+1|0]=b>>>8;o[e+2|0]=b>>>16;o[e+3|0]=b>>>24;b=i;o[e+4|0]=b;o[e+5|0]=b>>>8;o[e+6|0]=b>>>16;o[e+7|0]=b>>>24;b=c+j|0;i=c+h|0;if((i|0)>(j|0)?(b|0)>(h|0):0){break d}d=q[a+64>>2];if((b|0)>=(d|0)|(i|0)>=(d|0)){break d}if((c|0)<17){break D}f=f+16|0;e=e+16|0;if((c|0)>=33){Qa(e,f,c+ -16|0);break D}j=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);i=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);d=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);f=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[e+8|0]=f;o[e+9|0]=f>>>8;o[e+10|0]=f>>>16;o[e+11|0]=f>>>24;o[e+12|0]=d;o[e+13|0]=d>>>8;o[e+14|0]=d>>>16;o[e+15|0]=d>>>24;o[e|0]=j;o[e+1|0]=j>>>8;o[e+2|0]=j>>>16;o[e+3|0]=j>>>24;j=i;o[e+4|0]=j;o[e+5|0]=j>>>8;o[e+6|0]=j>>>16;o[e+7|0]=j>>>24}if(q[a+184>>2]>0){j=b;break e}q[a>>2]=14;m=1;j=b;break a}b=0;continue}b=3;continue}}q[a+4>>2]=c;q[a+52>>2]=j;return m}function dX(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,p=0,s=0;f=Da-96|0;Da=f;e=11;a:{b:{if(q[a+24>>2]==11){j=q[a+32>>2];k=r[a+176|0];i=k;while(1){if(e>>>0<=h>>>0){o[a+20|0]=1}c:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(h<<5)|0}d:{if(!i){break d}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break d}l=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}d=h|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}e:{if(j>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+36>>2]+(d<<5)|0}f:{if(!i){break f}l=q[d+20>>2];if(!l|(l|0)!=q[a+168>>2]){break f}m=q[d+24>>2];s=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[m+(e<<3)>>3]*+u[(e<<2)+s>>2];e=e+1|0;if((l|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break f}q[d+20>>2]=0}n=n+v[d>>3];p=p+v[c>>3];if(h>>>0>7){break b}h=h+2|0;e=q[a+24>>2];continue}}o[a+40|0]=1;break a}c=q[a+140>>2];q[f+88>>2]=q[a+136>>2];q[f+92>>2]=c;c=q[a+132>>2];q[f+80>>2]=q[a+128>>2];q[f+84>>2]=c;if(!q[a+24>>2]){o[a+20|0]=1}g:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break g}c=q[a+36>>2]}h:{if(!k){break h}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break h}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break h}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}i:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+36>>2]+32|0}j:{if(!k){break j}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break j}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break j}q[d+20>>2]=0}v[f+80>>3]=v[f+80>>3]+v[c>>3];v[f+88>>3]=v[f+88>>3]+v[d>>3];c=q[f+92>>2];q[f+72>>2]=q[f+88>>2];q[f+76>>2]=c;c=q[f+84>>2];q[f+64>>2]=q[f+80>>2];q[f+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}k:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break k}c=q[a+36>>2]- -64|0}l:{if(!k){break l}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break l}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break l}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}m:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[a+36>>2]+96|0}n:{if(!k){break n}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break n}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break n}q[d+20>>2]=0}v[f+64>>3]=v[f+64>>3]+v[c>>3];v[f+72>>3]=v[f+72>>3]+v[d>>3];c=q[f+76>>2];q[f+56>>2]=q[f+72>>2];q[f+60>>2]=c;c=q[f+68>>2];q[f+48>>2]=q[f+64>>2];q[f+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}o:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break o}c=q[a+36>>2]+128|0}p:{if(!k){break p}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break p}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break p}q[c+20>>2]=0}if(t[a+24>>2]<=5){o[a+20|0]=1}q:{if(j>>>0<=5){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break q}d=q[a+36>>2]+160|0}r:{if(!k){break r}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break r}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break r}q[d+20>>2]=0}v[f+48>>3]=v[f+48>>3]+v[c>>3];v[f+56>>3]=v[f+56>>3]+v[d>>3];c=q[f+60>>2];q[f+40>>2]=q[f+56>>2];q[f+44>>2]=c;c=q[f+52>>2];q[f+32>>2]=q[f+48>>2];q[f+36>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}s:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break s}c=q[a+36>>2]+192|0}t:{if(!k){break t}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break t}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break t}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}u:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break u}d=q[a+36>>2]+224|0}v:{if(!k){break v}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break v}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break v}q[d+20>>2]=0}v[f+32>>3]=v[f+32>>3]+v[c>>3];v[f+40>>3]=v[f+40>>3]+v[d>>3];c=q[f+44>>2];q[f+24>>2]=q[f+40>>2];q[f+28>>2]=c;c=q[f+36>>2];q[f+16>>2]=q[f+32>>2];q[f+20>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}w:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break w}c=q[a+36>>2]+256|0}x:{if(!k){break x}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break x}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break x}q[c+20>>2]=0}if(t[a+24>>2]<=9){o[a+20|0]=1}y:{if(j>>>0<=9){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break y}d=q[a+36>>2]+288|0}z:{if(!k){break z}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break z}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break z}q[d+20>>2]=0}v[f+16>>3]=v[f+16>>3]+v[c>>3];v[f+24>>3]=v[f+24>>3]+v[d>>3];c=q[f+28>>2];q[f+8>>2]=q[f+24>>2];q[f+12>>2]=c;c=q[f+20>>2];q[f>>2]=q[f+16>>2];q[f+4>>2]=c;A:{if(y(p)>y(n)){if(t[a+24>>2]<=10){o[a+20|0]=1}B:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break B}c=q[a+36>>2]+320|0}C:{if(!k){break C}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break C}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break C}q[c+20>>2]=0}v[f>>3]=v[f>>3]+v[c>>3];c=q[a+140>>2];q[f+8>>2]=q[a+136>>2];q[f+12>>2]=c;break A}c=q[a+132>>2];q[f>>2]=q[a+128>>2];q[f+4>>2]=c;if(t[a+24>>2]<=10){o[a+20|0]=1}D:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break D}c=q[a+36>>2]+320|0}E:{if(!k){break E}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break E}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break E}q[c+20>>2]=0}v[f+8>>3]=v[f+8>>3]+v[c>>3]}pb(a,b,f+80|0,f- -64|0,f+48|0);pb(a,b,f+32|0,f+16|0,f)}Da=f+96|0}function qu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,v=x(0),w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=x(0);k=Da-112|0;Da=k;if(f>>>0<=6){q[k+104>>2]=0;q[k+96>>2]=0;q[k+100>>2]=0;g=q[a+20>>2]+ -1|0;a:{if(g>>>0>1){break a}b:{if(!(g-1)){c:{d:{i=q[a>>2];h=q[a+16>>2];j=h+10|0;e:{if(i>>>0>j>>>0){break e}s=i+q[a+4>>2]|0;if(j>>>0>s>>>0){break e}g=s-j|0;if(g>>>0<4){break e}n=r[h+11|0];p=n&1?8:6;h=p+2|0;f:{if(n&8){break f}h=p+4|0;if(n&64){break f}h=n&128?p+8|0:p}if(g>>>0>=h>>>0){break d}}n=k+96|0;break c}l=1;if(n&32){while(1){g:{g=i;m=n&1?8:6;y=m+2|0;h:{if(n&8){break h}h=n&255;y=m+4|0;if(h&64){break h}y=h&128?m+8|0:m}j=y+j|0;if(g>>>0>j>>>0|j>>>0>s>>>0){break g}g=s-j|0;if(g>>>0<4){break g}n=r[j+1|0];p=n&1?8:6;h=p+2|0;i:{if(n&8){break i}h=p+4|0;if(n&64){break i}h=n&128?p+8|0:p}if(g>>>0>>0){break g}l=l+1|0;if(n&32){continue}}break}n=k+96|0;if((l|0)>=1){break c}l=0;break c}n=k+96|0}j=0;g=q[n>>2];if((g|0)<0){break a}if(g>>>0>>0){h=g;while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=l>>>0){continue}break}j:{if(!(h>>>0>>0|h>>>0>268435454)){g=db(q[n+8>>2],h<<4);if(g){break j}}q[n>>2]=-1;break a}q[n>>2]=h;q[n+8>>2]=g}g=q[n+4>>2];if(l>>>0>g>>>0){Na(q[n+8>>2]+(g<<4)|0,0,l-g<<4)}q[n+4>>2]=l;i=q[k+100>>2];if(!i){i=0;break b}while(1){k:{if(l>>>0<=j>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break k}g=q[n+8>>2]+(j<<4)|0}q[g+4>>2]=0;q[g+8>>2]=0;o[g|0]=0;o[g+12|0]=0;j=j+1|0;if((j|0)==(i|0)){break b}l=q[n+4>>2];continue}}q[k+24>>2]=q[a+16>>2];q[k+36>>2]=q[a+8>>2];g=q[a+4>>2];q[k+28>>2]=q[a>>2];q[k+32>>2]=g;if(!aW(k+24|0,k+96|0,e)){break a}i=q[k+100>>2]}j=0;g=q[k+96>>2];if((g|0)<0){break a}C=q[c+16>>2];h=i+4|0;h=(h|0)>0?h:0;if(g>>>0>>0){i=g;while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=h>>>0){continue}break}l:{if(!(i>>>0>>0|i>>>0>268435454)){g=db(q[k+104>>2],i<<4);if(g){break l}}q[k+96>>2]=-1;break a}q[k+96>>2]=i;q[k+104>>2]=g;i=q[k+100>>2]}if(h>>>0>i>>>0){Na(q[k+104>>2]+(i<<4)|0,0,h-i<<4)}q[k+100>>2]=h;A=q[k+104>>2];D=h+ -4|0;w=A+(D<<4)|0;q[k+80>>2]=w;q[k+88>>2]=0;g=h-D|0;g=g>>>0>h>>>0?0:g;B=g>>>0<4?g:4;q[k+84>>2]=B;m:{n:{o:{p:{q:{r:{s:{if(!B){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;break s}o[w|0]=0;q[w+4>>2]=0;q[w+8>>2]=0;o[w+12|0]=0;if((B|0)!=1){break r}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;break q}o[w+16|0]=0;q[w+20>>2]=0;q[w+24>>2]=0;o[w+28|0]=0;if(B>>>0>2){break p}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;j=0;break o}o[w+32|0]=0;q[w+36>>2]=0;q[w+40>>2]=0;o[w+44|0]=0;if((B|0)!=3){break n}j=1}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break m}j=1;g=w+48|0}q[g+4>>2]=0;q[g+8>>2]=0;o[g|0]=0;o[g+12|0]=0;g=q[a+16>>2];g=r[g+2|0]|r[g+3|0]<<8;m=g<<24;p=g<<8&16711680;n=C- -64|0;g=jh(n);h=q[a+12>>2];i=q[g+4>>2];t:{u:{if(h>>>0>>0){g=q[g+12>>2];g=(h|0)<0?271312:q[(g?g:271312)+12>>2]+(h<<2)|0;h=g+3|0;i=g+2|0;break u}if(t[g>>2]<=h>>>0){break t}g=q[g+12>>2];i=(h-i<<1)+((i|0)<0?271312:q[(g?g:271312)+12>>2]+(i<<2)|0)|0;h=i+1|0}z=(r[h|0]|r[i|0]<<8)<<16>>16}l=m|p;g=q[a+16>>2];g=r[g+8|0]|r[g+9|0]<<8;m=g<<24;p=g<<8&16711680;s=C+92|0;g=sg(s);h=q[a+12>>2];i=q[g+4>>2];v:{w:{if(h>>>0>>0){g=q[g+12>>2];g=(h|0)<0?271312:q[(g?g:271312)+12>>2]+(h<<2)|0;i=g+3|0;h=g+2|0;break w}y=0;if(t[g>>2]<=h>>>0){break v}g=q[g+12>>2];h=(h-i<<1)+((i|0)<0?271312:q[(g?g:271312)+12>>2]+(i<<2)|0)|0;i=h+1|0}y=(r[i|0]|r[h|0]<<8)<<16>>16}g=y;m=m|p;p=l>>16;l=jh(n);i=q[l>>2];h=q[a+12>>2];x:{if(i>>>0<=h>>>0){h=0;if(i){break x}h=q[l+8>>2];break x}i=q[l+12>>2];y=q[(i?i:271312)+12>>2];i=q[l+4>>2]+ -1|0;i=i>>>0>>0?i:h;i=(i|0)<0?271312:y+(i<<2)|0;h=r[i|0]<<8|r[i+1|0]}m=m>>16;z=p-z|0;l=sg(s);p=q[l>>2];s=q[a+12>>2];y:{if(p>>>0<=s>>>0){i=0;if(p){break y}i=q[l+8>>2];break y}i=q[l+12>>2];y=q[(i?i:271312)+12>>2];i=q[l+4>>2]+ -1|0;i=i>>>0>>0?i:s;i=(i|0)<0?271312:y+(i<<2)|0;i=r[i|0]<<8|r[i+1|0]}p=g+m|0;v=x(z|0);z:{A:{B:{C:{D:{E:{F:{if(!B){g=q[67829];q[160744]=q[67828];q[160745]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;u[160745]=v;v=x(h+z>>>0);break F}u[(A+(D<<4)|0)+4>>2]=v;v=x(h+z>>>0);if((B|0)!=1){break E}}g=q[67829];q[160744]=q[67828];q[160745]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;u[160745]=v;v=x(p|0);break D}u[w+20>>2]=v;v=x(p|0);if(j){break C}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;u[160746]=v;v=x(p-i|0);break B}u[w+40>>2]=v;v=x(p-i|0);if((B|0)!=3){break A}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break z}g=w+48|0}u[g+8>>2]=v;h=pm(C+120|0);i=q[a+12>>2];j=0;q[k+16>>2]=0;q[k+68>>2]=q[k+100>>2];q[k+64>>2]=q[k+104>>2];q[k+72>>2]=0;g=q[k+68>>2];q[k+8>>2]=q[k+64>>2];q[k+12>>2]=g;if(!$V(h,i,c,k+8|0)){break a}g=q[a+20>>2]+ -1|0;if(g>>>0>1){break a}G:{if(g-1){q[k+32>>2]=0;q[k+28>>2]=q[k+100>>2];q[k+24>>2]=q[k+104>>2];km(d,k+24|0);break G}g=q[a>>2];h=q[a+16>>2];i=h+10|0;H:{if(g>>>0>i>>>0){break H}A=g+q[a+4>>2]|0;if(i>>>0>A>>>0){break H}a=A-i|0;if(a>>>0<4){break H}p=r[h+11|0];j=p&1?8:6;h=j+2|0;I:{if(p&8){break I}h=j+4|0;if(p&64){break I}h=p&128?j+8|0:j}if(a>>>0>>0){break H}j=i;while(1){J:{m=r[j+1|0];if(!(m&32)){break J}a=g;p=m&1?8:6;h=p+2|0;K:{if(m&8){break K}h=p+4|0;if(m&64){break K}h=m&128?p+8|0:p}j=h+j|0;if(a>>>0>j>>>0|j>>>0>A>>>0){break J}a=A-j|0;if(a>>>0<4){break J}m=r[j+1|0];p=m&1?8:6;h=p+2|0;L:{if(m&8){break L}h=p+4|0;if(m&64){break L}h=m&128?p+8|0:p}if(a>>>0>=h>>>0){continue}}break}p=f+1|0;n=0;while(1){q[k+56>>2]=0;q[k+48>>2]=0;q[k+52>>2]=0;lm(k+24|0,b,r[i+3|0]|r[i+2|0]<<8);a=qu(k+24|0,b,c,k+48|0,e,p);z=q[k+52>>2];h=0;M:{if(z>>>0<4){break M}h=0;if(!a){break M}if(r[i|0]&2){l=q[k+56>>2];s=q[k+80>>2];h=s;m=q[k+84>>2];if(!m){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;h=642976}j=l+(z+ -4<<4)|0;a=q[j+4>>2];q[h>>2]=q[j>>2];q[h+4>>2]=a;a=q[j+12>>2];q[h+8>>2]=q[j+8>>2];q[h+12>>2]=a;h=z+ -3|0;N:{if(m>>>0<=1){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break N}j=s+16|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a;h=z+ -2|0;O:{if(m>>>0<=2){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break O}j=s+32|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a;h=z+ -1|0;P:{if(m>>>0<=3){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break P}j=s+48|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a}_V(i,k+48|0);Q:{if(t[k+100>>2]<=n>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Q}a=q[k+104>>2]+(n<<4)|0}m=q[k+52>>2];if(m){l=0;h=q[k+56>>2];while(1){v=u[a+8>>2];j=h+(l<<4)|0;u[j+4>>2]=u[a+4>>2]+u[j+4>>2];u[j+8>>2]=v+u[j+8>>2];l=l+1|0;if((m|0)!=(l|0)){continue}break}}a=r[i+1|0];R:{if(a&2){break R}j=r[i+4|0];S:{if(a&1){j=r[i+5|0]|j<<8;a=r[i+7|0]|r[i+6|0]<<8;break S}a=r[i+5|0]}if(j>>>0>=t[d+4>>2]){break R}s=q[k+52>>2];if(a>>>0>=s>>>0){break R}h=q[d+8>>2]+(j<<4)|0;j=q[k+56>>2];a=j+(a<<4)|0;E=x(u[h+8>>2]-u[a+8>>2]);v=x(u[h+4>>2]-u[a+4>>2]);h=s>>>0>1?s:1;l=0;while(1){T:{if(s>>>0<=l>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break T}a=j+(l<<4)|0}u[a+4>>2]=v+u[a+4>>2];u[a+8>>2]=E+u[a+8>>2];l=l+1|0;if((h|0)!=(l|0)){continue}break}}q[k+32>>2]=0;q[k+24>>2]=q[k+56>>2];h=m+ -4|0;a=q[k+52>>2];q[k+28>>2]=a>>>0>h>>>0?h:a;km(d,k+24|0);n=n+1|0;h=1}La(q[k+56>>2]);if(!h){j=0;break a}m=r[i+1|0];if(!(m&32)){break H}a=g;j=m&1?8:6;h=j+2|0;U:{if(m&8){break U}h=j+4|0;if(m&64){break U}h=m&128?j+8|0:j}i=h+i|0;if(a>>>0>i>>>0|i>>>0>A>>>0){break H}a=A-i|0;if(a>>>0<4){break H}m=r[i+1|0];j=m&1?8:6;h=j+2|0;V:{if(m&8){break V}h=j+4|0;if(m&64){break V}h=m&128?j+8|0:j}if(a>>>0>=h>>>0){continue}break}}km(d,k+80|0)}j=1;if(f){break a}W:{if(!q[k+84>>2]){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}a=q[k+80>>2]}v=u[a+4>>2];if(v==x(0)){break a}n=q[d+4>>2];if(!n){break a}l=0;while(1){X:{if(n>>>0<=l>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;n=q[d+4>>2];a=642976;break X}a=q[d+8>>2]+(l<<4)|0}u[a+4>>2]=u[a+4>>2]-v;u[a+8>>2]=u[a+8>>2]+x(0);l=l+1|0;if(l>>>0>>0){continue}break}}La(q[k+104>>2])}Da=k+112|0;return j}function $P(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,p=0;e=Da-80|0;Da=e;j=q[a+8>>2];a:{if(!j){c=6;break a}l=q[a>>2];b=q[a+4>>2];b:{if(q[b+12>>2]>1){break b}Fe(b);if(q[b+12>>2]>1){break b}f=q[b+8>>2];c=q[b>>2];c:{while(1){if(c>>>0>=f>>>0){break c}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}d:{switch(d-1|0){case 15:break c;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break d}}break}q[b+12>>2]=2;break b}q[b+12>>2]=3}while(1){e:{q[b+12>>2]=0;d=cf(b);if(d){break e}c=2;if(q[b+12>>2]==2){continue}break a}break}c=2;if((q[b>>2]+(d^-1)|0)!=16){break a}if(Ra(d,290600,16)){break a}c=160;f:{g:while(1){h=q[a+4>>2];h:{if(q[h+12>>2]>1){break h}Fe(h);if(q[h+12>>2]>1){break h}b=q[h+8>>2];d=q[h>>2];i:{while(1){if(d>>>0>=b>>>0){break i}g=d+1|0;q[h>>2]=g;f=r[d|0];d=g;g=f+ -10|0;if(g>>>0>16){continue}j:{switch(g-1|0){case 15:break i;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break j}}break}q[h+12>>2]=2;break h}q[h+12>>2]=3}while(1){k:{q[h+12>>2]=0;f=cf(h);if(f){break k}if(q[h+12>>2]==2){continue}break f}break}d=q[h>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){l:{i=q[(b<<2)+290624>>2];if((g|0)==r[i|0]){if(b>>>0>73){continue g}while(1){if(!Ra(i,f,d)){break l}b=b+1|0;if((b|0)==74){continue g}i=q[(b<<2)+290624>>2];if((g|0)==r[i|0]){continue}break}continue g}b=b+1|0;if((b|0)!=74){continue}continue g}break}if(b>>>0>49){continue}m:{n:{o:{p:{q:{switch(b-1|0){case 39:q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}if(!(q[e+36>>2]&-3)){continue}c=7;break f;case 29:q[e>>2]=4;if((me(a,e,1)|0)!=1){break f}o[j|0]=r[e+4|0];continue;case 25:q[e+24>>2]=2;q[e+16>>2]=2;q[e+8>>2]=2;q[e>>2]=2;if((me(a,e,4)|0)!=4){break f}q[j+4>>2]=q[e+4>>2];q[j+8>>2]=q[e+12>>2];q[j+12>>2]=q[e+20>>2];q[j+16>>2]=q[e+28>>2];continue;default:q[e>>2]=2;if((me(a,e,1)|0)!=1){break f}q[j+20>>2]=q[e+4>>2];continue;case 13:q[e>>2]=2;if((me(a,e,1)|0)!=1){break f}q[j+24>>2]=q[e+4>>2];continue;case 44:q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}d=q[e+36>>2];if((d|0)<=0){break n}while(1){h=q[a+4>>2];r:{if(q[h+12>>2]>1){break r}Fe(h);if(q[h+12>>2]>1){break r}b=q[h+8>>2];c=q[h>>2];s:{while(1){if(c>>>0>=b>>>0){break s}g=c+1|0;q[h>>2]=g;f=r[c|0];c=g;g=f+ -10|0;if(g>>>0>16){continue}t:{switch(g-1|0){case 15:break s;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break t}}break}q[h+12>>2]=2;break r}q[h+12>>2]=3}c=d+ -1|0;while(1){u:{q[h+12>>2]=0;if(cf(h)){break u}if(q[h+12>>2]==2){continue}break m}break}g=(d|0)<2;d=c;if(!g){continue}break}break n;case 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 14:case 15:case 16:case 17:case 18:case 20:case 21:case 22:case 23:case 24:case 26:case 27:case 28:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 45:case 46:case 47:continue;case 19:break p;case 48:break q}}v:while(1){b=q[a+4>>2];w:{if(q[b+12>>2]>1){break w}Fe(b);if(q[b+12>>2]>1){break w}f=q[b+8>>2];c=q[b>>2];x:{while(1){if(c>>>0>=f>>>0){break x}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}y:{switch(d-1|0){case 15:break x;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break y}}break}q[b+12>>2]=2;break w}q[b+12>>2]=3}z:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break z}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){A:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue v}while(1){if(!Ra(d,f,c)){break A}b=b+1|0;if((b|0)==74){continue v}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue v}b=b+1|0;if((b|0)!=74){continue}continue v}break}d=b+ -20|0;if(d>>>0>55){c=160;break f}c=160;B:{switch(d-2|0){case 31:h=q[a+8>>2];q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}c=q[e+36>>2];if((c|0)<0){c=160;break f}q[h+32>>2]=c;if(c){m=h,p=Oa(q[a>>2],20,0,c,0,e+32|0),q[m+28>>2]=p;c=q[e+32>>2];if(c){break f}}i=-1;C:while(1){b=q[a+4>>2];D:{if(q[b+12>>2]>1){break D}Fe(b);if(q[b+12>>2]>1){break D}f=q[b+8>>2];c=q[b>>2];E:{while(1){if(c>>>0>=f>>>0){break E}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}F:{switch(d-1|0){case 15:break E;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break F}}break}q[b+12>>2]=2;break D}q[b+12>>2]=3}G:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break G}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){H:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue C}while(1){if(!Ra(d,f,c)){break H}b=b+1|0;if((b|0)==74){continue C}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue C}b=b+1|0;if((b|0)!=74){continue}continue C}break}c=b+ -20|0;if(c>>>0>36){if((b|0)==75){continue}break o}I:{switch(c-2|0){case 34:i=i+1|0;if((i|0)>=q[h+32>>2]){break o}c=q[h+28>>2];q[e+64>>2]=2;q[e+56>>2]=2;q[e+48>>2]=2;q[e+40>>2]=2;q[e+32>>2]=3;if((me(a,e+32|0,5)|0)!=5){break o}c=c+w(i,20)|0;q[c>>2]=q[e+36>>2];q[c+4>>2]=q[e+44>>2];q[c+8>>2]=q[e+52>>2];q[c+12>>2]=q[e+60>>2];q[c+16>>2]=q[e+68>>2];continue;case 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 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 o;default:break I}}break}q[h+32>>2]=i+1;continue;case 53:continue;case 28:case 29:break B;case 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: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 30: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:break f;default:break p}}k=q[a+8>>2];q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}c=q[e+36>>2];if((c|0)<0){c=160;break f}q[k+40>>2]=c;if(c){m=k,p=Oa(q[a>>2],16,0,c,0,e+32|0),q[m+36>>2]=p;c=q[e+32>>2];if(c){break f}}i=-1;J:{K:while(1){b=q[a+4>>2];L:{if(q[b+12>>2]>1){break L}Fe(b);if(q[b+12>>2]>1){break L}f=q[b+8>>2];c=q[b>>2];M:{while(1){if(c>>>0>=f>>>0){break M}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}N:{switch(d-1|0){case 15:break M;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break N}}break}q[b+12>>2]=2;break L}q[b+12>>2]=3}O:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break O}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){P:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue K}while(1){if(!Ra(d,f,c)){break P}b=b+1|0;if((b|0)==74){continue K}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue K}b=b+1|0;if((b|0)!=74){continue}continue K}break}if((b|0)==75){continue}c=b+ -20|0;if(c>>>0>17){c=160;break f}c=1<=q[k+40>>2]){break J}c=q[k+36>>2];q[e+56>>2]=3;q[e+48>>2]=3;q[e+40>>2]=5;q[e+32>>2]=5;h=me(a,e+32|0,4);if((h|0)<3){break J}f=c+(i<<4)|0;q[f>>2]=q[e+36>>2];q[f+4>>2]=q[e+44>>2];d=0;c=q[e+52>>2];g=f;if((b|0)!=37){d=c;c=(b|0)==34?(h|0)==4?q[e+60>>2]:0:0}q[g+12>>2]=c;q[f+8>>2]=d;continue}break}c=i+1|0;q[k+40>>2]=c;Gc(q[k+36>>2],c,16,682);continue}break}c=160;break f}c=0;break a}c=160;break f}while(1){b=q[a+4>>2];Q:{if(q[b+12>>2]>1){break Q}Fe(b);if(q[b+12>>2]>1){break Q}f=q[b+8>>2];c=q[b>>2];R:{while(1){if(c>>>0>=f>>>0){break R}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}S:{switch(d-1|0){case 15:break R;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break S}}break}q[b+12>>2]=2;break Q}q[b+12>>2]=3}while(1){T:{q[b+12>>2]=0;h=cf(b);if(h){break T}if(q[b+12>>2]==2){continue}break m}break}g=q[b>>2]+(h^-1)|0;f=r[h|0];b=0;U:{while(1){d=q[(b<<2)+290624>>2];if((f|0)==r[d|0]){c=75;if(b>>>0>73){break U}while(1){if(!Ra(d,h,g)){c=b;break U}b=b+1|0;if((b|0)==74){break U}d=q[(b<<2)+290624>>2];if((f|0)==r[d|0]){continue}break}break U}b=b+1|0;if((b|0)!=74){continue}break}c=75}d=c+ -17|0;if(d>>>0>3){continue}c=0;switch(d-1|0){case 0:case 1:continue;default:continue g}}}break}c=160;break a}a=q[j+28>>2];if(a){n[q[l+8>>2]](l,a)}q[j+28>>2]=0;q[j+32>>2]=0;a=q[j+36>>2];if(a){n[q[l+8>>2]](l,a)}q[j+36>>2]=0;q[j+40>>2]=0;o[j|0]=0}Da=e+80|0;return c|0}function YA(a,b,c,d,e){a=a|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,s=0;g=Da-304|0;Da=g;q[g+28>>2]=0;c=q[e+32>>2];if(c){i=q[c+100>>2]}a:{b:{c:{if(Ra(a,26360,7)){break c}h=r[a+7|0];if(h>>>0>32){break c}d:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break c;default:break d}}if(!c|!q[q[e+36>>2]+8>>2]){break a}d=q[c+100>>2];q[g+48>>2]=0;e=d;d=q[c+88>>2];i=d;b=(h?-8:-7)+b|0;d=b+1|0;e=Oa(e,1,i,i+d|0,q[c+84>>2],g+48|0);q[c+84>>2]=e;f=q[g+48>>2];if(f){break b}m=Qa(e+q[c+88>>2]|0,h?a+8|0:a+7|0,b)+b|0,s=10,o[m|0]=s;q[c+88>>2]=d+q[c+88>>2];f=q[g+48>>2];break b}h=q[e>>2];if(!(h&1)){c=q[e+56>>2];e:{f:{if(Ra(a,26368,9)){break f}a=r[a+9|0];if(a>>>0>32){break f}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break f;default:break e}}f=176;break b}a=0;q[e+32>>2]=0;q[e>>2]=1;b=gb(c,136,g+28|0);f=q[g+28>>2];if(f){break a}q[e+32>>2]=b;q[b+100>>2]=q[e+56>>2];q[e+56>>2]=0;d=b+112|0;f=rq(d,c);q[g+28>>2]=f;if(f){break a}b=26384;while(1){f=di(q[b>>2],a,d,c);q[g+28>>2]=f;if(f){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=gb(c,24,g+28|0);q[q[e+32>>2]+92>>2]=a;f=q[g+28>>2];if(f){break a}f=rq(a,c);q[g+28>>2]=f;if(f){break a}a=q[q[e+36>>2]+12>>2];b=q[e+32>>2];q[b+36>>2]=-1;q[b+28>>2]=a;f=0;break a}g:{h:{if(Ra(a,27712,15)){break h}f=r[a+15|0];if(f>>>0>32){break h}i:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break h;default:break i}}if(!(h&8)){f=179;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}a=0;c=q[q[e+40>>2]+4>>2];j:{if(!c){break j}f=o[c|0];b=f&255;if(!b|!(r[(b>>>3|0)+28864|0]>>>(f&7)&1)){break j}while(1){if(a>>>0>429496727){a=-1;break j}a=r[f+28896|0]+w(a,10)|0;f=o[c+1|0];c=c+1|0;if(r[((f&248)>>>3|0)+28864|0]>>>(f&7)&1){continue}break}}b=q[e+32>>2];q[b+72>>2]=a;q[e+4>>2]=a;if(a>>>0>q[e+60>>2]>>>2>>>0){q[b+72>>2]=0;break g}a=Oa(i,16,0,a,0,g+28|0);b=q[e+32>>2];q[b+80>>2]=a;f=q[g+28>>2];if(f){q[b+72>>2]=0;break a}q[e>>2]=q[e>>2]|16;q[d>>2]=292;f=0;break a}k:{if(Ra(a,27731,15)){break k}f=r[a+15|0];if(f>>>0>32){break k}l:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break k;default:break l}}if(!(h&4)){f=178;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}b=0;i=0;j=q[e+40>>2];f=q[j+4>>2];m:{if(!f){break m}a=o[f|0];d=a&255;if(!d){break m}c=0;if(!(r[(d>>>3|0)+28864|0]>>>(a&7)&1)){break m}while(1){i=65535;if((c&65535)>>>0>6551){break m}d=a+28896|0;a=o[f+1|0];f=f+1|0;c=r[d|0]+w(c,10)|0;i=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}d=q[e+32>>2];p[d+4>>1]=i;f=q[j+8>>2];n:{if(!f){break n}a=o[f|0];h=a&255;if(!h){break n}c=0;if(!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break n}while(1){b=65535;if((c&65535)>>>0>6551){break n}b=a+28896|0;a=o[f+1|0];f=f+1|0;c=r[b|0]+w(c,10)|0;b=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[d+6>>1]=b;i=0;k=d;c=q[j+12>>2];f=0;o:{if(!c){break o}h=0;a=r[c|0];f=0;if(!a){break o}if((a|0)==45){h=1;a=r[c+1|0];c=c+1|0}f=0;l=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;p:{if(!(l>>>(a&7)&1)){break p}while(1){if(f<<16>>16>3274){f=32767;break p}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}f=h?0-f|0:f}p[k+8>>1]=f;c=q[j+16>>2];q:{if(!c){break q}h=r[c|0];if(!h){break q}if((h|0)==45){i=1;h=r[c+1|0];c=c+1|0}f=0;a=h<<24>>24;r:{if(!(r[((h&248)>>>3|0)+28864|0]>>>(a&7)&1)){break r}while(1){if(f<<16>>16>3274){f=32767;break r}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}i=i?0-f|0:f}f=0;p[d+14>>1]=0-i;p[d+12>>1]=b+i;p[d+10>>1]=i;q[e>>2]=q[e>>2]|8;break a}s:{t:{if(Ra(a,27747,4)){break t}f=r[a+4|0];if(f>>>0>32){break t}u:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break t;default:break u}}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}a=q[e+48>>2];if(a>>>0<=1){if(a-1){break s}q[e+48>>2]=0;break s}d=a+ -1|0;a=0;f=1;while(1){b=q[e+40>>2];q[b+(a<<2)>>2]=q[b+(f<<2)>>2];f=f+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}q[e+48>>2]=d;if(!d){break s}f=0;b=q[q[e+40>>2]>>2];a=b;h=0;while(1){c=r[a|0];if(c){while(1){o[b+f|0]=c;f=f+1|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}d=q[e+48>>2]}h=h+1|0;if(h>>>0>>0){o[b+f|0]=32;f=f+1|0;d=q[e+48>>2]}if(h>>>0>>0){a=q[q[e+40>>2]+(h<<2)>>2];continue}break}if((b|0)!=28849){o[b+f|0]=0;if(!b){break s}}a=q[q[e+32>>2]>>2];if(a){n[q[i+8>>2]](i,a)}q[q[e+32>>2]>>2]=0;c=f+1|0;a=Oa(i,1,0,c,0,g+28|0);q[q[e+32>>2]>>2]=a;f=q[g+28>>2];if(f){break a}Qa(a,b,c);a=q[e+32>>2];if(!a){break g}b=q[a>>2];if(!b|!r[b|0]){break g}c=q[e+36>>2];d=q[a+100>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+44>>2]=d;q[a+28>>2]=q[c+12>>2];c=Wa(b)+1|0;if(c>>>0>255){break g}Qa(g+48|0,b,c);f=vd(g+32|0,29060,g+48|0,c);v:{if(f|q[g+40>>2]!=15){break v}b=o[q[q[g+32>>2]+44>>2]]+ -67|0;if(b>>>0>45){break v}w:{switch(b-1|0){default:q[a+28>>2]=32;break v;case 9:case 41:q[a+28>>2]=16;break v;case 0:case 1:case 2:case 3:case 4: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 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 42:case 43:break v;case 12:case 44:break w}}q[a+28>>2]=8}a=q[g+44>>2];if(a){b=q[g+32>>2];if(b){n[q[a+8>>2]](a,b)}q[g+40>>2]=0;q[g+44>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0}q[g+28>>2]=f;if(f){break a}q[e>>2]=q[e>>2]|2;f=0;break a}x:{if(Ra(a,27752,4)){break x}f=r[a+4|0];if(f>>>0>32){break x}y:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break x;default:break y}}if(!(h&2)){f=177;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}c=0;f=0;d=q[e+40>>2];b=q[d+4>>2];z:{if(!b){break z}a=o[b|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break z}while(1){if(f>>>0>429496727){f=-1;break z}f=r[a+28896|0]+w(f,10)|0;a=o[b+1|0];b=b+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=q[e+32>>2];q[b+16>>2]=f;f=q[d+8>>2];A:{if(!f){break A}a=o[f|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break A}while(1){if(c>>>0>429496727){c=-1;break A}c=r[a+28896|0]+w(c,10)|0;a=o[f+1|0];f=f+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[b+20>>2]=c;f=0;c=q[d+12>>2];B:{if(!c){break B}a=o[c|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break B}while(1){if(f>>>0>429496727){f=-1;break B}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[b+24>>2]=f;C:{if(q[e+48>>2]==5){D:{E:{c=q[d+16>>2];if(!c){break E}i=r[c|0];if(!i){break E}d=0;if((i|0)==45){d=1;i=r[c+1|0];c=c+1|0}f=0;a=i<<24>>24;F:{if(!(r[((i&248)>>>3|0)+28864|0]>>>(a&7)&1)){break F}while(1){if(f<<16>>16>3274){f=32767;break F}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}c=d?0-f|0:f;a=c&65535;if(a>>>0>=5){p[b+96>>1]=8;break C}if(a>>>0>=3){p[b+96>>1]=4;break C}a=b+96|0;if((c&65535)!=2){break D}p[b+96>>1]=2;break C}a=b+96|0}p[a>>1]=1;break C}p[b+96>>1]=1}q[e>>2]=q[e>>2]|4;f=0;break a}if(Ra(a,27757,5)){break s}a=r[a+5|0];if(a>>>0>32){break s}G:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break s;default:break G}}if(!(h&8)){f=179;break b}a=p[c+12>>1];q[c+40>>2]=a;q[g+16>>2]=a;Ph(g+48|0,g+16|0);f=pf(q[e+32>>2],27767,g+48|0);q[g+28>>2]=f;if(f){break a}b=q[e+32>>2];a=p[b+14>>1];q[b+44>>2]=a;q[g>>2]=a;Ph(g+48|0,g);f=pf(q[e+32>>2],27779,g+48|0);q[g+28>>2]=f;if(f){break a}q[d>>2]=293;f=-1;break b}f=3;break b}f=6}q[g+28>>2]=f}Da=g+304|0;return f|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,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;g=Da-48|0;Da=g;t=q[b+100>>2];d=Xa(a,0);q[g+36>>2]=d;a:{if(d){break a}q[g+24>>2]=0;q[g+28>>2]=8;q[g+16>>2]=1;q[g+20>>2]=1;q[g+40>>2]=0;i=gb(t,64,g+40|0);b:{c:{d:{d=q[g+40>>2];if(!d){p[i+12>>1]=32767;q[i+36>>2]=g+16;d=q[a+4>>2];q[i+56>>2]=t;q[i+60>>2]=d;q[i+40>>2]=0;q[i+44>>2]=0;q[i+48>>2]=0;q[i+52>>2]=t;x=q[a+28>>2];q[g+44>>2]=0;d=1024;h=Oa(x,1,0,1024,0,g+44|0);if(q[g+44>>2]){break d}q[g>>2]=291;o[h|0]=0;l=256;e=0;y=1;e:while(1){j=d;f:while(1){k=0;d=0;while(1){if(!(k&1)){u=Gj(a,e+h|0,j-e|0);f=u+e|0;e=0}g:{h:{i:{j:{if((f|0)<=(d|0)){break j}z=d+h|0;k=o[z|0];if((l|0)==(k|0)){break g}m=d;while(1){k:{A=k&255;v=A+ -10|0;if(v>>>0>3){break k}switch(v-1|0){case 0:case 1:break k;default:break i}}m=m+1|0;if((m|0)==(f|0)){break j}k=r[h+m|0];continue}}if(!u){break d}if(!d){if(j>>>0<65536){break h}q[g+44>>2]=6;break d}u=f-d|0;sb(h,d+h|0,u);e=u;f=d;continue f}l=h+m|0;o[l|0]=0;l:{m:{v=r[z|0]+ -26|0;if(v>>>0>9){break m}switch(v-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break l}}if((m|0)<=(d|0)){break l}v=m-d|0;d=n[q[g>>2]](z,v,y,g,i)|0;q[g+44>>2]=d;if((d|0)==-1){d=n[q[g>>2]](z,v,y,g,i)|0;q[g+44>>2]=d}if(d){break d}}o[l|0]=k;l=(A|0)==10?13:(A|0)==13?10:256;k=1;d=m+1|0;y=y+1|0;continue}d=j<<1;h=Oa(x,1,j,d,h,g+44|0);e=j;if(!q[g+44>>2]){continue e}break d}k=1;d=d+1|0;l=256;continue}}}}if(!i){break b}break c}if(h){n[q[x+8>>2]](x,h)}a=q[g+44>>2];q[g+40>>2]=a;f=q[i+32>>2];n:{if(a){break n}o:{p:{q:{if(f){if(q[f+28>>2]!=8){p[f+32>>1]=s[f+4>>1]}r:{if(!q[q[i+36>>2]>>2]|!(q[f+52>>2]|q[f+64>>2])){break r}a=p[i+12>>1];d=p[i+16>>1]-a|0;if((d|0)!=s[f+4>>1]){p[f+4>>1]=d}if(s[f+8>>1]!=(a&65535)){p[f+8>>1]=a}a=s[i+18>>1];d=a<<16;if((a|0)!=s[f+12>>1]){p[f+12>>1]=a}a=s[i+20>>1];e=a<<16>>16;if((a|0)!=s[f+14>>1]){p[f+14>>1]=a;p[f+10>>1]=0-a}a=e+(d>>16)|0;if((a|0)==s[f+6>>1]){break r}p[f+6>>1]=a}d=q[i>>2];if(d&1){break q}a=q[f+88>>2];if(!a){break c}a=Oa(q[f+100>>2],1,a,a+1|0,q[f+84>>2],g+40|0);f=q[i+32>>2];q[f+84>>2]=a;if(q[g+40>>2]){break n}o[a+q[f+88>>2]|0]=0;f=q[i+32>>2];break c}d=q[i>>2];if(!(d&1)){break p}}if(d&32){break o}q[g+40>>2]=185;break n}q[g+40>>2]=3;break c}q[g+40>>2]=186}Nn(f);a=q[i+32>>2];if(a){n[q[t+8>>2]](t,a)}f=0;q[i+32>>2]=0}a=q[i+52>>2];if(a){d=q[i+40>>2];if(d){n[q[a+8>>2]](a,d)}q[i+48>>2]=0;q[i+52>>2]=0;q[i+40>>2]=0;q[i+44>>2]=0}a=t;d=q[i+24>>2];if(d){n[q[a+8>>2]](a,d)}q[i+24>>2]=0;if(i){n[q[t+8>>2]](t,i)}d=q[g+40>>2]}q[g+36>>2]=d;s:{t:{u:{v:{w:{if((d&255)!=176){if(d){break a}q[b+140>>2]=f;if(!(!(c&65535)|(c|0)<1)){fj(b);d=6;break a}q[b>>2]=1;q[b+4>>2]=0;q[b+8>>2]=q[b+8>>2]|18;if(!f|!q[f+72>>2]){break t}a=dc(26176,q[f+92>>2]);if(!a){break u}c=q[f+80>>2];if(!c){break u}a=c+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break u}a=q[a+12>>2];if(!a){break u}a=r[a|0];c=a+ -67|0;if(c>>>0<=10){break w}a=a+ -99|0;if(a>>>0>10){break u}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;default:break v}}fj(b);d=2;break a}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;default:break v}}q[b+8>>2]=q[b+8>>2]|4}if(!q[f+72>>2]){break t}a=dc(26184,q[f+92>>2]);if(!a){break t}c=q[f+80>>2];if(!c){break t}a=q[(c+(q[a>>2]<<4)|0)+12>>2];if(!a){break t}B=b,C=$c(t,a,g+36|0),q[B+20>>2]=C;d=q[g+36>>2];if(!d){break s}break a}q[b+20>>2]=0}e=0;q[g>>2]=0;q[b+12>>2]=0;h=q[b+100>>2];u=1;d=q[b+140>>2];x:{y:{if(!(!d|!q[d+72>>2])){k=0;m=0;a=dc(28597,q[d+92>>2]);z:{if(!a){break z}c=q[d+80>>2];if(!c){break z}a=c+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break z}c=q[a+12>>2];if(!c){break z}c=r[c|0]+ -73|0;if(c>>>0>38){break z}A:{switch(c-1|0){case 0: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:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:break z;default:break A}}q[b+12>>2]=q[b+12>>2]|1;m=(r[q[a+12>>2]]|32)==111?29168:29176}B:{if(!q[d+72>>2]){c=0;l=0;j=0;i=0;d=0;break B}c=0;a=dc(28783,q[d+92>>2]);j=0;C:{if(!a){break C}e=q[d+80>>2];j=0;if(!e){break C}a=e+(q[a>>2]<<4)|0;j=0;if(q[a+4>>2]!=1){break C}a=q[a+12>>2];j=0;if(!a){break C}j=0;if((r[a|0]|32)!=98){break C}q[b+12>>2]=q[b+12>>2]|2;j=29183}D:{E:{F:{if(!q[d+72>>2]){break F}l=0;a=dc(28583,q[d+92>>2]);c=0;G:{if(!a){break G}e=q[d+80>>2];c=0;if(!e){break G}a=e+(q[a>>2]<<4)|0;c=0;if(q[a+4>>2]!=1){break G}a=q[a+12>>2];c=0;if(!a){break G}e=r[a|0];c=0;if(!e){break G}c=0;if((e|0)==78){break G}c=0;if((e|0)==110){break G}c=a}if(!q[d+72>>2]){break E}a=dc(27792,q[d+92>>2]);if(!a){break F}d=q[d+80>>2];if(!d){break F}a=d+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break E}l=q[a+12>>2];if(!l){break F}a=r[l|0];if(!(!a|(a|0)==78|(a|0)==110)){k=Wa(l);d=k+1|0;break D}l=0;d=0;break D}l=0}d=0}if(!j){j=0;i=0;break B}i=Wa(j);d=(i+d|0)+1|0;u=0}e=0;H:{if(!m){a=0;break H}a=Wa(m);d=(d+a|0)+1|0}if(c){e=Wa(c);d=(e+d|0)+1|0}if(!d){break y}break x}i=0;j=0;m=0;c=0;a=0}d=8;l=29188;k=7}h=gb(h,d,g);q[b+24>>2]=h;d=q[g>>2];if(d){q[g+36>>2]=d;break a}if(l){h=Qa(h,l,k);if(k){d=0;while(1){l=d+h|0;if(r[l|0]==32){o[l|0]=45}d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=h+k|0}if(!u){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}h=Qa(h,j,i)+i|0}if(m){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}h=Qa(h,m,a)+a|0}if(c){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}a=Qa(h,c,e);if(e){d=0;while(1){c=a+d|0;if(r[c|0]==32){o[c|0]=45}d=d+1|0;if((e|0)!=(d|0)){continue}break}}h=a+e|0}o[h|0]=0;d=q[g>>2];q[g+36>>2]=d;if(d){break a}a=q[f+48>>2];q[b+28>>2]=1;q[b+16>>2]=a+1;a=Oa(t,16,0,1,0,g+36|0);q[b+32>>2]=a;d=q[g+36>>2];if(d){break a}q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;d=q[f+40>>2];if(d+32767>>>0>=65535){d=(d|0)<0?-32767:32767;q[f+40>>2]=d}h=q[f+44>>2];if(h+32767>>>0>=65535){h=(h|0)<0?-32767:32767;q[f+44>>2]=h}p[a>>1]=d+h;c=a;I:{J:{if(!q[f+72>>2]){break J}e=dc(26196,q[f+92>>2]);if(!e){break J}h=q[f+80>>2];if(!h){break J}e=q[(h+(q[e>>2]<<4)|0)+12>>2];d=32767;if(e+327665>>>0>655330){break I}e=(e+5|0)/10|0;d=e>>31;d=d^d+e;break I}d=bb(p[a>>1],2,3)}p[c+2>>1]=d;c=a;K:{L:{if(!q[f+72>>2]){break L}e=dc(26210,q[f+92>>2]);if(!e){break L}h=q[f+80>>2];if(!h){break L}e=q[(h+(q[e>>2]<<4)|0)+12>>2];d=32767;if(e+328898>>>0>657796){break K}d=e>>31;d=bb(d+e^d,460800,72270);break K}d=q[f+16>>2];if(d){d=d>>>0>32767?32767:d<<6;break K}d=p[a+2>>1]<<6}q[c+4>>2]=d;h=0;c=0;M:{if(!q[f+72>>2]){break M}c=dc(26221,q[f+92>>2]);N:{if(!c){break N}d=q[f+80>>2];if(!d){break N}c=q[(d+(q[c>>2]<<4)|0)+12>>2];if(c+32767>>>0>=65535){q[a+12>>2]=2097088;break N}d=c;c=c>>31;q[a+12>>2]=(d+c^c)<<6}c=0;if(!q[f+72>>2]){break M}d=dc(26232,q[f+92>>2]);c=0;if(!d){break M}c=q[f+80>>2]+(q[d>>2]<<4)|0}c=q[(c?c+12|0:f+20|0)>>2];O:{if(!c){break O}h=32767;if(c+32767>>>0>65534){break O}d=c;c=c>>31;h=d+c^c}k=0;c=0;P:{if(!q[f+72>>2]){break P}d=dc(26245,q[f+92>>2]);c=0;if(!d){break P}c=q[f+80>>2]+(q[d>>2]<<4)|0}c=q[(c?c+12|0:f+24|0)>>2];Q:{if(!c){break Q}k=32767;if(c+32767>>>0>65534){break Q}d=c;c=c>>31;k=d+c^c}d=q[a+12>>2];R:{if(!d){d=q[a+4>>2];q[a+12>>2]=d;c=k&65535;if(!c){break R}d=bb(d,c,72);q[a+12>>2]=d}if(!h){break R}c=k&65535;if(!c){break R}d=bb(d,h,c)}q[a+8>>2]=d;c=q[f+56>>2];e=Oa(t,8,0,q[f+48>>2],0,g+36|0);q[b+144>>2]=e;d=q[g+36>>2];if(d){break a}q[b+148>>2]=0;h=q[f+48>>2];if(h){j=q[f+36>>2];d=0;while(1){a=q[(c+w(d,36)|0)+4>>2];u=e+(d<<3)|0;p[u+4>>1]=d;q[u>>2]=a;if((a|0)==(j|0)){q[b+148>>2]=d}d=d+1|0;if((h|0)!=(d|0)){continue}break}}S:{if(!q[f+72>>2]){break S}c=dc(26258,q[f+92>>2]);a=0;T:{if(!c){break T}a=q[f+80>>2]+(q[c>>2]<<4)|0}if(!q[f+72>>2]){break S}d=dc(26275,q[f+92>>2]);if(!d|!a){break S}c=q[f+80>>2];if(!c|q[a+4>>2]!=1){break S}d=q[d>>2];if(!q[a+12>>2]|q[(c+(d<<4)|0)+4>>2]!=1){break S}c=q[(c+(d<<4)|0)+12>>2];if(!c){break S}B=b,C=$c(t,c,g+36|0),q[B+132>>2]=C;d=q[g+36>>2];if(d){break a}a=$c(t,q[a+12>>2],g+36|0);q[b+136>>2]=a;d=q[g+36>>2];if(d){break a}U:{V:{W:{X:{if(!((r[a|0]|32)!=105|(r[a+1|0]|32)!=115|(r[a+2|0]|32)!=111)){a=a+3|0;if(!Ta(a,26292)){break X}if(!Ta(a,26298)){if(!Ta(q[b+132>>2],26303)){break X}}if(!Ta(a,26305)){break W}}q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;break U}q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;break V}a=Ta(q[b+132>>2],26314);q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;if(a){break U}}q[g+4>>2]=1970170211;q[g+8>>2]=65539}d=md(26320,0,g,0);q[g+36>>2]=d;break a}q[g+4>>2]=1094995778;q[g+8>>2]=7;q[g>>2]=b;d=md(26320,0,g,0);q[g+36>>2]=d;if(!q[b+36>>2]){break a}q[b+92>>2]=q[q[b+40>>2]>>2]}Da=g+48|0;return d|0}function gQ(a,b,c){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;g=Da+ -64|0;Da=g;q[g+40>>2]=0;f=r[a+48|0];a:{if(!(q[a+536>>2]|!f)){e=8;break a}e=q[a+540>>2];d=q[e>>2];if(!d){h=q[a>>2];q[e+4>>2]=678;d=gb(h,552,g+40|0);q[q[a+540>>2]>>2]=d;e=64;if(q[g+40>>2]){break a}q[d>>2]=h;if(!f){q[d+548>>2]=q[q[a+532>>2]+3088>>2]}q[d+168>>2]=0;q[d+172>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+160>>2]=0;q[d+164>>2]=0;q[d+148>>2]=679;q[d+144>>2]=680;q[d+168>>2]=d+4;q[d+156>>2]=681;q[d+164>>2]=h}q[d+176>>2]=a;q[d+172>>2]=a;k=q[a+4>>2];m=o[q[k+128>>2]+56|0];e=q[k+96>>2];l=r[e+32|0];q[g+8>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+36>>2]=b;q[g+28>>2]=b;q[g>>2]=0;q[g+4>>2]=0;q[g+24>>2]=0;q[g+32>>2]=b?b+c|0:0;b=q[a+8>>2];u=r[b+161|0];c=g;y=r[b+160|0];b:{if(y){h=(q[b+164>>2]+32|0)/64|0;q[g>>2]=h;b=(q[b+168>>2]+32|0)/64|0;break b}h=1024;q[g>>2]=1024;b=1024}q[c+12>>2]=b;c=0;c=f?c:r[k+732|0];o[d+8|0]=f;o[d+9|0]=c;c=(y|0)!=0;q[d+12>>2]=c;if(!(!u|((m|0)>-1|l?m:0))){q[d+12>>2]=c|2}q[d+188>>2]=q[e+36>>2];q[d+192>>2]=q[e+40>>2];q[d+196>>2]=q[e+44>>2];q[d+200>>2]=q[e+48>>2];q[d+204>>2]=q[e+52>>2];q[d+208>>2]=q[e+56>>2];q[d+212>>2]=q[e+60>>2];q[d+216>>2]=q[e- -64>>2];c=s[q[a+4>>2]+68>>1];q[d+132>>2]=c;if(u){e=36;if((b|0)<1|(h|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=Za(131072e3,c<<16);if((h|0)>(a|0)|(b|0)>(a|0)){break a}a=q[d+176>>2]}q[g+48>>2]=0;q[g+52>>2]=0;e=0;q[g+44>>2]=0;b=q[d+136>>2];k=q[d+140>>2];q[g+60>>2]=0;q[g+56>>2]=0;q[d+4>>2]=0;c=q[a+536>>2];if((c|0)!=q[d+180>>2]){q[d+180>>2]=c;e=1}c:{d:{if(!(r[d+8|0]|!q[q[a+532>>2]+3112>>2])){f=q[d+548>>2];h=q[a+4>>2];h=n[q[q[h+548>>2]+40>>2]](h,g+60|0,0,g+56|0,0)|0;q[d+4>>2]=h;if(h){break d}if(n[q[f+12>>2]](c+556|0,q[c+548>>2],q[g+60>>2],q[g+56>>2])){n[q[f+4>>2]](q[a+532>>2],c,q[g+60>>2],q[g+56>>2])|0;e=1}f=q[c+560>>2];o[d+93|0]=0;q[d+96>>2]=f;q[d+120>>2]=q[c+548>>2];q[d+124>>2]=q[g+60>>2];q[d+128>>2]=q[g+56>>2]}f=s[q[q[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=q[d+88>>2]){q[d+88>>2]=f;e=1}c=q[d+12>>2];o[d+184|0]=c&1;e:{f:{g:{if(!Oc(g,d+16|0,16)){y=d+186|0;c=c&2;if((c|0)!=r[d+186|0]){break g}if(e){break f}break e}e=q[g+4>>2];q[d+16>>2]=q[g>>2];q[d+20>>2]=e;e=q[g+12>>2];q[d+24>>2]=q[g+8>>2];q[d+28>>2]=e;q[d+32>>2]=0;q[d+36>>2]=0;e=q[g+4>>2];q[d+40>>2]=q[g>>2];q[d+44>>2]=e;e=q[g+12>>2];q[d+48>>2]=q[g+8>>2];q[d+52>>2]=e;e=q[g+20>>2];q[d+56>>2]=q[g+16>>2];q[d+60>>2]=e;q[d+72>>2]=0;q[d+76>>2]=65536;q[d+64>>2]=65536;q[d+68>>2]=0;y=d+186|0;c=c&2;if((c|0)==r[d+186|0]){break f}}o[y|0]=c>>>1}c=q[q[a+536>>2]+400>>2]<<16;q[d+220>>2]=c;e=q[d+132>>2];m=e?e:1e3;e=65536e3/(m|0)|0;if((c|0)<=0){c=Za(4915200,e);q[d+220>>2]=c}h=d+188|0;f=(f|0)>262144?f:262144;h:{if((b|0)>=1){c=m<<16;if((b|0)<=(Za(c,f)|0)){b=Za(c,f)}q[d+228>>2]=0;if(!b|(e|0)<655){break h}q[d+228>>2]=(b|0)/2;break h}es(e,f,c,d+228|0,0,r[d+186|0],h)}b=d;c=q[q[a+536>>2]+396>>2];i:{if(c<<16>=1){a=4915200;if(q[d+220>>2]>c<<17){break i}}a=7208960}a=Za(a,e);q[b+224>>2]=a;es(e,f,a,d+232|0,k,r[d+186|0],h);a=1;a=q[d+228>>2]?a:q[d+232>>2]!=0;h=0;o[d+236|0]=0;o[d+185|0]=a;a=q[d+176>>2];A=Na(d+244|0,0,304);q[d+240>>2]=q[d+52>>2];B=d,C=Za(q[q[a+536>>2]+384>>2],65536e3),q[B+252>>2]=C;f=q[a+536>>2];q[d+256>>2]=q[f+388>>2]<<16;q[d+260>>2]=q[f+392>>2]<<16;m=r[f+191|0];u=r[f+190|0];k=r[f+189|0];a=r[f+188|0];j:{k:{if(q[f+524>>2]==1){if(a>>>0>4){break k}l:{switch(a-1|0){case 3:if(q[f+192>>2]<<16>-7864321|q[f+196>>2]<<16>-7864321|(q[f+200>>2]<<16<57671681|q[f+204>>2]<<16<57671681)){break k}break;case 0:case 1:case 2:break k;default:break l}}q[d+296>>2]=-7864321;a=Ma(-7864321,q[d+240>>2]);q[d+288>>2]=49;b=q[d+240>>2];q[d+304>>2]=b;q[d+300>>2]=(a+32768&-65536)+ -32768;a=(q[d+232>>2]<<1)+57671681|0;q[d+276>>2]=a;a=Ma(a,b);q[d+268>>2]=50;o[d+249|0]=1;q[d+284>>2]=q[d+240>>2];q[d+280>>2]=a+32768&-65536|32768;break e}if(!a){break j}}b=q[d+244>>2];c=w(b,20)+d|0;h=q[f+192>>2]<<16;q[c+308>>2]=h;e=q[f+196>>2]<<16;q[c+312>>2]=e;h=e-h|0;m:{if((h|0)<0){h=0;break m}q[c+316>>2]=e;o[c+324|0]=1;b=b+1|0;q[d+244>>2]=b}e=2;if(a>>>0<=2){break j}l=f+192|0;while(1){c=w(b,20)+d|0;x=c;j=e<<2;i=q[j+l>>2]<<16;q[c+308>>2]=i;j=q[l+(j|4)>>2]<<16;q[c+312>>2]=j;v=j-i|0;if((v|0)>=0){z=j;j=q[d+232>>2]<<1;q[c+312>>2]=z+j;i=i+j|0;q[x+308>>2]=i;q[c+316>>2]=i;o[c+324|0]=0;b=b+1|0;q[d+244>>2]=b;h=(v|0)>(h|0)?v:h}e=e+2|0;if(e>>>0>>0){continue}break}}if(k){b=q[A>>2];c=f+248|0;e=0;while(1){a=w(b,20)+d|0;l=e<<2;i=q[l+c>>2]<<16;q[a+308>>2]=i;l=q[c+(l|4)>>2]<<16;q[a+312>>2]=l;i=l-i|0;if((i|0)>=0){q[a+316>>2]=l;o[a+324|0]=1;b=b+1|0;q[d+244>>2]=b;h=(i|0)>(h|0)?i:h}e=e+2|0;if(e>>>0>>0){continue}break}}k=Za(65536,q[d+240>>2]);l=q[d+244>>2];n:{if(!l){break n}if(u>>>0<=1){if(!m){break n}e=0;while(1){u=w(e,20)+d|0;o:{if(!r[u+324|0]){break o}i=q[u+316>>2];a=0;b=2147483647;while(1){j=q[(f+(a<<2|4)|0)+344>>2]<<16;v=i-j|0;c=v>>31;c=c^c+v;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[u+316>>2]=j;b=c;if(!c){break o}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}p:{if(!m){e=0;if(u>>>0<3){break p}while(1){a=w(e,20)+d|0;m=a;i=q[a+316>>2];q:{if(r[a+324|0]){b=q[f+292>>2]<<16;c=i-b|0;a=c>>31;a=a^a+c;if((a|0)==2147483647|(a|0)>=(k|0)){break q}q[m+316>>2]=b;break q}j=q[d+232>>2]<<1;a=2;b=2147483647;while(1){v=j+(q[(f+(a<<2)|0)+288>>2]<<16)|0;x=i-v|0;c=x>>31;c=c^c+x;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[m+316>>2]=v;b=c;if(!c){break q}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}e=0;if(u>>>0>=3){while(1){a=w(e,20)+d|0;i=a;j=q[a+316>>2];r:{if(r[a+324|0]){a=0;b=2147483647;while(1){s:{v=q[(f+(a<<2|4)|0)+344>>2]<<16;x=j-v|0;c=x>>31;t:{c=c^c+x;if((c|0)>=(b|0)|(c|0)>=(k|0)){break t}q[i+316>>2]=v;b=c;if(c){break t}b=0;break s}a=a+2|0;if(a>>>0>>0){continue}}break}c=q[f+292>>2]<<16;j=j-c|0;a=j>>31;a=a^a+j;if((a|0)>=(b|0)|(a|0)>=(k|0)){break r}q[i+316>>2]=c;break r}v=q[d+232>>2]<<1;a=2;b=2147483647;while(1){x=v+(q[(f+(a<<2)|0)+288>>2]<<16)|0;z=j-x|0;c=z>>31;c=c^c+z;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[i+316>>2]=x;b=c;if(!c){break r}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break n}}while(1){u=w(e,20)+d|0;u:{if(!r[u+324|0]){break u}i=q[u+316>>2];a=0;b=2147483647;while(1){v:{j=q[(f+(a<<2|4)|0)+344>>2]<<16;v=i-j|0;c=v>>31;w:{c=c^c+v;if((c|0)>=(b|0)|(c|0)>=(k|0)){break w}q[u+316>>2]=j;b=c;if(c){break w}b=0;break v}a=a+2|0;if(a>>>0>>0){continue}}break}c=q[f+292>>2]<<16;i=i-c|0;a=i>>31;a=a^a+i;if((a|0)>=(b|0)|(a|0)>=(k|0)){break u}q[u+316>>2]=c}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}while(1){a=w(e,20)+d|0;x:{if(!r[a+324|0]){break x}c=q[f+292>>2]<<16;m=q[a+316>>2]-c|0;b=m>>31;b=b^b+m;if((b|0)==2147483647|(b|0)>=(k|0)){break x}q[a+316>>2]=c}e=e+1|0;if((l|0)!=(e|0)){continue}break}}y:{if((h|0)<1){break y}if(q[d+252>>2]<=(Za(65536,h)|0)){break y}B=d,C=Za(65536,h),q[B+252>>2]=C}a=q[d+240>>2];b=q[d+252>>2];if((a|0)<(b|0)){o[d+248|0]=1;a=bb(39322,a,b);q[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(r[y|0]){q[d+264>>2]=0}if(!q[A>>2]){break e}c=d+240|0;a=0;while(1){b=c+w(a,20)|0;e=r[b+84|0];i=b;j=Ma(q[b+76>>2],q[d+240>>2]);b=q[d+264>>2];q[i+80>>2]=(j+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}if(q[d+4>>2]){break d}o[d+236|0]=0;b=d+144|0;a=r[d+185|0];while(1){q[d+160>>2]=0;Xe(q[q[d+172>>2]+12>>2]);Wg(d,g+24|0,b,g+48|0,0,0,0,g+44|0);if(q[d+4>>2]){break d}if(!(!(a&255)|q[d+160>>2]>-1)){o[d+236|0]=1;a=0;continue}break}f=q[d+172>>2];a=q[f+20>>2];z:{if(!a){break z}A:{B:{b=s[a>>1];e=b<<16>>16;if((e|0)>=2){b=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break B}b=0;if(e){break B}c=p[a+2>>1];break A}c=p[a+2>>1];if((c|0)!=(b|0)){break A}p[a>>1]=e+ -1;break z}C:{if((c|0)<2){break C}h=q[a+4>>2];k=h+(b<<3)|0;h=(h+(c<<3)|0)+ -8|0;if(q[k>>2]!=q[h>>2]|q[k+4>>2]!=q[h+4>>2]|r[(q[a+8>>2]+c|0)+ -1|0]!=1){break C}c=c+ -1|0;p[a+2>>1]=c}if((e|0)<1){break z}i=b;b=(c<<16>>16)+ -1|0;if((i|0)==(b|0)){p[a+2>>1]=c+ -1;p[a>>1]=e+ -1;break z}p[(q[a+12>>2]+(e<<1)|0)+ -2>>1]=b}Lg(q[f+12>>2]);if(!q[d+4>>2]){break c}}e=3;break a}a=q[g+44>>2];e=0;q[d+4>>2]=0;b=q[d+172>>2];if(r[b+48|0]){break a}q[q[b+544>>2]>>2]=a+32768>>16}Da=g- -64|0;return e|0}function VG(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,s=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=Da-8960|0;Da=h;B=d+e|0;G=0-B|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=q[b+4>>2];if(c>>>0>=t[b+104>>2]){break c}q[b+4>>2]=c+1;c=r[c|0];break b}}else{c=q[b+4>>2];if(c>>>0>2]){o=1;q[b+4>>2]=c+1;c=r[c|0]}else{o=1;c=vb(b)}continue}break}c=vb(b)}k=1;if((c|0)!=48){break a}while(1){i=i+ -1|0;c=j+ -1|0;if(c>>>0<4294967295){i=i+1|0}j=c;c=q[b+4>>2];d:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break d}c=vb(b)}if((c|0)==48){continue}break}o=1}q[h+768>>2]=0;H=a;I=a;e:{f:{l=(c|0)==46;x=c+ -48|0;g:{h:{i:{if(l|x>>>0<=9){while(1){j:{if(l&1){if(!k){j=p;i=m;k=1;break j}o=(o|0)!=0;break i}l=p+1|0;if(l>>>0<1){m=m+1|0}p=l;if((n|0)<=2044){A=(c|0)!=48?p:A;l=(h+768|0)+(n<<2)|0;o=l;if(s){x=(w(q[l>>2],10)+c|0)+ -48|0}q[o>>2]=x;o=1;l=s+1|0;c=(l|0)==9;s=c?0:l;n=c+n|0;break j}if((c|0)==48){break j}q[h+8944>>2]=q[h+8944>>2]|1}c=q[b+4>>2];k:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break k}c=vb(b)}l=(c|0)==46;x=c+ -48|0;if(l|x>>>0<10){continue}break}}j=k?j:p;i=k?i:m;if(!(!o|(c|32)!=101)){c=np(b,g);l=Ea;k=l;l:{if(c|(k|0)!=-2147483648){break l}if(!g){break g}c=0;k=0;if(!q[b+104>>2]){break l}q[b+4>>2]=q[b+4>>2]+ -1}i=i+k|0;b=c+j|0;if(b>>>0>>0){i=i+1|0}j=b;break f}o=(o|0)!=0;if((c|0)<0){break h}}if(!q[b+104>>2]){break h}q[b+4>>2]=q[b+4>>2]+ -1}if(o){break f}q[160942]=28}xd(b,0,0);j=0;i=0;c=0;b=0;break e}b=q[h+768>>2];if(!b){ae(h,+(f|0)*0);j=q[h+8>>2];i=q[h+12>>2];c=q[h+4>>2];b=q[h>>2];break e}if(!((j|0)!=(p|0)|(i|0)!=(m|0)|((m|0)>0?1:(m|0)>=0?p>>>0<=9?0:1:0)|(b>>>d|0?(d|0)<=30:0))){ad(h+48|0,f);Oe(h+32|0,b);Eb(h+16|0,q[h+48>>2],q[h+52>>2],q[h+56>>2],q[h+60>>2],q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2]);j=q[h+24>>2];i=q[h+28>>2];c=q[h+20>>2];b=q[h+16>>2];break e}b=(e|0)/-2|0;c=j>>>0<=b>>>0?0:1;b=b>>31;if((i|0)>(b|0)?1:(i|0)>=(b|0)?c:0){q[160942]=68;ad(h+96|0,f);Eb(h+80|0,q[h+96>>2],q[h+100>>2],q[h+104>>2],q[h+108>>2],-1,-1,-1,2147418111);Eb(h- -64|0,q[h+80>>2],q[h+84>>2],q[h+88>>2],q[h+92>>2],-1,-1,-1,2147418111);j=q[h+72>>2];i=q[h+76>>2];c=q[h+68>>2];b=q[h+64>>2];break e}b=e+ -226|0;c=j>>>0>=b>>>0?0:1;b=b>>31;if((i|0)<(b|0)?1:(i|0)<=(b|0)?c:0){q[160942]=68;ad(h+144|0,f);Eb(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,65536);Eb(h+112|0,q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2],0,0,0,65536);j=q[h+120>>2];i=q[h+124>>2];c=q[h+116>>2];b=q[h+112>>2];break e}if(s){if((s|0)<=8){c=(h+768|0)+(n<<2)|0;b=q[c>>2];while(1){b=w(b,10);s=s+1|0;if((s|0)!=9){continue}break}q[c>>2]=b}n=n+1|0}m:{k=j;if((A|0)>8|(A|0)>(k|0)|(k|0)>17){break m}if((k|0)==9){ad(h+192|0,f);Oe(h+176|0,q[h+768>>2]);Eb(h+160|0,q[h+192>>2],q[h+196>>2],q[h+200>>2],q[h+204>>2],q[h+176>>2],q[h+180>>2],q[h+184>>2],q[h+188>>2]);j=q[h+168>>2];i=q[h+172>>2];c=q[h+164>>2];b=q[h+160>>2];break e}if((k|0)<=8){ad(h+272|0,f);Oe(h+256|0,q[h+768>>2]);Eb(h+240|0,q[h+272>>2],q[h+276>>2],q[h+280>>2],q[h+284>>2],q[h+256>>2],q[h+260>>2],q[h+264>>2],q[h+268>>2]);ad(h+224|0,q[(0-k<<2)+508544>>2]);Ih(h+208|0,q[h+240>>2],q[h+244>>2],q[h+248>>2],q[h+252>>2],q[h+224>>2],q[h+228>>2],q[h+232>>2],q[h+236>>2]);j=q[h+216>>2];i=q[h+220>>2];c=q[h+212>>2];b=q[h+208>>2];break e}b=(w(k,-3)+d|0)+27|0;c=q[h+768>>2];if(c>>>b|0?(b|0)<=30:0){break m}ad(h+352|0,f);Oe(h+336|0,c);Eb(h+320|0,q[h+352>>2],q[h+356>>2],q[h+360>>2],q[h+364>>2],q[h+336>>2],q[h+340>>2],q[h+344>>2],q[h+348>>2]);ad(h+304|0,q[(k<<2)+508472>>2]);Eb(h+288|0,q[h+320>>2],q[h+324>>2],q[h+328>>2],q[h+332>>2],q[h+304>>2],q[h+308>>2],q[h+312>>2],q[h+316>>2]);j=q[h+296>>2];i=q[h+300>>2];c=q[h+292>>2];b=q[h+288>>2];break e}s=0;b=(k|0)%9|0;n:{if(!b){c=0;break n}g=(k|0)>-1?b:b+9|0;o:{if(!n){c=0;n=0;break o}i=q[(0-g<<2)+508544>>2];l=1e9/(i|0)|0;o=0;b=0;c=0;while(1){j=o;m=(h+768|0)+(b<<2)|0;p=q[m>>2];o=(p>>>0)/(i>>>0)|0;j=j+o|0;q[m>>2]=j;j=!j&(b|0)==(c|0);c=j?c+1&2047:c;k=j?k+ -9|0:k;o=w(l,p-w(i,o)|0);b=b+1|0;if((n|0)!=(b|0)){continue}break}if(!o){break o}q[(h+768|0)+(n<<2)>>2]=o;n=n+1|0}k=(k-g|0)+9|0}while(1){p=(h+768|0)+(c<<2)|0;p:{while(1){if((k|0)!=36|t[p>>2]>=10384593?(k|0)>=36:0){break p}x=n+2047|0;o=0;l=n;while(1){n=l;m=x&2047;l=(h+768|0)+(m<<2)|0;b=q[l>>2];i=b>>>3|0;g=b<<29;b=g+o|0;if(b>>>0>>0){i=i+1|0}j=b;g=0;q:{if(!i&b>>>0<1000000001|i>>>0<0){break q}g=Y$(b,i,1e9,0);j=j-W$(g,Ea,1e9,0)|0}o=g;q[l>>2]=j;l=(m|0)!=(n+ -1&2047)?n:(c|0)==(m|0)?n:j?n:m;x=m+ -1|0;if((c|0)!=(m|0)){continue}break}s=s+ -29|0;if(!o){continue}break}c=c+ -1&2047;if((l|0)==(c|0)){b=(h+768|0)+((l+2046&2047)<<2)|0;n=l+ -1&2047;q[b>>2]=q[b>>2]|q[(h+768|0)+(n<<2)>>2]}k=k+9|0;q[(h+768|0)+(c<<2)>>2]=o;continue}break}r:{s:while(1){g=n+1&2047;j=(h+768|0)+((n+ -1&2047)<<2)|0;while(1){i=(k|0)>45?9:1;t:{while(1){l=c;b=0;u:{while(1){v:{c=b+l&2047;if((c|0)==(n|0)){break v}c=q[(h+768|0)+(c<<2)>>2];m=q[(b<<2)+508496>>2];if(c>>>0>>0){break v}if(c>>>0>m>>>0){break u}b=b+1|0;if((b|0)!=4){continue}}break}if((k|0)!=36){break u}j=0;i=0;b=0;p=0;m=0;while(1){c=b+l&2047;if((c|0)==(n|0)){n=n+1&2047;q[((n<<2)+h|0)+764>>2]=0}Eb(h+752|0,j,i,p,m,0,0,1342177280,1075633366);Oe(h+736|0,q[(h+768|0)+(c<<2)>>2]);Uc(h+720|0,q[h+752>>2],q[h+756>>2],q[h+760>>2],q[h+764>>2],q[h+736>>2],q[h+740>>2],q[h+744>>2],q[h+748>>2]);p=q[h+728>>2];m=q[h+732>>2];j=q[h+720>>2];i=q[h+724>>2];b=b+1|0;if((b|0)!=4){continue}break}ad(h+704|0,f);Eb(h+688|0,j,i,p,m,q[h+704>>2],q[h+708>>2],q[h+712>>2],q[h+716>>2]);p=q[h+696>>2];m=q[h+700>>2];j=0;i=0;c=q[h+688>>2];k=q[h+692>>2];o=s+113|0;e=o-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break t}break r}s=i+s|0;c=n;if((l|0)==(c|0)){continue}break}m=1e9>>>i|0;p=-1<>2];b=(x>>>i|0)+b|0;q[o>>2]=b;b=!b&(c|0)==(l|0);c=b?c+1&2047:c;k=b?k+ -9|0:k;b=w(m,p&x);l=l+1&2047;if((l|0)!=(n|0)){continue}break}if(!b){continue}if((c|0)!=(g|0)){q[(h+768|0)+(n<<2)>>2]=b;n=g;continue s}q[j>>2]=q[j>>2]|1;c=g;continue}break}break}ae(h+640|0,Kd(1,225-d|0));qp(h+672|0,q[h+640>>2],q[h+644>>2],q[h+648>>2],q[h+652>>2],c,k,p,m);C=q[h+680>>2];D=q[h+684>>2];E=q[h+672>>2];F=q[h+676>>2];ae(h+624|0,Kd(1,113-d|0));bp(h+656|0,c,k,p,m,q[h+624>>2],q[h+628>>2],q[h+632>>2],q[h+636>>2]);j=q[h+656>>2];i=q[h+660>>2];u=q[h+664>>2];v=q[h+668>>2];Pj(h+608|0,c,k,p,m,j,i,u,v);Uc(h+592|0,E,F,C,D,q[h+608>>2],q[h+612>>2],q[h+616>>2],q[h+620>>2]);p=q[h+600>>2];m=q[h+604>>2];c=q[h+592>>2];k=q[h+596>>2]}b=l+4&2047;w:{if((b|0)==(n|0)){break w}b=q[(h+768|0)+(b<<2)>>2];x:{if(b>>>0<=499999999){if((l+5&2047)==(n|0)?!b:0){break x}ae(h+480|0,+(f|0)*.25);Uc(h+464|0,j,i,u,v,q[h+480>>2],q[h+484>>2],q[h+488>>2],q[h+492>>2]);u=q[h+472>>2];v=q[h+476>>2];j=q[h+464>>2];i=q[h+468>>2];break x}if((b|0)!=5e8){ae(h+576|0,+(f|0)*.75);Uc(h+560|0,j,i,u,v,q[h+576>>2],q[h+580>>2],q[h+584>>2],q[h+588>>2]);u=q[h+568>>2];v=q[h+572>>2];j=q[h+560>>2];i=q[h+564>>2];break x}z=+(f|0);if((l+5&2047)==(n|0)){ae(h+512|0,z*.5);Uc(h+496|0,j,i,u,v,q[h+512>>2],q[h+516>>2],q[h+520>>2],q[h+524>>2]);u=q[h+504>>2];v=q[h+508>>2];j=q[h+496>>2];i=q[h+500>>2];break x}ae(h+544|0,z*.75);Uc(h+528|0,j,i,u,v,q[h+544>>2],q[h+548>>2],q[h+552>>2],q[h+556>>2]);u=q[h+536>>2];v=q[h+540>>2];j=q[h+528>>2];i=q[h+532>>2]}if((d|0)>111){break w}bp(h+448|0,j,i,u,v,0,0,0,1073676288);if(tf(q[h+448>>2],q[h+452>>2],q[h+456>>2],q[h+460>>2],0,0,0,0)){break w}Uc(h+432|0,j,i,u,v,0,0,0,1073676288);u=q[h+440>>2];v=q[h+444>>2];j=q[h+432>>2];i=q[h+436>>2]}Uc(h+416|0,c,k,p,m,j,i,u,v);Pj(h+400|0,q[h+416>>2],q[h+420>>2],q[h+424>>2],q[h+428>>2],E,F,C,D);p=q[h+408>>2];m=q[h+412>>2];c=q[h+400>>2];k=q[h+404>>2];y:{if((o&2147483647)<=(-2-B|0)){break y}Eb(h+384|0,c,k,p,m,0,0,0,1073610752);f=tf(j,i,u,v,0,0,0,0);z=y(Tf(c,k,p,m));b=z>=1.0384593717069655e+34;p=b?q[h+392>>2]:p;m=b?q[h+396>>2]:m;c=b?q[h+384>>2]:c;k=b?q[h+388>>2]:k;s=b+s|0;if((s+110|0)<=(G|0)?!(g&(b^1|(d|0)!=(e|0))&(f|0)!=0):0){break y}q[160942]=68}pp(h+368|0,c,k,p,m,s);j=q[h+376>>2];i=q[h+380>>2];c=q[h+372>>2];b=q[h+368>>2]}q[I>>2]=b;q[H+4>>2]=c;q[a+8>>2]=j;q[a+12>>2]=i;Da=h+8960|0}function XJ(a,b,c,d){a=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=-4;a:{b:{c:{d:{if(b>>>0>=c>>>0){break d}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}f=r[b|0];e=f+ -216|0;if(e>>>0<=39){break r}if(f){break g}g=r[b+1|0];i=a+72|0;h=r[g+i|0]+ -2|0;if(h>>>0>34){break c}e=18;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{switch(h-1|0){case 9:return mq(12,a,b+2|0,c,d)|0;case 10:return mq(13,a,b+2|0,c,d)|0;default:e=-1;g=b+2|0;if((c-g|0)<2){break d}H:{I:{J:{K:{L:{M:{f=r[b+2|0];h=f+ -220|0;if(h>>>0>35){if(f){break h}f=r[i+r[b+3|0]|0];if(f>>>0>29){break H}if(1<>>0>7){break q}switch(g-1|0){case 0:case 2:case 4:case 5:break q;case 1:case 3:break K;case 6:break M;default:break L}}switch(h-4|0){case 31:break I;case 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: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:break h;default:break H}}return lq(a,b+6|0,c,d)|0}q[d>>2]=b+6;return 33}b=b+6|0;g=c-b|0;if((g|0)<=1){break d}while(1){if(r[b|0]){break b}a=r[i+r[f+3|0]|0];if(a>>>0>30){break b}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}return kq(a,b+4|0,c,d)|0}if(r[b+3|0]<=253){break h}}q[d>>2]=g;return 0;case 4:break n;case 20:case 22:case 23:case 24:break t;case 3:break u;case 2:break v;case 16:break w;case 8:break x;case 33:break y;case 29:break z;case 28:break A;case 1:break B;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 30:case 31:break c;case 17:break C;case 32:break D;case 27:break E;case 7:case 18:break F;case 6:break G;case 19:case 21:break e;case 26:break f}}if((b+2|0)!=(c|0)){break F}q[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){a=e;O:{P:{if(r[b+2|0]){break P}e=r[i+r[b+3|0]|0]+ -9|0;if(e>>>0>12){break P}Q:{switch(e-1|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break P;default:break Q}}if((b+4|0)!=(c|0)){break O}}q[d>>2]=a;return 15}b=a;e=b+2|0;if((c-e|0)>1){continue}break}}q[d>>2]=e;return 15}return jq(a,b+2|0,c,d)|0}q[d>>2]=b+2;return 38}q[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break d}R:{if(r[b+2|0]|r[b+3|0]!=93){break R}e=-1;if((c|0)<4){break d}if(r[b+4|0]|r[b+5|0]!=62){break R}q[d>>2]=b+6;return 34}q[d>>2]=a;return 26}q[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break d}S:{if(r[b+2|0]){break S}c=r[i+r[b+3|0]|0]+ -9|0;if(c>>>0>27){break S}T:{switch(c-3|0){case 21:q[d>>2]=b+4;return 36;case 3:q[d>>2]=b+4;return 35;case 22:q[d>>2]=b+4;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break S;default:break T}}q[d>>2]=a;return 24}break a}q[d>>2]=b+2;return 21}q[d>>2]=b+2;return 17}e=-1;a=b+2|0;f=c-a|0;if((f|0)<2){break d}g=r[b+2|0];e=g+ -216|0;if(e>>>0<=39){break p}if(g){break k}e=r[b+3|0];h=r[i+e|0]+ -5|0;if(h>>>0>24){break a}U:{switch(h-1|0){case 23:break j;case 1:break l;case 0:break U;case 16:case 18:break i;default:break a}}e=-2;if((f|0)>=3){break a}break d}e=-2;if((c-b|0)<2){break d}break c}e=-2;if((c-b|0)>=3){break c}break d}e=19;break e}return-1}switch(e-4|0){case 35:break o;case 0:case 1:case 2:case 3:break c;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:break g;default:break n}}q[d>>2]=f;return 0}switch(e-4|0){case 0:case 1:case 2:case 3:break a;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:break k;case 35:break m;default:break l}}g=r[b+1|0];if(g>>>0>253){break c}break f}e=-2;if((c-b|0)>=4){break c}break d}e=r[b+3|0];if(e>>>0<=253){break j}break a}e=-2;if((f|0)>=4){break a}break d}e=r[b+3|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break i}break a}e=-20;b=b+4|0;f=c-b|0;if((f|0)<=1){break d}while(1){V:{W:{X:{Y:{g=r[b|0];h=g+ -216|0;if(h>>>0>39){if(g){break X}a=r[a+3|0];h=r[i+a|0]+ -5|0;if(h>>>0>31){break b}Z:{switch(h-1|0){case 0:e=-2;if((f|0)>=3){break b}break d;case 16:case 18:case 19:case 20:case 21:break V;case 23:break W;case 1:break Y;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break Z;default:break b}}q[d>>2]=b;return 20}_:{switch(h-4|0){case 0:case 1:case 2:case 3:break b;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:break X;case 35:break _;default:break Y}}a=r[a+3|0];if(a>>>0<=253){break W}break b}e=-2;if((f|0)>=4){break b}break d}a=r[a+3|0]}if(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1){break V}break b}a=b;b=b+2|0;f=c-b|0;if((f|0)>1){continue}break}break d}q[d>>2]=b;return 29}g=r[b+1|0]}e=18;i=(g>>>5&7)<<2;g=1<<(g&31);if(q[(i|r[f+492528|0]<<5)+490512>>2]&g){break e}e=19;if(!(g&q[(i|r[f+492784|0]<<5)+490512>>2])){break c}}b=b+2|0;g=c-b|0;if((g|0)>=2){i=a+72|0;while(1){a=b;$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b|0];b=f+ -216|0;if(b>>>0>39){if(f){break ca}b=r[a+1|0];h=r[i+b|0]+ -5|0;if(h>>>0>31){break a}la:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break a}break d;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=a;return e|0;case 17:b=a+2|0;if((e|0)!=41){if((e|0)!=18){break $}g=c-b|0;if((g|0)<2){return-1}e=19;h=r[b|0];f=h+ -216|0;if(f>>>0<=39){break ka}if(h){break ga}f=r[a+3|0];j=r[i+f|0]+ -5|0;if(j>>>0>24){break $}ma:{switch(j-1|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 17:case 22:break $;case 16:case 18:case 19:case 20:case 21:break ea;case 23:break fa;case 1:break ia;case 0:break ma;default:break b}}e=-2;if((g|0)>=3){break b}break d}e=19;break $;case 28:if((e|0)==19){break a}q[d>>2]=a+2;return 32;case 27:if((e|0)==19){break a}q[d>>2]=a+2;return 31;case 16:case 18:case 19:case 20:case 21:break aa;case 23:break ba;case 1:break da;case 9:break la;default:break a}}if((e|0)==19){break a}q[d>>2]=a+2;return 30}switch(b-4|0){case 0:case 1:case 2:case 3:break a;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:break ca;case 35:break ja;default:break da}}switch(f-4|0){case 0:case 1:case 2:case 3:break $;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:break ga;case 35:break ha;default:break ia}}b=r[a+1|0];if(b>>>0<=253){break ba}break a}e=-2;if((g|0)>=4){break b}break d}f=r[a+3|0];if(f>>>0>253){break $}break fa}f=r[a+3|0]}if(q[(f>>>3&28|r[h+492784|0]<<5)+490512>>2]>>>(f&31)&1){break ea}break b}b=a+4|0;e=41;break $}e=-2;if((g|0)>=4){break a}break d}b=r[a+1|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break aa}break a}b=a+2|0}g=c-b|0;if((g|0)>1){continue}break}}e=0-e|0}return e|0}q[d>>2]=b;return 0}q[d>>2]=b;return 0}q[d>>2]=a;return 0}function oK(a,b,c,d){a=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=-4;a:{b:{c:{d:{if(b>>>0>=c>>>0){break d}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}f=r[b+1|0];e=f+ -216|0;if(e>>>0<=39){break r}if(f){break g}g=r[b|0];i=a+72|0;h=r[g+i|0]+ -2|0;if(h>>>0>34){break c}e=18;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{switch(h-1|0){case 9:return qq(12,a,b+2|0,c,d)|0;case 10:return qq(13,a,b+2|0,c,d)|0;default:e=-1;g=b+2|0;if((c-g|0)<2){break d}H:{I:{J:{K:{L:{M:{f=r[b+3|0];h=f+ -220|0;if(h>>>0>35){if(f){break h}f=r[i+r[b+2|0]|0];if(f>>>0>29){break H}if(1<>>0>7){break q}switch(g-1|0){case 0:case 2:case 4:case 5:break q;case 1:case 3:break K;case 6:break M;default:break L}}switch(h-4|0){case 31:break I;case 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: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:break h;default:break H}}return pq(a,b+6|0,c,d)|0}q[d>>2]=b+6;return 33}b=b+6|0;g=c-b|0;if((g|0)<=1){break d}while(1){if(r[f+3|0]){break b}a=r[i+r[b|0]|0];if(a>>>0>30){break b}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}return oq(a,b+4|0,c,d)|0}if(r[b+2|0]<=253){break h}}q[d>>2]=g;return 0;case 4:break n;case 20:case 22:case 23:case 24:break t;case 3:break u;case 2:break v;case 16:break w;case 8:break x;case 33:break y;case 29:break z;case 28:break A;case 1:break B;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 30:case 31:break c;case 17:break C;case 32:break D;case 27:break E;case 7:case 18:break F;case 6:break G;case 19:case 21:break e;case 26:break f}}if((b+2|0)!=(c|0)){break F}q[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){a=e;O:{P:{if(r[b+3|0]){break P}e=r[i+r[a|0]|0]+ -9|0;if(e>>>0>12){break P}Q:{switch(e-1|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break P;default:break Q}}if((b+4|0)!=(c|0)){break O}}q[d>>2]=a;return 15}b=a;e=b+2|0;if((c-e|0)>1){continue}break}}q[d>>2]=e;return 15}return nq(a,b+2|0,c,d)|0}q[d>>2]=b+2;return 38}q[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break d}R:{if(r[b+3|0]|r[b+2|0]!=93){break R}e=-1;if((c|0)<4){break d}if(r[b+5|0]|r[b+4|0]!=62){break R}q[d>>2]=b+6;return 34}q[d>>2]=a;return 26}q[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break d}S:{if(r[b+3|0]){break S}c=r[i+r[b+2|0]|0]+ -9|0;if(c>>>0>27){break S}T:{switch(c-3|0){case 21:q[d>>2]=b+4;return 36;case 3:q[d>>2]=b+4;return 35;case 22:q[d>>2]=b+4;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break S;default:break T}}q[d>>2]=a;return 24}break a}q[d>>2]=b+2;return 21}q[d>>2]=b+2;return 17}e=-1;a=b+2|0;f=c-a|0;if((f|0)<2){break d}g=r[b+3|0];e=g+ -216|0;if(e>>>0<=39){break p}if(g){break k}e=r[b+2|0];h=r[i+e|0]+ -5|0;if(h>>>0>24){break a}U:{switch(h-1|0){case 23:break j;case 1:break l;case 0:break U;case 16:case 18:break i;default:break a}}e=-2;if((f|0)>=3){break a}break d}e=-2;if((c-b|0)<2){break d}break c}e=-2;if((c-b|0)>=3){break c}break d}e=19;break e}return-1}switch(e-4|0){case 35:break o;case 0:case 1:case 2:case 3:break c;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:break g;default:break n}}q[d>>2]=f;return 0}switch(e-4|0){case 0:case 1:case 2:case 3:break a;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:break k;case 35:break m;default:break l}}g=r[b|0];if(g>>>0>253){break c}break f}e=-2;if((c-b|0)>=4){break c}break d}e=r[b+2|0];if(e>>>0<=253){break j}break a}e=-2;if((f|0)>=4){break a}break d}e=r[b+2|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break i}break a}e=-20;b=b+4|0;g=c-b|0;if((g|0)<=1){break d}while(1){V:{W:{X:{Y:{f=r[a+3|0];a=f+ -216|0;if(a>>>0>39){if(f){break X}a=r[b|0];h=r[i+a|0]+ -5|0;if(h>>>0>31){break b}Z:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break b}break d;case 16:case 18:case 19:case 20:case 21:break V;case 23:break W;case 1:break Y;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break Z;default:break b}}q[d>>2]=b;return 20}_:{switch(a-4|0){case 0:case 1:case 2:case 3:break b;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:break X;case 35:break _;default:break Y}}a=r[b|0];if(a>>>0<=253){break W}break b}e=-2;if((g|0)>=4){break b}break d}a=r[b|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break V}break b}a=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}q[d>>2]=b;return 29}g=r[b|0]}e=18;i=(g>>>5&7)<<2;g=1<<(g&31);if(q[(i|r[f+492528|0]<<5)+490512>>2]&g){break e}e=19;if(!(g&q[(i|r[f+492784|0]<<5)+490512>>2])){break c}}b=b+2|0;g=c-b|0;if((g|0)>=2){i=a+72|0;while(1){a=b;$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break ca}b=r[a|0];h=r[i+b|0]+ -5|0;if(h>>>0>31){break a}la:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break a}break d;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=a;return e|0;case 17:b=a+2|0;if((e|0)!=41){if((e|0)!=18){break $}g=c-b|0;if((g|0)<2){return-1}e=19;h=r[a+3|0];f=h+ -216|0;if(f>>>0<=39){break ka}if(h){break ga}f=r[b|0];j=r[i+f|0]+ -5|0;if(j>>>0>24){break $}ma:{switch(j-1|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 17:case 22:break $;case 16:case 18:case 19:case 20:case 21:break ea;case 23:break fa;case 1:break ia;case 0:break ma;default:break b}}e=-2;if((g|0)>=3){break b}break d}e=19;break $;case 28:if((e|0)==19){break a}q[d>>2]=a+2;return 32;case 27:if((e|0)==19){break a}q[d>>2]=a+2;return 31;case 16:case 18:case 19:case 20:case 21:break aa;case 23:break ba;case 1:break da;case 9:break la;default:break a}}if((e|0)==19){break a}q[d>>2]=a+2;return 30}switch(b-4|0){case 0:case 1:case 2:case 3:break a;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:break ca;case 35:break ja;default:break da}}switch(f-4|0){case 0:case 1:case 2:case 3:break $;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:break ga;case 35:break ha;default:break ia}}b=r[a|0];if(b>>>0<=253){break ba}break a}e=-2;if((g|0)>=4){break b}break d}f=r[b|0];if(f>>>0>253){break $}break fa}f=r[b|0]}if(q[(f>>>3&28|r[h+492784|0]<<5)+490512>>2]>>>(f&31)&1){break ea}break b}b=a+4|0;e=41;break $}e=-2;if((g|0)>=4){break a}break d}b=r[a|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break aa}break a}b=a+2|0}g=c-b|0;if((g|0)>1){continue}break}}e=0-e|0}return e|0}q[d>>2]=b;return 0}q[d>>2]=b;return 0}q[d>>2]=a;return 0}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,m=0,n=0,t=0,u=0,v=0,x=0,y=0,z=0;m=Da-16|0;Da=m;a:{c=q[a>>2]+ -7|0;if(c>>>0>3){d=-31;break a}v=a+8|0;h=q[a+4>>2];j=q[a+52>>2];b:{c:{switch(c-1|0){default:b=0;break b;case 0:b=2;break b;case 1:b=1;break b;case 2:break c}}b=3}while(1){d:{e:{i=a;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{switch(b|0){case 0:s:{while(1){q[a>>2]=7;if(q[a+196>>2]){break s}if(pA(a)){continue}break}d=2;break f}u=q[a+20>>2];k=q[a+16>>2];n=q[a+104>>2];g=q[a+8>>2];f=g;t:{u:{i=q[a+12>>2];e=i;if(32-e>>>0<=14){d=k;f=g;c=i;b=u;while(1){if(!b){break u}t=f>>>8|0;q[a+8>>2]=t;f=r[d|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;d=d+1|0;q[a+16>>2]=d;f=t|f<<24;q[a+8>>2]=f;t=40-c|0;c=e;if(t>>>0<15){continue}break}}c=a;h=f>>>e|0;b=n+((h&255)<<2)|0;d=r[b|0];if(d>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(d<<2)+153520>>2]&h>>>8&127)<<2)+b|0;d=r[b|0]}q[c+12>>2]=(d&255)+e;b=s[b+2>>1];q[m+12>>2]=b;break t}if(!ud(n,v,m+12|0)){break p}b=q[m+12>>2]}x=b<<3;c=r[x+155747|0];q[a+180>>2]=c;q[a+268>>2]=o[x+155746|0];o[a+260|0]=r[c+q[a+116>>2]|0];h=s[x+155748>>1];z=0;n=0;l=r[x+155744|0];if(l){c=q[a+12>>2];v:{if(32-c>>>0>=l>>>0){f=q[v>>2];break v}b=q[a+20>>2];d=c;while(1){if(!b){break q}t=q[a+8>>2]>>>8|0;q[a+8>>2]=t;f=q[a+16>>2];e=r[f|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=f+1;f=t|e<<24;q[a+8>>2]=f;e=40-d|0;d=c;if(e>>>0>>0){continue}break}}q[a+12>>2]=c+l;n=q[(l<<2)+153552>>2]&f>>>c}y=a;l=r[x+155745|0];if(l){c=q[a+12>>2];w:{if(32-c>>>0>=l>>>0){f=q[v>>2];break w}b=q[a+20>>2];d=c;while(1){if(!b){break q}t=q[a+8>>2]>>>8|0;q[a+8>>2]=t;f=q[a+16>>2];e=r[f|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=f+1;f=t|e<<24;q[a+8>>2]=f;e=40-d|0;d=c;if(e>>>0>>0){continue}break}}q[a+12>>2]=c+l;c=q[(l<<2)+153552>>2]&f>>>c}else{c=z}q[y+264>>2]=c+s[x+155750>>1];q[a+196>>2]=q[a+196>>2]+ -1;h=h+n|0;if(h){break o}h=0;break m;case 2:break n;case 1:break r;default:break j}}q[a>>2]=9;c=q[a+268>>2];if((c|0)<0){break i}q[a+180>>2]=!c;c=q[a+72>>2]+ -1|0;q[a+72>>2]=c;b=q[(((c&3)<<2)+a|0)+76>>2];break h}q[a+16>>2]=k;q[a+8>>2]=g;q[a+20>>2]=u;q[a+12>>2]=i}d=2;break f}q[a+184>>2]=q[a+184>>2]-h;b=2;continue}b=q[a+176>>2];x:while(1){y:{q[a>>2]=8;z:{if(b){f=h;e=j;break z}d=q[a+96>>2];e=q[a+68>>2];c=r[d+(e&j+ -2)|0];i=r[d+(e&j+ -1)|0];d=q[a+192>>2];f=h;e=j;A:{B:{while(1){if(!d){if(!Cn(a)){break B}if(q[a+176>>2]){break A}}d=c&255;c=q[a+108>>2];t=q[q[a+120>>2]+(r[q[a+112>>2]+(r[(d+c|0)+256|0]|r[c+(i&255)|0])|0]<<2)>>2];C:{D:{c=q[a+12>>2];E:{if(32-c>>>0>=15){k=q[v>>2];break E}b=q[a+20>>2];d=c;while(1){if(!b){break D}u=q[a+8>>2]>>>8|0;q[a+8>>2]=u;k=q[a+16>>2];g=r[k|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=k+1;k=u|g<<24;q[a+8>>2]=k;g=40-d|0;d=c;if(g>>>0<15){continue}break}}d=a;k=k>>>c|0;b=t+((k&255)<<2)|0;g=r[b|0];if(g>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(g<<2)+153520>>2]&k>>>8&127)<<2)+b|0;g=r[b|0]}q[d+12>>2]=(g&255)+c;b=r[b+2|0];break C}if(!ud(t,v,m+12|0)){break B}b=q[m+12>>2]}o[q[a+96>>2]+e|0]=b;d=q[a+192>>2]+ -1|0;q[a+192>>2]=d;e=e+1|0;if((e|0)==q[a+64>>2]){q[a>>2]=13;h=f+ -1|0;j=e;d=1;break f}c=i;i=b;f=f+ -1|0;if(f){continue}break}f=h;e=j;break y}h=f;j=e;d=2;break f}q[a>>2]=8;h=f;j=e}b=q[a+192>>2];while(1){F:{if(b){break F}d=2;if(!Cn(a)){break f}if(q[a+176>>2]){break F}b=0;continue x}u=q[a+256>>2];G:{H:{c=q[a+12>>2];I:{if(32-c>>>0>=15){k=q[v>>2];break I}b=q[a+20>>2];d=c;while(1){if(!b){break H}k=q[a+8>>2]>>>8|0;q[a+8>>2]=k;g=q[a+16>>2];i=r[g|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=g+1;k=k|i<<24;q[a+8>>2]=k;i=40-d|0;d=c;if(i>>>0<15){continue}break}}d=a;g=k>>>c|0;b=u+((g&255)<<2)|0;i=r[b|0];if(i>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(i<<2)+153520>>2]&g>>>8&127)<<2)+b|0;i=r[b|0]}q[d+12>>2]=(i&255)+c;b=s[b+2>>1];q[m+12>>2]=b;break G}if(!ud(u,v,m+12|0)){break k}b=q[m+12>>2]}o[q[a+96>>2]+j|0]=b;b=q[a+192>>2]+ -1|0;q[a+192>>2]=b;j=j+1|0;if((j|0)==q[a+64>>2]){q[a>>2]=13;h=h+ -1|0;d=1;break f}h=h+ -1|0;if(h){continue}break}}break}j=e+f|0;h=0;if(q[a+184>>2]<=0){break l}}b=1;continue}q[a>>2]=14;d=1;break f}d=2;break f}d=q[a+64>>2]-j|0;J:{K:{while(1){c=h+ -1|0;if((h|0)<1){break K}e=q[a+96>>2];o[e+j|0]=r[e+(q[a+68>>2]&j-q[a+268>>2])|0];j=j+1|0;h=c;d=d+ -1|0;if(d){continue}break}q[a>>2]=16;break J}if(q[a+184>>2]>0){h=c;break e}q[a>>2]=14}h=c;d=1;break f}L:{if(q[a+200>>2]){break L}if(oA(a)){break L}d=2;break f}t=q[a+20>>2];u=q[a+16>>2];l=q[q[a+152>>2]+(r[a+260|0]<<2)>>2];k=q[a+8>>2];f=k;M:{N:{O:{P:{Q:{R:{S:{g=q[a+12>>2];e=g;if(32-e>>>0<=14){d=u;f=k;c=g;b=t;while(1){if(!b){break S}n=f>>>8|0;q[a+8>>2]=n;f=r[d|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;d=d+1|0;q[a+16>>2]=d;f=n|f<<24;q[a+8>>2]=f;n=40-c|0;c=e;if(n>>>0<15){continue}break}}c=a;n=f>>>e|0;f=n&255;b=l+(f<<2)|0;d=r[b|0];if(d>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[(l+(f<<2)|0)+2>>1]+(q[(d<<2)+153520>>2]&n>>>8&127)<<2)+b|0;d=r[b|0]}q[c+12>>2]=(d&255)+e;b=s[b+2>>1];q[m+12>>2]=b;break R}if(!ud(l,v,m+12|0)){break Q}b=q[m+12>>2]}q[a+180>>2]=0;x=q[a+200>>2]+ -1|0;q[a+200>>2]=x;if(b>>>0<=15){q[a+268>>2]=b;if((b|0)>3){break O}d=1>>>b|0;q[a+180>>2]=d;c=q[a+72>>2];b=q[(((c+(b^-1)&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;q[a+72>>2]=c-d;break g}y=r[(a+624|0)+b|0];if(!y){break P}T:{if(y>>>0<=24){e=q[a+12>>2];U:{if(32-e>>>0>=y>>>0){z=q[v>>2];break U}d=q[a+20>>2];c=e;while(1){if(!d){break T}l=q[a+8>>2]>>>8|0;q[a+8>>2]=l;n=q[a+16>>2];f=r[n|0];d=d+ -1|0;q[a+20>>2]=d;e=c+ -8|0;q[a+12>>2]=e;q[a+16>>2]=n+1;z=l|f<<24;q[a+8>>2]=z;f=40-c|0;c=e;if(f>>>0>>0){continue}break}}d=q[(y<<2)+153552>>2]&z>>>e;q[m+8>>2]=d;q[a+12>>2]=e+y;break M}if(JA(v,y,m+8|0)){break N}x=q[a+200>>2]}q[a+20>>2]=t;q[a+16>>2]=u;q[a+8>>2]=k;q[a+12>>2]=g;q[a+200>>2]=x+1}d=2;break f}d=0;q[m+8>>2]=0;break M}c=(b|0)<10;c=((6312258>>>((c?-4:-10)+b<<2)&15)+q[(((q[a+72>>2]+(c?3:10)&3)<<2)+a|0)+76>>2]|0)+ -3|0;b=(c|0)<1?2147483647:c;break h}d=q[m+8>>2]}b=q[((b<<2)+a|0)+1168>>2]+(d<>2])|0}q[i+268>>2]=b}d=q[a+60>>2];c=q[a+56>>2];if((d|0)!=(c|0)){d=(j|0)<(c|0)?j:c;q[a+60>>2]=d}h=q[a+264>>2];V:{if((b|0)>(d|0)){if((b|0)>2147483644){d=-16;break a}if(h+ -4>>>0>20){d=-12;break a}c=q[a+584>>2];f=q[(c+(h<<2)|0)+32>>2];g=r[c+h|0];q[a+72>>2]=q[a+72>>2]+q[a+180>>2];e=q[c+164>>2];if(!e){d=-19;break a}c=(d^-1)+b|0;i=c>>g;b=q[a+588>>2];if((i|0)>=q[b+12>>2]){d=-11;break a}d=e+(f+w(c&q[(g<<2)+153552>>2],h)|0)|0;c=q[a+96>>2]+j|0;W:{if((i|0)==p[b+24>>1]){Qa(c,d,h);c=h;break W}c=Kn(c,d,h,b,i)}q[a+184>>2]=q[a+184>>2]-c;j=c+j|0;if((j|0)>2]){b=j;break V}q[a>>2]=15;d=1;break f}f=q[a+96>>2];d=q[a+68>>2];c=q[a+72>>2];q[(((c&3)<<2)+a|0)+76>>2]=b;q[a+72>>2]=c+1;q[a+184>>2]=q[a+184>>2]-h;e=d&j-b;g=e+f|0;d=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);c=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);i=f+j|0;b=r[g+12|0]|r[g+13|0]<<8|(r[g+14|0]<<16|r[g+15|0]<<24);f=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);o[i+8|0]=f;o[i+9|0]=f>>>8;o[i+10|0]=f>>>16;o[i+11|0]=f>>>24;o[i+12|0]=b;o[i+13|0]=b>>>8;o[i+14|0]=b>>>16;o[i+15|0]=b>>>24;o[i|0]=d;o[i+1|0]=d>>>8;o[i+2|0]=d>>>16;o[i+3|0]=d>>>24;o[i+4|0]=c;o[i+5|0]=c>>>8;o[i+6|0]=c>>>16;o[i+7|0]=c>>>24;b=h+j|0;d=e+h|0;if((d|0)>(j|0)?(b|0)>(e|0):0){break d}c=q[a+64>>2];if((b|0)>=(c|0)|(d|0)>=(c|0)){break d}if((h|0)<17){break V}e=g+16|0;f=i+16|0;if((h|0)>=33){Qa(f,e,h+ -16|0);break V}d=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);c=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);j=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);e=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);o[f+8|0]=e;o[f+9|0]=e>>>8;o[f+10|0]=e>>>16;o[f+11|0]=e>>>24;o[f+12|0]=j;o[f+13|0]=j>>>8;o[f+14|0]=j>>>16;o[f+15|0]=j>>>24;o[f|0]=d;o[f+1|0]=d>>>8;o[f+2|0]=d>>>16;o[f+3|0]=d>>>24;o[f+4|0]=c;o[f+5|0]=c>>>8;o[f+6|0]=c>>>16;o[f+7|0]=c>>>24}if(q[a+184>>2]>0){j=b;break e}q[a>>2]=14;j=b;d=1}q[a+4>>2]=h;q[a+52>>2]=j;break a}b=0;continue}b=3;continue}}Da=m+16|0;return d}function kU(a,b,c){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0;d=Da-1920|0;Da=d;a:{b:{c:{d:{e:{f:{x=q[a+112>>2];g:{if(!(o[x+36|0]&1)){break g}k=q[x+32>>2];h:{if(k){break h}y=d+136|0;G=d+1052|0;B=s[135656];C=d+1496|0;D=d+1448|0;H=d+464|0;while(1){k=ab(1,168);i:{if(k){v=0;u=0;while(1){j:{k:{e=q[a+44>>2];if((e|0)>=1){g=q[(v<<2)+253440>>2];i=q[a+48>>2];f=e+ -1|0;e=0;while(1){h=e+f>>>1|0;l=i+w(h,36)|0;z=q[l>>2];l:{if(z>>>0>g>>>0){f=h+ -1|0;break l}if(z>>>0>=g>>>0){break k}e=h+1|0}if((e|0)<=(f|0)){continue}break}}q[((u<<2)+k|0)+8>>2]=0;break j}z=(u<<2)+k|0;e=q[l+28>>2];q[z+8>>2]=e;if(!e){break j}m:{if(v>>>0<=3){f=1569;i=0;while(1){e=s[((f<<3)+(v<<1)|0)+240920>>1];n:{if(!e){break n}g=d+208|0;q[g>>2]=0;h=g;g=q[b+72>>2];if(!n[q[g+156>>2]](b,q[b+76>>2],f,h,q[g+20>>2])){break n}g=d+112|0;q[g>>2]=0;h=e;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],h,g,q[e+20>>2])){break n}e=q[d+208>>2];g=q[d+112>>2];if((e|0)==(g|0)|(e|g)>>>0>65535){break n}h=i<<1;l=h+(d+1056|0)|0;o[l+1|0]=g;o[l|0]=g>>>8;p[h+(d+1424|0)>>1]=(e<<8&16711680|e<<24)>>>16;i=i+1|0}f=f+1|0;if((f|0)!=1748){continue}break}f=1;o:{if(i>>>0<=1){f=0;if(i-1){break m}break o}while(1){l=f<<1;h=l+(d+1424|0)|0;m=h|1;e=f;while(1){g=e;if(e){e=g+ -1|0;j=s[(d+1424|0)+(e<<1)>>1];if((r[m|0]|r[h|0]<<8)>>>0<(j<<24|j<<8&16711680)>>>16>>>0){continue}}break}if((f|0)!=(g|0)){h=s[h>>1];e=g<<1;m=e+2|0;j=e+(d+1424|0)|0;g=f-g<<1;sb(m+(d+1424|0)|0,j,g);p[j>>1]=h;h=s[l+(d+1056|0)>>1];e=e+(d+1056|0)|0;sb(m+(d+1056|0)|0,e,g);p[e>>1]=h}f=f+1|0;if((i|0)!=(f|0)){continue}break}}q[d+124>>2]=G;q[d+112>>2]=d+208;e=y;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;o[d+180|0]=1;q[d+176>>2]=0;q[d+168>>2]=1;q[d+172>>2]=1;q[d+200>>2]=0;q[d+192>>2]=0;q[d+196>>2]=0;q[d+184>>2]=0;q[d+188>>2]=0;ut(d+112|0);if(q[d+152>>2]){break c}e=st(y);p:{if(!e){if(!r[d+132|0]){break p}o[d+132|0]=0;break p}q[e>>2]=q[d+116>>2];q[e+4>>2]=q[d+120>>2];q[e+20>>2]=q[d+152>>2];q[d+152>>2]=e}f=q[d+116>>2];e=0;q:{if(!Lt(f,d+112|0,1)){break q}r:{if(!(r[f+5|0]|r[f+4|0]<<8)){p[321488]=B;e=642976;break r}e=f+6|0}g=q[d+116>>2];f=g-f|0;h=(f<<24|f<<8&16711680)>>>16|0;o[e|0]=h;o[e+1|0]=h>>>8;if(!(!r[d+132|0]|f>>>0<65536)){o[d+132|0]=0}q[d+1800>>2]=0;q[d+1804>>2]=d+1056;e=q[d+1804>>2];q[d+16>>2]=q[d+1800>>2];q[d+20>>2]=e;q[d+1812>>2]=0;q[d+1808>>2]=i;e=q[d+1812>>2];q[d+24>>2]=q[d+1808>>2];q[d+28>>2]=e;q[d+1796>>2]=i;q[d+1792>>2]=d+1424;e=q[d+1796>>2];q[d+8>>2]=q[d+1792>>2];q[d+12>>2]=e;e=gU(g,d+112|0,d+8|0)}f=r[d+132|0];if(!(r[d+180|0]|!f?!(f?q[d+156>>2]<=-1:0):0)){o[d+132|0]=0}f=q[d+152>>2];s:{if(!f){break s}if(q[f+20>>2]){break b}if(t[d+160>>2]<2){break s}rt(d+112|0);qt(d+112|0)}f=0;t:{if(!e){break t}if(!r[d+132|0]){break a}g=q[d+120>>2];h=q[d+124>>2]-g|0;i=q[d+112>>2];e=q[d+116>>2]-i|0;f=Sa(h+e|0);if(!f){break t}Qa(Qa(f,i,e)+e|0,g,h)}pt(d+112|0);break m}i=0;e=d+208|0;q[e>>2]=0;f=e;e=q[b+72>>2];if(n[q[e+156>>2]](b,q[b+76>>2],65247,f,q[e+20>>2])){q[d+1816>>2]=0;q[d+1824>>2]=0;e=s[d+208>>1];p[d+1832>>1]=(e<<24|e<<8&16711680)>>>16;i=1}e=d+208|0;q[e>>2]=0;u:{v:{f=e;e=q[b+72>>2];if(n[q[e+156>>2]](b,q[b+76>>2],65248,f,q[e+20>>2])){e=i<<2;q[e+(d+1816|0)>>2]=0;q[e+(d+1824|0)>>2]=1;e=d+1832|i<<1;f=s[d+208>>1];f=(f<<24|f<<8&16711680)>>>16|0;o[e|0]=f;o[e+1|0]=f>>>8;e=1;g=1;if(!i){break u}h=i+1|0;break v}g=1;if(i){break u}f=0;break m}while(1){g=e;l=(d+1832|0)+(e<<1)|0;m=l|1;while(1){f=e;if(e){e=f+ -1|0;j=(d+1832|0)+(e<<1)|0;j=r[j|0]|r[j+1|0]<<8;if((r[m|0]|r[l|0]<<8)>>>0<(j<<24|j<<8&16711680)>>>16>>>0){continue}}break}if((f|0)!=(g|0)){e=r[l|0]|r[l+1|0]<<8;m=f+1|0;l=(d+1832|0)+(f<<1)|0;j=g-f|0;sb((d+1832|0)+(m<<1)|0,l,j<<1);o[l|0]=e;o[l+1|0]=e>>>8;e=q[(d+1824|0)+(g<<2)>>2];f=(d+1824|0)+(f<<2)|0;sb((d+1824|0)+(m<<2)|0,f,j<<2);q[f>>2]=e}e=g+1|0;if((g|0)!=(i|0)){continue}break}g=h}e=0;i=0;while(1){f=i<<2;h=f+(d+1816|0)|0;l=q[f+(d+1824|0)>>2];f=0;while(1){m=w(l,18)+(f<<2)|0;j=s[m+255122>>1];w:{if(!j){break w}E=d+208|0;q[E>>2]=0;A=j;j=q[b+72>>2];if(!n[q[j+156>>2]](b,q[b+76>>2],A,E,q[j+20>>2])){break w}m=s[m+255124>>1];j=d+1424|0;q[j>>2]=0;A=m;m=q[b+72>>2];if(!n[q[m+156>>2]](b,q[b+76>>2],A,j,q[m+20>>2])){break w}q[h>>2]=q[h>>2]+1;q[(d+1056|0)+(e<<2)>>2]=2;m=e<<1;j=s[d+1424>>1];p[m+(d+112|0)>>1]=(j<<24|j<<8&16711680)>>>16;j=m+(d+1792|0)|0;m=s[d+208>>1];p[j>>1]=(m<<24|m<<8&16711680)>>>16;e=e+1|0}f=f+1|0;if((f|0)!=4){continue}break}i=i+1|0;if((g|0)!=(i|0)){continue}break}if(!e){f=0;break m}q[d+1436>>2]=H;q[d+1424>>2]=d+208;f=D;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;o[d+1492|0]=1;q[d+1488>>2]=0;q[d+1480>>2]=1;q[d+1484>>2]=1;q[C+16>>2]=0;f=C;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;ut(d+1424|0);if(q[d+1464>>2]){break c}f=st(D);x:{if(!f){if(!r[d+1444|0]){break x}o[d+1444|0]=0;break x}q[f>>2]=q[d+1428>>2];q[f+4>>2]=q[d+1432>>2];q[f+20>>2]=q[d+1464>>2];q[d+1464>>2]=f}f=q[d+1428>>2];y:{if(!Lt(f,d+1424|0,4)){e=0;break y}z:{if(!(r[f+5|0]|r[f+4|0]<<8)){p[321488]=B;i=642976;break z}i=f+6|0}h=q[d+1428>>2];l=h-f|0;f=(l<<24|l<<8&16711680)>>>16|0;o[i|0]=f;o[i+1|0]=f>>>8;f=r[d+1444|0];if(!(!f|l>>>0<65536)){o[d+1444|0]=0;f=0}q[d+1848>>2]=0;q[d+1844>>2]=g;q[d+1864>>2]=0;q[d+1860>>2]=g;q[d+1880>>2]=0;q[d+1876>>2]=e;q[d+1896>>2]=0;q[d+1892>>2]=e;q[d+1912>>2]=0;q[d+1908>>2]=e;q[d+1840>>2]=d+1832;q[d+1856>>2]=d+1816;q[d+1872>>2]=d+112;q[d+1888>>2]=d+1056;q[d+1904>>2]=d+1792;if(t[d+1424>>2]>h>>>0){break f}g=q[d+1428>>2];if(h>>>0>g>>>0){break e}i=h+2|0;if(i>>>0>>0){break d}e=0;if((f&255)!=1){break y}f=i-g|0;if((q[d+1432>>2]-g|0)<(f|0)){p[d+1444>>1]=256;break y}Na(g,0,f);g=f;f=q[d+1428>>2];q[d+1428>>2]=g+f;if(!h|!f){break y}o[h|0]=256;o[h+1|0]=1;q[d+104>>2]=q[d+1848>>2];q[d+56>>2]=q[d+1896>>2];q[d+40>>2]=q[d+1912>>2];q[d+72>>2]=q[d+1880>>2];q[d+88>>2]=q[d+1864>>2];e=q[d+1844>>2];q[d+96>>2]=q[d+1840>>2];q[d+100>>2]=e;e=q[d+1892>>2];q[d+48>>2]=q[d+1888>>2];q[d+52>>2]=e;e=q[d+1908>>2];q[d+32>>2]=q[d+1904>>2];q[d+36>>2]=e;e=q[d+1876>>2];q[d+64>>2]=q[d+1872>>2];q[d+68>>2]=e;e=q[d+1860>>2];q[d+80>>2]=q[d+1856>>2];q[d+84>>2]=e;e=fU(h,d+1424|0,d+96|0,d+80|0,d- -64|0,d+48|0,d+32|0)}f=r[d+1444|0];if(!(r[d+1492|0]|!f?!(f?q[d+1468>>2]<=-1:0):0)){o[d+1444|0]=0}f=q[d+1464>>2];A:{if(!f){break A}if(q[f+20>>2]){break b}if(t[d+1472>>2]<2){break A}rt(d+1424|0);qt(d+1424|0)}f=0;B:{if(!e){break B}if(!r[d+1444|0]){break a}g=q[d+1432>>2];h=q[d+1436>>2]-g|0;i=q[d+1424>>2];e=q[d+1428>>2]-i|0;f=Sa(h+e|0);if(!f){break B}Qa(Qa(f,i,e)+e|0,g,h)}pt(d+1424|0)}q[z+28>>2]=f;if(!f){break j}Av((w(u,24)+k|0)+48|0,f);u=u+1|0}v=v+1|0;if((v|0)!=5){continue}break}o[k+4|0]=1;q[k>>2]=u;if(u){break i}La(k)}k=271312}e=q[x+32>>2];q[x+32>>2]=e?e:k;if(!e){break h}if(q[k>>2]){f=0;while(1){g=(f<<2)+k|0;C:{if(!q[g+28>>2]){break C}e=w(f,24)+k|0;La(q[e+68>>2]);q[e+68>>2]=0;q[e+60>>2]=0;q[e+64>>2]=0;if(!r[k+4|0]){break C}La(q[g+28>>2])}f=f+1|0;if(f>>>0>2]){continue}break}La(k)}k=q[x+32>>2];if(!k){continue}break}}e=Hd(d+208|0,0,b,c);c=q[k>>2];if(!c){break g}b=0;while(1){a=(b<<2)+k|0;f=q[a+28>>2];if(f){c=q[a+8>>2];q[e+32>>2]=0;q[e+116>>2]=c;q[e+24>>2]=0;q[e+28>>2]=0;g=q[e+128>>2];q[e+8>>2]=g;y=q[e+120>>2]==1;o[e+12|0]=y;q[e+76>>2]=0;q[e+16>>2]=c;o[e+13|0]=r[e+142|0];q[e+68>>2]=0;q[e+72>>2]=0;q[e+52>>2]=g;q[e+60>>2]=-1;o[e+57|0]=1;o[e+56|0]=y|r[e+141|0]!=0;q[e+4>>2]=e;q[e+48>>2]=e;p$(e,f,(w(b,24)+k|0)+48|0);c=q[k>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}Da=d+1920|0;return}I(254947,254913,437,254975);F()}I(254987,254913,438,254975);F()}I(255014,254913,439,254975);F()}I(254904,254913,156,254931);F()}I(255049,254913,170,255064);F()}I(255078,254913,462,255095);F()}function AT(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,u=0;l=Da-32|0;Da=l;k=q[c+88>>2];m=q[a+112>>2];i=d+3|0;a:{if(q[c+52>>2]!=1265525857|i>>>0>e>>>0){break a}a=w(d,20)+k|0;if(r[a+12|0]&32|r[a+18|0]!=16){break a}g=d+1|0;a=w(g,20)+k|0;if(r[a+12|0]&32|r[a+18|0]!=4){break a}f=w(d+2|0,20)+k|0;if(r[f+12|0]&32|r[f+18|0]!=6){break a}kc(c,g,i);q[l+24>>2]=q[a+16>>2];g=q[a+12>>2];q[l+16>>2]=q[a+8>>2];q[l+20>>2]=g;g=q[a+4>>2];q[l+8>>2]=q[a>>2];q[l+12>>2]=g;q[a+16>>2]=q[f+16>>2];g=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=g;g=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=g;q[f+16>>2]=q[l+24>>2];a=q[l+20>>2];q[f+8>>2]=q[l+16>>2];q[f+12>>2]=a;a=q[l+12>>2];q[f>>2]=q[l+8>>2];q[f+4>>2]=a}h=q[m>>2];a=q[h+20>>2];b:{c:{d:{e:{if(!(!q[m+80>>2]|i>>>0>e>>>0)){if(a>>>0>2){break c}f:{g:{switch(a-1|0){default:f=w(d+2|0,20)+k|0;if(r[f+12|0]&32){break f}f=r[f+18|0];if(f>>>0>31){break f}g=d;i=e;if(!(1<>2]=q[f>>2];q[l+12>>2]=q[f+20>>2];h:{i:{if((a|0)==1){q[l+16>>2]=q[f+40>>2];a=m+16|0;if(q[a>>2]){break i}break d}q[l+16>>2]=0;g=d;a=m+16|0;i=e;if(!q[a>>2]){break h}}f=0;j:{while(1){if(sd(b,s[q[m+12>>2]+(f<<3)>>1],l+8|0,2,r[m+20|0])){break j}f=f+1|0;h=q[a>>2];if(f>>>0>>0){continue}break}if(q[q[m>>2]+20>>2]!=1){break d}g=d;i=e;if(!h){break h}while(1){if(sd(b,s[q[m+12>>2]+(j<<3)>>1],l+8|0,3,r[m+20|0])){break j}j=j+1|0;if(j>>>0>2]){continue}break}break d}j=1;g=d+2|0;k:{if(g>>>0>=e>>>0){break k}l:{while(1){a=w(g,20)+k|0;if(r[a+12|0]&32){break k}a=r[a+18|0];if(a>>>0>31|!(1<>2];break b}if((a|0)!=2){break c}}if(r[(w(d,20)+k|0)+18|0]!=15){break c}j=1;a=d+1|0;g=a>>>0>>0?e:a;f=d;m:{while(1){f=f+1|0;if(f>>>0>=e>>>0){break m}a=w(f,20)+k|0;if(r[a+12|0]&32){g=f;break m}a=r[a+18|0];if(1<>>0<=31:0){continue}break}g=f}i=d;break b}j=0;g=d;i=e;h=q[m>>2];break b}g=d;i=e}a=q[h+12>>2];n:{if(a>>>0>1){break n}f=e;if(!(a-1)){while(1){a=f;o:{p:{f=f+ -1|0;h=w(f,20)+k|0;if(r[h+12|0]&32){break p}n=r[h+18|0];if(n>>>0>31|!(1<>>0>3){i=f;break n}i=f;q:{r:{switch(h-1|0){case 0:case 1:break n;case 2:break r;default:break q}}if(!(p&1)){break q}break n}p=(a|0)==8|p;break o}if(r[(w(f,20)+k|0)+18|0]!=6|f>>>0<=d>>>0){break o}if(r[(w(a,20)+k|0)+ -22|0]==4){break n}}if(f>>>0>g>>>0){continue}break n}}a=j?i:g;s:{if(g>>>0>=e>>>0){i=a;break s}f=g;while(1){i=a;h=w(f,20)+k|0;t:{if(r[h+12|0]&32){break t}a=r[h+18|0];if(a>>>0>31){a=i;break t}if(!(1<>>0>=f>>>0){break t}if(r[h+ -2|0]==6){break s}}i=a;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break n}while(1){a=w(f,20)+k|0;u:{if(r[a+12|0]&32){break u}h=r[a+18|0];if(h>>>0>31|!(1<>>0>d>>>0){f=d;while(1){h=w(f,20)+k|0;a=r[h+19|0];o[h+19|0]=a>>>0<3?a:3;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(i>>>0>>0){o[(w(i,20)+k|0)+19|0]=4}j=(d|0)==(i|0)&j&g-i>>>0<3^j;a=i+1|0;h=a>>>0>=e>>>0;v:{if(h){break v}g=a;while(1){f=g+1|0;if(r[(w(g,20)+k|0)+18|0]==7){if(f>>>0>=e>>>0){break v}while(1){w:{g=w(f,20)+k|0;x:{if(r[g+12|0]&32){break x}p=r[g+18|0];if(p>>>0>31){break x}if(1<>2];f=a;while(1){if(r[(w(f,20)+k|0)+18|0]==4){g=e+ -1|0;if(g>>>0<=f>>>0){break y}j=w(f,20)+k|0;p=(h|0)!=1265525857;while(1){z:{h=w(g,20)+k|0;A:{if(r[h+12|0]&32){break A}n=r[h+18|0];if(n>>>0>31){break A}if(1<>>0>f>>>0){continue}break y}break}h=w(g,20)+k|0;if(r[h+18|0]==4){break y}q[l+24>>2]=q[j+16>>2];p=q[j+12>>2];q[l+16>>2]=q[j+8>>2];q[l+20>>2]=p;p=q[j+4>>2];q[l+8>>2]=q[j>>2];q[l+12>>2]=p;sb(j,(w(f,20)+k|0)+20|0,w(g-f|0,20));q[h+16>>2]=q[l+24>>2];f=q[l+20>>2];q[h+8>>2]=q[l+16>>2];q[h+12>>2]=f;f=q[l+12>>2];q[h>>2]=q[l+8>>2];q[h+4>>2]=f;break y}f=f+1|0;if((f|0)!=(e|0)){continue}break}}p=e>>>0>d>>>0;if(p){g=0;f=d;while(1){j=w(f,20)+k|0;h=j;n=r[h+18|0];B:{if(!(n>>>0>31|!(1<>>0<=d>>>0){break B}j=j+ -1|0;n=r[(w(j,20)+k|0)+19|0];if((n|0)==2){continue}break}o[h+19|0]=n;break B}j=g;g=r[h+19|0];g=(g|0)==14?j:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(a>>>0>>0){while(1){j=w(a,20)+k|0;f=r[j+18|0];C:{if(!(!(1<>>0>31))){f=i+1|0;i=a;if(f>>>0>=a>>>0){break C}while(1){i=w(f,20)+k|0;if(r[i+19|0]<=13){o[i+19|0]=r[j+19|0]}f=f+1|0;if((f|0)!=(a|0)){continue}break}i=a;break C}i=(f|0)==7?a:i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}g=w(d,20)+k|0;u=r[g+15|0];if(p){f=d;while(1){o[(w(f,20)+k|0)+15|0]=f-d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}n=e-d|0;if(n>>>0>=2){h=1;while(1){i=g+w(h,20)|0;j=i;a=h;while(1){f=a;if(f){a=f+ -1|0;if(r[(g+w(a,20)|0)+19|0]>r[j+19|0]){continue}}break}if((f|0)!=(h|0)){q[l+24>>2]=q[j+16>>2];a=q[i+12>>2];q[l+16>>2]=q[i+8>>2];q[l+20>>2]=a;a=q[i+4>>2];q[l+8>>2]=q[i>>2];q[l+12>>2]=a;a=g+w(f,20)|0;sb(a+20|0,a,w(h-f|0,20));q[a+16>>2]=q[l+24>>2];f=q[l+20>>2];q[a+8>>2]=q[l+16>>2];q[a+12>>2]=f;f=q[l+12>>2];q[a>>2]=q[l+8>>2];q[a+4>>2]=f}h=h+1|0;if((n|0)!=(h|0)){continue}break}}j=e;D:{if(!p){break D}j=d;while(1){if(r[(w(j,20)+k|0)+19|0]==4){break D}j=j+1|0;if((j|0)!=(e|0)){continue}break}j=e}E:{if(!(r[m+4|0]|n>>>0>127)){if(j>>>0>=e>>>0){break E}h=j;while(1){f=r[(w(h,20)+k|0)+15|0];F:{if((f|0)==255){break F}a=h;f=d+f|0;if((a|0)!=(f|0)){while(1){i=w(f,20)+k|0;g=r[i+15|0];o[i+15|0]=255;a=a>>>0>>0?f:a;f=d+g|0;if((h|0)!=(f|0)){continue}break}}if((a|0)==(h|0)){break F}a=a+1|0;if(a-h>>>0<2){break F}kc(c,h,a)}h=h+1|0;if((h|0)!=(e|0)){continue}break}break E}if(e-j>>>0<2){break E}kc(c,j,e)}G:{if(e>>>0<=d>>>0){break G}f=d;while(1){o[(w(f,20)+k|0)+15|0]=u;f=f+1|0;if((f|0)!=(e|0)){continue}break}f=d;while(1){a=w(f,20)+k|0;if(r[a+19|0]!=1){break G}q[a+4>>2]=q[a+4>>2]|q[m+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}i=q[m+100>>2];a=r[m+4|0];if(!(a|q[q[m>>2]+24>>2])){i=q[m+92>>2]|i}if(j>>>0>d>>>0){f=d;while(1){g=w(f,20)+k|0;q[g+4>>2]=q[g+4>>2]|i;f=f+1|0;if((j|0)!=(f|0)){continue}break}}g=j+1|0;if(g>>>0>>0){i=q[m+104>>2]|(q[m+96>>2]|q[m+92>>2]);f=g;while(1){h=w(f,20)+k|0;q[h+4>>2]=i|q[h+4>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}H:{if(!a|q[c+52>>2]!=1147500129){break H}i=d+1|0;if(i>>>0>=j>>>0){break H}f=d;while(1){a=f;f=i;c=w(a,20)+k|0;I:{if(r[c+18|0]!=16){break I}i=w(f,20)+k|0;if(r[i+18|0]!=4){break I}a=a+2|0;if(r[(w(a,20)+k|0)+18|0]==6?(a|0)!=(j|0):0){break I}q[c+4>>2]=q[c+4>>2]|q[m+92>>2];q[i+4>>2]=q[i+4>>2]|q[m+92>>2]}i=f+1|0;if((j|0)!=(i|0)){continue}break}}J:{if(!q[m+88>>2]|j+2>>>0>=e>>>0){break J}i=q[m+28>>2];while(1){a=w(g,20)+k|0;q[l+8>>2]=q[a>>2];q[l+12>>2]=q[a+20>>2];c=g+1|0;f=0;a=0;K:{if(!i){break K}while(1){if(!sd(b,s[q[m+24>>2]+(f<<3)>>1],l+8|0,2,r[m+32|0])){f=f+1|0;a=q[m+28>>2];if(f>>>0>>0){continue}break K}break}a=w(g,20)+k|0;q[a+4>>2]=q[a+4>>2]|q[m+88>>2];a=w(c,20)+k|0;q[a+4>>2]=q[a+4>>2]|q[m+88>>2];break J}f=g+2|0;i=a;g=c;if(f>>>0>>0){continue}break}}g=d+1|0;if(g>>>0>>0){while(1){a=w(g,20)+k|0;L:{if(r[a+12|0]&32){break L}a=r[a+18|0];if(a>>>0>31|!(1<>2]=q[b+4>>2]&(q[m+100>>2]^-1)}if(f>>>0<=d>>>0){break L}b=w(f,20)+k|0;if(r[b+12|0]&32){continue}b=r[b+18|0];if(b>>>0>31|!(1<>2];a:{if(h){break a}b:{c:{if(!(!q[a+736>>2]|(r[a+9|0]&128?0:!(s[a+6>>1]&32767)))){l=q[a+548>>2];d=q[a+100>>2];if(!q[a+744>>2]){c=s[a+340>>1];if(!c){h=0;break b}h=c>>>0>1?c:1;g=q[a+356>>2];f=-1;e=-1;while(1){c=g+w(b,20)|0;d:{if(s[c+6>>1]!=25|!s[c+8>>1]){break d}k=s[c>>1]+ -1|0;if(k>>>0>2){break d}e:{switch(k-1|0){case 1:if(s[c+2>>1]>1){break d}f=(f|0)==-1?b:s[c+4>>1]==1033?b:f;break d;case 0:break d;default:break e}}if(s[c+2>>1]){break d}e=(e|0)==-1?b:s[c+4>>1]?e:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}f:{g:{if((f|0)>-1){break g}h:{if((e|0)>-1){break h}b=0;f=-1;e=-1;while(1){c=g+w(b,20)|0;i:{if(s[c+6>>1]!=16|!s[c+8>>1]){break i}k=s[c>>1]+ -1|0;if(k>>>0>2){break i}j:{switch(k-1|0){case 1:if(s[c+2>>1]>1){break i}f=(f|0)==-1?b:s[c+4>>1]==1033?b:f;break i;case 0:break i;default:break j}}if(s[c+2>>1]){break i}e=(e|0)==-1?b:s[c+4>>1]?e:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}if((f|0)>-1){break g}if((e|0)>-1){break h}b=0;f=-1;e=-1;while(1){c=g+w(b,20)|0;k:{if(s[c+6>>1]!=1|!s[c+8>>1]){break k}k=s[c>>1]+ -1|0;if(k>>>0>2){break k}l:{switch(k-1|0){case 1:if(s[c+2>>1]>1){break k}f=(f|0)==-1?b:s[c+4>>1]==1033?b:f;break k;case 0:break k;default:break l}}if(s[c+2>>1]){break k}e=(e|0)==-1?b:s[c+4>>1]?e:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}if((f|0)>-1){break g}h=0;if((e|0)<0){break b}}if((f|0)!=-1){break g}b=0;break f}b=on(d,q[a+368>>2],g+w(f,20)|0,322)}if(!(b|(e|0)==-1)){b=nn(q[a+100>>2],q[a+368>>2],q[a+356>>2]+w(e,20)|0,322)}if(!b){h=0;break b}h=a;c=Wa(b);if(c>>>0>=92){o[b+91|0]=0;c=91}q[h+748>>2]=c;q[a+744>>2]=b}h=0;n[q[l+40>>2]](a,i+16|0,i+12|0,0,i+8|0)|0;m:{n:{o:{b=q[a+4>>2];if(!(b&2147418112)|r[a+9|0]&128){break o}g=(b>>>16&32767)+ -1|0;b=q[q[i+8>>2]+16>>2];e=q[(w(g,12)+b|0)+8>>2];f=q[a+540>>2];q[i+24>>2]=0;c=a;if(!(e+ -256>>>0>32511?(e|0)!=6:0)){n[q[f+144>>2]](a,e&65535,i+24|0)|0;b=q[i+24>>2];if(b){break n}b=q[q[i+8>>2]+16>>2]}n[q[f+144>>2]](c,s[(w(g,12)+b|0)+4>>1],i+4|0)|0;b=q[i+4>>2];if(!b){break o}b=gb(d,(q[a+748>>2]+Wa(b)|0)+2|0,i+20|0);if(q[i+20>>2]){break b}h=tc(b,q[a+744>>2]);b=h+q[a+748>>2]|0;o[b|0]=45;l=b+1|0;c=q[i+4>>2];b=r[c|0];if(b){while(1){e=b<<24>>24;if(!((e&-33)+ -65>>>0>25?e+ -48>>>0>=10:0)){o[l|0]=b;l=l+1|0}b=r[c+1|0];c=c+1|0;if(b){continue}break}}o[l|0]=0;b=q[i+4>>2];if(b){n[q[d+8>>2]](d,b)}d=l+1|0;break m}f=q[q[i+8>>2]+12>>2];b=gb(d,(q[a+748>>2]+w(q[i+16>>2],17)|0)+1|0,i+20|0);if(q[i+20>>2]){break b}h=tc(b,q[a+744>>2]);d=h+q[a+748>>2]|0;if(!q[i+16>>2]){break m}b=q[i+12>>2];while(1){p:{if(q[b>>2]==q[f+8>>2]){break p}o[d|0]=95;c=q[q[i+12>>2]>>2];q:{if(!c){o[d+1|0]=48;d=d+2|0;break q}if((c|0)>-1){d=d+1|0}else{o[d+1|0]=45;c=0-c|0;d=d+2|0}g=c&65535;b=0;c=c>>>16|0;if(c){while(1){e=(c>>>0)/10|0;o[(i+24|0)+b|0]=c-w(e,10)|48;b=b+1|0;l=c>>>0>9;c=e;if(l){continue}break}while(1){c=b+ -1|0;o[d|0]=r[c+(i+24|0)|0];d=d+1|0;e=(b|0)>1;b=c;if(e){continue}break}}if(!g){break q}o[d|0]=46;b=w(g,10)+5|0;o[d+1|0]=(b>>>16|0)+48;b=w(b&65535,10);o[d+2|0]=b>>>16|48;b=w(b&65534,10);c=b>>>16|48;o[d+3|0]=c;r:{s:{t:{u:{v:{w:{x:{b=b&65532;if(!b){b=d+3|0;break x}b=w(b,10);c=b>>>16|48;o[d+4|0]=c;e=b&65528;if(!e){b=d+4|0;break x}b=d+5|0;e=w(e,10);g=e>>>16|0;c=g|48;o[b|0]=c;e=e&65520;if(!e){break x}d=w(e,10);if(d>>>0>=344800){break t}if((c|0)==49){break w}if((d|0)==172320){if(g&1){break u}break t}if(d>>>0>172319){break t}break v}if((b-d|0)!=5){break t}if((c|0)!=49){break v}}o[b|0]=48;break s}if((c|0)==48){break s}}c=c+ -1|0;o[b|0]=c}if((c|0)!=48){break r}}while(1){o[b|0]=0;b=b+ -1|0;if(r[b|0]==48){continue}break}}d=b+1|0}b=q[f+16>>2];c=b>>24;if(!((c|0)==32|((c&-33)+ -65>>>0>25?c+ -48>>>0>=10:0))){o[d|0]=b>>>24;d=d+1|0;b=q[f+16>>2]}c=b>>>16|0;e=c<<24;y:{if((e|0)==536870912){break y}e=e>>24;if((e&-33)+ -65>>>0>25?e+ -48>>>0>=10:0){break y}o[d|0]=c;d=d+1|0;b=q[f+16>>2]}c=b>>>8|0;e=c<<24;z:{if((e|0)==536870912){break z}e=e>>24;if((e&-33)+ -65>>>0>25?e+ -48>>>0>=10:0){break z}o[d|0]=c;d=d+1|0;b=q[f+16>>2]}c=b<<24;if((c|0)==536870912){break p}c=c>>24;if((c&-33)+ -65>>>0>25?c+ -48>>>0>=10:0){break p}o[d|0]=b;d=d+1|0}b=q[i+12>>2]+4|0;q[i+12>>2]=b;f=f+24|0;j=j+1|0;if(j>>>0>2]){continue}break}break m}d=(Wa(b)+b|0)+1|0;h=b}k=d-h|0;if((k|0)<128){break b}c=0-(k>>>4|0)|0;g=(k&-16)+h|0;j=123456789;l=123456789;e=123456789;f=123456789;break c}c=s[a+340>>1];if(!c){h=0;break a}h=c>>>0>1?c:1;d=q[a+356>>2];f=-1;j=-1;while(1){c=d+w(b,20)|0;A:{if(s[c+6>>1]!=6|!s[c+8>>1]){break A}e=s[c>>1]+ -1|0;if(e>>>0>2){break A}B:{switch(e-1|0){case 1:if(s[c+2>>1]>1){break A}f=(f|0)==-1?b:s[c+4>>1]==1033?b:f;break A;case 0:break A;default:break B}}if(s[c+2>>1]){break A}j=(j|0)==-1?b:s[c+4>>1]?j:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}C:{D:{if((f|0)>-1){break D}h=0;if((j|0)<0){break a}if((f|0)!=-1){break D}h=0;break C}h=on(q[a+100>>2],q[a+368>>2],d+w(f,20)|0,323)}if(h|(j|0)==-1){break b}h=nn(q[a+100>>2],q[a+368>>2],q[a+356>>2]+w(j,20)|0,323);break b}while(1){d=c<<4;b=q[d+g>>2];j=$$(w(w(b,597399067)>>>17|w(b,-888307712),-1425107063)^j,19)+l|0;b=q[g+(d|4)>>2];l=w($$(w(w(b,-1425107063)>>>16|w(b,-1752629248),951274213)^l,17)+e|0,5)+197830471|0;b=c+1|0;p=b>>>0>=c>>>0;c=q[g+(d|8)>>2];m=w($$(w(w(c,951274213)>>>15|w(c,-1781923840),-1578923117)^e,15)+f|0,5)+ -1764942795|0;e=m;c=q[g+(d|12)>>2];j=w(j,5)+1444728091|0;d=w($$(w(w(c,-1578923117)>>>14|w(c,776732672),597399067)^f,13)+j|0,5)+850148119|0;f=d;c=b;if(p){continue}break}b=(k&15)+ -1|0;if(b>>>0<=14){c=0;E:{switch(b-1|0){case 13:c=r[g+14|0]<<16;case 12:c=r[g+13|0]<<8|c;case 11:b=r[g+12|0]^c;d=w(w(b,-1578923117)>>>14|w(b,776732672),597399067)^d;case 10:c=r[g+11|0]<<24;case 9:c=r[g+10|0]<<16|c;case 8:c=r[g+9|0]<<8^c;case 7:b=r[g+8|0]^c;m=w(w(b,951274213)>>>15|w(b,-1781923840),-1578923117)^m;case 6:c=r[g+7|0]<<24;case 5:c=r[g+6|0]<<16|c;case 4:c=r[g+5|0]<<8^c;case 3:b=r[g+4|0]^c;l=w(w(b,-1425107063)>>>16|w(b,-1752629248),951274213)^l;case 2:c=r[g+3|0]<<24;case 1:c=r[g+2|0]<<16|c;case 0:c=r[g+1|0]<<8^c;break;default:break E}}b=r[g|0]^c;j=w(w(b,597399067)>>>17|w(b,-888307712),-1425107063)^j}b=q[a+748>>2]+h|0;o[b|0]=45;o[b+33|0]=3026478;o[b+34|0]=11822;o[b+35|0]=46;o[b+36|0]=0;f=l^k;e=k^m;d=d^k;c=(f+(e+d|0)|0)+(j^k)|0;g=w(c>>>16^c,-2048144789);g=w(g>>>13^g,-1028477387);f=c+f|0;f=w(f>>>16^f,-2048144789);f=w(f>>>13^f,-1028477387);f=f>>>16^f;e=c+e|0;e=w(e>>>16^e,-2048144789);e=w(e>>>13^e,-1028477387);e=e>>>16^e;c=c+d|0;c=w(c>>>16^c,-2048144789);c=w(c>>>13^c,-1028477387);d=c>>>16^c;c=(((g>>>16^g)+f|0)+e|0)+d|0;d=c+d|0;o[b+32|0]=r[(d&15)+163680|0];o[b+25|0]=r[(d>>>28|0)+163680|0];e=c+e|0;o[b+24|0]=r[(e&15)+163680|0];o[b+31|0]=r[(d>>>4&15)+163680|0];o[b+30|0]=r[(d>>>8&15)+163680|0];o[b+29|0]=r[(d>>>12&15)+163680|0];o[b+28|0]=r[(d>>>16&15)+163680|0];o[b+27|0]=r[(d>>>20&15)+163680|0];o[b+26|0]=r[(d>>>24&15)+163680|0];o[b+23|0]=r[(e>>>4&15)+163680|0];o[b+22|0]=r[(e>>>8&15)+163680|0];o[b+21|0]=r[(e>>>12&15)+163680|0];o[b+20|0]=r[(e>>>16&15)+163680|0];o[b+19|0]=r[(e>>>20&15)+163680|0];o[b+18|0]=r[(e>>>24&15)+163680|0];d=c+f|0;o[b+16|0]=r[(d&15)+163680|0];o[b+17|0]=r[(e>>>28|0)+163680|0];o[b+15|0]=r[(d>>>4&15)+163680|0];o[b+14|0]=r[(d>>>8&15)+163680|0];o[b+13|0]=r[(d>>>12&15)+163680|0];o[b+12|0]=r[(d>>>16&15)+163680|0];o[b+11|0]=r[(d>>>20&15)+163680|0];o[b+10|0]=r[(d>>>24&15)+163680|0];o[b+9|0]=r[(d>>>28|0)+163680|0];o[b+8|0]=r[(c&15)+163680|0];o[b+7|0]=r[(c>>>4&15)+163680|0];o[b+6|0]=r[(c>>>8&15)+163680|0];o[b+5|0]=r[(c>>>12&15)+163680|0];o[b+4|0]=r[(c>>>16&15)+163680|0];o[b+3|0]=r[(c>>>20&15)+163680|0];o[b+2|0]=r[(c>>>24&15)+163680|0];o[b+1|0]=r[(c>>>28|0)+163680|0]}q[a+720>>2]=h}Da=i+32|0;return h|0}function zR(a,b){a=a|0;b=b|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;h=Da-25776|0;Da=h;X=q[b+92>>2];q[a+40>>2]=s[b+68>>1];c=0;a:{if(Ne(b,1970170211)){break a}c=q[b+100>>2];Na(h+19088|4,0,2756);q[h+19088>>2]=c;q[a+9568>>2]=0;q[a+52>>2]=0;c=q[q[(q[q[a>>2]+8>>2]<<2)+284112>>2]+16>>2];e=He();f=r[c|0];b:{if(f){while(1){if((f&255)==32){while(1){d=r[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=Ff(c,a,e,h+25728|0);c:{if(t[h+25728>>2]>1){break c}if(h){q[h>>2]=q[e+76>>2]}d=q[e+88>>2];Ge(e,h);if(!q[h>>2]){break c}d=q[d>>2];if(!d){break c}Xd(e);if(Yc(b,d,1)){break b}e=q[b+84>>2];if(p[e+110>>1]<1){break b}c=Na(h,0,19076);d=q[a+40>>2];q[c+16>>2]=0;q[c+20>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+8>>2]=65536;q[c+12>>2]=65536;q[c+40>>2]=d;q[c+4>>2]=b;q[c+21828>>2]=0;q[c+21836>>2]=c;if(bh(c+19088|0,e+108|0)){break b}q[c+25728>>2]=0;if(Ef(c+19088|0,0)){break b}ah(c+19088|0,0,0,0);e=q[c+19132>>2];if((e|0)>=1){f=q[c+19140>>2];d=f+w(e,44)|0;while(1){e=q[f+20>>2];if(!(!e|e>>>0<=f>>>0|(q[e+20>>2]!=(f|0)|m>>>0>15))){g=p[f+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(m,12)+a|0)+56>>2]=e^e+g;m=m+1|0}f=f+44|0;if(f>>>0>>0){continue}break}q[c+25728>>2]=m}Li(c+25728|0,a+56|0,t[c+40>>2]/100|0);q[a+52>>2]=q[c+25728>>2];m=0;q[c+25728>>2]=0;if(Ef(c+19088|0,1)){break b}ah(c+19088|0,0,0,1);e=q[c+20480>>2];if((e|0)>=1){f=q[c+20488>>2];d=f+w(e,44)|0;while(1){e=q[f+20>>2];if(!(!e|e>>>0<=f>>>0|(q[e+20>>2]!=(f|0)|m>>>0>15))){g=p[f+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(m,12)+a|0)+9572>>2]=e^e+g;m=m+1|0}f=f+44|0;if(f>>>0>>0){continue}break}q[c+25728>>2]=m}Li(c+25728|0,a+9572|0,t[c+40>>2]/100|0);q[a+9568>>2]=q[c+25728>>2];break b}f=r[c|0];if(f){continue}break}}Xd(e)}if(q[a+52>>2]){c=q[a+56>>2]}else{c=(w(q[a+40>>2],50)|0)/2048|0}o[a+256|0]=0;q[a+252>>2]=c;q[a+248>>2]=(c|0)/5;if(q[a+9568>>2]){c=q[a+9572>>2]}else{c=(w(q[a+40>>2],50)|0)/2048|0}o[a+9772|0]=0;q[a+9768>>2]=c;q[a+9764>>2]=(c|0)/5;Ll(h+19088|0);Y=t[a+40>>2]/14|0;T=q[a>>2];c=q[T+12>>2];K=He();c=(c<<3)+278512|0;f=q[c>>2];if((f|0)!=5326){while(1){y=c;H=f+273184|0;c=r[H|0];d:{if(!c){break d}F=0;z=0;I=0;m=0;while(1){if((c&255)==32){while(1){c=r[H+1|0];H=H+1|0;if((c|0)==32){continue}break}}H=Ff(H,a,K,h+25772|0);U=q[h+25772>>2];e:{if(!U){break e}A=o[y+4|0]&1?-2147483648:2147483647;L=0;M=0;while(1){c=h+25728|0;if(c){q[c>>2]=q[K+76>>2]}c=q[K+88>>2];e=Ge(K,h+25728|0);f:{if(t[h+25728>>2]<=L>>>0){break f}d=c;c=w(L,20);d=q[d+c>>2];if(!d){break f}P=q[(c+e|0)+12>>2];if(Yc(b,d,1)){break f}c=q[b+84>>2];if(p[c+110>>1]<3){break f}Q=0;k=p[c+108>>1];g:{if((k|0)<1){l=0;J=s[y+4>>1];break g}J=q[c+120>>2];G=q[c+116>>2];n=q[c+112>>2];e=-1;B=0;C=0;j=0;u=0;l=0;while(1){i=p[J+(u<<1)>>1];if((j|0)<(i|0)){d=e;c=j;f=c;h:{if(r[y+4|0]&3){while(1){g=q[((c<<3)+n|0)+4>>2];f=g+P|0;i:{if(!((g|0)<=(l|0)?(d|0)>=0:0)){I=(I|0)>(f|0)?I:f;l=g;d=c;break i}m=(m|0)<(f|0)?m:f}g=(c|0)==(i|0);c=c+1|0;if(!g){continue}break h}}while(1){c=q[((f<<3)+n|0)+4>>2];g=c+P|0;j:{if(!((c|0)>=(l|0)?(d|0)>=0:0)){m=(m|0)<(g|0)?m:g;l=c;d=f;break j}I=(I|0)>(g|0)?I:g}c=(f|0)!=(i|0);f=f+1|0;if(c){continue}break}}c=(d|0)==(e|0);B=c?B:j;C=c?C:i;e=d}j=i+1|0;u=u+1|0;if((k|0)!=(u|0)){continue}break}if((e|0)<=-1){J=s[y+4>>1];break g}O=q[(e<<3)+n>>2];i=e;c=(r[e+G|0]&3)==1?e:-1;f=c;k:{while(1){d=(i|0)>(B|0)?i+ -1|0:C;k=(d<<3)+n|0;j=q[k+4>>2]-l|0;g=j>>31;j=g^g+j;if((j|0)>=6){k=q[k>>2]-O|0;g=k>>31;if((g^g+k)<=(w(j,20)|0)){break k}}g=(r[d+G|0]&3)==1;f=(f|0)<0?g?d:f:f;c=g?d:c;i=d;if((d|0)!=(e|0)){continue}break}i=e}g=e;l:{while(1){d=(g|0)<(C|0)?g+1|0:B;R=(d<<3)+n|0;j=q[R+4>>2]-l|0;k=j>>31;j=k^j+k;if((j|0)>=6){u=q[R>>2]-O|0;k=u>>31;if((k^k+u)<=(w(j,20)|0)){break l}}g=(r[d+G|0]&3)==1;c=(c|0)<0?g?d:c:c;f=g?d:f;g=d;if((d|0)!=(e|0)){continue}break}g=e}J=s[y+4>>1];m:{n:{if(!(J&16)){break n}k=q[(g<<3)+n>>2]-q[(i<<3)+n>>2]|0;d=k>>31;d=d^d+k;k=q[a+40>>2];V=(k>>>0)/25|0;if((d|0)>=(V|0)){break n}d=e;if(((g-i|0)+2|0)>(C-B|0)){break n}while(1){d=(d|0)>(B|0)?d+ -1|0:C;W=q[(d<<3)+n>>2];if((d|0)!=(e|0)?(W|0)==(O|0):0){continue}break}if((d|0)==(e|0)){break f}Z=k>>>2|0;S=0;k=g;d=g;j=0;e=0;while(1){if(!S){S=1;k=d;j=(r[d+G|0]&3)==1?d:-1;e=j}d=(d|0)<(C|0)?d+1|0:B;v=(k<<3)+n|0;u=q[v+4>>2];D=l-u|0;x=D>>31;o:{p:{if((x^x+D)>(Z|0)){break p}x=(d<<3)+n|0;E=q[x+4>>2]-u|0;D=E>>31;D=D^D+E;q:{if((D|0)<=5){E=q[x>>2];x=q[v>>2];v=E-x|0;break q}E=q[x>>2];x=q[v>>2];v=E-x|0;N=v>>31;if((N^v+N)<=(w(D,20)|0)){break p}}N=(r[d+G|0]&3)==1;j=(j|0)<0?N?d:j:j;e=N?d:e;if(((W|0)<(O|0)|0)==((E|0)<=(x|0)|0)){break o}E=v;v=v>>31;if((E+v^v)<(V|0)){break o}g=w(D,20);while(1){d=(d|0)<(C|0)?d+1|0:B;f=q[((d<<3)+n|0)+4>>2]-u|0;c=f>>31;r:{if((c^c+f)<6){break r}f=q[R>>2]-x|0;c=f>>31;if((c^c+f)>(g|0)){break r}g=(d|0)>(B|0)?d+ -1|0:C;break m}j=(j|0)<0?(r[d+G|0]&3)==1?d:j:j;e=d;if((d|0)!=(i|0)){continue}break}g=i;e=g;break m}S=0}if((d|0)!=(i|0)){continue}break}}u=l;k=i;j=c;e=f}l=u+P|0;if((e|j)>=0){e=q[(e<<3)+n>>2]-q[(j<<3)+n>>2]|0;c=e>>31;if((c^c+e)>(Y|0)){break g}}if((r[g+G|0]&3)==1?(r[k+G|0]&3)==1:0){break g}Q=1;if(J&4){break f}}if(J&1){c=(l|0)>(A|0);A=c?l:A;M=c?Q:M;break f}c=(l|0)<(A|0);A=c?l:A;M=c?Q:M}L=L+1|0;if((U|0)!=(L|0)){continue}break}if(A+ -2147483647>>>0<2){break e}if(M&255){q[(h+19088|0)+(z<<2)>>2]=A;z=z+1|0;break e}q[(F<<2)+h>>2]=A;F=F+1|0}c=r[H|0];if(c){continue}break}if(!(z|F)){break d}g=1;if(z>>>0>=2){while(1){d=q[(h+19088|0)+(g<<2)>>2];c=g;while(1){e=c+ -1|0;i=(h+19088|0)+(e<<2)|0;f=q[i>>2];if((d|0)<(f|0)){q[(h+19088|0)+(c<<2)>>2]=f;q[i>>2]=d;c=e;if(c){continue}}break}g=g+1|0;if((z|0)!=(g|0)){continue}break}}g=1;if(F>>>0>=2){while(1){d=q[(g<<2)+h>>2];c=g;while(1){e=c+ -1|0;i=(e<<2)+h|0;f=q[i>>2];if((d|0)<(f|0)){q[(c<<2)+h>>2]=f;q[i>>2]=d;c=e;if(c){continue}}break}g=g+1|0;if((F|0)!=(g|0)){continue}break}}c=q[a+9776>>2];q[a+9776>>2]=c+1;c=w(c,36)+a|0;e=c+9792|0;d=c+9780|0;s:{t:{if(!F){f=q[(h+19088|0)+(z<<1&-4)>>2];break t}f=q[(F<<1&-4)+h>>2];if(!z){break t}q[d>>2]=f;g=q[(h+19088|0)+(z<<1&-4)>>2];q[e>>2]=g;if((f|0)==(g|0)){l=s[y+4>>1];break s}l=s[y+4>>1];if(((l&3)!=0|0)==((g|0)>(f|0)|0)){break s}i=e;e=(f+g|0)/2|0;q[i>>2]=e;q[d>>2]=e;break s}q[e>>2]=f;q[d>>2]=f;l=s[y+4>>1]}e=c+9812|0;d=l<<1&2;q[e>>2]=d;q[c+9808>>2]=m;q[c+9804>>2]=I;c=s[y+4>>1];if(!(c&14)){break d}g=e;e=c<<1;e=d|e&4|e&8;q[g>>2]=c&8?e|16:e}c=y+8|0;f=q[y+8>>2];if((f|0)!=5326){continue}break}}Xd(K);d=q[a+9776>>2];if(d){c=0;while(1){q[(h+25728|0)+(c<<2)>>2]=(w(c,36)+a|0)+9780;c=c+1|0;if((d|0)!=(c|0)){continue}break}if(d>>>0>=2){i=1;while(1){c=q[(h+25728|0)+(i<<2)>>2];f=i;while(1){e=f+ -1|0;l=(h+25728|0)+(e<<2)|0;g=q[l>>2];if(q[(r[c+32|0]&6?0:12)+c>>2]>2]){f=(h+25728|0)+(f<<2)|0;c=q[f>>2];q[f>>2]=g;q[l>>2]=c;f=e;if(e){continue}}break}i=i+1|0;if((d|0)!=(i|0)){continue}break}}g=d+ -1|0;if(g){f=q[h+25728>>2];d=q[f+32>>2];c=0;while(1){e=(d&6?12:0)+f|0;c=c+1|0;f=q[(h+25728|0)+(c<<2)>>2];d=q[f+32>>2];i=q[(d&6?12:0)+f>>2];if(q[e>>2]>(i|0)){q[e>>2]=i}if((c|0)!=(g|0)){continue}break}}m=0;q[h+16>>2]=q[72328];c=q[72327];q[h+8>>2]=q[72326];q[h+12>>2]=c;c=q[72325];q[h>>2]=q[72324];q[h+4>>2]=c;c=h;d=He();i=0;u:{while(1){c=Ff(c,a,d,h+25728|0);v:{if(t[h+25728>>2]>1){break v}e=h+19088|0;if(e){q[e>>2]=q[d+76>>2]}e=q[d+88>>2];g=Ge(d,h+19088|0);if(!q[h+19088>>2]|!q[e>>2]){break v}e=q[g>>2];if(!(m&255)){m=1;i=e;break v}if((e|0)==(i|0)){break v}c=0;break u}if(r[c|0]){continue}break}c=1}Xd(d);o[a+32|0]=c;c=0;break a}a=q[a+36>>2];e=q[a+4>>2];if((e|0)>=1){a=q[a+8>>2];d=q[T>>2];c=0;while(1){g=a+(c<<1)|0;if((d|0)==(s[g>>1]&16383)){p[g>>1]=65}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=-1}$d(b,X);Da=h+25776|0;return c|0}function oR(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=Da-144|0;Da=f;e=p[b+2>>1];if(!(!e|!s[b>>1])){Na(f+8|0,0,128);A=q[c>>2];q[f+24>>2]=A;C=f,D=Oa(A,40,0,e,0,f+140|0),q[C+16>>2]=D;g=q[f+140>>2];a:{if(g){break a}i=Oa(A,8,0,p[b>>1],0,f+140|0);q[f+20>>2]=i;g=q[f+140>>2];if(g){break a}u=p[b+2>>1];q[f+8>>2]=u;e=p[b>>1];q[f+12>>2]=e;y=q[f+16>>2];if(e){z=e>>>0>1?e:1;v=q[b+12>>2];while(1){x=p[v+(l<<1)>>1];m=y+w(h,40)|0;q[i>>2]=m;j=x+1|0;g=j-h|0;q[i+4>>2]=g;if(g){q[m>>2]=y+w(x,40);q[m+8>>2]=i;e=m;k=y;if((g|0)!=1){while(1){q[e+48>>2]=i;h=e+40|0;q[e+4>>2]=h;q[e+40>>2]=e;e=h;g=g+ -1|0;if(g>>>0>1){continue}break}h=x}q[(w(h,40)+k|0)+4>>2]=m}i=i+8|0;h=j;l=l+1|0;if((z|0)!=(l|0)){continue}break}}b:{if(!u){q[f+32>>2]=c;q[f+28>>2]=b;break b}u=q[b+4>>2];g=0;e=y;while(1){m=(q[e+4>>2]-y|0)/40|0;l=(q[e>>2]-y|0)/40|0;if(!(o[q[b+8>>2]+g|0]&1)){q[e+12>>2]=1}h=e;k=u+(g<<3)|0;x=q[k+4>>2];l=u+(l<<3)|0;z=x-q[l+4>>2]|0;j=z>>31;i=q[k>>2];v=i-q[l>>2]|0;l=v>>31;j=j^j+z;k=l^l+v;l=(v|0)>-1?2:-2;c:{if((w(j,12)|0)<(k|0)){break c}l=4;if((w(k,12)|0)>=(j|0)){break c}l=(z|0)>-1?-1:1}o[h+20|0]=l;h=e;k=u+(m<<3)|0;m=q[k+4>>2]-x|0;j=m>>31;x=q[k>>2]-i|0;k=x>>31;i=j^j+m;k=k^k+x;j=(x|0)>-1?2:-2;d:{if((w(i,12)|0)<(k|0)){break d}j=4;if((w(k,12)|0)>=(i|0)){break d}j=(m|0)>-1?-1:1}o[h+21|0]=j;k=q[e+12>>2];e:{if(k&1){q[e+12>>2]=k|2;break e}if((j|0)!=(l|0)){break e}h=e;if((j|0)==4){if(!Eq(v,z,x,m)){break e}k=q[e+12>>2]}q[h+12>>2]=k|2}e=e+40|0;g=g+1|0;i=q[f+8>>2];if(g>>>0>>0){continue}break}g=q[b+4>>2];q[f+32>>2]=c;q[f+28>>2]=b;if(!i){break b}e=q[f+16>>2];while(1){q[e+24>>2]=0;q[e+16>>2]=0;q[e+28>>2]=q[g>>2];q[e+32>>2]=q[g+4>>2];g=g+8|0;e=e+40|0;i=i+ -1|0;if(i){continue}break}}if(q[f+12>>2]){while(1){b=q[f+20>>2]+(B<<3)|0;f:{if(t[b+4>>2]<4){break f}l=q[b>>2];e=l;while(1){e=q[e+4>>2];if((l|0)==(e|0)){break f}j=q[e+32>>2]-q[l+32>>2]|0;k=q[e+28>>2]-q[l+28>>2]|0;if(!(j|k)){continue}break}b=l;while(1){y=b;b=q[b>>2];if((l|0)==(b|0)){break f}g=q[y+32>>2]-q[b+32>>2]|0;h=q[y+28>>2]-q[b+28>>2]|0;if(!(g|h)){continue}i=Hq(k,j,h,g);if(!i){continue}break}l=y;while(1){z=i;v=g;m=h;k=l;b=0;while(1){i=q[e+32>>2];j=q[e+28>>2];while(1){l=e;e=q[e+4>>2];x=q[e+28>>2];h=x-j|0;j=q[e+32>>2];g=j-i|0;b=(e|0)==(y|0)?1:b;i=j;j=x;if(!(g|h)){continue}break}i=Hq(m,v,h,g);if(!i){continue}break}if((i^z)<=-1){while(1){q[k+12>>2]=q[k+12>>2]|4;k=q[k+4>>2];if((l|0)!=(k|0)){continue}break}q[l+12>>2]=q[l+12>>2]|4}if(!b){continue}break}}B=B+1|0;if(B>>>0>2]){continue}break}}g=Gs(f+36|0,a+16|0,a+28|0,A);q[f+140>>2]=g;if(g){break a}g=Gs(f+76|0,a+52|0,a- -64|0,A);if(g){break a}a=q[f+32>>2];x=q[a+200>>2];y=c+416|0;z=q[a+404>>2];h=Ma(q[y>>2],z);a=h+32&-64;l=1;g:{if(!a){break g}l=1;if((a|0)==(h|0)){break g}e=bb(z,a,h);Jl(q[f+32>>2],(a|0)<(h|0)?x-((x|0)/50|0)|0:x,e,0,0);l=0}p[f+128>>1]=257;o[f+132|0]=(d|0)!=1;o[f+131|0]=(d|0)==2|(d|0)==4;o[f+130|0]=(d|1)==3;e=0;while(1){m=e;k=q[f+16>>2];d=q[f+8>>2];h:{if(!d){break h}e=q[q[f+28>>2]+4>>2];j=d;i=j;h=k;g=h;if(!m){while(1){q[h+24>>2]=0;q[h+16>>2]=0;q[h+28>>2]=q[e>>2];q[h+32>>2]=q[e+4>>2];e=e+8|0;h=h+40|0;j=j+ -1|0;if(j){continue}break h}}while(1){q[g+24>>2]=0;q[g+16>>2]=0;q[g+28>>2]=q[e+4>>2];q[g+32>>2]=q[e>>2];e=e+8|0;g=g+40|0;i=i+ -1|0;if(i){continue}break}}i=q[f+12>>2];i:{if(!i){b=0;break i}a=0;j=q[f+20>>2];while(1){j:{b=j+(a<<3)|0;if(!q[b+4>>2]){break j}b=q[b>>2];g=b;while(1){g=q[g>>2];if((b|0)==(g|0)){b=a+1|0;break i}if(q[g+28>>2]==q[b+28>>2]){continue}break}b=q[g+4>>2];e=b;while(1){h=e;while(1){e=q[e+4>>2];if((b|0)==(e|0)){break j}v=q[e+28>>2];u=q[h+28>>2];if((v|0)==(u|0)){continue}break}k:{l:{if(q[g+28>>2]<(u|0)){if((v|0)<(u|0)){break l}break k}if((v|0)<=(u|0)){break k}}while(1){q[h+16>>2]=q[h+16>>2]|64;h=q[h+4>>2];if((h|0)!=(e|0)){continue}break}}g=q[e>>2];continue}}b=0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}while(1){if(b>>>0>>0){e=w(b,40);a=e+k|0;i=q[a+16>>2];m:{if(!(i&64)){break m}h=e+k|0;e=a;while(1){e=q[e>>2];if((a|0)==(e|0)){break m}j=q[e+32>>2];g=q[h+32>>2];if((j|0)==(g|0)){continue}break}e=a;while(1){e=q[e+4>>2];if((a|0)==(e|0)){break m}h=q[e+32>>2];if((h|0)==(g|0)){continue}break}if(!((h|0)<=(g|0)|(j|0)>=(g|0))){q[a+16>>2]=i|128;b=b+1|0;continue}if((j|0)<=(g|0)|(h|0)>=(g|0)){break m}q[a+16>>2]=i|256}b=b+1|0;continue}break}h=q[f+32>>2];u=(f+8|0)+w(m,40)|0;v=u+28|0;g=q[v>>2];if(g){e=q[u+36>>2];while(1){Fs(e,h,m,f+8|0);e=e+28|0;g=g+ -1|0;if(g){continue}break}h=q[f+32>>2]}i=m?2:1;a=q[u+60>>2];e=q[a+8>>2];j=q[a>>2];a=Za(32,q[(w(m,204)+h|0)+200>>2]);k=(a|0)<30?a:30;n:{o:{p:{if(j>>>0>=2){g=q[f+8>>2];if(!g){b=0;break n}a=q[e+12>>2];h=a>>>0>g>>>0?g:a;while(1){a=q[e+28>>2];a=a>>>0>>0?a:g;if(a>>>0>h>>>0){b=q[f+16>>2];Es(v,q[e+16>>2],q[e+24>>2]);Cs(q[u+32>>2],q[u+40>>2],b+w(h,40)|0,a-h|0,k,i)}j=j+ -1|0;if(j>>>0<2){break p}e=e+16|0;g=q[f+8>>2];h=a;continue}}if((j|0)!=1){break o}}d=q[f+16>>2];b=q[f+8>>2];a=q[q[u+60>>2]+8>>2];Es(v,q[a>>2],q[a+8>>2]);Cs(q[u+32>>2],q[u+40>>2],d,b,k,i)}b=q[f+8>>2];if(!b){b=0;break n}e=q[f+16>>2];g=b;while(1){q:{if(!q[e+24>>2]){break q}a=q[e+16>>2];if(a&16){break q}q[e+16>>2]=a|16}e=e+40|0;g=g+ -1|0;if(g){continue}break}}a=q[f+16>>2];r:{if((m|0)!=1){Bs(b,a,q[f+32>>2],m);As(f+8|0,m);zs(q[f+12>>2],q[f+20>>2],q[f+32>>2],m);h=q[f+8>>2];if(!h){break r}a=q[f+28>>2];k=q[a+8>>2];d=q[a+4>>2];e=q[f+16>>2];b=m?64:32;g=0;if(!m){while(1){q[d+(g<<3)>>2]=q[e+36>>2];if(r[e+16|0]&16){a=g+k|0;o[a|0]=b|r[a|0];h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break r}}while(1){q[(d+(g<<3)|0)+4>>2]=q[e+36>>2];if(r[e+16|0]&16){a=g+k|0;o[a|0]=b|r[a|0];h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break}break r}k=b;h=a;if(b){while(1){d=r[h+20|0];s:{t:{if((d|0)==2|(d|0)==254){break t}d=r[h+21|0];if((d|0)==254){break t}if((d|0)!=2){break s}}j=q[h+16>>2];if(j&16){break s}u=q[h+28>>2];i=q[c+412>>2];u:{if(!i){break u}v=q[c+2488>>2];g=0-v|0;e=y;while(1){d=u-q[e+12>>2]|0;if((d|0)<(g|0)){break u}if(!((u|0)>(v+q[e+8>>2]|0)|((d|0)>q[c+2484>>2]?!r[c+2492|0]:0))){d=q[e+24>>2];j=j|48;q[h+16>>2]=j;q[h+36>>2]=d}e=e+32|0;i=i+ -1|0;if(i){continue}break}}i=q[c+928>>2];if(!i){break s}v=q[c+2488>>2];g=0-v|0;e=((i<<5)+c|0)+932|0;while(1){d=q[e+ -24>>2]-u|0;if((d|0)<(g|0)){break s}if(!((u|0)<(q[e+ -20>>2]-v|0)|((d|0)>=q[c+2484>>2]?!r[c+2492|0]:0))){d=q[e+ -4>>2];j=j|48;q[h+16>>2]=j;q[h+36>>2]=d}e=e+ -32|0;i=i+ -1|0;if(i){continue}break}}h=h+40|0;k=k+ -1|0;if(k){continue}break}}Bs(b,a,q[f+32>>2],1);As(f+8|0,1);zs(q[f+12>>2],q[f+20>>2],q[f+32>>2],1);h=q[f+8>>2];if(!h){break r}a=q[f+28>>2];d=q[a+8>>2];b=q[a+4>>2];g=0;e=q[f+16>>2];while(1){q[(b+(g<<3)|0)+4>>2]=q[e+36>>2];if(r[e+16|0]&16){a=d+g|0;o[a|0]=r[a|0]|64;h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break}}if(!l){Jl(q[f+32>>2],x,z,0,0)}g=0;e=1;if(!m){continue}break}}c=q[f+24>>2];b=c;a=q[f+100>>2];if(a){n[q[b+8>>2]](b,a)}q[f+104>>2]=0;q[f+96>>2]=0;q[f+100>>2]=0;a=q[f+88>>2];if(a){n[q[c+8>>2]](c,a)}q[f+88>>2]=0;a=q[f+84>>2];if(a){n[q[c+8>>2]](c,a)}q[f+84>>2]=0;q[f+92>>2]=0;q[f+76>>2]=0;q[f+80>>2]=0;a=q[f+60>>2];if(a){n[q[c+8>>2]](c,a)}q[f- -64>>2]=0;q[f+56>>2]=0;q[f+60>>2]=0;a=q[f+48>>2];if(a){n[q[c+8>>2]](c,a)}q[f+48>>2]=0;a=q[f+44>>2];if(a){n[q[c+8>>2]](c,a)}q[f+44>>2]=0;q[f+52>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;a=q[f+16>>2];if(a){n[q[c+8>>2]](c,a)}q[f+16>>2]=0;a=q[f+20>>2];if(a){n[q[c+8>>2]](c,a)}q[f+8>>2]=0;q[f+12>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0}Da=f+144|0;return g|0}function fX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-96|0;Da=e;a:{if(q[a+24>>2]==13){c=q[a+140>>2];q[e+88>>2]=q[a+136>>2];q[e+92>>2]=c;c=q[a+132>>2];q[e+80>>2]=q[a+128>>2];q[e+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+32|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[e+80>>3]=v[e+80>>3]+v[c>>3];v[e+88>>3]=v[e+88>>3]+v[d>>3];c=q[e+92>>2];q[e+72>>2]=q[e+88>>2];q[e+76>>2]=c;c=q[e+84>>2];q[e+64>>2]=q[e+80>>2];q[e+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]- -64|0}g:{if(!k){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+96|0}i:{if(!k){break i}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break i}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[e+64>>3]=v[e+64>>3]+v[c>>3];v[e+72>>3]=v[e+72>>3]+v[d>>3];c=q[e+76>>2];q[e+56>>2]=q[e+72>>2];q[e+60>>2]=c;c=q[e+68>>2];q[e+48>>2]=q[e+64>>2];q[e+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+160|0}m:{if(!k){break m}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break m}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[e+48>>3]=v[e+48>>3]+v[c>>3];v[e+56>>3]=v[e+56>>3]+v[d>>3];c=q[e+60>>2];q[e+40>>2]=q[e+56>>2];q[e+44>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}p:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+36>>2]+224|0}q:{if(!k){break q}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break q}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break q}q[d+20>>2]=0}v[e+32>>3]=v[e+32>>3]+v[c>>3];v[e+40>>3]=v[e+40>>3]+v[d>>3];c=q[e+44>>2];q[e+24>>2]=q[e+40>>2];q[e+28>>2]=c;c=q[e+36>>2];q[e+16>>2]=q[e+32>>2];q[e+20>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}r:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break r}c=q[a+36>>2]+256|0}s:{if(!k){break s}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break s}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break s}q[c+20>>2]=0}if(t[a+24>>2]<=9){o[a+20|0]=1}t:{if(j>>>0<=9){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break t}d=q[a+36>>2]+288|0}u:{if(!k){break u}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break u}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break u}q[d+20>>2]=0}v[e+16>>3]=v[e+16>>3]+v[c>>3];v[e+24>>3]=v[e+24>>3]+v[d>>3];c=q[e+28>>2];q[e+8>>2]=q[e+24>>2];q[e+12>>2]=c;c=q[e+20>>2];q[e>>2]=q[e+16>>2];q[e+4>>2]=c;if(t[a+24>>2]<=10){o[a+20|0]=1}v:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break v}c=q[a+36>>2]+320|0}w:{if(!k){break w}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break w}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break w}q[c+20>>2]=0}if(t[a+24>>2]<=11){o[a+20|0]=1}x:{if(j>>>0<=11){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break x}d=q[a+36>>2]+352|0}y:{if(!k){break y}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break y}k=q[d+24>>2];h=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[k+(f<<3)>>3]*+u[h+(f<<2)>>2];f=f+1|0;if((j|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break y}q[d+20>>2]=0}v[e>>3]=v[e>>3]+v[c>>3];v[e+8>>3]=v[e+8>>3]+v[d>>3];pb(a,b,e+80|0,e- -64|0,e+48|0);pb(a,b,e+32|0,e+16|0,e);break a}o[a+40|0]=1}Da=e+96|0}function lT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0;j=Da-48|0;Da=j;a:{b:{if(!q[b+76>>2]){break b}if((r[b+164|0]&48)!=48){break a}g=q[a+20>>2];f=q[g+24>>2];q[j+24>>2]=c;q[j+20>>2]=b;q[j+16>>2]=a;q[j+28>>2]=q[b+12>>2];h=q[g+28>>2];q[j+32>>2]=h?h:562;h=q[g+32>>2];q[j+36>>2]=h?h:563;d=b;if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}q[d+72>>2]=0;v=(f|0)==4?2:f;x=!v;y=x|(v|2)!=3;u=q[d+76>>2];f=0;m=1;c:{d:{e:{while(1){b=f+1|0;g=u>>>0>b>>>0?u:b;b=f;while(1){f:{h=b;b=b+1|0;if(b>>>0>=u>>>0){h=g;break f}if(!(1<<(s[(q[d+88>>2]+w(b,20)|0)+16>>1]&31)&7168)){continue}}break}g:{if(!y){break g}b=q[d+88>>2]+w(f,20)|0;g=b;e=b+12|0;b=q[c+72>>2];b=n[q[b+160>>2]](c,q[c+76>>2],h-f|0,g,20,e,20,q[b+24>>2])|0;if(r[d+69|0]){h:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break h}}if(!Va(d,b,b)){f=q[d+72>>2];break g}sb(q[d+92>>2]+w(q[d+80>>2],20)|0,q[d+88>>2]+w(q[d+72>>2],20)|0,w(b,20));f=q[d+80>>2]}q[d+80>>2]=b+f}f=b+q[d+72>>2]|0;q[d+72>>2]=f}i:{if(!r[d+68|0]|f>>>0>=h>>>0){break i}while(1){Ct(j+16|0,y);f=q[d+72>>2];if(f>>>0>=h>>>0){break i}if(r[d+68|0]){continue}break}}if(!r[d+68|0]|(f|0)==(u|0)){break e}b=f+1|0;g=u>>>0>b>>>0?u:b;b=g+ -1|0;while(1){j:{h=f;f=f+1|0;if(f>>>0>=u>>>0){h=b;f=g;break j}if(1<<(s[(q[d+88>>2]+w(f,20)|0)+16>>1]&31)&7168){continue}}break}e=q[j+20>>2];g=q[e+72>>2];k:{if(g>>>0>=f>>>0){break k}l=r[e+68|0];if(!l){break k}m=q[e+88>>2];b=g;l:{while(1){i=q[w(b,20)+m>>2];if(!((i&-16)==65024|i+ -917760>>>0<=239)){i=(b|0)==(h|0);b=b+1|0;if(!i){continue}break l}break}k=q[j+24>>2];m:{if(g>>>0>=h>>>0){break m}while(1){b=w(g,20)+m|0;q[b+12>>2]=0;i=b+12|0;g=q[b>>2];l=q[k+72>>2];b=q[b+20>>2];n:{if(!(b+ -917760>>>0>239?(b&-16)!=65024:0)){o:{if(n[q[l+164>>2]](k,q[k+76>>2],g,b,i,q[l+28>>2])){q[j+44>>2]=q[q[e+88>>2]+w(q[e+72>>2],20)>>2];ch(e,2,1,j+44|0);break o}b=q[e+88>>2]+w(q[e+72>>2],20)|0;q[b+12>>2]=0;g=q[b>>2];i=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i,q[b+20>>2])|0;p:{if(r[e+69|0]){q:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break q}}if(!Va(e,1,1)){b=q[e+72>>2];break p}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}b=q[e+72>>2]+1|0;q[e+72>>2]=b}b=q[e+88>>2]+w(b,20)|0;q[b+12>>2]=0;g=q[b>>2];i=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i,q[b+20>>2])|0;if(r[e+69|0]){r:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break r}}if(!Va(e,1,1)){break o}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}q[e+72>>2]=q[e+72>>2]+1}g=q[e+72>>2];if(g>>>0>=f>>>0){break n}while(1){i=q[e+88>>2]+w(g,20)|0;b=q[i>>2];if(b+ -917760>>>0>239?(b&-16)!=65024:0){break n}q[i+12>>2]=0;g=b;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i+12|0,q[b+20>>2])|0;s:{if(r[e+69|0]){t:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break t}}if(!Va(e,1,1)){g=q[e+72>>2];break s}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}g=q[e+72>>2]+1|0;q[e+72>>2]=g}if(g>>>0>>0){continue}break}break n}n[q[l+156>>2]](k,q[k+76>>2],g,i,q[l+20>>2])|0;if(r[e+69|0]){u:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break u}}if(!Va(e,1,1)){g=q[e+72>>2];break n}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}g=q[e+72>>2]+1|0;q[e+72>>2]=g}if(!r[e+68|0]|g>>>0>=h>>>0){break m}m=q[e+88>>2];continue}}if(g>>>0>=f>>>0){break k}b=q[e+88>>2]+w(g,20)|0;q[b+12>>2]=0;h=q[b>>2];f=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],h,f,q[b+20>>2])|0;if(r[e+69|0]){v:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break v}}if(!Va(e,1,1)){break k}h=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[h+4>>2];f=q[e+92>>2]+w(q[e+80>>2],20)|0;q[f>>2]=q[h>>2];q[f+4>>2]=b;q[f+16>>2]=q[h+16>>2];b=q[h+12>>2];q[f+8>>2]=q[h+8>>2];q[f+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}q[e+72>>2]=q[e+72>>2]+1;break k}if(!l){break k}while(1){Ct(j+16|0,x);if(t[e+72>>2]>=f>>>0){break k}if(r[e+68|0]){continue}break}}f=q[d+72>>2];if(f>>>0>>0){m=0;if(r[d+68|0]){continue}}break}Kc(d);break d}Kc(d);f=0;if(m&1){break c}}l=q[d+76>>2];if(!l){f=1;break c}h=0;while(1){i=q[d+88>>2];b=s[(i+w(h,20)|0)+16>>1];w:{if(b>>>0<256){b=h;break w}if(!(1<<(b&31)&7168)){b=h;break w}b=h+1|0;f=l>>>0>b>>>0?l:b;b=h;while(1){x:{b=b+1|0;if(b>>>0>=l>>>0){b=f;break x}g=s[(i+w(b,20)|0)+16>>1];if(g>>>0<256){break x}if(1<<(g&31)&7168){continue}}break}if(b-h>>>0>32){break w}Ys(d,h,b,564);f=q[q[a+20>>2]+44>>2];if(!f){break w}n[f](a,d,h,b)}f=1;h=b+1|0;if(h>>>0>>0){continue}break}}y:{if(!(r[d+32|0]&32)){break y}m=q[d+76>>2];if(m>>>0<3){break y}b=1;a=2;while(1){h=b;b=a;a=w(h,20);h=q[d+88>>2];g=a+h|0;z:{if(q[g>>2]!=847){break z}a=s[g+ -4>>1];e=1<<(a&31)&7168?a>>>8|0:0;a=s[(h+w(b,20)|0)+16>>1];if(e>>>0>(1<<(a&31)&7168?a>>>8|0:0)>>>0){break z}p[g+16>>1]=s[g+16>>1]&65471;m=q[d+76>>2]}a=b+1|0;if(a>>>0>>0){continue}break}}if(f^1|(v|1)!=3){break b}if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}l=q[d+76>>2];A:{if(r[d+69|0]){B:{if(q[d+92>>2]==q[d+88>>2]){b=q[d+80>>2];if((b|0)==q[d+72>>2]){break B}}if(!Va(d,1,1)){f=q[d+72>>2];break A}b=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[b+4>>2];h=q[d+92>>2]+w(q[d+80>>2],20)|0;q[h>>2]=q[b>>2];q[h+4>>2]=a;q[h+16>>2]=q[b+16>>2];a=q[b+12>>2];q[h+8>>2]=q[b+8>>2];q[h+12>>2]=a;b=q[d+80>>2]}q[d+80>>2]=b+1}f=q[d+72>>2]+1|0;q[d+72>>2]=f}C:{if(f>>>0>=l>>>0){break C}b=0;while(1){if(!r[d+68|0]){break C}D:{E:{g=q[d+88>>2]+w(f,20)|0;f=s[g+16>>1];if(!(1<<(f&31)&7168)){break E}i=q[d+92>>2];h=q[d+80>>2];a=h+ -1|0;if((a|0)!=(b|0)){a=s[(i+w(h?a:0,20)|0)+16>>1];if((1<<(a&31)&7168?a>>>8|0:0)>>>0>=f>>>8>>>0){break E}}h=w(b,20);if(!n[q[j+36>>2]](j+16|0,q[h+i>>2],q[g>>2],j+44|0)){break E}q[j+12>>2]=0;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],q[j+44>>2],j+12|0,q[a+20>>2])){break E}F:{if(r[d+69|0]){G:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break G}}if(!Va(d,1,1)){break F}f=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[f+4>>2];g=q[d+92>>2]+w(q[d+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=a;q[g+16>>2]=q[f+16>>2];a=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=a;f=q[d+80>>2]}q[d+80>>2]=f+1}q[d+72>>2]=q[d+72>>2]+1}if(r[d+68|0]!=1){break b}gf(d,b,q[d+80>>2]);q[d+80>>2]=q[d+80>>2]+ -1;a=h+q[d+92>>2]|0;q[a>>2]=q[j+44>>2];q[a+12>>2]=q[j+12>>2];Gf(h+q[d+92>>2]|0,d);break D}H:{if(r[d+69|0]){I:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break I}}if(!Va(d,1,1)){break H}h=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[h+4>>2];f=q[d+92>>2]+w(q[d+80>>2],20)|0;q[f>>2]=q[h>>2];q[f+4>>2]=a;q[f+16>>2]=q[h+16>>2];a=q[h+12>>2];q[f+8>>2]=q[h+8>>2];q[f+12>>2]=a;f=q[d+80>>2]}q[d+80>>2]=f+1}q[d+72>>2]=q[d+72>>2]+1}a=q[d+80>>2];h=a+ -1|0;a=s[(q[d+92>>2]+w(a?h:0,20)|0)+16>>1];b=a>>>0<256?h:1<<(a&31)&7168?b:h}f=q[d+72>>2];if(f>>>0>>0){continue}break}}Kc(d)}Da=j+48|0;return}I(270204,270178,170,270193);F()}function GV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;k=Da-32|0;Da=k;q[k+20>>2]=0;q[k+12>>2]=0;q[k+16>>2]=0;q[k+24>>2]=q[b+48>>2]+(q[c>>2]^-1);a:{b:{c:{d:{e:{if(a>>>0>293){break e}f:{switch(a-5|0){default:d=q[b+24>>2];g:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break g}h=v[q[b+36>>2]+(d<<3)>>3];break g}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}h:{if(y(h)<2147483648){e=~~h;break h}e=-2147483648}if((e|0)<=-1){o[b+20|0]=1;e=0}d=a+ -1|0;if(d>>>0<=3){break d}d=0;i=a+ -256|0;if(i>>>0>22){break c}i:{switch(i-1|0){default:d=2;break c;case 20:d=6;break c;case 21:break i;case 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:case 16:case 17:case 18:case 19:break c}}d=8;break c;case 0:case 8:case 9:case 252:case 253:case 254:case 255:case 256:case 257:case 259:case 271:case 274:case 282:case 283:case 284:case 286:q[b+24>>2]=0;break b;case 285:e=c;d=q[b+24>>2];j:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break j}h=v[q[b+36>>2]+(d<<3)>>3];break j}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}k:{if(y(h)<2147483648){d=~~h;break k}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+76>>2]=d;q[b+24>>2]=0;break b;case 281:i=c;d=q[b+24>>2];l:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(e<<3)>>3];break l}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+72>>2]=d;i=c- -64|0;n:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i>>2]=d;e=c;d=q[b+24>>2];p:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break p}h=v[q[b+36>>2]+(d<<3)>>3];break p}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}q:{if(y(h)<2147483648){d=~~h;break q}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+60>>2]=d;q[b+24>>2]=0;break b;case 11:d=q[b+24>>2];r:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break r}h=v[q[b+36>>2]+(d<<3)>>3];break r}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}s:{if(y(h)<2147483648){d=~~h;break s}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;q[c+80>>2]=0;q[b+24>>2]=0;break a}q[c+80>>2]=d;q[b+24>>2]=0;if(d){break b}break a;case 10:d=q[b+24>>2];t:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break t}h=v[q[b+36>>2]+(d<<3)>>3];break t}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}u:{if(y(h)<2147483648){d=~~h;break u}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;q[c+84>>2]=0;q[b+24>>2]=0;break a}q[c+84>>2]=d;q[b+24>>2]=0;if(d){break b}break a;case 288:e=c;d=q[b+24>>2];v:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break v}h=v[q[b+36>>2]+(d<<3)>>3];break v}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}w:{if(y(h)<2147483648){d=~~h;break w}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+88>>2]=d;q[b+24>>2]=0;break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 12: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: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 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 258:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 275:case 276:case 277:case 278:case 279:case 280:case 287:break e;case 13:break f}}i=c;d=q[b+24>>2];x:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break x}h=v[q[b+36>>2]+(e<<3)>>3];break x}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}y:{if(y(h)<2147483648){d=~~h;break y}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+92>>2]=d;z:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break z}h=v[q[b+36>>2]+(d<<3)>>3];break z}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}A:{if(y(h)<2147483648){d=~~h;break A}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+96>>2]=d;q[b+24>>2]=0;break b}q[b+48>>2]=q[b+12>>2];hu(a,b,c);if(q[b+24>>2]){break a}break b}B:{switch(d-1|0){case 2:d=5;break c;case 1:d=4;break c;case 0:d=3;break c;default:break B}}d=1}q[((d<<2)+c|0)+24>>2]=e;q[b+24>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}DV(c,a,b,k+8|0)}Da=k+32|0}function JM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,G=0,H=0;d=Da-384|0;Da=d;a:{if(!!(c<1.9)){q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if(!!(c<.5)){r=c*.085*c*c;j=c*.5+r*-4;c=0;f=0;break a}g=.5/c;c=ep(-g);j=c*E(g/3.141592653589793);g=c*c;c=c*g;r=j*c;e=g*c;c=r*e;g=c*(g*e);f=0;break a}i=d;b:{if(!!(c<6.693)){q[d+8>>2]=0;k=d;f=1;c:{if(!!(c<2.8)){break c}f=2;if(!!(c<4.4)){break c}f=3}q[k+12>>2]=f;r=1;s=f+ -1|0;break b}Wf((c+.7)/26.5,d+8|0);h=q[d+8>>2]+3>>1;q[d+8>>2]=h;r=sG(+(h|0)*-2);c=r*c;if(!!(c>2]=0;s=0;break b}if(!!(c>2]=1;f=1;s=1;break b}q[d+12>>2]=2;f=2;s=2}q[i+16>>2]=s;Na(d+304|0,0,80);g=r*r;u=g*273;j=r*g;A=(r*-126+17+u+j*-164)/12096;e=A+0;x=(r*-924+486+g*-546+j*984)/12096;C=(r*2520+5204+g*1092+j*3280)/12096;z=C*0;t=(r*-210+2943-u+j*-2460)/12096;j=z+t*0;v[d+320>>3]=A*e+(x*0+j);g=x+0;r=A*g;v[d+312>>3]=r+(j+x*e);j=t+0;u=A*j;v[d+304>>3]=u+(x*g+(z+t*e));e=C+0;v[d+296>>3]=A*e+(x*j+(C*A+t*g));g=A+t;v[d+288>>3]=u+(x*e+(C*x+t*g));j=r+(x*g+(C*t+t*(x+C)));v[d+280>>3]=j;g=A*(A+A)+(x*(x+x)+(C*C+t*(t+t)));v[d+272>>3]=g;D=s<<4;d:{if((f|0)<1){break d}h=f<<1;l=((h|0)>1?h:1)+5|0;o=6;while(1){i=o+1|0;h=0;while(1){e=j;j=g;e=e+(g+g);k=h+1|0;g=v[(d+272|0)+(k<<3)>>3];v[(d+272|0)+(h<<3)>>3]=(e+g)*.25;m=(h|0)!=(i|0);h=k;if(m){continue}break}if((l|0)==(o|0)){break d}g=v[d+272>>3];j=v[d+280>>3];o=i;continue}}c=.5/c;g=E(c/3.141592653589793);v[d+160>>3]=g;r=ep(-c);j=r*g;v[d+168>>3]=j;m=q[D+438204>>2];h=m+f|0;o=h+3|0;if((h|0)>=-1){c=r*r;l=2;while(1){r=c*r;j=j*r;v[(d+160|0)+(l<<3)>>3]=j;i=(l|0)!=(o|0);l=l+1|0;if(i){continue}break}}l=0;Na(((o<<3)+d|0)+168|0,0,72-(h<<3)|0);if((h|0)>=0){g=v[d+160>>3];c=v[d+184>>3];j=v[d+168>>3];e=j;z=v[d+176>>3];r=z;while(1){u=e;e=g;g=j;j=z;o=(d+160|0)+(l<<3)|0;z=v[o+24>>3];v[o>>3]=C*e+t*(u+g)+x*(j+r)+A*(c+z);o=(h|0)!=(l|0);l=l+1|0;c=r;r=u;if(o){continue}break}}o=0;if((f|0)>0){while(1){i=h+ -1|0;if((h|0)>=1){h=0;j=v[d+160>>3];g=v[d+168>>3];while(1){c=g;g=j;k=h+1|0;j=v[(d+160|0)+(k<<3)>>3];v[(d+160|0)+(h<<3)>>3]=(c+(g+g)+j)*.25;l=(h|0)!=(i|0);h=k;if(l){continue}break}}h=i;o=o+1|0;if((o|0)!=(f|0)){continue}break}}h=q[D+438192>>2];g=v[(d+272|0)+(h<<3)>>3];j=v[d+272>>3];c=j*3;v[d+32>>3]=v[(d+272|0)+(h<<4)>>3]+c-g*4;r=j-g;f=s<<4;o=q[f+438196>>2];u=v[(d+272|0)+(o<<3)>>3];g=r-u;g=v[(d+272|0)+(h+o<<3)>>3]+v[(d+272|0)+(o-h<<3)>>3]+(g+g);v[d+64>>3]=g;v[d+40>>3]=g;i=q[f+438200>>2];e=v[(d+272|0)+(i<<3)>>3];g=r-e;g=v[(d+272|0)+(h+i<<3)>>3]+v[(d+272|0)+(i-h<<3)>>3]+(g+g);v[d+96>>3]=g;v[d+48>>3]=g;z=v[(d+272|0)+(h+m<<3)>>3];x=v[(d+272|0)+(m-h<<3)>>3];g=v[(d+272|0)+(m<<3)>>3];v[d+72>>3]=c+v[(d+272|0)+(o<<4)>>3]-u*4;u=j-u;t=u-e;t=t+t+(v[(d+272|0)+(i+o<<3)>>3]+v[(d+272|0)+(i-o<<3)>>3]);v[d+104>>3]=t;v[d+80>>3]=t;t=u-g;t=t+t+(v[(d+272|0)+(o+m<<3)>>3]+v[(d+272|0)+(m-o<<3)>>3]);v[d+136>>3]=t;v[d+88>>3]=t;v[d+112>>3]=c+v[(d+272|0)+(i<<4)>>3]-e*4;t=j-e;e=t-g;e=e+e+(v[(d+272|0)+(i+m<<3)>>3]+v[(d+272|0)+(m-i<<3)>>3]);v[d+144>>3]=e;v[d+120>>3]=e;e=r-g;e=z+x+(e+e);v[d+56>>3]=e;v[d+128>>3]=e;v[d+152>>3]=c+v[(d+272|0)+(m<<4)>>3]-g*4;c=v[d+32>>3];q[d+32>>2]=0;q[d+36>>2]=1072693248;c=1/c;e=c*v[d+64>>3];v[d+64>>3]=0-e;v[d+72>>3]=v[d+72>>3]-e*v[d+40>>3];v[d+80>>3]=v[d+80>>3]-e*v[d+48>>3];v[d+88>>3]=v[d+88>>3]-e*v[d+56>>3];e=c*v[d+96>>3];v[d+96>>3]=0-e;v[d+104>>3]=v[d+104>>3]-e*v[d+40>>3];v[d+112>>3]=v[d+112>>3]-e*v[d+48>>3];v[d+120>>3]=v[d+120>>3]-e*v[d+56>>3];e=v[d+128>>3];q[d+128>>2]=0;q[d+132>>2]=0;e=c*e;v[d+128>>3]=0-e*v[d+32>>3];v[d+136>>3]=v[d+136>>3]-e*v[d+40>>3];v[d+144>>3]=v[d+144>>3]-e*v[d+48>>3];v[d+152>>3]=v[d+152>>3]-e*v[d+56>>3];v[d+32>>3]=c*v[d+32>>3];v[d+40>>3]=c*v[d+40>>3];v[d+48>>3]=c*v[d+48>>3];v[d+56>>3]=c*v[d+56>>3];D=d+96|0;G=d+128|0;H=d- -64|0;l=1;while(1){f=(d+32|0)+(l<<5)|0;s=l<<3;k=f+s|0;c=v[k>>3];q[k>>2]=0;q[k+4>>2]=1072693248;k=s+(d+32|0)|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;c=1/c;e=e*c;v[d+32>>3]=v[d+32>>3]-e*v[f>>3];v[d+40>>3]=v[d+40>>3]-e*v[f+8>>3];v[d+48>>3]=v[d+48>>3]-e*v[f+16>>3];v[d+56>>3]=v[d+56>>3]-e*v[f+24>>3];e:{f:{if((l|0)!=1){k=s+H|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;e=c*e;v[d+64>>3]=v[d+64>>3]-e*v[f>>3];v[d+72>>3]=v[d+72>>3]-e*v[f+8>>3];v[d+80>>3]=v[d+80>>3]-e*v[f+16>>3];v[d+88>>3]=v[d+88>>3]-e*v[f+24>>3];if((l|0)==2){break f}}k=s+D|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;e=c*e;v[d+96>>3]=v[d+96>>3]-e*v[f>>3];v[d+104>>3]=v[d+104>>3]-e*v[f+8>>3];v[d+112>>3]=v[d+112>>3]-e*v[f+16>>3];v[d+120>>3]=v[d+120>>3]-e*v[f+24>>3];if((l|0)==3){break e}}s=s+G|0;e=v[s>>3];q[s>>2]=0;q[s+4>>2]=0;e=c*e;v[d+128>>3]=v[d+128>>3]-e*v[f>>3];v[d+136>>3]=v[d+136>>3]-e*v[f+8>>3];v[d+144>>3]=v[d+144>>3]-e*v[f+16>>3];v[d+152>>3]=v[d+152>>3]-e*v[f+24>>3]}v[f>>3]=c*v[f>>3];v[f+8>>3]=c*v[f+8>>3];v[f+16>>3]=c*v[f+16>>3];v[f+24>>3]=c*v[f+24>>3];l=l+1|0;if((l|0)!=4){continue}break}c=v[d+160>>3];e=r-c+v[(d+160|0)+(h<<3)>>3];u=u-c+v[(d+160|0)+(o<<3)>>3];z=t-c+v[(d+160|0)+(i<<3)>>3];j=j-g-c+v[(d+160|0)+(m<<3)>>3];g=B(e*v[d+128>>3]+0+u*v[d+136>>3]+z*v[d+144>>3]+j*v[d+152>>3],0);c=B(e*v[d+96>>3]+0+u*v[d+104>>3]+z*v[d+112>>3]+j*v[d+120>>3],0);r=B(e*v[d+64>>3]+0+u*v[d+72>>3]+z*v[d+80>>3]+j*v[d+88>>3],0);j=B(e*v[d+32>>3]+0+u*v[d+40>>3]+z*v[d+48>>3]+j*v[d+56>>3],0);o=q[d+8>>2];l=q[d+16>>2];f=q[d+12>>2]}i=d;g=g*65536+.5;g:{if(y(g)<2147483648){k=~~g;break g}k=-2147483648}p[i+26>>1]=k;i=d;c=c*65536+.5;h:{if(y(c)<2147483648){k=~~c;break h}k=-2147483648}p[i+24>>1]=k;i=d;c=r*65536+.5;i:{if(y(c)<2147483648){k=~~c;break i}k=-2147483648}p[i+22>>1]=k;i=d;c=j*65536+.5;j:{if(y(c)<2147483648){k=~~c;break j}k=-2147483648}p[i+20>>1]=k;m=0;f=((f+l<<1)+17<>2]+ -1;s=-1<>2];D=(s&f+l)+ -4|0;h=q[b+12>>2];G=(s&f+h)+ -4|0;f=w((i+D|0)+ -1&0-i,G);k:{s=oe(i<<1,f<<2,0);if(s){n[q[a+36>>2]](s,q[b+20>>2],q[b+16>>2],l,h);q[d+36>>2]=s+(f<<1);q[d+32>>2]=s;l:{if((o|0)<1){f=s;break l}f=0;k=s;while(1){m=m^1;i=q[(d+32|0)+(m<<2)>>2];n[q[a+48>>2]](i,k,l,h);h=h+5>>1;k=i;f=f+1|0;if((o|0)!=(f|0)){continue}break}k=0;while(1){m=m^1;f=q[(d+32|0)+(m<<2)>>2];n[q[a+44>>2]](f,i,l,h);l=l+5>>1;i=f;k=k+1|0;if((k|0)!=(o|0)){continue}break}}k=d+20|0;i=q[d+12>>2];m:{if(!i){o=f;break m}m=m^1;o=q[(d+32|0)+(m<<2)>>2];n[q[((i<<2)+a|0)+56>>2]](o,f,l,h);l=(i<<1)+l|0}m=m^1;n[q[((q[d+16>>2]<<2)+a|0)+84>>2]](q[(d+32|0)+(m<<2)>>2],o,l,h,k);l=((q[d+16>>2]<<1)+l|0)+8|0;if(q[d+8>>2]>=1){i=0;while(1){f=m<<2;m=m^1;n[q[a+52>>2]](q[(d+32|0)+(m<<2)>>2],q[f+(d+32|0)>>2],l,h);l=(l<<1)+4|0;i=i+1|0;if((i|0)>2]){continue}break}}f=q[d+12>>2];if(f){o=m<<2;m=m^1;n[q[((f<<2)+a|0)+68>>2]](q[(d+32|0)+(m<<2)>>2],q[o+(d+32|0)>>2],l,h);h=(q[d+12>>2]<<1)+h|0}i=m^1;n[q[((q[d+16>>2]<<2)+a|0)+96>>2]](q[(d+32|0)+(i<<2)>>2],q[(d+32|0)+(m<<2)>>2],l,h,k);h=((q[d+16>>2]<<1)+h|0)+8|0;if(q[d+8>>2]>=1){m=0;while(1){f=i<<2;i=i^1;n[q[a+56>>2]](q[(d+32|0)+(i<<2)>>2],q[f+(d+32|0)>>2],l,h);h=(h<<1)+4|0;m=m+1|0;if((m|0)>2]){continue}break}}if((l|0)!=(D|0)|(h|0)!=(G|0)){break k}if(eN(a,b,D,G)){f=((q[d+12>>2]+q[d+16>>2]|0)+8<>2])+ -4|0;q[b>>2]=q[b>>2]-f;q[b+4>>2]=q[b+4>>2]-f;n[q[a+40>>2]](q[b+20>>2],q[b+16>>2],q[(d+32|0)+(i<<2)>>2],D,G)}gd(s)}Da=d+384|0;return}I(438096,438121,898,438132);F()}function De(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=Da-80|0;Da=g;n=q[a>>2];a:{if(f){break a}h=q[a+4>>2];if(r[h+12|0]){break a}j=q[d>>2];q[g+68>>2]=0;q[g+72>>2]=0;q[g+60>>2]=0;q[g+64>>2]=0;q[g+52>>2]=0;q[g+56>>2]=0;q[g+48>>2]=j;De(h,b,c,g+48|0,e,1)}b:{c:{if(r[d+4|0]){break c}c=q[c+20>>2]+q[b+20>>2]|0;d:{if(c>>>0>=97){b=q[d>>2];if(!b|q[b>>2]){break d}q[b>>2]=18;break d}q[d+8>>2]=c;p[d+4>>1]=257;h=c+7>>>3|0;q[d+12>>2]=h;if(!c){break c}j=-1<<(0-c&7);if(h){c=0;while(1){o[(c+d|0)+16|0]=255;c=c+1|0;h=q[d+12>>2];if(c>>>0>>0){continue}break}c=h+ -1|0}else{c=-1}c=c+d|0;o[c+16|0]=j&r[c+16|0];if(r[d+4|0]){break c}}if(!r[n+8|0]){break b}q[q[d>>2]>>2]=0;o[a+13|0]=0;break b}q[a+20>>2]=0;q[a+24>>2]=0;q[g+72>>2]=q[d+24>>2];h=q[d+20>>2];v=g- -64|0;c=v;q[c>>2]=q[d+16>>2];q[c+4>>2]=h;c=q[d+12>>2];q[g+56>>2]=q[d+8>>2];q[g+60>>2]=c;c=q[d+4>>2];q[g+48>>2]=q[d>>2];q[g+52>>2]=c;A=q[b+20>>2];if(A>>>0>t[d+8>>2]){break b}if(r[n+249|0]){q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;Vg(a,n+288|0,g+24|0);Vg(a,g+24|0,n+268|0)}e:{f:{if(A){j=v;y=128;while(1){g:{if(!(r[j|0]&y)){break g}k=q[a+16>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;h=q[b+20>>2];c=l;h:{if(h>>>0>c>>>0){break h}c=0;i=q[b+4>>2];if(!i|q[i>>2]){break h}q[i>>2]=130}i:{j:{k:{l:{s=q[b+28>>2]+w(q[b+8>>2],c)|0;i=q[s+8>>2];c=q[s+4>>2];m=i-c|0;if((m|0)!=-1310720){if((m|0)==-1376256){u=1;break l}if((m|0)<=-1){u=4;break l}u=4;q[g+24>>2]=4;q[g+32>>2]=c;i=c;break k}q[g+40>>2]=k;q[g+32>>2]=e;u=0;q[g+24>>2]=0;q[g+28>>2]=l;m=e;break j}q[g+24>>2]=u;q[g+32>>2]=i}q[g+40>>2]=k;q[g+28>>2]=l;m=e+i|0;q[g+32>>2]=m;if(!r[s|0]){break j}z=q[s+12>>2];u=u|16;q[g+24>>2]=u;q[g+36>>2]=z;break i}z=Ma(m,k);q[g+36>>2]=z;h=q[b+20>>2]}i=q[a+16>>2];q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;c=l;m:{if(h>>>0>c>>>0){break m}c=0;h=q[b+4>>2];if(!h|q[h>>2]){break m}q[h>>2]=130}n:{o:{p:{q:{r:{x=q[b+28>>2]+w(q[b+8>>2],c)|0;c=q[x+8>>2];h=q[x+4>>2];k=c-h|0;if((k|0)!=-1310720){if((k|0)!=-1376256){break r}q[g+16>>2]=i;q[g+8>>2]=e;s=0;q[g>>2]=0;q[g+4>>2]=l;k=e;break o}s=2;break q}if((k|0)<=-1){s=8;break q}s=8;q[g>>2]=8;q[g+8>>2]=c;h=c;break p}q[g>>2]=s;q[g+8>>2]=h}c=q[n+232>>2];q[g+16>>2]=i;q[g+4>>2]=l;k=((c<<1)+h|0)+e|0;q[g+8>>2]=k;if(!r[x|0]){break o}x=q[x+16>>2];s=s|16;q[g>>2]=s;break n}x=Ma(k,i)}q[g+12>>2]=x;s:{if((s|u)&16){break s}B=q[n+244>>2];if(!B){break g}h=q[n+260>>2];i=s&10;t:{u:{v:{if(!(u&5)){c=0;if(!i){break g}while(1){i=n+w(c,20)|0;w:{if(r[i+324|0]){break w}C=q[i+308>>2];if((C-h|0)>(k|0)){break w}if((k|0)<=(h+q[i+312>>2]|0)){break v}}c=c+1|0;if((B|0)!=(c|0)){continue}break}break g}c=0;if(!i){while(1){i=n+w(c,20)|0;if(!(!r[i+324|0]|(q[i+308>>2]-h|0)>(m|0))){i=q[i+312>>2];if((m|0)<=(h+i|0)){break u}}c=c+1|0;if((B|0)!=(c|0)){continue}break g}}while(1){i=n+w(c,20)|0;C=q[i+308>>2];D=C-h|0;x:{if(r[i+324|0]){if((D|0)>(m|0)){break x}i=q[i+312>>2];if((m|0)>(h+i|0)){break x}break u}if((D|0)>(k|0)){break x}if((k|0)<=(h+q[i+312>>2]|0)){break v}}c=c+1|0;if((B|0)!=(c|0)){continue}break}break g}h=q[(n+w(c,20)|0)+320>>2];y:{if(r[n+248|0]){break y}i=x+32768&-65536;h=i;if((k-C|0)>2]){break y}c=q[(n+w(c,20)|0)+320>>2]+65536|0;h=(i|0)>(c|0)?i:c}h=h-x|0;break t}h=q[(n+w(c,20)|0)+320>>2]-z|0;if(r[n+248|0]){break t}h=z+32768&-65536;if((i-m|0)>=q[n+256>>2]){c=q[(n+w(c,20)|0)+320>>2]+ -65536|0;h=(h|0)<(c|0)?h:c}h=h-z|0}c=h;if(u){q[g+24>>2]=u|16;q[g+36>>2]=c+z}if(!s){break s}q[g>>2]=s|16;q[g+12>>2]=c+x}Vg(a,g+24|0,g);o[j|0]=r[j|0]&(y^-1)}c=(l&7)==7;j=c?j+1|0:j;y=c?128:y>>>1&127;l=l+1|0;if((A|0)!=(l|0)){continue}break}if(f){break f}l=128;c=0;while(1){if(r[v|0]&l){k=q[a+16>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;j=c;h=q[b+20>>2];z:{if(h>>>0>c>>>0){break z}j=0;i=q[b+4>>2];if(!i|q[i>>2]){break z}q[i>>2]=130}m=q[b+28>>2]+w(q[b+8>>2],j)|0;i=q[m+8>>2];j=q[m+4>>2];u=i-j|0;A:{B:{if((u|0)!=-1310720){C:{if((u|0)==-1376256){q[g+24>>2]=1;q[g+32>>2]=i;j=17;break C}if((u|0)<=-1){q[g+24>>2]=4;q[g+32>>2]=i;j=20;break C}q[g+24>>2]=4;q[g+32>>2]=j;i=j;j=20}q[g+40>>2]=k;q[g+28>>2]=c;i=e+i|0;q[g+32>>2]=i;if(!r[m|0]){break B}i=q[m+12>>2];q[g+24>>2]=j;q[g+36>>2]=i;break A}q[g+40>>2]=k;q[g+32>>2]=e;q[g+24>>2]=0;q[g+28>>2]=c;i=e}E=g,F=Ma(i,k),q[E+36>>2]=F;h=q[b+20>>2]}i=q[a+16>>2];q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;j=c;D:{if(h>>>0>c>>>0){break D}j=0;h=q[b+4>>2];if(!h|q[h>>2]){break D}q[h>>2]=130}E:{F:{G:{H:{k=q[b+28>>2]+w(q[b+8>>2],j)|0;j=q[k+8>>2];h=q[k+4>>2];m=j-h|0;if((m|0)!=-1310720){if((m|0)!=-1376256){break H}q[g+16>>2]=i;q[g+8>>2]=e;q[g>>2]=0;q[g+4>>2]=c;h=e;break F}q[g>>2]=2;q[g+8>>2]=h;j=18;break G}if((m|0)<=-1){q[g>>2]=8;q[g+8>>2]=h;j=24;break G}q[g>>2]=8;q[g+8>>2]=j;h=j;j=24}m=q[n+232>>2];q[g+16>>2]=i;q[g+4>>2]=c;h=((m<<1)+h|0)+e|0;q[g+8>>2]=h;if(!r[k|0]){break F}h=q[k+16>>2];q[g>>2]=j;q[g+12>>2]=h;break E}E=g,F=Ma(h,i),q[E+12>>2]=F}Vg(a,g+24|0,g)}h=(c&7)==7;v=h?v+1|0:v;l=h?128:l>>>1&127;c=c+1|0;if((A|0)!=(c|0)){continue}break}break e}if(!f){break e}}c=q[a+20>>2];if(q[(w(c,20)+a|0)+16>>2]>-1?!(!c|q[a+36>>2]>0):0){break e}q[g+36>>2]=0;q[g+28>>2]=0;q[g+32>>2]=0;q[g+24>>2]=49;c=q[a+16>>2];q[g+8>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g>>2]=0;q[g+4>>2]=0;q[g+40>>2]=c;Vg(a,g+24|0,g)}q[q[a+8>>2]+20>>2]=0;y=q[a+20>>2];I:{if(!y){break I}c=0;while(1){i=c+1|0;n=w(c,20);m=n+a|0;e=q[m+28>>2];u=e&12;l=u?i:c;J:{if(e&16){break J}e=a+28|0;s=e+n|0;k=q[s+12>>2];h=k&65535;v=h?65536-h|0:0;z=e+w(l,20)|0;x=q[z+12>>2];j=x&65535;e=j?65536-j|0:0;e=v>>>0>>0?v:e;v=j>>>0>h>>>0?h:j;j=0-v|0;K:{L:{if(l>>>0>>0){y=w(l+1|0,20)+a|0;if(q[y+40>>2]<((e+x|0)+32768|0)){break L}}if(!(!c|q[m+20>>2]<=((k-v|0)+ -32768|0))){h=e;break K}h=(v|0)<(e|0)?j:e;break K}M:{if(c){h=0;if(q[m+20>>2]>((k-v|0)+ -32768|0)){break M}}h=j;if((e|0)<(v|0)){break M}break K}if(r[y+28|0]&16){break K}q[g+24>>2]=l;q[g+28>>2]=e-h;bs(q[a+8>>2],g+24|0);k=q[s+12>>2]}q[s+12>>2]=h+k;if(!u){break J}q[z+12>>2]=q[z+12>>2]+h}N:{if(!c){break N}e=q[m+36>>2];h=q[m+16>>2];if((e|0)==(h|0)){break N}j=a+28|0;k=j+w(c+ -1|0,20)|0;E=k,F=Za(q[(j+n|0)+12>>2]-q[k+12>>2]|0,e-h|0),q[E+16>>2]=F}if(u){c=w(l,20);e=c+a|0;h=q[e+36>>2];e=q[e+16>>2];if((h|0)!=(e|0)){j=a+28|0;l=j+w(l+ -1|0,20)|0;E=l,F=Za(q[(c+j|0)+12>>2]-q[l+12>>2]|0,h-e|0),q[E+16>>2]=F}c=i}c=c+1|0;y=q[a+20>>2];if(c>>>0>>0){continue}break}j=q[a+8>>2];e=q[j+20>>2];if(!e){break I}i=q[j+8>>2];k=q[j+28>>2];c=e;while(1){c=c+ -1|0;l=c;O:{if(e>>>0>c>>>0){break O}l=0;h=q[j+4>>2];if(!h|q[h>>2]){break O}q[h>>2]=130}l=k+w(i,l)|0;h=w(q[l>>2],20)+a|0;l=q[l+4>>2];m=l+q[h+40>>2]|0;P:{if(q[h+60>>2]<(m+32768|0)){break P}q[h+40>>2]=m;if(!(r[h+28|0]&12)){break P}q[h+20>>2]=l+q[h+20>>2]}if(c){continue}break}}Q:{if(f){break Q}j=q[a+20>>2];if(!j){break Q}c=0;while(1){e=w(c,20)+a|0;i=e;f=q[i+28>>2];if(!(f&32)){j=q[e+32>>2];R:{if(t[b+20>>2]>j>>>0){break R}j=0;h=q[b+4>>2];if(!h|q[h>>2]){break R}q[h>>2]=130;f=q[i+28>>2]}i=f&10?16:12;f=q[b+28>>2]+w(q[b+8>>2],j)|0;q[i+f>>2]=q[e+40>>2];o[f|0]=1;j=q[a+20>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}o[a+12|0]=1;o[d+5|0]=0}Da=g+80|0}function Zn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,u=0,v=0,x=0,y=0,z=0,A=0;i=Da-48|0;Da=i;d=Xa(b,c+d|0);a:{if(d){break a}d=mb(b,e);if(d){break a}f=q[b+32>>2];j=f+e|0;if(!(!e|o[f|0]>-1)){n=q[a+16>>2];l=q[a+28>>2];q[i>>2]=0;b:{c:{if((e|0)<1){break c}g=r[f|0];if(!(g&128)){break c}d=f+1|0;h=q[l>>2];d:{if(!(g&64)){f=d;break d}if((e|0)<2){break c}f=f+2|0;d=r[d|0];if(d){while(1){e=f+2|0;if(e>>>0>j>>>0){break c}f=e+r[f|0]|0;if(f>>>0>j>>>0){break c}d=d+ -1|0;if(d){continue}break}}q[i>>2]=0}v=g&63;d=v+n|0;e=q[a+20>>2];e:{if(d>>>0<=e>>>0){e=q[a+24>>2];break e}g=d+3&-4;if(g>>>0>=65){break c}e=Oa(h,24,e,g,q[a+24>>2],i);q[a+24>>2]=e;d=q[i>>2];if(d){break b}q[a+20>>2]=g}if(!v){d=0;break b}e=w(n,24)+e|0;while(1){g=f+1|0;if(g>>>0>j>>>0){break c}h=r[f|0];q[e>>2]=65536;if(h&16){g=f+3|0;if(g>>>0>j>>>0){break c}d=r[f+1|0]|r[f+2|0]<<8;q[e>>2]=(d<<24|d<<8&16711680)>>16<<4}q[e+4>>2]=65536;f:{if(!(h&32)){f=g;break f}f=g+2|0;if(f>>>0>j>>>0){break c}d=r[g|0]|r[g+1|0]<<8;q[e+4>>2]=(d<<24|d<<8&16711680)>>16<<4}k=0;d=(h&3)+ -1|0;g:{if(d>>>0>1){g=f;d=0;break g}if(d-1){g=f+2|0;if(g>>>0>j>>>0){break c}d=r[f|0]|r[f+1|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g}g=f+1|0;if(g>>>0>j>>>0){break c}d=o[f|0]}f=(h>>>2&3)+ -1|0;h:{if(f>>>0>1){f=g;break h}if(f-1){f=g+2|0;if(f>>>0>j>>>0){break c}g=r[g|0]|r[g+1|0]<<8;k=(g<<24|g<<8&16711680)>>16;break h}f=g+1|0;if(f>>>0>j>>>0){break c}k=o[g|0]}q[e+12>>2]=k;q[e+8>>2]=d;d=e;i:{if(h&64){g=f+2|0;if(g>>>0>j>>>0){break c}f=r[f+1|0]|r[f|0]<<8;break i}g=f+1|0;if(g>>>0>j>>>0){break c}f=r[f|0]}q[d+20>>2]=f;j:{if(h&128){f=g+3|0;if(f>>>0>j>>>0){break c}k=2;d=r[g+1|0]<<8|r[g|0]<<16;break j}f=g+2|0;if(f>>>0>j>>>0){break c}k=1;d=r[g|0]<<8}q[e+16>>2]=d|r[g+k|0];q[a+16>>2]=q[a+16>>2]+1;e=e+24|0;d=0;u=u+1|0;if((v|0)!=(u|0)){continue}break}break b}d=8;q[i>>2]=8}jb(b);if(d){break a}j=q[a+16>>2]-n|0;if(!j){d=0;break a}k=0;while(1){f=p[l+22>>1];g=w(k,24);e=w(n,24);d=g+(e+q[a+24>>2]|0)|0;d=Zn(a,b,c,q[d+16>>2],q[d+20>>2]);if(d){break a}h=p[l+22>>1]-f|0;e=g+(e+q[a+24>>2]|0)|0;g=q[e>>2];k:{if(!(q[e+4>>2]==65536?(g|0)==65536:0)){if((h|0)<1){break k}d=q[l+24>>2]+(f<<3)|0;f=0;while(1){z=d,A=Ma(q[d>>2],g)+q[e+8>>2]|0,q[z>>2]=A;z=d,A=Ma(q[d+4>>2],q[e+4>>2])+q[e+12>>2]|0,q[z+4>>2]=A;f=f+1|0;if((h|0)==(f|0)){break k}d=d+8|0;g=q[e>>2];continue}}if((h|0)<1){break k}d=q[l+24>>2]+(f<<3)|0;g=q[e+12>>2];f=q[e+8>>2];e=0;while(1){q[d>>2]=f+q[d>>2];q[d+4>>2]=g+q[d+4>>2];d=d+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}d=0;k=k+1|0;if((j|0)!=(k|0)){continue}break}break a}q[i+44>>2]=0;l:{m:{if((e|0)<1){break m}k=r[f|0];if(k&128){break m}d=q[q[a+28>>2]>>2];n:{if(k&4){if((e|0)<2){break m}g=f+2|0;c=r[f+1|0];n=c>>>4|0;u=c&15;break n}if(k&2){if((e|0)<2){break m}u=r[f+1|0];c=f+2|0}else{c=f+1|0}if(!(k&1)){g=c;break n}g=c+1|0;if(g>>>0>j>>>0){break m}n=r[c|0]}l=n+u|0;c=q[a+4>>2];o:{p:{if(l>>>0>c>>>0){e=c;c=l+7&1016;h=Oa(d,4,e,c,q[a+8>>2],i+44|0);q[a+8>>2]=h;d=q[i+44>>2];if(d){break l}v=a+8|0;q[a+4>>2]=c;q[a+12>>2]=(u<<2)+h;y=a+12|0;break p}h=q[a+8>>2];q[a+12>>2]=h+(u<<2);y=a+12|0;v=a+8|0;if(!l){break o}}c=0;e=0;d=0;while(1){q:{if(d&7){f=g;break q}f=g+1|0;if(f>>>0>j>>>0){break m}e=r[g|0]}m=(d<<2)+h|0;r:{if(e&1){g=f+2|0;if(g>>>0>j>>>0){break m}c=r[f|0]|r[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break r}g=f+1|0;if(g>>>0>j>>>0){break m}c=r[f|0]+c|0}q[m>>2]=c;e=e>>>1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}s:{if(!(k&8)){e=g;break s}e=g+1|0;if(e>>>0>j>>>0){break m}d=r[g|0];if(d){while(1){c=e+2|0;if(c>>>0>j>>>0){break m}e=c+r[e|0]|0;if(e>>>0>j>>>0){break m}d=d+ -1|0;if(d){continue}break}}q[i+44>>2]=0}o[a+32|0]=0;q[i+24>>2]=0;q[i+28>>2]=0;q[i>>2]=0;q[i+4>>2]=0;c=0;g=0;while(1){h=e+1|0;if(h>>>0>j>>>0){break m}d=r[e|0];f=d&15;t:{u:{v:{w:{x:{y:{m=d>>>4|0;z:{if(m>>>0<=7){l=1;A:{B:{C:{D:{switch(m-1|0){case 1:if(f>>>0>=u>>>0){break m}d=q[q[v>>2]+(f<<2)>>2];q[i+4>>2]=c;q[i>>2]=d;d=q[i+4>>2];c=q[i>>2];q[i+24>>2]=c;q[i+28>>2]=d;g=c;break C;case 0:case 3:case 4:break z;case 6:break A;case 5:break B;case 2:break D;default:break y}}if(f>>>0>=n>>>0){break m}q[i>>2]=g;q[i+4>>2]=q[q[y>>2]+(f<<2)>>2];d=q[i+4>>2];c=q[i>>2];q[i+24>>2]=c;q[i+28>>2]=d;g=c}c=d;e=h;break v}f=2958;l=3;break z}f=3627;l=3;break z}l=4}k=0;d=i;e=h;while(1){h=f&3;E:{if(h>>>0>2){h=e;break E}F:{switch(h-1|0){default:h=e+1|0;if(h>>>0>j>>>0){break m}e=r[e|0];if(u>>>0<=e>>>0){break m}g=q[q[v>>2]+(e<<2)>>2];break E;case 0:h=e+2|0;if(h>>>0>j>>>0){break m}e=r[e|0]|r[e+1|0]<<8;g=(e<<24|e<<8&16711680)>>16;break E;case 1:break F}}h=e+1|0;if(h>>>0>j>>>0){break m}g=o[e|0]+g|0}q[d>>2]=g;e=f>>>2&3;G:{if(e>>>0>2){e=h;break G}H:{switch(e-1|0){default:e=h+1|0;if(e>>>0>j>>>0){break m}c=r[h|0];if(n>>>0<=c>>>0){break m}c=q[q[y>>2]+(c<<2)>>2];break G;case 0:e=h+2|0;if(e>>>0>j>>>0){break m}c=r[h|0]|r[h+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break G;case 1:break H}}e=h+1|0;if(e>>>0>j>>>0){break m}c=o[h|0]+c|0}q[d+4>>2]=c;I:{if(!((l|0)!=4|k)){c=e+1|0;if(c>>>0>j>>>0){break m}f=r[e|0];l=3;e=c;break I}f=f>>>4|0}c=q[d+4>>2];g=q[d>>2];q[i+24>>2]=g;q[i+28>>2]=c;d=d+8|0;k=k+1|0;if(k>>>0>>0){continue}break}if(m>>>0>5){break w}switch(m-1|0){case 0:case 1:case 2:break v;case 3:case 4:break x;default:break y}}d=q[a+28>>2];if(r[a+32|0]){g=p[d+58>>1];e=g+ -1|0;h=e;j=s[d+56>>1];f=j<<16>>16;c=0;J:{if((f|0)<1){break J}c=p[(q[d+68>>2]+(j<<1)|0)+ -2>>1]}K:{if((h|0)<=(c|0)){break K}h=q[d+60>>2];j=h+(c<<3)|0;h=h+(e<<3)|0;if(q[j>>2]!=q[h>>2]|q[j+4>>2]!=q[h+4>>2]){break K}p[d+58>>1]=g+ -1;e=g+ -2|0}if((e|0)>=(c|0)){p[d+56>>1]=f+1;p[q[d+68>>2]+(f<<1)>>1]=e}o[a+32|0]=0}Lg(d);d=q[i+44>>2];break l}f=q[a+28>>2];if(r[a+32|0]){k=p[f+58>>1];d=k+ -1|0;m=d;x=s[f+56>>1];l=x<<16>>16;h=0;L:{if((l|0)<1){break L}h=p[(q[f+68>>2]+(x<<1)|0)+ -2>>1]}M:{if((m|0)<=(h|0)){break M}m=q[f+60>>2];x=m+(h<<3)|0;m=m+(d<<3)|0;if(q[x>>2]!=q[m>>2]|q[x+4>>2]!=q[m+4>>2]){break M}p[f+58>>1]=k+ -1;d=k+ -2|0}if((d|0)>=(h|0)){p[f+56>>1]=l+1;p[q[f+68>>2]+(l<<1)>>1]=d}o[a+32|0]=0}o[a+32|0]=1;d=p[f+58>>1];k=(d+p[f+22>>1]|0)+1|0;h=q[f+4>>2];if(!((p[f+20>>1]+p[f+56>>1]|0)+1>>>0<=t[f+8>>2]?k>>>0<=h>>>0:0)){d=Xb(f,1,1);if(d){break t}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];k=(d+p[f+22>>1]|0)+1|0;h=q[f+4>>2]}if(k>>>0>h>>>0){d=Xb(f,1,0);if(d){break t}d=p[f+58>>1]}k=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=k;o[q[f- -64>>2]+d|0]=1;p[f+58>>1]=s[f+58>>1]+1;break u}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];if((d+p[f+22>>1]|0)+3>>>0>t[f+4>>2]){d=Xb(f,3,0);if(d){break t}d=p[f+58>>1]}k=q[f- -64>>2];l=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=l;l=q[i+12>>2];q[h+8>>2]=q[i+8>>2];q[h+12>>2]=l;l=q[i+20>>2];q[h+16>>2]=q[i+16>>2];q[h+20>>2]=l;d=d+k|0;o[d+2|0]=1;o[d|0]=514;o[d+1|0]=2;p[f+58>>1]=s[f+58>>1]+3;break u}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];if((d+p[f+22>>1]|0)+1>>>0>t[f+4>>2]){d=Xb(f,1,0);if(d){break t}d=p[f+58>>1]}k=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=k;o[q[f- -64>>2]+d|0]=1;p[f+58>>1]=s[f+58>>1]+1}d=0}q[i+44>>2]=d;if(!d){continue}break}break l}d=8;q[i+44>>2]=8}jb(b)}Da=i+48|0;return d}function lz(a,b,c,d,e){a=a|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,p=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=Da+ -64|0;Da=f;q[f+4>>2]=c;c=q[b+96>>2];e=q[c+4>>2];q[f>>2]=0;d=b;l=q[d+540>>2];a:{if(!l){l=_d(e,161376);if(!l){c=11;break a}q[b+540>>2]=l;q[b+516>>2]=q[l>>2];c=q[b+96>>2]}D=d,E=ld(c,162092,1),q[D+544>>2]=E;if(!q[b+548>>2]){D=b,E=ld(bc(e,162109),162118,0),q[D+548>>2]=E}if(!q[b+552>>2]){D=b,E=ld(bc(e,162109),162132,0),q[D+552>>2]=E}x=q[a+28>>2];q[b+140>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;h=q[a+8>>2];d=Hb(a,f+8|0);b:{c=q[f+8>>2];if(c){break b}z=b+132|0;c:{while(1){if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break c}c=2;if((d|0)==65536){break c}break b}if((d|0)<=1953658212){if((d|0)==131072){break c}c=2;if((d|0)==1330926671){break c}break b}if((d|0)==1953658213){break c}c=2;if((d|0)!=1953784678){break b}break c}d:{C=f;e:{f:{g:{h:{if((d|0)!=2001684018){if((d|0)!=2001684038){c=2;if((d|0)==1954115633){break c}break b}c=Xa(a,h);q[f+8>>2]=c;if(c){break b}m=q[a+28>>2];q[f+60>>2]=0;c=lb(a,162176,f+16|0);q[f+60>>2]=c;if(c){break d}c=8;d=q[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break d}e=q[f+24>>2];if((e|0)!=q[a+4>>2]){break d}d=s[f+28>>1];if(!d|w(d,20)+44>>>0>=e>>>0){break d}e=d<<4|12;d=q[f+32>>2];if(e>>>0>=d>>>0|d&3){break d}d=q[f+44>>2];i:{if(!q[f+40>>2]){if(!(d|q[f+48>>2])){break i}break d}if(!d){break i}if(!q[f+48>>2]){break d}}if(q[f+56>>2]?!q[f+52>>2]:0){break d}p=0;i=gb(m,e,f+60|0);if(q[f+60>>2]){j=0;c=0;break g}j=gb(m,40,f+60|0);if(q[f+60>>2]){c=0;break g}d=s[f+28>>1];h=d;c=0;if(d){while(1){c=c+1|0;h=h>>>1|0;if(h){continue}break}}o[i|0]=r[f+23|0];o[i+1|0]=s[f+22>>1];o[i+2|0]=q[f+20>>2]>>>8;o[i+3|0]=q[f+20>>2];o[i+4|0]=r[f+29|0];e=r[f+28|0];g=d<<4;c=c+ -1|0;d=16<>>8;o[i+9|0]=c;o[i+8|0]=c>>>8;o[i+7|0]=d;o[i+6|0]=d>>>8;o[i+5|0]=e;c=Oa(m,24,0,s[f+28>>1],0,f+60|0);if(q[f+60>>2]){break g}p=Oa(m,4,0,s[f+28>>1],0,f+60|0);if(q[f+60>>2]){break g}d=mb(a,w(s[f+28>>1],20));q[f+60>>2]=d;if(d){break g}d=0;e=0;if(s[f+28>>1]){while(1){h=w(e,24)+c|0;D=h,E=fc(a),q[D>>2]=E;D=h,E=fc(a),q[D+4>>2]=E;D=h,E=fc(a),q[D+8>>2]=E;D=h,E=fc(a),q[D+12>>2]=E;D=h,E=fc(a),q[D+16>>2]=E;g=q[h>>2];if(g>>>0<=d>>>0){jb(a);q[f+60>>2]=8;break g}q[(e<<2)+p>>2]=h;d=g;e=e+1|0;if(e>>>0>1]){continue}break}}jb(a);Gc(p,s[f+28>>1],4,311);d=s[f+28>>1];g=d<<4|12;h=w(d,20)+44|0;j:{if(!d){e=g;break j}k=0;A=q[f+32>>2];B=q[f+24>>2];e=g;while(1){k:{u=q[(k<<2)+p>>2];l:{if(q[u+4>>2]!=(h|0)){break l}v=q[u+8>>2];if(B>>>0>>0|h>>>0>B-v>>>0){break l}y=q[u+12>>2];if(v>>>0>y>>>0|A>>>0>>0){break l}if(e>>>0<=A-y>>>0){break k}}q[f+60>>2]=8;break g}q[u+20>>2]=e;e=(y+3&-4)+e|0;h=(v+3&-4)+h|0;k=k+1|0;if((d|0)!=(k|0)){continue}break}}m:{d=q[f+40>>2];if(!d){break m}if((d|0)==(h|0)){h=q[f+44>>2]+h|0;if(h>>>0<=t[f+24>>2]){break m}}q[f+60>>2]=8;break g}d=q[f+52>>2];if(!d){d=q[f+24>>2];break h}if((d|0)==(h+3&-4)){h=d+q[f+56>>2]|0;d=q[f+24>>2];if(h>>>0<=d>>>0){break h}}q[f+60>>2]=8;break g}c=Xa(a,h);q[f+8>>2]=c;if(c){break b}c=kz(a,b,f+4|0,f);break f}if(!(q[f+32>>2]==(e|0)?(d|0)==(h|0):0)){q[f+60>>2]=8;break g}i=Oa(m,1,g,e,i,f+60|0);if(q[f+60>>2]){break g}if(s[f+28>>1]){e=i+12|0;d=0;while(1){g=w(d,24)+c|0;o[e|0]=r[g+3|0];o[e+1|0]=s[g+2>>1];o[e+2|0]=q[g>>2]>>>8;o[e+3|0]=q[g>>2];o[e+4|0]=r[g+19|0];o[e+5|0]=s[g+18>>1];o[e+6|0]=q[g+16>>2]>>>8;o[e+7|0]=q[g+16>>2];o[e+8|0]=r[g+23|0];o[e+9|0]=s[g+22>>1];o[e+10|0]=q[g+20>>2]>>>8;o[e+11|0]=q[g+20>>2];o[e+12|0]=r[g+15|0];o[e+13|0]=s[g+14>>1];o[e+14|0]=q[g+12>>2]>>>8;o[e+15|0]=q[g+12>>2];h=Xa(a,q[g+4>>2]);q[f+60>>2]=h;if(h){break g}h=mb(a,q[g+8>>2]);q[f+60>>2]=h;if(h){break g}n:{h=q[g+8>>2];k=q[g+12>>2];if((h|0)==(k|0)){Qa(q[g+20>>2]+i|0,q[a+32>>2],h);break n}q[f+12>>2]=k;h=qB(m,q[g+20>>2]+i|0,f+12|0,q[a+32>>2],q[g+8>>2]);q[f+60>>2]=h;if(!h){if(q[f+12>>2]==q[g+12>>2]){break n}q[f+60>>2]=8}jb(a);break g}jb(a);g=q[g+12>>2]+q[g+20>>2]|0;if(g&3){Na(g+i|0,0,((g^-1)&3)+1|0)}e=e+16|0;d=d+1|0;if(d>>>0>1]){continue}break}}d=q[f+32>>2];q[j+32>>2]=0;q[j+8>>2]=0;q[j+4>>2]=d;q[j>>2]=i;q[j+20>>2]=0;q[j+24>>2]=0;a=q[a+28>>2];q[j+24>>2]=312;q[j+28>>2]=a;Zp(q[b+104>>2],q[b+8>>2]>>>10&1);q[b+104>>2]=j;q[b+8>>2]=q[b+8>>2]&-1025}a=m;if(c){n[q[a+8>>2]](a,c)}if(p){n[q[a+8>>2]](a,p)}if(!q[f+60>>2]){q[f+8>>2]=0;break e}if(i){n[q[a+8>>2]](a,i)}o:{if(!j){break o}c=q[j+24>>2];if(!c){break o}n[c](j)}if(j){n[q[a+8>>2]](a,j)}c=q[f+60>>2]}q[C+8>>2]=c;if(c){break b}}a=q[b+104>>2];h=q[a+8>>2];d=Hb(a,f+8|0);c=q[f+8>>2];if(!c){continue}break b}break}q[f+8>>2]=c;q[f+16>>2]=c;break a}q[z>>2]=1953784678;p:{if((d|0)==1953784678){c=lb(a,162160,z);q[f+8>>2]=c;if(c){break b}d=q[b+140>>2];if(!d){c=8;q[f+16>>2]=8;break a}c=10;if(d>>>0>q[a+4>>2]>>>5>>>0){break b}D=b,E=Oa(x,4,0,d,0,f+8|0),q[D+144>>2]=E;c=q[f+8>>2];if(c){break b}c=mb(a,q[b+140>>2]<<2);q[f+8>>2]=c;if(c){break b}if(q[b+140>>2]>=1){c=0;while(1){d=fc(a);q[q[b+144>>2]+(c<<2)>>2]=d;c=c+1|0;if((c|0)>2]){continue}break}}jb(a);c=q[f+8>>2];q[f+16>>2]=c;if(!c){break p}break a}q[b+136>>2]=65536;q[b+140>>2]=1;a=gb(x,4,f+8|0);q[b+144>>2]=a;c=q[f+8>>2];if(c){break b}q[a>>2]=h;q[f+16>>2]=0}u=q[f+4>>2];a=u>>31;e=f;k=q[b+104>>2];d=k;g=q[b+144>>2];v=a^a+u;c=a+(v&65535)|0;if((c|0)>=q[b+140>>2]){c=6;if((u|0)>-1){break a}c=0}c=Xa(d,q[g+(c<<2)>>2]);q[e+16>>2]=c;if(c){break a}c=n[q[l+88>>2]](b,k)|0;q[f+16>>2]=c;if(c){break a}x=q[b+100>>2];i=0;q:{if(n[q[b+516>>2]](b,1719034226,k,f+60|0)){d=0;p=0;g=0;c=0;a=0;break q}d=0;p=0;g=0;c=0;a=0;if(t[f+60>>2]<20){break q}y=Hb(k,f+16|0);a=0;if(q[f+16>>2]){break q}m=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}e=Ib(k,2);q[f+16>>2]=e;a=0;if(e){break q}j=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}l=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}h=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}e=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}r:{s:{if((y|0)!=65536){break s}p=20;if((l|0)!=20){break s}t:{if((j+ -1&65535)>>>0>16381|h>>>0>32511){break t}a=j<<2;if((e|0)!=(a+4|0)&(e|0)!=(a+6|0)|(m+w(j,20)|0)+w(e,h)>>>0>t[f+60>>2]){break t}q[b+740>>2]=q[b+740>>2]|1;d=e;g=j;c=h;a=m;break q}break r}p=l}d=e;g=j;a=m}u:{if(!(o[b+740|0]&1)){e=0;break u}m=g<<2;e=gb(x,m,f+16|0);if(q[f+16>>2]){break u}i=gb(x,m,f+16|0);if(q[f+16>>2]){break u}h=(a+q[k+8>>2]|0)+ -16|0;if(g){l=h+8|0;j=0;a=e;while(1){D=f,E=Gh(k,l,a,4),q[D+16>>2]=E;a=a+4|0;l=l+p|0;j=j+1|0;if((j|0)!=(g|0)){continue}break}}v:{if(!c){a=0;break v}l=(h+w(g,p)|0)+4|0;a=0;while(1){D=f,E=Gh(k,l,i,m),q[D+16>>2]=E;if(!Oc(e,i,m)){break v}l=d+l|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}c=((a|0)==(c|0))+c|0}d=v>>>16|0;a=x;if(e){n[q[a+8>>2]](a,e)}if(i){n[q[a+8>>2]](a,i)}w:{if(!n[q[b+516>>2]](b,1735162214,k,0)){break w}if(!n[q[b+516>>2]](b,1128678962,k,0)){break w}c=n[q[b+516>>2]](b,1128678944,k,0)|0?c:0}a=b;x:{if(d>>>0>(c&65535)>>>0){if((u|0)>-1){break x}c=0}q[a+12>>2]=c<<16;q[b+4>>2]=u;q[b>>2]=q[b+140>>2];a=q[f>>2];if(a){q[b>>2]=a}c=q[f+16>>2];break a}c=6;break a}q[f+16>>2]=c}Da=f- -64|0;return c|0}function GN(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,p=0,u=0,x=0,z=0,A=0,B=0,C=0,D=0;i=Da-32|0;Da=i;n=q[b>>2];f=-1;a:{if(!Fr(a,q[b+4>>2])){break a}j=q[b+4>>2];b:{if((j|0)<1){break b}while(1){e=q[a+8>>2];f=w(c,336)+n|0;q[e+(c<<2)>>2]=q[f>>2];c:{d:{if(q[f>>2]==10){break d}j=q[b+4>>2];if((j+ -1|0)==(c|0)){break d}c=c+1|0;break c}q[i+4>>2]=q[a+28>>2];f=e;e=g<<2;d=(c-g|0)+1|0;WN(f+e|0,d,e+q[a+12>>2]|0);VN(e+q[a+8>>2]|0,d,e+q[a+12>>2]|0,e+q[a+16>>2]|0);f=-1;if(!SN(e+q[a+12>>2]|0,e+q[a+16>>2]|0,d,i+4|0,q[a+20>>2]+g|0)){break a}j=q[b+4>>2];c=c+1|0;g=c}if((c|0)<(j|0)){continue}break}if((j|0)<1){break b}e=q[a+20>>2];c=0;while(1){f=w(c,336)+n|0;q[f+312>>2]=q[f+312>>2]+o[c+e|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=q[a>>2];e:{if(c>>>0>1){break e}if(c-1){h=ab(1,j);QN(q[a+8>>2],j,h);PN(q[a+12>>2],j,q[a+20>>2],h);MN(q[a+20>>2],j,h,q[a+8>>2]);if(j){c=0;while(1){e=w(c,336)+n|0;f=q[(q[e+8>>2]+(q[e+12>>2]<<2)|0)- -64>>2];g=q[a+8>>2]+(c<<2)|0;q[e>>2]=q[g>>2];k=e;d=f;e=q[g>>2];f=q[d+92>>2];if(f){e=q[f+4>>2]==1937337698?e|61440:e}C=k,D=Ub(d,e),q[C+16>>2]=D;c=c+1|0;if((j|0)!=(c|0)){continue}break}}La(h);c=0;e=q[b+4>>2];f=0;if((e|0)<1){break a}f=q[b>>2];while(1){f:{g:{b=f+w(c,336)|0;a=q[b>>2];if((a&-4)==8288){break g}if((a|0)<=8202){if((a|0)==173|(a|0)==847){break g}break f}k=a+ -8203|0;if(k>>>0>35){if((a|0)!=65279){break f}break g}switch(k-5|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break f;default:break g}}q[b>>2]=0;q[b+4>>2]=q[b+4>>2]+1}c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}f=He();c=0;q[i+24>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;if(j){while(1){q[(w(c,336)+n|0)+4>>2]=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}x=j+ -1|0;while(1){h=w(k,336)+n|0;d=q[h+8>>2];c=q[d+104>>2];if(!c){c=ab(120,1);q[d+104>>2]=c}b=q[h+12>>2];e=b<<2;if(!q[e+c>>2]){g=d- -64|0;e=Ws(q[g+e>>2]);b=q[h+12>>2]<<2;q[b+c>>2]=e;e=ab(40,1);q[(b+q[d+104>>2]|0)+80>>2]=e;e=q[(b+q[d+104>>2]|0)+80>>2];q[e>>2]=q[a+44>>2];q[e+32>>2]=q[q[h+8>>2]+12>>2];b=gm();q[(q[d+104>>2]+(q[h+12>>2]<<2)|0)+40>>2]=b;vU(b,e);PU(b,e);Xt(b,799,e);LU(b,e);cm(b,801,e);Vt(b,802,e);HU(b,e);bm(b,804,e);Ut(b,805,e);e=q[h+12>>2]<<2;am(q[e+c>>2],b,q[e+g>>2],0);b=q[h+12>>2]}e=d- -64|0;zl(q[(b<<2)+e>>2],v[h+24>>3]);g=q[h+12>>2]<<2;b=q[g+c>>2];e=q[e+g>>2];g=s[e+68>>1];l=q[e+88>>2];m=q[l+16>>2];m=W$(g,0,m,m>>31);m=(Ea&65535)<<16|m>>>16;l=q[l+20>>2];g=W$(l,l>>31,g,0);$l(b,m,(Ea&65535)<<16|g>>>16);e=q[e+88>>2];g=s[e+12>>1];e=s[e+14>>1];if(q[b+4>>2]){q[b+52>>2]=e;q[b+48>>2]=g}b=q[d+104>>2];e=q[h+12>>2];d=e<<2;b=q[(b+d|0)+80>>2];q[b+8>>2]=q[h+8>>2];q[b+24>>2]=e;e=q[h+28>>2];q[b+16>>2]=q[h+24>>2];q[b+20>>2]=e;b=k>>>0>x>>>0?k:x;g=q[h+312>>2];l=q[c+d>>2];m=r[q[a+20>>2]+k|0];c=k;while(1){h:{e=c;if((b|0)==(c|0)){e=b;break h}c=e+1|0;if((g|0)==q[(w(c,336)+n|0)+312>>2]){continue}}break}b=f;c=(e-k|0)+1|0;i:{if(!c){break i}d=c;if(t[b+84>>2]>c>>>0){break i}pe(b,d)}bS(b,q[a+8>>2]+(k<<2)|0,c,c);q[i+8>>2]=m&1?5:4;c=q[h+20>>2];q[i+12>>2]=c;g=q[a+40>>2];j:{if(g){break 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:{if((c|0)<=1265134961){if((c|0)<=1165256808){if((c|0)<=1130458738){if((c|0)<=1113943654){d=436712;if((c|0)==1098015074){break l}if((c|0)!=1098018158){break k}d=436715;break l}if((c|0)==1113943655){break J}if((c|0)==1114990441){break m}if((c|0)!=1114990692){break k}d=436808;break l}if((c|0)<=1131376755){if((c|0)==1130458739){break I}if((c|0)!=1130915186){break k}d=436724;break l}if((c|0)==1131376756){break H}if((c|0)==1132032620){break G}if((c|0)!=1147500129){break k}d=436735;break l}if((c|0)<=1214344806){if((c|0)<=1198679402){if((c|0)==1165256809){break t}if((c|0)!=1197830002){break k}d=436738;break l}if((c|0)==1198679403){break F}if((c|0)==1198877298){break E}if((c|0)!=1198879349){break k}d=436747;break l}if((c|0)<=1214870112){d=c+ -1214344807|0;if(d>>>0>8){if((c|0)!=1214603890){break k}d=436753;break l}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break k;case 7:break o;default:break D}}if((c|0)==1214870113){break C}if((c|0)!=1264676449){break k}d=436756;break l}if((c|0)<=1400468066){if((c|0)<=1299148390){if((c|0)<=1281453934){if((c|0)==1265134962){break s}if((c|0)!=1265525857){break k}d=436759;break l}if((c|0)==1281453935){break B}if((c|0)==1281455214){break A}if((c|0)!=1298954605){break k}d=436768;break l}if((c|0)<=1332902240){if((c|0)==1299148391){break z}if((c|0)==1299803506){break r}if((c|0)!=1315663727){break k}d=436839;break l}if((c|0)==1332902241){break y}if((c|0)==1399418472){break q}if((c|0)!=1400466543){break k}d=436835;break l}if((c|0)<=1416126816){if((c|0)<=1415671147){if((c|0)==1400468067){break x}if((c|0)!=1415669602){break k}d=436819;break l}if((c|0)==1415671148){break w}if((c|0)==1415933045){break v}if((c|0)!=1416064103){break k}d=436816;break l}if((c|0)<=1432838513){d=c+ -1416126817|0;if(d>>>0>8){if((c|0)!=1416192628){break k}d=436790;break l}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break k;case 7:break u;default:break p}}if((c|0)==1432838514){break n}if((c|0)!=1483761007){break k}d=436831;break l}d=436718;break l}d=436721;break l}d=436728;break l}d=436732;break l}d=436741;break l}d=436744;break l}d=436750;break l}d=436756;break l}d=436762;break l}d=436765;break l}d=436771;break l}d=436774;break l}d=436777;break l}d=436781;break l}d=436784;break l}d=436787;break l}d=436793;break l}d=436796;break l}d=436799;break l}d=436802;break l}d=436805;break l}d=436812;break l}d=436823;break l}d=436827}g=jn(d);if(g){break j}}g=gn()}q[i+16>>2]=g;if(q[b+4>>2]){b=q[i+12>>2];q[f+48>>2]=q[i+8>>2];q[f+52>>2]=b;q[f- -64>>2]=q[i+24>>2];b=q[i+20>>2];q[f+56>>2]=q[i+16>>2];q[f+60>>2]=b}g=0;b=q[a+36>>2];c=q[q[h+8>>2]+12>>2]!=0;q[b+4>>2]=c;q[b+20>>2]=c;c=v[h+288>>3]==0;q[b+52>>2]=c;q[b+68>>2]=c;Ql(l,f,q[a+36>>2],q[a+32>>2]);l=q[f+76>>2];m=q[f+88>>2];B=Ge(f,0);if((l|0)>=1){while(1){d=w(g,20);h=d+m|0;z=w(q[h+8>>2]+k|0,336);c=z+n|0;K:{if(q[c+4>>2]){break K}while(1){b=c;c=q[c+332>>2];if(c){continue}break}c=Sa(336);q[b+332>>2]=c;if(!c){c=b;break K}Qa(c,b,336);ke(q[b+8>>2]);c=q[b+332>>2];q[c+332>>2]=0}q[c+4>>2]=0;q[c+16>>2]=q[h>>2];b=c;p=v[c+240>>3];h=d+B|0;u=p*+q[h+8>>2];L:{if(y(u)<2147483648){d=~~u;break L}d=-2147483648}q[b+104>>2]=d;b=c;u=v[c+248>>3];A=u*+(0-q[h+12>>2]|0);M:{if(y(A)<2147483648){d=~~A;break M}d=-2147483648}q[b+108>>2]=d;d=c;p=p*+q[h>>2];N:{if(y(p)<2147483648){b=~~p;break N}b=-2147483648}q[d+132>>2]=b;p=u*+(0-q[h+4>>2]|0);O:{if(y(p)<2147483648){d=~~p;break O}d=-2147483648}q[c+136>>2]=d;c=n+z|0;q[c+144>>2]=d+q[c+144>>2];q[c+140>>2]=b+q[c+140>>2];g=g+1|0;if((l|0)!=(g|0)){continue}break}}cS(f);k=e+1|0;if(k>>>0>>0){continue}break}}Xd(f)}f=0}Da=i+32|0;return f}function rh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,w=0;w=e+2378|0;u=e+8|0;g=q[e+632>>2];i=e+2360|0;m=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{while(1){l:{if(g){f=g+ -1|0;if(f>>>0>4){return-31}switch(f-1|0){case 0:break j;case 2:break e;case 3:break f;case 1:break h;default:break l}}h=q[e+12>>2];m:{if(32-h>>>0>=2){j=q[u>>2];break m}g=q[e+20>>2];f=h;while(1){if(!g){break a}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;k=q[e+16>>2];l=r[k|0];g=g+ -1|0;q[e+20>>2]=g;h=f+ -8|0;q[e+12>>2]=h;q[e+16>>2]=k+1;j=j|l<<24;q[e+8>>2]=j;k=40-f|0;f=h;if(k>>>0<2){continue}break}}f=h+2|0;q[e+12>>2]=f;h=j>>>h&3;q[e+636>>2]=h;if((h|0)==1){break k}q[e+652>>2]=0;q[e+656>>2]=32;f=m;p[f+22>>1]=0;p[f+24>>1]=0;p[f+26>>1]=0;p[f+28>>1]=0;f=i;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;g=4;q[e+632>>2]=4;continue}break}f=q[e+12>>2]}n:{if(32-f>>>0>=2){j=q[u>>2];break n}g=q[e+20>>2];h=f;while(1){if(!g){break g}i=q[e+8>>2]>>>8|0;q[e+8>>2]=i;m=q[e+16>>2];j=r[m|0];g=g+ -1|0;q[e+20>>2]=g;f=h+ -8|0;q[e+12>>2]=f;q[e+16>>2]=m+1;j=i|j<<24;q[e+8>>2]=j;i=40-h|0;h=f;if(i>>>0<2){continue}break}}q[e+636>>2]=0;q[e+12>>2]=f+2;k=j>>>f&3;q[e+648>>2]=k;m=0;break i}k=q[e+648>>2];m=q[e+636>>2]}i=0;if(m>>>0<=k>>>0){a=a+ -1|0;a=a?32-z(a)|0:0;w=(a<<2)+153552|0;g=q[e+12>>2];while(1){o:{p:{q:{if(32-g>>>0>=a>>>0){j=q[e+8>>2];h=g;break q}f=q[e+20>>2];while(1){if(!f){break p}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;l=q[e+16>>2];n=r[l|0];f=f+ -1|0;q[e+20>>2]=f;h=g+ -8|0;q[e+12>>2]=h;q[e+16>>2]=l+1;j=j|n<<24;q[e+8>>2]=j;l=40-g|0;g=h;if(l>>>0>>0){continue}break}}g=a+h|0;q[e+12>>2]=g;f=q[w>>2]&j>>>h;if(f>>>0>>0){break o}return-4}q[e+632>>2]=2;q[e+636>>2]=m;break a}p[((m<<1)+e|0)+792>>1]=f;m=m+1|0;if(m>>>0<=k>>>0){continue}break}}if(!k){break h}while(1){a=s[((i<<1)+e|0)+792>>1];i=i+1|0;g=i;r:{while(1){if((a|0)!=s[((g<<1)+e|0)+792>>1]){g=g+1|0;if(g>>>0<=k>>>0){continue}break r}break}return-5}if((i|0)!=(k|0)){continue}break}}s:{g=q[e+648>>2];if((g|0)==3){g=q[e+12>>2];t:{if((g|0)!=32){f=q[u>>2];break t}a=q[e+20>>2];if(!a){break s}b=q[e+8>>2]>>>8|0;q[e+8>>2]=b;f=q[e+16>>2];h=r[f|0];q[e+20>>2]=a+ -1;g=24;q[e+12>>2]=24;q[e+16>>2]=f+1;f=b|h<<24;q[e+8>>2]=f}q[e+12>>2]=g+1;g=(f>>>g&1)+3|0;q[e+648>>2]=g}a=BA(c,e+792|0,g);break c}q[e+632>>2]=3;break a}q[e+632>>2]=1;break a}l=q[e+788>>2];i=q[e+640>>2];f=q[e+648>>2];n=q[e+656>>2];j=q[e+652>>2];a=q[e+644>>2];break d}m=q[e+656>>2];a=q[e+652>>2];k=q[e+636>>2];u:{if(k>>>0>17){break u}h=q[e+12>>2];while(1){v:{w:{x:{if(32-h>>>0>=4){j=q[e+8>>2];break x}f=q[e+20>>2];g=h;while(1){if(!f){break w}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;l=q[e+16>>2];n=r[l|0];f=f+ -1|0;q[e+20>>2]=f;h=g+ -8|0;q[e+12>>2]=h;q[e+16>>2]=l+1;j=j|n<<24;q[e+8>>2]=j;l=40-g|0;g=h;if(l>>>0<4){continue}break}}f=j>>>h&15;l=r[f+153408|0];g=h;break v}h=32-g|0;f=0;y:{if(!h){break y}f=q[e+8>>2]>>>g&15}l=r[f+153408|0];if(h>>>0>=l>>>0){break v}q[e+656>>2]=m;q[e+652>>2]=a;q[e+636>>2]=k;q[e+632>>2]=4;break a}h=g+l|0;q[e+12>>2]=h;g=r[f+153424|0];o[(r[k+153376|0]+e|0)+2360|0]=g;if(61166>>>f&1){f=((g<<1)+e|0)+2378|0;p[f>>1]=s[f>>1]+1;a=a+1|0;m=m-(32>>>g|0)|0;if(m+ -1>>>0>31){break u}}k=k+1|0;if((k|0)!=18){continue}break}}if(m){h=-6;if((a|0)!=1){break b}}EA(e+660|0,i,w);a=w;p[a+24>>1]=0;p[a+26>>1]=0;p[a+28>>1]=0;p[a+30>>1]=0;p[a+16>>1]=0;p[a+18>>1]=0;p[a+20>>1]=0;p[a+22>>1]=0;p[a+8>>1]=0;p[a+10>>1]=0;p[a+12>>1]=0;p[a+14>>1]=0;p[a>>1]=0;p[a+2>>1]=0;p[a+4>>1]=0;p[a+6>>1]=0;q[e+2232>>2]=-16;l=q[e+788>>2];p[l+ -32>>1]=65535;q[e+2236>>2]=-15;p[l+ -30>>1]=65535;q[e+2240>>2]=-14;p[l+ -28>>1]=65535;q[e+2244>>2]=-13;p[l+ -26>>1]=65535;q[e+2248>>2]=-12;p[l+ -24>>1]=65535;q[e+2252>>2]=-11;p[l+ -22>>1]=65535;q[e+2256>>2]=-10;p[l+ -20>>1]=65535;q[e+2260>>2]=-9;p[l+ -18>>1]=65535;q[e+2264>>2]=-8;p[l+ -16>>1]=65535;q[e+2268>>2]=-7;p[l+ -14>>1]=65535;q[e+2272>>2]=-6;p[l+ -12>>1]=65535;q[e+2276>>2]=-5;p[l+ -10>>1]=65535;q[e+2280>>2]=-4;p[l+ -8>>1]=65535;q[e+2284>>2]=-3;p[l+ -6>>1]=65535;q[e+2288>>2]=-2;p[l+ -4>>1]=65535;q[e+2292>>2]=-1;p[l+ -2>>1]=65535;q[e+648>>2]=0;q[e+652>>2]=0;n=32768;q[e+656>>2]=32768;q[e+640>>2]=0;q[e+644>>2]=8;q[e+632>>2]=5;i=0;j=0;f=0;a=8}z:{A:{B:{if(!ej(u)){f=q[e+648>>2];break B}C:{if(!n|f>>>0>=b>>>0){break C}m=q[e+20>>2];u=e+624|0;while(1){if(m>>>0<=1){q[e+652>>2]=j;q[e+648>>2]=f;q[e+644>>2]=a;q[e+656>>2]=n;q[e+640>>2]=i;break B}h=q[e+8>>2];g=q[e+12>>2];if(g>>>0>=16){g=g^16;q[e+12>>2]=g;k=h>>>16|0;q[e+8>>2]=k;h=q[e+16>>2];t=r[h|0]|r[h+1|0]<<8;m=m+ -2|0;q[e+20>>2]=m;q[e+16>>2]=h+2;h=k|t<<16;q[e+8>>2]=h}k=g;g=((h>>>g&31)<<2)+e|0;k=k+r[g+660|0]|0;q[e+12>>2]=k;g=s[g+662>>1];D:{if(g>>>0<=15){if(g){a=(u+(g<<2)|0)+1608|0;p[(q[a>>2]<<1)+l>>1]=f;q[a>>2]=f;a=(u+(g<<1)|0)+1754|0;p[a>>1]=s[a>>1]+1;n=n-(32768>>>g|0)|0;a=g}h=0;f=f+1|0;break D}v=(g|0)==16;t=v?2:3;q[e+12>>2]=t+k;k=q[(t<<2)+153552>>2]&h>>>k;g=0;h=v?a:0;E:{if((h|0)!=(i|0)){i=h;j=0;break E}if(!j){j=0;break E}g=j+ -2<>>0>b>>>0){n=1048575;q[e+656>>2]=1048575;break A}F:{if(!i){i=0;break F}v=((i<<2)+e|0)+2232|0;h=q[v>>2];while(1){j=f;p[(h<<1)+l>>1]=f;h=f;f=f+1|0;if((g|0)!=(f|0)){continue}break}q[v>>2]=j;f=((i<<1)+e|0)+2378|0;p[f>>1]=t+s[f>>1];n=n-(t<<15-i)|0}h=k;f=g}j=h;if(f>>>0>=b>>>0){break C}if(n){continue}break}}q[e+656>>2]=n;break A}if(f>>>0>=b>>>0){n=q[e+656>>2];break A}n=q[e+656>>2];j=e+624|0;h=0;while(1){if(!n){break z}G:{if(!h){g=q[e+12>>2];break G}a=q[e+20>>2];if(!a){break a}h=q[e+8>>2]>>>8|0;q[e+8>>2]=h;i=q[e+16>>2];m=r[i|0];g=q[e+12>>2]+ -8|0;q[e+12>>2]=g;q[e+20>>2]=a+ -1;q[e+16>>2]=i+1;q[e+8>>2]=h|m<<24}k=32-g|0;a=0;H:{if(!k){break H}a=q[e+8>>2]>>>g|0}h=1;i=((a&31)<<2)+e|0;m=r[i+660|0];I:{if(k>>>0>>0){break I}i=s[i+662>>1];if(i>>>0<=15){q[e+652>>2]=0;q[e+12>>2]=g+m;if(i){a=(j+(i<<2)|0)+1608|0;p[q[e+788>>2]+(q[a>>2]<<1)>>1]=f;q[a>>2]=f;n=n-(32768>>>i|0)|0;q[e+656>>2]=n;q[e+644>>2]=i;a=(j+(i<<1)|0)+1754|0;p[a>>1]=s[a>>1]+1}f=f+1|0;q[e+648>>2]=f;h=0;break I}v=k;k=i+ -14|0;l=k+m|0;if(v>>>0>>0){break I}q[e+12>>2]=g+l;l=q[e+788>>2];a=q[(k<<2)+153552>>2]&a>>>m;J:{if((i|0)!=16){i=3;g=0;break J}i=2;g=q[e+644>>2]}K:{if((g|0)!=q[e+640>>2]){q[e+640>>2]=g;h=0;q[e+652>>2]=0;i=0;break K}h=q[e+652>>2];if(!h){h=0;i=0;break K}i=h+ -2<>2]=i}a=(a+i|0)+3|0;q[e+652>>2]=a;i=a-h|0;a=i+f|0;if(a>>>0>b>>>0){q[e+656>>2]=1048575;q[e+648>>2]=b;return-7}if(g){m=((g<<2)+e|0)+2232|0;h=q[m>>2];while(1){g=f;p[l+(h<<1)>>1]=f;h=f;f=f+1|0;if((a|0)!=(f|0)){continue}break}q[e+648>>2]=a;q[m>>2]=g;a=q[e+640>>2];n=q[e+656>>2]-(i<<15-a)|0;q[e+656>>2]=n;a=((a<<1)+e|0)+2378|0;p[a>>1]=i+s[a>>1];f=q[e+648>>2];h=0;break I}q[e+648>>2]=a;h=0;f=a}if(f>>>0>>0){continue}break}}h=-7;if(n){break b}}a=CA(c,q[e+788>>2],w)}if(d){q[d>>2]=a}q[e+632>>2]=0;h=1}return h}return 2}function GT(a,b,c){a=a|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,t=0,u=0,v=0;j=Da-32|0;Da=j;a:{u=q[c+76>>2];if(u){d=u+ -1|0;b=0;h=q[c+88>>2];e=r[h+15|0];while(1){b:{if((b|0)==(d|0)){b=u;break b}b=b+1|0;if((e|0)==r[(w(b,20)+h|0)+15|0]){continue}}break}while(1){n=q[a+112>>2];g=b;c:{if(b>>>0<=i>>>0){break c}b=i;e=q[n+8>>2];if(!e){break c}while(1){d=w(b,20)+h|0;d:{if((e|0)!=q[d>>2]){break d}l=s[d+12>>1];if((l&96)!=96){break d}o[d+18|0]=4;p[d+12>>1]=l&65439}b=b+1|0;if((g|0)!=(b|0)){continue}break}}e=q[n+88>>2];t=(e|0)!=0;e:{f:{g:{b=i;h:{if(g>>>0<=b>>>0){l=i+1|0;if(l>>>0>>0){break h}break g}i:{while(1){if(r[(w(b,20)+h|0)+19|0]>=4){j:{if(!e){t=0;break j}d=b+1|0;if(d>>>0>=g>>>0){t=1;break j}while(1){l=w(d,20)+h|0;if(e&q[l+4>>2]){e=s[l+12>>1];if((e&112)==48){break j}k:{if(d>>>0>=g>>>0){b=d;break k}if(e&32){b=d;break k}b=d;if(r[l+18|0]!=4){break k}while(1){b=b+1|0;if((g|0)==(b|0)){b=g;break k}d=w(b,20)+h|0;if(r[d+12|0]&32){break k}if(r[d+18|0]==4){continue}break}}o[(w(b,20)+h|0)+19|0]=4;t=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}}l:{if(q[c+52>>2]!=1298954605){break l}d=b+1|0;if(d>>>0>=g>>>0){break l}while(1){m:{if(d>>>0>=g>>>0){break m}while(1){e=w(d,20)+h|0;if(r[e+12|0]&32){break m}e=r[e+18|0];if(e>>>0>31|!(1<>>0>>0?g:e)+ -1|0;n:{while(1){l=d;d=d+1|0;if(d>>>0>=g>>>0){l=e;break n}f=w(d,20)+h|0;if(r[f+12|0]&32){break n}m=r[f+18|0];k=1<>>0>31;if(k&96?!m:0){continue}break}if(!(k&727046)|m|r[f+19|0]!=8){break n}o[f+19|0]=4;b=d}d=l+2|0;if(d>>>0>>0){continue}break}}t=(t|0)!=0;if(b>>>0<=i>>>0){break i}b=b-(r[(w(b,20)+h|0)+19|0]>4)|0;break i}b=b+1|0;if((g|0)!=(b|0)){continue}break}b=g}o:{if(!((b|0)!=(g|0)|b>>>0<=i>>>0)){b=g;d=b+ -1|0;e=w(d,20)+h|0;if(r[e+12|0]&32){break o}b=r[e+18|0]==6?d:g}if(b>>>0<=i>>>0|b>>>0>=g>>>0){break o}while(1){d=w(b,20)+h|0;if(r[d+12|0]&32){break o}d=r[d+18|0];if(d>>>0>31|!(1<>>0>i>>>0){continue}break}b=i;l=b+1|0;if(l>>>0>=g>>>0){break g}break h}l=i+1|0;m=l>>>0>=g>>>0;p:{if(m|b>>>0<=i>>>0){break p}d=((b|0)==(g|0)?-2:-1)+b|0;q:{r:{s:{e=q[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break s}while(1){e=1;t:{if(d>>>0<=i>>>0){break t}while(1){u:{f=w(d,20)+h|0;if(r[f+12|0]&32){break u}f=r[f+18|0];if(f>>>0>31|!(1<>>0>i>>>0){continue}break}d=i}f=w(d,20)+h|0;if(r[f+12|0]&32|r[f+18|0]!=4|r[f+19|0]==2){break r}f=d+1|0;if(f>>>0>=g>>>0|(r[(w(f,20)+h|0)+18|0]!=6|e)){break s}d=d+ -1|0;continue}}e=i;f=e;if(d>>>0<=e>>>0){break q}f=i;if(r[(w(d,20)+h|0)+19|0]==2){break q}e=d;while(1){k=d+ -1|0;f=w(k,20)+h|0;if(r[f+19|0]==2){q[j+24>>2]=q[f+16>>2];v=q[f+12>>2];q[j+16>>2]=q[f+8>>2];q[j+20>>2]=v;v=q[f+4>>2];q[j+8>>2]=q[f>>2];q[j+12>>2]=v;sb(f,w(d,20)+h|0,w(e-k|0,20));d=w(e,20)+h|0;q[d+16>>2]=q[j+24>>2];f=q[j+20>>2];q[d+8>>2]=q[j+16>>2];q[d+12>>2]=f;f=q[j+12>>2];q[d>>2]=q[j+8>>2];q[d+4>>2]=f;b=b-(k>>>0>>0&b>>>0<=e>>>0)|0;d=b+1|0;d=d>>>0>>0?d:g;if(d-e>>>0>=2){kc(c,e,d)}e=e+ -1|0}d=k;if(d>>>0>i>>>0){continue}break}break p}f=i}e=f;while(1){if(r[(w(e,20)+h|0)+19|0]==2){d=b+1|0;d=d>>>0>>0?d:g;if(d-e>>>0<2){break p}kc(c,e,d);break h}e=e+1|0;if((e|0)!=(b|0)){continue}break}}if(m){break g}}k=w(i,20)+h|0;if(r[k+19|0]!=1|(r[k+18|0]==15|0)==((s[k+12>>1]&96)==32|0)){break g}f=q[q[n>>2]+16>>2];v:{w:{if((f|0)==12){break w}x:{y:{z:{d=l;if(d>>>0>>0){while(1){e=d+1|0;m=w(d,20)+h|0;if(r[m+18|0]==4?!(r[m+12|0]&32):0){break z}d=e;if((d|0)!=(b|0)){continue}break}}d=f+ -5|0;if(d>>>0>4){break w}switch(d-1|0){case 0:case 1:case 2:break w;case 3:break x;default:break y}}if(e>>>0>=b>>>0){break v}f=w(e,20)+h|0;if(r[f+12|0]&32){break v}m=e;e=r[f+18|0];d=e>>>0<32?1<>>0>>0?g:d)+ -1|0;e=b;while(1){A:{d=e;e=d+1|0;if(e>>>0>=g>>>0){d=f;break A}if(r[(w(e,20)+h|0)+19|0]<6){continue}}break}if(d>>>0>=g>>>0){break w}break v}d=b+1|0;f=(d>>>0>>0?g:d)+ -1|0;e=b;while(1){B:{d=e;e=d+1|0;if(e>>>0>=g>>>0){d=f;break B}m=r[(w(e,20)+h|0)+19|0];if(m>>>0>31|!(1<>>0>>0){break v}}C:{d=l;if(d>>>0>>0){while(1){e=d+1|0;f=w(d,20)+h|0;if(r[f+18|0]==4?!(r[f+12|0]&32):0){break C}d=e;if((d|0)!=(b|0)){continue}break}}d=g+ -1|0;e=d>>>0>i>>>0?i:d;d=g;while(1){D:{d=d+ -1|0;if(d>>>0<=i>>>0){d=e;break D}if(r[(w(d,20)+h|0)+19|0]==14){continue}}break}if(r[n+5|0]){break v}e=w(d,20)+h|0;if(r[e+12|0]&32|r[e+18|0]!=4){break v}e=b+1|0;if(e>>>0>=d>>>0){break v}while(1){f=w(e,20);e=e+1|0;d=d-(r[(f+h|0)+18|0]==7)|0;if(e>>>0>>0){continue}break}break v}if(e>>>0>=b>>>0){break v}f=w(e,20)+h|0;if(r[f+12|0]&32){break v}m=e;e=r[f+18|0];d=e>>>0<32?1<>>0>=2){kc(c,i,e)}q[j+24>>2]=q[k+16>>2];e=q[k+12>>2];q[j+16>>2]=q[k+8>>2];q[j+20>>2]=e;e=q[k+4>>2];q[j+8>>2]=q[k>>2];q[j+12>>2]=e;sb(k,w(l,20)+h|0,w(d-i|0,20));e=w(d,20)+h|0;q[e+16>>2]=q[j+24>>2];f=q[j+20>>2];q[e+8>>2]=q[j+16>>2];q[e+12>>2]=f;f=q[j+12>>2];q[e>>2]=q[j+8>>2];q[e+4>>2]=f;if(!t){break e}b=b-(b>>>0<=d>>>0&b>>>0>i>>>0)|0;break f}if(!t){break e}}d=b+1|0;if(d>>>0>=g>>>0){break e}e=q[n+88>>2];E:{F:{while(1){G:{f=w(d,20)+h|0;if(e&q[f+4>>2]){if((s[f+12>>1]&96)!=32){break e}e=q[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=b;if(b>>>0<=i>>>0){break F}while(1){e=b;b=b+ -1|0;k=w(b,20)+h|0;H:{if(r[k+12|0]&32){break H}k=r[k+18|0];if(k>>>0>31){break H}if(1<>>0>i>>>0){continue}break}e=i;break E}d=d+1|0;if((g|0)!=(d|0)){continue}break e}break}e=b}if(e>>>0<=i>>>0|e>>>0>=g>>>0){break E}b=w(e,20)+h|0;if(s[b+ -8>>1]&32|r[b+ -2|0]!=4|r[b+12|0]&32){break E}b=r[b+18|0];e=(b>>>0<32&(1<>>0>=2){kc(c,e,b)}q[j+24>>2]=q[f+16>>2];b=q[f+12>>2];q[j+16>>2]=q[f+8>>2];q[j+20>>2]=b;b=q[f+4>>2];q[j+8>>2]=q[f>>2];q[j+12>>2]=b;b=w(e,20)+h|0;sb(b+20|0,b,w(d-e|0,20));q[b+16>>2]=q[j+24>>2];d=q[j+20>>2];q[b+8>>2]=q[j+16>>2];q[b+12>>2]=d;d=q[j+12>>2];q[b>>2]=q[j+8>>2];q[b+4>>2]=d}b=w(i,20)+h|0;I:{if(r[b+19|0]!=2){break I}J:{if(i){d=i+ -1|0;if(1<<(s[(w(d,20)+h|0)+16>>1]&31)&8190){break J}}q[b+4>>2]=q[b+4>>2]|q[n+116>>2];break I}rb(c,d,l)}K:{if(!r[n+5|0]){break K}b=q[a+4>>2];if((b|0)==1399418472|(b|0)==1415671148|g-i>>>0<2){break K}kc(c,i,g)}e=q[c+76>>2];b=g+1|0;d=e>>>0>b>>>0?e:b;h=q[c+88>>2];i=r[(h+w(g,20)|0)+15|0];b=g;while(1){L:{b=b+1|0;if(b>>>0>=e>>>0){b=d;break L}if((i|0)==r[(w(b,20)+h|0)+15|0]){continue}}break}i=g;if(g>>>0>>0){continue}break}a=r[c+164|0];if(!(a&64)){break a}a=a<<24>>24;o[c+164|0]=a&191;if((a|0)>=0){break a}o[c+164|0]=a&63}Da=j+32|0;return}I(267387,267357,160,267372);F()}function ic(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;f=Da+ -64|0;Da=f;a:{b:{if(!q[b+8>>2]){if(!d){break a}q[b+8>>2]=64;o[b+4|0]=6;e=n[q[q[b+16>>2]>>2]](256)|0;q[b>>2]=e;if(!e){q[b+8>>2]=0;break a}Na(e,0,256);while(1){e=a;a=q[e+472>>2];if(a){continue}break}a=q[e+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;t=f+40|0;q[f+48>>2]=t;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=a^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=a^1852075885;q[f+20>>2]=1685025377;if(r[c|0]){e=c;while(1){j=j+1|0;a=r[e+1|0];e=e+1|0;if(a){continue}break}}u=c+j|0;B=f+48|0;j=c;while(1){c:{e=t;if(j>>>0>=u>>>0){break c}d:{e:{while(1){a=r[j|0];q[f+48>>2]=e+1;o[e|0]=a;e=q[f+48>>2];j=j+1|0;if((u|0)==(j|0)){break e}if(e>>>0>>0){continue}break}a=j;break d}a=u}if(e>>>0>>0){break c}m=a;q[f+48>>2]=t;e=q[f+60>>2];p=q[f+56>>2]+8|0;if(p>>>0<8){e=e+1|0}a=f;q[f+56>>2]=p;q[f+60>>2]=e;g=q[f+16>>2];p=q[f+20>>2];e=a0(g,p,13);i=Ea;h=e;e=q[f+12>>2]+p|0;l=g;g=q[f+8>>2];p=l+g|0;if(p>>>0>>0){e=e+1|0}C=p;h=h^p;g=i;i=e;p=g^e;w=a0(h,p,17);s=Ea;v=q[f+44>>2];y=v^q[f+36>>2];e=y+q[f+28>>2]|0;E=q[f+40>>2];x=E^q[f+32>>2];l=q[f+24>>2];g=x+l|0;if(g>>>0>>0){e=e+1|0}k=g;g=e;e=e+p|0;h=h+k|0;if(h>>>0>>0){e=e+1|0}z=h;h=h^w;l=e;p=e^s;w=a0(h,p,13);s=Ea;A=a0(x,y,16)^k;y=g^Ea;g=a0(C,i,32);i=g+A|0;e=Ea+y|0;k=i;g=i>>>0>>0?e+1|0:e;e=g+p|0;h=h+i|0;if(h>>>0>>0){e=e+1|0}x=h;h=h^w;i=e;p=e^s;w=a0(h,p,17);s=Ea;y=a0(A,y,21)^k;k=Ea^g;g=a0(z,l,32);l=g+y|0;e=Ea+k|0;e=l>>>0>>0?e+1|0:e;g=a;a=g;z=p;p=e;e=z+e|0;h=h+l|0;if(h>>>0>>0){e=e+1|0}q[a+16>>2]=h^w;q[g+20>>2]=e^s;Q=f,R=a0(h,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;l=a0(y,k,16)^l;h=p^Ea;p=a0(x,i,32);g=p+l|0;e=Ea+h|0;e=g>>>0

>>0?e+1|0:e;Q=f,R=a0(l,h,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^E;q[f+12>>2]=e^v;a=j>>>0>>0;j=m;if(a){continue}}break}u=bi(f+8|0)&q[b+8>>2]+ -1;break b}e=a;while(1){j=e;e=q[e+472>>2];if(e){continue}break}e=q[j+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;u=f+40|0;q[f+48>>2]=u;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=e^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=e^1852075885;q[f+20>>2]=1685025377;j=0;if(r[c|0]){e=c;while(1){j=j+1|0;m=r[e+1|0];e=e+1|0;if(m){continue}break}}s=c+j|0;G=f+48|0;j=c;while(1){f:{e=u;if(j>>>0>=s>>>0){break f}g:{h:{while(1){m=r[j|0];q[f+48>>2]=e+1;o[e|0]=m;e=q[f+48>>2];j=j+1|0;if((s|0)==(j|0)){break h}if(e>>>0>>0){continue}break}m=j;break g}m=s}if(e>>>0>>0){break f}p=m;q[f+48>>2]=u;e=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){e=e+1|0}m=f;q[f+56>>2]=g;q[f+60>>2]=e;h=q[f+16>>2];g=q[f+20>>2];e=a0(h,g,13);l=Ea;i=e;e=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){e=e+1|0}A=g;i=i^g;g=l;l=e;g=g^e;x=a0(i,g,17);w=Ea;C=q[f+44>>2];v=C^q[f+36>>2];e=v+q[f+28>>2]|0;y=q[f+40>>2];z=y^q[f+32>>2];k=q[f+24>>2];h=z+k|0;if(h>>>0>>0){e=e+1|0}t=h;h=e;e=e+g|0;g=t;i=g+i|0;if(i>>>0>>0){e=e+1|0}E=i;i=i^x;k=e;g=e^w;x=a0(i,g,13);w=Ea;H=a0(z,v,16)^t;v=h^Ea;h=a0(A,l,32);l=h+H|0;e=Ea+v|0;t=l;h=l>>>0>>0?e+1|0:e;e=h+g|0;g=l;i=g+i|0;if(i>>>0>>0){e=e+1|0}z=i;i=i^x;l=e;g=e^w;x=a0(i,g,17);w=Ea;v=a0(H,v,21)^t;t=Ea^h;h=a0(E,k,32);k=h+v|0;e=Ea+t|0;e=k>>>0>>0?e+1|0:e;h=m;m=h;A=g;g=e;e=A+e|0;i=k+i|0;if(i>>>0>>0){e=e+1|0}q[m+16>>2]=i^x;q[h+20>>2]=e^w;Q=f,R=a0(i,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;k=a0(v,t,16)^k;i=g^Ea;g=a0(z,l,32);h=g+k|0;e=Ea+i|0;e=h>>>0>>0?e+1|0:e;g=h;Q=f,R=a0(k,i,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^y;q[f+12>>2]=e^C;e=j>>>0>>0;j=p;if(e){continue}}break}I=bi(f+8|0);k=q[b+8>>2];e=k+ -1|0;u=I&e;l=q[b>>2];t=q[(u<<2)+l>>2];if(t){i=e>>>2|0;h=0-k&I;m=r[c|0];g=m;while(1){e=m;j=c;s=q[t>>2];if((g|0)==r[s|0]){while(1){if(!(e&255)){break a}p=r[s+1|0];e=r[j+1|0];s=s+1|0;j=j+1|0;if((e|0)==(p|0)){continue}break}}B=B&255?B:i&h>>>r[b+4|0]+ -1|1;e=B&255;u=(u-e|0)+(u>>>0>>0?k:0)|0;t=q[l+(u<<2)>>2];if(t){continue}break}}t=0;if(!d){break a}e=r[b+4|0];if(!(q[b+12>>2]>>>e+ -1)){break b}M=e+1|0;K=M&255;D=1<>2]>>2]](j)|0;if(!e){break a}J=D+ -1|0;F=Na(e,0,j);e=q[b+8>>2];if(e){P=J>>>2|0;G=K+ -1|0;H=0-D|0;N=f+48|0;u=f+40|0;while(1){B=L<<2;j=q[B+q[b>>2]>>2];if(j){j=q[j>>2];e=a;while(1){m=e;e=q[e+472>>2];if(e){continue}break}e=q[m+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=u;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=e^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=e^1852075885;q[f+20>>2]=1685025377;s=0;e=j;if(r[e|0]){while(1){s=s+1|0;m=r[e+1|0];e=e+1|0;if(m){continue}break}}s=j+s|0;while(1){i:{e=u;if(j>>>0>=s>>>0){break i}j:{k:{while(1){m=r[j|0];q[f+48>>2]=e+1;o[e|0]=m;e=q[f+48>>2];j=j+1|0;if((s|0)==(j|0)){break k}if(e>>>0>>0){continue}break}m=j;break j}m=s}if(e>>>0>>0){break i}p=m;q[f+48>>2]=u;e=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){e=e+1|0}m=f;q[f+56>>2]=g;q[f+60>>2]=e;h=q[f+16>>2];g=q[f+20>>2];e=a0(h,g,13);l=Ea;i=e;e=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){e=e+1|0}A=g;i=i^g;g=l;l=e;g=g^e;x=a0(i,g,17);w=Ea;C=q[f+44>>2];v=C^q[f+36>>2];e=v+q[f+28>>2]|0;y=q[f+40>>2];z=y^q[f+32>>2];k=q[f+24>>2];h=z+k|0;if(h>>>0>>0){e=e+1|0}t=h;h=e;e=e+g|0;g=t;i=g+i|0;if(i>>>0>>0){e=e+1|0}E=i;i=i^x;k=e;g=e^w;x=a0(i,g,13);w=Ea;O=a0(z,v,16)^t;v=h^Ea;h=a0(A,l,32);l=h+O|0;e=Ea+v|0;t=l;h=l>>>0>>0?e+1|0:e;e=h+g|0;g=l;i=g+i|0;if(i>>>0>>0){e=e+1|0}z=i;i=i^x;l=e;g=e^w;x=a0(i,g,17);w=Ea;v=a0(O,v,21)^t;t=Ea^h;h=a0(E,k,32);k=h+v|0;e=Ea+t|0;e=k>>>0>>0?e+1|0:e;h=m;m=h;A=g;g=e;e=A+e|0;i=k+i|0;if(i>>>0>>0){e=e+1|0}q[m+16>>2]=i^x;q[h+20>>2]=e^w;Q=f,R=a0(i,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;k=a0(v,t,16)^k;i=g^Ea;g=a0(z,l,32);h=g+k|0;e=Ea+i|0;e=h>>>0>>0?e+1|0:e;g=h;Q=f,R=a0(k,i,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^y;q[f+12>>2]=e^C;e=j>>>0>>0;j=p;if(e){continue}}break}j=bi(f+8|0);e=j&J;s=F+(e<<2)|0;if(q[s>>2]){p=P&(j&H)>>>G|1;j=0;while(1){j=j&255?j:p;m=j&255;e=(e-m|0)+(e>>>0>>0?D:0)|0;s=F+(e<<2)|0;if(q[s>>2]){continue}break}}q[s>>2]=q[q[b>>2]+B>>2];e=q[b+8>>2]}L=L+1|0;if(L>>>0>>0){continue}break}}n[q[q[b+16>>2]+8>>2]](q[b>>2]);q[b+8>>2]=D;o[b+4|0]=M;q[b>>2]=F;u=J&I;if(!q[F+(u<<2)>>2]){break b}j=(0-D&I)>>>K+ -1&J>>>2|1;e=0;while(1){e=e&255?e:j;a=e&255;u=(u-a|0)+(u>>>0>>0?D:0)|0;if(q[F+(u<<2)>>2]){continue}break}}a=n[q[q[b+16>>2]>>2]](d)|0;e=u<<2;q[e+q[b>>2]>>2]=a;a=q[e+q[b>>2]>>2];if(!a){t=0;break a}Na(a,0,d);q[q[e+q[b>>2]>>2]>>2]=c;q[b+12>>2]=q[b+12>>2]+1;t=q[e+q[b>>2]>>2]}Da=f- -64|0;return t}function mt(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,p=0,s=0,t=0;g=Da-96|0;Da=g;while(1){a:{b:{c:{d:{e=b;c=r[e|0];b=c+ -10|0;if(b>>>0>3){if((c|0)!=239|r[e+1|0]!=187){break d}j=3;b=e;if(r[e+2|0]!=191){break c}break b}j=1;switch(b-1|0){case 0:case 1:break d;default:break b}}b=e}while(1){c=c&255;if(!(1<>>0<=13:0)){c=r[b+1|0];b=b+1|0;continue}break}e:{if((b|0)!=(e|0)){if(c){o[b|0]=0;b=b+1|0}f:{if(!Ce(e,2161,13)){q[q[a+88>>2]>>2]=1;break f}if(!Ce(e,2175,11)){q[q[a+88>>2]>>2]=2;q[a+32>>2]=2;break f}if(!Ce(e,2187,12)){q[q[a+88>>2]>>2]=2;q[a+32>>2]=1;break f}if(!Ce(e,2200,8)){q[q[a+88>>2]>>2]=3;break f}d=Ce(e,2209,7);c=q[a+88>>2];if(!d){q[c>>2]=4;break f}d=q[c>>2]+ -1|0;if(d>>>0>3){break f}g:{switch(d-1|0){default:if(!Ra(e,2217,9)){p=a,s=Bb(e+9|0),q[p+36>>2]=s;break f}if(!Ra(e,2227,9)){p=a,s=Bb(e+9|0),q[p+40>>2]=s;break f}if(!Ra(e,2237,6)){p=a,t=xc(e+6|0,0),v[p+48>>3]=t;break f}if(!Ra(e,2244,10)){p=a,s=Bb(e+10|0),q[p+56>>2]=s;break f}if(!Ra(e,2255,22)){p=a,s=Fi(e+22|0),q[p+60>>2]=s;break f}if(!Ra(e,2278,8)){p=a,s=Fi(e+8|0),q[p+64>>2]=s;break f}if(!Ra(e,2287,13)){p=a,s=ds(e+13|0),q[p+72>>2]=s;break f}if(Ra(e,2301,9)){break f}j=e+9|0;e=r[e+9|0];h:{if(!e){break h}while(1){c=j;d=e<<24>>24;if(!(d+ -9>>>0<4|(d|0)==32|(e&255)==13)){break h}j=c+1|0;e=r[c+1|0];if(e){continue}break}}La(q[a+68>>2]);p=a,s=Fg(j,2),q[p+68>>2]=s;break f;case 0:if(!Ra(e,2311,7)){q[g+92>>2]=e+7;fd(g+92|0);La(q[a+24>>2]);c=eb(q[g+92>>2]);q[a+24>>2]=c;e=q[a+84>>2];q[g>>2]=c;hb(e,7,2319,g);break f}if(Ra(e,2336,6)){break f}q[g+88>>2]=e+6;fd(g+88|0);e=q[g+88>>2];c=q[a+24>>2];if(!c){d=a;i:{if(q[a+32>>2]==2){c=eb(2343);break i}c=eb(2530)}q[d+24>>2]=c}m=eb(c);if(!q[a>>2]){c=q[a+4>>2];if((c|0)<=-1){break a}d=a;j:{if(c){h=q[a+16>>2];c=0;break j}q[a+4>>2]=20;h=db(q[a+16>>2],2880);q[a+16>>2]=h;c=q[a>>2]}q[d>>2]=c+1;d=w(c,144);Na(d+h|0,0,144);d=d+q[a+16>>2]|0;p=d,s=eb(2777),q[p>>2]=s;h=eb(2785);q[d+116>>2]=20;q[d+104>>2]=2;q[d+96>>2]=0;q[d+100>>2]=1074266112;q[d+88>>2]=0;q[d+92>>2]=1073741824;q[d+80>>2]=1;q[d+64>>2]=0;q[d+68>>2]=0;q[d+56>>2]=0;q[d+60>>2]=1072693248;q[d+48>>2]=0;q[d+52>>2]=1072693248;q[d+32>>2]=200;q[d+24>>2]=0;q[d+28>>2]=128;q[d+16>>2]=-256;q[d+20>>2]=16776960;q[d+8>>2]=0;q[d+12>>2]=1077018624;q[d+4>>2]=h;q[d+108>>2]=20;q[d+112>>2]=20;q[a+76>>2]=c}c=q[a+84>>2];q[g+20>>2]=e;q[g+16>>2]=a;hb(c,6,2757,g+16|0);l=q[a>>2];c=q[a+4>>2];if((l|0)>(c|0)){break a}k:{if((c|0)!=(l|0)){c=q[a+16>>2];break k}c=l+20|0;q[a+4>>2]=c;c=db(q[a+16>>2],w(c,144));q[a+16>>2]=c;l=q[a>>2]}q[a>>2]=l+1;d=c;c=w(l,144);Na(d+c|0,0,144);f=c+q[a+16>>2]|0;q[f+56>>2]=0;q[f+60>>2]=1079574528;q[f+48>>2]=0;q[f+52>>2]=1079574528;q[g+92>>2]=m;fd(g+92|0);i=q[g+92>>2];j=r[i|0];l:{if(!j){break l}n=f- -64|0;while(1){c=i;m:{while(1){d=j&255;if(!d){break m}if((d|0)!=44){d=c+1|0;q[g+92>>2]=d;j=r[c+1|0];c=d;continue}break}o[c|0]=0;c=q[g+92>>2]+1|0}nb(g+92|0,i);o[q[g+92>>2]]=0;q[g+92>>2]=e;fd(g+92|0);h=q[g+92>>2];e=h;j=r[e|0];if(!j){break l}n:{while(1){d=j&255;if(!d){break n}if((d|0)!=44){d=e+1|0;q[g+92>>2]=d;j=r[e+1|0];e=d;continue}break}o[e|0]=0;e=q[g+92>>2]+1|0}nb(g+92|0,h);o[q[g+92>>2]]=0;if(!h){break l}o:{if(!fb(i,2772)){d=q[f>>2];if(d){La(d)}while(1){d=h;h=d+1|0;if(r[d|0]==42){continue}break}d=eb(d);q[f>>2]=d;if(Ta(d,2777)){break o}q[a+76>>2]=l;break o}if(!fb(i,1617)){d=q[f+4>>2];if(d){La(d)}p=f,s=eb(h),q[p+4>>2]=s;break o}if(!fb(i,1626)){p=f,s=df(h),q[p+16>>2]=s;break o}if(!fb(i,1640)){p=f,s=df(h),q[p+20>>2]=s;break o}if(!fb(i,1656)){p=f,s=df(h),q[p+24>>2]=s;break o}if(!fb(i,1670)){d=df(h);q[f+28>>2]=d;if(q[a+32>>2]!=2){break o}q[f+24>>2]=d;break o}if(!fb(i,1681)){p=f,t=xc(h,0),v[p+8>>3]=t;break o}if(!fb(i,1690)){p=f,s=Bb(h),q[p+32>>2]=s;break o}if(!fb(i,1695)){p=f,s=Bb(h),q[p+36>>2]=s;break o}if(!fb(i,1702)){p=f,s=Bb(h),q[p+40>>2]=s;break o}if(!fb(i,1712)){p=f,s=Bb(h),q[p+44>>2]=s;break o}if(!fb(i,1722)){p=n,t=xc(h,0),v[p>>3]=t;break o}if(!fb(i,1730)){p=f,t=xc(h,0),v[p+72>>3]=t;break o}if(!fb(i,1736)){p=f,s=Bb(h),q[p+80>>2]=s;break o}if(!fb(i,1748)){d=Bb(h);q[f+104>>2]=d;if(q[a+32>>2]==1){p=f,s=cs(d),q[p+104>>2]=s;break o}d=d+ -4|0;if(d>>>0>4){break o}p:{switch(d-1|0){case 3:q[f+104>>2]=3;break o;case 0:case 1:case 2:break o;default:break p}}q[f+104>>2]=11;break o}if(!fb(i,1766)){p=f,s=Bb(h),q[p+108>>2]=s;break o}if(!fb(i,1774)){p=f,s=Bb(h),q[p+112>>2]=s;break o}if(!fb(i,1782)){p=f,s=Bb(h),q[p+116>>2]=s;break o}if(!fb(i,1790)){p=f,s=Bb(h),q[p+120>>2]=s;break o}if(!fb(i,1799)){p=f,t=xc(h,0),v[p+48>>3]=t;break o}if(!fb(i,1806)){p=f,t=xc(h,0),v[p+56>>3]=t;break o}if(!fb(i,1813)){p=f,t=xc(h,0),v[p+88>>3]=t;break o}if(fb(i,1821)){break o}p=f,t=xc(h,0),v[p+96>>3]=t}q[g+92>>2]=c;fd(g+92|0);i=q[g+92>>2];j=r[i|0];if(j){continue}break}}k=v[f+48>>3];v[f+48>>3]=(k>0?k:0)/100;k=v[f+56>>3];v[f+56>>3]=(k>0?k:0)/100;q[f+32>>2]=q[f+32>>2]!=0;q[f+36>>2]=q[f+36>>2]!=0;q[f+40>>2]=q[f+40>>2]!=0;q[f+44>>2]=q[f+44>>2]!=0;k=v[f+64>>3];v[f+64>>3]=k>0?k:0;k=v[f+88>>3];v[f+88>>3]=k>0?k:0;k=v[f+96>>3];v[f+96>>3]=k>0?k:0;if(!q[f>>2]){p=f,s=eb(2777),q[p>>2]=s}if(!q[f+4>>2]){p=f,s=eb(2785),q[p+4>>2]=s}La(m);break f;case 1:q[g+92>>2]=e;if(!Ra(e,2311,7)){q[g+88>>2]=e+7;fd(g+88|0);La(q[a+28>>2]);c=eb(q[g+88>>2]);q[a+28>>2]=c;e=q[a+84>>2];q[g+32>>2]=c;hb(e,7,2791,g+32|0);break f}if(!Ra(e,2808,9)){q[g+92>>2]=e+9;fd(g+92|0);c=q[a+8>>2];e=q[a+12>>2];if((c|0)>(e|0)){break e}q:{if((c|0)!=(e|0)){e=q[a+20>>2];break q}c=c<<1|1;q[a+12>>2]=c;e=db(q[a+20>>2],w(c,56));q[a+20>>2]=e;c=q[a+8>>2]}q[a+8>>2]=c+1;d=e;e=w(c,56);c=d+e|0;q[c>>2]=0;q[c+4>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=e+q[a+20>>2]|0;if(!q[a+28>>2]){q[q[a+88>>2]>>2]=3;p=a,s=eb(q[a+32>>2]==2?2995:3068),q[p+28>>2]=s;hb(q[a+84>>2],6,3141,0)}xS(a,c,q[g+92>>2]);break f}c=q[a+84>>2];q[g+48>>2]=e;hb(c,6,2818,g+48|0);break f;case 2:break g}}if(!Ra(e,2842,9)){q[g+92>>2]=e+9;fd(g+92|0);if(q[q[a+88>>2]+4>>2]){gt(a)}c=eb(q[g+92>>2]);q[q[a+88>>2]+4>>2]=c;e=q[a+84>>2];q[g+64>>2]=c;hb(e,6,2852,g- -64|0);break f}if(!q[c+4>>2]){c=q[a+84>>2];q[g+80>>2]=e;hb(c,6,2865,g+80|0);break f}h=q[c+16>>2];d=Wa(e);i=q[c+12>>2];r:{if((h+d|0)<=(i|0)){c=q[c+8>>2];break r}h=i+((d|0)>102400?d:102400)|0;q[c+12>>2]=h;c=db(q[c+8>>2],h);h=q[a+88>>2];q[h+8>>2]=c;h=q[h+16>>2]}Qa(c+h|0,e,d);c=q[a+88>>2];q[c+16>>2]=d+q[c+16>>2]}if(r[b|0]){continue}}if(q[q[a+88>>2]+4>>2]){gt(a)}Da=g+96|0;return}I(1487,1465,126,1524);F()}b=e+j|0;continue}break}I(1428,1465,104,1471);F()}function ST(a,b,c){a=a|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,s=0;k=Da-16|0;Da=k;i=q[c+88>>2];h=5;f=1;b=0;j=q[c+76>>2];d=0;a:{if(j){break a}d=1}while(1){b:{c:{d:{e:{if(!d){l=h<<1;n=p[l+263312>>1]+261584|0;d=o[h+263472|0];e=r[h+263904|0]==7?b:e;h=r[(i+w(b,20)|0)+18|0];s=r[l+261424|0];if(h>>>0>=s>>>0){d=h>>>0>r[l+261425|0]?d:h-s|0}d=o[d+n|0];break e}if((h|0)==5){break d}b=j;d=p[(h<<1)+263744>>1]+ -1|0}h=o[d+263552|0];d=o[d+263648|0];f:{if(!d){break f}d=d+ -1|0;if(d>>>0>20){break f}g:{h:{switch(d-1|0){case 3:g=b+1|0;break f;case 10:g=b+1|0;if(e>>>0>>0){l=f<<4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=l;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 12:g=b+1|0;if(e>>>0>>0){l=f<<4|3;d=e;while(1){o[(i+w(d,20)|0)+15|0]=l;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 8:g=b+1|0;if(e>>>0>>0){l=f<<4|7;d=e;while(1){o[(i+w(d,20)|0)+15|0]=l;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 6:g=b+1|0;if(e>>>0>>0){l=f<<4|8;d=e;while(1){o[(i+w(d,20)|0)+15|0]=l;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 9:if(e>>>0>>0){g=f<<4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 13:if(e>>>0>>0){g=f<<4|1;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 14:if(e>>>0>>0){g=f<<4|2;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 11:if(e>>>0>>0){g=f<<4|3;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 16:if(e>>>0>>0){g=f<<4|4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 15:if(e>>>0>>0){g=f<<4|5;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 17:if(e>>>0>>0){g=f<<4|6;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 18:if(e>>>0>>0){g=f<<4|7;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 19:if(e>>>0>>0){g=f<<4|8;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;default:if(e>>>0>>0){d=f<<4|3;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 2:if(e>>>0>>0){d=f<<4|7;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 0:d=m+ -8|0;if(d>>>0>1){break f}if(d-1){if(e>>>0>>0){d=f<<4|7;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;m=8;break f}if(e>>>0>>0){d=f<<4|8;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break g;case 1:g=b+1|0;m=8;break f;case 4:case 5:break f;case 7:break h}}g=b+1|0}m=9}e=r[h+263984|0]==6?0:e;b=b+1|0;if((j|0)!=(b|0)){break c}d=1;continue}h=q[c+76>>2];if(!h){g=0;break b}d=h+ -1|0;b=0;e=q[c+88>>2];g=r[e+15|0];while(1){i:{if((b|0)==(d|0)){b=h;break i}b=b+1|0;if((g|0)==r[(e+w(b,20)|0)+15|0]){continue}}break}d=0;g=h;while(1){e=b;if(b-d>>>0>=2){rb(c,d,e);g=q[c+76>>2]}b=e+1|0;d=g>>>0>b>>>0?g:b;j=d+ -1|0;f=q[c+88>>2];i=r[(f+w(e,20)|0)+15|0];b=e;while(1){j:{if((b|0)==(j|0)){b=d;break j}b=b+1|0;if((i|0)==r[(f+w(b,20)|0)+15|0]){continue}}break}d=e;if(d>>>0>>0){continue}break}break b}d=0;continue}break}j=q[a+112>>2];f=q[j>>2];if(!(!f|!g)){b=g+ -1|0;d=0;h=q[c+88>>2];e=r[h+15|0];while(1){k:{if((b|0)==(d|0)){d=g;break k}d=d+1|0;if((e|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}b=0;while(1){e=d;d=d-b|0;d=(r[(h+w(b,20)|0)+18|0]==18?1:d>>>0<3?d:3)+b|0;if(b>>>0>>0){while(1){i=h+w(b,20)|0;q[i+4>>2]=f|q[i+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=e+1|0;b=g>>>0>b>>>0?g:b;i=b+ -1|0;m=r[(h+w(e,20)|0)+15|0];d=e;while(1){l:{if((d|0)==(i|0)){d=b;break l}d=d+1|0;if((m|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}b=e;if(b>>>0>>0){continue}break}}m:{if(q[j+4>>2]){break m}j=q[a+36>>2];b=k;d=q[a+44>>2];n:{o:{if((d|0)>=1){a=q[a+48>>2];e=0;d=d+ -1|0;h=d;p:{q:{while(1){f=e+h>>>1|0;i=q[a+w(f,36)>>2];r:{if(i>>>0>=1769172845){h=f+ -1|0;break r}if((i|0)==1769172844){break q}e=f+1|0}if((e|0)<=(h|0)){continue}break}h=0;break p}h=q[(a+w(f,36)|0)+28>>2]}e=0;i=(h|0)==(j|0)?0:h;q[k>>2]=i;h=d;s:{while(1){f=e+h>>>1|0;m=q[a+w(f,36)>>2];t:{if(m>>>0<=1768843636){e=q[(a+w(f,36)|0)+28>>2];if((m|0)==1768843636){break s}e=f+1|0;break t}h=f+ -1|0}if((e|0)<=(h|0)){continue}break}e=0}h=e;e=0;h=(h|0)==(j|0)?0:h;q[k+4>>2]=h;i=h|i;h=d;u:{while(1){f=e+h>>>1|0;m=q[a+w(f,36)>>2];v:{if(m>>>0<=1835361385){e=q[(a+w(f,36)|0)+28>>2];if((m|0)==1835361385){break u}e=f+1|0;break v}h=f+ -1|0}if((e|0)<=(h|0)){continue}break}e=0}h=0;e=(e|0)==(j|0)?0:e;q[k+8>>2]=e;e=e|i;while(1){f=d+h>>>1|0;i=q[a+w(f,36)>>2];w:{if(i>>>0<=1718185569){h=q[(a+w(f,36)|0)+28>>2];if((i|0)==1718185569){break n}h=f+1|0;break w}d=f+ -1|0}if((h|0)<=(d|0)){continue}break}break o}e=0;q[k+8>>2]=0;q[k>>2]=0;q[k+4>>2]=0}h=0}a=h;a=(a|0)==(j|0)?0:a;q[b+12>>2]=a;a=a|e;if(!a|!g){break m}i=a^-1;a=g+ -1|0;b=0;f=q[c+88>>2];e=r[f+15|0];c=e;while(1){x:{if((a|0)==(b|0)){b=g;break x}b=b+1|0;if((c|0)==r[(f+w(b,20)|0)+15|0]){continue}}break}d=0;h=0;j=4;while(1){a=d;d=b;b=e&15;y:{if(b>>>0>8){break y}if(!(1<>>0>3){break z}A:{switch(j-1|0){case 0:case 1:break z;default:break A}}if(h>>>0>=a>>>0){break z}b=q[((b?8:4)|k)>>2];while(1){e=f+w(h,20)|0;q[e+4>>2]=b|i&q[e+4>>2];h=h+1|0;if((a|0)!=(h|0)){continue}break}}j=c?3:0;if(a>>>0>=d>>>0){break y}c=q[(j<<2|k)>>2];b=a;while(1){e=f+w(b,20)|0;q[e+4>>2]=c|i&q[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=d+1|0;c=g>>>0>b>>>0?g:b;h=c+ -1|0;e=r[(f+w(d,20)|0)+15|0];b=d;while(1){B:{if((b|0)==(h|0)){b=c;break B}b=b+1|0;if(r[(f+w(b,20)|0)+15|0]==(e&255)){continue}}break}h=a;if(d>>>0>>0){continue}break}}Da=k+16|0}function WT(a,b,c){a=a|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=Da-32|0;Da=g;a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}q[b+72>>2]=0;l=q[b+76>>2];a:{b:{if(!l){break b}while(1){if(!r[b+68|0]){break b}j=q[b+88>>2];a=q[j+w(d,20)>>2];c:{if((a&-2)==12334){d:{if(!(q[b+80>>2]!=(f|0)|f>>>0<=i>>>0)){Zc(b,i,d);e:{if(r[b+69|0]){f:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break f}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;k=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=k;q[e+16>>2]=q[d+16>>2];j=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=j;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}d=g+8|0;q[d>>2]=0;e=a;a=q[c+72>>2];if(n[q[a+156>>2]](c,q[c+76>>2],e,d,q[a+20>>2])){a=q[c+72>>2];if(!n[q[a+168>>2]](c,q[c+76>>2],q[g+8>>2],q[a+32>>2])){break d}}gf(b,i,f+1|0);d=q[b+92>>2];a=d+w(f,20)|0;q[g+24>>2]=q[a+16>>2];e=q[a+12>>2];q[g+16>>2]=q[a+8>>2];q[g+20>>2]=e;e=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=e;a=d+w(i,20)|0;sb(a+20|0,a,w(f-i|0,20));q[a+16>>2]=q[g+24>>2];f=q[g+20>>2];q[a+8>>2]=q[g+16>>2];q[a+12>>2]=f;f=q[g+12>>2];q[a>>2]=q[g+8>>2];q[a+4>>2]=f;break d}g:{if(r[b+16|0]&16){break g}q[g+8>>2]=0;f=q[c+72>>2];if(!n[q[f+156>>2]](c,q[c+76>>2],9676,g+8|0,q[f+20>>2])){break g}f=g+8|0;q[f>>2]=0;e=f;f=q[c+72>>2];h:{if(!n[q[f+156>>2]](c,q[c+76>>2],a,e,q[f+20>>2])){d=9676;break h}f=q[c+72>>2];f=n[q[f+168>>2]](c,q[c+76>>2],q[g+8>>2],q[f+32>>2])|0;d=f?9676:a;a=f?a:9676}q[g+12>>2]=d;q[g+8>>2]=a;ch(b,1,2,g+8|0);break d}if(r[b+69|0]){i:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break i}}if(!Va(b,1,1)){break d}f=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[f+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[f>>2];q[a+4>>2]=d;q[a+16>>2]=q[f+16>>2];d=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=d;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}i=q[b+80>>2];f=i;break c}i=q[b+80>>2];j:{k:{m=a+ -4352|0;if(a+ -43360>>>0>28?m>>>0>=96:0){break k}e=d+1|0;if(e>>>0>=l>>>0){break k}e=q[j+w(e,20)>>2];if(e+ -55216>>>0>22?e+ -4448>>>0>=72:0){break j}k=0;f=0;h=d+2|0;if(h>>>0>>0){j=q[j+w(h,20)>>2];k=j+ -4520>>>0<88|j+ -55243>>>0<49;f=k?j:0;k=k?j+ -4519|0:0}h=d;d=f?3:2;rb(b,h,h+d|0);l:{if(m>>>0>18|e+ -4449>>>0>20|(f+ -4520>>>0>26?f:0)){break l}a=((w(a,588)+w(e,28)|0)+k|0)+ -2639516|0;q[g+28>>2]=a;q[g+8>>2]=0;e=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],e,g+8|0,q[a+20>>2])){break l}ch(b,d,1,g+28|0);if(r[b+68|0]!=1){break a}f=i+1|0;break c}o[(q[b+88>>2]+w(q[b+72>>2],20)|0)+18|0]=1;m:{if(r[b+69|0]){n:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break n}}if(!Va(b,1,1)){a=q[b+72>>2];break m}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}a=q[b+72>>2]+1|0;q[b+72>>2]=a}o[(q[b+88>>2]+w(a,20)|0)+18|0]=2;o:{if(r[b+69|0]){p:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break p}}if(!Va(b,1,1)){break o}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}if(f){o[(q[b+88>>2]+w(q[b+72>>2],20)|0)+18|0]=3;q:{if(r[b+69|0]){r:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break r}}if(!Va(b,1,1)){break q}f=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[f+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[f>>2];q[a+4>>2]=d;q[a+16>>2]=q[f+16>>2];d=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=d;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}a=3}else{a=2}f=a+i|0;if(q[b+20>>2]){break c}gf(b,i,f);break c}e=a+ -44032|0;if(e>>>0>11171){break j}q[g+8>>2]=0;d=q[c+72>>2];d=n[q[d+156>>2]](c,q[c+76>>2],a,g+8|0,q[d+20>>2])|0;k=((e&65535)>>>0)/588|0;e=e-w(k,588)|0;j=((e&65535)>>>0)/28|0;m=e-w(j,28)|0;e=m&65535;s:{t:{if(!e){u:{h=q[b+72>>2]+1|0;v:{if(h>>>0>=l>>>0){break v}h=q[q[b+88>>2]+w(h,20)>>2];if(h+ -4520>>>0>26){break v}a=(a+h|0)+ -4519|0;q[g+28>>2]=a;q[g+8>>2]=0;h=a;a=q[c+72>>2];if(n[q[a+156>>2]](c,q[c+76>>2],h,g+8|0,q[a+20>>2])){break u}a=q[b+72>>2];rb(b,a,a+2|0)}if(!d){break t}a=q[b+72>>2]+1|0;if(a>>>0>=l>>>0){break s}a=q[q[b+88>>2]+w(a,20)>>2];if(a+ -4520>>>0<88|a+ -55243>>>0<=48){break t}break s}ch(b,2,1,g+28|0);if(r[b+68|0]!=1){break a}f=i+1|0;break c}if(d){break s}}q[g+12>>2]=j+4449;a=k|4352;q[g+8>>2]=a;q[g+16>>2]=m+4519&65535;q[g+28>>2]=0;w:{x:{h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break x}a=q[g+12>>2];q[g+28>>2]=0;h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break x}if(e){a=q[g+16>>2];q[g+28>>2]=0;h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break w}}a=e?3:2;ch(b,1,a,g+8|0);if(!(!d|e)){y:{if(r[b+69|0]){z:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break z}}if(!Va(b,1,1)){break y}f=q[b+88>>2]+w(q[b+72>>2],20)|0;j=q[f+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[f>>2];q[d+4>>2]=j;q[d+16>>2]=q[f+16>>2];e=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=e;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}a=a+1|0}if(r[b+68|0]!=1){break a}d=q[b+92>>2];f=d+w(i,20)|0;o[f+38|0]=2;o[f+18|0]=1;e=i+2|0;f=a+i|0;if(e>>>0>>0){o[(d+w(e,20)|0)+18|0]=3}if(q[b+20>>2]){break c}gf(b,i,f);break c}if(e){break w}a=q[b+72>>2];e=a+1|0;if(e>>>0>=l>>>0){break w}e=q[q[b+88>>2]+w(e,20)>>2];if(e+ -55243>>>0>48?e+ -4520>>>0>=88:0){break w}rb(b,a,a+2|0)}if(!d){break j}}f=i+1|0;if(r[b+69|0]){A:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break A}}if(!Va(b,1,1)){break c}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break c}if(r[b+69|0]){B:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break B}}if(!Va(b,1,1)){break c}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}d=q[b+72>>2];if(d>>>0>>0){continue}break}}Kc(b)}Da=g+32|0;return}I(255392,255364,150,255379);F()}function XM(a,b,c,d){a=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,q=0,r=0,t=0,u=0,v=0;e=Da+ -64|0;q=d<<4;r=w(c+15&-16,d);u=c<<1;v=u+4|0;if(v>>>0>=17){k=q<<1;l=16;while(1){a:{if(!d){o=a;break a}o=a+k|0;t=0;c=n;while(1){f=c-q|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[e>>1]=s[f>>1];p[e+2>>1]=s[f+2>>1];p[e+4>>1]=s[f+4>>1];p[e+6>>1]=s[f+6>>1];p[e+8>>1]=s[f+8>>1];p[e+10>>1]=s[f+10>>1];p[e+12>>1]=s[f+12>>1];p[e+14>>1]=s[f+14>>1];p[e+16>>1]=s[f+16>>1];p[e+18>>1]=s[f+18>>1];p[e+20>>1]=s[f+20>>1];p[e+22>>1]=s[f+22>>1];p[e+24>>1]=s[f+24>>1];p[e+26>>1]=s[f+26>>1];g=s[f+28>>1];p[e+28>>1]=g;h=s[f+30>>1];p[e+30>>1]=h;f=c>>>0>>0?(c<<1)+b|0:438160;i=s[f>>1];p[e+32>>1]=i;p[e+34>>1]=s[f+2>>1];p[e+36>>1]=s[f+4>>1];p[e+38>>1]=s[f+6>>1];p[e+40>>1]=s[f+8>>1];p[e+42>>1]=s[f+10>>1];p[e+44>>1]=s[f+12>>1];p[e+46>>1]=s[f+14>>1];p[e+48>>1]=s[f+16>>1];p[e+50>>1]=s[f+18>>1];p[e+52>>1]=s[f+20>>1];p[e+54>>1]=s[f+22>>1];p[e+56>>1]=s[f+24>>1];p[e+58>>1]=s[f+26>>1];p[e+60>>1]=s[f+28>>1];p[e+62>>1]=s[f+30>>1];f=(h+((g+i&65534)>>>1|0)&65534)>>>1|0;h=h+1|0;p[a+2>>1]=(((f+i&65534)>>>1|0)+h&65534)>>>1;p[a>>1]=(h+((f+g&65534)>>>1|0)&65534)>>>1;i=s[e+32>>1];g=s[e+34>>1];h=s[e+30>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+6>>1]=(j+g&65534)>>>1;p[a+4>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+34>>1];g=s[e+36>>1];h=s[e+32>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+10>>1]=(j+g&65534)>>>1;p[a+8>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+36>>1];g=s[e+38>>1];h=s[e+34>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+14>>1]=(j+g&65534)>>>1;p[a+12>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+38>>1];g=s[e+40>>1];h=s[e+36>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+18>>1]=(j+g&65534)>>>1;p[a+16>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+40>>1];g=s[e+42>>1];h=s[e+38>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+22>>1]=(j+g&65534)>>>1;p[a+20>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+42>>1];g=s[e+44>>1];h=s[e+40>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+26>>1]=(j+g&65534)>>>1;p[a+24>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;i=s[e+44>>1];g=s[e+46>>1];h=s[e+42>>1];f=(i+((g+h&65534)>>>1|0)&65534)>>>1|0;j=(f+g&65534)>>>1|0;g=i+1|0;p[a+30>>1]=(j+g&65534)>>>1;p[a+28>>1]=(g+((f+h&65534)>>>1|0)&65534)>>>1;j=s[e+46>>1];h=s[e+48>>1];i=s[e+44>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;f=a+k|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+2>>1]=(m+h&65534)>>>1;p[f>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+48>>1];h=s[e+50>>1];i=s[e+46>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+6>>1]=(m+h&65534)>>>1;p[f+4>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+50>>1];h=s[e+52>>1];i=s[e+48>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+10>>1]=(m+h&65534)>>>1;p[f+8>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+52>>1];h=s[e+54>>1];i=s[e+50>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+14>>1]=(m+h&65534)>>>1;p[f+12>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+54>>1];h=s[e+56>>1];i=s[e+52>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+18>>1]=(m+h&65534)>>>1;p[f+16>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+56>>1];h=s[e+58>>1];i=s[e+54>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+22>>1]=(m+h&65534)>>>1;p[f+20>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+58>>1];h=s[e+60>>1];i=s[e+56>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+26>>1]=(m+h&65534)>>>1;p[f+24>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;j=s[e+60>>1];h=s[e+62>>1];i=s[e+58>>1];g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;m=(g+h&65534)>>>1|0;h=j+1|0;p[f+30>>1]=(m+h&65534)>>>1;p[f+28>>1]=(h+((g+i&65534)>>>1|0)&65534)>>>1;c=c+16|0;a=a+32|0;t=t+1|0;if((t|0)!=(d|0)){continue}break}n=n+q|0}a=k+o|0;l=l+32|0;if(l>>>0>>0){continue}break}}if(!(!d|u+3&16)){o=0;while(1){c=n-q|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];f=s[c+28>>1];p[e+28>>1]=f;k=s[c+30>>1];p[e+30>>1]=k;c=n>>>0>>0?(n<<1)+b|0:438160;l=s[c>>1];p[e+32>>1]=l;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];c=(k+((f+l&65534)>>>1|0)&65534)>>>1|0;k=k+1|0;p[a+2>>1]=(((c+l&65534)>>>1|0)+k&65534)>>>1;p[a>>1]=(k+((c+f&65534)>>>1|0)&65534)>>>1;l=s[e+32>>1];f=s[e+34>>1];k=s[e+30>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+6>>1]=(g+f&65534)>>>1;p[a+4>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+34>>1];f=s[e+36>>1];k=s[e+32>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+10>>1]=(g+f&65534)>>>1;p[a+8>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+36>>1];f=s[e+38>>1];k=s[e+34>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+14>>1]=(g+f&65534)>>>1;p[a+12>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+38>>1];f=s[e+40>>1];k=s[e+36>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+18>>1]=(g+f&65534)>>>1;p[a+16>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+40>>1];f=s[e+42>>1];k=s[e+38>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+22>>1]=(g+f&65534)>>>1;p[a+20>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+42>>1];f=s[e+44>>1];k=s[e+40>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+26>>1]=(g+f&65534)>>>1;p[a+24>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;l=s[e+44>>1];f=s[e+46>>1];k=s[e+42>>1];c=(l+((f+k&65534)>>>1|0)&65534)>>>1|0;g=(c+f&65534)>>>1|0;f=l+1|0;p[a+30>>1]=(g+f&65534)>>>1;p[a+28>>1]=(f+((c+k&65534)>>>1|0)&65534)>>>1;n=n+16|0;a=a+32|0;o=o+1|0;if((o|0)!=(d|0)){continue}break}}}function FX(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=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:{d=a+ -1|0;if(d>>>0>30){d=a+ -255|0;if(d>>>0>38){break y}z:{switch(d-1|0){default:if(r[b+16|0]){break j}i=q[b+12>>2];e=i+4|0;a=q[b+4>>2];if(e>>>0>a>>>0){break j}A:{if(i>>>0>=a>>>0){h=1;o[b+16|0]=1;c=271312;break A}c=i+q[b>>2]|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=q[b+24>>2];B:{if(d>>>0>2]){q[b+24>>2]=d+1;d=q[b+36>>2]+(d<<3)|0;break B}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];d=642976}v[d>>3]=+(c|0)*152587890625e-16;if(!(i>>>0>a>>>0|h|e>>>0>a>>>0)){q[b+12>>2]=e;return}break c;case 34:EX(b,c);break a;case 35:DX(b,c);break a;case 36:BX(b,c);break a;case 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: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 y;case 37:break z}}AX(b,c);break a}switch(d-1|0){case 17:case 18:break k;case 19:break l;case 20:break m;case 2:break n;case 3:break o;case 4:break p;case 5:break q;case 6:break r;case 22:break s;case 23:break t;case 24:break u;case 25:break v;case 28:break w;case 29:break x;case 0:case 7:case 10:case 11:case 13:case 14:case 15:case 26:break y;case 9:break d;case 12:break e;case 8:break f;case 27:break g;case 1:case 21:break i;default:break h}}qg(a,b);break j}zX(b,c);break a}yX(b,c);break a}xX(b,c);break a}wX(b,c);break a}vX(b,c);break a}uX(b,c);break a}tX(b,c);break a}sX(b,c);break a}qX(b,c);break a}pX(b,c);break a}h=q[b+24>>2];if(!r[b+144|0]){if(h>>>0>=2){C:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break C}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}k=v[b+136>>3];e=q[b+128>>2];d=q[b+132>>2];D:{if(h){a=h+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g();break D}j=v[q[b+36>>2]+(a<<3)>>3];break D}o[b+20|0]=1;a=0;i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g()}o[c|0]=0;v[b+136>>3]=k+j;q[b+128>>2]=e;q[b+132>>2]=d;break b}h=q[b+24>>2];if(!r[b+144|0]){if(h>>>0>=2){E:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break E}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}e=q[b+136>>2];d=q[b+140>>2];k=v[b+128>>3];F:{if(h){a=h+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g();break F}j=v[q[b+36>>2]+(a<<3)>>3];break F}o[b+20|0]=1;a=0;i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g()}o[c|0]=0;q[b+136>>2]=e;q[b+140>>2]=d;v[b+128>>3]=k+j;break b}i=q[b+24>>2];if(!r[b+144|0]){if(i>>>0>=3){G:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break G}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}m=v[b+136>>3];j=v[b+128>>3];H:{I:{if(i){e=i+ -1|0;q[b+24>>2]=e;d=q[b+32>>2];J:{if(d>>>0<=e>>>0){a=q[67829];q[160744]=q[67828];q[160745]=a;h=642976;break J}h=q[b+36>>2]+(e<<3)|0}if(!e){d=q[67828];e=q[67829];break I}a=i+ -2|0;q[b+24>>2]=a;if(d>>>0<=a>>>0){e=q[67829];d=q[67828];q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);l=+g();break H}l=v[q[b+36>>2]+(a<<3)>>3];break H}o[b+20|0]=1;a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;h=642976}o[b+20|0]=1;a=0;q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);l=+g()}k=v[h>>3];o[c|0]=0;v[b+136>>3]=m+k;v[b+128>>3]=j+l;break b}if(!(r[b+144|0]|a+ -19>>>0>1)){if(o[b+24|0]&1){K:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break K}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}L:{if(r[b+74|0]){a=q[b+84>>2];break L}o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;a=(a+q[b+76>>2]|0)+7>>>3|0;q[b+84>>2]=a}if(r[b+16|0]){break j}h=q[b+12>>2];c=h+a|0;a=q[b+4>>2];if(c>>>0>a>>>0){break j}q[b+148>>2]=0;q[b+24>>2]=0;if(h>>>0<=a>>>0){q[b+12>>2]=c;return}break c}return}M:{if(r[b+144|0]|a>>>0>23){break M}N:{O:{c=1<>2];c=a>>>0>2;break N}a=q[b+24>>2];c=a&1;break N}a=q[b+24>>2];c=a>>>0>1}if(!(!a|!c)){P:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break P}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;a=q[b+24>>2];q[b+24>>2]=0;q[b+80>>2]=q[b+80>>2]+(a>>>1|0);return}Q:{if(r[b+144|0]|a>>>0>18){break Q}R:{if(!(1<>2];c=a>>>0>1;break R}a=q[b+24>>2];c=a&1}if(!(!a|!c)){S:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break S}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;a=q[b+24>>2];q[b+24>>2]=0;q[b+76>>2]=q[b+76>>2]+(a>>>1|0);return}Au(b,b+108|0,1);return}Au(b,b+116|0,2);return}if(!r[b+144|0]){if(o[b+24|0]&1){T:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break T}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;o[b+72|0]=1;q[b+24>>2]=0;return}if(r[b+16|0]){o[b+40|0]=1}a=q[b+92>>2];U:{V:{if(a){a=a+ -1|0;q[b+92>>2]=a;if(t[b+100>>2]<=a>>>0){break V}a=q[b+104>>2]+w(a,28)|0;break U}o[b+88|0]=1}q[160750]=q[67834];a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}h=q[a+4>>2];q[b+44>>2]=q[a>>2];q[b+48>>2]=h;q[b+68>>2]=q[a+24>>2];h=a+16|0;c=q[h+4>>2];q[b+60>>2]=q[h>>2];q[b+64>>2]=c;h=a+8|0;c=q[h+4>>2];q[b+52>>2]=q[h>>2];q[b+56>>2]=c;e=q[a+8>>2];d=q[a+12>>2];h=q[a>>2];c=q[a+4>>2];o[b+16|0]=r[a+16|0];q[b+8>>2]=e;q[b+12>>2]=d;q[b>>2]=h;q[b+4>>2]=c;return}o[b+16|0]=1;q[b+12>>2]=a;return}if(!r[b+73|0]){if(!r[b+74|0]){o[b+74|0]=1;a=q[b+80>>2]+(a>>>1|0)|0;q[b+80>>2]=a;q[b+84>>2]=(a+q[b+76>>2]|0)+7>>>3}o[b+73|0]=1}}q[b+24>>2]=0;q[b+148>>2]=0}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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;y=Da-16|0;Da=y;f=6;i=q[a+4>>2];a:{if(!i){break a}x=c?c+ -1|0:0;if(x>>>0>=t[i+408>>2]){break a}b:{if(d&9){break b}e=q[i+380>>2];if(!e){break b}u=q[i+416>>2];v=q[i+104>>2];f=q[i+388>>2];h=s[b+12>>1];c=0;while(1){if(!(q[f+4>>2]==s[b+14>>1]?(h|0)==q[f>>2]:0)){f=f+36|0;c=c+1|0;if((e|0)!=(c|0)){continue}break b}break}c=q[f+8>>2];if(Xa(v,q[f+24>>2]+q[i+432>>2]|0)){break b}if(mb(v,w(q[f+28>>2],((c>>>1&1)+(c&1|4)|0)+(c>>>2&1)|0))){break b}n=q[f+8>>2];z=n&1;m=((z|4)+(n>>>1&1)|0)+(n>>>2&1)|0;k=q[u+(x<<4)>>2];c=q[f+28>>2];e=q[v+32>>2];if(!(n&64)){h=q[v+36>>2];l=n|128;q[f+8>>2]=l;c:{d:{e:{g=w(c,m);A=g+e|0;if(A>>>0<=h>>>0){if((g|0)<1){break c}j=-1;if(!z){break e}g=e;while(1){h=r[g+1|0]|r[g|0]<<8;if((h|0)<=(j|0)){break d}j=h;g=g+m|0;if(g>>>0>>0){continue}break}break c}l=n&-129;q[f+8>>2]=l;break c}g=e;while(1){h=j;j=r[g|0];if((h|0)>=(j|0)){break d}g=g+m|0;if(g>>>0>>0){continue}break}break c}l=n&-129;q[f+8>>2]=l}n=l|64;q[f+8>>2]=n}f:{if(!(n&128)){break f}g:{if(!z){f=0;while(1){if(f>>>0>=c>>>0){break f}h=c+f>>>1|0;l=e+w(h,m)|0;g=r[l|0];j=k>>>0>>0;c=j?h:c;f=j?f:k>>>0>g>>>0?h+1|0:f;if((g|0)!=(k|0)){continue}break}l=l+1|0;break g}j=e+2|0;f=0;while(1){if(f>>>0>=c>>>0){break f}e=c+f>>>1|0;l=j+w(e,m)|0;h=l+ -2|0;h=r[h|0]<<8|r[h+1|0];g=h>>>0>k>>>0;f=g?f:h>>>0>>0?e+1|0:f;c=g?e:c;if((h|0)!=(k|0)){continue}break}}h:{if(n&2){f=l+2|0;h=r[l+1|0]|r[l|0]<<8;break h}f=l+1|0;h=r[l|0]}c=r[f|0];i:{if(n&4){m=r[f+1|0]<<8|c<<16;c=2;break i}m=c<<8;c=1}c=r[c+f|0];jb(v);if(!h){break b}c=c|m;g=u+(x<<4)|0;f=q[g+4>>2];k=q[i+304>>2];e=q[i+300>>2];j:{if((k|0)==(e|0)){e=f;break j}e=bb(f,e,k);k=q[i+304>>2];f=q[g+4>>2]}q[a+56>>2]=e;k=bb(s[b+12>>1]<<8,f,k);if(Xa(v,c+q[i+188>>2]|0)){break b}if(mb(v,h)){break b}c=q[v+32>>2];f=q[v+36>>2];if(c+1>>>0>f>>>0){break f}g=c;k:{l:{m:{n:{o:{m=r[c|0];switch((m&3)-1|0){case 2:break l;case 1:break m;case 0:break n;default:break o}}e=c+2|0;if(e>>>0>f>>>0){break f}c=o[g+1|0];l=c>>4;n=c<<28>>28;break k}e=c+3|0;if(e>>>0>f>>>0){break f}n=o[c+2|0];l=o[c+1|0];break k}e=c+5|0;if(e>>>0>f>>>0){break f}g=r[c+3|0]|r[c+4|0]<<8;n=(g<<24|g<<8&16711680)>>16;c=r[c+1|0]|r[c+2|0]<<8;l=(c<<24|c<<8&16711680)>>16;break k}e=c+7|0;if(e>>>0>f>>>0){break f}n=r[c+6|0]|(r[c+5|0]<<8|r[c+4|0]<<16);l=r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16)}j=m>>>2&3;u=j;p:{q:{switch(j-1|0){case 0:c=e+1|0;if(c>>>0>f>>>0){break f}e=r[e|0];u=e&15;j=e>>>4|0;e=c;break p;case 1:c=e+2|0;if(c>>>0>f>>>0){break f}u=r[e+1|0];j=r[e|0];e=c;break p;case 2:break q;default:break p}}c=e+4|0;if(c>>>0>f>>>0){break f}u=r[e+3|0]|r[e+2|0]<<8;j=r[e+1|0]|r[e|0]<<8;e=c}r:{s:{t:{u:{g=m>>>4|0;switch((g&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}c=e+1|0;if(c>>>0>f>>>0){break f}k=o[e|0]<<8;e=c;break r}c=e+2|0;if(c>>>0>f>>>0){break f}e=r[e|0]|r[e+1|0]<<8;k=(e<<24|e<<8&16711680)>>16;e=c;break r}c=e+3|0;if(c>>>0>f>>>0){break f}k=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);e=c}c=g>>>2|0;if(c>>>0>2){break f}v:{w:{switch(c-1|0){case 0:if(w(j,u)>>>0<=w(h,15)>>>0){break v}break f;case 1:if(w(j,u)>>>0>w(h+1>>>1|0,255)>>>0){break f}break v;default:break w}}if(w(j,u)+7>>>3>>>0>h>>>0){break f}}if((n|0)>(2147483647-u|0)){break f}q[a+72>>2]=1651078259;q[a+76>>2]=u;q[a+80>>2]=j;o[a+94|0]=1;f=0;q[a+48>>2]=0;q[a+36>>2]=n<<6;q[a+32>>2]=l<<6;q[a+28>>2]=u<<6;h=j<<6;q[a+24>>2]=h;g=j+7>>>3|0;q[a+84>>2]=g;q[a+44>>2]=0-h>>1;q[a+40>>2]=(k>>2)+32&-64;h=q[b+32>>2];q[a+104>>2]=n+u;q[a+100>>2]=l;q[a+52>>2]=h;x:{if(d&4194304){break x}if(_h(a,w(g,u))){break f}b=q[a+76>>2];if(!b){break x}h=q[a+80>>2];if(!h|c>>>0>2){break x}n=q[v+36>>2];d=q[a+84>>2];g=q[i+208>>2]&2;x=g?d:0-d|0;a=q[a+88>>2];j=g?a:a+w(d,b+ -1|0)|0;k=w(b,h);y:{switch(c-1|0){default:a=n-e<<3;g=a>>>0>k>>>0?k:a;if(!g){break x}b=128;c=0;a=0;k=j;d=h;i=g;while(1){if(!((g^i)&7)){a=r[e|0];e=e+1|0}c=a<<24>>31&b|c;d=d+ -1|0;z:{if(!d){o[k|0]=c;c=0;b=128;d=h;j=j+x|0;k=j;break z}b=b>>>1|0;if(b){break z}o[k|0]=c;k=k+1|0;c=0;b=128}a=a<<1;i=i+ -1|0;if(i){continue}break}if((b|0)==128){break x}o[k|0]=c;jb(v);break a;case 0:if(!k){break x}b=128;m=0;l=j;g=h;u=1;d=0;i=0;c=1;while(1){a=i;A:{if(!u){break A}while(1){B:{if(!c){c=1;a=d;break B}if(e>>>0>=n>>>0){a=i;break A}a=r[e|0];d=a&15;c=0;e=e+1|0;a=a>>>4|0}i=0;if(!a){continue}break}}m=(c?b:0)|m;g=g+ -1|0;C:{if(!g){o[l|0]=m;m=0;b=128;g=h;j=j+x|0;l=j;break C}b=b>>>1|0;if(b){break C}o[l|0]=m;l=l+1|0;m=0;b=128}u=(a|0)<2;i=a+ -1|0;k=k+ -1|0;if(k){continue}break}if((b|0)==128){break x}o[l|0]=m;jb(v);break a;case 1:break y}}if(!k){break x}m=128;d=0;g=j;b=h;a=1;i=0;c=1;while(1){D:{if(!a|e>>>0>=n>>>0){break D}E:{while(1){c=c^1;a=e+1|0;i=r[e|0];if(i){break E}e=a;if((a|0)!=(n|0)){continue}break}i=0;e=n;break D}e=a}d=(c?m:0)|d;b=b+ -1|0;F:{if(!b){o[g|0]=d;d=0;m=128;b=h;j=j+x|0;g=j;break F}m=m>>>1|0;if(m){break F}o[g|0]=d;g=g+1|0;d=0;m=128}a=(i|0)<2;i=i+ -1|0;k=k+ -1|0;if(k){continue}break}if((m|0)==128){break x}o[g|0]=d}jb(v);break a}jb(v)}f=6;if(d&16384){break a}h=q[i+416>>2];q[a+72>>2]=1869968492;q[a+108>>2]=0;c=h+(x<<4)|0;e=q[c+8>>2];c=q[c+12>>2];g=q[i+188>>2];j=q[i+104>>2];Xe(q[a+188>>2]);q[a+176>>2]=0;f=Zn(a+160|0,j,g,c,e);if(f){break a}c=q[a+188>>2];g=q[c+24>>2];e=a+108|0;q[e>>2]=q[c+20>>2];q[e+4>>2]=g;q[e+16>>2]=q[c+36>>2];g=q[c+32>>2];q[e+8>>2]=q[c+28>>2];q[e+12>>2]=g;c=q[a+124>>2]&-6;q[a+124>>2]=c|4;if(s[b+14>>1]<=23){q[a+124>>2]=c|260}q[a+52>>2]=0;q[a+40>>2]=0;f=q[(h+(x<<4)|0)+4>>2];c=q[i+304>>2];h=q[i+300>>2];if((c|0)!=(h|0)){f=bb(f,h,c)}G:{if(o[i+324|0]&1){q[a+52>>2]=f;i=f;f=q[a+40>>2];break G}q[a+40>>2]=f;i=q[a+52>>2]}q[a+60>>2]=i;q[a+56>>2]=f;q[a+44>>2]=0;q[a+48>>2]=0;if(!(d&1)){d=q[b+20>>2];h=q[b+16>>2];b=a;if(p[a+110>>1]>=1){f=q[a+112>>2];c=0;while(1){B=f,C=Ma(q[f>>2],h),q[B>>2]=C;B=f,C=Ma(q[f+4>>2],d),q[B+4>>2]=C;f=f+8|0;c=c+1|0;if((c|0)>1]){continue}break}f=q[a+40>>2]}B=b,C=Ma(f,h),q[B+40>>2]=C;B=a,C=Ma(q[a+52>>2],d),q[B+52>>2]=C}Te(e,y);b=q[y>>2];q[a+24>>2]=q[y+8>>2]-b;c=q[y+12>>2];d=q[y+4>>2];q[a+36>>2]=d;q[a+32>>2]=b;q[a+28>>2]=c-d;f=0}Da=y+16|0;return f|0}function sW(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,p=0,s=0,u=0,v=0,x=0;d=Da-112|0;Da=d;q[a+44>>2]=0;q[a+48>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;if(!r[a+40|0]){c=Mb(b);o[a+40|0]=1;q[a+36>>2]=c}k=a+4|0;b=BV(k,Jb(b,1128678962));q[a>>2]=b;b=ub(b);o[a+24|0]=0;q[a+32>>2]=b;e=q[b+12>>2];q[a+8>>2]=e;b=q[b+16>>2];f=b+e|0;q[a+12>>2]=f;a:{if((b|0)>-1){q[a+4>>2]=0;q[a+28>>2]=0;c=a;if(b>>>0>536870910){b=1073741823}else{b=b<<3;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}q[c+16>>2]=b;c=q[a>>2];g=q[c+12>>2];if(!(t[c+16>>2]>4?(g|0)!=271312:0)){Yd(a);break a}c=r[g+2|0]+g|0;b:{j=r[g+4|0]|r[g+3|0]<<8;if(j){if(f>>>0>>0|e>>>0>c>>>0|f-c>>>0>>0){break b}q[a+16>>2]=b+ -1}b=a+44|0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;o[d+24|0]=0;o[d+28|0]=0;q[d+12>>2]=j;q[d+8>>2]=c;q[d+16>>2]=0;q[d+20>>2]=0;c=Sa(4744);c:{if(!c){q[d+36>>2]=-1;break c}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=c;Na(c,0,4104)}o[d+48|0]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(!AV(d+8|0,b)){Yd(a);La(q[d+44>>2]);break a}La(q[d+44>>2]);e=r[g+2|0];f=r[g+4|0];j=r[g+3|0];b=q[a+68>>2];b=b?b+g|0:271312;q[a+80>>2]=b;c=q[a+60>>2];c=c?c+g|0:271312;q[a+84>>2]=c;l=q[a- -64>>2];q[a+88>>2]=l?l+g|0:271312;l=q[a+72>>2];q[a+92>>2]=l?l+g|0:271312;q[a+76>>2]=(e+(f|j<<8)|0)+g;d:{e:{if((b|0)!=271312){j=q[a+8>>2];if(j>>>0>b>>>0){break e}e=q[a+12>>2];if(e>>>0>>0|e-b>>>0<10){break e}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)<1){break e}c=b+2|0;b=r[b+1|0]|r[b|0]<<8;if(b){if(e>>>0>>0|j>>>0>c>>>0|e-c>>>0>>0){break e}q[a+16>>2]=f+ -2;if((f|0)<2){break e}}if(!jW(c,k)){break e}c=q[a+84>>2]}if((c|0)==271312){break e}if(!Ni(c,k)){break e}b=q[a+76>>2];if((b|0)==271312){break e}if(!Ni(b,k)){break e}b=q[a+88>>2];if((b|0)==271312){break e}if(!Ni(b,k)){break e}b=q[a+92>>2];if((b|0)==271312){break d}c=b;b=q[a+88>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);if(zV(c,k,b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break d}}Yd(a);break a}b=q[a+84>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+124>>2]=b;if((b|0)!=q[a+36>>2]){Yd(a);break a}b=q[a+88>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+96>>2]=b;c=q[a+112>>2];if((c|0)>=0){b=(b|0)>0?b:0;f:{if(c>>>0>>0){e=c;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=b>>>0){continue}break}g:{if(!(e>>>0>>0|e>>>0>153391688)){c=db(q[a+120>>2],w(e,28));if(c){break g}}q[a+112>>2]=-1;break f}q[a+112>>2]=e;q[a+120>>2]=c}c=q[a+116>>2];if(b>>>0>c>>>0){Na(q[a+120>>2]+w(c,28)|0,0,w(b-c|0,28))}q[a+116>>2]=b}b=q[a+96>>2]}if(!b){break a}j=q[67830];l=q[67829];x=q[67828];while(1){c=x;b=l;f=j;h:{h=q[a+88>>2];e=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0){c=r[h+4|0];m=w(c,e+1|0);f=0;e=0;if(c){b=(w(c,i)+h|0)+5|0;while(1){e=r[b|0]|e<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=((h+4|0)+m|0)+e|0;b=jm(h,i)}e=b+1|0;i:{if(e>>>0<=1){if(e-1){break i}break h}if(t[a+8>>2]>c>>>0){break i}e=q[a+12>>2];if(e>>>0>>0|e-c>>>0>>0){break i}e=q[a+16>>2];q[a+16>>2]=e+ -1;if((e|0)>0){break h}}Yd(a);break a}o[d+84|0]=0;o[d+80|0]=0;q[d+76>>2]=0;q[d+72>>2]=f;q[d+68>>2]=b;q[d+64>>2]=c;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;b=Sa(4744);j:{if(!b){q[d+92>>2]=-1;break j}q[d+92>>2]=593;q[d+96>>2]=513;q[d+100>>2]=b;Na(b,0,4104)}o[d+104|0]=0;k:{l:{m:{n:{b=q[a+100>>2];if((b|0)>=0){c=b;e=q[a+104>>2];f=e+1|0;f=(f|0)>0?f:0;if(b>>>0>=f>>>0){break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=f>>>0){continue}break}if(!(c>>>0>>0|c>>>0>153391688)){b=db(q[a+108>>2],w(c,28));if(b){break n}}q[a+100>>2]=-1}q[160750]=q[67834];b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;break l}q[a+100>>2]=c;q[a+108>>2]=b;e=q[a+104>>2]}if(f>>>0>e>>>0){Na(q[a+108>>2]+w(e,28)|0,0,w(f-e|0,28))}q[a+104>>2]=f;b=q[a+108>>2];h=q[67834];q[160750]=h;c=q[67833];m=c;n=q[67832];q[160748]=n;q[160749]=c;c=q[67831];u=c;p=q[67830];q[160746]=p;q[160747]=c;c=q[67829];v=c;s=q[67828];q[160744]=s;q[160745]=c;c=b+w(f+ -1|0,28)|0;if((c|0)==642976){break l}b=c;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;if(!yV(d- -64|0,b)){break l}b=q[c+16>>2];e=b?b+g|0:271312;c=q[c+20>>2];b=c+1|0;o:{if(b>>>0<=1){if(b-1){break l}break o}if(t[a+8>>2]>e>>>0){break l}b=q[a+12>>2];if(b>>>0>>0|b-e>>>0>>0){break l}b=q[a+16>>2];q[a+16>>2]=b+ -1;if((b|0)<=0){break l}}o[d+28|0]=0;q[d+12>>2]=c;q[d+8>>2]=e;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+24|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;b=Sa(4744);p:{if(!b){q[d+36>>2]=-1;break p}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=b;Na(b,0,4104)}o[d+56|0]=0;q[d+52>>2]=0;o[d+48|0]=0;q:{if(t[a+116>>2]<=i>>>0){q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;b=642976;break q}b=q[a+120>>2]+w(i,28)|0}q[b+24>>2]=0;q[b+20>>2]=271312;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=d+8|0;r:{if(t[a+116>>2]<=i>>>0){q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;f=642976;break r}f=q[a+120>>2]+w(i,28)|0}s:{if(wV(b,f)){t:{if(t[a+116>>2]>i>>>0){e=c?e:271312;c=q[a+120>>2]+w(i,28)|0;b=q[c+16>>2];b=b?e+b|0:271312;q[c+20>>2]=b;if((b|0)!=271312){break t}b=0;break s}b=q[67833];q[160748]=q[67832];q[160749]=b;q[160750]=q[67834];b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=0;if(q[160749]==271312){break s}q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;c=642976}b=0;if(Ni(q[c+20>>2],k)){break s}}Yd(a);b=1}La(q[d+44>>2]);break k}Yd(a);b=1}La(q[d+100>>2]);if(b){break a}i=i+1|0;if(i>>>0>2]){continue}break}break a}Yd(a);break a}I(242848,242873,195,242890);F()}Da=d+112|0}function SB(a,b,c,d,e){a=a|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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;a=Da-336|0;Da=a;q[b>>2]=1;x=b+504|0;q[x>>2]=0;y=ld(q[b+96>>2],17952,1);q[b+488>>2]=y;t=_d(q[q[b+96>>2]+4>>2],17969);q[b+492>>2]=t;a:{if(!t){f=11;break a}i=q[b+100>>2];Na(a+16|0,0,304);A=b,B=gb(i,12,a+12|0),q[A+496>>2]=B;b:{if(q[a+12>>2]){break b}q[b+500>>2]=12;f=q[b+104>>2];n[q[q[t+4>>2]>>2]](a+16|0,0,0,i);o[a+100|0]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+88>>2]=f;g=Xa(f,0);q[a+320>>2]=g;c:{d:{if(g){break d}g=mb(f,17);q[a+320>>2]=g;if(g){break d}if(Oc(q[f+32>>2],18e3,17)){g=2;q[a+320>>2]=2;jb(f);break d}jb(f);g=Xa(f,0);q[a+320>>2]=g;if(g){break d}h=q[f+4>>2];e:{if(!q[f+20>>2]){g=q[f+8>>2];j=q[f>>2];o[a+100|0]=1;q[a+96>>2]=h;q[a+92>>2]=g+j;g=Ib(f,h);q[a+320>>2]=g;if(g){break d}h=q[a+96>>2];break e}j=gb(i,h,a+320|0);q[a+92>>2]=j;g=q[a+320>>2];if(g){break d}g=Wb(f,j,h);q[a+320>>2]=g;if(g){break d}q[a+96>>2]=h}g=q[a+92>>2];q[a+20>>2]=g;q[a+16>>2]=g;q[a+24>>2]=g+h;q[a+12>>2]=0;break c}if(r[a+100|0]){q[a+12>>2]=g;break b}f=q[a+92>>2];if(f){n[q[i+8>>2]](i,f)}g=0;q[a+92>>2]=0;f=q[a+320>>2];q[a+12>>2]=f;if(f){break b}h=q[a+96>>2]}q[a+28>>2]=0;q[a+16>>2]=g;h=g+h|0;q[a+24>>2]=h;n[q[a+44>>2]](a+16|0);f:{f=q[a+16>>2];if(f>>>0>>0){u=b+132|0;m=b+164|0;v=b+464|0;while(1){g:{h:{g=r[f|0];if(!((g|0)!=70|f+25>>>0>=h>>>0)){if(Ra(f,18018,13)){break h}n[q[a+48>>2]](a+16|0);n[q[a+44>>2]](a+16|0);g=q[a+16>>2];f=g;i:{if(f>>>0>=h>>>0){break i}while(1){j:{if(!(r[f|0]!=107|f+5>>>0>=h>>>0)){if(!Ra(f,18032,5)){break j}}n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}n[q[a+44>>2]](a+16|0);f=q[a+16>>2];if(f>>>0>>0){continue}break i}break}n[q[a+48>>2]](a+16|0);n[q[a+72>>2]](a+16|0,a+320|0);g=q[a+328>>2]==3?q[a+16>>2]:g}q[a+16>>2]=g;break g}if((g|0)!=47|f+2>>>0>=h>>>0){break h}g=f+1|0;q[a+16>>2]=g;n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}i=q[a+16>>2];if(i>>>0>=h>>>0){break g}f=0;k=i-g|0;if(k+ -1>>>0>20){break g}while(1){k:{i=w(f,36);l=i+18048|0;j=q[l>>2];if(!j|r[g|0]!=r[j|0]){break k}if((Wa(j)|0)!=(k|0)){break k}if(Oc(g,j,k)){break k}g=a;l:{if(f+ -15>>>0<=3){n[q[i+18060>>2]](b,a+16|0);f=q[a+28>>2];break l}f=q[i+18056>>2];m:{n:{i=q[i+18052>>2]+ -2|0;if(i>>>0>3){break n}o:{switch(i-1|0){default:q[a+320>>2]=m;break m;case 0:case 1:break n;case 2:break o}}q[a+320>>2]=v;break m}q[a+320>>2]=u}if(f+ -9>>>0<=1){f=n[q[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break l}f=n[q[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}q[g+28>>2]=f;if(!f){break g}q[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}}n[q[a+44>>2]](a+16|0);f=q[a+16>>2];if(f>>>0>>0){continue}break}}f=q[a+28>>2];q[a+12>>2]=f;if(f){break b}if(r[b+437|0]!=42){q[a+12>>2]=2;break b}j=q[a+160>>2];q[b+420>>2]=j;if(!q[a+228>>2]){q[a+12>>2]=3}h=0;q[a+228>>2]=0;q[b+396>>2]=q[a+216>>2];q[b+428>>2]=q[a+240>>2];q[b+432>>2]=q[a+244>>2];q[b+400>>2]=q[a+164>>2];q[b+424>>2]=q[a+188>>2];q[a+188>>2]=0;q[a+164>>2]=0;if(q[b+368>>2]!=1){break b}i=0;k=q[a+124>>2];p:{if((k|0)<1){break p}g=0;if((j|0)>=1){while(1){l=g<<2;u=q[l+q[a+132>>2]>>2];v=g<<1;p[v+q[b+384>>2]>>1]=0;q[l+q[b+388>>2]>>2]=17992;q:{if(!u){break q}z=q[b+424>>2];f=0;while(1){m=q[(f<<2)+z>>2];if(Ta(u,m)){f=f+1|0;if((j|0)!=(f|0)){continue}break q}break}p[v+q[b+384>>2]>>1]=f;q[l+q[b+388>>2]>>2]=m;if(!Ta(17992,m)){break q}i=(g|0)<(i|0)?i:g+1|0;h=(g|0)<(h|0)?g:h}g=g+1|0;if((k|0)!=(g|0)){continue}break}break p}while(1){p[q[b+384>>2]+(g<<1)>>1]=0;q[q[b+388>>2]+(g<<2)>>2]=17992;g=g+1|0;if((k|0)!=(g|0)){continue}break}}q[b+380>>2]=i;q[b+376>>2]=h;q[b+372>>2]=q[a+104>>2];break b}q[a+12>>2]=f}f=q[a+156>>2];if(f){n[f](a+108|0)}f=q[a+264>>2];if(f){n[f](a+216|0)}f=q[a+212>>2];if(f){n[f](a+164|0)}f=q[a+316>>2];if(f){n[f](a+268|0)}if(!r[a+100|0]){f=q[a+32>>2];g=q[a+92>>2];if(g){n[q[f+8>>2]](f,g)}q[a+92>>2]=0}f=q[a+40>>2];if(f){n[f](a+16|0)}f=q[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}q[b+36>>2]=0;q[b+4>>2]=0;q[b+16>>2]=q[b+420>>2];c=q[b+8>>2];f=c|529;q[b+8>>2]=f;if(r[b+156|0]){f=c|533;q[b+8>>2]=f}q[b+24>>2]=17975;q[b+8>>2]=f|2048;c=q[b+144>>2];q[b+20>>2]=c;r:{if(c){f=q[b+140>>2];if(!f){break r}g=r[f|0];if(!g){break r}while(1){h=g&255;g=r[c|0];s:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break s}t:{u:{h=h+ -32|0;if(h>>>0>13){break u}switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break u;default:break t}}h=g+ -32|0;if(h>>>0>13){if(g){break r}q[b+24>>2]=f;break r}v:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break r;default:break v}}c=c+1|0;break s}f=f+1|0}g=r[f|0];if(g){continue}break}break r}c=q[b+364>>2];if(!c){break r}q[b+20>>2]=c}q[b+28>>2]=0;q[b+32>>2]=0;q[a+16>>2]=9;A=a,B=bc(q[q[b+96>>2]+4>>2],17983),q[A+36>>2]=B;q[a+20>>2]=q[b+496>>2];q[a+24>>2]=q[b+500>>2];if(d){q[a+44>>2]=e;q[a+40>>2]=d;q[a+16>>2]=25}f=jp(q[q[b+96>>2]+4>>2],a+16|0,0,x);if(f){break a}gp(q[q[b+504>>2]+88>>2]);c=q[b+504>>2];d=q[c+56>>2];q[b+52>>2]=q[c+52>>2];q[b+56>>2]=d;d=q[c+64>>2];q[b+60>>2]=q[c+60>>2];q[b+64>>2]=d;p[b+68>>1]=s[c+68>>1];p[b+70>>1]=s[c+70>>1];p[b+72>>1]=s[c+72>>1];p[b+74>>1]=s[c+74>>1];p[b+76>>1]=s[c+76>>1];p[b+78>>1]=s[c+78>>1];p[b+80>>1]=s[b+158>>1];p[b+82>>1]=s[b+160>>1];d=q[b+152>>2]!=0;q[b+12>>2]=d;if(r[c+12|0]&2){q[b+12>>2]=d|2}if(r[c+8|0]&32){q[b+8>>2]=q[b+8>>2]|32}if(!y){f=0;break a}c=q[t+32>>2];q[a+16>>2]=b;q[a+20>>2]=1970170211;q[a+24>>2]=65539;f=md(q[c+12>>2],0,a+16|0,0);w:{if(!f){break w}d=f&255;if((d|0)==163){break w}if((d|0)!=7){break a}}p[a+24>>1]=7;b=q[b+368>>2]+ -1|0;if(b>>>0>3){f=0;break a}x:{y:{switch(b-1|0){case 0:p[a+26>>1]=0;q[a+20>>2]=1094995778;break x;case 2:p[a+26>>1]=1;q[a+20>>2]=1094992453;c=c+4|0;break x;default:p[a+26>>1]=2;q[a+20>>2]=1094992451;c=c+8|0;break x;case 1:break y}}c=c+12|0;p[a+26>>1]=3;q[a+20>>2]=1818326065}f=0;b=q[c>>2];if(!b){break a}f=md(b,0,a+16|0,0)}Da=a+336|0;return f|0}function ml(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,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=Da-288|0;Da=g;i=v[d>>3];r=v[d+24>>3];n=v[d+8>>3];u=v[d+32>>3];l=i*r+n*u;o=d;d=e;r=i*u-n*r;m=r<0?1:2;j=d;a:{b:{c:{if(!(m&d)){break c}i=y(r);n=v[o+16>>3];x=i*n;u=v[o+40>>3];A=i*u;d:{s=l*n+u;if(!(s>2]=m|q[a+56>>2];break f}k=q[b+4>>2];p=q[b>>2];t=m&(q[a+60>>2]^-1);n=v[a+80>>3]*v[a+16>>3];g:{if(y(n)<2147483648){d=~~n;break g}d=-2147483648}h=t&1;n=v[a+88>>3]*v[a+24>>3];h:{if(y(n)<2147483648){j=~~n;break h}j=-2147483648}if(h){q[g+116>>2]=k+j;q[g+112>>2]=d+p;w=q[a>>2];h=q[g+116>>2];q[g+104>>2]=q[g+112>>2];q[g+108>>2]=h;h=0;if(!qb(w,g+104|0,1)){break a}}if(!(t&2)){break f}q[g+116>>2]=k-j;q[g+112>>2]=p-d;d=q[a+4>>2];j=q[g+116>>2];q[g+96>>2]=q[g+112>>2];q[g+100>>2]=j;h=0;if(!qb(d,g+96|0,1)){break a}}q[a+60>>2]=m|q[a+60>>2];i:{if(!(z<0^1?!(s<0):0)){k=q[b+4>>2];i=v[a+24>>3]*0;j:{if(y(i)<2147483648){d=~~i;break j}d=-2147483648}p=m&1;i=v[a+16>>3]*0;k:{if(y(i)<2147483648){j=~~i;break k}j=-2147483648}t=q[b>>2];if(p){q[g+116>>2]=d+k;q[g+112>>2]=j+t;w=q[a>>2];h=q[g+116>>2];q[g+72>>2]=q[g+112>>2];q[g+76>>2]=h;h=0;if(!qb(w,g+72|0,1)){break a}}w=m&2;if(w){q[g+116>>2]=k-d;q[g+112>>2]=t-j;d=q[a+4>>2];j=q[g+116>>2];q[g+64>>2]=q[g+112>>2];q[g+68>>2]=j;h=0;if(!qb(d,g- -64|0,1)){break a}}k=q[b+20>>2];i=v[a+24>>3]*0;l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}i=v[a+16>>3]*0;m:{if(y(i)<2147483648){j=~~i;break m}j=-2147483648}t=q[b+16>>2];if(p){q[g+116>>2]=d+k;q[g+112>>2]=j+t;p=q[a>>2];h=q[g+116>>2];q[g+56>>2]=q[g+112>>2];q[g+60>>2]=h;h=0;if(!qb(p,g+56|0,1)){break a}}if(!w){break i}q[g+116>>2]=k-d;q[g+112>>2]=t-j;d=q[a+4>>2];j=q[g+116>>2];q[g+48>>2]=q[g+112>>2];q[g+52>>2]=j;h=0;if(qb(d,g+48|0,1)){break i}break a}i=s/i;n=i*v[o+8>>3]*v[a+24>>3];n:{if(y(n)<2147483648){d=~~n;break n}d=-2147483648}h=m&1;k=q[b+4>>2];i=i*v[o>>3]*v[a+16>>3];o:{if(y(i)<2147483648){j=~~i;break o}j=-2147483648}p=q[b>>2];if(h){q[g+116>>2]=d+k;q[g+112>>2]=j+p;t=q[a>>2];h=q[g+116>>2];q[g+88>>2]=q[g+112>>2];q[g+92>>2]=h;h=0;if(!qb(t,g+88|0,1)){break a}}if(!(m&2)){break i}q[g+116>>2]=k-d;q[g+112>>2]=p-j;d=q[a+4>>2];j=q[g+116>>2];q[g+80>>2]=q[g+112>>2];q[g+84>>2]=j;h=0;if(!qb(d,g+80|0,1)){break a}}d=(m^-1)&e;if(d){break e}b=q[o+28>>2];q[a+80>>2]=q[o+24>>2];q[a+84>>2]=b;b=q[o+36>>2];q[a+88>>2]=q[o+32>>2];q[a+92>>2]=b;h=1;break a}j=e^m;break b}j=(l+x<1?l+A<1?m:0:0)^e}}p:{if(!j){break p}i=l+3;s=i*i;i=l+1;if(!(s>3])){break p}i=1/i;n=v[o+16>>3];s=n+n;u=v[o+40>>3];x=v[a+152>>3];if(!(y(r*(i*s-u))>2];l=v[o+32>>3];r=v[o+8>>3];p=q[b>>2];n=v[o+24>>3];u=v[o>>3];B=j^-1;q[a+60>>2]=B&q[a+60>>2];s=v[a+80>>3]*v[a+16>>3];q:{if(y(s)<2147483648){e=~~s;break q}e=-2147483648}t=j&1;s=v[a+88>>3]*v[a+24>>3];r:{if(y(s)<2147483648){m=~~s;break r}m=-2147483648}if(t){q[g+116>>2]=k+m;q[g+112>>2]=e+p;w=q[a>>2];h=q[g+116>>2];q[g+40>>2]=q[g+112>>2];q[g+44>>2]=h;h=0;if(!qb(w,g+40|0,2)){break a}}C=j&2;if(C){q[g+116>>2]=k-m;q[g+112>>2]=p-e;e=q[a+4>>2];j=q[g+116>>2];q[g+32>>2]=q[g+112>>2];q[g+36>>2]=j;h=0;if(!qb(e,g+32|0,2)){break a}}n=i*(u+n);p=q[b+12>>2];l=i*(r+l)*v[a+24>>3];s:{if(y(l)<2147483648){e=~~l;break s}e=-2147483648}l=n*v[a+16>>3];t:{if(y(l)<2147483648){j=~~l;break t}j=-2147483648}w=q[b+8>>2];if(t){k=q[a>>2];h=q[k>>2];m=q[k+4>>2];if(h>>>0>=m>>>0){h=0;q[160942]=0;m=m<<1;D=k,F=qc(q[k+16>>2],m,8),q[D+16>>2]=F;if(q[160942]){break a}q[k+4>>2]=m;h=q[k>>2]}h=q[k+16>>2]+(h<<3)|0;q[h>>2]=j+w;q[h+4>>2]=e+p;q[k>>2]=q[k>>2]+1}if(C){m=q[a+4>>2];h=q[m>>2];k=q[m+4>>2];if(h>>>0>=k>>>0){h=0;q[160942]=0;k=k<<1;D=m,F=qc(q[m+16>>2],k,8),q[D+16>>2]=F;if(q[160942]){break a}q[m+4>>2]=k;h=q[m>>2]}h=q[m+16>>2]+(h<<3)|0;q[h>>2]=w-j;q[h+4>>2]=p-e;q[m>>2]=q[m>>2]+1}d=d&B;if(d){break p}b=q[o+28>>2];q[a+80>>2]=q[o+24>>2];q[a+84>>2]=b;b=q[o+36>>2];q[a+88>>2]=q[o+32>>2];q[a+92>>2]=b;h=1;break a}j=q[b>>2];h=q[b+16>>2];e=q[b+8>>2];m=q[b+4>>2];k=q[b+12>>2];p=k+q[b+20>>2]|0;q[g+268>>2]=p>>1;k=k+m|0;m=(k+p|0)+2>>2;q[g+260>>2]=m;h=e+h|0;q[g+264>>2]=h>>1;e=e+j|0;q[g+248>>2]=e>>1;q[g+252>>2]=k>>1;k=(e+h|0)+2>>2;q[g+256>>2]=k;e=q[b+4>>2];j=q[b>>2];q[g+240>>2]=j;q[g+244>>2]=e;h=q[b+20>>2];q[g+272>>2]=q[b+16>>2];q[g+276>>2]=h;i=v[c>>3]*.5;v[g+192>>3]=i;l=v[c+8>>3]*.5;v[g+200>>3]=l;r=v[c+16>>3]*.5;v[g+224>>3]=r;n=v[c+24>>3]*.5;v[g+232>>3]=n;l=(l+n)*.5;v[g+216>>3]=l;i=(i+r)*.5;v[g+208>>3]=i;r=E(i*i+l*l);if(!!(r>3])){p=d^-1;q[a+60>>2]=p&q[a+60>>2];l=v[a+80>>3]*v[a+16>>3];u:{if(y(l)<2147483648){b=~~l;break u}b=-2147483648}f=d&1;l=v[a+88>>3]*v[a+24>>3];v:{if(y(l)<2147483648){c=~~l;break v}c=-2147483648}if(f){q[g+116>>2]=c+e;q[g+112>>2]=b+j;t=q[a>>2];h=q[g+116>>2];q[g+24>>2]=q[g+112>>2];q[g+28>>2]=h;h=0;if(!qb(t,g+24|0,1)){break a}}t=d&2;if(t){q[g+116>>2]=e-c;q[g+112>>2]=j-b;b=q[a+4>>2];c=q[g+116>>2];q[g+16>>2]=q[g+112>>2];q[g+20>>2]=c;h=0;if(!qb(b,g+16|0,1)){break a}}h=0;if(!kg(a,k,m,v[o+24>>3],v[o+32>>3],d)){break a}q[a+60>>2]=p&q[a+60>>2];l=v[o+32>>3]*v[a+24>>3];w:{if(y(l)<2147483648){b=~~l;break w}b=-2147483648}l=v[o+24>>3]*v[a+16>>3];x:{if(y(l)<2147483648){c=~~l;break x}c=-2147483648}if(f){q[g+116>>2]=b+m;q[g+112>>2]=c+k;d=q[a>>2];e=q[g+116>>2];q[g+8>>2]=q[g+112>>2];q[g+12>>2]=e;if(!qb(d,g+8|0,1)){break a}}if(t){q[g+116>>2]=m-b;q[g+112>>2]=k-c;a=q[a+4>>2];b=q[g+116>>2];q[g>>2]=q[g+112>>2];q[g+4>>2]=b;if(!qb(a,g,1)){break a}}h=1;break a}b=q[o+4>>2];q[g+112>>2]=q[o>>2];q[g+116>>2]=b;b=q[o+12>>2];q[g+120>>2]=q[o+8>>2];q[g+124>>2]=b;n=v[o+16>>3];s=l;l=1/r;v[g+144>>3]=s*l;v[g+152>>3]=r;v[g+136>>3]=i*l;v[g+128>>3]=n*.5;b=q[o+36>>2];q[g+168>>2]=q[o+32>>2];q[g+172>>2]=b;b=q[o+28>>2];q[g+160>>2]=q[o+24>>2];q[g+164>>2]=b;v[g+176>>3]=v[o+40>>3]*.5;h=0;if(!ml(a,g+240|0,g+192|0,g+112|0,d,f)){break a}h=ml(a,g+256|0,g+208|0,g+136|0,d,0)}Da=g+288|0;return h}function so(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;h=Da-16|0;Da=h;q[b+12>>2]=0;q[b>>2]=c;j=c+d|0;q[b+8>>2]=j;n[q[b+28>>2]](b);a:{b:{c=q[b>>2];c:{if(c>>>0>=j>>>0){break c}l=a+132|0;m=a+164|0;o=a+168|0;p=a+464|0;d=0;while(1){d:{e:{f:{g:{g=r[c|0];f=g+ -99|0;if(f>>>0>2){if((g|0)!=70){break e}f=c+14|0;if((f|0)==(j|0)){break g}if(f>>>0>=j>>>0){break e}f=r[c+13|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break g}}h:{switch(f-1|0){case 1:f=c+6|0;if((f|0)==(j|0)){break f}if(f>>>0>=j>>>0){break e}f=r[c+5|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break f};case 0:break e;default:break h}}i:{f=c+10|0;if((f|0)==(j|0)){break i}if(f>>>0>=j>>>0){break e}f=r[c+9|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break i}}if(Ra(c,7292,9)){break e}break c}if(Ra(c,7302,13)){break e}g=q[b+376>>2];if(g&1){q[b+376>>2]=g|2}q[b>>2]=c+13;break d}if(!Ra(c,7286,5)){break c}}if(g+ -48>>>0<=9){n[q[b+32>>2]](b);e=1;d=c;if(!q[b+12>>2]){break d}break c}j:{k:{f=c+6>>>0>=j>>>0;if(!(f|(g|0)!=82)){if(!(e&255)|r[c+1|0]!=68){break k}q[b>>2]=d;g=q[q[a+128>>2]+52>>2];e=q[b+8>>2];n[q[b+28>>2]](b);l:{c=q[b>>2];m:{if(c>>>0>=e>>>0|r[c|0]+ -48>>>0>9){break m}c=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((c|0)<0){break m}f=e;e=q[b>>2];if((c|0)<(f+(e^-1)|0)){break l}}c=3;if(g){break a}break b}q[b>>2]=(c+e|0)+1;e=0;if(!q[b+12>>2]){break d}c=3;break a}if(!((g|0)!=45|f)){if(!(e&255)|r[c+1|0]!=124){break k}q[b>>2]=d;g=q[q[a+128>>2]+52>>2];e=q[b+8>>2];n[q[b+28>>2]](b);n:{c=q[b>>2];o:{if(c>>>0>=e>>>0|r[c|0]+ -48>>>0>9){break o}c=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((c|0)<0){break o}f=e;e=q[b>>2];if((c|0)<(f+(e^-1)|0)){break n}}c=3;if(!g){break b}break a}q[b>>2]=(c+e|0)+1;e=0;if(!q[b+12>>2]){break d}c=3;break a}if((g|0)!=47|c+2>>>0>=j>>>0){break k}f=c+1|0;q[b>>2]=f;n[q[b+32>>2]](b);if(q[b+12>>2]){break c}e=0;c=q[b>>2];if(c>>>0>=j>>>0){break d}k=c-f|0;if(k+ -1>>>0>20){break d}s=r[f|0];c=7328;i=9032;while(1){g=c;p:{if(r[i|0]!=(s|0)){break p}if((Wa(i)|0)!=(k|0)){break p}if(Oc(f,i,k)){break p}c=q[b+376>>2];if(!(q[g+32>>2]&(c&1?2:1))){break d}if(c&2){if(Ta(i,9020)){break d}}i=q[a+532>>2];e=0;q:{if(!i){break q}e=q[i>>2]?i:0}f=b;k=q[g+8>>2];r:{if((k|0)==11){n[q[g+12>>2]](a,b);c=q[b+12>>2];break r}s:{t:{u:{v:{w:{x:{c=q[g+4>>2]+ -2|0;if(c>>>0<=6){y:{switch(c-1|0){case 0:q[h+12>>2]=l;if(e){break x}c=h+12|0;break t;case 1:q[h+12>>2]=o;c=h+12|0;if(!e){break t}c=e+212|0;break w;case 2:q[h+12>>2]=p;c=h+12|0;if(!e){break t}c=e+284|0;break w;case 3:q[h+12>>2]=b;c=h+12|0;break t;case 4:q[h+12>>2]=a;c=h+12|0;break t;case 5:break y;default:break u}}q[h+12>>2]=i;c=h+12|0;e=0;break v}q[h+12>>2]=l;c=h+12|0;break t}c=e+144|0}i=q[c>>2];e=q[e>>2]}if(i){break s}break j}q[h+12>>2]=m;c=h+12|0}e=0}if(k+ -9>>>0<=1){c=n[q[b+68>>2]](b,g,c,e,0)|0;break r}c=n[q[b+64>>2]](b,g,c,e,0)|0}q[f+12>>2]=c;if(!c){e=0;break d}if((c&255)==162){break j}break a}c=g+36|0;i=q[g+36>>2];if(i){continue}break}break d}n[q[b+32>>2]](b);e=0;if(q[b+12>>2]){break c}break d}e=0;q[b+12>>2]=0}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break}}c=q[b+12>>2];break a}q[b+12>>2]=3}Da=h+16|0;return c}function UG(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,s=0,y=0,z=0,A=0,B=0,C=0,D=0,E=x(0),F=0;d=3222;h=Da-304|0;Da=h;e=r[3222];a:{if(!e){break a}b:{while(1){c:{e=e&255;d:{if((e|0)==32|e+ -9>>>0<5){while(1){e=d;d=d+1|0;c=r[e+1|0];if((c|0)==32|c+ -9>>>0<5){continue}break}xd(a,0,0);while(1){c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break e}c=vb(a)}if((c|0)==32|c+ -9>>>0<5){continue}break}f:{if(!q[a+104>>2]){d=q[a+4>>2];break f}d=q[a+4>>2]+ -1|0;q[a+4>>2]=d}c=d-q[a+8>>2]|0;i=c;c=c>>31;d=i;i=j+q[a+124>>2]|0;j=k+q[a+120>>2]|0;if(j>>>0>>0){i=i+1|0}k=d+j|0;c=c+i|0;c=k>>>0>>0?c+1|0:c;j=c;break d}g:{h:{i:{e=r[d|0];if((e|0)==37){c=r[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}xd(a,0,0);e=((e|0)==37)+d|0;c=q[a+4>>2];j:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break j}c=vb(a)}if((c|0)!=r[e|0]){if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}A=0;if((c|0)>=0){break a}break c}c=k+1|0;if(c>>>0<1){j=j+1|0}k=c;break d}i=0;e=d+2|0;break g}if(!(r[d+2|0]!=36|c+ -48>>>0>=10)){i=TG(b,r[d+1|0]+ -48|0);e=d+3|0;break g}i=q[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(r[e|0]+ -48>>>0<10){while(1){d=(r[e|0]+w(d,10)|0)+ -48|0;c=r[e+1|0];e=e+1|0;if(c+ -48>>>0<10){continue}break}}c=e;g=r[c|0];k:{if((g|0)!=109){break k}m=0;A=(i|0)!=0;g=r[e+1|0];n=0;c=e+1|0}f=(g&255)+ -65|0;if(f>>>0>57){break c}e=c+1|0;g=3;l:{m:{switch(f-1|0){case 38:f=c+2|0;c=r[c+1|0]==104;e=c?f:e;g=c?-2:-1;break l;case 42:f=c+2|0;c=r[c+1|0]==108;e=c?f:e;g=c?3:1;break l;case 50:case 56:g=1;break l;case 10:g=2;break l;case 40:break l;case 0:case 2:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 23:case 24:case 26:case 27:case 28:case 29:case 30:case 32:case 41:case 43:case 47:case 48:case 52:case 53:case 55:break c;default:break m}}g=0;e=c}f=r[e|0];c=(f&47)==3;z=c?1:g;s=c?f|32:f;n:{if((s|0)==91){break n}o:{if((s|0)!=110){if((s|0)!=99){break o}d=(d|0)>1?d:1;break n}mp(i,z,k,j);break d}xd(a,0,0);while(1){c=q[a+4>>2];p:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break p}c=vb(a)}if((c|0)==32|c+ -9>>>0<5){continue}break}q:{if(!q[a+104>>2]){c=q[a+4>>2];break q}c=q[a+4>>2]+ -1|0;q[a+4>>2]=c}f=c-q[a+8>>2]|0;c=f;f=c>>31;l=c;y=j+q[a+124>>2]|0;j=k+q[a+120>>2]|0;if(j>>>0>>0){y=y+1|0}c=j;k=l+c|0;j=f+y|0;j=k>>>0>>0?j+1|0:j}y=d;C=d>>31;xd(a,d,C);f=q[a+4>>2];c=q[a+104>>2];r:{if(f>>>0>>0){q[a+4>>2]=f+1;break r}if((vb(a)|0)<0){break c}c=q[a+104>>2]}if(c){q[a+4>>2]=q[a+4>>2]+ -1}s:{t:{c=s+ -88|0;if(c>>>0>32){c=s+ -65|0;if(c>>>0>6|!(1<>2]-q[a+8>>2]|0;c=d;if(q[a+120>>2]==(0-c|0)&q[a+124>>2]==(0-((c>>31)+(0>>0)|0)|0)){break b}if(!(!i|(s|0)!=112)){q[i>>2]=y;break s}mp(i,z,y,f);break s}x:{if((s|16)==115){Na(h+32|0,-1,257);o[h+32|0]=0;if((s|0)!=115){break x}o[h+65|0]=0;o[h+46|0]=0;p[h+42>>1]=0;p[h+44>>1]=0;break x}l=r[e+1|0];f=(l|0)==94;Na(h+32|0,f,257);o[h+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=r[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}g=(l|0)!=94;break y}g=(l|0)!=94;o[h+78|0]=g;break z}g=(l|0)!=94;o[h+126|0]=g}c=c+1|0}e=c;while(1){c=r[e|0];B:{if((c|0)!=45){if(!c){break c}if((c|0)!=93){break B}break x}c=45;l=r[e+1|0];if(!l|(l|0)==93){break B}f=e+1|0;e=r[e+ -1|0];C:{if(e>>>0>=l>>>0){c=l;break C}while(1){e=e+1|0;o[e+(h+32|0)|0]=g;c=r[f|0];if(e>>>0>>0){continue}break}}e=f}o[(c+h|0)+33|0]=g;e=e+1|0;continue}}s=(s|0)==99;g=s?d+1|0:31;D:{E:{l=(z|0)!=1;F:{if(!l){c=i;if(A){c=Sa(g<<2);if(!c){break D}}q[h+296>>2]=0;q[h+300>>2]=0;d=0;while(1){n=c;G:{while(1){c=q[a+4>>2];H:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break H}c=vb(a)}if(!r[(c+h|0)+33|0]){break G}o[h+27|0]=c;c=rp(h+28|0,h+27|0,1,h+296|0);if((c|0)==-2){continue}if((c|0)==-1){break E}if(n){q[(d<<2)+n>>2]=q[h+28>>2];d=d+1|0}if(!A|(d|0)!=(g|0)){continue}break}g=g<<1|1;c=db(n,g<<2);if(c){continue}break E}break}c=h+296|0;f=1;I:{if(!c){break I}f=!q[c>>2]}if(!f){break E}m=0;break F}if(A){d=0;c=Sa(g);if(!c){break D}while(1){m=c;while(1){c=q[a+4>>2];J:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break J}c=vb(a)}if(!r[(c+h|0)+33|0]){n=0;break F}o[d+m|0]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}n=0;g=g<<1|1;c=db(m,g);if(c){continue}break}break c}d=0;if(i){while(1){c=q[a+4>>2];K:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break K}c=vb(a)}if(r[(c+h|0)+33|0]){o[d+i|0]=c;d=d+1|0;continue}else{n=0;m=i;break F}}}while(1){c=q[a+4>>2];L:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break L}c=vb(a)}if(r[(c+h|0)+33|0]){continue}break}m=0;n=0}M:{if(!q[a+104>>2]){c=q[a+4>>2];break M}c=q[a+4>>2]+ -1|0;q[a+4>>2]=c}c=c-q[a+8>>2]|0;f=c;z=c+q[a+120>>2]|0;c=q[a+124>>2]+(c>>31)|0;c=z>>>0>>0?c+1|0:c;if(!(c|z)|(s?(y|0)!=(z|0)|(c|0)!=(C|0):0)){break b}N:{if(!A){break N}if(!l){q[i>>2]=n;break N}q[i>>2]=m}if(s){break s}if(n){q[(d<<2)+n>>2]=0}if(!m){m=0;break s}o[d+m|0]=0;break s}m=0;break c}m=0;n=0;break c}op(h,a,z,0);d=q[a+4>>2]-q[a+8>>2]|0;c=d;if(q[a+120>>2]==(0-c|0)&q[a+124>>2]==(0-((c>>31)+(0>>0)|0)|0)){break b}if(!i|z>>>0>2){break s}y=q[h+8>>2];f=q[h+12>>2];d=q[h>>2];c=q[h+4>>2];O:{switch(z-1|0){default:D=i,E=yG(d,c,y,f),u[D>>2]=E;break s;case 0:D=i,F=Tf(d,c,y,f),v[D>>3]=F;break s;case 1:break O}}q[i>>2]=d;q[i+4>>2]=c;q[i+8>>2]=y;q[i+12>>2]=f}d=q[a+4>>2]-q[a+8>>2]|0;c=d;d=c>>31;f=c;j=j+q[a+124>>2]|0;c=k+q[a+120>>2]|0;if(c>>>0>>0){j=j+1|0}k=f+c|0;j=d+j|0;j=k>>>0>>0?j+1|0:j;B=((i|0)!=0)+B|0}d=e+1|0;e=r[e+1|0];if(e){continue}break a}break}B=B?B:-1}if(!A){break a}La(m);La(n)}Da=h+304|0;return B}function rN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,G=0,H=0;f=Da-384|0;Da=f;i=q[c+8>>2];k=q[c>>2];g=Sa(k<<4);q[a+16>>2]=g;i=i<<1;j=Sa(i);q[a+20>>2]=j;a:{if(!(j?g:0)){La(g);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;break a}q[a+12>>2]=i;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=k<<1}i=q[c+8>>2];k=q[c>>2];g=Sa(k<<4);q[b+16>>2]=g;i=i<<1;j=Sa(i);q[b+20>>2]=j;b:{c:{d:{if(!(!g|!j)){q[b+12>>2]=i;g=0;q[b+8>>2]=0;q[b>>2]=0;i=k<<1;q[b+4>>2]=i;if(!q[a+4>>2]|!i){break d}g=(d|0)>(e|0)?d:e;if((g|0)>=16){o[f+68|0]=1;q[f+24>>2]=0;q[f+28>>2]=0;q[f+20>>2]=b;q[f+16>>2]=a;v[f+40>>3]=e|0;v[f+32>>3]=d|0;q[f+64>>2]=16;h=16/+(g|0);v[f+144>>3]=h*.25;v[f+128>>3]=1-h;v[f+160>>3]=h*(h*390);v[f+56>>3]=1/+((16>(e|0)?16:e)|0);v[f+48>>3]=1/+((16>(d|0)?16:d)|0);m=h+1;v[f+152>>3]=m*(m*8);n=E(h+h);v[f+168>>3]=n;v[f+136>>3]=h*8+1+m*-4*n;b=q[c+16>>2];d=q[c>>2];if(d){a=0;while(1){g=0;e=(a<<3)+b|0;if(q[e>>2]+268435456>>>0>536870911|q[e+4>>2]+268435456>>>0>536870911){break d}a=a+1|0;if(a>>>0>>0){continue}break}}e:{f:{if(q[c+8>>2]){a=1;d=0;e=b;while(1){if(a&1){a=q[e+4>>2];q[f+120>>2]=q[e>>2];q[f+124>>2]=a}a=o[q[c+20>>2]+d|0];g=a&3;k=g+ -1|0;if(k>>>0>2){g=0;break d}b=(g<<3)+b|0;H=a&4;i=H?e:b;g:{h:{i:{switch(k-1|0){default:if(Df(f+16|0,q[i>>2],q[i+4>>2])){break g}g=0;break d;case 0:k=q[f+64>>2];j=0-k|0;g=b+ -8|0;s=q[g>>2];u=s-q[f+120>>2]|0;a=q[i+4>>2];l=q[i>>2];g=q[g+4>>2];w=g-q[f+124>>2]|0;if(!((w|0)>=(k|0)|(w|0)<=(j|0)|((u|0)<=(j|0)|(u|0)>=(k|0)))){if(Df(f+16|0,l,a)){break g}g=0;break d}x=l-s|0;z=a-g|0;if(!((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0)))){if(Df(f+16|0,l,a)){break g}g=0;break d}j=q[f+124>>2];i=q[f+120>>2];q[f+224>>2]=i;q[f+228>>2]=j;q[f+120>>2]=l;q[f+124>>2]=a;q[f+240>>2]=l;q[f+244>>2]=a;q[f+232>>2]=s;q[f+236>>2]=g;p=v[f+48>>3];h=p*+(0-x|0);v[f+280>>3]=h;n=v[f+56>>3];m=n*+(z|0);v[f+272>>3]=m;n=n*+(w|0);v[f+256>>3]=n;p=p*+(0-u|0);v[f+264>>3]=p;B=E(m*m+h*h);v[f+216>>3]=B;C=h;h=1/B;v[f+208>>3]=C*h;v[f+200>>3]=m*h;h=E(n*n+p*p);v[f+192>>3]=h;h=1/h;m=p*h;v[f+184>>3]=m;h=n*h;v[f+176>>3]=h;a=r[f+68|0];if(kg(f+16|0,i,j,h,m,3)){break h}g=0;break d;case 1:break i}}k=q[f+64>>2];j=0-k|0;l=b+ -16|0;D=q[l>>2];s=q[f+120>>2];x=D-s|0;a=q[i+4>>2];g=b+ -8|0;G=q[g>>2];g=q[g+4>>2];u=q[i>>2];w=9;j:{i=q[l+4>>2];l=q[f+124>>2];z=i-l|0;if((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0))){break j}x=G-s|0;w=8;z=g-l|0;if((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0))){break j}if(Df(f+16|0,u,a)){break g}g=0;break d}s=u-G|0;k:{A=a-g|0;if((A|0)>=(k|0)|(A|0)<=(j|0)|((s|0)<=(j|0)|(s|0)>=(k|0))){break k}s=u-D|0;A=a-i|0;if(!((A|0)>=(k|0)|(A|0)<=(j|0)|((s|0)<=(j|0)|(s|0)>=(k|0)))){if(Df(f+16|0,u,a)){break g}g=0;break d}w=w|4;if((w|0)!=12){break k}if(Df(f+16|0,u,a)){break g}g=0;break d}j=q[f+124>>2];l=j;k=q[f+120>>2];q[f+224>>2]=k;q[f+228>>2]=j;j=u;q[f+248>>2]=j;q[f+252>>2]=a;q[f+240>>2]=G;q[f+244>>2]=g;q[f+232>>2]=D;q[f+236>>2]=i;q[f+120>>2]=j;q[f+124>>2]=a;a=(f+224|0)+((w&3)<<3)|0;g=q[a+4>>2];i=(f+224|0)+(w<<1&24)|0;j=q[i+4>>2];p=v[f+48>>3];v[f+280>>3]=p*+(q[a>>2]-q[i>>2]|0);n=v[f+56>>3];v[f+272>>3]=n*+(j-g|0);h=p*+(0-s|0);v[f+296>>3]=h;m=n*+(A|0);v[f+288>>3]=m;n=n*+(z|0);v[f+256>>3]=n;p=p*+(0-x|0);v[f+264>>3]=p;B=E(m*m+h*h);v[f+216>>3]=B;C=h;h=1/B;v[f+208>>3]=C*h;v[f+200>>3]=m*h;h=E(n*n+p*p);v[f+192>>3]=h;h=1/h;m=p*h;v[f+184>>3]=m;h=n*h;v[f+176>>3]=h;a=r[f+68|0];if(!kg(f+16|0,k,l,h,m,3)){g=0;break d}g=0;if(!Ug(f+16|0,f+224|0,f+256|0,f+176|0,3,(a|0)!=0)){break d}break g}g=0;if(!ml(f+16|0,f+224|0,f+256|0,f+176|0,3,(a|0)!=0)){break d}}e=H?b:e;u=(e|0)!=(b|0);if(!u){l:{if(r[f+68|0]){i=q[f+124>>2];k=q[f+120>>2];a=15;h=1;m=v[f+136>>3];m:{if(!(m>0)){break m}while(1){n=.7071067811865476/E(h);v[(f+256|0)+(a<<3)>>3]=n;n=h*n;h=n+1;a=a+ -1|0;if(!a){break m}if(n>3]=1/h;n:{a=15-a|0;o:{if(!Ae(f+16|0,k,i,1,0,0,1,j,a,1)){break o}if(!Ae(f+16|0,k,i,0,1,-1,0,j,a,1)){break o}if(Ae(f+16|0,k,i,-1,0,0,-1,j,a,1)){break n}}g=0;break d}g=0;l=0;if(Ae(f+16|0,k,i,0,-1,1,0,j,a,1)){break l}break d}if(!Df(f+16|0,q[f+112>>2],q[f+116>>2])){g=0;break d}if(!kg(f+16|0,q[f+112>>2],q[f+116>>2],v[f+80>>3],v[f+88>>3],3)){g=0;break d}i=q[f+72>>2]&(q[f+76>>2]^-1);h=v[f+88>>3]*v[f+40>>3];p:{if(y(h)<2147483648){a=~~h;break p}a=-2147483648}l=i&1;h=v[f+80>>3]*v[f+32>>3];q:{if(y(h)<2147483648){g=~~h;break q}g=-2147483648}k=q[f+116>>2];j=q[f+112>>2];r:{if(!l){break r}q[f+260>>2]=a+k;q[f+256>>2]=g+j;l=q[f+260>>2];q[f+8>>2]=q[f+256>>2];q[f+12>>2]=l;if(qb(q[f+16>>2],f+8|0,1)){break r}g=0;break d}if(i&2){q[f+260>>2]=k-a;q[f+256>>2]=j-g;a=q[f+260>>2];q[f>>2]=q[f+256>>2];q[f+4>>2]=a;g=0;if(!qb(q[f+20>>2],f,1)){break d}}m=v[f+96>>3];h=v[f+104>>3];s:{if(h==v[f+88>>3]?m==v[f+80>>3]:0){break s}i=(q[f+76>>2]^-1)&(q[f+72>>2]^-1);h=h*v[f+40>>3];t:{if(y(h)<2147483648){a=~~h;break t}a=-2147483648}l=i&1;h=m*v[f+32>>3];u:{if(y(h)<2147483648){g=~~h;break u}g=-2147483648}k=q[f+116>>2];j=q[f+112>>2];if(l){l=q[q[f+16>>2]+16>>2]+(q[f+24>>2]<<3)|0;q[l+4>>2]=a+k;q[l>>2]=g+j}if(!(i&2)){break s}i=q[q[f+20>>2]+16>>2]+(q[f+28>>2]<<3)|0;q[i+4>>2]=k-a;q[i>>2]=j-g}o[f+68|0]=1;l=2}a=q[f+16>>2];g=q[a+8>>2];if(!g){break c}a=(g+q[a+20>>2]|0)+ -1|0;g=r[a|0];if(g>>>0>=4){break b}o[a|0]=g|4;if(l){a=q[f+20>>2];g=q[a+8>>2];if(!g){break c}a=(g+q[a+20>>2]|0)+ -1|0;g=r[a|0];if(g>>>0>=4){break e}o[a|0]=g|4}q[f+24>>2]=q[q[f+16>>2]>>2];q[f+28>>2]=q[q[f+20>>2]>>2]}a=(b|0)==(e|0);d=d+1|0;if(d>>>0>2]){continue}break}if(u){break f}}g=1;if((q[c+16>>2]+(q[c>>2]<<3)|0)==(b|0)){break d}}I(436993,436863,1421,436978);F()}break b}I(436967,436863,1354,436978);F()}La(g);La(q[b+20>>2]);q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;g=0}Da=f+384|0;return g}I(436843,436863,335,436877);F()}I(436899,436863,336,436877);F()}function DB(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;f=Da-160|0;Da=f;j=q[b+100>>2];e=q[b+104>>2];q[b+132>>2]=0;d=Xa(e,0);q[f+156>>2]=d;h=c>>31;k=(h+c^h)&65535;a:{b:{if(d){break b}d=lb(e,19264,f+152|0);q[f+156>>2]=d;if(d){break b}q[f+156>>2]=2;c:{if(s[f+152>>1]!=23117){break c}d=Xa(e,s[f+154>>1]);q[f+156>>2]=d;if(d){break b}d=lb(e,19296,f+144|0);q[f+156>>2]=d;if(d){break b}d=2;q[f+156>>2]=2;d:{e:{h=s[f+144>>1]+ -17742|0;f:{if(h>>>0>2){break f}g:{h:{i:{j:{switch(h-1|0){default:d=Xa(e,s[f+146>>1]+s[f+154>>1]|0);q[f+156>>2]=d;if(d){break b}d=mb(e,s[f+148>>1]-s[f+146>>1]|0);q[f+156>>2]=d;if(d){break b}i=rf(e);if(i>>>0>16){break i}g=rf(e);k:{if(g){while(1){d=rf(e);h=((q[e+8>>2]+q[e+32>>2]|0)-q[e+36>>2]|0)+4|0;if((g&65535)==32776){break k}q[e+32>>2]=(q[e+32>>2]+w(d,12)|0)+4;g=rf(e);if(g){continue}break}}d=0;h=0}jb(e);if(!(d?h:0)){q[f+156>>2]=3;break b}if(w(d,118)>>>0>t[e+4>>2]){q[f+156>>2]=3;break b}q[b>>2]=d;if((c|0)<0){break b}if(k>>>0>=d>>>0){q[f+156>>2]=6;break b}z=b,A=gb(j,172,f+156|0),q[z+132>>2]=A;if(q[f+156>>2]){break b}d=Xa(e,h+w(k,12)|0);q[f+156>>2]=d;if(d){break c}d=mb(e,12);q[f+156>>2]=d;if(d){break c}d=rf(e);q[q[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=q[e+32>>2]+8;jb(e);d=lj(q[b+132>>2],e);q[f+156>>2]=d;break f;case 1:break j;case 0:break f}}d=Xa(e,s[f+154>>1]);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19328,f+120|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+120>>2]!=17744|s[f+124>>1]!=332|(s[f+128>>1]!=224|s[f+130>>1]!=267)){break h}q[b>>2]=0;if(!s[f+126>>1]){break h}while(1){d=lb(e,19392,f+96|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+132>>2]!=q[f+104>>2]){g=g+1|0;if((g&65535)>>>0>=s[f+126>>1]){break h}continue}break}d=Xa(e,q[f+112>>2]);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19424,f+80|0);q[f+156>>2]=d;if(d){g=2;break g}d=0;g=0;if(s[f+94>>1]==(0-s[f+92>>1]|0)){break g}m=q[f+112>>2];v=m+16|0;while(1){d=Xa(e,(i<<3)+v|0);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19456,f+40|0);q[f+156>>2]=d;if(d){g=2;break g}d=q[f+44>>2];if((d|0)>=0){break h}d=d&2147483647;q[f+44>>2]=d;h=d+q[f+112>>2]|0;d=Xa(e,h);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19424,f- -64|0);q[f+156>>2]=d;if(d){g=2;break g}if(s[f+78>>1]!=(0-s[f+76>>1]|0)){x=h+16|0;d=0;l=0;while(1){d=Xa(e,(d<<3)+x|0);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19456,f+32|0);q[f+156>>2]=d;if(d){g=2;break g}d=q[f+36>>2];if((d|0)>=0){break h}d=d&2147483647;q[f+36>>2]=d;h=d+q[f+112>>2]|0;d=Xa(e,h);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19424,f+48|0);q[f+156>>2]=d;if(d){g=2;break g}if(s[f+62>>1]!=(0-s[f+60>>1]|0)){y=h+16|0;d=0;g=0;while(1){d=Xa(e,(d<<3)+y|0);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19456,f+24|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+36>>2]<=-1){break h}if(q[f+40>>2]==8){d=Xa(e,q[f+28>>2]+m|0);q[f+156>>2]=d;if(d){g=2;break g}d=lb(e,19472,f+8|0);q[f+156>>2]=d;if(d){g=2;break g}h=b;d=q[b>>2];if((d|0)==(k|0)){i=gb(j,172,f+156|0);q[b+132>>2]=i;d=q[f+156>>2];if(d){g=2;break g}q[i>>2]=(q[f+8>>2]+q[f+112>>2]|0)-q[f+104>>2];q[i+164>>2]=q[f+12>>2];d=lj(i,e);q[f+156>>2]=d;if(d){g=16;break g}d=q[b>>2]}q[h>>2]=d+1}g=g+1|0;d=g&65535;if(s[f+62>>1]+s[f+60>>1]>>>0>d>>>0){continue}break}}l=l+1|0;d=l&65535;if(s[f+78>>1]+s[f+76>>1]>>>0>d>>>0){continue}break}}d=0;g=0;u=u+1|0;i=u&65535;if(s[f+94>>1]+s[f+92>>1]>>>0>i>>>0){continue}break}break g}q[f+156>>2]=3;jb(e);break b}d=3;q[f+156>>2]=3;g=2}if(g){break e}}e=q[b>>2];if(!e){q[f+156>>2]=3;break b}if((k|0)<(e|0)){break d}q[f+156>>2]=6;break b}h=g+ -2|0;if(h>>>0>14){break a}switch(h-1|0){case 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 a;case 13:break d;default:break b}}if(!d){break b}}d=q[b+132>>2];if(!d){break b}e=q[b+100>>2];if(q[d+160>>2]){zb(q[b+104>>2],d+160|0)}h=q[d+168>>2];if(h){n[q[e+8>>2]](e,h)}q[d+168>>2]=0;if(d){n[q[e+8>>2]](e,d)}q[b+132>>2]=0}e=q[f+156>>2]}q[f+96>>2]=e;l:{if((c|0)<=-1){d=0;if(!e){break l}}m:{n:{o:{if((e&255)==2){e=gb(j,172,f+96|0);q[b+132>>2]=e;d=q[f+96>>2];if(d){break l}q[b>>2]=1;d=0;q[e>>2]=0;q[e+164>>2]=q[a+4>>2];a=lj(e,a);q[f+96>>2]=a;if(!(a|(c|0)<0)){if(!k){break o}q[f+96>>2]=6;break m}if(a){break m}break l}if(e){break n}}a=q[b+132>>2];if(!s[a+96>>1]){q[f+96>>2]=3;break m}q[b+4>>2]=k;c=q[b+8>>2];q[b+8>>2]=c|18;if(s[a+100>>1]==s[a+102>>1]){q[b+8>>2]=c|22}if(r[a+86|0]){q[b+12>>2]=q[b+12>>2]|1}if(s[a+90>>1]>=800){q[b+12>>2]=q[b+12>>2]|2}c=Oa(j,16,0,1,0,f+96|0);q[b+32>>2]=c;if(q[f+96>>2]){break m}q[b+28>>2]=1;p[c+2>>1]=s[a+100>>1];p[c>>1]=s[a+84>>1]+s[a+96>>1];e=s[a+74>>1]<<6;q[c+4>>2]=e;d=s[a+78>>1];h=e;e=s[a+76>>1];e=e?e:72;h=bb(h,e,72)+32&-64;q[c+12>>2]=h;g=d?d:72;d=s[a+96>>1]<<6;p:{if((h|0)<=(d|0)){d=q[c+4>>2];break p}q[c+12>>2]=d;d=bb(d,72,e);q[c+4>>2]=d}z=c,A=bb(d,g,72)+32&-64,q[z+8>>2]=A;q[f+120>>2]=b;q[f+124>>2]=0;q[f+128>>2]=0;if(r[a+92|0]==77){p[f+128>>1]=1;q[f+124>>2]=1634889070}c=md(19188,0,f+120|0,0);q[f+96>>2]=c;if(c){break m}c=r[a+105|0];d=r[a+104|0];if(c>>>0>>0){q[f+96>>2]=3;break m}q[b+16>>2]=(c-d|0)+2;c=q[a+8>>2];d=q[a+116>>2];if(c>>>0<=d>>>0){q[f+96>>2]=3;break m}c=c-d|0;d=gb(j,c+1|0,f+96|0);q[a+168>>2]=d;if(q[f+96>>2]){break m}Qa(d,q[a+160>>2]+q[a+116>>2]|0,c);o[c+q[a+168>>2]|0]=0;d=a;a=q[a+168>>2];a=Oa(j,1,c,Wa(a)+1|0,a,f+96|0);q[d+168>>2]=a;if(q[f+96>>2]){break m}q[b+24>>2]=19228;q[b+20>>2]=a;c=q[b+12>>2];a=c&1;if(c&2){if(a){q[b+24>>2]=19236;d=0;break l}q[b+24>>2]=19248;d=0;break l}d=0;if(!a){break l}q[b+24>>2]=19253;break l}d=e;if(!b){break l}}a=q[b+100>>2];d=q[b+132>>2];if(d){if(q[d+160>>2]){zb(q[b+104>>2],d+160|0)}c=a;e=q[d+168>>2];if(e){n[q[c+8>>2]](c,e)}q[d+168>>2]=0;if(d){n[q[a+8>>2]](a,d)}q[b+132>>2]=0}c=q[b+32>>2];if(c){n[q[a+8>>2]](a,c)}q[b+28>>2]=0;q[b+32>>2]=0;d=q[f+96>>2]}Da=f+160|0;return d|0}function eX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-96|0;Da=e;a:{if(q[a+24>>2]==9){c=q[a+140>>2];q[e+88>>2]=q[a+136>>2];q[e+92>>2]=c;c=q[a+132>>2];q[e+80>>2]=q[a+128>>2];q[e+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+32|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[e+80>>3]=v[e+80>>3]+v[c>>3];v[e+88>>3]=v[e+88>>3]+v[d>>3];c=q[e+92>>2];q[e+72>>2]=q[e+88>>2];q[e+76>>2]=c;c=q[e+84>>2];q[e+64>>2]=q[e+80>>2];q[e+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]- -64|0}g:{if(!k){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+96|0}i:{if(!k){break i}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break i}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[e+64>>3]=v[e+64>>3]+v[c>>3];v[e+72>>3]=v[e+72>>3]+v[d>>3];c=q[e+76>>2];q[e+56>>2]=q[e+72>>2];q[e+60>>2]=c;c=q[e+68>>2];q[e+48>>2]=q[e+64>>2];q[e+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}v[e+48>>3]=v[e+48>>3]+v[c>>3];c=q[e+60>>2];q[e+40>>2]=q[e+56>>2];q[e+44>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=q[a+36>>2]+160|0}m:{if(!k){break m}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break m}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break m}q[c+20>>2]=0}v[e+32>>3]=v[e+32>>3]+v[c>>3];c=q[e+44>>2];q[e+24>>2]=q[e+40>>2];q[e+28>>2]=c;c=q[e+36>>2];q[e+16>>2]=q[e+32>>2];q[e+20>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}p:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+36>>2]+224|0}q:{if(!k){break q}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break q}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break q}q[d+20>>2]=0}v[e+16>>3]=v[e+16>>3]+v[c>>3];v[e+24>>3]=v[e+24>>3]+v[d>>3];c=q[e+28>>2];q[e+8>>2]=q[e+24>>2];q[e+12>>2]=c;c=q[e+20>>2];q[e>>2]=q[e+16>>2];q[e+4>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}r:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break r}c=q[a+36>>2]+256|0}s:{if(!k){break s}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break s}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break s}q[c+20>>2]=0}v[e>>3]=v[e>>3]+v[c>>3];c=q[a+140>>2];q[e+8>>2]=q[a+136>>2];q[e+12>>2]=c;pb(a,b,e+80|0,e- -64|0,e+48|0);pb(a,b,e+32|0,e+16|0,e);break a}o[a+40|0]=1}Da=e+96|0}function jz(a,b,c,d,e){a=a|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,t=0,u=0,v=0,x=0,y=0;f=Da-32|0;Da=f;k=1;i=q[b+540>>2];if((d|0)>=1){c=0;while(1){g=h;l=q[(c<<3)+e>>2]+ -1768386662|0;a:{b:{if(l>>>0>13){break b}h=1;c:{switch(l-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break b;case 12:break c;default:break a}}j=1}h=g}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d:{if(q[q[b+128>>2]+52>>2]){break d}g=0;c=s[b+152>>1];e:{if(!c){break e}g=q[b+156>>2];d=g+(c<<4)|0;c=g;while(1){if(q[c+12>>2]?q[c>>2]==1735162214:0){break d}c=c+16|0;if(c>>>0>>0){continue}break}c=g;while(1){if(q[c+12>>2]?q[c>>2]==1128678944:0){break d}c=c+16|0;if(c>>>0>>0){continue}break}while(1){if(q[g+12>>2]?q[g>>2]==1128678962:0){break e}g=g+16|0;if(g>>>0>>0){continue}break}g=0}k=(g|0)!=0}c=0;e=n[q[b+516>>2]](b,1935829368,a,0)|0;g=(e|0)!=0&k;f:{g:{h:{if(g){break h}d=q[i+68>>2];if(!d){break h}d=n[d](b,a)|0;q[f+28>>2]=d;c=!d;if(!e){break h}if(!d){break g}}d=n[q[i+24>>2]](b,a)|0;q[f+28>>2]=d;if(d){break f}}d=n[q[b+516>>2]](b,1128418371,a,0)|0;e=n[q[b+516>>2]](b,1128416340,a,0)|0;if((s[b+178>>1]+ -16&65535)>>>0>=16369){q[f+28>>2]=8;break f}g=g&((d|0)!=0&(e|0)!=0);n[q[i+36>>2]](b,a)|0;n[q[i+32>>2]](b,a)|0;n[q[i+48>>2]](b,a)|0;d=n[q[i+44>>2]](b,a)|0;q[f+28>>2]=d;i:{if(c){break i}c=n[q[i+28>>2]](b,a,0)|0;q[f+28>>2]=c;j:{k:{if(!c){c=n[q[i+92>>2]](b,a,0)|0;q[f+28>>2]=c;if((c&255)!=142){break k}q[f+28>>2]=147;c=q[q[b+128>>2]+52>>2];if(!c|!q[q[c>>2]+8>>2]){break f}p[b+250>>1]=0;q[f+28>>2]=0;break j}if((c&255)!=142){break f}if(q[b+148>>2]==1953658213){g=0;q[f+28>>2]=0;break j}q[f+28>>2]=143;c=q[q[b+128>>2]+52>>2];if(!c|!q[q[c>>2]+8>>2]){break f}p[b+250>>1]=0;q[f+28>>2]=0;break j}if(c){break f}}c=n[q[i+28>>2]](b,a,1)|0;q[f+28>>2]=c;l:{m:{if(c){break m}c=n[q[i+92>>2]](b,a,1)|0;q[f+28>>2]=c;if(c){break m}o[b+292|0]=1;break l}if((c&255)!=142){break f}}c=n[q[i+40>>2]](b,a)|0;q[f+28>>2]=c;if(!c){break i}p[b+372>>1]=65535}c=q[i+96>>2];if(c){x=f,y=n[c](b,a)|0,q[x+28>>2]=y}c=q[i+112>>2];if(c){n[c](b,a)|0;x=f,y=n[q[i+116>>2]](b,a)|0,q[x+28>>2]=y}n[q[i+64>>2]](b,a)|0;n[q[i+60>>2]](b,a)|0;x=f,y=n[q[i+56>>2]](b,a)|0,q[x+28>>2]=y;q[b+20>>2]=0;q[b+24>>2]=0;q[b+16>>2]=s[b+264>>1];a=b+24|0;c=b+20|0;n:{if(!(!(o[b+437|0]&1)|s[b+372>>1]==65535)){o:{if(!(h&255)){e=Id(b,16,c);q[f+28>>2]=e;if(e){break f}if(q[c>>2]){break o}}c=Id(b,1,c);q[f+28>>2]=c;if(c){break f}}if(!j){c=Id(b,17,a);q[f+28>>2]=c;if(c){break f}}if(q[a>>2]){break n}a=Id(b,2,a);q[f+28>>2]=a;if(!a){break n}break f}e=Id(b,21,c);q[f+28>>2]=e;if(e){break f}e=q[c>>2];if(!(e|h&255)){e=Id(b,16,c);q[f+28>>2]=e;if(e){break f}e=q[c>>2]}if(!e){c=Id(b,1,c);q[f+28>>2]=c;if(c){break f}}c=Id(b,22,a);q[f+28>>2]=c;if(c){break f}c=q[a>>2];if(!(c|j)){c=Id(b,17,a);q[f+28>>2]=c;if(c){break f}c=q[a>>2]}if(c){break n}a=Id(b,2,a);q[f+28>>2]=a;if(a){break f}}c=q[b+8>>2];a=g|((q[b+872>>2]?0:(q[b+796>>2]&-2)!=2)?c:c|16384);c=a|24;c=d?c:q[b+476>>2]==196608?c:a|536;a=q[b+488>>2]?c|4:c;a=r[b+292|0]?a|32:a;d=q[b+820>>2]?a|64:a;a=b;if(o[b+740|0]&1){e=0;h=s[b+152>>1];p:{if(!h){break p}c=q[b+156>>2];k=c+(h<<4)|0;h=c;while(1){q:{if(!(!q[h+12>>2]|q[h>>2]!=1735162214)){h=c;r:{while(1){if(q[h+12>>2]?q[h>>2]==1735811442:0){break r}h=h+16|0;if(h>>>0>>0){continue}break}h=0}d=h?d|256:d;break q}h=h+16|0;if(h>>>0>>0){continue}}break}while(1){if(!(!q[c+12>>2]|q[c>>2]!=1128678962)){e=c;break p}c=c+16|0;if(c>>>0>>0){continue}break}}d=e?d|256:d}q[a+8>>2]=d;a=b;s:{if(!(!g|s[b+372>>1]==65535)){c=s[b+436>>1];c=c>>>4&2|(c&513)!=0;break s}c=s[b+204>>1];c=c>>>1&1|c<<1&2}q[a+12>>2]=c|q[b+12>>2];iz(b);h=q[b+36>>2];t:{if((h|0)>=1){k=q[b+40>>2];a=0;c=0;while(1){u:{v:{d=q[k+(c<<2)>>2];j=s[d+8>>1];if(j>>>0>3){break v}e=p[d+10>>1];g=162608;w:{x:{switch(j-1|0){default:g=162620;break w;case 0:if(e){break v}g=162632;break w;case 1:break w;case 2:break x}}g=e&65535;if(g>>>0>=11|!(1151>>>g&1)){break v}g=q[(e<<2)+163748>>2]}e=d;d=q[g+8>>2];q[e+4>>2]=d;if((d|0)!=1937337698?(d|0)!=1970170211:0){break u}a=1;break u}q[d+4>>2]=0}c=c+1|0;if((h|0)!=(c|0)){continue}break}if(a&255){break t}}q[f>>2]=b;q[f+4>>2]=1970170211;q[f+8>>2]=65539;a=md(162040,0,f,0);q[f+28>>2]=a;y:{if(!a){break y}a=a&255;if((a|0)==163){break y}if((a|0)!=7){break f}}q[f+28>>2]=0}a=q[b+800>>2];z:{if(!a){break z}h=q[q[b+104>>2]+28>>2];e=s[b+178>>1];c=s[b+374>>1];A:{if(!(!e|s[b+372>>1]==65535)){break A}e=1;c=1}x=b,y=Oa(h,16,0,a,0,f+28|0),q[x+32>>2]=y;if(q[f+28>>2]){break f}k=Oa(h,4,0,a,0,f+28|0);if(q[f+28>>2]){break f}l=a>>>0>1?a:1;u=e>>>1|0;v=c<<16>>16;g=0;c=0;while(1){d=q[b+32>>2];j=n[q[i+108>>2]](b,c,f)|0;q[f+28>>2]=j;B:{if(j){break B}d=d+(g<<4)|0;p[d>>1]=q[f+20>>2]>>>6;j=s[f>>1];q[d+8>>2]=j<<6;p[d+2>>1]=(w(j,v)+u|0)/(e|0);m=s[f+2>>1];t=m<<6;q[d+4>>2]=t;q[d+12>>2]=t;if(!j|!m){break B}q[k+(g<<2)>>2]=c;g=g+1|0}c=c+1|0;if((l|0)!=(c|0)){continue}break}a=Oa(h,4,a,g,k,f+28|0);if(!g){break z}q[b+804>>2]=a;q[b+28>>2]=g;q[b+8>>2]=q[b+8>>2]|2}c=q[b+8>>2];if(!(c&3)){c=c|1;q[b+8>>2]=c}if(!(c&1)){break f}p[b+68>>1]=s[b+178>>1];q[b+52>>2]=p[b+196>>1];q[b+56>>2]=p[b+198>>1];q[b+60>>2]=p[b+200>>1];q[b- -64>>2]=p[b+202>>1];d=s[b+372>>1]==65535;C:{if(!(d|!(r[b+436|0]&128))){a=s[b+442>>1];p[b+70>>1]=a;c=s[b+444>>1];p[b+72>>1]=c;p[b+74>>1]=s[b+446>>1]+(a-c|0);break C}a=s[b+220>>1];p[b+70>>1]=a;c=s[b+222>>1];p[b+72>>1]=c;p[b+74>>1]=s[b+224>>1]+(a-c|0);if(a|c|d){break C}a=s[b+442>>1];c=s[b+444>>1];if(a|c){p[b+72>>1]=c;p[b+70>>1]=a;p[b+74>>1]=s[b+446>>1]+(a-c|0);break C}a=s[b+448>>1];p[b+70>>1]=a;c=a;a=s[b+450>>1];p[b+74>>1]=c+a;p[b+72>>1]=0-a}p[b+76>>1]=s[b+226>>1];p[b+78>>1]=s[(r[b+292|0]?306:74)+b>>1];a=p[b+486>>1];p[b+82>>1]=a;p[b+80>>1]=s[b+484>>1]-((a|0)/2|0)}Da=f+32|0;return q[f+28>>2]}function OK(a,b,c,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=-4;a:{b:{c:{d:{e:{if(b>>>0>=c>>>0){break e}h=a+72|0;e=r[h+r[b|0]|0]+ -2|0;if(e>>>0>34){break c}g=18;f=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(e-1|0){case 9:return vq(12,a,b+1|0,c,d)|0;case 10:return vq(13,a,b+1|0,c,d)|0;default:e=-1;g=b+1|0;if((c-g|0)<1){break e}x:{f=r[r[b+1|0]+h|0];if(f>>>0>29){break x}if(!(1<>>0>7){break g}y:{switch(g-1|0){case 6:return uq(a,b+3|0,c,d)|0;default:q[d>>2]=b+3;return 33;case 1:case 3:break y;case 0:case 2:case 4:case 5:break g}}b=b+3|0;g=c-b|0;if((g|0)<=0){break e}while(1){a=r[r[b|0]+h|0];if(a>>>0>30){break c}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+1|0;g=c-b|0;if((g|0)>0){continue}break}break e}return tq(a,b+2|0,c,d)|0}q[d>>2]=b;return 29}q[d>>2]=g;break b;case 4:break j;case 3:break k;case 2:break l;case 16:break m;case 8:break n;case 33:break o;case 29:break p;case 28:break q;case 1:break r;case 17:break s;case 32:break t;case 27:break u;case 7:case 18:break v;case 6:break w;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 26:case 30:case 31:break c;case 19:case 21:break h;case 20:case 22:case 23:case 24:break i}}if((b+1|0)!=(c|0)){break v}q[d>>2]=c;return-15}e=b+1|0;if((c-e|0)>=1){while(1){a=e;A:{f=r[r[b+1|0]+h|0]+ -9|0;B:{if(f>>>0>12){break B}C:{switch(f-1|0){case 0:case 11:break A;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break B;default:break C}}if((b+2|0)!=(c|0)){break A}}q[d>>2]=a;return 15}b=a;e=b+1|0;if((c-e|0)>0){continue}break}}q[d>>2]=e;return 15}return sq(a,b+1|0,c,d)|0}q[d>>2]=b+1;return 38}q[d>>2]=b+1;return 25}a=b+1|0;c=c-a|0;if((c|0)<1){return-26}D:{if(r[b+1|0]!=93){break D}e=-1;if((c|0)<2){break e}if(r[b+2|0]!=62){break D}q[d>>2]=b+3;return 34}q[d>>2]=a;return 26}q[d>>2]=b+1;return 23}a=b+1|0;if((c-a|0)<1){return-24}E:{c=r[r[b+1|0]+h|0]+ -9|0;if(c>>>0>27){break E}F:{switch(c-3|0){case 21:q[d>>2]=b+2;return 36;case 3:q[d>>2]=b+2;return 35;case 22:q[d>>2]=b+2;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break E;default:break F}}q[d>>2]=a;return 24}q[d>>2]=a;break b}q[d>>2]=b+1;return 21}q[d>>2]=b+1;return 17}f=b+1|0;i=c-f|0;if((i|0)<1){return-1}e=r[r[f|0]+h|0]+ -5|0;G:{if(e>>>0>24){break G}g=2;H:{switch(e-1|0){default:e=-2;if((i|0)<2){break e}g=3;if(n[q[a+340>>2]](a,f)){break f}break G;case 0:e=-2;if((i|0)<3){break e}g=4;if(!n[q[a+344>>2]](a,f)){break G}break f;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 17:case 19:case 20:case 21:case 22:case 23:break G;case 1:break H;case 16:case 18:break f}}e=-2;if((i|0)<4){break e}g=5;if(n[q[a+348>>2]](a,f)){break f}}q[d>>2]=f;break b}f=2;e=-2;if((c-b|0)<2){break e}if(n[q[a+340>>2]](a,b)){break h}g=19;if(n[q[a+328>>2]](a,b)){break h}break c}f=3;e=-2;if((c-b|0)<3){break e}if(n[q[a+344>>2]](a,b)){break h}g=19;if(!n[q[a+332>>2]](a,b)){break c}break h}f=4;e=-2;if((c-b|0)<4){break e}if(n[q[a+348>>2]](a,b)){break h}g=19;if(!n[q[a+336>>2]](a,b)){break c}break h}g=19}b=b+f|0;f=c-b|0;if((f|0)>=1){while(1){e=b;I:{J:{K:{b=r[r[b|0]+h|0]+ -5|0;if(b>>>0>31){break K}L:{switch(b-1|0){default:if((f|0)<2){break a}if(!n[q[a+328>>2]](a,e)){break K}b=e+2|0;break I;case 0:if((f|0)<3){break a}if(!n[q[a+332>>2]](a,e)){break K}b=e+3|0;break I;case 1:if((f|0)<4){break a}if(!n[q[a+336>>2]](a,e)){break K}b=e+4|0;break I;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=e;return g|0;case 17:b=e+1|0;if((g|0)!=41){if((g|0)!=18){break I}f=c-b|0;if((f|0)<1){return-1}g=19;i=r[r[b|0]+h|0]+ -5|0;if(i>>>0>24){break I}M:{switch(i-1|0){case 16:case 18:case 19:case 20:case 21:b=e+2|0;g=41;break I;default:if((f|0)<2){break a}if(!n[q[a+328>>2]](a,b)){break c}b=e+3|0;g=41;break I;case 0:if((f|0)<3){break a}if(!n[q[a+332>>2]](a,b)){break c}b=e+4|0;g=41;break I;case 23: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 17:case 22:break I;case 1:break M}}if((f|0)<4){break a}if(!n[q[a+336>>2]](a,b)){break c}b=e+5|0;g=41;break I}g=19;break I;case 28:if((g|0)==19){break K}q[d>>2]=e+1;return 32;case 27:if((g|0)==19){break K}q[d>>2]=e+1;return 31;case 16:case 18:case 19:case 20:case 21:break J;case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 22:case 23:case 25:break K;case 9:break L}}if((g|0)==19){break K}q[d>>2]=e+1;return 30}q[d>>2]=e;break b}b=e+1|0}f=c-b|0;if((f|0)>0){continue}break}}e=0-g|0;break e}q[d>>2]=f;break b}e=-20;b=b+g|0;g=c-b|0;if((g|0)<1){break e}while(1){i=r[r[b|0]+h|0]+ -5|0;if(i>>>0>31){break d}f=1;N:{O:{P:{switch(i-1|0){default:if((g|0)<2){break a}f=2;if(n[q[a+328>>2]](a,b)){break O}break d;case 0:if((g|0)<3){break a}f=3;if(!n[q[a+332>>2]](a,b)){break d}break O;case 2:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 22:case 23:case 25:case 27:case 28:case 29:break d;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break N;case 16:case 18:case 19:case 20:case 21:break O;case 1:break P}}if((g|0)<4){break a}f=4;if(!n[q[a+336>>2]](a,b)){break d}}b=b+f|0;g=c-b|0;if((g|0)>0){continue}break e}break}q[d>>2]=b;return 20}return e|0}q[d>>2]=b;return 0}q[d>>2]=b}return 0}return-2}function XW(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,p=0,s=0,w=0,x=0,y=0;g=Da-48|0;Da=g;e=q[a+24>>2];a:{if(e>>>0<8){break a}p=a+128|0;w=e+ -2|0;c=6;while(1){i=h;h=c;c=p;d=q[c+12>>2];q[g+40>>2]=q[c+8>>2];q[g+44>>2]=d;d=q[c+4>>2];q[g+32>>2]=q[c>>2];q[g+36>>2]=d;if(e>>>0<=i>>>0){o[a+20|0]=1}l=q[a+32>>2];b:{if(l>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];c:{if(!m){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}d=i|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!m){break e}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break e}n=q[d+24>>2];s=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[n+(e<<3)>>3]*+u[s+(e<<2)>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[g+32>>3]=v[g+32>>3]+v[c>>3];v[g+40>>3]=v[g+40>>3]+v[d>>3];c=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=c;c=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=c;c=i+2|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]+(c<<5)|0}g:{if(!m){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}d=i+3|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}h:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<5)|0}i:{if(!m){break i}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break i}n=q[d+24>>2];s=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[n+(e<<3)>>3]*+u[s+(e<<2)>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[g+16>>3]=v[g+16>>3]+v[c>>3];v[g+24>>3]=v[g+24>>3]+v[d>>3];c=q[g+28>>2];q[g+8>>2]=q[g+24>>2];q[g+12>>2]=c;c=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=c;c=i+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+(c<<5)|0}k:{if(!m){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}d=i+5|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}l:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+(d<<5)|0}m:{if(!m){break m}i=q[d+20>>2];if(!i|(i|0)!=q[a+168>>2]){break m}l=q[d+24>>2];m=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((i|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[g>>3]=v[g>>3]+v[c>>3];v[g+8>>3]=v[g+8>>3]+v[d>>3];pb(a,b,g+32|0,g+16|0,g);e=q[a+24>>2];c=h+6|0;if(c>>>0<=w>>>0){continue}break}k=v[a+136>>3];x=v[a+128>>3];if(e>>>0<=h>>>0){o[a+20|0]=1}i=q[a+32>>2];n:{if(i>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+(h<<5)|0}p=r[a+176|0];o:{if(!p){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}l=q[c+24>>2];m=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}h=h|1;if(t[a+24>>2]<=h>>>0){o[a+20|0]=1}p:{if(i>>>0<=h>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break p}h=q[a+36>>2]+(h<<5)|0}q:{if(!p){break q}d=q[h+20>>2];if(!d|(d|0)!=q[a+168>>2]){break q}i=q[h+24>>2];p=q[a+172>>2];f=v[h>>3];e=0;while(1){f=f+v[i+(e<<3)>>3]*+u[p+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=f;if(q[h+16>>2]<0){break q}q[h+20>>2]=0}y=k+v[h>>3];f=x+v[c>>3];r:{if(r[b|0]){break r}o[b|0]=1;k=v[a+128>>3];if(!!(v[b+8>>3]>k)){v[b+8>>3]=k;k=v[a+128>>3]}if(!!(k>v[b+24>>3])){v[b+24>>3]=k}k=v[a+136>>3];if(!!(v[b+16>>3]>k)){v[b+16>>3]=k;k=v[a+136>>3]}if(!(k>v[b+32>>3])){break r}v[b+32>>3]=k}v[a+136>>3]=y;v[a+128>>3]=f;if(!!(v[b+8>>3]>f)){v[b+8>>3]=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!(f>v[b+32>>3])){break a}v[b+32>>3]=f}Da=g+48|0}function YW(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,p=0,s=0,w=0;g=Da-48|0;Da=g;h=q[a+24>>2];if(h>>>0>=8){j=h+ -6|0;l=q[a+32>>2];m=r[a+176|0];c=2;while(1){i=c;k=v[a+136>>3];s=v[a+128>>3];if(h>>>0<=d>>>0){o[a+20|0]=1}a:{if(l>>>0<=d>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break a}e=q[a+36>>2]+(d<<5)|0}b:{if(!m){break b}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break b}n=q[e+24>>2];p=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[n+(c<<3)>>3]*+u[p+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break b}q[e+20>>2]=0}c=d|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;d=642976;break c}d=q[a+36>>2]+(c<<5)|0}d:{if(!m){break d}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}n=q[d+24>>2];p=q[a+172>>2];f=v[d>>3];c=0;while(1){f=f+v[n+(c<<3)>>3]*+u[p+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break d}q[d+20>>2]=0}w=k+v[d>>3];f=s+v[e>>3];e:{if(r[b|0]){break e}o[b|0]=1;k=v[a+128>>3];if(!!(v[b+8>>3]>k)){v[b+8>>3]=k;k=v[a+128>>3]}if(!!(k>v[b+24>>3])){v[b+24>>3]=k}k=v[a+136>>3];if(!!(v[b+16>>3]>k)){v[b+16>>3]=k;k=v[a+136>>3]}if(!(k>v[b+32>>3])){break e}v[b+32>>3]=k}v[a+136>>3]=w;v[a+128>>3]=f;if(!!(v[b+8>>3]>f)){v[b+8>>3]=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!!(f>v[b+32>>3])){v[b+32>>3]=f}h=q[a+24>>2];d=i;c=d+2|0;if(c>>>0<=j>>>0){continue}break}e=q[a+140>>2];q[g+40>>2]=q[a+136>>2];q[g+44>>2]=e;e=q[a+132>>2];q[g+32>>2]=q[a+128>>2];q[g+36>>2]=e;if(h>>>0<=i>>>0){o[a+20|0]=1}l=q[a+32>>2];f:{if(l>>>0<=i>>>0){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break f}e=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];g:{if(!m){break g}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}j=q[e+24>>2];n=q[a+172>>2];f=v[e>>3];h=0;while(1){f=f+v[j+(h<<3)>>3]*+u[n+(h<<2)>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break g}q[e+20>>2]=0}d=i|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}h:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<5)|0}i:{if(!m){break i}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break i}n=q[d+24>>2];p=q[a+172>>2];f=v[d>>3];h=0;while(1){f=f+v[n+(h<<3)>>3]*+u[p+(h<<2)>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[g+32>>3]=v[g+32>>3]+v[e>>3];v[g+40>>3]=v[g+40>>3]+v[d>>3];e=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=e;e=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=e;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}k:{if(!m){break k}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[e+24>>2];j=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;d=642976;break l}d=q[a+36>>2]+(c<<5)|0}m:{if(!m){break m}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break m}j=q[d+24>>2];n=q[a+172>>2];f=v[d>>3];c=0;while(1){f=f+v[j+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[g+16>>3]=v[g+16>>3]+v[e>>3];v[g+24>>3]=v[g+24>>3]+v[d>>3];c=q[g+28>>2];q[g+8>>2]=q[g+24>>2];q[g+12>>2]=c;c=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=c;c=i+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break n}e=q[a+36>>2]+(c<<5)|0}o:{if(!m){break o}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[e+24>>2];j=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break o}q[e+20>>2]=0}i=i+5|0;if(t[a+24>>2]<=i>>>0){o[a+20|0]=1}p:{if(l>>>0<=i>>>0){i=q[67835];q[160750]=q[67834];q[160751]=i;i=q[67833];q[160748]=q[67832];q[160749]=i;i=q[67831];q[160746]=q[67830];q[160747]=i;i=q[67829];q[160744]=q[67828];q[160745]=i;i=642976;break p}i=q[a+36>>2]+(i<<5)|0}q:{if(!m){break q}d=q[i+20>>2];if(!d|(d|0)!=q[a+168>>2]){break q}h=q[i+24>>2];l=q[a+172>>2];f=v[i>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[i+8>>2]=0;q[i+12>>2]=0;v[i>>3]=f;if(q[i+16>>2]<0){break q}q[i+20>>2]=0}v[g>>3]=v[g>>3]+v[e>>3];v[g+8>>3]=v[g+8>>3]+v[i>>3];pb(a,b,g+32|0,g+16|0,g)}Da=g+48|0}function cI(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=Da-160|0;Da=e;a:{if(c>>>0>2){break a}t=Se(a);if(!t){break a}o=q[((c<<2)+t|0)+20>>2];b:{if(c){break b}d=nr();if(d){a=Ic(d);h=oi();Ik(h,503351);Yb(d);c:{if(!a){break c}i=Qb(a);if(!i){break c}while(1){d=Af(b,34);d:{if(!d){break d}g=q[d+4>>2];d=g&1?d+(g&-2)|0:g;if(!d){break d}while(1){pc(e+128|0,d+8|0);e:{if(q[e+128>>2]==8){g=oi();Ik(g,i);f=mi(q[e+136>>2],g);Sd(g);if(f){break c}if(!mi(q[e+136>>2],h)){break e}break c}if(!dd(q[e+136>>2],i)){break c}if(!dd(q[e+136>>2],503351)){break c}}f=d;d=q[d>>2];d=d&1?f+(d&-2)|0:d;if(d){continue}break}}q[e+152>>2]=i;d=q[e+156>>2];q[e+72>>2]=q[e+152>>2];q[e+76>>2]=d;q[e+144>>2]=3;d=q[e+148>>2];q[e+64>>2]=q[e+144>>2];q[e+68>>2]=d;Dc(b,34,e- -64|0,0);i=Qb(a);if(i){continue}break}}Zb(a);Sd(h)}if((Og(b,44,e+112|0)|0)!=1){break b}a=mr();if(!a){break b}wc(b,44,a)}d=0;g=q[t+32>>2];a=g+53|0;h=a<<2;j=Sa(h);f:{if(!j){break f}k=Sa(h);if(!k){La(j);break f}m=Sa(h);g:{if(!m){m=0;break g}if(r[643740]&4){Ua(503355,0);cd(b)}q[e+96>>2]=o;d=q[o+4>>2];q[e+104>>2]=0;q[e+100>>2]=d;if(q[e+96>>2]==(o|0)?q[e+100>>2]:0){w=((a|0)>1?a:1)<<2;x=(g|0)<-52;while(1){a=0;h:{if(q[e+96>>2]!=(o|0)){break h}d=q[e+100>>2];if(!d){break h}a=q[d+4>>2]}if(r[643740]&4){q[e+48>>2]=q[a+4>>2];Ua(503375,e+48|0)}p=(c<<2)+a|0;a=q[p+20>>2];q[e+80>>2]=a;a=q[a+4>>2];q[e+88>>2]=0;q[e+84>>2]=a;if(q[e+80>>2]==q[p+20>>2]?q[e+84>>2]:0){while(1){a=0;i:{if(q[p+20>>2]!=q[e+80>>2]){break i}d=q[e+84>>2];if(!d){break i}a=q[d+4>>2]}h=a;if(!x){Na(k,0,w);Na(j,0,w);Na(m,0,w)}j:{if(!h){break j}while(1){a=q[h+4>>2]+ -1|0;k:{if(a>>>0>1){break k}if(a-1){a=q[q[h+8>>2]+8>>2];if(r[643740]&4){Ua(503390,0);Bq(q[h+8>>2])}d=a&-1025;l:{if((c|0)==1){a=0;if(!q[q[h+8>>2]>>2]){break l}}a=b}g=a;f=0;m:{if(!g){break m}f=Af(g,q[q[h+8>>2]+8>>2])}u=d<<2;a=u+k|0;n:{if(q[a>>2]){break n}d=q[h+8>>2];if(q[d>>2]!=(c|0)){break n}q[a>>2]=f;q[m+u>>2]=d}n=q[h+8>>2];if(!f){if(q[n+4>>2]==1){q[j+u>>2]=0;break k}if(!(r[643740]&4)){break j}Rb(504008);break j}a=q[n+16>>2];o:{if(!a){i=0;break o}i=0;l=q[f+4>>2];if(!l){while(1){if(s[a>>1]!=36){hc(e+128|0,g,0,c,a);a=q[e+140>>2];d=q[e+136>>2];q[e+152>>2]=d;q[e+156>>2]=a;q[e+24>>2]=d;q[e+28>>2]=a;a=q[e+132>>2];d=q[e+128>>2];q[e+144>>2]=d;q[e+148>>2]=a;q[e+16>>2]=d;q[e+20>>2]=a;Wc(e+16|0);break o}hc(e+128|0,g,0,c,q[a+8>>2]);d=q[e+140>>2];n=q[e+136>>2];q[e+152>>2]=n;q[e+156>>2]=d;l=q[e+132>>2];v=q[e+128>>2];q[e+144>>2]=v;q[e+148>>2]=l;a=q[a+12>>2];q[e+8>>2]=n;q[e+12>>2]=d;q[e>>2]=v;q[e+4>>2]=l;Wc(e);if(a){continue}break}break o}while(1){p:{if(s[a>>1]==36){hc(e+128|0,g,0,c,q[a+8>>2]);d=q[e+140>>2];q[e+152>>2]=q[e+136>>2];q[e+156>>2]=d;d=q[e+132>>2];q[e+144>>2]=q[e+128>>2];q[e+148>>2]=d;a=q[a+12>>2];break p}hc(e+128|0,g,0,c,a);a=q[e+140>>2];q[e+152>>2]=q[e+136>>2];q[e+156>>2]=a;a=q[e+132>>2];q[e+144>>2]=q[e+128>>2];q[e+148>>2]=a;a=0}d=l;while(1){q:{r:{if(kk(d+8|0,q[n+12>>2],e+144|0)){i=i?i:d;break r}if(q[n+4>>2]!=1){break r}i=0;break q}v=d;d=q[d>>2];d=d&1?v+(d&-2)|0:d;if(d){continue}}break}d=q[e+156>>2];q[e+40>>2]=q[e+152>>2];q[e+44>>2]=d;d=q[e+148>>2];q[e+32>>2]=q[e+144>>2];q[e+36>>2]=d;Wc(e+32|0);if(a){continue}break}}a=j+u|0;if(!(q[a>>2]|q[q[h+8>>2]>>2]!=(c|0))){q[a>>2]=i}s:{if(!i){break s}a=q[q[h+8>>2]+4>>2]+ -2|0;if(a>>>0>1){break k}if(a-1){if(q[f+4>>2]!=(i|0)){break s}break k}if(q[f+4>>2]!=(i|0)){break k}}if(!(r[643740]&4)){break j}Rb(504008);break j}d=q[h+8>>2];f=q[d>>2]&-1025;a=b;g=c;if(r[643740]&4){Ua(503415,0);mL(q[h+8>>2]);Rb(504017);d=q[h+8>>2]}g=Rp(a,0,g,q[d+8>>2],q[d+12>>2]);a=f<<2;d=q[a+m>>2];if(!(!d|(q[d>>2]!=1?c:0))){y=a+k|0,z=Af(b,q[d+8>>2]),q[y>>2]=z}t:{u:{d=q[h+8>>2];f=s[d+4>>1]+ -11|0;if(f>>>0>7){break u}v:{w:{x:{y:{z:{A:{B:{C:{switch(f-1|0){case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 1:break z;case 2:break A;case 0:break B;default:break C}}l=a+j|0;f=q[l>>2];if(!f){break B}i=q[a+k>>2];a=i+4|0;Zf(a,f,1,g,q[d>>2]);d=q[i+4>>2];D:{if(!d){break D}if((d|0)!=(f|0)){while(1){a=d;d=q[d>>2];if(!d){break D}if((d|0)!=(f|0)){continue}break}}q[a>>2]=q[f>>2];q[f>>2]=0;_e(f)}q[l>>2]=g;break t}E:{f=Af(b,q[d>>2]);if(!f){break E}while(1){d=q[f+4>>2];if(!d){break E}q[f+4>>2]=q[d>>2];q[d>>2]=0;_e(d);continue}}F:{if(!g){break F}d=q[q[h+8>>2]>>2];f=ti(b,d);if(!f){break F}Zf(f+4|0,0,1,g,d)}q[a+j>>2]=0;break t}f=q[a+j>>2];if(!f){break z}Zf(q[a+k>>2]+4|0,f,0,g,q[d>>2]);break t}if(!g){break t}a=q[d>>2];d=ti(b,a);if(!d){break t}Zf(d+4|0,0,0,g,a);break t}f=q[a+j>>2];if(!f){break x}Zf(q[a+k>>2]+4|0,f,1,g,q[d>>2]);break t}if(!g){break t}a=q[d>>2];d=ti(b,a);if(!d){break t}Zf(d+4|0,0,1,g,a);break t}f=q[a+j>>2];if(!f){break v}a=q[a+k>>2];d=q[a+4>>2];if(!d){break u}G:{if((d|0)==(f|0)){a=a+4|0;break G}while(1){a=d;d=q[d>>2];if(!d){break u}if((d|0)!=(f|0)){continue}break}}q[a>>2]=q[f>>2];q[f>>2]=0;_e(f);break u}d=Af(b,q[d>>2]);if(!d){break u}while(1){a=q[d+4>>2];if(!a){break u}q[d+4>>2]=q[a>>2];q[a>>2]=0;_e(a);continue}}_e(g)}a=q[q[h+8>>2]>>2];d=Af(b,a);if(!(!d|q[d+4>>2])){eg(b,a)}if(!(r[643740]&4)){break k}Ua(503427,0);cd(b)}h=q[h>>2];if(h){continue}break}}if(q[e+80>>2]==q[p+20>>2]){a=q[e+84>>2];q[e+88>>2]=a;q[e+84>>2]=q[a>>2]}if(q[e+80>>2]==q[p+20>>2]?q[e+84>>2]:0){continue}break}}if(q[e+96>>2]==(o|0)){a=q[e+100>>2];q[e+104>>2]=a;q[e+100>>2]=q[a>>2]}if(q[e+96>>2]==(o|0)?q[e+100>>2]:0){continue}break}}d=1;if(!(r[643740]&4)){break g}Ua(503451,0);cd(b)}La(k);La(j);if(!m){break f}La(m)}cc(t)}Da=e+160|0;return d}function Rj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,u=0,v=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=Da-32|0;Da=l;q[l+24>>2]=0;q[l+28>>2]=0;a:{if(!b|!q[b>>2]){break a}j=q[c>>2];if(!j){break a}x=a&65535;D=x+508865|0;a=a>>>16|0;E=a+508865|0;z=q[160602];q[160602]=508712;n=r[x+508864|0];A=128-n|0;F=n+128|0;m=r[a+508864|0];B=m+128|0;a=q[b>>2];G=(m|0)==232;C=(m&254)==196;H=(m|0)!=218;I=(m|0)!=216;v=n+ -192|0;J=v+571464|0;y=m+ -192|0;K=y>>>0>6;b:{c:{d:{while(1){g=o[a|0];f=g&255;e:{f:{g:{if(K?(g|0)>=0:0){break g}i=25;h:{i:{j:{k:{l:{m:{n:{o:{p:{if(y>>>0>32){if(!G){break m}if(j>>>0<2){break h}a=r[a+1|0];p=f+ -161|0;if(p>>>0<=92){g=a+ -161|0;if(g>>>0<94){break n}}g=f+ -129|0;if(g>>>0>92|(a>>>0>82?g>>>0>=69:0)){break c}f=a+ -65|0;if(f>>>0<26){break o}if(a+ -97>>>0>25){break p}f=a+ -71|0;break o}q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{switch(y-1|0){case 7:A:{h=rp(l+20|0,a,j,l+24|0);a=h+2|0;if(a>>>0>2){break A}g=28;h=1;switch(a-1|0){case 0:break c;case 1:break A;default:break b}}f=q[l+20>>2];break f;case 5:if(j>>>0<4){break h}f=q[a>>2];break y;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 18:case 19:case 20:case 21:case 22:case 26:case 27:case 28:case 29:case 30:break m;case 31:break q;case 23:case 24:break t;case 25:break u;case 15:break v;case 16:break w;case 0:case 1:case 3:case 4:break x;case 6:break c;default:break z}}if(j>>>0<4){break h}f=FG(a,m)}if(f>>>0>1114111){break c}h=4;if((f&-2048)==55296){break c}break f}g=28;if(j>>>0<2){break b}f=m&1;f=r[f+a|0]<<8|r[(f^1)+a|0];k=f&-1024;if((k|0)!=55296){h=2;if((k|0)==56320){break c}break f}if(C){break c}if(j>>>0<4){break b}g=m&1;a=a+2|0;a=(r[g+a|0]<<8|r[a+(g^1)|0])+ -56320|0;if(a>>>0>1023){break c}f=(a+(f<<10)|0)+ -56557568|0;break s}if(f+ -161>>>0<=62){f=f+65216|0;break g}if(j>>>0<2){break h}h=r[a+1|0];a=f+ -129|0;if(a>>>0>=31){if((f&240)!=224){break c}a=f+ -193|0}g=a<<1;a=h+ -64|0;B:{if(a>>>0<=94){if((h|0)==127){break c}a=a+(h<<24>>31)|0;break B}a=h+ -159|0;f=a>>>0<94;g=f|g;a=f?a:h}f=s[(w(g,188)+(a<<1)|0)+572832>>1];break i}if(j>>>0<2){break h}a=r[a+1|0];if((g|0)==-114){if(a+ -161>>>0>62){break c}f=a+65216|0;h=2;break f}f=f+ -161|0;if(f>>>0>83){break c}a=a+ -161|0;if(a>>>0>93){break c}f=s[(w(f,188)+(a<<1)|0)+572832>>1];break i}if((g&255)>>>0<161){break c}}h=f+ -129|0;if(h>>>0>125){break c}g=28;if(j>>>0<2){break b}f=r[a+1|0];if(f>>>0<161?!H:0){break c}if((f|0)!=127){k=f+ -64|0;if(k>>>0<191){break r}}if(f+ -48>>>0>9|I){break c}if(j>>>0<4){break b}g=r[a+2|0]+ -129|0;if(g>>>0>126){break c}a=r[a+3|0]+ -48|0;if(a>>>0>9){break c}f=(a+(w(f+w(h,10)|0,1260)+w(g,10)|0)|0)+ -60352|0;k=0;while(1){h=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(s[(w(i,380)+(a<<1)|0)+513232>>1]-k>>>0<=h>>>0)+g|0;a=a+1|0;if((a|0)!=190){continue}break}i=i+1|0;if((i|0)!=126){continue}break}k=f+1|0;f=f+g|0;if(f>>>0>=k>>>0){continue}break}}h=4;break f}f=s[(w(h,380)+((k>>>0>63?f+ -65|0:k)<<1)|0)+513232>>1];h=2;break f}if(j>>>0<2){break h}a=r[a+1|0];g=a+ -64|0;if(g>>>0>190|a+ -127>>>0<34){break c}a=g>>>0>62?a+ -98|0:g;g=f+ -161|0;if(g>>>0>=89){g=f+ -135|0;if(g>>>0>119){break c}a=a+w(f>>>0<161?g:f+ -224|0,157)|0;g=s[(a<<1)+561120>>1];f=g|s[(a>>>3&536870910)+570854>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break i}if((v>>>0<=8?o[J|0]:2)>>>0>t[e>>2]){break d}q[l+12>>2]=4;q[l+16>>2]=(g&255)+571474;u=Rj(x,l+16|0,l+12|0,d,e)+u|0;h=2;break e}f=s[(w(g,314)+(a<<1)|0)+588624>>1];if((g|0)!=39){break k}g=131072;h=a+ -58|0;if(h>>>0<=2){break l}if((a|0)==66){break j}break k}if(a+ -129>>>0>125){break c}f=a+ -77|0}k=44032;h=2;f=((g>>>0<32?w(g,178):w(p,84)+5696|0)+f|0)+44032|0;if(f>>>0<44032){break f}while(1){p=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(s[(w(i,188)+(a<<1)|0)+616576>>1]-k>>>0<=p>>>0)+g|0;a=a+1|0;if((a|0)!=94){continue}break}i=i+1|0;if((i|0)!=93){continue}break}k=f+1|0;f=f+g|0;if(f>>>0>=k>>>0){continue}break}break f}f=s[(w(p,188)+(g<<1)|0)+616576>>1];break i}if(B>>>0>f>>>0){break g}h=1;a=f-B|0;g=(w(a,5)>>>2|0)+E|0;a=a<<1&6;a=r[g+1|0]<<8-a&1023|r[g|0]>>>a;f=a?s[(a<<1)+571504>>1]:f;if((f|0)==1){break c}break f}if(h-1){break j}}g=0}f=f|g}h=2;if(f){break f}break c}g=28;break b}h=1}C:{D:{if(v>>>0>8){break D}E:{switch(v-1|0){case 5:a=q[e>>2];if(a>>>0<4){break d}g=q[d>>2];q[g>>2]=f;q[d>>2]=g+4;q[e>>2]=a+ -4;break e;case 7:F:{if(t[e>>2]<=3){a=Oh(l+8|0,f);if(t[e>>2]>=a>>>0){g=q[d>>2];Qa(g,l+8|0,a);break F}g=1;break b}g=q[d>>2];a=Oh(g,f)}q[d>>2]=a+g;q[e>>2]=q[e>>2]-a;break e;case 6:if(f>>>0<128){break D}a=0;break C;case 0:case 1:case 3:case 4:a=q[e>>2];if(!(f>>>0>65535?!C:0)){if(a>>>0<2){break d}g=n&1;a=q[d>>2];f=f>>>0>65535?65533:f;o[g+a|0]=f>>>8;o[a+(g^1)|0]=f;q[d>>2]=a+2;q[e>>2]=q[e>>2]+ -2;break e}if(a>>>0<4){break d}g=n&1;a=q[d>>2];f=f+ -65536|0;i=f>>>10|55296;o[g+a|0]=i>>>8;o[a+(g^1)|0]=i;g=n&1;i=a+2|0;f=f&1023|56320;o[g+i|0]=f>>>8;o[i+(g^1)|0]=f;q[d>>2]=a+4;q[e>>2]=q[e>>2]+ -4;break e;default:break E}}if(t[e>>2]<4){break d}a=q[d>>2];EG(a,f,n);q[d>>2]=a+4;q[e>>2]=q[e>>2]+ -4;break e}a=1}while(1){if(!a){u=u+1|0;f=42;a=1;continue}if(!q[e>>2]){break d}G:{if(f>>>0>>0){break G}a=0;if(A){while(1){g=(w(a,5)>>>2|0)+D|0;i=a<<1&6;if(s[((r[g+1|0]<<8-i&1023|r[g|0]>>>i)<<1)+571504>>1]==(f|0)){f=a+128|0;break G}a=a+1|0;if((A|0)!=(a|0)){continue}break}}a=0;continue}break}a=q[d>>2];q[d>>2]=a+1;o[a|0]=f;q[e>>2]=q[e>>2]+ -1}a=q[b>>2]+h|0;q[b>>2]=a;j=j-h|0;q[c>>2]=j;if(j){continue}break}q[160602]=z;break a}i=1}g=i}q[160942]=g;q[160602]=z;u=-1}Da=l+32|0;return u}function uR(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;f=Da-6768|0;Da=f;c=q[q[a+4>>2]>>2];Na(f- -64|4,0,2756);q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;q[f+64>>2]=c;q[f+8>>2]=f- -64;l=q[b+4>>2];k=q[l+88>>2];a:{if(!k){c=36;break a}i=q[k+40>>2];g=q[l+84>>2];j=q[g+156>>2];y=q[j>>2];q[f+6736>>2]=0;b=f+6728|0;q[b>>2]=0;q[b+4>>2]=0;b=f+6720|0;q[b>>2]=0;q[b+4>>2]=0;q[f+6712>>2]=0;q[f+6716>>2]=0;c=q[i+12>>2];b:{c:{if(!c){b=e>>>16&15;break c}b=e>>>16&15;h=q[i+4>>2];if((b|0)==(h|0)){break b}}q[i+4>>2]=b;q[i+32>>2]=q[k+36>>2];c=q[k+32>>2];q[i+24>>2]=q[k+28>>2];q[i+28>>2]=c;c=q[k+24>>2];q[i+16>>2]=q[k+20>>2];q[i+20>>2]=c;c=q[k+16>>2];q[i+8>>2]=q[k+12>>2];q[i+12>>2]=c;c=q[i+12>>2];h=b}q[f+6724>>2]=0;q[f+6716>>2]=c;q[f+6712>>2]=l;b=q[i+16>>2];q[f+6736>>2]=0;q[f+6732>>2]=h;q[f+6728>>2]=0;q[f+6720>>2]=b;q[f>>2]=l;b=q[l+116>>2];q[f+4>>2]=b;if(!b){c=Ki(l,f|4,a);if(c){break a}b=q[f+4>>2];q[l+116>>2]=b;q[l+120>>2]=596}q[f+6744>>2]=0;if(t[b+4>>2]<=d>>>0){c=6;q[f+6744>>2]=6;break a}i=d<<1;c=s[i+q[b+8>>2]>>1]&16383;v=((c<<2)+b|0)+24|0;h=q[v>>2];d:{if(h){break d}e:{f:{while(1){x=q[q[b>>2]+100>>2];k=q[(c<<2)+284352>>2];m=q[(q[k+4>>2]<<2)+284080>>2];h=gb(x,q[m+4>>2],f+6744|0);c=q[f+6744>>2];if(c){break a}q[h+36>>2]=b;q[h>>2]=k;c=q[m+8>>2];if(!c){break f}c=n[c](h,q[b>>2])|0;q[f+6744>>2]=c;if(!c){break f}c=q[m+16>>2];if(c){n[c](h)}if(h){n[q[x+8>>2]](x,h)}c=q[f+6744>>2];if((c|0)!=-1){break e}c=s[i+q[b+8>>2]>>1]&16383;v=((c<<2)+b|0)+24|0;if(!q[v>>2]){continue}break}c=-1;break a}q[v>>2]=h;break d}if(c){break a}h=0}b=q[q[h>>2]+4>>2];q[f+12>>2]=h;x=q[(b<<2)+284080>>2];b=q[x+12>>2];g:{if(b){n[b](h,f+6712|0);break g}b=q[f+6716>>2];q[h+4>>2]=q[f+6712>>2];q[h+8>>2]=b;q[h+28>>2]=q[f+6736>>2];c=f+6728|0;b=q[c+4>>2];q[h+20>>2]=q[c>>2];q[h+24>>2]=b;c=f+6720|0;b=q[c+4>>2];q[h+12>>2]=q[c>>2];q[h+16>>2]=b}b=q[x+24>>2];if(b){c=n[b](f- -64|0,h)|0;if(c){break a}}c=Yc(l,d,e&-10246|10241);if(c){break a}h:{if(q[f+6732>>2]!=1){break h}b=o[q[l+128>>2]+56|0];if(r[a+21|0]|(b|0)>-1?b:0){break h}v=q[q[l+88>>2]+40>>2];e=q[l+84>>2];u=q[f+4>>2];q[f+6704>>2]=0;q[f+6764>>2]=0;m=s[v+8>>1];c=s[u+368>>1];i=s[l+68>>1]<<16;k=Za(65536e3,i);a=q[72332];b=f+6752|0;q[b>>2]=q[72331];q[b+4>>2]=a;a=q[72330];q[f+6744>>2]=q[72329];q[f+6748>>2]=a;if(!s[l+68>>1]){break h}a=q[q[(q[q[h>>2]+4>>2]<<2)+284080>>2]+20>>2];if(!a){break h}n[a](h,f+6764|0,f+6704|0);a=q[f+6704>>2];i:{j:{k:{if((a|0)==q[u+372>>2]|(a|0)<1?(c|0)==(m|0):0){break k}b=Za(Ma(Is(q[q[f+4>>2]+392>>2],s[l+68>>1],s[q[l+88>>2]+12>>1],a)<<16,q[v+12>>2]),k);q[u+372>>2]=q[f+6704>>2];a=s[v+8>>1];q[u+380>>2]=b+32768>>16;p[u+368>>1]=a;if((c|0)==(m|0)){break k}b=q[f+6764>>2];break j}b=q[f+6764>>2];if((b|0)<1|q[u+376>>2]==(b|0)){break i}}c=Is(q[q[f+4>>2]+392>>2],s[l+68>>1],s[q[l+88>>2]+12>>1],b)<<16;b=Za(Ma(c,q[v+16>>2]),k);q[u+376>>2]=q[f+6764>>2];a=s[v+8>>1];q[u+384>>2]=b+32768>>16;p[u+368>>1]=a;z=u,A=Za((i-c|0)+ -524288|0,i),q[z+388>>2]=A}a=e+108|0;Qo(a,q[u+380>>2],q[u+384>>2]);q[f+6756>>2]=q[u+388>>2];ce(a,f+6744|0)}a=r[j+8|0];o[f+16|0]=a;l:{if(!a){break l}m=q[j+24>>2];k=q[j+20>>2];q[f+28>>2]=k;q[f+32>>2]=m;i=q[j+16>>2];e=q[j+12>>2];q[f+20>>2]=e;q[f+24>>2]=i;c=q[j+28>>2];b=q[j+32>>2];a=f+6752|0;q[a>>2]=k;q[a+4>>2]=m;q[f+6744>>2]=e;q[f+6748>>2]=i;q[f+36>>2]=c;q[f+40>>2]=b;if(WL(f+6744|0)){break l}Rg(f+36|0,f+6744|0)}a=7;m:{if(q[g+72>>2]!=1869968492){break m}if(r[f+16|0]){oc(g+108|0,q[f+36>>2],q[f+40>>2])}q[f+48>>2]=q[f+80>>2];q[f+44>>2]=q[f+72>>2];a=Ma(q[g+40>>2],q[f+68>>2]);q[f+56>>2]=q[f+80>>2];q[f+52>>2]=a+q[f+72>>2];a=0;if(!s[g+110>>1]){break m}b=q[x+28>>2];if(b){c=n[b](d,f- -64|0,y+20|0,h)|0;if(c){break a}}if(q[f+6732>>2]!=1){b=q[f+120>>2];if(!(r[f+2804|0]&4|(b|0)<2)){e=q[f+128>>2];b=e+w(b,44)|0;x=q[b+ -36>>2];c=q[b+ -40>>2];k=q[e+8>>2];m=q[e+4>>2];b=k-m|0;j=(m|0)<24?b+ -8|0:b;b=j+32&-64;q[f+44>>2]=b;i=q[f+52>>2]-c|0;c=i+x|0;e=(i|0)<24?c+8|0:c;c=e+32&-64;q[f+52>>2]=c;if(!((m|0)<1|(b|0)<(k|0))){b=b+ -64|0;q[f+44>>2]=b}if(!((i|0)<1|(c|0)>(x|0))){c=c- -64|0;q[f+52>>2]=c}q[g+148>>2]=c-e;q[g+144>>2]=b-j;break m}j=q[f+44>>2];e=(j+q[f+2816>>2]|0)+32&-64;q[f+44>>2]=e;c=q[f+52>>2];b=(c+q[f+2820>>2]|0)+32&-64;q[f+52>>2]=b;q[g+148>>2]=b-c;q[g+144>>2]=e-j;break m}j=q[f+44>>2];e=j+32&-64;q[f+44>>2]=e;c=q[f+52>>2];b=c+32&-64;q[f+52>>2]=b;q[g+148>>2]=b-c;q[g+144>>2]=e-j}c=q[g+36>>2];b=q[g+48>>2];z=f,A=Ma(q[g+44>>2]-q[g+32>>2]|0,q[h+8>>2]),q[z+6704>>2]=A;z=f,A=Ma(b-c|0,q[h+12>>2]),q[z+6708>>2]=A;if(r[f+16|0]){b=f+20|0;ce(y+20|0,b);Rg(f+6704|0,b)}b=q[f+44>>2];if(b){oc(y+20|0,0-b|0,0)}Te(y+20|0,f+6744|0);j=q[f+6744>>2]&-64;q[f+6744>>2]=j;e=q[f+6756>>2]+63&-64;q[f+6756>>2]=e;c=q[f+6752>>2]+63&-64;q[f+6752>>2]=c;b=q[f+6748>>2]&-64;q[f+6748>>2]=b;q[g+36>>2]=e;q[g+32>>2]=j;q[g+28>>2]=e-b;q[g+24>>2]=c-j;q[g+44>>2]=j+q[f+6704>>2]&-64;q[g+48>>2]=e+q[f+6708>>2]&-64;n:{o:{if(q[f+6732>>2]==1){break o}if(!(r[q[g+4>>2]+8|0]&4)){b=q[f+4>>2];if(!r[h+32|0]|(t[b+4>>2]<=d>>>0|p[q[b+8>>2]+(d<<1)>>1]>-1)){break o}}b=Ma(q[g+40>>2],q[h+8>>2]);q[g+144>>2]=0;q[g+148>>2]=0;q[g+40>>2]=b;break n}if(!q[g+40>>2]){break n}q[g+40>>2]=q[f+52>>2]-q[f+44>>2]}b=Ma(q[g+52>>2],q[h+12>>2]);q[g+72>>2]=1869968492;q[g+52>>2]=b+32&-64;q[g+40>>2]=q[g+40>>2]+32&-64;c=a}q[f+8>>2]=0;q[f>>2]=0;q[f+4>>2]=0;Ll(f- -64|0);Da=f+6768|0;return c|0}function aH(a,b,c,d,f,g){a=a|0;b=+b;c=c|0;d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=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=Da-560|0;Da=m;q[m+44>>2]=0;h(+b);i=e(1)|0;a:{if(G=1,H=(J=e(0)>>>0>4294967295?0:1,K=0,L=(i|0)<=-1,L?J:K),I=(i|0)<-1,I?G:H){D=1;b=-b;h(+b);i=e(1)|0;e(0)|0;E=507952;break a}if(f&2048){D=1;E=507955;break a}D=f&1;E=D?507958:507953}b:{if((i&2146435072)==2146435072){p=D+3|0;Nc(a,32,c,p,f&-65537);yc(a,E,D);d=g>>>5&1;yc(a,b!=b?d?507979:507983:d?507971:507975,3);break b}A=m+16|0;c:{d:{e:{b=Wf(b,m+44|0);b=b+b;if(b!=0){i=q[m+44>>2];q[m+44>>2]=i+ -1;z=g|32;if((z|0)!=97){break e}break c}z=g|32;if((z|0)==97){break c}l=q[m+44>>2];n=(d|0)<0?6:d;break d}l=i+ -29|0;q[m+44>>2]=l;b=b*268435456;n=(d|0)<0?6:d}t=(l|0)<0?m+48|0:m+336|0;k=t;while(1){d=k;if(b<4294967296&b>=0){i=~~b>>>0}else{i=0}q[d>>2]=i;k=k+4|0;b=(b- +(i>>>0))*1e9;if(b!=0){continue}break}f:{if((l|0)<1){i=k;j=t;break f}j=t;while(1){x=(l|0)<29?l:29;i=k+ -4|0;g:{if(i>>>0>>0){break g}d=x;u=0;while(1){v=i;p=0;F=u;u=q[i>>2];s=d&31;if(32<=(d&63)>>>0){l=u<>>32-s;s=u<>>0>>0?p+1|0:p;s=u;u=Y$(s,p,1e9,0);F=v;v=W$(u,Ea,1e9,0);q[F>>2]=s-v;i=i+ -4|0;if(i>>>0>=j>>>0){continue}break}d=u;if(!d){break g}j=j+ -4|0;q[j>>2]=d}while(1){i=k;if(i>>>0>j>>>0){k=i+ -4|0;if(!q[k>>2]){continue}}break}l=q[m+44>>2]-x|0;q[m+44>>2]=l;k=i;if((l|0)>0){continue}break}}if((l|0)<=-1){B=((n+25|0)/9|0)+1|0;x=(z|0)==102;while(1){u=(l|0)<-9?9:0-l|0;h:{if(j>>>0>=i>>>0){j=q[j>>2]?j:j+4|0;break h}v=1e9>>>u|0;s=-1<>2];q[k>>2]=(d>>>u|0)+l;l=w(v,d&s);k=k+4|0;if(k>>>0>>0){continue}break}j=q[j>>2]?j:j+4|0;if(!l){break h}q[i>>2]=l;i=i+4|0}l=u+q[m+44>>2]|0;q[m+44>>2]=l;d=x?t:j;i=i-d>>2>(B|0)?d+(B<<2)|0:i;if((l|0)<0){continue}break}}k=0;i:{if(j>>>0>=i>>>0){break i}k=w(t-j>>2,9);l=10;d=q[j>>2];if(d>>>0<10){break i}while(1){k=k+1|0;l=w(l,10);if(d>>>0>=l>>>0){continue}break}}d=(n-((z|0)==102?0:k)|0)-((z|0)==103&(n|0)!=0)|0;if((d|0)<(w(i-t>>2,9)+ -9|0)){s=d+9216|0;d=(s|0)/9|0;p=(t+(d<<2)|0)+ -4092|0;l=10;d=s-w(d,9)|0;if((d|0)<=7){while(1){l=w(l,10);d=d+1|0;if((d|0)!=8){continue}break}}v=q[p>>2];s=(v>>>0)/(l>>>0)|0;B=p+4|0;x=v-w(l,s)|0;j:{if(x?0:(B|0)==(i|0)){break j}d=l>>>1|0;C=x>>>0>>0?.5:(i|0)==(B|0)?(d|0)==(x|0)?1:1.5:1.5;b=s&1?9007199254740994:9007199254740992;if(!(!D|r[E|0]!=45)){C=-C;b=-b}d=v-x|0;q[p>>2]=d;if(b+C==b){break j}d=d+l|0;q[p>>2]=d;if(d>>>0>=1e9){while(1){q[p>>2]=0;p=p+ -4|0;if(p>>>0>>0){j=j+ -4|0;q[j>>2]=0}d=q[p>>2]+1|0;q[p>>2]=d;if(d>>>0>999999999){continue}break}}k=w(t-j>>2,9);l=10;d=q[j>>2];if(d>>>0<10){break j}while(1){k=k+1|0;l=w(l,10);if(d>>>0>=l>>>0){continue}break}}d=p+4|0;i=i>>>0>d>>>0?d:i}k:{while(1){x=i;v=0;if(i>>>0<=j>>>0){break k}i=x+ -4|0;if(!q[i>>2]){continue}break}v=1}l:{if((z|0)!=103){z=f&8;break l}i=n?n:1;d=(i|0)>(k|0)&(k|0)>-5;n=(d?k^-1:-1)+i|0;g=(d?-1:-2)+g|0;z=f&8;if(z){break l}i=9;m:{if(!v){break m}s=q[x+ -4>>2];if(!s){break m}d=10;i=0;if((s>>>0)%10){break m}while(1){i=i+1|0;d=w(d,10);if(!((s>>>0)%(d>>>0))){continue}break}}d=w(x-t>>2,9)+ -9|0;if((g|32)==102){z=0;d=d-i|0;d=(d|0)>0?d:0;n=(n|0)<(d|0)?n:d;break l}z=0;d=(d+k|0)-i|0;d=(d|0)>0?d:0;n=(n|0)<(d|0)?n:d}l=n|z;p=(l|0)!=0;d=a;s=c;u=g|32;i=(k|0)>0?k:0;n:{if((u|0)==102){break n}i=k>>31;i=Vf(i+k^i,0,A);if((A-i|0)<=1){while(1){i=i+ -1|0;o[i|0]=48;if((A-i|0)<2){continue}break}}B=i+ -2|0;o[B|0]=g;o[i+ -1|0]=(k|0)<0?45:43;i=A-B|0}p=(i+(p+(n+D|0)|0)|0)+1|0;Nc(d,32,s,p,f);yc(a,E,D);Nc(a,48,c,p,f^65536);o:{p:{q:{if((u|0)==102){d=m+16|8;k=m+16|9;g=j>>>0>t>>>0?t:j;j=g;while(1){i=Vf(q[j>>2],0,k);r:{if((g|0)!=(j|0)){if(i>>>0<=m+16>>>0){break r}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break r}if((i|0)!=(k|0)){break r}o[m+24|0]=48;i=d}yc(a,i,k-i|0);j=j+4|0;if(j>>>0<=t>>>0){continue}break}if(l){yc(a,507987,1)}if((n|0)<1|j>>>0>=x>>>0){break q}while(1){i=Vf(q[j>>2],0,k);if(i>>>0>m+16>>>0){while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}}yc(a,i,(n|0)<9?n:9);i=n+ -9|0;j=j+4|0;if(j>>>0>=x>>>0){break p}d=(n|0)>9;n=i;if(d){continue}break}break p}s:{if((n|0)<0){break s}g=v?x:j+4|0;d=m+16|8;t=m+16|9;k=j;while(1){i=Vf(q[k>>2],0,t);if((t|0)==(i|0)){o[m+24|0]=48;i=d}t:{if((j|0)!=(k|0)){if(i>>>0<=m+16>>>0){break t}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break t}yc(a,i,1);i=i+1|0;if((n|0)<1?!z:0){break t}yc(a,507987,1)}u=i;i=t-i|0;yc(a,u,(n|0)>(i|0)?i:n);n=n-i|0;k=k+4|0;if(k>>>0>=g>>>0){break s}if((n|0)>-1){continue}break}}Nc(a,48,n+18|0,18,0);yc(a,B,A-B|0);break o}i=n}Nc(a,48,i+9|0,9,0)}break b}t=g&32;s=t?E+9|0:E;u:{if(d>>>0>11){break u}i=12-d|0;if(!i){break u}C=8;while(1){C=C*16;i=i+ -1|0;if(i){continue}break}if(r[s|0]==45){b=-(C+(-b-C));break u}b=b+C-C}i=q[m+44>>2];k=i>>31;i=Vf(k^i+k,0,A);if((A|0)==(i|0)){o[m+15|0]=48;i=m+15|0}n=D|2;k=q[m+44>>2];v=i+ -2|0;o[v|0]=g+15;o[i+ -1|0]=(k|0)<0?45:43;i=f&8;j=m+16|0;while(1){g=j;u=t;if(y(b)<2147483648){k=~~b}else{k=-2147483648}o[j|0]=u|r[k+507936|0];b=(b- +(k|0))*16;j=g+1|0;if(!((j-(m+16|0)|0)!=1|(b==0?!((d|0)>0|i):0))){o[g+1|0]=46;j=g+2|0}if(b!=0){continue}break}g=a;i=c;if(!d|((j-m|0)+ -18|0)>=(d|0)){t=((A-(m+16|0)|0)-v|0)+j|0}else{t=((d+A|0)-v|0)+2|0}p=t+n|0;Nc(g,32,i,p,f);yc(a,s,n);Nc(a,48,c,p,f^65536);d=j-(m+16|0)|0;yc(a,m+16|0,d);g=d;d=A-v|0;Nc(a,48,t-(g+d|0)|0,0,0);yc(a,v,d)}Nc(a,32,c,p,f^8192);Da=m+560|0;return((p|0)<(c|0)?c:p)|0}function wF(a,b,c,d,e){a=a|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,p=0,u=0,v=0,x=0,y=0;h=Da-128|0;Da=h;i=_d(q[q[b+96>>2]+4>>2],5128);a:{if(!i){f=11;break a}f=Xa(a,0);if(f){break a}f=n[q[i+4>>2]](a,b,c,d,e)|0;if(f){break a}j=q[b+104>>2];f=2;a=q[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}}q[b+8>>2]=q[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=n[q[i+8>>2]](j,b,c,d,e)|0;if(f){break a}c:{d:{a=q[b+20>>2];if(a){if(cb(a,5520)){break d}if(cb(a,5540)){break d}if(cb(a,5560)){break d}if(cb(a,5580)){break d}if(cb(a,5600)){break d}if(cb(a,5620)){break d}if(cb(a,5640)){break d}if(cb(a,5660)){break d}if(cb(a,5680)){break d}if(cb(a,5700)){break d}if(cb(a,5720)){break d}if(cb(a,5740)){break d}if(cb(a,5760)){break d}if(cb(a,5780)){break d}if(cb(a,5800)){break d}if(cb(a,5820)){break d}if(cb(a,5840)){break d}if(cb(a,5860)){break d}if(cb(a,5880)){break d}if(cb(a,5900)){break d}if(cb(a,5920)){break d}if(cb(a,5940)){break d}if(cb(a,5960)){break d}if(cb(a,5980)){break d}if(cb(a,6e3)){break d}if(cb(a,6020)){break d}}g=Na(h,0,116);e:{e=s[b+152>>1];if(!e){break e}i=0;while(1){f=0;k=1;l=0;d=q[b+156>>2];p=m<<4;a=q[d+p>>2];f:{if((a|0)!=1668707360){g:{if((a|0)!=1886545264){if((a|0)!=1718642541){break f}l=1;break g}l=2}k=i}a=0;while(1){d=d+p|0;u=w(f,24)+(l<<3)|0;if(q[d+12>>2]==q[u+6052>>2]){h:{if(a){break h}e=q[b+516>>2];if(!e){a=0;break h}a=0;if(n[e](b,q[d>>2],q[b+104>>2],0)){break h}d=q[b+104>>2];e=q[(q[b+156>>2]+p|0)+12>>2];if(mb(d,e)){break h}if(e>>>0>3){while(1){a=fc(d)+a|0;e=e+ -4|0;if(e>>>0>3){continue}break}}i=3;if(e){while(1){v=a;a=q[d+32>>2];if(a>>>0>2]){q[d+32>>2]=a+1;a=o[a|0]}else{a=0}a=v+((a<<24>>24&255)<<(i<<3))|0;i=i+ -1|0;e=e+ -1|0;if(e){continue}break}}jb(d)}d=g+(f<<2)|0;e=q[d>>2];if(q[u+6048>>2]==(a|0)){e=e+1|0;q[d>>2]=e}if((e|0)==3){break d}}f=f+1|0;if((f|0)!=29){d=q[b+156>>2];continue}break}e=s[b+152>>1];i=k}m=m+1|0;if(m>>>0<(e&65535)>>>0){continue}break}if(!(i&255)){break e}if(q[g>>2]==3|q[g+4>>2]==3|(q[g+8>>2]==3|q[g+12>>2]==3)){break d}if(q[g+16>>2]==3|q[g+20>>2]==3|(q[g+24>>2]==3|q[g+28>>2]==3)){break d}if(q[g+32>>2]==3|q[g+36>>2]==3|(q[g+40>>2]==3|q[g+44>>2]==3)){break d}if(q[g+48>>2]==3|q[g+52>>2]==3|(q[g+56>>2]==3|q[g+60>>2]==3)){break d}if(q[g+64>>2]==3|q[g+68>>2]==3|(q[g+72>>2]==3|q[g+76>>2]==3)){break d}if(q[g+80>>2]==3|q[g+84>>2]==3|(q[g+88>>2]==3|q[g+92>>2]==3)){break d}if(q[g+96>>2]==3|q[g+100>>2]==3|(q[g+104>>2]==3|q[g+108>>2]==3)){break d}if(q[g+112>>2]==3){break d}break c}f=0;while(1){d=g+(f<<2)|0;a=q[d>>2];if(f+ -16>>>0<=11){a=a+1|0;q[d>>2]=a}if((a|0)==3){break d}f=f+1|0;if((f|0)!=29){continue}break}break c}q[b+8>>2]=q[b+8>>2]|8192}l=q[j+28>>2];a=n[q[b+516>>2]](b,1751412088,j,h+124|0)|0;q[h>>2]=a;i:{if(a){break i}a=q[h+124>>2];if(a>>>0<=7){break i}k=b+768|0;f=Bc(j,a,k);q[h>>2]=f;if(f){break a}j:{k:{l:{e=q[k>>2];d=r[e+2|0]<<8|r[e+3|0];if(d>>>0<=255){g=q[h+124>>2];a=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a>>>0>4294901759?a&65535:a;if(!d|i+ -4>>>0<65534){break l}}q[h>>2]=3;break k}f=0;x=b,y=Oa(l,1,0,d,0,h),q[x+784>>2]=y;if(q[h>>2]){break k}m:{if(!d){break m}a=e+8|0;k=e+g|0;while(1){e=a+i|0;if(e>>>0>k>>>0){break m}o[q[b+784>>2]+f|0]=r[a|0];a=e;f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}q[b+776>>2]=f;a=q[h+124>>2];q[b+780>>2]=i;q[b+772>>2]=a;break j}zb(j,k);q[b+772>>2]=0}f=q[h>>2];if(f){break a}}f=0;n:{if(!(o[b+8|0]&1)){break n}if(!q[q[b+128>>2]+52>>2]){a=b;f=n[q[b+516>>2]](b,1735162214,j,b+724|0)|0;o:{p:{if((f&255)==142){q[b+724>>2]=0;d=0;break p}if(f){break o}d=0;if(q[q[b+128>>2]+52>>2]){break p}d=q[j+8>>2]}q[a+728>>2]=d;f=144;if(n[q[b+516>>2]](b,1819239265,j,h)){break o}i=q[h>>2];q:{if(s[b+210>>1]){if(i>>>0>=262144){q[h>>2]=262143;i=262143}f=i>>>2|0;q[b+760>>2]=f;d=2;break q}if(i>>>0>=131072){q[h>>2]=131071;i=131071}f=i>>>1|0;q[b+760>>2]=f;d=1}a=q[b+16>>2];r:{if(f>>>0>a>>>0){break r}e=a+1|0;if((e|0)==(f|0)){break r}a=q[b+156>>2];i=e<>2];e=s[b+152>>1];s:{if(e){l=(e<<4)+a|0;f=2147483647;e=0;while(1){k=q[a+8>>2]-d|0;g=(k|0)>0&(k|0)<(f|0);e=g?1:e;f=g?k:f;a=a+16|0;if(a>>>0>>0){continue}break}if(e&255){break s}}f=q[j+4>>2]-d|0}if(i>>>0<=f>>>0){q[b+760>>2]=q[b+16>>2]+1;q[h>>2]=i;break r}a=q[b+760>>2];q[b+16>>2]=a?a+ -1|0:0;i=q[h>>2]}f=Bc(j,i,b+764|0)}if(!(!q[b+724>>2]|(f&255)!=142)|f){break a}}f=Jo(b,j);if((f&255)!=142?f:0){break a}t:{if(n[q[b+516>>2]](b,1718642541,j,h)){q[b+684>>2]=0;q[b+688>>2]=0;break t}a=q[h>>2];q[b+684>>2]=a;f=Bc(j,a,b+688|0);if(!f){break t}if((f&255)!=142){break a}}u:{if(n[q[b+516>>2]](b,1886545264,j,h)){q[b+692>>2]=0;q[b+696>>2]=0;f=0;break u}a=q[h>>2];q[b+692>>2]=a;f=Bc(j,a,b+696|0);if(!f){break u}if((f&255)!=142){break a}}if(q[q[b+128>>2]+52>>2]|!q[b+28>>2]|(!q[b+764>>2]|!q[b+760>>2])){break n}d=0;e=0;a=0;while(1){Cj(b,a,h+124|0);if(q[h+124>>2]){e=a;d=d+1|0;if(d>>>0>1){break n}}a=a+1|0;if(a>>>0>2]){continue}break}if((d|0)!=1){break n}if(e){if(Kj(b,e,h,8)|r[h|0]!=46|((r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24))!=1953459758|(r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24))!=6710628)){break n}}q[b+8>>2]=q[b+8>>2]&-2}a=c>>>16|0;if(!(!a|!(q[b+8>>2]&256))){f=Io(b,a);if(f){break a}Ho(b);f=0}q[b+528>>2]=23;q[b+536>>2]=24;q[b+532>>2]=25;q[b+520>>2]=26;q[b+524>>2]=27}Da=h+128|0;return f|0}function zX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;j=q[a+24>>2];a:{if(!(j&4)){if(j>>>0<8){break a}d=q[67829];h=d;p=q[67828];f(0,p|0);f(1,d|0);m=+g();d=8;while(1){i=e;e=d;d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(j>>>0<=i>>>0){o[a+20|0]=1}n=q[a+32>>2];b:{if(n>>>0<=i>>>0){q[160744]=p;q[160745]=h;k=m;break b}k=v[q[a+36>>2]+(i<<3)>>3]}d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;v[c+32>>3]=v[c+32>>3]+k;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|1;if(j>>>0<=d>>>0){o[a+20|0]=1}c:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}l=i|2;if(j>>>0<=l>>>0){o[a+20|0]=1}d:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break d}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|3;if(j>>>0<=d>>>0){o[a+20|0]=1}e:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break e}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;pb(a,b,c+32|0,c+16|0,c);d=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=d;d=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=d;j=q[a+24>>2];d=i|4;if(j>>>0<=d>>>0){o[a+20|0]=1}n=q[a+32>>2];f:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break f}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|5;if(j>>>0<=d>>>0){o[a+20|0]=1}g:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break g}d=q[a+36>>2]+(d<<3)|0}l=i|6;if(j>>>0<=l>>>0){o[a+20|0]=1}h:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break h}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|7;if(j>>>0<=d>>>0){o[a+20|0]=1}i:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break i}k=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+k;if(!(!(j&1)|j-i>>>0>15)){if(j>>>0<=e>>>0){o[a+20|0]=1}j:{if(n>>>0<=e>>>0){q[160744]=p;q[160745]=h;k=m;break j}k=v[q[a+36>>2]+(e<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k}pb(a,b,c+32|0,c+16|0,c);d=e+8|0;j=q[a+24>>2];if(d>>>0<=j>>>0){continue}break}break a}d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(!j){o[a+20|0]=1}e=q[a+32>>2];k:{if(!e){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break k}m=v[q[a+36>>2]>>3]}v[c+32>>3]=v[c+32>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;if(j>>>0<=1){o[a+20|0]=1}l:{if(e>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+8|0}if(j>>>0<=2){o[a+20|0]=1}m:{if(e>>>0<=2){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);m=+g();break m}m=v[q[a+36>>2]+16>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+m;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;if(j>>>0<=3){o[a+20|0]=1}n:{if(e>>>0<=3){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break n}m=v[q[a+36>>2]+24>>3]}v[c+8>>3]=v[c+8>>3]+m;h=12;d=4;if(j>>>0>=12){d=q[67829];p=d;n=q[67828];f(0,n|0);f(1,d|0);m=+g();i=4;while(1){d=h;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;h=q[a+24>>2];if(h>>>0<=i>>>0){o[a+20|0]=1}j=q[a+32>>2];o:{if(j>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break o}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;e=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=e;e=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=e;e=i|1;if(h>>>0<=e>>>0){o[a+20|0]=1}p:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break p}e=q[a+36>>2]+(e<<3)|0}l=i|2;if(h>>>0<=l>>>0){o[a+20|0]=1}q:{if(j>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break q}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[e>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];e=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=e;e=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=e;e=i|3;if(h>>>0<=e>>>0){o[a+20|0]=1}r:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;k=m;break r}k=v[q[a+36>>2]+(e<<3)>>3]}v[c>>3]=v[c>>3]+k;pb(a,b,c+32|0,c+16|0,c);e=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=e;e=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=e;j=q[a+24>>2];h=i+4|0;if(j>>>0<=h>>>0){o[a+20|0]=1}e=q[a+32>>2];s:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;k=m;break s}k=v[q[a+36>>2]+(h<<3)>>3]}h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;v[c+32>>3]=v[c+32>>3]+k;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;h=i+5|0;if(j>>>0<=h>>>0){o[a+20|0]=1}t:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;h=642976;break t}h=q[a+36>>2]+(h<<3)|0}l=i+6|0;if(j>>>0<=l>>>0){o[a+20|0]=1}u:{if(e>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break u}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[h>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];h=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=h;h=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=h;i=i+7|0;if(j>>>0<=i>>>0){o[a+20|0]=1}v:{if(e>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break v}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;i=d;h=d+8|0;if(h>>>0<=j>>>0){continue}break}}if(d>>>0>>0){w:{if(e>>>0<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);m=+g();break w}m=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+m}pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function yX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;j=q[a+24>>2];a:{if(!(j&4)){if(j>>>0<8){break a}d=q[67829];h=d;p=q[67828];f(0,p|0);f(1,d|0);m=+g();d=8;while(1){i=e;e=d;d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(j>>>0<=i>>>0){o[a+20|0]=1}n=q[a+32>>2];b:{if(n>>>0<=i>>>0){q[160744]=p;q[160745]=h;k=m;break b}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|1;if(j>>>0<=d>>>0){o[a+20|0]=1}c:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}l=i|2;if(j>>>0<=l>>>0){o[a+20|0]=1}d:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break d}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|3;if(j>>>0<=d>>>0){o[a+20|0]=1}e:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break e}k=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+k;pb(a,b,c+32|0,c+16|0,c);d=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=d;d=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=d;j=q[a+24>>2];d=i|4;if(j>>>0<=d>>>0){o[a+20|0]=1}n=q[a+32>>2];f:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break f}k=v[q[a+36>>2]+(d<<3)>>3]}d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;v[c+32>>3]=v[c+32>>3]+k;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|5;if(j>>>0<=d>>>0){o[a+20|0]=1}g:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break g}d=q[a+36>>2]+(d<<3)|0}l=i|6;if(j>>>0<=l>>>0){o[a+20|0]=1}h:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break h}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|7;if(j>>>0<=d>>>0){o[a+20|0]=1}i:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break i}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;if(!(!(j&1)|j-i>>>0>15)){if(j>>>0<=e>>>0){o[a+20|0]=1}j:{if(n>>>0<=e>>>0){q[160744]=p;q[160745]=h;k=m;break j}k=v[q[a+36>>2]+(e<<3)>>3]}v[c>>3]=v[c>>3]+k}pb(a,b,c+32|0,c+16|0,c);d=e+8|0;j=q[a+24>>2];if(d>>>0<=j>>>0){continue}break}break a}d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(!j){o[a+20|0]=1}e=q[a+32>>2];k:{if(!e){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break k}m=v[q[a+36>>2]>>3]}v[c+40>>3]=v[c+40>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;if(j>>>0<=1){o[a+20|0]=1}l:{if(e>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+8|0}if(j>>>0<=2){o[a+20|0]=1}m:{if(e>>>0<=2){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);m=+g();break m}m=v[q[a+36>>2]+16>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+m;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;if(j>>>0<=3){o[a+20|0]=1}n:{if(e>>>0<=3){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break n}m=v[q[a+36>>2]+24>>3]}v[c>>3]=v[c>>3]+m;h=12;d=4;if(j>>>0>=12){d=q[67829];p=d;n=q[67828];f(0,n|0);f(1,d|0);m=+g();i=4;while(1){d=h;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;h=q[a+24>>2];if(h>>>0<=i>>>0){o[a+20|0]=1}j=q[a+32>>2];o:{if(j>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break o}k=v[q[a+36>>2]+(i<<3)>>3]}e=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=e;v[c+32>>3]=v[c+32>>3]+k;e=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=e;e=i|1;if(h>>>0<=e>>>0){o[a+20|0]=1}p:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break p}e=q[a+36>>2]+(e<<3)|0}l=i|2;if(h>>>0<=l>>>0){o[a+20|0]=1}q:{if(j>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break q}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[e>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];e=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=e;e=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=e;e=i|3;if(h>>>0<=e>>>0){o[a+20|0]=1}r:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;k=m;break r}k=v[q[a+36>>2]+(e<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;pb(a,b,c+32|0,c+16|0,c);e=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=e;e=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=e;j=q[a+24>>2];h=i+4|0;if(j>>>0<=h>>>0){o[a+20|0]=1}e=q[a+32>>2];s:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;k=m;break s}k=v[q[a+36>>2]+(h<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;h=i+5|0;if(j>>>0<=h>>>0){o[a+20|0]=1}t:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;h=642976;break t}h=q[a+36>>2]+(h<<3)|0}l=i+6|0;if(j>>>0<=l>>>0){o[a+20|0]=1}u:{if(e>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break u}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[h>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];h=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=h;h=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=h;i=i+7|0;if(j>>>0<=i>>>0){o[a+20|0]=1}v:{if(e>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break v}k=v[q[a+36>>2]+(i<<3)>>3]}v[c>>3]=v[c>>3]+k;i=d;h=d+8|0;if(h>>>0<=j>>>0){continue}break}}if(d>>>0>>0){w:{if(e>>>0<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);m=+g();break w}m=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+m}pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function sj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;k=Da-16|0;Da=k;u=q[a+736>>2];j=q[a+104>>2];m=q[j+28>>2];q[k+4>>2]=0;v=6;a:{if(!u|!r[a+733|0]){break a}if(e){g=q[c+4>>2];v=0;while(1){f=v<<3;h=f+d|0;f=f+g|0;q[h>>2]=q[f>>2]<<6;q[h+4>>2]=q[f+4>>2]<<6;v=v+1|0;if((v|0)!=(e|0)){continue}break}}v=0;if(t[u+68>>2]<=b>>>0){break a}g=q[u+72>>2];f=b+1|0;if(q[g+(b<<2)>>2]==q[g+(f<<2)>>2]){break a}A=Oa(m,8,0,e,0,k+12|0);b:{if(q[k+12>>2]){break b}y=Oa(m,8,0,e,0,k+12|0);if(q[k+12>>2]){break b}v=Oa(m,1,0,e,0,k+12|0);if(q[k+12>>2]){break b}g=q[u+72>>2];f=q[g+(f<<2)>>2];b=q[g+(b<<2)>>2];g=Xa(j,b);q[k+12>>2]=g;if(g){break b}b=f-b|0;g=mb(j,b);q[k+12>>2]=g;if(g){break b}f=q[j>>2];h=q[j+32>>2];C=Oa(m,4,0,q[u>>2],0,k+12|0);c:{d:{if(q[k+12>>2]){break d}I=Oa(m,4,0,q[u>>2],0,k+12|0);if(q[k+12>>2]){break d}J=Oa(m,4,0,q[u>>2],0,k+12|0);if(q[k+12>>2]){break d}g=ob(j);e:{i=ob(j);if(b>>>0>=i>>>0){N=g&4095;if(N<<2>>>0<=b>>>0){break e}}q[k+12>>2]=8;break d}B=i+(h-f|0)|0;if(g&32768){f=q[j+32>>2];b=q[j>>2];g=q[j+36>>2];q[j+32>>2]=B>>>0>>0?b+B|0:g;K=Dh(j,q[u+76>>2],k+4|0);h=q[j+32>>2];g=q[j>>2];b=f-b|0;f=q[j+36>>2];q[j+32>>2]=b>>>0>>0?g+b|0:f;B=h-g|0}D=Oa(m,4,0,e,0,k+12|0);f:{if(q[k+12>>2]){break f}E=Oa(m,4,0,e,0,k+12|0);if(q[k+12>>2]){break f}if(e){b=q[c+4>>2];f=0;while(1){g=f<<3;h=g+A|0;g=b+g|0;q[h>>2]=q[g>>2]<<16;q[h+4>>2]=q[g+4>>2]<<16;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(N){P=e+ -1|0;Q=e+ -2|0;R=e+ -3|0;L=e+ -4|0;S=q[k+4>>2];h=0;while(1){V=ob(j);g:{h:{i:{j:{b=ob(j);k:{if(b&32768){f=0;if(!q[u>>2]){break k}while(1){X=(f<<2)+C|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;if(f>>>0>2]){continue}break}break k}g=b&4095;if(g>>>0>=t[u+60>>2]){break j}f=g;g=q[u>>2];Qa(C,q[u+64>>2]+(w(f,g)<<2)|0,g<<2)}l:{if(!(b&16384)){break l}f=0;if(!q[u>>2]){break l}while(1){X=(f<<2)+I|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;g=q[u>>2];if(f>>>0>>0){continue}break}f=0;if(!g){break l}while(1){X=(f<<2)+J|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;if(f>>>0>2]){continue}break}}g=wo(u,b,C,I,J);if(!g){break g}W=q[j+32>>2];O=q[j>>2];f=q[j+36>>2];q[j+32>>2]=B>>>0>>0?O+B|0:f;m:{if(b&8192){F=Dh(j,q[u+76>>2],k+8|0);h=F;b=q[k+8>>2];break m}q[k+8>>2]=S;F=h;h=K;b=S}f=b?b:e;G=uj(j,q[u+76>>2],f);H=uj(j,q[u+76>>2],f);if(!H|(!G|!h)){break h}n:{if((h|0)!=-1){f=0;if(e){break n}break i}f=0;if(!e){break h}while(1){b=f<<2;h=b+E|0;i=q[h>>2];l=b+D|0;x=q[l>>2];z=Ma(q[b+G>>2],g);b=Ma(q[b+H>>2],g);o:{if(f>>>0>>0){q[l>>2]=x+z;q[h>>2]=b+i;break o}if(!(r[a+740|0]&4|(f|0)!=(L|0))){q[l>>2]=x+z;break o}if(!(r[a+740|0]&2|(f|0)!=(R|0))){q[l>>2]=x+z;break o}if(!(r[a+740|0]&32|(f|0)!=(Q|0))){q[h>>2]=b+i;break o}if(r[a+740|0]&16|(f|0)!=(P|0)){break o}q[h>>2]=b+i}f=f+1|0;if((f|0)!=(e|0)){continue}break}break h}while(1){o[f+v|0]=0;i=f<<3;l=i+y|0;i=i+A|0;x=q[i+4>>2];q[l>>2]=q[i>>2];q[l+4>>2]=x;f=f+1|0;if((f|0)!=(e|0)){continue}break}break i}q[k+12>>2]=8;break f}f=0;if(b){while(1){i=s[(f<<1)+h>>1];if(i>>>0>>0){o[i+v|0]=1;i=(i<<3)+y|0;l=f<<2;X=i,Y=Ma(q[l+G>>2],g)+q[i>>2]|0,q[X>>2]=Y;X=i,Y=Ma(q[l+H>>2],g)+q[i+4>>2]|0,q[X+4>>2]=Y}f=f+1|0;if((b|0)!=(f|0)){continue}break}}M=0;g=0;if(s[c>>1]){while(1){z=p[q[c+12>>2]+(M<<1)>>1];p:{if((g|0)>(z|0)){break p}l=z+1|0;f=g;q:{r:{s:{while(1){t:{b=f+1|0;if(r[f+v|0]){x=f;h=f;T=(f|0)<(z|0);if(T){while(1){i=b;if(r[b+v|0]){rj(h+1|0,x,h,i,A,y);h=i}b=i+1|0;x=i;if((i|0)!=(z|0)){continue}break}if((f|0)!=(h|0)){break s}b=l}h=f<<3;l=h+y|0;h=h+A|0;i=q[l+4>>2]-q[h+4>>2]|0;l=q[l>>2]-q[h>>2]|0;if(i|l){break t}g=b;break p}h=(f|0)==(z|0);f=b;if(!h){continue}break r}break}if((g|0)>=(f|0)){break q}while(1){h=(g<<3)+y|0;q[h>>2]=l+q[h>>2];q[h+4>>2]=i+q[h+4>>2];g=g+1|0;if((g|0)!=(f|0)){continue}break}break q}rj(h+1|0,z,h,f,A,y);if((f|0)<1){break r}rj(g,f+ -1|0,h,f,A,y)}g=l;break p}if(!T){g=b;break p}while(1){f=f+1|0;g=(f<<3)+y|0;q[g>>2]=l+q[g>>2];q[g+4>>2]=i+q[g+4>>2];if((f|0)!=(z|0)){continue}break}g=b}M=M+1|0;if((M|0)>1]){continue}break}}f=0;if(!e){break h}while(1){b=f<<3;g=b+y|0;h=b+A|0;b=q[g+4>>2]-q[h+4>>2]|0;g=q[g>>2]-q[h>>2]|0;l=f<<2;h=l+E|0;i=q[h>>2];l=l+D|0;x=q[l>>2];u:{if(f>>>0>>0){q[l>>2]=g+x;q[h>>2]=b+i;break u}if(!(r[a+740|0]&4|(f|0)!=(L|0))){q[l>>2]=g+x;break u}if(!(r[a+740|0]&2|(f|0)!=(R|0))){q[l>>2]=g+x;break u}if(!(r[a+740|0]&32|(f|0)!=(Q|0))){q[h>>2]=b+i;break u}if(r[a+740|0]&16|(f|0)!=(P|0)){break u}q[h>>2]=b+i}f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=-1;if((F|0)!=-1){if(F){n[q[m+8>>2]](m,F)}h=0}b=m;if(G){n[q[b+8>>2]](b,G)}if(H){n[q[m+8>>2]](m,H)}b=W-O|0;g=q[j>>2];f=q[j+36>>2];q[j+32>>2]=b>>>0>>0?b+g|0:f}B=B+V|0;U=U+1|0;if((U|0)!=(N|0)){continue}break}}if(!e){break f}b=q[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;g=f<<2;h=g+D|0;q[a>>2]=q[a>>2]+(q[h>>2]+512>>10);g=g+E|0;q[a+4>>2]=q[a+4>>2]+(q[g>>2]+512>>10);a=b+c|0;q[a>>2]=q[a>>2]+(q[h>>2]+32768>>16);q[a+4>>2]=q[a+4>>2]+(q[g>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}}a=m;if(D){n[q[a+8>>2]](a,D)}if(E){n[q[m+8>>2]](m,E)}if((K|0)==-1){break c}}if(K){n[q[m+8>>2]](m,K)}}a=m;if(C){n[q[a+8>>2]](a,C)}if(I){n[q[a+8>>2]](a,I)}if(J){n[q[m+8>>2]](m,J)}jb(j)}if(A){n[q[m+8>>2]](m,A)}if(y){n[q[m+8>>2]](m,y)}if(v){n[q[m+8>>2]](m,v)}v=q[k+12>>2]}Da=k+16|0;return v}function pf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;f=Da-16|0;Da=f;j=q[a+100>>2];q[f+8>>2]=0;d=dc(b,q[a+92>>2]);a:{if(d){e=q[a+80>>2];d=q[d>>2];a=q[(e+(d<<4)|0)+4>>2]+ -1|0;if(a>>>0>2){break a}b:{switch(a-1|0){default:a=e+(d<<4)|0;b=q[a+12>>2];if(b){n[q[j+8>>2]](j,b)}q[a+12>>2]=0;if(!c|!r[c|0]){break a}p=a,s=$c(j,c,f+8|0),q[p+12>>2]=s;break a;case 0:k=e+(d<<4)|0;b=0;c:{if(!c){break c}d=0;a=r[c|0];b=0;if(!a){break c}if((a|0)!=45){b=c}else{d=1;a=r[c+1|0];b=c+1|0}c=0;e=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;d:{if(!(e>>>(a&7)&1)){break d}while(1){if((c|0)>214748362){c=2147483647;break d}c=r[a+28896|0]+w(c,10)|0;a=o[b+1|0];b=b+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=d?0-c|0:c}q[k+12>>2]=b;break a;case 1:break b}}b=0;e:{if(!c){break e}a=o[c|0];j=a&255;if(!j|!(r[(j>>>3|0)+28864|0]>>>(a&7)&1)){break e}while(1){if(b>>>0>429496727){b=-1;break e}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[(e+(d<<4)|0)+12>>2]=b;break a}f:{h=a+112|0;g=dc(b,h);if(!g){g=q[a+100>>2];q[f+12>>2]=0;if(!dc(b,h)){d=q[a+108>>2];e=Oa(g,16,d,d+1|0,q[a+104>>2],f+12|0);q[a+104>>2]=e;d=q[f+12>>2];if(d){break f}e=e+(q[a+108>>2]<<4)|0;q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;i=Wa(b)+1|0;k=Oa(g,1,0,i,0,f+12|0);q[e>>2]=k;d=q[f+12>>2];if(d){break f}Qa(k,b,i);q[e+4>>2]=1;q[e+8>>2]=0;d=di(q[e>>2],q[a+108>>2]+83|0,h,g);q[f+12>>2]=d;if(d){break f}q[a+108>>2]=q[a+108>>2]+1}q[f+8>>2]=0;g=dc(b,h)}d=q[a+76>>2];if((d|0)==q[a+72>>2]){g:{if(!d){e=Oa(j,16,0,1,0,f+8|0);q[a+80>>2]=e;if(!q[f+8>>2]){break g}break a}e=Oa(j,16,d,d+1|0,q[a+80>>2],f+8|0);q[a+80>>2]=e;if(q[f+8>>2]){break a}}d=(q[a+72>>2]<<4)+e|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[a+72>>2]=q[a+72>>2]+1}i=q[a+80>>2];h=q[a+76>>2];k=i+(h<<4)|0;e=k;d=q[g>>2];h:{if(d>>>0>=83){d=(q[a+104>>2]+(d<<4)|0)+ -1328|0;break h}d=(d<<4)+26384|0}q[e>>2]=q[d>>2];q[k+4>>2]=q[d+4>>2];q[k+8>>2]=q[d+8>>2];d=q[d+4>>2]+ -1|0;i:{if(d>>>0>2){break i}j:{switch(d-1|0){default:d=i+(h<<4)|0;q[d+12>>2]=0;if(!c|!r[c|0]){break i}p=d,s=$c(j,c,f+8|0),q[p+12>>2]=s;if(!q[f+8>>2]){break i}break a;case 0:l=i+(h<<4)|0;d=0;k:{if(!c){break k}g=r[c|0];d=0;if(!g){break k}if((g|0)==45){m=1;g=r[c+1|0];c=c+1|0}d=c;e=0;c=g<<24>>24;l:{if(!(r[((g&248)>>>3|0)+28864|0]>>>(c&7)&1)){break l}while(1){if((e|0)>214748362){e=2147483647;break l}e=r[c+28896|0]+w(e,10)|0;c=o[d+1|0];d=d+1|0;if(r[((c&248)>>>3|0)+28864|0]>>>(c&7)&1){continue}break}}d=m?0-e|0:e}q[l+12>>2]=d;break i;case 1:break j}}d=0;m:{if(!c){break m}e=o[c|0];g=e&255;if(!g|!(r[(g>>>3|0)+28864|0]>>>(e&7)&1)){break m}while(1){if(d>>>0>429496727){d=-1;break m}d=r[e+28896|0]+w(d,10)|0;e=o[c+1|0];c=c+1|0;if(r[((e&248)>>>3|0)+28864|0]>>>(e&7)&1){continue}break}}q[(i+(h<<4)|0)+12>>2]=d}n:{o:{if(Ra(b,26360,7)){break o}c=r[b+7|0];if(c>>>0>32){break o}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break o;default:break n}}c=di(q[k>>2],q[a+76>>2],q[a+92>>2],j);q[f+8>>2]=c;if(c){break a}}q[a+76>>2]=q[a+76>>2]+1;p:{if(Ra(b,27886,12)){break p}c=r[b+12|0];if(c>>>0>32){break p}q:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break p;default:break q}}q[a+36>>2]=q[(i+(h<<4)|0)+12>>2];break a}r:{if(Ra(b,27767,11)){break r}c=r[b+11|0];if(c>>>0>32){break r}s:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break r;default:break s}}q[a+40>>2]=q[(i+(h<<4)|0)+12>>2];break a}t:{if(Ra(b,27779,12)){break t}c=r[b+12|0];if(c>>>0>32){break t}u:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break t;default:break u}}q[a+44>>2]=q[(i+(h<<4)|0)+12>>2];break a}if(Ra(b,26176,7)){break a}b=r[b+7|0];if(b>>>0>32){break a}v:{switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break a;default:break v}}b=q[(i+(h<<4)|0)+12>>2];if(!b){q[f+8>>2]=3;break a}b=r[b|0]+ -67|0;if(b>>>0>45){break a}w:{switch(b-1|0){case 12:case 44:q[a+28>>2]=8;break a;case 9:case 41:q[a+28>>2]=16;break a;case 0:case 1:case 2:case 3:case 4: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 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 42:case 43:break a;default:break w}}q[a+28>>2]=32;break a}q[f+8>>2]=d}Da=f+16|0;return q[f+8>>2]}function zh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=Da-1488|0;Da=e;h=q[a+4>>2];u=q[h+556>>2];x=q[u+40>>2];a:{b:{c:{i=q[h+712>>2];if(q[i+1504>>2]==65535){break c}f=q[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(t[i+1196>>2]>>0){break a}c=s[f+(c<<1)>>1];if(c){break b}break a}g=6;if(t[i+20>>2]<=c>>>0){break a}}q[a+164>>2]=65536;q[a+168>>2]=65536;l=d&1024?d|3:d;d:{e:{if(!b){break e}q[a+164>>2]=q[b+16>>2];q[a+168>>2]=q[b+20>>2];j=q[b+44>>2];if(l&8|(j|0)==-1){break e}f=q[b>>2];d=q[f+540>>2];if(!q[d+96>>2]){break e}if(n[q[d+72>>2]](h,j,c,l,q[f+104>>2],a+76|0,e+704|0)){break e}q[a+108>>2]=0;q[a+24>>2]=s[e+706>>1]<<6;q[a+28>>2]=s[e+704>>1]<<6;k=p[e+708>>1];q[a+32>>2]=k<<6;j=p[e+710>>1];q[a+36>>2]=j<<6;q[a+40>>2]=s[e+712>>1]<<6;f=p[e+714>>1];q[a+44>>2]=f<<6;b=p[e+716>>1];q[a+48>>2]=b<<6;d=s[e+718>>1];g=b;b=l&16;q[a+104>>2]=b?g:j;q[a+100>>2]=b?f:k;q[a+72>>2]=1651078259;q[a+52>>2]=d<<6;n[q[q[h+540>>2]+140>>2]](h,0,c,e+32|0,e+48|0);q[a+56>>2]=s[e+48>>1];if(!(!r[h+292|0]|!s[h+330>>1])){n[q[q[h+540>>2]+140>>2]](h,1,c,e+32|0,e+48|0);q[a+60>>2]=s[e+48>>1];break d}if(s[h+372>>1]!=65535){q[a+60>>2]=p[h+442>>1]-p[h+444>>1];break d}q[a+60>>2]=p[h+220>>1]-p[h+222>>1];break d}g=6;if(l&16384){break a}k=q[i+2024>>2];f:{if(k){g=0;f=q[i+3060>>2];g:{if(!f){break g}d=r[i+3052|0];if(d>>>0>3){break g}h:{switch(d-1|0){default:g=r[c+f|0];break g;case 0:case 1:break g;case 2:break h}}if(c-q[i+3068>>2]>>>0>2]){g=r[i+3076|0];break g}g=f+2|0;d=r[f+1|0]|r[f|0]<<8;j=f+q[i+3064>>2]|0;while(1){if(d>>>0<=c>>>0){f=r[g+2|0]|r[g+1|0]<<8;if(f>>>0>c>>>0){g=r[g|0];o[i+3076|0]=g;q[i+3072>>2]=f-d;q[i+3068>>2]=d;break g}d=f;g=g+3|0;if(g>>>0>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k+ -1|0)&255)<<2)|0)+2028|0;m=q[f>>2];k=q[m+68>>2];j=q[i+1440>>2];d=q[m+60>>2];q[e+40>>2]=q[m+56>>2];q[e+44>>2]=d;d=q[m+52>>2];q[e+32>>2]=q[m+48>>2];q[e+36>>2]=d;d=q[f>>2];v=q[d+72>>2];w=q[d+76>>2];if((j|0)==(k|0)){break f}A=a,B=bb(q[a+164>>2],j,k),q[A+164>>2]=B;A=a,B=bb(q[a+168>>2],j,k),q[A+168>>2]=B;z=1;break f}f=i+1428|0;d=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=d;f=i+1420|0;d=q[f+4>>2];q[e+32>>2]=q[f>>2];q[e+36>>2]=d;w=q[i+1448>>2];v=q[i+1444>>2]}q[a+108>>2]=0;q[a+72>>2]=1869968492;m=l&1;o[a+161|0]=m^1;y=(l>>>1^-1)&1;o[a+160|0]=y;n[q[x>>2]](e+704|0,h,b,a,y,l>>>16&15,134,135);if(l&256){o[e+1297|0]=1}k=l&1024;o[e+770|0]=k>>>10;d=q[q[h+128>>2]+52>>2];i:{if(d){g=n[q[q[d>>2]>>2]](q[d+4>>2],c,e+48|0)|0;q[e+28>>2]=q[e+48>>2];q[e+24>>2]=q[e+52>>2];break i}g=Ag(q[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=n[q[x+4>>2]](e+704|0,b,c)|0;if(g){break a}n[q[u+24>>2]](e+48|0,e+704|0,0);f=q[e+24>>2];g=n[q[x+8>>2]](e+48|0,q[e+28>>2],f)|0;if((g&255)==164){o[a+160|0]=0;y=0;g=n[q[x+8>>2]](e+48|0,q[e+28>>2],f)|0;z=1}d=q[q[h+128>>2]+52>>2];j:{if(d){q[e+12>>2]=f;q[e+8>>2]=q[e+28>>2];n[q[q[d>>2]+4>>2]](q[d+4>>2],e+8|0);break j}d=q[h+712>>2];if(q[d+1236>>2]){break j}zb(q[d+1204>>2],e+28|0)}if(g){break a}g=0;d=a;k:{if(q[q[h+128>>2]+52>>2]){f=0}else{j=q[i+1232>>2];if(!j){break k}g=(q[i+1236>>2]+q[j+(c<<2)>>2]|0)+ -1|0}q[d+140>>2]=f;q[a+136>>2]=g}n[q[e+784>>2]](e+704|0);j=q[q[h+128>>2]+52>>2];l:{if(!j){break l}f=q[q[j>>2]+8>>2];if(!f){break l}q[e+12>>2]=0;q[e+8>>2]=q[e+736>>2];d=q[e+748>>2];q[e+16>>2]=q[e+744>>2];q[e+20>>2]=d;g=n[f](q[j+4>>2],c,0,e+8|0)|0;q[e+736>>2]=q[e+8>>2];d=q[e+20>>2];q[e+744>>2]=q[e+16>>2];q[e+748>>2]=d;if(g){break a}}if(k){q[a+32>>2]=q[e+736>>2];q[a+40>>2]=q[e+1288>>2];f=q[e+40>>2];d=q[e+44>>2];c=q[e+32>>2];b=q[e+36>>2];a=q[a+156>>2];q[a+28>>2]=v;q[a+32>>2]=w;o[a+8|0]=1;q[a+20>>2]=f;q[a+24>>2]=d;q[a+12>>2]=c;q[a+16>>2]=b;break d}m:{if(s[h+250>>1]){p[e+8>>1]=0;p[e+28>>1]=0;n[q[q[h+540>>2]+140>>2]](h,0,c,e+8|0,e+28|0);d=s[e+28>>1];q[a+32>>2]=p[e+8>>1];break m}d=q[e+1288>>2]}q[a+56>>2]=d;q[a+40>>2]=d;o[q[a+156>>2]+8|0]=0;n:{if(!(!r[h+292|0]|!s[h+330>>1])){p[e+8>>1]=0;p[e+28>>1]=0;n[q[q[h+540>>2]+140>>2]](h,1,c,e+8|0,e+28|0);q[a+48>>2]=p[e+8>>1];d=s[e+28>>1];q[a+52>>2]=d;f=1;break n}o:{if(s[h+372>>1]!=65535){d=p[h+442>>1]-p[h+444>>1]|0;q[a+52>>2]=d;break o}d=p[h+220>>1]-p[h+222>>1]|0;q[a+52>>2]=d}f=0}q[a+72>>2]=1869968492;q[a+60>>2]=d;q[a+124>>2]=0;d=4;u=a+108|0;c=a;if(!(!b|s[b+14>>1]>23)){q[a+124>>2]=256;d=260}q[c+124>>2]=d;p:{if(!(q[e+36>>2]|(q[e+32>>2]!=65536|q[e+44>>2]!=65536))){if(!q[e+40>>2]){break p}}ce(u,e+32|0);A=a,B=Ma(q[a+40>>2],q[e+32>>2]),q[A+40>>2]=B;A=a,B=Ma(q[a+52>>2],q[e+44>>2]),q[A+52>>2]=B}if(v|w){oc(u,v,w);q[a+40>>2]=q[a+40>>2]+v;q[a+52>>2]=q[a+52>>2]+w}if(!(z?0:m)){d=q[a+112>>2];k=q[a+168>>2];j=q[a+164>>2];q:{if(q[e+772>>2]?y:0){break q}b=p[a+110>>1];if((b|0)<1){break q}c=b&65535;while(1){A=d,B=Ma(q[d>>2],j),q[A>>2]=B;A=d,B=Ma(q[d+4>>2],k),q[A+4>>2]=B;d=d+8|0;b=(c|0)>1;c=c+ -1|0;if(b){continue}break}}A=a,B=Ma(q[a+40>>2],j),q[A+40>>2]=B;A=a,B=Ma(q[a+52>>2],k),q[A+52>>2]=B}Te(u,e+8|0);d=q[e+8>>2];q[a+24>>2]=q[e+16>>2]-d;c=q[e+12>>2];b=q[e+20>>2];q[a+36>>2]=b;q[a+32>>2]=d;q[a+28>>2]=b-c;if(f){q[a+44>>2]=d-(q[a+40>>2]/2|0);break d}if(!(l&16)){break d}Sf(a+24|0,q[a+52>>2])}g=0}Da=e+1488|0;return g}function Ps(a,b,c,d){a=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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;n=Da-80|0;Da=n;f=bh(b,c);a:{if(f){break a}a=q[b+2740>>2];if(!(a&1)){f=Os(b,0);if(f){break a}Ns(b,d,0);a=q[b+2740>>2]}if(!(a&2)){f=Os(b,1);if(f){break a}Ns(b,d,1)}while(1){b:{a=q[b+2740>>2];m=e;c:{d:{if(!e){if(a&1){break c}if(q[d+24>>2]|a&8){break d}Ms(n+16|0,b,n+12|0,n+8|0);e=q[b+24>>2];if((e|0)<1){break c}a=q[b+28>>2];g=a+w(e,40)|0;i=q[n+8>>2];e=q[n+12>>2];while(1){A=a,B=Ma(p[a+12>>1],e)+i|0,q[A+16>>2]=B;a=a+40|0;if(a>>>0>>0){continue}break}break c}if(a&2){break b}}y=w(m,1348)+b|0;z=y- -64|0;i=q[z>>2];v=q[y+56>>2];t=i+w(v,44)|0;g=0;a=i;l=0;e:{if((v|0)<=0){break e}while(1){l=r[a+12|0];f:{if(l&4){break f}e=q[a+24>>2];h=q[a+20>>2];g:{if(h){f=a;break g}if(!e){break f}h=q[e+20>>2];if(!h){break f}l=r[e+12|0];f=e;e=a}k=q[h+8>>2];o[f+12|0]=l|4;q[f+8>>2]=k;if(!(q[e+20>>2]|!e)){A=e,B=og(b,m,q[e+4>>2]-q[f+4>>2]|0)+k|0,q[A+8>>2]=B;o[e+12|0]=r[e+12|0]|4}g=g?g:a}a=a+44|0;if(a>>>0>>0){continue}break}f=0;h=0;l=0;e=i;a=e;x=0;u=0;if((m|0)==1){while(1){k=r[e+12|0];h:{if(k&4){break h}i:{j=q[e+24>>2];if(!j){break i}if(h&255){a=f- -64|0;if(q[e+8>>2]<(a|0)|q[j+8>>2]<(a|0)){break i}}if(q[j+20>>2]){g=q[j+8>>2];a=og(b,1,q[e+4>>2]-q[j+4>>2]|0);o[e+12|0]=k|4;q[e+8>>2]=a+g;break h}if(j>>>0>=e>>>0){h=1;Ol(b,e,j,0,1);o[e+12|0]=r[e+12|0]|4;o[j+12|0]=r[j+12|0]|4;f=q[j+8>>2];break h}g=q[j+8>>2];h=1;a=og(b,1,q[e+4>>2]-q[j+4>>2]|0);o[e+12|0]=k|4;f=a+g|0;q[e+8>>2]=f;break h}l=l+1|0}e=e+44|0;if(e>>>0>>0){continue}break e}}while(1){j=r[a+12|0];j:{if(j&4){break j}h=q[a+24>>2];if(!h){l=l+1|0;break j}k:{if(!u){break k}e=x- -64|0;if(q[h+8>>2]>=(e|0)?q[a+8>>2]>=(e|0):0){break k}l=l+1|0;break j}if(q[h+20>>2]){k=q[h+8>>2];e=og(b,m,q[a+4>>2]-q[h+4>>2]|0);o[a+12|0]=j|4;q[a+8>>2]=e+k;break j}if(h>>>0>>0){k=q[h+8>>2];e=og(b,m,q[a+4>>2]-q[h+4>>2]|0);o[a+12|0]=j|4;x=e+k|0;q[a+8>>2]=x;u=1;break j}l:{if(!g){f=Ol(b,a,h,0,0);break l}Ol(b,a,h,f,m)}o[a+12|0]=r[a+12|0]|4;o[h+12|0]=r[h+12|0]|4;x=q[h+8>>2];u=1;g=a}a=a+44|0;if(a>>>0>>0){continue}break}}m:{if(m){break m}e=v+ -6|0;if(e>>>0>6){break m}g=4;f=2;a=i;n:{switch(e-1|0){case 5:a=i+44|0;g=9;f=5;break;case 0:case 1:case 2:case 3:case 4:break m;default:break n}}if(q[a+24>>2]!=(a+44|0)){break m}k=i+w(f,44)|0;if(q[k+24>>2]!=(k+44|0)){break m}e=q[k+4>>2];g=w(g,44);j=g+i|0;e=e-q[j+4>>2]+(e-q[a+4>>2])|0;f=e>>31;if((f^e+f)>7){break m}e=g+(i+44|0)|0;g=q[j+24>>2];if((e|0)!=(g|0)){break m}e=q[j+8>>2];a=(q[k+8>>2]<<1)-q[a+8>>2]|0;q[j+8>>2]=a;a=e-a|0;if(g){q[g+8>>2]=q[g+8>>2]-a}if((v|0)==12){q[i+360>>2]=q[i+360>>2]-a;q[i+492>>2]=q[i+492>>2]-a}o[j+12|0]=r[j+12|0]|4;if(!g){break m}o[g+12|0]=r[g+12|0]|4}o:{if(!l){break o}a=i;k=(v|0)<1;if(k){break o}while(1){f=r[a+12|0];p:{if(f&4){break p}e=q[a+28>>2];if(!e){break p}g=q[e+8>>2];e=q[e+4>>2];o[a+12|0]=f|4;q[a+8>>2]=q[a+4>>2]+(g-e|0);l=l+ -1|0}a=a+44|0;if(a>>>0>>0){continue}break}if(k){break o}g=i;if(!l){break o}while(1){a=g;q:{if(r[a+12|0]&4){break q}r:{while(1){j=a;a=a+ -44|0;if(a>>>0>>0){u=0;f=1;break r}if(!(r[j+ -32|0]&4)){continue}break}u=1;f=0}e=g;s:{t:{u:{v:{while(1){k=e;e=e+44|0;if(e>>>0>=t>>>0){break v}if(!(r[k+56|0]&4)){continue}break}if(f){break u}f=q[j+ -36>>2];e=s[e>>1];a=s[a>>1];if((e|0)!=(a|0)){break s}q[g+8>>2]=f;break q}if(!u){break q}if(!f){break t}}q[g+8>>2]=q[g+4>>2]+(q[k+52>>2]-q[k+48>>2]|0);break q}q[g+8>>2]=q[g+4>>2]+(q[j+ -36>>2]-q[j+ -40>>2]|0);break q}a=a<<16>>16;A=g,B=bb(p[g>>1]-a|0,q[k+52>>2]-f|0,(e<<16>>16)-a|0)+f|0,q[A+8>>2]=B}g=g+44|0;if(g>>>0>>0){continue}break}}h=q[z>>2];a=q[y+56>>2];j=h+w(a,44)|0;w:{x:{y:{z:{if(!m){e=1;break z}e=2;if((m|0)!=1){break y}}if((a|0)<=0){break w}if(!(q[b+2744>>2]&e)){break x}while(1){k=q[h+8>>2];g=q[h+36>>2];f=g;a=f;A:{if(m){while(1){e=f+36|0;a=q[f+40>>2];while(1){i=q[e>>2];q[i+20>>2]=k;p[i>>1]=s[i>>1]|8;e=i+32|0;if((a|0)!=(i|0)){continue}break}f=q[f+16>>2];if((g|0)!=(f|0)){continue}break A}}while(1){e=a+36|0;i=q[a+40>>2];while(1){f=q[e>>2];q[f+16>>2]=k;p[f>>1]=s[f>>1]|4;e=f+32|0;if((f|0)!=(i|0)){continue}break}a=q[a+16>>2];if((g|0)!=(a|0)){continue}break}}h=h+44|0;if(h>>>0>>0){continue}break}break w}if((a|0)<1){break w}}while(1){k=q[h+8>>2]-q[h+4>>2]|0;g=q[h+36>>2];a=g;f=a;B:{if(!m){while(1){e=a+36|0;i=q[a+40>>2];while(1){f=q[e>>2];q[f+16>>2]=k+q[f+16>>2];p[f>>1]=s[f>>1]|4;e=f+32|0;if((f|0)!=(i|0)){continue}break}a=q[a+16>>2];if((g|0)!=(a|0)){continue}break B}}while(1){e=f+36|0;a=q[f+40>>2];while(1){i=q[e>>2];q[i+20>>2]=k+q[i+20>>2];p[i>>1]=s[i>>1]|8;e=i+32|0;if((a|0)!=(i|0)){continue}break}f=q[f+16>>2];if((g|0)!=(f|0)){continue}break}}h=h+44|0;if(h>>>0>>0){continue}break}}Nl(b,m);Ml(b,m)}e=1;if(!m){continue}}break}d=q[b+24>>2];if((d|0)<1){f=0;break a}a=q[b+28>>2];d=a+w(d,40)|0;e=q[c+4>>2];l=q[c+8>>2];while(1){q[e>>2]=q[a+16>>2];q[e+4>>2]=q[a+20>>2];f=0;b=s[a>>1];o[l|0]=b&1?0:b&2?2:1;l=l+1|0;e=e+8|0;a=a+40|0;if(a>>>0>>0){continue}break}}Da=n+80|0;return f|0}function Ef(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;g=Da-48|0;Da=g;N=q[a>>2];D=q[a+40>>2];c=q[a+36>>2];f=q[q[a+2748>>2]+40>>2];o[g+39|0]=0;o[g+40|0]=0;o[g+41|0]=0;o[g+42|0]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;q[g+8>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g>>2]=0;q[g+4>>2]=0;d=w(b,1348)+a|0;C=d;q[d+44>>2]=0;d=q[d+68>>2];J=(f>>>0)/14|0;e=q[a+28>>2];f=q[a+24>>2];i=e+w(f,40)|0;a:{if(b){if((f|0)<=0){break a}while(1){q[e+24>>2]=p[e+14>>1];q[e+28>>2]=p[e+12>>1];e=e+40|0;if(e>>>0>>0){continue}break}break a}if((f|0)<1){break a}while(1){q[e+24>>2]=p[e+12>>1];q[e+28>>2]=p[e+14>>1];e=e+40|0;if(e>>>0>>0){continue}break}}b:{if((c|0)>=1){Q=(c<<2)+D|0;z=w(b,1348)+a|0;K=z+72|0;c=d>>31;E=c+d^c;O=E;c=0;while(1){B=q[D>>2];e=q[B+36>>2];f=o[e+3|0];d=f>>31;c:{if((d^d+f)!=(E|0)){break c}f=o[B+3|0];d=f>>31;if((d^d+f)!=(E|0)){break c}while(1){if((e|0)==(B|0)){break c}e=q[e+36>>2];f=o[e+3|0];d=f>>31;if((d^d+f)==(E|0)){continue}break}B=q[e+32>>2]}n=0;j=-32e3;i=32e3;e=B;f=32e3;m=-32e3;v=0;t=0;l=32e3;u=-32e3;P=0;h=0;x=32e3;y=-32e3;F=32e3;G=-32e3;L=0;M=0;H=32e3;I=-32e3;while(1){d:{if(n){k=q[e+24>>2];A=(k|0)>(j|0);d=q[e+28>>2];if((d|0)<(f|0)){v=s[e>>1];f=d}j=A?k:j;i=(k|0)<(i|0)?k:i;k=s[e>>1];A=k&3;u=(d|0)>(u|0)?A?u:d:u;l=(d|0)<(l|0)?A?l:d:l;A=k;k=(d|0)>(m|0);t=k?A:t;m=k?d:m;d=c;if(!((e|0)==(B|0)|o[e+3|0]!=(O|0))){break d}e:{if(h){d=q[c+36>>2];if((d|0)==q[h+40>>2]){break e}}q[c+40>>2]=e;p[c+4>>1]=j-i>>>1;p[c+2>>1]=i+j>>>1;if(!(!((t|v)&3)|(u-l|0)>=(J|0))){o[c|0]=r[c|0]|1}p[c+8>>1]=m;p[c+6>>1]=f;p[c+10>>1]=m-f;n=0;h=c;x=i;y=j;F=f;G=m;L=v;M=t;H=l;I=u;d=0;break d}f:{if(r[d+2|0]==r[e+2|0]){q[h+40>>2]=e;d=(G|0)>(m|0);m=d?G:m;p[h+8>>1]=m;k=(F|0)<(f|0);f=k?F:f;p[h+6>>1]=f;p[h+10>>1]=m-f;j=(y|0)>(j|0)?y:j;i=(x|0)<(i|0)?x:i;p[h+4>>1]=j-i>>>1;p[h+2>>1]=i+j>>>1;n=r[h|0];c=n&-2;u=(I|0)>(u|0)?I:u;l=(H|0)<(l|0)?H:l;v=k?L:v;t=d?M:t;o[h|0]=(v|t)&3?(u-l|0)<(J|0)?n|1:c:c;break f}A=G-F|0;d=A>>31;k=m-f|0;n=k>>31;if((d^d+A)>(n^k+n)){q[h+40>>2]=e;y=(j|0)>(y|0)?j:y;x=(i|0)<(x|0)?i:x;p[h+4>>1]=y-x>>>1;p[h+2>>1]=x+y>>>1;break f}q[c+40>>2]=e;j=(y|0)>(j|0)?y:j;i=(x|0)<(i|0)?x:i;p[c+4>>1]=j-i>>>1;p[c+2>>1]=i+j>>>1;if(!(!((t|v)&3)|(u-l|0)>=(J|0))){o[c|0]=r[c|0]|1}p[c+8>>1]=m;p[c+6>>1]=f;p[c+10>>1]=k;q[h+40>>2]=q[c+40>>2];d=q[c+36>>2];q[h+32>>2]=q[c+32>>2];q[h+36>>2]=d;d=q[c+28>>2];q[h+24>>2]=q[c+24>>2];q[h+28>>2]=d;d=q[c+20>>2];q[h+16>>2]=q[c+16>>2];q[h+20>>2]=d;d=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=d;d=q[c+12>>2];q[h+8>>2]=q[c+8>>2];q[h+12>>2]=d;x=i;y=j;F=f;G=m;L=v;M=t;H=l;I=u}q[C+44>>2]=q[C+44>>2]+ -1;c=0}n=0;d=c}g:{if((e|0)==(B|0)){c=P;P=1;if(c){break g}}if(n){c=d;e=q[e+32>>2];continue}k=o[e+3|0];c=k>>31;h:{if((c^c+k)==(E|0)){break h}n=0;if(q[e+36>>2]==(e|0)){break h}c=d;e=q[e+32>>2];continue}q[g+44>>2]=0;c=q[C+44>>2];i:{if((c|0)<=17){if(q[z+52>>2]){break i}q[z+52>>2]=K;q[z+48>>2]=18;break i}d=q[z+48>>2];if((c|0)<(d|0)){break i}if((d|0)>=48806446){l=64;q[g+44>>2]=64;break b}c=(d+(d>>2)|0)+4|0;c=(d|0)<-16?48806446:(c|0)>48806446?48806446:c;f=q[z+52>>2];j:{if((f|0)==(K|0)){d=Oa(N,44,0,c,0,g+44|0);q[z+52>>2]=d;l=q[g+44>>2];if(l){break b}Qa(d,K,792);break j}R=z,S=Oa(N,44,d,c,f,g+44|0),q[R+52>>2]=S;l=q[g+44>>2];if(l){break b}}q[z+48>>2]=c;c=q[C+44>>2]}n=1;j=q[z+52>>2];q[C+44>>2]=c+1;t=w(c,44);c=t+j|0;o[c|0]=0;d=q[g+20>>2];f=q[g+16>>2];o[c+1|0]=f;o[c+2|0]=f>>>8;o[c+3|0]=f>>>16;o[c+4|0]=f>>>24;o[c+5|0]=d;o[c+6|0]=d>>>8;o[c+7|0]=d>>>16;o[c+8|0]=d>>>24;d=q[g+28>>2];f=q[g+24>>2];o[c+9|0]=f;o[c+10|0]=f>>>8;o[c+11|0]=f>>>16;o[c+12|0]=f>>>24;o[c+13|0]=d;o[c+14|0]=d>>>8;o[c+15|0]=d>>>16;o[c+16|0]=d>>>24;d=q[g+36>>2];f=q[g+32>>2];o[c+17|0]=f;o[c+18|0]=f>>>8;o[c+19|0]=f>>>16;o[c+20|0]=f>>>24;o[c+21|0]=d;o[c+22|0]=d>>>8;o[c+23|0]=d>>>16;o[c+24|0]=d>>>24;d=r[g+39|0]|r[g+40|0]<<8|(r[g+41|0]<<16|r[g+42|0]<<24);o[c+24|0]=d;o[c+25|0]=d>>>8;o[c+26|0]=d>>>16;o[c+27|0]=d>>>24;q[c+28>>2]=32e3;q[c+40>>2]=q[g+8>>2];d=q[g+4>>2];q[c+32>>2]=q[g>>2];q[c+36>>2]=d;o[c+1|0]=k;q[c+40>>2]=e;q[c+36>>2]=e;h=h?c+ -44|0:0;f=q[e+28>>2];v=s[e>>1];m=v&3;u=m?-32e3:f;l=m?32e3:f;i=q[e+24>>2];if(q[e+36>>2]==(e|0)){d=j+t|0;p[d+2>>1]=i;if(m){o[c|0]=1}p[d+10>>1]=0;p[d+8>>1]=f;p[d+6>>1]=f;n=0;c=0}j=i;m=f;t=v;O=k;e=q[e+32>>2];continue}break}c=d;D=D+4|0;if(D>>>0>>0){continue}break}}l=0;e=q[(w(b,1348)+a|0)+52>>2];if(!e){break b}a=q[C+44>>2];if((a|0)<1){break b}f=w(a,44)+e|0;while(1){b=q[e+36>>2];a=q[q[b+36>>2]+28>>2];b=q[b+28>>2];d=q[e+40>>2];c=q[d+28>>2];k:{if((b|0)<(c|0)){if((b|0)>(a|0)){p[e+10>>1]=s[e+10>>1]+(b-a>>>1|0)}a=q[q[d+32>>2]+28>>2];if((a|0)<=(c|0)){break k}p[e+10>>1]=s[e+10>>1]+(a-c>>>1|0);break k}if((a|0)>(b|0)){p[e+10>>1]=s[e+10>>1]+(a-b>>>1|0)}a=q[q[d+32>>2]+28>>2];if((c|0)<=(a|0)){break k}p[e+10>>1]=s[e+10>>1]+(c-a>>>1|0)}e=e+44|0;if(e>>>0>>0){continue}break}}Da=g+48|0;return l}function jN(a,b,c,d,e){a=a|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,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;i=Da-592|0;Da=i;Na(i+80|0,0,512);q[i- -64>>2]=0;q[i+56>>2]=0;q[i+60>>2]=0;q[i+48>>2]=0;q[i+52>>2]=0;q[i+40>>2]=0;q[i+44>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;a:{b:{c:{if(d){B=w(d,40)+c|0;while(1){h=q[c+32>>2];if(h>>>0>=1024){break c}g=q[c+36>>2];if(g+ -1>>>0>=1024){break b}if((h|0)>(g|0)){break a}d=h>>>6|0;f=d+1|0;j=(i+32|0)+(f<<1)|0;x=j;t=s[j>>1];j=q[c+20>>2];l=j<<2&4;m=q[c+24>>2]?l:j&4?l^4:l;n=j&2;k=n?m:l;j=h&63;v=w(k,j);p[x>>1]=t-v;y=(i+32|0)+(d<<1)|0;p[y>>1]=v+(s[y>>1]-(k<<6)|0);v=g>>>6|0;k=(i+32|0)+(v<<1)|0;l=n?l:m;m=g&63;n=w(l,m);p[k+2>>1]=n+s[k+2>>1];p[k>>1]=s[k>>1]+((l<<6)-n|0);d:{if((h|0)==(g|0)){break d}A=q[c>>2];h=q[c+4>>2];g=q[c+12>>2];k=g;n=g>>31;g=q[c+16>>2];z=g;l=q[c+8>>2];p[i>>1]=0;r=g>>31;l=W$(g,r,l,l>>31);g=Ea+131072|0;u=(l>>>0<0?g+1|0:g)>>2;g=u>>16;p[i+2>>1]=g;p[i+30>>1]=w(g,15);p[i+28>>1]=w(g,14);p[i+26>>1]=w(g,13);p[i+24>>1]=w(g,12);p[i+22>>1]=w(g,11);p[i+20>>1]=w(g,10);p[i+18>>1]=w(g,9);p[i+16>>1]=g<<3;p[i+14>>1]=w(g,7);p[i+12>>1]=w(g,6);p[i+10>>1]=w(g,5);p[i+8>>1]=g<<2;p[i+6>>1]=w(g,3);p[i+4>>1]=g<<1;l=W$(z,r,k,n);n=Ea+131072|0;k=(l>>>0<0?n+1|0:n)>>18;l=k>>31;y=(l^l+k)&65535;x=g;g=u>>31;l=x+g^g;h=h<<21|A>>>11;g=W$(z,r,h,h>>31);h=Ea+4096|0;h=(((g>>>0<0?h+1|0:h)>>>13|0)-(u>>17)|0)-w(d,k)|0;e:{if(!j){f=d;break e}if((d|0)==(v|0)){f=m-j|0;g=((f<<4)-l|0)+1024|0;v=(g<<16>>16<1024?g:1024)<<19>>16;g=w(k,j+m|0)<<9>>16;j=w(f,y)<<10>>16;j=((j|0)<(l|0)?j:l)+2>>2;l=f-(w(v,g-j|0)>>>16|0)|0;m=f-(w(v,g+j|0)>>>16|0)|0;g=f<<1;h=h<<16>>16;f=0;j=0;while(1){k=((i+80|0)+(d<<5)|0)+(j<<1)|0;x=k;t=s[k>>1];f=w(v,h-(f<<16>>16)|0)>>16;k=f+m<<16>>16;k=(k|0)>0?k:0;f=f+l<<16>>16;f=(f|0)>0?f:0;p[x>>1]=t+(((k|0)>(g|0)?g:k)+((f|0)>(g|0)?g:f)|0);j=j+1|0;if((j|0)==16){break d}f=s[(j<<1)+i>>1];continue}}g=64-j|0;n=((g<<4)-l|0)+1024|0;z=(n<<16>>16<1024?n:1024)<<19>>16;j=w(k,j<<9|32768)>>16;n=w(g,y)<<10>>>16|0;n=((n|0)<(l|0)?n:l)+2>>>2|0;r=g-(w(z,j-n|0)>>>16|0)|0;u=g-(w(z,j+n|0)>>>16|0)|0;A=h<<16>>16;n=g<<1;g=0;j=0;while(1){t=((i+80|0)+(d<<5)|0)+(j<<1)|0;x=t;C=s[t>>1];g=w(z,A-(g<<16>>16)|0)>>16;t=g+u<<16>>16;t=(t|0)>0?t:0;g=g+r<<16>>16;g=(g|0)>0?g:0;p[x>>1]=C+(((t|0)>(n|0)?n:t)+((g|0)>(n|0)?n:g)|0);j=j+1|0;if((j|0)!=16){g=s[(j<<1)+i>>1];continue}break}h=h-k|0}if((f|0)<(v|0)){d=512-(k>>1)|0;g=((l|0)>(y|0)?y:l)+2>>>2|0;j=d-g|0;n=d+g|0;z=w(k,f-v|0);g=h;while(1){d=0;while(1){r=d<<1;u=r+((i+80|0)+(f<<5)|0)|0;x=u;t=s[u>>1];r=g-s[i+r>>1]|0;u=r+n<<16>>16;u=(u|0)>0?u:0;r=j+r<<16>>16;r=(r|0)>0?r:0;p[x>>1]=t+(((u|0)<1024?u:1024)+((r|0)<1024?r:1024)>>>3|0);d=d+1|0;if((d|0)!=16){continue}break}g=g-k|0;f=f+1|0;if((v|0)!=(f|0)){continue}break}h=h+z|0}if(!m){break d}d=w(k,m)<<9>>16;f=w(m,y)<<10>>>16|0;g=((f|0)<(l|0)?f:l)+2>>>2|0;f=((m<<4)-l|0)+1024|0;f=(f<<16>>16<1024?f:1024)<<19>>16;l=m-(w(d-g|0,f)>>>16|0)|0;g=m-(w(f,d+g|0)>>>16|0)|0;d=m<<1;h=h<<16>>16;j=0;while(1){m=j<<1;k=m+((i+80|0)+(v<<5)|0)|0;x=k;t=s[k>>1];m=w(f,h-p[i+m>>1]|0)>>16;k=m+g<<16>>16;k=(k|0)>0?k:0;m=l+m<<16>>16;m=(m|0)>0?m:0;p[x>>1]=t+(((k|0)>(d|0)?d:k)+((m|0)>(d|0)?d:m)|0);j=j+1|0;if((j|0)!=16){continue}break}}c=c+40|0;if((B|0)!=(c|0)){continue}break}}d=e<<8;e=0;while(1){d=s[(i+32|0)+(e<<1)>>1]+d|0;c=(i+80|0)+(e<<5)|0;f=d+s[c>>1]|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a|0]=(f|0)<255?f:255;f=s[c+2>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+1|0]=(f|0)<255?f:255;f=s[c+4>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+2|0]=(f|0)<255?f:255;f=s[c+6>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+3|0]=(f|0)<255?f:255;f=s[c+8>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+4|0]=(f|0)<255?f:255;f=s[c+10>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+5|0]=(f|0)<255?f:255;f=s[c+12>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+6|0]=(f|0)<255?f:255;f=s[c+14>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+7|0]=(f|0)<255?f:255;f=s[c+16>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+8|0]=(f|0)<255?f:255;f=s[c+18>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+9|0]=(f|0)<255?f:255;f=s[c+20>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+10|0]=(f|0)<255?f:255;f=s[c+22>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+11|0]=(f|0)<255?f:255;f=s[c+24>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+12|0]=(f|0)<255?f:255;f=s[c+26>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+13|0]=(f|0)<255?f:255;f=s[c+28>>1]+d|0;h=0-f|0;f=(f<<16>>16>h<<16>>16?f:h)<<16>>16;o[a+14|0]=(f|0)<255?f:255;c=s[c+30>>1]+d|0;f=0-c|0;c=(c<<16>>16>f<<16>>16?c:f)<<16>>16;o[a+15|0]=(c|0)<255?c:255;a=a+b|0;e=e+1|0;if((e|0)!=16){continue}break}Da=i+592|0;return}I(437596,437638,187,437657);F()}I(437683,437638,188,437657);F()}I(437725,437638,189,437657);F()}function Nf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;f=Da+ -64|0;Da=f;g=q[a+104>>2];u=q[a+100>>2];q[f+52>>2]=0;e=q[a+736>>2];a:{b:{if(!e){c=n[q[a+516>>2]](a,1735811442,g,f+56|0)|0;q[f+52>>2]=c;if(c){c=n[q[a+516>>2]](a,1128678962,g,f+56|0)|0;q[f+52>>2]=c;if(c){break a}}c=n[q[a+516>>2]](a,1719034226,g,f+56|0)|0;q[f+52>>2]=c;if(c){break a}v=q[g+8>>2];c=lb(g,5376,f+32|0);q[f+52>>2]=c;if(c){break a}d=s[f+38>>1];h=s[f+44>>1];c=gb(u,80,f+52|0);q[a+736>>2]=c;if(q[f+52>>2]){break a}j=s[f+38>>1];q[c>>2]=j;x=(h|0)==((d<<2)+6|0);break b}j=q[e>>2];c=e}k=q[a+12>>2]>>>16|0;y=w(k,12);z=(j<<1)+3&-4;C=w(j,k);A=C<<2;B=(w(j,24)|4)+ -1&-8;c:{if(e){break c}e=c;c=((((w(j,5)+z|0)+B|0)+y|0)+A|0)+20|0;q[e+16>>2]=c;h=gb(u,c,f+52|0);if(q[f+52>>2]){break a}q[q[a+736>>2]+12>>2]=h;i=h+20|0;l=z+i|0;m=l+B|0;q[h+16>>2]=m;q[h+12>>2]=l;q[h+8>>2]=k;q[h+4>>2]=-1;q[h>>2]=j;e=m+y|0;if(k){d=0;D=j<<2;c=e;while(1){q[m+w(d,12)>>2]=c;c=c+D|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(j){d=e+A|0;c=0;while(1){q[l+w(c,24)>>2]=d;d=d+5|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=Xa(g,s[f+36>>1]+v|0);q[f+52>>2]=c;if(c){break a}if(j){d=q[h+12>>2];e=0;while(1){c=lb(g,5424,f+8|0);q[f+52>>2]=c;if(c){break a}c=q[f+8>>2];q[d+16>>2]=c;q[d+4>>2]=q[f+12>>2];q[d+8>>2]=q[f+16>>2];q[d+12>>2]=q[f+20>>2];q[d+20>>2]=s[f+26>>1];o[q[d>>2]]=c>>>24;o[q[d>>2]+1|0]=s[d+18>>1];o[q[d>>2]+2|0]=q[d+16>>2]>>>8;o[q[d>>2]+3|0]=q[d+16>>2];o[q[d>>2]+4|0]=0;p[i>>1]=s[f+24>>1];c=q[d+8>>2];if(!((c|0)<=q[d+12>>2]?q[d+4>>2]<=(c|0):0)){q[d+12>>2]=c;q[d+4>>2]=c}i=i+2|0;d=d+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=0;i=Oa(u,4,0,C,0,f+52|0);c=q[a+736>>2];q[c+20>>2]=i;if(q[f+52>>2]){break a}d:{if(!s[f+42>>1]){break d}if(!r[c+24|0]){c=q[g+8>>2];Ao(a);c=Xa(g,c);q[f+52>>2]=c;if(c){break a}if(!s[f+42>>1]){break d}i=q[q[a+736>>2]+20>>2]}v=j<<2;l=v+(x?6:4)|0;e=q[h+16>>2];if(j){m=0;while(1){c=mb(g,l);q[f+52>>2]=c;if(c){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);d=q[e>>2];c=0;while(1){E=d,F=fc(g),q[E>>2]=F;d=d+4|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}c=e;e:{if(x){d=ob(g);break e}d=65535}q[c+8>>2]=d;Eh(q[a+736>>2],j,q[e>>2],i);jb(g);e=e+12|0;i=i+v|0;m=m+1|0;d=s[f+42>>1];if(m>>>0>>0){continue}break}break d}c=0;if(!x){while(1){d=mb(g,l);q[f+52>>2]=d;if(d){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);q[e+8>>2]=65535;Eh(q[a+736>>2],0,q[e>>2],i);jb(g);e=e+12|0;c=c+1|0;d=s[f+42>>1];if(c>>>0>>0){continue}break d}}while(1){d=mb(g,l);q[f+52>>2]=d;if(d){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);E=e,F=ob(g),q[E+8>>2]=F;Eh(q[a+736>>2],0,q[e>>2],i);jb(g);e=e+12|0;c=c+1|0;d=s[f+42>>1];if(c>>>0>>0){continue}break}}f:{if((d|0)==(k|0)){break f}c=17;e=q[a+540>>2];if(!n[q[e+148>>2]](a,17,f+8|0,f+60|0)){c=2;if(!n[q[e+148>>2]](a,2,f+8|0,f+60|0)){break f}}if(!n[q[e+148>>2]](a,6,f+8|0,f+60|0)){break f}e=q[h+16>>2]+w(s[f+42>>1],12)|0;q[e+8>>2]=6;q[e+4>>2]=c;if(!j){break f}d=q[e>>2];c=q[h+12>>2];e=0;while(1){q[d>>2]=q[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=q[a+736>>2];e=q[a+104>>2];c=q[e+28>>2];g=n[q[a+516>>2]](a,1297498450,e,f+60|0)|0;q[f+8>>2]=g;if(g){break c}g=q[e+8>>2];h=ib(e,f+8|0);if(q[f+8>>2]){break c}i=Ib(e,2);q[f+8>>2]=i;if(i|(h|0)!=1){break c}E=d,F=gb(c,28,f+8|0),q[E+56>>2]=F;if(q[f+8>>2]){break c}h=Ib(e,4);q[f+8>>2]=h;if(h){break c}h=ib(e,f+8|0);p[q[d+56>>2]>>1]=h;if(q[f+8>>2]){break c}h=ib(e,f+8|0);if(q[f+8>>2]){break c}i=q[e+8>>2];g=zo(q[a+104>>2],q[a+736>>2],g+h|0,q[d+56>>2]+4|0);q[f+8>>2]=g;if(g){break c}c=Oa(c,12,0,s[q[d+56>>2]>>1],0,f+8|0);q[q[d+56>>2]+24>>2]=c;if(q[f+8>>2]){break c}c=Xa(e,i);q[f+8>>2]=c;if(c){break c}c=mb(e,s[q[d+56>>2]>>1]<<3);q[f+8>>2]=c;if(c){break c}g=q[d+56>>2];h=s[g>>1];g:{if(!h){break g}c=q[g+24>>2];h=c+w(h,12)|0;while(1){h:{E=c,F=fc(e),q[E>>2]=F;E=c,F=ob(e),p[E+4>>1]=F;i=ob(e);p[c+6>>1]=i;k=s[c+4>>1];if(t[g+4>>2]<=k>>>0|t[q[g+8>>2]+(k<<4)>>2]<=i>>>0){break h}c=c+12|0;if(c>>>0>>0){continue}break g}break}q[f+8>>2]=8}jb(e);if(q[f+8>>2]){break c}c=q[d+56>>2];e=s[c>>1];if(e){d=q[c+24>>2];c=d+w(e,12)|0;while(1){e=yo(a,q[d>>2]);if(e){p[d+8>>1]=s[e>>1]}d=d+12|0;if(d>>>0>>0){continue}break}}q[a+740>>2]=q[a+740>>2]|256}if(!b){break a}c=gb(u,q[q[a+736>>2]+16>>2],f+52|0);if(q[f+52>>2]){break a}a=q[a+736>>2];g=Qa(c,q[a+12>>2],q[a+16>>2]);a=(g+z|0)+20|0;h=B+a|0;q[g+16>>2]=h;q[g+12>>2]=a;e=h+y|0;i=q[g+8>>2];if(i){d=0;k=j<<2;c=e;while(1){q[h+w(d,12)>>2]=c;c=c+k|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j){d=e+A|0;e=0;while(1){q[a>>2]=d;c=a;i=c;i:{j:{k:{h=q[c+16>>2];if((h|0)<=2003072103){if((h|0)==1869640570){break k}if((h|0)!=1936486004){break i}c=5481;break j}c=5456;if((h|0)==2003265652){break j}if((h|0)!=2003072104){break i}c=5463;break j}c=5469}q[i>>2]=c}a=a+24|0;d=d+5|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}q[b>>2]=g}Da=f- -64|0;return q[f+52>>2]}function Eb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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;n=Da-96|0;Da=n;w=c;k=g;v=(k&131071)<<15|f>>>17;j=i&65535;r=j;o=h;k=h;B=k<<15|g>>>17;p=(e^i)&-2147483648;k=e&65535;m=k;u=d;E=k;k=j;C=(k&131071)<<15|h>>>17;N=i>>>16&32767;O=e>>>16&32767;a:{b:{if(O+ -1>>>0<=32765){j=0;if(N+ -1>>>0<32766){break b}}l=e&2147483647;j=l;k=d;if(!(!d&(j|0)==2147418112?!(b|c):(j|0)==2147418112&d>>>0<0|j>>>0<2147418112)){x=d;p=e|32768;break a}l=i&2147483647;e=l;d=h;if(!(!d&(e|0)==2147418112?!(f|g):(e|0)==2147418112&d>>>0<0|e>>>0<2147418112)){x=h;p=i|32768;b=f;c=g;break a}if(!(b|k|(j^2147418112|c))){if(!(d|f|(e|g))){p=2147450880;b=0;c=0;break a}p=p|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){d=b|k;e=c|j;b=0;c=0;if(!(d|e)){p=2147450880;break a}p=p|2147418112;break a}if(!(b|k|(c|j))){b=0;c=0;break a}if(!(d|f|(e|g))){b=0;c=0;break a}if((j|0)==65535&k>>>0<=4294967295|j>>>0<65535){j=b;k=c;h=!(m|u);i=h<<6;l=z(h?b:u)+32|0;b=z(h?c:m);b=i+((b|0)==32?l:b)|0;Fc(n+80|0,j,k,u,m,b+ -15|0);u=q[n+88>>2];w=q[n+84>>2];E=q[n+92>>2];s=16-b|0;b=q[n+80>>2]}j=s;if((e|0)==65535&d>>>0>4294967295|e>>>0>65535){break b}c=!(o|r);d=c<<6;e=z(c?f:o)+32|0;c=z(c?g:r);c=d+((c|0)==32?e:c)|0;h=c;Fc(n- -64|0,f,g,o,r,c+ -15|0);f=q[n+76>>2];c=f;i=q[n+68>>2];g=i;e=q[n+72>>2];d=e;B=d<<15|g>>>17;d=g;f=q[n+64>>2];v=(d&131071)<<15|f>>>17;C=(c&131071)<<15|e>>>17;j=(s-h|0)+16|0}s=j;d=v;r=0;i=W$(d,0,b,r);c=Ea;D=c;y=f<<15&-32768;o=w;f=W$(y,0,o,0);e=f+i|0;l=Ea+c|0;l=e>>>0>>0?l+1|0:l;c=e;f=0;g=W$(b,r,y,F);e=f+g|0;j=Ea+c|0;j=e>>>0>>0?j+1|0:j;v=e;g=j;W=(c|0)==(j|0)&e>>>0>>0|j>>>0>>0;P=W$(d,A,o,G);J=Ea;w=u;f=W$(y,F,u,0);e=f+P|0;m=Ea+J|0;m=e>>>0>>0?m+1|0:m;Q=e;h=W$(B,0,b,r);e=e+h|0;f=Ea+m|0;K=e;f=e>>>0>>0?f+1|0:f;u=f;h=f;f=(l|0)==(D|0)&c>>>0>>0|l>>>0>>0;e=l;c=e+K|0;j=f+h|0;D=c;j=c>>>0>>0?j+1|0:j;e=j;h=c;S=W$(d,A,w,R);L=Ea;c=y;H=E|65536;y=t;f=W$(c,F,H,t);c=f+S|0;j=Ea+L|0;j=c>>>0>>0?j+1|0:j;T=c;k=W$(o,G,B,U);c=c+k|0;t=j;f=j+Ea|0;f=c>>>0>>0?f+1|0:f;M=c;I=C&2147483647|-2147483648;c=W$(b,r,I,0);b=M+c|0;r=f;k=f+Ea|0;F=b;c=b>>>0>>0?k+1|0:k;j=e+b|0;f=0;b=f+h|0;if(b>>>0>>0){j=j+1|0}E=b;C=j;f=j;h=b+W|0;if(h>>>0>>0){f=f+1|0}i=f;s=(s+(N+O|0)|0)+ -16383|0;f=W$(w,R,B,U);b=Ea;l=0;k=W$(d,A,H,y);d=k+f|0;j=Ea+b|0;j=d>>>0>>0?j+1|0:j;A=d;k=d;d=j;j=(b|0)==(d|0)&k>>>0>>0|d>>>0>>0;f=W$(I,V,o,G);b=f+k|0;k=Ea+d|0;k=b>>>0>>0?k+1|0:k;o=b;f=b;b=k;d=(d|0)==(b|0)&f>>>0>>0|b>>>0>>0;f=j+d|0;if(f>>>0>>0){l=1}k=f;d=b;f=l;G=k;j=0;k=(m|0)==(u|0)&K>>>0>>0|u>>>0>>0;m=k+((m|0)==(J|0)&Q>>>0

>>0|m>>>0>>0)|0;if(m>>>0>>0){j=1}l=m;m=m+o|0;k=d+j|0;A=m;j=m;k=j>>>0>>0?k+1|0:k;d=k;b=(b|0)==(d|0)&j>>>0>>0|d>>>0>>0;k=G+b|0;if(k>>>0>>0){f=f+1|0}b=k;k=W$(I,V,H,y);b=b+k|0;j=Ea+f|0;j=b>>>0>>0?j+1|0:j;l=b;m=W$(I,V,w,R);f=Ea;o=W$(B,U,H,y);b=o+m|0;k=Ea+f|0;k=b>>>0>>0?k+1|0:k;o=b;b=k;k=(f|0)==(b|0)&o>>>0>>0|b>>>0>>0;f=b+l|0;l=j+k|0;k=f>>>0>>0?l+1|0:l;w=f;j=d+o|0;l=0;b=l+A|0;if(b>>>0>>0){j=j+1|0}m=b;f=b;b=j;d=(d|0)==(b|0)&f>>>0>>0|b>>>0>>0;f=w+d|0;if(f>>>0>>0){k=k+1|0}o=f;l=b;j=0;f=(t|0)==(r|0)&M>>>0>>0|r>>>0>>0;t=f+((t|0)==(L|0)&T>>>0>>0|t>>>0>>0)|0;if(t>>>0>>0){j=1}f=t+((c|0)==(r|0)&F>>>0>>0|c>>>0>>0)|0;d=c;c=d+m|0;l=f+l|0;l=c>>>0>>0?l+1|0:l;t=c;d=c;c=l;b=(b|0)==(c|0)&d>>>0>>0|c>>>0>>0;d=b+o|0;if(d>>>0>>0){k=k+1|0}b=c;j=k;k=d;f=0;d=(e|0)==(C|0)&E>>>0>>0|C>>>0>>0;e=d+((e|0)==(u|0)&D>>>0>>0|e>>>0>>0)|0;if(e>>>0>>0){f=1}d=e+t|0;l=b+f|0;l=d>>>0>>0?l+1|0:l;b=d;e=l;b=(c|0)==(e|0)&b>>>0>>0|e>>>0>>0;c=k+b|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;c:{if(c&65536){s=s+1|0;break c}m=g>>>31|0;j=c<<1|b>>>31;b=b<<1|e>>>31;c=j;j=e<<1|d>>>31;d=d<<1|i>>>31;e=j;k=v;j=g<<1|k>>>31;v=k<<1;g=j;k=i<<1|h>>>31;h=h<<1|m;i=k}if((s|0)>=32767){p=p|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0<=127){k=s+127|0;Fc(n+48|0,v,g,h,i,k);Fc(n+32|0,d,e,b,c,k);Uf(n+16|0,v,g,h,i,f);Uf(n,d,e,b,c,f);v=(q[n+48>>2]|q[n+56>>2])!=0|(q[n+52>>2]|q[n+60>>2])!=0|(q[n+32>>2]|q[n+16>>2]);g=q[n+36>>2]|q[n+20>>2];h=q[n+40>>2]|q[n+24>>2];i=q[n+44>>2]|q[n+28>>2];d=q[n>>2];e=q[n+4>>2];c=q[n+12>>2];b=q[n+8>>2];break d}b=0;c=0;break a}c=c&65535|s<<16}x=b|x;p=c|p;if(!(!h&(i|0)==-2147483648?!(g|v):(i|0)>-1?1:(i|0)>=-1?h>>>0<=4294967295?0:1:0)){l=p;m=e;b=d+1|0;if(b>>>0<1){m=m+1|0}c=m;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=d+x|0;if(e>>>0>>0){l=l+1|0}x=e;p=l;break a}if(h|v|(i^-2147483648|g)){b=d;c=e;break a}m=p;j=e;b=d&1;c=b+d|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=d+x|0;if(e>>>0>>0){m=m+1|0}x=e;p=m}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=x;q[a+12>>2]=p;Da=n+96|0}function Zj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0;h=Da-80|0;Da=h;q[h+76>>2]=b;C=h+55|0;z=h+56|0;b=0;a:{b:{c:while(1){d:{if((u|0)<0){break d}if((b|0)>(2147483647-u|0)){q[160942]=61;u=-1;break d}u=b+u|0}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{l=q[h+76>>2];b=l;k=r[b|0];if(k){while(1){r:{s:{i=k&255;t:{if(!i){k=b;break t}if((i|0)!=37){break s}k=b;while(1){if(r[b+1|0]!=37){break t}i=b+2|0;q[h+76>>2]=i;k=k+1|0;j=r[b+2|0];b=i;if((j|0)==37){continue}break}}b=k-l|0;if(a){yc(a,l,b)}if(b){continue c}x=-1;k=1;i=h;b=q[h+76>>2];if(!(r[b+2|0]!=36|o[q[h+76>>2]+1|0]+ -48>>>0>=10)){x=o[b+1|0]+ -48|0;A=1;k=3}b=k+b|0;q[i+76>>2]=b;k=0;y=o[b|0];j=y+ -32|0;u:{if(j>>>0>31){i=b;break u}i=b;j=1<>2]=i;k=j|k;y=o[b+1|0];j=y+ -32|0;if(j>>>0>31){break u}b=i;j=1<>>0>=10){break x}b=q[h+76>>2];if(r[b+2|0]!=36){break x}q[((o[b+1|0]<<2)+e|0)+ -192>>2]=10;t=q[((o[b+1|0]<<3)+d|0)+ -384>>2];A=1;b=b+3|0;break w}if(A){break b}A=0;t=0;if(a){b=q[c>>2];q[c>>2]=b+4;t=q[b>>2]}b=q[h+76>>2]+1|0}q[m+76>>2]=b;if((t|0)>-1){break v}t=0-t|0;k=k|8192;break v}t=vp(h+76|0);if((t|0)<0){break b}b=q[h+76>>2]}j=-1;y:{if(r[b|0]!=46){break y}if(r[b+1|0]==42){z:{if(o[b+2|0]+ -48>>>0>=10){break z}b=q[h+76>>2];if(r[b+3|0]!=36){break z}q[((o[b+2|0]<<2)+e|0)+ -192>>2]=10;j=q[((o[b+2|0]<<3)+d|0)+ -384>>2];b=b+4|0;q[h+76>>2]=b;break y}if(A){break b}if(a){b=q[c>>2];q[c>>2]=b+4;j=q[b>>2]}else{j=0}b=q[h+76>>2]+2|0;q[h+76>>2]=b;break y}q[h+76>>2]=b+1;j=vp(h+76|0);b=q[h+76>>2]}i=0;while(1){B=i;s=-1;if(o[b|0]+ -65>>>0>57){break a}y=b+1|0;q[h+76>>2]=y;i=o[b|0];b=y;i=r[(i+w(B,58)|0)+507407|0];if(i+ -1>>>0<8){continue}break}if(!i){break a}A:{B:{C:{if((i|0)==19){if((x|0)<=-1){break C}break a}if((x|0)<0){break B}q[(x<<2)+e>>2]=i;b=(x<<3)+d|0;i=q[b+4>>2];q[h+64>>2]=q[b>>2];q[h+68>>2]=i}b=0;if(!a){continue c}break A}if(!a){break e}up(h- -64|0,i,c,g);y=q[h+76>>2]}m=k&-65537;k=k&8192?m:k;s=0;x=507448;i=z;b=o[y+ -1|0];b=B?(b&15)==3?b&-33:b:b;y=b+ -88|0;if(y>>>0<=32){break r}D:{E:{F:{G:{m=b+ -65|0;if(m>>>0>6){if((b|0)!=83){break f}if(!j){break G}i=q[h+64>>2];break E}switch(m-1|0){case 1:break F;case 0:case 2:break f;default:break q}}b=0;Nc(a,32,t,0,k);break D}q[h+12>>2]=0;q[h+8>>2]=q[h+64>>2];q[h+64>>2]=h+8;j=-1;i=h+8|0}b=0;H:{while(1){l=q[i>>2];if(!l){break H}l=Oh(h+4|0,l);m=(l|0)<0;if(!(m|l>>>0>j-b>>>0)){i=i+4|0;b=b+l|0;if(j>>>0>b>>>0){continue}break H}break}s=-1;if(m){break a}}Nc(a,32,t,b,k);if(!b){b=0;break D}j=0;i=q[h+64>>2];while(1){l=q[i>>2];if(!l){break D}l=Oh(h+4|0,l);j=l+j|0;if((j|0)>(b|0)){break D}yc(a,h+4|0,l);i=i+4|0;if(j>>>0>>0){continue}break}}Nc(a,32,t,b,k^8192);b=(t|0)>(b|0)?t:b;continue c}i=b+1|0;q[h+76>>2]=i;k=r[b+1|0];b=i;continue}break}switch(y-1|0){case 28:break i;case 21:break j;case 23:break l;case 22:break m;case 11:case 16:break n;case 10:break o;case 26:break p;case 8:case 12:case 13:case 14:break q;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 15:case 17:case 18:case 19:case 20:case 24:case 25:case 27:case 29:case 30:break f;default:break k}}s=u;if(a){break a}if(!A){break e}b=1;while(1){a=q[(b<<2)+e>>2];if(a){up((b<<3)+d|0,a,c,g);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>9){break a}while(1){a=b;b=b+1|0;if(q[(b<<2)+e>>2]?0:(b|0)!=10){continue}break}s=a>>>0<9?-1:1;break a}b=n[f](a,v[h+64>>3],t,j,k,b)|0;continue}b=q[h+64>>2];l=b?b:507458;b=be(l,0,j);i=b?b:j+l|0;k=m;j=b?b-l|0:j;break f}o[h+55|0]=q[h+64>>2];j=1;l=C;k=m;break f}m=q[h+68>>2];b=m;l=q[h+64>>2];if((b|0)<-1?1:(b|0)<=-1?l>>>0>4294967295?0:1:0){b=0-(b+(0>>0)|0)|0;l=0-l|0;q[h+64>>2]=l;q[h+68>>2]=b;s=1;x=507448;break h}if(k&2048){s=1;x=507449;break h}s=k&1;x=s?507450:507448;break h}l=cH(q[h+64>>2],q[h+68>>2],z);if(!(k&8)){break g}b=z-l|0;j=(j|0)>(b|0)?j:b+1|0;break g}j=j>>>0>8?j:8;k=k|8;b=120}l=bH(q[h+64>>2],q[h+68>>2],z,b&32);if(!(k&8)|!(q[h+64>>2]|q[h+68>>2])){break g}x=(b>>>4|0)+507448|0;s=2;break g}b=0;i=B&255;if(i>>>0>7){continue}I:{switch(i-1|0){default:q[q[h+64>>2]>>2]=u;continue;case 0:q[q[h+64>>2]>>2]=u;continue;case 1:i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue;case 2:p[q[h+64>>2]>>1]=u;continue;case 3:o[q[h+64>>2]]=u;continue;case 5:q[q[h+64>>2]>>2]=u;continue;case 4:continue;case 6:break I}}i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue}l=q[h+64>>2];b=q[h+68>>2];x=507448}l=Vf(l,b,z)}k=(j|0)>-1?k&-65537:k;b=q[h+64>>2];m=q[h+68>>2];J:{if(!(!!(b|m)|j)){l=z;j=0;break J}b=!(b|m)+(z-l|0)|0;j=(j|0)>(b|0)?j:b}}m=i-l|0;j=(j|0)<(m|0)?m:j;i=j+s|0;b=(t|0)<(i|0)?i:t;Nc(a,32,b,i,k);yc(a,x,s);Nc(a,48,b,i,k^65536);Nc(a,48,j,m,0);yc(a,l,m);Nc(a,32,b,i,k^8192);continue}break}s=0;break a}s=-1}Da=h+80|0;return s}function Xk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-144|0;Da=e;j=eI(a,b);i=fI(a,b);k=i?b:0;a=i?i:b;if(j){b=Wa(a);f=b;d=Wa(j);h=d+b|0;l=Sa(h+1|0);b=Qa(l,a,b);Qa(f+b|0,j,d+1|0);o[b+h|0]=0;k=k?k:a;a=b}q[e+48>>2]=-1732584194;q[e+52>>2]=271733878;q[e+40>>2]=1732584193;q[e+44>>2]=-271733879;h=Wa(a);q[e+60>>2]=h>>>29;f=h<<3;q[e+56>>2]=f;d=e- -64|0;a:{if(h>>>0<64){b=a;break a}b=a;while(1){f=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);g=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=f;o[d+5|0]=f>>>8;o[d+6|0]=f>>>16;o[d+7|0]=f>>>24;f=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);g=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);o[d+56|0]=g;o[d+57|0]=g>>>8;o[d+58|0]=g>>>16;o[d+59|0]=g>>>24;o[d+60|0]=f;o[d+61|0]=f>>>8;o[d+62|0]=f>>>16;o[d+63|0]=f>>>24;f=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);g=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);o[d+48|0]=g;o[d+49|0]=g>>>8;o[d+50|0]=g>>>16;o[d+51|0]=g>>>24;o[d+52|0]=f;o[d+53|0]=f>>>8;o[d+54|0]=f>>>16;o[d+55|0]=f>>>24;f=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);g=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);o[d+40|0]=g;o[d+41|0]=g>>>8;o[d+42|0]=g>>>16;o[d+43|0]=g>>>24;o[d+44|0]=f;o[d+45|0]=f>>>8;o[d+46|0]=f>>>16;o[d+47|0]=f>>>24;f=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);g=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[d+32|0]=g;o[d+33|0]=g>>>8;o[d+34|0]=g>>>16;o[d+35|0]=g>>>24;o[d+36|0]=f;o[d+37|0]=f>>>8;o[d+38|0]=f>>>16;o[d+39|0]=f>>>24;f=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);g=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[d+24|0]=g;o[d+25|0]=g>>>8;o[d+26|0]=g>>>16;o[d+27|0]=g>>>24;o[d+28|0]=f;o[d+29|0]=f>>>8;o[d+30|0]=f>>>16;o[d+31|0]=f>>>24;f=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);g=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[d+16|0]=g;o[d+17|0]=g>>>8;o[d+18|0]=g>>>16;o[d+19|0]=g>>>24;o[d+20|0]=f;o[d+21|0]=f>>>8;o[d+22|0]=f>>>16;o[d+23|0]=f>>>24;f=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);g=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=f;o[d+13|0]=f>>>8;o[d+14|0]=f>>>16;o[d+15|0]=f>>>24;Wk(e+40|0,d);b=b- -64|0;h=h+ -64|0;if(h>>>0>63){continue}break}f=q[e+56>>2]}b=Qa(d,b,h);h=f>>>3&63;d=h+(e+40|0)|0;o[d+24|0]=128;d=d+25|0;h=h^63;b:{if(h>>>0<=7){Na(d,0,h);Wk(e+40|0,b);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;f=q[e+56>>2];break b}Na(d,0,h+ -8|0)}q[e+120>>2]=f;q[e+124>>2]=q[e+60>>2];Wk(e+40|0,b);b=q[e+52>>2];q[e+136>>2]=q[e+48>>2];q[e+140>>2]=b;b=q[e+44>>2];q[e+128>>2]=q[e+40>>2];q[e+132>>2]=b;Na(e+40|0,0,88);if(l){La(l)}o[c|0]=47;b=r[e+128|0];o[c+2|0]=r[(b&15)+441936|0];o[c+1|0]=r[(b>>>4|0)+441936|0];b=r[e+129|0];o[c+4|0]=r[(b&15)+441936|0];o[c+3|0]=r[(b>>>4|0)+441936|0];b=r[e+130|0];o[c+6|0]=r[(b&15)+441936|0];o[c+5|0]=r[(b>>>4|0)+441936|0];b=r[e+131|0];o[c+8|0]=r[(b&15)+441936|0];o[c+7|0]=r[(b>>>4|0)+441936|0];b=r[e+132|0];o[c+10|0]=r[(b&15)+441936|0];o[c+9|0]=r[(b>>>4|0)+441936|0];b=r[e+133|0];o[c+12|0]=r[(b&15)+441936|0];o[c+11|0]=r[(b>>>4|0)+441936|0];b=r[e+134|0];o[c+14|0]=r[(b&15)+441936|0];o[c+13|0]=r[(b>>>4|0)+441936|0];b=r[e+135|0];o[c+16|0]=r[(b&15)+441936|0];o[c+15|0]=r[(b>>>4|0)+441936|0];b=r[e+136|0];o[c+18|0]=r[(b&15)+441936|0];o[c+17|0]=r[(b>>>4|0)+441936|0];b=r[e+137|0];o[c+20|0]=r[(b&15)+441936|0];o[c+19|0]=r[(b>>>4|0)+441936|0];b=r[e+138|0];o[c+22|0]=r[(b&15)+441936|0];o[c+21|0]=r[(b>>>4|0)+441936|0];b=r[e+139|0];o[c+24|0]=r[(b&15)+441936|0];o[c+23|0]=r[(b>>>4|0)+441936|0];b=r[e+140|0];o[c+26|0]=r[(b&15)+441936|0];o[c+25|0]=r[(b>>>4|0)+441936|0];b=r[e+141|0];o[c+28|0]=r[(b&15)+441936|0];o[c+27|0]=r[(b>>>4|0)+441936|0];b=r[e+142|0];o[c+30|0]=r[(b&15)+441936|0];o[c+29|0]=r[(b>>>4|0)+441936|0];b=r[e+143|0];o[c+33|0]=0;o[c+32|0]=r[(b&15)+441936|0];o[c+31|0]=r[(b>>>4|0)+441936|0];b=Wa(c)+c|0;d=r[441636]|r[441637]<<8|(r[441638]<<16|r[441639]<<24);h=r[441632]|r[441633]<<8|(r[441634]<<16|r[441635]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=d;o[b+5|0]=d>>>8;o[b+6|0]=d>>>16;o[b+7|0]=d>>>24;d=r[441644]|r[441645]<<8|(r[441646]<<16|r[441647]<<24);h=r[441640]|r[441641]<<8|(r[441642]<<16|r[441643]<<24);o[b+8|0]=h;o[b+9|0]=h>>>8;o[b+10|0]=h>>>16;o[b+11|0]=h>>>24;o[b+12|0]=d;o[b+13|0]=d>>>8;o[b+14|0]=d>>>16;o[b+15|0]=d>>>24;if(r[643740]&16){q[e+24>>2]=j?j:441996;q[e+20>>2]=j?441999:441996;q[e+16>>2]=i?441997:441996;q[e>>2]=c;q[e+12>>2]=i?i:441996;q[e+8>>2]=i?441983:441996;q[e+4>>2]=k?k:a;Ua(441952,e)}if(i){La(i)}Da=e+144|0}function tg(a,b,c){var d=0,e=0,f=x(0);e=q[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((b|0)<=1986098018){if((b|0)==1751216995){break k}if((b|0)==1751413603){break j}if((b|0)!=1751934832){break d}d=e+68|0;b=Ke(d);if(o[(t[b+16>>2]<78?271312:q[b+12>>2])+63|0]>-1){break i}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break i}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+72|0]|r[b+73|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751934832,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(!(x(y(f))>2]<36?271312:q[d+12>>2];if(r[d|0]<<8|r[d+1|0]){break f}break b}l:{d=e+68|0;b=Ke(d);if(o[(t[b+16>>2]<78?271312:q[b+12>>2])+63|0]>-1){break l}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break l}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+68|0]|r[b+69|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751216995,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+4|0]|r[b+5|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751216995,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<78?271312:q[b+12>>2])+63|0]>-1){break m}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break m}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+70|0]|r[b+71|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751413603,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+24>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+6|0]|r[b+7|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751413603,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+24>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+8|0]|r[b+9|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751934832,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=Hf(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+4|0]|r[b+5|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986098019,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+20>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=Hf(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+6|0]|r[b+7|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986294627,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+20>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[b+12>>2];b=r[b+8|0]|r[b+9|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986815856,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+20>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));n:{if(x(y(f))>2]=a}return 1}I(241971,241973,86,241990);F()}q[c>>2]=~~f;return 1}return 0}q[c>>2]=-2147483648;return 1}function hT(a,b,c){var d=0,e=0,f=0;q[a>>2]=b;d=q[c+4>>2];q[a+4>>2]=q[c>>2];q[a+8>>2]=d;d=q[c+12>>2];q[a+12>>2]=q[c+8>>2];q[a+16>>2]=d;q[a+20>>2]=q[c+16>>2];cY(a+24|0,b,c);q[a+120>>2]=b;q[a+132>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;f=a;d=0;a:{if(!Tx(b)){break a}d=1;if((q[c>>2]&-2)==4){break a}d=!C$(b)}c=d;b=f;f=r[a+136|0]&-2|d;o[b+136|0]=f;b:{c:{d:{e:{f:{g:{h:{i:{j:{d=q[a+8>>2];k:{if((d|0)<=1298230883){if((d|0)<=1198877297){if((d|0)<=1130457964){if((d|0)<=1113943654){if((d|0)<=1098015073){if((d|0)==1097100397){break i}if((d|0)==1097363309){break c}b=236416;break b}if((d|0)==1098015074){break i}if((d|0)==1113681001|(d|0)==1113683051){break c}b=236416;break b}if((d|0)<=1114792295){if((d|0)==1113943655){break g}if((d|0)==1114139507){break c}b=236416;break b}if((d|0)==1114792296|(d|0)==1114990441|(d|0)==1114990692){break c}b=236416;break b}if((d|0)<=1164409199){if((d|0)<=1147500128){if((d|0)==1130457965|(d|0)==1130914157){break c}b=236416;break b}if((d|0)==1147500129){break g}if((d|0)==1148151666|(d|0)==1148547180){break c}b=236416;break b}e=d+ -1198485095|0;if(e>>>0<=6){break d}if((d|0)==1164409200|(d|0)==1198678382){break c}b=236416;break b}if((d|0)<=1265135465){if((d|0)<=1215131238){if((d|0)<=1214344806){if((d|0)==1198877298|(d|0)==1198879349){break g}b=236416;break b}e=d+ -1214344807|0;if(e>>>0>8){b=236416;if((d|0)!=1214603890){break b}b=236528;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break b;case 7:break c;default:break h}}if((d|0)<=1264675944){if((d|0)==1215131239|(d|0)==1247901281){break c}b=236416;break b}if((d|0)==1264675945|(d|0)==1265131890){break c}b=236416;if((d|0)!=1265134962){break b}b=240288;break b}if((d|0)<=1281453934){if((d|0)<=1265920104){if((d|0)==1265135466){break c}if((d|0)==1265525857){break g}b=236416;break b}if((d|0)==1265920105|(d|0)==1281453665){break c}b=236416;break b}if((d|0)<=1281977697){if((d|0)==1281453935){break k}if((d|0)==1281716323){break c}b=236416;break b}if((d|0)==1281977698|(d|0)==1298229354|(d|0)==1298230113){break c}b=236416;break b}if((d|0)<=1399415907){if((d|0)<=1315663726){if((d|0)<=1299148390){if((d|0)<=1298954604){e=d+ -1298230884|0;if(e>>>0>5){if((d|0)==1298231907){break c}b=236416;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:break b;default:break i}}if((d|0)==1298954605){break g}if((d|0)==1299145833){break c}b=236416;break b}if((d|0)<=1299803505){if((d|0)==1299148391){break i}if((d|0)==1299473769){break c}b=236416;break b}if((d|0)==1299803506){break f}if((d|0)==1315008100|(d|0)==1315272545){break c}b=236416;break b}if((d|0)<=1365336422){if((d|0)<=1349017958){if((d|0)==1315663727){break i}if((d|0)==1332902241){break g}b=236416;break b}if((d|0)==1349017959|(d|0)==1349020784){break i}b=236416;break b}if((d|0)<=1383032934){if((d|0)==1365336423){break e}if((d|0)==1382706791){break c}b=236416;break b}if((d|0)==1383032935){break i}if((d|0)==1398895986|(d|0)==1399353956){break c}b=236416;break b}if((d|0)<=1415670884){if((d|0)<=1400204899){if((d|0)<=1399809891){e=d+ -1399418468|0;if(e>>>0>4){if((d|0)==1399415908){break c}b=236416;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:break b;case 3:break g;default:break c}}if((d|0)==1399809892){break i}if((d|0)==1399814511){break c}b=236416;break b}if((d|0)<=1400468066){if((d|0)==1400204900|(d|0)==1400466543){break c}b=236416;break b}if((d|0)==1400468067){break i}if((d|0)==1415669602|(d|0)==1415670642){break c}b=236416;break b}if((d|0)<=1416064102){if((d|0)<=1415673459){if((d|0)==1415670885){break c}if((d|0)==1415671148){break g}b=236416;break b}if((d|0)==1415673460){break c}if((d|0)==1415933045){break g}if((d|0)==1415999079){break c}b=236416;break b}if((d|0)>1416192627){break j}if((d|0)==1416064103){break c}b=236416;if((d|0)!=1416126825){break b}}b=251084;break b}if((d|0)==1416192628|(d|0)==1416196712|(d|0)==1516334690){break c}b=236416;break b}if(!(q[a+48>>2]==1145457748?(d|0)!=1098015074:0)){b=251824;if((q[a+4>>2]&-2)==4){break b}}b=236416;break b}b=255308;break b}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}b=236416;if((d|0)==1818326126){break b}b=(d&255)==51?261360:264172;break b}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}if((d|0)==1818326126){b=236416;break b}b=236416;if((d|0)==1836674418){break b}b=267900;break b}b=267956;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break c}}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}b=236416;if((d|0)==1818326126){break b}b=261360}q[a+140>>2]=b;d=f&-3|(q[b+48>>2]!=0)<<1;o[a+136|0]=d;o[a+136|0]=d&251|r[b+52|0]<<2;if(!(c^1|(b|0)==236416)){q[a+140>>2]=236472}return a}function gX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Da-96|0;Da=d;a:{if(q[a+24>>2]==7){c=q[a+140>>2];q[d+88>>2]=q[a+136>>2];q[d+92>>2]=c;c=q[a+132>>2];q[d+80>>2]=q[a+128>>2];q[d+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}v[d+80>>3]=v[d+80>>3]+v[c>>3];c=q[d+92>>2];q[d+72>>2]=q[d+88>>2];q[d+76>>2]=c;c=q[d+84>>2];q[d+64>>2]=q[d+80>>2];q[d+68>>2]=c;if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break d}c=q[a+36>>2]+32|0}e:{if(!k){break e}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break e}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break e}q[c+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break f}e=q[a+36>>2]- -64|0}g:{if(!k){break g}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break g}i=q[e+24>>2];l=q[a+172>>2];g=v[e>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[(f<<2)+l>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=g;if(q[e+16>>2]<0){break g}q[e+20>>2]=0}v[d+64>>3]=v[d+64>>3]+v[c>>3];v[d+72>>3]=v[d+72>>3]+v[e>>3];c=q[d+76>>2];q[d+56>>2]=q[d+72>>2];q[d+60>>2]=c;c=q[d+68>>2];q[d+48>>2]=q[d+64>>2];q[d+52>>2]=c;if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break h}c=q[a+36>>2]+96|0}i:{if(!k){break i}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break i}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break i}q[c+20>>2]=0}v[d+48>>3]=v[d+48>>3]+v[c>>3];c=q[d+60>>2];q[d+40>>2]=q[d+56>>2];q[d+44>>2]=c;c=q[d+52>>2];q[d+32>>2]=q[d+48>>2];q[d+36>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=q[a+36>>2]+160|0}m:{if(!k){break m}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break m}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break m}q[c+20>>2]=0}g=v[c>>3];c=q[d+92>>2];e=q[d+88>>2];q[d+24>>2]=e;q[d+28>>2]=c;v[d+16>>3]=g+v[d+16>>3];q[d+8>>2]=e;q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break o}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}v[d>>3]=v[d>>3]+v[c>>3];pb(a,b,d+80|0,d- -64|0,d+48|0);pb(a,b,d+32|0,d+16|0,d);break a}o[a+40|0]=1}Da=d+96|0}function sn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0;m=Da-16|0;Da=m;i=8;a:{if(e>>>0>100){break a}b:{c:{d:{i=q[a+32>>2];if(!i){break d}j=q[a+40>>2];k=q[a+36>>2]+q[a+28>>2]|0;h=k;while(1){l=r[h+1|0]|r[h|0]<<8;if(!((r[h+3|0]|r[h+2|0]<<8)>>>0>=b>>>0?l>>>0<=b>>>0:0)){h=h+8|0;i=i+ -1|0;if(i){continue}break d}break}i=8;g=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(g>>>0>j-k>>>0){break a}h=g+k|0;g=h+8|0;if(g>>>0>j>>>0){break d}i=r[h|0]|r[h+1|0]<<8;i=((i<<24|i<<8&16711680)>>>16|0)+ -1|0;if(i>>>0>18){break d}k=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);u=r[h+2|0]|r[h+3|0]<<8;e:{f:{switch(i-1|0){default:g=g+(b-l<<2)|0;if(g+8>>>0>j>>>0){break d}b=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((b|0)!=(g|0)){break e}break d;case 0:if(g+12>>>0>j>>>0|g+9>>>0>j>>>0){break d}i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);h=q[a+12>>2];g=g+4|0;p[h>>1]=r[g|0];p[h+2>>1]=r[g+1|0];p[h+4>>1]=o[g+2|0];p[h+6>>1]=o[g+3|0];p[h+8>>1]=r[g+4|0];if(g+8>>>0>j>>>0){break d}p[h+10>>1]=o[g+5|0];p[h+12>>1]=o[g+6|0];p[h+14>>1]=r[g+7|0];o[a+16|0]=1;g=b-l|0;b=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);g=w(g,b);b=g+b|0;break e;case 1:g=g+(b-l<<1)|0;if(g+4>>>0>j>>>0){break d}b=r[g+3|0]|r[g+2|0]<<8;g=r[g+1|0]|r[g|0]<<8;if((b|0)!=(g|0)){break e}break d;case 2:h=g+4|0;if(h>>>0>j>>>0|h+4>>>0>j>>>0){break d}g=h+ -4|0;g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(g>>>0>(j-h>>2)+ -1>>>0|!g){break d}i=0;while(1){if((r[h+1|0]|r[h|0]<<8)==(b|0)){b=r[h+7|0]|r[h+6|0]<<8;g=r[h+3|0]|r[h+2|0]<<8;break e}h=h+4|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}break d;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:break d;case 3:case 17:break f}}if(g+16>>>0>j>>>0|g+9>>>0>j>>>0){break d}i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);h=q[a+12>>2];g=g+4|0;p[h>>1]=r[g|0];p[h+2>>1]=r[g+1|0];p[h+4>>1]=o[g+2|0];p[h+6>>1]=o[g+3|0];p[h+8>>1]=r[g+4|0];l=g+8|0;if(l>>>0>j>>>0){break d}p[h+10>>1]=o[g+5|0];p[h+12>>1]=o[g+6|0];p[h+14>>1]=r[g+7|0];o[a+16|0]=1;g=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=l+4|0;if(g>>>0>j-h>>1>>>0|!g){break d}j=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);i=0;while(1){if((r[h+1|0]|r[h|0]<<8)!=(b|0)){h=h+2|0;i=i+1|0;if((g|0)!=(i|0)){continue}break d}break}g=w(i,j);b=j+g|0}if(b>>>0>>0){break d}i=6;j=b-g|0;if(!j){break a}v=b;b=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);if(v+b>>>0>t[a+24>>2]){break a}x=q[a+4>>2];i=Xa(x,q[a+20>>2]+(b+g|0)|0);if(i){break a}i=Bc(x,j,m+12|0);if(i){break a}b=q[m+12>>2];g=b;h=(u<<8&16711680|u<<24)>>>16|0;g:{if(h>>>0>18){break g}i=1<>2];p[k>>1]=r[b|0];p[k+2>>1]=r[b+1|0];p[k+4>>1]=o[b+2|0];p[k+6>>1]=o[b+3|0];p[k+8>>1]=r[b+4|0];if((j|0)<8){break b}p[k+10>>1]=o[b+5|0];p[k+12>>1]=o[b+6|0];i=r[b+7|0];g=b+8|0;break h}i=6;if((j|0)<5){break b}k=q[a+12>>2];p[k>>1]=r[b|0];p[k+2>>1]=r[b+1|0];p[k+4>>1]=o[b+2|0];p[k+6>>1]=o[b+3|0];g=r[b+4|0];i=0;p[k+10>>1]=0;p[k+12>>1]=0;p[k+8>>1]=g;g=b+5|0}p[k+14>>1]=i;o[a+16|0]=1}k=h+ -1|0;if(k>>>0>18){break c}l=b+j|0;i=7;h=319;i:{j:{k:{l:{m:{switch(k-1|0){case 15:case 16:case 17:break b;case 7:break j;case 6:break k;case 3:break l;case 0:case 5:break m;case 1:case 2:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c;default:break i}}j=q[a+12>>2];b=s[j>>1];i=s[j+2>>1];j=w(b,i+7>>>3|0);if(w(b,i)+7>>>3>>>0>=j>>>0){break l}if((j|0)==(l-g|0)){break i}}h=320;break i}i=0;g=g+1|0;if(g>>>0>l>>>0){break b}}h=321}n:{o:{if(r[a+17|0]){break o}if(!r[a+16|0]){i=6;break b}j=q[a+12>>2];k=s[j+2>>1];b=q[a+8>>2];u=s[j>>1];q[b>>2]=u;q[b+4>>2]=k;i=3;j=r[a+18|0]+ -1|0;if(j>>>0>31){break b}v=b;p:{q:{r:{switch(j-1|0){default:o[b+18|0]=1;k=k+7>>>3|0;j=2;break p;case 0:o[b+18|0]=3;k=k+3>>>2|0;j=4;break p;case 2:o[b+18|0]=4;k=k+1>>>1|0;j=16;break p;case 6:o[b+18|0]=2;break q;case 1:case 3:case 4:case 5: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:break b;case 30:break r}}o[b+18|0]=7;k=k<<2}j=256}p[v+16>>1]=j;q[b+8>>2]=k;if(f){break o}b=w(k,u);if(!b){break o}i=_h(q[q[a>>2]+84>>2],b);if(i){break b}o[a+17|0]=1;break n}i=0;if(f){break b}}i=n[h](a,g,l,c,d,e)|0;break b}i=e?21:157;break a}i=8}zb(x,m+12|0)}Da=m+16|0;return i}function OD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;j=Da-16|0;Da=j;i=q[a+492>>2];g=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{c:{d:{e:{f:{d=q[b>>2];g:{if(d>>>0>=g>>>0){q[b+12>>2]=3;break g}h=r[d|0];if(!(h+ -48>>>0>9?(h|0)!=91:0)){c=q[b+16>>2];h:{if((h|0)==91){m=1;q[b>>2]=d+1;k=256;h=256;break h}k=n[q[b+36>>2]](b)|0;h=(k|0)<256?k:256}n[q[b+28>>2]](b);if(t[b>>2]>=g>>>0){break a}l=b+100|0;f=q[a+384>>2];i:{if(!f){break i}e=c;if(f){n[q[e+8>>2]](e,f)}q[a+384>>2]=0;e=q[a+388>>2];if(e){n[q[c+8>>2]](c,e)}q[a+388>>2]=0;e=q[b+148>>2];if(!e){break i}n[e](l)}q[a+372>>2]=h;q[b+96>>2]=h;p=a,s=Oa(c,2,0,h,0,j+12|0),q[p+384>>2]=s;e=q[j+12>>2];if(e){break f}p=a,s=Oa(c,4,0,h,0,j+12|0),q[p+388>>2]=s;e=q[j+12>>2];if(e){break f}e=n[q[q[i>>2]>>2]](l,h,c)|0;q[j+12>>2]=e;if(e){break f}if((h|0)>=1){c=0;while(1){n[q[b+144>>2]](l,c,7252,8)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>=g>>>0){break b}e=0;if(!m){while(1){j:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break j}k:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break j;case 6:break k;default:break c}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break j}i=r[c+3|0];if(i>>>0>125){break j}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break j;default:break b}}l:{if(f+ -48>>>0<=9){f=n[q[b+36>>2]](b)|0;n[q[b+28>>2]](b);d=q[b>>2];if((d|0)==(c|0)){break d}if((e|0)>=(k|0)|d+2>>>0>=g>>>0|r[d|0]!=47){break l}d=d+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){c=c-d|0;i=n[q[b+144>>2]](l,f,d,c+1|0)|0;q[b+12>>2]=i;if(i){break a}o[c+q[q[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break l}n[q[b+32>>2]](b);d=c;if(q[b+12>>2]){break a}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break b}}while(1){m:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break m}n:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break m;case 6:break n;default:break c}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break m}i=r[c+3|0];if(i>>>0>125){break m}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break m;default:break b}}if((e|0)>=(k|0)|c+2>>>0>=g>>>0|(f|0)!=47){break e}d=c+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){c=c-d|0;f=n[q[b+144>>2]](l,e,d,c+1|0)|0;q[b+12>>2]=f;if(f){break a}o[c+q[q[b+124>>2]+(e<<2)>>2]|0]=0}n[q[b+28>>2]](b);e=e+1|0;c=q[b>>2];if(c>>>0>>0){continue}break}break b}o:{if(d+17>>>0>=g>>>0){break o}if(Ra(d,9506,16)){break o}q[a+368>>2]=2;break g}p:{if(d+15>>>0>=g>>>0){break p}if(Ra(d,9523,14)){break p}q[a+368>>2]=4;break g}q:{if(d+18>>>0>=g>>>0){break q}if(Ra(d,9538,17)){break q}q[a+368>>2]=3;break g}q[b+12>>2]=162}Da=j+16|0;return}q[b+12>>2]=e;break a}q[b+12>>2]=2;break a}q[b+12>>2]=2;break a}d=c+1|0}q[a+368>>2]=1;q[b>>2]=d}Da=j+16|0}function WG(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=Da-432|0;Da=g;h=q[b+4>>2];a:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break a}i=vb(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=q[b+4>>2];if(h>>>0>=t[b+104>>2]){break d}q[b+4>>2]=h+1;i=r[h|0];break c}}else{h=q[b+4>>2];if(h>>>0>2]){z=1;q[b+4>>2]=h+1;i=r[h|0]}else{z=1;i=vb(b)}continue}break}i=vb(b)}y=1;if((i|0)!=48){break b}while(1){j=j+ -1|0;h=v+ -1|0;if(h>>>0<4294967295){j=j+1|0}v=h;h=q[b+4>>2];e:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break e}i=vb(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i+ -48|0;if(B>>>0<10){break h}if(A+ -97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;v=n;j=k;break g}i=(i|0)>57?A+ -87|0:B;i:{if((k|0)<0?1:(k|0)<=0?n>>>0>7?0:1:0){p=i+(p<<4)|0;break i}if((k|0)<0?1:(k|0)<=0?n>>>0>28?0:1:0){ad(g+48|0,i);Eb(g+32|0,w,x,o,h,0,0,0,1073414144);w=q[g+32>>2];x=q[g+36>>2];o=q[g+40>>2];h=q[g+44>>2];Eb(g+16|0,w,x,o,h,q[g+48>>2],q[g+52>>2],q[g+56>>2],q[g+60>>2]);Uc(g,l,m,s,u,q[g+16>>2],q[g+20>>2],q[g+24>>2],q[g+28>>2]);s=q[g+8>>2];u=q[g+12>>2];l=q[g>>2];m=q[g+4>>2];break i}if(!i|E){break i}Eb(g+80|0,w,x,o,h,0,0,0,1073610752);Uc(g- -64|0,l,m,s,u,q[g+80>>2],q[g+84>>2],q[g+88>>2],q[g+92>>2]);s=q[g+72>>2];u=q[g+76>>2];E=1;l=q[g+64>>2];m=q[g+68>>2]}n=n+1|0;if(n>>>0<1){k=k+1|0}z=1}i=q[b+4>>2];if(i>>>0>2]){q[b+4>>2]=i+1;i=r[i|0]}else{i=vb(b)}continue}break}j:{k:{l:{if(!z){if(!q[b+104>>2]){if(f){break k}break l}c=q[b+4>>2];q[b+4>>2]=c+ -1;if(!f){break l}q[b+4>>2]=c+ -2;if(!y){break k}q[b+4>>2]=c+ -3;break k}if((k|0)<0?1:(k|0)<=0?n>>>0>7?0:1:0){o=n;h=k;while(1){p=p<<4;i=o+1|0;if(i>>>0<1){h=h+1|0}o=i;if((i|0)!=8|h){continue}break}}m:{if((A|0)==112){o=np(b,f);i=Ea;h=i;if(o|(h|0)!=-2147483648){break m}if(f){o=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1;break m}l=0;m=0;xd(b,0,0);c=0;b=0;break j}o=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1}if(!p){ae(g+112|0,+(e|0)*0);l=q[g+112>>2];m=q[g+116>>2];c=q[g+120>>2];b=q[g+124>>2];break j}f=y?v:n;j=(y?j:k)<<2|f>>>30;b=o+(f<<2)|0;f=h+j|0;f=b>>>0>>0?f+1|0:f;b=b+ -32|0;h=f+ -1|0;h=b>>>0<4294967264?h+1|0:h;n=b;b=0-d|0;f=n>>>0<=b>>>0?0:1;k=h;b=b>>31;if((h|0)>(b|0)?1:(h|0)>=(b|0)?f:0){q[160942]=68;ad(g+160|0,e);Eb(g+144|0,q[g+160>>2],q[g+164>>2],q[g+168>>2],q[g+172>>2],-1,-1,-1,2147418111);Eb(g+128|0,q[g+144>>2],q[g+148>>2],q[g+152>>2],q[g+156>>2],-1,-1,-1,2147418111);l=q[g+128>>2];m=q[g+132>>2];c=q[g+136>>2];b=q[g+140>>2];break j}b=d+ -226|0;f=n>>>0>>0?0:1;b=b>>31;if((k|0)>(b|0)?1:(k|0)>=(b|0)?f:0){if((p|0)>-1){while(1){Uc(g+416|0,l,m,s,u,0,0,0,-1073807360);h=BG(l,m,s,u);f=(h|0)<0;b=f;Uc(g+400|0,l,m,s,u,b?l:q[g+416>>2],b?m:q[g+420>>2],b?s:q[g+424>>2],b?u:q[g+428>>2]);k=k+ -1|0;b=n+ -1|0;if(b>>>0<4294967295){k=k+1|0}n=b;s=q[g+408>>2];u=q[g+412>>2];l=q[g+400>>2];m=q[g+404>>2];p=p<<1|(h|0)>-1;if((p|0)>-1){continue}break}}b=d;o=(n-b|0)+32|0;j=k-((b>>31)+(n>>>0>>0)|0)|0;b=o;d=(b|0)>0?b:0;h=c;j=b>>>0<32?j+1|0:j;b=h>>31;c=((j|0)<(b|0)?1:(j|0)<=(b|0)?o>>>0>=h>>>0?0:1:0)?d:h;n:{if((c|0)>=113){ad(g+384|0,e);v=q[g+392>>2];j=q[g+396>>2];w=q[g+384>>2];x=q[g+388>>2];d=0;b=0;break n}ae(g+352|0,Kd(1,144-c|0));ad(g+336|0,e);w=q[g+336>>2];x=q[g+340>>2];v=q[g+344>>2];j=q[g+348>>2];qp(g+368|0,q[g+352>>2],q[g+356>>2],q[g+360>>2],q[g+364>>2],w,x,v,j);C=q[g+376>>2];D=q[g+380>>2];d=q[g+372>>2];b=q[g+368>>2]}c=!(p&1)&((tf(l,m,s,u,0,0,0,0)|0)!=0&(c|0)<32);Oe(g+320|0,c+p|0);Eb(g+304|0,w,x,v,j,q[g+320>>2],q[g+324>>2],q[g+328>>2],q[g+332>>2]);Uc(g+272|0,q[g+304>>2],q[g+308>>2],q[g+312>>2],q[g+316>>2],b,d,C,D);Eb(g+288|0,c?0:l,c?0:m,c?0:s,c?0:u,w,x,v,j);Uc(g+256|0,q[g+288>>2],q[g+292>>2],q[g+296>>2],q[g+300>>2],q[g+272>>2],q[g+276>>2],q[g+280>>2],q[g+284>>2]);Pj(g+240|0,q[g+256>>2],q[g+260>>2],q[g+264>>2],q[g+268>>2],b,d,C,D);e=q[g+240>>2];d=q[g+244>>2];c=q[g+248>>2];b=q[g+252>>2];if(!tf(e,d,c,b,0,0,0,0)){q[160942]=68}pp(g+224|0,e,d,c,b,n);l=q[g+224>>2];m=q[g+228>>2];c=q[g+232>>2];b=q[g+236>>2];break j}q[160942]=68;ad(g+208|0,e);Eb(g+192|0,q[g+208>>2],q[g+212>>2],q[g+216>>2],q[g+220>>2],0,0,0,65536);Eb(g+176|0,q[g+192>>2],q[g+196>>2],q[g+200>>2],q[g+204>>2],0,0,0,65536);l=q[g+176>>2];m=q[g+180>>2];c=q[g+184>>2];b=q[g+188>>2];break j}xd(b,0,0)}ae(g+96|0,+(e|0)*0);l=q[g+96>>2];m=q[g+100>>2];c=q[g+104>>2];b=q[g+108>>2]}q[a>>2]=l;q[a+4>>2]=m;q[a+8>>2]=c;q[a+12>>2]=b;Da=g+432|0}function aE(a,b,c,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:{d:{e:{if(b>>>0>45){break e}f=(e|0)>0?e:0;f:{g:{switch(b-1|0){default:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+437|0];break b;case 0:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}if(c>>>0>3){q[d>>2]=0;break c}h:{i:{switch(c-1|0){default:a=a+440|0;break h;case 0:a=a+444|0;break h;case 1:a=a+448|0;break h;case 2:break i}}a=a+452|0}q[d>>2]=q[a>>2];break c;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}if(c>>>0>3){q[d>>2]=0;break c}j:{k:{switch(c-1|0){default:a=a+464|0;break j;case 0:a=a+468|0;break j;case 1:a=a+472|0;break j;case 2:break k}}a=a+476|0}q[d>>2]=q[a>>2];break c;case 2:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+436|0];break b;case 3:a=q[a+364>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 4:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+168>>2];break c;case 5:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+420>>2];break c;case 6:if(t[a+420>>2]<=c>>>0){break e}a=q[q[a+424>>2]+(c<<2)>>2];c=Wa(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,a,b)+c|0,h=0,o[g|0]=h;break f;case 7:if(t[a+420>>2]<=c>>>0){break e}e=q[q[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,q[q[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,o[g|0]=h;break f;case 8:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+368>>2];break c;case 9:if(q[a+368>>2]!=1|t[a+372>>2]<=c>>>0){break e}c=q[q[a+388>>2]+(c<<2)>>2];a=Wa(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,c,a)+a|0,h=0,o[g|0]=h;break f;case 10:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+404>>2];break c;case 11:b=q[a+416>>2];l:{if(b){b=dc(c,b);if(!b){break e}c=q[b>>2];break l}if(t[a+404>>2]<=c>>>0){break e}}e=q[a+408>>2];if(!e){break e}a=q[q[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,q[e+(c<<2)>>2],a)+a|0,h=0,o[g|0]=h;break f;case 12:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+288>>1];break a;case 13:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+290>>1];break a;case 14:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+176|0];break b;case 15:if(r[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+180>>1];break a;case 23:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+276>>2];break c;case 16:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+284>>2];break c;case 24:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+280>>2];break c;case 17:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+177|0];break b;case 18:if(r[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+208>>1];break a;case 19:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+178|0];break b;case 20:if(r[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+228>>1];break a;case 21:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+179|0];break b;case 22:if(r[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+256>>1];break a;case 25:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+292|0];break b;case 26:if(r[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+296>>1];break a;case 27:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+293|0];break b;case 28:if(r[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+322>>1];break a;case 30:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+295|0];break b;case 29:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+294|0];break b;case 31:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+360>>1];break a;case 32:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+172>>2];break c;case 33:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+356>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+352>>2];break c;case 40:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+156|0];break b;case 41:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+158>>1];break a;case 42:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+160>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+164>>1];break a;case 35:a=q[a+132>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 36:a=q[a+136>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 37:a=q[a+140>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 38:a=q[a+144>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 44:break d;case 39:break g}}a=q[a+148>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+152>>2]}return b|0}return 1}return 2}function v$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0,x=0,y=0,z=0;p=Da-176|0;Da=p;f=Hd(p+24|0,0,d,e);q[f+100>>2]=431;h=q[a+56>>2];if(h){while(1){u=271312;u=h>>>0>y>>>0?q[a+60>>2]+(y<<3)|0:u;if(m>>>0>2]){while(1){g=p;if(t[a+32>>2]<=m>>>0){i=271312}else{i=q[a+36>>2]+(m<<3)|0}v=s[i>>1];q[g+16>>2]=v;if(jd(e,d,229085,p+16|0)){q[f+124>>2]=v;i=t[a+32>>2]<=m>>>0;if(i){g=271312}else{g=q[a+36>>2]+(m<<3)|0}h=q[g+4>>2];q[f+32>>2]=0;q[f+116>>2]=h;q[f+24>>2]=0;q[f+28>>2]=0;g=q[f+128>>2];q[f+8>>2]=g;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=r[f+142|0];q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=g;q[f+60>>2]=-1;o[f+57|0]=1;j=q[f+120>>2]==1;o[f+12|0]=j;k=j|r[f+141|0]!=0;o[f+56|0]=k;q[f+4>>2]=f;q[f+48>>2]=f;l=r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+12|0]=j;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;o[f+56|0]=k;q[f+52>>2]=g;l=l>>>1&1;o[f+142|0]=l;o[f+13|0]=l;q[f+4>>2]=f;q[f+48>>2]=f;k=r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=l;o[f+12|0]=j;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=g;g=k&1;o[f+141|0]=g;o[f+56|0]=g|j;q[f+4>>2]=f;q[f+48>>2]=f;if(r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0]&4){o[f+143|0]=1;rb(e,0,q[e+76>>2])}h=271312;g=q[b>>2];j=r[g+9|0]|r[g+8|0]<<8;g=j?g+j|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>v>>>0){i=g;g=g+(v<<1)|0;g=r[g+2|0]<<8|r[g+3|0];h=g?i+g|0:271312}j=q[f+96>>2];a:{if(!q[j+76>>2]){break a}g=q[f+116>>2];if(!g){break a}l=q[b+4>>2];k=r[h+3|0];i=k|r[h+2|0]<<8;if(k&16){k=i;i=(h+4|0)+(r[h+5|0]<<1|r[h+4|0]<<9)|0;i=k|r[i+2|0]<<24|r[i+3|0]<<16}l=l+w(v,24)|0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+32>>2]=0;q[f+128>>2]=i;q[f+24>>2]=0;q[f+28>>2]=0;q[f+8>>2]=i;q[f+76>>2]=0;q[f+16>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=i;o[f+13|0]=r[f+142|0];g=q[f+120>>2]==1;o[f+12|0]=g;o[f+56|0]=g|r[f+141|0]!=0;q[f+4>>2]=f;q[f+48>>2]=f;b:{g=r[h|0]|r[h+1|0]<<8;g=((g<<24|g<<8&16711680)>>>16|0)+ -7|0;c:{if(g>>>0>1){break c}if(!(g-1)){break b}g=r[h+5|0]|r[h+4|0]<<8?h+6|0:271312;g=r[g|0]<<8|r[g+1|0];g=g?g+h|0:271312;if((r[g|0]<<8|r[g+1|0])!=1){break c}if((r[g+3|0]|r[g+2|0]<<8)==8){break b}}if(q[j+4>>2]){q[j+80>>2]=0;o[j+69|0]=1;o[j+70|0]=0;q[j+92>>2]=q[j+88>>2]}q[j+72>>2]=0;h=q[f+96>>2];i=q[h+72>>2];if(i>>>0>=t[h+76>>2]){break a}z=0;while(1){if(r[h+68|0]){i=q[h+88>>2]+w(i,20)|0;g=q[i>>2];d:{e:{if(!(q[l>>2]>>>(g>>>4&31)&1)|!(q[l+4>>2]>>>(g&31)&1)|(!(q[l+8>>2]>>>(g>>>9&31)&1)|!(q[f+116>>2]&q[i+4>>2]))){break e}k=q[f+128>>2];i=s[i+12>>1];if(k&i&14){break e}if(i&8){if(!mf(f,g,i,k)){break e}}i=0;k=q[l+16>>2];if(!k){break e}while(1){g=k>>>0<=i>>>0?271312:q[l+20>>2]+w(i,20)|0;x=q[f+96>>2];x=q[q[x+88>>2]+w(q[x+72>>2],20)>>2];if(!(!(q[g+8>>2]>>>(x>>>4&31)&1)|!(q[g+12>>2]>>>(x&31)&1)|!(q[g+16>>2]>>>(x>>>9&31)&1))){if(n[q[g+4>>2]](q[g>>2],f)){z=1;break d}k=q[l+16>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}if(r[h+69|0]){f:{if(q[h+92>>2]==q[h+88>>2]){i=q[h+80>>2];if((i|0)==q[h+72>>2]){break f}}if(!Va(h,1,1)){break d}i=q[h+88>>2]+w(q[h+72>>2],20)|0;k=q[i+4>>2];g=q[h+92>>2]+w(q[h+80>>2],20)|0;q[g>>2]=q[i>>2];q[g+4>>2]=k;q[g+16>>2]=q[i+16>>2];k=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=k;i=q[h+80>>2]}q[h+80>>2]=i+1}q[h+72>>2]=q[h+72>>2]+1}i=q[h+72>>2];if(i>>>0>2]){continue}}break}if(!z){break a}Kc(j);break a}if(q[j+4>>2]){q[j+80>>2]=0;o[j+69|0]=0;o[j+70|0]=0;q[j+92>>2]=q[j+88>>2]}q[j+72>>2]=q[j+76>>2]+ -1;j=q[f+96>>2];h=q[j+72>>2];while(1){h=q[j+88>>2]+w(h,20)|0;g=q[h>>2];g:{if(!(q[l>>2]>>>(g>>>4&31)&1)|!(q[l+4>>2]>>>(g&31)&1)|(!(q[l+8>>2]>>>(g>>>9&31)&1)|!(q[f+116>>2]&q[h+4>>2]))){break g}i=q[f+128>>2];h=s[h+12>>1];if(i&h&14){break g}if(h&8){if(!mf(f,g,h,i)){break g}}h=0;k=q[l+16>>2];if(!k){break g}while(1){g=k>>>0<=h>>>0?271312:q[l+20>>2]+w(h,20)|0;i=q[f+96>>2];i=q[q[i+88>>2]+w(q[i+72>>2],20)>>2];if(!(!(q[g+8>>2]>>>(i>>>4&31)&1)|!(q[g+12>>2]>>>(i&31)&1)|!(q[g+16>>2]>>>(i>>>9&31)&1))){if(n[q[g+4>>2]](q[g>>2],f)){break g}k=q[l+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}h=q[j+72>>2]+ -1|0;q[j+72>>2]=h;if((h|0)>-1){continue}break}}q[p>>2]=v;jd(e,d,229101,p)}m=m+1|0;if(m>>>0>2]){continue}break}}if(q[u+4>>2]){if(q[e+4>>2]){q[e+80>>2]=0;o[e+69|0]=1;o[e+70|0]=0;q[e+92>>2]=q[e+88>>2]}n[q[u+4>>2]](c,d,e)}y=y+1|0;h=q[a+56>>2];if(y>>>0>>0){continue}break}}Da=p+176|0}function EA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-112|0;d=s[c+2>>1]+ -1|0;q[g+4>>2]=d;d=d+s[c+4>>1]|0;q[g+8>>2]=d;d=d+s[c+6>>1]|0;q[g+12>>2]=d;d=d+s[c+8>>1]|0;q[g+16>>2]=d;e=s[c+10>>1];q[g>>2]=17;q[g+20>>2]=d+e;e=(r[b+17|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=17;e=(r[b+16|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=16;e=(r[b+15|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=15;e=(r[b+14|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=14;e=(r[b+13|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=13;e=(r[b+12|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=12;e=(r[b+11|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=11;e=(r[b+10|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=10;e=(r[b+9|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=9;e=(r[b+8|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=8;e=(r[b+7|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=7;e=(r[b+6|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=6;e=(r[b+5|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=5;e=(r[b+4|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=4;e=(r[b+3|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=3;e=(r[b+2|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=2;e=(r[b+1|0]<<2)+g|0;d=q[e>>2];q[e>>2]=d+ -1;q[(g+32|0)+(d<<2)>>2]=1;d=(r[b|0]<<2)+g|0;b=q[d>>2];q[d>>2]=b+ -1;e=0;q[(g+32|0)+(b<<2)>>2]=0;a:{b:{c:{if(q[g>>2]){d=0;j=s[c+2>>1];if(j){e=j<<7;b=j;while(1){h=(r[k+153120|0]<<2)+a|0;f=q[(g+32|0)+(d<<2)>>2]<<16|1;p[h+112>>1]=f;p[h+114>>1]=f>>>16;p[h+120>>1]=f;p[h+122>>1]=f>>>16;p[h+104>>1]=f;p[h+106>>1]=f>>>16;p[h+96>>1]=f;p[h+98>>1]=f>>>16;p[h+88>>1]=f;p[h+90>>1]=f>>>16;p[h+80>>1]=f;p[h+82>>1]=f>>>16;p[h+72>>1]=f;p[h+74>>1]=f>>>16;p[h+64>>1]=f;p[h+66>>1]=f>>>16;p[h+56>>1]=f;p[h+58>>1]=f>>>16;p[h+48>>1]=f;p[h+50>>1]=f>>>16;p[h+40>>1]=f;p[h+42>>1]=f>>>16;p[h+32>>1]=f;p[h+34>>1]=f>>>16;p[h+24>>1]=f;p[h+26>>1]=f>>>16;p[h+16>>1]=f;p[h+18>>1]=f>>>16;p[h+8>>1]=f;p[h+10>>1]=f>>>16;p[h>>1]=f;p[h+2>>1]=f>>>16;k=k+128|0;d=d+1|0;b=b+ -1|0;if(b){continue}break}d=j}h=s[c+4>>1];if(h){break c}k=e;break b}b=q[g+32>>2]<<16;p[a+124>>1]=b;p[a+126>>1]=b>>>16;p[a+120>>1]=b;p[a+122>>1]=b>>>16;p[a+116>>1]=b;p[a+118>>1]=b>>>16;p[a+112>>1]=b;p[a+114>>1]=b>>>16;p[a+108>>1]=b;p[a+110>>1]=b>>>16;p[a+104>>1]=b;p[a+106>>1]=b>>>16;p[a+100>>1]=b;p[a+102>>1]=b>>>16;p[a+96>>1]=b;p[a+98>>1]=b>>>16;p[a+92>>1]=b;p[a+94>>1]=b>>>16;p[a+88>>1]=b;p[a+90>>1]=b>>>16;p[a+84>>1]=b;p[a+86>>1]=b>>>16;p[a+80>>1]=b;p[a+82>>1]=b>>>16;p[a+76>>1]=b;p[a+78>>1]=b>>>16;p[a+72>>1]=b;p[a+74>>1]=b>>>16;p[a+68>>1]=b;p[a+70>>1]=b>>>16;p[a+64>>1]=b;p[a+66>>1]=b>>>16;p[a+60>>1]=b;p[a+62>>1]=b>>>16;p[a+56>>1]=b;p[a+58>>1]=b>>>16;p[a+52>>1]=b;p[a+54>>1]=b>>>16;p[a+48>>1]=b;p[a+50>>1]=b>>>16;p[a+44>>1]=b;p[a+46>>1]=b>>>16;p[a+40>>1]=b;p[a+42>>1]=b>>>16;p[a+36>>1]=b;p[a+38>>1]=b>>>16;p[a+32>>1]=b;p[a+34>>1]=b>>>16;p[a+28>>1]=b;p[a+30>>1]=b>>>16;p[a+24>>1]=b;p[a+26>>1]=b>>>16;p[a+20>>1]=b;p[a+22>>1]=b>>>16;p[a+16>>1]=b;p[a+18>>1]=b>>>16;p[a+12>>1]=b;p[a+14>>1]=b>>>16;p[a+8>>1]=b;p[a+10>>1]=b>>>16;p[a+4>>1]=b;p[a+6>>1]=b>>>16;p[a>>1]=b;p[a+2>>1]=b>>>16;break a}k=(h<<6)+e|0;j=h;b=d;while(1){f=(r[e+153120|0]<<2)+a|0;i=q[(g+32|0)+(b<<2)>>2]<<16|2;p[f+96>>1]=i;p[f+98>>1]=i>>>16;p[f+112>>1]=i;p[f+114>>1]=i>>>16;p[f+80>>1]=i;p[f+82>>1]=i>>>16;p[f+64>>1]=i;p[f+66>>1]=i>>>16;p[f+48>>1]=i;p[f+50>>1]=i>>>16;p[f+32>>1]=i;p[f+34>>1]=i>>>16;p[f+16>>1]=i;p[f+18>>1]=i>>>16;p[f>>1]=i;p[f+2>>1]=i>>>16;e=e- -64|0;b=b+1|0;j=j+ -1|0;if(j){continue}break}d=d+h|0}h=s[c+6>>1];d:{if(!h){e=k;break d}e=(h<<5)+k|0;j=h;b=d;while(1){f=(r[k+153120|0]<<2)+a|0;i=q[(g+32|0)+(b<<2)>>2]<<16|3;p[f+64>>1]=i;p[f+66>>1]=i>>>16;p[f+96>>1]=i;p[f+98>>1]=i>>>16;p[f+32>>1]=i;p[f+34>>1]=i>>>16;p[f>>1]=i;p[f+2>>1]=i>>>16;k=k+32|0;b=b+1|0;j=j+ -1|0;if(j){continue}break}d=d+h|0}h=s[c+8>>1];e:{if(!h){b=e;break e}b=(h<<4)+e|0;k=h;j=d;while(1){f=(r[e+153120|0]<<2)+a|0;i=q[(g+32|0)+(j<<2)>>2]<<16|4;p[f>>1]=i;p[f+2>>1]=i>>>16;p[f+64>>1]=i;p[f+66>>1]=i>>>16;e=e+16|0;j=j+1|0;k=k+ -1|0;if(k){continue}break}d=d+h|0}j=s[c+10>>1];if(!j){break a}while(1){c=(r[b+153120|0]<<2)+a|0;e=q[(g+32|0)+(d<<2)>>2]<<16|5;p[c>>1]=e;p[c+2>>1]=e>>>16;b=b+8|0;d=d+1|0;j=j+ -1|0;if(j){continue}break}}}function MD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=Da-16|0;Da=d;k=q[b+16>>2];l=q[b+8>>2];e=q[b>>2];p=q[a+492>>2];a:{b:{c=n[q[b+36>>2]](b)|0;if((c|0)<=-1){break b}e=l-e>>3;e=(c|0)>(e|0)?e:c;if(q[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;c:{if(!q[b+152>>2]){f=e+6|0;c=n[q[q[p>>2]>>2]](j,f,k)|0;q[d+12>>2]=c;if(c){break c}c=n[q[q[p>>2]>>2]](m,f,k)|0;q[d+12>>2]=c;if(c){break c}c=n[q[q[p>>2]>>2]](i,4,k)|0;q[d+12>>2]=c;if(c){break c}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>=l>>>0){break b}x=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}e=r[c+3|0];if(e>>>0>125){break g}h:{switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break g;default:break h}}e=r[c|0]+ -100|0;if(e>>>0>1){break g}if(e-1){if(!g|r[c+1|0]!=101|r[c+2|0]!=102){break g}break e}if(r[c+1|0]!=110){break g}if(r[c+2|0]==100){break f}}n[q[b+32>>2]](b);h=q[b>>2];if(h>>>0>=l>>>0){break b}if(q[b+12>>2]){break a}i:{if(r[c|0]!=47){break i}if(c+2>>>0>=l>>>0){q[d+12>>2]=3;break d}s=q[q[a+128>>2]+52>>2];f=q[b+8>>2];n[q[b+28>>2]](b);j:{e=q[b>>2];k:{if(e>>>0>=f>>>0|r[e|0]+ -48>>>0>9){break k}e=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((e|0)<0){break k}u=f;v=q[b>>2];f=v+1|0;if((e|0)<(u-f|0)){break j}}if(s){break a}q[b+12>>2]=3;break a}q[b>>2]=(e+v|0)+1;if(q[b+12>>2]){break a}if(q[b+152>>2]){break i}c=c+1|0;h=h-c|0;s=n[q[b+200>>2]](m,g,c,h+1|0)|0;q[d+12>>2]=s;if(s){break d}u=h;h=g<<2;o[u+q[h+q[b+180>>2]>>2]|0]=0;if(r[c|0]==46){c=Ta(7252,q[h+q[b+180>>2]>>2]);w=c?w:1;t=c?t:g}l:{m:{if((g|0)>=(x|0)){break m}c=q[a+172>>2];if((c|0)<0){break m}if(e>>>0<=c>>>0){q[d+12>>2]=3;break d}c=gb(k,e,d+12|0);if(q[d+12>>2]){break d}c=Qa(c,f,e);n[q[p+16>>2]](c,e,4330);f=q[a+172>>2];y=d,z=n[q[b+252>>2]](j,g,f+c|0,e-f|0)|0,q[y+12>>2]=z;if(c){n[q[k+8>>2]](k,c)}c=q[d+12>>2];break l}c=n[q[b+252>>2]](j,g,f,e)|0;q[d+12>>2]=c}if(c){break d}g=g+1|0}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}}break}if(!g){break b}}q[b+152>>2]=g;if(w&255){a=q[q[b+180>>2]>>2];if(!Ta(7252,a)){break a}c=n[q[b+304>>2]](i,0,a,q[q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,1,q[q[b+232>>2]>>2],q[q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}a=t<<2;c=n[q[b+304>>2]](i,2,q[a+q[b+180>>2]>>2],q[a+q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,3,q[a+q[b+232>>2]>>2],q[a+q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,t,q[q[b+284>>2]>>2],q[q[b+288>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,t,q[q[b+284>>2]+4>>2],q[q[b+288>>2]+4>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,0,q[q[b+284>>2]+8>>2],q[q[b+288>>2]+8>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,0,q[q[b+284>>2]+12>>2],q[q[b+288>>2]+12>>2])|0;q[d+12>>2]=c;if(c){break c}break a}o[d+8|0]=r[9568];q[d+4>>2]=r[9564]|r[9565]<<8|(r[9566]<<16|r[9567]<<24);c=n[q[b+304>>2]](i,0,q[q[b+180>>2]>>2],q[q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,1,q[q[b+232>>2]>>2],q[q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,0,7252,8)|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,0,d+4|0,5)|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,g,q[q[b+284>>2]>>2],q[q[b+288>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,g,q[q[b+284>>2]+4>>2],q[q[b+288>>2]+4>>2])|0;q[d+12>>2]=c;if(c){break c}q[b+152>>2]=q[b+152>>2]+1;break a}c=q[d+12>>2]}q[b+12>>2]=c;break a}q[d+12>>2]=3;q[b+12>>2]=3}Da=d+16|0}function HT(a,b,c){a=a|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,u=0,v=0;g=Da-32|0;Da=g;f=q[a+112>>2];d=q[f>>2];a:{if(q[d+12>>2]!=1){break a}h=q[f+8>>2];q[g+8>>2]=h;if((h|0)==-1){e=f;b:{c:{h=q[d+8>>2];if(!h){break c}q[g+8>>2]=0;d=h;h=q[b+72>>2];if(!n[q[h+156>>2]](b,q[b+76>>2],d,g+8|0,q[h+20>>2])){break c}h=q[g+8>>2];break b}q[g+8>>2]=0;h=0}q[e+8>>2]=h}if(!h){break a}l=q[c+76>>2];if(!l){break a}k=q[c+88>>2];m=q[b+16>>2];v=g+12|0;while(1){u=k+w(j,20)|0;if(r[u+19|0]==4){e=q[u>>2];q[g+16>>2]=h;q[g+12>>2]=e;q[g+8>>2]=h;d=0;d:{e:{if(!q[f+40>>2]){break e}while(1){i=8;if(sd(m,s[q[f+36>>2]+(d<<3)>>1],g+8|0,2,r[f+44|0])){break d}d=d+1|0;e=q[f+40>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break e}while(1){if(sd(m,s[q[f+36>>2]+(d<<3)>>1],v,2,r[f+44|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;f:{if(!q[f+64>>2]){break f}while(1){i=8;if(sd(m,s[q[f+60>>2]+(d<<3)>>1],g+8|0,2,r[f+68|0])){break d}d=d+1|0;e=q[f+64>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break f}while(1){if(sd(m,s[q[f+60>>2]+(d<<3)>>1],v,2,r[f+68|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;g:{if(!q[f+52>>2]){break g}while(1){i=11;if(sd(m,s[q[f+48>>2]+(d<<3)>>1],g+8|0,2,r[f+56|0])){break d}d=d+1|0;e=q[f+52>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break g}while(1){if(sd(m,s[q[f+48>>2]+(d<<3)>>1],v,2,r[f+56|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!q[f+28>>2]){break d}h:{while(1){if(sd(m,s[q[f+24>>2]+(d<<3)>>1],g+8|0,2,r[f+32|0])){break h}d=d+1|0;e=q[f+28>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break d}while(1){if(sd(m,s[q[f+24>>2]+(d<<3)>>1],v,2,r[f+32|0])){break h}d=d+1|0;if(d>>>0>2]){continue}break}break d}i=11}o[u+19|0]=i}j=j+1|0;if((l|0)!=(j|0)){continue}break}}i:{if(r[c+16|0]&16){break i}d=q[c+76>>2];if(!d){break i}h=q[c+88>>2];e=0;while(1){if((r[(h+w(e,20)|0)+15|0]&15)!=4){e=e+1|0;if((d|0)!=(e|0)){continue}break i}break}q[g+28>>2]=0;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],9676,g+28|0,q[e+20>>2])){break i}q[g+20>>2]=0;q[g+24>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+8>>2]=9676;Gt(g+8|0);u=q[g+28>>2];q[g+8>>2]=u;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;i=q[c+76>>2];j:{if(!i){break j}l=q[g+24>>2];e=0;h=0;while(1){if(!r[c+68|0]){break j}d=q[c+88>>2];j=d+w(e,20)|0;f=r[j+15|0];k:{if(!((f|0)==(h|0)|(f&15)!=4)){p[g+4>>1]=s[g+20>>1];o[g+6|0]=r[g+22|0];k=q[j+4>>2];h=q[j+8>>2];l:{if(e>>>0>=i>>>0){break l}while(1){if(r[(w(e,20)+d|0)+18|0]!=15){break l}m:{if(r[c+69|0]){n:{if(q[c+92>>2]==(d|0)){d=e;if((d|0)==q[c+80>>2]){break n}}if(!Va(c,1,1)){e=q[c+72>>2];break m}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];j=q[c+92>>2]+w(q[c+80>>2],20)|0;q[j>>2]=q[d>>2];q[j+4>>2]=e;q[j+16>>2]=q[d+16>>2];e=q[d+12>>2];q[j+8>>2]=q[d+8>>2];q[j+12>>2]=e;e=q[c+72>>2];d=q[c+80>>2]}q[c+80>>2]=d+1}e=e+1|0;q[c+72>>2]=e}if(!r[c+68|0]|e>>>0>=t[c+76>>2]){break l}d=q[c+88>>2];if((f|0)==r[(d+w(e,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e+8>>2]=h;q[e+4>>2]=k;q[e>>2]=u;p[e+12>>1]=s[g+4>>1];o[e+14|0]=r[g+6|0];q[e+16>>2]=l;o[e+15|0]=f;q[c+80>>2]=q[c+80>>2]+1}h=f;break k}if(r[c+69|0]){o:{if(q[c+92>>2]==(d|0)){d=e;if((d|0)==q[c+80>>2]){break o}}if(!Va(c,1,1)){break k}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;q[f>>2]=q[d>>2];q[f+4>>2]=e;q[f+16>>2]=q[d+16>>2];e=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=e;e=q[c+72>>2];d=q[c+80>>2]}q[c+80>>2]=d+1}q[c+72>>2]=e+1}e=q[c+72>>2];i=q[c+76>>2];if(e>>>0>>0){continue}break}}Kc(c)}f=q[c+76>>2];if(f){k=f+ -1|0;e=0;d=q[c+88>>2];h=r[d+15|0];while(1){p:{if((e|0)==(k|0)){e=f;break p}e=e+1|0;if((h|0)==r[(d+w(e,20)|0)+15|0]){continue}}break}i=q[c+88>>2];l=r[i+15|0];d=0;while(1){h=e;k=l&15;q:{if(k>>>0>4){break q}e=q[b+16>>2];r:{s:{switch(k-2|0){case 1:break q;case 0:case 2:break s;default:break r}}if(!r[q[a+112>>2]+5|0]){break r}if(r[(w(h,20)+i|0)+ -2|0]==12){break q}}AT(a,e,c,d,h)}k=q[c+76>>2];e=h+1|0;d=k>>>0>e>>>0?k:e;i=q[c+88>>2];l=r[(i+w(h,20)|0)+15|0];e=h;while(1){t:{e=e+1|0;if(e>>>0>=k>>>0){e=d;break t}if(r[(w(e,20)+i|0)+15|0]==(l|0)){continue}}break}d=h;if(d>>>0>>0){continue}break}}Da=g+32|0}function Sh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Da-16|0;Da=j;q[j+12>>2]=0;q[j+8>>2]=0;g=6;a:{if(!b|!d&(c|0)>-1){break a}k=r[b|0]&2?q[b+16>>2]!=0:k;q[j+12>>2]=0;b:{if(!a){g=33;break b}h=q[a>>2];f=n[q[h+4>>2]](h,40)|0;c:{if(!f){g=64;break c}o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;q[f+28>>2]=h;d:{e:{f:{g:{i=q[b>>2];if(i&1){i=q[b+4>>2];g=q[b+8>>2];q[f+32>>2]=0;q[f+8>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f>>2]=i;q[f+4>>2]=g;break g}h:{if(!(i&4)){if(!(i&2)|!q[b+16>>2]){break h}n[q[h+8>>2]](h,f);f=q[b+16>>2];break g}g=Vd(f,q[b+12>>2]);q[f+16>>2]=q[b+12>>2];if(!g){break g}}n[q[h+8>>2]](h,f);q[j+12>>2]=0;i=0;break f}q[f+28>>2]=h;q[j+12>>2]=f;m=q[a>>2];i:{j:{l=q[b>>2];if(!(l&8)){break j}i=q[b+20>>2];if(!i){break j}g=32;if(o[q[i>>2]]&1){f=0;a=i;g=j+12|0;e=k;h=c;if(l&16){f=q[b+28>>2];b=q[b+24>>2]}else{b=0}g=ck(a,g,e,h,b,f,j+8|0);if(!g){break i}f=q[j+12>>2]}if(!f){break b}a=q[f+28>>2];b=q[f+24>>2];if(b){n[b](f)}if(k){break b}n[q[a+8>>2]](a,f);break b}i=q[a+16>>2];if((i|0)<1){g=11;i=0;break c}f=a+20|0;l=f+(i<<2)|0;g=11;h=0;if(!e){while(1){i=q[f>>2];if(o[q[i>>2]]&1){g=0;h=0;if(r[b|0]&16){g=q[b+24>>2];h=q[b+28>>2]}g=ck(i,j+12|0,k,c,g,h,j+8|0);if(!g){break i}if((g&255)!=2){break f}h=i}f=f+4|0;if(f>>>0>>0){continue}break}i=h;break f}k:{while(1){i=q[f>>2];if(o[q[i>>2]]&1){g=0;h=0;if(r[b|0]&16){g=q[b+24>>2];h=q[b+28>>2]}g=ck(i,j+12|0,k,c,g,h,j+8|0);if(!g){break i}h=g&255;if(!(Ta(q[q[q[f>>2]>>2]+8>>2],4112)|(h|0)!=142)){h=q[j+12>>2];g=q[h+20>>2];if(g){if(n[g](h,0,0,0)){break e}}q[h+8>>2]=0;g=Ep(a,h,c,d);if(!g){break k}h=g&255}if((h|0)!=2){break f}h=i}f=f+4|0;if(f>>>0>>0){continue}break}i=h;break f}a=q[h+28>>2];b=q[h+24>>2];if(b){n[b](h)}g=0;if(k){break a}n[q[a+8>>2]](a,h);break a}b=n[q[m+4>>2]](m,12)|0;if(!b){g=64;break b}a=q[j+8>>2];q[b+8>>2]=a;e=q[a+96>>2];i=q[e+20>>2];q[b>>2]=i;q[b+4>>2]=0;q[(i?i+4|0:e+16|0)>>2]=b;q[e+20>>2]=b;l:{if((c|0)>=0){g=jk(a,0);if(g){break l}g=Ap(a,j+4|0);if(g){break l}q[a+88>>2]=q[j+4>>2]}b=q[a+8>>2];m:{if(!(b&1)){break m}g=p[a+74>>1];if((g|0)<=-1){g=0-g|0;p[a+74>>1]=g}if(b&32){break m}p[a+78>>1]=g}n:{if(!(b&2)){break n}c=q[a+28>>2];if((c|0)<1){break n}e=q[a+32>>2];g=0;while(1){b=e+(g<<4)|0;i=p[b>>1];if((i|0)<=-1){i=0-i|0;p[b>>1]=i}h=q[b+8>>2];if((h|0)<=-1){q[b+8>>2]=0-h}h=q[b+12>>2];if((h|0)<=-1){q[b+12>>2]=0-h}if(i<<16>>16<=-1){q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}g=g+1|0;if((c|0)!=(g|0)){continue}break}}b=q[a+128>>2];q[b+64>>2]=1;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=65536;q[b>>2]=65536;q[b+4>>2]=0;o[b+56|0]=255;if(d){q[d>>2]=a;g=0;break a}c=q[a+96>>2];if(!c){g=0;break a}g=0;q[b+64>>2]=0;b=q[c+16>>2];if(!b){break a}i=c+16|0;d=q[c+8>>2];while(1){if((a|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break a}break}e=q[b>>2];h=e?e+4|0:i;i=q[b+4>>2];q[h>>2]=i;q[(i?i:c+20|0)>>2]=e;n[q[d+8>>2]](d,b);vf(d,a,c);break a}if(!a){break a}c=q[a+96>>2];if(!c){break a}d=q[a+128>>2];b=q[d+64>>2];q[d+64>>2]=b+ -1;if((b|0)>1){break a}b=q[c+16>>2];if(!b){break a}i=c+16|0;d=q[c+8>>2];while(1){if((a|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break a}break}e=q[b>>2];h=e?e+4|0:i;i=q[b+4>>2];q[h>>2]=i;q[(i?i:c+20|0)>>2]=e;n[q[d+8>>2]](d,b);vf(d,a,c);break a}o:{h=g&255;f=h+ -81|0;if(f>>>0>4){if((h|0)!=2){break c}break o}switch(f-1|0){case 0:case 1:case 2:break c;default:break o}}if(!e){break d}h=q[j+12>>2]}g=dH(a,h,c,d);if((g&255)==2){g=Xj(a,h,0,c,d)}e=g&255;if(!(((e|0)!=2?(e|0)!=85:0)|!(r[b|0]&4))){g=XG(a,h,c,d,b)}if(g){break d}g=0;if(!h){break a}a=q[h+28>>2];b=q[h+24>>2];if(b){n[b](h)}if(k){break a}n[q[a+8>>2]](a,h);break a}g=(g&255)==2?2:g}a=q[j+12>>2];if(!a){break b}b=q[a+28>>2];c=q[a+24>>2];if(c){n[c](a)}if(k){break b}n[q[b+8>>2]](b,a)}a=q[j+8>>2];if(!a){break a}vf(m,a,i)}Da=j+16|0;return g}function co(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0;q[a+12>>2]=b;q[a+4>>2]=b;q[a+20>>2]=q[a+16>>2];q[a+8>>2]=c;m=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}e=q[a+20>>2];i=e-q[a+16>>2]|0;f=i>>2;h=q[a+24>>2];g=r[b|0];c:{d:{if(!((g|0)==31|(g+ -27&255)>>>0>227)){d=4;if(f>>>0>=h>>>0){break c}q[a+20>>2]=e+4;q[e>>2]=b;d=g+ -28|0;if(d>>>0<=2){e:{switch(d-1|0){case 1:while(1){b=b+1|0;d=7;if(b>>>0>=c>>>0){break c}d=r[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;default:b=b+2|0;break d;case 0:break e}}b=b+4|0;break d}b=g>>>0>246?b+1|0:b;break d}d=4;if(f>>>0>=h>>>0){break c}q[e>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(b>>>0>=c>>>0){break c}g=r[b|0]|256}h=10704;e=4;d=q[a+28>>2]|g;f:{if((d|0)!=4096){while(1){e=q[h+28>>2];if(!e){break f}g=q[h+32>>2];h=h+28|0;if((d|0)!=(g|0)){continue}break}}g=q[h+8>>2];j=q[a+32>>2];if(!i){d=12;if((e|0)!=6){break c}}g:{h:{i:{d=e+ -1|0;if(d>>>0<=5){i=g+j|0;j:{switch(d-1|0){default:k:{d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)!=255){if((f|0)!=30){break k}e=sc(a,d,0,0)>>16;break h}e=((r[d+3|0]|(r[d+2|0]<<8|r[d+1|0]<<16))<<8)+32768>>16;break h}g=d+1|0;e=f+ -28|0;if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break h}e=(r[d+2|0]|r[g|0]<<8)<<16>>16;break h}e=0;if(t[a+8>>2]<=d+4>>>0){break h}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break h}e=f+ -139|0;if(f>>>0<=246){break h}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break h}e=(r[g|0]|f<<8)+ -63124|0;break h}e=0;if(d>>>0<=g>>>0){break h}e=64148-(r[g|0]|f<<8)|0;break h;case 0:d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)==30){e=sc(a,d,0,0);break h}g=d+1|0;e=f+ -28|0;l:{m:{if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break i}d=(r[d+2|0]|r[g|0]<<8)<<16>>16;break l}e=0;if(t[a+8>>2]<=d+4>>>0){break i}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break m}if(f>>>0<=246){e=f+ -139|0;break i}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break i}d=(r[g|0]|f<<8)+ -63124|0;break m}e=0;if(d>>>0<=g>>>0){break i}d=64148-(r[g|0]|f<<8)|0}e=2147483647;if((d|0)>32767){break h}}e=(d|0)<-32767?-2147483647:d<<16;break h;case 1:d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)==30){e=sc(a,d,3,0);break h}g=d+1|0;e=f+ -28|0;n:{if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break h}d=(r[d+2|0]|r[g|0]<<8)<<16>>16;break n}e=0;if(t[a+8>>2]<=d+4>>>0){break h}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n}d=f+ -139|0;if(f>>>0<=246){break n}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break h}d=(r[g|0]|f<<8)+ -63124|0;break n}e=0;if(d>>>0<=g>>>0){break h}d=64148-(r[g|0]|f<<8)|0}e=d>>31;if((d+e^e)>=2147484){e=(d|0)>0?2147483647:-2147483647;break h}f=w(d,1e3);e=2147483647;if((f|0)>32767){break h}e=(f|0)<-32767?-2147483647:w(d,65536e3);break h;case 4:break j}}g=q[a+16>>2];d=q[h+20>>2];k=f>>>0>d>>>0?d:f;o[j+q[h+24>>2]|0]=k;if(!k){break g}d=0;while(1){s=d;o:{p:{e=q[g>>2];j=r[e|0];if((j|0)!=255){if((j|0)!=30){break p}f=sc(a,e,0,0)>>16;break o}f=((r[e+3|0]|(r[e+2|0]<<8|r[e+1|0]<<16))<<8)+32768>>16;break o}d=e+1|0;f=j+ -28|0;if(f>>>0<=1){if(f-1){f=0;if(t[a+8>>2]<=e+2>>>0){break o}f=(r[e+2|0]|r[d|0]<<8)<<16>>16;break o}f=0;if(t[a+8>>2]<=e+4>>>0){break o}e=r[e+1|0]|r[e+2|0]<<8|(r[e+3|0]<<16|r[e+4|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break o}f=j+ -139|0;if(j>>>0<=246){break o}e=q[a+8>>2];if(j>>>0<=250){f=0;if(e>>>0<=d>>>0){break o}f=(r[d|0]|j<<8)+ -63124|0;break o}f=0;if(e>>>0<=d>>>0){break o}f=64148-(r[d|0]|j<<8)|0}d=s+f|0;q:{r:{e=r[h+12|0];f=e+ -1|0;if(f>>>0>3){break r}s:{switch(f-1|0){default:o[i|0]=d;e=r[h+12|0];break q;case 0:p[i>>1]=d;e=2;break q;case 1:break r;case 2:break s}}q[i>>2]=d;e=4;break q}q[i>>2]=d}g=g+4|0;i=(e&255)+i|0;k=k+ -1|0;if(k){continue}break}break g}l=n[q[h+16>>2]](a)|0;d=7;if(l){break c}l=0;break g}e=e<<16}t:{u:{d=r[h+12|0]+ -1|0;if(d>>>0>3){break u}v:{switch(d-1|0){case 1:case 2:break u;case 0:break v;default:break t}}p[i>>1]=e;break g}q[i>>2]=e;break g}o[i|0]=e}if(q[h>>2]==8){break d}}q[a+20>>2]=q[a+16>>2]}b=b+1|0;d=0}d=$$(d,30);if(!d){continue}break}if(d+ -1>>>0<3){break a}}m=l}return m}function Os(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=Da-16|0;Da=x;e=w(b,1348)+a|0;j=e;f=q[e+52>>2];a:{b:{if(f){e=q[e+44>>2];d=Ef(a,b);if(d){break a}if((e|0)<1){break b}g=w(e,44)+f|0;while(1){d=q[f+36>>2];e=s[d>>1];h=r[f|0];o[f|0]=h&254;i=q[f+40>>2];c:{if((i|0)==(d|0)){break c}c=e&3;while(1){e=c;d=q[d+32>>2];c=s[d>>1]&3;if(!((e|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}o[f|0]=h|1}f=f+44|0;if(f>>>0>>0){continue}break}break b}d=Ef(a,b);if(d){break a}}n=q[q[a+2748>>2]+40>>2]/256|0;u=w(b,1348)+a|0;v=u+44|0;c=q[v>>2];e=q[j+52>>2];f=q[u+68>>2];y=(b?12:4)+a|0;t=Za(192,q[y>>2]);if((c|0)>=1){k=w(c,44)+e|0;c=e;while(1){d=e;if((f|0)==o[c+1|0]){while(1){d:{if((c|0)==(d|0)|(f|0)!=(0-o[d+1|0]|0)){break d}h=p[d+2>>1]-p[c+2>>1]|0;if((h|0)<0){break d}g=p[d+8>>1];i=p[c+8>>1];z=(i|0)>(g|0)?g:i;g=p[d+6>>1];i=p[c+6>>1];g=z-((i|0)<(g|0)?g:i)|0;if((g|0)<(n|0)){break d}i=h<<3;l=q[c+28>>2];if(!((i|0)>=(w(l,9)|0)|(q[c+32>>2]>=(g|0)?(i|0)>=(w(l,7)|0):0))){q[c+32>>2]=g;q[c+28>>2]=h;q[c+20>>2]=d}l=q[d+28>>2];if((i|0)>=(w(l,9)|0)|(q[d+32>>2]>=(g|0)?(i|0)>=(w(l,7)|0):0)){break d}q[d+32>>2]=g;q[d+28>>2]=h;q[d+20>>2]=c}d=d+44|0;if(d>>>0>>0){continue}break}}c=c+44|0;if(c>>>0>>0){continue}break}c=e;while(1){i=q[c+20>>2];e:{if(!i|q[i+20>>2]!=(c|0)){break e}n=p[i+2>>1];l=p[c+2>>1];if((n|0)<=(l|0)){break e}m=q[c+28>>2];if((m|0)>=(t|0)){break e}B=m<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=p[d+2>>1];if((g|0)>(l|0)){break g}f=q[d+20>>2];if(!f|q[f+20>>2]!=(d|0)){break g}h=p[f+2>>1];if((h|0)<(n|0)|((h|0)==(n|0)?(g|0)==(l|0):0)){break g}g=q[d+28>>2];if((g|0)<=(m|0)|(B|0)<=(g|0)){break g}h=e;if(q[c+32>>2]<(w(q[d+32>>2],3)|0)){break f}while(1){g=i;A=q[h+20>>2];h:{if((A|0)!=(d|0)){g=c;if((f|0)!=(A|0)){break h}}q[h+24>>2]=g;q[h+20>>2]=0}h=h+44|0;if(h>>>0>>0){continue}break}}d=d+44|0;if(d>>>0>>0){continue}break e}break}q[i+20>>2]=0;q[c+20>>2]=0}c=c+44|0;if(c>>>0>>0){continue}break}while(1){c=q[e+20>>2];i:{if(!c|q[c+20>>2]==(e|0)){break i}q[e+20>>2]=0;d=q[c+28>>2];if(q[e+28>>2]>=d<<2?(d|0)>=(t|0):0){break i}q[e+24>>2]=q[c+20>>2]}e=e+44|0;if(e>>>0>>0){continue}break}}B=q[a>>2];j=q[j+52>>2];c=q[a+2748>>2];q[u+56>>2]=0;e=q[v>>2];c=c+w(b,7452)|0;n=q[y>>2];j:{if((Ma(q[c+248>>2],n)|0)>=17){h=Za(16,n);break j}h=q[c+248>>2]}if((e|0)>=1){y=w(e,44)+j|0;A=(w(b,1348)+a|0)- -64|0;while(1){k:{l:{C=q[u+56>>2];m:{if((C|0)<=0){t=r[j+1|0];break m}t=r[j+1|0];l=q[A>>2];e=0;g=65535;f=0;while(1){d=w(f,44);i=d+l|0;n:{if(r[i+13|0]!=(t|0)){break n}k=p[j+2>>1]-p[i>>1]|0;c=k>>31;k=c^c+k;if((k|0)>=(h|0)|(k|0)>=(g|0)){break n}D=q[j+20>>2];if(D){c=0;z=q[(d+l|0)+36>>2];d=z;while(1){o:{m=q[d+20>>2];if(m){c=p[D+2>>1];m=p[m+2>>1];c=(c|0)>(m|0)?c-m|0:m-c|0;if((c|0)>=(h|0)){break o}}d=q[d+16>>2];if((z|0)!=(d|0)){continue}}break}if((c|0)>=(h|0)){break n}}g=k;e=i}f=f+1|0;if((C|0)!=(f|0)){continue}break}if(e){break l}}d=Hs(v,p[j+2>>1],t<<24>>24,0,B,x+12|0);if(d){break a}e=q[x+12>>2];q[e+40>>2]=j;q[e+36>>2]=j;q[e>>2]=0;q[e+4>>2]=0;q[e+32>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o[e+13|0]=r[j+1|0];c=p[j+2>>1];p[e>>1]=c;c=Ma(c,n);q[e+8>>2]=c;q[e+4>>2]=c;q[j+16>>2]=j;break k}q[j+16>>2]=q[e+36>>2];q[q[e+40>>2]+16>>2]=j;q[e+40>>2]=j}j=j+44|0;if(j>>>0>>0){continue}break}}c=q[u+56>>2];if((c|0)>=1){e=q[(w(b,1348)+a|0)- -64>>2];g=e+w(c,44)|0;c=e;while(1){a=q[c+36>>2];d=a;if(d){while(1){q[d+12>>2]=c;d=q[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(c>>>0>>0){continue}break}while(1){h=0;b=0;a=q[e+36>>2];if(a){i=e+28|0;k=e+24|0;d=a;while(1){c=0;n=o[d|0]&1;l=n^1;f=q[d+24>>2];if(f){c=q[f+12>>2]!=(e|0)}p:{if(q[d+20>>2]?0:!c){break p}j=q[(c?d+24|0:d+20|0)>>2];f=q[(c?i:k)>>2];q:{if(f){m=p[e>>1]-p[f>>1]|0;u=m>>31;t=p[d+2>>1];v=p[j+2>>1];if((((t|0)>(v|0)?t-v|0:v-t|0)|0)>=(u^m+u)){break q}}f=q[j+12>>2]}if(c){q[i>>2]=f;o[f+12|0]=r[f+12|0]|2;break p}q[k>>2]=f}h=h+n|0;b=b+l|0;d=q[d+16>>2];if((a|0)!=(d|0)){continue}break}}o[e+12|0]=(h|0)>0&(h|0)>=(b|0);if(!(!q[e+28>>2]|!q[e+24>>2])){q[e+28>>2]=0}e=e+44|0;if(e>>>0>>0){continue}break}}d=0}Da=x+16|0;return d}function lN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=a;a=c?-1:0;e=a;o[f+8|0]=e;o[f+9|0]=e>>>8;o[f+10|0]=e>>>16;o[f+11|0]=e>>>24;e=c?-1:0;o[f+12|0]=e;o[f+13|0]=e>>>8;o[f+14|0]=e>>>16;o[f+15|0]=e>>>24;c=a;o[f|0]=c;o[f+1|0]=c>>>8;o[f+2|0]=c>>>16;o[f+3|0]=c>>>24;o[f+4|0]=e;o[f+5|0]=e>>>8;o[f+6|0]=e>>>16;o[f+7|0]=e>>>24;d=b+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<1)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,3)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<2)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,5)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,6)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,7)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<3)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,9)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,10)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,11)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,12)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,13)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,14)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;c=w(b,15)+f|0;b=a;o[c+8|0]=b;o[c+9|0]=b>>>8;o[c+10|0]=b>>>16;o[c+11|0]=b>>>24;o[c+12|0]=e;o[c+13|0]=e>>>8;o[c+14|0]=e>>>16;o[c+15|0]=e>>>24;o[c|0]=b;o[c+1|0]=b>>>8;o[c+2|0]=b>>>16;o[c+3|0]=b>>>24;o[c+4|0]=e;o[c+5|0]=e>>>8;o[c+6|0]=e>>>16;o[c+7|0]=e>>>24}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,i=0,j=0,k=0,l=0,m=0;j=Da-16|0;Da=j;g=q[a+16>>2];d=r[g+6|0]|r[g+7|0]<<8|(r[g+8|0]<<16|r[g+9|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);l=g+13|0;a:{while(1){if(e>>>0>=h>>>0){break a}d=e+h>>>1|0;i=l+w(d,11)|0;k=i+ -3|0;k=r[k+1|0]<<8|r[k|0]<<16|r[k+2|0];if(k>>>0>c>>>0){h=d;continue}e=d+1|0;if(k>>>0>>0){continue}break}c=r[i+4|0]|r[i+5|0]<<8|(r[i+6|0]<<16|r[i+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!(c|e)){break a}b:{if(!e){f=q[a+28>>2];c=c+g|0;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[j+12>>2]=0;g=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);d=g+1|0;c:{if(f>>>0>=d>>>0){f=q[a+32>>2];break c}q[a+36>>2]=b;f=Oa(b,4,f,d,q[a+32>>2],j+12|0);q[a+32>>2]=f;if(q[j+12>>2]){break b}q[a+28>>2]=d}if(g){e=c+4|0;d=0;while(1){q[(d<<2)+f>>2]=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);e=e+5|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}q[(g<<2)+f>>2]=0;break a}if(!c){d=e+g|0;f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);g=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c=1;d:{if(!g){break d}e=d+7|0;h=0;f=g;while(1){h=(r[e|0]+h|0)+1|0;e=e+4|0;f=f+ -1|0;if(f){continue}break}c=h+1|0}f=q[a+28>>2];q[j+12>>2]=0;e:{if(f>>>0>=c>>>0){f=q[a+32>>2];break e}q[a+36>>2]=b;f=Oa(b,4,f,c,q[a+32>>2],j+12|0);q[a+32>>2]=f;if(q[j+12>>2]){break b}q[a+28>>2]=c}c=f;if(g){while(1){e=r[d+6|0]|(r[d+5|0]<<8|r[d+4|0]<<16);a=d+4|0;b=r[d+7|0];h=b+1|0;d=c;while(1){q[d>>2]=e;d=d+4|0;e=e+1|0;h=h+ -1|0;if(h){continue}break}c=((b<<2)+c|0)+4|0;d=a;g=g+ -1|0;if(g){continue}break}}q[c>>2]=0;break a}c=c+g|0;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=c+4|0;f:{g:{h:{c=e+g|0;f=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);i:{if(i){h=0;f=i;g=c+7|0;e=g;while(1){h=(r[e|0]+h|0)+1|0;e=e+4|0;f=f+ -1|0;if(f){continue}break}if(l){break h}e=0;d=i;while(1){e=(r[g|0]+e|0)+1|0;g=g+4|0;d=d+ -1|0;if(d){continue}break}d=e+1|0;break i}if(l){break g}d=1}f=q[a+28>>2];q[j+12>>2]=0;j:{if(f>>>0>=d>>>0){f=q[a+32>>2];break j}q[a+36>>2]=b;f=Oa(b,4,f,d,q[a+32>>2],j+12|0);q[a+32>>2]=f;if(q[j+12>>2]){break b}q[a+28>>2]=d}g=f;if(i){while(1){e=r[c+6|0]|(r[c+5|0]<<8|r[c+4|0]<<16);a=c+4|0;b=r[c+7|0];h=b+1|0;d=g;while(1){q[d>>2]=e;d=d+4|0;e=e+1|0;h=h+ -1|0;if(h){continue}break}g=((b<<2)+g|0)+4|0;c=a;i=i+ -1|0;if(i){continue}break}}q[g>>2]=0;break a}if(h){break f}}c=q[a+28>>2];q[j+12>>2]=0;g=l+1|0;k:{if(c>>>0>=g>>>0){f=q[a+32>>2];break k}q[a+36>>2]=b;f=Oa(b,4,c,g,q[a+32>>2],j+12|0);q[a+32>>2]=f;if(q[j+12>>2]){break b}q[a+28>>2]=g}e=0;while(1){q[(e<<2)+f>>2]=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);d=d+5|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}q[(l<<2)+f>>2]=0;break a}f=q[a+28>>2];q[j+12>>2]=0;g=(h+l|0)+1|0;l:{if(f>>>0>=g>>>0){f=q[a+32>>2];break l}q[a+36>>2]=b;f=Oa(b,4,f,g,q[a+32>>2],j+12|0);q[a+32>>2]=f;if(q[j+12>>2]){break b}q[a+28>>2]=g}b=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);a=c+4|0;h=r[a+1|0]<<8|r[a|0]<<16|r[a+2|0];m=d+5|0;g=a+4|0;c=r[a+3|0];e=0;a=1;k=1;while(1){m:{d=0;if(b>>>0>c+h>>>0){while(1){q[(e<<2)+f>>2]=d+h;e=e+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(a>>>0>i>>>0){break m}h=r[g+2|0]|(r[g+1|0]<<8|r[g|0]<<16);c=r[g+3|0];g=g+4|0;continue}if(b>>>0>>0){q[(e<<2)+f>>2]=b;e=e+1|0}k=k+1|0;if(k>>>0>l>>>0){break m}b=r[m+2|0]|(r[m+1|0]<<8|r[m|0]<<16);m=m+5|0;continue}break}n:{if(k>>>0<=l>>>0){q[(e<<2)+f>>2]=b;d=e+1|0;if(k>>>0>=l>>>0){e=d;break n}a=(e+l|0)+1|0;e=k;while(1){q[(d<<2)+f>>2]=r[m+2|0]|(r[m+1|0]<<8|r[m|0]<<16);d=d+1|0;m=m+5|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}e=a-k|0;break n}if(a>>>0>i>>>0){break n}d=0;while(1){q[(e<<2)+f>>2]=d+h;e=e+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=i>>>0){break n}while(1){c=r[g+2|0]|(r[g+1|0]<<8|r[g|0]<<16);h=e+1|0;b=r[g+3|0];d=0;while(1){q[(e<<2)+f>>2]=c+d;e=e+1|0;k=(b|0)!=(d|0);d=d+1|0;if(k){continue}break}e=b+h|0;g=g+4|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}q[(e<<2)+f>>2]=0;break a}f=0}Da=j+16|0;return f|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,s=0,t=0,u=0,v=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;p=Da+ -64|0;Da=p;a:{b:{c:{if(r[a+416|0]){M=q[a- -64>>2];l=q[a+160>>2];N=q[l+36>>2];u=q[a+148>>2];A=q[a+56>>2];F=q[l+40>>2];s=q[a+144>>2];k=q[a+412>>2];o=q[a+408>>2];n=q[a+400>>2];m=q[a+404>>2];B=q[b+8>>2];a=q[b>>2];l=q[b+4>>2];z=q[b+12>>2];q[p+12>>2]=z;q[p>>2]=0;q[p+4>>2]=0;v=a+c|0;C=n-v|0;a=(C|0)>(B|0)?B:C;q[p+8>>2]=a;n=(z|0)>0;D=n&(a|0)>0;c=(D<<4)+p|0;x=d+l|0;a=m-x|0;a=(a|0)>(z|0)?z:a;q[c+12>>2]=a;E=o-v|0;m=(E|0)>(B|0)?B:E;q[c+8>>2]=m;q[c+4>>2]=0;l=(C|0)>0?C:0;q[c>>2]=l;d=(m|0)>(l|0);c=(a|0)>0?d?D?2:1:D:D;o=(c<<4)+p|0;q[o+12>>2]=z;q[o+8>>2]=m;a=k-x|0;a=(a|0)>0?a:0;q[o+4>>2]=a;q[o>>2]=l;l=c+((z|0)>(a|0)&d)|0;a=(l<<4)+p|0;q[a+12>>2]=z;q[a+8>>2]=B;q[a+4>>2]=0;c=a;a=(E|0)>0?E:0;q[c>>2]=a;I=+(s|0);G=+(F|0);J=+(A|0);t=I*0/G+J;d:{if(y(t)<2147483648){c=~~t;break d}c=-2147483648}d=(B|0)>(a|0);K=+(u|0);H=+(N|0);L=+(M|0);t=K*0/H+L;e:{if(y(t)<2147483648){a=~~t;break e}a=-2147483648}d=d&n;t=I*G/G+J;f:{if(y(t)<2147483648){n=~~t;break f}n=-2147483648}A=d+l|0;t=K*H/H+L;g:{if(y(t)<2147483648){l=~~t;break g}l=-2147483648}if(!A){break a}F=n-x|0;s=l-v|0;k=c-x|0;o=a-v|0;d=0;while(1){u=(d<<4)+p|0;m=q[u>>2];q[u>>2]=(m+v|0)<(a|0)?o:m;m=q[u+4>>2];q[u+4>>2]=(m+x|0)<(c|0)?k:m;m=q[u+8>>2];q[u+8>>2]=(m+v|0)>(l|0)?s:m;m=q[u+12>>2];q[u+12>>2]=(m+x|0)>(n|0)?F:m;d=d+1|0;if((A|0)!=(d|0)){continue}break}a=0;if(!j){while(1){c=(a<<4)+p|0;m=q[c+8>>2];l=q[c>>2];h:{if((m|0)<=(l|0)){break h}n=q[c+12>>2];o=q[c+4>>2];if((n|0)<=(o|0)){break h}i:{if((l|0)>=(g|0)){d=g;break i}d=q[b+16>>2];c=l+(q[b+20>>2]+w(d,o)|0)|0;k=Sa(48);if(!k){break b}q[k+36>>2]=0;q[k+16>>2]=e;q[k+12>>2]=c;q[k+8>>2]=d;q[k+24>>2]=o+x;q[k+20>>2]=l+v;q[k+4>>2]=n-o;d=(m|0)<(g|0)?m:g;q[k>>2]=d-l;ke(j);q[k+44>>2]=0;q[k+40>>2]=c;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}if((d|0)>=(m|0)){break h}l=(d|0)<(l|0)?l:d;c=q[b+16>>2];d=l+(q[b+20>>2]+w(c,o)|0)|0;k=Sa(48);if(!k){break c}q[k+36>>2]=0;q[k+16>>2]=f;q[k+12>>2]=d;q[k+8>>2]=c;q[k+24>>2]=o+x;q[k+20>>2]=l+v;q[k+4>>2]=n-o;q[k>>2]=m-l;ke(j);q[k+44>>2]=0;q[k+40>>2]=d;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}a=a+1|0;if((A|0)!=(a|0)){continue}break a}}while(1){c=(a<<4)+p|0;m=q[c+8>>2];k=q[c>>2];j:{if((m|0)<=(k|0)){break j}n=q[c+12>>2];o=q[c+4>>2];if((n|0)<=(o|0)){break j}k:{if((k|0)>=(g|0)){c=g;break k}d=q[b+16>>2];c=k+(q[b+20>>2]+w(d,o)|0)|0;l=Sa(48);if(!l){break b}q[l+36>>2]=j;q[l+16>>2]=e;q[l+12>>2]=c;q[l+8>>2]=d;q[l+24>>2]=o+x;q[l+20>>2]=k+v;q[l+4>>2]=n-o;c=(m|0)<(g|0)?m:g;q[l>>2]=c-k;ke(j);q[l+40>>2]=0;q[l+44>>2]=0;q[l+32>>2]=i;q[h>>2]=l;h=l+28|0}if((c|0)>=(m|0)){break j}c=(c|0)<(k|0)?k:c;l=q[b+16>>2];d=c+(q[b+20>>2]+w(l,o)|0)|0;k=Sa(48);if(!k){break c}q[k+36>>2]=j;q[k+16>>2]=f;q[k+12>>2]=d;q[k+8>>2]=l;q[k+24>>2]=o+x;q[k+20>>2]=c+v;q[k+4>>2]=n-o;q[k>>2]=m-c;ke(j);q[k+40>>2]=0;q[k+44>>2]=0;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}a=a+1|0;if((A|0)!=(a|0)){continue}break}break a}n=q[b>>2];o=n+c|0;l=q[a+136>>2];c=q[a+400>>2];c=(c|0)>0?c:0;c=o-((c|0)>(l|0)?l:c)|0;s=c>>31&0-c;c=q[a+408>>2];c=(c|0)>0?c:0;l=((c|0)>(l|0)?l:c)-o|0;c=q[b+8>>2];k=(l|0)<(c|0)?l:c;if((s|0)>=(k|0)){break a}m=q[a+140>>2];c=q[a+412>>2];c=(c|0)>0?c:0;l=q[b+4>>2]+d|0;d=((c|0)>(m|0)?m:c)-l|0;c=q[b+12>>2];c=(d|0)<(c|0)?d:c;a=q[a+404>>2];a=(a|0)>0?a:0;a=l-((a|0)>(m|0)?m:a)|0;m=a>>31&0-a;if((c|0)<=(m|0)){break a}d=g-n|0;if((d|0)>(s|0)){a=q[b+16>>2];g=s+(q[b+20>>2]+w(a,m)|0)|0;n=Sa(48);if(!n){if(j){break a}gd(g);break a}q[n+36>>2]=j;q[n+16>>2]=e;q[n+12>>2]=g;q[n+8>>2]=a;q[n+24>>2]=l+m;q[n+20>>2]=o+s;q[n+4>>2]=c-m;d=(d|0)>(k|0)?k:d;q[n>>2]=d-s;ke(j);q[n+44>>2]=0;q[n+40>>2]=j?0:g;q[n+32>>2]=i;q[h>>2]=n;h=n+28|0}if((d|0)>=(k|0)){break a}a=q[b+16>>2];e=q[b+20>>2]+w(a,m)|0;b=(d|0)<(s|0)?s:d;d=e+b|0;e=Sa(48);if(!e){if(j){break a}gd(d);break a}q[e+36>>2]=j;q[e+16>>2]=f;q[e+12>>2]=d;q[e+8>>2]=a;q[e+24>>2]=l+m;q[e+20>>2]=b+o;q[e+4>>2]=c-m;q[e>>2]=k-b;ke(j);q[e+44>>2]=0;q[e+40>>2]=j?0:d;q[e+32>>2]=i;q[h>>2]=e;h=e+28|0;break a}if(j){break a}gd(d);break a}if(j){break a}gd(c)}Da=p- -64|0;return h}function Xj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Da-32|0;Da=h;u=q[a>>2];c=QF(b,c,h+24|0,h+20|0);a:{if(c){break a}c=1;b:{c:{d:{e:{g=q[h+24>>2];f=q[h+20>>2];if(!Po(a,b,g,f,1347375956,1,h+16|0,h+12|0)){v=q[h+16>>2];if(d+1>>>0>1){break e}c=10;z=q[h+12>>2];if((z|0)<1){break e}w=q[a>>2];f:{while(1){d=q[(m<<2)+v>>2];g:{h:{g=q[b+20>>2];if(g){if(!n[g](b,d,0,0)){break h}c=85;break e}k=q[b+4>>2];if(k>>>0>=d>>>0){break g}c=85;break d}k=q[b+4>>2]}q[b+8>>2]=d;if(d+3>>>0>=k>>>0){break f}i:{j:{g=q[b+20>>2];k:{if(g){if((n[g](b,d,h+28|0,4)|0)!=4){break f}d=q[b+8>>2];g=h+28|0;break k}g=q[b>>2];if(!g){break j}g=d+g|0}g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);q[b+8>>2]=d+4;d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(d>>>0<=16777215){break i}c=9;break e}q[b+8>>2]=d+4;d=0}g=x+6|0;if(16777215-d>>>0>>0){c=9;break e}x=d+g|0;m=m+1|0;if((z|0)!=(m|0)){continue}break}p=x+2|0;if(p>>>0<6){break e}c=6;if((p|0)<1){break e}c=n[q[w+4>>2]](w,p)|0;if(!c){c=64;break e}i=Na(c,0,p);o[i+2|0]=0;o[i+3|0]=0;o[i+4|0]=0;o[i+5|0]=0;o[i|0]=384;o[i+1|0]=1;s=2;g=6;k=1;m=0;l:{while(1){c=q[(m<<2)+v>>2];d=q[b+20>>2];m:{if(d){if(n[d](b,c,0,0)){break l}d=q[b+4>>2];break m}d=q[b+4>>2];if(d>>>0>>0){break l}}q[b+8>>2]=c;if(c+3>>>0>=d>>>0){break l}n:{o:{f=q[b+20>>2];if(f){if((n[f](b,c,h+28|0,4)|0)!=4){break l}c=q[b+8>>2];d=h+28|0;break o}f=q[b>>2];if(f){d=c+f|0;break o}c=c+4|0;q[b+8>>2]=c;f=0;break n}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c+4|0;q[b+8>>2]=c;f=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if((f|0)<0){break l}d=q[b+4>>2]}if(c+1>>>0>=d>>>0){break l}p:{q:{r:{d=q[b+20>>2];if(d){if((n[d](b,c,h+28|0,2)|0)!=2){break l}c=q[b+8>>2];d=h+28|0;break r}d=q[b>>2];if(d){d=c+d|0;break r}q[b+8>>2]=c+2;break q}l=r[d|0];q[b+8>>2]=c+2;if(!l){break q}c=f+ -2|0;d=c>>>0>f>>>0?0:c;s:{if((k|0)==(l|0)){f=g;c=d+j|0;break s}f=s+3|0;if(f>>>0>p>>>0){break l}c=i+s|0;o[c|0]=j;o[c+2|0]=j>>>16;o[c+1|0]=j>>>8;o[f+i|0]=j>>>24;if((l|0)==5){break p}f=g+6|0;if(f>>>0>p>>>0){break l}j=g+i|0;o[j|0]=128;s=g+2|0;c=s+i|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[j+1|0]=l;k=l;c=d}j=c;if(f>>>0>x>>>0){break l}g=d+f|0;if(g>>>0>x>>>0){break l}l=q[b+4>>2];c=q[b+8>>2];if(l>>>0<=c>>>0){break l}f=f+i|0;y=q[b+20>>2];t:{if(y){f=n[y](b,c,f,d)|0;break t}y=f;f=l-c|0;f=f>>>0>d>>>0?d:f;Qa(y,q[b>>2]+c|0,f)}q[b+8>>2]=c+f;if(f>>>0>>0){break l}}m=m+1|0;if((z|0)!=(m|0)){continue}}break}c=g+2|0;if(c>>>0>p>>>0){break l}b=g+i|0;o[b|0]=896;o[b+1|0]=3;d=s+3|0;if(d>>>0>p>>>0){break l}b=i+s|0;o[b|0]=j;o[b+2|0]=j>>>16;o[b+1|0]=j>>>8;o[d+i|0]=j>>>24;c=Dj(a,i,c,0,4284,e);break e}n[q[w+8>>2]](w,i);c=1;break e}c=85;break e}c=Po(a,b,g,f,1936092788,0,h+16|0,h+12|0);if(c){break a}l=q[h+12>>2];c=(d|0)%(l|0)|0;k=c>>31^c;u:{if((k|0)>=(l|0)){d=q[h+16>>2];c=1;break u}j=q[a>>2];d=q[h+16>>2];f=q[d+(k<<2)>>2];v:{w:{c=q[b+20>>2];if(c){if(!n[c](b,f,0,0)){break w}c=85;break u}c=q[b+4>>2];if(c>>>0>=f>>>0){break v}c=85;break u}c=q[b+4>>2]}q[b+8>>2]=f;x:{y:{if(f+3>>>0>=c>>>0){break y}c=q[b+20>>2];if(c){if((n[c](b,f,h+28|0,4)|0)!=4){break y}c=q[b+8>>2];g=h+28|0;break x}c=q[b>>2];if(c){g=c+f|0;c=f;break x}q[b+8>>2]=f+4;c=1;break u}c=85;break u}g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);q[b+8>>2]=c+4;g=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);c=1;if((g|0)<1){break u}c=9;if(g>>>0>16777215){break u}c=0;if(!Ep(a,b,k,e)){break u}c=f+4|0;z:{f=q[b+20>>2];if(f){if(!n[f](b,c,0,0)){break z}c=85;break u}if(t[b+4>>2]>=c>>>0){break z}c=85;break u}q[b+8>>2]=c;f=n[q[j+4>>2]](j,g)|0;c=64;if(!f){break u}f=Na(f,0,g);A:{c=q[b+4>>2];k=q[b+8>>2];if(c>>>0>k>>>0){i=q[b+20>>2];B:{if(i){c=n[i](b,k,f,g)|0;break B}c=c-k|0;c=c>>>0>g>>>0?g:c;Qa(f,k+q[b>>2]|0,c)}q[b+8>>2]=c+k;if(c>>>0>=g>>>0){break A}}n[q[j+8>>2]](j,f);c=85;break u}c=g;c=Dj(a,f,c,0,(c|0)>=5?(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))==1330926671?4290:4112:4112,e)}if(d){n[q[u+8>>2]](u,d)}q[h+16>>2]=0;if(c){break a}q[q[e>>2]>>2]=l;break b}if(!v){break c}}n[q[u+8>>2]](u,v)}q[h+16>>2]=0;if(c){break a}q[q[e>>2]>>2]=1}c=0}Da=h+32|0;return c}function oU(a,b,c){a=a|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,t=0,u=0,v=0;j=Da-32|0;Da=j;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}q[b+72>>2]=0;h=q[b+76>>2];a:{b:{if(!h){break b}while(1){if(!r[b+68|0]){break b}d=q[b+88>>2];g=q[d+w(e,20)>>2];c:{if((g&-129)!=3635){if(r[b+69|0]){f=b;d:{if((d|0)==q[b+92>>2]){d=e;if(q[b+80>>2]==(e|0)){break d}}if(!Va(b,1,1)){break c}e=q[b+88>>2]+w(q[b+72>>2],20)|0;i=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=i;q[d+16>>2]=q[e+16>>2];g=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=g;e=q[b+72>>2];d=q[b+80>>2]}q[f+80>>2]=d+1}q[b+72>>2]=e+1;break c}e:{if(!Va(b,0,1)){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}e=q[b+72>>2];d=q[b+76>>2];if(!(q[b+80>>2]|(e|0)!=(d|0))){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}i=g+26|0;f:{if(e>>>0>>0){d=q[b+80>>2];f=q[b+92>>2];e=q[b+88>>2]+w(e,20)|0;break f}f=q[b+92>>2];d=q[b+80>>2];e=(f+w(d,20)|0)+ -20|0}d=w(d,20)+f|0;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+80>>2];e=q[b+92>>2]+w(d,20)|0;q[e>>2]=i;q[b+80>>2]=d+1}p[e+16>>1]=s[e+16>>1]|128;i=q[b+92>>2];g:{h:{if((i|0)==q[b+88>>2]){d=q[b+80>>2];e=d;if((e|0)==q[b+72>>2]){break h}}if(!Va(b,1,1)){break g}e=q[b+88>>2]+w(q[b+72>>2],20)|0;i=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=i;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+72>>2];e=q[b+80>>2];i=q[b+92>>2]}q[w(e,20)+i>>2]=g+ -1;q[b+80>>2]=e+1;q[b+72>>2]=d+1}if(r[b+68|0]!=1){break a}f=q[b+80>>2];d=f+ -2|0;g=w(d,20);e=g+q[b+92>>2]|0;p[e+16>>1]=s[e+16>>1]&224|12;i:{j:{while(1){e=d;if(!e){break j}d=e+ -1|0;i=q[q[b+92>>2]+w(d,20)>>2];t=i&-129;if((t|0)==3633|(i&-132)==3636|t+ -3655>>>0<8){continue}break}if(e+2>>>0>>0){break i}if(q[b+20>>2]){break c}gf(b,d,f);break c}if(f>>>0<=2){break c}}gf(b,e,f);d=g;g=q[b+92>>2];d=d+g|0;q[j+24>>2]=q[d+16>>2];i=q[d+12>>2];q[j+16>>2]=q[d+8>>2];q[j+20>>2]=i;i=q[d+4>>2];q[j+8>>2]=q[d>>2];q[j+12>>2]=i;d=w(e,20);g=d+g|0;sb(g+20|0,g,w(f-e|0,20)+ -40|0);e=d+q[b+92>>2]|0;d=q[j+12>>2];q[e>>2]=q[j+8>>2];q[e+4>>2]=d;q[e+16>>2]=q[j+24>>2];d=q[j+20>>2];q[e+8>>2]=q[j+16>>2];q[e+12>>2]=d}e=q[b+72>>2];if(e>>>0>>0){continue}break}}Kc(b);if(r[a+32|0]|q[a+4>>2]!=1416126825){break a}v=q[b+76>>2];if(!v){break a}t=q[b+88>>2];a=3;i=2;f=0;g=0;while(1){e=0;k:{l:{m=w(g,20)+t|0;d=q[m>>2];if((d|0)==3633|(d&-4)==3636){break l}h=d+ -3655|0;if(1<>>0<=7:0){break l}e=1;if(d+ -3640>>>0<3){break l}e=2;if(d+ -3656>>>0<5){break l}m:{n:{e=d+ -3597|0;if(e>>>0<=18){e=1<>>0>45)<<2;break m}a=2}a=a<<2;i=q[a+251184>>2];a=q[a+251152>>2];f=g;break k}e=e<<3;d=e+w(i,24)|0;a=e+w(a,24)|0;e=q[a+251216>>2];if(!e){e=q[d+251312>>2]}if(g-f>>>0>=2){rb(b,f,g)}i=q[d+251316>>2];a=q[a+251220>>2];if((e|0)==4){m=w(f,20)+t|0;d=q[m>>2];h=d+ -3597|0;o:{if(h>>>0>3){break o}e=251744;p:{switch(h-1|0){case 2:e=251756;break;case 0:case 1:break o;default:break p}}k=q[e+4>>2];h=j+8|0;q[h>>2]=0;l=k;k=q[c+72>>2];u=e+4|0;q:{if(n[q[k+156>>2]](c,q[c+76>>2],l,h,q[k+20>>2])){break q}h=q[e+8>>2];k=j+8|0;q[k>>2]=0;l=h;h=q[c+72>>2];if(!n[q[h+156>>2]](c,q[c+76>>2],l,k,q[h+20>>2])){break o}u=e+8|0}d=q[u>>2]}q[m>>2]=d;break k}h=q[m>>2];d=0;r:{s:{if(e>>>0>3){break s}t:{switch(e-1|0){case 0:d=251392;break s;case 2:d=251504;break s;case 1:break t;default:break r}}d=251584}e=d;d=q[e>>2];if(!d){break r}while(1){if((d|0)==(h|0)){d=q[e+4>>2];k=j+8|0;q[k>>2]=0;l=d;d=q[c+72>>2];if(n[q[d+156>>2]](c,q[c+76>>2],l,k,q[d+20>>2])){h=q[e+4>>2];break r}d=q[e+8>>2];k=j+8|0;q[k>>2]=0;l=d;d=q[c+72>>2];if(!n[q[d+156>>2]](c,q[c+76>>2],l,k,q[d+20>>2])){break r}h=q[e+8>>2];break r}d=q[e+12>>2];e=e+12|0;if(d){continue}break}}q[m>>2]=h}g=g+1|0;if((v|0)!=(g|0)){continue}break}}Da=j+32|0}function Fh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,t=0,u=0,v=0,x=0,y=0;g=Da-48|0;Da=g;q[g+12>>2]=0;o[a+733|0]=0;v=q[a+100>>2];a:{b:{j=q[a+736>>2];if(!j){e=Nf(a,0);q[g+12>>2]=e;if(e){break a}j=q[a+736>>2]}u=q[j+12>>2];f=q[u>>2];b=f>>>0>>0?f:b;if(!b){break b}while(1){if(q[(h<<2)+c>>2]+65536>>>0<131073){h=h+1|0;if((h|0)!=(b|0)){continue}break b}break}e=6;q[g+12>>2]=6;break a}if(!(r[a+732|0]|q[j+72>>2])){i=q[a+104>>2];h=q[i+28>>2];e=n[q[a+516>>2]](a,1735811442,i,g+40|0)|0;q[g+44>>2]=e;c:{if(e){break c}k=q[i+8>>2];e=lb(i,5328,g+16|0);q[g+44>>2]=e;if(e){break c}d:{if(q[g+16>>2]!=65536){break d}f=s[g+20>>1];if((f|0)!=s[q[j+12>>2]>>1]){break d}t=w(f,s[g+22>>1]);f=q[g+40>>2];if(t>>>0>f>>>1>>>0){break d}e=w(s[g+28>>1]+1|0,o[g+30|0]&1?4:2);if(e>>>0>f>>>0){break d}q[j+76>>2]=f;f=q[g+32>>2];e=mb(i,e);q[g+44>>2]=e;if(e){break c}e=0;x=j,y=Oa(h,4,0,s[g+28>>1]+1|0,0,g+44|0),q[x+72>>2]=y;e:{f:{g:{if(q[g+44>>2]){break g}m=f+k|0;f=k+q[g+40>>2]|0;h:{if(!(o[g+30|0]&1)){while(1){p=m+(ob(i)<<1)|0;e=e>>>0>p>>>0?e:p;q[q[j+72>>2]+(l<<2)>>2]=f>>>0>>0?f:e;p=s[g+28>>1];t=l>>>0

>>0;l=l+1|0;if(t){continue}break}break h}while(1){p=fc(i)+m|0;l=l>>>0>p>>>0?l:p;q[q[j+72>>2]+(e<<2)>>2]=f>>>0>>0?f:l;p=s[g+28>>1];t=e>>>0

>>0;e=e+1|0;if(t){continue}break}}q[j+68>>2]=p;jb(i);if(!s[g+22>>1]){break e}f=Xa(i,k+q[g+24>>2]|0);q[g+44>>2]=f;if(f){break f}f=mb(i,w(s[g+22>>1],s[g+20>>1])<<1);q[g+44>>2]=f;if(f){break f}f=0;x=j,y=Oa(h,4,0,w(s[g+22>>1],s[g+20>>1]),0,g+44|0),q[x+64>>2]=y;if(q[g+44>>2]){break g}h=s[g+22>>1];if(h){k=0;m=s[g+20>>1];f=h;while(1){e=0;i:{if(!(m&65535)){m=0;break i}while(1){h=ob(i);m=s[g+20>>1];q[q[j+64>>2]+(w(m,k)+e<<2)>>2]=h<<16>>16<<2;e=e+1|0;if(e>>>0>>0){continue}break}f=s[g+22>>1]}k=k+1|0;if(k>>>0<(f&65535)>>>0){continue}break}}q[j+60>>2]=f&65535;jb(i);break e}jb(i)}f=q[j+72>>2];if(f){n[q[h+8>>2]](h,f)}q[j+68>>2]=0;q[j+72>>2]=0}e=q[g+44>>2];break c}e=8;q[g+44>>2]=8}q[g+12>>2]=e;if(e){break a}}p=0;if(!q[j+4>>2]){x=j,y=Oa(v,4,0,q[u>>2],0,g+12|0),q[x+4>>2]=y;e=q[g+12>>2];if(e){break a}p=1}j:{k:{l:{m:{n:{l=q[j+8>>2];if(l){h=0;if(b){break n}break m}l=Oa(v,4,0,q[u>>2],0,g+12|0);q[j+8>>2]=l;e=q[g+12>>2];if(e){break a}f=q[u>>2];t=1;break k}e=1;while(1){f=h<<2;t=2;if(q[f+l>>2]!=q[c+f>>2]){break l}h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}e=0;t=0}f=q[u>>2];k=q[a+4>>2];o:{if(k&2147418112){if(h>>>0>=f>>>0){break o}i=q[j+20>>2]+(w((k>>>16|0)+ -1|0,f)<<2)|0;k=h<<2;m=i+k|0;i=k+l|0;k=h;while(1){e=q[i>>2]==q[m>>2]?e:1;i=i+4|0;m=m+4|0;k=k+1|0;if((k|0)!=(f|0)){continue}break}break o}if(h>>>0>=f>>>0){break o}m=(h<<2)+l|0;i=h;while(1){e=q[m>>2]?1:e;m=m+4|0;i=i+1|0;if(i>>>0>>0){continue}break}}if(!(e&255)){break j}if(h>>>0>=f>>>0){break k}while(1){if(!q[(h<<2)+l>>2]){h=h+1|0;if(h>>>0>>0){continue}break k}break}t=2}q[j>>2]=f;Qa(l,c,b<<2);p:{if(!d){break p}e=q[j+4>>2];c=q[a+736>>2];d=q[c>>2];b=p?q[j>>2]:b;f=d>>>0>>0?d:b;if(f){k=q[j+8>>2];h=0;while(1){i=h<<2;q[i+e>>2]=q[i+k>>2];h=h+1|0;if((f|0)!=(h|0)){continue}break}}if(d>>>0>>0){Na(e+(f<<2)|0,0,b-f<<2)}q:{if(!f){break q}k=q[c+28>>2];if(!k){break q}j=0;while(1){i=s[k>>1];r:{if(i>>>0<2){break r}l=e+(j<<2)|0;b=q[l>>2];d=q[k+4>>2];h=1;while(1){m=h<<3;p=m+d|0;u=q[p+4>>2];if((b|0)<(u|0)){i=b;b=m+ -8|0;d=b+d|0;h=q[d+4>>2];x=l,y=bb(i-h|0,q[p>>2]-q[d>>2]|0,u-h|0)+q[b+q[k+4>>2]>>2]|0,q[x>>2]=y;break r}h=h+1|0;if((i|0)!=(h|0)){continue}break}}k=k+8|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(!f){break p}b=q[q[c+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;k=q[j>>2];s:{t:{if((k|0)<=-1){h=q[b+4>>2];i=q[b+8>>2];d=i;break t}h=q[b+8>>2];d=h;if(!k){break s}i=q[b+12>>2];d=h}d=Ma(k,i-h|0)+d|0}q[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}o[a+733|0]=1;b=q[a+704>>2];u:{if(!b){break u}c=t+ -1|0;if(c>>>0>1){break u}if(!(c-1)){if(b){n[q[v+8>>2]](v,b)}q[a+704>>2]=0;x=g,y=Jo(a,q[a+104>>2]),q[x+12>>2]=y;break u}x=g,y=xo(a,q[a+104>>2]),q[x+12>>2]=y}b=q[a+720>>2];if(b){n[q[v+8>>2]](v,b)}q[a+720>>2]=0;e=q[g+12>>2];break a}o[a+733|0]=1;e=-1}Da=g+48|0;return e}function re(a,b,c){var d=0,e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=x(0),m=0,n=0,p=0,s=0,t=0,v=0,z=0,A=0,B=0,C=x(0),D=x(0),E=0,F=x(0),G=0,H=0,I=0,J=0,K=0,L=0;a:{b:{c:{d=q[a+28>>2];G=q[b+4>>2]-q[b>>2]|0;v=G+1|0;H=q[b+12>>2]-q[b+8>>2]|0;J=H+1|0;i=w(v,J);f=i<<4;if((d|0)>=(f|0)){if(!(+(f|0)*1.3<=+(d|0))){q[a+32>>2]=0;break c}d=q[a+32>>2];q[a+32>>2]=d+1;if((d|0)<9){break c}}d=Sa(f);if(!d){break b}La(q[a+24>>2]);q[a+32>>2]=0;q[a+28>>2]=f;q[a+24>>2]=d;break a}d=q[a+24>>2];if(d){break a}}Ua(1156,0);return 0}z=Na(d,0,f);if(c){A=q[b+12>>2];s=q[b+4>>2];K=q[b+8>>2];L=q[b>>2];while(1){n=q[c+20>>2];d:{if((n|0)<(L|0)){break d}g=q[c+24>>2];if((g|0)<(K|0)){break d}t=q[c>>2];if(!t){break d}E=q[c+4>>2];if(!E|((n+t|0)+ -1|0)>(s|0)|((g+E|0)+ -1|0)>(A|0)){break d}k=q[c+16>>2];f=k&255;if((f|0)==255|(E|0)<1){break d}d=q[c+8>>2];B=(d|0)<(t|0)?t:d;I=n-L|0;l=x(+(f^255)/255);C=x(+(k>>>24>>>0)/255);j=x(+((k>>>8&255)>>>0)/255);h=x(+((k>>>16&255)>>>0)/255);n=q[c+12>>2];p=w(g-K|0,v);k=0;d=0;while(1){if((t|0)>=1){g=p+I|0;f=0;while(1){D=x(x(l*x(r[n+(d+f|0)|0]))/x(255));F=x(x(1)-D);m=(f+g<<4)+z|0;u[m+12>>2]=D+x(u[m+12>>2]*F);u[m>>2]=x(D*C)+x(u[m>>2]*F);u[m+4>>2]=x(D*h)+x(F*u[m+4>>2]);u[m+8>>2]=x(D*j)+x(F*u[m+8>>2]);f=f+1|0;if((t|0)!=(f|0)){continue}break}}p=p+v|0;d=d+B|0;k=k+1|0;if((E|0)!=(k|0)){continue}break}}c=q[c+28>>2];if(c){continue}break}}g=i<<2;f=0;if(!r[a+100|0]){d=a- -64|0;c=q[a+92>>2]<(g|0);f=c?d:0;e=c?0:d}e:{f:{if(r[a+140|0]){break f}d=a+104|0;c=q[a+132>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break f}e=d;break f}if(!f|q[f+28>>2]>(c|0)){break e}}d=f}g:{h:{if(r[a+180|0]){break h}f=a+144|0;c=q[a+172>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break h}e=f;break h}if(!d|q[d+28>>2]>(c|0)){break g}}f=d}i:{j:{if(r[a+220|0]){break j}d=a+184|0;c=q[a+212>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break j}e=d;break j}if(!f|q[f+28>>2]>(c|0)){break i}}d=f}k:{l:{if(r[a+260|0]){break l}f=a+224|0;c=q[a+252>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break l}e=f;break l}if(!d|q[d+28>>2]>(c|0)){break k}}f=d}m:{n:{if(r[a+300|0]){break n}d=a+264|0;c=q[a+292>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break n}e=d;break n}if(!f|q[f+28>>2]>(c|0)){break m}}d=f}o:{p:{if(r[a+340|0]){break p}f=a+304|0;c=q[a+332>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break p}e=f;break p}if(!d|q[d+28>>2]>(c|0)){break o}}f=d}q:{r:{if(r[a+380|0]){break r}d=a+344|0;c=q[a+372>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break r}e=d;break r}if(!f|q[f+28>>2]>(c|0)){break q}}d=f}s:{t:{if(r[a+420|0]){break t}c=a+384|0;a=q[a+412>>2];if((a|0)>=(g|0)){if(!e){e=c;break s}if(q[e+28>>2]<=(a|0)){break s}e=c;break s}if(q[d+28>>2]<=(a|0)?d:0){break t}d=c}if(e){break s}e=d;if(e){break s}Rb(1331);return 0}u:{v:{w:{a=q[e+28>>2];if((a|0)>=(g|0)){if(!(+(g|0)*1.3<=+(a|0))){q[e+32>>2]=0;break w}a=q[e+32>>2];q[e+32>>2]=a+1;if((a|0)<9){break w}}i=Sa(g);if(!i){break v}La(q[e+24>>2]);q[e+32>>2]=0;q[e+28>>2]=g;q[e+24>>2]=i;break u}i=q[e+24>>2];if(i){break u}}Rb(1379);return 0}o[e+36|0]=1;if((H|0)>=0){n=H+1|0;g=G+1|0;A=0;p=0;while(1){s=0;if((G|0)>=0){while(1){a=A+s|0;d=a<<2;I=d+i|0;l=u[(a<<4|12)+z>>2];if(!(l>x(.0035294117406010628))){a=0}else{a=l>2]/l);a=j>2]/l);d=Cx(.0035294117406010628)?a?f:255:0);j=x(u[(B|8)+z>>2]/l);c=jx(.0035294117406010628)?d?f<<8:65280:0)|a;h=x(j*x(255));A:{if(x(y(h))x(.0035294117406010628)?c?a<<16:16711680:0)}q[I>>2]=a;s=s+1|0;if((g|0)!=(s|0)){continue}break}}A=A+v|0;p=p+1|0;if((n|0)!=(p|0)){continue}break}}q[e>>2]=q[b>>2];a=q[b+8>>2];q[e+16>>2]=i;q[e+12>>2]=J;q[e+8>>2]=v;q[e+4>>2]=a;return e}function TX(a,b,c){a=a|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,u=0,v=0,x=0,y=0;e=Da+ -64|0;Da=e;a:{if(r[c+16|0]&16){break a}g=q[c+76>>2];if(!g){break a}l=q[c+88>>2];while(1){if((r[(l+w(d,20)|0)+15|0]&15)!=1){d=d+1|0;if((g|0)!=(d|0)){continue}break a}break}q[e+16>>2]=0;d=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](d,g,9676,e+16|0,q[b+20>>2])){break a}q[e+52>>2]=0;q[e+56>>2]=0;q[e+44>>2]=0;q[e+48>>2]=0;q[e+40>>2]=9676;Du(e+40|0);f=q[e+16>>2];q[e+40>>2]=f;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b=q[c+76>>2];b:{if(!b){break b}j=q[e+56>>2];d=0;while(1){if(!r[c+68|0]){break b}k=q[c+88>>2];l=k+w(d,20)|0;g=r[l+15|0];c:{if(!((g|0)==(i|0)|(g&15)!=1)){p[e+12>>1]=s[e+52>>1];o[e+14|0]=r[e+54|0];i=q[l+4>>2];m=q[l+8>>2];d:{if(d>>>0>=b>>>0){break d}while(1){if(r[(w(d,20)+k|0)+18|0]!=15){break d}e:{if(r[c+69|0]){l=c;f:{if(q[c+92>>2]==(k|0)){b=d;h=b;if(q[c+80>>2]==(b|0)){break f}}if(!Va(c,1,1)){d=q[c+72>>2];break e}b=q[c+88>>2]+w(q[c+72>>2],20)|0;k=q[b+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[b>>2];q[d+4>>2]=k;q[d+16>>2]=q[b+16>>2];h=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=h;d=q[c+72>>2];h=q[c+80>>2]}q[l+80>>2]=h+1}d=d+1|0;q[c+72>>2]=d}if(!r[c+68|0]|d>>>0>=t[c+76>>2]){break d}k=q[c+88>>2];if((g|0)==r[(k+w(d,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){b=q[c+92>>2]+w(q[c+80>>2],20)|0;q[b+8>>2]=m;q[b+4>>2]=i;q[b>>2]=f;p[b+12>>1]=s[e+12>>1];o[b+14|0]=r[e+14|0];q[b+16>>2]=j;o[b+15|0]=g;q[c+80>>2]=q[c+80>>2]+1}i=g;break c}if(r[c+69|0]){g=c;g:{if(q[c+92>>2]==(k|0)){b=d;h=b;if(q[c+80>>2]==(b|0)){break g}}if(!Va(c,1,1)){break c}b=q[c+88>>2]+w(q[c+72>>2],20)|0;h=q[b+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[b>>2];q[d+4>>2]=h;q[d+16>>2]=q[b+16>>2];l=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=l;d=q[c+72>>2];h=q[c+80>>2]}q[g+80>>2]=h+1}q[c+72>>2]=d+1}d=q[c+72>>2];b=q[c+76>>2];if(d>>>0>>0){continue}break}}Kc(c)}l=q[c+76>>2];if(l){b=l+ -1|0;d=0;g=q[c+88>>2];h=r[g+15|0];while(1){h:{if((b|0)==(d|0)){d=l;break h}d=d+1|0;if((h|0)==r[(g+w(d,20)|0)+15|0]){continue}}break}k=q[c+88>>2];i=r[k+15|0];h=0;b=l;while(1){g=d;i:{if(i&14){break i}d=h+1|0;if(d>>>0>=g>>>0){break i}m=q[a+112>>2];i=q[m+24>>2]|q[m+20>>2]|q[m+28>>2];b=d;while(1){f=w(b,20)+k|0;q[f+4>>2]=i|q[f+4>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}v=w(d,20)+k|0;i=w(h,20)+k|0;y=i+40|0;u=0;while(1){b=d;f=w(b,20)+k|0;j=r[f+18|0];j:{if(!((j|0)!=14|u>>>0>2)){d=b+1|0;if(d>>>0>=g>>>0){break j}j=w(d,20)+k|0;if(r[j+18|0]!=16){u=u+1|0;break j}q[f+4>>2]=q[f+4>>2]|q[m+16>>2];q[j+4>>2]=q[j+4>>2]|q[m+16>>2];u=b+2|0;if(u-h>>>0>=2){kc(c,h,u)}q[e+56>>2]=q[f+16>>2];x=q[f+12>>2];q[e+48>>2]=q[f+8>>2];q[e+52>>2]=x;x=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=x;q[e+32>>2]=q[j+16>>2];f=q[j+12>>2];q[e+24>>2]=q[j+8>>2];q[e+28>>2]=f;f=q[j+4>>2];q[e+16>>2]=q[j>>2];q[e+20>>2]=f;sb(y,i,w(b-h|0,20));q[i+16>>2]=q[e+56>>2];f=q[e+52>>2];q[i+8>>2]=q[e+48>>2];q[i+12>>2]=f;f=q[e+44>>2];q[i>>2]=q[e+40>>2];q[i+4>>2]=f;q[v+16>>2]=q[e+32>>2];f=q[e+28>>2];q[v+8>>2]=q[e+24>>2];q[v+12>>2]=f;f=q[e+20>>2];q[v>>2]=q[e+16>>2];q[v+4>>2]=f;k:{if(u>>>0>=g>>>0){break k}f=q[m+32>>2];if(!f){break k}j=w(u,20)+k|0;q[j+4>>2]=f|q[j+4>>2];b=b+3|0;if(b>>>0>=g>>>0){break k}while(1){f=w(b,20)+k|0;q[f+4>>2]=q[f+4>>2]|q[m+32>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}}u=2;break j}d=b+1|0;if((j|0)!=28){break j}if(d-h>>>0>=2){kc(c,h,d)}q[e+56>>2]=q[f+16>>2];j=q[f+12>>2];q[e+48>>2]=q[f+8>>2];q[e+52>>2]=j;j=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=j;sb(v,i,w(b-h|0,20));q[i+16>>2]=q[e+56>>2];b=q[e+52>>2];q[i+8>>2]=q[e+48>>2];q[i+12>>2]=b;b=q[e+44>>2];q[i>>2]=q[e+40>>2];q[i+4>>2]=b}if((d|0)!=(g|0)){continue}break}b=q[c+76>>2];k=q[c+88>>2]}d=g+1|0;h=b>>>0>d>>>0?b:d;i=r[(w(g,20)+k|0)+15|0];d=g;while(1){l:{d=d+1|0;if(d>>>0>=b>>>0){d=h;break l}if(r[(w(d,20)+k|0)+15|0]==(i&255)){continue}}break}h=g;if(g>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){o[c+164|0]=a&191;Da=e- -64|0;return}I(241820,241790,160,241805);F()}function Ct(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;c=q[a+4>>2];d=q[q[c+88>>2]+w(q[c+72>>2],20)>>2];q[e+12>>2]=0;a:{b:{c:{d:{if(b){b=q[a+8>>2];q[e+12>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](f,g,d,e+12|0,q[b+20>>2])){break d}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){e:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break e}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}if(Yl(a,0,d)){break b}b=q[a+8>>2];q[e+12>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](f,g,d,e+12|0,q[b+20>>2])){break c}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){f:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break f}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}if(Yl(a,1,d)){break b}}g:{if((s[(q[c+88>>2]+w(q[c+72>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{b=d+ -8192|0;if(b>>>0>95){if((d|0)!=12288){break g}break i}j:{switch(b-1|0){default:b=512;break h;case 3:b=768;break h;case 4:b=1024;break h;case 5:b=1536;break h;case 6:b=4864;break h;case 7:b=5120;break h;case 8:b=1280;break h;case 9:b=4096;break h;case 46:b=5376;break h;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: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:break g;case 0:case 2:break i;case 94:break j}}b=4352;break h}b=256}f=q[a+8>>2];q[e+8>>2]=0;g=f;h=q[f+76>>2];f=q[f+72>>2];if(!n[q[f+156>>2]](g,h,32,e+8|0,q[f+20>>2])){break g}a=q[c+88>>2];d=q[c+72>>2];f=a+w(d,20)|0;g=s[f+16>>1];if((g&31)==29){p[f+16>>1]=g&255|b;d=q[c+72>>2];a=q[c+88>>2]}q[(a+w(d,20)|0)+12>>2]=q[e+8>>2];k:{if(r[c+69|0]){l:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break l}}if(!Va(c,1,1)){break k}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1}q[c+32>>2]=q[c+32>>2]|4;break a}m:{if((d|0)!=8209){break m}a=q[a+8>>2];q[e+4>>2]=0;b=a;f=q[a+76>>2];a=q[a+72>>2];if(!n[q[a+156>>2]](b,f,8208,e+4|0,q[a+20>>2])){break m}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+4>>2];if(r[c+69|0]){n:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break n}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){o:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break o}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}q[c+72>>2]=q[c+72>>2]+1}Da=e+16|0}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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;a:{b:{if(r[a+12|0]!=1){break b}q[a+16>>2]=-1;c:{d:{c=q[a+36>>2];if(!c){break d}d=q[b+36>>2];if(!d){break d}k=q[b+24>>2];m=q[a+24>>2];p=q[67829];g=q[67828];l=g;while(1){e:{f:{n=m>>>0>f>>>0;g:{if(!n){q[160744]=g;q[160745]=p;i=l;break g}i=q[q[a+28>>2]+(f<<3)>>2]}o=k>>>0<=e>>>0;j=271312;h:{if(o){break h}j=q[b+28>>2]+(e<<3)|0}i:{if((i|0)==q[j>>2]){e=e+1|0;break i}j:{if(!n){q[160744]=g;q[160745]=p;i=l;break j}i=q[q[a+28>>2]+(f<<3)>>2]}if(i>>>0>=t[(o?271312:q[b+28>>2]+(e<<3)|0)>>2]){break f}}f=f+1|0;h=h+1|0;break e}e=e+1|0}if(e>>>0>>0?c>>>0>f>>>0:0){continue}break}l=(c-f|0)+h|0;if(!Yi(a,l)){break b}f=q[67829];k=f;p=f;j=q[67828];i=j;h=l;while(1){n=q[a+24>>2];f=c+ -1|0;m=n>>>0>f>>>0;k:{if(!m){q[160744]=j;q[160745]=k;e=i;break k}e=q[q[a+28>>2]+(f<<3)>>2]}g=e;e=d+ -1|0;s=t[b+24>>2]<=e>>>0;o=271312;l:{if(s){break l}o=q[b+28>>2]+(e<<3)|0}m:{if((g|0)==q[o>>2]){h=h+ -1|0;n:{if(!m){q[160744]=j;q[160745]=k;c=642976;break n}c=q[a+28>>2]+(f<<3)|0}o:{if(n>>>0<=h>>>0){q[160744]=j;q[160745]=k;d=642976;break o}d=q[a+28>>2]+(h<<3)|0}g=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=g;p:{if(t[a+24>>2]<=f>>>0){q[160744]=j;q[160745]=k;c=p;break p}c=q[(q[a+28>>2]+(f<<3)|0)+4>>2]}q:{if(t[a+36>>2]<=c>>>0){c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;q[160744]=j;q[160745]=k;d=642976;break q}d=q[a+40>>2]+(c<<6)|0}c=271312;g=q[(t[b+24>>2]>e>>>0?q[b+28>>2]+(e<<3)|0:271312)+4>>2];if(t[b+36>>2]>g>>>0){c=q[b+40>>2]+(g<<6)|0}g=q[c+56>>2]^-1;m=q[c+60>>2]^-1;n=q[d+56>>2];o=q[d+60>>2];s=q[c+48>>2]^-1;u=q[c+52>>2]^-1;v=q[d+48>>2];w=q[d+52>>2];x=q[c+40>>2]^-1;y=q[c+44>>2]^-1;z=q[d+40>>2];A=q[d+44>>2];B=q[c+32>>2]^-1;C=q[c+36>>2]^-1;D=q[d+32>>2];E=q[d+36>>2];G=q[c+24>>2]^-1;H=q[c+28>>2]^-1;J=q[d+24>>2];K=q[d+28>>2];L=q[c+16>>2]^-1;M=q[c+20>>2]^-1;N=q[d+16>>2];O=q[d+20>>2];P=q[c+8>>2]^-1;Q=q[c+12>>2]^-1;R=q[d+8>>2];S=q[d+12>>2];T=q[c>>2]^-1;U=q[c+4>>2]^-1;V=q[d>>2];d=q[d+4>>2];r:{if(t[a+24>>2]<=h>>>0){q[160744]=j;q[160745]=k;c=p;break r}c=q[(q[a+28>>2]+(h<<3)|0)+4>>2]}g=g&n;m=m&o;n=s&v;o=u&w;s=x&z;u=y&A;v=B&D;w=C&E;x=G&J;y=H&K;z=L&N;A=M&O;B=P&R;C=Q&S;D=T&V;d=d&U;s:{if(t[a+36>>2]<=c>>>0){c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;q[160744]=j;q[160745]=k;c=642976;break s}c=q[a+40>>2]+(c<<6)|0}q[c+56>>2]=g;q[c+60>>2]=m;q[c+48>>2]=n;q[c+52>>2]=o;q[c+40>>2]=s;q[c+44>>2]=u;q[c+32>>2]=v;q[c+36>>2]=w;q[c+24>>2]=x;q[c+28>>2]=y;q[c+16>>2]=z;q[c+20>>2]=A;q[c+8>>2]=B;q[c+12>>2]=C;q[c>>2]=D;q[c+4>>2]=d;break m}t:{if(!m){q[160744]=j;q[160745]=k;g=i;break t}g=q[q[a+28>>2]+(f<<3)>>2]}if(g>>>0<=t[(s?271312:q[b+28>>2]+(e<<3)|0)>>2]){f=c;break m}h=h+ -1|0;u:{if(!m){q[160744]=j;q[160745]=k;c=642976;break u}c=q[a+28>>2]+(f<<3)|0}v:{if(n>>>0<=h>>>0){q[160744]=j;q[160745]=k;e=642976;break v}e=q[a+28>>2]+(h<<3)|0}g=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=g;e=d}if(!f){c=l;break c}c=f;d=e;if(d){continue}break}c=l;break c}f=c;h=c;if(!Yi(a,c)){break b}}if(f){d=q[67828];p=q[67829];e=h;b=f;while(1){e=e+ -1|0;i=q[a+24>>2];b=b+ -1|0;w:{if(i>>>0<=b>>>0){q[160744]=d;q[160745]=p;l=642976;break w}l=q[a+28>>2]+(b<<3)|0}x:{if(i>>>0<=e>>>0){q[160744]=d;q[160745]=p;i=642976;break x}i=q[a+28>>2]+(e<<3)|0}g=q[l+4>>2];q[i>>2]=q[l>>2];q[i+4>>2]=g;if(b){continue}break}h=h-f|0}if(h){break a}if(t[a+36>>2]<=c>>>0){break b}Yi(a,c)}return}I(228596,228603,653,228615);F()}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,m=0,n=0,p=0;f=Da-48|0;Da=f;e=q[a+24>>2];if(e>>>0>=6){p=a+128|0;d=6;while(1){i=n;n=d;d=p;c=q[d+12>>2];q[f+40>>2]=q[d+8>>2];q[f+44>>2]=c;c=q[d+4>>2];q[f+32>>2]=q[d>>2];q[f+36>>2]=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];a:{if(k>>>0<=i>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(i<<5)|0}l=r[a+176|0];b:{if(!l){break b}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}c=i|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(c<<5)|0}d:{if(!l){break d}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}j=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[f+32>>3]=v[f+32>>3]+v[d>>3];v[f+40>>3]=v[f+40>>3]+v[c>>3];d=q[f+44>>2];q[f+24>>2]=q[f+40>>2];q[f+28>>2]=d;d=q[f+36>>2];q[f+16>>2]=q[f+32>>2];q[f+20>>2]=d;d=i+2|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}e:{if(k>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+36>>2]+(d<<5)|0}f:{if(!l){break f}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break f}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break f}q[d+20>>2]=0}c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}g:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break g}c=q[a+36>>2]+(c<<5)|0}h:{if(!l){break h}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break h}j=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break h}q[c+20>>2]=0}v[f+16>>3]=v[f+16>>3]+v[d>>3];v[f+24>>3]=v[f+24>>3]+v[c>>3];d=q[f+28>>2];q[f+8>>2]=q[f+24>>2];q[f+12>>2]=d;d=q[f+20>>2];q[f>>2]=q[f+16>>2];q[f+4>>2]=d;d=i+4|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}i:{if(k>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+36>>2]+(d<<5)|0}j:{if(!l){break j}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break j}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break j}q[d+20>>2]=0}c=i+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}k:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break k}c=q[a+36>>2]+(c<<5)|0}l:{if(!l){break l}i=q[c+20>>2];if(!i|(i|0)!=q[a+168>>2]){break l}k=q[c+24>>2];l=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[k+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((i|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break l}q[c+20>>2]=0}v[f>>3]=v[f>>3]+v[d>>3];v[f+8>>3]=v[f+8>>3]+v[c>>3];pb(a,b,f+32|0,f+16|0,f);d=n+6|0;e=q[a+24>>2];if(d>>>0<=e>>>0){continue}break}}Da=f+48|0}function jX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=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:{d=a+ -1|0;if(d>>>0>30){d=a+ -255|0;if(d>>>0>38){break x}y:{switch(d-1|0){default:hX(b+20|0,b);return;case 34:gX(b,c);break a;case 35:fX(b,c);break a;case 36:eX(b,c);break a;case 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: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 x;case 37:break y}}dX(b,c);break a}switch(d-1|0){case 17:case 18:break j;case 19:break k;case 20:break l;case 2:break m;case 3:break n;case 4:break o;case 5:break p;case 6:break q;case 22:break r;case 23:break s;case 24:break t;case 25:break u;case 28:break v;case 29:break w;case 0:case 7:case 10:case 11:case 13:case 14:case 15:case 26:break x;case 9:break c;case 12:break d;case 8:break e;case 27:break f;case 1:case 21:break h;default:break g}}cX(a,b);break i}bX(b,c);break a}aX(b,c);break a}$W(b,c);break a}_W(b,c);break a}YW(b,c);break a}XW(b,c);break a}WW(b,c);break a}VW(b,c);break a}UW(b,c);break a}TW(b,c);break a}h=v[b+136>>3];g=q[b+128>>2];i=q[b+132>>2];a=q[b+24>>2];z:{A:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){break A}d=q[b+36>>2]+(a<<5)|0;break z}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;d=642976}B:{if(!r[b+176|0]){break B}f=q[d+20>>2];if(!f|(f|0)!=q[b+168>>2]){break B}j=q[d+24>>2];k=q[b+172>>2];e=v[d>>3];a=0;while(1){e=e+v[j+(a<<3)>>3]*+u[k+(a<<2)>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=e;if(q[d+16>>2]<0){break B}q[d+20>>2]=0}e=v[d>>3];o[c|0]=0;v[b+136>>3]=h+e;q[b+128>>2]=g;q[b+132>>2]=i;break b}g=q[b+136>>2];i=q[b+140>>2];h=v[b+128>>3];a=q[b+24>>2];C:{D:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){break D}d=q[b+36>>2]+(a<<5)|0;break C}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;d=642976}E:{if(!r[b+176|0]){break E}f=q[d+20>>2];if(!f|(f|0)!=q[b+168>>2]){break E}j=q[d+24>>2];k=q[b+172>>2];e=v[d>>3];a=0;while(1){e=e+v[j+(a<<3)>>3]*+u[k+(a<<2)>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=e;if(q[d+16>>2]<0){break E}q[d+20>>2]=0}e=v[d>>3];o[c|0]=0;q[b+136>>2]=g;q[b+140>>2]=i;v[b+128>>3]=h+e;break b}SW(b,c);break b}F:{if(r[b+74|0]){a=q[b+84>>2];break F}o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;a=(a+q[b+76>>2]|0)+7>>>3|0;q[b+84>>2]=a}if(r[b+16|0]){break i}c=q[b+12>>2];d=c+a|0;a=q[b+4>>2];if(d>>>0>a>>>0){break i}q[b+24>>2]=0;if(c>>>0<=a>>>0){q[b+12>>2]=d;return}o[b+16|0]=1;q[b+12>>2]=a;return}return}a=q[b+24>>2];q[b+24>>2]=0;q[b+80>>2]=q[b+80>>2]+(a>>>1|0);return}a=q[b+24>>2];q[b+24>>2]=0;q[b+76>>2]=q[b+76>>2]+(a>>>1|0);return}zu(b,b+108|0,1);return}zu(b,b+116|0,2);return}o[b+72|0]=1;break a}if(r[b+16|0]){o[b+40|0]=1}a=q[b+92>>2];G:{H:{if(a){a=a+ -1|0;q[b+92>>2]=a;if(t[b+100>>2]<=a>>>0){break H}a=q[b+104>>2]+w(a,28)|0;break G}o[b+88|0]=1}q[160750]=q[67834];a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}d=q[a+4>>2];q[b+44>>2]=q[a>>2];q[b+48>>2]=d;q[b+68>>2]=q[a+24>>2];c=a+16|0;d=q[c+4>>2];q[b+60>>2]=q[c>>2];q[b+64>>2]=d;c=a+8|0;d=q[c+4>>2];q[b+52>>2]=q[c>>2];q[b+56>>2]=d;c=q[a+8>>2];d=q[a+12>>2];f=q[a>>2];g=q[a+4>>2];o[b+16|0]=r[a+16|0];q[b+8>>2]=c;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=g;return}if(!r[b+73|0]){if(!r[b+74|0]){o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;q[b+84>>2]=(a+q[b+76>>2]|0)+7>>>3}o[b+73|0]=1}}q[b+24>>2]=0}function zP(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,o=0;j=Da-96|0;Da=j;q[j+80>>2]=0;q[j+84>>2]=0;q[j+72>>2]=0;q[j+76>>2]=0;g=j- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[j+56>>2]=0;q[j+60>>2]=0;q[j+48>>2]=0;q[j+52>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;m=c+10|0;g=Oa(a,8,0,m,0,j+92|0);q[b+20>>2]=g;k=q[j+92>>2];if(!k){a:{if(!c){break a}k=0;if(!e){while(1){e=n[d](f,k)|0;b:{if(!e){break b}i=0;c:{d:{if(!Ta(354032,e)){break d}i=1;if(!Ta(354038,e)){break d}i=2;if(!Ta(354044,e)){break d}i=3;if(!Ta(354053,e)){break d}i=4;if(!Ta(354060,e)){break d}i=5;if(!Ta(354067,e)){break d}i=6;if(!Ta(354070,e)){break d}i=7;if(!Ta(354085,e)){break d}i=8;if(!Ta(354091,e)){break d}if(Ta(354104,e)){break c}i=9}i=i<<2;h=i+(j+48|0)|0;if(q[h>>2]){break c}q[h>>2]=1;q[j+i>>2]=k}i=Bl(e);if(!(i&2147483647)){break b}h=j+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((i|0)<=915){e=i+ -160|0;if(e>>>0<=13){break k}e=i+ -538|0;if(e>>>0>1){if((i|0)!=713){break e}e=4;break f}if(e-1){break n}break o}e=i+ -937|0;if(e>>>0<=19){break j}e=i+ -8725|0;if(e>>>0>4){e=0;if((i|0)==916){break f}break e}switch(e-1|0){case 3:break m;case 0:case 1:case 2:break e;default:break l}}e=9;break f}e=8;break f}e=6;break f}e=2;break f}switch(e-1|0){case 12:break i;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break e;default:break g}}p:{switch(e-1|0){case 18:break h;case 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:case 16:case 17:break e;default:break p}}e=1;break f}e=3;break f}e=5;break f}e=7}q[h+(e<<2)>>2]=2}q[g+4>>2]=k;q[g>>2]=i;g=g+8|0}k=k+1|0;if((k|0)!=(c|0)){continue}break a}}while(1){i=n[d](f,k)|0;if(i){h=0;q:{r:{if(!Ta(354032,i)){break r}h=1;if(!Ta(354038,i)){break r}h=2;if(!Ta(354044,i)){break r}h=3;if(!Ta(354053,i)){break r}h=4;if(!Ta(354060,i)){break r}h=5;if(!Ta(354067,i)){break r}h=6;if(!Ta(354070,i)){break r}h=7;if(!Ta(354085,i)){break r}h=8;if(!Ta(354091,i)){break r}if(Ta(354104,i)){break q}h=9}h=h<<2;l=h+(j+48|0)|0;if(q[l>>2]){break q}q[l>>2]=1;q[j+h>>2]=k}l=Bl(i);if(l&2147483647){o=j+48|0;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if((l|0)<=915){h=l+ -160|0;if(h>>>0<=13){break z}h=l+ -538|0;if(h>>>0>1){if((l|0)!=713){break s}h=4;break t}if(h-1){break B}break A}h=l+ -937|0;if(h>>>0<=19){break y}h=l+ -8725|0;if(h>>>0>4){h=0;if((l|0)==916){break t}break s}C:{switch(h-1|0){default:h=2;break t;case 0:case 1:case 2:break s;case 3:break C}}h=6;break t}h=8;break t}h=9;break t}switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break s;case 12:break v;default:break x}}switch(h-1|0){case 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:case 16:case 17:break s;case 18:break w;default:break u}}h=7;break t}h=5;break t}h=3;break t}h=1}q[o+(h<<2)>>2]=2}q[g+4>>2]=k;q[g>>2]=l;g=g+8|0}n[e](f,i)}k=k+1|0;if((k|0)!=(c|0)){continue}break}}if(q[j+48>>2]==1){q[g>>2]=916;q[g+4>>2]=q[j>>2];g=g+8|0}if(q[j+52>>2]==1){q[g>>2]=937;q[g+4>>2]=q[j+4>>2];g=g+8|0}if(q[j+56>>2]==1){q[g>>2]=8725;q[g+4>>2]=q[j+8>>2];g=g+8|0}if(q[j+60>>2]==1){q[g>>2]=173;q[g+4>>2]=q[j+12>>2];g=g+8|0}if(q[j+64>>2]==1){q[g>>2]=713;q[g+4>>2]=q[j+16>>2];g=g+8|0}if(q[j+68>>2]==1){q[g>>2]=956;q[g+4>>2]=q[j+20>>2];g=g+8|0}if(q[j+72>>2]==1){q[g>>2]=8729;q[g+4>>2]=q[j+24>>2];g=g+8|0}if(q[j+76>>2]==1){q[g>>2]=160;q[g+4>>2]=q[j+28>>2];g=g+8|0}if(q[j+80>>2]==1){q[g>>2]=538;q[g+4>>2]=q[j+32>>2];g=g+8|0}if(q[j+84>>2]==1){q[g>>2]=539;q[g+4>>2]=q[j+36>>2];g=g+8|0}k=q[b+20>>2];e=g-k|0;d=e>>3;D:{if(!e){if(k){n[q[a+8>>2]](a,k)}q[b+20>>2]=0;k=q[j+92>>2];if(k){break D}k=163;q[j+92>>2]=163;break D}if(d>>>0>>1>>>0){k=Oa(a,8,m,d,k,j+92|0);q[b+20>>2]=k;q[j+92>>2]=0}Gc(k,d,8,745);k=q[j+92>>2]}q[b+16>>2]=d}Da=j+96|0;return k|0}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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;d=w(b,1348)+a|0;k=q[d- -64>>2];t=q[d+56>>2];u=k+w(t,44)|0;a:{if((b|0)==1){v=r[q[(q[q[q[a+2748>>2]>>2]+8>>2]<<2)+284112>>2]+12|0];if((t|0)<1){break a}d=k;while(1){g=r[d+12|0];b:{if(g&4){break b}c:{d:{c=q[d+24>>2];e=q[d+20>>2];e:{if(!c|!e){break e}h=1;if(!q[c+20>>2]){break d}i=r[c+12|0];if(i&8){q[c+20>>2]=0;o[c+12|0]=i&247;e=q[d+20>>2];break e}if(!(g&8)){break d}e=0;q[d+20>>2]=0;o[d+12|0]=g&247}h=(e|0)!=0;if(!c|e){break d}i=d;e=q[c+20>>2];if(e){break c}break b}if(!h){break b}i=h?c:0;c=d}g=q[e+8>>2];q[c+8>>2]=g;e=r[c+12|0]|4;o[c+12|0]=e;if(!(q[i+20>>2]|!i)){c=q[c+4>>2];h=e;e=r[i+12|0];c=$g(a,1,q[i+4>>2]-c|0,g-c|0,h,e);o[i+12|0]=e|4;q[i+8>>2]=c+g}j=j?j:d}d=d+44|0;if(d>>>0>>0){continue}break}}f:{if((t|0)<1){i=0;break f}d=k;i=0;while(1){s=r[d+12|0];g:{if(s&4){break g}e=q[d+24>>2];if(!e){i=i+1|0;break g}if(q[e+20>>2]){c=q[e+4>>2];f=q[e+8>>2];c=$g(a,b,q[d+4>>2]-c|0,f-c|0,r[e+12|0],s);o[d+12|0]=s|4;q[d+8>>2]=c+f;break g}if(!j){l=q[d+4>>2];p=q[e+4>>2]-l|0;n=$g(a,b,p,0,s,r[e+12|0]);h:{if((n|0)<=95){g=l+(p>>1)|0;j=g+32&-64;c=(n|0)<65;m=j-(c?32:38)|0;f=g-m|0;h=f>>31;j=j|(c?32:26);c=g-j|0;g=c>>31;c=((h^f+h)<(g^c+g)?m:j)-((n|0)/2|0)|0;q[d+8>>2]=c;q[e+8>>2]=c+n;j=q[d+8>>2];break h}j=l+32&-64;q[d+8>>2]=j}c=s|4;o[d+12|0]=c;x=e,y=$g(a,b,p,j-l|0,c,r[e+12|0])+j|0,q[x+8>>2]=y;j=d;break g}h=q[j+4>>2];g=q[j+8>>2];f=q[d+4>>2];m=q[e+4>>2]-f|0;c=r[e+12|0];l=$g(a,b,m,0,s,c);i:{if(c&4){f=q[e+8>>2]-l|0;c=d;break i}c=g+(f-h|0)|0;n=c+(m>>1)|0;j:{if((l|0)<=95){f=n+32&-64;c=(l|0)<65;h=f-(c?32:38)|0;g=n-h|0;p=g>>31;f=f|(c?32:26);c=n-f|0;m=c>>31;f=(p^g+p)<(m^c+m)?h:f;c=(l|0)/2|0;q[d+8>>2]=f-c;f=c+f|0;break j}f=c+32|0;h=f&-64;c=l>>>1|0;g=(h+c|0)-n|0;p=g>>31;f=(f+m&-64)-l|0;c=f+(c-n|0)|0;m=c>>31;c=(p^g+p)<(m^c+m)?h:f;q[d+8>>2]=c;f=c+l|0}c=e}q[c+8>>2]=f;o[d+12|0]=s|4;o[e+12|0]=r[e+12|0]|4;if(d>>>0<=k>>>0){break g}f=q[d+ -36>>2];c=q[d+8>>2];k:{if(v){if((c|0)>(f|0)){break k}break g}if((c|0)>=(f|0)){break g}}c=q[e+8>>2]-f|0;e=c>>31;if((e^c+e)<17){break g}q[d+8>>2]=f}d=d+44|0;if(d>>>0>>0){continue}break}f=1}if(b){break a}a=t+ -6|0;if(a>>>0>6){break a}d=4;h=2;c=k;l:{switch(a-1|0){case 5:c=k+44|0;d=9;h=5;break;case 0:case 1:case 2:case 3:case 4:break a;default:break l}}e=w(h,44)+k|0;a=q[e+4>>2];g=w(d,44)+k|0;a=a-q[g+4>>2]+(a-q[c+4>>2])|0;b=a>>31;if((b^a+b)>7){break a}b=q[g+8>>2];a=(q[e+8>>2]<<1)-q[c+8>>2]|0;q[g+8>>2]=a;a=b-a|0;b=q[g+24>>2];if(b){q[b+8>>2]=q[b+8>>2]-a}if((t|0)==12){q[k+360>>2]=q[k+360>>2]-a;q[k+492>>2]=q[k+492>>2]-a}a=w(d,44)+k|0;o[a+12|0]=r[a+12|0]|4;if(!b){break a}o[b+12|0]=r[b+12|0]|4}if(!(!f|!i&(j|0)!=0)){d=k;while(1){b=r[d+12|0];m:{if(b&4){break m}f=d;n:{o:{p:{g=q[d+28>>2];if(!g){break p}e=q[g+4>>2];c=q[d+4>>2];a=e-c|0;i=a>>31;if((i^a+i)>79){break p}c=c+(q[g+8>>2]-e|0)|0;break o}c=d;if(!j){c=q[d+4>>2]+32&-64;q[d+8>>2]=c;j=d;break n}q:{while(1){g=c;c=c+ -44|0;a=0;if(c>>>0>>0){break q}if(!(r[g+ -32|0]&4)){continue}break}a=1}e=d;r:{while(1){i=e;e=e+44|0;if(e>>>0>=u>>>0){break r}if(!(r[i+56|0]&4)){continue}break}if(!(a&c>>>0>>0)|e>>>0<=d>>>0){break r}h=q[g+ -36>>2];a=q[i+48>>2];e=q[g+ -40>>2];c=h;if((a|0)==(e|0)){break o}c=bb(q[d+4>>2]-e|0,q[i+52>>2]-h|0,a-e|0)+h|0;q[d+8>>2]=c;b=r[d+12|0];break n}c=q[j+8>>2]+((q[d+4>>2]-q[j+4>>2]|0)+16&-32)|0}q[f+8>>2]=c}o[d+12|0]=b|4;s:{if(d>>>0<=k>>>0){break s}a=q[d+ -36>>2];t:{if(v){if((c|0)>(a|0)){break t}break s}if((c|0)>=(a|0)){break s}}b=q[d+24>>2];if(!b){break s}b=q[b+8>>2]-a|0;e=b>>31;if((e^b+e)<17){break s}q[d+8>>2]=a;c=a}if(!(r[d+56|0]&4)|d+44>>>0>=u>>>0){break m}e=q[d+52>>2];u:{if(v){if((c|0)<(e|0)){break u}break m}if((c|0)<=(e|0)){break m}}a=q[d+24>>2];if(!a){break m}a=q[a+8>>2]-q[d+ -36>>2]|0;b=a>>31;if((b^a+b)<17){break m}q[d+8>>2]=e}d=d+44|0;if(d>>>0>>0){continue}break}}}function bh(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;m=Da-16|0;Da=m;q[m+12>>2]=0;q[a+1404>>2]=0;q[a+1392>>2]=0;q[a+56>>2]=0;q[a+44>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;d=q[a>>2];k=q[a+16>>2];n=q[a+8>>2];t=q[a+12>>2];u=q[a+4>>2];g=p[b>>1];a:{b:{if(g>>>0<=8){if(q[a+40>>2]){break b}q[a+32>>2]=8;q[a+40>>2]=a+2760;break b}c=q[a+32>>2];if(c>>>0>=g>>>0){break b}e=a;h=d;f=c;g=g+3&-4;i=g;c=q[a+40>>2];if((c|0)==(a+2760|0)){q[a+40>>2]=0;c=0}C=e,D=Oa(h,4,f,i,c,m+12|0),q[C+40>>2]=D;if(q[m+12>>2]){break a}q[a+32>>2]=g}c=p[b+2>>1];e=c+2|0;c:{if(e>>>0<=96){if(q[a+28>>2]){break c}q[a+20>>2]=96;q[a+28>>2]=a+2792;break c}f=e;e=q[a+20>>2];if(f>>>0<=e>>>0){break c}h=a;f=c+11&-8;g=f;c=q[a+28>>2];if((c|0)==(a+2792|0)){q[a+28>>2]=0;c=0}C=h,D=Oa(d,40,e,g,c,m+12|0),q[C+28>>2]=D;if(q[m+12>>2]){break a}q[a+20>>2]=f;c=p[b+2>>1]}q[a+24>>2]=c;c=p[b>>1];q[a+1416>>2]=-1;q[a+68>>2]=2;q[a+36>>2]=c;if((Hj(b)|0)==1){q[a+1416>>2]=1;q[a+68>>2]=-2}q[a+12>>2]=t;q[a+4>>2]=u;q[a+2752>>2]=0;q[a+2756>>2]=0;q[a+16>>2]=k;q[a+8>>2]=n;v=q[a+24>>2];if(!v){break a}h=q[a+28>>2];x=h+w(v,40)|0;d=q[b+12>>2];y=w(s[q[q[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((v|0)>=1){e=q[b+4>>2];g=q[b+8>>2];c=h;i=p[d>>1];f=c+w(i,40)|0;d=f;while(1){p[c+2>>1]=1028;j=q[e>>2];p[c+12>>1]=j;p[c+14>>1]=q[e+4>>2];j=Ma(j,u)+n|0;q[c+4>>2]=j;q[c+16>>2]=j;j=Ma(q[e+4>>2],t)+k|0;q[c+8>>2]=j;q[c+20>>2]=j;j=q[b+4>>2]+(i<<3)|0;p[f+12>>1]=q[j>>2];p[f+14>>1]=q[j+4>>2];j=r[g|0]&3;p[c>>1]=j?((j|0)==2)<<1:1;z=p[c+14>>1]-p[d+14>>1]|0;j=z>>31;A=p[c+12>>1]-p[d+12>>1]|0;B=A>>31;if(((j^j+z)+(B^B+A)|0)<(y|0)){p[d>>1]=s[d>>1]|32}q[c+36>>2]=d;q[d+32>>2]=c;d:{if((c|0)!=(f|0)){d=c;break d}l=l+1|0;if((l|0)>=p[b>>1]){d=c;f=c;break d}i=p[q[b+12>>2]+(l<<1)>>1];d=w(i,40)+h|0;f=d}g=g+1|0;e=e+8|0;c=c+40|0;if(c>>>0>>0){continue}break}d=q[b+12>>2]}b=q[a+36>>2];if((b|0)>=1){c=q[a+40>>2];f=c+(b<<2)|0;e=0;while(1){q[c>>2]=w(e<<16>>16,40)+h;e=p[d>>1]+1|0;d=d+2|0;c=c+4|0;if(c>>>0>>0){continue}break}l=q[a+40>>2];u=l+(b<<2)|0;j=(y<<1)+ -1|0;while(1){e=q[l>>2];c=e;while(1){e:{f=c;g=p[c+12>>1];c=q[c+36>>2];if((e|0)==(c|0)){b=s[f+14>>1];break e}b=p[f+14>>1];i=b-p[c+14>>1]|0;a=i>>31;k=g-p[c+12>>1]|0;d=k>>31;if(((a^a+i)+(d^d+k)|0)<(j|0)){continue}}break}q[f+24>>2]=0;q[f+28>>2]=0;d=0;e=f;a=e;c=0;while(1){k=g<<16;g=b<<16;e=q[e+32>>2];b=p[e+14>>1];c=(b-(g>>16)|0)+c|0;i=c>>31;g=p[e+12>>1];d=(g-(k>>16)|0)+d|0;k=d>>31;f:{if(((i^c+i)+(k^d+k)|0)<(y|0)){p[e>>1]=s[e>>1]|16;break f}k=0-d|0;i=(e-a|0)/40|0;q[a+24>>2]=i;q[e+28>>2]=0-i;g:{if((c|0)>=(d|0)){t=(c|0)>=(k|0);i=t?2:-1;n=t?d:c;d=t?c:k;break g}k=(c|0)>=(k|0);i=k?1:-2;n=k?c:d;d=k?d:0-c|0}c=n>>31;d=(d|0)>(w(c+n^c,14)|0)?i:4;o[a+3|0]=d;c=q[a+32>>2];if((e|0)!=(c|0)){while(1){o[c+3|0]=d;o[c+2|0]=d;c=q[c+32>>2];if((e|0)!=(c|0)){continue}break}}o[e+2|0]=d;a=(f-e|0)/40|0;q[e+24>>2]=a;d=0;q[f+28>>2]=0-a;a=e;c=0}if((e|0)!=(f|0)){continue}break}l=l+4|0;if(l>>>0>>0){continue}break}}if((v|0)<=0){break a}c=h;while(1){d=s[c>>1];h:{if(d&16|r[c+2|0]!=4|r[c+3|0]!=4){break h}e=q[c+24>>2];a=w(e,40)+c|0;b=p[c+12>>1];i=p[a+12>>1]-b|0;g=b;f=q[c+28>>2];b=w(f,40)+c|0;if((i^g-p[b+12>>1])<0){break h}g=p[c+14>>1];if((g-p[b+14>>1]^p[a+14>>1]-g)<0){break h}p[c>>1]=d|16;d=b;b=(w(e-f|0,40)|0)/40|0;q[d+24>>2]=b;q[a+28>>2]=0-b}c=c+40|0;if(c>>>0>>0){continue}break}while(1){c=s[h>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=r[h+3|0];b=r[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=p[h+12>>1];d=q[h+28>>2];a=w(d,40)+h|0;e=p[h+14>>1];f=q[h+24>>2];b=w(f,40)+h|0;if(!Eq(c-p[a+12>>1]|0,e-p[a+14>>1]|0,p[b+12>>1]-c|0,p[b+14>>1]-e|0)){break i}c=a;a=(w(f-d|0,40)|0)/40|0;q[c+24>>2]=a;q[b+28>>2]=0-a;c=s[h>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}p[h>>1]=c|16}h=h+40|0;if(h>>>0>>0){continue}break}}Da=m+16|0;return q[m+12>>2]}function OT(a,b,c){a=a|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,u=0,v=0,x=0;f=Da-32|0;Da=f;a:{if(r[c+16|0]&16){break a}e=q[c+76>>2];if(!e){break a}a=q[c+88>>2];while(1){if((r[(a+w(d,20)|0)+15|0]&15)!=7){d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}q[f+24>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;a=q[b+72>>2];if(!n[q[a+156>>2]](b,q[b+76>>2],9676,f+8|0,q[a+20>>2])){break a}v=f,x=Jt(9676),o[v+26|0]=x;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b=q[c+76>>2];b:{if(!b){break b}d=0;while(1){if(!r[c+68|0]){break b}a=q[c+88>>2];j=a+w(d,20)|0;e=r[j+15|0];c:{if(!((e|0)==(g|0)|(e&15)!=7)){p[f+4>>1]=s[f+20>>1];o[f+6|0]=r[f+22|0];m=q[j+4>>2];k=q[j+8>>2];j=q[f+24>>2];g=q[f+8>>2];d:{if(d>>>0>=b>>>0){break d}while(1){if(r[(w(d,20)+a|0)+18|0]!=18){break d}e:{if(r[c+69|0]){b=c;f:{if(q[c+92>>2]==(a|0)){a=d;h=a;if(q[c+80>>2]==(a|0)){break f}}if(!Va(c,1,1)){d=q[c+72>>2];break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;a=q[d+4>>2];h=q[c+92>>2]+w(q[c+80>>2],20)|0;q[h>>2]=q[d>>2];q[h+4>>2]=a;q[h+16>>2]=q[d+16>>2];a=q[d+12>>2];q[h+8>>2]=q[d+8>>2];q[h+12>>2]=a;d=q[c+72>>2];h=q[c+80>>2]}q[b+80>>2]=h+1}d=d+1|0;q[c+72>>2]=d}if(!r[c+68|0]|d>>>0>=t[c+76>>2]){break d}a=q[c+88>>2];if((e|0)==r[(a+w(d,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a+8>>2]=k;q[a+4>>2]=m;q[a>>2]=g;p[a+12>>1]=s[f+4>>1];o[a+14|0]=r[f+6|0];q[a+16>>2]=j;o[a+15|0]=e;q[c+80>>2]=q[c+80>>2]+1}g=e;break c}if(r[c+69|0]){b=c;g:{if(q[c+92>>2]==(a|0)){a=d;e=a;if(q[c+80>>2]==(a|0)){break g}}if(!Va(c,1,1)){break c}d=q[c+88>>2]+w(q[c+72>>2],20)|0;a=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;d=q[c+72>>2];e=q[c+80>>2]}q[b+80>>2]=e+1}q[c+72>>2]=d+1}d=q[c+72>>2];b=q[c+76>>2];if(d>>>0>>0){continue}break}}Kc(c)}h=q[c+76>>2];if(h){g=h+ -1|0;a=0;d=q[c+88>>2];b=r[d+15|0];while(1){h:{if((a|0)==(g|0)){a=h;break h}a=a+1|0;if((b|0)==r[(d+w(a,20)|0)+15|0]){continue}}break}i=q[c+88>>2];b=r[i+15|0];d=0;while(1){g=a;i:{if(!(1<<(b&15)&142)){break i}j:{if(g-d>>>0<2){break j}k=w(d,20)+i|0;if(r[k+18|0]!=18){break j}j=d+1|0;if(j>>>0>=g>>>0){break j}m=g+ -1|0;a=j;k:{while(1){l:{u=w(a,20)+i|0;e=r[u+18|0];if(e>>>0<=63){l=e&31;if(32<=(e&63)>>>0){b=1<>>32-l;l=1<>1]&32;if(b?(a|0)!=(m|0):0){break m}if(!b){break l}break k}if((a|0)!=(m|0)){break m}a=m;break k}a=a+1|0;if((g|0)!=(a|0)){continue}break j}break}a=a+ -1|0}b=a+1|0;if(b-d>>>0>=2){kc(c,d,b)}q[f+24>>2]=q[k+16>>2];b=q[k+12>>2];q[f+16>>2]=q[k+8>>2];q[f+20>>2]=b;b=q[k+4>>2];q[f+8>>2]=q[k>>2];q[f+12>>2]=b;sb(k,w(j,20)+i|0,w(a-d|0,20));b=w(a,20)+i|0;q[b+16>>2]=q[f+24>>2];a=q[f+20>>2];q[b+8>>2]=q[f+16>>2];q[b+12>>2]=a;a=q[f+12>>2];q[b>>2]=q[f+8>>2];q[b+4>>2]=a}a=d;if(g>>>0<=a>>>0){break i}while(1){e=w(d,20)+i|0;b=r[e+18|0];n:{if(!((b|32)!=44|r[e+12|0]&32)){a=d+1|0;break n}if(!(1<>>0>31|d>>>0<=a>>>0){break n}b=r[e+14|0];if(!((b&16)>>>4|!(b&15))){break n}b=d+1|0;if(b-a>>>0>=2){kc(c,a,b)}q[f+24>>2]=q[e+16>>2];b=q[e+12>>2];q[f+16>>2]=q[e+8>>2];q[f+20>>2]=b;b=q[e+4>>2];q[f+8>>2]=q[e>>2];q[f+12>>2]=b;e=w(a,20)+i|0;sb(e+20|0,e,w(d-a|0,20));q[e+16>>2]=q[f+24>>2];b=q[f+20>>2];q[e+8>>2]=q[f+16>>2];q[e+12>>2]=b;b=q[f+12>>2];q[e>>2]=q[f+8>>2];q[e+4>>2]=b}d=d+1|0;if((g|0)!=(d|0)){continue}break}}e=q[c+76>>2];a=g+1|0;d=e>>>0>a>>>0?e:a;i=q[c+88>>2];b=r[(i+w(g,20)|0)+15|0];a=g;while(1){o:{a=a+1|0;if(a>>>0>=e>>>0){a=d;break o}if(r[(w(a,20)+i|0)+15|0]==(b&255)){continue}}break}d=g;if(d>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){o[c+164|0]=a&191;Da=f+32|0;return}I(264088,264058,160,264073);F()}function Wk(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;l=q[b+16>>2];i=q[b+32>>2];m=q[b+48>>2];n=q[b+36>>2];o=q[b+52>>2];p=q[b+4>>2];g=q[b+20>>2];h=q[a+4>>2];j=q[b>>2];B=q[a>>2];r=q[a+12>>2];k=q[a+8>>2];c=h+$$(((j+B|0)+(r^(r^k)&h)|0)+ -680876936|0,7)|0;s=q[b+12>>2];t=q[b+8>>2];e=$$(((p+r|0)+(c&(h^k)^k)|0)+ -389564586|0,12)+c|0;d=$$(((t+k|0)+(e&(c^h)^h)|0)+606105819|0,17)+e|0;f=$$(((h+s|0)+(c^d&(c^e))|0)+ -1044525330|0,22)+d|0;c=$$(((c+l|0)+(e^f&(d^e))|0)+ -176418897|0,7)+f|0;u=q[b+28>>2];v=q[b+24>>2];e=$$(((e+g|0)+(d^c&(d^f))|0)+1200080426|0,12)+c|0;d=$$(((d+v|0)+(f^e&(c^f))|0)+ -1473231341|0,17)+e|0;f=$$(((f+u|0)+(c^d&(c^e))|0)+ -45705983|0,22)+d|0;c=$$(((c+i|0)+(e^f&(d^e))|0)+1770035416|0,7)+f|0;w=q[b+44>>2];x=q[b+40>>2];e=$$(((e+n|0)+(d^c&(d^f))|0)+ -1958414417|0,12)+c|0;d=$$(((x+d|0)+(f^e&(c^f))|0)+ -42063|0,17)+e|0;f=$$(((f+w|0)+(c^d&(c^e))|0)+ -1990404162|0,22)+d|0;c=$$(((c+m|0)+(e^f&(d^e))|0)+1804603682|0,7)+f|0;y=q[b+60>>2];A=c+p|0;z=q[b+56>>2];e=$$(((e+o|0)+(d^c&(d^f))|0)+ -40341101|0,12)+c|0;b=$$(((z+d|0)+(f^e&(c^f))|0)+ -1502002290|0,17)+e|0;c=$$(((f+y|0)+(c^b&(c^e))|0)+1236535329|0,22)+b|0;d=$$((A+((b^c)&e^b)|0)+ -165796510|0,5)+c|0;f=b+w|0;b=$$(((e+v|0)+(c^b&(c^d))|0)+ -1069501632|0,9)+d|0;e=$$((f+(d^c&(b^d))|0)+643717713|0,14)+b|0;c=$$(((c+j|0)+(b^d&(b^e))|0)+ -373897302|0,20)+e|0;d=$$(((d+g|0)+((e^c)&b^e)|0)+ -701558691|0,5)+c|0;b=$$(((b+x|0)+(c^e&(c^d))|0)+38016083|0,9)+d|0;e=$$(((e+y|0)+(d^c&(b^d))|0)+ -660478335|0,14)+b|0;c=$$(((c+l|0)+(b^d&(b^e))|0)+ -405537848|0,20)+e|0;d=$$(((d+n|0)+((e^c)&b^e)|0)+568446438|0,5)+c|0;f=e+s|0;e=$$(((b+z|0)+(c^e&(c^d))|0)+ -1019803690|0,9)+d|0;f=$$((f+(d^(e^d)&c)|0)+ -187363961|0,14)+e|0;c=$$(((c+i|0)+(e^(e^f)&d)|0)+1163531501|0,20)+f|0;b=$$(((d+o|0)+((f^c)&e^f)|0)+ -1444681467|0,5)+c|0;d=$$(((e+t|0)+(c^f&(b^c))|0)+ -51403784|0,9)+b|0;e=$$(((f+u|0)+(b^c&(d^b))|0)+1735328473|0,14)+d|0;A=d+i|0;f=d^e;c=$$(((c+m|0)+(d^f&b)|0)+ -1926607734|0,20)+e|0;d=$$(((b+g|0)+(c^f)|0)+ -378558|0,4)+c|0;b=$$((A+(c^e^d)|0)+ -2022574463|0,11)+d|0;e=$$(((e+w|0)+(b^(c^d))|0)+1839030562|0,16)+b|0;c=$$(((c+z|0)+(e^(b^d))|0)+ -35309556|0,23)+e|0;d=$$(((d+p|0)+(c^(b^e))|0)+ -1530992060|0,4)+c|0;b=$$(((b+l|0)+(d^(c^e))|0)+1272893353|0,11)+d|0;e=$$(((e+u|0)+(b^(c^d))|0)+ -155497632|0,16)+b|0;c=$$(((c+x|0)+(e^(b^d))|0)+ -1094730640|0,23)+e|0;d=$$(((d+o|0)+(c^(b^e))|0)+681279174|0,4)+c|0;b=$$(((b+j|0)+(d^(c^e))|0)+ -358537222|0,11)+d|0;e=$$(((e+s|0)+(b^(c^d))|0)+ -722521979|0,16)+b|0;c=$$(((c+v|0)+(e^(b^d))|0)+76029189|0,23)+e|0;d=$$(((d+n|0)+(c^(b^e))|0)+ -640364487|0,4)+c|0;b=$$(((b+m|0)+(d^(c^e))|0)+ -421815835|0,11)+d|0;f=d+j|0;j=b^d;d=$$(((e+y|0)+(b^(c^d))|0)+530742520|0,16)+b|0;e=$$(((c+t|0)+(j^d)|0)+ -995338651|0,23)+d|0;c=$$((f+((e|b^-1)^d)|0)+ -198630844|0,6)+e|0;f=e+g|0;g=d+z|0;d=$$(((b+u|0)+(e^(c|d^-1))|0)+1126891415|0,10)+c|0;e=$$((g+(c^(d|e^-1))|0)+ -1416354905|0,15)+d|0;b=$$((f+((e|c^-1)^d)|0)+ -57434055|0,21)+e|0;f=e+x|0;g=d+s|0;d=$$(((c+m|0)+(e^(b|d^-1))|0)+1700485571|0,6)+b|0;e=$$((g+(b^(d|e^-1))|0)+ -1894986606|0,10)+d|0;c=$$((f+((e|b^-1)^d)|0)+ -1051523|0,15)+e|0;f=e+y|0;i=d+i|0;d=$$(((b+p|0)+(e^(c|d^-1))|0)+ -2054922799|0,21)+c|0;e=$$((i+(c^(d|e^-1))|0)+1873313359|0,6)+d|0;b=$$((f+((e|c^-1)^d)|0)+ -30611744|0,10)+e|0;c=$$(((c+v|0)+(e^(b|d^-1))|0)+ -1560198380|0,15)+b|0;d=$$(((d+o|0)+(b^(c|e^-1))|0)+1309151649|0,21)+c|0;e=$$(((e+l|0)+((d|b^-1)^c)|0)+ -145523070|0,6)+d|0;q[a>>2]=e+B;b=$$(((b+w|0)+(d^(e|c^-1))|0)+ -1120210379|0,10)+e|0;q[a+12>>2]=b+r;c=$$(((c+t|0)+(e^(b|d^-1))|0)+718787259|0,15)+b|0;q[a+8>>2]=c+k;C=a,D=$$(((d+n|0)+(b^(c|e^-1))|0)+ -343485551|0,21)+(c+h|0)|0,q[C+4>>2]=D}function yw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0,u=0,v=0;f=Da-32|0;Da=f;m=q[b+4>>2];a:{b:{if(!r[a+12|0]){break b}e=r[c+5|0]|r[c+4|0]<<8;if((e|0)==65535){break b}s=q[m+72>>2];if(s>>>0>=t[m+76>>2]){break b}u=q[m+96>>2];b=q[a+4>>2];c:{if(b>>>0>2){break c}d:{switch(b-1|0){default:b=q[a>>2];g=q[a+8>>2];d=g+(e<<1)|0;if(t[b+20>>2]>d>>>0){break a}h=q[b+24>>2];if(h>>>0>>0|h-d>>>0<4){break a}h=q[b+28>>2];q[b+28>>2]=h+ -1;if((h|0)<1){break a}h=r[d+3|0];e=r[(g+(e<<1)|0)+1|0];g=r[d+2|0];i=r[d|0];q[f+20>>2]=0;q[f+16>>2]=0;q[f+12>>2]=0;q[f+8>>2]=0;d=q[q[q[b+12>>2]+88>>2]+w(q[a+16>>2],20)>>2];b=q[b+4>>2];q[f+20>>2]=0;q[f+16>>2]=0;i=e|i<<8;e=q[b+72>>2];if(!n[q[e+204>>2]](b,q[b+76>>2],d,i,f+20|0,f+16|0,q[e+68>>2])){break a}Mf(b,d,f+28|0,f+24|0);q[f+20>>2]=q[f+20>>2]-q[f+28>>2];q[f+16>>2]=q[f+16>>2]-q[f+24>>2];b=q[a>>2];d=q[b+12>>2];d=q[q[d+88>>2]+w(q[d+72>>2],20)>>2];b=q[b+4>>2];q[f+12>>2]=0;q[f+8>>2]=0;e=q[b+72>>2];if(!n[q[e+204>>2]](b,q[b+76>>2],d,h|g<<8,f+12|0,f+8|0,q[e+68>>2])){break a}Mf(b,d,f+28|0,f+24|0);q[f+8>>2]=q[f+8>>2]-q[f+24>>2];b=w(s,20)+u|0;q[b+8>>2]=q[f+20>>2]+(q[f+28>>2]-q[f+12>>2]|0);q[b+12>>2]=q[f+16>>2]-q[f+8>>2];break c;case 0:d=q[a>>2];g=q[a+8>>2];b=g+(e<<1)|0;if(t[d+20>>2]>b>>>0){break a}h=q[d+24>>2];if(h>>>0>>0|h-b>>>0<4){break a}h=q[d+28>>2];q[d+28>>2]=h+ -1;if((h|0)<1){break a}i=r[b+2|0];j=r[b+3|0];k=r[b|0];l=r[(g+(e<<1)|0)+1|0];g=271312;h=271312;b=q[d+56>>2];e=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=Sc(e?b+e|0:271722,q[q[q[d+12>>2]+88>>2]+w(q[a+16>>2],20)>>2],q[d+48>>2]);if(e){d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=(b+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)+(r[e+1|0]|r[e|0]<<8)|0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=k<<8|l;h=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>e>>>0?(b+(e<<2)|0)+4|0:271312}e=q[a>>2];b=q[e+56>>2];d=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);k=d?b+d|0:271722;d=q[e+12>>2];e=Sc(k,q[q[d+88>>2]+w(q[d+72>>2],20)>>2],q[e+48>>2]);if(e){d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=(b+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)+(r[e+1|0]|r[e|0]<<8)|0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=j|i<<8;g=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>e>>>0?(b+(e<<2)|0)+4|0:271312}i=q[q[a>>2]+4>>2];d=i;b=q[d+36>>2];j=q[d+32>>2];d=b;b=r[h|0]|r[h+1|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=W$(j,d,b>>16,e);k=w(s,20)+u|0;l=(Ea&65535)<<16|b>>>16;b=r[g|0]|r[g+1|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=W$(j,d,b>>16,e);q[k+8>>2]=l-((Ea&65535)<<16|b>>>16);b=q[i+44>>2];d=b;i=q[i+40>>2];b=r[h+2|0]|r[h+3|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=W$(i,d,b>>16,e);j=(Ea&65535)<<16|b>>>16;b=r[g+2|0]|r[g+3|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=W$(i,d,b>>16,e);q[k+12>>2]=j-((Ea&65535)<<16|b>>>16);break c;case 1:break d}}b=q[a>>2];l=q[a+8>>2];g=l+(e<<1)|0;if(t[b+20>>2]>g>>>0){break a}d=q[b+24>>2];if(d>>>0>>0|d-g>>>0<8){break a}d=q[b+28>>2];q[b+28>>2]=d+ -1;if((d|0)<1){break a}h=r[g+6|0]|r[g+7|0]<<8;i=r[g+2|0]|r[g+3|0]<<8;j=q[b+4>>2];d=j;b=q[d+36>>2];k=q[d+32>>2];d=b;b=(r[(l+(e<<1)|0)+1|0]|r[g|0]<<8)<<16;e=b>>31;b=W$(k,d,b>>16,e);l=w(s,20)+u|0;v=(Ea&65535)<<16|b>>>16;b=r[g+4|0]|r[g+5|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=W$(k,d,b>>16,e);q[l+8>>2]=v-((Ea&65535)<<16|b>>>16);b=q[j+44>>2];d=b;g=q[j+40>>2];b=i<<8&16711680|i<<24;e=b>>31;b=W$(g,d,b>>16,e);i=(Ea&65535)<<16|b>>>16;b=h<<8&16711680|h<<24;e=b>>31;b=W$(g,d,b>>16,e);q[l+12>>2]=i-((Ea&65535)<<16|b>>>16)}b=w(s,20)+u|0;o[b+18|0]=1;p[b+16>>1]=q[a+16>>2]-q[m+72>>2];q[m+32>>2]=q[m+32>>2]|8}if(o[c+2|0]>-1){break a}o[a+12|0]=1;q[a+16>>2]=q[m+72>>2]}Da=f+32|0}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;d=q[a+8>>2];q[b>>2]=q[a+4>>2];q[b+4>>2]=d;q[b+16>>2]=q[a+20>>2];d=q[a+16>>2];q[b+8>>2]=q[a+12>>2];q[b+12>>2]=d;q[b+20>>2]=q[a+140>>2];aY(a+24|0,b+24|0,c);if(o[a+136|0]&1){sT(a+120|0,b+100|0)}j=q[b+48>>2];l=b;a:{b:{c:{d:{m=q[b+44>>2];if((m|0)>=1){d=m+ -1|0;e=d;c=b;e:{f:{while(1){g=e+h>>>1|0;f=q[w(g,36)+j>>2];g:{if(f>>>0>=1718772068){e=g+ -1|0;break g}if((f|0)==1718772067){break f}h=g+1|0}if((h|0)<=(e|0)){continue}break}i=0;break e}i=q[(w(g,36)+j|0)+28>>2]}q[c+116>>2]=i;h=0;e=d;c=b;h:{i:{while(1){g=e+h>>>1|0;f=q[w(g,36)+j>>2];j:{if(f>>>0>=1853189491){e=g+ -1|0;break j}if((f|0)==1853189490){break i}h=g+1|0}if((h|0)<=(e|0)){continue}break}g=0;break h}g=q[(w(g,36)+j|0)+28>>2]}q[c+120>>2]=g;h=0;e=d;c=b;k:{l:{while(1){k=e+h>>>1|0;f=q[w(k,36)+j>>2];m:{if(f>>>0>=1684959086){e=k+ -1|0;break m}if((f|0)==1684959085){break l}h=k+1|0}if((h|0)<=(e|0)){continue}break}f=0;break k}f=q[(w(k,36)+j|0)+28>>2]}q[c+124>>2]=f;c=b;e=4;n:{if(i){break n}e=0;if(!g){break n}e=((f|0)!=0)<<2}i=e|s[b+140>>1]&-5;p[c+140>>1]=i;f=b+140|0;h=0;e=d;while(1){g=e+h>>>1|0;c=q[w(g,36)+j>>2];o:{if(c>>>0>=1920232558){e=g+ -1|0;break o}if((c|0)==1920232557){break d}h=g+1|0}if((h|0)<=(e|0)){continue}break}c=0;break c}q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+128>>2]=0;i=s[b+140>>1]&-5;p[b+140>>1]=i;f=b+140|0;break b}c=q[(w(g,36)+j|0)+28>>2]}q[l+128>>2]=c;e=0;while(1){p:{g=d+e>>>1|0;c=q[w(g,36)+j>>2];q:{if(c>>>0>=1986359925){d=g+ -1|0;break q}if((c|0)==1986359924){break p}e=g+1|0}if((e|0)<=(d|0)){continue}break b}break}c=8;if(q[(w(g,36)+j|0)+28>>2]){break a}}c=0}g=c|i&-9;p[f>>1]=g;k=(q[a+4>>2]&-2)==4?1801810542:1986753134;c=b;i=(m|0)<1;d=0;r:{if(i){break r}e=m+ -1|0;h=0;s:{while(1){l=e+h>>>1|0;d=q[w(l,36)+j>>2];t:{if(d>>>0>k>>>0){e=l+ -1|0;break t}if(d>>>0>=k>>>0){break s}h=l+1|0}if((h|0)<=(e|0)){continue}break}d=0;break r}d=q[(w(l,36)+j|0)+24>>2]}q[c+132>>2]=d;g=g&-2|(d|0)!=0;p[b+140>>1]=g;c=f;u:{v:{w:{if(!i){e=m+ -1|0;h=0;while(1){i=e+h>>>1|0;d=q[w(i,36)+j>>2];x:{if(d>>>0>=1953653100){e=i+ -1|0;break x}if((d|0)==1953653099){break w}h=i+1|0}if((h|0)<=(e|0)){continue}break}}q[b+136>>2]=0;break v}d=q[(w(i,36)+j|0)+24>>2];q[b+136>>2]=d;e=2;if(d){break u}}e=0}p[c>>1]=e|g&65533;i=65535;y:{if((m|0)<1){break y}e=m+ -1|0;h=0;while(1){z:{d=e+h>>>1|0;c=q[w(d,36)+j>>2];A:{if(c>>>0>k>>>0){e=d+ -1|0;break A}if(c>>>0>=k>>>0){break z}h=d+1|0}if((h|0)<=(e|0)){continue}break y}break}i=q[(w(d,36)+j|0)+8>>2]}c=q[q[b+20>>2]+40>>2];d=0;B:{if(!c){break B}d=(c|0)!=q[b+28>>2]}e=fw(q[a>>2]);c=s[f>>1];if(!e){c=c|64;p[f>>1]=c}p[f>>1]=c&61439|(o[a+136|0]&1)<<12;C:{if(cn(q[a>>2])){p[f>>1]=s[f>>1]|2048;break C}if(d|o[a+136|0]&1){break C}if(!z$(q[a>>2])){break C}p[f>>1]=s[f>>1]|512}c=s[f>>1];D:{if(c&2048|(c&512?(i|0)!=65535:0)){break D}if(cn(q[a>>2])){p[f>>1]=s[f>>1]|2048;break D}if(!pw(q[a>>2])){break D}p[f>>1]=s[f>>1]|1024}c=0;E:{if(!(r[a+136|0]&2)){break E}d=s[f>>1];if(d&2048){break E}c=32;if(!(d&1024)){break E}c=lh(q[a>>2]+128|0);c=ow(t[c+16>>2]<4?271312:q[c+12>>2])?0:32}l=s[b+140>>1];g=l&-33|c;p[b+140>>1]=g;e=f;c=q[b+44>>2];F:{G:{if((c|0)<1){break G}i=q[b+48>>2];c=c+ -1|0;d=0;while(1){H:{k=c+d>>>1|0;b=q[i+w(k,36)>>2];I:{if(b>>>0>=1835102828){c=k+ -1|0;break I}if((b|0)==1835102827){break H}d=k+1|0}if((d|0)<=(c|0)){continue}break G}break}b=16;if(q[(i+w(k,36)|0)+28>>2]){break F}}b=0}c=b|g&-17;p[e>>1]=c;b=f;J:{K:{if(!(l&2560)){if(!(l&1024)){break K}c=lh(q[a>>2]+128|0);d=mw(t[c+16>>2]<4?271312:q[c+12>>2]);c=s[f>>1];if(!d){break K}}c=c&65279;p[f>>1]=c;d=0;break J}c=c|256;p[f>>1]=c;d=r[a+136|0]<<5&128}d=d|c&-129;p[b>>1]=d;e=0;if(c&2){e=((Ix(q[a>>2])|0)!=0)<<13;d=s[f>>1]}p[f>>1]=d&57343|e}function Yc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0;e=35;a:{if(!a|!q[a+88>>2]){break a}d=q[a+84>>2];if(!d){break a}b:{c:{e=q[d+156>>2];if(!e){break c}g=q[e+4>>2];if(!(g&1)){break c}h=q[d+88>>2];if(h){e=q[q[d+4>>2]+100>>2];n[q[e+8>>2]](e,h);e=q[d+156>>2];g=q[e+4>>2]}q[d+88>>2]=0;q[e+4>>2]=g&-2;break b}q[d+88>>2]=0}q[d+24>>2]=0;q[d+28>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;o[d+94|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;q[d+108>>2]=0;q[d+112>>2]=0;q[d+116>>2]=0;q[d+120>>2]=0;q[d+124>>2]=0;q[d+128>>2]=0;q[d+132>>2]=0;q[d+136>>2]=0;q[d+140>>2]=0;q[d+144>>2]=0;q[d+148>>2]=0;q[d+152>>2]=0;e=q[a+96>>2];d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;if(i&32770){break e}h=q[q[e+4>>2]+160>>2];if(!h){break e}c=q[a+8>>2];if((c&8193)!=1){break e}f:{if(i&2048){break f}g=q[a+128>>2];f=q[g>>2];if(!q[g+8>>2]){if(f){break f}break e}if(f){break e}}g:{if(i&32){break g}f=q[e>>2];if(!(r[f+1|0]&4)){break g}c=0;f=q[f+32>>2];if(f){f=n[f](e,4034)|0}else{f=0}if(cb(f,4046)){c=q[e+28>>2]==1}if(!(c|(r[q[e>>2]+1|0]&8)>>>3|(i&983040)!=65536)){c=q[a+8>>2];break g}c=q[a+8>>2];if(!(c&8)|!q[a+760>>2]|(s[a+286>>1]|q[a+684>>2])){break e}if(q[a+692>>2]){break e}}h:{if(!(c&2)|i&8){break h}if(n[q[q[e+12>>2]+72>>2]](d,q[a+88>>2],b,i|16384)){break h}c=0;if(q[d+72>>2]==1651078259){break d}}e=q[a+128>>2];f=q[e+24>>2];q[e+24>>2]=0;c=n[q[q[q[h>>2]+20>>2]+12>>2]](h,d,q[a+88>>2],b,i)|0;q[e+24>>2]=f;break d}e=n[q[q[e+12>>2]+72>>2]](d,q[a+88>>2],b,i)|0;if(e){break a}c=0;if(q[d+72>>2]!=1869968492){break d}k=p[d+108>>1];j=p[d+110>>1];if((k|j)&65535){e=6;if((j|0)<1|(k|0)<1){break a}l=q[d+120>>2];h=-1;g=0;while(1){f=p[(g<<1)+l>>1];if((f|0)>=(j|0)|(h|0)>=(f|0)){break a}h=f;g=g+1|0;if((k|0)!=(g|0)){continue}break}if((j+ -1|0)!=(h|0)){break a}}if(i&2){break d}e=d;i:{if(i&16){q[d+32>>2]=q[d+32>>2]&-64;h=q[d+44>>2];f=h&-64;q[d+44>>2]=f;g=q[d+48>>2];j=g&-64;q[d+48>>2]=j;q[d+36>>2]=q[d+36>>2]+63&-64;q[d+24>>2]=((h+q[d+24>>2]|0)+63&-64)-f;f=((g+q[d+28>>2]|0)+63&-64)-j|0;break i}q[d+44>>2]=q[d+44>>2]&-64;q[d+48>>2]=q[d+48>>2]&-64;h=q[d+32>>2];f=h&-64;q[d+32>>2]=f;g=q[d+36>>2];j=g+63&-64;q[d+36>>2]=j;q[d+24>>2]=((h+q[d+24>>2]|0)+63&-64)-f;f=j-(g-q[d+28>>2]&-64)|0}q[e+28>>2]=f;q[d+40>>2]=q[d+40>>2]+32&-64;q[d+52>>2]=q[d+52>>2]+32&-64}j:{if(i&16){g=0;e=q[d+52>>2];break j}g=q[d+40>>2];e=0}q[d+64>>2]=g;q[d+68>>2]=e;if(!(!(o[a+8|0]&1)|i&8192)){e=q[a+88>>2];m=d,t=bb(q[d+56>>2],q[e+16>>2],64),q[m+56>>2]=t;m=d,t=bb(q[d+60>>2],q[e+20>>2],64),q[m+60>>2]=t}e=c;k:{if(i&2048){break k}f=q[a+128>>2];h=q[f+24>>2];e=c;if(!h){break k}l:{m:{a=q[q[q[d+4>>2]+96>>2]+4>>2];e=q[a+156>>2];n:{o:{if(!e){g=q[d+72>>2];break o}g=q[d+72>>2];if((g|0)==q[e+16>>2]){break n}}if(!a){break m}a=q[a+148>>2];if(!a){break m}while(1){e=q[a+8>>2];if(q[e+16>>2]!=(g|0)){a=q[a+4>>2];if(a){continue}break m}break}if(!e){break m}}c=n[q[q[e+12>>2]+44>>2]](e,d,f,f+16|0)|0;break l}p:{if((g|0)!=1869968492){break p}q:{if(!(h&1)|!f){break q}a=q[d+112>>2];if(!a){break q}e=p[d+110>>1];if((e|0)<1){break q}e=(e<<3)+a|0;while(1){Rg(a,f);a=a+8|0;if(a>>>0>>0){continue}break}h=q[f+24>>2]}if(!(h&2)){break p}h=p[d+110>>1];if((h|0)<1){break p}g=q[f+20>>2];j=q[f+16>>2];a=q[d+112>>2];e=0;while(1){q[a>>2]=j+q[a>>2];q[a+4>>2]=g+q[a+4>>2];a=a+8|0;e=e+1|0;if((e&65535)>>>0<(h&65535)>>>0){continue}break}}}Rg(d- -64|0,f);e=c}q[d+12>>2]=b;q[q[d+156>>2]+40>>2]=i;if(e){break a}e=0;if(i&1){break a}a=q[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;a=a?a:i>>>11&2;if(i&4){b=q[d+4>>2];if(!b){return 6}return wM(q[q[b+96>>2]+4>>2],d,a)}Vk(d,a,0)}return e}function gl(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;m=Da-32|0;Da=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<1|(e|0)<=0)){if(g>>>0>1){break i}o=q[h+4>>2];t=q[h>>2];x=o+t|0;G=(g<<2)+b|0;k=q[G+28>>2];if(x>>>0>k>>>0){break i}r=q[a+4>>2];j=-1<>2];B=(k-t|0)-o|0;s=y+w(B,40)|0;v=w(t,40);u=q[i>>2];j=10;k=10;j:{if(t>>>0>1){break j}k=(u|0)!=0;if(t-1){break j}k=q[(w(B,40)+y|0)+20>>2];k=(k&1^(k&6)!=6)+u|0;k=k?(k|0)==1?2:1:6}p=s+v|0;C=q[i+4>>2];k:{if(o>>>0>1){break k}if(o-1){j=(C|0)!=0;break k}j=q[p+20>>2];j=(j&1^(j&6)!=6)+C|0;j=j?(j|0)==1?2:1:6}v=j|k;if((v&3)!=2){h=1;i=e>>>r|0;l:{if((i|0)<1){break l}g=d>>>r|0;if((g|0)<1){break l}d=f<>2]]((j<>2]=B;break a}if(!(!((j^k)&2)|v&8)){h=1<>2];K=v&4?0-g|0:g;L=q[b>>2];s=q[b+4>>2];D=q[b+12>>2];E=q[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){n[q[a+12>>2]](c,f,E,D,L,s,K);break b}k=e>>>r|0;if((k|0)<1){break b}v=d>>>r|0;if((v|0)<1){break b}b=D>>31;d=b+D^b;b=E>>31;e=d+(b+E^b)|0;d=r+5|0;b=d;g=b&31;if(32<=(b&63)>>>0){A=e<>>32-g;M=e<>31;N=D>>31;O=E>>31;e=N+O|0;C=D;o=E;d=o;b=D+d|0;if(b>>>0>>0){e=e+1|0}y=W$(g,h,b,e);x=Ea;Q=f<>2]+6;t=d;J=d>>31;d=j;u=W$(H,e,o,O)+d|0;A=R+Ea|0;d=W$(t,J,u,u>>>0>>0?A+1|0:A);t=g-d|0;J=h-(Ea+(g>>>0>>0)|0)|0;d=b;b=t;g=i-(J+(d>>>0>>0)|0)|0;d=d-b|0;b=g;h=b>>31;A=b+h|0;u=b>>31;g=u;i=g+d|0;if(i>>>0>>0){A=A+1|0}g=h^A;m:{if((g|0)>(p|0)?1:(g|0)>=(p|0)?(i^u)>>>0>>0?0:1:0){n[q[a+8>>2]]((H<>2]]((H<>>0<1){e=e+1|0}H=b;if((v|0)!=(b|0)|e){continue}break}c=c+Q|0;b=P+1|0;if(b>>>0<1){l=l+1|0}P=b;if((k|0)!=(b|0)|l){continue}break}break b}l=1<>2]](c,f,s,t,u);break b}if(!(k&2)){n[q[a+16>>2]](c,f,p,o,C);break b}n:{if(k&8){n[q[a+16>>2]](c,f,s,t,u);break n}l=w(B,40)+y|0;g=q[l+16>>2];n[q[a+12>>2]](c,f,q[l+8>>2],q[l+12>>2],q[s>>2],q[s+4>>2],k&4?0-g|0:g)}o:{if(j&8){n[q[a+16>>2]](q[b+48>>2],d,p,q[h+4>>2],q[i+4>>2]);break o}g=q[p+16>>2];n[q[a+12>>2]](q[b+48>>2],d,q[p+8>>2],q[p+12>>2],q[p>>2],q[p+4>>2],j&4?0-g|0:g)}n[q[a+20>>2]](c,f,q[b+48>>2],d,e,d);break b}y=g^1;o=(y<<2)+b|0;v=o;l=q[o+36>>2];j=x;x=q[o+28>>2];k=j+x|0;p:{if(l>>>0>=k>>>0){j=q[o+20>>2];break p}l=l<<1;j=l>>>0>64?l:64;while(1){l=j;j=j<<1;if(l>>>0>>0){continue}break}k=(y<<2)+b|0;j=db(q[k+20>>2],w(l,40));if(!j){h=0;break a}q[k+20>>2]=j;q[v+36>>2]=l;C=q[i+4>>2];u=q[i>>2]}q[m+12>>2]=C;q[m+8>>2]=u;l=w(x,40)+j|0;q:{if((d|0)>(e|0)){j=1<<(z(d+ -1|0)^31);il(s,q[h>>2],q[h+4>>2],s,m+24|0,l,m+16|0,m+8|0,j<<6);d=d-j|0;k=e;l=j;break q}k=q[h>>2];p=q[h+4>>2];j=l;l=z(e+ -1|0)^31;h=1<>2]=q[m+28>>2]+(q[m+24>>2]+B|0);q[o+28>>2]=q[m+20>>2]+(x+q[m+16>>2]|0);h=0;if(!gl(a,b,c,j,e,f,g,m+24|0,i)){break a}if(q[G+28>>2]!=(B|0)){break d}if(!gl(a,b,c+l|0,d,k,f,y,m+16|0,m+8|0)){break a}h=1;if((x|0)!=q[o+28>>2]){break c}break a}I(437185,437145,634,437420);F()}I(437442,437145,635,437420);F()}I(437225,437145,636,437420);F()}I(437268,437145,637,437420);F()}I(437225,437145,562,437570);F()}I(437268,437145,563,437570);F()}I(437511,437145,716,437420);F()}I(437540,437145,719,437420);F()}q[G+28>>2]=B;h=1}Da=m+32|0;return h}function Sq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=35;a:{b:{if(!(r[a+8|0]&8)){break b}f=c;c:{d:{e:{d=q[c+20>>2];f:{if(d){e=85;if(n[d](c,0,0,0)){break b}q[c+8>>2]=0;if(!q[c+20>>2]){break f}h=q[c+28>>2];d=n[q[h+4>>2]](h,4)|0;if(!d){break a}q[c>>2]=d;g=n[q[c+20>>2]](c,q[c+8>>2],d,4)|0;e=0;i=q[c>>2];d=i;if(g>>>0>=4){break d}e=85;if(i){break e}d=0;break d}q[c+8>>2]=0}e=85;if(t[c+4>>2]<4){break b}q[c+8>>2]=4;d=q[c>>2];q[c+32>>2]=d;q[c+36>>2]=d+4;f=0;break c}n[q[h+8>>2]](h,i);q[c>>2]=0;d=0}q[f+32>>2]=d;q[c+36>>2]=d+4;q[c+8>>2]=g+q[c+8>>2];if(e){break b}f=q[c+20>>2]}q[c+32>>2]=d+4;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f){f=q[c+28>>2];n[q[f+8>>2]](f,d);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0;f=0;g:{if((e|0)!=1953784678){break g}d=q[a+4>>2];f=d<<2;a=f+12|0;h:{i:{j:{h=q[c+20>>2];if(h){e=85;if(n[h](c,a,0,0)){break b}q[c+8>>2]=a;if(q[c+20>>2]){break j}break i}e=85;if((d|0)<-3|t[c+4>>2]>>0){break b}q[c+8>>2]=a;break i}f=q[c+28>>2];a=n[q[f+4>>2]](f,4)|0;if(!a){break a}q[c>>2]=a;h=n[q[c+20>>2]](c,q[c+8>>2],a,4)|0;e=0;a=c;g=q[c>>2];d=g;k:{if(h>>>0>=4){break k}e=85;d=0;if(!g){break k}n[q[f+8>>2]](f,g);q[c>>2]=0;d=0}q[a+32>>2]=d;q[c+36>>2]=d+4;q[c+8>>2]=h+q[c+8>>2];if(e){break b}e=d;f=q[c+20>>2];break h}d=q[c+4>>2];if(a>>>0>=d>>>0){break b}f=f+16|0;if(f>>>0>d>>>0){break b}q[c+8>>2]=f;d=q[c>>2];e=a+d|0;q[c+32>>2]=e;q[c+36>>2]=e+4;f=0}q[c+32>>2]=e+4;a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=a>>>8&65280|a>>>24;a=a<<8&16711680|a<<24;if(!(!f|!d)){f=q[c+28>>2];n[q[f+8>>2]](f,d);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0;f=a|e}a=f;g=a+4|0;f=c;l:{m:{n:{d=q[c+20>>2];o:{if(d){e=85;if(n[d](c,g,0,0)){break b}q[c+8>>2]=g;h=c+8|0;d=h;if(!q[c+20>>2]){break o}g=q[c+28>>2];d=n[q[g+4>>2]](g,2)|0;if(!d){break a}q[c>>2]=d;i=n[q[c+20>>2]](c,q[c+8>>2],d,2)|0;e=0;j=q[c>>2];d=j;if(i>>>0>=2){break m}e=85;if(j){break n}d=0;break m}e=85;if((g|0)<0|t[c+4>>2]>>0){break b}q[c+8>>2]=g;d=c+8|0}h=d;d=q[c+4>>2];if(g>>>0>=d>>>0){break b}f=a+6|0;if(f>>>0>d>>>0){break b}q[c+8>>2]=f;d=q[c>>2];e=g+d|0;q[c+32>>2]=e;q[c+36>>2]=e+2;f=0;break l}n[q[g+8>>2]](g,j);q[c>>2]=0;d=0}q[f+32>>2]=d;q[c+36>>2]=d+2;q[c+8>>2]=i+q[c+8>>2];if(e){break b}e=d;f=q[c+20>>2]}q[c+32>>2]=e+2;i=r[e+1|0]|r[e|0]<<8;p:{q:{r:{if(!f){q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;break r}s:{if(!d){q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;break s}e=q[c+28>>2];n[q[e+8>>2]](e,d);q[c>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;f=q[c+20>>2];if(!f){break r}}e=85;if(n[f](c,a,0,0)){break b}q[c+8>>2]=a;g=i<<4;d=q[c+20>>2];f=g;if(!d){break q}j=q[c+28>>2];e=0;if(i){k=n[q[j+4>>2]](j,g)|0;if(!k){break a}a=q[c+8>>2];d=q[c+20>>2];f=g}else{f=0}q[c>>2]=k;k=n[d](c,a,k,f)|0;d=c;l=q[c>>2];a=l;t:{if(k>>>0>=g>>>0){break t}e=85;a=0;if(!l){break t}n[q[j+8>>2]](j,l);q[c>>2]=0;a=0}q[d+32>>2]=a;q[c+36>>2]=a+f;q[c+8>>2]=k+q[c+8>>2];if(e){break b}break p}e=85;if((a|0)<0|t[c+4>>2]>>0){break b}q[h>>2]=a;f=i<<4}d=q[c+4>>2];if(a>>>0>=d>>>0){break b}g=a+f|0;if(g>>>0>d>>>0){break b}q[c+8>>2]=g;a=q[c>>2]+a|0;q[c+32>>2]=a;q[c+36>>2]=a+f}e=142;u:{v:{if(!i){break v}d=0;while(1){w:{q[c+32>>2]=a+4;f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[c+32>>2]=a+12;g=r[a+11|0];j=r[a+10|0];k=r[a+9|0];l=r[a+8|0];a=a+16|0;q[c+32>>2]=a;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))==(b|0)){break w}d=d+1|0;if((i|0)!=(d|0)){continue}break v}break}a=g|(k<<16|l<<24|j<<8);b=q[c+20>>2];x:{if(b){e=85;if(!n[b](c,a,0,0)){break x}break v}if((a|0)<0){e=85;break u}e=85;if(t[c+4>>2]>>0){break v}}q[h>>2]=a;e=0}if(!q[c+20>>2]){break u}a=q[c>>2];if(!a){break u}b=q[c+28>>2];n[q[b+8>>2]](b,a);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0}return e}q[c>>2]=0;return 64}function GS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(b){o[b|0]=0}d=271312;h=r[a+3|0]|r[a+2|0]<<8;a:{if(!h){break a}f=h+ -1|0;while(1){b:{g=f+e>>>1|0;c=(g<<3)+a|0;i=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=0-(r[i+7|0]|r[i+6|0]<<8)|0}c:{if((c|0)<=-1){f=g+ -1|0;break c}if(!c){break b}e=g+1|0}if((e|0)<=(f|0)){continue}break a}break}d=((g<<3)+a|0)+4|0}d:{d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=d?d+a|0:0;if(c){if(!b){break d}o[b|0]=1;break d}b=271312;e:{if(!h){break e}f=h+ -1|0;e=0;while(1){f:{d=f+e>>>1|0;c=(d<<3)+a|0;g=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=10-(r[g+7|0]|r[g+6|0]<<8)|0}g:{if((c|0)<=-1){f=d+ -1|0;break g}if(!c){break f}e=d+1|0}if((e|0)<=(f|0)){continue}break e}break}b=((d<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;h:{if(!h){break h}f=h+ -1|0;c=0;while(1){i:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];j:{if(g){d=0-g|0;break j}d=6-(r[d+7|0]|r[d+6|0]<<8)|0}k:{if((d|0)<=-1){f=e+ -1|0;break k}if(!d){break i}c=e+1|0}if((c|0)<=(f|0)){continue}break h}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;l:{if(!h){break l}f=h+ -1|0;c=0;while(1){m:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];n:{if(g){d=0-g|0;break n}d=4-(r[d+7|0]|r[d+6|0]<<8)|0}o:{if((d|0)<=-1){f=e+ -1|0;break o}if(!d){break m}c=e+1|0}if((c|0)<=(f|0)){continue}break l}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;p:{if(!h){break p}f=h+ -1|0;e=0;while(1){q:{d=f+e>>>1|0;c=(d<<3)+a|0;g=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=1-(r[g+7|0]|r[g+6|0]<<8)|0}r:{if((c|0)<=-1){f=d+ -1|0;break r}if(!c){break q}e=d+1|0}if((e|0)<=(f|0)){continue}break p}break}b=((d<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;s:{if(!h){break s}f=h+ -1|0;c=0;while(1){t:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];u:{if(g){d=0-g|0;break u}d=3-(r[d+7|0]|r[d+6|0]<<8)|0}v:{if((d|0)<=-1){f=e+ -1|0;break v}if(!d){break t}c=e+1|0}if((c|0)<=(f|0)){continue}break s}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;w:{if(!h){break w}f=h+ -1|0;c=0;while(1){x:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];y:{if(g){d=0-g|0;break y}d=2-(r[d+7|0]|r[d+6|0]<<8)|0}z:{if((d|0)<=-1){f=e+ -1|0;break z}if(!d){break x}c=e+1|0}if((c|0)<=(f|0)){continue}break w}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;A:{if(!h){break A}f=h+ -1|0;c=0;while(1){B:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];C:{if(g){d=0-g|0;break C}d=1-(r[d+7|0]|r[d+6|0]<<8)|0}D:{if((d|0)<=-1){f=e+ -1|0;break D}if(!d){break B}c=e+1|0}if((c|0)<=(f|0)){continue}break A}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}d=a;b=271312;E:{if(!h){break E}e=h+ -1|0;f=0;F:{while(1){b=f+e>>>1|0;c=(b<<3)+a|0;h=c;c=r[c+5|0]|r[c+4|0]<<8;if(!c){c=r[h+7|0]|r[h+6|0]<<8}G:{if((c|0)>=1){e=b+ -1|0;break G}if(!c){break F}f=b+1|0}if((f|0)<=(e|0)){continue}break}b=271312;break E}b=((b<<3)+a|0)+4|0}a=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:0;return a?a:271312}return c}function kk(a,b,c){var d=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Da-560|0;Da=d;pc(d+536|0,a);pc(d+520|0,c);k=q[d+520>>2];a=q[d+548>>2];l=a;c=q[d+544>>2];q[d+8>>2]=c;q[d+12>>2]=a;i=c;m=q[d+540>>2];a:{b:{c:{d:{e:{a=q[d+536>>2];if(a>>>0<=1){if(!(a-1)){break c}a=0;c=k+ -5|0;if(c>>>0>3){break a}f:{switch(c-1|0){case 1:break a;case 0:break d;case 2:break e;default:break f}}q[d+8>>2]=438240;a=5;break a}f(0,c|0);f(1,l|0);j=+g();if((k|0)!=8|(a|0)!=3){break b}n=d,o=Ze(i,d+264|0),q[n+8>>2]=o;a=8;break a}n=d,o=Ze(0,d+264|0),q[n+8>>2]=o;a=8;break a}a=d+264|0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=-1;q[a+4>>2]=0;q[d+8>>2]=a;a=6;break a}j=+(i|0);v[d+8>>3]=j;a=2}if((k|0)!=9|(a|0)!=2){break a}a=d+264|0;v[a+8>>3]=j;v[a>>3]=j;q[d+8>>2]=a;a=9}c=q[d+12>>2];q[d+544>>2]=q[d+8>>2];q[d+548>>2]=c;q[d+540>>2]=m;q[d+536>>2]=a;c=q[d+532>>2];l=c;i=q[d+528>>2];q[d+552>>2]=i;q[d+556>>2]=c;k=i;m=q[d+524>>2];g:{h:{i:{j:{k:{c=q[d+520>>2];if(c>>>0<=1){if(!(c-1)){break i}c=0;a=a+ -5|0;if(a>>>0>3){break g}l:{switch(a-1|0){case 0:break j;case 2:break k;case 1:break g;default:break l}}q[d+552>>2]=438240;c=5;break g}f(0,i|0);f(1,l|0);j=+g();if((a|0)!=8|(c|0)!=3){break h}n=d,o=Ze(k,d+8|0),q[n+552>>2]=o;c=8;break g}n=d,o=Ze(0,d+8|0),q[n+552>>2]=o;c=8;break g}a=d+8|0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=-1;q[a+4>>2]=0;q[d+552>>2]=a;c=6;break g}j=+(k|0);v[d+552>>3]=j;c=2}if((a|0)!=9|(c|0)!=2){break g}a=d+8|0;v[a+8>>3]=j;v[a>>3]=j;q[d+552>>2]=a;c=9}j=v[d+552>>3];v[d+528>>3]=j;q[d+524>>2]=m;q[d+520>>2]=c;m:{n:{o:{p:{if(q[d+536>>2]==(c|0)){a=0;if(c>>>0>9){break m}h(+j);e(1)|0;i=e(0)|0;q:{switch(c-1|0){case 1:b=(b&65535)+ -22|0;if(b>>>0>8){break m}r:{switch(b-1|0){default:a=v[d+544>>3]==j;break m;case 0:case 3:a=v[d+544>>3]!=j;break m;case 4:a=v[d+544>>3]>3]<=j;break m;case 6:a=v[d+544>>3]>j;break m;case 7:break r}}a=v[d+544>>3]>=j;break m;case 3:b=(b&65535)+ -22|0;if(b>>>0>8){break m}s:{switch(b-1|0){default:a=(i|0)==q[d+544>>2];break m;case 1:case 2:a=q[d+544>>2];a=(a|0)>1|(a|0)==(i|0);break m;case 0:a=(i|0)!=q[d+544>>2];break m;case 3:a=q[d+544>>2];a=(a|0)<2&(a|0)!=(i|0);break m;case 4:a=(i|0)!=q[d+544>>2]&(i|0)>1;break m;case 5:a=(i|0)==q[d+544>>2]|(i|0)>1;break m;case 6:a=q[d+544>>2];a=(a|0)>1&(a|0)!=(i|0);break m;case 7:break s}}a=q[d+544>>2];a=(a|0)>1|(a|0)==(i|0);break m;case 2:c=(b&65535)+ -22|0;if(c>>>0>4){break m}t:{switch(c-1|0){default:a=q[d+544>>2];if(b&65536){a=!wb(a,i);break m}a=!dd(a,i);break m;case 1:a=(Gq(q[d+544>>2],i)|0)!=0;break m;case 0:a=q[d+544>>2];if(b&65536){a=(wb(a,i)|0)!=0;break m}a=(dd(a,i)|0)!=0;break m;case 3:break t}}a=!Gq(q[d+544>>2],i);break m;case 4:b=b&65535;if(b>>>0>26){break m}b=1<>2],i);break m;case 5:b=(b&65535)+ -22|0;if(b>>>0>4){break m}u:{switch(b-1|0){case 1:case 2:a=Tk(i,q[d+544>>2]);break m;case 3:a=!Tk(i,q[d+544>>2]);break m;default:a=$q(q[d+544>>2],i);break m;case 0:break u}}a=!$q(q[d+544>>2],i);break m;case 7:b=(b&65535)+ -22|0;if(b>>>0>4){break m}v:{switch(b-1|0){case 1:case 2:a=mi(q[d+544>>2],i);break m;case 3:a=!mi(q[d+544>>2],i);break m;default:a=Kq(q[d+544>>2],i);break m;case 0:break v}}a=!Kq(q[d+544>>2],i);break m;case 6:b=b&65535;if(b>>>0>26){break m}b=1<>2];break m;case 0:break m;case 8:break q;default:break p}}a=DM(b&65535,q[d+544>>2],i);break m}a=0;b=(b&65535)+ -23|0;if(b>>>0>3){break m}w:{switch(b-1|0){case 0:case 1:break m;default:break w}}a=1;break m}b=b+ -22|0;if((b&65535)>>>0>=4){break m}a=q[(b<<16>>16<<2)+504052>>2];break m}a=rr(q[d+544>>2],i);break m}a=(i|0)==q[d+544>>2]}Da=d+560|0;return a}function Yl(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Da-16|0;Da=f;q[f+12>>2]=0;q[f+8>>2]=0;q[f+4>>2]=0;q[f>>2]=0;e=q[a+8>>2];d=q[a+4>>2];a:{if(!n[q[a+16>>2]](a,c,f+12|0,f+8|0)){break a}c=q[f+8>>2];if(c){q[f>>2]=0;h=c;c=q[e+72>>2];if(!n[q[c+156>>2]](e,q[e+76>>2],h,f,q[c+20>>2])){break a}}q[f+4>>2]=0;c=q[e+72>>2];c=n[q[c+156>>2]](e,q[e+76>>2],q[f+12>>2],f+4|0,q[c+20>>2])|0;g=q[f+12>>2];b:{c:{d:{if(!(!c|!b)){q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f+4>>2];e:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break e}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break d}f:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break f}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break d}a=a+ -1|0;break c}g:{h:{g=Yl(a,b,g);if(g){h=q[f+8>>2];if(!h){break a}q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f>>2];i:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break i}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break h}j:{if(a>>>0>>0){e=q[d+80>>2];b=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break j}b=q[d+92>>2];e=q[d+80>>2];a=(b+w(e,20)|0)+ -20|0}b=w(e,20)+b|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=h;a=a+1|0;q[d+80>>2]=a}if(!a){break h}a=a+ -1|0;break g}if(!c){g=0;break a}g=q[f+12>>2];q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f+4>>2];k:{l:{m:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break m}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break l}n:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break n}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break l}a=a+ -1|0;break k}a=0}break b}a=0}Gf(w(a,20)+e|0,d);g=g+1|0;break a}a=0}}Gf(w(a,20)+e|0,d);g=q[f+8>>2];if(!g){g=1;break a}q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f>>2];o:{p:{q:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break q}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break p}r:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break r}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break p}a=a+ -1|0;break o}a=0}Gf(w(a,20)+e|0,d);g=2}Da=f+16|0;return g}function Xb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[a>>2];a:{b:{c:{d:{e:{f:{g:{d=q[a+4>>2];h:{if(!d){break h}if(q[a+40>>2]){e=d;break h}e=d<<1;if((e|0)<0){f=6;break a}if(e){f=10;if((e|0)>268435455){break a}d=d<<4;f=n[q[g+4>>2]](g,d)|0;if(!f){break g}Na(f,0,d);d=q[a+4>>2]}o[a+16|0]=1;q[a+40>>2]=f;e=d;j=(d<<3)+f|0;q[a+44>>2]=j;d=a;i=q[a+24>>2];if(i){i=(p[a+22>>1]<<3)+i|0}else{i=0}q[d+60>>2]=i;i=a- -64|0;d=q[a+28>>2];if(d){d=d+p[a+22>>1]|0}else{d=0}q[i>>2]=d;i=a;d=q[a+32>>2];k=0;i:{if(!d){break i}k=d+(p[a+20>>1]<<1)|0}q[i+68>>2]=k;d=p[a+22>>1]<<3;q[a+80>>2]=d+j;q[a+76>>2]=d+f}b=p[a+58>>1]+(p[a+22>>1]+b|0)|0;j:{if(b>>>0<=e>>>0){b=e;break j}d=10;h=b+7|0;b=h&-8;if(b>>>0>32767){break d}d=6;if((e|h)<0){break b}d=q[a+24>>2];k:{l:{m:{if(!b){if(d){n[q[g+8>>2]](g,d)}f=0;q[a+24>>2]=0;h=a+28|0;d=q[h>>2];if(!d){break m}n[q[g+8>>2]](g,d);q[a+28>>2]=0;break k}i=(b|0)<=(e|0);j=i;n:{if(!e){h=n[q[g+4>>2]](g,b<<3)|0;d=!h<<6;break n}f=n[q[g+12>>2]](g,e<<3,b<<3,d)|0;h=f?f:d;d=!f<<6}o:{if(!(h?!(j|d):0)){q[a+24>>2]=h;if(!d){break o}break b}Na((e<<3)+h|0,0,b-e<<3);q[a+24>>2]=h}h=a+28|0;p:{if(!e){f=n[q[g+4>>2]](g,b)|0;d=!f<<6;break p}f=q[a+28>>2];d=n[q[g+12>>2]](g,e,b,f)|0;f=d?d:f;d=!d<<6}if(d|i|!f){break l}Na(e+f|0,0,b-e|0)}q[h>>2]=f;break k}q[a+28>>2]=f;if(d){break b}}if(r[a+16|0]){d=6;i=b<<1;f=e<<1;if((i|f)<0){break b}d=q[a+40>>2];q:{r:{s:{if(!b){h=0;if(!d){break s}n[q[g+8>>2]](g,d);q[a+40>>2]=0;break q}t:{if(!f){h=n[q[g+4>>2]](g,b<<4)|0;d=!h<<6;break t}j=n[q[g+12>>2]](g,e<<4,b<<4,d)|0;h=j?j:d;d=!j<<6}if(d|(i|0)<=(f|0)|!h){break r}Na((e<<4)+h|0,0,i-f<<3)}q[a+40>>2]=h;break q}q[a+40>>2]=h;if(d){break b}}d=b<<3;e=e<<3;sb(d+h|0,e+h|0,e);q[a+44>>2]=d+q[a+40>>2]}q[a+4>>2]=b;h=1}if(!(q[a+40>>2]|!b)){e=0;d=b<<1;if((d|0)<0){e=6;break c}if(d){e=10;if((d|0)>268435455){break c}d=q[a>>2];b=b<<4;e=n[q[d+4>>2]](d,b)|0;if(!e){break f}Na(e,0,b);b=q[a+4>>2]}o[a+16|0]=1;q[a+40>>2]=e;f=(b<<3)+e|0;q[a+44>>2]=f;b=a;d=q[a+24>>2];if(d){d=d+(p[a+22>>1]<<3)|0}else{d=0}q[b+60>>2]=d;d=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[d>>2]=b;b=a;i=q[a+32>>2];d=0;u:{if(!i){break u}d=i+(p[a+20>>1]<<1)|0}q[b+68>>2]=d;b=p[a+22>>1]<<3;q[a+80>>2]=b+f;q[a+76>>2]=b+e}c=p[a+56>>1]+(p[a+20>>1]+c|0)|0;b=q[a+8>>2];if(c>>>0>b>>>0){d=10;c=c+3|0;e=c&-4;if(e>>>0>32767){break d}if((b|c)<0){d=6;break b}d=q[a+32>>2];v:{w:{x:{if(!e){c=0;if(!d){break x}n[q[g+8>>2]](g,d);q[a+32>>2]=0;break v}y:{if(!b){c=n[q[g+4>>2]](g,e<<1)|0;d=!c<<6;break y}g=n[q[g+12>>2]](g,b<<1,e<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(e|0)<=(b|0)|!c){break w}Na((b<<1)+c|0,0,e-b<<1)}q[a+32>>2]=c;break v}q[a+32>>2]=c;if(d){break b}}q[a+8>>2]=e;break e}if(h){break e}d=0;break d}q[a+40>>2]=0;return 64}q[a+40>>2]=0;return 64}b=a;c=q[a+24>>2];if(c){c=c+(p[a+22>>1]<<3)|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;d=0;b=a;c=q[a+32>>2];if(c){c=c+(p[a+20>>1]<<1)|0}else{c=0}q[b+68>>2]=c;if(!r[a+16|0]){break d}b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2];return 0}return d}q[a+40>>2]=0;return e}b=q[a>>2];c=q[a+24>>2];if(c){n[q[b+8>>2]](b,c)}q[a+24>>2]=0;c=q[a+28>>2];if(c){n[q[b+8>>2]](b,c)}q[a+28>>2]=0;c=q[a+32>>2];if(c){n[q[b+8>>2]](b,c)}q[a+32>>2]=0;c=q[a+40>>2];if(c){n[q[b+8>>2]](b,c)}q[a+40>>2]=0;c=q[a+52>>2];if(c){n[q[b+8>>2]](b,c)}q[a+20>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+88>>2]=0;b=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=b;c=q[a+32>>2];b=a- -64|0;q[b>>2]=q[a+28>>2];q[b+4>>2]=c;b=q[a+40>>2];q[a+72>>2]=q[a+36>>2];q[a+76>>2]=b;b=q[a+48>>2];q[a+80>>2]=q[a+44>>2];q[a+84>>2]=b;return d}q[a+40>>2]=0;return f}function Uc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;l=Da-112|0;Da=l;m=h;n=i&2147483647;k=c+ -1|0;j=b+ -1|0;if(j>>>0<4294967295){k=k+1|0}o=j;r=(j|0)==-1&(k|0)==-1;p=e&2147483647;j=p;s=d;o=(c|0)==(k|0)&o>>>0>>0|k>>>0>>0;k=d+o|0;if(k>>>0>>0){j=j+1|0}k=k+ -1|0;j=j+ -1|0;j=k>>>0<4294967295?j+1|0:j;a:{b:{if(!((k|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&k>>>0>4294967295|j>>>0>2147418111)){k=g+ -1|0;j=f+ -1|0;if(j>>>0<4294967295){k=k+1|0}o=j;r=(j|0)!=-1|(k|0)!=-1;j=n;o=(g|0)==(k|0)&o>>>0>>0|k>>>0>>0;k=o+m|0;if(k>>>0>>0){j=j+1|0}k=k+ -1|0;j=j+ -1|0;j=k>>>0<4294967295?j+1|0:j;if((k|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&k>>>0<4294967295|j>>>0<2147418111){break b}}if(!(!s&(p|0)==2147418112?!(b|c):(p|0)==2147418112&s>>>0<0|p>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(n|0)==2147418112?!(f|g):(n|0)==2147418112&m>>>0<0|n>>>0<2147418112)){i=i|32768;break a}if(!(b|s|(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|m|(n^2147418112|g))){break a}if(!(b|s|(c|p))){if(f|m|(g|n)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|n)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(s|0)&(n|0)==(p|0)?(c|0)==(g|0)&f>>>0>b>>>0|g>>>0>c>>>0:(n|0)==(p|0)&m>>>0>s>>>0|n>>>0>p>>>0;m=r;u=m?f:b;k=m?g:c;j=m?i:e;s=j;o=m?h:d;t=o;m=j&65535;i=r?e:i;p=i;e=r?d:h;v=i>>>16&32767;n=j>>>16&32767;if(!n){d=!(m|t);h=d<<6;i=z(d?u:t)+32|0;d=z(d?k:m);d=h+((d|0)==32?i:d)|0;Fc(l+96|0,u,k,t,m,d+ -15|0);t=q[l+104>>2];m=q[l+108>>2];u=q[l+96>>2];n=16-d|0;k=q[l+100>>2]}f=r?b:f;g=r?c:g;b=e;d=p&65535;if(v){c=b}else{i=b;h=!(b|d);c=h<<6;j=z(h?f:b)+32|0;b=z(h?g:d);b=c+((b|0)==32?j:b)|0;Fc(l+80|0,f,g,i,d,b+ -15|0);v=16-b|0;f=q[l+80>>2];g=q[l+84>>2];c=q[l+88>>2];d=q[l+92>>2]}j=d<<3|c>>>29;h=c<<3|g>>>29;i=j|524288;c=t;d=m<<3|c>>>29;b=c<<3;c=d;d=k>>>29|b;r=c;o=e^o;p=p^s;b=f;j=g<<3|b>>>29;c=b<<3;b=j;f=n-v|0;e=c;c:{if(!f){break c}if(f>>>0>127){h=0;i=0;j=0;e=1;break c}Fc(l- -64|0,c,b,h,i,128-f|0);Uf(l+48|0,c,b,h,i,f);h=q[l+56>>2];i=q[l+60>>2];j=q[l+52>>2];e=q[l+48>>2]|((q[l+64>>2]|q[l+72>>2])!=0|(q[l+68>>2]|q[l+76>>2])!=0)}m=j;r=r|524288;b=u;j=k<<3|b>>>29;f=b<<3;d:{if((p|0)<-1?1:(p|0)<=-1?o>>>0>4294967295?0:1:0){g=f;c=e;b=f-c|0;k=d-h|0;e=(j|0)==(m|0)&f>>>0>>0|j>>>0>>0;f=k-e|0;c=j-((g>>>0>>0)+m|0)|0;g=(r-((d>>>0>>0)+i|0)|0)-(k>>>0>>0)|0;if(!(b|f|(c|g))){f=0;g=0;h=0;i=0;break a}if((g|0)==524287&f>>>0>4294967295|g>>>0>524287){break d}h=b;e=!(f|g);d=e<<6;i=z(e?b:f)+32|0;b=z(e?c:g);b=d+((b|0)==32?i:b)|0;b=b+ -12|0;Fc(l+32|0,h,c,f,g,b);n=n-b|0;f=q[l+40>>2];g=q[l+44>>2];b=q[l+32>>2];c=q[l+36>>2];break d}j=j+m|0;b=e;c=b+f|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;f=(m|0)==(c|0)&b>>>0>>0|c>>>0>>0;k=i+r|0;e=d+h|0;if(e>>>0>>0){k=k+1|0}f=f+e|0;d=k;d=f>>>0>>0?d+1|0:d;g=d;if(!(d&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=f<<31|c>>>1;n=n+1|0;f=(g&1)<<31|f>>>1;g=g>>>1|0}h=0;o=s&-2147483648;if((n|0)>=32767){i=o|2147418112;f=0;g=0;break a}e=0;e:{if((n|0)>0){e=n;break e}Fc(l+16|0,b,c,f,g,n+127|0);Uf(l,b,c,f,g,1-n|0);b=q[l>>2]|((q[l+16>>2]|q[l+24>>2])!=0|(q[l+20>>2]|q[l+28>>2])!=0);c=q[l+4>>2];f=q[l+8>>2];g=q[l+12>>2]}m=(c&7)<<29|b>>>3;d=f<<29|c>>>3;j=d;k=b&7;c=k>>>0>4;b=c+m|0;if(b>>>0>>0){j=j+1|0}s=b;c=b;b=j;i=(d|0)==(b|0)&c>>>0>>0|b>>>0>>0;d=o|g>>>3&65535;j=e<<16;c=(g&7)<<29|f>>>3|h;e=c+i|0;j=d|j;j=e>>>0>>0?j+1|0:j;d=(k|0)==4;c=d?s&1:0;k=j;i=e;d=0+b|0;b=c;e=b+s|0;if(e>>>0>>0){d=d+1|0}f=e;b=f;g=d;c=(h|0)==(d|0)&b>>>0>>0|d>>>0>>0;b=i+c|0;if(b>>>0>>0){k=k+1|0}h=b;i=k}q[a>>2]=f;q[a+4>>2]=g;q[a+8>>2]=h;q[a+12>>2]=i;Da=l+112|0}function IT(a,b,c){a=a|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=q[c+88>>2];h=39;f=1;b=0;a=0;i=q[c+76>>2];e=0;a:{if(i){break a}e=1}while(1){b:{c:{d:{if(!e){j=h<<1;l=p[j+266032>>1]+264672|0;e=o[h+266320|0];b=r[h+267072|0]==10?a:b;h=r[(g+w(a,20)|0)+18|0];m=r[j+264384|0];if(h>>>0>=m>>>0){e=h>>>0>r[j+264385|0]?e:h-m|0}e=r[e+l|0];break d}if((h|0)==39){break c}a=i;e=p[(h<<1)+266784>>1]+ -1|0}h=r[e+266464|0];e=o[e+266624|0];e:{if(!e){break e}e=e+ -1|0;if(e>>>0>18){break e}f:{g:{switch(e-1|0){case 0:d=a+1|0;break e;case 9:d=a+1|0;if(b>>>0>>0){j=f<<4|5;e=b;while(1){o[(g+w(e,20)|0)+15|0]=j;l=(a|0)==(e|0);e=e+1|0;if(!l){continue}break}}e=f+1|0;f=(e|0)==16?1:e;break e;case 11:if(b>>>0>>0){e=f<<4;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 12:if(b>>>0>>0){e=f<<4|1;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 15:if(b>>>0>>0){e=f<<4|2;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 17:if(b>>>0>>0){e=f<<4|3;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 13:if(b>>>0>>0){e=f<<4|4;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 14:if(b>>>0>>0){e=f<<4|5;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;default:if(b>>>0>>0){e=f<<4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 1:if(b>>>0>>0){e=f<<4|1;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 5:if(b>>>0>>0){e=f<<4|2;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 6:if(b>>>0>>0){e=f<<4|3;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 2:if(b>>>0>>0){e=f<<4|4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 4:e=k+ -1|0;if(e>>>0>5){break e}h:{switch(e-1|0){default:if(b>>>0>>0){e=f<<4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;k=1;e=f+1|0;f=(e|0)==16?1:e;break e;case 3:if(b>>>0>>0){e=f<<4|4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;k=5;break e;case 4:break h;case 0:case 1:case 2:break e}}if(b>>>0>>0){e=f<<4|5;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break f;case 16:k=1;d=a+1|0;break e;case 3:d=a+1|0;k=5;break e;case 10:break g;case 7:case 8:break e}}d=a+1|0}k=6}b=r[h+267216|0]==9?0:b;a=a+1|0;if((i|0)!=(a|0)){break b}e=1;continue}d=q[c+76>>2];if(d){b=d+ -1|0;a=0;e=q[c+88>>2];i=r[e+15|0];while(1){i:{if((a|0)==(b|0)){a=d;break i}a=a+1|0;if((i|0)==r[(e+w(a,20)|0)+15|0]){continue}}break}i=0;e=d;while(1){b=a;if(a-i>>>0>=2){rb(c,i,b);e=q[c+76>>2]}a=b+1|0;i=e>>>0>a>>>0?e:a;f=i+ -1|0;g=q[c+88>>2];h=r[(g+w(b,20)|0)+15|0];a=b;while(1){j:{if((a|0)==(f|0)){a=i;break j}a=a+1|0;if((h|0)==r[(g+w(a,20)|0)+15|0]){continue}}break}i=b;if(b>>>0>>0){continue}break}}return}e=0;continue}}function hs(a,b,c,d,e){a=a|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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;f=Da-48|0;Da=f;ef(a,f+32|0);y=f;j=q[f+40>>2];a:{b:{c:{if(!j){break c}m=q[f+32>>2];q[f+28>>2]=m;g=7;i=q[f+36>>2];h=q[b+8>>2];d:{if((h|0)==7){h=q[a+8>>2];e=i+ -1|0;q[a+8>>2]=e;s=1;l=q[a>>2];q[a>>2]=m+1;ef(a,f);q[a+8>>2]=h;q[a>>2]=l;l=0;if(q[f+8>>2]!=3){break d}if(!d){break c}q[f+28>>2]=q[f+28>>2]+1;g=8;i=e;l=1;break d}if((j|0)!=3){e=1}else{if(!d){break c}l=1;q[f+28>>2]=q[f+28>>2]+1;i=i+ -1|0;e=d}s=e;g=h}m=w(d,3);t=d<<1;u=d<<2;v=g+ -1|0;z=v>>>0>7;x=j+ -2|0;e:{while(1){e=q[(l<<2)+c>>2];g=q[b+16>>2];$b(f+28|0,i);if(z){break c}j=e+g|0;f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(v-1|0){default:o:{h=q[f+28>>2];g=h;if(h+3>>>0>=i>>>0|r[h|0]!=116|(r[h+1|0]!=114|r[h+2|0]!=117)){break o}if(r[g+3|0]!=101){break o}e=1;q[f+28>>2]=h+5;break m}e=0;p:{if(r[h|0]!=102|h+4>>>0>=i>>>0|(r[h+1|0]!=97|r[h+2|0]!=108)){break p}if(r[g+3|0]!=115){break p}h=r[h+4|0]==101?h+6|0:h}q[f+28>>2]=h;break m;case 1:e=Ed(f+28|0,i,0);break m;case 2:e=Ed(f+28|0,i,3);break m;case 6:break j;case 5:break k;case 3:case 4:break l;case 0:break n}}k=q[f+28>>2];q[f>>2]=k;g=ne(f,i,10);e=0;h=q[f>>2];if((k|0)==(h|0)){break m}if(!(r[h|0]!=35|h>>>0>=i>>>0)){k=h+1|0;q[f>>2]=k;g=ne(f,i,g);h=q[f>>2];if((k|0)==(h|0)){break m}}q[f+28>>2]=h;e=g}q:{g=r[b+20|0]+ -1|0;if(g>>>0>3){break q}r:{switch(g-1|0){default:o[j|0]=e;break f;case 1:case 2:break q;case 0:break r}}p[j>>1]=e;break f}q[j>>2]=e;break f}e=q[f+28>>2];if(i>>>0<=e>>>0){break f}if(x>>>0>2){break c}g=i-e|0;h=q[a+16>>2];s:{t:{switch(x-1|0){default:q[f+28>>2]=e+1;g=g+ -2|0;break s;case 1:break t;case 0:break c}}q[f+28>>2]=e+1;g=g+ -1|0}e=q[j>>2];if(e){if(e){n[q[h+8>>2]](h,e)}q[j>>2]=0}h=gb(h,g+1|0,f+24|0);e=q[f+24>>2];if(e){break a}e=Qa(h,q[f+28>>2],g);o[e+g|0]=0;q[j>>2]=e;break f}e=q[f+28>>2];q[f+44>>2]=e;u:{v:{w:{if(e>>>0>=i>>>0){break w}g=r[e|0];k=(g|0)==91?93:(g|0)==123?125:0;if(k){e=e+1|0;q[f+44>>2]=e;h=0;if(e>>>0>=i>>>0){break w}while(1){$b(f+44|0,i);e=q[f+44>>2];if(e>>>0>=i>>>0){g=e;break u}if((k|0)==r[e|0]){break v}if((h|0)==4){break i}A=(h<<2)+f|0,B=Ed(f+44|0,i,0),q[A>>2]=B;g=q[f+44>>2];if((g|0)==(e|0)){break w}h=h+1|0;if(g>>>0>>0){continue}break}break u}$b(f+44|0,i);e=q[f+44>>2];if(e>>>0>=i>>>0){g=e;break e}h=0;if(!r[e|0]){break v}A=f,B=Ed(f+44|0,i,0),q[A>>2]=B;g=q[f+44>>2];if((g|0)!=(e|0)){break e}}q[f+28>>2]=e;break c}g=e+1|0;q[f+44>>2]=g}q[f+28>>2]=g;if((h|0)<4){break c}break g}h=q[a+16>>2];g=Oa(h,4,0,u,0,f+24|0);e=q[f+24>>2];if(e){break a}e=Xg(f+28|0,i,d,g,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+u|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+(t<<2)|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+(m<<2)|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=0;if(d){while(1){k=e<<2;j=q[k+c>>2];k=q[g+k>>2];q[j>>2]=((k>>31)+k|0)+32768&-65536;k=q[g+(d+e<<2)>>2];q[j+4>>2]=((k>>31)+k|0)+32768&-65536;k=q[g+(e+t<<2)>>2];q[j+8>>2]=((k>>31)+k|0)+32768&-65536;k=j;j=q[g+(e+m<<2)>>2];q[k+12>>2]=((j>>31)+j|0)+32768&-65536;e=e+1|0;if((e|0)!=(d|0)){continue}break}}if(g){n[q[h+8>>2]](h,g)}break f}q[f+28>>2]=e;break g}q[f+24>>2]=3;if(g){n[q[h+8>>2]](h,g)}e=q[f+24>>2];break a}e=q[f>>2];q[j>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+4>>2];q[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+8>>2];q[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+12>>2];q[j+12>>2]=((e>>31)+e|0)+32768&-65536}l=l+1|0;s=s+ -1|0;if(s){continue}break}e=0;break b}q[f+28>>2]=g}e=3}q[y+24>>2]=e}Da=f+48|0;return e|0}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,p=0,s=0,t=0,u=0,x=0;f=Da-496|0;Da=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(a){if(!c){break l}if(!e){break k}q[e>>2]=1;if(o[643740]&1){Ua(504130,0);cd(c)}if((b|0)<1){break j}while(1){i=q[(g<<2)+a>>2];if(i){h=q[i>>2]+h|0}g=g+1|0;if((g|0)!=(b|0)){continue}break}if(!h){break j}g=0;while(1){m=g;g=g+1|0;if(!Pk(c,m,f+480|0)){continue}break}p=m<<2;s=w(h,220);k=Sa(p+s|0);if(!k){break b}i=w(h,216)+k|0;x=i+(h<<2)|0;g=k;j=i;while(1){l=q[(n<<2)+a>>2];if(!(!l|q[l>>2]<1)){h=0;while(1){if(r[643740]&2){q[f+432>>2]=h;Ua(504141,f+432|0);cd(q[q[l+8>>2]+(h<<2)>>2])}t=q[q[l+8>>2]+(h<<2)>>2];q[g>>2]=t;if(!YH(c,t,g+8|0,e)){break c}if(r[643740]&2){Ua(504150,0);v[f+416>>3]=v[g+8>>3];Ab(504156,f+416|0);v[f+400>>3]=v[g+16>>3];Ab(504156,f+400|0);v[f+384>>3]=v[g+24>>3];Ab(504156,f+384|0);v[f+368>>3]=v[g+32>>3];Ab(504156,f+368|0);v[f+352>>3]=v[g+40>>3];Ab(504156,f+352|0);v[f+336>>3]=v[g+48>>3];Ab(504156,f+336|0);v[f+320>>3]=v[g+56>>3];Ab(504156,f+320|0);v[f+304>>3]=v[g- -64>>3];Ab(504156,f+304|0);v[f+288>>3]=v[g+72>>3];Ab(504156,f+288|0);v[f+272>>3]=v[g+80>>3];Ab(504156,f+272|0);v[f+256>>3]=v[g+88>>3];Ab(504156,f+256|0);v[f+240>>3]=v[g+96>>3];Ab(504156,f+240|0);v[f+224>>3]=v[g+104>>3];Ab(504156,f+224|0);v[f+208>>3]=v[g+112>>3];Ab(504156,f+208|0);v[f+192>>3]=v[g+120>>3];Ab(504156,f+192|0);v[f+176>>3]=v[g+128>>3];Ab(504156,f+176|0);v[f+160>>3]=v[g+136>>3];Ab(504156,f+160|0);v[f+144>>3]=v[g+144>>3];Ab(504156,f+144|0);v[f+128>>3]=v[g+152>>3];Ab(504156,f+128|0);v[f+112>>3]=v[g+160>>3];Ab(504156,f+112|0);v[f+96>>3]=v[g+168>>3];Ab(504156,f+96|0);v[f+80>>3]=v[g+176>>3];Ab(504156,f+80|0);v[f+64>>3]=v[g+184>>3];Ab(504156,f- -64|0);v[f+48>>3]=v[g+192>>3];Ab(504156,f+48|0);v[f+32>>3]=v[g+200>>3];Ab(504156,f+32|0);v[f+16>>3]=v[g+208>>3];Ab(504156,f+16|0);Gb(10)}q[j>>2]=g;j=j+4|0;g=g+216|0;h=h+1|0;if((h|0)>2]){continue}break}}n=n+1|0;if((n|0)!=(b|0)){continue}break}a=g-k|0;j=(a|0)/216|0;Gc(i,j,4,983);m:{if(!m){h=0;if((a|0)<=0){break m}h=1;a=(j|0)>1?j:1;g=0;while(1){b=q[(g<<2)+i>>2];q[b+80>>2]=0;q[b+84>>2]=1086556160;g=g+1|0;if((a|0)!=(g|0)){continue}break}break m}h=0;Na(k+s|0,0,p);if((a|0)<=0){break m}l=(j|0)>1?j:1;b=0;while(1){g=0;n:{o:{h=(b<<2)+i|0;a=q[h>>2];if(v[a+80>>3]<2e3){while(1){a=(g<<2)+x|0;p:{if(q[a>>2]){break p}if(Pk(c,g,f+480|0)){break p}if(Pk(q[q[h>>2]>>2],0,f+464|0)){break p}u=Lp(f+480|0,f+464|0,f+448|0);if(!(u>=0)){break p}if(u<2){break o}}g=g+1|0;if((m|0)!=(g|0)){continue}break}a=q[h>>2]}q[a+80>>2]=0;q[a+84>>2]=1086556160;break n}q:{if(!(r[643740]&2)){break q}if(pd(q[q[h>>2]>>2],504160,0,f+444|0)){break q}if(pd(q[q[h>>2]>>2],504167,0,f+440|0)){break q}q[f>>2]=q[f+444>>2];q[f+4>>2]=q[f+440>>2];q[f+8>>2]=g;Ua(504173,f)}q[a>>2]=1}h=1;b=b+1|0;if((l|0)!=(b|0)){continue}break}}Gc(i,j,4,983);g=Cf();if(!g){break c}b=Uk();if(!b){break d}r:{if(h){h=0;while(1){a=q[i>>2];q[f+464>>2]=0;s:{if(Nk(q[a>>2],505087,f+448|0)){break s}if(!lM(b,q[f+448>>2],f+464|0)){break r}if(h?!q[f+464>>2]:0){break s}XL(q[a>>2]);if(r[643740]&2){Ua(505095,0);cd(q[a>>2])}if(!wi(g,q[a>>2])){break h}}i=i+4|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if(d){break i}a=1;if(b){break g}break f}a=0;break g}I(504078,504068,1018,504116);F()}I(504091,504068,1019,504116);F()}I(504101,504068,1020,504116);F()}g=Cf();break a}q[d>>2]=b;break e}ie(q[a>>2]);a=0;if(!b){break f}}Xc(b)}if(!a){break d}}La(k);if(o[643740]&1){Ua(504205,0);cd(q[q[g+8>>2]>>2])}if(q[g>>2]<1){break a}q[e>>2]=0;break a}je(g)}La(k)}g=0}Da=f+496|0;return g}function Dt(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,t=0,u=0,v=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;h=Da-32|0;Da=h;if(!(e-d>>>0<2|e>>>0<=d>>>0)){K=q[c+88>>2];while(1){l=w(d,20);a:{if(1<<(s[(l+K|0)+16>>1]&31)&7168){A=d;break a}i=d+1|0;m=i>>>0>>0?e:i;j=m+ -1|0;g=d;while(1){b:{A=g;g=g+1|0;if(g>>>0>=e>>>0){A=j;g=m;break b}if(1<<(s[(w(g,20)+K|0)+16>>1]&31)&7168){continue}}break}if(g-d>>>0>=2){rb(c,d,g)}d=q[l+q[c+88>>2]>>2];q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0;j=d;d=q[b+72>>2];if(!n[q[d+200>>2]](b,q[b+76>>2],j,h,q[d- -64>>2])){if(i>>>0>=g>>>0){break a}g=q[c+88>>2];while(1){j=w(i,20);if((s[(j+g|0)+16>>1]&31)==12){d=q[c+96>>2];if(f){m=d+j|0;q[m+8>>2]=q[m+8>>2]-q[m>>2];q[m+12>>2]=q[m+12>>2]-q[m+4>>2]}d=d+j|0;q[d>>2]=0;q[d+4>>2]=0}d=(i|0)==(A|0);i=i+1|0;if(!d){continue}break}break a}d=q[(l+q[c+96>>2]|0)+12>>2];v=0;q[h>>2]=0;q[h+4>>2]=d+q[h+4>>2];d=q[b+72>>2];E=n[q[d+168>>2]](b,q[b+76>>2],q[l+q[c+88>>2]>>2],q[d+32>>2])|0;q[h+8>>2]=E;x=0;if((q[c+48>>2]&-3)==4){d=l+q[c+96>>2]|0;v=0-q[d+4>>2]|0;x=0-q[d>>2]|0}if(i>>>0>=g>>>0){break a}L=q[c+88>>2];d=l+L|0;g=r[d+14|0];t=g&16?r[d+12|0]&4?g&15:1:1;M=g>>>5|0;l=-1;j=255;B=0;F=q[h>>2];u=F;G=q[h+4>>2];o=G;C=E;H=q[h+12>>2];d=H;while(1){m=i;c:{d:{D=w(i,20);y=L+D|0;p=s[y+16>>1];if(p>>>0<256){break d}k=1<<(p&31)&7168;if(!k){break d}g=j;e:{if(t>>>0<2){break e}i=r[y+14|0];j=i&16?0:i&15;i=M?(i>>>5|0)==(M|0)?t>>>0>=j>>>0?j:t:t:t;j=i+ -1|0;if((j|0)==(l|0)){break e}H=q[h+12>>2];l=q[h+8>>2];G=q[h+4>>2];g=q[h>>2];f:{if(B){break f}B=q[a>>2];if((B&-2)==4){break f}B=aj(q[a+4>>2]);p=s[y+16>>1];k=1<<(p&31)&7168}F=g+((w(l,(B|0)==4?j:t-i|0)|0)/(t|0)|0)|0;E=(l|0)/(t|0)|0;l=j;g=255}i=q[q[c+88>>2]+D>>2];q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;j=k?p>>>8|0:0;g=(g|0)==(j|0);u=g?u:F;o=g?o:G;C=g?C:E;d=g?d:H;g=q[b+72>>2];g:{if(!n[q[g+200>>2]](b,q[b+76>>2],i,h+16|0,q[g- -64>>2])){p=q[c+96>>2];break g}I=q[b+24>>2];p=q[c+96>>2];J=D+p|0;g=J;q[g+8>>2]=0;q[g+12>>2]=0;h:{i:{j:{k:{k=j+ -200|0;y=k>>>0>34;if(y){break k}l:{switch(k-1|0){case 15:case 21:case 31:break i;case 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 16:case 18:case 19:case 20:case 22:case 23:case 24:case 25:case 26:case 28:case 29:case 30:break k;case 32:case 33:break l;default:break j}}i=q[c+48>>2]+ -4|0;if(i>>>0>1){break k}z=((u+C|0)+(q[h+24>>2]/-2|0)|0)-q[h+16>>2]|0;if(i-1){break h}z=((q[h+24>>2]/-2|0)+u|0)-q[h+16>>2]|0;break h}z=(u-q[h+16>>2]|0)+((C-q[h+24>>2]|0)/2|0)|0;break h}z=u-q[h+16>>2]|0;break h}z=((u+C|0)-q[h+24>>2]|0)-q[h+16>>2]|0}q[g+8>>2]=z;if(y){break g}g=(I|0)/16|0;m:{switch(k-1|0){case 17:case 19:case 21:case 32:d=d-g|0;default:i=(d+o|0)-q[h+20>>2]|0;g=(I|0)<16^(i|0)>0;q[J+12>>2]=g?0:i;d=(q[h+28>>2]+d|0)+(g?0-i|0:0)|0;break g;case 27:case 29:case 31:case 33:d=d-g|0;o=g+o|0;break;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 16:case 18:case 20:case 22:case 23:case 24:case 25:case 26:case 28:case 30:break g;case 13:case 15:break m}}i=q[h+28>>2];k=(o-q[h+20>>2]|0)-i|0;if(((I|0)>15|0)!=((k|0)>0|0)){g=(k|0)/-2|0;k=g+k|0;o=g+o|0;d=d-g|0}q[J+12>>2]=k;d=d+i|0;o=o-i|0}g=p+D|0;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=q[g+8>>2]+x;q[g+12>>2]=q[g+12>>2]+v;break c}i=q[c+96>>2]+D|0;g=q[i>>2];if((q[c+48>>2]&-3)==4){x=x-g|0;v=v-q[i+4>>2]|0;break c}x=g+x|0;v=q[i+4>>2]+v|0}i=m+1|0;if((m|0)!=(A|0)){continue}break}}d=A+1|0;if(d>>>0>>0){continue}break}}Da=h+32|0}function AX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]!=11){o[a+40|0]=1;break a}e=q[67828];h=q[67829];b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{m=q[a+32>>2];t:{if(!m){q[160744]=e;q[160745]=h;i=642976;break t}z=1;i=q[a+36>>2];if((m|0)!=1){break s}}z=0;q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g()+0;j=v[i>>3]+0;break r}k=v[i+8>>3]+0;j=v[i>>3]+0;if(m>>>0>2){break q}}q[160744]=e;q[160745]=h;d=642976;break p}if((m|0)!=3){break o}r=1;d=i+16|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[d>>3];d=0;break n}k=k+v[i+24>>3];j=j+v[i+16>>3];if(m>>>0>4){break m}r=1;d=1}q[160744]=e;q[160745]=h;p=642976;break l}if((m|0)!=5){break k}d=1;r=1;t=1;p=i+32|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[p>>3];p=0;break j}k=k+v[i+40>>3];j=j+v[i+32>>3];if(m>>>0>6){break i}t=1;r=1;d=1;p=1}q[160744]=e;q[160745]=h;i=642976;break h}if((m|0)!=7){break g}p=1;d=1;r=1;t=1;u=1;i=i+48|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[i>>3];i=0;break f}k=k+v[i+56>>3];j=j+v[i+48>>3];if(m>>>0>8){break e}u=1;t=1;r=1;d=1;p=1;i=1}q[160744]=e;q[160745]=h;l=642976;x=0;break d}l=i- -64|0;if((m|0)!=9){break c}i=1;p=1;d=1;r=1;t=1;u=1;x=1}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);w=+g();A=0;break b}w=v[i+72>>3];i=1;p=1;d=1;r=1;t=1;u=1;x=1;A=1}B=v[l>>3];l=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=l;l=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=l;u:{if(!m){q[160744]=e;q[160745]=h;l=642976;break u}l=q[a+36>>2]}v:{if(!z){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break v}n=v[q[a+36>>2]+8>>3]}s=v[l>>3];v[c+88>>3]=v[c+88>>3]+n;v[c+80>>3]=s+v[c+80>>3];l=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=l;l=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=l;w:{if(!r){q[160744]=e;q[160745]=h;l=642976;break w}l=q[a+36>>2]+16|0}x:{if(!d){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break x}n=v[q[a+36>>2]+24>>3]}s=v[l>>3];v[c+72>>3]=v[c+72>>3]+n;v[c+64>>3]=s+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;y:{if(!t){q[160744]=e;q[160745]=h;d=642976;break y}d=q[a+36>>2]+32|0}z:{if(!p){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break z}n=v[q[a+36>>2]+40>>3]}s=v[d>>3];v[c+56>>3]=v[c+56>>3]+n;v[c+48>>3]=s+v[c+48>>3];d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;A:{if(!u){q[160744]=e;q[160745]=h;d=642976;break A}d=q[a+36>>2]+48|0}B:{if(!i){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break B}n=v[q[a+36>>2]+56>>3]}s=v[d>>3];v[c+40>>3]=v[c+40>>3]+n;v[c+32>>3]=s+v[c+32>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;C:{if(!x){q[160744]=e;q[160745]=h;d=642976;break C}d=q[a+36>>2]- -64|0}k=k+w;w=j+B;D:{if(!A){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break D}j=v[q[a+36>>2]+72>>3]}n=v[d>>3];v[c+24>>3]=v[c+24>>3]+j;v[c+16>>3]=n+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;E:{if(y(w)>y(k)){F:{if(m>>>0<=10){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break F}j=v[q[a+36>>2]+80>>3]}v[c>>3]=v[c>>3]+j;d=q[a+140>>2];q[c+8>>2]=q[a+136>>2];q[c+12>>2]=d;break E}d=q[a+132>>2];q[c>>2]=q[a+128>>2];q[c+4>>2]=d;G:{if(m>>>0<=10){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break G}j=v[q[a+36>>2]+80>>3]}v[c+8>>3]=v[c+8>>3]+j}pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c)}Da=c+96|0}function _W(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=Da-48|0;Da=d;c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;e=q[a+24>>2];if(e&1){if(!e){o[a+20|0]=1}a:{if(!q[a+32>>2]){g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break a}g=q[a+36>>2]}b:{if(!r[a+176|0]){break b}c=q[g+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}f=q[g+24>>2];i=q[a+172>>2];h=v[g>>3];e=0;while(1){h=h+v[f+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=h;if(q[g+16>>2]<0){break b}q[g+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[g>>3];e=q[a+24>>2];g=1}c=g|4;if(c>>>0<=e>>>0){while(1){i=g;g=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];c:{if(k>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];d:{if(!m){break d}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break d}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=i+1|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}e:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}c=q[a+36>>2]+(c<<5)|0}f:{if(!m){break f}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break f}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=i+2|0;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}g:{if(k>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break g}f=q[a+36>>2]+(f<<5)|0}h:{if(!m){break h}j=q[f+20>>2];if(!j|(j|0)!=q[a+168>>2]){break h}l=q[f+24>>2];n=q[a+172>>2];h=v[f>>3];e=0;while(1){h=h+v[l+(e<<3)>>3]*+u[(e<<2)+n>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=h;if(q[f+16>>2]<0){break h}q[f+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[c>>3];v[d+24>>3]=v[d+24>>3]+v[f>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}i:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break i}c=q[a+36>>2]+(c<<5)|0}j:{if(!m){break j}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break j}i=q[c+24>>2];k=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[i+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break j}q[c+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[c>>3];pb(a,b,d+32|0,d+16|0,d);c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;c=g+4|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}Da=d+48|0}function $W(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=Da-48|0;Da=d;c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;e=q[a+24>>2];if(e&1){if(!e){o[a+20|0]=1}a:{if(!q[a+32>>2]){g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break a}g=q[a+36>>2]}b:{if(!r[a+176|0]){break b}c=q[g+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}f=q[g+24>>2];i=q[a+172>>2];h=v[g>>3];e=0;while(1){h=h+v[f+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=h;if(q[g+16>>2]<0){break b}q[g+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[g>>3];e=q[a+24>>2];g=1}c=g|4;if(c>>>0<=e>>>0){while(1){i=g;g=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];c:{if(k>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];d:{if(!m){break d}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break d}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=i+1|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}e:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}c=q[a+36>>2]+(c<<5)|0}f:{if(!m){break f}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break f}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=i+2|0;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}g:{if(k>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break g}f=q[a+36>>2]+(f<<5)|0}h:{if(!m){break h}j=q[f+20>>2];if(!j|(j|0)!=q[a+168>>2]){break h}l=q[f+24>>2];n=q[a+172>>2];h=v[f>>3];e=0;while(1){h=h+v[l+(e<<3)>>3]*+u[(e<<2)+n>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=h;if(q[f+16>>2]<0){break h}q[f+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[c>>3];v[d+24>>3]=v[d+24>>3]+v[f>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}i:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break i}c=q[a+36>>2]+(c<<5)|0}j:{if(!m){break j}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break j}i=q[c+24>>2];k=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[i+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break j}q[c+20>>2]=0}v[d>>3]=v[d>>3]+v[c>>3];pb(a,b,d+32|0,d+16|0,d);c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;c=g+4|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}Da=d+48|0}function vG(a,b){var c=0,d=0,i=0,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=1;h(+b);j=e(1)|0;d=e(0)|0;r=j;a:{b:{l=j&2147483647;c:{if(!(d|l)){break c}h(+a);k=e(1)|0;w=e(0)|0;s=k;if((k|0)==1072693248?!w:0){break c}d:{k=s&2147483647;if(!(k>>>0>2146435072|(k|0)==2146435072&(w|0)!=0|l>>>0>2146435072)){if(!d|(l|0)!=2146435072){break d}}return a+b}e:{f:{g:{n=0;h:{if((s|0)>-1){break h}n=2;if(l>>>0>1128267775){break h}n=0;if(l>>>0<1072693248){break h}t=l>>>20|0;if(l>>>0<1094713344){break g}i=1075-t|0;t=d>>>i|0;n=0;if((d|0)!=t<>>d|0;n=0;if((l|0)!=i<>>0>=1072693248){return(j|0)>-1?b:0}return(j|0)>-1?0:-b}if((l|0)==1072693248){if((j|0)>-1){return a}return 1/a}if((j|0)==1073741824){return a*a}if((j|0)!=1071644672|(s|0)<0){break e}return E(a)}c=y(a);if(!(((k|1073741824)!=2146435072?k:0)|w)){c=(j|0)<0?1/c:c;if((s|0)>-1){break c}if(!(k+ -1072693248|i)){a=c-c;return a/a}return(i|0)==1?-c:c}p=1;if(!((s|0)>-1|i>>>0>1)){if(i-1){a=a-a;return a/a}p=-1}i:{if(l>>>0>=1105199105){if(l>>>0>=1139802113){if(k>>>0<=1072693247){return(j|0)<0?H:0}return(j|0)>0?H:0}if(k>>>0<=1072693246){return(j|0)<0?p*1e+300*1e+300:p*1e-300*1e-300}if(k>>>0>=1072693249){return(j|0)>0?p*1e+300*1e+300:p*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;o=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;h(+(c+o));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a-c;break i}a=c*9007199254740992;d=k>>>0<1048576;c=d?a:c;h(+a);i=e(1)|0;e(0)|0;i=d?i:k;k=i&1048575;j=k|1072693248;i=(i>>20)+(d?-1076:-1023)|0;l=0;j:{if(k>>>0<235663){break j}if(k>>>0<767610){l=1;break j}j=j+ -1048576|0;i=i+1|0}k=l<<3;u=v[k+636992>>3];h(+c);e(1)|0;f(0,e(0)|0);f(1,j|0);o=+g();m=v[k+636960>>3];q=o-m;x=1/(m+o);c=q*x;h(+c);d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();A=a;z=a*a;B=q;f(0,0);f(1,((j>>1|536870912)+(l<<18)|0)+524288|0);q=+g();o=x*(B-a*q-a*(o-(q-m)));m=(c+a)*o;a=c*c;m=m+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);h(+(z+3+m));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();q=A*a;c=o*a+c*(m-(a+ -3-z));h(+(q+c));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a*.9617967009544373;o=v[k+636976>>3]+((c-(a-q))*.9617966939259756+a*-7.028461650952758e-9);c=+(i|0);h(+(u+(m+o)+c));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a-c-u-m}f(0,0);f(1,r|0);u=+g();c=a*u;a=(o-m)*b+(b-u)*a;b=c+a;h(+b);j=e(1)|0;r=e(0)|0;k:{i=j;d=j;if((d|0)>=1083179008){if(r|d+ -1083179008){break b}if(!(a+8.008566259537294e-17>b-c)){break k}break b}if((d&2147482624)>>>0<1083231232){break k}if(r|d+1064252416){break a}if(!(a<=b-c)){break k}break a}l=0;j=d&2147483647;if(j>>>0>=1071644673){i=d+(1048576>>>(j>>>20|0)+ -1022|0)|0;j=i>>>20&2047;r=(i&1048575|1048576)>>>1043-j|0;l=(d|0)<0?0-r|0:r;f(0,0);f(1,i&-1048576>>j+ -1023);c=c- +g();h(+(a+c));d=e(1)|0;e(0)|0}else{d=i}f(0,0);f(1,d|0);b=+g();o=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=o+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);m=a*b/(b+ -2);b=c-(a-o);a=a-(m-(b+a*b))+1;h(+a);d=e(1)|0;i=e(0)|0;d=(l<<20)+d|0;l:{if((d|0)<=1048575){a=Kd(a,l);break l}f(0,i|0);f(1,d|0);a=+g()}c=p*a}return c}return p*1e+300*1e+300}return p*1e-300*1e-300}function jj(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;l=Da-192|0;Da=l;q[l+144>>2]=0;q[l+148>>2]=0;q[l+152>>2]=0;q[l+156>>2]=0;q[l+160>>2]=0;q[l+164>>2]=0;q[l+168>>2]=0;q[l+172>>2]=0;q[l+176>>2]=0;q[l+180>>2]=0;q[l+184>>2]=0;q[l+188>>2]=0;q[l+128>>2]=0;q[l+132>>2]=0;q[l+136>>2]=0;q[l+140>>2]=0;t=l+128|4;m=b;k=a;while(1){v=(l+128|0)+(q[k>>2]<<2)|0;q[v>>2]=q[v>>2]+1;k=k+4|0;m=m+ -1|0;if(m){continue}break}a:{if(q[l+128>>2]==(b|0)){q[f>>2]=0;q[g>>2]=0;break a}k=q[g>>2];n=1;m=g;b:{c:{d:{e:{f:{g:{v=q[l+132>>2];if(v){break g}n=2;if(q[l+136>>2]){break g}n=3;if(q[l+140>>2]){break g}n=4;if(q[l+144>>2]){break g}n=5;if(q[l+148>>2]){break g}n=6;if(q[l+152>>2]){break g}n=7;if(q[l+156>>2]){break g}n=8;if(q[l+160>>2]){break g}n=9;if(q[l+164>>2]){break g}n=10;if(q[l+168>>2]){break g}n=11;if(q[l+172>>2]){break g}n=12;if(q[l+176>>2]){break g}n=13;if(q[l+180>>2]){break g}n=14;if(q[l+184>>2]){break g}if(q[l+188>>2]){n=15;k=k>>>0>15?k:15;p=15;break e}n=16;k=k>>>0>16?k:16;break f}k=k>>>0>>0?n:k;if(!q[l+188>>2]){break f}p=15;u=k>>>0<15?k:15;q[g>>2]=u;m=1<>2]){break d}p=13;if(q[l+180>>2]){break d}p=12;if(q[l+176>>2]){break d}p=11;if(q[l+172>>2]){break d}p=10;if(q[l+168>>2]){break d}p=9;if(q[l+164>>2]){break d}p=8;if(q[l+160>>2]){break d}p=7;if(q[l+156>>2]){break d}p=6;if(q[l+152>>2]){break d}p=5;if(q[l+148>>2]){break d}p=4;if(q[l+144>>2]){break d}p=3;if(q[l+140>>2]){break d}p=2;if(q[l+136>>2]){break d}p=(v|0)!=0}u=k>>>0>p>>>0?p:k;q[m>>2]=u;m=1<>>0>p>>>0?p:k;q[g>>2]=u;m=1<>>0>=p>>>0){break b}}k=n;while(1){g=m-q[(l+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}m=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=(l+128|0)+(p<<2)|0;D=m-q[g>>2]|0;if((D|0)<0){break a}q[g>>2]=m;q[l+4>>2]=0;m=p+ -1|0;if(m){k=l|8;while(1){s=q[t>>2]+s|0;q[k>>2]=s;k=k+4|0;t=t+4|0;m=m+ -1|0;if(m){continue}break}}g=b>>>0>1?b:1;k=0;while(1){b=q[a>>2];if(b){m=(b<<2)+l|0;b=q[m>>2];q[m>>2]=b+1;q[(b<<2)+j>>2]=k}a=a+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}q[l+64>>2]=0;a=q[(p<<2)+l>>2];q[l>>2]=0;if(n>>>0<=p>>>0){t=0-u|0;G=(a<<2)+j|0;b=0;s=-1;while(1){E=(l+128|0)+(n<<2)|0;y=q[E>>2];if(y){H=1<>>0<=y>>>0){break i}m=g;s=p-t|0;w=s>>>0>u>>>0?u:s;if(m>>>0>=w>>>0){break i}m=g+1|0;if(m>>>0>=w>>>0){break i}z=B>>>0>u>>>0?u:B;s=k-y|0;k=E;while(1){s=s<<1;A=q[k+4>>2];if(s>>>0<=A>>>0){break i}k=k+4|0;s=s-A|0;m=m+1|0;if(m>>>0>>0){continue}break}m=z}w=1<>2];A=w+k|0;if(A>>>0>1440){break a}s=v+1|0;F=s<<2;z=(k<<3)+h|0;q[F+(l- -64|0)>>2]=z;q[i>>2]=A;j:{if(s){q[l+F>>2]=b;v=q[(l- -64|0)+(v<<2)>>2];k=b>>>a|0;a=v+(k<<3)|0;o[a+1|0]=u;o[a|0]=m;x=(z-v>>3)-k|0;q[a+4>>2]=x;break j}q[f>>2]=z}B=B-u|0;a=t;v=s;k=t+u|0;if((n|0)>(k|0)){continue}break}}a=192;k:{if(j>>>0>=G>>>0){break k}x=q[j>>2];if(x>>>0>>0){a=x>>>0<256?0:96;j=j+4|0;break k}j=j+4|0;k=x-c<<2;a=r[k+e|0]+80|0;x=q[d+k>>2]}k=b>>>t|0;if(k>>>0>>0){v=1<>2]=x;o[m+1|0]=g;o[m|0]=a;k=k+v|0;if(k>>>0>>0){continue}break}}y=y+ -1|0;m=b;k=H;while(1){a=k&m;b=k^m;m=b;k=k>>>1|0;if(a){continue}break}if(q[(s<<2)+l>>2]!=((-1<>2]!=((-1<>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{while(1){if(d>>>0>7){return-31}n:{o:{switch(d-1|0){case 1:c=q[b+4>>2];break n;default:d=q[b+4>>2];p:{if((d|0)!=32){e=q[b>>2];break p}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}q[b+4>>2]=d+1;q[a+184>>2]=0;c=1<>1]=s[a+560>>1]&65528|(c|0)!=0;if(!c){d=2;q[a+544>>2]=2;continue}q[a+544>>2]=1;break;case 3:break k;case 2:break m;case 0:break o;case 6:break f;case 5:break h;case 4:break i}}d=q[b+4>>2];q:{if((d|0)!=32){e=q[b>>2];break q}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}c=d+1|0;q[b+4>>2]=c;if(e>>>d&1){q[a+544>>2]=0;return 1}q[a+544>>2]=2}r:{if(32-c>>>0>=2){f=q[b>>2];break r}d=q[b+12>>2];e=c;while(1){if(!d){break b}g=q[b>>2]>>>8|0;q[b>>2]=g;f=q[b+8>>2];h=r[f|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=f+1;f=g|h<<24;q[b>>2]=f;g=40-e|0;e=c;if(g>>>0<2){continue}break}}q[b+4>>2]=c+2;q[a+4>>2]=0;c=f>>>c&3;d=s[a+560>>1]&-16321|c<<6|256;p[a+560>>1]=d;if((c|0)==3){p[a+560>>1]=d|4;d=5;q[a+544>>2]=5;continue}break}q[a+544>>2]=3;c=0;break l}d=s[a+560>>1];c=q[a+4>>2]}if((c|0)<(d>>>6&255)){e=q[b+4>>2];while(1){g=c;s:{if(32-e>>>0>=4){f=q[b>>2];c=e;break s}d=q[b+12>>2];while(1){if(!d){break d}f=q[b>>2]>>>8|0;q[b>>2]=f;h=q[b+8>>2];i=r[h|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=h+1;f=f|i<<24;q[b>>2]=f;h=40-e|0;e=c;if(h>>>0<4){continue}break}}e=c+4|0;q[b+4>>2]=e;f=f>>>c&15;c=g+1|0;d=s[a+560>>1];h=d>>>6&255;if(!(f|(c|0)!=(h|0)|h>>>0<=4)){return-1}q[a+184>>2]=q[a+184>>2]|f<<(g<<2);if((c|0)<(h|0)){continue}break}}q[a+544>>2]=4;break j}d=s[a+560>>1]}if(!(d&1)){d=q[b+4>>2];t:{if((d|0)!=32){e=q[b>>2];break t}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}q[b+4>>2]=d+1;p[a+560>>1]=s[a+560>>1]&65533|(e>>>d&1)<<1}q[a+544>>2]=0;q[a+184>>2]=q[a+184>>2]+1;return 1}e=q[b+4>>2];u:{if((e|0)!=32){d=q[b>>2];break u}c=q[b+12>>2];if(!c){break b}d=q[b>>2]>>>8|0;q[b>>2]=d;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;e=24;q[b+4>>2]=24;q[b+8>>2]=g+1;d=d|f<<24;q[b>>2]=d}c=e+1|0;q[b+4>>2]=c;g=-2;if(d>>>e&1){break a}q[a+544>>2]=6;break g}c=q[b+4>>2]}v:{if(32-c>>>0>=2){f=q[b>>2];break v}d=q[b+12>>2];e=c;while(1){if(!d){break b}g=q[b>>2]>>>8|0;q[b>>2]=g;f=q[b+8>>2];h=r[f|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=f+1;f=g|h<<24;q[b>>2]=f;g=40-e|0;e=c;if(g>>>0<2){continue}break}}q[b+4>>2]=c+2;c=f>>>c&3;if(!c){q[a+544>>2]=0;return 1}q[a+544>>2]=7;d=s[a+560>>1]&-16321|c<<6;p[a+560>>1]=d;break e}d=s[a+560>>1]}e=q[a+4>>2];w:{if((e|0)>=(d>>>6&255)){c=q[a+184>>2];break w}d=q[b+4>>2];while(1){g=e;x:{if(32-d>>>0>=8){f=q[b>>2];c=d;break x}e=q[b+12>>2];while(1){if(!e){break c}f=q[b>>2]>>>8|0;q[b>>2]=f;h=q[b+8>>2];i=r[h|0];e=e+ -1|0;q[b+12>>2]=e;c=d+ -8|0;q[b+4>>2]=c;q[b+8>>2]=h+1;f=f|i<<24;q[b>>2]=f;h=40-d|0;d=c;if(h>>>0<8){continue}break}}d=c+8|0;q[b+4>>2]=d;c=f>>>c&255;e=g+1|0;f=s[a+560>>1]>>>6&255;if(!(c|(e|0)!=(f|0)|f>>>0<=1)){return-3}c=q[a+184>>2]|c<<(g<<3);q[a+184>>2]=c;if((e|0)<(f|0)){continue}break}}q[a+544>>2]=0;q[a+184>>2]=c+1;return 1}q[a+4>>2]=g;break b}q[a+4>>2]=g}g=2}return g}function FC(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,p=0,s=0,u=0;l=Da-16|0;Da=l;b=3;f=q[a+32>>2];a:{if(!f){break a}e=q[f+364>>2];if(!e){break a}g=q[e+588>>2];b=q[e+584>>2];f=q[f+360>>2];b:{if(!(!r[e+556|0]|(f|0)!=q[e+564>>2]|(b|0)!=q[e+568>>2])){if(!b){break b}if(!Oc(g,q[e+572>>2],b<<2)){break b}}b=bo(e+556|0,f,b,g);if(b){break a}}c:{d:{e:{c=q[a+20>>2];b=q[c+ -4>>2];g=r[b|0];if((g|0)!=255){if((g|0)!=30){break e}f=sc(a,b,0,0)>>16;break d}f=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break d}j=b+1|0;f=g+ -28|0;if(f>>>0<=1){if(f-1){f=0;if(t[a+8>>2]<=b+2>>>0){break c}f=(r[b+2|0]|r[j|0]<<8)<<16>>16;break d}f=0;if(t[a+8>>2]<=b+4>>>0){break c}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}f=g+ -139|0;if(g>>>0<=246){break d}b=q[a+8>>2];if(g>>>0<=250){f=0;if(b>>>0<=j>>>0){break c}f=(r[j|0]|g<<8)+ -63124|0;break d}f=0;if(b>>>0<=j>>>0){break c}f=64148-(r[j|0]|g<<8)|0}b=3;if(f>>>0>t[a+24>>2]){break a}c=q[a+20>>2]}g=q[q[e+560>>2]+8>>2];q[l+12>>2]=0;d=(c-q[a+16>>2]|0)+ -4>>2;h=w(q[e+576>>2],f);f:{if(d>>>0>>0){b=161;q[l+12>>2]=161;break f}k=q[e+600>>2];j=w(f,5);b=q[e+604>>2];g:{if(k+j>>>0<=b>>>0){break g}i=q[e+596>>2];c=g;g=q[e+592>>2];c=Oa(c,1,b,b+j|0,g,l+12|0);q[e+592>>2]=c;b=q[l+12>>2];if(b){break f}k=q[e+600>>2];q[e+596>>2]=c+k;q[e+604>>2]=j+q[e+604>>2];if(!g|(c|0)==(g|0)){break g}b=q[a+16>>2];m=q[a+20>>2];if(b>>>0>=m>>>0){break g}n=c-g|0;while(1){c=q[b>>2];if(!(c>>>0>>0|c>>>0>=i>>>0)){q[b>>2]=c+n;m=q[a+20>>2]}b=b+4|0;if(b>>>0>>0){continue}break}}q[e+600>>2]=j+k;s=d-h|0;j=s+f|0;if(f){g=j;while(1){b=q[e+580>>2];h:{i:{u=p+s<<2;c=q[u+q[a+16>>2]>>2];h=r[c|0];if((h|0)!=255){if((h|0)!=30){break i}d=sc(a,c,0,0)>>16;break h}d=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break h}i=c+1|0;d=h+ -28|0;if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=c+2>>>0){break h}d=(r[c+2|0]|r[i|0]<<8)<<16>>16;break h}d=0;if(t[a+8>>2]<=c+4>>>0){break h}c=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break h}d=h+ -139|0;if(h>>>0<=246){break h}c=q[a+8>>2];if(h>>>0<=250){d=0;if(c>>>0<=i>>>0){break h}d=(r[i|0]|h<<8)+ -63124|0;break h}d=0;if(c>>>0<=i>>>0){break h}d=64148-(r[i|0]|h<<8)|0}i=d<<16;m=1;k=q[e+576>>2];if(k>>>0>=2){while(1){b=b+4|0;j:{k:{d=q[q[a+16>>2]+(g<<2)>>2];h=r[d|0];if((h|0)!=255){if((h|0)!=30){break k}c=sc(a,d,0,0)>>16;k=q[e+576>>2];break j}c=((r[d+3|0]|(r[d+2|0]<<8|r[d+1|0]<<16))<<8)+32768>>16;break j}n=d+1|0;c=h+ -28|0;if(c>>>0<=1){if(c-1){c=0;if(t[a+8>>2]<=d+2>>>0){break j}c=(r[d+2|0]|r[n|0]<<8)<<16>>16;break j}c=0;if(t[a+8>>2]<=d+4>>>0){break j}c=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break j}if(h>>>0<=246){c=h+ -139|0;break j}d=q[a+8>>2];if(h>>>0<=250){c=0;if(d>>>0<=n>>>0){break j}c=(r[n|0]|h<<8)+ -63124|0;break j}c=0;if(d>>>0<=n>>>0){break j}c=64148-(r[n|0]|h<<8)|0}g=g+1|0;i=w(q[b>>2],c)+i|0;m=m+1|0;if(m>>>0>>0){continue}break}}q[q[a+16>>2]+u>>2]=q[e+596>>2];b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=255;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>24;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>16;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>8;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i;p=p+1|0;if((p|0)!=(f|0)){continue}break}b=q[l+12>>2]}else{b=0}q[a+20>>2]=q[a+16>>2]+(j<<2)}o[e+557|0]=1}Da=l+16|0;return b|0}function aW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=x(0),l=0,m=0;d=q[a>>2];h=d+10|0;e=q[a+4>>2];d=r[d|0]|r[d+1|0]<<8;g=(d<<24|d<<8&16711680)>>16;m=g+1|0;d=h+(m<<1)|0;a:{if(e>>>0>d>>>0){break a}e=e+q[a+8>>2]|0;if(d>>>0>e>>>0|e-d>>>0<2){break a}d=(h+(g<<1)|0)+ -2|0;j=r[d|0]<<8|r[d+1|0];d=0;e=q[b>>2];b:{if((e|0)<0){break b}l=j+1|0;if(e>>>0<=j>>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=l>>>0){continue}break}c:{if(!(f>>>0>>0|f>>>0>268435454)){e=db(q[b+8>>2],f<<4);if(e){break c}}q[b>>2]=-1;break b}q[b>>2]=f;q[b+8>>2]=e}f=q[b+4>>2];if(j>>>0>=f>>>0){Na(q[b+8>>2]+(f<<4)|0,0,l-f<<4)}q[b+4>>2]=l}f=q[b+4>>2];if(f){d=f;e=0;while(1){d:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];f=642976;break d}f=q[b+8>>2]+(e<<4)|0}q[f+4>>2]=0;q[f+8>>2]=0;o[f|0]=0;o[f+12|0]=0;e=e+1|0;if(e>>>0>>0){continue}break}}f=1;if(c){break a}e:{if((g|0)<1){break e}e=0;while(1){c=h+(e<<1)|0;c=r[c|0]<<8|r[c+1|0];f:{if(d>>>0<=c>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[b+8>>2]+(c<<4)|0}o[c+12|0]=1;e=e+1|0;if((g|0)==(e|0)){break e}d=q[b+4>>2];continue}}c=h+(g<<1)|0;c=(h+(m<<1)|0)+(r[c|0]<<8|r[c+1|0])|0;f=0;e=0;while(1){d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}h=r[c|0];d=c+1|0;g:{if(t[b+4>>2]<=e>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break g}g=q[b+8>>2]+(e<<4)|0}o[g|0]=h;if(h&8){g=q[a+4>>2];if(g>>>0>d>>>0|g+q[a+8>>2]>>>0<=d>>>0){break a}d=c+2|0;c=r[c+1|0];h:{if(!c){break h}while(1){e=e+1|0;if(e>>>0>j>>>0){break h}c=c+ -1|0;i:{if(t[b+4>>2]<=e>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break i}g=q[b+8>>2]+(e<<4)|0}o[g|0]=h;if(c){continue}break}}}c=d;e=e+1|0;if(e>>>0<=j>>>0){continue}break}d=q[b+4>>2];if(!d){return 1}e=0;while(1){j:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}d=q[b+8>>2]+(e<<4)|0}h=r[d|0];k:{if(h&2){d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=x(r[c|0]);if(h&16){i=x(i+k);c=d;break k}i=x(i-k);c=d;break k}if(h&16){break k}d=q[a+4>>2];if(d>>>0>c>>>0){break a}d=d+q[a+8>>2]|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=r[c|0]|r[c+1|0]<<8;i=x(i+x((d<<24|d<<8&16711680)>>16));c=c+2|0}d=q[b+4>>2];l:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];h=642976;break l}h=q[b+8>>2]+(e<<4)|0}u[h+4>>2]=i;e=e+1|0;if(e>>>0>>0){continue}break}if(!d){return 1}i=x(0);e=0;while(1){m:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[b+8>>2]+(e<<4)|0}h=r[d|0];n:{if(h&4){f=0;d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=x(r[c|0]);if(h&32){i=x(i+k);c=d;break n}i=x(i-k);c=d;break n}if(h&32){break n}f=0;d=q[a+4>>2];if(d>>>0>c>>>0){break a}d=d+q[a+8>>2]|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=r[c|0]|r[c+1|0]<<8;i=x(i+x((d<<24|d<<8&16711680)>>16));c=c+2|0}d=q[b+4>>2];o:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];f=642976;break o}f=q[b+8>>2]+(e<<4)|0}u[f+8>>2]=i;f=1;e=e+1|0;if(e>>>0>>0){continue}break}}return f}function kq(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=-1;a:{f=c-b|0;if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{k=r[b|0];if(k){e=k+ -216|0;if(e>>>0>39){break h}switch(e-4|0){case 0:case 1:case 2:case 3:break c;case 35:break e;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:break h;default:break f}}h=r[b+1|0];e=r[(h+a|0)+72|0]+ -5|0;if(e>>>0>24){break c}switch(e-1|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}h=r[b+1|0];break d}j=-2;if((f|0)>=3){break c}break a}j=-2;if((f|0)>=4){break c}break a}h=r[b+1|0];if(h>>>0>253){break c}}if(q[(h>>>3&28|r[k+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=b;return 0}i=b+2|0;g=c-i|0;if((g|0)<2){break a}m=a+72|0;f=i;a=b;while(1){i:{j:{k:{l:{m:{n:{l=r[a+2|0];e=l+ -216|0;if(e>>>0>39){if(l){break l}e=r[a+3|0];n=r[m+e|0]+ -5|0;if(n>>>0>24){break i}o:{switch(n-1|0){case 0:j=-2;if((g|0)<3){break a}break i;case 3:case 4:case 15:g=11;p:{if(k|(f-b|0)!=6){break p}if((h|0)==120){e=0}else{if((h|0)!=88){break p}e=1}if(r[i|0]){break p}i=o[b+3|0];if((i|0)!=109){if((i|0)!=77){break p}e=1}if(r[b+4|0]){break p}b=o[b+5|0];if((b|0)==76){break i}if((b|0)!=108){break p}if(e){break i}g=12}b=a+4|0;f=c-b|0;if((f|0)<2){break a}while(1){a=b;q:{r:{s:{t:{u:{v:{w:{e=r[b|0];b=e+ -216|0;if(b>>>0>39){if(e){break r}b=r[r[a+1|0]+m|0];if(b>>>0>15){break r}switch(b-2|0){case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:break r;case 13:break s;case 5:break v;case 4:break w;default:break t}}switch(b-4|0){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:break r;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}if((f|0)<3){return-2}b=a+3|0;break q}if((f|0)<4){return-2}b=a+4|0;break q}if(r[a+1|0]<=253){break r}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[b|0]|r[a+3|0]!=62){break q}q[d>>2]=a+4;return g}b=a+2|0}f=c-b|0;if((f|0)>1){continue}break}break a;case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 1:break n;case 9:break o;default:break i}}e=11;x:{if(k|(f-b|0)!=6){break x}if((h|0)==120){g=0}else{if((h|0)!=88){break x}g=1}if(r[i|0]){break x}i=o[b+3|0];if((i|0)!=109){if((i|0)!=77){break x}g=1}if(r[b+4|0]){break x}b=o[b+5|0];if((b|0)==76){break i}if((b|0)!=108){break x}if(g){break i}e=12}f=a+4|0;if((c-f|0)<2){break a}if(r[a+4|0]|r[a+5|0]!=62){break i}q[d>>2]=a+6;j=e;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break i;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:break l;case 35:break m;default:break n}}j=-2;if((g|0)>=4){break i}break a}e=r[a+3|0];if(e>>>0>253){break i}break k}e=r[a+3|0]}if(!(q[(e>>>3&28|r[l+492784|0]<<5)+490512>>2]>>>(e&31)&1)){break i}}a=f;f=a+2|0;g=c-f|0;if((g|0)>1){continue}break a}break}q[d>>2]=f;return 0}return j}function pN(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=Da-48|0;Da=g;a:{if(!Dr(a,100,100)){break a}q[b+12>>2]=-2147483648;q[b>>2]=2147483647;q[b+4>>2]=2147483647;q[b+8>>2]=-2147483648;q[g+32>>2]=c;b:{if(!c){break b}e=r[c|0];if(!e){break b}f=-1;while(1){h=f;c:{d:{if(!(!l|(e&255)!=99)){m=0;e=q[l+12>>2];if(!e|q[e>>2]!=5){break d}e=q[e+12>>2];if(!e|q[e>>2]!=5){break d}f=ab(1,20);q[j+12>>2]=f;q[f>>2]=5;q[f+16>>2]=j;e=q[l+8>>2];q[f+4>>2]=q[l+4>>2];q[f+8>>2]=e;e=q[l+12>>2];i=ab(1,20);q[f+12>>2]=i;q[i>>2]=5;q[i+16>>2]=f;f=q[e+8>>2];q[i+4>>2]=q[e+4>>2];q[i+8>>2]=f;f=q[e+12>>2];j=ab(1,20);q[i+12>>2]=j;q[j>>2]=5;q[j+16>>2]=i;e=q[f+8>>2];q[j+4>>2]=q[f+4>>2];q[j+8>>2]=e;e=c;f=h;l=0;break c}e:{f:{g:{if(m>>>0>1){break g}if(m-1){if(!Fb(g+32|0,g+40|0)){break g}e=q[g+32>>2]+ -1|0;q[g+32>>2]=e;n=v[g+40>>3]*64;if(y(n)<2147483648){o=~~n;break e}o=-2147483648;break e}if(Fb(g+32|0,g+40|0)){break f}}m=0;h:{e=q[g+32>>2];c=r[e|0]+ -98|0;if(c>>>0>17){break h}f=0;i:{switch(c-1|0){case 11:f=1;break c;case 9:f=2;break c;default:f=3;break c;case 14:f=4;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 12:case 13:case 15:break h;case 16:break i;case 10:break c}}f=5;break c}f=h;break c}f=-1;e=q[g+32>>2]+ -1|0;q[g+32>>2]=e;c=(h|0)==-1;n=v[g+40>>3]*64;j:{if(y(n)<2147483648){i=~~n;break j}i=-2147483648}if(c){m=2;break c}m=0;c=ab(1,20);k:{if(!k){j=0;k=c;break k}q[j+12>>2]=c;q[c+16>>2]=j}q[c+8>>2]=i;q[c+4>>2]=o;q[c>>2]=h;f=(l|0)!=0|(h|0)!=5;l=f?l:j;f=f?h:5;j=c;break c}m=1;break c}e=c}c=e+1|0;q[g+32>>2]=c;e=r[e+1|0];if(e){continue}break}}q[g+40>>2]=0;q[g+44>>2]=0;l:{m:{if(!k){break m}e=k;f=0;while(1){n:{o:{p:{q:{c=q[e>>2];if(c>>>0>5){break q}r:{switch(c-1|0){case 0:j=q[e+8>>2];c=q[e+4>>2];q[g+40>>2]=c;q[g+44>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;break q;default:j=q[e+8>>2];c=q[e+4>>2];q[g+40>>2]=c;q[g+44>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;if(f){if(!Ar(a)){break l}if(!zr(a)){break l}}f=0;e=q[e+12>>2];if(e){continue}break m;case 1:j=q[e+8>>2];c=q[e+4>>2];q[g+32>>2]=c;q[g+36>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;if(!f){c=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=c;if(!qb(a,g+24|0,0)){break l}}c=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=c;if(!qb(a,g+16|0,1)){break l}break o;case 2:c=q[e+12>>2];if(!c|q[c>>2]!=3){break q}h=q[c+12>>2];if(!h|q[h>>2]!=3){break q}h=q[e+16>>2];if(h){break p}break n;case 3:break q;case 4:break r}}c=q[e+12>>2];if(!c|q[c>>2]!=5){break q}h=q[c+12>>2];if(!h|q[h>>2]!=5){break q}h=q[e+16>>2];if(!h){break n}if(xr(a,b,h,1,f)){break o}break l}c=q[e+12>>2];break n}if(!xr(a,b,h,0,f)){break l}f=1;c=q[q[q[e+12>>2]+12>>2]+12>>2];break n}f=1;c=q[e+12>>2]}e=c;if(c){continue}break}if(!f){break m}if(!Ar(a)){break l}if(!zr(a)){break l}}if(d){b=q[a>>2];q[g+4>>2]=q[a+8>>2];q[g>>2]=b;hb(d,6,437046,g)}f=1;if(!k){break a}while(1){a=q[k+12>>2];La(k);k=a;if(a){continue}break}break a}while(1){b=q[k+12>>2];La(k);k=b;if(b){continue}break}Be(a);f=0}Da=g+48|0;return f}function oq(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=-1;a:{e=c-b|0;if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{k=r[b+1|0];if(k){f=k+ -216|0;if(f>>>0>39){break h}switch(f-4|0){case 0:case 1:case 2:case 3:break c;case 35:break e;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:break h;default:break f}}g=r[b|0];f=r[(g+a|0)+72|0]+ -5|0;if(f>>>0>24){break c}switch(f-1|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}g=r[b|0];break d}j=-2;if((e|0)>=3){break c}break a}j=-2;if((e|0)>=4){break c}break a}g=r[b|0];if(g>>>0>253){break c}}if(q[(g>>>3&28|r[k+492528|0]<<5)+490512>>2]>>>(g&31)&1){break b}}q[d>>2]=b;return 0}h=b+2|0;i=c-h|0;if((i|0)<2){break a}m=a+72|0;a=h;f=b;while(1){i:{j:{k:{l:{m:{n:{l=r[f+3|0];e=l+ -216|0;if(e>>>0>39){if(l){break l}e=r[a|0];n=r[m+e|0]+ -5|0;if(n>>>0>24){break i}o:{switch(n-1|0){case 0:j=-2;if((i|0)<3){break a}break i;case 3:case 4:case 15:i=11;p:{if(k|(a-b|0)!=6){break p}if((g|0)==120){e=0}else{if((g|0)!=88){break p}e=1}if(r[b+3|0]){break p}h=o[h|0];if((h|0)!=109){if((h|0)!=77){break p}e=1}if(r[b+5|0]){break p}b=o[b+4|0];if((b|0)==76){break i}if((b|0)!=108){break p}if(e){break i}i=12}b=f+4|0;e=c-b|0;if((e|0)<2){break a}while(1){a=b;q:{r:{s:{t:{u:{v:{w:{b=r[b+1|0];f=b+ -216|0;if(f>>>0>39){if(b){break r}b=r[r[a|0]+m|0];if(b>>>0>15){break r}switch(b-2|0){case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:break r;case 13:break s;case 5:break v;case 4:break w;default:break t}}switch(f-4|0){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:break r;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}if((e|0)<3){return-2}b=a+3|0;break q}if((e|0)<4){return-2}b=a+4|0;break q}if(r[a|0]<=253){break r}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[a+3|0]|r[b|0]!=62){break q}q[d>>2]=a+4;return i}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}break a;case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 1:break n;case 9:break o;default:break i}}e=11;x:{if(k|(a-b|0)!=6){break x}if((g|0)==120){g=0}else{if((g|0)!=88){break x}g=1}if(r[b+3|0]){break x}h=o[h|0];if((h|0)!=109){if((h|0)!=77){break x}g=1}if(r[b+5|0]){break x}b=o[b+4|0];if((b|0)==76){break i}if((b|0)!=108){break x}if(g){break i}e=12}a=f+4|0;if((c-a|0)<2){break a}if(r[f+5|0]|r[f+4|0]!=62){break i}q[d>>2]=f+6;j=e;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break i;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:break l;case 35:break m;default:break n}}j=-2;if((i|0)>=4){break i}break a}e=r[a|0];if(e>>>0>253){break i}break k}e=r[a|0]}if(!(q[(e>>>3&28|r[l+492784|0]<<5)+490512>>2]>>>(e&31)&1)){break i}}f=a;a=a+2|0;i=c-a|0;if((i|0)>1){continue}break a}break}q[d>>2]=a;return 0}return j}function oX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=x(0),m=0,n=0,p=0;e=Da-240|0;Da=e;if(!(!q[a>>2]|t[a+124>>2]<=c>>>0)){n=nX(q[a+92>>2],c);o[e+72|0]=0;g=e- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;q[e+108>>2]=0;q[e+112>>2]=0;o[e+116|0]=0;q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;q[e+228>>2]=0;q[e+56>>2]=0;q[e+60>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;i=q[a+84>>2];g=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{if(g>>>0<=c>>>0){q[e+48>>2]=q[67830];c=q[67829];q[e+40>>2]=q[67828];q[e+44>>2]=c;break a}h=r[i+4|0];p=(i+w(h,g+1|0)|0)+5|0;if(h){g=(i+w(c,h)|0)+5|0;while(1){f=r[g|0]|f<<8;g=g+1|0;h=h+ -1|0;if(h){continue}break}}c=jm(i,c);q[e+48>>2]=0;q[e+44>>2]=c;q[e+40>>2]=(f+p|0)+ -1}g=q[b+64>>2];h=q[b+60>>2];i=w(n,28);mX(e+56|0,e+40|0,q[a+76>>2],q[(t[a+116>>2]>n>>>0?i+q[a+120>>2]|0:271312)+20>>2]);q[e+204>>2]=h;q[e+200>>2]=g;p=q[a+80>>2];q[e+208>>2]=p;o[e+233|0]=0;o[e+234|0]=0;q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;c=e;f=0;b:{if(!g){break b}f=0;if(!h){break b}f=(p|0)!=271312}o[c+232|0]=f;q[e+216>>2]=q[(t[a+116>>2]>n>>>0?i+q[a+120>>2]|0:271312)+24>>2];o[e+128|0]=0;q[e+32>>2]=0;q[e+36>>2]=-1042284544;q[e+24>>2]=0;q[e+28>>2]=-1042284544;q[e+16>>2]=-4194304;q[e+20>>2]=1105199103;q[e+8>>2]=-4194304;q[e+12>>2]=1105199103;o[e|0]=0;c=r[271312];h=c|256;f=r[e+72|0];c:{while(1){d:{e:{f:{g:{if(f&255){break g}f=q[e+68>>2];a=f+1|0;i=q[e+60>>2];if(a>>>0>i>>>0){break g}if(f>>>0>>0){n=q[e+56>>2];g=r[n+f|0];if((g|0)==12){if(a>>>0>=i>>>0){break f}f=r[a+n|0];q[e+68>>2]=a;g=f|256;f=a}if(f>>>0>=i>>>0){f=g;break e}q[e+68>>2]=f+1;break d}o[e+72|0]=1;g=65535;f=c;if((f|0)==12){break d}break e}g=q[e+148>>2]?11:14;break d}o[e+72|0]=1;q[e+68>>2]=i;f=h}o[e+72|0]=1;q[e+68>>2]=i;g=f}lX(g,e+56|0,e);g=0;f=r[e+72|0];a=0;if(r[e+76|0]|(f|(r[e+96|0]|r[e+144|0]))){break c}a=0;if((q[e+84>>2]|q[e+152>>2])<0){break c}if(!r[e+128|0]){continue}break}m=v[e+24>>3];k=v[e+8>>3];h:{if(!(m>k)){q[d>>2]=0;q[d+8>>2]=0;break h}j=x(q[b+20>>2]);l=x(x(k)*j);f=q[b+16>>2];h=q[f+28>>2];if(!h){h=xb(f);j=x(q[b+20>>2]);k=v[e+8>>3];m=v[e+24>>3];f=q[b+16>>2]}a=d;l=x(J(x(x(l/x(h>>>0)))));i:{if(x(y(l))>2]=c;c=d;j=x(j*x(m-k));a=q[f+28>>2];if(!a){a=xb(f)}j=x(J(x(x(j/x(a>>>0)))));j:{if(x(y(j))>2]=a}k=v[e+32>>3];m=v[e+16>>3];k:{if(!(k>m)){q[d+4>>2]=0;q[d+12>>2]=0;break k}j=x(q[b+24>>2]);l=x(x(k)*j);f=q[b+16>>2];h=q[f+28>>2];if(!h){h=xb(f);j=x(q[b+24>>2]);k=v[e+32>>3];m=v[e+16>>3];f=q[b+16>>2]}a=d;l=x(J(x(x(l/x(h>>>0)))));l:{if(x(y(l))>2]=b;j=x(j*x(m-k));a=q[f+28>>2];if(!a){a=xb(f)}j=x(J(x(x(j/x(a>>>0)))));m:{if(x(y(j))>2]=a}a=1}f=a;La(q[e+228>>2]);q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;b=q[e+88>>2];if(b){while(1){a=q[e+92>>2]+(g<<5)|0;La(q[a+24>>2]);q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}La(q[e+92>>2]);q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;La(q[e+160>>2]);q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;La(q[e+228>>2]);q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;La(q[e+160>>2]);q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;La(q[e+92>>2])}Da=e+240|0;return f}function sp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0;m=Da-16|0;Da=m;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=q[a+4>>2];g:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break g}f=vb(a)}if((f|0)==32|f+ -9>>>0<5){continue}break}j=f+ -43|0;h:{if(j>>>0>2|!(j-1)){break h}p=(f|0)==45?-1:0;f=q[a+4>>2];if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break h}f=vb(a)}i:{if(!(b&-17|(f|0)!=48)){f=q[a+4>>2];j:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break j}f=vb(a)}if((f|32)==120){b=16;f=q[a+4>>2];k:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break k}f=vb(a)}if(r[f+508001|0]<16){break e}if(!q[a+104>>2]){d=0;e=0;if(c){break a}break b}b=q[a+4>>2];q[a+4>>2]=b+ -1;if(!c){break b}q[a+4>>2]=b+ -2;d=0;e=0;break a}if(b){break i}b=8;break e}b=b?b:10;if(b>>>0>r[f+508001|0]){break i}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}d=0;e=0;xd(a,0,0);q[160942]=28;break a}if((b|0)!=10){break e}c=f+ -48|0;if(c>>>0<=9){b=0;while(1){b=w(b,10)+c|0;c=q[a+4>>2];l:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break l}f=vb(a)}c=f+ -48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=W$(g,0,10,0);b=Ea;while(1){h=b;b=c+i|0;if(b>>>0>>0){h=h+1|0}g=b;j=(h|0)==429496729&b>>>0>=2576980378|h>>>0>429496729;b=q[a+4>>2];m:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break m}f=vb(a)}c=f+ -48|0;if(j|c>>>0>9){break f}i=W$(g,h,10,0);b=Ea;if((b|0)==-1&i>>>0<=(c^-1)>>>0|b>>>0<4294967295){continue}break}b=10;break d}q[160942]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b+ -1&b){c=r[f+508001|0];if(b>>>0>c>>>0){while(1){g=w(b,g)+c|0;n=g>>>0<=119304646;j=b;f=q[a+4>>2];n:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break n}f=vb(a)}c=r[f+508001|0];if(j>>>0>c>>>0?n:0){continue}break}}if(b>>>0<=c>>>0){break d}k=b;while(1){l=W$(g,h,k,0);j=Ea;i=j;c=c&255;if((i|0)==-1&l>>>0>(c^-1)>>>0|i>>>0>4294967295){break d}h=j;f=c+l|0;if(f>>>0>>0){h=h+1|0}g=f;j=b;f=q[a+4>>2];o:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break o}f=vb(a)}c=r[f+508001|0];if(j>>>0<=c>>>0){break d}Ld(m,k,0,g,h);if(!(q[m+8>>2]|q[m+12>>2])){continue}break}break d}l=o[(w(b,23)>>>5&7)+508257|0];j=l;c=j;i=c&31;if(32<=(c&63)>>>0){n=-1>>>i|0}else{k=-1>>>i|0;n=(1<>>i}i=n;s=k;c=r[f+508001|0];if(b>>>0>c>>>0){while(1){g=g<>>0<=134217727;v=b;f=q[a+4>>2];p:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break p}f=vb(a)}c=r[f+508001|0];if(v>>>0>c>>>0?u:0){continue}break}}if(!s&i>>>0>>0|s>>>0<0|b>>>0<=c>>>0){break d}while(1){i=c&255;f=g;c=j;g=c&31;if(32<=(c&63)>>>0){h=f<>>32-g|h<>2];q:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break q}f=vb(a)}if((h|0)==(k|0)&g>>>0>n>>>0|h>>>0>k>>>0){break d}c=r[f+508001|0];if(b>>>0>c>>>0){continue}break}}if(b>>>0<=r[f+508001|0]){break c}while(1){c=b;f=q[a+4>>2];r:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break r}f=vb(a)}if(c>>>0>r[f+508001|0]){continue}break}q[160942]=68;p=d&1?0:p;g=d;h=e}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}s:{if((e|0)==(h|0)&g>>>0>>0|h>>>0>>0){break s}if(!(p|d&1)){q[160942]=68;e=e+ -1|0;a=d+ -1|0;if(a>>>0<4294967295){e=e+1|0}d=a;break a}if((e|0)==(h|0)&g>>>0<=d>>>0|h>>>0>>0){break s}q[160942]=68;break a}a=p;c=a^g;d=c-a|0;b=a>>31;e=(b^h)-(b+(c>>>0>>0)|0)|0;break a}d=0;e=0;xd(a,0,0)}Da=m+16|0;Ea=e;return d}function VW(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=q[a+24>>2];if(i>>>0>=2){l=q[a+32>>2];m=r[a+176|0];d=2;while(1){h=d;n=v[a+136>>3];e=v[a+128>>3];if(i>>>0<=j>>>0){o[a+20|0]=1}a:{if(l>>>0<=j>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(j<<5)|0}b:{if(!m){break b}k=q[d+20>>2];if(!k|(k|0)!=q[a+168>>2]){break b}p=q[d+24>>2];s=q[a+172>>2];c=v[d>>3];i=0;while(1){c=c+v[p+(i<<3)>>3]*+u[(i<<2)+s>>2];i=i+1|0;if((k|0)!=(i|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}n=n+v[d>>3];c:{if(r[b|0]){break c}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break c}v[b+32>>3]=c}v[a+136>>3]=n;v[a+128>>3]=e;c=e;if(!!(v[b+8>>3]>c)){v[b+8>>3]=e;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}d=j|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!m){break e}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break e}k=q[d+24>>2];p=q[a+172>>2];c=v[d>>3];i=0;while(1){c=c+v[k+(i<<3)>>3]*+u[p+(i<<2)>>2];i=i+1|0;if((j|0)!=(i|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}c=e+v[d>>3];f:{if(r[b|0]){break f}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break f}v[b+32>>3]=e}v[a+136>>3]=n;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}j=h;d=h+2|0;i=q[a+24>>2];if(d>>>0<=i>>>0){continue}break}}g:{if(h>>>0>=i>>>0){break g}e=v[a+136>>3];d=q[a+128>>2];j=q[a+132>>2];h:{if(t[a+32>>2]<=h>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break h}h=q[a+36>>2]+(h<<5)|0}i:{if(!r[a+176|0]){break i}l=q[h+20>>2];if(!l|(l|0)!=q[a+168>>2]){break i}m=q[h+24>>2];k=q[a+172>>2];c=v[h>>3];i=0;while(1){c=c+v[m+(i<<3)>>3]*+u[k+(i<<2)>>2];i=i+1|0;if((l|0)!=(i|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=c;if(q[h+16>>2]<0){break i}q[h+20>>2]=0}c=e+v[h>>3];j:{if(r[b|0]){break j}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break j}v[b+32>>3]=e}v[a+136>>3]=c;q[a+128>>2]=d;q[a+132>>2]=j;e=v[b+8>>3];f(0,d|0);f(1,j|0);c=+g();if(!!(e>c)){q[b+8>>2]=d;q[b+12>>2]=j;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}}function r$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0,x=0,y=0,z=0;p=Da-176|0;Da=p;f=Hd(p+24|0,1,d,e);q[f+100>>2]=432;a:{g=q[a+68>>2];if(g){while(1){u=271312;u=g>>>0>y>>>0?q[a+72>>2]+(y<<3)|0:u;if(l>>>0>2]){while(1){g=p;if(t[a+44>>2]<=l>>>0){i=271312}else{i=q[a+48>>2]+(l<<3)|0}v=s[i>>1];q[g+16>>2]=v;if(jd(e,d,229085,p+16|0)){q[f+124>>2]=v;j=t[a+44>>2]<=l>>>0;if(j){g=271312}else{g=q[a+48>>2]+(l<<3)|0}h=q[g+4>>2];q[f+32>>2]=0;q[f+116>>2]=h;q[f+24>>2]=0;q[f+28>>2]=0;g=q[f+128>>2];q[f+8>>2]=g;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=r[f+142|0];q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=g;q[f+60>>2]=-1;o[f+57|0]=1;i=q[f+120>>2]==1;o[f+12|0]=i;m=i|r[f+141|0]!=0;o[f+56|0]=m;q[f+4>>2]=f;q[f+48>>2]=f;k=r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+12|0]=i;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;o[f+56|0]=m;q[f+52>>2]=g;k=k>>>1&1;o[f+142|0]=k;o[f+13|0]=k;q[f+4>>2]=f;q[f+48>>2]=f;m=r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=k;o[f+12|0]=i;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=g;g=m&1;o[f+141|0]=g;o[f+56|0]=g|i;q[f+4>>2]=f;q[f+48>>2]=f;if(r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0]&4){o[f+143|0]=1;rb(e,0,q[e+76>>2])}h=271312;g=q[b>>2];i=r[g+9|0]|r[g+8|0]<<8;g=i?g+i|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>v>>>0){i=g;g=g+(v<<1)|0;g=r[g+2|0]<<8|r[g+3|0];h=g?i+g|0:271312}g=q[f+96>>2];b:{if(!q[g+76>>2]){break b}j=q[f+116>>2];if(!j){break b}k=q[b+4>>2];m=r[h+3|0];i=m|r[h+2|0]<<8;if(m&16){h=(h+4|0)+(r[h+5|0]<<1|r[h+4|0]<<9)|0;i=r[h+2|0]<<24|i|r[h+3|0]<<16}h=0;q[f+32>>2]=0;q[f+128>>2]=i;q[f+24>>2]=0;q[f+28>>2]=0;q[f+8>>2]=i;q[f+76>>2]=0;q[f+16>>2]=j;q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=i;q[f+60>>2]=-1;o[f+57|0]=1;o[f+13|0]=r[f+142|0];i=q[f+120>>2]==1;o[f+12|0]=i;o[f+56|0]=i|r[f+141|0]!=0;q[f+4>>2]=f;q[f+48>>2]=f;q[g+72>>2]=0;i=k+w(v,24)|0;z=i;m=0;while(1){if(r[g+68|0]){j=q[g+88>>2]+w(h,20)|0;h=q[j>>2];c:{d:{if(!(q[i>>2]>>>(h>>>4&31)&1)|!(q[i+4>>2]>>>(h&31)&1)|(!(q[i+8>>2]>>>(h>>>9&31)&1)|!(q[f+116>>2]&q[j+4>>2]))){break d}k=q[f+128>>2];j=s[j+12>>1];if(k&j&14){break d}if(j&8){if(!mf(f,h,j,k)){break d}}h=0;k=q[i+16>>2];if(!k){break d}while(1){j=k>>>0>h>>>0?q[z+20>>2]+w(h,20)|0:271312;x=q[f+96>>2];x=q[q[x+88>>2]+w(q[x+72>>2],20)>>2];if(!(!(q[j+8>>2]>>>(x>>>4&31)&1)|!(q[j+12>>2]>>>(x&31)&1)|!(q[j+16>>2]>>>(x>>>9&31)&1))){if(n[q[j+4>>2]](q[j>>2],f)){m=1;break c}k=q[i+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}if(r[g+69|0]){e:{if(q[g+92>>2]==q[g+88>>2]){h=q[g+80>>2];if((h|0)==q[g+72>>2]){break e}}if(!Va(g,1,1)){break c}j=q[g+88>>2]+w(q[g+72>>2],20)|0;k=q[j+4>>2];h=q[g+92>>2]+w(q[g+80>>2],20)|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;q[h+16>>2]=q[j+16>>2];k=q[j+12>>2];q[h+8>>2]=q[j+8>>2];q[h+12>>2]=k;h=q[g+80>>2]}q[g+80>>2]=h+1}q[g+72>>2]=q[g+72>>2]+1}h=q[g+72>>2];if(h>>>0>2]){continue}}break}if(!m){break b}if(q[g+88>>2]!=q[g+92>>2]){break a}}q[p>>2]=v;jd(e,d,229101,p)}l=l+1|0;if(l>>>0>2]){continue}break}}if(q[u+4>>2]){if(q[e+4>>2]){q[e+80>>2]=0;o[e+69|0]=1;o[e+70|0]=0;q[e+92>>2]=q[e+88>>2]}n[q[u+4>>2]](c,d,e)}y=y+1|0;g=q[a+68>>2];if(y>>>0>>0){continue}break}}Da=p+176|0;return}I(229115,229147,1927,229163);F()}function SA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=Da-160|0;Da=g;a:{b:{if(Ra(a,29024,13)){break b}c=r[a+13|0];if(c>>>0>32){break b}c:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break b;default:break c}}a=q[e+32>>2];d:{e:{if(!a|!q[a+72>>2]){break e}if(!dc(27767,q[a+92>>2])){break e}if(q[a+80>>2]){break d}}b=q[e+32>>2];a=p[b+12>>1];q[b+40>>2]=a;q[g+16>>2]=a;Ph(g+32|0,g+16|0);c=pf(q[e+32>>2],27767,g+32|0);if(c){break a}}a=q[e+32>>2];f:{g:{if(!a|!q[a+72>>2]){break g}if(!dc(27779,q[a+92>>2])){break g}if(q[a+80>>2]){break f}}b=q[e+32>>2];a=p[b+14>>1];q[b+44>>2]=a;q[g>>2]=a;Ph(g+32|0,g);c=pf(q[e+32>>2],27779,g+32|0);if(c){break a}}q[e>>2]=q[e>>2]&-17;q[d>>2]=293;c=0;break a}h:{if(Ra(a,29038,21)){break h}d=r[a+21|0];if(d>>>0>32){break h}c=0;switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break h;default:break a}}i:{if(Ra(a,26360,7)){break i}d=r[a+7|0];if(d>>>0>32){break i}c=a+7|0;j:{switch(d-1|0){case 8:case 9:case 12:case 31:o[a+7|0]=0;c=a+8|0;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break i;default:break j}}c=pf(q[e+32>>2],a,c);break a}h=q[e+32>>2];c=a;while(1){k:{l:{m:{d=r[c|0];if(d>>>0>9){if((d|0)==32){break m}break k}f=-1;switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break k;case 8:break m;default:break l}}o[c|0]=0;f=d}d=0;n:{if(!a|!r[a|0]){break n}i=dc(a,h+112|0);if(!i){break n}d=q[i>>2];if(d>>>0>=83){d=(q[h+104>>2]+(d<<4)|0)+ -1328|0;break n}d=(d<<4)+26384|0}if((f|0)!=-1){o[c|0]=f}if(!(q[d+4>>2]!=1?d:0)){if(r[c|0]){o[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=r[c|0];if(!((b|0)!=9?(b|0)!=32:0)){c=c+1|0;continue}break}b=(b|0)==34?c+1|0:c;o:{if(f>>>0<=b>>>0){break o}while(1){f=f+ -1|0;c=r[f|0]+ -9|0;if(c>>>0>25){break o}p:{switch(c-1|0){default:o[f|0]=0;if(f>>>0>b>>>0){continue}break o;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:break o;case 24:break p}}break}o[f|0]=0}c=pf(q[e+32>>2],a,b);break a}c=vd(e+40|0,27728,a,b);if(c){break a}c=1;b=q[e+40>>2];i=q[b>>2];a=0;q:{r:{d=q[e+48>>2];if(d>>>0<=1){if(d-1){break q}break r}q[b>>2]=q[b+4>>2];b=d+ -1|0;if((b|0)!=1){d=1;while(1){f=q[e+40>>2];d=d+1|0;q[f+(c<<2)>>2]=q[f+(d<<2)>>2];c=c+1|0;if((c|0)!=(b|0)){continue}break}}q[e+48>>2]=b;if(!b){break q}d=0;h=q[q[e+40>>2]>>2];c=h;while(1){f=r[c|0];if(f){while(1){o[d+h|0]=f;d=d+1|0;f=r[c+1|0];c=c+1|0;if(f){continue}break}b=q[e+48>>2]}a=a+1|0;if(a>>>0>>0){o[d+h|0]=32;d=d+1|0;b=q[e+48>>2]}if(a>>>0>>0){c=q[q[e+40>>2]+(a<<2)>>2];continue}break}a=28849;if((h|0)==28849){break q}o[d+h|0]=0;a=h;break q}q[e+48>>2]=0}c=pf(q[e+32>>2],i,a);break a}c=c+1|0;continue}}Da=g+160|0;return c|0}function UW(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;g=q[a+24>>2];if(g>>>0>=2){j=q[a+32>>2];k=r[a+176|0];d=2;while(1){f=d;l=v[a+136>>3];e=v[a+128>>3];if(g>>>0<=h>>>0){o[a+20|0]=1}a:{if(j>>>0<=h>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(h<<5)|0}b:{if(!k){break b}i=q[d+20>>2];if(!i|(i|0)!=q[a+168>>2]){break b}m=q[d+24>>2];n=q[a+172>>2];c=v[d>>3];g=0;while(1){c=c+v[m+(g<<3)>>3]*+u[(g<<2)+n>>2];g=g+1|0;if((i|0)!=(g|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}e=e+v[d>>3];c:{if(r[b|0]){break c}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break c}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=e;c=e;if(!!(v[b+8>>3]>c)){v[b+8>>3]=e;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}d=h|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(j>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];m=q[a+172>>2];c=v[d>>3];g=0;while(1){c=c+v[i+(g<<3)>>3]*+u[m+(g<<2)>>2];g=g+1|0;if((h|0)!=(g|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}l=l+v[d>>3];f:{if(r[b|0]){break f}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break f}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=e;if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}h=f;d=f+2|0;g=q[a+24>>2];if(d>>>0<=g>>>0){continue}break}}g:{if(f>>>0>=g>>>0){break g}h=q[a+136>>2];j=q[a+140>>2];e=v[a+128>>3];h:{if(t[a+32>>2]<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break h}f=q[a+36>>2]+(f<<5)|0}i:{if(!r[a+176|0]){break i}d=q[f+20>>2];if(!d|(d|0)!=q[a+168>>2]){break i}k=q[f+24>>2];i=q[a+172>>2];c=v[f>>3];g=0;while(1){c=c+v[k+(g<<3)>>3]*+u[i+(g<<2)>>2];g=g+1|0;if((d|0)!=(g|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=c;if(q[f+16>>2]<0){break i}q[f+20>>2]=0}c=e+v[f>>3];j:{if(r[b|0]){break j}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break j}v[b+32>>3]=e}q[a+136>>2]=h;q[a+140>>2]=j;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}}function iM(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;g=Sa(16);if(!g){return 0}q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a:{b:{c:{d:{if(q[b+4>>2]>=1){while(1){c=q[b+8>>2]+b|0;f=q[c+(j<<2)>>2]+c|0;k=$$($$($$($$($$($$($$(q[f>>2],1)^q[f+4>>2],1)^q[f+8>>2],1)^q[f+12>>2],1)^q[f+16>>2],1)^q[f+20>>2],1)^q[f+24>>2],1)^q[f+28>>2];e=((k>>>0)%257<<2)+a|0;d=q[e>>2];e:{if(d){while(1){if((k|0)==q[d+4>>2]){m=d+8|0;if(!Oc(m,f,32)){break e}}d=q[d>>2];if(d){continue}break}}h=a;c=q[a+1576>>2];f:{if(c){d=q[a+1572>>2];c=c+ -1|0;break f}c=q[a+1032>>2]+1|0;q[a+1032>>2]=c;c=db(q[a+1028>>2],c<<2);if(!c){break a}q[a+1028>>2]=c;d=Sa(4080);q[(c+(q[a+1032>>2]<<2)|0)+ -4>>2]=d;q[a+1572>>2]=d;if(!d){break a}q[a+1576>>2]=102;c=101}q[h+1576>>2]=c;q[a+1572>>2]=d+40;q[a+1588>>2]=q[a+1588>>2]+1;if(!d){break a}c=q[f+4>>2];q[d+8>>2]=q[f>>2];q[d+12>>2]=c;c=q[f+28>>2];q[d+32>>2]=q[f+24>>2];q[d+36>>2]=c;c=q[f+20>>2];q[d+24>>2]=q[f+16>>2];q[d+28>>2]=c;c=q[f+12>>2];q[d+16>>2]=q[f+8>>2];q[d+20>>2]=c;q[d+4>>2]=k;q[d>>2]=q[e>>2];q[e>>2]=d;m=d+8|0}f=s[(q[b+12>>2]+b|0)+(j<<1)>>1];d=-1;g:{h:{k=q[g+12>>2]+g|0;if(!k){break h}e=q[g+4>>2];i=e+ -1|0;h=0;i:{if((e|0)>=1){while(1){c=i+h|0;d=c>>1;c=s[k+(c&-2)>>1];if((c|0)==(f|0)){break i}c=c>>>0>>0;h=c?d+1|0:h;i=c?i:d+ -1|0;if((h|0)<=(i|0)){continue}break}}if(!((i|0)>=(e|0)|s[k+(i<<1)>>1]>=f>>>0?(i|0)>=0:0)){i=i+1|0}d=i^-1}if((d|0)<0){break h}e=q[g+8>>2]+g|0;c=d<<2;La(q[e+c>>2]+e|0);e=c;c=q[g+8>>2]+g|0;q[e+c>>2]=m-c;break g}if(ar(g,f<<8,m,d^-1)){break g}break a}j=j+1|0;if((j|0)>2]){continue}break}i=0;h=q[g+4>>2];if((h|0)>=1){c=q[g+8>>2]+g|0;j=0;while(1){e=c+q[c+(j<<2)>>2]|0;i=q[e+28>>2]^$$(i,1)^$$(q[e+24>>2]^$$(q[e+20>>2]^$$(q[e+16>>2]^$$(q[e+12>>2]^$$(q[e+8>>2]^$$(q[e+4>>2]^$$(q[e>>2],1),1),1),1),1),1),1);j=j+1|0;if((j|0)!=(h|0)){continue}break}c=q[g+12>>2]+g|0;d=0;while(1){i=s[c+(d<<1)>>1]^$$(i,1);d=d+1|0;if((h|0)!=(d|0)){continue}break}}n=(((i>>>0)%67<<2)+a|0)+1036|0;d=q[n>>2];e=(h|0)>0;if(!d){break c}e=h<<1;c=e;if((h|0)<=0){break d}while(1){j:{if(q[d+4>>2]!=(i|0)|q[d+12>>2]!=(h|0)){break j}l=d+8|0;if(Oc(l+q[d+20>>2]|0,q[g+12>>2]+g|0,e)){break j}f=q[g+8>>2]+g|0;k=q[d+16>>2]+l|0;m=1;j=0;while(1){c=j<<2;m=(q[c+k>>2]+k|0)==(f+q[c+f>>2]|0)?m:0;j=j+1|0;if((j|0)!=(h|0)){continue}break}if(m){break b}}d=q[d>>2];if(d){continue}break}e=1;break c}n=a+1036|0;d=q[a+1036>>2];e=0;if(!d){break c}c=0}while(1){if(!(q[d+4>>2]!=(i|0)|q[d+12>>2]!=(h|0))){l=d+8|0;if(!Oc(l+q[d+20>>2]|0,q[g+12>>2]+g|0,c)){break b}}d=q[d>>2];if(d){continue}break}e=0}f=Sa(w(h,6)+24|0);if(!f){l=0;break b}q[a+1592>>2]=q[a+1592>>2]+1;q[f+12>>2]=h;q[f+8>>2]=-1;l=f+8|0;k:{if(h){q[f+16>>2]=16;c=(h<<2)+16|0;q[f+20>>2]=c;if(e){k=l+16|0;e=-16-l|0;d=0;while(1){c=d<<2;j=c+k|0;h=c;c=q[g+8>>2]+g|0;q[j>>2]=(e+q[h+c>>2]|0)+c;d=d+1|0;h=q[g+4>>2];if((d|0)<(h|0)){continue}break}c=q[f+20>>2]}Qa(c+l|0,q[g+12>>2]+g|0,h<<1);break k}q[f+16>>2]=0;q[f+20>>2]=0}q[f+4>>2]=i;q[f>>2]=q[n>>2];q[n>>2]=f}c=(b>>>0)%67|0;e=Sa(12);if(!e){l=0;break a}q[e+8>>2]=l;q[e+4>>2]=b;c=((c<<2)+a|0)+1304|0;q[e>>2]=q[c>>2];q[c>>2]=e;q[a+1584>>2]=q[a+1584>>2]+1;q[a+1580>>2]=q[a+1580>>2]+q[b+4>>2]}l:{if(!q[g+4>>2]){break l}La(q[g+8>>2]+g|0);if(!q[g+4>>2]){break l}La(q[g+12>>2]+g|0)}La(g);return l}function Ee(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;g=Da-48|0;Da=g;h=q[a+11748>>2]==2;j=h?a+11760|0:a+11776|0;o=q[j+4>>2];p=q[j>>2];l=q[c>>2];i=q[c+4>>2];a:{if((i|0)==(o|0)?(p|0)==(l|0):0){break a}h=h?a+11752|0:a+11768|0;k=q[h+4>>2];m=q[h>>2];r=(p-m|0)+16>>5;p=(e-i|0)+16>>5;t=(o-k|0)+16>>5;o=(d-l|0)+16>>5;r=Ma(r,p)-Ma(t,o)|0;if(!r){k=0;m=0;break a}k=Za(Ma((l-m|0)+16>>5,p)-Ma((i-k|0)+16>>5,o)|0,r);m=q[h>>2];m=Ma(k,q[j>>2]-m|0)+m|0;o=q[h+4>>2];l=Ma(k,q[j+4>>2]-o|0);k=q[h>>2];p=q[j>>2];if((k|0)==(p|0)){r=m-k|0;i=r>>31;m=(i^i+r)>2]?k:m}k=l+o|0;h=q[h+4>>2];o=q[j+4>>2];if((h|0)==(o|0)){l=k-h|0;i=l>>31;k=(i^i+l)>2]?h:k}i=q[c>>2];if((i|0)==(d|0)){l=m-d|0;h=l>>31;m=(h^h+l)>2]?d:m}h=q[c+4>>2];if((h|0)==(e|0)){l=k-e|0;d=l>>31;k=(d^d+l)>2]?e:k}e=m-((i+p|0)/2|0)|0;d=e>>31;d=d^d+e;e=q[a+11696>>2];if((d|0)>(e|0)){break a}h=k-((h+o|0)/2|0)|0;d=h>>31;if((d^d+h)>(e|0)){break a}q[j>>2]=m;q[j+4>>2]=k;s=1}d=q[a+11732>>2];j=d;e=q[a+11728>>2];q[g+8>>2]=e;q[g+12>>2]=d;d=q[a+11748>>2]+ -2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:h=e;q[g+40>>2]=2;d:{if(f){i=q[a+11764>>2];d=Ma(q[a+11644>>2],q[a+11760>>2])+Ma(q[a+11648>>2],i)|0;i=le(a+3876|0,i);break d}i=q[a+11764>>2];d=Ma(q[a+11644>>2],q[a+11760>>2])+Ma(q[a+11648>>2],i)|0;i=le(b,i)}o=Ma(q[q[a>>2]+64>>2],d);l=Ma(q[q[a>>2]+72>>2],i);p=q[a+11656>>2];d=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],i)|0)+q[a+11660>>2]|0;q[g+20>>2]=d;i=p+(l+o|0)|0;q[g+16>>2]=i;if((d|0)==(j|0)?(h|0)==(i|0):0){break b}d=q[a+4>>2];n[q[d+4>>2]](d,g+8|0);d=q[g+20>>2];q[a+11728>>2]=q[g+16>>2];q[a+11732>>2]=d;break b;case 0:break b;case 1:break c}}q[g+40>>2]=4;d=q[a+11764>>2];e=Ma(q[a+11644>>2],q[a+11760>>2]);j=Ma(q[a+11648>>2],d);d=le(b,d);e=e+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],e)+Ma(q[q[a>>2]+72>>2],d)|0)+q[a+11656>>2]|0,q[u+16>>2]=v;e=Ma(q[q[a>>2]+68>>2],e)+Ma(q[q[a>>2]+76>>2],d)|0;d=a+11660|0;q[g+20>>2]=e+q[d>>2];e=q[a+11772>>2];j=Ma(q[a+11644>>2],q[a+11768>>2]);h=Ma(q[a+11648>>2],e);e=le(b,e);j=h+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],j)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[u+24>>2]=v;u=g,v=(Ma(q[q[a>>2]+68>>2],j)+Ma(q[q[a>>2]+76>>2],e)|0)+q[d>>2]|0,q[u+28>>2]=v;e=q[a+11780>>2];j=Ma(q[a+11644>>2],q[a+11776>>2]);h=Ma(q[a+11648>>2],e);e=le(b,e);j=h+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],j)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[u+32>>2]=v;u=g,v=(Ma(q[q[a>>2]+68>>2],j)+Ma(q[q[a>>2]+76>>2],e)|0)+q[d>>2]|0,q[u+36>>2]=v;d=q[a+4>>2];n[q[d+12>>2]](d,g+8|0);d=q[g+36>>2];q[a+11728>>2]=q[g+32>>2];q[a+11732>>2]=d}e:{if(s?!f:0){break e}f:{if(f){b=q[c+4>>2];d=Ma(q[a+11644>>2],q[c>>2])+Ma(q[a+11648>>2],b)|0;b=le(a+3876|0,b);break f}e=q[c+4>>2];d=Ma(q[a+11644>>2],q[c>>2])+Ma(q[a+11648>>2],e)|0;b=le(b,e)}u=g,v=(Ma(q[q[a>>2]+64>>2],d)+Ma(q[q[a>>2]+72>>2],b)|0)+q[a+11656>>2]|0,q[u+16>>2]=v;b=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],b)|0)+q[a+11660>>2]|0;q[g+20>>2]=b;if((b|0)==q[a+11732>>2]?q[g+16>>2]==q[a+11728>>2]:0){break e}q[g+40>>2]=2;b=q[a+11732>>2];q[g+8>>2]=q[a+11728>>2];q[g+12>>2]=b;b=q[a+4>>2];n[q[b+4>>2]](b,g+8|0);b=q[g+20>>2];q[a+11728>>2]=q[g+16>>2];q[a+11732>>2]=b}if(s){q[c>>2]=m;q[c+4>>2]=k}Da=g+48|0}function La(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;c=q[a+ -4>>2];a=c&-8;f=d+a|0;b:{if(c&1){break b}if(!(c&3)){break a}c=q[d>>2];d=d-c|0;if(d>>>0>>0<=255){e=q[d+8>>2];c=c>>>3|0;b=q[d+12>>2];if((b|0)==(e|0)){i=645056,j=q[161264]&$$(-2,c),q[i>>2]=j;break b}q[e+12>>2]=b;q[b+8>>2]=e;break b}h=q[d+24>>2];c=q[d+12>>2];c:{if((d|0)!=(c|0)){b=q[d+8>>2];q[b+12>>2]=c;q[c+8>>2]=b;break c}d:{e=d+20|0;b=q[e>>2];if(b){break d}e=d+16|0;b=q[e>>2];if(b){break d}c=0;break c}while(1){g=e;c=b;e=c+20|0;b=q[e>>2];if(b){continue}e=c+16|0;b=q[c+16>>2];if(b){continue}break}q[g>>2]=0}if(!h){break b}e=q[d+28>>2];b=(e<<2)+645360|0;e:{if(q[b>>2]==(d|0)){q[b>>2]=c;if(c){break e}i=645060,j=q[161265]&$$(-2,e),q[i>>2]=j;break b}q[h+(q[h+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;b=q[d+16>>2];if(b){q[c+16>>2]=b;q[b+24>>2]=c}b=q[d+20>>2];if(!b){break b}q[c+20>>2]=b;q[b+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[161266]=a;q[f+4>>2]=c&-2;q[d+4>>2]=a|1;q[a+d>>2]=a;return}if(f>>>0<=d>>>0){break a}c=q[f+4>>2];if(!(c&1)){break a}f:{if(!(c&2)){if(q[161270]==(f|0)){q[161270]=d;a=q[161267]+a|0;q[161267]=a;q[d+4>>2]=a|1;if(q[161269]!=(d|0)){break a}q[161266]=0;q[161269]=0;return}if(q[161269]==(f|0)){q[161269]=d;a=q[161266]+a|0;q[161266]=a;q[d+4>>2]=a|1;q[a+d>>2]=a;return}a=(c&-8)+a|0;g:{if(c>>>0<=255){b=q[f+8>>2];c=c>>>3|0;e=q[f+12>>2];if((b|0)==(e|0)){i=645056,j=q[161264]&$$(-2,c),q[i>>2]=j;break g}q[b+12>>2]=e;q[e+8>>2]=b;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){b=q[f+8>>2];q[b+12>>2]=c;q[c+8>>2]=b;break h}i:{e=f+20|0;b=q[e>>2];if(b){break i}e=f+16|0;b=q[e>>2];if(b){break i}c=0;break h}while(1){g=e;c=b;e=c+20|0;b=q[e>>2];if(b){continue}e=c+16|0;b=q[c+16>>2];if(b){continue}break}q[g>>2]=0}if(!h){break g}e=q[f+28>>2];b=(e<<2)+645360|0;j:{if(q[b>>2]==(f|0)){q[b>>2]=c;if(c){break j}i=645060,j=q[161265]&$$(-2,e),q[i>>2]=j;break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;b=q[f+16>>2];if(b){q[c+16>>2]=b;q[b+24>>2]=c}b=q[f+20>>2];if(!b){break g}q[c+20>>2]=b;q[b+24>>2]=c}q[d+4>>2]=a|1;q[a+d>>2]=a;if(q[161269]!=(d|0)){break f}q[161266]=a;return}q[f+4>>2]=c&-2;q[d+4>>2]=a|1;q[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;c=(a<<3)+645096|0;b=q[161264];a=1<>2]}q[c+8>>2]=d;q[a+12>>2]=d;q[d+12>>2]=c;q[d+8>>2]=a;return}q[d+16>>2]=0;q[d+20>>2]=0;c=d;e=a>>>8|0;b=0;l:{if(!e){break l}b=31;if(a>>>0>16777215){break l}b=e;e=e+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(g|(e|h))|0;b=(b<<1|a>>>b+21&1)+28|0}q[c+28>>2]=b;g=(b<<2)+645360|0;m:{n:{e=q[161265];c=1<>2]=d;q[d+24>>2]=g;break o}e=a<<((b|0)==31?0:25-(b>>>1|0)|0);c=q[g>>2];while(1){b=c;if((q[c+4>>2]&-8)==(a|0)){break n}c=e>>>29|0;e=e<<1;g=b+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=d;q[d+24>>2]=b}q[d+12>>2]=d;q[d+8>>2]=d;break m}a=q[b+8>>2];q[a+12>>2]=d;q[b+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=b;q[d+8>>2]=a}a=q[161272]+ -1|0;q[161272]=a;if(a){break a}d=645512;while(1){a=q[d>>2];d=a+8|0;if(a){continue}break}q[161272]=-1}}function wG(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,r=0,s=0,t=0,u=0,x=0,z=0;h=Da-560|0;Da=h;f=c;c=(c+ -3|0)/24|0;r=(c|0)>0?c:0;l=f+w(r,-24)|0;m=q[158525];i=d+ -1|0;if((m+i|0)>=0){f=d+m|0;c=r-i|0;while(1){v[(h+320|0)+(g<<3)>>3]=(c|0)<0?0:+q[(c<<2)+634112>>2];c=c+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}k=l+ -24|0;f=0;s=(m|0)>0?m:0;g=(d|0)<1;while(1){a:{if(g){e=0;break a}j=f+i|0;c=0;e=0;while(1){e=e+v[(c<<3)+a>>3]*v[(h+320|0)+(j-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(f<<3)+h>>3]=e;c=(f|0)==(s|0);f=f+1|0;if(!c){continue}break}z=23-k|0;t=24-k|0;f=m;b:{while(1){e=v[(f<<3)+h>>3];c=0;g=f;o=(f|0)<1;if(!o){while(1){i=(h+480|0)+(c<<2)|0;n=e;e=e*5.960464477539063e-8;c:{if(y(e)<2147483648){j=~~e;break c}j=-2147483648}e=+(j|0);n=n+e*-16777216;d:{if(y(n)<2147483648){j=~~n;break d}j=-2147483648}q[i>>2]=j;g=g+ -1|0;e=v[(g<<3)+h>>3]+e;c=c+1|0;if((f|0)!=(c|0)){continue}break}}e=Kd(e,k);e=e+C(e*.125)*-8;e:{if(y(e)<2147483648){j=~~e;break e}j=-2147483648}e=e- +(j|0);f:{g:{h:{u=(k|0)<1;i:{if(!u){g=(f<<2)+h|0;i=q[g+476>>2];c=i>>t;p=g;g=i-(c<>2]=g;j=c+j|0;i=g>>z;break i}if(k){break h}i=q[((f<<2)+h|0)+476>>2]>>23}if((i|0)<1){break f}break g}i=2;if(!!(e>=.5)){break g}i=0;break f}c=0;g=0;if(!o){while(1){x=(h+480|0)+(c<<2)|0;o=q[x>>2];p=16777215;j:{k:{if(!g){if(!o){break k}p=16777216;g=1}q[x>>2]=p-o;break j}g=0}c=c+1|0;if((f|0)!=(c|0)){continue}break}}l:{if(u){break l}c=k+ -1|0;if(c>>>0>1){break l}if(c-1){c=(f<<2)+h|0;q[c+476>>2]=q[c+476>>2]&8388607;break l}c=(f<<2)+h|0;q[c+476>>2]=q[c+476>>2]&4194303}j=j+1|0;if((i|0)!=2){break f}e=1-e;i=2;if(!g){break f}e=e-Kd(1,k)}if(e==0){g=0;m:{c=f;if((c|0)<=(m|0)){break m}while(1){c=c+ -1|0;g=q[(h+480|0)+(c<<2)>>2]|g;if((c|0)>(m|0)){continue}break}if(!g){break m}l=k;while(1){l=l+ -24|0;f=f+ -1|0;if(!q[(h+480|0)+(f<<2)>>2]){continue}break}break b}c=1;while(1){g=c;c=c+1|0;if(!q[(h+480|0)+(m-g<<2)>>2]){continue}break}g=f+g|0;while(1){i=d+f|0;f=f+1|0;v[(h+320|0)+(i<<3)>>3]=q[(r+f<<2)+634112>>2];c=0;e=0;if((d|0)>=1){while(1){e=e+v[(c<<3)+a>>3]*v[(h+320|0)+(i-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(f<<3)+h>>3]=e;if((f|0)<(g|0)){continue}break}f=g;continue}break}e=Kd(e,0-k|0);n:{if(!!(e>=16777216)){a=(h+480|0)+(f<<2)|0;n=e;e=e*5.960464477539063e-8;o:{if(y(e)<2147483648){c=~~e;break o}c=-2147483648}e=n+ +(c|0)*-16777216;p:{if(y(e)<2147483648){d=~~e;break p}d=-2147483648}q[a>>2]=d;f=f+1|0;break n}if(y(e)<2147483648){c=~~e}else{c=-2147483648}l=k}q[(h+480|0)+(f<<2)>>2]=c}e=Kd(1,l);if((f|0)>=0){c=f;while(1){v[(c<<3)+h>>3]=e*+q[(h+480|0)+(c<<2)>>2];e=e*5.960464477539063e-8;a=0;d=(c|0)>0;c=c+ -1|0;if(d){continue}break}g=f;while(1){d=s>>>0>>0?s:a;k=f-g|0;c=0;e=0;while(1){e=e+v[(c<<3)+636880>>3]*v[(c+g<<3)+h>>3];l=(c|0)!=(d|0);c=c+1|0;if(l){continue}break}v[(h+160|0)+(k<<3)>>3]=e;g=g+ -1|0;c=(a|0)!=(f|0);a=a+1|0;if(c){continue}break}}e=0;if((f|0)>=0){c=f;while(1){e=e+v[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c+ -1|0;if(a){continue}break}}v[b>>3]=i?-e:e;e=v[h+160>>3]-e;c=1;if((f|0)>=1){while(1){e=e+v[(h+160|0)+(c<<3)>>3];a=(c|0)!=(f|0);c=c+1|0;if(a){continue}break}}v[b+8>>3]=i?-e:e;Da=h+560|0;return j&7}function Po(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0,s=0,u=0,v=0;k=Da-16|0;Da=k;m=q[a>>2];j=q[b+20>>2];a:{b:{if(j){a=85;if(n[j](b,c,0,0)){break a}i=q[b+4>>2];break b}a=85;i=q[b+4>>2];if(i>>>0>>0){break a}}q[b+8>>2]=c;c:{d:{e:{f:{if(c+1>>>0>=i>>>0){break f}g:{h:{a=q[b+20>>2];i:{if(a){if((n[a](b,c,k+10|0,2)|0)!=2){break f}i=k+10|0;a=q[b+8>>2];break i}a=q[b>>2];if(!a){break h}i=a+c|0;a=c}j=r[i|0]|r[i+1|0]<<8;i=a+2|0;q[b+8>>2]=i;a=8;u=(j<<8&16711680|j<<24)>>16;if((u|0)>4078){break a}if((u|0)>=0){break g}a=1;break a}i=c+2|0;q[b+8>>2]=i}while(1){j:{k:{l:{l=q[b+4>>2];if(i+3>>>0>=l>>>0){break l}a=q[b+20>>2];m:{if(a){if((n[a](b,i,k+12|0,4)|0)!=4){break l}l=q[b+4>>2];i=q[b+8>>2];a=k+12|0;break m}a=q[b>>2];if(!a){break k}a=a+i|0}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break j}a=85;break a}o=0}a=i+4|0;q[b+8>>2]=a;n:{o:{p:{if(i+5>>>0>=l>>>0){break p}j=q[b+20>>2];q:{if(j){if((n[j](b,a,k+10|0,2)|0)!=2){break p}l=q[b+4>>2];a=q[b+8>>2];j=k+10|0;break q}j=q[b>>2];if(!j){break o}j=a+j|0}j=r[j|0]|r[j+1|0]<<8;v=(j<<24|j<<8&16711680)>>>16|0;break n}a=85;break a}v=0}i=a+2|0;q[b+8>>2]=i;r:{s:{t:{if(a+3>>>0>=l>>>0){break t}a=q[b+20>>2];u:{if(a){if((n[a](b,i,k+10|0,2)|0)!=2){break t}i=q[b+8>>2];a=k+10|0;break u}a=q[b>>2];if(!a){break s}a=a+i|0}a=r[a|0]|r[a+1|0]<<8;j=(a<<24|a<<8&16711680)>>16;break r}a=85;break a}j=0}i=i+2|0;q[b+8>>2]=i;if((e|0)!=(o|0)){a=1;j=(s|0)==(u|0);s=s+1|0;if(j){break a}continue}break}q[h>>2]=(v<<16>>16)+1;a=8;if(v>>>0>2726){break a}e=c+j|0;c=q[b+20>>2];v:{if(c){a=85;if(!n[c](b,e,0,0)){break v}break a}a=85;if(t[b+4>>2]>>0){break a}}q[b+8>>2]=e;i=0;c=q[h>>2];if((c|0)<0){a=6;break a}if(c){a=10;if((c|0)>268435455){break a}a=c<<3;i=n[q[m+4>>2]](m,a)|0;if(!i){a=64;break a}Na(i,0,a)}e=q[h>>2];if((e|0)>=1){c=q[b+8>>2];l=0;while(1){if(c+1>>>0>=t[b+4>>2]){break e}a=q[b+20>>2];w:{x:{if(a){if((n[a](b,c,k+10|0,2)|0)!=2){break e}e=q[b+20>>2];c=q[b+8>>2];a=k+10|0;break x}e=0;a=q[b>>2];o=0;if(!a){break w}a=a+c|0}a=r[a|0]|r[a+1|0]<<8;o=(a<<24|a<<8&16711680)>>>16|0}q[b+8>>2]=c+2;j=(l<<3)+i|0;p[j>>1]=o;a=c+4|0;y:{z:{if(e){if(!n[e](b,a,0,0)){break z}a=85;break c}e=q[b+4>>2];if(e>>>0>=a>>>0){break y}a=85;break c}e=q[b+4>>2]}q[b+8>>2]=a;if(c+7>>>0>=e>>>0){break d}A:{B:{C:{e=q[b+20>>2];D:{if(e){if((n[e](b,a,k+12|0,4)|0)!=4){break d}s=q[b+20>>2];a=q[b+8>>2];c=k+12|0;break D}e=q[b>>2];if(!e){break C}s=0;c=a+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[b+8>>2]=a+4;e=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=a+8|0;a=c;if(!s){break B}if(!n[s](b,c,0,0)){break A}a=85;break c}q[b+8>>2]=c+8;e=0;a=c+12|0}c=a;if(t[b+4>>2]>=a>>>0){break A}a=85;break c}q[b+8>>2]=c;if((e|0)<0){a=8;break c}q[j+4>>2]=e&16777215;l=l+1|0;e=q[h>>2];if((l|0)<(e|0)){continue}break}}c=0;if(f){Gc(i,e,8,12);e=q[h>>2]}a=6;E:{if((e|0)<0){break E}if(e){a=10;if((e|0)>536870911){break E}b=e<<2;c=n[q[m+4>>2]](m,b)|0;a=64;if(!c){break E}Na(c,0,b)}if(q[h>>2]>=1){b=0;while(1){q[(b<<2)+c>>2]=q[((b<<3)+i|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}q[g>>2]=c;a=0}if(!i){break a}break c}a=85;break a}p[(l<<3)+i>>1]=0}a=85}n[q[m+8>>2]](m,i)}Da=k+16|0;return a}function gq(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-1072|0;Da=e;q[e+24>>2]=0;q[e+20>>2]=0;q[e+16>>2]=0;q[e+8>>2]=-1;a:{if(!n[r[a+232|0]?969:970](b,q[a+144>>2],c,d,a+284|0,e+16|0,e+12|0,e+24|0,e+20|0,e+8|0)){d=b?31:30;break a}b:{if(b|q[e+8>>2]!=1){break b}o[q[a+352>>2]+130|0]=1;if(q[a+488>>2]!=1){break b}q[a+488>>2]=0}c:{if(q[a+140>>2]){b=0;d=q[e+24>>2];if(d){c=q[a+144>>2];b=n[q[c+28>>2]](c,d)|0;q[e+32>>2]=d;h=a+436|0;d:{f=a+448|0;e:{if(!q[f>>2]){if(!Ya(h)){break e}}b=b+d|0;while(1){if(n[q[c+56>>2]](c,e+32|0,b,f,q[a+444>>2])>>>0<2){break d}if(Ya(h)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(h)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;b=q[a+452>>2];if(!b){break a}q[a+452>>2]=q[a+448>>2]}f=q[e+16>>2];if(f){g=q[a+144>>2];d=q[g+64>>2];c=q[e+12>>2];q[e+32>>2]=f;h=a+436|0;f:{f=a+448|0;g:{if(!q[f>>2]){if(!Ya(h)){break g}}c=c-d|0;while(1){if(n[q[g+56>>2]](g,e+32|0,c,f,q[a+444>>2])>>>0<2){break f}if(Ya(h)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(h)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;g=q[a+452>>2];if(!g){break a}}n[q[a+140>>2]](q[a+4>>2],g,b,q[e+8>>2]);break c}b=0;f=q[a+80>>2];h:{if(!f){break h}g=q[a+144>>2];q[e+32>>2]=c;if(!r[g+68|0]){while(1){q[e+28>>2]=q[a+44>>2];f=n[q[g+56>>2]](g,e+32|0,d,e+28|0,q[a+48>>2])|0;q[a+288>>2]=q[e+32>>2];c=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],c,q[e+28>>2]-c|0);q[a+284>>2]=q[e+32>>2];if(f>>>0>1){continue}break h}}n[f](q[a+4>>2],c,d-c|0)}g=0}i:{if(q[a+228>>2]){break i}j:{f=q[e+20>>2];if(f){c=q[f+64>>2];d=q[a+144>>2];if((d|0)==(f|0)|(c|0)!=2?(c|0)==q[d+64>>2]:0){break j}q[a+284>>2]=q[e+24>>2];d=19;break a}d=q[e+24>>2];if(!d){break i}if(!b){c=q[a+144>>2];b=n[q[c+28>>2]](c,d)|0;q[e+32>>2]=d;g=a+436|0;k:{f=a+448|0;l:{if(!q[f>>2]){if(!Ya(g)){break l}}b=b+d|0;while(1){if(n[q[c+56>>2]](c,e+32|0,b,f,q[a+444>>2])>>>0<2){break k}if(Ya(g)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(g)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;b=q[a+452>>2];if(!b){break a}}d=18;c=q[a+124>>2];m:{if(!c){break m}Na(e+32|0,255,1024);q[e+1064>>2]=0;q[e+1056>>2]=0;q[e+1060>>2]=0;n:{if(!n[c](q[a+244>>2],b,e+32|0)){break n}b=n[q[a+12>>2]](1908)|0;q[a+236>>2]=b;if(!b){d=1;b=q[e+1064>>2];if(!b){break m}n[b](q[e+1056>>2]);break m}c=n[r[a+232|0]?963:964](b,e+32|0,q[e+1060>>2],q[e+1056>>2])|0;if(!c){break n}q[a+240>>2]=q[e+1056>>2];b=q[e+1064>>2];q[a+144>>2]=c;q[a+248>>2]=b;d=0;break m}b=q[e+1064>>2];if(!b){break m}n[b](q[e+1056>>2])}c=q[a+440>>2];o:{if(!c){q[a+440>>2]=q[a+436>>2];break o}b=q[a+436>>2];if(!b){break o}while(1){f=q[b>>2];q[b>>2]=c;q[a+440>>2]=b;c=b;b=f;if(b){continue}break}}q[a+436>>2]=0;q[a+452>>2]=0;q[a+444>>2]=0;q[a+448>>2]=0;if((d|0)!=18){break a}q[a+284>>2]=q[e+24>>2];d=18;break a}q[a+144>>2]=f}d=0;if(!(b|g)){break a}c=q[a+440>>2];p:{if(!c){q[a+440>>2]=q[a+436>>2];break p}d=q[a+436>>2];if(!d){break p}while(1){b=q[d>>2];q[d>>2]=c;q[a+440>>2]=d;c=d;d=b;if(b){continue}break}}d=0;q[a+436>>2]=0;q[a+452>>2]=0;q[a+444>>2]=0;q[a+448>>2]=0}Da=e+1072|0;return d}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;j=Da-16|0;Da=j;i=q[a+492>>2];g=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{d=q[b>>2];c:{if(d>>>0>=g>>>0){q[b+12>>2]=3;break c}e=r[d|0];if(!(e+ -48>>>0>9?(e|0)!=91:0)){c=q[b+16>>2];if((e|0)==91){l=1;q[b>>2]=d+1;h=256;break b}h=n[q[b+36>>2]](b)|0;if((h|0)<257){break b}q[b+12>>2]=3;break a}d:{if(d+17>>>0>=g>>>0){break d}if(Ra(d,18966,16)){break d}q[a+368>>2]=2;break c}e:{if(d+15>>>0>=g>>>0){break e}if(Ra(d,18983,14)){break e}q[a+368>>2]=4;break c}f:{if(d+18>>>0>=g>>>0){break f}if(Ra(d,18998,17)){break f}q[a+368>>2]=3;break c}q[b+12>>2]=162}Da=j+16|0;return}n[q[b+28>>2]](b);if(t[b>>2]>=g>>>0){break a}k=b+92|0;f=q[a+384>>2];g:{if(!f){break g}e=c;if(f){n[q[e+8>>2]](e,f)}q[a+384>>2]=0;e=q[a+388>>2];if(e){n[q[c+8>>2]](c,e)}q[a+388>>2]=0;e=q[b+140>>2];if(!e){break g}n[e](k)}q[a+372>>2]=h;q[b+88>>2]=h;m=a,p=Oa(c,2,0,h,0,j+12|0),q[m+384>>2]=p;h:{e=q[j+12>>2];if(e){break h}m=a,p=Oa(c,4,0,h,0,j+12|0),q[m+388>>2]=p;e=q[j+12>>2];if(e){break h}e=n[q[q[i>>2]>>2]](k,h,c)|0;q[j+12>>2]=e;if(e){break h}if((h|0)>=1){c=0;while(1){n[q[b+136>>2]](k,c,17992,8)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}n[q[b+28>>2]](b);c=q[b>>2];i:{if(c>>>0>=g>>>0){break i}e=0;j:{k:{if(!l){while(1){l:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break l}m:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break l;case 6:break m;default:break j}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break l}i=r[c+3|0];if(i>>>0>32){break l}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break l;default:break i}}n:{if(f+ -48>>>0<=9){f=n[q[b+36>>2]](b)|0;n[q[b+28>>2]](b);d=q[b>>2];if((d|0)==(c|0)){break k}if((e|0)>=(h|0)|d+2>>>0>=g>>>0|r[d|0]!=47){break n}d=d+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}c=c-d|0;i=n[q[b+136>>2]](k,f,d,c+1|0)|0;q[b+12>>2]=i;if(i){break a}o[c+q[q[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break n}n[q[b+32>>2]](b);d=c;if(q[b+12>>2]){break a}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break i}}while(1){o:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break o}p:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break o;case 6:break p;default:break j}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break o}i=r[c+3|0];if(i>>>0>32){break o}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break o;default:break i}}if(!((e|0)>=(h|0)|c+2>>>0>=g>>>0|(f|0)!=47)){d=c+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}c=c-d|0;f=n[q[b+136>>2]](k,e,d,c+1|0)|0;q[b+12>>2]=f;if(f){break a}o[c+q[q[b+116>>2]+(e<<2)>>2]|0]=0;n[q[b+28>>2]](b);e=e+1|0;c=q[b>>2];if(c>>>0>>0){continue}break i}break}q[b+12>>2]=2;break a}q[b+12>>2]=2;break a}d=c+1|0}q[a+368>>2]=1;q[b>>2]=d;break a}q[b+12>>2]=e}Da=j+16|0}function qi(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,r=0,s=0;if(!a){return 0}j=q[a+12>>2];b=j>>31;h=q[a+8>>2];d=h>>31;g=q[a+4>>2];c=g>>31;f=q[a>>2];a=f>>31;n=b^b+j;o=d^d+h;m=c^c+g;k=a^a+f;a=(k|0)>0?k:0;a=(m|0)>(a|0)?m:a;a=(o|0)>(a|0)?o:a;a=(n|0)>(a|0)?n:a;a:{if((a|0)>=23171){b=f?(k|0)!=2147483647?k:2147483647:2147483647;b=g?(m|0)<(b|0)?m:b:b;b=h?(o|0)<(b|0)?o:b:b;c=j?(n|0)<(b|0)?n:b:b;b:{if(a>>>0<=65535){i=((a<<16|11584)>>>0)/23170|0;break b}i=2147483647;if(a>>>0>1518469119){break b}e=a<<16|11585;d=a>>>16|0;a=z(d);b=32-a|0;d=e>>>b|d<>>0)/23170|0;d=w(i,-23170)+d|0;a=e<>>31;d=e-(e>>>0<23170?0:23170)|0;i=i<<1|e>>>0>23169;a=a<<1;b=b+ -1|0;if(b){continue}break}}a=(c|0)<0?-1:1;r=(i|0)<0?0-a|0:a;d=2147483647;a=i>>31;a=a+i^a;c:{if(!a){break c}b=c>>31;b=b+c^b;if(b>>>0<=(a>>>17^65535)>>>0){d=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break c}e=b>>>16|0;c=b<<16;b=a>>>1|0;c=c+b|0;b=e+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break c}l=z(b);e=32-l|0;b=c>>>e|b<>>0)/(a>>>0)|0;b=b-w(a,d)|0;c=c<>>31;b=l-(l>>>0>>0?0:a)|0;d=d<<1|l>>>0>=a>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}if(!((r|0)<0?0-d|0:d)){break a}b=(f|0)<0?-1:1;d=(i|0)<0;p=d?0-b|0:b;d:{if(a){l=a>>>17^65535;e:{if(k>>>0<=l>>>0){d=((k<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=2147483647;b=a>>>1|0;c=b+(k<<16)|0;b=(k>>>16|0)+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break e}f=z(b);e=32-f|0;b=c>>>e|b<>>0)/(a>>>0)|0;b=b-w(a,d)|0;c=c<>>31;b=f-(f>>>0>>0?0:a)|0;d=d<<1|f>>>0>=a>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}b=(g|0)<0?-1:1;k=(i|0)<0?0-b|0:b;f:{if(m>>>0<=l>>>0){e=((m<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}e=2147483647;b=a>>>1|0;c=b+(m<<16)|0;f=(m>>>16|0)+(c>>>0>>0)|0;if(f>>>0>=a>>>0){break f}g=z(f);b=32-g|0;f=c>>>b|f<>>0)/(a>>>0)|0;f=f-w(a,e)|0;c=c<>>31;f=g-(g>>>0>>0?0:a)|0;e=e<<1|g>>>0>=a>>>0;c=c<<1;b=b+ -1|0;if(b){continue}break}}m=(p|0)<0;p=0-d|0;b=(h|0)<0?-1:1;r=(i|0)<0?0-b|0:b;k=(k|0)<0;s=0-e|0;g:{if(o>>>0<=l>>>0){b=((o<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}b=2147483647;f=a>>>1|0;c=f+(o<<16)|0;h=(o>>>16|0)+(c>>>0>>0)|0;if(h>>>0>=a>>>0){break g}g=z(h);f=32-g|0;h=c>>>f|h<>>0)/(a>>>0)|0;h=h-w(a,b)|0;c=c<>>31;h=g-(g>>>0>>0?0:a)|0;b=b<<1|g>>>0>=a>>>0;c=c<<1;f=f+ -1|0;if(f){continue}break}}f=m?p:d;g=k?s:e;d=(j|0)<0?-1:1;j=(i|0)<0?0-d|0:d;h=(r|0)<0?0-b|0:b;if(n>>>0<=l>>>0){b=((n<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}b=2147483647;d=a>>>1|0;c=d+(n<<16)|0;e=(n>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break d}i=z(e);d=32-i|0;e=c>>>d|e<>>0)/(a>>>0)|0;e=e-w(a,b)|0;c=c<>>31;e=i-(i>>>0>>0?0:a)|0;b=b<<1|i>>>0>=a>>>0;c=c<<1;d=d+ -1|0;if(d){continue}break}break d}a=(j|0)<0?-1:1;j=d?0-a|0:a;b=2147483647;a=(h|0)<0?-1:1;h=((d?0-a|0:a)|0)<0?-2147483647:2147483647;a=(g|0)<0?-1:1;g=((d?0-a|0:a)|0)<0?-2147483647:2147483647;f=(p|0)<0?-2147483647:2147483647}j=(j|0)<0?0-b|0:b}p=0;b=w(f,j)-w(g,h)|0;a=b>>31;a=a^a+b;if(!a){break a}p=(((w(f,f)+w(g,g)|0)+w(h,h)|0)+w(j,j)>>>0)/(a>>>0)>>>0<51}return p}function kO(a,b,c){a=a|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,o=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;d=Na(b,0,72);y=q[a+20>>2];a:{if(!y){h=2147483647;j=-2147483648;m=-2147483648;g=2147483647;p=-2147483648;r=-2147483648;l=2147483647;o=2147483647;break a}t=q[a+24>>2];r=-2147483648;o=2147483647;l=2147483647;p=-2147483648;g=2147483647;h=2147483647;m=-2147483648;j=-2147483648;while(1){k=w(u,24);b=k+t|0;i=q[b>>2];if(i){z=k+t|0;e=q[i>>2]+q[z+8>>2]|0;g=(g|0)>(e|0)?e:g;e=e+q[i+8>>2]|0;m=(m|0)>(e|0)?m:e;e=q[i+4>>2]+q[z+12>>2]|0;h=(h|0)>(e|0)?e:h;e=e+q[i+12>>2]|0;j=(j|0)>(e|0)?j:e;v=v+1|0;e=b}i=q[b+4>>2];if(i){k=k+t|0;f=q[i>>2]+q[k+16>>2]|0;o=(o|0)>(f|0)?f:o;f=f+q[i+8>>2]|0;r=(r|0)>(f|0)?r:f;f=q[i+4>>2]+q[k+20>>2]|0;l=(l|0)>(f|0)?f:l;f=f+q[i+12>>2]|0;p=(p|0)>(f|0)?p:f;x=x+1|0;f=b}u=u+1|0;if((y|0)!=(u|0)){continue}break}}b:{c:{d:{e:{b=aN(q[a+4>>2]);f:{if(!(b|(v|0)!=1)){xi(q[c+764>>2],d,q[e>>2]);q[d>>2]=q[d>>2]+q[e+8>>2];q[d+4>>2]=q[d+4>>2]+q[e+12>>2];break f}if(!v){break f}e=b<<1;if(!tr(q[c+764>>2],d,e+(m-g|0)|0,e+(j-h|0)|0)){break f}q[d+4>>2]=h-b;q[d>>2]=g-b;g=q[a+20>>2];if(!g){break f}e=0;while(1){j=q[a+24>>2]+w(e,24)|0;h=q[j>>2];if(h){g=(q[h>>2]+q[j+8>>2]|0)-q[d>>2]|0;if((g|0)<0){break e}m=q[h+8>>2];if((m+g|0)>q[d+8>>2]){break e}j=(q[h+4>>2]+q[j+12>>2]|0)-q[d+4>>2]|0;if((j|0)<0){break d}i=q[h+12>>2];if((i+j|0)>q[d+12>>2]){break d}k=g;g=q[d+16>>2];n[q[q[c+764>>2]+20>>2]](k+(q[d+20>>2]+w(g,j)|0)|0,g,q[h+20>>2],q[h+16>>2],i,m);g=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}g:{if(!(b|(x|0)!=1)){xi(q[c+764>>2],d+24|0,q[f+4>>2]);q[d+24>>2]=q[d+24>>2]+q[f+16>>2];q[d+28>>2]=q[d+28>>2]+q[f+20>>2];break g}if(!x){break g}e=b<<1;if(!tr(q[c+764>>2],d+24|0,e+(r-o|0)|0,e+(p-l|0)|0)){break g}q[d+28>>2]=l-b;q[d+24>>2]=o-b;g=q[a+20>>2];if(!g){break g}e=0;while(1){f=q[a+24>>2]+w(e,24)|0;b=q[f+4>>2];if(b){g=(q[b>>2]+q[f+16>>2]|0)-q[d+24>>2]|0;if((g|0)<0){break c}h=q[b+8>>2];if((h+g|0)>q[d+32>>2]){break c}f=(q[b+4>>2]+q[f+20>>2]|0)-q[d+28>>2]|0;if((f|0)<0){break b}l=q[b+12>>2];if((l+f|0)>q[d+36>>2]){break b}k=f;f=q[d+40>>2];n[q[q[c+764>>2]+20>>2]](g+(q[d+44>>2]+w(k,f)|0)|0,f,q[b+20>>2],q[b+16>>2],l,h);g=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}s=qH(+q[a+8>>2]*.00390625)*32;s=s*s;b=q[a>>2];f=b&-5;if((f|0)!=2){ur(q[c+764>>2],d,q[a+4>>2],s)}e=d+24|0;ur(q[c+764>>2],e,q[a+4>>2],s);if(b&4){h:{if(b&2){b=d+48|0;xi(q[c+764>>2],b,e);break h}if(b&1){b=q[e+4>>2];q[d+48>>2]=q[e>>2];q[d+52>>2]=b;c=q[e+20>>2];b=d- -64|0;q[b>>2]=q[e+16>>2];q[b+4>>2]=c;b=q[e+12>>2];q[d+56>>2]=q[e+8>>2];q[d+60>>2]=b;q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;b=d+48|0;break h}b=d+48|0;xi(q[c+764>>2],b,d)}c=q[a+12>>2];q[d+48>>2]=q[d+48>>2]+(c>>6);a=q[a+16>>2];q[d+52>>2]=q[d+52>>2]+(a>>6);bN(b,c&63,a&63)}if((f|0)==2){cN(d,e)}return((w(q[d+16>>2],q[d+12>>2])+w(q[d+40>>2],q[d+36>>2])|0)+w(q[d- -64>>2],q[d+60>>2])|0)+100|0}I(355666,355697,2415,355710);F()}I(355734,355697,2416,355710);F()}I(355666,355697,2440,355710);F()}I(355734,355697,2441,355710);F()}function Et(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=w(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){j=w(b+ -1|0,c);k=j+a|0;e=k+m|0;d=a+c|0;g=q[d>>2];f=w(b>>>1|0,c)+a|0;b=q[f>>2];a:{if((g|0)!=(b|0)){b=(g|0)<(b|0)?-1:1;break a}g=q[d+8>>2];h=q[f+8>>2];b=-1;if(g>>>0>>0){break a}b=g>>>0>h>>>0}h=(b|0)>0;b=h?d:f;i=q[b>>2];g=q[e>>2];b:{c:{if((i|0)!=(g|0)){if((i|0)>=(g|0)){break c}break b}if(t[b+8>>2]<=t[e+8>>2]){break b}}d=h?f:d;f=q[d>>2];d:{if((f|0)!=(g|0)){b=e;if((f|0)>=(g|0)){break d}break b}b=e;if(t[d+8>>2]<=t[b+8>>2]){break b}}b=d}if(!((b|0)==(k|0)|(c|0)<1)){e=b+c|0;d=k;while(1){f=r[b|0];o[b|0]=r[d|0];o[d|0]=f;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}e:{if((j|0)<1){e=k;g=e;f=a;break e}g=k;e=g;f=a;i=f;while(1){if(i>>>0>=e>>>0){break e}while(1){f:{b=q[k>>2];d=q[i>>2];g:{if((b|0)!=(d|0)){if((d|0)<(b|0)){break g}break f}j=q[i+8>>2];h=q[k+8>>2];if(j>>>0>>0){break g}if(j>>>0>h>>>0){break f}h:{if((c|0)<1|f>>>0>=i>>>0){break h}b=r[f|0];o[f|0]=d;o[i|0]=b;if((c|0)==1){break h}j=c+f|0;b=f+1|0;d=i;while(1){h=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=h;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}f=c+f|0}i=c+i|0;if(i>>>0>>0){continue}break e}break}j=e;i:{if(i>>>0>=e>>>0){break i}while(1){j:{e=j+m|0;d=q[e>>2];k:{if((d|0)!=(b|0)){if((d|0)>=(b|0)){break k}break j}b=q[e+8>>2];h=q[k+8>>2];if(b>>>0>>0){break j}if(b>>>0>h>>>0){break k}h=g+m|0;l:{if((c|0)<1|j>>>0>=g>>>0){break l}o[e|0]=r[h|0];o[h|0]=d;b=h;d=e+1|0;if(d>>>0>=j>>>0){break l}while(1){g=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}g=h}if(i>>>0>=e>>>0){break i}b=q[k>>2];j=e;continue}break}m:{if((c|0)<1|i>>>0>=e>>>0){break m}b=r[i|0];o[i|0]=d;o[e|0]=b;if((c|0)==1){break m}j=c+i|0;b=i+1|0;d=e;while(1){h=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=h;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}i=c+i|0}if(i>>>0>>0){continue}break}}b=f-a|0;k=e-f|0;n:{if(!b|!k){break n}if(b>>>0>k>>>0){if((k|0)<1){break n}d=a+k|0;b=a;while(1){j=r[b|0];o[b|0]=r[f|0];o[f|0]=j;f=f+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break n}if((b|0)<1){break n}b=a+k|0;d=a;while(1){j=r[d|0];o[d|0]=r[b|0];o[b|0]=j;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}d=g-e|0;o:{if(!d){break o}b=l-g|0;if(!b){break o}if(d>>>0>b>>>0){if((b|0)<1){break o}b=b+e|0;while(1){f=r[e|0];o[e|0]=r[g|0];o[g|0]=f;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break o}if((d|0)<1){break o}b=b+e|0;while(1){f=r[e|0];o[e|0]=r[b|0];o[b|0]=f;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}Et(a,(k>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){k=0-c|0;j=(c|0)<1;while(1){f=g;p:{if(f>>>0<=a>>>0){break p}while(1){e=f;f=e+k|0;b=q[f>>2];d=q[e>>2];q:{if((b|0)!=(d|0)){if((b|0)>=(d|0)){break q}break p}if(t[f+8>>2]<=t[e+8>>2]){break p}}r:{if(j){break r}o[f|0]=d;o[e|0]=b;d=f+1|0;b=e;if(d>>>0>=b>>>0){break r}while(1){h=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=h;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function NC(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,p=0;f=Da+ -64|0;Da=f;k=q[a+16>>2];b=161;a:{if(t[a+20>>2]>>0){break a}j=q[a+32>>2];n=j+48|0;o[j+64|0]=1;l=-2147483648;d=2147483647;while(1){b=m<<2;g=b+f|0;p=b+(f+32|0)|0;c=q[k>>2];e=r[c|0];b:{if((e|0)==30){b=sc(a,c,0,g);break b}i=c+1|0;c:{b=e+ -28|0;d:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break c}b=(r[c+2|0]|r[i|0]<<8)<<16>>16;break c}b=0;if(t[a+8>>2]<=c+4>>>0){break c}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}if(e>>>0<=246){b=e+ -139|0;break c}c=q[a+8>>2];if(e>>>0<=250){b=0;if(c>>>0<=i>>>0){break c}b=(r[i|0]|e<<8)+ -63124|0;break d}b=0;if(c>>>0<=i>>>0){break c}b=64148-(r[i|0]|e<<8)|0}if((b|0)<32768){break c}h=b;c=5;e:{if((b|0)<1e5){break e}c=6;if((b|0)<=999999){break e}c=7;if((b|0)<1e7){break e}c=8;if((b|0)<1e8){break e}c=(b|0)<1e9?9:10}e=c+ -5|0;i=q[(e<<2)+12864>>2];if(((h|0)/(i|0)|0)>=32768){c=c+ -4|0;q[g>>2]=c;b=Za(b,q[(c<<2)+12864>>2]);break b}q[g>>2]=e;b=Za(b,i);break b}q[g>>2]=0;b=b<<16}q[p>>2]=b;if(b){b=q[g>>2];d=(b|0)<(d|0)?b:d;l=(b|0)>(l|0)?b:l}k=k+4|0;m=m+1|0;if((m|0)!=6){continue}break}if(!(l+9>>>0>9|l-d>>>0>9)){k=0;m=0;b=q[f+32>>2];if(b){d=q[(l-q[f>>2]<<2)+12864>>2];m=d>>1;a=f;f:{if((b|0)<=-1){c=(b-m|0)/(d|0)|0;if((m|-2147483648)<(b|0)){break f}c=-2147483648/(d|0)|0;break f}c=(b+m|0)/(d|0)|0;if((2147483647-m|0)>(b|0)){break f}c=2147483647/(d|0)|0}m=c;q[a+32>>2]=m}b=q[f+36>>2];if(b){d=q[(l-q[f+4>>2]<<2)+12864>>2];k=d>>1;a=f;g:{if((b|0)>=0){c=2147483647/(d|0)|0;if((2147483647-k|0)<=(b|0)){break g}c=(b+k|0)/(d|0)|0;break g}c=-2147483648/(d|0)|0;if((k|-2147483648)>=(b|0)){break g}c=(b-k|0)/(d|0)|0}k=c;q[a+36>>2]=k}c=0;a=0;d=q[f+40>>2];if(d){a=q[(l-q[f+8>>2]<<2)+12864>>2];e=a>>1;b=f;h:{if((d|0)>=0){h=2147483647/(a|0)|0;if((2147483647-e|0)<=(d|0)){break h}h=(d+e|0)/(a|0)|0;break h}h=-2147483648/(a|0)|0;if((e|-2147483648)>=(d|0)){break h}h=(d-e|0)/(a|0)|0}a=h;q[b+40>>2]=a}b=q[f+44>>2];if(b){c=q[(l-q[f+12>>2]<<2)+12864>>2];e=c>>1;d=f;i:{if((b|0)>=0){h=2147483647/(c|0)|0;if((2147483647-e|0)<=(b|0)){break i}h=(b+e|0)/(c|0)|0;break i}h=-2147483648/(c|0)|0;if((e|-2147483648)>=(b|0)){break i}h=(b-e|0)/(c|0)|0}c=h;q[d+44>>2]=c}b=0;d=0;g=q[f+48>>2];if(g){d=q[(l-q[f+16>>2]<<2)+12864>>2];i=d>>1;h=f;j:{if((g|0)>=0){e=2147483647/(d|0)|0;if((2147483647-i|0)<=(g|0)){break j}e=(g+i|0)/(d|0)|0;break j}e=-2147483648/(d|0)|0;if((i|-2147483648)>=(g|0)){break j}e=(g-i|0)/(d|0)|0}d=e;q[h+48>>2]=d}g=q[f+52>>2];if(g){b=q[(l-q[f+20>>2]<<2)+12864>>2];i=b>>1;h=f;k:{if((g|0)>=0){e=2147483647/(b|0)|0;if((2147483647-i|0)<=(g|0)){break k}e=(g+i|0)/(b|0)|0;break k}e=-2147483648/(b|0)|0;if((i|-2147483648)>=(g|0)){break k}e=(g-i|0)/(b|0)|0}b=e;q[h+52>>2]=b}q[j+48>>2]=m;q[j+72>>2]=d;q[j+56>>2]=k;q[j+76>>2]=b;q[j+60>>2]=c;q[j+52>>2]=a;q[j+68>>2]=q[12864-(l<<2)>>2];b=0;if(qi(n)){break a}}q[j+48>>2]=65536;q[j+52>>2]=0;q[j+68>>2]=1;q[j+72>>2]=0;q[j+76>>2]=0;q[j+56>>2]=0;q[j+60>>2]=65536;b=0}Da=f- -64|0;return b|0}function GB(a,b){a=a|0;b=b|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=q[a+492>>2];i=q[b+16>>2];e=q[b+8>>2];n[q[b+28>>2]](b);c=3;a=q[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=r[a|0];c:{if(a+ -48>>>0<=9){a=n[q[b+36>>2]](b)|0;q[b+144>>2]=a;if(q[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=q[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}q[b+144>>2]=d;break c}if((a|0)!=60){break b}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);d=q[b>>2];if(e>>>0<=d>>>0){a=d;break c}a=d;while(1){a=r[a|0]+ -47|0;d:{if(a>>>0>15){break d}e:{switch(a-1|0){case 14:q[b>>2]=d;q[b+144>>2]=h;a=d;break c;case 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 d;default:break e}}h=h+1|0}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>>0){continue}break}}if(q[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=n[q[q[g>>2]>>2]](k,q[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=n[q[q[g>>2]>>2]](l,q[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=n[q[q[g>>2]>>2]](h,4,i)|0;if(c){break b}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>=e>>>0){q[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){f:{g:{c=r[a|0];if((c|0)!=101){if((c|0)==62){break f}break g}if(r[a+1|0]!=110|a+3>>>0>=e>>>0|r[a+2|0]!=100){break g}c=r[a+3|0];if(c>>>0>32){break g}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break f}}n[q[b+32>>2]](b);f=q[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(q[b+12>>2]){break a}j=r[a|0];c=j+ -40|0;h:{if(c>>>0>7){break h}i:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break h;default:break i}}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=n[q[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;o[c+q[f+q[b+172>>2]>>2]|0]=0;if(r[a|0]==46){a=Ta(17992,q[f+q[b+172>>2]>>2]);i=a?i:1;g=a?g:d}n[q[b+28>>2]](b);if((j|0)==40){n[q[b+32>>2]](b)}a=q[b>>2];n[q[b+36>>2]](b)|0;c=3;j=q[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=n[q[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}o[a+q[f+q[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=q[b+144>>2]){break f}}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>>0){continue}}break}q[b+144>>2]=d;if(!(i&255)){c=3;break b}a=q[q[b+172>>2]>>2];if(!Ta(17992,a)){break a}c=n[q[b+296>>2]](h,0,a,q[q[b+176>>2]>>2])|0;if(c){break b}c=n[q[b+296>>2]](h,1,q[q[b+224>>2]>>2],q[q[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=n[q[b+296>>2]](h,2,q[a+q[b+172>>2]>>2],q[a+q[b+176>>2]>>2])|0;if(c){break b}c=n[q[b+296>>2]](h,3,q[a+q[b+224>>2]>>2],q[a+q[b+228>>2]>>2])|0;if(c){break b}c=n[q[b+192>>2]](l,g,q[q[b+276>>2]>>2],q[q[b+280>>2]>>2])|0;if(c){break b}c=n[q[b+244>>2]](k,g,q[q[b+276>>2]+4>>2],q[q[b+280>>2]+4>>2])|0;if(c){break b}c=n[q[b+192>>2]](l,0,q[q[b+276>>2]+8>>2],q[q[b+280>>2]+8>>2])|0;if(c){break b}c=n[q[b+244>>2]](k,0,q[q[b+276>>2]+12>>2],q[q[b+280>>2]+12>>2])|0;if(!c){break a}}q[b+12>>2]=c}}function uD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){i=q[a+100>>2];f=q[a+540>>2];if(f){n[q[f+12>>2]](a)}c=q[a+712>>2];if(c){f=q[c+8>>2];e=q[c+108>>2];if(e){d=q[e+28>>2];b=c+140|0;if(q[b>>2]){zb(e,b)}b=q[c+136>>2];if(b){n[q[d+8>>2]](d,b)}q[c+140>>2]=0;q[c+132>>2]=0;q[c+136>>2]=0;q[c+124>>2]=0;q[c+128>>2]=0;q[c+116>>2]=0;q[c+120>>2]=0;q[c+108>>2]=0;q[c+112>>2]=0}e=q[c+1240>>2];if(e){d=q[e+28>>2];b=c+1272|0;if(q[b>>2]){zb(e,b)}b=q[c+1268>>2];if(b){n[q[d+8>>2]](d,b)}b=c+1240|0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}e=q[c+36>>2];if(e){d=q[e+28>>2];b=c+68|0;if(q[b>>2]){zb(e,b)}b=q[c- -64>>2];if(b){n[q[d+8>>2]](d,b)}q[c+68>>2]=0;q[c+60>>2]=0;q[c+64>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0}e=q[c+1204>>2];if(e){d=q[e+28>>2];b=c+1236|0;if(q[b>>2]){zb(e,b)}b=q[c+1232>>2];if(b){n[q[d+8>>2]](d,b)}b=c+1204|0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}b=q[c+2024>>2];if(b){while(1){g=q[((h<<2)+c|0)+2028>>2];if(g){e=q[g+608>>2];if(e){d=q[e+28>>2];b=g+640|0;if(q[b>>2]){zb(e,b)}b=q[g+636>>2];if(b){n[q[d+8>>2]](d,b)}q[g+640>>2]=0;q[g+632>>2]=0;q[g+636>>2]=0;q[g+624>>2]=0;q[g+628>>2]=0;q[g+616>>2]=0;q[g+620>>2]=0;q[g+608>>2]=0;q[g+612>>2]=0}b=f;d=q[g+644>>2];if(d){n[q[b+8>>2]](b,d)}q[g+644>>2]=0;d=q[g+572>>2];if(d){n[q[b+8>>2]](b,d)}q[g+572>>2]=0;d=q[g+580>>2];if(d){n[q[b+8>>2]](b,d)}q[g+580>>2]=0;b=q[g+592>>2];if(b){n[q[f+8>>2]](f,b)}q[g+592>>2]=0;b=q[c+2024>>2]}h=h+1|0;if(h>>>0>>0){continue}break}b=q[c+2028>>2];if(b){n[q[f+8>>2]](f,b)}q[c+2028>>2]=0}q[c+144>>2]=0;q[c+148>>2]=0;q[c+152>>2]=0;h=q[q[c+4>>2]+28>>2];e=h;d=c+1192|0;b=q[d>>2];if(b){n[q[e+8>>2]](e,b)}q[d>>2]=0;q[d+4>>2]=0;d=c+1188|0;b=q[d>>2];if(b){n[q[h+8>>2]](h,b)}q[c+1180>>2]=0;q[c+1184>>2]=0;q[d>>2]=0;ho(c+3112|0,f);h=c+1980|0;e=q[h>>2];if(e){d=q[e+28>>2];b=c+2012|0;if(q[b>>2]){zb(e,b)}b=q[c+2008>>2];if(b){n[q[d+8>>2]](d,b)}q[h+32>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0}b=f;e=c+2016|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1944|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1952|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1964|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;d=c+3060|0;if(q[d>>2]){zb(q[c+4>>2],d)}o[c+3052|0]=0;q[c+3056>>2]=0;q[c+3064>>2]=0;d=q[c+3092>>2];if(d){n[q[b+8>>2]](b,d)}q[c+3092>>2]=0;d=q[c+1348>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1348>>2]=0;d=q[c+1352>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1352>>2]=0;d=q[c+1360>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1360>>2]=0;b=q[c+1364>>2];if(b){n[q[f+8>>2]](f,b)}q[c+1364>>2]=0;b=q[c+3108>>2];if(b){n[b](q[c+3104>>2]);b=q[c+3104>>2];if(b){n[q[f+8>>2]](f,b)}q[c+3104>>2]=0}b=q[c+3132>>2];if(b){n[q[f+8>>2]](f,b)}q[c+3132>>2]=0;f=q[a+712>>2];if(f){n[q[i+8>>2]](i,f)}q[a+712>>2]=0}f=q[a+548>>2];if(f){n[q[f+44>>2]](a)}q[a+736>>2]=0}}function Rn(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=Da-16|0;Da=k;e=q[a+72>>2];n=q[a+64>>2];h=q[a+68>>2];a:{if(!c){break a}d=q[a>>2];if(d>>>0>2){break a}b:{c:{d:{e:{f:{g:{switch(d-1|0){default:if(Xa(q[a+164>>2],2)){break f}if((Gj(q[a+164>>2],k+12|0,1)|0)!=1){break f}f=r[k+12|0];q[a+44>>2]=f&128;j=f&31;q[a+40>>2]=j;d=1<>2]=d+ -256;if(j>>>0>16){break f}q[a+52>>2]=9;q[a+56>>2]=f>>>7;q[a+60>>2]=j>>>0>9?256:d+ -255|0;e=0;d=hj(a);if(d>>>0>255){break f}if(b){o[b|0]=d}if(c>>>0<2){break e}j=1;q[a>>2]=1;h=d;n=d;break;case 1:break d;case 0:break g}}d=0;break c}j=0;break b}j=1;h=d;n=d;break a}d=1}while(1){if(!d){d=hj(a);if((d|0)<0){break b}h:{i:{j:{while(1){if((d|0)!=256){break j}if(!q[a+44>>2]){break i}o[a+32|0]=1;n=0;q[a+56>>2]=0;h=0;d=hj(a);if((d|0)>=0){continue}break}break b}f=d;if(d>>>0<256){break h}}f=d;i=d+ -256|0;e=q[a+56>>2];if(i>>>0>=e>>>0){if(i>>>0>e>>>0){e=d;break b}e=q[a+92>>2];g=q[a+96>>2];k:{if(e>>>0>>0){g=q[a+88>>2];break k}f=((g>>>1|0)+g|0)+4|0;i=q[a+168>>2];l:{m:{n:{o:{l=q[a+88>>2];if((l|0)!=(a+100|0)){e=65536;if(f>>>0>65536){break o}e=f;break n}l=0;q[a+88>>2]=0;e=f>>>0<65536?f:65536;g=0;break n}if((g|0)==65536){break m}}g=Oa(i,1,g,e,l,k+12|0);q[a+88>>2]=g;if(!q[k+12>>2]){break l}}e=d;break b}q[a+96>>2]=e;e=q[a+92>>2]}q[a+92>>2]=e+1;o[e+g|0]=h;f=n;if(f>>>0<256){break h}}m=a+100|0;e=q[a+76>>2];while(1){if(!e){e=d;break b}e=q[a+92>>2];g=q[a+96>>2];p:{if(e>>>0>>0){g=q[a+88>>2];break p}e=((g>>>1|0)+g|0)+4|0;i=q[a+168>>2];q:{l=q[a+88>>2];r:{s:{if((m|0)!=(l|0)){if(e>>>0<=65536){break s}e=65536;if((g|0)==65536){break r}break s}l=0;q[a+88>>2]=0;e=e>>>0<65536?e:65536;g=0}g=Oa(i,1,g,e,l,k+12|0);q[a+88>>2]=g;if(!q[k+12>>2]){break q}}e=d;break b}q[a+96>>2]=e;e=q[a+92>>2]}i=f+ -256|0;f=r[i+q[a+80>>2]|0];q[a+92>>2]=e+1;o[e+g|0]=f;e=q[a+76>>2];f=s[e+(i<<1)>>1];if(f>>>0>255){continue}break}}h=q[a+92>>2];e=q[a+96>>2];t:{if(h>>>0>>0){e=q[a+88>>2];break t}i=((e>>>1|0)+e|0)+4|0;m=q[a+168>>2];u:{v:{w:{x:{l=q[a+88>>2];if((l|0)!=(a+100|0)){h=65536;if(i>>>0>65536){break x}h=i;break w}l=0;q[a+88>>2]=0;h=i>>>0<65536?i:65536;e=0;break w}if((e|0)==65536){break v}}e=Oa(m,1,e,h,l,k+12|0);q[a+88>>2]=e;if(!q[k+12>>2]){break u}}h=f;e=d;break b}q[a+96>>2]=h;h=q[a+92>>2]}q[a+92>>2]=h+1;o[e+h|0]=f;q[a>>2]=2;h=f;e=d;d=1;continue}y:{if(b){while(1){d=q[a+92>>2];if(!d){break y}d=d+ -1|0;q[a+92>>2]=d;o[b+j|0]=r[d+q[a+88>>2]|0];j=j+1|0;if((j|0)!=(c|0)){continue}break}j=c;break a}d=q[a+92>>2];while(1){if(!d){break y}d=d+ -1|0;q[a+92>>2]=d;j=j+1|0;if((j|0)!=(c|0)){continue}break}j=c;break a}d=q[a+56>>2];if(d>>>0>2]){m=q[a+84>>2];if(d>>>0>=m>>>0){i=m?m+(m>>>2|0)|0:512;f=Oa(q[a+168>>2],3,m,i,q[a+76>>2],k+12|0);q[a+76>>2]=f;if(q[k+12>>2]){break b}d=f+(i<<1)|0;q[a+80>>2]=d;sb(d,f+(m<<1)|0,m);q[a+84>>2]=i;d=q[a+56>>2]}p[q[a+76>>2]+(d<<1)>>1]=n;o[q[a+80>>2]+d|0]=h;q[a+56>>2]=q[a+56>>2]+1}q[a>>2]=1;n=e;d=0;continue}}q[a>>2]=3}q[a+72>>2]=e;q[a+68>>2]=h;q[a+64>>2]=n;Da=k+16|0;return j}function rT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=q[a+76>>2];if(g){i=q[a+88>>2];a=0;while(1){f=w(a,20)+i|0;e=s[f+16>>1];if((e&31)==12){c=e>>>8|0;a:{if(e>>>0>51199){b=c;break a}b:{c:{b=q[f>>2];if((b&-256)==3584){if(!c){d=0;c=b+ -3633|0;if(c>>>0>156){break b}d:{switch(c-1|0){case 127:case 130:case 131:case 132:case 133:case 137:case 154:case 155:d=230;break b;case 138:break d;case 0:case 1: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 22:case 23:case 24:case 25: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 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 123:case 124:case 125:case 126:case 128:case 129:case 134:case 135:case 136: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:break b;default:break c}}d=220;break b}d=222;if((b|0)==3642){break b}}h=c+ -3|0;if(h>>>0>129){d=c;break b}b=220;d=c;e:{switch(h-1|0){case 9:b=214;break a;case 6:b=232;break a;case 7:case 10:b=228;break a;case 22:case 23:case 24:case 25:case 27:case 28:case 30:case 31:case 32:b=230;break a;default:b=222;break a;case 103:b=232;break a;case 118:case 128:break e;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 26:case 29:case 114:case 125:case 127:break a;case 0:case 1:case 2:case 3:case 4:case 5:case 8: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 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 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 115:case 116:case 117:case 119:case 120:case 121:case 122:case 123:case 124:case 126:break b}}b=230;break a}d=232}b=d}p[f+16>>1]=e&255|b<<8}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function Ep(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,u=0;i=Da-16|0;Da=i;a:{b:{c:{d:{e:{f:{k=q[b+8>>2];if(k+3>>>0>=t[b+4>>2]){break f}o=q[a>>2];e=q[b+20>>2];if(e){if((n[e](b,k,i+10|0,4)|0)!=4){break f}e=q[b+8>>2];f=i+10|0;break e}e=q[b>>2];if(e){f=e+k|0;e=k;break e}q[b+8>>2]=k+4;g=2;break d}f=85;break a}f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);j=e+4|0;q[b+8>>2]=j;g=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break d}g=q[b+4>>2];if(e+5>>>0>=g>>>0){break b}g:{h:{i:{f=q[b+20>>2];j:{if(f){if((n[f](b,j,i+14|0,2)|0)!=2){break b}g=q[b+20>>2];j=q[b+8>>2];e=i+14|0;break j}f=q[b>>2];if(!f){break i}g=0;e=f+j|0}f=r[e+1|0];h=r[e|0];q[b+8>>2]=j+2;e=j+8|0;p=f|h<<8;if(!g){g=q[b+4>>2];break h}f=85;if(!n[g](b,e,0,0)){break g}break a}q[b+8>>2]=e+6;e=e+12|0}f=85;if(g>>>0>>0){break a}}q[b+8>>2]=e;f=142;if(!p){break a}l=(c|0)>0?c&65535:c;m=-1;while(1){g=q[b+4>>2];if(e+3>>>0>=g>>>0){break c}k:{l:{m:{n:{c=q[b+20>>2];o:{if(c){if((n[c](b,e,i+10|0,4)|0)!=4){break c}g=q[b+20>>2];e=q[b+8>>2];c=i+10|0;break o}c=q[b>>2];if(!c){break n}g=0;c=c+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[b+8>>2]=e+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=e+8|0;if(!g){g=q[b+4>>2];break m}if(!n[g](b,c,0,0)){break l}f=85;break a}q[b+8>>2]=e+4;c=e+8|0;j=0}if(g>>>0>=c>>>0){break k}f=85;break a}g=q[b+4>>2]}q[b+8>>2]=c;p:{q:{r:{if(e+11>>>0>=g>>>0){break r}e=q[b+20>>2];s:{if(e){if((n[e](b,c,i+10|0,4)|0)!=4){break r}g=q[b+4>>2];c=q[b+8>>2];e=i+10|0;break s}e=q[b>>2];if(!e){break q}e=c+e|0}e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break p}f=85;break a}e=0}h=e;e=c+4|0;q[b+8>>2]=e;t:{u:{v:{if(c+7>>>0>=g>>>0){break v}c=q[b+20>>2];w:{if(c){if((n[c](b,e,i+10|0,4)|0)!=4){break v}e=q[b+8>>2];c=i+10|0;break w}c=q[b>>2];if(!c){break u}c=c+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break t}f=85;break a}c=0}e=e+4|0;q[b+8>>2]=e;x:{y:{if((j|0)!=1415139377){if((j|0)!=1128875040){break y}c=c+ -22|0;h=h+22|0;s=1;if((l|0)<0){break x}m=m+1|0;break y}c=c+ -24|0;h=h+24|0;s=0;if((l|0)<0){break x}m=m+1|0}if((l|0)==(m|0)?(l|0)>=0:0){break x}u=u+1|0;if((p|0)==(u|0)){break a}continue}break}f=8;e=q[b+4>>2];if(e>>>0>>0|c>>>0>e-h>>>0){break a}g=h+k|0;h=q[b+20>>2];z:{if(h){f=85;if(!n[h](b,g,0,0)){break z}break a}f=85;if(e>>>0>>0){break a}}q[b+8>>2]=g;e=0;A:{if((c|0)<=0){f=6;if(!c){break A}break a}e=n[q[o+4>>2]](o,c)|0;if(!e){f=64;break a}Na(e,0,c);g=q[b+8>>2]}B:{f=q[b+4>>2];if(f>>>0>g>>>0){h=q[b+20>>2];C:{if(h){f=n[h](b,g,e,c)|0;break C}f=f-g|0;f=f>>>0>c>>>0?c:f;Qa(e,q[b>>2]+g|0,f)}q[b+8>>2]=f+g;if(f>>>0>=c>>>0){break B}}f=85;if(!e){break a}n[q[o+8>>2]](o,e);break a}g=Dj(a,e,c,l>>31&l,s?4280:4284,d);f=g;if((f&255)!=2){break a}}a=q[b+20>>2];D:{if(a){f=85;if(!n[a](b,k,0,0)){break D}break a}f=85;if(t[b+4>>2]>>0){break a}}q[b+8>>2]=k;f=g;break a}f=85;break a}f=85}Da=i+16|0;return f}function cp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;a:{b:{c=q[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=q[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=q[161269]){if(c>>>0<=255){e=c>>>3|0;c=q[a+8>>2];d=q[a+12>>2];if((d|0)==(c|0)){i=645056,j=q[161264]&$$(-2,e),q[i>>2]=j;break b}q[c+12>>2]=d;q[d+8>>2]=c;break b}h=q[a+24>>2];c=q[a+12>>2];c:{if((c|0)!=(a|0)){d=q[a+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break c}d:{d=a+20|0;e=q[d>>2];if(e){break d}d=a+16|0;e=q[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break b}d=q[a+28>>2];e=(d<<2)+645360|0;e:{if(q[e>>2]==(a|0)){q[e>>2]=c;if(c){break e}i=645060,j=q[161265]&$$(-2,d),q[i>>2]=j;break b}q[h+(q[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;d=q[a+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[a+20>>2];if(!d){break b}q[c+20>>2]=d;q[d+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[161266]=b;q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[f>>2]=b;return}c=q[f+4>>2];f:{if(!(c&2)){if(q[161270]==(f|0)){q[161270]=a;b=q[161267]+b|0;q[161267]=b;q[a+4>>2]=b|1;if(q[161269]!=(a|0)){break a}q[161266]=0;q[161269]=0;return}if(q[161269]==(f|0)){q[161269]=a;b=q[161266]+b|0;q[161266]=b;q[a+4>>2]=b|1;q[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=q[f+8>>2];d=q[f+12>>2];if((d|0)==(c|0)){i=645056,j=q[161264]&$$(-2,e),q[i>>2]=j;break g}q[c+12>>2]=d;q[d+8>>2]=c;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){d=q[f+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break h}i:{d=f+20|0;e=q[d>>2];if(e){break i}d=f+16|0;e=q[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break g}d=q[f+28>>2];e=(d<<2)+645360|0;j:{if(q[e>>2]==(f|0)){q[e>>2]=c;if(c){break j}i=645060,j=q[161265]&$$(-2,d),q[i>>2]=j;break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;d=q[f+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[f+20>>2];if(!d){break g}q[c+20>>2]=d;q[d+24>>2]=c}q[a+4>>2]=b|1;q[a+b>>2]=b;if(q[161269]!=(a|0)){break f}q[161266]=b;return}q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+645096|0;d=q[161264];c=1<>2]}q[b+8>>2]=a;q[c+12>>2]=a;q[a+12>>2]=b;q[a+8>>2]=c;return}q[a+16>>2]=0;q[a+20>>2]=0;d=a;e=b>>>8|0;c=0;l:{if(!e){break l}c=31;if(b>>>0>16777215){break l}g=e+1048320>>>16&8;e=e<>>16&4;f=e<>>16&2;c=(f<>>15|0)-(e|(c|g))|0;c=(c<<1|b>>>c+21&1)+28|0}q[d+28>>2]=c;e=(c<<2)+645360|0;m:{d=q[161265];g=1<>2]=a;break n}d=b<<((c|0)==31?0:25-(c>>>1|0)|0);c=q[e>>2];while(1){e=c;if((q[c+4>>2]&-8)==(b|0)){break m}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=a}q[a+24>>2]=e;q[a+12>>2]=a;q[a+8>>2]=a;return}b=q[e+8>>2];q[b+12>>2]=a;q[e+8>>2]=a;q[a+24>>2]=0;q[a+12>>2]=e;q[a+8>>2]=b}}function Tm(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;j=r[c+2|0];k=r[c+3|0];d=q[b+4>>2];l=q[d+80>>2];b=r[c+7|0]|r[c+6|0]<<8;if((b|0)!=65535){i=q[a+12>>2]+(b<<1)|0;e=k&31;a:{if(e){b=0;g=q[a+4>>2];if(t[g+20>>2]>i>>>0){break a}f=q[g+24>>2];if(f>>>0>>0|f-i>>>0>>0){break a}f=g;g=q[g+28>>2];q[f+28>>2]=g+ -1;if((g|0)<1){break a}}b=e}rd(d,q[a+8>>2]);n=j&4;b:{if(n|t[d+72>>2]>=t[d+76>>2]){break b}if(!Va(d,0,1)){break b}e=q[d+88>>2]+w(q[d+72>>2],20)|0;h=q[e+4>>2];g=q[d+92>>2]+w(q[d+80>>2],20)|0;q[g>>2]=q[e>>2];q[g+4>>2]=h;q[g+16>>2]=q[e+16>>2];f=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=f;q[d+80>>2]=q[d+80>>2]+1}if(b){g=0;while(1){e=i+(g<<1)|0;f=r[e|0];h=r[e+1|0];c:{if(!Va(d,0,1)){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;break c}m=q[d+76>>2];e=q[d+72>>2];if(!(q[d+80>>2]|(m|0)!=(e|0))){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;break c}o=h|f<<8;d:{if(e>>>0>>0){f=q[d+80>>2];h=q[d+92>>2];e=q[d+88>>2]+w(e,20)|0;break d}h=q[d+92>>2];f=q[d+80>>2];e=(h+w(f,20)|0)+ -20|0}m=q[e+4>>2];f=w(f,20)+h|0;q[f>>2]=q[e>>2];q[f+4>>2]=m;q[f+16>>2]=q[e+16>>2];h=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=h;e=q[d+80>>2];q[q[d+92>>2]+w(e,20)>>2]=o;q[d+80>>2]=e+1}g=g+1|0;if((g|0)!=(b|0)){continue}break}}e:{if(n){break e}e=q[d+72>>2];if(e>>>0>=t[d+76>>2]){break e}q[d+72>>2]=e+1}rd(d,b+l|0);b=q[d+76>>2];e=q[d+72>>2]+1|0;Zc(d,q[a+8>>2],e>>>0>b>>>0?b:e)}if(j&128){q[a+8>>2]=l}b=r[c+5|0]|r[c+4|0]<<8;if((b|0)!=65535){e=q[a+12>>2]+(b<<1)|0;c=(k|j<<8)>>>5&31;f:{if(c){b=0;a=q[a+4>>2];if(t[a+20>>2]>e>>>0){break f}g=q[a+24>>2];if(g>>>0>>0|g-e>>>0>>0){break f}f=a;a=q[a+28>>2];q[f+28>>2]=a+ -1;if((a|0)<1){break f}}b=c}i=q[d+80>>2];k=j&8;g:{if(k|t[d+72>>2]>=t[d+76>>2]){break g}if(!Va(d,0,1)){break g}a=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[a+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;g=c;q[g>>2]=q[a>>2];q[g+4>>2]=f;q[g+16>>2]=q[a+16>>2];g=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=g;q[d+80>>2]=q[d+80>>2]+1}if(b){g=0;while(1){a=e+(g<<1)|0;c=r[a|0];f=r[a+1|0];h:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;break h}a=q[d+72>>2];h=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(h|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;break h}l=f|c<<8;i:{if(a>>>0>>0){f=q[d+80>>2];h=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break i}h=q[d+92>>2];f=q[d+80>>2];a=(h+w(f,20)|0)+ -20|0}c=w(f,20)+h|0;f=c;h=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=h;q[f+16>>2]=q[a+16>>2];f=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=f;a=q[d+80>>2];q[q[d+92>>2]+w(a,20)>>2]=l;q[d+80>>2]=a+1}g=g+1|0;if((g|0)!=(b|0)){continue}break}}j:{if(k){break j}a=q[d+72>>2];if(a>>>0>=t[d+76>>2]){break j}q[d+72>>2]=a+1}rd(d,i+(j&64?0:b)|0)}}function GR(a,b){a=a|0;b=b|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;g=Da-432|0;Da=g;A=q[b+92>>2];q[a+40>>2]=s[b+68>>1];if(!Ne(b,1970170211)){Us(a,b);d=q[q[a>>2]+12>>2];u=He();d=(d<<3)+278512|0;c=q[d>>2];if((c|0)!=5326){B=a+7496|0;C=a+44|0;while(1){j=d;d=c+273184|0;c=r[d|0];a:{if(!c){break a}x=r[j+4|0]&2?C:B;n=0;i=0;y=1;while(1){c=c&255;if((c|0)!=32){b:{c:{if((c|0)==124){d=d+1|0;break c}d=Ff(d,a,u,g+12|0);if(t[g+12>>2]>1){break b}c=g+428|0;if(c){q[c>>2]=q[u+76>>2]}c=q[u+88>>2];Ge(u,g+428|0);if(!q[g+428>>2]){break b}c=q[c>>2];if(!c){break b}if(Yc(b,c,1)){break b}e=q[b+84>>2];if(p[e+110>>1]<3){break b}c=0;z=p[e+108>>1];d:{if((z|0)<1){f=0;break d}D=q[e+120>>2];m=q[e+112>>2];e=-1;v=0;f=0;while(1){l=p[(v<<1)+D>>1];e:{if((c|0)>=(l|0)){break e}k=s[j+4>>1];h=k&1;if(k&2){if(h){while(1){h=q[m+(c<<3)>>2];k=(e|0)<0|(h|0)>(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break e}}while(1){h=q[m+(c<<3)>>2];k=(e|0)<0|(h|0)<(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break}break e}if(h){while(1){h=q[(m+(c<<3)|0)+4>>2];k=(e|0)<0|(h|0)>(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break e}}while(1){h=q[(m+(c<<3)|0)+4>>2];k=(e|0)<0|(h|0)<(f|0);e=k?c:e;f=k?h:f;h=(c|0)!=(l|0);c=c+1|0;if(h){continue}break}}c=l+1|0;v=v+1|0;if((z|0)!=(v|0)){continue}break}}if(y){q[(g+224|0)+(n<<2)>>2]=f;n=n+1|0;break b}q[(g+16|0)+(i<<2)>>2]=f;i=i+1|0}y=0}c=r[d|0];if(c){continue}if(!(i|n)){break a}c=1;if(n>>>0>=2){while(1){f=q[(g+224|0)+(c<<2)>>2];d=c;while(1){e=d+ -1|0;l=(g+224|0)+(e<<2)|0;m=q[l>>2];if((f|0)<(m|0)){q[(g+224|0)+(d<<2)>>2]=m;q[l>>2]=f;d=e;if(d){continue}}break}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=1;if(i>>>0>=2){while(1){f=q[(g+16|0)+(c<<2)>>2];d=c;while(1){e=d+ -1|0;l=(g+16|0)+(e<<2)|0;m=q[l>>2];if((f|0)<(m|0)){q[(g+16|0)+(d<<2)>>2]=m;q[l>>2]=f;d=e;if(d){continue}}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}d=q[x+216>>2];q[x+216>>2]=d+1;d=w(d,28)+x|0;c=d;f:{g:{if(!(!i|!n)){f=q[(g+224|0)+(n<<1&-4)>>2];q[d+220>>2]=f;i=q[(g+16|0)+(i<<1&-4)>>2];q[c+232>>2]=i;if((f|0)==(i|0)){break g}e=s[j+4>>1];if((e&1)==((i|0)<(f|0)|0)){break f}h=c;c=(f+i|0)/2|0;q[h+232>>2]=c;q[d+220>>2]=c;break f}e=c;c=q[((i?i:n)<<1&-4)+(i?g+16|0:g+224|0)>>2];q[e+232>>2]=c;q[d+220>>2]=c}e=s[j+4>>1]}q[d+244>>2]=e<<1&2}else{c=r[d+1|0];d=d+1|0;continue}break}}d=j+8|0;c=q[j+8>>2];if((c|0)!=5326){continue}break}}Xd(u);e=0;q[g+240>>2]=q[72328];d=q[72327];q[g+232>>2]=q[72326];q[g+236>>2]=d;d=q[72325];q[g+224>>2]=q[72324];q[g+228>>2]=d;d=g+224|0;f=He();c=0;h:{while(1){d=Ff(d,a,f,g+428|0);i:{if(t[g+428>>2]>1){break i}j=g+16|0;if(j){q[j>>2]=q[f+76>>2]}j=q[f+88>>2];i=Ge(f,g+16|0);if(!q[g+16>>2]|!q[j>>2]){break i}j=q[i>>2];if(!e){e=1;c=j;break i}if((c|0)==(j|0)){break i}d=0;break h}if(r[d|0]){continue}break}d=1}Xd(f);o[a+32|0]=d}$d(b,A);Da=g+432|0;return 0}function xT(a,b,c){a=a|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=Da-32|0;Da=g;a:{if(r[c+16|0]&16){break a}d=q[c+76>>2];if(!d){break a}f=q[c+88>>2];a=0;while(1){if((r[(f+w(a,20)|0)+15|0]&15)!=2){a=a+1|0;if((d|0)!=(a|0)){continue}break a}break}q[g+28>>2]=0;a=q[b+72>>2];if(!n[q[a+156>>2]](b,q[b+76>>2],9676,g+28|0,q[a+20>>2])){break a}q[g+20>>2]=0;q[g+24>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+8>>2]=9676;Ft(g+8|0);j=q[g+28>>2];q[g+8>>2]=j;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b:{if(!q[c+76>>2]){break b}h=q[g+24>>2];a=0;b=0;while(1){if(!r[c+68|0]){break b}e=q[c+88>>2];f=e+w(a,20)|0;d=r[f+15|0];c:{if(!((d|0)==(b|0)|(d&15)!=2)){p[g+4>>1]=s[g+20>>1];o[g+6|0]=r[g+22|0];b=q[f+4>>2];f=q[f+8>>2];if(Va(c,0,1)){a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a+8>>2]=f;q[a+4>>2]=b;q[a>>2]=j;p[a+12>>1]=s[g+4>>1];o[a+14|0]=r[g+6|0];q[a+16>>2]=h;o[a+15|0]=d;q[c+80>>2]=q[c+80>>2]+1}b=d;break c}if(r[c+69|0]){f=c;d:{if((e|0)==q[c+92>>2]){d=a;if(q[c+80>>2]==(a|0)){break d}}if(!Va(c,1,1)){break c}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[c+72>>2];d=q[c+80>>2]}q[f+80>>2]=d+1}q[c+72>>2]=a+1}a=q[c+72>>2];if(a>>>0>2]){continue}break}}Kc(c)}j=q[c+76>>2];if(j){b=j+ -1|0;a=0;d=q[c+88>>2];f=r[d+15|0];while(1){e:{if((a|0)==(b|0)){a=j;break e}a=a+1|0;if((f|0)==r[(d+w(a,20)|0)+15|0]){continue}}break}i=q[c+88>>2];d=r[i+15|0];e=j;b=0;while(1){f=a;a=d&15;if(!(a>>>0>2|!(a-1))){h=0;d=b;a=d;k=a+3|0;f:{if(k>>>0>f>>>0){break f}a=b;e=w(a,20)+i|0;if(r[e+18|0]!=16){break f}a=b;if(r[e+38|0]!=18){break f}a=r[e+58|0]==4;h=a?3:0;a=a?k:b}g:{if(a>>>0>=f>>>0){break g}while(1){h:{d=w(a,20)+i|0;if(r[d+12|0]&32){break h}d=r[d+18|0];if(d>>>0>31|!(1<>>0>a>>>0){while(1){o[(w(e,20)+i|0)+19|0]=5;e=e+1|0;if((h|0)!=(e|0)){continue}break}a=h}if(a>>>0>>0){while(1){o[(w(a,20)+i|0)+19|0]=3;a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}if(a>>>0>>0){o[(w(a,20)+i|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){k=w(a,20)+i|0;l=k;h=3;e=r[k+18|0];i:{j:{if((e|0)==22){break j}if(r[l+19|0]<4){break i}if((e|0)==30){h=r[k+ -1|0];break j}h=8;if(!((d|0)!=5|(e|0)!=27)){d=8;break j}if((d|0)==8){h=7;d=8;if((e|0)==10){break j}h=(e|0)==27?8:9;d=h;break j}h=d}o[l+19|0]=h}a=a+1|0;if((f|0)!=(a|0)){continue}break}}Ys(c,b,f,558);i=q[c+88>>2];e=q[c+76>>2]}a=f+1|0;b=e>>>0>a>>>0?e:a;d=r[(w(f,20)+i|0)+15|0];a=f;while(1){k:{a=a+1|0;if(a>>>0>=e>>>0){a=b;break k}if(r[(w(a,20)+i|0)+15|0]==(d&255)){continue}}break}b=f;if(f>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){l:{a=a<<24>>24;o[c+164|0]=a&191;if((a|0)>=0){break l}o[c+164|0]=a&63;Da=g+32|0;return}}I(270034,270004,160,270019);F()}function Ml(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,r=0,t=0,u=0,v=0,x=0,y=0;c=q[a+36>>2];n=q[a+40>>2];k=q[a+28>>2];o=q[a+24>>2];t=k+w(o,40)|0;a:{if(b){u=8;if((o|0)<=0){break a}a=k;while(1){q[a+24>>2]=q[a+20>>2];q[a+28>>2]=q[a+8>>2];a=a+40|0;if(a>>>0>>0){continue}break}break a}u=4;if((o|0)<1){break a}a=k;while(1){q[a+24>>2]=q[a+16>>2];q[a+28>>2]=q[a+4>>2];a=a+40|0;if(a>>>0>>0){continue}break}}if((c|0)>=1){y=(c<<2)+n|0;while(1){j=q[n>>2];a=j;h=q[a+36>>2];b:{if(a>>>0>h>>>0){break b}while(1){c:{if(s[a>>1]&u){c=a;d:while(1){e=c;e:{if(c>>>0>>0){f=0;c=e+40|0;d=c;if(s[e+40>>1]&u){continue}break e}f=1;d=e+40|0;c=d}if(d>>>0>h>>>0){c=1;break c}f:{while(1){if(s[c>>1]&u){break f}c=c+40|0;if(c>>>0<=h>>>0){continue}break}c=0;break c}m=c+ -40|0;if(d>>>0>m>>>0){continue}f=q[e+28>>2]>q[c+28>>2];g=f?e:c;i=q[g+24>>2];g=q[g+28>>2];p=i-g|0;e=f?c:e;l=q[e+24>>2];f=q[e+28>>2];v=l-f|0;if((i|0)!=(l|0)?(f|0)!=(g|0):0){r=Za(i-l|0,g-f|0);while(1){e=d;i=q[d+28>>2];g:{if((i|0)<=(f|0)){x=i+v|0;break g}x=i+p|0;if((i|0)>=(g|0)){break g}x=Ma(i-f|0,r)+l|0}q[e+24>>2]=x;d=d+40|0;if(d>>>0<=m>>>0){continue}break}continue}else{while(1){e=q[d+28>>2];q[d+24>>2]=(e|0)>(f|0)?(e|0)<(g|0)?l:e+p|0:e+v|0;d=d+40|0;if(d>>>0<=m>>>0){continue}continue d}}}}a=a+40|0;if(a>>>0<=h>>>0){continue}break b}break}h:{i:{if((a|0)==(e|0)){d=q[a+24>>2]-q[a+28>>2]|0;if(!d){break b}if(j>>>0>>0){break i}break h}j:{if(c|f){break j}f=q[e+28>>2]>q[a+28>>2];g=f?e:a;c=q[g+24>>2];g=q[g+28>>2];m=c-g|0;f=f?a:e;l=q[f+24>>2];f=q[f+28>>2];p=l-f|0;if(!((c|0)!=(l|0)?(f|0)!=(g|0):0)){while(1){c=q[d+28>>2];q[d+24>>2]=(c|0)>(f|0)?(c|0)<(g|0)?l:c+m|0:c+p|0;d=d+40|0;if(d>>>0<=h>>>0){continue}break j}}v=Za(c-l|0,g-f|0);while(1){c=d;r=c;i=q[c+28>>2];k:{if((i|0)<=(f|0)){c=i+p|0;break k}c=i+m|0;if((i|0)>=(g|0)){break k}c=Ma(i-f|0,v)+l|0}q[r+24>>2]=c;d=d+40|0;if(d>>>0<=h>>>0){continue}break}}if(a>>>0<=k>>>0){break b}g=a+ -40|0;if(j>>>0>g>>>0){break b}c=q[e+28>>2]>q[a+28>>2];d=c?e:a;h=q[d+24>>2];d=q[d+28>>2];l=h-d|0;a=c?a:e;e=q[a+24>>2];c=q[a+28>>2];i=e-c|0;if(!((e|0)!=(h|0)?(c|0)!=(d|0):0)){while(1){a=q[j+28>>2];q[j+24>>2]=(a|0)>(c|0)?(a|0)<(d|0)?e:a+l|0:a+i|0;j=j+40|0;if(j>>>0<=g>>>0){continue}break b}}f=Za(h-e|0,d-c|0);while(1){a=j;r=a;h=q[a+28>>2];l:{if((h|0)<=(c|0)){a=h+i|0;break l}a=h+l|0;if((h|0)>=(d|0)){break l}a=Ma(h-c|0,f)+e|0}q[r+24>>2]=a;j=j+40|0;if(j>>>0<=g>>>0){continue}break}break b}while(1){q[j+24>>2]=d+q[j+28>>2];j=j+40|0;if(j>>>0>>0){continue}break}}c=a+40|0;if(c>>>0>h>>>0){break b}while(1){q[a- -64>>2]=d+q[a+68>>2];a=c;c=a+40|0;if(c>>>0<=h>>>0){continue}break}}n=n+4|0;if(n>>>0>>0){continue}break}}m:{if(b){if((o|0)<=0){break m}while(1){q[k+20>>2]=q[k+24>>2];k=k+40|0;if(k>>>0>>0){continue}break}break m}if((o|0)<1){break m}while(1){q[k+16>>2]=q[k+24>>2];k=k+40|0;if(k>>>0>>0){continue}break}}} +function Wg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;k=Da-15984|0;Da=k;q[k+15972>>2]=g;q[k+15976>>2]=f;y=q[a+176>>2];j=y;i=q[q[j+536>>2]+544>>2];Q=q[a+52>>2];M=q[a>>2];Na(k+15824|0,0,128);q[k+15968>>2]=0;f=k+15808|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15700|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15708|0;q[f>>2]=0;q[f+4>>2]=0;q[k+15960>>2]=0;q[k+15964>>2]=0;q[k+15792>>2]=0;q[k+15796>>2]=0;q[k+15800>>2]=0;q[k+15804>>2]=0;q[k+15776>>2]=0;q[k+15780>>2]=0;q[k+15768>>2]=10;q[k+15772>>2]=0;q[k+15760>>2]=20;q[k+15764>>2]=0;O=a+4|0;q[k+15756>>2]=O;q[k+15752>>2]=M;q[k+15744>>2]=0;q[k+15748>>2]=0;q[k+15736>>2]=10;q[k+15740>>2]=0;q[k+15728>>2]=20;q[k+15732>>2]=0;q[k+15724>>2]=O;q[k+15720>>2]=M;q[k+15692>>2]=0;q[k+15696>>2]=0;q[k+15688>>2]=O;Na(k+15568|0,0,120);f=k+15540|0;q[f>>2]=0;q[f+4>>2]=0;f=k+15532|0;q[f>>2]=10;q[f+4>>2]=0;f=k+15524|0;q[f>>2]=8;q[f+4>>2]=0;q[k+15520>>2]=O;q[k+15516>>2]=M;q[k+3908>>2]=c;q[k+3904>>2]=a;Na(k+11660|0,0,3856);f=r[a+184|0];q[k+11664>>2]=Q;o[k+11661|0]=f;S=k+15516|0;q[k+11656>>2]=S;T=k+11648|0;q[k+11652>>2]=T;q[k+11648>>2]=a;Na(k+7792|0,0,3856);q[k+7796>>2]=Q;o[k+7793|0]=f;q[k+7788>>2]=S;q[k+7784>>2]=T;q[k+7780>>2]=a;Na(k+3924|0,0,3856);q[k+3928>>2]=Q;o[k+3925|0]=f;q[k+3920>>2]=S;q[k+3916>>2]=T;q[k+3912>>2]=a;q[k+15548>>2]=q[a+40>>2];R=48;f=q[a+48>>2];q[k+15556>>2]=Q;q[k+15552>>2]=f;u=q[d+4>>2];f=q[d>>2];q[k+15588>>2]=a+240;q[k+15584>>2]=g;q[k+15560>>2]=f;q[k+15564>>2]=u;q[k+15580>>2]=k+15688;q[k+15576>>2]=k+15720;q[k+15572>>2]=k+15752;o[k+15570|0]=r[a+185|0];f=q[a+228>>2];q[k+15592>>2]=f;u=q[a+232>>2];q[k+15604>>2]=6554;q[k+15596>>2]=u;o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1;g=f;f=f>>31;g=g+f^f;f=u>>31;f=f+u^f;q[k+15600>>2]=((g|0)>(f|0)?g:f)<<1;f=r[a+9|0];o[k+15791|0]=(f|0)!=0;q[h>>2]=q[q[j+536>>2]+540>>2]<<16;R=f?q[q[j+532>>2]+1556>>2]:R;q[k+32>>2]=0;g=gb(M,20,k+32|0);if(!q[k+32>>2]){q[g+4>>2]=O;q[g>>2]=M}f=Oa(M,8,0,R,0,k+32|0);q[g+8>>2]=f;a:{b:{if(q[k+32>>2]){if(g){n[q[M+8>>2]](M,g)}x=64;f=1;g=0;break b}q[g+12>>2]=f;q[g+16>>2]=R;f=0;q[k+32>>2]=0;N=Oa(M,1,0,272,0,k+32|0);u=q[a+4>>2];if(q[k+32>>2]){if(u){break a}q[a+4>>2]=64;break a}if(u){break a}U=i<<16;X=k+15688|4;E=g;u=q[b+4>>2];q[N>>2]=q[b>>2];q[N+4>>2]=u;u=q[b+12>>2];q[N+8>>2]=q[b+8>>2];q[N+12>>2]=u;Y=a+92|0;Z=k|4;_=k+44|0;V=k+7780|0;P=k+15608|0;I=k+3912|0;W=2e7;A=N;c:while(1){H=0;while(1){u=f;f=q[A+12>>2];l=q[A+8>>2];d:{if(f>>>0>=l>>>0){b=K?11:14;m=f;break d}m=f+1|0;q[A+12>>2]=m;b=r[f|0];f=b+ -11|0;if(f>>>0>3){break d}e:{switch(f-1|0){case 0:case 1:break d;default:break e}}b=r[a+9|0]?0:b}v=r[a+8|0];if(v){j=b|1;f:{i=b>>>0>31;if(i){break f}f=b|2;if((f|0)==14|(j|0)==11|(u&255|(b|0)==13)){break f}if((f|0)==3){break f}q[g+12>>2]=q[g+8>>2];f=0;continue}f=(b|0)==12;L=f?L:L&255?i?L:0:L;z=i?z:f?z:(z|0)<1?z:(j|0)==11?z:0}if(q[a+4>>2]){f=0;break a}W=W+ -1|0;if(!W){f=0;q[a+4>>2]=18;break a}g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if(b>>>0<=31){f=u;A:{switch(b-1|0){case 14:if(!r[a+9|0]){break i}if(r[a+93|0]){break g}b=q[g+12>>2];if((b|0)==q[g+8>>2]){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break j}q[f>>2]=161;q[a+120>>2]=0;break i}if(q[b+ -4>>2]!=2){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break j}q[f>>2]=160;break j}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];if((b|0)>=0){break j}break i;case 15:if(!r[a+9|0]){break i}x=18;f=0;if(!q[a+96>>2]){break b}B:{if(!n[q[q[a+548>>2]+12>>2]](Y,q[a+120>>2],q[a+124>>2],q[a+128>>2])){break B}b=n[q[q[a+548>>2]+16>>2]](Y,q[a+120>>2],q[a+124>>2],q[a+128>>2])|0;if(!b){break B}x=b;break b}C:{D:{E:{F:{i=q[g+8>>2];j=q[g+12>>2];G:{if((i|0)==(j|0)){b=q[g+4>>2];if(!b|q[b>>2]){break G}q[b>>2]=161;break G}if(q[j+ -4>>2]==2){break F}b=q[g+4>>2];if(!b|q[b>>2]){break G}q[b>>2]=160}b=j-i>>3;break E}j=j+ -8|0;q[g+12>>2]=j;F=q[j>>2];if(F>>>0>R>>>0){break b}b=j-i>>3;if(F){break D}}C=0;F=0;break C}C=w(q[a+112>>2],F);B=b-C|0;b=B+F|0;v=0;while(1){f=q[a+116>>2];m=j-i>>3;G=v+B|0;H:{if(m>>>0<=G>>>0){l=0;D=q[g+4>>2];if(!D|q[D>>2]){break H}q[D>>2]=130;break H}D=(G<<3)+i|0;l=q[D+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[D>>2]<<16;break H}l=q[D>>2];l=((l>>31)+l|0)- -8192>>14;break H}l=q[D>>2]}x=1;if(t[a+112>>2]>=2){while(1){m=q[f+4>>2];I:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break I}q[j>>2]=130;break I}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break I}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break I}i=q[j>>2]}b=b+1|0;f=f+4|0;l=Ma(m,i)+l|0;i=q[g+8>>2];j=q[g+12>>2];x=x+1|0;if(x>>>0>2]){continue}break}m=j-i>>3}J:{if(m>>>0>>0){f=q[g+4>>2];if(!f|q[f>>2]){break J}q[f>>2]=130;break J}f=G<<3;q[f+i>>2]=l;i=q[g+8>>2];q[(f+i|0)+4>>2]=0;j=q[g+12>>2]}v=v+1|0;if((F|0)!=(v|0)){continue}break}b=j-i>>3}f=b;b=C-F|0;K:{if(f>>>0>>0){b=q[g+4>>2];if(!b|q[b>>2]){break K}q[b>>2]=161;break K}q[g+12>>2]=j-(b<<3)}o[a+93|0]=1;f=u;continue;case 0:case 17:b=a;i=g;l=k+15752|0;j=h;m=k+15791|0;L:{if(!v){if(r[k+15692|0]){break i}u=0;break L}u=q[q[y+32>>2]+4>>2]}Ei(b,i,l,j,m,u);if(!r[y+548|0]){break h}break k;case 2:case 22:b=a;i=g;l=k+15720|0;j=h;m=k+15791|0;M:{if(!v){if(r[k+15692|0]){break i}u=0;break M}u=q[q[y+32>>2]>>2]}Ei(b,i,l,j,m,u);if(r[y+548|0]){break k}break h;case 3:i=q[g+12>>2];j=q[g+8>>2];if(!(r[k+15791|0]|i-j>>3>>>0<2)){b=h;f=q[j+4>>2]+ -1|0;N:{if(f>>>0<=1){l=q[j>>2]<<16;if(!(f-1)){break N}f=q[j>>2];l=((f>>31)+f|0)- -8192>>14;break N}l=q[j>>2]}q[b>>2]=l+U}o[k+15791|0]=1;if(r[y+548|0]){break k}f=q[k+15972>>2];O:{if((i|0)==(j|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break O}q[i>>2]=161;break O}i=i+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break O}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break O}b=q[i>>2]}f=b+f|0;q[k+15972>>2]=f;if(q[y+468>>2]){break i}b=q[k+15976>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=f;q[k+15624>>2]=b;q[k+15640>>2]=b;q[k+15628>>2]=f;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i;case 4:j=g;i=q[g+12>>2];f=q[g+8>>2];b=i-f|0;if(b){v=b>>3;b=0;while(1){m=q[k+15976>>2];l=i-f>>3;P:{if(l>>>0<=b>>>0){i=0;B=q[g+4>>2];if(!B|q[B>>2]){break P}q[B>>2]=130;break P}B=(b<<3)+f|0;i=q[B+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[B>>2]<<16;break P}i=q[B>>2];i=((i>>31)+i|0)- -8192>>14;break P}i=q[B>>2]}i=i+m|0;q[k+15976>>2]=i;m=q[k+15972>>2];B=l;l=b|1;Q:{if(B>>>0<=l>>>0){f=0;l=q[g+4>>2];if(!l|q[l>>2]){break Q}q[l>>2]=130;i=q[k+15976>>2];break Q}l=(l<<3)+f|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[l>>2]<<16;break Q}f=q[l>>2];f=((f>>31)+f|0)- -8192>>14;break Q}f=q[l>>2]}f=f+m|0;q[k+15972>>2]=f;Wd(k+3904|0,i,f);b=b+2|0;if(b>>>0>>0){f=q[g+8>>2];i=q[g+12>>2];continue}break}f=q[g+8>>2]}q[j+12>>2]=f;f=u;continue;case 5:case 6:l=g;j=q[g+12>>2];i=q[g+8>>2];f=j-i|0;if(f){f=f>>3;m=f>>>0>1?f:1;f=(b|0)==6;b=0;while(1){R:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break R}q[j>>2]=130;break R}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break R}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break R}i=q[j>>2]}S:{if(f&1){q[k+15976>>2]=q[k+15976>>2]+i;break S}q[k+15972>>2]=q[k+15972>>2]+i}Wd(k+3904|0,q[k+15976>>2],q[k+15972>>2]);b=b+1|0;if((m|0)!=(b|0)){f=f^1;i=q[g+8>>2];j=q[g+12>>2];continue}break}i=q[g+8>>2]}q[l+12>>2]=i;f=u;continue;case 8:break m;case 9:case 28:break n;case 10:break o;case 11:break p;case 12:break q;case 13:break r;case 18:case 19:break s;case 20:break t;case 21:break u;case 24:break v;case 25:break w;case 26:break x;case 29:case 30:break y;case 27:break z;case 7:case 23:break A;default:break h}}i=6;f=0;l=q[g+12>>2];j=q[g+8>>2];C=l-j>>3;if(C>>>0<6){break l}while(1){v=i;G=l-j>>3;T:{if(G>>>0<=f>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break T}q[i>>2]=130;break T}l=(f<<3)+j|0;i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[l>>2]<<16;break T}i=q[l>>2];l=((i>>31)+i|0)- -8192>>14;break T}l=q[l>>2]}D=q[k+15976>>2];i=f|1;U:{if(G>>>0<=i>>>0){m=0;i=q[g+4>>2];if(!i|q[i>>2]){break U}q[i>>2]=130;break U}m=(i<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){m=q[m>>2]<<16;break U}i=q[m>>2];m=((i>>31)+i|0)- -8192>>14;break U}m=q[m>>2]}B=q[k+15972>>2];i=f+2|0;V:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break V}q[i>>2]=130;break V}x=(i<<3)+j|0;i=q[x+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[x>>2]<<16;break V}i=q[x>>2];F=((i>>31)+i|0)- -8192>>14;break V}F=q[x>>2]}x=l+D|0;i=f+3|0;W:{if(G>>>0<=i>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break W}q[i>>2]=130;break W}l=(i<<3)+j|0;i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[l>>2]<<16;break W}i=q[l>>2];l=((i>>31)+i|0)- -8192>>14;break W}l=q[l>>2]}D=m+B|0;B=x+F|0;i=f+4|0;X:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break X}q[i>>2]=130;break X}m=(i<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[m>>2]<<16;break X}i=q[m>>2];F=((i>>31)+i|0)- -8192>>14;break X}F=q[m>>2]}m=l+D|0;l=B+F|0;f=f+5|0;Y:{if(G>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Y}q[i>>2]=130;break Y}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Y}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Y}f=q[i>>2]}f=f+m|0;bf(k+3904|0,x,D,B,m,l,f);q[k+15972>>2]=f;q[k+15976>>2]=l;i=v+6|0;if(i>>>0>C>>>0){f=v;break l}else{j=q[g+8>>2];l=q[g+12>>2];f=v;continue}}}if(b>>>0<=246){f=q[g+12>>2];if((f|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=b+ -139;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}if(b>>>0<=250){Z:{if(m>>>0>>0){q[A+12>>2]=m+1;i=r[m|0];break Z}i=0;f=q[A>>2];if(!f|q[f>>2]){break Z}q[f>>2]=85}f=q[g+12>>2];if((f|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=((b<<8)+ -63232|i)+108;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}if((b|0)!=255){_:{if(m>>>0>>0){q[A+12>>2]=m+1;f=r[m|0];break _}f=0;i=q[A>>2];if(!i|q[i>>2]){break _}q[i>>2]=85}i=q[g+12>>2];if((i|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[i>>2]=-108-((b<<8)+ -64256|f);b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}$:{if(m>>>0>>0){b=m+1|0;q[A+12>>2]=b;j=r[m|0];break $}j=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=m}aa:{if(b>>>0>>0){f=b+1|0;q[A+12>>2]=f;x=r[b|0];break aa}x=0;f=q[A>>2];if(!(!f|q[f>>2])){q[f>>2]=85}f=b}ba:{if(f>>>0>>0){b=f+1|0;q[A+12>>2]=b;m=r[f|0];break ba}m=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=f}ca:{if(b>>>0>>0){q[A+12>>2]=b+1;b=r[b|0];break ca}b=0;f=q[A>>2];if(!f|q[f>>2]){break ca}q[f>>2]=85}f=x<<16|j<<24|m<<8|b;if(v){L=L&255?L:f+32e3>>>0<64001?L:1;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}da:{if(m>>>0>>0){b=m+1|0;q[A+12>>2]=b;f=r[m|0];break da}f=0;b=q[A>>2];if(!(!b|q[b>>2])){q[b>>2]=85}b=m}ea:{if(b>>>0>>0){q[A+12>>2]=b+1;b=r[b|0];break ea}b=0;i=q[A>>2];if(!i|q[i>>2]){break ea}q[i>>2]=85}i=q[g+12>>2];if((i|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[i>>2]=(b<<16|f<<24)>>16;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue}B=g;i=q[g+8>>2];f=q[g+12>>2]-i>>3;C=f&-3;f=f&2;if(C>>>0>f>>>0){F=(b|0)==31;while(1){fa:{if(F&255){G=q[g+8>>2];D=q[g+12>>2]-G>>3;ga:{if(D>>>0<=f>>>0){i=0;b=q[g+4>>2];if(!b|q[b>>2]){break ga}q[b>>2]=130;break ga}i=G+(f<<3)|0;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){i=q[i>>2]<<16;break ga}b=q[i>>2];i=((b>>31)+b|0)- -8192>>14;break ga}i=q[i>>2]}l=q[k+15976>>2];x=q[k+15972>>2];b=f+1|0;ha:{if(D>>>0<=b>>>0){v=0;j=q[g+4>>2];if(!j|q[j>>2]){break ha}q[j>>2]=130;break ha}m=G+(b<<3)|0;j=q[m+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){v=q[m>>2]<<16;break ha}j=q[m>>2];v=((j>>31)+j|0)- -8192>>14;break ha}v=q[m>>2]}j=f+2|0;ia:{if(D>>>0<=j>>>0){F=0;j=q[g+4>>2];if(!j|q[j>>2]){break ia}q[j>>2]=130;break ia}m=G+(j<<3)|0;j=q[m+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){F=q[m>>2]<<16;break ia}j=q[m>>2];F=((j>>31)+j|0)- -8192>>14;break ia}F=q[m>>2]}m=i+l|0;i=x+F|0;j=f+3|0;ja:{if(D>>>0<=j>>>0){j=0;l=q[g+4>>2];if(!l|q[l>>2]){break ja}q[l>>2]=130;break ja}l=G+(j<<3)|0;j=q[l+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[l>>2]<<16;break ja}j=q[l>>2];j=((j>>31)+j|0)- -8192>>14;break ja}j=q[l>>2]}v=m+v|0;j=i+j|0;F=0;if((C-f|0)!=5){b=f;l=v;break fa}f=f+4|0;ka:{if(D>>>0<=f>>>0){l=q[g+4>>2];f=0;if(!l|q[l>>2]){break ka}q[l>>2]=130;l=v;break fa}l=G+(f<<3)|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){l=(q[l>>2]<<16)+v|0;break fa}f=q[l>>2];l=(((f>>31)+f|0)- -8192>>14)+v|0;break fa}f=q[l>>2]}l=f+v|0;break fa}m=q[k+15976>>2];J=q[g+8>>2];G=q[g+12>>2]-J>>3;la:{if(G>>>0<=f>>>0){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break la}q[b>>2]=130;break la}i=J+(f<<3)|0;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){l=q[i>>2]<<16;break la}b=q[i>>2];l=((b>>31)+b|0)- -8192>>14;break la}l=q[i>>2]}j=q[k+15972>>2];b=f+1|0;ma:{if(G>>>0<=b>>>0){v=0;i=q[g+4>>2];if(!i|q[i>>2]){break ma}q[i>>2]=130;break ma}v=J+(b<<3)|0;i=q[v+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){v=q[v>>2]<<16;break ma}i=q[v>>2];v=((i>>31)+i|0)- -8192>>14;break ma}v=q[v>>2]}i=f+2|0;na:{if(G>>>0<=i>>>0){F=0;i=q[g+4>>2];if(!i|q[i>>2]){break na}q[i>>2]=130;break na}D=J+(i<<3)|0;i=q[D+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){F=q[D>>2]<<16;break na}i=q[D>>2];F=((i>>31)+i|0)- -8192>>14;break na}F=q[D>>2]}x=j+l|0;v=m+v|0;i=f+3|0;oa:{if(G>>>0<=i>>>0){l=0;i=q[g+4>>2];if(!i|q[i>>2]){break oa}q[i>>2]=130;break oa}j=J+(i<<3)|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){l=q[j>>2]<<16;break oa}i=q[j>>2];l=((i>>31)+i|0)- -8192>>14;break oa}l=q[j>>2]}i=x+F|0;l=l+v|0;F=1;if((C-f|0)!=5){b=f;j=i;break fa}f=f+4|0;pa:{if(G>>>0<=f>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break pa}q[j>>2]=130;break pa}j=J+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break pa}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break pa}f=q[j>>2]}j=f+i|0}bf(k+3904|0,m,x,v,i,l,j);q[k+15972>>2]=j;q[k+15976>>2]=l;f=b+4|0;if(C>>>0>f>>>0){continue}break}i=q[g+8>>2]}q[B+12>>2]=i;f=u;continue}l=g;f=q[g+8>>2];x=q[g+12>>2]-f>>3;D=x&-3;b=x&2;if(D>>>0>b>>>0){while(1){qa:{if(x-b&1){j=q[g+8>>2];f=q[g+12>>2]-j>>3;ra:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break ra}q[m>>2]=130;break ra}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break ra}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break ra}i=q[m>>2]}b=b+1|0;v=q[k+15972>>2]+i|0;break qa}j=q[g+8>>2];f=q[g+12>>2]-j>>3;v=q[k+15972>>2]}sa:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break sa}q[m>>2]=130;break sa}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break sa}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break sa}i=q[m>>2]}B=q[k+15976>>2];m=b+1|0;ta:{if(f>>>0<=m>>>0){m=0;C=q[g+4>>2];if(!C|q[C>>2]){break ta}q[C>>2]=130;break ta}C=(m<<3)+j|0;m=q[C+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){m=q[C>>2]<<16;break ta}m=q[C>>2];m=((m>>31)+m|0)- -8192>>14;break ta}m=q[C>>2]}C=i+B|0;i=b+2|0;ua:{if(f>>>0<=i>>>0){i=0;B=q[g+4>>2];if(!B|q[B>>2]){break ua}q[B>>2]=130;break ua}B=(i<<3)+j|0;i=q[B+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[B>>2]<<16;break ua}i=q[B>>2];i=((i>>31)+i|0)- -8192>>14;break ua}i=q[B>>2]}m=m+C|0;B=i+v|0;i=f;f=b+3|0;va:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break va}q[i>>2]=130;break va}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break va}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break va}f=q[i>>2]}f=f+m|0;bf(k+3904|0,C,v,m,B,f,B);q[k+15972>>2]=B;q[k+15976>>2]=f;b=b+4|0;if(D>>>0>b>>>0){continue}break}f=q[g+8>>2]}q[l+12>>2]=f;f=u;continue}l=g;f=q[g+8>>2];x=q[g+12>>2]-f>>3;D=x&-3;b=x&2;if(D>>>0>b>>>0){while(1){wa:{if(x-b&1){j=q[g+8>>2];f=q[g+12>>2]-j>>3;xa:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break xa}q[m>>2]=130;break xa}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break xa}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break xa}i=q[m>>2]}b=b+1|0;B=q[k+15976>>2]+i|0;break wa}j=q[g+8>>2];f=q[g+12>>2]-j>>3;B=q[k+15976>>2]}ya:{if(f>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break ya}q[m>>2]=130;break ya}m=(b<<3)+j|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break ya}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break ya}i=q[m>>2]}v=q[k+15972>>2];m=b+1|0;za:{if(f>>>0<=m>>>0){m=0;C=q[g+4>>2];if(!C|q[C>>2]){break za}q[C>>2]=130;break za}C=(m<<3)+j|0;m=q[C+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){m=q[C>>2]<<16;break za}m=q[C>>2];m=((m>>31)+m|0)- -8192>>14;break za}m=q[C>>2]}C=i+v|0;i=b+2|0;Aa:{if(f>>>0<=i>>>0){v=0;i=q[g+4>>2];if(!i|q[i>>2]){break Aa}q[i>>2]=130;break Aa}v=(i<<3)+j|0;i=q[v+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){v=q[v>>2]<<16;break Aa}i=q[v>>2];v=((i>>31)+i|0)- -8192>>14;break Aa}v=q[v>>2]}G=m+B|0;m=v+C|0;i=f;f=b+3|0;Ba:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Ba}q[i>>2]=130;break Ba}i=(f<<3)+j|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Ba}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Ba}f=q[i>>2]}f=f+m|0;bf(k+3904|0,B,C,G,m,G,f);q[k+15972>>2]=f;q[k+15976>>2]=G;b=b+4|0;if(D>>>0>b>>>0){continue}break}f=q[g+8>>2]}q[l+12>>2]=f;f=u;continue}b=0;i=q[g+12>>2];f=q[g+8>>2];C=i-f>>3;if(C>>>0>6){while(1){l=q[k+15976>>2];j=i-f>>3;Ca:{if(j>>>0<=b>>>0){i=0;m=q[g+4>>2];if(!m|q[m>>2]){break Ca}q[m>>2]=130;break Ca}m=(b<<3)+f|0;i=q[m+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[m>>2]<<16;break Ca}i=q[m>>2];i=((i>>31)+i|0)- -8192>>14;break Ca}i=q[m>>2]}i=i+l|0;q[k+15976>>2]=i;l=q[k+15972>>2];v=j;j=b|1;Da:{if(v>>>0<=j>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break Da}q[j>>2]=130;i=q[k+15976>>2];break Da}j=(j<<3)+f|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break Da}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break Da}f=q[j>>2]}f=f+l|0;q[k+15972>>2]=f;Wd(k+3904|0,i,f);j=b+2|0;if(b+8>>>0>>0){f=q[g+8>>2];i=q[g+12>>2];b=j;continue}break}b=j}if(b>>>0>>0){while(1){J=q[g+8>>2];G=q[g+12>>2]-J>>3;Ea:{if(G>>>0<=b>>>0){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ea}q[f>>2]=130;break Ea}i=J+(b<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[i>>2]<<16;break Ea}f=q[i>>2];j=((f>>31)+f|0)- -8192>>14;break Ea}j=q[i>>2]}l=q[k+15976>>2];f=b|1;Fa:{if(G>>>0<=f>>>0){x=0;f=q[g+4>>2];if(!f|q[f>>2]){break Fa}q[f>>2]=130;break Fa}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){x=q[i>>2]<<16;break Fa}f=q[i>>2];x=((f>>31)+f|0)- -8192>>14;break Fa}x=q[i>>2]}i=q[k+15972>>2];f=b+2|0;Ga:{if(G>>>0<=f>>>0){v=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ga}q[f>>2]=130;break Ga}m=J+(f<<3)|0;f=q[m+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){v=q[m>>2]<<16;break Ga}f=q[m>>2];v=((f>>31)+f|0)- -8192>>14;break Ga}v=q[m>>2]}D=j+l|0;f=b+3|0;Ha:{if(G>>>0<=f>>>0){F=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ha}q[f>>2]=130;break Ha}j=J+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){F=q[j>>2]<<16;break Ha}f=q[j>>2];F=((f>>31)+f|0)- -8192>>14;break Ha}F=q[j>>2]}B=i+x|0;m=v+D|0;f=b+4|0;Ia:{if(G>>>0<=f>>>0){v=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ia}q[f>>2]=130;break Ia}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){v=q[i>>2]<<16;break Ia}f=q[i>>2];v=((f>>31)+f|0)- -8192>>14;break Ia}v=q[i>>2]}l=B+F|0;j=m+v|0;f=b+5|0;Ja:{if(G>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break Ja}q[i>>2]=130;break Ja}i=J+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break Ja}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break Ja}f=q[i>>2]}f=f+l|0;bf(k+3904|0,D,B,m,l,j,f);q[k+15972>>2]=f;q[k+15976>>2]=j;b=b+6|0;if(b>>>0>>0){continue}break}}q[g+12>>2]=q[g+8>>2];f=u;continue}i=q[g+12>>2];j=q[g+8>>2];if(!(r[k+15791|0]|i-j>>3>>>0<2)){b=h;f=q[j+4>>2]+ -1|0;Ka:{if(f>>>0<=1){l=q[j>>2]<<16;if(!(f-1)){break Ka}f=q[j>>2];l=((f>>31)+f|0)- -8192>>14;break Ka}l=q[j>>2]}q[b>>2]=l+U}o[k+15791|0]=1;if(r[y+548|0]){break k}f=q[k+15976>>2];La:{if((i|0)==(j|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break La}q[i>>2]=161;break La}i=i+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break La}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break La}b=q[i>>2]}f=b+f|0;q[k+15976>>2]=f;if(q[y+468>>2]){break i}b=q[k+15972>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=b;q[k+15624>>2]=f;q[k+15640>>2]=f;q[k+15628>>2]=b;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i}b=q[g+12>>2];l=q[g+8>>2];if(!(r[k+15791|0]|b-l>>3>>>0<3)){f=h;i=q[l+4>>2]+ -1|0;Ma:{if(i>>>0<=1){j=q[l>>2]<<16;if(!(i-1)){break Ma}i=q[l>>2];j=((i>>31)+i|0)- -8192>>14;break Ma}j=q[l>>2]}q[f>>2]=j+U}o[k+15791|0]=1;if(r[y+548|0]){break k}i=q[k+15972>>2];Na:{if((b|0)==(l|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Na}q[f>>2]=161;break Na}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[b>>2]<<16;break Na}f=q[b>>2];j=((f>>31)+f|0)- -8192>>14;break Na}j=q[b>>2]}q[k+15972>>2]=i+j;f=q[k+15976>>2];Oa:{if((b|0)==(l|0)){b=0;i=q[g+4>>2];if(!i|q[i>>2]){break Oa}q[i>>2]=161;break Oa}i=b+ -8|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break Oa}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break Oa}b=q[i>>2]}f=b+f|0;q[k+15976>>2]=f;if(q[y+468>>2]){break i}b=q[k+15972>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=b;q[k+15624>>2]=f;q[k+15640>>2]=f;q[k+15628>>2]=b;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);break i}if(r[k+15692|0]?q[g+12>>2]-q[g+8>>2]>>3>>>0>=2:0){break i}f=0;Ei(a,g,k+15720|0,h,k+15791|0,0);if(r[y+548|0]){x=0;break b}if((b|0)==19){f=q[k+15740>>2]+q[k+15772>>2]|0;if(f>>>0>=97){b=q[k+15688>>2];if(!b|q[b>>2]){break i}q[b>>2]=18;break i}q[k+15696>>2]=f;p[k+15692>>1]=257;b=f+7>>>3|0;q[k+15700>>2]=b;if(!f|!b){break i}b=0;while(1){f=q[A+12>>2];Pa:{if(f>>>0>2]){q[A+12>>2]=f+1;f=r[f|0];break Pa}f=0;i=q[A>>2];if(!i|q[i>>2]){break Pa}q[i>>2]=85}o[(b+k|0)+15704|0]=f;b=b+1|0;if(b>>>0>2]){continue}break}break i}Na(_,0,3856);b=r[a+184|0];q[k+48>>2]=Q;o[k+45|0]=b;q[k+40>>2]=S;q[k+36>>2]=T;q[k+32>>2]=a;b=Z;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[k>>2]=O;f=q[k+15740>>2]+q[k+15772>>2]|0;Qa:{if(f>>>0>=97){if(q[a+4>>2]){break Qa}q[a+4>>2]=18;break Qa}q[k+8>>2]=f;p[k+4>>1]=257;b=f+7>>>3|0;q[k+12>>2]=b;if(!f|!b){break Qa}b=0;while(1){f=q[A+12>>2];Ra:{if(f>>>0>2]){q[A+12>>2]=f+1;f=r[f|0];break Ra}f=0;i=q[A>>2];if(!i|q[i>>2]){break Ra}q[i>>2]=85}o[(b+k|0)+16|0]=f;b=b+1|0;if(b>>>0>2]){continue}break}}De(k+32|0,k+15752|0,k+15720|0,k,0,0);break i}if(!(!v|u&255)){f=q[k+15972>>2];b=q[k+15976>>2];if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}q[k+15644>>2]=f;q[k+15624>>2]=b;q[k+15640>>2]=b;q[k+15628>>2]=f;o[k+15571|0]=1;b=q[k+15580>>2];if(!(r[b+5|0]?0:r[k+3924|0])){De(I,q[k+15572>>2],q[k+15576>>2],b,q[k+15584>>2],0)}Qa(V,I,3868);q[k+15772>>2]=0;q[k+15740>>2]=0;b=X;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;p[k+15692>>1]=256;q[k+15688>>2]=O;if((K|0)>=1){while(1){b=K;K=b+ -1|0;f=K;Sa:{if(f>>>0<17){break Sa}f=0;if(q[a+4>>2]){break Sa}q[a+4>>2]=130}if((b|0)>1){continue}break}A=(f<<4)+N|0;K=0}q[A+12>>2]=q[A+4>>2];f=1;break h}f=q[g+8>>2];b=(q[g+12>>2]-f>>3)+ -1|0;Ta:{if(b>>>0>4){break Ta}Ua:{switch(b-1|0){case 0:case 1:case 2:break Ta;default:break Ua}}if(r[k+15791|0]){break Ta}b=q[f+4>>2]+ -1|0;Va:{if(b>>>0<=1){u=q[f>>2]<<16;if(!(b-1)){break Va}b=q[f>>2];u=((b>>31)+b|0)- -8192>>14;break Va}u=q[f>>2]}q[h>>2]=u+U}o[k+15791|0]=1;if(r[y+548|0]){break k}if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}if(r[a+9|0]|r[a+8|0]){break k}h=q[g+12>>2];u=q[g+8>>2];if(h-u>>3>>>0<2){break k}x=18;Wa:{if(e){break Wa}Xa:{if((h|0)==(u|0)){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Xa}q[b>>2]=161;break Xa}if(q[h+ -4>>2]!=2){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Xa}q[b>>2]=160;break Xa}h=h+ -8|0;q[g+12>>2]=h;l=q[h>>2]}Ya:{if((h|0)==(u|0)){f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Ya}q[b>>2]=161;break Ya}if(q[h+ -4>>2]!=2){f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Ya}q[b>>2]=160;break Ya}h=h+ -8|0;q[g+12>>2]=h;f=q[h>>2]}Za:{if((h|0)==(u|0)){i=0;b=q[g+4>>2];if(!b|q[b>>2]){break Za}q[b>>2]=161;break Za}h=h+ -8|0;q[g+12>>2]=h;b=q[h+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){i=q[h>>2]<<16;break Za}b=q[h>>2];i=((b>>31)+b|0)- -8192>>14;break Za}i=q[h>>2]}q[k+15972>>2]=i;_a:{if((h|0)==(u|0)){v=0;b=q[g+4>>2];if(!b|q[b>>2]){break _a}q[b>>2]=161;break _a}e=h+ -8|0;q[g+12>>2]=e;b=q[e+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){v=q[e>>2]<<16;break _a}b=q[e>>2];v=((b>>31)+b|0)- -8192>>14;break _a}v=q[e>>2]}q[k+40>>2]=0;q[k+44>>2]=0;q[k+15976>>2]=v;q[k+32>>2]=0;q[k+36>>2]=0;b=q[y+4>>2];if(!q[q[b+128>>2]+52>>2]){if(l>>>0>255){break Wa}b=q[y+532>>2];if(!q[b+1188>>2]){break Wa}h=n[q[q[b+3088>>2]>>2]](l)|0;e=q[b+20>>2];if(!e){break Wa}b=q[b+1188>>2];l=0;while(1){if((h|0)!=s[b+(l<<1)>>1]){l=l+1|0;if((e|0)!=(l|0)){continue}break Wa}break}if((l|0)<0){break Wa}b=q[y+4>>2]}x=n[q[y+596>>2]](b,l,k,k+15980|0)|0;if(x){break Wa}e=q[k>>2];q[k+36>>2]=e;q[k+44>>2]=e;b=e?e+q[k+15980>>2]|0:0;q[k+40>>2]=b;Wg(a,k+32|0,c,d,1,q[k+15976>>2],q[k+15972>>2],k+3900|0);u=k+32|4;n[q[y+600>>2]](q[y+4>>2],u,b-e|0);q[k+32>>2]=0;q[k+36>>2]=0;q[k+40>>2]=0;q[k+44>>2]=0;b=q[y+4>>2];if(!q[q[b+128>>2]+52>>2]){x=18;if(f>>>0>255){break Wa}b=q[y+532>>2];if(!q[b+1188>>2]){break Wa}h=n[q[q[b+3088>>2]>>2]](f)|0;e=q[b+20>>2];if(!e){break Wa}b=q[b+1188>>2];f=0;while(1){if((h|0)!=s[b+(f<<1)>>1]){f=f+1|0;if((e|0)!=(f|0)){continue}break Wa}break}if((f|0)<0){break Wa}b=q[y+4>>2]}x=n[q[y+596>>2]](b,f,k,k+15980|0)|0;if(x){break Wa}b=q[k>>2];q[k+36>>2]=b;q[k+44>>2]=b;x=0;q[k+40>>2]=b?b+q[k+15980>>2]|0:0;Wg(a,k+32|0,c,d,1,0,0,k+3900|0);n[q[y+600>>2]](q[y+4>>2],u,q[k+40>>2]-q[k+36>>2]|0)}f=0;break b}if(!v){break i}b=q[g+12>>2];i=q[g+8>>2];$a:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break $a}q[f>>2]=161;break $a}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){j=q[b>>2]<<16;break $a}f=q[b>>2];j=((f>>31)+f|0)- -8192>>14;break $a}j=q[b>>2]}f=q[y+36>>2];q[f+4>>2]=0;q[f>>2]=j;ab:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break ab}q[f>>2]=161;break ab}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break ab}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break ab}b=q[f>>2]}f=q[y+32>>2];q[f>>2]=q[f>>2]+b;o[k+15791|0]=1;if(r[y+47|0]){break k}if(!(u&255)){f=0;break h}q[k+15976>>2]=q[k+15976>>2]+b;break i}bb:{if(m>>>0>=l>>>0){f=q[A>>2];if(f){b=0;if(q[f>>2]){break bb}q[f>>2]=85}b=0;break bb}q[A+12>>2]=m+1;b=r[m|0];i=b+ -8|0;if(i>>>0>29){break bb}cb:{switch(i-1|0){case 25:Di(g,k+15976|0,k+15972|0,k+3904|0,291869,0);continue;case 27:Di(g,k+15976|0,k+15972|0,k+3904|0,291893,0);continue;case 28:Di(g,k+15976|0,k+15972|0,k+3904|0,291905,1);continue;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 24:break bb;case 26:break cb;default:break h}}Di(g,k+15976|0,k+15972|0,k+3904|0,291881,0);break i}if(r[a+9|0]|b>>>0>37){break i}if(!(!v|(b|0)==17|(z|0)<=0)){z=0;break i}i=b+ -1|0;if(i>>>0>32){break i}f=u;db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{switch(i-2|0){default:if(!v){break i}m=q[g+8>>2];f=q[g+12>>2]-m|0;i=f>>3;pb:{qb:{rb:{sb:{tb:{ub:{if(!f){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;l=0;break ub}f=q[m+4>>2]+ -1|0;vb:{if(f>>>0<=1){l=q[m>>2]<<16;if(!(f-1)){break vb}f=q[m>>2];l=((f>>31)+f|0)- -8192>>14;break vb}l=q[m>>2]}if(i>>>0>2){break tb}}j=0;f=q[g+4>>2];if(!f){x=0;break qb}if(q[f>>2]){x=0;break qb}q[f>>2]=130;break sb}f=q[m+20>>2]+ -1|0;wb:{if(f>>>0<=1){j=q[m+16>>2]<<16;if(!(f-1)){break wb}f=q[m+16>>2];j=((f>>31)+f|0)- -8192>>14;break wb}j=q[m+16>>2]}if(i>>>0>4){break rb}}x=0;f=q[g+4>>2];if(!f|q[f>>2]){break qb}q[f>>2]=130;break qb}f=q[m+36>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){x=q[m+32>>2]<<16;break qb}f=q[m+32>>2];x=((f>>31)+f|0)- -8192>>14;break qb}x=q[m+32>>2]}xb:{yb:{zb:{Ab:{if(i>>>0<=1){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break Ab}f=q[m+12>>2]+ -1|0;Bb:{if(f>>>0<=1){v=q[m+8>>2]<<16;if(!(f-1)){break Bb}f=q[m+8>>2];v=((f>>31)+f|0)- -8192>>14;break Bb}v=q[m+8>>2]}f=v;if(i>>>0>1){break zb}}f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break yb}q[m+16>>2]=(j-l|0)-f;l=q[g+8>>2];q[l+20>>2]=0;i=q[g+12>>2]-l>>3;if(i>>>0>3){break xb}}f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break pb}f=q[l+28>>2]+ -1|0;Cb:{if(f>>>0<=1){v=q[l+24>>2]<<16;if(!(f-1)){break Cb}f=q[l+24>>2];v=((f>>31)+f|0)- -8192>>14;break Cb}v=q[l+24>>2]}f=v;if(i>>>0<=3){f=q[g+4>>2];if(!f|q[f>>2]){break pb}q[f>>2]=130;break pb}q[l+32>>2]=(x-j|0)-f;q[q[g+8>>2]+36>>2]=0}Ei(a,g,(b|0)==1?k+15720|0:k+15752|0,h,k+15791|0,q[q[y+32>>2]+(((b|0)!=1)<<2)>>2]);f=u;if(r[y+548|0]){break k}break h;case 0:b=q[g+12>>2];f=q[g+8>>2];Db:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break Db}q[j>>2]=161;break Db}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break Db}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break Db}i=q[b>>2]}Eb:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break Eb}if(q[b>>2]){b=f;break Eb}q[b>>2]=161;b=f;break Eb}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break Eb}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break Eb}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|0)!=0&(j|0)!=0;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 1:b=q[g+12>>2];f=q[g+8>>2];Fb:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break Fb}q[j>>2]=161;break Fb}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break Fb}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break Fb}i=q[b>>2]}Gb:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break Gb}if(q[b>>2]){b=f;break Gb}q[b>>2]=161;b=f;break Gb}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break Gb}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break Gb}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|j)!=0;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 2:b=q[g+12>>2];j=q[g+8>>2];Hb:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Hb}q[f>>2]=161;break Hb}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break Hb}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break Hb}i=q[b>>2]}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=!i;b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 3:if(!v){break h}h=q[y+4>>2];b=q[g+12>>2];u=q[g+8>>2];Ib:{if((b|0)==(u|0)){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ib}q[f>>2]=161;break Ib}if(q[b+ -4>>2]!=2){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ib}q[f>>2]=160;break Ib}b=b+ -8|0;q[g+12>>2]=b;l=q[b>>2]}Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{if((b|0)==(u|0)){f=0;b=q[g+4>>2];if(!b){i=0;break eb}i=0;m=0;v=0;if(q[b>>2]){break db}q[b>>2]=161;break Ob}Pb:{if(q[b+ -4>>2]!=2){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Pb}q[f>>2]=160;break Pb}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}if((b|0)!=(u|0)){break Nb}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break eb}q[b>>2]=161;m=0;break Mb}j=b+ -8|0;q[g+12>>2]=j;f=q[j+4>>2]+ -1|0;Qb:{if(f>>>0<=1){m=q[j>>2]<<16;if(!(f-1)){break Qb}f=q[j>>2];m=((f>>31)+f|0)- -8192>>14;break Qb}m=q[j>>2]}if((j|0)!=(u|0)){break Lb}}f=0;b=q[g+4>>2];if(!b){v=0;break db}if(q[b>>2]){v=0;break db}q[b>>2]=161;break Kb}j=b+ -16|0;q[g+12>>2]=j;f=q[j+4>>2]+ -1|0;Rb:{if(f>>>0<=1){v=q[j>>2]<<16;if(!(f-1)){break Rb}f=q[j>>2];v=((f>>31)+f|0)- -8192>>14;break Rb}v=q[j>>2]}f=v;if((j|0)!=(u|0)){break Jb}}v=0;b=q[g+4>>2];if(!b|q[b>>2]){break db}q[b>>2]=161;break db}u=b+ -24|0;q[g+12>>2]=u;b=q[u+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){v=q[u>>2]<<16;break db}b=q[u>>2];v=((b>>31)+b|0)- -8192>>14;break db}v=q[u>>2];break db;case 4:if(!v){break i}b=q[g+12>>2];j=q[g+8>>2];Sb:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break Sb}q[f>>2]=161;break Sb}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break Sb}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break Sb}i=q[b>>2]}f=q[y+36>>2];q[f+4>>2]=i;Tb:{Ub:{Vb:{Wb:{Xb:{if((b|0)==(j|0)){b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}q[f>>2]=0;break Xb}l=b+ -8|0;q[g+12>>2]=l;Yb:{Zb:{i=q[l+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){break Zb}i=q[l>>2];i=((i>>31)+i|0)- -8192>>14;break Yb}i=q[l>>2];break Yb}i=q[l>>2]<<16}q[f>>2]=i;if((j|0)!=(l|0)){break Wb}}i=0;b=q[g+4>>2];if(!b){f=0;break Tb}f=0;if(q[b>>2]){break Tb}q[b>>2]=161;break Vb}l=b+ -16|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;_b:{if(f>>>0<=1){i=q[l>>2]<<16;if(!(f-1)){break _b}f=q[l>>2];i=((f>>31)+f|0)- -8192>>14;break _b}i=q[l>>2]}if((j|0)!=(l|0)){break Ub}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break Tb}q[b>>2]=161;break Tb}f=b+ -24|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){f=q[f>>2]<<16;break Tb}b=q[f>>2];f=((b>>31)+b|0)- -8192>>14;break Tb}f=q[f>>2]}b=q[y+32>>2];q[b>>2]=q[b>>2]+f;q[b+4>>2]=q[b+4>>2]+i;o[k+15791|0]=1;if(r[y+47|0]){break k}if(!(u&255)){f=0;break h}q[k+15976>>2]=q[k+15976>>2]+f;q[k+15972>>2]=q[k+15972>>2]+i;break i;case 6:b=q[g+12>>2];j=q[g+8>>2];$b:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break $b}q[f>>2]=161;break $b}b=b+ -8|0;q[g+12>>2]=b;ac:{bc:{f=q[b+4>>2]+ -1|0;cc:{if(f>>>0<=1){if(f-1){break bc}i=q[b>>2]<<16;break cc}i=q[b>>2]}if((i|0)!=-2147483648){break ac}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=2147483647;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14}f=i>>31;i=f+i^f}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 7:b=q[g+12>>2];f=q[g+8>>2];dc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break dc}q[j>>2]=161;break dc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break dc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break dc}i=q[b>>2]}ec:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break ec}if(q[b>>2]){b=f;break ec}q[b>>2]=161;b=f;break ec}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break ec}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break ec}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i+j;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 8:b=q[g+12>>2];f=q[g+8>>2];fc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break fc}q[j>>2]=161;break fc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break fc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break fc}i=q[b>>2]}gc:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break gc}if(q[b>>2]){b=f;break gc}q[b>>2]=161;b=f;break gc}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break gc}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break gc}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=j-i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 9:j=q[g+8>>2];b=q[g+12>>2];if(!(!v|!(L&255))){hc:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break hc}q[f>>2]=161;break hc}if(q[b+ -4>>2]!=2){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break hc}q[f>>2]=160;break hc}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}if((b|0)==(j|0)){f=q[g+4>>2];if(!f){break gb}b=0;if(q[f>>2]){L=0;break fb}q[f>>2]=161;break gb}if(q[b+ -4>>2]!=2){f=q[g+4>>2];if(!f){break gb}b=0;if(q[f>>2]){L=0;break fb}q[f>>2]=160;break gb}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];L=0;break fb}ic:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break ic}q[f>>2]=161;break ic}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break ic}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break ic}i=q[b>>2]}if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break fb}q[f>>2]=161;break fb}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break fb}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break fb}b=q[f>>2];break fb;case 11:b=q[g+12>>2];j=q[g+8>>2];jc:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break jc}q[f>>2]=161;break jc}b=b+ -8|0;q[g+12>>2]=b;kc:{f=q[b+4>>2]+ -1|0;lc:{if(f>>>0<=1){if(f-1){break kc}i=q[b>>2]<<16;break lc}i=q[b>>2]}if((i|0)!=-2147483648){break jc}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=2147483647;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14}if((j+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=0-i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 12:b=q[g+12>>2];f=q[g+8>>2];mc:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break mc}q[j>>2]=161;break mc}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break mc}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break mc}i=q[b>>2]}nc:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break nc}if(q[b>>2]){b=f;break nc}q[b>>2]=161;b=f;break nc}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break nc}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break nc}j=q[b>>2]}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i|0)==(j|0);b=q[g+12>>2];q[b+4>>2]=2;q[g+12>>2]=b+8;f=u;continue;case 13:if(!v){continue}i=q[g+8>>2];j=q[g+12>>2];oc:{if((i|0)==(j|0)){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break oc}q[b>>2]=161;break oc}if(q[j+ -4>>2]!=2){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break oc}q[b>>2]=160;break oc}j=j+ -8|0;q[g+12>>2]=j;l=q[j>>2]}pc:{if((i|0)==(j|0)){z=0;f=q[g+4>>2];b=i;if(!f){break pc}b=i;if(q[f>>2]){break pc}q[f>>2]=161;b=i;break pc}qc:{if(q[j+ -4>>2]!=2){z=0;b=q[g+4>>2];if(!b|q[b>>2]){break qc}q[b>>2]=160;break qc}j=j+ -8|0;q[g+12>>2]=j;z=q[j>>2]}b=j}rc:{if(l>>>0>28){break rc}sc:{switch(l-1|0){default:x=18;f=0;if((z|0)!=3|(!q[y+468>>2]|q[y+472>>2]!=7?u&255:0)){break b}tc:{if(((q[E+16>>2]<<3)+i|0)==(b|0)){f=q[g+4>>2];if(!f|q[f>>2]){break tc}q[f>>2]=130;break tc}q[b>>2]=q[k+15976>>2];b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;i=q[g+8>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=2;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[k+15972>>2];z=0;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;H=2;f=u;continue;case 0:if(z){break g}z=0;f=0;H=0;if(!(u&255)){continue}uc:{b=q[y+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+6>>>0<=t[b+4>>2]){break uc}if(!Xb(b,6,0)){break uc}x=0;break b}q[y+468>>2]=1;q[y+472>>2]=0;break hb;case 1:x=18;if(z){f=0;break b}z=0;f=0;H=0;if(!(u&255)){continue}if(!q[y+468>>2]){break b}i=q[y+472>>2];q[y+472>>2]=i+1;f=u;if(i+ -1>>>0>5){continue}b=q[y+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+1>>>0>t[b+4>>2]){f=0;if(Xb(b,1,0)){break b}}b=i<<1;b=(k+15792|0)+(((i|0)>3?b+ -6|0:b)<<2)|0;q[b+ -8>>2]=q[k+15976>>2];q[b+ -4>>2]=q[k+15972>>2];f=u;b=i+ -3|0;if(b>>>0>3){continue}vc:{switch(b-1|0){case 0:case 1:continue;default:break vc}}bf(k+3904|0,q[k+15792>>2],q[k+15796>>2],q[k+15800>>2],q[k+15804>>2],q[k+15808>>2],q[k+15812>>2]);continue c;case 2:H=1;if((z|0)!=1){break g}z=0;f=0;if(!(u&255)){continue}q[k+15772>>2]=0;q[k+15740>>2]=0;b=X;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;p[k+15692>>1]=256;q[k+15688>>2]=O;f=u;continue;case 11:case 12:q[g+12>>2]=i;break hb;case 13:case 14:case 15:case 16:case 17:f=0;x=18;m=q[y+644>>2];if(!m){break b}H=(((l|0)==18)+l|0)+ -13|0;if((w(H,q[m>>2])|0)!=(z|0)){break b}x=(j-i>>3)-z|0;b=H+x|0;v=0;while(1){wc:{if(j-i>>3>>>0<=x>>>0){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break wc}q[f>>2]=130;break wc}l=(x<<3)+i|0;f=q[l+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){l=q[l>>2]<<16;break wc}f=q[l>>2];l=((f>>31)+f|0)- -8192>>14;break wc}l=q[l>>2]}f=1;if(t[m>>2]>=2){while(1){xc:{if(j-i>>3>>>0<=b>>>0){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break xc}q[j>>2]=130;break xc}j=(b<<3)+i|0;i=q[j+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[j>>2]<<16;break xc}i=q[j>>2];i=((i>>31)+i|0)- -8192>>14;break xc}i=q[j>>2]}b=b+1|0;l=Ma(i,q[q[m+136>>2]+(f<<2)>>2])+l|0;i=q[g+8>>2];j=q[g+12>>2];f=f+1|0;if(f>>>0>2]){continue}break}}yc:{if(j-i>>3>>>0>>0){f=q[g+4>>2];if(!f|q[f>>2]){break yc}q[f>>2]=130;break yc}f=x<<3;q[f+i>>2]=l;i=q[g+8>>2];q[(f+i|0)+4>>2]=0}x=x+1|0;j=q[g+12>>2];v=v+1|0;if((H|0)!=(v|0)){continue}break}b=z-H|0;if(j-i>>3>>>0>>0){z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}q[g+12>>2]=j-(b<<3);z=0;f=u;continue;case 18:x=18;f=0;if((z|0)!=1){break b}j=q[y+644>>2];if(!j){break b}zc:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break zc}q[f>>2]=161;break zc}if(q[b+ -4>>2]!=2){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break zc}q[f>>2]=160;break zc}b=b+ -8|0;q[g+12>>2]=b;b=q[b>>2];if((b|0)<0){break b}}f=q[j>>2];if(f+b>>>0>t[y+652>>2]){f=0;break b}Qa(q[y+648>>2]+(b<<2)|0,q[j+136>>2],f<<2);break hb;case 19:if((z|0)!=2){break g}Ac:{Bc:{Cc:{if((b|0)==(i|0)){j=0;l=q[g+4>>2];if(!l){b=i;f=0;break Ac}b=i;f=0;if(q[l>>2]){break Ac}q[l>>2]=161;break Cc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Dc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Dc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Dc}j=q[l>>2]}if((i|0)!=(l|0)){break Bc}}f=0;b=q[g+4>>2];if(!b){b=i;break Ac}if(q[b>>2]){b=i;break Ac}q[b>>2]=161;b=i;break Ac}b=b+ -16|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[b>>2]<<16;break Ac}f=q[b>>2];f=((f>>31)+f|0)- -8192>>14;break Ac}f=q[b>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f+j;break ib;case 20:if((z|0)!=2){break g}Ec:{Fc:{Gc:{if((b|0)==(i|0)){j=0;l=q[g+4>>2];if(!l){b=i;f=0;break Ec}b=i;f=0;if(q[l>>2]){break Ec}q[l>>2]=161;break Gc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Hc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Hc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Hc}j=q[l>>2]}if((i|0)!=(l|0)){break Fc}}f=0;b=q[g+4>>2];if(!b){b=i;break Ec}if(q[b>>2]){b=i;break Ec}q[b>>2]=161;b=i;break Ec}b=b+ -16|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[b>>2]<<16;break Ec}f=q[b>>2];f=((f>>31)+f|0)- -8192>>14;break Ec}f=q[b>>2]}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f-j;break ib;case 21:if((z|0)!=2){break g}Ic:{Jc:{Kc:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f){b=0;break Ic}b=0;if(q[f>>2]){break Ic}q[f>>2]=161;break Kc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Lc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Lc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Lc}j=q[l>>2]}if((i|0)!=(l|0)){break Jc}}b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ic}q[f>>2]=161;break Ic}f=b+ -16|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Ic}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Ic}b=q[f>>2]}f=Ma(b,j);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;break ib;case 22:x=18;f=0;if((z|0)!=2){break b}Mc:{Nc:{Oc:{if((b|0)==(i|0)){b=q[g+4>>2];if(!b|q[b>>2]){break b}q[b>>2]=161;j=0;break Oc}l=b+ -8|0;q[g+12>>2]=l;j=q[l+4>>2]+ -1|0;Pc:{if(j>>>0<=1){v=q[l>>2]<<16;if(!(j-1)){break Pc}j=q[l>>2];v=((j>>31)+j|0)- -8192>>14;break Pc}v=q[l>>2]}j=v;if((i|0)!=(l|0)){break Nc}}b=0;i=q[g+4>>2];if(!i|q[i>>2]){break Mc}q[i>>2]=161;break Mc}i=b+ -16|0;q[g+12>>2]=i;b=q[i+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[i>>2]<<16;break Mc}b=q[i>>2];b=((b>>31)+b|0)- -8192>>14;break Mc}b=q[i>>2]}if(!j){break b}f=Za(b,j);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;break ib;case 23:x=18;f=0;if(!q[y+644>>2]|(z|0)!=2){break b}Qc:{if((b|0)==(i|0)){j=0;b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}b=i;break Qc}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Qc}q[f>>2]=160;break Qc}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if((j|0)<0){break b}}if(j>>>0>=t[y+652>>2]){f=0;break b}Rc:{if((b|0)==(i|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Rc}q[f>>2]=161;break Rc}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Rc}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Rc}b=q[f>>2]}q[q[y+648>>2]+(j<<2)>>2]=b;break hb;case 24:x=18;f=0;if(!q[y+644>>2]|(z|0)!=1){break b}Sc:{if((b|0)==(i|0)){j=0;b=q[g+4>>2];if(!(!b|q[b>>2])){q[b>>2]=161}b=i;break Sc}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break Sc}q[f>>2]=160;break Sc}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if((j|0)<0){break b}}if(j>>>0>=t[y+652>>2]){f=0;break b}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[q[y+648>>2]+(j<<2)>>2];break ib;case 26:if((z|0)!=4){break g}Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{if((b|0)==(i|0)){f=0;m=q[g+4>>2];if(!m){j=0;l=0;break kb}j=0;l=0;b=i;x=0;if(q[m>>2]){break jb}q[m>>2]=161;break Yc}l=b+ -8|0;q[g+12>>2]=l;f=q[l+4>>2]+ -1|0;Zc:{if(f>>>0<=1){j=q[l>>2]<<16;if(!(f-1)){break Zc}f=q[l>>2];j=((f>>31)+f|0)- -8192>>14;break Zc}j=q[l>>2]}if((i|0)!=(l|0)){break Xc}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break lb}q[b>>2]=161;l=0;break Wc}m=b+ -16|0;q[g+12>>2]=m;f=q[m+4>>2]+ -1|0;_c:{if(f>>>0<=1){l=q[m>>2]<<16;if(!(f-1)){break _c}f=q[m>>2];l=((f>>31)+f|0)- -8192>>14;break _c}l=q[m>>2]}if((i|0)!=(m|0)){break Vc}}f=0;b=q[g+4>>2];if(!b|q[b>>2]){break kb}q[b>>2]=161;break Uc}m=b+ -24|0;q[g+12>>2]=m;f=q[m+4>>2]+ -1|0;$c:{if(f>>>0<=1){v=q[m>>2]<<16;if(!(f-1)){break $c}f=q[m>>2];v=((f>>31)+f|0)- -8192>>14;break $c}v=q[m>>2]}f=v;if((i|0)!=(m|0)){break Tc}}x=0;b=q[g+4>>2];if(!b){b=i;break jb}if(q[b>>2]){b=i;break jb}q[b>>2]=161;b=i;break jb}b=b+ -32|0;q[g+12>>2]=b;m=q[b+4>>2]+ -1|0;if(m>>>0<=1){if(!(m-1)){x=q[b>>2]<<16;break jb}m=q[b>>2];x=((m>>31)+m|0)- -8192>>14;break jb}x=q[b>>2];break jb;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 25:break rc;case 27:break sc}}if(z){break g}j=q[y+536>>2];l=q[j+648>>2];f=l<<13^l;f=f>>>17^f;q[j+648>>2]=f^f<<5;if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}H=1;q[b>>2]=(l&65535)+1;z=0;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}f=0;if((l|z)<0){x=18;break b}l=1;H=0;f=u;u=(z|0)<3?z:3;if((u|0)<1){continue}while(1){j=l;ad:{if((b|0)==(i|0)){l=0;b=q[g+4>>2];if(!b){b=i;break ad}if(q[b>>2]){b=i;break ad}q[b>>2]=161;b=i;break ad}b=b+ -8|0;q[g+12>>2]=b;l=q[b+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[b>>2]<<16;break ad}l=q[b>>2];l=((l>>31)+l|0)- -8192>>14;break ad}l=q[b>>2]}q[(k+15960|0)+(u-j<<2)>>2]=l;l=j+1|0;if((j|0)!=(u|0)){continue}break}z=u;continue;case 14:if(!v){continue}if((H|0)>=1){H=H+ -1|0;continue}if(!z){break g}z=z+ -1|0;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[(k+15960|0)+(z<<2)>>2];b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;continue;case 15:b=q[g+12>>2];if((b|0)==q[g+8>>2]){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}q[g+12>>2]=b+ -8;continue;case 17:b=q[g+12>>2];f=q[g+8>>2];bd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break bd}q[j>>2]=161;break bd}if(q[b+ -4>>2]!=2){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break bd}q[j>>2]=160;break bd}b=b+ -8|0;q[g+12>>2]=b;i=q[b>>2]}cd:{if((b|0)==(f|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break cd}q[f>>2]=161;break cd}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break cd}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break cd}b=q[f>>2]}f=u;if(i>>>0>31){continue}q[(k+15824|0)+(i<<2)>>2]=b;continue;case 18:b=q[g+12>>2];i=q[g+8>>2];dd:{if((b|0)==(i|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break dd}q[f>>2]=161;break dd}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break dd}q[f>>2]=160;break dd}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2];if(j>>>0>31){continue}}if((i+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=q[(k+15824|0)+(j<<2)>>2];b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 19:b=q[g+12>>2];f=q[g+8>>2];ed:{if((b|0)==(f|0)){x=0;i=q[g+4>>2];if(!i|q[i>>2]){break ed}q[i>>2]=161;break ed}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){x=q[b>>2]<<16;break ed}i=q[b>>2];x=((i>>31)+i|0)- -8192>>14;break ed}x=q[b>>2]}fd:{gd:{hd:{id:{if((b|0)==(f|0)){i=0;m=q[g+4>>2];if(!m){j=0;break nb}j=0;b=f;l=0;if(q[m>>2]){break mb}q[m>>2]=161;break id}l=b+ -8|0;q[g+12>>2]=l;i=q[l+4>>2]+ -1|0;jd:{if(i>>>0<=1){j=q[l>>2]<<16;if(!(i-1)){break jd}i=q[l>>2];j=((i>>31)+i|0)- -8192>>14;break jd}j=q[l>>2]}if((f|0)!=(l|0)){break hd}}i=0;b=q[g+4>>2];if(!b|q[b>>2]){break nb}q[b>>2]=161;break gd}l=b+ -16|0;q[g+12>>2]=l;i=q[l+4>>2]+ -1|0;kd:{if(i>>>0<=1){v=q[l>>2]<<16;if(!(i-1)){break kd}i=q[l>>2];v=((i>>31)+i|0)- -8192>>14;break kd}v=q[l>>2]}i=v;if((f|0)!=(l|0)){break fd}}l=0;b=q[g+4>>2];if(!b){b=f;break mb}if(q[b>>2]){b=f;break mb}q[b>>2]=161;b=f;break mb}b=b+ -24|0;q[g+12>>2]=b;l=q[b+4>>2]+ -1|0;if(l>>>0<=1){if(!(l-1)){l=q[b>>2]<<16;break mb}l=q[b>>2];l=((l>>31)+l|0)- -8192>>14;break mb}l=q[b>>2];break mb;case 20:f=q[y+536>>2];i=q[f+648>>2];b=i<<13^i;b=b>>>17^b;q[f+648>>2]=b^b<<5;b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(i&65535)+1;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 21:b=q[g+12>>2];j=q[g+8>>2];ld:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break ld}q[f>>2]=161;break ld}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break ld}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break ld}i=q[b>>2]}md:{if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break md}q[f>>2]=161;break md}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break md}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break md}b=q[f>>2]}f=Ma(b,i);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 23:i=q[g+12>>2];j=q[g+8>>2];nd:{if((i|0)==(j|0)){b=0;f=q[g+4>>2];if(!f){f=i;break nd}if(q[f>>2]){f=i;break nd}q[f>>2]=161;f=i;break nd}f=i+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;od:{if(b>>>0<=1){i=q[f>>2]<<16;if(!(b-1)){break od}b=q[f>>2];i=((b>>31)+b|0)- -8192>>14;break od}i=q[f>>2]}if((i|0)<1){b=0;i=j;break nd}f=i>>>((i|0)>9)|0;while(1){b=f;f=(b+Za(i,b)|0)+1>>1;if((b|0)!=(f|0)){continue}break}i=q[g+8>>2];f=q[g+12>>2]}if(((q[E+16>>2]<<3)+i|0)==(f|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[f>>2]=b;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 24:b=q[g+12>>2];f=q[g+8>>2];pd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break pd}q[j>>2]=161;break pd}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break pd}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break pd}i=q[b>>2]}qd:{if(((q[E+16>>2]<<3)+f|0)==(b|0)){j=q[g+4>>2];if(!j|q[j>>2]){break qd}q[j>>2]=130;break qd}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;f=q[g+8>>2]}if(((q[E+16>>2]<<3)+f|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 25:b=q[g+12>>2];f=q[g+8>>2];rd:{if((b|0)==(f|0)){i=0;j=q[g+4>>2];if(!j|q[j>>2]){break rd}q[j>>2]=161;break rd}b=b+ -8|0;q[g+12>>2]=b;i=q[b+4>>2]+ -1|0;if(i>>>0<=1){if(!(i-1)){i=q[b>>2]<<16;break rd}i=q[b>>2];i=((i>>31)+i|0)- -8192>>14;break rd}i=q[b>>2]}sd:{if((b|0)==(f|0)){j=0;b=q[g+4>>2];if(!b){b=f;break sd}if(q[b>>2]){b=f;break sd}q[b>>2]=161;b=f;break sd}b=b+ -8|0;q[g+12>>2]=b;j=q[b+4>>2]+ -1|0;if(j>>>0<=1){if(!(j-1)){j=q[b>>2]<<16;break sd}j=q[b>>2];j=((j>>31)+j|0)- -8192>>14;break sd}j=q[b>>2]}td:{if(((q[E+16>>2]<<3)+f|0)==(b|0)){i=q[g+4>>2];if(!i|q[i>>2]){break td}q[i>>2]=130;break td}q[b>>2]=i;b=q[g+12>>2];q[b+4>>2]=0;b=b+8|0;q[g+12>>2]=b;f=q[g+8>>2]}if(((q[E+16>>2]<<3)+f|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=j;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 26:b=q[g+12>>2];m=q[g+8>>2];ud:{if((b|0)==(m|0)){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break ud}q[f>>2]=161;break ud}if(q[b+ -4>>2]!=2){j=0;f=q[g+4>>2];if(!f|q[f>>2]){break ud}q[f>>2]=160;break ud}b=b+ -8|0;q[g+12>>2]=b;j=q[b>>2]}f=u;i=b-m|0;if(!i){continue}l=i>>3;i=l;f=l+ -1|0;vd:{if((j|0)<=-1){break vd}f=0;if(j>>>0>=l>>>0){break vd}f=l+(j^-1)|0}wd:{if(i>>>0<=f>>>0){f=0;i=q[g+4>>2];if(!i|q[i>>2]){break wd}q[i>>2]=130;break wd}i=m+(f<<3)|0;f=q[i+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[i>>2]<<16;break wd}f=q[i>>2];f=((f>>31)+f|0)- -8192>>14;break wd}f=q[i>>2]}if((m+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue;case 27:b=q[g+12>>2];i=q[g+8>>2];xd:{if((b|0)==(i|0)){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break xd}q[f>>2]=161;break xd}if(q[b+ -4>>2]!=2){l=0;f=q[g+4>>2];if(!f|q[f>>2]){break xd}q[f>>2]=160;break xd}b=b+ -8|0;q[g+12>>2]=b;l=q[b>>2]}if((b|0)==(i|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=161;continue}if(q[b+ -4>>2]!=2){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=160;continue}b=b+ -8|0;q[g+12>>2]=b;f=u;x=q[b>>2];if((x|0)<2){continue}if(b-i>>3>>>0>>0){b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}v=(l|0)%(x|0)|0;if(!v){continue}f=0;m=0-x|0;C=0;D=2;b=-1;j=-1;while(1){yd:{if((b|0)!=(j|0)){l=q[g+8>>2];B=C;i=D;break yd}l=q[g+8>>2];j=b+1|0;b=l+(j<<3)|0;B=q[b>>2];i=q[b+4>>2];b=j}b=b+v|0;b=((b|0)<(x|0)?x&b>>31:m)+b|0;l=(b<<3)+l|0;C=q[l>>2];D=q[l+4>>2];q[l>>2]=B;q[l+4>>2]=i;f=f+1|0;if((x|0)!=(f|0)){continue}break}f=u;continue;case 5:case 10:case 16:case 22:case 28:case 29:break h;case 30:break ob}}if(!(u&255)|!v){break i}b=q[g+12>>2];j=q[g+8>>2];zd:{if((b|0)==(j|0)){i=0;f=q[g+4>>2];if(!f|q[f>>2]){break zd}q[f>>2]=161;break zd}b=b+ -8|0;q[g+12>>2]=b;f=q[b+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){i=q[b>>2]<<16;break zd}f=q[b>>2];i=((f>>31)+f|0)- -8192>>14;break zd}i=q[b>>2]}q[k+15972>>2]=i;Ad:{if((b|0)==(j|0)){b=0;f=q[g+4>>2];if(!f|q[f>>2]){break Ad}q[f>>2]=161;break Ad}f=b+ -8|0;q[g+12>>2]=f;b=q[f+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){b=q[f>>2]<<16;break Ad}b=q[f>>2];b=((b>>31)+b|0)- -8192>>14;break Ad}b=q[f>>2]}q[k+15976>>2]=b;q[y+468>>2]=0;break i}b=f;l=0}if((f+(q[E+16>>2]<<3)|0)==(b|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(j|0)>(x|0)?i:l;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}l=0}b=i;x=0}if(((q[E+16>>2]<<3)+i|0)==(b|0)){H=1;z=0;f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=(l|0)>(j|0)?f:x}b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;z=0;H=1;f=u;continue}z=0;f=u;continue c}b=0;L=0}f=Za(b,i);b=q[g+12>>2];if((b|0)==(q[g+8>>2]+(q[E+16>>2]<<3)|0)){f=u;b=q[g+4>>2];if(!b|q[b>>2]){continue}q[b>>2]=130;continue}q[b>>2]=f;b=q[g+12>>2];q[b+4>>2]=0;q[g+12>>2]=b+8;f=u;continue}m=0;v=0}x=18;Bd:{if(r[y+47|0]|e){break Bd}b=q[q[h+128>>2]+52>>2];Cd:{if(!q[y+580>>2]){if(!b){break Bd}j=q[q[y+32>>2]>>2]+f|0;break Cd}j=q[q[y+32>>2]>>2]+f|0;if(b){break Cd}b=-1;Dd:{if(i>>>0>255){break Dd}b=q[y+604>>2];u=n[q[b+20>>2]](s[q[b+24>>2]+(i<<1)>>1])|0;b=-1;f=q[y+584>>2];if(!f){break Dd}e=q[y+580>>2];b=0;while(1){h=q[e+(b<<2)>>2];if(!(!h|r[h|0]!=r[u|0])){if(!Ta(h,u)){break Dd}}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=-1}Ed:{Fd:{if(l>>>0>255){break Fd}e=q[y+604>>2];u=n[q[e+20>>2]](s[q[e+24>>2]+(l<<1)>>1])|0;f=q[y+584>>2];if(!f){break Fd}e=q[y+580>>2];l=0;while(1){h=q[e+(l<<2)>>2];if(!(!h|r[h|0]!=r[u|0])){if(!Ta(h,u)){break Ed}}l=l+1|0;if((f|0)!=(l|0)){continue}break}}l=-1}i=b}if((i|l)<0){break Bd}if(r[y+46|0]){d=q[y+8>>2];c=q[q[d+156>>2]>>2];x=wq(c,2);if(x){break Bd}e=q[c+88>>2];q[e+32>>2]=l;q[e+8>>2]=0;q[e+12>>2]=0;p[e+4>>1]=514;q[e>>2]=i;p[e+36>>1]=2;b=j-v|0;q[e+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[e+44>>2]=(((m>>31)+m|0)+32768&-65536)>>16;q[d+128>>2]=2;b=q[c+52>>2];q[d+72>>2]=1668246896;q[d+132>>2]=b;q[c+84>>2]=2;x=0;f=0;break b}QK(q[y+12>>2]);f=q[y+4>>2];b=q[q[f+128>>2]+52>>2];Gd:{if(!b){e=i<<2;b=q[e+q[f+428>>2]>>2];q[k>>2]=b;h=q[e+q[f+432>>2]>>2];q[k+4>>2]=h;break Gd}x=n[q[q[b>>2]>>2]](q[b+4>>2],i,k)|0;if(x){break Bd}h=q[k+4>>2];b=q[k>>2]}q[k+44>>2]=b;q[k+32>>2]=0;q[k+36>>2]=b;q[k+40>>2]=b+h;e=q[y+36>>2];B=q[e>>2];i=q[e+4>>2];e=q[y+32>>2];C=q[e>>2];D=q[e+4>>2];Wg(a,k+32|0,c,d,1,0,0,k+15980|0);e=q[y+4>>2];q[k+4>>2]=h;q[k>>2]=b;b=q[q[e+128>>2]+52>>2];if(b){n[q[q[b>>2]+4>>2]](q[b+4>>2],k)}Hd:{if(r[k+15791|0]){b=q[y+32>>2];break Hd}b=q[y+36>>2];B=q[b>>2];i=q[b+4>>2];b=q[y+32>>2];C=q[b>>2];D=q[b+4>>2]}q[b>>2]=0;q[b+4>>2]=0;f=q[y+4>>2];b=q[q[f+128>>2]+52>>2];Id:{if(!b){e=l<<2;b=q[e+q[f+428>>2]>>2];q[k>>2]=b;h=q[e+q[f+432>>2]>>2];q[k+4>>2]=h;break Id}x=n[q[q[b>>2]>>2]](q[b+4>>2],l,k)|0;if(x){break Bd}h=q[k+4>>2];b=q[k>>2]}q[k+44>>2]=b;x=0;q[k+32>>2]=0;q[k+36>>2]=b;q[k+40>>2]=b+h;Wg(a,k+32|0,c,d,1,j-v|0,m,k+15980|0);c=q[y+4>>2];q[k+4>>2]=h;q[k>>2]=b;b=q[q[c+128>>2]+52>>2];if(b){n[q[q[b>>2]+4>>2]](q[b+4>>2],k)}b=q[y+32>>2];q[b>>2]=C;q[b+4>>2]=D;b=q[y+36>>2];q[b>>2]=B;q[b+4>>2]=i}f=0;break b}if((K|0)<1){break g}u=N;K=K+ -1|0;b=K;if(b>>>0>=17){q[a+4>>2]=130;b=0}A=(b<<4)+u|0;continue}x=18;f=0;if((K|0)>16){break b}K=K+1|0;i=K;if(i>>>0>=17){q[a+4>>2]=130;i=0}j=i<<4;i=q[g+12>>2];Jd:{if((i|0)==q[g+8>>2]){i=0;l=q[g+4>>2];if(!l|q[l>>2]){break Jd}q[l>>2]=161;break Jd}if(q[i+ -4>>2]!=2){i=0;l=q[g+4>>2];if(!l|q[l>>2]){break Jd}q[l>>2]=160;break Jd}i=i+ -8|0;q[g+12>>2]=i;i=q[i>>2]}A=j+N|0;Kd:{if(!v){break Kd}j=q[y+616>>2];if(!j){break Kd}i=dc(i,j);if(!i){i=-1;break Kd}i=q[i>>2]}q[A>>2]=0;q[A+4>>2]=0;q[A+8>>2]=0;q[A+12>>2]=0;if((b|0)==29){b=q[y+568>>2]+i|0;if(b>>>0>=t[y+560>>2]){break b}f=q[y+576>>2]+(b<<2)|0;b=q[f>>2];q[A+4>>2]=b;q[A+12>>2]=b;q[A+8>>2]=q[f+4>>2];f=u;continue}b=q[y+564>>2]+i|0;if(b>>>0>=t[y+556>>2]){break b}i=b<<2;j=i+q[y+572>>2]|0;b=q[j>>2];q[A+4>>2]=b;Ld:{if(r[y+48|0]){f=q[y+612>>2];if(f){if(!b){q[A+8>>2]=0;break Ld}q[A+8>>2]=q[f+i>>2]+b;break Ld}f=b;b=q[y+608>>2];b=f+((b|0)>0?b:0)|0;q[A+4>>2]=b;q[A+8>>2]=q[j+4>>2];break Ld}q[A+8>>2]=q[j+4>>2]}q[A+12>>2]=b;f=u;continue}if(!v){break i}if(r[k+15568|0]){o[k+15569|0]=1;Wd(k+3904|0,q[k+15640>>2],q[k+15644>>2]);if(r[k+15648|0]){Ee(k+3904|0,I,P,q[k+15616>>2],q[k+15620>>2],1)}o[k+15648|0]=0;p[k+15568>>1]=0;o[k+15571|0]=1}o[k+15791|0]=1;break i}if((b|0)==24){i=q[k+15976>>2];m=q[g+8>>2];j=q[g+12>>2]-m>>3;Md:{if(j>>>0<=f>>>0){l=0;b=q[g+4>>2];if(!b|q[b>>2]){break Md}q[b>>2]=130;break Md}l=m+(f<<3)|0;b=q[l+4>>2]+ -1|0;if(b>>>0<=1){if(!(b-1)){l=q[l>>2]<<16;break Md}b=q[l>>2];l=((b>>31)+b|0)- -8192>>14;break Md}l=q[l>>2]}b=i+l|0;q[k+15976>>2]=b;i=q[k+15972>>2];f=f|1;Nd:{if(j>>>0<=f>>>0){f=0;j=q[g+4>>2];if(!j|q[j>>2]){break Nd}q[j>>2]=130;b=q[k+15976>>2];break Nd}j=m+(f<<3)|0;f=q[j+4>>2]+ -1|0;if(f>>>0<=1){if(!(f-1)){f=q[j>>2]<<16;break Nd}f=q[j>>2];f=((f>>31)+f|0)- -8192>>14;break Nd}f=q[j>>2]}f=f+i|0;q[k+15972>>2]=f;Wd(k+3904|0,b,f)}q[g+12>>2]=q[g+8>>2];f=u;continue}f=0;x=0;break b}q[a+120>>2]=b}f=u}q[g+12>>2]=q[g+8>>2];continue}break}break}x=18;f=0}if(q[a+4>>2]){break a}q[a+4>>2]=x}q[k+15536>>2]=0;q[k+15540>>2]=0;q[k+15528>>2]=0;b=q[k+15516>>2];a=q[k+15544>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15544>>2]=0;q[k+15740>>2]=0;q[k+15744>>2]=0;q[k+15732>>2]=0;b=q[k+15720>>2];a=q[k+15748>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15748>>2]=0;q[k+15772>>2]=0;q[k+15776>>2]=0;q[k+15764>>2]=0;b=q[k+15752>>2];a=q[k+15780>>2];if(a){n[q[b+8>>2]](b,a)}q[k+15780>>2]=0;if(N){n[q[M+8>>2]](M,N)}if(!f){c=q[g>>2];b=c;a=q[g+8>>2];if(a){n[q[b+8>>2]](b,a)}q[g+8>>2]=0;if(g){n[q[c+8>>2]](c,g)}}Da=k+15984|0}function iF(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,u=0,v=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;j=Da+ -64|0;Da=j;d=q[a>>2];b=0;a:{if(q[q[d+96>>2]+64>>2]!=40){break a}b=0;if(!r[a+613|0]){break a}b=0;if(r[d+9|0]&32){break a}b=(r[a+340|0]>>>2^-1)&1}p[a+616>>1]=0;o[a+615|0]=b;b=q[a+384>>2];e=s[a+152>>1];c=b+e<<1;c=c>>>0>30?c:30;if(c>>>0>1]){p[a+188>>1]=c>>>0<65535?c:65535}q[a+628>>2]=0;q[a+620>>2]=0;c=a;b:{if(e){e=w(e,10);b=(e>>>0>50?e:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=w(b,10)+300|0}q[c+624>>2]=b;d=q[d+16>>2];q[a+260>>2]=0;c=s[a+220>>1]==s[a+222>>1];q[a+608>>2]=c?30:31;q[a+604>>2]=c?32:33;q[a+600>>2]=c?34:35;q[a+596>>2]=c?36:37;c=w(d,100);b=b>>>0>c>>>0?c:b;q[a+632>>2]=b;q[a+624>>2]=b;d=p[a+302>>1];c:{if((d&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;c=b;break c}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;c=s[a+298>>1];break c}c=p[a+298>>1];b=w(b,p[a+300>>1])+w(d,c)>>14;q[a+568>>2]=b}d:{if((c&65535)==16384){q[a+576>>2]=38;break d}if(s[a+300>>1]==16384){q[a+576>>2]=39;break d}q[a+576>>2]=40}e:{if(s[a+294>>1]==16384){q[a+580>>2]=38;break e}if(s[a+296>>1]==16384){q[a+580>>2]=39;break e}q[a+580>>2]=41}q[a+592>>2]=42;q[a+588>>2]=43;f:{if((b|0)!=16384){break f}if((d|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break f}if(s[a+304>>1]!=16384){break f}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;b=q[a+316>>2];if((b&255)>>>0<=7){q[a+572>>2]=q[(b<<24>>22)+6744>>2]}C=a+180|0;D=a+144|0;u=a+72|0;m=a+36|0;v=a+108|0;c=q[a+364>>2];H=a;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{while(1){i=q[a+360>>2];g=r[i+c|0];o[a+372|0]=g;h=o[g+4560|0];q[a+376>>2]=h;r:{if((g|1)!=65){d=q[a+368>>2];break r}b=c+1|0;d=q[a+368>>2];if((b|0)>=(d|0)){break q}h=2-w(r[b+i|0],h)|0;q[a+376>>2]=h}if((c+h|0)>(d|0)){break q}d=r[g+4816|0];b=d>>>4|0;c=q[a+16>>2]-b|0;q[a+28>>2]=c;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:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{if((c|0)<=-1){if(r[a+565|0]){break Wa}if(b){Na(q[a+24>>2],0,b<<2)}q[a+28>>2]=0;c=0}b=a;Xa:{Ya:{if((g|0)==145){d=q[q[a>>2]+736>>2];if(!d){d=q[a+32>>2];break Xa}d=q[d>>2]+c|0;break Ya}d=(d&15)+c|0}q[b+32>>2]=d}b=q[a+20>>2];if((d|0)>(b|0)){break i}q[a+12>>2]=0;o[a+380|0]=1;f=q[a+24>>2];e=f+(c<<2)|0;if(g>>>0>146){break Ta}Za:{_a:{switch(g-6|0){default:c=g<<14&16384;b=c^16384;if(g>>>0<=3){p[a+296>>1]=b;p[a+294>>1]=c;p[a+300>>1]=b;p[a+298>>1]=c}$a:{if(g&2){c=s[a+302>>1];break $a}p[a+304>>1]=b;p[a+302>>1]=c}ab:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ab}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ab}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;bb:{if((b|0)!=16384){break bb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break bb}if(s[a+304>>1]!=16384){break bb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 0:case 1:cb:{b=s[e+4>>1];if(s[a+116>>1]>b>>>0){c=s[e>>1];if(s[a+80>>1]>c>>>0){break cb}}if(!r[a+565|0]){break w}break j}c=q[a+88>>2]+(c<<3)|0;d=q[a+124>>2]+(b<<3)|0;b=q[c+4>>2]-q[d+4>>2]|0;d=q[c>>2]-q[d>>2]|0;c=b|d;d=c?d:16384;c=!(g&1)|!c;e=c?b:d;b=c?d:0-b|0;if(e|b){q[j+28>>2]=e;q[j+24>>2]=b;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}d=s[a+298>>1]|s[a+300>>1]<<16;p[a+294>>1]=d;p[a+296>>1]=d>>>16;f=a;e=p[a+302>>1];c=d<<16>>16;db:{if((e&65535)==16384){break db}b=p[a+304>>1];c=p[a+300>>1];if((b|0)==16384){break db}c=w(b,p[a+300>>1])+w(e,d<<16>>16)>>14}b=c;q[f+568>>2]=b;eb:{if((d&65535)!=16384){q[a+576>>2]=s[a+300>>1]==16384?39:40;c=(d&-65536)==1073741824?39:41;break eb}q[a+576>>2]=38;c=38}q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;fb:{if((b|0)!=16384){break fb}if((e|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break fb}if(s[a+304>>1]!=16384){break fb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 2:case 3:gb:{b=s[e+4>>1];if(s[a+116>>1]>b>>>0){c=s[e>>1];if(s[a+80>>1]>c>>>0){break gb}}if(r[a+565|0]){break j}break w}c=q[a+88>>2]+(c<<3)|0;d=q[a+124>>2]+(b<<3)|0;b=q[c+4>>2]-q[d+4>>2]|0;d=q[c>>2]-q[d>>2]|0;c=b|d;d=c?d:16384;c=!(g&1)|!c;e=c?b:d;b=c?d:0-b|0;hb:{if(!(e|b)){c=s[a+302>>1];break hb}q[j+28>>2]=e;q[j+24>>2]=b;yf(j+24|0);c=q[j+24>>2]/4|0;p[a+302>>1]=c;p[a+304>>1]=q[j+28>>2]/4}ib:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ib}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ib}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;jb:{if((b|0)!=16384){break jb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break jb}if(s[a+304>>1]!=16384){break jb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 4:b=p[e+4>>1];c=p[e>>1];if(b|c){q[j+28>>2]=b;q[j+24>>2]=c;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}d=s[a+298>>1]|s[a+300>>1]<<16;p[a+294>>1]=d;p[a+296>>1]=d>>>16;f=a;e=p[a+302>>1];c=d<<16>>16;kb:{if((e&65535)==16384){break kb}b=p[a+304>>1];c=p[a+300>>1];if((b|0)==16384){break kb}c=w(b,p[a+300>>1])+w(e,d<<16>>16)>>14}b=c;q[f+568>>2]=b;lb:{if((d&65535)!=16384){q[a+576>>2]=s[a+300>>1]==16384?39:40;c=(d&-65536)==1073741824?39:41;break lb}q[a+576>>2]=38;c=38}q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;mb:{if((b|0)!=16384){break mb}if((e|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break mb}if(s[a+304>>1]!=16384){break mb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 5:b=p[e+4>>1];c=p[e>>1];nb:{if(!(b|c)){c=s[a+302>>1];break nb}q[j+28>>2]=b;q[j+24>>2]=c;yf(j+24|0);c=q[j+24>>2]/4|0;p[a+302>>1]=c;p[a+304>>1]=q[j+28>>2]/4}ob:{if((c&65535)==16384){b=p[a+298>>1];q[a+568>>2]=b;e=b;break ob}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;e=s[a+298>>1];break ob}e=p[a+298>>1];b=w(b,p[a+300>>1])+w(e,c<<16>>16)>>14;q[a+568>>2]=b}h=38;q[a+576>>2]=(e&65535)!=16384?s[a+300>>1]==16384?39:40:38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;pb:{if((b|0)!=16384){break pb}if((c&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break pb}if(s[a+304>>1]!=16384){break pb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 6:b=p[a+298>>1];q[e+4>>2]=p[a+300>>1];q[e>>2]=b;break w;case 7:b=p[a+302>>1];q[e+4>>2]=p[a+304>>1];q[e>>2]=b;break w;case 8:e=s[a+298>>1]|s[a+300>>1]<<16;p[a+302>>1]=e;p[a+304>>1]=e>>>16;f=e>>>16|0;b=e<<16>>16;c=a;d=a;qb:{rb:{sb:{if((e&65535)!=16384){if((f|0)!=16384){break sb}h=p[a+300>>1];b=h;break rb}q[a+568>>2]=b;d=38;break qb}h=p[a+300>>1];b=w(h,e>>16)+w(b,b)>>14}q[d+568>>2]=b;d=(h|0)==16384?39:40}q[c+576>>2]=d;h=38;h=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:h;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=h;tb:{if((b|0)!=16384){break tb}if((e&65535)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break tb}if((f|0)!=16384){break tb}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w;case 9:ub:{c=s[e+12>>1];b=s[a+44>>1];vb:{if(c>>>0>=b>>>0){break vb}f=s[e+16>>1];if(f>>>0>=b>>>0){break vb}g=s[e+4>>1];b=s[a+80>>1];if(g>>>0>=b>>>0){break vb}i=s[e+8>>1];if(i>>>0>=b>>>0){break vb}b=s[e>>1];if(b>>>0>1]){break ub}}if(!r[a+565|0]){break w}break j}e=q[a+52>>2];x=c<<3;c=e+x|0;d=q[c>>2];y=f<<3;l=y+e|0;k=q[l>>2];h=q[a+88>>2];e=g<<3;g=h+e|0;f=q[g+4>>2];A=i<<3;i=A+h|0;h=q[i+4>>2];z=q[g>>2];g=q[i>>2]-z|0;E=q[c+4>>2];B=q[l+4>>2]-E|0;F=0-B|0;i=h-f|0;l=k-d|0;c=bb(g,F,64)+bb(i,l,64)|0;k=c>>31;B=bb(g,l,64)+bb(i,B,64)|0;h=B>>31;wb:{if((w(k^c+k,19)|0)>(h^h+B)){d=bb(d-z|0,F,64)+bb(E-f|0,l,64)|0;f=bb(d,g,c);d=bb(d,i,c);c=q[a+124>>2];e=e+q[a+88>>2]|0;q[c+(b<<3)>>2]=f+q[e>>2];d=d+q[e+4>>2]|0;break wb}c=q[a+124>>2];d=q[a+52>>2];f=d+x|0;g=q[a+88>>2];i=g+A|0;e=e+g|0;d=d+y|0;q[c+(b<<3)>>2]=((q[f>>2]+(q[i>>2]+q[e>>2]|0)|0)+q[d>>2]|0)/4;d=(q[d+4>>2]+(q[f+4>>2]+(q[i+4>>2]+q[e+4>>2]|0)|0)|0)/4|0}q[((b<<3)+c|0)+4>>2]=d;b=q[a+132>>2]+b|0;o[b|0]=r[b|0]|24;break w;case 10:p[a+288>>1]=q[e>>2];break w;case 11:p[a+290>>1]=q[e>>2];break w;case 12:p[a+292>>1]=q[e>>2];break w;case 13:c=m;f=c;xb:{yb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break xb}break yb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[m+32>>2]=q[b+32>>2];c=q[b+28>>2];q[m+24>>2]=q[b+24>>2];q[m+28>>2]=c;c=q[b+20>>2];q[m+16>>2]=q[b+16>>2];q[m+20>>2]=c;c=q[b+12>>2];q[m+8>>2]=q[b+8>>2];q[m+12>>2]=c;p[a+348>>1]=q[e>>2];break w;case 14:c=u;f=c;zb:{Ab:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break zb}break Ab}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[u+32>>2]=q[b+32>>2];c=q[b+28>>2];q[u+24>>2]=q[b+24>>2];q[u+28>>2]=c;c=q[b+20>>2];q[u+16>>2]=q[b+16>>2];q[u+20>>2]=c;c=q[b+12>>2];q[u+8>>2]=q[b+8>>2];q[u+12>>2]=c;p[a+350>>1]=q[e>>2];break w;case 15:c=v;f=c;Bb:{Cb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break Bb}break Cb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];q[f>>2]=q[b>>2];q[c+4>>2]=d;q[v+32>>2]=q[b+32>>2];c=q[b+28>>2];q[v+24>>2]=q[b+24>>2];q[v+28>>2]=c;c=q[b+20>>2];q[v+16>>2]=q[b+16>>2];q[v+20>>2]=c;c=q[b+12>>2];q[v+8>>2]=q[b+8>>2];q[v+12>>2]=c;p[a+352>>1]=q[e>>2];break w;case 16:c=m;f=c;Db:{Eb:{d=q[e>>2];if(d>>>0<=1){b=C;if(d-1){break Db}break Eb}if(!r[a+565|0]){break w}break j}b=D}d=q[b+4>>2];i=q[b>>2];q[f>>2]=i;q[c+4>>2]=d;l=q[b+32>>2];q[m+32>>2]=l;c=q[b+28>>2];k=q[b+24>>2];q[m+24>>2]=k;q[m+28>>2]=c;f=q[b+20>>2];h=q[b+16>>2];q[m+16>>2]=h;q[m+20>>2]=f;g=q[b+12>>2];b=q[b+8>>2];q[m+8>>2]=b;q[m+12>>2]=g;q[u+32>>2]=l;q[u+24>>2]=k;q[u+28>>2]=c;q[u+16>>2]=h;q[u+20>>2]=f;q[u+8>>2]=b;q[u+12>>2]=g;q[u>>2]=i;q[u+4>>2]=d;q[v+32>>2]=q[m+32>>2];b=q[m+28>>2];q[v+24>>2]=q[m+24>>2];q[v+28>>2]=b;b=q[m+20>>2];q[v+16>>2]=q[m+16>>2];q[v+20>>2]=b;b=q[m+12>>2];q[v+8>>2]=q[m+8>>2];q[v+12>>2]=b;b=q[m+4>>2];q[v>>2]=q[m>>2];q[v+4>>2]=b;b=s[e>>1];p[a+352>>1]=b;p[a+350>>1]=b;p[a+348>>1]=b;break w;case 17:b=q[e>>2];if((b|0)<=-1){break k}q[a+308>>2]=(b|0)<65535?b:65535;break w;case 18:q[a+572>>2]=48;q[a+316>>2]=1;break w;case 19:q[a+572>>2]=49;q[a+316>>2]=0;break w;case 20:q[a+312>>2]=q[e>>2];break w;case 21:b=q[a+364>>2];c=q[a+368>>2];e=1;while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){f=b+1|0;if((f|0)>=(c|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}d=d+ -88|0;if(d>>>0<=1){if(d-1){e=e+1|0;if(e){continue}break w}e=e+ -1|0}if(e){continue}break}break w;case 22:b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l;case 23:q[a+324>>2]=q[e>>2];break w;case 24:q[a+328>>2]=q[e>>2];break w;case 25:I=a,J=Ma(q[e>>2],q[a+264>>2]),q[I+332>>2]=J;break w;case 26:q[e+4>>2]=q[e>>2];break w;case 29:b=q[e+4>>2];q[e+4>>2]=q[e>>2];q[e>>2]=b;break w;case 30:q[e>>2]=q[a+16>>2];break w;case 31:b=e;g=b;d=q[b>>2];Fb:{if(!((c|0)>=(d|0)?(d|0)>=1:0)){b=0;if(!r[a+565|0]){break Fb}q[a+12>>2]=134;q[e>>2]=0;break w}b=q[(c-d<<2)+f>>2]}q[g>>2]=b;break w;case 32:b=q[e>>2];if(!((c|0)>=(b|0)?(b|0)>=1:0)){if(!r[a+565|0]){break w}break j}c=(c-b<<2)+f|0;d=q[c>>2];sb(c,c+4|0,(b<<2)+ -4|0);q[(q[a+24>>2]+(q[a+28>>2]<<2)|0)+ -4>>2]=d;break w;case 33:Gb:{b=s[e>>1];if(b>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break Gb}}if(!r[a+565|0]){break w}break j}e=b;d=q[a+52>>2]+(c<<3)|0;b=q[a+88>>2]+(b<<3)|0;b=(n[q[a+576>>2]](a,q[d>>2]-q[b>>2]|0,q[d+4>>2]-q[b+4>>2]|0)|0)/2|0;n[q[a+588>>2]](a,u,e,b);n[q[a+588>>2]](a,m,c,0-b|0);break w;case 34:qf(a);break w;case 35:b=s[e>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break w}break j}b=b+q[a+60>>2]|0;c=b;d=r[b|0];b=s[a+302>>1]?-9:-1;o[c|0]=d&(s[a+304>>1]?b&239:b);break w;case 36:d=q[e+4>>2];b=q[a+424>>2]+1|0;if(d>>>0>=b>>>0){break j}c=q[a+408>>2];f=q[a+400>>2];Hb:{if((f|0)==(b|0)){b=c?c+w(d,24)|0:0;if((d|0)==q[b+12>>2]){break Hb}}b=c;c=b?b+w(f,24)|0:0;Ib:{if(b>>>0>=c>>>0){break Ib}while(1){if((d|0)==q[b+12>>2]){break Ib}b=b+24|0;if(b>>>0>>0){continue}break}}if((b|0)==(c|0)){break j}}if(!r[b+16|0]){break j}d=q[a+432>>2];if((d|0)>=q[a+436>>2]){break i}if(q[e>>2]<1){break w}c=q[a+440>>2]+(d<<4)|0;q[c>>2]=q[a+356>>2];q[c+4>>2]=q[a+364>>2]+1;f=q[e>>2];q[c+12>>2]=b;q[c+8>>2]=f;q[a+432>>2]=d+1;d=q[b>>2];c=d+ -1|0;Jb:{if(c>>>0>=3){q[a+12>>2]=132;break Jb}f=q[((c<<3)+a|0)+448>>2];if(!f){q[a+12>>2]=138;break Jb}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){q[a+12>>2]=131;break Jb}q[a+368>>2]=c;q[a+360>>2]=f;q[a+364>>2]=b;q[a+356>>2]=d}o[a+380|0]=0;b=q[a+620>>2]+q[e>>2]|0;q[a+620>>2]=b;if(b>>>0<=t[a+624>>2]){break w}break l;case 37:b=q[a+424>>2]+1|0;d=q[e>>2];if(b>>>0<=d>>>0){break j}c=q[a+408>>2];if(!c){break j}e=q[a+400>>2];Kb:{if((e|0)==(b|0)){b=c+w(d,24)|0;if((d|0)==q[b+12>>2]){break Kb}}f=c+w(e,24)|0;b=c;Lb:{if((e|0)<1){break Lb}while(1){if((d|0)==q[b+12>>2]){break Lb}b=b+24|0;if(b>>>0>>0){continue}break}}if((b|0)==(f|0)){break j}}if(!r[b+16|0]){break j}d=q[a+432>>2];if((d|0)>=q[a+436>>2]){break i}c=q[a+440>>2]+(d<<4)|0;q[c>>2]=q[a+356>>2];e=q[a+364>>2];q[c+12>>2]=b;q[c+8>>2]=1;q[c+4>>2]=e+1;q[a+432>>2]=d+1;d=q[b>>2];c=d+ -1|0;Mb:{if(c>>>0>=3){q[a+12>>2]=132;break Mb}e=q[((c<<3)+a|0)+448>>2];if(!e){q[a+12>>2]=138;break Mb}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){q[a+12>>2]=131;break Mb}q[a+368>>2]=c;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=d}o[a+380|0]=0;break w;case 38:g=q[a+356>>2];if((g|0)==3){break m}d=q[a+408>>2];Nb:{Ob:{if(!d){f=q[a+400>>2];c=q[e>>2];b=0;break Ob}f=q[a+400>>2];b=w(f,24)+d|0;c=q[e>>2];Pb:{if((f|0)<1){break Pb}while(1){if(q[d+12>>2]==(c|0)){break Pb}d=d+24|0;if(d>>>0>>0){continue}break}}if((b|0)!=(d|0)){break Nb}}if(f>>>0>=t[a+404>>2]){break n}q[a+400>>2]=f+1;d=b}if(c>>>0>=65536){break n}q[d+12>>2]=c;q[d>>2]=g;b=q[a+364>>2];q[d+20>>2]=0;p[d+16>>1]=1;q[d+4>>2]=b+1;if(c>>>0>t[a+424>>2]){q[a+424>>2]=c}e=q[a+368>>2];while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(e|0)){break q}c=r[b+i|0];o[a+372|0]=c;h=o[c+4560|0];q[a+376>>2]=h;if((c|1)==65){f=b+1|0;if((f|0)>=(e|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(e|0)){break q}f=c+ -44|0;if(f>>>0<=1){break Za}if((c|0)!=137){continue}break}break o;case 39:c=q[a+432>>2];b=136;if((c|0)<=0){break h}b=c+ -1|0;q[a+432>>2]=b;b=q[a+440>>2]+(b<<4)|0;d=q[b+8>>2];q[b+8>>2]=d+ -1;o[a+380|0]=0;if((d|0)>=2){q[a+432>>2]=c;q[a+364>>2]=q[q[b+12>>2]+4>>2];break w}d=q[b>>2];c=d+ -1|0;if(c>>>0>=3){break k}e=q[((c<<3)+a|0)+448>>2];if(!e){break p}c=q[((c<<3)+a|0)+452>>2];b=q[b+4>>2];if((c|0)<(b|0)){break q}q[a+368>>2]=c;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=d;break w;case 40:case 41:b=s[e>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break w}break j}c=a;d=m;e=b;if(g&1){f=q[a+52>>2]+(b<<3)|0;f=n[q[a+576>>2]](a,q[f>>2],q[f+4>>2])|0;f=(n[q[a+572>>2]](a,f,q[a+268>>2])|0)-f|0}else{f=0}n[q[a+588>>2]](c,d,e,f);p[a+290>>1]=b;p[a+288>>1]=b;break w;case 125:case 126:break Ga;case 127:break Ha;case 128:case 129:break Ia;case 130:break Ja;case 131:break Ka;case 132:break La;case 133:break Ma;case 134:break Na;case 135:break Oa;case 136:break Pa;case 137:case 138:break Qa;case 139:break Ra;case 140:break Sa;case 27:case 83:case 120:case 121:break Ua;case 28:break Va;case 42:case 43:break _a;case 44:case 45:break y;case 46:case 47:break z;case 48:case 49:break A;case 50:break B;case 51:break C;case 52:case 53:break D;case 54:break E;case 55:break F;case 56:case 57:break G;case 58:break H;case 59:break I;case 60:break J;case 61:break K;case 62:break L;case 63:break M;case 64:case 65:break N;case 66:break O;case 67:case 68:break P;case 69:break Q;case 70:break R;case 71:break S;case 72:break T;case 73:break U;case 74:break V;case 75:break W;case 76:break X;case 77:break Y;case 78:break Z;case 79:break _;case 80:break $;case 81:break aa;case 82:break ba;case 84:break ca;case 85:break da;case 86:break ea;case 87:break fa;case 88:break ga;case 89:break ha;case 90:break ia;case 91:break ja;case 92:break ka;case 93:break la;case 94:break ma;case 95:break na;case 96:break oa;case 97:break pa;case 98:case 99:case 100:case 101:break qa;case 102:case 103:case 104:case 105:break ra;case 106:break sa;case 107:case 108:break ta;case 109:case 110:case 111:break ua;case 112:break va;case 113:break wa;case 114:break xa;case 115:break ya;case 116:break za;case 117:break Aa;case 118:break Ba;case 119:break Ca;case 122:break Da;case 123:break Ea;case 124:break Fa}}Qb:{if(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40){break Qb}if(r[a+617|0]?r[a+616|0]:0){break w}if(g&1){o[a+616|0]=1;break Qb}o[a+617|0]=1}if(!s[a+154>>1]){break w}Rb:{if(g&1){h=q[a+156>>2];q[j+24>>2]=h;y=q[a+160>>2];q[j+28>>2]=y;q[j+32>>2]=q[a+164>>2];k=8;break Rb}h=q[a+156>>2]+4|0;q[j+24>>2]=h;y=q[a+160>>2]+4|0;q[j+28>>2]=y;q[j+32>>2]=q[a+164>>2]+4;k=16}c=s[a+152>>1];q[j+36>>2]=c;A=0;f=0;while(1){b=s[q[a+172>>2]+(A<<1)>>1]-s[a+176>>1]|0;c=c&65535;x=b>>>0>>0?b:c+ -1|0;Sb:{if(f>>>0>x>>>0){b=f;break Sb}d=q[a+168>>2];c=f;Tb:{Ub:{while(1){Vb:{b=c+1|0;if(k&r[c+d|0]){g=b;i=c;l=c;Wb:{z=b>>>0>x>>>0;if(!z){while(1){e=g;if(k&r[e+d|0]){yj(j+24|0,l+1|0,i,l,e);l=e}g=e+1|0;if(g>>>0<=x>>>0){d=q[a+168>>2];i=e;continue}break}if((c|0)!=(l|0)){break Wb}}d=c<<3;d=q[d+y>>2]-q[d+h>>2]|0;if(!d){break Tb}if(f>>>0>>0){break Vb}break Ub}yj(j+24|0,l+1&65535,x,l,c);if(!c){break Tb}yj(j+24|0,f,c+ -1|0,l,c);break Tb}c=b;if(b>>>0<=x>>>0){continue}break Sb}break}while(1){e=(f<<3)+y|0;q[e>>2]=d+q[e>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}if(z){break Tb}while(1){c=(b<<3)+y|0;q[c>>2]=d+q[c>>2];b=b+1|0;if(b>>>0<=x>>>0){continue}break}}b=g}A=A+1|0;if((A|0)>=p[a+154>>1]){break w}c=s[a+152>>1];f=b;continue}}if(f-1){break o}break x}b=129;break h}q[a+32>>2]=0;break v}q[a+16>>2]=d;break u}if(g>>>0>=224){Xb:{Yb:{f=s[e>>1];Zb:{if(f>>>0>=s[a+80>>1]){break Zb}b=q[e+4>>2];c=b+1|0;if(c>>>0>=q[a+384>>2]+1>>>0){break Zb}if(s[a+288>>1]>1]){break Yb}}if(!r[a+565|0]){break Xb}q[a+12>>2]=134;break Xb}l=q[a+324>>2];g=q[a+312>>2];if(c){b=n[q[a+600>>2]](a,b)|0}else{b=0}c=q[a+332>>2];e=b-c|0;d=e>>31;b=(d^e+d)>2]?(b|0)>-1?c:0-c|0:b;if(!s[a+350>>1]){d=p[a+302>>1];c=d>>31;i=c^c+d;c=b>>31;k=c+b^c;h=k>>>16|0;x=w(i,h);e=x<<16|8192;y=f<<3;c=y+q[a+84>>2]|0;A=q[a+48>>2]+(s[a+288>>1]<<3)|0;z=i;i=k&65535;k=e+w(z,i)|0;e=(x>>>16|0)+(k>>>0>>0)<<18|k>>>14;q[c>>2]=q[A>>2]+((b^d)>-1?e:0-e|0);d=p[a+304>>1];e=d>>31;k=e^e+d;h=w(k,h);e=h<<16|8192;i=e+w(i,k)|0;e=(h>>>16|0)+(i>>>0>>0)<<18|i>>>14;q[c+4>>2]=q[A+4>>2]+((b^d)>-1?e:0-e|0);e=q[c+4>>2];d=y+q[a+88>>2]|0;q[d>>2]=q[c>>2];q[d+4>>2]=e}c=f<<3;d=c+q[a+84>>2]|0;e=q[a+48>>2]+(s[a+288>>1]<<3)|0;e=n[q[a+580>>2]](a,q[d>>2]-q[e>>2]|0,q[d+4>>2]-q[e+4>>2]|0)|0;c=c+q[a+88>>2]|0;d=q[a+52>>2]+(s[a+288>>1]<<3)|0;k=n[q[a+576>>2]](a,q[c>>2]-q[d>>2]|0,q[c+4>>2]-q[d+4>>2]|0)|0;b=(b^e)<0?r[a+320|0]?0-b|0:b:b;c=r[a+372|0];_b:{if(c&4){d=a;if(s[a+348>>1]==s[a+350>>1]){h=b-e|0;i=h>>31;b=(i^h+i)>(l|0)?e:b}h=n[q[a+572>>2]](d,b,q[(((c&3)<<2)+a|0)+268>>2])|0;c=r[a+372|0];break _b}d=q[(((c&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+d|0;h=(b|0)>0?b:0;break _b}b=b-d|0;h=b>>31&b}$b:{if(!(c&8)){break $b}if((e|0)>=0){h=(h|0)<(g|0)?g:h;break $b}b=0-g|0;h=(h|0)>(b|0)?b:h}n[q[a+588>>2]](a,u,f,h-k|0)}p[a+290>>1]=s[a+288>>1];if(r[a+372|0]&16){p[a+288>>1]=f}p[a+292>>1]=f;break w}if(g>>>0>=192){ac:{bc:{b=s[e>>1];if(b>>>0>1]){c=s[a+288>>1];if(c>>>0>1]){break bc}}if(!r[a+565|0]){break ac}q[a+12>>2]=134;break ac}e=q[a+312>>2];cc:{if(!(s[a+350>>1]?s[a+348>>1]:0)){d=q[a+84>>2]+(b<<3)|0;c=q[a+48>>2]+(c<<3)|0;c=n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0;break cc}c=q[a+56>>2]+(c<<3)|0;d=q[a+92>>2]+(b<<3)|0;f=q[a+224>>2];if((f|0)==q[a+228>>2]){c=Ma(n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0,q[a+224>>2]);break cc}c=(J=a,K=Ma(q[d>>2]-q[c>>2]|0,f),L=Ma(q[d+4>>2]-q[c+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](J|0,K|0,L|0)|0)}f=q[a+328>>2];dc:{if((f|0)<1){break dc}d=q[a+332>>2];if((c|0)>=(d+f|0)|(c|0)<=(d-f|0)){break dc}c=(c|0)>-1?d:0-d|0}h=r[a+372|0];ec:{if(h&4){d=n[q[a+572>>2]](a,c,q[(((h&3)<<2)+a|0)+268>>2])|0;h=r[a+372|0];break ec}d=q[(((h&3)<<2)+a|0)+268>>2];if((c|0)>=0){d=c+d|0;d=(d|0)>0?d:0;break ec}d=c-d|0;d=d>>31&d}fc:{if(!(h&8)){break fc}if((c|0)>=0){d=(d|0)<(e|0)?e:d;break fc}c=0-e|0;d=(d|0)>(c|0)?c:d}e=d;c=q[a+88>>2]+(b<<3)|0;d=q[a+52>>2]+(s[a+288>>1]<<3)|0;L=a,K=u,J=b,M=e-(n[q[a+576>>2]](a,q[c>>2]-q[d>>2]|0,q[c+4>>2]-q[d+4>>2]|0)|0)|0,I=q[a+588>>2],n[I](L|0,K|0,J|0,M|0)}p[a+292>>1]=b;p[a+290>>1]=s[a+288>>1];if(!(r[a+372|0]&16)){break w}p[a+288>>1]=b;break w}if(g>>>0>=184){d=g+65353&65535;if(d>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}b=q[a+364>>2];c=b+1|0;q[a+364>>2]=c;gc:{if(!d){break gc}q[a+364>>2]=b+3;q[e>>2]=(r[(b+i|0)+2|0]|r[c+i|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break gc}while(1){f=q[a+364>>2];q[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+i|0;b=r[b|0]|r[b+1|0]<<8;q[g>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(d>>>0>b>>>0){continue}break}}o[a+380|0]=0;break w}if(g>>>0>=176){d=g+65361&65535;if(d>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}b=1;c=1;if(!d){break w}while(1){q[(e+(b<<2)|0)+ -4>>2]=r[i+(q[a+364>>2]+b|0)|0];c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}qf(a);break w}if(q[q[a>>2]+736>>2]){q[e>>2]=17;break w}qf(a);break w}d=q[q[a>>2]+736>>2];if(d){c=q[d>>2];if(c>>>0>=(b-q[a+16>>2]|0)+1>>>0){break i}d=q[d+8>>2];if(d){b=0;if(!c){break w}while(1){f=b<<2;q[f+e>>2]=q[d+f>>2]>>2;b=b+1|0;if((c|0)!=(b|0)){continue}break}break w}if(!c){break w}Na(e,0,c<<2);break w}qf(a);break w}qf(a);break w}d=q[e+4>>2];b=d+ -1|0;if(b>>>0>=3){if(!r[a+565|0]){break w}break j}c=1<>2];if(!(!b|(b|0)==(c|0))){if(!r[a+565|0]){break w}break j}o[a+340|0]=b|r[a+340|0]&(c^-1);if((d|0)!=3|q[q[q[a>>2]+96>>2]+64>>2]!=40){break w}o[a+615|0]=(b|0)!=4;break w}b=q[e>>2];if((b|0)<0){break w}q[a+344>>2]=b&65535;break w}b=q[e+4>>2];if((b|0)>=q[e>>2]){break w}q[e>>2]=b;break w}b=q[e+4>>2];if((b|0)<=q[e>>2]){break w}q[e>>2]=b;break w}b=q[e+4>>2];c=q[e+8>>2];q[e+8>>2]=q[e>>2];q[e>>2]=b;q[e+4>>2]=c;break w}f=q[a+356>>2];if((f|0)==3){break m}c=q[a+412>>2];hc:{d=q[a+420>>2];ic:{jc:{if(!d){b=0;break jc}b=w(c,24)+d|0;kc:{if((c|0)<1){break kc}g=q[e>>2];while(1){if((g|0)==q[d+12>>2]){break kc}d=d+24|0;if(d>>>0>>0){continue}break}}if((b|0)!=(d|0)){break ic}}if(c>>>0>=t[a+416>>2]){break hc}q[a+412>>2]=c+1;d=b}b=q[e>>2];if(b>>>0>=256){break hc}q[d+12>>2]=b;b=q[a+364>>2];o[d+16|0]=1;q[d>>2]=f;q[d+4>>2]=b+1;c=q[e>>2];if(c>>>0>t[a+428>>2]){q[a+428>>2]=c&255}e=q[a+368>>2];while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(e|0)){break q}c=r[b+i|0];o[a+372|0]=c;h=o[c+4560|0];q[a+376>>2]=h;if((c|1)==65){f=b+1|0;if((f|0)>=(e|0)){break q}h=2-w(r[f+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(e|0)){break q}f=c+ -44|0;if(f>>>0>1){if((c|0)==137){break o}continue}break}if(f-1){break o}q[d+8>>2]=b;break w}b=141;break h}b=0;c=q[e>>2];if(c&1){b=q[q[q[a>>2]+96>>2]+64>>2]}b=c&2?r[a+285|0]?b|256:b:b;b=c&4?r[a+286|0]?b|512:b:b;b=c&8?q[q[a>>2]+736>>2]?b|1024:b:b;b=c&32?r[a+612|0]?b|4096:b:b;d=b;lc:{if(!r[a+613|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40){break lc}d=c<<7;b=d&8192|b;if(c&256){b=r[a+614|0]?b|32768:b}b=d&393216|b;d=b;if(!(c&4096)){break lc}d=r[a+618|0]?b|524288:b}q[e>>2]=d;break w}mc:{b=s[e>>1];if(b>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break mc}}if(!r[a+565|0]){break w}break j}d=b<<3;e=d+q[a+84>>2]|0;f=c<<3;c=f+q[a+120>>2]|0;b=q[e+4>>2]-q[c+4>>2]|0;e=q[e>>2]-q[c>>2]|0;c=b|e;e=c?e:16384;c=!(g&1)|!c;g=c?b:e;b=c?e:0-b|0;if(g|b){q[j+28>>2]=g;q[j+24>>2]=b;yf(j+24|0);p[a+294>>1]=q[j+24>>2]/4;p[a+296>>1]=q[j+28>>2]/4}d=d+q[a+88>>2]|0;e=f+q[a+124>>2]|0;b=q[d+4>>2]-q[e+4>>2]|0;e=q[d>>2]-q[e>>2]|0;d=b|e;e=d?e:16384;c=c|!d;d=c?b:e;b=c?e:0-b|0;if(d|b){q[j+28>>2]=d;q[j+24>>2]=b;yf(j+24|0);p[a+298>>1]=q[j+24>>2]/4;p[a+300>>1]=q[j+28>>2]/4}f=s[a+302>>1];nc:{if((f|0)==16384){b=p[a+298>>1];q[a+568>>2]=b;d=b;break nc}b=p[a+304>>1];if((b|0)==16384){b=p[a+300>>1];q[a+568>>2]=b;d=s[a+298>>1];break nc}d=p[a+298>>1];b=w(b,p[a+300>>1])+w(d,f<<16>>16)>>14;q[a+568>>2]=b}c=38;q[a+576>>2]=(d&65535)!=16384?s[a+300>>1]==16384?39:40:38;c=s[a+294>>1]!=16384?s[a+296>>1]==16384?39:41:c;q[a+592>>2]=42;q[a+588>>2]=43;q[a+580>>2]=c;oc:{if((b|0)!=16384){break oc}if((f|0)==16384){q[a+592>>2]=44;q[a+588>>2]=45;break oc}if(s[a+304>>1]!=16384){break oc}q[a+592>>2]=46;q[a+588>>2]=47}c=b;b=b>>31;if((c+b^b)<=1023){q[a+568>>2]=16384}q[a+260>>2]=0;break w}pc:{b=q[e>>2];c=b&255;if(c){if((c|0)!=255){break pc}o[a+341|0]=1;break w}o[a+341|0]=0;break w}if(!(!(b&256)|c>>>0>1])){o[a+341|0]=1}if(!(!(b&512)|!r[a+285|0])){o[a+341|0]=1}if(!(!(b&1024)|!r[a+286|0])){o[a+341|0]=1}if(!(!(b&2048)|c>>>0>=s[a+256>>1])){o[a+341|0]=0}if(!(!(b&4096)|!r[a+285|0])){o[a+341|0]=0}if(!(b&8192)|!r[a+286|0]){break w}o[a+341|0]=0;break w}qf(a);break w}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break w}}qc:{d=s[e+4>>1];c=s[a+152>>1];if(d>>>0>=c>>>0){break qc}b=s[e>>1];if(b>>>0>=c>>>0){break qc}if(d>>>0>>0){break w}c=b;while(1){b=q[a+168>>2]+b|0;o[b|0]=r[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}if(!r[a+565|0]){break w}break j}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break w}}rc:{d=s[e+4>>1];c=s[a+152>>1];if(d>>>0>=c>>>0){break rc}b=s[e>>1];if(b>>>0>=c>>>0){break rc}if(d>>>0>>0){break w}c=b;while(1){b=q[a+168>>2]+b|0;o[b|0]=r[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break w}if(!r[a+565|0]){break w}break j}sc:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break sc}}tc:{b=q[a+308>>2];if(q[a+16>>2]>=(b|0)){if((b|0)>0){break tc}break sc}if(!r[a+565|0]){break sc}q[a+12>>2]=129;break sc}while(1){c=c+ -1|0;q[a+28>>2]=c;c=s[(c<<2)+f>>1];uc:{if(c>>>0>=s[a+152>>1]){if(r[a+565|0]){break j}break uc}b=c+q[a+168>>2]|0;o[b|0]=r[b|0]^1;b=q[a+308>>2]}d=b+ -1|0;q[a+308>>2]=d;c=q[a+28>>2];if((b|0)<2){break sc}f=q[a+24>>2];b=d;continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}q[a+572>>2]=50;q[a+316>>2]=3;break w}q[a+572>>2]=51;q[a+316>>2]=4;break w}qf(a);break w}q[a+572>>2]=52;q[a+316>>2]=5;break w}if(q[e+4>>2]){break w}b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l}if(!q[e+4>>2]){break w}b=q[e>>2];if(!(b|c)){break k}b=b+q[a+364>>2]|0;q[a+364>>2]=b;if((b|0)<0){break k}c=q[a+432>>2];if((b|0)>q[q[(q[a+440>>2]+(c<<4)|0)+ -4>>2]+8>>2]?(c|0)>=1:0){break k}o[a+380|0]=0;if(q[e>>2]>-1){break w}b=q[a+628>>2]+1|0;q[a+628>>2]=b;if(b>>>0<=t[a+632>>2]){break w}break l}e=q[e>>2];b=e>>>4|0;c=q[(b&12)+6792>>2];q[a+480>>2]=c;vc:{wc:{xc:{yc:{b=b&3;switch(b-1|0){case 2:break wc;case 1:break xc;case 0:break yc;default:break vc}}b=c>>>2|0;break vc}b=c>>>1|0;break vc}b=w(c,3)>>>2|0}q[a+484>>2]=b;q[a+572>>2]=53;q[a+316>>2]=7;d=a;e=e&15;f=c+ -1|0;zc:{if(!e){break zc}f=(w(c,e+ -4|0)|0)/8|0}q[d+488>>2]=f>>8;q[a+484>>2]=b>>>8;q[a+480>>2]=c>>>8;break w}e=q[e>>2];b=e>>>4|0;c=q[(b&12)+6776>>2];q[a+480>>2]=c;Ac:{Bc:{Cc:{Dc:{b=b&3;switch(b-1|0){case 2:break Bc;case 1:break Cc;case 0:break Dc;default:break Ac}}b=c>>>2|0;break Ac}b=c>>>1|0;break Ac}b=w(c,3)>>>2|0}q[a+484>>2]=b;q[a+572>>2]=54;q[a+316>>2]=6;d=a;e=e&15;f=c+ -1|0;Ec:{if(!e){break Ec}f=(w(c,e+ -4|0)|0)/8|0}q[d+488>>2]=f>>8;q[a+484>>2]=b>>>8;q[a+480>>2]=c>>>8;break w}d=n[q[a+596>>2]](a)|0;c=1;e=q[e>>2];Fc:{if(!e){break Fc}while(1){b=q[a+28>>2];if((b|0)<=1){if(r[a+565|0]){q[a+12>>2]=129}q[a+28>>2]=0;break Fc}f=b+ -2|0;q[a+28>>2]=f;g=b<<2;b=q[a+24>>2];g=q[(g+b|0)+ -4>>2];Gc:{if(g>>>0>=t[a+384>>2]){if(r[a+565|0]){break j}break Gc}h=d;f=q[b+(f<<2)>>2];b=f>>>4&15;i=r[a+372|0]+ -116|0;l=b;Hc:{if(i>>>0>1){break Hc}l=b|16;if(i-1){break Hc}l=b|32}if((h|0)!=(l+s[a+336>>1]|0)){break Gc}b=f&15;n[q[a+608>>2]](a,g,(b>>>0>7?-7:-8)+b<<6-s[a+338>>1])}c=c+1|0;if(c>>>0<=e>>>0){continue}break}}q[a+32>>2]=q[a+28>>2];break w}Ao(a,e);break w}b=q[e>>2];if(b>>>0>=t[a+384>>2]){if(!r[a+565|0]){break w}break j}c=Ma(q[e+4>>2],q[a+264>>2]);q[q[a+388>>2]+(b<<2)>>2]=c;break w}b=q[((g<<2)+a|0)+ -164>>2];c=q[e>>2];if((c|0)>=0){b=b+c|0;q[e>>2]=(b|0)>0?b:0;break w}b=c-b|0;q[e>>2]=b>>31&b;break w}I=e,M=n[q[a+572>>2]](a,q[e>>2],q[((g<<2)+a|0)+ -148>>2])|0,q[I>>2]=M;break w}q[e>>2]=q[e>>2]+63&-64;break w}q[e>>2]=q[e>>2]&-64;break w}q[e>>2]=0-q[e>>2];break w}b=q[e>>2];if((b|0)>-1){break w}q[e>>2]=0-b;break w}I=e,M=bb(q[e>>2],q[e+4>>2],64),q[I>>2]=M;break w}c=q[e+4>>2];b=133;if(!c){break h}I=e,M=Sk(q[e>>2],64,c),q[I>>2]=M;break w}q[e>>2]=q[e>>2]-q[e+4>>2];break w}q[e>>2]=q[e+4>>2]+q[e>>2];break w}b=q[e>>2];if(b>>>0>=7){break k}p[a+338>>1]=b;break w}p[a+336>>1]=q[e>>2];break w}Ao(a,e);break w}q[e>>2]=!q[e>>2];break w}b=e;q[b>>2]=q[b>>2]?1:q[b+4>>2]!=0;break w}if(!q[e>>2]){q[e>>2]=0;break w}q[e>>2]=q[e+4>>2]!=0;break w}if(q[e>>2]){break w}b=q[a+364>>2];c=q[a+368>>2];f=1;while(1){Ic:{Jc:{if((f|0)==1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){e=b+1|0;if((e|0)>=(c|0)){break q}h=2-w(r[e+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}e=d+ -88|0;if(e>>>0>1){f=1;if((d|0)!=27){continue}break w}if(e-1){break Jc}break w}while(1){b=b+h|0;q[a+364>>2]=b;if((b|0)>=(c|0)){break q}d=r[b+i|0];o[a+372|0]=d;h=o[d+4560|0];q[a+376>>2]=h;if((d|1)==65){e=b+1|0;if((e|0)>=(c|0)){break q}h=2-w(r[e+i|0],h)|0;q[a+376>>2]=h}if((b+h|0)>(c|0)){break q}if((d|0)==27){continue}break}d=d+ -88|0;if(d>>>0>1){continue}if(!(d-1)){break Ic}}f=f+1|0;continue}f=f+ -1|0;if(f){continue}break}break w}I=e,M=!(n[q[a+572>>2]](a,q[e>>2],0)&127),q[I>>2]=M;break w}I=e,M=(n[q[a+572>>2]](a,q[e>>2],0)&127)==64,q[I>>2]=M;break w}q[e>>2]=q[e>>2]!=q[e+4>>2];break w}q[e>>2]=q[e>>2]==q[e+4>>2];break w}q[e>>2]=q[e>>2]>=q[e+4>>2];break w}q[e>>2]=q[e>>2]>q[e+4>>2];break w}q[e>>2]=q[e>>2]<=q[e+4>>2];break w}q[e>>2]=q[e>>2]>2];break w}b=135;break h}o[a+320|0]=0;break v}o[a+320|0]=1;break v}if(q[q[q[a>>2]+96>>2]+64>>2]==35){I=e,M=n[q[a+596>>2]](a)|0,q[I>>2]=M;break w}q[e>>2]=q[a+216>>2];break w}I=e,M=n[q[a+596>>2]](a)|0,q[I>>2]=M;break w}Kc:{Lc:{b=e;d=s[b>>1];if(d>>>0>1]){c=s[e+4>>1];if(c>>>0>1]){break Lc}}c=0;if(!r[a+565|0]){break Kc}q[a+12>>2]=134;q[e>>2]=0;break w}if(g&1){b=q[a+52>>2]+(d<<3)|0;c=q[a+88>>2]+(c<<3)|0;I=e,M=n[q[a+576>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0,q[I>>2]=M;break w}if(!(s[a+350>>1]?s[a+348>>1]:0)){b=q[a+48>>2]+(d<<3)|0;c=q[a+84>>2]+(c<<3)|0;I=e,M=n[q[a+580>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0,q[I>>2]=M;break w}c=q[a+92>>2]+(c<<3)|0;d=q[a+56>>2]+(d<<3)|0;f=q[a+224>>2];if((f|0)==q[a+228>>2]){I=e,M=Ma(n[q[a+580>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0,q[a+224>>2]),q[I>>2]=M;break w}c=(M=a,J=Ma(q[d>>2]-q[c>>2]|0,f),K=Ma(q[d+4>>2]-q[c+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](M|0,J|0,K|0)|0)}q[b>>2]=c;break w}b=s[e>>1];if(b>>>0>=s[a+116>>1]){if(!r[a+565|0]){break w}break j}c=b<<3;d=c+q[a+124>>2]|0;d=n[q[a+576>>2]](a,q[d>>2],q[d+4>>2])|0;n[q[a+588>>2]](a,v,b,q[e+4>>2]-d|0);if(s[a+352>>1]){break w}b=c+q[a+120>>2]|0;c=c+q[a+124>>2]|0;d=q[c+4>>2];q[b>>2]=q[c>>2];q[b+4>>2]=d;break w}b=e;c=q[b>>2];Mc:{if(c>>>0>=s[a+116>>1]){c=0;if(!r[a+565|0]){break Mc}q[a+12>>2]=134;q[e>>2]=0;break w}if(g&1){b=q[a+120>>2]+(c<<3)|0;I=e,K=n[q[a+580>>2]](a,q[b>>2],q[b+4>>2])|0,q[I>>2]=K;break w}c=q[a+124>>2]+(c<<3)|0;c=n[q[a+576>>2]](a,q[c>>2],q[c+4>>2])|0}q[b>>2]=c;break w}b=q[e>>2];Nc:{if(b>>>0>=t[a+384>>2]){b=0;if(r[a+565|0]){break j}break Nc}b=n[q[a+600>>2]](a,b)|0}q[e>>2]=b;break w}b=q[e>>2];if(b>>>0>=t[a+384>>2]){if(!r[a+565|0]){break w}break j}n[q[a+604>>2]](a,b,q[e+4>>2]);break w}b=q[e>>2];Oc:{if(b>>>0>=s[a+472>>1]){b=0;if(r[a+565|0]){break j}break Oc}b=q[q[a+476>>2]+(b<<2)>>2]}q[e>>2]=b;break w}b=q[e>>2];if(b>>>0>=s[a+472>>1]){if(!r[a+565|0]){break w}break j}q[q[a+476>>2]+(b<<2)>>2]=q[e+4>>2];break w}f=(b-q[a+16>>2]|0)+1|0;b=q[a+364>>2];c=b+i|0;d=r[c+1|0];if(f>>>0<=d>>>0){break i}f=b+2|0;q[a+364>>2]=f;Pc:{if(!d){break Pc}q[a+364>>2]=b+4;q[e>>2]=(r[c+3|0]|r[f+i|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break Pc}while(1){f=q[a+364>>2];q[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+i|0;b=r[b|0]|r[b+1|0]<<8;q[g>>2]=(b<<24|b<<8&16711680)>>16;c=c+1|0;b=c&65535;if(b>>>0>>0){continue}break}}o[a+380|0]=0;q[a+32>>2]=d+q[a+32>>2];break w}c=(b-q[a+16>>2]|0)+1|0;b=i+q[a+364>>2]|0;d=r[b+1|0];if(c>>>0<=d>>>0){break i}Qc:{if(!d){break Qc}q[e>>2]=r[b+2|0];b=2;c=2;if((d|0)==1){break Qc}while(1){q[(e+(b<<2)|0)+ -4>>2]=r[(i+(q[a+364>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(b>>>0<=d>>>0){continue}break}}q[a+32>>2]=d+q[a+32>>2];break w}Rc:{Sc:{c=s[e>>1];if(c>>>0>1]){b=q[e+4>>2];if(t[a+384>>2]>b>>>0){break Sc}}if(!r[a+565|0]){break Rc}q[a+12>>2]=134;break Rc}l=q[a+324>>2];b=n[q[a+600>>2]](a,b)|0;if(!s[a+348>>1]){e=p[a+302>>1];d=e>>31;g=d^e+d;d=b>>31;i=d+b^d;k=i>>>16|0;h=w(g,k);f=h<<16|8192;x=c<<3;d=x+q[a+48>>2]|0;z=g;g=i&65535;i=f+w(z,g)|0;f=(h>>>16|0)+(i>>>0>>0)<<18|i>>>14;q[d>>2]=(b^e)>-1?f:0-f|0;e=p[a+304>>1];f=e>>31;i=f^e+f;k=w(i,k);f=k<<16|8192;g=f+w(g,i)|0;f=(k>>>16|0)+(g>>>0>>0)<<18|g>>>14;q[d+4>>2]=(b^e)>-1?f:0-f|0;f=q[d+4>>2];e=x+q[a+52>>2]|0;q[e>>2]=q[d>>2];q[e+4>>2]=f}d=q[a+52>>2]+(c<<3)|0;g=n[q[a+576>>2]](a,q[d>>2],q[d+4>>2])|0;d=a;e=m;f=c;if(o[a+372|0]&1){k=b-g|0;i=k>>31;b=n[q[a+572>>2]](a,(i^i+k)>(l|0)?g:b,q[a+268>>2])|0}n[q[a+588>>2]](d,e,f,b-g|0)}p[a+290>>1]=c;p[a+288>>1]=c;break w}q[a+572>>2]=55;q[a+316>>2]=2;break w}Tc:{b=q[a+308>>2];if(!(s[a+288>>1]>1]?q[a+16>>2]>=(b|0):0)){if(!r[a+565|0]){break Tc}q[a+12>>2]=134;break Tc}if((b|0)<1){break Tc}while(1){c=c+ -1|0;q[a+28>>2]=c;c=s[(c<<2)+f>>1];Uc:{if(c>>>0>=s[a+80>>1]){if(r[a+565|0]){break j}break Uc}d=c;b=q[a+88>>2]+(c<<3)|0;c=q[a+52>>2]+(s[a+288>>1]<<3)|0;K=a,J=u,M=d,L=0-(n[q[a+576>>2]](a,q[b>>2]-q[c>>2]|0,q[b+4>>2]-q[c+4>>2]|0)|0)|0,I=q[a+588>>2],n[I](K|0,J|0,M|0,L|0);b=q[a+308>>2]}d=b+ -1|0;q[a+308>>2]=d;c=q[a+28>>2];if((b|0)<2){break Tc}f=q[a+24>>2];b=d;continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}Vc:{b=s[e>>1];if(b>>>0>1]){c=s[a+288>>1];if(c>>>0>1]){break Vc}}if(!r[a+565|0]){break w}break j}if(!s[a+350>>1]){c=q[a+48>>2]+(c<<3)|0;g=q[c+4>>2];d=b<<3;f=d+q[a+84>>2]|0;q[f>>2]=q[c>>2];q[f+4>>2]=g;n[q[a+592>>2]](a,u,b,q[e+4>>2]);c=d+q[a+88>>2]|0;d=d+q[a+84>>2]|0;f=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=f;c=s[a+288>>1]}d=q[a+88>>2]+(b<<3)|0;c=q[a+52>>2]+(c<<3)|0;c=n[q[a+576>>2]](a,q[d>>2]-q[c>>2]|0,q[d+4>>2]-q[c+4>>2]|0)|0;n[q[a+588>>2]](a,u,b,q[e+4>>2]-c|0);p[a+292>>1]=b;p[a+290>>1]=s[a+288>>1];if(!(o[a+372|0]&1)){break w}p[a+288>>1]=b;break w}c=q[a+308>>2];Wc:{if(q[a+16>>2]<(c|0)){if(!r[a+565|0]){break Wc}q[a+12>>2]=134;break Wc}e=1;e=!s[a+348>>1]|!s[a+350>>1]?e:!s[a+352>>1];b=s[a+290>>1];if(b>>>0>=s[a+44>>1]){if(!r[a+565|0]){break Wc}q[a+12>>2]=134;break Wc}g=q[(e?48:56)+a>>2];d=b<<3;f=g+d|0;k=q[a+52>>2];h=k+d|0;i=0;d=0;l=s[a+292>>1];if(l>>>0>1]){Xc:{if(e){c=q[a+84>>2]+(l<<3)|0;d=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[(g+(b<<3)|0)+4>>2]|0)|0;break Xc}c=q[a+224>>2];if((c|0)==q[a+228>>2]){c=q[a+92>>2]+(l<<3)|0;d=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[(g+(b<<3)|0)+4>>2]|0)|0;break Xc}d=(L=a,M=Ma(q[q[a+92>>2]+(l<<3)>>2]-q[f>>2]|0,c),J=Ma(q[(q[a+92>>2]+(s[a+292>>1]<<3)|0)+4>>2]-q[(g+(b<<3)|0)+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](L|0,M|0,J|0)|0)}c=q[a+88>>2]+(s[a+292>>1]<<3)|0;i=n[q[a+576>>2]](a,q[c>>2]-q[h>>2]|0,q[c+4>>2]-q[(k+(b<<3)|0)+4>>2]|0)|0;c=q[a+308>>2]}if((c|0)<1){break Wc}b=b<<3;l=b+k|0;g=b+g|0;while(1){b=q[a+28>>2]+ -1|0;q[a+28>>2]=b;b=q[q[a+24>>2]+(b<<2)>>2];Yc:{if(b>>>0>=s[a+116>>1]){b=c;if(r[a+565|0]){break j}break Yc}Zc:{if(e){c=q[a+120>>2]+(b<<3)|0;c=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[g+4>>2]|0)|0;break Zc}c=q[a+224>>2];if((c|0)==q[a+228>>2]){c=q[a+128>>2]+(b<<3)|0;c=n[q[a+580>>2]](a,q[c>>2]-q[f>>2]|0,q[c+4>>2]-q[g+4>>2]|0)|0;break Zc}k=b<<3;c=(J=a,M=Ma(q[k+q[a+128>>2]>>2]-q[f>>2]|0,c),L=Ma(q[(k+q[a+128>>2]|0)+4>>2]-q[g+4>>2]|0,q[a+228>>2]),I=q[a+580>>2],n[I](J|0,M|0,L|0)|0)}k=q[a+124>>2]+(b<<3)|0;k=n[q[a+576>>2]](a,q[k>>2]-q[h>>2]|0,q[k+4>>2]-q[l+4>>2]|0)|0;z=a;x=v;b=b&65535;if(!(!d|!c)){c=bb(c,i,d)}n[q[a+588>>2]](z,x,b,c-k|0);b=q[a+308>>2]}c=b+ -1|0;q[a+308>>2]=c;if((b|0)>1){continue}break}}q[a+308>>2]=1;q[a+32>>2]=q[a+28>>2];break w}h=1;h=!s[a+348>>1]|!s[a+350>>1]?h:!s[a+352>>1];_c:{b=q[a+308>>2];if(q[a+16>>2]<=(b|0)){if(!r[a+565|0]){break _c}q[a+12>>2]=134;break _c}if((b|0)<1){break _c}d=p[a+304>>1];g=d>>31;b=q[e>>2];e=b>>31;g=g^d+g;i=e^b+e;l=i>>>16|0;k=w(g,l);e=k<<16|8192;i=i&65535;g=e+w(i,g)|0;e=(k>>>16|0)+(g>>>0>>0)<<18|g>>>14;d=(b^d)>-1?e:0-e|0;e=p[a+302>>1];g=e>>31;k=l;l=g^e+g;k=w(k,l);g=k<<16|8192;i=g+w(i,l)|0;g=(k>>>16|0)+(i>>>0>>0)<<18|i>>>14;e=(b^e)>-1?g:0-g|0;while(1){b=c+ -1|0;q[a+28>>2]=b;b=s[(b<<2)+f>>1];$c:{if(b>>>0>=s[a+116>>1]){if(r[a+565|0]){break j}break $c}ad:{bd:{if(q[q[q[a>>2]+96>>2]+64>>2]==40){if(r[a+615|0]){cd:{if(h){break cd}if(r[a+617|0]?r[a+616|0]:0){break $c}if(s[a+304>>1]?r[a+564|0]:0){break cd}if(!(r[b+q[a+132>>2]|0]&16)){break $c}}if(s[a+302>>1]){c=b+q[a+132>>2]|0;o[c|0]=r[c|0]|8}if(!s[a+304>>1]){break $c}dd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break dd}}c=q[a+124>>2]+(b<<3)|0;q[c+4>>2]=d+q[c+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16;break $c}if(s[a+302>>1]){break bd}break ad}if(!s[a+302>>1]){break ad}}c=q[a+124>>2]+(b<<3)|0;q[c>>2]=e+q[c>>2];c=b+q[a+132>>2]|0;o[c|0]=r[c|0]|8}if(!s[a+304>>1]){break $c}ed:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break ed}}c=q[a+124>>2]+(b<<3)|0;q[c+4>>2]=d+q[c+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16}b=q[a+308>>2];q[a+308>>2]=b+ -1;c=q[a+28>>2];if((b|0)<2){break _c}f=q[a+24>>2];continue}}q[a+32>>2]=c;q[a+308>>2]=1;break w}if(t[e>>2]>=2){if(!r[a+565|0]){break w}q[a+12>>2]=134;break w}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}b=s[a+352>>1];if(b>>>0>1){break w}if(b-1){b=s[a+116>>1]}else{b=p[a+118>>1];if((b|0)<1){break w}b=s[(q[a+136>>2]+((b&65535)<<1)|0)+ -2>>1]+1|0}if(!(b&65535)){break w}c=q[j+12>>2];e=q[j+16>>2];fd:{f=q[j+40>>2];d=q[a+124>>2];if((f|0)!=(d|0)){f=b&65535;g=s[a+304>>1];if(s[a+302>>1]){break fd}b=0;while(1){gd:{if(!g){break gd}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break gd}}e=d+(b<<3)|0;q[e+4>>2]=c+q[e+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break w}d=b&65535;b=0;g=s[j+22>>1];while(1){hd:{if((b|0)==(g|0)){break hd}if(!(!s[a+302>>1]|(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;q[i>>2]=e+q[i>>2]}if(!s[a+304>>1]){break hd}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break hd}}i=f+(b<<3)|0;q[i+4>>2]=c+q[i+4>>2]}b=b+1|0;if((d|0)!=(b|0)){continue}break}break w}i=q[a>>2];l=q[q[i+96>>2]+64>>2];b=0;while(1){if(!(r[a+615|0]?(l|0)==40:0)){k=d+(b<<3)|0;q[k>>2]=e+q[k>>2]}id:{if(!g){break id}if(!(!r[a+616|0]|(!r[a+615|0]|q[q[i+96>>2]+64>>2]!=40))){if(r[a+617|0]){break id}}k=d+(b<<3)|0;q[k+4>>2]=c+q[k+4>>2]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break w}d=q[e>>2]<<16;c=d>>16;b=c;if(s[a+352>>1]){e=p[a+118>>1]}else{e=1}if(b>>>0>=e>>>0){if(!r[a+565|0]){break w}q[a+12>>2]=134;break w}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}b=(d?(s[(q[a+136>>2]+(c<<1)|0)+ -2>>1]-s[a+140>>1]|0)+1|0:0)&65535;d=b;if(s[a+352>>1]){c=(s[q[a+136>>2]+(c<<1)>>1]-s[a+140>>1]|0)+1|0}else{c=s[a+116>>1]}c=c&65535;if(d>>>0>=c>>>0){break w}d=s[j+22>>1];e=q[j+12>>2];f=q[j+16>>2];g=q[j+40>>2];while(1){i=q[a+124>>2];jd:{if((i|0)==(g|0)?(b|0)==(d|0):0){break jd}if(s[a+302>>1]){if(!(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;q[i>>2]=f+q[i>>2]}i=q[a+132>>2]+b|0;o[i|0]=r[i|0]|8}if(!s[a+304>>1]){break jd}kd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break kd}}i=q[a+124>>2]+(b<<3)|0;q[i+4>>2]=e+q[i+4>>2]}i=q[a+132>>2]+b|0;o[i|0]=r[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break}break w}ld:{if(q[a+16>>2]>2]){if(!r[a+565|0]){break ld}q[a+12>>2]=134;break ld}if(xj(a,j+16|0,j+12|0,j+24|0,j+22|0)){break w}if(q[a+308>>2]<1){break ld}c=q[j+12>>2];d=q[j+16>>2];while(1){b=q[a+28>>2]+ -1|0;q[a+28>>2]=b;b=s[q[a+24>>2]+(b<<2)>>1];md:{if(b>>>0>=s[a+116>>1]){if(!r[a+565|0]){break md}q[a+12>>2]=134;break w}if(s[a+302>>1]){if(!(r[a+615|0]?q[q[q[a>>2]+96>>2]+64>>2]==40:0)){e=q[a+124>>2]+(b<<3)|0;q[e>>2]=d+q[e>>2]}e=b+q[a+132>>2]|0;o[e|0]=r[e|0]|8}if(!s[a+304>>1]){break md}nd:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break nd}}e=q[a+124>>2]+(b<<3)|0;q[e+4>>2]=c+q[e+4>>2]}b=b+q[a+132>>2]|0;o[b|0]=r[b|0]|16}b=q[a+308>>2];q[a+308>>2]=b+ -1;if((b|0)>1){continue}break}}q[a+308>>2]=1;q[a+32>>2]=q[a+28>>2];break w}q[d+8>>2]=b}b=q[a+12>>2];if(!b){break v}if((b|0)!=128){break g}b=q[a+420>>2];od:{if(!b){break od}c=q[a+412>>2];if((c|0)<1){break od}c=w(c,24)+b|0;while(1){if(!(!r[b+16|0]|r[a+372|0]!=r[b+12|0])){c=q[a+432>>2];if((c|0)>=q[a+436>>2]){break j}c=q[a+440>>2]+(c<<4)|0;q[c>>2]=q[a+356>>2];d=q[a+364>>2];q[c+12>>2]=b;q[c+8>>2]=1;q[c+4>>2]=d+1;c=q[b>>2];d=c+ -1|0;if(d>>>0>=3){break k}d=(d<<3)+a|0;e=q[d+448>>2];if(!e){break p}d=q[d+452>>2];b=q[b+4>>2];if((d|0)<(b|0)){break q}q[a+368>>2]=d;q[a+360>>2]=e;q[a+364>>2]=b;q[a+356>>2]=c;break s}b=b+24|0;if(b>>>0>>0){continue}break}}b=128;break h}q[a+16>>2]=q[a+32>>2];if(!r[a+380|0]){break t}}q[a+364>>2]=q[a+364>>2]+q[a+376>>2]}G=G+1|0;if(G>>>0<=1e6){break s}b=139;break g}c=q[a+364>>2];if((c|0)>=q[a+368>>2]){if(q[a+432>>2]>=1){break q}b=0;break g}if(!r[a+492|0]){continue}break}b=0;break g}b=131;break h}b=138;break h}b=137;break h}b=140;break h}b=156;break h}b=139;break h}b=132;break h}b=134;break h}b=130}q[H+12>>2]=b}Da=j- -64|0;return b|0}function UT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(r[a+16|0]&16){break a}b=a;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}i=q[b+76>>2];b:{c:{d:{d=q[b+52>>2];if((d|0)<=1332902240){if((d|0)>1198879348){break d}if((d|0)>1147500128){break c}if((d|0)!=1113943655){if((d|0)!=1114792296){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}e:{f:{g=q[b+88>>2];c=q[g+w(a,20)>>2]+ -69637|0;if(c>>>0>10){break f}d=69688;g:{h:{switch(c-1|0){case 5:d=69694;break g;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 8:break f;case 9:break h;default:break g}}d=69698}c=q[g+w(e,20)>>2];i:{if(r[b+69|0]){h=b;j:{if((g|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break j}}if(!Va(b,1,1)){break i}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[e>>2];q[g+4>>2]=a;q[g+16>>2]=q[e+16>>2];a=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if((c|0)!=(d|0)){break e}k:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break k}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break k}l:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break l}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){m:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break m}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break e}if(r[b+69|0]){f=b;n:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break n}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}o:{p:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -2437|0;if(c>>>0>7){break p}d=2494;q:{r:{switch(c-1|0){case 5:d=2499;break q;case 0:case 1:case 2:case 3:case 4:break p;case 6:break r;default:break q}}d=2530}g=q[h+w(e,20)>>2];s:{if(r[b+69|0]){f=b;t:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break t}}if(!Va(b,1,1)){break s}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break o}u:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break u}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break u}v:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break v}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){w:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break w}}if(!Va(b,1,1)){break o}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break o}if(r[b+69|0]){f=b;x:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break x}}if(!Va(b,1,1)){break o}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}if((d|0)<=1415671147){y:{a=d+ -1399418468|0;if(a>>>0>4){if((d|0)==1332902241){break y}if((d|0)!=1415670642){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}z:{A:{B:{e=q[b+88>>2];c=q[e+w(a,20)>>2]+ -71296|0;if(c>>>0>6){break B}C:{D:{E:{F:{switch(c-1|0){default:d=q[e+w(d,20)>>2]+ -71341|0;if(d>>>0>8|!(1<>2];G:{if(r[b+69|0]){h=b;H:{if((e|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break H}}if(!Va(b,1,1)){break G}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if((c|0)==71346){break C}break z}f=b;I:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break I}}if(!Va(b,1,1)){break C}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}J:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break J}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break J}K:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break K}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){L:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break L}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break z}if(r[b+69|0]){f=b;M:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break M}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break z}if(r[b+69|0]){f=b;N:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break N}}if(!Va(b,1,1)){break z}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}O:{switch(a-1|0){default:q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}P:{Q:{R:{S:{T:{c=q[b+88>>2];if(q[c+w(a,20)>>2]==70320){d=q[c+w(d,20)>>2];if((d|0)!=70368?d+ -70373>>>0>=4:0){break Q}if(r[b+69|0]){break T}break S}if(r[b+69|0]){f=b;U:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break U}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break P}f=b;V:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break V}}if(!Va(b,1,1)){break R}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}W:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}X:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break X}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Y:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Y}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break P}if(r[b+69|0]){f=b;Z:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Z}}if(!Va(b,1,1)){break P}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b;case 0:case 1:case 2:break a;case 3:break O}}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}_:{$:{aa:{e=q[b+88>>2];c=q[e+w(a,20)>>2]+ -3461|0;if(c>>>0>15){break aa}ba:{ca:{da:{ea:{fa:{switch(c-1|0){case 5:case 9:case 14:c=q[e+w(d,20)>>2]==3551;break ea;case 7:c=q[e+w(d,20)>>2]==3544;break ea;case 11:d=q[e+w(d,20)>>2]+ -3530|0;if(d>>>0>19|!(1<>2]+ -3535>>>0<3}ga:{if(r[b+69|0]){h=b;ha:{if((e|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break ha}}if(!Va(b,1,1)){break ga}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if(c){break ba}break _}f=b;ia:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ia}}if(!Va(b,1,1)){break ba}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}ja:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ja}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ja}ka:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break ka}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){la:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break la}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break _}if(r[b+69|0]){f=b;ma:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ma}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break _}if(r[b+69|0]){f=b;na:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break na}}if(!Va(b,1,1)){break _}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}oa:{pa:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -2821|0;if(c>>>0>14){break pa}d=2878;qa:{switch(c-1|0){case 9:case 13:d=2903;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:break pa;default:break qa}}g=q[h+w(e,20)>>2];ra:{if(r[b+69|0]){f=b;sa:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break sa}}if(!Va(b,1,1)){break ra}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break oa}ta:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ta}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break ta}ua:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break ua}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){va:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break va}}if(!Va(b,1,1)){break oa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break oa}if(r[b+69|0]){f=b;wa:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break wa}}if(!Va(b,1,1)){break oa}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}if((d|0)!=1415671148){if((d|0)!=1415933045){if((d|0)!=1416196712){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}xa:{ya:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -70785|0;za:{if(c>>>0>12){if((e|0)!=70826){break ya}c=q[g+w(d,20)>>2]+ -70837>>>0<2;break za}Aa:{switch(c-1|0){default:c=q[g+w(d,20)>>2]==70832;break za;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:break ya;case 9:case 11:break Aa}}c=q[g+w(d,20)>>2]==70842}Ba:{if(r[b+69|0]){h=b;Ca:{if((g|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break Ca}}if(!Va(b,1,1)){break Ba}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if(!c){break xa}Da:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Da}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Da}Ea:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Ea}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Fa:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Fa}}if(!Va(b,1,1)){break xa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break xa}if(r[b+69|0]){f=b;Ga:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ga}}if(!Va(b,1,1)){break xa}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Ha:{Ia:{Ja:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -3135|0;Ka:{if(!(c>>>0>11|!(1<>2];La:{if(r[b+69|0]){f=b;Ma:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ma}}if(!Va(b,1,1)){break La}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)==3157){break Ka}break Ha}if((e|0)!=3090){break Ja}d=q[g+w(d,20)>>2]+ -3148|0;if(d>>>0>9){break Ia}Na:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ia;default:break Na}}if(r[b+69|0]){f=b;Oa:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Oa}}if(!Va(b,1,1)){break Ka}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Pa:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Pa}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Pa}Qa:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Qa}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ra:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ra}}if(!Va(b,1,1)){break Ha}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Ha}if(r[b+69|0]){f=b;Sa:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Sa}}if(!Va(b,1,1)){break Ha}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Ha}if(r[b+69|0]){f=b;Ta:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ta}}if(!Va(b,1,1)){break Ha}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}c=q[b+88>>2];if(!(q[c+w(a,20)>>2]!=2949|q[c+w(d,20)>>2]!=3010)){Ua:{if(r[b+69|0]){f=b;Va:{if((c|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Va}}if(!Va(b,1,1)){break Ua}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Wa:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Wa}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Wa}Xa:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Xa}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407}Ya:{if(r[b+69|0]){Za:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Za}}if(!Va(b,1,1)){a=q[b+72>>2];break Ya}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}a=q[b+72>>2]+1|0;q[b+72>>2]=a}d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)<=1298954604){if((d|0)!=1198879349){if((d|0)!=1265525857){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}e=1;while(1){if(!r[b+68|0]){break b}_a:{$a:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -3209|0;if(c>>>0>9){break $a}d=3262;ab:{switch(c-1|0){case 8:d=3276;break;case 0:case 2:case 3:case 4:case 5:case 6:case 7:break $a;default:break ab}}g=q[h+w(e,20)>>2];bb:{if(r[b+69|0]){f=b;cb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break cb}}if(!Va(b,1,1)){break bb}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[e>>2];q[h+4>>2]=a;q[h+16>>2]=q[e+16>>2];a=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((d|0)!=(g|0)){break _a}db:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break db}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break db}eb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break eb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){fb:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break fb}}if(!Va(b,1,1)){break _a}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break _a}if(r[b+69|0]){f=b;gb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break gb}}if(!Va(b,1,1)){break _a}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];e=a+1|0;if(e>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}hb:{ib:{g=q[b+88>>2];e=q[g+w(a,20)>>2];c=e+ -2674|0;jb:{if(c>>>0>1){kb:{if((e|0)==2565){d=q[g+w(d,20)>>2]+ -2622|0;if(d>>>0>14|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break lb}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break jb}if(r[b+69|0]){f=b;mb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break mb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}if(r[b+69|0]){f=b;nb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break nb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}if(!(c-1)){d=q[g+w(d,20)>>2]+ -2625|0;if(!(d>>>0>10|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break ob}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break jb}if(r[b+69|0]){f=b;pb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break pb}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hb}d=q[g+w(d,20)>>2]+ -2623|0;if(d>>>0>8|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break qb}}if(!Va(b,1,1)){break jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}rb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break rb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break rb}sb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break sb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){tb:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break tb}}if(!Va(b,1,1)){break hb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break hb}if(r[b+69|0]){f=b;ub:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ub}}if(!Va(b,1,1)){break hb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)!=1298954605){if((d|0)!=1299145833){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}e=q[b+88>>2];vb:{if((q[e+w(a,20)>>2]&-2)==71168){c=q[e+w(d,20)>>2]+ -71225|0;wb:{if(r[b+69|0]){h=b;xb:{if((e|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break xb}}if(!Va(b,1,1)){break wb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if(c>>>0>1){break vb}yb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break yb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break yb}zb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break zb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ab:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ab}}if(!Va(b,1,1)){break vb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break vb}if(r[b+69|0]){f=b;Bb:{if((e|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Bb}}if(!Va(b,1,1)){break vb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Cb:{Db:{Eb:{h=q[b+88>>2];c=q[h+w(a,20)>>2]+ -3335|0;if(c>>>0>11){break Eb}e=3415;Fb:{Gb:{Hb:{Ib:{switch(c-1|0){case 10:d=q[h+w(d,20)>>2];if((d|0)!=3415?(d|0)!=3390:0){break Db}if(r[b+69|0]){break Hb}break Gb;case 6:e=3398;break;case 0:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Eb;default:break Ib}}g=q[h+w(d,20)>>2];Jb:{if(r[b+69|0]){f=b;Kb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Kb}}if(!Va(b,1,1)){break Jb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];h=q[b+92>>2]+w(q[b+80>>2],20)|0;q[h>>2]=q[c>>2];q[h+4>>2]=a;q[h+16>>2]=q[c+16>>2];a=q[c+12>>2];q[h+8>>2]=q[c+8>>2];q[h+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)==(g|0)){break Fb}break Cb}f=b;Lb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Lb}}if(!Va(b,1,1)){break Fb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Mb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Mb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Mb}Nb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Nb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){Ob:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break Ob}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Cb}if(r[b+69|0]){f=b;Pb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Pb}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Cb}if(r[b+69|0]){f=b;Qb:{if((h|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Qb}}if(!Va(b,1,1)){break Cb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}if((d|0)!=1147500129){if((d|0)!=1198877298){break a}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}Rb:{Sb:{Tb:{g=q[b+88>>2];c=q[g+w(a,20)>>2];Ub:{if((c|0)!=2757){if((c|0)!=2693){break Tb}d=q[g+w(d,20)>>2]+ -2750|0;if(d>>>0>14|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break Vb}}if(!Va(b,1,1)){break Ub}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Ub}e=q[g+w(d,20)>>2];Wb:{if(r[b+69|0]){f=b;Xb:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Xb}}if(!Va(b,1,1)){break Wb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)!=2750){break Rb}}Yb:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Yb}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Yb}Zb:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break Zb}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){_b:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break _b}}if(!Va(b,1,1)){break Rb}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break Rb}if(r[b+69|0]){f=b;$b:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break $b}}if(!Va(b,1,1)){break Rb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break Rb}if(r[b+69|0]){f=b;ac:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break ac}}if(!Va(b,1,1)){break Rb}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}break b}q[b+72>>2]=0;a=0;if(i>>>0<2){break b}d=1;while(1){if(!r[b+68|0]){break b}bc:{cc:{dc:{ec:{fc:{gc:{g=q[b+88>>2];c=q[g+w(a,20)>>2]+ -2309|0;if(c>>>0>43){break gc}hc:{ic:{jc:{switch(c-1|0){default:d=q[g+w(d,20)>>2]+ -2362|0;if(d>>>0>29|!(1<>2]){c=a;if(q[b+80>>2]==(a|0)){break kc}}if(!Va(b,1,1)){break hc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hc;case 0:d=q[g+w(d,20)>>2];if((d|0)!=2362?d+ -2373>>>0>=4:0){break dc}if(r[b+69|0]){f=b;lc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break lc}}if(!Va(b,1,1)){break hc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break hc;case 9:c=q[g+w(d,20)>>2]+ -2373>>>0<3;break ic;case 42:if(q[g+w(d,20)>>2]!=2381){break ec}d=a+2|0;if(d>>>0>=i>>>0){break fc}e=q[g+w(d,20)>>2];mc:{if(r[b+69|0]){f=b;nc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break nc}}if(!Va(b,1,1)){break mc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[c>>2];q[g+4>>2]=a;q[g+16>>2]=q[c+16>>2];a=q[c+12>>2];q[g+8>>2]=q[c+8>>2];q[g+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}if((e|0)!=2311){break bc}oc:{if(r[b+69|0]){pc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break pc}}if(!Va(b,1,1)){break oc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}qc:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break qc}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break qc}rc:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break rc}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){sc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break sc}}if(!Va(b,1,1)){break bc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break bc;case 1:case 2:case 4:case 5:case 6:case 7:case 8: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:case 36:case 37:case 38:case 39:case 40:case 41:break gc;case 3:break jc}}c=q[g+w(d,20)>>2]==2369}tc:{if(r[b+69|0]){h=b;uc:{if((g|0)==q[b+92>>2]){f=a;if(q[b+80>>2]==(a|0)){break uc}}if(!Va(b,1,1)){break tc}e=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[e+4>>2];g=q[b+92>>2]+w(q[b+80>>2],20)|0;q[g>>2]=q[e>>2];q[g+4>>2]=a;q[g+16>>2]=q[e+16>>2];a=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=a;a=q[b+72>>2];f=q[b+80>>2]}q[h+80>>2]=f+1}q[b+72>>2]=a+1}if(!c){break bc}}vc:{if(!Va(b,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break vc}c=q[b+72>>2];a=q[b+76>>2];if(!(q[b+80>>2]|(c|0)!=(a|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break vc}wc:{if(c>>>0>>0){a=q[b+80>>2];d=q[b+92>>2];c=q[b+88>>2]+w(c,20)|0;break wc}d=q[b+92>>2];a=q[b+80>>2];c=(d+w(a,20)|0)+ -20|0}d=w(a,20)+d|0;a=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=a;q[d+16>>2]=q[c+16>>2];a=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=a;d=q[b+80>>2];a=q[b+92>>2]+w(d,20)|0;q[a>>2]=9676;q[b+80>>2]=d+1}p[a+16>>1]=s[a+16>>1]&65407;if(r[b+69|0]){xc:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break xc}}if(!Va(b,1,1)){break bc}d=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[d+4>>2];c=q[b+92>>2]+w(q[b+80>>2],20)|0;q[c>>2]=q[d>>2];q[c+4>>2]=a;q[c+16>>2]=q[d+16>>2];a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break bc}if(r[b+69|0]){f=b;yc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break yc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;zc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break zc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Ac:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ac}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Bc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Bc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1;break bc}if(r[b+69|0]){f=b;Cc:{if((g|0)==q[b+92>>2]){c=a;if(q[b+80>>2]==(a|0)){break Cc}}if(!Va(b,1,1)){break bc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}a=q[b+72>>2];d=a+1|0;if(d>>>0>>0){continue}break}}Dc:{if(a>>>0>=i>>>0){break Dc}if(r[b+69|0]){f=b;Ec:{if(q[b+92>>2]==q[b+88>>2]){c=a;if(q[b+80>>2]==(a|0)){break Ec}}if(!Va(b,1,1)){break Dc}c=q[b+88>>2]+w(q[b+72>>2],20)|0;a=q[c+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[c>>2];q[e+4>>2]=a;q[e+16>>2]=q[c+16>>2];a=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=a;a=q[b+72>>2];c=q[b+80>>2]}q[f+80>>2]=c+1}q[b+72>>2]=a+1}Kc(b)}}function jO(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=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;m=Da-224|0;Da=m;a:{if(q[b+24>>2]>=q[q[a+160>>2]>>2]){hb(q[a>>2],2,355779,0);break a}if(!q[b+48>>2]){hb(q[a>>2],2,355794,0);break a}Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+208>>2]=b;q[a+288>>2]=0;q[a+216>>2]=0;q[a+692>>2]=0;e=q[a+160>>2];q[a+520>>2]=q[e+56>>2];q[a+400>>2]=0;q[a+404>>2]=0;q[a+296>>2]=0;q[a+300>>2]=0;q[a+304>>2]=0;q[a+308>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=0;q[a+324>>2]=0;o[a+328|0]=0;q[a+408>>2]=q[e+36>>2];q[a+412>>2]=q[e+40>>2];q[a+420>>2]=0;q[a+456>>2]=0;q[a+492>>2]=0;q[a+484>>2]=0;q[a+488>>2]=0;q[a+464>>2]=0;q[a+468>>2]=0;p[a+416>>1]=256;_N(a,b);e=a;if(q[a+288>>2]){d=1}else{d=(XN(q[b+48>>2])|0)!=0}q[e+536>>2]=d;ul(a,0);e=q[a+212>>2];q[a+236>>2]=q[e+104>>2];q[a+240>>2]=q[e+136>>2];j=q[b+48>>2];q[m+64>>2]=j;la=a+688|0;while(1){b:{e=r[j|0];d=(e|0)==123;c:{if(!d){if(!e){break b}break c}e=Pb(j,125);if(!e){break c}e=Hr(a,j,e,1,0);q[m+64>>2]=e;if(r[e|0]==125){j=e+1|0;q[m+64>>2]=j;continue}I(355865,355697,1866,355875);F()}d:{if(q[a+456>>2]){d=d?j+1|0:j;while(1){e=r[d|0];if(!(!e|(e|0)==123)){d=d+1|0;continue}break}e=Fg(j,d-j|0);q[m+64>>2]=d;l=65532;break d}e=0;l=YN(a,m- -64|0);if(!l){break b}}if(!q[a+220>>2]){Cb(0);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;La(e);break a}d=q[a+692>>2];j=q[a+720>>2];e:{if((d|0)<(j|0)){j=q[la>>2];break e}q[a+720>>2]=j<<1;j=db(q[a+688>>2],w(j,672));q[a+688>>2]=j;d=q[a+692>>2]}d=Na(w(d,336)+j|0,0,336);f:{if(e){q[d+32>>2]=e;q[d+36>>2]=q[a+456>>2];j=d;h=v[a+464>>3];g:{if(y(h)<2147483648){s=~~h;break g}s=-2147483648}q[j+40>>2]=s;q[d>>2]=l;q[d+8>>2]=q[a+220>>2];break f}q[d>>2]=l;j=q[a+220>>2];q[d+8>>2]=j;ke(j)}s=q[a+384>>2];q[m+176>>2]=s;j=d;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+116>>2]=s;s=q[a+388>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>0){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+120>>2]=s;s=q[a+392>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+124>>2]=s;s=q[a+396>>2];q[m+176>>2]=s;x=q[a+420>>2];if((x|0)>=1){Ai(m+176|0,255-((w(255-x|0,255-(s&255)|0)>>>0)/255|0)|0);s=q[m+176>>2]}q[j+128>>2]=s;q[d+152>>2]=q[a+484>>2];q[d+156>>2]=q[a+488>>2];q[d+160>>2]=q[a+492>>2];k=v[a+176>>3];u=v[a+224>>3]*k;v[d+24>>3]=u;q[d+172>>2]=o[a+424|0];j=q[a+436>>2];q[d+176>>2]=q[a+432>>2];q[d+180>>2]=j;j=q[a+444>>2];q[d+184>>2]=q[a+440>>2];q[d+188>>2]=j;j=q[a+452>>2];q[d+192>>2]=q[a+448>>2];q[d+196>>2]=j;K=q[a+340>>2];G=q[a+336>>2];q[d+240>>2]=G;q[d+244>>2]=K;j=q[a+348>>2];t=j;x=q[a+344>>2];q[d+248>>2]=x;q[d+252>>2]=j;q[d+264>>2]=q[a+360>>2];j=q[a+372>>2];q[d+272>>2]=q[a+368>>2];q[d+276>>2]=j;j=q[a+380>>2];q[d+280>>2]=q[a+376>>2];q[d+284>>2]=j;J=q[a+356>>2];s=q[a+352>>2];q[d+288>>2]=s;q[d+292>>2]=J;q[d+304>>2]=q[a+508>>2];q[d+300>>2]=q[a+512>>2];j=q[a+232>>2];q[d+308>>2]=j;f(0,G|0);f(1,K|0);H=+g();f(0,s|0);f(1,J|0);h=+g();if(!(!q[q[d+8>>2]+12>>2]|l>>>0<753)){q[d+308>>2]=j|4}j=q[a+252>>2];q[d+200>>2]=q[a+248>>2];q[d+204>>2]=j;j=q[a+260>>2];q[d+208>>2]=q[a+256>>2];q[d+212>>2]=j;j=q[a+268>>2];q[d+216>>2]=q[a+264>>2];q[d+220>>2]=j;j=q[a+276>>2];q[d+224>>2]=q[a+272>>2];q[d+228>>2]=j;s=q[a+280>>2];l=q[a+284>>2];j=d;h=k*h*H*64;h:{if(y(h)<2147483648){J=~~h;break h}J=-2147483648}q[j+296>>2]=J;q[d+232>>2]=s;q[d+236>>2]=l;q[d+256>>2]=0;q[d+260>>2]=1072693248;if(!e){f(0,x|0);f(1,t|0);k=+g();h=q[a+88>>2]?u*k:256;u=u/h;v[d+256>>3]=1/u;v[d+240>>3]=u*H;v[d+248>>3]=u*k;v[d+24>>3]=h}q[a+492>>2]=0;q[a+484>>2]=0;q[a+488>>2]=0;q[a+692>>2]=q[a+692>>2]+1;j=q[m+64>>2];continue}break}if(!q[a+692>>2]){Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;break a}q[q[a+116>>2]+28>>2]=q[a+524>>2]==-1?64:272;HN(a,q[a+688>>2],q[a+692>>2]);if((GN(q[a+116>>2],la)|0)<=-1){hb(q[a>>2],1,355806,0);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){d=0;while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0;break a}i:{if(q[a+692>>2]<1){break i}x=q[a+688>>2];l=0;while(1){if(x){d=x+w(l,336)|0;while(1){s=d;j:{k:{l:{e=q[d+32>>2];if(e){q[m+72>>2]=e;q[m+64>>2]=1;e=ed(q[a+740>>2],m- -64|0,a);if(r[e|0]?e:0){break l}Cb(e);break j}q[m+64>>2]=0;q[m+72>>2]=q[d+8>>2];e=q[d+28>>2];q[m+80>>2]=q[d+24>>2];q[m+84>>2]=e;q[m+88>>2]=q[d+12>>2];q[m+92>>2]=q[d+16>>2];q[m+96>>2]=q[d+304>>2];q[m+100>>2]=q[d+300>>2];q[m+104>>2]=q[d+308>>2];e=ed(q[a+740>>2],m- -64|0,a);if(!(!e|!r[e|0])){j=q[e+76>>2];C=q[e+72>>2];h=v[d+248>>3];D=0;k=v[d+240>>3];break k}Cb(e);break j}k=v[a+176>>3]/+(1<>2]+ -1);h=v[d+248>>3]*k;j=q[d+40>>2]<<6;C=q[e+72>>2]-j|0;D=h*+(0-C|0);k=v[d+240>>3]*k}v[s+48>>3]=k;q[d+44>>2]=e;v[d+72>>3]=D;s=d- -64|0;q[s>>2]=0;q[s+4>>2]=0;v[d+56>>3]=h;ua=d,va=gc(k*+q[e+52>>2]+0),q[ua+80>>2]=va;ua=d,va=gc(D+h*+q[e+56>>2]),q[ua+84>>2]=va;ua=d,va=gc(k*+q[e+60>>2]+0),q[ua+88>>2]=va;ua=d,va=gc(D+h*+q[e+64>>2]),q[ua+92>>2]=va;if(!(q[a+92>>2]?!q[d+32>>2]:0)){e=q[e+68>>2];q[d+144>>2]=0;q[d+136>>2]=0;e=gc(k*+(e|0));q[d+140>>2]=e;q[d+132>>2]=e}ua=d,va=gc(h*+(j|0)),q[ua+168>>2]=va;ua=d,va=gc(h*+(C|0)),q[ua+164>>2]=va}d=q[d+332>>2];if(d){continue}break}}m:{if(!l){break m}d=l+ -1|0;if(q[(x+w(l,336)|0)+300>>2]|!q[(x+w(d,336)|0)+300>>2]){break m}j=0;n:{if(!d){break n}while(1){e=x+w(d,336)|0;if(q[e+88>>2]!=q[e+80>>2]){j=d;break n}if(!q[e+300>>2]){j=d;break n}d=d+ -1|0;if(d){continue}break}}d=x+w(j,336)|0;e=q[d+88>>2];if((e|0)<=q[d+140>>2]){break m}q[d+140>>2]=e}d=x+w(l,336)|0;j=q[d+140>>2]+q[d+296>>2]|0;q[d+140>>2]=j;e=d;h=v[d+232>>3]/v[d+240>>3]*v[d+248>>3]*+(j|0)+ +q[d+144>>2];o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}q[e+144>>2]=d;l=l+1|0;t=q[a+692>>2];if((l|0)<(t|0)){continue}break}if((t|0)<1){break i}x=q[a+688>>2];if(!x){break i}l=0;while(1){s=w(l,336);d=s+x|0;e=i;j=A;while(1){q[d+96>>2]=e;q[d+100>>2]=j;e=q[d+132>>2]+e|0;j=q[d+136>>2]+j|0;d=q[d+332>>2];if(d){continue}break}e=s+x|0;i=q[e+140>>2]+i|0;A=q[e+144>>2]+A|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}ZN(a);J=q[a+236>>2];d=q[b+32>>2];if(!d){d=q[q[a+212>>2]+108>>2]}e=q[b+36>>2];if(!e){e=q[q[a+212>>2]+112>>2]}O=q[b+40>>2];if(!O){O=q[q[a+212>>2]+116>>2]}i=q[q[a+160>>2]+36>>2];h=+(i-e|0);p:{if(q[a+536>>2]){u=+q[a+148>>2];H=h*u;h=v[a+184>>3];k=+(i|0);D=+q[a- -64>>2];M=H/h/k+D;E=+(d|0);u=E*u;break p}u=+q[a+156>>2];H=h*u;h=v[a+184>>3];k=+(i|0);e=q[a- -64>>2];D=+(((e|0)>0?e:0)|0);M=H/h/k+D;E=+(d|0);u=E*u}z=M-(u/h/k+D);q:{r:{s:{t:{u:{if(q[a+288>>2]!=2){q[a+700>>2]=1;A=q[a+692>>2];if((A|0)<1){break u}i=-1;d=0;e=q[a+688>>2];l=e;while(1){j=w(d,336)+e|0;e=q[j>>2];v:{if((e|0)==32){i=d;break v}w:{x:{if((e|0)==10){e=q[a>>2];q[m+16>>2]=d;hb(e,7,355888,m+16|0);s=2;e=d;break x}if(+(q[j+96>>2]+q[j+88>>2]|0)*.015625- +(q[l+96>>2]+q[l+80>>2]|0)*.015625>=z^1|q[a+520>>2]==2){break v}if((i|0)>=0){e=q[a>>2];q[m>>2]=i;hb(e,7,355912,m);s=1;e=i;break x}s=1;e=i;if((e|0)==-1){break w}}j=q[a+724>>2];if(q[a+700>>2]>=(j|0)){q[a+724>>2]=j<<1;ua=a,va=db(q[a+696>>2],w(j,48)),q[ua+696>>2]=va}e=e+1|0;A=q[a+692>>2];if((e|0)>=(A|0)){break v}l=q[a+688>>2]+w(e,336)|0;o[l+112|0]=s;q[a+700>>2]=q[a+700>>2]+1}i=-1}d=d+1|0;if((d|0)>=(A|0)){break u}e=q[a+688>>2];continue}}e=q[a+696>>2];q[e+16>>2]=0;q[e+20>>2]=q[a+692>>2];q[a+700>>2]=1;Mr(a);break t}y:{if(q[a+520>>2]==1){break y}C=0;if((A|0)<0){break y}s=1;e=0;t=q[a+688>>2];l=t;while(1){z:{G=(A|0)==(C|0);d=w(C,336);if(!(r[(d+t|0)+112|0]?0:!G)){i=d+t|0;A:{if(!e){x=s;break A}d=l;if(r[d+112|0]!=1){x=s;break A}B:{while(1){d=d+ -336|0;if(d>>>0<=e>>>0){break B}if(q[d>>2]==32){continue}break}while(1){d=d+ -336|0;if(d>>>0<=e>>>0){break B}if(q[d>>2]!=32){continue}break}}j=d;C:{if(d>>>0<=e>>>0){break C}while(1){if(q[j>>2]!=32){break C}j=j+ -336|0;if(j>>>0>e>>>0){continue}break}}x=s;s=q[i+ -240>>2]+q[i+ -248>>2]|0;d=q[d>>2]==32?d+336|0:d;k=+((s-q[d+80>>2]|0)-q[d+96>>2]|0)*.015625;e=q[e+96>>2]+q[e+80>>2]|0;h=+(q[j+96>>2]+(q[j+88>>2]-e|0)|0)*.015625;u=h>2]|0)-q[l+96>>2]|0)*.015625;h=+((q[l+ -240>>2]+q[l+ -248>>2]|0)-e|0)*.015625;if(!(u<(h>2]=q[a+700>>2]+ -1}if(!e){o[d+112|0]=1}x=0;o[l+112|0]=0}if(G){break z}e=l;s=x;l=i}C=C+1|0;continue}s=1;C=0;e=0;l=t;if(!x){continue}break}}if(q[a+700>>2]<=0){break s}Mr(a);j=q[a+688>>2];s=q[a+692>>2];e=s+ -1|0;D:{if(e){while(1){i=j+w(e,336)|0;d=q[i>>2];if(!(((d|0)!=10?(d|0)!=32:0)|r[i+112|0])){q[i+4>>2]=q[i+4>>2]+1;e=e+ -1|0;if(e){continue}}break}A=1;if((s|0)<1){break D}}e=0;d=j;while(1){i=q[d>>2];if(!(r[d+112|0]|((i|0)!=10?(i|0)!=32:0))){q[d+4>>2]=q[d+4>>2]+1;e=e+1|0;d=j+w(e,336)|0;if((e|0)!=(s|0)){continue}}break}A=0;while(1){l=j+w(A,336)|0;E:{if(!r[l+112|0]){break E}e=A+ -1|0;F:{if(!e){break F}while(1){i=j+w(e,336)|0;d=q[i>>2];if(((d|0)!=10?(d|0)!=32:0)|r[i+112|0]){break F}q[i+4>>2]=q[i+4>>2]+1;e=e+ -1|0;if(e){continue}break}}e=q[l>>2];if((e|0)!=10?(e|0)!=32:0){break E}q[l+4>>2]=q[l+4>>2]+1;e=A+1|0;G:{if((e|0)>=(s|0)){break G}while(1){i=j+w(e,336)|0;d=q[i>>2];if(((d|0)!=10?(d|0)!=32:0)|r[i+112|0]){break G}q[i+4>>2]=q[i+4>>2]+1;e=e+1|0;if((s|0)!=(e|0)){continue}break}e=s}A=e+ -1|0}A=A+1|0;if((A|0)<(s|0)){continue}break}A=1;if((s|0)<1){break D}i=j+w(s,336)|0;d=0;e=j;H:{while(1){if(!q[e+4>>2]){break H}d=d+1|0;e=j+w(d,336)|0;if((d|0)!=(s|0)){continue}break}e=i}k=+(0-q[e+96>>2]|0)*.015625;h=0;d=0;while(1){l=w(d,336);e=l+j|0;I:{if(!r[e+112|0]){l=q[(j+l|0)+96>>2];break I}J:{if((d|0)>=(s|0)){break J}while(1){if(!q[e+4>>2]|q[e>>2]==10){break J}d=d+1|0;e=j+w(d,336)|0;if((d|0)!=(s|0)){continue}break}e=i;d=s}l=q[a+696>>2]+w(A,24)|0;q[l+ -4>>2]=d-q[l+ -8>>2];q[l+16>>2]=d;h=h+(v[l+ -16>>3]+v[l>>3]+v[a+40>>3]);A=A+1|0;l=q[e+96>>2];k=+(0-l|0)*.015625}x=e;u=k*64;K:{if(y(u)<2147483648){t=~~u;break K}t=-2147483648}q[x+96>>2]=t+l;l=e;u=h*64;L:{if(y(u)<2147483648){x=~~u;break L}x=-2147483648}q[l+100>>2]=x+q[e+100>>2];d=d+1|0;if((d|0)<(s|0)){continue}break}}e=q[a+696>>2]+w(A,24)|0;q[e+ -4>>2]=s-q[e+ -8>>2]}t=vN(q[a+116>>2],la);if(!t){break r}A=q[a+692>>2];if((A|0)<1){break q}K=q[a+688>>2];h=0;C=0;k=0;x=1;i=0;s=0;while(1){l=t+(C<<2)|0;G=w(q[l>>2],336);M:{if(r[(K+w(C,336)|0)+112|0]){j=G+K|0;h=+(i|0)-(+(s|0)-k)*(h/v[j+240>>3]*v[j+248>>3]);N:{if(y(h)<2147483648){e=~~h;break N}e=-2147483648}d=q[a+696>>2]+w(x,24)|0;h=v[d+ -16>>3]*64;O:{if(y(h)<2147483648){i=~~h;break O}i=-2147483648}e=e+i|0;h=v[d>>3]*64;P:{if(y(h)<2147483648){i=~~h;break P}i=-2147483648}e=i+e|0;h=v[a+40>>3]*64;Q:{if(y(h)<2147483648){i=~~h;break Q}i=-2147483648}i=i+e|0;x=x+1|0;k=0;s=0;u=v[j+232>>3];break M}e=G+K|0;u=v[e+232>>3];if(h==u){break M}H=+(s|0);h=+(i|0)-(H-k)*(h/v[e+240>>3]*v[e+248>>3]);R:{if(y(h)<2147483648){i=~~h;break R}i=-2147483648}k=H}h=u;if(!q[(G+K|0)+4>>2]){d=G+K|0;e=s;j=i;while(1){q[d+96>>2]=q[d+104>>2]+e;q[d+100>>2]=q[d+108>>2]+j;e=q[d+132>>2]+e|0;j=q[d+136>>2]+j|0;d=q[d+332>>2];if(d){continue}break}e=K+w(q[l>>2],336)|0;s=q[e+140>>2]+s|0;i=q[e+144>>2]+i|0}C=C+1|0;if((C|0)!=(A|0)){continue}break}break q}I(355929,355697,1701,355953);F()}d=0;hb(q[a>>2],1,356018,0);Dr(la);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}A=0;q[a+692>>2]=0}K=q[a+688>>2];S:{T:{s=q[a+288>>2];U:{if((s|0)==2){break U}d=0;M=0;A=q[a+692>>2];if((A|0)<0){break T}x=q[a+236>>2]&3;G=q[a+240>>2];h=0;while(1){i=(d|0)==(A|0);if(!(r[(K+w(d,336)|0)+112|0]?0:!i)){M=M>h?M:h;h=0}V:{if((d|0)>=(A|0)){break V}j=K+w(d,336)|0;if(q[j+4>>2]){break V}W:{e=q[j>>2];if(e>>>0>10){break W}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break W;default:break V}}h=h+ +q[j+140>>2]*.015625}d=d+1|0;if(!i){continue}break}d=-1;l=0;if((x|0)==1){t=G+ -2|0;x=t>>>0>1;while(1){i=(l|0)==(A|0);if(!(r[(K+w(l,336)|0)+112|0]?0:!i)){u=0;X:{if(x){break X}u=(M-h)*.5;if(t-1){break X}u=M-h}h=u;j=d+1|0;Y:{if((j|0)>=(l|0)){break Y}h=h*64;Z:{if(y(h)<2147483648){e=~~h;break Z}e=-2147483648}if(!K){break Y}while(1){d=K+w(j,336)|0;while(1){q[d+96>>2]=e+q[d+96>>2];d=q[d+332>>2];if(d){continue}break}j=j+1|0;if((l|0)!=(j|0)){continue}break}}h=0;d=l+ -1|0}_:{if((l|0)>=(A|0)){break _}j=K+w(l,336)|0;if(q[j+4>>2]){break _}$:{e=q[j>>2];if(e>>>0>10){break $}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break $;default:break _}}h=h+ +q[j+140>>2]*.015625}l=l+1|0;if(!i){continue}break}break U}H=z-M;u=H*.5;S=M+u;t=x+ -2|0;x=t>>>0>1;while(1){i=l;if(!(r[(K+w(i,336)|0)+112|0]?0:(i|0)!=(A|0))){aa:{if(x){k=0;break aa}if(!(t-1)){e=G+ -1|0;if(e>>>0<=1){k=H;if(e-1){break aa}k=H+(M-h)*.5;break aa}k=z-h;break aa}ba:{e=G+ -1|0;if(e>>>0>2){break ba}k=u;ca:{switch(e-1|0){case 0:break ba;case 1:break ca;default:break aa}}k=S-h;break aa}k=(z-h)*.5}j=d+1|0;da:{if((j|0)>=(i|0)){break da}h=k*64;ea:{if(y(h)<2147483648){e=~~h;if(K){break ea}break da}e=-2147483648;if(!K){break da}}while(1){d=K+w(j,336)|0;while(1){q[d+96>>2]=q[d+96>>2]+e;d=q[d+332>>2];if(d){continue}break}j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=i+ -1|0;h=0}fa:{if((i|0)>=(A|0)){break fa}j=K+w(i,336)|0;if(q[j+4>>2]){break fa}ga:{e=q[j>>2];if(e>>>0>10){break ga}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break ga;default:break fa}}h=h+ +q[j+140>>2]*.015625}l=i+1|0;if((i|0)!=(A|0)){continue}break}}if((A|0)<1){M=0;break T}z=v[a+712>>3];u=v[q[a+696>>2]>>3];k=+q[K+100>>2];d=0;S=-32e3;M=32e3;while(1){e=K+w(d,336)|0;if(!q[e+4>>2]){H=+q[e+96>>2]*.015625;h=H+ +q[e+140>>2]*.015625;S=S>h?S:h;M=M>H?H:M}d=d+1|0;if((A|0)!=(d|0)){continue}break}H=k*.015625-u;u=H+z;break S}H=0;S=0;u=0}P=J&12;ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{d=s>>>0>3;pa:{if(d){break pa}qa:{ra:{switch(s-1|0){default:if(!q[a+536>>2]){break qa}X=E*+q[a+148>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2]+ +q[a- -64>>2];break pa;case 0:break pa;case 1:break ra}}e=q[a+496>>2];if(e>>>0>1){break na}if(!(e-1)){e=q[q[a+160>>2]+36>>2];h=+(e-q[a+500>>2]|0);if(!q[a+536>>2]){break oa}X=h*+q[a+148>>2]/v[a+184>>3]/+(e|0)+ +q[a- -64>>2];break na}h=+q[a+500>>2];sa:{if(q[a+536>>2]){h=h*+q[a+148>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2];e=q[a- -64>>2];break sa}h=h*+q[a+156>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2];e=q[a- -64>>2];e=(e|0)>0?e:0}X=h+ +(e|0)-(S-M);break na}e=q[a- -64>>2];X=E*+q[a+156>>2]/v[a+184>>3]/+q[q[a+160>>2]+36>>2]+ +(((e|0)>0?e:0)|0)}if(d){break ja}switch(s-1|0){case 0:break ja;case 2:break ma;default:break na}}h=h*+q[a+156>>2]/v[a+184>>3]/+(e|0);e=q[a- -64>>2];X=h+ +(((e|0)>0?e:0)|0)}ta:{e=P+ -4|0;if(e>>>0>4){break ta}ua:{switch(e-1|0){default:h=+(O|0);k=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2]+ +q[a+56>>2];va:{if(q[a+536>>2]){break va}h=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2];k=h;if(q[a+72>>2]){break va}e=q[a+56>>2];k=h+ +(((e|0)>0?e:0)|0)}V=k+v[q[a+696>>2]>>3];break ja;case 0:case 1:case 2:break ta;case 3:break ua}}k=+q[q[a+160>>2]+40>>2];h=k*.5;wa:{if(q[a+536>>2]){d=a+144|0;e=q[a+56>>2];break wa}d=a+152|0;e=q[a+56>>2];e=(e|0)>0?e:0}V=h*+q[d>>2]/k+ +(e|0)+(H+u)*-.5;break ja}k=0;d=q[a+536>>2];if(!d){k=v[a+48>>3]}if(P){hb(q[a>>2],6,355827,0);d=q[a+536>>2]}e=q[q[a+160>>2]+40>>2];L=+(e-O|0);if(d){break la}h=L;L=+q[a+152>>2];E=+(e|0);e=q[a+56>>2];z=+(((e|0)>0?e:0)|0);h=h*L/E+z;if(q[a+72>>2]){e=q[a+60>>2];h=h+ +(((e|0)>0?e:0)|0);D=L*0/E;break ka}D=L*0/E+z;break ka}e=q[a+496>>2]+ -2|0;if(e>>>0>1){break ia}if(e-1){h=+(q[a+500>>2]+q[a+404>>2]|0);xa:{if(q[a+536>>2]){h=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2];e=q[a+56>>2];break xa}h=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2];e=q[a+56>>2];e=(e|0)>0?e:0}V=h+ +(e|0)-(u-H);break ia}h=+(q[a+412>>2]-q[a+500>>2]|0);if(q[a+536>>2]){V=h*+q[a+144>>2]/+q[q[a+160>>2]+40>>2]+ +q[a+56>>2];break ia}e=q[a+56>>2];V=h*+q[a+152>>2]/+q[q[a+160>>2]+40>>2]+ +(((e|0)>0?e:0)|0);break ia}E=+q[a+144>>2];z=+(e|0);h=+q[a+56>>2];D=E*0/z+h;h=L*E/z+h}E=v[q[a+696>>2]>>3];z=D+E;h=E+(h+k*(D-h)/100-v[a+712>>3]);V=k>0?h>2]}if(s>>>0>3){break ha}if(s-1){break ia}e=q[a+236>>2];d=e&12;h=0;e=(e&3)+ -1|0;k=0;ya:{if(e>>>0>2){break ya}za:{switch(e-1|0){default:k=M;break ya;case 0:k=(M+S)*.5;break ya;case 1:break za}}k=S}Aa:{if(d>>>0>8){break Aa}Ba:{switch(d-1|0){case 3:h=H;break Aa;case 7:h=(H+u)*.5;break Aa;case 0:case 1:case 2:case 4:case 5:case 6:break Aa;default:break Ba}}h=u}Y=+q[a+148>>2];e=q[a+160>>2];R=+q[e+36>>2];N=+q[a- -64>>2];z=+q[a+400>>2]*Y/R+N;Ca:{if(y(z)<2147483648){i=~~z;break Ca}i=-2147483648}d=q[e+40>>2];q[a+400>>2]=i;e=a;z=Y*+q[a+408>>2]/R+N;Da:{if(y(z)<2147483648){i=~~z;break Da}i=-2147483648}q[e+408>>2]=i;e=a;D=+q[a+144>>2];L=+(d|0);E=+q[a+56>>2];z=+q[a+404>>2]*D/L+E;Ea:{if(y(z)<2147483648){i=~~z;break Ea}i=-2147483648}q[e+404>>2]=i;e=a;z=D*+q[a+412>>2]/L+E;Fa:{if(y(z)<2147483648){i=~~z;break Fa}i=-2147483648}q[e+412>>2]=i;V=v[a+304>>3]*D/L+E-h;X=v[a+296>>3]*Y/v[a+184>>3]/R+N-k;break ha}h=+q[a+400>>2];e=a;i=q[a+536>>2];Ga:{if(i){k=+q[a+148>>2];j=q[a+160>>2];D=+q[j+36>>2];z=h*k/D;h=+q[a- -64>>2];z=z+h;break Ga}k=+q[a+156>>2];j=q[a+160>>2];D=+q[j+36>>2];z=h*k/D;d=q[a- -64>>2];h=+(((d|0)>0?d:0)|0);z=z+h}Ha:{if(y(z)<2147483648){d=~~z;break Ha}d=-2147483648}q[e+400>>2]=d;e=a;h=k*+q[a+408>>2]/D+h;Ia:{if(y(h)<2147483648){d=~~h;break Ia}d=-2147483648}q[e+408>>2]=d;if(P>>>0>8){break ha}Ja:{switch(P-1|0){case 3:h=+q[a+404>>2];e=a;Ka:{La:{Ma:{Na:{if(!i){E=+q[a+152>>2];z=+q[j+40>>2];h=h*E/z;if(!q[a+72>>2]){break La}if(!(y(h)<2147483648)){break Na}d=~~h;break Ma}e=a;E=+q[a+144>>2];z=+q[j+40>>2];k=+q[a+56>>2];h=h*E/z+k;Oa:{if(y(h)<2147483648){i=~~h;break Oa}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k;break Ka}d=-2147483648}q[e+404>>2]=d;h=+q[a+412>>2]*E/z;break Ka}e=a;d=q[a+56>>2];k=+(((d|0)>0?d:0)|0);h=h+k;Pa:{if(y(h)<2147483648){i=~~h;break Pa}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k}if(y(h)<2147483648){q[a+412>>2]=~~h;break ha}q[a+412>>2]=-2147483648;break ha;case 7:h=+q[a+404>>2];e=a;Qa:{if(i){k=+q[a+144>>2];D=+q[j+40>>2];z=h*k/D;h=+q[a+56>>2];z=z+h;break Qa}k=+q[a+152>>2];D=+q[j+40>>2];z=h*k/D;d=q[a+56>>2];h=+(((d|0)>0?d:0)|0);z=z+h}Ra:{if(y(z)<2147483648){i=~~z;break Ra}i=-2147483648}q[e+404>>2]=i;h=k*+q[a+412>>2]/D+h;if(y(h)<2147483648){q[a+412>>2]=~~h;break ha}q[a+412>>2]=-2147483648;break ha;case 0:case 1:case 2:case 4:case 5:case 6:break ha;default:break Ja}}h=+q[a+404>>2];d=a;e=a;Sa:{Ta:{Ua:{if(!i){E=+q[a+152>>2];z=+q[j+40>>2];i=q[a+56>>2];k=+(((i|0)>0?i:0)|0);h=h*E/z+k;j=q[a+72>>2];if(j){i=q[a+60>>2];h=h+ +(((i|0)>0?i:0)|0)}if(!(y(h)<2147483648)){break Ua}i=~~h;break Ta}e=a;E=+q[a+144>>2];z=+q[j+40>>2];k=+q[a+56>>2];h=h*E/z+k;Va:{if(y(h)<2147483648){i=~~h;break Va}i=-2147483648}q[e+404>>2]=i;h=+q[a+412>>2]*E/z+k;break Sa}i=-2147483648}q[e+404>>2]=i;k=+q[a+412>>2]*E/z+k;h=k;if(!j){break Sa}e=q[a+60>>2];h=k+ +(((e|0)>0?e:0)|0)}Wa:{if(y(h)<2147483648){e=~~h;break Wa}e=-2147483648}q[d+412>>2]=e}Xa:{Ya:{if(!q[a+536>>2]){if(!r[a+328|0]){break Ya}d=q[a+160>>2];e=q[a+56>>2];k=v[a+320>>3]*+q[a+152>>2]/+q[d+40>>2]+ +(((e|0)>0?e:0)|0);e=q[a- -64>>2];h=v[a+312>>3]*+q[a+156>>2]/v[a+184>>3]/+q[d+36>>2]+ +(((e|0)>0?e:0)|0);break Xa}D=+q[a+148>>2];e=q[a+160>>2];R=+q[e+36>>2];L=+q[a- -64>>2];k=D*0/R+L;h=+q[a+400>>2];h=k>h?k:h;Za:{if(y(h)<2147483648){i=~~h;break Za}i=-2147483648}d=q[e+40>>2];q[a+400>>2]=i;e=a;E=+q[a+144>>2];N=+(d|0);z=+q[a+56>>2];k=E*0/N+z;h=+q[a+404>>2];h=k>h?k:h;_a:{if(y(h)<2147483648){i=~~h;break _a}i=-2147483648}q[e+404>>2]=i;e=a;k=D*R/R+L;h=+q[a+408>>2];h=k>2]=i;e=a;k=E*N/N+z;h=+q[a+412>>2];h=k>2]=i;if(!r[a+328|0]){break Ya}k=v[a+320>>3]*E/N+z;h=v[a+312>>3]*D/v[a+184>>3]/R+L;break Xa}e=q[a+236>>2];d=e&12;h=0;e=(e&3)+ -1|0;k=0;bb:{if(e>>>0>2){break bb}cb:{switch(e-1|0){default:k=M;break bb;case 0:k=(M+S)*.5;break bb;case 1:break cb}}k=S}z=k;db:{if(d>>>0>8){break db}eb:{switch(d-1|0){case 3:h=H;break db;case 7:h=(H+u)*.5;break db;case 0:case 1:case 2:case 4:case 5:case 6:break db;default:break eb}}h=u}k=V+h;h=X+z}l=q[a+692>>2];j=(l|0)<1;fb:{if(j){break fb}s=q[a+688>>2];k=(V-k)*64;gb:{if(y(k)<2147483648){i=~~k;break gb}i=-2147483648}h=(X-h)*64;hb:{if(y(h)<2147483648){e=~~h;break hb}e=-2147483648}if(!s){break fb}C=0;while(1){d=s+w(C,336)|0;while(1){q[d+316>>2]=e+q[d+96>>2];q[d+320>>2]=i+q[d+100>>2];d=q[d+332>>2];if(d){continue}break}C=C+1|0;if((l|0)!=(C|0)){continue}break}}A=0;ib:{if(j){break ib}u=+q[a- -64>>2];k=v[a+184>>3]*(X-u);x=q[a+704>>2];h=V*64;jb:{if(y(h)<2147483648){s=~~h;break jb}s=-2147483648}ta=k+u;U=m+192|0;K=m+188|0;C=0;e=0;l=0;O=0;while(1){i=q[a+688>>2];d=i+w(O,336)|0;C=r[d+112|0]?1:C;kb:{if(q[d+4>>2]){if(!i){break kb}while(1){Cb(q[d+44>>2]);d=q[d+332>>2];if(d){continue}break}break kb}if(!i){break kb}while(1){G=q[d+264>>2];j=(G|0)==3;k=v[d+272>>3];if(!(v[d+280>>3]==0?k==0:0)){j=j|2}h=v[d+184>>3];lb:{if(v[d+192>>3]==0?h==0:0){break lb}j=j|4;if((j|0)!=4){break lb}j=(r[d+116|0]!=255)<<2}mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{if(!l|C&255|(r[d+148|0]|q[d+32>>2])){break tb}if(q[l+32>>2]){break tb}t=q[l+8>>2];i=q[d+8>>2];if(Ta(q[t>>2],q[i>>2])|q[t+12>>2]!=q[i+12>>2]|(q[l+12>>2]!=q[d+12>>2]|v[l+24>>3]!=v[d+24>>3])){break tb}if(q[l+116>>2]!=q[d+116>>2]|q[l+120>>2]!=q[d+120>>2]|(q[l+124>>2]!=q[d+124>>2]|q[l+128>>2]!=q[d+128>>2])){break tb}if(q[l+172>>2]!=q[d+172>>2]|v[l+176>>3]!=v[d+176>>3]|(v[l+184>>3]!=h|v[l+192>>3]!=v[d+192>>3])){break tb}if(v[l+200>>3]!=v[d+200>>3]|v[l+208>>3]!=v[d+208>>3]|(v[l+216>>3]!=v[d+216>>3]|v[l+224>>3]!=v[d+224>>3])){break tb}if(v[l+232>>3]!=v[d+232>>3]|v[l+240>>3]!=v[d+240>>3]|((G|0)!=q[l+264>>2]|v[l+248>>3]!=v[d+248>>3])){break tb}if(v[l+272>>3]!=k|v[l+280>>3]!=v[d+280>>3]|(q[l+300>>2]!=q[d+300>>2]|v[l+288>>3]!=v[d+288>>3])){break tb}if(q[l+304>>2]!=q[d+304>>2]){break tb}if(!((q[d+308>>2]^q[l+308>>2])&-5)){break sb}}i=q[a+728>>2];if(A>>>0>=i>>>0){q[160942]=0;i=i<<1;ua=a,va=qc(q[a+704>>2],i,84),q[ua+704>>2]=va;if(q[160942]){break qb}q[a+728>>2]=i;x=q[a+704>>2]}i=q[d+120>>2];G=w(A,84);e=G+x|0;q[e+20>>2]=q[d+116>>2];q[e+24>>2]=i;i=q[d+128>>2];q[e+28>>2]=q[d+124>>2];q[e+32>>2]=i;q[e+36>>2]=q[d+152>>2];q[e+40>>2]=q[d+156>>2];i=q[d+88>>2];q[e>>2]=j;q[e+44>>2]=i>>6;q[e+4>>2]=q[d+172>>2];h=v[d+176>>3]*(v[a+200>>3]*.8493218002880191)*.03125;Wf((h+1)*4,m- -64|0);t=q[m+64>>2];ua=e,va=gc(pH(h)*256),q[ua+8>>2]=va;l=0;i=0;if(j&4){J=-1<>1^-1;i=J;k=v[a+192>>3];h=k*v[d+192>>3]*64;ub:{if(y(h)<2147483648){l=~~h;break ub}l=-2147483648}l=i&l+t;h=v[d+184>>3]*k*64;vb:{if(y(h)<2147483648){i=~~h;break vb}i=-2147483648}i=J&i+t}t=x+G|0;q[t+12>>2]=i;q[t+60>>2]=2147483647;q[t+64>>2]=2147483647;q[t+68>>2]=0;q[t+72>>2]=0;q[t+48>>2]=0;q[t+52>>2]=0;q[t+16>>2]=l;q[t+76>>2]=0;q[t+80>>2]=0;i=Sa(1536);q[t+56>>2]=i;if(i){q[t+52>>2]=64;A=A+1|0;break rb}Cb(q[d+44>>2]);l=0;break mb}if(!e){break pb}}ca=v[a+184>>3];J=s+q[d+100>>2]|0;q[d+100>>2]=J;l=d;h=(ta+ca*(+q[d+96>>2]*.015625))*64;wb:{if(y(h)<2147483648){i=~~h;break wb}i=-2147483648}q[l+96>>2]=i;xb:{t=q[d+44>>2];yb:{if(!t){break yb}G=q[e+48>>2];zb:{l=q[d>>2];if(l>>>0>10){break zb}switch(l-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break zb;default:break yb}}if(!q[d+4>>2]){break xb}}Cb(t);break nb}Y=v[d+240>>3];u=v[d+224>>3];N=v[d+248>>3];h=v[d+216>>3];da=Oj(h);ea=Nj(h);h=v[d+208>>3];fa=Nj(h);D=v[d+200>>3];k=Nj(D);ga=Oj(h);na=v[d- -64>>3];oa=v[d+72>>3];C=q[d+320>>2];t=q[d+164>>2];l=q[d+316>>2];L=v[a+200>>3];T=v[d+48>>3];h=v[d+232>>3];aa=u*Y/N;E=ea+da*aa;z=da-ea*aa;Q=-k;H=z*Q;ha=fa*E+ga*H;R=v[d+56>>3];pa=ha*R;v[m+120>>3]=pa;h=N*h/Y;u=da+ea*h;h=da*h-ea;k=h*Q;ia=fa*u+ga*k;qa=T*ia;v[m+112>>3]=qa;N=Oj(D);ma=L*2e4;L=+(J-C|0);Z=N*z*ma+ha*L;ra=R*Z;v[m+96>>3]=ra;_=ma*(N*h)+ia*L;sa=T*_;v[m+88>>3]=sa;h=+(l|0);D=+(i|0)-ca*h;z=ca*ma;ba=D*ha+(ga*E-fa*H)*z;ca=R*ba;v[m+72>>3]=ca;H=T;T=z*(ga*u-fa*k)+D*ia;Y=H*T;v[m+64>>3]=Y;k=+(C|0);h=aa*+(t|0)+h;H=ea*k+da*h;u=da*k-ea*h;k=u*Q;Q=ma+(fa*H+ga*k);h=ia*na+ha*oa+Q;v[m+128>>3]=h;L=ma*(N*u)+Q*L;R=Z*oa+na*_+L;v[m+104>>3]=R;E=z*(ga*H-fa*k)+D*Q;N=ba*oa+na*T+E;v[m+80>>3]=N;q[m+136>>2]=q[d+44>>2];if(!sl(m- -64|0,m+40|0,m+48|0,!G,m+136|0)){Cb(q[d+44>>2]);break nb}i=ed(q[a+744>>2],m+136|0,a);q[d+324>>2]=i;if(!(q[i+20>>2]?i:0)){Cb(i);q[d+324>>2]=0}i=q[m+44>>2];J=i;G=q[m+40>>2];q[m+32>>2]=G;q[m+36>>2]=i;Ab:{if(j&1){if(!(j&6)){break nb}q[m+176>>2]=3;z=v[d+272>>3];l=q[d+132>>2];j=q[d+296>>2];H=v[d+240>>3];u=v[a+192>>3]*64;k=v[d+256>>3];h=k*v[d+248>>3];N=B(u*v[d+280>>3]*h,64);i=q[d+164>>2];D=(h*+(i+q[d+168>>2]|0)+(N+N))*.015625;v[m+120>>3]=ha*D;h=H*k;k=B(z*u*h,64);h=(h*+(j+l|0)+(k+k))*.015625;v[m+112>>3]=ia*h;v[m+96>>3]=Z*D;v[m+88>>3]=_*h;v[m+72>>3]=ba*D;v[m+64>>3]=T*h;h=-N- +(i|0);v[m+104>>3]=L+(Z*h-_*k);v[m+80>>3]=E+(ba*h-T*k);h=Q+(ha*h-ia*k);break Ab}if(!(j&2)){break nb}q[m+176>>2]=2;i=q[d+44>>2];q[m+184>>2]=i;D=v[m+128>>3];k=v[a+192>>3]*64;L=k*v[d+272>>3]/v[d+48>>3];Q=L+64+ +(q[i+60>>2]-q[i+52>>2]|0)*.5;E=y(v[m+112>>3]);z=k*v[d+280>>3]/v[d+56>>3];Z=z+64+ +(q[i- -64>>2]-q[i+56>>2]|0)*.5;H=y(v[m+120>>3]);u=D-Q*E-Z*H;k=D*.0625;_=1/(u>k?u:k);ba=_+_;T=y(v[m+64>>3]);aa=y(v[m+72>>3]);u=T*Q+aa*Z;k=Q;Q=y(v[m+88>>3]);D=y(v[m+96>>3]);k=k*Q+Z*D;k=(u>k?u:k)*_;Wf(ba*((T>Q?T:Q)+E*k),K);Wf(ba*((aa>D?aa:D)+H*k),U);t=q[m+188>>2];l=gc(Qe(L,t)*.0625);q[m+196>>2]=l;j=q[m+192>>2];i=gc(Qe(z,j)*.0625);q[m+200>>2]=i;if(!(i|l)){break ob}l=0-t|0;ua=m,wa=Qe(Y,l),v[ua+64>>3]=wa;v[m+80>>3]=N;i=0-j|0;ua=m,wa=Qe(ca,i),v[ua+72>>3]=wa;ua=m,wa=Qe(sa,l),v[ua+88>>3]=wa;v[m+104>>3]=R;ua=m,wa=Qe(ra,i),v[ua+96>>3]=wa;ua=m,wa=Qe(qa,l),v[ua+112>>3]=wa;ua=m,wa=Qe(pa,i),v[ua+120>>3]=wa}v[m+128>>3]=h;i=ed(q[a+740>>2],m+176|0,a);q[m+136>>2]=i;if(!i){Cb(0);break nb}Bb:{if(r[i|0]){if(sl(m- -64|0,m+32|0,m+48|0,0,m+136|0)){break Bb}i=q[m+136>>2]}Cb(i);break nb}i=ed(q[a+744>>2],m+136|0,a);q[d+328>>2]=i;if(!(q[i+20>>2]?i:0)){Cb(i);q[d+328>>2]=0;q[m+32>>2]=G;q[m+36>>2]=J;break nb}if(q[d+324>>2]){break nb}i=q[m+36>>2];q[m+40>>2]=q[m+32>>2];q[m+44>>2]=i;break nb}Cb(q[d+44>>2]);l=0;break mb}I(356041,355697,2299,356054);F()}ke(q[d+324>>2]);q[d+328>>2]=q[d+324>>2]}C=q[d+324>>2];Cb:{if(!(C|q[d+328>>2])){Cb(0);Cb(q[d+328>>2]);break Cb}j=q[e+48>>2];i=q[e+52>>2];if(j>>>0>=i>>>0){q[160942]=0;i=i<<1;ua=e,va=qc(q[e+56>>2],i,24),q[ua+56>>2]=va;if(q[160942]){Cb(q[d+324>>2]);Cb(q[d+328>>2]);break Cb}q[e+52>>2]=i;C=q[d+324>>2];j=q[e+48>>2]}l=q[e+56>>2]+w(j,24)|0;q[l>>2]=C;q[l+4>>2]=q[d+328>>2];j=q[m+44>>2];i=q[m+40>>2];q[l+8>>2]=i;q[l+12>>2]=j;j=q[m+36>>2];l=q[e+56>>2]+w(q[e+48>>2],24)|0;q[l+16>>2]=q[m+32>>2];q[l+20>>2]=j;q[e+48>>2]=q[e+48>>2]+1;j=q[e+60>>2];q[e+60>>2]=(j|0)>(i|0)?i:j;j=q[m+44>>2];i=q[e+64>>2];q[e+64>>2]=(i|0)>(j|0)?j:i}l=d}C=0;d=q[d+332>>2];if(d){continue}break}}O=O+1|0;if((O|0)>2]){continue}break}if(!A){A=0;break ib}s=0;while(1){J=w(s,84)+x|0;j=J;i=q[j+48>>2];if(i){t=q[J+64>>2];d=q[J+56>>2];l=q[J+60>>2];e=0;while(1){G=d+w(e,24)|0;q[G+8>>2]=q[G+8>>2]-l;q[G+16>>2]=q[G+16>>2]-l;q[G+12>>2]=q[G+12>>2]-t;q[G+20>>2]=q[G+20>>2]-t;e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[m+80>>2]=q[J+16>>2];e=q[J+12>>2];q[m+72>>2]=q[J+8>>2];q[m+76>>2]=e;e=q[J+4>>2];q[m+64>>2]=q[J>>2];q[m+68>>2]=e;q[m+84>>2]=q[j+48>>2];q[m+88>>2]=q[J+56>>2];e=ed(q[a+748>>2],m- -64|0,a);if(e){if(q[e+20>>2]){q[J+68>>2]=e}if(q[e+44>>2]){q[J+72>>2]=e+24}if(q[e+68>>2]){q[J+76>>2]=e+48}q[J+80>>2]=e}s=s+1|0;if((A|0)!=(s|0)){continue}break}}q[a+708>>2]=A;q[c>>2]=0;e=c;h=V-v[q[a+696>>2]>>3];Db:{if(y(h)<2147483648){i=~~h;break Db}i=-2147483648}q[e+4>>2]=i;e=c;h=v[a+712>>3];Eb:{if(y(h)<2147483648){i=~~h;break Eb}i=-2147483648}q[e+8>>2]=i;e=c;k=v[a+184>>3];h=(S-M)*k+.5;Fb:{if(y(h)<2147483648){i=~~h;break Fb}i=-2147483648}q[e+16>>2]=i;e=c;h=X+M*k+.5;Gb:{if(y(h)<2147483648){i=~~h;break Gb}i=-2147483648}q[e+12>>2]=i;e=o[a+417|0];q[c+28>>2]=b;q[c+24>>2]=(P|0)==4?1:-1;q[c+20>>2]=e;l=m+40|0;x=q[a+708>>2];if(x){s=q[a+704>>2];while(1){e=s+w($,84)|0;b=q[e+76>>2];if(!(!b|q[a+360>>2]==4)){l=mg(a,b,q[e+60>>2],q[e+64>>2],q[e+32>>2],0,1e6,l,2,q[e+80>>2])}$=$+1|0;if((x|0)!=($|0)){continue}break}C=0;while(1){e=s+w(C,84)|0;b=q[e+72>>2];if(!(!b|(q[e+40>>2]<=q[e+44>>2]?q[e+36>>2]==3:0))){l=mg(a,b,q[e+60>>2],q[e+64>>2],q[e+28>>2],0,1e6,l,1,q[e+80>>2])}C=C+1|0;if((x|0)!=(C|0)){continue}break}C=0;while(1){t=s+w(C,84)|0;j=q[t+68>>2];Hb:{if(!j){break Hb}e=q[t+36>>2];b=e+ -1|0;if(!(b>>>0>2|!(b-1))){e=q[t+64>>2];b=q[t+60>>2];if(q[t+40>>2]>q[t+44>>2]){l=mg(a,j,b,e,q[t+20>>2],0,1e6,l,0,q[t+80>>2]);break Hb}l=mg(a,j,b,e,q[t+24>>2],0,1e6,l,0,q[t+80>>2]);break Hb}i=q[t+20>>2];d=q[t+64>>2];b=q[t+60>>2];if((e|0)==2){l=mg(a,j,b,d,i,q[t+24>>2],q[t+40>>2],l,0,q[t+80>>2]);break Hb}l=mg(a,j,b,d,i,0,1e6,l,0,q[t+80>>2])}C=C+1|0;if((x|0)!=(C|0)){continue}break}d=0;while(1){Cb(q[(s+w(d,84)|0)+80>>2]);d=d+1|0;if((x|0)!=(d|0)){continue}break}}j=0;q[l>>2]=0;d=q[m+40>>2];e=c;b=q[a+472>>2];if(b){q[m+184>>2]=b;q[m+176>>2]=1;q[m+120>>2]=0;q[m+124>>2]=0;q[m+112>>2]=0;q[m+116>>2]=0;q[m+104>>2]=0;q[m+108>>2]=0;q[m+96>>2]=0;q[m+100>>2]=0;q[m+88>>2]=0;q[m+92>>2]=0;q[m+80>>2]=0;q[m+84>>2]=0;q[m+72>>2]=0;q[m+76>>2]=0;q[m+64>>2]=0;q[m+68>>2]=0;b=q[a+476>>2];k=v[a+184>>3];h=v[a+176>>3];q[m+128>>2]=0;q[m+132>>2]=1072693248;h=h/+(1<>3]=h;v[m+64>>3]=k*h;v[m+80>>3]=q[a+64>>2]<<6;v[m+104>>3]=q[a+56>>2]<<6;b=ed(q[a+740>>2],m+176|0,a);q[m+136>>2]=b;Ib:{if(!b){break Ib}j=b;if(!r[j|0]){break Ib}if(!sl(m- -64|0,m+48|0,0,1,m+136|0)){j=q[m+136>>2];break Ib}Jb:{j=ed(q[a+744>>2],m+136|0,a);if(!j){break Jb}b=q[j+20>>2];if(!b|!d){break Jb}s=q[m+52>>2];l=q[m+48>>2];while(1){C=q[j>>2]+l|0;J=C+q[j+8>>2]|0;i=q[d>>2];P=q[d+20>>2];G=i+P|0;K=q[d+4>>2];O=q[d+24>>2];x=K+O|0;U=s+q[j+4>>2]|0;A=(G|0)<(C|0)|(x|0)<(U|0)|(P|0)>(J|0);$=U+q[j+12>>2]|0;t=(O|0)>(U|0)?O:U;ja=((x|0)<($|0)?x:$)-t|0;x=(P|0)>(C|0)?P:C;W=((G|0)<(J|0)?G:J)-x|0;J=t-U|0;G=x-C|0;C=t-O|0;U=x-P|0;P=q[j+16>>2];ka=q[d+8>>2];t=q[d+12>>2];Kb:{Lb:{if(q[a+480>>2]){if(!W|A|(!ja|(O|0)>($|0))){break Kb}A=oe(32,w(K,ka),0);if(!A){break Jb}va=U+(Qa(A,t,w(ka,K+ -1|0)+i|0)+w(C,ka)|0)|0,xa=ka,ya=G+(w(J,P)+b|0)|0,za=P,Aa=ja,Ba=W,ua=q[q[a+764>>2]+24>>2],n[ua](va|0,xa|0,ya|0,za|0,Aa|0,Ba|0);break Lb}Mb:{if(!(!W|A|(O|0)>($|0))){if(ja){break Mb}}q[d+8>>2]=0;q[d>>2]=0;q[d+4>>2]=0;break Kb}x=(W|0)<16?(W|0)<8?1:8:16;i=0-x|0;i=W>>>0>i>>>0?W:i&(x+W|0)+ -1;A=oe(x,w(i,ja),0);if(!A){break Jb}n[q[q[a+764>>2]+28>>2]](A,i,U+(t+w(C,ka)|0)|0,ka,G+(w(J,P)+b|0)|0,P,W,ja);q[d+8>>2]=i;q[d+4>>2]=ja;q[d>>2]=W;q[d+20>>2]=U+q[d+20>>2];q[d+24>>2]=C+q[d+24>>2]}q[d+12>>2]=A;q[d+40>>2]=A;Cb(q[d+36>>2]);q[d+36>>2]=0}d=q[d+28>>2];if(!d){break Jb}b=q[j+20>>2];continue}}}Cb(j);d=q[m+40>>2]}q[e>>2]=d;Nb:{if(q[a+360>>2]!=4){break Nb}h=0;k=0;u=v[a+440>>3];if(!!(u>0)){k=u*v[a+192>>3]}u=v[a+448>>3];if(!!(u>0)){h=u*v[a+192>>3]}b=q[c+4>>2];u=+(b|0)-h;Ob:{if(y(u)<2147483648){x=~~u;break Ob}x=-2147483648}h=h+ +(b+q[c+8>>2]|0);Pb:{if(y(h)<2147483648){s=~~h;break Pb}s=-2147483648}e=q[a+136>>2];j=e;d=q[c+12>>2];h=+(d|0)-k;Qb:{if(y(h)<2147483648){i=~~h;break Qb}i=-2147483648}b=(i|0)>0?i:0;j=(b|0)>(e|0)?j:b;i=e;h=k+ +(d+q[c+16>>2]|0);Rb:{if(y(h)<2147483648){d=~~h;break Rb}d=-2147483648}b=(d|0)>0?d:0;l=((b|0)>(e|0)?i:b)-j|0;if((l|0)<1){break Nb}e=q[a+140>>2];b=(x|0)>0?x:0;i=(b|0)>(e|0)?e:b;b=(s|0)>0?s:0;d=((b|0)>(e|0)?e:b)-i|0;if((d|0)<1){break Nb}e=w(d,l);b=oe(1,e,0);if(!b){break Nb}e=Na(b,255,e);b=q[a+396>>2];s=Sa(48);if(!s){gd(e);break Nb}q[s+36>>2]=0;q[s+24>>2]=i;q[s+20>>2]=j;q[s+16>>2]=b;q[s+12>>2]=e;q[s+8>>2]=l;q[s+4>>2]=d;q[s>>2]=l;ke(0);q[s+44>>2]=0;q[s+40>>2]=e;q[s+28>>2]=q[c>>2];q[c>>2]=s}Dr(la);Cb(q[a+220>>2]);La(q[a+504>>2]);La(q[a+472>>2]);d=0;q[a+504>>2]=0;q[a+220>>2]=0;q[a+472>>2]=0;C=1;if(q[a+692>>2]>=1){while(1){La(q[(q[a+688>>2]+w(d,336)|0)+32>>2]);d=d+1|0;if((d|0)>2]){continue}break}}q[a+692>>2]=0}Da=m+224|0;return C}function nI(a,b){a=a|0;b=b|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,p=0;f=Da-576|0;Da=f;b=q[a>>2];if(b){d=q[b+4>>2];c=d+ -2|0;a:{if(c>>>0>52){break 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:{switch(c-1|0){default:d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}if(!r[d|0]){_a(a,1,500317,0);break a}e=q[a>>2];ea:{if(!e){break ea}c=q[e+8>>2];if(!c){break ea}b=q[c>>2];if(!b){break ea}fa:{while(1){if(!Ta(b,500351)){o[b|0]=0;e=q[a>>2];g=q[c+4>>2];break fa}b=q[c+8>>2];c=c+8|0;if(b){continue}break}g=0}if(!e){break ea}c=q[e+8>>2];if(!c){break ea}b=q[c>>2];if(!b){break ea}while(1){if(!Ta(b,500358)){o[b|0]=0;i=q[c+4>>2];break ea}b=q[c+8>>2];c=c+8|0;if(b){continue}break}}b=Tp(a,d,g);if(b){ga:{if(q[a+2856>>2]|!r[b|0]){break ga}if(r[b|0]==126){if(!Yh()){break ga}}if(Rp(q[a+16>>2],b,0,i)){break ga}q[f>>2]=b;_a(a,2,500363,f)}uc(q[a>>2]+12|0);La(b);break a}uc(q[a>>2]+12|0);break a;case 0:d=0;c=q[b+8>>2];ha:{if(!c){break ha}b=q[c>>2];if(!b){break ha}while(1){if(Ta(b,500351)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ha}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ha}if(Rd(b,500402)){break ha}d=Pp();if(!d){break a}}b=bg(q[a>>2]+12|0);if(b){if(!r[b|0]){_a(a,1,500522,0);break a}ia:{if(!d){c=b;break ia}e=Wa(d);g=e+1|0;h=Wa(b);i=g+h|0;c=db(d,i+1|0);if(!c){_a(a,2,499215,0);La(d);La(b);break a}o[c+e|0]=47;Qa(c+g|0,b,h);o[c+i|0]=0;La(b);if(!r[c|0]){break ca}}if(q[a+2856>>2]){break b}if(r[c|0]==126){if(!Yh()){break b}}if(mk(q[a+16>>2],c)){break b}q[f+16>>2]=c;_a(a,2,500557,f+16|0);break b}_a(a,2,499215,0);if(!d){break a}La(d);break a;case 1:if(!Qd(b+12|0)){_a(a,2,499215,0);break a}uc(q[a>>2]+12|0);break a;case 2:d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}b=q[a>>2];if(!b){e=1;break d}e=1;c=q[b+8>>2];ja:{if(!c){break ja}b=q[c>>2];if(!b){break ja}while(1){if(Ta(b,500602)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ja}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ja}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+80>>2]=b;_a(a,1,500711,f+80|0)}e=q[f+432>>2]!=1}b=q[a>>2];if(!b){break d}c=q[b+8>>2];h=0;ka:{if(!c){break ka}b=q[c>>2];h=0;if(!b){break ka}la:{while(1){if(!Ta(b,500617)){break la}b=q[c+8>>2];c=c+8|0;if(b){continue}break}h=0;break ka}o[b|0]=0;b=q[c+4>>2];h=0;if(!b){break ka}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+64>>2]=b;_a(a,1,500711,f- -64|0)}h=q[f+432>>2]==1}b=q[a>>2];if(!b){break d}c=q[b+8>>2];if(!c){break d}b=q[c>>2];if(!b){break d}while(1){if(Ta(b,500351)){b=q[c+8>>2];c=c+8|0;if(b){continue}break d}break}o[b|0]=0;b=q[c+4>>2];if(!b){break d}if(Rd(b,500402)){break d}c=bI();if(!c){break a}g=Wa(c);i=g+1|0;j=Wa(d);l=i+j|0;b=db(c,l+1|0);if(b){o[b+g|0]=47;Qa(b+i|0,d,j);j=0;o[b+l|0]=0;if($f(b)){break f}if(zq(b)){break g}if(zL(b)){break f}break g}_a(a,2,499215,0);La(c);break a;case 4:d=0;c=q[b+8>>2];ma:{if(!c){break ma}b=q[c>>2];if(!b){break ma}na:{while(1){if(!Ta(b,500737)){break na}b=q[c+8>>2];c=c+8|0;if(b){continue}break}break ma}o[b|0]=0;b=q[c+4>>2];if(!b){break ma}if(!Ta(b,500744)){break ma}if(Ta(b,500752)){break k}g=1}c=q[a+4>>2];if(!c){break i}while(1){if(q[c+4>>2]!=q[a>>2]){break j}oa:{pa:{b=q[c+8>>2]+ -17|0;if(b>>>0>2){break pa}qa:{switch(b-1|0){default:e=q[c+16>>2];b=Sa(12);ra:{if(!b){b=0;break ra}q[b+8>>2]=e;q[b>>2]=0;q[b+4>>2]=1}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break oa;case 0:break pa;case 1:break qa}}e=q[c+16>>2];b=Sa(12);sa:{if(!b){b=0;break sa}q[b+8>>2]=e;q[b>>2]=0;q[b+4>>2]=2}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break oa}_a(a,1,500842,0)}nd(a);c=q[a+4>>2];if(c){continue}break}break j;case 6:break m;case 7:break n;case 8:break o;case 9:break p;case 10:break q;case 11:break r;case 3:case 14:break a;case 12:break s;case 13:break t;case 20:break u;case 21:break v;case 22:break w;case 23:break x;case 24:break y;case 25:break z;case 26:break A;case 27:break B;case 28:break C;case 29:break D;case 15:case 16:break E;case 17:break F;case 18:break G;case 19:break H;case 30:break I;case 31:break J;case 32:break K;case 33:break L;case 34:break M;case 35:break N;case 36:break O;case 37:break P;case 38:break Q;case 39:break R;case 40:break S;case 41:break T;case 42:break U;case 43:break V;case 44:break W;case 45:break X;case 46:break Y;case 47:break Z;case 48:break _;case 49:break $;case 50:break aa;case 51:break ba;case 5:break da}}ta:{c=q[b+8>>2];ua:{if(!c){break ua}b=q[c>>2];if(!b){break ua}while(1){if(Ta(b,500905)){b=q[c+8>>2];c=c+8|0;if(b){continue}break ua}break}o[b|0]=0;b=q[c+4>>2];if(!b){break ua}if(!Ta(b,501035)){break ua}if(!Ta(b,501040)){j=1;break ua}if(Ta(b,501047)){break ta}j=2}b=q[a+4>>2];if(!b){_a(a,2,501004,0);break a}c=0;while(1){if(q[b+4>>2]==q[a>>2]){va:{wa:{xa:{d=q[b+8>>2]+ -2|0;if(d>>>0>15){break xa}ya:{switch(d-1|0){default:if(h){_a(a,1,500913,0);l=q[b+16>>2];d=Hc(q[a+16>>2]);if(d){q[d+8>>2]=l;q[d>>2]=36;q[d+12>>2]=h;h=d;break wa}_a(a,2,499215,0);break va}h=q[b+16>>2];if(h){break wa}h=0;break va;case 4:if(g){tb(g)}q[b+8>>2]=0;g=q[b+16>>2];break va;case 5:if(i){tb(i)}q[b+8>>2]=0;i=q[b+16>>2];break va;case 6:if(e){tb(e)}q[b+8>>2]=0;e=q[b+16>>2];break va;case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:case 13:break xa;case 14:break ya}}l=q[b+16>>2];d=Sa(12);za:{if(!d){d=0;break za}q[d+8>>2]=l;q[d>>2]=0;q[d+4>>2]=1}if(c){q[d>>2]=c}q[b+8>>2]=0;c=d;break va}_a(a,1,500994,0);break va}q[b+8>>2]=0}nd(a);b=q[a+4>>2];if(b){continue}}break}if(!h){_a(a,2,501004,0);if(g){tb(g)}if(i){tb(i)}if(e){tb(e)}if(!c){break a}while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){Aa:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break Aa}d=q[c+8>>2];e=q[d+8>>2];if(!e){break Aa}tb(e)}La(d)}La(c);c=b;if(b){continue}break}break a}if(!(i|(e|g))){tb(h);if(!c){break a}while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){Ba:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break Ba}d=q[c+8>>2];e=q[d+8>>2];if(!e){break Ba}tb(e)}La(d)}La(c);c=b;if(b){continue}break}break a}d=Sa(20);Ca:{if(!d){break Ca}b=d;q[b>>2]=0;q[b+4>>2]=0;l=qd(501028);q[b+16>>2]=h;q[b+12>>2]=65558;q[b+8>>2]=l;b=$e(Qc(l));if(!b){break Ca}we(a,h,q[b+4>>2])}Da:{if(c){b=c;while(1){h=b;b=q[b>>2];if(b){continue}break}b=Sa(12);if(!b){b=0;q[h>>2]=0;break Da}q[b+8>>2]=d;q[b>>2]=0;q[b+4>>2]=1;q[h>>2]=b;break Da}c=Sa(12);if(!c){c=0;b=0;break Da}q[c+8>>2]=d;q[c>>2]=0;q[c+4>>2]=1;b=c}if(!g){d=b;break l}h=Sa(16);if(h){q[h+12>>2]=j;q[h+8>>2]=g;q[h>>2]=1;q[h+4>>2]=14;d=$e(Qc(1));if(d){we(a,g,q[d+4>>2])}d=Sa(12);Ea:{if(!d){d=0;break Ea}q[d+8>>2]=h;q[d>>2]=0;q[d+4>>2]=2}q[b>>2]=d;break l}tb(g);d=b;break l}q[f+128>>2]=b;_a(a,1,501052,f+128|0);break a}_a(a,1,500522,0);break b}Kg(a,40);break a}Kg(a,39);break a}Kg(a,38);break a}Kg(a,37);break a}Vc(a,19);break a}Kg(a,35);break a}Vc(a,34);break a}Vc(a,33);break a}Vc(a,32);break a}Vc(a,31);break a}Vc(a,26);break a}Vc(a,24);break a}Vc(a,30);break a}Vc(a,29);break a}Vc(a,28);break a}Vc(a,27);break a}Vc(a,23);break a}Vc(a,22);break a}Vc(a,21);break a}Vc(a,20);break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}Fa:{b=q[a+1312>>2];Ga:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ga}c=Sa(24);if(!c){break Fa}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break Fa}q[c+8>>2]=3;q[c+16>>2]=d;break a}La(d);break a}Ha:{c=q[b+8>>2];if(!c){d=-1;break Ha}b=q[c>>2];if(!b){d=-1;break Ha}Ia:{while(1){if(!Ta(b,500737)){break Ia}b=q[c+8>>2];c=c+8|0;if(b){continue}break}d=-1;break Ha}d=0;o[b|0]=0;b=q[c+4>>2];if(!b){d=-1;break Ha}if(!Ta(b,500744)){break Ha}if(!Ta(b,500752)){d=1;break Ha}d=-1;if(!Ta(b,500406)){break Ha}q[f+416>>2]=b;_a(a,1,502476,f+416|0);break a}b=q[a>>2];if(!b){break a}e=bg(b+12|0);if(!e){_a(a,2,499215,0);break a}h=qd(e);b=q[a+1312>>2];Ja:{Ka:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ka}c=Sa(24);if(!c){break Ja}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;g=q[a>>2];if(g){g=q[g>>2]}else{g=0}q[b+4>>2]=g;q[a+4>>2]=c;if(!c){break Ja}q[c+16>>2]=h;q[c+8>>2]=5;q[c+20>>2]=d}La(e);break a}d=Pg();if(!d){_a(a,2,499215,0);break a}La:{b=q[a>>2];if(!b){break La}c=q[b+8>>2];if(!c){break La}b=q[c>>2];if(!b){break La}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break La}break}o[b|0]=0;e=q[c+4>>2];if(!e){break La}c=f+568|0;while(1){b=q[a+4>>2];Ma:{if(!(q[b+4>>2]==q[a>>2]?b:0)){q[f+560>>2]=0;break Ma}q[f+560>>2]=0;Na:{Oa:{g=q[b+8>>2];h=g+ -1|0;if(h>>>0>15){break Oa}Pa:{switch(h-1|0){default:b=eb(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=3;break Na;case 1:if(!ir(q[b+16>>2],c)){break Na}q[f+560>>2]=1;break Na;case 8:b=q[b+16>>2];q[f+560>>2]=1;q[f+568>>2]=b;break Na;case 9:g=q[b+20>>2];b=q[b+16>>2];q[f+560>>2]=2;q[f+568>>2]=b;q[f+572>>2]=g;break Na;case 12:b=q[b+16>>2];q[f+560>>2]=4;q[f+568>>2]=b;break Na;case 13:b=Qg(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=6;break Na;case 14:b=zf(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=8;break Na;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 10:break Oa;case 11:break Pa}}b=_k(q[b+16>>2]);q[f+568>>2]=b;if(!b){break Na}q[f+560>>2]=9;break Na}q[f+400>>2]=g;_a(a,1,502449,f+400|0)}nd(a)}b=q[c+4>>2];q[f+440>>2]=q[c>>2];q[f+444>>2]=b;b=q[f+564>>2];g=q[f+560>>2];q[f+432>>2]=g;q[f+436>>2]=b;Qa:{if(g){b=q[f+444>>2];q[f+392>>2]=q[f+440>>2];q[f+396>>2]=b;b=q[f+436>>2];q[f+384>>2]=q[f+432>>2];q[f+388>>2]=b;if(bM(d,e,f+384|0)){break Qa}_a(a,2,499215,0);b=q[f+444>>2];q[f+360>>2]=q[f+440>>2];q[f+364>>2]=b;b=q[f+436>>2];q[f+352>>2]=q[f+432>>2];q[f+356>>2]=b;Wc(f+352|0)}b=q[a+1312>>2];Ra:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ra}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=6;q[c+16>>2]=d;break a}b=q[f+444>>2];q[f+376>>2]=q[f+440>>2];q[f+380>>2]=b;b=q[f+436>>2];q[f+368>>2]=q[f+432>>2];q[f+372>>2]=b;Wc(f+368|0);continue}}_a(a,1,502420,0);ie(d);break a}d=Pg();if(d){c=q[a+4>>2];Sa:{if(!c){break Sa}while(1){if(q[c+4>>2]!=q[a>>2]){break Sa}Ta:{if(q[c+8>>2]==6){if(WL(d,q[c+16>>2])){break Ta}_a(a,2,499215,0);ie(d);break a}_a(a,1,502396,0)}nd(a);c=q[a+4>>2];if(c){continue}break}}b=q[a+1312>>2];Ua:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Ua}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=6;q[c+16>>2]=d;break a}_a(a,2,499215,0);break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}Va:{b=q[a+1312>>2];Wa:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Wa}c=Sa(24);if(!c){break Va}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break Va}q[c+8>>2]=4;q[c+16>>2]=d;break a}La(d);break a}c=q[a+4>>2];if(!c|q[c+4>>2]!=(b|0)){break a}b=(d|0)==18;while(1){Xa:{Ya:{d=q[c+8>>2]+ -4|0;if(d>>>0>2){break Ya}Za:{switch(d-1|0){default:if(!q[a+2856>>2]){if(!Ad(q[q[a+16>>2]+(b?36:40)>>2],q[c+16>>2])){_a(a,2,499215,0);break Xa}if(!q[a+2856>>2]){break Xa}}d=q[c+16>>2];if(!d){break Xa}La(d);q[c+8>>2]=0;break Xa;case 0:break Ya;case 1:break Za}}_a:{if(!q[a+2856>>2]){if(!wi(q[q[a+16>>2]+(b?44:48)>>2],q[c+16>>2])){_a(a,2,499215,0);break Xa}if(!q[a+2856>>2]){break _a}}d=q[c+16>>2];if(!d){break _a}ie(d)}q[c+8>>2]=0;break Xa}_a(a,1,502378,0)}nd(a);c=q[a+4>>2];if(!c){break a}if(q[c+4>>2]==q[a>>2]){continue}break}break a}d=oi();$a:{c=q[a+4>>2];if(!c){break $a}b=0;while(1){if(q[c+4>>2]==q[a>>2]){ab:{if(q[c+8>>2]==1){if(!Ik(d,q[c+16>>2])){q[f+336>>2]=q[c+16>>2];_a(a,1,502331,f+336|0);break ab}b=b+1|0;break ab}_a(a,2,502351,0)}nd(a);c=q[a+4>>2];if(c){continue}}break}if((b|0)<1){break $a}if(!d){break a}b=q[a+1312>>2];bb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break bb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=16;q[c+16>>2]=d;break a}Sd(d);break a}e=Uk();cb:{c=q[a+4>>2];if(!c){break cb}b=0;while(1){if(q[c+4>>2]==q[a>>2]){db:{eb:{d=q[c+8>>2]+ -10|0;if(d>>>0>3){break eb}fb:{switch(d-1|0){default:if(!vi(e,q[c+16>>2])){q[f+304>>2]=q[c+16>>2];_a(a,1,502278,f+304|0);break db}b=b+1|0;break db;case 0:case 1:break eb;case 2:break fb}}g=q[c+16>>2];k=v[g+8>>3];gb:{if(k<4294967296&k>=0){d=~~k>>>0;break gb}d=0}k=v[g>>3];hb:{if(k<4294967296&k>=0){c=~~k>>>0;break hb}c=0}if(c>>>0>d>>>0){break db}while(1){ib:{if(!vi(e,c)){q[f+320>>2]=c;_a(a,1,502278,f+320|0);break ib}b=b+1|0}c=c+1|0;if(c>>>0<=d>>>0){continue}break}break db}_a(a,2,502304,0)}nd(a);c=q[a+4>>2];if(c){continue}}break}if((b|0)<1){break cb}if(!e){break a}b=q[a+1312>>2];jb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break jb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=15;q[c+16>>2]=e;break a}Xc(e);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+288>>2]=b;_a(a,1,500711,f+288|0)}e=q[f+432>>2];b=q[a+1312>>2];kb:{lb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break lb}c=Sa(24);if(!c){break kb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break kb}q[c+8>>2]=14;q[c+16>>2]=e}uc(q[a>>2]+12|0);break a}q[f+560>>2]=0;q[f+564>>2]=0;q[f+440>>2]=0;q[f+444>>2]=0;q[f+432>>2]=0;q[f+436>>2]=0;mb:{c=q[a+4>>2];if(c){d=1;if(q[c+4>>2]==(b|0)){while(1){b=d;if((b|0)<=-1){_a(a,2,502212,0);break a}d=q[c+8>>2]+ -10|0;nb:{if(d>>>0<=1){if(d-1){c=q[c+16>>2];if(e){v[(f+432|0)+(b<<3)>>3]=c|0;e=1;break nb}q[(f+560|0)+(b<<2)>>2]=c;e=0;break nb}if(!(b|e)){v[f+440>>3]=t[f+564>>2]}e=q[c+20>>2];d=(f+432|0)+(b<<3)|0;q[d>>2]=q[c+16>>2];q[d+4>>2]=e;e=1;break nb}_a(a,2,502239,0);if(e){c=(f+432|0)+(b<<3)|0;q[c>>2]=0;q[c+4>>2]=0;e=1;break nb}q[(f+560|0)+(b<<2)>>2]=0;e=0}nd(a);c=q[a+4>>2];if(c){d=b+ -1|0;if(q[c+4>>2]==q[a>>2]){continue}}break}b=(b|0)>0}else{b=1}if(!b){break mb}}_a(a,2,502264,0);break a}ob:{if(e){k=v[f+432>>3];m=v[f+440>>3];if(!!(k>m)){_a(a,2,502264,0);break a}b=$k(k,m);break ob}c=q[f+560>>2];d=q[f+564>>2];if(c>>>0>d>>>0){_a(a,2,502264,0);break a}b=Sa(16);if(b){v[b+8>>3]=d>>>0;v[b>>3]=c>>>0}}c=q[a+1312>>2];pb:{if(c>>>0<=63){q[a+1312>>2]=c+1;c=(w(c,24)+a|0)+1320|0;break pb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];d=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[d+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=13;q[c+16>>2]=b;break a}c=yd(a);d=yd(a);e=yd(a);h=yd(a);qb:{if(!(!e|(!c|!d))){if(h){break qb}}_a(a,1,502147,0);break a}if(yd(a)){_a(a,2,502180,0);break a}b=q[a+1312>>2];rb:{if(b>>>0<=63){q[a+1312>>2]=b+1;g=(w(b,24)+a|0)+1320|0;break rb}g=Sa(24);if(!g){break a}}q[g+8>>2]=0;q[g>>2]=q[a+4>>2];b=g;i=q[a>>2];if(i){i=q[i>>2]}else{i=0}q[b+4>>2]=i;q[a+4>>2]=g;if(!g){break a}b=Sa(16);if(b){q[b+12>>2]=c;q[b+8>>2]=d;q[b+4>>2]=e;q[b>>2]=h}q[g+8>>2]=12;q[g+16>>2]=b;break a}d=bg(b+12|0);if(!d){_a(a,2,499215,0);break a}sb:{b=q[a+1312>>2];tb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break tb}c=Sa(24);if(!c){break sb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break sb}q[c+8>>2]=1;q[c+16>>2]=d;break a}La(d);break a}c=Qd(b+12|0);if(!c){_a(a,2,499215,0);break a}q[f+428>>2]=0;b=q[127142];d=Wa(b);e=Pb(c,46);ub:{if(!(!e|(r[b+1|0]?0:r[b|0]==46))){if((Wa(c)+d|0)>=129){q[f+428>>2]=c;b=c;break ub}g=e-c|0;h=Md(f+432|0,c,g);tc(tc(g+(f+432|0)|0,b)+d|0,e+1|0);q[f+560>>2]=0;k=Sj(h,f+560|0);b=q[f+560>>2];vb:{if(!b){break vb}b=c+(b-(f+432|0)|0)|0;q[f+560>>2]=b;if(b>>>0<=e>>>0){break vb}b=(b-d|0)+1|0;q[f+560>>2]=b}q[f+428>>2]=b;break ub}k=Sj(c,f+428|0);b=q[f+428>>2]}wb:{if((Wa(c)+c|0)!=(b|0)){q[f+272>>2]=c;_a(a,2,502122,f+272|0);break wb}b=q[a+1312>>2];xb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break xb}c=Sa(24);if(!c){break wb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break wb}q[c+8>>2]=11;v[c+16>>3]=k}uc(q[a>>2]+12|0);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}q[f+432>>2]=0;e=Sb(b,f+432|0,0);yb:{if(q[f+432>>2]!=(Wa(b)+b|0)){q[f+256>>2]=b;_a(a,2,502096,f+256|0);break yb}b=q[a+1312>>2];zb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break zb}c=Sa(24);if(!c){break yb}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[b+4>>2]=d;q[a+4>>2]=c;if(!c){break yb}q[c+8>>2]=10;q[c+16>>2]=e}uc(q[a>>2]+12|0);break a}Ab:{c=q[b+8>>2];Bb:{if(!c){break Bb}b=q[c>>2];if(!b){break Bb}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Bb}break}o[b|0]=0;e=q[c+4>>2];if(e){break Ab}}_a(a,1,501824,0);break a}Cb:{Db:{Eb:{Fb:{b=q[a>>2];Gb:{if(!b){h=11;break Gb}h=11;Hb:{c=q[b+8>>2];if(!c){break Hb}b=q[c>>2];if(!b){break Hb}while(1){if(Ta(b,501842)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Hb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Hb}h=Sp(b,501936);if((h|0)!=41){break Hb}q[f+240>>2]=b;_a(a,1,501847,f+240|0);break a}b=q[a>>2];if(!b){break Gb}c=q[b+8>>2];if(!c){break Gb}b=q[c>>2];if(!b){break Gb}while(1){if(Ta(b,500905)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Gb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Gb}if(!Ta(b,501035)){break Gb}if(!Ta(b,501040)){g=1;break Gb}if(Ta(b,501047)){break Fb}g=2}d=yd(a);if(!d){break Cb}b=0;while(1){if(b){c=Hc(q[a+16>>2]);if(!c){break Eb}q[c+8>>2]=d;q[c>>2]=36;q[c+12>>2]=b;b=c}else{b=d}d=yd(a);if(d){continue}break}if(h+ -17>>>0>1){i=b;break Cb}_a(a,1,501870,0);break Db}q[f+224>>2]=b;_a(a,1,501052,f+224|0);break a}_a(a,2,499215,0);tb(d)}tb(b)}b=qd(e);d=Sa(16);if(d){q[d+12>>2]=g;q[d+8>>2]=i;q[d+4>>2]=h;q[d>>2]=b;b=$e(Qc(b));if(b){we(a,i,q[b+4>>2])}Ib:{b=q[a+1312>>2];Jb:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break Jb}b=Sa(24);if(!b){break Ib}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];c=b;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[c+4>>2]=e;q[a+4>>2]=b;if(!b){break Ib}q[b+8>>2]=19;q[b+16>>2]=d;break a}b=q[d+8>>2];if(b){tb(b)}La(d);break a}_a(a,2,499215,0);tb(i);break a}Kb:{c=q[b+8>>2];if(!c){d=-1;break Kb}b=q[c>>2];if(!b){d=-1;break Kb}Lb:{while(1){if(!Ta(b,500737)){break Lb}b=q[c+8>>2];c=c+8|0;if(b){continue}break}d=-1;break Kb}d=0;o[b|0]=0;b=q[c+4>>2];if(!b){d=-1;break Kb}if(!Ta(b,500744)){break Kb}if(!Ta(b,500752)){d=1;break Kb}if(!Ta(b,498830)){d=2;break Kb}d=-1;if(!Ta(b,500406)){break Kb}q[f+208>>2]=b;_a(a,1,501379,f+208|0);break a}Mb:{Nb:{Ob:{Pb:{b=q[a>>2];Qb:{if(!b){break Qb}c=q[b+8>>2];Rb:{if(!c){break Rb}b=q[c>>2];if(!b){break Rb}while(1){if(Ta(b,501404)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Rb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Rb}if(!Ta(b,501409)){break Rb}if(!Ta(b,501413)){g=1;break Rb}if(!Ta(b,501417)){g=2;break Rb}if(Ta(b,501423)){break Ob}g=3}b=q[a>>2];if(!b){break Qb}c=q[b+8>>2];if(!c){break Qb}b=q[c>>2];if(!b){break Qb}while(1){if(Ta(b,501456)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Qb}break}o[b|0]=0;h=q[c+4>>2];if(h){break Pb}}_a(a,1,501461,0);break a}b=q[a>>2];if(!b){j=22;break Mb}j=22;c=q[b+8>>2];if(!c){break Nb}b=q[c>>2];if(!b){break Nb}while(1){if(Ta(b,501479)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Nb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Nb}j=Sp(b,501664);if((j|0)!=41){break Nb}q[f+176>>2]=b;_a(a,1,501487,f+176|0);break a}q[f+192>>2]=b;_a(a,1,501433,f+192|0);break a}b=q[a>>2];if(!b){break Mb}c=q[b+8>>2];if(!c){break Mb}b=q[c>>2];if(!b){break Mb}while(1){if(Ta(b,501513)){b=q[c+8>>2];c=c+8|0;if(b){continue}break Mb}break}o[b|0]=0;b=q[c+4>>2];if(!b){break Mb}q[f+432>>2]=0;if(!Sg(b,f+432|0)){q[f+160>>2]=b;_a(a,1,501527,f+160|0)}i=(q[f+432>>2]!=0)<<16}Sb:{Tb:{Ub:{e=yd(a);if(e){b=0;Vb:{while(1){if(b){c=Hc(q[a+16>>2]);if(!c){break Vb}q[c+8>>2]=e;q[c>>2]=36;q[c+12>>2]=b;b=c}else{b=e}e=yd(a);if(e){continue}break}if(q[b>>2]==36){_a(a,1,501583,0)}e=Sa(20);if(!e){break Sb}q[e+4>>2]=g;q[e>>2]=d;c=qd(h);q[e+16>>2]=b;q[e+12>>2]=j&65535|i;q[e+8>>2]=c;c=$e(Qc(c));if(c){we(a,b,q[c+4>>2])}b=q[a+1312>>2];if(b>>>0>63){break Ub}q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break Tb}_a(a,2,499215,0);tb(e);tb(b)}_a(a,1,501559,0);break a}b=Sa(24);if(!b){break a}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];c=b;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[c+4>>2]=d;q[a+4>>2]=b;if(!b){break a}q[b+8>>2]=17;q[b+16>>2]=e;break a}_a(a,2,499215,0);break a}b=Qd(b+12|0);if(!b){_a(a,2,499215,0);break a}d=Hc(q[a+16>>2]);if(!d){uc(q[a>>2]+12|0);break a}q[d>>2]=2;n=d,p=eb(b),q[n+8>>2]=p;uc(q[a>>2]+12|0);b=q[a+1312>>2];Wb:{if(b>>>0<=63){q[a+1312>>2]=b+1;c=(w(b,24)+a|0)+1320|0;break Wb}c=Sa(24);if(!c){break a}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];b=c;e=q[a>>2];if(e){e=q[e>>2]}else{e=0}q[b+4>>2]=e;q[a+4>>2]=c;if(!c){break a}q[c+8>>2]=2;q[c+16>>2]=d;break a}rk(a,9);break a}rk(a,8);break a}rk(a,7);break a}c=q[a+4>>2];if(!c){break a}d=0;e=c;Xb:{while(1){if(q[e+4>>2]==(b|0)){d=d+1|0;e=q[e>>2];if(e){continue}break Xb}break}if(!d){break a}}while(1){e=d+ -1|0;Yb:{if(!c){break Yb}b=e;if((d|0)==1){break Yb}while(1){c=q[c>>2];if((b|0)<2){break Yb}b=b+ -1|0;if(c){continue}break}}Zb:{if(q[c+8>>2]!=10){_a(a,1,501349,0);break Zb}q[q[a+16>>2]+64>>2]=q[c+16>>2]}if((d|0)<2){break a}c=q[a+4>>2];d=e;continue}}if(q[a+2856>>2]){break a}b=q[a+16>>2];if(r[643740]&16){Rb(503984)}if(pL(q[b+8>>2])){break a}_a(a,2,501322,0);break a}d=Qd(b+12|0);if(!d){_a(a,2,499215,0);break a}if(!r[d|0]){_a(a,1,501188,0);break a}_b:{b=q[a>>2];$b:{if(!b){break $b}c=q[b+8>>2];if(!c){break $b}b=q[c>>2];if(!b){break $b}while(1){if(Ta(b,501232)){b=q[c+8>>2];c=c+8|0;if(b){continue}break $b}break}o[b|0]=0;i=q[c+4>>2];if(i){break _b}}_a(a,1,501240,0);break a}e=q[a>>2];ac:{if(!e){break ac}c=q[e+8>>2];if(!c){break ac}b=q[c>>2];if(!b){break ac}bc:{while(1){if(!Ta(b,500351)){o[b|0]=0;e=q[a>>2];g=q[c+4>>2];break bc}b=q[c+8>>2];c=c+8|0;if(b){continue}break}g=0}if(!e){break ac}c=q[e+8>>2];if(!c){break ac}b=q[c>>2];if(!b){break ac}while(1){if(!Ta(b,500358)){o[b|0]=0;h=q[c+4>>2];break ac}b=q[c+8>>2];c=c+8|0;if(b){continue}break}}b=Tp(a,d,g);if(b){cc:{if(q[a+2856>>2]|!r[b|0]){break cc}if(r[b|0]==126){if(!Yh()){break cc}}if(Rp(q[a+16>>2],b,i,h)){break cc}q[f+148>>2]=i;q[f+144>>2]=b;_a(a,2,501269,f+144|0)}uc(q[a>>2]+12|0);La(b);break a}uc(q[a>>2]+12|0);break a}c=q[b+8>>2];dc:{if(!c){break dc}d=q[c>>2];if(!d){break dc}while(1){if(!Ta(d,501181)){o[d|0]=0;b=q[a>>2];e=q[c+4>>2];break dc}d=q[c+8>>2];c=c+8|0;if(d){continue}break}}b=bg(b+12|0);if(!b){_a(a,2,499215,0);break a}Mp(q[a+20>>2],e,b);La(b);break a}ec:{if(!i){b=d;break ec}g=Sa(16);if(g){q[g+12>>2]=j;q[g+8>>2]=i;q[g>>2]=1;q[g+4>>2]=15;b=$e(Qc(1));if(b){we(a,i,q[b+4>>2])}b=Sa(12);fc:{if(!b){b=0;break fc}q[b+8>>2]=g;q[b>>2]=0;q[b+4>>2]=2}q[d>>2]=b;break ec}tb(i);b=d}gc:{if(!e){break gc}d=Sa(16);if(d){q[d+12>>2]=j;q[d+8>>2]=e;q[d>>2]=1;q[d+4>>2]=16;g=$e(Qc(1));if(g){we(a,e,q[g+4>>2])}e=Sa(12);hc:{if(!e){e=0;break hc}q[e+8>>2]=d;q[e>>2]=0;q[e+4>>2]=2}q[b>>2]=e;break gc}tb(e)}b=Lp(q[a+20>>2],c,0);if((b|0)==-1){while(1){b=q[c>>2];d=q[c+4>>2]+ -1|0;if(d>>>0<=1){ic:{if(d-1){d=q[c+8>>2];tb(q[d+16>>2]);break ic}d=q[c+8>>2];e=q[d+8>>2];if(!e){break ic}tb(e)}La(d)}La(c);c=b;if(b){continue}break a}}c=q[a+16>>2];if(q[c+32>>2]>=(b|0)){break a}q[c+32>>2]=b;break a}if(Ta(b,498830)){q[f+112>>2]=b;_a(a,1,500757,f+112|0);break a}c=q[a+4>>2];if(!c){break i}g=2;while(1){if(q[c+4>>2]!=q[a>>2]){break j}jc:{kc:{lc:{b=q[c+8>>2]+ -17|0;if(b>>>0>2){break lc}mc:{switch(b-1|0){case 1:e=q[c+16>>2];b=q[e>>2];if((b|0)>51){break jc}b=Sa(12);nc:{if(!b){b=0;break nc}q[b+8>>2]=e;q[b>>2]=0;q[b+4>>2]=2}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break kc;case 0:break lc;default:break mc}}e=q[c+16>>2];b=Sa(12);oc:{if(!b){b=0;break oc}q[b+8>>2]=e;q[b>>2]=0;q[b+4>>2]=1}if(d){q[b>>2]=d}q[c+8>>2]=0;d=b;break kc}_a(a,1,500842,0)}nd(a);c=q[a+4>>2];if(c){continue}break j}break}n=f,p=Qc(b),q[n+96>>2]=p;_a(a,2,500783,f+96|0);if(!d){break a}while(1){c=q[d>>2];b=q[d+4>>2]+ -1|0;if(b>>>0<=1){pc:{if(b-1){b=q[d+8>>2];tb(q[b+16>>2]);break pc}b=q[d+8>>2];e=q[b+8>>2];if(!e){break pc}tb(e)}La(b)}La(d);d=c;if(c){continue}break}break a}if(d){break h}}_a(a,1,500864,0);break a}b=Lp(q[a+20>>2],d,g);if((b|0)==-1){_a(a,2,499215,0);while(1){c=q[d>>2];b=q[d+4>>2]+ -1|0;if(b>>>0<=1){qc:{if(b-1){b=q[d+8>>2];tb(q[b+16>>2]);break qc}b=q[d+8>>2];e=q[b+8>>2];if(!e){break qc}tb(e)}La(b)}La(d);d=c;if(c){continue}break}break a}c=q[a+16>>2];if(q[c+32>>2]>=(b|0)){break a}q[c+32>>2]=b;break a}while(1){i=0;j=q[160937];if(j){break e}j=eb(b);c=q[160937];q[160937]=c?c:j;if(!c){break e}La(j);continue}}while(1){i=q[160936];if(i){break e}i=eb(b);c=q[160936];q[160936]=c?c:i;if(!c){break e}La(i);continue}}d=b;break c}b=0}c=q[a+20>>2];g=Np(q[c+4>>2]);q[a+20>>2]=g;l=q[c+16>>2];if(g){q[g+16>>2]=l}Mp(q[a+20>>2],q[c+12>>2],q[c+8>>2]);g=q[c+20>>2];q[f+432>>2]=g;g=q[g+4>>2];q[f+440>>2]=0;q[f+436>>2]=g;if(q[f+432>>2]==q[c+20>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+20>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+20>>2],f+432|0,c)}g=q[c+24>>2];q[f+432>>2]=g;g=q[g+4>>2];q[f+440>>2]=0;q[f+436>>2]=g;if(q[f+432>>2]==q[c+24>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+24>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+24>>2],f+432|0,c)}g=q[c+28>>2];q[f+432>>2]=g;g=q[g+4>>2];q[f+440>>2]=0;q[f+436>>2]=g;if(q[f+432>>2]==q[c+28>>2]?q[f+436>>2]:0){Ve(q[q[a+16>>2]+28>>2],f+432|0);if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}Ue(q[q[a+16>>2]+28>>2],f+432|0,c)}nk(c);rc:{if(!ai(q[a+16>>2],d,e,!q[a+2856>>2])){q[a+8>>2]=1;break rc}c=lk(q[a+16>>2],d);sc:{if(!c|(!i|!h)){break sc}if(jL(c)){break sc}if($f(c)){e=Mg(i);if(!$f(e)){Tg(e)}La(e);tc:{if($f(i)){break tc}if(Vj(c,i)){break tc}if(!Fp(i,c)){break sc}}if(r[643756]){break sc}q[f+52>>2]=i;q[f+48>>2]=d;_a(a,1,500635,f+48|0);o[643756]=1;break sc}e=Mg(j);if(!$f(e)){Tg(e)}La(e);uc:{if(zq(j)){break uc}if(Vj(c,j)){break uc}if(!Fp(j,c)){break sc}}if(r[643752]){break sc}q[f+36>>2]=j;q[f+32>>2]=d;_a(a,1,500635,f+32|0);o[643752]=1}if(!c){break rc}La(c)}uc(q[a>>2]+12|0);if(!b){break a}La(b);break a}uc(q[a>>2]+12|0);La(c)}Up(a)}Da=f+576|0}function Hr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,w=0,x=0,z=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0;f=Da-96|0;Da=f;q[f+76>>2]=b;a:{b:{c:{if(b>>>0>=c>>>0){break c}b=q[f+76>>2];while(1){g=r[b|0];m=(g|0)!=92;d:{if((b|0)==(c|0)){h=b;break d}h=b;if((g|0)==92){break d}while(1){h=b+1|0;q[f+76>>2]=h;g=r[b+1|0];m=(g|0)!=92;if((c|0)==(h|0)){break d}b=h;if((g|0)!=92){continue}break}}if(m){b=h;break c}b=h+1|0;q[f+76>>2]=b;if((b|0)==(c|0)){k=c}else{fd(f+76|0);b=q[f+76>>2];k=b}e:{while(1){f:{q[f+72>>2]=b;g:{h=r[b|0];i=b;h:{if((h|0)==40){break h}i=b;if((h|0)==92){break h}if((b|0)!=(c|0)){break g}i=c}if((i|0)==(k|0)){break e}q[f+12>>2]=356105;q[f>>2]=356105;q[f+4>>2]=356105;q[f+20>>2]=356105;q[f+8>>2]=356105;q[f+28>>2]=356105;q[f+16>>2]=356105;q[f+36>>2]=356105;q[f+24>>2]=356105;q[f+44>>2]=356105;q[f+32>>2]=356105;q[f+52>>2]=356105;q[f+40>>2]=356105;q[f+60>>2]=356105;q[f+48>>2]=356105;q[f+56>>2]=356105;g=0;b=i;if(r[b|0]!=40){break f}while(1){b=b+1|0;q[f+72>>2]=b;m=c;if((b|0)!=(m|0)){fd(f+72|0);m=q[f+72>>2]}b=m;i:{j:{while(1){k:{h=r[b|0];k=h+ -41|0;if(k>>>0>3){if((h|0)==92){break j}break k}switch(k-1|0){case 2:break i;case 0:case 1:break k;default:break j}}if((b|0)!=(c|0)){b=b+1|0;continue}break}b=c;if((h|0)==44){break i}}while(1){l:{h=b;b=b+1|0;if((c|0)==(h|0)){break l}if(r[h|0]!=41){continue}}break}q[f+88>>2]=h;m:{if((g|0)>7){break m}nb(f+88|0,m);k=q[f+88>>2];if(k>>>0<=m>>>0){break m}n=(g<<3)+f|0;q[n+4>>2]=k;q[n>>2]=m;g=g+1|0}q[f+72>>2]=(c|0)!=(h|0)?b:h;k=q[f+76>>2];break f}q[f+88>>2]=b;if((g|0)>7){continue}nb(f+88|0,m);h=q[f+88>>2];if(h>>>0<=m>>>0){continue}k=(g<<3)+f|0;q[k+4>>2]=h;q[k>>2]=m;g=g+1|0;continue}}b=b+1|0;continue}break}n:{if(!Ra(k,356106,5)){b=k+5|0;q[f+76>>2]=b;q[f+88>>2]=i;o:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break o}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+368>>3]=B(d*v[f+80>>3]+(1-d)*v[a+368>>3],0);break n}v[a+368>>3]=v[q[a+212>>2]+88>>3];break n}if(!Ra(k,356112,5)){b=k+5|0;q[f+76>>2]=b;q[f+88>>2]=i;p:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break p}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+376>>3]=B(d*v[f+80>>3]+(1-d)*v[a+376>>3],0);break n}v[a+376>>3]=v[q[a+212>>2]+88>>3];break n}if(!Ra(k,356118,5)){b=k+5|0;q[f+76>>2]=b;q[f+88>>2]=i;q:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break q}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+440>>3]=d*v[f+80>>3]+(1-d)*v[a+440>>3];break n}v[a+440>>3]=v[q[a+212>>2]+96>>3];break n}if(!Ra(k,356124,5)){b=k+5|0;q[f+76>>2]=b;q[f+88>>2]=i;r:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break r}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+448>>3]=d*v[f+80>>3]+(1-d)*v[a+448>>3];break n}v[a+448>>3]=v[q[a+212>>2]+96>>3];break n}if(!Ra(k,356130,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;s:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break s}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+272>>3]=d*v[f+80>>3]+(1-d)*v[a+272>>3];break n}q[a+272>>2]=0;q[a+276>>2]=0;break n}if(!Ra(k,356134,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;t:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break t}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+280>>3]=d*v[f+80>>3]+(1-d)*v[a+280>>3];break n}q[a+280>>2]=0;q[a+284>>2]=0;break n}if(!Ra(k,356138,5)){q[f+76>>2]=k+5;if((g|0)==4){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);g=q[f+80>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[f+80>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);m=q[f+80>>2];o[a+416|0]=1;b=a;k=b;j=1-d;l=d*+(g|0)+j*+q[b+400>>2];u:{if(y(l)<2147483648){g=~~l;break u}g=-2147483648}q[k+400>>2]=g;g=a;l=d*+(i|0)+j*+q[b+408>>2];v:{if(y(l)<2147483648){i=~~l;break v}i=-2147483648}q[g+408>>2]=i;g=a;l=d*+(h|0)+j*+q[b+404>>2];w:{if(y(l)<2147483648){b=~~l;break w}b=-2147483648}q[g+404>>2]=b;j=d*+(m|0)+j*+q[a+412>>2];if(y(j)<2147483648){q[a+412>>2]=~~j;break n}q[a+412>>2]=-2147483648;break n}if(q[a+472>>2]){break n}b=g+ -1|0;if(b>>>0>1){break n}h=1;if((g|0)==2){g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2]}b=(b<<3)+f|0;g=q[b>>2];b=Fg(g,q[b+4>>2]-g|0);q[a+480>>2]=1;q[a+476>>2]=h;q[a+472>>2]=b;break n}if(!Ra(k,356144,4)){b=k+4|0;q[f+76>>2]=b;q[f+88>>2]=i;x:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break x}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+432>>3]=A(B(d*v[f+80>>3]+(1-d)*v[a+432>>3],0),100);break n}q[a+432>>2]=0;q[a+436>>2]=0;break n}if(!Ra(k,356149,4)){b=k+4|0;q[f+76>>2]=b;q[f+88>>2]=i;y:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break y}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+336>>3]=B(d*(v[f+80>>3]/100)+(1-d)*v[a+336>>3],0);break n}v[a+336>>3]=v[q[a+212>>2]+48>>3];break n}if(!Ra(k,356154,4)){b=k+4|0;q[f+76>>2]=b;q[f+88>>2]=i;z:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break z}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+344>>3]=B(d*(v[f+80>>3]/100)+(1-d)*v[a+344>>3],0);break n}v[a+344>>3]=v[q[a+212>>2]+56>>3];break n}if(!Ra(k,356159,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;A:{if((g|0)>7){break A}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break A}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[a+212>>2];g=q[b+52>>2];q[a+336>>2]=q[b+48>>2];q[a+340>>2]=g;g=q[b+60>>2];q[a+344>>2]=q[b+56>>2];q[a+348>>2]=g;break n}if(!Ra(k,356163,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;B:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break B}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+352>>3]=d*v[f+80>>3]+(1-d)*v[a+352>>3];break n}b=q[a+212>>2];g=q[b+68>>2];q[a+352>>2]=q[b+64>>2];q[a+356>>2]=g;break n}if(!Ra(k,356167,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;C:{D:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break D}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3];b=r[q[f>>2]]+ -43|0;l=(d*j/10+1)*v[a+224>>3];E:{if(!(b>>>0>2|!(b-1))){break E}l=d*j+(1-d)*v[a+224>>3]}if(!(l<=0)){break C}}l=v[q[a+212>>2]+8>>3]}if(!q[a+220>>2]){break n}v[a+224>>3]=l;break n}if(!Ra(k,356170,4)){b=k+4|0;q[f+76>>2]=b;q[f+88>>2]=i;F:{G:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break G}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=d*v[f+80>>3];t=1-d;l=B(j+t*v[a+376>>3],0);j=B(j+t*v[a+368>>3],0);break F}l=v[q[a+212>>2]+88>>3];j=l}v[a+376>>3]=l;v[a+368>>3]=j;break n}if(!Ra(k,356175,4)){q[f+76>>2]=k+4;if((g|2)!=6){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);l=v[f+80>>3];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);t=v[f+80>>3];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);G=v[f+80>>3];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);H=v[f+80>>3];i=0;s=0;h=0;p=0;if((g|0)==6){b=q[f+36>>2];q[f+88>>2]=q[f+32>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+84>>2];g=q[f+44>>2];q[f+88>>2]=q[f+40>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);m=q[f+80>>2];k=q[f+84>>2];g=k;g=(b|0)>(g|0)?1:(b|0)>=(g|0)?i>>>0<=m>>>0?0:1:0;h=g?m:i;p=g?k:b;s=g?b:k;i=g?i:m}m=q[a+168>>2];g=q[a+208>>2];k=q[g>>2];b=m-k|0;n=b;if(!(((s|0)>0?1:(s|0)>=0?i>>>0<=0?0:1:0)|((p|0)>0?1:(p|0)>=0?h>>>0<=0?0:1:0))){i=q[g+8>>2];s=q[g+12>>2];p=0;h=0}m=q[a+172>>2]-(q[g+4>>2]+(m>>>0>>0)|0)|0;g=m;j=0;H:{if((g|0)<(p|0)?1:(g|0)<=(p|0)?n>>>0>h>>>0?0:1:0){break H}j=1;if((m|0)>(s|0)?1:(m|0)>=(s|0)?b>>>0>>0?0:1:0){break H}g=h;j=(+(b-g>>>0)+4294967296*+(m-((b>>>0>>0)+p|0)|0))/(+(i-g>>>0)+4294967296*+(s-((i>>>0>>0)+p|0)|0))}if(q[a+288>>2]==1){break n}o[a+417|0]=0;q[a+288>>2]=1;v[a+304>>3]=t+(H-t)*j;v[a+296>>3]=l+(G-l)*j;break n}if(!Ra(k,356180,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;I:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break I}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+248>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+248>>3];break n}q[a+248>>2]=0;q[a+252>>2]=0;break n}if(!Ra(k,356184,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;J:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break J}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+256>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+256>>3];break n}q[a+256>>2]=0;q[a+260>>2]=0;break n}K:{L:{if(!Ra(k,356188,3)){b=k+3|0;q[f+76>>2]=b;break L}if(Ra(k,356192,2)){break K}b=k+2|0;q[f+76>>2]=b}q[f+88>>2]=i;M:{if((g|0)>7){break M}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break M}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);v[a+264>>3]=d*(v[f+80>>3]*.017453292519943295)+(1-d)*v[a+264>>3];break n}v[a+264>>3]=v[q[a+212>>2]+72>>3]*3.141592653589793/180;break n}if(!Ra(k,356195,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;N:{if((g|0)>7){break N}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break N}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f>>2];q[f+88>>2]=b;O:{P:{if(!g){break P}if(!Ra(b,356198,q[f+4>>2]-b|0)){break P}fd(f+88|0);b=q[f+88>>2];b=Fg(b,q[f+4>>2]-b|0);break O}b=eb(q[q[a+212>>2]+4>>2])}La(q[a+504>>2]);q[a+504>>2]=b;Bi(a);break n}if(!Ra(k,356200,5)){b=k+5|0;q[f+76>>2]=b;q[f+88>>2]=i;Q:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Q}}b=a;h=b;j=d*+(Yg(q[f>>2])|0);l=1-d;t=j+l*+r[b+384|0];R:{if(t<4294967296&t>=0){g=~~t>>>0;break R}g=0}o[h+384|0]=g;h=a;t=j+l*+r[b+388|0];S:{if(t<4294967296&t>=0){g=~~t>>>0;break S}g=0}o[h+388|0]=g;h=a;t=j+l*+r[b+392|0];T:{if(t<4294967296&t>=0){b=~~t>>>0;break T}b=0}o[h+392|0]=b;j=j+l*+r[a+396|0];if(j<4294967296&j>=0){o[a+396|0]=~~j>>>0;break n}o[a+396|0]=0;break n}b=q[a+212>>2];o[a+384|0]=q[b+16>>2];o[a+388|0]=q[b+20>>2];o[a+392|0]=q[b+24>>2];o[a+396|0]=q[b+28>>2];break n}if(!Ra(k,356206,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;U:{if((g|0)>7){break U}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break U}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[a+216>>2];if(b&2){break n}g=q[f+80>>2];V:{if(g+ -1>>>0<=8){J=a,K=bs(g),q[J+236>>2]=K;b=q[a+216>>2];break V}q[a+236>>2]=q[q[a+212>>2]+104>>2]}q[a+216>>2]=b|2;break n}b=r[k|0];if((b|0)==97){b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;W:{if((g|0)>7){break W}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break W}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[a+216>>2];if(h&2){break n}b=a;g=q[f+80>>2];X:{if(g+ -1>>>0<=10){g=g&3?g:5;break X}g=q[q[a+212>>2]+104>>2]}q[b+236>>2]=g;q[a+216>>2]=h|2;break n}if(!Ra(k,356209,3)){q[f+76>>2]=k+3;if((g|0)!=2){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+84>>2];h=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=h;Fb(f+88|0,f+80|0);if(q[a+288>>2]==1){hb(q[a>>2],6,356213,0);break n}h=q[f+80>>2];i=q[f+84>>2];o[a+417|0]=0;q[a+288>>2]=1;q[a+304>>2]=h;q[a+308>>2]=i;q[a+296>>2]=b;q[a+300>>2]=g;break n}h=4;Y:{if(Ra(k,356267,4)){h=3;if(Ra(k,356272,3)){break Y}}q[f+76>>2]=h+k;b=g+ -2|0;if(b>>>0>5){break n}Z:{_:{switch(b-1|0){default:b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);x=q[f+80>>2];z=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);g=q[f+80>>2];w=q[f+84>>2];k=0;m=255;h=-1;p=-1;b=255;s=-1;i=-1;break Z;case 4:break _;case 0:case 1:case 2:case 3:break n}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);k=q[f+80>>2];g=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);m=q[f+80>>2];g=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];g=q[f+36>>2];q[f+88>>2]=q[f+32>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);x=q[f+80>>2];z=q[f+84>>2];g=q[f+44>>2];q[f+88>>2]=q[f+40>>2];q[f+92>>2]=g;Fd(f+88|0,f+80|0);g=q[f+80>>2];w=q[f+84>>2];i=q[f+52>>2];q[f+88>>2]=q[f+48>>2];q[f+92>>2]=i;Fd(f+88|0,f+80|0);s=q[f+84>>2];i=q[f+80>>2]}if((i&h)==-1&(p&s)==-1){n=q[a+208>>2];i=q[n+8>>2];h=g;g=i-g|0;s=q[n+12>>2];w=s-((i>>>0>>0)+w|0)|0;p=0;h=0}C=q[a+216>>2];if(C&1){break n}u=q[a+168>>2];D=q[a+208>>2];E=q[D>>2];n=u-E|0;u=q[a+172>>2]-(q[D+4>>2]+(u>>>0>>0)|0)|0;$:{if((u|0)<(p|0)?1:(u|0)<=(p|0)?n>>>0>=h>>>0?0:1:0){break $}aa:{if((u|0)<(z|0)?1:(u|0)<=(z|0)?n>>>0>=x>>>0?0:1:0){g=h;j=(+(n-g>>>0)+4294967296*+(u-((n>>>0>>0)+p|0)|0))/(+(x-g>>>0)+4294967296*+(z-((x>>>0>>0)+p|0)|0));j=j*+(k|0)+(1-j)*+(b|0);if(!(y(j)<2147483648)){break aa}b=~~j;break $}if((u|0)<(w|0)?1:(u|0)<=(w|0)?n>>>0>=g>>>0?0:1:0){b=k;break $}if((u|0)>(s|0)?1:(u|0)>=(s|0)?n>>>0>>0?0:1:0){b=m;break $}b=g;j=(+(n-b>>>0)+4294967296*+(u-((n>>>0>>0)+w|0)|0))/(+(i-b>>>0)+4294967296*+(s-((i>>>0>>0)+w|0)|0));j=j*+(m|0)+(1-j)*+(k|0);if(!(y(j)<2147483648)){break aa}b=~~j;break $}b=-2147483648}q[a+420>>2]=b;q[a+216>>2]=C|1;break n}if(!Ra(k,356276,3)){q[f+76>>2]=k+3;if((g|0)!=2){break n}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+80>>2];g=q[f+84>>2];h=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=h;Fb(f+88|0,f+80|0);if(r[a+328|0]){break n}h=q[f+80>>2];i=q[f+84>>2];o[a+417|0]=0;o[a+328|0]=1;q[a+320>>2]=h;q[a+324>>2]=i;q[a+312>>2]=b;q[a+316>>2]=g;break n}ba:{ca:{if((b|0)==116){q[f+76>>2]=k+1;da:{ea:{b=g+ -2|0;j=1;fa:{if(b>>>0>2){break fa}ga:{switch(b-1|0){case 0:b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];s=q[f+84>>2];j=1;break da;case 1:break ea;default:break ga}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3]}o[a+417|0]=0;h=0;p=0;break ca}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);h=q[f+80>>2];p=q[f+84>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;Fd(f+88|0,f+80|0);i=q[f+80>>2];s=q[f+84>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3]}o[a+417|0]=0;if(!(i|s)){break ca}b=q[a+208>>2];break ba}if(!Ra(k,356326,4)){q[f+76>>2]=k+4;if((g|0)==4){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);g=q[f+80>>2];b=q[f+12>>2];q[f+88>>2]=q[f+8>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);h=q[f+80>>2];b=q[f+20>>2];q[f+88>>2]=q[f+16>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);i=q[f+80>>2];b=q[f+28>>2];q[f+88>>2]=q[f+24>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);m=q[f+80>>2];o[a+416|0]=0;b=a;k=b;j=1-d;l=d*+(g|0)+j*+q[b+400>>2];ha:{if(y(l)<2147483648){g=~~l;break ha}g=-2147483648}q[k+400>>2]=g;g=a;l=d*+(i|0)+j*+q[b+408>>2];ia:{if(y(l)<2147483648){i=~~l;break ia}i=-2147483648}q[g+408>>2]=i;g=a;l=d*+(h|0)+j*+q[b+404>>2];ja:{if(y(l)<2147483648){b=~~l;break ja}b=-2147483648}q[g+404>>2]=b;j=d*+(m|0)+j*+q[a+412>>2];if(y(j)<2147483648){q[a+412>>2]=~~j;break n}q[a+412>>2]=-2147483648;break n}if(q[a+472>>2]){break n}b=g+ -1|0;if(b>>>0>1){break n}h=1;if((g|0)==2){g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2]}b=(b<<3)+f|0;g=q[b>>2];b=Fg(g,q[b+4>>2]-g|0);q[a+480>>2]=0;q[a+476>>2]=h;q[a+472>>2]=b;break n}ka:{la:{if((b|0)==99){b=k+1|0;q[f+76>>2]=b;break la}if(Ra(k,356331,2)){break ka}b=k+2|0;q[f+76>>2]=b}q[f+88>>2]=i;ma:{if((g|0)>7){break ma}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break ma}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){h=Gi(q[f>>2]);j=1-d;g=q[a+384>>2];l=d*+((h>>>16&255)>>>0)+j*+((g>>>16&255)>>>0);na:{if(l<4294967296&l>=0){b=~~l>>>0;break na}b=0}m=b<<16;b=a;k=g&255;l=d*+(h>>>24>>>0)+j*+(g>>>24>>>0);oa:{if(l<4294967296&l>=0){i=~~l>>>0;break oa}i=0}i=k|i<<24|m;j=d*+((h>>>8&255)>>>0)+j*+((g>>>8&255)>>>0);pa:{if(j<4294967296&j>=0){h=~~j>>>0;break pa}h=0}q[b+384>>2]=i|h<<8;break n}b=q[q[a+212>>2]+16>>2];q[a+384>>2]=r[a+384|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(k,356334,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;qa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break qa}}h=Gi(q[f>>2]);j=1-d;g=q[a+388>>2];l=d*+((h>>>16&255)>>>0)+j*+((g>>>16&255)>>>0);ra:{if(l<4294967296&l>=0){b=~~l>>>0;break ra}b=0}m=b<<16;b=a;k=g&255;l=d*+(h>>>24>>>0)+j*+(g>>>24>>>0);sa:{if(l<4294967296&l>=0){i=~~l>>>0;break sa}i=0}i=k|i<<24|m;j=d*+((h>>>8&255)>>>0)+j*+((g>>>8&255)>>>0);ta:{if(j<4294967296&j>=0){h=~~j>>>0;break ta}h=0}q[b+388>>2]=i|h<<8;break n}b=q[q[a+212>>2]+20>>2];q[a+388>>2]=r[a+388|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(k,356337,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;ua:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break ua}}h=Gi(q[f>>2]);j=1-d;g=q[a+392>>2];l=d*+((h>>>16&255)>>>0)+j*+((g>>>16&255)>>>0);va:{if(l<4294967296&l>=0){b=~~l>>>0;break va}b=0}m=b<<16;b=a;k=g&255;l=d*+(h>>>24>>>0)+j*+(g>>>24>>>0);wa:{if(l<4294967296&l>=0){i=~~l>>>0;break wa}i=0}i=k|i<<24|m;j=d*+((h>>>8&255)>>>0)+j*+((g>>>8&255)>>>0);xa:{if(j<4294967296&j>=0){h=~~j>>>0;break xa}h=0}q[b+392>>2]=i|h<<8;break n}b=q[q[a+212>>2]+24>>2];q[a+392>>2]=r[a+392|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(k,356340,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;ya:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break ya}}h=Gi(q[f>>2]);j=1-d;g=q[a+396>>2];l=d*+((h>>>16&255)>>>0)+j*+((g>>>16&255)>>>0);za:{if(l<4294967296&l>=0){b=~~l>>>0;break za}b=0}m=b<<16;b=a;k=g&255;l=d*+(h>>>24>>>0)+j*+(g>>>24>>>0);Aa:{if(l<4294967296&l>=0){i=~~l>>>0;break Aa}i=0}i=k|i<<24|m;j=d*+((h>>>8&255)>>>0)+j*+((g>>>8&255)>>>0);Ba:{if(j<4294967296&j>=0){h=~~j>>>0;break Ba}h=0}q[b+396>>2]=i|h<<8;break n}b=q[q[a+212>>2]+28>>2];q[a+396>>2]=r[a+396|0]|b&-16777216|b&16711680|b&65280;break n}if(!Ra(k,356343,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ca:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ca}}j=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+384|0];if(j<4294967296&j>=0){o[a+384|0]=~~j>>>0;break n}o[a+384|0]=0;break n}o[a+384|0]=q[q[a+212>>2]+16>>2];break n}if(!Ra(k,356346,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Da:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Da}}j=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+388|0];if(j<4294967296&j>=0){o[a+388|0]=~~j>>>0;break n}o[a+388|0]=0;break n}o[a+388|0]=q[q[a+212>>2]+20>>2];break n}if(!Ra(k,356349,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ea:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ea}}j=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+392|0];if(j<4294967296&j>=0){o[a+392|0]=~~j>>>0;break n}o[a+392|0]=0;break n}o[a+392|0]=q[q[a+212>>2]+24>>2];break n}if(!Ra(k,356352,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Fa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Fa}}j=d*+(Yg(q[f>>2])|0)+(1-d)*+r[a+396|0];if(j<4294967296&j>=0){o[a+396|0]=~~j>>>0;break n}o[a+396|0]=0;break n}o[a+396|0]=q[q[a+212>>2]+28>>2];break n}if((b|0)==114){b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Ga:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ga}}b=q[f>>2];ul(a,mP(q[a+160>>2],b,q[f+4>>2]-b|0));break n}ul(a,0);break n}if(!Ra(k,356355,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Ha:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Ha}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=a;h=b;j=d*v[f+80>>3]+(1-d)*+o[b+424|0]+.5;Ia:{if(y(j)<2147483648){g=~~j;break Ia}g=-2147483648}b=(g|0)>0?g:0;o[h+424|0]=(b|0)<127?b:127;break n}o[a+424|0]=0;break n}Ja:{h=b+ -98|0;if(h>>>0>7){break Ja}Ka:{switch(h-1|0){default:b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;La:{if((g|0)>7){break La}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break La}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);Ma:{if(g){b=q[f+80>>2];if(b>>>0<2|(b|0)>99){break Ma}}b=q[q[a+212>>2]+32>>2]}q[a+508>>2]=b;Bi(a);break n;case 0:case 1:case 2:case 3:case 4:case 5:break Ja;case 6:break Ka}}b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Na:{if((g|0)>7){break Na}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break Na}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);Oa:{if(g){b=q[f+80>>2];if(b>>>0<2){break Oa}}b=q[q[a+212>>2]+36>>2]}q[a+512>>2]=b;Bi(a);break n}Pa:{Qa:{if(!Ra(k,356358,2)){b=k+2|0;q[f+76>>2]=b;break Qa}if((b|0)!=75){break Pa}b=k+1|0;q[f+76>>2]=b}q[f+88>>2]=i;Ra:{if((g|0)>7){break Ra}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break Ra}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3]}else{j=100}q[a+484>>2]=2;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}j=j*10;if(y(j)<2147483648){q[a+488>>2]=~~j;break n}q[a+488>>2]=-2147483648;break n}if(!Ra(k,356361,2)){b=k+2|0;q[f+76>>2]=b;q[f+88>>2]=i;Sa:{Ta:{if((g|0)>=8){break Ta}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){break Ta}j=100;break Sa}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3]}q[a+484>>2]=3;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}j=j*10;if(y(j)<2147483648){q[a+488>>2]=~~j;break n}q[a+488>>2]=-2147483648;break n}if((b|0)==107){b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;Ua:{Va:{if((g|0)>=8){break Va}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(g){break Va}j=100;break Ua}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=v[f+80>>3]}q[a+484>>2]=1;b=q[a+488>>2];if(b){q[a+492>>2]=b+q[a+492>>2]}j=j*10;if(y(j)<2147483648){q[a+488>>2]=~~j;break n}q[a+488>>2]=-2147483648;break n}if(!Ra(k,356364,4)){b=k+4|0;q[f+76>>2]=b;q[f+88>>2]=i;Wa:{Xa:{if((g|0)<8){nb(f+88|0,b);h=q[f+88>>2];if(h>>>0>b>>>0){i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}if(!g){break Xa}}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);j=d*v[f+80>>3];t=1-d;l=B(j+t*v[a+448>>3],0);j=B(j+t*v[a+440>>3],0);break Wa}j=v[q[a+212>>2]+96>>3];l=j}v[a+448>>3]=l;v[a+440>>3]=j;break n}Ya:{h=b+ -115|0;if(h>>>0>2){break Ya}Za:{switch(h-1|0){default:b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;_a:{if((g|0)>7){break _a}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break _a}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);$a:{if(g){b=q[f+80>>2];if(b>>>0<2){break $a}}b=q[q[a+212>>2]+44>>2]}g=q[a+232>>2];q[a+232>>2]=b?g|2:g&-3;break n;case 0:break Ya;case 1:break Za}}b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;ab:{if((g|0)>7){break ab}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break ab}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);bb:{if(g){b=q[f+80>>2];if(b>>>0<2){break bb}}b=q[q[a+212>>2]+40>>2]}g=q[a+232>>2];q[a+232>>2]=b?g|1:g&-2;break n}if(!Ra(k,356369,3)){b=k+3|0;q[f+76>>2]=b;q[f+88>>2]=i;cb:{if((g|0)>7){break cb}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break cb}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;Fb(f+88|0,f+80|0);b=q[f+84>>2];q[a+464>>2]=q[f+80>>2];q[a+468>>2]=b;break n}b=b+ -112|0;if(b>>>0<=1){if(b-1){b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;db:{if((g|0)>7){break db}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break db}g=(g<<3)+f|0;q[g+4>>2]=h;q[g>>2]=b}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);b=q[f+80>>2];q[a+456>>2]=(b|0)>0?b:0;break n}b=k+1|0;q[f+76>>2]=b;q[f+88>>2]=i;eb:{if((g|0)>7){break eb}nb(f+88|0,b);h=q[f+88>>2];if(h>>>0<=b>>>0){break eb}i=(g<<3)+f|0;q[i+4>>2]=h;q[i>>2]=b;g=g+1|0}b=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=b;jc(f+88|0,f+80|0);fb:{if(g){b=q[f+80>>2];if(b>>>0<4){break fb}}b=q[q[a+160>>2]+56>>2]}q[a+520>>2]=b;break n}if(Ra(k,356373,2)){break n}h=k+2|0;q[f+76>>2]=h;q[f+88>>2]=i;b=a;gb:{hb:{if((g|0)<8){nb(f+88|0,h);i=q[f+88>>2];if(i>>>0>h>>>0){m=(g<<3)+f|0;q[m+4>>2]=i;q[m>>2]=h;g=g+1|0}if(!g){break hb}}g=q[f+4>>2];q[f+88>>2]=q[f>>2];q[f+92>>2]=g;jc(f+88|0,f+80|0);h=q[f+80>>2];break gb}h=q[q[a+212>>2]+120>>2]}q[b+524>>2]=h;break n}b=q[a+208>>2];i=q[b+8>>2];s=q[b+12>>2]}k=q[a+168>>2];n=q[b>>2];m=k-n|0;n=q[a+172>>2]-(q[b+4>>2]+(k>>>0>>0)|0)|0;b=n;l=0;ib:{if((b|0)<(p|0)?1:(b|0)<=(p|0)?m>>>0>=h>>>0?0:1:0){break ib}l=1;if((n|0)>(s|0)?1:(n|0)>=(s|0)?m>>>0>>0?0:1:0){break ib}b=s-((i>>>0>>0)+p|0)|0;k=i-h|0;i=b;if(!(b|k)){break b}l=vG((+(m-h>>>0)+4294967296*+(n-((m>>>0>>0)+p|0)|0))/(+(k>>>0)+4294967296*+(i|0)),j)}j=l;d=e&1?j:d;b=g+ -1|0;if(b>>>0>3){break n}g=(b<<3)+f|0;b=q[g>>2];q[f+76>>2]=b;g=q[g+4>>2];if(g>>>0>>0){J=f,K=Hr(a,b,g,j,1),q[J+76>>2]=K;break n}if(q[f+72>>2]!=(c|0)){break a}q[f+72>>2]=b;e=1;d=j}b=q[f+72>>2]}q[f+76>>2]=b;if(b>>>0>>0){continue}break}}Da=f+96|0;return b}I(356280,356294,637,356306);F()}I(356317,356294,648,356306);F()}function _f(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0;m=Da-16|0;Da=m;q[m+4>>2]=f;j=q[a+352>>2];a:{if(q[a+144>>2]==(b|0)){D=a+284|0;A=a+288|0;break a}D=q[a+296>>2];A=D+4|0}x=a+424|0;v=a+412|0;H=a+288|0;J=a+284|0;E=j+132|0;u=j+92|0;y=j+80|0;G=a+252|0;b:{c:{d:{e:{while(1){f:{q[D>>2]=c;k=q[m+4>>2];q[A>>2]=k;g:{if((e|0)>0){f=e;break g}if(e?h:0){break c}f=15;h:{z=e+15|0;if(z>>>0>15){break h}l=6;s=5;i:{switch(z-1|0){case 14:q[D>>2]=k;l=4;break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break h;case 10:break i;case 12:break b;case 13:break f;default:break g}}if(q[a+144>>2]!=(b|0)){if(!r[q[a+296>>2]+20|0]){break c}break d}if(r[a+484|0]){break d}l=3;break b}q[m+4>>2]=d;f=0-e|0;k=d}l=1;B=n[q[G>>2]](G,f,c,k,b)|0;e=B+1|0;j:{k:{if(e>>>0>61){break k}k=0;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:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{switch(e-1|0){case 1:s=fq(a,0,c,q[m+4>>2]);if(s){break f}b=q[a+144>>2];break j;case 4:xa:{if(!q[a+84>>2]){e=1;break xa}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break e}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break e}break}if(!q[a+428>>2]){break e}f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(v)){break e}f=q[x>>2]}s=1;q[a+424>>2]=f+1;e=0;o[f|0]=0;f=q[a+428>>2];q[a+316>>2]=f;if(!f){break f}q[a+324>>2]=0;q[a+428>>2]=q[a+424>>2]}q[a+320>>2]=0;if(e){break k}break j;case 7:e=q[a+84>>2];if(!e){break k}n[e](q[a+4>>2],q[a+316>>2],q[a+320>>2],q[a+324>>2],1);q[a+316>>2]=0;f=q[a+416>>2];ya:{if(!f){q[a+416>>2]=q[a+412>>2];break ya}c=q[v>>2];if(!c){break ya}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j;case 57:s=fq(a,1,c,q[m+4>>2]);if(s){break f}b=q[a+144>>2];break j;case 39:break x;case 33:break y;case 17:break z;case 11:break A;case 3:break B;case 0:break C;case 56:break D;case 55:break E;case 45:break F;case 48:break G;case 46:break H;case 47:break I;case 51:break K;case 53:break L;case 54:break M;case 52:break N;case 43:break O;case 41:case 42:break P;case 40:break Q;case 59:case 60:break R;case 49:break S;case 50:break T;case 44:break U;case 58:break V;case 20:break X;case 19:break Y;case 21:break Z;case 18:break _;case 10:break $;case 9:break aa;case 16:break ba;case 15:break ca;case 13:break da;case 5:break ea;case 12:break fa;case 37:case 38:break ga;case 35:case 36:break ha;case 31:case 32:break ia;case 30:break ja;case 29:break ka;case 28:break la;case 27:break ma;case 26:break na;case 25:break oa;case 24:break pa;case 23:break qa;case 22:break ra;case 34:break sa;case 2:break ta;case 8:break ua;case 14:break va;case 6:break wa;default:break W}}o[a+485|0]=0;e=ic(a,E,498158,36);q[a+312>>2]=e;if(!e){break b}o[j+129|0]=1;if(!q[a+84>>2]){break va}if(!n[q[b+52>>2]](b,c,q[m+4>>2],D)){l=32;break b}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}e=e-f|0;za:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break za}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;f=q[a+428>>2];if(!f){break f}s=f;k=f;e=f;l=r[e|0];Aa:{if(!l){break Aa}while(1){e=k;z=s;k=(l<<24>>24)+ -10|0;Ba:{if(!(k>>>0>22|!(1<>2]=f;q[a+428>>2]=q[a+424>>2];break m}if(n[q[b+52>>2]](b,c,q[m+4>>2],D)){break m}l=32;break b}if((i|0)!=1){l=4;break b}e=q[a+316>>2];if(e){n[q[a+84>>2]](q[a+4>>2],e,q[a+320>>2],q[a+324>>2],0);k=q[a+416>>2];Ca:{if(!k){q[a+416>>2]=q[a+412>>2];break Ca}e=q[v>>2];if(!e){break Ca}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;l=0}if(!(r[a+485|0]?0:!q[a+320>>2])){f=r[j+129|0];o[j+129|0]=1;Da:{if(!q[a+488>>2]|!q[a+112>>2]){break Da}e=ic(a,E,498158,36);if(!e){l=1;break b}if(r[a+485|0]){q[e+20>>2]=q[a+356>>2]}o[j+131|0]=0;if(!n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])){l=21;break b}if(r[j+131|0]){if(r[j+130|0]){break Da}e=q[a+108>>2];if(!e){break Da}if(n[e](q[a+4>>2])){break Da}l=22;break b}if(q[a+320>>2]){break Da}o[j+129|0]=f}o[a+485|0]=0}e=q[a+88>>2];if(!e){break l}n[e](q[a+4>>2]);break j}Ea:{if(!r[a+485|0]){break Ea}e=r[j+129|0];o[j+129|0]=1;if(!q[a+488>>2]|!q[a+112>>2]){break Ea}b=ic(a,E,498158,36);if(!b){break b}q[b+20>>2]=q[a+356>>2];o[j+131|0]=0;if(!n[q[a+112>>2]](q[a+116>>2],0,q[b+20>>2],q[b+16>>2],q[b+24>>2])){l=21;break b}if(r[j+131|0]){if(r[j+130|0]){break Ea}b=q[a+108>>2];if(!b){break Ea}if(n[b](q[a+4>>2])){break Ea}l=22;break b}o[j+129|0]=e}q[a+276>>2]=966;l=We(a,0,q[a+144>>2],c,d,g,!r[a+480|0]);if(l){break b}b=q[a+360>>2];if(!b){l=0;break b}while(1){f=q[b+4>>2];c=q[b+36>>2];d=q[b+24>>2]+1|0;k=c+d|0;if((f|0)==(k|0)){l=0;break b}l=q[b+8>>2];e=d+l|0;if((e|0)>(q[b+40>>2]-c|0)){c=n[q[a+16>>2]](c,e)|0;if(!c){l=1;break b}f=q[b+36>>2];if((f|0)==q[b+12>>2]){q[b+12>>2]=c}g=q[b+16>>2];if(g){q[b+16>>2]=c+(g-f|0)}q[b+36>>2]=c;q[b+40>>2]=c+e;k=c+d|0;l=q[b+8>>2];f=q[b+4>>2]}K=b,L=Qa(k,f,l),q[K+4>>2]=L;b=q[b>>2];if(b){continue}break}l=0;break b}e=q[a+352>>2];l=q[m+4>>2];q[m+12>>2]=c;f=e+80|0;k=e+92|0;Fa:{if(!q[k>>2]){if(!Ya(f)){break Fa}}while(1){if(n[q[b+56>>2]](b,m+12|0,l,k,q[e+88>>2])>>>0>=2){if(Ya(f)){continue}break Fa}break}if(!q[e+96>>2]){break Fa}l=q[e+92>>2];if((l|0)==q[e+88>>2]){if(!Ya(f)){break Fa}l=q[k>>2]}q[e+92>>2]=l+1;o[l|0]=0;k=q[e+96>>2];if(!k){break Fa}f=ic(a,e+20|0,k,24);if(!f){break Fa}if((k|0)!=q[f>>2]){q[e+92>>2]=q[e+96>>2];break o}q[e+96>>2]=q[e+92>>2];if(ci(a,f)){break o}}q[a+340>>2]=0;l=1;break b}e=wk(a,b,c,q[m+4>>2]);q[a+344>>2]=e;if(!e){break b}q[a+328>>2]=0;p[a+348>>1]=0;break n}q[a+328>>2]=498160;o[a+348|0]=1;break n}q[a+328>>2]=498166;o[a+349|0]=1;break n}q[a+328>>2]=498169;break n}q[a+328>>2]=498175;break n}q[a+328>>2]=498182;break n}q[a+328>>2]=498189;break n}q[a+328>>2]=498198;break n}q[a+328>>2]=498206;break n}if(!r[j+128|0]|!q[a+132>>2]){break k}e=q[a+328>>2]?498225:(B|0)==32?498215:498227;f=r[e|0];if(f){while(1){k=q[a+424>>2];if((k|0)==q[a+420>>2]){if(!Ya(v)){break b}k=q[x>>2];f=r[e|0]}q[x>>2]=k+1;o[k|0]=f;f=r[e+1|0];e=e+1|0;if(f){continue}break}}s=1;if(!q[a+428>>2]){break f}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break b}}Ga:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break Ga}if(Ya(v)){continue}break}break b}c=q[a+428>>2];if(!c){break f}q[a+328>>2]=c;break j}if(!r[j+128|0]){break k}s=r[a+348|0];l=q[a+344>>2];f=q[a+340>>2];k=q[f+12>>2];Ha:{Ia:{if(!r[a+349|0]){break Ia}if((k|0)>=1){z=q[f+20>>2];e=0;while(1){if((l|0)==q[z+w(e,12)>>2]){break Ha}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(q[f+8>>2]|r[l+9|0]){break Ia}q[f+8>>2]=l}Ja:{if((k|0)!=q[f+16>>2]){e=q[f+20>>2];break Ja}if(!k){q[f+16>>2]=8;e=n[q[a+12>>2]](96)|0;q[f+20>>2]=e;if(e){break Ja}q[f+16>>2]=0;l=1;break b}e=n[q[a+16>>2]](q[f+20>>2],w(k,24))|0;if(!e){l=1;break b}q[f+20>>2]=e;q[f+16>>2]=k<<1}e=w(q[f+12>>2],12)+e|0;q[e+8>>2]=0;q[e>>2]=l;o[e+4|0]=s;if(!s){o[l+8|0]=1}q[f+12>>2]=q[f+12>>2]+1}if(!q[a+132>>2]){break k}e=q[a+328>>2];if(!e){break k}f=r[e|0];if(!((f|0)!=78|r[e+1|0]!=79?(f|0)!=40:0)){e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){l=1;break b}e=q[x>>2]}s=1;q[a+424>>2]=e+1;o[e|0]=41;e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;q[a+328>>2]=q[a+428>>2];q[a+428>>2]=q[a+424>>2]}q[A>>2]=c;n[q[a+132>>2]](q[a+4>>2],q[q[a+340>>2]>>2],q[q[a+344>>2]>>2],q[a+328>>2],0,(B|0)==36);f=q[a+416>>2];Ka:{if(!f){q[a+416>>2]=q[a+412>>2];break Ka}c=q[v>>2];if(!c){break Ka}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j}if(!r[j+128|0]){break k}f=r[a+348|0];e=q[b+64>>2];s=vk(a,b,f,e+c|0,q[m+4>>2]-e|0,y);if(s){break f}e=q[u>>2];La:{if((e|0)==q[j+96>>2]|f){break La}f=e+ -1|0;if(r[f|0]!=32){break La}q[u>>2]=f;e=f}if(q[j+88>>2]==(e|0)){if(!Ya(y)){break b}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;l=q[j+96>>2];q[j+96>>2]=q[u>>2];z=r[a+348|0];s=q[a+344>>2];f=q[a+340>>2];k=q[f+12>>2];Ma:{if(!(!l|(k|0)<1)){C=q[f+20>>2];e=0;while(1){if((s|0)==q[C+w(e,12)>>2]){break Ma}e=e+1|0;if((k|0)!=(e|0)){continue}break}}Na:{if((k|0)!=q[f+16>>2]){e=q[f+20>>2];break Na}if(!k){q[f+16>>2]=8;e=n[q[a+12>>2]](96)|0;q[f+20>>2]=e;if(e){break Na}q[f+16>>2]=0;l=1;break b}e=n[q[a+16>>2]](q[f+20>>2],w(k,24))|0;if(!e){l=1;break b}q[f+20>>2]=e;q[f+16>>2]=k<<1}e=w(q[f+12>>2],12)+e|0;q[e+8>>2]=l;q[e>>2]=s;o[e+4|0]=z;if(!z){o[s+8|0]=1}q[f+12>>2]=q[f+12>>2]+1}if(!q[a+132>>2]){break k}e=q[a+328>>2];if(!e){break k}f=r[e|0];if(!((f|0)!=78|r[e+1|0]!=79?(f|0)!=40:0)){e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){l=1;break b}e=q[x>>2]}s=1;q[a+424>>2]=e+1;o[e|0]=41;e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;o[e|0]=0;q[a+328>>2]=q[a+428>>2];q[a+428>>2]=q[a+424>>2]}q[A>>2]=c;n[q[a+132>>2]](q[a+4>>2],q[q[a+340>>2]>>2],q[q[a+344>>2]>>2],q[a+328>>2],l,(B|0)==38);f=q[a+416>>2];Oa:{if(!f){q[a+416>>2]=q[a+412>>2];break Oa}c=q[v>>2];if(!c){break Oa}while(1){e=q[c>>2];q[c>>2]=f;q[a+416>>2]=c;f=c;c=e;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break j}if(!r[j+128|0]){break k}e=q[b+64>>2];s=eq(a,b,e+c|0,q[m+4>>2]-e|0);e=q[j+120>>2];f=q[a+312>>2];Pa:{if(f){q[f+4>>2]=e;q[q[a+312>>2]+8>>2]=q[j+116>>2]-q[j+120>>2];q[j+120>>2]=q[j+116>>2];if(!q[a+136>>2]){break Pa}q[A>>2]=c;l=0;e=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[e>>2],r[e+33|0],q[e+4>>2],q[e+8>>2],q[a+356>>2],0,0,0);if(s){break f}break l}q[j+116>>2]=e}if(s){break f}break l}o[a+485|0]=0;o[j+129|0]=1;Qa:{if(q[a+84>>2]){e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break p}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break p}break}if(!q[a+428>>2]){break p}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break p}e=q[x>>2]}s=1;q[a+424>>2]=e+1;l=0;o[e|0]=0;e=q[a+428>>2];q[a+320>>2]=e;if(!e){break f}q[a+428>>2]=q[a+424>>2];break Qa}q[a+320>>2]=498158}Ra:{if(r[j+130|0]|q[a+488>>2]){break Ra}e=q[a+108>>2];if(!e){break Ra}if(n[e](q[a+4>>2])){break Ra}l=22;break b}if(q[a+312>>2]){break da}e=ic(a,E,498158,36);q[a+312>>2]=e;if(!e){l=1;break b}q[e+24>>2]=0}if(!r[j+128|0]|!q[a+312>>2]){break l}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;Sa:{Ta:{Ua:{if(!q[u>>2]){if(!Ya(y)){break Ua}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Ta}if(Ya(y)){continue}break}}e=0;break Sa}e=0;if(!q[j+96>>2]){break Sa}f=q[j+92>>2];if((f|0)==q[j+88>>2]){if(!Ya(y)){break Sa}f=q[u>>2]}q[u>>2]=f+1;o[f|0]=0;e=q[j+96>>2]}q[q[a+312>>2]+16>>2]=e;e=q[a+312>>2];if(!q[e+16>>2]){l=1;break b}q[e+20>>2]=q[a+356>>2];q[j+96>>2]=q[u>>2];if(!q[a+136>>2]|(B|0)!=13){break l}break j}if(!q[a+136>>2]|(!r[j+128|0]|!q[a+312>>2])){break k}q[A>>2]=c;c=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[c>>2],r[c+33|0],0,0,q[c+20>>2],q[c+16>>2],q[c+24>>2],0);break j}if(!r[j+128|0]|!q[a+312>>2]){break k}e=q[m+4>>2];q[m+12>>2]=c;Va:{Wa:{Xa:{if(!q[u>>2]){if(!Ya(y)){break Xa}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Wa}if(Ya(y)){continue}break}}e=0;break Va}e=0;if(!q[j+96>>2]){break Va}f=q[j+92>>2];if((f|0)==q[j+88>>2]){if(!Ya(y)){break Va}f=q[u>>2]}q[u>>2]=f+1;o[f|0]=0;e=q[j+96>>2]}q[q[a+312>>2]+28>>2]=e;if(!q[q[a+312>>2]+28>>2]){break b}q[j+96>>2]=q[u>>2];if(q[a+92>>2]){q[A>>2]=c;c=q[a+312>>2];n[q[a+92>>2]](q[a+4>>2],q[c>>2],q[c+20>>2],q[c+16>>2],q[c+24>>2],q[c+28>>2]);break j}if(!q[a+136>>2]){break k}q[A>>2]=c;c=q[a+312>>2];n[q[a+136>>2]](q[a+4>>2],q[c>>2],0,0,0,q[c+20>>2],q[c+16>>2],q[c+24>>2],q[c+28>>2]);break j}if(n[q[b+44>>2]](b,c,q[m+4>>2])){q[a+312>>2]=0;break k}if(!r[j+128|0]){break w}e=q[m+4>>2];q[m+12>>2]=c;if(!q[u>>2]){if(!Ya(y)){break b}}Ya:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Ya}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;e=q[j+96>>2];if(!e){break f}f=ic(a,j,e,36);q[a+312>>2]=f;if(!f){break f}if((e|0)!=q[f>>2]){q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[j+96>>2]=q[u>>2];q[q[a+312>>2]+24>>2]=0;o[q[a+312>>2]+33|0]=0;o[q[a+312>>2]+34|0]=(q[a+472>>2]?1:q[a+296>>2]!=0)^1;if(!q[a+136>>2]){break k}break j}if(r[j+128|0]){e=q[m+4>>2];q[m+12>>2]=c;if(!q[u>>2]){if(!Ya(y)){break b}}Za:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break Za}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;e=q[j+96>>2];if(!e){break f}f=ic(a,E,e,36);q[a+312>>2]=f;if(!f){break f}if((e|0)!=q[f>>2]){q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[j+96>>2]=q[u>>2];q[q[a+312>>2]+24>>2]=0;o[q[a+312>>2]+33|0]=1;o[q[a+312>>2]+34|0]=(q[a+472>>2]?1:q[a+296>>2]!=0)^1;if(!q[a+136>>2]){break k}break j}q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}q[a+332>>2]=0;q[a+336>>2]=0;if(!q[a+96>>2]){break k}e=q[m+4>>2];q[m+12>>2]=c;if(!q[x>>2]){if(!Ya(v)){break q}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break q}break}if(!q[a+428>>2]){break q}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(v)){break q}c=q[x>>2]}s=1;q[a+424>>2]=c+1;o[c|0]=0;c=q[a+428>>2];q[a+332>>2]=c;if(!c){break f}q[a+428>>2]=q[a+424>>2];break j}if(!n[q[b+52>>2]](b,c,q[m+4>>2],D)){l=32;break b}if(!q[a+332>>2]){break k}e=q[m+4>>2];f=c;c=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}c=e-c|0;_a:{while(1){if(n[q[b+56>>2]](b,m+12|0,c,x,q[a+420>>2])>>>0<2){break _a}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(v)){break f}c=q[x>>2]}q[a+424>>2]=c+1;o[c|0]=0;e=q[a+428>>2];if(!e){break f}l=e;f=e;c=e;k=r[e|0];$a:{if(!k){break $a}while(1){c=f;s=l;f=(k<<24>>24)+ -10|0;ab:{if(!(f>>>0>22|!(1<>2]=e;q[a+428>>2]=q[a+424>>2];break j}if(!(!q[a+332>>2]|!q[a+96>>2])){e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[x>>2]){if(!Ya(v)){break b}}e=e-f|0;bb:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,x,q[a+420>>2])>>>0<2){break bb}if(Ya(v)){continue}break}break b}s=1;if(!q[a+428>>2]){break f}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(v)){break f}e=q[x>>2]}q[a+424>>2]=e+1;l=0;o[e|0]=0;e=q[a+428>>2];if(!e){break f}q[A>>2]=c;n[q[a+96>>2]](q[a+4>>2],q[a+332>>2],q[a+356>>2],e,q[a+336>>2])}k=q[a+416>>2];cb:{if(!k){q[a+416>>2]=q[a+412>>2];break cb}e=q[v>>2];if(!e){break cb}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;if(l){break k}break j}if(!(!q[a+336>>2]|!q[a+96>>2])){q[A>>2]=c;n[q[a+96>>2]](q[a+4>>2],q[a+332>>2],q[a+356>>2],0,q[a+336>>2]);l=0}k=q[a+416>>2];db:{if(!k){q[a+416>>2]=q[a+412>>2];break db}e=q[v>>2];if(!e){break db}while(1){f=q[e>>2];q[e>>2]=k;q[a+416>>2]=e;k=e;e=f;if(e){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;if(l){break k}break j}l=(f|0)==28?10:(f|0)==12?17:2;break b}f=q[a+80>>2];eb:{if(!f){break eb}e=q[m+4>>2];q[m+12>>2]=c;if(!r[b+68|0]){k=J;l=H;if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];l=k+4|0}while(1){q[m+8>>2]=q[a+44>>2];c=n[q[b+56>>2]](b,m+12|0,e,m+8|0,q[a+48>>2])|0;q[l>>2]=q[m+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[m+8>>2]-f|0);q[k>>2]=q[m+12>>2];if(c>>>0>1){continue}break}break eb}n[f](q[a+4>>2],c,e-c|0)}s=dq(a,b,m+4|0,d,g,h);if(s){break f}if(q[m+4>>2]){break j}q[a+276>>2]=967;l=0;break b}e=q[a+464>>2];fb:{if(t[a+256>>2]>>0){break fb}gb:{if(e){e=e<<1;q[a+464>>2]=e;e=n[q[a+16>>2]](q[a+460>>2],e)|0;if(!e){q[a+464>>2]=q[a+464>>2]>>>1;break b}q[a+460>>2]=e;e=q[j+184>>2];if(!e){break fb}e=n[q[a+16>>2]](e,q[a+464>>2]<<2)|0;if(e){break gb}break b}q[a+464>>2]=32;e=n[q[a+12>>2]](32)|0;q[a+460>>2]=e;if(e){break fb}q[a+464>>2]=0;break b}q[j+184>>2]=e}o[q[a+460>>2]+q[a+256>>2]|0]=0;if(!r[j+160|0]){break k}e=cq(a);if((e|0)<0){break b}f=q[j+184>>2];if(!f){break v}q[f+(q[j+180>>2]<<2)>>2]=e;q[j+180>>2]=q[j+180>>2]+1;q[q[j+164>>2]+w(e,28)>>2]=6;if(!q[a+128>>2]){break k}break j}e=q[a+460>>2]+q[a+256>>2]|0;if(r[e|0]==124){l=2;break b}o[e|0]=44;if(!r[j+160|0]|!q[a+128>>2]){break k}break j}e=q[a+460>>2];f=q[a+256>>2];l=r[e+f|0];if((l|0)==44){l=2;break b}k=1;hb:{if(!r[j+160|0]|l){break hb}l=q[j+164>>2]+w(q[(q[j+184>>2]+(q[j+180>>2]<<2)|0)+ -4>>2],28)|0;if(q[l>>2]==3){break hb}q[l>>2]=5;f=q[a+256>>2];e=q[a+460>>2];k=!q[a+128>>2]}o[e+f|0]=124;if(k){break k}break j}o[j+129|0]=1;if(!q[a+488>>2]){e=r[j+130|0];o[j+128|0]=e;break r}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;if(!q[u>>2]){if(!Ya(y)){break b}}e=e-f|0;ib:{while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break ib}if(Ya(y)){continue}break}break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;f=q[j+96>>2];if(!f){break f}e=ic(a,E,f,0);q[u>>2]=q[j+96>>2];if(!q[a+268>>2]){break t}jb:{if(r[j+130|0]){if(!q[a+296>>2]){break jb}break t}if(r[j+129|0]){break t}}if(!e){l=11;break b}if(r[e+34|0]){break s}l=24;break b}if(!q[a+128>>2]){break k}e=q[a+352>>2];k=q[m+4>>2];q[m+12>>2]=c;c=e+80|0;f=e+92|0;kb:{if(!q[f>>2]){if(!Ya(c)){break kb}}while(1){if(n[q[b+56>>2]](b,m+12|0,k,f,q[e+88>>2])>>>0>=2){if(Ya(c)){continue}break kb}break}if(!q[e+96>>2]){break kb}k=q[e+92>>2];if((k|0)==q[e+88>>2]){if(!Ya(c)){break kb}k=q[f>>2]}q[e+92>>2]=k+1;o[k|0]=0;f=q[e+96>>2];if(!f){break kb}c=ic(a,e+20|0,f,24);if(!c){break kb}if((f|0)!=q[c>>2]){q[e+92>>2]=q[e+96>>2];break u}q[e+96>>2]=q[e+92>>2];if(ci(a,c)){break u}}q[a+340>>2]=0;break b}if(!r[j+160|0]){break k}if(q[a+128>>2]){e=n[q[a+12>>2]](20)|0;if(!e){break b}q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;q[e>>2]=(B|0)==41?2:1;q[A>>2]=c;n[q[a+128>>2]](q[a+4>>2],q[q[a+340>>2]>>2],e);e=0}else{e=1}o[j+160|0]=0;if(e){break k}break j}if(!r[j+160|0]){break k}q[q[j+164>>2]+w(q[(q[j+184>>2]+(q[j+180>>2]<<2)|0)+ -4>>2],28)>>2]=3;if(!q[a+128>>2]){break k}break j}l=2;break L}l=3}if(!r[j+160|0]){break k}e=q[m+4>>2]-q[b+64>>2]|0;break J}if(!r[j+160|0]){break k}l=0;e=q[m+4>>2]}s=1;z=cq(a);if((z|0)<0){break f}f=w(z,28);q[f+q[j+164>>2]>>2]=4;q[(f+q[j+164>>2]|0)+4>>2]=l;f=q[a+352>>2];q[m+12>>2]=c;k=f+80|0;lb:{C=f+92|0;mb:{if(!q[C>>2]){if(!Ya(k)){break mb}}while(1){if(n[q[b+56>>2]](b,m+12|0,e,C,q[f+88>>2])>>>0<2){break lb}if(Ya(k)){continue}break}}l=1;break b}if(!q[f+96>>2]){break f}l=q[f+92>>2];if((l|0)==q[f+88>>2]){if(!Ya(k)){break f}l=q[C>>2]}q[f+92>>2]=l+1;o[l|0]=0;k=q[f+96>>2];if(!k){break f}e=ic(a,f+20|0,k,24);if(!e){break f}nb:{if((k|0)!=q[e>>2]){q[f+92>>2]=q[f+96>>2];break nb}q[f+96>>2]=q[f+92>>2];if(!ci(a,e)){break f}}f=q[e>>2];q[(q[j+164>>2]+w(z,28)|0)+8>>2]=f;e=0;while(1){k=e+f|0;l=e+1|0;e=l;if(r[k|0]){continue}break}q[j+168>>2]=l+q[j+168>>2];if(!q[a+128>>2]){break k}break j}k=1;break F}k=2;break F}k=3}if(!r[j+160|0]){break k}e=q[a+128>>2];f=q[j+180>>2]+ -1|0;q[j+180>>2]=f;q[(q[j+164>>2]+w(q[q[j+184>>2]+(f<<2)>>2],28)|0)+4>>2]=k;l=!e;if(q[j+180>>2]){break l}if(e){f=q[a+352>>2];e=n[q[a+12>>2]](w(q[f+176>>2],20)+q[f+168>>2]|0)|0;if(!e){l=1;break b}f=q[f+176>>2];q[m+12>>2]=e+20;q[m+8>>2]=e+w(f,20);bq(a,0,e,m+12|0,m+8|0);q[A>>2]=c;n[q[a+128>>2]](q[a+4>>2],q[q[a+340>>2]>>2],e)}q[j+168>>2]=0;o[j+160|0]=0;break l}if(uk(a,b,c,q[m+4>>2])){break j}break b}if(tk(a,b,c,q[m+4>>2])){break j}break b}if((f|0)!=14){break k}break j}if(!q[a+84>>2]){break k}break j}if(!r[j+128|0]|!q[a+136>>2]){break k}break j}if(!q[a+96>>2]){break k}break j}if(!r[j+128|0]|!q[a+132>>2]){break k}break j}if(!q[a+128>>2]){break k}break j}q[u>>2]=q[j+96>>2];q[a+312>>2]=0;break k}I(498229,496835,4809,498253);F()}q[a+340>>2]=c;q[j+176>>2]=0;q[j+180>>2]=0;o[j+160|0]=1;break j}if(e){break s}o[j+128|0]=r[j+130|0];if((B|0)!=60){break k}e=q[a+120>>2];if(!e){break k}n[e](q[a+4>>2],f,1);break j}if(r[e+32|0]){l=12;break b}if(q[e+4>>2]){s=aq(a,e,(B|0)==60);if(!s){break j}break f}if(q[a+112>>2]){l=0;o[j+131|0]=0;o[e+32|0]=1;f=n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])|0;o[e+32|0]=0;if(!f){l=21;break b}e=r[j+130|0];if(r[j+131|0]){break r}o[j+128|0]=e;break j}o[j+128|0]=r[j+130|0];break k}if(e&255){break l}e=q[a+108>>2];if(!e){break l}if(n[e](q[a+4>>2])){break l}l=22;break b}q[a+332>>2]=0;break b}q[a+320>>2]=0;break b}q[a+340>>2]=f}if(!r[j+128|0]|!q[a+132>>2]){break k}break j}if(!r[j+128|0]|!q[a+312>>2]){break l}e=q[m+4>>2];f=q[b+64>>2];q[m+12>>2]=f+c;ob:{pb:{if(!q[u>>2]){if(!Ya(y)){break pb}}e=e-f|0;while(1){if(n[q[b+56>>2]](b,m+12|0,e,u,q[j+88>>2])>>>0<2){break ob}if(Ya(y)){continue}break}}l=1;break b}s=1;if(!q[j+96>>2]){break f}e=q[j+92>>2];if((e|0)==q[j+88>>2]){if(!Ya(y)){break f}e=q[u>>2]}q[u>>2]=e+1;o[e|0]=0;f=q[j+96>>2];if(!f){break f}z=f;k=f;e=f;s=r[e|0];qb:{if(!s){break qb}while(1){e=k;C=z;k=(s<<24>>24)+ -10|0;rb:{if(!(k>>>0>22|!(1<>2]+24>>2]=f;q[j+96>>2]=q[u>>2];if((B|0)!=14){break l}if(q[a+136>>2]){break j}}if(!l){break j}}f=q[a+80>>2];if(!f){break j}e=q[m+4>>2];q[m+12>>2]=c;if(!r[b+68|0]){k=J;l=H;if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];l=k+4|0}while(1){q[m+8>>2]=q[a+44>>2];c=n[q[b+56>>2]](b,m+12|0,e,m+8|0,q[a+48>>2])|0;q[l>>2]=q[m+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[m+8>>2]-f|0);q[k>>2]=q[m+12>>2];if(c>>>0>1){continue}break}break j}n[f](q[a+4>>2],c,e-c|0)}c=q[a+476>>2]+ -2|0;if(c>>>0<=1){s=35;if(c-1){break f}q[g>>2]=q[m+4>>2];l=0;break b}else{c=q[m+4>>2];e=n[q[b>>2]](b,c,d,m+4|0)|0;continue}}break}l=s;break b}q[a+316>>2]=0;break b}if((n[q[G>>2]](G,-4,d,d,b)|0)!=-1){break c}l=29;break b}q[g>>2]=c;l=0}Da=m+16|0;return l}function kz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0;f=Da-96|0;Da=f;x=q[a+28>>2];q[f+76>>2]=0;v=q[c>>2];B=mb(a,162240,f+8|0);q[f+76>>2]=B;a:{if(B){break a}B=8;if(q[f+12>>2]==2001684018){break a}e=q[f+16>>2];if((e|0)!=q[a+4>>2]){break a}h=s[f+20>>1];if(!h|w(h,20)+48>>>0>=e>>>0){break a}j=q[f+36>>2];g=q[f+32>>2];b:{if(!g){if(q[f+40>>2]|j){break a}j=0;if(e>>>0>g>>>0){break b}break a}if(j){if(e>>>0<=g>>>0){break a}if(q[f+40>>2]){break b}break a}j=0;if(e>>>0<=g>>>0){break a}}if(e-g>>>0>>0){break a}g=q[f+44>>2];c:{if(!g){if(!q[f+48>>2]){break c}break a}if(e-g>>>0>2]|e>>>0<=g>>>0){break a}}q[f+72>>2]=0;ca=Oa(x,32,0,h,0,f+76|0);d:{if(q[f+76>>2]){B=0;break d}R=Oa(x,4,0,s[f+20>>1],0,f+76|0);e:{f:{if(q[f+76>>2]){break f}B=0;g:{if(s[f+20>>1]){while(1){j=(m<<5)+ca|0;D=Ob(a,f+76|0);o[j|0]=D;if(q[f+76>>2]){break f}e=D&63;h:{if((e|0)==63){H=Hb(a,f+76|0);q[j+4>>2]=H;if(q[f+76>>2]){break g}D=r[j|0];break h}H=q[(e<<2)+162304>>2];q[j+4>>2]=H}e=pn(a,j+8|0);q[f+76>>2]=e;if(e){break g}h=(D&192)>>>6|0;D=q[j+8>>2];q[j+12>>2]=D;i:{j:{g=((H|0)!=1735162214?(H|0)!=1819239265:0)?((h|0)!=0)<<8:!h<<8;if(g){e=pn(a,j+12|0);q[f+76>>2]=e;if(e){break g}e=q[j+12>>2];if(q[j+4>>2]==1819239265){break j}D=e}if(D>>>0<=(l^-1)>>>0){break i}q[f+76>>2]=8;break f}D=0;if(!e){break i}q[f+76>>2]=8;break f}q[j+24>>2]=D;q[j+20>>2]=l;q[j+16>>2]=g|h;q[(m<<2)+R>>2]=j;l=l+D|0;m=m+1|0;B=s[f+20>>1];if(m>>>0>>0){continue}break}}g=q[((B<<2)+R|0)+ -4>>2];e=q[g+24>>2];g=e+q[g+20>>2]|0;q[f+52>>2]=g;if(g>>>0>>0){q[f+76>>2]=8;break f}q[f+60>>2]=0;p[f+64>>1]=1;k:{if(q[f+12>>2]==1953784678){e=Hb(a,f+76|0);q[f+60>>2]=e;if(q[f+76>>2]){break f}if(!((e|0)==65536|(e|0)==131072)){q[f+76>>2]=8;break f}e=nf(a,f- -64|0);q[f+76>>2]=e;if(e){break g}e=s[f+64>>1];if(!e){q[f+76>>2]=8;break f}l=Oa(x,12,0,e,0,f+76|0);q[f+72>>2]=l;if(q[f+76>>2]){break f}if(!s[f+64>>1]){break k}g=l+4|0;e=nf(a,g);q[f+76>>2]=e;if(e){break f}while(1){j=w(L,12)+l|0;na=j,oa=Hb(a,f+76|0),q[na>>2]=oa;if(q[f+76>>2]){break g}na=j,oa=Oa(x,2,0,s[g>>1],0,f+76|0),q[na+8>>2]=oa;if(q[f+76>>2]){break f}m=0;l:{if(!s[g>>1]){D=0;break l}D=0;while(1){e=nf(a,f+92|0);q[f+76>>2]=e;if(e){break g}e=s[f+92>>1];if(e>>>0>=s[f+20>>1]){q[f+76>>2]=8;I=0;break f}p[q[j+8>>2]+(I<<1)>>1]=e;h=q[q[(e<<2)+R>>2]+4>>2];D=(h|0)==1735162214?e:D;m=(h|0)==1819239265?e:m;I=I+1|0;if(I>>>0>1]){continue}break}}if(!(!(m|D)|((m-D|0)==1?m>>>0>=D>>>0:0))){q[f+76>>2]=8;I=0;break f}L=L+1|0;if(L>>>0>=s[f+64>>1]){break k}l=q[f+72>>2];g=(l+w(L,12)|0)+4|0;e=nf(a,g);q[f+76>>2]=e;I=0;m=0;D=0;B=0;if(!e){continue}break}break d}q[f+72>>2]=0}e=q[a+8>>2];q[f+56>>2]=e;e=(e+q[f+28>>2]|0)+3|0;B=e&-4;g=q[f+16>>2];if(B>>>0>g>>>0){q[f+76>>2]=8;I=0;break f}j=q[f+32>>2];if(j){if((j|0)!=(B|0)){q[f+76>>2]=8;I=0;break f}B=q[f+36>>2]+(e|3)&-4}e=q[f+44>>2];if(e){if((e|0)!=(B|0)){q[f+76>>2]=8;I=0;break f}B=q[f+48>>2]+(B|3)&-4}if((g+3&-4)!=(B|0)){q[f+76>>2]=8;I=0;break f}e=d;d=s[f+64>>1];q[e>>2]=d;m:{e=v>>31;g=(e+v^e)&65535;e=q[c>>2];D=g+(e>>31)|0;if((D|0)<(d|0)){break m}D=0;if((e|0)<0){break m}q[f+76>>2]=6;I=0;break f}n:{if(!q[f+60>>2]){B=s[f+20>>1];break n}I=0;j=q[f+72>>2];e=j+w(D,12)|0;d=Oa(x,4,0,s[e+4>>1],0,f+76|0);if(q[f+76>>2]){break f}g=s[e+4>>1];if(g){h=g>>>0>1?g:1;m=j+w(D,12)|0;B=0;while(1){q[d+(B<<2)>>2]=q[(s[q[m+8>>2]+(B<<1)>>1]<<2)+R>>2];B=B+1|0;if((h|0)!=(B|0)){continue}break}}R=Oa(x,4,s[f+20>>1],g,R,f+76|0);if(q[f+76>>2]){break g}g=s[e+4>>1];if(g){g=g>>>0>1?g:1;B=0;while(1){h=B<<2;q[h+R>>2]=q[d+h>>2];B=B+1|0;if((g|0)!=(B|0)){continue}break}}if(d){n[q[x+8>>2]](x,d)}q[f+12>>2]=q[j+w(D,12)>>2];B=s[e+4>>1];p[f+20>>1]=B}d=x;e=q[f+24>>2];j=(B&65535)<<4|12;if(e>>>0>j>>>0){g=q[f+16>>2];e=e>>>6>>>0>g>>>0?g<<6:e;j=e>>>0<67108864?e:67108864}m=gb(d,j,f+76|0);if(q[f+76>>2]){I=0;break e}D=gb(x,40,f+76|0);o:{if(q[f+76>>2]){break o}O=q[f+12>>2];o[m|0]=O>>>24;S=q[f+12>>2];o[m+1|0]=S>>>16;K=q[f+12>>2];o[m+2|0]=K>>>8;i=q[f+12>>2];o[m+3|0]=i;e=s[f+20>>1];p:{if(!e){g=r[m+11|0];y=r[m+10|0];d=r[m+9|0];l=r[m+7|0];e=r[m+6|0];H=r[m+5|0];h=r[m+4|0];B=0;v=r[m+8|0];break p}h=e>>>8|0;o[m+4|0]=h;H=r[f+20|0];d=32-z(e>>>1|0)|0;o[m+9|0]=d;o[m+5|0]=H;o[m+8|0]=d>>>8;l=16<>>8|0;o[m+6|0]=e;y=g>>>8|0;o[m+10|0]=y;B=s[f+20>>1];v=0}Gc(R,B&65535,4,313);k=q[f+52>>2];if(!k){q[f+76>>2]=8;break o}if(k>>>0>j>>>0){q[f+76>>2]=8;break o}I=0;B=gb(x,k,f+76|0);if(q[f+76>>2]){break d}k=lb(a,q[f+28>>2]);q[f+76>>2]=k;if(k){break d}k=q[a+32>>2];L=q[f+28>>2];E=q[f+52>>2];q[f+92>>2]=E;k=AA(L,k,f+92|0,B);q[f+76>>2]=(k|0)==1?((E|0)!=q[f+92>>2])<<3:8;jb(a);if(q[f+76>>2]){break d}ia=q[f+52>>2];q[f+80>>2]=0;q:{V=s[f+20>>1];r:{if(!V){break r}s:{while(1){P=q[(I<<2)+R>>2];if(q[P+4>>2]==1735162214){break s}I=I+1|0;if((V|0)!=(I|0)){continue}break}P=0}I=0;t:{u:{while(1){W=q[(I<<2)+R>>2];if(q[W+4>>2]!=1819239265){I=I+1|0;if((V|0)!=(I|0)){continue}break u}break}if(!P^!W){break q}if(P){break t}P=0;break r}if(P){break q}P=0;W=0;break r}if((q[W+16>>2]^q[P+16>>2])&256){break q}}I=0;C=Oa(x,1,0,16,0,f+80|0);v:{if(q[f+80>>2]){break v}u=gb(x,40,f+80|0);if(q[f+80>>2]){break v}q[u+32>>2]=0;q[u+8>>2]=0;q[u+4>>2]=ia;q[u>>2]=B;q[u+20>>2]=0;q[u+24>>2]=0;w:{x:{if(!V){break x}da=((l&255|((H&255)<<16|h<<24|(e&255)<<8))+(i&255|(K&65280|(S&16711680|O&-16777216)))|0)+(g&255|((d&255)<<16|v<<24|(y&255)<<8))|0;O=V<<4|12;ma=B+8|0;k=0;v=0;ea=12;S=0;y:{z:{while(1){d=q[(fa<<2)+R>>2];e=q[d+28>>2];l=q[d+16>>2];aa=q[d+8>>2];X=q[d+4>>2];h=q[d+24>>2];g=q[d+20>>2];d=Xa(u,g);q[f+80>>2]=d;if(d|g+h>>>0>ia>>>0){break w}A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{if((X|0)==1751672161){d=Ib(u,34);q[f+92>>2]=d;if(d){break x}ga=ib(u,f+92|0);if(q[f+92>>2]){break x}if(!(l&256)){break P}break x}if(l&256){break O}if((X|0)!=1751474532){break P}if(h>>>0<12){break x}d=g+ma|0;o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0}e=g+B|0;d=0;H=0;g=h&-4;if(g){while(1){H=(r[e+(d|3)|0]|(r[e+(d|1)|0]<<16|r[d+e|0]<<24|r[e+(d|2)|0]<<8))+H|0;d=d+4|0;if(d>>>0>>0){continue}break}}if((g|0)!=(h|0)){d=0;if(g>>>0>>0){while(1){d=r[e+g|0]<<((g<<3^-1)&24)|d;g=g+1|0;if((h|0)!=(g|0)){continue}break}}H=d+H|0}q[f+92>>2]=0;d=h+O|0;if(d>>>0>31457280){break x}Q:{if(d>>>0<=j>>>0){y=j;g=m;break Q}g=Oa(x,1,j,d,m,f+92|0);y=d;if(q[f+92>>2]){break x}}Qa(g+O|0,e,h);if(q[f+92>>2]){break N}j=y;m=g;break A}if((X|0)==1819239265){d=O;H=S;O=e;break A}if((X|0)==1752003704){break M}if((X|0)!=1735162214){break x}l=0;q[f+84>>2]=0;d=q[u+8>>2];A=Oa(x,12,0,7,0,f+84|0);if(q[f+84>>2]){break D}e=Ib(u,4);q[f+84>>2]=e;if(e){break D}K=ib(u,f+84|0);if(q[f+84>>2]){break D}ja=ib(u,f+84|0);if(q[f+84>>2]){break D}H=0;v=K+1|0;Z=w(v,ja?4:2);if((Z|0)!=q[W+8>>2]|t[P+12>>2]<36){break G}e=Hb(u,f+84|0);if(q[f+84>>2]){break I}if(e>>>0>q[P+12>>2]+ -36>>>0){break G}q[A+8>>2]=e;g=d+36|0;q[A+4>>2]=g;q[A>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=e+36|0;if(g>>>0>q[P+12>>2]-h>>>0){break G}q[A+20>>2]=g;e=d+h|0;q[A+16>>2]=e;q[A+12>>2]=e;e=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=g+h|0;if(e>>>0>q[P+12>>2]-h>>>0){break G}q[A+32>>2]=e;g=d+h|0;q[A+28>>2]=g;q[A+24>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=e+h|0;if(g>>>0>q[P+12>>2]-h>>>0){break G}q[A+44>>2]=g;e=d+h|0;q[A+40>>2]=e;q[A+36>>2]=e;e=Hb(u,f+84|0);if(q[f+84>>2]){break I}h=g+h|0;if(e>>>0>q[P+12>>2]-h>>>0){break G}q[A+56>>2]=e;g=d+h|0;q[A+52>>2]=g;q[A+48>>2]=g;g=Hb(u,f+84|0);if(q[f+84>>2]){break I}e=e+h|0;if(g>>>0>q[P+12>>2]-e>>>0){break G}q[A+68>>2]=g;h=d+e|0;q[A+64>>2]=h;q[A+60>>2]=h;h=Hb(u,f+84|0);if(q[f+84>>2]){break I}e=e+g|0;if(h>>>0>q[P+12>>2]-e>>>0){break G}q[A+80>>2]=h;d=d+e|0;q[A+76>>2]=d;q[A+72>>2]=d;l=Oa(x,4,0,v,0,f+84|0);if(q[f+84>>2]){break I}ka=q[A+64>>2];q[A+64>>2]=ka+(K+31>>>3&16380);L=0;y=Oa(x,1,0,5120,0,f+84|0);if(q[f+84>>2]){break H}I=Oa(x,2,0,K,0,f+84|0);if(q[f+84>>2]){break H}k=5120;_=0;d=O;if(!K){break K}while(1){R:{e=Xa(u,(_>>>3|0)+ka|0);q[f+84>>2]=e;if(e){break L}e=Ob(u,f+84|0);if(q[f+84>>2]){break L}g=Xa(u,q[A+4>>2]);q[f+84>>2]=g;if(g){break L}Y=ib(u,f+84|0);if(q[f+84>>2]){break L}$=e&128>>>(_&7);q[A+4>>2]=q[A+4>>2]+2;S:{T:{U:{V:{if(Y){if((Y|0)==65535){p[f+88>>1]=0;if(!$){break T}J=q[A+52>>2];e=Xa(u,J);q[f+92>>2]=e;if(e){break T}e=32;v=0;while(1){if(e&32){e=ib(u,f+92|0);if(q[f+92>>2]){break T}v=e>>>8&1|v;h=f;g=u;E=e&1?6:4;i=E+2|0;W:{if(e&8){break W}i=E+4|0;if(e&64){break W}i=E|e>>>4&8}g=Ib(g,i);q[h+92>>2]=g;if(!g){continue}break T}break}if(q[f+92>>2]){break T}g=q[u+8>>2];i=k;h=v&255;v=0;X:{if(!h){break X}e=Xa(u,q[A+40>>2]);q[f+84>>2]=e;if(e){break T}e=nf(u,f+88|0);q[f+84>>2]=e;if(e){break T}q[A+40>>2]=q[u+8>>2];v=s[f+88>>1]}e=g-J|0;g=e+12|0;v=(v&65535)+g|0;Y:{if(i>>>0>=v>>>0){v=k;break Y}y=Oa(x,1,k,v,y,f+84|0);if(q[f+84>>2]){break T}}o[y|0]=65535;o[y+1|0]=255;k=Xa(u,q[A+64>>2]);q[f+84>>2]=k;if(k){break T}M=ib(u,f+84|0);if(q[f+84>>2]){break T}k=Xa(u,q[A+64>>2]);q[f+84>>2]=k;if(k){break T}k=Wb(u,y+2|0,8);q[f+84>>2]=k;if(k){break T}q[A+64>>2]=q[A+64>>2]+8;k=Xa(u,q[A+52>>2]);q[f+84>>2]=k;if(k){break T}k=Wb(u,y+10|0,e);q[f+84>>2]=k;if(k){break T}q[A+52>>2]=e+q[A+52>>2];e=e+10|0;if(h){e=e+y|0;h=s[f+88>>1];h=(h<<24|h<<8&16711680)>>>16|0;o[e|0]=h;o[e+1|0]=h>>>8;e=Xa(u,q[A+76>>2]);q[f+84>>2]=e;if(e){break T}e=s[f+88>>1];h=Wb(u,g+y|0,e);q[f+84>>2]=h;if(h){break T}q[A+76>>2]=e+q[A+76>>2];e=e+g|0}k=v;break U}e=0;v=Oa(x,2,0,Y,0,f+84|0);if(q[f+84>>2]){break F}h=Xa(u,q[A+16>>2]);q[f+84>>2]=h;g=0;i=0;if(h){break F}while(1){h=nf(u,f+92|0);q[f+84>>2]=h;if(h){break F}h=s[f+92>>1];p[(g<<1)+v>>1]=h;Q=h+i|0;if(Q>>>0>>0){break F}i=Q;g=g+1|0;if((Y|0)!=(g|0)){continue}break}q[A+16>>2]=q[u+8>>2];if(Q>>>0>t[A+32>>2]){break F}h=q[A+44>>2];i=q[A+40>>2];E=i-q[A+36>>2]|0;if(h>>>0>>0){break F}e=q[u>>2];J=q[A+28>>2];g=Oa(x,12,0,Q,0,f+84|0);if(q[f+84>>2]){e=g;break F}T=h-E|0;if(Q>>>0>T>>>0){e=g;break F}U=0;Z:{if(!Q){e=0;break Z}N=e+i|0;ba=e+J|0;M=0;J=0;h=0;while(1){F=r[U+ba|0];G=F&127;i=1;_:{if(G>>>0<84){break _}i=2;if(G>>>0<120){break _}i=G>>>0<124?3:4}e=i+M|0;if(e>>>0>T>>>0){e=g;break F}if(e>>>0>>0){e=g;break F}$:{if(G>>>0<=9){E=0;i=r[M+N|0]|G<<7&1792;i=F&1?i:0-i|0;break $}if(G>>>0<=19){i=r[M+N|0]|(G<<7)+768&1792;E=F&1?i:0-i|0;i=0;break $}if(G>>>0<=83){i=G+ -20|0;G=r[M+N|0];E=(i&48|1)+(G>>>4|0)|0;E=F&1?E:0-E|0;i=(G&15)+(i<<2&48|1)|0;i=F&2?i:0-i|0;break $}if(G>>>0<=119){i=M+N|0;G=G+ -84|0;M=(G|0)/12|0;E=r[i|0]+(M<<8|1)|0;E=F&1?E:0-E|0;i=r[i+1|0]+(G-w(M,12)<<6&-256|1)|0;i=F&2?i:0-i|0;break $}if(G>>>0<=123){i=M+N|0;G=r[i+1|0];E=r[i|0]<<4|G>>>4;E=F&1?E:0-E|0;i=r[i+2|0]|G<<8&3840;i=F&2?i:0-i|0;break $}i=M+N|0;E=r[i|0]<<8|r[i+1|0];E=F&1?E:0-E|0;i=r[i+3|0]|r[i+2|0]<<8;i=F&2?i:0-i|0}if(!((h|0)<1|(2147483647-h|0)>=(E|0))){e=g;break F}if(!((-2147483648-h|0)<=(E|0)|(h|0)>-1)){e=g;break F}if(!((J|0)<1|(2147483647-J|0)>=(i|0))){e=g;break F}if(!((-2147483648-J|0)<=(i|0)|(J|0)>-1)){e=g;break F}G=g+w(U,12)|0;o[G+8|0]=((F^-1)&128)>>>7;J=i+J|0;q[G+4>>2]=J;h=h+E|0;q[G>>2]=h;M=e;U=U+1|0;if((U|0)!=(Q|0)){continue}break}}q[A+28>>2]=q[A+28>>2]+Q;e=q[A+40>>2]+e|0;q[A+40>>2]=e;e=Xa(u,e);q[f+84>>2]=e;if(e){e=g;break F}e=nf(u,f+88|0);q[f+84>>2]=e;if(e){e=g;break F}q[A+40>>2]=q[u+8>>2];if(Q>>>0>134217727){e=g;break F}F=(Y<<1)+12|0;E=s[f+88>>1]+(F+w(Q,5)|0)|0;if(k>>>0>=E>>>0){E=k;break V}y=Oa(x,1,k,E,y,f+84|0);if(!q[f+84>>2]){break V}e=g;break F}e=0;if(!$){M=0;break U}v=0;break F}e=(Y<<24|Y<<8)>>>16|0;o[y|0]=e;o[y+1|0]=e>>>8;aa:{if($){e=Xa(u,q[A+64>>2]);q[f+84>>2]=e;if(e){e=g;break F}M=ib(u,f+84|0);if(q[f+84>>2]){e=g;break F}e=Xa(u,q[A+64>>2]);q[f+84>>2]=e;if(e){e=g;break F}e=Wb(u,y+2|0,8);q[f+84>>2]=e;if(e){e=g;break F}q[A+64>>2]=q[A+64>>2]+8;break aa}ba:{if(!Q){e=0;i=0;k=0;M=0;break ba}N=1;M=q[g>>2];i=M;k=q[g+4>>2];e=k;if((Q|0)==1){break ba}while(1){J=g+w(N,12)|0;h=q[J+4>>2];e=(h|0)>(e|0)?h:e;J=q[J>>2];i=(J|0)>(i|0)?J:i;k=(h|0)<(k|0)?h:k;M=(J|0)<(M|0)?J:M;N=N+1|0;if((N|0)!=(Q|0)){continue}break}}o[y+9|0]=e;o[y+7|0]=i;o[y+5|0]=k;o[y+3|0]=M;o[y+8|0]=e>>>8;o[y+6|0]=i>>>8;o[y+4|0]=k>>>8;o[y+2|0]=M>>>8}N=y+10|0;e=-1;i=0;while(1){h=N;e=s[(i<<1)+v>>1]+e|0;if((e|0)>65535){e=g;break F}k=(e<<8&16711680|e<<24)>>>16|0;o[h|0]=k;o[h+1|0]=k>>>8;N=h+2|0;i=i+1|0;if((Y|0)!=(i|0)){continue}break}e=s[f+88>>1];k=(e<<24|e<<8)>>>16|0;o[h+2|0]=k;o[h+3|0]=k>>>8;h=Xa(u,q[A+76>>2]);q[f+84>>2]=h;if(h){e=g;break F}h=Wb(u,y+F|0,e);q[f+84>>2]=h;if(h){e=g;break F}q[A+76>>2]=e+q[A+76>>2];e=e+F|0;h=0;$=-1;ca:{da:{if(Q){i=e;e=0;k=0;U=0;N=0;ea:{fa:while(1){ha=i+y|0;la=ha+ -1|0;T=0;J=U;while(1){G=g+w(J,12)|0;F=q[G+4>>2];ba=F-e|0;e=r[G+8|0]!=0;G=q[G>>2];h=G-h|0;ga:{if(!h){e=e|16;break ga}if(h+255>>>0<=510){k=k+1|0;e=((h|0)>0?18:2)|e;break ga}k=k+2|0}ha:{if(!ba){e=e|32;break ha}if(ba+255>>>0<=510){N=N+1|0;e=((ba|0)>0?36:4)|e;break ha}N=N+2|0}if(!((e|0)==($|0)?(T|0)!=255:0)){if(T){if(i>>>0>=E>>>0){e=g;break F}o[ha|0]=T;i=i+1|0}if(i>>>0>=E>>>0){e=g;break F}o[i+y|0]=e;i=i+1|0;$=e;h=G;e=F;U=J+1|0;if((U|0)!=(Q|0)){continue fa}break ea}o[la|0]=r[la|0]|8;T=T+1|0;h=G;e=F;J=J+1|0;if((J|0)!=(Q|0)){continue}break}break}if(i>>>0>=E>>>0){e=g;break F}o[ha|0]=Q-U;i=i+1|0}e=k+N|0;if(e>>>0>>0){e=g;break F}e=e+i|0;if(e>>>0>>0){e=g;break F}if(e>>>0<=E>>>0){break da}e=g;break F}if(e>>>0<=E>>>0){break ca}e=g;break F}e=k+i|0;J=0;h=0;T=0;while(1){k=h;F=J;J=g+w(T,12)|0;h=q[J+4>>2];k=h-k|0;J=q[J>>2];F=J-F|0;ia:{if(!F){break ia}if(F+255>>>0<=510){G=F;F=F>>31;o[i+y|0]=G+F^F;i=i+1|0;break ia}G=i+y|0;F=(F<<8&16711680|F<<24)>>>16|0;o[G|0]=F;o[G+1|0]=F>>>8;i=i+2|0}ja:{if(!k){break ja}if(k+255>>>0<=510){F=k;k=k>>31;o[e+y|0]=F+k^k;e=e+1|0;break ja}F=e+y|0;k=(k<<8&16711680|k<<24)>>>16|0;o[F|0]=k;o[F+1|0]=k>>>8;e=e+2|0}T=T+1|0;if((Q|0)!=(T|0)){continue}break}}h=x;if(g){n[q[h+8>>2]](h,g)}if(v){n[q[x+8>>2]](x,v)}k=E}q[(_<<2)+l>>2]=d-O;q[f+92>>2]=0;v=d+e|0;if(v>>>0>31457280){break T}if(v>>>0<=j>>>0){g=j;h=m;break S}h=Oa(x,1,j,v,m,f+92|0);g=v;if(!q[f+92>>2]){break S}}v=0;break J}Qa(d+h|0,y,e);ka:{la:{ma:{if(!q[f+92>>2]){o[f+90|0]=0;p[f+88>>1]=0;d=v+3&-4;i=d-v|0;if(!i){j=g;m=h;d=v;break la}q[f+92>>2]=0;if(d>>>0<=31457280){if(d>>>0<=g>>>0){j=g;m=h;break ma}m=Oa(x,1,g,d,h,f+92|0);j=d;if(!q[f+92>>2]){break ma}}j=g;break ka}j=g;break R}Qa(m+v|0,f+88|0,i);if(q[f+92>>2]){break ka}}v=0;h=0;g=e&-4;if(g){while(1){h=(r[(v|3)+y|0]|(r[(v|1)+y|0]<<16|r[v+y|0]<<24|r[(v|2)+y|0]<<8))+h|0;v=v+4|0;if(v>>>0>>0){continue}break}}if((e|0)!=(g|0)){v=0;if(g>>>0>>0){while(1){v=r[g+y|0]<<((g<<3^-1)&24)|v;g=g+1|0;if((g|0)!=(e|0)){continue}break}}h=h+v|0}if(Y){p[(_<<1)+I>>1]=M}H=h+H|0;_=_+1|0;if((K|0)==(_|0)){break K}continue}}break}v=0;m=h;break J}j=y;m=g;break x}na:{if(v&255){break na}d=0;q[f+92>>2]=0;oa:{while(1){l=q[(d<<2)+R>>2];if(q[l+4>>2]==1835104368){break oa}d=d+1|0;if((V|0)!=(d|0)){continue}break}l=0}d=0;while(1){e=q[(d<<2)+R>>2];if(q[e+4>>2]!=1751474532){d=d+1|0;if((V|0)!=(d|0)){continue}break x}break}if(!l|!e){break x}d=Xa(u,q[l+20>>2]);q[f+92>>2]=d;if(d){d=Ib(u,8);q[f+92>>2]=d;if(d){break x}}k=ib(u,f+92|0);if(q[f+92>>2]){break x}d=Xa(u,q[e+20>>2]);q[f+92>>2]=d;if(d){d=Ib(u,50);q[f+92>>2]=d;if(d){break x}}e=ib(u,f+92|0);if(q[f+92>>2]){break x}I=Oa(x,2,0,k,0,f+92|0);if(q[f+92>>2]){break x}if(!k){break na}g=e?4:2;d=q[W+20>>2];l=0;if(!e){while(1){e=Xa(u,d);q[f+92>>2]=e;if(e){break x}e=ib(u,f+92|0);if(q[f+92>>2]){break x}e=Xa(u,q[P+20>>2]+(e<<1)|0);q[f+92>>2]=e;if(e){e=Ib(u,2);q[f+92>>2]=e;if(e){break x}}na=(l<<1)+I|0,oa=ib(u,f+92|0),p[na>>1]=oa;if(q[f+92>>2]){break x}d=d+g|0;l=l+1|0;if((l|0)!=(k|0)){continue}break na}}while(1){e=Xa(u,d);q[f+92>>2]=e;if(e){break x}e=Hb(u,f+92|0);if(q[f+92>>2]){break x}e=Xa(u,e+q[P+20>>2]|0);q[f+92>>2]=e;if(e){e=Ib(u,2);q[f+92>>2]=e;if(e){break x}}na=(l<<1)+I|0,oa=ib(u,f+92|0),p[na>>1]=oa;if(q[f+92>>2]){break x}d=d+g|0;l=l+1|0;if((l|0)!=(k|0)){continue}break}}y=0;q[f+88>>2]=0;pa:{qa:{d=Ob(u,f+88|0);if((d&255)>>>0>3|q[f+88>>2]|!d){break qa}g=k&65535;if((ga+ -1&65535)>>>0>=g>>>0){break qa}L=0;e=ga&65535;y=Oa(x,2,0,e,0,f+88|0);if(q[f+88>>2]){l=0;break pa}l=0;L=Oa(x,2,0,g,0,f+88|0);if(q[f+88>>2]){break pa}h=d&2;K=d&1;d=0;while(1){i=ib(u,f+88|0);if(q[f+88>>2]){break pa}p[(d<<1)+y>>1]=i;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0;ra:{if(!K){while(1){K=ib(u,f+88|0);if(q[f+88>>2]){break pa}p[(d<<1)+L>>1]=K;d=d+1|0;if((e|0)!=(d|0)){continue}break ra}}while(1){d=l<<1;p[d+L>>1]=s[d+I>>1];l=l+1|0;if((e|0)!=(l|0)){continue}break}}sa:{if((ga&65535)>>>0>=g>>>0){break sa}l=e;d=e;if(!h){while(1){d=ib(u,f+88|0);if(q[f+88>>2]){l=0;break pa}p[(l<<1)+L>>1]=d;l=l+1|0;if((g|0)!=(l|0)){continue}break sa}}while(1){h=d<<1;p[h+L>>1]=s[h+I>>1];d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=e+g<<1;l=Oa(x,1,0,h,0,f+88|0);if(q[f+88>>2]){break pa}H=0;d=l;if(g){while(1){if(H>>>0>>0){K=(H<<1)+y|0;o[d|0]=r[K+1|0];o[d+1|0]=r[K|0];d=d+2|0}K=(H<<1)+L|0;o[d|0]=r[K+1|0];o[d+1|0]=r[K|0];d=d+2|0;H=H+1|0;if((g|0)!=(H|0)){continue}break}}d=0;H=0;g=h&262140;if(g){while(1){H=(r[(d|3)+l|0]|(r[(d|1)+l|0]<<16|r[d+l|0]<<24|r[(d|2)+l|0]<<8))+H|0;d=d+4|0;if(d>>>0>>0){continue}break}}if((g|0)!=(h|0)){d=0;if(g>>>0>>0){while(1){d=r[g+l|0]<<((g<<3^-1)&24)|d;g=g+1|0;if((h|0)!=(g|0)){continue}break}}H=d+H|0}q[f+92>>2]=0;d=h+O|0;if(d>>>0>31457280){break pa}ta:{if(d>>>0<=j>>>0){e=j;g=m;break ta}g=Oa(x,1,j,d,m,f+92|0);e=d;if(q[f+92>>2]){break pa}}Qa(g+O|0,l,h);if(q[f+92>>2]){j=e;break pa}j=x;if(y){n[q[j+8>>2]](j,y)}if(L){n[q[j+8>>2]](j,L)}if(l){n[q[x+8>>2]](x,l)}if(!q[f+88>>2]){j=e;m=g;break A}j=e;m=g;break x}L=0;l=0}d=x;if(y){n[q[d+8>>2]](d,y)}if(L){n[q[d+8>>2]](d,L)}if(l){n[q[x+8>>2]](x,l)}if(q[f+88>>2]){break x}q[f+88>>2]=8;break x}e=0;break E}e=d-q[P+28>>2]|0;q[P+8>>2]=e;q[W+28>>2]=d;q[(K<<2)+l>>2]=e;q[f+88>>2]=0;k=Oa(x,1,0,Z,0,f+88|0);ua:{va:{wa:{if(q[f+88>>2]){break wa}e=0;S=k;v=k;xa:{if(!ja){while(1){g=q[(e<<2)+l>>2];o[S+1|0]=g>>>1;o[S|0]=g>>>9;S=S+2|0;g=(e|0)==(K|0);e=e+1|0;if(!g){continue}break xa}}while(1){g=q[(e<<2)+l>>2];g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);o[v|0]=g;o[v+1|0]=g>>>8;o[v+2|0]=g>>>16;o[v+3|0]=g>>>24;v=v+4|0;g=(e|0)!=(K|0);e=e+1|0;if(g){continue}break}}v=0;e=0;S=0;g=0;h=Z&1048572;ya:{za:{if(h){while(1){S=(r[k+(e|3)|0]|(r[k+(e|1)|0]<<16|r[e+k|0]<<24|r[k+(e|2)|0]<<8))+S|0;e=e+4|0;if(e>>>0>>0){continue}break}if((h|0)==(Z|0)){break ya}g=S;e=0;if(h>>>0>=Z>>>0){break za}}while(1){v=r[h+k|0]<<((h<<3^-1)&24)|v;h=h+1|0;if((Z|0)!=(h|0)){continue}break}S=g;e=v}S=e+S|0}q[f+92>>2]=0;e=d+Z|0;Aa:{if(e>>>0>31457280){break Aa}Ba:{if(e>>>0<=j>>>0){h=j;v=m;break Ba}v=Oa(x,1,j,e,m,f+92|0);h=e;if(q[f+92>>2]){break Aa}}Qa(d+v|0,k,Z);if(!q[f+92>>2]){break va}j=h}if(q[f+88>>2]){break wa}q[f+88>>2]=8}h=j;if(k){n[q[x+8>>2]](x,k)}break ua}if(k){n[q[x+8>>2]](x,k)}m=v;d=e}if(q[f+88>>2]){v=0;j=h;break J}q[W+8>>2]=d-q[W+28>>2];e=0;k=K;j=h;break B}e=0;break F}L=0;y=0}k=K;break C}v=0;y=0;e=0}if(q[f+84>>2]){L=v;break E}q[f+84>>2]=8;L=v}k=K;d=O;break B}L=0;y=0}e=0;d=O;H=0}g=x;if(A){n[q[g+8>>2]](g,A)}if(l){n[q[g+8>>2]](g,l)}if(L){n[q[g+8>>2]](g,L)}if(y){n[q[g+8>>2]](g,y)}if(e){n[q[x+8>>2]](x,e)}v=1;if(q[f+84>>2]){break x}}o[C+15|0]=aa;o[C+11|0]=O;o[C+7|0]=H;o[C+3|0]=X;o[C+14|0]=aa>>>8;o[C+13|0]=aa>>>16;o[C+12|0]=aa>>>24;o[C+10|0]=O>>>8;o[C+9|0]=O>>>16;o[C+8|0]=O>>>24;o[C+6|0]=H>>>8;o[C+5|0]=H>>>16;o[C+4|0]=H>>>24;o[C+2|0]=X>>>8;o[C+1|0]=X>>>16;o[C|0]=X>>>24;q[f+92>>2]=0;Ca:{Da:{g=ea+16|0;if(g>>>0>31457280){break Da}Ea:{if(g>>>0<=j>>>0){e=j;h=m;break Ea}h=Oa(x,1,j,g,m,f+92|0);e=g;if(q[f+92>>2]){break Da}}m=r[C+4|0]|r[C+5|0]<<8|(r[C+6|0]<<16|r[C+7|0]<<24);j=h+ea|0;l=r[C|0]|r[C+1|0]<<8|(r[C+2|0]<<16|r[C+3|0]<<24);o[j|0]=l;o[j+1|0]=l>>>8;o[j+2|0]=l>>>16;o[j+3|0]=l>>>24;o[j+4|0]=m;o[j+5|0]=m>>>8;o[j+6|0]=m>>>16;o[j+7|0]=m>>>24;m=r[C+12|0]|r[C+13|0]<<8|(r[C+14|0]<<16|r[C+15|0]<<24);l=r[C+8|0]|r[C+9|0]<<8|(r[C+10|0]<<16|r[C+11|0]<<24);o[j+8|0]=l;o[j+9|0]=l>>>8;o[j+10|0]=l>>>16;o[j+11|0]=l>>>24;o[j+12|0]=m;o[j+13|0]=m>>>8;o[j+14|0]=m>>>16;o[j+15|0]=m>>>24;ea=g;break Ca}e=j;h=m}g=r[C+12|0]|r[C+13|0]<<8|(r[C+14|0]<<16|r[C+15|0]<<24);y=r[C+8|0]|r[C+9|0]<<8|(r[C+10|0]<<16|r[C+11|0]<<24);K=r[C|0]|r[C+1|0]<<8|(r[C+2|0]<<16|r[C+3|0]<<24);i=r[C+4|0]|r[C+5|0]<<8|(r[C+6|0]<<16|r[C+7|0]<<24);o[f+90|0]=0;p[f+88>>1]=0;Fa:{Ga:{Ha:{if(d>>>0>4294967292){break Ha}l=d+3&-4;L=l-d|0;if(!L){j=e;m=h;l=d;break Fa}q[f+92>>2]=0;if(l>>>0>31457280){break Ha}if(l>>>0<=e>>>0){j=e;m=h;break Ga}m=Oa(x,1,e,l,h,f+92|0);j=l;if(!q[f+92>>2]){break Ga}}j=e;break z}Qa(d+m|0,f+88|0,L);if(q[f+92>>2]){break z}}if(O+aa>>>0>l>>>0){break x}da=((((H+da|0)+(K<<8&16711680|K<<24|(K>>>8&65280|K>>>24))|0)+(i<<8&16711680|i<<24|(i>>>8&65280|i>>>24))|0)+(y<<8&16711680|y<<24|(y>>>8&65280|y>>>24))|0)+(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))|0;O=l;fa=fa+1|0;if((fa|0)!=(V|0)){continue}break}d=0;break y}m=h;break x}while(1){e=q[(d<<2)+R>>2];if(q[e+4>>2]!=1751474532){d=d+1|0;if((V|0)!=(d|0)){continue}break x}break}if(!e|t[e+8>>2]<12){break x}d=q[e+28>>2]+m|0;e=-1313820742-da|0;e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);o[d+8|0]=e;o[d+9|0]=e>>>8;o[d+10|0]=e>>>16;o[d+11|0]=e>>>24;q[f+68>>2]=O;break v}d=q[f+80>>2]}if(d){break v}q[f+80>>2]=8}d=x;if(C){n[q[d+8>>2]](d,C)}Ia:{if(!u){break Ia}d=q[u+24>>2];if(!d){break Ia}n[d](u)}if(u){n[q[x+8>>2]](x,u)}d=q[f+80>>2];q[f+76>>2]=d;if(d){break d}d=q[f+68>>2];if(d>>>0>>0){m=Oa(x,1,j,d,m,f+76|0);if(q[f+76>>2]){break d}d=q[f+68>>2]}q[D+32>>2]=0;q[D+8>>2]=0;q[D+4>>2]=d;q[D>>2]=m;q[D+20>>2]=0;q[D+24>>2]=0;a=q[a+28>>2];q[D+24>>2]=314;q[D+28>>2]=a;Yp(q[b+104>>2],q[b+8>>2]>>>10&1);q[b+104>>2]=D;q[b+8>>2]=q[b+8>>2]&-1025;if(q[c>>2]>=0){q[c>>2]=0;break d}q[c>>2]=-1;break d}q[f+76>>2]=8;I=0;break d}I=0;B=0;break d}I=0}m=0}D=0;B=0}a=x;if(ca){n[q[a+8>>2]](a,ca)}b=R;if(R){n[q[a+8>>2]](a,b)}if(B){n[q[a+8>>2]](a,B)}if(I){n[q[x+8>>2]](x,I)}B=q[f+72>>2];if(B){b=x;if(s[f+64>>1]){a=0;while(1){c=q[B+8>>2];if(c){n[q[x+8>>2]](x,c)}q[B+8>>2]=0;B=B+12|0;a=a+1|0;if(a>>>0>1]){continue}break}B=q[f+72>>2]}if(B){n[q[b+8>>2]](b,B)}q[f+72>>2]=0}Ja:{if(!q[f+76>>2]){break Ja}if(m){n[q[x+8>>2]](x,m)}if(!D){break Ja}Ka:{if(!D){break Ka}a=q[D+24>>2];if(!a){break Ka}n[a](D)}if(D){n[q[x+8>>2]](x,D)}}B=q[f+76>>2]}Da=f+96|0;return B}function Fu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0;l=Da-32|0;Da=l;a:{if(!b){k=1;if(!q[e>>2]|(!e|!f)){break a}q[e>>2]=0;break a}i=b;j=i+1|0;n=r[i+1|0];h=r[i|0];b:{if((h|0)==120){m=i;g=0;if((n|0)==45){break b}}m=0;c:{if(!n){b=j;break c}g=j;k=i;while(1){b=g;d:{if((h&255)!=45|r[k+2|0]!=45){break d}p=p?p:k;if((n|0)!=120){break d}m=b;break c}g=b+1|0;n=r[b+1|0];if(n){h=r[b|0];k=b;continue}else{b=g}break}}g=p?p:b}h=0;b=0;e:{if(!d){break e}b=0;if(!c){break e}b=0;if(!m){break e}b=0;if(!q[c>>2]){break e}k=cb(m,229176);b=0;if(!k){break e}n=r[k+5|0];if((n+ -48&255)>>>0>=10){b=0;if(((n&-33)+ -65&255)>>>0>25){break e}}p=(n+ -65&255)>>>0<26?n+32|0:n;o[l+8|0]=p;f:{g:{b=r[k+6|0];if((b+ -48&255)>>>0>=10){n=1;if(((b&-33)+ -65&255)>>>0>=26){break g}}b=(b+ -65&255)>>>0<26?b+32|0:b;o[l+9|0]=b;s=r[k+7|0];if((s+ -48&255)>>>0>=10){n=2;if(((s&-33)+ -65&255)>>>0>25){break g}}s=(s+ -65&255)>>>0<26?s+32|0:s;o[l+10|0]=s;k=r[k+8|0];if((k+ -48&255)>>>0>=10){n=3;if(((k&-33)+ -65&255)>>>0>=26){break g}}k=(k+ -65&255)>>>0<26?k+32|0:k;o[l+11|0]=k;break f}Na((l+8|0)+n|0,32,4-n|0);k=r[l+11|0];s=r[l+10|0];b=r[l+9|0];p=r[l+8|0]}b=k&255|(s&255)<<8|(b&255)<<16|p<<24;q[d>>2]=(b&-538976289)==1145457748?b^538976288:b;q[c>>2]=1;b=1}h:{if(!f|!e|(!m|!q[e>>2])){break h}k=cb(m,229182);if(!k){break h}m=r[k+5|0];if(((m&-33)+ -65&255)>>>0>25?(m+ -48&255)>>>0>=10:0){break h}p=(m+ -97&255)>>>0<26?m+ -32|0:m;o[l+8|0]=p;i:{j:{h=r[k+6|0];if((h+ -48&255)>>>0>=10){n=1;if(((h&-33)+ -65&255)>>>0>=26){break j}}h=(h+ -97&255)>>>0<26?h+ -32|0:h;o[l+9|0]=h;m=r[k+7|0];if((m+ -48&255)>>>0>=10){n=2;if(((m&-33)+ -65&255)>>>0>25){break j}}m=(m+ -97&255)>>>0<26?m+ -32|0:m;o[l+10|0]=m;k=r[k+8|0];if((k+ -48&255)>>>0>=10){n=3;if(((k&-33)+ -65&255)>>>0>=26){break j}}k=(k+ -97&255)>>>0<26?k+ -32|0:k;o[l+11|0]=k;break i}Na((l+8|0)+n|0,32,4-n|0);k=r[l+11|0];m=r[l+10|0];h=r[l+9|0];p=r[l+8|0]}h=k&255|(m&255)<<8|(h&255)<<16|p<<24;q[f>>2]=(h&-538976289)==1145457748?h^538976288:h;h=1;q[e>>2]=1}k=b^1;if(!f|!e|(!q[e>>2]|h)){break a}b=g;q[l+24>>2]=i;h=i;k:{l:{m:{while(1){g=cb(h,235760);if(!g|g>>>0>=b>>>0){break m}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1095782472;break l}h=i;n:{while(1){g=cb(h,235769);if(!g|g>>>0>=b>>>0){break n}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1346851360;break l}h=i;o:{while(1){g=cb(h,235778);if(!g|g>>>0>=b>>>0){break o}h=g+8|0;g=r[g+8|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1347571488;break l}h=i;p:{while(1){g=cb(h,235787);if(!g|g>>>0>=b>>>0){break p}h=g+7|0;g=r[g+7|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1230000200;break l}h=i;q:{while(1){g=cb(h,235795);if(!g|g>>>0>=b>>>0){break q}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1262961952;break l}h=i;r:{while(1){g=cb(h,235801);if(!g|g>>>0>=b>>>0){break r}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362693;break l}h=i;s:{while(1){g=cb(h,235807);if(!g|g>>>0>=b>>>0){break s}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362698;break l}h=i;t:{while(1){g=cb(h,235813);if(!g|g>>>0>=b>>>0){break t}h=g+5|0;g=r[g+5|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1398362702;break l}u:{h=o[i|0]+ -97|0;if(h>>>0>25){break u}v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{switch(h-1|0){default:if(Ta(j,235819)){break u}q[f>>2]=1245859616;break l;case 1:F:{if(Ra(j,235829,10)){break F}h=r[i+11|0];if(h?(h|0)!=45:0){break F}q[f>>2]=1514686496;break l}G:{if(Ra(j,235840,10)){break G}h=r[i+11|0];if(h?(h|0)!=45:0){break G}q[f>>2]=1514686496;break l}H:{if(Ra(j,235851,10)){break H}h=r[i+11|0];if(h?(h|0)!=45:0){break H}q[f>>2]=1514686496;break l}I:{if(Ra(j,235862,10)){break I}h=r[i+11|0];if(h?(h|0)!=45:0){break I}q[f>>2]=1514686496;break l}J:{if(Ra(j,235873,10)){break J}h=r[i+11|0];if(h?(h|0)!=45:0){break J}q[f>>2]=1514686496;break l}K:{if(Ra(j,235884,10)){break K}h=r[i+11|0];if(h?(h|0)!=45:0){break K}q[f>>2]=1514686496;break l}L:{if(Ra(j,235895,10)){break L}h=r[i+11|0];if(h?(h|0)!=45:0){break L}q[f>>2]=1514686496;break l}M:{if(Ra(j,235906,10)){break M}h=r[i+11|0];if(h?(h|0)!=45:0){break M}q[f>>2]=1514686496;break l}N:{if(Ra(j,235917,10)){break N}h=r[i+11|0];if(h?(h|0)!=45:0){break N}q[f>>2]=1514686496;break l}O:{if(Ra(j,235928,10)){break O}h=r[i+11|0];if(h?(h|0)!=45:0){break O}q[f>>2]=1514686496;break l}P:{if(Ra(j,235939,10)){break P}h=r[i+11|0];if(h?(h|0)!=45:0){break P}q[f>>2]=1514686496;break l}Q:{if(Ra(j,235950,10)){break Q}h=r[i+11|0];if(h?(h|0)!=45:0){break Q}q[f>>2]=1514686496;break l}R:{if(Ra(j,235961,7)){break R}h=r[i+8|0];if(h?(h|0)!=45:0){break R}q[f>>2]=1514689312;break l}S:{if(Ra(j,235969,7)){break S}h=r[i+8|0];if(h?(h|0)!=45:0){break S}q[f>>2]=1514689568;break l}T:{if(Ra(j,235977,7)){break T}h=r[i+8|0];if(h?(h|0)!=45:0){break T}q[f>>2]=1514689312;break l}U:{if(Ra(j,235985,7)){break U}h=r[i+8|0];if(h?(h|0)!=45:0){break U}q[f>>2]=1514689568;break l}V:{if(Ra(j,235993,7)){break V}h=r[i+8|0];if(h?(h|0)!=45:0){break V}q[f>>2]=1514689312;break l}W:{if(Ra(j,236001,7)){break W}h=r[i+8|0];if(h?(h|0)!=45:0){break W}q[f>>2]=1514689568;break l}X:{if(Ra(j,236009,7)){break X}h=r[i+8|0];if(h?(h|0)!=45:0){break X}q[f>>2]=1514689312;break l}Y:{if(Ra(j,236017,7)){break Y}h=r[i+8|0];if(h?(h|0)!=45:0){break Y}q[f>>2]=1514689568;break l}Z:{if(Ra(j,236025,7)){break Z}h=r[i+8|0];if(h?(h|0)!=45:0){break Z}q[f>>2]=1514689312;break l}_:{if(Ra(j,236033,7)){break _}h=r[i+8|0];if(h?(h|0)!=45:0){break _}q[f>>2]=1514689568;break l}$:{if(Ra(j,236041,7)){break $}h=r[i+8|0];if(h?(h|0)!=45:0){break $}q[f>>2]=1514689312;break l}aa:{if(Ra(j,236049,7)){break aa}h=r[i+8|0];if(h?(h|0)!=45:0){break aa}q[f>>2]=1514689568;break l}if(Ra(j,236057,3)){break v}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break w}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 5:ba:{if(Ra(j,236093,10)){break ba}h=r[i+11|0];if(h?(h|0)!=45:0){break ba}q[f>>2]=1514686496;break l}ca:{if(Ra(j,236104,10)){break ca}h=r[i+11|0];if(h?(h|0)!=45:0){break ca}q[f>>2]=1514686496;break l}da:{if(Ra(j,236115,7)){break da}h=r[i+8|0];if(h?(h|0)!=45:0){break da}q[f>>2]=1514689312;break l}ea:{if(Ra(j,236123,7)){break ea}h=r[i+8|0];if(h?(h|0)!=45:0){break ea}q[f>>2]=1514689568;break l}fa:{if(Ra(j,236131,6)){break fa}h=r[i+7|0];if(h?(h|0)!=45:0){break fa}q[f>>2]=1230132256;break l}if(Ra(j,236138,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break x}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 6:ga:{if(Ra(j,236142,10)){break ga}h=r[i+11|0];if(h?(h|0)!=45:0){break ga}q[f>>2]=1514686496;break l}ha:{if(Ra(j,236153,10)){break ha}h=r[i+11|0];if(h?(h|0)!=45:0){break ha}q[f>>2]=1514686496;break l}ia:{if(Ra(j,236164,10)){break ia}h=r[i+11|0];if(h?(h|0)!=45:0){break ia}q[f>>2]=1514686496;break l}ja:{if(Ra(j,236175,10)){break ja}h=r[i+11|0];if(h?(h|0)!=45:0){break ja}q[f>>2]=1514686496;break l}ka:{if(Ra(j,236186,7)){break ka}h=r[i+8|0];if(h?(h|0)!=45:0){break ka}q[f>>2]=1514689312;break l}la:{if(Ra(j,236194,7)){break la}h=r[i+8|0];if(h?(h|0)!=45:0){break la}q[f>>2]=1514689568;break l}ma:{if(Ra(j,236202,7)){break ma}h=r[i+8|0];if(h?(h|0)!=45:0){break ma}q[f>>2]=1514689312;break l}na:{if(Ra(j,236210,7)){break na}h=r[i+8|0];if(h?(h|0)!=45:0){break na}q[f>>2]=1514689568;break l}if(Ra(j,236218,3)){break y}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break z}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 7:if(!Ta(j,236226)){q[f>>2]=1312904736;b=1;if(t[e>>2]<=1){break k}q[f+4>>2]=1096042528;b=2;break k}if(!Ta(j,236234)){q[f>>2]=1514689312;break l}if(Ta(j,236239)){break u}q[f>>2]=1280596512;break l;case 10:if(Ra(j,236025,7)){break u}h=r[i+8|0];if(h?(h|0)!=45:0){break u}q[f>>2]=1514689312;break l;case 11:oa:{if(Ra(j,236244,10)){break oa}h=r[i+11|0];if(h?(h|0)!=45:0){break oa}q[f>>2]=1514686496;break l}pa:{if(Ra(j,236255,10)){break pa}h=r[i+11|0];if(h?(h|0)!=45:0){break pa}q[f>>2]=1514686496;break l}qa:{if(Ra(j,236266,7)){break qa}h=r[i+8|0];if(h?(h|0)!=45:0){break qa}q[f>>2]=1514689312;break l}ra:{if(Ra(j,236274,7)){break ra}h=r[i+8|0];if(h?(h|0)!=45:0){break ra}q[f>>2]=1514689568;break l}if(Ra(j,236282,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break A}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 12:sa:{if(Ra(j,236093,10)){break sa}h=r[i+11|0];if(h?(h|0)!=45:0){break sa}q[f>>2]=1514686496;break l}ta:{if(Ra(j,236104,10)){break ta}h=r[i+11|0];if(h?(h|0)!=45:0){break ta}q[f>>2]=1514686496;break l}ua:{if(Ra(j,236115,7)){break ua}h=r[i+8|0];if(h?(h|0)!=45:0){break ua}q[f>>2]=1514689312;break l}va:{if(Ra(j,236123,7)){break va}h=r[i+8|0];if(h?(h|0)!=45:0){break va}q[f>>2]=1514689568;break l}if(Ra(j,236138,3)){break B}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break C}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 16:if(Ra(j,236298,2)){break u}h=i;while(1){g=cb(h,236301);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1297042464;break l;case 21:wa:{if(Ra(j,236305,10)){break wa}h=r[i+11|0];if(h?(h|0)!=45:0){break wa}q[f>>2]=1514686496;break l}xa:{if(Ra(j,236316,10)){break xa}h=r[i+11|0];if(h?(h|0)!=45:0){break xa}q[f>>2]=1514686496;break l}ya:{if(Ra(j,236327,7)){break ya}h=r[i+8|0];if(h?(h|0)!=45:0){break ya}q[f>>2]=1514689312;break l}za:{if(Ra(j,236335,7)){break za}h=r[i+8|0];if(h?(h|0)!=45:0){break za}q[f>>2]=1514689568;break l}if(Ra(j,236343,3)){break u}h=i;while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break D}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l;case 23:if(Ra(j,236347,7)){break u}h=r[i+8|0];if(h?(h|0)!=45:0){break u}q[f>>2]=1514689312;break l;case 0:case 2:case 3:case 4:case 8:case 9:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 22:break u;case 24:break E}}Aa:{if(Ra(j,236355,9)){break Aa}h=r[i+10|0];if(h?(h|0)!=45:0){break Aa}q[f>>2]=1514686496;break l}Ba:{if(Ra(j,236365,9)){break Ba}h=r[i+10|0];if(h?(h|0)!=45:0){break Ba}q[f>>2]=1514686496;break l}if(!Ta(j,236375)){q[f>>2]=1514689312;break l}Ca:{if(Ra(j,236385,6)){break Ca}h=r[i+7|0];if(h?(h|0)!=45:0){break Ca}q[f>>2]=1514689312;break l}Da:{if(Ra(j,236392,6)){break Da}h=r[i+7|0];if(h?(h|0)!=45:0){break Da}q[f>>2]=1514689568;break l}if(!Ta(j,236399)){q[f>>2]=1514689312;break l}if(Ra(j,236405,2)){break u}h=i;Ea:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ea}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Fa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Fa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ga:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ga}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ha:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ha}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break B}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(!Ta(j,236286)){q[f>>2]=1313821216;break l}if(Ta(j,236292)){break u}q[f>>2]=1314475552;break l}h=i;Ia:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ia}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ja:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ja}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break y}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(Ra(j,236222,3)){break u}h=i;Ka:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ka}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;La:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break La}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Ma:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ma}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=i;Na:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Na}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break v}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Oa:{if(Ra(j,236073,3)){break Oa}h=i;Pa:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Pa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Qa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Qa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Oa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Ra:{if(Ra(j,236077,3)){break Ra}h=i;Sa:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Sa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Ta:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Ta}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Ra}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Ua:{if(Ra(j,236081,3)){break Ua}h=i;Va:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Va}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Wa:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Wa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Ua}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}Xa:{if(Ra(j,236085,3)){break Xa}h=i;Ya:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break Ya}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;Za:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break Za}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break Xa}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}if(Ra(j,236089,3)){break u}h=i;_a:{while(1){g=cb(h,236061);if(!g|g>>>0>=b>>>0){break _a}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;$a:{while(1){g=cb(h,236065);if(!g|g>>>0>=b>>>0){break $a}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514686496;break l}h=i;while(1){g=cb(h,236069);if(!g|g>>>0>=b>>>0){break u}h=g+3|0;g=r[g+3|0];if((g+ -48&255)>>>0<10|((g&-33)+ -65&255)>>>0<26){continue}break}q[f>>2]=1514689568;break l}h=Pb(i,45);ab:{if(!h|(b-i|0)<6){break ab}b=h+1|0;i=Pb(b,45);bb:{if(i){i=i+(h^-1)|0;break bb}i=Wa(b)}if((i|0)!=3|((r[b|0]&223)+ -65&255)>>>0>25){break ab}q[l+24>>2]=b}q[l+12>>2]=820;q[l+16>>2]=0;q[l+8>>2]=229200;if(eY(l+8|0,l+24|0,l+28|0)){b=q[l+28>>2];while(1){i=b;if(i){b=i+ -1|0;if(!Ta((i<<3)+229200|0,(b<<3)+229200|0)){continue}}break}if(!q[e>>2]){b=0;break k}b=820-i|0;h=b>>>0>820?0:b;g=(i<<3)+229200|0;b=0;while(1){if((b|0)==(h|0)){b=h;break k}j=b+i<<3;if(Ta(j+229200|0,g)){break k}q[(b<<2)+f>>2]=q[j+229204>>2];b=b+1|0;if(b>>>0>2]){continue}break}break k}i=q[l+24>>2];b=0;if(!h){h=Wa(i)+i|0}if((h-i|0)!=3){break k}u=f,v=cy(i)&-538976257,q[u>>2]=v}b=1}q[e>>2]=b}if(!(!d|!c|(!k|!q[c>>2]))){b=0;e=d;cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break fb}if((a|0)!=1147500129){break db}h=1684370994;break fb}if((a|0)==1198877298){break kb}if((a|0)==1198879349){break jb}if((a|0)!=1265525857){break db}h=1802396722;break fb}if((a|0)<=1332902240){if((a|0)==1298954605){break ib}h=1836674354;if((a|0)==1299803506){break eb}break db}if((a|0)==1332902241){break hb}if((a|0)==1415671148){break gb}if((a|0)!=1415933045){break db}h=1952803890;break fb}h=1735029298;break fb}h=1735750194;break fb}h=1835822386;break fb}h=1869773106;break fb}h=1953328178}q[e>>2]=h|51;b=1;if(t[c>>2]<2){break cb}}q[(b<<2)+d>>2]=h;b=b+1|0;if(t[c>>2]<=b>>>0){break cb}}d=(b<<2)+d|0;lb:{mb:{nb:{ob:{pb:{if((a|0)<=1315663726){if(!a){break cb}if((a|0)!=1214870113){break pb}a=1801547361;break lb}if((a|0)==1315663727){break ob}if((a|0)==1449224553){break nb}if((a|0)!=1500080489){break mb}a=2036932640;break lb}if((a|0)!=1281453935){break mb}a=1818324768;break lb}a=1852534560;break lb}a=1986095392;break lb}a=a|536870912}q[d>>2]=a;b=b+1|0}q[c>>2]=b}Da=l+32|0}function vD(a,b,c,d,e){a=a|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,u=0,v=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;g=Da-96|0;Da=g;a:{b:{i=q[q[b+96>>2]+4>>2];h=_d(i,9848);if(!h){break b}D=ld(q[b+96>>2],10164,1);E=_d(i,12904);f=_d(i,12913);if(!f){break b}q[b+556>>2]=f;F=ld(q[b+96>>2],10120,1);f=Xa(a,0);q[g+4>>2]=f;if(f){break a}f=n[q[h+4>>2]](a,b,c,d,e)|0;q[g+4>>2]=f;c:{if(!f){if(q[b+148>>2]!=1330926671){f=2;q[g+4>>2]=2;break a}f=0;if((c|0)<0){break a}f=n[q[b+516>>2]](b,1751474532,a,0)|0;q[g+4>>2]=f;d:{if(!f){f=n[q[h+8>>2]](a,b,c,d,e)|0;q[g+4>>2]=f;if(!f){break d}break a}f=n[q[h+32>>2]](b,a)|0;q[g+4>>2]=f;if(f){break a}y=1}f=n[q[b+516>>2]](b,1128678962,a,0)|0;q[g+4>>2]=f;if(!f){d=1;o[b+732|0]=1;e=1;break c}if((f&255)!=142){break a}e=0;f=n[q[b+516>>2]](b,1128678944,a,0)|0;q[g+4>>2]=f;if(f){break a}d=1;break c}d=0;f=Xa(a,0);q[g+4>>2]=f;if(f){break a}q[g+4>>2]=0;y=1;e=0}B=q[b+100>>2];h=gb(B,3136,g+4|0);f=q[g+4>>2];if(f){break a}q[b+712>>2]=h;A=q[a+28>>2];h=Na(h,0,3136);q[g+80>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;f=g- -64|0;q[f>>2]=0;q[f+4>>2]=0;q[g+56>>2]=0;q[g+60>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;v=q[a+8>>2];o[h+32|0]=e;q[h+8>>2]=A;q[h+4>>2]=a;q[h>>2]=i;q[h+12>>2]=v;f=mb(a,12944,h);q[g+84>>2]=f;e:{if(f){break e}f:{if(e){if(!(r[h+26|0]>4?r[h+24|0]==2:0)){q[g+84>>2]=2;break e}I=h,J=ib(a,g+84|0),q[I+28>>2]=J;if(q[g+84>>2]){break e}l=r[h+26|0];break f}f=Ob(a,g+84|0);if(q[g+84>>2]){break e}if(!(r[h+24|0]!=1|(f&255)>>>0>4)){l=r[h+26|0];if(l>>>0>3){break f}}q[g+84>>2]=2;break e}f=Xa(a,v+(l&255)|0);q[g+84>>2]=f;if(f){if(!y){break e}q[g+84>>2]=2;break e}g:{if(e){q[h+1264>>2]=0;q[h+1268>>2]=0;q[h+1240>>2]=0;q[h+1244>>2]=0;q[h+1272>>2]=0;f=h+1256|0;q[f>>2]=0;q[f+4>>2]=0;f=h+1248|0;q[f>>2]=0;q[f+4>>2]=0;q[h+1260>>2]=q[a+8>>2];f=q[h+28>>2];q[h+1264>>2]=f;f=Ib(a,f);q[g+84>>2]=f;if(f){break e}f=Me(h+108|0,a,1,e);q[g+84>>2]=f;if(f){break e}break g}f=Me(h+36|0,a,0,0);q[g+84>>2]=f;if(f){if(!y){break e}q[g+84>>2]=2;break e}f=q[h+48>>2];if(!(f>>>0<2|t[h+60>>2]>=f>>>0)){q[g+84>>2]=y?2:3;break e}f=Me(h+1240|0,a,0,0);q[g+84>>2]=f;if(f){break e}f=Me(g+48|0,a,1,0);q[g+84>>2]=f;if(f){break e}f=Me(h+108|0,a,1,0);q[g+84>>2]=f;if(f){break e}f=mj(g+48|0,h+1360|0,h+1364|0,h+1368|0);q[g+84>>2]=f;if(f){break e}if(t[h+48>>2]<=t[h+1252>>2]){break g}q[g+84>>2]=3;break e}q[h+1356>>2]=q[g+60>>2];h:{i:{if(y){l=c&65535;f=q[h+48>>2];if((c|0)<1|l>>>0>>0){break i}q[g+84>>2]=6;break e}l=0;if(t[h+48>>2]<2){break h}q[g+84>>2]=3;break e}q[h+16>>2]=f}if((c|0)<0){break e}f=ho(h+1372|0,h+1240|0,l,a,v,e?12288:4096,h,b);q[g+84>>2]=f;if(f){break e}f=Xa(a,v+q[h+1484>>2]|0);q[g+84>>2]=f;if(f){break e}f=Me(h+1204|0,a,0,e);q[g+84>>2]=f;if(f){break e}j:{if(!(q[h+1504>>2]==65535?!e:0)){f=q[a+28>>2];i=q[h+1552>>2];q[g+92>>2]=3;m=h+3112|0;k:{l:{if(!i){break l}i=Xa(a,i+v|0);q[g+92>>2]=i;if(i){break k}i=Ib(a,2);q[g+92>>2]=i;if(i){break k}x=q[a+8>>2];i=ib(a,g+92|0);if(q[g+92>>2]){break k}if((i|0)!=1){q[g+92>>2]=3;break k}i=Hb(a,g+92|0);if(q[g+92>>2]){break k}u=ib(a,g+92|0);q[m>>2]=u;if(q[g+92>>2]){break k}j=Oa(f,4,0,u,0,g+92|0);if(q[g+92>>2]){break k}if(q[m>>2]){while(1){I=(k<<2)+j|0,J=Hb(a,g+92|0),q[I>>2]=J;if(q[g+92>>2]){break k}k=k+1|0;if(k>>>0>2]){continue}break}}i=Xa(a,i+x|0);q[g+92>>2]=i;if(i){break k}I=h,J=ib(a,g+92|0),p[I+3120>>1]=J;if(q[g+92>>2]){break k}i=ib(a,g+92|0);q[h+3124>>2]=i;if(q[g+92>>2]){break k}u=Oa(f,4,0,i,0,g+92|0);q[h+3128>>2]=u;if(q[g+92>>2]){break k}m:{if(!q[h+3124>>2]){break m}i=Oa(f,12,0,s[h+3120>>1],0,g+92|0);q[u>>2]=i;if(q[g+92>>2]){break k}while(1){n:{if(!s[h+3120>>1]){i=0;break n}z=ib(a,g+92|0);if(q[g+92>>2]){break k}k=0;while(1){G=ib(a,g+92|0);if(q[g+92>>2]){break k}H=ib(a,g+92|0);if(q[g+92>>2]){break k}i=w(k,12)+i|0;q[i+8>>2]=H<<16>>16<<2;q[i+4>>2]=G<<16>>16<<2;q[i>>2]=z<<16>>16<<2;k=k+1|0;i=s[h+3120>>1];if(k>>>0>=i>>>0){break n}i=q[u>>2];z=ib(a,g+92|0);if(!q[g+92>>2]){continue}break}break k}C=C+1|0;if(C>>>0>=t[h+3124>>2]){break m}u=q[h+3128>>2]+(C<<2)|0;i=Oa(f,12,0,i,0,g+92|0);q[u>>2]=i;if(!q[g+92>>2]){continue}break}break k}k=Oa(f,8,0,q[h+3112>>2],0,g+92|0);q[h+3116>>2]=k;if(q[g+92>>2]){break k}if(!q[m>>2]){break l}i=Xa(a,x+q[j>>2]|0);q[g+92>>2]=i;if(i){break k}i=0;while(1){u=Ib(a,4);q[g+92>>2]=u;if(u){break k}u=(i<<3)+k|0;k=ib(a,g+92|0);q[u>>2]=k;if(q[g+92>>2]){break k}I=u,J=Oa(f,4,0,k,0,g+92|0),q[I+4>>2]=J;if(q[g+92>>2]){break k}if(q[u>>2]){k=0;while(1){z=ib(a,g+92|0);q[q[u+4>>2]+(k<<2)>>2]=z;if(q[g+92>>2]){break k}k=k+1|0;if(k>>>0>2]){continue}break}}i=i+1|0;if(i>>>0>=t[m>>2]){break l}k=q[h+3116>>2];u=Xa(a,x+q[(i<<2)+j>>2]|0);q[g+92>>2]=u;if(!u){continue}break}break k}q[g+92>>2]=0}if(j){n[q[f+8>>2]](f,j)}o:{if(!q[g+92>>2]){q[g+84>>2]=0;break o}go(m,f);f=q[g+92>>2];q[g+84>>2]=f;if(f){break e}}f=Xa(a,v+q[h+1536>>2]|0);q[g+84>>2]=f;if(f){break e}i=0;f=Me(g+8|0,a,0,e);q[g+84>>2]=f;if(f){break e}f=q[g+20>>2];p:{if(f>>>0>256){break p}q[h+2024>>2]=f;j=0;f=Oa(A,652,0,f,0,g+84|0);i=q[g+84>>2];if(i){break p}i=q[g+20>>2];if(i){while(1){q[((j<<2)+h|0)+2028>>2]=f+w(j,652);j=j+1|0;if((i|0)!=(j|0)){continue}break}m=e?16384:4096;f=0;while(1){i=ho(q[((f<<2)+h|0)+2028>>2],g+8|0,f,a,v,m,h,b);q[g+84>>2]=i;if(i){break p}f=f+1|0;j=q[g+20>>2];if(f>>>0>>0){continue}break}}if(j>>>0<=1){i=0;if(e){break p}}f=q[h+1216>>2];i=Xa(a,v+q[h+1540>>2]|0);q[g+92>>2]=i;q:{if(i){break q}j=Ob(a,g+92|0);i=q[g+92>>2];if(i){break q}q[h+3072>>2]=0;o[h+3052|0]=j;i=3;j=j&255;r:{if(j>>>0>3){break r}s:{switch(j-1|0){case 2:f=ib(a,g+92|0);i=q[g+92>>2];if(i){break q}if(!f){i=3;break r}f=w(f,3)+2|0;break;case 0:case 1:break r;default:break s}}q[h+3064>>2]=f;i=Bc(a,f,h+3060|0)}q[g+92>>2]=i}q[g+84>>2]=i}f=q[g+8>>2];if(f){i=g+40|0;j=q[f+28>>2];if(q[g+40>>2]){zb(f,i)}f=q[g+36>>2];if(f){n[q[j+8>>2]](j,f)}q[i>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;i=q[g+84>>2]}if(!i){break j}break e}q[h+2024>>2]=0}if(!q[h+1484>>2]){q[g+84>>2]=3;break e}q[h+20>>2]=q[h+1216>>2];f=mj(h+108|0,h+1352|0,0,0);q[g+84>>2]=f;if(f){break e}t:{if(e){break t}j=q[h+20>>2];if(!j){break t}m=q[a+28>>2];x=q[h+1504>>2];f=q[h+1476>>2];q[g+92>>2]=0;u=h+1180|0;u:{v:{w:{x:{if(f>>>0>=3){f=f+v|0;q[h+1184>>2]=f;f=Xa(a,f);q[g+92>>2]=f;if(f){break v}I=u,J=Ob(a,g+92|0)&255,q[I>>2]=J;if(q[g+92>>2]){break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}p[f>>1]=0;f=q[u>>2];if(f>>>0<=2){y:{switch(f-1|0){default:f=1;i=lb(a,(j<<1)+ -2|0);q[g+92>>2]=i;if(i){break v}if(j>>>0>=2){while(1){i=ob(a);p[q[h+1188>>2]+(f<<1)>>1]=i;f=f+1|0;if((j|0)!=(f|0)){continue}break}}jb(a);break x;case 0:case 1:break y}}f=1;if(j>>>0<=1){break x}while(1){i=ib(a,g+92|0);if(q[g+92>>2]){break v}z:{if(q[u>>2]==2){k=ib(a,g+92|0);if(!q[g+92>>2]){break z}break v}k=Ob(a,g+92|0);if(q[g+92>>2]){break v}k=k&255}A:{if(f>>>0>=j>>>0){break A}A=(k^65535)>>>0>>0?i^65535:k;z=q[h+1188>>2];k=0;while(1){p[z+(f<<1)>>1]=i;f=f+1|0;if(k>>>0>=A>>>0){break A}i=i+1|0;k=k+1|0;if(f>>>0>>0){continue}break}}if(f>>>0>>0){continue}break}break x}q[g+92>>2]=3;break v}q[h+1184>>2]=f;if(f>>>0>2){break w}B:{switch(f-1|0){default:if(j>>>0>=230){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,12976,j<<1);break x;case 0:if(j>>>0>=167){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,13440,j<<1);break x;case 1:break B}}if(j>>>0>=88){q[g+92>>2]=3;break v}f=Oa(m,2,0,j,0,g+92|0);q[h+1188>>2]=f;if(q[g+92>>2]){break v}Qa(f,13776,j<<1)}C:{if(!((x|0)!=65535?y:0)){f=q[g+92>>2];break C}f=0;q[g+8>>2]=0;D:{if(q[h+1196>>2]){break D}k=q[h+1188>>2];i=0;while(1){x=s[k+(i<<1)>>1];f=x>>>0>(f&65535)>>>0?x:f;i=i+1|0;if((j|0)!=(i|0)){continue}break}k=f&65535;x=Oa(m,2,0,k+1|0,0,g+8|0);q[h+1192>>2]=x;f=q[g+8>>2];if(f){break D}if((j|0)>=1){A=q[h+1188>>2];f=j;while(1){i=f+ -1|0;p[x+(s[A+(i<<1)>>1]<<1)>>1]=i;z=(f|0)>1;f=i;if(z){continue}break}}q[h+1200>>2]=j;q[h+1196>>2]=k;f=0}q[g+92>>2]=f}if(f){break v}q[g+84>>2]=0;break u}q[g+92>>2]=3}f=q[h+1188>>2];if(f){n[q[m+8>>2]](m,f)}q[h+1188>>2]=0;f=q[h+1192>>2];if(f){n[q[m+8>>2]](m,f)}q[u+8>>2]=0;q[u+12>>2]=0;q[u>>2]=0;q[u+4>>2]=0;f=q[g+92>>2];q[g+84>>2]=f;if(f){break e}}if(q[h+1504>>2]!=65535){break t}f=q[h+1480>>2];m=q[h+20>>2];q[g+92>>2]=0;E:{F:{G:{H:{k=q[h+1188>>2];if(!k){break H}i=Na(h+156|0,0,1024);j=f>>>0>1;I:{if(j){f=f+v|0;q[h+148>>2]=f;f=Xa(a,f);q[g+92>>2]=f;if(f){break F}I=h,J=Ob(a,g+92|0)&255,q[I+144>>2]=J;f=q[g+92>>2];if(f){break F}i=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}f=q[h+144>>2]&127;if(f>>>0>1){break H}v=i&255;J:{if(f-1){q[h+152>>2]=v+1;f=lb(a,v);q[g+92>>2]=f;if(f){break F}if(i){j=q[a+32>>2];f=1;while(1){if(f>>>0>>0){i=(r[j|0]<<1)+h|0;p[i+668>>1]=f;p[i+156>>1]=s[q[h+1188>>2]+(f<<1)>>1]}j=j+1|0;i=(f|0)!=(v|0);f=f+1|0;if(i){continue}break}}jb(a);break J}u=0;q[h+152>>2]=0;if(!i){break J}j=1;while(1){x=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}i=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}k=i&255;f=k+1|0;i=q[h+152>>2];if(i>>>0<=k>>>0){q[h+152>>2]=f;i=f}k=f+j|0;if(j>>>0>>0){f=x&255;while(1){if(!(f>>>0>255|j>>>0>=m>>>0)){x=(f<<1)+h|0;p[x+668>>1]=j;p[x+156>>1]=s[q[h+1188>>2]+(j<<1)>>1]}f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}j=k;u=u+1|0;if((v|0)!=(u|0)){continue}break}if(i>>>0<257){break J}q[h+152>>2]=256}if(!(r[h+144|0]&128)){f=q[g+92>>2];break E}i=Ob(a,g+92|0);f=q[g+92>>2];if(!i|f){break E}i=i&255;k=0;if(!m){while(1){j=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}m=ib(a,g+92|0);f=q[g+92>>2];if(f){break F}p[(((j&255)<<1)+h|0)+156>>1]=m;k=k+1|0;if((i|0)!=(k|0)){continue}break I}}while(1){v=Ob(a,g+92|0);f=q[g+92>>2];if(f){break F}j=ib(a,g+92|0);f=q[g+92>>2];if(f){break F}v=((v&255)<<1)+h|0;p[v+156>>1]=j;u=q[h+1188>>2];f=0;K:{while(1){if((j|0)!=s[u+(f<<1)>>1]){f=f+1|0;if((m|0)!=(f|0)){continue}break K}break}p[v+668>>1]=f}k=k+1|0;if((i|0)!=(k|0)){continue}break}break I}if(j){break H}L:{if(f-1){Qa(i,10192,512);break L}Qa(i,13952,512)}q[h+152>>2]=0;a=q[a+28>>2];q[g+8>>2]=0;i=q[h+1196>>2];if(!i){i=0;u=h;if(m){f=0;while(1){v=s[k+(f<<1)>>1];i=v>>>0>(i&65535)>>>0?v:i;f=f+1|0;if((m|0)!=(f|0)){continue}break}i=i&65535}j=Oa(a,2,0,i+1|0,0,g+8|0);q[u+1192>>2]=j;f=q[g+8>>2];if(f){break G}if((m|0)>=1){k=q[h+1188>>2];f=m;while(1){a=f+ -1|0;p[j+(s[k+(a<<1)>>1]<<1)>>1]=a;v=(f|0)>1;f=a;if(v){continue}break}}q[h+1200>>2]=m;q[h+1196>>2]=i}q[g+92>>2]=0;f=0;while(1){a=(f<<1)+h|0;m=a;M:{N:{j=s[a+156>>1];if(!j|i>>>0>>0){break N}j=s[q[h+1192>>2]+(j<<1)>>1];if(!j){break N}p[a+668>>1]=j;f=f+1|0;q[h+152>>2]=f;break M}p[a+668>>1]=0;p[m+156>>1]=0;f=f+1|0}if((f|0)!=256){continue}break}}q[g+84>>2]=0;break t}f=3}q[g+92>>2]=f}q[g+84>>2]=f;break e}q[g+84>>2]=f;if(f){break e}}f=0;a=q[h+36>>2];O:{if(!a){break O}a=q[a+28>>2];i=Ag(h+36|0,l,g+8|0,g+92|0);q[g+88>>2]=i;if(i){break O}f=a;a=q[g+92>>2];f=gb(f,a+1|0,g+88|0);if(!q[g+88>>2]){if(a){Qa(f,q[g+8>>2],a)}o[a+f|0]=0}if(q[h+68>>2]){break O}zb(q[h+36>>2],g+8|0)}q[h+1348>>2]=f}a=q[g+48>>2];if(a){f=g+80|0;i=q[a+28>>2];if(q[g+80>>2]){zb(a,f)}a=q[g+76>>2];if(a){n[q[i+8>>2]](i,a)}q[f>>2]=0;q[g+72>>2]=0;q[g+76>>2]=0;a=g- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[g+56>>2]=0;q[g+60>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0}f=q[g+84>>2];q[g+4>>2]=f;if(f){break a}if((c|0)<=-1){q[b>>2]=q[h+16>>2];f=0;break a}q[h+3088>>2]=F;q[h+3084>>2]=D;q[h+3080>>2]=E;k=c&65535;q[b+4>>2]=k;q[b+16>>2]=q[h+20>>2];if(q[h+1504>>2]==65535?!D:0){break b}c=c>>>16|0;P:{if(!c){break P}f=q[b+548>>2];if(!f|!(q[b+8>>2]&256)){break P}a=q[b+552>>2];f=n[q[f+28>>2]](b,c)|0;q[g+4>>2]=f;if(f){break a}if(!a){break P}n[q[a+28>>2]](b)}if(!r[h+1436|0]){q[h+1440>>2]=y?1e3:s[b+68>>1]}f=q[h+1432>>2];if(!f){f=q[h+1428>>2]}a=f>>31;a=a+f^a;Q:{if((a|0)==65536){f=q[h+1448>>2];break Q}I=h,J=Za(q[h+1440>>2],a),q[I+1440>>2]=J;I=h,J=Za(q[h+1420>>2],a),q[I+1420>>2]=J;I=h,J=Za(q[h+1428>>2],a),q[I+1428>>2]=J;I=h,J=Za(q[h+1424>>2],a),q[I+1424>>2]=J;I=h,J=Za(q[h+1432>>2],a),q[I+1432>>2]=J;I=h,J=Za(q[h+1444>>2],a),q[I+1444>>2]=J;f=Za(q[h+1448>>2],a);q[h+1448>>2]=f}q[h+1448>>2]=f>>16;q[h+1444>>2]=q[h+1444>>2]>>16;a=q[h+2024>>2];if(a){v=h+2028|0;i=h+1420|0;j=i;while(1){a=a+ -1|0;c=q[v+(a<<2)>>2];R:{if(r[c+64|0]){if(!r[h+1436|0]){break R}l=1;f=q[h+1440>>2];S:{if(f>>>0<2){break S}m=q[c+68>>2];if(m>>>0<2){break S}l=f>>>0>>0?f:m}OL(i,c+48|0,l);IL(c+72|0,i,l);I=c,J=bb(q[c+68>>2],q[h+1440>>2],l),q[I+68>>2]=J;break R}f=q[i+4>>2];q[c+48>>2]=q[i>>2];q[c+52>>2]=f;f=q[j+12>>2];q[c+56>>2]=q[j+8>>2];q[c+60>>2]=f;f=q[h+1448>>2];q[c+72>>2]=q[h+1444>>2];q[c+76>>2]=f;q[c+68>>2]=q[h+1440>>2]}l=q[c+60>>2];if(!l){l=q[c+56>>2]}f=l>>31;f=f+l^f;T:{if((f|0)==65536){l=q[c+76>>2];break T}I=c,J=Za(q[c+68>>2],f),q[I+68>>2]=J;I=c,J=Za(q[c+48>>2],f),q[I+48>>2]=J;I=c,J=Za(q[c+56>>2],f),q[I+56>>2]=J;I=c,J=Za(q[c+52>>2],f),q[I+52>>2]=J;I=c,J=Za(q[c+60>>2],f),q[I+60>>2]=J;I=c,J=Za(q[c+72>>2],f),q[I+72>>2]=J;l=Za(q[c+76>>2],f);q[c+76>>2]=l}q[c+76>>2]=l>>16;q[c+72>>2]=q[c+72>>2]>>16;if(a){continue}break}}if(y){q[b>>2]=q[h+16>>2];a=b;if(q[h+1504>>2]!=65535){c=q[h+1196>>2]+1|0}else{c=q[h+1216>>2]}q[a+16>>2]=c;q[b+52>>2]=q[h+1456>>2]>>16;a=q[h+1460>>2]>>16;q[b+56>>2]=a;q[b+60>>2]=q[h+1464>>2]+65535>>16;c=q[h+1468>>2]+65535>>16;q[b- -64>>2]=c;f=q[h+1440>>2];p[b+72>>1]=a;p[b+70>>1]=c;p[b+68>>1]=f;a=c-a|0;c=(w(f&65535,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(a|0)?a:c;p[b+80>>1]=s[h+1406>>1];p[b+82>>1]=s[h+1410>>1];a=q[h+1388>>2];U:{if(!a|(a|0)==65535){break U}V:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break U}a=q[q[h+1360>>2]+(a<<2)>>2];break V}c=q[h+3084>>2];if(!c){break U}a=n[q[c+20>>2]](a)|0}if(!a){break U}I=b,J=$c(B,a,g+48|0),q[I+20>>2]=J}W:{X:{Y:{a=q[b+20>>2];Z:{if(a){break Z}a=0;c=q[h+36>>2];_:{if(!c){break _}c=q[c+28>>2];f=Ag(h+36|0,k,g+48|0,g+8|0);q[g+92>>2]=f;if(f){break _}a=c;c=q[g+8>>2];a=gb(a,c+1|0,g+92|0);if(!q[g+92>>2]){if(c){Qa(a,q[g+48>>2],c)}o[a+c|0]=0}if(q[h+68>>2]){break _}zb(q[h+36>>2],g+48|0)}q[b+20>>2]=a;if(!a){break Y}c=Wa(a);if((c|0)<6){break Z}c=c+1|0;while(1){$:{if(r[a+6|0]!=43|(r[a+5|0]+ -65&255)>>>0>25|((r[a+4|0]+ -65&255)>>>0>25|(r[a+3|0]+ -65&255)>>>0>25)){break $}if((r[a+2|0]+ -65&255)>>>0>25|(r[a|0]+ -65&255)>>>0>25|(r[a+1|0]+ -65&255)>>>0>25){break $}f=7;if((c|0)<8){break $}while(1){i=a+f|0;o[i+ -7|0]=r[i|0];f=f+1|0;if((f|0)!=(c|0)){continue}break}f=(c|0)>13;c=c+ -7|0;if(f){continue}}break}a=q[b+20>>2];if(!a){break Y}}c=q[h+1384>>2];if((c|0)==65535){break X}aa:{if(c>>>0>=391){c=c+ -391|0;if(t[h+1356>>2]<=c>>>0){break X}f=q[q[h+1360>>2]+(c<<2)>>2];break aa}a=q[h+3084>>2];if(!a){break X}f=n[q[a+20>>2]](c)|0;a=q[b+20>>2]}if(!f|!a){break X}j=r[f|0];if(!j){break X}while(1){c=f;ba:{ca:{da:{while(1){f=r[a|0];if((f|0)==(j|0)){a=a+1|0;break ba}ea:{i=j+ -32|0;if(i>>>0>13){break ea}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break ea;default:break ba}}fa:{i=f+ -32|0;if(i>>>0>13){if(f){break X}f=$c(B,c,g+48|0);c=q[b+20>>2];i=Wa(c);a=Wa(f);if((i|0)<=(a|0)){break ca}l=1;if((a|0)<1){break da}break fa}ga:{switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break X;default:break ga}}a=a+1|0;if(j){continue}break X}break}while(1){if(r[c+(i-l|0)|0]!=r[(a-l|0)+f|0]){break W}j=(a|0)==(l|0);l=l+1|0;if(!j){continue}break}}l=i+(a^-1)|0;if((l|0)<1){break ca}while(1){a=c+l|0;i=r[a|0];j=i+ -32|0;if(!((1<>>0<=13:0)|(i|0)==95)){o[a+1|0]=0;if(!f){break X}break W}a=(l|0)>1;l=l+ -1|0;if(a){continue}break}}if(!f){break X}break W}f=c+1|0;j=r[c+1|0];if(j){continue}break}break X}a=q[h+1544>>2];if((a|0)==65535){break X}ha:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break X}a=q[q[h+1360>>2]+(a<<2)>>2];break ha}c=q[h+3084>>2];if(!c){break X}a=n[q[c+20>>2]](a)|0}if(!a){break X}I=b,J=$c(B,a,g+48|0),q[I+20>>2]=J}f=$c(B,12919,g+48|0)}q[b+24>>2]=f;a=d?2073:2065;q[b+8>>2]=q[b+8>>2]|(r[h+1396|0]?a|4:a);f=q[h+1400>>2]!=0;a=q[h+1392>>2];ia:{if((a|0)==65535){break ia}ja:{if(a>>>0>=391){a=a+ -391|0;if(t[h+1356>>2]<=a>>>0){break ia}a=q[q[h+1360>>2]+(a<<2)>>2];break ja}c=q[h+3084>>2];if(!c){break ia}a=n[q[c+20>>2]](a)|0}if(!a){break ia}if(Ta(a,12927)){if(Ta(a,12932)){break ia}}f=f|2}ka:{if(f&2){break ka}a=q[b+24>>2];if(!a){break ka}if(Ra(a,12927,4)){if(Ra(a,12932,5)){break ka}}f=f|2}q[b+12>>2]=f}a=q[h+1504>>2];la:{ma:{if(!e){l=512;if((a|0)==65535){break ma}}if(!y){break la}l=4096;if((a|0)==65535){break la}}q[b+8>>2]=q[b+8>>2]|l}a=q[b+36>>2];na:{oa:{if(a){c=q[b+40>>2];f=0;while(1){d=q[c+(f<<2)>>2];e=s[d+8>>1];pa:{if(e>>>0>3){break pa}qa:{switch(e-1|0){case 0:case 1:break pa;case 2:break qa;default:break oa}}if(s[d+10>>1]==1){break oa}}f=f+1|0;if(f>>>0>>0){continue}break}}if(q[h+1504>>2]!=65535?y:0){break na}q[g+48>>2]=b;q[g+52>>2]=1970170211;q[g+56>>2]=65539;c=md(9612,0,g+48|0,0);q[g+4>>2]=c;ra:{if(!c){break ra}c=c&255;if((c|0)==163){break ra}if((c|0)!=7){break na}}q[g+4>>2]=0;if(q[b+92>>2]|(a|0)==q[b+36>>2]){break oa}q[b+92>>2]=q[q[b+40>>2]+(a<<2)>>2]}if(!q[h+152>>2]){break na}p[g+56>>1]=7;q[g+48>>2]=b;a=g;b=q[h+148>>2];sa:{if(!b){p[g+58>>1]=0;b=1094995778;break sa}if((b|0)==1){p[g+58>>1]=1;b=1094992453;break sa}p[g+58>>1]=2;b=1094992451}q[a+52>>2]=b;I=g,J=md(9572,0,g+48|0,0),q[I+4>>2]=J}f=q[g+4>>2];break a}f=11;q[g+4>>2]=11}Da=g+96|0;return f|0}function Rn(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;v=Da-32|0;Da=v;e=-2;a:{if(!a){break a}c=q[a+28>>2];if(!c|!q[a>>2]){break a}j=-5;y=(b|0)==4?-5:0;while(1){b=q[c>>2];if(b>>>0>13){e=-2;break a}e=1;x=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(b-1|0){default:e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;b=r[b|0];q[c+4>>2]=b;c=q[a+28>>2];if((b&15)!=8){q[c>>2]=13;q[a+24>>2]=19656;break c}if((q[c+4>>2]>>>4|0)+8>>>0>t[c+16>>2]){q[c>>2]=13;q[a+24>>2]=19683;break c}q[c>>2]=1;j=y;case 0:e=j;b=q[a+4>>2];if(!b){break a}b=b+ -1|0;q[a+4>>2]=b;q[a+8>>2]=q[a+8>>2]+1;e=q[a>>2];q[a>>2]=e+1;e=r[e|0];if(((e|q[c+4>>2]<<8)>>>0)%31){q[c>>2]=13;q[a+24>>2]=19703;break c}if(!(e&32)){q[c>>2]=7;break b}q[c>>2]=2;e=y;break n;case 11:break a;case 7:break h;case 6:break i;case 5:break j;case 4:break k;case 3:break l;case 2:break m;case 1:break o;case 12:break d;case 10:break e;case 9:break f;case 8:break g}}b=q[a+4>>2];e=j}if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=r[b|0]<<24;c=q[a+28>>2];q[c>>2]=3;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<16);c=q[a+28>>2];q[c>>2]=4;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<8);c=q[a+28>>2];q[c>>2]=5;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+r[b|0];b=a;a=q[a+28>>2];q[b+48>>2]=q[a+8>>2];q[a>>2]=6;e=2;break a}q[c>>2]=13;q[a+24>>2]=19726;q[c+4>>2]=0;e=-2;break a}b=q[a+4>>2];f=q[a>>2];d=q[c+20>>2];i=q[d+28>>2];h=q[d+32>>2];l=q[d+52>>2];c=q[d+48>>2];p:{if(l>>>0>>0){e=c+(l^-1)|0;break p}e=q[d+44>>2]-l|0}B=d+20|0;A=d+16|0;q:{while(1){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:{c=q[d>>2];if((c|0)!=2){if(c>>>0>9){break L}R:{S:{switch(c-1|0){case 4:e=q[d+8>>2];break C;case 2:if(i>>>0<=13){break Q}g=i;c=f;break J;case 0:if(i>>>0<=31){break R}g=i;c=f;break w;case 7:break z;case 6:break A;case 5:break B;case 1:break L;case 8:break O;case 3:break P;default:break S}}T:{U:{V:{W:{X:{if(i>>>0>2){g=i;c=f;break X}if(!b){break W}b=b+ -1|0;g=i+8|0;h=r[f|0]<>2]=h&1;switch((h>>>1&3)-1|0){case 2:break T;case 1:break U;case 0:break V;default:break N}}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}f=n[q[a+32>>2]](q[a+40>>2],1,28)|0;if(f){q[f+24>>2]=24128;q[f+20>>2]=20032;p[f+16>>1]=1289;q[f>>2]=0;q[d+4>>2]=f;i=g+ -3|0;h=h>>>3|0;g=6;break M}q[d+32>>2]=h;q[d+4>>2]=0;q[d+28>>2]=g;break G}i=g+ -3|0;h=h>>>3|0;g=3;break M}q[d>>2]=9;q[a+24>>2]=19763;q[d+28>>2]=g+ -3;q[d+32>>2]=h>>>3;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}if(b){break x}break v}if(!b){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}if(e){c=l;break y}Y:{if(q[d+44>>2]!=(l|0)){c=l;break Y}c=q[d+40>>2];e=q[d+48>>2];if((c|0)==(e|0)){c=l;break Y}e=c>>>0>>0?e+(c^-1)|0:l-c|0;if(e){break y}}q[d+52>>2]=c;m=ec(d,a,j);j=q[d+52>>2];g=q[d+48>>2];Z:{if(j>>>0>>0){c=q[d+44>>2];e=g+(j^-1)|0;break Z}c=q[d+44>>2];e=c-j|0}_:{if((c|0)!=(j|0)){c=j;break _}c=q[d+40>>2];if((g|0)==(c|0)){c=j;break _}e=c>>>0>>0?g+(c^-1)|0:j-c|0}if(e){break y}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;x=ec(d,a,m);break q}if(b){break K}break I}e=q[d+8>>2];if(e>>>0<(q[d+4>>2]>>>10|0)+4>>>0){break E}break D}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break t}f=g+ -3|0;h=h>>>3>>>(f&7)|0;i=f&-8;g=1}f=c;q[d>>2]=g;continue}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=l;x=ec(d,a,-2);break q}$:{while(1){g=i+8|0;c=f+1|0;b=b+ -1|0;h=r[f|0]<>>0>=6){break $}i=g;f=c;if(b){continue}break}j=0;break I}j=0}q[d+4>>2]=h&16383;e=h&31;if(e>>>0<=29){f=h>>>5&31;if(f>>>0<30){break H}}q[d>>2]=9;q[a+24>>2]=19811;q[d+28>>2]=g;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}e=n[q[a+32>>2]](q[a+40>>2],(e+f|0)+258|0,4)|0;q[d+12>>2]=e;if(e){break F}q[d+28>>2]=g;q[d+32>>2]=h}q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);q[d+52>>2]=l;x=ec(d,a,-4);break q}q[d>>2]=4;e=0;q[d+8>>2]=0;i=g+ -14|0;h=h>>>14|0;f=c}while(1){aa:{if(i>>>0<=2){if(!b){break aa}b=b+ -1|0;h=r[f|0]<>2]=e+1;q[q[d+12>>2]+(q[(e<<2)+19856>>2]<<2)>>2]=h&7;i=i+ -3|0;h=h>>>3|0;e=q[d+8>>2];if(e>>>0<(q[d+4>>2]>>>10|0)+4>>>0){continue}break D}break}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}if(e>>>0<19){while(1){q[d+8>>2]=e+1;q[q[d+12>>2]+(q[(e<<2)+19856>>2]<<2)>>2]=0;e=q[d+8>>2];if(e>>>0<19){continue}break}}q[d+16>>2]=7;c=q[d+12>>2];g=q[d+36>>2];q[v+28>>2]=0;ba:{e=n[q[a+32>>2]](q[a+40>>2],19,4)|0;ca:{if(!e){c=-4;break ca}da:{ea:{fa:{ga:{ha:{c=jj(c,19,19,0,0,B,A,g,v+28|0,e);g=c+5|0;if(g>>>0>2){break ha}s=24384;switch(g-1|0){case 1:break fa;case 0:break ha;default:break ga}}if(q[A>>2]){break ea}}s=24424}q[a+24>>2]=s;n[q[a+36>>2]](q[a+40>>2],e);break da}n[q[a+36>>2]](q[a+40>>2],e);if(!c){break ba}if((c|0)!=-3){break ca}}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;c=-3}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=l;x=ec(d,a,c);break q}q[d>>2]=5;q[d+8>>2]=0;e=0}g=q[d+4>>2];c=g&31;g=g>>>5&31;k=(c+g|0)+258|0;if(e>>>0>>0){while(1){ia:{ja:{ka:{u=q[A>>2];la:{if(i>>>0>=u>>>0){c=i;m=f;g=b;break la}c=i;s=f;g=b;if(!b){break ka}ma:{while(1){m=s+1|0;g=g+ -1|0;h=r[s|0]<>>0>=u>>>0){break ma}s=m;if(g){continue}break}j=0;break ka}j=0}b=q[B>>2]+((q[(u<<2)+19936>>2]&h)<<3)|0;u=r[b+1|0];w=q[b+4>>2];if(w>>>0>15){break ja}q[d+8>>2]=e+1;q[q[d+12>>2]+(e<<2)>>2]=w;i=c-u|0;h=h>>>u|0;e=q[d+8>>2];f=m;b=g;break ia}q[d+32>>2]=h;q[d+28>>2]=(b<<3)+i;q[a+4>>2]=0;c=q[a>>2];b=b+f|0;q[a>>2]=b;q[a+8>>2]=q[a+8>>2]+(b-c|0);break r}na:{oa:{C=(w|0)==18;z=C?7:w+ -14|0;D=z+u|0;pa:{if(c>>>0>=D>>>0){i=c;f=m;b=g;break pa}i=c;s=m;b=g;if(!b){break oa}qa:{while(1){f=s+1|0;b=b+ -1|0;h=r[s|0]<>>0>=D>>>0){break qa}s=f;if(b){continue}break}j=0;break oa}j=0}i=(i-u|0)-z|0;c=h>>>u|0;h=c>>>z|0;c=(c&q[(z<<2)+19936>>2])+(C?11:3)|0;if((w|0)!=16|e?e+c>>>0<=k>>>0:0){break na}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;q[a+24>>2]=20004;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break t}q[d+32>>2]=h;q[d+28>>2]=(g<<3)+c;q[a+4>>2]=0;b=q[a>>2];c=g+m|0;q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break r}g=0;g=(w|0)==16?q[(q[d+12>>2]+(e<<2)|0)+ -4>>2]:g;while(1){q[q[d+12>>2]+(e<<2)>>2]=g;e=e+1|0;c=c+ -1|0;if(c){continue}break}q[d+8>>2]=e}g=q[d+4>>2];c=g&31;g=g>>>5&31;k=(c+g|0)+258|0;if(e>>>0>>0){continue}break}}q[d+20>>2]=0;q[v+24>>2]=9;q[v+20>>2]=6;m=q[d+36>>2];u=q[d+12>>2];q[v+28>>2]=0;ra:{sa:{ta:{e=n[q[a+32>>2]](q[a+40>>2],288,4)|0;ua:{if(!e){e=-4;break ua}va:{wa:{w=c+257|0;s=jj(u,w,257,24464,24592,v+16|0,v+24|0,m,v+28|0,e);z=s+4|0;xa:{ya:{if(z>>>0>4){break ya}k=24716;za:{switch(z-1|0){case 0:break xa;case 1:case 2:break ya;case 3:break za;default:break va}}k=q[v+24>>2];if(k){break wa}}k=24751}q[a+24>>2]=k;s=-3;break va}Aa:{Ba:{Ca:{Da:{s=jj(u+(w<<2)|0,g+1|0,0,24784,24912,v+12|0,v+20|0,m,v+28|0,e);m=s+5|0;Ea:{if(m>>>0>5){break Ea}g=25032;Fa:{switch(m-1|0){case 0:break Aa;case 1:break Ba;case 2:case 3:break Ea;case 4:break Fa;default:break Ca}}g=q[v+20>>2];if(g|!c){break Da}}g=25086;break Ba}n[q[a+36>>2]](q[a+40>>2],e);break ta}g=25061}q[a+24>>2]=g;s=-3}}n[q[a+36>>2]](q[a+40>>2],e);e=-4;c=s+3|0;if(c>>>0>3){break ua}Ga:{switch(c-1|0){case 2:g=q[v+20>>2];k=q[v+24>>2];break ta;case 0:case 1:break ua;default:break Ga}}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=9;e=-3}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=l;break sa}e=q[v+12>>2];m=q[v+16>>2];c=n[q[a+32>>2]](q[a+40>>2],1,28)|0;if(c){q[c+24>>2]=e;q[c+20>>2]=m;o[c+17|0]=g;o[c+16|0]=k;q[c>>2]=0;q[d+4>>2]=c;e=j;c=1;break ra}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=l;e=-4}x=ec(d,a,e);c=0}if(!c){break q}n[q[a+36>>2]](q[a+40>>2],q[d+12>>2]);q[d>>2]=6;j=e}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;c=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-c|0);q[d+52>>2]=l;k=q[d+4>>2];c=q[d+48>>2];Ha:{if(l>>>0>>0){g=c+(l^-1)|0;break Ha}g=q[d+44>>2]-l|0}e=q[k>>2];Ia:{while(1){Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{if(e>>>0<=9){Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{switch(e-1|0){case 0:u=q[k+12>>2];break ab;case 2:u=q[k+12>>2];break Ma;case 4:c=q[k+12>>2];break Na;case 8:break Wa;case 7:break Xa;case 6:break Ya;case 5:break Za;case 3:break _a;case 1:break $a;default:break bb}}q[k>>2]=1;u=r[k+16|0];q[k+12>>2]=u;q[k+8>>2]=q[k+20>>2]}if(i>>>0>=u>>>0){e=i;s=f;c=b;break Pa}e=i;m=f;c=b;if(c){break Qa}break Ja}w=q[k+8>>2];if(i>>>0>=w>>>0){e=i;break Ra}e=i;m=f;c=b;if(c){break Sa}break Ja}u=q[k+8>>2];if(i>>>0>=u>>>0){e=i;break Ta}e=i;m=f;c=b;if(c){break Ua}break Ja}if(g){c=l;break Va}cb:{if(q[d+44>>2]!=(l|0)){c=l;break cb}c=q[d+40>>2];e=q[d+48>>2];if((c|0)==(e|0)){c=l;break cb}g=c>>>0>>0?e+(c^-1)|0:l-c|0;if(g){break Va}}q[d+52>>2]=c;m=ec(d,a,j);e=q[d+52>>2];j=q[d+48>>2];db:{if(e>>>0>>0){c=q[d+44>>2];g=j+(e^-1)|0;break db}c=q[d+44>>2];g=c-e|0}eb:{if((c|0)!=(e|0)){c=e;break eb}c=q[d+40>>2];if((j|0)==(c|0)){c=e;break eb}g=c>>>0>>0?j+(c^-1)|0:e-c|0}if(g){break Va}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;b=ec(d,a,m);break Ia}q[d+52>>2]=l;c=i>>>0>7;f=c?f+ -1|0:f;i=c?i+ -8|0:i;b=b+c|0;c=ec(d,a,j);l=q[d+52>>2];if((l|0)!=q[d+48>>2]){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);b=ec(d,a,c);break Ia}q[k>>2]=8}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=l;b=ec(d,a,1);break Ia}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break La}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=l;b=ec(d,a,-2);break Ia}o[c|0]=q[k+8>>2];e=0;q[k>>2]=0;g=g+ -1|0;l=c+1|0;j=0;continue}fb:{while(1){s=m+1|0;c=c+ -1|0;h=r[m|0]<>>0>=u>>>0){break fb}m=s;if(c){continue}break}j=0;break Ja}j=0;f=s;b=c}q[k>>2]=5;c=q[k+12>>2]+(q[(u<<2)+19936>>2]&h)|0;q[k+12>>2]=c;i=e-u|0;h=h>>>u|0;break Na}gb:{while(1){s=m+1|0;c=c+ -1|0;h=r[m|0]<>>0>=w>>>0){break gb}m=s;if(c){continue}break}j=0;break Ja}j=0;f=s;b=c}q[k>>2]=3;u=r[k+17|0];q[k+12>>2]=u;q[k+8>>2]=q[k+24>>2];q[k+4>>2]=q[k+4>>2]+(q[(w<<2)+19936>>2]&h);i=e-w|0;h=h>>>w|0;break Ma}hb:{while(1){s=m+1|0;c=c+ -1|0;h=r[m|0]<>>0>=u>>>0){break hb}m=s;if(c){continue}break}j=0;break Ja}j=0}f=e;b=q[k+8>>2]+((q[(u<<2)+19936>>2]&h)<<3)|0;e=r[b+1|0];i=f-e|0;h=h>>>e|0;e=r[b|0];ib:{if(!e){b=q[b+4>>2];q[k>>2]=6;q[k+8>>2]=b;e=6;break ib}if(e&16){q[k+8>>2]=e&15;b=q[b+4>>2];q[k>>2]=2;q[k+4>>2]=b;e=2;break ib}if(!(e&64)){q[k+12>>2]=e;q[k+8>>2]=b+(q[b+4>>2]<<3);e=1;break ib}if(!(e&32)){break Oa}q[k>>2]=7;e=7}f=s;b=c;continue}q[k>>2]=9;q[a+24>>2]=25119;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=c;b=q[a>>2];q[a>>2]=s;q[a+8>>2]=q[a+8>>2]+(s-b|0);break La}e=l-c|0;c=q[d+40>>2];if(e>>>0>>0){m=q[d+44>>2]-c|0;while(1){e=e+m|0;if(e>>>0>>0){continue}break}}if(q[k+4>>2]){while(1){jb:{if(g){c=l;break jb}kb:{if(q[d+44>>2]!=(l|0)){c=l;break kb}c=q[d+40>>2];g=q[d+48>>2];if((c|0)==(g|0)){c=l;break kb}g=c>>>0>>0?g+(c^-1)|0:l-c|0;if(g){break jb}}q[d+52>>2]=c;s=ec(d,a,j);j=q[d+52>>2];m=q[d+48>>2];lb:{if(j>>>0>>0){c=q[d+44>>2];g=m+(j^-1)|0;break lb}c=q[d+44>>2];g=c-j|0}mb:{if((c|0)!=(j|0)){c=j;break mb}c=q[d+40>>2];if((m|0)==(c|0)){c=j;break mb}g=c>>>0>>0?m+(c^-1)|0:j-c|0}if(g){break jb}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=c;b=ec(d,a,s);break Ia}o[c|0]=r[e|0];e=e+1|0;if((e|0)==q[d+44>>2]){e=q[d+40>>2]}g=g+ -1|0;l=c+1|0;c=q[k+4>>2]+ -1|0;q[k+4>>2]=c;j=0;if(c){continue}break}}e=0;q[k>>2]=0;continue}nb:{if(i>>>0>=u>>>0){e=i;s=f;c=b;break nb}e=i;m=f;c=b;if(!c){break Ja}ob:{while(1){s=m+1|0;c=c+ -1|0;h=r[m|0]<>>0>=u>>>0){break ob}m=s;if(c){continue}break}j=0;break Ja}j=0}i=e;m=q[k+8>>2];f=q[(u<<2)+19936>>2]&h;b=m+(f<<3)|0;e=r[b+1|0];i=i-e|0;h=h>>>e|0;e=r[b|0];if(e&16){q[k+8>>2]=e&15;b=q[b+4>>2];e=4;q[k>>2]=4;q[k+12>>2]=b;break Ka}if(!(e&64)){q[k+12>>2]=e;e=3;q[k+8>>2]=b+(q[(m+(f<<3)|0)+4>>2]<<3);break Ka}q[k>>2]=9;q[a+24>>2]=25147;q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=c;b=q[a>>2];q[a>>2]=s;q[a+8>>2]=q[a+8>>2]+(s-b|0)}q[d+52>>2]=l;b=ec(d,a,-3);break Ia}f=s;b=c;continue}break}q[d+32>>2]=h;q[d+28>>2]=(b<<3)+i;q[a+4>>2]=0;c=q[a>>2];b=b+f|0;q[a>>2]=b;q[a+8>>2]=q[a+8>>2]+(b-c|0);q[d+52>>2]=l;b=ec(d,a,j)}if((b|0)!=1){x=ec(d,a,b);break q}n[q[a+36>>2]](q[a+40>>2],q[d+4>>2]);i=q[d+28>>2];h=q[d+32>>2];b=q[a+4>>2];f=q[a>>2];l=q[d+52>>2];c=q[d+48>>2];pb:{if(l>>>0>>0){e=c+(l^-1)|0;break pb}e=q[d+44>>2]-l|0}if(!q[d+24>>2]){j=0;q[d>>2]=0;continue}q[d>>2]=7;j=0}q[d+52>>2]=l;c=ec(d,a,j);l=q[d+52>>2];if((l|0)!=q[d+48>>2]){q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);x=ec(d,a,c);break q}q[d>>2]=8}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);q[d+52>>2]=l;x=ec(d,a,1);break q}j=c;c=q[d+4>>2];c=c>>>0>b>>>0?b:c;c=c>>>0>e>>>0?e:c;j=Qa(j,f,c);g=q[d+4>>2]-c|0;q[d+4>>2]=g;e=e-c|0;l=c+j|0;b=b-c|0;f=c+f|0;j=0;if(g){continue}q[d>>2]=q[d+24>>2]?7:0;continue}qb:{while(1){g=i+8|0;c=f+1|0;b=b+ -1|0;h=r[f|0]<>>0>=24){break qb}i=g;f=c;if(b){continue}break}j=0;break v}j=0}f=(h^-1)>>>16|0;if((f|0)==(h&65535)){break u}q[d>>2]=9;q[a+24>>2]=19782;q[d+28>>2]=g;q[d+32>>2]=h;q[a+4>>2]=b;b=q[a>>2];q[a>>2]=c;q[a+8>>2]=q[a+8>>2]+(c-b|0);break t}q[d+28>>2]=i;q[d+32>>2]=h;q[a+4>>2]=0;b=q[a>>2];q[a>>2]=f;q[a+8>>2]=q[a+8>>2]+(f-b|0);break r}q[d+4>>2]=f;if(f){h=0;g=2;break s}h=0;g=q[d+24>>2]?7:0;break s}q[d+52>>2]=l;x=ec(d,a,-3);break q}i=0;f=c;q[d>>2]=g;continue}break}q[d+52>>2]=l;x=ec(d,a,j)}b=x+3|0;if(b>>>0>4){break d}e=y;rb:{switch(b-1|0){default:b=q[a+28>>2];q[b>>2]=13;q[b+4>>2]=0;j=-3;c=q[a+28>>2];continue;case 2:break a;case 3:break rb;case 0:case 1:break d}}b=q[a+28>>2];c=q[b+20>>2];q[b+4>>2]=q[c+60>>2];b=q[c>>2];if((b&-2)==4){n[q[a+36>>2]](q[a+40>>2],q[c+12>>2]);b=q[c>>2]}if((b|0)==6){n[q[a+36>>2]](q[a+40>>2],q[c+4>>2])}q[c+28>>2]=0;q[c+32>>2]=0;q[c>>2]=0;b=q[c+40>>2];q[c+52>>2]=b;q[c+48>>2]=b;b=q[c+56>>2];if(b){b=n[b](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}c=q[a+28>>2];if(q[c+12>>2]){q[c>>2]=12;break b}q[c>>2]=8;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=r[b|0]<<24;c=q[a+28>>2];q[c>>2]=9;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<16);c=q[a+28>>2];q[c>>2]=10;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+(r[b|0]<<8);c=q[a+28>>2];q[c>>2]=11;j=y}e=j;b=q[a+4>>2];if(!b){break a}q[a+4>>2]=b+ -1;q[a+8>>2]=q[a+8>>2]+1;b=q[a>>2];q[a>>2]=b+1;q[c+8>>2]=q[c+8>>2]+r[b|0];b=q[a+28>>2];if(q[b+4>>2]!=q[b+8>>2]){q[b>>2]=13;q[a+24>>2]=19742;q[b+4>>2]=5;break b}q[b>>2]=12;e=1;break a}e=x;break a}q[c+4>>2]=5}c=q[a+28>>2];j=y;continue}}Da=v+32|0;return e}function ML(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=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,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;h=Da-656|0;Da=h;q[h+644>>2]=0;q[h+640>>2]=0;q[h+636>>2]=0;q[h+632>>2]=0;q[h+628>>2]=0;q[h+624>>2]=0;q[h+620>>2]=0;q[h+616>>2]=0;Bk();j=Pg();a:{if(!j){break a}b:{c:{g=q[a+8>>2]&1;if(!Pc(j,24,g)){break c}i=q[a+8>>2]&16384;if(!Pc(j,47,i>>>14|0)){break c}if(!Pc(j,25,(g|i)!=0)){break b}A=-1;H=1;k=j;g=c>>>16|0;d:{e:{if(!g){E=1;break e}if(Pl(a,h+644|0)){break b}if((g|0)==32768){m=q[h+644>>2];if(!q[m>>2]){break b}z=-1;i=0;while(1){l=q[m+12>>2]+w(i,24)|0;E=+q[l+4>>2]*152587890625e-16;y=+q[l+12>>2]*152587890625e-16;f:{if(E==y){break f}S=+q[l+8>>2]*152587890625e-16;if(E>S|S>y){break f}p=j;l=q[l+16>>2];g:{if((l|0)!=1869640570){if((l|0)==2003072104){A=0;U=1;u=9;break g}if((l|0)!=2003265652){break f}z=0;V=1;E=Mk(E);y=Mk(y);u=8;break g}W=1;u=10}g=$k(E,y);u=Tq(p,u,g);La(g);if(!u){break c}u=1;m=q[h+644>>2]}i=i+1|0;if(i>>>0>2]){continue}break}if(!u){break c}c=c&65535;E=1;break d}g=g+ -1|0;i=q[h+644>>2];if(g>>>0>=t[i+8>>2]){break b}P=q[i+16>>2]+w(g,12)|0;if(!q[i>>2]){E=1;break e}g=0;E=1;while(1){y=+q[q[P>>2]+(g<<2)>>2]*152587890625e-16;l=q[i+12>>2]+w(g,24)|0;u=q[l+16>>2];h:{if((u|0)!=1869640570){z=y;y=+q[l+8>>2]*152587890625e-16;y=y!=0?z/y:1;if((u|0)==2003072104){H=y;break h}if((u|0)!=2003265652){break h}E=y;break h}if(!ze(j,10,y)){break c}i=q[h+644>>2]}g=g+1|0;if(g>>>0>2]){continue}break}}z=-1;u=0}I=u;if(!Pc(k,50,u)){break c}u=0;C=wd(a,2);i:{if(!C){break i}g=s[C>>1];if(!r[C+60|0]|(!g|(g|0)==65535)){break i}u=Sa(5);g=q[C+60>>2];o[u+4|0]=0;o[u|0]=g;o[u+1|0]=g>>>8;o[u+2|0]=g>>>16;o[u+3|0]=g>>>24}if(o[643741]&1){Gb(10)}g=0;D=!a|!(r[a+8|0]&8)?g:s[a+340>>1];j:{if(f){F=q[f>>2];if(F){break j}}i=0;F=Sa(w(D,20));D=F?D:0;if((D|0)>=1){while(1){m=-1;k=-1;B=-1;p=-1;x=-1;if(!Hh(a,i,h+336|0)){p=s[h+340>>1];B=s[h+338>>1];m=s[h+336>>1];x=i;k=s[h+342>>1]}g=w(i,20)+F|0;q[g+16>>2]=x;q[g+12>>2]=p;q[g+8>>2]=B;q[g+4>>2]=k;q[g>>2]=m;i=i+1|0;if((D|0)!=(i|0)){continue}break}}Gc(F,D,20,834);if(!f){break j}q[f>>2]=F}X=D+ -1|0;G=u;while(1){L=s[(Q<<1)+442700>>1];M=0;while(1){R=s[(M<<1)+442720>>1];k=R;k:{l:{if(!P){break l}g=M+ -4|0;k=R;if(g>>>0>3){break l}if(g-3){break k}k=q[P+4>>2]}g=X;i=0;if((D|0)<1){break k}p=k;while(1){m:{n:{k=g+i|0;x=(k|0)/2|0;o:{if(Hh(a,q[(w(x,20)+F|0)+16>>2],h+600|0)){x=0;break o}p:{q:{r:{l=s[h+600>>1];s:{if(l>>>0>L>>>0){break s}if((l|0)!=(L|0)){break q}l=s[h+606>>1];if(p>>>0>>0){break s}if((l|0)!=(p|0)|k+1>>>0<3){break r}B=w(x+ -1|0,20)+F|0;if(q[B>>2]!=(L|0)|q[B+4>>2]!=(p|0)){break r}}g=x+ -1|0;break m}if(p>>>0<=l>>>0){break p}break n}if(l>>>0>>0){break n}}if(k+3>>>0<2){break k}}J=0;l=0;K=0;N=0;while(1){t:{u:{g=R+ -1|0;v:{if(g>>>0>21){break v}w:{switch(g-1|0){default:K=1;J=h+640|0;l=h+636|0;N=2;if(!(o[643741]&1)){break u}q[h+288>>2]=s[h+606>>1];q[h+292>>2]=s[h+600>>1];q[h+296>>2]=s[h+602>>1];q[h+300>>2]=s[h+604>>1];Ua(442740,h+288|0);break u;case 2:case 16:if(I){break v}J=h+624|0;l=h+620|0;K=5;N=6;if(!(o[643741]&1)){break u}q[h+304>>2]=s[h+606>>1];q[h+308>>2]=s[h+600>>1];q[h+312>>2]=s[h+602>>1];q[h+316>>2]=s[h+604>>1];Ua(442780,h+304|0);break u;case 0:case 15:case 20:if(I){break v}J=h+632|0;l=h+628|0;K=3;N=4;if(!(o[643741]&1)){break u}q[h+320>>2]=s[h+606>>1];q[h+324>>2]=s[h+600>>1];q[h+328>>2]=s[h+602>>1];q[h+332>>2]=s[h+604>>1];Ua(442820,h+320|0);break u;case 1:case 3:case 4:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:break v;case 5:case 6:break w}}if(G){break v}g=Qq(h+600|0);G=Pq(g);La(g)}if(K){break u}K=0;break t}B=Qq(h+600|0);k=s[h+604>>1];T=s[h+600>>1];if(!(s[h+602>>1]|(T|0)!=1)){Y=k;g=q[h+612>>2];x:{if((g|0)<1){m=0;g=0;break x}m=0;i=q[h+608>>2];k=0;while(1){O=r[i|0]>>>7|0;k=O+k|0;m=(O^1)+m|0;O=(g|0)>1;g=g+ -1|0;i=i+1|0;if(O){continue}break}g=k<<1}k=g>>>0>m>>>0?11:Y}g=0;y:{while(1){z:{A:{i=w(g,12);if(s[i+444720>>1]!=(T|0)){break A}if(!g){break z}if(s[i+444722>>1]!=(k&65535)){break A}g=i+444724|0;break y}g=g+1|0;if((g|0)!=335){continue}}break}g=0}if(o[643741]&1){Rb(B?B:442861)}i=B;if(!i){break t}k=g;while(1){g=i;i=g+1|0;if(r[g|0]==32){continue}break}i=g;g=Wa(g);m=sb(B,i,g+1|0);g=g+m|0;B=m>>>0>>0?m:g;while(1){B:{i=g;if(g>>>0<=m>>>0){i=B;break B}g=i+ -1|0;if(r[g|0]==32){continue}}break}o[i|0]=0;Vq(j,h+648|0);C:{D:{if(!zc(j,h+648|0,K)){break D}g=Sq(h+648|0);if(!g){break D}while(1){pc(h+336|0,g+8|0);if(q[h+336>>2]!=3){break D}if(!wb(q[h+344>>2],m)){break C}i=g;g=q[g>>2];g=g&1?i+(g&-2)|0:g;if(g){continue}break}}g=wc(j,K,m);La(m);if(!g){break b}if(k){if(q[l>>2]>2]){while(1){if(!wc(j,N,442868)){break b}g=q[l>>2]+1|0;q[l>>2]=g;if((g|0)>2]){continue}break}}if(!wc(j,N,k)){break b}q[l>>2]=q[l>>2]+1}q[J>>2]=q[J>>2]+1;break t}La(m)}x=x+1|0;if((x|0)>=(D|0)){break k}if(Hh(a,q[(w(x,20)+F|0)+16>>2],h+600|0)|s[h+600>>1]!=(L|0)){break k}if(s[h+606>>1]==(p|0)){continue}break}break k}i=x+1|0}if((i|0)<=(g|0)){continue}break}}M=M+1|0;if((M|0)!=10){continue}break}Q=Q+1|0;if((Q|0)!=4){continue}break}if(!f){La(F)}g=q[h+640>>2];E:{if(g){break E}g=0;i=q[a+20>>2];if(!i){break E}if(!wb(i,442872)){break E}if(o[643741]&1){q[h+272>>2]=q[a+20>>2];Ua(442873,h+272|0)}if(!wc(j,1,q[a+20>>2])){break b}if(!wc(j,2,442901)){break b}g=1;q[h+640>>2]=1}i=q[h+632>>2];F:{if(i|I){break F}k=q[a+24>>2];if(!k){break F}if(!wb(k,442872)){break F}if(o[643741]&1){q[h+256>>2]=q[a+24>>2];Ua(442904,h+256|0)}if(!wc(j,3,q[a+24>>2])){break b}if(!wc(j,4,442901)){break b}q[h+632>>2]=i+1}if(!(!r[b|0]|(g|!b))){g=ue(b,47);i=g?g+1|0:b;g=ue(i,46);if(!g){g=Wa(i)+i|0}k=g-i|0;g=Md(Sa(k+1|0),i,k);o[g+k|0]=0;if(o[643741]&1){q[h+240>>2]=g;Ua(442931,h+240|0)}i=wc(j,1,g);La(g);if(!i){break b}q[h+640>>2]=1}x=q[h+624>>2];if(!(x|I)){g=0;G:{if(Bd(j,2,0,h+596|0)){break G}while(1){if(!Rd(q[h+596>>2],442901)){break G}q[h+596>>2]=0;g=g+1|0;if(!Bd(j,2,g,h+596|0)){continue}break}}i=q[h+596>>2]?g:0;if(Bd(j,1,i,h+600|0)){break b}l=q[h+600>>2];g=Wa(l);k=0;H:{if(!g){break H}while(1){p=r[g+l|0];k=g;if(!((p|0)==32|p+ -9>>>0<5)){break H}g=g+ -1|0;if(g){continue}break}k=0}o[k+l|0]=0;I:{if(Bd(j,4,i,h+596|0)){break I}while(1){if(!Rd(q[h+596>>2],442901)){break I}q[h+596>>2]=0;i=i+1|0;if(!Bd(j,4,i,h+596|0)){continue}break}}if(Bd(j,3,q[h+596>>2]?i:0,h+648|0)){break b}cg(h+336|0,0,0);ge(h+336|0,q[h+600>>2]);Ng(h+336|0,32);ge(h+336|0,q[h+648>>2]);g=wc(j,5,Qd(h+336|0));uc(h+336|0);if(!g){break b}if(!wc(j,6,442901)){break b}q[h+624>>2]=x+1}if(!I){g=Jj(a);J:{if(!g){q[h+648>>2]=0;g=0;K:{if(Bd(j,2,0,h+648|0)){break K}while(1){if(!Rd(q[h+648>>2],442901)){break K}q[h+648>>2]=0;g=g+1|0;if(!Bd(j,2,g,h+648|0)){continue}break}}if(Bd(j,1,q[h+648>>2]?g:0,h+600|0)){break b}m=0;i=q[h+600>>2];g=Wa(i);if(g){m=g+ -1>>>0<254?g:255;g=0;while(1){k=r[g+i|0];Z=(h+336|0)+g|0,_=be(442976,k,16)?45:k,o[Z|0]=_;g=g+1|0;if((m|0)!=(g|0)){continue}break}}o[(h+336|0)+m|0]=0;break J}Md(h+336|0,g,255);o[h+591|0]=0}if(!wc(j,46,h+336|0)){break b}}if(!(!b|!r[b|0])){if(!wc(j,21,b)){break b}}if(!he(j,22,c)){break b}b=wd(a,0);L:{if(b){if(he(j,35,q[b+4>>2])){break L}break b}if(!he(j,35,0)){break b}}B=0;M:{if(!C){l=0;break M}l=0;b=s[C>>1];N:{O:{if(!b){break O}if((b|0)==65535){break N}c=q[C+80>>2];l=c&262144?c&131072?0:442680:c<<14>>31&442673;if((c&393216)==393216){break O}g=c&524288;b=g?l?0:442687:l;if(!(!l|!g)){l=b;break O}l=c&1048576?b?0:442694:b}z=Mk(E*+s[C+4>>1]);if(!(z==-1|!(q[160935]&256))){b=s[C+4>>1];v[h+224>>3]=z;v[h+216>>3]=E;q[h+208>>2]=b;Ab(442992,h+208|0)}y=H;b=s[C+6>>1];c=b+ -1|0;if((c&65535)>>>0<=8){A=v[(c<<16>>16<<3)+449168>>3]}A=y*A;if(!(q[160935]&256)|A==-1){break N}v[h+192>>3]=A;v[h+184>>3]=H;q[h+176>>2]=b;Ab(443046,h+176|0)}q[h+336>>2]=0;q[h+600>>2]=0;q[h+648>>2]=0;g=Ij(a,1399417958,0,h+336|0);c=Oq(a,1196445523,h+648|0);i=Oq(a,1196643650,h+600|0);p=c|i;b=0;P:{if(p&65535?0:g){break P}k=i&65535;x=c&65535;c=Sa(w(k+x|0,14)+(g?0:13)|0);b=0;if(!c){break P}o[c|0]=0;if(!g){b=r[448749]|r[448750]<<8|(r[448751]<<16|r[448752]<<24);g=r[448745]|r[448746]<<8|(r[448747]<<16|r[448748]<<24);o[c+5|0]=g;o[c+6|0]=g>>>8;o[c+7|0]=g>>>16;o[c+8|0]=g>>>24;o[c+9|0]=b;o[c+10|0]=b>>>8;o[c+11|0]=b>>>16;o[c+12|0]=b>>>24;b=r[448744]|r[448745]<<8|(r[448746]<<16|r[448747]<<24);g=r[448740]|r[448741]<<8|(r[448742]<<16|r[448743]<<24);o[c|0]=g;o[c+1|0]=g>>>8;o[c+2|0]=g>>>16;o[c+3|0]=g>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24}if(p&65535){i=0;p=q[h+648>>2];I=q[h+600>>2];g=0;while(1){Q:{if((g|0)==(k|0)){qi(c,q[p+(i<<2)>>2]);i=i+1|0;g=k;break Q}b=q[I+(g<<2)>>2];R:{if((i|0)!=(x|0)){D=q[p+(i<<2)>>2];if(b>>>0>=D>>>0){break R}}qi(c,b);g=g+1|0;break Q}if((b|0)==(D|0)){qi(c,b);i=i+1|0;g=g+1|0;break Q}qi(c,D);i=i+1|0}if((g|0)<(k|0)|(i|0)<(x|0)){continue}break}}if(o[643741]&1){q[h+160>>2]=c;Ua(448753,h+160|0)}b=c}La(q[h+600>>2]);La(q[h+648>>2]);if(!b){break M}c=wc(j,36,b);La(b);if(!c){break b}}b=j;c=q[a+104>>2];if(c){c=!Rq(a,1886545264,c)}else{c=0}if(!Pc(b,51,c)){break b}S:{if(!C|W){break S}b=s[C>>1];if(b>>>0<5|(b|0)==65535){break S}Oe(h+144|0,s[C+98>>1]);Ih(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,1073954816);Oe(h+112|0,s[C+100>>1]);Ih(h+96|0,q[h+112>>2],q[h+116>>2],q[h+120>>2],q[h+124>>2],0,0,0,1073954816);b=q[h+104>>2];c=q[h+108>>2];g=q[h+96>>2];i=q[h+100>>2];H=Tf(q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2]);y=Tf(g,i,b,c);if(H==y){if(ze(j,10,H)){break S}break b}b=$k(H,y);c=Tq(j,10,b);La(b);if(!c){break b}}T:{if(!Yr(a,h+336|0)){U:{if(z!=-1){break U}z=-1;b=q[h+352>>2];if(!b){break U}c=0;V:{W:{if(!wb(b,448799)){break W}c=1;if(!wb(b,448804)){break W}c=2;if(!wb(b,448815)){break W}c=3;if(!wb(b,448826)){break W}c=4;if(!wb(b,448836)){break W}c=5;if(!wb(b,448846)){break W}c=6;if(!wb(b,448852)){break W}c=7;if(!wb(b,448857)){break W}c=8;if(!wb(b,448865)){break W}c=9;if(!wb(b,448872)){break W}c=10;if(!wb(b,448879)){break W}c=11;if(!wb(b,448888)){break W}c=12;if(!wb(b,448893)){break W}c=13;if(!wb(b,448902)){break W}c=14;if(!wb(b,448912)){break W}c=15;if(!wb(b,448922)){break W}c=16;if(!wb(b,448932)){break W}c=17;if(!wb(b,448937)){break W}c=18;if(!wb(b,448948)){break W}c=19;if(!wb(b,448959)){break W}c=20;if(!wb(b,448970)){break W}c=21;if(!wb(b,448977)){break W}c=-1;if(wb(b,448983)){break V}c=22}c=q[(c<<3)+443108>>2]}z=+(c|0);if(!(o[643741]&1)){break U}q[h+80>>2]=q[h+352>>2];v[h+88>>3]=z;Ab(443288,h+80|0)}if(G){break T}G=Pq(q[h+340>>2])}if(G){break T}G=0;if(dg(a,443317,h+648|0)|q[h+648>>2]!=1){break T}G=q[h+652>>2]}X:{if(A!=-1){break X}Y:{Z:{_:{$:{if(!(dg(a,443325,h+648|0)|(q[h+648>>2]&-2)!=2)){b=((q[h+652>>2]+5|0)/10|0)+ -1|0;if(b>>>0<9){break $}}A=-1;if(dg(a,443343,h+648|0)|q[h+648>>2]!=1){break X}b=q[h+652>>2];if(!b){break X}c=0;if(!wb(b,448989)){break Z}if(wb(b,449004)){break _}c=1;break Z}A=v[(b<<3)+449168>>3];break X}c=2;if(!wb(b,449019)){break Z}c=3;if(!wb(b,449033)){break Z}c=4;if(!wb(b,448865)){break Z}c=5;if(!wb(b,449043)){break Z}c=6;if(!wb(b,449056)){break Z}c=7;if(!wb(b,449070)){break Z}c=8;if(!wb(b,449084)){break Z}c=-1;if(wb(b,449093)){break Y}c=9}c=q[(c<<3)+443364>>2]}A=+(c|0);if(!(o[643741]&1)){break X}q[h+64>>2]=q[h+652>>2];v[h+72>>3]=A;Ab(443440,h- -64|0)}aa:{ba:{if(pd(j,443465,0,h+616|0)){x=0;break ba}p=-1;x=0;while(1){ca:{if(z!=-1){break ca}g=0;b=q[h+616>>2];da:{ea:{while(1){i=g<<3;c=q[i+443104>>2];fa:{if(r[c|0]==60){if(!BL(b,c+1|0)){break fa}break ea}if(vc(b,c)){break ea}}g=g+1|0;if((g|0)!=23){continue}break}b=-1;break da}b=q[i+443108>>2]}z=+(b|0);if(!(o[643741]&1)){break ca}q[h+48>>2]=q[h+616>>2];v[h+56>>3]=z;Ab(443471,h+48|0)}ga:{if(A!=-1){break ga}g=0;ha:{ia:{b=q[h+616>>2];if(vc(b,448989)){break ia}g=1;if(vc(b,449004)){break ia}g=2;if(vc(b,449019)){break ia}g=3;if(vc(b,449033)){break ia}g=4;if(vc(b,448865)){break ia}g=5;if(vc(b,449043)){break ia}g=6;if(vc(b,449056)){break ia}g=7;if(vc(b,449070)){break ia}g=8;if(vc(b,449084)){break ia}g=9;if(vc(b,449093)){break ia}b=-1;break ha}b=q[(g<<3)+443364>>2]}A=+(b|0);if(!(o[643741]&1)){break ga}q[h+32>>2]=q[h+616>>2];v[h+40>>3]=A;Ab(443500,h+32|0)}ja:{if((p|0)!=-1){break ja}g=0;ka:{la:{b=q[h+616>>2];if(vc(b,449102)){break la}g=1;if(vc(b,449109)){break la}g=2;if(vc(b,449116)){break la}p=-1;break ka}p=q[(g<<3)+443540>>2]}if(!(o[643741]&1)){break ja}q[h+16>>2]=q[h+616>>2];q[h+20>>2]=p;Ua(443560,h+16|0)}ma:{if(x){break ma}g=0;na:{oa:{b=q[h+616>>2];if(vc(b,449124)){break oa}g=1;if(vc(b,449131)){break oa}g=2;if(vc(b,449136)){break oa}g=3;if(vc(b,449144)){break oa}g=4;if(vc(b,449152)){break oa}g=5;if(vc(b,449160)){break oa}b=-1;break na}b=q[(g<<3)+443604>>2]}x=(b|0)>0;if(!(o[643741]&1)){break ma}q[h>>2]=q[h+616>>2];q[h+4>>2]=x;Ua(443648,h)}B=B+1|0;if(!pd(j,443465,B,h+616|0)){continue}break}if((p|0)!=-1){break aa}}p=0-(q[a+12>>2]&1)&100}z=z==-1?r[a+12|0]&2?200:100:z;if(!he(j,7,p)){break b}if(!V){if(!ze(j,8,z)){break b}}if(!U){if(!ze(j,9,A==-1?100:A)){break b}}if(!wc(j,14,G?G:443681)){break b}if(!Pc(j,40,x)){break b}pa:{qa:{if(d){b=q[d>>2];if(!b){break qa}g=Qg(b);break pa}g=Nq(a);break pa}g=Nq(a);Z=d,_=Qg(g),q[Z>>2]=_}if(!g){break b}b=j;d=q[a+92>>2];c=0;ra:{if(!d){break ra}c=q[d+4>>2]==1937337698}if(!Pc(b,48,c)){break b}b=KL(a);sa:{if(dg(a,443689,h+648|0)){k=b;break sa}if(q[h+648>>2]!=1){k=b;break sa}d=q[h+652>>2];if(!d){k=b;break sa}k=110;if(!Ta(d,443697)){break sa}if(!Ta(d,443699)){break sa}k=100;if(!Ta(d,443701)){break sa}if(!Ta(d,443703)){break sa}if(Ta(d,443705)){k=b;if(Ta(d,443707)){break sa}}k=0}ta:{if(!jM(g)){if(!dg(a,443709,h+648|0)){break ta}}if(!$L(j,g)){break ta}ua:{va:{if(!c){if(!e){break va}b=q[e>>2];if(b){i=zf(b);if(i){break ua}break ta}i=Mq(g,l);Z=e,_=zf(i),q[Z>>2]=_;if(i){break ua}break ta}i=oi();break ua}i=Mq(g,l);if(!i){break ta}}b=_L(j,i);Sd(i);if(!b){break ta}if(k){if(!he(j,13,k)){break ta}}if(!(o[a+8|0]&1)){m=q[a+28>>2];if((m|0)>=1){i=0;while(1){b=j;wa:{xa:{if((m|0)!=1){break xa}if(dg(a,443709,h+600|0)|q[h+600>>2]!=2){break xa}y=+q[h+604>>2];break wa}y=+q[(q[a+32>>2]+(i<<4)|0)+12>>2]*.015625}if(!ze(b,12,y)){break ta}i=i+1|0;m=q[a+28>>2];if((i|0)<(m|0)){continue}break}}if(!Pc(j,15,0)){break ta}}b=0;ya:{if(!a){break ya}c=q[a+96>>2];d=q[q[c>>2]+32>>2];if(!d){break ya}b=n[d](c,4034)|0}if(b){if(!wc(j,37,b)){break ta}}Xc(g);if(u){La(u)}b=q[h+644>>2];if(!b){g=j;break a}a=q[a+84>>2];if(!a){g=j;break a}a=q[a>>2];if(a){a=q[a>>2];if(b){n[q[a+8>>2]](a,b)}}g=j;break a}Xc(g);break b}u=0}ie(j);b=q[h+644>>2];za:{if(!b){break za}a=q[a+84>>2];if(!a){break za}a=q[a>>2];if(a){a=q[a>>2];if(b){n[q[a+8>>2]](a,b)}}}if(!(!F|f)){La(F)}g=0;if(!u){break a}La(u)}Da=h+656|0;return g}function bX(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=Da-48|0;Da=d;c=q[a+24>>2];a:{if(!(c&4)){if(c>>>0<8){break a}e=8;while(1){h=f;f=e;e=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=e;e=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=e;if(c>>>0<=h>>>0){o[a+20|0]=1}j=q[a+32>>2];b:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break b}e=q[a+36>>2]+(h<<5)|0}l=r[a+176|0];c:{if(!l){break c}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break c}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break c}q[e+20>>2]=0}i=v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}d:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break d}e=q[a+36>>2]+(c<<5)|0}e:{if(!l){break e}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break e}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break e}q[e+20>>2]=0}c=h|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break f}g=q[a+36>>2]+(c<<5)|0}g:{if(!l){break g}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break g}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break g}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|3;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}h:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break h}e=q[a+36>>2]+(c<<5)|0}i:{if(!l){break i}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break i}j=q[e+24>>2];l=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break i}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];pb(a,b,d+32|0,d+16|0,d);c=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=c;c=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=c;c=h|4;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j=q[a+32>>2];j:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];k:{if(!l){break k}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break k}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|5;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break l}e=q[a+36>>2]+(c<<5)|0}m:{if(!l){break m}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break m}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break m}q[e+20>>2]=0}c=h|6;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break n}g=q[a+36>>2]+(c<<5)|0}o:{if(!l){break o}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break o}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break o}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|7;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}p:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break p}e=q[a+36>>2]+(c<<5)|0}q:{if(!l){break q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break q}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break q}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];c=q[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){o[a+20|0]=1}r:{if(j>>>0<=f>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break r}h=q[a+36>>2]+(f<<5)|0}s:{if(!l){break s}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break s}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break s}q[h+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[h>>3]}pb(a,b,d+32|0,d+16|0,d);e=f+8|0;c=q[a+24>>2];if(e>>>0<=c>>>0){continue}break}break a}f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(!c){o[a+20|0]=1}f=q[a+32>>2];t:{if(!f){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break t}h=q[a+36>>2]}l=r[a+176|0];u:{if(!l){break u}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break u}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break u}q[h+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[h>>3];h=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=h;h=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=h;if(t[a+24>>2]<=1){o[a+20|0]=1}v:{if(f>>>0<=1){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break v}h=q[a+36>>2]+32|0}w:{if(!l){break w}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break w}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break w}q[h+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}x:{if(f>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break x}e=q[a+36>>2]- -64|0}y:{if(!l){break y}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break y}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break y}q[e+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[h>>3];v[d+24>>3]=v[d+24>>3]+v[e>>3];h=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=h;h=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=h;if(t[a+24>>2]<=3){o[a+20|0]=1}z:{if(f>>>0<=3){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break z}h=q[a+36>>2]+96|0}A:{if(!l){break A}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break A}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break A}q[h+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[h>>3];c=12;h=4;e=q[a+24>>2];if(e>>>0>=12){while(1){e=h;h=c;pb(a,b,d+32|0,d+16|0,d);f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(t[a+24>>2]<=e>>>0){o[a+20|0]=1}j=q[a+32>>2];B:{if(j>>>0<=e>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break B}f=q[a+36>>2]+(e<<5)|0}l=r[a+176|0];C:{if(!l){break C}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break C}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break C}q[f+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[f>>3];f=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=f;f=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=f;f=e|1;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}D:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break D}f=q[a+36>>2]+(f<<5)|0}E:{if(!l){break E}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break E}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break E}q[f+20>>2]=0}c=e|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}F:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break F}g=q[a+36>>2]+(c<<5)|0}G:{if(!l){break G}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break G}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break G}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[f>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;f=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=f;f=e|3;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}H:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break H}f=q[a+36>>2]+(f<<5)|0}I:{if(!l){break I}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break I}j=q[f+24>>2];l=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break I}q[f+20>>2]=0}v[d>>3]=v[d>>3]+v[f>>3];pb(a,b,d+32|0,d+16|0,d);f=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=f;f=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=f;c=e+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f=q[a+32>>2];J:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break J}g=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];K:{if(!l){break K}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break K}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break K}q[g+20>>2]=0}i=v[g>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=e+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}L:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break L}g=q[a+36>>2]+(c<<5)|0}M:{if(!l){break M}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break M}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break M}q[g+20>>2]=0}c=e+6|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}N:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;j=642976;break N}j=q[a+36>>2]+(c<<5)|0}O:{if(!l){break O}k=q[j+20>>2];if(!k|(k|0)!=q[a+168>>2]){break O}m=q[j+24>>2];n=q[a+172>>2];i=v[j>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[j+8>>2]=0;q[j+12>>2]=0;v[j>>3]=i;if(q[j+16>>2]<0){break O}q[j+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[g>>3];v[d+24>>3]=v[d+24>>3]+v[j>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=e+7|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}P:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break P}e=q[a+36>>2]+(c<<5)|0}Q:{if(!l){break Q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break Q}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break Q}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];c=h+8|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}if(h>>>0>>0){R:{if(f>>>0<=h>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break R}f=q[a+36>>2]+(h<<5)|0}S:{if(!l){break S}h=q[f+20>>2];if(!h|(h|0)!=q[a+168>>2]){break S}e=q[f+24>>2];g=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[e+(c<<3)>>3]*+u[g+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break S}q[f+20>>2]=0}v[d>>3]=v[d>>3]+v[f>>3]}pb(a,b,d+32|0,d+16|0,d)}Da=d+48|0}function aX(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=Da-48|0;Da=d;c=q[a+24>>2];a:{if(!(c&4)){if(c>>>0<8){break a}e=8;while(1){h=f;f=e;e=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=e;e=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=e;if(c>>>0<=h>>>0){o[a+20|0]=1}j=q[a+32>>2];b:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break b}e=q[a+36>>2]+(h<<5)|0}l=r[a+176|0];c:{if(!l){break c}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break c}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break c}q[e+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}d:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break d}e=q[a+36>>2]+(c<<5)|0}e:{if(!l){break e}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break e}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break e}q[e+20>>2]=0}c=h|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break f}g=q[a+36>>2]+(c<<5)|0}g:{if(!l){break g}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break g}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break g}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|3;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}h:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break h}e=q[a+36>>2]+(c<<5)|0}i:{if(!l){break i}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break i}j=q[e+24>>2];l=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break i}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];pb(a,b,d+32|0,d+16|0,d);c=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=c;c=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=c;c=h|4;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j=q[a+32>>2];j:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];k:{if(!l){break k}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break k}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}i=v[e>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;v[d+32>>3]=i+v[d+32>>3];c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=h|5;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break l}e=q[a+36>>2]+(c<<5)|0}m:{if(!l){break m}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break m}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break m}q[e+20>>2]=0}c=h|6;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break n}g=q[a+36>>2]+(c<<5)|0}o:{if(!l){break o}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break o}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break o}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[e>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=h|7;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}p:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break p}e=q[a+36>>2]+(c<<5)|0}q:{if(!l){break q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break q}k=q[e+24>>2];m=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break q}q[e+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[e>>3];c=q[a+24>>2];if(!(c-h>>>0>15|!(c&1))){if(c>>>0<=f>>>0){o[a+20|0]=1}r:{if(j>>>0<=f>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break r}h=q[a+36>>2]+(f<<5)|0}s:{if(!l){break s}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break s}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break s}q[h+20>>2]=0}v[d>>3]=v[d>>3]+v[h>>3]}pb(a,b,d+32|0,d+16|0,d);e=f+8|0;c=q[a+24>>2];if(e>>>0<=c>>>0){continue}break}break a}f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(!c){o[a+20|0]=1}f=q[a+32>>2];t:{if(!f){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break t}h=q[a+36>>2]}l=r[a+176|0];u:{if(!l){break u}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break u}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break u}q[h+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[h>>3];h=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=h;h=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=h;if(t[a+24>>2]<=1){o[a+20|0]=1}v:{if(f>>>0<=1){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break v}h=q[a+36>>2]+32|0}w:{if(!l){break w}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break w}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break w}q[h+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}x:{if(f>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break x}e=q[a+36>>2]- -64|0}y:{if(!l){break y}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break y}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break y}q[e+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[h>>3];v[d+24>>3]=v[d+24>>3]+v[e>>3];h=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=h;h=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=h;if(t[a+24>>2]<=3){o[a+20|0]=1}z:{if(f>>>0<=3){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break z}h=q[a+36>>2]+96|0}A:{if(!l){break A}e=q[h+20>>2];if(!e|(e|0)!=q[a+168>>2]){break A}g=q[h+24>>2];j=q[a+172>>2];i=v[h>>3];c=0;while(1){i=i+v[g+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((e|0)!=(c|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=i;if(q[h+16>>2]<0){break A}q[h+20>>2]=0}v[d>>3]=v[d>>3]+v[h>>3];c=12;h=4;e=q[a+24>>2];if(e>>>0>=12){while(1){e=h;h=c;pb(a,b,d+32|0,d+16|0,d);f=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=f;f=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=f;if(t[a+24>>2]<=e>>>0){o[a+20|0]=1}j=q[a+32>>2];B:{if(j>>>0<=e>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break B}f=q[a+36>>2]+(e<<5)|0}l=r[a+176|0];C:{if(!l){break C}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break C}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break C}q[f+20>>2]=0}i=v[f>>3];f=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=f;v[d+32>>3]=i+v[d+32>>3];f=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=f;f=e|1;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}D:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break D}f=q[a+36>>2]+(f<<5)|0}E:{if(!l){break E}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break E}k=q[f+24>>2];m=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break E}q[f+20>>2]=0}c=e|2;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}F:{if(j>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break F}g=q[a+36>>2]+(c<<5)|0}G:{if(!l){break G}k=q[g+20>>2];if(!k|(k|0)!=q[a+168>>2]){break G}m=q[g+24>>2];n=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break G}q[g+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[f>>3];v[d+24>>3]=v[d+24>>3]+v[g>>3];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;f=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=f;f=e|3;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}H:{if(j>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break H}f=q[a+36>>2]+(f<<5)|0}I:{if(!l){break I}g=q[f+20>>2];if(!g|(g|0)!=q[a+168>>2]){break I}j=q[f+24>>2];l=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break I}q[f+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[f>>3];pb(a,b,d+32|0,d+16|0,d);f=q[d+12>>2];q[d+40>>2]=q[d+8>>2];q[d+44>>2]=f;f=q[d+4>>2];q[d+32>>2]=q[d>>2];q[d+36>>2]=f;c=e+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f=q[a+32>>2];J:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break J}g=q[a+36>>2]+(c<<5)|0}l=r[a+176|0];K:{if(!l){break K}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break K}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break K}q[g+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[g>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=e+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}L:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;g=642976;break L}g=q[a+36>>2]+(c<<5)|0}M:{if(!l){break M}j=q[g+20>>2];if(!j|(j|0)!=q[a+168>>2]){break M}k=q[g+24>>2];m=q[a+172>>2];i=v[g>>3];c=0;while(1){i=i+v[k+(c<<3)>>3]*+u[m+(c<<2)>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=i;if(q[g+16>>2]<0){break M}q[g+20>>2]=0}c=e+6|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}N:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;j=642976;break N}j=q[a+36>>2]+(c<<5)|0}O:{if(!l){break O}k=q[j+20>>2];if(!k|(k|0)!=q[a+168>>2]){break O}m=q[j+24>>2];n=q[a+172>>2];i=v[j>>3];c=0;while(1){i=i+v[m+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((k|0)!=(c|0)){continue}break}q[j+8>>2]=0;q[j+12>>2]=0;v[j>>3]=i;if(q[j+16>>2]<0){break O}q[j+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[g>>3];v[d+24>>3]=v[d+24>>3]+v[j>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=e+7|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}P:{if(f>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break P}e=q[a+36>>2]+(c<<5)|0}Q:{if(!l){break Q}g=q[e+20>>2];if(!g|(g|0)!=q[a+168>>2]){break Q}j=q[e+24>>2];k=q[a+172>>2];i=v[e>>3];c=0;while(1){i=i+v[j+(c<<3)>>3]*+u[k+(c<<2)>>2];c=c+1|0;if((g|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=i;if(q[e+16>>2]<0){break Q}q[e+20>>2]=0}v[d>>3]=v[d>>3]+v[e>>3];c=h+8|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}if(h>>>0>>0){R:{if(f>>>0<=h>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break R}f=q[a+36>>2]+(h<<5)|0}S:{if(!l){break S}h=q[f+20>>2];if(!h|(h|0)!=q[a+168>>2]){break S}e=q[f+24>>2];g=q[a+172>>2];i=v[f>>3];c=0;while(1){i=i+v[e+(c<<3)>>3]*+u[g+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=i;if(q[f+16>>2]<0){break S}q[f+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[f>>3]}pb(a,b,d+32|0,d+16|0,d)}Da=d+48|0}function nK(a,b,c,d){a=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=Da-16|0;Da=k;g=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{e=c-b|0;if(e&1){c=e&-2;if(!c){break q}c=b+c|0}r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{e=r[b+1|0];f=e+ -216|0;if(f>>>0>39){if(e){break s}l=a+72|0;e=r[l+r[b|0]|0];if(e>>>0>10){break s}switch(e-2|0){case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 8:break z;case 7:break A;case 1:break B;case 0:break C;default:break t}}switch(f-4|0){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:break s;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}g=-1;i=b+2|0;e=c-i|0;if((e|0)<2){break a}f=r[b+3|0];h=f+ -216|0;if(h>>>0<=39){break p}if(f){break e}h=r[b+2|0];j=r[l+h|0]+ -5|0;if(j>>>0>24){break c}D:{switch(j-1|0){case 0:g=-2;if((e|0)>=3){break c}break a;case 10:e=b+4|0;if((c-e|0)<2){break a}E:{if(r[b+5|0]){break E}f=r[r[b+4|0]+l|0]+ -20|0;if(f>>>0>7){break E}F:{switch(f-1|0){case 6:g=oq(a,b+6|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break E;default:break F}}e=b+6|0;if((c-e|0)<12){break a}if(r[b+7|0]|r[b+6|0]!=67){break g}e=b+8|0;if(r[b+9|0]|r[b+8|0]!=68){break g}e=b+10|0;if(r[b+11|0]|r[b+10|0]!=65){break g}e=b+12|0;if(r[b+13|0]|r[b+12|0]!=84){break g}e=b+14|0;if(r[b+15|0]|r[b+14|0]!=65){break g}e=b+16|0;if(r[b+17|0]|r[b+16|0]!=91){break g}q[d>>2]=b+18;g=8;break a}q[d>>2]=e;g=0;break a;case 9:g=nq(a,b+4|0,c,d);break a;case 16:case 18:break b;case 11:break D;case 23:break d;case 1:break f;default:break c}}e=b+4|0;a=c-e|0;if((a|0)<2){break a}h=r[b+5|0];f=h+ -216|0;if(f>>>0<=39){break o}if(h){break k}f=r[e|0];i=r[l+f|0]+ -5|0;if(i>>>0>24){break i}G:{switch(i-1|0){case 23:break j;case 1:break l;case 0:break G;case 16:case 18:break h;default:break i}}g=-2;if((a|0)>=3){break i}break a}g=gi(a,b+2|0,c,d);break a}g=-3;a=b+2|0;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+l|0]==10?b+4|0:a}q[d>>2]=a;g=7;break a}q[d>>2]=b+2;g=7;break a}g=-5;e=b+2|0;if((c-e|0)<2){break a}if(r[b+3|0]|r[e|0]!=93){break r}f=b+4|0;if((c-f|0)<2){break a}if(r[b+5|0]|r[b+4|0]!=62){break r}q[d>>2]=f;g=0;break a}g=-2;if((c-b|0)<2){break a}e=b+2|0;break r}g=-2;if((c-b|0)<3){break a}e=b+3|0;break r}g=-2;if((c-b|0)<4){break a}e=b+4|0;break r}if(r[b|0]<=253){break s}}q[d>>2]=b;g=0;break a}e=b+2|0}g=c-e|0;H:{if((g|0)<2){break H}h=a+72|0;while(1){f=c;I:{J:{K:{L:{M:{N:{a=r[e+1|0];b=a+ -216|0;if(b>>>0>39){if(a){break J}a=r[h+r[e|0]|0];if(a>>>0>10){break J}switch(a-4|0){case 1:break J;case 0:break L;case 3:break M;case 2:break N;default:break H}}switch(b-4|0){case 0:case 1:case 2:case 3:break H;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:break J;case 35:break K;default:break M}}if((g|0)<=2){break H}a=e+3|0;break I}if((g|0)<=3){break H}a=e+4|0;break I}if((g|0)<4){break H}b=e+2|0;a=b;if(r[e+3|0]){break I}a=b;if(r[b|0]!=93){break I}if((g|0)<6){break H}if(r[e+5|0]){break I}if(r[e+4|0]!=62){break I}q[d>>2]=e+4;g=0;break a}if(r[e|0]>253){break H}}a=e+2|0}e=a;g=f-e|0;if((g|0)>1){continue}break}}q[d>>2]=e;g=6;break a}g=-1;break a}switch(h-4|0){case 35:break n;case 0:case 1:case 2:case 3:break c;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:break e;default:break f}}switch(f-4|0){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:break k;case 35:break m;case 0:case 1:case 2:case 3:break i;default:break l}}h=r[b+2|0];if(h>>>0<=253){break d}break c}f=r[e|0];if(f>>>0<=253){break j}break i}g=-2;if((a|0)>=4){break i}break a}f=r[e|0]}if(q[(f>>>3&28|r[h+492528|0]<<5)+490512>>2]>>>(f&31)&1){break h}}q[d>>2]=e;g=0;break a}b=b+6|0;h=c-b|0;if((h|0)<=1){break a}while(1){O:{P:{Q:{R:{S:{f=r[e+3|0];a=f+ -216|0;if(a>>>0>39){if(f){break R}a=r[b|0];i=r[l+a|0];if(i+ -22>>>0<6){break O}i=i+ -5|0;if(i>>>0>24){break P}T:{switch(i-1|0){case 0:g=-2;if((h|0)>=3){break P}break a;case 3:case 4:case 15:e=e+4|0;if((c-e|0)<2){break a}while(1){U:{V:{if(r[e+1|0]){break V}a=r[r[e|0]+l|0]+ -9|0;if(a>>>0>12){break V}W:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break V;case 0:break W;default:break U}}q[d>>2]=e+2;g=5;break a}q[d>>2]=e;g=0;break a}e=e+2|0;if((c-e|0)>1){continue}break}break a;case 23:break Q;case 1:break S;case 5:break T;default:break P}}q[d>>2]=e+4;g=5;break a}X:{switch(a-4|0){case 0:case 1:case 2:case 3:break P;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:break R;case 35:break X;default:break S}}a=r[b|0];if(a>>>0<=253){break Q}break P}g=-2;if((h|0)>=4){break P}break a}a=r[b|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break O}}q[d>>2]=b;g=0;break a}e=b;b=b+2|0;h=c-b|0;if((h|0)>1){continue}break}break a}q[d>>2]=e;g=0;break a}g=-2;if((e|0)>=4){break c}break a}h=r[b+2|0]}if(q[(h>>>3&28|r[f+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=i;g=0;break a}e=b+4|0;j=c-e|0;if((j|0)<=1){break a}i=0;while(1){Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{f=r[e+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break $}b=r[e|0];m=r[l+b|0]+ -5|0;if(m>>>0>24){break Z}h=2;ka:{la:{ma:{switch(m-1|0){case 0:g=-2;if((j|0)>=3){break Z}break a;case 17:if(i){break Z}m=e+2|0;f=c-m|0;if((f|0)<2){break a}j=r[e+3|0];b=j+ -216|0;if(b>>>0<=39){break ja}if(j){break da}b=r[e+2|0];n=r[l+b|0]+ -5|0;if(n>>>0>24){break ba}i=1;h=4;na:{switch(n-1|0){case 16:case 18:break Y;case 23:break ca;case 1:break ea;case 0:break na;default:break ba}}g=-2;if((f|0)>=3){break ba}break a;case 16:case 18:case 19:case 20:case 21:break Y;case 23:break _;case 1:break aa;case 11:break ka;case 5:break la;case 3:case 4:case 15:break ma;default:break Z}}b=e+2|0;h=c-b|0;if((h|0)<2){break a}f=e;while(1){oa:{e=b;pa:{qa:{ra:{sa:{b=r[f+3|0];if(b){g=b+ -216|0;if(g>>>0>39){break sa}switch(g-4|0){case 0:case 1:case 2:case 3:break Z;case 35:break oa;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:break sa;default:break qa}}i=r[e|0];j=r[l+i|0]+ -5|0;if(j>>>0>24){break Z}switch(j-1|0){case 16:case 18:break ga;case 23:break ha;case 11:break ka;case 5:break la;case 3:case 4:case 15:break pa;case 1:break qa;case 0:break ra;default:break Z}}i=r[e|0];break ha}g=-2;if((h|0)>=3){break Z}break a}g=-2;if((h|0)>=4){break Z}break a}f=e;b=e+2|0;h=c-b|0;if((h|0)>1){continue}break a}break}i=r[e|0];if(i>>>0>253){break Z}break ha}g=2;q[d>>2]=e+2;break a}a=e+2|0;if((c-a|0)<2){break a}if(!(r[e+2|0]==62?!r[e+3|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=e+4;g=4;break a}switch(b-4|0){case 0:case 1:case 2:case 3:break Z;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:break $;case 35:break ia;default:break aa}}switch(b-4|0){case 0:case 1:case 2:case 3:break ba;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:break da;case 35:break fa;default:break ea}}b=r[e|0];if(b>>>0<=253){break _}break Z}if(!(q[(i>>>3&28|r[b+492528|0]<<5)+490512>>2]>>>(i&31)&1)){break Z}}e=f+4|0;q[k+12>>2]=e;g=-1;h=c-e|0;if((h|0)<2){break a}i=0;while(1){ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{f=r[e+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break xa}b=r[e|0];j=r[l+b|0]+ -5|0;if(j>>>0>24){break va}Ia:{Ja:{switch(j-1|0){case 0:g=-2;if((h|0)>=3){break va}break a;case 17:if(i){break va}b=e+2|0;q[k+12>>2]=b;h=c-b|0;if((h|0)<2){break a}i=r[e+3|0];f=i+ -216|0;if(f>>>0<=39){break Ha}if(i){break Ca}f=r[b|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break Aa}Ka:{switch(j-1|0){case 16:case 18:break za;case 23:break Ba;case 1:break Da;case 0:break Ka;default:break Aa}}g=-2;if((h|0)>=3){break Aa}break a;case 23:break wa;case 1:break ya;case 8:break Ia;case 3:case 4:case 15:break Ja;case 16:case 18:case 19:case 20:case 21:break ua;default:break va}}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}La:{if(r[e+3|0]){break La}e=b;while(1){f=r[r[e|0]+l|0]+ -9|0;if(f>>>0>12){break La}Ma:{switch(f-2|0){case 3:break Ia;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break La;default:break Ma}}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<=1){break a}f=r[e+3|0];e=b;if(!f){continue}break}}q[d>>2]=b;g=0;break a}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}Na:{if(r[e+3|0]){break Na}f=r[r[b|0]+l|0];if((f|1)==13){break Fa}while(1){e=b;f=f&255;if(f>>>0>21|!(1<>2]=b;if((c-b|0)<=1){break a}if(r[e+3|0]){break Na}f=r[r[b|0]+l|0];if((f|1)!=13){continue}break}break Fa}q[d>>2]=b;g=0;break a}switch(b-4|0){case 0:case 1:case 2:case 3:break va;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:break xa;case 35:break Ga;default:break ya}}switch(f-4|0){case 0:case 1:case 2:case 3:break Aa;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:break Ca;case 35:break Ea;default:break Da}}b=r[e|0];if(b>>>0<=253){break wa}break va}e=e+4|0;q[k+12>>2]=e;h=c-e|0;if((h|0)<2){break a}i=f&255;while(1){Oa:{Pa:{b=r[e+1|0];f=b+ -216|0;Qa:{if(f>>>0>39){if(b){break Qa}b=r[r[e|0]+l|0];break Oa}b=7;Ra:{switch(f-4|0){case 0:case 1:case 2:case 3:break Pa;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:break Qa;case 35:break Ra;default:break Oa}}b=0;if(r[e|0]>253){break Oa}}b=29;break Oa}b=8}if((b|0)!=(i|0)){f=k;Sa:{Ta:{Ua:{if(b>>>0>8){break Ua}Va:{switch(b-3|0){case 3:if((h|0)<3){g=-2;break a}e=e+3|0;break Ta;case 4:if((h|0)<4){g=-2;break a}e=e+4|0;break Ta;case 0:b=gi(a,e+2|0,c,k+12|0);if((b|0)>=1){e=q[k+12>>2];break Sa}g=b;if(b){break a}q[d>>2]=q[k+12>>2];g=0;break a;case 1:case 2:break Ua;default:break Va}}q[d>>2]=e;g=0;break a}e=e+2|0}q[f+12>>2]=e}h=c-e|0;if((h|0)>1){continue}break a}break}b=e+2|0;q[k+12>>2]=b;if((c-b|0)<2){break a}Wa:{if(r[e+3|0]){break Wa}f=r[r[b|0]+l|0]+ -9|0;if(f>>>0>12){break Wa}Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{switch(f-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Wa;case 6:break $a;case 0:break ab;default:break bb}}e=e+4|0;q[k+12>>2]=e;f=b;j=c-e|0;if((j|0)<2){break a}while(1){b=e;cb:{db:{eb:{fb:{e=r[f+3|0];if(e){h=e+ -216|0;if(h>>>0>39){break fb}switch(h-4|0){case 0:case 1:case 2:case 3:break Za;case 35:break _a;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:break fb;default:break db}}i=r[b|0];h=r[l+i|0]+ -5|0;if(h>>>0>24){break Za}switch(h-1|0){case 16:case 18:break Xa;case 23:break Ya;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:break Za;case 11:break $a;case 5:break ab;case 3:case 4:case 15:break cb;case 1:break db;case 0:break eb;default:break Wa}}i=r[b|0];break Ya}g=-2;if((j|0)>=3){break Wa}break a}g=-2;if((j|0)<4){break a}break Wa}e=b+2|0;q[k+12>>2]=e;f=b;j=c-e|0;if((j|0)>1){continue}break}break a}q[d>>2]=b+2;g=1;break a}a=b+2|0;q[k+12>>2]=a;if((c-a|0)<2){break a}if(!(r[a|0]==62?!r[b+3|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=b+4;g=3;break a}i=r[b|0];if(i>>>0<=253){break Ya}}q[d>>2]=b;g=0;break a}if(!(q[(i>>>3&28|r[e+492528|0]<<5)+490512>>2]>>>(i&31)&1)){break Wa}}e=f+4|0;q[k+12>>2]=e;i=0;break ta}q[d>>2]=b;g=0;break a}f=r[b|0];if(f>>>0<=253){break Ba}break Aa}g=-2;if((h|0)>=4){break Aa}break a}f=r[b|0]}if(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1){break za}}q[d>>2]=b;g=0;break a}e=e+4|0;q[k+12>>2]=e;i=1;break ta}g=-2;if((h|0)>=4){break va}break a}b=r[e|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break ua}}q[d>>2]=e;g=0;break a}e=e+2|0;q[k+12>>2]=e}h=c-e|0;if((h|0)>1){continue}break}break a}b=r[e+2|0];if(b>>>0<=253){break ca}break ba}g=-2;if((f|0)>=4){break ba}break a}b=r[e+2|0]}i=1;h=4;if(q[(b>>>3&28|r[j+492528|0]<<5)+490512>>2]>>>(b&31)&1){break Y}}q[d>>2]=m;g=0;break a}g=-2;if((j|0)>=4){break Z}break a}b=r[e|0]}h=2;if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break Y}}q[d>>2]=e;g=0;break a}e=e+h|0;j=c-e|0;if((j|0)>1){continue}break}}Da=k+16|0;return g|0}function WJ(a,b,c,d){a=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=Da-16|0;Da=k;g=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{e=r[b|0];f=e+ -216|0;if(f>>>0>39){if(e){break u}l=a+72|0;e=r[l+r[b+1|0]|0];if(e>>>0>10){break u}switch(e-2|0){case 5:break x;case 4:break y;case 3:break z;case 2:break A;case 8:break B;case 7:break C;case 1:break D;case 0:break E;default:break v}}switch(f-4|0){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:break u;case 0:case 1:case 2:case 3:break v;case 35:break w;default:break x}}g=-1;i=b+2|0;e=c-i|0;if((e|0)<2){break a}f=r[b+2|0];h=f+ -216|0;if(h>>>0<=39){break r}if(f){break e}h=r[b+3|0];j=r[l+h|0]+ -5|0;if(j>>>0>24){break c}F:{switch(j-1|0){case 0:g=-2;if((e|0)>=3){break c}break a;case 10:e=b+4|0;if((c-e|0)<2){break a}G:{if(r[b+4|0]){break G}f=r[r[b+5|0]+l|0]+ -20|0;if(f>>>0>7){break G}H:{switch(f-1|0){case 6:g=kq(a,b+6|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break G;default:break H}}e=b+6|0;if((c-e|0)<12){break a}if(r[b+6|0]|r[b+7|0]!=67){break g}e=b+8|0;if(r[b+8|0]|r[b+9|0]!=68){break g}e=b+10|0;if(r[b+10|0]|r[b+11|0]!=65){break g}e=b+12|0;if(r[b+12|0]|r[b+13|0]!=84){break g}e=b+14|0;if(r[b+14|0]|r[b+15|0]!=65){break g}e=b+16|0;if(r[b+16|0]|r[b+17|0]!=91){break g}q[d>>2]=b+18;g=8;break a}q[d>>2]=e;g=0;break a;case 9:g=jq(a,b+4|0,c,d);break a;case 16:case 18:break b;case 11:break F;case 23:break d;case 1:break f;default:break c}}e=b+4|0;a=c-e|0;if((a|0)<2){break a}h=r[e|0];f=h+ -216|0;if(f>>>0<=39){break q}if(h){break k}f=r[b+5|0];i=r[l+f|0]+ -5|0;if(i>>>0>24){break i}I:{switch(i-1|0){case 23:break j;case 1:break l;case 0:break I;case 16:case 18:break h;default:break i}}g=-2;if((a|0)>=3){break i}break a}g=fi(a,b+2|0,c,d);break a}g=-3;a=b+2|0;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+l|0]==10?b+4|0:a}q[d>>2]=a;g=7;break a}q[d>>2]=b+2;g=7;break a}g=-5;e=b+2|0;if((c-e|0)<2){break a}if(r[e|0]|r[b+3|0]!=93){break t}f=b+4|0;if((c-f|0)<2){break a}if(r[b+4|0]|r[b+5|0]!=62){break t}q[d>>2]=f;g=0;break a}g=-2;if((c-b|0)<2){break a}e=b+2|0;break t}g=-2;if((c-b|0)<3){break a}e=b+3|0;break t}g=-2;if((c-b|0)<4){break a}e=b+4|0;break t}if(r[b+1|0]<=253){break u}}q[d>>2]=b;g=0;break a}e=b+2|0}g=c-e|0;if((g|0)>=2){b=a+72|0;while(1){a=e;J:{K:{L:{M:{N:{O:{e=r[e|0];f=e+ -216|0;if(f>>>0>39){if(e){break K}e=r[b+r[a+1|0]|0];if(e>>>0>10){break K}switch(e-4|0){case 1:break K;case 0:break M;case 3:break N;case 2:break O;default:break p}}switch(f-4|0){case 0:case 1:case 2:case 3:break p;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:break K;case 35:break L;default:break N}}if((g|0)<=2){break p}e=a+3|0;break J}if((g|0)<=3){break p}e=a+4|0;break J}if((g|0)<4){break p}e=a+2|0;if(r[a+2|0]|r[a+3|0]!=93){break J}if((g|0)<6){break p}if(r[a+4|0]|r[a+5|0]!=62){break J}q[d>>2]=a+4;g=0;break a}if(r[a+1|0]>253){break p}}e=a+2|0}g=c-e|0;if((g|0)>1){continue}break}}q[d>>2]=e;break o}g=-1;break a}switch(h-4|0){case 35:break n;case 0:case 1:case 2:case 3:break c;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:break e;default:break f}}switch(f-4|0){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:break k;case 35:break m;case 0:case 1:case 2:case 3:break i;default:break l}}q[d>>2]=a}g=6;break a}h=r[b+3|0];if(h>>>0<=253){break d}break c}f=r[b+5|0];if(f>>>0<=253){break j}break i}g=-2;if((a|0)>=4){break i}break a}f=r[b+5|0]}if(q[(f>>>3&28|r[h+492528|0]<<5)+490512>>2]>>>(f&31)&1){break h}}q[d>>2]=e;g=0;break a}b=b+6|0;h=c-b|0;if((h|0)<=1){break a}while(1){P:{Q:{R:{S:{T:{f=r[b|0];a=f+ -216|0;if(a>>>0>39){if(f){break S}a=r[e+3|0];i=r[l+a|0];if(i+ -22>>>0<6){break P}i=i+ -5|0;if(i>>>0>24){break Q}U:{switch(i-1|0){case 0:g=-2;if((h|0)>=3){break Q}break a;case 3:case 4:case 15:b=e+4|0;if((c-b|0)<2){break a}while(1){V:{W:{if(r[b|0]){break W}a=r[r[b+1|0]+l|0]+ -9|0;if(a>>>0>12){break W}X:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break W;case 0:break X;default:break V}}q[d>>2]=b+2;g=5;break a}q[d>>2]=b;g=0;break a}b=b+2|0;if((c-b|0)>1){continue}break}break a;case 23:break R;case 1:break T;case 5:break U;default:break Q}}q[d>>2]=e+4;g=5;break a}Y:{switch(a-4|0){case 0:case 1:case 2:case 3:break Q;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:break S;case 35:break Y;default:break T}}a=r[e+3|0];if(a>>>0<=253){break R}break Q}g=-2;if((h|0)>=4){break Q}break a}a=r[e+3|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break P}}q[d>>2]=b;g=0;break a}e=b;b=b+2|0;h=c-b|0;if((h|0)>1){continue}break}break a}q[d>>2]=e;g=0;break a}g=-2;if((e|0)>=4){break c}break a}h=r[b+3|0]}if(q[(h>>>3&28|r[f+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=i;g=0;break a}b=b+4|0;i=c-b|0;if((i|0)<=1){break a}j=0;while(1){Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b|0];e=f+ -216|0;if(e>>>0>39){if(f){break aa}e=r[b+1|0];m=r[l+e|0]+ -5|0;if(m>>>0>24){break _}h=2;la:{ma:{na:{switch(m-1|0){case 0:g=-2;if((i|0)>=3){break _}break a;case 17:if(j){break _}m=b+2|0;f=c-m|0;if((f|0)<2){break a}i=r[b+2|0];e=i+ -216|0;if(e>>>0<=39){break ka}if(i){break ea}e=r[b+3|0];n=r[l+e|0]+ -5|0;if(n>>>0>24){break ca}j=1;h=4;oa:{switch(n-1|0){case 16:case 18:break Z;case 23:break da;case 1:break fa;case 0:break oa;default:break ca}}g=-2;if((f|0)>=3){break ca}break a;case 16:case 18:case 19:case 20:case 21:break Z;case 23:break $;case 1:break ba;case 11:break la;case 5:break ma;case 3:case 4:case 15:break na;default:break _}}f=b+2|0;h=c-f|0;if((h|0)<2){break a}e=b;while(1){pa:{b=f;qa:{ra:{sa:{ta:{i=r[e+2|0];if(i){f=i+ -216|0;if(f>>>0>39){break ta}switch(f-4|0){case 0:case 1:case 2:case 3:break _;case 35:break pa;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:break ta;default:break ra}}f=r[e+3|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break _}switch(j-1|0){case 16:case 18:break ha;case 23:break ia;case 11:break la;case 5:break ma;case 3:case 4:case 15:break qa;case 1:break ra;case 0:break sa;default:break _}}f=r[e+3|0];break ia}g=-2;if((h|0)>=3){break _}break a}g=-2;if((h|0)>=4){break _}break a}e=b;f=b+2|0;h=c-f|0;if((h|0)>1){continue}break a}break}f=r[e+3|0];if(f>>>0>253){break _}break ia}g=2;q[d>>2]=b+2;break a}a=b+2|0;if((c-a|0)<2){break a}if(!(r[b+3|0]==62?!r[b+2|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=b+4;g=4;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break _;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:break aa;case 35:break ja;default:break ba}}switch(e-4|0){case 0:case 1:case 2:case 3:break ca;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:break ea;case 35:break ga;default:break fa}}e=r[b+1|0];if(e>>>0<=253){break $}break _}if(!(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1)){break _}}b=e+4|0;q[k+12>>2]=b;h=c-b|0;if((h|0)<2){break a}f=0;while(1){ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{i=r[b|0];e=i+ -216|0;if(e>>>0>39){if(i){break ya}e=r[b+1|0];j=r[l+e|0]+ -5|0;if(j>>>0>24){break wa}Ja:{Ka:{La:{switch(j-1|0){case 0:g=-2;if((h|0)>=3){break wa}break a;case 17:if(f){break wa}e=b+2|0;q[k+12>>2]=e;h=c-e|0;if((h|0)<2){break a}i=r[e|0];f=i+ -216|0;if(f>>>0<=39){break Ja}if(i){break Da}f=r[b+3|0];j=r[l+f|0]+ -5|0;if(j>>>0>24){break Ba}Ma:{switch(j-1|0){case 16:case 18:break Aa;case 23:break Ca;case 1:break Ea;case 0:break Ma;default:break Ba}}g=-2;if((h|0)>=3){break Ba}break a;case 16:case 18:case 19:case 20:case 21:break va;case 23:break xa;case 1:break za;case 8:break Ka;case 3:case 4:case 15:break La;default:break wa}}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<2){break a}Na:{if(r[e|0]){break Na}f=b;b=e;while(1){f=r[r[f+3|0]+l|0]+ -9|0;if(f>>>0>12){break Na}Oa:{switch(f-2|0){case 3:break Ka;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break Na;default:break Oa}}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<=1){break a}f=b;b=e;if(!r[b|0]){continue}break}}q[d>>2]=e;g=0;break a}f=b+2|0;q[k+12>>2]=f;if((c-f|0)<2){break a}Pa:{Qa:{if(!r[f|0]){e=f;while(1){h=r[r[b+3|0]+l|0];if((h|1)==13){break Pa}if(!(1<>>0>21){break Qa}e=f+2|0;q[k+12>>2]=e;if((c-e|0)<=1){break a}b=f;f=e;if(!r[e|0]){continue}break}break Qa}e=f}q[d>>2]=e;g=0;break a}b=b+4|0;q[k+12>>2]=b;i=c-b|0;if((i|0)<2){break a}while(1){Ra:{Sa:{e=r[b|0];f=e+ -216|0;Ta:{if(f>>>0>39){if(e){break Ta}e=r[r[b+1|0]+l|0];break Ra}e=7;Ua:{switch(f-4|0){case 0:case 1:case 2:case 3:break Sa;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:break Ta;case 35:break Ua;default:break Ra}}e=0;if(r[b+1|0]>253){break Ra}}e=29;break Ra}e=8}if((e|0)!=(h|0)){f=k;Va:{Wa:{Xa:{if(e>>>0>8){break Xa}Ya:{switch(e-3|0){case 3:if((i|0)<3){g=-2;break a}b=b+3|0;break Wa;case 4:if((i|0)<4){g=-2;break a}b=b+4|0;break Wa;case 0:b=fi(a,b+2|0,c,k+12|0);if((b|0)>=1){b=q[k+12>>2];break Va}g=b;if(b){break a}q[d>>2]=q[k+12>>2];g=0;break a;case 1:case 2:break Xa;default:break Ya}}q[d>>2]=b;g=0;break a}b=b+2|0}q[f+12>>2]=b}i=c-b|0;if((i|0)>1){continue}break a}break}e=b+2|0;q[k+12>>2]=e;if((c-e|0)<2){break a}if(r[e|0]){break Ga}f=r[r[b+3|0]+l|0]+ -9|0;if(f>>>0>12){break Ga}Za:{_a:{$a:{ab:{bb:{switch(f-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break Ga;case 6:break $a;case 0:break ab;default:break bb}}b=b+4|0;q[k+12>>2]=b;f=e;i=c-b|0;if((i|0)<2){break a}while(1){e=b;cb:{db:{eb:{fb:{b=r[b|0];if(b){h=b+ -216|0;if(h>>>0>39){break fb}switch(h-4|0){case 0:case 1:case 2:case 3:break Za;case 35:break _a;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:break fb;default:break db}}j=r[f+3|0];h=r[j+l|0]+ -5|0;if(h>>>0>24){break Za}switch(h-1|0){case 16:case 18:break Ha;case 23:break Ia;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:break Za;case 11:break $a;case 5:break ab;case 3:case 4:case 15:break cb;case 1:break db;case 0:break eb;default:break Ga}}j=r[f+3|0];break Ia}g=-2;if((i|0)>=3){break Ga}break a}g=-2;if((i|0)<4){break a}break Ga}b=e+2|0;q[k+12>>2]=b;f=e;i=c-b|0;if((i|0)>1){continue}break}break a}q[d>>2]=e+2;g=1;break a}a=e+2|0;q[k+12>>2]=a;if((c-a|0)<2){break a}if(!(r[e+3|0]==62?!r[a|0]:0)){q[d>>2]=a;g=0;break a}q[d>>2]=e+4;g=3;break a}j=r[f+3|0];if(j>>>0<=253){break Ia}}q[d>>2]=e;g=0;break a}switch(f-4|0){case 0:case 1:case 2:case 3:break Ba;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:break Da;case 35:break Fa;default:break Ea}}gb:{switch(e-4|0){case 0:case 1:case 2:case 3:break wa;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:break ya;case 35:break gb;default:break za}}e=r[b+1|0];if(e>>>0<=253){break xa}break wa}if(!(q[(j>>>3&28|r[b+492528|0]<<5)+490512>>2]>>>(j&31)&1)){break Ga}}b=f+4|0;q[k+12>>2]=b;f=0;break ua}q[d>>2]=e;g=0;break a}f=r[b+3|0];if(f>>>0<=253){break Ca}break Ba}g=-2;if((h|0)>=4){break Ba}break a}f=r[b+3|0]}if(q[(f>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(f&31)&1){break Aa}}q[d>>2]=e;g=0;break a}b=b+4|0;q[k+12>>2]=b;f=1;break ua}g=-2;if((h|0)>=4){break wa}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[i+492784|0]<<5)+490512>>2]>>>(e&31)&1){break va}}q[d>>2]=b;g=0;break a}b=b+2|0;q[k+12>>2]=b}h=c-b|0;if((h|0)>1){continue}break}break a}e=r[b+3|0];if(e>>>0<=253){break da}break ca}g=-2;if((f|0)>=4){break ca}break a}e=r[b+3|0]}j=1;h=4;if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break Z}}q[d>>2]=m;g=0;break a}g=-2;if((i|0)>=4){break _}break a}e=r[b+1|0]}h=2;if(q[(e>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(e&31)&1){break Z}}q[d>>2]=b;g=0;break a}b=b+h|0;i=c-b|0;if((i|0)>1){continue}break}}Da=k+16|0;return g|0}function We(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;h=Da-48|0;Da=h;q[h+36>>2]=d;w=q[a+352>>2];a:{if(q[a+144>>2]==(c|0)){y=a+284|0;i=a+288|0;break a}y=q[a+296>>2];i=y+4|0}B=i;q[y>>2]=d;C=w+92|0;D=w+80|0;s=a+424|0;v=a+412|0;u=a+288|0;m=a+284|0;b:{c:{d:{while(1){d=q[h+36>>2];q[h+32>>2]=d;i=n[q[c+4>>2]](c,d,e,h+32|0)|0;d=q[h+32>>2];q[B>>2]=d;e:{f:{g:{h:{i=i+5|0;if(i>>>0<=18){j=17;i:{switch(i-1|0){case 1:if(g){q[f>>2]=q[h+36>>2];j=0;break b}q[B>>2]=e;d=q[a+60>>2];j:{if(d){o[h|0]=10;n[d](q[a+4>>2],h,1);break j}g=q[a+80>>2];if(!g){break j}d=q[h+36>>2];q[h>>2]=d;if(!r[c+68|0]){if(q[a+144>>2]!=(c|0)){m=q[a+296>>2];u=m+4|0}while(1){q[h+44>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h,e,h+44|0,q[a+48>>2])|0;q[u>>2]=q[h>>2];g=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],g,q[h+44>>2]-g|0);q[m>>2]=q[h>>2];if(d>>>0>1){continue}break}break j}n[g](q[a+4>>2],d,e-d|0)}if(!b){j=3;break b}j=13;if(q[a+308>>2]!=(b|0)){break b}break c;case 0:if(g){q[f>>2]=q[h+36>>2];j=0;break b}if((b|0)<1){j=3;break b}j=13;if(q[a+308>>2]!=(b|0)){break b}q[f>>2]=q[h+36>>2];j=0;break b;case 3:if(!g){j=5;break b}q[f>>2]=q[h+36>>2];j=0;break b;case 2:if(!g){j=6;break b}q[f>>2]=q[h+36>>2];j=0;break b;case 13:i=q[c+64>>2];d=n[q[c+44>>2]](c,i+q[h+36>>2]|0,d-i|0)|0;o[h+40|0]=d;if(d&255){d=q[a+60>>2];if(d){n[d](q[a+4>>2],h+40|0,1);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}d=q[h+32>>2];i=q[c+64>>2];q[h>>2]=i+q[h+36>>2];k:{l:{if(!q[C>>2]){if(!Ya(D)){break l}}d=d-i|0;while(1){if(n[q[c+56>>2]](c,h,d,C,q[w+88>>2])>>>0<2){break k}if(Ya(D)){continue}break}}j=1;break b}j=1;if(!q[w+96>>2]){break b}d=q[w+92>>2];if((d|0)==q[w+88>>2]){if(!Ya(D)){break b}d=q[C>>2]}q[w+92>>2]=d+1;o[d|0]=0;d=q[w+96>>2];if(!d){break b}l=ic(a,w,d,0);q[w+92>>2]=q[w+96>>2];m:{if(!(r[w+130|0]?0:r[w+129|0])){if(!l){j=11;break b}if(r[l+34|0]){break m}j=24;break b}if(l){break m}i=q[a+120>>2];if(i){n[i](q[a+4>>2],d,0);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}if(r[l+32|0]){j=12;break b}if(q[l+28>>2]){j=15;break b}n:{if(q[l+4>>2]){if(r[a+304|0]){break n}d=q[a+120>>2];if(d){n[d](q[a+4>>2],q[l>>2],0);break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}o:{if(q[a+112>>2]){o[l+32|0]=1;x=q[a+352>>2];p:{if(!q[x+156>>2]){p=0;break p}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}p=1;q[a+424>>2]=d+1;o[d|0]=61;k=0;i=q[q[x+156>>2]+20>>2]-(r[a+468|0]!=0)|0;if((i|0)<1){break p}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}z=r[q[q[x+156>>2]+16>>2]+k|0];q[s>>2]=d+1;o[d|0]=z;k=k+1|0;if((i|0)!=(k|0)){continue}break}}d=q[x+60>>2];E=d+(q[x+68>>2]<<2)|0;while(1){if((d|0)!=(E|0)){z=q[d>>2];i=d+4|0;d=i;if(!z){continue}d=i;if(!q[z+4>>2]){continue}if(p&255){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[s>>2]=d+1;o[d|0]=12}d=q[a+424>>2];A=(d|0)==q[a+420>>2];p=q[z>>2];k=r[p|0];if(k){while(1){if(A){if(!Ya(v)){break o}k=r[p|0];d=q[s>>2]}q[a+424>>2]=d+1;o[d|0]=k;d=q[a+424>>2];A=(d|0)==q[a+420>>2];k=r[p+1|0];p=p+1|0;if(k){continue}break}}if(A){if(!Ya(v)){break o}d=q[s>>2]}p=1;q[a+424>>2]=d+1;o[d|0]=61;k=0;d=i;A=q[q[z+4>>2]+20>>2]-(r[a+468|0]!=0)|0;if((A|0)<1){continue}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}F=r[q[q[z+4>>2]+16>>2]+k|0];q[s>>2]=d+1;o[d|0]=F;k=k+1|0;if((A|0)!=(k|0)){continue}break}d=i;continue}break}d=q[x>>2];z=d+(q[x+8>>2]<<2)|0;while(1){if((d|0)!=(z|0)){k=q[d>>2];i=d+4|0;d=i;if(!k){continue}d=i;if(!r[k+32|0]){continue}if(p&255){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[s>>2]=d+1;o[d|0]=12}p=1;d=i;k=q[k>>2];x=r[k|0];if(!x){continue}while(1){d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}x=r[k|0];d=q[s>>2]}q[s>>2]=d+1;o[d|0]=x;x=r[k+1|0];k=k+1|0;if(x){continue}break}d=i;continue}break}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break o}d=q[s>>2]}q[a+424>>2]=d+1;o[d|0]=0;d=q[a+428>>2];o[l+32|0]=0;if(!d){break b}if(!n[q[a+112>>2]](q[a+116>>2],d,q[l+20>>2],q[l+16>>2],q[l+24>>2])){j=21;break b}q[a+424>>2]=q[a+428>>2];break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}o[l+32|0]=0;break b}j=aq(a,l,0);if(!j){break e}break b;case 5:case 6:d=q[a+364>>2];q:{if(d){q[a+364>>2]=q[d>>2];break q}j=1;d=n[q[a+12>>2]](48)|0;if(!d){break b}i=n[q[a+12>>2]](32)|0;q[d+36>>2]=i;if(!i){n[q[a+20>>2]](d);break b}q[d+40>>2]=i+32}q[d+44>>2]=0;q[d>>2]=q[a+360>>2];q[a+360>>2]=d;q[d+16>>2]=0;q[d+20>>2]=0;i=q[h+36>>2]+q[c+64>>2]|0;q[d+4>>2]=i;G=d,H=n[q[c+28>>2]](c,i)|0,q[G+8>>2]=H;q[a+308>>2]=q[a+308>>2]+1;i=q[d+8>>2];j=q[d+4>>2];q[h>>2]=j;q[h+40>>2]=q[d+36>>2];l=i+j|0;p=n[q[c+56>>2]](c,h,l,h+40|0,q[d+40>>2]+ -1|0)|0;i=q[h+40>>2];k=q[d+36>>2];j=i-k|0;r:{s:{if((p|0)==1|t[h>>2]>=l>>>0){break s}while(1){i=k;k=q[d+40>>2]-k<<1;i=n[q[a+16>>2]](i,k)|0;if(!i){break r}q[d+36>>2]=i;k=i+k|0;q[d+40>>2]=k;q[h+40>>2]=i+j;p=n[q[c+56>>2]](c,h,l,h+40|0,k+ -1|0)|0;i=q[h+40>>2];k=q[d+36>>2];j=i-k|0;if((p|0)==1){break s}if(t[h>>2]>>0){continue}break}}q[d+24>>2]=j;q[d+12>>2]=k;o[i|0]=0;j=_p(a,c,q[h+36>>2],d+12|0,d+44|0);if(j){break b}i=q[a+52>>2];t:{if(i){n[i](q[a+4>>2],q[d+12>>2],q[a+388>>2]);break t}j=q[a+80>>2];if(!j){break t}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break t}n[j](q[a+4>>2],i,d-i|0)}j=q[a+416>>2];u:{if(!j){q[a+416>>2]=q[a+412>>2];break u}d=q[v>>2];if(!d){break u}while(1){i=q[d>>2];q[d>>2]=j;q[a+416>>2]=d;j=d;d=i;if(d){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;break e}j=1;break b;case 7:case 8:d=q[c+64>>2];i=q[h+36>>2];q[h+28>>2]=0;d=d+i|0;i=n[q[c+28>>2]](c,d)|0;q[h+44>>2]=d;if(!q[s>>2]){if(!Ya(v)){break d}}d=d+i|0;while(1){if(n[q[c+56>>2]](c,h+44|0,d,s,q[a+420>>2])>>>0>=2){if(Ya(v)){continue}break d}break}if(!q[a+428>>2]){break d}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(v)){break d}d=q[s>>2]}j=1;q[a+424>>2]=d+1;o[d|0]=0;d=q[a+428>>2];q[h>>2]=d;if(!d){break b}q[a+428>>2]=q[a+424>>2];j=_p(a,c,q[h+36>>2],h,h+28|0);if(j){c=q[h+28>>2];if(!c){break b}while(1){b=q[a+104>>2];if(b){n[b](q[a+4>>2],q[q[c>>2]>>2])}b=q[c+4>>2];q[c+4>>2]=q[a+372>>2];q[a+372>>2]=c;q[q[c>>2]+4>>2]=q[c+8>>2];c=b;if(c){continue}break}break b}q[a+428>>2]=q[a+424>>2];d=q[a+52>>2];if(d){n[d](q[a+4>>2],q[h>>2],q[a+388>>2]);d=q[a+56>>2];if(!d){break f}if(!q[a+52>>2]){break g}q[y>>2]=q[B>>2];d=q[a+56>>2];break g}d=q[a+56>>2];if(d){break g}j=q[a+80>>2];if(!j){break f}d=q[h+32>>2];i=q[h+36>>2];q[h+44>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+40>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h+44|0,d,h+40|0,q[a+48>>2])|0;q[j>>2]=q[h+44>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+40>>2]-l|0);q[i>>2]=q[h+44>>2];if(k>>>0>1){continue}break}break f}n[j](q[a+4>>2],i,d-i|0);break f;case 9:if(q[a+308>>2]==(b|0)){j=13;break b}k=q[a+360>>2];q[a+360>>2]=q[k>>2];q[k>>2]=q[a+364>>2];q[a+364>>2]=k;d=q[h+36>>2]+(q[c+64>>2]<<1)|0;i=n[q[c+28>>2]](c,d)|0;v:{if((i|0)==q[k+8>>2]){if(!Oc(q[k+4>>2],d,i)){break v}}q[y>>2]=d;j=7;break b}q[a+308>>2]=q[a+308>>2]+ -1;d=q[a+56>>2];w:{if(d){j=q[k+16>>2];if(!(!j|!r[a+232|0])){d=q[k+12>>2]+q[k+28>>2]|0;i=r[j|0];if(i){while(1){o[d|0]=i;d=d+1|0;i=r[j+1|0];j=j+1|0;if(i){continue}break}}j=q[k+20>>2];x:{if(!j|!r[a+233|0]){break x}o[d|0]=r[a+468|0];d=d+1|0;i=r[j|0];if(!i){break x}while(1){o[d|0]=i;d=d+1|0;i=r[j+1|0];j=j+1|0;if(i){continue}break}}o[d|0]=0;d=q[a+56>>2]}n[d](q[a+4>>2],q[k+12>>2]);break w}j=q[a+80>>2];if(!j){break w}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){j=m;i=u;if(q[a+144>>2]!=(c|0)){j=q[a+296>>2];i=j+4|0}while(1){q[h+44>>2]=q[a+44>>2];l=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[i>>2]=q[h>>2];p=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],p,q[h+44>>2]-p|0);q[j>>2]=q[h>>2];if(l>>>0>1){continue}break}break w}n[j](q[a+4>>2],i,d-i|0)}while(1){i=q[k+44>>2];if(i){d=i;j=k;l=q[a+104>>2];if(l){n[l](q[a+4>>2],q[q[i>>2]>>2]);d=q[k+44>>2]}q[j+44>>2]=q[d+4>>2];q[i+4>>2]=q[a+372>>2];q[a+372>>2]=i;q[q[i>>2]+4>>2]=q[i+8>>2];continue}break}if(q[a+308>>2]){break e}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(d-1){break e}q[a+276>>2]=971;break e}j=sk(a,q[h+32>>2],e,f);break b;case 14:d=n[q[c+40>>2]](c,q[h+36>>2])|0;if((d|0)<0){j=14;break b}i=q[a+60>>2];if(i){n[i](q[a+4>>2],h,Ak(d,h));break e}j=q[a+80>>2];if(!j){break e}d=q[h+32>>2];i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 11:i=q[a+60>>2];if(i){o[h|0]=10;n[i](q[a+4>>2],h,1);break e}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 12:i=q[a+72>>2];y:{if(i){n[i](q[a+4>>2]);break y}j=q[a+80>>2];if(!j){break y}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break y}n[j](q[a+4>>2],i,d-i|0)}j=Zp(a,c,h+32|0,e,f,g);if(j){break b}if(q[h+32>>2]){break e}q[a+276>>2]=972;j=0;break b;default:if(g){q[f>>2]=q[h+36>>2];j=0;break b}d=q[a+60>>2];z:{if(d){if(!r[c+68|0]){q[h>>2]=q[a+44>>2];n[q[c+56>>2]](c,h+36|0,e,h,q[a+48>>2])|0;c=q[a+44>>2];n[q[a+60>>2]](q[a+4>>2],c,q[h>>2]-c|0);break z}c=q[h+36>>2];n[d](q[a+4>>2],c,e-c|0);break z}g=q[a+80>>2];if(!g){break z}d=q[h+36>>2];q[h>>2]=d;if(!r[c+68|0]){if(q[a+144>>2]!=(c|0)){m=q[a+296>>2];u=m+4|0}while(1){q[h+44>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h,e,h+44|0,q[a+48>>2])|0;q[u>>2]=q[h>>2];g=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],g,q[h+44>>2]-g|0);q[m>>2]=q[h>>2];if(d>>>0>1){continue}break}break z}n[g](q[a+4>>2],d,e-d|0)}if(!b){q[y>>2]=e;j=3;break b}if(q[a+308>>2]==(b|0)){break c}q[y>>2]=e;j=13;break b;case 10:i=q[a+60>>2];if(i){if(!r[c+68|0]){while(1){q[h>>2]=q[a+44>>2];d=n[q[c+56>>2]](c,h+36|0,d,h,q[a+48>>2])|0;q[B>>2]=q[h+36>>2];j=q[a+44>>2];n[i](q[a+4>>2],j,q[h>>2]-j|0);if(d>>>0<2){break e}q[y>>2]=q[h+36>>2];d=q[h+32>>2];continue}}j=q[h+36>>2];n[i](q[a+4>>2],j,d-j|0);break e}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e;case 15:if(uk(a,c,q[h+36>>2],d)){break e}j=1;break b;case 4:break h;case 17:break i;case 16:break b}}if(tk(a,c,q[h+36>>2],d)){break e}j=1;break b}j=q[a+80>>2];if(!j){break e}i=q[h+36>>2];q[h>>2]=i;if(!r[c+68|0]){i=m;j=u;if(q[a+144>>2]!=(c|0)){i=q[a+296>>2];j=i+4|0}while(1){q[h+44>>2]=q[a+44>>2];k=n[q[c+56>>2]](c,h,d,h+44|0,q[a+48>>2])|0;q[j>>2]=q[h>>2];l=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],l,q[h+44>>2]-l|0);q[i>>2]=q[h>>2];if(k>>>0>1){continue}break}break e}n[j](q[a+4>>2],i,d-i|0);break e}q[y>>2]=d;j=4;break b}n[d](q[a+4>>2],q[h>>2])}j=q[a+416>>2];A:{if(!j){q[a+416>>2]=q[a+412>>2];break A}d=q[v>>2];if(!d){break A}while(1){i=q[d>>2];q[d>>2]=j;q[a+416>>2]=d;j=d;d=i;if(d){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;d=q[h+28>>2];if(d){while(1){i=q[a+104>>2];if(i){n[i](q[a+4>>2],q[q[d>>2]>>2])}i=q[d+4>>2];q[d+4>>2]=q[a+372>>2];q[a+372>>2]=d;q[q[d>>2]+4>>2]=q[d+8>>2];d=i;if(d){continue}break}}if(q[a+308>>2]){break e}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(d-1){break e}q[a+276>>2]=971;break e}j=sk(a,q[h+32>>2],e,f);break b}d=q[h+32>>2];q[h+36>>2]=d;q[y>>2]=d;d=q[a+476>>2]+ -2|0;if(d>>>0>1){continue}break}j=35;if(d-1){break b}q[f>>2]=q[h+32>>2];j=0;break b}q[h>>2]=0;j=1;break b}q[f>>2]=e;j=0}Da=h+48|0;return j}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,u=0,v=0,x=0,y=0;f=Da-32|0;Da=f;u=q[b+100>>2];e=Xa(a,0);q[f+28>>2]=e;d=1;a:{b:{c:{d:{e:{f:{g:{if(e){break g}e=mb(a,25552,b+184|0);q[f+28>>2]=e;if(e){break g}d=3;if(q[b+184>>2]!=1885562369){break g}e=q[b+188>>2];if(!e){break g}h=q[a+4>>2];if(h>>>0<16){break g}d=h>>>4|0;if(!(e>>>0<=d>>>0?e>>>0<=9:0)){e=h>>>0<144?d:9;q[b+188>>2]=e}e=Oa(u,16,0,e,0,f+28|0);q[b+192>>2]=e;d=q[f+28>>2];if(d){break g}if(q[b+188>>2]){while(1){d=mb(a,25568,e);q[f+28>>2]=d;if(d){break d}e=e+16|0;i=i+1|0;d=q[b+188>>2];if(i>>>0>>0){continue}break}e=q[b+192>>2];if((d|0)==1){break f}i=d}d=0;h:{i:{while(1){l=d+1|0;if((l|0)==(i|0)){k=i+ -1|0;g=q[a+4>>2];e=q[b+192>>2];break i}k=d^-1;h=q[e+12>>2];j=0;g=0;while(1){d=(g<<4)+e|0;v=h;g=g+1|0;h=(g<<4)+e|0;i=q[h+12>>2];if(v>>>0>i>>>0){i=q[d+12>>2];q[f+16>>2]=q[d+8>>2];q[f+20>>2]=i;i=q[d+4>>2];q[f+8>>2]=q[d>>2];q[f+12>>2]=i;i=q[h+12>>2];q[d+8>>2]=q[h+8>>2];q[d+12>>2]=i;i=q[h+4>>2];q[d>>2]=q[h>>2];q[d+4>>2]=i;i=q[f+20>>2];q[h+8>>2]=q[f+16>>2];q[h+12>>2]=i;i=q[f+12>>2];q[h>>2]=q[f+8>>2];q[h+4>>2]=i;j=1;i=q[h+12>>2]}h=q[d+8>>2];if(i>>>0>>0|t[d+12>>2]>i-h>>>0){break h}h=i;i=q[b+188>>2];if(g>>>0>>0){continue}break}k=i+ -1|0;if(j){d=l;if(d>>>0>>0){continue}}break}g=q[a+4>>2];e=q[b+192>>2];h=e;if((i|0)==1){break e}}i=k>>>0>1?k:1;h=(i<<4)+e|0;k=0;d=e;while(1){j=q[d+8>>2];if(!(t[d+12>>2]<=g-j>>>0?g>>>0>=j>>>0:0)){q[f+28>>2]=8;break d}d=d+16|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}break e}q[f+28>>2]=9;break d}q[f+4>>2]=d;break b}g=q[a+4>>2];h=e}d=q[h+12>>2];if(g>>>0>>0){q[f+28>>2]=8;break d}d=g-d|0;if(t[h+8>>2]>d>>>0){q[h+8>>2]=d}q[f+4>>2]=0;break c}e=q[b+192>>2];if(e){n[q[u+8>>2]](u,e)}e=0;q[b+192>>2]=0;d=q[f+28>>2];q[f+4>>2]=d;if(d){break b}}q[b>>2]=1;q[b+4>>2]=0;d=0;if((c|0)<0){break a}h=q[b+100>>2];g=3;j:{k:{c=q[b+188>>2];l:{if(!c){break l}d=0;while(1){if(q[(d<<4)+e>>2]==1){g=83;c=q[((d<<4)+e|0)+12>>2];i=q[a+8>>2];if(c>>>0>>0){break l}if(Ib(a,c-i|0)){break l}j=q[((d<<4)+e|0)+8>>2];e=0;q[f+8>>2]=0;c=Ec(a,f+8|0);if(c>>>0<=255){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}q[f+8>>2]=g;e=0;d=0;break j}if(q[f+8>>2]){d=0;break j}i=c&4;m:{if(i){c=Hb(a,f+8|0);break m}c=Ec(a,f+8|0)}if(q[f+8>>2]){d=0;break j}if(c>>>0>(j>>>0)/9>>>0){q[f+8>>2]=8;d=0;break j}k=c>>>0<256?c:256;q[b+280>>2]=k;d=Oa(h,12,0,k,0,f+8|0);if(q[f+8>>2]){break j}n:{if(!k){break n}g=0;if(!i){while(1){l=mb(a,25632,w(g,12)+d|0);q[f+8>>2]=l;if(l){break j}g=g+1|0;if((k|0)!=(g|0)){continue}break n}}while(1){l=mb(a,25600,w(g,12)+d|0);q[f+8>>2]=l;if(l){break j}g=g+1|0;if((k|0)!=(g|0)){continue}break}}g=Ib(a,w(c-k|0,9));q[f+8>>2]=g;if(g){q[f+8>>2]=83;break j}o:{g=c&3;if(!g){break o}g=Ib(a,4-g|0);q[f+8>>2]=g;if(!g){break o}q[f+8>>2]=83;break j}p:{if(i){i=Hb(a,f+8|0);break p}i=Ec(a,f+8|0)}if(q[f+8>>2]){break j}if(i>>>0>j+w(c,-9)>>>0){q[f+8>>2]=8;break j}i=i>>>0<16777472?i:16777472;e=Oa(h,1,0,i+1|0,0,f+8|0);if(q[f+8>>2]){break j}c=Wb(a,e,i);q[f+8>>2]=c;if(c){break j}g=0;l=Oa(h,12,0,k,0,f+8|0);if(q[f+8>>2]){break j}q[b+284>>2]=l;if(k){while(1){j=w(g,12);c=j+d|0;m=q[c>>2];if(!(m>>>0<=i>>>0?(m|0)>=0:0)){q[f+8>>2]=9;break j}j=j+l|0;x=j,y=$c(h,e+m|0,f+8|0),q[x>>2]=y;if(q[f+8>>2]){break j}m=r[c+4|0];o[j+4|0]=m;c=q[c+8>>2];q:{if(m){if(!(c>>>0<=i>>>0?(c|0)>=0:0)){q[f+8>>2]=9;break j}x=j,y=$c(h,c+e|0,f+8|0),q[x+8>>2]=y;if(!q[f+8>>2]){break q}break j}q[j+8>>2]=c}g=g+1|0;if((k|0)!=(g|0)){continue}break}}q[f+8>>2]=0}if(d){n[q[h+8>>2]](h,d)}if(e){n[q[h+8>>2]](h,e)}c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}e=q[b+188>>2];r:{if(e){c=q[b+192>>2];d=0;while(1){i=1;if(q[(d<<4)+c>>2]==256){break r}d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=Nn(a,b,2);q[f+4>>2]=c;if(c){break b}e=q[b+188>>2];c=q[b+192>>2];i=0}g=3;s:{t:{u:{v:{w:{if(!e){break w}h=q[b+100>>2];d=0;while(1){if(q[(d<<4)+c>>2]==4){g=83;e=q[((d<<4)+c|0)+12>>2];k=q[a+8>>2];if(e>>>0>>0){break w}if(Ib(a,e-k|0)){break w}k=q[((d<<4)+c|0)+8>>2];q[f+28>>2]=0;e=Ec(a,f+28|0);d=q[f+28>>2];if(d){break s}d=3;if(((e|256)&-256)!=256){break s}g=e&4;if(e>>>0>255){break u}if(!g){break v}c=Hb(a,f+28|0);break t}d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[f+28>>2]=g;q[f+4>>2]=g;break b}c=Ec(a,f+28|0);break t}if(g){c=ib(a,f+28|0);break t}c=Mo(a,f+28|0)}if(q[f+28>>2]){break s}x:{if(e>>>0<=255){d=8;if(c+ -1>>>0<(k>>>0)/12>>>0){break x}break s}d=8;if(c+ -1>>>0>=(k>>>0)/5>>>0){break s}}c=(c>>>0<65534?c:65534)+1|0;q[b+288>>2]=c;c=Oa(h,16,0,c,0,f+28|0);q[b+292>>2]=c;d=q[f+28>>2];if(d){break s}y:{z:{A:{B:{if(t[b+288>>2]<2){break B}d=c+16|0;c=1;if(e>>>0<=255){e=g?25792:25824;while(1){g=mb(a,e,d);q[f+28>>2]=g;q[d+12>>2]=0;if(g){break z}if(!(p[d+6>>1]>=(0-p[d+8>>1]|0)?p[d+2>>1]>=p[d>>1]:0)){q[d>>2]=0;q[d+4>>2]=0;p[d+8>>1]=0}d=d+16|0;c=c+1|0;if(c>>>0>2]){continue}break}break B}while(1){e=mb(a,25856,f+8|0);if(e){break A}g=r[f+8|0];p[d>>1]=g+ -128;k=r[f+9|0];p[d+2>>1]=k+ -128;p[d+4>>1]=r[f+10|0]+ -128;j=r[f+11|0]+ -128|0;p[d+6>>1]=j;e=r[f+12|0];p[d+10>>1]=0;p[d+8>>1]=e+ -128;q[f+28>>2]=0;q[d+12>>2]=0;if(!((j|0)>=(128-e|0)?k>>>0>=g>>>0:0)){q[d>>2]=0;q[d+4>>2]=0;p[d+8>>1]=0}d=d+16|0;c=c+1|0;if(c>>>0>2]){continue}break}}q[f+4>>2]=0;break y}q[f+28>>2]=e;q[d+12>>2]=0}c=q[b+292>>2];if(c){n[q[h+8>>2]](h,c)}q[b+292>>2]=0;c=q[f+28>>2];q[f+4>>2]=c;if(c){break b}}g=3;C:{D:{E:{F:{e=q[b+188>>2];G:{if(!e){break G}c=q[b+192>>2];d=0;while(1){if(q[c+(d<<4)>>2]==8){g=83;e=q[(c+(d<<4)|0)+12>>2];h=q[a+8>>2];if(e>>>0>>0){break G}if(Ib(a,e-h|0)){break G}e=q[(c+(d<<4)|0)+8>>2];d=lb(a,8);q[f+8>>2]=d;if(d){break D}h=No(a);g=h&4;if(!g){break F}c=fc(a);break E}d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[f+8>>2]=g;q[f+4>>2]=g;break b}c=No(a)}jb(a);d=3;if(h>>>0>255){break D}c=c>>>0<65534?c:65534;if((c|0)!=(q[b+288>>2]+ -1|0)){break D}H:{if(!c){break H}k=(q[a+8>>2]+(c<<2)|0)+16|0;d=1;if(!g){while(1){j=Ec(a,f+8|0);q[(q[b+292>>2]+(d<<4)|0)+12>>2]=k+(j>>>0>e>>>0?0:j);j=(c|0)==(d|0);d=d+1|0;if(!j){continue}break H}}while(1){j=Hb(a,f+8|0);q[(q[b+292>>2]+(d<<4)|0)+12>>2]=k+(j>>>0>e>>>0?0:j);j=(c|0)!=(d|0);d=d+1|0;if(j){continue}break}}d=q[f+8>>2];if(d){break D}I:{if(g){Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);d=q[f+8>>2];if(d){break D}Hb(a,f+8|0);break I}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0);d=q[f+8>>2];if(d){break D}Ec(a,f+8|0)}d=q[f+8>>2];if(!d){break C}}q[f+4>>2]=d;break b}q[b+312>>2]=h;d=0;q[f+4>>2]=0;g=3;J:{K:{h=q[b+188>>2];L:{if(!h){break L}k=b+296|0;c=q[b+192>>2];e=q[b+100>>2];while(1){if(q[c+(d<<4)>>2]==32){g=83;c=q[(c+(d<<4)|0)+12>>2];d=q[a+8>>2];if(c>>>0>>0){break L}if(Ib(a,c-d|0)){break L}q[f+8>>2]=0;h=Ec(a,f+8|0);d=q[f+8>>2];if(d){break J}d=3;if(h>>>0<=255){break K}break J}d=d+1|0;if((h|0)!=(d|0)){continue}break}}q[f+8>>2]=g;q[f+4>>2]=g;break b}c=f;l=h&4;M:{if(l){d=mb(a,25888,k);break M}d=mb(a,25920,k)}q[c+8>>2]=d;if(d){break J}d=8;c=s[b+298>>1];g=s[b+296>>1];if(c>>>0>>0|c>>>0>255){break J}h=s[b+302>>1];j=s[b+300>>1];if(h>>>0>>0|h>>>0>255){break J}c=w((h-j|0)+1|0,(c-g|0)+1|0);x=b,y=Oa(e,2,0,c,0,f+8|0),q[x+308>>2]=y;d=q[f+8>>2];if(d){break J}c=lb(a,c<<1);q[f+8>>2]=c;N:{if(!c){c=s[b+304>>1];e=c>>>8|0;d=s[b+300>>1];O:{P:{if(e>>>0>>0|e>>>0>s[b+302>>1]){break P}c=c&255;g=s[k>>1];if(c>>>0>>0){break P}j=s[b+298>>1];if(c>>>0<=j>>>0){break O}}g=s[b+296>>1];p[b+304>>1]=g+(d<<8);j=s[b+298>>1];e=d;c=g}h=1;v=c&65535;c=g&65535;c=q[a+32>>2]+((v-c|0)+w(((j&65535)-c|0)+1|0,e-d|0)<<1)|0;c=r[c+!l|0]<<8|r[c+((l|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=t[b+288>>2]>c>>>0?c:1}c=q[b+292>>2];e=(h<<4)+c|0;d=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=d;d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;g=s[b+300>>1];h=s[b+302>>1];Q:{if(g>>>0>h>>>0){break Q}d=q[b+308>>2];e=s[b+298>>1];if(!l){while(1){c=s[k>>1];if(c>>>0<=(e&65535)>>>0){while(1){e=rf(a);p[d>>1]=(e|0)==65535?-1:e+1|0;d=d+2|0;c=c+1|0;e=s[b+298>>1];if((c&65535)>>>0<=e>>>0){continue}break}h=s[b+302>>1]}g=g+1|0;if((g&65535)>>>0<=(h&65535)>>>0){continue}break Q}}while(1){c=s[k>>1];if(c>>>0<=(e&65535)>>>0){while(1){e=ob(a);p[d>>1]=(e|0)==65535?-1:e+1|0;d=d+2|0;c=c+1|0;e=s[b+298>>1];if((c&65535)>>>0<=e>>>0){continue}break}h=s[b+302>>1]}g=g+1|0;if((g&65535)>>>0<=(h&65535)>>>0){continue}break}}jb(a);break N}c=q[b+308>>2];if(c){n[q[e+8>>2]](e,c)}q[b+308>>2]=0}c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}if(i){a=Nn(a,b,256);q[f+4>>2]=a;if(a){break b}}a=q[b+8>>2];q[b+8>>2]=a|18;if(r[b+199|0]){q[b+8>>2]=a|22}e=0;q[f+8>>2]=0;q[b+12>>2]=0;i=1;v=q[b+100>>2];j=q[b+280>>2];R:{S:{if((j|0)<1){l=0;c=0;h=0;k=0;m=0;break S}i=q[b+284>>2];while(1){T:{a=e;c=Ta(q[i+w(a,12)>>2],25948);e=a+1|0;if((e|0)>=(j|0)){break T}if(c){continue}}break}g=2;e=0;U:{if(c){h=0;break U}a=i+w(a,12)|0;if(!r[a+4|0]){h=0;break U}c=r[q[a+8>>2]]+ -73|0;if(c>>>0>38){h=0;break U}h=0;V:{switch(c-1|0){case 0: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:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:break U;default:break V}}q[b+12>>2]=1;h=(r[q[a+8>>2]]|32)==111?25954:25962;g=3}while(1){W:{a=e;d=Ta(q[i+w(a,12)>>2],25969);e=a+1|0;if((e|0)>=(j|0)){break W}if(d){continue}}break}e=0;c=0;X:{if(d){break X}a=i+w(a,12)|0;c=0;if(!r[a+4|0]){break X}c=0;if((r[q[a+8>>2]]|32)!=98){break X}q[b+12>>2]=g;c=25981}while(1){Y:{d=e;g=Ta(q[i+w(d,12)>>2],25986);e=d+1|0;if((e|0)>=(j|0)){break Y}if(g){continue}}break}e=0;a=0;Z:{if(g){break Z}d=i+w(d,12)|0;a=0;if(!r[d+4|0]){break Z}d=q[d+8>>2];g=r[d|0];a=0;if(!g){break Z}a=0;if((g|0)==78){break Z}a=0;if((g|0)==110){break Z}a=d}k=a;while(1){_:{a=e;m=Ta(q[i+w(a,12)>>2],26e3);e=a+1|0;if((e|0)>=(j|0)){break _}if(m){continue}}break}l=0;j=0;g=0;d=0;$:{if(m){break $}aa:{a=i+w(a,12)|0;if(!r[a+4|0]){break aa}a=q[a+8>>2];e=r[a|0];if(!e|(e|0)==78){break aa}d=0;if((e|0)==110){break $}j=a;g=Wa(a);d=g+1|0;break $}d=0}if(c){l=Wa(c);d=(l+d|0)+1|0;i=0}else{i=1}e=0;ba:{if(!h){m=0;break ba}m=Wa(h);d=(m+d|0)+1|0}if(k){e=Wa(k);d=(e+d|0)+1|0}if(d){break R}}d=8;j=26015;g=7}d=gb(v,d,f+8|0);q[b+24>>2]=d;a=q[f+8>>2];if(a){q[f+4>>2]=a;break b}if(j){d=Qa(d,j,g);if(g){a=0;while(1){j=a+d|0;if(r[j|0]==32){o[j|0]=45}a=a+1|0;if((g|0)!=(a|0)){continue}break}}d=d+g|0}if(!i){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}d=Qa(d,c,l)+l|0}if(h){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}d=Qa(d,h,m)+m|0}if(k){if(q[b+24>>2]!=(d|0)){o[d|0]=32;d=d+1|0}c=Qa(d,k,e);if(e){a=0;while(1){d=a+c|0;if(r[d|0]==32){o[d|0]=45}a=a+1|0;if((e|0)!=(a|0)){continue}break}}d=c+e|0}a=0;o[d|0]=0;c=q[f+8>>2];q[f+4>>2]=c;if(c){break b}ca:{da:{i=q[b+280>>2];if((i|0)<1){break da}e=q[b+284>>2];while(1){ea:{c=a;d=Ta(q[e+w(c,12)>>2],25444);a=c+1|0;if((a|0)>=(i|0)){break ea}if(d){continue}}break}if(d){break da}a=e+w(c,12)|0;if(!r[a+4|0]){break da}x=b,y=$c(u,q[a+8>>2],f+4|0),q[x+20>>2]=y;if(!q[f+4>>2]){break ca}break b}q[b+20>>2]=0}q[b+28>>2]=1;q[b+16>>2]=q[b+288>>2];i=Oa(u,16,0,1,0,f+4|0);q[b+32>>2]=i;if(q[f+4>>2]){break b}q[i>>2]=0;q[i+4>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;g=32767;a=q[b+208>>2]+q[b+204>>2]|0;c=a>>31;if((c^a+c)<=32767){c=a<<16;a=c>>31;g=a^a+(c>>16)}p[i>>1]=g;fa:{ga:{a=q[b+280>>2];if((a|0)<1){break ga}d=q[b+284>>2];e=0;while(1){ha:{c=e;h=Ta(q[w(c,12)+d>>2],25456);e=c+1|0;if((e|0)>=(a|0)){break ha}if(h){continue}}break}if(h){break ga}c=q[(w(c,12)+d|0)+8>>2];e=c>>31;if((e^c+e)>=327666){p[i+2>>1]=32767;break fa}e=(c+5|0)/10|0;c=e<<16>>31;p[i+2>>1]=c^c+e;break fa}x=i,y=bb(g<<16>>16,2,3),p[x+2>>1]=y;a=q[b+280>>2];d=q[b+284>>2]}e=0;c=0;ia:{if((a|0)<1){break ia}while(1){ja:{c=e;h=Ta(q[w(c,12)+d>>2],25470);e=c+1|0;if((e|0)>=(a|0)){break ja}if(h){continue}}break}ka:{if(h){break ka}e=q[(w(c,12)+d|0)+8>>2];c=e>>31;c=c^c+e;if((c|0)>=328899){q[i+4>>2]=32767;break ka}x=i,y=bb(c,460800,72270),q[x+4>>2]=y;d=q[b+284>>2];a=q[b+280>>2]}e=0;c=0;if((a|0)<1){break ia}while(1){la:{c=e;h=Ta(q[w(c,12)+d>>2],25481);e=c+1|0;if((e|0)>=(a|0)){break la}if(h){continue}}break}if(!h){c=q[(w(c,12)+d|0)+8>>2];h=c>>31;e=i;if((h^c+h)<=32767){h=c<<16;c=h>>31;c=(c^c+(h>>16))<<6}else{c=2097088}q[e+12>>2]=c}e=0;while(1){ma:{h=e;g=Ta(q[w(e,12)+d>>2],25492);e=e+1|0;if((e|0)>=(a|0)){break ma}if(g){continue}}break}c=0;e=0;na:{if(g){break na}h=q[(w(h,12)+d|0)+8>>2];g=h>>31;e=32767;if((g^g+h)>32767){break na}e=h<<16>>31;e=(e+h^e)<<16>>16}while(1){oa:{h=c;g=Ta(q[w(c,12)+d>>2],25505);c=c+1|0;if((c|0)>=(a|0)){break oa}if(g){continue}}break}c=0;if(g){break ia}a=q[(w(h,12)+d|0)+8>>2];d=a>>31;c=32767;if((d^a+d)>32767){break ia}c=a<<16;a=c>>31;c=a^a+(c>>16)}a=q[i+12>>2];pa:{if(!a){a=q[i+4>>2];q[i+12>>2]=a;if(!(c&65535)){break pa}a=bb(a,c<<16>>16,72);q[i+12>>2]=a}if(!e|!(c&65535)){break pa}a=bb(a,e,c<<16>>16)}q[i+8>>2]=a;qa:{h=q[b+280>>2];if((h|0)<1){break qa}d=q[b+284>>2];c=0;a=0;while(1){ra:{e=c;a=Ta(q[d+w(c,12)>>2],25518)?a:1;c=c+1|0;if((c|0)>=(h|0)){break ra}if(!(a&255)){continue}}break}c=0;i=a&255?d+w(e,12)|0:0;a=0;while(1){sa:{e=c;a=Ta(q[d+w(c,12)>>2],25535)?a:1;c=c+1|0;if((c|0)>=(h|0)){break sa}if(!(a&255)){continue}}break}if(!i){break qa}a=a&255?d+w(e,12)|0:0;if(!a|!r[i+4|0]|!r[a+4|0]){break qa}x=b,y=$c(u,q[a+8>>2],f+4|0),q[x+176>>2]=y;if(q[f+4>>2]){break b}x=b,y=$c(u,q[i+8>>2],f+4|0),q[x+180>>2]=y;if(q[f+4>>2]){break b}d=0;break a}if(q[f+4>>2]){break b}d=0;break a}q[f+4>>2]=d;break b}q[f+4>>2]=d}q[f+4>>2]=3;d=3}Da=f+32|0;return d}function SN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;s=Da-9040|0;Da=s;g=1;a:{if(!c){break a}t=TN(a,b,c);b:{if(!t){break b}b=q[d>>2];z=b&1;c:{if(b&16){break c}f=t;while(1){f=q[f+4>>2];b=q[f+16>>2];if((b|0)==128){break c}if((b|0)==32864){i=i-((i|0)>0)|0;continue}if(b&32768){i=i+1|0;continue}if(i){continue}i=0;if(!(b&256)){continue}break}z=b&1;q[d>>2]=z|272}Na(s+8528|0,0,508);d:{w=Gr();if(!w){break d}d=128;b=1;h=q[t+4>>2];k=q[h+16>>2];e:{if((k|0)==128){break e}l=h+16|0;g=z;n=64;d=0;f=0;b=0;while(1){f:{o[h+21|0]=v;g:{if(k&1052672){h:{if(k&16){i=q[h+12>>2];if(!i){break h}u=k&1;j=k&16384?u|272:64;l=u|2;k=!m;while(1){p=(g+l&254)-u|0;i:{if(!(p<<24<2113929216?!(f|m):0)){f=f+k|0;break i}y=(s+512|0)+(d<<4)|0;q[y+12>>2]=v;o[y+4|0]=g;q[y+8>>2]=0;q[y>>2]=n;b=(g&255)==124?f:b;d=d+1|0;n=j;g=p}i=i+ -1|0;if(i){continue}break}break h}if((k|0)!=4128){break h}k=q[h+12>>2];if(!k){break h}while(1){j:{if(!d){d=0;break j}j=d+ -1|0;i=(s+512|0)+(j<<4)|0;if(q[i+8>>2]){break h}if((f|0)>(b|0)){f=f+ -1|0;break j}b=(b|0)==(f|0)?0:b;v=q[i+12>>2];n=q[i>>2];g=r[i+4|0];d=j}k=k+ -1|0;if(k){continue}break}}o[h+20|0]=255;j=q[h+4>>2];q[s+4>>2]=j;i=q[h>>2];if(i){q[i+4>>2]=j;q[q[h+4>>2]>>2]=i}q[h>>2]=q[w>>2];q[q[w>>2]+4>>2]=h;q[h+4>>2]=w;q[w>>2]=h;h=s;break g}if((k|0)==32864){j=q[h+12>>2];if(!j){break g}while(1){k:{if((m|0)>=1){o[h+20|0]=g;m=m+ -1|0;break k}l:{m:{if((x|0)>=1){if(!d){break m}while(1){i=d+ -1|0;k=(s+512|0)+(i<<4)|0;if(!q[k+8>>2]){if((f|0)>(b|0)){f=f+ -1|0;if(!d){break m}continue}b=(b|0)==(f|0)?0:b;v=q[k+12>>2];n=q[k>>2];g=r[k+4|0];d=i;if(d){continue}break m}break}f=-1;if((b|0)<0){break l}v=q[k+12>>2];n=q[k>>2];g=r[k+4|0];d=i;f=0;break l}q[l>>2]=64;o[h+20|0]=g;break k}d=0;f=0}o[h+20|0]=g;v=v+ -1|0;o[h+21|0]=v;x=x+ -1|0}j=j+ -1|0;if(j){continue}break}break g}n:{o:{if(k&32768){j=k+ -32832|0;if(j>>>0<=1){break o}if((k|0)!=33587264){break n}p=0;j=h;k=h;p:{q:{r:{if((x|0)<=-1){while(1){j=q[j+4>>2];i=q[j+16>>2];if((i|0)==128|(i|0)==32864){break q}if(i&32768){p=p+1|0;continue}if(p){continue}p=0;if(!(i&256)){continue}break r}}while(1){k=q[k+4>>2];i=q[k+16>>2];if((i|0)==128){break q}if((i|0)==32864){p=p+ -1|0;continue}if(i&32768){p=p+1|0;continue}if(p){continue}p=0;if(!(i&256)){continue}break}}j=g<<24>>24;p=j;if(!(i&1)){break p}p=(j+((j|0)%2|0)|0)+1|0;break n}p=g<<24>>24}p=(p-((p|0)%2|0)|0)+2|0;break n}if((k|0)==2107456){break f}o[h+20|0]=g;if(n&64){break g}q[l>>2]=n;break g}if(!(j-1)){j=g<<24>>24;p=(((j|0)%2|0)+j|0)+1|0;break n}j=g<<24>>24;p=(j-((j|0)%2|0)|0)+2|0}o[h+21|0]=v;o[h+20|0]=g;if(!(n&64)){q[l>>2]=n}v=((v|0)<124)+v|0;if(p<<24>>24<=125){x=x+1|0;if(!(f|m)){j=(s+512|0)+(d<<4)|0;q[j+12>>2]=v;o[j+4|0]=g;q[j+8>>2]=1;q[j>>2]=n;b=(g&255)==124?f:b;d=d+1|0;n=64;g=p;break g}f=!m+f|0;g=p;break g}m=m+1|0}h=q[h+4>>2];l=h+16|0;k=q[h+16>>2];if((k|0)!=128){continue}}break}b=1;h=q[t+4>>2];d=q[h+16>>2];if((d|0)==128){d=128;break e}j=s+8528|4;b=h;i=0;while(1){g=o[b+21|0];if((i|0)>(g|0)){Na(j+(g<<2)|0,0,i-g<<2)}f=(s+8528|0)+(g<<2)|0;i=q[f>>2];if(i){q[i+32>>2]=b;q[b+28>>2]=i}q[f>>2]=b;i=g;b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}b=0}x=z?273:272;s:{t:{u:{v:{if(!h){h=0;break v}if(b){break u}while(1){b=q[h>>2];w:{if(q[b+16>>2]!=(d|0)){b=h;break w}if(r[b+20|0]!=r[h+20|0]){b=h;break w}if(q[h+24>>2]){b=h;break w}if(q[b+24>>2]){b=h;break w}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];d=q[h+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(h)}h=q[b+4>>2];d=q[h+16>>2];if((d|0)!=128){continue}break}h=q[t+4>>2];d=q[h+16>>2]}q[s+512>>2]=x;if((d|0)==128){break t}j=h+16|0;p=0;while(1){b=642152;g=q[h+28>>2];x:{if(!g){break x}if(q[g+16>>2]==128){b=g;break x}f=o[h+21|0];b=g;while(1){if(o[b+21|0]<=(f|0)){break x}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}m=q[h+32>>2];y:{if(!m){f=642152;break y}f=m;i=q[f+16>>2];if((i|0)==128){break y}n=o[h+21|0];while(1){if(o[f+21|0]<=(n|0)?(i|0)!=32864:0){break y}g=q[f+32>>2];f=g?g:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}l=o[h+21|0];i=r[h+20|0];u=i<<24>>24;g=r[b+20|0];k=g<<24>>24;if((g|0)==(i|0)){i=q[b+16>>2]}else{i=((k|0)>(u|0)?k:u)&1?273:272}g=r[f+20|0];n=q[f+16>>2];z:{if((g|0)==(u&255)){break z}g=g<<24>>24;n=((g|0)>(u|0)?g:u)&1?273:272}g=n;if(i&16){q[(s+512|0)+(l<<2)>>2]=i}n=(p|0)<(l|0);A:{B:{if((d|0)!=544){if((d|0)!=524320){break B}d=q[h>>2];if(r[d+17|0]&128){q[j>>2]=64}C:{D:{if((k|0)==(u|0)){if((b|0)!=(d|0)){break D}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];if(m){q[m+28>>2]=b}q[b+32>>2]=m;La(h);break C}q[j>>2]=i}b=h}if((g|0)!=(i|0)){break A}d=q[b+4>>2];if((d|0)!=(f|0)|r[b+20|0]!=r[d+20|0]){break A}b=q[f>>2];d=q[f+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[f+12>>2];d=q[f+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(f);break A}if(q[(s+512|0)+(l<<2)>>2]!=275){break B}q[j>>2]=546;if((g|0)!=524320){break B}q[f+16>>2]=546}b=h}p=n?l:p;h=q[b+4>>2];j=h+16|0;d=q[h+16>>2];if((d|0)!=128){continue}break}h=q[t+4>>2];k=q[h+16>>2];q[s+512>>2]=x;d=h+16|0;if((k|0)==128){break s}m=64;j=1;n=d;g=h;while(1){u=o[g+21|0];b=642152;f=q[g+28>>2];E:{if(!f){break E}b=f;if(q[b+16>>2]==128){break E}while(1){if(o[b+21|0]<=(u|0)){break E}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}f=q[g+32>>2];F:{if(!f){f=642152;break F}i=q[f+16>>2];if((i|0)==128){break F}while(1){if(o[f+21|0]<=(u|0)?(i|0)!=32864:0){break F}f=q[f+32>>2];f=f?f:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}i=r[g+20|0];y=i<<24>>24;l=i;i=r[b+20|0];b=q[b+16>>2];G:{if((l|0)==(i|0)){break G}b=i<<24>>24;b=((b|0)>(y|0)?b:y)&1?273:272}l=r[f+20|0];i=y&255;f=q[f+16>>2];H:{if((l|0)==(i|0)){break H}f=l<<24>>24;f=((f|0)>(y|0)?f:y)&1?273:272}if(b&16){q[(s+512|0)+(u<<2)>>2]=b}I:{if((k|0)==275){q[n>>2]=273;g=q[g+4>>2];j=1;m=64;break I}J:{if(!j|(f|0)!=(m|0)|(!(m&512)|!(k&327680))){break J}if(q[g+12>>2]!=1|((k|0)!=263200?(m|0)!=544:0)){break J}q[n>>2]=b;k=b}K:{L:{M:{N:{if((k|0)==132128){if((f|0)!=544?(m|0)!=544:0){break N}q[n>>2]=544;j=0;break L}if(!(k&1024)){break M}}q[n>>2]=64}j=1;if((k|0)!=544){break K}}if(q[(s+512|0)+(u<<2)>>2]!=272){break K}q[n>>2]=272;g=q[g+4>>2];m=(i|0)==r[g+20|0]?544:64;break I}g=q[g+4>>2];i=q[g>>2];f=r[i+20|0];b=r[g+20|0];if((f|0)==(b|0)){m=q[i+16>>2];break I}f=f<<24>>24;b=b<<24>>24;m=((f|0)>(b|0)?f:b)&1?273:272}n=g+16|0;k=q[g+16>>2];if((k|0)!=128){continue}break}break s}q[s+512>>2]=x}q[s+512>>2]=x;d=h+16|0;p=0}O:{if(!h){break O}f=q[d>>2];if((f|0)==128){break O}while(1){b=q[h>>2];P:{if(r[b+20|0]!=r[h+20|0]){b=h;break P}d=q[b+16>>2];if(!((d|0)==(f|0)|d&f&64)){b=h;break P}if(q[h+24>>2]){b=h;break P}if(q[b+24>>2]){b=h;break P}d=q[h+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[h+12>>2];d=q[h+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(h)}h=q[b+4>>2];f=q[h+16>>2];if((f|0)!=128){continue}break}}q[s+8524>>2]=0;k=o[t+20|0];b=(p<<2)+4|0;Na(s+8528|0,0,b);l=Na(s,0,b);q[l+8588>>2]=l+1472;q[l+8584>>2]=l+1408;q[l+8580>>2]=l+1344;q[l+8576>>2]=l+1280;q[l+8572>>2]=l+1216;q[l+8568>>2]=l+1152;q[l+8564>>2]=l+1088;q[l+8560>>2]=l+1024;q[l+8556>>2]=l+960;q[l+8552>>2]=l+896;q[l+8548>>2]=l+832;q[l+8544>>2]=l+768;q[l+8540>>2]=l+704;q[l+8536>>2]=l+640;q[l+8532>>2]=l+576;q[l+8528>>2]=l+512;if((p|0)>15){b=16;while(1){A=(l+8528|0)+(b<<2)|0,B=Sa(252),q[A>>2]=B;d=(b|0)==(p|0);b=b+1|0;if(!d){continue}break}}i=q[t+4>>2];d=q[i+16>>2];if((d|0)!=128){m=q[l+8524>>2];j=0;h=0;while(1){g=h;n=q[i+24>>2];b=k;k=o[i+20|0];h=o[i+21|0];if(!((b|0)==(k|0)|(g|0)!=(h|0))){q[l+(g<<2)>>2]=0}Q:{R:{if(!n|(d|0)!=64){break R}d=h<<2;f=d+l|0;b=q[f>>2];if((n|0)>=0){g=d+(l+8528|0)|0;while(1){if((b|0)<1){break R}b=b+ -1|0;d=q[q[g>>2]+(b<<2)>>2];if((n^q[d+24>>2])&2147483647){continue}break}q[f>>2]=b;m=Sa(12);q[m+8>>2]=j;q[m+4>>2]=i;q[m>>2]=d;j=m;break R}if((b|0)==63){break Q}d=q[d+(l+8528|0)>>2];q[f>>2]=b+1;q[d+(b<<2)>>2]=i}i=q[i+4>>2];d=q[i+16>>2];if((d|0)!=128){continue}}break}q[l+8524>>2]=m}ol(l+8524|0);j=q[l+8524>>2];if(j){m=j;while(1){d=q[m>>2];n=o[d+20|0];b=d;h=b;S:{T:{i=q[m+4>>2];if((i|0)!=(b|0)){while(1){f=273;g=q[b+16>>2];h=g+ -544|0;U:{V:{if(h>>>0>2){if((g|0)==273){break U}break V}if(h-1){break U}}f=g}if(f&16){g=o[b+20|0];if((((g^f)&1)+g|0)==(n|0)){break T}}b=q[b+4>>2];if((i|0)!=(b|0)){continue}break}h=i}k=r[d+21|0];b=d;W:{while(1){g=273;b=q[b>>2];f=q[b+16>>2];i=f+ -544|0;X:{Y:{if(i>>>0>2){if((f|0)==273){break X}if((f|0)==128){break W}break Y}if(i-1){break X}}g=f;if(!(f&16)){continue}}if((k|0)!=r[b+21|0]){continue}break}b=o[b+20|0];n=((b^g)&1)+b|0}b=d;if((h|0)==(b|0)){break S}while(1){Z:{f=q[b+16>>2];g=f+ -544|0;_:{$:{if(g>>>0>2){if((f|0)==273){break _}break $}if(g-1){break _}}if(!(f&16)){break Z}}if((k|0)!=r[b+21|0]){break Z}b=n&1|272;q[h+16>>2]=b;q[d+16>>2]=b;break S}b=q[b+4>>2];if((h|0)!=(b|0)){continue}break}break S}b=n&1|272;q[i+16>>2]=b;q[d+16>>2]=b}m=q[m+8>>2];if(m){continue}break}while(1){b=q[j+8>>2];La(j);j=b;if(b){continue}break}}b=16;if((p|0)>=16){while(1){La(q[(l+8528|0)+(b<<2)>>2]);d=(b|0)!=(p|0);b=b+1|0;if(d){continue}break}}f=q[t+4>>2];i=q[f+16>>2];aa:{if((i|0)==128){break aa}b=f;while(1){q[b+24>>2]=0;b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}if(!f){break aa}while(1){b=q[f>>2];ba:{if(r[b+20|0]!=r[f+20|0]){b=f;break ba}d=q[b+16>>2];if(!((d|0)==(i|0)|d&i&64)){b=f;break ba}if(q[f+24>>2]){b=f;break ba}if(q[b+24>>2]){b=f;break ba}d=q[f+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[f+12>>2];d=q[f+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(f)}f=q[b+4>>2];i=q[f+16>>2];if((i|0)!=128){continue}break}}g=q[t+4>>2];j=g+16|0;k=q[g+16>>2];if((k|0)!=128){n=j;d=g;while(1){b=642152;h=q[d+28>>2];ca:{if(!h){break ca}if(q[h+16>>2]==128){b=h;break ca}f=o[d+21|0];b=h;while(1){if(o[b+21|0]<=(f|0)){break ca}b=q[b+28>>2];b=b?b:642152;if(q[b+16>>2]!=128){continue}break}}f=q[d+32>>2];da:{if(!f){f=642152;break da}i=q[f+16>>2];if((i|0)==128){break da}m=o[d+21|0];while(1){if(o[f+21|0]<=(m|0)?(i|0)!=32864:0){break da}h=q[f+32>>2];f=h?h:642152;i=q[f+16>>2];if((i|0)!=128){continue}break}}h=r[d+20|0];i=h<<24>>24;m=h;h=r[b+20|0];ea:{if((m|0)==(h|0)){b=q[b+16>>2];h=b&512?273:b;break ea}b=h<<24>>24;h=((b|0)>(i|0)?b:i)&1?273:272}b=r[f+20|0];fa:{if((b|0)==(i&255)){b=q[f+16>>2];b=b&512?273:b;break fa}b=b<<24>>24;b=((b|0)>(i|0)?b:i)&1?273:272}if((k&576)==64){q[n>>2]=(b|0)==(h|0)?h:i&1?273:272}d=q[d+4>>2];n=d+16|0;k=q[d+16>>2];if((k|0)!=128){continue}break}}ga:{ha:{if(g){i=z;f=q[j>>2];if((f|0)!=128){while(1){b=q[g>>2];ia:{if(q[b+16>>2]!=(f|0)){b=g;break ia}if(r[b+20|0]!=r[g+20|0]){b=g;break ia}if(q[g+24>>2]){b=g;break ia}if(q[b+24>>2]){b=g;break ia}d=q[g+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[g+12>>2];d=q[g+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(g)}g=q[b+4>>2];f=q[g+16>>2];if((f|0)!=128){continue}break}g=q[t+4>>2]}h=q[g+16>>2];if((h|0)!=128){break ha}break ga}g=0;i=z;h=q[4];if((h|0)==128){break ga}}f=h;b=g;i=z;while(1){j=r[b+20|0];d=f&512?j+2&-2:j+((f^j)&1)|0;o[b+20|0]=d;i=d<<24>>24>i<<24>>24?d:i;b=q[b+4>>2];f=q[b+16>>2];if((f|0)!=128){continue}break}if(!g){break ga}while(1){b=q[g>>2];ja:{if(q[b+16>>2]!=(h|0)){b=g;break ja}if(r[b+20|0]!=r[g+20|0]){b=g;break ja}if(q[g+24>>2]){b=g;break ja}if(q[b+24>>2]){b=g;break ja}d=q[g+4>>2];q[b+4>>2]=d;q[d>>2]=b;q[b+12>>2]=q[b+12>>2]+q[g+12>>2];d=q[g+32>>2];if(d){q[d+28>>2]=b}q[b+32>>2]=d;La(g)}g=q[b+4>>2];h=q[g+16>>2];if((h|0)!=128){continue}break}}ka:{if(q[w+4>>2]==(w|0)){break ka}if(!Fr(t,w,1)){break d}b=q[t+4>>2];if(!((t|0)==(b|0)|r[b+20|0]!=255)){o[b+20|0]=z}w=0;if(q[b+16>>2]==128){break ka}while(1){if(r[b+20|0]==255){o[b+20|0]=r[q[b>>2]+20|0]}b=q[b+4>>2];if(q[b+16>>2]!=128){continue}break}}j=Gr();la:{if(!j){k=0;break la}k=0;if((c|0)>=0){d=1;g=j;h=c+ -1|0;f=h;while(1){c=f;b=64;ma:{if((f|0)<0){break ma}b=q[(c<<2)+a>>2]}na:{if(!d){b=!(b&8192)|(d|0)!=0;h=b?h:c;d=b?d:1;break na}if(b&9482240){break na}b=UN();if(!b){zi(j);break la}o[b+20|0]=z;q[b+16>>2]=x;q[b+12>>2]=h-c;q[b+8>>2]=c+1;d=q[b>>2];if(d){q[d+4>>2]=q[b+4>>2];q[q[b+4>>2]>>2]=d}q[b>>2]=q[g>>2];q[q[g>>2]+4>>2]=b;q[b+4>>2]=g;q[g>>2]=b;d=0;g=b}f=c+ -1|0;if((c|0)>-1){continue}break}}if(!Fr(t,j,0)){break la}k=1;d=q[t+4>>2];if(q[d+16>>2]==128){break la}f=0;while(1){b=q[d+12>>2];if(b){Na(e+f|0,r[d+20|0],b);while(1){f=f+1|0;b=b+ -1|0;if(b){continue}break}}d=q[d+4>>2];if(q[d+16>>2]!=128){continue}break}}zi(t);if(w){zi(w)}if(!k){break b}g=i+1|0;break a}zi(t)}g=0}Da=s+9040|0;return g<<24>>24}function Bj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=Da-176|0;Da=e;q[e+172>>2]=0;y=q[a+12>>2];w=q[a>>2];if(s[w+290>>1]>>0){p[w+290>>1]=c}q[a+20>>2]=b;j=65536;m=65536;if(!(o[a+16|0]&1)){f=q[q[a+4>>2]+44>>2];j=q[f+8>>2];m=q[f+4>>2]}f=q[q[w+128>>2]+52>>2];a:{b:{if(f){f=n[q[q[f>>2]>>2]](q[f+4>>2],b,e+120|0)|0;q[e+172>>2]=f;if(f){break a}i=q[e+124>>2];q[a+28>>2]=i;q[e+160>>2]=0;q[e+164>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;q[e+144>>2]=0;q[e+148>>2]=0;q[e+136>>2]=0;q[e+140>>2]=0;q[e+128>>2]=0;q[e+132>>2]=0;f=q[e+120>>2];q[e+160>>2]=0;q[e+136>>2]=0;q[e+132>>2]=i;q[e+128>>2]=f;q[e+148>>2]=0;q[e+152>>2]=0;q[a+24>>2]=e+128;F=1;i=0;break b}i=Cj(w,b,a+28|0)}f=q[a+28>>2];c:{if((f|0)>=1){h=q[w+728>>2];if(!(h|q[q[w+128>>2]+52>>2])){q[e+172>>2]=8;break c}f=n[q[w+520>>2]](a,b,h+i|0,f)|0;q[e+172>>2]=f;if(f){break c}K=e,L=n[q[w+528>>2]](a)|0,q[K+172>>2]=L;n[q[w+524>>2]](a);if(q[e+172>>2]){break c}f=q[a+28>>2]}if(!(s[a+32>>1]?f:0)){q[a+36>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0}u=q[a>>2];x=q[a+24>>2];p[e+80>>1]=0;p[e>>1]=0;p[e+40>>1]=0;p[e+64>>1]=0;h=q[x+8>>2];n[q[q[u+540>>2]+140>>2]](u,0,b,e+80|0,e+40|0);d:{if(r[u+292|0]){n[q[q[u+540>>2]+140>>2]](u,1,b,e,e- -64|0);break d}v=q[a+48>>2];if(s[u+372>>1]!=65535){f=p[u+442>>1];p[e>>1]=f-v;f=f-p[u+444>>1]|0;v=f>>31;p[e+64>>1]=v^f+v;break d}f=p[u+220>>1];p[e>>1]=f-v;f=f-p[u+222>>1]|0;v=f>>31;p[e+64>>1]=v^f+v}h=Xa(x,h);e:{if(h){break e}q[a+52>>2]=p[e+80>>1];f=s[e+40>>1];q[a+56>>2]=f;q[a+172>>2]=p[e>>1];q[a+176>>2]=s[e+64>>1];if(r[a+64|0]){break e}q[a+60>>2]=f;o[a+64|0]=1}q[e+172>>2]=h;if(d|h){break c}f=q[a+28>>2];if(!(s[a+32>>1]?f:0)){f=0;h=q[a>>2];x=0;f:{if(q[q[h+96>>2]+64>>2]!=40){break f}c=q[a+156>>2];x=0;if(!c){break f}f=r[c+613|0]!=0;x=r[c+618|0]!=0}q[a+72>>2]=0;q[a+80>>2]=0;i=q[a+52>>2];d=q[a+36>>2]-i|0;q[a+68>>2]=d;c=q[a+172>>2]+q[a+48>>2]|0;q[a+184>>2]=c;v=q[a+56>>2];q[a+76>>2]=v+d;q[a+192>>2]=c-q[a+176>>2];c=x?f?(v|0)/2|0:0:0;q[a+180>>2]=c;q[a+188>>2]=c;d=q[q[h+128>>2]+52>>2];g:{if(!d){break g}c=q[q[d>>2]+8>>2];if(!c){break g}q[e+92>>2]=0;q[e+88>>2]=v;q[e+84>>2]=0;q[e+80>>2]=i;if(n[c](q[d+4>>2],b,0,e+80|0)){break g}c=p[e+80>>1];d=s[e+88>>1];q[a+172>>2]=0;q[a+176>>2]=0;q[a+56>>2]=d;q[a+52>>2]=c;if(r[a+64|0]){break g}q[a+60>>2]=d;o[a+64|0]=1}h:{if(r[w+9|0]&128?0:!(s[w+6>>1]&32767)){break h}q[e+76>>2]=16843009;q[e+64>>2]=65536;q[e+68>>2]=196610;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;q[e+80>>2]=q[a+68>>2];q[e+84>>2]=q[a+72>>2];q[e+88>>2]=q[a+76>>2];q[e+92>>2]=q[a+80>>2];q[e+96>>2]=q[a+180>>2];q[e+100>>2]=q[a+184>>2];q[e+104>>2]=q[a+188>>2];q[e+108>>2]=q[a+192>>2];q[e+40>>2]=262148;q[e+52>>2]=e- -64;q[e+48>>2]=e+76;q[e+44>>2]=e+80;b=sj(q[a>>2],b,e+40|0,e,4);q[e+172>>2]=b;if(b){break c}q[a+68>>2]=q[e+80>>2];q[a+72>>2]=q[e+84>>2];q[a+76>>2]=q[e+88>>2];q[a+80>>2]=q[e+92>>2];q[a+180>>2]=q[e+96>>2];q[a+184>>2]=q[e+100>>2];q[a+188>>2]=q[e+104>>2];q[a+192>>2]=q[e+108>>2];b=q[q[a>>2]+740>>2];if(!(b&2)){q[a+60>>2]=((q[e+8>>2]-q[e>>2]|0)+32&-64)/64}if(b&16){break h}q[a+176>>2]=((q[e+24>>2]-q[e+16>>2]|0)+32&-64)/64}if(!(o[a+16|0]&1)){K=a,L=Ma(q[a+68>>2],m),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],m),q[K+76>>2]=L;K=a,L=Ma(q[a+180>>2],m),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],j),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],m),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],j),q[K+192>>2]=L}q[e+172>>2]=0;break c}x=q[a>>2];g=0;i:{if(q[q[x+96>>2]+64>>2]!=40){break i}d=q[a+156>>2];g=0;if(!d){break i}l=r[d+613|0]!=0;g=r[d+618|0]!=0}q[a+72>>2]=0;q[a+80>>2]=0;v=q[a+52>>2];h=q[a+36>>2]-v|0;q[a+68>>2]=h;d=q[a+172>>2]+q[a+48>>2]|0;q[a+184>>2]=d;u=q[a+56>>2];q[a+76>>2]=u+h;q[a+192>>2]=d-q[a+176>>2];d=g?l?(u|0)/2|0:0:0;q[a+180>>2]=d;q[a+188>>2]=d;h=q[q[x+128>>2]+52>>2];j:{if(!h){break j}d=q[q[h>>2]+8>>2];if(!d){break j}q[e+92>>2]=0;q[e+88>>2]=u;q[e+84>>2]=0;q[e+80>>2]=v;k:{if(n[d](q[h+4>>2],b,0,e+80|0)){break k}d=p[e+80>>1];f=s[e+88>>1];q[a+172>>2]=0;q[a+176>>2]=0;q[a+56>>2]=f;q[a+52>>2]=d;if(r[a+64|0]){break k}q[a+60>>2]=f;o[a+64|0]=1}f=q[a+28>>2]}d=n[q[w+520>>2]](a,b,(i+q[w+728>>2]|0)+10|0,f+ -10|0)|0;q[e+172>>2]=d;if(d){break c}l:{d=p[a+32>>1];if((d|0)>=1){b=n[q[w+532>>2]](a)|0;q[e+172>>2]=b;if(b){break l}n[q[w+524>>2]](a);k=q[a+12>>2];j=0;q[e+80>>2]=0;u=q[q[a>>2]+100>>2];b=q[a+72>>2];l=p[k+58>>1];c=q[k+60>>2]+(l<<3)|0;q[c>>2]=q[a+68>>2];q[c+4>>2]=b;b=q[a+80>>2];x=l+1|0;c=q[k+60>>2]+(x<<3)|0;q[c>>2]=q[a+76>>2];q[c+4>>2]=b;b=q[a+184>>2];v=l+2|0;c=q[k+60>>2]+(v<<3)|0;q[c>>2]=q[a+180>>2];q[c+4>>2]=b;b=q[a+192>>2];h=l+3|0;c=q[k+60>>2]+(h<<3)|0;q[c>>2]=q[a+188>>2];q[c+4>>2]=b;b=k- -64|0;o[l+q[b>>2]|0]=0;o[x+q[b>>2]|0]=0;o[v+q[b>>2]|0]=0;o[h+q[b>>2]|0]=0;i=l+4|0;b=q[a>>2];m:{if(!(r[b+9|0]&128?0:!(s[b+6>>1]&32767))){j=Oa(u,8,0,i,0,e+80|0);if(q[e+80>>2]){break m}c=sj(q[a>>2],q[a+20>>2],k+56|0,j,i);q[e+80>>2]=c;b=q[q[a>>2]+740>>2];if(!(b&2)){q[a+60>>2]=((q[(x<<3)+j>>2]-q[(l<<3)+j>>2]|0)+32&-64)/64}if(!(b&16)){q[a+176>>2]=((q[(h<<3)+j>>2]-q[(v<<3)+j>>2]|0)+32&-64)/64}if(c){break m}}b=q[a+16>>2];if(!(b&2)){f=s[k+58>>1];p[a+128>>1]=f;p[a+130>>1]=s[k+56>>1];q[a+132>>2]=q[k+76>>2];d=q[k+60>>2];q[a+136>>2]=d;c=q[k+80>>2];q[a+140>>2]=c;q[a+144>>2]=q[k+64>>2];b=q[k+68>>2];p[a+152>>1]=0;q[a+148>>2]=b;Qa(c,d,(f<<3)+32|0);b=q[a+16>>2]}g=0;d=0;n:{if(b&1){break n}b=q[k+60>>2];f=b+(i<<3)|0;c=q[q[a+4>>2]+44>>2];g=q[c+8>>2];d=q[c+4>>2];c=q[a>>2];if(!(s[c+6>>1]&32767|r[c+9|0]&128)){if((l|0)<=-4){break n}while(1){K=b,L=Ma(q[b>>2],d),q[K>>2]=L;K=b,L=Ma(q[b+4>>2],g),q[K+4>>2]=L;b=b+8|0;if(b>>>0>>0){continue}break}break n}if((l|0)<-3){break n}c=j;while(1){K=b,L=Ma(q[c>>2],d)+32>>6,q[K>>2]=L;K=b,L=Ma(q[c+4>>2],g)+32>>6,q[K+4>>2]=L;c=c+8|0;b=b+8|0;if(b>>>0>>0){continue}break}}b=q[a>>2];o:{if(!(!(r[b+740|0]&2)|r[a+16|0]&2)){K=a,L=Ma(q[a+68>>2],d),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],d),q[K+76>>2]=L;b=q[a>>2];break o}f=q[k+60>>2]+(l<<3)|0;c=q[f+4>>2];q[a+68>>2]=q[f>>2];q[a+72>>2]=c;f=q[k+60>>2]+(x<<3)|0;c=q[f+4>>2];q[a+76>>2]=q[f>>2];q[a+80>>2]=c}p:{if(!(!(r[b+740|0]&16)|r[a+16|0]&2)){K=a,L=Ma(q[a+180>>2],d),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],g),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],d),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],g),q[K+192>>2]=L;break p}c=q[k+60>>2]+(v<<3)|0;b=q[c+4>>2];q[a+180>>2]=q[c>>2];q[a+184>>2]=b;c=q[k+60>>2]+(h<<3)|0;b=q[c+4>>2];q[a+188>>2]=q[c>>2];q[a+192>>2]=b}if(r[a+16|0]&2){break m}p[a+128>>1]=s[a+128>>1]+4;K=e,L=to(a,0),q[K+80>>2]=L}if(j){n[q[u+8>>2]](u,j)}a=q[e+80>>2];q[e+172>>2]=a;if(a){break c}Lg(y);break c}if((d|0)>-1){break l}i=q[w+100>>2];p[a+32>>1]=65535;h=a+204|0;q:{r:{d=q[a+204>>2];s:{if(d){f=c;while(1){if(!f){f=d;while(1){q[f+8>>2]=-1;f=q[f+4>>2];if(f){continue}break}if(Qj(h,b)){break s}q[d+8>>2]=b;break q}f=f+ -1|0;d=q[d+4>>2];if(d){continue}break}}if(!Qj(h,b)){break r}}q[e+172>>2]=21;break l}d=gb(i,12,e+172|0);if(q[e+172>>2]){break l}q[d+8>>2]=b;zG(h,d)}x=p[y+22>>1];D=p[y+20>>1];d=n[q[w+536>>2]](a)|0;q[e+172>>2]=d;if(d){break l}G=q[a+164>>2];n[q[w+524>>2]](a);if(!(r[w+9|0]&128?0:!(s[w+6>>1]&32767))){k=q[y+84>>2];g=0;q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;d=k+4|0;p[e+80>>1]=d;p[e+82>>1]=d;z=d<<16>>16;u=Oa(i,8,0,z,0,e+172|0);l=0;f=0;d=0;t:{if(q[e+172>>2]){break t}v=Oa(i,1,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}h=Oa(i,2,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}f=Oa(i,8,0,z,0,e+172|0);d=0;if(q[e+172>>2]){break t}A=k<<16;C=A>>16;if((A|0)>=1){d=q[y+88>>2];while(1){k=u+(g<<3)|0;q[k>>2]=q[d+8>>2];q[k+4>>2]=q[d+12>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;d=d+32|0;l=l+1|0;g=l<<16>>16;if((C|0)>(g|0)){continue}break}}d=u+(g<<3)|0;q[d>>2]=q[a+68>>2];q[d+4>>2]=q[a+72>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;g=l+1|0;k=g<<16>>16;d=u+(k<<3)|0;q[d>>2]=q[a+76>>2];q[d+4>>2]=q[a+80>>2];o[k+v|0]=1;p[h+(k<<1)>>1]=g;g=l+2|0;k=g<<16>>16;d=u+(k<<3)|0;q[d>>2]=q[a+180>>2];q[d+4>>2]=q[a+184>>2];o[k+v|0]=1;p[h+(k<<1)>>1]=g;l=l+3|0;g=l<<16>>16;d=u+(g<<3)|0;q[d>>2]=q[a+188>>2];q[d+4>>2]=q[a+192>>2];o[g+v|0]=1;p[h+(g<<1)>>1]=l;q[e+92>>2]=h;q[e+88>>2]=v;q[e+84>>2]=u;b=sj(w,b,e+80|0,f,z);q[e+172>>2]=b;u:{if(b){break u}v:{if((A|0)<1){d=0;break v}b=q[y+88>>2];d=0;g=0;while(1){if(r[b+4|0]&2){d=u+(d<<3)|0;q[b+8>>2]=p[d>>1];q[b+12>>2]=p[d+4>>1]}b=b+32|0;g=g+1|0;d=g<<16>>16;if((C|0)>(d|0)){continue}break}}b=u+(d<<3)|0;q[a+68>>2]=q[b>>2];q[a+72>>2]=q[b+4>>2];q[a+76>>2]=q[b+8>>2];q[a+80>>2]=q[b+12>>2];q[a+180>>2]=q[b+16>>2];q[a+184>>2]=q[b+20>>2];q[a+188>>2]=q[b+24>>2];q[a+192>>2]=q[b+28>>2];d=q[w+740>>2];if(!(d&2)){b=(z<<3)+f|0;q[a+60>>2]=((q[b+ -24>>2]-q[b+ -32>>2]|0)+32&-64)/64}if(d&16){break u}b=(z<<3)+f|0;q[a+176>>2]=((q[b+ -8>>2]-q[b+ -16>>2]|0)+32&-64)/64}g=h;l=u;d=v}if(l){n[q[i+8>>2]](i,l)}if(d){n[q[i+8>>2]](i,d)}if(g){n[q[i+8>>2]](i,g)}if(f){n[q[i+8>>2]](i,f)}if(q[e+172>>2]){break c}}b=q[a+16>>2];if(!(b&1)){K=a,L=Ma(q[a+68>>2],m),q[K+68>>2]=L;K=a,L=Ma(q[a+76>>2],m),q[K+76>>2]=L;K=a,L=Ma(q[a+180>>2],m),q[K+180>>2]=L;K=a,L=Ma(q[a+184>>2],j),q[K+184>>2]=L;K=a,L=Ma(q[a+188>>2],m),q[K+188>>2]=L;K=a,L=Ma(q[a+192>>2],j),q[K+192>>2]=L;b=q[a+16>>2]}w:{x:{if(!(b&1024)){H=q[y+48>>2];E=q[y+84>>2];I=q[a+28>>2];J=q[a+24>>2];Lg(y);y:{if(!E){b=0;c=x;break y}z=c+1|0;f=0;while(1){B=p[y+22>>1];A=q[a+176>>2];C=q[a+60>>2];k=q[a+188>>2];j=q[a+192>>2];g=q[a+180>>2];l=q[a+184>>2];u=q[a+76>>2];v=q[a+80>>2];h=q[a+68>>2];i=q[a+72>>2];c=f<<5;d=H<<5;b=Bj(a,q[c+(d+q[y+52>>2]|0)>>2],z,0);q[e+172>>2]=b;if(b){break c}b=c+(d+q[y+52>>2]|0)|0;if(!(r[b+5|0]&2)){q[a+188>>2]=k;q[a+192>>2]=j;q[a+180>>2]=g;q[a+184>>2]=l;q[a+76>>2]=u;q[a+80>>2]=v;q[a+68>>2]=h;q[a+72>>2]=i;q[a+176>>2]=A;q[a+60>>2]=C}h=s[y+22>>1];if((h|0)!=(B&65535)){d=q[a+12>>2];q[e+84>>2]=q[d+24>>2]+(B<<3);p[e+82>>1]=s[d+22>>1]-B;l=s[b+4>>1];c=l&200;if(c){ce(e+80|0,b+16|0);l=s[b+4>>1]}j=q[b+12>>2];m=q[b+8>>2];z:{A:{if(!(l&2)){c=m+x|0;if(c>>>0>=B>>>0){break x}i=j+B|0;if(i>>>0>=p[d+22>>1]>>>0){break x}g=c<<3;c=q[d+24>>2];d=g+c|0;c=c+(i<<3)|0;j=q[d+4>>2]-q[c+4>>2]|0;m=q[d>>2]-q[c>>2]|0;break A}if(!(j|m)){break z}if(!(!(l&2048)|!c)){d=fg(q[b+16>>2],q[b+20>>2]);c=fg(q[b+28>>2],q[b+24>>2]);m=Ma(m,d);j=Ma(j,c)}if(o[a+16|0]&1){break A}d=q[q[a+4>>2]+44>>2];c=q[d+8>>2];m=Ma(m,q[d+4>>2]);j=Ma(j,c);if(!(r[b+4|0]&4)|r[a+16|0]&2){break A}m=q[q[q[a>>2]+96>>2]+64>>2]==35?m+32&-64:m;j=j+32&-64}if(!(j|m)){break z}oc(e+80|0,m,j)}q[e+172>>2]=0}f=f+1|0;if((E|0)!=(f|0)){continue}break}c=h<<16>>16}q[a+164>>2]=G;q[a+28>>2]=I;q[a+24>>2]=J;if(!b|q[a+16>>2]&2|(!(s[b+4>>1]&256)|c>>>0<=x>>>0)){break c}d=q[a+12>>2];f=p[d+22>>1];b=f+4|0;B:{if(!(p[d+58>>1]+(b+f|0)>>>0>t[d+4>>2]?b:0)){q[e>>2]=0;break B}c=Xb(d,b,0);q[e>>2]=c;if(c){break w}f=p[d+22>>1]}b=q[a+72>>2];c=q[d+24>>2]+(f<<3)|0;q[c>>2]=q[a+68>>2];q[c+4>>2]=b;b=q[a+80>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+8>>2]=q[a+76>>2];q[c+12>>2]=b;b=q[a+184>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+16>>2]=q[a+180>>2];q[c+20>>2]=b;b=q[a+192>>2];c=q[d+24>>2]+(p[d+22>>1]<<3)|0;q[c+24>>2]=q[a+188>>2];q[c+28>>2]=b;o[q[d+28>>2]+p[d+22>>1]|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+1|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+2|0]=0;o[(p[d+22>>1]+q[d+28>>2]|0)+3|0]=0;b=q[a+24>>2];c=Xa(b,q[a+164>>2]);q[e>>2]=c;if(c){break w}d=ib(b,e);c=q[e>>2];if(c){break w}C:{if(d>>>0>s[q[a>>2]+286>>1]){c=22;if(q[a+28>>2]<(d|0)){break w}c=0;m=q[a+156>>2];j=q[m+392>>2];if(j>>>0>>0){K=m,L=Oa(q[m+8>>2],1,j,d,q[m+396>>2],e+80|0),q[K+396>>2]=L;m=q[a+156>>2];c=q[e+80>>2];j=c?j:d}q[e>>2]=c;q[m+392>>2]=j&65535;if(!c){break C}break w}if(!d){q[e+172>>2]=0;break c}m=q[a+156>>2]}c=Wb(b,q[m+396>>2],d);q[e>>2]=c;if(c){break w}c=q[q[a+156>>2]+396>>2];b=q[a+8>>2];q[b+140>>2]=d;q[b+136>>2]=c;c=q[a+12>>2];f=s[c+22>>1]-x|0;p[a+128>>1]=f;p[a+130>>1]=s[c+20>>1]-D;b=x<<3;q[a+132>>2]=b+q[c+40>>2];q[a+136>>2]=b+q[c+24>>2];q[a+140>>2]=b+q[c+44>>2];i=x+q[c+28>>2]|0;q[a+144>>2]=i;c=q[c+32>>2];p[a+152>>1]=x;b=1;q[a+148>>2]=c+(D<<1);d=a;if(f&65535){o[i|0]=r[i|0]&231;c=s[a+128>>1];if(c>>>0>=2){while(1){c=q[a+144>>2]+b|0;o[c|0]=r[c|0]&231;b=b+1|0;c=s[a+128>>1];if(b>>>0>>0){continue}break}}b=c+4|0}else{b=4}p[d+128>>1]=b;K=e,L=to(a,1),q[K+172>>2]=L;break c}Lg(y);q[q[a+8>>2]+72>>2]=1668246896;break c}q[e+172>>2]=21;break c}q[e+172>>2]=c;break c}n[q[w+524>>2]](a)}if(!F){break a}a=q[q[w+128>>2]+52>>2];n[q[q[a>>2]+4>>2]](q[a+4>>2],e+120|0)}Da=e+176|0;return q[e+172>>2]}function At(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0;k=Da-16|0;Da=k;q[c+32>>2]=0;o[c+164|0]=0;f=q[c+76>>2];a:{if(f>>>0>134217726){break a}g=f<<5;q[c+36>>2]=g>>>0>8192?g:8192;if(f>>>0>67108862){break a}f=f<<6;q[c+40>>2]=f>>>0>1024?f:1024}o[c+164|0]=48;z=q[c+48>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}j=q[c+76>>2];if(j){g=q[a+96>>2];i=q[c+88>>2];f=0;while(1){q[(i+w(f,20)|0)+4>>2]=g;f=f+1|0;if((j|0)!=(f|0)){continue}break}while(1){f=i+w(h,20)|0;Gf(f,c);g=s[f+16>>1];b:{if(!((g&31)!=24|q[f>>2]+ -127995>>>0>4)){p[f+16>>1]=g|128;break b}if((g&287)==257){p[f+16>>1]=g|128;f=h+1|0;if(f>>>0>=j>>>0){break b}g=i+w(f,20)|0;if(!hS(q[g>>2])){break b}Gf(g,c);p[g+16>>1]=s[g+16>>1]|128;h=f;break b}if(q[f>>2]+ -917536>>>0>95){break b}p[f+16>>1]=g|128}h=h+1|0;if(h>>>0>>0){continue}break}}c:{if(!(1<<(s[q[c+88>>2]+16>>1]&31)&7168)|(q[c+144>>2]|(q[c+16>>2]&17)!=1)){break c}q[k+12>>2]=0;f=q[b+72>>2];if(!n[q[f+156>>2]](b,q[b+76>>2],9676,k+12|0,q[f+20>>2])){break c}f=q[c+12>>2];h=n[q[f+24>>2]](f,9676,q[f+56>>2])|0;q[c+32>>2]=q[c+32>>2]|1;if(!(!(1<>>0>31)){h=r[(n[q[f+16>>2]](f,9676,q[f+48>>2])|0)+271792|0]<<8|h|128}if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;f=q[c+88>>2];g=q[f+4>>2];j=q[f+8>>2];if(Va(c,0,1)){f=q[c+92>>2]+w(q[c+80>>2],20)|0;p[f+18>>1]=0;p[f+16>>1]=h;q[f+12>>2]=0;q[f+8>>2]=j;q[f+4>>2]=g;q[f>>2]=9676;q[c+80>>2]=q[c+80>>2]+1}f=q[c+72>>2];d:{if(f>>>0>=t[c+76>>2]){break d}while(1){if(!r[c+68|0]){break d}e:{if(r[c+69|0]){h=c;f:{if(q[c+92>>2]==q[c+88>>2]){g=f;if(q[c+80>>2]==(f|0)){break f}}if(!Va(c,1,1)){f=q[c+72>>2];break e}g=q[c+88>>2]+w(q[c+72>>2],20)|0;j=q[g+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;q[f>>2]=q[g>>2];q[f+4>>2]=j;q[f+16>>2]=q[g+16>>2];j=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=j;f=q[c+72>>2];g=q[c+80>>2]}q[h+80>>2]=g+1}f=f+1|0;q[c+72>>2]=f}if(f>>>0>2]){continue}break}}Kc(c)}g:{if(!(o[c+32|0]&1)){break g}j=q[c+76>>2];if(!q[c+20>>2]){if(!j){break g}f=j+ -1|0;i=q[c+88>>2];g=0;while(1){h:{if((f|0)==(g|0)){g=j;break h}g=g+1|0;if(r[(w(g,20)+i|0)+16|0]&128){continue}}break}h=j;while(1){if(g-l>>>0>=2){kc(c,l,g);i=q[c+88>>2];h=q[c+76>>2]}f=g+1|0;l=h>>>0>f>>>0?h:f;f=g;while(1){i:{f=f+1|0;if(f>>>0>=h>>>0){f=l;break i}if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}v=g>>>0>>0;l=g;g=f;if(v){continue}break}break g}if(!j){break g}g=j+ -1|0;i=q[c+88>>2];f=0;while(1){j:{if((f|0)==(g|0)){f=j;break j}f=f+1|0;if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}h=j;while(1){g=f;if(f-l>>>0>=2){rb(c,l,g);i=q[c+88>>2];h=q[c+76>>2]}f=g+1|0;l=h>>>0>f>>>0?h:f;f=g;while(1){k:{f=f+1|0;if(f>>>0>=h>>>0){f=l;break k}if(r[(w(f,20)+i|0)+16|0]&128){continue}}break}l=g;if(g>>>0>>0){continue}break}}f=q[c+48>>2];g=aj(q[c+52>>2]);h=f&-2;l:{m:{if((h|0)==4){if((f|0)==(g|0)){break l}if(g){break m}break l}if((f|0)==6|(h|0)!=6){break l}}j=q[c+76>>2];n:{if(q[c+20>>2]==1){if(!j){break n}f=j+ -1|0;h=q[c+88>>2];g=0;while(1){o:{if((f|0)==(g|0)){g=j;break o}g=g+1|0;if(r[(h+w(g,20)|0)+16|0]&128){continue}}break}h=0;while(1){if(g-h>>>0>=2){kc(c,h,g)}$s(c,h,g);i=q[c+76>>2];f=g+1|0;h=i>>>0>f>>>0?i:f;l=q[c+88>>2];f=g;while(1){p:{f=f+1|0;if(f>>>0>=i>>>0){f=h;break p}if(r[(l+w(f,20)|0)+16|0]&128){continue}}break}i=g>>>0>>0;h=g;g=f;if(i){continue}break}break n}if(!j){break n}g=j+ -1|0;h=q[c+88>>2];f=0;while(1){q:{if((f|0)==(g|0)){f=j;break q}f=f+1|0;if(r[(h+w(f,20)|0)+16|0]&128){continue}}break}g=0;while(1){h=g;g=f;$s(c,h,f);i=q[c+76>>2];h=f+1|0;h=i>>>0>h>>>0?i:h;l=q[c+88>>2];while(1){r:{f=f+1|0;if(f>>>0>=i>>>0){f=h;break r}if(r[(l+w(f,20)|0)+16|0]&128){continue}}break}if(g>>>0>>0){continue}break}}_c(c);q[c+48>>2]=q[c+48>>2]^1}l=a+60|0;f=q[q[a+80>>2]+16>>2];if(f){n[f](l,c,b)}v=q[c+88>>2];h=q[c+76>>2];if(!(!h|(z&-3)!=5)){m=q[a+188>>2];g=q[c+12>>2];i=0;while(1){f=v+w(i,20)|0;j=n[q[g+28>>2]](g,q[f>>2],q[g+60>>2])|0;s:{t:{if((j|0)==q[f>>2]){break t}q[k+12>>2]=0;u=q[b+72>>2];if(!n[q[u+156>>2]](b,q[b+76>>2],j,k+12|0,q[u+20>>2])){break t}q[f>>2]=j;break s}q[f+4>>2]=m|q[f+4>>2]}i=i+1|0;if((h|0)!=(i|0)){continue}break}}if(!(s[a+200>>1]&8|(!h|(z&-2)!=6))){f=0;while(1){m=v+w(f,20)|0;g=q[m>>2];j=g>>>8|0;i=j+ -32|0;u:{v:{if(i>>>0>16){j=j+ -254|0;if(j>>>0>1){break u}if(j-1){i=65076;if((g|0)==65103){break v}break u}j=g+ -65281|0;if(j>>>0>92){break u}i=65045;w:{switch(j-1|0){case 6:i=65077;break v;case 7:i=65078;break v;case 10:i=65040;break v;case 24:i=65043;break v;case 25:i=65044;break v;case 29:i=65046;break v;case 57:i=65095;break v;case 59:i=65096;break v;case 61:i=65075;break v;case 89:i=65079;break v;case 0:case 1:case 2:case 3:case 4:case 5: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 26:case 27:case 28: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 58:case 60: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 90:break u;case 91:break w;default:break v}}i=65080;break v}x:{switch(i-1|0){case 15:j=g+ -12289|0;if(j>>>0>=23|!(7995267>>>j&1)){break u}i=q[(j<<2)+270352>>2];break v;case 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 u;default:break x}}j=g+ -8211|0;if(j>>>0>19){break u}i=65074;y:{switch(j-1|0){case 0:i=65073;break v;case 17:i=65072;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:case 15:case 16:break u;case 18:break y;default:break v}}i=65049}if((g|0)==(i|0)){break u}q[k+12>>2]=0;g=q[b+72>>2];if(!n[q[g+156>>2]](b,q[b+76>>2],i,k+12|0,q[g+20>>2])){break u}q[m>>2]=i}f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=r[c+164|0];z:{if(!(f&15)){o[c+164|0]=f|15;lT(l,c,b);A:{if(!(o[c+32|0]&1)|!(r[a+200|0]&4)){break A}B:{if((q[c+48>>2]&-3)==4){f=q[a+176>>2];v=f|q[a+180>>2];g=a+184|0;break B}f=q[a+176>>2];v=f|q[a+184>>2];g=a+180|0}j=q[c+76>>2];if(!j){break A}x=q[g>>2]|f;m=q[c+88>>2];h=0;while(1){u=m+w(h,20)|0;if(q[u>>2]==8260){i=h+1|0;g=h;while(1){f=g;if(f){g=f+ -1|0;if((s[(m+w(g,20)|0)+16>>1]&31)==13){continue}}break}g=i;C:{if(g>>>0>=j>>>0){break C}while(1){if((s[(m+w(g,20)|0)+16>>1]&31)!=13){break C}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}if(g-f>>>0>=2){rb(c,f,g)}if(f>>>0>>0){while(1){y=m+w(f,20)|0;q[y+4>>2]=q[y+4>>2]|v;f=f+1|0;if((h|0)!=(f|0)){continue}break}}q[u+4>>2]=q[u+4>>2]|q[a+176>>2];if(i>>>0>>0){while(1){f=m+w(i,20)|0;q[f+4>>2]=x|q[f+4>>2];i=i+1|0;if((i|0)!=(g|0)){continue}break}}h=g+ -1|0}h=h+1|0;if(h>>>0>>0){continue}break}}f=q[q[a+80>>2]+36>>2];if(f){n[f](l,c,b)}if(e){i=0;while(1){j=(i<<4)+d|0;x=q[j+8>>2];if(!(q[j+12>>2]==-1?!x:0)){A=c;B=q[j+4>>2];D:{E:{f=q[a+104>>2];if((f|0)<1){break E}v=q[j>>2];y=q[a+108>>2];f=f+ -1|0;h=0;while(1){F:{m=f+h>>>1|0;u=y+w(m,36)|0;g=q[u>>2];G:{if(g>>>0>v>>>0){f=m+ -1|0;break G}if(g>>>0>=v>>>0){break F}h=m+1|0}if((h|0)<=(f|0)){continue}break E}break}h=q[u+24>>2];f=q[u+20>>2];break D}h=0;f=0}fS(A,B<>2])}i=i+1|0;if((i|0)!=(e|0)){continue}break}}if(r[a+200|0]&128){rT(c)}d=q[c+76>>2];if(d){e=q[c+88>>2];f=0;while(1){g=e+w(f,20)|0;q[g>>2]=q[g+12>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}}q[c+44>>2]=2;H:{d=r[c+164|0];if((d&15)==15){o[c+164|0]=d|15;A$(b,c);f=s[a+200>>1];I:{if(!(f&64)){break I}e=q[c+76>>2];if(!e){break I}g=q[c+88>>2];f=0;while(1){d=g+w(f,20)|0;h=s[d+16>>1];J:{if((h&31)==12){i=8;if(!(h&32)|r[d+12|0]&32){break J}}i=2}p[d+12>>1]=i;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=s[a+200>>1]}K:{if(f&4096){Sx(l,b,c);break K}w$(a+84|0,l,b,c)}bt(c);e=q[c+96>>2];f=q[c+88>>2];d=q[c+76>>2];L:{if((q[c+48>>2]&-2)==4){g=q[b+72>>2];n[q[g+176>>2]](b,q[b+76>>2],d,f,20,e,20,q[g+40>>2]);if(!d|!gh(b,9)){break L}h=0;while(1){g=w(h,20);Mf(b,q[g+f>>2],k+12|0,k+8|0);g=e+g|0;q[g+8>>2]=q[g+8>>2]-q[k+12>>2];q[g+12>>2]=q[g+12>>2]-q[k+8>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}break L}g=q[b+72>>2];n[q[g+180>>2]](b,q[b+76>>2],d,f,20,e+4|0,20,q[g+44>>2]);if(!d){break L}h=0;while(1){g=w(h,20);Sv(b,q[g+f>>2],k+12|0,k+8|0);g=e+g|0;q[g+8>>2]=q[g+8>>2]-q[k+12>>2];q[g+12>>2]=q[g+12>>2]-q[k+8>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(r[c+32|0]&4){nT(b,c)}g=q[c+96>>2];j=q[c+88>>2];e=q[c+76>>2];v=0;v=o[a+201|0]&1?(q[c+48>>2]&-3)==4:v;if(!(!e|!gh(b,9))){h=0;while(1){d=w(h,20);Mf(b,q[d+j>>2],k+12|0,k+8|0);d=d+g|0;q[d+8>>2]=q[d+8>>2]+q[k+12>>2];q[d+12>>2]=q[d+12>>2]+q[k+8>>2];h=h+1|0;if((e|0)!=(h|0)){continue}break}}y$(c);M:{if(!(r[a+200|0]&32)|q[q[a+80>>2]+48>>2]!=1){break M}m=q[c+76>>2];if(!m){break M}u=q[c+88>>2];f=0;while(1){h=w(f,20);if(r[(h+u|0)+12|0]&8){i=q[c+96>>2];if(v){d=h+i|0;q[d+8>>2]=q[d+8>>2]-q[d>>2];q[d+12>>2]=q[d+12>>2]-q[d+4>>2]}d=h+i|0;q[d>>2]=0;q[d+4>>2]=0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}dT(l,b,c);N:{if(!(r[a+200|0]&32)|q[q[a+80>>2]+48>>2]!=2){break N}m=q[c+76>>2];if(!m){break N}u=q[c+88>>2];f=0;while(1){h=w(f,20);if(r[(h+u|0)+12|0]&8){i=q[c+96>>2];if(v){d=h+i|0;q[d+8>>2]=q[d+8>>2]-q[d>>2];q[d+12>>2]=q[d+12>>2]-q[d+4>>2]}d=h+i|0;q[d>>2]=0;q[d+4>>2]=0}f=f+1|0;if((m|0)!=(f|0)){continue}break}}O:{if(!(r[c+32|0]&2)|r[c+16|0]&12){break O}h=q[c+76>>2];if(!h){break O}i=q[c+96>>2];m=q[c+88>>2];f=0;while(1){d=w(f,20);u=d+m|0;if(!(!(r[u+16|0]&32)|r[u+12|0]&32)){d=d+i|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(r[a+201|0]&16){Px(c)}x$(c);if(!(!e|!gh(b,9))){h=0;while(1){d=w(h,20);Mf(b,q[d+j>>2],k+12|0,k+8|0);d=d+g|0;q[d+8>>2]=q[d+8>>2]-q[k+12>>2];q[d+12>>2]=q[d+12>>2]-q[k+8>>2];h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(r[a+200|0]&128){qT(l,b,c,v)}if((q[c+48>>2]&-3)==5){_c(c)}d=r[c+164|0];if(!(d&8)){break z}o[c+164|0]=d&247;if(!(d&4)){break z}o[c+164|0]=d&243;if((d&3)!=3){break z}o[c+164|0]=d&240;P:{if(!(r[c+32|0]&2)){break P}e=q[c+16>>2];if(e&4){break P}g=q[c+88>>2];d=q[c+76>>2];f=q[c+28>>2];q[k+12>>2]=f;Q:{if(e&8){break Q}if(!f){q[k+12>>2]=0;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],32,k+12|0,q[e+20>>2])){break Q}}if(!d){break P}f=0;while(1){e=g+w(f,20)|0;if(!(!(r[e+16|0]&32)|r[e+12|0]&32)){q[e>>2]=q[k+12>>2]}f=f+1|0;if((d|0)!=(f|0)){continue}break}break P}Uv(c,565)}if(r[a+201|0]&16){Uv(c,429)}a=q[q[a+80>>2]+20>>2];if(a){n[a](l,c,b)}R:{if(!(r[c+32|0]&16)){break R}b=q[c+76>>2];if(!b){break R}a=b+ -1|0;e=q[c+88>>2];d=q[e+8>>2];f=0;while(1){S:{if((a|0)==(f|0)){f=b;break S}f=f+1|0;if((d|0)==q[(e+w(f,20)|0)+8>>2]){continue}}break}i=0;while(1){a=f;g=i;T:{if(g>>>0>=f>>>0){break T}while(1){if(!(o[(e+w(g,20)|0)+4|0]&1)){g=g+1|0;if((a|0)!=(g|0)){continue}break T}break}while(1){d=e+w(i,20)|0;q[d+4>>2]=q[d+4>>2]|1;i=i+1|0;if((a|0)!=(i|0)){continue}break}}d=a+1|0;d=b>>>0>d>>>0?b:d;g=d+ -1|0;h=q[(e+w(a,20)|0)+8>>2];f=a;while(1){U:{if((f|0)==(g|0)){f=d;break U}f=f+1|0;if((h|0)==q[(e+w(f,20)|0)+8>>2]){continue}}break}i=a;if(i>>>0>>0){continue}break}}if((r[c+164|0]&48)!=48){break H}o[c+164|0]=0;q[c+36>>2]=1073741823;q[c+40>>2]=536870911;q[c+48>>2]=z;Da=k+16|0;return 1}break z}break z}I(270268,270240,150,270255);F()}I(270316,270240,160,270301);F()}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,p=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;p=Da-32|0;Da=p;q[b+12>>2]=2;q[p+8>>2]=0;q[p+12>>2]=0;q[b>>2]=q[a+24>>2];o[b+8|0]=r[a+32|0];Jm(q[a>>2],1196643650,q[a+36>>2],q[a+44>>2],p+24|0,p+16|0);q[b+4>>2]=q[a+28>>2];o[b+9|0]=r[a+33|0];Jm(q[a>>2],1196445523,q[a+40>>2],q[a+48>>2],p+28|0,p+20|0);d=q[a- -64>>2];a:{if(!d){break a}um(q[a+68>>2],d,28,458);i=1;g=q[a+64>>2];if(g>>>0>1){while(1){x=g>>>0>i>>>0;b:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break b}d=q[a+68>>2]+w(i,28)|0}h=q[d>>2];j=g>>>0>e>>>0;c:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break c}d=q[a+68>>2]+w(e,28)|0}f=q[d>>2];d:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+68>>2]+w(i,28)|0}e:{if((f|0)!=(h|0)){e=e+1|0;f:{if(g>>>0<=e>>>0){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break f}f=q[a+68>>2]+w(e,28)|0}g=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=g;q[f+24>>2]=q[d+24>>2];g=q[d+20>>2];q[f+16>>2]=q[d+16>>2];q[f+20>>2]=g;g=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=g;break e}f=q[d+12>>2]&1;g:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}d=q[a+68>>2]+w(e,28)|0}g=q[d+12>>2];h:{if(f){q[d+12>>2]=g|1;i:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+68>>2]+w(i,28)|0}f=q[d+8>>2];j:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}d=q[a+68>>2]+w(e,28)|0}q[d+8>>2]=f;k:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break k}d=q[a+68>>2]+w(i,28)|0}f=q[d+16>>2];if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;q[160748]=f;break h}q[(q[a+68>>2]+w(e,28)|0)+16>>2]=f;break h}if(g&1){l:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+68>>2]+w(e,28)|0}q[d+12>>2]=q[d+12>>2]^1}m:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[a+68>>2]+w(e,28)|0}n:{if(!x){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;h=642976;break n}h=q[a+68>>2]+w(i,28)|0}f=q[h+8>>2];d=q[d+8>>2];f=d>>>0>>0?f:d;o:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break o}d=q[a+68>>2]+w(e,28)|0}q[d+8>>2]=f}p:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+68>>2]+w(i,28)|0}q:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;g=642976;break q}g=q[a+68>>2]+w(e,28)|0;q[g+12>>2]=q[g+12>>2]|q[d+12>>2]&2}r:{if(!x){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break r}d=q[a+68>>2]+w(i,28)|0}f=q[d+20>>2];d=q[g+20>>2];f=d>>>0>f>>>0?f:d;s:{if(!j){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break s}d=q[a+68>>2]+w(e,28)|0}q[d+20>>2]=f;f=q[a+64>>2];g=f>>>0>e>>>0;t:{if(!g){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break t}d=q[a+68>>2]+w(e,28)|0}u:{if(f>>>0<=i>>>0){q[160750]=q[67834];f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;h=642976;break u}h=q[a+68>>2]+w(i,28)|0}f=q[h+24>>2];d=q[d+24>>2];f=d>>>0>f>>>0?f:d;v:{if(!g){q[160750]=q[67834];d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break v}d=q[a+68>>2]+w(e,28)|0}q[d+24>>2]=f}i=i+1|0;g=q[a+64>>2];if(i>>>0>>0){continue}break}}d=e+1|0;d=(d|0)>0?d:0;if(d>>>0>>0){q[a+64>>2]=d;g=d}if(!g){break a}u=p+4|0;y=q[p+12>>2];x=q[p+8>>2];f=2;while(1){k=q[a+68>>2]+w(l,28)|0;i=q[k+8>>2];w:{x:{if(o[k+12|0]&1){d=0;if((i|0)==1){break x}}if(!i){break w}d=i?32-z(i)|0:0;d=d>>>0<8?d:8}d=d+f|0;if(d>>>0>32){break w}g=q[k>>2];if((g|0)==q[p+16>>2]){x=q[k+20>>2]}i=Im(q[a>>2],1196643650,q[a+36>>2],q[a+44>>2],g,p);g=q[k>>2];if((g|0)==q[p+20>>2]){y=q[k+24>>2]}j=0;y:{z:{if(Im(q[a>>2],1196445523,q[a+40>>2],q[a+48>>2],g,u)|i){break z}e=q[k+12>>2];if(e&16){if(Lm(q[a>>2],1196643650,q[k>>2],p)|Lm(q[a>>2],1196445523,q[k>>2],u)){break z}e=q[k+12>>2]}j=1;if(!(e&2)){break y}}A:{B:{C:{g=q[b+16>>2];if((g|0)>=0){h=g;m=q[b+20>>2];i=m+1|0;i=(i|0)>0?i:0;if(g>>>0>=i>>>0){break B}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break}if(!(h>>>0>>0|h>>>0>119304646)){g=db(q[b+24>>2],w(h,36));if(g){break C}}q[b+16>>2]=-1}q[160752]=q[67836];g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break A}q[b+16>>2]=h;q[b+24>>2]=g;m=q[b+20>>2]}if(i>>>0>m>>>0){Na(q[b+24>>2]+w(m,36)|0,0,w(i-m|0,36))}q[b+20>>2]=i;g=(q[b+24>>2]+w(i,36)|0)+ -36|0}q[g>>2]=q[k>>2];q[g+4>>2]=q[p>>2];q[g+8>>2]=q[p+4>>2];q[g+12>>2]=q[k+20>>2];q[g+16>>2]=q[k+24>>2];i=(r[k+12|0]>>>1&2|r[g+32|0]&-3)^2;o[g+32|0]=i;i=(r[k+12|0]>>>1&4|i&-5)^4;o[g+32|0]=i;h=i&-9|r[k+12|0]>>>2&8;o[g+32|0]=h;D:{if(!(!(o[k+12|0]&1)|q[k+8>>2]!=1)){q[g+20>>2]=1;i=2;d=f;f=1;break D}q[g+20>>2]=f;i=(1<>2]=q[b+12>>2]|i&q[k+16>>2]<>2]=i;o[g+32|0]=h&254|j;q[g+28>>2]=1<>2]}l=l+1|0;if(l>>>0>>0){continue}break}q[p+12>>2]=y;q[p+8>>2]=x;if(!g){break a}q[a+64>>2]=0}_X(a);ZX(a);f=q[67829];k=f;v=q[67828];d=(f&65535)<<16|v>>>16;x=f;g=v;y=0;while(1){A=y<<2;E=A+a|0;if(q[E+52>>2]){F=c+A|0;f=w(y,12);n=f+b|0;C=n;D=a+f|0;G=D;H=A+(p+8|0)|0;I=A+(p+24|0)|0;f=0;i=0;B=0;while(1){h=q[I>>2];if(!((h|0)==65535|q[H>>2]!=(f|0))){Eu(a,b,y,h,q[F>>2],2,1,1,0)}l=0;e=q[b+20>>2];if(e){while(1){E:{if(e>>>0<=l>>>0){q[160752]=q[67836];j=q[67835];q[160750]=q[67834];q[160751]=j;j=q[67833];q[160748]=q[67832];q[160749]=j;j=q[67831];q[160746]=q[67830];q[160747]=j;q[160744]=v;q[160745]=k;h=642976;break E}h=q[b+24>>2]+w(l,36)|0}if(q[(h+A|0)+12>>2]==(f|0)){u=a;j=b;h=y;e=q[b+20>>2];F:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];m=642976;break F}m=q[b+24>>2]+w(l,36)|0}J=q[(m+A|0)+4>>2];K=q[F>>2];G:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];m=642976;break G}m=q[b+24>>2]+w(l,36)|0}L=q[m+24>>2];H:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];m=642976;break H}m=q[b+24>>2]+w(l,36)|0}M=(r[m+32|0]&2)!=0;I:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=q[b+20>>2];m=642976;break I}m=q[b+24>>2]+w(l,36)|0}m=(r[m+32|0]&4)!=0;J:{if(e>>>0<=l>>>0){q[160752]=q[67836];e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;q[160744]=v;q[160745]=k;e=642976;break J}e=q[b+24>>2]+w(l,36)|0}Eu(u,j,h,J,K,L,M,m,(r[e+32|0]&8)>>>3|0)}l=l+1|0;e=q[b+20>>2];if(l>>>0>>0){continue}break}}h=q[n+32>>2];K:{if(h>>>0<=i>>>0){j=h;break K}um(q[n+36>>2]+(i<<3)|0,h-i|0,8,459);l=i+1|0;e=q[n+32>>2];if(l>>>0>>0){while(1){L:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[n+32>>2];j=g;break L}j=s[q[n+36>>2]+(l<<3)>>1]}M:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=q[n+32>>2];h=g;break M}h=s[q[n+36>>2]+(i<<3)>>1]}N:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;u=642976;break N}u=q[n+36>>2]+(l<<3)|0}O:{if((j&65535)!=(h&65535)){i=i+1|0;P:{if(t[n+32>>2]<=i>>>0){q[160744]=v;q[160745]=k;j=642976;break P}j=q[n+36>>2]+(i<<3)|0}h=q[u+4>>2];q[j>>2]=q[u>>2];q[j+4>>2]=h;break O}j=q[u+4>>2];e=q[n+32>>2];Q:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=q[n+32>>2];m=642976;h=x;break Q}m=q[n+36>>2]+(i<<3)|0;h=q[m+4>>2]}q[m+4>>2]=h|j;R:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[n+32>>2];h=d;break R}h=r[(q[n+36>>2]+(l<<3)|0)+2|0]}S:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=642976;j=d;break S}e=q[n+36>>2]+(i<<3)|0;j=r[e+2|0]}o[e+2|0]=j&(h|254);e=q[n+32>>2];T:{if(e>>>0<=l>>>0){q[160744]=v;q[160745]=k;e=q[n+32>>2];h=d;break T}h=r[(q[n+36>>2]+(l<<3)|0)+2|0]}U:{if(e>>>0<=i>>>0){q[160744]=v;q[160745]=k;e=642976;j=d;break U}e=q[n+36>>2]+(i<<3)|0;j=r[e+2|0]}o[e+2|0]=j&(h|253)}l=l+1|0;e=q[n+32>>2];if(l>>>0>>0){continue}break}l=i+1|0}h=(l|0)>0?l:0;j=e;if(h>>>0>=e>>>0){break K}q[n+32>>2]=h;j=h}i=j;V:{if(B>>>0>=t[D+76>>2]){break V}e=B<<3;if(q[e+q[G+80>>2]>>2]!=(f|0)){break V}W:{X:{Y:{h=q[n+52>>2];if((h|0)>=0){j=h;m=q[n+56>>2];u=m+1|0;u=(u|0)>0?u:0;if(h>>>0>=u>>>0){break X}while(1){j=((j>>>1|0)+j|0)+8|0;if(j>>>0<=u>>>0){continue}break}if(!(j>>>0>>0|j>>>0>536870910)){h=db(q[C+60>>2],j<<3);if(h){break Y}}q[n+52>>2]=-1}q[160744]=v;q[160745]=k;h=642976;break W}q[C+60>>2]=h;q[n+52>>2]=j;m=q[n+56>>2]}if(u>>>0>m>>>0){Na(q[C+60>>2]+(m<<3)|0,0,u-m<<3)}q[n+56>>2]=u;h=(q[C+60>>2]+(u<<3)|0)+ -8|0}q[h>>2]=i;Z:{if(t[D+76>>2]<=B>>>0){q[160744]=v;q[160745]=k;j=x;break Z}j=q[(q[G+80>>2]+e|0)+4>>2]}q[h+4>>2]=j;B=B+1|0}f=f+1|0;if(f>>>0>2]){continue}break}}y=y+1|0;if((y|0)!=2){continue}break}Da=p+32|0}function QA(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;i=Da-16|0;Da=i;q[i+8>>2]=0;g=q[e+32>>2];k=q[g+100>>2];a:{b:{c:{d:{if(Ra(a,26360,7)){break d}c=r[a+7|0];if(c>>>0>32){break d}e:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break d;default:break e}}q[i+12>>2]=0;d=q[g+88>>2];h=d;d=(c?-8:-7)+b|0;f=d+1|0;h=Oa(k,1,h,h+f|0,q[g+84>>2],i+12|0);q[g+84>>2]=h;b=q[i+12>>2];if(!b){z=Qa(h+q[g+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,A=10,o[z|0]=A;q[g+88>>2]=f+q[g+88>>2];b=q[i+12>>2]}q[i+8>>2]=b;break c}h=i;f:{g:{c=q[e>>2];h:{if(!(c&32)){i:{j:{if(Ra(a,27757,5)){break j}c=r[a+5|0];if(c>>>0>32){break j}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break j;default:break i}}b=180;break h}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}a=0;c=q[q[e+40>>2]+4>>2];k:{if(!c){break k}b=o[c|0];d=b&255;if(!d|!(r[(d>>>3|0)+28864|0]>>>(b&7)&1)){break k}while(1){if(a>>>0>429496727){a=-1;break k}a=r[b+28896|0]+w(a,10)|0;b=o[c+1|0];c=c+1|0;if(r[((b&248)>>>3|0)+28864|0]>>>(b&7)&1){continue}break}}q[g+48>>2]=a;q[e+4>>2]=a;b=t[e+60>>2]/20|0;if(a>>>0>b>>>0){q[g+48>>2]=b;q[e+4>>2]=b;a=b}if(!a){a=64;q[g+48>>2]=64;break g}if(a>>>0<1114112){break g}b=6;break h}l:{m:{n:{o:{p:{q:{r:{s:{if(Ra(a,29062,7)){break s}f=r[a+7|0];if(f>>>0>32){break s}t:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break s;default:break t}}if(!(c&4032)){break r}b=186;break h}u:{if(Ra(a,29070,7)){break u}d=r[a+7|0];if(d>>>0>32){break u}v:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break u;default:break v}}q[e+28>>2]=0;q[e>>2]=c&-4033;break f}d=c&64;if(q[q[e+36>>2]+4>>2]?0:!(!d|q[e+28>>2]!=-1)){break f}w:{if(Ra(a,29078,9)){break w}f=r[a+9|0];if(f>>>0>32){break w}x:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break w;default:break x}}if(c&4032){break l}c=q[e+24>>2];if(c){n[q[k+8>>2]](k,c)}q[e+24>>2]=0;b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}a=q[e+48>>2];if(a>>>0<=1){if(a-1){break m}q[e+48>>2]=0;b=3;break h}d=a+ -1|0;a=0;b=1;while(1){c=q[e+40>>2];q[c+(a<<2)>>2]=q[c+(b<<2)>>2];b=b+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}q[e+48>>2]=d;if(!d){break m}b=0;c=q[q[e+40>>2]>>2];a=c;while(1){f=r[a|0];if(f){while(1){o[b+c|0]=f;b=b+1|0;f=r[a+1|0];a=a+1|0;if(f){continue}break}d=q[e+48>>2]}j=j+1|0;if(j>>>0>>0){o[b+c|0]=32;d=q[e+48>>2];b=b+1|0}if(j>>>0>>0){a=q[q[e+40>>2]+(j<<2)>>2];continue}break}if((c|0)!=28849){o[b+c|0]=0;if(!c){break m}}a=b+1|0;d=Oa(k,1,0,a,0,i+8|0);q[e+24>>2]=d;b=q[i+8>>2];if(b){break b}Qa(d,c,a);q[e>>2]=q[e>>2]|64;break f}y:{if(Ra(a,29088,8)){break y}f=r[a+8|0];if(f>>>0>32){break y}z:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break y;default:break z}}if(!d){break l}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}h=q[e+40>>2];c=q[h+4>>2];if(!c){break p}d=r[c|0];if(!d){break p}if((d|0)==45){m=1;d=r[c+1|0];c=c+1|0}b=0;a=d<<24>>24;A:{if(!(r[((d&248)>>>3|0)+28864|0]>>>(a&7)&1)){break A}while(1){if((b|0)>214748362){b=2147483647;break A}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}j=e+28|0;a=m?0-b|0:b;B:{C:{if((a|0)<=-2){q[e+28>>2]=-1;break C}q[e+28>>2]=a;if((a|0)!=-1){break B}}if(t[e+48>>2]<3){break q}f=e;d=q[h+8>>2];c=0;D:{if(!d){break D}a=0;b=r[d|0];c=0;if(!b){break D}if((b|0)==45){b=r[d+1|0];d=d+1|0;a=1}c=0;h=r[((b&248)>>>3|0)+28864|0];b=b<<24>>24;E:{if(!(h>>>(b&7)&1)){break E}while(1){if((c|0)>214748362){c=2147483647;break E}c=r[b+28896|0]+w(c,10)|0;b=o[d+1|0];d=d+1|0;if(r[((b&248)>>>3|0)+28864|0]>>>(b&7)&1){continue}break}}c=a?0-c|0:c}a=c;q[f+28>>2]=a}if(a+1>>>0>=1114113){q[e+28>>2]=-1;break q}if((a|0)<0){break q}break o}if(c&128){d=q[e+28>>2]==-1;j=q[g+(d?64:52)>>2]+ -1|0;l=q[g+(d?68:56)>>2];if(c&2048){d=q[e+8>>2];b=l+w(j,36)|0;if(d>>>0>=s[b+14>>1]){if((c|0)<0){break f}q[e>>2]=c|-2147483648;break f}c=q[b+28>>2];b=q[b+24>>2]+w(c,d)|0;f=0;d=c<<1;F:{if(!d){c=0;break F}G:{while(1){c=f;h=r[c+a|0];f=h<<24>>24;if(!(r[(h>>>3|0)+29136|0]>>>(f&7)&1)){break G}o[b|0]=r[f+28896|0]+(r[b|0]<<4);f=c+1|0;if(!(!(c&1)|f>>>0>=d>>>0)){o[b+1|0]=0;b=b+1|0}if((d|0)!=(f|0)){continue}break}c=d;break F}f=q[e>>2];if(f&1073741824){break F}q[e>>2]=f|1073741824}f=s[(l+w(j,36)|0)+12>>1];if(f){o[b|0]=r[b|0]&r[(w(f,s[q[e+32>>2]+96>>1])&7)+29097|0]}H:{if((c|0)!=(d|0)){break H}a=r[a+d|0];if(!(r[(a>>>3|0)+29136|0]>>>(a&7)&1)){break H}a=q[e>>2];if(a&1073741824){break H}q[e>>2]=a|1073741824}q[e+8>>2]=q[e+8>>2]+1;break f}I:{if(Ra(a,29105,6)){break I}d=r[a+6|0];if(d>>>0>32){break I}J:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break I;default:break J}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}b=0;f=q[q[e+40>>2]+4>>2];K:{if(!f){break K}a=o[f|0];c=a&255;if(!c|!(r[(c>>>3|0)+28864|0]>>>(a&7)&1)){break K}while(1){if(b>>>0>429496727){b=-1;break K}b=r[a+28896|0]+w(b,10)|0;a=o[f+1|0];f=f+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[(l+w(j,36)|0)+8>>1]=b;q[e>>2]=q[e>>2]|256;break f}L:{if(Ra(a,29112,6)){break L}d=r[a+6|0];if(d>>>0>32){break L}M:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break L;default:break M}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}b=0;c=q[q[e+40>>2]+4>>2];N:{if(!c){break N}a=o[c|0];d=a&255;if(!d|!(r[(d>>>3|0)+28864|0]>>>(a&7)&1)){break N}while(1){if(b>>>0>429496727){b=-1;break N}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}d=l+w(j,36)|0;p[d+10>>1]=b;c=e;a=q[e>>2];if(!(a&256)){z=d,A=bb(b&65535,72e3,w(q[g+20>>2],q[g+16>>2])),p[z+8>>1]=A;a=q[e>>2]}q[c>>2]=a|512;break f}O:{if(Ra(a,29119,3)){break O}d=r[a+3|0];if(d>>>0>32){break O}P:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break O;default:break P}}b=vd(e+40|0,27728,a,b);q[i+8>>2]=b;if(b){break b}d=0;u=q[e+40>>2];b=q[u+4>>2];Q:{if(!b){break Q}a=o[b|0];f=a&255;if(!f){break Q}c=0;if(!(r[(f>>>3|0)+28864|0]>>>(a&7)&1)){break Q}while(1){d=65535;if((c&65535)>>>0>6551){break Q}d=a+28896|0;a=o[b+1|0];b=b+1|0;c=r[d|0]+w(c,10)|0;d=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}f=l+w(j,36)|0;p[f+12>>1]=d;b=q[u+8>>2];R:{if(!b){break R}a=o[b|0];h=a&255;if(!h){break R}c=0;if(!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break R}while(1){m=65535;if((c&65535)>>>0>6551){break R}h=a+28896|0;a=o[b+1|0];b=b+1|0;c=r[h|0]+w(c,10)|0;m=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[f+14>>1]=m;h=0;v=l+w(j,36)|0;x=v;c=q[u+12>>2];b=0;S:{if(!c){break S}f=0;a=r[c|0];b=0;if(!a){break S}if((a|0)==45){f=1;a=r[c+1|0];c=c+1|0}b=0;y=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;T:{if(!(y>>>(a&7)&1)){break T}while(1){if(b<<16>>16>3274){b=32767;break T}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=f?0-b|0:b}f=b;p[x+16>>1]=f;c=q[u+16>>2];U:{if(!c){break U}a=r[c|0];if(!a){break U}if((a|0)==45){h=1;a=r[c+1|0];c=c+1|0}b=0;x=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;V:{if(!(x>>>(a&7)&1)){break V}while(1){if(b<<16>>16>3274){b=32767;break V}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}h=h?0-b|0:b}a=0-h|0;p[v+22>>1]=a;b=h+m|0;p[v+20>>1]=b;p[v+18>>1]=h;c=d+f|0;p[e+22>>1]=c;h=p[e+18>>1];p[e+18>>1]=b<<16>>16>(h|0)?b:h;b=p[e+20>>1];p[e+20>>1]=(b|0)>16?a:b;a=p[e+16>>1];p[e+16>>1]=c<<16>>16>(a|0)?c:a;a=p[e+12>>1];b=f<<16>>16;p[e+12>>1]=(b|0)<(a|0)?f:a;a=p[e+14>>1];p[e+14>>1]=(b|0)>(a|0)?f:a;a=q[e>>2];if(!(a&512)){p[(l+w(j,36)|0)+10>>1]=d}W:{if(!q[q[e+36>>2]>>2]){break W}a=l+w(j,36)|0;b=bb(s[a+10>>1],72e3,w(q[g+20>>2],q[g+16>>2]));if(s[a+8>>1]==(b&65535)){a=q[e>>2];break W}p[a+8>>1]=b;a=q[e>>2]|4096;q[e>>2]=a}q[e>>2]=a|1024;break f}if(Ra(a,29123,6)){break m}a=r[a+6|0];if(a>>>0>32){break m}X:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break m;default:break X}}b=183;if(!(c&1024)){break h}a=l+w(j,36)|0;c=w(s[g+96>>1],s[a+12>>1]);b=c+7>>>3|0;q[a+28>>2]=b;Y:{if(c>>>0<=524280){a=w(b,s[a+14>>1]);if(a>>>0<65536){break Y}}b=184;break h}b=l+w(j,36)|0;p[b+32>>1]=a;z=b,A=Oa(k,1,0,a,0,i+8|0),q[z+24>>2]=A;b=q[i+8>>2];if(b){break b}q[e+8>>2]=0;q[e>>2]=q[e>>2]|2048;break f}b=182;break h}Gc(q[g+56>>2],q[g+52>>2],36,294);q[e>>2]=q[e>>2]&-2;q[d>>2]=295;break f}Z:{if(q[q[e+36>>2]+4>>2]){a=q[g+64>>2];_:{if((a|0)!=q[g+60>>2]){c=q[g+68>>2];break _}c=Oa(k,36,a,a+4|0,q[g+68>>2],i+8|0);q[g+68>>2]=c;b=q[i+8>>2];if(b){break b}q[g+60>>2]=q[g+60>>2]+4;a=q[g+64>>2]}b=w(a,36)+c|0;q[b>>2]=q[e+24>>2];q[g+64>>2]=a+1;q[b+4>>2]=a;a=e+24|0;break Z}a=q[e+24>>2];if(a){n[q[k+8>>2]](k,a)}a=e+24|0}q[a>>2]=0;break n}a=0;q[e+28>>2]=0;j=e+28|0}b=q[g+52>>2];$:{if((b|0)!=q[g+48>>2]){c=q[g+56>>2];break $}c=Oa(k,36,b,b- -64|0,q[g+56>>2],i+8|0);q[g+56>>2]=c;b=q[i+8>>2];if(b){break b}q[g+48>>2]=q[g+48>>2]- -64;b=q[g+52>>2];a=q[j>>2]}q[g+52>>2]=b+1;d=q[e+24>>2];b=w(b,36)+c|0;q[b+4>>2]=a;q[b>>2]=d}q[e+24>>2]=0;q[e>>2]=q[e>>2]&1073741695|128;break f}b=3;break h}b=181}q[h+8>>2]=b;break b}z=g,A=Oa(k,36,0,a,0,i+8|0),q[z+56>>2]=A;b=q[i+8>>2];if(b){break b}q[e>>2]=q[e>>2]|32}b=q[i+8>>2]}if(b){break b}b=0;break a}if(!(r[e|0]&64)){break a}a=q[e+24>>2];if(a){n[q[k+8>>2]](k,a)}q[e+24>>2]=0;b=q[i+8>>2]}Da=i+16|0;return b|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;l=Da-16|0;Da=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){f=q[161264];g=a>>>0<11?16:a+11&-8;a=g>>>3|0;b=f>>>a|0;if(b&3){c=a+((b^-1)&1)|0;e=c<<3;b=q[e+645104>>2];a=b+8|0;d=q[b+8>>2];e=e+645096|0;l:{if((d|0)==(e|0)){m=645056,n=_$(-2,c)&f,q[m>>2]=n;break l}q[d+12>>2]=e;q[e+8>>2]=d}c=c<<3;q[b+4>>2]=c|3;b=b+c|0;q[b+4>>2]=q[b+4>>2]|1;break a}i=q[161266];if(g>>>0<=i>>>0){break k}if(b){c=2<>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;c=(c|b)+(a>>>b|0)|0;d=c<<3;b=q[d+645104>>2];a=q[b+8>>2];d=d+645096|0;m:{if((a|0)==(d|0)){f=_$(-2,c)&f;q[161264]=f;break m}q[a+12>>2]=d;q[d+8>>2]=a}a=b+8|0;q[b+4>>2]=g|3;h=b+g|0;c=c<<3;e=c-g|0;q[h+4>>2]=e|1;q[b+c>>2]=e;if(i){c=i>>>3|0;b=(c<<3)+645096|0;d=q[161269];c=1<>2]}q[b+8>>2]=d;q[c+12>>2]=d;q[d+12>>2]=b;q[d+8>>2]=c}q[161269]=h;q[161266]=e;break a}k=q[161265];if(!k){break k}a=(k&0-k)+ -1|0;b=a>>>12&16;c=b;a=a>>>b|0;b=a>>>5&8;c=c|b;a=a>>>b|0;b=a>>>2&4;c=c|b;a=a>>>b|0;b=a>>>1&2;c=c|b;a=a>>>b|0;b=a>>>1&1;b=q[((c|b)+(a>>>b|0)<<2)+645360>>2];d=(q[b+4>>2]&-8)-g|0;c=b;while(1){o:{a=q[c+16>>2];if(!a){a=q[c+20>>2];if(!a){break o}}e=(q[a+4>>2]&-8)-g|0;c=e>>>0>>0;d=c?e:d;b=c?a:b;c=a;continue}break}j=q[b+24>>2];e=q[b+12>>2];if((e|0)!=(b|0)){a=q[b+8>>2];q[a+12>>2]=e;q[e+8>>2]=a;break b}c=b+20|0;a=q[c>>2];if(!a){a=q[b+16>>2];if(!a){break j}c=b+16|0}while(1){h=c;e=a;c=a+20|0;a=q[c>>2];if(a){continue}c=e+16|0;a=q[e+16>>2];if(a){continue}break}q[h>>2]=0;break b}g=-1;if(a>>>0>4294967231){break k}b=a+11|0;g=b&-8;i=q[161265];if(!i){break k}c=0-g|0;b=b>>>8|0;f=0;p:{if(!b){break p}f=31;if(g>>>0>16777215){break p}d=b+1048320>>>16&8;b=b<>>16&4;f=b<>>16&2;a=(f<>>15|0)-(b|(a|d))|0;f=(a<<1|g>>>a+21&1)+28|0}d=q[(f<<2)+645360>>2];q:{r:{s:{if(!d){a=0;break s}b=g<<((f|0)==31?0:25-(f>>>1|0)|0);a=0;while(1){t:{h=(q[d+4>>2]&-8)-g|0;if(h>>>0>=c>>>0){break t}e=d;c=h;if(c){break t}c=0;a=d;break r}h=q[d+20>>2];d=q[((b>>>29&4)+d|0)+16>>2];a=h?(h|0)==(d|0)?a:h:a;b=b<<((d|0)!=0);if(d){continue}break}}if(!(a|e)){a=2<>>12&16;d=b;a=a>>>b|0;b=a>>>5&8;d=d|b;a=a>>>b|0;b=a>>>2&4;d=d|b;a=a>>>b|0;b=a>>>1&2;d=d|b;a=a>>>b|0;b=a>>>1&1;a=q[((d|b)+(a>>>b|0)<<2)+645360>>2]}if(!a){break q}}while(1){d=(q[a+4>>2]&-8)-g|0;b=d>>>0>>0;c=b?d:c;e=b?a:e;b=q[a+16>>2];if(b){a=b}else{a=q[a+20>>2]}if(a){continue}break}}if(!e|c>>>0>=q[161266]-g>>>0){break k}h=q[e+24>>2];b=q[e+12>>2];if((e|0)!=(b|0)){a=q[e+8>>2];q[a+12>>2]=b;q[b+8>>2]=a;break c}d=e+20|0;a=q[d>>2];if(!a){a=q[e+16>>2];if(!a){break i}d=e+16|0}while(1){f=d;b=a;d=a+20|0;a=q[d>>2];if(a){continue}d=b+16|0;a=q[b+16>>2];if(a){continue}break}q[f>>2]=0;break c}b=q[161266];if(b>>>0>=g>>>0){a=q[161269];c=b-g|0;u:{if(c>>>0>=16){q[161266]=c;d=a+g|0;q[161269]=d;q[d+4>>2]=c|1;q[a+b>>2]=c;q[a+4>>2]=g|3;break u}q[161269]=0;q[161266]=0;q[a+4>>2]=b|3;b=a+b|0;q[b+4>>2]=q[b+4>>2]|1}a=a+8|0;break a}d=q[161267];if(d>>>0>g>>>0){b=d-g|0;q[161267]=b;a=q[161270];c=a+g|0;q[161270]=c;q[c+4>>2]=b|1;q[a+4>>2]=g|3;a=a+8|0;break a}a=0;e=g+47|0;c=e;if(q[161382]){b=q[161384]}else{q[161385]=-1;q[161386]=-1;q[161383]=4096;q[161384]=4096;q[161382]=l+12&-16^1431655768;q[161387]=0;q[161375]=0;b=4096}f=c+b|0;h=0-b|0;c=f&h;if(c>>>0<=g>>>0){break a}b=q[161374];if(b){i=q[161372];j=i+c|0;if(j>>>0<=i>>>0|j>>>0>b>>>0){break a}}if(r[645500]&4){break f}v:{w:{b=q[161270];if(b){a=645504;while(1){i=q[a>>2];if(i+q[a+4>>2]>>>0>b>>>0?i>>>0<=b>>>0:0){break w}a=q[a+8>>2];if(a){continue}break}}b=sf(0);if((b|0)==-1){break g}f=c;a=q[161383];d=a+ -1|0;if(d&b){f=(c-b|0)+(b+d&0-a)|0}if(f>>>0<=g>>>0|f>>>0>2147483646){break g}a=q[161374];if(a){d=q[161372];h=d+f|0;if(h>>>0<=d>>>0|h>>>0>a>>>0){break g}}a=sf(f);if((b|0)!=(a|0)){break v}break e}f=h&f-d;if(f>>>0>2147483646){break g}b=sf(f);if((b|0)==(q[a>>2]+q[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|g+48>>>0<=f>>>0)){b=q[161384];b=b+(e-f|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((sf(b)|0)!=-1){f=b+f|0;b=a;break e}sf(0-f|0);break g}b=a;if((a|0)!=-1){break e}break g}e=0;break b}b=0;break c}if((b|0)!=-1){break e}}q[161375]=q[161375]|4}if(c>>>0>2147483646){break d}b=sf(c);a=sf(0);if(b>>>0>=a>>>0|(b|0)==-1|(a|0)==-1){break d}f=a-b|0;if(f>>>0<=g+40>>>0){break d}}a=q[161372]+f|0;q[161372]=a;if(a>>>0>t[161373]){q[161373]=a}x:{y:{z:{c=q[161270];if(c){a=645504;while(1){d=q[a>>2];e=q[a+4>>2];if((d+e|0)==(b|0)){break z}a=q[a+8>>2];if(a){continue}break}break y}a=q[161268];if(!(b>>>0>=a>>>0?a:0)){q[161268]=b}a=0;q[161377]=f;q[161376]=b;q[161272]=-1;q[161273]=q[161382];q[161379]=0;while(1){c=a<<3;d=c+645096|0;q[c+645104>>2]=d;q[c+645108>>2]=d;a=a+1|0;if((a|0)!=32){continue}break}a=f+ -40|0;c=b+8&7?-8-b&7:0;d=a-c|0;q[161267]=d;c=b+c|0;q[161270]=c;q[c+4>>2]=d|1;q[(a+b|0)+4>>2]=40;q[161271]=q[161386];break x}if(r[a+12|0]&8|b>>>0<=c>>>0|d>>>0>c>>>0){break y}q[a+4>>2]=e+f;a=c+8&7?-8-c&7:0;b=a+c|0;q[161270]=b;d=q[161267]+f|0;a=d-a|0;q[161267]=a;q[b+4>>2]=a|1;q[(c+d|0)+4>>2]=40;q[161271]=q[161386];break x}e=q[161268];if(b>>>0>>0){q[161268]=b;e=0}d=b+f|0;a=645504;A:{B:{C:{D:{E:{F:{while(1){if((d|0)!=q[a>>2]){a=q[a+8>>2];if(a){continue}break F}break}if(!(r[a+12|0]&8)){break E}}a=645504;while(1){d=q[a>>2];if(d>>>0<=c>>>0){e=d+q[a+4>>2]|0;if(e>>>0>c>>>0){break D}}a=q[a+8>>2];continue}}q[a>>2]=b;q[a+4>>2]=q[a+4>>2]+f;j=(b+8&7?-8-b&7:0)+b|0;q[j+4>>2]=g|3;b=d+(d+8&7?-8-d&7:0)|0;a=(b-j|0)-g|0;h=g+j|0;if((b|0)==(c|0)){q[161270]=h;a=q[161267]+a|0;q[161267]=a;q[h+4>>2]=a|1;break B}if(q[161269]==(b|0)){q[161269]=h;a=q[161266]+a|0;q[161266]=a;q[h+4>>2]=a|1;q[a+h>>2]=a;break B}c=q[b+4>>2];if((c&3)==1){k=c&-8;G:{if(c>>>0<=255){e=c>>>3|0;c=q[b+8>>2];d=q[b+12>>2];if((d|0)==(c|0)){m=645056,n=q[161264]&_$(-2,e),q[m>>2]=n;break G}q[c+12>>2]=d;q[d+8>>2]=c;break G}i=q[b+24>>2];f=q[b+12>>2];H:{if((f|0)!=(b|0)){c=q[b+8>>2];q[c+12>>2]=f;q[f+8>>2]=c;break H}I:{d=b+20|0;g=q[d>>2];if(g){break I}d=b+16|0;g=q[d>>2];if(g){break I}f=0;break H}while(1){c=d;f=g;d=g+20|0;g=q[d>>2];if(g){continue}d=f+16|0;g=q[f+16>>2];if(g){continue}break}q[c>>2]=0}if(!i){break G}c=q[b+28>>2];d=(c<<2)+645360|0;J:{if(q[d>>2]==(b|0)){q[d>>2]=f;if(f){break J}m=645060,n=q[161265]&_$(-2,c),q[m>>2]=n;break G}q[i+(q[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break G}}q[f+24>>2]=i;c=q[b+16>>2];if(c){q[f+16>>2]=c;q[c+24>>2]=f}c=q[b+20>>2];if(!c){break G}q[f+20>>2]=c;q[c+24>>2]=f}b=b+k|0;a=a+k|0}q[b+4>>2]=q[b+4>>2]&-2;q[h+4>>2]=a|1;q[a+h>>2]=a;if(a>>>0<=255){b=a>>>3|0;a=(b<<3)+645096|0;c=q[161264];b=1<>2]}q[a+8>>2]=h;q[b+12>>2]=h;q[h+12>>2]=a;q[h+8>>2]=b;break B}c=h;d=a>>>8|0;b=0;L:{if(!d){break L}b=31;if(a>>>0>16777215){break L}e=d+1048320>>>16&8;d=d<>>16&4;g=d<>>16&2;b=(g<>>15|0)-(d|(b|e))|0;b=(b<<1|a>>>b+21&1)+28|0}q[c+28>>2]=b;q[h+16>>2]=0;q[h+20>>2]=0;c=(b<<2)+645360|0;d=q[161265];e=1<>2]=h;break M}d=a<<((b|0)==31?0:25-(b>>>1|0)|0);b=q[c>>2];while(1){c=b;if((q[b+4>>2]&-8)==(a|0)){break C}b=d>>>29|0;d=d<<1;e=(b&4)+c|0;b=q[e+16>>2];if(b){continue}break}q[e+16>>2]=h}q[h+24>>2]=c;q[h+12>>2]=h;q[h+8>>2]=h;break B}a=f+ -40|0;d=b+8&7?-8-b&7:0;h=a-d|0;q[161267]=h;d=b+d|0;q[161270]=d;q[d+4>>2]=h|1;q[(a+b|0)+4>>2]=40;q[161271]=q[161386];a=(e+(e+ -39&7?39-e&7:0)|0)+ -47|0;d=a>>>0>>0?c:a;q[d+4>>2]=27;a=q[161379];q[d+16>>2]=q[161378];q[d+20>>2]=a;a=q[161377];q[d+8>>2]=q[161376];q[d+12>>2]=a;q[161378]=d+8;q[161377]=f;q[161376]=b;q[161379]=0;a=d+24|0;while(1){q[a+4>>2]=7;b=a+8|0;a=a+4|0;if(e>>>0>b>>>0){continue}break}if((c|0)==(d|0)){break x}q[d+4>>2]=q[d+4>>2]&-2;e=d-c|0;q[c+4>>2]=e|1;q[d>>2]=e;if(e>>>0<=255){b=e>>>3|0;a=(b<<3)+645096|0;d=q[161264];b=1<>2]}q[a+8>>2]=c;q[b+12>>2]=c;q[c+12>>2]=a;q[c+8>>2]=b;break x}q[c+16>>2]=0;q[c+20>>2]=0;b=c;d=e>>>8|0;a=0;O:{if(!d){break O}a=31;if(e>>>0>16777215){break O}f=d+1048320>>>16&8;d=d<>>16&4;h=d<>>16&2;a=(h<>>15|0)-(d|(a|f))|0;a=(a<<1|e>>>a+21&1)+28|0}q[b+28>>2]=a;b=(a<<2)+645360|0;d=q[161265];f=1<>2]=c;q[c+24>>2]=b;break P}a=e<<((a|0)==31?0:25-(a>>>1|0)|0);b=q[b>>2];while(1){d=b;if((e|0)==(q[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;f=d+(b&4)|0;b=q[f+16>>2];if(b){continue}break}q[f+16>>2]=c;q[c+24>>2]=d}q[c+12>>2]=c;q[c+8>>2]=c;break x}a=q[c+8>>2];q[a+12>>2]=h;q[c+8>>2]=h;q[h+24>>2]=0;q[h+12>>2]=c;q[h+8>>2]=a}a=j+8|0;break a}a=q[d+8>>2];q[a+12>>2]=c;q[d+8>>2]=c;q[c+24>>2]=0;q[c+12>>2]=d;q[c+8>>2]=a}a=q[161267];if(a>>>0<=g>>>0){break d}b=a-g|0;q[161267]=b;a=q[161270];c=a+g|0;q[161270]=c;q[c+4>>2]=b|1;q[a+4>>2]=g|3;a=a+8|0;break a}q[160942]=48;a=0;break a}Q:{if(!h){break Q}a=q[e+28>>2];d=(a<<2)+645360|0;R:{if(q[d>>2]==(e|0)){q[d>>2]=b;if(b){break R}i=_$(-2,a)&i;q[161265]=i;break Q}q[h+(q[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break Q}}q[b+24>>2]=h;a=q[e+16>>2];if(a){q[b+16>>2]=a;q[a+24>>2]=b}a=q[e+20>>2];if(!a){break Q}q[b+20>>2]=a;q[a+24>>2]=b}S:{if(c>>>0<=15){a=c+g|0;q[e+4>>2]=a|3;a=a+e|0;q[a+4>>2]=q[a+4>>2]|1;break S}q[e+4>>2]=g|3;d=e+g|0;q[d+4>>2]=c|1;q[c+d>>2]=c;if(c>>>0<=255){b=c>>>3|0;a=(b<<3)+645096|0;c=q[161264];b=1<>2]}q[a+8>>2]=d;q[b+12>>2]=d;q[d+12>>2]=a;q[d+8>>2]=b;break S}b=d;g=c>>>8|0;a=0;U:{if(!g){break U}a=31;if(c>>>0>16777215){break U}f=g+1048320>>>16&8;g=g<>>16&4;h=g<>>16&2;a=(h<>>15|0)-(g|(a|f))|0;a=(a<<1|c>>>a+21&1)+28|0}q[b+28>>2]=a;q[d+16>>2]=0;q[d+20>>2]=0;b=(a<<2)+645360|0;V:{g=1<>2]=d;break W}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);g=q[b>>2];while(1){b=g;if((q[b+4>>2]&-8)==(c|0)){break V}g=a>>>29|0;a=a<<1;f=(g&4)+b|0;g=q[f+16>>2];if(g){continue}break}q[f+16>>2]=d}q[d+24>>2]=b;q[d+12>>2]=d;q[d+8>>2]=d;break S}a=q[b+8>>2];q[a+12>>2]=d;q[b+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=b;q[d+8>>2]=a}a=e+8|0;break a}X:{if(!j){break X}a=q[b+28>>2];c=(a<<2)+645360|0;Y:{if(q[c>>2]==(b|0)){q[c>>2]=e;if(e){break Y}m=645060,n=_$(-2,a)&k,q[m>>2]=n;break X}q[j+(q[j+16>>2]==(b|0)?16:20)>>2]=e;if(!e){break X}}q[e+24>>2]=j;a=q[b+16>>2];if(a){q[e+16>>2]=a;q[a+24>>2]=e}a=q[b+20>>2];if(!a){break X}q[e+20>>2]=a;q[a+24>>2]=e}Z:{if(d>>>0<=15){a=d+g|0;q[b+4>>2]=a|3;a=a+b|0;q[a+4>>2]=q[a+4>>2]|1;break Z}q[b+4>>2]=g|3;g=b+g|0;q[g+4>>2]=d|1;q[d+g>>2]=d;if(i){c=i>>>3|0;a=(c<<3)+645096|0;e=q[161269];c=1<>2]}q[a+8>>2]=e;q[c+12>>2]=e;q[e+12>>2]=a;q[e+8>>2]=c}q[161269]=g;q[161266]=d}a=b+8|0}Da=l+16|0;return a|0}function hc(a,b,c,d,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,t=0,u=0,w=0,x=0,z=0,A=0;j=Da-864|0;Da=j;a:{b:{o=s[i>>1];if(o>>>0>40){break b}c:{switch(o-1|0){default:q[a>>2]=1;q[a+8>>2]=q[i+8>>2];break a;case 0:q[a>>2]=2;b=q[i+12>>2];q[a+8>>2]=q[i+8>>2];q[a+12>>2]=b;break a;case 1:q[a>>2]=3;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+8>>2]=q[a+8>>2];q[j+12>>2]=b;b=q[a+4>>2];q[j>>2]=q[a>>2];q[j+4>>2]=b;Bf(j+576|0,j);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 2:q[a>>2]=5;hc(j+304|0,b,c,d,q[q[i+8>>2]>>2]);u=q[j+316>>2];o=q[j+312>>2];r=q[j+304>>2];d:{if(r>>>0>1){break d}if(!(r-1)){h(+(o|0));l=e(1)|0;o=e(0)|0;u=l;r=2;break d}l=q[a>>2]==5;o=l?438240:o;r=l?5:0}hc(j+288|0,b,c,d,q[q[i+8>>2]+4>>2]);w=q[j+300>>2];t=q[j+296>>2];m=q[j+288>>2];e:{if(m>>>0>1){break e}if(!(m-1)){h(+(t|0));l=e(1)|0;t=e(0)|0;w=l;m=2;break e}l=q[a>>2]==5;t=l?438240:t;m=l?5:0}hc(j+272|0,b,c,d,q[q[i+8>>2]+8>>2]);x=q[j+284>>2];l=q[j+280>>2];p=q[j+272>>2];f:{if(p>>>0>1){break f}if(!(p-1)){h(+(l|0));x=e(1)|0;l=e(0)|0;p=2;break f}p=q[a>>2]==5;l=p?438240:l;p=p?5:0}hc(j+256|0,b,c,d,q[q[i+8>>2]+12>>2]);b=q[j+268>>2];d=q[j+264>>2];i=q[j+256>>2];g:{if(i>>>0>1){break g}if(!(i-1)){h(+(d|0));b=e(1)|0;d=e(0)|0;i=2;break g}c=q[a>>2]==5;d=c?438240:d;i=c?5:0}h:{if(!((r|0)!=2|(m|0)!=2|((p|0)!=2|(i|0)!=2))){q[j+592>>2]=l;q[j+596>>2]=x;q[j+584>>2]=t;q[j+588>>2]=w;q[j+576>>2]=o;q[j+580>>2]=u;q[j+600>>2]=d;q[j+604>>2]=b;q[a+8>>2]=j+576;break h}q[a>>2]=0}b=q[a+12>>2];q[j+24>>2]=q[a+8>>2];q[j+28>>2]=b;b=q[a+4>>2];q[j+16>>2]=q[a>>2];q[j+20>>2]=b;Bf(j+320|0,j+16|0);b=q[j+332>>2];q[a+8>>2]=q[j+328>>2];q[a+12>>2]=b;b=q[j+324>>2];q[a>>2]=q[j+320>>2];q[a+4>>2]=b;break a;case 5:q[a>>2]=6;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+40>>2]=q[a+8>>2];q[j+44>>2]=b;b=q[a+4>>2];q[j+32>>2]=q[a>>2];q[j+36>>2]=b;Bf(j+576|0,j+32|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 6:q[a>>2]=8;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+56>>2]=q[a+8>>2];q[j+60>>2]=b;b=q[a+4>>2];q[j+48>>2]=q[a>>2];q[j+52>>2]=b;Bf(j+576|0,j+48|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 3:q[a>>2]=9;q[a+8>>2]=q[i+8>>2];b=q[a+12>>2];q[j+72>>2]=q[a+8>>2];q[j+76>>2]=b;b=q[a+4>>2];q[j+64>>2]=q[a>>2];q[j+68>>2]=b;Bf(j+576|0,j- -64|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 4:q[a>>2]=4;q[a+8>>2]=q[i+8>>2];break a;case 8:i:{j:{if(d>>>0>1){break j}if(!(d-1)){if(q[i+12>>2]){break j}if(!Og(c,q[i+8>>2],a)){break i}q[a>>2]=0;break i}if(q[i+12>>2]!=1){break j}Lc(503748,80,1,q[126999]);q[a>>2]=0;break i}if(!Og(b,q[i+8>>2],a)){break i}q[a>>2]=0}b=q[a+12>>2];q[j+88>>2]=q[a+8>>2];q[j+92>>2]=b;b=q[a+4>>2];q[j+80>>2]=q[a>>2];q[j+84>>2]=b;Bf(j+576|0,j+80|0);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break a;case 9:if(ir(q[i+8>>2],a+8|0)){q[a>>2]=1;break a}q[a>>2]=0;break a;case 18:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];m=q[j+576>>2];q[j+848>>2]=m;q[j+852>>2]=l;k:{if((m|0)==4){if(q[j+856>>2]){hc(j+576|0,b,c,d,q[q[i+12>>2]+8>>2]);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break k}hc(j+576|0,b,c,d,q[q[i+12>>2]+12>>2]);b=q[j+588>>2];q[a+8>>2]=q[j+584>>2];q[a+12>>2]=b;b=q[j+580>>2];q[a>>2]=q[j+576>>2];q[a+4>>2]=b;break k}q[a>>2]=0}a=q[j+860>>2];q[j+104>>2]=q[j+856>>2];q[j+108>>2]=a;a=q[j+852>>2];q[j+96>>2]=q[j+848>>2];q[j+100>>2]=a;Wc(j+96|0);break a;case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];q[j+848>>2]=q[j+576>>2];q[j+852>>2]=l;hc(j+576|0,b,c,d,q[i+12>>2]);b=q[j+588>>2];q[j+840>>2]=q[j+584>>2];q[j+844>>2]=b;b=q[j+580>>2];q[j+832>>2]=q[j+576>>2];q[j+836>>2]=b;q[a>>2]=4;z=a,A=kk(j+848|0,q[i>>2],j+832|0),q[z+8>>2]=A;a=q[j+860>>2];q[j+136>>2]=q[j+856>>2];q[j+140>>2]=a;a=q[j+852>>2];q[j+128>>2]=q[j+848>>2];q[j+132>>2]=a;Wc(j+128|0);a=q[j+844>>2];q[j+120>>2]=q[j+840>>2];q[j+124>>2]=a;a=q[j+836>>2];q[j+112>>2]=q[j+832>>2];q[j+116>>2]=a;Wc(j+112|0);break a;case 19:case 20:case 30:case 31:case 32:case 33:hc(j+576|0,b,c,d,q[i+8>>2]);l=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=l;l=q[j+580>>2];q[j+848>>2]=q[j+576>>2];q[j+852>>2]=l;hc(j+576|0,b,c,d,q[i+12>>2]);b=q[j+588>>2];q[j+840>>2]=q[j+584>>2];q[j+844>>2]=b;c=q[j+580>>2];b=q[j+576>>2];q[j+832>>2]=b;q[j+836>>2]=c;d=q[j+860>>2];l=d;c=q[j+856>>2];q[j+320>>2]=c;q[j+324>>2]=d;d=c;l:{m:{n:{o:{p:{i=q[j+848>>2];if(i>>>0<=1){if(!(i-1)){break n}i=0;b=b+ -5|0;if(b>>>0>3){break l}q:{switch(b-1|0){case 1:break l;case 0:break o;case 2:break p;default:break q}}q[j+320>>2]=438240;i=5;break l}f(0,c|0);f(1,l|0);k=+g();if((b|0)!=8|(i|0)!=3){break m}z=j,A=Ze(d,j+576|0),q[z+320>>2]=A;i=8;break l}z=j,A=Ze(0,j+576|0),q[z+320>>2]=A;i=8;break l}b=j+576|0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=-1;q[b+4>>2]=0;q[j+320>>2]=b;i=6;break l}k=+(d|0);v[j+320>>3]=k;i=2}if((b|0)!=9|(i|0)!=2){break l}b=j+576|0;v[b+8>>3]=k;v[b>>3]=k;q[j+320>>2]=b;i=9}k=v[j+320>>3];c=q[j+844>>2];b=q[j+840>>2];r:{s:{t:{u:{v:{w:{x:{d=q[j+832>>2];if(d>>>0<=1){if(!(d-1)){break v}l=i+ -5|0;if(l>>>0>3){break t}m=438240;d=i;switch(l-1|0){case 1:break t;case 0:break w;case 2:break x;default:break r}}if((i|0)!=8|(d|0)!=3){break u}d=8;m=Ze(b,j+320|0);break r}d=8;m=Ze(0,j+320|0);break r}d=6;m=j+320|0;q[m+8>>2]=0;q[m+12>>2]=0;q[m>>2]=-1;q[m+4>>2]=0;break r}h(+(b|0));c=e(1)|0;b=e(0)|0;d=2}if((i|0)!=9|(d|0)!=2){break s}d=9;f(0,b|0);f(1,c|0);m=j+320|0;n=+g();v[m+8>>3]=n;v[m>>3]=n;break r}d=0}m=b}y:{if((d|0)==(i|0)){z:{d=i+ -2|0;if(d>>>0>6){break z}h(+k);e(1)|0;b=e(0)|0;A:{switch(d-1|0){default:b=a;B:{C:{d=o+ -31|0;if(d>>>0<=3){D:{switch(d-1|0){case 0:q[a>>2]=2;f(0,m|0);f(1,c|0);k=k- +g();break B;case 1:q[a>>2]=2;f(0,m|0);f(1,c|0);k=k*+g();break B;case 2:break D;default:break C}}q[a>>2]=2;f(0,m|0);f(1,c|0);k=k/+g();break B}q[a>>2]=0;break y}q[a>>2]=2;f(0,m|0);f(1,c|0);k=k+ +g()}v[b+8>>3]=k;n=k;if(y(k)<2147483648){b=~~k}else{b=-2147483648}if(n!=+(b|0)){break y}q[a+8>>2]=b;q[a>>2]=1;break y;case 1:c=o+ -20|0;if(c>>>0<=1){if(c-1){q[a>>2]=4;q[a+8>>2]=(b|m)!=0;break y}q[a>>2]=4;q[a+8>>2]=(m|0)!=0&(b|0)!=0;break y}q[a>>2]=0;break y;case 0:if((o|0)==31){q[a>>2]=3;b=DL(b,m);z=a,A=eb(b),q[z+8>>2]=A;La(b);if(q[a+8>>2]){break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 2:if((o|0)==33){q[a>>2]=5;c=Sa(32);if(c){HM(c,b,m);q[a+8>>2]=c;break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 3:c=o+ -31|0;if(c>>>0<=1){if(c-1){q[a>>2]=6;b=Zq(b,m,832,1);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=6;b=Yq(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=0;break y;case 4:break z;case 5:break A}}c=o+ -31|0;if(c>>>0<=1){if(c-1){q[a>>2]=8;b=FL(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=8;b=EL(b,m);q[a+8>>2]=b;if(b){break y}q[a>>2]=0;break y}q[a>>2]=0;break y}q[a>>2]=0;break y}q[a>>2]=0}a=q[j+860>>2];q[j+168>>2]=q[j+856>>2];q[j+172>>2]=a;a=q[j+852>>2];q[j+160>>2]=q[j+848>>2];q[j+164>>2]=a;Wc(j+160|0);a=q[j+844>>2];q[j+152>>2]=q[j+840>>2];q[j+156>>2]=a;a=q[j+836>>2];q[j+144>>2]=q[j+832>>2];q[j+148>>2]=a;Wc(j+144|0);break a;case 34:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;E:{if((c|0)==4){q[a>>2]=4;q[a+8>>2]=!q[j+856>>2];break E}q[a>>2]=0}a=q[j+860>>2];q[j+184>>2]=q[j+856>>2];q[j+188>>2]=a;a=q[j+852>>2];q[j+176>>2]=q[j+848>>2];q[j+180>>2]=a;Wc(j+176|0);break a;case 36:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;F:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break F}q[a>>2]=1;k=v[j+856>>3];if(!!(k>=0)){if(y(k)<2147483648){q[a+8>>2]=~~k;break F}q[a+8>>2]=-2147483648;break F}n=-k;G:{if(y(n)<2147483648){b=~~n;break G}b=-2147483648}d=+(b|0)==n;k=1-k;H:{if(y(k)<2147483648){c=~~k;break H}c=-2147483648}q[a+8>>2]=0-(d?b:c);break F}q[a>>2]=0}a=q[j+860>>2];q[j+200>>2]=q[j+856>>2];q[j+204>>2]=a;a=q[j+852>>2];q[j+192>>2]=q[j+848>>2];q[j+196>>2]=a;Wc(j+192|0);break a;case 37:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;I:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break I}q[a>>2]=1;k=v[j+856>>3];if(!!(k>=0)){n=k;if(y(k)<2147483648){b=~~k}else{b=-2147483648}c=n==+(b|0);k=k+1;if(y(k)<2147483648){q[a+8>>2]=c?b:~~k;break I}q[a+8>>2]=c?b:-2147483648;break I}k=-k;J:{if(y(k)<2147483648){b=~~k;break J}b=-2147483648}q[a+8>>2]=0-b;break I}q[a>>2]=0}a=q[j+860>>2];q[j+216>>2]=q[j+856>>2];q[j+220>>2]=a;a=q[j+852>>2];q[j+208>>2]=q[j+848>>2];q[j+212>>2]=a;Wc(j+208|0);break a;case 38:hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;K:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break K}q[a>>2]=1;k=v[j+856>>3]+.5;if(!!(k>=0)){if(y(k)<2147483648){q[a+8>>2]=~~k;break K}q[a+8>>2]=-2147483648;break K}n=-k;L:{if(y(n)<2147483648){b=~~n;break L}b=-2147483648}d=+(b|0)==n;k=1-k;M:{if(y(k)<2147483648){c=~~k;break M}c=-2147483648}q[a+8>>2]=0-(d?b:c);break K}q[a>>2]=0}a=q[j+860>>2];q[j+232>>2]=q[j+856>>2];q[j+236>>2]=a;a=q[j+852>>2];q[j+224>>2]=q[j+848>>2];q[j+228>>2]=a;Wc(j+224|0);break a;case 7:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 35:break b;case 39:break c}}hc(j+576|0,b,c,d,q[i+8>>2]);b=q[j+588>>2];q[j+856>>2]=q[j+584>>2];q[j+860>>2]=b;b=q[j+580>>2];c=q[j+576>>2];q[j+848>>2]=c;q[j+852>>2]=b;b=c+ -1|0;N:{if(b>>>0<=1){if(b-1){b=q[j+852>>2];q[a>>2]=q[j+848>>2];q[a+4>>2]=b;b=q[j+860>>2];q[a+8>>2]=q[j+856>>2];q[a+12>>2]=b;break N}q[a>>2]=1;k=v[j+856>>3];n=-k;O:{if(y(n)<2147483648){b=~~n;break O}b=-2147483648}c=k>=0;d=0-b|0;if(y(k)<2147483648){b=~~k}else{b=-2147483648}q[a+8>>2]=c?b:d;break N}q[a>>2]=0}a=q[j+860>>2];q[j+248>>2]=q[j+856>>2];q[j+252>>2]=a;a=q[j+852>>2];q[j+240>>2]=q[j+848>>2];q[j+244>>2]=a;Wc(j+240|0);break a}q[a>>2]=0}Da=j+864|0}function BC(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=Da-384|0;Da=f;q[b>>2]=1;a:{if(!q[b+136>>2]){d=_d(q[q[b+96>>2]+4>>2],14744);if(!d){a=11;break a}q[b+136>>2]=d}if(!q[b+320>>2]){C=b,D=_d(q[q[b+96>>2]+4>>2],14750),q[C+320>>2]=D}a=Xa(a,0);if(a){break a}m=q[b+100>>2];q[f+108>>2]=0;i=q[b+104>>2];a=q[b+136>>2];Na(f+8|0,0,100);n[q[q[a+4>>2]>>2]](f+8|0,0,0,m);q[f+80>>2]=i;k=q[i+8>>2];b:{c:{d:{d=lb(i,31);e:{if(d){break e}a=Ra(q[i+32>>2],14778,31);jb(i);if(a){q[f+4>>2]=2;break b}u=f+106|0;l=f+84|0;v=f+112|9;while(1){j=q[i+8>>2];a=0;d=q[i+4>>2]-q[i+8>>2]|0;g=d>>>0<265?d:265;d=Wb(i,f+112|0,g);if(d){break e}while(1){f:{e=((f+112|0)+a|0)+g|0;o[e|0]=0;h=a+g|0;if(f+112>>>0>>0){g=h+u|0;d=r[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Ra(a,14810,9)){break g}g=10;break f}h:{d=r[a+1|0];if((d|0)!=115){break h}if(Ra(a,14820,6)){break h}g=7;break f}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(h>>>0<9){q[f+4>>2]=3;break b}a=e+ -9|0;d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o[f+120|0]=r[a+8|0];q[f+112>>2]=e;q[f+116>>2]=d;j=j+256|0;a=9;d=q[i+4>>2]-q[i+8>>2]|0;g=d>>>0<256?d:256;d=Wb(i,v,g);if(!d){continue}break e}break}d=Xa(i,k);if(d){break e}g=((g-(f+112|0)|0)+a|0)+j|0;a=g-k|0;d=Bc(i,a,l);if(d){break e}q[f+92>>2]=g;h=q[f+84>>2];q[f+12>>2]=h;q[f+104>>2]=-1;q[f+8>>2]=h;q[f+88>>2]=a;q[f+16>>2]=a+h;n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);a=q[f+8>>2];n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);d=q[f+8>>2];e=q[f+16>>2];j=e+ -6|0;if(d>>>0<=j>>>0){x=e+ -9|0;while(1){e=a;a=d;d=q[f+20>>2];if(d){break e}i:{if(r[a|0]!=83|a>>>0>x>>>0){break i}if(Ra(a,14810,9)){break i}if(Ra(h,14827,5)){break c}a=Sb(e,0,10);if((a|0)>=0){break d}q[f+4>>2]=3;break b}j:{if(r[a+1|0]!=115){break j}if(Ra(a,14820,6)){break j}q[f+4>>2]=2;break b}n[q[f+40>>2]](f+8|0);n[q[f+36>>2]](f+8|0);h=e;d=q[f+8>>2];if(d>>>0<=j>>>0){continue}break}}zb(i,l);d=Xa(i,g);if(!d){continue}break}}q[f+4>>2]=d;break b}q[f+96>>2]=a}q[f+4>>2]=0;q[f+20>>2]=0;a=q[f+84>>2];q[f+8>>2]=a;g=q[f+88>>2]+a|0;q[f+16>>2]=g;h=b+164|0;i=b+312|0;k=b+196|0;l=b+140|0;x=g+ -1|0;while(1){q[f+8>>2]=a;n[q[f+36>>2]](f+8|0);d=q[f+8>>2];e=(d>>>0>>0?d:x)+ -17|0;if(a>>>0>>0){while(1){k:{if(r[a|0]!=37){break k}if(Ra(a,14833,17)|q[b+300>>2]<1){break k}q[f+104>>2]=q[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}l:{m:{n:{o:{p:{q:{if(d>>>0>=g>>>0){break q}n[q[f+40>>2]](f+8|0);a=q[f+8>>2];if(q[f+20>>2]|a>>>0>=g>>>0){break q}if(r[d|0]!=47|d+2>>>0>=g>>>0){break m}u=d+1|0;j=a-u|0;if(j+ -1>>>0>20){break m}v=r[u|0];d=14864;a=16772;if(j>>>0<2){break p}while(1){e=d;r:{if((v|0)!=r[a|0]){break r}d=1;if((Wa(a)|0)!=(j|0)){break r}while(1){if(r[d+u|0]!=r[a+d|0]){break r}d=d+1|0;if((j|0)!=(d|0)){continue}break}j=q[e+8>>2];if((j|0)==11){n[q[e+12>>2]](b,f+8|0);a=q[f+20>>2];break n}s:{t:{a=q[e+4>>2];if(a>>>0>5){break t}d=k;u:{switch(a-1|0){case 1:d=i;break s;case 2:d=h;break s;case 4:break s;case 0:case 3:break t;default:break u}}d=l;break s}a=q[f+104>>2];if((a|0)<0|(a|0)>=q[b+300>>2]){break o}d=q[b+304>>2]+w(a,252)|0}q[f+112>>2]=d;if(j+ -9>>>0>=2){a=n[q[f+72>>2]](f+8|0,e,f+112|0,0,0)|0;break n}a=n[q[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break n}d=e+36|0;a=q[e+36>>2];if(a){continue}break}break m}if(!q[b+300>>2]){a=3;break l}a=q[f+20>>2];q[f+4>>2]=a;if(a|(c|0)<0){break b}d=gb(m,40,f+4|0);q[b+328>>2]=d;if(q[f+4>>2]){break b}v:{e=b;a=q[f+96>>2];w:{if(a){h=b;d=q[q[b+104>>2]+4>>2]-q[f+92>>2]|0;if(a>>>0>d>>>0){q[f+96>>2]=d;a=d}j=gb(m,a,f+4|0);q[h+324>>2]=j;if(q[f+4>>2]){break b}a=q[f+96>>2];i=q[b+104>>2];h=Xa(i,q[f+92>>2]);if(h){break v}x:{if((a|0)<1){break x}m=a+j|0;l=1;d=f+112|0;k=d;while(1){if(d>>>0>=k>>>0){d=q[i+8>>2];a=q[i+4>>2]-d|0;if(!a){h=160;break v}h=Wb(i,f+112|0,a>>>0<256?a:256);if(h){break v}k=(q[i+8>>2]+(f+112|0)|0)-d|0;d=f+112|0}a=r[d|0];g=a+ -48|0;y:{z:{if(g>>>0<10){break z}A:{if((a+ -97&255)>>>0>=6){if((a+ -65&255)>>>0<6){break A}h=160;if(a>>>0>62){break v}v=1;g=0;B:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30: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:break v;case 61:break y;default:break B}}d=d+1|0;continue}g=a+ -87|0;break z}g=a+ -55|0}v=0}C:{if(l&255){o[j|0]=g<<4;break C}o[j|0]=r[j|0]+g;j=j+1|0}if(v){break x}d=d+1|0;l=1-l|0;if(j>>>0>>0){continue}break}}q[f+4>>2]=0;d=q[b+324>>2];h=q[f+96>>2];a=q[b+328>>2];q[a+32>>2]=0;q[a+8>>2]=0;q[a+4>>2]=h;q[a>>2]=d;q[a+20>>2]=0;q[a+24>>2]=0;a=0;break w}a=q[b+104>>2];h=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=h;h=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=h;h=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=h;h=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=h;h=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=h;a=q[f+92>>2]}q[e+308>>2]=a;D:{i=q[b+288>>2];if((i|0)>=0){k=q[b+292>>2];if((k|0)>0){break D}}q[f+4>>2]=3;break b}if(!((k|0)<5?(i|0)<=4:0)){q[f+4>>2]=3;break b}u=q[b+328>>2];d=q[u+4>>2]-a|0;l=q[b+300>>2];if((l|0)>=1){m=q[b+304>>2];g=0;while(1){a=m+w(g,252)|0;if(t[a+112>>2]>=1001){q[a+112>>2]=7}if(t[a+116>>2]>=1001){q[a+116>>2]=1}E:{e=q[a+248>>2];if((e|0)>=0){h=q[a+240>>2];if(!h|e){break E}}q[f+4>>2]=3;break b}if((e|0)>=5){q[f+4>>2]=3;break b}a=q[a+244>>2];if(d>>>0>>0){q[f+4>>2]=3;break b}if(!(!e|h>>>0<=(d-a>>>0)/(e>>>0)>>>0?(h|0)>=0:0)){q[f+4>>2]=3;break b}g=g+1|0;if((l|0)!=(g|0)){continue}break}}a=q[b+284>>2];if(d>>>0>>0){q[f+4>>2]=3;break b}if(t[b+296>>2]>(d-a>>>0)/(i+k>>>0)>>>0){q[f+4>>2]=3;break b}z=q[b+136>>2];g=0;i=q[b+100>>2];j=Oa(i,8,0,l,0,f+112|0);q[b+316>>2]=j;F:{if(q[f+112>>2]){break F}d=q[b+300>>2];if((d|0)<1){break F}x=0;h=0;while(1){G:{e=q[b+304>>2]+w(x,252)|0;m=q[e+240>>2];if(m){A=q[e+4>>2];y=m+1|0;if(y>>>0>h>>>0){a=m+4&-4;if(a>>>0<=h>>>0){q[f+112>>2]=160;break G}g=Oa(i,4,h,a,g,f+112|0);h=a;if(q[f+112>>2]){break G}}a=Xa(u,q[e+244>>2]+q[b+308>>2]|0);q[f+112>>2]=a;if(a){break G}a=lb(u,w(q[e+248>>2],y));q[f+112>>2]=a;if(a){break G}l=q[e+248>>2];H:{if(!(l&255)){a=0;while(1){q[(a<<2)+g>>2]=0;a=a+1|0;if(a>>>0<=m>>>0){continue}break}break H}B=(l+ -1&255)+1|0;k=q[u+32>>2];v=0;while(1){a=k;d=0;e=l;while(1){d=r[a|0]|d<<8;a=a+1|0;e=e+ -1|0;if(e&255){continue}break}q[(v<<2)+g>>2]=d;k=k+B|0;v=v+1|0;if(v>>>0<=m>>>0){continue}break}}jb(u);a=1;e=q[g>>2];d=e;I:{while(1){k=d;d=q[(a<<2)+g>>2];if(k>>>0<=d>>>0){a=a+1|0;if(a>>>0<=m>>>0){continue}break I}break}q[f+112>>2]=3;break G}a=q[(m<<2)+g>>2];if(a>>>0>q[u+4>>2]-q[b+308>>2]>>>0){q[f+112>>2]=3;break G}C=j,D=Oa(i,4,0,y,0,f+112|0),q[C+4>>2]=D;if(q[f+112>>2]){break G}a=a-e|0;d=gb(i,a,f+112|0);q[q[j+4>>2]>>2]=d;if(q[f+112>>2]){break G}d=Xa(u,q[g>>2]+q[b+308>>2]|0);q[f+112>>2]=d;if(d){break G}a=Wb(u,q[q[j+4>>2]>>2],a);q[f+112>>2]=a;if(a){break G}a=1;k=q[g>>2];d=k;while(1){e=a<<2;l=e+q[j+4>>2]|0;e=q[e+g>>2];q[l>>2]=q[l+ -4>>2]+(e-d|0);d=e;a=a+1|0;if(a>>>0<=m>>>0){continue}break}J:{if((A|0)<0){break J}n[q[z+16>>2]](q[q[j+4>>2]>>2],q[g+4>>2]-k|0,4330);if(m>>>0<2){break J}a=1;k=m>>>0>1?m:1;e=g+4|0;while(1){l=q[q[j+4>>2]+(a<<2)>>2];a=a+1|0;d=(a<<2)+g|0;n[q[z+16>>2]](l,q[d>>2]-q[e>>2]|0,4330);e=d;if((a|0)!=(k|0)){continue}break}}q[j>>2]=m;d=q[b+300>>2]}j=j+8|0;x=x+1|0;if((x|0)<(d|0)){continue}break F}break}a=q[b+316>>2];if(!a){break F}if(q[b+300>>2]>=1){e=0;while(1){d=i;h=e<<3;k=q[(h+a|0)+4>>2];if(k){a=q[k>>2];if(a){n[q[i+8>>2]](i,a)}q[q[(h+q[b+316>>2]|0)+4>>2]>>2]=0;a=q[b+316>>2]}a=q[(a+h|0)+4>>2];if(a){n[q[d+8>>2]](d,a)}a=q[b+316>>2];q[(h+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){n[q[i+8>>2]](i,a)}q[b+316>>2]=0}if(g){n[q[i+8>>2]](i,g)}q[f+4>>2]=q[f+112>>2];break b}q[f+4>>2]=h;break b}while(1){K:{if((v|0)!=r[a|0]){break K}if((Wa(a)|0)!=(j|0)){break K}j=q[d+8>>2];if((j|0)==11){n[q[d+12>>2]](b,f+8|0);a=q[f+20>>2];break n}L:{M:{a=q[d+4>>2];if(a>>>0>5){break M}e=l;N:{switch(a-1|0){case 2:e=h;break L;case 1:e=i;break L;case 0:case 3:break M;case 4:break N;default:break L}}e=k;break L}a=q[f+104>>2];if((a|0)<0|(a|0)>=q[b+300>>2]){break o}e=q[b+304>>2]+w(a,252)|0}q[f+112>>2]=e;if(j+ -9>>>0<=1){a=n[q[f+76>>2]](f+8|0,d,f+112|0,0,0)|0;break n}a=n[q[f+72>>2]](f+8|0,d,f+112|0,0,0)|0;break n}a=q[d+36>>2];d=d+36|0;if(a){continue}break}break m}q[f+20>>2]=160;q[f+4>>2]=160;break b}q[f+20>>2]=a;if(a){break l}}a=q[f+8>>2];continue}break}q[f+4>>2]=a}if(q[f+84>>2]){zb(q[f+80>>2],f+84|0)}n[q[f+32>>2]](f+8|0);a=q[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}q[b+36>>2]=0;q[b+4>>2]=0;q[b+16>>2]=q[b+296>>2];a=q[b+8>>2];q[b+8>>2]=a|2065;if(r[b+188|0]){q[b+8>>2]=a|2069}q[b+24>>2]=14759;d=q[b+176>>2];q[b+20>>2]=d;O:{if(d){a=q[b+172>>2];if(!a){break O}e=r[a|0];if(!e){break O}while(1){e=e&255;c=r[d|0];P:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break P}Q:{R:{e=e+ -32|0;if(e>>>0>13){break R}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break R;default:break Q}}e=c+ -32|0;if(e>>>0>13){if(c){break O}q[b+24>>2]=a;break O}S:{switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break O;default:break S}}d=d+1|0;break P}a=a+1|0}e=r[a|0];if(e){continue}break}break O}a=q[b+140>>2];if(!a){break O}q[b+20>>2]=a}c=q[b+184>>2]!=0;q[b+12>>2]=c;a=q[b+180>>2];T:{if(!a){break T}if(Ta(a,14767)){if(Ta(a,14772)){break T}}q[b+12>>2]=c|2}q[b+28>>2]=0;q[b+32>>2]=0;q[b+52>>2]=q[b+196>>2]>>16;a=q[b+200>>2]>>16;q[b+56>>2]=a;q[b+60>>2]=q[b+204>>2]+65535>>16;c=q[b+208>>2]+65535>>16;q[b- -64>>2]=c;e=s[b+68>>1];if(!e){p[b+68>>1]=1e3;e=1e3}p[b+72>>1]=a;p[b+70>>1]=c;q[b+80>>2]=s[b+190>>1]|s[b+192>>1]<<16;d=b;a=c-a|0;b=(w(e,12)>>>0)/10|0;p[d+74>>1]=b<<16>>16<(a|0)?a:b;a=0}Da=f+384|0;return a|0}function pE(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0;f=Da-1536|0;Da=f;q[b>>2]=1;m=ld(q[b+96>>2],7210,1);q[b+488>>2]=m;k=_d(q[q[b+96>>2]+4>>2],7227);q[b+492>>2]=k;a:{if(!k){a=11;break a}y=b,z=_d(q[q[b+96>>2]+4>>2],7201),q[y+552>>2]=z;i=q[b+492>>2];Na(f+8|0,0,380);q[b+544>>2]=0;q[b+536>>2]=-1;q[b+540>>2]=-1;q[b+284>>2]=1;q[b+348>>2]=3932;q[b+172>>2]=4;q[b+276>>2]=2596864;q[b+280>>2]=7;d=q[b+104>>2];e=q[b+100>>2];n[q[q[i+4>>2]>>2]](f+8|0,0,0,e);q[f+92>>2]=0;q[f+96>>2]=0;o[f+99|0]=0;o[f+100|0]=0;o[f+101|0]=0;o[f+102|0]=0;q[f+84>>2]=0;q[f+88>>2]=0;q[f+80>>2]=d;a=so(d,7260,14);q[f+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=so(d,7275,10);q[f+4>>2]=a;if(a){break d}}a=Xa(d,0);q[f+4>>2]=a;if(a){break d}h=ib(d,f+1528|0);e:{f:{g:{h:{a=q[f+1528>>2];if(!a){if((h+32767&65535)>>>0>=2){q[f+4>>2]=0;break g}g=Ec(d,f+1528|0);a=q[f+1528>>2];if(!a){break h}}q[f+4>>2]=a;break d}q[f+4>>2]=0;if((h|0)==32769){break f}}a=Xa(d,0);q[f+4>>2]=a;if(a){break d}g=q[d+4>>2];break e}o[f+100|0]=1}i:{if(!q[d+20>>2]){a=q[d+8>>2];h=q[d>>2];o[f+101|0]=1;q[f+88>>2]=g;q[f+84>>2]=a+h;a=Ib(d,g);q[f+4>>2]=a;if(a){break d}g=q[f+88>>2];break i}h=gb(e,g,f+4|0);q[f+84>>2]=h;a=q[f+4>>2];if(a){break d}a=Wb(d,h,g);q[f+4>>2]=a;if(a){break d}q[f+88>>2]=g}d=q[f+84>>2];q[f+12>>2]=d;q[f+8>>2]=d;q[f+16>>2]=d+g;q[f>>2]=0;break c}if(r[f+101|0]){q[f>>2]=a;break b}a=q[f+84>>2];if(a){n[q[e+8>>2]](e,a)}d=0;q[f+84>>2]=0;a=q[f+4>>2];q[f>>2]=a;if(a){break b}g=q[f+88>>2]}a=ro(b,f+8|0,d,g);q[f>>2]=a;if(a){break b}j=q[f+24>>2];d=q[f+80>>2];q[f+4>>2]=0;j:{k:{l:{m:{n:{o:{p:{if(r[f+100|0]){h=q[d+8>>2];q[f+96>>2]=0;while(1){e=ib(d,f+1528|0);a=q[f+1528>>2];if(a){break l}if((e+32767&65535)>>>0>=2){q[f+4>>2]=0;break p}g=Ec(d,f+1528|0);a=q[f+1528>>2];if(a){break l}q[f+4>>2]=0;if((e|0)!=32770){break p}q[f+96>>2]=g+q[f+96>>2];a=Ib(d,g);q[f+4>>2]=a;if(!a){continue}break}break k}e=q[f+84>>2];g=q[f+88>>2];d=e+g|0;a=e;while(1){q:{r:{if(r[a|0]!=101|a+9>>>0>=d>>>0|(r[a+1|0]!=101|r[a+2|0]!=120)){break r}if(r[a+3|0]!=101){break r}if(r[a+4|0]==99){break q}}a=a+1|0;if(a>>>0>=d>>>0){break o}continue}a=a+10|0;q[f+16>>2]=a;q[f+8>>2]=e;s:{if(a>>>0>e>>>0){while(1){t:{if(r[e|0]!=101|e+5>>>0>=a>>>0|(r[e+1|0]!=101|r[e+2|0]!=120)){break t}if(r[e+3|0]!=101){break t}if(r[e+4|0]==99){break s}}n[q[f+40>>2]](f+8|0);if(!q[f+20>>2]){n[q[f+36>>2]](f+8|0);e=q[f+8>>2];if(e>>>0>>0){continue}}break}g=q[f+88>>2];e=q[f+84>>2]}d=e+g|0;if(a>>>0>=d>>>0){break o}continue}break}q[f+16>>2]=q[f+84>>2]+q[f+88>>2];n[q[f+40>>2]](f+8|0);h=q[f+16>>2];d=q[f+8>>2];a=h-d|0;g=be(d,10,a);e=1;u:{if(!g){break u}e=g>>>0>be(d,13,a)>>>0}if(d>>>0>=h>>>0){break o}e=(e|0)!=0;while(1){v:{a=r[d|0];if(!((a|0)==9|(a|0)==32|(a|0)==10)){if(!(e&(a|0)==13)){break v}}d=d+1|0;if((h|0)!=(d|0)){continue}break o}break}g=q[f+84>>2];e=q[f+88>>2]+(g-d|0)|0;w:{if(r[f+101|0]){g=gb(j,e+1|0,f+4|0);q[f+92>>2]=g;a=q[f+4>>2];if(a){break k}q[f+96>>2]=e;break w}q[f+96>>2]=e;q[f+92>>2]=g;o[f+102|0]=1;q[f+84>>2]=0;q[f+88>>2]=0}x:{if(d+3>>>0>=h>>>0){break x}y:{a=r[d|0];if(a+ -48>>>0<10){break y}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break y}}z:{a=r[d+1|0];if(a+ -48>>>0<10){break z}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break z}}A:{a=r[d+2|0];if(a+ -48>>>0<10){break A}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break A}}B:{a=r[d+3|0];if(a+ -48>>>0<10){break B}a=a+ -65|0;if(a>>>0>37){break x}switch(a-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break x;default:break B}}q[f+8>>2]=d;n[q[q[i+4>>2]+24>>2]](f+8|0,g,e,f+1528|0,0)|0;a=q[f+1528>>2];q[f+96>>2]=a;o[a+q[f+92>>2]|0]=0;break m}sb(g,d,e);break m}if(q[f+96>>2]){break n}}a=3;break l}a=Xa(d,h);q[f+4>>2]=a;if(a){break k}y=f,z=gb(j,q[f+96>>2],f+4|0),q[y+92>>2]=z;a=q[f+4>>2];if(a){break k}q[f+96>>2]=0;a=ib(d,f+1528|0);g=q[f+1528>>2];C:{D:{if(g){break D}while(1){if((a+32767&65535)>>>0>1){g=0;break D}e=Ec(d,f+1528|0);g=q[f+1528>>2];if(g){break D}q[f+4>>2]=0;if((a&65535)!=32770){break C}a=Wb(d,q[f+92>>2]+q[f+96>>2]|0,e);q[f+4>>2]=a;if(a){break k}q[f+96>>2]=e+q[f+96>>2];a=ib(d,f+1528|0);g=q[f+1528>>2];if(!g){continue}break}}q[f+4>>2]=g}q[f+4>>2]=0}n[q[i+16>>2]](q[f+92>>2],q[f+96>>2],55665);a=3;if(t[f+96>>2]>3){break j}}q[f+4>>2]=a}q[f>>2]=a;break b}o[q[f+92>>2]]=32;o[q[f+92>>2]+1|0]=32;o[q[f+92>>2]+2|0]=32;o[q[f+92>>2]+3|0]=32;a=q[f+92>>2];q[f+12>>2]=a;q[f+8>>2]=a;d=q[f+96>>2];q[f+16>>2]=d+a;e=q[f+4>>2];q[f>>2]=e;if(e){break b}a=ro(b,f+8|0,a,d);q[f>>2]=a;if(a){break b}o[b+176|0]=r[b+176|0]&254;E:{F:{d=q[b+532>>2];if(!d){break F}if(q[d>>2]!=1<>2]){Bg(b);d=q[b+532>>2];if(!d){break F}}a=q[d+416>>2];if(!(!a|(a|0)==q[d+4>>2])){q[d+416>>2]=0}G:{H:{if(q[d>>2]){e=q[d+4>>2];if(e){break H}}Bg(b);d=q[b+532>>2];if(!d){break F}e=q[d+4>>2];if(!e){break G}}a=0;while(1){if(r[(w(a,12)+d|0)+88|0]){a=a+1|0;if((e|0)!=(a|0)){continue}break G}break}Bg(b);if(!q[b+532>>2]){break F}}a=q[b+544>>2];if(!a){break E}y=b,z=Oa(q[b+100>>2],4,0,a,0,f),q[y+548>>2]=z;if(!q[f>>2]){break E}q[b+544>>2]=0;break b}q[b+544>>2]=0}i=q[f+160>>2];q[b+420>>2]=i;if(q[f+336>>2]){q[b+404>>2]=q[f+320>>2];q[b+392>>2]=q[f+324>>2];q[b+408>>2]=q[f+348>>2];q[b+412>>2]=q[f+352>>2];q[b+416>>2]=q[f+376>>2];q[f+376>>2]=0;q[f+336>>2]=0}if(!(q[q[b+128>>2]+52>>2]|q[f+228>>2])){q[f>>2]=3}e=0;q[f+228>>2]=0;q[b+396>>2]=q[f+216>>2];q[b+428>>2]=q[f+240>>2];q[b+432>>2]=q[f+244>>2];q[b+400>>2]=q[f+164>>2];q[b+424>>2]=q[f+188>>2];q[f+188>>2]=0;q[f+164>>2]=0;if(q[b+368>>2]==1){g=0;h=q[f+124>>2];I:{if((h|0)<1){break I}if((i|0)>=1){d=0;while(1){j=d<<2;u=q[j+q[f+132>>2]>>2];v=d<<1;p[v+q[b+384>>2]>>1]=0;q[j+q[b+388>>2]>>2]=7252;J:{if(!u){break J}x=q[b+424>>2];a=0;while(1){l=q[(a<<2)+x>>2];if(Ta(u,l)){a=a+1|0;if((i|0)!=(a|0)){continue}break J}break}p[q[b+384>>2]+v>>1]=a;q[j+q[b+388>>2]>>2]=l;if(!Ta(7252,l)){break J}g=(d|0)<(g|0)?g:d+1|0;e=(d|0)<(e|0)?d:e}d=d+1|0;if((h|0)!=(d|0)){continue}break}break I}a=0;while(1){p[q[b+384>>2]+(a<<1)>>1]=0;q[q[b+388>>2]+(a<<2)>>2]=7252;a=a+1|0;if((h|0)!=(a|0)){continue}break}}q[b+380>>2]=g;q[b+376>>2]=e;q[b+372>>2]=q[f+104>>2]}if(t[b+280>>2]>=1001){q[b+280>>2]=7}if(t[b+284>>2]<1001){break b}q[b+284>>2]=1}a=q[f+24>>2];d=q[f+156>>2];if(d){n[d](f+108|0)}d=q[f+264>>2];if(d){n[d](f+216|0)}d=q[f+212>>2];if(d){n[d](f+164|0)}d=q[f+316>>2];if(d){n[d](f+268|0)}d=q[f+372>>2];if(d){n[d](f+324|0)}ei(q[f+376>>2],a);d=q[f+376>>2];if(d){n[q[a+8>>2]](a,d)}q[f+376>>2]=0;a=q[f+24>>2];d=a;e=q[f+92>>2];if(e){n[q[d+8>>2]](d,e)}q[f+92>>2]=0;if(!r[f+101|0]){d=q[f+84>>2];if(d){n[q[a+8>>2]](a,d)}q[f+84>>2]=0}n[q[f+32>>2]](f+8|0);a=q[f>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}q[b+4>>2]=0;q[b+16>>2]=q[b+420>>2];c=q[b+8>>2];a=c|2577;q[b+8>>2]=a;if(r[b+156|0]){a=c|2581;q[b+8>>2]=a}e=q[b+532>>2];if(e){q[b+8>>2]=a|256}q[b+24>>2]=0;d=q[b+144>>2];q[b+20>>2]=d;K:{L:{if(d){a=q[b+140>>2];if(!a){break L}c=r[a|0];if(!c){a=7233;break K}while(1){M:{N:{g=c&255;c=r[d|0];if((g|0)==(c|0)){a=a+1|0;break N}O:{g=g+ -32|0;if(g>>>0>13){break O}P:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break O;default:break P}}a=a+1|0;break M}g=c+ -32|0;if(g>>>0>13){if(c){break L}break K}switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break L;default:break N}}d=d+1|0}c=r[a|0];if(c){continue}break}a=7233;break K}a=q[b+364>>2];if(!a){break L}q[b+20>>2]=a}a=q[b+148>>2];a=a?a:7233}q[b+24>>2]=a;c=q[b+152>>2]!=0;q[b+12>>2]=c;a=q[b+148>>2];Q:{if(!a){break Q}if(Ta(a,7241)){if(Ta(a,7246)){break Q}}q[b+12>>2]=c|2}q[b+28>>2]=0;q[b+32>>2]=0;q[b+52>>2]=q[b+464>>2]>>16;a=q[b+468>>2]>>16;q[b+56>>2]=a;g=q[b+472>>2]+65535>>16;q[b+60>>2]=g;d=q[b+476>>2]+65535>>16;q[b- -64>>2]=d;c=s[b+68>>1];if(!c){p[b+68>>1]=1e3;c=1e3}p[b+76>>1]=g;p[b+72>>1]=a;p[b+70>>1]=d;a=d-a|0;c=(w(c,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(a|0)?a:c;d=0;a=e;e=q[b+492>>2];if(!n[q[q[e+12>>2]>>2]](f+8|0,b,0,0,q[b+424>>2],a,0,0,84)){o[f+76|0]=0;o[f+78|0]=1;q[f+1372>>2]=q[b+404>>2];q[f+1376>>2]=q[b+408>>2];q[f+1380>>2]=q[b+412>>2];q[f+1384>>2]=q[b+416>>2];q[f+1504>>2]=q[b+548>>2];q[f+1508>>2]=q[b+544>>2];if(q[b+420>>2]>=1){a=0;while(1){o[f+4|0]=0;R:{if(Ch(f+8|0,a,f+1528|0,f+4|0)){break R}c=q[q[q[f+12>>2]+128>>2]+52>>2];if(!c){break R}n[q[q[c>>2]+4>>2]](q[c+4>>2],f+1528|0)}c=q[f+48>>2];d=a?(c|0)>(d|0)?c:d:c;a=a+1|0;if((a|0)>2]){continue}break}}n[q[q[e+12>>2]+4>>2]](f+8|0);p[b+76>>1]=(((d>>31)+d|0)+32768&-65536)>>>16}p[b+78>>1]=s[b+74>>1];q[b+80>>2]=s[b+158>>1]|s[b+160>>1]<<16;if(!m){a=0;break a}d=q[k+32>>2];q[f+8>>2]=b;q[f+12>>2]=1970170211;q[f+16>>2]=65539;a=md(q[d+12>>2],0,f+8|0,0);S:{T:{if(!a){break T}c=a&255;if((c|0)==163){break T}if((c|0)!=7){break S}}p[f+16>>1]=7;a=q[b+368>>2]+ -1|0;if(a>>>0>3){a=0;break S}U:{V:{switch(a-1|0){case 0:p[f+18>>1]=0;q[f+12>>2]=1094995778;break U;case 2:p[f+18>>1]=1;q[f+12>>2]=1094992453;d=d+4|0;break U;default:p[f+18>>1]=2;q[f+12>>2]=1094992451;d=d+8|0;break U;case 1:break V}}d=d+12|0;p[f+18>>1]=3;q[f+12>>2]=1818326065}a=0;b=q[d>>2];if(!b){break S}a=md(b,0,f+8|0,0)}Da=f+1536|0;return a|0}Da=f+1536|0;return a|0}function NK(a,b,c,d){a=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=Da-16|0;Da=i;e=-4;a:{if(b>>>0>=c>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{j=a+72|0;f=r[j+r[b|0]|0];if(f>>>0<=10){p:{switch(f-2|0){case 2:break j;case 3:break m;case 4:break n;case 5:break o;case 0:break p;case 1:break f;case 7:break g;case 8:break h;default:break l}}f=b+1|0;g=c-f|0;if((g|0)<1){e=-1;break a}e=r[r[f|0]+j|0]+ -5|0;if(e>>>0>24){break b}h=2;q:{r:{s:{t:{u:{v:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=3;if(n[q[a+340>>2]](a,f)){break u}break b;case 0:e=-2;if((g|0)<3){break a}h=4;if(!n[q[a+344>>2]](a,f)){break b}break u;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 12:case 13:case 14:case 15:case 17:case 19:case 20:case 21:case 22:case 23:break b;case 11:break r;case 9:break s;case 10:break t;case 16:case 18:break u;case 1:break v}}e=-2;if((g|0)<4){break a}h=5;if(!n[q[a+348>>2]](a,f)){break b}}b=b+h|0;g=c-b|0;if((g|0)>=1){break q}e=-1;break a}f=b+2|0;if((c-f|0)<1){e=-1;break a}w:{e=r[r[b+2|0]+j|0]+ -20|0;if(e>>>0>7){break w}x:{switch(e-1|0){case 6:e=tq(a,b+3|0,c,d);break a;case 0:case 1:case 2:case 3:case 4:case 5:break w;default:break x}}e=-1;a=b+3|0;if((c-a|0)<6){break a}if(r[b+3|0]!=67){break c}if(r[b+4|0]!=68){a=b+4|0;break c}if(r[b+5|0]!=65){a=b+5|0;break c}if(r[b+6|0]!=84){a=b+6|0;break c}if(r[b+7|0]!=65){a=b+7|0;break c}e=8;if(r[b+8|0]!=91){a=b+8|0;break c}q[d>>2]=b+9;break a}q[d>>2]=f;e=0;break a}e=sq(a,b+2|0,c,d);break a}f=b+2|0;g=c-f|0;if((g|0)<1){e=-1;break a}e=r[r[f|0]+j|0]+ -5|0;y:{if(e>>>0>24){break y}h=3;z:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=4;if(n[q[a+340>>2]](a,f)){break d}break y;case 0:e=-2;if((g|0)<3){break a}h=5;if(!n[q[a+344>>2]](a,f)){break y}break d;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 17:case 19:case 20:case 21:case 22:case 23:break y;case 1:break z;case 16:case 18:break d}}e=-2;if((g|0)<4){break a}h=6;if(n[q[a+348>>2]](a,f)){break d}}q[d>>2]=f;e=0;break a}h=0;while(1){f=r[r[b|0]+j|0]+ -5|0;if(f>>>0>24){break e}e=1;A:{B:{C:{D:{switch(f-1|0){default:if((g|0)<2){e=-2;break a}e=2;if(n[q[a+328>>2]](a,b)){break A}break e;case 0:if((g|0)<3){e=-2;break a}e=3;if(!n[q[a+332>>2]](a,b)){break e}break A;case 1:if((g|0)<4){e=-2;break a}e=4;if(!n[q[a+336>>2]](a,b)){break e}break A;case 17:if(h){break e}f=b+1|0;g=c-f|0;if((g|0)<1){e=-1;break a}k=r[r[f|0]+j|0]+ -5|0;E:{if(k>>>0>24){break E}h=1;e=2;F:{switch(k-1|0){default:if((g|0)<2){e=-2;break a}e=3;if(n[q[a+340>>2]](a,f)){break A}break E;case 0:if((g|0)<3){e=-2;break a}e=4;if(!n[q[a+344>>2]](a,f)){break E}break A;case 16:case 18: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 17:case 19:case 20:case 21:case 22:case 23:break E;case 1:break F}}if((g|0)<4){e=-2;break a}e=5;if(n[q[a+348>>2]](a,f)){break A}}q[d>>2]=f;e=0;break a;case 16:case 18:case 19:case 20:case 21:break A;case 5:break B;case 11:break C;case 3:case 4:case 15:break D;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 22:case 23:break e}}e=b+1|0;g=c-e|0;if((g|0)<1){e=-1;break a}f=b;while(1){b=e;e=r[r[f+1|0]+j|0]+ -5|0;if(e>>>0>24){break e}h=2;G:{H:{I:{switch(e-1|0){default:e=-2;if((g|0)<2){break a}h=3;if(!n[q[a+340>>2]](a,b)){break e}break H;case 0:e=-2;if((g|0)<3){break a}h=4;if(!n[q[a+344>>2]](a,b)){break e}break H;case 5:break B;case 11:break C;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break e;case 3:case 4:case 15:break G;case 16:case 18:break H;case 1:break I}}e=-2;if((g|0)<4){break a}h=5;if(!n[q[a+348>>2]](a,b)){break e}}b=f+h|0;q[i+12>>2]=b;e=-1;g=c-b|0;if((g|0)<1){break a}h=0;while(1){f=i;J:{K:{L:{M:{N:{O:{k=r[r[b|0]+j|0]+ -5|0;if(k>>>0>24){break O}P:{Q:{switch(k-1|0){default:if((g|0)<2){e=-2;break a}if(!n[q[a+328>>2]](a,b)){break O}b=b+2|0;break M;case 0:if((g|0)<3){e=-2;break a}if(!n[q[a+332>>2]](a,b)){break O}b=b+3|0;break M;case 1:if((g|0)<4){e=-2;break a}if(!n[q[a+336>>2]](a,b)){break O}b=b+4|0;break M;case 17:if(h){break O}f=b+1|0;q[i+12>>2]=f;h=c-f|0;if((h|0)<1){break a}R:{g=r[r[f|0]+j|0]+ -5|0;if(g>>>0>24){break R}S:{switch(g-1|0){case 16:case 18:b=b+2|0;break K;default:if((h|0)<2){e=-2;break a}if(!n[q[a+340>>2]](a,f)){break R}b=b+3|0;break K;case 0:if((h|0)<3){e=-2;break a}if(!n[q[a+344>>2]](a,f)){break R}b=b+4|0;break K;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 17:case 19:case 20:case 21:case 22:case 23:break R;case 1:break S}}if((h|0)<4){e=-2;break a}if(!n[q[a+348>>2]](a,f)){break R}b=b+5|0;break K}q[d>>2]=f;e=0;break a;case 16:case 18:case 19:case 20:case 21:break N;case 2:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 22:case 23:break O;case 8:break P;case 3:case 4:case 15:break Q}}b=b+1|0;q[i+12>>2]=b;if((c-b|0)<1){break a}while(1){f=r[r[b|0]+j|0]+ -9|0;if(f>>>0>12){break O}T:{switch(f-2|0){case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:break O;case 3:break P;default:break T}}b=b+1|0;q[i+12>>2]=b;if((c-b|0)>0){continue}break}break a}f=b+1|0;q[i+12>>2]=f;if((c-f|0)<1){break a}g=r[r[f|0]+j|0];if((g|1)==13){break L}while(1){b=f;f=g&255;if(f>>>0>21|!(1<>2]=f;if((c-f|0)<=0){break a}g=r[r[f|0]+j|0];if((g|1)!=13){continue}break}break L}q[d>>2]=b;e=0;break a}b=b+1|0}q[f+12>>2]=b;break J}b=b+2|0;q[i+12>>2]=b;h=c-b|0;if((h|0)<1){break a}U:{while(1){k=r[r[b|0]+j|0];if((k|0)!=(g&255)){f=i;V:{W:{X:{if(k>>>0>8){break X}Y:{switch(k-3|0){case 2:if((h|0)<2){e=-2;break a}if(n[q[a+352>>2]](a,b)){break U}b=b+2|0;break W;case 3:if((h|0)<3){e=-2;break a}if(n[q[a+356>>2]](a,b)){break U}b=b+3|0;break W;case 4:if((h|0)<4){e=-2;break a}if(n[q[a+360>>2]](a,b)){break U}b=b+4|0;break W;case 1:break X;case 0:break Y;default:break U}}b=hi(a,b+1|0,c,i+12|0);if((b|0)>=1){b=q[i+12>>2];break V}e=b;if(b){break a}q[d>>2]=q[i+12>>2];e=0;break a}b=b+1|0}q[f+12>>2]=b}h=c-b|0;if((h|0)>0){continue}break a}break}f=b+1|0;q[i+12>>2]=f;if((c-f|0)<1){break a}Z:{_:{h=r[r[f|0]+j|0]+ -9|0;if(h>>>0>12){break _}$:{aa:{ba:{switch(h-2|0){case 1:case 2:case 3:case 4:case 5:case 7:case 8:case 9:break _;case 6:break $;case 0:break aa;default:break ba}}b=b+2|0;q[i+12>>2]=b;h=f;g=c-b|0;if((g|0)<1){break a}while(1){f=b;b=r[r[b|0]+j|0]+ -5|0;if(b>>>0>24){break _}ca:{switch(b-1|0){case 16:case 18:b=h+2|0;break Z;default:if((g|0)<2){e=-2;break a}if(!n[q[a+340>>2]](a,f)){break _}b=f+2|0;break Z;case 0:if((g|0)<3){e=-2;break a}if(!n[q[a+344>>2]](a,f)){break _}b=f+3|0;break Z;case 1:if((g|0)<4){e=-2;break a}if(!n[q[a+348>>2]](a,f)){break _}b=f+4|0;break Z;case 2:case 6:case 7:case 8:case 9:case 10:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break _;case 11:break $;case 5:break aa;case 3:case 4:case 15:break ca}}b=f+1|0;q[i+12>>2]=b;h=f;g=c-b|0;if((g|0)>0){continue}break}break a}e=1;q[d>>2]=f+1;break a}a=f+1|0;q[i+12>>2]=a;if((c-a|0)<1){break a}if(r[a|0]!=62){q[d>>2]=a;e=0;break a}q[d>>2]=f+2;e=3;break a}q[d>>2]=f;e=0;break a}q[i+12>>2]=b;h=0;break J}q[d>>2]=b;e=0;break a}q[i+12>>2]=b;h=1}g=c-b|0;if((g|0)>0){continue}break}break a}f=b;e=b+1|0;g=c-e|0;if((g|0)>0){continue}break}e=-1;break a}e=-1;a=b+1|0;if((c-a|0)<1){break a}if(r[b+1|0]!=62){q[d>>2]=a;e=0;break a}q[d>>2]=b+2;e=4;break a}q[d>>2]=b+1;e=2;break a}b=b+e|0;g=c-b|0;if((g|0)>0){continue}break}e=-1;break a}f=b+1|0;break i}e=-2;if((c-b|0)<4){break a}if(n[q[a+360>>2]](a,b)){break l}f=b+4|0;break i}e=-2;if((c-b|0)<3){break a}if(n[q[a+356>>2]](a,b)){break l}f=b+3|0;break i}e=-2;if((c-b|0)<2){break a}if(!n[q[a+352>>2]](a,b)){break k}}q[d>>2]=b;e=0;break a}f=b+2|0;break i}e=-5;f=b+1|0;if((c-f|0)<1){break a}if(r[f|0]!=93){break i}h=b+2|0;if((c-h|0)<1){break a}if(r[b+2|0]!=62){break i}q[d>>2]=h;e=0;break a}da:{ea:{e=c-f|0;if((e|0)>=1){while(1){b=f;f=r[r[b|0]+j|0];fa:{if(f>>>0<=10){ga:{switch(f-4|0){case 1:if((e|0)<2){break ea}if(n[q[a+352>>2]](a,b)){break ea}f=b+2|0;break fa;case 2:if((e|0)<3){break ea}if(n[q[a+356>>2]](a,b)){break ea}f=b+3|0;break fa;case 3:if((e|0)<4){break ea}if(n[q[a+360>>2]](a,b)){break ea}f=b+4|0;break fa;case 0:break ga;default:break ea}}if((e|0)<2){break ea}f=b+1|0;if(r[b+1|0]!=93){break fa}if((e|0)<3){break ea}if(r[b+2|0]!=62){break fa}q[d>>2]=b+2;e=0;break a}f=b+1|0}e=c-f|0;if((e|0)>0){continue}break}}q[d>>2]=f;break da}q[d>>2]=b}e=6;break a}q[d>>2]=b+1;e=7;break a}a=b+1|0;if((c-a|0)<1){e=-3;break a}q[d>>2]=r[r[b+1|0]+j|0]==10?b+2|0:a;e=7;break a}e=hi(a,b+1|0,c,d);break a}q[d>>2]=b;e=0;break a}b=b+h|0;g=c-b|0;if((g|0)<1){e=-1;break a}ha:{ia:{ja:{while(1){f=r[r[b|0]+j|0]+ -5|0;if(f>>>0>24){break ha}e=1;ka:{la:{switch(f-1|0){default:if((g|0)<2){e=-2;break a}e=2;if(n[q[a+328>>2]](a,b)){break ka}break ha;case 0:if((g|0)<3){e=-2;break a}e=3;if(!n[q[a+332>>2]](a,b)){break ha}break ka;case 2:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 22:case 23:break ha;case 5:break ia;case 3:case 4:case 15:break ja;case 16:case 17:case 18:case 19:case 20:case 21:break ka;case 1:break la}}if((g|0)<4){e=-2;break a}e=4;if(!n[q[a+336>>2]](a,b)){break ha}}b=b+e|0;g=c-b|0;if((g|0)>0){continue}break}e=-1;break a}e=b+1|0;if((c-e|0)<1){e=-1;break a}while(1){ma:{na:{a=r[r[b+1|0]+j|0]+ -9|0;if(a>>>0>12){break na}oa:{switch(a-2|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break na;case 0:break oa;default:break ma}}q[d>>2]=b+2;e=5;break a}q[d>>2]=e;e=0;break a}b=e;e=b+1|0;if((c-e|0)>0){continue}break}e=-1;break a}q[d>>2]=b+1;e=5;break a}q[d>>2]=b;e=0;break a}q[d>>2]=a;e=0;break a}q[d>>2]=f;e=0}Da=i+16|0;return e|0}function Ug(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,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,V=0;g=Da-352|0;Da=g;o=v[d>>3];m=v[c+24>>3];t=v[d+8>>3];s=v[c+16>>3];I=o*m-t*s;z=v[d+32>>3];H=v[d+24>>3];l=o*z-t*H;F=v[d+40>>3];p=I+l*F;G=v[d+16>>3];K=H*m-z*s;B=l*G-K;A=o*s+t*m;C=H*s+z*m;a:{if(!(l<0)){i=33;h=l;r=2;break a}p=-p;B=-B;h=-l;r=1}N=A+C;b:{c:{if(!(N>0)){break c}o=o*H+t*z;d:{if(e&r){z=C+(o*G+F);t=A+(G+o*F);if(!(zs^1|G*(t*m+p)>s^1){break e}f:{if(f){q[a+56>>2]=r|q[a+56>>2];break f}x=q[b+4>>2];u=q[b>>2];w=r&(q[a+60>>2]^-1);p=v[a+80>>3]*v[a+16>>3];g:{if(y(p)<2147483648){n=~~p;break g}n=-2147483648}j=w&1;p=v[a+88>>3]*v[a+24>>3];h:{if(y(p)<2147483648){k=~~p;break h}k=-2147483648}if(j){q[g+116>>2]=k+x;q[g+112>>2]=n+u;D=q[a>>2];j=q[g+116>>2];q[g+104>>2]=q[g+112>>2];q[g+108>>2]=j;j=0;if(!qb(D,g+104|0,1)){break b}}if(!(w&2)){break f}q[g+116>>2]=x-k;q[g+112>>2]=u-n;n=q[a+4>>2];k=q[g+116>>2];q[g+96>>2]=q[g+112>>2];q[g+100>>2]=k;j=0;if(!qb(n,g+96|0,1)){break b}}q[a+60>>2]=r|q[a+60>>2];i:{if(!(t<0^1?!(z<0):0)){x=q[b+4>>2];h=v[a+24>>3]*0;j:{if(y(h)<2147483648){n=~~h;break j}n=-2147483648}u=r&1;h=v[a+16>>3]*0;k:{if(y(h)<2147483648){k=~~h;break k}k=-2147483648}w=q[b>>2];if(u){q[g+116>>2]=n+x;q[g+112>>2]=k+w;D=q[a>>2];j=q[g+116>>2];q[g+72>>2]=q[g+112>>2];q[g+76>>2]=j;j=0;if(!qb(D,g+72|0,1)){break b}}D=r&2;if(D){q[g+116>>2]=x-n;q[g+112>>2]=w-k;n=q[a+4>>2];k=q[g+116>>2];q[g+64>>2]=q[g+112>>2];q[g+68>>2]=k;j=0;if(!qb(n,g- -64|0,1)){break b}}x=q[b+28>>2];h=v[a+24>>3]*0;l:{if(y(h)<2147483648){n=~~h;break l}n=-2147483648}h=v[a+16>>3]*0;m:{if(y(h)<2147483648){k=~~h;break m}k=-2147483648}w=q[b+24>>2];if(u){q[g+116>>2]=n+x;q[g+112>>2]=k+w;u=q[a>>2];j=q[g+116>>2];q[g+56>>2]=q[g+112>>2];q[g+60>>2]=j;j=0;if(!qb(u,g+56|0,1)){break b}}if(!D){break i}q[g+116>>2]=x-n;q[g+112>>2]=w-k;n=q[a+4>>2];k=q[g+116>>2];q[g+48>>2]=q[g+112>>2];q[g+52>>2]=k;j=0;if(qb(n,g+48|0,1)){break i}break b}h=z/h;p=h*v[d+8>>3]*v[a+24>>3];n:{if(y(p)<2147483648){n=~~p;break n}n=-2147483648}j=r&1;x=q[b+4>>2];h=h*v[d>>3]*v[a+16>>3];o:{if(y(h)<2147483648){k=~~h;break o}k=-2147483648}u=q[b>>2];if(j){q[g+116>>2]=n+x;q[g+112>>2]=k+u;w=q[a>>2];j=q[g+116>>2];q[g+88>>2]=q[g+112>>2];q[g+92>>2]=j;j=0;if(!qb(w,g+88|0,1)){break b}}if(!(r&2)){break i}q[g+116>>2]=x-n;q[g+112>>2]=u-k;n=q[a+4>>2];k=q[g+116>>2];q[g+80>>2]=q[g+112>>2];q[g+84>>2]=k;j=0;if(!qb(n,g+80|0,1)){break b}}n=(r^-1)&e;if(n){break e}b=q[d+28>>2];q[a+80>>2]=q[d+24>>2];q[a+84>>2]=b;b=q[d+36>>2];q[a+88>>2]=q[d+32>>2];q[a+92>>2]=b;j=1;break b}r=e^r;break d}n=I<0?i|64:i;i=K<0?n^65:n;k=i&64;p:{q:{r:{s:{t:{u:{if(!!(o+B<1)){v:{if(!k){break v}i=(o<0?642:130)^i;if(!(z>h)){break v}i=i^10}n=k?1:2;break u}n=!k;if(k){break t}if(!(o>0)){i=i^193;break u}i=i^705}if(!(o+p<1)){break s}if(!k){break q}break r}if(o+p<1){i=i^65;break r}i=i^1;break p}if(k){i=i^64;break p}if(!(o>0)){i=i^320;break p}i=i^1344;break p}i=(o<0?1284:260)^i;if(!(t>h)){break q}i=i^20}n=n+1|0}r=((n|0)>2?r:0)^e}else{r=e}n=e}w:{if(!r){break w}H=o+ -1;B=(I+K)/N;O=B*B;P=H+H+O*3;h=l*B;J=h+h;Q=P-J;p=o+1;t=p*O;m=l*l;R=p*t;F=m*3+R*3;G=p*(h*6);s=F-G;h=E(p*.5);h=h*1.5*(h+1);L=(o+4)*J;M=m+m-t*6;S=L+M;z=h*S+(s+s);L=M-L;F=G+F;G=h*L+(F+F);M=(m-o*t)*7.2;m=o*((R-m)*3.6);t=h*M+(m+m);J=J+P;H=H*4+o*(O*3.6);h=((s-h*(h*Q))*z+((F-h*(h*J))*G+((m-h*(h*H))*t+0)))/(h*(z*z+(G*G+(t*t+0)))+1e-9);s=Q+h*(S+s*h);t=s*s;s=J+h*(L+F*h);m=H+h*(M+m*h);if(!(t+(s*s+(m*m+0))>3])){break w}m=l*h;s=p*h+ -1;p=B*s;h=m+p;p=p-m;e=i&32;k=e>>>5|0?2:1;x:{if(!(k&r)){m=v[d+40>>3];s=v[d+16>>3];break x}B=e?-l:l;j=s*(B+B)>3];t=e?-p:p;j=s-t<0?j|2:j;z=e?-h:h;m=v[d+40>>3];e=z+m<0?j|4:j;e=B+(A+s)-o*z<0?e|8:e;if(!(((o*t+(B+(C+m))<0?e|16:e)^i)&i>>>6)){break x}r=(k^-1)&r;if(!r){break w}}t=I+I;B=v[a+152>>3];A=A+A;if(!(y(t+p*3*s)>2];l=v[d+8>>3];o=v[d+32>>3];u=q[b>>2];A=v[d>>3];C=v[d+24>>3];T=r^-1;q[a+60>>2]=T&q[a+60>>2];m=v[a+80>>3]*v[a+16>>3];y:{if(y(m)<2147483648){e=~~m;break y}e=-2147483648}x=r&1;m=v[a+88>>3]*v[a+24>>3];z:{if(y(m)<2147483648){k=~~m;break z}k=-2147483648}if(x){q[g+116>>2]=i+k;q[g+112>>2]=e+u;w=q[a>>2];j=q[g+116>>2];q[g+40>>2]=q[g+112>>2];q[g+44>>2]=j;j=0;if(!qb(w,g+40|0,3)){break b}}w=r&2;if(w){q[g+116>>2]=i-k;q[g+112>>2]=u-e;e=q[a+4>>2];r=q[g+116>>2];q[g+32>>2]=q[g+112>>2];q[g+36>>2]=r;j=0;if(!qb(e,g+32|0,3)){break b}}m=A+p*l;u=q[b+12>>2];l=(l-p*A)*v[a+24>>3];A:{if(y(l)<2147483648){r=~~l;break A}r=-2147483648}l=m*v[a+16>>3];B:{if(y(l)<2147483648){k=~~l;break B}k=-2147483648}D=q[b+8>>2];if(x){i=q[a>>2];j=q[i>>2];e=q[i+4>>2];if(j>>>0>=e>>>0){j=0;q[160942]=0;e=e<<1;U=i,V=qc(q[i+16>>2],e,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=e;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=k+D;q[j+4>>2]=r+u;q[i>>2]=q[i>>2]+1}if(w){i=q[a+4>>2];j=q[i>>2];e=q[i+4>>2];if(j>>>0>=e>>>0){j=0;q[160942]=0;e=e<<1;U=i,V=qc(q[i+16>>2],e,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=e;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=D-k;q[j+4>>2]=u-r;q[i>>2]=q[i>>2]+1}l=C+h*o;u=q[b+20>>2];h=(o-h*C)*v[a+24>>3];C:{if(y(h)<2147483648){e=~~h;break C}e=-2147483648}l=l*v[a+16>>3];D:{if(y(l)<2147483648){r=~~l;break D}r=-2147483648}D=q[b+16>>2];if(x){i=q[a>>2];j=q[i>>2];k=q[i+4>>2];if(j>>>0>=k>>>0){j=0;q[160942]=0;k=k<<1;U=i,V=qc(q[i+16>>2],k,8),q[U+16>>2]=V;if(q[160942]){break b}q[i+4>>2]=k;j=q[i>>2]}j=q[i+16>>2]+(j<<3)|0;q[j>>2]=r+D;q[j+4>>2]=e+u;q[i>>2]=q[i>>2]+1}if(w){k=q[a+4>>2];j=q[k>>2];i=q[k+4>>2];if(j>>>0>=i>>>0){j=0;q[160942]=0;i=i<<1;U=k,V=qc(q[k+16>>2],i,8),q[U+16>>2]=V;if(q[160942]){break b}q[k+4>>2]=i;j=q[k>>2]}j=q[k+16>>2]+(j<<3)|0;q[j>>2]=D-r;q[j+4>>2]=u-e;q[k>>2]=q[k>>2]+1}e=n&T;if(e){break c}b=q[d+28>>2];q[a+80>>2]=q[d+24>>2];q[a+84>>2]=b;b=q[d+36>>2];q[a+88>>2]=q[d+32>>2];q[a+92>>2]=b;j=1;break b}e=n}n=q[b+12>>2];r=q[b+8>>2];j=q[b>>2];x=q[b+24>>2];k=q[b+16>>2];i=q[b+4>>2];u=q[b+20>>2];w=u+q[b+28>>2]|0;q[g+332>>2]=w>>1;u=(n+u|0)+2|0;w=u+w|0;q[g+324>>2]=w>>2;n=i+n|0;i=n+u|0;D=i>>2;q[g+308>>2]=D;i=(i+w|0)+ -1>>3;q[g+316>>2]=i;x=k+x|0;q[g+328>>2]=x>>1;j=j+r|0;q[g+296>>2]=j>>1;q[g+300>>2]=n>>1;n=(k+r|0)+2|0;r=n+x|0;q[g+320>>2]=r>>2;n=j+n|0;w=n>>2;q[g+304>>2]=w;x=(n+r|0)+ -1>>3;q[g+312>>2]=x;n=q[b+4>>2];r=q[b>>2];q[g+288>>2]=r;q[g+292>>2]=n;k=q[b+28>>2];q[g+336>>2]=q[b+24>>2];q[g+340>>2]=k;h=v[c>>3]*.5;v[g+208>>3]=h;l=v[c+8>>3]*.5;v[g+216>>3]=l;o=v[c+24>>3];C=v[c+16>>3];m=v[c+32>>3]*.5;v[g+272>>3]=m;p=v[c+40>>3];t=l;l=o*.5;A=(t+l)*.5;v[g+232>>3]=A;o=p*.5;v[g+280>>3]=o;p=(l+o)*.5;v[g+264>>3]=p;l=(A+p)*.5;v[g+248>>3]=l;t=h;h=C*.5;o=(t+h)*.5;v[g+224>>3]=o;C=(h+m)*.5;v[g+256>>3]=C;h=(o+C)*.5;v[g+240>>3]=h;k=g+240|0;u=g+312|0;m=E(h*h+l*l);s=v[a+128>>3];if(!!(m>2];q[g+112>>2]=q[d>>2];q[g+116>>2]=b;b=q[d+12>>2];q[g+120>>2]=q[d+8>>2];q[g+124>>2]=b;v[g+128>>3]=v[d+16>>3]*.5;b=q[d+36>>2];q[g+192>>2]=q[d+32>>2];q[g+196>>2]=b;b=q[d+28>>2];q[g+184>>2]=q[d+24>>2];q[g+188>>2]=b;v[g+200>>3]=v[d+40>>3]*.5;o=o+h;v[g+224>>3]=o;h=C+h;v[g+256>>3]=h;p=p+l;v[g+264>>3]=p;l=A+l;v[g+232>>3]=l;q[k>>2]=0;q[k+4>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;A=E(o*o+l*l);b=A>2];q[g+152>>2]=q[d+16>>2];q[g+156>>2]=c;c=q[d+12>>2];q[g+144>>2]=q[d+8>>2];q[g+148>>2]=c;c=q[d+4>>2];q[g+136>>2]=q[d>>2];q[g+140>>2]=c;break E}v[g+152>>3]=A;t=l;l=1/A;v[g+144>>3]=t*l;v[g+136>>3]=o*l}l=E(h*h+p*p);F:{if(!!(l>2];q[g+176>>2]=q[d+40>>2];q[g+180>>2]=c;c=q[d+36>>2];q[g+168>>2]=q[d+32>>2];q[g+172>>2]=c;c=q[d+28>>2];q[g+160>>2]=q[d+24>>2];q[g+164>>2]=c;break F}v[g+176>>3]=l;o=1/l;v[g+168>>3]=p*o;v[g+160>>3]=h*o}G:{if(!!b){q[a+60>>2]=q[a+60>>2]&(e^-1);h=v[a+80>>3]*v[a+16>>3];H:{if(y(h)<2147483648){b=~~h;break H}b=-2147483648}d=n;f=e&1;h=v[a+88>>3]*v[a+24>>3];I:{if(y(h)<2147483648){c=~~h;break I}c=-2147483648}if(f){q[g+348>>2]=c+d;q[g+344>>2]=b+r;f=q[a>>2];n=q[g+348>>2];q[g+24>>2]=q[g+344>>2];q[g+28>>2]=n;j=0;if(!qb(f,g+24|0,1)){break b}}if(!(e&2)){break G}q[g+348>>2]=d-c;q[g+344>>2]=r-b;b=q[a+4>>2];c=q[g+348>>2];q[g+16>>2]=q[g+344>>2];q[g+20>>2]=c;j=0;if(qb(b,g+16|0,1)){break G}break b}j=0;if(!Ug(a,g+288|0,g+208|0,g+112|0,e,f)){break b}}j=0;if(!kg(a,w,D,v[g+160>>3],v[g+168>>3],e)){break b}J:{if(!!(l>3])){q[a+60>>2]=q[a+60>>2]&(e^-1);l=v[a+80>>3]*v[a+16>>3];K:{if(y(l)<2147483648){b=~~l;break K}b=-2147483648}d=e&1;l=v[a+88>>3]*v[a+24>>3];L:{if(y(l)<2147483648){c=~~l;break L}c=-2147483648}if(d){q[g+348>>2]=c+i;q[g+344>>2]=b+x;d=q[a>>2];f=q[g+348>>2];q[g+8>>2]=q[g+344>>2];q[g+12>>2]=f;if(!qb(d,g+8|0,1)){break b}}if(!(e&2)){break J}q[g+348>>2]=i-c;q[g+344>>2]=x-b;a=q[a+4>>2];b=q[g+348>>2];q[g>>2]=q[g+344>>2];q[g+4>>2]=b;if(qb(a,g,1)){break J}break b}if(!Ug(a,u,k,g+160|0,e,0)){break b}}j=1;break b}b=q[d+4>>2];q[g+112>>2]=q[d>>2];q[g+116>>2]=b;b=q[d+12>>2];q[g+120>>2]=q[d+8>>2];q[g+124>>2]=b;o=v[d+16>>3];t=l;l=1/m;v[g+144>>3]=t*l;v[g+152>>3]=m;v[g+136>>3]=h*l;v[g+128>>3]=o*.5;b=q[d+36>>2];q[g+168>>2]=q[d+32>>2];q[g+172>>2]=b;b=q[d+28>>2];q[g+160>>2]=q[d+24>>2];q[g+164>>2]=b;v[g+176>>3]=v[d+40>>3]*.5;j=0;if(!Ug(a,g+288|0,g+208|0,g+112|0,e,f)){break b}j=Ug(a,u,k,g+136|0,e,0)}Da=g+352|0;return j}function zA(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;u=Da-16|0;Da=u;if(f){q[f>>2]=q[a+276>>2]}a:{if(q[a+92>>2]<0){break a}h=q[d>>2];if(!(!h|(q[e>>2]?e:0))){q[a+92>>2]=-20;break a}b:{if(!q[a+48>>2]){q[a+20>>2]=q[b>>2];q[a+16>>2]=q[c>>2];g=1;break b}q[a+16>>2]=a+40;g=2}m=a+8|0;y=h?e:0;G=a+824|0;A=a+1168|0;B=a+624|0;C=a+152|0;D=a+136|0;v=a+120|0;H=a+252|0;I=a+248|0;E=a+576|0;J=a+572|0;F=a+40|0;c:while(1){d:{e:{e=g+ -1|0;f:{if(e>>>0<=1){if(e-1){break d}if(q[a+96>>2]){g=sh(a,d,y,f,1);if((g|0)<0){break f}}e=q[a+48>>2];if(e){if(!q[a+20>>2]){q[a+48>>2]=0;q[a+20>>2]=q[b>>2];q[a+16>>2]=q[c>>2];g=1;continue}if(!q[b>>2]){q[a+92>>2]=2;g=2;break a}o[e+F|0]=r[q[c>>2]];g=1;e=q[a+48>>2]+1|0;q[a+20>>2]=e;q[a+48>>2]=e;q[c>>2]=q[c>>2]+1;q[b>>2]=q[b>>2]+ -1;continue}e=q[a+16>>2];q[c>>2]=e;d=q[a+20>>2];q[b>>2]=d;g=2;if(!d){break f}h=0;while(1){o[h+F|0]=r[e|0];h=q[a+48>>2]+1|0;q[a+48>>2]=h;e=q[c>>2]+1|0;q[c>>2]=e;d=q[b>>2]+ -1|0;q[b>>2]=d;if(d){continue}break}break f}if(!q[a+48>>2]){break e}q[a+48>>2]=0}q[a+92>>2]=g;g=g+ -1>>>0<3?g:0;break a}h=q[a+12>>2];e=32-h|0;d=e>>>3|0;i=d+q[a+20>>2]|0;q[a+20>>2]=i;v=q[a+16>>2]-d|0;q[a+16>>2]=v;d=a;e=e&-8;if((e|0)!=32){f=q[m>>2]<>2]=f;q[a+12>>2]=e+h;q[b>>2]=i;q[c>>2]=v;q[a+92>>2]=g;g=g+ -1>>>0<3?g:0;break a}g=1;e=q[a>>2];if(e>>>0>26){continue}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:{switch(e-1|0){case 18:e=q[a+4>>2];g=q[((e<<2)+a|0)+204>>2];break j;case 1:e=q[a+564>>2];break q;case 21:g=q[a+204>>2];break G;case 5:i=q[a+4>>2];break H;case 11:i=q[a+184>>2];if((i|0)<1){break n}g=q[a+12>>2];while(1){J:{if(32-g>>>0>7){h=g;break J}e=q[a+20>>2];while(1){if(!e){g=2;continue c}k=q[a+8>>2]>>>8|0;q[a+8>>2]=k;j=q[a+16>>2];l=r[j|0];e=e+ -1|0;q[a+20>>2]=e;h=g+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;q[a+8>>2]=k|l<<24;k=40-g|0;g=h;if(k>>>0<8){continue}break}}e=i+ -1|0;q[a+184>>2]=e;g=h+8|0;q[a+12>>2]=g;h=(i|0)>1;i=e;if(h){continue}break}break n;case 20:break h;case 19:break i;case 16:break l;case 3:break o;case 2:break p;case 0:break r;case 17:break s;case 10:break t;case 6:case 7:case 8:case 9:break u;case 25:break y;case 13:break z;case 12:case 14:case 15:break A;case 24:break B;case 23:break E;case 22:break F;case 4:break I;default:break g}}h=q[a+12>>2];K:{if(32-h>>>0>=6){j=q[m>>2];break K}g=q[a+20>>2];e=h;while(1){if(!g){g=2;continue c}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;k=q[a+16>>2];j=r[k|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=k+1;j=i|j<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<6){continue}break}}q[a+12>>2]=h+6;e=j>>>h|0;h=e&3;q[a+240>>2]=h;q[a+244>>2]=(e>>>2&15)<>2]](q[a+32>>2],q[a+204>>2])|0;q[a+580>>2]=e;g=-21;if(!e){continue}q[a>>2]=6;q[a+4>>2]=0;i=0}g=q[a+204>>2];if((i|0)<(g|0)){while(1){h=q[a+12>>2];L:{if(32-h>>>0>=2){j=q[a+8>>2];break L}g=q[a+20>>2];e=h;while(1){if(!g){break x}k=q[a+8>>2]>>>8|0;q[a+8>>2]=k;j=q[a+16>>2];l=r[j|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;j=k|l<<24;q[a+8>>2]=j;k=40-e|0;e=h;if(k>>>0<2){continue}break}}q[a+12>>2]=h+2;o[q[a+580>>2]+i|0]=j>>>h&3;i=i+1|0;g=q[a+204>>2];if((i|0)<(g|0)){continue}break}}q[a>>2]=22}g=Hn(g<<6,J,E,a);if((g|0)!=1){continue}q[a+592>>2]=0;q[a+596>>2]=0;q[a+616>>2]=0;q[a+620>>2]=0;q[a+608>>2]=0;q[a+612>>2]=0;q[a+600>>2]=0;q[a+604>>2]=0;l=q[a+204>>2];if(l){e=q[E>>2];i=0;while(1){h=i<<6;k=r[h+e|0];g=0;j=0;while(1){j=k^r[e+(g+h|0)|0]|j|k^r[e+(h+(g|1)|0)|0]|k^r[e+(h+(g|2)|0)|0]|k^r[e+(h+(g|3)|0)|0];t=g>>>0<60;g=g+4|0;if(t){continue}break}if(!j){h=(i>>>3&536870908)+a|0;q[h+592>>2]=q[h+592>>2]|1<<(i&31)}i=i+1|0;if((l|0)!=(i|0)){continue}break}}q[a>>2]=23}g=q[a+244>>2];e=g+16|0;i=q[a+240>>2];k=i+1|0;M:{if(!(r[a+560|0]&32)){e=e+(24<>>0>2147483643){break N}l=(2147483644-g>>>i|0)+4|0;j=z(l>>>1|0);j=((l>>>31-j&1)-(j<<1)|0)+60|0;h=e;if(!j){break N}h=(g+(-1<>2]<<2,I,H,a);if((g|0)!=1){continue}if(dj(a,v,256,256,q[a+572>>2])&dj(a,D,704,704,q[a+208>>2])&dj(a,C,e,h,q[a+248>>2])&1){break D}q[a+92>>2]=-22;g=0;break a}h=q[a+4>>2];if(h>>>0<=2){e=v;O:{switch(h-1|0){case 0:e=D;break C;case 1:break O;default:break C}}e=C;break C}q[a+92>>2]=-31;g=0;break a}q[a>>2]=24;q[a+4>>2]=0;h=0;e=v}if(q[a+624>>2]==1){i=q[a+2412>>2]}else{g=q[e+4>>2];q[a+2412>>2]=0;q[a+2416>>2]=g;q[a+624>>2]=1;i=0}if((i|0)>1]){g=q[a+2416>>2];while(1){g=rh(s[e+8>>1],s[e+10>>1],g,u+12|0,a);if((g|0)!=1){continue c}h=q[a+2412>>2];q[q[e>>2]+(h<<2)>>2]=q[a+2416>>2];g=q[u+12>>2];h=h+1|0;q[a+2412>>2]=h;g=q[a+2416>>2]+(g<<2)|0;q[a+2416>>2]=g;if((h|0)>1]){continue}break}h=q[a+4>>2]}q[a+624>>2]=0;g=1;q[a+4>>2]=h+1;if((h|0)<2){continue}q[a>>2]=25}e=q[a+220>>2];h=q[a+576>>2]+(e<<6)|0;q[a+112>>2]=h;q[a+176>>2]=q[((e>>>3&536870908)+a|0)+592>>2]>>>(e&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[h|0]<<2)>>2];e=r[e+q[a+580>>2]|0];q[a+116>>2]=q[a+252>>2];q[a+108>>2]=((e&3)<<9)+153696;q[a+104>>2]=q[q[a+136>>2]>>2];g=-27;if(!Gn(a)){continue}k=s[a+162>>1];j=q[a+240>>2];e=0;g=16;l=q[a+244>>2];if(l){break w}break v}g=sh(a,d,y,f,0);if((g|0)!=1){continue}yA(a);if(q[a+64>>2]==1<>2]){q[a+60>>2]=q[a+56>>2]}e=q[a>>2]+ -15|0;if(e>>>0<=1){if(e-1){if(!q[a+184>>2]){break n}q[a>>2]=7;g=1;continue}q[a>>2]=10;g=1;continue}if(!q[a+4>>2]){if(!q[a+184>>2]){break n}q[a>>2]=9;g=1;continue}q[a>>2]=8;g=1;continue}g=-10;if(q[a+184>>2]<0){continue}GA(a);if(!(o[a+560|0]&1)){q[a>>2]=3;g=1;continue}e=q[a+12>>2];i=0-e&7;P:{if(!i){h=e;break P}h=e+i|0;q[a+12>>2]=h;g=-15;if(q[(i<<2)+153552>>2]&q[a+8>>2]>>>e){continue}}if(!q[a+48>>2]){g=32-h|0;e=g>>>3|0;k=e+q[a+20>>2]|0;q[a+20>>2]=k;j=q[a+16>>2]-e|0;q[a+16>>2]=j;e=a;g=g&-8;if((g|0)!=32){i=q[m>>2]<>2]=i;q[a+12>>2]=g+h;q[b>>2]=k;q[c>>2]=j}q[a>>2]=26}if(q[a+96>>2]){g=sh(a,d,y,f,1);if((g|0)!=1){continue}}q[a+92>>2]=1;g=1;break a}q[a+4>>2]=i;g=2;continue}while(1){o[g+B|0]=0;e=e+1|0;q[(g<<2)+A>>2]=e;g=g+1|0;if((e|0)!=(l|0)){continue}break}}h=1;i=0;if(g>>>0>>0){while(1){t=l+((i+2<>2]=t+e;g=g+1|0;if(!(e>>>j)){continue}break}h=h+i|0;i=i^1;if(g>>>0>>0){continue}break}}q[a>>2]=7}g=xA(a);if((g|0)!=2){continue}g=wA(a);continue}g=vA(d,y,f,a);if((g|0)!=1){continue}break n}g=q[a+4>>2];if((g|0)<3){break k}q[a>>2]=5;g=1;continue}h=q[a+12>>2];Q:{if(32-h>>>0>=6){j=q[m>>2];break Q}g=q[a+20>>2];e=h;while(1){if(!g){g=2;continue c}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;k=q[a+16>>2];j=r[k|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=k+1;j=i|j<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<6){continue}break}}q[a+12>>2]=h+6;e=j>>>h&63;q[a+564>>2]=e;g=-13;if(e+ -10>>>0>20){continue}q[a>>2]=2}q[a+56>>2]=(1<>2]](q[a+32>>2],12336)|0;q[a+168>>2]=e;g=-30;if(!e){continue}q[a>>2]=3;q[a+172>>2]=e+7584}HA(a);q[a>>2]=4}g=uA(a,m);if((g|0)!=1){continue}i=s[a+560>>1];R:{if(!(i&6)){break R}e=q[a+12>>2];h=0-e&7;if(!h){break R}q[a+12>>2]=e+h;g=-14;if(q[(h<<2)+153552>>2]&q[a+8>>2]>>>e){continue}}if(i&4){q[a>>2]=12;g=1;continue}if(q[a+184>>2]){break m}}q[a>>2]=14;g=1;continue}tA(a);if(r[a+560|0]&2){q[a>>2]=11;g=1;continue}q[a>>2]=17}q[a+788>>2]=G;q[a>>2]=18;q[a+4>>2]=0;q[a+632>>2]=0;q[a+636>>2]=0;q[a+624>>2]=0;q[a+628>>2]=0;g=0}g=En(a,m,((g<<2)+a|0)+204|0);if((g|0)!=1){continue}h=a+204|0;e=h+(q[a+4>>2]<<2)|0;q[e>>2]=q[e>>2]+1;e=q[a+4>>2];g=q[h+(e<<2)>>2];if(g>>>0<=1){g=1;q[a+4>>2]=e+1;continue}q[a>>2]=19}h=g+2|0;g=rh(h,h,q[a+168>>2]+w(e,2528)|0,0,a);if((g|0)!=1){continue}q[a>>2]=20}g=rh(26,26,q[a+172>>2]+w(q[a+4>>2],1584)|0,0,a);if((g|0)!=1){continue}q[a>>2]=21}l=q[a+4>>2];k=u;S:{T:{if(!q[a+556>>2]){t=q[a+172>>2]+w(l,1584)|0;U:{h=q[a+12>>2];V:{if(32-h>>>0>=15){j=q[m>>2];break V}g=q[a+20>>2];e=h;while(1){if(!g){break U}i=q[a+8>>2]>>>8|0;q[a+8>>2]=i;j=q[a+16>>2];x=r[j|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=j+1;j=i|x<<24;q[a+8>>2]=j;i=40-e|0;e=h;if(i>>>0<15){continue}break}}i=a;j=j>>>h|0;g=t+((j&255)<<2)|0;e=r[g|0];if(e>>>0>=9){h=h+8|0;q[a+12>>2]=h;g=(s[g+2>>1]+(q[(e<<2)+153520>>2]&j>>>8&127)<<2)+g|0;e=r[g|0]}q[i+12>>2]=(e&255)+h;i=s[g+2>>1];break T}if(!ud(t,m,u+8|0)){g=2;continue}i=q[u+8>>2];break S}i=q[a+188>>2]}q[k+8>>2]=i}W:{h=q[a+12>>2];t=i<<2;k=r[t+153442|0];X:{if(32-h>>>0>=k>>>0){j=q[m>>2];break X}g=q[a+20>>2];e=h;while(1){if(!g){break W}j=q[a+8>>2]>>>8|0;q[a+8>>2]=j;x=q[a+16>>2];K=r[x|0];g=g+ -1|0;q[a+20>>2]=g;h=e+ -8|0;q[a+12>>2]=h;q[a+16>>2]=x+1;j=j|K<<24;q[a+8>>2]=j;x=40-e|0;e=h;if(x>>>0>>0){continue}break}}q[a+12>>2]=h+k;q[((l<<2)+a|0)+192>>2]=s[t+153440>>1]+(q[(k<<2)+153552>>2]&j>>>h);q[a+556>>2]=0;q[a>>2]=18;g=1;q[a+4>>2]=q[a+4>>2]+1;continue}q[a+556>>2]=1;q[a+188>>2]=i;g=2;continue}g=2;if(!ej(m)){continue}i=s[a+560>>1];g=i&-33;p[a+560>>1]=g;e=q[a+12>>2];k=e+1|0;q[a+12>>2]=k;h=q[a+8>>2];Y:{if(!(h>>>e&1)){q[a+564>>2]=16;break Y}j=e+4|0;q[a+12>>2]=j;k=h>>>k&7;if(k){q[a+564>>2]=k+17;break Y}l=e+7|0;q[a+12>>2]=l;Z:{k=h>>>j&7;if(k>>>0<=1){if(k-1){break Z}g=-13;if(!(i&32)){continue}q[a+12>>2]=e+8;if(h>>>l&1){continue}g=i|32;p[a+560>>1]=g;break Y}q[a+564>>2]=k|8;break Y}q[a+564>>2]=17}if(g&32){q[a>>2]=1}else{q[a>>2]=2}g=1;continue}}Da=u+16|0;return g}function eC(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;h=Da-32|0;Da=h;a:{b:{f=Xa(a,0);if(!f){f=mb(a,17536,b+132|0);if(!f){break b}}q[h+24>>2]=f;break a}q[b+168>>2]=q[b+168>>2]+(q[b+204>>2]<<16);q[h+24>>2]=0;c:{if(!(q[b+132>>2]!=1346785840|t[b+136>>2]>4|t[b+144>>2]<58)){if(q[b+140>>2]==3338){break c}}f=2;q[h+24>>2]=2;break a}e=q[b+152>>2];f=Xa(a,e);q[h+8>>2]=f;d:{e:{if(f){break e}g=ib(a,h+8|0);f=q[h+8>>2];if(f){break e}f:{if(g>>>0>13106){break f}d=q[a+4>>2];if(w(g,5)+2>>>0>=d-e>>>0){break f}if(w(g,23)+95>>>0>>0){break d}}f=8;q[h+8>>2]=8}q[h+24>>2]=f;break a}f=0;q[h+24>>2]=0;q[b>>2]=g;if((c|0)<0){break a}x=c&65535;if(x>>>0>=g>>>0){f=6;q[h+24>>2]=6;break a}k=q[b+204>>2];f=Xa(a,q[b+152>>2]);q[h+8>>2]=f;g:{h:{i:{if(f){break i}c=ib(a,h+8|0);f=q[h+8>>2];if(f){break i}f=6;if(x>>>0>=c>>>0){break i}f=Ib(a,w(x,5));q[h+8>>2]=f;if(f){break i}d=ib(a,h+8|0);f=q[h+8>>2];if(f){break i}c=LF(a,h+8|0);f=q[h+8>>2];if(f){break i}q[b+240>>2]=d;q[b+244>>2]=c;f=Xa(a,c);q[h+8>>2]=f;if(f){break i}f=lb(a,d);q[h+8>>2]=f;if(f){break i}j:{if(d>>>0<13){break j}l=q[a+32>>2];m=l+d|0;q[b+248>>2]=r[l+2|0]|(r[l+1|0]<<8|r[l|0]<<16);q[b+252>>2]=r[l+5|0]|(r[l+4|0]<<8|r[l+3|0]<<16);q[b+256>>2]=r[l+8|0]|(r[l+7|0]<<8|r[l+6|0]<<16);q[b+260>>2]=r[l+11|0]|(r[l+10|0]<<8|r[l+9|0]<<16);c=0;e=l+13|0;i=e;j=r[l+12|0];d=j&4;if(d){c=j&8?2:1;c=j&3?c:c+3|0}f=j&32;g=j&16;if(i+(c+(g>>>4|0?f?2:1:0)|0)>>>0>m>>>0){break j}k:{if(!d){break k}c=b;l:{if(j&8){e=l+15|0;d=r[l+13|0]|r[l+14|0]<<8;d=(d<<24|d<<8&16711680)>>16;break l}e=l+14|0;d=r[l+13|0]}q[c+268>>2]=d;if(j&3){break k}q[b+276>>2]=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);e=e+3|0}m:{if(!g){c=e;break m}n:{if(f){c=r[e|0]|r[e+1|0]<<8;f=(c<<24|c<<8&16711680)>>16;c=e+2|0;break n}f=r[e|0];c=e+1|0}q[b+272>>2]=f}o:{if(!(j&64)){f=c;break o}f=c+1|0;if(f>>>0>m>>>0){break h}d=r[c|0];if(d){while(1){c=f+2|0;if(c>>>0>m>>>0){break h}f=c+r[f|0]|0;if(f>>>0>m>>>0){break h}d=d+ -1|0;if(d){continue}break}}q[h+8>>2]=0}if(f+5>>>0>m>>>0){break j}c=r[f+1|0]|r[f|0]<<8;q[b+280>>2]=c;q[b+284>>2]=r[f+4|0]|(r[f+3|0]<<8|r[f+2|0]<<16);if(!k){break g}if(f+6>>>0>m>>>0){break j}q[b+280>>2]=c|r[f+5|0]<<16;break g}q[h+8>>2]=8;break g}q[h+24>>2]=f;break a}q[h+8>>2]=8}jb(a);f=q[h+8>>2];q[h+24>>2]=f;if(f){break a}e=q[b+280>>2];m=q[b+284>>2];z=q[a+28>>2];q[b+428>>2]=b+424;q[b+424>>2]=0;q[b+292>>2]=m;i=b+288|0;q[i>>2]=z;f=Xa(a,m);q[h+28>>2]=f;p:{q:{r:{s:{if(f){break s}f=lb(a,e);q[h+28>>2]=f;if(f){break s}g=q[a+32>>2];q[i+148>>2]=g;t:{if((e|0)<15){break t}q[i+8>>2]=r[g+1|0]|r[g|0]<<8;q[i+12>>2]=r[g+3|0]|r[g+2|0]<<8;q[i+16>>2]=r[g+5|0]|r[g+4|0]<<8;c=r[g+6|0]|r[g+7|0]<<8;q[i+20>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+8|0]|r[g+9|0]<<8;q[i+24>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+10|0]|r[g+11|0]<<8;q[i+28>>2]=(c<<24|c<<8&16711680)>>16;c=r[g+12|0]|r[g+13|0]<<8;q[i+32>>2]=(c<<24|c<<8&16711680)>>16;l=r[g+14|0];q[i+36>>2]=l;k=l&4;d=g+15|0;u:{if(k){break u}if((e|0)<17){break t}c=r[g+15|0]|r[g+16|0]<<8;q[i+40>>2]=(c<<24|c<<8&16711680)>>16;d=g+17|0}A=e+g|0;if(l&128){f=8;c=d+1|0;if(c>>>0>A>>>0){break q}u=r[d|0];v:{if(!u){d=c;break v}while(1){g=c+2|0;if(g>>>0>A>>>0){break r}d=g+r[c|0]|0;if(d>>>0>A>>>0){break r}f=17664;e=215;c=r[c+1|0];w:{if((c|0)!=1){while(1){e=q[f+12>>2];if(!e){break w}f=f+8|0;if((c|0)!=q[f>>2]){continue}break}}f=n[e](g,d,i)|0;if(f){break q}}c=d;u=u+ -1|0;if(u){continue}break}}q[h+28>>2]=0}e=d+3|0;if(e>>>0>A>>>0){break t}u=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);if(u){g=e+u|0;if(g>>>0>A>>>0){break t}while(1){x:{j=e+4|0;if(j>>>0>g>>>0){break x}v=r[e+1|0]|r[e|0]<<8;if(v>>>0<4|u>>>0>>0){break x}c=r[e+2|0]|r[e+3|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;y:{if(c>>>0>2){break y}z:{A:{B:{C:{switch(c-1|0){default:q[h+8>>2]=0;c=v+ -4|0;d=q[i+84>>2];if(d){if(d){n[q[z+8>>2]](z,d)}q[i+84>>2]=0}D:{E:{if(!c){break E}d=v+ -5|0;if(!r[d+j|0]){c=d;if(!c){break E}}f=0;while(1){d=r[f+j|0];if(d>>>0<32|d<<24>>24<0){break E}f=f+1|0;if((f|0)!=(c|0)){continue}break}break D}q[i+84>>2]=0;q[h+28>>2]=0;break y}d=gb(z,c+1|0,h+8|0);f=q[h+8>>2];if(f){q[i+84>>2]=d;break B}f=c;c=Qa(d,j,c);o[f+c|0]=0;f=q[h+8>>2];q[i+84>>2]=c;break z;case 0:if(v>>>0<36){break y}c=r[e+14|0]|r[e+15|0]<<8;q[i+44>>2]=(c<<24|c<<8&16711680)>>16;c=r[e+16|0]|r[e+17|0]<<8;q[i+48>>2]=(c<<24|c<<8&16711680)>>16;c=r[e+18|0]|r[e+19|0]<<8;q[i+52>>2]=(c<<24|c<<8&16711680)>>16;break y;case 1:break C}}q[h+8>>2]=0;c=v+ -4|0;d=q[i+88>>2];if(d){if(d){n[q[z+8>>2]](z,d)}q[i+88>>2]=0}F:{G:{if(!c){break G}d=v+ -5|0;if(!r[d+j|0]){c=d;if(!c){break G}}f=0;while(1){d=r[f+j|0];if(d>>>0<32|d<<24>>24<0){break G}f=f+1|0;if((f|0)!=(c|0)){continue}break}break F}q[i+88>>2]=0;q[h+28>>2]=0;break y}d=gb(z,c+1|0,h+8|0);f=q[h+8>>2];if(!f){break A}q[i+88>>2]=d}q[h+28>>2]=f;break s}f=c;c=Qa(d,j,c);o[f+c|0]=0;f=q[h+8>>2];q[i+88>>2]=c}q[h+28>>2]=f;if(f){break s}}e=e+v|0;u=u-v|0;if(u){continue}}break}e=g}f=e+1|0;if(f>>>0>A>>>0){break t}g=r[e|0];q[i+104>>2]=g;if((g<<1)+f>>>0>A>>>0){break t}e=0;d=Oa(z,4,0,g,0,h+28|0);q[i+108>>2]=d;if(q[h+28>>2]){break p}if(g){while(1){c=r[f|0]|r[f+1|0]<<8;q[d+(e<<2)>>2]=(c<<24|c<<8&16711680)>>16;f=f+2|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=f+8|0;if(e>>>0>A>>>0){break t}q[i+112>>2]=r[f|0];q[i+116>>2]=r[f+1|0];q[i+68>>2]=r[f+3|0]|r[f+2|0]<<8;q[i+56>>2]=r[f+5|0]|r[f+4|0]<<8;y=r[f+7|0]|r[f+6|0]<<8;q[i+120>>2]=y;q[i+124>>2]=(e+m|0)-q[a+32>>2];j=l&16;d=l&8;v=l&32;c=l&2;if(w(y,((j>>>4)+(d>>>3)+(v>>>5)|0)+(k>>>1|(c>>>1|0?5:4))|0)+e>>>0>A>>>0){break t}l=Oa(z,16,0,y,0,h+28|0);q[i+128>>2]=l;if(q[h+28>>2]|!y){break p}H:{if(!c){if(k){f=d?4:3;c=0;while(1){g=l+(c<<4)|0;q[g>>2]=r[e|0];d=r[e+1|0]|r[e+2|0]<<8;q[g+4>>2]=(d<<24|d<<8&16711680)>>16;k=e+f|0;e=g;I:{if(j){d=k+2|0;k=r[k+1|0]|r[k|0]<<8;break I}d=k+1|0;k=r[k|0]}q[e+8>>2]=k;J:{if(v){u=2;k=r[d+1|0]<<8|r[d|0]<<16;e=d+3|0;break J}u=1;k=r[d|0]<<8;e=d+2|0}q[g+12>>2]=k|r[d+u|0];c=c+1|0;if((y|0)!=(c|0)){continue}break}break p}m=d?2:1;k=q[i+40>>2];d=0;if(j){break H}while(1){c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=c;c=e+m|0;q[g+8>>2]=r[c|0];j=c+1|0;K:{if(v){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break K}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((y|0)!=(d|0)){continue}break}break p}if(k){f=d?5:4;c=0;while(1){g=l+(c<<4)|0;q[g>>2]=r[e+1|0]|r[e|0]<<8;d=r[e+2|0]|r[e+3|0]<<8;q[g+4>>2]=(d<<24|d<<8&16711680)>>16;k=e+f|0;e=g;L:{if(j){d=k+2|0;k=r[k+1|0]|r[k|0]<<8;break L}d=k+1|0;k=r[k|0]}q[e+8>>2]=k;M:{if(v){u=2;k=r[d+1|0]<<8|r[d|0]<<16;e=d+3|0;break M}u=1;k=r[d|0]<<8;e=d+2|0}q[g+12>>2]=k|r[d+u|0];c=c+1|0;if((y|0)!=(c|0)){continue}break}break p}m=d?3:2;k=q[i+40>>2];d=0;if(!j){while(1){f=r[e+1|0];c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=f|c<<8;c=e+m|0;q[g+8>>2]=r[c|0];j=c+1|0;N:{if(v){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break N}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((y|0)!=(d|0)){continue}break p}}while(1){f=r[e+1|0];c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=f|c<<8;c=e+m|0;q[g+8>>2]=r[c|0]<<8|r[c+1|0];j=c+2|0;O:{if(v){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break O}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((y|0)!=(d|0)){continue}break}break p}while(1){c=r[e|0];g=l+(d<<4)|0;q[g+4>>2]=k;q[g>>2]=c;c=e+m|0;q[g+8>>2]=r[c|0]<<8|r[c+1|0];j=c+2|0;P:{if(v){e=j+3|0;f=2;c=r[j+1|0]<<8|r[j|0]<<16;break P}e=j+2|0;f=1;c=r[j|0]<<8}q[g+12>>2]=c|r[f+j|0];d=d+1|0;if((y|0)!=(d|0)){continue}break}break p}q[h+28>>2]=8;break p}q[h+24>>2]=f;break a}f=8}q[h+28>>2]=f}jb(a);d=0;a=q[a+8>>2];q[i+148>>2]=0;q[i+144>>2]=a;f=q[h+28>>2];q[h+24>>2]=f;if(f){break a}q[b+4>>2]=x;e=q[b+408>>2];q[b+16>>2]=e+1;c=q[b+8>>2]|1;q[b+8>>2]=c;Q:{R:{S:{T:{if(!e){break T}a=q[i+128>>2];while(1){if(q[(a+(d<<4)|0)+12>>2]){break T}d=d+1|0;if((e|0)!=(d|0)){continue}break}break S}if((d|0)!=(e|0)){break R}}if(!q[i+92>>2]){break Q}c=0;q[b+8>>2]=0}a=q[i+36>>2];if(!(a&4)){c=c|4;q[b+8>>2]=c}f=(a&1?32:16)|c;q[b+8>>2]=f;x=q[b+380>>2];if(x){f=f|2;q[b+8>>2]=f}if(q[i+132>>2]){q[b+8>>2]=f|64}c=q[b+372>>2];q[b+20>>2]=c;if(!c){q[b+20>>2]=q[b+368>>2]}q[b+28>>2]=0;q[b+32>>2]=0;q[b+24>>2]=q[b+376>>2];m=q[i+28>>2];k=q[i+32>>2];f=q[i+24>>2];g=q[i+20>>2];e=q[b+300>>2];p[b+68>>1]=e;d=q[b+320>>2];p[b+70>>1]=d;c=q[b+312>>2];p[b+72>>1]=c;q[b+52>>2]=g;q[b+56>>2]=f;q[b+60>>2]=m;q[b+64>>2]=k;d=(d<<16>>16)-(c<<16>>16)|0;c=(w(e&65535,12)>>>0)/10|0;p[b+74>>1]=c<<16>>16<(d|0)?d:c;if(x){d=0;a=Oa(q[q[b+104>>2]+28>>2],16,0,x,0,h+24|0);q[b+32>>2]=a;f=q[h+24>>2];if(f){break a}f=q[i+100>>2];while(1){c=q[f+4>>2];p[a>>1]=c;e=q[f>>2];c=c<<6;q[a+12>>2]=c;q[a+4>>2]=c;p[a+2>>1]=e;q[a+8>>2]=e<<6;f=f+36|0;a=a+16|0;d=d+1|0;if((x|0)!=(d|0)){continue}break}q[b+28>>2]=x;a=q[b+324>>2]}U:{if(!(a&4)){f=q[i+40>>2];break U}c=q[i+120>>2];if(!c){f=0;break U}a=q[i+128>>2];f=0;while(1){d=q[a+4>>2];f=(f|0)<(d|0)?d:f;a=a+16|0;c=c+ -1|0;if(c){continue}break}}p[b+76>>1]=f;p[b+78>>1]=s[b+74>>1];a=s[b+68>>1];p[b+82>>1]=(a>>>0)/30;p[b+80>>1]=(a|0)/-10;q[h+8>>2]=b;q[h+12>>2]=1970170211;q[h+16>>2]=65539;f=md(17328,0,h+8|0,0);q[h+24>>2]=f;if(!q[b+420>>2]){break a}q[b+8>>2]=q[b+8>>2]|64;break a}f=3;q[h+24>>2]=3}Da=h+32|0;return f|0}function ts(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,t=0,u=0,v=0,x=0,y=0,z=0;i=Da-16|0;Da=i;c=q[a+1008>>2];d=0;a:{if((c|0)<0){break a}b:{while(1){d=q[a+4>>2];c=(c<<2)+a|0;q[a+72>>2]=w(d,p[c+946>>1]);c=p[c+944>>1];q[a+40>>2]=0;q[a+44>>2]=0;q[a+84>>2]=0;f=q[a+24>>2];q[a+36>>2]=f;p[a+78>>1]=0;q[a+80>>2]=f;j=q[a+28>>2]+ -32|0;q[a+32>>2]=j;q[a+68>>2]=w(c,d);q[f+8>>2]=f;p[a+76>>1]=0;c:{d:{e:{f:{g:{if(p[a+120>>1]<1){break g}c=q[a+8>>2];t=q[a+132>>2];e=0;v=0;h:{while(1){q[a+88>>2]=0;q[a+92>>2]=0;g=q[a+12>>2];h=q[a+124>>2];f=e&65535;e=h+(f<<3)|0;d=w(g,q[e+4>>2])-c|0;x=v<<1;m=s[x+t>>1];t=h+(m<<3)|0;h=q[t+4>>2];l=q[t>>2];u=w(g,q[e>>2])-c|0;k=b?u:d;u=b?d:u;j=q[a+128>>2];f=j+f|0;d=r[f|0];if(d&4){o[a+164|0]=d>>>5;d=r[f|0]}d=d&3;i:{if((d|0)==3){break i}j:{switch(d-1|0){case 0:break i;case 1:break b;default:break j}}d=w(g,l)-c|0;g=w(g,h)-c|0;c=b?d:g;d=b?g:d;k:{if((r[j+m|0]&3)==1){t=t+ -8|0;u=d;break k}u=(d+u|0)/2|0;c=(c+k|0)/2|0}k=c;f=f+ -1|0;e=e+ -8|0}q[a+64>>2]=k;q[a+60>>2]=u;l:{if(e>>>0>>0){while(1){m:{n:{o:{d=r[f+1|0]&3;if(d>>>0<=1){f=f+1|0;c=e+8|0;if(!(d-1)){g=q[e+8>>2];d=e;e=c;c=q[a+12>>2];h=w(c,q[d+12>>2]);d=q[a+8>>2];h=h-d|0;c=w(c,g)-d|0;if(os(a,b?h:c,b?c:h)){break f}break m}d=q[a+12>>2];h=q[a+8>>2];g=w(d,q[e+8>>2])-h|0;d=w(d,q[e+12>>2])-h|0;if(!b){break o}while(1){if(c>>>0>=t>>>0){c=d;d=g;break n}h=f+1|0;e=c+8|0;l=q[a+12>>2];j=q[a+8>>2];m=w(l,q[c+8>>2])-j|0;l=w(l,q[c+12>>2])-j|0;c=r[f+1|0]&3;if(c){if((c|0)!=1){break b}f=h;if(!Zg(a,d,g,l,m)){break m}break f}j=Zg(a,d,g,(d+l|0)/2|0,(g+m|0)/2|0);f=h;c=e;d=l;g=m;if(!j){continue}break}break f}if((r[f+2|0]&3)!=2|e+16>>>0>t>>>0){break b}d=q[a+12>>2];g=q[a+8>>2];c=w(d,q[e+16>>2])-g|0;m=w(d,q[e+20>>2])-g|0;h=b?c:m;m=b?m:c;c=w(d,q[e+8>>2])-g|0;j=w(d,q[e+12>>2])-g|0;l=b?c:j;j=b?j:c;c=e+24|0;if(c>>>0<=t>>>0){y=h;h=w(d,q[e+28>>2])-g|0;d=w(d,q[e+24>>2])-g|0;if(ns(a,j,l,m,y,b?h:d,b?d:h)){break f}f=f+3|0;e=c;break m}if(ns(a,j,l,m,h,u,k)){break f}break l}while(1){if(c>>>0>=t>>>0){c=g;break n}h=f+1|0;e=c+8|0;l=q[a+12>>2];j=q[a+8>>2];m=w(l,q[c+8>>2])-j|0;l=w(l,q[c+12>>2])-j|0;c=r[f+1|0]&3;if(!c){j=Zg(a,g,d,(g+m|0)/2|0,(d+l|0)/2|0);f=h;c=e;g=m;d=l;if(j){break f}continue}break}if((c|0)!=1){break b}f=h;if(!Zg(a,g,d,m,l)){break m}break f}if(!Zg(a,c,d,u,k)){break l}break f}if(e>>>0>>0){continue}break}}if(os(a,u,k)){break f}}t=q[a+132>>2];h=s[x+t>>1];e=q[a+4>>2];f=e+ -1|0;c=q[a+64>>2];k=f&c;p:{if(k|(c|0)>2]|(c|0)>q[a+72>>2]){break p}d=q[a+88>>2];if(!d|(s[q[a+80>>2]+12>>1]^s[d+12>>1])&8){break p}q[a+36>>2]=q[a+36>>2]+ -4}d=q[a+36>>2];g=q[a+80>>2];m=q[g+8>>2];q:{if(!((d|0)==(m|0)|!(r[g+12|0]&8))){c=q[a+8>>2];e=(k|0)>=(c|0);break q}e=(c+f&0-e)-c|0;c=q[a+8>>2];e=(e|0)>=(c|0)}f=d-m|0;if((f|0)<=-1){q[a+40>>2]=99;d=1;break a}r:{if(!f){f=d;break r}q[g+16>>2]=f>>2;if(e){e=s[g+12>>1];p[g+12>>1]=(e&8?16:32)|e}q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;q[d+8>>2]=f;q[d+16>>2]=0;q[g+28>>2]=d;p[a+76>>1]=s[a+76>>1]+1}j=q[a+32>>2];if(f>>>0>=j>>>0){break h}o[a+79|0]=0;d=q[a+88>>2];if(d){q[g+28>>2]=d}e=h+1|0;v=v+1|0;if((v|0)>1]){continue}break}u=s[a+76>>1];if(u>>>0<2){break g}v=q[a+84>>2];if(!v){break g}x=q[a+28>>2];c=v;while(1){s:{if((u&65535)>>>0>=2){g=q[c+16>>2];m=q[c+8>>2]+(g<<2)|0;q[c+4>>2]=m;break s}m=0;q[c+4>>2]=0;g=q[c+16>>2]}e=q[c+20>>2];t:{if(r[c+12|0]&8){d=e;e=(d+g|0)+ -1|0;break t}d=(e-g|0)+1|0;q[c+20>>2]=d;q[c+8>>2]=(q[c+8>>2]+(g<<2)|0)+ -4}t=e;e=q[a+44>>2];l=0-e|0;y=x-(e<<2)|0;h=(e&e>>31)+ -1|0;c=e;u:{v:{w:{while(1){k=c;if((c|0)<1){break w}c=k+ -1|0;z=y+(c<<2)|0;g=q[z>>2];if((g|0)>(d|0)){continue}break}if((g|0)>=(d|0)){h=c;break w}q[z>>2]=d;h=k+ -2|0;d=g;if((k|0)<2){break w}while(1){c=y+(h<<2)|0;d=q[c>>2];q[c>>2]=g;c=(h|0)>0;h=h+ -1|0;g=d;if(c){continue}break}break v}if((h|0)<=-1){break v}k=e;break u}j=j+ -4|0;q[a+32>>2]=j;if(j>>>0<=f>>>0){break h}k=e+1|0;q[a+44>>2]=k;l=e^-1;q[x+(l<<2)>>2]=d}d=t+1|0;l=x+(l<<2)|0;h=(k>>31&k)+ -1|0;c=k;x:{y:{z:{while(1){e=c;if((c|0)<1){break z}c=e+ -1|0;y=l+(c<<2)|0;g=q[y>>2];if((g|0)>(d|0)){continue}break}if((g|0)>(t|0)){h=c;break z}q[y>>2]=d;h=e+ -2|0;d=g;if((e|0)<2){break z}while(1){c=l+(h<<2)|0;d=q[c>>2];q[c>>2]=g;c=(h|0)>0;h=h+ -1|0;g=d;if(c){continue}break}break y}if((h|0)>-1){break x}}j=j+ -4|0;q[a+32>>2]=j;if(j>>>0<=f>>>0){break h}q[a+44>>2]=k+1;q[x+((k^-1)<<2)>>2]=d}c=m;u=u+ -1|0;if(u&65535){continue}break}if(f>>>0>=j>>>0){break f}q[i+8>>2]=0;q[i+4>>2]=0;q[i>>2]=0;c=q[a>>2];d=q[a+68>>2]>>c;p[i+12>>1]=d;g=q[a+72>>2]>>c;p[i+14>>1]=g;while(1){e=v;c=q[e+20>>2];f=(c+q[e+16>>2]<<16)+ -65536>>16;v=q[e+4>>2];if(c<<16>>16>16){p[i+14>>1]=c;g=c}if(d<<16>>16<(f|0)){p[i+12>>1]=f;d=f}q[e>>2]=0;f=i+8|0;c=q[i+8>>2];A:{if(!c){c=0;break A}if(q[c>>2]>0){break A}B:{while(1){f=c;c=q[c+4>>2];if(c){if(q[c>>2]<=0){continue}break B}break}c=0}f=f+4|0}q[e+4>>2]=c;q[f>>2]=e;if(v){continue}break}if(!q[a+44>>2]){q[a+40>>2]=20;d=20;break a}n[q[a+148>>2]](a,i+14|0,i+12|0);l=p[i+14>>1];f=q[i+8>>2];if(f){c=f;while(1){q[c+24>>2]=q[c+20>>2]-l;c=q[c+4>>2];if(c){continue}break}}c=q[a+44>>2];C:{if((c|0)<1){break C}D:{if(q[q[a+28>>2]-(c<<2)>>2]!=(l|0)){h=c;break D}h=c+ -1|0;q[a+44>>2]=h;if((c|0)<2){break C}}c=0;while(1){if(f){v=c<<16>>16;while(1){c=q[f+24>>2]-v|0;q[f+24>>2]=c;g=q[f+4>>2];if(!c){e=i+8|0;E:{while(1){c=e;d=q[c>>2];if(!d){break E}e=d+4|0;if((d|0)!=(f|0)){continue}break}q[c>>2]=q[e>>2]}e=q[f>>2];F:{if(r[f+12|0]&8){d=i+4|0;c=q[i+4>>2];if(!c){c=0;break F}if((e|0)>2]){break F}G:{while(1){d=c;c=q[c+4>>2];if(c){if((e|0)>=q[c>>2]){continue}break G}break}c=0}d=d+4|0;break F}d=i;c=q[d>>2];if(!c){c=0;break F}if((e|0)>2]){break F}H:{while(1){d=c;c=q[c+4>>2];if(c){if((e|0)>=q[c>>2]){continue}break H}break}c=0}d=d+4|0}q[f+4>>2]=c;q[d>>2]=f}f=g;if(g){continue}break}}e=q[i+4>>2];c=e;I:{if(!c){break I}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}c=q[e+4>>2];if(!c){break I}f=e+4|0;d=i+4|0;while(1){J:{if(q[e>>2]<=q[c>>2]){e=c;d=f;break J}q[d>>2]=c;q[f>>2]=q[c+4>>2];q[c+4>>2]=e;e=q[i+4>>2];d=i+4|0}f=e+4|0;c=q[e+4>>2];if(c){continue}break}}k=q[i>>2];c=k;K:{if(!c){k=0;break K}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}e=q[k+4>>2];if(!e){break K}f=k+4|0;d=i;c=k;while(1){L:{if(q[c>>2]<=q[e>>2]){d=f;c=e;break L}q[d>>2]=e;q[f>>2]=q[e+4>>2];q[e+4>>2]=c;d=i;k=q[d>>2];c=k}f=c+4|0;e=q[c+4>>2];if(e){continue}break}}q[a+44>>2]=h+ -1;y=q[q[a+28>>2]-(h<<2)>>2];z=y<<16>>16;M:{if((z|0)>l<<16>>16){v=k;h=k;m=l;while(1){e=q[i+4>>2];N:{if(!h){break N}u=0;f=h;c=e;if(!c){break N}while(1){g=q[c>>2];t=q[f>>2];j=(g|0)>(t|0);O:{P:{d=j?g:t;g=j?t:g;t=q[a+4>>2];if((d-g|0)>(t|0)){break P}x=0-t|0;j=x&g;if((j|0)==(g|0)){break P}x=x&(d+t|0)+ -1;if((x|0)==(d|0)|((x|0)!=(j+t|0)?(j|0)<=(x|0):0)){break P}if((s[c+12>>1]&7)==2){break O}q[c>>2]=g;q[f>>2]=d;q[c+24>>2]=1;u=u+1|0;break O}n[q[a+152>>2]](a,m<<16>>16,g,d,c,f)}c=q[c+4>>2];if(c){f=q[f+4>>2];if(f){continue}}break}c=e;if(u<<16>>16<=0){break N}while(1){if(q[c+24>>2]){q[c+24>>2]=0;n[q[a+156>>2]](a,m<<16>>16,q[c>>2],q[h>>2],c,h)}c=q[c+4>>2];if(!c){break N}h=q[h+4>>2];if(h){continue}break}}n[q[a+160>>2]](a);m=m+1|0;if((z|0)<=m<<16>>16){break M}c=e;g=v;Q:{if(!c){break Q}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}c=q[e+4>>2];g=v;if(!c){break Q}f=e+4|0;d=i+4|0;while(1){R:{if(q[e>>2]<=q[c>>2]){e=c;d=f;break R}q[d>>2]=c;q[f>>2]=q[c+4>>2];q[c+4>>2]=e;e=q[i+4>>2];d=i+4|0}f=e+4|0;c=q[e+4>>2];if(c){continue}break}k=q[i>>2];g=k}v=0;h=0;c=g;if(!c){continue}while(1){d=q[c+8>>2];q[c>>2]=q[d>>2];q[c+16>>2]=q[c+16>>2]+ -1;q[c+8>>2]=d+(s[c+12>>1]&8?4:-4);c=q[c+4>>2];if(c){continue}break}f=g+4|0;d=i;v=g;h=g;c=g;e=q[c+4>>2];if(!e){continue}while(1){S:{if(q[c>>2]<=q[e>>2]){d=f;c=e;break S}q[d>>2]=e;q[f>>2]=q[e+4>>2];q[e+4>>2]=c;d=i;k=q[d>>2];g=k;c=g}f=c+4|0;e=q[c+4>>2];if(e){continue}break}v=g;h=g;continue}}e=q[i+4>>2];m=l}if(e){while(1){c=e;e=q[c+4>>2];T:{if(q[c+16>>2]){break T}f=i+4|0;while(1){d=f;g=q[d>>2];if(!g){break T}f=g+4|0;if((c|0)!=(g|0)){continue}break}q[d>>2]=q[f>>2]}if(e){continue}break}}if(k){while(1){c=k;k=q[c+4>>2];U:{if(q[c+16>>2]){break U}e=i;while(1){d=e;g=q[d>>2];if(!g){break U}e=g+4|0;if((c|0)!=(g|0)){continue}break}q[d>>2]=q[e>>2]}if(k){continue}break}}h=q[a+44>>2];if((h|0)>=1){c=y-l|0;f=q[i+8>>2];l=m;continue}break}l=m}if(l<<16>>16>p[i+12>>1]){break d}while(1){n[q[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=p[i+12>>1]){continue}break}break d}q[a+40>>2]=98;break e}q[a+84>>2]=0;if(f>>>0>>0){break d}}if(q[a+40>>2]==98){break e}d=1;break a}q[a+40>>2]=0;c=q[a+1008>>2];d=(c<<2)+a|0;e=d;g=p[d+946>>1];f=p[d+944>>1];d=(g+f|0)/2|0;if(!((d|0)>=(f|0)?(c|0)<=6:0)){q[a+40>>2]=20;q[a+1008>>2]=0;d=20;break a}c=c+1|0;f=(c<<2)+a|0;p[f+946>>1]=g;p[f+944>>1]=d;p[e+946>>1]=d+ -1;break c}c=q[a+1008>>2]+ -1|0}q[a+1008>>2]=c;if((c|0)>-1){continue}break}d=0;break a}q[a+40>>2]=20;d=1}Da=i+16|0;return d}function $V(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=x(0),l=0,m=x(0),n=0,p=0,s=x(0),v=x(0),y=x(0),z=0,A=0,B=x(0),C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;f=Da-192|0;Da=f;h=1;i=q[c+60>>2];a:{if(!i){break a}g=q[a>>2];j=g?g:271312;j=t[j+16>>2]<20?271312:q[j+12>>2];if((i|0)!=(r[j+4|0]<<8|r[j+5|0])){break a}ZV(f+176|0,j,g,b);b=t[f+180>>2]<4?271312:q[f+176>>2];if(!(r[b|0]<<8|r[b+1|0])){break a}q[f+168>>2]=0;q[f+160>>2]=0;q[f+164>>2]=0;q[f+152>>2]=0;g=q[f+184>>2];q[f+120>>2]=g;b=q[f+180>>2];j=q[f+176>>2];q[f+112>>2]=j;q[f+116>>2]=b;q[f+144>>2]=0;q[f+148>>2]=0;i=q[a>>2];i=i?i:271312;i=t[i+16>>2]<20?271312:q[i+12>>2];n=r[i+5|0];i=r[i+4|0];q[f+24>>2]=g;q[f+16>>2]=j;q[f+20>>2]=b;if(YV(f+16|0,n|i<<8,f+160|0,f+128|0)){b=q[d+4>>2];b:{if((b|0)<1){break b}i=(b|0)>0?b:0;while(1){l=((l>>>1|0)+l|0)+8|0;if(l>>>0<=i>>>0){continue}break}h=0;c:{if(l>>>0>268435454){break c}g=Sa(l<<4);if(!g){break c}D=Na(g,0,i<<4);if(!b){break c}z=q[d>>2];g=0;while(1){d:{if(b>>>0<=g>>>0){j=q[67831];q[160746]=q[67830];q[160747]=j;j=q[67829];q[160744]=q[67828];q[160745]=j;j=642976;break d}j=z+(g<<4)|0}e=q[j+4>>2];l=(g<<4)+D|0;q[l>>2]=q[j>>2];q[l+4>>2]=e;n=q[j+12>>2];q[l+8>>2]=q[j+8>>2];q[l+12>>2]=n;g=g+1|0;if((g|0)!=(b|0)){continue}break}H=b}while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=i>>>0){continue}break}l=0;if(h>>>0>268435454){break b}p=Sa(h<<4);if(!p){p=0;break b}Na(p,0,i<<4);l=b}e:{if(!b){j=q[67828];break e}j=q[67828];g=0;h=0;while(1){f:{if(b>>>0<=g>>>0){i=q[67831];q[160746]=q[67830];q[160747]=i;i=q[67829];q[160744]=q[67828];q[160745]=i;e=642976;break f}e=q[d>>2]+(g<<4)|0}if(r[e+12|0]){g:{h:{if((h|0)<0){b=h;break h}i=h;b=i;n=E+1|0;n=(n|0)>0?n:0;e=b;i:{if(b>>>0>=n>>>0){break i}while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=n>>>0){continue}break}b=-1;if(i>>>0>>0|i>>>0>1073741822){break h}h=db(F,i<<2);if(!h){break h}F=h;e=i}b=e;if(n>>>0>E>>>0){Na((E<<2)+F|0,0,n-E<<2)}E=n;e=((n<<2)+F|0)+ -4|0;break g}q[160744]=j;e=642976}q[e>>2]=g;h=b;b=q[d+4>>2]}g=g+1|0;if(g>>>0>>0){continue}break}}a=q[a>>2];a=a?a:271312;a=t[a+16>>2]<20?271312:q[a+12>>2];Q=w(r[a+4|0]<<8|r[a+5|0],r[a+7|0]|r[a+6|0]<<8);b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);R=a+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;S=q[c+60>>2];T=q[c+64>>2];g=q[f+156>>2];while(1){j:{q[f+8>>2]=0;q[f+100>>2]=Q;q[f+96>>2]=R;q[f+104>>2]=0;a=q[f+100>>2];q[f>>2]=q[f+96>>2];q[f+4>>2]=a;k:{k=WV(g,T,S,f);if(k==x(0)){break k}a=q[f+128>>2];b=r[a+3|0]|r[a+2|0]<<8;a=q[f+140>>2]+(b?a+b|0:271312)|0;q[f+92>>2]=a;l:{m:{n:{o:{p:{q:{b=q[f+144>>2];if(b>>>0>a>>>0){break q}b=b+q[f+148>>2]|0;if(a>>>0>b>>>0){break q}e=b-a|0;b=q[f+156>>2];c=r[b|0]<<8|r[b+1|0];if(e>>>0>>0){break q}q[f+88>>2]=0;q[f+84>>2]=c;q[f+80>>2]=a;q[f+72>>2]=0;q[f+64>>2]=0;q[f+68>>2]=0;r:{if(r[b+2|0]&32){h=1;if(!nu(f+92|0,f- -64|0,f+80|0)){break l}a=f- -64|0;if(q[f+68>>2]){break r}}a=f+160|0}z=q[a+8>>2];I=q[d+4>>2];i=q[a+4>>2];b=0;q[f+56>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;n=i?i:I;c=(n|0)>0?n:0;h=0;g=(n|0)<1;s:{if(!g){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}t:{if(b>>>0<=1073741822){a=Sa(b<<2);if(a){break t}}q[f+48>>2]=-1;break s}q[f+48>>2]=b;q[f+56>>2]=a;h=q[f+52>>2];b=a}if(c>>>0>h>>>0){Na((h<<2)+b|0,0,c-h<<2)}q[f+52>>2]=c}h=1;if(!mu(f+92|0,f+48|0,f+80|0)){break m}b=0;q[f+40>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;h=0;u:{if(!g){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}v:{if(b>>>0<=1073741822){a=Sa(b<<2);if(a){break v}}q[f+32>>2]=-1;break u}q[f+32>>2]=b;q[f+40>>2]=a;h=q[f+36>>2];b=a}if(c>>>0>h>>>0){Na((h<<2)+b|0,0,c-h<<2)}q[f+36>>2]=c}h=1;if(!mu(f+92|0,f+32|0,f+80|0)){break n}g=0;if(l){break p}break o}h=0;break j}while(1){a=(g<<4)+p|0;q[a+4>>2]=0;q[a+8>>2]=0;o[a|0]=0;o[a+12|0]=0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(n){g=0;h=q[f+40>>2];e=q[f+36>>2];C=q[f+56>>2];A=q[f+52>>2];while(1){b=l;a=g;w:{if(!i){break w}if(i>>>0<=g>>>0){q[160744]=j;a=j;break w}a=q[z+(g<<2)>>2]}c=b>>>0>a>>>0;x:{if(!c){b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break x}b=(a<<4)+p|0}o[b|0]=1;s=k;y:{if(A>>>0<=g>>>0){q[160744]=j;b=j;break y}b=q[C+(g<<2)>>2]}m=x(s*x(b|0));z:{if(!c){b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break z}b=(a<<4)+p|0}u[b+4>>2]=m+u[b+4>>2];s=k;A:{if(e>>>0<=g>>>0){q[160744]=j;b=j;break A}b=q[h+(g<<2)>>2]}m=x(s*x(b|0));B:{if(!c){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break B}a=(a<<4)+p|0}u[a+8>>2]=m+u[a+8>>2];g=g+1|0;if((n|0)!=(g|0)){continue}break}}G=0;b=0;if(E){while(1){C=0;A=q[(G<<2)+F>>2];g=b;if(A>>>0>=b>>>0){while(1){C:{if(l>>>0<=g>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break C}a=(g<<4)+p|0}C=!r[a|0]+C|0;g=g+1|0;if(g>>>0<=A>>>0){continue}break}}g=b;if(C+ -1>>>0>>0){D:while(1){a=g;g=a>>>0>>0?a+1|0:b;K=l>>>0>a>>>0;E:{if(!K){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break E}c=(a<<4)+p|0}if(!r[c|0]){continue}F:{if(l>>>0<=g>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break F}c=(g<<4)+p|0}if(r[c|0]){continue}g=a;while(1){h=g>>>0>>0;i=g+1|0;G:{if(l>>>0<=g>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break G}c=(g<<4)+p|0}g=h?i:b;if(r[c|0]){continue}L=l>>>0>g>>>0;H:{if(!L){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break H}c=(g<<4)+p|0}if(!r[c|0]){continue}break}c=g<<4;h=c+p|0;z=a<<4;i=z+p|0;n=c+D|0;z=z+D|0;c=a;while(1){c=c>>>0>>0?c+1|0:b;if((g|0)==(c|0)){continue D}M=H>>>0>c>>>0;I:{if(!M){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break I}e=(c<<4)+D|0}k=u[e+4>>2];e=z;N=H>>>0>a>>>0;if(!N){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}m=u[e+4>>2];e=n;O=H>>>0>g>>>0;if(!O){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}v=u[e+4>>2];e=i;if(!K){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}y=u[e+4>>2];e=h;if(!L){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}B=u[e+4>>2];s=y==B?y:x(0);J:{if(m==v){break J}s=mv?y:B;if(!!(k>=(m>=v?m:v))){break J}k=x(x(k-m)/x(v-m));s=x(x(x(x(1)-k)*y)+x(k*B))}k=s;P=l>>>0>c>>>0;K:{if(!P){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break K}e=(c<<4)+p|0}u[e+4>>2]=k;L:{if(!M){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break L}e=(c<<4)+D|0}k=u[e+8>>2];e=z;if(!N){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}m=u[e+8>>2];e=n;if(!O){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}v=u[e+8>>2];e=i;if(!K){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}y=u[e+8>>2];e=h;if(!L){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976}B=u[e+8>>2];s=y==B?y:x(0);M:{if(m==v){break M}s=mv?y:B;if(!!(k>=(m>=v?m:v))){break M}k=x(x(k-m)/x(v-m));s=x(x(x(x(1)-k)*y)+x(k*B))}k=s;N:{if(!P){e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break N}e=(c<<4)+p|0}u[e+8>>2]=k;C=C+ -1|0;if(C){continue}break}break}}b=A+1|0;G=G+1|0;if((G|0)!=(E|0)){continue}break}}if(I){b=q[d>>2];c=q[d+4>>2];g=0;while(1){h=l>>>0>g>>>0;O:{if(!h){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break O}a=(g<<4)+p|0}k=x(J(x(u[a+4>>2])));i=c>>>0>g>>>0;P:{if(!i){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break P}a=b+(g<<4)|0}u[a+4>>2]=k+u[a+4>>2];Q:{if(!h){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Q}a=(g<<4)+p|0}k=x(J(x(u[a+8>>2])));R:{if(!i){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break R}a=b+(g<<4)|0}u[a+8>>2]=k+u[a+8>>2];g=g+1|0;if((I|0)!=(g|0)){continue}break}}h=0}La(q[f+40>>2])}La(q[f+56>>2])}La(q[f+72>>2]);if(!h){break k}h=0;break j}a=q[f+156>>2];q[f+140>>2]=q[f+140>>2]+(r[a|0]<<8|r[a+1|0]);h=1;b=r[a+2|0];c=b>>>5&2|b>>>7;b=q[f+136>>2]<<1;g=(a+w(c,b)|0)+4|0;q[f+156>>2]=g;a=q[f+132>>2]+1|0;q[f+132>>2]=a;c=a;a=q[f+128>>2];if(c>>>0>=(r[a|0]<<8&3840|r[a+1|0])>>>0){break j}a=q[f+144>>2];if(a>>>0>g>>>0){break j}a=a+q[f+148>>2]|0;if(g>>>0>a>>>0){break j}c=a-g|0;if(c>>>0<4){break j}a=r[g+2|0];a=w(b,a>>>5&2|a>>>7)+4|0;if(!a){break j}b=r[g+1|0]|r[g|0]<<8;if(c>>>0>=(b>>>0>>0?a:b)>>>0){continue}}break}La(F);La(p);La(D)}La(q[f+168>>2])}Da=f+192|0;return h}function _p(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;k=Da+ -64|0;Da=k;A=q[a+352>>2];h=A+20|0;G=ic(a,h,q[d>>2],0);a:{b:{if(G){break b}u=A+80|0;f=q[d>>2];while(1){i=q[A+92>>2];if((i|0)==q[A+88>>2]){if(!Ya(u)){v=1;break a}i=q[A+92>>2]}g=r[f|0];q[A+92>>2]=i+1;o[i|0]=g;i=r[f|0];f=f+1|0;if(i){continue}break}f=q[A+96>>2];q[A+96>>2]=q[A+92>>2];v=1;if(!f){break a}G=ic(a,h,f,24);if(!G){break a}if(!r[a+232|0]){break b}if(!ci(a,G)){break a}}l=q[G+12>>2];j=n[q[b+36>>2]](b,c,q[a+376>>2],q[a+388>>2])|0;f=l+j|0;i=q[a+376>>2];c:{if((f|0)<=(i|0)){break c}f=f+16|0;q[a+376>>2]=f;f=n[q[a+16>>2]](q[a+388>>2],f<<4)|0;if(!f){q[a+376>>2]=i;v=1;break a}q[a+388>>2]=f;if((j|0)<=(i|0)){break c}n[q[b+36>>2]](b,c,j,f)|0}v=1;z=q[a+388>>2];d:{if((j|0)<1){c=0;break d}c=q[z>>2];t=wk(a,b,c,(n[q[b+28>>2]](b,c)|0)+c|0);if(!t){break a}p=a+424|0;s=a+412|0;c=0;while(1){f=q[t>>2]+ -1|0;if(r[f|0]){v=8;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=q[q[a+388>>2]+(m<<4)>>2];break a}o[f|0]=1;q[(c<<2)+z>>2]=q[t>>2];h=c+1|0;e:{u=q[a+388>>2]+(m<<4)|0;f:{if(!r[u+12|0]){x=1;g:{if(!r[t+8|0]|(l|0)<1){break g}i=q[G+20>>2];g=0;while(1){f=i+w(g,12)|0;if(q[f>>2]==(t|0)){x=r[f+4|0];break g}g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=x&255;v=vk(a,b,f,q[u+4>>2],q[u+8>>2],s);if(v){break a}g=q[p>>2];h:{if((g|0)==q[a+428>>2]|f){break h}f=g+ -1|0;if(r[f|0]!=32){break h}q[p>>2]=f;g=f}if(q[a+420>>2]==(g|0)){if(!Ya(s)){v=1;break a}g=q[p>>2]}q[a+424>>2]=g+1;o[g|0]=0;q[(h<<2)+z>>2]=q[a+428>>2];break f}f=q[u+8>>2];q[k+8>>2]=q[u+4>>2];if(!q[p>>2]){if(!Ya(s)){break e}}while(1){if(n[q[b+56>>2]](b,k+8|0,f,p,q[a+420>>2])>>>0>=2){if(Ya(s)){continue}break e}break}if(!q[a+428>>2]){break e}g=q[a+424>>2];if((g|0)==q[a+420>>2]){if(!Ya(s)){break e}g=q[p>>2]}q[a+424>>2]=g+1;o[g|0]=0;f=q[a+428>>2];q[(h<<2)+z>>2]=f;if(!f){break a}}q[a+428>>2]=q[a+424>>2];f=q[t+4>>2];i:{if(f){if(r[t+9|0]){v=xk(a,f,t,q[(h<<2)+z>>2],e);if(!v){break i}break a}o[q[t>>2]+ -1|0]=2;H=H+1|0}c=c+2|0}m=m+1|0;if((j|0)==(m|0)){break d}v=1;f=q[q[a+388>>2]+(m<<4)>>2];t=wk(a,b,f,(n[q[b+28>>2]](b,f)|0)+f|0);if(t){continue}break a}break}q[(h<<2)+z>>2]=0;break a}q[a+380>>2]=c;j:{k:{b=q[G+8>>2];if(!b){break k}b=q[b>>2];if(!r[b+ -1|0]){break k}if((c|0)<1){break j}f=0;while(1){if((b|0)!=q[(f<<2)+z>>2]){f=f+2|0;if((f|0)<(c|0)){continue}break j}break}q[a+384>>2]=f;break j}q[a+384>>2]=-1}if((l|0)>=1){f=0;while(1){h=q[G+20>>2]+w(f,12)|0;u=q[h>>2];g=q[u>>2]+ -1|0;l:{if(r[g|0]){break l}i=q[h+8>>2];if(!i){break l}b=q[u+4>>2];if(b){if(r[u+9|0]){v=xk(a,b,u,i,e);if(!v){break l}break a}o[g|0]=2;b=(c<<2)+z|0;q[b>>2]=q[q[h>>2]>>2];q[b+4>>2]=q[h+8>>2];c=c+2|0;H=H+1|0;break l}o[g|0]=1;b=(c<<2)+z|0;q[b>>2]=q[q[h>>2]>>2];q[b+4>>2]=q[h+8>>2];c=c+2|0}f=f+1|0;if((l|0)!=(f|0)){continue}break}}x=0;q[(c<<2)+z>>2]=0;m:{if(!H){break m}b=r[a+400|0];n:{o:{if(H<<1>>b){f=b;while(1){i=f&255;g=f+1|0;f=g;if(H>>i){continue}break}f=(g&255)>>>0>3?g:3;o[a+400|0]=f;i=f&255;f=n[q[a+16>>2]](q[a+392>>2],12<>2]=f;M=1<>2];if(i){break n}}f=M;while(1){i=-1;f=f+ -1|0;q[q[a+392>>2]+w(f,12)>>2]=-1;if(f){continue}break}}P=i+ -1|0;q[a+396>>2]=P;if((c|0)<1){break m}T=0-M|0;Q=a+412|0;U=A+40|0;R=M+ -1|0;V=R>>>2|0;K=k+48|0;u=k+40|0;while(1){S=(x<<2)+z|0;t=q[S>>2];i=t+ -1|0;p:{if(r[i|0]==2){f=a;while(1){b=f;f=q[f+472>>2];if(f){continue}break}b=q[b+492>>2];q[k+56>>2]=0;q[k+60>>2]=0;q[k+48>>2]=u;q[k+24>>2]=1852142177;q[k+28>>2]=1819895653;q[k+8>>2]=1886610805;q[k+12>>2]=1936682341;q[k+32>>2]=b^2037671283;q[k+36>>2]=1952801890;q[k+16>>2]=b^1852075885;q[k+20>>2]=1685025377;o[i|0]=0;v=1;b=ic(a,U,t,0);if(!b){break a}b=q[b+4>>2];if(!b){break a}L=q[b+4>>2];if(!L){v=27;break a}i=q[L+16>>2];m=0;f=q[L+20>>2];if((f|0)>=1){while(1){b=r[i+m|0];f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(Q)){break a}f=q[a+424>>2]}q[a+424>>2]=f+1;o[f|0]=b;i=q[L+16>>2];m=m+1|0;f=q[L+20>>2];if((m|0)<(f|0)){continue}break}}B=f+i|0;q:{while(1){m=0;r:{if(i>>>0>=B>>>0){break r}m=1;f=q[k+48>>2];if(f>>>0>=K>>>0){break r}s:{t:{while(1){b=r[i|0];q[k+48>>2]=f+1;o[f|0]=b;i=i+1|0;if((B|0)==(i|0)){break t}f=q[k+48>>2];if(f>>>0>>0){continue}break}b=i;break s}b=B}m=i>>>0>>0;i=b}f=q[k+48>>2];if(f>>>0>>0){break q}q[k+48>>2]=u;f=k;h=f;b=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){b=b+1|0}q[h+56>>2]=g;q[f+60>>2]=b;h=q[k+16>>2];g=q[f+20>>2];b=$$(h,g,13);l=Ea;j=b;b=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){b=b+1|0}C=g;j=j^g;h=l;l=b;g=h^b;D=$$(j,g,17);y=Ea;N=q[k+44>>2];E=N^q[k+36>>2];b=E+q[k+28>>2]|0;J=q[k+40>>2];F=J^q[k+32>>2];s=q[k+24>>2];h=F+s|0;if(h>>>0>>0){b=b+1|0}p=h;h=b;b=b+g|0;g=p;j=g+j|0;if(j>>>0>>0){b=b+1|0}I=j;j=j^D;s=b;g=b^y;D=$$(j,g,13);y=Ea;O=$$(F,E,16)^p;E=h^Ea;h=$$(C,l,32);l=h+O|0;b=Ea+E|0;p=l;h=l>>>0>>0?b+1|0:b;b=h+g|0;g=l;j=g+j|0;if(j>>>0>>0){b=b+1|0}F=j;j=j^D;l=b;g=b^y;D=$$(j,g,17);y=Ea;E=$$(O,E,21)^p;p=Ea^h;h=$$(I,s,32);s=h+E|0;b=Ea+p|0;b=s>>>0>>0?b+1|0:b;h=f;I=f;f=g;g=b;b=f+b|0;f=s;j=f+j|0;if(j>>>0>>0){b=b+1|0}f=j;q[I+16>>2]=f^D;q[h+20>>2]=b^y;W=k,X=$$(f,b,32),q[W+24>>2]=X;q[k+28>>2]=Ea;s=$$(E,p,16)^s;j=g^Ea;g=$$(F,l,32);h=g+s|0;b=Ea+j|0;b=h>>>0>>0?b+1|0:b;f=k;g=h;W=f,X=$$(s,j,21)^g,q[W+32>>2]=X;q[f+36>>2]=Ea^b;q[f+8>>2]=g^J;q[f+12>>2]=b^N;if(m){continue}break}f=u}while(1){b=r[t|0];g=t+1|0;t=g;if((b|0)!=58){continue}break}m=0;i=g;if(r[g|0]){while(1){m=m+1|0;b=r[i+1|0];i=i+1|0;if(b){continue}break}}D=g+m|0;i=g;while(1){B=0;u:{if(i>>>0>=D>>>0){break u}B=1;if(f>>>0>=K>>>0){break u}v:{while(1){w:{b=r[i|0];q[k+48>>2]=f+1;o[f|0]=b;f=q[k+48>>2];i=i+1|0;if((D|0)==(i|0)){break w}if(f>>>0>>0){continue}break v}break}i=D;B=0;break u}B=i>>>0>>0}if(f>>>0>=K>>>0){q[k+48>>2]=u;f=k;l=f;b=q[f+60>>2];h=q[f+56>>2]+8|0;if(h>>>0<8){b=b+1|0}q[l+56>>2]=h;q[f+60>>2]=b;j=q[k+16>>2];h=q[f+20>>2];b=$$(j,h,13);s=Ea;l=b;b=q[f+12>>2]+h|0;h=j;j=q[f+8>>2];h=h+j|0;if(h>>>0>>0){b=b+1|0}t=h;l=l^h;h=s;s=b;h=h^b;I=$$(l,h,17);F=Ea;O=q[k+44>>2];C=O^q[k+36>>2];b=C+q[k+28>>2]|0;N=q[k+40>>2];J=N^q[k+32>>2];p=q[k+24>>2];j=J+p|0;if(j>>>0

>>0){b=b+1|0}y=j;j=b;b=b+h|0;h=y;l=h+l|0;if(l>>>0>>0){b=b+1|0}E=l;l=l^I;p=b;h=b^F;I=$$(l,h,13);F=Ea;m=$$(J,C,16)^y;C=j^Ea;j=$$(t,s,32);s=j+m|0;b=Ea+C|0;y=s;j=s>>>0>>0?b+1|0:b;b=j+h|0;h=s;l=h+l|0;if(l>>>0>>0){b=b+1|0}J=l;l=l^I;s=b;h=b^F;I=$$(l,h,17);F=Ea;C=$$(m,C,21)^y;y=Ea^j;j=$$(E,p,32);p=j+C|0;b=Ea+y|0;b=p>>>0>>0?b+1|0:b;j=f;t=f;f=h;h=b;b=f+b|0;f=p;l=f+l|0;if(l>>>0>>0){b=b+1|0}f=l;q[t+16>>2]=f^I;q[j+20>>2]=b^F;W=k,X=$$(f,b,32),q[W+24>>2]=X;q[k+28>>2]=Ea;p=$$(C,y,16)^p;l=h^Ea;h=$$(J,s,32);j=h+p|0;b=Ea+l|0;b=j>>>0>>0?b+1|0:b;f=k;h=j;W=f,X=$$(p,l,21)^h,q[W+32>>2]=X;q[f+36>>2]=Ea^b;q[f+8>>2]=h^N;q[f+12>>2]=b^O;f=u;if(B){continue}}break}while(1){f=q[a+424>>2];if((f|0)==q[a+420>>2]){if(!Ya(Q)){break a}f=q[a+424>>2]}b=r[g|0];q[a+424>>2]=f+1;o[f|0]=b;b=r[g|0];g=g+1|0;if(b){continue}break}b=bi(k+8|0);s=q[a+392>>2];g=b&R;if((P|0)==q[s+w(g,12)>>2]){j=b&T;p=0;while(1){x:{i=w(g,12)+s|0;if((b|0)!=q[i+4>>2]){break x}f=q[a+428>>2];h=r[f|0];t=!h;y:{if(!h){break y}i=q[i+8>>2];if((h|0)!=r[i|0]){break y}while(1){l=r[f+1|0];t=!l;if(!l){break y}f=f+1|0;h=r[i+1|0];i=i+1|0;if((h|0)==(l|0)){continue}break}}if(!t){break x}v=8;break a}p=p&255?p:j>>>r[a+400|0]+ -1&V|1;f=p&255;g=(g-f|0)+((g|0)<(f|0)?M:0)|0;if((P|0)==q[w(g,12)+s>>2]){continue}break}}if(r[a+233|0]){o[q[a+424>>2]+ -1|0]=r[a+468|0];f=q[q[L>>2]>>2];while(1){i=q[a+424>>2];if((i|0)==q[a+420>>2]){if(!Ya(Q)){break a}i=q[a+424>>2]}h=r[f|0];q[a+424>>2]=i+1;o[i|0]=h;i=r[f|0];f=f+1|0;if(i){continue}break}}i=q[a+428>>2];q[a+428>>2]=q[a+424>>2];q[S>>2]=i;f=w(g,12);q[f+q[a+392>>2]>>2]=P;q[(f+q[a+392>>2]|0)+4>>2]=b;q[(f+q[a+392>>2]|0)+8>>2]=i;H=H+ -1|0;if(H){break p}x=x+2|0;break m}o[i|0]=0}x=x+2|0;if((x|0)<(c|0)){continue}break}}if((x|0)<(c|0)){while(1){o[q[(x<<2)+z>>2]+ -1|0]=0;x=x+2|0;if((x|0)<(c|0)){continue}break}}f=q[e>>2];if(f){while(1){o[q[q[f+12>>2]>>2]+ -1|0]=0;f=q[f+4>>2];if(f){continue}break}}v=0;if(!r[a+232|0]){break a}b=q[G+4>>2];z:{if(b){g=q[b+4>>2];if(!g){v=27;break a}f=q[d>>2];while(1){b=r[f|0];i=f+1|0;f=i;if((b|0)!=58){continue}break}break z}g=q[A+156>>2];if(!g){break a}i=q[d>>2]}f=0;b=0;A:{if(!r[a+233|0]){break A}c=0;u=q[q[g>>2]>>2];if(!u){break A}while(1){e=c+u|0;b=c+1|0;c=b;if(r[e|0]){continue}break}}q[d+4>>2]=i;q[d+16>>2]=q[g+20>>2];c=q[q[g>>2]>>2];q[d+20>>2]=b;q[d+8>>2]=c;while(1){c=f;f=f+1|0;if(r[c+i|0]){continue}break}m=q[g+20>>2];e=m+(b+f|0)|0;B:{if((e|0)<=q[g+24>>2]){t=q[g+16>>2];break B}e=e+24|0;t=n[q[a+12>>2]](e)|0;if(!t){v=1;break a}q[g+24>>2]=e;e=Qa(t,q[g+16>>2],q[g+20>>2]);m=q[a+360>>2];if(m){while(1){if(q[m+12>>2]==q[g+16>>2]){q[m+12>>2]=e}m=q[m>>2];if(m){continue}break}}n[q[a+20>>2]](q[g+16>>2]);q[g+16>>2]=e;m=q[g+20>>2]}e=Qa(m+t|0,i,f);if(b){c=c+e|0;o[c|0]=r[a+468|0];Qa(c+1|0,q[q[g>>2]>>2],b)}q[d>>2]=q[g+16>>2]}Da=k- -64|0;return v}function kF(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0;g=Da-256|0;Da=g;a:{if(!a){f=37;break a}if(!b){f=36;break a}i=q[a+4>>2];if(!i){f=35;break a}if(!(q[q[i+128>>2]+52>>2]|t[i+16>>2]>c>>>0)){f=6;break a}e=b;f=b+12|0;h=b+48|0;if(d&2){d=r[i+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(r[i+9|0]&32?9:11)|d}u=d&2;q[e+44>>2]=u?f:h;b:{if(d&8){break b}f=q[b+116>>2];if(r[i+9|0]&128|(s[i+6>>1]&32767|(f|0)==-1)){break b}e=q[b+20>>2];j=q[b+16>>2];f=n[q[q[i+540>>2]+72>>2]](i,f,c,d,q[i+104>>2],a+76|0,g+8|0)|0;if(!f){f=0;q[a+108>>2]=0;q[a+24>>2]=s[g+10>>1]<<6;q[a+28>>2]=s[g+8>>1]<<6;i=p[g+12>>1];q[a+32>>2]=i<<6;h=p[g+14>>1];q[a+36>>2]=h<<6;q[a+40>>2]=s[g+16>>1]<<6;l=p[g+18>>1];q[a+44>>2]=l<<6;k=p[g+20>>1];q[a+48>>2]=k<<6;u=s[g+22>>1];m=h;h=d&16;q[a+104>>2]=h?k:m;q[a+100>>2]=h?l:i;q[a+72>>2]=1651078259;q[a+52>>2]=u<<6;i=q[a+4>>2];if(!(o[i+8|0]&1)){break a}h=q[i+104>>2];Na(g+20|0,0,192);q[g+212>>2]=0;q[g+216>>2]=0;q[g+32>>2]=h;q[g+16>>2]=a;q[g+12>>2]=b;q[g+8>>2]=i;q[g+24>>2]=d;Bj(g+8|0,c,0,1);Jo(g+212|0,q[q[g+8>>2]+100>>2]);b=q[g+68>>2];q[a+56>>2]=b;q[a+60>>2]=q[g+184>>2];if(!(q[a+40>>2]|!b)){z=a,A=Ma(b,j),q[z+40>>2]=A}if(q[a+52>>2]){break a}b=q[a+60>>2];if(!b){break a}z=a,A=Ma(b,e),q[z+52>>2]=A;break a}i=q[a+4>>2];h=q[i+8>>2]&1;if((f&255)==157){if(h){break b}p[g+8>>1]=0;p[g+240>>1]=0;p[g+224>>1]=0;p[g+6>>1]=0;if(!q[i+752>>2]){break a}n[q[q[i+540>>2]+140>>2]](i,0,c,g+8|0,g+224|0);c:{if(r[i+292|0]){n[q[q[i+540>>2]+140>>2]](i,1,c,g+240|0,g+6|0);break c}if(s[i+372>>1]!=65535){b=p[i+442>>1];p[g+240>>1]=b;c=b-p[i+444>>1]|0;b=c>>31;p[g+6>>1]=b^b+c;break c}b=p[i+220>>1];p[g+240>>1]=b;c=b-p[i+222>>1]|0;b=c>>31;p[g+6>>1]=b^b+c}f=0;q[a+108>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;b=Ma(p[g+8>>1],j);q[a+36>>2]=0;q[a+32>>2]=b;b=Ma(s[g+224>>1],j);q[a+44>>2]=0;q[a+40>>2]=b;z=a,A=Ma(p[g+240>>1],e),q[z+48>>2]=A;b=Ma(s[g+6>>1],e);q[a+100>>2]=0;q[a+104>>2]=0;o[a+94|0]=1;q[a+72>>2]=1651078259;q[a+52>>2]=b;break a}if(!h){break a}}y=d&1;if(!(y|r[b+112|0])){f=36;break a}f=6;if(d&16384){break a}x=q[i+104>>2];v=q[i+96>>2];Na(g+8|0,0,212);if(!u){l=d>>>7&1;f=q[b+304>>2];d:{e:{if((f|0)>=0){e=q[b+308>>2];if((e|0)<0){break e}if(f){break a}f=e;if(!e){break d}break a}j=q[b>>2];f=q[j+100>>2];e=f;h=q[b+132>>2];if(h){n[q[e+8>>2]](e,h)}q[b+132>>2]=0;e=q[b+144>>2];if(e){n[q[f+8>>2]](f,e)}q[b+144>>2]=0;e=q[b+252>>2];if(e){n[q[f+8>>2]](f,e)}q[b+252>>2]=0;e=q[b+260>>2];if(e){n[q[f+8>>2]](f,e)}q[b+260>>2]=0;e=q[b+300>>2];if(e){q[e+444>>2]=0;h=q[e+8>>2];k=h;m=q[e+24>>2];if(m){n[q[k+8>>2]](k,m)}q[e+20>>2]=0;q[e+24>>2]=0;k=q[e+440>>2];if(k){n[q[h+8>>2]](h,k)}q[e+440>>2]=0;q[e+432>>2]=0;q[e+436>>2]=0;k=q[e+396>>2];if(k){n[q[h+8>>2]](h,k)}q[e+392>>2]=0;q[e+396>>2]=0;q[e>>2]=0;q[e+4>>2]=0;if(e){n[q[h+8>>2]](h,e)}}e=q[b+264>>2];if(e){h=q[b+292>>2];if(h){n[q[e+8>>2]](e,h)}q[b+292>>2]=0;h=q[b+288>>2];if(h){n[q[e+8>>2]](e,h)}q[b+288>>2]=0;h=q[b+280>>2];if(h){n[q[e+8>>2]](e,h)}q[b+280>>2]=0;h=q[b+276>>2];if(h){n[q[e+8>>2]](e,h)}q[b+276>>2]=0;h=q[b+284>>2];if(h){n[q[e+8>>2]](e,h)}q[b+284>>2]=0;q[b+272>>2]=0;q[b+264>>2]=0;q[b+268>>2]=0}q[b+304>>2]=-1;q[b+308>>2]=-1;z=b,A=jF(q[j+96>>2]),q[z+300>>2]=A;e=s[j+280>>1];q[b+128>>2]=e;h=s[j+282>>1];q[b+148>>2]=0;q[b+152>>2]=0;q[b+136>>2]=0;q[b+124>>2]=0;q[b+140>>2]=h;q[b+248>>2]=q[j+700>>2];h=s[j+278>>1];o[b+113|0]=0;o[b+114|0]=0;p[b+256>>1]=h;q[b+96>>2]=0;q[b+100>>2]=0;q[b+104>>2]=0;q[b+108>>2]=0;z=b,A=Oa(f,24,0,e,0,g+224|0),q[z+132>>2]=A;f:{if(q[g+224>>2]){break f}z=b,A=Oa(f,24,0,q[b+140>>2],0,g+224|0),q[z+144>>2]=A;if(q[g+224>>2]){break f}z=b,A=Oa(f,4,0,q[b+248>>2],0,g+224|0),q[z+252>>2]=A;if(q[g+224>>2]){break f}z=b,A=Oa(f,4,0,s[b+256>>1],0,g+224|0),q[z+260>>2]=A;if(q[g+224>>2]){break f}e=s[j+276>>1];q[b+292>>2]=0;q[b+296>>2]=0;q[b+284>>2]=0;q[b+288>>2]=0;q[b+276>>2]=0;q[b+280>>2]=0;q[b+268>>2]=0;q[b+272>>2]=0;q[b+264>>2]=f;k=e+4|0;h=k&65535;z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+276>>2]=A;g:{h:{i:{e=q[g+240>>2];j:{if(e){break j}z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+280>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,8,0,h,0,g+240|0),q[z+284>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,1,0,h,0,g+240|0),q[z+288>>2]=A;e=q[g+240>>2];if(e){break j}z=b,A=Oa(f,2,0,0,0,g+240|0),q[z+292>>2]=A;e=q[g+240>>2];if(!e){break i}}f=q[b+264>>2];if(f){break h}q[g+224>>2]=e;break f}p[b+268>>1]=k;p[b+270>>1]=0;q[g+224>>2]=0;break g}e=q[b+292>>2];if(e){n[q[f+8>>2]](f,e)}q[b+292>>2]=0;e=q[b+288>>2];if(e){n[q[f+8>>2]](f,e)}q[b+288>>2]=0;e=q[b+280>>2];if(e){n[q[f+8>>2]](f,e)}q[b+280>>2]=0;e=q[b+276>>2];if(e){n[q[f+8>>2]](f,e)}q[b+276>>2]=0;e=q[b+284>>2];if(e){n[q[f+8>>2]](f,e)}q[b+284>>2]=0;q[b+272>>2]=0;q[b+264>>2]=0;q[b+268>>2]=0;f=q[g+240>>2];q[g+224>>2]=f;if(f){break f}}p[b+272>>1]=k;Qa(b+180|0,4480,68);f=q[q[q[j+96>>2]+4>>2]+164>>2];q[j+708>>2]=f?f:29;e=q[b+300>>2];j=q[b>>2];f=Aj(e,j,b);k:{if(f){break k}q[e+484>>2]=0;q[e+488>>2]=0;q[e+480>>2]=64;q[e+16>>2]=0;q[e+432>>2]=0;q[e+568>>2]=16384;o[e+565|0]=l;q[e+220>>2]=0;q[e+224>>2]=0;o[e+492|0]=0;p[e+256>>1]=0;q[e+228>>2]=0;q[e+260>>2]=65536;q[e+264>>2]=0;h=q[j+688>>2];f=q[j+684>>2];q[e+456>>2]=0;q[e+460>>2]=0;q[e+452>>2]=f;q[e+448>>2]=h;q[e+464>>2]=0;q[e+468>>2]=0;l:{if(!f){q[b+304>>2]=0;break l}q[e+368>>2]=f;q[e+360>>2]=h;q[e+364>>2]=0;q[e+356>>2]=1;f=n[q[j+708>>2]](e)|0;q[b+304>>2]=f;if(f){break k}}q[b+124>>2]=q[e+400>>2];q[b+136>>2]=q[e+412>>2];q[b+148>>2]=q[e+424>>2];q[b+152>>2]=q[e+428>>2];f=q[e+452>>2];q[b+156>>2]=q[e+448>>2];q[b+160>>2]=f;f=q[e+460>>2];q[b+164>>2]=q[e+456>>2];q[b+168>>2]=f;f=q[e+468>>2];q[b+172>>2]=q[e+464>>2];q[b+176>>2]=f;f=0}q[g+224>>2]=f;break e}Eo(b);f=q[g+224>>2]}if(f){break a}f=q[b+308>>2];if((f|0)<=-1){f=s[b+272>>1];if(f){e=f>>>0>1?f:1;j=q[b+280>>2];h=q[b+276>>2];f=0;while(1){k=f<<3;m=k+h|0;q[m>>2]=0;q[m+4>>2]=0;k=j+k|0;q[k>>2]=0;q[k+4>>2]=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}f=s[b+256>>1];if(f){Na(q[b+260>>2],0,(f>>>0>1?f:1)<<2)}Qa(b+180|0,4480,68);f=Do(b,l)}if(f){break a}}j=q[b+300>>2];if(!j){f=153;break a}f=d&983040;m:{if(q[v+64>>2]!=40){h=(f|0)!=131072;f=0;k=0;e=0;break m}k=(f|0)!=131072;f=k&(d&262144)>>>18;h=0;e=!(d&458752)&k}o[j+614|0]=f;f=Aj(j,i,b);if(f){break a}n:{o:{p:{q:{if(q[v+64>>2]==40){f=0;if(r[j+613|0]!=(k|0)){o[j+613|0]=k;f=1}if((e|0)!=r[j+618|0]){break q}if(r[j+612|0]==(h|0)){break p}o[j+612|0]=h;break o}if(r[j+612|0]==(h|0)){break n}o[j+612|0]=h;break o}o[j+618|0]=e;if(r[j+612|0]==(h|0)){break o}o[j+612|0]=h;break o}if(!f){break n}}f=Do(b,l);if(f){break a}}f=r[j+340|0];e=f<<1&2;if(f&2){Qa(j+288|0,4480,68)}o[j+565|0]=l;q[g+164>>2]=j;q[g+168>>2]=q[j+396>>2];d=d|e}f=q[q[a+156>>2]>>2];Xe(f);q[g+24>>2]=d;q[g+20>>2]=f;q[g+212>>2]=0;q[g+216>>2]=0;q[g+32>>2]=x;q[g+16>>2]=a;q[g+12>>2]=b;q[g+8>>2]=i;q[a+124>>2]=0;q[a+128>>2]=0;q[a+72>>2]=1869968492;f=Bj(g+8|0,c,0,0);r:{if(f){break r}d=q[g+20>>2];s:{if(q[a+72>>2]==1668246896){q[a+128>>2]=q[d+48>>2];q[a+132>>2]=q[d+52>>2];break s}i=q[d+24>>2];f=a+108|0;q[f>>2]=q[d+20>>2];q[f+4>>2]=i;q[f+16>>2]=q[d+36>>2];i=q[d+32>>2];q[f+8>>2]=q[d+28>>2];q[f+12>>2]=i;q[a+124>>2]=q[a+124>>2]&-513;d=q[g+76>>2];if(!d){break s}oc(f,0-d|0,0)}t:{if(u){break t}d=q[g+164>>2];if(r[d+341|0]){u:{d=q[d+344>>2];if(d>>>0>5){break u}v:{switch(d-1|0){default:q[a+124>>2]=q[a+124>>2]|32;break t;case 3:q[a+124>>2]=q[a+124>>2]|48;break t;case 0:break t;case 1:case 2:break u;case 4:break v}}q[a+124>>2]=q[a+124>>2]|16;break t}q[a+124>>2]=q[a+124>>2]|8;break t}q[a+124>>2]=q[a+124>>2]|8}f=q[g+8>>2];i=q[f+96>>2];h=65536;e=q[g+12>>2];d=q[g+16>>2];h=o[g+24|0]&1?h:q[q[e+44>>2]+8>>2];w:{if(q[d+72>>2]!=1668246896){Te(d+108|0,g+240|0);break w}j=q[g+56>>2];q[g+248>>2]=q[g+52>>2];q[g+252>>2]=j;j=q[g+48>>2];q[g+240>>2]=q[g+44>>2];q[g+244>>2]=j}q[d+56>>2]=q[g+68>>2];u=q[g+240>>2];q[d+32>>2]=u;j=q[g+252>>2];q[d+36>>2]=j;q[d+40>>2]=q[g+84>>2]-q[g+76>>2];x:{y:{if(q[i+64>>2]!=40){break y}i=q[g+164>>2];if(!i){break y}if(r[i+615|0]){break x}}if(q[f+488>>2]|q[g+24>>2]&2097154){break x}v=q[f+776>>2];if(!v){break x}i=0;l=q[f+768>>2];x=l?l+8|0:0;k=q[f+780>>2];m=q[f+784>>2];e=s[q[e+44>>2]>>1];while(1){if((e|0)==r[i+m|0]){e=c+2|0;if(!l|e>>>0>=k>>>0){break x}q[d+40>>2]=r[e+(x+w(i,k)|0)|0]<<6;break x}i=i+1|0;if((v|0)!=(i|0)){continue}break}}q[d+24>>2]=q[g+248>>2]-u;i=j-q[g+244>>2]|0;q[d+28>>2]=i;z:{if(!(!r[f+292|0]|!s[f+330>>1])){e=Za(q[g+192>>2]-j|0,h)<<16>>16;i=0;j=q[g+192>>2];l=q[g+200>>2];if((j|0)<=(l|0)){break z}i=Za(j-l|0,h)&65535;break z}e=Za(i,h);i=s[f+372>>1]==65535;i=p[f+(i?220:442)>>1]-p[f+(i?222:444)>>1]|0;e=(i-(e<<16>>16)|0)/2|0}f=q[q[f+128>>2]+52>>2];A:{if(!f){break A}j=q[q[f>>2]+8>>2];if(!j){break A}q[g+232>>2]=i;q[g+228>>2]=e;q[g+224>>2]=0;f=n[j](q[f+4>>2],c,1,g+224|0)|0;if(f){break r}i=q[g+232>>2];e=q[g+228>>2]}q[d+60>>2]=i;c=d;if(!(o[g+24|0]&1)){e=Ma(e,h);i=Ma(i,h)}q[c+52>>2]=i;q[d+48>>2]=e;q[d+44>>2]=q[d+32>>2]-(q[d+40>>2]/2|0);f=0}Jo(g+212|0,q[q[g+8>>2]+100>>2]);if(s[q[b+44>>2]+2>>1]>23|y){break a}q[a+124>>2]=q[a+124>>2]|256}Da=g+256|0;return f|0}function Ih(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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;n=Da-192|0;Da=n;F=h;H=i&65535;r=d;o=e&65535;D=(e^i)&-2147483648;l=i>>>16&32767;a:{s=e>>>16&32767;b:{c:{if(l+ -1>>>0<32766?s+ -1>>>0<=32765:0){break c}m=e&2147483647;k=m;j=d;if(!(!j&(k|0)==2147418112?!(b|c):(k|0)==2147418112&j>>>0<0|k>>>0<2147418112)){K=d;D=e|32768;break b}m=i&2147483647;e=m;d=h;if(!(!d&(e|0)==2147418112?!(f|g):(e|0)==2147418112&d>>>0<0|e>>>0<2147418112)){K=h;D=i|32768;b=f;c=g;break b}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;D=2147450880;break b}D=D|2147418112;b=0;c=0;break b}if(!(d|f|(e^2147418112|g))){b=0;c=0;break b}if(!(b|j|(c|k))){break a}if(!(d|f|(e|g))){D=D|2147418112;b=0;c=0;break b}if((k|0)==65535&j>>>0<=4294967295|k>>>0<65535){j=b;h=!(o|r);i=h<<6;k=z(h?b:r)+32|0;b=z(h?c:o);b=i+((b|0)==32?k:b)|0;Fc(n+176|0,j,c,r,o,b+ -15|0);I=16-b|0;r=q[n+184>>2];o=q[n+188>>2];c=q[n+180>>2];b=q[n+176>>2]}if((e|0)==65535&d>>>0>4294967295|e>>>0>65535){break c}d=!(F|H);e=d<<6;h=z(d?f:F)+32|0;d=z(d?g:H);d=e+((d|0)==32?h:d)|0;Fc(n+160|0,f,g,F,H,d+ -15|0);I=(d+I|0)+ -16|0;F=q[n+168>>2];H=q[n+172>>2];f=q[n+160>>2];g=q[n+164>>2]}e=H|65536;J=e;L=F;d=F;k=e<<15|d>>>17;d=d<<15|g>>>17;h=-102865788-d|0;e=k;i=1963258675-(k+(4192101508>>0)|0)|0;Ld(n+144|0,d,k,h,i);j=q[n+152>>2];Ld(n+128|0,0-j|0,0-(q[n+156>>2]+(0>>0)|0)|0,h,i);h=q[n+136>>2];i=h<<1|q[n+132>>2]>>>31;h=q[n+140>>2]<<1|h>>>31;Ld(n+112|0,i,h,d,k);j=h;h=q[n+120>>2];Ld(n+96|0,i,j,0-h|0,0-(q[n+124>>2]+(0>>0)|0)|0);h=q[n+104>>2];i=h<<1|q[n+100>>2]>>>31;h=q[n+108>>2]<<1|h>>>31;Ld(n+80|0,i,h,d,k);j=h;h=q[n+88>>2];Ld(n- -64|0,i,j,0-h|0,0-(q[n+92>>2]+(0>>0)|0)|0);h=q[n+72>>2];i=h<<1|q[n+68>>2]>>>31;h=q[n+76>>2]<<1|h>>>31;Ld(n+48|0,i,h,d,k);j=h;h=q[n+56>>2];Ld(n+32|0,i,j,0-h|0,0-(q[n+60>>2]+(0>>0)|0)|0);h=q[n+40>>2];i=h<<1|q[n+36>>2]>>>31;h=q[n+44>>2]<<1|h>>>31;Ld(n+16|0,i,h,d,k);j=h;h=q[n+24>>2];Ld(n,i,j,0-h|0,0-(q[n+28>>2]+(0>>0)|0)|0);I=(s-l|0)+I|0;h=q[n+8>>2];j=q[n+12>>2]<<1|h>>>31;i=h<<1;k=j+ -1|0;i=(q[n+4>>2]>>>31|i)+ -1|0;if(i>>>0<4294967295){k=k+1|0}h=i;j=0;x=j;t=e;l=0;m=V$(h,j,e,l);e=Ea;w=e;u=k;s=0;j=d;h=V$(k,s,j,0);d=h+m|0;k=Ea+e|0;k=d>>>0>>0?k+1|0:k;h=d;d=k;p=V$(i,x,j,p);e=0+p|0;k=h;j=k+Ea|0;j=e>>>0

>>0?j+1|0:j;p=e;e=j;j=(k|0)==(j|0)&p>>>0>>0|j>>>0>>0;k=(d|0)==(w|0)&k>>>0>>0|d>>>0>>0;h=d;d=V$(u,s,t,l)+d|0;l=k+Ea|0;l=d>>>0>>0?l+1|0:l;h=d;d=j+d|0;j=l;B=d;h=d>>>0>>0?j+1|0:j;d=g;y=(d&131071)<<15|f>>>17;t=V$(i,x,y,0);d=Ea;A=d;k=f;v=k<<15&-32768;m=V$(u,s,v,0);j=m+t|0;k=Ea+d|0;k=j>>>0>>0?k+1|0:k;d=k;C=V$(i,x,v,C);v=0+C|0;k=j+Ea|0;k=v>>>0>>0?k+1|0:k;k=(j|0)==(k|0)&v>>>0>>0|k>>>0>>0;j=(d|0)==(A|0)&j>>>0>>0|d>>>0>>0;m=d;d=V$(u,s,y,G)+d|0;l=j+Ea|0;l=d>>>0>>0?l+1|0:l;j=d;d=k+j|0;m=d>>>0>>0?l+1|0:l;k=d;d=p+d|0;j=m+e|0;j=d>>>0>>0?j+1|0:j;w=d;k=h;t=j;d=(e|0)==(j|0)&d>>>0

>>0|j>>>0>>0;e=d+B|0;if(e>>>0>>0){k=k+1|0}j=k;d=(w|0)!=0|(t|0)!=0;e=e+d|0;if(e>>>0>>0){j=j+1|0}k=e;e=0-k|0;p=0;h=V$(e,p,i,x);d=Ea;A=d;v=V$(u,s,e,p);e=Ea;B=e;y=0-((0>>0)+j|0)|0;j=0;p=V$(i,x,y,j);l=p+v|0;k=Ea+e|0;k=l>>>0

>>0?k+1|0:k;e=l;p=0+h|0;l=d+e|0;l=p>>>0>>0?l+1|0:l;m=p;d=l;l=(A|0)==(d|0)&m>>>0>>0|d>>>0>>0;m=(k|0)==(B|0)&e>>>0>>0|k>>>0>>0;e=V$(u,s,y,j)+k|0;j=m+Ea|0;j=e>>>0>>0?j+1|0:j;h=e;e=l+e|0;if(e>>>0>>0){j=j+1|0}y=e;h=j;l=p;e=0-w|0;G=0-((0>>0)+t|0)|0;w=0;B=V$(G,w,i,x);v=Ea;t=e;C=0;j=V$(e,C,u,s);e=j+B|0;k=Ea+v|0;m=e;e=e>>>0>>0?k+1|0:k;t=V$(i,x,t,C);i=0+t|0;j=m;k=j+Ea|0;k=i>>>0>>0?k+1|0:k;k=(j|0)==(k|0)&i>>>0>>0|k>>>0>>0;j=(e|0)==(v|0)&j>>>0>>0|e>>>0>>0;i=e;e=V$(u,s,G,w)+e|0;m=j+Ea|0;m=e>>>0>>0?m+1|0:m;i=e;e=k+e|0;j=m;j=e>>>0>>0?j+1|0:j;i=e;e=e+l|0;j=j+d|0;j=e>>>0>>0?j+1|0:j;i=e;k=h;e=j;d=(d|0)==(j|0)&i>>>0>>0|j>>>0>>0;h=d+y|0;if(h>>>0>>0){k=k+1|0}d=h;j=k;m=d;l=e+ -1|0;d=i+ -2|0;if(d>>>0<4294967294){l=l+1|0}h=d;k=d;d=l;e=(e|0)==(d|0)&k>>>0>>0|d>>>0>>0;i=m+e|0;if(i>>>0>>0){j=j+1|0}e=i+ -1|0;k=j+ -1|0;k=e>>>0<4294967295?k+1|0:k;i=0;u=i;s=e;j=r;v=j<<2|c>>>30;y=0;p=V$(e,i,v,y);i=Ea;m=i;i=c;G=(i&1073741823)<<2|b>>>30;C=k;i=0;j=V$(G,0,k,i);e=j+p|0;l=Ea+m|0;l=e>>>0>>0?l+1|0:l;j=e;t=l;A=(m|0)==(l|0)&j>>>0

>>0|l>>>0>>0;m=l;l=0;p=l;k=0;B=d;E=((o&1073741823)<<2|r>>>30)&-262145|262144;e=V$(d,l,E,0);d=e+j|0;m=Ea+m|0;m=d>>>0>>0?m+1|0:m;r=d;e=m;d=(t|0)==(e|0)&d>>>0>>0|e>>>0>>0;j=d+A|0;if(j>>>0>>0){k=1}m=V$(C,i,E,M);d=m+j|0;j=Ea+k|0;k=d>>>0>>0?j+1|0:j;l=V$(s,u,E,M);j=Ea;c=d;o=V$(v,y,C,i);d=o+l|0;m=Ea+j|0;m=d>>>0>>0?m+1|0:m;o=d;d=m;m=(j|0)==(d|0)&o>>>0>>0|d>>>0>>0;l=c+d|0;k=k+m|0;j=l;m=j>>>0>>0?k+1|0:k;c=j;l=e+o|0;k=0;d=k+r|0;if(d>>>0>>0){l=l+1|0}o=d;j=d;d=l;e=(e|0)==(d|0)&j>>>0>>0|d>>>0>>0;j=c+e|0;if(j>>>0>>0){m=m+1|0}N=j;e=o;k=d;r=V$(G,w,B,p);l=Ea;t=h;A=V$(h,0,v,y);h=A+r|0;j=Ea+l|0;j=h>>>0>>0?j+1|0:j;x=h;h=j;r=(l|0)==(j|0)&x>>>0>>0|j>>>0>>0;P=e;j=0;Q=r;c=b<<2&-4;r=V$(s,u,c,0);e=r+x|0;l=Ea+h|0;l=e>>>0>>0?l+1|0:l;A=e;r=e;e=l;h=(h|0)==(e|0)&r>>>0>>0|e>>>0>>0;l=Q+h|0;if(l>>>0>>0){j=1}h=P+l|0;k=j+k|0;k=h>>>0>>0?k+1|0:k;r=h;l=m;h=k;d=(d|0)==(k|0)&r>>>0>>0|k>>>0>>0;j=d+N|0;if(j>>>0>>0){l=l+1|0}P=j;o=r;x=h;N=V$(C,i,c,R);C=Ea;i=V$(E,M,t,O);d=i+N|0;m=Ea+C|0;m=d>>>0>>0?m+1|0:m;E=d;j=V$(v,y,B,p);d=d+j|0;i=m;k=i+Ea|0;k=d>>>0>>0?k+1|0:k;v=d;m=V$(s,u,G,w);d=d+m|0;j=Ea+k|0;s=d;j=d>>>0>>0?j+1|0:j;u=0;m=l;d=j;j=(j|0)==(k|0)&s>>>0>>0|j>>>0>>0;l=(i|0)==(C|0)&E>>>0>>0|i>>>0>>0;i=(i|0)==(k|0)&v>>>0>>0|k>>>0>>0;k=l+i|0;k>>>0>>0;i=j+k|0;k=i;j=d|0;i=j+o|0;k=(k|u)+x|0;k=i>>>0>>0?k+1|0:k;x=i;o=k;h=(h|0)==(k|0)&i>>>0>>0|k>>>0>>0;i=h+P|0;if(i>>>0>>0){m=m+1|0}y=i;i=m;m=x;r=o;u=A;B=V$(B,p,c,R);p=Ea;j=V$(G,w,t,O);h=j+B|0;l=Ea+p|0;l=h>>>0>>0?l+1|0:l;k=l;w=k;l=0;j=(k|0)==(p|0)&h>>>0>>0|k>>>0

>>0;h=k+u|0;k=(j|l)+e|0;k=h>>>0>>0?k+1|0:k;w=h;j=h;h=k;j=(e|0)==(k|0)&j>>>0>>0|k>>>0>>0;c=m;e=j;j=k+s|0;m=0;d=m+w|0;if(d>>>0>>0){j=j+1|0}d=(h|0)==(j|0)&d>>>0>>0|j>>>0>>0;e=e+d|0;if(e>>>0>>0){l=1}d=c+e|0;m=l+r|0;h=d;j=i;m=d>>>0>>0?m+1|0:m;i=m;d=(o|0)==(i|0)&d>>>0>>0|i>>>0>>0;e=d+y|0;if(e>>>0>>0){j=j+1|0}d=e;e=j;d:{if((j|0)==131071&d>>>0<=4294967295|j>>>0<131071){u=0;o=f;v=0;k=V$(h,u,o,v);l=Ea;j=b<<17;b=0;c=(k|0)!=0|(l|0)!=0;r=b-c|0;E=j-(b>>>0>>0)|0;w=0-k|0;p=0-((0>>0)+l|0)|0;c=0;y=V$(i,c,o,v);b=Ea;G=b;s=0;k=V$(h,u,g,s);j=k+y|0;l=Ea+b|0;l=j>>>0>>0?l+1|0:l;b=j;k=j;t=0;j=t;A=k;j=(k|0)==(p|0)&w>>>0>>0|p>>>0>>0;x=r-j|0;r=E-(r>>>0>>0)|0;j=V$(d,0,o,v);k=Ea;o=V$(h,u,F,0);j=o+j|0;m=Ea+k|0;m=j>>>0>>0?m+1|0:m;o=V$(g,s,i,c);j=o+j|0;k=Ea+m|0;k=j>>>0>>0?k+1|0:k;m=k;k=(l|0)==(G|0)&b>>>0>>0|l>>>0>>0;b=l+j|0;k=k+m|0;m=b;b=m>>>0>>0?k+1|0:k;j=V$(h,i,J,0);l=Ea;o=m;m=V$(f,g,e,0);k=m+j|0;j=Ea+l|0;j=k>>>0>>0?j+1|0:j;l=V$(d,e,g,s);m=l+k|0;j=V$(i,c,F,H);c=j+m|0;j=c;k=0;c=o+k|0;j=b+j|0;b=c;F=x-b|0;H=r-((x>>>0>>0)+(b>>>0>>0?j+1|0:j)|0)|0;I=I+ -1|0;c=w-t|0;b=p-((w>>>0>>0)+A|0)|0;break d}p=i>>>1|0;l=0;r=b<<16;k=d<<31;h=(i&1)<<31|h>>>1;i=i>>>1|k;y=0;c=f;m=0;b=V$(h,y,c,m);j=Ea;k=j;o=0;j=(b|0)!=0|(j|0)!=0;t=o-j|0;E=r-(o>>>0>>0)|0;A=0-b|0;x=0-((0>>0)+k|0)|0;o=x;r=0;w=V$(h,y,g,r);b=Ea;C=b;k=e<<31|d>>>1;p=p|d<<31;M=k|l;k=p;u=V$(k,0,c,m);l=u+w|0;j=Ea+b|0;j=l>>>0>>0?j+1|0:j;b=j;j=l;v=j;u=0;j=(j|0)==(o|0)&A>>>0>>0|o>>>0>>0;B=t-j|0;t=E-(t>>>0>>0)|0;E=V$(g,r,k,O);O=Ea;j=c;k=m;c=e>>>1|0;o=(e&1)<<31|d>>>1;m=V$(j,k,o,0);j=m+E|0;k=Ea+O|0;k=j>>>0>>0?k+1|0:k;s=V$(h,y,F,0);m=s+j|0;j=Ea+k|0;k=m;m=k>>>0>>0?j+1|0:j;j=(b|0)==(C|0)&l>>>0>>0|b>>>0>>0;s=b;b=b+k|0;l=j+m|0;m=b;b=m>>>0>>0?l+1|0:l;j=V$(h,i,J,0);k=Ea;e=V$(f,g,e>>>1|0,0);d=e+j|0;j=Ea+k|0;j=d>>>0>>0?j+1|0:j;e=V$(o,c,g,r);d=e+d|0;j=Ea+j|0;e=V$(p,M,F,H);d=e+d|0;j=d;e=0;d=e+m|0;k=b+j|0;F=B-d|0;H=t-((B>>>0>>0)+(d>>>0>>0?k+1|0:k)|0)|0;d=o;e=c;c=A-u|0;b=x-((A>>>0>>0)+v|0)|0}if((I|0)>=16384){D=D|2147418112;b=0;c=0;break b}l=I+16383|0;if((I|0)<=-16383){e:{if(l){break e}l=i;m=b<<1|c>>>31;j=c<<1;g=(g|0)==(m|0)&j>>>0>f>>>0|m>>>0>g>>>0;j=e&65535;f=F;m=H<<1|f>>>31;c=f<<1|b>>>31;e=c;b=(e|0)==(L|0)&(m|0)==(J|0)?g:(J|0)==(m|0)&e>>>0>L>>>0|m>>>0>J>>>0;c=b+h|0;if(c>>>0>>0){l=l+1|0}b=c;e=b;c=l;e=d+((i|0)==(l|0)&e>>>0>>0|l>>>0>>0)|0;if(e>>>0>>0){j=j+1|0}d=j;if(!(j&65536)){break e}K=e|K;D=d|D;break b}b=0;c=0;break b}k=i;e=e&65535;j=b<<1|c>>>31;o=c<<1;g=(g|0)==(j|0)&o>>>0>=f>>>0|j>>>0>g>>>0;f=F;j=H<<1|f>>>31;c=f<<1|b>>>31;b=(c|0)==(L|0)&(j|0)==(J|0)?g:(J|0)==(j|0)&c>>>0>=L>>>0|j>>>0>J>>>0;c=b+h|0;if(c>>>0>>0){k=k+1|0}b=c;c=k;f=d;d=((i|0)==(k|0)&b>>>0>>0|k>>>0>>0)+d|0;k=l<<16|e;K=d|K;D=D|(d>>>0>>0?k+1|0:k)}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=K;q[a+12>>2]=D;Da=n+192|0;return}q[a>>2]=0;q[a+4>>2]=0;b=(d|f)!=0|(e|g)!=0;q[a+8>>2]=b?K:0;q[a+12>>2]=b?D:2147450880;Da=n+192|0}function NV(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,p=0,s=0,u=0;d=Da-112|0;Da=d;q[a+84>>2]=0;q[a+88>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+108>>2]=-1;q[a+112>>2]=-1;q[a+116>>2]=-1;q[a+120>>2]=-1;q[a+124>>2]=-1;q[a+128>>2]=-1;q[a+132>>2]=-1;q[a+136>>2]=-1;q[a+140>>2]=-1;q[a+144>>2]=-1;q[a+148>>2]=-1;q[a+164>>2]=0;q[a+168>>2]=0;q[a+156>>2]=0;q[a+160>>2]=8720;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+196>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;q[a+208>>2]=0;if(!r[a+40|0]){c=Mb(b);o[a+40|0]=1;q[a+36>>2]=c}i=a+4|0;b=MV(i,Jb(b,1128678944));q[a>>2]=b;b=ub(b);o[a+24|0]=0;q[a+32>>2]=b;c=q[b+12>>2];q[a+8>>2]=c;e=c;c=q[b+16>>2];q[a+12>>2]=e+c;a:{b:{if((c|0)>-1){q[a+4>>2]=0;q[a+28>>2]=0;b=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[b+16>>2]=c;b=q[a>>2];k=q[b+12>>2];if(!(t[b+16>>2]>3?(k|0)!=271312:0)){nc(a);break a}b=r[k+2|0];b=b?b+k|0:271312;q[a+52>>2]=b;c:{if((b|0)!=271312){if(jf(b,i)){break c}}nc(a);break a}g=a;e=q[a+52>>2];b=0;d:{if((e|0)==271312){break d}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break d}c=r[e+2|0];l=w(c,h+1|0);if(c){b=(e+w(c,h)|0)+3|0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+56>>2]=b;e:{f:{if((b|0)==271312){break f}if(!jf(b,i)){break f}g=q[a+56>>2];b=r[g|0]<<8|r[g+1|0];if(b){break e}}nc(a);break a}f=r[g+2|0];e=(g+w(f,b+1|0)|0)+3|0;c=0;if(f){b=g+3|0;while(1){c=r[b|0]|c<<8;b=b+1|0;f=f+ -1|0;if(f){continue}break}}c=(c+e|0)+ -1|0;g:{g=rg(g,0);b=g+1|0;h:{if(b>>>0<=1){if(b-1){break h}break g}if(t[a+8>>2]>c>>>0){break h}b=q[a+12>>2];if(b>>>0>>0|b-c>>>0>>0){break h}b=q[a+16>>2];q[a+16>>2]=b+ -1;if((b|0)>0){break g}}nc(a);break a}b=a+84|0;q[d+72>>2]=0;q[d+76>>2]=0;e=d- -64|0;q[e>>2]=0;q[e+4>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;o[d+96|0]=0;q[d+80>>2]=0;q[d+84>>2]=0;o[d+72|0]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;q[d+56>>2]=c;q[d+60>>2]=g;o[d+76|0]=0;c=Sa(4744);i:{if(!c){q[d+84>>2]=-1;break i}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=c;Na(c,0,4104)}o[d+96|0]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[a+148>>2]=-1;q[a+140>>2]=-1;q[a+144>>2]=-1;q[a+132>>2]=-1;q[a+136>>2]=-1;q[a+124>>2]=-1;q[a+128>>2]=-1;q[a+116>>2]=-1;q[a+120>>2]=-1;q[a+108>>2]=-1;q[a+112>>2]=-1;q[a+156>>2]=0;q[a+160>>2]=8720;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;if(!LV(d+56|0,b)){nc(a);La(q[d+92>>2]);break a}La(q[d+92>>2]);b=q[a+168>>2];if(b>>>0<=2){q[a+48>>2]=271312;break b}b=b+k|0;q[a+48>>2]=b;if((b|0)!=271312){if(KV(b,i)){break b}}nc(a);break a}I(242848,242873,195,242890);F()}q[a+80>>2]=1;j:{k:{l:{if(q[a+144>>2]!=-1){b=q[a+104>>2];b=b?b+k|0:271312;q[a+72>>2]=b;c=q[a+172>>2];q[a+76>>2]=c?c+k|0:271312;if((b|0)==271312){break j}if(!jf(b,i)){break j}b=q[a+76>>2];if((b|0)==271312){break j}h=q[a+8>>2];if(h>>>0>b>>>0){break j}l=q[a+12>>2];if(l>>>0<=b>>>0){break j}e=q[a+72>>2];c=r[e|0];m=r[e+1|0];f=q[a+16>>2];g=f+ -1|0;q[a+16>>2]=g;if((f|0)<1){break j}f=r[b|0];if(f>>>0>3){break j}m:{n:{switch(f-1|0){default:m=q[a+36>>2];if(!m){break m}f=b+1|0;b=0;c=g;while(1){j=b+f|0;if(h>>>0>j>>>0|l>>>0<=j>>>0){break j}c=c+ -1|0;q[a+16>>2]=c;if((b|0)==(g|0)){break j}b=b+1|0;if((m|0)!=(b|0)){continue}break}break m;case 0:case 1:break j;case 2:break n}}if(!iu(b+1|0,i,m|c<<8)){break j}e=q[a+72>>2]}b=r[e+1|0];c=r[e|0];q[a+44>>2]=271312;q[a+80>>2]=b|c<<8;b=a+44|0;if(q[a+144>>2]==-1){break l}if(q[a+48>>2]!=271312){break k}nc(a);break a}q[a+76>>2]=271312;q[a+72>>2]=271312;q[a+44>>2]=271312;b=a+44|0}c=q[a+164>>2];if(c>>>0<2){break k}e=b;b=c+k|0;q[e>>2]=b;if((b|0)!=271312){if(IV(b,i)){break k}}nc(a);break a}g=a;e=q[a+56>>2];b=0;o:{if((e|0)==271312){break o}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break o}c=r[e+2|0];l=w(c,h+1|0);p:{if(!c){f=0;break p}b=(e+w(c,h)|0)+3|0;f=0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+60>>2]=b;q:{if((b|0)!=271312){if(jf(b,i)){break q}}nc(a);break a}g=a;e=q[a+60>>2];b=0;r:{if((e|0)==271312){break r}h=r[e+1|0]|r[e|0]<<8;b=2;if(!h){break r}c=r[e+2|0];l=w(c,h+1|0);s:{if(!c){f=0;break s}b=(e+w(c,h)|0)+3|0;f=0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}b=(f+l|0)+2|0}b=b+e|0;q[g+64>>2]=b;t:{if((b|0)==271312){break t}if(jf(b,i)){break t}nc(a);break a}b=q[a+100>>2];b=b?b+k|0:271312;q[a+68>>2]=b;u:{if((b|0)!=271312){if(jf(b,i)){break u}}nc(a);break a}b=q[a+68>>2];b=r[b|0]<<8|r[b+1|0];q[a+212>>2]=b;if((b|0)!=q[a+36>>2]){nc(a);break a}b=q[a+80>>2];c=0;e=q[a+200>>2];if((e|0)>=0){b=(b|0)>0?b:0;v:{if(e>>>0>>0){g=e;while(1){g=((g>>>1|0)+g|0)+8|0;if(g>>>0<=b>>>0){continue}break}w:{if(!(g>>>0>>0|g>>>0>178956969)){e=db(q[a+208>>2],w(g,24));if(e){break w}}q[a+200>>2]=-1;break v}q[a+200>>2]=g;q[a+208>>2]=e}g=q[a+204>>2];if(b>>>0>g>>>0){Na(q[a+208>>2]+w(g,24)|0,0,w(b-g|0,24))}q[a+204>>2]=b}b=q[a+80>>2]}x:{if(b){while(1){y:{if(t[a+204>>2]<=c>>>0){b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break y}b=q[a+208>>2]+w(c,24)|0}q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=c+1|0;b=q[a+80>>2];if(c>>>0>>0){continue}break}if(q[a+144>>2]==-1){break x}if(!b){break a}h=q[67830];l=q[67829];m=q[67828];g=0;while(1){c=m;b=l;e=h;z:{j=q[a+72>>2];f=r[j|0]<<8|r[j+1|0];if(f>>>0>g>>>0){c=r[j+2|0];n=w(c,f+1|0);e=0;f=0;if(c){b=(j+w(c,g)|0)+3|0;while(1){f=r[b|0]|f<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=(n+(j+2|0)|0)+f|0;b=rg(j,g)}f=b+1|0;A:{if(f>>>0<=1){if(f-1){break A}break z}if(t[a+8>>2]>c>>>0){break A}f=q[a+12>>2];if(f>>>0>>0|f-c>>>0>>0){break A}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)>0){break z}}nc(a);break a}o[d+76|0]=0;o[d+72|0]=0;q[d+68>>2]=0;q[d+64>>2]=e;q[d+60>>2]=b;q[d+56>>2]=c;q[d+88>>2]=0;q[d+92>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;b=Sa(4744);B:{if(!b){q[d+84>>2]=-1;break B}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=b;Na(b,0,4104)}o[d+96|0]=0;C:{D:{E:{F:{b=q[a+188>>2];if((b|0)>=0){c=b;f=q[a+192>>2];e=f+1|0;e=(e|0)>0?e:0;if(b>>>0>=e>>>0){break E}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>134217726)){b=db(q[a+196>>2],c<<5);if(b){break F}}q[a+188>>2]=-1}b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;break D}q[a+188>>2]=c;q[a+196>>2]=b;f=q[a+192>>2]}if(e>>>0>f>>>0){Na(q[a+196>>2]+(f<<5)|0,0,e-f<<5)}q[a+192>>2]=e;b=q[a+196>>2];c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];f=c;j=q[67832];q[160748]=j;q[160749]=c;c=q[67831];n=c;p=q[67830];q[160746]=p;q[160747]=c;c=q[67829];u=c;s=q[67828];q[160744]=s;q[160745]=c;c=b+(e+ -1<<5)|0;if((c|0)==642976){break D}q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+28>>2]=-1;if(!HV(d+56|0,c)){break D}G:{if(t[a+204>>2]<=g>>>0){q[160748]=j;q[160749]=f;q[160746]=p;q[160747]=n;q[160744]=s;q[160745]=u;b=642976;break G}b=q[a+208>>2]+w(g,24)|0}e=q[c+16>>2]+k|0;c=q[c+20>>2];f=c+1|0;H:{if(f>>>0<=1){if(f-1){break D}break H}if(t[a+8>>2]>e>>>0){break D}f=q[a+12>>2];if(f>>>0>>0|f-e>>>0>>0){break D}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)<=0){break D}}o[d+28|0]=0;q[d+12>>2]=c;q[d+8>>2]=e;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+24|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;c=Sa(4744);I:{if(!c){q[d+36>>2]=-1;break I}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=c;Na(c,0,4104)}o[d+48|0]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;J:{if(hu(d+8|0,b)){f=b;b=q[b+16>>2];c=b?b+e|0:271312;q[f+20>>2]=c;b=0;if((c|0)==271312){break J}if(jf(c,i)){break J}}nc(a);b=1}La(q[d+44>>2]);break C}nc(a);b=1}La(q[d+92>>2]);if(b){break a}g=g+1|0;if(g>>>0>2]){continue}break}break a}if(q[a+144>>2]!=-1){break a}}K:{if(!q[a+204>>2]){b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break K}b=q[a+208>>2]}c=q[a+176>>2]+k|0;L:{g=q[a+180>>2];e=g+1|0;M:{if(e>>>0<=1){if(e-1){break M}break L}if(t[a+8>>2]>c>>>0){break M}e=q[a+12>>2];if(e>>>0>>0|e-c>>>0>>0){break M}e=q[a+16>>2];q[a+16>>2]=e+ -1;if((e|0)>0){break L}}nc(a);break a}q[d+80>>2]=0;q[d+84>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;o[d+72|0]=0;o[d+76|0]=0;q[d+60>>2]=g;q[d+56>>2]=c;q[d+64>>2]=0;q[d+68>>2]=0;g=Sa(4744);N:{if(!g){q[d+84>>2]=-1;break N}q[d+84>>2]=593;q[d+88>>2]=513;q[d+92>>2]=g;Na(g,0,4104)}o[d+96|0]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;O:{if(hu(d+56|0,b)){e=b;b=q[b+16>>2];b=b?b+c|0:271312;q[e+20>>2]=b;if((b|0)==271312){break O}if(jf(b,i)){break O}}nc(a)}La(q[d+92>>2]);break a}nc(a)}Da=d+112|0}function OF(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;q[d>>2]=0;a:{b:{c:{d:{if(b){g=f;h=q[b+20>>2];e:{if(h){i=85;if(n[h](b,0,0,0)){break e}}q[b+8>>2]=0;q[f>>2]=0;q[d>>2]=0;i=kd(b,333319,e)}q[g>>2]=i;q[d+4>>2]=0;g=q[b+20>>2];if(!g){break d}if(!n[g](b,0,0,0)){break d}q[f+4>>2]=85;break c}q[d>>2]=0;q[f>>2]=81;q[d+4>>2]=0;q[f+4>>2]=81;q[d+8>>2]=0;q[f+8>>2]=0;j=q[a>>2];i=Tc(j,c,4305);if(!i){h=64;break a}g=q[a>>2];b=n[q[g+4>>2]](g,40)|0;if(!b){h=64;break b}o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;q[b+28>>2]=g;h=Vd(b,i);q[b+16>>2]=i;if(h){n[q[g+8>>2]](g,b);break b}q[b+28>>2]=g;h=kd(b,333319,e+8|0);g=q[b+28>>2];k=q[b+24>>2];if(k){n[k](b)}n[q[g+8>>2]](g,b);if(h){break b}q[d+8>>2]=i;h=0;break a}q[b+8>>2]=0;q[f+4>>2]=0;q[d+4>>2]=0;m=f,p=kd(b,333312,e+4|0),q[m+4>>2]=p}q[d+8>>2]=0;f:{g:{g=q[b+20>>2];if(!g){break g}if(!n[g](b,0,0,0)){break g}q[f+8>>2]=85;break f}q[b+8>>2]=0;q[f+8>>2]=0;k=q[a>>2];j=Tc(k,c,4305);h:{if(!j){i=64;break h}i:{h=q[a>>2];g=n[q[h+4>>2]](h,40)|0;if(!g){i=64;break i}o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g|0]=0;o[g+1|0]=0;o[g+2|0]=0;o[g+3|0]=0;o[g+4|0]=0;o[g+5|0]=0;o[g+6|0]=0;o[g+7|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+8|0]=0;o[g+9|0]=0;o[g+10|0]=0;o[g+11|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;q[g+28>>2]=h;i=Vd(g,j);q[g+16>>2]=j;if(i){n[q[h+8>>2]](h,g);break i}q[g+28>>2]=h;i=kd(g,333319,e+8|0);h=q[g+28>>2];l=q[g+24>>2];if(l){n[l](g)}n[q[h+8>>2]](h,g);if(i){break i}q[d+8>>2]=j;i=0;break h}n[q[k+8>>2]](k,j)}q[f+8>>2]=i}q[d+12>>2]=0;j:{k:{g=q[b+20>>2];if(!g){break k}if(!n[g](b,0,0,0)){break k}q[f+12>>2]=85;break j}q[b+8>>2]=0;q[f+12>>2]=0;i=Wa(c);j=i+18|0;g=f;l:{m:{if((i|0)<=-18){k=6;if(j){break l}h=0;break m}h=q[a>>2];h=n[q[h+4>>2]](h,j)|0;k=64;if(!h){break l}Na(h,0,j)}k=Qa(h,c,i);i=k+i|0;h=r[4324]|r[4325]<<8;o[i+16|0]=h;o[i+17|0]=h>>>8;h=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);j=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[i+8|0]=j;o[i+9|0]=j>>>8;o[i+10|0]=j>>>16;o[i+11|0]=j>>>24;o[i+12|0]=h;o[i+13|0]=h>>>8;o[i+14|0]=h>>>16;o[i+15|0]=h>>>24;h=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);j=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[i|0]=j;o[i+1|0]=j>>>8;o[i+2|0]=j>>>16;o[i+3|0]=j>>>24;o[i+4|0]=h;o[i+5|0]=h>>>8;o[i+6|0]=h>>>16;o[i+7|0]=h>>>24;q[d+12>>2]=k;q[e+12>>2]=0;k=0}q[g+12>>2]=k}q[d+16>>2]=0;n:{o:{g=q[b+20>>2];if(!g){break o}if(!n[g](b,0,0,0)){break o}q[f+16>>2]=85;break n}q[b+8>>2]=0;q[f+16>>2]=0;i=6;g=Wa(c);j=g+6|0;p:{q:{if((g|0)<=-6){if(j){break p}h=0;break q}i=q[a>>2];h=n[q[i+4>>2]](i,j)|0;if(!h){i=64;break p}Na(h,0,j)}i=0;j=Qa(h,c,g);g=j+g|0;h=r[4330]|r[4331]<<8;o[g+4|0]=h;o[g+5|0]=h>>>8;h=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[g|0]=h;o[g+1|0]=h>>>8;o[g+2|0]=h>>>16;o[g+3|0]=h>>>24;q[d+16>>2]=j;q[e+16>>2]=0}q[f+16>>2]=i}q[d+20>>2]=0;r:{s:{g=q[b+20>>2];if(!g){break s}if(!n[g](b,0,0,0)){break s}q[f+20>>2]=85;break r}q[b+8>>2]=0;q[f+20>>2]=0;g=f;h=Tc(q[a>>2],c,4332);i=64;t:{if(!h){break t}q[d+20>>2]=h;q[e+20>>2]=0;i=0}q[g+20>>2]=i}q[d+24>>2]=0;u:{v:{g=q[b+20>>2];if(!g){break v}if(!n[g](b,0,0,0)){break v}q[f+24>>2]=85;break u}q[b+8>>2]=0;q[f+24>>2]=0;g=f;h=Tc(q[a>>2],c,4346);i=64;w:{if(!h){break w}q[d+24>>2]=h;q[e+24>>2]=0;i=0}q[g+24>>2]=i}q[d+28>>2]=0;x:{y:{g=q[b+20>>2];if(!g){break y}if(!n[g](b,0,0,0)){break y}q[f+28>>2]=85;break x}q[b+8>>2]=0;q[f+28>>2]=0;k=q[a>>2];j=Tc(k,c,4357);z:{if(!j){i=64;break z}A:{h=q[a>>2];g=n[q[h+4>>2]](h,40)|0;if(!g){i=64;break A}o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g|0]=0;o[g+1|0]=0;o[g+2|0]=0;o[g+3|0]=0;o[g+4|0]=0;o[g+5|0]=0;o[g+6|0]=0;o[g+7|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+8|0]=0;o[g+9|0]=0;o[g+10|0]=0;o[g+11|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;q[g+28>>2]=h;i=Vd(g,j);q[g+16>>2]=j;if(i){n[q[h+8>>2]](h,g);break A}q[g+28>>2]=h;i=kd(g,333319,e+28|0);h=q[g+28>>2];l=q[g+24>>2];if(l){n[l](g)}n[q[h+8>>2]](h,g);if(i){break A}q[d+28>>2]=j;i=0;break z}n[q[k+8>>2]](k,j)}q[f+28>>2]=i}q[d+32>>2]=0;B:{g=q[b+20>>2];if(!g){break B}if(!n[g](b,0,0,0)){break B}q[f+32>>2]=85;return}q[b+8>>2]=0;q[f+32>>2]=0;g=q[a>>2];c=Tc(g,c,4359);if(!c){q[f+32>>2]=64;return}C:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){i=64;break C}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;i=Vd(a,c);q[a+16>>2]=c;if(i){n[q[b+8>>2]](b,a);break C}q[a+28>>2]=b;i=kd(a,333319,e+32|0);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(i){break C}q[d+32>>2]=c;q[f+32>>2]=0;return}n[q[g+8>>2]](g,c);q[f+32>>2]=i;return}n[q[j+8>>2]](j,i)}q[f+8>>2]=h;h=0;q[d+12>>2]=0;q[f+12>>2]=0;b=Wa(c);g=b+18|0;D:{E:{if((b|0)<=-18){i=6;if(!g){break E}break D}i=q[a>>2];h=n[q[i+4>>2]](i,g)|0;if(!h){i=64;break D}Na(h,0,g)}i=0;j=Qa(h,c,b);b=j+b|0;g=r[4324]|r[4325]<<8;o[b+16|0]=g;o[b+17|0]=g>>>8;g=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);h=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[b+8|0]=h;o[b+9|0]=h>>>8;o[b+10|0]=h>>>16;o[b+11|0]=h>>>24;o[b+12|0]=g;o[b+13|0]=g>>>8;o[b+14|0]=g>>>16;o[b+15|0]=g>>>24;g=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);h=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=g;o[b+5|0]=g>>>8;o[b+6|0]=g>>>16;o[b+7|0]=g>>>24;q[d+12>>2]=j;q[e+12>>2]=0}q[f+12>>2]=i;i=0;q[d+16>>2]=0;q[f+16>>2]=0;h=6;b=Wa(c);g=b+6|0;F:{G:{if((b|0)<=-6){if(!g){break G}break F}i=q[a>>2];i=n[q[i+4>>2]](i,g)|0;if(!i){h=64;break F}Na(i,0,g)}h=0;i=Qa(i,c,b);b=i+b|0;g=r[4330]|r[4331]<<8;o[b+4|0]=g;o[b+5|0]=g>>>8;g=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[b|0]=g;o[b+1|0]=g>>>8;o[b+2|0]=g>>>16;o[b+3|0]=g>>>24;q[d+16>>2]=i;q[e+16>>2]=0}q[f+16>>2]=h;q[d+20>>2]=0;q[f+20>>2]=0;b=f;g=Tc(q[a>>2],c,4332);if(g){q[d+20>>2]=g;q[e+20>>2]=0;g=0}else{g=64}q[b+20>>2]=g;q[d+24>>2]=0;q[f+24>>2]=0;b=f;g=Tc(q[a>>2],c,4346);if(g){q[d+24>>2]=g;q[e+24>>2]=0;g=0}else{g=64}q[b+24>>2]=g;q[d+28>>2]=0;q[f+28>>2]=0;h=64;j=q[a>>2];i=Tc(j,c,4357);H:{if(!i){break H}I:{g=q[a>>2];b=n[q[g+4>>2]](g,40)|0;if(!b){break I}o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;o[b+29|0]=0;o[b+30|0]=0;o[b+31|0]=0;o[b|0]=0;o[b+1|0]=0;o[b+2|0]=0;o[b+3|0]=0;o[b+4|0]=0;o[b+5|0]=0;o[b+6|0]=0;o[b+7|0]=0;o[b+32|0]=0;o[b+33|0]=0;o[b+34|0]=0;o[b+35|0]=0;o[b+36|0]=0;o[b+37|0]=0;o[b+38|0]=0;o[b+39|0]=0;o[b+16|0]=0;o[b+17|0]=0;o[b+18|0]=0;o[b+19|0]=0;o[b+20|0]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+8|0]=0;o[b+9|0]=0;o[b+10|0]=0;o[b+11|0]=0;o[b+12|0]=0;o[b+13|0]=0;o[b+14|0]=0;o[b+15|0]=0;q[b+28>>2]=g;h=Vd(b,i);q[b+16>>2]=i;if(h){n[q[g+8>>2]](g,b);break I}q[b+28>>2]=g;h=kd(b,333319,e+28|0);g=q[b+28>>2];k=q[b+24>>2];if(k){n[k](b)}n[q[g+8>>2]](g,b);if(h){break I}q[d+28>>2]=i;h=0;break H}n[q[j+8>>2]](j,i)}q[f+28>>2]=h;q[d+32>>2]=0;q[f+32>>2]=0;J:{b=f;h=q[a>>2];g=Tc(h,c,4359);if(g){c=q[a>>2];a=n[q[c+4>>2]](c,40)|0;if(!a){i=64;break J}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=c;i=Vd(a,g);q[a+16>>2]=g;if(i){n[q[c+8>>2]](c,a);break J}q[a+28>>2]=c;i=kd(a,333319,e+32|0);c=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[c+8>>2]](c,a);if(i){break J}q[d+32>>2]=g;a=0}else{a=64}q[b+32>>2]=a;return}n[q[h+8>>2]](h,g);q[f+32>>2]=i}function dX(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,p=0,s=0;f=Da-96|0;Da=f;e=11;a:{b:{if(q[a+24>>2]==11){j=q[a+32>>2];k=r[a+176|0];i=k;while(1){if(e>>>0<=h>>>0){o[a+20|0]=1}c:{if(j>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(h<<5)|0}d:{if(!i){break d}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break d}l=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}d=h|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}e:{if(j>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+36>>2]+(d<<5)|0}f:{if(!i){break f}l=q[d+20>>2];if(!l|(l|0)!=q[a+168>>2]){break f}m=q[d+24>>2];s=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[m+(e<<3)>>3]*+u[(e<<2)+s>>2];e=e+1|0;if((l|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break f}q[d+20>>2]=0}n=n+v[d>>3];p=p+v[c>>3];if(h>>>0>7){break b}h=h+2|0;e=q[a+24>>2];continue}}o[a+40|0]=1;break a}c=q[a+140>>2];q[f+88>>2]=q[a+136>>2];q[f+92>>2]=c;c=q[a+132>>2];q[f+80>>2]=q[a+128>>2];q[f+84>>2]=c;if(!q[a+24>>2]){o[a+20|0]=1}g:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break g}c=q[a+36>>2]}h:{if(!k){break h}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break h}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break h}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}i:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+36>>2]+32|0}j:{if(!k){break j}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break j}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break j}q[d+20>>2]=0}v[f+80>>3]=v[f+80>>3]+v[c>>3];v[f+88>>3]=v[f+88>>3]+v[d>>3];c=q[f+92>>2];q[f+72>>2]=q[f+88>>2];q[f+76>>2]=c;c=q[f+84>>2];q[f+64>>2]=q[f+80>>2];q[f+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}k:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break k}c=q[a+36>>2]- -64|0}l:{if(!k){break l}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break l}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break l}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}m:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[a+36>>2]+96|0}n:{if(!k){break n}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break n}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break n}q[d+20>>2]=0}v[f+64>>3]=v[f+64>>3]+v[c>>3];v[f+72>>3]=v[f+72>>3]+v[d>>3];c=q[f+76>>2];q[f+56>>2]=q[f+72>>2];q[f+60>>2]=c;c=q[f+68>>2];q[f+48>>2]=q[f+64>>2];q[f+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}o:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break o}c=q[a+36>>2]+128|0}p:{if(!k){break p}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break p}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break p}q[c+20>>2]=0}if(t[a+24>>2]<=5){o[a+20|0]=1}q:{if(j>>>0<=5){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break q}d=q[a+36>>2]+160|0}r:{if(!k){break r}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break r}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break r}q[d+20>>2]=0}v[f+48>>3]=v[f+48>>3]+v[c>>3];v[f+56>>3]=v[f+56>>3]+v[d>>3];c=q[f+60>>2];q[f+40>>2]=q[f+56>>2];q[f+44>>2]=c;c=q[f+52>>2];q[f+32>>2]=q[f+48>>2];q[f+36>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}s:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break s}c=q[a+36>>2]+192|0}t:{if(!k){break t}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break t}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break t}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}u:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break u}d=q[a+36>>2]+224|0}v:{if(!k){break v}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break v}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break v}q[d+20>>2]=0}v[f+32>>3]=v[f+32>>3]+v[c>>3];v[f+40>>3]=v[f+40>>3]+v[d>>3];c=q[f+44>>2];q[f+24>>2]=q[f+40>>2];q[f+28>>2]=c;c=q[f+36>>2];q[f+16>>2]=q[f+32>>2];q[f+20>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}w:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break w}c=q[a+36>>2]+256|0}x:{if(!k){break x}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break x}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break x}q[c+20>>2]=0}if(t[a+24>>2]<=9){o[a+20|0]=1}y:{if(j>>>0<=9){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break y}d=q[a+36>>2]+288|0}z:{if(!k){break z}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break z}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[i+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break z}q[d+20>>2]=0}v[f+16>>3]=v[f+16>>3]+v[c>>3];v[f+24>>3]=v[f+24>>3]+v[d>>3];c=q[f+28>>2];q[f+8>>2]=q[f+24>>2];q[f+12>>2]=c;c=q[f+20>>2];q[f>>2]=q[f+16>>2];q[f+4>>2]=c;A:{if(y(p)>y(n)){if(t[a+24>>2]<=10){o[a+20|0]=1}B:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break B}c=q[a+36>>2]+320|0}C:{if(!k){break C}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break C}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break C}q[c+20>>2]=0}v[f>>3]=v[f>>3]+v[c>>3];c=q[a+140>>2];q[f+8>>2]=q[a+136>>2];q[f+12>>2]=c;break A}c=q[a+132>>2];q[f>>2]=q[a+128>>2];q[f+4>>2]=c;if(t[a+24>>2]<=10){o[a+20|0]=1}D:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break D}c=q[a+36>>2]+320|0}E:{if(!k){break E}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break E}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break E}q[c+20>>2]=0}v[f+8>>3]=v[f+8>>3]+v[c>>3]}pb(a,b,f+80|0,f- -64|0,f+48|0);pb(a,b,f+32|0,f+16|0,f)}Da=f+96|0}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,m=0,n=0,u=0;f=q[a+4>>2];k=q[a+52>>2];n=2;a:{if(t[a+20>>2]<28){break a}ej(a+8|0);b=q[a>>2]+ -7|0;if(b>>>0>3){return-31}b:{c:{switch(b-1|0){default:b=0;break b;case 0:b=1;break b;case 1:b=2;break b;case 2:break c}}b=3}while(1){d:{e:{f:{g:{h:{i:{switch(b|0){case 0:j:{k:{h=q[a+20>>2];if(h>>>0<28){break k}g=q[a+196>>2];if(g){break j}while(1){rA(a);h=q[a+20>>2];if(h>>>0<28){break k}g=q[a+196>>2];if(!g){continue}break}break j}q[a>>2]=7;break a}f=q[a+8>>2];e=q[a+104>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;c=f>>>16|0;q[a+8>>2]=c;d=q[a+16>>2];f=r[d|0]|r[d+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=d+2;f=c|f<<16;q[a+8>>2]=f}c=a;j=f>>>b|0;d=e+((j&255)<<2)|0;e=r[d|0];if(e>>>0>=9){b=b+8|0;q[a+12>>2]=b;d=(s[d+2>>1]+(q[(e<<2)+153520>>2]&j>>>8)<<2)+d|0;e=r[d|0]}e=(e&255)+b|0;q[c+12>>2]=e;c=s[d+2>>1]<<3;b=r[c+155747|0];q[a+180>>2]=b;q[a+268>>2]=o[c+155746|0];o[a+260|0]=r[b+q[a+116>>2]|0];j=c+155748|0;d=c+155750|0;u=r[c+155745|0];m=0;l=r[c+155744|0];l:{if(!l){b=e;break l}if(l>>>0<=16){if(e>>>0>=16){e=e^16;q[a+12>>2]=e;f=f>>>16|0;q[a+8>>2]=f;c=q[a+16>>2];b=r[c|0]|r[c+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=c+2;f=f|b<<16;q[a+8>>2]=f}b=e+l|0;q[a+12>>2]=b;m=q[(l<<2)+153552>>2]&f>>>e;break l}m:{n:{if(e>>>0<=15){m=e+16|0;q[a+12>>2]=m;e=f>>>e&65535;b=q[a+16>>2];break n}i=e^16;q[a+12>>2]=i;c=f>>>16|0;q[a+8>>2]=c;b=q[a+16>>2];f=r[b|0]|r[b+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;b=b+2|0;q[a+16>>2]=b;m=i+16|0;q[a+12>>2]=m;f=c|f<<16;q[a+8>>2]=f;e=f>>>i&65535;if(i>>>0>4294967279){break m}}m=m^16;q[a+12>>2]=m;c=f>>>16|0;q[a+8>>2]=c;f=r[b|0]|r[b+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;q[a+16>>2]=b+2;f=c|f<<16;q[a+8>>2]=f}c=l+ -16|0;b=c+m|0;q[a+12>>2]=b;m=(q[(c<<2)+153552>>2]&f>>>m)<<16|e}j=s[j>>1];d=s[d>>1];o:{if(u>>>0<=16){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;c=f>>>16|0;q[a+8>>2]=c;e=q[a+16>>2];f=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=h+ -2;q[a+16>>2]=e+2;f=c|f<<16;q[a+8>>2]=f}q[a+12>>2]=b+u;b=q[(u<<2)+153552>>2]&f>>>b;break o}p:{q:{if(b>>>0<=15){e=b+16|0;q[a+12>>2]=e;i=f>>>b&65535;b=q[a+16>>2];break q}l=b^16;q[a+12>>2]=l;c=f>>>16|0;q[a+8>>2]=c;b=q[a+16>>2];f=r[b|0]|r[b+1|0]<<8;h=h+ -2|0;q[a+20>>2]=h;b=b+2|0;q[a+16>>2]=b;e=l+16|0;q[a+12>>2]=e;f=c|f<<16;q[a+8>>2]=f;i=f>>>l&65535;if(l>>>0>4294967279){break p}}e=e^16;q[a+12>>2]=e;c=f>>>16|0;q[a+8>>2]=c;f=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=h+ -2;q[a+16>>2]=b+2;f=c|f<<16;q[a+8>>2]=f}b=u+ -16|0;q[a+12>>2]=b+e;b=(q[(b<<2)+153552>>2]&f>>>e)<<16|i}q[a+196>>2]=g+ -1;q[a+264>>2]=b+d;f=j+m|0;if(!f){break h}q[a+184>>2]=q[a+184>>2]-f;b=1;continue;case 2:break f;case 1:break i;default:break g}}d=q[a+176>>2];while(1){r:{s:{t:{if(d){break t}b=q[a+96>>2];g=q[a+68>>2];d=r[b+(g&k+ -2)|0];g=r[b+(g&k+ -1)|0];while(1){if(t[a+20>>2]<=27){q[a>>2]=8;break a}if(!q[a+192>>2]){Dn(a);if(q[a+176>>2]){break t}}b=q[a+108>>2];i=q[q[a+120>>2]+(r[q[a+112>>2]+(r[(b+(d&255)|0)+256|0]|r[b+(g&255)|0])|0]<<2)>>2];e=q[a+8>>2];d=q[a+12>>2];if(d>>>0>=16){d=d^16;q[a+12>>2]=d;c=e>>>16|0;q[a+8>>2]=c;e=q[a+16>>2];b=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;e=c|b<<16;q[a+8>>2]=e}b=a;j=e>>>d|0;e=i+((j&255)<<2)|0;c=r[e|0];if(c>>>0>=9){d=d+8|0;q[a+12>>2]=d;e=(s[e+2>>1]+(q[(c<<2)+153520>>2]&j>>>8)<<2)+e|0;c=r[e|0]}q[b+12>>2]=(c&255)+d;b=s[e+2>>1];o[q[a+96>>2]+k|0]=b;q[a+192>>2]=q[a+192>>2]+ -1;k=k+1|0;if((k|0)==q[a+64>>2]){q[a>>2]=13;f=f+ -1|0;n=1;break a}d=g;g=b;f=f+ -1|0;if(f){continue}break}break s}d=q[a+8>>2];c=q[a+256>>2];e=q[a+12>>2];if(e>>>0>=16){e=e^16;q[a+12>>2]=e;g=d>>>16|0;q[a+8>>2]=g;d=q[a+16>>2];b=r[d|0]|r[d+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=d+2;d=g|b<<16;q[a+8>>2]=d}b=c+((d>>>e&255)<<2)|0;d=s[b+2>>1];e=r[b|0];while(1){if(t[a+20>>2]<=27){q[a>>2]=8;break a}u:{if(q[a+192>>2]){g=q[a+12>>2];i=q[a+256>>2];break u}Dn(a);d=q[a+8>>2];i=q[a+256>>2];g=q[a+12>>2];if(g>>>0>=16){g=g^16;q[a+12>>2]=g;c=d>>>16|0;q[a+8>>2]=c;e=q[a+16>>2];b=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=c|b<<16;q[a+8>>2]=d}if(!q[a+176>>2]){break r}b=((d>>>g&255)<<2)+i|0;d=s[b+2>>1];e=r[b|0]}m=d&65535;d=e&255;v:{if(d>>>0>=9){e=q[a+8>>2];if(g>>>0>=16){g=g^16;q[a+12>>2]=g;c=e>>>16|0;q[a+8>>2]=c;e=q[a+16>>2];b=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;e=c|b<<16;q[a+8>>2]=e}b=e>>>g|0;b=((((b&255)<<2)+i|0)+(m<<2)|0)+((q[(d<<2)+153520>>2]&b>>>8)<<2)|0;d=(r[b|0]+g|0)+8|0;q[a+12>>2]=d;m=s[b+2>>1];break v}d=d+g|0;q[a+12>>2]=d;e=q[a+8>>2]}if(d>>>0>=16){d=d^16;q[a+12>>2]=d;g=e>>>16|0;q[a+8>>2]=g;c=q[a+16>>2];b=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;e=g|b<<16;q[a+8>>2]=e}b=((e>>>d&255)<<2)+i|0;d=s[b+2>>1];e=r[b|0];o[q[a+96>>2]+k|0]=m;q[a+192>>2]=q[a+192>>2]+ -1;k=k+1|0;if((k|0)==q[a+64>>2]){q[a>>2]=13;f=f+ -1|0;n=1;break a}f=f+ -1|0;if(f){continue}break}}f=0;if(q[a+184>>2]>0){break h}q[a>>2]=14;n=1;break a}d=0;continue}}b=2;continue}d=q[a+64>>2]-k|0;w:{x:{while(1){b=f+ -1|0;if((f|0)<1){break x}f=q[a+96>>2];o[f+k|0]=r[f+(q[a+68>>2]&k-q[a+268>>2])|0];k=k+1|0;f=b;d=d+ -1|0;if(d){continue}break}q[a>>2]=16;break w}if(q[a+184>>2]>0){f=b;break e}q[a>>2]=14}n=1;f=b;break a}b=q[a+268>>2];y:{if((b|0)>=0){h=!b;q[a+180>>2]=h;b=q[a+72>>2]+ -1|0;q[a+72>>2]=b;b=q[(((b&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;break y}if(!q[a+200>>2]){qA(a)}b=q[a+8>>2];i=q[q[a+152>>2]+(r[a+260|0]<<2)>>2];f=q[a+12>>2];if(f>>>0>=16){f=f^16;q[a+12>>2]=f;g=b>>>16|0;q[a+8>>2]=g;c=q[a+16>>2];b=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;b=g|b<<16;q[a+8>>2]=b}g=a;j=b>>>f|0;e=j&255;d=i+(e<<2)|0;c=r[d|0];if(c>>>0>=9){f=f+8|0;q[a+12>>2]=f;d=(s[(i+(e<<2)|0)+2>>1]+(q[(c<<2)+153520>>2]&j>>>8)<<2)+d|0;c=r[d|0]}h=(c&255)+f|0;q[g+12>>2]=h;l=s[d+2>>1];q[a+180>>2]=0;q[a+200>>2]=q[a+200>>2]+ -1;f=a;z:{if(l>>>0<=15){q[a+268>>2]=l;if(l>>>0<=3){h=1>>>l|0;q[a+180>>2]=h;f=q[a+72>>2];b=q[(((f+(l^-1)&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;q[a+72>>2]=f-h;break y}b=l>>>0<10;b=((6312258>>>(l+(b?-4:-10)<<2)&15)+q[(((q[a+72>>2]+(b?3:2)&3)<<2)+a|0)+76>>2]|0)+ -3|0;b=(b|0)<1?2147483647:b;break z}j=r[l+(a+624|0)|0];A:{if(j>>>0<=16){if(h>>>0>=16){h=h^16;q[a+12>>2]=h;g=b>>>16|0;q[a+8>>2]=g;c=q[a+16>>2];b=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;b=g|b<<16;q[a+8>>2]=b}q[a+12>>2]=h+j;b=q[(j<<2)+153552>>2]&b>>>h;break A}B:{C:{if(h>>>0<=15){e=h+16|0;q[a+12>>2]=e;g=b>>>h&65535;i=q[a+20>>2];h=q[a+16>>2];break C}d=h^16;q[a+12>>2]=d;g=b>>>16|0;q[a+8>>2]=g;c=q[a+16>>2];b=r[c|0]|r[c+1|0]<<8;i=q[a+20>>2]+ -2|0;q[a+20>>2]=i;h=c+2|0;q[a+16>>2]=h;e=d+16|0;q[a+12>>2]=e;b=g|b<<16;q[a+8>>2]=b;g=b>>>d&65535;if(d>>>0>4294967279){break B}}e=e^16;q[a+12>>2]=e;c=b>>>16|0;q[a+8>>2]=c;b=r[h|0]|r[h+1|0]<<8;q[a+20>>2]=i+ -2;q[a+16>>2]=h+2;b=c|b<<16;q[a+8>>2]=b}c=j+ -16|0;q[a+12>>2]=c+e;b=(q[(c<<2)+153552>>2]&b>>>e)<<16|g}b=q[((l<<2)+a|0)+1168>>2]+(b<>2])|0}q[f+268>>2]=b;h=0}d=q[a+60>>2];f=q[a+56>>2];if((d|0)!=(f|0)){d=(k|0)<(f|0)?k:f;q[a+60>>2]=d}f=q[a+264>>2];D:{if((b|0)>(d|0)){if((b|0)>2147483644){return-16}if(f+ -4>>>0>20){return-12}g=q[a+584>>2];c=q[(g+(f<<2)|0)+32>>2];j=r[f+g|0];q[a+72>>2]=q[a+72>>2]+h;g=q[g+164>>2];if(!g){return-19}b=(d^-1)+b|0;d=b>>j;e=q[a+588>>2];if((d|0)>=q[e+12>>2]){return-11}g=g+(c+w(b&q[(j<<2)+153552>>2],f)|0)|0;b=q[a+96>>2]+k|0;E:{if((d|0)==p[e+24>>1]){Qa(b,g,f);b=f;break E}b=Jn(b,g,f,e,d)}q[a+184>>2]=q[a+184>>2]-b;k=b+k|0;if((k|0)>2]){b=k;break D}q[a>>2]=15;n=1;break a}e=q[a+96>>2];c=q[a+68>>2];g=q[a+72>>2];q[(((g&3)<<2)+a|0)+76>>2]=b;q[a+72>>2]=g+1;q[a+184>>2]=q[a+184>>2]-f;c=c&k-b;i=c+e|0;g=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);b=r[i+4|0]|r[i+5|0]<<8|(r[i+6|0]<<16|r[i+7|0]<<24);j=e+k|0;d=r[i+12|0]|r[i+13|0]<<8|(r[i+14|0]<<16|r[i+15|0]<<24);e=r[i+8|0]|r[i+9|0]<<8|(r[i+10|0]<<16|r[i+11|0]<<24);o[j+8|0]=e;o[j+9|0]=e>>>8;o[j+10|0]=e>>>16;o[j+11|0]=e>>>24;o[j+12|0]=d;o[j+13|0]=d>>>8;o[j+14|0]=d>>>16;o[j+15|0]=d>>>24;o[j|0]=g;o[j+1|0]=g>>>8;o[j+2|0]=g>>>16;o[j+3|0]=g>>>24;o[j+4|0]=b;o[j+5|0]=b>>>8;o[j+6|0]=b>>>16;o[j+7|0]=b>>>24;b=f+k|0;g=(b|0)>(c|0);c=c+f|0;if((c|0)>(k|0)?g:0){break d}g=q[a+64>>2];if((b|0)>=(g|0)|(c|0)>=(g|0)){break d}if((f|0)<17){break D}c=i+16|0;d=j+16|0;if((f|0)>=33){Qa(d,c,f+ -16|0);break D}g=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);k=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);e=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=k;o[d+5|0]=k>>>8;o[d+6|0]=k>>>16;o[d+7|0]=k>>>24}if(q[a+184>>2]>0){k=b;break e}q[a>>2]=14;n=1;k=b;break a}b=0;continue}b=3;continue}}q[a+4>>2]=f;q[a+52>>2]=k;return n}function pu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,v=x(0),w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=x(0);k=Da-112|0;Da=k;if(f>>>0<=6){q[k+104>>2]=0;q[k+96>>2]=0;q[k+100>>2]=0;g=q[a+20>>2]+ -1|0;a:{if(g>>>0>1){break a}b:{if(!(g-1)){c:{d:{i=q[a>>2];h=q[a+16>>2];j=h+10|0;e:{if(i>>>0>j>>>0){break e}s=i+q[a+4>>2]|0;if(j>>>0>s>>>0){break e}g=s-j|0;if(g>>>0<4){break e}n=r[h+11|0];p=n&1?8:6;h=p+2|0;f:{if(n&8){break f}h=p+4|0;if(n&64){break f}h=n&128?p+8|0:p}if(g>>>0>=h>>>0){break d}}n=k+96|0;break c}l=1;if(n&32){while(1){g:{g=i;m=n&1?8:6;y=m+2|0;h:{if(n&8){break h}h=n&255;y=m+4|0;if(h&64){break h}y=h&128?m+8|0:m}j=y+j|0;if(g>>>0>j>>>0|j>>>0>s>>>0){break g}g=s-j|0;if(g>>>0<4){break g}n=r[j+1|0];p=n&1?8:6;h=p+2|0;i:{if(n&8){break i}h=p+4|0;if(n&64){break i}h=n&128?p+8|0:p}if(g>>>0>>0){break g}l=l+1|0;if(n&32){continue}}break}n=k+96|0;if((l|0)>=1){break c}l=0;break c}n=k+96|0}j=0;g=q[n>>2];if((g|0)<0){break a}if(g>>>0>>0){h=g;while(1){h=((h>>>1|0)+h|0)+8|0;if(h>>>0<=l>>>0){continue}break}j:{if(!(h>>>0>>0|h>>>0>268435454)){g=db(q[n+8>>2],h<<4);if(g){break j}}q[n>>2]=-1;break a}q[n>>2]=h;q[n+8>>2]=g}g=q[n+4>>2];if(l>>>0>g>>>0){Na(q[n+8>>2]+(g<<4)|0,0,l-g<<4)}q[n+4>>2]=l;i=q[k+100>>2];if(!i){i=0;break b}while(1){k:{if(l>>>0<=j>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break k}g=q[n+8>>2]+(j<<4)|0}q[g+4>>2]=0;q[g+8>>2]=0;o[g|0]=0;o[g+12|0]=0;j=j+1|0;if((j|0)==(i|0)){break b}l=q[n+4>>2];continue}}q[k+24>>2]=q[a+16>>2];q[k+36>>2]=q[a+8>>2];g=q[a+4>>2];q[k+28>>2]=q[a>>2];q[k+32>>2]=g;if(!aW(k+24|0,k+96|0,e)){break a}i=q[k+100>>2]}j=0;g=q[k+96>>2];if((g|0)<0){break a}C=q[c+16>>2];h=i+4|0;h=(h|0)>0?h:0;if(g>>>0>>0){i=g;while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=h>>>0){continue}break}l:{if(!(i>>>0>>0|i>>>0>268435454)){g=db(q[k+104>>2],i<<4);if(g){break l}}q[k+96>>2]=-1;break a}q[k+96>>2]=i;q[k+104>>2]=g;i=q[k+100>>2]}if(h>>>0>i>>>0){Na(q[k+104>>2]+(i<<4)|0,0,h-i<<4)}q[k+100>>2]=h;A=q[k+104>>2];D=h+ -4|0;w=A+(D<<4)|0;q[k+80>>2]=w;q[k+88>>2]=0;g=h-D|0;g=g>>>0>h>>>0?0:g;B=g>>>0<4?g:4;q[k+84>>2]=B;m:{n:{o:{p:{q:{r:{s:{if(!B){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;break s}o[w|0]=0;q[w+4>>2]=0;q[w+8>>2]=0;o[w+12|0]=0;if((B|0)!=1){break r}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;break q}o[w+16|0]=0;q[w+20>>2]=0;q[w+24>>2]=0;o[w+28|0]=0;if(B>>>0>2){break p}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;q[160745]=0;q[160746]=0;o[642976]=0;o[642988]=0;j=0;break o}o[w+32|0]=0;q[w+36>>2]=0;q[w+40>>2]=0;o[w+44|0]=0;if((B|0)!=3){break n}j=1}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break m}j=1;g=w+48|0}q[g+4>>2]=0;q[g+8>>2]=0;o[g|0]=0;o[g+12|0]=0;g=q[a+16>>2];g=r[g+2|0]|r[g+3|0]<<8;m=g<<24;p=g<<8&16711680;n=C- -64|0;g=jh(n);h=q[a+12>>2];i=q[g+4>>2];t:{u:{if(h>>>0>>0){g=q[g+12>>2];g=(h|0)<0?271312:q[(g?g:271312)+12>>2]+(h<<2)|0;h=g+3|0;i=g+2|0;break u}if(t[g>>2]<=h>>>0){break t}g=q[g+12>>2];i=(h-i<<1)+((i|0)<0?271312:q[(g?g:271312)+12>>2]+(i<<2)|0)|0;h=i+1|0}z=(r[h|0]|r[i|0]<<8)<<16>>16}l=m|p;g=q[a+16>>2];g=r[g+8|0]|r[g+9|0]<<8;m=g<<24;p=g<<8&16711680;s=C+92|0;g=sg(s);h=q[a+12>>2];i=q[g+4>>2];v:{w:{if(h>>>0>>0){g=q[g+12>>2];g=(h|0)<0?271312:q[(g?g:271312)+12>>2]+(h<<2)|0;i=g+3|0;h=g+2|0;break w}y=0;if(t[g>>2]<=h>>>0){break v}g=q[g+12>>2];h=(h-i<<1)+((i|0)<0?271312:q[(g?g:271312)+12>>2]+(i<<2)|0)|0;i=h+1|0}y=(r[i|0]|r[h|0]<<8)<<16>>16}g=y;m=m|p;p=l>>16;l=jh(n);i=q[l>>2];h=q[a+12>>2];x:{if(i>>>0<=h>>>0){h=0;if(i){break x}h=q[l+8>>2];break x}i=q[l+12>>2];y=q[(i?i:271312)+12>>2];i=q[l+4>>2]+ -1|0;i=i>>>0>>0?i:h;i=(i|0)<0?271312:y+(i<<2)|0;h=r[i|0]<<8|r[i+1|0]}m=m>>16;z=p-z|0;l=sg(s);p=q[l>>2];s=q[a+12>>2];y:{if(p>>>0<=s>>>0){i=0;if(p){break y}i=q[l+8>>2];break y}i=q[l+12>>2];y=q[(i?i:271312)+12>>2];i=q[l+4>>2]+ -1|0;i=i>>>0>>0?i:s;i=(i|0)<0?271312:y+(i<<2)|0;i=r[i|0]<<8|r[i+1|0]}p=g+m|0;v=x(z|0);z:{A:{B:{C:{D:{E:{F:{if(!B){g=q[67829];q[160744]=q[67828];q[160745]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;u[160745]=v;v=x(h+z>>>0);break F}u[(A+(D<<4)|0)+4>>2]=v;v=x(h+z>>>0);if((B|0)!=1){break E}}g=q[67829];q[160744]=q[67828];q[160745]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;u[160745]=v;v=x(p|0);break D}u[w+20>>2]=v;v=x(p|0);if(j){break C}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;u[160746]=v;v=x(p-i|0);break B}u[w+40>>2]=v;v=x(p-i|0);if((B|0)!=3){break A}}g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break z}g=w+48|0}u[g+8>>2]=v;h=pm(C+120|0);i=q[a+12>>2];j=0;q[k+16>>2]=0;q[k+68>>2]=q[k+100>>2];q[k+64>>2]=q[k+104>>2];q[k+72>>2]=0;g=q[k+68>>2];q[k+8>>2]=q[k+64>>2];q[k+12>>2]=g;if(!$V(h,i,c,k+8|0)){break a}g=q[a+20>>2]+ -1|0;if(g>>>0>1){break a}G:{if(g-1){q[k+32>>2]=0;q[k+28>>2]=q[k+100>>2];q[k+24>>2]=q[k+104>>2];km(d,k+24|0);break G}g=q[a>>2];h=q[a+16>>2];i=h+10|0;H:{if(g>>>0>i>>>0){break H}A=g+q[a+4>>2]|0;if(i>>>0>A>>>0){break H}a=A-i|0;if(a>>>0<4){break H}p=r[h+11|0];j=p&1?8:6;h=j+2|0;I:{if(p&8){break I}h=j+4|0;if(p&64){break I}h=p&128?j+8|0:j}if(a>>>0>>0){break H}j=i;while(1){J:{m=r[j+1|0];if(!(m&32)){break J}a=g;p=m&1?8:6;h=p+2|0;K:{if(m&8){break K}h=p+4|0;if(m&64){break K}h=m&128?p+8|0:p}j=h+j|0;if(a>>>0>j>>>0|j>>>0>A>>>0){break J}a=A-j|0;if(a>>>0<4){break J}m=r[j+1|0];p=m&1?8:6;h=p+2|0;L:{if(m&8){break L}h=p+4|0;if(m&64){break L}h=m&128?p+8|0:p}if(a>>>0>=h>>>0){continue}}break}p=f+1|0;n=0;while(1){q[k+56>>2]=0;q[k+48>>2]=0;q[k+52>>2]=0;lm(k+24|0,b,r[i+3|0]|r[i+2|0]<<8);a=pu(k+24|0,b,c,k+48|0,e,p);z=q[k+52>>2];h=0;M:{if(z>>>0<4){break M}h=0;if(!a){break M}if(r[i|0]&2){l=q[k+56>>2];s=q[k+80>>2];h=s;m=q[k+84>>2];if(!m){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;h=642976}j=l+(z+ -4<<4)|0;a=q[j+4>>2];q[h>>2]=q[j>>2];q[h+4>>2]=a;a=q[j+12>>2];q[h+8>>2]=q[j+8>>2];q[h+12>>2]=a;h=z+ -3|0;N:{if(m>>>0<=1){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break N}j=s+16|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a;h=z+ -2|0;O:{if(m>>>0<=2){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break O}j=s+32|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a;h=z+ -1|0;P:{if(m>>>0<=3){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;j=642976;break P}j=s+48|0}h=l+(h<<4)|0;a=q[h+4>>2];q[j>>2]=q[h>>2];q[j+4>>2]=a;a=q[h+12>>2];q[j+8>>2]=q[h+8>>2];q[j+12>>2]=a}_V(i,k+48|0);Q:{if(t[k+100>>2]<=n>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break Q}a=q[k+104>>2]+(n<<4)|0}m=q[k+52>>2];if(m){l=0;h=q[k+56>>2];while(1){v=u[a+8>>2];j=h+(l<<4)|0;u[j+4>>2]=u[a+4>>2]+u[j+4>>2];u[j+8>>2]=v+u[j+8>>2];l=l+1|0;if((m|0)!=(l|0)){continue}break}}a=r[i+1|0];R:{if(a&2){break R}j=r[i+4|0];S:{if(a&1){j=r[i+5|0]|j<<8;a=r[i+7|0]|r[i+6|0]<<8;break S}a=r[i+5|0]}if(j>>>0>=t[d+4>>2]){break R}s=q[k+52>>2];if(a>>>0>=s>>>0){break R}h=q[d+8>>2]+(j<<4)|0;j=q[k+56>>2];a=j+(a<<4)|0;E=x(u[h+8>>2]-u[a+8>>2]);v=x(u[h+4>>2]-u[a+4>>2]);h=s>>>0>1?s:1;l=0;while(1){T:{if(s>>>0<=l>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break T}a=j+(l<<4)|0}u[a+4>>2]=v+u[a+4>>2];u[a+8>>2]=E+u[a+8>>2];l=l+1|0;if((h|0)!=(l|0)){continue}break}}q[k+32>>2]=0;q[k+24>>2]=q[k+56>>2];h=m+ -4|0;a=q[k+52>>2];q[k+28>>2]=a>>>0>h>>>0?h:a;km(d,k+24|0);n=n+1|0;h=1}La(q[k+56>>2]);if(!h){j=0;break a}m=r[i+1|0];if(!(m&32)){break H}a=g;j=m&1?8:6;h=j+2|0;U:{if(m&8){break U}h=j+4|0;if(m&64){break U}h=m&128?j+8|0:j}i=h+i|0;if(a>>>0>i>>>0|i>>>0>A>>>0){break H}a=A-i|0;if(a>>>0<4){break H}m=r[i+1|0];j=m&1?8:6;h=j+2|0;V:{if(m&8){break V}h=j+4|0;if(m&64){break V}h=m&128?j+8|0:j}if(a>>>0>=h>>>0){continue}break}}km(d,k+80|0)}j=1;if(f){break a}W:{if(!q[k+84>>2]){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break W}a=q[k+80>>2]}v=u[a+4>>2];if(v==x(0)){break a}n=q[d+4>>2];if(!n){break a}l=0;while(1){X:{if(n>>>0<=l>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;n=q[d+4>>2];a=642976;break X}a=q[d+8>>2]+(l<<4)|0}u[a+4>>2]=u[a+4>>2]-v;u[a+8>>2]=u[a+8>>2]+x(0);l=l+1|0;if(l>>>0>>0){continue}break}}La(q[k+104>>2])}Da=k+112|0;return j}function $P(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,p=0;e=Da-80|0;Da=e;j=q[a+8>>2];a:{if(!j){c=6;break a}l=q[a>>2];b=q[a+4>>2];b:{if(q[b+12>>2]>1){break b}Fe(b);if(q[b+12>>2]>1){break b}f=q[b+8>>2];c=q[b>>2];c:{while(1){if(c>>>0>=f>>>0){break c}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}d:{switch(d-1|0){case 15:break c;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break d}}break}q[b+12>>2]=2;break b}q[b+12>>2]=3}while(1){e:{q[b+12>>2]=0;d=cf(b);if(d){break e}c=2;if(q[b+12>>2]==2){continue}break a}break}c=2;if((q[b>>2]+(d^-1)|0)!=16){break a}if(Ra(d,290600,16)){break a}c=160;f:{g:while(1){h=q[a+4>>2];h:{if(q[h+12>>2]>1){break h}Fe(h);if(q[h+12>>2]>1){break h}b=q[h+8>>2];d=q[h>>2];i:{while(1){if(d>>>0>=b>>>0){break i}g=d+1|0;q[h>>2]=g;f=r[d|0];d=g;g=f+ -10|0;if(g>>>0>16){continue}j:{switch(g-1|0){case 15:break i;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break j}}break}q[h+12>>2]=2;break h}q[h+12>>2]=3}while(1){k:{q[h+12>>2]=0;f=cf(h);if(f){break k}if(q[h+12>>2]==2){continue}break f}break}d=q[h>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){l:{i=q[(b<<2)+290624>>2];if((g|0)==r[i|0]){if(b>>>0>73){continue g}while(1){if(!Ra(i,f,d)){break l}b=b+1|0;if((b|0)==74){continue g}i=q[(b<<2)+290624>>2];if((g|0)==r[i|0]){continue}break}continue g}b=b+1|0;if((b|0)!=74){continue}continue g}break}if(b>>>0>49){continue}m:{n:{o:{p:{q:{switch(b-1|0){case 39:q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}if(!(q[e+36>>2]&-3)){continue}c=7;break f;case 29:q[e>>2]=4;if((me(a,e,1)|0)!=1){break f}o[j|0]=r[e+4|0];continue;case 25:q[e+24>>2]=2;q[e+16>>2]=2;q[e+8>>2]=2;q[e>>2]=2;if((me(a,e,4)|0)!=4){break f}q[j+4>>2]=q[e+4>>2];q[j+8>>2]=q[e+12>>2];q[j+12>>2]=q[e+20>>2];q[j+16>>2]=q[e+28>>2];continue;default:q[e>>2]=2;if((me(a,e,1)|0)!=1){break f}q[j+20>>2]=q[e+4>>2];continue;case 13:q[e>>2]=2;if((me(a,e,1)|0)!=1){break f}q[j+24>>2]=q[e+4>>2];continue;case 44:q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}d=q[e+36>>2];if((d|0)<=0){break n}while(1){h=q[a+4>>2];r:{if(q[h+12>>2]>1){break r}Fe(h);if(q[h+12>>2]>1){break r}b=q[h+8>>2];c=q[h>>2];s:{while(1){if(c>>>0>=b>>>0){break s}g=c+1|0;q[h>>2]=g;f=r[c|0];c=g;g=f+ -10|0;if(g>>>0>16){continue}t:{switch(g-1|0){case 15:break s;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break t}}break}q[h+12>>2]=2;break r}q[h+12>>2]=3}c=d+ -1|0;while(1){u:{q[h+12>>2]=0;if(cf(h)){break u}if(q[h+12>>2]==2){continue}break m}break}g=(d|0)<2;d=c;if(!g){continue}break}break n;case 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 14:case 15:case 16:case 17:case 18:case 20:case 21:case 22:case 23:case 24:case 26:case 27:case 28:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 45:case 46:case 47:continue;case 19:break p;case 48:break q}}v:while(1){b=q[a+4>>2];w:{if(q[b+12>>2]>1){break w}Fe(b);if(q[b+12>>2]>1){break w}f=q[b+8>>2];c=q[b>>2];x:{while(1){if(c>>>0>=f>>>0){break x}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}y:{switch(d-1|0){case 15:break x;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break y}}break}q[b+12>>2]=2;break w}q[b+12>>2]=3}z:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break z}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){A:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue v}while(1){if(!Ra(d,f,c)){break A}b=b+1|0;if((b|0)==74){continue v}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue v}b=b+1|0;if((b|0)!=74){continue}continue v}break}d=b+ -20|0;if(d>>>0>55){c=160;break f}c=160;B:{switch(d-2|0){case 31:h=q[a+8>>2];q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}c=q[e+36>>2];if((c|0)<0){c=160;break f}q[h+32>>2]=c;if(c){m=h,p=Oa(q[a>>2],20,0,c,0,e+32|0),q[m+28>>2]=p;c=q[e+32>>2];if(c){break f}}i=-1;C:while(1){b=q[a+4>>2];D:{if(q[b+12>>2]>1){break D}Fe(b);if(q[b+12>>2]>1){break D}f=q[b+8>>2];c=q[b>>2];E:{while(1){if(c>>>0>=f>>>0){break E}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}F:{switch(d-1|0){case 15:break E;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break F}}break}q[b+12>>2]=2;break D}q[b+12>>2]=3}G:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break G}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){H:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue C}while(1){if(!Ra(d,f,c)){break H}b=b+1|0;if((b|0)==74){continue C}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue C}b=b+1|0;if((b|0)!=74){continue}continue C}break}c=b+ -20|0;if(c>>>0>36){if((b|0)==75){continue}break o}I:{switch(c-2|0){case 34:i=i+1|0;if((i|0)>=q[h+32>>2]){break o}c=q[h+28>>2];q[e+64>>2]=2;q[e+56>>2]=2;q[e+48>>2]=2;q[e+40>>2]=2;q[e+32>>2]=3;if((me(a,e+32|0,5)|0)!=5){break o}c=c+w(i,20)|0;q[c>>2]=q[e+36>>2];q[c+4>>2]=q[e+44>>2];q[c+8>>2]=q[e+52>>2];q[c+12>>2]=q[e+60>>2];q[c+16>>2]=q[e+68>>2];continue;case 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 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 o;default:break I}}break}q[h+32>>2]=i+1;continue;case 53:continue;case 28:case 29:break B;case 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: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 30: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:break f;default:break p}}k=q[a+8>>2];q[e+32>>2]=3;if((me(a,e+32|0,1)|0)!=1){break f}c=q[e+36>>2];if((c|0)<0){c=160;break f}q[k+40>>2]=c;if(c){m=k,p=Oa(q[a>>2],16,0,c,0,e+32|0),q[m+36>>2]=p;c=q[e+32>>2];if(c){break f}}i=-1;J:{K:while(1){b=q[a+4>>2];L:{if(q[b+12>>2]>1){break L}Fe(b);if(q[b+12>>2]>1){break L}f=q[b+8>>2];c=q[b>>2];M:{while(1){if(c>>>0>=f>>>0){break M}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}N:{switch(d-1|0){case 15:break M;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break N}}break}q[b+12>>2]=2;break L}q[b+12>>2]=3}O:{while(1){q[b+12>>2]=0;f=cf(b);if(f){break O}if(q[b+12>>2]==2){continue}break}c=160;break f}c=q[b>>2]+(f^-1)|0;g=r[f|0];b=0;while(1){P:{d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){if(b>>>0>73){continue K}while(1){if(!Ra(d,f,c)){break P}b=b+1|0;if((b|0)==74){continue K}d=q[(b<<2)+290624>>2];if((g|0)==r[d|0]){continue}break}continue K}b=b+1|0;if((b|0)!=74){continue}continue K}break}if((b|0)==75){continue}c=b+ -20|0;if(c>>>0>17){c=160;break f}c=1<=q[k+40>>2]){break J}c=q[k+36>>2];q[e+56>>2]=3;q[e+48>>2]=3;q[e+40>>2]=5;q[e+32>>2]=5;h=me(a,e+32|0,4);if((h|0)<3){break J}f=c+(i<<4)|0;q[f>>2]=q[e+36>>2];q[f+4>>2]=q[e+44>>2];d=0;c=q[e+52>>2];g=f;if((b|0)!=37){d=c;c=(b|0)==34?(h|0)==4?q[e+60>>2]:0:0}q[g+12>>2]=c;q[f+8>>2]=d;continue}break}c=i+1|0;q[k+40>>2]=c;Gc(q[k+36>>2],c,16,682);continue}break}c=160;break f}c=0;break a}c=160;break f}while(1){b=q[a+4>>2];Q:{if(q[b+12>>2]>1){break Q}Fe(b);if(q[b+12>>2]>1){break Q}f=q[b+8>>2];c=q[b>>2];R:{while(1){if(c>>>0>=f>>>0){break R}d=c+1|0;q[b>>2]=d;g=r[c|0];c=d;d=g+ -10|0;if(d>>>0>16){continue}S:{switch(d-1|0){case 15:break R;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:continue;default:break S}}break}q[b+12>>2]=2;break Q}q[b+12>>2]=3}while(1){T:{q[b+12>>2]=0;h=cf(b);if(h){break T}if(q[b+12>>2]==2){continue}break m}break}g=q[b>>2]+(h^-1)|0;f=r[h|0];b=0;U:{while(1){d=q[(b<<2)+290624>>2];if((f|0)==r[d|0]){c=75;if(b>>>0>73){break U}while(1){if(!Ra(d,h,g)){c=b;break U}b=b+1|0;if((b|0)==74){break U}d=q[(b<<2)+290624>>2];if((f|0)==r[d|0]){continue}break}break U}b=b+1|0;if((b|0)!=74){continue}break}c=75}d=c+ -17|0;if(d>>>0>3){continue}c=0;switch(d-1|0){case 0:case 1:continue;default:continue g}}}break}c=160;break a}a=q[j+28>>2];if(a){n[q[l+8>>2]](l,a)}q[j+28>>2]=0;q[j+32>>2]=0;a=q[j+36>>2];if(a){n[q[l+8>>2]](l,a)}q[j+36>>2]=0;q[j+40>>2]=0;o[j|0]=0}Da=e+80|0;return c|0}function YA(a,b,c,d,e){a=a|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,s=0;g=Da-304|0;Da=g;q[g+28>>2]=0;c=q[e+32>>2];if(c){i=q[c+100>>2]}a:{b:{c:{if(Ra(a,26360,7)){break c}h=r[a+7|0];if(h>>>0>32){break c}d:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break c;default:break d}}if(!c|!q[q[e+36>>2]+8>>2]){break a}d=q[c+100>>2];q[g+48>>2]=0;i=d;d=q[c+88>>2];e=d;b=(h?-8:-7)+b|0;d=b+1|0;e=Oa(i,1,e,e+d|0,q[c+84>>2],g+48|0);q[c+84>>2]=e;f=q[g+48>>2];if(f){break b}m=Qa(e+q[c+88>>2]|0,h?a+8|0:a+7|0,b)+b|0,s=10,o[m|0]=s;q[c+88>>2]=d+q[c+88>>2];f=q[g+48>>2];break b}h=q[e>>2];if(!(h&1)){c=q[e+56>>2];e:{f:{if(Ra(a,26368,9)){break f}a=r[a+9|0];if(a>>>0>32){break f}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break f;default:break e}}f=176;break b}a=0;q[e+32>>2]=0;q[e>>2]=1;b=gb(c,136,g+28|0);f=q[g+28>>2];if(f){break a}q[e+32>>2]=b;q[b+100>>2]=q[e+56>>2];q[e+56>>2]=0;d=b+112|0;f=qq(d,c);q[g+28>>2]=f;if(f){break a}b=26384;while(1){f=di(q[b>>2],a,d,c);q[g+28>>2]=f;if(f){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=gb(c,24,g+28|0);q[q[e+32>>2]+92>>2]=a;f=q[g+28>>2];if(f){break a}f=qq(a,c);q[g+28>>2]=f;if(f){break a}a=q[q[e+36>>2]+12>>2];b=q[e+32>>2];q[b+36>>2]=-1;q[b+28>>2]=a;f=0;break a}g:{h:{if(Ra(a,27712,15)){break h}f=r[a+15|0];if(f>>>0>32){break h}i:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break h;default:break i}}if(!(h&8)){f=179;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}a=0;c=q[q[e+40>>2]+4>>2];j:{if(!c){break j}f=o[c|0];b=f&255;if(!b|!(r[(b>>>3|0)+28864|0]>>>(f&7)&1)){break j}while(1){if(a>>>0>429496727){a=-1;break j}a=r[f+28896|0]+w(a,10)|0;f=o[c+1|0];c=c+1|0;if(r[((f&248)>>>3|0)+28864|0]>>>(f&7)&1){continue}break}}b=q[e+32>>2];q[b+72>>2]=a;q[e+4>>2]=a;if(a>>>0>q[e+60>>2]>>>2>>>0){q[b+72>>2]=0;break g}a=Oa(i,16,0,a,0,g+28|0);b=q[e+32>>2];q[b+80>>2]=a;f=q[g+28>>2];if(f){q[b+72>>2]=0;break a}q[e>>2]=q[e>>2]|16;q[d>>2]=292;f=0;break a}k:{if(Ra(a,27731,15)){break k}f=r[a+15|0];if(f>>>0>32){break k}l:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break k;default:break l}}if(!(h&4)){f=178;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}b=0;i=0;j=q[e+40>>2];f=q[j+4>>2];m:{if(!f){break m}a=o[f|0];d=a&255;if(!d){break m}c=0;if(!(r[(d>>>3|0)+28864|0]>>>(a&7)&1)){break m}while(1){i=65535;if((c&65535)>>>0>6551){break m}d=a+28896|0;a=o[f+1|0];f=f+1|0;c=r[d|0]+w(c,10)|0;i=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}d=q[e+32>>2];p[d+4>>1]=i;f=q[j+8>>2];n:{if(!f){break n}a=o[f|0];h=a&255;if(!h){break n}c=0;if(!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break n}while(1){b=65535;if((c&65535)>>>0>6551){break n}b=a+28896|0;a=o[f+1|0];f=f+1|0;c=r[b|0]+w(c,10)|0;b=c;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}p[d+6>>1]=b;i=0;k=d;c=q[j+12>>2];f=0;o:{if(!c){break o}h=0;a=r[c|0];f=0;if(!a){break o}if((a|0)==45){h=1;a=r[c+1|0];c=c+1|0}f=0;l=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;p:{if(!(l>>>(a&7)&1)){break p}while(1){if(f<<16>>16>3274){f=32767;break p}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}f=h?0-f|0:f}p[k+8>>1]=f;c=q[j+16>>2];q:{if(!c){break q}h=r[c|0];if(!h){break q}if((h|0)==45){i=1;h=r[c+1|0];c=c+1|0}f=0;a=h<<24>>24;r:{if(!(r[((h&248)>>>3|0)+28864|0]>>>(a&7)&1)){break r}while(1){if(f<<16>>16>3274){f=32767;break r}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}i=i?0-f|0:f}f=0;p[d+14>>1]=0-i;p[d+12>>1]=b+i;p[d+10>>1]=i;q[e>>2]=q[e>>2]|8;break a}s:{t:{if(Ra(a,27747,4)){break t}f=r[a+4|0];if(f>>>0>32){break t}u:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break t;default:break u}}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}a=q[e+48>>2];if(a>>>0<=1){if(a-1){break s}q[e+48>>2]=0;break s}d=a+ -1|0;a=0;f=1;while(1){b=q[e+40>>2];q[b+(a<<2)>>2]=q[b+(f<<2)>>2];f=f+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}q[e+48>>2]=d;if(!d){break s}f=0;b=q[q[e+40>>2]>>2];a=b;h=0;while(1){c=r[a|0];if(c){while(1){o[b+f|0]=c;f=f+1|0;c=r[a+1|0];a=a+1|0;if(c){continue}break}d=q[e+48>>2]}h=h+1|0;if(h>>>0>>0){o[b+f|0]=32;f=f+1|0;d=q[e+48>>2]}if(h>>>0>>0){a=q[q[e+40>>2]+(h<<2)>>2];continue}break}if((b|0)!=28849){o[b+f|0]=0;if(!b){break s}}a=q[q[e+32>>2]>>2];if(a){n[q[i+8>>2]](i,a)}q[q[e+32>>2]>>2]=0;c=f+1|0;a=Oa(i,1,0,c,0,g+28|0);q[q[e+32>>2]>>2]=a;f=q[g+28>>2];if(f){break a}Qa(a,b,c);a=q[e+32>>2];if(!a){break g}b=q[a>>2];if(!b|!r[b|0]){break g}c=q[e+36>>2];d=q[a+100>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+44>>2]=d;q[a+28>>2]=q[c+12>>2];c=Wa(b)+1|0;if(c>>>0>255){break g}Qa(g+48|0,b,c);f=vd(g+32|0,29060,g+48|0,c);v:{if(f|q[g+40>>2]!=15){break v}b=o[q[q[g+32>>2]+44>>2]]+ -67|0;if(b>>>0>45){break v}w:{switch(b-1|0){default:q[a+28>>2]=32;break v;case 9:case 41:q[a+28>>2]=16;break v;case 0:case 1:case 2:case 3:case 4: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 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 42:case 43:break v;case 12:case 44:break w}}q[a+28>>2]=8}a=q[g+44>>2];if(a){b=q[g+32>>2];if(b){n[q[a+8>>2]](a,b)}q[g+40>>2]=0;q[g+44>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0}q[g+28>>2]=f;if(f){break a}q[e>>2]=q[e>>2]|2;f=0;break a}x:{if(Ra(a,27752,4)){break x}f=r[a+4|0];if(f>>>0>32){break x}y:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break x;default:break y}}if(!(h&2)){f=177;break b}f=vd(e+40|0,27728,a,b);q[g+28>>2]=f;if(f){break a}c=0;f=0;d=q[e+40>>2];b=q[d+4>>2];z:{if(!b){break z}a=o[b|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break z}while(1){if(f>>>0>429496727){f=-1;break z}f=r[a+28896|0]+w(f,10)|0;a=o[b+1|0];b=b+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=q[e+32>>2];q[b+16>>2]=f;f=q[d+8>>2];A:{if(!f){break A}a=o[f|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break A}while(1){if(c>>>0>429496727){c=-1;break A}c=r[a+28896|0]+w(c,10)|0;a=o[f+1|0];f=f+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[b+20>>2]=c;f=0;c=q[d+12>>2];B:{if(!c){break B}a=o[c|0];h=a&255;if(!h|!(r[(h>>>3|0)+28864|0]>>>(a&7)&1)){break B}while(1){if(f>>>0>429496727){f=-1;break B}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[b+24>>2]=f;C:{if(q[e+48>>2]==5){D:{E:{c=q[d+16>>2];if(!c){break E}i=r[c|0];if(!i){break E}d=0;if((i|0)==45){d=1;i=r[c+1|0];c=c+1|0}f=0;a=i<<24>>24;F:{if(!(r[((i&248)>>>3|0)+28864|0]>>>(a&7)&1)){break F}while(1){if(f<<16>>16>3274){f=32767;break F}f=r[a+28896|0]+w(f,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}c=d?0-f|0:f;a=c&65535;if(a>>>0>=5){p[b+96>>1]=8;break C}if(a>>>0>=3){p[b+96>>1]=4;break C}a=b+96|0;if((c&65535)!=2){break D}p[b+96>>1]=2;break C}a=b+96|0}p[a>>1]=1;break C}p[b+96>>1]=1}q[e>>2]=q[e>>2]|4;f=0;break a}if(Ra(a,27757,5)){break s}a=r[a+5|0];if(a>>>0>32){break s}G:{switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break s;default:break G}}if(!(h&8)){f=179;break b}a=p[c+12>>1];q[c+40>>2]=a;q[g+16>>2]=a;Ph(g+48|0,g+16|0);f=pf(q[e+32>>2],27767,g+48|0);q[g+28>>2]=f;if(f){break a}b=q[e+32>>2];a=p[b+14>>1];q[b+44>>2]=a;q[g>>2]=a;Ph(g+48|0,g);f=pf(q[e+32>>2],27779,g+48|0);q[g+28>>2]=f;if(f){break a}q[d>>2]=293;f=-1;break b}f=3;break b}f=6}q[g+28>>2]=f}Da=g+304|0;return f|0}function sy(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,u=0;i=Da-32|0;Da=i;f=q[a+720>>2];a:{if(f){break a}b:{c:{if(!(!q[a+736>>2]|(r[a+9|0]&128?0:!(s[a+6>>1]&32767)))){u=q[a+548>>2];e=q[a+100>>2];if(!q[a+744>>2]){b=s[a+340>>1];if(!b){f=0;break b}h=b>>>0>1?b:1;d=q[a+356>>2];b=0;g=-1;c=-1;while(1){f=d+w(b,20)|0;d:{if(s[f+6>>1]!=25|!s[f+8>>1]){break d}j=s[f>>1]+ -1|0;if(j>>>0>2){break d}e:{switch(j-1|0){case 1:if(s[f+2>>1]>1){break d}g=(g|0)==-1?b:s[f+4>>1]==1033?b:g;break d;case 0:break d;default:break e}}if(s[f+2>>1]){break d}c=(c|0)==-1?b:s[f+4>>1]?c:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}f:{g:{if((g|0)>-1){break g}h:{if((c|0)>-1){break h}b=0;g=-1;c=-1;while(1){f=d+w(b,20)|0;i:{if(s[f+6>>1]!=16|!s[f+8>>1]){break i}j=s[f>>1]+ -1|0;if(j>>>0>2){break i}j:{switch(j-1|0){case 1:if(s[f+2>>1]>1){break i}g=(g|0)==-1?b:s[f+4>>1]==1033?b:g;break i;case 0:break i;default:break j}}if(s[f+2>>1]){break i}c=(c|0)==-1?b:s[f+4>>1]?c:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}if((g|0)>-1){break g}if((c|0)>-1){break h}b=0;g=-1;c=-1;while(1){f=d+w(b,20)|0;k:{if(s[f+6>>1]!=1|!s[f+8>>1]){break k}j=s[f>>1]+ -1|0;if(j>>>0>2){break k}l:{switch(j-1|0){case 1:if(s[f+2>>1]>1){break k}g=(g|0)==-1?b:s[f+4>>1]==1033?b:g;break k;case 0:break k;default:break l}}if(s[f+2>>1]){break k}c=(c|0)==-1?b:s[f+4>>1]?c:b}b=b+1|0;if((h|0)!=(b|0)){continue}break}if((g|0)>-1){break g}f=0;if((c|0)<0){break b}}if((g|0)!=-1){break g}b=0;break f}b=nn(e,q[a+368>>2],d+w(g,20)|0,322)}m:{if(b|(c|0)==-1){break m}d=q[a+368>>2];g=q[a+100>>2];j=q[a+356>>2];b=0;q[i+24>>2]=0;h=j+w(c,20)|0;f=gb(g,s[h+8>>1]+1|0,i+24|0);if(q[i+24>>2]){break m}b=Xa(d,q[h+12>>2]);q[i+24>>2]=b;n:{if(b){break n}b=lb(d,s[h+8>>1]);q[i+24>>2]=b;if(b){break n}b=f;o:{k=s[h+8>>1];if(k){m=q[d+32>>2];while(1){l=o[m|0];if((l&-33)+ -65>>>0>25?l+ -48>>>0>=10:0){break o}o[b|0]=l;m=m+1|0;b=b+1|0;k=k+ -1|0;if(k){continue}break}}o[b|0]=0;jb(d);b=f;break m}jb(d)}if(f){n[q[g+8>>2]](g,f)}b=0;q[h+12>>2]=0;p[h+8>>1]=0;f=j+w(c,20)|0;c=q[f+16>>2];if(c){n[q[g+8>>2]](g,c)}q[f+16>>2]=0}if(!b){f=0;break b}c=a;f=Wa(b);if(f>>>0>=92){o[b+91|0]=0;f=91}q[c+748>>2]=f;q[a+744>>2]=b}f=0;n[q[u+40>>2]](a,i+16|0,i+12|0,0,i+8|0)|0;p:{q:{r:{b=q[a+4>>2];if(!(b&2147418112)|r[a+9|0]&128){break r}h=(b>>>16&32767)+ -1|0;b=q[q[i+8>>2]+16>>2];d=q[(w(h,12)+b|0)+8>>2];g=q[a+540>>2];q[i+24>>2]=0;c=a;if(!(d+ -256>>>0>32511?(d|0)!=6:0)){n[q[g+144>>2]](a,d&65535,i+24|0)|0;b=q[i+24>>2];if(b){break q}b=q[q[i+8>>2]+16>>2]}n[q[g+144>>2]](c,s[(w(h,12)+b|0)+4>>1],i+4|0)|0;b=q[i+4>>2];if(!b){break r}b=gb(e,(q[a+748>>2]+Wa(b)|0)+2|0,i+20|0);if(q[i+20>>2]){break b}f=tc(b,q[a+744>>2]);b=f+q[a+748>>2]|0;o[b|0]=45;j=b+1|0;c=q[i+4>>2];b=r[c|0];if(b){while(1){d=b<<24>>24;if(!((d&-33)+ -65>>>0>25?d+ -48>>>0>=10:0)){o[j|0]=b;j=j+1|0}b=r[c+1|0];c=c+1|0;if(b){continue}break}}o[j|0]=0;b=q[i+4>>2];if(b){n[q[e+8>>2]](e,b)}e=j+1|0;break p}g=q[q[i+8>>2]+12>>2];b=gb(e,(q[a+748>>2]+w(q[i+16>>2],17)|0)+1|0,i+20|0);if(q[i+20>>2]){break b}f=tc(b,q[a+744>>2]);e=f+q[a+748>>2]|0;if(!q[i+16>>2]){break p}b=q[i+12>>2];h=0;while(1){s:{if(q[b>>2]==q[g+8>>2]){break s}o[e|0]=95;c=q[q[i+12>>2]>>2];t:{if(!c){o[e+1|0]=48;e=e+2|0;break t}if((c|0)>-1){e=e+1|0}else{o[e+1|0]=45;c=0-c|0;e=e+2|0}j=c&65535;b=0;c=c>>>16|0;if(c){while(1){d=(c>>>0)/10|0;o[(i+24|0)+b|0]=c-w(d,10)|48;b=b+1|0;m=c>>>0>9;c=d;if(m){continue}break}while(1){c=b+ -1|0;o[e|0]=r[c+(i+24|0)|0];e=e+1|0;d=(b|0)>1;b=c;if(d){continue}break}}if(!j){break t}o[e|0]=46;b=w(j,10)+5|0;o[e+1|0]=(b>>>16|0)+48;b=w(b&65535,10);o[e+2|0]=b>>>16|48;b=w(b&65534,10);c=b>>>16|48;o[e+3|0]=c;u:{v:{w:{x:{y:{z:{A:{b=b&65532;if(!b){b=e+3|0;break A}b=w(b,10);c=b>>>16|48;o[e+4|0]=c;b=b&65528;if(!b){b=e+4|0;break A}d=w(b,10);j=d>>>16|0;c=j|48;o[e+5|0]=c;b=e+5|0;d=d&65520;if(!d){break A}e=w(d,10);if(e>>>0>=344800){break w}if((c|0)==49){break z}if((e|0)==172320){if(j&1){break x}break w}if(e>>>0>172319){break w}break y}if((b-e|0)!=5){break w}if((c|0)!=49){break y}}o[b|0]=48;break v}if((c|0)==48){break v}}c=c+ -1|0;o[b|0]=c}if((c|0)!=48){break u}}while(1){o[b|0]=0;b=b+ -1|0;if(r[b|0]==48){continue}break}}e=b+1|0}b=q[g+16>>2];c=b>>24;if(!((c|0)==32|((c&-33)+ -65>>>0>25?c+ -48>>>0>=10:0))){o[e|0]=b>>>24;e=e+1|0;b=q[g+16>>2]}c=b>>>16|0;d=c<<24;B:{if((d|0)==536870912){break B}d=d>>24;if((d&-33)+ -65>>>0>25?d+ -48>>>0>=10:0){break B}o[e|0]=c;e=e+1|0;b=q[g+16>>2]}c=b>>>8|0;d=c<<24;C:{if((d|0)==536870912){break C}d=d>>24;if((d&-33)+ -65>>>0>25?d+ -48>>>0>=10:0){break C}o[e|0]=c;e=e+1|0;b=q[g+16>>2]}c=b<<24;if((c|0)==536870912){break s}c=c>>24;if((c&-33)+ -65>>>0>25?c+ -48>>>0>=10:0){break s}o[e|0]=b;e=e+1|0}b=q[i+12>>2]+4|0;q[i+12>>2]=b;g=g+24|0;h=h+1|0;if(h>>>0>2]){continue}break}break p}e=(Wa(b)+b|0)+1|0;f=b}k=e-f|0;if((k|0)<128){break b}c=0-(k>>>4|0)|0;d=(k&-16)+f|0;h=123456789;j=123456789;m=123456789;g=123456789;break c}b=s[a+340>>1];if(!b){f=0;break a}e=b>>>0>1?b:1;c=q[a+356>>2];b=0;g=-1;h=-1;while(1){f=c+w(b,20)|0;D:{if(s[f+6>>1]!=6|!s[f+8>>1]){break D}d=s[f>>1]+ -1|0;if(d>>>0>2){break D}E:{switch(d-1|0){case 1:if(s[f+2>>1]>1){break D}g=(g|0)==-1?b:s[f+4>>1]==1033?b:g;break D;case 0:break D;default:break E}}if(s[f+2>>1]){break D}h=(h|0)==-1?b:s[f+4>>1]?h:b}b=b+1|0;if((e|0)!=(b|0)){continue}break}F:{G:{if((g|0)>-1){break G}f=0;if((h|0)<0){break a}if((g|0)!=-1){break G}f=0;break F}f=nn(q[a+100>>2],q[a+368>>2],c+w(g,20)|0,323)}if(f|(h|0)==-1){break b}d=q[a+368>>2];e=q[a+100>>2];m=q[a+356>>2];f=0;q[i+24>>2]=0;g=m+w(h,20)|0;b=gb(e,s[g+8>>1]+1|0,i+24|0);if(q[i+24>>2]){break b}f=Xa(d,q[g+12>>2]);q[i+24>>2]=f;H:{if(f){break H}f=lb(d,s[g+8>>1]);q[i+24>>2]=f;if(f){break H}f=b;I:{l=s[g+8>>1];if(l){c=q[d+32>>2];while(1){j=o[c|0];if((j|0)<0|!(r[(j>>>3|0)+163696|0]>>>(j&7)&1)){break I}o[f|0]=j;c=c+1|0;f=f+1|0;l=l+ -1|0;if(l){continue}break}}o[f|0]=0;jb(d);f=b;break b}jb(d)}c=e;if(b){n[q[c+8>>2]](c,b)}f=0;q[g+12>>2]=0;p[g+8>>1]=0;b=m+w(h,20)|0;e=q[b+16>>2];if(e){n[q[c+8>>2]](c,e)}q[b+16>>2]=0;break b}while(1){e=c<<4;b=q[e+d>>2];h=_$(w(w(b,597399067)>>>17|w(b,-888307712),-1425107063)^h,19)+j|0;b=q[d+(e|4)>>2];j=w(_$(w(w(b,-1425107063)>>>16|w(b,-1752629248),951274213)^j,17)+m|0,5)+197830471|0;b=c+1|0;u=b>>>0>=c>>>0;c=q[d+(e|8)>>2];l=w(_$(w(w(c,951274213)>>>15|w(c,-1781923840),-1578923117)^m,15)+g|0,5)+ -1764942795|0;m=l;c=q[d+(e|12)>>2];h=w(h,5)+1444728091|0;e=w(_$(w(w(c,-1578923117)>>>14|w(c,776732672),597399067)^g,13)+h|0,5)+850148119|0;g=e;c=b;if(u){continue}break}b=(k&15)+ -1|0;if(b>>>0<=14){c=0;J:{switch(b-1|0){case 13:c=r[d+14|0]<<16;case 12:c=r[d+13|0]<<8|c;case 11:b=r[d+12|0]^c;e=w(w(b,-1578923117)>>>14|w(b,776732672),597399067)^e;case 10:c=r[d+11|0]<<24;case 9:c=r[d+10|0]<<16|c;case 8:c=r[d+9|0]<<8^c;case 7:b=r[d+8|0]^c;l=w(w(b,951274213)>>>15|w(b,-1781923840),-1578923117)^l;case 6:c=r[d+7|0]<<24;case 5:c=r[d+6|0]<<16|c;case 4:c=r[d+5|0]<<8^c;case 3:b=r[d+4|0]^c;j=w(w(b,-1425107063)>>>16|w(b,-1752629248),951274213)^j;case 2:c=r[d+3|0]<<24;case 1:c=r[d+2|0]<<16|c;case 0:c=r[d+1|0]<<8^c;break;default:break J}}b=r[d|0]^c;h=w(w(b,597399067)>>>17|w(b,-888307712),-1425107063)^h}b=q[a+748>>2]+f|0;o[b|0]=45;o[b+33|0]=3026478;o[b+34|0]=11822;o[b+35|0]=46;o[b+36|0]=0;g=j^k;d=k^l;e=e^k;c=(g+(d+e|0)|0)+(h^k)|0;h=w(c>>>16^c,-2048144789);h=w(h>>>13^h,-1028477387);g=c+g|0;g=w(g>>>16^g,-2048144789);g=w(g>>>13^g,-1028477387);g=g>>>16^g;d=c+d|0;d=w(d>>>16^d,-2048144789);d=w(d>>>13^d,-1028477387);d=d>>>16^d;c=c+e|0;c=w(c>>>16^c,-2048144789);c=w(c>>>13^c,-1028477387);e=c>>>16^c;c=(((h>>>16^h)+g|0)+d|0)+e|0;e=c+e|0;o[b+32|0]=r[(e&15)+163680|0];o[b+25|0]=r[(e>>>28|0)+163680|0];d=c+d|0;o[b+24|0]=r[(d&15)+163680|0];o[b+31|0]=r[(e>>>4&15)+163680|0];o[b+30|0]=r[(e>>>8&15)+163680|0];o[b+29|0]=r[(e>>>12&15)+163680|0];o[b+28|0]=r[(e>>>16&15)+163680|0];o[b+27|0]=r[(e>>>20&15)+163680|0];o[b+26|0]=r[(e>>>24&15)+163680|0];o[b+23|0]=r[(d>>>4&15)+163680|0];o[b+22|0]=r[(d>>>8&15)+163680|0];o[b+21|0]=r[(d>>>12&15)+163680|0];o[b+20|0]=r[(d>>>16&15)+163680|0];o[b+19|0]=r[(d>>>20&15)+163680|0];o[b+18|0]=r[(d>>>24&15)+163680|0];e=c+g|0;o[b+16|0]=r[(e&15)+163680|0];o[b+17|0]=r[(d>>>28|0)+163680|0];o[b+15|0]=r[(e>>>4&15)+163680|0];o[b+14|0]=r[(e>>>8&15)+163680|0];o[b+13|0]=r[(e>>>12&15)+163680|0];o[b+12|0]=r[(e>>>16&15)+163680|0];o[b+11|0]=r[(e>>>20&15)+163680|0];o[b+10|0]=r[(e>>>24&15)+163680|0];o[b+9|0]=r[(e>>>28|0)+163680|0];o[b+8|0]=r[(c&15)+163680|0];o[b+7|0]=r[(c>>>4&15)+163680|0];o[b+6|0]=r[(c>>>8&15)+163680|0];o[b+5|0]=r[(c>>>12&15)+163680|0];o[b+4|0]=r[(c>>>16&15)+163680|0];o[b+3|0]=r[(c>>>20&15)+163680|0];o[b+2|0]=r[(c>>>24&15)+163680|0];o[b+1|0]=r[(c>>>28|0)+163680|0]}q[a+720>>2]=f}Da=i+32|0;return f|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,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;g=Da-48|0;Da=g;t=q[b+100>>2];d=Xa(a,0);q[g+36>>2]=d;a:{if(d){break a}q[g+24>>2]=0;q[g+28>>2]=8;q[g+16>>2]=1;q[g+20>>2]=1;q[g+40>>2]=0;i=gb(t,64,g+40|0);b:{c:{d:{d=q[g+40>>2];if(!d){p[i+12>>1]=32767;q[i+36>>2]=g+16;d=q[a+4>>2];q[i+56>>2]=t;q[i+60>>2]=d;q[i+40>>2]=0;q[i+44>>2]=0;q[i+48>>2]=0;q[i+52>>2]=t;x=q[a+28>>2];q[g+44>>2]=0;d=1024;h=Oa(x,1,0,1024,0,g+44|0);if(q[g+44>>2]){break d}q[g>>2]=291;o[h|0]=0;l=256;e=0;y=1;e:while(1){j=d;f:while(1){k=0;d=0;while(1){if(!(k&1)){u=Gj(a,e+h|0,j-e|0);f=u+e|0;e=0}g:{h:{i:{j:{if((f|0)<=(d|0)){break j}z=d+h|0;k=o[z|0];if((l|0)==(k|0)){break g}m=d;while(1){k:{A=k&255;v=A+ -10|0;if(v>>>0>3){break k}switch(v-1|0){case 0:case 1:break k;default:break i}}m=m+1|0;if((m|0)==(f|0)){break j}k=r[h+m|0];continue}}if(!u){break d}if(!d){if(j>>>0<65536){break h}q[g+44>>2]=6;break d}u=f-d|0;sb(h,d+h|0,u);e=u;f=d;continue f}l=h+m|0;o[l|0]=0;l:{m:{v=r[z|0]+ -26|0;if(v>>>0>9){break m}switch(v-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break l}}if((m|0)<=(d|0)){break l}v=m-d|0;d=n[q[g>>2]](z,v,y,g,i)|0;q[g+44>>2]=d;if((d|0)==-1){d=n[q[g>>2]](z,v,y,g,i)|0;q[g+44>>2]=d}if(d){break d}}o[l|0]=k;l=(A|0)==10?13:(A|0)==13?10:256;k=1;d=m+1|0;y=y+1|0;continue}d=j<<1;h=Oa(x,1,j,d,h,g+44|0);e=j;if(!q[g+44>>2]){continue e}break d}k=1;d=d+1|0;l=256;continue}}}}if(!i){break b}break c}if(h){n[q[x+8>>2]](x,h)}a=q[g+44>>2];q[g+40>>2]=a;f=q[i+32>>2];n:{if(a){break n}o:{p:{q:{if(f){if(q[f+28>>2]!=8){p[f+32>>1]=s[f+4>>1]}r:{if(!q[q[i+36>>2]>>2]|!(q[f+52>>2]|q[f+64>>2])){break r}a=p[i+12>>1];d=p[i+16>>1]-a|0;if((d|0)!=s[f+4>>1]){p[f+4>>1]=d}if(s[f+8>>1]!=(a&65535)){p[f+8>>1]=a}a=s[i+18>>1];d=a<<16;if((a|0)!=s[f+12>>1]){p[f+12>>1]=a}a=s[i+20>>1];e=a<<16>>16;if((a|0)!=s[f+14>>1]){p[f+14>>1]=a;p[f+10>>1]=0-a}a=e+(d>>16)|0;if((a|0)==s[f+6>>1]){break r}p[f+6>>1]=a}d=q[i>>2];if(d&1){break q}a=q[f+88>>2];if(!a){break c}a=Oa(q[f+100>>2],1,a,a+1|0,q[f+84>>2],g+40|0);f=q[i+32>>2];q[f+84>>2]=a;if(q[g+40>>2]){break n}o[a+q[f+88>>2]|0]=0;f=q[i+32>>2];break c}d=q[i>>2];if(!(d&1)){break p}}if(d&32){break o}q[g+40>>2]=185;break n}q[g+40>>2]=3;break c}q[g+40>>2]=186}Mn(f);a=q[i+32>>2];if(a){n[q[t+8>>2]](t,a)}f=0;q[i+32>>2]=0}a=q[i+52>>2];if(a){d=q[i+40>>2];if(d){n[q[a+8>>2]](a,d)}q[i+48>>2]=0;q[i+52>>2]=0;q[i+40>>2]=0;q[i+44>>2]=0}a=t;d=q[i+24>>2];if(d){n[q[a+8>>2]](a,d)}q[i+24>>2]=0;if(i){n[q[t+8>>2]](t,i)}d=q[g+40>>2]}q[g+36>>2]=d;s:{t:{u:{v:{w:{if((d&255)!=176){if(d){break a}q[b+140>>2]=f;if(!(!(c&65535)|(c|0)<1)){fj(b);d=6;break a}q[b>>2]=1;q[b+4>>2]=0;q[b+8>>2]=q[b+8>>2]|18;if(!f|!q[f+72>>2]){break t}a=dc(26176,q[f+92>>2]);if(!a){break u}c=q[f+80>>2];if(!c){break u}a=c+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break u}a=q[a+12>>2];if(!a){break u}a=r[a|0];c=a+ -67|0;if(c>>>0<=10){break w}a=a+ -99|0;if(a>>>0>10){break u}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;default:break v}}fj(b);d=2;break a}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break u;default:break v}}q[b+8>>2]=q[b+8>>2]|4}if(!q[f+72>>2]){break t}a=dc(26184,q[f+92>>2]);if(!a){break t}c=q[f+80>>2];if(!c){break t}a=q[(c+(q[a>>2]<<4)|0)+12>>2];if(!a){break t}B=b,C=$c(t,a,g+36|0),q[B+20>>2]=C;d=q[g+36>>2];if(!d){break s}break a}q[b+20>>2]=0}e=0;q[g>>2]=0;q[b+12>>2]=0;h=q[b+100>>2];u=1;d=q[b+140>>2];x:{y:{if(!(!d|!q[d+72>>2])){k=0;m=0;a=dc(28597,q[d+92>>2]);z:{if(!a){break z}c=q[d+80>>2];if(!c){break z}a=c+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break z}c=q[a+12>>2];if(!c){break z}c=r[c|0]+ -73|0;if(c>>>0>38){break z}A:{switch(c-1|0){case 0: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:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:break z;default:break A}}q[b+12>>2]=q[b+12>>2]|1;m=(r[q[a+12>>2]]|32)==111?29168:29176}B:{if(!q[d+72>>2]){c=0;l=0;j=0;i=0;d=0;break B}c=0;a=dc(28783,q[d+92>>2]);j=0;C:{if(!a){break C}e=q[d+80>>2];j=0;if(!e){break C}a=e+(q[a>>2]<<4)|0;j=0;if(q[a+4>>2]!=1){break C}a=q[a+12>>2];j=0;if(!a){break C}j=0;if((r[a|0]|32)!=98){break C}q[b+12>>2]=q[b+12>>2]|2;j=29183}D:{E:{F:{if(!q[d+72>>2]){break F}l=0;a=dc(28583,q[d+92>>2]);c=0;G:{if(!a){break G}e=q[d+80>>2];c=0;if(!e){break G}a=e+(q[a>>2]<<4)|0;c=0;if(q[a+4>>2]!=1){break G}a=q[a+12>>2];c=0;if(!a){break G}e=r[a|0];c=0;if(!e){break G}c=0;if((e|0)==78){break G}c=0;if((e|0)==110){break G}c=a}if(!q[d+72>>2]){break E}a=dc(27792,q[d+92>>2]);if(!a){break F}d=q[d+80>>2];if(!d){break F}a=d+(q[a>>2]<<4)|0;if(q[a+4>>2]!=1){break E}l=q[a+12>>2];if(!l){break F}a=r[l|0];if(!(!a|(a|0)==78|(a|0)==110)){k=Wa(l);d=k+1|0;break D}l=0;d=0;break D}l=0}d=0}if(!j){j=0;i=0;break B}i=Wa(j);d=(i+d|0)+1|0;u=0}e=0;H:{if(!m){a=0;break H}a=Wa(m);d=(d+a|0)+1|0}if(c){e=Wa(c);d=(e+d|0)+1|0}if(!d){break y}break x}i=0;j=0;m=0;c=0;a=0}d=8;l=29188;k=7}h=gb(h,d,g);q[b+24>>2]=h;d=q[g>>2];if(d){q[g+36>>2]=d;break a}if(l){h=Qa(h,l,k);if(k){d=0;while(1){l=d+h|0;if(r[l|0]==32){o[l|0]=45}d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=h+k|0}if(!u){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}h=Qa(h,j,i)+i|0}if(m){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}h=Qa(h,m,a)+a|0}if(c){if(q[b+24>>2]!=(h|0)){o[h|0]=32;h=h+1|0}a=Qa(h,c,e);if(e){d=0;while(1){c=a+d|0;if(r[c|0]==32){o[c|0]=45}d=d+1|0;if((e|0)!=(d|0)){continue}break}}h=a+e|0}o[h|0]=0;d=q[g>>2];q[g+36>>2]=d;if(d){break a}a=q[f+48>>2];q[b+28>>2]=1;q[b+16>>2]=a+1;a=Oa(t,16,0,1,0,g+36|0);q[b+32>>2]=a;d=q[g+36>>2];if(d){break a}q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;d=q[f+40>>2];if(d+32767>>>0>=65535){d=(d|0)<0?-32767:32767;q[f+40>>2]=d}h=q[f+44>>2];if(h+32767>>>0>=65535){h=(h|0)<0?-32767:32767;q[f+44>>2]=h}p[a>>1]=d+h;c=a;I:{J:{if(!q[f+72>>2]){break J}e=dc(26196,q[f+92>>2]);if(!e){break J}h=q[f+80>>2];if(!h){break J}e=q[(h+(q[e>>2]<<4)|0)+12>>2];d=32767;if(e+327665>>>0>655330){break I}e=(e+5|0)/10|0;d=e>>31;d=d^d+e;break I}d=bb(p[a>>1],2,3)}p[c+2>>1]=d;c=a;K:{L:{if(!q[f+72>>2]){break L}e=dc(26210,q[f+92>>2]);if(!e){break L}h=q[f+80>>2];if(!h){break L}e=q[(h+(q[e>>2]<<4)|0)+12>>2];d=32767;if(e+328898>>>0>657796){break K}d=e>>31;d=bb(d+e^d,460800,72270);break K}d=q[f+16>>2];if(d){d=d>>>0>32767?32767:d<<6;break K}d=p[a+2>>1]<<6}q[c+4>>2]=d;h=0;c=0;M:{if(!q[f+72>>2]){break M}c=dc(26221,q[f+92>>2]);N:{if(!c){break N}d=q[f+80>>2];if(!d){break N}c=q[(d+(q[c>>2]<<4)|0)+12>>2];if(c+32767>>>0>=65535){q[a+12>>2]=2097088;break N}d=c;c=c>>31;q[a+12>>2]=(d+c^c)<<6}c=0;if(!q[f+72>>2]){break M}d=dc(26232,q[f+92>>2]);c=0;if(!d){break M}c=q[f+80>>2]+(q[d>>2]<<4)|0}c=q[(c?c+12|0:f+20|0)>>2];O:{if(!c){break O}h=32767;if(c+32767>>>0>65534){break O}d=c;c=c>>31;h=d+c^c}k=0;c=0;P:{if(!q[f+72>>2]){break P}d=dc(26245,q[f+92>>2]);c=0;if(!d){break P}c=q[f+80>>2]+(q[d>>2]<<4)|0}c=q[(c?c+12|0:f+24|0)>>2];Q:{if(!c){break Q}k=32767;if(c+32767>>>0>65534){break Q}d=c;c=c>>31;k=d+c^c}d=q[a+12>>2];R:{if(!d){d=q[a+4>>2];q[a+12>>2]=d;c=k&65535;if(!c){break R}d=bb(d,c,72);q[a+12>>2]=d}if(!h){break R}c=k&65535;if(!c){break R}d=bb(d,h,c)}q[a+8>>2]=d;c=q[f+56>>2];e=Oa(t,8,0,q[f+48>>2],0,g+36|0);q[b+144>>2]=e;d=q[g+36>>2];if(d){break a}q[b+148>>2]=0;h=q[f+48>>2];if(h){j=q[f+36>>2];d=0;while(1){a=q[(c+w(d,36)|0)+4>>2];u=e+(d<<3)|0;p[u+4>>1]=d;q[u>>2]=a;if((a|0)==(j|0)){q[b+148>>2]=d}d=d+1|0;if((h|0)!=(d|0)){continue}break}}S:{if(!q[f+72>>2]){break S}c=dc(26258,q[f+92>>2]);a=0;T:{if(!c){break T}a=q[f+80>>2]+(q[c>>2]<<4)|0}if(!q[f+72>>2]){break S}d=dc(26275,q[f+92>>2]);if(!d|!a){break S}c=q[f+80>>2];if(!c|q[a+4>>2]!=1){break S}d=q[d>>2];if(!q[a+12>>2]|q[(c+(d<<4)|0)+4>>2]!=1){break S}c=q[(c+(d<<4)|0)+12>>2];if(!c){break S}B=b,C=$c(t,c,g+36|0),q[B+132>>2]=C;d=q[g+36>>2];if(d){break a}a=$c(t,q[a+12>>2],g+36|0);q[b+136>>2]=a;d=q[g+36>>2];if(d){break a}U:{V:{W:{X:{if(!((r[a|0]|32)!=105|(r[a+1|0]|32)!=115|(r[a+2|0]|32)!=111)){a=a+3|0;if(!Ta(a,26292)){break X}if(!Ta(a,26298)){if(!Ta(q[b+132>>2],26303)){break X}}if(!Ta(a,26305)){break W}}q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;break U}q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;break V}a=Ta(q[b+132>>2],26314);q[g+4>>2]=0;q[g+8>>2]=0;q[g>>2]=b;if(a){break U}}q[g+4>>2]=1970170211;q[g+8>>2]=65539}d=md(26320,0,g,0);q[g+36>>2]=d;break a}q[g+4>>2]=1094995778;q[g+8>>2]=7;q[g>>2]=b;d=md(26320,0,g,0);q[g+36>>2]=d;if(!q[b+36>>2]){break a}q[b+92>>2]=q[q[b+40>>2]>>2]}Da=g+48|0;return d|0}function hQ(a,b,c){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;g=Da+ -64|0;Da=g;q[g+40>>2]=0;f=r[a+48|0];a:{if(!(q[a+536>>2]|!f)){e=8;break a}e=q[a+540>>2];d=q[e>>2];if(!d){h=q[a>>2];q[e+4>>2]=678;d=gb(h,552,g+40|0);q[q[a+540>>2]>>2]=d;e=64;if(q[g+40>>2]){break a}q[d>>2]=h;if(!f){q[d+548>>2]=q[q[a+532>>2]+3088>>2]}q[d+168>>2]=0;q[d+172>>2]=0;q[d+152>>2]=0;q[d+156>>2]=0;q[d+160>>2]=0;q[d+164>>2]=0;q[d+148>>2]=679;q[d+144>>2]=680;q[d+168>>2]=d+4;q[d+156>>2]=681;q[d+164>>2]=h}q[d+176>>2]=a;q[d+172>>2]=a;k=q[a+4>>2];m=o[q[k+128>>2]+56|0];e=q[k+96>>2];l=r[e+32|0];q[g+8>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+36>>2]=b;q[g+28>>2]=b;q[g>>2]=0;q[g+4>>2]=0;q[g+24>>2]=0;q[g+32>>2]=b?b+c|0:0;b=q[a+8>>2];u=r[b+161|0];c=g;y=r[b+160|0];b:{if(y){h=(q[b+164>>2]+32|0)/64|0;q[g>>2]=h;b=(q[b+168>>2]+32|0)/64|0;break b}h=1024;q[g>>2]=1024;b=1024}q[c+12>>2]=b;c=0;c=f?c:r[k+732|0];o[d+8|0]=f;o[d+9|0]=c;c=(y|0)!=0;q[d+12>>2]=c;if(!(!u|((m|0)>-1|l?m:0))){q[d+12>>2]=c|2}q[d+188>>2]=q[e+36>>2];q[d+192>>2]=q[e+40>>2];q[d+196>>2]=q[e+44>>2];q[d+200>>2]=q[e+48>>2];q[d+204>>2]=q[e+52>>2];q[d+208>>2]=q[e+56>>2];q[d+212>>2]=q[e+60>>2];q[d+216>>2]=q[e- -64>>2];c=s[q[a+4>>2]+68>>1];q[d+132>>2]=c;if(u){e=36;if((b|0)<1|(h|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=Za(131072e3,c<<16);if((h|0)>(a|0)|(b|0)>(a|0)){break a}a=q[d+176>>2]}q[g+48>>2]=0;q[g+52>>2]=0;e=0;q[g+44>>2]=0;b=q[d+136>>2];k=q[d+140>>2];q[g+60>>2]=0;q[g+56>>2]=0;q[d+4>>2]=0;c=q[a+536>>2];if((c|0)!=q[d+180>>2]){q[d+180>>2]=c;e=1}c:{d:{if(!(r[d+8|0]|!q[q[a+532>>2]+3112>>2])){f=q[d+548>>2];h=q[a+4>>2];h=n[q[q[h+548>>2]+40>>2]](h,g+60|0,0,g+56|0,0)|0;q[d+4>>2]=h;if(h){break d}if(n[q[f+12>>2]](c+556|0,q[c+548>>2],q[g+60>>2],q[g+56>>2])){n[q[f+4>>2]](q[a+532>>2],c,q[g+60>>2],q[g+56>>2])|0;e=1}f=q[c+560>>2];o[d+93|0]=0;q[d+96>>2]=f;q[d+120>>2]=q[c+548>>2];q[d+124>>2]=q[g+60>>2];q[d+128>>2]=q[g+56>>2]}f=s[q[q[a+4>>2]+88>>2]+14>>1]<<16;if((f|0)!=q[d+88>>2]){q[d+88>>2]=f;e=1}c=q[d+12>>2];o[d+184|0]=c&1;e:{f:{g:{if(!Oc(g,d+16|0,16)){y=d+186|0;c=c&2;if((c|0)!=r[d+186|0]){break g}if(e){break f}break e}e=q[g+4>>2];q[d+16>>2]=q[g>>2];q[d+20>>2]=e;e=q[g+12>>2];q[d+24>>2]=q[g+8>>2];q[d+28>>2]=e;q[d+32>>2]=0;q[d+36>>2]=0;e=q[g+4>>2];q[d+40>>2]=q[g>>2];q[d+44>>2]=e;e=q[g+12>>2];q[d+48>>2]=q[g+8>>2];q[d+52>>2]=e;e=q[g+20>>2];q[d+56>>2]=q[g+16>>2];q[d+60>>2]=e;q[d+72>>2]=0;q[d+76>>2]=65536;q[d+64>>2]=65536;q[d+68>>2]=0;y=d+186|0;c=c&2;if((c|0)==r[d+186|0]){break f}}o[y|0]=c>>>1}c=q[q[a+536>>2]+400>>2]<<16;q[d+220>>2]=c;e=q[d+132>>2];m=e?e:1e3;e=65536e3/(m|0)|0;if((c|0)<=0){c=Za(4915200,e);q[d+220>>2]=c}h=d+188|0;f=(f|0)>262144?f:262144;h:{if((b|0)>=1){c=m<<16;if((b|0)<=(Za(c,f)|0)){b=Za(c,f)}q[d+228>>2]=0;if(!b|(e|0)<655){break h}q[d+228>>2]=(b|0)/2;break h}ds(e,f,c,d+228|0,0,r[d+186|0],h)}b=d;c=q[q[a+536>>2]+396>>2];i:{if(c<<16>=1){a=4915200;if(q[d+220>>2]>c<<17){break i}}a=7208960}a=Za(a,e);q[b+224>>2]=a;ds(e,f,a,d+232|0,k,r[d+186|0],h);a=1;a=q[d+228>>2]?a:q[d+232>>2]!=0;h=0;o[d+236|0]=0;o[d+185|0]=a;a=q[d+176>>2];A=Na(d+244|0,0,304);q[d+240>>2]=q[d+52>>2];B=d,C=Za(q[q[a+536>>2]+384>>2],65536e3),q[B+252>>2]=C;f=q[a+536>>2];q[d+256>>2]=q[f+388>>2]<<16;q[d+260>>2]=q[f+392>>2]<<16;m=r[f+191|0];u=r[f+190|0];k=r[f+189|0];a=r[f+188|0];j:{k:{if(q[f+524>>2]==1){if(a>>>0>4){break k}l:{switch(a-1|0){case 3:if(q[f+192>>2]<<16>-7864321|q[f+196>>2]<<16>-7864321|(q[f+200>>2]<<16<57671681|q[f+204>>2]<<16<57671681)){break k}break;case 0:case 1:case 2:break k;default:break l}}q[d+296>>2]=-7864321;a=Ma(-7864321,q[d+240>>2]);q[d+288>>2]=49;b=q[d+240>>2];q[d+304>>2]=b;q[d+300>>2]=(a+32768&-65536)+ -32768;a=(q[d+232>>2]<<1)+57671681|0;q[d+276>>2]=a;a=Ma(a,b);q[d+268>>2]=50;o[d+249|0]=1;q[d+284>>2]=q[d+240>>2];q[d+280>>2]=a+32768&-65536|32768;break e}if(!a){break j}}b=q[d+244>>2];c=w(b,20)+d|0;h=q[f+192>>2]<<16;q[c+308>>2]=h;e=q[f+196>>2]<<16;q[c+312>>2]=e;h=e-h|0;m:{if((h|0)<0){h=0;break m}q[c+316>>2]=e;o[c+324|0]=1;b=b+1|0;q[d+244>>2]=b}e=2;if(a>>>0<=2){break j}l=f+192|0;while(1){c=w(b,20)+d|0;x=c;j=e<<2;i=q[j+l>>2]<<16;q[c+308>>2]=i;j=q[l+(j|4)>>2]<<16;q[c+312>>2]=j;v=j-i|0;if((v|0)>=0){z=j;j=q[d+232>>2]<<1;q[c+312>>2]=z+j;i=i+j|0;q[x+308>>2]=i;q[c+316>>2]=i;o[c+324|0]=0;b=b+1|0;q[d+244>>2]=b;h=(v|0)>(h|0)?v:h}e=e+2|0;if(e>>>0>>0){continue}break}}if(k){b=q[A>>2];c=f+248|0;e=0;while(1){a=w(b,20)+d|0;l=e<<2;i=q[l+c>>2]<<16;q[a+308>>2]=i;l=q[c+(l|4)>>2]<<16;q[a+312>>2]=l;i=l-i|0;if((i|0)>=0){q[a+316>>2]=l;o[a+324|0]=1;b=b+1|0;q[d+244>>2]=b;h=(i|0)>(h|0)?i:h}e=e+2|0;if(e>>>0>>0){continue}break}}k=Za(65536,q[d+240>>2]);l=q[d+244>>2];n:{if(!l){break n}if(u>>>0<=1){if(!m){break n}e=0;while(1){u=w(e,20)+d|0;o:{if(!r[u+324|0]){break o}i=q[u+316>>2];a=0;b=2147483647;while(1){j=q[(f+(a<<2|4)|0)+344>>2]<<16;v=i-j|0;c=v>>31;c=c^c+v;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[u+316>>2]=j;b=c;if(!c){break o}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}p:{if(!m){e=0;if(u>>>0<3){break p}while(1){a=w(e,20)+d|0;m=a;i=q[a+316>>2];q:{if(r[a+324|0]){b=q[f+292>>2]<<16;c=i-b|0;a=c>>31;a=a^a+c;if((a|0)==2147483647|(a|0)>=(k|0)){break q}q[m+316>>2]=b;break q}j=q[d+232>>2]<<1;a=2;b=2147483647;while(1){v=j+(q[(f+(a<<2)|0)+288>>2]<<16)|0;x=i-v|0;c=x>>31;c=c^c+x;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[m+316>>2]=v;b=c;if(!c){break q}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}e=0;if(u>>>0>=3){while(1){a=w(e,20)+d|0;i=a;j=q[a+316>>2];r:{if(r[a+324|0]){a=0;b=2147483647;while(1){s:{v=q[(f+(a<<2|4)|0)+344>>2]<<16;x=j-v|0;c=x>>31;t:{c=c^c+x;if((c|0)>=(b|0)|(c|0)>=(k|0)){break t}q[i+316>>2]=v;b=c;if(c){break t}b=0;break s}a=a+2|0;if(a>>>0>>0){continue}}break}c=q[f+292>>2]<<16;j=j-c|0;a=j>>31;a=a^a+j;if((a|0)>=(b|0)|(a|0)>=(k|0)){break r}q[i+316>>2]=c;break r}v=q[d+232>>2]<<1;a=2;b=2147483647;while(1){x=v+(q[(f+(a<<2)|0)+288>>2]<<16)|0;z=j-x|0;c=z>>31;c=c^c+z;if(!((c|0)>=(b|0)|(c|0)>=(k|0))){q[i+316>>2]=x;b=c;if(!c){break r}}a=a+2|0;if(a>>>0>>0){continue}break}}e=e+1|0;if((l|0)!=(e|0)){continue}break n}}while(1){u=w(e,20)+d|0;u:{if(!r[u+324|0]){break u}i=q[u+316>>2];a=0;b=2147483647;while(1){v:{j=q[(f+(a<<2|4)|0)+344>>2]<<16;v=i-j|0;c=v>>31;w:{c=c^c+v;if((c|0)>=(b|0)|(c|0)>=(k|0)){break w}q[u+316>>2]=j;b=c;if(c){break w}b=0;break v}a=a+2|0;if(a>>>0>>0){continue}}break}c=q[f+292>>2]<<16;i=i-c|0;a=i>>31;a=a^a+i;if((a|0)>=(b|0)|(a|0)>=(k|0)){break u}q[u+316>>2]=c}e=e+1|0;if((l|0)!=(e|0)){continue}break}break n}while(1){a=w(e,20)+d|0;x:{if(!r[a+324|0]){break x}c=q[f+292>>2]<<16;m=q[a+316>>2]-c|0;b=m>>31;b=b^b+m;if((b|0)==2147483647|(b|0)>=(k|0)){break x}q[a+316>>2]=c}e=e+1|0;if((l|0)!=(e|0)){continue}break}}y:{if((h|0)<1){break y}if(q[d+252>>2]<=(Za(65536,h)|0)){break y}B=d,C=Za(65536,h),q[B+252>>2]=C}a=q[d+240>>2];b=q[d+252>>2];if((a|0)<(b|0)){o[d+248|0]=1;a=bb(39322,a,b);q[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(r[y|0]){q[d+264>>2]=0}if(!q[A>>2]){break e}c=d+240|0;a=0;while(1){b=c+w(a,20)|0;e=r[b+84|0];i=b;j=Ma(q[b+76>>2],q[d+240>>2]);b=q[d+264>>2];q[i+80>>2]=(j+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}if(q[d+4>>2]){break d}o[d+236|0]=0;b=d+144|0;a=r[d+185|0];while(1){q[d+160>>2]=0;Xe(q[q[d+172>>2]+12>>2]);Wg(d,g+24|0,b,g+48|0,0,0,0,g+44|0);if(q[d+4>>2]){break d}if(!(!(a&255)|q[d+160>>2]>-1)){o[d+236|0]=1;a=0;continue}break}f=q[d+172>>2];a=q[f+20>>2];z:{if(!a){break z}A:{B:{b=s[a>>1];e=b<<16>>16;if((e|0)>=2){b=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break B}b=0;if(e){break B}c=p[a+2>>1];break A}c=p[a+2>>1];if((c|0)!=(b|0)){break A}p[a>>1]=e+ -1;break z}C:{if((c|0)<2){break C}h=q[a+4>>2];k=h+(b<<3)|0;h=(h+(c<<3)|0)+ -8|0;if(q[k>>2]!=q[h>>2]|q[k+4>>2]!=q[h+4>>2]|r[(q[a+8>>2]+c|0)+ -1|0]!=1){break C}c=c+ -1|0;p[a+2>>1]=c}if((e|0)<1){break z}i=b;b=(c<<16>>16)+ -1|0;if((i|0)==(b|0)){p[a+2>>1]=c+ -1;p[a>>1]=e+ -1;break z}p[(q[a+12>>2]+(e<<1)|0)+ -2>>1]=b}Lg(q[f+12>>2]);if(!q[d+4>>2]){break c}}e=3;break a}a=q[g+44>>2];e=0;q[d+4>>2]=0;b=q[d+172>>2];if(r[b+48|0]){break a}q[q[b+544>>2]>>2]=a+32768>>16}Da=g- -64|0;return e|0}function VG(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,s=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=Da-8960|0;Da=h;B=d+e|0;G=0-B|0;a:{b:{while(1){if((c|0)!=48){c:{if((c|0)!=46){break a}c=q[b+4>>2];if(c>>>0>=t[b+104>>2]){break c}q[b+4>>2]=c+1;c=r[c|0];break b}}else{c=q[b+4>>2];if(c>>>0>2]){o=1;q[b+4>>2]=c+1;c=r[c|0]}else{o=1;c=vb(b)}continue}break}c=vb(b)}k=1;if((c|0)!=48){break a}while(1){i=i+ -1|0;c=j+ -1|0;if(c>>>0<4294967295){i=i+1|0}j=c;c=q[b+4>>2];d:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break d}c=vb(b)}if((c|0)==48){continue}break}o=1}q[h+768>>2]=0;H=a;I=a;e:{f:{l=(c|0)==46;x=c+ -48|0;g:{h:{i:{if(l|x>>>0<=9){while(1){j:{if(l&1){if(!k){j=p;i=m;k=1;break j}o=(o|0)!=0;break i}l=p+1|0;if(l>>>0<1){m=m+1|0}p=l;if((n|0)<=2044){A=(c|0)!=48?p:A;l=(h+768|0)+(n<<2)|0;o=l;if(s){x=(w(q[l>>2],10)+c|0)+ -48|0}q[o>>2]=x;o=1;l=s+1|0;c=(l|0)==9;s=c?0:l;n=c+n|0;break j}if((c|0)==48){break j}q[h+8944>>2]=q[h+8944>>2]|1}c=q[b+4>>2];k:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break k}c=vb(b)}l=(c|0)==46;x=c+ -48|0;if(l|x>>>0<10){continue}break}}j=k?j:p;i=k?i:m;if(!(!o|(c|32)!=101)){c=mp(b,g);l=Ea;k=l;l:{if(c|(k|0)!=-2147483648){break l}if(!g){break g}c=0;k=0;if(!q[b+104>>2]){break l}q[b+4>>2]=q[b+4>>2]+ -1}i=i+k|0;b=c+j|0;if(b>>>0>>0){i=i+1|0}j=b;break f}o=(o|0)!=0;if((c|0)<0){break h}}if(!q[b+104>>2]){break h}q[b+4>>2]=q[b+4>>2]+ -1}if(o){break f}q[160942]=28}xd(b,0,0);j=0;i=0;c=0;b=0;break e}b=q[h+768>>2];if(!b){ae(h,+(f|0)*0);j=q[h+8>>2];i=q[h+12>>2];c=q[h+4>>2];b=q[h>>2];break e}if(!((j|0)!=(p|0)|(i|0)!=(m|0)|((m|0)>0?1:(m|0)>=0?p>>>0<=9?0:1:0)|(b>>>d|0?(d|0)<=30:0))){ad(h+48|0,f);Oe(h+32|0,b);Eb(h+16|0,q[h+48>>2],q[h+52>>2],q[h+56>>2],q[h+60>>2],q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2]);j=q[h+24>>2];i=q[h+28>>2];c=q[h+20>>2];b=q[h+16>>2];break e}b=(e|0)/-2|0;c=j>>>0<=b>>>0?0:1;b=b>>31;if((i|0)>(b|0)?1:(i|0)>=(b|0)?c:0){q[160942]=68;ad(h+96|0,f);Eb(h+80|0,q[h+96>>2],q[h+100>>2],q[h+104>>2],q[h+108>>2],-1,-1,-1,2147418111);Eb(h- -64|0,q[h+80>>2],q[h+84>>2],q[h+88>>2],q[h+92>>2],-1,-1,-1,2147418111);j=q[h+72>>2];i=q[h+76>>2];c=q[h+68>>2];b=q[h+64>>2];break e}b=e+ -226|0;c=j>>>0>=b>>>0?0:1;b=b>>31;if((i|0)<(b|0)?1:(i|0)<=(b|0)?c:0){q[160942]=68;ad(h+144|0,f);Eb(h+128|0,q[h+144>>2],q[h+148>>2],q[h+152>>2],q[h+156>>2],0,0,0,65536);Eb(h+112|0,q[h+128>>2],q[h+132>>2],q[h+136>>2],q[h+140>>2],0,0,0,65536);j=q[h+120>>2];i=q[h+124>>2];c=q[h+116>>2];b=q[h+112>>2];break e}if(s){if((s|0)<=8){c=(h+768|0)+(n<<2)|0;b=q[c>>2];while(1){b=w(b,10);s=s+1|0;if((s|0)!=9){continue}break}q[c>>2]=b}n=n+1|0}m:{k=j;if((A|0)>8|(A|0)>(k|0)|(k|0)>17){break m}if((k|0)==9){ad(h+192|0,f);Oe(h+176|0,q[h+768>>2]);Eb(h+160|0,q[h+192>>2],q[h+196>>2],q[h+200>>2],q[h+204>>2],q[h+176>>2],q[h+180>>2],q[h+184>>2],q[h+188>>2]);j=q[h+168>>2];i=q[h+172>>2];c=q[h+164>>2];b=q[h+160>>2];break e}if((k|0)<=8){ad(h+272|0,f);Oe(h+256|0,q[h+768>>2]);Eb(h+240|0,q[h+272>>2],q[h+276>>2],q[h+280>>2],q[h+284>>2],q[h+256>>2],q[h+260>>2],q[h+264>>2],q[h+268>>2]);ad(h+224|0,q[(0-k<<2)+508544>>2]);Ih(h+208|0,q[h+240>>2],q[h+244>>2],q[h+248>>2],q[h+252>>2],q[h+224>>2],q[h+228>>2],q[h+232>>2],q[h+236>>2]);j=q[h+216>>2];i=q[h+220>>2];c=q[h+212>>2];b=q[h+208>>2];break e}b=(w(k,-3)+d|0)+27|0;c=q[h+768>>2];if(c>>>b|0?(b|0)<=30:0){break m}ad(h+352|0,f);Oe(h+336|0,c);Eb(h+320|0,q[h+352>>2],q[h+356>>2],q[h+360>>2],q[h+364>>2],q[h+336>>2],q[h+340>>2],q[h+344>>2],q[h+348>>2]);ad(h+304|0,q[(k<<2)+508472>>2]);Eb(h+288|0,q[h+320>>2],q[h+324>>2],q[h+328>>2],q[h+332>>2],q[h+304>>2],q[h+308>>2],q[h+312>>2],q[h+316>>2]);j=q[h+296>>2];i=q[h+300>>2];c=q[h+292>>2];b=q[h+288>>2];break e}s=0;b=(k|0)%9|0;n:{if(!b){c=0;break n}g=(k|0)>-1?b:b+9|0;o:{if(!n){c=0;n=0;break o}i=q[(0-g<<2)+508544>>2];l=1e9/(i|0)|0;o=0;b=0;c=0;while(1){j=o;m=(h+768|0)+(b<<2)|0;p=q[m>>2];o=(p>>>0)/(i>>>0)|0;j=j+o|0;q[m>>2]=j;j=!j&(b|0)==(c|0);c=j?c+1&2047:c;k=j?k+ -9|0:k;o=w(l,p-w(i,o)|0);b=b+1|0;if((n|0)!=(b|0)){continue}break}if(!o){break o}q[(h+768|0)+(n<<2)>>2]=o;n=n+1|0}k=(k-g|0)+9|0}while(1){p=(h+768|0)+(c<<2)|0;p:{while(1){if((k|0)!=36|t[p>>2]>=10384593?(k|0)>=36:0){break p}x=n+2047|0;o=0;l=n;while(1){n=l;m=x&2047;l=(h+768|0)+(m<<2)|0;b=q[l>>2];i=b>>>3|0;g=b<<29;b=g+o|0;if(b>>>0>>0){i=i+1|0}j=b;g=0;q:{if(!i&b>>>0<1000000001|i>>>0<0){break q}g=X$(b,i,1e9,0);j=j-V$(g,Ea,1e9,0)|0}o=g;q[l>>2]=j;l=(m|0)!=(n+ -1&2047)?n:(c|0)==(m|0)?n:j?n:m;x=m+ -1|0;if((c|0)!=(m|0)){continue}break}s=s+ -29|0;if(!o){continue}break}c=c+ -1&2047;if((l|0)==(c|0)){b=(h+768|0)+((l+2046&2047)<<2)|0;n=l+ -1&2047;q[b>>2]=q[b>>2]|q[(h+768|0)+(n<<2)>>2]}k=k+9|0;q[(h+768|0)+(c<<2)>>2]=o;continue}break}r:{s:while(1){g=n+1&2047;j=(h+768|0)+((n+ -1&2047)<<2)|0;while(1){i=(k|0)>45?9:1;t:{while(1){l=c;b=0;u:{while(1){v:{c=b+l&2047;if((c|0)==(n|0)){break v}c=q[(h+768|0)+(c<<2)>>2];m=q[(b<<2)+508496>>2];if(c>>>0>>0){break v}if(c>>>0>m>>>0){break u}b=b+1|0;if((b|0)!=4){continue}}break}if((k|0)!=36){break u}j=0;i=0;b=0;p=0;m=0;while(1){c=b+l&2047;if((c|0)==(n|0)){n=n+1&2047;q[((n<<2)+h|0)+764>>2]=0}Eb(h+752|0,j,i,p,m,0,0,1342177280,1075633366);Oe(h+736|0,q[(h+768|0)+(c<<2)>>2]);Uc(h+720|0,q[h+752>>2],q[h+756>>2],q[h+760>>2],q[h+764>>2],q[h+736>>2],q[h+740>>2],q[h+744>>2],q[h+748>>2]);p=q[h+728>>2];m=q[h+732>>2];j=q[h+720>>2];i=q[h+724>>2];b=b+1|0;if((b|0)!=4){continue}break}ad(h+704|0,f);Eb(h+688|0,j,i,p,m,q[h+704>>2],q[h+708>>2],q[h+712>>2],q[h+716>>2]);p=q[h+696>>2];m=q[h+700>>2];j=0;i=0;c=q[h+688>>2];k=q[h+692>>2];o=s+113|0;e=o-e|0;g=(e|0)<(d|0);d=g?(e|0)>0?e:0:d;if((d|0)<=112){break t}break r}s=i+s|0;c=n;if((l|0)==(c|0)){continue}break}m=1e9>>>i|0;p=-1<>2];b=(x>>>i|0)+b|0;q[o>>2]=b;b=!b&(c|0)==(l|0);c=b?c+1&2047:c;k=b?k+ -9|0:k;b=w(m,p&x);l=l+1&2047;if((l|0)!=(n|0)){continue}break}if(!b){continue}if((c|0)!=(g|0)){q[(h+768|0)+(n<<2)>>2]=b;n=g;continue s}q[j>>2]=q[j>>2]|1;c=g;continue}break}break}ae(h+640|0,Kd(1,225-d|0));pp(h+672|0,q[h+640>>2],q[h+644>>2],q[h+648>>2],q[h+652>>2],c,k,p,m);C=q[h+680>>2];D=q[h+684>>2];E=q[h+672>>2];F=q[h+676>>2];ae(h+624|0,Kd(1,113-d|0));ap(h+656|0,c,k,p,m,q[h+624>>2],q[h+628>>2],q[h+632>>2],q[h+636>>2]);j=q[h+656>>2];i=q[h+660>>2];u=q[h+664>>2];v=q[h+668>>2];Pj(h+608|0,c,k,p,m,j,i,u,v);Uc(h+592|0,E,F,C,D,q[h+608>>2],q[h+612>>2],q[h+616>>2],q[h+620>>2]);p=q[h+600>>2];m=q[h+604>>2];c=q[h+592>>2];k=q[h+596>>2]}b=l+4&2047;w:{if((b|0)==(n|0)){break w}b=q[(h+768|0)+(b<<2)>>2];x:{if(b>>>0<=499999999){if((l+5&2047)==(n|0)?!b:0){break x}ae(h+480|0,+(f|0)*.25);Uc(h+464|0,j,i,u,v,q[h+480>>2],q[h+484>>2],q[h+488>>2],q[h+492>>2]);u=q[h+472>>2];v=q[h+476>>2];j=q[h+464>>2];i=q[h+468>>2];break x}if((b|0)!=5e8){ae(h+576|0,+(f|0)*.75);Uc(h+560|0,j,i,u,v,q[h+576>>2],q[h+580>>2],q[h+584>>2],q[h+588>>2]);u=q[h+568>>2];v=q[h+572>>2];j=q[h+560>>2];i=q[h+564>>2];break x}z=+(f|0);if((l+5&2047)==(n|0)){ae(h+512|0,z*.5);Uc(h+496|0,j,i,u,v,q[h+512>>2],q[h+516>>2],q[h+520>>2],q[h+524>>2]);u=q[h+504>>2];v=q[h+508>>2];j=q[h+496>>2];i=q[h+500>>2];break x}ae(h+544|0,z*.75);Uc(h+528|0,j,i,u,v,q[h+544>>2],q[h+548>>2],q[h+552>>2],q[h+556>>2]);u=q[h+536>>2];v=q[h+540>>2];j=q[h+528>>2];i=q[h+532>>2]}if((d|0)>111){break w}ap(h+448|0,j,i,u,v,0,0,0,1073676288);if(tf(q[h+448>>2],q[h+452>>2],q[h+456>>2],q[h+460>>2],0,0,0,0)){break w}Uc(h+432|0,j,i,u,v,0,0,0,1073676288);u=q[h+440>>2];v=q[h+444>>2];j=q[h+432>>2];i=q[h+436>>2]}Uc(h+416|0,c,k,p,m,j,i,u,v);Pj(h+400|0,q[h+416>>2],q[h+420>>2],q[h+424>>2],q[h+428>>2],E,F,C,D);p=q[h+408>>2];m=q[h+412>>2];c=q[h+400>>2];k=q[h+404>>2];y:{if((o&2147483647)<=(-2-B|0)){break y}Eb(h+384|0,c,k,p,m,0,0,0,1073610752);f=tf(j,i,u,v,0,0,0,0);z=y(Tf(c,k,p,m));b=z>=1.0384593717069655e+34;p=b?q[h+392>>2]:p;m=b?q[h+396>>2]:m;c=b?q[h+384>>2]:c;k=b?q[h+388>>2]:k;s=b+s|0;if((s+110|0)<=(G|0)?!(g&(b^1|(d|0)!=(e|0))&(f|0)!=0):0){break y}q[160942]=68}op(h+368|0,c,k,p,m,s);j=q[h+376>>2];i=q[h+380>>2];c=q[h+372>>2];b=q[h+368>>2]}q[I>>2]=b;q[H+4>>2]=c;q[a+8>>2]=j;q[a+12>>2]=i;Da=h+8960|0}function XJ(a,b,c,d){a=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=-4;a:{b:{c:{d:{if(b>>>0>=c>>>0){break d}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}f=r[b|0];e=f+ -216|0;if(e>>>0<=39){break r}if(f){break g}g=r[b+1|0];i=a+72|0;h=r[g+i|0]+ -2|0;if(h>>>0>34){break c}e=18;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{switch(h-1|0){case 9:return lq(12,a,b+2|0,c,d)|0;case 10:return lq(13,a,b+2|0,c,d)|0;default:e=-1;g=b+2|0;if((c-g|0)<2){break d}H:{I:{J:{K:{L:{M:{f=r[b+2|0];h=f+ -220|0;if(h>>>0>35){if(f){break h}f=r[i+r[b+3|0]|0];if(f>>>0>29){break H}if(1<>>0>7){break q}switch(g-1|0){case 0:case 2:case 4:case 5:break q;case 1:case 3:break K;case 6:break M;default:break L}}switch(h-4|0){case 31:break I;case 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: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:break h;default:break H}}return kq(a,b+6|0,c,d)|0}q[d>>2]=b+6;return 33}b=b+6|0;g=c-b|0;if((g|0)<=1){break d}while(1){if(r[b|0]){break b}a=r[i+r[f+3|0]|0];if(a>>>0>30){break b}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}return jq(a,b+4|0,c,d)|0}if(r[b+3|0]<=253){break h}}q[d>>2]=g;return 0;case 4:break n;case 20:case 22:case 23:case 24:break t;case 3:break u;case 2:break v;case 16:break w;case 8:break x;case 33:break y;case 29:break z;case 28:break A;case 1:break B;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 30:case 31:break c;case 17:break C;case 32:break D;case 27:break E;case 7:case 18:break F;case 6:break G;case 19:case 21:break e;case 26:break f}}if((b+2|0)!=(c|0)){break F}q[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){a=e;O:{P:{if(r[b+2|0]){break P}e=r[i+r[b+3|0]|0]+ -9|0;if(e>>>0>12){break P}Q:{switch(e-1|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break P;default:break Q}}if((b+4|0)!=(c|0)){break O}}q[d>>2]=a;return 15}b=a;e=b+2|0;if((c-e|0)>1){continue}break}}q[d>>2]=e;return 15}return iq(a,b+2|0,c,d)|0}q[d>>2]=b+2;return 38}q[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break d}R:{if(r[b+2|0]|r[b+3|0]!=93){break R}e=-1;if((c|0)<4){break d}if(r[b+4|0]|r[b+5|0]!=62){break R}q[d>>2]=b+6;return 34}q[d>>2]=a;return 26}q[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break d}S:{if(r[b+2|0]){break S}c=r[i+r[b+3|0]|0]+ -9|0;if(c>>>0>27){break S}T:{switch(c-3|0){case 21:q[d>>2]=b+4;return 36;case 3:q[d>>2]=b+4;return 35;case 22:q[d>>2]=b+4;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break S;default:break T}}q[d>>2]=a;return 24}break a}q[d>>2]=b+2;return 21}q[d>>2]=b+2;return 17}e=-1;a=b+2|0;f=c-a|0;if((f|0)<2){break d}g=r[b+2|0];e=g+ -216|0;if(e>>>0<=39){break p}if(g){break k}e=r[b+3|0];h=r[i+e|0]+ -5|0;if(h>>>0>24){break a}U:{switch(h-1|0){case 23:break j;case 1:break l;case 0:break U;case 16:case 18:break i;default:break a}}e=-2;if((f|0)>=3){break a}break d}e=-2;if((c-b|0)<2){break d}break c}e=-2;if((c-b|0)>=3){break c}break d}e=19;break e}return-1}switch(e-4|0){case 35:break o;case 0:case 1:case 2:case 3:break c;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:break g;default:break n}}q[d>>2]=f;return 0}switch(e-4|0){case 0:case 1:case 2:case 3:break a;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:break k;case 35:break m;default:break l}}g=r[b+1|0];if(g>>>0>253){break c}break f}e=-2;if((c-b|0)>=4){break c}break d}e=r[b+3|0];if(e>>>0<=253){break j}break a}e=-2;if((f|0)>=4){break a}break d}e=r[b+3|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break i}break a}e=-20;b=b+4|0;f=c-b|0;if((f|0)<=1){break d}while(1){V:{W:{X:{Y:{g=r[b|0];h=g+ -216|0;if(h>>>0>39){if(g){break X}a=r[a+3|0];h=r[i+a|0]+ -5|0;if(h>>>0>31){break b}Z:{switch(h-1|0){case 0:e=-2;if((f|0)>=3){break b}break d;case 16:case 18:case 19:case 20:case 21:break V;case 23:break W;case 1:break Y;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break Z;default:break b}}q[d>>2]=b;return 20}_:{switch(h-4|0){case 0:case 1:case 2:case 3:break b;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:break X;case 35:break _;default:break Y}}a=r[a+3|0];if(a>>>0<=253){break W}break b}e=-2;if((f|0)>=4){break b}break d}a=r[a+3|0]}if(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1){break V}break b}a=b;b=b+2|0;f=c-b|0;if((f|0)>1){continue}break}break d}q[d>>2]=b;return 29}g=r[b+1|0]}e=18;i=(g>>>5&7)<<2;g=1<<(g&31);if(q[(i|r[f+492528|0]<<5)+490512>>2]&g){break e}e=19;if(!(g&q[(i|r[f+492784|0]<<5)+490512>>2])){break c}}b=b+2|0;g=c-b|0;if((g|0)>=2){i=a+72|0;while(1){a=b;$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b|0];b=f+ -216|0;if(b>>>0>39){if(f){break ca}b=r[a+1|0];h=r[i+b|0]+ -5|0;if(h>>>0>31){break a}la:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break a}break d;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=a;return e|0;case 17:b=a+2|0;if((e|0)!=41){if((e|0)!=18){break $}g=c-b|0;if((g|0)<2){return-1}e=19;h=r[b|0];f=h+ -216|0;if(f>>>0<=39){break ka}if(h){break ga}f=r[a+3|0];j=r[i+f|0]+ -5|0;if(j>>>0>24){break $}ma:{switch(j-1|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 17:case 22:break $;case 16:case 18:case 19:case 20:case 21:break ea;case 23:break fa;case 1:break ia;case 0:break ma;default:break b}}e=-2;if((g|0)>=3){break b}break d}e=19;break $;case 28:if((e|0)==19){break a}q[d>>2]=a+2;return 32;case 27:if((e|0)==19){break a}q[d>>2]=a+2;return 31;case 16:case 18:case 19:case 20:case 21:break aa;case 23:break ba;case 1:break da;case 9:break la;default:break a}}if((e|0)==19){break a}q[d>>2]=a+2;return 30}switch(b-4|0){case 0:case 1:case 2:case 3:break a;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:break ca;case 35:break ja;default:break da}}switch(f-4|0){case 0:case 1:case 2:case 3:break $;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:break ga;case 35:break ha;default:break ia}}b=r[a+1|0];if(b>>>0<=253){break ba}break a}e=-2;if((g|0)>=4){break b}break d}f=r[a+3|0];if(f>>>0>253){break $}break fa}f=r[a+3|0]}if(q[(f>>>3&28|r[h+492784|0]<<5)+490512>>2]>>>(f&31)&1){break ea}break b}b=a+4|0;e=41;break $}e=-2;if((g|0)>=4){break a}break d}b=r[a+1|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break aa}break a}b=a+2|0}g=c-b|0;if((g|0)>1){continue}break}}e=0-e|0}return e|0}q[d>>2]=b;return 0}q[d>>2]=b;return 0}q[d>>2]=a;return 0}function oK(a,b,c,d){a=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=-4;a:{b:{c:{d:{if(b>>>0>=c>>>0){break d}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{e=c-b|0;if(e&1){c=e&-2;if(!c){break s}c=b+c|0}f=r[b+1|0];e=f+ -216|0;if(e>>>0<=39){break r}if(f){break g}g=r[b|0];i=a+72|0;h=r[g+i|0]+ -2|0;if(h>>>0>34){break c}e=18;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{switch(h-1|0){case 9:return pq(12,a,b+2|0,c,d)|0;case 10:return pq(13,a,b+2|0,c,d)|0;default:e=-1;g=b+2|0;if((c-g|0)<2){break d}H:{I:{J:{K:{L:{M:{f=r[b+3|0];h=f+ -220|0;if(h>>>0>35){if(f){break h}f=r[i+r[b+2|0]|0];if(f>>>0>29){break H}if(1<>>0>7){break q}switch(g-1|0){case 0:case 2:case 4:case 5:break q;case 1:case 3:break K;case 6:break M;default:break L}}switch(h-4|0){case 31:break I;case 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: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:break h;default:break H}}return oq(a,b+6|0,c,d)|0}q[d>>2]=b+6;return 33}b=b+6|0;g=c-b|0;if((g|0)<=1){break d}while(1){if(r[f+3|0]){break b}a=r[i+r[b|0]|0];if(a>>>0>30){break b}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}return nq(a,b+4|0,c,d)|0}if(r[b+2|0]<=253){break h}}q[d>>2]=g;return 0;case 4:break n;case 20:case 22:case 23:case 24:break t;case 3:break u;case 2:break v;case 16:break w;case 8:break x;case 33:break y;case 29:break z;case 28:break A;case 1:break B;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 30:case 31:break c;case 17:break C;case 32:break D;case 27:break E;case 7:case 18:break F;case 6:break G;case 19:case 21:break e;case 26:break f}}if((b+2|0)!=(c|0)){break F}q[d>>2]=c;return-15}e=b+2|0;if((c-e|0)>=2){while(1){a=e;O:{P:{if(r[b+3|0]){break P}e=r[i+r[a|0]|0]+ -9|0;if(e>>>0>12){break P}Q:{switch(e-1|0){case 0:case 11:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break P;default:break Q}}if((b+4|0)!=(c|0)){break O}}q[d>>2]=a;return 15}b=a;e=b+2|0;if((c-e|0)>1){continue}break}}q[d>>2]=e;return 15}return mq(a,b+2|0,c,d)|0}q[d>>2]=b+2;return 38}q[d>>2]=b+2;return 25}e=-26;a=b+2|0;c=c-a|0;if((c|0)<2){break d}R:{if(r[b+3|0]|r[b+2|0]!=93){break R}e=-1;if((c|0)<4){break d}if(r[b+5|0]|r[b+4|0]!=62){break R}q[d>>2]=b+6;return 34}q[d>>2]=a;return 26}q[d>>2]=b+2;return 23}e=-24;a=b+2|0;if((c-a|0)<2){break d}S:{if(r[b+3|0]){break S}c=r[i+r[b+2|0]|0]+ -9|0;if(c>>>0>27){break S}T:{switch(c-3|0){case 21:q[d>>2]=b+4;return 36;case 3:q[d>>2]=b+4;return 35;case 22:q[d>>2]=b+4;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break S;default:break T}}q[d>>2]=a;return 24}break a}q[d>>2]=b+2;return 21}q[d>>2]=b+2;return 17}e=-1;a=b+2|0;f=c-a|0;if((f|0)<2){break d}g=r[b+3|0];e=g+ -216|0;if(e>>>0<=39){break p}if(g){break k}e=r[b+2|0];h=r[i+e|0]+ -5|0;if(h>>>0>24){break a}U:{switch(h-1|0){case 23:break j;case 1:break l;case 0:break U;case 16:case 18:break i;default:break a}}e=-2;if((f|0)>=3){break a}break d}e=-2;if((c-b|0)<2){break d}break c}e=-2;if((c-b|0)>=3){break c}break d}e=19;break e}return-1}switch(e-4|0){case 35:break o;case 0:case 1:case 2:case 3:break c;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:break g;default:break n}}q[d>>2]=f;return 0}switch(e-4|0){case 0:case 1:case 2:case 3:break a;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:break k;case 35:break m;default:break l}}g=r[b|0];if(g>>>0>253){break c}break f}e=-2;if((c-b|0)>=4){break c}break d}e=r[b+2|0];if(e>>>0<=253){break j}break a}e=-2;if((f|0)>=4){break a}break d}e=r[b+2|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break i}break a}e=-20;b=b+4|0;g=c-b|0;if((g|0)<=1){break d}while(1){V:{W:{X:{Y:{f=r[a+3|0];a=f+ -216|0;if(a>>>0>39){if(f){break X}a=r[b|0];h=r[i+a|0]+ -5|0;if(h>>>0>31){break b}Z:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break b}break d;case 16:case 18:case 19:case 20:case 21:break V;case 23:break W;case 1:break Y;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break Z;default:break b}}q[d>>2]=b;return 20}_:{switch(a-4|0){case 0:case 1:case 2:case 3:break b;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:break X;case 35:break _;default:break Y}}a=r[b|0];if(a>>>0<=253){break W}break b}e=-2;if((g|0)>=4){break b}break d}a=r[b|0]}if(q[(a>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(a&31)&1){break V}break b}a=b;b=b+2|0;g=c-b|0;if((g|0)>1){continue}break}break d}q[d>>2]=b;return 29}g=r[b|0]}e=18;i=(g>>>5&7)<<2;g=1<<(g&31);if(q[(i|r[f+492528|0]<<5)+490512>>2]&g){break e}e=19;if(!(g&q[(i|r[f+492784|0]<<5)+490512>>2])){break c}}b=b+2|0;g=c-b|0;if((g|0)>=2){i=a+72|0;while(1){a=b;$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{f=r[b+1|0];b=f+ -216|0;if(b>>>0>39){if(f){break ca}b=r[a|0];h=r[i+b|0]+ -5|0;if(h>>>0>31){break a}la:{switch(h-1|0){case 0:e=-2;if((g|0)>=3){break a}break d;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=a;return e|0;case 17:b=a+2|0;if((e|0)!=41){if((e|0)!=18){break $}g=c-b|0;if((g|0)<2){return-1}e=19;h=r[a+3|0];f=h+ -216|0;if(f>>>0<=39){break ka}if(h){break ga}f=r[b|0];j=r[i+f|0]+ -5|0;if(j>>>0>24){break $}ma:{switch(j-1|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 17:case 22:break $;case 16:case 18:case 19:case 20:case 21:break ea;case 23:break fa;case 1:break ia;case 0:break ma;default:break b}}e=-2;if((g|0)>=3){break b}break d}e=19;break $;case 28:if((e|0)==19){break a}q[d>>2]=a+2;return 32;case 27:if((e|0)==19){break a}q[d>>2]=a+2;return 31;case 16:case 18:case 19:case 20:case 21:break aa;case 23:break ba;case 1:break da;case 9:break la;default:break a}}if((e|0)==19){break a}q[d>>2]=a+2;return 30}switch(b-4|0){case 0:case 1:case 2:case 3:break a;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:break ca;case 35:break ja;default:break da}}switch(f-4|0){case 0:case 1:case 2:case 3:break $;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:break ga;case 35:break ha;default:break ia}}b=r[a|0];if(b>>>0<=253){break ba}break a}e=-2;if((g|0)>=4){break b}break d}f=r[b|0];if(f>>>0>253){break $}break fa}f=r[b|0]}if(q[(f>>>3&28|r[h+492784|0]<<5)+490512>>2]>>>(f&31)&1){break ea}break b}b=a+4|0;e=41;break $}e=-2;if((g|0)>=4){break a}break d}b=r[a|0]}if(q[(b>>>3&28|r[f+492784|0]<<5)+490512>>2]>>>(b&31)&1){break aa}break a}b=a+2|0}g=c-b|0;if((g|0)>1){continue}break}}e=0-e|0}return e|0}q[d>>2]=b;return 0}q[d>>2]=b;return 0}q[d>>2]=a;return 0}function wA(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,t=0,u=0,v=0,x=0,y=0,z=0;m=Da-16|0;Da=m;a:{c=q[a>>2]+ -7|0;if(c>>>0>3){d=-31;break a}u=a+8|0;h=q[a+4>>2];i=q[a+52>>2];b:{c:{switch(c-1|0){default:b=0;break b;case 0:b=2;break b;case 1:b=1;break b;case 2:break c}}b=3}while(1){d:{e:{g=a;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{switch(b|0){case 0:s:{while(1){q[a>>2]=7;if(q[a+196>>2]){break s}if(pA(a)){continue}break}d=2;break f}y=q[a+20>>2];v=q[a+16>>2];k=q[a+104>>2];j=q[a+8>>2];e=j;t:{u:{g=q[a+12>>2];f=g;if(32-f>>>0<=14){d=v;e=j;c=g;b=y;while(1){if(!b){break u}t=e>>>8|0;q[a+8>>2]=t;e=r[d|0];b=b+ -1|0;q[a+20>>2]=b;f=c+ -8|0;q[a+12>>2]=f;d=d+1|0;q[a+16>>2]=d;e=t|e<<24;q[a+8>>2]=e;t=40-c|0;c=f;if(t>>>0<15){continue}break}}c=a;h=e>>>f|0;b=k+((h&255)<<2)|0;d=r[b|0];if(d>>>0>=9){f=f+8|0;q[a+12>>2]=f;b=(s[b+2>>1]+(q[(d<<2)+153520>>2]&h>>>8&127)<<2)+b|0;d=r[b|0]}q[c+12>>2]=(d&255)+f;b=s[b+2>>1];q[m+12>>2]=b;break t}if(!ud(k,u,m+12|0)){break p}b=q[m+12>>2]}n=b<<3;c=r[n+155747|0];q[a+180>>2]=c;q[a+268>>2]=o[n+155746|0];o[a+260|0]=r[c+q[a+116>>2]|0];h=s[n+155748>>1];x=0;k=0;l=r[n+155744|0];if(l){c=q[a+12>>2];v:{if(32-c>>>0>=l>>>0){e=q[u>>2];break v}b=q[a+20>>2];d=c;while(1){if(!b){break q}t=q[a+8>>2]>>>8|0;q[a+8>>2]=t;e=q[a+16>>2];f=r[e|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=e+1;e=t|f<<24;q[a+8>>2]=e;f=40-d|0;d=c;if(f>>>0>>0){continue}break}}q[a+12>>2]=c+l;k=q[(l<<2)+153552>>2]&e>>>c}z=a;l=r[n+155745|0];if(l){c=q[a+12>>2];w:{if(32-c>>>0>=l>>>0){e=q[u>>2];break w}b=q[a+20>>2];d=c;while(1){if(!b){break q}t=q[a+8>>2]>>>8|0;q[a+8>>2]=t;e=q[a+16>>2];f=r[e|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=e+1;e=t|f<<24;q[a+8>>2]=e;f=40-d|0;d=c;if(f>>>0>>0){continue}break}}q[a+12>>2]=c+l;x=q[(l<<2)+153552>>2]&e>>>c}q[z+264>>2]=x+s[n+155750>>1];q[a+196>>2]=q[a+196>>2]+ -1;h=h+k|0;if(h){break o}h=0;break m;case 2:break n;case 1:break r;default:break j}}q[a>>2]=9;c=q[a+268>>2];if((c|0)<0){break i}q[a+180>>2]=!c;c=q[a+72>>2]+ -1|0;q[a+72>>2]=c;b=q[(((c&3)<<2)+a|0)+76>>2];break h}q[a+16>>2]=v;q[a+8>>2]=j;q[a+20>>2]=y;q[a+12>>2]=g}d=2;break f}q[a+184>>2]=q[a+184>>2]-h;b=2;continue}b=q[a+176>>2];x:while(1){y:{q[a>>2]=8;if(!b){d=q[a+96>>2];b=q[a+68>>2];c=r[d+(b&i+ -2)|0];f=r[d+(b&i+ -1)|0];d=q[a+192>>2];while(1){z:{if(!d){d=2;if(!Bn(a)){break f}if(q[a+176>>2]){break z}}d=c&255;c=q[a+108>>2];v=q[q[a+120>>2]+(r[q[a+112>>2]+(r[(d+c|0)+256|0]|r[c+(f&255)|0])|0]<<2)>>2];A:{B:{c=q[a+12>>2];C:{if(32-c>>>0>=15){g=q[u>>2];break C}b=q[a+20>>2];d=c;while(1){if(!b){break B}j=q[a+8>>2]>>>8|0;q[a+8>>2]=j;g=q[a+16>>2];e=r[g|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=g+1;g=j|e<<24;q[a+8>>2]=g;e=40-d|0;d=c;if(e>>>0<15){continue}break}}d=a;g=g>>>c|0;b=v+((g&255)<<2)|0;e=r[b|0];if(e>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(e<<2)+153520>>2]&g>>>8&127)<<2)+b|0;e=r[b|0]}q[d+12>>2]=(e&255)+c;b=r[b+2|0];break A}if(!ud(v,u,m+12|0)){break k}b=q[m+12>>2]}o[q[a+96>>2]+i|0]=b;d=q[a+192>>2]+ -1|0;q[a+192>>2]=d;i=i+1|0;if((i|0)==q[a+64>>2]){q[a>>2]=13;h=h+ -1|0;d=1;break f}c=f;f=b;h=h+ -1|0;if(h){continue}break y}break}q[a>>2]=8}b=q[a+192>>2];while(1){D:{if(b){break D}d=2;if(!Bn(a)){break f}if(q[a+176>>2]){break D}b=0;continue x}j=q[a+256>>2];E:{F:{c=q[a+12>>2];G:{if(32-c>>>0>=15){g=q[u>>2];break G}b=q[a+20>>2];d=c;while(1){if(!b){break F}g=q[a+8>>2]>>>8|0;q[a+8>>2]=g;e=q[a+16>>2];f=r[e|0];b=b+ -1|0;q[a+20>>2]=b;c=d+ -8|0;q[a+12>>2]=c;q[a+16>>2]=e+1;g=g|f<<24;q[a+8>>2]=g;f=40-d|0;d=c;if(f>>>0<15){continue}break}}d=a;e=g>>>c|0;b=j+((e&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&e>>>8&127)<<2)+b|0;f=r[b|0]}q[d+12>>2]=(f&255)+c;b=s[b+2>>1];q[m+12>>2]=b;break E}if(!ud(j,u,m+12|0)){break k}b=q[m+12>>2]}o[q[a+96>>2]+i|0]=b;b=q[a+192>>2]+ -1|0;q[a+192>>2]=b;i=i+1|0;if((i|0)==q[a+64>>2]){q[a>>2]=13;h=h+ -1|0;d=1;break f}h=h+ -1|0;if(h){continue}break}}break}h=0;if(q[a+184>>2]<=0){break l}}b=1;continue}q[a>>2]=14;d=1;break f}d=2;break f}d=q[a+64>>2]-i|0;H:{I:{while(1){c=h+ -1|0;if((h|0)<1){break I}b=q[a+96>>2];o[b+i|0]=r[b+(q[a+68>>2]&i-q[a+268>>2])|0];i=i+1|0;h=c;d=d+ -1|0;if(d){continue}break}q[a>>2]=16;break H}if(q[a+184>>2]>0){h=c;break e}q[a>>2]=14}h=c;d=1;break f}J:{if(q[a+200>>2]){break J}if(oA(a)){break J}d=2;break f}t=q[a+20>>2];y=q[a+16>>2];l=q[q[a+152>>2]+(r[a+260|0]<<2)>>2];v=q[a+8>>2];e=v;K:{L:{M:{N:{O:{P:{Q:{j=q[a+12>>2];f=j;if(32-f>>>0<=14){d=y;e=v;c=j;b=t;while(1){if(!b){break Q}k=e>>>8|0;q[a+8>>2]=k;e=r[d|0];b=b+ -1|0;q[a+20>>2]=b;f=c+ -8|0;q[a+12>>2]=f;d=d+1|0;q[a+16>>2]=d;e=k|e<<24;q[a+8>>2]=e;k=40-c|0;c=f;if(k>>>0<15){continue}break}}c=a;k=e>>>f|0;e=k&255;b=l+(e<<2)|0;d=r[b|0];if(d>>>0>=9){f=f+8|0;q[a+12>>2]=f;b=(s[(l+(e<<2)|0)+2>>1]+(q[(d<<2)+153520>>2]&k>>>8&127)<<2)+b|0;d=r[b|0]}q[c+12>>2]=(d&255)+f;b=s[b+2>>1];q[m+12>>2]=b;break P}if(!ud(l,u,m+12|0)){break O}b=q[m+12>>2]}q[a+180>>2]=0;x=q[a+200>>2]+ -1|0;q[a+200>>2]=x;if(b>>>0<=15){q[a+268>>2]=b;if((b|0)>3){break M}d=1>>>b|0;q[a+180>>2]=d;c=q[a+72>>2];b=q[(((c+(b^-1)&3)<<2)+a|0)+76>>2];q[a+268>>2]=b;q[a+72>>2]=c-d;break g}n=r[(a+624|0)+b|0];if(!n){break N}R:{if(n>>>0<=24){f=q[a+12>>2];S:{if(32-f>>>0>=n>>>0){k=q[u>>2];break S}d=q[a+20>>2];c=f;while(1){if(!d){break R}l=q[a+8>>2]>>>8|0;q[a+8>>2]=l;k=q[a+16>>2];e=r[k|0];d=d+ -1|0;q[a+20>>2]=d;f=c+ -8|0;q[a+12>>2]=f;q[a+16>>2]=k+1;k=l|e<<24;q[a+8>>2]=k;e=40-c|0;c=f;if(e>>>0>>0){continue}break}}d=q[(n<<2)+153552>>2]&k>>>f;q[m+8>>2]=d;q[a+12>>2]=f+n;break K}if(JA(u,n,m+8|0)){break L}x=q[a+200>>2]}q[a+20>>2]=t;q[a+16>>2]=y;q[a+8>>2]=v;q[a+12>>2]=j;q[a+200>>2]=x+1}d=2;break f}d=0;q[m+8>>2]=0;break K}c=(b|0)<10;c=((6312258>>>((c?-4:-10)+b<<2)&15)+q[(((q[a+72>>2]+(c?3:10)&3)<<2)+a|0)+76>>2]|0)+ -3|0;b=(c|0)<1?2147483647:c;break h}d=q[m+8>>2]}b=q[((b<<2)+a|0)+1168>>2]+(d<>2])|0}q[g+268>>2]=b}d=q[a+60>>2];c=q[a+56>>2];if((d|0)!=(c|0)){d=(i|0)<(c|0)?i:c;q[a+60>>2]=d}h=q[a+264>>2];T:{if((b|0)>(d|0)){if((b|0)>2147483644){d=-16;break a}if(h+ -4>>>0>20){d=-12;break a}c=q[a+584>>2];e=q[(c+(h<<2)|0)+32>>2];j=r[c+h|0];q[a+72>>2]=q[a+72>>2]+q[a+180>>2];f=q[c+164>>2];if(!f){d=-19;break a}c=(d^-1)+b|0;g=c>>j;b=q[a+588>>2];if((g|0)>=q[b+12>>2]){d=-11;break a}d=f+(e+w(c&q[(j<<2)+153552>>2],h)|0)|0;c=q[a+96>>2]+i|0;U:{if((g|0)==p[b+24>>1]){Qa(c,d,h);c=h;break U}c=Jn(c,d,h,b,g)}q[a+184>>2]=q[a+184>>2]-c;i=c+i|0;if((i|0)>2]){b=i;break T}q[a>>2]=15;d=1;break f}e=q[a+96>>2];d=q[a+68>>2];c=q[a+72>>2];q[(((c&3)<<2)+a|0)+76>>2]=b;q[a+72>>2]=c+1;q[a+184>>2]=q[a+184>>2]-h;f=d&i-b;j=f+e|0;d=r[j|0]|r[j+1|0]<<8|(r[j+2|0]<<16|r[j+3|0]<<24);c=r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24);g=e+i|0;e=r[j+12|0]|r[j+13|0]<<8|(r[j+14|0]<<16|r[j+15|0]<<24);b=r[j+8|0]|r[j+9|0]<<8|(r[j+10|0]<<16|r[j+11|0]<<24);o[g+8|0]=b;o[g+9|0]=b>>>8;o[g+10|0]=b>>>16;o[g+11|0]=b>>>24;o[g+12|0]=e;o[g+13|0]=e>>>8;o[g+14|0]=e>>>16;o[g+15|0]=e>>>24;o[g|0]=d;o[g+1|0]=d>>>8;o[g+2|0]=d>>>16;o[g+3|0]=d>>>24;o[g+4|0]=c;o[g+5|0]=c>>>8;o[g+6|0]=c>>>16;o[g+7|0]=c>>>24;b=h+i|0;d=f+h|0;if((d|0)>(i|0)?(b|0)>(f|0):0){break d}c=q[a+64>>2];if((b|0)>=(c|0)|(d|0)>=(c|0)){break d}if((h|0)<17){break T}f=j+16|0;e=g+16|0;if((h|0)>=33){Qa(e,f,h+ -16|0);break T}d=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);i=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);f=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);o[e+8|0]=f;o[e+9|0]=f>>>8;o[e+10|0]=f>>>16;o[e+11|0]=f>>>24;o[e+12|0]=i;o[e+13|0]=i>>>8;o[e+14|0]=i>>>16;o[e+15|0]=i>>>24;o[e|0]=d;o[e+1|0]=d>>>8;o[e+2|0]=d>>>16;o[e+3|0]=d>>>24;o[e+4|0]=c;o[e+5|0]=c>>>8;o[e+6|0]=c>>>16;o[e+7|0]=c>>>24}if(q[a+184>>2]>0){i=b;break e}q[a>>2]=14;i=b;d=1}q[a+4>>2]=h;q[a+52>>2]=i;break a}b=0;continue}b=3;continue}}Da=m+16|0;return d}function kU(a,b,c){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0;d=Da-1920|0;Da=d;a:{b:{c:{d:{e:{f:{x=q[a+112>>2];g:{if(!(o[x+36|0]&1)){break g}k=q[x+32>>2];h:{if(k){break h}y=d+136|0;G=d+1052|0;B=s[135656];C=d+1496|0;D=d+1448|0;H=d+464|0;while(1){k=ab(1,168);i:{if(k){v=0;u=0;while(1){j:{k:{e=q[a+44>>2];if((e|0)>=1){g=q[(v<<2)+253440>>2];i=q[a+48>>2];f=e+ -1|0;e=0;while(1){h=e+f>>>1|0;l=i+w(h,36)|0;z=q[l>>2];l:{if(z>>>0>g>>>0){f=h+ -1|0;break l}if(z>>>0>=g>>>0){break k}e=h+1|0}if((e|0)<=(f|0)){continue}break}}q[((u<<2)+k|0)+8>>2]=0;break j}z=(u<<2)+k|0;e=q[l+28>>2];q[z+8>>2]=e;if(!e){break j}m:{if(v>>>0<=3){f=1569;i=0;while(1){e=s[((f<<3)+(v<<1)|0)+240920>>1];n:{if(!e){break n}g=d+208|0;q[g>>2]=0;h=g;g=q[b+72>>2];if(!n[q[g+156>>2]](b,q[b+76>>2],f,h,q[g+20>>2])){break n}g=d+112|0;q[g>>2]=0;h=e;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],h,g,q[e+20>>2])){break n}e=q[d+208>>2];g=q[d+112>>2];if((e|0)==(g|0)|(e|g)>>>0>65535){break n}h=i<<1;l=h+(d+1056|0)|0;o[l+1|0]=g;o[l|0]=g>>>8;p[h+(d+1424|0)>>1]=(e<<8&16711680|e<<24)>>>16;i=i+1|0}f=f+1|0;if((f|0)!=1748){continue}break}f=1;o:{if(i>>>0<=1){f=0;if(i-1){break m}break o}while(1){l=f<<1;h=l+(d+1424|0)|0;m=h|1;e=f;while(1){g=e;if(e){e=g+ -1|0;j=s[(d+1424|0)+(e<<1)>>1];if((r[m|0]|r[h|0]<<8)>>>0<(j<<24|j<<8&16711680)>>>16>>>0){continue}}break}if((f|0)!=(g|0)){h=s[h>>1];e=g<<1;m=e+2|0;j=e+(d+1424|0)|0;g=f-g<<1;sb(m+(d+1424|0)|0,j,g);p[j>>1]=h;h=s[l+(d+1056|0)>>1];e=e+(d+1056|0)|0;sb(m+(d+1056|0)|0,e,g);p[e>>1]=h}f=f+1|0;if((i|0)!=(f|0)){continue}break}}q[d+124>>2]=G;q[d+112>>2]=d+208;e=y;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;o[d+180|0]=1;q[d+176>>2]=0;q[d+168>>2]=1;q[d+172>>2]=1;q[d+200>>2]=0;q[d+192>>2]=0;q[d+196>>2]=0;q[d+184>>2]=0;q[d+188>>2]=0;tt(d+112|0);if(q[d+152>>2]){break c}e=st(y);p:{if(!e){if(!r[d+132|0]){break p}o[d+132|0]=0;break p}q[e>>2]=q[d+116>>2];q[e+4>>2]=q[d+120>>2];q[e+20>>2]=q[d+152>>2];q[d+152>>2]=e}f=q[d+116>>2];e=0;q:{if(!Kt(f,d+112|0,1)){break q}r:{if(!(r[f+5|0]|r[f+4|0]<<8)){p[321488]=B;e=642976;break r}e=f+6|0}g=q[d+116>>2];f=g-f|0;h=(f<<24|f<<8&16711680)>>>16|0;o[e|0]=h;o[e+1|0]=h>>>8;if(!(!r[d+132|0]|f>>>0<65536)){o[d+132|0]=0}q[d+1800>>2]=0;q[d+1804>>2]=d+1056;e=q[d+1804>>2];q[d+16>>2]=q[d+1800>>2];q[d+20>>2]=e;q[d+1812>>2]=0;q[d+1808>>2]=i;e=q[d+1812>>2];q[d+24>>2]=q[d+1808>>2];q[d+28>>2]=e;q[d+1796>>2]=i;q[d+1792>>2]=d+1424;e=q[d+1796>>2];q[d+8>>2]=q[d+1792>>2];q[d+12>>2]=e;e=gU(g,d+112|0,d+8|0)}f=r[d+132|0];if(!(r[d+180|0]|!f?!(f?q[d+156>>2]<=-1:0):0)){o[d+132|0]=0}f=q[d+152>>2];s:{if(!f){break s}if(q[f+20>>2]){break b}if(t[d+160>>2]<2){break s}qt(d+112|0);pt(d+112|0)}f=0;t:{if(!e){break t}if(!r[d+132|0]){break a}g=q[d+120>>2];h=q[d+124>>2]-g|0;i=q[d+112>>2];e=q[d+116>>2]-i|0;f=Sa(h+e|0);if(!f){break t}Qa(Qa(f,i,e)+e|0,g,h)}ot(d+112|0);break m}i=0;e=d+208|0;q[e>>2]=0;f=e;e=q[b+72>>2];if(n[q[e+156>>2]](b,q[b+76>>2],65247,f,q[e+20>>2])){q[d+1816>>2]=0;q[d+1824>>2]=0;e=s[d+208>>1];p[d+1832>>1]=(e<<24|e<<8&16711680)>>>16;i=1}e=d+208|0;q[e>>2]=0;u:{v:{f=e;e=q[b+72>>2];if(n[q[e+156>>2]](b,q[b+76>>2],65248,f,q[e+20>>2])){e=i<<2;q[e+(d+1816|0)>>2]=0;q[e+(d+1824|0)>>2]=1;e=d+1832|i<<1;f=s[d+208>>1];f=(f<<24|f<<8&16711680)>>>16|0;o[e|0]=f;o[e+1|0]=f>>>8;e=1;g=1;if(!i){break u}h=i+1|0;break v}g=1;if(i){break u}f=0;break m}while(1){g=e;l=(d+1832|0)+(e<<1)|0;m=l|1;while(1){f=e;if(e){e=f+ -1|0;j=(d+1832|0)+(e<<1)|0;j=r[j|0]|r[j+1|0]<<8;if((r[m|0]|r[l|0]<<8)>>>0<(j<<24|j<<8&16711680)>>>16>>>0){continue}}break}if((f|0)!=(g|0)){e=r[l|0]|r[l+1|0]<<8;m=f+1|0;l=(d+1832|0)+(f<<1)|0;j=g-f|0;sb((d+1832|0)+(m<<1)|0,l,j<<1);o[l|0]=e;o[l+1|0]=e>>>8;e=q[(d+1824|0)+(g<<2)>>2];f=(d+1824|0)+(f<<2)|0;sb((d+1824|0)+(m<<2)|0,f,j<<2);q[f>>2]=e}e=g+1|0;if((g|0)!=(i|0)){continue}break}g=h}e=0;i=0;while(1){f=i<<2;h=f+(d+1816|0)|0;l=q[f+(d+1824|0)>>2];f=0;while(1){m=w(l,18)+(f<<2)|0;j=s[m+255122>>1];w:{if(!j){break w}E=d+208|0;q[E>>2]=0;A=j;j=q[b+72>>2];if(!n[q[j+156>>2]](b,q[b+76>>2],A,E,q[j+20>>2])){break w}m=s[m+255124>>1];j=d+1424|0;q[j>>2]=0;A=m;m=q[b+72>>2];if(!n[q[m+156>>2]](b,q[b+76>>2],A,j,q[m+20>>2])){break w}q[h>>2]=q[h>>2]+1;q[(d+1056|0)+(e<<2)>>2]=2;m=e<<1;j=s[d+1424>>1];p[m+(d+112|0)>>1]=(j<<24|j<<8&16711680)>>>16;j=m+(d+1792|0)|0;m=s[d+208>>1];p[j>>1]=(m<<24|m<<8&16711680)>>>16;e=e+1|0}f=f+1|0;if((f|0)!=4){continue}break}i=i+1|0;if((g|0)!=(i|0)){continue}break}if(!e){f=0;break m}q[d+1436>>2]=H;q[d+1424>>2]=d+208;f=D;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;o[d+1492|0]=1;q[d+1488>>2]=0;q[d+1480>>2]=1;q[d+1484>>2]=1;q[C+16>>2]=0;f=C;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;tt(d+1424|0);if(q[d+1464>>2]){break c}f=st(D);x:{if(!f){if(!r[d+1444|0]){break x}o[d+1444|0]=0;break x}q[f>>2]=q[d+1428>>2];q[f+4>>2]=q[d+1432>>2];q[f+20>>2]=q[d+1464>>2];q[d+1464>>2]=f}f=q[d+1428>>2];y:{if(!Kt(f,d+1424|0,4)){e=0;break y}z:{if(!(r[f+5|0]|r[f+4|0]<<8)){p[321488]=B;i=642976;break z}i=f+6|0}h=q[d+1428>>2];l=h-f|0;f=(l<<24|l<<8&16711680)>>>16|0;o[i|0]=f;o[i+1|0]=f>>>8;f=r[d+1444|0];if(!(!f|l>>>0<65536)){o[d+1444|0]=0;f=0}q[d+1848>>2]=0;q[d+1844>>2]=g;q[d+1864>>2]=0;q[d+1860>>2]=g;q[d+1880>>2]=0;q[d+1876>>2]=e;q[d+1896>>2]=0;q[d+1892>>2]=e;q[d+1912>>2]=0;q[d+1908>>2]=e;q[d+1840>>2]=d+1832;q[d+1856>>2]=d+1816;q[d+1872>>2]=d+112;q[d+1888>>2]=d+1056;q[d+1904>>2]=d+1792;if(t[d+1424>>2]>h>>>0){break f}g=q[d+1428>>2];if(h>>>0>g>>>0){break e}i=h+2|0;if(i>>>0>>0){break d}e=0;if((f&255)!=1){break y}f=i-g|0;if((q[d+1432>>2]-g|0)<(f|0)){p[d+1444>>1]=256;break y}Na(g,0,f);g=f;f=q[d+1428>>2];q[d+1428>>2]=g+f;if(!h|!f){break y}o[h|0]=256;o[h+1|0]=1;q[d+104>>2]=q[d+1848>>2];q[d+56>>2]=q[d+1896>>2];q[d+40>>2]=q[d+1912>>2];q[d+72>>2]=q[d+1880>>2];q[d+88>>2]=q[d+1864>>2];e=q[d+1844>>2];q[d+96>>2]=q[d+1840>>2];q[d+100>>2]=e;e=q[d+1892>>2];q[d+48>>2]=q[d+1888>>2];q[d+52>>2]=e;e=q[d+1908>>2];q[d+32>>2]=q[d+1904>>2];q[d+36>>2]=e;e=q[d+1876>>2];q[d+64>>2]=q[d+1872>>2];q[d+68>>2]=e;e=q[d+1860>>2];q[d+80>>2]=q[d+1856>>2];q[d+84>>2]=e;e=fU(h,d+1424|0,d+96|0,d+80|0,d- -64|0,d+48|0,d+32|0)}f=r[d+1444|0];if(!(r[d+1492|0]|!f?!(f?q[d+1468>>2]<=-1:0):0)){o[d+1444|0]=0}f=q[d+1464>>2];A:{if(!f){break A}if(q[f+20>>2]){break b}if(t[d+1472>>2]<2){break A}qt(d+1424|0);pt(d+1424|0)}f=0;B:{if(!e){break B}if(!r[d+1444|0]){break a}g=q[d+1432>>2];h=q[d+1436>>2]-g|0;i=q[d+1424>>2];e=q[d+1428>>2]-i|0;f=Sa(h+e|0);if(!f){break B}Qa(Qa(f,i,e)+e|0,g,h)}ot(d+1424|0)}q[z+28>>2]=f;if(!f){break j}zv((w(u,24)+k|0)+48|0,f);u=u+1|0}v=v+1|0;if((v|0)!=5){continue}break}o[k+4|0]=1;q[k>>2]=u;if(u){break i}La(k)}k=271312}e=q[x+32>>2];q[x+32>>2]=e?e:k;if(!e){break h}if(q[k>>2]){f=0;while(1){g=(f<<2)+k|0;C:{if(!q[g+28>>2]){break C}e=w(f,24)+k|0;La(q[e+68>>2]);q[e+68>>2]=0;q[e+60>>2]=0;q[e+64>>2]=0;if(!r[k+4|0]){break C}La(q[g+28>>2])}f=f+1|0;if(f>>>0>2]){continue}break}La(k)}k=q[x+32>>2];if(!k){continue}break}}e=Hd(d+208|0,0,b,c);c=q[k>>2];if(!c){break g}b=0;while(1){a=(b<<2)+k|0;f=q[a+28>>2];if(f){c=q[a+8>>2];q[e+32>>2]=0;q[e+116>>2]=c;q[e+24>>2]=0;q[e+28>>2]=0;g=q[e+128>>2];q[e+8>>2]=g;y=q[e+120>>2]==1;o[e+12|0]=y;q[e+76>>2]=0;q[e+16>>2]=c;o[e+13|0]=r[e+142|0];q[e+68>>2]=0;q[e+72>>2]=0;q[e+52>>2]=g;q[e+60>>2]=-1;o[e+57|0]=1;o[e+56|0]=y|r[e+141|0]!=0;q[e+4>>2]=e;q[e+48>>2]=e;p$(e,f,(w(b,24)+k|0)+48|0);c=q[k>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}Da=d+1920|0;return}I(254947,254913,437,254975);F()}I(254987,254913,438,254975);F()}I(255014,254913,439,254975);F()}I(254904,254913,156,254931);F()}I(255049,254913,170,255064);F()}I(255078,254913,462,255095);F()}function AT(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,u=0;l=Da-32|0;Da=l;k=q[c+88>>2];m=q[a+112>>2];i=d+3|0;a:{if(q[c+52>>2]!=1265525857|i>>>0>e>>>0){break a}a=w(d,20)+k|0;if(r[a+12|0]&32|r[a+18|0]!=16){break a}g=d+1|0;a=w(g,20)+k|0;if(r[a+12|0]&32|r[a+18|0]!=4){break a}f=w(d+2|0,20)+k|0;if(r[f+12|0]&32|r[f+18|0]!=6){break a}kc(c,g,i);q[l+24>>2]=q[a+16>>2];g=q[a+12>>2];q[l+16>>2]=q[a+8>>2];q[l+20>>2]=g;g=q[a+4>>2];q[l+8>>2]=q[a>>2];q[l+12>>2]=g;q[a+16>>2]=q[f+16>>2];g=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=g;g=q[f+4>>2];q[a>>2]=q[f>>2];q[a+4>>2]=g;q[f+16>>2]=q[l+24>>2];a=q[l+20>>2];q[f+8>>2]=q[l+16>>2];q[f+12>>2]=a;a=q[l+12>>2];q[f>>2]=q[l+8>>2];q[f+4>>2]=a}h=q[m>>2];a=q[h+20>>2];b:{c:{d:{e:{if(!(!q[m+80>>2]|i>>>0>e>>>0)){if(a>>>0>2){break c}f:{g:{switch(a-1|0){default:f=w(d+2|0,20)+k|0;if(r[f+12|0]&32){break f}f=r[f+18|0];if(f>>>0>31){break f}g=d;i=e;if(!(1<>2]=q[f>>2];q[l+12>>2]=q[f+20>>2];h:{i:{if((a|0)==1){q[l+16>>2]=q[f+40>>2];a=m+16|0;if(q[a>>2]){break i}break d}q[l+16>>2]=0;g=d;a=m+16|0;i=e;if(!q[a>>2]){break h}}f=0;j:{while(1){if(sd(b,s[q[m+12>>2]+(f<<3)>>1],l+8|0,2,r[m+20|0])){break j}f=f+1|0;h=q[a>>2];if(f>>>0>>0){continue}break}if(q[q[m>>2]+20>>2]!=1){break d}g=d;i=e;if(!h){break h}while(1){if(sd(b,s[q[m+12>>2]+(j<<3)>>1],l+8|0,3,r[m+20|0])){break j}j=j+1|0;if(j>>>0>2]){continue}break}break d}j=1;g=d+2|0;k:{if(g>>>0>=e>>>0){break k}l:{while(1){a=w(g,20)+k|0;if(r[a+12|0]&32){break k}a=r[a+18|0];if(a>>>0>31|!(1<>2];break b}if((a|0)!=2){break c}}if(r[(w(d,20)+k|0)+18|0]!=15){break c}j=1;a=d+1|0;g=a>>>0>>0?e:a;f=d;m:{while(1){f=f+1|0;if(f>>>0>=e>>>0){break m}a=w(f,20)+k|0;if(r[a+12|0]&32){g=f;break m}a=r[a+18|0];if(1<>>0<=31:0){continue}break}g=f}i=d;break b}j=0;g=d;i=e;h=q[m>>2];break b}g=d;i=e}a=q[h+12>>2];n:{if(a>>>0>1){break n}f=e;if(!(a-1)){while(1){a=f;o:{p:{f=f+ -1|0;h=w(f,20)+k|0;if(r[h+12|0]&32){break p}n=r[h+18|0];if(n>>>0>31|!(1<>>0>3){i=f;break n}i=f;q:{r:{switch(h-1|0){case 0:case 1:break n;case 2:break r;default:break q}}if(!(p&1)){break q}break n}p=(a|0)==8|p;break o}if(r[(w(f,20)+k|0)+18|0]!=6|f>>>0<=d>>>0){break o}if(r[(w(a,20)+k|0)+ -22|0]==4){break n}}if(f>>>0>g>>>0){continue}break n}}a=j?i:g;s:{if(g>>>0>=e>>>0){i=a;break s}f=g;while(1){i=a;h=w(f,20)+k|0;t:{if(r[h+12|0]&32){break t}a=r[h+18|0];if(a>>>0>31){a=i;break t}if(!(1<>>0>=f>>>0){break t}if(r[h+ -2|0]==6){break s}}i=a;f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>=e>>>0){break n}while(1){a=w(f,20)+k|0;u:{if(r[a+12|0]&32){break u}h=r[a+18|0];if(h>>>0>31|!(1<>>0>d>>>0){f=d;while(1){h=w(f,20)+k|0;a=r[h+19|0];o[h+19|0]=a>>>0<3?a:3;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(i>>>0>>0){o[(w(i,20)+k|0)+19|0]=4}j=(d|0)==(i|0)&j&g-i>>>0<3^j;a=i+1|0;h=a>>>0>=e>>>0;v:{if(h){break v}g=a;while(1){f=g+1|0;if(r[(w(g,20)+k|0)+18|0]==7){if(f>>>0>=e>>>0){break v}while(1){w:{g=w(f,20)+k|0;x:{if(r[g+12|0]&32){break x}p=r[g+18|0];if(p>>>0>31){break x}if(1<>2];f=a;while(1){if(r[(w(f,20)+k|0)+18|0]==4){g=e+ -1|0;if(g>>>0<=f>>>0){break y}j=w(f,20)+k|0;p=(h|0)!=1265525857;while(1){z:{h=w(g,20)+k|0;A:{if(r[h+12|0]&32){break A}n=r[h+18|0];if(n>>>0>31){break A}if(1<>>0>f>>>0){continue}break y}break}h=w(g,20)+k|0;if(r[h+18|0]==4){break y}q[l+24>>2]=q[j+16>>2];p=q[j+12>>2];q[l+16>>2]=q[j+8>>2];q[l+20>>2]=p;p=q[j+4>>2];q[l+8>>2]=q[j>>2];q[l+12>>2]=p;sb(j,(w(f,20)+k|0)+20|0,w(g-f|0,20));q[h+16>>2]=q[l+24>>2];f=q[l+20>>2];q[h+8>>2]=q[l+16>>2];q[h+12>>2]=f;f=q[l+12>>2];q[h>>2]=q[l+8>>2];q[h+4>>2]=f;break y}f=f+1|0;if((f|0)!=(e|0)){continue}break}}p=e>>>0>d>>>0;if(p){g=0;f=d;while(1){j=w(f,20)+k|0;h=j;n=r[h+18|0];B:{if(!(n>>>0>31|!(1<>>0<=d>>>0){break B}j=j+ -1|0;n=r[(w(j,20)+k|0)+19|0];if((n|0)==2){continue}break}o[h+19|0]=n;break B}j=g;g=r[h+19|0];g=(g|0)==14?j:g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(a>>>0>>0){while(1){j=w(a,20)+k|0;f=r[j+18|0];C:{if(!(!(1<>>0>31))){f=i+1|0;i=a;if(f>>>0>=a>>>0){break C}while(1){i=w(f,20)+k|0;if(r[i+19|0]<=13){o[i+19|0]=r[j+19|0]}f=f+1|0;if((f|0)!=(a|0)){continue}break}i=a;break C}i=(f|0)==7?a:i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}g=w(d,20)+k|0;u=r[g+15|0];if(p){f=d;while(1){o[(w(f,20)+k|0)+15|0]=f-d;f=f+1|0;if((f|0)!=(e|0)){continue}break}}n=e-d|0;if(n>>>0>=2){h=1;while(1){i=g+w(h,20)|0;j=i;a=h;while(1){f=a;if(f){a=f+ -1|0;if(r[(g+w(a,20)|0)+19|0]>r[j+19|0]){continue}}break}if((f|0)!=(h|0)){q[l+24>>2]=q[j+16>>2];a=q[i+12>>2];q[l+16>>2]=q[i+8>>2];q[l+20>>2]=a;a=q[i+4>>2];q[l+8>>2]=q[i>>2];q[l+12>>2]=a;a=g+w(f,20)|0;sb(a+20|0,a,w(h-f|0,20));q[a+16>>2]=q[l+24>>2];f=q[l+20>>2];q[a+8>>2]=q[l+16>>2];q[a+12>>2]=f;f=q[l+12>>2];q[a>>2]=q[l+8>>2];q[a+4>>2]=f}h=h+1|0;if((n|0)!=(h|0)){continue}break}}j=e;D:{if(!p){break D}j=d;while(1){if(r[(w(j,20)+k|0)+19|0]==4){break D}j=j+1|0;if((j|0)!=(e|0)){continue}break}j=e}E:{if(!(r[m+4|0]|n>>>0>127)){if(j>>>0>=e>>>0){break E}h=j;while(1){f=r[(w(h,20)+k|0)+15|0];F:{if((f|0)==255){break F}a=h;f=d+f|0;if((a|0)!=(f|0)){while(1){i=w(f,20)+k|0;g=r[i+15|0];o[i+15|0]=255;a=a>>>0>>0?f:a;f=d+g|0;if((h|0)!=(f|0)){continue}break}}if((a|0)==(h|0)){break F}a=a+1|0;if(a-h>>>0<2){break F}kc(c,h,a)}h=h+1|0;if((h|0)!=(e|0)){continue}break}break E}if(e-j>>>0<2){break E}kc(c,j,e)}G:{if(e>>>0<=d>>>0){break G}f=d;while(1){o[(w(f,20)+k|0)+15|0]=u;f=f+1|0;if((f|0)!=(e|0)){continue}break}f=d;while(1){a=w(f,20)+k|0;if(r[a+19|0]!=1){break G}q[a+4>>2]=q[a+4>>2]|q[m+80>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}i=q[m+100>>2];a=r[m+4|0];if(!(a|q[q[m>>2]+24>>2])){i=q[m+92>>2]|i}if(j>>>0>d>>>0){f=d;while(1){g=w(f,20)+k|0;q[g+4>>2]=q[g+4>>2]|i;f=f+1|0;if((j|0)!=(f|0)){continue}break}}g=j+1|0;if(g>>>0>>0){i=q[m+104>>2]|(q[m+96>>2]|q[m+92>>2]);f=g;while(1){h=w(f,20)+k|0;q[h+4>>2]=i|q[h+4>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}H:{if(!a|q[c+52>>2]!=1147500129){break H}i=d+1|0;if(i>>>0>=j>>>0){break H}f=d;while(1){a=f;f=i;c=w(a,20)+k|0;I:{if(r[c+18|0]!=16){break I}i=w(f,20)+k|0;if(r[i+18|0]!=4){break I}a=a+2|0;if(r[(w(a,20)+k|0)+18|0]==6?(a|0)!=(j|0):0){break I}q[c+4>>2]=q[c+4>>2]|q[m+92>>2];q[i+4>>2]=q[i+4>>2]|q[m+92>>2]}i=f+1|0;if((j|0)!=(i|0)){continue}break}}J:{if(!q[m+88>>2]|j+2>>>0>=e>>>0){break J}i=q[m+28>>2];while(1){a=w(g,20)+k|0;q[l+8>>2]=q[a>>2];q[l+12>>2]=q[a+20>>2];c=g+1|0;f=0;a=0;K:{if(!i){break K}while(1){if(!sd(b,s[q[m+24>>2]+(f<<3)>>1],l+8|0,2,r[m+32|0])){f=f+1|0;a=q[m+28>>2];if(f>>>0>>0){continue}break K}break}a=w(g,20)+k|0;q[a+4>>2]=q[a+4>>2]|q[m+88>>2];a=w(c,20)+k|0;q[a+4>>2]=q[a+4>>2]|q[m+88>>2];break J}f=g+2|0;i=a;g=c;if(f>>>0>>0){continue}break}}g=d+1|0;if(g>>>0>>0){while(1){a=w(g,20)+k|0;L:{if(r[a+12|0]&32){break L}a=r[a+18|0];if(a>>>0>31|!(1<>2]=q[b+4>>2]&(q[m+100>>2]^-1)}if(f>>>0<=d>>>0){break L}b=w(f,20)+k|0;if(r[b+12|0]&32){continue}b=r[b+18|0];if(b>>>0>31|!(1<>2];q[a+40>>2]=s[b+68>>1];c=0;a:{if(Ne(b,1970170211)){break a}c=q[b+100>>2];Na(h+19088|4,0,2756);q[h+19088>>2]=c;q[a+9568>>2]=0;q[a+52>>2]=0;c=q[q[(q[q[a>>2]+8>>2]<<2)+284112>>2]+16>>2];d=He();f=r[c|0];b:{if(f){while(1){if((f&255)==32){while(1){e=r[c+1|0];c=c+1|0;if((e|0)==32){continue}break}}c=Ff(c,a,d,h+25728|0);c:{if(t[h+25728>>2]>1){break c}if(h){q[h>>2]=q[d+76>>2]}e=q[d+88>>2];Ge(d,h);if(!q[h>>2]){break c}e=q[e>>2];if(!e){break c}Xd(d);if(Yc(b,e,1)){break b}d=q[b+84>>2];if(p[d+110>>1]<1){break b}c=Na(h,0,19076);e=q[a+40>>2];q[c+16>>2]=0;q[c+20>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+8>>2]=65536;q[c+12>>2]=65536;q[c+40>>2]=e;q[c+4>>2]=b;q[c+21828>>2]=0;q[c+21836>>2]=c;if(bh(c+19088|0,d+108|0)){break b}q[c+25728>>2]=0;if(Ef(c+19088|0,0)){break b}ah(c+19088|0,0,0,0);d=q[c+19132>>2];if((d|0)>=1){f=q[c+19140>>2];e=f+w(d,44)|0;while(1){d=q[f+20>>2];if(!(!d|d>>>0<=f>>>0|(q[d+20>>2]!=(f|0)|m>>>0>15))){g=p[f+2>>1]-p[d+2>>1]|0;d=g>>31;q[(w(m,12)+a|0)+56>>2]=d^d+g;m=m+1|0}f=f+44|0;if(f>>>0>>0){continue}break}q[c+25728>>2]=m}Li(c+25728|0,a+56|0,t[c+40>>2]/100|0);q[a+52>>2]=q[c+25728>>2];m=0;q[c+25728>>2]=0;if(Ef(c+19088|0,1)){break b}ah(c+19088|0,0,0,1);d=q[c+20480>>2];if((d|0)>=1){f=q[c+20488>>2];e=f+w(d,44)|0;while(1){d=q[f+20>>2];if(!(!d|d>>>0<=f>>>0|(q[d+20>>2]!=(f|0)|m>>>0>15))){g=p[f+2>>1]-p[d+2>>1]|0;d=g>>31;q[(w(m,12)+a|0)+9572>>2]=d^d+g;m=m+1|0}f=f+44|0;if(f>>>0>>0){continue}break}q[c+25728>>2]=m}Li(c+25728|0,a+9572|0,t[c+40>>2]/100|0);q[a+9568>>2]=q[c+25728>>2];break b}f=r[c|0];if(f){continue}break}}Xd(d)}if(q[a+52>>2]){c=q[a+56>>2]}else{c=(w(q[a+40>>2],50)|0)/2048|0}o[a+256|0]=0;q[a+252>>2]=c;q[a+248>>2]=(c|0)/5;if(q[a+9568>>2]){c=q[a+9572>>2]}else{c=(w(q[a+40>>2],50)|0)/2048|0}o[a+9772|0]=0;q[a+9768>>2]=c;q[a+9764>>2]=(c|0)/5;Ll(h+19088|0);Y=t[a+40>>2]/14|0;T=q[a>>2];c=q[T+12>>2];L=He();c=(c<<3)+278512|0;f=q[c>>2];if((f|0)!=5326){while(1){y=c;G=f+273184|0;c=r[G|0];d:{if(!c){break d}E=0;z=0;H=0;m=0;while(1){if((c&255)==32){while(1){c=r[G+1|0];G=G+1|0;if((c|0)==32){continue}break}}G=Ff(G,a,L,h+25772|0);U=q[h+25772>>2];e:{if(!U){break e}A=o[y+4|0]&1?-2147483648:2147483647;M=0;N=0;while(1){c=h+25728|0;if(c){q[c>>2]=q[L+76>>2]}c=q[L+88>>2];d=Ge(L,h+25728|0);f:{if(t[h+25728>>2]<=M>>>0){break f}g=c;c=w(M,20);e=q[g+c>>2];if(!e){break f}P=q[(c+d|0)+12>>2];if(Yc(b,e,1)){break f}c=q[b+84>>2];if(p[c+110>>1]<3){break f}Q=0;k=p[c+108>>1];g:{if((k|0)<1){l=0;I=s[y+4>>1];break g}I=q[c+120>>2];F=q[c+116>>2];n=q[c+112>>2];d=-1;B=0;C=0;j=0;u=0;l=0;while(1){i=p[I+(u<<1)>>1];if((j|0)<(i|0)){e=d;c=j;f=c;h:{if(r[y+4|0]&3){while(1){g=q[((c<<3)+n|0)+4>>2];f=g+P|0;i:{if(!((g|0)<=(l|0)?(e|0)>=0:0)){H=(H|0)>(f|0)?H:f;l=g;e=c;break i}m=(m|0)<(f|0)?m:f}g=(c|0)==(i|0);c=c+1|0;if(!g){continue}break h}}while(1){c=q[((f<<3)+n|0)+4>>2];g=c+P|0;j:{if(!((c|0)>=(l|0)?(e|0)>=0:0)){m=(m|0)<(g|0)?m:g;l=c;e=f;break j}H=(H|0)>(g|0)?H:g}c=(f|0)!=(i|0);f=f+1|0;if(c){continue}break}}c=(e|0)==(d|0);B=c?B:j;C=c?C:i;d=e}j=i+1|0;u=u+1|0;if((k|0)!=(u|0)){continue}break}if((d|0)<=-1){I=s[y+4>>1];break g}O=q[(d<<3)+n>>2];i=d;c=(r[d+F|0]&3)==1?d:-1;f=c;k:{while(1){e=(i|0)>(B|0)?i+ -1|0:C;k=(e<<3)+n|0;j=q[k+4>>2]-l|0;g=j>>31;j=g^g+j;if((j|0)>=6){k=q[k>>2]-O|0;g=k>>31;if((g^g+k)<=(w(j,20)|0)){break k}}g=(r[e+F|0]&3)==1;f=(f|0)<0?g?e:f:f;c=g?e:c;i=e;if((e|0)!=(d|0)){continue}break}i=d}g=d;l:{while(1){e=(g|0)<(C|0)?g+1|0:B;R=(e<<3)+n|0;j=q[R+4>>2]-l|0;k=j>>31;j=k^j+k;if((j|0)>=6){u=q[R>>2]-O|0;k=u>>31;if((k^k+u)<=(w(j,20)|0)){break l}}g=(r[e+F|0]&3)==1;c=(c|0)<0?g?e:c:c;f=g?e:f;g=e;if((e|0)!=(d|0)){continue}break}g=d}I=s[y+4>>1];m:{n:{if(!(I&16)){break n}k=q[(g<<3)+n>>2]-q[(i<<3)+n>>2]|0;e=k>>31;e=e^e+k;k=q[a+40>>2];V=(k>>>0)/25|0;if((e|0)>=(V|0)){break n}e=d;if(((g-i|0)+2|0)>(C-B|0)){break n}while(1){e=(e|0)>(B|0)?e+ -1|0:C;W=q[(e<<3)+n>>2];if((e|0)!=(d|0)?(W|0)==(O|0):0){continue}break}if((e|0)==(d|0)){break f}Z=k>>>2|0;S=0;k=g;e=g;j=0;d=0;while(1){if(!S){S=1;k=e;j=(r[e+F|0]&3)==1?e:-1;d=j}e=(e|0)<(C|0)?e+1|0:B;v=(k<<3)+n|0;u=q[v+4>>2];D=l-u|0;x=D>>31;o:{p:{if((x^x+D)>(Z|0)){break p}x=(e<<3)+n|0;J=q[x+4>>2]-u|0;D=J>>31;D=D^D+J;q:{if((D|0)<=5){J=q[x>>2];x=q[v>>2];v=J-x|0;break q}J=q[x>>2];x=q[v>>2];v=J-x|0;K=v>>31;if((K^v+K)<=(w(D,20)|0)){break p}}K=(r[e+F|0]&3)==1;j=(j|0)<0?K?e:j:j;d=K?e:d;if(((W|0)<(O|0)|0)==((J|0)<=(x|0)|0)){break o}K=v;v=v>>31;if((K+v^v)<(V|0)){break o}g=w(D,20);while(1){e=(e|0)<(C|0)?e+1|0:B;f=q[((e<<3)+n|0)+4>>2]-u|0;c=f>>31;r:{if((c^c+f)<6){break r}f=q[R>>2]-x|0;c=f>>31;if((c^c+f)>(g|0)){break r}g=(e|0)>(B|0)?e+ -1|0:C;break m}j=(j|0)<0?(r[e+F|0]&3)==1?e:j:j;d=e;if((e|0)!=(i|0)){continue}break}g=i;d=g;break m}S=0}if((e|0)!=(i|0)){continue}break}}u=l;k=i;j=c;d=f}l=u+P|0;if((d|j)>=0){d=q[(d<<3)+n>>2]-q[(j<<3)+n>>2]|0;c=d>>31;if((c^c+d)>(Y|0)){break g}}if((r[g+F|0]&3)==1?(r[k+F|0]&3)==1:0){break g}Q=1;if(I&4){break f}}if(I&1){c=(l|0)>(A|0);A=c?l:A;N=c?Q:N;break f}c=(l|0)<(A|0);A=c?l:A;N=c?Q:N}M=M+1|0;if((U|0)!=(M|0)){continue}break}if(A+ -2147483647>>>0<2){break e}if(N&255){q[(h+19088|0)+(z<<2)>>2]=A;z=z+1|0;break e}q[(E<<2)+h>>2]=A;E=E+1|0}c=r[G|0];if(c){continue}break}if(!(z|E)){break d}g=1;if(z>>>0>=2){while(1){e=q[(h+19088|0)+(g<<2)>>2];c=g;while(1){d=c+ -1|0;i=(h+19088|0)+(d<<2)|0;f=q[i>>2];if((e|0)<(f|0)){q[(h+19088|0)+(c<<2)>>2]=f;q[i>>2]=e;c=d;if(c){continue}}break}g=g+1|0;if((z|0)!=(g|0)){continue}break}}g=1;if(E>>>0>=2){while(1){e=q[(g<<2)+h>>2];c=g;while(1){d=c+ -1|0;i=(d<<2)+h|0;f=q[i>>2];if((e|0)<(f|0)){q[(c<<2)+h>>2]=f;q[i>>2]=e;c=d;if(c){continue}}break}g=g+1|0;if((E|0)!=(g|0)){continue}break}}c=q[a+9776>>2];q[a+9776>>2]=c+1;c=w(c,36)+a|0;d=c+9792|0;e=c+9780|0;s:{t:{if(!E){f=q[(h+19088|0)+(z<<1&-4)>>2];break t}f=q[(E<<1&-4)+h>>2];if(!z){break t}q[e>>2]=f;g=q[(h+19088|0)+(z<<1&-4)>>2];q[d>>2]=g;if((f|0)==(g|0)){l=s[y+4>>1];break s}l=s[y+4>>1];if(((l&3)!=0|0)==((g|0)>(f|0)|0)){break s}i=d;d=(f+g|0)/2|0;q[i>>2]=d;q[e>>2]=d;break s}q[d>>2]=f;q[e>>2]=f;l=s[y+4>>1]}d=c+9812|0;e=l<<1&2;q[d>>2]=e;q[c+9808>>2]=m;q[c+9804>>2]=H;c=s[y+4>>1];if(!(c&14)){break d}g=d;d=c<<1;d=e|d&4|d&8;q[g>>2]=c&8?d|16:d}c=y+8|0;f=q[y+8>>2];if((f|0)!=5326){continue}break}}Xd(L);e=q[a+9776>>2];if(e){c=0;while(1){q[(h+25728|0)+(c<<2)>>2]=(w(c,36)+a|0)+9780;c=c+1|0;if((e|0)!=(c|0)){continue}break}if(e>>>0>=2){i=1;while(1){c=q[(h+25728|0)+(i<<2)>>2];f=i;while(1){d=f+ -1|0;l=(h+25728|0)+(d<<2)|0;g=q[l>>2];if(q[(r[c+32|0]&6?0:12)+c>>2]>2]){f=(h+25728|0)+(f<<2)|0;c=q[f>>2];q[f>>2]=g;q[l>>2]=c;f=d;if(d){continue}}break}i=i+1|0;if((e|0)!=(i|0)){continue}break}}g=e+ -1|0;if(g){f=q[h+25728>>2];e=q[f+32>>2];c=0;while(1){d=(e&6?12:0)+f|0;c=c+1|0;f=q[(h+25728|0)+(c<<2)>>2];e=q[f+32>>2];i=q[(e&6?12:0)+f>>2];if(q[d>>2]>(i|0)){q[d>>2]=i}if((c|0)!=(g|0)){continue}break}}m=0;q[h+16>>2]=q[72328];c=q[72327];q[h+8>>2]=q[72326];q[h+12>>2]=c;c=q[72325];q[h>>2]=q[72324];q[h+4>>2]=c;c=h;e=He();i=0;u:{while(1){c=Ff(c,a,e,h+25728|0);v:{if(t[h+25728>>2]>1){break v}d=h+19088|0;if(d){q[d>>2]=q[e+76>>2]}d=q[e+88>>2];g=Ge(e,h+19088|0);if(!q[h+19088>>2]|!q[d>>2]){break v}d=q[g>>2];if(!(m&255)){m=1;i=d;break v}if((d|0)==(i|0)){break v}c=0;break u}if(r[c|0]){continue}break}c=1}Xd(e);o[a+32|0]=c;c=0;break a}a=q[a+36>>2];d=q[a+4>>2];if((d|0)>=1){a=q[a+8>>2];e=q[T>>2];c=0;while(1){g=a+(c<<1)|0;if((e|0)==(s[g>>1]&16383)){p[g>>1]=65}c=c+1|0;if((d|0)!=(c|0)){continue}break}}c=-1}$d(b,X);Da=h+25776|0;return c|0}function oR(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=Da-144|0;Da=f;e=p[b+2>>1];if(!(!e|!s[b>>1])){Na(f+8|0,0,128);A=q[c>>2];q[f+24>>2]=A;C=f,D=Oa(A,40,0,e,0,f+140|0),q[C+16>>2]=D;g=q[f+140>>2];a:{if(g){break a}i=Oa(A,8,0,p[b>>1],0,f+140|0);q[f+20>>2]=i;g=q[f+140>>2];if(g){break a}u=p[b+2>>1];q[f+8>>2]=u;e=p[b>>1];q[f+12>>2]=e;k=q[f+16>>2];if(e){v=e>>>0>1?e:1;x=q[b+12>>2];e=0;while(1){h=p[x+(l<<1)>>1];j=k+w(e,40)|0;q[i>>2]=j;m=h+1|0;g=m-e|0;q[i+4>>2]=g;if(g){q[j>>2]=k+w(h,40);q[j+8>>2]=i;e=j;if((g|0)!=1){while(1){q[e+48>>2]=i;h=e+40|0;q[e+4>>2]=h;q[e+40>>2]=e;e=h;g=g+ -1|0;if(g>>>0>1){continue}break}}q[e+4>>2]=j}i=i+8|0;e=m;l=l+1|0;if((v|0)!=(l|0)){continue}break}}b:{if(!u){q[f+32>>2]=c;q[f+28>>2]=b;break b}h=q[b+4>>2];g=0;e=k;while(1){v=(q[e+4>>2]-k|0)/40|0;l=(q[e>>2]-k|0)/40|0;if(!(o[q[b+8>>2]+g|0]&1)){q[e+12>>2]=1}B=e;m=h+(g<<3)|0;x=q[m+4>>2];l=h+(l<<3)|0;z=x-q[l+4>>2]|0;j=z>>31;i=q[m>>2];u=i-q[l>>2]|0;l=u>>31;j=j^j+z;m=l^u+l;l=(u|0)>-1?2:-2;c:{if((w(j,12)|0)<(m|0)){break c}l=4;if((w(m,12)|0)>=(j|0)){break c}l=(z|0)>-1?-1:1}o[B+20|0]=l;B=e;m=h+(v<<3)|0;v=q[m+4>>2]-x|0;j=v>>31;x=q[m>>2]-i|0;m=x>>31;i=j^j+v;m=m^m+x;j=(x|0)>-1?2:-2;d:{if((w(i,12)|0)<(m|0)){break d}j=4;if((w(m,12)|0)>=(i|0)){break d}j=(v|0)>-1?-1:1}o[B+21|0]=j;m=q[e+12>>2];e:{if(m&1){q[e+12>>2]=m|2;break e}if((j|0)!=(l|0)){break e}l=e;if((j|0)==4){if(!Dq(u,z,x,v)){break e}m=q[e+12>>2]}q[l+12>>2]=m|2}e=e+40|0;g=g+1|0;i=q[f+8>>2];if(g>>>0>>0){continue}break}g=q[b+4>>2];q[f+32>>2]=c;q[f+28>>2]=b;if(!i){break b}e=q[f+16>>2];while(1){q[e+24>>2]=0;q[e+16>>2]=0;q[e+28>>2]=q[g>>2];q[e+32>>2]=q[g+4>>2];g=g+8|0;e=e+40|0;i=i+ -1|0;if(i){continue}break}}if(q[f+12>>2]){while(1){b=q[f+20>>2]+(y<<3)|0;f:{if(t[b+4>>2]<4){break f}b=q[b>>2];e=b;while(1){e=q[e+4>>2];if((b|0)==(e|0)){break f}j=q[e+32>>2]-q[b+32>>2]|0;l=q[e+28>>2]-q[b+28>>2]|0;if(!(j|l)){continue}break}k=b;while(1){m=k;k=q[k>>2];if((b|0)==(k|0)){break f}g=q[m+32>>2]-q[k+32>>2]|0;h=q[m+28>>2]-q[k+28>>2]|0;if(!(g|h)){continue}i=Gq(l,j,h,g);if(!i){continue}break}l=m;while(1){z=i;u=g;v=h;j=l;k=0;while(1){i=q[e+32>>2];b=q[e+28>>2];while(1){l=e;e=q[e+4>>2];x=q[e+28>>2];h=x-b|0;b=q[e+32>>2];g=b-i|0;k=(e|0)==(m|0)?1:k;i=b;b=x;if(!(g|h)){continue}break}i=Gq(v,u,h,g);if(!i){continue}break}if((i^z)<=-1){while(1){q[j+12>>2]=q[j+12>>2]|4;j=q[j+4>>2];if((j|0)!=(l|0)){continue}break}q[l+12>>2]=q[l+12>>2]|4}if(!k){continue}break}}y=y+1|0;if(y>>>0>2]){continue}break}}g=Fs(f+36|0,a+16|0,a+28|0,A);q[f+140>>2]=g;if(g){break a}g=Fs(f+76|0,a+52|0,a- -64|0,A);if(g){break a}a=q[f+32>>2];x=q[a+200>>2];m=c+416|0;z=q[a+404>>2];h=Ma(q[m>>2],z);a=h+32&-64;l=1;g:{if(!a){break g}l=1;if((a|0)==(h|0)){break g}e=bb(z,a,h);Jl(q[f+32>>2],(a|0)<(h|0)?x-((x|0)/50|0)|0:x,e,0,0);l=0}p[f+128>>1]=257;o[f+132|0]=(d|0)!=1;o[f+131|0]=(d|0)==2|(d|0)==4;o[f+130|0]=(d|1)==3;e=0;while(1){v=e;j=q[f+16>>2];d=q[f+8>>2];h:{if(!d){break h}e=q[q[f+28>>2]+4>>2];b=d;i=b;h=j;g=h;if(!v){while(1){q[h+24>>2]=0;q[h+16>>2]=0;q[h+28>>2]=q[e>>2];q[h+32>>2]=q[e+4>>2];e=e+8|0;h=h+40|0;b=b+ -1|0;if(b){continue}break h}}while(1){q[g+24>>2]=0;q[g+16>>2]=0;q[g+28>>2]=q[e+4>>2];q[g+32>>2]=q[e>>2];e=e+8|0;g=g+40|0;i=i+ -1|0;if(i){continue}break}}u=q[f+12>>2];i:{if(!u){k=0;break i}a=0;i=q[f+20>>2];while(1){j:{b=i+(a<<3)|0;if(!q[b+4>>2]){break j}b=q[b>>2];g=b;while(1){g=q[g>>2];if((b|0)==(g|0)){k=a+1|0;break i}if(q[g+28>>2]==q[b+28>>2]){continue}break}b=q[g+4>>2];e=b;while(1){h=e;while(1){e=q[e+4>>2];if((b|0)==(e|0)){break j}k=q[e+28>>2];y=q[h+28>>2];if((k|0)==(y|0)){continue}break}k:{l:{if(q[g+28>>2]<(y|0)){if((k|0)<(y|0)){break l}break k}if((k|0)<=(y|0)){break k}}while(1){q[h+16>>2]=q[h+16>>2]|64;h=q[h+4>>2];if((h|0)!=(e|0)){continue}break}}g=q[e>>2];continue}}k=0;a=a+1|0;if((u|0)!=(a|0)){continue}break}}while(1){if(k>>>0>>0){b=w(k,40);a=b+j|0;i=q[a+16>>2];m:{if(!(i&64)){break m}b=b+j|0;e=a;while(1){e=q[e>>2];if((a|0)==(e|0)){break m}h=q[e+32>>2];g=q[b+32>>2];if((h|0)==(g|0)){continue}break}e=a;while(1){e=q[e+4>>2];if((a|0)==(e|0)){break m}b=q[e+32>>2];if((b|0)==(g|0)){continue}break}if(!((b|0)<=(g|0)|(h|0)>=(g|0))){q[a+16>>2]=i|128;k=k+1|0;continue}if((h|0)<=(g|0)|(b|0)>=(g|0)){break m}q[a+16>>2]=i|256}k=k+1|0;continue}break}h=q[f+32>>2];u=(f+8|0)+w(v,40)|0;i=u+28|0;g=q[i>>2];if(g){e=q[u+36>>2];while(1){Es(e,h,v,f+8|0);e=e+28|0;g=g+ -1|0;if(g){continue}break}h=q[f+32>>2]}k=v?2:1;a=q[u+60>>2];e=q[a+8>>2];b=q[a>>2];a=Za(32,q[(w(v,204)+h|0)+200>>2]);j=(a|0)<30?a:30;n:{o:{p:{if(b>>>0>=2){g=q[f+8>>2];if(!g){d=0;break n}a=q[e+12>>2];h=a>>>0>g>>>0?g:a;while(1){a=q[e+28>>2];a=a>>>0>>0?a:g;if(a>>>0>h>>>0){d=q[f+16>>2];Ds(i,q[e+16>>2],q[e+24>>2]);Cs(q[u+32>>2],q[u+40>>2],d+w(h,40)|0,a-h|0,j,k)}b=b+ -1|0;if(b>>>0<2){break p}e=e+16|0;g=q[f+8>>2];h=a;continue}}if((b|0)!=1){break o}}d=q[f+16>>2];b=q[f+8>>2];a=q[q[u+60>>2]+8>>2];Ds(i,q[a>>2],q[a+8>>2]);Cs(q[u+32>>2],q[u+40>>2],d,b,j,k)}d=q[f+8>>2];if(!d){d=0;break n}e=q[f+16>>2];g=d;while(1){q:{if(!q[e+24>>2]){break q}a=q[e+16>>2];if(a&16){break q}q[e+16>>2]=a|16}e=e+40|0;g=g+ -1|0;if(g){continue}break}}a=q[f+16>>2];r:{if((v|0)!=1){As(d,a,q[f+32>>2],v);zs(f+8|0,v);ys(q[f+12>>2],q[f+20>>2],q[f+32>>2],v);h=q[f+8>>2];if(!h){break r}a=q[f+28>>2];j=q[a+8>>2];d=q[a+4>>2];e=q[f+16>>2];b=v?64:32;g=0;if(!v){while(1){q[d+(g<<3)>>2]=q[e+36>>2];if(r[e+16|0]&16){a=g+j|0;o[a|0]=b|r[a|0];h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break r}}while(1){q[(d+(g<<3)|0)+4>>2]=q[e+36>>2];if(r[e+16|0]&16){a=g+j|0;o[a|0]=b|r[a|0];h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break}break r}h=a;j=d;if(j){while(1){b=r[h+20|0];s:{t:{if((b|0)==2|(b|0)==254){break t}b=r[h+21|0];if((b|0)==254){break t}if((b|0)!=2){break s}}b=q[h+16>>2];if(b&16){break s}y=q[h+28>>2];i=q[c+412>>2];u:{if(!i){break u}u=q[c+2488>>2];g=0-u|0;e=m;while(1){k=y-q[e+12>>2]|0;if((k|0)<(g|0)){break u}if(!((y|0)>(u+q[e+8>>2]|0)|((k|0)>q[c+2484>>2]?!r[c+2492|0]:0))){k=q[e+24>>2];b=b|48;q[h+16>>2]=b;q[h+36>>2]=k}e=e+32|0;i=i+ -1|0;if(i){continue}break}}i=q[c+928>>2];if(!i){break s}u=q[c+2488>>2];g=0-u|0;e=((i<<5)+c|0)+932|0;while(1){k=q[e+ -24>>2]-y|0;if((k|0)<(g|0)){break s}if(!((y|0)<(q[e+ -20>>2]-u|0)|((k|0)>=q[c+2484>>2]?!r[c+2492|0]:0))){k=q[e+ -4>>2];b=b|48;q[h+16>>2]=b;q[h+36>>2]=k}e=e+ -32|0;i=i+ -1|0;if(i){continue}break}}h=h+40|0;j=j+ -1|0;if(j){continue}break}}As(d,a,q[f+32>>2],1);zs(f+8|0,1);ys(q[f+12>>2],q[f+20>>2],q[f+32>>2],1);h=q[f+8>>2];if(!h){break r}a=q[f+28>>2];d=q[a+8>>2];b=q[a+4>>2];g=0;e=q[f+16>>2];while(1){q[(b+(g<<3)|0)+4>>2]=q[e+36>>2];if(r[e+16|0]&16){a=d+g|0;o[a|0]=r[a|0]|64;h=q[f+8>>2]}e=e+40|0;g=g+1|0;if(g>>>0>>0){continue}break}}if(!l){Jl(q[f+32>>2],x,z,0,0)}g=0;e=1;if(!v){continue}break}}c=q[f+24>>2];b=c;a=q[f+100>>2];if(a){n[q[b+8>>2]](b,a)}q[f+104>>2]=0;q[f+96>>2]=0;q[f+100>>2]=0;a=q[f+88>>2];if(a){n[q[c+8>>2]](c,a)}q[f+88>>2]=0;a=q[f+84>>2];if(a){n[q[c+8>>2]](c,a)}q[f+84>>2]=0;q[f+92>>2]=0;q[f+76>>2]=0;q[f+80>>2]=0;a=q[f+60>>2];if(a){n[q[c+8>>2]](c,a)}q[f- -64>>2]=0;q[f+56>>2]=0;q[f+60>>2]=0;a=q[f+48>>2];if(a){n[q[c+8>>2]](c,a)}q[f+48>>2]=0;a=q[f+44>>2];if(a){n[q[c+8>>2]](c,a)}q[f+44>>2]=0;q[f+52>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;a=q[f+16>>2];if(a){n[q[c+8>>2]](c,a)}q[f+16>>2]=0;a=q[f+20>>2];if(a){n[q[c+8>>2]](c,a)}q[f+8>>2]=0;q[f+12>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0}Da=f+144|0;return g|0}function fX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-96|0;Da=e;a:{if(q[a+24>>2]==13){c=q[a+140>>2];q[e+88>>2]=q[a+136>>2];q[e+92>>2]=c;c=q[a+132>>2];q[e+80>>2]=q[a+128>>2];q[e+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+32|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[e+80>>3]=v[e+80>>3]+v[c>>3];v[e+88>>3]=v[e+88>>3]+v[d>>3];c=q[e+92>>2];q[e+72>>2]=q[e+88>>2];q[e+76>>2]=c;c=q[e+84>>2];q[e+64>>2]=q[e+80>>2];q[e+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]- -64|0}g:{if(!k){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+96|0}i:{if(!k){break i}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break i}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[e+64>>3]=v[e+64>>3]+v[c>>3];v[e+72>>3]=v[e+72>>3]+v[d>>3];c=q[e+76>>2];q[e+56>>2]=q[e+72>>2];q[e+60>>2]=c;c=q[e+68>>2];q[e+48>>2]=q[e+64>>2];q[e+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+160|0}m:{if(!k){break m}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break m}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[e+48>>3]=v[e+48>>3]+v[c>>3];v[e+56>>3]=v[e+56>>3]+v[d>>3];c=q[e+60>>2];q[e+40>>2]=q[e+56>>2];q[e+44>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}p:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+36>>2]+224|0}q:{if(!k){break q}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break q}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break q}q[d+20>>2]=0}v[e+32>>3]=v[e+32>>3]+v[c>>3];v[e+40>>3]=v[e+40>>3]+v[d>>3];c=q[e+44>>2];q[e+24>>2]=q[e+40>>2];q[e+28>>2]=c;c=q[e+36>>2];q[e+16>>2]=q[e+32>>2];q[e+20>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}r:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break r}c=q[a+36>>2]+256|0}s:{if(!k){break s}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break s}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break s}q[c+20>>2]=0}if(t[a+24>>2]<=9){o[a+20|0]=1}t:{if(j>>>0<=9){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break t}d=q[a+36>>2]+288|0}u:{if(!k){break u}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break u}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break u}q[d+20>>2]=0}v[e+16>>3]=v[e+16>>3]+v[c>>3];v[e+24>>3]=v[e+24>>3]+v[d>>3];c=q[e+28>>2];q[e+8>>2]=q[e+24>>2];q[e+12>>2]=c;c=q[e+20>>2];q[e>>2]=q[e+16>>2];q[e+4>>2]=c;if(t[a+24>>2]<=10){o[a+20|0]=1}v:{if(j>>>0<=10){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break v}c=q[a+36>>2]+320|0}w:{if(!k){break w}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break w}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break w}q[c+20>>2]=0}if(t[a+24>>2]<=11){o[a+20|0]=1}x:{if(j>>>0<=11){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break x}d=q[a+36>>2]+352|0}y:{if(!k){break y}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break y}k=q[d+24>>2];h=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[k+(f<<3)>>3]*+u[h+(f<<2)>>2];f=f+1|0;if((j|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break y}q[d+20>>2]=0}v[e>>3]=v[e>>3]+v[c>>3];v[e+8>>3]=v[e+8>>3]+v[d>>3];pb(a,b,e+80|0,e- -64|0,e+48|0);pb(a,b,e+32|0,e+16|0,e);break a}o[a+40|0]=1}Da=e+96|0}function lT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0;j=Da-48|0;Da=j;a:{b:{if(!q[b+76>>2]){break b}if((r[b+164|0]&48)!=48){break a}g=q[a+20>>2];f=q[g+24>>2];q[j+24>>2]=c;q[j+20>>2]=b;q[j+16>>2]=a;q[j+28>>2]=q[b+12>>2];h=q[g+28>>2];q[j+32>>2]=h?h:562;h=q[g+32>>2];q[j+36>>2]=h?h:563;d=b;if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}q[d+72>>2]=0;v=(f|0)==4?2:f;x=!v;y=x|(v|2)!=3;u=q[d+76>>2];f=0;m=1;c:{d:{e:{while(1){b=f+1|0;g=u>>>0>b>>>0?u:b;b=f;while(1){f:{h=b;b=b+1|0;if(b>>>0>=u>>>0){h=g;break f}if(!(1<<(s[(q[d+88>>2]+w(b,20)|0)+16>>1]&31)&7168)){continue}}break}g:{if(!y){break g}b=q[d+88>>2]+w(f,20)|0;g=b;e=b+12|0;b=q[c+72>>2];b=n[q[b+160>>2]](c,q[c+76>>2],h-f|0,g,20,e,20,q[b+24>>2])|0;if(r[d+69|0]){h:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break h}}if(!Va(d,b,b)){f=q[d+72>>2];break g}sb(q[d+92>>2]+w(q[d+80>>2],20)|0,q[d+88>>2]+w(q[d+72>>2],20)|0,w(b,20));f=q[d+80>>2]}q[d+80>>2]=b+f}f=b+q[d+72>>2]|0;q[d+72>>2]=f}i:{if(!r[d+68|0]|f>>>0>=h>>>0){break i}while(1){Bt(j+16|0,y);f=q[d+72>>2];if(f>>>0>=h>>>0){break i}if(r[d+68|0]){continue}break}}if(!r[d+68|0]|(f|0)==(u|0)){break e}b=f+1|0;g=u>>>0>b>>>0?u:b;b=g+ -1|0;while(1){j:{h=f;f=f+1|0;if(f>>>0>=u>>>0){h=b;f=g;break j}if(1<<(s[(q[d+88>>2]+w(f,20)|0)+16>>1]&31)&7168){continue}}break}e=q[j+20>>2];g=q[e+72>>2];k:{if(g>>>0>=f>>>0){break k}l=r[e+68|0];if(!l){break k}m=q[e+88>>2];b=g;l:{while(1){i=q[w(b,20)+m>>2];if(!((i&-16)==65024|i+ -917760>>>0<=239)){i=(b|0)==(h|0);b=b+1|0;if(!i){continue}break l}break}k=q[j+24>>2];m:{if(g>>>0>=h>>>0){break m}while(1){b=w(g,20)+m|0;q[b+12>>2]=0;i=b+12|0;g=q[b>>2];l=q[k+72>>2];b=q[b+20>>2];n:{if(!(b+ -917760>>>0>239?(b&-16)!=65024:0)){o:{if(n[q[l+164>>2]](k,q[k+76>>2],g,b,i,q[l+28>>2])){q[j+44>>2]=q[q[e+88>>2]+w(q[e+72>>2],20)>>2];ch(e,2,1,j+44|0);break o}b=q[e+88>>2]+w(q[e+72>>2],20)|0;q[b+12>>2]=0;g=q[b>>2];i=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i,q[b+20>>2])|0;p:{if(r[e+69|0]){q:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break q}}if(!Va(e,1,1)){b=q[e+72>>2];break p}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}b=q[e+72>>2]+1|0;q[e+72>>2]=b}b=q[e+88>>2]+w(b,20)|0;q[b+12>>2]=0;g=q[b>>2];i=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i,q[b+20>>2])|0;if(r[e+69|0]){r:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break r}}if(!Va(e,1,1)){break o}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}q[e+72>>2]=q[e+72>>2]+1}g=q[e+72>>2];if(g>>>0>=f>>>0){break n}while(1){i=q[e+88>>2]+w(g,20)|0;b=q[i>>2];if(b+ -917760>>>0>239?(b&-16)!=65024:0){break n}q[i+12>>2]=0;g=b;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],g,i+12|0,q[b+20>>2])|0;s:{if(r[e+69|0]){t:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break t}}if(!Va(e,1,1)){g=q[e+72>>2];break s}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}g=q[e+72>>2]+1|0;q[e+72>>2]=g}if(g>>>0>>0){continue}break}break n}n[q[l+156>>2]](k,q[k+76>>2],g,i,q[l+20>>2])|0;if(r[e+69|0]){u:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break u}}if(!Va(e,1,1)){g=q[e+72>>2];break n}g=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[g+4>>2];i=q[e+92>>2]+w(q[e+80>>2],20)|0;q[i>>2]=q[g>>2];q[i+4>>2]=b;q[i+16>>2]=q[g+16>>2];b=q[g+12>>2];q[i+8>>2]=q[g+8>>2];q[i+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}g=q[e+72>>2]+1|0;q[e+72>>2]=g}if(!r[e+68|0]|g>>>0>=h>>>0){break m}m=q[e+88>>2];continue}}if(g>>>0>=f>>>0){break k}b=q[e+88>>2]+w(g,20)|0;q[b+12>>2]=0;h=q[b>>2];f=b+12|0;b=q[k+72>>2];n[q[b+156>>2]](k,q[k+76>>2],h,f,q[b+20>>2])|0;if(r[e+69|0]){v:{if(q[e+92>>2]==q[e+88>>2]){b=q[e+80>>2];if((b|0)==q[e+72>>2]){break v}}if(!Va(e,1,1)){break k}h=q[e+88>>2]+w(q[e+72>>2],20)|0;b=q[h+4>>2];f=q[e+92>>2]+w(q[e+80>>2],20)|0;q[f>>2]=q[h>>2];q[f+4>>2]=b;q[f+16>>2]=q[h+16>>2];b=q[h+12>>2];q[f+8>>2]=q[h+8>>2];q[f+12>>2]=b;b=q[e+80>>2]}q[e+80>>2]=b+1}q[e+72>>2]=q[e+72>>2]+1;break k}if(!l){break k}while(1){Bt(j+16|0,x);if(t[e+72>>2]>=f>>>0){break k}if(r[e+68|0]){continue}break}}f=q[d+72>>2];if(f>>>0>>0){m=0;if(r[d+68|0]){continue}}break}Kc(d);break d}Kc(d);f=0;if(m&1){break c}}l=q[d+76>>2];if(!l){f=1;break c}h=0;while(1){i=q[d+88>>2];b=s[(i+w(h,20)|0)+16>>1];w:{if(b>>>0<256){b=h;break w}if(!(1<<(b&31)&7168)){b=h;break w}b=h+1|0;f=l>>>0>b>>>0?l:b;b=h;while(1){x:{b=b+1|0;if(b>>>0>=l>>>0){b=f;break x}g=s[(i+w(b,20)|0)+16>>1];if(g>>>0<256){break x}if(1<<(g&31)&7168){continue}}break}if(b-h>>>0>32){break w}Xs(d,h,b,564);f=q[q[a+20>>2]+44>>2];if(!f){break w}n[f](a,d,h,b)}f=1;h=b+1|0;if(h>>>0>>0){continue}break}}y:{if(!(r[d+32|0]&32)){break y}m=q[d+76>>2];if(m>>>0<3){break y}b=1;a=2;while(1){h=b;b=a;a=w(h,20);h=q[d+88>>2];g=a+h|0;z:{if(q[g>>2]!=847){break z}a=s[g+ -4>>1];e=1<<(a&31)&7168?a>>>8|0:0;a=s[(h+w(b,20)|0)+16>>1];if(e>>>0>(1<<(a&31)&7168?a>>>8|0:0)>>>0){break z}p[g+16>>1]=s[g+16>>1]&65471;m=q[d+76>>2]}a=b+1|0;if(a>>>0>>0){continue}break}}if(f^1|(v|1)!=3){break b}if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}l=q[d+76>>2];A:{if(r[d+69|0]){B:{if(q[d+92>>2]==q[d+88>>2]){b=q[d+80>>2];if((b|0)==q[d+72>>2]){break B}}if(!Va(d,1,1)){f=q[d+72>>2];break A}b=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[b+4>>2];h=q[d+92>>2]+w(q[d+80>>2],20)|0;q[h>>2]=q[b>>2];q[h+4>>2]=a;q[h+16>>2]=q[b+16>>2];a=q[b+12>>2];q[h+8>>2]=q[b+8>>2];q[h+12>>2]=a;b=q[d+80>>2]}q[d+80>>2]=b+1}f=q[d+72>>2]+1|0;q[d+72>>2]=f}C:{if(f>>>0>=l>>>0){break C}b=0;while(1){if(!r[d+68|0]){break C}D:{E:{g=q[d+88>>2]+w(f,20)|0;f=s[g+16>>1];if(!(1<<(f&31)&7168)){break E}i=q[d+92>>2];h=q[d+80>>2];a=h+ -1|0;if((a|0)!=(b|0)){a=s[(i+w(h?a:0,20)|0)+16>>1];if((1<<(a&31)&7168?a>>>8|0:0)>>>0>=f>>>8>>>0){break E}}h=w(b,20);if(!n[q[j+36>>2]](j+16|0,q[h+i>>2],q[g>>2],j+44|0)){break E}q[j+12>>2]=0;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],q[j+44>>2],j+12|0,q[a+20>>2])){break E}F:{if(r[d+69|0]){G:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break G}}if(!Va(d,1,1)){break F}f=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[f+4>>2];g=q[d+92>>2]+w(q[d+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=a;q[g+16>>2]=q[f+16>>2];a=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=a;f=q[d+80>>2]}q[d+80>>2]=f+1}q[d+72>>2]=q[d+72>>2]+1}if(r[d+68|0]!=1){break b}gf(d,b,q[d+80>>2]);q[d+80>>2]=q[d+80>>2]+ -1;a=h+q[d+92>>2]|0;q[a>>2]=q[j+44>>2];q[a+12>>2]=q[j+12>>2];Gf(h+q[d+92>>2]|0,d);break D}H:{if(r[d+69|0]){I:{if(q[d+92>>2]==q[d+88>>2]){f=q[d+80>>2];if((f|0)==q[d+72>>2]){break I}}if(!Va(d,1,1)){break H}h=q[d+88>>2]+w(q[d+72>>2],20)|0;a=q[h+4>>2];f=q[d+92>>2]+w(q[d+80>>2],20)|0;q[f>>2]=q[h>>2];q[f+4>>2]=a;q[f+16>>2]=q[h+16>>2];a=q[h+12>>2];q[f+8>>2]=q[h+8>>2];q[f+12>>2]=a;f=q[d+80>>2]}q[d+80>>2]=f+1}q[d+72>>2]=q[d+72>>2]+1}a=q[d+80>>2];h=a+ -1|0;a=s[(q[d+92>>2]+w(a?h:0,20)|0)+16>>1];b=a>>>0<256?h:1<<(a&31)&7168?b:h}f=q[d+72>>2];if(f>>>0>>0){continue}break}}Kc(d)}Da=j+48|0;return}I(270204,270178,170,270193);F()}function GV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;k=Da-32|0;Da=k;q[k+20>>2]=0;q[k+12>>2]=0;q[k+16>>2]=0;q[k+24>>2]=q[b+48>>2]+(q[c>>2]^-1);a:{b:{c:{d:{e:{if(a>>>0>293){break e}f:{switch(a-5|0){default:d=q[b+24>>2];g:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break g}h=v[q[b+36>>2]+(d<<3)>>3];break g}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}h:{if(y(h)<2147483648){e=~~h;break h}e=-2147483648}if((e|0)<=-1){o[b+20|0]=1;e=0}d=a+ -1|0;if(d>>>0<=3){break d}d=0;i=a+ -256|0;if(i>>>0>22){break c}i:{switch(i-1|0){default:d=2;break c;case 20:d=6;break c;case 21:break i;case 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:case 16:case 17:case 18:case 19:break c}}d=8;break c;case 0:case 8:case 9:case 252:case 253:case 254:case 255:case 256:case 257:case 259:case 271:case 274:case 282:case 283:case 284:case 286:q[b+24>>2]=0;break b;case 285:e=c;d=q[b+24>>2];j:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break j}h=v[q[b+36>>2]+(d<<3)>>3];break j}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}k:{if(y(h)<2147483648){d=~~h;break k}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+76>>2]=d;q[b+24>>2]=0;break b;case 281:i=c;d=q[b+24>>2];l:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(e<<3)>>3];break l}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+72>>2]=d;i=c- -64|0;n:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i>>2]=d;e=c;d=q[b+24>>2];p:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break p}h=v[q[b+36>>2]+(d<<3)>>3];break p}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}q:{if(y(h)<2147483648){d=~~h;break q}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+60>>2]=d;q[b+24>>2]=0;break b;case 11:d=q[b+24>>2];r:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break r}h=v[q[b+36>>2]+(d<<3)>>3];break r}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}s:{if(y(h)<2147483648){d=~~h;break s}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;q[c+80>>2]=0;q[b+24>>2]=0;break a}q[c+80>>2]=d;q[b+24>>2]=0;if(d){break b}break a;case 10:d=q[b+24>>2];t:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break t}h=v[q[b+36>>2]+(d<<3)>>3];break t}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}u:{if(y(h)<2147483648){d=~~h;break u}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;q[c+84>>2]=0;q[b+24>>2]=0;break a}q[c+84>>2]=d;q[b+24>>2]=0;if(d){break b}break a;case 288:e=c;d=q[b+24>>2];v:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break v}h=v[q[b+36>>2]+(d<<3)>>3];break v}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g()}w:{if(y(h)<2147483648){d=~~h;break w}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+88>>2]=d;q[b+24>>2]=0;break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 12: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: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 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 258:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 275:case 276:case 277:case 278:case 279:case 280:case 287:break e;case 13:break f}}i=c;d=q[b+24>>2];x:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break x}h=v[q[b+36>>2]+(e<<3)>>3];break x}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}y:{if(y(h)<2147483648){d=~~h;break y}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+92>>2]=d;z:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break z}h=v[q[b+36>>2]+(d<<3)>>3];break z}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}A:{if(y(h)<2147483648){d=~~h;break A}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[i+96>>2]=d;q[b+24>>2]=0;break b}q[b+48>>2]=q[b+12>>2];gu(a,b,c);if(q[b+24>>2]){break a}break b}B:{switch(d-1|0){case 2:d=5;break c;case 1:d=4;break c;case 0:d=3;break c;default:break B}}d=1}q[((d<<2)+c|0)+24>>2]=e;q[b+24>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}DV(c,a,b,k+8|0)}Da=k+32|0}function JM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,G=0,H=0;d=Da-384|0;Da=d;a:{if(!!(c<1.9)){q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if(!!(c<.5)){r=c*.085*c*c;j=c*.5+r*-4;c=0;f=0;break a}g=.5/c;c=dp(-g);j=c*E(g/3.141592653589793);g=c*c;c=c*g;r=j*c;e=g*c;c=r*e;g=c*(g*e);f=0;break a}i=d;b:{if(!!(c<6.693)){q[d+8>>2]=0;k=d;f=1;c:{if(!!(c<2.8)){break c}f=2;if(!!(c<4.4)){break c}f=3}q[k+12>>2]=f;r=1;s=f+ -1|0;break b}Wf((c+.7)/26.5,d+8|0);h=q[d+8>>2]+3>>1;q[d+8>>2]=h;r=sG(+(h|0)*-2);c=r*c;if(!!(c>2]=0;s=0;break b}if(!!(c>2]=1;f=1;s=1;break b}q[d+12>>2]=2;f=2;s=2}q[i+16>>2]=s;Na(d+304|0,0,80);g=r*r;u=g*273;j=r*g;A=(r*-126+17+u+j*-164)/12096;e=A+0;x=(r*-924+486+g*-546+j*984)/12096;C=(r*2520+5204+g*1092+j*3280)/12096;z=C*0;t=(r*-210+2943-u+j*-2460)/12096;j=z+t*0;v[d+320>>3]=A*e+(x*0+j);g=x+0;r=A*g;v[d+312>>3]=r+(j+x*e);j=t+0;u=A*j;v[d+304>>3]=u+(x*g+(z+t*e));e=C+0;v[d+296>>3]=A*e+(x*j+(C*A+t*g));g=A+t;v[d+288>>3]=u+(x*e+(C*x+t*g));j=r+(x*g+(C*t+t*(x+C)));v[d+280>>3]=j;g=A*(A+A)+(x*(x+x)+(C*C+t*(t+t)));v[d+272>>3]=g;D=s<<4;d:{if((f|0)<1){break d}h=f<<1;l=((h|0)>1?h:1)+5|0;o=6;while(1){i=o+1|0;h=0;while(1){e=j;j=g;e=e+(g+g);k=h+1|0;g=v[(d+272|0)+(k<<3)>>3];v[(d+272|0)+(h<<3)>>3]=(e+g)*.25;m=(h|0)!=(i|0);h=k;if(m){continue}break}if((l|0)==(o|0)){break d}g=v[d+272>>3];j=v[d+280>>3];o=i;continue}}c=.5/c;g=E(c/3.141592653589793);v[d+160>>3]=g;r=dp(-c);j=r*g;v[d+168>>3]=j;m=q[D+438204>>2];h=m+f|0;o=h+3|0;if((h|0)>=-1){c=r*r;l=2;while(1){r=c*r;j=j*r;v[(d+160|0)+(l<<3)>>3]=j;i=(l|0)!=(o|0);l=l+1|0;if(i){continue}break}}l=0;Na(((o<<3)+d|0)+168|0,0,72-(h<<3)|0);if((h|0)>=0){g=v[d+160>>3];c=v[d+184>>3];j=v[d+168>>3];e=j;z=v[d+176>>3];r=z;while(1){u=e;e=g;g=j;j=z;o=(d+160|0)+(l<<3)|0;z=v[o+24>>3];v[o>>3]=C*e+t*(u+g)+x*(j+r)+A*(c+z);o=(h|0)!=(l|0);l=l+1|0;c=r;r=u;if(o){continue}break}}o=0;if((f|0)>0){while(1){i=h+ -1|0;if((h|0)>=1){h=0;j=v[d+160>>3];g=v[d+168>>3];while(1){c=g;g=j;k=h+1|0;j=v[(d+160|0)+(k<<3)>>3];v[(d+160|0)+(h<<3)>>3]=(c+(g+g)+j)*.25;l=(h|0)!=(i|0);h=k;if(l){continue}break}}h=i;o=o+1|0;if((o|0)!=(f|0)){continue}break}}h=q[D+438192>>2];g=v[(d+272|0)+(h<<3)>>3];j=v[d+272>>3];c=j*3;v[d+32>>3]=v[(d+272|0)+(h<<4)>>3]+c-g*4;r=j-g;f=s<<4;o=q[f+438196>>2];u=v[(d+272|0)+(o<<3)>>3];g=r-u;g=v[(d+272|0)+(h+o<<3)>>3]+v[(d+272|0)+(o-h<<3)>>3]+(g+g);v[d+64>>3]=g;v[d+40>>3]=g;i=q[f+438200>>2];e=v[(d+272|0)+(i<<3)>>3];g=r-e;g=v[(d+272|0)+(h+i<<3)>>3]+v[(d+272|0)+(i-h<<3)>>3]+(g+g);v[d+96>>3]=g;v[d+48>>3]=g;z=v[(d+272|0)+(h+m<<3)>>3];x=v[(d+272|0)+(m-h<<3)>>3];g=v[(d+272|0)+(m<<3)>>3];v[d+72>>3]=c+v[(d+272|0)+(o<<4)>>3]-u*4;u=j-u;t=u-e;t=t+t+(v[(d+272|0)+(i+o<<3)>>3]+v[(d+272|0)+(i-o<<3)>>3]);v[d+104>>3]=t;v[d+80>>3]=t;t=u-g;t=t+t+(v[(d+272|0)+(o+m<<3)>>3]+v[(d+272|0)+(m-o<<3)>>3]);v[d+136>>3]=t;v[d+88>>3]=t;v[d+112>>3]=c+v[(d+272|0)+(i<<4)>>3]-e*4;t=j-e;e=t-g;e=e+e+(v[(d+272|0)+(i+m<<3)>>3]+v[(d+272|0)+(m-i<<3)>>3]);v[d+144>>3]=e;v[d+120>>3]=e;e=r-g;e=z+x+(e+e);v[d+56>>3]=e;v[d+128>>3]=e;v[d+152>>3]=c+v[(d+272|0)+(m<<4)>>3]-g*4;c=v[d+32>>3];q[d+32>>2]=0;q[d+36>>2]=1072693248;c=1/c;e=c*v[d+64>>3];v[d+64>>3]=0-e;v[d+72>>3]=v[d+72>>3]-e*v[d+40>>3];v[d+80>>3]=v[d+80>>3]-e*v[d+48>>3];v[d+88>>3]=v[d+88>>3]-e*v[d+56>>3];e=c*v[d+96>>3];v[d+96>>3]=0-e;v[d+104>>3]=v[d+104>>3]-e*v[d+40>>3];v[d+112>>3]=v[d+112>>3]-e*v[d+48>>3];v[d+120>>3]=v[d+120>>3]-e*v[d+56>>3];e=v[d+128>>3];q[d+128>>2]=0;q[d+132>>2]=0;e=c*e;v[d+128>>3]=0-e*v[d+32>>3];v[d+136>>3]=v[d+136>>3]-e*v[d+40>>3];v[d+144>>3]=v[d+144>>3]-e*v[d+48>>3];v[d+152>>3]=v[d+152>>3]-e*v[d+56>>3];v[d+32>>3]=c*v[d+32>>3];v[d+40>>3]=c*v[d+40>>3];v[d+48>>3]=c*v[d+48>>3];v[d+56>>3]=c*v[d+56>>3];D=d+96|0;G=d+128|0;H=d- -64|0;l=1;while(1){f=(d+32|0)+(l<<5)|0;s=l<<3;k=f+s|0;c=v[k>>3];q[k>>2]=0;q[k+4>>2]=1072693248;k=s+(d+32|0)|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;c=1/c;e=e*c;v[d+32>>3]=v[d+32>>3]-e*v[f>>3];v[d+40>>3]=v[d+40>>3]-e*v[f+8>>3];v[d+48>>3]=v[d+48>>3]-e*v[f+16>>3];v[d+56>>3]=v[d+56>>3]-e*v[f+24>>3];e:{f:{if((l|0)!=1){k=s+H|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;e=c*e;v[d+64>>3]=v[d+64>>3]-e*v[f>>3];v[d+72>>3]=v[d+72>>3]-e*v[f+8>>3];v[d+80>>3]=v[d+80>>3]-e*v[f+16>>3];v[d+88>>3]=v[d+88>>3]-e*v[f+24>>3];if((l|0)==2){break f}}k=s+D|0;e=v[k>>3];q[k>>2]=0;q[k+4>>2]=0;e=c*e;v[d+96>>3]=v[d+96>>3]-e*v[f>>3];v[d+104>>3]=v[d+104>>3]-e*v[f+8>>3];v[d+112>>3]=v[d+112>>3]-e*v[f+16>>3];v[d+120>>3]=v[d+120>>3]-e*v[f+24>>3];if((l|0)==3){break e}}s=s+G|0;e=v[s>>3];q[s>>2]=0;q[s+4>>2]=0;e=c*e;v[d+128>>3]=v[d+128>>3]-e*v[f>>3];v[d+136>>3]=v[d+136>>3]-e*v[f+8>>3];v[d+144>>3]=v[d+144>>3]-e*v[f+16>>3];v[d+152>>3]=v[d+152>>3]-e*v[f+24>>3]}v[f>>3]=c*v[f>>3];v[f+8>>3]=c*v[f+8>>3];v[f+16>>3]=c*v[f+16>>3];v[f+24>>3]=c*v[f+24>>3];l=l+1|0;if((l|0)!=4){continue}break}c=v[d+160>>3];e=r-c+v[(d+160|0)+(h<<3)>>3];u=u-c+v[(d+160|0)+(o<<3)>>3];z=t-c+v[(d+160|0)+(i<<3)>>3];j=j-g-c+v[(d+160|0)+(m<<3)>>3];g=B(e*v[d+128>>3]+0+u*v[d+136>>3]+z*v[d+144>>3]+j*v[d+152>>3],0);c=B(e*v[d+96>>3]+0+u*v[d+104>>3]+z*v[d+112>>3]+j*v[d+120>>3],0);r=B(e*v[d+64>>3]+0+u*v[d+72>>3]+z*v[d+80>>3]+j*v[d+88>>3],0);j=B(e*v[d+32>>3]+0+u*v[d+40>>3]+z*v[d+48>>3]+j*v[d+56>>3],0);o=q[d+8>>2];l=q[d+16>>2];f=q[d+12>>2]}i=d;g=g*65536+.5;g:{if(y(g)<2147483648){k=~~g;break g}k=-2147483648}p[i+26>>1]=k;i=d;c=c*65536+.5;h:{if(y(c)<2147483648){k=~~c;break h}k=-2147483648}p[i+24>>1]=k;i=d;c=r*65536+.5;i:{if(y(c)<2147483648){k=~~c;break i}k=-2147483648}p[i+22>>1]=k;i=d;c=j*65536+.5;j:{if(y(c)<2147483648){k=~~c;break j}k=-2147483648}p[i+20>>1]=k;m=0;f=((f+l<<1)+17<>2]+ -1;s=-1<>2];D=(s&f+l)+ -4|0;h=q[b+12>>2];G=(s&f+h)+ -4|0;f=w((i+D|0)+ -1&0-i,G);k:{s=oe(i<<1,f<<2,0);if(s){n[q[a+36>>2]](s,q[b+20>>2],q[b+16>>2],l,h);q[d+36>>2]=s+(f<<1);q[d+32>>2]=s;l:{if((o|0)<1){f=s;break l}f=0;k=s;while(1){m=m^1;i=q[(d+32|0)+(m<<2)>>2];n[q[a+48>>2]](i,k,l,h);h=h+5>>1;k=i;f=f+1|0;if((o|0)!=(f|0)){continue}break}k=0;while(1){m=m^1;f=q[(d+32|0)+(m<<2)>>2];n[q[a+44>>2]](f,i,l,h);l=l+5>>1;i=f;k=k+1|0;if((k|0)!=(o|0)){continue}break}}k=d+20|0;i=q[d+12>>2];m:{if(!i){o=f;break m}m=m^1;o=q[(d+32|0)+(m<<2)>>2];n[q[((i<<2)+a|0)+56>>2]](o,f,l,h);l=(i<<1)+l|0}m=m^1;n[q[((q[d+16>>2]<<2)+a|0)+84>>2]](q[(d+32|0)+(m<<2)>>2],o,l,h,k);l=((q[d+16>>2]<<1)+l|0)+8|0;if(q[d+8>>2]>=1){i=0;while(1){f=m<<2;m=m^1;n[q[a+52>>2]](q[(d+32|0)+(m<<2)>>2],q[f+(d+32|0)>>2],l,h);l=(l<<1)+4|0;i=i+1|0;if((i|0)>2]){continue}break}}f=q[d+12>>2];if(f){o=m<<2;m=m^1;n[q[((f<<2)+a|0)+68>>2]](q[(d+32|0)+(m<<2)>>2],q[o+(d+32|0)>>2],l,h);h=(q[d+12>>2]<<1)+h|0}i=m^1;n[q[((q[d+16>>2]<<2)+a|0)+96>>2]](q[(d+32|0)+(i<<2)>>2],q[(d+32|0)+(m<<2)>>2],l,h,k);h=((q[d+16>>2]<<1)+h|0)+8|0;if(q[d+8>>2]>=1){m=0;while(1){f=i<<2;i=i^1;n[q[a+56>>2]](q[(d+32|0)+(i<<2)>>2],q[f+(d+32|0)>>2],l,h);h=(h<<1)+4|0;m=m+1|0;if((m|0)>2]){continue}break}}if((l|0)!=(D|0)|(h|0)!=(G|0)){break k}if(eN(a,b,D,G)){f=((q[d+12>>2]+q[d+16>>2]|0)+8<>2])+ -4|0;q[b>>2]=q[b>>2]-f;q[b+4>>2]=q[b+4>>2]-f;n[q[a+40>>2]](q[b+20>>2],q[b+16>>2],q[(d+32|0)+(i<<2)>>2],D,G)}gd(s)}Da=d+384|0;return}I(438096,438121,898,438132);F()}function De(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;g=Da-80|0;Da=g;n=q[a>>2];a:{if(f){break a}h=q[a+4>>2];if(r[h+12|0]){break a}j=q[d>>2];q[g+68>>2]=0;q[g+72>>2]=0;q[g+60>>2]=0;q[g+64>>2]=0;q[g+52>>2]=0;q[g+56>>2]=0;q[g+48>>2]=j;De(h,b,c,g+48|0,e,1)}b:{c:{if(r[d+4|0]){break c}c=q[c+20>>2]+q[b+20>>2]|0;d:{if(c>>>0>=97){b=q[d>>2];if(!b|q[b>>2]){break d}q[b>>2]=18;break d}q[d+8>>2]=c;p[d+4>>1]=257;h=c+7>>>3|0;q[d+12>>2]=h;if(!c){break c}j=-1<<(0-c&7);if(h){c=0;while(1){o[(c+d|0)+16|0]=255;c=c+1|0;h=q[d+12>>2];if(c>>>0>>0){continue}break}c=h+ -1|0}else{c=-1}c=c+d|0;o[c+16|0]=j&r[c+16|0];if(r[d+4|0]){break c}}if(!r[n+8|0]){break b}q[q[d>>2]>>2]=0;o[a+13|0]=0;break b}q[a+20>>2]=0;q[a+24>>2]=0;q[g+72>>2]=q[d+24>>2];h=q[d+20>>2];v=g- -64|0;c=v;q[c>>2]=q[d+16>>2];q[c+4>>2]=h;c=q[d+12>>2];q[g+56>>2]=q[d+8>>2];q[g+60>>2]=c;c=q[d+4>>2];q[g+48>>2]=q[d>>2];q[g+52>>2]=c;A=q[b+20>>2];if(A>>>0>t[d+8>>2]){break b}if(r[n+249|0]){q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;Vg(a,n+288|0,g+24|0);Vg(a,g+24|0,n+268|0)}e:{f:{if(A){j=v;y=128;while(1){g:{if(!(r[j|0]&y)){break g}k=q[a+16>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;h=q[b+20>>2];c=l;h:{if(h>>>0>c>>>0){break h}c=0;i=q[b+4>>2];if(!i|q[i>>2]){break h}q[i>>2]=130}i:{j:{k:{l:{s=q[b+28>>2]+w(q[b+8>>2],c)|0;i=q[s+8>>2];c=q[s+4>>2];m=i-c|0;if((m|0)!=-1310720){if((m|0)==-1376256){u=1;break l}if((m|0)<=-1){u=4;break l}u=4;q[g+24>>2]=4;q[g+32>>2]=c;i=c;break k}q[g+40>>2]=k;q[g+32>>2]=e;u=0;q[g+24>>2]=0;q[g+28>>2]=l;m=e;break j}q[g+24>>2]=u;q[g+32>>2]=i}q[g+40>>2]=k;q[g+28>>2]=l;m=e+i|0;q[g+32>>2]=m;if(!r[s|0]){break j}z=q[s+12>>2];u=u|16;q[g+24>>2]=u;q[g+36>>2]=z;break i}z=Ma(m,k);q[g+36>>2]=z;h=q[b+20>>2]}i=q[a+16>>2];q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;c=l;m:{if(h>>>0>c>>>0){break m}c=0;h=q[b+4>>2];if(!h|q[h>>2]){break m}q[h>>2]=130}n:{o:{p:{q:{r:{x=q[b+28>>2]+w(q[b+8>>2],c)|0;c=q[x+8>>2];h=q[x+4>>2];k=c-h|0;if((k|0)!=-1310720){if((k|0)!=-1376256){break r}q[g+16>>2]=i;q[g+8>>2]=e;s=0;q[g>>2]=0;q[g+4>>2]=l;k=e;break o}s=2;break q}if((k|0)<=-1){s=8;break q}s=8;q[g>>2]=8;q[g+8>>2]=c;h=c;break p}q[g>>2]=s;q[g+8>>2]=h}c=q[n+232>>2];q[g+16>>2]=i;q[g+4>>2]=l;k=((c<<1)+h|0)+e|0;q[g+8>>2]=k;if(!r[x|0]){break o}x=q[x+16>>2];s=s|16;q[g>>2]=s;break n}x=Ma(k,i)}q[g+12>>2]=x;s:{if((s|u)&16){break s}B=q[n+244>>2];if(!B){break g}h=q[n+260>>2];i=s&10;t:{u:{v:{if(!(u&5)){c=0;if(!i){break g}while(1){i=n+w(c,20)|0;w:{if(r[i+324|0]){break w}C=q[i+308>>2];if((C-h|0)>(k|0)){break w}if((k|0)<=(h+q[i+312>>2]|0)){break v}}c=c+1|0;if((B|0)!=(c|0)){continue}break}break g}c=0;if(!i){while(1){i=n+w(c,20)|0;if(!(!r[i+324|0]|(q[i+308>>2]-h|0)>(m|0))){i=q[i+312>>2];if((m|0)<=(h+i|0)){break u}}c=c+1|0;if((B|0)!=(c|0)){continue}break g}}while(1){i=n+w(c,20)|0;C=q[i+308>>2];D=C-h|0;x:{if(r[i+324|0]){if((D|0)>(m|0)){break x}i=q[i+312>>2];if((m|0)>(h+i|0)){break x}break u}if((D|0)>(k|0)){break x}if((k|0)<=(h+q[i+312>>2]|0)){break v}}c=c+1|0;if((B|0)!=(c|0)){continue}break}break g}h=q[(n+w(c,20)|0)+320>>2];y:{if(r[n+248|0]){break y}i=x+32768&-65536;h=i;if((k-C|0)>2]){break y}c=q[(n+w(c,20)|0)+320>>2]+65536|0;h=(i|0)>(c|0)?i:c}h=h-x|0;break t}h=q[(n+w(c,20)|0)+320>>2]-z|0;if(r[n+248|0]){break t}h=z+32768&-65536;if((i-m|0)>=q[n+256>>2]){c=q[(n+w(c,20)|0)+320>>2]+ -65536|0;h=(h|0)<(c|0)?h:c}h=h-z|0}c=h;if(u){q[g+24>>2]=u|16;q[g+36>>2]=c+z}if(!s){break s}q[g>>2]=s|16;q[g+12>>2]=c+x}Vg(a,g+24|0,g);o[j|0]=r[j|0]&(y^-1)}c=(l&7)==7;j=c?j+1|0:j;y=c?128:y>>>1&127;l=l+1|0;if((A|0)!=(l|0)){continue}break}if(f){break f}l=128;c=0;while(1){if(r[v|0]&l){k=q[a+16>>2];q[g+40>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;j=c;h=q[b+20>>2];z:{if(h>>>0>c>>>0){break z}j=0;i=q[b+4>>2];if(!i|q[i>>2]){break z}q[i>>2]=130}m=q[b+28>>2]+w(q[b+8>>2],j)|0;i=q[m+8>>2];j=q[m+4>>2];u=i-j|0;A:{B:{if((u|0)!=-1310720){C:{if((u|0)==-1376256){q[g+24>>2]=1;q[g+32>>2]=i;j=17;break C}if((u|0)<=-1){q[g+24>>2]=4;q[g+32>>2]=i;j=20;break C}q[g+24>>2]=4;q[g+32>>2]=j;i=j;j=20}q[g+40>>2]=k;q[g+28>>2]=c;i=e+i|0;q[g+32>>2]=i;if(!r[m|0]){break B}i=q[m+12>>2];q[g+24>>2]=j;q[g+36>>2]=i;break A}q[g+40>>2]=k;q[g+32>>2]=e;q[g+24>>2]=0;q[g+28>>2]=c;i=e}E=g,F=Ma(i,k),q[E+36>>2]=F;h=q[b+20>>2]}i=q[a+16>>2];q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;j=c;D:{if(h>>>0>c>>>0){break D}j=0;h=q[b+4>>2];if(!h|q[h>>2]){break D}q[h>>2]=130}E:{F:{G:{H:{k=q[b+28>>2]+w(q[b+8>>2],j)|0;j=q[k+8>>2];h=q[k+4>>2];m=j-h|0;if((m|0)!=-1310720){if((m|0)!=-1376256){break H}q[g+16>>2]=i;q[g+8>>2]=e;q[g>>2]=0;q[g+4>>2]=c;h=e;break F}q[g>>2]=2;q[g+8>>2]=h;j=18;break G}if((m|0)<=-1){q[g>>2]=8;q[g+8>>2]=h;j=24;break G}q[g>>2]=8;q[g+8>>2]=j;h=j;j=24}m=q[n+232>>2];q[g+16>>2]=i;q[g+4>>2]=c;h=((m<<1)+h|0)+e|0;q[g+8>>2]=h;if(!r[k|0]){break F}h=q[k+16>>2];q[g>>2]=j;q[g+12>>2]=h;break E}E=g,F=Ma(h,i),q[E+12>>2]=F}Vg(a,g+24|0,g)}h=(c&7)==7;v=h?v+1|0:v;l=h?128:l>>>1&127;c=c+1|0;if((A|0)!=(c|0)){continue}break}break e}if(!f){break e}}c=q[a+20>>2];if(q[(w(c,20)+a|0)+16>>2]>-1?!(!c|q[a+36>>2]>0):0){break e}q[g+36>>2]=0;q[g+28>>2]=0;q[g+32>>2]=0;q[g+24>>2]=49;c=q[a+16>>2];q[g+8>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g>>2]=0;q[g+4>>2]=0;q[g+40>>2]=c;Vg(a,g+24|0,g)}q[q[a+8>>2]+20>>2]=0;y=q[a+20>>2];I:{if(!y){break I}c=0;while(1){i=c+1|0;n=w(c,20);m=n+a|0;e=q[m+28>>2];u=e&12;l=u?i:c;J:{if(e&16){break J}e=a+28|0;s=e+n|0;k=q[s+12>>2];h=k&65535;v=h?65536-h|0:0;z=e+w(l,20)|0;x=q[z+12>>2];j=x&65535;e=j?65536-j|0:0;e=v>>>0>>0?v:e;v=j>>>0>h>>>0?h:j;j=0-v|0;K:{L:{if(l>>>0>>0){y=w(l+1|0,20)+a|0;if(q[y+40>>2]<((e+x|0)+32768|0)){break L}}if(!(!c|q[m+20>>2]<=((k-v|0)+ -32768|0))){h=e;break K}h=(v|0)<(e|0)?j:e;break K}M:{if(c){h=0;if(q[m+20>>2]>((k-v|0)+ -32768|0)){break M}}h=j;if((e|0)<(v|0)){break M}break K}if(r[y+28|0]&16){break K}q[g+24>>2]=l;q[g+28>>2]=e-h;as(q[a+8>>2],g+24|0);k=q[s+12>>2]}q[s+12>>2]=h+k;if(!u){break J}q[z+12>>2]=q[z+12>>2]+h}N:{if(!c){break N}e=q[m+36>>2];h=q[m+16>>2];if((e|0)==(h|0)){break N}j=a+28|0;k=j+w(c+ -1|0,20)|0;E=k,F=Za(q[(j+n|0)+12>>2]-q[k+12>>2]|0,e-h|0),q[E+16>>2]=F}if(u){c=w(l,20);e=c+a|0;h=q[e+36>>2];e=q[e+16>>2];if((h|0)!=(e|0)){j=a+28|0;l=j+w(l+ -1|0,20)|0;E=l,F=Za(q[(c+j|0)+12>>2]-q[l+12>>2]|0,h-e|0),q[E+16>>2]=F}c=i}c=c+1|0;y=q[a+20>>2];if(c>>>0>>0){continue}break}j=q[a+8>>2];e=q[j+20>>2];if(!e){break I}i=q[j+8>>2];k=q[j+28>>2];c=e;while(1){c=c+ -1|0;l=c;O:{if(e>>>0>c>>>0){break O}l=0;h=q[j+4>>2];if(!h|q[h>>2]){break O}q[h>>2]=130}l=k+w(i,l)|0;h=w(q[l>>2],20)+a|0;l=q[l+4>>2];m=l+q[h+40>>2]|0;P:{if(q[h+60>>2]<(m+32768|0)){break P}q[h+40>>2]=m;if(!(r[h+28|0]&12)){break P}q[h+20>>2]=l+q[h+20>>2]}if(c){continue}break}}Q:{if(f){break Q}j=q[a+20>>2];if(!j){break Q}c=0;while(1){e=w(c,20)+a|0;i=e;f=q[i+28>>2];if(!(f&32)){j=q[e+32>>2];R:{if(t[b+20>>2]>j>>>0){break R}j=0;h=q[b+4>>2];if(!h|q[h>>2]){break R}q[h>>2]=130;f=q[i+28>>2]}i=f&10?16:12;f=q[b+28>>2]+w(q[b+8>>2],j)|0;q[i+f>>2]=q[e+40>>2];o[f|0]=1;j=q[a+20>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}o[a+12|0]=1;o[d+5|0]=0}Da=g+80|0}function Yn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,u=0,v=0,x=0,y=0,z=0,A=0;i=Da-48|0;Da=i;d=Xa(b,c+d|0);a:{if(d){break a}d=lb(b,e);if(d){break a}f=q[b+32>>2];j=f+e|0;if(!(!e|o[f|0]>-1)){n=q[a+16>>2];l=q[a+28>>2];q[i>>2]=0;b:{c:{if((e|0)<1){break c}g=r[f|0];if(!(g&128)){break c}d=f+1|0;h=q[l>>2];d:{if(!(g&64)){f=d;break d}if((e|0)<2){break c}f=f+2|0;d=r[d|0];if(d){while(1){e=f+2|0;if(e>>>0>j>>>0){break c}f=e+r[f|0]|0;if(f>>>0>j>>>0){break c}d=d+ -1|0;if(d){continue}break}}q[i>>2]=0}v=g&63;d=v+n|0;e=q[a+20>>2];e:{if(d>>>0<=e>>>0){e=q[a+24>>2];break e}g=d+3&-4;if(g>>>0>=65){break c}e=Oa(h,24,e,g,q[a+24>>2],i);q[a+24>>2]=e;d=q[i>>2];if(d){break b}q[a+20>>2]=g}if(!v){d=0;break b}e=w(n,24)+e|0;while(1){g=f+1|0;if(g>>>0>j>>>0){break c}h=r[f|0];q[e>>2]=65536;if(h&16){g=f+3|0;if(g>>>0>j>>>0){break c}d=r[f+1|0]|r[f+2|0]<<8;q[e>>2]=(d<<24|d<<8&16711680)>>16<<4}q[e+4>>2]=65536;f:{if(!(h&32)){f=g;break f}f=g+2|0;if(f>>>0>j>>>0){break c}d=r[g|0]|r[g+1|0]<<8;q[e+4>>2]=(d<<24|d<<8&16711680)>>16<<4}k=0;d=(h&3)+ -1|0;g:{if(d>>>0>1){g=f;d=0;break g}if(d-1){g=f+2|0;if(g>>>0>j>>>0){break c}d=r[f|0]|r[f+1|0]<<8;d=(d<<24|d<<8&16711680)>>16;break g}g=f+1|0;if(g>>>0>j>>>0){break c}d=o[f|0]}f=(h>>>2&3)+ -1|0;h:{if(f>>>0>1){f=g;break h}if(f-1){f=g+2|0;if(f>>>0>j>>>0){break c}g=r[g|0]|r[g+1|0]<<8;k=(g<<24|g<<8&16711680)>>16;break h}f=g+1|0;if(f>>>0>j>>>0){break c}k=o[g|0]}q[e+12>>2]=k;q[e+8>>2]=d;d=e;i:{if(h&64){g=f+2|0;if(g>>>0>j>>>0){break c}f=r[f+1|0]|r[f|0]<<8;break i}g=f+1|0;if(g>>>0>j>>>0){break c}f=r[f|0]}q[d+20>>2]=f;j:{if(h&128){f=g+3|0;if(f>>>0>j>>>0){break c}k=2;d=r[g+1|0]<<8|r[g|0]<<16;break j}f=g+2|0;if(f>>>0>j>>>0){break c}k=1;d=r[g|0]<<8}q[e+16>>2]=d|r[g+k|0];q[a+16>>2]=q[a+16>>2]+1;e=e+24|0;d=0;u=u+1|0;if((v|0)!=(u|0)){continue}break}break b}d=8;q[i>>2]=8}jb(b);if(d){break a}j=q[a+16>>2]-n|0;if(!j){d=0;break a}k=0;while(1){f=p[l+22>>1];g=w(k,24);e=w(n,24);d=g+(e+q[a+24>>2]|0)|0;d=Yn(a,b,c,q[d+16>>2],q[d+20>>2]);if(d){break a}h=p[l+22>>1]-f|0;e=g+(e+q[a+24>>2]|0)|0;g=q[e>>2];k:{if(!(q[e+4>>2]==65536?(g|0)==65536:0)){if((h|0)<1){break k}d=q[l+24>>2]+(f<<3)|0;f=0;while(1){z=d,A=Ma(q[d>>2],g)+q[e+8>>2]|0,q[z>>2]=A;z=d,A=Ma(q[d+4>>2],q[e+4>>2])+q[e+12>>2]|0,q[z+4>>2]=A;f=f+1|0;if((h|0)==(f|0)){break k}d=d+8|0;g=q[e>>2];continue}}if((h|0)<1){break k}d=q[l+24>>2]+(f<<3)|0;g=q[e+12>>2];f=q[e+8>>2];e=0;while(1){q[d>>2]=f+q[d>>2];q[d+4>>2]=g+q[d+4>>2];d=d+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}d=0;k=k+1|0;if((j|0)!=(k|0)){continue}break}break a}q[i+44>>2]=0;l:{m:{if((e|0)<1){break m}k=r[f|0];if(k&128){break m}d=q[q[a+28>>2]>>2];n:{if(k&4){if((e|0)<2){break m}g=f+2|0;c=r[f+1|0];n=c>>>4|0;u=c&15;break n}if(k&2){if((e|0)<2){break m}u=r[f+1|0];c=f+2|0}else{c=f+1|0}if(!(k&1)){g=c;break n}g=c+1|0;if(g>>>0>j>>>0){break m}n=r[c|0]}l=n+u|0;c=q[a+4>>2];o:{p:{if(l>>>0>c>>>0){e=c;c=l+7&1016;h=Oa(d,4,e,c,q[a+8>>2],i+44|0);q[a+8>>2]=h;d=q[i+44>>2];if(d){break l}v=a+8|0;q[a+4>>2]=c;q[a+12>>2]=(u<<2)+h;y=a+12|0;break p}h=q[a+8>>2];q[a+12>>2]=h+(u<<2);y=a+12|0;v=a+8|0;if(!l){break o}}c=0;e=0;d=0;while(1){q:{if(d&7){f=g;break q}f=g+1|0;if(f>>>0>j>>>0){break m}e=r[g|0]}m=(d<<2)+h|0;r:{if(e&1){g=f+2|0;if(g>>>0>j>>>0){break m}c=r[f|0]|r[f+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break r}g=f+1|0;if(g>>>0>j>>>0){break m}c=r[f|0]+c|0}q[m>>2]=c;e=e>>>1|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}s:{if(!(k&8)){e=g;break s}e=g+1|0;if(e>>>0>j>>>0){break m}d=r[g|0];if(d){while(1){c=e+2|0;if(c>>>0>j>>>0){break m}e=c+r[e|0]|0;if(e>>>0>j>>>0){break m}d=d+ -1|0;if(d){continue}break}}q[i+44>>2]=0}o[a+32|0]=0;q[i+24>>2]=0;q[i+28>>2]=0;q[i>>2]=0;q[i+4>>2]=0;c=0;g=0;while(1){h=e+1|0;if(h>>>0>j>>>0){break m}d=r[e|0];f=d&15;t:{u:{v:{w:{x:{y:{m=d>>>4|0;z:{if(m>>>0<=7){l=1;A:{B:{C:{D:{switch(m-1|0){case 1:if(f>>>0>=u>>>0){break m}d=q[q[v>>2]+(f<<2)>>2];q[i+4>>2]=c;q[i>>2]=d;d=q[i+4>>2];c=q[i>>2];q[i+24>>2]=c;q[i+28>>2]=d;g=c;break C;case 0:case 3:case 4:break z;case 6:break A;case 5:break B;case 2:break D;default:break y}}if(f>>>0>=n>>>0){break m}q[i>>2]=g;q[i+4>>2]=q[q[y>>2]+(f<<2)>>2];d=q[i+4>>2];c=q[i>>2];q[i+24>>2]=c;q[i+28>>2]=d;g=c}c=d;e=h;break v}f=2958;l=3;break z}f=3627;l=3;break z}l=4}k=0;d=i;e=h;while(1){h=f&3;E:{if(h>>>0>2){h=e;break E}F:{switch(h-1|0){default:h=e+1|0;if(h>>>0>j>>>0){break m}e=r[e|0];if(u>>>0<=e>>>0){break m}g=q[q[v>>2]+(e<<2)>>2];break E;case 0:h=e+2|0;if(h>>>0>j>>>0){break m}e=r[e|0]|r[e+1|0]<<8;g=(e<<24|e<<8&16711680)>>16;break E;case 1:break F}}h=e+1|0;if(h>>>0>j>>>0){break m}g=o[e|0]+g|0}q[d>>2]=g;e=f>>>2&3;G:{if(e>>>0>2){e=h;break G}H:{switch(e-1|0){default:e=h+1|0;if(e>>>0>j>>>0){break m}c=r[h|0];if(n>>>0<=c>>>0){break m}c=q[q[y>>2]+(c<<2)>>2];break G;case 0:e=h+2|0;if(e>>>0>j>>>0){break m}c=r[h|0]|r[h+1|0]<<8;c=(c<<24|c<<8&16711680)>>16;break G;case 1:break H}}e=h+1|0;if(e>>>0>j>>>0){break m}c=o[h|0]+c|0}q[d+4>>2]=c;I:{if(!((l|0)!=4|k)){c=e+1|0;if(c>>>0>j>>>0){break m}f=r[e|0];l=3;e=c;break I}f=f>>>4|0}c=q[d+4>>2];g=q[d>>2];q[i+24>>2]=g;q[i+28>>2]=c;d=d+8|0;k=k+1|0;if(k>>>0>>0){continue}break}if(m>>>0>5){break w}switch(m-1|0){case 0:case 1:case 2:break v;case 3:case 4:break x;default:break y}}d=q[a+28>>2];if(r[a+32|0]){g=p[d+58>>1];e=g+ -1|0;h=e;j=s[d+56>>1];f=j<<16>>16;c=0;J:{if((f|0)<1){break J}c=p[(q[d+68>>2]+(j<<1)|0)+ -2>>1]}K:{if((h|0)<=(c|0)){break K}h=q[d+60>>2];j=h+(c<<3)|0;h=h+(e<<3)|0;if(q[j>>2]!=q[h>>2]|q[j+4>>2]!=q[h+4>>2]){break K}p[d+58>>1]=g+ -1;e=g+ -2|0}if((e|0)>=(c|0)){p[d+56>>1]=f+1;p[q[d+68>>2]+(f<<1)>>1]=e}o[a+32|0]=0}Lg(d);d=q[i+44>>2];break l}f=q[a+28>>2];if(r[a+32|0]){k=p[f+58>>1];d=k+ -1|0;m=d;x=s[f+56>>1];l=x<<16>>16;h=0;L:{if((l|0)<1){break L}h=p[(q[f+68>>2]+(x<<1)|0)+ -2>>1]}M:{if((m|0)<=(h|0)){break M}m=q[f+60>>2];x=m+(h<<3)|0;m=m+(d<<3)|0;if(q[x>>2]!=q[m>>2]|q[x+4>>2]!=q[m+4>>2]){break M}p[f+58>>1]=k+ -1;d=k+ -2|0}if((d|0)>=(h|0)){p[f+56>>1]=l+1;p[q[f+68>>2]+(l<<1)>>1]=d}o[a+32|0]=0}o[a+32|0]=1;d=p[f+58>>1];k=(d+p[f+22>>1]|0)+1|0;h=q[f+4>>2];if(!((p[f+20>>1]+p[f+56>>1]|0)+1>>>0<=t[f+8>>2]?k>>>0<=h>>>0:0)){d=Xb(f,1,1);if(d){break t}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];k=(d+p[f+22>>1]|0)+1|0;h=q[f+4>>2]}if(k>>>0>h>>>0){d=Xb(f,1,0);if(d){break t}d=p[f+58>>1]}k=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=k;o[q[f- -64>>2]+d|0]=1;p[f+58>>1]=s[f+58>>1]+1;break u}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];if((d+p[f+22>>1]|0)+3>>>0>t[f+4>>2]){d=Xb(f,3,0);if(d){break t}d=p[f+58>>1]}k=q[f- -64>>2];l=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=l;l=q[i+12>>2];q[h+8>>2]=q[i+8>>2];q[h+12>>2]=l;l=q[i+20>>2];q[h+16>>2]=q[i+16>>2];q[h+20>>2]=l;d=d+k|0;o[d+2|0]=1;o[d|0]=514;o[d+1|0]=2;p[f+58>>1]=s[f+58>>1]+3;break u}if(!r[a+32|0]){d=8;break t}f=q[a+28>>2];d=p[f+58>>1];if((d+p[f+22>>1]|0)+1>>>0>t[f+4>>2]){d=Xb(f,1,0);if(d){break t}d=p[f+58>>1]}k=q[i+4>>2];h=q[f+60>>2]+(d<<3)|0;q[h>>2]=q[i>>2];q[h+4>>2]=k;o[q[f- -64>>2]+d|0]=1;p[f+58>>1]=s[f+58>>1]+1}d=0}q[i+44>>2]=d;if(!d){continue}break}break l}d=8;q[i+44>>2]=8}jb(b)}Da=i+48|0;return d}function lz(a,b,c,d,e){a=a|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,p=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=Da+ -64|0;Da=f;q[f+4>>2]=c;c=q[b+96>>2];e=q[c+4>>2];q[f>>2]=0;d=b;l=q[d+540>>2];a:{if(!l){l=_d(e,161376);if(!l){c=11;break a}q[b+540>>2]=l;q[b+516>>2]=q[l>>2];c=q[b+96>>2]}D=d,E=ld(c,162092,1),q[D+544>>2]=E;if(!q[b+548>>2]){D=b,E=ld(bc(e,162109),162118,0),q[D+548>>2]=E}if(!q[b+552>>2]){D=b,E=ld(bc(e,162109),162132,0),q[D+552>>2]=E}x=q[a+28>>2];q[b+140>>2]=0;q[b+132>>2]=0;q[b+136>>2]=0;h=q[a+8>>2];d=Hb(a,f+8|0);b:{c=q[f+8>>2];if(c){break b}z=b+132|0;c:{while(1){if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break c}c=2;if((d|0)==65536){break c}break b}if((d|0)<=1953658212){if((d|0)==131072){break c}c=2;if((d|0)==1330926671){break c}break b}if((d|0)==1953658213){break c}c=2;if((d|0)!=1953784678){break b}break c}d:{C=f;e:{f:{g:{h:{if((d|0)!=2001684018){if((d|0)!=2001684038){c=2;if((d|0)==1954115633){break c}break b}c=Xa(a,h);q[f+8>>2]=c;if(c){break b}m=q[a+28>>2];q[f+60>>2]=0;c=mb(a,162176,f+16|0);q[f+60>>2]=c;if(c){break d}c=8;d=q[f+20>>2];if((d|0)==1953784678|(d|0)==2001684038){break d}e=q[f+24>>2];if((e|0)!=q[a+4>>2]){break d}d=s[f+28>>1];if(!d|w(d,20)+44>>>0>=e>>>0){break d}e=d<<4|12;d=q[f+32>>2];if(e>>>0>=d>>>0|d&3){break d}d=q[f+44>>2];i:{if(!q[f+40>>2]){if(!(d|q[f+48>>2])){break i}break d}if(!d){break i}if(!q[f+48>>2]){break d}}if(q[f+56>>2]?!q[f+52>>2]:0){break d}p=0;i=gb(m,e,f+60|0);if(q[f+60>>2]){j=0;c=0;break g}j=gb(m,40,f+60|0);if(q[f+60>>2]){c=0;break g}d=s[f+28>>1];h=d;c=0;if(d){while(1){c=c+1|0;h=h>>>1|0;if(h){continue}break}}o[i|0]=r[f+23|0];o[i+1|0]=s[f+22>>1];o[i+2|0]=q[f+20>>2]>>>8;o[i+3|0]=q[f+20>>2];o[i+4|0]=r[f+29|0];e=r[f+28|0];g=d<<4;c=c+ -1|0;d=16<>>8;o[i+9|0]=c;o[i+8|0]=c>>>8;o[i+7|0]=d;o[i+6|0]=d>>>8;o[i+5|0]=e;c=Oa(m,24,0,s[f+28>>1],0,f+60|0);if(q[f+60>>2]){break g}p=Oa(m,4,0,s[f+28>>1],0,f+60|0);if(q[f+60>>2]){break g}d=lb(a,w(s[f+28>>1],20));q[f+60>>2]=d;if(d){break g}d=0;e=0;if(s[f+28>>1]){while(1){h=w(e,24)+c|0;D=h,E=fc(a),q[D>>2]=E;D=h,E=fc(a),q[D+4>>2]=E;D=h,E=fc(a),q[D+8>>2]=E;D=h,E=fc(a),q[D+12>>2]=E;D=h,E=fc(a),q[D+16>>2]=E;g=q[h>>2];if(g>>>0<=d>>>0){jb(a);q[f+60>>2]=8;break g}q[(e<<2)+p>>2]=h;d=g;e=e+1|0;if(e>>>0>1]){continue}break}}jb(a);Gc(p,s[f+28>>1],4,311);d=s[f+28>>1];g=d<<4|12;h=w(d,20)+44|0;j:{if(!d){e=g;break j}k=0;A=q[f+32>>2];B=q[f+24>>2];e=g;while(1){k:{u=q[(k<<2)+p>>2];l:{if(q[u+4>>2]!=(h|0)){break l}v=q[u+8>>2];if(B>>>0>>0|h>>>0>B-v>>>0){break l}y=q[u+12>>2];if(v>>>0>y>>>0|A>>>0>>0){break l}if(e>>>0<=A-y>>>0){break k}}q[f+60>>2]=8;break g}q[u+20>>2]=e;e=(y+3&-4)+e|0;h=(v+3&-4)+h|0;k=k+1|0;if((d|0)!=(k|0)){continue}break}}m:{d=q[f+40>>2];if(!d){break m}if((d|0)==(h|0)){h=q[f+44>>2]+h|0;if(h>>>0<=t[f+24>>2]){break m}}q[f+60>>2]=8;break g}d=q[f+52>>2];if(!d){d=q[f+24>>2];break h}if((d|0)==(h+3&-4)){h=d+q[f+56>>2]|0;d=q[f+24>>2];if(h>>>0<=d>>>0){break h}}q[f+60>>2]=8;break g}c=Xa(a,h);q[f+8>>2]=c;if(c){break b}c=kz(a,b,f+4|0,f);break f}if(!(q[f+32>>2]==(e|0)?(d|0)==(h|0):0)){q[f+60>>2]=8;break g}i=Oa(m,1,g,e,i,f+60|0);if(q[f+60>>2]){break g}if(s[f+28>>1]){e=i+12|0;d=0;while(1){g=w(d,24)+c|0;o[e|0]=r[g+3|0];o[e+1|0]=s[g+2>>1];o[e+2|0]=q[g>>2]>>>8;o[e+3|0]=q[g>>2];o[e+4|0]=r[g+19|0];o[e+5|0]=s[g+18>>1];o[e+6|0]=q[g+16>>2]>>>8;o[e+7|0]=q[g+16>>2];o[e+8|0]=r[g+23|0];o[e+9|0]=s[g+22>>1];o[e+10|0]=q[g+20>>2]>>>8;o[e+11|0]=q[g+20>>2];o[e+12|0]=r[g+15|0];o[e+13|0]=s[g+14>>1];o[e+14|0]=q[g+12>>2]>>>8;o[e+15|0]=q[g+12>>2];h=Xa(a,q[g+4>>2]);q[f+60>>2]=h;if(h){break g}h=lb(a,q[g+8>>2]);q[f+60>>2]=h;if(h){break g}n:{h=q[g+8>>2];k=q[g+12>>2];if((h|0)==(k|0)){Qa(q[g+20>>2]+i|0,q[a+32>>2],h);break n}q[f+12>>2]=k;h=qB(m,q[g+20>>2]+i|0,f+12|0,q[a+32>>2],q[g+8>>2]);q[f+60>>2]=h;if(!h){if(q[f+12>>2]==q[g+12>>2]){break n}q[f+60>>2]=8}jb(a);break g}jb(a);g=q[g+12>>2]+q[g+20>>2]|0;if(g&3){Na(g+i|0,0,((g^-1)&3)+1|0)}e=e+16|0;d=d+1|0;if(d>>>0>1]){continue}break}}d=q[f+32>>2];q[j+32>>2]=0;q[j+8>>2]=0;q[j+4>>2]=d;q[j>>2]=i;q[j+20>>2]=0;q[j+24>>2]=0;a=q[a+28>>2];q[j+24>>2]=312;q[j+28>>2]=a;Yp(q[b+104>>2],q[b+8>>2]>>>10&1);q[b+104>>2]=j;q[b+8>>2]=q[b+8>>2]&-1025}a=m;if(c){n[q[a+8>>2]](a,c)}if(p){n[q[a+8>>2]](a,p)}if(!q[f+60>>2]){q[f+8>>2]=0;break e}if(i){n[q[a+8>>2]](a,i)}o:{if(!j){break o}c=q[j+24>>2];if(!c){break o}n[c](j)}if(j){n[q[a+8>>2]](a,j)}c=q[f+60>>2]}q[C+8>>2]=c;if(c){break b}}a=q[b+104>>2];h=q[a+8>>2];d=Hb(a,f+8|0);c=q[f+8>>2];if(!c){continue}break b}break}q[f+8>>2]=c;q[f+16>>2]=c;break a}q[z>>2]=1953784678;p:{if((d|0)==1953784678){c=mb(a,162160,z);q[f+8>>2]=c;if(c){break b}d=q[b+140>>2];if(!d){c=8;q[f+16>>2]=8;break a}c=10;if(d>>>0>q[a+4>>2]>>>5>>>0){break b}D=b,E=Oa(x,4,0,d,0,f+8|0),q[D+144>>2]=E;c=q[f+8>>2];if(c){break b}c=lb(a,q[b+140>>2]<<2);q[f+8>>2]=c;if(c){break b}if(q[b+140>>2]>=1){c=0;while(1){d=fc(a);q[q[b+144>>2]+(c<<2)>>2]=d;c=c+1|0;if((c|0)>2]){continue}break}}jb(a);c=q[f+8>>2];q[f+16>>2]=c;if(!c){break p}break a}q[b+136>>2]=65536;q[b+140>>2]=1;a=gb(x,4,f+8|0);q[b+144>>2]=a;c=q[f+8>>2];if(c){break b}q[a>>2]=h;q[f+16>>2]=0}u=q[f+4>>2];a=u>>31;e=f;k=q[b+104>>2];d=k;g=q[b+144>>2];v=a^a+u;c=a+(v&65535)|0;if((c|0)>=q[b+140>>2]){c=6;if((u|0)>-1){break a}c=0}c=Xa(d,q[g+(c<<2)>>2]);q[e+16>>2]=c;if(c){break a}c=n[q[l+88>>2]](b,k)|0;q[f+16>>2]=c;if(c){break a}x=q[b+100>>2];i=0;q:{if(n[q[b+516>>2]](b,1719034226,k,f+60|0)){d=0;p=0;g=0;c=0;a=0;break q}d=0;p=0;g=0;c=0;a=0;if(t[f+60>>2]<20){break q}y=Hb(k,f+16|0);a=0;if(q[f+16>>2]){break q}m=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}e=Ib(k,2);q[f+16>>2]=e;a=0;if(e){break q}j=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}l=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}h=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}e=ib(k,f+16|0);a=0;if(q[f+16>>2]){break q}r:{s:{if((y|0)!=65536){break s}p=20;if((l|0)!=20){break s}t:{if((j+ -1&65535)>>>0>16381|h>>>0>32511){break t}a=j<<2;if((e|0)!=(a+4|0)&(e|0)!=(a+6|0)|(m+w(j,20)|0)+w(e,h)>>>0>t[f+60>>2]){break t}q[b+740>>2]=q[b+740>>2]|1;d=e;g=j;c=h;a=m;break q}break r}p=l}d=e;g=j;a=m}u:{if(!(o[b+740|0]&1)){e=0;break u}m=g<<2;e=gb(x,m,f+16|0);if(q[f+16>>2]){break u}i=gb(x,m,f+16|0);if(q[f+16>>2]){break u}h=(a+q[k+8>>2]|0)+ -16|0;if(g){l=h+8|0;j=0;a=e;while(1){D=f,E=Gh(k,l,a,4),q[D+16>>2]=E;a=a+4|0;l=l+p|0;j=j+1|0;if((j|0)!=(g|0)){continue}break}}v:{if(!c){a=0;break v}l=(h+w(g,p)|0)+4|0;a=0;while(1){D=f,E=Gh(k,l,i,m),q[D+16>>2]=E;if(!Oc(e,i,m)){break v}l=d+l|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}c=((a|0)==(c|0))+c|0}d=v>>>16|0;a=x;if(e){n[q[a+8>>2]](a,e)}if(i){n[q[a+8>>2]](a,i)}w:{if(!n[q[b+516>>2]](b,1735162214,k,0)){break w}if(!n[q[b+516>>2]](b,1128678962,k,0)){break w}c=n[q[b+516>>2]](b,1128678944,k,0)|0?c:0}a=b;x:{if(d>>>0>(c&65535)>>>0){if((u|0)>-1){break x}c=0}q[a+12>>2]=c<<16;q[b+4>>2]=u;q[b>>2]=q[b+140>>2];a=q[f>>2];if(a){q[b>>2]=a}c=q[f+16>>2];break a}c=6;break a}q[f+16>>2]=c}Da=f- -64|0;return c|0}function GN(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,p=0,u=0,x=0,z=0,A=0,B=0,C=0,D=0;i=Da-32|0;Da=i;n=q[b>>2];f=-1;a:{if(!Er(a,q[b+4>>2])){break a}j=q[b+4>>2];b:{if((j|0)<1){break b}while(1){e=q[a+8>>2];f=w(c,336)+n|0;q[e+(c<<2)>>2]=q[f>>2];c:{d:{if(q[f>>2]==10){break d}j=q[b+4>>2];if((j+ -1|0)==(c|0)){break d}c=c+1|0;break c}q[i+4>>2]=q[a+28>>2];f=e;e=g<<2;d=(c-g|0)+1|0;WN(f+e|0,d,e+q[a+12>>2]|0);VN(e+q[a+8>>2]|0,d,e+q[a+12>>2]|0,e+q[a+16>>2]|0);f=-1;if(!SN(e+q[a+12>>2]|0,e+q[a+16>>2]|0,d,i+4|0,q[a+20>>2]+g|0)){break a}j=q[b+4>>2];c=c+1|0;g=c}if((c|0)<(j|0)){continue}break}if((j|0)<1){break b}e=q[a+20>>2];c=0;while(1){f=w(c,336)+n|0;q[f+312>>2]=q[f+312>>2]+o[c+e|0];c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=q[a>>2];e:{if(c>>>0>1){break e}if(c-1){h=ab(1,j);QN(q[a+8>>2],j,h);PN(q[a+12>>2],j,q[a+20>>2],h);MN(q[a+20>>2],j,h,q[a+8>>2]);if(j){c=0;while(1){e=w(c,336)+n|0;f=q[(q[e+8>>2]+(q[e+12>>2]<<2)|0)- -64>>2];g=q[a+8>>2]+(c<<2)|0;q[e>>2]=q[g>>2];k=e;d=f;e=q[g>>2];f=q[d+92>>2];if(f){e=q[f+4>>2]==1937337698?e|61440:e}C=k,D=Ub(d,e),q[C+16>>2]=D;c=c+1|0;if((j|0)!=(c|0)){continue}break}}La(h);c=0;e=q[b+4>>2];f=0;if((e|0)<1){break a}f=q[b>>2];while(1){f:{g:{b=f+w(c,336)|0;a=q[b>>2];if((a&-4)==8288){break g}if((a|0)<=8202){if((a|0)==173|(a|0)==847){break g}break f}k=a+ -8203|0;if(k>>>0>35){if((a|0)!=65279){break f}break g}switch(k-5|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break f;default:break g}}q[b>>2]=0;q[b+4>>2]=q[b+4>>2]+1}c=c+1|0;if((e|0)!=(c|0)){continue}break}break e}f=He();c=0;q[i+24>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0;if(j){while(1){q[(w(c,336)+n|0)+4>>2]=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}x=j+ -1|0;while(1){h=w(k,336)+n|0;d=q[h+8>>2];c=q[d+104>>2];if(!c){c=ab(120,1);q[d+104>>2]=c}b=q[h+12>>2];e=b<<2;if(!q[e+c>>2]){g=d- -64|0;e=Vs(q[g+e>>2]);b=q[h+12>>2]<<2;q[b+c>>2]=e;e=ab(40,1);q[(b+q[d+104>>2]|0)+80>>2]=e;e=q[(b+q[d+104>>2]|0)+80>>2];q[e>>2]=q[a+44>>2];q[e+32>>2]=q[q[h+8>>2]+12>>2];b=gm();q[(q[d+104>>2]+(q[h+12>>2]<<2)|0)+40>>2]=b;vU(b,e);PU(b,e);Wt(b,799,e);LU(b,e);cm(b,801,e);Ut(b,802,e);HU(b,e);bm(b,804,e);Tt(b,805,e);e=q[h+12>>2]<<2;am(q[e+c>>2],b,q[e+g>>2],0);b=q[h+12>>2]}e=d- -64|0;zl(q[(b<<2)+e>>2],v[h+24>>3]);g=q[h+12>>2]<<2;b=q[g+c>>2];e=q[e+g>>2];g=s[e+68>>1];l=q[e+88>>2];m=q[l+16>>2];m=V$(g,0,m,m>>31);m=(Ea&65535)<<16|m>>>16;l=q[l+20>>2];g=V$(l,l>>31,g,0);$l(b,m,(Ea&65535)<<16|g>>>16);e=q[e+88>>2];g=s[e+12>>1];e=s[e+14>>1];if(q[b+4>>2]){q[b+52>>2]=e;q[b+48>>2]=g}b=q[d+104>>2];e=q[h+12>>2];d=e<<2;b=q[(b+d|0)+80>>2];q[b+8>>2]=q[h+8>>2];q[b+24>>2]=e;e=q[h+28>>2];q[b+16>>2]=q[h+24>>2];q[b+20>>2]=e;b=k>>>0>x>>>0?k:x;g=q[h+312>>2];l=q[c+d>>2];m=r[q[a+20>>2]+k|0];c=k;while(1){h:{e=c;if((b|0)==(c|0)){e=b;break h}c=e+1|0;if((g|0)==q[(w(c,336)+n|0)+312>>2]){continue}}break}b=f;c=(e-k|0)+1|0;i:{if(!c){break i}d=c;if(t[b+84>>2]>c>>>0){break i}pe(b,d)}bS(b,q[a+8>>2]+(k<<2)|0,c,c);q[i+8>>2]=m&1?5:4;c=q[h+20>>2];q[i+12>>2]=c;g=q[a+40>>2];j:{if(g){break 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:{if((c|0)<=1265134961){if((c|0)<=1165256808){if((c|0)<=1130458738){if((c|0)<=1113943654){d=436712;if((c|0)==1098015074){break l}if((c|0)!=1098018158){break k}d=436715;break l}if((c|0)==1113943655){break J}if((c|0)==1114990441){break m}if((c|0)!=1114990692){break k}d=436808;break l}if((c|0)<=1131376755){if((c|0)==1130458739){break I}if((c|0)!=1130915186){break k}d=436724;break l}if((c|0)==1131376756){break H}if((c|0)==1132032620){break G}if((c|0)!=1147500129){break k}d=436735;break l}if((c|0)<=1214344806){if((c|0)<=1198679402){if((c|0)==1165256809){break t}if((c|0)!=1197830002){break k}d=436738;break l}if((c|0)==1198679403){break F}if((c|0)==1198877298){break E}if((c|0)!=1198879349){break k}d=436747;break l}if((c|0)<=1214870112){d=c+ -1214344807|0;if(d>>>0>8){if((c|0)!=1214603890){break k}d=436753;break l}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break k;case 7:break o;default:break D}}if((c|0)==1214870113){break C}if((c|0)!=1264676449){break k}d=436756;break l}if((c|0)<=1400468066){if((c|0)<=1299148390){if((c|0)<=1281453934){if((c|0)==1265134962){break s}if((c|0)!=1265525857){break k}d=436759;break l}if((c|0)==1281453935){break B}if((c|0)==1281455214){break A}if((c|0)!=1298954605){break k}d=436768;break l}if((c|0)<=1332902240){if((c|0)==1299148391){break z}if((c|0)==1299803506){break r}if((c|0)!=1315663727){break k}d=436839;break l}if((c|0)==1332902241){break y}if((c|0)==1399418472){break q}if((c|0)!=1400466543){break k}d=436835;break l}if((c|0)<=1416126816){if((c|0)<=1415671147){if((c|0)==1400468067){break x}if((c|0)!=1415669602){break k}d=436819;break l}if((c|0)==1415671148){break w}if((c|0)==1415933045){break v}if((c|0)!=1416064103){break k}d=436816;break l}if((c|0)<=1432838513){d=c+ -1416126817|0;if(d>>>0>8){if((c|0)!=1416192628){break k}d=436790;break l}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break k;case 7:break u;default:break p}}if((c|0)==1432838514){break n}if((c|0)!=1483761007){break k}d=436831;break l}d=436718;break l}d=436721;break l}d=436728;break l}d=436732;break l}d=436741;break l}d=436744;break l}d=436750;break l}d=436756;break l}d=436762;break l}d=436765;break l}d=436771;break l}d=436774;break l}d=436777;break l}d=436781;break l}d=436784;break l}d=436787;break l}d=436793;break l}d=436796;break l}d=436799;break l}d=436802;break l}d=436805;break l}d=436812;break l}d=436823;break l}d=436827}g=jn(d);if(g){break j}}g=gn()}q[i+16>>2]=g;if(q[b+4>>2]){b=q[i+12>>2];q[f+48>>2]=q[i+8>>2];q[f+52>>2]=b;q[f- -64>>2]=q[i+24>>2];b=q[i+20>>2];q[f+56>>2]=q[i+16>>2];q[f+60>>2]=b}g=0;b=q[a+36>>2];c=q[q[h+8>>2]+12>>2]!=0;q[b+4>>2]=c;q[b+20>>2]=c;c=v[h+288>>3]==0;q[b+52>>2]=c;q[b+68>>2]=c;Ql(l,f,q[a+36>>2],q[a+32>>2]);l=q[f+76>>2];m=q[f+88>>2];B=Ge(f,0);if((l|0)>=1){while(1){d=w(g,20);h=d+m|0;z=w(q[h+8>>2]+k|0,336);c=z+n|0;K:{if(q[c+4>>2]){break K}while(1){b=c;c=q[c+332>>2];if(c){continue}break}c=Sa(336);q[b+332>>2]=c;if(!c){c=b;break K}Qa(c,b,336);ke(q[b+8>>2]);c=q[b+332>>2];q[c+332>>2]=0}q[c+4>>2]=0;q[c+16>>2]=q[h>>2];b=c;p=v[c+240>>3];h=d+B|0;u=p*+q[h+8>>2];L:{if(y(u)<2147483648){d=~~u;break L}d=-2147483648}q[b+104>>2]=d;b=c;u=v[c+248>>3];A=u*+(0-q[h+12>>2]|0);M:{if(y(A)<2147483648){d=~~A;break M}d=-2147483648}q[b+108>>2]=d;d=c;p=p*+q[h>>2];N:{if(y(p)<2147483648){b=~~p;break N}b=-2147483648}q[d+132>>2]=b;p=u*+(0-q[h+4>>2]|0);O:{if(y(p)<2147483648){d=~~p;break O}d=-2147483648}q[c+136>>2]=d;c=n+z|0;q[c+144>>2]=d+q[c+144>>2];q[c+140>>2]=b+q[c+140>>2];g=g+1|0;if((l|0)!=(g|0)){continue}break}}cS(f);k=e+1|0;if(k>>>0>>0){continue}break}}Xd(f)}f=0}Da=i+32|0;return f}function rh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,w=0;w=e+2378|0;u=e+8|0;g=q[e+632>>2];i=e+2360|0;m=i;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{while(1){l:{if(g){f=g+ -1|0;if(f>>>0>4){return-31}switch(f-1|0){case 0:break j;case 2:break e;case 3:break f;case 1:break h;default:break l}}h=q[e+12>>2];m:{if(32-h>>>0>=2){j=q[u>>2];break m}g=q[e+20>>2];f=h;while(1){if(!g){break a}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;k=q[e+16>>2];l=r[k|0];g=g+ -1|0;q[e+20>>2]=g;h=f+ -8|0;q[e+12>>2]=h;q[e+16>>2]=k+1;j=j|l<<24;q[e+8>>2]=j;k=40-f|0;f=h;if(k>>>0<2){continue}break}}f=h+2|0;q[e+12>>2]=f;h=j>>>h&3;q[e+636>>2]=h;if((h|0)==1){break k}q[e+652>>2]=0;q[e+656>>2]=32;f=m;p[f+22>>1]=0;p[f+24>>1]=0;p[f+26>>1]=0;p[f+28>>1]=0;f=i;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;g=4;q[e+632>>2]=4;continue}break}f=q[e+12>>2]}n:{if(32-f>>>0>=2){j=q[u>>2];break n}g=q[e+20>>2];h=f;while(1){if(!g){break g}i=q[e+8>>2]>>>8|0;q[e+8>>2]=i;m=q[e+16>>2];j=r[m|0];g=g+ -1|0;q[e+20>>2]=g;f=h+ -8|0;q[e+12>>2]=f;q[e+16>>2]=m+1;j=i|j<<24;q[e+8>>2]=j;i=40-h|0;h=f;if(i>>>0<2){continue}break}}q[e+636>>2]=0;q[e+12>>2]=f+2;k=j>>>f&3;q[e+648>>2]=k;m=0;break i}k=q[e+648>>2];m=q[e+636>>2]}i=0;if(m>>>0<=k>>>0){a=a+ -1|0;a=a?32-z(a)|0:0;w=(a<<2)+153552|0;g=q[e+12>>2];while(1){o:{p:{q:{if(32-g>>>0>=a>>>0){j=q[e+8>>2];h=g;break q}f=q[e+20>>2];while(1){if(!f){break p}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;l=q[e+16>>2];n=r[l|0];f=f+ -1|0;q[e+20>>2]=f;h=g+ -8|0;q[e+12>>2]=h;q[e+16>>2]=l+1;j=j|n<<24;q[e+8>>2]=j;l=40-g|0;g=h;if(l>>>0>>0){continue}break}}g=a+h|0;q[e+12>>2]=g;f=q[w>>2]&j>>>h;if(f>>>0>>0){break o}return-4}q[e+632>>2]=2;q[e+636>>2]=m;break a}p[((m<<1)+e|0)+792>>1]=f;m=m+1|0;if(m>>>0<=k>>>0){continue}break}}if(!k){break h}while(1){a=s[((i<<1)+e|0)+792>>1];i=i+1|0;g=i;r:{while(1){if((a|0)!=s[((g<<1)+e|0)+792>>1]){g=g+1|0;if(g>>>0<=k>>>0){continue}break r}break}return-5}if((i|0)!=(k|0)){continue}break}}s:{g=q[e+648>>2];if((g|0)==3){g=q[e+12>>2];t:{if((g|0)!=32){f=q[u>>2];break t}a=q[e+20>>2];if(!a){break s}b=q[e+8>>2]>>>8|0;q[e+8>>2]=b;f=q[e+16>>2];h=r[f|0];q[e+20>>2]=a+ -1;g=24;q[e+12>>2]=24;q[e+16>>2]=f+1;f=b|h<<24;q[e+8>>2]=f}q[e+12>>2]=g+1;g=(f>>>g&1)+3|0;q[e+648>>2]=g}a=BA(c,e+792|0,g);break c}q[e+632>>2]=3;break a}q[e+632>>2]=1;break a}l=q[e+788>>2];i=q[e+640>>2];f=q[e+648>>2];n=q[e+656>>2];j=q[e+652>>2];a=q[e+644>>2];break d}m=q[e+656>>2];a=q[e+652>>2];k=q[e+636>>2];u:{if(k>>>0>17){break u}h=q[e+12>>2];while(1){v:{w:{x:{if(32-h>>>0>=4){j=q[e+8>>2];break x}f=q[e+20>>2];g=h;while(1){if(!f){break w}j=q[e+8>>2]>>>8|0;q[e+8>>2]=j;l=q[e+16>>2];n=r[l|0];f=f+ -1|0;q[e+20>>2]=f;h=g+ -8|0;q[e+12>>2]=h;q[e+16>>2]=l+1;j=j|n<<24;q[e+8>>2]=j;l=40-g|0;g=h;if(l>>>0<4){continue}break}}f=j>>>h&15;l=r[f+153408|0];g=h;break v}h=32-g|0;f=0;y:{if(!h){break y}f=q[e+8>>2]>>>g&15}l=r[f+153408|0];if(h>>>0>=l>>>0){break v}q[e+656>>2]=m;q[e+652>>2]=a;q[e+636>>2]=k;q[e+632>>2]=4;break a}h=g+l|0;q[e+12>>2]=h;g=r[f+153424|0];o[(r[k+153376|0]+e|0)+2360|0]=g;if(61166>>>f&1){f=((g<<1)+e|0)+2378|0;p[f>>1]=s[f>>1]+1;a=a+1|0;m=m-(32>>>g|0)|0;if(m+ -1>>>0>31){break u}}k=k+1|0;if((k|0)!=18){continue}break}}if(m){h=-6;if((a|0)!=1){break b}}EA(e+660|0,i,w);a=w;p[a+24>>1]=0;p[a+26>>1]=0;p[a+28>>1]=0;p[a+30>>1]=0;p[a+16>>1]=0;p[a+18>>1]=0;p[a+20>>1]=0;p[a+22>>1]=0;p[a+8>>1]=0;p[a+10>>1]=0;p[a+12>>1]=0;p[a+14>>1]=0;p[a>>1]=0;p[a+2>>1]=0;p[a+4>>1]=0;p[a+6>>1]=0;q[e+2232>>2]=-16;l=q[e+788>>2];p[l+ -32>>1]=65535;q[e+2236>>2]=-15;p[l+ -30>>1]=65535;q[e+2240>>2]=-14;p[l+ -28>>1]=65535;q[e+2244>>2]=-13;p[l+ -26>>1]=65535;q[e+2248>>2]=-12;p[l+ -24>>1]=65535;q[e+2252>>2]=-11;p[l+ -22>>1]=65535;q[e+2256>>2]=-10;p[l+ -20>>1]=65535;q[e+2260>>2]=-9;p[l+ -18>>1]=65535;q[e+2264>>2]=-8;p[l+ -16>>1]=65535;q[e+2268>>2]=-7;p[l+ -14>>1]=65535;q[e+2272>>2]=-6;p[l+ -12>>1]=65535;q[e+2276>>2]=-5;p[l+ -10>>1]=65535;q[e+2280>>2]=-4;p[l+ -8>>1]=65535;q[e+2284>>2]=-3;p[l+ -6>>1]=65535;q[e+2288>>2]=-2;p[l+ -4>>1]=65535;q[e+2292>>2]=-1;p[l+ -2>>1]=65535;q[e+648>>2]=0;q[e+652>>2]=0;n=32768;q[e+656>>2]=32768;q[e+640>>2]=0;q[e+644>>2]=8;q[e+632>>2]=5;i=0;j=0;f=0;a=8}z:{A:{B:{if(!ej(u)){f=q[e+648>>2];break B}C:{if(!n|f>>>0>=b>>>0){break C}m=q[e+20>>2];u=e+624|0;while(1){if(m>>>0<=1){q[e+652>>2]=j;q[e+648>>2]=f;q[e+644>>2]=a;q[e+656>>2]=n;q[e+640>>2]=i;break B}h=q[e+8>>2];g=q[e+12>>2];if(g>>>0>=16){g=g^16;q[e+12>>2]=g;k=h>>>16|0;q[e+8>>2]=k;h=q[e+16>>2];t=r[h|0]|r[h+1|0]<<8;m=m+ -2|0;q[e+20>>2]=m;q[e+16>>2]=h+2;h=k|t<<16;q[e+8>>2]=h}k=g;g=((h>>>g&31)<<2)+e|0;k=k+r[g+660|0]|0;q[e+12>>2]=k;g=s[g+662>>1];D:{if(g>>>0<=15){if(g){a=(u+(g<<2)|0)+1608|0;p[(q[a>>2]<<1)+l>>1]=f;q[a>>2]=f;a=(u+(g<<1)|0)+1754|0;p[a>>1]=s[a>>1]+1;n=n-(32768>>>g|0)|0;a=g}h=0;f=f+1|0;break D}v=(g|0)==16;t=v?2:3;q[e+12>>2]=t+k;k=q[(t<<2)+153552>>2]&h>>>k;g=0;h=v?a:0;E:{if((h|0)!=(i|0)){i=h;j=0;break E}if(!j){j=0;break E}g=j+ -2<>>0>b>>>0){n=1048575;q[e+656>>2]=1048575;break A}F:{if(!i){i=0;break F}v=((i<<2)+e|0)+2232|0;h=q[v>>2];while(1){j=f;p[(h<<1)+l>>1]=f;h=f;f=f+1|0;if((g|0)!=(f|0)){continue}break}q[v>>2]=j;f=((i<<1)+e|0)+2378|0;p[f>>1]=t+s[f>>1];n=n-(t<<15-i)|0}h=k;f=g}j=h;if(f>>>0>=b>>>0){break C}if(n){continue}break}}q[e+656>>2]=n;break A}if(f>>>0>=b>>>0){n=q[e+656>>2];break A}n=q[e+656>>2];j=e+624|0;h=0;while(1){if(!n){break z}G:{if(!h){g=q[e+12>>2];break G}a=q[e+20>>2];if(!a){break a}h=q[e+8>>2]>>>8|0;q[e+8>>2]=h;i=q[e+16>>2];m=r[i|0];g=q[e+12>>2]+ -8|0;q[e+12>>2]=g;q[e+20>>2]=a+ -1;q[e+16>>2]=i+1;q[e+8>>2]=h|m<<24}k=32-g|0;a=0;H:{if(!k){break H}a=q[e+8>>2]>>>g|0}h=1;i=((a&31)<<2)+e|0;m=r[i+660|0];I:{if(k>>>0>>0){break I}i=s[i+662>>1];if(i>>>0<=15){q[e+652>>2]=0;q[e+12>>2]=g+m;if(i){a=(j+(i<<2)|0)+1608|0;p[q[e+788>>2]+(q[a>>2]<<1)>>1]=f;q[a>>2]=f;n=n-(32768>>>i|0)|0;q[e+656>>2]=n;q[e+644>>2]=i;a=(j+(i<<1)|0)+1754|0;p[a>>1]=s[a>>1]+1}f=f+1|0;q[e+648>>2]=f;h=0;break I}v=k;k=i+ -14|0;l=k+m|0;if(v>>>0>>0){break I}q[e+12>>2]=g+l;l=q[e+788>>2];a=q[(k<<2)+153552>>2]&a>>>m;J:{if((i|0)!=16){i=3;g=0;break J}i=2;g=q[e+644>>2]}K:{if((g|0)!=q[e+640>>2]){q[e+640>>2]=g;h=0;q[e+652>>2]=0;i=0;break K}h=q[e+652>>2];if(!h){h=0;i=0;break K}i=h+ -2<>2]=i}a=(a+i|0)+3|0;q[e+652>>2]=a;i=a-h|0;a=i+f|0;if(a>>>0>b>>>0){q[e+656>>2]=1048575;q[e+648>>2]=b;return-7}if(g){m=((g<<2)+e|0)+2232|0;h=q[m>>2];while(1){g=f;p[l+(h<<1)>>1]=f;h=f;f=f+1|0;if((a|0)!=(f|0)){continue}break}q[e+648>>2]=a;q[m>>2]=g;a=q[e+640>>2];n=q[e+656>>2]-(i<<15-a)|0;q[e+656>>2]=n;a=((a<<1)+e|0)+2378|0;p[a>>1]=i+s[a>>1];f=q[e+648>>2];h=0;break I}q[e+648>>2]=a;h=0;f=a}if(f>>>0>>0){continue}break}}h=-7;if(n){break b}}a=CA(c,q[e+788>>2],w)}if(d){q[d>>2]=a}q[e+632>>2]=0;h=1}return h}return 2}function GT(a,b,c){a=a|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,t=0,u=0,v=0;j=Da-32|0;Da=j;a:{u=q[c+76>>2];if(u){d=u+ -1|0;b=0;h=q[c+88>>2];e=r[h+15|0];while(1){b:{if((b|0)==(d|0)){b=u;break b}b=b+1|0;if((e|0)==r[(w(b,20)+h|0)+15|0]){continue}}break}while(1){n=q[a+112>>2];g=b;c:{if(b>>>0<=i>>>0){break c}b=i;e=q[n+8>>2];if(!e){break c}while(1){d=w(b,20)+h|0;d:{if((e|0)!=q[d>>2]){break d}l=s[d+12>>1];if((l&96)!=96){break d}o[d+18|0]=4;p[d+12>>1]=l&65439}b=b+1|0;if((g|0)!=(b|0)){continue}break}}e=q[n+88>>2];t=(e|0)!=0;e:{f:{g:{b=i;h:{if(g>>>0<=b>>>0){l=i+1|0;if(l>>>0>>0){break h}break g}i:{while(1){if(r[(w(b,20)+h|0)+19|0]>=4){j:{if(!e){t=0;break j}d=b+1|0;if(d>>>0>=g>>>0){t=1;break j}while(1){l=w(d,20)+h|0;if(e&q[l+4>>2]){e=s[l+12>>1];if((e&112)==48){break j}k:{if(d>>>0>=g>>>0){b=d;break k}if(e&32){b=d;break k}b=d;if(r[l+18|0]!=4){break k}while(1){b=b+1|0;if((g|0)==(b|0)){b=g;break k}d=w(b,20)+h|0;if(r[d+12|0]&32){break k}if(r[d+18|0]==4){continue}break}}o[(w(b,20)+h|0)+19|0]=4;t=0;break j}d=d+1|0;if((g|0)!=(d|0)){continue}break}}l:{if(q[c+52>>2]!=1298954605){break l}d=b+1|0;if(d>>>0>=g>>>0){break l}while(1){m:{if(d>>>0>=g>>>0){break m}while(1){e=w(d,20)+h|0;if(r[e+12|0]&32){break m}e=r[e+18|0];if(e>>>0>31|!(1<>>0>>0?g:e)+ -1|0;n:{while(1){l=d;d=d+1|0;if(d>>>0>=g>>>0){l=e;break n}f=w(d,20)+h|0;if(r[f+12|0]&32){break n}m=r[f+18|0];k=1<>>0>31;if(k&96?!m:0){continue}break}if(!(k&727046)|m|r[f+19|0]!=8){break n}o[f+19|0]=4;b=d}d=l+2|0;if(d>>>0>>0){continue}break}}t=(t|0)!=0;if(b>>>0<=i>>>0){break i}b=b-(r[(w(b,20)+h|0)+19|0]>4)|0;break i}b=b+1|0;if((g|0)!=(b|0)){continue}break}b=g}o:{if(!((b|0)!=(g|0)|b>>>0<=i>>>0)){b=g;d=b+ -1|0;e=w(d,20)+h|0;if(r[e+12|0]&32){break o}b=r[e+18|0]==6?d:g}if(b>>>0<=i>>>0|b>>>0>=g>>>0){break o}while(1){d=w(b,20)+h|0;if(r[d+12|0]&32){break o}d=r[d+18|0];if(d>>>0>31|!(1<>>0>i>>>0){continue}break}b=i;l=b+1|0;if(l>>>0>=g>>>0){break g}break h}l=i+1|0;m=l>>>0>=g>>>0;p:{if(m|b>>>0<=i>>>0){break p}d=((b|0)==(g|0)?-2:-1)+b|0;q:{r:{s:{e=q[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break s}while(1){e=1;t:{if(d>>>0<=i>>>0){break t}while(1){u:{f=w(d,20)+h|0;if(r[f+12|0]&32){break u}f=r[f+18|0];if(f>>>0>31|!(1<>>0>i>>>0){continue}break}d=i}f=w(d,20)+h|0;if(r[f+12|0]&32|r[f+18|0]!=4|r[f+19|0]==2){break r}f=d+1|0;if(f>>>0>=g>>>0|(r[(w(f,20)+h|0)+18|0]!=6|e)){break s}d=d+ -1|0;continue}}e=i;f=e;if(d>>>0<=e>>>0){break q}f=i;if(r[(w(d,20)+h|0)+19|0]==2){break q}e=d;while(1){k=d+ -1|0;f=w(k,20)+h|0;if(r[f+19|0]==2){q[j+24>>2]=q[f+16>>2];v=q[f+12>>2];q[j+16>>2]=q[f+8>>2];q[j+20>>2]=v;v=q[f+4>>2];q[j+8>>2]=q[f>>2];q[j+12>>2]=v;sb(f,w(d,20)+h|0,w(e-k|0,20));d=w(e,20)+h|0;q[d+16>>2]=q[j+24>>2];f=q[j+20>>2];q[d+8>>2]=q[j+16>>2];q[d+12>>2]=f;f=q[j+12>>2];q[d>>2]=q[j+8>>2];q[d+4>>2]=f;b=b-(k>>>0>>0&b>>>0<=e>>>0)|0;d=b+1|0;d=d>>>0>>0?d:g;if(d-e>>>0>=2){kc(c,e,d)}e=e+ -1|0}d=k;if(d>>>0>i>>>0){continue}break}break p}f=i}e=f;while(1){if(r[(w(e,20)+h|0)+19|0]==2){d=b+1|0;d=d>>>0>>0?d:g;if(d-e>>>0<2){break p}kc(c,e,d);break h}e=e+1|0;if((e|0)!=(b|0)){continue}break}}if(m){break g}}k=w(i,20)+h|0;if(r[k+19|0]!=1|(r[k+18|0]==15|0)==((s[k+12>>1]&96)==32|0)){break g}f=q[q[n>>2]+16>>2];v:{w:{if((f|0)==12){break w}x:{y:{z:{d=l;if(d>>>0>>0){while(1){e=d+1|0;m=w(d,20)+h|0;if(r[m+18|0]==4?!(r[m+12|0]&32):0){break z}d=e;if((d|0)!=(b|0)){continue}break}}d=f+ -5|0;if(d>>>0>4){break w}switch(d-1|0){case 0:case 1:case 2:break w;case 3:break x;default:break y}}if(e>>>0>=b>>>0){break v}f=w(e,20)+h|0;if(r[f+12|0]&32){break v}m=e;e=r[f+18|0];d=e>>>0<32?1<>>0>>0?g:d)+ -1|0;e=b;while(1){A:{d=e;e=d+1|0;if(e>>>0>=g>>>0){d=f;break A}if(r[(w(e,20)+h|0)+19|0]<6){continue}}break}if(d>>>0>=g>>>0){break w}break v}d=b+1|0;f=(d>>>0>>0?g:d)+ -1|0;e=b;while(1){B:{d=e;e=d+1|0;if(e>>>0>=g>>>0){d=f;break B}m=r[(w(e,20)+h|0)+19|0];if(m>>>0>31|!(1<>>0>>0){break v}}C:{d=l;if(d>>>0>>0){while(1){e=d+1|0;f=w(d,20)+h|0;if(r[f+18|0]==4?!(r[f+12|0]&32):0){break C}d=e;if((d|0)!=(b|0)){continue}break}}d=g+ -1|0;e=d>>>0>i>>>0?i:d;d=g;while(1){D:{d=d+ -1|0;if(d>>>0<=i>>>0){d=e;break D}if(r[(w(d,20)+h|0)+19|0]==14){continue}}break}if(r[n+5|0]){break v}e=w(d,20)+h|0;if(r[e+12|0]&32|r[e+18|0]!=4){break v}e=b+1|0;if(e>>>0>=d>>>0){break v}while(1){f=w(e,20);e=e+1|0;d=d-(r[(f+h|0)+18|0]==7)|0;if(e>>>0>>0){continue}break}break v}if(e>>>0>=b>>>0){break v}f=w(e,20)+h|0;if(r[f+12|0]&32){break v}m=e;e=r[f+18|0];d=e>>>0<32?1<>>0>=2){kc(c,i,e)}q[j+24>>2]=q[k+16>>2];e=q[k+12>>2];q[j+16>>2]=q[k+8>>2];q[j+20>>2]=e;e=q[k+4>>2];q[j+8>>2]=q[k>>2];q[j+12>>2]=e;sb(k,w(l,20)+h|0,w(d-i|0,20));e=w(d,20)+h|0;q[e+16>>2]=q[j+24>>2];f=q[j+20>>2];q[e+8>>2]=q[j+16>>2];q[e+12>>2]=f;f=q[j+12>>2];q[e>>2]=q[j+8>>2];q[e+4>>2]=f;if(!t){break e}b=b-(b>>>0<=d>>>0&b>>>0>i>>>0)|0;break f}if(!t){break e}}d=b+1|0;if(d>>>0>=g>>>0){break e}e=q[n+88>>2];E:{F:{while(1){G:{f=w(d,20)+h|0;if(e&q[f+4>>2]){if((s[f+12>>1]&96)!=32){break e}e=q[c+52>>2];if((e|0)==1298954605|(e|0)==1415671148){break G}e=b;if(b>>>0<=i>>>0){break F}while(1){e=b;b=b+ -1|0;k=w(b,20)+h|0;H:{if(r[k+12|0]&32){break H}k=r[k+18|0];if(k>>>0>31){break H}if(1<>>0>i>>>0){continue}break}e=i;break E}d=d+1|0;if((g|0)!=(d|0)){continue}break e}break}e=b}if(e>>>0<=i>>>0|e>>>0>=g>>>0){break E}b=w(e,20)+h|0;if(s[b+ -8>>1]&32|r[b+ -2|0]!=4|r[b+12|0]&32){break E}b=r[b+18|0];e=(b>>>0<32&(1<>>0>=2){kc(c,e,b)}q[j+24>>2]=q[f+16>>2];b=q[f+12>>2];q[j+16>>2]=q[f+8>>2];q[j+20>>2]=b;b=q[f+4>>2];q[j+8>>2]=q[f>>2];q[j+12>>2]=b;b=w(e,20)+h|0;sb(b+20|0,b,w(d-e|0,20));q[b+16>>2]=q[j+24>>2];d=q[j+20>>2];q[b+8>>2]=q[j+16>>2];q[b+12>>2]=d;d=q[j+12>>2];q[b>>2]=q[j+8>>2];q[b+4>>2]=d}b=w(i,20)+h|0;I:{if(r[b+19|0]!=2){break I}J:{if(i){d=i+ -1|0;if(1<<(s[(w(d,20)+h|0)+16>>1]&31)&8190){break J}}q[b+4>>2]=q[b+4>>2]|q[n+116>>2];break I}rb(c,d,l)}K:{if(!r[n+5|0]){break K}b=q[a+4>>2];if((b|0)==1399418472|(b|0)==1415671148|g-i>>>0<2){break K}kc(c,i,g)}e=q[c+76>>2];b=g+1|0;d=e>>>0>b>>>0?e:b;h=q[c+88>>2];i=r[(h+w(g,20)|0)+15|0];b=g;while(1){L:{b=b+1|0;if(b>>>0>=e>>>0){b=d;break L}if((i|0)==r[(w(b,20)+h|0)+15|0]){continue}}break}i=g;if(g>>>0>>0){continue}break}a=r[c+164|0];if(!(a&64)){break a}a=a<<24>>24;o[c+164|0]=a&191;if((a|0)>=0){break a}o[c+164|0]=a&63}Da=j+32|0;return}I(267387,267357,160,267372);F()}function ic(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;f=Da+ -64|0;Da=f;a:{b:{if(!q[b+8>>2]){if(!d){break a}q[b+8>>2]=64;o[b+4|0]=6;e=n[q[q[b+16>>2]>>2]](256)|0;q[b>>2]=e;if(!e){q[b+8>>2]=0;break a}Na(e,0,256);while(1){e=a;a=q[e+472>>2];if(a){continue}break}a=q[e+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;t=f+40|0;q[f+48>>2]=t;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=a^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=a^1852075885;q[f+20>>2]=1685025377;if(r[c|0]){e=c;while(1){j=j+1|0;a=r[e+1|0];e=e+1|0;if(a){continue}break}}u=c+j|0;B=f+48|0;j=c;while(1){c:{e=t;if(j>>>0>=u>>>0){break c}d:{e:{while(1){a=r[j|0];q[f+48>>2]=e+1;o[e|0]=a;e=q[f+48>>2];j=j+1|0;if((u|0)==(j|0)){break e}if(e>>>0>>0){continue}break}a=j;break d}a=u}if(e>>>0>>0){break c}m=a;q[f+48>>2]=t;e=q[f+60>>2];p=q[f+56>>2]+8|0;if(p>>>0<8){e=e+1|0}a=f;q[f+56>>2]=p;q[f+60>>2]=e;g=q[f+16>>2];p=q[f+20>>2];e=$$(g,p,13);i=Ea;h=e;e=q[f+12>>2]+p|0;l=g;g=q[f+8>>2];p=l+g|0;if(p>>>0>>0){e=e+1|0}C=p;h=h^p;g=i;i=e;p=g^e;w=$$(h,p,17);s=Ea;v=q[f+44>>2];y=v^q[f+36>>2];e=y+q[f+28>>2]|0;A=q[f+40>>2];x=A^q[f+32>>2];l=q[f+24>>2];g=x+l|0;if(g>>>0>>0){e=e+1|0}k=g;g=e;e=e+p|0;h=h+k|0;if(h>>>0>>0){e=e+1|0}z=h;h=h^w;l=e;p=e^s;w=$$(h,p,13);s=Ea;E=$$(x,y,16)^k;y=g^Ea;g=$$(C,i,32);i=g+E|0;e=Ea+y|0;k=i;g=i>>>0>>0?e+1|0:e;e=g+p|0;h=h+i|0;if(h>>>0>>0){e=e+1|0}x=h;h=h^w;i=e;p=e^s;w=$$(h,p,17);s=Ea;y=$$(E,y,21)^k;k=Ea^g;g=$$(z,l,32);l=g+y|0;e=Ea+k|0;e=l>>>0>>0?e+1|0:e;g=a;a=g;z=p;p=e;e=z+e|0;h=h+l|0;if(h>>>0>>0){e=e+1|0}q[a+16>>2]=h^w;q[g+20>>2]=e^s;Q=f,R=$$(h,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;l=$$(y,k,16)^l;h=p^Ea;p=$$(x,i,32);g=p+l|0;e=Ea+h|0;e=g>>>0

>>0?e+1|0:e;Q=f,R=$$(l,h,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^A;q[f+12>>2]=e^v;a=j>>>0>>0;j=m;if(a){continue}}break}u=bi(f+8|0)&q[b+8>>2]+ -1;break b}e=a;while(1){j=e;e=q[e+472>>2];if(e){continue}break}e=q[j+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;u=f+40|0;q[f+48>>2]=u;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=e^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=e^1852075885;q[f+20>>2]=1685025377;j=0;if(r[c|0]){e=c;while(1){j=j+1|0;m=r[e+1|0];e=e+1|0;if(m){continue}break}}s=c+j|0;G=f+48|0;j=c;while(1){f:{e=u;if(j>>>0>=s>>>0){break f}g:{h:{while(1){m=r[j|0];q[f+48>>2]=e+1;o[e|0]=m;e=q[f+48>>2];j=j+1|0;if((s|0)==(j|0)){break h}if(e>>>0>>0){continue}break}m=j;break g}m=s}if(e>>>0>>0){break f}p=m;q[f+48>>2]=u;e=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){e=e+1|0}m=f;q[f+56>>2]=g;q[f+60>>2]=e;h=q[f+16>>2];g=q[f+20>>2];e=$$(h,g,13);l=Ea;i=e;e=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){e=e+1|0}E=g;i=i^g;g=l;l=e;g=g^e;x=$$(i,g,17);w=Ea;C=q[f+44>>2];v=C^q[f+36>>2];e=v+q[f+28>>2]|0;y=q[f+40>>2];z=y^q[f+32>>2];k=q[f+24>>2];h=z+k|0;if(h>>>0>>0){e=e+1|0}t=h;h=e;e=e+g|0;g=t;i=g+i|0;if(i>>>0>>0){e=e+1|0}A=i;i=i^x;k=e;g=e^w;x=$$(i,g,13);w=Ea;H=$$(z,v,16)^t;v=h^Ea;h=$$(E,l,32);l=h+H|0;e=Ea+v|0;t=l;h=l>>>0>>0?e+1|0:e;e=h+g|0;g=l;i=g+i|0;if(i>>>0>>0){e=e+1|0}z=i;i=i^x;l=e;g=e^w;x=$$(i,g,17);w=Ea;v=$$(H,v,21)^t;t=Ea^h;h=$$(A,k,32);k=h+v|0;e=Ea+t|0;e=k>>>0>>0?e+1|0:e;h=m;m=h;A=g;g=e;e=A+e|0;i=k+i|0;if(i>>>0>>0){e=e+1|0}q[m+16>>2]=i^x;q[h+20>>2]=e^w;Q=f,R=$$(i,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;k=$$(v,t,16)^k;i=g^Ea;g=$$(z,l,32);h=g+k|0;e=Ea+i|0;e=h>>>0>>0?e+1|0:e;g=h;Q=f,R=$$(k,i,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^y;q[f+12>>2]=e^C;e=j>>>0>>0;j=p;if(e){continue}}break}I=bi(f+8|0);k=q[b+8>>2];e=k+ -1|0;u=I&e;l=q[b>>2];t=q[(u<<2)+l>>2];if(t){i=e>>>2|0;h=0-k&I;m=r[c|0];g=m;while(1){e=m;j=c;s=q[t>>2];if((g|0)==r[s|0]){while(1){if(!(e&255)){break a}p=r[s+1|0];e=r[j+1|0];s=s+1|0;j=j+1|0;if((e|0)==(p|0)){continue}break}}B=B&255?B:i&h>>>r[b+4|0]+ -1|1;e=B&255;u=(u-e|0)+(u>>>0>>0?k:0)|0;t=q[l+(u<<2)>>2];if(t){continue}break}}t=0;if(!d){break a}e=r[b+4|0];if(!(q[b+12>>2]>>>e+ -1)){break b}M=e+1|0;K=M&255;D=1<>2]>>2]](j)|0;if(!e){break a}J=D+ -1|0;F=Na(e,0,j);e=q[b+8>>2];if(e){P=J>>>2|0;G=K+ -1|0;H=0-D|0;N=f+48|0;u=f+40|0;while(1){B=L<<2;j=q[B+q[b>>2]>>2];if(j){j=q[j>>2];e=a;while(1){m=e;e=q[e+472>>2];if(e){continue}break}e=q[m+492>>2];q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=u;q[f+24>>2]=1852142177;q[f+28>>2]=1819895653;q[f+8>>2]=1886610805;q[f+12>>2]=1936682341;q[f+32>>2]=e^2037671283;q[f+36>>2]=1952801890;q[f+16>>2]=e^1852075885;q[f+20>>2]=1685025377;s=0;e=j;if(r[e|0]){while(1){s=s+1|0;m=r[e+1|0];e=e+1|0;if(m){continue}break}}s=j+s|0;while(1){i:{e=u;if(j>>>0>=s>>>0){break i}j:{k:{while(1){m=r[j|0];q[f+48>>2]=e+1;o[e|0]=m;e=q[f+48>>2];j=j+1|0;if((s|0)==(j|0)){break k}if(e>>>0>>0){continue}break}m=j;break j}m=s}if(e>>>0>>0){break i}p=m;q[f+48>>2]=u;e=q[f+60>>2];g=q[f+56>>2]+8|0;if(g>>>0<8){e=e+1|0}m=f;q[f+56>>2]=g;q[f+60>>2]=e;h=q[f+16>>2];g=q[f+20>>2];e=$$(h,g,13);l=Ea;i=e;e=q[f+12>>2]+g|0;g=h;h=q[f+8>>2];g=g+h|0;if(g>>>0>>0){e=e+1|0}E=g;i=i^g;g=l;l=e;g=g^e;x=$$(i,g,17);w=Ea;C=q[f+44>>2];v=C^q[f+36>>2];e=v+q[f+28>>2]|0;y=q[f+40>>2];z=y^q[f+32>>2];k=q[f+24>>2];h=z+k|0;if(h>>>0>>0){e=e+1|0}t=h;h=e;e=e+g|0;g=t;i=g+i|0;if(i>>>0>>0){e=e+1|0}A=i;i=i^x;k=e;g=e^w;x=$$(i,g,13);w=Ea;O=$$(z,v,16)^t;v=h^Ea;h=$$(E,l,32);l=h+O|0;e=Ea+v|0;t=l;h=l>>>0>>0?e+1|0:e;e=h+g|0;g=l;i=g+i|0;if(i>>>0>>0){e=e+1|0}z=i;i=i^x;l=e;g=e^w;x=$$(i,g,17);w=Ea;v=$$(O,v,21)^t;t=Ea^h;h=$$(A,k,32);k=h+v|0;e=Ea+t|0;e=k>>>0>>0?e+1|0:e;h=m;m=h;A=g;g=e;e=A+e|0;i=k+i|0;if(i>>>0>>0){e=e+1|0}q[m+16>>2]=i^x;q[h+20>>2]=e^w;Q=f,R=$$(i,e,32),q[Q+24>>2]=R;q[f+28>>2]=Ea;k=$$(v,t,16)^k;i=g^Ea;g=$$(z,l,32);h=g+k|0;e=Ea+i|0;e=h>>>0>>0?e+1|0:e;g=h;Q=f,R=$$(k,i,21)^g,q[Q+32>>2]=R;q[f+36>>2]=Ea^e;q[f+8>>2]=g^y;q[f+12>>2]=e^C;e=j>>>0>>0;j=p;if(e){continue}}break}j=bi(f+8|0);e=j&J;s=F+(e<<2)|0;if(q[s>>2]){p=P&(j&H)>>>G|1;j=0;while(1){j=j&255?j:p;m=j&255;e=(e-m|0)+(e>>>0>>0?D:0)|0;s=F+(e<<2)|0;if(q[s>>2]){continue}break}}q[s>>2]=q[q[b>>2]+B>>2];e=q[b+8>>2]}L=L+1|0;if(L>>>0>>0){continue}break}}n[q[q[b+16>>2]+8>>2]](q[b>>2]);q[b+8>>2]=D;o[b+4|0]=M;q[b>>2]=F;u=J&I;if(!q[F+(u<<2)>>2]){break b}j=(0-D&I)>>>K+ -1&J>>>2|1;e=0;while(1){e=e&255?e:j;a=e&255;u=(u-a|0)+(u>>>0>>0?D:0)|0;if(q[F+(u<<2)>>2]){continue}break}}a=n[q[q[b+16>>2]>>2]](d)|0;e=u<<2;q[e+q[b>>2]>>2]=a;a=q[e+q[b>>2]>>2];if(!a){t=0;break a}Na(a,0,d);q[q[e+q[b>>2]>>2]>>2]=c;q[b+12>>2]=q[b+12>>2]+1;t=q[e+q[b>>2]>>2]}Da=f- -64|0;return t}function lt(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,p=0,s=0,t=0;g=Da-96|0;Da=g;while(1){a:{b:{c:{d:{e=b;c=r[e|0];b=c+ -10|0;if(b>>>0>3){if((c|0)!=239|r[e+1|0]!=187){break d}j=3;b=e;if(r[e+2|0]!=191){break c}break b}j=1;switch(b-1|0){case 0:case 1:break d;default:break b}}b=e}while(1){c=c&255;if(!(1<>>0<=13:0)){c=r[b+1|0];b=b+1|0;continue}break}e:{if((b|0)!=(e|0)){if(c){o[b|0]=0;b=b+1|0}f:{if(!Ce(e,2161,13)){q[q[a+88>>2]>>2]=1;break f}if(!Ce(e,2175,11)){q[q[a+88>>2]>>2]=2;q[a+32>>2]=2;break f}if(!Ce(e,2187,12)){q[q[a+88>>2]>>2]=2;q[a+32>>2]=1;break f}if(!Ce(e,2200,8)){q[q[a+88>>2]>>2]=3;break f}d=Ce(e,2209,7);c=q[a+88>>2];if(!d){q[c>>2]=4;break f}d=q[c>>2]+ -1|0;if(d>>>0>3){break f}g:{switch(d-1|0){default:if(!Ra(e,2217,9)){p=a,s=Bb(e+9|0),q[p+36>>2]=s;break f}if(!Ra(e,2227,9)){p=a,s=Bb(e+9|0),q[p+40>>2]=s;break f}if(!Ra(e,2237,6)){p=a,t=xc(e+6|0,0),v[p+48>>3]=t;break f}if(!Ra(e,2244,10)){p=a,s=Bb(e+10|0),q[p+56>>2]=s;break f}if(!Ra(e,2255,22)){p=a,s=Fi(e+22|0),q[p+60>>2]=s;break f}if(!Ra(e,2278,8)){p=a,s=Fi(e+8|0),q[p+64>>2]=s;break f}if(!Ra(e,2287,13)){p=a,s=cs(e+13|0),q[p+72>>2]=s;break f}if(Ra(e,2301,9)){break f}j=e+9|0;e=r[e+9|0];h:{if(!e){break h}while(1){c=j;d=e<<24>>24;if(!(d+ -9>>>0<4|(d|0)==32|(e&255)==13)){break h}j=c+1|0;e=r[c+1|0];if(e){continue}break}}La(q[a+68>>2]);p=a,s=Fg(j,2),q[p+68>>2]=s;break f;case 0:if(!Ra(e,2311,7)){q[g+92>>2]=e+7;fd(g+92|0);La(q[a+24>>2]);c=eb(q[g+92>>2]);q[a+24>>2]=c;e=q[a+84>>2];q[g>>2]=c;hb(e,7,2319,g);break f}if(Ra(e,2336,6)){break f}q[g+88>>2]=e+6;fd(g+88|0);e=q[g+88>>2];c=q[a+24>>2];if(!c){d=a;i:{if(q[a+32>>2]==2){c=eb(2343);break i}c=eb(2530)}q[d+24>>2]=c}m=eb(c);if(!q[a>>2]){c=q[a+4>>2];if((c|0)<=-1){break a}d=a;j:{if(c){h=q[a+16>>2];c=0;break j}q[a+4>>2]=20;h=db(q[a+16>>2],2880);q[a+16>>2]=h;c=q[a>>2]}q[d>>2]=c+1;d=w(c,144);Na(d+h|0,0,144);d=d+q[a+16>>2]|0;p=d,s=eb(2777),q[p>>2]=s;h=eb(2785);q[d+116>>2]=20;q[d+104>>2]=2;q[d+96>>2]=0;q[d+100>>2]=1074266112;q[d+88>>2]=0;q[d+92>>2]=1073741824;q[d+80>>2]=1;q[d+64>>2]=0;q[d+68>>2]=0;q[d+56>>2]=0;q[d+60>>2]=1072693248;q[d+48>>2]=0;q[d+52>>2]=1072693248;q[d+32>>2]=200;q[d+24>>2]=0;q[d+28>>2]=128;q[d+16>>2]=-256;q[d+20>>2]=16776960;q[d+8>>2]=0;q[d+12>>2]=1077018624;q[d+4>>2]=h;q[d+108>>2]=20;q[d+112>>2]=20;q[a+76>>2]=c}c=q[a+84>>2];q[g+20>>2]=e;q[g+16>>2]=a;hb(c,6,2757,g+16|0);l=q[a>>2];c=q[a+4>>2];if((l|0)>(c|0)){break a}k:{if((c|0)!=(l|0)){c=q[a+16>>2];break k}c=l+20|0;q[a+4>>2]=c;c=db(q[a+16>>2],w(c,144));q[a+16>>2]=c;l=q[a>>2]}q[a>>2]=l+1;d=c;c=w(l,144);Na(d+c|0,0,144);f=c+q[a+16>>2]|0;q[f+56>>2]=0;q[f+60>>2]=1079574528;q[f+48>>2]=0;q[f+52>>2]=1079574528;q[g+92>>2]=m;fd(g+92|0);i=q[g+92>>2];j=r[i|0];l:{if(!j){break l}n=f- -64|0;while(1){c=i;m:{while(1){d=j&255;if(!d){break m}if((d|0)!=44){d=c+1|0;q[g+92>>2]=d;j=r[c+1|0];c=d;continue}break}o[c|0]=0;c=q[g+92>>2]+1|0}nb(g+92|0,i);o[q[g+92>>2]]=0;q[g+92>>2]=e;fd(g+92|0);h=q[g+92>>2];e=h;j=r[e|0];if(!j){break l}n:{while(1){d=j&255;if(!d){break n}if((d|0)!=44){d=e+1|0;q[g+92>>2]=d;j=r[e+1|0];e=d;continue}break}o[e|0]=0;e=q[g+92>>2]+1|0}nb(g+92|0,h);o[q[g+92>>2]]=0;if(!h){break l}o:{if(!fb(i,2772)){d=q[f>>2];if(d){La(d)}while(1){d=h;h=d+1|0;if(r[d|0]==42){continue}break}d=eb(d);q[f>>2]=d;if(Ta(d,2777)){break o}q[a+76>>2]=l;break o}if(!fb(i,1617)){d=q[f+4>>2];if(d){La(d)}p=f,s=eb(h),q[p+4>>2]=s;break o}if(!fb(i,1626)){p=f,s=df(h),q[p+16>>2]=s;break o}if(!fb(i,1640)){p=f,s=df(h),q[p+20>>2]=s;break o}if(!fb(i,1656)){p=f,s=df(h),q[p+24>>2]=s;break o}if(!fb(i,1670)){d=df(h);q[f+28>>2]=d;if(q[a+32>>2]!=2){break o}q[f+24>>2]=d;break o}if(!fb(i,1681)){p=f,t=xc(h,0),v[p+8>>3]=t;break o}if(!fb(i,1690)){p=f,s=Bb(h),q[p+32>>2]=s;break o}if(!fb(i,1695)){p=f,s=Bb(h),q[p+36>>2]=s;break o}if(!fb(i,1702)){p=f,s=Bb(h),q[p+40>>2]=s;break o}if(!fb(i,1712)){p=f,s=Bb(h),q[p+44>>2]=s;break o}if(!fb(i,1722)){p=n,t=xc(h,0),v[p>>3]=t;break o}if(!fb(i,1730)){p=f,t=xc(h,0),v[p+72>>3]=t;break o}if(!fb(i,1736)){p=f,s=Bb(h),q[p+80>>2]=s;break o}if(!fb(i,1748)){d=Bb(h);q[f+104>>2]=d;if(q[a+32>>2]==1){p=f,s=bs(d),q[p+104>>2]=s;break o}d=d+ -4|0;if(d>>>0>4){break o}p:{switch(d-1|0){case 3:q[f+104>>2]=3;break o;case 0:case 1:case 2:break o;default:break p}}q[f+104>>2]=11;break o}if(!fb(i,1766)){p=f,s=Bb(h),q[p+108>>2]=s;break o}if(!fb(i,1774)){p=f,s=Bb(h),q[p+112>>2]=s;break o}if(!fb(i,1782)){p=f,s=Bb(h),q[p+116>>2]=s;break o}if(!fb(i,1790)){p=f,s=Bb(h),q[p+120>>2]=s;break o}if(!fb(i,1799)){p=f,t=xc(h,0),v[p+48>>3]=t;break o}if(!fb(i,1806)){p=f,t=xc(h,0),v[p+56>>3]=t;break o}if(!fb(i,1813)){p=f,t=xc(h,0),v[p+88>>3]=t;break o}if(fb(i,1821)){break o}p=f,t=xc(h,0),v[p+96>>3]=t}q[g+92>>2]=c;fd(g+92|0);i=q[g+92>>2];j=r[i|0];if(j){continue}break}}k=v[f+48>>3];v[f+48>>3]=(k>0?k:0)/100;k=v[f+56>>3];v[f+56>>3]=(k>0?k:0)/100;q[f+32>>2]=q[f+32>>2]!=0;q[f+36>>2]=q[f+36>>2]!=0;q[f+40>>2]=q[f+40>>2]!=0;q[f+44>>2]=q[f+44>>2]!=0;k=v[f+64>>3];v[f+64>>3]=k>0?k:0;k=v[f+88>>3];v[f+88>>3]=k>0?k:0;k=v[f+96>>3];v[f+96>>3]=k>0?k:0;if(!q[f>>2]){p=f,s=eb(2777),q[p>>2]=s}if(!q[f+4>>2]){p=f,s=eb(2785),q[p+4>>2]=s}La(m);break f;case 1:q[g+92>>2]=e;if(!Ra(e,2311,7)){q[g+88>>2]=e+7;fd(g+88|0);La(q[a+28>>2]);c=eb(q[g+88>>2]);q[a+28>>2]=c;e=q[a+84>>2];q[g+32>>2]=c;hb(e,7,2791,g+32|0);break f}if(!Ra(e,2808,9)){q[g+92>>2]=e+9;fd(g+92|0);c=q[a+8>>2];e=q[a+12>>2];if((c|0)>(e|0)){break e}q:{if((c|0)!=(e|0)){e=q[a+20>>2];break q}c=c<<1|1;q[a+12>>2]=c;e=db(q[a+20>>2],w(c,56));q[a+20>>2]=e;c=q[a+8>>2]}q[a+8>>2]=c+1;d=e;e=w(c,56);c=d+e|0;q[c>>2]=0;q[c+4>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=e+q[a+20>>2]|0;if(!q[a+28>>2]){q[q[a+88>>2]>>2]=3;p=a,s=eb(q[a+32>>2]==2?2995:3068),q[p+28>>2]=s;hb(q[a+84>>2],6,3141,0)}wS(a,c,q[g+92>>2]);break f}c=q[a+84>>2];q[g+48>>2]=e;hb(c,6,2818,g+48|0);break f;case 2:break g}}if(!Ra(e,2842,9)){q[g+92>>2]=e+9;fd(g+92|0);if(q[q[a+88>>2]+4>>2]){ft(a)}c=eb(q[g+92>>2]);q[q[a+88>>2]+4>>2]=c;e=q[a+84>>2];q[g+64>>2]=c;hb(e,6,2852,g- -64|0);break f}if(!q[c+4>>2]){c=q[a+84>>2];q[g+80>>2]=e;hb(c,6,2865,g+80|0);break f}h=q[c+16>>2];d=Wa(e);i=q[c+12>>2];r:{if((h+d|0)<=(i|0)){c=q[c+8>>2];break r}h=i+((d|0)>102400?d:102400)|0;q[c+12>>2]=h;c=db(q[c+8>>2],h);h=q[a+88>>2];q[h+8>>2]=c;h=q[h+16>>2]}Qa(c+h|0,e,d);c=q[a+88>>2];q[c+16>>2]=d+q[c+16>>2]}if(r[b|0]){continue}}if(q[q[a+88>>2]+4>>2]){ft(a)}Da=g+96|0;return}I(1487,1465,126,1524);F()}b=e+j|0;continue}break}I(1428,1465,104,1471);F()}function ST(a,b,c){a=a|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,s=0;l=Da-16|0;Da=l;i=q[c+88>>2];h=5;f=1;b=0;j=q[c+76>>2];d=0;a:{if(j){break a}d=1}while(1){b:{c:{d:{e:{if(!d){k=h<<1;n=p[k+263312>>1]+261584|0;d=o[h+263472|0];e=r[h+263904|0]==7?b:e;h=r[(i+w(b,20)|0)+18|0];s=r[k+261424|0];if(h>>>0>=s>>>0){d=h>>>0>r[k+261425|0]?d:h-s|0}d=o[d+n|0];break e}if((h|0)==5){break d}b=j;d=p[(h<<1)+263744>>1]+ -1|0}h=o[d+263552|0];d=o[d+263648|0];f:{if(!d){break f}d=d+ -1|0;if(d>>>0>20){break f}g:{h:{switch(d-1|0){case 3:g=b+1|0;break f;case 10:g=b+1|0;if(e>>>0>>0){k=f<<4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=k;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 12:g=b+1|0;if(e>>>0>>0){k=f<<4|3;d=e;while(1){o[(i+w(d,20)|0)+15|0]=k;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 8:g=b+1|0;if(e>>>0>>0){k=f<<4|7;d=e;while(1){o[(i+w(d,20)|0)+15|0]=k;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 6:g=b+1|0;if(e>>>0>>0){k=f<<4|8;d=e;while(1){o[(i+w(d,20)|0)+15|0]=k;n=(b|0)==(d|0);d=d+1|0;if(!n){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break f;case 9:if(e>>>0>>0){g=f<<4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 13:if(e>>>0>>0){g=f<<4|1;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 14:if(e>>>0>>0){g=f<<4|2;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 11:if(e>>>0>>0){g=f<<4|3;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 16:if(e>>>0>>0){g=f<<4|4;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 15:if(e>>>0>>0){g=f<<4|5;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 17:if(e>>>0>>0){g=f<<4|6;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 18:if(e>>>0>>0){g=f<<4|7;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;case 19:if(e>>>0>>0){g=f<<4|8;d=e;while(1){o[(i+w(d,20)|0)+15|0]=g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;g=b;b=b+ -1|0;break f;default:if(e>>>0>>0){d=f<<4|3;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 2:if(e>>>0>>0){d=f<<4|7;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 0:d=m+ -8|0;if(d>>>0>1){break f}if(d-1){if(e>>>0>>0){d=f<<4|7;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;m=8;break f}if(e>>>0>>0){d=f<<4|8;b=e;while(1){o[(i+w(b,20)|0)+15|0]=d;b=b+1|0;if((g|0)!=(b|0)){continue}break}}b=g+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break g;case 1:g=b+1|0;m=8;break f;case 4:case 5:break f;case 7:break h}}g=b+1|0}m=9}e=r[h+263984|0]==6?0:e;b=b+1|0;if((j|0)!=(b|0)){break c}d=1;continue}h=q[c+76>>2];if(!h){g=0;break b}d=h+ -1|0;b=0;e=q[c+88>>2];g=r[e+15|0];while(1){i:{if((b|0)==(d|0)){b=h;break i}b=b+1|0;if((g|0)==r[(e+w(b,20)|0)+15|0]){continue}}break}d=0;g=h;while(1){e=b;if(b-d>>>0>=2){rb(c,d,e);g=q[c+76>>2]}b=e+1|0;d=g>>>0>b>>>0?g:b;j=d+ -1|0;f=q[c+88>>2];i=r[(f+w(e,20)|0)+15|0];b=e;while(1){j:{if((b|0)==(j|0)){b=d;break j}b=b+1|0;if((i|0)==r[(f+w(b,20)|0)+15|0]){continue}}break}d=e;if(d>>>0>>0){continue}break}break b}d=0;continue}break}j=q[a+112>>2];f=q[j>>2];if(!(!f|!g)){b=g+ -1|0;d=0;h=q[c+88>>2];e=r[h+15|0];while(1){k:{if((b|0)==(d|0)){d=g;break k}d=d+1|0;if((e|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}b=0;while(1){e=d;d=d-b|0;d=(r[(h+w(b,20)|0)+18|0]==18?1:d>>>0<3?d:3)+b|0;if(b>>>0>>0){while(1){i=h+w(b,20)|0;q[i+4>>2]=f|q[i+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=e+1|0;b=g>>>0>b>>>0?g:b;i=b+ -1|0;m=r[(h+w(e,20)|0)+15|0];d=e;while(1){l:{if((d|0)==(i|0)){d=b;break l}d=d+1|0;if((m|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}b=e;if(b>>>0>>0){continue}break}}m:{if(q[j+4>>2]){break m}j=q[a+36>>2];k=l;d=q[a+44>>2];n:{o:{if((d|0)>=1){a=q[a+48>>2];e=0;d=d+ -1|0;h=d;p:{q:{while(1){f=e+h>>>1|0;i=q[a+w(f,36)>>2];r:{if(i>>>0>=1769172845){h=f+ -1|0;break r}if((i|0)==1769172844){break q}e=f+1|0}if((e|0)<=(h|0)){continue}break}h=0;break p}h=q[(a+w(f,36)|0)+28>>2]}e=0;i=(h|0)==(j|0)?0:h;q[l>>2]=i;h=d;s:{while(1){f=e+h>>>1|0;m=q[a+w(f,36)>>2];t:{if(m>>>0<=1768843636){b=q[(a+w(f,36)|0)+28>>2];if((m|0)==1768843636){break s}e=f+1|0;break t}h=f+ -1|0}if((e|0)<=(h|0)){continue}break}b=0}h=b;e=0;h=(h|0)==(j|0)?0:h;q[l+4>>2]=h;i=h|i;h=d;u:{while(1){f=e+h>>>1|0;m=q[a+w(f,36)>>2];v:{if(m>>>0<=1835361385){e=q[(a+w(f,36)|0)+28>>2];if((m|0)==1835361385){break u}e=f+1|0;break v}h=f+ -1|0}if((e|0)<=(h|0)){continue}break}e=0}h=0;e=(e|0)==(j|0)?0:e;q[l+8>>2]=e;e=e|i;while(1){f=d+h>>>1|0;i=q[a+w(f,36)>>2];w:{if(i>>>0<=1718185569){b=q[(a+w(f,36)|0)+28>>2];if((i|0)==1718185569){break n}h=f+1|0;break w}d=f+ -1|0}if((h|0)<=(d|0)){continue}break}break o}e=0;q[l+8>>2]=0;q[l>>2]=0;q[l+4>>2]=0}b=0}a=b;a=(a|0)==(j|0)?0:a;q[k+12>>2]=a;a=a|e;if(!a|!g){break m}i=a^-1;a=g+ -1|0;b=0;f=q[c+88>>2];e=r[f+15|0];c=e;while(1){x:{if((a|0)==(b|0)){b=g;break x}b=b+1|0;if((c|0)==r[(f+w(b,20)|0)+15|0]){continue}}break}d=0;h=0;j=4;while(1){a=d;d=b;b=e&15;y:{if(b>>>0>8){break y}if(!(1<>>0>3){break z}A:{switch(j-1|0){case 0:case 1:break z;default:break A}}if(h>>>0>=a>>>0){break z}b=q[((b?8:4)|l)>>2];while(1){e=f+w(h,20)|0;q[e+4>>2]=b|i&q[e+4>>2];h=h+1|0;if((a|0)!=(h|0)){continue}break}}j=c?3:0;if(a>>>0>=d>>>0){break y}c=q[(j<<2|l)>>2];b=a;while(1){e=f+w(b,20)|0;q[e+4>>2]=c|i&q[e+4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=d+1|0;c=g>>>0>b>>>0?g:b;h=c+ -1|0;e=r[(f+w(d,20)|0)+15|0];b=d;while(1){B:{if((b|0)==(h|0)){b=c;break B}b=b+1|0;if(r[(f+w(b,20)|0)+15|0]==(e&255)){continue}}break}h=a;if(d>>>0>>0){continue}break}}Da=l+16|0}function XT(a,b,c){a=a|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=Da-32|0;Da=g;a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}q[b+72>>2]=0;l=q[b+76>>2];a:{b:{if(!l){break b}while(1){if(!r[b+68|0]){break b}j=q[b+88>>2];a=q[j+w(d,20)>>2];c:{if((a&-2)==12334){d:{if(!(q[b+80>>2]!=(f|0)|f>>>0<=i>>>0)){Zc(b,i,d);e:{if(r[b+69|0]){f:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break f}}if(!Va(b,1,1)){break e}d=q[b+88>>2]+w(q[b+72>>2],20)|0;k=q[d+4>>2];e=q[b+92>>2]+w(q[b+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=k;q[e+16>>2]=q[d+16>>2];j=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=j;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}d=g+8|0;q[d>>2]=0;e=a;a=q[c+72>>2];if(n[q[a+156>>2]](c,q[c+76>>2],e,d,q[a+20>>2])){a=q[c+72>>2];if(!n[q[a+168>>2]](c,q[c+76>>2],q[g+8>>2],q[a+32>>2])){break d}}gf(b,i,f+1|0);d=q[b+92>>2];a=d+w(f,20)|0;q[g+24>>2]=q[a+16>>2];e=q[a+12>>2];q[g+16>>2]=q[a+8>>2];q[g+20>>2]=e;e=q[a+4>>2];q[g+8>>2]=q[a>>2];q[g+12>>2]=e;a=d+w(i,20)|0;sb(a+20|0,a,w(f-i|0,20));q[a+16>>2]=q[g+24>>2];f=q[g+20>>2];q[a+8>>2]=q[g+16>>2];q[a+12>>2]=f;f=q[g+12>>2];q[a>>2]=q[g+8>>2];q[a+4>>2]=f;break d}g:{if(r[b+16|0]&16){break g}q[g+8>>2]=0;f=q[c+72>>2];if(!n[q[f+156>>2]](c,q[c+76>>2],9676,g+8|0,q[f+20>>2])){break g}f=g+8|0;q[f>>2]=0;e=f;f=q[c+72>>2];h:{if(!n[q[f+156>>2]](c,q[c+76>>2],a,e,q[f+20>>2])){d=9676;break h}f=q[c+72>>2];f=n[q[f+168>>2]](c,q[c+76>>2],q[g+8>>2],q[f+32>>2])|0;d=f?9676:a;a=f?a:9676}q[g+12>>2]=d;q[g+8>>2]=a;ch(b,1,2,g+8|0);break d}if(r[b+69|0]){i:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break i}}if(!Va(b,1,1)){break d}f=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[f+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[f>>2];q[a+4>>2]=d;q[a+16>>2]=q[f+16>>2];d=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=d;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}i=q[b+80>>2];f=i;break c}i=q[b+80>>2];j:{k:{m=a+ -4352|0;if(a+ -43360>>>0>28?m>>>0>=96:0){break k}e=d+1|0;if(e>>>0>=l>>>0){break k}e=q[j+w(e,20)>>2];if(e+ -55216>>>0>22?e+ -4448>>>0>=72:0){break j}k=0;f=0;h=d+2|0;if(h>>>0>>0){j=q[j+w(h,20)>>2];k=j+ -4520>>>0<88|j+ -55243>>>0<49;f=k?j:0;k=k?j+ -4519|0:0}h=d;d=f?3:2;rb(b,h,h+d|0);l:{if(m>>>0>18|e+ -4449>>>0>20|(f+ -4520>>>0>26?f:0)){break l}a=((w(a,588)+w(e,28)|0)+k|0)+ -2639516|0;q[g+28>>2]=a;q[g+8>>2]=0;e=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],e,g+8|0,q[a+20>>2])){break l}ch(b,d,1,g+28|0);if(r[b+68|0]!=1){break a}f=i+1|0;break c}o[(q[b+88>>2]+w(q[b+72>>2],20)|0)+18|0]=1;m:{if(r[b+69|0]){n:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break n}}if(!Va(b,1,1)){a=q[b+72>>2];break m}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}a=q[b+72>>2]+1|0;q[b+72>>2]=a}o[(q[b+88>>2]+w(a,20)|0)+18|0]=2;o:{if(r[b+69|0]){p:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break p}}if(!Va(b,1,1)){break o}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}if(f){o[(q[b+88>>2]+w(q[b+72>>2],20)|0)+18|0]=3;q:{if(r[b+69|0]){r:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break r}}if(!Va(b,1,1)){break q}f=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[f+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[f>>2];q[a+4>>2]=d;q[a+16>>2]=q[f+16>>2];d=q[f+12>>2];q[a+8>>2]=q[f+8>>2];q[a+12>>2]=d;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}a=3}else{a=2}f=a+i|0;if(q[b+20>>2]){break c}gf(b,i,f);break c}e=a+ -44032|0;if(e>>>0>11171){break j}q[g+8>>2]=0;d=q[c+72>>2];d=n[q[d+156>>2]](c,q[c+76>>2],a,g+8|0,q[d+20>>2])|0;k=((e&65535)>>>0)/588|0;e=e-w(k,588)|0;j=((e&65535)>>>0)/28|0;m=e-w(j,28)|0;e=m&65535;s:{t:{if(!e){u:{h=q[b+72>>2]+1|0;v:{if(h>>>0>=l>>>0){break v}h=q[q[b+88>>2]+w(h,20)>>2];if(h+ -4520>>>0>26){break v}a=(a+h|0)+ -4519|0;q[g+28>>2]=a;q[g+8>>2]=0;h=a;a=q[c+72>>2];if(n[q[a+156>>2]](c,q[c+76>>2],h,g+8|0,q[a+20>>2])){break u}a=q[b+72>>2];rb(b,a,a+2|0)}if(!d){break t}a=q[b+72>>2]+1|0;if(a>>>0>=l>>>0){break s}a=q[q[b+88>>2]+w(a,20)>>2];if(a+ -4520>>>0<88|a+ -55243>>>0<=48){break t}break s}ch(b,2,1,g+28|0);if(r[b+68|0]!=1){break a}f=i+1|0;break c}if(d){break s}}q[g+12>>2]=j+4449;a=k|4352;q[g+8>>2]=a;q[g+16>>2]=m+4519&65535;q[g+28>>2]=0;w:{x:{h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break x}a=q[g+12>>2];q[g+28>>2]=0;h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break x}if(e){a=q[g+16>>2];q[g+28>>2]=0;h=a;a=q[c+72>>2];if(!n[q[a+156>>2]](c,q[c+76>>2],h,g+28|0,q[a+20>>2])){break w}}a=e?3:2;ch(b,1,a,g+8|0);if(!(!d|e)){y:{if(r[b+69|0]){z:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break z}}if(!Va(b,1,1)){break y}f=q[b+88>>2]+w(q[b+72>>2],20)|0;j=q[f+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[f>>2];q[d+4>>2]=j;q[d+16>>2]=q[f+16>>2];e=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=e;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}a=a+1|0}if(r[b+68|0]!=1){break a}d=q[b+92>>2];f=d+w(i,20)|0;o[f+38|0]=2;o[f+18|0]=1;e=i+2|0;f=a+i|0;if(e>>>0>>0){o[(d+w(e,20)|0)+18|0]=3}if(q[b+20>>2]){break c}gf(b,i,f);break c}if(e){break w}a=q[b+72>>2];e=a+1|0;if(e>>>0>=l>>>0){break w}e=q[q[b+88>>2]+w(e,20)>>2];if(e+ -55243>>>0>48?e+ -4520>>>0>=88:0){break w}rb(b,a,a+2|0)}if(!d){break j}}f=i+1|0;if(r[b+69|0]){A:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break A}}if(!Va(b,1,1)){break c}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1;break c}if(r[b+69|0]){B:{if(q[b+92>>2]==q[b+88>>2]){a=q[b+80>>2];if((a|0)==q[b+72>>2]){break B}}if(!Va(b,1,1)){break c}d=q[b+88>>2]+w(q[b+72>>2],20)|0;e=q[d+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[b+80>>2]}q[b+80>>2]=a+1}q[b+72>>2]=q[b+72>>2]+1}d=q[b+72>>2];if(d>>>0>>0){continue}break}}Kc(b)}Da=g+32|0;return}I(255392,255364,150,255379);F()}function XM(a,b,c,d){a=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,q=0,r=0,t=0;e=Da+ -64|0;q=d<<4;o=w(c+15&-16,d);r=c<<1;t=r+4|0;if(t>>>0>=17){h=q<<1;k=16;while(1){n=0;if(d){while(1){c=m-q|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];f=s[c+28>>1];p[e+28>>1]=f;g=s[c+30>>1];p[e+30>>1]=g;c=m>>>0>>0?(m<<1)+b|0:438160;i=s[c>>1];p[e+32>>1]=i;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];c=(g+((f+i&65534)>>>1|0)&65534)>>>1|0;g=g+1|0;p[a+2>>1]=(((c+i&65534)>>>1|0)+g&65534)>>>1;p[a>>1]=(g+((c+f&65534)>>>1|0)&65534)>>>1;i=s[e+32>>1];f=s[e+34>>1];g=s[e+30>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+6>>1]=(j+f&65534)>>>1;p[a+4>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+34>>1];f=s[e+36>>1];g=s[e+32>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+10>>1]=(j+f&65534)>>>1;p[a+8>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+36>>1];f=s[e+38>>1];g=s[e+34>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+14>>1]=(j+f&65534)>>>1;p[a+12>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+38>>1];f=s[e+40>>1];g=s[e+36>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+18>>1]=(j+f&65534)>>>1;p[a+16>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+40>>1];f=s[e+42>>1];g=s[e+38>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+22>>1]=(j+f&65534)>>>1;p[a+20>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+42>>1];f=s[e+44>>1];g=s[e+40>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+26>>1]=(j+f&65534)>>>1;p[a+24>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;i=s[e+44>>1];f=s[e+46>>1];g=s[e+42>>1];c=(i+((f+g&65534)>>>1|0)&65534)>>>1|0;j=(c+f&65534)>>>1|0;f=i+1|0;p[a+30>>1]=(j+f&65534)>>>1;p[a+28>>1]=(f+((c+g&65534)>>>1|0)&65534)>>>1;j=s[e+46>>1];g=s[e+48>>1];i=s[e+44>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;c=a+h|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+2>>1]=(l+g&65534)>>>1;p[c>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+48>>1];g=s[e+50>>1];i=s[e+46>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+6>>1]=(l+g&65534)>>>1;p[c+4>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+50>>1];g=s[e+52>>1];i=s[e+48>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+10>>1]=(l+g&65534)>>>1;p[c+8>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+52>>1];g=s[e+54>>1];i=s[e+50>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+14>>1]=(l+g&65534)>>>1;p[c+12>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+54>>1];g=s[e+56>>1];i=s[e+52>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+18>>1]=(l+g&65534)>>>1;p[c+16>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+56>>1];g=s[e+58>>1];i=s[e+54>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+22>>1]=(l+g&65534)>>>1;p[c+20>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+58>>1];g=s[e+60>>1];i=s[e+56>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+26>>1]=(l+g&65534)>>>1;p[c+24>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;j=s[e+60>>1];g=s[e+62>>1];i=s[e+58>>1];f=(j+((g+i&65534)>>>1|0)&65534)>>>1|0;l=(f+g&65534)>>>1|0;g=j+1|0;p[c+30>>1]=(l+g&65534)>>>1;p[c+28>>1]=(g+((f+i&65534)>>>1|0)&65534)>>>1;m=m+16|0;a=a+32|0;n=n+1|0;if((n|0)!=(d|0)){continue}break}}a=a+h|0;k=k+32|0;if(k>>>0>>0){continue}break}}if(!(!d|r+3&16)){n=0;while(1){c=m-q|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];h=s[c+28>>1];p[e+28>>1]=h;k=s[c+30>>1];p[e+30>>1]=k;c=m>>>0>>0?(m<<1)+b|0:438160;f=s[c>>1];p[e+32>>1]=f;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];c=(k+((f+h&65534)>>>1|0)&65534)>>>1|0;k=k+1|0;p[a+2>>1]=(((c+f&65534)>>>1|0)+k&65534)>>>1;p[a>>1]=(k+((c+h&65534)>>>1|0)&65534)>>>1;f=s[e+32>>1];h=s[e+34>>1];k=s[e+30>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+6>>1]=(g+h&65534)>>>1;p[a+4>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+34>>1];h=s[e+36>>1];k=s[e+32>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+10>>1]=(g+h&65534)>>>1;p[a+8>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+36>>1];h=s[e+38>>1];k=s[e+34>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+14>>1]=(g+h&65534)>>>1;p[a+12>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+38>>1];h=s[e+40>>1];k=s[e+36>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+18>>1]=(g+h&65534)>>>1;p[a+16>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+40>>1];h=s[e+42>>1];k=s[e+38>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+22>>1]=(g+h&65534)>>>1;p[a+20>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+42>>1];h=s[e+44>>1];k=s[e+40>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+26>>1]=(g+h&65534)>>>1;p[a+24>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;f=s[e+44>>1];h=s[e+46>>1];k=s[e+42>>1];c=(f+((h+k&65534)>>>1|0)&65534)>>>1|0;g=(c+h&65534)>>>1|0;h=f+1|0;p[a+30>>1]=(g+h&65534)>>>1;p[a+28>>1]=(h+((c+k&65534)>>>1|0)&65534)>>>1;m=m+16|0;a=a+32|0;n=n+1|0;if((n|0)!=(d|0)){continue}break}}}function FX(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=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:{d=a+ -1|0;if(d>>>0>30){d=a+ -255|0;if(d>>>0>38){break y}z:{switch(d-1|0){default:if(r[b+16|0]){break j}i=q[b+12>>2];e=i+4|0;a=q[b+4>>2];if(e>>>0>a>>>0){break j}A:{if(i>>>0>=a>>>0){h=1;o[b+16|0]=1;c=271312;break A}c=i+q[b>>2]|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=q[b+24>>2];B:{if(d>>>0>2]){q[b+24>>2]=d+1;d=q[b+36>>2]+(d<<3)|0;break B}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];d=642976}v[d>>3]=+(c|0)*152587890625e-16;if(!(i>>>0>a>>>0|h|e>>>0>a>>>0)){q[b+12>>2]=e;return}break c;case 34:EX(b,c);break a;case 35:DX(b,c);break a;case 36:CX(b,c);break a;case 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: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 y;case 37:break z}}AX(b,c);break a}switch(d-1|0){case 17:case 18:break k;case 19:break l;case 20:break m;case 2:break n;case 3:break o;case 4:break p;case 5:break q;case 6:break r;case 22:break s;case 23:break t;case 24:break u;case 25:break v;case 28:break w;case 29:break x;case 0:case 7:case 10:case 11:case 13:case 14:case 15:case 26:break y;case 9:break d;case 12:break e;case 8:break f;case 27:break g;case 1:case 21:break i;default:break h}}qg(a,b);break j}zX(b,c);break a}yX(b,c);break a}xX(b,c);break a}wX(b,c);break a}vX(b,c);break a}uX(b,c);break a}tX(b,c);break a}sX(b,c);break a}rX(b,c);break a}pX(b,c);break a}h=q[b+24>>2];if(!r[b+144|0]){if(h>>>0>=2){C:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break C}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}k=v[b+136>>3];e=q[b+128>>2];d=q[b+132>>2];D:{if(h){a=h+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g();break D}j=v[q[b+36>>2]+(a<<3)>>3];break D}o[b+20|0]=1;a=0;i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g()}o[c|0]=0;v[b+136>>3]=k+j;q[b+128>>2]=e;q[b+132>>2]=d;break b}h=q[b+24>>2];if(!r[b+144|0]){if(h>>>0>=2){E:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break E}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}e=q[b+136>>2];d=q[b+140>>2];k=v[b+128>>3];F:{if(h){a=h+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g();break F}j=v[q[b+36>>2]+(a<<3)>>3];break F}o[b+20|0]=1;a=0;i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);j=+g()}o[c|0]=0;q[b+136>>2]=e;q[b+140>>2]=d;v[b+128>>3]=k+j;break b}i=q[b+24>>2];if(!r[b+144|0]){if(i>>>0>=3){G:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break G}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}m=v[b+136>>3];j=v[b+128>>3];H:{I:{if(i){e=i+ -1|0;q[b+24>>2]=e;d=q[b+32>>2];J:{if(d>>>0<=e>>>0){a=q[67829];q[160744]=q[67828];q[160745]=a;h=642976;break J}h=q[b+36>>2]+(e<<3)|0}if(!e){d=q[67828];e=q[67829];break I}a=i+ -2|0;q[b+24>>2]=a;if(d>>>0<=a>>>0){e=q[67829];d=q[67828];q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);l=+g();break H}l=v[q[b+36>>2]+(a<<3)>>3];break H}o[b+20|0]=1;a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;h=642976}o[b+20|0]=1;a=0;q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);l=+g()}k=v[h>>3];o[c|0]=0;v[b+136>>3]=m+k;v[b+128>>3]=j+l;break b}if(!(r[b+144|0]|a+ -19>>>0>1)){if(o[b+24|0]&1){K:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break K}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}L:{if(r[b+74|0]){a=q[b+84>>2];break L}o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;a=(a+q[b+76>>2]|0)+7>>>3|0;q[b+84>>2]=a}if(r[b+16|0]){break j}h=q[b+12>>2];c=h+a|0;a=q[b+4>>2];if(c>>>0>a>>>0){break j}q[b+148>>2]=0;q[b+24>>2]=0;if(h>>>0<=a>>>0){q[b+12>>2]=c;return}break c}return}M:{if(r[b+144|0]|a>>>0>23){break M}N:{O:{c=1<>2];c=a>>>0>2;break N}a=q[b+24>>2];c=a&1;break N}a=q[b+24>>2];c=a>>>0>1}if(!(!a|!c)){P:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break P}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;a=q[b+24>>2];q[b+24>>2]=0;q[b+80>>2]=q[b+80>>2]+(a>>>1|0);return}Q:{if(r[b+144|0]|a>>>0>18){break Q}R:{if(!(1<>2];c=a>>>0>1;break R}a=q[b+24>>2];c=a&1}if(!(!a|!c)){S:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break S}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;a=q[b+24>>2];q[b+24>>2]=0;q[b+76>>2]=q[b+76>>2]+(a>>>1|0);return}zu(b,b+108|0,1);return}zu(b,b+116|0,2);return}if(!r[b+144|0]){if(o[b+24|0]&1){T:{if(!q[b+32>>2]){a=q[67829];e=a;d=q[67828];q[160744]=d;q[160745]=a;break T}a=q[b+36>>2];d=q[a>>2];e=q[a+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=d;q[b+156>>2]=e}o[b+144|0]=1}q[b+148>>2]=0;o[b+72|0]=1;q[b+24>>2]=0;return}if(r[b+16|0]){o[b+40|0]=1}a=q[b+92>>2];U:{V:{if(a){a=a+ -1|0;q[b+92>>2]=a;if(t[b+100>>2]<=a>>>0){break V}a=q[b+104>>2]+w(a,28)|0;break U}o[b+88|0]=1}q[160750]=q[67834];a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}h=q[a+4>>2];q[b+44>>2]=q[a>>2];q[b+48>>2]=h;q[b+68>>2]=q[a+24>>2];h=a+16|0;c=q[h+4>>2];q[b+60>>2]=q[h>>2];q[b+64>>2]=c;h=a+8|0;c=q[h+4>>2];q[b+52>>2]=q[h>>2];q[b+56>>2]=c;e=q[a+8>>2];d=q[a+12>>2];h=q[a>>2];c=q[a+4>>2];o[b+16|0]=r[a+16|0];q[b+8>>2]=e;q[b+12>>2]=d;q[b>>2]=h;q[b+4>>2]=c;return}o[b+16|0]=1;q[b+12>>2]=a;return}if(!r[b+73|0]){if(!r[b+74|0]){o[b+74|0]=1;a=q[b+80>>2]+(a>>>1|0)|0;q[b+80>>2]=a;q[b+84>>2]=(a+q[b+76>>2]|0)+7>>>3}o[b+73|0]=1}}q[b+24>>2]=0;q[b+148>>2]=0}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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;y=Da-16|0;Da=y;f=6;i=q[a+4>>2];a:{if(!i){break a}x=c?c+ -1|0:0;if(x>>>0>=t[i+408>>2]){break a}b:{if(d&9){break b}e=q[i+380>>2];if(!e){break b}u=q[i+416>>2];v=q[i+104>>2];f=q[i+388>>2];h=s[b+12>>1];c=0;while(1){if(!(q[f+4>>2]==s[b+14>>1]?(h|0)==q[f>>2]:0)){f=f+36|0;c=c+1|0;if((e|0)!=(c|0)){continue}break b}break}c=q[f+8>>2];if(Xa(v,q[f+24>>2]+q[i+432>>2]|0)){break b}if(lb(v,w(q[f+28>>2],((c>>>1&1)+(c&1|4)|0)+(c>>>2&1)|0))){break b}n=q[f+8>>2];z=n&1;m=((z|4)+(n>>>1&1)|0)+(n>>>2&1)|0;k=q[u+(x<<4)>>2];c=q[f+28>>2];e=q[v+32>>2];if(!(n&64)){h=q[v+36>>2];l=n|128;q[f+8>>2]=l;c:{d:{e:{g=w(c,m);A=g+e|0;if(A>>>0<=h>>>0){if((g|0)<1){break c}j=-1;if(!z){break e}g=e;while(1){h=r[g+1|0]|r[g|0]<<8;if((h|0)<=(j|0)){break d}j=h;g=g+m|0;if(g>>>0>>0){continue}break}break c}l=n&-129;q[f+8>>2]=l;break c}g=e;while(1){h=j;j=r[g|0];if((h|0)>=(j|0)){break d}g=g+m|0;if(g>>>0>>0){continue}break}break c}l=n&-129;q[f+8>>2]=l}n=l|64;q[f+8>>2]=n}f:{if(!(n&128)){break f}g:{if(!z){f=0;while(1){if(f>>>0>=c>>>0){break f}h=c+f>>>1|0;l=e+w(h,m)|0;g=r[l|0];j=k>>>0>>0;c=j?h:c;f=j?f:k>>>0>g>>>0?h+1|0:f;if((g|0)!=(k|0)){continue}break}l=l+1|0;break g}j=e+2|0;f=0;while(1){if(f>>>0>=c>>>0){break f}e=c+f>>>1|0;l=j+w(e,m)|0;h=l+ -2|0;h=r[h|0]<<8|r[h+1|0];g=h>>>0>k>>>0;f=g?f:h>>>0>>0?e+1|0:f;c=g?e:c;if((h|0)!=(k|0)){continue}break}}h:{if(n&2){f=l+2|0;h=r[l+1|0]|r[l|0]<<8;break h}f=l+1|0;h=r[l|0]}c=r[f|0];i:{if(n&4){m=r[f+1|0]<<8|c<<16;c=2;break i}m=c<<8;c=1}c=r[c+f|0];jb(v);if(!h){break b}c=c|m;g=u+(x<<4)|0;f=q[g+4>>2];k=q[i+304>>2];e=q[i+300>>2];j:{if((k|0)==(e|0)){e=f;break j}e=bb(f,e,k);k=q[i+304>>2];f=q[g+4>>2]}q[a+56>>2]=e;k=bb(s[b+12>>1]<<8,f,k);if(Xa(v,c+q[i+188>>2]|0)){break b}if(lb(v,h)){break b}c=q[v+32>>2];f=q[v+36>>2];if(c+1>>>0>f>>>0){break f}g=c;k:{l:{m:{n:{o:{m=r[c|0];switch((m&3)-1|0){case 2:break l;case 1:break m;case 0:break n;default:break o}}e=c+2|0;if(e>>>0>f>>>0){break f}c=o[g+1|0];l=c>>4;n=c<<28>>28;break k}e=c+3|0;if(e>>>0>f>>>0){break f}n=o[c+2|0];l=o[c+1|0];break k}e=c+5|0;if(e>>>0>f>>>0){break f}g=r[c+3|0]|r[c+4|0]<<8;n=(g<<24|g<<8&16711680)>>16;c=r[c+1|0]|r[c+2|0]<<8;l=(c<<24|c<<8&16711680)>>16;break k}e=c+7|0;if(e>>>0>f>>>0){break f}n=r[c+6|0]|(r[c+5|0]<<8|r[c+4|0]<<16);l=r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16)}j=m>>>2&3;u=j;p:{q:{switch(j-1|0){case 0:c=e+1|0;if(c>>>0>f>>>0){break f}e=r[e|0];u=e&15;j=e>>>4|0;e=c;break p;case 1:c=e+2|0;if(c>>>0>f>>>0){break f}u=r[e+1|0];j=r[e|0];e=c;break p;case 2:break q;default:break p}}c=e+4|0;if(c>>>0>f>>>0){break f}u=r[e+3|0]|r[e+2|0]<<8;j=r[e+1|0]|r[e|0]<<8;e=c}r:{s:{t:{u:{g=m>>>4|0;switch((g&3)-1|0){case 2:break s;case 1:break t;case 0:break u;default:break r}}c=e+1|0;if(c>>>0>f>>>0){break f}k=o[e|0]<<8;e=c;break r}c=e+2|0;if(c>>>0>f>>>0){break f}e=r[e|0]|r[e+1|0]<<8;k=(e<<24|e<<8&16711680)>>16;e=c;break r}c=e+3|0;if(c>>>0>f>>>0){break f}k=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);e=c}c=g>>>2|0;if(c>>>0>2){break f}v:{w:{switch(c-1|0){case 0:if(w(j,u)>>>0<=w(h,15)>>>0){break v}break f;case 1:if(w(j,u)>>>0>w(h+1>>>1|0,255)>>>0){break f}break v;default:break w}}if(w(j,u)+7>>>3>>>0>h>>>0){break f}}if((n|0)>(2147483647-u|0)){break f}q[a+72>>2]=1651078259;q[a+76>>2]=u;q[a+80>>2]=j;o[a+94|0]=1;f=0;q[a+48>>2]=0;q[a+36>>2]=n<<6;q[a+32>>2]=l<<6;q[a+28>>2]=u<<6;h=j<<6;q[a+24>>2]=h;g=j+7>>>3|0;q[a+84>>2]=g;q[a+44>>2]=0-h>>1;q[a+40>>2]=(k>>2)+32&-64;h=q[b+32>>2];q[a+104>>2]=n+u;q[a+100>>2]=l;q[a+52>>2]=h;x:{if(d&4194304){break x}if(_h(a,w(g,u))){break f}b=q[a+76>>2];if(!b){break x}h=q[a+80>>2];if(!h|c>>>0>2){break x}n=q[v+36>>2];d=q[a+84>>2];g=q[i+208>>2]&2;x=g?d:0-d|0;a=q[a+88>>2];j=g?a:a+w(d,b+ -1|0)|0;k=w(b,h);y:{switch(c-1|0){default:a=n-e<<3;g=a>>>0>k>>>0?k:a;if(!g){break x}b=128;c=0;a=0;k=j;d=h;i=g;while(1){if(!((g^i)&7)){a=r[e|0];e=e+1|0}c=a<<24>>31&b|c;d=d+ -1|0;z:{if(!d){o[k|0]=c;c=0;b=128;d=h;j=j+x|0;k=j;break z}b=b>>>1|0;if(b){break z}o[k|0]=c;k=k+1|0;c=0;b=128}a=a<<1;i=i+ -1|0;if(i){continue}break}if((b|0)==128){break x}o[k|0]=c;jb(v);break a;case 0:if(!k){break x}b=128;m=0;l=j;g=h;u=1;d=0;i=0;c=1;while(1){a=i;A:{if(u){while(1){B:{if(!c){c=1;a=d;break B}if(e>>>0>=n>>>0){c=1;a=i;i=b;break A}a=r[e|0];d=a&15;c=0;e=e+1|0;a=a>>>4|0}i=0;if(!a){continue}break}}i=c?b:0}m=i|m;g=g+ -1|0;C:{if(!g){o[l|0]=m;m=0;b=128;g=h;j=j+x|0;l=j;break C}b=b>>>1|0;if(b){break C}o[l|0]=m;l=l+1|0;m=0;b=128}u=(a|0)<2;i=a+ -1|0;k=k+ -1|0;if(k){continue}break}if((b|0)==128){break x}o[l|0]=m;jb(v);break a;case 1:break y}}if(!k){break x}m=128;d=0;g=j;b=h;a=1;i=0;c=1;while(1){D:{if(!a|e>>>0>=n>>>0){break D}E:{while(1){c=c^1;a=e+1|0;i=r[e|0];if(i){break E}e=a;if((a|0)!=(n|0)){continue}break}i=0;e=n;break D}e=a}d=(c?m:0)|d;b=b+ -1|0;F:{if(!b){o[g|0]=d;d=0;m=128;b=h;j=j+x|0;g=j;break F}m=m>>>1|0;if(m){break F}o[g|0]=d;g=g+1|0;d=0;m=128}a=(i|0)<2;i=i+ -1|0;k=k+ -1|0;if(k){continue}break}if((m|0)==128){break x}o[g|0]=d}jb(v);break a}jb(v)}f=6;if(d&16384){break a}h=q[i+416>>2];q[a+72>>2]=1869968492;q[a+108>>2]=0;c=h+(x<<4)|0;e=q[c+8>>2];c=q[c+12>>2];g=q[i+188>>2];j=q[i+104>>2];Xe(q[a+188>>2]);q[a+176>>2]=0;f=Yn(a+160|0,j,g,c,e);if(f){break a}c=q[a+188>>2];g=q[c+24>>2];e=a+108|0;q[e>>2]=q[c+20>>2];q[e+4>>2]=g;q[e+16>>2]=q[c+36>>2];g=q[c+32>>2];q[e+8>>2]=q[c+28>>2];q[e+12>>2]=g;c=q[a+124>>2]&-6;q[a+124>>2]=c|4;if(s[b+14>>1]<=23){q[a+124>>2]=c|260}q[a+52>>2]=0;q[a+40>>2]=0;f=q[(h+(x<<4)|0)+4>>2];c=q[i+304>>2];h=q[i+300>>2];if((c|0)!=(h|0)){f=bb(f,h,c)}G:{if(o[i+324|0]&1){q[a+52>>2]=f;i=f;f=q[a+40>>2];break G}q[a+40>>2]=f;i=q[a+52>>2]}q[a+60>>2]=i;q[a+56>>2]=f;q[a+44>>2]=0;q[a+48>>2]=0;if(!(d&1)){d=q[b+20>>2];h=q[b+16>>2];b=a;if(p[a+110>>1]>=1){f=q[a+112>>2];c=0;while(1){B=f,C=Ma(q[f>>2],h),q[B>>2]=C;B=f,C=Ma(q[f+4>>2],d),q[B+4>>2]=C;f=f+8|0;c=c+1|0;if((c|0)>1]){continue}break}f=q[a+40>>2]}B=b,C=Ma(f,h),q[B+40>>2]=C;B=a,C=Ma(q[a+52>>2],d),q[B+52>>2]=C}Te(e,y);b=q[y>>2];q[a+24>>2]=q[y+8>>2]-b;c=q[y+12>>2];d=q[y+4>>2];q[a+36>>2]=d;q[a+32>>2]=b;q[a+28>>2]=c-d;f=0}Da=y+16|0;return f|0}function sW(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,p=0,s=0,u=0,v=0,x=0;d=Da-112|0;Da=d;q[a+44>>2]=0;q[a+48>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;if(!r[a+40|0]){c=Mb(b);o[a+40|0]=1;q[a+36>>2]=c}k=a+4|0;b=BV(k,Jb(b,1128678962));q[a>>2]=b;b=ub(b);o[a+24|0]=0;q[a+32>>2]=b;e=q[b+12>>2];q[a+8>>2]=e;b=q[b+16>>2];f=b+e|0;q[a+12>>2]=f;a:{if((b|0)>-1){q[a+4>>2]=0;q[a+28>>2]=0;c=a;if(b>>>0>536870910){b=1073741823}else{b=b<<3;b=b>>>0>16384?b:16384;b=b>>>0<1073741823?b:1073741823}q[c+16>>2]=b;c=q[a>>2];g=q[c+12>>2];if(!(t[c+16>>2]>4?(g|0)!=271312:0)){Yd(a);break a}c=r[g+2|0]+g|0;b:{j=r[g+4|0]|r[g+3|0]<<8;if(j){if(f>>>0>>0|e>>>0>c>>>0|f-c>>>0>>0){break b}q[a+16>>2]=b+ -1}b=a+44|0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;o[d+24|0]=0;o[d+28|0]=0;q[d+12>>2]=j;q[d+8>>2]=c;q[d+16>>2]=0;q[d+20>>2]=0;c=Sa(4744);c:{if(!c){q[d+36>>2]=-1;break c}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=c;Na(c,0,4104)}o[d+48|0]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(!AV(d+8|0,b)){Yd(a);La(q[d+44>>2]);break a}La(q[d+44>>2]);e=r[g+2|0];f=r[g+4|0];j=r[g+3|0];b=q[a+68>>2];b=b?b+g|0:271312;q[a+80>>2]=b;c=q[a+60>>2];c=c?c+g|0:271312;q[a+84>>2]=c;l=q[a- -64>>2];q[a+88>>2]=l?l+g|0:271312;l=q[a+72>>2];q[a+92>>2]=l?l+g|0:271312;q[a+76>>2]=(e+(f|j<<8)|0)+g;d:{e:{if((b|0)!=271312){j=q[a+8>>2];if(j>>>0>b>>>0){break e}e=q[a+12>>2];if(e>>>0>>0|e-b>>>0<10){break e}f=q[a+16>>2];q[a+16>>2]=f+ -1;if((f|0)<1){break e}c=b+2|0;b=r[b+1|0]|r[b|0]<<8;if(b){if(e>>>0>>0|j>>>0>c>>>0|e-c>>>0>>0){break e}q[a+16>>2]=f+ -2;if((f|0)<2){break e}}if(!jW(c,k)){break e}c=q[a+84>>2]}if((c|0)==271312){break e}if(!Ni(c,k)){break e}b=q[a+76>>2];if((b|0)==271312){break e}if(!Ni(b,k)){break e}b=q[a+88>>2];if((b|0)==271312){break e}if(!Ni(b,k)){break e}b=q[a+92>>2];if((b|0)==271312){break d}c=b;b=q[a+88>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);if(zV(c,k,b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break d}}Yd(a);break a}b=q[a+84>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+124>>2]=b;if((b|0)!=q[a+36>>2]){Yd(a);break a}b=q[a+88>>2];b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+96>>2]=b;c=q[a+112>>2];if((c|0)>=0){b=(b|0)>0?b:0;f:{if(c>>>0>>0){e=c;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=b>>>0){continue}break}g:{if(!(e>>>0>>0|e>>>0>153391688)){c=db(q[a+120>>2],w(e,28));if(c){break g}}q[a+112>>2]=-1;break f}q[a+112>>2]=e;q[a+120>>2]=c}c=q[a+116>>2];if(b>>>0>c>>>0){Na(q[a+120>>2]+w(c,28)|0,0,w(b-c|0,28))}q[a+116>>2]=b}b=q[a+96>>2]}if(!b){break a}j=q[67830];l=q[67829];x=q[67828];while(1){c=x;b=l;f=j;h:{h=q[a+88>>2];e=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0){c=r[h+4|0];m=w(c,e+1|0);f=0;e=0;if(c){b=(w(c,i)+h|0)+5|0;while(1){e=r[b|0]|e<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=((h+4|0)+m|0)+e|0;b=jm(h,i)}e=b+1|0;i:{if(e>>>0<=1){if(e-1){break i}break h}if(t[a+8>>2]>c>>>0){break i}e=q[a+12>>2];if(e>>>0>>0|e-c>>>0>>0){break i}e=q[a+16>>2];q[a+16>>2]=e+ -1;if((e|0)>0){break h}}Yd(a);break a}o[d+84|0]=0;o[d+80|0]=0;q[d+76>>2]=0;q[d+72>>2]=f;q[d+68>>2]=b;q[d+64>>2]=c;q[d+96>>2]=0;q[d+100>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;b=Sa(4744);j:{if(!b){q[d+92>>2]=-1;break j}q[d+92>>2]=593;q[d+96>>2]=513;q[d+100>>2]=b;Na(b,0,4104)}o[d+104|0]=0;k:{l:{m:{n:{b=q[a+100>>2];if((b|0)>=0){c=b;e=q[a+104>>2];f=e+1|0;f=(f|0)>0?f:0;if(b>>>0>=f>>>0){break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=f>>>0){continue}break}if(!(c>>>0>>0|c>>>0>153391688)){b=db(q[a+108>>2],w(c,28));if(b){break n}}q[a+100>>2]=-1}q[160750]=q[67834];b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;break l}q[a+100>>2]=c;q[a+108>>2]=b;e=q[a+104>>2]}if(f>>>0>e>>>0){Na(q[a+108>>2]+w(e,28)|0,0,w(f-e|0,28))}q[a+104>>2]=f;b=q[a+108>>2];h=q[67834];q[160750]=h;c=q[67833];m=c;n=q[67832];q[160748]=n;q[160749]=c;c=q[67831];u=c;p=q[67830];q[160746]=p;q[160747]=c;c=q[67829];v=c;s=q[67828];q[160744]=s;q[160745]=c;c=b+w(f+ -1|0,28)|0;if((c|0)==642976){break l}b=c;q[b>>2]=0;q[b+4>>2]=0;q[b+24>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;if(!yV(d- -64|0,b)){break l}b=q[c+16>>2];e=b?b+g|0:271312;c=q[c+20>>2];b=c+1|0;o:{if(b>>>0<=1){if(b-1){break l}break o}if(t[a+8>>2]>e>>>0){break l}b=q[a+12>>2];if(b>>>0>>0|b-e>>>0>>0){break l}b=q[a+16>>2];q[a+16>>2]=b+ -1;if((b|0)<=0){break l}}o[d+28|0]=0;q[d+12>>2]=c;q[d+8>>2]=e;q[d+40>>2]=0;q[d+44>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;o[d+24|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;b=Sa(4744);p:{if(!b){q[d+36>>2]=-1;break p}q[d+36>>2]=593;q[d+40>>2]=513;q[d+44>>2]=b;Na(b,0,4104)}o[d+56|0]=0;q[d+52>>2]=0;o[d+48|0]=0;q:{if(t[a+116>>2]<=i>>>0){q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;b=642976;break q}b=q[a+120>>2]+w(i,28)|0}q[b+24>>2]=0;q[b+20>>2]=271312;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=d+8|0;r:{if(t[a+116>>2]<=i>>>0){q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;b=642976;break r}b=q[a+120>>2]+w(i,28)|0}s:{if(xV(f,b)){t:{if(t[a+116>>2]>i>>>0){e=c?e:271312;c=q[a+120>>2]+w(i,28)|0;b=q[c+16>>2];b=b?e+b|0:271312;q[c+20>>2]=b;if((b|0)!=271312){break t}b=0;break s}b=q[67833];q[160748]=q[67832];q[160749]=b;q[160750]=q[67834];b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=0;if(q[160749]==271312){break s}q[160750]=h;q[160748]=n;q[160749]=m;q[160746]=p;q[160747]=u;q[160744]=s;q[160745]=v;c=642976}b=0;if(Ni(q[c+20>>2],k)){break s}}Yd(a);b=1}La(q[d+44>>2]);break k}Yd(a);b=1}La(q[d+100>>2]);if(b){break a}i=i+1|0;if(i>>>0>2]){continue}break}break a}Yd(a);break a}I(242848,242873,195,242890);F()}Da=d+112|0}function SB(a,b,c,d,e){a=a|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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;a=Da-336|0;Da=a;q[b>>2]=1;x=b+504|0;q[x>>2]=0;y=ld(q[b+96>>2],17952,1);q[b+488>>2]=y;t=_d(q[q[b+96>>2]+4>>2],17969);q[b+492>>2]=t;a:{if(!t){f=11;break a}i=q[b+100>>2];Na(a+16|0,0,304);A=b,B=gb(i,12,a+12|0),q[A+496>>2]=B;b:{if(q[a+12>>2]){break b}q[b+500>>2]=12;f=q[b+104>>2];n[q[q[t+4>>2]>>2]](a+16|0,0,0,i);o[a+100|0]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+88>>2]=f;g=Xa(f,0);q[a+320>>2]=g;c:{d:{if(g){break d}g=lb(f,17);q[a+320>>2]=g;if(g){break d}if(Oc(q[f+32>>2],18e3,17)){g=2;q[a+320>>2]=2;jb(f);break d}jb(f);g=Xa(f,0);q[a+320>>2]=g;if(g){break d}h=q[f+4>>2];e:{if(!q[f+20>>2]){g=q[f+8>>2];j=q[f>>2];o[a+100|0]=1;q[a+96>>2]=h;q[a+92>>2]=g+j;g=Ib(f,h);q[a+320>>2]=g;if(g){break d}h=q[a+96>>2];break e}j=gb(i,h,a+320|0);q[a+92>>2]=j;g=q[a+320>>2];if(g){break d}g=Wb(f,j,h);q[a+320>>2]=g;if(g){break d}q[a+96>>2]=h}g=q[a+92>>2];q[a+20>>2]=g;q[a+16>>2]=g;q[a+24>>2]=g+h;q[a+12>>2]=0;break c}if(r[a+100|0]){q[a+12>>2]=g;break b}f=q[a+92>>2];if(f){n[q[i+8>>2]](i,f)}g=0;q[a+92>>2]=0;f=q[a+320>>2];q[a+12>>2]=f;if(f){break b}h=q[a+96>>2]}q[a+28>>2]=0;q[a+16>>2]=g;h=g+h|0;q[a+24>>2]=h;n[q[a+44>>2]](a+16|0);f:{f=q[a+16>>2];if(f>>>0>>0){u=b+132|0;m=b+164|0;v=b+464|0;while(1){g:{h:{g=r[f|0];if(!((g|0)!=70|f+25>>>0>=h>>>0)){if(Ra(f,18018,13)){break h}n[q[a+48>>2]](a+16|0);n[q[a+44>>2]](a+16|0);g=q[a+16>>2];f=g;i:{if(f>>>0>=h>>>0){break i}while(1){j:{if(!(r[f|0]!=107|f+5>>>0>=h>>>0)){if(!Ra(f,18032,5)){break j}}n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}n[q[a+44>>2]](a+16|0);f=q[a+16>>2];if(f>>>0>>0){continue}break i}break}n[q[a+48>>2]](a+16|0);n[q[a+72>>2]](a+16|0,a+320|0);g=q[a+328>>2]==3?q[a+16>>2]:g}q[a+16>>2]=g;break g}if((g|0)!=47|f+2>>>0>=h>>>0){break h}g=f+1|0;q[a+16>>2]=g;n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}i=q[a+16>>2];if(i>>>0>=h>>>0){break g}f=0;k=i-g|0;if(k+ -1>>>0>20){break g}while(1){k:{i=w(f,36);l=i+18048|0;j=q[l>>2];if(!j|r[g|0]!=r[j|0]){break k}if((Wa(j)|0)!=(k|0)){break k}if(Oc(g,j,k)){break k}g=a;l:{if(f+ -15>>>0<=3){n[q[i+18060>>2]](b,a+16|0);f=q[a+28>>2];break l}f=q[i+18056>>2];m:{n:{i=q[i+18052>>2]+ -2|0;if(i>>>0>3){break n}o:{switch(i-1|0){default:q[a+320>>2]=m;break m;case 0:case 1:break n;case 2:break o}}q[a+320>>2]=v;break m}q[a+320>>2]=u}if(f+ -9>>>0<=1){f=n[q[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break l}f=n[q[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}q[g+28>>2]=f;if(!f){break g}q[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break g}n[q[a+48>>2]](a+16|0);f=q[a+28>>2];if(f){break f}}n[q[a+44>>2]](a+16|0);f=q[a+16>>2];if(f>>>0>>0){continue}break}}f=q[a+28>>2];q[a+12>>2]=f;if(f){break b}if(r[b+437|0]!=42){q[a+12>>2]=2;break b}j=q[a+160>>2];q[b+420>>2]=j;if(!q[a+228>>2]){q[a+12>>2]=3}h=0;q[a+228>>2]=0;q[b+396>>2]=q[a+216>>2];q[b+428>>2]=q[a+240>>2];q[b+432>>2]=q[a+244>>2];q[b+400>>2]=q[a+164>>2];q[b+424>>2]=q[a+188>>2];q[a+188>>2]=0;q[a+164>>2]=0;if(q[b+368>>2]!=1){break b}i=0;k=q[a+124>>2];p:{if((k|0)<1){break p}g=0;if((j|0)>=1){while(1){l=g<<2;u=q[l+q[a+132>>2]>>2];v=g<<1;p[v+q[b+384>>2]>>1]=0;q[l+q[b+388>>2]>>2]=17992;q:{if(!u){break q}z=q[b+424>>2];f=0;while(1){m=q[(f<<2)+z>>2];if(Ta(u,m)){f=f+1|0;if((j|0)!=(f|0)){continue}break q}break}p[v+q[b+384>>2]>>1]=f;q[l+q[b+388>>2]>>2]=m;if(!Ta(17992,m)){break q}i=(g|0)<(i|0)?i:g+1|0;h=(g|0)<(h|0)?g:h}g=g+1|0;if((k|0)!=(g|0)){continue}break}break p}while(1){p[q[b+384>>2]+(g<<1)>>1]=0;q[q[b+388>>2]+(g<<2)>>2]=17992;g=g+1|0;if((k|0)!=(g|0)){continue}break}}q[b+380>>2]=i;q[b+376>>2]=h;q[b+372>>2]=q[a+104>>2];break b}q[a+12>>2]=f}f=q[a+156>>2];if(f){n[f](a+108|0)}f=q[a+264>>2];if(f){n[f](a+216|0)}f=q[a+212>>2];if(f){n[f](a+164|0)}f=q[a+316>>2];if(f){n[f](a+268|0)}if(!r[a+100|0]){f=q[a+32>>2];g=q[a+92>>2];if(g){n[q[f+8>>2]](f,g)}q[a+92>>2]=0}f=q[a+40>>2];if(f){n[f](a+16|0)}f=q[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}q[b+36>>2]=0;q[b+4>>2]=0;q[b+16>>2]=q[b+420>>2];c=q[b+8>>2];f=c|529;q[b+8>>2]=f;if(r[b+156|0]){f=c|533;q[b+8>>2]=f}q[b+24>>2]=17975;q[b+8>>2]=f|2048;c=q[b+144>>2];q[b+20>>2]=c;r:{if(c){f=q[b+140>>2];if(!f){break r}g=r[f|0];if(!g){break r}while(1){h=g&255;g=r[c|0];s:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break s}t:{u:{h=h+ -32|0;if(h>>>0>13){break u}switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break u;default:break t}}h=g+ -32|0;if(h>>>0>13){if(g){break r}q[b+24>>2]=f;break r}v:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break r;default:break v}}c=c+1|0;break s}f=f+1|0}g=r[f|0];if(g){continue}break}break r}c=q[b+364>>2];if(!c){break r}q[b+20>>2]=c}q[b+28>>2]=0;q[b+32>>2]=0;q[a+16>>2]=9;A=a,B=bc(q[q[b+96>>2]+4>>2],17983),q[A+36>>2]=B;q[a+20>>2]=q[b+496>>2];q[a+24>>2]=q[b+500>>2];if(d){q[a+44>>2]=e;q[a+40>>2]=d;q[a+16>>2]=25}f=ip(q[q[b+96>>2]+4>>2],a+16|0,0,x);if(f){break a}ep(q[q[b+504>>2]+88>>2]);c=q[b+504>>2];d=q[c+56>>2];q[b+52>>2]=q[c+52>>2];q[b+56>>2]=d;d=q[c+64>>2];q[b+60>>2]=q[c+60>>2];q[b+64>>2]=d;p[b+68>>1]=s[c+68>>1];p[b+70>>1]=s[c+70>>1];p[b+72>>1]=s[c+72>>1];p[b+74>>1]=s[c+74>>1];p[b+76>>1]=s[c+76>>1];p[b+78>>1]=s[c+78>>1];p[b+80>>1]=s[b+158>>1];p[b+82>>1]=s[b+160>>1];d=q[b+152>>2]!=0;q[b+12>>2]=d;if(r[c+12|0]&2){q[b+12>>2]=d|2}if(r[c+8|0]&32){q[b+8>>2]=q[b+8>>2]|32}if(!y){f=0;break a}c=q[t+32>>2];q[a+16>>2]=b;q[a+20>>2]=1970170211;q[a+24>>2]=65539;f=md(q[c+12>>2],0,a+16|0,0);w:{if(!f){break w}d=f&255;if((d|0)==163){break w}if((d|0)!=7){break a}}p[a+24>>1]=7;b=q[b+368>>2]+ -1|0;if(b>>>0>3){f=0;break a}x:{y:{switch(b-1|0){case 0:p[a+26>>1]=0;q[a+20>>2]=1094995778;break x;case 2:p[a+26>>1]=1;q[a+20>>2]=1094992453;c=c+4|0;break x;default:p[a+26>>1]=2;q[a+20>>2]=1094992451;c=c+8|0;break x;case 1:break y}}c=c+12|0;p[a+26>>1]=3;q[a+20>>2]=1818326065}f=0;b=q[c>>2];if(!b){break a}f=md(b,0,a+16|0,0)}Da=a+336|0;return f|0}function ml(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,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=Da-288|0;Da=g;i=v[d>>3];r=v[d+24>>3];n=v[d+8>>3];u=v[d+32>>3];l=i*r+n*u;o=d;d=e;r=i*u-n*r;m=r<0?1:2;j=d;a:{b:{c:{if(!(m&d)){break c}i=y(r);n=v[o+16>>3];x=i*n;u=v[o+40>>3];A=i*u;d:{s=l*n+u;if(!(s>2]=m|q[a+56>>2];break f}k=q[b+4>>2];p=q[b>>2];t=m&(q[a+60>>2]^-1);n=v[a+80>>3]*v[a+16>>3];g:{if(y(n)<2147483648){d=~~n;break g}d=-2147483648}h=t&1;n=v[a+88>>3]*v[a+24>>3];h:{if(y(n)<2147483648){j=~~n;break h}j=-2147483648}if(h){q[g+116>>2]=k+j;q[g+112>>2]=d+p;w=q[a>>2];h=q[g+116>>2];q[g+104>>2]=q[g+112>>2];q[g+108>>2]=h;h=0;if(!qb(w,g+104|0,1)){break a}}if(!(t&2)){break f}q[g+116>>2]=k-j;q[g+112>>2]=p-d;d=q[a+4>>2];j=q[g+116>>2];q[g+96>>2]=q[g+112>>2];q[g+100>>2]=j;h=0;if(!qb(d,g+96|0,1)){break a}}q[a+60>>2]=m|q[a+60>>2];i:{if(!(z<0^1?!(s<0):0)){k=q[b+4>>2];i=v[a+24>>3]*0;j:{if(y(i)<2147483648){d=~~i;break j}d=-2147483648}p=m&1;i=v[a+16>>3]*0;k:{if(y(i)<2147483648){j=~~i;break k}j=-2147483648}t=q[b>>2];if(p){q[g+116>>2]=d+k;q[g+112>>2]=j+t;w=q[a>>2];h=q[g+116>>2];q[g+72>>2]=q[g+112>>2];q[g+76>>2]=h;h=0;if(!qb(w,g+72|0,1)){break a}}w=m&2;if(w){q[g+116>>2]=k-d;q[g+112>>2]=t-j;d=q[a+4>>2];j=q[g+116>>2];q[g+64>>2]=q[g+112>>2];q[g+68>>2]=j;h=0;if(!qb(d,g- -64|0,1)){break a}}k=q[b+20>>2];i=v[a+24>>3]*0;l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}i=v[a+16>>3]*0;m:{if(y(i)<2147483648){j=~~i;break m}j=-2147483648}t=q[b+16>>2];if(p){q[g+116>>2]=d+k;q[g+112>>2]=j+t;p=q[a>>2];h=q[g+116>>2];q[g+56>>2]=q[g+112>>2];q[g+60>>2]=h;h=0;if(!qb(p,g+56|0,1)){break a}}if(!w){break i}q[g+116>>2]=k-d;q[g+112>>2]=t-j;d=q[a+4>>2];j=q[g+116>>2];q[g+48>>2]=q[g+112>>2];q[g+52>>2]=j;h=0;if(qb(d,g+48|0,1)){break i}break a}i=s/i;n=i*v[o+8>>3]*v[a+24>>3];n:{if(y(n)<2147483648){d=~~n;break n}d=-2147483648}h=m&1;k=q[b+4>>2];i=i*v[o>>3]*v[a+16>>3];o:{if(y(i)<2147483648){j=~~i;break o}j=-2147483648}p=q[b>>2];if(h){q[g+116>>2]=d+k;q[g+112>>2]=j+p;t=q[a>>2];h=q[g+116>>2];q[g+88>>2]=q[g+112>>2];q[g+92>>2]=h;h=0;if(!qb(t,g+88|0,1)){break a}}if(!(m&2)){break i}q[g+116>>2]=k-d;q[g+112>>2]=p-j;d=q[a+4>>2];j=q[g+116>>2];q[g+80>>2]=q[g+112>>2];q[g+84>>2]=j;h=0;if(!qb(d,g+80|0,1)){break a}}d=(m^-1)&e;if(d){break e}b=q[o+28>>2];q[a+80>>2]=q[o+24>>2];q[a+84>>2]=b;b=q[o+36>>2];q[a+88>>2]=q[o+32>>2];q[a+92>>2]=b;h=1;break a}j=e^m;break b}j=(l+x<1?l+A<1?m:0:0)^e}}p:{if(!j){break p}i=l+3;s=i*i;i=l+1;if(!(s>3])){break p}i=1/i;n=v[o+16>>3];s=n+n;u=v[o+40>>3];x=v[a+152>>3];if(!(y(r*(i*s-u))>2];l=v[o+32>>3];r=v[o+8>>3];p=q[b>>2];n=v[o+24>>3];u=v[o>>3];B=j^-1;q[a+60>>2]=B&q[a+60>>2];s=v[a+80>>3]*v[a+16>>3];q:{if(y(s)<2147483648){e=~~s;break q}e=-2147483648}t=j&1;s=v[a+88>>3]*v[a+24>>3];r:{if(y(s)<2147483648){m=~~s;break r}m=-2147483648}if(t){q[g+116>>2]=k+m;q[g+112>>2]=e+p;w=q[a>>2];h=q[g+116>>2];q[g+40>>2]=q[g+112>>2];q[g+44>>2]=h;h=0;if(!qb(w,g+40|0,2)){break a}}C=j&2;if(C){q[g+116>>2]=k-m;q[g+112>>2]=p-e;e=q[a+4>>2];j=q[g+116>>2];q[g+32>>2]=q[g+112>>2];q[g+36>>2]=j;h=0;if(!qb(e,g+32|0,2)){break a}}n=i*(u+n);p=q[b+12>>2];l=i*(r+l)*v[a+24>>3];s:{if(y(l)<2147483648){e=~~l;break s}e=-2147483648}l=n*v[a+16>>3];t:{if(y(l)<2147483648){j=~~l;break t}j=-2147483648}w=q[b+8>>2];if(t){k=q[a>>2];h=q[k>>2];m=q[k+4>>2];if(h>>>0>=m>>>0){h=0;q[160942]=0;m=m<<1;D=k,F=qc(q[k+16>>2],m,8),q[D+16>>2]=F;if(q[160942]){break a}q[k+4>>2]=m;h=q[k>>2]}h=q[k+16>>2]+(h<<3)|0;q[h>>2]=j+w;q[h+4>>2]=e+p;q[k>>2]=q[k>>2]+1}if(C){m=q[a+4>>2];h=q[m>>2];k=q[m+4>>2];if(h>>>0>=k>>>0){h=0;q[160942]=0;k=k<<1;D=m,F=qc(q[m+16>>2],k,8),q[D+16>>2]=F;if(q[160942]){break a}q[m+4>>2]=k;h=q[m>>2]}h=q[m+16>>2]+(h<<3)|0;q[h>>2]=w-j;q[h+4>>2]=p-e;q[m>>2]=q[m>>2]+1}d=d&B;if(d){break p}b=q[o+28>>2];q[a+80>>2]=q[o+24>>2];q[a+84>>2]=b;b=q[o+36>>2];q[a+88>>2]=q[o+32>>2];q[a+92>>2]=b;h=1;break a}j=q[b>>2];h=q[b+16>>2];e=q[b+8>>2];m=q[b+4>>2];k=q[b+12>>2];p=k+q[b+20>>2]|0;q[g+268>>2]=p>>1;k=k+m|0;m=(k+p|0)+2>>2;q[g+260>>2]=m;h=e+h|0;q[g+264>>2]=h>>1;e=e+j|0;q[g+248>>2]=e>>1;q[g+252>>2]=k>>1;k=(e+h|0)+2>>2;q[g+256>>2]=k;e=q[b+4>>2];j=q[b>>2];q[g+240>>2]=j;q[g+244>>2]=e;h=q[b+20>>2];q[g+272>>2]=q[b+16>>2];q[g+276>>2]=h;i=v[c>>3]*.5;v[g+192>>3]=i;l=v[c+8>>3]*.5;v[g+200>>3]=l;r=v[c+16>>3]*.5;v[g+224>>3]=r;n=v[c+24>>3]*.5;v[g+232>>3]=n;l=(l+n)*.5;v[g+216>>3]=l;i=(i+r)*.5;v[g+208>>3]=i;r=E(i*i+l*l);if(!!(r>3])){p=d^-1;q[a+60>>2]=p&q[a+60>>2];l=v[a+80>>3]*v[a+16>>3];u:{if(y(l)<2147483648){b=~~l;break u}b=-2147483648}f=d&1;l=v[a+88>>3]*v[a+24>>3];v:{if(y(l)<2147483648){c=~~l;break v}c=-2147483648}if(f){q[g+116>>2]=c+e;q[g+112>>2]=b+j;t=q[a>>2];h=q[g+116>>2];q[g+24>>2]=q[g+112>>2];q[g+28>>2]=h;h=0;if(!qb(t,g+24|0,1)){break a}}t=d&2;if(t){q[g+116>>2]=e-c;q[g+112>>2]=j-b;b=q[a+4>>2];c=q[g+116>>2];q[g+16>>2]=q[g+112>>2];q[g+20>>2]=c;h=0;if(!qb(b,g+16|0,1)){break a}}h=0;if(!kg(a,k,m,v[o+24>>3],v[o+32>>3],d)){break a}q[a+60>>2]=p&q[a+60>>2];l=v[o+32>>3]*v[a+24>>3];w:{if(y(l)<2147483648){b=~~l;break w}b=-2147483648}l=v[o+24>>3]*v[a+16>>3];x:{if(y(l)<2147483648){c=~~l;break x}c=-2147483648}if(f){q[g+116>>2]=b+m;q[g+112>>2]=c+k;d=q[a>>2];e=q[g+116>>2];q[g+8>>2]=q[g+112>>2];q[g+12>>2]=e;if(!qb(d,g+8|0,1)){break a}}if(t){q[g+116>>2]=m-b;q[g+112>>2]=k-c;a=q[a+4>>2];b=q[g+116>>2];q[g>>2]=q[g+112>>2];q[g+4>>2]=b;if(!qb(a,g,1)){break a}}h=1;break a}b=q[o+4>>2];q[g+112>>2]=q[o>>2];q[g+116>>2]=b;b=q[o+12>>2];q[g+120>>2]=q[o+8>>2];q[g+124>>2]=b;n=v[o+16>>3];s=l;l=1/r;v[g+144>>3]=s*l;v[g+152>>3]=r;v[g+136>>3]=i*l;v[g+128>>3]=n*.5;b=q[o+36>>2];q[g+168>>2]=q[o+32>>2];q[g+172>>2]=b;b=q[o+28>>2];q[g+160>>2]=q[o+24>>2];q[g+164>>2]=b;v[g+176>>3]=v[o+40>>3]*.5;h=0;if(!ml(a,g+240|0,g+192|0,g+112|0,d,f)){break a}h=ml(a,g+256|0,g+208|0,g+136|0,d,0)}Da=g+288|0;return h}function ro(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;h=Da-16|0;Da=h;q[b+12>>2]=0;q[b>>2]=c;j=c+d|0;q[b+8>>2]=j;n[q[b+28>>2]](b);a:{b:{c=q[b>>2];c:{if(c>>>0>=j>>>0){break c}l=a+132|0;m=a+164|0;o=a+168|0;p=a+464|0;d=0;while(1){d:{e:{f:{g:{g=r[c|0];f=g+ -99|0;if(f>>>0>2){if((g|0)!=70){break e}f=c+14|0;if((f|0)==(j|0)){break g}if(f>>>0>=j>>>0){break e}f=r[c+13|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break g}}h:{switch(f-1|0){case 1:f=c+6|0;if((f|0)==(j|0)){break f}if(f>>>0>=j>>>0){break e}f=r[c+5|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break f};case 0:break e;default:break h}}i:{f=c+10|0;if((f|0)==(j|0)){break i}if(f>>>0>=j>>>0){break e}f=r[c+9|0];if(f>>>0>125){break e}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break i}}if(Ra(c,7292,9)){break e}break c}if(Ra(c,7302,13)){break e}g=q[b+376>>2];if(g&1){q[b+376>>2]=g|2}q[b>>2]=c+13;break d}if(!Ra(c,7286,5)){break c}}if(g+ -48>>>0<=9){n[q[b+32>>2]](b);e=1;d=c;if(!q[b+12>>2]){break d}break c}j:{k:{f=c+6>>>0>=j>>>0;if(!(f|(g|0)!=82)){if(!(e&255)|r[c+1|0]!=68){break k}q[b>>2]=d;g=q[q[a+128>>2]+52>>2];e=q[b+8>>2];n[q[b+28>>2]](b);l:{c=q[b>>2];m:{if(c>>>0>=e>>>0|r[c|0]+ -48>>>0>9){break m}c=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((c|0)<0){break m}f=e;e=q[b>>2];if((c|0)<(f+(e^-1)|0)){break l}}c=3;if(g){break a}break b}q[b>>2]=(c+e|0)+1;e=0;if(!q[b+12>>2]){break d}c=3;break a}if(!((g|0)!=45|f)){if(!(e&255)|r[c+1|0]!=124){break k}q[b>>2]=d;g=q[q[a+128>>2]+52>>2];e=q[b+8>>2];n[q[b+28>>2]](b);n:{c=q[b>>2];o:{if(c>>>0>=e>>>0|r[c|0]+ -48>>>0>9){break o}c=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((c|0)<0){break o}f=e;e=q[b>>2];if((c|0)<(f+(e^-1)|0)){break n}}c=3;if(!g){break b}break a}q[b>>2]=(c+e|0)+1;e=0;if(!q[b+12>>2]){break d}c=3;break a}if((g|0)!=47|c+2>>>0>=j>>>0){break k}f=c+1|0;q[b>>2]=f;n[q[b+32>>2]](b);if(q[b+12>>2]){break c}e=0;c=q[b>>2];if(c>>>0>=j>>>0){break d}k=c-f|0;if(k+ -1>>>0>20){break d}s=r[f|0];c=7328;i=9032;while(1){g=c;p:{if(r[i|0]!=(s|0)){break p}if((Wa(i)|0)!=(k|0)){break p}if(Oc(f,i,k)){break p}c=q[b+376>>2];if(!(q[g+32>>2]&(c&1?2:1))){break d}if(c&2){if(Ta(i,9020)){break d}}i=q[a+532>>2];e=0;q:{if(!i){break q}e=q[i>>2]?i:0}f=b;k=q[g+8>>2];r:{if((k|0)==11){n[q[g+12>>2]](a,b);c=q[b+12>>2];break r}s:{t:{u:{v:{w:{x:{c=q[g+4>>2]+ -2|0;if(c>>>0<=6){y:{switch(c-1|0){case 0:q[h+12>>2]=l;if(e){break x}c=h+12|0;break t;case 1:q[h+12>>2]=o;c=h+12|0;if(!e){break t}c=e+212|0;break w;case 2:q[h+12>>2]=p;c=h+12|0;if(!e){break t}c=e+284|0;break w;case 3:q[h+12>>2]=b;c=h+12|0;break t;case 4:q[h+12>>2]=a;c=h+12|0;break t;case 5:break y;default:break u}}q[h+12>>2]=i;c=h+12|0;e=0;break v}q[h+12>>2]=l;c=h+12|0;break t}c=e+144|0}i=q[c>>2];e=q[e>>2]}if(i){break s}break j}q[h+12>>2]=m;c=h+12|0}e=0}if(k+ -9>>>0<=1){c=n[q[b+68>>2]](b,g,c,e,0)|0;break r}c=n[q[b+64>>2]](b,g,c,e,0)|0}q[f+12>>2]=c;if(!c){e=0;break d}if((c&255)==162){break j}break a}c=g+36|0;i=q[g+36>>2];if(i){continue}break}break d}n[q[b+32>>2]](b);e=0;if(q[b+12>>2]){break c}break d}e=0;q[b+12>>2]=0}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break}}c=q[b+12>>2];break a}q[b+12>>2]=3}Da=h+16|0;return c}function UG(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,s=0,y=0,z=0,A=0,B=0,C=0,D=0,E=x(0),F=0;d=3222;h=Da-304|0;Da=h;e=r[3222];a:{if(!e){break a}b:{while(1){c:{e=e&255;d:{if((e|0)==32|e+ -9>>>0<5){while(1){e=d;d=d+1|0;c=r[e+1|0];if((c|0)==32|c+ -9>>>0<5){continue}break}xd(a,0,0);while(1){c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break e}c=vb(a)}if((c|0)==32|c+ -9>>>0<5){continue}break}f:{if(!q[a+104>>2]){d=q[a+4>>2];break f}d=q[a+4>>2]+ -1|0;q[a+4>>2]=d}c=d-q[a+8>>2]|0;i=c;c=c>>31;d=i;i=j+q[a+124>>2]|0;j=k+q[a+120>>2]|0;if(j>>>0>>0){i=i+1|0}k=d+j|0;c=c+i|0;c=k>>>0>>0?c+1|0:c;j=c;break d}g:{h:{i:{e=r[d|0];if((e|0)==37){c=r[d+1|0];if((c|0)==42){break i}if((c|0)!=37){break h}}xd(a,0,0);e=((e|0)==37)+d|0;c=q[a+4>>2];j:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break j}c=vb(a)}if((c|0)!=r[e|0]){if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}A=0;if((c|0)>=0){break a}break c}c=k+1|0;if(c>>>0<1){j=j+1|0}k=c;break d}i=0;e=d+2|0;break g}if(!(r[d+2|0]!=36|c+ -48>>>0>=10)){i=TG(b,r[d+1|0]+ -48|0);e=d+3|0;break g}i=q[b>>2];b=b+4|0;e=d+1|0}A=0;d=0;if(r[e|0]+ -48>>>0<10){while(1){d=(r[e|0]+w(d,10)|0)+ -48|0;c=r[e+1|0];e=e+1|0;if(c+ -48>>>0<10){continue}break}}c=e;g=r[c|0];k:{if((g|0)!=109){break k}m=0;A=(i|0)!=0;g=r[e+1|0];n=0;c=e+1|0}f=(g&255)+ -65|0;if(f>>>0>57){break c}e=c+1|0;g=3;l:{m:{switch(f-1|0){case 38:f=c+2|0;c=r[c+1|0]==104;e=c?f:e;g=c?-2:-1;break l;case 42:f=c+2|0;c=r[c+1|0]==108;e=c?f:e;g=c?3:1;break l;case 50:case 56:g=1;break l;case 10:g=2;break l;case 40:break l;case 0:case 2:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 23:case 24:case 26:case 27:case 28:case 29:case 30:case 32:case 41:case 43:case 47:case 48:case 52:case 53:case 55:break c;default:break m}}g=0;e=c}f=r[e|0];c=(f&47)==3;z=c?1:g;s=c?f|32:f;n:{if((s|0)==91){break n}o:{if((s|0)!=110){if((s|0)!=99){break o}d=(d|0)>1?d:1;break n}lp(i,z,k,j);break d}xd(a,0,0);while(1){c=q[a+4>>2];p:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break p}c=vb(a)}if((c|0)==32|c+ -9>>>0<5){continue}break}q:{if(!q[a+104>>2]){c=q[a+4>>2];break q}c=q[a+4>>2]+ -1|0;q[a+4>>2]=c}f=c-q[a+8>>2]|0;c=f;f=c>>31;l=c;y=j+q[a+124>>2]|0;j=k+q[a+120>>2]|0;if(j>>>0>>0){y=y+1|0}c=j;k=l+c|0;j=f+y|0;j=k>>>0>>0?j+1|0:j}y=d;C=d>>31;xd(a,d,C);f=q[a+4>>2];c=q[a+104>>2];r:{if(f>>>0>>0){q[a+4>>2]=f+1;break r}if((vb(a)|0)<0){break c}c=q[a+104>>2]}if(c){q[a+4>>2]=q[a+4>>2]+ -1}s:{t:{c=s+ -88|0;if(c>>>0>32){c=s+ -65|0;if(c>>>0>6|!(1<>2]-q[a+8>>2]|0;c=d;if(q[a+120>>2]==(0-c|0)&q[a+124>>2]==(0-((c>>31)+(0>>0)|0)|0)){break b}if(!(!i|(s|0)!=112)){q[i>>2]=y;break s}lp(i,z,y,f);break s}x:{if((s|16)==115){Na(h+32|0,-1,257);o[h+32|0]=0;if((s|0)!=115){break x}o[h+65|0]=0;o[h+46|0]=0;p[h+42>>1]=0;p[h+44>>1]=0;break x}l=r[e+1|0];f=(l|0)==94;Na(h+32|0,f,257);o[h+32|0]=0;c=f?e+2|0:e+1|0;y:{z:{A:{e=r[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break A}g=(l|0)!=94;break y}g=(l|0)!=94;o[h+78|0]=g;break z}g=(l|0)!=94;o[h+126|0]=g}c=c+1|0}e=c;while(1){c=r[e|0];B:{if((c|0)!=45){if(!c){break c}if((c|0)!=93){break B}break x}c=45;l=r[e+1|0];if(!l|(l|0)==93){break B}f=e+1|0;e=r[e+ -1|0];C:{if(e>>>0>=l>>>0){c=l;break C}while(1){e=e+1|0;o[e+(h+32|0)|0]=g;c=r[f|0];if(e>>>0>>0){continue}break}}e=f}o[(c+h|0)+33|0]=g;e=e+1|0;continue}}s=(s|0)==99;g=s?d+1|0:31;D:{E:{l=(z|0)!=1;F:{if(!l){c=i;if(A){c=Sa(g<<2);if(!c){break D}}q[h+296>>2]=0;q[h+300>>2]=0;d=0;while(1){n=c;G:{while(1){c=q[a+4>>2];H:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break H}c=vb(a)}if(!r[(c+h|0)+33|0]){break G}o[h+27|0]=c;c=qp(h+28|0,h+27|0,1,h+296|0);if((c|0)==-2){continue}if((c|0)==-1){break E}if(n){q[(d<<2)+n>>2]=q[h+28>>2];d=d+1|0}if(!A|(d|0)!=(g|0)){continue}break}g=g<<1|1;c=db(n,g<<2);if(c){continue}break E}break}c=h+296|0;f=1;I:{if(!c){break I}f=!q[c>>2]}if(!f){break E}m=0;break F}if(A){d=0;c=Sa(g);if(!c){break D}while(1){m=c;while(1){c=q[a+4>>2];J:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break J}c=vb(a)}if(!r[(c+h|0)+33|0]){n=0;break F}o[d+m|0]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}n=0;g=g<<1|1;c=db(m,g);if(c){continue}break}break c}d=0;if(i){while(1){c=q[a+4>>2];K:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break K}c=vb(a)}if(r[(c+h|0)+33|0]){o[d+i|0]=c;d=d+1|0;continue}else{n=0;m=i;break F}}}while(1){c=q[a+4>>2];L:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break L}c=vb(a)}if(r[(c+h|0)+33|0]){continue}break}m=0;n=0}M:{if(!q[a+104>>2]){c=q[a+4>>2];break M}c=q[a+4>>2]+ -1|0;q[a+4>>2]=c}c=c-q[a+8>>2]|0;f=c;z=c+q[a+120>>2]|0;c=q[a+124>>2]+(c>>31)|0;c=z>>>0>>0?c+1|0:c;if(!(c|z)|(s?(y|0)!=(z|0)|(c|0)!=(C|0):0)){break b}N:{if(!A){break N}if(!l){q[i>>2]=n;break N}q[i>>2]=m}if(s){break s}if(n){q[(d<<2)+n>>2]=0}if(!m){m=0;break s}o[d+m|0]=0;break s}m=0;break c}m=0;n=0;break c}np(h,a,z,0);d=q[a+4>>2]-q[a+8>>2]|0;c=d;if(q[a+120>>2]==(0-c|0)&q[a+124>>2]==(0-((c>>31)+(0>>0)|0)|0)){break b}if(!i|z>>>0>2){break s}y=q[h+8>>2];f=q[h+12>>2];d=q[h>>2];c=q[h+4>>2];O:{switch(z-1|0){default:D=i,E=yG(d,c,y,f),u[D>>2]=E;break s;case 0:D=i,F=Tf(d,c,y,f),v[D>>3]=F;break s;case 1:break O}}q[i>>2]=d;q[i+4>>2]=c;q[i+8>>2]=y;q[i+12>>2]=f}d=q[a+4>>2]-q[a+8>>2]|0;c=d;d=c>>31;f=c;j=j+q[a+124>>2]|0;c=k+q[a+120>>2]|0;if(c>>>0>>0){j=j+1|0}k=f+c|0;j=d+j|0;j=k>>>0>>0?j+1|0:j;B=((i|0)!=0)+B|0}d=e+1|0;e=r[e+1|0];if(e){continue}break a}break}B=B?B:-1}if(!A){break a}La(m);La(n)}Da=h+304|0;return B}function rN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,G=0,H=0;f=Da-384|0;Da=f;i=q[c+8>>2];k=q[c>>2];g=Sa(k<<4);q[a+16>>2]=g;i=i<<1;j=Sa(i);q[a+20>>2]=j;a:{if(!(j?g:0)){La(g);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;break a}q[a+12>>2]=i;q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=k<<1}i=q[c+8>>2];k=q[c>>2];g=Sa(k<<4);q[b+16>>2]=g;i=i<<1;j=Sa(i);q[b+20>>2]=j;b:{c:{d:{if(!(!g|!j)){q[b+12>>2]=i;g=0;q[b+8>>2]=0;q[b>>2]=0;i=k<<1;q[b+4>>2]=i;if(!q[a+4>>2]|!i){break d}g=(d|0)>(e|0)?d:e;if((g|0)>=16){o[f+68|0]=1;q[f+24>>2]=0;q[f+28>>2]=0;q[f+20>>2]=b;q[f+16>>2]=a;v[f+40>>3]=e|0;v[f+32>>3]=d|0;q[f+64>>2]=16;h=16/+(g|0);v[f+144>>3]=h*.25;v[f+128>>3]=1-h;v[f+160>>3]=h*(h*390);v[f+56>>3]=1/+((16>(e|0)?16:e)|0);v[f+48>>3]=1/+((16>(d|0)?16:d)|0);m=h+1;v[f+152>>3]=m*(m*8);n=E(h+h);v[f+168>>3]=n;v[f+136>>3]=h*8+1+m*-4*n;b=q[c+16>>2];d=q[c>>2];if(d){a=0;while(1){g=0;e=(a<<3)+b|0;if(q[e>>2]+268435456>>>0>536870911|q[e+4>>2]+268435456>>>0>536870911){break d}a=a+1|0;if(a>>>0>>0){continue}break}}e:{f:{if(q[c+8>>2]){a=1;d=0;e=b;while(1){if(a&1){a=q[e+4>>2];q[f+120>>2]=q[e>>2];q[f+124>>2]=a}a=o[q[c+20>>2]+d|0];g=a&3;k=g+ -1|0;if(k>>>0>2){g=0;break d}b=(g<<3)+b|0;H=a&4;i=H?e:b;g:{h:{i:{switch(k-1|0){default:if(Df(f+16|0,q[i>>2],q[i+4>>2])){break g}g=0;break d;case 0:k=q[f+64>>2];j=0-k|0;g=b+ -8|0;s=q[g>>2];u=s-q[f+120>>2]|0;a=q[i+4>>2];l=q[i>>2];g=q[g+4>>2];w=g-q[f+124>>2]|0;if(!((w|0)>=(k|0)|(w|0)<=(j|0)|((u|0)<=(j|0)|(u|0)>=(k|0)))){if(Df(f+16|0,l,a)){break g}g=0;break d}x=l-s|0;z=a-g|0;if(!((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0)))){if(Df(f+16|0,l,a)){break g}g=0;break d}j=q[f+124>>2];i=q[f+120>>2];q[f+224>>2]=i;q[f+228>>2]=j;q[f+120>>2]=l;q[f+124>>2]=a;q[f+240>>2]=l;q[f+244>>2]=a;q[f+232>>2]=s;q[f+236>>2]=g;p=v[f+48>>3];h=p*+(0-x|0);v[f+280>>3]=h;n=v[f+56>>3];m=n*+(z|0);v[f+272>>3]=m;n=n*+(w|0);v[f+256>>3]=n;p=p*+(0-u|0);v[f+264>>3]=p;B=E(m*m+h*h);v[f+216>>3]=B;C=h;h=1/B;v[f+208>>3]=C*h;v[f+200>>3]=m*h;h=E(n*n+p*p);v[f+192>>3]=h;h=1/h;m=p*h;v[f+184>>3]=m;h=n*h;v[f+176>>3]=h;a=r[f+68|0];if(kg(f+16|0,i,j,h,m,3)){break h}g=0;break d;case 1:break i}}k=q[f+64>>2];j=0-k|0;l=b+ -16|0;D=q[l>>2];s=q[f+120>>2];x=D-s|0;a=q[i+4>>2];g=b+ -8|0;G=q[g>>2];g=q[g+4>>2];u=q[i>>2];w=9;j:{i=q[l+4>>2];l=q[f+124>>2];z=i-l|0;if((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0))){break j}x=G-s|0;w=8;z=g-l|0;if((z|0)>=(k|0)|(z|0)<=(j|0)|((x|0)<=(j|0)|(x|0)>=(k|0))){break j}if(Df(f+16|0,u,a)){break g}g=0;break d}s=u-G|0;k:{A=a-g|0;if((A|0)>=(k|0)|(A|0)<=(j|0)|((s|0)<=(j|0)|(s|0)>=(k|0))){break k}s=u-D|0;A=a-i|0;if(!((A|0)>=(k|0)|(A|0)<=(j|0)|((s|0)<=(j|0)|(s|0)>=(k|0)))){if(Df(f+16|0,u,a)){break g}g=0;break d}w=w|4;if((w|0)!=12){break k}if(Df(f+16|0,u,a)){break g}g=0;break d}j=q[f+124>>2];l=j;k=q[f+120>>2];q[f+224>>2]=k;q[f+228>>2]=j;j=u;q[f+248>>2]=j;q[f+252>>2]=a;q[f+240>>2]=G;q[f+244>>2]=g;q[f+232>>2]=D;q[f+236>>2]=i;q[f+120>>2]=j;q[f+124>>2]=a;a=(f+224|0)+((w&3)<<3)|0;g=q[a+4>>2];i=(f+224|0)+(w<<1&24)|0;j=q[i+4>>2];p=v[f+48>>3];v[f+280>>3]=p*+(q[a>>2]-q[i>>2]|0);n=v[f+56>>3];v[f+272>>3]=n*+(j-g|0);h=p*+(0-s|0);v[f+296>>3]=h;m=n*+(A|0);v[f+288>>3]=m;n=n*+(z|0);v[f+256>>3]=n;p=p*+(0-x|0);v[f+264>>3]=p;B=E(m*m+h*h);v[f+216>>3]=B;C=h;h=1/B;v[f+208>>3]=C*h;v[f+200>>3]=m*h;h=E(n*n+p*p);v[f+192>>3]=h;h=1/h;m=p*h;v[f+184>>3]=m;h=n*h;v[f+176>>3]=h;a=r[f+68|0];if(!kg(f+16|0,k,l,h,m,3)){g=0;break d}g=0;if(!Ug(f+16|0,f+224|0,f+256|0,f+176|0,3,(a|0)!=0)){break d}break g}g=0;if(!ml(f+16|0,f+224|0,f+256|0,f+176|0,3,(a|0)!=0)){break d}}e=H?b:e;u=(e|0)!=(b|0);if(!u){l:{if(r[f+68|0]){i=q[f+124>>2];k=q[f+120>>2];a=15;h=1;m=v[f+136>>3];m:{if(!(m>0)){break m}while(1){n=.7071067811865476/E(h);v[(f+256|0)+(a<<3)>>3]=n;n=h*n;h=n+1;a=a+ -1|0;if(!a){break m}if(n>3]=1/h;n:{a=15-a|0;o:{if(!Ae(f+16|0,k,i,1,0,0,1,j,a,1)){break o}if(!Ae(f+16|0,k,i,0,1,-1,0,j,a,1)){break o}if(Ae(f+16|0,k,i,-1,0,0,-1,j,a,1)){break n}}g=0;break d}g=0;l=0;if(Ae(f+16|0,k,i,0,-1,1,0,j,a,1)){break l}break d}if(!Df(f+16|0,q[f+112>>2],q[f+116>>2])){g=0;break d}if(!kg(f+16|0,q[f+112>>2],q[f+116>>2],v[f+80>>3],v[f+88>>3],3)){g=0;break d}i=q[f+72>>2]&(q[f+76>>2]^-1);h=v[f+88>>3]*v[f+40>>3];p:{if(y(h)<2147483648){a=~~h;break p}a=-2147483648}l=i&1;h=v[f+80>>3]*v[f+32>>3];q:{if(y(h)<2147483648){g=~~h;break q}g=-2147483648}k=q[f+116>>2];j=q[f+112>>2];r:{if(!l){break r}q[f+260>>2]=a+k;q[f+256>>2]=g+j;l=q[f+260>>2];q[f+8>>2]=q[f+256>>2];q[f+12>>2]=l;if(qb(q[f+16>>2],f+8|0,1)){break r}g=0;break d}if(i&2){q[f+260>>2]=k-a;q[f+256>>2]=j-g;a=q[f+260>>2];q[f>>2]=q[f+256>>2];q[f+4>>2]=a;g=0;if(!qb(q[f+20>>2],f,1)){break d}}m=v[f+96>>3];h=v[f+104>>3];s:{if(h==v[f+88>>3]?m==v[f+80>>3]:0){break s}i=(q[f+76>>2]^-1)&(q[f+72>>2]^-1);h=h*v[f+40>>3];t:{if(y(h)<2147483648){a=~~h;break t}a=-2147483648}l=i&1;h=m*v[f+32>>3];u:{if(y(h)<2147483648){g=~~h;break u}g=-2147483648}k=q[f+116>>2];j=q[f+112>>2];if(l){l=q[q[f+16>>2]+16>>2]+(q[f+24>>2]<<3)|0;q[l+4>>2]=a+k;q[l>>2]=g+j}if(!(i&2)){break s}i=q[q[f+20>>2]+16>>2]+(q[f+28>>2]<<3)|0;q[i+4>>2]=k-a;q[i>>2]=j-g}o[f+68|0]=1;l=2}a=q[f+16>>2];g=q[a+8>>2];if(!g){break c}a=(g+q[a+20>>2]|0)+ -1|0;g=r[a|0];if(g>>>0>=4){break b}o[a|0]=g|4;if(l){a=q[f+20>>2];g=q[a+8>>2];if(!g){break c}a=(g+q[a+20>>2]|0)+ -1|0;g=r[a|0];if(g>>>0>=4){break e}o[a|0]=g|4}q[f+24>>2]=q[q[f+16>>2]>>2];q[f+28>>2]=q[q[f+20>>2]>>2]}a=(b|0)==(e|0);d=d+1|0;if(d>>>0>2]){continue}break}if(u){break f}}g=1;if((q[c+16>>2]+(q[c>>2]<<3)|0)==(b|0)){break d}}I(436993,436863,1421,436978);F()}break b}I(436967,436863,1354,436978);F()}La(g);La(q[b+20>>2]);q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;g=0}Da=f+384|0;return g}I(436843,436863,335,436877);F()}I(436899,436863,336,436877);F()}function DB(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;f=Da-160|0;Da=f;j=q[b+100>>2];e=q[b+104>>2];q[b+132>>2]=0;d=Xa(e,0);q[f+156>>2]=d;h=c>>31;k=(h+c^h)&65535;a:{b:{if(d){break b}d=mb(e,19264,f+152|0);q[f+156>>2]=d;if(d){break b}q[f+156>>2]=2;c:{if(s[f+152>>1]!=23117){break c}d=Xa(e,s[f+154>>1]);q[f+156>>2]=d;if(d){break b}d=mb(e,19296,f+144|0);q[f+156>>2]=d;if(d){break b}d=2;q[f+156>>2]=2;d:{e:{h=s[f+144>>1]+ -17742|0;f:{if(h>>>0>2){break f}g:{h:{i:{j:{switch(h-1|0){default:d=Xa(e,s[f+146>>1]+s[f+154>>1]|0);q[f+156>>2]=d;if(d){break b}d=lb(e,s[f+148>>1]-s[f+146>>1]|0);q[f+156>>2]=d;if(d){break b}i=rf(e);if(i>>>0>16){break i}g=rf(e);k:{if(g){while(1){d=rf(e);h=((q[e+8>>2]+q[e+32>>2]|0)-q[e+36>>2]|0)+4|0;if((g&65535)==32776){break k}q[e+32>>2]=(q[e+32>>2]+w(d,12)|0)+4;g=rf(e);if(g){continue}break}}d=0;h=0}jb(e);if(!(d?h:0)){q[f+156>>2]=3;break b}if(w(d,118)>>>0>t[e+4>>2]){q[f+156>>2]=3;break b}q[b>>2]=d;if((c|0)<0){break b}if(k>>>0>=d>>>0){q[f+156>>2]=6;break b}z=b,A=gb(j,172,f+156|0),q[z+132>>2]=A;if(q[f+156>>2]){break b}d=Xa(e,h+w(k,12)|0);q[f+156>>2]=d;if(d){break c}d=lb(e,12);q[f+156>>2]=d;if(d){break c}d=rf(e);q[q[b+132>>2]>>2]=d<>2]+164>>2]=d<>2]=q[e+32>>2]+8;jb(e);d=lj(q[b+132>>2],e);q[f+156>>2]=d;break f;case 1:break j;case 0:break f}}d=Xa(e,s[f+154>>1]);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19328,f+120|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+120>>2]!=17744|s[f+124>>1]!=332|(s[f+128>>1]!=224|s[f+130>>1]!=267)){break h}q[b>>2]=0;if(!s[f+126>>1]){break h}while(1){d=mb(e,19392,f+96|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+132>>2]!=q[f+104>>2]){g=g+1|0;if((g&65535)>>>0>=s[f+126>>1]){break h}continue}break}d=Xa(e,q[f+112>>2]);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19424,f+80|0);q[f+156>>2]=d;if(d){g=2;break g}d=0;g=0;if(s[f+94>>1]==(0-s[f+92>>1]|0)){break g}m=q[f+112>>2];v=m+16|0;while(1){d=Xa(e,(i<<3)+v|0);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19456,f+40|0);q[f+156>>2]=d;if(d){g=2;break g}d=q[f+44>>2];if((d|0)>=0){break h}d=d&2147483647;q[f+44>>2]=d;h=d+q[f+112>>2]|0;d=Xa(e,h);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19424,f- -64|0);q[f+156>>2]=d;if(d){g=2;break g}if(s[f+78>>1]!=(0-s[f+76>>1]|0)){x=h+16|0;d=0;l=0;while(1){d=Xa(e,(d<<3)+x|0);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19456,f+32|0);q[f+156>>2]=d;if(d){g=2;break g}d=q[f+36>>2];if((d|0)>=0){break h}d=d&2147483647;q[f+36>>2]=d;h=d+q[f+112>>2]|0;d=Xa(e,h);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19424,f+48|0);q[f+156>>2]=d;if(d){g=2;break g}if(s[f+62>>1]!=(0-s[f+60>>1]|0)){y=h+16|0;d=0;g=0;while(1){d=Xa(e,(d<<3)+y|0);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19456,f+24|0);q[f+156>>2]=d;if(d){g=2;break g}if(q[f+36>>2]<=-1){break h}if(q[f+40>>2]==8){d=Xa(e,q[f+28>>2]+m|0);q[f+156>>2]=d;if(d){g=2;break g}d=mb(e,19472,f+8|0);q[f+156>>2]=d;if(d){g=2;break g}h=b;d=q[b>>2];if((d|0)==(k|0)){i=gb(j,172,f+156|0);q[b+132>>2]=i;d=q[f+156>>2];if(d){g=2;break g}q[i>>2]=(q[f+8>>2]+q[f+112>>2]|0)-q[f+104>>2];q[i+164>>2]=q[f+12>>2];d=lj(i,e);q[f+156>>2]=d;if(d){g=16;break g}d=q[b>>2]}q[h>>2]=d+1}g=g+1|0;d=g&65535;if(s[f+62>>1]+s[f+60>>1]>>>0>d>>>0){continue}break}}l=l+1|0;d=l&65535;if(s[f+78>>1]+s[f+76>>1]>>>0>d>>>0){continue}break}}d=0;g=0;u=u+1|0;i=u&65535;if(s[f+94>>1]+s[f+92>>1]>>>0>i>>>0){continue}break}break g}q[f+156>>2]=3;jb(e);break b}d=3;q[f+156>>2]=3;g=2}if(g){break e}}e=q[b>>2];if(!e){q[f+156>>2]=3;break b}if((k|0)<(e|0)){break d}q[f+156>>2]=6;break b}h=g+ -2|0;if(h>>>0>14){break a}switch(h-1|0){case 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 a;case 13:break d;default:break b}}if(!d){break b}}d=q[b+132>>2];if(!d){break b}e=q[b+100>>2];if(q[d+160>>2]){zb(q[b+104>>2],d+160|0)}h=q[d+168>>2];if(h){n[q[e+8>>2]](e,h)}q[d+168>>2]=0;if(d){n[q[e+8>>2]](e,d)}q[b+132>>2]=0}e=q[f+156>>2]}q[f+96>>2]=e;l:{if((c|0)<=-1){d=0;if(!e){break l}}m:{n:{o:{if((e&255)==2){e=gb(j,172,f+96|0);q[b+132>>2]=e;d=q[f+96>>2];if(d){break l}q[b>>2]=1;d=0;q[e>>2]=0;q[e+164>>2]=q[a+4>>2];a=lj(e,a);q[f+96>>2]=a;if(!(a|(c|0)<0)){if(!k){break o}q[f+96>>2]=6;break m}if(a){break m}break l}if(e){break n}}a=q[b+132>>2];if(!s[a+96>>1]){q[f+96>>2]=3;break m}q[b+4>>2]=k;c=q[b+8>>2];q[b+8>>2]=c|18;if(s[a+100>>1]==s[a+102>>1]){q[b+8>>2]=c|22}if(r[a+86|0]){q[b+12>>2]=q[b+12>>2]|1}if(s[a+90>>1]>=800){q[b+12>>2]=q[b+12>>2]|2}c=Oa(j,16,0,1,0,f+96|0);q[b+32>>2]=c;if(q[f+96>>2]){break m}q[b+28>>2]=1;p[c+2>>1]=s[a+100>>1];p[c>>1]=s[a+84>>1]+s[a+96>>1];e=s[a+74>>1]<<6;q[c+4>>2]=e;d=s[a+78>>1];h=e;e=s[a+76>>1];e=e?e:72;h=bb(h,e,72)+32&-64;q[c+12>>2]=h;g=d?d:72;d=s[a+96>>1]<<6;p:{if((h|0)<=(d|0)){d=q[c+4>>2];break p}q[c+12>>2]=d;d=bb(d,72,e);q[c+4>>2]=d}z=c,A=bb(d,g,72)+32&-64,q[z+8>>2]=A;q[f+120>>2]=b;q[f+124>>2]=0;q[f+128>>2]=0;if(r[a+92|0]==77){p[f+128>>1]=1;q[f+124>>2]=1634889070}c=md(19188,0,f+120|0,0);q[f+96>>2]=c;if(c){break m}c=r[a+105|0];d=r[a+104|0];if(c>>>0>>0){q[f+96>>2]=3;break m}q[b+16>>2]=(c-d|0)+2;c=q[a+8>>2];d=q[a+116>>2];if(c>>>0<=d>>>0){q[f+96>>2]=3;break m}c=c-d|0;d=gb(j,c+1|0,f+96|0);q[a+168>>2]=d;if(q[f+96>>2]){break m}Qa(d,q[a+160>>2]+q[a+116>>2]|0,c);o[c+q[a+168>>2]|0]=0;d=a;a=q[a+168>>2];a=Oa(j,1,c,Wa(a)+1|0,a,f+96|0);q[d+168>>2]=a;if(q[f+96>>2]){break m}q[b+24>>2]=19228;q[b+20>>2]=a;c=q[b+12>>2];a=c&1;if(c&2){if(a){q[b+24>>2]=19236;d=0;break l}q[b+24>>2]=19248;d=0;break l}d=0;if(!a){break l}q[b+24>>2]=19253;break l}d=e;if(!b){break l}}a=q[b+100>>2];d=q[b+132>>2];if(d){if(q[d+160>>2]){zb(q[b+104>>2],d+160|0)}c=a;e=q[d+168>>2];if(e){n[q[c+8>>2]](c,e)}q[d+168>>2]=0;if(d){n[q[a+8>>2]](a,d)}q[b+132>>2]=0}c=q[b+32>>2];if(c){n[q[a+8>>2]](a,c)}q[b+28>>2]=0;q[b+32>>2]=0;d=q[f+96>>2]}Da=f+160|0;return d|0}function eX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-96|0;Da=e;a:{if(q[a+24>>2]==9){c=q[a+140>>2];q[e+88>>2]=q[a+136>>2];q[e+92>>2]=c;c=q[a+132>>2];q[e+80>>2]=q[a+128>>2];q[e+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+32|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[e+80>>3]=v[e+80>>3]+v[c>>3];v[e+88>>3]=v[e+88>>3]+v[d>>3];c=q[e+92>>2];q[e+72>>2]=q[e+88>>2];q[e+76>>2]=c;c=q[e+84>>2];q[e+64>>2]=q[e+80>>2];q[e+68>>2]=c;if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]- -64|0}g:{if(!k){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+96|0}i:{if(!k){break i}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break i}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[e+64>>3]=v[e+64>>3]+v[c>>3];v[e+72>>3]=v[e+72>>3]+v[d>>3];c=q[e+76>>2];q[e+56>>2]=q[e+72>>2];q[e+60>>2]=c;c=q[e+68>>2];q[e+48>>2]=q[e+64>>2];q[e+52>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}v[e+48>>3]=v[e+48>>3]+v[c>>3];c=q[e+60>>2];q[e+40>>2]=q[e+56>>2];q[e+44>>2]=c;c=q[e+52>>2];q[e+32>>2]=q[e+48>>2];q[e+36>>2]=c;if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=q[a+36>>2]+160|0}m:{if(!k){break m}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break m}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break m}q[c+20>>2]=0}v[e+32>>3]=v[e+32>>3]+v[c>>3];c=q[e+44>>2];q[e+24>>2]=q[e+40>>2];q[e+28>>2]=c;c=q[e+36>>2];q[e+16>>2]=q[e+32>>2];q[e+20>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}if(t[a+24>>2]<=7){o[a+20|0]=1}p:{if(j>>>0<=7){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}d=q[a+36>>2]+224|0}q:{if(!k){break q}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break q}i=q[d+24>>2];l=q[a+172>>2];g=v[d>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[l+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break q}q[d+20>>2]=0}v[e+16>>3]=v[e+16>>3]+v[c>>3];v[e+24>>3]=v[e+24>>3]+v[d>>3];c=q[e+28>>2];q[e+8>>2]=q[e+24>>2];q[e+12>>2]=c;c=q[e+20>>2];q[e>>2]=q[e+16>>2];q[e+4>>2]=c;if(t[a+24>>2]<=8){o[a+20|0]=1}r:{if(j>>>0<=8){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break r}c=q[a+36>>2]+256|0}s:{if(!k){break s}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break s}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((d|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break s}q[c+20>>2]=0}v[e>>3]=v[e>>3]+v[c>>3];c=q[a+140>>2];q[e+8>>2]=q[a+136>>2];q[e+12>>2]=c;pb(a,b,e+80|0,e- -64|0,e+48|0);pb(a,b,e+32|0,e+16|0,e);break a}o[a+40|0]=1}Da=e+96|0}function jz(a,b,c,d,e){a=a|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,t=0,u=0,v=0,x=0,y=0;f=Da-32|0;Da=f;k=1;i=q[b+540>>2];if((d|0)>=1){c=0;while(1){g=h;l=q[(c<<3)+e>>2]+ -1768386662|0;a:{b:{if(l>>>0>13){break b}h=1;c:{switch(l-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break b;case 12:break c;default:break a}}j=1}h=g}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d:{if(q[q[b+128>>2]+52>>2]){break d}g=0;c=s[b+152>>1];e:{if(!c){break e}g=q[b+156>>2];d=g+(c<<4)|0;c=g;while(1){if(q[c+12>>2]?q[c>>2]==1735162214:0){break d}c=c+16|0;if(c>>>0>>0){continue}break}c=g;while(1){if(q[c+12>>2]?q[c>>2]==1128678944:0){break d}c=c+16|0;if(c>>>0>>0){continue}break}while(1){if(q[g+12>>2]?q[g>>2]==1128678962:0){break e}g=g+16|0;if(g>>>0>>0){continue}break}g=0}k=(g|0)!=0}c=0;e=n[q[b+516>>2]](b,1935829368,a,0)|0;g=(e|0)!=0&k;f:{g:{h:{if(g){break h}d=q[i+68>>2];if(!d){break h}d=n[d](b,a)|0;q[f+28>>2]=d;c=!d;if(!e){break h}if(!d){break g}}d=n[q[i+24>>2]](b,a)|0;q[f+28>>2]=d;if(d){break f}}d=n[q[b+516>>2]](b,1128418371,a,0)|0;e=n[q[b+516>>2]](b,1128416340,a,0)|0;if((s[b+178>>1]+ -16&65535)>>>0>=16369){q[f+28>>2]=8;break f}g=g&((d|0)!=0&(e|0)!=0);n[q[i+36>>2]](b,a)|0;n[q[i+32>>2]](b,a)|0;n[q[i+48>>2]](b,a)|0;d=n[q[i+44>>2]](b,a)|0;q[f+28>>2]=d;i:{if(c){break i}c=n[q[i+28>>2]](b,a,0)|0;q[f+28>>2]=c;j:{k:{if(!c){c=n[q[i+92>>2]](b,a,0)|0;q[f+28>>2]=c;if((c&255)!=142){break k}q[f+28>>2]=147;c=q[q[b+128>>2]+52>>2];if(!c|!q[q[c>>2]+8>>2]){break f}p[b+250>>1]=0;q[f+28>>2]=0;break j}if((c&255)!=142){break f}if(q[b+148>>2]==1953658213){g=0;q[f+28>>2]=0;break j}q[f+28>>2]=143;c=q[q[b+128>>2]+52>>2];if(!c|!q[q[c>>2]+8>>2]){break f}p[b+250>>1]=0;q[f+28>>2]=0;break j}if(c){break f}}c=n[q[i+28>>2]](b,a,1)|0;q[f+28>>2]=c;l:{m:{if(c){break m}c=n[q[i+92>>2]](b,a,1)|0;q[f+28>>2]=c;if(c){break m}o[b+292|0]=1;break l}if((c&255)!=142){break f}}c=n[q[i+40>>2]](b,a)|0;q[f+28>>2]=c;if(!c){break i}p[b+372>>1]=65535}c=q[i+96>>2];if(c){x=f,y=n[c](b,a)|0,q[x+28>>2]=y}c=q[i+112>>2];if(c){n[c](b,a)|0;x=f,y=n[q[i+116>>2]](b,a)|0,q[x+28>>2]=y}n[q[i+64>>2]](b,a)|0;n[q[i+60>>2]](b,a)|0;x=f,y=n[q[i+56>>2]](b,a)|0,q[x+28>>2]=y;q[b+20>>2]=0;q[b+24>>2]=0;q[b+16>>2]=s[b+264>>1];a=b+24|0;c=b+20|0;n:{if(!(!(o[b+437|0]&1)|s[b+372>>1]==65535)){o:{if(!(h&255)){e=Id(b,16,c);q[f+28>>2]=e;if(e){break f}if(q[c>>2]){break o}}c=Id(b,1,c);q[f+28>>2]=c;if(c){break f}}if(!j){c=Id(b,17,a);q[f+28>>2]=c;if(c){break f}}if(q[a>>2]){break n}a=Id(b,2,a);q[f+28>>2]=a;if(!a){break n}break f}e=Id(b,21,c);q[f+28>>2]=e;if(e){break f}e=q[c>>2];if(!(e|h&255)){e=Id(b,16,c);q[f+28>>2]=e;if(e){break f}e=q[c>>2]}if(!e){c=Id(b,1,c);q[f+28>>2]=c;if(c){break f}}c=Id(b,22,a);q[f+28>>2]=c;if(c){break f}c=q[a>>2];if(!(c|j)){c=Id(b,17,a);q[f+28>>2]=c;if(c){break f}c=q[a>>2]}if(c){break n}a=Id(b,2,a);q[f+28>>2]=a;if(a){break f}}c=q[b+8>>2];a=g|((q[b+872>>2]?0:(q[b+796>>2]&-2)!=2)?c:c|16384);c=a|24;c=d?c:q[b+476>>2]==196608?c:a|536;a=q[b+488>>2]?c|4:c;a=r[b+292|0]?a|32:a;d=q[b+820>>2]?a|64:a;a=b;if(o[b+740|0]&1){e=0;h=s[b+152>>1];p:{if(!h){break p}c=q[b+156>>2];k=c+(h<<4)|0;h=c;while(1){q:{if(!(!q[h+12>>2]|q[h>>2]!=1735162214)){h=c;r:{while(1){if(q[h+12>>2]?q[h>>2]==1735811442:0){break r}h=h+16|0;if(h>>>0>>0){continue}break}h=0}d=h?d|256:d;break q}h=h+16|0;if(h>>>0>>0){continue}}break}while(1){if(!(!q[c+12>>2]|q[c>>2]!=1128678962)){e=c;break p}c=c+16|0;if(c>>>0>>0){continue}break}}d=e?d|256:d}q[a+8>>2]=d;a=b;s:{if(!(!g|s[b+372>>1]==65535)){c=s[b+436>>1];c=c>>>4&2|(c&513)!=0;break s}c=s[b+204>>1];c=c>>>1&1|c<<1&2}q[a+12>>2]=c|q[b+12>>2];iz(b);h=q[b+36>>2];t:{if((h|0)>=1){k=q[b+40>>2];a=0;c=0;while(1){u:{v:{d=q[k+(c<<2)>>2];j=s[d+8>>1];if(j>>>0>3){break v}e=p[d+10>>1];g=162608;w:{x:{switch(j-1|0){default:g=162620;break w;case 0:if(e){break v}g=162632;break w;case 1:break w;case 2:break x}}g=e&65535;if(g>>>0>=11|!(1151>>>g&1)){break v}g=q[(e<<2)+163748>>2]}e=d;d=q[g+8>>2];q[e+4>>2]=d;if((d|0)!=1937337698?(d|0)!=1970170211:0){break u}a=1;break u}q[d+4>>2]=0}c=c+1|0;if((h|0)!=(c|0)){continue}break}if(a&255){break t}}q[f>>2]=b;q[f+4>>2]=1970170211;q[f+8>>2]=65539;a=md(162040,0,f,0);q[f+28>>2]=a;y:{if(!a){break y}a=a&255;if((a|0)==163){break y}if((a|0)!=7){break f}}q[f+28>>2]=0}a=q[b+800>>2];z:{if(!a){break z}h=q[q[b+104>>2]+28>>2];e=s[b+178>>1];c=s[b+374>>1];A:{if(!(!e|s[b+372>>1]==65535)){break A}e=1;c=1}x=b,y=Oa(h,16,0,a,0,f+28|0),q[x+32>>2]=y;if(q[f+28>>2]){break f}k=Oa(h,4,0,a,0,f+28|0);if(q[f+28>>2]){break f}l=a>>>0>1?a:1;u=e>>>1|0;v=c<<16>>16;g=0;c=0;while(1){d=q[b+32>>2];j=n[q[i+108>>2]](b,c,f)|0;q[f+28>>2]=j;B:{if(j){break B}d=d+(g<<4)|0;p[d>>1]=q[f+20>>2]>>>6;j=s[f>>1];q[d+8>>2]=j<<6;p[d+2>>1]=(w(j,v)+u|0)/(e|0);m=s[f+2>>1];t=m<<6;q[d+4>>2]=t;q[d+12>>2]=t;if(!j|!m){break B}q[k+(g<<2)>>2]=c;g=g+1|0}c=c+1|0;if((l|0)!=(c|0)){continue}break}a=Oa(h,4,a,g,k,f+28|0);if(!g){break z}q[b+804>>2]=a;q[b+28>>2]=g;q[b+8>>2]=q[b+8>>2]|2}c=q[b+8>>2];if(!(c&3)){c=c|1;q[b+8>>2]=c}if(!(c&1)){break f}p[b+68>>1]=s[b+178>>1];q[b+52>>2]=p[b+196>>1];q[b+56>>2]=p[b+198>>1];q[b+60>>2]=p[b+200>>1];q[b- -64>>2]=p[b+202>>1];d=s[b+372>>1]==65535;C:{if(!(d|!(r[b+436|0]&128))){a=s[b+442>>1];p[b+70>>1]=a;c=s[b+444>>1];p[b+72>>1]=c;p[b+74>>1]=s[b+446>>1]+(a-c|0);break C}a=s[b+220>>1];p[b+70>>1]=a;c=s[b+222>>1];p[b+72>>1]=c;p[b+74>>1]=s[b+224>>1]+(a-c|0);if(a|c|d){break C}a=s[b+442>>1];c=s[b+444>>1];if(a|c){p[b+72>>1]=c;p[b+70>>1]=a;p[b+74>>1]=s[b+446>>1]+(a-c|0);break C}a=s[b+448>>1];p[b+70>>1]=a;c=a;a=s[b+450>>1];p[b+74>>1]=c+a;p[b+72>>1]=0-a}p[b+76>>1]=s[b+226>>1];p[b+78>>1]=s[(r[b+292|0]?306:74)+b>>1];a=p[b+486>>1];p[b+82>>1]=a;p[b+80>>1]=s[b+484>>1]-((a|0)/2|0)}Da=f+32|0;return q[f+28>>2]}function OK(a,b,c,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=-4;a:{b:{c:{d:{e:{if(b>>>0>=c>>>0){break e}h=a+72|0;e=r[h+r[b|0]|0]+ -2|0;if(e>>>0>34){break c}g=18;f=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(e-1|0){case 9:return uq(12,a,b+1|0,c,d)|0;case 10:return uq(13,a,b+1|0,c,d)|0;default:e=-1;g=b+1|0;if((c-g|0)<1){break e}x:{f=r[r[b+1|0]+h|0];if(f>>>0>29){break x}if(!(1<>>0>7){break g}y:{switch(g-1|0){case 6:return tq(a,b+3|0,c,d)|0;default:q[d>>2]=b+3;return 33;case 1:case 3:break y;case 0:case 2:case 4:case 5:break g}}b=b+3|0;g=c-b|0;if((g|0)<=0){break e}while(1){a=r[r[b|0]+h|0];if(a>>>0>30){break c}if(!(1<>>0>30|!(1<>2]=b;return 16}f=b;b=b+1|0;g=c-b|0;if((g|0)>0){continue}break}break e}return sq(a,b+2|0,c,d)|0}q[d>>2]=b;return 29}q[d>>2]=g;break b;case 4:break j;case 3:break k;case 2:break l;case 16:break m;case 8:break n;case 33:break o;case 29:break p;case 28:break q;case 1:break r;case 17:break s;case 32:break t;case 27:break u;case 7:case 18:break v;case 6:break w;case 0:case 5:case 11:case 12:case 13:case 14:case 15:case 25:case 26:case 30:case 31:break c;case 19:case 21:break h;case 20:case 22:case 23:case 24:break i}}if((b+1|0)!=(c|0)){break v}q[d>>2]=c;return-15}e=b+1|0;if((c-e|0)>=1){while(1){a=e;A:{f=r[r[b+1|0]+h|0]+ -9|0;B:{if(f>>>0>12){break B}C:{switch(f-1|0){case 0:case 11:break A;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break B;default:break C}}if((b+2|0)!=(c|0)){break A}}q[d>>2]=a;return 15}b=a;e=b+1|0;if((c-e|0)>0){continue}break}}q[d>>2]=e;return 15}return rq(a,b+1|0,c,d)|0}q[d>>2]=b+1;return 38}q[d>>2]=b+1;return 25}a=b+1|0;c=c-a|0;if((c|0)<1){return-26}D:{if(r[b+1|0]!=93){break D}e=-1;if((c|0)<2){break e}if(r[b+2|0]!=62){break D}q[d>>2]=b+3;return 34}q[d>>2]=a;return 26}q[d>>2]=b+1;return 23}a=b+1|0;if((c-a|0)<1){return-24}E:{c=r[r[b+1|0]+h|0]+ -9|0;if(c>>>0>27){break E}F:{switch(c-3|0){case 21:q[d>>2]=b+2;return 36;case 3:q[d>>2]=b+2;return 35;case 22:q[d>>2]=b+2;return 37;case 0:case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break E;default:break F}}q[d>>2]=a;return 24}q[d>>2]=a;break b}q[d>>2]=b+1;return 21}q[d>>2]=b+1;return 17}f=b+1|0;i=c-f|0;if((i|0)<1){return-1}e=r[r[f|0]+h|0]+ -5|0;G:{if(e>>>0>24){break G}g=2;H:{switch(e-1|0){default:e=-2;if((i|0)<2){break e}g=3;if(n[q[a+340>>2]](a,f)){break f}break G;case 0:e=-2;if((i|0)<3){break e}g=4;if(!n[q[a+344>>2]](a,f)){break G}break f;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 17:case 19:case 20:case 21:case 22:case 23:break G;case 1:break H;case 16:case 18:break f}}e=-2;if((i|0)<4){break e}g=5;if(n[q[a+348>>2]](a,f)){break f}}q[d>>2]=f;break b}f=2;e=-2;if((c-b|0)<2){break e}if(n[q[a+340>>2]](a,b)){break h}g=19;if(n[q[a+328>>2]](a,b)){break h}break c}f=3;e=-2;if((c-b|0)<3){break e}if(n[q[a+344>>2]](a,b)){break h}g=19;if(!n[q[a+332>>2]](a,b)){break c}break h}f=4;e=-2;if((c-b|0)<4){break e}if(n[q[a+348>>2]](a,b)){break h}g=19;if(!n[q[a+336>>2]](a,b)){break c}break h}g=19}b=b+f|0;f=c-b|0;if((f|0)>=1){while(1){e=b;I:{J:{K:{b=r[r[b|0]+h|0]+ -5|0;if(b>>>0>31){break K}L:{switch(b-1|0){default:if((f|0)<2){break a}if(!n[q[a+328>>2]](a,e)){break K}b=e+2|0;break I;case 0:if((f|0)<3){break a}if(!n[q[a+332>>2]](a,e)){break K}b=e+3|0;break I;case 1:if((f|0)<4){break a}if(!n[q[a+336>>2]](a,e)){break K}b=e+4|0;break I;case 3:case 4:case 5:case 14:case 15:case 24:case 26:case 29:case 30:q[d>>2]=e;return g|0;case 17:b=e+1|0;if((g|0)!=41){if((g|0)!=18){break I}f=c-b|0;if((f|0)<1){return-1}g=19;i=r[r[b|0]+h|0]+ -5|0;if(i>>>0>24){break I}M:{switch(i-1|0){case 16:case 18:case 19:case 20:case 21:b=e+2|0;g=41;break I;default:if((f|0)<2){break a}if(!n[q[a+328>>2]](a,b)){break c}b=e+3|0;g=41;break I;case 0:if((f|0)<3){break a}if(!n[q[a+332>>2]](a,b)){break c}b=e+4|0;g=41;break I;case 23: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 17:case 22:break I;case 1:break M}}if((f|0)<4){break a}if(!n[q[a+336>>2]](a,b)){break c}b=e+5|0;g=41;break I}g=19;break I;case 28:if((g|0)==19){break K}q[d>>2]=e+1;return 32;case 27:if((g|0)==19){break K}q[d>>2]=e+1;return 31;case 16:case 18:case 19:case 20:case 21:break J;case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 22:case 23:case 25:break K;case 9:break L}}if((g|0)==19){break K}q[d>>2]=e+1;return 30}q[d>>2]=e;break b}b=e+1|0}f=c-b|0;if((f|0)>0){continue}break}}e=0-g|0;break e}q[d>>2]=f;break b}e=-20;b=b+g|0;g=c-b|0;if((g|0)<1){break e}while(1){i=r[r[b|0]+h|0]+ -5|0;if(i>>>0>31){break d}f=1;N:{O:{P:{switch(i-1|0){default:if((g|0)<2){break a}f=2;if(n[q[a+328>>2]](a,b)){break O}break d;case 0:if((g|0)<3){break a}f=3;if(!n[q[a+332>>2]](a,b)){break d}break O;case 2:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 22:case 23:case 25:case 27:case 28:case 29:break d;case 3:case 4:case 5:case 15:case 24:case 26:case 30:break N;case 16:case 18:case 19:case 20:case 21:break O;case 1:break P}}if((g|0)<4){break a}f=4;if(!n[q[a+336>>2]](a,b)){break d}}b=b+f|0;g=c-b|0;if((g|0)>0){continue}break e}break}q[d>>2]=b;return 20}return e|0}q[d>>2]=b;return 0}q[d>>2]=b}return 0}return-2}function XW(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,p=0,s=0,w=0,x=0,y=0;g=Da-48|0;Da=g;e=q[a+24>>2];a:{if(e>>>0<8){break a}p=a+128|0;w=e+ -2|0;c=6;while(1){i=h;h=c;c=p;d=q[c+12>>2];q[g+40>>2]=q[c+8>>2];q[g+44>>2]=d;d=q[c+4>>2];q[g+32>>2]=q[c>>2];q[g+36>>2]=d;if(e>>>0<=i>>>0){o[a+20|0]=1}l=q[a+32>>2];b:{if(l>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];c:{if(!m){break c}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break c}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}d=i|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!m){break e}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break e}n=q[d+24>>2];s=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[n+(e<<3)>>3]*+u[s+(e<<2)>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}v[g+32>>3]=v[g+32>>3]+v[c>>3];v[g+40>>3]=v[g+40>>3]+v[d>>3];c=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=c;c=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=c;c=i+2|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}f:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[a+36>>2]+(c<<5)|0}g:{if(!m){break g}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break g}q[c+20>>2]=0}d=i+3|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}h:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<5)|0}i:{if(!m){break i}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break i}n=q[d+24>>2];s=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[n+(e<<3)>>3]*+u[s+(e<<2)>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[g+16>>3]=v[g+16>>3]+v[c>>3];v[g+24>>3]=v[g+24>>3]+v[d>>3];c=q[g+28>>2];q[g+8>>2]=q[g+24>>2];q[g+12>>2]=c;c=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=c;c=i+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+(c<<5)|0}k:{if(!m){break k}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}j=q[c+24>>2];n=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[j+(e<<3)>>3]*+u[n+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}d=i+5|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}l:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+(d<<5)|0}m:{if(!m){break m}i=q[d+20>>2];if(!i|(i|0)!=q[a+168>>2]){break m}l=q[d+24>>2];m=q[a+172>>2];f=v[d>>3];e=0;while(1){f=f+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((i|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[g>>3]=v[g>>3]+v[c>>3];v[g+8>>3]=v[g+8>>3]+v[d>>3];pb(a,b,g+32|0,g+16|0,g);e=q[a+24>>2];c=h+6|0;if(c>>>0<=w>>>0){continue}break}k=v[a+136>>3];x=v[a+128>>3];if(e>>>0<=h>>>0){o[a+20|0]=1}i=q[a+32>>2];n:{if(i>>>0<=h>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+(h<<5)|0}p=r[a+176|0];o:{if(!p){break o}d=q[c+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}l=q[c+24>>2];m=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[l+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}h=h|1;if(t[a+24>>2]<=h>>>0){o[a+20|0]=1}p:{if(i>>>0<=h>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break p}h=q[a+36>>2]+(h<<5)|0}q:{if(!p){break q}d=q[h+20>>2];if(!d|(d|0)!=q[a+168>>2]){break q}i=q[h+24>>2];p=q[a+172>>2];f=v[h>>3];e=0;while(1){f=f+v[i+(e<<3)>>3]*+u[p+(e<<2)>>2];e=e+1|0;if((d|0)!=(e|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=f;if(q[h+16>>2]<0){break q}q[h+20>>2]=0}y=k+v[h>>3];f=x+v[c>>3];r:{if(r[b|0]){break r}o[b|0]=1;k=v[a+128>>3];if(!!(v[b+8>>3]>k)){v[b+8>>3]=k;k=v[a+128>>3]}if(!!(k>v[b+24>>3])){v[b+24>>3]=k}k=v[a+136>>3];if(!!(v[b+16>>3]>k)){v[b+16>>3]=k;k=v[a+136>>3]}if(!(k>v[b+32>>3])){break r}v[b+32>>3]=k}v[a+136>>3]=y;v[a+128>>3]=f;if(!!(v[b+8>>3]>f)){v[b+8>>3]=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!(f>v[b+32>>3])){break a}v[b+32>>3]=f}Da=g+48|0}function ZW(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,p=0,s=0,w=0;g=Da-48|0;Da=g;h=q[a+24>>2];if(h>>>0>=8){j=h+ -6|0;l=q[a+32>>2];m=r[a+176|0];c=2;while(1){i=c;k=v[a+136>>3];s=v[a+128>>3];if(h>>>0<=d>>>0){o[a+20|0]=1}a:{if(l>>>0<=d>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break a}e=q[a+36>>2]+(d<<5)|0}b:{if(!m){break b}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break b}n=q[e+24>>2];p=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[n+(c<<3)>>3]*+u[p+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break b}q[e+20>>2]=0}c=d|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;d=642976;break c}d=q[a+36>>2]+(c<<5)|0}d:{if(!m){break d}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}n=q[d+24>>2];p=q[a+172>>2];f=v[d>>3];c=0;while(1){f=f+v[n+(c<<3)>>3]*+u[p+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break d}q[d+20>>2]=0}w=k+v[d>>3];f=s+v[e>>3];e:{if(r[b|0]){break e}o[b|0]=1;k=v[a+128>>3];if(!!(v[b+8>>3]>k)){v[b+8>>3]=k;k=v[a+128>>3]}if(!!(k>v[b+24>>3])){v[b+24>>3]=k}k=v[a+136>>3];if(!!(v[b+16>>3]>k)){v[b+16>>3]=k;k=v[a+136>>3]}if(!(k>v[b+32>>3])){break e}v[b+32>>3]=k}v[a+136>>3]=w;v[a+128>>3]=f;if(!!(v[b+8>>3]>f)){v[b+8>>3]=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!!(f>v[b+32>>3])){v[b+32>>3]=f}h=q[a+24>>2];d=i;c=d+2|0;if(c>>>0<=j>>>0){continue}break}e=q[a+140>>2];q[g+40>>2]=q[a+136>>2];q[g+44>>2]=e;e=q[a+132>>2];q[g+32>>2]=q[a+128>>2];q[g+36>>2]=e;if(h>>>0<=i>>>0){o[a+20|0]=1}l=q[a+32>>2];f:{if(l>>>0<=i>>>0){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break f}e=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];g:{if(!m){break g}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break g}j=q[e+24>>2];n=q[a+172>>2];f=v[e>>3];h=0;while(1){f=f+v[j+(h<<3)>>3]*+u[n+(h<<2)>>2];h=h+1|0;if((d|0)!=(h|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break g}q[e+20>>2]=0}d=i|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}h:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<5)|0}i:{if(!m){break i}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break i}n=q[d+24>>2];p=q[a+172>>2];f=v[d>>3];h=0;while(1){f=f+v[n+(h<<3)>>3]*+u[p+(h<<2)>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break i}q[d+20>>2]=0}v[g+32>>3]=v[g+32>>3]+v[e>>3];v[g+40>>3]=v[g+40>>3]+v[d>>3];e=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=e;e=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=e;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}j:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break j}e=q[a+36>>2]+(c<<5)|0}k:{if(!m){break k}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break k}h=q[e+24>>2];j=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break k}q[e+20>>2]=0}c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}l:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;d=642976;break l}d=q[a+36>>2]+(c<<5)|0}m:{if(!m){break m}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break m}j=q[d+24>>2];n=q[a+172>>2];f=v[d>>3];c=0;while(1){f=f+v[j+(c<<3)>>3]*+u[n+(c<<2)>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break m}q[d+20>>2]=0}v[g+16>>3]=v[g+16>>3]+v[e>>3];v[g+24>>3]=v[g+24>>3]+v[d>>3];c=q[g+28>>2];q[g+8>>2]=q[g+24>>2];q[g+12>>2]=c;c=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=c;c=i+4|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}n:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;e=642976;break n}e=q[a+36>>2]+(c<<5)|0}o:{if(!m){break o}d=q[e+20>>2];if(!d|(d|0)!=q[a+168>>2]){break o}h=q[e+24>>2];j=q[a+172>>2];f=v[e>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[j+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=f;if(q[e+16>>2]<0){break o}q[e+20>>2]=0}i=i+5|0;if(t[a+24>>2]<=i>>>0){o[a+20|0]=1}p:{if(l>>>0<=i>>>0){i=q[67835];q[160750]=q[67834];q[160751]=i;i=q[67833];q[160748]=q[67832];q[160749]=i;i=q[67831];q[160746]=q[67830];q[160747]=i;i=q[67829];q[160744]=q[67828];q[160745]=i;i=642976;break p}i=q[a+36>>2]+(i<<5)|0}q:{if(!m){break q}d=q[i+20>>2];if(!d|(d|0)!=q[a+168>>2]){break q}h=q[i+24>>2];l=q[a+172>>2];f=v[i>>3];c=0;while(1){f=f+v[h+(c<<3)>>3]*+u[l+(c<<2)>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}q[i+8>>2]=0;q[i+12>>2]=0;v[i>>3]=f;if(q[i+16>>2]<0){break q}q[i+20>>2]=0}v[g>>3]=v[g>>3]+v[e>>3];v[g+8>>3]=v[g+8>>3]+v[i>>3];pb(a,b,g+32|0,g+16|0,g)}Da=g+48|0}function cI(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=Da-160|0;Da=e;a:{if(c>>>0>2){break a}t=Se(a);if(!t){break a}o=q[((c<<2)+t|0)+20>>2];b:{if(c){break b}d=mr();if(d){a=Ic(d);h=oi();Ik(h,503351);Yb(d);c:{if(!a){break c}i=Qb(a);if(!i){break c}while(1){d=Af(b,34);d:{if(!d){break d}g=q[d+4>>2];d=g&1?d+(g&-2)|0:g;if(!d){break d}while(1){pc(e+128|0,d+8|0);e:{if(q[e+128>>2]==8){g=oi();Ik(g,i);f=mi(q[e+136>>2],g);Sd(g);if(f){break c}if(!mi(q[e+136>>2],h)){break e}break c}if(!dd(q[e+136>>2],i)){break c}if(!dd(q[e+136>>2],503351)){break c}}f=d;d=q[d>>2];d=d&1?f+(d&-2)|0:d;if(d){continue}break}}q[e+152>>2]=i;d=q[e+156>>2];q[e+72>>2]=q[e+152>>2];q[e+76>>2]=d;q[e+144>>2]=3;d=q[e+148>>2];q[e+64>>2]=q[e+144>>2];q[e+68>>2]=d;Dc(b,34,e- -64|0,0);i=Qb(a);if(i){continue}break}}Zb(a);Sd(h)}if((Og(b,44,e+112|0)|0)!=1){break b}a=lr();if(!a){break b}wc(b,44,a)}d=0;g=q[t+32>>2];a=g+53|0;h=a<<2;j=Sa(h);f:{if(!j){break f}k=Sa(h);if(!k){La(j);break f}m=Sa(h);g:{if(!m){m=0;break g}if(r[643740]&4){Ua(503355,0);cd(b)}q[e+96>>2]=o;d=q[o+4>>2];q[e+104>>2]=0;q[e+100>>2]=d;if(q[e+96>>2]==(o|0)?q[e+100>>2]:0){w=((a|0)>1?a:1)<<2;x=(g|0)<-52;while(1){a=0;h:{if(q[e+96>>2]!=(o|0)){break h}d=q[e+100>>2];if(!d){break h}a=q[d+4>>2]}if(r[643740]&4){q[e+48>>2]=q[a+4>>2];Ua(503375,e+48|0)}p=(c<<2)+a|0;a=q[p+20>>2];q[e+80>>2]=a;a=q[a+4>>2];q[e+88>>2]=0;q[e+84>>2]=a;if(q[e+80>>2]==q[p+20>>2]?q[e+84>>2]:0){while(1){a=0;i:{if(q[p+20>>2]!=q[e+80>>2]){break i}d=q[e+84>>2];if(!d){break i}a=q[d+4>>2]}h=a;if(!x){Na(k,0,w);Na(j,0,w);Na(m,0,w)}j:{if(!h){break j}while(1){a=q[h+4>>2]+ -1|0;k:{if(a>>>0>1){break k}if(a-1){a=q[q[h+8>>2]+8>>2];if(r[643740]&4){Ua(503390,0);Aq(q[h+8>>2])}d=a&-1025;l:{if((c|0)==1){a=0;if(!q[q[h+8>>2]>>2]){break l}}a=b}g=a;f=0;m:{if(!g){break m}f=Af(g,q[q[h+8>>2]+8>>2])}u=d<<2;a=u+k|0;n:{if(q[a>>2]){break n}d=q[h+8>>2];if(q[d>>2]!=(c|0)){break n}q[a>>2]=f;q[m+u>>2]=d}n=q[h+8>>2];if(!f){if(q[n+4>>2]==1){q[j+u>>2]=0;break k}if(!(r[643740]&4)){break j}Rb(504008);break j}a=q[n+16>>2];o:{if(!a){i=0;break o}i=0;l=q[f+4>>2];if(!l){while(1){if(s[a>>1]!=36){hc(e+128|0,g,0,c,a);a=q[e+140>>2];d=q[e+136>>2];q[e+152>>2]=d;q[e+156>>2]=a;q[e+24>>2]=d;q[e+28>>2]=a;a=q[e+132>>2];d=q[e+128>>2];q[e+144>>2]=d;q[e+148>>2]=a;q[e+16>>2]=d;q[e+20>>2]=a;Wc(e+16|0);break o}hc(e+128|0,g,0,c,q[a+8>>2]);d=q[e+140>>2];n=q[e+136>>2];q[e+152>>2]=n;q[e+156>>2]=d;l=q[e+132>>2];v=q[e+128>>2];q[e+144>>2]=v;q[e+148>>2]=l;a=q[a+12>>2];q[e+8>>2]=n;q[e+12>>2]=d;q[e>>2]=v;q[e+4>>2]=l;Wc(e);if(a){continue}break}break o}while(1){p:{if(s[a>>1]==36){hc(e+128|0,g,0,c,q[a+8>>2]);d=q[e+140>>2];q[e+152>>2]=q[e+136>>2];q[e+156>>2]=d;d=q[e+132>>2];q[e+144>>2]=q[e+128>>2];q[e+148>>2]=d;a=q[a+12>>2];break p}hc(e+128|0,g,0,c,a);a=q[e+140>>2];q[e+152>>2]=q[e+136>>2];q[e+156>>2]=a;a=q[e+132>>2];q[e+144>>2]=q[e+128>>2];q[e+148>>2]=a;a=0}d=l;while(1){q:{r:{if(kk(d+8|0,q[n+12>>2],e+144|0)){i=i?i:d;break r}if(q[n+4>>2]!=1){break r}i=0;break q}v=d;d=q[d>>2];d=d&1?v+(d&-2)|0:d;if(d){continue}}break}d=q[e+156>>2];q[e+40>>2]=q[e+152>>2];q[e+44>>2]=d;d=q[e+148>>2];q[e+32>>2]=q[e+144>>2];q[e+36>>2]=d;Wc(e+32|0);if(a){continue}break}}a=j+u|0;if(!(q[a>>2]|q[q[h+8>>2]>>2]!=(c|0))){q[a>>2]=i}s:{if(!i){break s}a=q[q[h+8>>2]+4>>2]+ -2|0;if(a>>>0>1){break k}if(a-1){if(q[f+4>>2]!=(i|0)){break s}break k}if(q[f+4>>2]!=(i|0)){break k}}if(!(r[643740]&4)){break j}Rb(504008);break j}d=q[h+8>>2];f=q[d>>2]&-1025;a=b;g=c;if(r[643740]&4){Ua(503415,0);mL(q[h+8>>2]);Rb(504017);d=q[h+8>>2]}g=Qp(a,0,g,q[d+8>>2],q[d+12>>2]);a=f<<2;d=q[a+m>>2];if(!(!d|(q[d>>2]!=1?c:0))){y=a+k|0,z=Af(b,q[d+8>>2]),q[y>>2]=z}t:{u:{d=q[h+8>>2];f=s[d+4>>1]+ -11|0;if(f>>>0>7){break u}v:{w:{x:{y:{z:{A:{B:{C:{switch(f-1|0){case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 1:break z;case 2:break A;case 0:break B;default:break C}}l=a+j|0;f=q[l>>2];if(!f){break B}i=q[a+k>>2];a=i+4|0;Zf(a,f,1,g,q[d>>2]);d=q[i+4>>2];D:{if(!d){break D}if((d|0)!=(f|0)){while(1){a=d;d=q[d>>2];if(!d){break D}if((d|0)!=(f|0)){continue}break}}q[a>>2]=q[f>>2];q[f>>2]=0;_e(f)}q[l>>2]=g;break t}E:{f=Af(b,q[d>>2]);if(!f){break E}while(1){d=q[f+4>>2];if(!d){break E}q[f+4>>2]=q[d>>2];q[d>>2]=0;_e(d);continue}}F:{if(!g){break F}d=q[q[h+8>>2]>>2];f=ti(b,d);if(!f){break F}Zf(f+4|0,0,1,g,d)}q[a+j>>2]=0;break t}f=q[a+j>>2];if(!f){break z}Zf(q[a+k>>2]+4|0,f,0,g,q[d>>2]);break t}if(!g){break t}a=q[d>>2];d=ti(b,a);if(!d){break t}Zf(d+4|0,0,0,g,a);break t}f=q[a+j>>2];if(!f){break x}Zf(q[a+k>>2]+4|0,f,1,g,q[d>>2]);break t}if(!g){break t}a=q[d>>2];d=ti(b,a);if(!d){break t}Zf(d+4|0,0,1,g,a);break t}f=q[a+j>>2];if(!f){break v}a=q[a+k>>2];d=q[a+4>>2];if(!d){break u}G:{if((d|0)==(f|0)){a=a+4|0;break G}while(1){a=d;d=q[d>>2];if(!d){break u}if((d|0)!=(f|0)){continue}break}}q[a>>2]=q[f>>2];q[f>>2]=0;_e(f);break u}d=Af(b,q[d>>2]);if(!d){break u}while(1){a=q[d+4>>2];if(!a){break u}q[d+4>>2]=q[a>>2];q[a>>2]=0;_e(a);continue}}_e(g)}a=q[q[h+8>>2]>>2];d=Af(b,a);if(!(!d|q[d+4>>2])){eg(b,a)}if(!(r[643740]&4)){break k}Ua(503427,0);cd(b)}h=q[h>>2];if(h){continue}break}}if(q[e+80>>2]==q[p+20>>2]){a=q[e+84>>2];q[e+88>>2]=a;q[e+84>>2]=q[a>>2]}if(q[e+80>>2]==q[p+20>>2]?q[e+84>>2]:0){continue}break}}if(q[e+96>>2]==(o|0)){a=q[e+100>>2];q[e+104>>2]=a;q[e+100>>2]=q[a>>2]}if(q[e+96>>2]==(o|0)?q[e+100>>2]:0){continue}break}}d=1;if(!(r[643740]&4)){break g}Ua(503451,0);cd(b)}La(k);La(j);if(!m){break f}La(m)}cc(t)}Da=e+160|0;return d}function Rj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,u=0,v=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=Da-32|0;Da=l;q[l+24>>2]=0;q[l+28>>2]=0;a:{if(!b|!q[b>>2]){break a}j=q[c>>2];if(!j){break a}x=a&65535;D=x+508865|0;a=a>>>16|0;E=a+508865|0;z=q[160602];q[160602]=508712;n=r[x+508864|0];A=128-n|0;F=n+128|0;m=r[a+508864|0];B=m+128|0;a=q[b>>2];G=(m|0)==232;C=(m&254)==196;H=(m|0)!=218;I=(m|0)!=216;v=n+ -192|0;J=v+571464|0;y=m+ -192|0;K=y>>>0>6;b:{c:{d:{while(1){g=o[a|0];f=g&255;e:{f:{g:{if(K?(g|0)>=0:0){break g}i=25;h:{i:{j:{k:{l:{m:{n:{o:{p:{if(y>>>0>32){if(!G){break m}if(j>>>0<2){break h}a=r[a+1|0];p=f+ -161|0;if(p>>>0<=92){g=a+ -161|0;if(g>>>0<94){break n}}g=f+ -129|0;if(g>>>0>92|(a>>>0>82?g>>>0>=69:0)){break c}f=a+ -65|0;if(f>>>0<26){break o}if(a+ -97>>>0>25){break p}f=a+ -71|0;break o}q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{switch(y-1|0){case 7:A:{h=qp(l+20|0,a,j,l+24|0);a=h+2|0;if(a>>>0>2){break A}g=28;h=1;switch(a-1|0){case 0:break c;case 1:break A;default:break b}}f=q[l+20>>2];break f;case 5:if(j>>>0<4){break h}f=q[a>>2];break y;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 18:case 19:case 20:case 21:case 22:case 26:case 27:case 28:case 29:case 30:break m;case 31:break q;case 23:case 24:break t;case 25:break u;case 15:break v;case 16:break w;case 0:case 1:case 3:case 4:break x;case 6:break c;default:break z}}if(j>>>0<4){break h}f=FG(a,m)}if(f>>>0>1114111){break c}h=4;if((f&-2048)==55296){break c}break f}g=28;if(j>>>0<2){break b}f=m&1;f=r[f+a|0]<<8|r[(f^1)+a|0];k=f&-1024;if((k|0)!=55296){h=2;if((k|0)==56320){break c}break f}if(C){break c}if(j>>>0<4){break b}g=m&1;a=a+2|0;a=(r[g+a|0]<<8|r[a+(g^1)|0])+ -56320|0;if(a>>>0>1023){break c}f=(a+(f<<10)|0)+ -56557568|0;break s}if(f+ -161>>>0<=62){f=f+65216|0;break g}if(j>>>0<2){break h}h=r[a+1|0];a=f+ -129|0;if(a>>>0>=31){if((f&240)!=224){break c}a=f+ -193|0}g=a<<1;a=h+ -64|0;B:{if(a>>>0<=94){if((h|0)==127){break c}a=a+(h<<24>>31)|0;break B}a=h+ -159|0;f=a>>>0<94;g=f|g;a=f?a:h}f=s[(w(g,188)+(a<<1)|0)+572832>>1];break i}if(j>>>0<2){break h}a=r[a+1|0];if((g|0)==-114){if(a+ -161>>>0>62){break c}f=a+65216|0;h=2;break f}f=f+ -161|0;if(f>>>0>83){break c}a=a+ -161|0;if(a>>>0>93){break c}f=s[(w(f,188)+(a<<1)|0)+572832>>1];break i}if((g&255)>>>0<161){break c}}h=f+ -129|0;if(h>>>0>125){break c}g=28;if(j>>>0<2){break b}f=r[a+1|0];if(f>>>0<161?!H:0){break c}if((f|0)!=127){k=f+ -64|0;if(k>>>0<191){break r}}if(f+ -48>>>0>9|I){break c}if(j>>>0<4){break b}g=r[a+2|0]+ -129|0;if(g>>>0>126){break c}a=r[a+3|0]+ -48|0;if(a>>>0>9){break c}f=(a+(w(f+w(h,10)|0,1260)+w(g,10)|0)|0)+ -60352|0;k=0;while(1){h=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(s[(w(i,380)+(a<<1)|0)+513232>>1]-k>>>0<=h>>>0)+g|0;a=a+1|0;if((a|0)!=190){continue}break}i=i+1|0;if((i|0)!=126){continue}break}k=f+1|0;f=f+g|0;if(f>>>0>=k>>>0){continue}break}}h=4;break f}f=s[(w(h,380)+((k>>>0>63?f+ -65|0:k)<<1)|0)+513232>>1];h=2;break f}if(j>>>0<2){break h}a=r[a+1|0];g=a+ -64|0;if(g>>>0>190|a+ -127>>>0<34){break c}a=g>>>0>62?a+ -98|0:g;g=f+ -161|0;if(g>>>0>=89){g=f+ -135|0;if(g>>>0>119){break c}a=a+w(f>>>0<161?g:f+ -224|0,157)|0;g=s[(a<<1)+561120>>1];f=g|s[(a>>>3&536870910)+570854>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break i}if((v>>>0<=8?o[J|0]:2)>>>0>t[e>>2]){break d}q[l+12>>2]=4;q[l+16>>2]=(g&255)+571474;u=Rj(x,l+16|0,l+12|0,d,e)+u|0;h=2;break e}f=s[(w(g,314)+(a<<1)|0)+588624>>1];if((g|0)!=39){break k}g=131072;h=a+ -58|0;if(h>>>0<=2){break l}if((a|0)==66){break j}break k}if(a+ -129>>>0>125){break c}f=a+ -77|0}k=44032;h=2;f=((g>>>0<32?w(g,178):w(p,84)+5696|0)+f|0)+44032|0;if(f>>>0<44032){break f}while(1){p=f-k|0;i=0;g=0;while(1){a=0;while(1){g=(s[(w(i,188)+(a<<1)|0)+616576>>1]-k>>>0<=p>>>0)+g|0;a=a+1|0;if((a|0)!=94){continue}break}i=i+1|0;if((i|0)!=93){continue}break}k=f+1|0;f=f+g|0;if(f>>>0>=k>>>0){continue}break}break f}f=s[(w(p,188)+(g<<1)|0)+616576>>1];break i}if(B>>>0>f>>>0){break g}h=1;a=f-B|0;g=(w(a,5)>>>2|0)+E|0;a=a<<1&6;a=r[g+1|0]<<8-a&1023|r[g|0]>>>a;f=a?s[(a<<1)+571504>>1]:f;if((f|0)==1){break c}break f}if(h-1){break j}}g=0}f=f|g}h=2;if(f){break f}break c}g=28;break b}h=1}C:{D:{if(v>>>0>8){break D}E:{switch(v-1|0){case 5:a=q[e>>2];if(a>>>0<4){break d}g=q[d>>2];q[g>>2]=f;q[d>>2]=g+4;q[e>>2]=a+ -4;break e;case 7:F:{if(t[e>>2]<=3){a=Oh(l+8|0,f);if(t[e>>2]>=a>>>0){g=q[d>>2];Qa(g,l+8|0,a);break F}g=1;break b}g=q[d>>2];a=Oh(g,f)}q[d>>2]=a+g;q[e>>2]=q[e>>2]-a;break e;case 6:if(f>>>0<128){break D}a=0;break C;case 0:case 1:case 3:case 4:a=q[e>>2];if(!(f>>>0>65535?!C:0)){if(a>>>0<2){break d}g=n&1;a=q[d>>2];f=f>>>0>65535?65533:f;o[g+a|0]=f>>>8;o[a+(g^1)|0]=f;q[d>>2]=a+2;q[e>>2]=q[e>>2]+ -2;break e}if(a>>>0<4){break d}g=n&1;a=q[d>>2];f=f+ -65536|0;i=f>>>10|55296;o[g+a|0]=i>>>8;o[a+(g^1)|0]=i;g=n&1;i=a+2|0;f=f&1023|56320;o[g+i|0]=f>>>8;o[i+(g^1)|0]=f;q[d>>2]=a+4;q[e>>2]=q[e>>2]+ -4;break e;default:break E}}if(t[e>>2]<4){break d}a=q[d>>2];EG(a,f,n);q[d>>2]=a+4;q[e>>2]=q[e>>2]+ -4;break e}a=1}while(1){if(!a){u=u+1|0;f=42;a=1;continue}if(!q[e>>2]){break d}G:{if(f>>>0>>0){break G}a=0;if(A){while(1){g=(w(a,5)>>>2|0)+D|0;i=a<<1&6;if(s[((r[g+1|0]<<8-i&1023|r[g|0]>>>i)<<1)+571504>>1]==(f|0)){f=a+128|0;break G}a=a+1|0;if((A|0)!=(a|0)){continue}break}}a=0;continue}break}a=q[d>>2];q[d>>2]=a+1;o[a|0]=f;q[e>>2]=q[e>>2]+ -1}a=q[b>>2]+h|0;q[b>>2]=a;j=j-h|0;q[c>>2]=j;if(j){continue}break}q[160602]=z;break a}i=1}g=i}q[160942]=g;q[160602]=z;u=-1}Da=l+32|0;return u}function uR(a,b,c,d,e){a=a|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,u=0,v=0,x=0,y=0,z=0,A=0;f=Da-6768|0;Da=f;c=q[q[a+4>>2]>>2];Na(f- -64|4,0,2756);q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;q[f+56>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;q[f+64>>2]=c;q[f+8>>2]=f- -64;l=q[b+4>>2];k=q[l+88>>2];a:{if(!k){c=36;break a}i=q[k+40>>2];g=q[l+84>>2];j=q[g+156>>2];y=q[j>>2];q[f+6736>>2]=0;b=f+6728|0;q[b>>2]=0;q[b+4>>2]=0;b=f+6720|0;q[b>>2]=0;q[b+4>>2]=0;q[f+6712>>2]=0;q[f+6716>>2]=0;c=q[i+12>>2];b:{c:{if(!c){b=e>>>16&15;break c}b=e>>>16&15;h=q[i+4>>2];if((b|0)==(h|0)){break b}}q[i+4>>2]=b;q[i+32>>2]=q[k+36>>2];c=q[k+32>>2];q[i+24>>2]=q[k+28>>2];q[i+28>>2]=c;c=q[k+24>>2];q[i+16>>2]=q[k+20>>2];q[i+20>>2]=c;c=q[k+16>>2];q[i+8>>2]=q[k+12>>2];q[i+12>>2]=c;c=q[i+12>>2];h=b}q[f+6724>>2]=0;q[f+6716>>2]=c;q[f+6712>>2]=l;b=q[i+16>>2];q[f+6736>>2]=0;q[f+6732>>2]=h;q[f+6728>>2]=0;q[f+6720>>2]=b;q[f>>2]=l;b=q[l+116>>2];q[f+4>>2]=b;if(!b){c=Ki(l,f|4,a);if(c){break a}b=q[f+4>>2];q[l+116>>2]=b;q[l+120>>2]=596}q[f+6744>>2]=0;if(t[b+4>>2]<=d>>>0){c=6;q[f+6744>>2]=6;break a}i=d<<1;c=s[i+q[b+8>>2]>>1]&16383;v=((c<<2)+b|0)+24|0;h=q[v>>2];d:{if(h){break d}e:{f:{while(1){x=q[q[b>>2]+100>>2];k=q[(c<<2)+284352>>2];m=q[(q[k+4>>2]<<2)+284080>>2];h=gb(x,q[m+4>>2],f+6744|0);c=q[f+6744>>2];if(c){break a}q[h+36>>2]=b;q[h>>2]=k;c=q[m+8>>2];if(!c){break f}c=n[c](h,q[b>>2])|0;q[f+6744>>2]=c;if(!c){break f}c=q[m+16>>2];if(c){n[c](h)}if(h){n[q[x+8>>2]](x,h)}c=q[f+6744>>2];if((c|0)!=-1){break e}c=s[i+q[b+8>>2]>>1]&16383;v=((c<<2)+b|0)+24|0;if(!q[v>>2]){continue}break}c=-1;break a}q[v>>2]=h;break d}if(c){break a}h=0}b=q[q[h>>2]+4>>2];q[f+12>>2]=h;x=q[(b<<2)+284080>>2];b=q[x+12>>2];g:{if(b){n[b](h,f+6712|0);break g}b=q[f+6716>>2];q[h+4>>2]=q[f+6712>>2];q[h+8>>2]=b;q[h+28>>2]=q[f+6736>>2];c=f+6728|0;b=q[c+4>>2];q[h+20>>2]=q[c>>2];q[h+24>>2]=b;c=f+6720|0;b=q[c+4>>2];q[h+12>>2]=q[c>>2];q[h+16>>2]=b}b=q[x+24>>2];if(b){c=n[b](f- -64|0,h)|0;if(c){break a}}c=Yc(l,d,e&-10246|10241);if(c){break a}h:{if(q[f+6732>>2]!=1){break h}b=o[q[l+128>>2]+56|0];if(r[a+21|0]|(b|0)>-1?b:0){break h}v=q[q[l+88>>2]+40>>2];e=q[l+84>>2];u=q[f+4>>2];q[f+6704>>2]=0;q[f+6764>>2]=0;m=s[v+8>>1];c=s[u+368>>1];i=s[l+68>>1]<<16;k=Za(65536e3,i);a=q[72332];b=f+6752|0;q[b>>2]=q[72331];q[b+4>>2]=a;a=q[72330];q[f+6744>>2]=q[72329];q[f+6748>>2]=a;if(!s[l+68>>1]){break h}a=q[q[(q[q[h>>2]+4>>2]<<2)+284080>>2]+20>>2];if(!a){break h}n[a](h,f+6764|0,f+6704|0);a=q[f+6704>>2];i:{j:{k:{if((a|0)==q[u+372>>2]|(a|0)<1?(c|0)==(m|0):0){break k}b=Za(Ma(Hs(q[q[f+4>>2]+392>>2],s[l+68>>1],s[q[l+88>>2]+12>>1],a)<<16,q[v+12>>2]),k);q[u+372>>2]=q[f+6704>>2];a=s[v+8>>1];q[u+380>>2]=b+32768>>16;p[u+368>>1]=a;if((c|0)==(m|0)){break k}b=q[f+6764>>2];break j}b=q[f+6764>>2];if((b|0)<1|q[u+376>>2]==(b|0)){break i}}c=Hs(q[q[f+4>>2]+392>>2],s[l+68>>1],s[q[l+88>>2]+12>>1],b)<<16;b=Za(Ma(c,q[v+16>>2]),k);q[u+376>>2]=q[f+6764>>2];a=s[v+8>>1];q[u+384>>2]=b+32768>>16;p[u+368>>1]=a;z=u,A=Za((i-c|0)+ -524288|0,i),q[z+388>>2]=A}a=e+108|0;Po(a,q[u+380>>2],q[u+384>>2]);q[f+6756>>2]=q[u+388>>2];ce(a,f+6744|0)}a=r[j+8|0];o[f+16|0]=a;l:{if(!a){break l}m=q[j+24>>2];k=q[j+20>>2];q[f+28>>2]=k;q[f+32>>2]=m;i=q[j+16>>2];e=q[j+12>>2];q[f+20>>2]=e;q[f+24>>2]=i;c=q[j+28>>2];b=q[j+32>>2];a=f+6752|0;q[a>>2]=k;q[a+4>>2]=m;q[f+6744>>2]=e;q[f+6748>>2]=i;q[f+36>>2]=c;q[f+40>>2]=b;if(VL(f+6744|0)){break l}Rg(f+36|0,f+6744|0)}a=7;m:{if(q[g+72>>2]!=1869968492){break m}if(r[f+16|0]){oc(g+108|0,q[f+36>>2],q[f+40>>2])}q[f+48>>2]=q[f+80>>2];q[f+44>>2]=q[f+72>>2];a=Ma(q[g+40>>2],q[f+68>>2]);q[f+56>>2]=q[f+80>>2];q[f+52>>2]=a+q[f+72>>2];a=0;if(!s[g+110>>1]){break m}b=q[x+28>>2];if(b){c=n[b](d,f- -64|0,y+20|0,h)|0;if(c){break a}}if(q[f+6732>>2]!=1){b=q[f+120>>2];if(!(r[f+2804|0]&4|(b|0)<2)){e=q[f+128>>2];b=e+w(b,44)|0;x=q[b+ -36>>2];c=q[b+ -40>>2];k=q[e+8>>2];m=q[e+4>>2];b=k-m|0;j=(m|0)<24?b+ -8|0:b;b=j+32&-64;q[f+44>>2]=b;i=q[f+52>>2]-c|0;c=i+x|0;e=(i|0)<24?c+8|0:c;c=e+32&-64;q[f+52>>2]=c;if(!((m|0)<1|(b|0)<(k|0))){b=b+ -64|0;q[f+44>>2]=b}if(!((i|0)<1|(c|0)>(x|0))){c=c- -64|0;q[f+52>>2]=c}q[g+148>>2]=c-e;q[g+144>>2]=b-j;break m}j=q[f+44>>2];e=(j+q[f+2816>>2]|0)+32&-64;q[f+44>>2]=e;c=q[f+52>>2];b=(c+q[f+2820>>2]|0)+32&-64;q[f+52>>2]=b;q[g+148>>2]=b-c;q[g+144>>2]=e-j;break m}j=q[f+44>>2];e=j+32&-64;q[f+44>>2]=e;c=q[f+52>>2];b=c+32&-64;q[f+52>>2]=b;q[g+148>>2]=b-c;q[g+144>>2]=e-j}c=q[g+36>>2];b=q[g+48>>2];z=f,A=Ma(q[g+44>>2]-q[g+32>>2]|0,q[h+8>>2]),q[z+6704>>2]=A;z=f,A=Ma(b-c|0,q[h+12>>2]),q[z+6708>>2]=A;if(r[f+16|0]){b=f+20|0;ce(y+20|0,b);Rg(f+6704|0,b)}b=q[f+44>>2];if(b){oc(y+20|0,0-b|0,0)}Te(y+20|0,f+6744|0);j=q[f+6744>>2]&-64;q[f+6744>>2]=j;e=q[f+6756>>2]+63&-64;q[f+6756>>2]=e;c=q[f+6752>>2]+63&-64;q[f+6752>>2]=c;b=q[f+6748>>2]&-64;q[f+6748>>2]=b;q[g+36>>2]=e;q[g+32>>2]=j;q[g+28>>2]=e-b;q[g+24>>2]=c-j;q[g+44>>2]=j+q[f+6704>>2]&-64;q[g+48>>2]=e+q[f+6708>>2]&-64;n:{o:{if(q[f+6732>>2]==1){break o}if(!(r[q[g+4>>2]+8|0]&4)){b=q[f+4>>2];if(!r[h+32|0]|(t[b+4>>2]<=d>>>0|p[q[b+8>>2]+(d<<1)>>1]>-1)){break o}}b=Ma(q[g+40>>2],q[h+8>>2]);q[g+144>>2]=0;q[g+148>>2]=0;q[g+40>>2]=b;break n}if(!q[g+40>>2]){break n}q[g+40>>2]=q[f+52>>2]-q[f+44>>2]}b=Ma(q[g+52>>2],q[h+12>>2]);q[g+72>>2]=1869968492;q[g+52>>2]=b+32&-64;q[g+40>>2]=q[g+40>>2]+32&-64;c=a}q[f+8>>2]=0;q[f>>2]=0;q[f+4>>2]=0;Ll(f- -64|0);Da=f+6768|0;return c|0}function aH(a,b,c,d,f,g){a=a|0;b=+b;c=c|0;d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=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=Da-560|0;Da=m;q[m+44>>2]=0;h(+b);i=e(1)|0;a:{if(G=1,H=(J=e(0)>>>0>4294967295?0:1,K=0,L=(i|0)<=-1,L?J:K),I=(i|0)<-1,I?G:H){D=1;b=-b;h(+b);i=e(1)|0;e(0)|0;E=507952;break a}if(f&2048){D=1;E=507955;break a}D=f&1;E=D?507958:507953}b:{if((i&2146435072)==2146435072){p=D+3|0;Nc(a,32,c,p,f&-65537);yc(a,E,D);d=g>>>5&1;yc(a,b!=b?d?507979:507983:d?507971:507975,3);break b}A=m+16|0;c:{d:{e:{b=Wf(b,m+44|0);b=b+b;if(b!=0){i=q[m+44>>2];q[m+44>>2]=i+ -1;z=g|32;if((z|0)!=97){break e}break c}z=g|32;if((z|0)==97){break c}l=q[m+44>>2];n=(d|0)<0?6:d;break d}l=i+ -29|0;q[m+44>>2]=l;b=b*268435456;n=(d|0)<0?6:d}t=(l|0)<0?m+48|0:m+336|0;k=t;while(1){d=k;if(b<4294967296&b>=0){i=~~b>>>0}else{i=0}q[d>>2]=i;k=k+4|0;b=(b- +(i>>>0))*1e9;if(b!=0){continue}break}f:{if((l|0)<1){i=k;j=t;break f}j=t;while(1){x=(l|0)<29?l:29;i=k+ -4|0;g:{if(i>>>0>>0){break g}d=x;u=0;while(1){v=i;p=0;F=u;u=q[i>>2];s=d&31;if(32<=(d&63)>>>0){l=u<>>32-s;s=u<>>0>>0?p+1|0:p;s=u;u=X$(s,p,1e9,0);F=v;v=V$(u,Ea,1e9,0);q[F>>2]=s-v;i=i+ -4|0;if(i>>>0>=j>>>0){continue}break}d=u;if(!d){break g}j=j+ -4|0;q[j>>2]=d}while(1){i=k;if(i>>>0>j>>>0){k=i+ -4|0;if(!q[k>>2]){continue}}break}l=q[m+44>>2]-x|0;q[m+44>>2]=l;k=i;if((l|0)>0){continue}break}}if((l|0)<=-1){B=((n+25|0)/9|0)+1|0;x=(z|0)==102;while(1){u=(l|0)<-9?9:0-l|0;h:{if(j>>>0>=i>>>0){j=q[j>>2]?j:j+4|0;break h}v=1e9>>>u|0;s=-1<>2];q[k>>2]=(d>>>u|0)+l;l=w(v,d&s);k=k+4|0;if(k>>>0>>0){continue}break}j=q[j>>2]?j:j+4|0;if(!l){break h}q[i>>2]=l;i=i+4|0}l=u+q[m+44>>2]|0;q[m+44>>2]=l;d=x?t:j;i=i-d>>2>(B|0)?d+(B<<2)|0:i;if((l|0)<0){continue}break}}k=0;i:{if(j>>>0>=i>>>0){break i}k=w(t-j>>2,9);l=10;d=q[j>>2];if(d>>>0<10){break i}while(1){k=k+1|0;l=w(l,10);if(d>>>0>=l>>>0){continue}break}}d=(n-((z|0)==102?0:k)|0)-((z|0)==103&(n|0)!=0)|0;if((d|0)<(w(i-t>>2,9)+ -9|0)){s=d+9216|0;d=(s|0)/9|0;p=(t+(d<<2)|0)+ -4092|0;l=10;d=s-w(d,9)|0;if((d|0)<=7){while(1){l=w(l,10);d=d+1|0;if((d|0)!=8){continue}break}}v=q[p>>2];s=(v>>>0)/(l>>>0)|0;B=p+4|0;x=v-w(l,s)|0;j:{if(x?0:(B|0)==(i|0)){break j}d=l>>>1|0;C=x>>>0>>0?.5:(i|0)==(B|0)?(d|0)==(x|0)?1:1.5:1.5;b=s&1?9007199254740994:9007199254740992;if(!(!D|r[E|0]!=45)){C=-C;b=-b}d=v-x|0;q[p>>2]=d;if(b+C==b){break j}d=d+l|0;q[p>>2]=d;if(d>>>0>=1e9){while(1){q[p>>2]=0;p=p+ -4|0;if(p>>>0>>0){j=j+ -4|0;q[j>>2]=0}d=q[p>>2]+1|0;q[p>>2]=d;if(d>>>0>999999999){continue}break}}k=w(t-j>>2,9);l=10;d=q[j>>2];if(d>>>0<10){break j}while(1){k=k+1|0;l=w(l,10);if(d>>>0>=l>>>0){continue}break}}d=p+4|0;i=i>>>0>d>>>0?d:i}k:{while(1){x=i;v=0;if(i>>>0<=j>>>0){break k}i=x+ -4|0;if(!q[i>>2]){continue}break}v=1}l:{if((z|0)!=103){z=f&8;break l}i=n?n:1;d=(i|0)>(k|0)&(k|0)>-5;n=(d?k^-1:-1)+i|0;g=(d?-1:-2)+g|0;z=f&8;if(z){break l}i=9;m:{if(!v){break m}s=q[x+ -4>>2];if(!s){break m}d=10;i=0;if((s>>>0)%10){break m}while(1){i=i+1|0;d=w(d,10);if(!((s>>>0)%(d>>>0))){continue}break}}d=w(x-t>>2,9)+ -9|0;if((g|32)==102){z=0;d=d-i|0;d=(d|0)>0?d:0;n=(n|0)<(d|0)?n:d;break l}z=0;d=(d+k|0)-i|0;d=(d|0)>0?d:0;n=(n|0)<(d|0)?n:d}l=n|z;p=(l|0)!=0;d=a;s=c;u=g|32;i=(k|0)>0?k:0;n:{if((u|0)==102){break n}i=k>>31;i=Vf(i+k^i,0,A);if((A-i|0)<=1){while(1){i=i+ -1|0;o[i|0]=48;if((A-i|0)<2){continue}break}}B=i+ -2|0;o[B|0]=g;o[i+ -1|0]=(k|0)<0?45:43;i=A-B|0}p=(i+(p+(n+D|0)|0)|0)+1|0;Nc(d,32,s,p,f);yc(a,E,D);Nc(a,48,c,p,f^65536);o:{p:{q:{if((u|0)==102){d=m+16|8;k=m+16|9;g=j>>>0>t>>>0?t:j;j=g;while(1){i=Vf(q[j>>2],0,k);r:{if((g|0)!=(j|0)){if(i>>>0<=m+16>>>0){break r}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break r}if((i|0)!=(k|0)){break r}o[m+24|0]=48;i=d}yc(a,i,k-i|0);j=j+4|0;if(j>>>0<=t>>>0){continue}break}if(l){yc(a,507987,1)}if((n|0)<1|j>>>0>=x>>>0){break q}while(1){i=Vf(q[j>>2],0,k);if(i>>>0>m+16>>>0){while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}}yc(a,i,(n|0)<9?n:9);i=n+ -9|0;j=j+4|0;if(j>>>0>=x>>>0){break p}d=(n|0)>9;n=i;if(d){continue}break}break p}s:{if((n|0)<0){break s}g=v?x:j+4|0;d=m+16|8;t=m+16|9;k=j;while(1){i=Vf(q[k>>2],0,t);if((t|0)==(i|0)){o[m+24|0]=48;i=d}t:{if((j|0)!=(k|0)){if(i>>>0<=m+16>>>0){break t}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break t}yc(a,i,1);i=i+1|0;if((n|0)<1?!z:0){break t}yc(a,507987,1)}u=i;i=t-i|0;yc(a,u,(n|0)>(i|0)?i:n);n=n-i|0;k=k+4|0;if(k>>>0>=g>>>0){break s}if((n|0)>-1){continue}break}}Nc(a,48,n+18|0,18,0);yc(a,B,A-B|0);break o}i=n}Nc(a,48,i+9|0,9,0)}break b}t=g&32;s=t?E+9|0:E;u:{if(d>>>0>11){break u}i=12-d|0;if(!i){break u}C=8;while(1){C=C*16;i=i+ -1|0;if(i){continue}break}if(r[s|0]==45){b=-(C+(-b-C));break u}b=b+C-C}i=q[m+44>>2];k=i>>31;i=Vf(k^i+k,0,A);if((A|0)==(i|0)){o[m+15|0]=48;i=m+15|0}n=D|2;k=q[m+44>>2];v=i+ -2|0;o[v|0]=g+15;o[i+ -1|0]=(k|0)<0?45:43;i=f&8;j=m+16|0;while(1){g=j;u=t;if(y(b)<2147483648){k=~~b}else{k=-2147483648}o[j|0]=u|r[k+507936|0];b=(b- +(k|0))*16;j=g+1|0;if(!((j-(m+16|0)|0)!=1|(b==0?!((d|0)>0|i):0))){o[g+1|0]=46;j=g+2|0}if(b!=0){continue}break}g=a;i=c;if(!d|((j-m|0)+ -18|0)>=(d|0)){t=((A-(m+16|0)|0)-v|0)+j|0}else{t=((d+A|0)-v|0)+2|0}p=t+n|0;Nc(g,32,i,p,f);yc(a,s,n);Nc(a,48,c,p,f^65536);d=j-(m+16|0)|0;yc(a,m+16|0,d);g=d;d=A-v|0;Nc(a,48,t-(g+d|0)|0,0,0);yc(a,v,d)}Nc(a,32,c,p,f^8192);Da=m+560|0;return((p|0)<(c|0)?c:p)|0}function wF(a,b,c,d,e){a=a|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,p=0,u=0,v=0,x=0,y=0;h=Da-128|0;Da=h;i=_d(q[q[b+96>>2]+4>>2],5128);a:{if(!i){f=11;break a}f=Xa(a,0);if(f){break a}f=n[q[i+4>>2]](a,b,c,d,e)|0;if(f){break a}j=q[b+104>>2];f=2;a=q[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}}q[b+8>>2]=q[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=n[q[i+8>>2]](j,b,c,d,e)|0;if(f){break a}c:{d:{a=q[b+20>>2];if(a){if(cb(a,5520)){break d}if(cb(a,5540)){break d}if(cb(a,5560)){break d}if(cb(a,5580)){break d}if(cb(a,5600)){break d}if(cb(a,5620)){break d}if(cb(a,5640)){break d}if(cb(a,5660)){break d}if(cb(a,5680)){break d}if(cb(a,5700)){break d}if(cb(a,5720)){break d}if(cb(a,5740)){break d}if(cb(a,5760)){break d}if(cb(a,5780)){break d}if(cb(a,5800)){break d}if(cb(a,5820)){break d}if(cb(a,5840)){break d}if(cb(a,5860)){break d}if(cb(a,5880)){break d}if(cb(a,5900)){break d}if(cb(a,5920)){break d}if(cb(a,5940)){break d}if(cb(a,5960)){break d}if(cb(a,5980)){break d}if(cb(a,6e3)){break d}if(cb(a,6020)){break d}}g=Na(h,0,116);e:{e=s[b+152>>1];if(!e){break e}i=0;while(1){f=0;k=1;l=0;d=q[b+156>>2];p=m<<4;a=q[d+p>>2];f:{if((a|0)!=1668707360){g:{if((a|0)!=1886545264){if((a|0)!=1718642541){break f}l=1;break g}l=2}k=i}a=0;while(1){d=d+p|0;u=w(f,24)+(l<<3)|0;if(q[d+12>>2]==q[u+6052>>2]){h:{if(a){break h}e=q[b+516>>2];if(!e){a=0;break h}a=0;if(n[e](b,q[d>>2],q[b+104>>2],0)){break h}d=q[b+104>>2];e=q[(q[b+156>>2]+p|0)+12>>2];if(lb(d,e)){break h}if(e>>>0>3){while(1){a=fc(d)+a|0;e=e+ -4|0;if(e>>>0>3){continue}break}}i=3;if(e){while(1){v=a;a=q[d+32>>2];if(a>>>0>2]){q[d+32>>2]=a+1;a=o[a|0]}else{a=0}a=v+((a<<24>>24&255)<<(i<<3))|0;i=i+ -1|0;e=e+ -1|0;if(e){continue}break}}jb(d)}d=g+(f<<2)|0;e=q[d>>2];if(q[u+6048>>2]==(a|0)){e=e+1|0;q[d>>2]=e}if((e|0)==3){break d}}f=f+1|0;if((f|0)!=29){d=q[b+156>>2];continue}break}e=s[b+152>>1];i=k}m=m+1|0;if(m>>>0<(e&65535)>>>0){continue}break}if(!(i&255)){break e}if(q[g>>2]==3|q[g+4>>2]==3|(q[g+8>>2]==3|q[g+12>>2]==3)){break d}if(q[g+16>>2]==3|q[g+20>>2]==3|(q[g+24>>2]==3|q[g+28>>2]==3)){break d}if(q[g+32>>2]==3|q[g+36>>2]==3|(q[g+40>>2]==3|q[g+44>>2]==3)){break d}if(q[g+48>>2]==3|q[g+52>>2]==3|(q[g+56>>2]==3|q[g+60>>2]==3)){break d}if(q[g+64>>2]==3|q[g+68>>2]==3|(q[g+72>>2]==3|q[g+76>>2]==3)){break d}if(q[g+80>>2]==3|q[g+84>>2]==3|(q[g+88>>2]==3|q[g+92>>2]==3)){break d}if(q[g+96>>2]==3|q[g+100>>2]==3|(q[g+104>>2]==3|q[g+108>>2]==3)){break d}if(q[g+112>>2]==3){break d}break c}f=0;while(1){d=g+(f<<2)|0;a=q[d>>2];if(f+ -16>>>0<=11){a=a+1|0;q[d>>2]=a}if((a|0)==3){break d}f=f+1|0;if((f|0)!=29){continue}break}break c}q[b+8>>2]=q[b+8>>2]|8192}l=q[j+28>>2];a=n[q[b+516>>2]](b,1751412088,j,h+124|0)|0;q[h>>2]=a;i:{if(a){break i}a=q[h+124>>2];if(a>>>0<=7){break i}k=b+768|0;f=Bc(j,a,k);q[h>>2]=f;if(f){break a}j:{k:{l:{e=q[k>>2];d=r[e+2|0]<<8|r[e+3|0];if(d>>>0<=255){g=q[h+124>>2];a=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=a>>>0>4294901759?a&65535:a;if(!d|i+ -4>>>0<65534){break l}}q[h>>2]=3;break k}f=0;x=b,y=Oa(l,1,0,d,0,h),q[x+784>>2]=y;if(q[h>>2]){break k}m:{if(!d){break m}a=e+8|0;k=e+g|0;while(1){e=a+i|0;if(e>>>0>k>>>0){break m}o[q[b+784>>2]+f|0]=r[a|0];a=e;f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d}q[b+776>>2]=f;a=q[h+124>>2];q[b+780>>2]=i;q[b+772>>2]=a;break j}zb(j,k);q[b+772>>2]=0}f=q[h>>2];if(f){break a}}f=0;n:{if(!(o[b+8|0]&1)){break n}if(!q[q[b+128>>2]+52>>2]){a=b;f=n[q[b+516>>2]](b,1735162214,j,b+724|0)|0;o:{p:{if((f&255)==142){q[b+724>>2]=0;d=0;break p}if(f){break o}d=0;if(q[q[b+128>>2]+52>>2]){break p}d=q[j+8>>2]}q[a+728>>2]=d;f=144;if(n[q[b+516>>2]](b,1819239265,j,h)){break o}i=q[h>>2];q:{if(s[b+210>>1]){if(i>>>0>=262144){q[h>>2]=262143;i=262143}f=i>>>2|0;q[b+760>>2]=f;d=2;break q}if(i>>>0>=131072){q[h>>2]=131071;i=131071}f=i>>>1|0;q[b+760>>2]=f;d=1}a=q[b+16>>2];r:{if(f>>>0>a>>>0){break r}e=a+1|0;if((e|0)==(f|0)){break r}a=q[b+156>>2];i=e<>2];e=s[b+152>>1];s:{if(e){l=(e<<4)+a|0;f=2147483647;e=0;while(1){k=q[a+8>>2]-d|0;g=(k|0)>0&(k|0)<(f|0);e=g?1:e;f=g?k:f;a=a+16|0;if(a>>>0>>0){continue}break}if(e&255){break s}}f=q[j+4>>2]-d|0}if(i>>>0<=f>>>0){q[b+760>>2]=q[b+16>>2]+1;q[h>>2]=i;break r}a=q[b+760>>2];q[b+16>>2]=a?a+ -1|0:0;i=q[h>>2]}f=Bc(j,i,b+764|0)}if(!(!q[b+724>>2]|(f&255)!=142)|f){break a}}f=Io(b,j);if((f&255)!=142?f:0){break a}t:{if(n[q[b+516>>2]](b,1718642541,j,h)){q[b+684>>2]=0;q[b+688>>2]=0;break t}a=q[h>>2];q[b+684>>2]=a;f=Bc(j,a,b+688|0);if(!f){break t}if((f&255)!=142){break a}}u:{if(n[q[b+516>>2]](b,1886545264,j,h)){q[b+692>>2]=0;q[b+696>>2]=0;f=0;break u}a=q[h>>2];q[b+692>>2]=a;f=Bc(j,a,b+696|0);if(!f){break u}if((f&255)!=142){break a}}if(q[q[b+128>>2]+52>>2]|!q[b+28>>2]|(!q[b+764>>2]|!q[b+760>>2])){break n}d=0;e=0;a=0;while(1){Cj(b,a,h+124|0);if(q[h+124>>2]){e=a;d=d+1|0;if(d>>>0>1){break n}}a=a+1|0;if(a>>>0>2]){continue}break}if((d|0)!=1){break n}if(e){if(Kj(b,e,h,8)|r[h|0]!=46|((r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24))!=1953459758|(r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24))!=6710628)){break n}}q[b+8>>2]=q[b+8>>2]&-2}a=c>>>16|0;if(!(!a|!(q[b+8>>2]&256))){f=Ho(b,a);if(f){break a}Go(b);f=0}q[b+528>>2]=23;q[b+536>>2]=24;q[b+532>>2]=25;q[b+520>>2]=26;q[b+524>>2]=27}Da=h+128|0;return f|0}function zX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;j=q[a+24>>2];a:{if(!(j&4)){if(j>>>0<8){break a}d=q[67829];h=d;p=q[67828];f(0,p|0);f(1,d|0);m=+g();d=8;while(1){i=e;e=d;d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(j>>>0<=i>>>0){o[a+20|0]=1}n=q[a+32>>2];b:{if(n>>>0<=i>>>0){q[160744]=p;q[160745]=h;k=m;break b}k=v[q[a+36>>2]+(i<<3)>>3]}d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;v[c+32>>3]=v[c+32>>3]+k;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|1;if(j>>>0<=d>>>0){o[a+20|0]=1}c:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}l=i|2;if(j>>>0<=l>>>0){o[a+20|0]=1}d:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break d}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|3;if(j>>>0<=d>>>0){o[a+20|0]=1}e:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break e}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;pb(a,b,c+32|0,c+16|0,c);d=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=d;d=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=d;j=q[a+24>>2];d=i|4;if(j>>>0<=d>>>0){o[a+20|0]=1}n=q[a+32>>2];f:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break f}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|5;if(j>>>0<=d>>>0){o[a+20|0]=1}g:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break g}d=q[a+36>>2]+(d<<3)|0}l=i|6;if(j>>>0<=l>>>0){o[a+20|0]=1}h:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break h}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|7;if(j>>>0<=d>>>0){o[a+20|0]=1}i:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break i}k=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+k;if(!(!(j&1)|j-i>>>0>15)){if(j>>>0<=e>>>0){o[a+20|0]=1}j:{if(n>>>0<=e>>>0){q[160744]=p;q[160745]=h;k=m;break j}k=v[q[a+36>>2]+(e<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k}pb(a,b,c+32|0,c+16|0,c);d=e+8|0;j=q[a+24>>2];if(d>>>0<=j>>>0){continue}break}break a}d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(!j){o[a+20|0]=1}e=q[a+32>>2];k:{if(!e){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break k}m=v[q[a+36>>2]>>3]}v[c+32>>3]=v[c+32>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;if(j>>>0<=1){o[a+20|0]=1}l:{if(e>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+8|0}if(j>>>0<=2){o[a+20|0]=1}m:{if(e>>>0<=2){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);m=+g();break m}m=v[q[a+36>>2]+16>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+m;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;if(j>>>0<=3){o[a+20|0]=1}n:{if(e>>>0<=3){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break n}m=v[q[a+36>>2]+24>>3]}v[c+8>>3]=v[c+8>>3]+m;h=12;d=4;if(j>>>0>=12){d=q[67829];p=d;n=q[67828];f(0,n|0);f(1,d|0);m=+g();i=4;while(1){d=h;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;h=q[a+24>>2];if(h>>>0<=i>>>0){o[a+20|0]=1}j=q[a+32>>2];o:{if(j>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break o}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;e=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=e;e=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=e;e=i|1;if(h>>>0<=e>>>0){o[a+20|0]=1}p:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break p}e=q[a+36>>2]+(e<<3)|0}l=i|2;if(h>>>0<=l>>>0){o[a+20|0]=1}q:{if(j>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break q}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[e>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];e=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=e;e=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=e;e=i|3;if(h>>>0<=e>>>0){o[a+20|0]=1}r:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;k=m;break r}k=v[q[a+36>>2]+(e<<3)>>3]}v[c>>3]=v[c>>3]+k;pb(a,b,c+32|0,c+16|0,c);e=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=e;e=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=e;j=q[a+24>>2];h=i+4|0;if(j>>>0<=h>>>0){o[a+20|0]=1}e=q[a+32>>2];s:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;k=m;break s}k=v[q[a+36>>2]+(h<<3)>>3]}h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;v[c+32>>3]=v[c+32>>3]+k;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;h=i+5|0;if(j>>>0<=h>>>0){o[a+20|0]=1}t:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;h=642976;break t}h=q[a+36>>2]+(h<<3)|0}l=i+6|0;if(j>>>0<=l>>>0){o[a+20|0]=1}u:{if(e>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break u}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[h>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];h=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=h;h=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=h;i=i+7|0;if(j>>>0<=i>>>0){o[a+20|0]=1}v:{if(e>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break v}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;i=d;h=d+8|0;if(h>>>0<=j>>>0){continue}break}}if(d>>>0>>0){w:{if(e>>>0<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);m=+g();break w}m=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+m}pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function yX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;j=q[a+24>>2];a:{if(!(j&4)){if(j>>>0<8){break a}d=q[67829];h=d;p=q[67828];f(0,p|0);f(1,d|0);m=+g();d=8;while(1){i=e;e=d;d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(j>>>0<=i>>>0){o[a+20|0]=1}n=q[a+32>>2];b:{if(n>>>0<=i>>>0){q[160744]=p;q[160745]=h;k=m;break b}k=v[q[a+36>>2]+(i<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|1;if(j>>>0<=d>>>0){o[a+20|0]=1}c:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}l=i|2;if(j>>>0<=l>>>0){o[a+20|0]=1}d:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break d}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|3;if(j>>>0<=d>>>0){o[a+20|0]=1}e:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break e}k=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+k;pb(a,b,c+32|0,c+16|0,c);d=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=d;d=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=d;j=q[a+24>>2];d=i|4;if(j>>>0<=d>>>0){o[a+20|0]=1}n=q[a+32>>2];f:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break f}k=v[q[a+36>>2]+(d<<3)>>3]}d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;v[c+32>>3]=v[c+32>>3]+k;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=i|5;if(j>>>0<=d>>>0){o[a+20|0]=1}g:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;d=642976;break g}d=q[a+36>>2]+(d<<3)|0}l=i|6;if(j>>>0<=l>>>0){o[a+20|0]=1}h:{if(n>>>0<=l>>>0){q[160744]=p;q[160745]=h;l=642976;break h}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=i|7;if(j>>>0<=d>>>0){o[a+20|0]=1}i:{if(n>>>0<=d>>>0){q[160744]=p;q[160745]=h;k=m;break i}k=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;if(!(!(j&1)|j-i>>>0>15)){if(j>>>0<=e>>>0){o[a+20|0]=1}j:{if(n>>>0<=e>>>0){q[160744]=p;q[160745]=h;k=m;break j}k=v[q[a+36>>2]+(e<<3)>>3]}v[c>>3]=v[c>>3]+k}pb(a,b,c+32|0,c+16|0,c);d=e+8|0;j=q[a+24>>2];if(d>>>0<=j>>>0){continue}break}break a}d=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=d;d=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=d;if(!j){o[a+20|0]=1}e=q[a+32>>2];k:{if(!e){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break k}m=v[q[a+36>>2]>>3]}v[c+40>>3]=v[c+40>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;if(j>>>0<=1){o[a+20|0]=1}l:{if(e>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}d=q[a+36>>2]+8|0}if(j>>>0<=2){o[a+20|0]=1}m:{if(e>>>0<=2){i=q[67829];h=q[67828];q[160744]=h;q[160745]=i;f(0,h|0);f(1,i|0);m=+g();break m}m=v[q[a+36>>2]+16>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+m;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;if(j>>>0<=3){o[a+20|0]=1}n:{if(e>>>0<=3){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);m=+g();break n}m=v[q[a+36>>2]+24>>3]}v[c>>3]=v[c>>3]+m;h=12;d=4;if(j>>>0>=12){d=q[67829];p=d;n=q[67828];f(0,n|0);f(1,d|0);m=+g();i=4;while(1){d=h;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;h=q[a+24>>2];if(h>>>0<=i>>>0){o[a+20|0]=1}j=q[a+32>>2];o:{if(j>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break o}k=v[q[a+36>>2]+(i<<3)>>3]}e=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=e;v[c+32>>3]=v[c+32>>3]+k;e=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=e;e=i|1;if(h>>>0<=e>>>0){o[a+20|0]=1}p:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break p}e=q[a+36>>2]+(e<<3)|0}l=i|2;if(h>>>0<=l>>>0){o[a+20|0]=1}q:{if(j>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break q}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[e>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];e=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=e;e=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=e;e=i|3;if(h>>>0<=e>>>0){o[a+20|0]=1}r:{if(j>>>0<=e>>>0){q[160744]=n;q[160745]=p;k=m;break r}k=v[q[a+36>>2]+(e<<3)>>3]}v[c+8>>3]=v[c+8>>3]+k;pb(a,b,c+32|0,c+16|0,c);e=q[c+12>>2];q[c+40>>2]=q[c+8>>2];q[c+44>>2]=e;e=q[c+4>>2];q[c+32>>2]=q[c>>2];q[c+36>>2]=e;j=q[a+24>>2];h=i+4|0;if(j>>>0<=h>>>0){o[a+20|0]=1}e=q[a+32>>2];s:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;k=m;break s}k=v[q[a+36>>2]+(h<<3)>>3]}v[c+40>>3]=v[c+40>>3]+k;h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;h=i+5|0;if(j>>>0<=h>>>0){o[a+20|0]=1}t:{if(e>>>0<=h>>>0){q[160744]=n;q[160745]=p;h=642976;break t}h=q[a+36>>2]+(h<<3)|0}l=i+6|0;if(j>>>0<=l>>>0){o[a+20|0]=1}u:{if(e>>>0<=l>>>0){q[160744]=n;q[160745]=p;l=642976;break u}l=q[a+36>>2]+(l<<3)|0}v[c+16>>3]=v[c+16>>3]+v[h>>3];v[c+24>>3]=v[c+24>>3]+v[l>>3];h=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=h;h=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=h;i=i+7|0;if(j>>>0<=i>>>0){o[a+20|0]=1}v:{if(e>>>0<=i>>>0){q[160744]=n;q[160745]=p;k=m;break v}k=v[q[a+36>>2]+(i<<3)>>3]}v[c>>3]=v[c>>3]+k;i=d;h=d+8|0;if(h>>>0<=j>>>0){continue}break}}if(d>>>0>>0){w:{if(e>>>0<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);m=+g();break w}m=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+m}pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function sj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;k=Da-16|0;Da=k;u=q[a+736>>2];j=q[a+104>>2];m=q[j+28>>2];q[k+4>>2]=0;v=6;a:{if(!u|!r[a+733|0]){break a}if(e){g=q[c+4>>2];v=0;while(1){f=v<<3;h=f+d|0;f=f+g|0;q[h>>2]=q[f>>2]<<6;q[h+4>>2]=q[f+4>>2]<<6;v=v+1|0;if((v|0)!=(e|0)){continue}break}}v=0;if(t[u+68>>2]<=b>>>0){break a}g=q[u+72>>2];f=b+1|0;if(q[g+(b<<2)>>2]==q[g+(f<<2)>>2]){break a}A=Oa(m,8,0,e,0,k+12|0);b:{if(q[k+12>>2]){break b}y=Oa(m,8,0,e,0,k+12|0);if(q[k+12>>2]){break b}v=Oa(m,1,0,e,0,k+12|0);if(q[k+12>>2]){break b}g=q[u+72>>2];f=q[g+(f<<2)>>2];b=q[g+(b<<2)>>2];g=Xa(j,b);q[k+12>>2]=g;if(g){break b}b=f-b|0;g=lb(j,b);q[k+12>>2]=g;if(g){break b}f=q[j>>2];h=q[j+32>>2];C=Oa(m,4,0,q[u>>2],0,k+12|0);c:{d:{if(q[k+12>>2]){break d}I=Oa(m,4,0,q[u>>2],0,k+12|0);if(q[k+12>>2]){break d}J=Oa(m,4,0,q[u>>2],0,k+12|0);if(q[k+12>>2]){break d}g=ob(j);e:{i=ob(j);if(b>>>0>=i>>>0){N=g&4095;if(N<<2>>>0<=b>>>0){break e}}q[k+12>>2]=8;break d}B=i+(h-f|0)|0;if(g&32768){f=q[j+32>>2];b=q[j>>2];g=q[j+36>>2];q[j+32>>2]=B>>>0>>0?b+B|0:g;K=Dh(j,q[u+76>>2],k+4|0);h=q[j+32>>2];g=q[j>>2];b=f-b|0;f=q[j+36>>2];q[j+32>>2]=b>>>0>>0?g+b|0:f;B=h-g|0}D=Oa(m,4,0,e,0,k+12|0);f:{if(q[k+12>>2]){break f}E=Oa(m,4,0,e,0,k+12|0);if(q[k+12>>2]){break f}if(e){b=q[c+4>>2];f=0;while(1){g=f<<3;h=g+A|0;g=b+g|0;q[h>>2]=q[g>>2]<<16;q[h+4>>2]=q[g+4>>2]<<16;f=f+1|0;if((f|0)!=(e|0)){continue}break}}if(N){P=e+ -1|0;Q=e+ -2|0;R=e+ -3|0;L=e+ -4|0;S=q[k+4>>2];h=0;while(1){V=ob(j);g:{h:{i:{j:{b=ob(j);k:{if(b&32768){f=0;if(!q[u>>2]){break k}while(1){X=(f<<2)+C|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;if(f>>>0>2]){continue}break}break k}g=b&4095;if(g>>>0>=t[u+60>>2]){break j}f=g;g=q[u>>2];Qa(C,q[u+64>>2]+(w(f,g)<<2)|0,g<<2)}l:{if(!(b&16384)){break l}f=0;if(!q[u>>2]){break l}while(1){X=(f<<2)+I|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;g=q[u>>2];if(f>>>0>>0){continue}break}f=0;if(!g){break l}while(1){X=(f<<2)+J|0,Y=ob(j)<<16>>16<<2,q[X>>2]=Y;f=f+1|0;if(f>>>0>2]){continue}break}}g=vo(u,b,C,I,J);if(!g){break g}W=q[j+32>>2];O=q[j>>2];f=q[j+36>>2];q[j+32>>2]=B>>>0>>0?O+B|0:f;m:{if(b&8192){F=Dh(j,q[u+76>>2],k+8|0);h=F;b=q[k+8>>2];break m}q[k+8>>2]=S;F=h;h=K;b=S}f=b?b:e;G=uj(j,q[u+76>>2],f);H=uj(j,q[u+76>>2],f);if(!H|(!G|!h)){break h}n:{if((h|0)!=-1){f=0;if(e){break n}break i}f=0;if(!e){break h}while(1){b=f<<2;h=b+E|0;i=q[h>>2];l=b+D|0;x=q[l>>2];z=Ma(q[b+G>>2],g);b=Ma(q[b+H>>2],g);o:{if(f>>>0>>0){q[l>>2]=x+z;q[h>>2]=b+i;break o}if(!(r[a+740|0]&4|(f|0)!=(L|0))){q[l>>2]=x+z;break o}if(!(r[a+740|0]&2|(f|0)!=(R|0))){q[l>>2]=x+z;break o}if(!(r[a+740|0]&32|(f|0)!=(Q|0))){q[h>>2]=b+i;break o}if(r[a+740|0]&16|(f|0)!=(P|0)){break o}q[h>>2]=b+i}f=f+1|0;if((f|0)!=(e|0)){continue}break}break h}while(1){o[f+v|0]=0;i=f<<3;l=i+y|0;i=i+A|0;x=q[i+4>>2];q[l>>2]=q[i>>2];q[l+4>>2]=x;f=f+1|0;if((f|0)!=(e|0)){continue}break}break i}q[k+12>>2]=8;break f}f=0;if(b){while(1){i=s[(f<<1)+h>>1];if(i>>>0>>0){o[i+v|0]=1;i=(i<<3)+y|0;l=f<<2;X=i,Y=Ma(q[l+G>>2],g)+q[i>>2]|0,q[X>>2]=Y;X=i,Y=Ma(q[l+H>>2],g)+q[i+4>>2]|0,q[X+4>>2]=Y}f=f+1|0;if((b|0)!=(f|0)){continue}break}}M=0;g=0;if(s[c>>1]){while(1){z=p[q[c+12>>2]+(M<<1)>>1];p:{if((g|0)>(z|0)){break p}l=z+1|0;f=g;q:{r:{s:{while(1){t:{b=f+1|0;if(r[f+v|0]){x=f;h=f;T=(f|0)<(z|0);if(T){while(1){i=b;if(r[b+v|0]){rj(h+1|0,x,h,i,A,y);h=i}b=i+1|0;x=i;if((i|0)!=(z|0)){continue}break}if((f|0)!=(h|0)){break s}b=l}h=f<<3;l=h+y|0;h=h+A|0;i=q[l+4>>2]-q[h+4>>2]|0;l=q[l>>2]-q[h>>2]|0;if(i|l){break t}g=b;break p}h=(f|0)==(z|0);f=b;if(!h){continue}break r}break}if((g|0)>=(f|0)){break q}while(1){h=(g<<3)+y|0;q[h>>2]=l+q[h>>2];q[h+4>>2]=i+q[h+4>>2];g=g+1|0;if((g|0)!=(f|0)){continue}break}break q}rj(h+1|0,z,h,f,A,y);if((f|0)<1){break r}rj(g,f+ -1|0,h,f,A,y)}g=l;break p}if(!T){g=b;break p}while(1){f=f+1|0;g=(f<<3)+y|0;q[g>>2]=l+q[g>>2];q[g+4>>2]=i+q[g+4>>2];if((f|0)!=(z|0)){continue}break}g=b}M=M+1|0;if((M|0)>1]){continue}break}}f=0;if(!e){break h}while(1){b=f<<3;g=b+y|0;h=b+A|0;b=q[g+4>>2]-q[h+4>>2]|0;g=q[g>>2]-q[h>>2]|0;l=f<<2;h=l+E|0;i=q[h>>2];l=l+D|0;x=q[l>>2];u:{if(f>>>0>>0){q[l>>2]=g+x;q[h>>2]=b+i;break u}if(!(r[a+740|0]&4|(f|0)!=(L|0))){q[l>>2]=g+x;break u}if(!(r[a+740|0]&2|(f|0)!=(R|0))){q[l>>2]=g+x;break u}if(!(r[a+740|0]&32|(f|0)!=(Q|0))){q[h>>2]=b+i;break u}if(r[a+740|0]&16|(f|0)!=(P|0)){break u}q[h>>2]=b+i}f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=-1;if((F|0)!=-1){if(F){n[q[m+8>>2]](m,F)}h=0}b=m;if(G){n[q[b+8>>2]](b,G)}if(H){n[q[m+8>>2]](m,H)}b=W-O|0;g=q[j>>2];f=q[j+36>>2];q[j+32>>2]=b>>>0>>0?b+g|0:f}B=B+V|0;U=U+1|0;if((U|0)!=(N|0)){continue}break}}if(!e){break f}b=q[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;g=f<<2;h=g+D|0;q[a>>2]=q[a>>2]+(q[h>>2]+512>>10);g=g+E|0;q[a+4>>2]=q[a+4>>2]+(q[g>>2]+512>>10);a=b+c|0;q[a>>2]=q[a>>2]+(q[h>>2]+32768>>16);q[a+4>>2]=q[a+4>>2]+(q[g>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}}a=m;if(D){n[q[a+8>>2]](a,D)}if(E){n[q[m+8>>2]](m,E)}if((K|0)==-1){break c}}if(K){n[q[m+8>>2]](m,K)}}a=m;if(C){n[q[a+8>>2]](a,C)}if(I){n[q[a+8>>2]](a,I)}if(J){n[q[m+8>>2]](m,J)}jb(j)}if(A){n[q[m+8>>2]](m,A)}if(y){n[q[m+8>>2]](m,y)}if(v){n[q[m+8>>2]](m,v)}v=q[k+12>>2]}Da=k+16|0;return v}function pf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;f=Da-16|0;Da=f;j=q[a+100>>2];q[f+8>>2]=0;d=dc(b,q[a+92>>2]);a:{if(d){e=q[a+80>>2];d=q[d>>2];a=q[(e+(d<<4)|0)+4>>2]+ -1|0;if(a>>>0>2){break a}b:{switch(a-1|0){default:a=e+(d<<4)|0;b=q[a+12>>2];if(b){n[q[j+8>>2]](j,b)}q[a+12>>2]=0;if(!c|!r[c|0]){break a}p=a,s=$c(j,c,f+8|0),q[p+12>>2]=s;break a;case 0:k=e+(d<<4)|0;b=0;c:{if(!c){break c}d=0;a=r[c|0];b=0;if(!a){break c}if((a|0)!=45){b=c}else{d=1;a=r[c+1|0];b=c+1|0}c=0;e=r[((a&248)>>>3|0)+28864|0];a=a<<24>>24;d:{if(!(e>>>(a&7)&1)){break d}while(1){if((c|0)>214748362){c=2147483647;break d}c=r[a+28896|0]+w(c,10)|0;a=o[b+1|0];b=b+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}b=d?0-c|0:c}q[k+12>>2]=b;break a;case 1:break b}}b=0;e:{if(!c){break e}a=o[c|0];j=a&255;if(!j|!(r[(j>>>3|0)+28864|0]>>>(a&7)&1)){break e}while(1){if(b>>>0>429496727){b=-1;break e}b=r[a+28896|0]+w(b,10)|0;a=o[c+1|0];c=c+1|0;if(r[((a&248)>>>3|0)+28864|0]>>>(a&7)&1){continue}break}}q[(e+(d<<4)|0)+12>>2]=b;break a}f:{h=a+112|0;g=dc(b,h);if(!g){g=q[a+100>>2];q[f+12>>2]=0;if(!dc(b,h)){d=q[a+108>>2];e=Oa(g,16,d,d+1|0,q[a+104>>2],f+12|0);q[a+104>>2]=e;d=q[f+12>>2];if(d){break f}e=e+(q[a+108>>2]<<4)|0;q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;i=Wa(b)+1|0;k=Oa(g,1,0,i,0,f+12|0);q[e>>2]=k;d=q[f+12>>2];if(d){break f}Qa(k,b,i);q[e+4>>2]=1;q[e+8>>2]=0;d=di(q[e>>2],q[a+108>>2]+83|0,h,g);q[f+12>>2]=d;if(d){break f}q[a+108>>2]=q[a+108>>2]+1}q[f+8>>2]=0;g=dc(b,h)}d=q[a+76>>2];if((d|0)==q[a+72>>2]){g:{if(!d){e=Oa(j,16,0,1,0,f+8|0);q[a+80>>2]=e;if(!q[f+8>>2]){break g}break a}e=Oa(j,16,d,d+1|0,q[a+80>>2],f+8|0);q[a+80>>2]=e;if(q[f+8>>2]){break a}}d=(q[a+72>>2]<<4)+e|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;q[a+72>>2]=q[a+72>>2]+1}i=q[a+80>>2];h=q[a+76>>2];k=i+(h<<4)|0;e=k;d=q[g>>2];h:{if(d>>>0>=83){d=(q[a+104>>2]+(d<<4)|0)+ -1328|0;break h}d=(d<<4)+26384|0}q[e>>2]=q[d>>2];q[k+4>>2]=q[d+4>>2];q[k+8>>2]=q[d+8>>2];d=q[d+4>>2]+ -1|0;i:{if(d>>>0>2){break i}j:{switch(d-1|0){default:d=i+(h<<4)|0;q[d+12>>2]=0;if(!c|!r[c|0]){break i}p=d,s=$c(j,c,f+8|0),q[p+12>>2]=s;if(!q[f+8>>2]){break i}break a;case 0:l=i+(h<<4)|0;d=0;k:{if(!c){break k}g=r[c|0];d=0;if(!g){break k}if((g|0)==45){m=1;g=r[c+1|0];c=c+1|0}d=c;e=0;c=g<<24>>24;l:{if(!(r[((g&248)>>>3|0)+28864|0]>>>(c&7)&1)){break l}while(1){if((e|0)>214748362){e=2147483647;break l}e=r[c+28896|0]+w(e,10)|0;c=o[d+1|0];d=d+1|0;if(r[((c&248)>>>3|0)+28864|0]>>>(c&7)&1){continue}break}}d=m?0-e|0:e}q[l+12>>2]=d;break i;case 1:break j}}d=0;m:{if(!c){break m}e=o[c|0];g=e&255;if(!g|!(r[(g>>>3|0)+28864|0]>>>(e&7)&1)){break m}while(1){if(d>>>0>429496727){d=-1;break m}d=r[e+28896|0]+w(d,10)|0;e=o[c+1|0];c=c+1|0;if(r[((e&248)>>>3|0)+28864|0]>>>(e&7)&1){continue}break}}q[(i+(h<<4)|0)+12>>2]=d}n:{o:{if(Ra(b,26360,7)){break o}c=r[b+7|0];if(c>>>0>32){break o}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break o;default:break n}}c=di(q[k>>2],q[a+76>>2],q[a+92>>2],j);q[f+8>>2]=c;if(c){break a}}q[a+76>>2]=q[a+76>>2]+1;p:{if(Ra(b,27886,12)){break p}c=r[b+12|0];if(c>>>0>32){break p}q:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break p;default:break q}}q[a+36>>2]=q[(i+(h<<4)|0)+12>>2];break a}r:{if(Ra(b,27767,11)){break r}c=r[b+11|0];if(c>>>0>32){break r}s:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break r;default:break s}}q[a+40>>2]=q[(i+(h<<4)|0)+12>>2];break a}t:{if(Ra(b,27779,12)){break t}c=r[b+12|0];if(c>>>0>32){break t}u:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break t;default:break u}}q[a+44>>2]=q[(i+(h<<4)|0)+12>>2];break a}if(Ra(b,26176,7)){break a}b=r[b+7|0];if(b>>>0>32){break a}v:{switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break a;default:break v}}b=q[(i+(h<<4)|0)+12>>2];if(!b){q[f+8>>2]=3;break a}b=r[b|0]+ -67|0;if(b>>>0>45){break a}w:{switch(b-1|0){case 12:case 44:q[a+28>>2]=8;break a;case 9:case 41:q[a+28>>2]=16;break a;case 0:case 1:case 2:case 3:case 4: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 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 42:case 43:break a;default:break w}}q[a+28>>2]=32;break a}q[f+8>>2]=d}Da=f+16|0;return q[f+8>>2]}function zh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;e=Da-1488|0;Da=e;h=q[a+4>>2];u=q[h+556>>2];x=q[u+40>>2];a:{b:{c:{i=q[h+712>>2];if(q[i+1504>>2]==65535){break c}f=q[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(t[i+1196>>2]>>0){break a}c=s[f+(c<<1)>>1];if(c){break b}break a}g=6;if(t[i+20>>2]<=c>>>0){break a}}q[a+164>>2]=65536;q[a+168>>2]=65536;l=d&1024?d|3:d;d:{e:{if(!b){break e}q[a+164>>2]=q[b+16>>2];q[a+168>>2]=q[b+20>>2];j=q[b+44>>2];if(l&8|(j|0)==-1){break e}f=q[b>>2];d=q[f+540>>2];if(!q[d+96>>2]){break e}if(n[q[d+72>>2]](h,j,c,l,q[f+104>>2],a+76|0,e+704|0)){break e}q[a+108>>2]=0;q[a+24>>2]=s[e+706>>1]<<6;q[a+28>>2]=s[e+704>>1]<<6;k=p[e+708>>1];q[a+32>>2]=k<<6;j=p[e+710>>1];q[a+36>>2]=j<<6;q[a+40>>2]=s[e+712>>1]<<6;f=p[e+714>>1];q[a+44>>2]=f<<6;b=p[e+716>>1];q[a+48>>2]=b<<6;d=s[e+718>>1];g=b;b=l&16;q[a+104>>2]=b?g:j;q[a+100>>2]=b?f:k;q[a+72>>2]=1651078259;q[a+52>>2]=d<<6;n[q[q[h+540>>2]+140>>2]](h,0,c,e+32|0,e+48|0);q[a+56>>2]=s[e+48>>1];if(!(!r[h+292|0]|!s[h+330>>1])){n[q[q[h+540>>2]+140>>2]](h,1,c,e+32|0,e+48|0);q[a+60>>2]=s[e+48>>1];break d}if(s[h+372>>1]!=65535){q[a+60>>2]=p[h+442>>1]-p[h+444>>1];break d}q[a+60>>2]=p[h+220>>1]-p[h+222>>1];break d}g=6;if(l&16384){break a}k=q[i+2024>>2];f:{if(k){g=0;f=q[i+3060>>2];g:{if(!f){break g}d=r[i+3052|0];if(d>>>0>3){break g}h:{switch(d-1|0){default:g=r[c+f|0];break g;case 0:case 1:break g;case 2:break h}}if(c-q[i+3068>>2]>>>0>2]){g=r[i+3076|0];break g}g=f+2|0;d=r[f+1|0]|r[f|0]<<8;j=f+q[i+3064>>2]|0;while(1){if(d>>>0<=c>>>0){f=r[g+2|0]|r[g+1|0]<<8;if(f>>>0>c>>>0){g=r[g|0];o[i+3076|0]=g;q[i+3072>>2]=f-d;q[i+3068>>2]=d;break g}d=f;g=g+3|0;if(g>>>0>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k+ -1|0)&255)<<2)|0)+2028|0;m=q[f>>2];k=q[m+68>>2];j=q[i+1440>>2];d=q[m+60>>2];q[e+40>>2]=q[m+56>>2];q[e+44>>2]=d;d=q[m+52>>2];q[e+32>>2]=q[m+48>>2];q[e+36>>2]=d;d=q[f>>2];v=q[d+72>>2];w=q[d+76>>2];if((j|0)==(k|0)){break f}A=a,B=bb(q[a+164>>2],j,k),q[A+164>>2]=B;A=a,B=bb(q[a+168>>2],j,k),q[A+168>>2]=B;z=1;break f}f=i+1428|0;d=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=d;f=i+1420|0;d=q[f+4>>2];q[e+32>>2]=q[f>>2];q[e+36>>2]=d;w=q[i+1448>>2];v=q[i+1444>>2]}q[a+108>>2]=0;q[a+72>>2]=1869968492;m=l&1;o[a+161|0]=m^1;y=(l>>>1^-1)&1;o[a+160|0]=y;n[q[x>>2]](e+704|0,h,b,a,y,l>>>16&15,134,135);if(l&256){o[e+1297|0]=1}k=l&1024;o[e+770|0]=k>>>10;d=q[q[h+128>>2]+52>>2];i:{if(d){g=n[q[q[d>>2]>>2]](q[d+4>>2],c,e+48|0)|0;q[e+28>>2]=q[e+48>>2];q[e+24>>2]=q[e+52>>2];break i}g=Ag(q[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=n[q[x+4>>2]](e+704|0,b,c)|0;if(g){break a}n[q[u+24>>2]](e+48|0,e+704|0,0);f=q[e+24>>2];g=n[q[x+8>>2]](e+48|0,q[e+28>>2],f)|0;if((g&255)==164){o[a+160|0]=0;y=0;g=n[q[x+8>>2]](e+48|0,q[e+28>>2],f)|0;z=1}d=q[q[h+128>>2]+52>>2];j:{if(d){q[e+12>>2]=f;q[e+8>>2]=q[e+28>>2];n[q[q[d>>2]+4>>2]](q[d+4>>2],e+8|0);break j}d=q[h+712>>2];if(q[d+1236>>2]){break j}zb(q[d+1204>>2],e+28|0)}if(g){break a}g=0;d=a;k:{if(q[q[h+128>>2]+52>>2]){f=0}else{j=q[i+1232>>2];if(!j){break k}g=(q[i+1236>>2]+q[j+(c<<2)>>2]|0)+ -1|0}q[d+140>>2]=f;q[a+136>>2]=g}n[q[e+784>>2]](e+704|0);j=q[q[h+128>>2]+52>>2];l:{if(!j){break l}f=q[q[j>>2]+8>>2];if(!f){break l}q[e+12>>2]=0;q[e+8>>2]=q[e+736>>2];d=q[e+748>>2];q[e+16>>2]=q[e+744>>2];q[e+20>>2]=d;g=n[f](q[j+4>>2],c,0,e+8|0)|0;q[e+736>>2]=q[e+8>>2];d=q[e+20>>2];q[e+744>>2]=q[e+16>>2];q[e+748>>2]=d;if(g){break a}}if(k){q[a+32>>2]=q[e+736>>2];q[a+40>>2]=q[e+1288>>2];f=q[e+40>>2];d=q[e+44>>2];c=q[e+32>>2];b=q[e+36>>2];a=q[a+156>>2];q[a+28>>2]=v;q[a+32>>2]=w;o[a+8|0]=1;q[a+20>>2]=f;q[a+24>>2]=d;q[a+12>>2]=c;q[a+16>>2]=b;break d}m:{if(s[h+250>>1]){p[e+8>>1]=0;p[e+28>>1]=0;n[q[q[h+540>>2]+140>>2]](h,0,c,e+8|0,e+28|0);d=s[e+28>>1];q[a+32>>2]=p[e+8>>1];break m}d=q[e+1288>>2]}q[a+56>>2]=d;q[a+40>>2]=d;o[q[a+156>>2]+8|0]=0;n:{if(!(!r[h+292|0]|!s[h+330>>1])){p[e+8>>1]=0;p[e+28>>1]=0;n[q[q[h+540>>2]+140>>2]](h,1,c,e+8|0,e+28|0);q[a+48>>2]=p[e+8>>1];d=s[e+28>>1];q[a+52>>2]=d;f=1;break n}o:{if(s[h+372>>1]!=65535){d=p[h+442>>1]-p[h+444>>1]|0;q[a+52>>2]=d;break o}d=p[h+220>>1]-p[h+222>>1]|0;q[a+52>>2]=d}f=0}q[a+72>>2]=1869968492;q[a+60>>2]=d;q[a+124>>2]=0;d=4;u=a+108|0;c=a;if(!(!b|s[b+14>>1]>23)){q[a+124>>2]=256;d=260}q[c+124>>2]=d;p:{if(!(q[e+36>>2]|(q[e+32>>2]!=65536|q[e+44>>2]!=65536))){if(!q[e+40>>2]){break p}}ce(u,e+32|0);A=a,B=Ma(q[a+40>>2],q[e+32>>2]),q[A+40>>2]=B;A=a,B=Ma(q[a+52>>2],q[e+44>>2]),q[A+52>>2]=B}if(v|w){oc(u,v,w);q[a+40>>2]=q[a+40>>2]+v;q[a+52>>2]=q[a+52>>2]+w}if(!(z?0:m)){d=q[a+112>>2];k=q[a+168>>2];j=q[a+164>>2];q:{if(q[e+772>>2]?y:0){break q}b=p[a+110>>1];if((b|0)<1){break q}c=b&65535;while(1){A=d,B=Ma(q[d>>2],j),q[A>>2]=B;A=d,B=Ma(q[d+4>>2],k),q[A+4>>2]=B;d=d+8|0;b=(c|0)>1;c=c+ -1|0;if(b){continue}break}}A=a,B=Ma(q[a+40>>2],j),q[A+40>>2]=B;A=a,B=Ma(q[a+52>>2],k),q[A+52>>2]=B}Te(u,e+8|0);d=q[e+8>>2];q[a+24>>2]=q[e+16>>2]-d;c=q[e+12>>2];b=q[e+20>>2];q[a+36>>2]=b;q[a+32>>2]=d;q[a+28>>2]=b-c;if(f){q[a+44>>2]=d-(q[a+40>>2]/2|0);break d}if(!(l&16)){break d}Sf(a+24|0,q[a+52>>2])}g=0}Da=e+1488|0;return g}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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;n=Da-80|0;Da=n;f=bh(b,c);a:{if(f){break a}a=q[b+2740>>2];if(!(a&1)){f=Ns(b,0);if(f){break a}Ms(b,d,0);a=q[b+2740>>2]}if(!(a&2)){f=Ns(b,1);if(f){break a}Ms(b,d,1)}while(1){b:{a=q[b+2740>>2];m=e;c:{d:{if(!e){if(a&1){break c}if(q[d+24>>2]|a&8){break d}Ls(n+16|0,b,n+12|0,n+8|0);e=q[b+24>>2];if((e|0)<1){break c}a=q[b+28>>2];g=a+w(e,40)|0;i=q[n+8>>2];e=q[n+12>>2];while(1){A=a,B=Ma(p[a+12>>1],e)+i|0,q[A+16>>2]=B;a=a+40|0;if(a>>>0>>0){continue}break}break c}if(a&2){break b}}y=w(m,1348)+b|0;z=y- -64|0;i=q[z>>2];v=q[y+56>>2];t=i+w(v,44)|0;g=0;a=i;l=0;e:{if((v|0)<=0){break e}while(1){l=r[a+12|0];f:{if(l&4){break f}e=q[a+24>>2];h=q[a+20>>2];g:{if(h){f=a;break g}if(!e){break f}h=q[e+20>>2];if(!h){break f}l=r[e+12|0];f=e;e=a}k=q[h+8>>2];o[f+12|0]=l|4;q[f+8>>2]=k;if(!(q[e+20>>2]|!e)){A=e,B=og(b,m,q[e+4>>2]-q[f+4>>2]|0)+k|0,q[A+8>>2]=B;o[e+12|0]=r[e+12|0]|4}g=g?g:a}a=a+44|0;if(a>>>0>>0){continue}break}f=0;h=0;l=0;e=i;a=e;x=0;u=0;if((m|0)==1){while(1){k=r[e+12|0];h:{if(k&4){break h}i:{j=q[e+24>>2];if(!j){break i}if(h&255){a=f- -64|0;if(q[e+8>>2]<(a|0)|q[j+8>>2]<(a|0)){break i}}if(q[j+20>>2]){g=q[j+8>>2];a=og(b,1,q[e+4>>2]-q[j+4>>2]|0);o[e+12|0]=k|4;q[e+8>>2]=a+g;break h}if(j>>>0>=e>>>0){h=1;Ol(b,e,j,0,1);o[e+12|0]=r[e+12|0]|4;o[j+12|0]=r[j+12|0]|4;f=q[j+8>>2];break h}g=q[j+8>>2];h=1;a=og(b,1,q[e+4>>2]-q[j+4>>2]|0);o[e+12|0]=k|4;f=a+g|0;q[e+8>>2]=f;break h}l=l+1|0}e=e+44|0;if(e>>>0>>0){continue}break e}}while(1){j=r[a+12|0];j:{if(j&4){break j}h=q[a+24>>2];if(!h){l=l+1|0;break j}k:{if(!u){break k}e=x- -64|0;if(q[h+8>>2]>=(e|0)?q[a+8>>2]>=(e|0):0){break k}l=l+1|0;break j}if(q[h+20>>2]){k=q[h+8>>2];e=og(b,m,q[a+4>>2]-q[h+4>>2]|0);o[a+12|0]=j|4;q[a+8>>2]=e+k;break j}if(h>>>0>>0){k=q[h+8>>2];e=og(b,m,q[a+4>>2]-q[h+4>>2]|0);o[a+12|0]=j|4;x=e+k|0;q[a+8>>2]=x;u=1;break j}l:{if(!g){f=Ol(b,a,h,0,0);break l}Ol(b,a,h,f,m)}o[a+12|0]=r[a+12|0]|4;o[h+12|0]=r[h+12|0]|4;x=q[h+8>>2];u=1;g=a}a=a+44|0;if(a>>>0>>0){continue}break}}m:{if(m){break m}e=v+ -6|0;if(e>>>0>6){break m}g=4;f=2;a=i;n:{switch(e-1|0){case 5:a=i+44|0;g=9;f=5;break;case 0:case 1:case 2:case 3:case 4:break m;default:break n}}if(q[a+24>>2]!=(a+44|0)){break m}k=i+w(f,44)|0;if(q[k+24>>2]!=(k+44|0)){break m}e=q[k+4>>2];g=w(g,44);j=g+i|0;e=e-q[j+4>>2]+(e-q[a+4>>2])|0;f=e>>31;if((f^e+f)>7){break m}e=g+(i+44|0)|0;g=q[j+24>>2];if((e|0)!=(g|0)){break m}e=q[j+8>>2];a=(q[k+8>>2]<<1)-q[a+8>>2]|0;q[j+8>>2]=a;a=e-a|0;if(g){q[g+8>>2]=q[g+8>>2]-a}if((v|0)==12){q[i+360>>2]=q[i+360>>2]-a;q[i+492>>2]=q[i+492>>2]-a}o[j+12|0]=r[j+12|0]|4;if(!g){break m}o[g+12|0]=r[g+12|0]|4}o:{if(!l){break o}a=i;k=(v|0)<1;if(k){break o}while(1){f=r[a+12|0];p:{if(f&4){break p}e=q[a+28>>2];if(!e){break p}g=q[e+8>>2];e=q[e+4>>2];o[a+12|0]=f|4;q[a+8>>2]=q[a+4>>2]+(g-e|0);l=l+ -1|0}a=a+44|0;if(a>>>0>>0){continue}break}if(k){break o}g=i;if(!l){break o}while(1){a=g;q:{if(r[a+12|0]&4){break q}r:{while(1){j=a;a=a+ -44|0;if(a>>>0>>0){u=0;f=1;break r}if(!(r[j+ -32|0]&4)){continue}break}u=1;f=0}e=g;s:{t:{u:{v:{while(1){k=e;e=e+44|0;if(e>>>0>=t>>>0){break v}if(!(r[k+56|0]&4)){continue}break}if(f){break u}f=q[j+ -36>>2];e=s[e>>1];a=s[a>>1];if((e|0)!=(a|0)){break s}q[g+8>>2]=f;break q}if(!u){break q}if(!f){break t}}q[g+8>>2]=q[g+4>>2]+(q[k+52>>2]-q[k+48>>2]|0);break q}q[g+8>>2]=q[g+4>>2]+(q[j+ -36>>2]-q[j+ -40>>2]|0);break q}a=a<<16>>16;A=g,B=bb(p[g>>1]-a|0,q[k+52>>2]-f|0,(e<<16>>16)-a|0)+f|0,q[A+8>>2]=B}g=g+44|0;if(g>>>0>>0){continue}break}}h=q[z>>2];a=q[y+56>>2];j=h+w(a,44)|0;w:{x:{y:{z:{if(!m){e=1;break z}e=2;if((m|0)!=1){break y}}if((a|0)<=0){break w}if(!(q[b+2744>>2]&e)){break x}while(1){k=q[h+8>>2];g=q[h+36>>2];f=g;a=f;A:{if(m){while(1){e=f+36|0;a=q[f+40>>2];while(1){i=q[e>>2];q[i+20>>2]=k;p[i>>1]=s[i>>1]|8;e=i+32|0;if((a|0)!=(i|0)){continue}break}f=q[f+16>>2];if((g|0)!=(f|0)){continue}break A}}while(1){e=a+36|0;i=q[a+40>>2];while(1){f=q[e>>2];q[f+16>>2]=k;p[f>>1]=s[f>>1]|4;e=f+32|0;if((f|0)!=(i|0)){continue}break}a=q[a+16>>2];if((g|0)!=(a|0)){continue}break}}h=h+44|0;if(h>>>0>>0){continue}break}break w}if((a|0)<1){break w}}while(1){k=q[h+8>>2]-q[h+4>>2]|0;g=q[h+36>>2];a=g;f=a;B:{if(!m){while(1){e=a+36|0;i=q[a+40>>2];while(1){f=q[e>>2];q[f+16>>2]=k+q[f+16>>2];p[f>>1]=s[f>>1]|4;e=f+32|0;if((f|0)!=(i|0)){continue}break}a=q[a+16>>2];if((g|0)!=(a|0)){continue}break B}}while(1){e=f+36|0;a=q[f+40>>2];while(1){i=q[e>>2];q[i+20>>2]=k+q[i+20>>2];p[i>>1]=s[i>>1]|8;e=i+32|0;if((a|0)!=(i|0)){continue}break}f=q[f+16>>2];if((g|0)!=(f|0)){continue}break}}h=h+44|0;if(h>>>0>>0){continue}break}}Nl(b,m);Ml(b,m)}e=1;if(!m){continue}}break}d=q[b+24>>2];if((d|0)<1){f=0;break a}a=q[b+28>>2];d=a+w(d,40)|0;e=q[c+4>>2];l=q[c+8>>2];while(1){q[e>>2]=q[a+16>>2];q[e+4>>2]=q[a+20>>2];f=0;b=s[a>>1];o[l|0]=b&1?0:b&2?2:1;l=l+1|0;e=e+8|0;a=a+40|0;if(a>>>0>>0){continue}break}}Da=n+80|0;return f|0}function Ef(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;g=Da-48|0;Da=g;N=q[a>>2];D=q[a+40>>2];c=q[a+36>>2];f=q[q[a+2748>>2]+40>>2];o[g+39|0]=0;o[g+40|0]=0;o[g+41|0]=0;o[g+42|0]=0;q[g+32>>2]=0;q[g+36>>2]=0;q[g+24>>2]=0;q[g+28>>2]=0;q[g+8>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g>>2]=0;q[g+4>>2]=0;d=w(b,1348)+a|0;C=d;q[d+44>>2]=0;d=q[d+68>>2];J=(f>>>0)/14|0;e=q[a+28>>2];f=q[a+24>>2];i=e+w(f,40)|0;a:{if(b){if((f|0)<=0){break a}while(1){q[e+24>>2]=p[e+14>>1];q[e+28>>2]=p[e+12>>1];e=e+40|0;if(e>>>0>>0){continue}break}break a}if((f|0)<1){break a}while(1){q[e+24>>2]=p[e+12>>1];q[e+28>>2]=p[e+14>>1];e=e+40|0;if(e>>>0>>0){continue}break}}b:{if((c|0)>=1){Q=(c<<2)+D|0;z=w(b,1348)+a|0;K=z+72|0;c=d>>31;E=c+d^c;O=E;c=0;while(1){B=q[D>>2];e=q[B+36>>2];f=o[e+3|0];d=f>>31;c:{if((d^d+f)!=(E|0)){break c}f=o[B+3|0];d=f>>31;if((d^d+f)!=(E|0)){break c}while(1){if((e|0)==(B|0)){break c}e=q[e+36>>2];f=o[e+3|0];d=f>>31;if((d^d+f)==(E|0)){continue}break}B=q[e+32>>2]}n=0;j=-32e3;i=32e3;e=B;f=32e3;m=-32e3;v=0;t=0;l=32e3;u=-32e3;P=0;h=0;x=32e3;y=-32e3;F=32e3;G=-32e3;L=0;M=0;H=32e3;I=-32e3;while(1){d:{if(n){k=q[e+24>>2];A=(k|0)>(j|0);d=q[e+28>>2];if((d|0)<(f|0)){v=s[e>>1];f=d}j=A?k:j;i=(k|0)<(i|0)?k:i;k=s[e>>1];A=k&3;u=(d|0)>(u|0)?A?u:d:u;l=(d|0)<(l|0)?A?l:d:l;A=k;k=(d|0)>(m|0);t=k?A:t;m=k?d:m;d=c;if(!((e|0)==(B|0)|o[e+3|0]!=(O|0))){break d}e:{if(h){d=q[c+36>>2];if((d|0)==q[h+40>>2]){break e}}q[c+40>>2]=e;p[c+4>>1]=j-i>>>1;p[c+2>>1]=i+j>>>1;if(!(!((t|v)&3)|(u-l|0)>=(J|0))){o[c|0]=r[c|0]|1}p[c+8>>1]=m;p[c+6>>1]=f;p[c+10>>1]=m-f;n=0;h=c;x=i;y=j;F=f;G=m;L=v;M=t;H=l;I=u;d=0;break d}f:{if(r[d+2|0]==r[e+2|0]){q[h+40>>2]=e;d=(G|0)>(m|0);m=d?G:m;p[h+8>>1]=m;k=(F|0)<(f|0);f=k?F:f;p[h+6>>1]=f;p[h+10>>1]=m-f;j=(y|0)>(j|0)?y:j;i=(x|0)<(i|0)?x:i;p[h+4>>1]=j-i>>>1;p[h+2>>1]=i+j>>>1;n=r[h|0];c=n&-2;u=(I|0)>(u|0)?I:u;l=(H|0)<(l|0)?H:l;v=k?L:v;t=d?M:t;o[h|0]=(v|t)&3?(u-l|0)<(J|0)?n|1:c:c;break f}A=G-F|0;d=A>>31;k=m-f|0;n=k>>31;if((d^d+A)>(n^k+n)){q[h+40>>2]=e;y=(j|0)>(y|0)?j:y;x=(i|0)<(x|0)?i:x;p[h+4>>1]=y-x>>>1;p[h+2>>1]=x+y>>>1;break f}q[c+40>>2]=e;j=(y|0)>(j|0)?y:j;i=(x|0)<(i|0)?x:i;p[c+4>>1]=j-i>>>1;p[c+2>>1]=i+j>>>1;if(!(!((t|v)&3)|(u-l|0)>=(J|0))){o[c|0]=r[c|0]|1}p[c+8>>1]=m;p[c+6>>1]=f;p[c+10>>1]=k;q[h+40>>2]=q[c+40>>2];d=q[c+36>>2];q[h+32>>2]=q[c+32>>2];q[h+36>>2]=d;d=q[c+28>>2];q[h+24>>2]=q[c+24>>2];q[h+28>>2]=d;d=q[c+20>>2];q[h+16>>2]=q[c+16>>2];q[h+20>>2]=d;d=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=d;d=q[c+12>>2];q[h+8>>2]=q[c+8>>2];q[h+12>>2]=d;x=i;y=j;F=f;G=m;L=v;M=t;H=l;I=u}q[C+44>>2]=q[C+44>>2]+ -1;c=0}n=0;d=c}g:{if((e|0)==(B|0)){c=P;P=1;if(c){break g}}if(n){c=d;e=q[e+32>>2];continue}k=o[e+3|0];c=k>>31;h:{if((c^c+k)==(E|0)){break h}n=0;if(q[e+36>>2]==(e|0)){break h}c=d;e=q[e+32>>2];continue}q[g+44>>2]=0;c=q[C+44>>2];i:{if((c|0)<=17){if(q[z+52>>2]){break i}q[z+52>>2]=K;q[z+48>>2]=18;break i}d=q[z+48>>2];if((c|0)<(d|0)){break i}if((d|0)>=48806446){l=64;q[g+44>>2]=64;break b}c=(d+(d>>2)|0)+4|0;c=(d|0)<-16?48806446:(c|0)>48806446?48806446:c;f=q[z+52>>2];j:{if((f|0)==(K|0)){d=Oa(N,44,0,c,0,g+44|0);q[z+52>>2]=d;l=q[g+44>>2];if(l){break b}Qa(d,K,792);break j}R=z,S=Oa(N,44,d,c,f,g+44|0),q[R+52>>2]=S;l=q[g+44>>2];if(l){break b}}q[z+48>>2]=c;c=q[C+44>>2]}n=1;j=q[z+52>>2];q[C+44>>2]=c+1;t=w(c,44);c=t+j|0;o[c|0]=0;d=q[g+20>>2];f=q[g+16>>2];o[c+1|0]=f;o[c+2|0]=f>>>8;o[c+3|0]=f>>>16;o[c+4|0]=f>>>24;o[c+5|0]=d;o[c+6|0]=d>>>8;o[c+7|0]=d>>>16;o[c+8|0]=d>>>24;d=q[g+28>>2];f=q[g+24>>2];o[c+9|0]=f;o[c+10|0]=f>>>8;o[c+11|0]=f>>>16;o[c+12|0]=f>>>24;o[c+13|0]=d;o[c+14|0]=d>>>8;o[c+15|0]=d>>>16;o[c+16|0]=d>>>24;d=q[g+36>>2];f=q[g+32>>2];o[c+17|0]=f;o[c+18|0]=f>>>8;o[c+19|0]=f>>>16;o[c+20|0]=f>>>24;o[c+21|0]=d;o[c+22|0]=d>>>8;o[c+23|0]=d>>>16;o[c+24|0]=d>>>24;d=r[g+39|0]|r[g+40|0]<<8|(r[g+41|0]<<16|r[g+42|0]<<24);o[c+24|0]=d;o[c+25|0]=d>>>8;o[c+26|0]=d>>>16;o[c+27|0]=d>>>24;q[c+28>>2]=32e3;q[c+40>>2]=q[g+8>>2];d=q[g+4>>2];q[c+32>>2]=q[g>>2];q[c+36>>2]=d;o[c+1|0]=k;q[c+40>>2]=e;q[c+36>>2]=e;h=h?c+ -44|0:0;f=q[e+28>>2];v=s[e>>1];m=v&3;u=m?-32e3:f;l=m?32e3:f;i=q[e+24>>2];if(q[e+36>>2]==(e|0)){d=j+t|0;p[d+2>>1]=i;if(m){o[c|0]=1}p[d+10>>1]=0;p[d+8>>1]=f;p[d+6>>1]=f;n=0;c=0}j=i;m=f;t=v;O=k;e=q[e+32>>2];continue}break}c=d;D=D+4|0;if(D>>>0>>0){continue}break}}l=0;e=q[(w(b,1348)+a|0)+52>>2];if(!e){break b}a=q[C+44>>2];if((a|0)<1){break b}f=w(a,44)+e|0;while(1){b=q[e+36>>2];a=q[q[b+36>>2]+28>>2];b=q[b+28>>2];d=q[e+40>>2];c=q[d+28>>2];k:{if((b|0)<(c|0)){if((b|0)>(a|0)){p[e+10>>1]=s[e+10>>1]+(b-a>>>1|0)}a=q[q[d+32>>2]+28>>2];if((a|0)<=(c|0)){break k}p[e+10>>1]=s[e+10>>1]+(a-c>>>1|0);break k}if((a|0)>(b|0)){p[e+10>>1]=s[e+10>>1]+(a-b>>>1|0)}a=q[q[d+32>>2]+28>>2];if((c|0)<=(a|0)){break k}p[e+10>>1]=s[e+10>>1]+(c-a>>>1|0)}e=e+44|0;if(e>>>0>>0){continue}break}}Da=g+48|0;return l}function Nf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;f=Da+ -64|0;Da=f;g=q[a+104>>2];u=q[a+100>>2];q[f+52>>2]=0;e=q[a+736>>2];a:{b:{if(!e){c=n[q[a+516>>2]](a,1735811442,g,f+56|0)|0;q[f+52>>2]=c;if(c){c=n[q[a+516>>2]](a,1128678962,g,f+56|0)|0;q[f+52>>2]=c;if(c){break a}}c=n[q[a+516>>2]](a,1719034226,g,f+56|0)|0;q[f+52>>2]=c;if(c){break a}v=q[g+8>>2];c=mb(g,5376,f+32|0);q[f+52>>2]=c;if(c){break a}d=s[f+38>>1];h=s[f+44>>1];c=gb(u,80,f+52|0);q[a+736>>2]=c;if(q[f+52>>2]){break a}j=s[f+38>>1];q[c>>2]=j;x=(h|0)==((d<<2)+6|0);break b}j=q[e>>2];c=e}k=q[a+12>>2]>>>16|0;y=w(k,12);z=(j<<1)+3&-4;C=w(j,k);A=C<<2;B=(w(j,24)|4)+ -1&-8;c:{if(e){break c}e=c;c=((((w(j,5)+z|0)+B|0)+y|0)+A|0)+20|0;q[e+16>>2]=c;h=gb(u,c,f+52|0);if(q[f+52>>2]){break a}q[q[a+736>>2]+12>>2]=h;i=h+20|0;l=z+i|0;m=l+B|0;q[h+16>>2]=m;q[h+12>>2]=l;q[h+8>>2]=k;q[h+4>>2]=-1;q[h>>2]=j;e=m+y|0;if(k){d=0;D=j<<2;c=e;while(1){q[m+w(d,12)>>2]=c;c=c+D|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if(j){d=e+A|0;c=0;while(1){q[l+w(c,24)>>2]=d;d=d+5|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=Xa(g,s[f+36>>1]+v|0);q[f+52>>2]=c;if(c){break a}if(j){d=q[h+12>>2];e=0;while(1){c=mb(g,5424,f+8|0);q[f+52>>2]=c;if(c){break a}c=q[f+8>>2];q[d+16>>2]=c;q[d+4>>2]=q[f+12>>2];q[d+8>>2]=q[f+16>>2];q[d+12>>2]=q[f+20>>2];q[d+20>>2]=s[f+26>>1];o[q[d>>2]]=c>>>24;o[q[d>>2]+1|0]=s[d+18>>1];o[q[d>>2]+2|0]=q[d+16>>2]>>>8;o[q[d>>2]+3|0]=q[d+16>>2];o[q[d>>2]+4|0]=0;p[i>>1]=s[f+24>>1];c=q[d+8>>2];if(!((c|0)<=q[d+12>>2]?q[d+4>>2]<=(c|0):0)){q[d+12>>2]=c;q[d+4>>2]=c}i=i+2|0;d=d+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=0;i=Oa(u,4,0,C,0,f+52|0);c=q[a+736>>2];q[c+20>>2]=i;if(q[f+52>>2]){break a}d:{if(!s[f+42>>1]){break d}if(!r[c+24|0]){c=q[g+8>>2];zo(a);c=Xa(g,c);q[f+52>>2]=c;if(c){break a}if(!s[f+42>>1]){break d}i=q[q[a+736>>2]+20>>2]}v=j<<2;l=v+(x?6:4)|0;e=q[h+16>>2];if(j){m=0;while(1){c=lb(g,l);q[f+52>>2]=c;if(c){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);d=q[e>>2];c=0;while(1){E=d,F=fc(g),q[E>>2]=F;d=d+4|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}c=e;e:{if(x){d=ob(g);break e}d=65535}q[c+8>>2]=d;Eh(q[a+736>>2],j,q[e>>2],i);jb(g);e=e+12|0;i=i+v|0;m=m+1|0;d=s[f+42>>1];if(m>>>0>>0){continue}break}break d}c=0;if(!x){while(1){d=lb(g,l);q[f+52>>2]=d;if(d){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);q[e+8>>2]=65535;Eh(q[a+736>>2],0,q[e>>2],i);jb(g);e=e+12|0;c=c+1|0;d=s[f+42>>1];if(c>>>0>>0){continue}break d}}while(1){d=lb(g,l);q[f+52>>2]=d;if(d){break a}E=e,F=ob(g),q[E+4>>2]=F;ob(g);E=e,F=ob(g),q[E+8>>2]=F;Eh(q[a+736>>2],0,q[e>>2],i);jb(g);e=e+12|0;c=c+1|0;d=s[f+42>>1];if(c>>>0>>0){continue}break}}f:{if((d|0)==(k|0)){break f}c=17;e=q[a+540>>2];if(!n[q[e+148>>2]](a,17,f+8|0,f+60|0)){c=2;if(!n[q[e+148>>2]](a,2,f+8|0,f+60|0)){break f}}if(!n[q[e+148>>2]](a,6,f+8|0,f+60|0)){break f}e=q[h+16>>2]+w(s[f+42>>1],12)|0;q[e+8>>2]=6;q[e+4>>2]=c;if(!j){break f}d=q[e>>2];c=q[h+12>>2];e=0;while(1){q[d>>2]=q[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=q[a+736>>2];e=q[a+104>>2];c=q[e+28>>2];g=n[q[a+516>>2]](a,1297498450,e,f+60|0)|0;q[f+8>>2]=g;if(g){break c}g=q[e+8>>2];h=ib(e,f+8|0);if(q[f+8>>2]){break c}i=Ib(e,2);q[f+8>>2]=i;if(i|(h|0)!=1){break c}E=d,F=gb(c,28,f+8|0),q[E+56>>2]=F;if(q[f+8>>2]){break c}h=Ib(e,4);q[f+8>>2]=h;if(h){break c}h=ib(e,f+8|0);p[q[d+56>>2]>>1]=h;if(q[f+8>>2]){break c}h=ib(e,f+8|0);if(q[f+8>>2]){break c}i=q[e+8>>2];g=yo(q[a+104>>2],q[a+736>>2],g+h|0,q[d+56>>2]+4|0);q[f+8>>2]=g;if(g){break c}c=Oa(c,12,0,s[q[d+56>>2]>>1],0,f+8|0);q[q[d+56>>2]+24>>2]=c;if(q[f+8>>2]){break c}c=Xa(e,i);q[f+8>>2]=c;if(c){break c}c=lb(e,s[q[d+56>>2]>>1]<<3);q[f+8>>2]=c;if(c){break c}g=q[d+56>>2];h=s[g>>1];g:{if(!h){break g}c=q[g+24>>2];h=c+w(h,12)|0;while(1){h:{E=c,F=fc(e),q[E>>2]=F;E=c,F=ob(e),p[E+4>>1]=F;i=ob(e);p[c+6>>1]=i;k=s[c+4>>1];if(t[g+4>>2]<=k>>>0|t[q[g+8>>2]+(k<<4)>>2]<=i>>>0){break h}c=c+12|0;if(c>>>0>>0){continue}break g}break}q[f+8>>2]=8}jb(e);if(q[f+8>>2]){break c}c=q[d+56>>2];e=s[c>>1];if(e){d=q[c+24>>2];c=d+w(e,12)|0;while(1){e=xo(a,q[d>>2]);if(e){p[d+8>>1]=s[e>>1]}d=d+12|0;if(d>>>0>>0){continue}break}}q[a+740>>2]=q[a+740>>2]|256}if(!b){break a}c=gb(u,q[q[a+736>>2]+16>>2],f+52|0);if(q[f+52>>2]){break a}a=q[a+736>>2];g=Qa(c,q[a+12>>2],q[a+16>>2]);a=(g+z|0)+20|0;h=B+a|0;q[g+16>>2]=h;q[g+12>>2]=a;e=h+y|0;i=q[g+8>>2];if(i){d=0;k=j<<2;c=e;while(1){q[h+w(d,12)>>2]=c;c=c+k|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(j){d=e+A|0;e=0;while(1){q[a>>2]=d;c=a;i=c;i:{j:{k:{h=q[c+16>>2];if((h|0)<=2003072103){if((h|0)==1869640570){break k}if((h|0)!=1936486004){break i}c=5481;break j}c=5456;if((h|0)==2003265652){break j}if((h|0)!=2003072104){break i}c=5463;break j}c=5469}q[i>>2]=c}a=a+24|0;d=d+5|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}q[b>>2]=g}Da=f- -64|0;return q[f+52>>2]}function jN(a,b,c,d,e){a=a|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,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;i=Da-592|0;Da=i;Na(i+80|0,0,512);q[i- -64>>2]=0;q[i+56>>2]=0;q[i+60>>2]=0;q[i+48>>2]=0;q[i+52>>2]=0;q[i+40>>2]=0;q[i+44>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;a:{b:{c:{if(d){z=w(d,40)+c|0;while(1){g=q[c+32>>2];if(g>>>0>=1024){break c}h=q[c+36>>2];if(h+ -1>>>0>=1024){break b}if((g|0)>(h|0)){break a}d=g>>>6|0;f=d+1|0;r=(i+32|0)+(f<<1)|0;k=r;n=s[r>>1];m=q[c+20>>2];r=m<<2&4;j=q[c+24>>2]?r:m&4?r^4:r;t=m&2;m=t?j:r;l=g&63;u=w(m,l);p[k>>1]=n-u;n=(i+32|0)+(d<<1)|0;p[n>>1]=u+(s[n>>1]-(m<<6)|0);u=h>>>6|0;m=(i+32|0)+(u<<1)|0;j=t?r:j;r=h&63;t=w(j,r);p[m+2>>1]=t+s[m+2>>1];p[m>>1]=s[m>>1]+((j<<6)-t|0);d:{if((g|0)==(h|0)){break d}y=q[c>>2];g=q[c+4>>2];h=q[c+12>>2];j=h;t=h>>31;h=q[c+16>>2];n=h;m=q[c+8>>2];p[i>>1]=0;k=h>>31;m=V$(h,k,m,m>>31);h=Ea+131072|0;x=(m>>>0<0?h+1|0:h)>>2;h=x>>16;p[i+2>>1]=h;p[i+30>>1]=w(h,15);p[i+28>>1]=w(h,14);p[i+26>>1]=w(h,13);p[i+24>>1]=w(h,12);p[i+22>>1]=w(h,11);p[i+20>>1]=w(h,10);p[i+18>>1]=w(h,9);p[i+16>>1]=h<<3;p[i+14>>1]=w(h,7);p[i+12>>1]=w(h,6);p[i+10>>1]=w(h,5);p[i+8>>1]=h<<2;p[i+6>>1]=w(h,3);p[i+4>>1]=h<<1;m=V$(n,k,j,t);j=Ea+131072|0;m=(m>>>0<0?j+1|0:j)>>18;j=m>>31;t=(j^j+m)&65535;j=h;h=x>>31;h=j+h^h;g=g<<21|y>>>11;j=V$(n,k,g,g>>31);g=Ea+4096|0;j=(((j>>>0<0?g+1|0:g)>>>13|0)-(x>>17)|0)-w(d,m)|0;e:{if(!l){f=d;break e}if((d|0)==(u|0)){f=r-l|0;g=((f<<4)-h|0)+1024|0;u=(g<<16>>16<1024?g:1024)<<19>>16;g=w(m,l+r|0)<<9>>16;r=w(f,t)<<10>>16;h=((r|0)<(h|0)?r:h)+2>>2;r=f-(w(u,g-h|0)>>>16|0)|0;m=f-(w(u,g+h|0)>>>16|0)|0;h=f<<1;j=j<<16>>16;f=0;g=0;while(1){l=((i+80|0)+(d<<5)|0)+(g<<1)|0;k=l;n=s[l>>1];f=w(u,j-(f<<16>>16)|0)>>16;l=f+m<<16>>16;l=(l|0)>0?l:0;f=f+r<<16>>16;f=(f|0)>0?f:0;p[k>>1]=n+(((l|0)>(h|0)?h:l)+((f|0)>(h|0)?h:f)|0);g=g+1|0;if((g|0)==16){break d}f=s[(g<<1)+i>>1];continue}}g=64-l|0;n=((g<<4)-h|0)+1024|0;n=(n<<16>>16<1024?n:1024)<<19>>16;l=w(m,l<<9|32768)>>16;k=w(g,t)<<10>>>16|0;k=((k|0)<(h|0)?k:h)+2>>>2|0;x=g-(w(n,l-k|0)>>>16|0)|0;y=g-(w(n,l+k|0)>>>16|0)|0;A=j<<16>>16;l=g<<1;k=0;g=0;while(1){v=((i+80|0)+(d<<5)|0)+(g<<1)|0;B=v;C=s[v>>1];k=w(n,A-(k<<16>>16)|0)>>16;v=k+y<<16>>16;v=(v|0)>0?v:0;k=k+x<<16>>16;k=(k|0)>0?k:0;p[B>>1]=C+(((v|0)>(l|0)?l:v)+((k|0)>(l|0)?l:k)|0);g=g+1|0;if((g|0)!=16){k=p[(g<<1)+i>>1];continue}break}j=j-m|0}if((f|0)<(u|0)){d=512-(m>>1)|0;g=((h|0)>(t|0)?t:h)+2>>>2|0;l=d-g|0;g=d+g|0;while(1){d=0;while(1){n=d<<1;k=n+((i+80|0)+(f<<5)|0)|0;v=k;x=s[k>>1];n=j-s[i+n>>1]|0;k=n+g<<16>>16;k=(k|0)>0?k:0;n=l+n<<16>>16;n=(n|0)>0?n:0;p[v>>1]=x+(((k|0)<1024?k:1024)+((n|0)<1024?n:1024)>>>3|0);d=d+1|0;if((d|0)!=16){continue}break}j=j-m|0;f=f+1|0;if((u|0)!=(f|0)){continue}break}}if(!r){break d}d=w(m,r)<<9>>16;f=w(r,t)<<10>>>16|0;g=((f|0)<(h|0)?f:h)+2>>>2|0;f=((r<<4)-h|0)+1024|0;f=(f<<16>>16<1024?f:1024)<<19>>16;h=r-(w(d-g|0,f)>>>16|0)|0;m=r-(w(f,d+g|0)>>>16|0)|0;d=r<<1;r=j<<16>>16;g=0;while(1){j=g<<1;l=j+((i+80|0)+(u<<5)|0)|0;k=l;n=s[l>>1];j=w(f,r-p[i+j>>1]|0)>>16;l=j+m<<16>>16;l=(l|0)>0?l:0;j=h+j<<16>>16;j=(j|0)>0?j:0;p[k>>1]=n+(((l|0)>(d|0)?d:l)+((j|0)>(d|0)?d:j)|0);g=g+1|0;if((g|0)!=16){continue}break}}c=c+40|0;if((z|0)!=(c|0)){continue}break}}d=e<<8;e=0;while(1){d=s[(i+32|0)+(e<<1)>>1]+d|0;c=(i+80|0)+(e<<5)|0;f=d+s[c>>1]|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a|0]=(f|0)<255?f:255;f=s[c+2>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+1|0]=(f|0)<255?f:255;f=s[c+4>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+2|0]=(f|0)<255?f:255;f=s[c+6>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+3|0]=(f|0)<255?f:255;f=s[c+8>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+4|0]=(f|0)<255?f:255;f=s[c+10>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+5|0]=(f|0)<255?f:255;f=s[c+12>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+6|0]=(f|0)<255?f:255;f=s[c+14>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+7|0]=(f|0)<255?f:255;f=s[c+16>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+8|0]=(f|0)<255?f:255;f=s[c+18>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+9|0]=(f|0)<255?f:255;f=s[c+20>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+10|0]=(f|0)<255?f:255;f=s[c+22>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+11|0]=(f|0)<255?f:255;f=s[c+24>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+12|0]=(f|0)<255?f:255;f=s[c+26>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+13|0]=(f|0)<255?f:255;f=s[c+28>>1]+d|0;g=0-f|0;f=(f<<16>>16>g<<16>>16?f:g)<<16>>16;o[a+14|0]=(f|0)<255?f:255;c=s[c+30>>1]+d|0;f=0-c|0;c=(c<<16>>16>f<<16>>16?c:f)<<16>>16;o[a+15|0]=(c|0)<255?c:255;a=a+b|0;e=e+1|0;if((e|0)!=16){continue}break}Da=i+592|0;return}I(437596,437638,187,437657);F()}I(437683,437638,188,437657);F()}I(437725,437638,189,437657);F()}function Eb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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;n=Da-96|0;Da=n;w=c;k=g;v=(k&131071)<<15|f>>>17;j=i&65535;r=j;o=h;k=h;B=k<<15|g>>>17;p=(e^i)&-2147483648;k=e&65535;m=k;u=d;E=k;k=j;C=(k&131071)<<15|h>>>17;F=i>>>16&32767;N=e>>>16&32767;a:{b:{if(N+ -1>>>0<=32765){j=0;if(F+ -1>>>0<32766){break b}}l=e&2147483647;j=l;k=d;if(!(!d&(j|0)==2147418112?!(b|c):(j|0)==2147418112&d>>>0<0|j>>>0<2147418112)){x=d;p=e|32768;break a}l=i&2147483647;e=l;d=h;if(!(!d&(e|0)==2147418112?!(f|g):(e|0)==2147418112&d>>>0<0|e>>>0<2147418112)){x=h;p=i|32768;b=f;c=g;break a}if(!(b|k|(j^2147418112|c))){if(!(d|f|(e|g))){p=2147450880;b=0;c=0;break a}p=p|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){d=b|k;e=c|j;b=0;c=0;if(!(d|e)){p=2147450880;break a}p=p|2147418112;break a}if(!(b|k|(c|j))){b=0;c=0;break a}if(!(d|f|(e|g))){b=0;c=0;break a}if((j|0)==65535&k>>>0<=4294967295|j>>>0<65535){j=b;k=c;h=!(m|u);i=h<<6;l=z(h?b:u)+32|0;b=z(h?c:m);b=i+((b|0)==32?l:b)|0;Fc(n+80|0,j,k,u,m,b+ -15|0);u=q[n+88>>2];w=q[n+84>>2];E=q[n+92>>2];s=16-b|0;b=q[n+80>>2]}j=s;if((e|0)==65535&d>>>0>4294967295|e>>>0>65535){break b}c=!(o|r);d=c<<6;e=z(c?f:o)+32|0;c=z(c?g:r);c=d+((c|0)==32?e:c)|0;h=c;Fc(n- -64|0,f,g,o,r,c+ -15|0);f=q[n+76>>2];c=f;i=q[n+68>>2];g=i;e=q[n+72>>2];d=e;B=d<<15|g>>>17;d=g;f=q[n+64>>2];v=(d&131071)<<15|f>>>17;C=(c&131071)<<15|e>>>17;j=(s-h|0)+16|0}s=j;d=v;r=0;i=V$(d,0,b,r);c=Ea;D=c;y=f<<15&-32768;o=w;f=V$(y,0,o,0);e=f+i|0;l=Ea+c|0;l=e>>>0>>0?l+1|0:l;c=e;f=0;g=V$(b,r,y,G);e=f+g|0;j=Ea+c|0;j=e>>>0>>0?j+1|0:j;v=e;g=j;W=(c|0)==(j|0)&e>>>0>>0|j>>>0>>0;P=V$(d,A,o,O);J=Ea;w=u;f=V$(y,G,u,0);e=f+P|0;m=Ea+J|0;m=e>>>0>>0?m+1|0:m;Q=e;h=V$(B,0,b,r);e=e+h|0;f=Ea+m|0;K=e;f=e>>>0>>0?f+1|0:f;u=f;h=f;f=(l|0)==(D|0)&c>>>0>>0|l>>>0>>0;e=l;c=e+K|0;j=f+h|0;D=c;j=c>>>0>>0?j+1|0:j;e=j;h=c;S=V$(d,A,w,R);L=Ea;c=y;H=E|65536;y=t;f=V$(c,G,H,t);c=f+S|0;j=Ea+L|0;j=c>>>0>>0?j+1|0:j;T=c;k=V$(o,O,B,U);c=c+k|0;t=j;f=j+Ea|0;f=c>>>0>>0?f+1|0:f;M=c;I=C&2147483647|-2147483648;c=V$(b,r,I,0);b=M+c|0;r=f;k=f+Ea|0;G=b;c=b>>>0>>0?k+1|0:k;j=e+b|0;f=0;b=f+h|0;if(b>>>0>>0){j=j+1|0}E=b;C=j;f=j;h=b+W|0;if(h>>>0>>0){f=f+1|0}i=f;s=(s+(F+N|0)|0)+ -16383|0;f=V$(w,R,B,U);b=Ea;l=0;k=V$(d,A,H,y);d=k+f|0;j=Ea+b|0;j=d>>>0>>0?j+1|0:j;A=d;k=d;d=j;j=(b|0)==(d|0)&k>>>0>>0|d>>>0>>0;f=V$(I,V,o,O);b=f+k|0;k=Ea+d|0;k=b>>>0>>0?k+1|0:k;o=b;f=b;b=k;d=(d|0)==(b|0)&f>>>0>>0|b>>>0>>0;f=j+d|0;if(f>>>0>>0){l=1}k=f;d=b;f=l;F=k;j=0;k=(m|0)==(u|0)&K>>>0>>0|u>>>0>>0;m=k+((m|0)==(J|0)&Q>>>0

>>0|m>>>0>>0)|0;if(m>>>0>>0){j=1}l=m;m=m+o|0;k=d+j|0;A=m;j=m;k=j>>>0>>0?k+1|0:k;d=k;b=(b|0)==(d|0)&j>>>0>>0|d>>>0>>0;k=F+b|0;if(k>>>0>>0){f=f+1|0}b=k;k=V$(I,V,H,y);b=b+k|0;j=Ea+f|0;j=b>>>0>>0?j+1|0:j;l=b;m=V$(I,V,w,R);f=Ea;o=V$(B,U,H,y);b=o+m|0;k=Ea+f|0;k=b>>>0>>0?k+1|0:k;o=b;b=k;k=(f|0)==(b|0)&o>>>0>>0|b>>>0>>0;f=b+l|0;l=j+k|0;k=f>>>0>>0?l+1|0:l;w=f;j=d+o|0;l=0;b=l+A|0;if(b>>>0>>0){j=j+1|0}m=b;f=b;b=j;d=(d|0)==(b|0)&f>>>0>>0|b>>>0>>0;f=w+d|0;if(f>>>0>>0){k=k+1|0}o=f;l=b;j=0;f=(t|0)==(r|0)&M>>>0>>0|r>>>0>>0;t=f+((t|0)==(L|0)&T>>>0>>0|t>>>0>>0)|0;if(t>>>0>>0){j=1}f=t+((c|0)==(r|0)&G>>>0>>0|c>>>0>>0)|0;d=c;c=d+m|0;l=f+l|0;l=c>>>0>>0?l+1|0:l;t=c;d=c;c=l;b=(b|0)==(c|0)&d>>>0>>0|c>>>0>>0;d=b+o|0;if(d>>>0>>0){k=k+1|0}b=c;j=k;k=d;f=0;d=(e|0)==(C|0)&E>>>0>>0|C>>>0>>0;e=d+((e|0)==(u|0)&D>>>0>>0|e>>>0>>0)|0;if(e>>>0>>0){f=1}d=e+t|0;l=b+f|0;l=d>>>0>>0?l+1|0:l;b=d;e=l;b=(c|0)==(e|0)&b>>>0>>0|e>>>0>>0;c=k+b|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;c:{if(c&65536){s=s+1|0;break c}m=g>>>31|0;j=c<<1|b>>>31;b=b<<1|e>>>31;c=j;j=e<<1|d>>>31;d=d<<1|i>>>31;e=j;k=v;j=g<<1|k>>>31;v=k<<1;g=j;k=i<<1|h>>>31;h=h<<1|m;i=k}if((s|0)>=32767){p=p|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0<=127){k=s+127|0;Fc(n+48|0,v,g,h,i,k);Fc(n+32|0,d,e,b,c,k);Uf(n+16|0,v,g,h,i,f);Uf(n,d,e,b,c,f);v=(q[n+48>>2]|q[n+56>>2])!=0|(q[n+52>>2]|q[n+60>>2])!=0|(q[n+32>>2]|q[n+16>>2]);g=q[n+36>>2]|q[n+20>>2];h=q[n+40>>2]|q[n+24>>2];i=q[n+44>>2]|q[n+28>>2];d=q[n>>2];e=q[n+4>>2];c=q[n+12>>2];b=q[n+8>>2];break d}b=0;c=0;break a}c=c&65535|s<<16}x=b|x;p=c|p;if(!(!h&(i|0)==-2147483648?!(g|v):(i|0)>-1?1:(i|0)>=-1?h>>>0<=4294967295?0:1:0)){l=p;m=e;b=d+1|0;if(b>>>0<1){m=m+1|0}c=m;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=d+x|0;if(e>>>0>>0){l=l+1|0}x=e;p=l;break a}if(h|v|(i^-2147483648|g)){b=d;c=e;break a}m=p;j=e;b=d&1;c=b+d|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;d=(e|0)==(c|0)&b>>>0>>0|c>>>0>>0;e=d+x|0;if(e>>>0>>0){m=m+1|0}x=e;p=m}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=x;q[a+12>>2]=p;Da=n+96|0}function Zj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0;h=Da-80|0;Da=h;q[h+76>>2]=b;C=h+55|0;z=h+56|0;b=0;a:{b:{c:while(1){d:{if((u|0)<0){break d}if((b|0)>(2147483647-u|0)){q[160942]=61;u=-1;break d}u=b+u|0}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{l=q[h+76>>2];b=l;k=r[b|0];if(k){while(1){r:{s:{i=k&255;t:{if(!i){k=b;break t}if((i|0)!=37){break s}k=b;while(1){if(r[b+1|0]!=37){break t}i=b+2|0;q[h+76>>2]=i;k=k+1|0;j=r[b+2|0];b=i;if((j|0)==37){continue}break}}b=k-l|0;if(a){yc(a,l,b)}if(b){continue c}x=-1;k=1;i=h;b=q[h+76>>2];if(!(r[b+2|0]!=36|o[q[h+76>>2]+1|0]+ -48>>>0>=10)){x=o[b+1|0]+ -48|0;A=1;k=3}b=k+b|0;q[i+76>>2]=b;k=0;y=o[b|0];j=y+ -32|0;u:{if(j>>>0>31){i=b;break u}i=b;j=1<>2]=i;k=j|k;y=o[b+1|0];j=y+ -32|0;if(j>>>0>31){break u}b=i;j=1<>>0>=10){break x}b=q[h+76>>2];if(r[b+2|0]!=36){break x}q[((o[b+1|0]<<2)+e|0)+ -192>>2]=10;t=q[((o[b+1|0]<<3)+d|0)+ -384>>2];A=1;b=b+3|0;break w}if(A){break b}A=0;t=0;if(a){b=q[c>>2];q[c>>2]=b+4;t=q[b>>2]}b=q[h+76>>2]+1|0}q[m+76>>2]=b;if((t|0)>-1){break v}t=0-t|0;k=k|8192;break v}t=up(h+76|0);if((t|0)<0){break b}b=q[h+76>>2]}j=-1;y:{if(r[b|0]!=46){break y}if(r[b+1|0]==42){z:{if(o[b+2|0]+ -48>>>0>=10){break z}b=q[h+76>>2];if(r[b+3|0]!=36){break z}q[((o[b+2|0]<<2)+e|0)+ -192>>2]=10;j=q[((o[b+2|0]<<3)+d|0)+ -384>>2];b=b+4|0;q[h+76>>2]=b;break y}if(A){break b}if(a){b=q[c>>2];q[c>>2]=b+4;j=q[b>>2]}else{j=0}b=q[h+76>>2]+2|0;q[h+76>>2]=b;break y}q[h+76>>2]=b+1;j=up(h+76|0);b=q[h+76>>2]}i=0;while(1){B=i;s=-1;if(o[b|0]+ -65>>>0>57){break a}y=b+1|0;q[h+76>>2]=y;i=o[b|0];b=y;i=r[(i+w(B,58)|0)+507407|0];if(i+ -1>>>0<8){continue}break}if(!i){break a}A:{B:{C:{if((i|0)==19){if((x|0)<=-1){break C}break a}if((x|0)<0){break B}q[(x<<2)+e>>2]=i;b=(x<<3)+d|0;i=q[b+4>>2];q[h+64>>2]=q[b>>2];q[h+68>>2]=i}b=0;if(!a){continue c}break A}if(!a){break e}tp(h- -64|0,i,c,g);y=q[h+76>>2]}m=k&-65537;k=k&8192?m:k;s=0;x=507448;i=z;b=o[y+ -1|0];b=B?(b&15)==3?b&-33:b:b;y=b+ -88|0;if(y>>>0<=32){break r}D:{E:{F:{G:{m=b+ -65|0;if(m>>>0>6){if((b|0)!=83){break f}if(!j){break G}i=q[h+64>>2];break E}switch(m-1|0){case 1:break F;case 0:case 2:break f;default:break q}}b=0;Nc(a,32,t,0,k);break D}q[h+12>>2]=0;q[h+8>>2]=q[h+64>>2];q[h+64>>2]=h+8;j=-1;i=h+8|0}b=0;H:{while(1){l=q[i>>2];if(!l){break H}l=Oh(h+4|0,l);m=(l|0)<0;if(!(m|l>>>0>j-b>>>0)){i=i+4|0;b=b+l|0;if(j>>>0>b>>>0){continue}break H}break}s=-1;if(m){break a}}Nc(a,32,t,b,k);if(!b){b=0;break D}j=0;i=q[h+64>>2];while(1){l=q[i>>2];if(!l){break D}l=Oh(h+4|0,l);j=l+j|0;if((j|0)>(b|0)){break D}yc(a,h+4|0,l);i=i+4|0;if(j>>>0>>0){continue}break}}Nc(a,32,t,b,k^8192);b=(t|0)>(b|0)?t:b;continue c}i=b+1|0;q[h+76>>2]=i;k=r[b+1|0];b=i;continue}break}switch(y-1|0){case 28:break i;case 21:break j;case 23:break l;case 22:break m;case 11:case 16:break n;case 10:break o;case 26:break p;case 8:case 12:case 13:case 14:break q;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 15:case 17:case 18:case 19:case 20:case 24:case 25:case 27:case 29:case 30:break f;default:break k}}s=u;if(a){break a}if(!A){break e}b=1;while(1){a=q[(b<<2)+e>>2];if(a){tp((b<<3)+d|0,a,c,g);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>9){break a}while(1){a=b;b=b+1|0;if(q[(b<<2)+e>>2]?0:(b|0)!=10){continue}break}s=a>>>0<9?-1:1;break a}b=n[f](a,v[h+64>>3],t,j,k,b)|0;continue}b=q[h+64>>2];l=b?b:507458;b=be(l,0,j);i=b?b:j+l|0;k=m;j=b?b-l|0:j;break f}o[h+55|0]=q[h+64>>2];j=1;l=C;k=m;break f}m=q[h+68>>2];b=m;l=q[h+64>>2];if((b|0)<-1?1:(b|0)<=-1?l>>>0>4294967295?0:1:0){b=0-(b+(0>>0)|0)|0;l=0-l|0;q[h+64>>2]=l;q[h+68>>2]=b;s=1;x=507448;break h}if(k&2048){s=1;x=507449;break h}s=k&1;x=s?507450:507448;break h}l=cH(q[h+64>>2],q[h+68>>2],z);if(!(k&8)){break g}b=z-l|0;j=(j|0)>(b|0)?j:b+1|0;break g}j=j>>>0>8?j:8;k=k|8;b=120}l=bH(q[h+64>>2],q[h+68>>2],z,b&32);if(!(k&8)|!(q[h+64>>2]|q[h+68>>2])){break g}x=(b>>>4|0)+507448|0;s=2;break g}b=0;i=B&255;if(i>>>0>7){continue}I:{switch(i-1|0){default:q[q[h+64>>2]>>2]=u;continue;case 0:q[q[h+64>>2]>>2]=u;continue;case 1:i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue;case 2:p[q[h+64>>2]>>1]=u;continue;case 3:o[q[h+64>>2]]=u;continue;case 5:q[q[h+64>>2]>>2]=u;continue;case 4:continue;case 6:break I}}i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue}l=q[h+64>>2];b=q[h+68>>2];x=507448}l=Vf(l,b,z)}k=(j|0)>-1?k&-65537:k;b=q[h+64>>2];m=q[h+68>>2];J:{if(!(!!(b|m)|j)){l=z;j=0;break J}b=!(b|m)+(z-l|0)|0;j=(j|0)>(b|0)?j:b}}m=i-l|0;j=(j|0)<(m|0)?m:j;i=j+s|0;b=(t|0)<(i|0)?i:t;Nc(a,32,b,i,k);yc(a,x,s);Nc(a,48,b,i,k^65536);Nc(a,48,j,m,0);yc(a,l,m);Nc(a,32,b,i,k^8192);continue}break}s=0;break a}s=-1}Da=h+80|0;return s}function Xk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-144|0;Da=e;j=eI(a,b);i=fI(a,b);k=i?b:0;a=i?i:b;if(j){b=Wa(a);f=b;d=Wa(j);h=d+b|0;l=Sa(h+1|0);b=Qa(l,a,b);Qa(f+b|0,j,d+1|0);o[b+h|0]=0;k=k?k:a;a=b}q[e+48>>2]=-1732584194;q[e+52>>2]=271733878;q[e+40>>2]=1732584193;q[e+44>>2]=-271733879;h=Wa(a);q[e+60>>2]=h>>>29;f=h<<3;q[e+56>>2]=f;d=e- -64|0;a:{if(h>>>0<64){b=a;break a}b=a;while(1){f=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);g=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[d|0]=g;o[d+1|0]=g>>>8;o[d+2|0]=g>>>16;o[d+3|0]=g>>>24;o[d+4|0]=f;o[d+5|0]=f>>>8;o[d+6|0]=f>>>16;o[d+7|0]=f>>>24;f=r[b+60|0]|r[b+61|0]<<8|(r[b+62|0]<<16|r[b+63|0]<<24);g=r[b+56|0]|r[b+57|0]<<8|(r[b+58|0]<<16|r[b+59|0]<<24);o[d+56|0]=g;o[d+57|0]=g>>>8;o[d+58|0]=g>>>16;o[d+59|0]=g>>>24;o[d+60|0]=f;o[d+61|0]=f>>>8;o[d+62|0]=f>>>16;o[d+63|0]=f>>>24;f=r[b+52|0]|r[b+53|0]<<8|(r[b+54|0]<<16|r[b+55|0]<<24);g=r[b+48|0]|r[b+49|0]<<8|(r[b+50|0]<<16|r[b+51|0]<<24);o[d+48|0]=g;o[d+49|0]=g>>>8;o[d+50|0]=g>>>16;o[d+51|0]=g>>>24;o[d+52|0]=f;o[d+53|0]=f>>>8;o[d+54|0]=f>>>16;o[d+55|0]=f>>>24;f=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);g=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);o[d+40|0]=g;o[d+41|0]=g>>>8;o[d+42|0]=g>>>16;o[d+43|0]=g>>>24;o[d+44|0]=f;o[d+45|0]=f>>>8;o[d+46|0]=f>>>16;o[d+47|0]=f>>>24;f=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);g=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[d+32|0]=g;o[d+33|0]=g>>>8;o[d+34|0]=g>>>16;o[d+35|0]=g>>>24;o[d+36|0]=f;o[d+37|0]=f>>>8;o[d+38|0]=f>>>16;o[d+39|0]=f>>>24;f=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);g=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[d+24|0]=g;o[d+25|0]=g>>>8;o[d+26|0]=g>>>16;o[d+27|0]=g>>>24;o[d+28|0]=f;o[d+29|0]=f>>>8;o[d+30|0]=f>>>16;o[d+31|0]=f>>>24;f=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);g=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[d+16|0]=g;o[d+17|0]=g>>>8;o[d+18|0]=g>>>16;o[d+19|0]=g>>>24;o[d+20|0]=f;o[d+21|0]=f>>>8;o[d+22|0]=f>>>16;o[d+23|0]=f>>>24;f=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);g=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[d+8|0]=g;o[d+9|0]=g>>>8;o[d+10|0]=g>>>16;o[d+11|0]=g>>>24;o[d+12|0]=f;o[d+13|0]=f>>>8;o[d+14|0]=f>>>16;o[d+15|0]=f>>>24;Wk(e+40|0,d);b=b- -64|0;h=h+ -64|0;if(h>>>0>63){continue}break}f=q[e+56>>2]}b=Qa(d,b,h);h=f>>>3&63;d=h+(e+40|0)|0;o[d+24|0]=128;d=d+25|0;h=h^63;b:{if(h>>>0<=7){Na(d,0,h);Wk(e+40|0,b);q[b+48>>2]=0;q[b+52>>2]=0;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;f=q[e+56>>2];break b}Na(d,0,h+ -8|0)}q[e+120>>2]=f;q[e+124>>2]=q[e+60>>2];Wk(e+40|0,b);b=q[e+52>>2];q[e+136>>2]=q[e+48>>2];q[e+140>>2]=b;b=q[e+44>>2];q[e+128>>2]=q[e+40>>2];q[e+132>>2]=b;Na(e+40|0,0,88);if(l){La(l)}o[c|0]=47;b=r[e+128|0];o[c+2|0]=r[(b&15)+441936|0];o[c+1|0]=r[(b>>>4|0)+441936|0];b=r[e+129|0];o[c+4|0]=r[(b&15)+441936|0];o[c+3|0]=r[(b>>>4|0)+441936|0];b=r[e+130|0];o[c+6|0]=r[(b&15)+441936|0];o[c+5|0]=r[(b>>>4|0)+441936|0];b=r[e+131|0];o[c+8|0]=r[(b&15)+441936|0];o[c+7|0]=r[(b>>>4|0)+441936|0];b=r[e+132|0];o[c+10|0]=r[(b&15)+441936|0];o[c+9|0]=r[(b>>>4|0)+441936|0];b=r[e+133|0];o[c+12|0]=r[(b&15)+441936|0];o[c+11|0]=r[(b>>>4|0)+441936|0];b=r[e+134|0];o[c+14|0]=r[(b&15)+441936|0];o[c+13|0]=r[(b>>>4|0)+441936|0];b=r[e+135|0];o[c+16|0]=r[(b&15)+441936|0];o[c+15|0]=r[(b>>>4|0)+441936|0];b=r[e+136|0];o[c+18|0]=r[(b&15)+441936|0];o[c+17|0]=r[(b>>>4|0)+441936|0];b=r[e+137|0];o[c+20|0]=r[(b&15)+441936|0];o[c+19|0]=r[(b>>>4|0)+441936|0];b=r[e+138|0];o[c+22|0]=r[(b&15)+441936|0];o[c+21|0]=r[(b>>>4|0)+441936|0];b=r[e+139|0];o[c+24|0]=r[(b&15)+441936|0];o[c+23|0]=r[(b>>>4|0)+441936|0];b=r[e+140|0];o[c+26|0]=r[(b&15)+441936|0];o[c+25|0]=r[(b>>>4|0)+441936|0];b=r[e+141|0];o[c+28|0]=r[(b&15)+441936|0];o[c+27|0]=r[(b>>>4|0)+441936|0];b=r[e+142|0];o[c+30|0]=r[(b&15)+441936|0];o[c+29|0]=r[(b>>>4|0)+441936|0];b=r[e+143|0];o[c+33|0]=0;o[c+32|0]=r[(b&15)+441936|0];o[c+31|0]=r[(b>>>4|0)+441936|0];b=Wa(c)+c|0;d=r[441636]|r[441637]<<8|(r[441638]<<16|r[441639]<<24);h=r[441632]|r[441633]<<8|(r[441634]<<16|r[441635]<<24);o[b|0]=h;o[b+1|0]=h>>>8;o[b+2|0]=h>>>16;o[b+3|0]=h>>>24;o[b+4|0]=d;o[b+5|0]=d>>>8;o[b+6|0]=d>>>16;o[b+7|0]=d>>>24;d=r[441644]|r[441645]<<8|(r[441646]<<16|r[441647]<<24);h=r[441640]|r[441641]<<8|(r[441642]<<16|r[441643]<<24);o[b+8|0]=h;o[b+9|0]=h>>>8;o[b+10|0]=h>>>16;o[b+11|0]=h>>>24;o[b+12|0]=d;o[b+13|0]=d>>>8;o[b+14|0]=d>>>16;o[b+15|0]=d>>>24;if(r[643740]&16){q[e+24>>2]=j?j:441996;q[e+20>>2]=j?441999:441996;q[e+16>>2]=i?441997:441996;q[e>>2]=c;q[e+12>>2]=i?i:441996;q[e+8>>2]=i?441983:441996;q[e+4>>2]=k?k:a;Ua(441952,e)}if(i){La(i)}Da=e+144|0}function tg(a,b,c){var d=0,e=0,f=x(0);e=q[a+16>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((b|0)<=1986098018){if((b|0)==1751216995){break k}if((b|0)==1751413603){break j}if((b|0)!=1751934832){break d}d=e+68|0;b=Ke(d);if(o[(t[b+16>>2]<78?271312:q[b+12>>2])+63|0]>-1){break i}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break i}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+72|0]|r[b+73|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751934832,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(!(x(y(f))>2]<36?271312:q[d+12>>2];if(r[d|0]<<8|r[d+1|0]){break f}break b}l:{d=e+68|0;b=Ke(d);if(o[(t[b+16>>2]<78?271312:q[b+12>>2])+63|0]>-1){break l}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break l}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+68|0]|r[b+69|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751216995,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+4|0]|r[b+5|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751216995,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<78?271312:q[b+12>>2])+63|0]>-1){break m}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];if(!(r[b+4|0]<<8|r[b+5|0]|(r[b+7|0]|r[b+6|0]<<8)|(r[b+65|0]|r[b+64|0]<<8))){if(!(r[b+67|0]|r[b+66|0]<<8)){break m}}if(!c){break e}b=Ke(d);b=t[b+16>>2]<78?271312:q[b+12>>2];b=r[b+70|0]|r[b+71|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751413603,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+24>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+6|0]|r[b+7|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751413603,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+24>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=If(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+8|0]|r[b+9|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1751934832,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+24>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=Hf(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+4|0]|r[b+5|0]<<8;e=Je(e+124|0);f=x(x(y(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986098019,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))))*x(q[a+20>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[d+12>>2];if(!(r[d|0]<<8|r[d+1|0])){break b}if(!c){break e}b=Hf(b);b=t[b+16>>2]<36?271312:q[b+12>>2];b=r[b+6|0]|r[b+7|0]<<8;e=Je(e+124|0);f=Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986294627,q[a+64>>2],q[a+60>>2]);f=x(x(q[a+20>>2])*x(-x(y(x(f+x((b<<8&16711680|b<<24)>>16))))));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));if(x(y(f))>2]<36?271312:q[b+12>>2];b=r[b+8|0]|r[b+9|0]<<8;e=Je(e+124|0);f=x(x(Ie(t[e+16>>2]<12?271312:q[e+12>>2],1986815856,q[a+64>>2],q[a+60>>2])+x((b<<8&16711680|b<<24)>>16))*x(q[a+20>>2]));b=q[a+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}f=x(J(x(x(f/x(a>>>0)))));n:{if(x(y(f))>2]=a}return 1}I(241971,241973,86,241990);F()}q[c>>2]=~~f;return 1}return 0}q[c>>2]=-2147483648;return 1}function hT(a,b,c){var d=0,e=0,f=0;q[a>>2]=b;d=q[c+4>>2];q[a+4>>2]=q[c>>2];q[a+8>>2]=d;d=q[c+12>>2];q[a+12>>2]=q[c+8>>2];q[a+16>>2]=d;q[a+20>>2]=q[c+16>>2];dY(a+24|0,b,c);q[a+120>>2]=b;q[a+132>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;f=a;d=0;a:{if(!Tx(b)){break a}d=1;if((q[c>>2]&-2)==4){break a}d=!C$(b)}c=d;b=f;f=r[a+136|0]&-2|d;o[b+136|0]=f;b:{c:{d:{e:{f:{g:{h:{i:{j:{d=q[a+8>>2];k:{if((d|0)<=1298230883){if((d|0)<=1198877297){if((d|0)<=1130457964){if((d|0)<=1113943654){if((d|0)<=1098015073){if((d|0)==1097100397){break i}if((d|0)==1097363309){break c}b=236416;break b}if((d|0)==1098015074){break i}if((d|0)==1113681001|(d|0)==1113683051){break c}b=236416;break b}if((d|0)<=1114792295){if((d|0)==1113943655){break g}if((d|0)==1114139507){break c}b=236416;break b}if((d|0)==1114792296|(d|0)==1114990441|(d|0)==1114990692){break c}b=236416;break b}if((d|0)<=1164409199){if((d|0)<=1147500128){if((d|0)==1130457965|(d|0)==1130914157){break c}b=236416;break b}if((d|0)==1147500129){break g}if((d|0)==1148151666|(d|0)==1148547180){break c}b=236416;break b}e=d+ -1198485095|0;if(e>>>0<=6){break d}if((d|0)==1164409200|(d|0)==1198678382){break c}b=236416;break b}if((d|0)<=1265135465){if((d|0)<=1215131238){if((d|0)<=1214344806){if((d|0)==1198877298|(d|0)==1198879349){break g}b=236416;break b}e=d+ -1214344807|0;if(e>>>0>8){b=236416;if((d|0)!=1214603890){break b}b=236528;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break b;case 7:break c;default:break h}}if((d|0)<=1264675944){if((d|0)==1215131239|(d|0)==1247901281){break c}b=236416;break b}if((d|0)==1264675945|(d|0)==1265131890){break c}b=236416;if((d|0)!=1265134962){break b}b=240288;break b}if((d|0)<=1281453934){if((d|0)<=1265920104){if((d|0)==1265135466){break c}if((d|0)==1265525857){break g}b=236416;break b}if((d|0)==1265920105|(d|0)==1281453665){break c}b=236416;break b}if((d|0)<=1281977697){if((d|0)==1281453935){break k}if((d|0)==1281716323){break c}b=236416;break b}if((d|0)==1281977698|(d|0)==1298229354|(d|0)==1298230113){break c}b=236416;break b}if((d|0)<=1399415907){if((d|0)<=1315663726){if((d|0)<=1299148390){if((d|0)<=1298954604){e=d+ -1298230884|0;if(e>>>0>5){if((d|0)==1298231907){break c}b=236416;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:break b;default:break i}}if((d|0)==1298954605){break g}if((d|0)==1299145833){break c}b=236416;break b}if((d|0)<=1299803505){if((d|0)==1299148391){break i}if((d|0)==1299473769){break c}b=236416;break b}if((d|0)==1299803506){break f}if((d|0)==1315008100|(d|0)==1315272545){break c}b=236416;break b}if((d|0)<=1365336422){if((d|0)<=1349017958){if((d|0)==1315663727){break i}if((d|0)==1332902241){break g}b=236416;break b}if((d|0)==1349017959|(d|0)==1349020784){break i}b=236416;break b}if((d|0)<=1383032934){if((d|0)==1365336423){break e}if((d|0)==1382706791){break c}b=236416;break b}if((d|0)==1383032935){break i}if((d|0)==1398895986|(d|0)==1399353956){break c}b=236416;break b}if((d|0)<=1415670884){if((d|0)<=1400204899){if((d|0)<=1399809891){e=d+ -1399418468|0;if(e>>>0>4){if((d|0)==1399415908){break c}b=236416;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:break b;case 3:break g;default:break c}}if((d|0)==1399809892){break i}if((d|0)==1399814511){break c}b=236416;break b}if((d|0)<=1400468066){if((d|0)==1400204900|(d|0)==1400466543){break c}b=236416;break b}if((d|0)==1400468067){break i}if((d|0)==1415669602|(d|0)==1415670642){break c}b=236416;break b}if((d|0)<=1416064102){if((d|0)<=1415673459){if((d|0)==1415670885){break c}if((d|0)==1415671148){break g}b=236416;break b}if((d|0)==1415673460){break c}if((d|0)==1415933045){break g}if((d|0)==1415999079){break c}b=236416;break b}if((d|0)>1416192627){break j}if((d|0)==1416064103){break c}b=236416;if((d|0)!=1416126825){break b}}b=251084;break b}if((d|0)==1416192628|(d|0)==1416196712|(d|0)==1516334690){break c}b=236416;break b}if(!(q[a+48>>2]==1145457748?(d|0)!=1098015074:0)){b=251824;if((q[a+4>>2]&-2)==4){break b}}b=236416;break b}b=255308;break b}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}b=236416;if((d|0)==1818326126){break b}b=(d&255)==51?261360:264172;break b}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}if((d|0)==1818326126){b=236416;break b}b=236416;if((d|0)==1836674418){break b}b=267900;break b}b=267956;break b}b=236416;switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break c}}d=q[a+48>>2];if((d|0)==1145457748){b=236416;break b}b=236416;if((d|0)==1818326126){break b}b=261360}q[a+140>>2]=b;d=f&-3|(q[b+48>>2]!=0)<<1;o[a+136|0]=d;o[a+136|0]=d&251|r[b+52|0]<<2;if(!(c^1|(b|0)==236416)){q[a+140>>2]=236472}return a}function gX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Da-96|0;Da=d;a:{if(q[a+24>>2]==7){c=q[a+140>>2];q[d+88>>2]=q[a+136>>2];q[d+92>>2]=c;c=q[a+132>>2];q[d+80>>2]=q[a+128>>2];q[d+84>>2]=c;j=q[a+32>>2];b:{if(!j){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break b}c=q[a+36>>2]}k=r[a+176|0];c:{if(!k){break c}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break c}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break c}q[c+20>>2]=0}v[d+80>>3]=v[d+80>>3]+v[c>>3];c=q[d+92>>2];q[d+72>>2]=q[d+88>>2];q[d+76>>2]=c;c=q[d+84>>2];q[d+64>>2]=q[d+80>>2];q[d+68>>2]=c;if(t[a+24>>2]<=1){o[a+20|0]=1}d:{if(j>>>0<=1){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break d}c=q[a+36>>2]+32|0}e:{if(!k){break e}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break e}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break e}q[c+20>>2]=0}if(t[a+24>>2]<=2){o[a+20|0]=1}f:{if(j>>>0<=2){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break f}e=q[a+36>>2]- -64|0}g:{if(!k){break g}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break g}i=q[e+24>>2];l=q[a+172>>2];g=v[e>>3];f=0;while(1){g=g+v[i+(f<<3)>>3]*+u[(f<<2)+l>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=g;if(q[e+16>>2]<0){break g}q[e+20>>2]=0}v[d+64>>3]=v[d+64>>3]+v[c>>3];v[d+72>>3]=v[d+72>>3]+v[e>>3];c=q[d+76>>2];q[d+56>>2]=q[d+72>>2];q[d+60>>2]=c;c=q[d+68>>2];q[d+48>>2]=q[d+64>>2];q[d+52>>2]=c;if(t[a+24>>2]<=3){o[a+20|0]=1}h:{if(j>>>0<=3){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break h}c=q[a+36>>2]+96|0}i:{if(!k){break i}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break i}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break i}q[c+20>>2]=0}v[d+48>>3]=v[d+48>>3]+v[c>>3];c=q[d+60>>2];q[d+40>>2]=q[d+56>>2];q[d+44>>2]=c;c=q[d+52>>2];q[d+32>>2]=q[d+48>>2];q[d+36>>2]=c;if(t[a+24>>2]<=4){o[a+20|0]=1}j:{if(j>>>0<=4){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break j}c=q[a+36>>2]+128|0}k:{if(!k){break k}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break k}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break k}q[c+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;if(t[a+24>>2]<=5){o[a+20|0]=1}l:{if(j>>>0<=5){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=q[a+36>>2]+160|0}m:{if(!k){break m}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break m}h=q[c+24>>2];i=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[h+(f<<3)>>3]*+u[i+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break m}q[c+20>>2]=0}g=v[c>>3];c=q[d+92>>2];e=q[d+88>>2];q[d+24>>2]=e;q[d+28>>2]=c;v[d+16>>3]=g+v[d+16>>3];q[d+8>>2]=e;q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;if(t[a+24>>2]<=6){o[a+20|0]=1}n:{if(j>>>0<=6){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break n}c=q[a+36>>2]+192|0}o:{if(!k){break o}e=q[c+20>>2];if(!e|(e|0)!=q[a+168>>2]){break o}j=q[c+24>>2];k=q[a+172>>2];g=v[c>>3];f=0;while(1){g=g+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((e|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break o}q[c+20>>2]=0}v[d>>3]=v[d>>3]+v[c>>3];pb(a,b,d+80|0,d- -64|0,d+48|0);pb(a,b,d+32|0,d+16|0,d);break a}o[a+40|0]=1}Da=d+96|0}function rn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,u=0,v=0,x=0;m=Da-16|0;Da=m;i=8;a:{if(e>>>0>100){break a}b:{c:{d:{i=q[a+32>>2];if(!i){break d}j=q[a+40>>2];k=q[a+36>>2]+q[a+28>>2]|0;h=k;while(1){l=r[h+1|0]|r[h|0]<<8;if(!((r[h+3|0]|r[h+2|0]<<8)>>>0>=b>>>0?l>>>0<=b>>>0:0)){h=h+8|0;i=i+ -1|0;if(i){continue}break d}break}i=8;g=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(g>>>0>j-k>>>0){break a}h=g+k|0;g=h+8|0;if(g>>>0>j>>>0){break d}i=r[h|0]|r[h+1|0]<<8;i=((i<<24|i<<8&16711680)>>>16|0)+ -1|0;if(i>>>0>18){break d}k=r[h+4|0]|r[h+5|0]<<8|(r[h+6|0]<<16|r[h+7|0]<<24);u=r[h+2|0]|r[h+3|0]<<8;e:{f:{switch(i-1|0){default:g=g+(b-l<<2)|0;if(g+8>>>0>j>>>0){break d}b=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((b|0)!=(g|0)){break e}break d;case 0:if(g+12>>>0>j>>>0|g+9>>>0>j>>>0){break d}i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);h=q[a+12>>2];g=g+4|0;p[h>>1]=r[g|0];p[h+2>>1]=r[g+1|0];p[h+4>>1]=o[g+2|0];p[h+6>>1]=o[g+3|0];p[h+8>>1]=r[g+4|0];if(g+8>>>0>j>>>0){break d}p[h+10>>1]=o[g+5|0];p[h+12>>1]=o[g+6|0];p[h+14>>1]=r[g+7|0];o[a+16|0]=1;g=b-l|0;b=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);g=w(g,b);b=g+b|0;break e;case 1:g=g+(b-l<<1)|0;if(g+4>>>0>j>>>0){break d}b=r[g+3|0]|r[g+2|0]<<8;g=r[g+1|0]|r[g|0]<<8;if((b|0)!=(g|0)){break e}break d;case 2:h=g+4|0;if(h>>>0>j>>>0|h+4>>>0>j>>>0){break d}g=h+ -4|0;g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(g>>>0>(j-h>>2)+ -1>>>0|!g){break d}i=0;while(1){if((r[h+1|0]|r[h|0]<<8)==(b|0)){b=r[h+7|0]|r[h+6|0]<<8;g=r[h+3|0]|r[h+2|0]<<8;break e}h=h+4|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}break d;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:break d;case 3:case 17:break f}}if(g+16>>>0>j>>>0|g+9>>>0>j>>>0){break d}i=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);h=q[a+12>>2];g=g+4|0;p[h>>1]=r[g|0];p[h+2>>1]=r[g+1|0];p[h+4>>1]=o[g+2|0];p[h+6>>1]=o[g+3|0];p[h+8>>1]=r[g+4|0];l=g+8|0;if(l>>>0>j>>>0){break d}p[h+10>>1]=o[g+5|0];p[h+12>>1]=o[g+6|0];p[h+14>>1]=r[g+7|0];o[a+16|0]=1;g=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=l+4|0;if(g>>>0>j-h>>1>>>0|!g){break d}j=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);i=0;while(1){if((r[h+1|0]|r[h|0]<<8)!=(b|0)){h=h+2|0;i=i+1|0;if((g|0)!=(i|0)){continue}break d}break}g=w(i,j);b=j+g|0}if(b>>>0>>0){break d}i=6;j=b-g|0;if(!j){break a}v=b;b=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);if(v+b>>>0>t[a+24>>2]){break a}x=q[a+4>>2];i=Xa(x,q[a+20>>2]+(b+g|0)|0);if(i){break a}i=Bc(x,j,m+12|0);if(i){break a}b=q[m+12>>2];g=b;h=(u<<8&16711680|u<<24)>>>16|0;g:{if(h>>>0>18){break g}i=1<>2];p[k>>1]=r[b|0];p[k+2>>1]=r[b+1|0];p[k+4>>1]=o[b+2|0];p[k+6>>1]=o[b+3|0];p[k+8>>1]=r[b+4|0];if((j|0)<8){break b}p[k+10>>1]=o[b+5|0];p[k+12>>1]=o[b+6|0];i=r[b+7|0];g=b+8|0;break h}i=6;if((j|0)<5){break b}k=q[a+12>>2];p[k>>1]=r[b|0];p[k+2>>1]=r[b+1|0];p[k+4>>1]=o[b+2|0];p[k+6>>1]=o[b+3|0];g=r[b+4|0];i=0;p[k+10>>1]=0;p[k+12>>1]=0;p[k+8>>1]=g;g=b+5|0}p[k+14>>1]=i;o[a+16|0]=1}k=h+ -1|0;if(k>>>0>18){break c}l=b+j|0;i=7;h=319;i:{j:{k:{l:{m:{switch(k-1|0){case 15:case 16:case 17:break b;case 7:break j;case 6:break k;case 3:break l;case 0:case 5:break m;case 1:case 2:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c;default:break i}}j=q[a+12>>2];b=s[j>>1];i=s[j+2>>1];j=w(b,i+7>>>3|0);if(w(b,i)+7>>>3>>>0>=j>>>0){break l}if((j|0)==(l-g|0)){break i}}h=320;break i}i=0;g=g+1|0;if(g>>>0>l>>>0){break b}}h=321}n:{o:{if(r[a+17|0]){break o}if(!r[a+16|0]){i=6;break b}j=q[a+12>>2];k=s[j+2>>1];b=q[a+8>>2];u=s[j>>1];q[b>>2]=u;q[b+4>>2]=k;i=3;j=r[a+18|0]+ -1|0;if(j>>>0>31){break b}v=b;p:{q:{r:{switch(j-1|0){default:o[b+18|0]=1;k=k+7>>>3|0;j=2;break p;case 0:o[b+18|0]=3;k=k+3>>>2|0;j=4;break p;case 2:o[b+18|0]=4;k=k+1>>>1|0;j=16;break p;case 6:o[b+18|0]=2;break q;case 1:case 3:case 4:case 5: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:break b;case 30:break r}}o[b+18|0]=7;k=k<<2}j=256}p[v+16>>1]=j;q[b+8>>2]=k;if(f){break o}b=w(k,u);if(!b){break o}i=_h(q[q[a>>2]+84>>2],b);if(i){break b}o[a+17|0]=1;break n}i=0;if(f){break b}}i=n[h](a,g,l,c,d,e)|0;break b}i=e?21:157;break a}i=8}zb(x,m+12|0)}Da=m+16|0;return i}function OD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;j=Da-16|0;Da=j;i=q[a+492>>2];g=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{c:{d:{e:{f:{d=q[b>>2];g:{if(d>>>0>=g>>>0){q[b+12>>2]=3;break g}h=r[d|0];if(!(h+ -48>>>0>9?(h|0)!=91:0)){c=q[b+16>>2];h:{if((h|0)==91){m=1;q[b>>2]=d+1;k=256;h=256;break h}k=n[q[b+36>>2]](b)|0;h=(k|0)<256?k:256}n[q[b+28>>2]](b);if(t[b>>2]>=g>>>0){break a}l=b+100|0;f=q[a+384>>2];i:{if(!f){break i}e=c;if(f){n[q[e+8>>2]](e,f)}q[a+384>>2]=0;e=q[a+388>>2];if(e){n[q[c+8>>2]](c,e)}q[a+388>>2]=0;e=q[b+148>>2];if(!e){break i}n[e](l)}q[a+372>>2]=h;q[b+96>>2]=h;p=a,s=Oa(c,2,0,h,0,j+12|0),q[p+384>>2]=s;e=q[j+12>>2];if(e){break f}p=a,s=Oa(c,4,0,h,0,j+12|0),q[p+388>>2]=s;e=q[j+12>>2];if(e){break f}e=n[q[q[i>>2]>>2]](l,h,c)|0;q[j+12>>2]=e;if(e){break f}if((h|0)>=1){c=0;while(1){n[q[b+144>>2]](l,c,7252,8)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>=g>>>0){break b}e=0;if(!m){while(1){j:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break j}k:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break j;case 6:break k;default:break c}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break j}i=r[c+3|0];if(i>>>0>125){break j}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break j;default:break b}}l:{if(f+ -48>>>0<=9){f=n[q[b+36>>2]](b)|0;n[q[b+28>>2]](b);d=q[b>>2];if((d|0)==(c|0)){break d}if((e|0)>=(k|0)|d+2>>>0>=g>>>0|r[d|0]!=47){break l}d=d+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){c=c-d|0;i=n[q[b+144>>2]](l,f,d,c+1|0)|0;q[b+12>>2]=i;if(i){break a}o[c+q[q[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break l}n[q[b+32>>2]](b);d=c;if(q[b+12>>2]){break a}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break b}}while(1){m:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break m}n:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break m;case 6:break n;default:break c}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break m}i=r[c+3|0];if(i>>>0>125){break m}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break m;default:break b}}if((e|0)>=(k|0)|c+2>>>0>=g>>>0|(f|0)!=47){break e}d=c+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){c=c-d|0;f=n[q[b+144>>2]](l,e,d,c+1|0)|0;q[b+12>>2]=f;if(f){break a}o[c+q[q[b+124>>2]+(e<<2)>>2]|0]=0}n[q[b+28>>2]](b);e=e+1|0;c=q[b>>2];if(c>>>0>>0){continue}break}break b}o:{if(d+17>>>0>=g>>>0){break o}if(Ra(d,9506,16)){break o}q[a+368>>2]=2;break g}p:{if(d+15>>>0>=g>>>0){break p}if(Ra(d,9523,14)){break p}q[a+368>>2]=4;break g}q:{if(d+18>>>0>=g>>>0){break q}if(Ra(d,9538,17)){break q}q[a+368>>2]=3;break g}q[b+12>>2]=162}Da=j+16|0;return}q[b+12>>2]=e;break a}q[b+12>>2]=2;break a}q[b+12>>2]=2;break a}d=c+1|0}q[a+368>>2]=1;q[b>>2]=d}Da=j+16|0}function WG(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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=Da-432|0;Da=g;h=q[b+4>>2];a:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break a}i=vb(b)}b:{c:{while(1){if((i|0)!=48){d:{if((i|0)!=46){break b}h=q[b+4>>2];if(h>>>0>=t[b+104>>2]){break d}q[b+4>>2]=h+1;i=r[h|0];break c}}else{h=q[b+4>>2];if(h>>>0>2]){z=1;q[b+4>>2]=h+1;i=r[h|0]}else{z=1;i=vb(b)}continue}break}i=vb(b)}y=1;if((i|0)!=48){break b}while(1){j=j+ -1|0;h=v+ -1|0;if(h>>>0<4294967295){j=j+1|0}v=h;h=q[b+4>>2];e:{if(h>>>0>2]){q[b+4>>2]=h+1;i=r[h|0];break e}i=vb(b)}if((i|0)==48){continue}break}z=1}h=1073676288;while(1){f:{A=i|32;g:{h:{B=i+ -48|0;if(B>>>0<10){break h}if(A+ -97>>>0>5?(i|0)!=46:0){break f}if((i|0)!=46){break h}if(y){break f}y=1;v=n;j=k;break g}i=(i|0)>57?A+ -87|0:B;i:{if((k|0)<0?1:(k|0)<=0?n>>>0>7?0:1:0){p=i+(p<<4)|0;break i}if((k|0)<0?1:(k|0)<=0?n>>>0>28?0:1:0){ad(g+48|0,i);Eb(g+32|0,w,x,o,h,0,0,0,1073414144);w=q[g+32>>2];x=q[g+36>>2];o=q[g+40>>2];h=q[g+44>>2];Eb(g+16|0,w,x,o,h,q[g+48>>2],q[g+52>>2],q[g+56>>2],q[g+60>>2]);Uc(g,l,m,s,u,q[g+16>>2],q[g+20>>2],q[g+24>>2],q[g+28>>2]);s=q[g+8>>2];u=q[g+12>>2];l=q[g>>2];m=q[g+4>>2];break i}if(!i|E){break i}Eb(g+80|0,w,x,o,h,0,0,0,1073610752);Uc(g- -64|0,l,m,s,u,q[g+80>>2],q[g+84>>2],q[g+88>>2],q[g+92>>2]);s=q[g+72>>2];u=q[g+76>>2];E=1;l=q[g+64>>2];m=q[g+68>>2]}n=n+1|0;if(n>>>0<1){k=k+1|0}z=1}i=q[b+4>>2];if(i>>>0>2]){q[b+4>>2]=i+1;i=r[i|0]}else{i=vb(b)}continue}break}j:{k:{l:{if(!z){if(!q[b+104>>2]){if(f){break k}break l}c=q[b+4>>2];q[b+4>>2]=c+ -1;if(!f){break l}q[b+4>>2]=c+ -2;if(!y){break k}q[b+4>>2]=c+ -3;break k}if((k|0)<0?1:(k|0)<=0?n>>>0>7?0:1:0){o=n;h=k;while(1){p=p<<4;i=o+1|0;if(i>>>0<1){h=h+1|0}o=i;if((i|0)!=8|h){continue}break}}m:{if((A|0)==112){o=mp(b,f);i=Ea;h=i;if(o|(h|0)!=-2147483648){break m}if(f){o=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1;break m}l=0;m=0;xd(b,0,0);c=0;b=0;break j}o=0;h=0;if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1}if(!p){ae(g+112|0,+(e|0)*0);l=q[g+112>>2];m=q[g+116>>2];c=q[g+120>>2];b=q[g+124>>2];break j}f=y?v:n;j=(y?j:k)<<2|f>>>30;b=o+(f<<2)|0;f=h+j|0;f=b>>>0>>0?f+1|0:f;b=b+ -32|0;h=f+ -1|0;h=b>>>0<4294967264?h+1|0:h;n=b;b=0-d|0;f=n>>>0<=b>>>0?0:1;k=h;b=b>>31;if((h|0)>(b|0)?1:(h|0)>=(b|0)?f:0){q[160942]=68;ad(g+160|0,e);Eb(g+144|0,q[g+160>>2],q[g+164>>2],q[g+168>>2],q[g+172>>2],-1,-1,-1,2147418111);Eb(g+128|0,q[g+144>>2],q[g+148>>2],q[g+152>>2],q[g+156>>2],-1,-1,-1,2147418111);l=q[g+128>>2];m=q[g+132>>2];c=q[g+136>>2];b=q[g+140>>2];break j}b=d+ -226|0;f=n>>>0>>0?0:1;b=b>>31;if((k|0)>(b|0)?1:(k|0)>=(b|0)?f:0){if((p|0)>-1){while(1){Uc(g+416|0,l,m,s,u,0,0,0,-1073807360);h=BG(l,m,s,u);f=(h|0)<0;b=f;Uc(g+400|0,l,m,s,u,b?l:q[g+416>>2],b?m:q[g+420>>2],b?s:q[g+424>>2],b?u:q[g+428>>2]);k=k+ -1|0;b=n+ -1|0;if(b>>>0<4294967295){k=k+1|0}n=b;s=q[g+408>>2];u=q[g+412>>2];l=q[g+400>>2];m=q[g+404>>2];p=p<<1|(h|0)>-1;if((p|0)>-1){continue}break}}b=d;o=(n-b|0)+32|0;j=k-((b>>31)+(n>>>0>>0)|0)|0;b=o;d=(b|0)>0?b:0;h=c;j=b>>>0<32?j+1|0:j;b=h>>31;c=((j|0)<(b|0)?1:(j|0)<=(b|0)?o>>>0>=h>>>0?0:1:0)?d:h;n:{if((c|0)>=113){ad(g+384|0,e);v=q[g+392>>2];j=q[g+396>>2];w=q[g+384>>2];x=q[g+388>>2];d=0;b=0;break n}ae(g+352|0,Kd(1,144-c|0));ad(g+336|0,e);w=q[g+336>>2];x=q[g+340>>2];v=q[g+344>>2];j=q[g+348>>2];pp(g+368|0,q[g+352>>2],q[g+356>>2],q[g+360>>2],q[g+364>>2],w,x,v,j);C=q[g+376>>2];D=q[g+380>>2];d=q[g+372>>2];b=q[g+368>>2]}c=!(p&1)&((tf(l,m,s,u,0,0,0,0)|0)!=0&(c|0)<32);Oe(g+320|0,c+p|0);Eb(g+304|0,w,x,v,j,q[g+320>>2],q[g+324>>2],q[g+328>>2],q[g+332>>2]);Uc(g+272|0,q[g+304>>2],q[g+308>>2],q[g+312>>2],q[g+316>>2],b,d,C,D);Eb(g+288|0,c?0:l,c?0:m,c?0:s,c?0:u,w,x,v,j);Uc(g+256|0,q[g+288>>2],q[g+292>>2],q[g+296>>2],q[g+300>>2],q[g+272>>2],q[g+276>>2],q[g+280>>2],q[g+284>>2]);Pj(g+240|0,q[g+256>>2],q[g+260>>2],q[g+264>>2],q[g+268>>2],b,d,C,D);e=q[g+240>>2];d=q[g+244>>2];c=q[g+248>>2];b=q[g+252>>2];if(!tf(e,d,c,b,0,0,0,0)){q[160942]=68}op(g+224|0,e,d,c,b,n);l=q[g+224>>2];m=q[g+228>>2];c=q[g+232>>2];b=q[g+236>>2];break j}q[160942]=68;ad(g+208|0,e);Eb(g+192|0,q[g+208>>2],q[g+212>>2],q[g+216>>2],q[g+220>>2],0,0,0,65536);Eb(g+176|0,q[g+192>>2],q[g+196>>2],q[g+200>>2],q[g+204>>2],0,0,0,65536);l=q[g+176>>2];m=q[g+180>>2];c=q[g+184>>2];b=q[g+188>>2];break j}xd(b,0,0)}ae(g+96|0,+(e|0)*0);l=q[g+96>>2];m=q[g+100>>2];c=q[g+104>>2];b=q[g+108>>2]}q[a>>2]=l;q[a+4>>2]=m;q[a+8>>2]=c;q[a+12>>2]=b;Da=g+432|0}function aE(a,b,c,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:{d:{e:{if(b>>>0>45){break e}f=(e|0)>0?e:0;f:{g:{switch(b-1|0){default:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+437|0];break b;case 0:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}if(c>>>0>3){q[d>>2]=0;break c}h:{i:{switch(c-1|0){default:a=a+440|0;break h;case 0:a=a+444|0;break h;case 1:a=a+448|0;break h;case 2:break i}}a=a+452|0}q[d>>2]=q[a>>2];break c;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}if(c>>>0>3){q[d>>2]=0;break c}j:{k:{switch(c-1|0){default:a=a+464|0;break j;case 0:a=a+468|0;break j;case 1:a=a+472|0;break j;case 2:break k}}a=a+476|0}q[d>>2]=q[a>>2];break c;case 2:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+436|0];break b;case 3:a=q[a+364>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 4:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+168>>2];break c;case 5:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+420>>2];break c;case 6:if(t[a+420>>2]<=c>>>0){break e}a=q[q[a+424>>2]+(c<<2)>>2];c=Wa(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,a,b)+c|0,h=0,o[g|0]=h;break f;case 7:if(t[a+420>>2]<=c>>>0){break e}e=q[q[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,q[q[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,o[g|0]=h;break f;case 8:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+368>>2];break c;case 9:if(q[a+368>>2]!=1|t[a+372>>2]<=c>>>0){break e}c=q[q[a+388>>2]+(c<<2)>>2];a=Wa(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,c,a)+a|0,h=0,o[g|0]=h;break f;case 10:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+404>>2];break c;case 11:b=q[a+416>>2];l:{if(b){b=dc(c,b);if(!b){break e}c=q[b>>2];break l}if(t[a+404>>2]<=c>>>0){break e}}e=q[a+408>>2];if(!e){break e}a=q[q[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=Qa(d,q[e+(c<<2)>>2],a)+a|0,h=0,o[g|0]=h;break f;case 12:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+288>>1];break a;case 13:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+290>>1];break a;case 14:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+176|0];break b;case 15:if(r[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+180>>1];break a;case 23:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+276>>2];break c;case 16:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+284>>2];break c;case 24:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+280>>2];break c;case 17:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+177|0];break b;case 18:if(r[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+208>>1];break a;case 19:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+178|0];break b;case 20:if(r[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+228>>1];break a;case 21:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+179|0];break b;case 22:if(r[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+256>>1];break a;case 25:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+292|0];break b;case 26:if(r[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+296>>1];break a;case 27:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+293|0];break b;case 28:if(r[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+322>>1];break a;case 30:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+295|0];break b;case 29:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+294|0];break b;case 31:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[((c<<1)+a|0)+360>>1];break a;case 32:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+172>>2];break c;case 33:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+356>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+352>>2];break c;case 40:b=1;if(!d|(e|0)<1){break c}o[d|0]=r[a+156|0];break b;case 41:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+158>>1];break a;case 42:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+160>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}p[d>>1]=s[a+164>>1];break a;case 35:a=q[a+132>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 36:a=q[a+136>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 37:a=q[a+140>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 38:a=q[a+144>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b);break f;case 44:break d;case 39:break g}}a=q[a+148>>2];if(!a){break e}b=Wa(a)+1|0;if(!d|f>>>0>>0){break f}Qa(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}q[d>>2]=q[a+152>>2]}return b|0}return 1}return 2}function v$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0,x=0,y=0,z=0;p=Da-176|0;Da=p;f=Hd(p+24|0,0,d,e);q[f+100>>2]=431;h=q[a+56>>2];if(h){while(1){u=271312;u=h>>>0>y>>>0?q[a+60>>2]+(y<<3)|0:u;if(m>>>0>2]){while(1){g=p;if(t[a+32>>2]<=m>>>0){i=271312}else{i=q[a+36>>2]+(m<<3)|0}v=s[i>>1];q[g+16>>2]=v;if(jd(e,d,229085,p+16|0)){q[f+124>>2]=v;i=t[a+32>>2]<=m>>>0;if(i){g=271312}else{g=q[a+36>>2]+(m<<3)|0}h=q[g+4>>2];q[f+32>>2]=0;q[f+116>>2]=h;q[f+24>>2]=0;q[f+28>>2]=0;g=q[f+128>>2];q[f+8>>2]=g;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=r[f+142|0];q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=g;q[f+60>>2]=-1;o[f+57|0]=1;j=q[f+120>>2]==1;o[f+12|0]=j;k=j|r[f+141|0]!=0;o[f+56|0]=k;q[f+4>>2]=f;q[f+48>>2]=f;l=r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+12|0]=j;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;o[f+56|0]=k;q[f+52>>2]=g;l=l>>>1&1;o[f+142|0]=l;o[f+13|0]=l;q[f+4>>2]=f;q[f+48>>2]=f;k=r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=l;o[f+12|0]=j;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=g;g=k&1;o[f+141|0]=g;o[f+56|0]=g|j;q[f+4>>2]=f;q[f+48>>2]=f;if(r[(i?271312:q[a+36>>2]+(m<<3)|0)+2|0]&4){o[f+143|0]=1;rb(e,0,q[e+76>>2])}h=271312;g=q[b>>2];j=r[g+9|0]|r[g+8|0]<<8;g=j?g+j|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>v>>>0){i=g;g=g+(v<<1)|0;g=r[g+2|0]<<8|r[g+3|0];h=g?i+g|0:271312}j=q[f+96>>2];a:{if(!q[j+76>>2]){break a}g=q[f+116>>2];if(!g){break a}l=q[b+4>>2];k=r[h+3|0];i=k|r[h+2|0]<<8;if(k&16){k=i;i=(h+4|0)+(r[h+5|0]<<1|r[h+4|0]<<9)|0;i=k|r[i+2|0]<<24|r[i+3|0]<<16}l=l+w(v,24)|0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+32>>2]=0;q[f+128>>2]=i;q[f+24>>2]=0;q[f+28>>2]=0;q[f+8>>2]=i;q[f+76>>2]=0;q[f+16>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=i;o[f+13|0]=r[f+142|0];g=q[f+120>>2]==1;o[f+12|0]=g;o[f+56|0]=g|r[f+141|0]!=0;q[f+4>>2]=f;q[f+48>>2]=f;b:{g=r[h|0]|r[h+1|0]<<8;g=((g<<24|g<<8&16711680)>>>16|0)+ -7|0;c:{if(g>>>0>1){break c}if(!(g-1)){break b}g=r[h+5|0]|r[h+4|0]<<8?h+6|0:271312;g=r[g|0]<<8|r[g+1|0];g=g?g+h|0:271312;if((r[g|0]<<8|r[g+1|0])!=1){break c}if((r[g+3|0]|r[g+2|0]<<8)==8){break b}}if(q[j+4>>2]){q[j+80>>2]=0;o[j+69|0]=1;o[j+70|0]=0;q[j+92>>2]=q[j+88>>2]}q[j+72>>2]=0;h=q[f+96>>2];i=q[h+72>>2];if(i>>>0>=t[h+76>>2]){break a}z=0;while(1){if(r[h+68|0]){i=q[h+88>>2]+w(i,20)|0;g=q[i>>2];d:{e:{if(!(q[l>>2]>>>(g>>>4&31)&1)|!(q[l+4>>2]>>>(g&31)&1)|(!(q[l+8>>2]>>>(g>>>9&31)&1)|!(q[f+116>>2]&q[i+4>>2]))){break e}k=q[f+128>>2];i=s[i+12>>1];if(k&i&14){break e}if(i&8){if(!mf(f,g,i,k)){break e}}i=0;k=q[l+16>>2];if(!k){break e}while(1){g=k>>>0<=i>>>0?271312:q[l+20>>2]+w(i,20)|0;x=q[f+96>>2];x=q[q[x+88>>2]+w(q[x+72>>2],20)>>2];if(!(!(q[g+8>>2]>>>(x>>>4&31)&1)|!(q[g+12>>2]>>>(x&31)&1)|!(q[g+16>>2]>>>(x>>>9&31)&1))){if(n[q[g+4>>2]](q[g>>2],f)){z=1;break d}k=q[l+16>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}if(r[h+69|0]){f:{if(q[h+92>>2]==q[h+88>>2]){i=q[h+80>>2];if((i|0)==q[h+72>>2]){break f}}if(!Va(h,1,1)){break d}i=q[h+88>>2]+w(q[h+72>>2],20)|0;k=q[i+4>>2];g=q[h+92>>2]+w(q[h+80>>2],20)|0;q[g>>2]=q[i>>2];q[g+4>>2]=k;q[g+16>>2]=q[i+16>>2];k=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=k;i=q[h+80>>2]}q[h+80>>2]=i+1}q[h+72>>2]=q[h+72>>2]+1}i=q[h+72>>2];if(i>>>0>2]){continue}}break}if(!z){break a}Kc(j);break a}if(q[j+4>>2]){q[j+80>>2]=0;o[j+69|0]=0;o[j+70|0]=0;q[j+92>>2]=q[j+88>>2]}q[j+72>>2]=q[j+76>>2]+ -1;j=q[f+96>>2];h=q[j+72>>2];while(1){h=q[j+88>>2]+w(h,20)|0;g=q[h>>2];g:{if(!(q[l>>2]>>>(g>>>4&31)&1)|!(q[l+4>>2]>>>(g&31)&1)|(!(q[l+8>>2]>>>(g>>>9&31)&1)|!(q[f+116>>2]&q[h+4>>2]))){break g}i=q[f+128>>2];h=s[h+12>>1];if(i&h&14){break g}if(h&8){if(!mf(f,g,h,i)){break g}}h=0;k=q[l+16>>2];if(!k){break g}while(1){g=k>>>0<=h>>>0?271312:q[l+20>>2]+w(h,20)|0;i=q[f+96>>2];i=q[q[i+88>>2]+w(q[i+72>>2],20)>>2];if(!(!(q[g+8>>2]>>>(i>>>4&31)&1)|!(q[g+12>>2]>>>(i&31)&1)|!(q[g+16>>2]>>>(i>>>9&31)&1))){if(n[q[g+4>>2]](q[g>>2],f)){break g}k=q[l+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}h=q[j+72>>2]+ -1|0;q[j+72>>2]=h;if((h|0)>-1){continue}break}}q[p>>2]=v;jd(e,d,229101,p)}m=m+1|0;if(m>>>0>2]){continue}break}}if(q[u+4>>2]){if(q[e+4>>2]){q[e+80>>2]=0;o[e+69|0]=1;o[e+70|0]=0;q[e+92>>2]=q[e+88>>2]}n[q[u+4>>2]](c,d,e)}y=y+1|0;h=q[a+56>>2];if(y>>>0>>0){continue}break}}Da=p+176|0}function MD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=Da-16|0;Da=d;k=q[b+16>>2];l=q[b+8>>2];e=q[b>>2];p=q[a+492>>2];a:{b:{c=n[q[b+36>>2]](b)|0;if((c|0)<=-1){break b}e=l-e>>3;e=(c|0)>(e|0)?e:c;if(q[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;c:{if(!q[b+152>>2]){f=e+6|0;c=n[q[q[p>>2]>>2]](j,f,k)|0;q[d+12>>2]=c;if(c){break c}c=n[q[q[p>>2]>>2]](m,f,k)|0;q[d+12>>2]=c;if(c){break c}c=n[q[q[p>>2]>>2]](i,4,k)|0;q[d+12>>2]=c;if(c){break c}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>=l>>>0){break b}x=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}e=r[c+3|0];if(e>>>0>125){break g}h:{switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break g;default:break h}}e=r[c|0]+ -100|0;if(e>>>0>1){break g}if(e-1){if(!g|r[c+1|0]!=101|r[c+2|0]!=102){break g}break e}if(r[c+1|0]!=110){break g}if(r[c+2|0]==100){break f}}n[q[b+32>>2]](b);h=q[b>>2];if(h>>>0>=l>>>0){break b}if(q[b+12>>2]){break a}i:{if(r[c|0]!=47){break i}if(c+2>>>0>=l>>>0){q[d+12>>2]=3;break d}s=q[q[a+128>>2]+52>>2];f=q[b+8>>2];n[q[b+28>>2]](b);j:{e=q[b>>2];k:{if(e>>>0>=f>>>0|r[e|0]+ -48>>>0>9){break k}e=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((e|0)<0){break k}u=f;v=q[b>>2];f=v+1|0;if((e|0)<(u-f|0)){break j}}if(s){break a}q[b+12>>2]=3;break a}q[b>>2]=(e+v|0)+1;if(q[b+12>>2]){break a}if(q[b+152>>2]){break i}c=c+1|0;h=h-c|0;s=n[q[b+200>>2]](m,g,c,h+1|0)|0;q[d+12>>2]=s;if(s){break d}u=h;h=g<<2;o[u+q[h+q[b+180>>2]>>2]|0]=0;if(r[c|0]==46){c=Ta(7252,q[h+q[b+180>>2]>>2]);w=c?w:1;t=c?t:g}l:{m:{if((g|0)>=(x|0)){break m}c=q[a+172>>2];if((c|0)<0){break m}if(e>>>0<=c>>>0){q[d+12>>2]=3;break d}c=gb(k,e,d+12|0);if(q[d+12>>2]){break d}c=Qa(c,f,e);n[q[p+16>>2]](c,e,4330);f=q[a+172>>2];y=d,z=n[q[b+252>>2]](j,g,f+c|0,e-f|0)|0,q[y+12>>2]=z;if(c){n[q[k+8>>2]](k,c)}c=q[d+12>>2];break l}c=n[q[b+252>>2]](j,g,f,e)|0;q[d+12>>2]=c}if(c){break d}g=g+1|0}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}}break}if(!g){break b}}q[b+152>>2]=g;if(w&255){a=q[q[b+180>>2]>>2];if(!Ta(7252,a)){break a}c=n[q[b+304>>2]](i,0,a,q[q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,1,q[q[b+232>>2]>>2],q[q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}a=t<<2;c=n[q[b+304>>2]](i,2,q[a+q[b+180>>2]>>2],q[a+q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,3,q[a+q[b+232>>2]>>2],q[a+q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,t,q[q[b+284>>2]>>2],q[q[b+288>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,t,q[q[b+284>>2]+4>>2],q[q[b+288>>2]+4>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,0,q[q[b+284>>2]+8>>2],q[q[b+288>>2]+8>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,0,q[q[b+284>>2]+12>>2],q[q[b+288>>2]+12>>2])|0;q[d+12>>2]=c;if(c){break c}break a}o[d+8|0]=r[9568];q[d+4>>2]=r[9564]|r[9565]<<8|(r[9566]<<16|r[9567]<<24);c=n[q[b+304>>2]](i,0,q[q[b+180>>2]>>2],q[q[b+184>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+304>>2]](i,1,q[q[b+232>>2]>>2],q[q[b+236>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,0,7252,8)|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,0,d+4|0,5)|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+200>>2]](m,g,q[q[b+284>>2]>>2],q[q[b+288>>2]>>2])|0;q[d+12>>2]=c;if(c){break c}c=n[q[b+252>>2]](j,g,q[q[b+284>>2]+4>>2],q[q[b+288>>2]+4>>2])|0;q[d+12>>2]=c;if(c){break c}q[b+152>>2]=q[b+152>>2]+1;break a}c=q[d+12>>2]}q[b+12>>2]=c;break a}q[d+12>>2]=3;q[b+12>>2]=3}Da=d+16|0}function HT(a,b,c){a=a|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,u=0,v=0;g=Da-32|0;Da=g;f=q[a+112>>2];d=q[f>>2];a:{if(q[d+12>>2]!=1){break a}h=q[f+8>>2];q[g+8>>2]=h;if((h|0)==-1){e=f;b:{c:{h=q[d+8>>2];if(!h){break c}q[g+8>>2]=0;d=h;h=q[b+72>>2];if(!n[q[h+156>>2]](b,q[b+76>>2],d,g+8|0,q[h+20>>2])){break c}h=q[g+8>>2];break b}q[g+8>>2]=0;h=0}q[e+8>>2]=h}if(!h){break a}l=q[c+76>>2];if(!l){break a}k=q[c+88>>2];m=q[b+16>>2];v=g+12|0;while(1){u=k+w(j,20)|0;if(r[u+19|0]==4){e=q[u>>2];q[g+16>>2]=h;q[g+12>>2]=e;q[g+8>>2]=h;d=0;d:{e:{if(!q[f+40>>2]){break e}while(1){i=8;if(sd(m,s[q[f+36>>2]+(d<<3)>>1],g+8|0,2,r[f+44|0])){break d}d=d+1|0;e=q[f+40>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break e}while(1){if(sd(m,s[q[f+36>>2]+(d<<3)>>1],v,2,r[f+44|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;f:{if(!q[f+64>>2]){break f}while(1){i=8;if(sd(m,s[q[f+60>>2]+(d<<3)>>1],g+8|0,2,r[f+68|0])){break d}d=d+1|0;e=q[f+64>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break f}while(1){if(sd(m,s[q[f+60>>2]+(d<<3)>>1],v,2,r[f+68|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;g:{if(!q[f+52>>2]){break g}while(1){i=11;if(sd(m,s[q[f+48>>2]+(d<<3)>>1],g+8|0,2,r[f+56|0])){break d}d=d+1|0;e=q[f+52>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break g}while(1){if(sd(m,s[q[f+48>>2]+(d<<3)>>1],v,2,r[f+56|0])){break d}d=d+1|0;if(d>>>0>2]){continue}break}}d=0;i=4;if(!q[f+28>>2]){break d}h:{while(1){if(sd(m,s[q[f+24>>2]+(d<<3)>>1],g+8|0,2,r[f+32|0])){break h}d=d+1|0;e=q[f+28>>2];if(d>>>0>>0){continue}break}d=0;if(!e){break d}while(1){if(sd(m,s[q[f+24>>2]+(d<<3)>>1],v,2,r[f+32|0])){break h}d=d+1|0;if(d>>>0>2]){continue}break}break d}i=11}o[u+19|0]=i}j=j+1|0;if((l|0)!=(j|0)){continue}break}}i:{if(r[c+16|0]&16){break i}d=q[c+76>>2];if(!d){break i}h=q[c+88>>2];e=0;while(1){if((r[(h+w(e,20)|0)+15|0]&15)!=4){e=e+1|0;if((d|0)!=(e|0)){continue}break i}break}q[g+28>>2]=0;e=q[b+72>>2];if(!n[q[e+156>>2]](b,q[b+76>>2],9676,g+28|0,q[e+20>>2])){break i}q[g+20>>2]=0;q[g+24>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+8>>2]=9676;Ft(g+8|0);u=q[g+28>>2];q[g+8>>2]=u;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;i=q[c+76>>2];j:{if(!i){break j}l=q[g+24>>2];e=0;h=0;while(1){if(!r[c+68|0]){break j}d=q[c+88>>2];j=d+w(e,20)|0;f=r[j+15|0];k:{if(!((f|0)==(h|0)|(f&15)!=4)){p[g+4>>1]=s[g+20>>1];o[g+6|0]=r[g+22|0];k=q[j+4>>2];h=q[j+8>>2];l:{if(e>>>0>=i>>>0){break l}while(1){if(r[(w(e,20)+d|0)+18|0]!=15){break l}m:{if(r[c+69|0]){n:{if(q[c+92>>2]==(d|0)){d=e;if((d|0)==q[c+80>>2]){break n}}if(!Va(c,1,1)){e=q[c+72>>2];break m}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];j=q[c+92>>2]+w(q[c+80>>2],20)|0;q[j>>2]=q[d>>2];q[j+4>>2]=e;q[j+16>>2]=q[d+16>>2];e=q[d+12>>2];q[j+8>>2]=q[d+8>>2];q[j+12>>2]=e;e=q[c+72>>2];d=q[c+80>>2]}q[c+80>>2]=d+1}e=e+1|0;q[c+72>>2]=e}if(!r[c+68|0]|e>>>0>=t[c+76>>2]){break l}d=q[c+88>>2];if((f|0)==r[(d+w(e,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e+8>>2]=h;q[e+4>>2]=k;q[e>>2]=u;p[e+12>>1]=s[g+4>>1];o[e+14|0]=r[g+6|0];q[e+16>>2]=l;o[e+15|0]=f;q[c+80>>2]=q[c+80>>2]+1}h=f;break k}if(r[c+69|0]){o:{if(q[c+92>>2]==(d|0)){d=e;if((d|0)==q[c+80>>2]){break o}}if(!Va(c,1,1)){break k}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;q[f>>2]=q[d>>2];q[f+4>>2]=e;q[f+16>>2]=q[d+16>>2];e=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=e;e=q[c+72>>2];d=q[c+80>>2]}q[c+80>>2]=d+1}q[c+72>>2]=e+1}e=q[c+72>>2];i=q[c+76>>2];if(e>>>0>>0){continue}break}}Kc(c)}f=q[c+76>>2];if(f){k=f+ -1|0;e=0;d=q[c+88>>2];h=r[d+15|0];while(1){p:{if((e|0)==(k|0)){e=f;break p}e=e+1|0;if((h|0)==r[(d+w(e,20)|0)+15|0]){continue}}break}i=q[c+88>>2];l=r[i+15|0];d=0;while(1){h=e;k=l&15;q:{if(k>>>0>4){break q}e=q[b+16>>2];r:{s:{switch(k-2|0){case 1:break q;case 0:case 2:break s;default:break r}}if(!r[q[a+112>>2]+5|0]){break r}if(r[(w(h,20)+i|0)+ -2|0]==12){break q}}AT(a,e,c,d,h)}k=q[c+76>>2];e=h+1|0;d=k>>>0>e>>>0?k:e;i=q[c+88>>2];l=r[(i+w(h,20)|0)+15|0];e=h;while(1){t:{e=e+1|0;if(e>>>0>=k>>>0){e=d;break t}if(r[(w(e,20)+i|0)+15|0]==(l|0)){continue}}break}d=h;if(d>>>0>>0){continue}break}}Da=g+32|0}function Sh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Da-16|0;Da=j;q[j+12>>2]=0;q[j+8>>2]=0;g=6;a:{if(!b|!d&(c|0)>-1){break a}k=r[b|0]&2?q[b+16>>2]!=0:k;q[j+12>>2]=0;b:{if(!a){g=33;break b}h=q[a>>2];f=n[q[h+4>>2]](h,40)|0;c:{if(!f){g=64;break c}o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;q[f+28>>2]=h;d:{e:{f:{g:{i=q[b>>2];if(i&1){i=q[b+4>>2];g=q[b+8>>2];q[f+32>>2]=0;q[f+8>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f>>2]=i;q[f+4>>2]=g;break g}h:{if(!(i&4)){if(!(i&2)|!q[b+16>>2]){break h}n[q[h+8>>2]](h,f);f=q[b+16>>2];break g}g=Vd(f,q[b+12>>2]);q[f+16>>2]=q[b+12>>2];if(!g){break g}}n[q[h+8>>2]](h,f);q[j+12>>2]=0;i=0;break f}q[f+28>>2]=h;q[j+12>>2]=f;m=q[a>>2];i:{j:{l=q[b>>2];if(!(l&8)){break j}i=q[b+20>>2];if(!i){break j}g=32;if(o[q[i>>2]]&1){f=0;a=i;g=j+12|0;e=k;h=c;if(l&16){f=q[b+28>>2];b=q[b+24>>2]}else{b=0}g=ck(a,g,e,h,b,f,j+8|0);if(!g){break i}f=q[j+12>>2]}if(!f){break b}a=q[f+28>>2];b=q[f+24>>2];if(b){n[b](f)}if(k){break b}n[q[a+8>>2]](a,f);break b}i=q[a+16>>2];if((i|0)<1){g=11;i=0;break c}f=a+20|0;l=f+(i<<2)|0;g=11;h=0;if(!e){while(1){i=q[f>>2];if(o[q[i>>2]]&1){g=0;h=0;if(r[b|0]&16){g=q[b+24>>2];h=q[b+28>>2]}g=ck(i,j+12|0,k,c,g,h,j+8|0);if(!g){break i}if((g&255)!=2){break f}h=i}f=f+4|0;if(f>>>0>>0){continue}break}i=h;break f}k:{while(1){i=q[f>>2];if(o[q[i>>2]]&1){g=0;h=0;if(r[b|0]&16){g=q[b+24>>2];h=q[b+28>>2]}g=ck(i,j+12|0,k,c,g,h,j+8|0);if(!g){break i}h=g&255;if(!(Ta(q[q[q[f>>2]>>2]+8>>2],4112)|(h|0)!=142)){h=q[j+12>>2];g=q[h+20>>2];if(g){if(n[g](h,0,0,0)){break e}}q[h+8>>2]=0;g=Dp(a,h,c,d);if(!g){break k}h=g&255}if((h|0)!=2){break f}h=i}f=f+4|0;if(f>>>0>>0){continue}break}i=h;break f}a=q[h+28>>2];b=q[h+24>>2];if(b){n[b](h)}g=0;if(k){break a}n[q[a+8>>2]](a,h);break a}b=n[q[m+4>>2]](m,12)|0;if(!b){g=64;break b}a=q[j+8>>2];q[b+8>>2]=a;e=q[a+96>>2];i=q[e+20>>2];q[b>>2]=i;q[b+4>>2]=0;q[(i?i+4|0:e+16|0)>>2]=b;q[e+20>>2]=b;l:{if((c|0)>=0){g=jk(a,0);if(g){break l}g=zp(a,j+4|0);if(g){break l}q[a+88>>2]=q[j+4>>2]}b=q[a+8>>2];m:{if(!(b&1)){break m}g=p[a+74>>1];if((g|0)<=-1){g=0-g|0;p[a+74>>1]=g}if(b&32){break m}p[a+78>>1]=g}n:{if(!(b&2)){break n}c=q[a+28>>2];if((c|0)<1){break n}e=q[a+32>>2];g=0;while(1){b=e+(g<<4)|0;i=p[b>>1];if((i|0)<=-1){i=0-i|0;p[b>>1]=i}h=q[b+8>>2];if((h|0)<=-1){q[b+8>>2]=0-h}h=q[b+12>>2];if((h|0)<=-1){q[b+12>>2]=0-h}if(i<<16>>16<=-1){q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}g=g+1|0;if((c|0)!=(g|0)){continue}break}}b=q[a+128>>2];q[b+64>>2]=1;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=65536;q[b>>2]=65536;q[b+4>>2]=0;o[b+56|0]=255;if(d){q[d>>2]=a;g=0;break a}c=q[a+96>>2];if(!c){g=0;break a}g=0;q[b+64>>2]=0;b=q[c+16>>2];if(!b){break a}i=c+16|0;d=q[c+8>>2];while(1){if((a|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break a}break}e=q[b>>2];h=e?e+4|0:i;i=q[b+4>>2];q[h>>2]=i;q[(i?i:c+20|0)>>2]=e;n[q[d+8>>2]](d,b);vf(d,a,c);break a}if(!a){break a}c=q[a+96>>2];if(!c){break a}d=q[a+128>>2];b=q[d+64>>2];q[d+64>>2]=b+ -1;if((b|0)>1){break a}b=q[c+16>>2];if(!b){break a}i=c+16|0;d=q[c+8>>2];while(1){if((a|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break a}break}e=q[b>>2];h=e?e+4|0:i;i=q[b+4>>2];q[h>>2]=i;q[(i?i:c+20|0)>>2]=e;n[q[d+8>>2]](d,b);vf(d,a,c);break a}o:{h=g&255;f=h+ -81|0;if(f>>>0>4){if((h|0)!=2){break c}break o}switch(f-1|0){case 0:case 1:case 2:break c;default:break o}}if(!e){break d}h=q[j+12>>2]}g=dH(a,h,c,d);if((g&255)==2){g=Xj(a,h,0,c,d)}e=g&255;if(!(((e|0)!=2?(e|0)!=85:0)|!(r[b|0]&4))){g=XG(a,h,c,d,b)}if(g){break d}g=0;if(!h){break a}a=q[h+28>>2];b=q[h+24>>2];if(b){n[b](h)}if(k){break a}n[q[a+8>>2]](a,h);break a}g=(g&255)==2?2:g}a=q[j+12>>2];if(!a){break b}b=q[a+28>>2];c=q[a+24>>2];if(c){n[c](a)}if(k){break b}n[q[b+8>>2]](b,a)}a=q[j+8>>2];if(!a){break a}vf(m,a,i)}Da=j+16|0;return g}function EA(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Da-112|0;d=s[c+2>>1]+ -1|0;q[f+4>>2]=d;d=d+s[c+4>>1]|0;q[f+8>>2]=d;d=d+s[c+6>>1]|0;q[f+12>>2]=d;d=d+s[c+8>>1]|0;q[f+16>>2]=d;e=s[c+10>>1];q[f>>2]=17;q[f+20>>2]=d+e;e=(r[b+17|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=17;e=(r[b+16|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=16;e=(r[b+15|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=15;e=(r[b+14|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=14;e=(r[b+13|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=13;e=(r[b+12|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=12;e=(r[b+11|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=11;e=(r[b+10|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=10;e=(r[b+9|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=9;e=(r[b+8|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=8;e=(r[b+7|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=7;e=(r[b+6|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=6;e=(r[b+5|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=5;e=(r[b+4|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=4;e=(r[b+3|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=3;e=(r[b+2|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=2;e=(r[b+1|0]<<2)+f|0;d=q[e>>2];q[e>>2]=d+ -1;q[(f+32|0)+(d<<2)>>2]=1;d=(r[b|0]<<2)+f|0;b=q[d>>2];q[d>>2]=b+ -1;e=0;q[(f+32|0)+(b<<2)>>2]=0;a:{if(q[f>>2]){g=s[c+2>>1];if(g){while(1){b=(r[e+153120|0]<<2)+a|0;d=q[(f+32|0)+(h<<2)>>2]<<16|1;p[b+112>>1]=d;p[b+114>>1]=d>>>16;p[b+120>>1]=d;p[b+122>>1]=d>>>16;p[b+104>>1]=d;p[b+106>>1]=d>>>16;p[b+96>>1]=d;p[b+98>>1]=d>>>16;p[b+88>>1]=d;p[b+90>>1]=d>>>16;p[b+80>>1]=d;p[b+82>>1]=d>>>16;p[b+72>>1]=d;p[b+74>>1]=d>>>16;p[b+64>>1]=d;p[b+66>>1]=d>>>16;p[b+56>>1]=d;p[b+58>>1]=d>>>16;p[b+48>>1]=d;p[b+50>>1]=d>>>16;p[b+40>>1]=d;p[b+42>>1]=d>>>16;p[b+32>>1]=d;p[b+34>>1]=d>>>16;p[b+24>>1]=d;p[b+26>>1]=d>>>16;p[b+16>>1]=d;p[b+18>>1]=d>>>16;p[b+8>>1]=d;p[b+10>>1]=d>>>16;p[b>>1]=d;p[b+2>>1]=d>>>16;e=e+128|0;h=h+1|0;g=g+ -1|0;if(g){continue}break}}g=s[c+4>>1];if(g){while(1){b=(r[e+153120|0]<<2)+a|0;d=q[(f+32|0)+(h<<2)>>2]<<16|2;p[b+96>>1]=d;p[b+98>>1]=d>>>16;p[b+112>>1]=d;p[b+114>>1]=d>>>16;p[b+80>>1]=d;p[b+82>>1]=d>>>16;p[b+64>>1]=d;p[b+66>>1]=d>>>16;p[b+48>>1]=d;p[b+50>>1]=d>>>16;p[b+32>>1]=d;p[b+34>>1]=d>>>16;p[b+16>>1]=d;p[b+18>>1]=d>>>16;p[b>>1]=d;p[b+2>>1]=d>>>16;e=e- -64|0;h=h+1|0;g=g+ -1|0;if(g){continue}break}}g=s[c+6>>1];if(g){while(1){b=(r[e+153120|0]<<2)+a|0;d=q[(f+32|0)+(h<<2)>>2]<<16|3;p[b+64>>1]=d;p[b+66>>1]=d>>>16;p[b+96>>1]=d;p[b+98>>1]=d>>>16;p[b+32>>1]=d;p[b+34>>1]=d>>>16;p[b>>1]=d;p[b+2>>1]=d>>>16;e=e+32|0;h=h+1|0;g=g+ -1|0;if(g){continue}break}}b=s[c+8>>1];if(b){while(1){d=(r[e+153120|0]<<2)+a|0;g=q[(f+32|0)+(h<<2)>>2]<<16|4;p[d>>1]=g;p[d+2>>1]=g>>>16;p[d+64>>1]=g;p[d+66>>1]=g>>>16;e=e+16|0;h=h+1|0;b=b+ -1|0;if(b){continue}break}}b=s[c+10>>1];if(!b){break a}while(1){c=(r[e+153120|0]<<2)+a|0;d=q[(f+32|0)+(h<<2)>>2]<<16|5;p[c>>1]=d;p[c+2>>1]=d>>>16;e=e+8|0;h=h+1|0;b=b+ -1|0;if(b){continue}break}break a}b=q[f+32>>2]<<16;p[a+124>>1]=b;p[a+126>>1]=b>>>16;p[a+120>>1]=b;p[a+122>>1]=b>>>16;p[a+116>>1]=b;p[a+118>>1]=b>>>16;p[a+112>>1]=b;p[a+114>>1]=b>>>16;p[a+108>>1]=b;p[a+110>>1]=b>>>16;p[a+104>>1]=b;p[a+106>>1]=b>>>16;p[a+100>>1]=b;p[a+102>>1]=b>>>16;p[a+96>>1]=b;p[a+98>>1]=b>>>16;p[a+92>>1]=b;p[a+94>>1]=b>>>16;p[a+88>>1]=b;p[a+90>>1]=b>>>16;p[a+84>>1]=b;p[a+86>>1]=b>>>16;p[a+80>>1]=b;p[a+82>>1]=b>>>16;p[a+76>>1]=b;p[a+78>>1]=b>>>16;p[a+72>>1]=b;p[a+74>>1]=b>>>16;p[a+68>>1]=b;p[a+70>>1]=b>>>16;p[a+64>>1]=b;p[a+66>>1]=b>>>16;p[a+60>>1]=b;p[a+62>>1]=b>>>16;p[a+56>>1]=b;p[a+58>>1]=b>>>16;p[a+52>>1]=b;p[a+54>>1]=b>>>16;p[a+48>>1]=b;p[a+50>>1]=b>>>16;p[a+44>>1]=b;p[a+46>>1]=b>>>16;p[a+40>>1]=b;p[a+42>>1]=b>>>16;p[a+36>>1]=b;p[a+38>>1]=b>>>16;p[a+32>>1]=b;p[a+34>>1]=b>>>16;p[a+28>>1]=b;p[a+30>>1]=b>>>16;p[a+24>>1]=b;p[a+26>>1]=b>>>16;p[a+20>>1]=b;p[a+22>>1]=b>>>16;p[a+16>>1]=b;p[a+18>>1]=b>>>16;p[a+12>>1]=b;p[a+14>>1]=b>>>16;p[a+8>>1]=b;p[a+10>>1]=b>>>16;p[a+4>>1]=b;p[a+6>>1]=b>>>16;p[a>>1]=b;p[a+2>>1]=b>>>16}}function bo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0;q[a+12>>2]=b;q[a+4>>2]=b;q[a+20>>2]=q[a+16>>2];q[a+8>>2]=c;m=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}e=q[a+20>>2];i=e-q[a+16>>2]|0;f=i>>2;h=q[a+24>>2];g=r[b|0];c:{d:{if(!((g|0)==31|(g+ -27&255)>>>0>227)){d=4;if(f>>>0>=h>>>0){break c}q[a+20>>2]=e+4;q[e>>2]=b;d=g+ -28|0;if(d>>>0<=2){e:{switch(d-1|0){case 1:while(1){b=b+1|0;d=7;if(b>>>0>=c>>>0){break c}d=r[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break}break d;default:b=b+2|0;break d;case 0:break e}}b=b+4|0;break d}b=g>>>0>246?b+1|0:b;break d}d=4;if(f>>>0>=h>>>0){break c}q[e>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(b>>>0>=c>>>0){break c}g=r[b|0]|256}h=10704;e=4;d=q[a+28>>2]|g;f:{if((d|0)!=4096){while(1){e=q[h+28>>2];if(!e){break f}g=q[h+32>>2];h=h+28|0;if((d|0)!=(g|0)){continue}break}}g=q[h+8>>2];j=q[a+32>>2];if(!i){d=12;if((e|0)!=6){break c}}g:{h:{i:{d=e+ -1|0;if(d>>>0<=5){i=g+j|0;j:{switch(d-1|0){default:k:{d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)!=255){if((f|0)!=30){break k}e=sc(a,d,0,0)>>16;break h}e=((r[d+3|0]|(r[d+2|0]<<8|r[d+1|0]<<16))<<8)+32768>>16;break h}g=d+1|0;e=f+ -28|0;if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break h}e=(r[d+2|0]|r[g|0]<<8)<<16>>16;break h}e=0;if(t[a+8>>2]<=d+4>>>0){break h}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break h}e=f+ -139|0;if(f>>>0<=246){break h}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break h}e=(r[g|0]|f<<8)+ -63124|0;break h}e=0;if(d>>>0<=g>>>0){break h}e=64148-(r[g|0]|f<<8)|0;break h;case 0:d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)==30){e=sc(a,d,0,0);break h}g=d+1|0;e=f+ -28|0;l:{m:{if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break i}d=(r[d+2|0]|r[g|0]<<8)<<16>>16;break l}e=0;if(t[a+8>>2]<=d+4>>>0){break i}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break m}if(f>>>0<=246){e=f+ -139|0;break i}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break i}d=(r[g|0]|f<<8)+ -63124|0;break m}e=0;if(d>>>0<=g>>>0){break i}d=64148-(r[g|0]|f<<8)|0}e=2147483647;if((d|0)>32767){break h}}e=(d|0)<-32767?-2147483647:d<<16;break h;case 1:d=q[q[a+16>>2]>>2];f=r[d|0];if((f|0)==30){e=sc(a,d,3,0);break h}g=d+1|0;e=f+ -28|0;n:{if(e>>>0<=1){if(e-1){e=0;if(t[a+8>>2]<=d+2>>>0){break h}d=(r[d+2|0]|r[g|0]<<8)<<16>>16;break n}e=0;if(t[a+8>>2]<=d+4>>>0){break h}d=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n}d=f+ -139|0;if(f>>>0<=246){break n}d=q[a+8>>2];if(f>>>0<=250){e=0;if(d>>>0<=g>>>0){break h}d=(r[g|0]|f<<8)+ -63124|0;break n}e=0;if(d>>>0<=g>>>0){break h}d=64148-(r[g|0]|f<<8)|0}e=d>>31;if((d+e^e)>=2147484){e=(d|0)>0?2147483647:-2147483647;break h}f=w(d,1e3);e=2147483647;if((f|0)>32767){break h}e=(f|0)<-32767?-2147483647:w(d,65536e3);break h;case 4:break j}}g=q[a+16>>2];d=q[h+20>>2];k=f>>>0>d>>>0?d:f;o[j+q[h+24>>2]|0]=k;if(!k){break g}d=0;while(1){s=d;o:{p:{e=q[g>>2];j=r[e|0];if((j|0)!=255){if((j|0)!=30){break p}f=sc(a,e,0,0)>>16;break o}f=((r[e+3|0]|(r[e+2|0]<<8|r[e+1|0]<<16))<<8)+32768>>16;break o}d=e+1|0;f=j+ -28|0;if(f>>>0<=1){if(f-1){f=0;if(t[a+8>>2]<=e+2>>>0){break o}f=(r[e+2|0]|r[d|0]<<8)<<16>>16;break o}f=0;if(t[a+8>>2]<=e+4>>>0){break o}e=r[e+1|0]|r[e+2|0]<<8|(r[e+3|0]<<16|r[e+4|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break o}f=j+ -139|0;if(j>>>0<=246){break o}e=q[a+8>>2];if(j>>>0<=250){f=0;if(e>>>0<=d>>>0){break o}f=(r[d|0]|j<<8)+ -63124|0;break o}f=0;if(e>>>0<=d>>>0){break o}f=64148-(r[d|0]|j<<8)|0}d=s+f|0;q:{r:{e=r[h+12|0];f=e+ -1|0;if(f>>>0>3){break r}s:{switch(f-1|0){default:o[i|0]=d;e=r[h+12|0];break q;case 0:p[i>>1]=d;e=2;break q;case 1:break r;case 2:break s}}q[i>>2]=d;e=4;break q}q[i>>2]=d}g=g+4|0;i=(e&255)+i|0;k=k+ -1|0;if(k){continue}break}break g}l=n[q[h+16>>2]](a)|0;d=7;if(l){break c}l=0;break g}e=e<<16}t:{u:{d=r[h+12|0]+ -1|0;if(d>>>0>3){break u}v:{switch(d-1|0){case 1:case 2:break u;case 0:break v;default:break t}}p[i>>1]=e;break g}q[i>>2]=e;break g}o[i|0]=e}if(q[h>>2]==8){break d}}q[a+20>>2]=q[a+16>>2]}b=b+1|0;d=0}d=_$(d,30);if(!d){continue}break}if(d+ -1>>>0<3){break a}}m=l}return m}function Ns(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=Da-16|0;Da=x;e=w(b,1348)+a|0;j=e;f=q[e+52>>2];a:{b:{if(f){e=q[e+44>>2];d=Ef(a,b);if(d){break a}if((e|0)<1){break b}g=w(e,44)+f|0;while(1){d=q[f+36>>2];e=s[d>>1];h=r[f|0];o[f|0]=h&254;i=q[f+40>>2];c:{if((i|0)==(d|0)){break c}c=e&3;while(1){e=c;d=q[d+32>>2];c=s[d>>1]&3;if(!((e|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}o[f|0]=h|1}f=f+44|0;if(f>>>0>>0){continue}break}break b}d=Ef(a,b);if(d){break a}}n=q[q[a+2748>>2]+40>>2]/256|0;u=w(b,1348)+a|0;v=u+44|0;c=q[v>>2];e=q[j+52>>2];f=q[u+68>>2];y=(b?12:4)+a|0;t=Za(192,q[y>>2]);if((c|0)>=1){k=w(c,44)+e|0;c=e;while(1){d=e;if((f|0)==o[c+1|0]){while(1){d:{if((c|0)==(d|0)|(f|0)!=(0-o[d+1|0]|0)){break d}h=p[d+2>>1]-p[c+2>>1]|0;if((h|0)<0){break d}g=p[d+8>>1];i=p[c+8>>1];z=(i|0)>(g|0)?g:i;g=p[d+6>>1];i=p[c+6>>1];g=z-((i|0)<(g|0)?g:i)|0;if((g|0)<(n|0)){break d}i=h<<3;l=q[c+28>>2];if(!((i|0)>=(w(l,9)|0)|(q[c+32>>2]>=(g|0)?(i|0)>=(w(l,7)|0):0))){q[c+32>>2]=g;q[c+28>>2]=h;q[c+20>>2]=d}l=q[d+28>>2];if((i|0)>=(w(l,9)|0)|(q[d+32>>2]>=(g|0)?(i|0)>=(w(l,7)|0):0)){break d}q[d+32>>2]=g;q[d+28>>2]=h;q[d+20>>2]=c}d=d+44|0;if(d>>>0>>0){continue}break}}c=c+44|0;if(c>>>0>>0){continue}break}c=e;while(1){i=q[c+20>>2];e:{if(!i|q[i+20>>2]!=(c|0)){break e}n=p[i+2>>1];l=p[c+2>>1];if((n|0)<=(l|0)){break e}m=q[c+28>>2];if((m|0)>=(t|0)){break e}B=m<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=p[d+2>>1];if((g|0)>(l|0)){break g}f=q[d+20>>2];if(!f|q[f+20>>2]!=(d|0)){break g}h=p[f+2>>1];if((h|0)<(n|0)|((h|0)==(n|0)?(g|0)==(l|0):0)){break g}g=q[d+28>>2];if((g|0)<=(m|0)|(B|0)<=(g|0)){break g}h=e;if(q[c+32>>2]<(w(q[d+32>>2],3)|0)){break f}while(1){g=i;A=q[h+20>>2];h:{if((A|0)!=(d|0)){g=c;if((f|0)!=(A|0)){break h}}q[h+24>>2]=g;q[h+20>>2]=0}h=h+44|0;if(h>>>0>>0){continue}break}}d=d+44|0;if(d>>>0>>0){continue}break e}break}q[i+20>>2]=0;q[c+20>>2]=0}c=c+44|0;if(c>>>0>>0){continue}break}while(1){c=q[e+20>>2];i:{if(!c|q[c+20>>2]==(e|0)){break i}q[e+20>>2]=0;d=q[c+28>>2];if(q[e+28>>2]>=d<<2?(d|0)>=(t|0):0){break i}q[e+24>>2]=q[c+20>>2]}e=e+44|0;if(e>>>0>>0){continue}break}}B=q[a>>2];j=q[j+52>>2];c=q[a+2748>>2];q[u+56>>2]=0;e=q[v>>2];c=c+w(b,7452)|0;n=q[y>>2];j:{if((Ma(q[c+248>>2],n)|0)>=17){h=Za(16,n);break j}h=q[c+248>>2]}if((e|0)>=1){y=w(e,44)+j|0;A=(w(b,1348)+a|0)- -64|0;while(1){k:{l:{C=q[u+56>>2];m:{if((C|0)<=0){t=r[j+1|0];break m}t=r[j+1|0];l=q[A>>2];e=0;g=65535;f=0;while(1){d=w(f,44);i=d+l|0;n:{if(r[i+13|0]!=(t|0)){break n}k=p[j+2>>1]-p[i>>1]|0;c=k>>31;k=c^c+k;if((k|0)>=(h|0)|(k|0)>=(g|0)){break n}D=q[j+20>>2];if(D){c=0;z=q[(d+l|0)+36>>2];d=z;while(1){o:{m=q[d+20>>2];if(m){c=p[D+2>>1];m=p[m+2>>1];c=(c|0)>(m|0)?c-m|0:m-c|0;if((c|0)>=(h|0)){break o}}d=q[d+16>>2];if((z|0)!=(d|0)){continue}}break}if((c|0)>=(h|0)){break n}}g=k;e=i}f=f+1|0;if((C|0)!=(f|0)){continue}break}if(e){break l}}d=Gs(v,p[j+2>>1],t<<24>>24,0,B,x+12|0);if(d){break a}e=q[x+12>>2];q[e+40>>2]=j;q[e+36>>2]=j;q[e>>2]=0;q[e+4>>2]=0;q[e+32>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o[e+13|0]=r[j+1|0];c=p[j+2>>1];p[e>>1]=c;c=Ma(c,n);q[e+8>>2]=c;q[e+4>>2]=c;q[j+16>>2]=j;break k}q[j+16>>2]=q[e+36>>2];q[q[e+40>>2]+16>>2]=j;q[e+40>>2]=j}j=j+44|0;if(j>>>0>>0){continue}break}}c=q[u+56>>2];if((c|0)>=1){e=q[(w(b,1348)+a|0)- -64>>2];g=e+w(c,44)|0;c=e;while(1){a=q[c+36>>2];d=a;if(d){while(1){q[d+12>>2]=c;d=q[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(c>>>0>>0){continue}break}while(1){h=0;b=0;a=q[e+36>>2];if(a){i=e+28|0;k=e+24|0;d=a;while(1){c=0;n=o[d|0]&1;l=n^1;f=q[d+24>>2];if(f){c=q[f+12>>2]!=(e|0)}p:{if(q[d+20>>2]?0:!c){break p}j=q[(c?d+24|0:d+20|0)>>2];f=q[(c?i:k)>>2];q:{if(f){m=p[e>>1]-p[f>>1]|0;u=m>>31;t=p[d+2>>1];v=p[j+2>>1];if((((t|0)>(v|0)?t-v|0:v-t|0)|0)>=(u^m+u)){break q}}f=q[j+12>>2]}if(c){q[i>>2]=f;o[f+12|0]=r[f+12|0]|2;break p}q[k>>2]=f}h=h+n|0;b=b+l|0;d=q[d+16>>2];if((a|0)!=(d|0)){continue}break}}o[e+12|0]=(h|0)>0&(h|0)>=(b|0);if(!(!q[e+28>>2]|!q[e+24>>2])){q[e+28>>2]=0}e=e+44|0;if(e>>>0>>0){continue}break}}d=0}Da=x+16|0;return d}function lN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=a;a=c?-1:0;e=a;o[f+8|0]=e;o[f+9|0]=e>>>8;o[f+10|0]=e>>>16;o[f+11|0]=e>>>24;e=c?-1:0;o[f+12|0]=e;o[f+13|0]=e>>>8;o[f+14|0]=e>>>16;o[f+15|0]=e>>>24;c=a;o[f|0]=c;o[f+1|0]=c>>>8;o[f+2|0]=c>>>16;o[f+3|0]=c>>>24;o[f+4|0]=e;o[f+5|0]=e>>>8;o[f+6|0]=e>>>16;o[f+7|0]=e>>>24;d=b+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<1)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,3)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<2)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,5)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,6)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,7)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=(b<<3)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,9)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,10)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,11)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,12)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,13)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;d=w(b,14)+f|0;o[d+8|0]=c;o[d+9|0]=c>>>8;o[d+10|0]=c>>>16;o[d+11|0]=c>>>24;o[d+12|0]=e;o[d+13|0]=e>>>8;o[d+14|0]=e>>>16;o[d+15|0]=e>>>24;o[d|0]=c;o[d+1|0]=c>>>8;o[d+2|0]=c>>>16;o[d+3|0]=c>>>24;o[d+4|0]=e;o[d+5|0]=e>>>8;o[d+6|0]=e>>>16;o[d+7|0]=e>>>24;c=w(b,15)+f|0;b=a;o[c+8|0]=b;o[c+9|0]=b>>>8;o[c+10|0]=b>>>16;o[c+11|0]=b>>>24;o[c+12|0]=e;o[c+13|0]=e>>>8;o[c+14|0]=e>>>16;o[c+15|0]=e>>>24;o[c|0]=b;o[c+1|0]=b>>>8;o[c+2|0]=b>>>16;o[c+3|0]=b>>>24;o[c+4|0]=e;o[c+5|0]=e>>>8;o[c+6|0]=e>>>16;o[c+7|0]=e>>>24}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,s=0,t=0,u=0,v=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;p=Da+ -64|0;Da=p;a:{b:{c:{if(r[a+416|0]){M=q[a- -64>>2];l=q[a+160>>2];N=q[l+36>>2];u=q[a+148>>2];A=q[a+56>>2];F=q[l+40>>2];s=q[a+144>>2];k=q[a+412>>2];o=q[a+408>>2];n=q[a+400>>2];m=q[a+404>>2];B=q[b+8>>2];a=q[b>>2];l=q[b+4>>2];z=q[b+12>>2];q[p+12>>2]=z;q[p>>2]=0;q[p+4>>2]=0;v=a+c|0;C=n-v|0;a=(C|0)>(B|0)?B:C;q[p+8>>2]=a;n=(z|0)>0;D=n&(a|0)>0;c=(D<<4)+p|0;x=d+l|0;a=m-x|0;a=(a|0)>(z|0)?z:a;q[c+12>>2]=a;E=o-v|0;m=(E|0)>(B|0)?B:E;q[c+8>>2]=m;q[c+4>>2]=0;l=(C|0)>0?C:0;q[c>>2]=l;d=(m|0)>(l|0);c=(a|0)>0?d?D?2:1:D:D;o=(c<<4)+p|0;q[o+12>>2]=z;q[o+8>>2]=m;a=k-x|0;a=(a|0)>0?a:0;q[o+4>>2]=a;q[o>>2]=l;l=c+((z|0)>(a|0)&d)|0;a=(l<<4)+p|0;q[a+12>>2]=z;q[a+8>>2]=B;q[a+4>>2]=0;c=a;a=(E|0)>0?E:0;q[c>>2]=a;I=+(s|0);G=+(F|0);J=+(A|0);t=I*0/G+J;d:{if(y(t)<2147483648){c=~~t;break d}c=-2147483648}d=(B|0)>(a|0);K=+(u|0);H=+(N|0);L=+(M|0);t=K*0/H+L;e:{if(y(t)<2147483648){a=~~t;break e}a=-2147483648}d=d&n;t=I*G/G+J;f:{if(y(t)<2147483648){n=~~t;break f}n=-2147483648}A=d+l|0;t=K*H/H+L;g:{if(y(t)<2147483648){l=~~t;break g}l=-2147483648}if(!A){break a}F=n-x|0;s=l-v|0;k=c-x|0;o=a-v|0;d=0;while(1){u=(d<<4)+p|0;m=q[u>>2];q[u>>2]=(m+v|0)<(a|0)?o:m;m=q[u+4>>2];q[u+4>>2]=(m+x|0)<(c|0)?k:m;m=q[u+8>>2];q[u+8>>2]=(m+v|0)>(l|0)?s:m;m=q[u+12>>2];q[u+12>>2]=(m+x|0)>(n|0)?F:m;d=d+1|0;if((A|0)!=(d|0)){continue}break}a=0;if(!j){while(1){c=(a<<4)+p|0;m=q[c+8>>2];l=q[c>>2];h:{if((m|0)<=(l|0)){break h}n=q[c+12>>2];o=q[c+4>>2];if((n|0)<=(o|0)){break h}i:{if((l|0)>=(g|0)){d=g;break i}d=q[b+16>>2];c=l+(q[b+20>>2]+w(d,o)|0)|0;k=Sa(48);if(!k){break b}q[k+36>>2]=0;q[k+16>>2]=e;q[k+12>>2]=c;q[k+8>>2]=d;q[k+24>>2]=o+x;q[k+20>>2]=l+v;q[k+4>>2]=n-o;d=(m|0)<(g|0)?m:g;q[k>>2]=d-l;ke(j);q[k+44>>2]=0;q[k+40>>2]=c;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}if((d|0)>=(m|0)){break h}l=(d|0)<(l|0)?l:d;c=q[b+16>>2];d=l+(q[b+20>>2]+w(c,o)|0)|0;k=Sa(48);if(!k){break c}q[k+36>>2]=0;q[k+16>>2]=f;q[k+12>>2]=d;q[k+8>>2]=c;q[k+24>>2]=o+x;q[k+20>>2]=l+v;q[k+4>>2]=n-o;q[k>>2]=m-l;ke(j);q[k+44>>2]=0;q[k+40>>2]=d;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}a=a+1|0;if((A|0)!=(a|0)){continue}break a}}while(1){c=(a<<4)+p|0;m=q[c+8>>2];k=q[c>>2];j:{if((m|0)<=(k|0)){break j}n=q[c+12>>2];o=q[c+4>>2];if((n|0)<=(o|0)){break j}k:{if((k|0)>=(g|0)){c=g;break k}d=q[b+16>>2];c=k+(q[b+20>>2]+w(d,o)|0)|0;l=Sa(48);if(!l){break b}q[l+36>>2]=j;q[l+16>>2]=e;q[l+12>>2]=c;q[l+8>>2]=d;q[l+24>>2]=o+x;q[l+20>>2]=k+v;q[l+4>>2]=n-o;c=(m|0)<(g|0)?m:g;q[l>>2]=c-k;ke(j);q[l+40>>2]=0;q[l+44>>2]=0;q[l+32>>2]=i;q[h>>2]=l;h=l+28|0}if((c|0)>=(m|0)){break j}c=(c|0)<(k|0)?k:c;l=q[b+16>>2];d=c+(q[b+20>>2]+w(l,o)|0)|0;k=Sa(48);if(!k){break c}q[k+36>>2]=j;q[k+16>>2]=f;q[k+12>>2]=d;q[k+8>>2]=l;q[k+24>>2]=o+x;q[k+20>>2]=c+v;q[k+4>>2]=n-o;q[k>>2]=m-c;ke(j);q[k+40>>2]=0;q[k+44>>2]=0;q[k+32>>2]=i;q[h>>2]=k;h=k+28|0}a=a+1|0;if((A|0)!=(a|0)){continue}break}break a}n=q[b>>2];o=n+c|0;l=q[a+136>>2];c=q[a+400>>2];c=(c|0)>0?c:0;c=o-((c|0)>(l|0)?l:c)|0;s=c>>31&0-c;c=q[a+408>>2];c=(c|0)>0?c:0;l=((c|0)>(l|0)?l:c)-o|0;c=q[b+8>>2];k=(l|0)<(c|0)?l:c;if((s|0)>=(k|0)){break a}m=q[a+140>>2];c=q[a+412>>2];c=(c|0)>0?c:0;l=q[b+4>>2]+d|0;d=((c|0)>(m|0)?m:c)-l|0;c=q[b+12>>2];c=(d|0)<(c|0)?d:c;a=q[a+404>>2];a=(a|0)>0?a:0;a=l-((a|0)>(m|0)?m:a)|0;m=a>>31&0-a;if((c|0)<=(m|0)){break a}d=g-n|0;if((d|0)>(s|0)){a=q[b+16>>2];g=s+(q[b+20>>2]+w(a,m)|0)|0;n=Sa(48);if(!n){if(j){break a}gd(g);break a}q[n+36>>2]=j;q[n+16>>2]=e;q[n+12>>2]=g;q[n+8>>2]=a;q[n+24>>2]=l+m;q[n+20>>2]=o+s;q[n+4>>2]=c-m;d=(d|0)>(k|0)?k:d;q[n>>2]=d-s;ke(j);q[n+44>>2]=0;q[n+40>>2]=j?0:g;q[n+32>>2]=i;q[h>>2]=n;h=n+28|0}if((d|0)>=(k|0)){break a}a=q[b+16>>2];e=q[b+20>>2]+w(a,m)|0;b=(d|0)<(s|0)?s:d;d=e+b|0;e=Sa(48);if(!e){if(j){break a}gd(d);break a}q[e+36>>2]=j;q[e+16>>2]=f;q[e+12>>2]=d;q[e+8>>2]=a;q[e+24>>2]=l+m;q[e+20>>2]=b+o;q[e+4>>2]=c-m;q[e>>2]=k-b;ke(j);q[e+44>>2]=0;q[e+40>>2]=j?0:d;q[e+32>>2]=i;q[h>>2]=e;h=e+28|0;break a}if(j){break a}gd(d);break a}if(j){break a}gd(c)}Da=p- -64|0;return h}function Xj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Da-32|0;Da=h;u=q[a>>2];c=QF(b,c,h+24|0,h+20|0);a:{if(c){break a}c=1;b:{c:{d:{e:{g=q[h+24>>2];f=q[h+20>>2];if(!Oo(a,b,g,f,1347375956,1,h+16|0,h+12|0)){v=q[h+16>>2];if(d+1>>>0>1){break e}c=10;z=q[h+12>>2];if((z|0)<1){break e}w=q[a>>2];f:{while(1){d=q[(m<<2)+v>>2];g:{h:{g=q[b+20>>2];if(g){if(!n[g](b,d,0,0)){break h}c=85;break e}k=q[b+4>>2];if(k>>>0>=d>>>0){break g}c=85;break d}k=q[b+4>>2]}q[b+8>>2]=d;if(d+3>>>0>=k>>>0){break f}i:{j:{g=q[b+20>>2];k:{if(g){if((n[g](b,d,h+28|0,4)|0)!=4){break f}d=q[b+8>>2];g=h+28|0;break k}g=q[b>>2];if(!g){break j}g=d+g|0}g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);q[b+8>>2]=d+4;d=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(d>>>0<=16777215){break i}c=9;break e}q[b+8>>2]=d+4;d=0}g=x+6|0;if(16777215-d>>>0>>0){c=9;break e}x=d+g|0;m=m+1|0;if((z|0)!=(m|0)){continue}break}p=x+2|0;if(p>>>0<6){break e}c=6;if((p|0)<1){break e}c=n[q[w+4>>2]](w,p)|0;if(!c){c=64;break e}i=Na(c,0,p);o[i+2|0]=0;o[i+3|0]=0;o[i+4|0]=0;o[i+5|0]=0;o[i|0]=384;o[i+1|0]=1;s=2;g=6;k=1;m=0;l:{while(1){c=q[(m<<2)+v>>2];d=q[b+20>>2];m:{if(d){if(n[d](b,c,0,0)){break l}d=q[b+4>>2];break m}d=q[b+4>>2];if(d>>>0>>0){break l}}q[b+8>>2]=c;if(c+3>>>0>=d>>>0){break l}n:{o:{f=q[b+20>>2];if(f){if((n[f](b,c,h+28|0,4)|0)!=4){break l}c=q[b+8>>2];d=h+28|0;break o}f=q[b>>2];if(f){d=c+f|0;break o}c=c+4|0;q[b+8>>2]=c;f=0;break n}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c+4|0;q[b+8>>2]=c;f=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if((f|0)<0){break l}d=q[b+4>>2]}if(c+1>>>0>=d>>>0){break l}p:{q:{r:{d=q[b+20>>2];if(d){if((n[d](b,c,h+28|0,2)|0)!=2){break l}c=q[b+8>>2];d=h+28|0;break r}d=q[b>>2];if(d){d=c+d|0;break r}q[b+8>>2]=c+2;break q}l=r[d|0];q[b+8>>2]=c+2;if(!l){break q}c=f+ -2|0;d=c>>>0>f>>>0?0:c;s:{if((k|0)==(l|0)){f=g;c=d+j|0;break s}f=s+3|0;if(f>>>0>p>>>0){break l}c=i+s|0;o[c|0]=j;o[c+2|0]=j>>>16;o[c+1|0]=j>>>8;o[f+i|0]=j>>>24;if((l|0)==5){break p}f=g+6|0;if(f>>>0>p>>>0){break l}j=g+i|0;o[j|0]=128;s=g+2|0;c=s+i|0;o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[j+1|0]=l;k=l;c=d}j=c;if(f>>>0>x>>>0){break l}g=d+f|0;if(g>>>0>x>>>0){break l}l=q[b+4>>2];c=q[b+8>>2];if(l>>>0<=c>>>0){break l}f=f+i|0;y=q[b+20>>2];t:{if(y){f=n[y](b,c,f,d)|0;break t}y=f;f=l-c|0;f=f>>>0>d>>>0?d:f;Qa(y,q[b>>2]+c|0,f)}q[b+8>>2]=c+f;if(f>>>0>>0){break l}}m=m+1|0;if((z|0)!=(m|0)){continue}}break}c=g+2|0;if(c>>>0>p>>>0){break l}b=g+i|0;o[b|0]=896;o[b+1|0]=3;d=s+3|0;if(d>>>0>p>>>0){break l}b=i+s|0;o[b|0]=j;o[b+2|0]=j>>>16;o[b+1|0]=j>>>8;o[d+i|0]=j>>>24;c=Dj(a,i,c,0,4284,e);break e}n[q[w+8>>2]](w,i);c=1;break e}c=85;break e}c=Oo(a,b,g,f,1936092788,0,h+16|0,h+12|0);if(c){break a}l=q[h+12>>2];c=(d|0)%(l|0)|0;k=c>>31^c;u:{if((k|0)>=(l|0)){d=q[h+16>>2];c=1;break u}j=q[a>>2];d=q[h+16>>2];f=q[d+(k<<2)>>2];v:{w:{c=q[b+20>>2];if(c){if(!n[c](b,f,0,0)){break w}c=85;break u}c=q[b+4>>2];if(c>>>0>=f>>>0){break v}c=85;break u}c=q[b+4>>2]}q[b+8>>2]=f;x:{y:{if(f+3>>>0>=c>>>0){break y}c=q[b+20>>2];if(c){if((n[c](b,f,h+28|0,4)|0)!=4){break y}c=q[b+8>>2];g=h+28|0;break x}c=q[b>>2];if(c){g=c+f|0;c=f;break x}q[b+8>>2]=f+4;c=1;break u}c=85;break u}g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);q[b+8>>2]=c+4;g=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);c=1;if((g|0)<1){break u}c=9;if(g>>>0>16777215){break u}c=0;if(!Dp(a,b,k,e)){break u}c=f+4|0;z:{f=q[b+20>>2];if(f){if(!n[f](b,c,0,0)){break z}c=85;break u}if(t[b+4>>2]>=c>>>0){break z}c=85;break u}q[b+8>>2]=c;f=n[q[j+4>>2]](j,g)|0;c=64;if(!f){break u}f=Na(f,0,g);A:{c=q[b+4>>2];k=q[b+8>>2];if(c>>>0>k>>>0){i=q[b+20>>2];B:{if(i){c=n[i](b,k,f,g)|0;break B}c=c-k|0;c=c>>>0>g>>>0?g:c;Qa(f,k+q[b>>2]|0,c)}q[b+8>>2]=c+k;if(c>>>0>=g>>>0){break A}}n[q[j+8>>2]](j,f);c=85;break u}c=g;c=Dj(a,f,c,0,(c|0)>=5?(r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24))==1330926671?4290:4112:4112,e)}if(d){n[q[u+8>>2]](u,d)}q[h+16>>2]=0;if(c){break a}q[q[e>>2]>>2]=l;break b}if(!v){break c}}n[q[u+8>>2]](u,v)}q[h+16>>2]=0;if(c){break a}q[q[e>>2]>>2]=1}c=0}Da=h+32|0;return c}function oU(a,b,c){a=a|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,t=0,u=0,v=0;j=Da-32|0;Da=j;if(q[b+4>>2]){q[b+80>>2]=0;o[b+69|0]=1;o[b+70|0]=0;q[b+92>>2]=q[b+88>>2]}q[b+72>>2]=0;h=q[b+76>>2];a:{b:{if(!h){break b}while(1){if(!r[b+68|0]){break b}d=q[b+88>>2];g=q[d+w(e,20)>>2];c:{if((g&-129)!=3635){if(r[b+69|0]){f=b;d:{if((d|0)==q[b+92>>2]){d=e;if(q[b+80>>2]==(e|0)){break d}}if(!Va(b,1,1)){break c}e=q[b+88>>2]+w(q[b+72>>2],20)|0;i=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=i;q[d+16>>2]=q[e+16>>2];g=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=g;e=q[b+72>>2];d=q[b+80>>2]}q[f+80>>2]=d+1}q[b+72>>2]=e+1;break c}e:{if(!Va(b,0,1)){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}e=q[b+72>>2];d=q[b+76>>2];if(!(q[b+80>>2]|(e|0)!=(d|0))){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}i=g+26|0;f:{if(e>>>0>>0){d=q[b+80>>2];f=q[b+92>>2];e=q[b+88>>2]+w(e,20)|0;break f}f=q[b+92>>2];d=q[b+80>>2];e=(f+w(d,20)|0)+ -20|0}d=w(d,20)+f|0;f=q[e+4>>2];q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+80>>2];e=q[b+92>>2]+w(d,20)|0;q[e>>2]=i;q[b+80>>2]=d+1}p[e+16>>1]=s[e+16>>1]|128;i=q[b+92>>2];g:{h:{if((i|0)==q[b+88>>2]){d=q[b+80>>2];e=d;if((e|0)==q[b+72>>2]){break h}}if(!Va(b,1,1)){break g}e=q[b+88>>2]+w(q[b+72>>2],20)|0;i=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=i;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+72>>2];e=q[b+80>>2];i=q[b+92>>2]}q[w(e,20)+i>>2]=g+ -1;q[b+80>>2]=e+1;q[b+72>>2]=d+1}if(r[b+68|0]!=1){break a}f=q[b+80>>2];d=f+ -2|0;g=w(d,20);e=g+q[b+92>>2]|0;p[e+16>>1]=s[e+16>>1]&224|12;i:{j:{while(1){e=d;if(!e){break j}d=e+ -1|0;i=q[q[b+92>>2]+w(d,20)>>2];t=i&-129;if((t|0)==3633|(i&-132)==3636|t+ -3655>>>0<8){continue}break}if(e+2>>>0>>0){break i}if(q[b+20>>2]){break c}gf(b,d,f);break c}if(f>>>0<=2){break c}}gf(b,e,f);d=g;g=q[b+92>>2];d=d+g|0;q[j+24>>2]=q[d+16>>2];i=q[d+12>>2];q[j+16>>2]=q[d+8>>2];q[j+20>>2]=i;i=q[d+4>>2];q[j+8>>2]=q[d>>2];q[j+12>>2]=i;d=w(e,20);g=d+g|0;sb(g+20|0,g,w(f-e|0,20)+ -40|0);e=d+q[b+92>>2]|0;d=q[j+12>>2];q[e>>2]=q[j+8>>2];q[e+4>>2]=d;q[e+16>>2]=q[j+24>>2];d=q[j+20>>2];q[e+8>>2]=q[j+16>>2];q[e+12>>2]=d}e=q[b+72>>2];if(e>>>0>>0){continue}break}}Kc(b);if(r[a+32|0]|q[a+4>>2]!=1416126825){break a}v=q[b+76>>2];if(!v){break a}t=q[b+88>>2];a=3;i=2;f=0;g=0;while(1){e=0;k:{l:{m=w(g,20)+t|0;d=q[m>>2];if((d|0)==3633|(d&-4)==3636){break l}h=d+ -3655|0;if(1<>>0<=7:0){break l}e=1;if(d+ -3640>>>0<3){break l}e=2;if(d+ -3656>>>0<5){break l}m:{n:{e=d+ -3597|0;if(e>>>0<=18){e=1<>>0>45)<<2;break m}a=2}a=a<<2;i=q[a+251184>>2];a=q[a+251152>>2];f=g;break k}e=e<<3;d=e+w(i,24)|0;a=e+w(a,24)|0;e=q[a+251216>>2];if(!e){e=q[d+251312>>2]}if(g-f>>>0>=2){rb(b,f,g)}i=q[d+251316>>2];a=q[a+251220>>2];if((e|0)==4){m=w(f,20)+t|0;d=q[m>>2];h=d+ -3597|0;o:{if(h>>>0>3){break o}e=251744;p:{switch(h-1|0){case 2:e=251756;break;case 0:case 1:break o;default:break p}}k=q[e+4>>2];h=j+8|0;q[h>>2]=0;l=k;k=q[c+72>>2];u=e+4|0;q:{if(n[q[k+156>>2]](c,q[c+76>>2],l,h,q[k+20>>2])){break q}h=q[e+8>>2];k=j+8|0;q[k>>2]=0;l=h;h=q[c+72>>2];if(!n[q[h+156>>2]](c,q[c+76>>2],l,k,q[h+20>>2])){break o}u=e+8|0}d=q[u>>2]}q[m>>2]=d;break k}h=q[m>>2];d=0;r:{s:{if(e>>>0>3){break s}t:{switch(e-1|0){case 0:d=251392;break s;case 2:d=251504;break s;case 1:break t;default:break r}}d=251584}e=d;d=q[e>>2];if(!d){break r}while(1){if((d|0)==(h|0)){d=q[e+4>>2];k=j+8|0;q[k>>2]=0;l=d;d=q[c+72>>2];if(n[q[d+156>>2]](c,q[c+76>>2],l,k,q[d+20>>2])){h=q[e+4>>2];break r}d=q[e+8>>2];k=j+8|0;q[k>>2]=0;l=d;d=q[c+72>>2];if(!n[q[d+156>>2]](c,q[c+76>>2],l,k,q[d+20>>2])){break r}h=q[e+8>>2];break r}d=q[e+12>>2];e=e+12|0;if(d){continue}break}}q[m>>2]=h}g=g+1|0;if((v|0)!=(g|0)){continue}break}}Da=j+32|0}function Fh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,t=0,u=0,v=0,x=0,y=0;g=Da-48|0;Da=g;q[g+12>>2]=0;o[a+733|0]=0;v=q[a+100>>2];a:{b:{j=q[a+736>>2];if(!j){e=Nf(a,0);q[g+12>>2]=e;if(e){break a}j=q[a+736>>2]}u=q[j+12>>2];f=q[u>>2];b=f>>>0>>0?f:b;if(!b){break b}while(1){if(q[(h<<2)+c>>2]+65536>>>0<131073){h=h+1|0;if((h|0)!=(b|0)){continue}break b}break}e=6;q[g+12>>2]=6;break a}if(!(r[a+732|0]|q[j+72>>2])){i=q[a+104>>2];h=q[i+28>>2];e=n[q[a+516>>2]](a,1735811442,i,g+40|0)|0;q[g+44>>2]=e;c:{if(e){break c}k=q[i+8>>2];e=mb(i,5328,g+16|0);q[g+44>>2]=e;if(e){break c}d:{if(q[g+16>>2]!=65536){break d}f=s[g+20>>1];if((f|0)!=s[q[j+12>>2]>>1]){break d}t=w(f,s[g+22>>1]);f=q[g+40>>2];if(t>>>0>f>>>1>>>0){break d}e=w(s[g+28>>1]+1|0,o[g+30|0]&1?4:2);if(e>>>0>f>>>0){break d}q[j+76>>2]=f;f=q[g+32>>2];e=lb(i,e);q[g+44>>2]=e;if(e){break c}e=0;x=j,y=Oa(h,4,0,s[g+28>>1]+1|0,0,g+44|0),q[x+72>>2]=y;e:{f:{g:{if(q[g+44>>2]){break g}m=f+k|0;f=k+q[g+40>>2]|0;h:{if(!(o[g+30|0]&1)){while(1){p=m+(ob(i)<<1)|0;e=e>>>0>p>>>0?e:p;q[q[j+72>>2]+(l<<2)>>2]=f>>>0>>0?f:e;p=s[g+28>>1];t=l>>>0

>>0;l=l+1|0;if(t){continue}break}break h}while(1){p=fc(i)+m|0;l=l>>>0>p>>>0?l:p;q[q[j+72>>2]+(e<<2)>>2]=f>>>0>>0?f:l;p=s[g+28>>1];t=e>>>0

>>0;e=e+1|0;if(t){continue}break}}q[j+68>>2]=p;jb(i);if(!s[g+22>>1]){break e}f=Xa(i,k+q[g+24>>2]|0);q[g+44>>2]=f;if(f){break f}f=lb(i,w(s[g+22>>1],s[g+20>>1])<<1);q[g+44>>2]=f;if(f){break f}f=0;x=j,y=Oa(h,4,0,w(s[g+22>>1],s[g+20>>1]),0,g+44|0),q[x+64>>2]=y;if(q[g+44>>2]){break g}h=s[g+22>>1];if(h){k=0;m=s[g+20>>1];f=h;while(1){e=0;i:{if(!(m&65535)){m=0;break i}while(1){h=ob(i);m=s[g+20>>1];q[q[j+64>>2]+(w(m,k)+e<<2)>>2]=h<<16>>16<<2;e=e+1|0;if(e>>>0>>0){continue}break}f=s[g+22>>1]}k=k+1|0;if(k>>>0<(f&65535)>>>0){continue}break}}q[j+60>>2]=f&65535;jb(i);break e}jb(i)}f=q[j+72>>2];if(f){n[q[h+8>>2]](h,f)}q[j+68>>2]=0;q[j+72>>2]=0}e=q[g+44>>2];break c}e=8;q[g+44>>2]=8}q[g+12>>2]=e;if(e){break a}}p=0;if(!q[j+4>>2]){x=j,y=Oa(v,4,0,q[u>>2],0,g+12|0),q[x+4>>2]=y;e=q[g+12>>2];if(e){break a}p=1}j:{k:{l:{m:{n:{l=q[j+8>>2];if(l){h=0;if(b){break n}break m}l=Oa(v,4,0,q[u>>2],0,g+12|0);q[j+8>>2]=l;e=q[g+12>>2];if(e){break a}f=q[u>>2];t=1;break k}e=1;while(1){f=h<<2;t=2;if(q[f+l>>2]!=q[c+f>>2]){break l}h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}e=0;t=0}f=q[u>>2];k=q[a+4>>2];o:{if(k&2147418112){if(h>>>0>=f>>>0){break o}i=q[j+20>>2]+(w((k>>>16|0)+ -1|0,f)<<2)|0;k=h<<2;m=i+k|0;i=k+l|0;k=h;while(1){e=q[i>>2]==q[m>>2]?e:1;i=i+4|0;m=m+4|0;k=k+1|0;if((k|0)!=(f|0)){continue}break}break o}if(h>>>0>=f>>>0){break o}m=(h<<2)+l|0;i=h;while(1){e=q[m>>2]?1:e;m=m+4|0;i=i+1|0;if(i>>>0>>0){continue}break}}if(!(e&255)){break j}if(h>>>0>=f>>>0){break k}while(1){if(!q[(h<<2)+l>>2]){h=h+1|0;if(h>>>0>>0){continue}break k}break}t=2}q[j>>2]=f;Qa(l,c,b<<2);p:{if(!d){break p}e=q[j+4>>2];c=q[a+736>>2];d=q[c>>2];b=p?q[j>>2]:b;f=d>>>0>>0?d:b;if(f){k=q[j+8>>2];h=0;while(1){i=h<<2;q[i+e>>2]=q[i+k>>2];h=h+1|0;if((f|0)!=(h|0)){continue}break}}if(d>>>0>>0){Na(e+(f<<2)|0,0,b-f<<2)}q:{if(!f){break q}k=q[c+28>>2];if(!k){break q}j=0;while(1){i=s[k>>1];r:{if(i>>>0<2){break r}l=e+(j<<2)|0;b=q[l>>2];d=q[k+4>>2];h=1;while(1){m=h<<3;p=m+d|0;u=q[p+4>>2];if((b|0)<(u|0)){i=b;b=m+ -8|0;d=b+d|0;h=q[d+4>>2];x=l,y=bb(i-h|0,q[p>>2]-q[d>>2]|0,u-h|0)+q[b+q[k+4>>2]>>2]|0,q[x>>2]=y;break r}h=h+1|0;if((i|0)!=(h|0)){continue}break}}k=k+8|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(!f){break p}b=q[q[c+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;k=q[j>>2];s:{t:{if((k|0)<=-1){h=q[b+4>>2];i=q[b+8>>2];d=i;break t}h=q[b+8>>2];d=h;if(!k){break s}i=q[b+12>>2];d=h}d=Ma(k,i-h|0)+d|0}q[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}o[a+733|0]=1;b=q[a+704>>2];u:{if(!b){break u}c=t+ -1|0;if(c>>>0>1){break u}if(!(c-1)){if(b){n[q[v+8>>2]](v,b)}q[a+704>>2]=0;x=g,y=Io(a,q[a+104>>2]),q[x+12>>2]=y;break u}x=g,y=wo(a,q[a+104>>2]),q[x+12>>2]=y}b=q[a+720>>2];if(b){n[q[v+8>>2]](v,b)}q[a+720>>2]=0;e=q[g+12>>2];break a}o[a+733|0]=1;e=-1}Da=g+48|0;return e}function re(a,b,c){var d=0,e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=x(0),m=0,n=0,p=0,s=0,t=0,v=0,z=0,A=0,B=0,C=0,D=x(0),E=x(0),F=0,G=x(0),H=0,I=0,J=0,K=0,L=0;a:{b:{c:{d=q[a+28>>2];H=q[b+4>>2]-q[b>>2]|0;z=H+1|0;I=q[b+12>>2]-q[b+8>>2]|0;J=I+1|0;i=w(z,J);f=i<<4;if((d|0)>=(f|0)){if(!(+(f|0)*1.3<=+(d|0))){q[a+32>>2]=0;break c}d=q[a+32>>2];q[a+32>>2]=d+1;if((d|0)<9){break c}}d=Sa(f);if(!d){break b}La(q[a+24>>2]);q[a+32>>2]=0;q[a+28>>2]=f;q[a+24>>2]=d;break a}d=q[a+24>>2];if(d){break a}}Ua(1156,0);return 0}A=Na(d,0,f);if(c){B=q[b+12>>2];t=q[b+4>>2];K=q[b+8>>2];L=q[b>>2];while(1){n=q[c+20>>2];d:{if((n|0)<(L|0)){break d}g=q[c+24>>2];if((g|0)<(K|0)){break d}v=q[c>>2];if(!v){break d}F=q[c+4>>2];if(!F|((n+v|0)+ -1|0)>(t|0)|((g+F|0)+ -1|0)>(B|0)){break d}k=q[c+16>>2];f=k&255;if((f|0)==255|(F|0)<1){break d}d=q[c+8>>2];C=(d|0)<(v|0)?v:d;p=n-L|0;l=x(+(f^255)/255);D=x(+(k>>>24>>>0)/255);j=x(+((k>>>8&255)>>>0)/255);h=x(+((k>>>16&255)>>>0)/255);n=q[c+12>>2];s=w(g-K|0,z);k=0;d=0;while(1){if((v|0)>=1){g=s+p|0;f=0;while(1){E=x(x(l*x(r[n+(d+f|0)|0]))/x(255));G=x(x(1)-E);m=(f+g<<4)+A|0;u[m+12>>2]=E+x(u[m+12>>2]*G);u[m>>2]=x(E*D)+x(u[m>>2]*G);u[m+4>>2]=x(E*h)+x(G*u[m+4>>2]);u[m+8>>2]=x(E*j)+x(G*u[m+8>>2]);f=f+1|0;if((v|0)!=(f|0)){continue}break}}s=s+z|0;d=d+C|0;k=k+1|0;if((F|0)!=(k|0)){continue}break}}c=q[c+28>>2];if(c){continue}break}}g=i<<2;f=0;if(!r[a+100|0]){d=a- -64|0;c=q[a+92>>2]<(g|0);f=c?d:0;e=c?0:d}e:{f:{if(r[a+140|0]){break f}d=a+104|0;c=q[a+132>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break f}e=d;break f}if(!f|q[f+28>>2]>(c|0)){break e}}d=f}g:{h:{if(r[a+180|0]){break h}f=a+144|0;c=q[a+172>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break h}e=f;break h}if(!d|q[d+28>>2]>(c|0)){break g}}f=d}i:{j:{if(r[a+220|0]){break j}d=a+184|0;c=q[a+212>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break j}e=d;break j}if(!f|q[f+28>>2]>(c|0)){break i}}d=f}k:{l:{if(r[a+260|0]){break l}f=a+224|0;c=q[a+252>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break l}e=f;break l}if(!d|q[d+28>>2]>(c|0)){break k}}f=d}m:{n:{if(r[a+300|0]){break n}d=a+264|0;c=q[a+292>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break n}e=d;break n}if(!f|q[f+28>>2]>(c|0)){break m}}d=f}o:{p:{if(r[a+340|0]){break p}f=a+304|0;c=q[a+332>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break p}e=f;break p}if(!d|q[d+28>>2]>(c|0)){break o}}f=d}q:{r:{if(r[a+380|0]){break r}d=a+344|0;c=q[a+372>>2];if((c|0)>=(g|0)){if(q[e+28>>2]<=(c|0)?e:0){break r}e=d;break r}if(!f|q[f+28>>2]>(c|0)){break q}}d=f}s:{t:{if(r[a+420|0]){break t}c=a+384|0;a=q[a+412>>2];if((a|0)>=(g|0)){if(!e){e=c;break s}if(q[e+28>>2]<=(a|0)){break s}e=c;break s}if(q[d+28>>2]<=(a|0)?d:0){break t}d=c}if(e){break s}e=d;if(e){break s}Rb(1331);return 0}u:{v:{w:{a=q[e+28>>2];if((a|0)>=(g|0)){if(!(+(g|0)*1.3<=+(a|0))){q[e+32>>2]=0;break w}a=q[e+32>>2];q[e+32>>2]=a+1;if((a|0)<9){break w}}i=Sa(g);if(!i){break v}La(q[e+24>>2]);q[e+32>>2]=0;q[e+28>>2]=g;q[e+24>>2]=i;break u}i=q[e+24>>2];if(i){break u}}Rb(1379);return 0}o[e+36|0]=1;if((I|0)>=0){n=I+1|0;g=H+1|0;B=0;s=0;while(1){t=0;if((H|0)>=0){while(1){a=B+t|0;d=a<<2;f=d+i|0;l=u[(a<<4|12)+A>>2];if(!(l>x(.0035294117406010628))){a=0}else{a=l>2]/l);a=j>2]/l);d=Dx(.0035294117406010628)?a?p:255:0);j=x(u[(C|8)+A>>2]/l);c=jx(.0035294117406010628)?d?p<<8:65280:0)|a;h=x(j*x(255));A:{if(x(y(h))x(.0035294117406010628)?c?d<<16:16711680:0)}q[f>>2]=a;t=t+1|0;if((g|0)!=(t|0)){continue}break}}B=B+z|0;s=s+1|0;if((n|0)!=(s|0)){continue}break}}q[e>>2]=q[b>>2];a=q[b+8>>2];q[e+16>>2]=i;q[e+12>>2]=J;q[e+8>>2]=z;q[e+4>>2]=a;return e}function TX(a,b,c){a=a|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,u=0,v=0,x=0,y=0;e=Da+ -64|0;Da=e;a:{if(r[c+16|0]&16){break a}g=q[c+76>>2];if(!g){break a}l=q[c+88>>2];while(1){if((r[(l+w(d,20)|0)+15|0]&15)!=1){d=d+1|0;if((g|0)!=(d|0)){continue}break a}break}q[e+16>>2]=0;d=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](d,g,9676,e+16|0,q[b+20>>2])){break a}q[e+52>>2]=0;q[e+56>>2]=0;q[e+44>>2]=0;q[e+48>>2]=0;q[e+40>>2]=9676;Cu(e+40|0);f=q[e+16>>2];q[e+40>>2]=f;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b=q[c+76>>2];b:{if(!b){break b}j=q[e+56>>2];d=0;while(1){if(!r[c+68|0]){break b}k=q[c+88>>2];l=k+w(d,20)|0;g=r[l+15|0];c:{if(!((g|0)==(h|0)|(g&15)!=1)){p[e+12>>1]=s[e+52>>1];o[e+14|0]=r[e+54|0];h=q[l+4>>2];m=q[l+8>>2];d:{if(d>>>0>=b>>>0){break d}while(1){if(r[(w(d,20)+k|0)+18|0]!=15){break d}e:{if(r[c+69|0]){l=c;f:{if(q[c+92>>2]==(k|0)){b=d;i=b;if(q[c+80>>2]==(b|0)){break f}}if(!Va(c,1,1)){d=q[c+72>>2];break e}b=q[c+88>>2]+w(q[c+72>>2],20)|0;k=q[b+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[b>>2];q[d+4>>2]=k;q[d+16>>2]=q[b+16>>2];i=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=i;d=q[c+72>>2];i=q[c+80>>2]}q[l+80>>2]=i+1}d=d+1|0;q[c+72>>2]=d}if(!r[c+68|0]|d>>>0>=t[c+76>>2]){break d}k=q[c+88>>2];if((g|0)==r[(k+w(d,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){b=q[c+92>>2]+w(q[c+80>>2],20)|0;q[b+8>>2]=m;q[b+4>>2]=h;q[b>>2]=f;p[b+12>>1]=s[e+12>>1];o[b+14|0]=r[e+14|0];q[b+16>>2]=j;o[b+15|0]=g;q[c+80>>2]=q[c+80>>2]+1}h=g;break c}if(r[c+69|0]){g=c;g:{if(q[c+92>>2]==(k|0)){b=d;l=b;if(q[c+80>>2]==(b|0)){break g}}if(!Va(c,1,1)){break c}b=q[c+88>>2]+w(q[c+72>>2],20)|0;i=q[b+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[b>>2];q[d+4>>2]=i;q[d+16>>2]=q[b+16>>2];l=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=l;d=q[c+72>>2];l=q[c+80>>2]}q[g+80>>2]=l+1}q[c+72>>2]=d+1}d=q[c+72>>2];b=q[c+76>>2];if(d>>>0>>0){continue}break}}Kc(c)}l=q[c+76>>2];if(l){b=l+ -1|0;d=0;g=q[c+88>>2];i=r[g+15|0];while(1){h:{if((b|0)==(d|0)){d=l;break h}d=d+1|0;if((i|0)==r[(g+w(d,20)|0)+15|0]){continue}}break}k=q[c+88>>2];h=r[k+15|0];i=0;b=l;while(1){g=d;i:{if(h&14){break i}d=i+1|0;if(d>>>0>=g>>>0){break i}m=q[a+112>>2];h=q[m+24>>2]|q[m+20>>2]|q[m+28>>2];b=d;while(1){f=w(b,20)+k|0;q[f+4>>2]=h|q[f+4>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}v=w(d,20)+k|0;h=w(i,20)+k|0;y=h+40|0;u=0;while(1){b=d;f=w(b,20)+k|0;j=r[f+18|0];j:{if(!((j|0)!=14|u>>>0>2)){d=b+1|0;if(d>>>0>=g>>>0){break j}j=w(d,20)+k|0;if(r[j+18|0]!=16){u=u+1|0;break j}q[f+4>>2]=q[f+4>>2]|q[m+16>>2];q[j+4>>2]=q[j+4>>2]|q[m+16>>2];u=b+2|0;if(u-i>>>0>=2){kc(c,i,u)}q[e+56>>2]=q[f+16>>2];x=q[f+12>>2];q[e+48>>2]=q[f+8>>2];q[e+52>>2]=x;x=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=x;q[e+32>>2]=q[j+16>>2];f=q[j+12>>2];q[e+24>>2]=q[j+8>>2];q[e+28>>2]=f;f=q[j+4>>2];q[e+16>>2]=q[j>>2];q[e+20>>2]=f;sb(y,h,w(b-i|0,20));q[h+16>>2]=q[e+56>>2];f=q[e+52>>2];q[h+8>>2]=q[e+48>>2];q[h+12>>2]=f;f=q[e+44>>2];q[h>>2]=q[e+40>>2];q[h+4>>2]=f;q[v+16>>2]=q[e+32>>2];f=q[e+28>>2];q[v+8>>2]=q[e+24>>2];q[v+12>>2]=f;f=q[e+20>>2];q[v>>2]=q[e+16>>2];q[v+4>>2]=f;k:{if(u>>>0>=g>>>0){break k}f=q[m+32>>2];if(!f){break k}j=w(u,20)+k|0;q[j+4>>2]=f|q[j+4>>2];b=b+3|0;if(b>>>0>=g>>>0){break k}while(1){f=w(b,20)+k|0;q[f+4>>2]=q[f+4>>2]|q[m+32>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}}u=2;break j}d=b+1|0;if((j|0)!=28){break j}if(d-i>>>0>=2){kc(c,i,d)}q[e+56>>2]=q[f+16>>2];j=q[f+12>>2];q[e+48>>2]=q[f+8>>2];q[e+52>>2]=j;j=q[f+4>>2];q[e+40>>2]=q[f>>2];q[e+44>>2]=j;sb(v,h,w(b-i|0,20));q[h+16>>2]=q[e+56>>2];b=q[e+52>>2];q[h+8>>2]=q[e+48>>2];q[h+12>>2]=b;b=q[e+44>>2];q[h>>2]=q[e+40>>2];q[h+4>>2]=b}if((d|0)!=(g|0)){continue}break}b=q[c+76>>2];k=q[c+88>>2]}d=g+1|0;i=b>>>0>d>>>0?b:d;h=r[(w(g,20)+k|0)+15|0];d=g;while(1){l:{d=d+1|0;if(d>>>0>=b>>>0){d=i;break l}if(r[(w(d,20)+k|0)+15|0]==(h&255)){continue}}break}i=g;if(g>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){o[c+164|0]=a&191;Da=e- -64|0;return}I(241820,241790,160,241805);F()}function Bt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;c=q[a+4>>2];d=q[q[c+88>>2]+w(q[c+72>>2],20)>>2];q[e+12>>2]=0;a:{b:{c:{d:{if(b){b=q[a+8>>2];q[e+12>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](f,g,d,e+12|0,q[b+20>>2])){break d}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){e:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break e}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}if(Yl(a,0,d)){break b}b=q[a+8>>2];q[e+12>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];if(!n[q[b+156>>2]](f,g,d,e+12|0,q[b+20>>2])){break c}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){f:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break f}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}if(Yl(a,1,d)){break b}}g:{if((s[(q[c+88>>2]+w(q[c+72>>2],20)|0)+16>>1]&31)!=29){break g}h:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break h}break g}i:{b=d+ -8192|0;if(b>>>0>95){if((d|0)!=12288){break g}break i}j:{switch(b-1|0){default:b=512;break h;case 3:b=768;break h;case 4:b=1024;break h;case 5:b=1536;break h;case 6:b=4864;break h;case 7:b=5120;break h;case 8:b=1280;break h;case 9:b=4096;break h;case 46:b=5376;break h;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: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:break g;case 0:case 2:break i;case 94:break j}}b=4352;break h}b=256}f=q[a+8>>2];q[e+8>>2]=0;g=f;h=q[f+76>>2];f=q[f+72>>2];if(!n[q[f+156>>2]](g,h,32,e+8|0,q[f+20>>2])){break g}a=q[c+88>>2];d=q[c+72>>2];f=a+w(d,20)|0;g=s[f+16>>1];if((g&31)==29){p[f+16>>1]=g&255|b;d=q[c+72>>2];a=q[c+88>>2]}q[(a+w(d,20)|0)+12>>2]=q[e+8>>2];k:{if(r[c+69|0]){l:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break l}}if(!Va(c,1,1)){break k}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1}q[c+32>>2]=q[c+32>>2]|4;break a}m:{if((d|0)!=8209){break m}a=q[a+8>>2];q[e+4>>2]=0;b=a;f=q[a+76>>2];a=q[a+72>>2];if(!n[q[a+156>>2]](b,f,8208,e+4|0,q[a+20>>2])){break m}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+4>>2];if(r[c+69|0]){n:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break n}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+12>>2]=q[e+12>>2];if(r[c+69|0]){o:{if(q[c+92>>2]==q[c+88>>2]){a=q[c+80>>2];if((a|0)==q[c+72>>2]){break o}}if(!Va(c,1,1)){break a}b=q[c+88>>2]+w(q[c+72>>2],20)|0;d=q[b+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=d;q[a+16>>2]=q[b+16>>2];d=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=d;a=q[c+80>>2]}q[c+80>>2]=a+1}q[c+72>>2]=q[c+72>>2]+1;break a}q[c+72>>2]=q[c+72>>2]+1}Da=e+16|0}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,i=0,j=0,k=0,l=0,m=0;k=Da-16|0;Da=k;h=q[a+16>>2];e=r[h+6|0]|r[h+7|0]<<8|(r[h+8|0]<<16|r[h+9|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);l=h+13|0;a:{while(1){e=0;if(f>>>0>=g>>>0){break a}d=f+g>>>1|0;i=l+w(d,11)|0;j=i+ -3|0;j=r[j+1|0]<<8|r[j|0]<<16|r[j+2|0];if(j>>>0>c>>>0){g=d;continue}f=d+1|0;if(j>>>0>>0){continue}break}c=r[i+4|0]|r[i+5|0]<<8|(r[i+6|0]<<16|r[i+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(d|g)){break a}b:{if(!g){e=q[a+28>>2];d=d+h|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);q[k+12>>2]=0;g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=g+1|0;c:{if(e>>>0>=c>>>0){e=q[a+32>>2];break c}q[a+36>>2]=b;e=Oa(b,4,e,c,q[a+32>>2],k+12|0);q[a+32>>2]=e;if(q[k+12>>2]){break b}q[a+28>>2]=c}if(g){f=d+4|0;d=0;while(1){q[(d<<2)+e>>2]=r[f+2|0]|(r[f+1|0]<<8|r[f|0]<<16);f=f+5|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}q[(g<<2)+e>>2]=0;break a}if(!d){g=g+h|0;c=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=1;d:{if(!c){break d}f=g+7|0;d=0;e=c;while(1){d=(r[f|0]+d|0)+1|0;f=f+4|0;e=e+ -1|0;if(e){continue}break}d=d+1|0}e=q[a+28>>2];q[k+12>>2]=0;e:{if(e>>>0>=d>>>0){e=q[a+32>>2];break e}q[a+36>>2]=b;e=Oa(b,4,e,d,q[a+32>>2],k+12|0);q[a+32>>2]=e;if(q[k+12>>2]){break b}q[a+28>>2]=d}d=e;if(c){while(1){f=r[g+6|0]|(r[g+5|0]<<8|r[g+4|0]<<16);a=g+4|0;g=r[g+7|0]+1|0;while(1){q[d>>2]=f;d=d+4|0;f=f+1|0;g=g+ -1|0;if(g){continue}break}g=a;c=c+ -1|0;if(c){continue}break}}q[d>>2]=0;break a}e=d+h|0;c=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=e+4|0;f:{g:{h:{c=g+h|0;e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i:{if(j){g=0;e=j;h=c+7|0;f=h;while(1){g=(r[f|0]+g|0)+1|0;f=f+4|0;e=e+ -1|0;if(e){continue}break}if(m){break h}f=0;d=j;while(1){f=(r[h|0]+f|0)+1|0;h=h+4|0;d=d+ -1|0;if(d){continue}break}d=f+1|0;break i}if(m){break g}d=1}e=q[a+28>>2];q[k+12>>2]=0;j:{if(e>>>0>=d>>>0){e=q[a+32>>2];break j}q[a+36>>2]=b;e=Oa(b,4,e,d,q[a+32>>2],k+12|0);q[a+32>>2]=e;if(q[k+12>>2]){break b}q[a+28>>2]=d}d=e;if(j){while(1){f=r[c+6|0]|(r[c+5|0]<<8|r[c+4|0]<<16);a=c+4|0;g=r[c+7|0]+1|0;while(1){q[d>>2]=f;d=d+4|0;f=f+1|0;g=g+ -1|0;if(g){continue}break}c=a;j=j+ -1|0;if(j){continue}break}}q[d>>2]=0;break a}if(g){break f}}e=q[a+28>>2];q[k+12>>2]=0;c=m+1|0;k:{if(e>>>0>=c>>>0){e=q[a+32>>2];break k}q[a+36>>2]=b;e=Oa(b,4,e,c,q[a+32>>2],k+12|0);q[a+32>>2]=e;if(q[k+12>>2]){break b}q[a+28>>2]=c}f=0;while(1){q[(f<<2)+e>>2]=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);d=d+5|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}q[(m<<2)+e>>2]=0;break a}e=q[a+28>>2];q[k+12>>2]=0;g=(g+m|0)+1|0;l:{if(e>>>0>=g>>>0){e=q[a+32>>2];break l}q[a+36>>2]=b;e=Oa(b,4,e,g,q[a+32>>2],k+12|0);q[a+32>>2]=e;if(q[k+12>>2]){break b}q[a+28>>2]=g}b=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);a=c+4|0;g=r[a+1|0]<<8|r[a|0]<<16|r[a+2|0];i=d+5|0;h=a+4|0;c=r[a+3|0];f=0;a=1;l=1;while(1){m:{d=0;if(b>>>0>c+g>>>0){while(1){q[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}a=a+1|0;if(a>>>0>j>>>0){break m}g=r[h+2|0]|(r[h+1|0]<<8|r[h|0]<<16);c=r[h+3|0];h=h+4|0;continue}if(b>>>0>>0){q[(f<<2)+e>>2]=b;f=f+1|0}l=l+1|0;if(l>>>0>m>>>0){break m}b=r[i+2|0]|(r[i+1|0]<<8|r[i|0]<<16);i=i+5|0;continue}break}n:{if(l>>>0<=m>>>0){q[(f<<2)+e>>2]=b;f=f+1|0;if(l>>>0>=m>>>0){break n}while(1){q[(f<<2)+e>>2]=r[i+2|0]|(r[i+1|0]<<8|r[i|0]<<16);f=f+1|0;i=i+5|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}break n}if(a>>>0>j>>>0){break n}d=0;while(1){q[(f<<2)+e>>2]=d+g;f=f+1|0;d=d+1|0;if(d>>>0<=c>>>0){continue}break}if(a>>>0>=j>>>0){break n}while(1){g=r[h+2|0]|(r[h+1|0]<<8|r[h|0]<<16);c=r[h+3|0];d=0;while(1){q[(f<<2)+e>>2]=d+g;f=f+1|0;b=(c|0)!=(d|0);d=d+1|0;if(b){continue}break}h=h+4|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}q[(f<<2)+e>>2]=0;break a}e=0}Da=k+16|0;return e|0}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,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;a:{b:{if(r[a+12|0]!=1){break b}q[a+16>>2]=-1;c:{d:{c=q[a+36>>2];if(!c){break d}d=q[b+36>>2];if(!d){break d}j=q[b+24>>2];l=q[a+24>>2];g=q[67829];p=q[67828];h=p;while(1){e:{f:{m=l>>>0>e>>>0;g:{if(!m){q[160744]=p;q[160745]=g;k=h;break g}k=q[q[a+28>>2]+(e<<3)>>2]}s=j>>>0<=f>>>0;n=271312;h:{if(s){break h}n=q[b+28>>2]+(f<<3)|0}i:{if((k|0)==q[n>>2]){f=f+1|0;break i}j:{if(!m){q[160744]=p;q[160745]=g;k=h;break j}k=q[q[a+28>>2]+(e<<3)>>2]}if(k>>>0>=t[(s?271312:q[b+28>>2]+(f<<3)|0)>>2]){break f}}e=e+1|0;i=i+1|0;break e}f=f+1|0}if(f>>>0>>0?c>>>0>e>>>0:0){continue}break}h=(c-e|0)+i|0;if(!Yi(a,h)){break b}e=q[67829];j=e;p=e;i=q[67828];k=i;f=h;while(1){m=q[a+24>>2];e=c+ -1|0;l=m>>>0>e>>>0;k:{if(!l){q[160744]=i;q[160745]=j;g=k;break k}g=q[q[a+28>>2]+(e<<3)>>2]}n=g;g=d+ -1|0;u=t[b+24>>2]<=g>>>0;v=271312;l:{if(u){break l}v=q[b+28>>2]+(g<<3)|0}m:{if((n|0)==q[v>>2]){f=f+ -1|0;n:{if(!l){q[160744]=i;q[160745]=j;c=642976;break n}c=q[a+28>>2]+(e<<3)|0}o:{if(m>>>0<=f>>>0){q[160744]=i;q[160745]=j;d=642976;break o}d=q[a+28>>2]+(f<<3)|0}o=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=o;p:{if(t[a+24>>2]<=e>>>0){q[160744]=i;q[160745]=j;c=p;break p}c=q[(q[a+28>>2]+(e<<3)|0)+4>>2]}q:{if(t[a+36>>2]<=c>>>0){c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;q[160744]=i;q[160745]=j;d=642976;break q}d=q[a+40>>2]+(c<<6)|0}c=271312;o=q[(t[b+24>>2]>g>>>0?q[b+28>>2]+(g<<3)|0:271312)+4>>2];if(t[b+36>>2]>o>>>0){c=q[b+40>>2]+(o<<6)|0}o=q[c+56>>2]^-1;l=q[c+60>>2]^-1;m=q[d+56>>2];s=q[d+60>>2];u=q[c+48>>2]^-1;w=q[c+52>>2]^-1;x=q[d+48>>2];y=q[d+52>>2];z=q[c+40>>2]^-1;A=q[c+44>>2]^-1;B=q[d+40>>2];C=q[d+44>>2];D=q[c+32>>2]^-1;E=q[c+36>>2]^-1;G=q[d+32>>2];H=q[d+36>>2];J=q[c+24>>2]^-1;K=q[c+28>>2]^-1;L=q[d+24>>2];M=q[d+28>>2];N=q[c+16>>2]^-1;O=q[c+20>>2]^-1;P=q[d+16>>2];Q=q[d+20>>2];R=q[c+8>>2]^-1;S=q[c+12>>2]^-1;T=q[d+8>>2];U=q[d+12>>2];V=q[c>>2]^-1;v=q[c+4>>2]^-1;n=q[d>>2];d=q[d+4>>2];r:{if(t[a+24>>2]<=f>>>0){q[160744]=i;q[160745]=j;c=p;break r}c=q[(q[a+28>>2]+(f<<3)|0)+4>>2]}o=o&m;l=l&s;m=u&x;s=w&y;u=z&B;w=A&C;x=D&G;y=E&H;z=J&L;A=K&M;B=N&P;C=O&Q;D=R&T;E=S&U;G=V&n;d=d&v;s:{if(t[a+36>>2]<=c>>>0){c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;q[160744]=i;q[160745]=j;c=642976;break s}c=q[a+40>>2]+(c<<6)|0}q[c+56>>2]=o;q[c+60>>2]=l;q[c+48>>2]=m;q[c+52>>2]=s;q[c+40>>2]=u;q[c+44>>2]=w;q[c+32>>2]=x;q[c+36>>2]=y;q[c+24>>2]=z;q[c+28>>2]=A;q[c+16>>2]=B;q[c+20>>2]=C;q[c+8>>2]=D;q[c+12>>2]=E;q[c>>2]=G;q[c+4>>2]=d;break m}t:{if(!l){q[160744]=i;q[160745]=j;n=k;break t}n=q[q[a+28>>2]+(e<<3)>>2]}if(n>>>0<=t[(u?271312:q[b+28>>2]+(g<<3)|0)>>2]){e=c;break m}f=f+ -1|0;u:{if(!l){q[160744]=i;q[160745]=j;c=642976;break u}c=q[a+28>>2]+(e<<3)|0}v:{if(m>>>0<=f>>>0){q[160744]=i;q[160745]=j;g=642976;break v}g=q[a+28>>2]+(f<<3)|0}o=q[c+4>>2];q[g>>2]=q[c>>2];q[g+4>>2]=o;g=d}if(!e){c=h;break c}c=e;d=g;if(d){continue}break}c=h;break c}e=c;f=c;if(!Yi(a,c)){break b}}if(e){k=q[67828];g=q[67829];while(1){f=f+ -1|0;h=q[a+24>>2];e=e+ -1|0;w:{if(h>>>0<=e>>>0){q[160744]=k;q[160745]=g;b=642976;break w}b=q[a+28>>2]+(e<<3)|0}x:{if(h>>>0<=f>>>0){q[160744]=k;q[160745]=g;h=642976;break x}h=q[a+28>>2]+(f<<3)|0}d=q[b+4>>2];q[h>>2]=q[b>>2];q[h+4>>2]=d;if(e){continue}break}}if(f){break a}if(t[a+36>>2]<=c>>>0){break b}Yi(a,c)}return}I(228596,228603,653,228615);F()}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,m=0,n=0,p=0;f=Da-48|0;Da=f;e=q[a+24>>2];if(e>>>0>=6){p=a+128|0;d=6;while(1){i=n;n=d;d=p;c=q[d+12>>2];q[f+40>>2]=q[d+8>>2];q[f+44>>2]=c;c=q[d+4>>2];q[f+32>>2]=q[d>>2];q[f+36>>2]=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];a:{if(k>>>0<=i>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(i<<5)|0}l=r[a+176|0];b:{if(!l){break b}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}c=i|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(c<<5)|0}d:{if(!l){break d}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}j=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[f+32>>3]=v[f+32>>3]+v[d>>3];v[f+40>>3]=v[f+40>>3]+v[c>>3];d=q[f+44>>2];q[f+24>>2]=q[f+40>>2];q[f+28>>2]=d;d=q[f+36>>2];q[f+16>>2]=q[f+32>>2];q[f+20>>2]=d;d=i+2|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}e:{if(k>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+36>>2]+(d<<5)|0}f:{if(!l){break f}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break f}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break f}q[d+20>>2]=0}c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}g:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break g}c=q[a+36>>2]+(c<<5)|0}h:{if(!l){break h}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break h}j=q[c+24>>2];m=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[j+(e<<3)>>3]*+u[m+(e<<2)>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break h}q[c+20>>2]=0}v[f+16>>3]=v[f+16>>3]+v[d>>3];v[f+24>>3]=v[f+24>>3]+v[c>>3];d=q[f+28>>2];q[f+8>>2]=q[f+24>>2];q[f+12>>2]=d;d=q[f+20>>2];q[f>>2]=q[f+16>>2];q[f+4>>2]=d;d=i+4|0;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}i:{if(k>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break i}d=q[a+36>>2]+(d<<5)|0}j:{if(!l){break j}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break j}h=q[d+24>>2];j=q[a+172>>2];g=v[d>>3];e=0;while(1){g=g+v[h+(e<<3)>>3]*+u[j+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=g;if(q[d+16>>2]<0){break j}q[d+20>>2]=0}c=i+5|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}k:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break k}c=q[a+36>>2]+(c<<5)|0}l:{if(!l){break l}i=q[c+20>>2];if(!i|(i|0)!=q[a+168>>2]){break l}k=q[c+24>>2];l=q[a+172>>2];g=v[c>>3];e=0;while(1){g=g+v[k+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((i|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=g;if(q[c+16>>2]<0){break l}q[c+20>>2]=0}v[f>>3]=v[f>>3]+v[d>>3];v[f+8>>3]=v[f+8>>3]+v[c>>3];pb(a,b,f+32|0,f+16|0,f);d=n+6|0;e=q[a+24>>2];if(d>>>0<=e>>>0){continue}break}}Da=f+48|0}function jX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=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:{d=a+ -1|0;if(d>>>0>30){d=a+ -255|0;if(d>>>0>38){break x}y:{switch(d-1|0){default:iX(b+20|0,b);return;case 34:gX(b,c);break a;case 35:fX(b,c);break a;case 36:eX(b,c);break a;case 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: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 x;case 37:break y}}dX(b,c);break a}switch(d-1|0){case 17:case 18:break j;case 19:break k;case 20:break l;case 2:break m;case 3:break n;case 4:break o;case 5:break p;case 6:break q;case 22:break r;case 23:break s;case 24:break t;case 25:break u;case 28:break v;case 29:break w;case 0:case 7:case 10:case 11:case 13:case 14:case 15:case 26:break x;case 9:break c;case 12:break d;case 8:break e;case 27:break f;case 1:case 21:break h;default:break g}}cX(a,b);break i}bX(b,c);break a}aX(b,c);break a}$W(b,c);break a}_W(b,c);break a}ZW(b,c);break a}XW(b,c);break a}WW(b,c);break a}VW(b,c);break a}UW(b,c);break a}TW(b,c);break a}h=v[b+136>>3];g=q[b+128>>2];i=q[b+132>>2];a=q[b+24>>2];z:{A:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){break A}d=q[b+36>>2]+(a<<5)|0;break z}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;d=642976}B:{if(!r[b+176|0]){break B}f=q[d+20>>2];if(!f|(f|0)!=q[b+168>>2]){break B}j=q[d+24>>2];k=q[b+172>>2];e=v[d>>3];a=0;while(1){e=e+v[j+(a<<3)>>3]*+u[k+(a<<2)>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=e;if(q[d+16>>2]<0){break B}q[d+20>>2]=0}e=v[d>>3];o[c|0]=0;v[b+136>>3]=h+e;q[b+128>>2]=g;q[b+132>>2]=i;break b}g=q[b+136>>2];i=q[b+140>>2];h=v[b+128>>3];a=q[b+24>>2];C:{D:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){break D}d=q[b+36>>2]+(a<<5)|0;break C}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;d=642976}E:{if(!r[b+176|0]){break E}f=q[d+20>>2];if(!f|(f|0)!=q[b+168>>2]){break E}j=q[d+24>>2];k=q[b+172>>2];e=v[d>>3];a=0;while(1){e=e+v[j+(a<<3)>>3]*+u[k+(a<<2)>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=e;if(q[d+16>>2]<0){break E}q[d+20>>2]=0}e=v[d>>3];o[c|0]=0;q[b+136>>2]=g;q[b+140>>2]=i;v[b+128>>3]=h+e;break b}SW(b,c);break b}F:{if(r[b+74|0]){a=q[b+84>>2];break F}o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;a=(a+q[b+76>>2]|0)+7>>>3|0;q[b+84>>2]=a}if(r[b+16|0]){break i}c=q[b+12>>2];d=c+a|0;a=q[b+4>>2];if(d>>>0>a>>>0){break i}q[b+24>>2]=0;if(c>>>0<=a>>>0){q[b+12>>2]=d;return}o[b+16|0]=1;q[b+12>>2]=a;return}return}a=q[b+24>>2];q[b+24>>2]=0;q[b+80>>2]=q[b+80>>2]+(a>>>1|0);return}a=q[b+24>>2];q[b+24>>2]=0;q[b+76>>2]=q[b+76>>2]+(a>>>1|0);return}yu(b,b+108|0,1);return}yu(b,b+116|0,2);return}o[b+72|0]=1;break a}if(r[b+16|0]){o[b+40|0]=1}a=q[b+92>>2];G:{H:{if(a){a=a+ -1|0;q[b+92>>2]=a;if(t[b+100>>2]<=a>>>0){break H}a=q[b+104>>2]+w(a,28)|0;break G}o[b+88|0]=1}q[160750]=q[67834];a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}d=q[a+4>>2];q[b+44>>2]=q[a>>2];q[b+48>>2]=d;q[b+68>>2]=q[a+24>>2];c=a+16|0;d=q[c+4>>2];q[b+60>>2]=q[c>>2];q[b+64>>2]=d;c=a+8|0;d=q[c+4>>2];q[b+52>>2]=q[c>>2];q[b+56>>2]=d;c=q[a+8>>2];d=q[a+12>>2];f=q[a>>2];g=q[a+4>>2];o[b+16|0]=r[a+16|0];q[b+8>>2]=c;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=g;return}if(!r[b+73|0]){if(!r[b+74|0]){o[b+74|0]=1;a=q[b+80>>2]+(q[b+24>>2]>>>1|0)|0;q[b+80>>2]=a;q[b+84>>2]=(a+q[b+76>>2]|0)+7>>>3}o[b+73|0]=1}}q[b+24>>2]=0}function zP(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,o=0;j=Da-96|0;Da=j;q[j+80>>2]=0;q[j+84>>2]=0;q[j+72>>2]=0;q[j+76>>2]=0;g=j- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[j+56>>2]=0;q[j+60>>2]=0;q[j+48>>2]=0;q[j+52>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;m=c+10|0;g=Oa(a,8,0,m,0,j+92|0);q[b+20>>2]=g;k=q[j+92>>2];if(!k){a:{if(!c){break a}k=0;if(!e){while(1){e=n[d](f,k)|0;b:{if(!e){break b}i=0;c:{d:{if(!Ta(354032,e)){break d}i=1;if(!Ta(354038,e)){break d}i=2;if(!Ta(354044,e)){break d}i=3;if(!Ta(354053,e)){break d}i=4;if(!Ta(354060,e)){break d}i=5;if(!Ta(354067,e)){break d}i=6;if(!Ta(354070,e)){break d}i=7;if(!Ta(354085,e)){break d}i=8;if(!Ta(354091,e)){break d}if(Ta(354104,e)){break c}i=9}i=i<<2;h=i+(j+48|0)|0;if(q[h>>2]){break c}q[h>>2]=1;q[j+i>>2]=k}i=Bl(e);if(!(i&2147483647)){break b}h=j+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((i|0)<=915){e=i+ -160|0;if(e>>>0<=13){break k}e=i+ -538|0;if(e>>>0>1){if((i|0)!=713){break e}e=4;break f}if(e-1){break n}break o}e=i+ -937|0;if(e>>>0<=19){break j}e=i+ -8725|0;if(e>>>0>4){e=0;if((i|0)==916){break f}break e}switch(e-1|0){case 3:break m;case 0:case 1:case 2:break e;default:break l}}e=9;break f}e=8;break f}e=6;break f}e=2;break f}switch(e-1|0){case 12:break i;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break e;default:break g}}p:{switch(e-1|0){case 18:break h;case 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:case 16:case 17:break e;default:break p}}e=1;break f}e=3;break f}e=5;break f}e=7}q[h+(e<<2)>>2]=2}q[g+4>>2]=k;q[g>>2]=i;g=g+8|0}k=k+1|0;if((k|0)!=(c|0)){continue}break a}}while(1){i=n[d](f,k)|0;if(i){h=0;q:{r:{if(!Ta(354032,i)){break r}h=1;if(!Ta(354038,i)){break r}h=2;if(!Ta(354044,i)){break r}h=3;if(!Ta(354053,i)){break r}h=4;if(!Ta(354060,i)){break r}h=5;if(!Ta(354067,i)){break r}h=6;if(!Ta(354070,i)){break r}h=7;if(!Ta(354085,i)){break r}h=8;if(!Ta(354091,i)){break r}if(Ta(354104,i)){break q}h=9}h=h<<2;l=h+(j+48|0)|0;if(q[l>>2]){break q}q[l>>2]=1;q[j+h>>2]=k}l=Bl(i);if(l&2147483647){o=j+48|0;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if((l|0)<=915){h=l+ -160|0;if(h>>>0<=13){break z}h=l+ -538|0;if(h>>>0>1){if((l|0)!=713){break s}h=4;break t}if(h-1){break B}break A}h=l+ -937|0;if(h>>>0<=19){break y}h=l+ -8725|0;if(h>>>0>4){h=0;if((l|0)==916){break t}break s}C:{switch(h-1|0){default:h=2;break t;case 0:case 1:case 2:break s;case 3:break C}}h=6;break t}h=8;break t}h=9;break t}switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break s;case 12:break v;default:break x}}switch(h-1|0){case 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:case 16:case 17:break s;case 18:break w;default:break u}}h=7;break t}h=5;break t}h=3;break t}h=1}q[o+(h<<2)>>2]=2}q[g+4>>2]=k;q[g>>2]=l;g=g+8|0}n[e](f,i)}k=k+1|0;if((k|0)!=(c|0)){continue}break}}if(q[j+48>>2]==1){q[g>>2]=916;q[g+4>>2]=q[j>>2];g=g+8|0}if(q[j+52>>2]==1){q[g>>2]=937;q[g+4>>2]=q[j+4>>2];g=g+8|0}if(q[j+56>>2]==1){q[g>>2]=8725;q[g+4>>2]=q[j+8>>2];g=g+8|0}if(q[j+60>>2]==1){q[g>>2]=173;q[g+4>>2]=q[j+12>>2];g=g+8|0}if(q[j+64>>2]==1){q[g>>2]=713;q[g+4>>2]=q[j+16>>2];g=g+8|0}if(q[j+68>>2]==1){q[g>>2]=956;q[g+4>>2]=q[j+20>>2];g=g+8|0}if(q[j+72>>2]==1){q[g>>2]=8729;q[g+4>>2]=q[j+24>>2];g=g+8|0}if(q[j+76>>2]==1){q[g>>2]=160;q[g+4>>2]=q[j+28>>2];g=g+8|0}if(q[j+80>>2]==1){q[g>>2]=538;q[g+4>>2]=q[j+32>>2];g=g+8|0}if(q[j+84>>2]==1){q[g>>2]=539;q[g+4>>2]=q[j+36>>2];g=g+8|0}k=q[b+20>>2];e=g-k|0;d=e>>3;D:{if(!e){if(k){n[q[a+8>>2]](a,k)}q[b+20>>2]=0;k=q[j+92>>2];if(k){break D}k=163;q[j+92>>2]=163;break D}if(d>>>0>>1>>>0){k=Oa(a,8,m,d,k,j+92|0);q[b+20>>2]=k;q[j+92>>2]=0}Gc(k,d,8,745);k=q[j+92>>2]}q[b+16>>2]=d}Da=j+96|0;return k|0}function Is(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0;d=w(b,1348)+a|0;k=q[d- -64>>2];t=q[d+56>>2];u=k+w(t,44)|0;a:{if((b|0)==1){v=r[q[(q[q[q[a+2748>>2]>>2]+8>>2]<<2)+284112>>2]+12|0];if((t|0)<1){break a}d=k;while(1){g=r[d+12|0];b:{if(g&4){break b}c:{d:{c=q[d+24>>2];e=q[d+20>>2];e:{if(!c|!e){break e}h=1;if(!q[c+20>>2]){break d}i=r[c+12|0];if(i&8){q[c+20>>2]=0;o[c+12|0]=i&247;e=q[d+20>>2];break e}if(!(g&8)){break d}e=0;q[d+20>>2]=0;o[d+12|0]=g&247}h=(e|0)!=0;if(!c|e){break d}i=d;e=q[c+20>>2];if(e){break c}break b}if(!h){break b}i=h?c:0;c=d}g=q[e+8>>2];q[c+8>>2]=g;e=r[c+12|0]|4;o[c+12|0]=e;if(!(q[i+20>>2]|!i)){c=q[c+4>>2];h=e;e=r[i+12|0];c=$g(a,1,q[i+4>>2]-c|0,g-c|0,h,e);o[i+12|0]=e|4;q[i+8>>2]=c+g}j=j?j:d}d=d+44|0;if(d>>>0>>0){continue}break}}f:{if((t|0)<1){i=0;break f}d=k;i=0;while(1){s=r[d+12|0];g:{if(s&4){break g}e=q[d+24>>2];if(!e){i=i+1|0;break g}if(q[e+20>>2]){c=q[e+4>>2];f=q[e+8>>2];c=$g(a,b,q[d+4>>2]-c|0,f-c|0,r[e+12|0],s);o[d+12|0]=s|4;q[d+8>>2]=c+f;break g}if(!j){l=q[d+4>>2];p=q[e+4>>2]-l|0;n=$g(a,b,p,0,s,r[e+12|0]);h:{if((n|0)<=95){g=l+(p>>1)|0;j=g+32&-64;c=(n|0)<65;m=j-(c?32:38)|0;f=g-m|0;h=f>>31;j=j|(c?32:26);c=g-j|0;g=c>>31;c=((h^f+h)<(g^c+g)?m:j)-((n|0)/2|0)|0;q[d+8>>2]=c;q[e+8>>2]=c+n;j=q[d+8>>2];break h}j=l+32&-64;q[d+8>>2]=j}c=s|4;o[d+12|0]=c;x=e,y=$g(a,b,p,j-l|0,c,r[e+12|0])+j|0,q[x+8>>2]=y;j=d;break g}h=q[j+4>>2];g=q[j+8>>2];f=q[d+4>>2];m=q[e+4>>2]-f|0;c=r[e+12|0];l=$g(a,b,m,0,s,c);i:{if(c&4){f=q[e+8>>2]-l|0;c=d;break i}c=g+(f-h|0)|0;n=c+(m>>1)|0;j:{if((l|0)<=95){f=n+32&-64;c=(l|0)<65;h=f-(c?32:38)|0;g=n-h|0;p=g>>31;f=f|(c?32:26);c=n-f|0;m=c>>31;f=(p^g+p)<(m^c+m)?h:f;c=(l|0)/2|0;q[d+8>>2]=f-c;f=c+f|0;break j}f=c+32|0;h=f&-64;c=l>>>1|0;g=(h+c|0)-n|0;p=g>>31;f=(f+m&-64)-l|0;c=f+(c-n|0)|0;m=c>>31;c=(p^g+p)<(m^c+m)?h:f;q[d+8>>2]=c;f=c+l|0}c=e}q[c+8>>2]=f;o[d+12|0]=s|4;o[e+12|0]=r[e+12|0]|4;if(d>>>0<=k>>>0){break g}f=q[d+ -36>>2];c=q[d+8>>2];k:{if(v){if((c|0)>(f|0)){break k}break g}if((c|0)>=(f|0)){break g}}c=q[e+8>>2]-f|0;e=c>>31;if((e^c+e)<17){break g}q[d+8>>2]=f}d=d+44|0;if(d>>>0>>0){continue}break}f=1}if(b){break a}a=t+ -6|0;if(a>>>0>6){break a}d=4;h=2;c=k;l:{switch(a-1|0){case 5:c=k+44|0;d=9;h=5;break;case 0:case 1:case 2:case 3:case 4:break a;default:break l}}e=w(h,44)+k|0;a=q[e+4>>2];g=w(d,44)+k|0;a=a-q[g+4>>2]+(a-q[c+4>>2])|0;b=a>>31;if((b^a+b)>7){break a}b=q[g+8>>2];a=(q[e+8>>2]<<1)-q[c+8>>2]|0;q[g+8>>2]=a;a=b-a|0;b=q[g+24>>2];if(b){q[b+8>>2]=q[b+8>>2]-a}if((t|0)==12){q[k+360>>2]=q[k+360>>2]-a;q[k+492>>2]=q[k+492>>2]-a}a=w(d,44)+k|0;o[a+12|0]=r[a+12|0]|4;if(!b){break a}o[b+12|0]=r[b+12|0]|4}if(!(!f|!i&(j|0)!=0)){d=k;while(1){b=r[d+12|0];m:{if(b&4){break m}f=d;n:{o:{p:{g=q[d+28>>2];if(!g){break p}e=q[g+4>>2];c=q[d+4>>2];a=e-c|0;i=a>>31;if((i^a+i)>79){break p}c=c+(q[g+8>>2]-e|0)|0;break o}c=d;if(!j){c=q[d+4>>2]+32&-64;q[d+8>>2]=c;j=d;break n}q:{while(1){g=c;c=c+ -44|0;a=0;if(c>>>0>>0){break q}if(!(r[g+ -32|0]&4)){continue}break}a=1}e=d;r:{while(1){i=e;e=e+44|0;if(e>>>0>=u>>>0){break r}if(!(r[i+56|0]&4)){continue}break}if(!(a&c>>>0>>0)|e>>>0<=d>>>0){break r}h=q[g+ -36>>2];a=q[i+48>>2];e=q[g+ -40>>2];c=h;if((a|0)==(e|0)){break o}c=bb(q[d+4>>2]-e|0,q[i+52>>2]-h|0,a-e|0)+h|0;q[d+8>>2]=c;b=r[d+12|0];break n}c=q[j+8>>2]+((q[d+4>>2]-q[j+4>>2]|0)+16&-32)|0}q[f+8>>2]=c}o[d+12|0]=b|4;s:{if(d>>>0<=k>>>0){break s}a=q[d+ -36>>2];t:{if(v){if((c|0)>(a|0)){break t}break s}if((c|0)>=(a|0)){break s}}b=q[d+24>>2];if(!b){break s}b=q[b+8>>2]-a|0;e=b>>31;if((e^b+e)<17){break s}q[d+8>>2]=a;c=a}if(!(r[d+56|0]&4)|d+44>>>0>=u>>>0){break m}e=q[d+52>>2];u:{if(v){if((c|0)<(e|0)){break u}break m}if((c|0)<=(e|0)){break m}}a=q[d+24>>2];if(!a){break m}a=q[a+8>>2]-q[d+ -36>>2]|0;b=a>>31;if((b^a+b)<17){break m}q[d+8>>2]=e}d=d+44|0;if(d>>>0>>0){continue}break}}}function bh(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,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;m=Da-16|0;Da=m;q[m+12>>2]=0;q[a+1404>>2]=0;q[a+1392>>2]=0;q[a+56>>2]=0;q[a+44>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;d=q[a>>2];k=q[a+16>>2];n=q[a+8>>2];t=q[a+12>>2];u=q[a+4>>2];g=p[b>>1];a:{b:{if(g>>>0<=8){if(q[a+40>>2]){break b}q[a+32>>2]=8;q[a+40>>2]=a+2760;break b}c=q[a+32>>2];if(c>>>0>=g>>>0){break b}e=a;h=d;f=c;g=g+3&-4;i=g;c=q[a+40>>2];if((c|0)==(a+2760|0)){q[a+40>>2]=0;c=0}C=e,D=Oa(h,4,f,i,c,m+12|0),q[C+40>>2]=D;if(q[m+12>>2]){break a}q[a+32>>2]=g}c=p[b+2>>1];e=c+2|0;c:{if(e>>>0<=96){if(q[a+28>>2]){break c}q[a+20>>2]=96;q[a+28>>2]=a+2792;break c}f=e;e=q[a+20>>2];if(f>>>0<=e>>>0){break c}h=a;f=c+11&-8;g=f;c=q[a+28>>2];if((c|0)==(a+2792|0)){q[a+28>>2]=0;c=0}C=h,D=Oa(d,40,e,g,c,m+12|0),q[C+28>>2]=D;if(q[m+12>>2]){break a}q[a+20>>2]=f;c=p[b+2>>1]}q[a+24>>2]=c;c=p[b>>1];q[a+1416>>2]=-1;q[a+68>>2]=2;q[a+36>>2]=c;if((Hj(b)|0)==1){q[a+1416>>2]=1;q[a+68>>2]=-2}q[a+12>>2]=t;q[a+4>>2]=u;q[a+2752>>2]=0;q[a+2756>>2]=0;q[a+16>>2]=k;q[a+8>>2]=n;v=q[a+24>>2];if(!v){break a}h=q[a+28>>2];x=h+w(v,40)|0;d=q[b+12>>2];y=w(s[q[q[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((v|0)>=1){e=q[b+4>>2];g=q[b+8>>2];c=h;i=p[d>>1];f=c+w(i,40)|0;d=f;while(1){p[c+2>>1]=1028;j=q[e>>2];p[c+12>>1]=j;p[c+14>>1]=q[e+4>>2];j=Ma(j,u)+n|0;q[c+4>>2]=j;q[c+16>>2]=j;j=Ma(q[e+4>>2],t)+k|0;q[c+8>>2]=j;q[c+20>>2]=j;j=q[b+4>>2]+(i<<3)|0;p[f+12>>1]=q[j>>2];p[f+14>>1]=q[j+4>>2];j=r[g|0]&3;p[c>>1]=j?((j|0)==2)<<1:1;z=p[c+14>>1]-p[d+14>>1]|0;j=z>>31;A=p[c+12>>1]-p[d+12>>1]|0;B=A>>31;if(((j^j+z)+(B^B+A)|0)<(y|0)){p[d>>1]=s[d>>1]|32}q[c+36>>2]=d;q[d+32>>2]=c;d:{if((c|0)!=(f|0)){d=c;break d}l=l+1|0;if((l|0)>=p[b>>1]){d=c;f=c;break d}i=p[q[b+12>>2]+(l<<1)>>1];d=w(i,40)+h|0;f=d}g=g+1|0;e=e+8|0;c=c+40|0;if(c>>>0>>0){continue}break}d=q[b+12>>2]}b=q[a+36>>2];if((b|0)>=1){c=q[a+40>>2];f=c+(b<<2)|0;e=0;while(1){q[c>>2]=w(e<<16>>16,40)+h;e=p[d>>1]+1|0;d=d+2|0;c=c+4|0;if(c>>>0>>0){continue}break}l=q[a+40>>2];u=l+(b<<2)|0;j=(y<<1)+ -1|0;while(1){e=q[l>>2];c=e;while(1){e:{f=c;g=p[c+12>>1];c=q[c+36>>2];if((e|0)==(c|0)){b=s[f+14>>1];break e}b=p[f+14>>1];i=b-p[c+14>>1]|0;a=i>>31;k=g-p[c+12>>1]|0;d=k>>31;if(((a^a+i)+(d^d+k)|0)<(j|0)){continue}}break}q[f+24>>2]=0;q[f+28>>2]=0;d=0;e=f;a=e;c=0;while(1){k=g<<16;g=b<<16;e=q[e+32>>2];b=p[e+14>>1];c=(b-(g>>16)|0)+c|0;i=c>>31;g=p[e+12>>1];d=(g-(k>>16)|0)+d|0;k=d>>31;f:{if(((i^c+i)+(k^d+k)|0)<(y|0)){p[e>>1]=s[e>>1]|16;break f}k=0-d|0;i=(e-a|0)/40|0;q[a+24>>2]=i;q[e+28>>2]=0-i;g:{if((c|0)>=(d|0)){t=(c|0)>=(k|0);i=t?2:-1;n=t?d:c;d=t?c:k;break g}k=(c|0)>=(k|0);i=k?1:-2;n=k?c:d;d=k?d:0-c|0}c=n>>31;d=(d|0)>(w(c+n^c,14)|0)?i:4;o[a+3|0]=d;c=q[a+32>>2];if((e|0)!=(c|0)){while(1){o[c+3|0]=d;o[c+2|0]=d;c=q[c+32>>2];if((e|0)!=(c|0)){continue}break}}o[e+2|0]=d;a=(f-e|0)/40|0;q[e+24>>2]=a;d=0;q[f+28>>2]=0-a;a=e;c=0}if((e|0)!=(f|0)){continue}break}l=l+4|0;if(l>>>0>>0){continue}break}}if((v|0)<=0){break a}c=h;while(1){d=s[c>>1];h:{if(d&16|r[c+2|0]!=4|r[c+3|0]!=4){break h}e=q[c+24>>2];a=w(e,40)+c|0;b=p[c+12>>1];i=p[a+12>>1]-b|0;g=b;f=q[c+28>>2];b=w(f,40)+c|0;if((i^g-p[b+12>>1])<0){break h}g=p[c+14>>1];if((g-p[b+14>>1]^p[a+14>>1]-g)<0){break h}p[c>>1]=d|16;d=b;b=(w(e-f|0,40)|0)/40|0;q[d+24>>2]=b;q[a+28>>2]=0-b}c=c+40|0;if(c>>>0>>0){continue}break}while(1){c=s[h>>1];i:{if(c&16){break i}j:{if(c&3){break j}a=r[h+3|0];b=r[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break j}c=p[h+12>>1];d=q[h+28>>2];a=w(d,40)+h|0;e=p[h+14>>1];f=q[h+24>>2];b=w(f,40)+h|0;if(!Dq(c-p[a+12>>1]|0,e-p[a+14>>1]|0,p[b+12>>1]-c|0,p[b+14>>1]-e|0)){break i}c=a;a=(w(f-d|0,40)|0)/40|0;q[c+24>>2]=a;q[b+28>>2]=0-a;c=s[h>>1];break j}if((0-(a<<24>>24)|0)!=b<<24>>24){break i}}p[h>>1]=c|16}h=h+40|0;if(h>>>0>>0){continue}break}}Da=m+16|0;return q[m+12>>2]}function OT(a,b,c){a=a|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,u=0,v=0,x=0;f=Da-32|0;Da=f;a:{if(r[c+16|0]&16){break a}e=q[c+76>>2];if(!e){break a}a=q[c+88>>2];while(1){if((r[(a+w(d,20)|0)+15|0]&15)!=7){d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}q[f+24>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;a=q[b+72>>2];if(!n[q[a+156>>2]](b,q[b+76>>2],9676,f+8|0,q[a+20>>2])){break a}v=f,x=It(9676),o[v+26|0]=x;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b=q[c+76>>2];b:{if(!b){break b}d=0;while(1){if(!r[c+68|0]){break b}a=q[c+88>>2];j=a+w(d,20)|0;e=r[j+15|0];c:{if(!((e|0)==(g|0)|(e&15)!=7)){p[f+4>>1]=s[f+20>>1];o[f+6|0]=r[f+22|0];m=q[j+4>>2];k=q[j+8>>2];j=q[f+24>>2];g=q[f+8>>2];d:{if(d>>>0>=b>>>0){break d}while(1){if(r[(w(d,20)+a|0)+18|0]!=18){break d}e:{if(r[c+69|0]){h=c;f:{if(q[c+92>>2]==(a|0)){a=d;b=a;if(q[c+80>>2]==(a|0)){break f}}if(!Va(c,1,1)){d=q[c+72>>2];break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;a=q[d+4>>2];i=q[c+92>>2]+w(q[c+80>>2],20)|0;q[i>>2]=q[d>>2];q[i+4>>2]=a;q[i+16>>2]=q[d+16>>2];a=q[d+12>>2];q[i+8>>2]=q[d+8>>2];q[i+12>>2]=a;d=q[c+72>>2];b=q[c+80>>2]}q[h+80>>2]=b+1}d=d+1|0;q[c+72>>2]=d}if(!r[c+68|0]|d>>>0>=t[c+76>>2]){break d}a=q[c+88>>2];if((e|0)==r[(a+w(d,20)|0)+15|0]){continue}break}}if(Va(c,0,1)){a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a+8>>2]=k;q[a+4>>2]=m;q[a>>2]=g;p[a+12>>1]=s[f+4>>1];o[a+14|0]=r[f+6|0];q[a+16>>2]=j;o[a+15|0]=e;q[c+80>>2]=q[c+80>>2]+1}g=e;break c}if(r[c+69|0]){i=c;g:{if(q[c+92>>2]==(a|0)){a=d;b=a;if(q[c+80>>2]==(a|0)){break g}}if(!Va(c,1,1)){break c}d=q[c+88>>2]+w(q[c+72>>2],20)|0;a=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=a;q[e+16>>2]=q[d+16>>2];a=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=a;d=q[c+72>>2];b=q[c+80>>2]}q[i+80>>2]=b+1}q[c+72>>2]=d+1}d=q[c+72>>2];b=q[c+76>>2];if(d>>>0>>0){continue}break}}Kc(c)}i=q[c+76>>2];if(i){g=i+ -1|0;a=0;d=q[c+88>>2];b=r[d+15|0];while(1){h:{if((a|0)==(g|0)){a=i;break h}a=a+1|0;if((b|0)==r[(d+w(a,20)|0)+15|0]){continue}}break}h=q[c+88>>2];b=r[h+15|0];d=0;while(1){g=a;i:{if(!(1<<(b&15)&142)){break i}j:{if(g-d>>>0<2){break j}k=w(d,20)+h|0;if(r[k+18|0]!=18){break j}j=d+1|0;if(j>>>0>=g>>>0){break j}m=g+ -1|0;a=j;k:{while(1){l:{u=w(a,20)+h|0;e=r[u+18|0];if(e>>>0<=63){l=e&31;if(32<=(e&63)>>>0){b=1<>>32-l;l=1<>1]&32;if(b?(a|0)!=(m|0):0){break m}if(!b){break l}break k}if((a|0)!=(m|0)){break m}a=m;break k}a=a+1|0;if((g|0)!=(a|0)){continue}break j}break}a=a+ -1|0}b=a+1|0;if(b-d>>>0>=2){kc(c,d,b)}q[f+24>>2]=q[k+16>>2];b=q[k+12>>2];q[f+16>>2]=q[k+8>>2];q[f+20>>2]=b;b=q[k+4>>2];q[f+8>>2]=q[k>>2];q[f+12>>2]=b;sb(k,w(j,20)+h|0,w(a-d|0,20));b=w(a,20)+h|0;q[b+16>>2]=q[f+24>>2];a=q[f+20>>2];q[b+8>>2]=q[f+16>>2];q[b+12>>2]=a;a=q[f+12>>2];q[b>>2]=q[f+8>>2];q[b+4>>2]=a}a=d;if(g>>>0<=a>>>0){break i}while(1){e=w(d,20)+h|0;b=r[e+18|0];n:{if(!((b|32)!=44|r[e+12|0]&32)){a=d+1|0;break n}if(!(1<>>0>31|d>>>0<=a>>>0){break n}b=r[e+14|0];if(!((b&16)>>>4|!(b&15))){break n}b=d+1|0;if(b-a>>>0>=2){kc(c,a,b)}q[f+24>>2]=q[e+16>>2];b=q[e+12>>2];q[f+16>>2]=q[e+8>>2];q[f+20>>2]=b;b=q[e+4>>2];q[f+8>>2]=q[e>>2];q[f+12>>2]=b;e=w(a,20)+h|0;sb(e+20|0,e,w(d-a|0,20));q[e+16>>2]=q[f+24>>2];b=q[f+20>>2];q[e+8>>2]=q[f+16>>2];q[e+12>>2]=b;b=q[f+12>>2];q[e>>2]=q[f+8>>2];q[e+4>>2]=b}d=d+1|0;if((g|0)!=(d|0)){continue}break}}e=q[c+76>>2];a=g+1|0;d=e>>>0>a>>>0?e:a;h=q[c+88>>2];b=r[(h+w(g,20)|0)+15|0];a=g;while(1){o:{a=a+1|0;if(a>>>0>=e>>>0){a=d;break o}if(r[(w(a,20)+h|0)+15|0]==(b&255)){continue}}break}d=g;if(d>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){o[c+164|0]=a&191;Da=f+32|0;return}I(264088,264058,160,264073);F()}function Wk(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;l=q[b+16>>2];i=q[b+32>>2];m=q[b+48>>2];n=q[b+36>>2];o=q[b+52>>2];p=q[b+4>>2];g=q[b+20>>2];h=q[a+4>>2];j=q[b>>2];B=q[a>>2];r=q[a+12>>2];k=q[a+8>>2];c=h+_$(((j+B|0)+(r^(r^k)&h)|0)+ -680876936|0,7)|0;s=q[b+12>>2];t=q[b+8>>2];e=_$(((p+r|0)+(c&(h^k)^k)|0)+ -389564586|0,12)+c|0;d=_$(((t+k|0)+(e&(c^h)^h)|0)+606105819|0,17)+e|0;f=_$(((h+s|0)+(c^d&(c^e))|0)+ -1044525330|0,22)+d|0;c=_$(((c+l|0)+(e^f&(d^e))|0)+ -176418897|0,7)+f|0;u=q[b+28>>2];v=q[b+24>>2];e=_$(((e+g|0)+(d^c&(d^f))|0)+1200080426|0,12)+c|0;d=_$(((d+v|0)+(f^e&(c^f))|0)+ -1473231341|0,17)+e|0;f=_$(((f+u|0)+(c^d&(c^e))|0)+ -45705983|0,22)+d|0;c=_$(((c+i|0)+(e^f&(d^e))|0)+1770035416|0,7)+f|0;w=q[b+44>>2];x=q[b+40>>2];e=_$(((e+n|0)+(d^c&(d^f))|0)+ -1958414417|0,12)+c|0;d=_$(((x+d|0)+(f^e&(c^f))|0)+ -42063|0,17)+e|0;f=_$(((f+w|0)+(c^d&(c^e))|0)+ -1990404162|0,22)+d|0;c=_$(((c+m|0)+(e^f&(d^e))|0)+1804603682|0,7)+f|0;y=q[b+60>>2];A=c+p|0;z=q[b+56>>2];e=_$(((e+o|0)+(d^c&(d^f))|0)+ -40341101|0,12)+c|0;b=_$(((z+d|0)+(f^e&(c^f))|0)+ -1502002290|0,17)+e|0;c=_$(((f+y|0)+(c^b&(c^e))|0)+1236535329|0,22)+b|0;d=_$((A+((b^c)&e^b)|0)+ -165796510|0,5)+c|0;f=b+w|0;b=_$(((e+v|0)+(c^b&(c^d))|0)+ -1069501632|0,9)+d|0;e=_$((f+(d^c&(b^d))|0)+643717713|0,14)+b|0;c=_$(((c+j|0)+(b^d&(b^e))|0)+ -373897302|0,20)+e|0;d=_$(((d+g|0)+((e^c)&b^e)|0)+ -701558691|0,5)+c|0;b=_$(((b+x|0)+(c^e&(c^d))|0)+38016083|0,9)+d|0;e=_$(((e+y|0)+(d^c&(b^d))|0)+ -660478335|0,14)+b|0;c=_$(((c+l|0)+(b^d&(b^e))|0)+ -405537848|0,20)+e|0;d=_$(((d+n|0)+((e^c)&b^e)|0)+568446438|0,5)+c|0;f=e+s|0;e=_$(((b+z|0)+(c^e&(c^d))|0)+ -1019803690|0,9)+d|0;f=_$((f+(d^(e^d)&c)|0)+ -187363961|0,14)+e|0;c=_$(((c+i|0)+(e^(e^f)&d)|0)+1163531501|0,20)+f|0;b=_$(((d+o|0)+((f^c)&e^f)|0)+ -1444681467|0,5)+c|0;d=_$(((e+t|0)+(c^f&(b^c))|0)+ -51403784|0,9)+b|0;e=_$(((f+u|0)+(b^c&(d^b))|0)+1735328473|0,14)+d|0;A=d+i|0;f=d^e;c=_$(((c+m|0)+(d^f&b)|0)+ -1926607734|0,20)+e|0;d=_$(((b+g|0)+(c^f)|0)+ -378558|0,4)+c|0;b=_$((A+(c^e^d)|0)+ -2022574463|0,11)+d|0;e=_$(((e+w|0)+(b^(c^d))|0)+1839030562|0,16)+b|0;c=_$(((c+z|0)+(e^(b^d))|0)+ -35309556|0,23)+e|0;d=_$(((d+p|0)+(c^(b^e))|0)+ -1530992060|0,4)+c|0;b=_$(((b+l|0)+(d^(c^e))|0)+1272893353|0,11)+d|0;e=_$(((e+u|0)+(b^(c^d))|0)+ -155497632|0,16)+b|0;c=_$(((c+x|0)+(e^(b^d))|0)+ -1094730640|0,23)+e|0;d=_$(((d+o|0)+(c^(b^e))|0)+681279174|0,4)+c|0;b=_$(((b+j|0)+(d^(c^e))|0)+ -358537222|0,11)+d|0;e=_$(((e+s|0)+(b^(c^d))|0)+ -722521979|0,16)+b|0;c=_$(((c+v|0)+(e^(b^d))|0)+76029189|0,23)+e|0;d=_$(((d+n|0)+(c^(b^e))|0)+ -640364487|0,4)+c|0;b=_$(((b+m|0)+(d^(c^e))|0)+ -421815835|0,11)+d|0;f=d+j|0;j=b^d;d=_$(((e+y|0)+(b^(c^d))|0)+530742520|0,16)+b|0;e=_$(((c+t|0)+(j^d)|0)+ -995338651|0,23)+d|0;c=_$((f+((e|b^-1)^d)|0)+ -198630844|0,6)+e|0;f=e+g|0;g=d+z|0;d=_$(((b+u|0)+(e^(c|d^-1))|0)+1126891415|0,10)+c|0;e=_$((g+(c^(d|e^-1))|0)+ -1416354905|0,15)+d|0;b=_$((f+((e|c^-1)^d)|0)+ -57434055|0,21)+e|0;f=e+x|0;g=d+s|0;d=_$(((c+m|0)+(e^(b|d^-1))|0)+1700485571|0,6)+b|0;e=_$((g+(b^(d|e^-1))|0)+ -1894986606|0,10)+d|0;c=_$((f+((e|b^-1)^d)|0)+ -1051523|0,15)+e|0;f=e+y|0;i=d+i|0;d=_$(((b+p|0)+(e^(c|d^-1))|0)+ -2054922799|0,21)+c|0;e=_$((i+(c^(d|e^-1))|0)+1873313359|0,6)+d|0;b=_$((f+((e|c^-1)^d)|0)+ -30611744|0,10)+e|0;c=_$(((c+v|0)+(e^(b|d^-1))|0)+ -1560198380|0,15)+b|0;d=_$(((d+o|0)+(b^(c|e^-1))|0)+1309151649|0,21)+c|0;e=_$(((e+l|0)+((d|b^-1)^c)|0)+ -145523070|0,6)+d|0;q[a>>2]=e+B;b=_$(((b+w|0)+(d^(e|c^-1))|0)+ -1120210379|0,10)+e|0;q[a+12>>2]=b+r;c=_$(((c+t|0)+(e^(b|d^-1))|0)+718787259|0,15)+b|0;q[a+8>>2]=c+k;C=a,D=_$(((d+n|0)+(b^(c|e^-1))|0)+ -343485551|0,21)+(c+h|0)|0,q[C+4>>2]=D}function yw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0,u=0,v=0;f=Da-32|0;Da=f;m=q[b+4>>2];a:{b:{if(!r[a+12|0]){break b}e=r[c+5|0]|r[c+4|0]<<8;if((e|0)==65535){break b}s=q[m+72>>2];if(s>>>0>=t[m+76>>2]){break b}u=q[m+96>>2];b=q[a+4>>2];c:{if(b>>>0>2){break c}d:{switch(b-1|0){default:b=q[a>>2];g=q[a+8>>2];d=g+(e<<1)|0;if(t[b+20>>2]>d>>>0){break a}h=q[b+24>>2];if(h>>>0>>0|h-d>>>0<4){break a}h=q[b+28>>2];q[b+28>>2]=h+ -1;if((h|0)<1){break a}h=r[d+3|0];e=r[(g+(e<<1)|0)+1|0];g=r[d+2|0];i=r[d|0];q[f+20>>2]=0;q[f+16>>2]=0;q[f+12>>2]=0;q[f+8>>2]=0;d=q[q[q[b+12>>2]+88>>2]+w(q[a+16>>2],20)>>2];b=q[b+4>>2];q[f+20>>2]=0;q[f+16>>2]=0;i=e|i<<8;e=q[b+72>>2];if(!n[q[e+204>>2]](b,q[b+76>>2],d,i,f+20|0,f+16|0,q[e+68>>2])){break a}Mf(b,d,f+28|0,f+24|0);q[f+20>>2]=q[f+20>>2]-q[f+28>>2];q[f+16>>2]=q[f+16>>2]-q[f+24>>2];b=q[a>>2];d=q[b+12>>2];d=q[q[d+88>>2]+w(q[d+72>>2],20)>>2];b=q[b+4>>2];q[f+12>>2]=0;q[f+8>>2]=0;e=q[b+72>>2];if(!n[q[e+204>>2]](b,q[b+76>>2],d,h|g<<8,f+12|0,f+8|0,q[e+68>>2])){break a}Mf(b,d,f+28|0,f+24|0);q[f+8>>2]=q[f+8>>2]-q[f+24>>2];b=w(s,20)+u|0;q[b+8>>2]=q[f+20>>2]+(q[f+28>>2]-q[f+12>>2]|0);q[b+12>>2]=q[f+16>>2]-q[f+8>>2];break c;case 0:d=q[a>>2];g=q[a+8>>2];b=g+(e<<1)|0;if(t[d+20>>2]>b>>>0){break a}h=q[d+24>>2];if(h>>>0>>0|h-b>>>0<4){break a}h=q[d+28>>2];q[d+28>>2]=h+ -1;if((h|0)<1){break a}i=r[b+2|0];j=r[b+3|0];k=r[b|0];l=r[(g+(e<<1)|0)+1|0];g=271312;h=271312;b=q[d+56>>2];e=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=Sc(e?b+e|0:271722,q[q[q[d+12>>2]+88>>2]+w(q[a+16>>2],20)>>2],q[d+48>>2]);if(e){d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=(b+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)+(r[e+1|0]|r[e|0]<<8)|0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=k<<8|l;h=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>e>>>0?(b+(e<<2)|0)+4|0:271312}e=q[a>>2];b=q[e+56>>2];d=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);k=d?b+d|0:271722;d=q[e+12>>2];e=Sc(k,q[q[d+88>>2]+w(q[d+72>>2],20)>>2],q[e+48>>2]);if(e){d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=(b+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0)+(r[e+1|0]|r[e|0]<<8)|0;d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=j|i<<8;g=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>e>>>0?(b+(e<<2)|0)+4|0:271312}i=q[q[a>>2]+4>>2];d=i;b=q[d+36>>2];j=q[d+32>>2];d=b;b=r[h|0]|r[h+1|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=V$(j,d,b>>16,e);k=w(s,20)+u|0;l=(Ea&65535)<<16|b>>>16;b=r[g|0]|r[g+1|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=V$(j,d,b>>16,e);q[k+8>>2]=l-((Ea&65535)<<16|b>>>16);b=q[i+44>>2];d=b;i=q[i+40>>2];b=r[h+2|0]|r[h+3|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=V$(i,d,b>>16,e);j=(Ea&65535)<<16|b>>>16;b=r[g+2|0]|r[g+3|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=V$(i,d,b>>16,e);q[k+12>>2]=j-((Ea&65535)<<16|b>>>16);break c;case 1:break d}}b=q[a>>2];l=q[a+8>>2];g=l+(e<<1)|0;if(t[b+20>>2]>g>>>0){break a}d=q[b+24>>2];if(d>>>0>>0|d-g>>>0<8){break a}d=q[b+28>>2];q[b+28>>2]=d+ -1;if((d|0)<1){break a}h=r[g+6|0]|r[g+7|0]<<8;i=r[g+2|0]|r[g+3|0]<<8;j=q[b+4>>2];d=j;b=q[d+36>>2];k=q[d+32>>2];d=b;b=(r[(l+(e<<1)|0)+1|0]|r[g|0]<<8)<<16;e=b>>31;b=V$(k,d,b>>16,e);l=w(s,20)+u|0;v=(Ea&65535)<<16|b>>>16;b=r[g+4|0]|r[g+5|0]<<8;b=b<<24|b<<8&16711680;e=b>>31;b=V$(k,d,b>>16,e);q[l+8>>2]=v-((Ea&65535)<<16|b>>>16);b=q[j+44>>2];d=b;g=q[j+40>>2];b=i<<8&16711680|i<<24;e=b>>31;b=V$(g,d,b>>16,e);i=(Ea&65535)<<16|b>>>16;b=h<<8&16711680|h<<24;e=b>>31;b=V$(g,d,b>>16,e);q[l+12>>2]=i-((Ea&65535)<<16|b>>>16)}b=w(s,20)+u|0;o[b+18|0]=1;p[b+16>>1]=q[a+16>>2]-q[m+72>>2];q[m+32>>2]=q[m+32>>2]|8}if(o[c+2|0]>-1){break a}o[a+12|0]=1;q[a+16>>2]=q[m+72>>2]}Da=f+32|0}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;d=q[a+8>>2];q[b>>2]=q[a+4>>2];q[b+4>>2]=d;q[b+16>>2]=q[a+20>>2];d=q[a+16>>2];q[b+8>>2]=q[a+12>>2];q[b+12>>2]=d;q[b+20>>2]=q[a+140>>2];aY(a+24|0,b+24|0,c);if(o[a+136|0]&1){sT(a+120|0,b+100|0)}j=q[b+48>>2];l=b;a:{b:{c:{d:{m=q[b+44>>2];if((m|0)>=1){d=m+ -1|0;e=d;c=b;e:{f:{while(1){g=e+h>>>1|0;f=q[w(g,36)+j>>2];g:{if(f>>>0>=1718772068){e=g+ -1|0;break g}if((f|0)==1718772067){break f}h=g+1|0}if((h|0)<=(e|0)){continue}break}i=0;break e}i=q[(w(g,36)+j|0)+28>>2]}q[c+116>>2]=i;h=0;e=d;c=b;h:{i:{while(1){g=e+h>>>1|0;f=q[w(g,36)+j>>2];j:{if(f>>>0>=1853189491){e=g+ -1|0;break j}if((f|0)==1853189490){break i}h=g+1|0}if((h|0)<=(e|0)){continue}break}g=0;break h}g=q[(w(g,36)+j|0)+28>>2]}q[c+120>>2]=g;h=0;e=d;c=b;k:{l:{while(1){k=e+h>>>1|0;f=q[w(k,36)+j>>2];m:{if(f>>>0>=1684959086){e=k+ -1|0;break m}if((f|0)==1684959085){break l}h=k+1|0}if((h|0)<=(e|0)){continue}break}f=0;break k}f=q[(w(k,36)+j|0)+28>>2]}q[c+124>>2]=f;c=b;e=4;n:{if(i){break n}e=0;if(!g){break n}e=((f|0)!=0)<<2}i=e|s[b+140>>1]&-5;p[c+140>>1]=i;f=b+140|0;h=0;e=d;while(1){g=e+h>>>1|0;c=q[w(g,36)+j>>2];o:{if(c>>>0>=1920232558){e=g+ -1|0;break o}if((c|0)==1920232557){break d}h=g+1|0}if((h|0)<=(e|0)){continue}break}c=0;break c}q[b+116>>2]=0;q[b+120>>2]=0;q[b+124>>2]=0;q[b+128>>2]=0;i=s[b+140>>1]&-5;p[b+140>>1]=i;f=b+140|0;break b}c=q[(w(g,36)+j|0)+28>>2]}q[l+128>>2]=c;e=0;while(1){p:{g=d+e>>>1|0;c=q[w(g,36)+j>>2];q:{if(c>>>0>=1986359925){d=g+ -1|0;break q}if((c|0)==1986359924){break p}e=g+1|0}if((e|0)<=(d|0)){continue}break b}break}c=8;if(q[(w(g,36)+j|0)+28>>2]){break a}}c=0}g=c|i&-9;p[f>>1]=g;k=(q[a+4>>2]&-2)==4?1801810542:1986753134;c=b;i=(m|0)<1;d=0;r:{if(i){break r}e=m+ -1|0;h=0;s:{while(1){l=e+h>>>1|0;d=q[w(l,36)+j>>2];t:{if(d>>>0>k>>>0){e=l+ -1|0;break t}if(d>>>0>=k>>>0){break s}h=l+1|0}if((h|0)<=(e|0)){continue}break}d=0;break r}d=q[(w(l,36)+j|0)+24>>2]}q[c+132>>2]=d;g=g&-2|(d|0)!=0;p[b+140>>1]=g;c=f;u:{v:{w:{if(!i){e=m+ -1|0;h=0;while(1){i=e+h>>>1|0;d=q[w(i,36)+j>>2];x:{if(d>>>0>=1953653100){e=i+ -1|0;break x}if((d|0)==1953653099){break w}h=i+1|0}if((h|0)<=(e|0)){continue}break}}q[b+136>>2]=0;break v}d=q[(w(i,36)+j|0)+24>>2];q[b+136>>2]=d;e=2;if(d){break u}}e=0}p[c>>1]=e|g&65533;i=65535;y:{if((m|0)<1){break y}e=m+ -1|0;h=0;while(1){z:{d=e+h>>>1|0;c=q[w(d,36)+j>>2];A:{if(c>>>0>k>>>0){e=d+ -1|0;break A}if(c>>>0>=k>>>0){break z}h=d+1|0}if((h|0)<=(e|0)){continue}break y}break}i=q[(w(d,36)+j|0)+8>>2]}c=q[q[b+20>>2]+40>>2];d=0;B:{if(!c){break B}d=(c|0)!=q[b+28>>2]}e=fw(q[a>>2]);c=s[f>>1];if(!e){c=c|64;p[f>>1]=c}p[f>>1]=c&61439|(o[a+136|0]&1)<<12;C:{if(cn(q[a>>2])){p[f>>1]=s[f>>1]|2048;break C}if(d|o[a+136|0]&1){break C}if(!z$(q[a>>2])){break C}p[f>>1]=s[f>>1]|512}c=s[f>>1];D:{if(c&2048|(c&512?(i|0)!=65535:0)){break D}if(cn(q[a>>2])){p[f>>1]=s[f>>1]|2048;break D}if(!pw(q[a>>2])){break D}p[f>>1]=s[f>>1]|1024}c=0;E:{if(!(r[a+136|0]&2)){break E}d=s[f>>1];if(d&2048){break E}c=32;if(!(d&1024)){break E}c=lh(q[a>>2]+128|0);c=ow(t[c+16>>2]<4?271312:q[c+12>>2])?0:32}l=s[b+140>>1];g=l&-33|c;p[b+140>>1]=g;e=f;c=q[b+44>>2];F:{G:{if((c|0)<1){break G}i=q[b+48>>2];c=c+ -1|0;d=0;while(1){H:{k=c+d>>>1|0;b=q[i+w(k,36)>>2];I:{if(b>>>0>=1835102828){c=k+ -1|0;break I}if((b|0)==1835102827){break H}d=k+1|0}if((d|0)<=(c|0)){continue}break G}break}b=16;if(q[(i+w(k,36)|0)+28>>2]){break F}}b=0}c=b|g&-17;p[e>>1]=c;b=f;J:{K:{if(!(l&2560)){if(!(l&1024)){break K}c=lh(q[a>>2]+128|0);d=nw(t[c+16>>2]<4?271312:q[c+12>>2]);c=s[f>>1];if(!d){break K}}c=c&65279;p[f>>1]=c;d=0;break J}c=c|256;p[f>>1]=c;d=r[a+136|0]<<5&128}d=d|c&-129;p[b>>1]=d;e=0;if(c&2){e=((Ix(q[a>>2])|0)!=0)<<13;d=s[f>>1]}p[f>>1]=d&57343|e}function Yc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0;e=35;a:{if(!a|!q[a+88>>2]){break a}d=q[a+84>>2];if(!d){break a}b:{c:{e=q[d+156>>2];if(!e){break c}g=q[e+4>>2];if(!(g&1)){break c}h=q[d+88>>2];if(h){e=q[q[d+4>>2]+100>>2];n[q[e+8>>2]](e,h);e=q[d+156>>2];g=q[e+4>>2]}q[d+88>>2]=0;q[e+4>>2]=g&-2;break b}q[d+88>>2]=0}q[d+24>>2]=0;q[d+28>>2]=0;q[d+72>>2]=0;q[d+76>>2]=0;q[d+100>>2]=0;q[d+104>>2]=0;o[d+94|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;q[d+44>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+80>>2]=0;q[d+84>>2]=0;q[d+108>>2]=0;q[d+112>>2]=0;q[d+116>>2]=0;q[d+120>>2]=0;q[d+124>>2]=0;q[d+128>>2]=0;q[d+132>>2]=0;q[d+136>>2]=0;q[d+140>>2]=0;q[d+144>>2]=0;q[d+148>>2]=0;q[d+152>>2]=0;e=q[a+96>>2];d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;if(i&32770){break e}h=q[q[e+4>>2]+160>>2];if(!h){break e}c=q[a+8>>2];if((c&8193)!=1){break e}f:{if(i&2048){break f}g=q[a+128>>2];f=q[g>>2];if(!q[g+8>>2]){if(f){break f}break e}if(f){break e}}g:{if(i&32){break g}f=q[e>>2];if(!(r[f+1|0]&4)){break g}c=0;f=q[f+32>>2];if(f){f=n[f](e,4034)|0}else{f=0}if(cb(f,4046)){c=q[e+28>>2]==1}if(!(c|(r[q[e>>2]+1|0]&8)>>>3|(i&983040)!=65536)){c=q[a+8>>2];break g}c=q[a+8>>2];if(!(c&8)|!q[a+760>>2]|(s[a+286>>1]|q[a+684>>2])){break e}if(q[a+692>>2]){break e}}h:{if(!(c&2)|i&8){break h}if(n[q[q[e+12>>2]+72>>2]](d,q[a+88>>2],b,i|16384)){break h}c=0;if(q[d+72>>2]==1651078259){break d}}e=q[a+128>>2];f=q[e+24>>2];q[e+24>>2]=0;c=n[q[q[q[h>>2]+20>>2]+12>>2]](h,d,q[a+88>>2],b,i)|0;q[e+24>>2]=f;break d}e=n[q[q[e+12>>2]+72>>2]](d,q[a+88>>2],b,i)|0;if(e){break a}c=0;if(q[d+72>>2]!=1869968492){break d}k=p[d+108>>1];j=p[d+110>>1];if((k|j)&65535){e=6;if((j|0)<1|(k|0)<1){break a}l=q[d+120>>2];h=-1;g=0;while(1){f=p[(g<<1)+l>>1];if((f|0)>=(j|0)|(h|0)>=(f|0)){break a}h=f;g=g+1|0;if((k|0)!=(g|0)){continue}break}if((j+ -1|0)!=(h|0)){break a}}if(i&2){break d}e=d;i:{if(i&16){q[d+32>>2]=q[d+32>>2]&-64;h=q[d+44>>2];f=h&-64;q[d+44>>2]=f;g=q[d+48>>2];j=g&-64;q[d+48>>2]=j;q[d+36>>2]=q[d+36>>2]+63&-64;q[d+24>>2]=((h+q[d+24>>2]|0)+63&-64)-f;f=((g+q[d+28>>2]|0)+63&-64)-j|0;break i}q[d+44>>2]=q[d+44>>2]&-64;q[d+48>>2]=q[d+48>>2]&-64;h=q[d+32>>2];f=h&-64;q[d+32>>2]=f;g=q[d+36>>2];j=g+63&-64;q[d+36>>2]=j;q[d+24>>2]=((h+q[d+24>>2]|0)+63&-64)-f;f=j-(g-q[d+28>>2]&-64)|0}q[e+28>>2]=f;q[d+40>>2]=q[d+40>>2]+32&-64;q[d+52>>2]=q[d+52>>2]+32&-64}j:{if(i&16){g=0;e=q[d+52>>2];break j}g=q[d+40>>2];e=0}q[d+64>>2]=g;q[d+68>>2]=e;if(!(!(o[a+8|0]&1)|i&8192)){e=q[a+88>>2];m=d,t=bb(q[d+56>>2],q[e+16>>2],64),q[m+56>>2]=t;m=d,t=bb(q[d+60>>2],q[e+20>>2],64),q[m+60>>2]=t}e=c;k:{if(i&2048){break k}f=q[a+128>>2];h=q[f+24>>2];e=c;if(!h){break k}l:{m:{a=q[q[q[d+4>>2]+96>>2]+4>>2];e=q[a+156>>2];n:{o:{if(!e){g=q[d+72>>2];break o}g=q[d+72>>2];if((g|0)==q[e+16>>2]){break n}}if(!a){break m}a=q[a+148>>2];if(!a){break m}while(1){e=q[a+8>>2];if(q[e+16>>2]!=(g|0)){a=q[a+4>>2];if(a){continue}break m}break}if(!e){break m}}c=n[q[q[e+12>>2]+44>>2]](e,d,f,f+16|0)|0;break l}p:{if((g|0)!=1869968492){break p}q:{if(!(h&1)|!f){break q}a=q[d+112>>2];if(!a){break q}e=p[d+110>>1];if((e|0)<1){break q}e=(e<<3)+a|0;while(1){Rg(a,f);a=a+8|0;if(a>>>0>>0){continue}break}h=q[f+24>>2]}if(!(h&2)){break p}h=p[d+110>>1];if((h|0)<1){break p}g=q[f+20>>2];j=q[f+16>>2];a=q[d+112>>2];e=0;while(1){q[a>>2]=j+q[a>>2];q[a+4>>2]=g+q[a+4>>2];a=a+8|0;e=e+1|0;if((e&65535)>>>0<(h&65535)>>>0){continue}break}}}Rg(d- -64|0,f);e=c}q[d+12>>2]=b;q[q[d+156>>2]+40>>2]=i;if(e){break a}e=0;if(i&1){break a}a=q[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;a=a?a:i>>>11&2;if(i&4){b=q[d+4>>2];if(!b){return 6}return vM(q[q[b+96>>2]+4>>2],d,a)}Vk(d,a,0)}return e}function gl(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;m=Da-32|0;Da=m;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<1|(e|0)<=0)){if(g>>>0>1){break i}o=q[h+4>>2];p=q[h>>2];x=o+p|0;G=(g<<2)+b|0;k=q[G+28>>2];if(x>>>0>k>>>0){break i}r=q[a+4>>2];j=-1<>2];B=(k-p|0)-o|0;s=y+w(B,40)|0;v=w(p,40);t=q[i>>2];j=10;k=10;j:{if(p>>>0>1){break j}k=(t|0)!=0;if(p-1){break j}k=q[(w(B,40)+y|0)+20>>2];k=(k&1^(k&6)!=6)+t|0;k=k?(k|0)==1?2:1:6}u=s+v|0;C=q[i+4>>2];k:{if(o>>>0>1){break k}if(o-1){j=(C|0)!=0;break k}j=q[u+20>>2];j=(j&1^(j&6)!=6)+C|0;j=j?(j|0)==1?2:1:6}v=j|k;if((v&3)!=2){h=1;i=e>>>r|0;l:{if((i|0)<1){break l}g=d>>>r|0;if((g|0)<1){break l}d=f<>2]]((j<>2]=B;break a}if(!(!((j^k)&2)|v&8)){h=1<>2];K=v&4?0-g|0:g;L=q[b>>2];s=q[b+4>>2];D=q[b+12>>2];E=q[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){n[q[a+12>>2]](c,f,E,D,L,s,K);break b}k=e>>>r|0;if((k|0)<1){break b}v=d>>>r|0;if((v|0)<1){break b}b=D>>31;d=b+D^b;b=E>>31;e=d+(b+E^b)|0;d=r+5|0;b=d;g=b&31;if(32<=(b&63)>>>0){A=e<>>32-g;M=e<>31;N=D>>31;O=E>>31;e=N+O|0;C=D;o=E;d=o;b=D+d|0;if(b>>>0>>0){e=e+1|0}y=V$(g,h,b,e);x=Ea;Q=f<>2]+6;p=d;J=d>>31;d=j;t=V$(H,e,o,O)+d|0;A=R+Ea|0;d=V$(p,J,t,t>>>0>>0?A+1|0:A);p=g-d|0;J=h-(Ea+(g>>>0>>0)|0)|0;d=b;b=p;g=i-(J+(d>>>0>>0)|0)|0;d=d-b|0;b=g;h=b>>31;A=b+h|0;t=b>>31;g=t;i=g+d|0;if(i>>>0>>0){A=A+1|0}g=h^A;m:{if((g|0)>(u|0)?1:(g|0)>=(u|0)?(i^t)>>>0>>0?0:1:0){n[q[a+8>>2]]((H<>2]]((H<>>0<1){e=e+1|0}H=b;if((v|0)!=(b|0)|e){continue}break}c=c+Q|0;b=P+1|0;if(b>>>0<1){l=l+1|0}P=b;if((k|0)!=(b|0)|l){continue}break}break b}l=1<>2]](c,f,s,p,t);break b}if(!(k&2)){n[q[a+16>>2]](c,f,u,o,C);break b}n:{if(k&8){n[q[a+16>>2]](c,f,s,p,t);break n}l=w(B,40)+y|0;g=q[l+16>>2];n[q[a+12>>2]](c,f,q[l+8>>2],q[l+12>>2],q[s>>2],q[s+4>>2],k&4?0-g|0:g)}o:{if(j&8){n[q[a+16>>2]](q[b+48>>2],d,u,q[h+4>>2],q[i+4>>2]);break o}g=q[u+16>>2];n[q[a+12>>2]](q[b+48>>2],d,q[u+8>>2],q[u+12>>2],q[u>>2],q[u+4>>2],j&4?0-g|0:g)}n[q[a+20>>2]](c,f,q[b+48>>2],d,e,d);break b}y=g^1;o=(y<<2)+b|0;v=o;l=q[o+36>>2];j=x;x=q[o+28>>2];k=j+x|0;p:{if(l>>>0>=k>>>0){j=q[o+20>>2];break p}l=l<<1;j=l>>>0>64?l:64;while(1){l=j;j=j<<1;if(l>>>0>>0){continue}break}k=(y<<2)+b|0;j=db(q[k+20>>2],w(l,40));if(!j){h=0;break a}q[k+20>>2]=j;q[v+36>>2]=l;C=q[i+4>>2];t=q[i>>2]}q[m+12>>2]=C;q[m+8>>2]=t;l=w(x,40)+j|0;q:{if((d|0)>(e|0)){j=1<<(z(d+ -1|0)^31);il(s,q[h>>2],q[h+4>>2],s,m+24|0,l,m+16|0,m+8|0,j<<6);d=d-j|0;k=e;l=j;break q}p=q[h>>2];k=q[h+4>>2];j=l;l=z(e+ -1|0)^31;h=1<>2]=q[m+28>>2]+(q[m+24>>2]+B|0);q[o+28>>2]=q[m+20>>2]+(x+q[m+16>>2]|0);h=0;if(!gl(a,b,c,j,e,f,g,m+24|0,i)){break a}if(q[G+28>>2]!=(B|0)){break d}if(!gl(a,b,c+l|0,d,k,f,y,m+16|0,m+8|0)){break a}h=1;if((x|0)!=q[o+28>>2]){break c}break a}I(437185,437145,634,437420);F()}I(437442,437145,635,437420);F()}I(437225,437145,636,437420);F()}I(437268,437145,637,437420);F()}I(437225,437145,562,437570);F()}I(437268,437145,563,437570);F()}I(437511,437145,716,437420);F()}I(437540,437145,719,437420);F()}q[G+28>>2]=B;h=1}Da=m+32|0;return h}function Rq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=35;a:{b:{if(!(r[a+8|0]&8)){break b}f=c;c:{d:{e:{d=q[c+20>>2];f:{if(d){e=85;if(n[d](c,0,0,0)){break b}q[c+8>>2]=0;if(!q[c+20>>2]){break f}h=q[c+28>>2];d=n[q[h+4>>2]](h,4)|0;if(!d){break a}q[c>>2]=d;g=n[q[c+20>>2]](c,q[c+8>>2],d,4)|0;e=0;i=q[c>>2];d=i;if(g>>>0>=4){break d}e=85;if(i){break e}d=0;break d}q[c+8>>2]=0}e=85;if(t[c+4>>2]<4){break b}q[c+8>>2]=4;d=q[c>>2];q[c+32>>2]=d;q[c+36>>2]=d+4;f=0;break c}n[q[h+8>>2]](h,i);q[c>>2]=0;d=0}q[f+32>>2]=d;q[c+36>>2]=d+4;q[c+8>>2]=g+q[c+8>>2];if(e){break b}f=q[c+20>>2]}q[c+32>>2]=d+4;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f){f=q[c+28>>2];n[q[f+8>>2]](f,d);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0;f=0;g:{if((e|0)!=1953784678){break g}d=q[a+4>>2];f=d<<2;a=f+12|0;h:{i:{j:{h=q[c+20>>2];if(h){e=85;if(n[h](c,a,0,0)){break b}q[c+8>>2]=a;if(q[c+20>>2]){break j}break i}e=85;if((d|0)<-3|t[c+4>>2]>>0){break b}q[c+8>>2]=a;break i}f=q[c+28>>2];a=n[q[f+4>>2]](f,4)|0;if(!a){break a}q[c>>2]=a;h=n[q[c+20>>2]](c,q[c+8>>2],a,4)|0;e=0;a=c;g=q[c>>2];d=g;k:{if(h>>>0>=4){break k}e=85;d=0;if(!g){break k}n[q[f+8>>2]](f,g);q[c>>2]=0;d=0}q[a+32>>2]=d;q[c+36>>2]=d+4;q[c+8>>2]=h+q[c+8>>2];if(e){break b}e=d;f=q[c+20>>2];break h}d=q[c+4>>2];if(a>>>0>=d>>>0){break b}f=f+16|0;if(f>>>0>d>>>0){break b}q[c+8>>2]=f;d=q[c>>2];e=a+d|0;q[c+32>>2]=e;q[c+36>>2]=e+4;f=0}q[c+32>>2]=e+4;a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=a>>>8&65280|a>>>24;a=a<<8&16711680|a<<24;if(!(!f|!d)){f=q[c+28>>2];n[q[f+8>>2]](f,d);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0;f=a|e}a=f;g=a+4|0;f=c;l:{m:{n:{d=q[c+20>>2];o:{if(d){e=85;if(n[d](c,g,0,0)){break b}q[c+8>>2]=g;h=c+8|0;d=h;if(!q[c+20>>2]){break o}g=q[c+28>>2];d=n[q[g+4>>2]](g,2)|0;if(!d){break a}q[c>>2]=d;i=n[q[c+20>>2]](c,q[c+8>>2],d,2)|0;e=0;j=q[c>>2];d=j;if(i>>>0>=2){break m}e=85;if(j){break n}d=0;break m}e=85;if((g|0)<0|t[c+4>>2]>>0){break b}q[c+8>>2]=g;d=c+8|0}h=d;d=q[c+4>>2];if(g>>>0>=d>>>0){break b}f=a+6|0;if(f>>>0>d>>>0){break b}q[c+8>>2]=f;d=q[c>>2];e=g+d|0;q[c+32>>2]=e;q[c+36>>2]=e+2;f=0;break l}n[q[g+8>>2]](g,j);q[c>>2]=0;d=0}q[f+32>>2]=d;q[c+36>>2]=d+2;q[c+8>>2]=i+q[c+8>>2];if(e){break b}e=d;f=q[c+20>>2]}q[c+32>>2]=e+2;i=r[e+1|0]|r[e|0]<<8;p:{q:{r:{if(!f){q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;break r}s:{if(!d){q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;break s}e=q[c+28>>2];n[q[e+8>>2]](e,d);q[c>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;a=a+12|0;f=q[c+20>>2];if(!f){break r}}e=85;if(n[f](c,a,0,0)){break b}q[c+8>>2]=a;g=i<<4;d=q[c+20>>2];f=g;if(!d){break q}j=q[c+28>>2];e=0;if(i){k=n[q[j+4>>2]](j,g)|0;if(!k){break a}a=q[c+8>>2];d=q[c+20>>2];f=g}else{f=0}q[c>>2]=k;k=n[d](c,a,k,f)|0;d=c;l=q[c>>2];a=l;t:{if(k>>>0>=g>>>0){break t}e=85;a=0;if(!l){break t}n[q[j+8>>2]](j,l);q[c>>2]=0;a=0}q[d+32>>2]=a;q[c+36>>2]=a+f;q[c+8>>2]=k+q[c+8>>2];if(e){break b}break p}e=85;if((a|0)<0|t[c+4>>2]>>0){break b}q[h>>2]=a;f=i<<4}d=q[c+4>>2];if(a>>>0>=d>>>0){break b}g=a+f|0;if(g>>>0>d>>>0){break b}q[c+8>>2]=g;a=q[c>>2]+a|0;q[c+32>>2]=a;q[c+36>>2]=a+f}e=142;u:{v:{if(!i){break v}d=0;while(1){w:{q[c+32>>2]=a+4;f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[c+32>>2]=a+12;g=r[a+11|0];j=r[a+10|0];k=r[a+9|0];l=r[a+8|0];a=a+16|0;q[c+32>>2]=a;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))==(b|0)){break w}d=d+1|0;if((i|0)!=(d|0)){continue}break v}break}a=g|(k<<16|l<<24|j<<8);b=q[c+20>>2];x:{if(b){e=85;if(!n[b](c,a,0,0)){break x}break v}if((a|0)<0){e=85;break u}e=85;if(t[c+4>>2]>>0){break v}}q[h>>2]=a;e=0}if(!q[c+20>>2]){break u}a=q[c>>2];if(!a){break u}b=q[c+28>>2];n[q[b+8>>2]](b,a);q[c>>2]=0}q[c+32>>2]=0;q[c+36>>2]=0}return e}q[c>>2]=0;return 64}function GS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(b){o[b|0]=0}d=271312;h=r[a+3|0]|r[a+2|0]<<8;a:{if(!h){break a}f=h+ -1|0;while(1){b:{g=f+e>>>1|0;c=(g<<3)+a|0;i=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=0-(r[i+7|0]|r[i+6|0]<<8)|0}c:{if((c|0)<=-1){f=g+ -1|0;break c}if(!c){break b}e=g+1|0}if((e|0)<=(f|0)){continue}break a}break}d=((g<<3)+a|0)+4|0}d:{d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=d?d+a|0:0;if(c){if(!b){break d}o[b|0]=1;break d}b=271312;e:{if(!h){break e}f=h+ -1|0;e=0;while(1){f:{d=f+e>>>1|0;c=(d<<3)+a|0;g=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=10-(r[g+7|0]|r[g+6|0]<<8)|0}g:{if((c|0)<=-1){f=d+ -1|0;break g}if(!c){break f}e=d+1|0}if((e|0)<=(f|0)){continue}break e}break}b=((d<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;h:{if(!h){break h}f=h+ -1|0;c=0;while(1){i:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];j:{if(g){d=0-g|0;break j}d=6-(r[d+7|0]|r[d+6|0]<<8)|0}k:{if((d|0)<=-1){f=e+ -1|0;break k}if(!d){break i}c=e+1|0}if((c|0)<=(f|0)){continue}break h}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;l:{if(!h){break l}f=h+ -1|0;c=0;while(1){m:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];n:{if(g){d=0-g|0;break n}d=4-(r[d+7|0]|r[d+6|0]<<8)|0}o:{if((d|0)<=-1){f=e+ -1|0;break o}if(!d){break m}c=e+1|0}if((c|0)<=(f|0)){continue}break l}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;p:{if(!h){break p}f=h+ -1|0;e=0;while(1){q:{d=f+e>>>1|0;c=(d<<3)+a|0;g=c;c=3-(r[c+5|0]|r[c+4|0]<<8)|0;if(!c){c=1-(r[g+7|0]|r[g+6|0]<<8)|0}r:{if((c|0)<=-1){f=d+ -1|0;break r}if(!c){break q}e=d+1|0}if((e|0)<=(f|0)){continue}break p}break}b=((d<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;s:{if(!h){break s}f=h+ -1|0;c=0;while(1){t:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];u:{if(g){d=0-g|0;break u}d=3-(r[d+7|0]|r[d+6|0]<<8)|0}v:{if((d|0)<=-1){f=e+ -1|0;break v}if(!d){break t}c=e+1|0}if((c|0)<=(f|0)){continue}break s}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;w:{if(!h){break w}f=h+ -1|0;c=0;while(1){x:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];y:{if(g){d=0-g|0;break y}d=2-(r[d+7|0]|r[d+6|0]<<8)|0}z:{if((d|0)<=-1){f=e+ -1|0;break z}if(!d){break x}c=e+1|0}if((c|0)<=(f|0)){continue}break w}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}b=271312;A:{if(!h){break A}f=h+ -1|0;c=0;while(1){B:{e=c+f>>>1|0;d=(e<<3)+a|0;g=r[d+4|0]<<8|r[d+5|0];C:{if(g){d=0-g|0;break C}d=1-(r[d+7|0]|r[d+6|0]<<8)|0}D:{if((d|0)<=-1){f=e+ -1|0;break D}if(!d){break B}c=e+1|0}if((c|0)<=(f|0)){continue}break A}break}b=((e<<3)+a|0)+4|0}b=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?b+a|0:0;if(c){break d}d=a;b=271312;E:{if(!h){break E}e=h+ -1|0;f=0;F:{while(1){b=f+e>>>1|0;c=(b<<3)+a|0;h=c;c=r[c+5|0]|r[c+4|0]<<8;if(!c){c=r[h+7|0]|r[h+6|0]<<8}G:{if((c|0)>=1){e=b+ -1|0;break G}if(!c){break F}f=b+1|0}if((f|0)<=(e|0)){continue}break}b=271312;break E}b=((b<<3)+a|0)+4|0}a=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:0;return a?a:271312}return c}function kk(a,b,c){var d=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Da-560|0;Da=d;pc(d+536|0,a);pc(d+520|0,c);k=q[d+520>>2];a=q[d+548>>2];l=a;c=q[d+544>>2];q[d+8>>2]=c;q[d+12>>2]=a;i=c;m=q[d+540>>2];a:{b:{c:{d:{e:{a=q[d+536>>2];if(a>>>0<=1){if(!(a-1)){break c}a=0;c=k+ -5|0;if(c>>>0>3){break a}f:{switch(c-1|0){case 1:break a;case 0:break d;case 2:break e;default:break f}}q[d+8>>2]=438240;a=5;break a}f(0,c|0);f(1,l|0);j=+g();if((k|0)!=8|(a|0)!=3){break b}n=d,o=Ze(i,d+264|0),q[n+8>>2]=o;a=8;break a}n=d,o=Ze(0,d+264|0),q[n+8>>2]=o;a=8;break a}a=d+264|0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=-1;q[a+4>>2]=0;q[d+8>>2]=a;a=6;break a}j=+(i|0);v[d+8>>3]=j;a=2}if((k|0)!=9|(a|0)!=2){break a}a=d+264|0;v[a+8>>3]=j;v[a>>3]=j;q[d+8>>2]=a;a=9}c=q[d+12>>2];q[d+544>>2]=q[d+8>>2];q[d+548>>2]=c;q[d+540>>2]=m;q[d+536>>2]=a;c=q[d+532>>2];l=c;i=q[d+528>>2];q[d+552>>2]=i;q[d+556>>2]=c;k=i;m=q[d+524>>2];g:{h:{i:{j:{k:{c=q[d+520>>2];if(c>>>0<=1){if(!(c-1)){break i}c=0;a=a+ -5|0;if(a>>>0>3){break g}l:{switch(a-1|0){case 0:break j;case 2:break k;case 1:break g;default:break l}}q[d+552>>2]=438240;c=5;break g}f(0,i|0);f(1,l|0);j=+g();if((a|0)!=8|(c|0)!=3){break h}n=d,o=Ze(k,d+8|0),q[n+552>>2]=o;c=8;break g}n=d,o=Ze(0,d+8|0),q[n+552>>2]=o;c=8;break g}a=d+8|0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=-1;q[a+4>>2]=0;q[d+552>>2]=a;c=6;break g}j=+(k|0);v[d+552>>3]=j;c=2}if((a|0)!=9|(c|0)!=2){break g}a=d+8|0;v[a+8>>3]=j;v[a>>3]=j;q[d+552>>2]=a;c=9}j=v[d+552>>3];v[d+528>>3]=j;q[d+524>>2]=m;q[d+520>>2]=c;m:{n:{o:{p:{if(q[d+536>>2]==(c|0)){a=0;if(c>>>0>9){break m}h(+j);e(1)|0;i=e(0)|0;q:{switch(c-1|0){case 1:b=(b&65535)+ -22|0;if(b>>>0>8){break m}r:{switch(b-1|0){default:a=v[d+544>>3]==j;break m;case 0:case 3:a=v[d+544>>3]!=j;break m;case 4:a=v[d+544>>3]>3]<=j;break m;case 6:a=v[d+544>>3]>j;break m;case 7:break r}}a=v[d+544>>3]>=j;break m;case 3:b=(b&65535)+ -22|0;if(b>>>0>8){break m}s:{switch(b-1|0){default:a=(i|0)==q[d+544>>2];break m;case 1:case 2:a=q[d+544>>2];a=(a|0)>1|(a|0)==(i|0);break m;case 0:a=(i|0)!=q[d+544>>2];break m;case 3:a=q[d+544>>2];a=(a|0)<2&(a|0)!=(i|0);break m;case 4:a=(i|0)!=q[d+544>>2]&(i|0)>1;break m;case 5:a=(i|0)==q[d+544>>2]|(i|0)>1;break m;case 6:a=q[d+544>>2];a=(a|0)>1&(a|0)!=(i|0);break m;case 7:break s}}a=q[d+544>>2];a=(a|0)>1|(a|0)==(i|0);break m;case 2:c=(b&65535)+ -22|0;if(c>>>0>4){break m}t:{switch(c-1|0){default:a=q[d+544>>2];if(b&65536){a=!wb(a,i);break m}a=!dd(a,i);break m;case 1:a=(Fq(q[d+544>>2],i)|0)!=0;break m;case 0:a=q[d+544>>2];if(b&65536){a=(wb(a,i)|0)!=0;break m}a=(dd(a,i)|0)!=0;break m;case 3:break t}}a=!Fq(q[d+544>>2],i);break m;case 4:b=b&65535;if(b>>>0>26){break m}b=1<>2],i);break m;case 5:b=(b&65535)+ -22|0;if(b>>>0>4){break m}u:{switch(b-1|0){case 1:case 2:a=Tk(i,q[d+544>>2]);break m;case 3:a=!Tk(i,q[d+544>>2]);break m;default:a=_q(q[d+544>>2],i);break m;case 0:break u}}a=!_q(q[d+544>>2],i);break m;case 7:b=(b&65535)+ -22|0;if(b>>>0>4){break m}v:{switch(b-1|0){case 1:case 2:a=mi(q[d+544>>2],i);break m;case 3:a=!mi(q[d+544>>2],i);break m;default:a=Jq(q[d+544>>2],i);break m;case 0:break v}}a=!Jq(q[d+544>>2],i);break m;case 6:b=b&65535;if(b>>>0>26){break m}b=1<>2];break m;case 0:break m;case 8:break q;default:break p}}a=DM(b&65535,q[d+544>>2],i);break m}a=0;b=(b&65535)+ -23|0;if(b>>>0>3){break m}w:{switch(b-1|0){case 0:case 1:break m;default:break w}}a=1;break m}b=b+ -22|0;if((b&65535)>>>0>=4){break m}a=q[(b<<16>>16<<2)+504052>>2];break m}a=qr(q[d+544>>2],i);break m}a=(i|0)==q[d+544>>2]}Da=d+560|0;return a}function Yl(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Da-16|0;Da=f;q[f+12>>2]=0;q[f+8>>2]=0;q[f+4>>2]=0;q[f>>2]=0;e=q[a+8>>2];d=q[a+4>>2];a:{if(!n[q[a+16>>2]](a,c,f+12|0,f+8|0)){break a}c=q[f+8>>2];if(c){q[f>>2]=0;h=c;c=q[e+72>>2];if(!n[q[c+156>>2]](e,q[e+76>>2],h,f,q[c+20>>2])){break a}}q[f+4>>2]=0;c=q[e+72>>2];c=n[q[c+156>>2]](e,q[e+76>>2],q[f+12>>2],f+4|0,q[c+20>>2])|0;g=q[f+12>>2];b:{c:{d:{if(!(!c|!b)){q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f+4>>2];e:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break e}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break d}f:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break f}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break d}a=a+ -1|0;break c}g:{h:{g=Yl(a,b,g);if(g){h=q[f+8>>2];if(!h){break a}q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f>>2];i:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break i}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break h}j:{if(a>>>0>>0){e=q[d+80>>2];b=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break j}b=q[d+92>>2];e=q[d+80>>2];a=(b+w(e,20)|0)+ -20|0}b=w(e,20)+b|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=h;a=a+1|0;q[d+80>>2]=a}if(!a){break h}a=a+ -1|0;break g}if(!c){g=0;break a}g=q[f+12>>2];q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f+4>>2];k:{l:{m:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break m}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break l}n:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break n}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break l}a=a+ -1|0;break k}a=0}break b}a=0}Gf(w(a,20)+e|0,d);g=g+1|0;break a}a=0}}Gf(w(a,20)+e|0,d);g=q[f+8>>2];if(!g){g=1;break a}q[(q[d+88>>2]+w(q[d+72>>2],20)|0)+12>>2]=q[f>>2];o:{p:{q:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];a=q[d+80>>2];break q}a=q[d+72>>2];b=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(b|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[d+92>>2];break p}r:{if(a>>>0>>0){e=q[d+80>>2];c=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break r}c=q[d+92>>2];e=q[d+80>>2];a=(c+w(e,20)|0)+ -20|0}b=w(e,20)+c|0;c=b;e=q[a+4>>2];q[c>>2]=q[a>>2];q[c+4>>2]=e;q[c+16>>2]=q[a+16>>2];c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;e=q[d+92>>2];a=q[d+80>>2];q[e+w(a,20)>>2]=g;a=a+1|0;q[d+80>>2]=a}if(!a){break p}a=a+ -1|0;break o}a=0}Gf(w(a,20)+e|0,d);g=2}Da=f+16|0;return g}function Xb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[a>>2];a:{b:{c:{d:{e:{f:{g:{d=q[a+4>>2];h:{if(!d){break h}if(q[a+40>>2]){e=d;break h}e=d<<1;if((e|0)<0){f=6;break a}if(e){f=10;if((e|0)>268435455){break a}d=d<<4;f=n[q[g+4>>2]](g,d)|0;if(!f){break g}Na(f,0,d);d=q[a+4>>2]}o[a+16|0]=1;q[a+40>>2]=f;e=d;j=(d<<3)+f|0;q[a+44>>2]=j;d=a;i=q[a+24>>2];if(i){i=(p[a+22>>1]<<3)+i|0}else{i=0}q[d+60>>2]=i;i=a- -64|0;d=q[a+28>>2];if(d){d=d+p[a+22>>1]|0}else{d=0}q[i>>2]=d;i=a;d=q[a+32>>2];k=0;i:{if(!d){break i}k=d+(p[a+20>>1]<<1)|0}q[i+68>>2]=k;d=p[a+22>>1]<<3;q[a+80>>2]=d+j;q[a+76>>2]=d+f}b=p[a+58>>1]+(p[a+22>>1]+b|0)|0;j:{if(b>>>0<=e>>>0){b=e;break j}d=10;h=b+7|0;b=h&-8;if(b>>>0>32767){break d}d=6;if((e|h)<0){break b}d=q[a+24>>2];k:{l:{m:{if(!b){if(d){n[q[g+8>>2]](g,d)}f=0;q[a+24>>2]=0;h=a+28|0;d=q[h>>2];if(!d){break m}n[q[g+8>>2]](g,d);q[a+28>>2]=0;break k}i=(b|0)<=(e|0);j=i;n:{if(!e){h=n[q[g+4>>2]](g,b<<3)|0;d=!h<<6;break n}f=n[q[g+12>>2]](g,e<<3,b<<3,d)|0;h=f?f:d;d=!f<<6}o:{if(!(h?!(j|d):0)){q[a+24>>2]=h;if(!d){break o}break b}Na((e<<3)+h|0,0,b-e<<3);q[a+24>>2]=h}h=a+28|0;p:{if(!e){f=n[q[g+4>>2]](g,b)|0;d=!f<<6;break p}f=q[a+28>>2];d=n[q[g+12>>2]](g,e,b,f)|0;f=d?d:f;d=!d<<6}if(d|i|!f){break l}Na(e+f|0,0,b-e|0)}q[h>>2]=f;break k}q[a+28>>2]=f;if(d){break b}}if(r[a+16|0]){d=6;i=b<<1;f=e<<1;if((i|f)<0){break b}d=q[a+40>>2];q:{r:{s:{if(!b){h=0;if(!d){break s}n[q[g+8>>2]](g,d);q[a+40>>2]=0;break q}t:{if(!f){h=n[q[g+4>>2]](g,b<<4)|0;d=!h<<6;break t}j=n[q[g+12>>2]](g,e<<4,b<<4,d)|0;h=j?j:d;d=!j<<6}if(d|(i|0)<=(f|0)|!h){break r}Na((e<<4)+h|0,0,i-f<<3)}q[a+40>>2]=h;break q}q[a+40>>2]=h;if(d){break b}}d=b<<3;e=e<<3;sb(d+h|0,e+h|0,e);q[a+44>>2]=d+q[a+40>>2]}q[a+4>>2]=b;h=1}if(!(q[a+40>>2]|!b)){e=0;d=b<<1;if((d|0)<0){e=6;break c}if(d){e=10;if((d|0)>268435455){break c}d=q[a>>2];b=b<<4;e=n[q[d+4>>2]](d,b)|0;if(!e){break f}Na(e,0,b);b=q[a+4>>2]}o[a+16|0]=1;q[a+40>>2]=e;f=(b<<3)+e|0;q[a+44>>2]=f;b=a;d=q[a+24>>2];if(d){d=d+(p[a+22>>1]<<3)|0}else{d=0}q[b+60>>2]=d;d=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[d>>2]=b;b=a;i=q[a+32>>2];d=0;u:{if(!i){break u}d=i+(p[a+20>>1]<<1)|0}q[b+68>>2]=d;b=p[a+22>>1]<<3;q[a+80>>2]=b+f;q[a+76>>2]=b+e}c=p[a+56>>1]+(p[a+20>>1]+c|0)|0;b=q[a+8>>2];if(c>>>0>b>>>0){d=10;c=c+3|0;e=c&-4;if(e>>>0>32767){break d}if((b|c)<0){d=6;break b}d=q[a+32>>2];v:{w:{x:{if(!e){c=0;if(!d){break x}n[q[g+8>>2]](g,d);q[a+32>>2]=0;break v}y:{if(!b){c=n[q[g+4>>2]](g,e<<1)|0;d=!c<<6;break y}g=n[q[g+12>>2]](g,b<<1,e<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(e|0)<=(b|0)|!c){break w}Na((b<<1)+c|0,0,e-b<<1)}q[a+32>>2]=c;break v}q[a+32>>2]=c;if(d){break b}}q[a+8>>2]=e;break e}if(h){break e}d=0;break d}q[a+40>>2]=0;return 64}q[a+40>>2]=0;return 64}b=a;c=q[a+24>>2];if(c){c=c+(p[a+22>>1]<<3)|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;d=0;b=a;c=q[a+32>>2];if(c){c=c+(p[a+20>>1]<<1)|0}else{c=0}q[b+68>>2]=c;if(!r[a+16|0]){break d}b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2];return 0}return d}q[a+40>>2]=0;return e}b=q[a>>2];c=q[a+24>>2];if(c){n[q[b+8>>2]](b,c)}q[a+24>>2]=0;c=q[a+28>>2];if(c){n[q[b+8>>2]](b,c)}q[a+28>>2]=0;c=q[a+32>>2];if(c){n[q[b+8>>2]](b,c)}q[a+32>>2]=0;c=q[a+40>>2];if(c){n[q[b+8>>2]](b,c)}q[a+40>>2]=0;c=q[a+52>>2];if(c){n[q[b+8>>2]](b,c)}q[a+20>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+88>>2]=0;b=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=b;c=q[a+32>>2];b=a- -64|0;q[b>>2]=q[a+28>>2];q[b+4>>2]=c;b=q[a+40>>2];q[a+72>>2]=q[a+36>>2];q[a+76>>2]=b;b=q[a+48>>2];q[a+80>>2]=q[a+44>>2];q[a+84>>2]=b;return d}q[a+40>>2]=0;return f}function Uc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;l=Da-112|0;Da=l;m=h;n=i&2147483647;k=c+ -1|0;j=b+ -1|0;if(j>>>0<4294967295){k=k+1|0}o=j;r=(j|0)==-1&(k|0)==-1;p=e&2147483647;j=p;s=d;o=(c|0)==(k|0)&o>>>0>>0|k>>>0>>0;k=d+o|0;if(k>>>0>>0){j=j+1|0}k=k+ -1|0;j=j+ -1|0;j=k>>>0<4294967295?j+1|0:j;a:{b:{if(!((k|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&k>>>0>4294967295|j>>>0>2147418111)){k=g+ -1|0;j=f+ -1|0;if(j>>>0<4294967295){k=k+1|0}o=j;r=(j|0)!=-1|(k|0)!=-1;j=n;o=(g|0)==(k|0)&o>>>0>>0|k>>>0>>0;k=o+m|0;if(k>>>0>>0){j=j+1|0}k=k+ -1|0;j=j+ -1|0;j=k>>>0<4294967295?j+1|0:j;if((k|0)==-1&(j|0)==2147418111?r:(j|0)==2147418111&k>>>0<4294967295|j>>>0<2147418111){break b}}if(!(!s&(p|0)==2147418112?!(b|c):(p|0)==2147418112&s>>>0<0|p>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!m&(n|0)==2147418112?!(f|g):(n|0)==2147418112&m>>>0<0|n>>>0<2147418112)){i=i|32768;break a}if(!(b|s|(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|m|(n^2147418112|g))){break a}if(!(b|s|(c|p))){if(f|m|(g|n)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|m|(g|n)){break b}f=b;g=c;h=d;i=e;break a}r=(m|0)==(s|0)&(n|0)==(p|0)?(c|0)==(g|0)&f>>>0>b>>>0|g>>>0>c>>>0:(n|0)==(p|0)&m>>>0>s>>>0|n>>>0>p>>>0;m=r;u=m?f:b;k=m?g:c;j=m?i:e;s=j;o=m?h:d;t=o;m=j&65535;i=r?e:i;p=i;e=r?d:h;v=i>>>16&32767;n=j>>>16&32767;if(!n){d=!(m|t);h=d<<6;i=z(d?u:t)+32|0;d=z(d?k:m);d=h+((d|0)==32?i:d)|0;Fc(l+96|0,u,k,t,m,d+ -15|0);t=q[l+104>>2];m=q[l+108>>2];u=q[l+96>>2];n=16-d|0;k=q[l+100>>2]}f=r?b:f;g=r?c:g;b=e;d=p&65535;if(v){c=b}else{i=b;h=!(b|d);c=h<<6;j=z(h?f:b)+32|0;b=z(h?g:d);b=c+((b|0)==32?j:b)|0;Fc(l+80|0,f,g,i,d,b+ -15|0);v=16-b|0;f=q[l+80>>2];g=q[l+84>>2];c=q[l+88>>2];d=q[l+92>>2]}j=d<<3|c>>>29;h=c<<3|g>>>29;i=j|524288;c=t;d=m<<3|c>>>29;b=c<<3;c=d;d=k>>>29|b;r=c;o=e^o;p=p^s;b=f;j=g<<3|b>>>29;c=b<<3;b=j;f=n-v|0;e=c;c:{if(!f){break c}if(f>>>0>127){h=0;i=0;j=0;e=1;break c}Fc(l- -64|0,c,b,h,i,128-f|0);Uf(l+48|0,c,b,h,i,f);h=q[l+56>>2];i=q[l+60>>2];j=q[l+52>>2];e=q[l+48>>2]|((q[l+64>>2]|q[l+72>>2])!=0|(q[l+68>>2]|q[l+76>>2])!=0)}m=j;r=r|524288;b=u;j=k<<3|b>>>29;f=b<<3;d:{if((p|0)<-1?1:(p|0)<=-1?o>>>0>4294967295?0:1:0){g=f;c=e;b=f-c|0;k=d-h|0;e=(j|0)==(m|0)&f>>>0>>0|j>>>0>>0;f=k-e|0;c=j-((g>>>0>>0)+m|0)|0;g=(r-((d>>>0>>0)+i|0)|0)-(k>>>0>>0)|0;if(!(b|f|(c|g))){f=0;g=0;h=0;i=0;break a}if((g|0)==524287&f>>>0>4294967295|g>>>0>524287){break d}h=b;e=!(f|g);d=e<<6;i=z(e?b:f)+32|0;b=z(e?c:g);b=d+((b|0)==32?i:b)|0;b=b+ -12|0;Fc(l+32|0,h,c,f,g,b);n=n-b|0;f=q[l+40>>2];g=q[l+44>>2];b=q[l+32>>2];c=q[l+36>>2];break d}j=j+m|0;b=e;c=b+f|0;if(c>>>0>>0){j=j+1|0}b=c;c=j;f=(m|0)==(c|0)&b>>>0>>0|c>>>0>>0;k=i+r|0;e=d+h|0;if(e>>>0>>0){k=k+1|0}f=f+e|0;d=k;d=f>>>0>>0?d+1|0:d;g=d;if(!(d&1048576)){break d}b=b&1|((c&1)<<31|b>>>1);c=f<<31|c>>>1;n=n+1|0;f=(g&1)<<31|f>>>1;g=g>>>1|0}h=0;o=s&-2147483648;if((n|0)>=32767){i=o|2147418112;f=0;g=0;break a}e=0;e:{if((n|0)>0){e=n;break e}Fc(l+16|0,b,c,f,g,n+127|0);Uf(l,b,c,f,g,1-n|0);b=q[l>>2]|((q[l+16>>2]|q[l+24>>2])!=0|(q[l+20>>2]|q[l+28>>2])!=0);c=q[l+4>>2];f=q[l+8>>2];g=q[l+12>>2]}m=(c&7)<<29|b>>>3;d=f<<29|c>>>3;j=d;k=b&7;c=k>>>0>4;b=c+m|0;if(b>>>0>>0){j=j+1|0}s=b;c=b;b=j;i=(d|0)==(b|0)&c>>>0>>0|b>>>0>>0;d=o|g>>>3&65535;j=e<<16;c=(g&7)<<29|f>>>3|h;e=c+i|0;j=d|j;j=e>>>0>>0?j+1|0:j;d=(k|0)==4;c=d?s&1:0;k=j;i=e;d=0+b|0;b=c;e=b+s|0;if(e>>>0>>0){d=d+1|0}f=e;b=f;g=d;c=(h|0)==(d|0)&b>>>0>>0|d>>>0>>0;b=i+c|0;if(b>>>0>>0){k=k+1|0}h=b;i=k}q[a>>2]=f;q[a+4>>2]=g;q[a+8>>2]=h;q[a+12>>2]=i;Da=l+112|0}function IT(a,b,c){a=a|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=q[c+88>>2];h=39;f=1;b=0;a=0;i=q[c+76>>2];e=0;a:{if(i){break a}e=1}while(1){b:{c:{d:{if(!e){j=h<<1;l=p[j+266032>>1]+264672|0;e=o[h+266320|0];b=r[h+267072|0]==10?a:b;h=r[(g+w(a,20)|0)+18|0];m=r[j+264384|0];if(h>>>0>=m>>>0){e=h>>>0>r[j+264385|0]?e:h-m|0}e=r[e+l|0];break d}if((h|0)==39){break c}a=i;e=p[(h<<1)+266784>>1]+ -1|0}h=r[e+266464|0];e=o[e+266624|0];e:{if(!e){break e}e=e+ -1|0;if(e>>>0>18){break e}f:{g:{switch(e-1|0){case 0:d=a+1|0;break e;case 9:d=a+1|0;if(b>>>0>>0){j=f<<4|5;e=b;while(1){o[(g+w(e,20)|0)+15|0]=j;l=(a|0)==(e|0);e=e+1|0;if(!l){continue}break}}e=f+1|0;f=(e|0)==16?1:e;break e;case 11:if(b>>>0>>0){e=f<<4;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 12:if(b>>>0>>0){e=f<<4|1;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 15:if(b>>>0>>0){e=f<<4|2;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 17:if(b>>>0>>0){e=f<<4|3;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 13:if(b>>>0>>0){e=f<<4|4;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;case 14:if(b>>>0>>0){e=f<<4|5;d=b;while(1){o[(g+w(d,20)|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;d=a;a=d+ -1|0;break e;default:if(b>>>0>>0){e=f<<4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 1:if(b>>>0>>0){e=f<<4|1;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 5:if(b>>>0>>0){e=f<<4|2;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 6:if(b>>>0>>0){e=f<<4|3;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 2:if(b>>>0>>0){e=f<<4|4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break e;case 4:e=k+ -1|0;if(e>>>0>5){break e}h:{switch(e-1|0){default:if(b>>>0>>0){e=f<<4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;k=1;e=f+1|0;f=(e|0)==16?1:e;break e;case 3:if(b>>>0>>0){e=f<<4|4;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;k=5;break e;case 4:break h;case 0:case 1:case 2:break e}}if(b>>>0>>0){e=f<<4|5;a=b;while(1){o[(g+w(a,20)|0)+15|0]=e;a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=d+ -1|0;e=f+1|0;f=(e|0)==16?1:e;break f;case 16:k=1;d=a+1|0;break e;case 3:d=a+1|0;k=5;break e;case 10:break g;case 7:case 8:break e}}d=a+1|0}k=6}b=r[h+267216|0]==9?0:b;a=a+1|0;if((i|0)!=(a|0)){break b}e=1;continue}d=q[c+76>>2];if(d){b=d+ -1|0;a=0;e=q[c+88>>2];i=r[e+15|0];while(1){i:{if((a|0)==(b|0)){a=d;break i}a=a+1|0;if((i|0)==r[(e+w(a,20)|0)+15|0]){continue}}break}i=0;e=d;while(1){b=a;if(a-i>>>0>=2){rb(c,i,b);e=q[c+76>>2]}a=b+1|0;i=e>>>0>a>>>0?e:a;f=i+ -1|0;g=q[c+88>>2];h=r[(g+w(b,20)|0)+15|0];a=b;while(1){j:{if((a|0)==(f|0)){a=i;break j}a=a+1|0;if((h|0)==r[(g+w(a,20)|0)+15|0]){continue}}break}i=b;if(b>>>0>>0){continue}break}}return}e=0;continue}}function gs(a,b,c,d,e){a=a|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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;f=Da-48|0;Da=f;ef(a,f+32|0);y=f;j=q[f+40>>2];a:{b:{c:{if(!j){break c}m=q[f+32>>2];q[f+28>>2]=m;g=7;i=q[f+36>>2];h=q[b+8>>2];d:{if((h|0)==7){h=q[a+8>>2];e=i+ -1|0;q[a+8>>2]=e;s=1;l=q[a>>2];q[a>>2]=m+1;ef(a,f);q[a+8>>2]=h;q[a>>2]=l;l=0;if(q[f+8>>2]!=3){break d}if(!d){break c}q[f+28>>2]=q[f+28>>2]+1;g=8;i=e;l=1;break d}if((j|0)!=3){e=1}else{if(!d){break c}l=1;q[f+28>>2]=q[f+28>>2]+1;i=i+ -1|0;e=d}s=e;g=h}m=w(d,3);t=d<<1;u=d<<2;v=g+ -1|0;z=v>>>0>7;x=j+ -2|0;e:{while(1){e=q[(l<<2)+c>>2];g=q[b+16>>2];$b(f+28|0,i);if(z){break c}j=e+g|0;f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(v-1|0){default:o:{h=q[f+28>>2];g=h;if(h+3>>>0>=i>>>0|r[h|0]!=116|(r[h+1|0]!=114|r[h+2|0]!=117)){break o}if(r[g+3|0]!=101){break o}e=1;q[f+28>>2]=h+5;break m}e=0;p:{if(r[h|0]!=102|h+4>>>0>=i>>>0|(r[h+1|0]!=97|r[h+2|0]!=108)){break p}if(r[g+3|0]!=115){break p}h=r[h+4|0]==101?h+6|0:h}q[f+28>>2]=h;break m;case 1:e=Ed(f+28|0,i,0);break m;case 2:e=Ed(f+28|0,i,3);break m;case 6:break j;case 5:break k;case 3:case 4:break l;case 0:break n}}k=q[f+28>>2];q[f>>2]=k;g=ne(f,i,10);e=0;h=q[f>>2];if((k|0)==(h|0)){break m}if(!(r[h|0]!=35|h>>>0>=i>>>0)){k=h+1|0;q[f>>2]=k;g=ne(f,i,g);h=q[f>>2];if((k|0)==(h|0)){break m}}q[f+28>>2]=h;e=g}q:{g=r[b+20|0]+ -1|0;if(g>>>0>3){break q}r:{switch(g-1|0){default:o[j|0]=e;break f;case 1:case 2:break q;case 0:break r}}p[j>>1]=e;break f}q[j>>2]=e;break f}e=q[f+28>>2];if(i>>>0<=e>>>0){break f}if(x>>>0>2){break c}g=i-e|0;h=q[a+16>>2];s:{t:{switch(x-1|0){default:q[f+28>>2]=e+1;g=g+ -2|0;break s;case 1:break t;case 0:break c}}q[f+28>>2]=e+1;g=g+ -1|0}e=q[j>>2];if(e){if(e){n[q[h+8>>2]](h,e)}q[j>>2]=0}h=gb(h,g+1|0,f+24|0);e=q[f+24>>2];if(e){break a}e=Qa(h,q[f+28>>2],g);o[e+g|0]=0;q[j>>2]=e;break f}e=q[f+28>>2];q[f+44>>2]=e;u:{v:{w:{if(e>>>0>=i>>>0){break w}g=r[e|0];k=(g|0)==91?93:(g|0)==123?125:0;if(k){e=e+1|0;q[f+44>>2]=e;h=0;if(e>>>0>=i>>>0){break w}while(1){$b(f+44|0,i);e=q[f+44>>2];if(e>>>0>=i>>>0){g=e;break u}if((k|0)==r[e|0]){break v}if((h|0)==4){break i}A=(h<<2)+f|0,B=Ed(f+44|0,i,0),q[A>>2]=B;g=q[f+44>>2];if((g|0)==(e|0)){break w}h=h+1|0;if(g>>>0>>0){continue}break}break u}$b(f+44|0,i);e=q[f+44>>2];if(e>>>0>=i>>>0){g=e;break e}h=0;if(!r[e|0]){break v}A=f,B=Ed(f+44|0,i,0),q[A>>2]=B;g=q[f+44>>2];if((g|0)!=(e|0)){break e}}q[f+28>>2]=e;break c}g=e+1|0;q[f+44>>2]=g}q[f+28>>2]=g;if((h|0)<4){break c}break g}h=q[a+16>>2];g=Oa(h,4,0,u,0,f+24|0);e=q[f+24>>2];if(e){break a}e=Xg(f+28|0,i,d,g,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+u|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+(t<<2)|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=Xg(f+28|0,i,d,g+(m<<2)|0,0);if((e|0)<0|e>>>0>>0){break h}$b(f+28|0,i);e=0;if(d){while(1){k=e<<2;j=q[k+c>>2];k=q[g+k>>2];q[j>>2]=((k>>31)+k|0)+32768&-65536;k=q[g+(d+e<<2)>>2];q[j+4>>2]=((k>>31)+k|0)+32768&-65536;k=q[g+(e+t<<2)>>2];q[j+8>>2]=((k>>31)+k|0)+32768&-65536;k=j;j=q[g+(e+m<<2)>>2];q[k+12>>2]=((j>>31)+j|0)+32768&-65536;e=e+1|0;if((e|0)!=(d|0)){continue}break}}if(g){n[q[h+8>>2]](h,g)}break f}q[f+28>>2]=e;break g}q[f+24>>2]=3;if(g){n[q[h+8>>2]](h,g)}e=q[f+24>>2];break a}e=q[f>>2];q[j>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+4>>2];q[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+8>>2];q[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=q[f+12>>2];q[j+12>>2]=((e>>31)+e|0)+32768&-65536}l=l+1|0;s=s+ -1|0;if(s){continue}break}e=0;break b}q[f+28>>2]=g}e=3}q[y+24>>2]=e}Da=f+48|0;return e|0}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,p=0,s=0,t=0,u=0,x=0;f=Da-496|0;Da=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(a){if(!c){break l}if(!e){break k}q[e>>2]=1;if(o[643740]&1){Ua(504130,0);cd(c)}if((b|0)<1){break j}while(1){i=q[(g<<2)+a>>2];if(i){h=q[i>>2]+h|0}g=g+1|0;if((g|0)!=(b|0)){continue}break}if(!h){break j}g=0;while(1){m=g;g=g+1|0;if(!Pk(c,m,f+480|0)){continue}break}p=m<<2;s=w(h,220);k=Sa(p+s|0);if(!k){break b}i=w(h,216)+k|0;x=i+(h<<2)|0;g=k;j=i;while(1){l=q[(n<<2)+a>>2];if(!(!l|q[l>>2]<1)){h=0;while(1){if(r[643740]&2){q[f+432>>2]=h;Ua(504141,f+432|0);cd(q[q[l+8>>2]+(h<<2)>>2])}t=q[q[l+8>>2]+(h<<2)>>2];q[g>>2]=t;if(!YH(c,t,g+8|0,e)){break c}if(r[643740]&2){Ua(504150,0);v[f+416>>3]=v[g+8>>3];Ab(504156,f+416|0);v[f+400>>3]=v[g+16>>3];Ab(504156,f+400|0);v[f+384>>3]=v[g+24>>3];Ab(504156,f+384|0);v[f+368>>3]=v[g+32>>3];Ab(504156,f+368|0);v[f+352>>3]=v[g+40>>3];Ab(504156,f+352|0);v[f+336>>3]=v[g+48>>3];Ab(504156,f+336|0);v[f+320>>3]=v[g+56>>3];Ab(504156,f+320|0);v[f+304>>3]=v[g- -64>>3];Ab(504156,f+304|0);v[f+288>>3]=v[g+72>>3];Ab(504156,f+288|0);v[f+272>>3]=v[g+80>>3];Ab(504156,f+272|0);v[f+256>>3]=v[g+88>>3];Ab(504156,f+256|0);v[f+240>>3]=v[g+96>>3];Ab(504156,f+240|0);v[f+224>>3]=v[g+104>>3];Ab(504156,f+224|0);v[f+208>>3]=v[g+112>>3];Ab(504156,f+208|0);v[f+192>>3]=v[g+120>>3];Ab(504156,f+192|0);v[f+176>>3]=v[g+128>>3];Ab(504156,f+176|0);v[f+160>>3]=v[g+136>>3];Ab(504156,f+160|0);v[f+144>>3]=v[g+144>>3];Ab(504156,f+144|0);v[f+128>>3]=v[g+152>>3];Ab(504156,f+128|0);v[f+112>>3]=v[g+160>>3];Ab(504156,f+112|0);v[f+96>>3]=v[g+168>>3];Ab(504156,f+96|0);v[f+80>>3]=v[g+176>>3];Ab(504156,f+80|0);v[f+64>>3]=v[g+184>>3];Ab(504156,f- -64|0);v[f+48>>3]=v[g+192>>3];Ab(504156,f+48|0);v[f+32>>3]=v[g+200>>3];Ab(504156,f+32|0);v[f+16>>3]=v[g+208>>3];Ab(504156,f+16|0);Gb(10)}q[j>>2]=g;j=j+4|0;g=g+216|0;h=h+1|0;if((h|0)>2]){continue}break}}n=n+1|0;if((n|0)!=(b|0)){continue}break}a=g-k|0;j=(a|0)/216|0;Gc(i,j,4,983);m:{if(!m){h=0;if((a|0)<=0){break m}h=1;a=(j|0)>1?j:1;g=0;while(1){b=q[(g<<2)+i>>2];q[b+80>>2]=0;q[b+84>>2]=1086556160;g=g+1|0;if((a|0)!=(g|0)){continue}break}break m}h=0;Na(k+s|0,0,p);if((a|0)<=0){break m}l=(j|0)>1?j:1;b=0;while(1){g=0;n:{o:{h=(b<<2)+i|0;a=q[h>>2];if(v[a+80>>3]<2e3){while(1){a=(g<<2)+x|0;p:{if(q[a>>2]){break p}if(Pk(c,g,f+480|0)){break p}if(Pk(q[q[h>>2]>>2],0,f+464|0)){break p}u=Kp(f+480|0,f+464|0,f+448|0);if(!(u>=0)){break p}if(u<2){break o}}g=g+1|0;if((m|0)!=(g|0)){continue}break}a=q[h>>2]}q[a+80>>2]=0;q[a+84>>2]=1086556160;break n}q:{if(!(r[643740]&2)){break q}if(pd(q[q[h>>2]>>2],504160,0,f+444|0)){break q}if(pd(q[q[h>>2]>>2],504167,0,f+440|0)){break q}q[f>>2]=q[f+444>>2];q[f+4>>2]=q[f+440>>2];q[f+8>>2]=g;Ua(504173,f)}q[a>>2]=1}h=1;b=b+1|0;if((l|0)!=(b|0)){continue}break}}Gc(i,j,4,983);g=Cf();if(!g){break c}b=Uk();if(!b){break d}r:{if(h){h=0;while(1){a=q[i>>2];q[f+464>>2]=0;s:{if(Nk(q[a>>2],505087,f+448|0)){break s}if(!lM(b,q[f+448>>2],f+464|0)){break r}if(h?!q[f+464>>2]:0){break s}XL(q[a>>2]);if(r[643740]&2){Ua(505095,0);cd(q[a>>2])}if(!wi(g,q[a>>2])){break h}}i=i+4|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}if(d){break i}a=1;if(b){break g}break f}a=0;break g}I(504078,504068,1018,504116);F()}I(504091,504068,1019,504116);F()}I(504101,504068,1020,504116);F()}g=Cf();break a}q[d>>2]=b;break e}ie(q[a>>2]);a=0;if(!b){break f}}Xc(b)}if(!a){break d}}La(k);if(o[643740]&1){Ua(504205,0);cd(q[q[g+8>>2]>>2])}if(q[g>>2]<1){break a}q[e>>2]=0;break a}je(g)}La(k)}g=0}Da=f+496|0;return g}function Ct(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,t=0,u=0,v=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;h=Da-32|0;Da=h;if(!(e-d>>>0<2|e>>>0<=d>>>0)){K=q[c+88>>2];while(1){l=w(d,20);a:{if(1<<(s[(l+K|0)+16>>1]&31)&7168){A=d;break a}i=d+1|0;m=i>>>0>>0?e:i;j=m+ -1|0;g=d;while(1){b:{A=g;g=g+1|0;if(g>>>0>=e>>>0){A=j;g=m;break b}if(1<<(s[(w(g,20)+K|0)+16>>1]&31)&7168){continue}}break}if(g-d>>>0>=2){rb(c,d,g)}d=q[l+q[c+88>>2]>>2];q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0;j=d;d=q[b+72>>2];if(!n[q[d+200>>2]](b,q[b+76>>2],j,h,q[d- -64>>2])){if(i>>>0>=g>>>0){break a}g=q[c+88>>2];while(1){j=w(i,20);if((s[(j+g|0)+16>>1]&31)==12){d=q[c+96>>2];if(f){m=d+j|0;q[m+8>>2]=q[m+8>>2]-q[m>>2];q[m+12>>2]=q[m+12>>2]-q[m+4>>2]}d=d+j|0;q[d>>2]=0;q[d+4>>2]=0}d=(i|0)==(A|0);i=i+1|0;if(!d){continue}break}break a}d=q[(l+q[c+96>>2]|0)+12>>2];v=0;q[h>>2]=0;q[h+4>>2]=d+q[h+4>>2];d=q[b+72>>2];E=n[q[d+168>>2]](b,q[b+76>>2],q[l+q[c+88>>2]>>2],q[d+32>>2])|0;q[h+8>>2]=E;x=0;if((q[c+48>>2]&-3)==4){d=l+q[c+96>>2]|0;v=0-q[d+4>>2]|0;x=0-q[d>>2]|0}if(i>>>0>=g>>>0){break a}L=q[c+88>>2];d=l+L|0;g=r[d+14|0];t=g&16?r[d+12|0]&4?g&15:1:1;M=g>>>5|0;l=-1;j=255;B=0;F=q[h>>2];u=F;G=q[h+4>>2];o=G;C=E;H=q[h+12>>2];d=H;while(1){m=i;c:{d:{D=w(i,20);y=L+D|0;p=s[y+16>>1];if(p>>>0<256){break d}k=1<<(p&31)&7168;if(!k){break d}g=j;e:{if(t>>>0<2){break e}i=r[y+14|0];j=i&16?0:i&15;i=M?(i>>>5|0)==(M|0)?t>>>0>=j>>>0?j:t:t:t;j=i+ -1|0;if((j|0)==(l|0)){break e}H=q[h+12>>2];l=q[h+8>>2];G=q[h+4>>2];g=q[h>>2];f:{if(B){break f}B=q[a>>2];if((B&-2)==4){break f}B=aj(q[a+4>>2]);p=s[y+16>>1];k=1<<(p&31)&7168}F=g+((w(l,(B|0)==4?j:t-i|0)|0)/(t|0)|0)|0;E=(l|0)/(t|0)|0;l=j;g=255}i=q[q[c+88>>2]+D>>2];q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;j=k?p>>>8|0:0;g=(g|0)==(j|0);u=g?u:F;o=g?o:G;C=g?C:E;d=g?d:H;g=q[b+72>>2];g:{if(!n[q[g+200>>2]](b,q[b+76>>2],i,h+16|0,q[g- -64>>2])){p=q[c+96>>2];break g}I=q[b+24>>2];p=q[c+96>>2];J=D+p|0;g=J;q[g+8>>2]=0;q[g+12>>2]=0;h:{i:{j:{k:{k=j+ -200|0;y=k>>>0>34;if(y){break k}l:{switch(k-1|0){case 15:case 21:case 31:break i;case 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 16:case 18:case 19:case 20:case 22:case 23:case 24:case 25:case 26:case 28:case 29:case 30:break k;case 32:case 33:break l;default:break j}}i=q[c+48>>2]+ -4|0;if(i>>>0>1){break k}z=((u+C|0)+(q[h+24>>2]/-2|0)|0)-q[h+16>>2]|0;if(i-1){break h}z=((q[h+24>>2]/-2|0)+u|0)-q[h+16>>2]|0;break h}z=(u-q[h+16>>2]|0)+((C-q[h+24>>2]|0)/2|0)|0;break h}z=u-q[h+16>>2]|0;break h}z=((u+C|0)-q[h+24>>2]|0)-q[h+16>>2]|0}q[g+8>>2]=z;if(y){break g}g=(I|0)/16|0;m:{switch(k-1|0){case 17:case 19:case 21:case 32:d=d-g|0;default:i=(d+o|0)-q[h+20>>2]|0;g=(I|0)<16^(i|0)>0;q[J+12>>2]=g?0:i;d=(q[h+28>>2]+d|0)+(g?0-i|0:0)|0;break g;case 27:case 29:case 31:case 33:d=d-g|0;o=g+o|0;break;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 16:case 18:case 20:case 22:case 23:case 24:case 25:case 26:case 28:case 30:break g;case 13:case 15:break m}}i=q[h+28>>2];k=(o-q[h+20>>2]|0)-i|0;if(((I|0)>15|0)!=((k|0)>0|0)){g=(k|0)/-2|0;k=g+k|0;o=g+o|0;d=d-g|0}q[J+12>>2]=k;d=d+i|0;o=o-i|0}g=p+D|0;q[g>>2]=0;q[g+4>>2]=0;q[g+8>>2]=q[g+8>>2]+x;q[g+12>>2]=q[g+12>>2]+v;break c}i=q[c+96>>2]+D|0;g=q[i>>2];if((q[c+48>>2]&-3)==4){x=x-g|0;v=v-q[i+4>>2]|0;break c}x=g+x|0;v=q[i+4>>2]+v|0}i=m+1|0;if((m|0)!=(A|0)){continue}break}}d=A+1|0;if(d>>>0>>0){continue}break}}Da=h+32|0}function AX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]!=11){o[a+40|0]=1;break a}e=q[67828];h=q[67829];b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{m=q[a+32>>2];t:{if(!m){q[160744]=e;q[160745]=h;i=642976;break t}z=1;i=q[a+36>>2];if((m|0)!=1){break s}}z=0;q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g()+0;j=v[i>>3]+0;break r}k=v[i+8>>3]+0;j=v[i>>3]+0;if(m>>>0>2){break q}}q[160744]=e;q[160745]=h;d=642976;break p}if((m|0)!=3){break o}r=1;d=i+16|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[d>>3];d=0;break n}k=k+v[i+24>>3];j=j+v[i+16>>3];if(m>>>0>4){break m}r=1;d=1}q[160744]=e;q[160745]=h;p=642976;break l}if((m|0)!=5){break k}d=1;r=1;t=1;p=i+32|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[p>>3];p=0;break j}k=k+v[i+40>>3];j=j+v[i+32>>3];if(m>>>0>6){break i}t=1;r=1;d=1;p=1}q[160744]=e;q[160745]=h;i=642976;break h}if((m|0)!=7){break g}p=1;d=1;r=1;t=1;u=1;i=i+48|0}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=k+ +g();j=j+v[i>>3];i=0;break f}k=k+v[i+56>>3];j=j+v[i+48>>3];if(m>>>0>8){break e}u=1;t=1;r=1;d=1;p=1;i=1}q[160744]=e;q[160745]=h;l=642976;x=0;break d}l=i- -64|0;if((m|0)!=9){break c}i=1;p=1;d=1;r=1;t=1;u=1;x=1}q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);w=+g();A=0;break b}w=v[i+72>>3];i=1;p=1;d=1;r=1;t=1;u=1;x=1;A=1}B=v[l>>3];l=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=l;l=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=l;u:{if(!m){q[160744]=e;q[160745]=h;l=642976;break u}l=q[a+36>>2]}v:{if(!z){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break v}n=v[q[a+36>>2]+8>>3]}s=v[l>>3];v[c+88>>3]=v[c+88>>3]+n;v[c+80>>3]=s+v[c+80>>3];l=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=l;l=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=l;w:{if(!r){q[160744]=e;q[160745]=h;l=642976;break w}l=q[a+36>>2]+16|0}x:{if(!d){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break x}n=v[q[a+36>>2]+24>>3]}s=v[l>>3];v[c+72>>3]=v[c+72>>3]+n;v[c+64>>3]=s+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;y:{if(!t){q[160744]=e;q[160745]=h;d=642976;break y}d=q[a+36>>2]+32|0}z:{if(!p){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break z}n=v[q[a+36>>2]+40>>3]}s=v[d>>3];v[c+56>>3]=v[c+56>>3]+n;v[c+48>>3]=s+v[c+48>>3];d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;A:{if(!u){q[160744]=e;q[160745]=h;d=642976;break A}d=q[a+36>>2]+48|0}B:{if(!i){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);n=+g();break B}n=v[q[a+36>>2]+56>>3]}s=v[d>>3];v[c+40>>3]=v[c+40>>3]+n;v[c+32>>3]=s+v[c+32>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;C:{if(!x){q[160744]=e;q[160745]=h;d=642976;break C}d=q[a+36>>2]- -64|0}k=k+w;w=j+B;D:{if(!A){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break D}j=v[q[a+36>>2]+72>>3]}n=v[d>>3];v[c+24>>3]=v[c+24>>3]+j;v[c+16>>3]=n+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;E:{if(y(w)>y(k)){F:{if(m>>>0<=10){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break F}j=v[q[a+36>>2]+80>>3]}v[c>>3]=v[c>>3]+j;d=q[a+140>>2];q[c+8>>2]=q[a+136>>2];q[c+12>>2]=d;break E}d=q[a+132>>2];q[c>>2]=q[a+128>>2];q[c+4>>2]=d;G:{if(m>>>0<=10){q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);j=+g();break G}j=v[q[a+36>>2]+80>>3]}v[c+8>>3]=v[c+8>>3]+j}pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c)}Da=c+96|0}function _W(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=Da-48|0;Da=d;c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;e=q[a+24>>2];if(e&1){if(!e){o[a+20|0]=1}a:{if(!q[a+32>>2]){g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break a}g=q[a+36>>2]}b:{if(!r[a+176|0]){break b}c=q[g+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}f=q[g+24>>2];i=q[a+172>>2];h=v[g>>3];e=0;while(1){h=h+v[f+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=h;if(q[g+16>>2]<0){break b}q[g+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[g>>3];e=q[a+24>>2];g=1}c=g|4;if(c>>>0<=e>>>0){while(1){i=g;g=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];c:{if(k>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];d:{if(!m){break d}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break d}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=i+1|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}e:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}c=q[a+36>>2]+(c<<5)|0}f:{if(!m){break f}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break f}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=i+2|0;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}g:{if(k>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break g}f=q[a+36>>2]+(f<<5)|0}h:{if(!m){break h}j=q[f+20>>2];if(!j|(j|0)!=q[a+168>>2]){break h}l=q[f+24>>2];n=q[a+172>>2];h=v[f>>3];e=0;while(1){h=h+v[l+(e<<3)>>3]*+u[(e<<2)+n>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=h;if(q[f+16>>2]<0){break h}q[f+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[c>>3];v[d+24>>3]=v[d+24>>3]+v[f>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}i:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break i}c=q[a+36>>2]+(c<<5)|0}j:{if(!m){break j}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break j}i=q[c+24>>2];k=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[i+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break j}q[c+20>>2]=0}v[d+8>>3]=v[d+8>>3]+v[c>>3];pb(a,b,d+32|0,d+16|0,d);c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;c=g+4|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}Da=d+48|0}function $W(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=Da-48|0;Da=d;c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;e=q[a+24>>2];if(e&1){if(!e){o[a+20|0]=1}a:{if(!q[a+32>>2]){g=q[67835];q[160750]=q[67834];q[160751]=g;g=q[67833];q[160748]=q[67832];q[160749]=g;g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break a}g=q[a+36>>2]}b:{if(!r[a+176|0]){break b}c=q[g+20>>2];if(!c|(c|0)!=q[a+168>>2]){break b}f=q[g+24>>2];i=q[a+172>>2];h=v[g>>3];e=0;while(1){h=h+v[f+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[g+8>>2]=0;q[g+12>>2]=0;v[g>>3]=h;if(q[g+16>>2]<0){break b}q[g+20>>2]=0}v[d+40>>3]=v[d+40>>3]+v[g>>3];e=q[a+24>>2];g=1}c=g|4;if(c>>>0<=e>>>0){while(1){i=g;g=c;if(e>>>0<=i>>>0){o[a+20|0]=1}k=q[a+32>>2];c:{if(k>>>0<=i>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(i<<5)|0}m=r[a+176|0];d:{if(!m){break d}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break d}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}v[d+32>>3]=v[d+32>>3]+v[c>>3];c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;c=i+1|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}e:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}c=q[a+36>>2]+(c<<5)|0}f:{if(!m){break f}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break f}j=q[c+24>>2];l=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[j+(e<<3)>>3]*+u[l+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=i+2|0;if(t[a+24>>2]<=f>>>0){o[a+20|0]=1}g:{if(k>>>0<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break g}f=q[a+36>>2]+(f<<5)|0}h:{if(!m){break h}j=q[f+20>>2];if(!j|(j|0)!=q[a+168>>2]){break h}l=q[f+24>>2];n=q[a+172>>2];h=v[f>>3];e=0;while(1){h=h+v[l+(e<<3)>>3]*+u[(e<<2)+n>>2];e=e+1|0;if((j|0)!=(e|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=h;if(q[f+16>>2]<0){break h}q[f+20>>2]=0}v[d+16>>3]=v[d+16>>3]+v[c>>3];v[d+24>>3]=v[d+24>>3]+v[f>>3];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;c=i+3|0;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}i:{if(k>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break i}c=q[a+36>>2]+(c<<5)|0}j:{if(!m){break j}f=q[c+20>>2];if(!f|(f|0)!=q[a+168>>2]){break j}i=q[c+24>>2];k=q[a+172>>2];h=v[c>>3];e=0;while(1){h=h+v[i+(e<<3)>>3]*+u[k+(e<<2)>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=h;if(q[c+16>>2]<0){break j}q[c+20>>2]=0}v[d>>3]=v[d>>3]+v[c>>3];pb(a,b,d+32|0,d+16|0,d);c=q[a+140>>2];q[d+40>>2]=q[a+136>>2];q[d+44>>2]=c;c=q[a+132>>2];q[d+32>>2]=q[a+128>>2];q[d+36>>2]=c;c=g+4|0;e=q[a+24>>2];if(c>>>0<=e>>>0){continue}break}}Da=d+48|0}function vG(a,b){var c=0,d=0,i=0,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=1;h(+b);j=e(1)|0;d=e(0)|0;r=j;a:{b:{l=j&2147483647;c:{if(!(d|l)){break c}h(+a);k=e(1)|0;w=e(0)|0;s=k;if((k|0)==1072693248?!w:0){break c}d:{k=s&2147483647;if(!(k>>>0>2146435072|(k|0)==2146435072&(w|0)!=0|l>>>0>2146435072)){if(!d|(l|0)!=2146435072){break d}}return a+b}e:{f:{g:{n=0;h:{if((s|0)>-1){break h}n=2;if(l>>>0>1128267775){break h}n=0;if(l>>>0<1072693248){break h}t=l>>>20|0;if(l>>>0<1094713344){break g}i=1075-t|0;t=d>>>i|0;n=0;if((d|0)!=t<>>d|0;n=0;if((l|0)!=i<>>0>=1072693248){return(j|0)>-1?b:0}return(j|0)>-1?0:-b}if((l|0)==1072693248){if((j|0)>-1){return a}return 1/a}if((j|0)==1073741824){return a*a}if((j|0)!=1071644672|(s|0)<0){break e}return E(a)}c=y(a);if(!(((k|1073741824)!=2146435072?k:0)|w)){c=(j|0)<0?1/c:c;if((s|0)>-1){break c}if(!(k+ -1072693248|i)){a=c-c;return a/a}return(i|0)==1?-c:c}p=1;if(!((s|0)>-1|i>>>0>1)){if(i-1){a=a-a;return a/a}p=-1}i:{if(l>>>0>=1105199105){if(l>>>0>=1139802113){if(k>>>0<=1072693247){return(j|0)<0?H:0}return(j|0)>0?H:0}if(k>>>0<=1072693246){return(j|0)<0?p*1e+300*1e+300:p*1e-300*1e-300}if(k>>>0>=1072693249){return(j|0)>0?p*1e+300*1e+300:p*1e-300*1e-300}a=c+ -1;c=a*1.4426950216293335;o=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;h(+(c+o));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a-c;break i}a=c*9007199254740992;d=k>>>0<1048576;c=d?a:c;h(+a);i=e(1)|0;e(0)|0;i=d?i:k;k=i&1048575;j=k|1072693248;i=(i>>20)+(d?-1076:-1023)|0;l=0;j:{if(k>>>0<235663){break j}if(k>>>0<767610){l=1;break j}j=j+ -1048576|0;i=i+1|0}k=l<<3;u=v[k+636992>>3];h(+c);e(1)|0;f(0,e(0)|0);f(1,j|0);o=+g();m=v[k+636960>>3];q=o-m;x=1/(m+o);c=q*x;h(+c);d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();A=a;z=a*a;B=q;f(0,0);f(1,((j>>1|536870912)+(l<<18)|0)+524288|0);q=+g();o=x*(B-a*q-a*(o-(q-m)));m=(c+a)*o;a=c*c;m=m+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);h(+(z+3+m));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();q=A*a;c=o*a+c*(m-(a+ -3-z));h(+(q+c));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a*.9617967009544373;o=v[k+636976>>3]+((c-(a-q))*.9617966939259756+a*-7.028461650952758e-9);c=+(i|0);h(+(u+(m+o)+c));d=e(1)|0;e(0)|0;f(0,0);f(1,d|0);a=+g();m=a-c-u-m}f(0,0);f(1,r|0);u=+g();c=a*u;a=(o-m)*b+(b-u)*a;b=c+a;h(+b);j=e(1)|0;r=e(0)|0;k:{i=j;d=j;if((d|0)>=1083179008){if(r|d+ -1083179008){break b}if(!(a+8.008566259537294e-17>b-c)){break k}break b}if((d&2147482624)>>>0<1083231232){break k}if(r|d+1064252416){break a}if(!(a<=b-c)){break k}break a}l=0;j=d&2147483647;if(j>>>0>=1071644673){i=d+(1048576>>>(j>>>20|0)+ -1022|0)|0;j=i>>>20&2047;r=(i&1048575|1048576)>>>1043-j|0;l=(d|0)<0?0-r|0:r;f(0,0);f(1,i&-1048576>>j+ -1023);c=c- +g();h(+(a+c));d=e(1)|0;e(0)|0}else{d=i}f(0,0);f(1,d|0);b=+g();o=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=o+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);m=a*b/(b+ -2);b=c-(a-o);a=a-(m-(b+a*b))+1;h(+a);d=e(1)|0;i=e(0)|0;d=(l<<20)+d|0;l:{if((d|0)<=1048575){a=Kd(a,l);break l}f(0,i|0);f(1,d|0);a=+g()}c=p*a}return c}return p*1e+300*1e+300}return p*1e-300*1e-300}function jj(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;l=Da-192|0;Da=l;q[l+144>>2]=0;q[l+148>>2]=0;q[l+152>>2]=0;q[l+156>>2]=0;q[l+160>>2]=0;q[l+164>>2]=0;q[l+168>>2]=0;q[l+172>>2]=0;q[l+176>>2]=0;q[l+180>>2]=0;q[l+184>>2]=0;q[l+188>>2]=0;q[l+128>>2]=0;q[l+132>>2]=0;q[l+136>>2]=0;q[l+140>>2]=0;t=l+128|4;m=b;k=a;while(1){v=(l+128|0)+(q[k>>2]<<2)|0;q[v>>2]=q[v>>2]+1;k=k+4|0;m=m+ -1|0;if(m){continue}break}a:{if(q[l+128>>2]==(b|0)){q[f>>2]=0;q[g>>2]=0;break a}k=q[g>>2];n=1;m=g;b:{c:{d:{e:{f:{g:{v=q[l+132>>2];if(v){break g}n=2;if(q[l+136>>2]){break g}n=3;if(q[l+140>>2]){break g}n=4;if(q[l+144>>2]){break g}n=5;if(q[l+148>>2]){break g}n=6;if(q[l+152>>2]){break g}n=7;if(q[l+156>>2]){break g}n=8;if(q[l+160>>2]){break g}n=9;if(q[l+164>>2]){break g}n=10;if(q[l+168>>2]){break g}n=11;if(q[l+172>>2]){break g}n=12;if(q[l+176>>2]){break g}n=13;if(q[l+180>>2]){break g}n=14;if(q[l+184>>2]){break g}if(q[l+188>>2]){n=15;k=k>>>0>15?k:15;p=15;break e}n=16;k=k>>>0>16?k:16;break f}k=k>>>0>>0?n:k;if(!q[l+188>>2]){break f}p=15;u=k>>>0<15?k:15;q[g>>2]=u;m=1<>2]){break d}p=13;if(q[l+180>>2]){break d}p=12;if(q[l+176>>2]){break d}p=11;if(q[l+172>>2]){break d}p=10;if(q[l+168>>2]){break d}p=9;if(q[l+164>>2]){break d}p=8;if(q[l+160>>2]){break d}p=7;if(q[l+156>>2]){break d}p=6;if(q[l+152>>2]){break d}p=5;if(q[l+148>>2]){break d}p=4;if(q[l+144>>2]){break d}p=3;if(q[l+140>>2]){break d}p=2;if(q[l+136>>2]){break d}p=(v|0)!=0}u=k>>>0>p>>>0?p:k;q[m>>2]=u;m=1<>>0>p>>>0?p:k;q[g>>2]=u;m=1<>>0>=p>>>0){break b}}k=n;while(1){g=m-q[(l+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}m=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=(l+128|0)+(p<<2)|0;D=m-q[g>>2]|0;if((D|0)<0){break a}q[g>>2]=m;q[l+4>>2]=0;m=p+ -1|0;if(m){k=l|8;while(1){s=q[t>>2]+s|0;q[k>>2]=s;k=k+4|0;t=t+4|0;m=m+ -1|0;if(m){continue}break}}g=b>>>0>1?b:1;k=0;while(1){b=q[a>>2];if(b){m=(b<<2)+l|0;b=q[m>>2];q[m>>2]=b+1;q[(b<<2)+j>>2]=k}a=a+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}q[l+64>>2]=0;a=q[(p<<2)+l>>2];q[l>>2]=0;if(n>>>0<=p>>>0){t=0-u|0;G=(a<<2)+j|0;b=0;s=-1;while(1){E=(l+128|0)+(n<<2)|0;y=q[E>>2];if(y){H=1<>>0<=y>>>0){break i}m=g;s=p-t|0;w=s>>>0>u>>>0?u:s;if(m>>>0>=w>>>0){break i}m=g+1|0;if(m>>>0>=w>>>0){break i}z=B>>>0>u>>>0?u:B;s=k-y|0;k=E;while(1){s=s<<1;A=q[k+4>>2];if(s>>>0<=A>>>0){break i}k=k+4|0;s=s-A|0;m=m+1|0;if(m>>>0>>0){continue}break}m=z}w=1<>2];A=w+k|0;if(A>>>0>1440){break a}s=v+1|0;F=s<<2;z=(k<<3)+h|0;q[F+(l- -64|0)>>2]=z;q[i>>2]=A;j:{if(s){q[l+F>>2]=b;v=q[(l- -64|0)+(v<<2)>>2];k=b>>>a|0;a=v+(k<<3)|0;o[a+1|0]=u;o[a|0]=m;x=(z-v>>3)-k|0;q[a+4>>2]=x;break j}q[f>>2]=z}B=B-u|0;a=t;v=s;k=t+u|0;if((n|0)>(k|0)){continue}break}}a=192;k:{if(j>>>0>=G>>>0){break k}x=q[j>>2];if(x>>>0>>0){a=x>>>0<256?0:96;j=j+4|0;break k}j=j+4|0;k=x-c<<2;a=r[k+e|0]+80|0;x=q[d+k>>2]}k=b>>>t|0;if(k>>>0>>0){v=1<>2]=x;o[m+1|0]=g;o[m|0]=a;k=k+v|0;if(k>>>0>>0){continue}break}}y=y+ -1|0;m=b;k=H;while(1){a=k&m;b=k^m;m=b;k=k>>>1|0;if(a){continue}break}if(q[(s<<2)+l>>2]!=((-1<>2]!=((-1<>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{while(1){if(d>>>0>7){return-31}n:{o:{switch(d-1|0){case 1:c=q[b+4>>2];break n;default:d=q[b+4>>2];p:{if((d|0)!=32){e=q[b>>2];break p}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}q[b+4>>2]=d+1;q[a+184>>2]=0;c=1<>1]=s[a+560>>1]&65528|(c|0)!=0;if(!c){d=2;q[a+544>>2]=2;continue}q[a+544>>2]=1;break;case 3:break k;case 2:break m;case 0:break o;case 6:break f;case 5:break h;case 4:break i}}d=q[b+4>>2];q:{if((d|0)!=32){e=q[b>>2];break q}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}c=d+1|0;q[b+4>>2]=c;if(e>>>d&1){q[a+544>>2]=0;return 1}q[a+544>>2]=2}r:{if(32-c>>>0>=2){f=q[b>>2];break r}d=q[b+12>>2];e=c;while(1){if(!d){break b}g=q[b>>2]>>>8|0;q[b>>2]=g;f=q[b+8>>2];h=r[f|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=f+1;f=g|h<<24;q[b>>2]=f;g=40-e|0;e=c;if(g>>>0<2){continue}break}}q[b+4>>2]=c+2;q[a+4>>2]=0;c=f>>>c&3;d=s[a+560>>1]&-16321|c<<6|256;p[a+560>>1]=d;if((c|0)==3){p[a+560>>1]=d|4;d=5;q[a+544>>2]=5;continue}break}q[a+544>>2]=3;c=0;break l}d=s[a+560>>1];c=q[a+4>>2]}if((c|0)<(d>>>6&255)){e=q[b+4>>2];while(1){g=c;s:{if(32-e>>>0>=4){f=q[b>>2];c=e;break s}d=q[b+12>>2];while(1){if(!d){break d}f=q[b>>2]>>>8|0;q[b>>2]=f;h=q[b+8>>2];i=r[h|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=h+1;f=f|i<<24;q[b>>2]=f;h=40-e|0;e=c;if(h>>>0<4){continue}break}}e=c+4|0;q[b+4>>2]=e;f=f>>>c&15;c=g+1|0;d=s[a+560>>1];h=d>>>6&255;if(!(f|(c|0)!=(h|0)|h>>>0<=4)){return-1}q[a+184>>2]=q[a+184>>2]|f<<(g<<2);if((c|0)<(h|0)){continue}break}}q[a+544>>2]=4;break j}d=s[a+560>>1]}if(!(d&1)){d=q[b+4>>2];t:{if((d|0)!=32){e=q[b>>2];break t}c=q[b+12>>2];if(!c){break b}e=q[b>>2]>>>8|0;q[b>>2]=e;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;d=24;q[b+4>>2]=24;q[b+8>>2]=g+1;e=e|f<<24;q[b>>2]=e}q[b+4>>2]=d+1;p[a+560>>1]=s[a+560>>1]&65533|(e>>>d&1)<<1}q[a+544>>2]=0;q[a+184>>2]=q[a+184>>2]+1;return 1}e=q[b+4>>2];u:{if((e|0)!=32){d=q[b>>2];break u}c=q[b+12>>2];if(!c){break b}d=q[b>>2]>>>8|0;q[b>>2]=d;g=q[b+8>>2];f=r[g|0];q[b+12>>2]=c+ -1;e=24;q[b+4>>2]=24;q[b+8>>2]=g+1;d=d|f<<24;q[b>>2]=d}c=e+1|0;q[b+4>>2]=c;g=-2;if(d>>>e&1){break a}q[a+544>>2]=6;break g}c=q[b+4>>2]}v:{if(32-c>>>0>=2){f=q[b>>2];break v}d=q[b+12>>2];e=c;while(1){if(!d){break b}g=q[b>>2]>>>8|0;q[b>>2]=g;f=q[b+8>>2];h=r[f|0];d=d+ -1|0;q[b+12>>2]=d;c=e+ -8|0;q[b+4>>2]=c;q[b+8>>2]=f+1;f=g|h<<24;q[b>>2]=f;g=40-e|0;e=c;if(g>>>0<2){continue}break}}q[b+4>>2]=c+2;c=f>>>c&3;if(!c){q[a+544>>2]=0;return 1}q[a+544>>2]=7;d=s[a+560>>1]&-16321|c<<6;p[a+560>>1]=d;break e}d=s[a+560>>1]}e=q[a+4>>2];w:{if((e|0)>=(d>>>6&255)){c=q[a+184>>2];break w}d=q[b+4>>2];while(1){g=e;x:{if(32-d>>>0>=8){f=q[b>>2];c=d;break x}e=q[b+12>>2];while(1){if(!e){break c}f=q[b>>2]>>>8|0;q[b>>2]=f;h=q[b+8>>2];i=r[h|0];e=e+ -1|0;q[b+12>>2]=e;c=d+ -8|0;q[b+4>>2]=c;q[b+8>>2]=h+1;f=f|i<<24;q[b>>2]=f;h=40-d|0;d=c;if(h>>>0<8){continue}break}}d=c+8|0;q[b+4>>2]=d;c=f>>>c&255;e=g+1|0;f=s[a+560>>1]>>>6&255;if(!(c|(e|0)!=(f|0)|f>>>0<=1)){return-3}c=q[a+184>>2]|c<<(g<<3);q[a+184>>2]=c;if((e|0)<(f|0)){continue}break}}q[a+544>>2]=0;q[a+184>>2]=c+1;return 1}q[a+4>>2]=g;break b}q[a+4>>2]=g}g=2}return g}function FC(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,p=0,s=0,u=0;l=Da-16|0;Da=l;b=3;f=q[a+32>>2];a:{if(!f){break a}e=q[f+364>>2];if(!e){break a}g=q[e+588>>2];b=q[e+584>>2];f=q[f+360>>2];b:{if(!(!r[e+556|0]|(f|0)!=q[e+564>>2]|(b|0)!=q[e+568>>2])){if(!b){break b}if(!Oc(g,q[e+572>>2],b<<2)){break b}}b=ao(e+556|0,f,b,g);if(b){break a}}c:{d:{e:{c=q[a+20>>2];b=q[c+ -4>>2];g=r[b|0];if((g|0)!=255){if((g|0)!=30){break e}f=sc(a,b,0,0)>>16;break d}f=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break d}j=b+1|0;f=g+ -28|0;if(f>>>0<=1){if(f-1){f=0;if(t[a+8>>2]<=b+2>>>0){break c}f=(r[b+2|0]|r[j|0]<<8)<<16>>16;break d}f=0;if(t[a+8>>2]<=b+4>>>0){break c}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}f=g+ -139|0;if(g>>>0<=246){break d}b=q[a+8>>2];if(g>>>0<=250){f=0;if(b>>>0<=j>>>0){break c}f=(r[j|0]|g<<8)+ -63124|0;break d}f=0;if(b>>>0<=j>>>0){break c}f=64148-(r[j|0]|g<<8)|0}b=3;if(f>>>0>t[a+24>>2]){break a}c=q[a+20>>2]}g=q[q[e+560>>2]+8>>2];q[l+12>>2]=0;d=(c-q[a+16>>2]|0)+ -4>>2;h=w(q[e+576>>2],f);f:{if(d>>>0>>0){b=161;q[l+12>>2]=161;break f}k=q[e+600>>2];j=w(f,5);b=q[e+604>>2];g:{if(k+j>>>0<=b>>>0){break g}i=q[e+596>>2];c=g;g=q[e+592>>2];c=Oa(c,1,b,b+j|0,g,l+12|0);q[e+592>>2]=c;b=q[l+12>>2];if(b){break f}k=q[e+600>>2];q[e+596>>2]=c+k;q[e+604>>2]=j+q[e+604>>2];if(!g|(c|0)==(g|0)){break g}b=q[a+16>>2];m=q[a+20>>2];if(b>>>0>=m>>>0){break g}n=c-g|0;while(1){c=q[b>>2];if(!(c>>>0>>0|c>>>0>=i>>>0)){q[b>>2]=c+n;m=q[a+20>>2]}b=b+4|0;if(b>>>0>>0){continue}break}}q[e+600>>2]=j+k;s=d-h|0;j=s+f|0;if(f){g=j;while(1){b=q[e+580>>2];h:{i:{u=p+s<<2;c=q[u+q[a+16>>2]>>2];h=r[c|0];if((h|0)!=255){if((h|0)!=30){break i}d=sc(a,c,0,0)>>16;break h}d=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break h}i=c+1|0;d=h+ -28|0;if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=c+2>>>0){break h}d=(r[c+2|0]|r[i|0]<<8)<<16>>16;break h}d=0;if(t[a+8>>2]<=c+4>>>0){break h}c=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break h}d=h+ -139|0;if(h>>>0<=246){break h}c=q[a+8>>2];if(h>>>0<=250){d=0;if(c>>>0<=i>>>0){break h}d=(r[i|0]|h<<8)+ -63124|0;break h}d=0;if(c>>>0<=i>>>0){break h}d=64148-(r[i|0]|h<<8)|0}i=d<<16;m=1;k=q[e+576>>2];if(k>>>0>=2){while(1){b=b+4|0;j:{k:{d=q[q[a+16>>2]+(g<<2)>>2];h=r[d|0];if((h|0)!=255){if((h|0)!=30){break k}c=sc(a,d,0,0)>>16;k=q[e+576>>2];break j}c=((r[d+3|0]|(r[d+2|0]<<8|r[d+1|0]<<16))<<8)+32768>>16;break j}n=d+1|0;c=h+ -28|0;if(c>>>0<=1){if(c-1){c=0;if(t[a+8>>2]<=d+2>>>0){break j}c=(r[d+2|0]|r[n|0]<<8)<<16>>16;break j}c=0;if(t[a+8>>2]<=d+4>>>0){break j}c=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break j}if(h>>>0<=246){c=h+ -139|0;break j}d=q[a+8>>2];if(h>>>0<=250){c=0;if(d>>>0<=n>>>0){break j}c=(r[n|0]|h<<8)+ -63124|0;break j}c=0;if(d>>>0<=n>>>0){break j}c=64148-(r[n|0]|h<<8)|0}g=g+1|0;i=w(q[b>>2],c)+i|0;m=m+1|0;if(m>>>0>>0){continue}break}}q[q[a+16>>2]+u>>2]=q[e+596>>2];b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=255;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>24;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>16;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i>>>8;b=q[e+596>>2];q[e+596>>2]=b+1;o[b|0]=i;p=p+1|0;if((p|0)!=(f|0)){continue}break}b=q[l+12>>2]}else{b=0}q[a+20>>2]=q[a+16>>2]+(j<<2)}o[e+557|0]=1}Da=l+16|0;return b|0}function aW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0),j=0,k=x(0),l=0,m=0;d=q[a>>2];h=d+10|0;e=q[a+4>>2];d=r[d|0]|r[d+1|0]<<8;g=(d<<24|d<<8&16711680)>>16;m=g+1|0;d=h+(m<<1)|0;a:{if(e>>>0>d>>>0){break a}e=e+q[a+8>>2]|0;if(d>>>0>e>>>0|e-d>>>0<2){break a}d=(h+(g<<1)|0)+ -2|0;j=r[d|0]<<8|r[d+1|0];d=0;e=q[b>>2];b:{if((e|0)<0){break b}l=j+1|0;if(e>>>0<=j>>>0){f=e;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=l>>>0){continue}break}c:{if(!(f>>>0>>0|f>>>0>268435454)){e=db(q[b+8>>2],f<<4);if(e){break c}}q[b>>2]=-1;break b}q[b>>2]=f;q[b+8>>2]=e}f=q[b+4>>2];if(j>>>0>=f>>>0){Na(q[b+8>>2]+(f<<4)|0,0,l-f<<4)}q[b+4>>2]=l}f=q[b+4>>2];if(f){d=f;e=0;while(1){d:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];f=642976;break d}f=q[b+8>>2]+(e<<4)|0}q[f+4>>2]=0;q[f+8>>2]=0;o[f|0]=0;o[f+12|0]=0;e=e+1|0;if(e>>>0>>0){continue}break}}f=1;if(c){break a}e:{if((g|0)<1){break e}e=0;while(1){c=h+(e<<1)|0;c=r[c|0]<<8|r[c+1|0];f:{if(d>>>0<=c>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break f}c=q[b+8>>2]+(c<<4)|0}o[c+12|0]=1;e=e+1|0;if((g|0)==(e|0)){break e}d=q[b+4>>2];continue}}c=h+(g<<1)|0;c=(h+(m<<1)|0)+(r[c|0]<<8|r[c+1|0])|0;f=0;e=0;while(1){d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}h=r[c|0];d=c+1|0;g:{if(t[b+4>>2]<=e>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break g}g=q[b+8>>2]+(e<<4)|0}o[g|0]=h;if(h&8){g=q[a+4>>2];if(g>>>0>d>>>0|g+q[a+8>>2]>>>0<=d>>>0){break a}d=c+2|0;c=r[c+1|0];h:{if(!c){break h}while(1){e=e+1|0;if(e>>>0>j>>>0){break h}c=c+ -1|0;i:{if(t[b+4>>2]<=e>>>0){g=q[67831];q[160746]=q[67830];q[160747]=g;g=q[67829];q[160744]=q[67828];q[160745]=g;g=642976;break i}g=q[b+8>>2]+(e<<4)|0}o[g|0]=h;if(c){continue}break}}}c=d;e=e+1|0;if(e>>>0<=j>>>0){continue}break}d=q[b+4>>2];if(!d){return 1}e=0;while(1){j:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}d=q[b+8>>2]+(e<<4)|0}h=r[d|0];k:{if(h&2){d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=x(r[c|0]);if(h&16){i=x(i+k);c=d;break k}i=x(i-k);c=d;break k}if(h&16){break k}d=q[a+4>>2];if(d>>>0>c>>>0){break a}d=d+q[a+8>>2]|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=r[c|0]|r[c+1|0]<<8;i=x(i+x((d<<24|d<<8&16711680)>>16));c=c+2|0}d=q[b+4>>2];l:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];h=642976;break l}h=q[b+8>>2]+(e<<4)|0}u[h+4>>2]=i;e=e+1|0;if(e>>>0>>0){continue}break}if(!d){return 1}i=x(0);e=0;while(1){m:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}d=q[b+8>>2]+(e<<4)|0}h=r[d|0];n:{if(h&4){f=0;d=q[a+4>>2];if(d>>>0>c>>>0|d+q[a+8>>2]>>>0<=c>>>0){break a}d=c+1|0;k=x(r[c|0]);if(h&32){i=x(i+k);c=d;break n}i=x(i-k);c=d;break n}if(h&32){break n}f=0;d=q[a+4>>2];if(d>>>0>c>>>0){break a}d=d+q[a+8>>2]|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=r[c|0]|r[c+1|0]<<8;i=x(i+x((d<<24|d<<8&16711680)>>16));c=c+2|0}d=q[b+4>>2];o:{if(d>>>0<=e>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=q[b+4>>2];f=642976;break o}f=q[b+8>>2]+(e<<4)|0}u[f+8>>2]=i;f=1;e=e+1|0;if(e>>>0>>0){continue}break}}return f}function jq(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=-1;a:{f=c-b|0;if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{k=r[b|0];if(k){e=k+ -216|0;if(e>>>0>39){break h}switch(e-4|0){case 0:case 1:case 2:case 3:break c;case 35:break e;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:break h;default:break f}}h=r[b+1|0];e=r[(h+a|0)+72|0]+ -5|0;if(e>>>0>24){break c}switch(e-1|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}h=r[b+1|0];break d}j=-2;if((f|0)>=3){break c}break a}j=-2;if((f|0)>=4){break c}break a}h=r[b+1|0];if(h>>>0>253){break c}}if(q[(h>>>3&28|r[k+492528|0]<<5)+490512>>2]>>>(h&31)&1){break b}}q[d>>2]=b;return 0}i=b+2|0;g=c-i|0;if((g|0)<2){break a}m=a+72|0;f=i;a=b;while(1){i:{j:{k:{l:{m:{n:{l=r[a+2|0];e=l+ -216|0;if(e>>>0>39){if(l){break l}e=r[a+3|0];n=r[m+e|0]+ -5|0;if(n>>>0>24){break i}o:{switch(n-1|0){case 0:j=-2;if((g|0)<3){break a}break i;case 3:case 4:case 15:g=11;p:{if(k|(f-b|0)!=6){break p}if((h|0)==120){e=0}else{if((h|0)!=88){break p}e=1}if(r[i|0]){break p}i=o[b+3|0];if((i|0)!=109){if((i|0)!=77){break p}e=1}if(r[b+4|0]){break p}b=o[b+5|0];if((b|0)==76){break i}if((b|0)!=108){break p}if(e){break i}g=12}b=a+4|0;f=c-b|0;if((f|0)<2){break a}while(1){a=b;q:{r:{s:{t:{u:{v:{w:{e=r[b|0];b=e+ -216|0;if(b>>>0>39){if(e){break r}b=r[r[a+1|0]+m|0];if(b>>>0>15){break r}switch(b-2|0){case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:break r;case 13:break s;case 5:break v;case 4:break w;default:break t}}switch(b-4|0){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:break r;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}if((f|0)<3){return-2}b=a+3|0;break q}if((f|0)<4){return-2}b=a+4|0;break q}if(r[a+1|0]<=253){break r}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[b|0]|r[a+3|0]!=62){break q}q[d>>2]=a+4;return g}b=a+2|0}f=c-b|0;if((f|0)>1){continue}break}break a;case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 1:break n;case 9:break o;default:break i}}e=11;x:{if(k|(f-b|0)!=6){break x}if((h|0)==120){g=0}else{if((h|0)!=88){break x}g=1}if(r[i|0]){break x}i=o[b+3|0];if((i|0)!=109){if((i|0)!=77){break x}g=1}if(r[b+4|0]){break x}b=o[b+5|0];if((b|0)==76){break i}if((b|0)!=108){break x}if(g){break i}e=12}f=a+4|0;if((c-f|0)<2){break a}if(r[a+4|0]|r[a+5|0]!=62){break i}q[d>>2]=a+6;j=e;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break i;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:break l;case 35:break m;default:break n}}j=-2;if((g|0)>=4){break i}break a}e=r[a+3|0];if(e>>>0>253){break i}break k}e=r[a+3|0]}if(!(q[(e>>>3&28|r[l+492784|0]<<5)+490512>>2]>>>(e&31)&1)){break i}}a=f;f=a+2|0;g=c-f|0;if((g|0)>1){continue}break a}break}q[d>>2]=f;return 0}return j}function pN(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=Da-48|0;Da=g;a:{if(!Cr(a,100,100)){break a}q[b+12>>2]=-2147483648;q[b>>2]=2147483647;q[b+4>>2]=2147483647;q[b+8>>2]=-2147483648;q[g+32>>2]=c;b:{if(!c){break b}e=r[c|0];if(!e){break b}f=-1;while(1){h=f;c:{d:{if(!(!l|(e&255)!=99)){m=0;e=q[l+12>>2];if(!e|q[e>>2]!=5){break d}e=q[e+12>>2];if(!e|q[e>>2]!=5){break d}f=ab(1,20);q[j+12>>2]=f;q[f>>2]=5;q[f+16>>2]=j;e=q[l+8>>2];q[f+4>>2]=q[l+4>>2];q[f+8>>2]=e;e=q[l+12>>2];i=ab(1,20);q[f+12>>2]=i;q[i>>2]=5;q[i+16>>2]=f;f=q[e+8>>2];q[i+4>>2]=q[e+4>>2];q[i+8>>2]=f;f=q[e+12>>2];j=ab(1,20);q[i+12>>2]=j;q[j>>2]=5;q[j+16>>2]=i;e=q[f+8>>2];q[j+4>>2]=q[f+4>>2];q[j+8>>2]=e;e=c;f=h;l=0;break c}e:{f:{g:{if(m>>>0>1){break g}if(m-1){if(!Fb(g+32|0,g+40|0)){break g}e=q[g+32>>2]+ -1|0;q[g+32>>2]=e;n=v[g+40>>3]*64;if(y(n)<2147483648){o=~~n;break e}o=-2147483648;break e}if(Fb(g+32|0,g+40|0)){break f}}m=0;h:{e=q[g+32>>2];c=r[e|0]+ -98|0;if(c>>>0>17){break h}f=0;i:{switch(c-1|0){case 11:f=1;break c;case 9:f=2;break c;default:f=3;break c;case 14:f=4;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 12:case 13:case 15:break h;case 16:break i;case 10:break c}}f=5;break c}f=h;break c}f=-1;e=q[g+32>>2]+ -1|0;q[g+32>>2]=e;c=(h|0)==-1;n=v[g+40>>3]*64;j:{if(y(n)<2147483648){i=~~n;break j}i=-2147483648}if(c){m=2;break c}m=0;c=ab(1,20);k:{if(!k){j=0;k=c;break k}q[j+12>>2]=c;q[c+16>>2]=j}q[c+8>>2]=i;q[c+4>>2]=o;q[c>>2]=h;f=(l|0)!=0|(h|0)!=5;l=f?l:j;f=f?h:5;j=c;break c}m=1;break c}e=c}c=e+1|0;q[g+32>>2]=c;e=r[e+1|0];if(e){continue}break}}q[g+40>>2]=0;q[g+44>>2]=0;l:{m:{if(!k){break m}e=k;f=0;while(1){n:{o:{p:{q:{c=q[e>>2];if(c>>>0>5){break q}r:{switch(c-1|0){case 0:j=q[e+8>>2];c=q[e+4>>2];q[g+40>>2]=c;q[g+44>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;break q;default:j=q[e+8>>2];c=q[e+4>>2];q[g+40>>2]=c;q[g+44>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;if(f){if(!zr(a)){break l}if(!yr(a)){break l}}f=0;e=q[e+12>>2];if(e){continue}break m;case 1:j=q[e+8>>2];c=q[e+4>>2];q[g+32>>2]=c;q[g+36>>2]=j;i=q[b>>2];q[b>>2]=(i|0)>(c|0)?c:i;i=q[b+8>>2];q[b+8>>2]=(i|0)>(c|0)?i:c;h=j;c=q[b+4>>2];q[b+4>>2]=(c|0)>(h|0)?h:c;c=q[b+12>>2];q[b+12>>2]=(c|0)>(h|0)?c:h;if(!f){c=q[g+44>>2];q[g+24>>2]=q[g+40>>2];q[g+28>>2]=c;if(!qb(a,g+24|0,0)){break l}}c=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=c;if(!qb(a,g+16|0,1)){break l}break o;case 2:c=q[e+12>>2];if(!c|q[c>>2]!=3){break q}h=q[c+12>>2];if(!h|q[h>>2]!=3){break q}h=q[e+16>>2];if(h){break p}break n;case 3:break q;case 4:break r}}c=q[e+12>>2];if(!c|q[c>>2]!=5){break q}h=q[c+12>>2];if(!h|q[h>>2]!=5){break q}h=q[e+16>>2];if(!h){break n}if(wr(a,b,h,1,f)){break o}break l}c=q[e+12>>2];break n}if(!wr(a,b,h,0,f)){break l}f=1;c=q[q[q[e+12>>2]+12>>2]+12>>2];break n}f=1;c=q[e+12>>2]}e=c;if(c){continue}break}if(!f){break m}if(!zr(a)){break l}if(!yr(a)){break l}}if(d){b=q[a>>2];q[g+4>>2]=q[a+8>>2];q[g>>2]=b;hb(d,6,437046,g)}f=1;if(!k){break a}while(1){a=q[k+12>>2];La(k);k=a;if(a){continue}break}break a}while(1){b=q[k+12>>2];La(k);k=b;if(b){continue}break}Be(a);f=0}Da=g+48|0;return f}function nq(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=-1;a:{e=c-b|0;if((e|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{k=r[b+1|0];if(k){f=k+ -216|0;if(f>>>0>39){break h}switch(f-4|0){case 0:case 1:case 2:case 3:break c;case 35:break e;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:break h;default:break f}}g=r[b|0];f=r[(g+a|0)+72|0]+ -5|0;if(f>>>0>24){break c}switch(f-1|0){case 16:case 18:break b;case 23:break d;case 1:break f;case 0:break g;default:break c}}g=r[b|0];break d}j=-2;if((e|0)>=3){break c}break a}j=-2;if((e|0)>=4){break c}break a}g=r[b|0];if(g>>>0>253){break c}}if(q[(g>>>3&28|r[k+492528|0]<<5)+490512>>2]>>>(g&31)&1){break b}}q[d>>2]=b;return 0}h=b+2|0;i=c-h|0;if((i|0)<2){break a}m=a+72|0;a=h;f=b;while(1){i:{j:{k:{l:{m:{n:{l=r[f+3|0];e=l+ -216|0;if(e>>>0>39){if(l){break l}e=r[a|0];n=r[m+e|0]+ -5|0;if(n>>>0>24){break i}o:{switch(n-1|0){case 0:j=-2;if((i|0)<3){break a}break i;case 3:case 4:case 15:i=11;p:{if(k|(a-b|0)!=6){break p}if((g|0)==120){e=0}else{if((g|0)!=88){break p}e=1}if(r[b+3|0]){break p}h=o[h|0];if((h|0)!=109){if((h|0)!=77){break p}e=1}if(r[b+5|0]){break p}b=o[b+4|0];if((b|0)==76){break i}if((b|0)!=108){break p}if(e){break i}i=12}b=f+4|0;e=c-b|0;if((e|0)<2){break a}while(1){a=b;q:{r:{s:{t:{u:{v:{w:{b=r[b+1|0];f=b+ -216|0;if(f>>>0>39){if(b){break r}b=r[r[a|0]+m|0];if(b>>>0>15){break r}switch(b-2|0){case 0:case 1:case 2:case 3:case 7:case 8:case 9:case 10:case 11:case 12:break r;case 13:break s;case 5:break v;case 4:break w;default:break t}}switch(f-4|0){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:break r;case 0:case 1:case 2:case 3:break t;case 35:break u;default:break v}}if((e|0)<3){return-2}b=a+3|0;break q}if((e|0)<4){return-2}b=a+4|0;break q}if(r[a|0]<=253){break r}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[a+3|0]|r[b|0]!=62){break q}q[d>>2]=a+4;return i}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}break a;case 16:case 18:case 19:case 20:case 21:break j;case 23:break k;case 1:break n;case 9:break o;default:break i}}e=11;x:{if(k|(a-b|0)!=6){break x}if((g|0)==120){g=0}else{if((g|0)!=88){break x}g=1}if(r[b+3|0]){break x}h=o[h|0];if((h|0)!=109){if((h|0)!=77){break x}g=1}if(r[b+5|0]){break x}b=o[b+4|0];if((b|0)==76){break i}if((b|0)!=108){break x}if(g){break i}e=12}a=f+4|0;if((c-a|0)<2){break a}if(r[f+5|0]|r[f+4|0]!=62){break i}q[d>>2]=f+6;j=e;break a}switch(e-4|0){case 0:case 1:case 2:case 3:break i;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:break l;case 35:break m;default:break n}}j=-2;if((i|0)>=4){break i}break a}e=r[a|0];if(e>>>0>253){break i}break k}e=r[a|0]}if(!(q[(e>>>3&28|r[l+492784|0]<<5)+490512>>2]>>>(e&31)&1)){break i}}f=a;a=a+2|0;i=c-a|0;if((i|0)>1){continue}break a}break}q[d>>2]=a;return 0}return j}function oX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=x(0),k=0,l=x(0),m=0,n=0,p=0;e=Da-240|0;Da=e;if(!(!q[a>>2]|t[a+124>>2]<=c>>>0)){n=nX(q[a+92>>2],c);o[e+72|0]=0;g=e- -64|0;q[g>>2]=0;q[g+4>>2]=0;q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;q[e+108>>2]=0;q[e+112>>2]=0;o[e+116|0]=0;q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;q[e+228>>2]=0;q[e+56>>2]=0;q[e+60>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;i=q[a+84>>2];g=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{if(g>>>0<=c>>>0){q[e+48>>2]=q[67830];c=q[67829];q[e+40>>2]=q[67828];q[e+44>>2]=c;break a}h=r[i+4|0];p=(i+w(h,g+1|0)|0)+5|0;if(h){g=(i+w(c,h)|0)+5|0;while(1){f=r[g|0]|f<<8;g=g+1|0;h=h+ -1|0;if(h){continue}break}}c=jm(i,c);q[e+48>>2]=0;q[e+44>>2]=c;q[e+40>>2]=(f+p|0)+ -1}g=q[b+64>>2];h=q[b+60>>2];i=w(n,28);mX(e+56|0,e+40|0,q[a+76>>2],q[(t[a+116>>2]>n>>>0?i+q[a+120>>2]|0:271312)+20>>2]);q[e+204>>2]=h;q[e+200>>2]=g;p=q[a+80>>2];q[e+208>>2]=p;o[e+233|0]=0;o[e+234|0]=0;q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;c=e;f=0;b:{if(!g){break b}f=0;if(!h){break b}f=(p|0)!=271312}o[c+232|0]=f;q[e+216>>2]=q[(t[a+116>>2]>n>>>0?i+q[a+120>>2]|0:271312)+24>>2];o[e+128|0]=0;q[e+32>>2]=0;q[e+36>>2]=-1042284544;q[e+24>>2]=0;q[e+28>>2]=-1042284544;q[e+16>>2]=-4194304;q[e+20>>2]=1105199103;q[e+8>>2]=-4194304;q[e+12>>2]=1105199103;o[e|0]=0;c=r[271312];h=c|256;f=r[e+72|0];c:{while(1){d:{e:{f:{g:{if(f&255){break g}f=q[e+68>>2];a=f+1|0;i=q[e+60>>2];if(a>>>0>i>>>0){break g}if(f>>>0>>0){n=q[e+56>>2];g=r[n+f|0];if((g|0)==12){if(a>>>0>=i>>>0){break f}f=r[a+n|0];q[e+68>>2]=a;g=f|256;f=a}if(f>>>0>=i>>>0){f=g;break e}q[e+68>>2]=f+1;break d}o[e+72|0]=1;g=65535;f=c;if((f|0)==12){break d}break e}g=q[e+148>>2]?11:14;break d}o[e+72|0]=1;q[e+68>>2]=i;f=h}o[e+72|0]=1;q[e+68>>2]=i;g=f}lX(g,e+56|0,e);g=0;f=r[e+72|0];a=0;if(r[e+76|0]|(f|(r[e+96|0]|r[e+144|0]))){break c}a=0;if((q[e+84>>2]|q[e+152>>2])<0){break c}if(!r[e+128|0]){continue}break}m=v[e+24>>3];k=v[e+8>>3];h:{if(!(m>k)){q[d>>2]=0;q[d+8>>2]=0;break h}j=x(q[b+20>>2]);l=x(x(k)*j);f=q[b+16>>2];h=q[f+28>>2];if(!h){h=xb(f);j=x(q[b+20>>2]);k=v[e+8>>3];m=v[e+24>>3];f=q[b+16>>2]}a=d;l=x(J(x(x(l/x(h>>>0)))));i:{if(x(y(l))>2]=c;c=d;j=x(j*x(m-k));a=q[f+28>>2];if(!a){a=xb(f)}j=x(J(x(x(j/x(a>>>0)))));j:{if(x(y(j))>2]=a}k=v[e+32>>3];m=v[e+16>>3];k:{if(!(k>m)){q[d+4>>2]=0;q[d+12>>2]=0;break k}j=x(q[b+24>>2]);l=x(x(k)*j);f=q[b+16>>2];h=q[f+28>>2];if(!h){h=xb(f);j=x(q[b+24>>2]);k=v[e+32>>3];m=v[e+16>>3];f=q[b+16>>2]}a=d;l=x(J(x(x(l/x(h>>>0)))));l:{if(x(y(l))>2]=b;j=x(j*x(m-k));a=q[f+28>>2];if(!a){a=xb(f)}j=x(J(x(x(j/x(a>>>0)))));m:{if(x(y(j))>2]=a}a=1}f=a;La(q[e+228>>2]);q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;b=q[e+88>>2];if(b){while(1){a=q[e+92>>2]+(g<<5)|0;La(q[a+24>>2]);q[a+24>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;g=g+1|0;if((b|0)!=(g|0)){continue}break}}La(q[e+92>>2]);q[e+92>>2]=0;q[e+84>>2]=0;q[e+88>>2]=0;La(q[e+160>>2]);q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;La(q[e+228>>2]);q[e+228>>2]=0;q[e+220>>2]=0;q[e+224>>2]=0;La(q[e+160>>2]);q[e+160>>2]=0;q[e+152>>2]=0;q[e+156>>2]=0;La(q[e+92>>2])}Da=e+240|0;return f}function rp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,v=0;m=Da-16|0;Da=m;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=q[a+4>>2];g:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break g}f=vb(a)}if((f|0)==32|f+ -9>>>0<5){continue}break}j=f+ -43|0;h:{if(j>>>0>2|!(j-1)){break h}n=(f|0)==45?-1:0;f=q[a+4>>2];if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break h}f=vb(a)}i:{if(!(b&-17|(f|0)!=48)){f=q[a+4>>2];j:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break j}f=vb(a)}if((f|32)==120){b=16;f=q[a+4>>2];k:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break k}f=vb(a)}if(r[f+508001|0]<16){break e}if(!q[a+104>>2]){d=0;e=0;if(c){break a}break b}b=q[a+4>>2];q[a+4>>2]=b+ -1;if(!c){break b}q[a+4>>2]=b+ -2;d=0;e=0;break a}if(b){break i}b=8;break e}b=b?b:10;if(b>>>0>r[f+508001|0]){break i}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}d=0;e=0;xd(a,0,0);q[160942]=28;break a}if((b|0)!=10){break e}c=f+ -48|0;if(c>>>0<=9){b=0;while(1){b=w(b,10)+c|0;c=q[a+4>>2];l:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break l}f=vb(a)}c=f+ -48|0;if(b>>>0<429496729?c>>>0<=9:0){continue}break}g=b}if(c>>>0>9){break f}i=V$(g,0,10,0);b=Ea;while(1){h=b;b=c+i|0;if(b>>>0>>0){h=h+1|0}g=b;j=(h|0)==429496729&b>>>0>=2576980378|h>>>0>429496729;b=q[a+4>>2];m:{if(b>>>0>2]){q[a+4>>2]=b+1;f=r[b|0];break m}f=vb(a)}c=f+ -48|0;if(j|c>>>0>9){break f}i=V$(g,h,10,0);b=Ea;if((b|0)==-1&i>>>0<=(c^-1)>>>0|b>>>0<4294967295){continue}break}b=10;break d}q[160942]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b+ -1&b){c=r[f+508001|0];if(b>>>0>c>>>0){while(1){g=w(b,g)+c|0;i=g>>>0<=119304646;j=b;f=q[a+4>>2];n:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break n}f=vb(a)}c=r[f+508001|0];if(j>>>0>c>>>0?i:0){continue}break}}if(b>>>0<=c>>>0){break d}k=b;while(1){l=V$(g,h,k,0);j=Ea;i=j;c=c&255;if((i|0)==-1&l>>>0>(c^-1)>>>0|i>>>0>4294967295){break d}h=j;f=c+l|0;if(f>>>0>>0){h=h+1|0}g=f;j=b;f=q[a+4>>2];o:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break o}f=vb(a)}c=r[f+508001|0];if(j>>>0<=c>>>0){break d}Ld(m,k,0,g,h);if(!(q[m+8>>2]|q[m+12>>2])){continue}break}break d}l=o[(w(b,23)>>>5&7)+508257|0];j=l;c=j;i=c&31;if(32<=(c&63)>>>0){p=-1>>>i|0}else{k=-1>>>i|0;p=(1<>>i}i=p;s=k;c=r[f+508001|0];if(b>>>0>c>>>0){while(1){g=g<>>0<=134217727;v=b;f=q[a+4>>2];p:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break p}f=vb(a)}c=r[f+508001|0];if(v>>>0>c>>>0?u:0){continue}break}}if(!s&i>>>0>>0|s>>>0<0|b>>>0<=c>>>0){break d}while(1){i=c&255;f=g;c=j;g=c&31;if(32<=(c&63)>>>0){h=f<>>32-g|h<>2];q:{if(c>>>0>2]){q[a+4>>2]=c+1;f=r[c|0];break q}f=vb(a)}if((h|0)==(k|0)&g>>>0>p>>>0|h>>>0>k>>>0){break d}c=r[f+508001|0];if(b>>>0>c>>>0){continue}break}}if(b>>>0<=r[f+508001|0]){break c}while(1){c=b;f=q[a+4>>2];r:{if(f>>>0>2]){q[a+4>>2]=f+1;f=r[f|0];break r}f=vb(a)}if(c>>>0>r[f+508001|0]){continue}break}q[160942]=68;n=d&1?0:n;g=d;h=e}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}s:{if((e|0)==(h|0)&g>>>0>>0|h>>>0>>0){break s}if(!(n|d&1)){q[160942]=68;e=e+ -1|0;a=d+ -1|0;if(a>>>0<4294967295){e=e+1|0}d=a;break a}if((e|0)==(h|0)&g>>>0<=d>>>0|h>>>0>>0){break s}q[160942]=68;break a}a=n;c=a^g;d=c-a|0;b=a>>31;e=(b^h)-(b+(c>>>0>>0)|0)|0;break a}d=0;e=0;xd(a,0,0)}Da=m+16|0;Ea=e;return d}function VW(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0;i=q[a+24>>2];if(i>>>0>=2){l=q[a+32>>2];m=r[a+176|0];d=2;while(1){h=d;n=v[a+136>>3];e=v[a+128>>3];if(i>>>0<=j>>>0){o[a+20|0]=1}a:{if(l>>>0<=j>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(j<<5)|0}b:{if(!m){break b}k=q[d+20>>2];if(!k|(k|0)!=q[a+168>>2]){break b}p=q[d+24>>2];s=q[a+172>>2];c=v[d>>3];i=0;while(1){c=c+v[p+(i<<3)>>3]*+u[(i<<2)+s>>2];i=i+1|0;if((k|0)!=(i|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}n=n+v[d>>3];c:{if(r[b|0]){break c}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break c}v[b+32>>3]=c}v[a+136>>3]=n;v[a+128>>3]=e;c=e;if(!!(v[b+8>>3]>c)){v[b+8>>3]=e;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}d=j|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!m){break e}j=q[d+20>>2];if(!j|(j|0)!=q[a+168>>2]){break e}k=q[d+24>>2];p=q[a+172>>2];c=v[d>>3];i=0;while(1){c=c+v[k+(i<<3)>>3]*+u[p+(i<<2)>>2];i=i+1|0;if((j|0)!=(i|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}c=e+v[d>>3];f:{if(r[b|0]){break f}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break f}v[b+32>>3]=e}v[a+136>>3]=n;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}j=h;d=h+2|0;i=q[a+24>>2];if(d>>>0<=i>>>0){continue}break}}g:{if(h>>>0>=i>>>0){break g}e=v[a+136>>3];d=q[a+128>>2];j=q[a+132>>2];h:{if(t[a+32>>2]<=h>>>0){h=q[67835];q[160750]=q[67834];q[160751]=h;h=q[67833];q[160748]=q[67832];q[160749]=h;h=q[67831];q[160746]=q[67830];q[160747]=h;h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break h}h=q[a+36>>2]+(h<<5)|0}i:{if(!r[a+176|0]){break i}l=q[h+20>>2];if(!l|(l|0)!=q[a+168>>2]){break i}m=q[h+24>>2];k=q[a+172>>2];c=v[h>>3];i=0;while(1){c=c+v[m+(i<<3)>>3]*+u[k+(i<<2)>>2];i=i+1|0;if((l|0)!=(i|0)){continue}break}q[h+8>>2]=0;q[h+12>>2]=0;v[h>>3]=c;if(q[h+16>>2]<0){break i}q[h+20>>2]=0}c=e+v[h>>3];j:{if(r[b|0]){break j}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break j}v[b+32>>3]=e}v[a+136>>3]=c;q[a+128>>2]=d;q[a+132>>2]=j;e=v[b+8>>3];f(0,d|0);f(1,j|0);c=+g();if(!!(e>c)){q[b+8>>2]=d;q[b+12>>2]=j;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}}function r$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0,x=0,y=0,z=0;p=Da-176|0;Da=p;f=Hd(p+24|0,1,d,e);q[f+100>>2]=432;a:{g=q[a+68>>2];if(g){while(1){u=271312;u=g>>>0>y>>>0?q[a+72>>2]+(y<<3)|0:u;if(l>>>0>2]){while(1){g=p;if(t[a+44>>2]<=l>>>0){i=271312}else{i=q[a+48>>2]+(l<<3)|0}v=s[i>>1];q[g+16>>2]=v;if(jd(e,d,229085,p+16|0)){q[f+124>>2]=v;j=t[a+44>>2]<=l>>>0;if(j){g=271312}else{g=q[a+48>>2]+(l<<3)|0}h=q[g+4>>2];q[f+32>>2]=0;q[f+116>>2]=h;q[f+24>>2]=0;q[f+28>>2]=0;g=q[f+128>>2];q[f+8>>2]=g;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=r[f+142|0];q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=g;q[f+60>>2]=-1;o[f+57|0]=1;i=q[f+120>>2]==1;o[f+12|0]=i;m=i|r[f+141|0]!=0;o[f+56|0]=m;q[f+4>>2]=f;q[f+48>>2]=f;k=r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+12|0]=i;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;o[f+56|0]=m;q[f+52>>2]=g;k=k>>>1&1;o[f+142|0]=k;o[f+13|0]=k;q[f+4>>2]=f;q[f+48>>2]=f;m=r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0];q[f+32>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+76>>2]=0;q[f+16>>2]=h;o[f+13|0]=k;o[f+12|0]=i;q[f+8>>2]=g;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=g;g=m&1;o[f+141|0]=g;o[f+56|0]=g|i;q[f+4>>2]=f;q[f+48>>2]=f;if(r[(j?271312:q[a+48>>2]+(l<<3)|0)+2|0]&4){o[f+143|0]=1;rb(e,0,q[e+76>>2])}h=271312;g=q[b>>2];i=r[g+9|0]|r[g+8|0]<<8;g=i?g+i|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>v>>>0){i=g;g=g+(v<<1)|0;g=r[g+2|0]<<8|r[g+3|0];h=g?i+g|0:271312}g=q[f+96>>2];b:{if(!q[g+76>>2]){break b}j=q[f+116>>2];if(!j){break b}k=q[b+4>>2];m=r[h+3|0];i=m|r[h+2|0]<<8;if(m&16){h=(h+4|0)+(r[h+5|0]<<1|r[h+4|0]<<9)|0;i=r[h+2|0]<<24|i|r[h+3|0]<<16}h=0;q[f+32>>2]=0;q[f+128>>2]=i;q[f+24>>2]=0;q[f+28>>2]=0;q[f+8>>2]=i;q[f+76>>2]=0;q[f+16>>2]=j;q[f+68>>2]=0;q[f+72>>2]=0;q[f+52>>2]=i;q[f+60>>2]=-1;o[f+57|0]=1;o[f+13|0]=r[f+142|0];i=q[f+120>>2]==1;o[f+12|0]=i;o[f+56|0]=i|r[f+141|0]!=0;q[f+4>>2]=f;q[f+48>>2]=f;q[g+72>>2]=0;i=k+w(v,24)|0;z=i;m=0;while(1){if(r[g+68|0]){j=q[g+88>>2]+w(h,20)|0;h=q[j>>2];c:{d:{if(!(q[i>>2]>>>(h>>>4&31)&1)|!(q[i+4>>2]>>>(h&31)&1)|(!(q[i+8>>2]>>>(h>>>9&31)&1)|!(q[f+116>>2]&q[j+4>>2]))){break d}k=q[f+128>>2];j=s[j+12>>1];if(k&j&14){break d}if(j&8){if(!mf(f,h,j,k)){break d}}h=0;k=q[i+16>>2];if(!k){break d}while(1){j=k>>>0>h>>>0?q[z+20>>2]+w(h,20)|0:271312;x=q[f+96>>2];x=q[q[x+88>>2]+w(q[x+72>>2],20)>>2];if(!(!(q[j+8>>2]>>>(x>>>4&31)&1)|!(q[j+12>>2]>>>(x&31)&1)|!(q[j+16>>2]>>>(x>>>9&31)&1))){if(n[q[j+4>>2]](q[j>>2],f)){m=1;break c}k=q[i+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}}if(r[g+69|0]){e:{if(q[g+92>>2]==q[g+88>>2]){h=q[g+80>>2];if((h|0)==q[g+72>>2]){break e}}if(!Va(g,1,1)){break c}j=q[g+88>>2]+w(q[g+72>>2],20)|0;k=q[j+4>>2];h=q[g+92>>2]+w(q[g+80>>2],20)|0;q[h>>2]=q[j>>2];q[h+4>>2]=k;q[h+16>>2]=q[j+16>>2];k=q[j+12>>2];q[h+8>>2]=q[j+8>>2];q[h+12>>2]=k;h=q[g+80>>2]}q[g+80>>2]=h+1}q[g+72>>2]=q[g+72>>2]+1}h=q[g+72>>2];if(h>>>0>2]){continue}}break}if(!m){break b}if(q[g+88>>2]!=q[g+92>>2]){break a}}q[p>>2]=v;jd(e,d,229101,p)}l=l+1|0;if(l>>>0>2]){continue}break}}if(q[u+4>>2]){if(q[e+4>>2]){q[e+80>>2]=0;o[e+69|0]=1;o[e+70|0]=0;q[e+92>>2]=q[e+88>>2]}n[q[u+4>>2]](c,d,e)}y=y+1|0;g=q[a+68>>2];if(y>>>0>>0){continue}break}}Da=p+176|0;return}I(229115,229147,1927,229163);F()}function SA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=Da-160|0;Da=g;a:{b:{if(Ra(a,29024,13)){break b}c=r[a+13|0];if(c>>>0>32){break b}c:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break b;default:break c}}a=q[e+32>>2];d:{e:{if(!a|!q[a+72>>2]){break e}if(!dc(27767,q[a+92>>2])){break e}if(q[a+80>>2]){break d}}b=q[e+32>>2];a=p[b+12>>1];q[b+40>>2]=a;q[g+16>>2]=a;Ph(g+32|0,g+16|0);c=pf(q[e+32>>2],27767,g+32|0);if(c){break a}}a=q[e+32>>2];f:{g:{if(!a|!q[a+72>>2]){break g}if(!dc(27779,q[a+92>>2])){break g}if(q[a+80>>2]){break f}}b=q[e+32>>2];a=p[b+14>>1];q[b+44>>2]=a;q[g>>2]=a;Ph(g+32|0,g);c=pf(q[e+32>>2],27779,g+32|0);if(c){break a}}q[e>>2]=q[e>>2]&-17;q[d>>2]=293;c=0;break a}h:{if(Ra(a,29038,21)){break h}d=r[a+21|0];if(d>>>0>32){break h}c=0;switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break h;default:break a}}i:{if(Ra(a,26360,7)){break i}d=r[a+7|0];if(d>>>0>32){break i}c=a+7|0;j:{switch(d-1|0){case 8:case 9:case 12:case 31:o[a+7|0]=0;c=a+8|0;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 28:case 29:case 30:break i;default:break j}}c=pf(q[e+32>>2],a,c);break a}h=q[e+32>>2];c=a;while(1){k:{l:{m:{d=r[c|0];if(d>>>0>9){if((d|0)==32){break m}break k}f=-1;switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break k;case 8:break m;default:break l}}o[c|0]=0;f=d}d=0;n:{if(!a|!r[a|0]){break n}i=dc(a,h+112|0);if(!i){break n}d=q[i>>2];if(d>>>0>=83){d=(q[h+104>>2]+(d<<4)|0)+ -1328|0;break n}d=(d<<4)+26384|0}if((f|0)!=-1){o[c|0]=f}if(!(q[d+4>>2]!=1?d:0)){if(r[c|0]){o[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=r[c|0];if(!((b|0)!=9?(b|0)!=32:0)){c=c+1|0;continue}break}b=(b|0)==34?c+1|0:c;o:{if(f>>>0<=b>>>0){break o}while(1){f=f+ -1|0;c=r[f|0]+ -9|0;if(c>>>0>25){break o}p:{switch(c-1|0){default:o[f|0]=0;if(f>>>0>b>>>0){continue}break o;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:break o;case 24:break p}}break}o[f|0]=0}c=pf(q[e+32>>2],a,b);break a}c=vd(e+40|0,27728,a,b);if(c){break a}c=1;b=q[e+40>>2];i=q[b>>2];a=0;q:{r:{d=q[e+48>>2];if(d>>>0<=1){if(d-1){break q}break r}q[b>>2]=q[b+4>>2];b=d+ -1|0;if((b|0)!=1){d=1;while(1){f=q[e+40>>2];d=d+1|0;q[f+(c<<2)>>2]=q[f+(d<<2)>>2];c=c+1|0;if((c|0)!=(b|0)){continue}break}}q[e+48>>2]=b;if(!b){break q}d=0;h=q[q[e+40>>2]>>2];c=h;while(1){f=r[c|0];if(f){while(1){o[d+h|0]=f;d=d+1|0;f=r[c+1|0];c=c+1|0;if(f){continue}break}b=q[e+48>>2]}a=a+1|0;if(a>>>0>>0){o[d+h|0]=32;d=d+1|0;b=q[e+48>>2]}if(a>>>0>>0){c=q[q[e+40>>2]+(a<<2)>>2];continue}break}a=28849;if((h|0)==28849){break q}o[d+h|0]=0;a=h;break q}q[e+48>>2]=0}c=pf(q[e+32>>2],i,a);break a}c=c+1|0;continue}}Da=g+160|0;return c|0}function UW(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;g=q[a+24>>2];if(g>>>0>=2){j=q[a+32>>2];k=r[a+176|0];d=2;while(1){f=d;l=v[a+136>>3];e=v[a+128>>3];if(g>>>0<=h>>>0){o[a+20|0]=1}a:{if(j>>>0<=h>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break a}d=q[a+36>>2]+(h<<5)|0}b:{if(!k){break b}i=q[d+20>>2];if(!i|(i|0)!=q[a+168>>2]){break b}m=q[d+24>>2];n=q[a+172>>2];c=v[d>>3];g=0;while(1){c=c+v[m+(g<<3)>>3]*+u[(g<<2)+n>>2];g=g+1|0;if((i|0)!=(g|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break b}q[d+20>>2]=0}e=e+v[d>>3];c:{if(r[b|0]){break c}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break c}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=e;c=e;if(!!(v[b+8>>3]>c)){v[b+8>>3]=e;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}d=h|1;if(t[a+24>>2]<=d>>>0){o[a+20|0]=1}d:{if(j>>>0<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2]+(d<<5)|0}e:{if(!k){break e}h=q[d+20>>2];if(!h|(h|0)!=q[a+168>>2]){break e}i=q[d+24>>2];m=q[a+172>>2];c=v[d>>3];g=0;while(1){c=c+v[i+(g<<3)>>3]*+u[m+(g<<2)>>2];g=g+1|0;if((h|0)!=(g|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=c;if(q[d+16>>2]<0){break e}q[d+20>>2]=0}l=l+v[d>>3];f:{if(r[b|0]){break f}o[b|0]=1;c=v[a+128>>3];if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break f}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=e;if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}h=f;d=f+2|0;g=q[a+24>>2];if(d>>>0<=g>>>0){continue}break}}g:{if(f>>>0>=g>>>0){break g}h=q[a+136>>2];j=q[a+140>>2];e=v[a+128>>3];h:{if(t[a+32>>2]<=f>>>0){f=q[67835];q[160750]=q[67834];q[160751]=f;f=q[67833];q[160748]=q[67832];q[160749]=f;f=q[67831];q[160746]=q[67830];q[160747]=f;f=q[67829];q[160744]=q[67828];q[160745]=f;f=642976;break h}f=q[a+36>>2]+(f<<5)|0}i:{if(!r[a+176|0]){break i}d=q[f+20>>2];if(!d|(d|0)!=q[a+168>>2]){break i}k=q[f+24>>2];i=q[a+172>>2];c=v[f>>3];g=0;while(1){c=c+v[k+(g<<3)>>3]*+u[i+(g<<2)>>2];g=g+1|0;if((d|0)!=(g|0)){continue}break}q[f+8>>2]=0;q[f+12>>2]=0;v[f>>3]=c;if(q[f+16>>2]<0){break i}q[f+20>>2]=0}c=e+v[f>>3];j:{if(r[b|0]){break j}o[b|0]=1;e=v[a+128>>3];if(!!(v[b+8>>3]>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>v[b+24>>3])){v[b+24>>3]=e}e=v[a+136>>3];if(!!(v[b+16>>3]>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>v[b+32>>3])){break j}v[b+32>>3]=e}q[a+136>>2]=h;q[a+140>>2]=j;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}}function iM(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;g=Sa(16);if(!g){return 0}q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=1;q[g+4>>2]=0;a:{b:{c:{d:{if(q[b+4>>2]>=1){while(1){c=q[b+8>>2]+b|0;f=q[c+(j<<2)>>2]+c|0;k=_$(_$(_$(_$(_$(_$(_$(q[f>>2],1)^q[f+4>>2],1)^q[f+8>>2],1)^q[f+12>>2],1)^q[f+16>>2],1)^q[f+20>>2],1)^q[f+24>>2],1)^q[f+28>>2];e=((k>>>0)%257<<2)+a|0;d=q[e>>2];e:{if(d){while(1){if((k|0)==q[d+4>>2]){m=d+8|0;if(!Oc(m,f,32)){break e}}d=q[d>>2];if(d){continue}break}}h=a;c=q[a+1576>>2];f:{if(c){d=q[a+1572>>2];c=c+ -1|0;break f}c=q[a+1032>>2]+1|0;q[a+1032>>2]=c;c=db(q[a+1028>>2],c<<2);if(!c){break a}q[a+1028>>2]=c;d=Sa(4080);q[(c+(q[a+1032>>2]<<2)|0)+ -4>>2]=d;q[a+1572>>2]=d;if(!d){break a}q[a+1576>>2]=102;c=101}q[h+1576>>2]=c;q[a+1572>>2]=d+40;q[a+1588>>2]=q[a+1588>>2]+1;if(!d){break a}c=q[f+4>>2];q[d+8>>2]=q[f>>2];q[d+12>>2]=c;c=q[f+28>>2];q[d+32>>2]=q[f+24>>2];q[d+36>>2]=c;c=q[f+20>>2];q[d+24>>2]=q[f+16>>2];q[d+28>>2]=c;c=q[f+12>>2];q[d+16>>2]=q[f+8>>2];q[d+20>>2]=c;q[d+4>>2]=k;q[d>>2]=q[e>>2];q[e>>2]=d;m=d+8|0}f=s[(q[b+12>>2]+b|0)+(j<<1)>>1];d=-1;g:{h:{k=q[g+12>>2]+g|0;if(!k){break h}e=q[g+4>>2];i=e+ -1|0;h=0;i:{if((e|0)>=1){while(1){c=i+h|0;d=c>>1;c=s[k+(c&-2)>>1];if((c|0)==(f|0)){break i}c=c>>>0>>0;h=c?d+1|0:h;i=c?i:d+ -1|0;if((h|0)<=(i|0)){continue}break}}if(!((i|0)>=(e|0)|s[k+(i<<1)>>1]>=f>>>0?(i|0)>=0:0)){i=i+1|0}d=i^-1}if((d|0)<0){break h}e=q[g+8>>2]+g|0;c=d<<2;La(q[e+c>>2]+e|0);e=c;c=q[g+8>>2]+g|0;q[e+c>>2]=m-c;break g}if($q(g,f<<8,m,d^-1)){break g}break a}j=j+1|0;if((j|0)>2]){continue}break}i=0;h=q[g+4>>2];if((h|0)>=1){c=q[g+8>>2]+g|0;j=0;while(1){e=c+q[c+(j<<2)>>2]|0;i=q[e+28>>2]^_$(i,1)^_$(q[e+24>>2]^_$(q[e+20>>2]^_$(q[e+16>>2]^_$(q[e+12>>2]^_$(q[e+8>>2]^_$(q[e+4>>2]^_$(q[e>>2],1),1),1),1),1),1),1);j=j+1|0;if((j|0)!=(h|0)){continue}break}c=q[g+12>>2]+g|0;d=0;while(1){i=s[c+(d<<1)>>1]^_$(i,1);d=d+1|0;if((h|0)!=(d|0)){continue}break}}n=(((i>>>0)%67<<2)+a|0)+1036|0;d=q[n>>2];e=(h|0)>0;if(!d){break c}e=h<<1;c=e;if((h|0)<=0){break d}while(1){j:{if(q[d+4>>2]!=(i|0)|q[d+12>>2]!=(h|0)){break j}l=d+8|0;if(Oc(l+q[d+20>>2]|0,q[g+12>>2]+g|0,e)){break j}f=q[g+8>>2]+g|0;k=q[d+16>>2]+l|0;m=1;j=0;while(1){c=j<<2;m=(q[c+k>>2]+k|0)==(f+q[c+f>>2]|0)?m:0;j=j+1|0;if((j|0)!=(h|0)){continue}break}if(m){break b}}d=q[d>>2];if(d){continue}break}e=1;break c}n=a+1036|0;d=q[a+1036>>2];e=0;if(!d){break c}c=0}while(1){if(!(q[d+4>>2]!=(i|0)|q[d+12>>2]!=(h|0))){l=d+8|0;if(!Oc(l+q[d+20>>2]|0,q[g+12>>2]+g|0,c)){break b}}d=q[d>>2];if(d){continue}break}e=0}f=Sa(w(h,6)+24|0);if(!f){l=0;break b}q[a+1592>>2]=q[a+1592>>2]+1;q[f+12>>2]=h;q[f+8>>2]=-1;l=f+8|0;k:{if(h){q[f+16>>2]=16;c=(h<<2)+16|0;q[f+20>>2]=c;if(e){k=l+16|0;e=-16-l|0;d=0;while(1){c=d<<2;j=c+k|0;h=c;c=q[g+8>>2]+g|0;q[j>>2]=(e+q[h+c>>2]|0)+c;d=d+1|0;h=q[g+4>>2];if((d|0)<(h|0)){continue}break}c=q[f+20>>2]}Qa(c+l|0,q[g+12>>2]+g|0,h<<1);break k}q[f+16>>2]=0;q[f+20>>2]=0}q[f+4>>2]=i;q[f>>2]=q[n>>2];q[n>>2]=f}c=(b>>>0)%67|0;e=Sa(12);if(!e){l=0;break a}q[e+8>>2]=l;q[e+4>>2]=b;c=((c<<2)+a|0)+1304|0;q[e>>2]=q[c>>2];q[c>>2]=e;q[a+1584>>2]=q[a+1584>>2]+1;q[a+1580>>2]=q[a+1580>>2]+q[b+4>>2]}l:{if(!q[g+4>>2]){break l}La(q[g+8>>2]+g|0);if(!q[g+4>>2]){break l}La(q[g+12>>2]+g|0)}La(g);return l}function Ee(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;g=Da-48|0;Da=g;h=q[a+11748>>2]==2;j=h?a+11760|0:a+11776|0;o=q[j+4>>2];p=q[j>>2];l=q[c>>2];i=q[c+4>>2];a:{if((i|0)==(o|0)?(p|0)==(l|0):0){break a}h=h?a+11752|0:a+11768|0;k=q[h+4>>2];m=q[h>>2];r=(p-m|0)+16>>5;p=(e-i|0)+16>>5;t=(o-k|0)+16>>5;o=(d-l|0)+16>>5;r=Ma(r,p)-Ma(t,o)|0;if(!r){k=0;m=0;break a}k=Za(Ma((l-m|0)+16>>5,p)-Ma((i-k|0)+16>>5,o)|0,r);m=q[h>>2];m=Ma(k,q[j>>2]-m|0)+m|0;o=q[h+4>>2];l=Ma(k,q[j+4>>2]-o|0);k=q[h>>2];p=q[j>>2];if((k|0)==(p|0)){r=m-k|0;i=r>>31;m=(i^i+r)>2]?k:m}k=l+o|0;h=q[h+4>>2];o=q[j+4>>2];if((h|0)==(o|0)){l=k-h|0;i=l>>31;k=(i^i+l)>2]?h:k}i=q[c>>2];if((i|0)==(d|0)){l=m-d|0;h=l>>31;m=(h^h+l)>2]?d:m}h=q[c+4>>2];if((h|0)==(e|0)){l=k-e|0;d=l>>31;k=(d^d+l)>2]?e:k}e=m-((i+p|0)/2|0)|0;d=e>>31;d=d^d+e;e=q[a+11696>>2];if((d|0)>(e|0)){break a}h=k-((h+o|0)/2|0)|0;d=h>>31;if((d^d+h)>(e|0)){break a}q[j>>2]=m;q[j+4>>2]=k;s=1}d=q[a+11732>>2];j=d;e=q[a+11728>>2];q[g+8>>2]=e;q[g+12>>2]=d;d=q[a+11748>>2]+ -2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:h=e;q[g+40>>2]=2;d:{if(f){i=q[a+11764>>2];d=Ma(q[a+11644>>2],q[a+11760>>2])+Ma(q[a+11648>>2],i)|0;i=le(a+3876|0,i);break d}i=q[a+11764>>2];d=Ma(q[a+11644>>2],q[a+11760>>2])+Ma(q[a+11648>>2],i)|0;i=le(b,i)}o=Ma(q[q[a>>2]+64>>2],d);l=Ma(q[q[a>>2]+72>>2],i);p=q[a+11656>>2];d=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],i)|0)+q[a+11660>>2]|0;q[g+20>>2]=d;i=p+(l+o|0)|0;q[g+16>>2]=i;if((d|0)==(j|0)?(h|0)==(i|0):0){break b}d=q[a+4>>2];n[q[d+4>>2]](d,g+8|0);d=q[g+20>>2];q[a+11728>>2]=q[g+16>>2];q[a+11732>>2]=d;break b;case 0:break b;case 1:break c}}q[g+40>>2]=4;d=q[a+11764>>2];e=Ma(q[a+11644>>2],q[a+11760>>2]);j=Ma(q[a+11648>>2],d);d=le(b,d);e=e+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],e)+Ma(q[q[a>>2]+72>>2],d)|0)+q[a+11656>>2]|0,q[u+16>>2]=v;e=Ma(q[q[a>>2]+68>>2],e)+Ma(q[q[a>>2]+76>>2],d)|0;d=a+11660|0;q[g+20>>2]=e+q[d>>2];e=q[a+11772>>2];j=Ma(q[a+11644>>2],q[a+11768>>2]);h=Ma(q[a+11648>>2],e);e=le(b,e);j=h+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],j)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[u+24>>2]=v;u=g,v=(Ma(q[q[a>>2]+68>>2],j)+Ma(q[q[a>>2]+76>>2],e)|0)+q[d>>2]|0,q[u+28>>2]=v;e=q[a+11780>>2];j=Ma(q[a+11644>>2],q[a+11776>>2]);h=Ma(q[a+11648>>2],e);e=le(b,e);j=h+j|0;u=g,v=(Ma(q[q[a>>2]+64>>2],j)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[u+32>>2]=v;u=g,v=(Ma(q[q[a>>2]+68>>2],j)+Ma(q[q[a>>2]+76>>2],e)|0)+q[d>>2]|0,q[u+36>>2]=v;d=q[a+4>>2];n[q[d+12>>2]](d,g+8|0);d=q[g+36>>2];q[a+11728>>2]=q[g+32>>2];q[a+11732>>2]=d}e:{if(s?!f:0){break e}f:{if(f){b=q[c+4>>2];d=Ma(q[a+11644>>2],q[c>>2])+Ma(q[a+11648>>2],b)|0;b=le(a+3876|0,b);break f}e=q[c+4>>2];d=Ma(q[a+11644>>2],q[c>>2])+Ma(q[a+11648>>2],e)|0;b=le(b,e)}u=g,v=(Ma(q[q[a>>2]+64>>2],d)+Ma(q[q[a>>2]+72>>2],b)|0)+q[a+11656>>2]|0,q[u+16>>2]=v;b=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],b)|0)+q[a+11660>>2]|0;q[g+20>>2]=b;if((b|0)==q[a+11732>>2]?q[g+16>>2]==q[a+11728>>2]:0){break e}q[g+40>>2]=2;b=q[a+11732>>2];q[g+8>>2]=q[a+11728>>2];q[g+12>>2]=b;b=q[a+4>>2];n[q[b+4>>2]](b,g+8|0);b=q[g+20>>2];q[a+11728>>2]=q[g+16>>2];q[a+11732>>2]=b}if(s){q[c>>2]=m;q[c+4>>2]=k}Da=g+48|0}function La(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;c=q[a+ -4>>2];a=c&-8;f=d+a|0;b:{if(c&1){break b}if(!(c&3)){break a}c=q[d>>2];d=d-c|0;if(d>>>0>>0<=255){e=q[d+8>>2];c=c>>>3|0;b=q[d+12>>2];if((b|0)==(e|0)){i=645056,j=q[161264]&_$(-2,c),q[i>>2]=j;break b}q[e+12>>2]=b;q[b+8>>2]=e;break b}h=q[d+24>>2];c=q[d+12>>2];c:{if((d|0)!=(c|0)){b=q[d+8>>2];q[b+12>>2]=c;q[c+8>>2]=b;break c}d:{e=d+20|0;b=q[e>>2];if(b){break d}e=d+16|0;b=q[e>>2];if(b){break d}c=0;break c}while(1){g=e;c=b;e=c+20|0;b=q[e>>2];if(b){continue}e=c+16|0;b=q[c+16>>2];if(b){continue}break}q[g>>2]=0}if(!h){break b}e=q[d+28>>2];b=(e<<2)+645360|0;e:{if(q[b>>2]==(d|0)){q[b>>2]=c;if(c){break e}i=645060,j=q[161265]&_$(-2,e),q[i>>2]=j;break b}q[h+(q[h+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;b=q[d+16>>2];if(b){q[c+16>>2]=b;q[b+24>>2]=c}b=q[d+20>>2];if(!b){break b}q[c+20>>2]=b;q[b+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[161266]=a;q[f+4>>2]=c&-2;q[d+4>>2]=a|1;q[a+d>>2]=a;return}if(f>>>0<=d>>>0){break a}c=q[f+4>>2];if(!(c&1)){break a}f:{if(!(c&2)){if(q[161270]==(f|0)){q[161270]=d;a=q[161267]+a|0;q[161267]=a;q[d+4>>2]=a|1;if(q[161269]!=(d|0)){break a}q[161266]=0;q[161269]=0;return}if(q[161269]==(f|0)){q[161269]=d;a=q[161266]+a|0;q[161266]=a;q[d+4>>2]=a|1;q[a+d>>2]=a;return}a=(c&-8)+a|0;g:{if(c>>>0<=255){b=q[f+8>>2];c=c>>>3|0;e=q[f+12>>2];if((b|0)==(e|0)){i=645056,j=q[161264]&_$(-2,c),q[i>>2]=j;break g}q[b+12>>2]=e;q[e+8>>2]=b;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){b=q[f+8>>2];q[b+12>>2]=c;q[c+8>>2]=b;break h}i:{e=f+20|0;b=q[e>>2];if(b){break i}e=f+16|0;b=q[e>>2];if(b){break i}c=0;break h}while(1){g=e;c=b;e=c+20|0;b=q[e>>2];if(b){continue}e=c+16|0;b=q[c+16>>2];if(b){continue}break}q[g>>2]=0}if(!h){break g}e=q[f+28>>2];b=(e<<2)+645360|0;j:{if(q[b>>2]==(f|0)){q[b>>2]=c;if(c){break j}i=645060,j=q[161265]&_$(-2,e),q[i>>2]=j;break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;b=q[f+16>>2];if(b){q[c+16>>2]=b;q[b+24>>2]=c}b=q[f+20>>2];if(!b){break g}q[c+20>>2]=b;q[b+24>>2]=c}q[d+4>>2]=a|1;q[a+d>>2]=a;if(q[161269]!=(d|0)){break f}q[161266]=a;return}q[f+4>>2]=c&-2;q[d+4>>2]=a|1;q[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;c=(a<<3)+645096|0;b=q[161264];a=1<>2]}q[c+8>>2]=d;q[a+12>>2]=d;q[d+12>>2]=c;q[d+8>>2]=a;return}q[d+16>>2]=0;q[d+20>>2]=0;f=d;e=a>>>8|0;b=0;l:{if(!e){break l}b=31;if(a>>>0>16777215){break l}c=e;e=e+1048320>>>16&8;b=c<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(g|(e|h))|0;b=(b<<1|a>>>b+21&1)+28|0}q[f+28>>2]=b;g=(b<<2)+645360|0;m:{n:{e=q[161265];c=1<>2]=d;q[d+24>>2]=g;break o}e=a<<((b|0)==31?0:25-(b>>>1|0)|0);c=q[g>>2];while(1){b=c;if((q[c+4>>2]&-8)==(a|0)){break n}c=e>>>29|0;e=e<<1;g=b+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=d;q[d+24>>2]=b}q[d+12>>2]=d;q[d+8>>2]=d;break m}a=q[b+8>>2];q[a+12>>2]=d;q[b+8>>2]=d;q[d+24>>2]=0;q[d+12>>2]=b;q[d+8>>2]=a}a=q[161272]+ -1|0;q[161272]=a;if(a){break a}d=645512;while(1){a=q[d>>2];d=a+8|0;if(a){continue}break}q[161272]=-1}}function wG(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,r=0,s=0,t=0,u=0,x=0,z=0;h=Da-560|0;Da=h;f=c;c=(c+ -3|0)/24|0;r=(c|0)>0?c:0;l=f+w(r,-24)|0;m=q[158525];i=d+ -1|0;if((m+i|0)>=0){f=d+m|0;c=r-i|0;while(1){v[(h+320|0)+(g<<3)>>3]=(c|0)<0?0:+q[(c<<2)+634112>>2];c=c+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}j=l+ -24|0;f=0;s=(m|0)>0?m:0;g=(d|0)<1;while(1){a:{if(g){e=0;break a}k=f+i|0;c=0;e=0;while(1){e=e+v[(c<<3)+a>>3]*v[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(f<<3)+h>>3]=e;c=(f|0)==(s|0);f=f+1|0;if(!c){continue}break}z=23-j|0;t=24-j|0;f=m;b:{while(1){e=v[(f<<3)+h>>3];c=0;g=f;o=(f|0)<1;if(!o){while(1){k=(h+480|0)+(c<<2)|0;n=e;e=e*5.960464477539063e-8;c:{if(y(e)<2147483648){i=~~e;break c}i=-2147483648}e=+(i|0);n=n+e*-16777216;d:{if(y(n)<2147483648){i=~~n;break d}i=-2147483648}q[k>>2]=i;g=g+ -1|0;e=v[(g<<3)+h>>3]+e;c=c+1|0;if((f|0)!=(c|0)){continue}break}}e=Kd(e,j);e=e+C(e*.125)*-8;e:{if(y(e)<2147483648){k=~~e;break e}k=-2147483648}e=e- +(k|0);f:{g:{h:{u=(j|0)<1;i:{if(!u){g=(f<<2)+h|0;i=q[g+476>>2];c=i>>t;p=g;g=i-(c<>2]=g;k=c+k|0;i=g>>z;break i}if(j){break h}i=q[((f<<2)+h|0)+476>>2]>>23}if((i|0)<1){break f}break g}i=2;if(!!(e>=.5)){break g}i=0;break f}c=0;g=0;if(!o){while(1){p=(h+480|0)+(c<<2)|0;o=q[p>>2];x=16777215;j:{k:{if(!g){if(!o){break k}x=16777216;g=1}q[p>>2]=x-o;break j}g=0}c=c+1|0;if((f|0)!=(c|0)){continue}break}}l:{if(u){break l}c=j+ -1|0;if(c>>>0>1){break l}if(c-1){c=(f<<2)+h|0;q[c+476>>2]=q[c+476>>2]&8388607;break l}c=(f<<2)+h|0;q[c+476>>2]=q[c+476>>2]&4194303}k=k+1|0;if((i|0)!=2){break f}e=1-e;i=2;if(!g){break f}e=e-Kd(1,j)}if(e==0){g=0;m:{c=f;if((c|0)<=(m|0)){break m}while(1){c=c+ -1|0;g=q[(h+480|0)+(c<<2)>>2]|g;if((c|0)>(m|0)){continue}break}if(!g){break m}l=j;while(1){l=l+ -24|0;f=f+ -1|0;if(!q[(h+480|0)+(f<<2)>>2]){continue}break}break b}c=1;while(1){g=c;c=c+1|0;if(!q[(h+480|0)+(m-g<<2)>>2]){continue}break}g=f+g|0;while(1){i=d+f|0;f=f+1|0;v[(h+320|0)+(i<<3)>>3]=q[(r+f<<2)+634112>>2];c=0;e=0;if((d|0)>=1){while(1){e=e+v[(c<<3)+a>>3]*v[(h+320|0)+(i-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[(f<<3)+h>>3]=e;if((f|0)<(g|0)){continue}break}f=g;continue}break}e=Kd(e,0-j|0);n:{if(!!(e>=16777216)){d=(h+480|0)+(f<<2)|0;n=e;e=e*5.960464477539063e-8;o:{if(y(e)<2147483648){c=~~e;break o}c=-2147483648}e=n+ +(c|0)*-16777216;p:{if(y(e)<2147483648){a=~~e;break p}a=-2147483648}q[d>>2]=a;f=f+1|0;break n}if(y(e)<2147483648){c=~~e}else{c=-2147483648}l=j}q[(h+480|0)+(f<<2)>>2]=c}e=Kd(1,l);if((f|0)>=0){c=f;while(1){v[(c<<3)+h>>3]=e*+q[(h+480|0)+(c<<2)>>2];e=e*5.960464477539063e-8;a=0;d=(c|0)>0;c=c+ -1|0;if(d){continue}break}g=f;while(1){d=s>>>0>>0?s:a;j=f-g|0;c=0;e=0;while(1){e=e+v[(c<<3)+636880>>3]*v[(c+g<<3)+h>>3];l=(c|0)!=(d|0);c=c+1|0;if(l){continue}break}v[(h+160|0)+(j<<3)>>3]=e;g=g+ -1|0;c=(a|0)!=(f|0);a=a+1|0;if(c){continue}break}}e=0;if((f|0)>=0){c=f;while(1){e=e+v[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c+ -1|0;if(a){continue}break}}v[b>>3]=i?-e:e;e=v[h+160>>3]-e;c=1;if((f|0)>=1){while(1){e=e+v[(h+160|0)+(c<<3)>>3];a=(c|0)!=(f|0);c=c+1|0;if(a){continue}break}}v[b+8>>3]=i?-e:e;Da=h+560|0;return k&7}function Oo(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0,s=0,u=0,v=0;k=Da-16|0;Da=k;m=q[a>>2];j=q[b+20>>2];a:{b:{if(j){a=85;if(n[j](b,c,0,0)){break a}i=q[b+4>>2];break b}a=85;i=q[b+4>>2];if(i>>>0>>0){break a}}q[b+8>>2]=c;c:{d:{e:{f:{if(c+1>>>0>=i>>>0){break f}g:{h:{a=q[b+20>>2];i:{if(a){if((n[a](b,c,k+10|0,2)|0)!=2){break f}i=k+10|0;a=q[b+8>>2];break i}a=q[b>>2];if(!a){break h}i=a+c|0;a=c}j=r[i|0]|r[i+1|0]<<8;i=a+2|0;q[b+8>>2]=i;a=8;u=(j<<8&16711680|j<<24)>>16;if((u|0)>4078){break a}if((u|0)>=0){break g}a=1;break a}i=c+2|0;q[b+8>>2]=i}while(1){j:{k:{l:{l=q[b+4>>2];if(i+3>>>0>=l>>>0){break l}a=q[b+20>>2];m:{if(a){if((n[a](b,i,k+12|0,4)|0)!=4){break l}l=q[b+4>>2];i=q[b+8>>2];a=k+12|0;break m}a=q[b>>2];if(!a){break k}a=a+i|0}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break j}a=85;break a}o=0}a=i+4|0;q[b+8>>2]=a;n:{o:{p:{if(i+5>>>0>=l>>>0){break p}j=q[b+20>>2];q:{if(j){if((n[j](b,a,k+10|0,2)|0)!=2){break p}l=q[b+4>>2];a=q[b+8>>2];j=k+10|0;break q}j=q[b>>2];if(!j){break o}j=a+j|0}j=r[j|0]|r[j+1|0]<<8;v=(j<<24|j<<8&16711680)>>>16|0;break n}a=85;break a}v=0}i=a+2|0;q[b+8>>2]=i;r:{s:{t:{if(a+3>>>0>=l>>>0){break t}a=q[b+20>>2];u:{if(a){if((n[a](b,i,k+10|0,2)|0)!=2){break t}i=q[b+8>>2];a=k+10|0;break u}a=q[b>>2];if(!a){break s}a=a+i|0}a=r[a|0]|r[a+1|0]<<8;j=(a<<24|a<<8&16711680)>>16;break r}a=85;break a}j=0}i=i+2|0;q[b+8>>2]=i;if((e|0)!=(o|0)){a=1;j=(s|0)==(u|0);s=s+1|0;if(j){break a}continue}break}q[h>>2]=(v<<16>>16)+1;a=8;if(v>>>0>2726){break a}e=c+j|0;c=q[b+20>>2];v:{if(c){a=85;if(!n[c](b,e,0,0)){break v}break a}a=85;if(t[b+4>>2]>>0){break a}}q[b+8>>2]=e;i=0;c=q[h>>2];if((c|0)<0){a=6;break a}if(c){a=10;if((c|0)>268435455){break a}a=c<<3;i=n[q[m+4>>2]](m,a)|0;if(!i){a=64;break a}Na(i,0,a)}e=q[h>>2];if((e|0)>=1){c=q[b+8>>2];l=0;while(1){if(c+1>>>0>=t[b+4>>2]){break e}a=q[b+20>>2];w:{x:{if(a){if((n[a](b,c,k+10|0,2)|0)!=2){break e}e=q[b+20>>2];c=q[b+8>>2];a=k+10|0;break x}e=0;a=q[b>>2];o=0;if(!a){break w}a=a+c|0}a=r[a|0]|r[a+1|0]<<8;o=(a<<24|a<<8&16711680)>>>16|0}q[b+8>>2]=c+2;j=(l<<3)+i|0;p[j>>1]=o;a=c+4|0;y:{z:{if(e){if(!n[e](b,a,0,0)){break z}a=85;break c}e=q[b+4>>2];if(e>>>0>=a>>>0){break y}a=85;break c}e=q[b+4>>2]}q[b+8>>2]=a;if(c+7>>>0>=e>>>0){break d}A:{B:{C:{e=q[b+20>>2];D:{if(e){if((n[e](b,a,k+12|0,4)|0)!=4){break d}s=q[b+20>>2];a=q[b+8>>2];c=k+12|0;break D}e=q[b>>2];if(!e){break C}s=0;c=a+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[b+8>>2]=a+4;e=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=a+8|0;a=c;if(!s){break B}if(!n[s](b,c,0,0)){break A}a=85;break c}q[b+8>>2]=c+8;e=0;a=c+12|0}c=a;if(t[b+4>>2]>=a>>>0){break A}a=85;break c}q[b+8>>2]=c;if((e|0)<0){a=8;break c}q[j+4>>2]=e&16777215;l=l+1|0;e=q[h>>2];if((l|0)<(e|0)){continue}break}}c=0;if(f){Gc(i,e,8,12);e=q[h>>2]}a=6;E:{if((e|0)<0){break E}if(e){a=10;if((e|0)>536870911){break E}b=e<<2;c=n[q[m+4>>2]](m,b)|0;a=64;if(!c){break E}Na(c,0,b)}if(q[h>>2]>=1){b=0;while(1){q[(b<<2)+c>>2]=q[((b<<3)+i|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}q[g>>2]=c;a=0}if(!i){break a}break c}a=85;break a}p[(l<<3)+i>>1]=0}a=85}n[q[m+8>>2]](m,i)}Da=k+16|0;return a}function fq(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-1072|0;Da=e;q[e+24>>2]=0;q[e+20>>2]=0;q[e+16>>2]=0;q[e+8>>2]=-1;a:{if(!n[r[a+232|0]?969:970](b,q[a+144>>2],c,d,a+284|0,e+16|0,e+12|0,e+24|0,e+20|0,e+8|0)){d=b?31:30;break a}b:{if(b|q[e+8>>2]!=1){break b}o[q[a+352>>2]+130|0]=1;if(q[a+488>>2]!=1){break b}q[a+488>>2]=0}c:{if(q[a+140>>2]){b=0;d=q[e+24>>2];if(d){c=q[a+144>>2];b=n[q[c+28>>2]](c,d)|0;q[e+32>>2]=d;h=a+436|0;d:{f=a+448|0;e:{if(!q[f>>2]){if(!Ya(h)){break e}}b=b+d|0;while(1){if(n[q[c+56>>2]](c,e+32|0,b,f,q[a+444>>2])>>>0<2){break d}if(Ya(h)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(h)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;b=q[a+452>>2];if(!b){break a}q[a+452>>2]=q[a+448>>2]}f=q[e+16>>2];if(f){g=q[a+144>>2];d=q[g+64>>2];c=q[e+12>>2];q[e+32>>2]=f;h=a+436|0;f:{f=a+448|0;g:{if(!q[f>>2]){if(!Ya(h)){break g}}c=c-d|0;while(1){if(n[q[g+56>>2]](g,e+32|0,c,f,q[a+444>>2])>>>0<2){break f}if(Ya(h)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(h)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;g=q[a+452>>2];if(!g){break a}}n[q[a+140>>2]](q[a+4>>2],g,b,q[e+8>>2]);break c}b=0;f=q[a+80>>2];h:{if(!f){break h}g=q[a+144>>2];q[e+32>>2]=c;if(!r[g+68|0]){while(1){q[e+28>>2]=q[a+44>>2];f=n[q[g+56>>2]](g,e+32|0,d,e+28|0,q[a+48>>2])|0;q[a+288>>2]=q[e+32>>2];c=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],c,q[e+28>>2]-c|0);q[a+284>>2]=q[e+32>>2];if(f>>>0>1){continue}break h}}n[f](q[a+4>>2],c,d-c|0)}g=0}i:{if(q[a+228>>2]){break i}j:{f=q[e+20>>2];if(f){c=q[f+64>>2];d=q[a+144>>2];if((d|0)==(f|0)|(c|0)!=2?(c|0)==q[d+64>>2]:0){break j}q[a+284>>2]=q[e+24>>2];d=19;break a}d=q[e+24>>2];if(!d){break i}if(!b){c=q[a+144>>2];b=n[q[c+28>>2]](c,d)|0;q[e+32>>2]=d;g=a+436|0;k:{f=a+448|0;l:{if(!q[f>>2]){if(!Ya(g)){break l}}b=b+d|0;while(1){if(n[q[c+56>>2]](c,e+32|0,b,f,q[a+444>>2])>>>0<2){break k}if(Ya(g)){continue}break}}d=1;break a}d=1;if(!q[a+452>>2]){break a}c=q[a+448>>2];if((c|0)==q[a+444>>2]){if(!Ya(g)){break a}c=q[f>>2]}q[a+448>>2]=c+1;o[c|0]=0;b=q[a+452>>2];if(!b){break a}}d=18;c=q[a+124>>2];m:{if(!c){break m}Na(e+32|0,255,1024);q[e+1064>>2]=0;q[e+1056>>2]=0;q[e+1060>>2]=0;n:{if(!n[c](q[a+244>>2],b,e+32|0)){break n}b=n[q[a+12>>2]](1908)|0;q[a+236>>2]=b;if(!b){d=1;b=q[e+1064>>2];if(!b){break m}n[b](q[e+1056>>2]);break m}c=n[r[a+232|0]?963:964](b,e+32|0,q[e+1060>>2],q[e+1056>>2])|0;if(!c){break n}q[a+240>>2]=q[e+1056>>2];b=q[e+1064>>2];q[a+144>>2]=c;q[a+248>>2]=b;d=0;break m}b=q[e+1064>>2];if(!b){break m}n[b](q[e+1056>>2])}c=q[a+440>>2];o:{if(!c){q[a+440>>2]=q[a+436>>2];break o}b=q[a+436>>2];if(!b){break o}while(1){f=q[b>>2];q[b>>2]=c;q[a+440>>2]=b;c=b;b=f;if(b){continue}break}}q[a+436>>2]=0;q[a+452>>2]=0;q[a+444>>2]=0;q[a+448>>2]=0;if((d|0)!=18){break a}q[a+284>>2]=q[e+24>>2];d=18;break a}q[a+144>>2]=f}d=0;if(!(b|g)){break a}c=q[a+440>>2];p:{if(!c){q[a+440>>2]=q[a+436>>2];break p}d=q[a+436>>2];if(!d){break p}while(1){b=q[d>>2];q[d>>2]=c;q[a+440>>2]=d;c=d;d=b;if(b){continue}break}}d=0;q[a+436>>2]=0;q[a+452>>2]=0;q[a+444>>2]=0;q[a+448>>2]=0}Da=e+1072|0;return d}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;j=Da-16|0;Da=j;i=q[a+492>>2];g=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{d=q[b>>2];c:{if(d>>>0>=g>>>0){q[b+12>>2]=3;break c}e=r[d|0];if(!(e+ -48>>>0>9?(e|0)!=91:0)){c=q[b+16>>2];if((e|0)==91){l=1;q[b>>2]=d+1;h=256;break b}h=n[q[b+36>>2]](b)|0;if((h|0)<257){break b}q[b+12>>2]=3;break a}d:{if(d+17>>>0>=g>>>0){break d}if(Ra(d,18966,16)){break d}q[a+368>>2]=2;break c}e:{if(d+15>>>0>=g>>>0){break e}if(Ra(d,18983,14)){break e}q[a+368>>2]=4;break c}f:{if(d+18>>>0>=g>>>0){break f}if(Ra(d,18998,17)){break f}q[a+368>>2]=3;break c}q[b+12>>2]=162}Da=j+16|0;return}n[q[b+28>>2]](b);if(t[b>>2]>=g>>>0){break a}k=b+92|0;f=q[a+384>>2];g:{if(!f){break g}e=c;if(f){n[q[e+8>>2]](e,f)}q[a+384>>2]=0;e=q[a+388>>2];if(e){n[q[c+8>>2]](c,e)}q[a+388>>2]=0;e=q[b+140>>2];if(!e){break g}n[e](k)}q[a+372>>2]=h;q[b+88>>2]=h;m=a,p=Oa(c,2,0,h,0,j+12|0),q[m+384>>2]=p;h:{e=q[j+12>>2];if(e){break h}m=a,p=Oa(c,4,0,h,0,j+12|0),q[m+388>>2]=p;e=q[j+12>>2];if(e){break h}e=n[q[q[i>>2]>>2]](k,h,c)|0;q[j+12>>2]=e;if(e){break h}if((h|0)>=1){c=0;while(1){n[q[b+136>>2]](k,c,17992,8)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}n[q[b+28>>2]](b);c=q[b>>2];i:{if(c>>>0>=g>>>0){break i}e=0;j:{k:{if(!l){while(1){l:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break l}m:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break l;case 6:break m;default:break j}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break l}i=r[c+3|0];if(i>>>0>32){break l}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break l;default:break i}}n:{if(f+ -48>>>0<=9){f=n[q[b+36>>2]](b)|0;n[q[b+28>>2]](b);d=q[b>>2];if((d|0)==(c|0)){break k}if((e|0)>=(h|0)|d+2>>>0>=g>>>0|r[d|0]!=47){break n}d=d+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}c=c-d|0;i=n[q[b+136>>2]](k,f,d,c+1|0)|0;q[b+12>>2]=i;if(i){break a}o[c+q[q[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break n}n[q[b+32>>2]](b);d=c;if(q[b+12>>2]){break a}}n[q[b+28>>2]](b);c=q[b>>2];if(c>>>0>>0){continue}break i}}while(1){o:{f=r[c|0];d=f+ -93|0;if(d>>>0>7){break o}p:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break o;case 6:break p;default:break j}}d=c+3|0;if(r[c+1|0]!=101|d>>>0>=g>>>0|r[c+2|0]!=102){break o}i=r[c+3|0];if(i>>>0>32){break o}switch(i-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break o;default:break i}}if(!((e|0)>=(h|0)|c+2>>>0>=g>>>0|(f|0)!=47)){d=c+1|0;q[b>>2]=d;n[q[b+32>>2]](b);c=q[b>>2];if(q[b+12>>2]|c>>>0>=g>>>0){break a}c=c-d|0;f=n[q[b+136>>2]](k,e,d,c+1|0)|0;q[b+12>>2]=f;if(f){break a}o[c+q[q[b+116>>2]+(e<<2)>>2]|0]=0;n[q[b+28>>2]](b);e=e+1|0;c=q[b>>2];if(c>>>0>>0){continue}break i}break}q[b+12>>2]=2;break a}q[b+12>>2]=2;break a}d=c+1|0}q[a+368>>2]=1;q[b>>2]=d;break a}q[b+12>>2]=e}Da=j+16|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,l=0,m=0,n=0,o=0,p=0,r=0,s=0;if(!a){return 0}j=q[a+12>>2];b=j>>31;h=q[a+8>>2];d=h>>31;g=q[a+4>>2];c=g>>31;f=q[a>>2];a=f>>31;n=b^b+j;o=d^d+h;m=c^c+g;k=a^a+f;a=(k|0)>0?k:0;a=(m|0)>(a|0)?m:a;a=(o|0)>(a|0)?o:a;a=(n|0)>(a|0)?n:a;a:{if((a|0)>=23171){b=f?(k|0)!=2147483647?k:2147483647:2147483647;b=g?(m|0)<(b|0)?m:b:b;b=h?(o|0)<(b|0)?o:b:b;c=j?(n|0)<(b|0)?n:b:b;b:{if(a>>>0<=65535){i=((a<<16|11584)>>>0)/23170|0;break b}i=2147483647;if(a>>>0>1518469119){break b}e=a<<16|11585;d=a>>>16|0;a=z(d);b=32-a|0;d=e>>>b|d<>>0)/23170|0;d=w(i,-23170)+d|0;a=e<>>31;d=e-(e>>>0<23170?0:23170)|0;i=i<<1|e>>>0>23169;a=a<<1;b=b+ -1|0;if(b){continue}break}}a=(c|0)<0?-1:1;r=(i|0)<0?0-a|0:a;d=2147483647;a=i>>31;a=a+i^a;c:{if(!a){break c}b=c>>31;b=b+c^b;if(b>>>0<=(a>>>17^65535)>>>0){d=((b<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break c}e=b>>>16|0;c=b<<16;b=a>>>1|0;c=c+b|0;b=e+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break c}l=z(b);e=32-l|0;b=c>>>e|b<>>0)/(a>>>0)|0;b=b-w(a,d)|0;c=c<>>31;b=l-(l>>>0>>0?0:a)|0;d=d<<1|l>>>0>=a>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}if(!((r|0)<0?0-d|0:d)){break a}b=(f|0)<0?-1:1;d=(i|0)<0;p=d?0-b|0:b;d:{if(a){l=a>>>17^65535;e:{if(k>>>0<=l>>>0){d=((k<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=2147483647;b=a>>>1|0;c=b+(k<<16)|0;b=(k>>>16|0)+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break e}f=z(b);e=32-f|0;b=c>>>e|b<>>0)/(a>>>0)|0;b=b-w(a,d)|0;c=c<>>31;b=f-(f>>>0>>0?0:a)|0;d=d<<1|f>>>0>=a>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}b=(g|0)<0?-1:1;k=(i|0)<0?0-b|0:b;f:{if(m>>>0<=l>>>0){e=((m<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}e=2147483647;b=a>>>1|0;c=b+(m<<16)|0;f=(m>>>16|0)+(c>>>0>>0)|0;if(f>>>0>=a>>>0){break f}g=z(f);b=32-g|0;f=c>>>b|f<>>0)/(a>>>0)|0;f=f-w(a,e)|0;c=c<>>31;f=g-(g>>>0>>0?0:a)|0;e=e<<1|g>>>0>=a>>>0;c=c<<1;b=b+ -1|0;if(b){continue}break}}m=(p|0)<0;p=0-d|0;b=(h|0)<0?-1:1;r=(i|0)<0?0-b|0:b;k=(k|0)<0;s=0-e|0;g:{if(o>>>0<=l>>>0){b=((o<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}b=2147483647;f=a>>>1|0;c=f+(o<<16)|0;h=(o>>>16|0)+(c>>>0>>0)|0;if(h>>>0>=a>>>0){break g}g=z(h);f=32-g|0;h=c>>>f|h<>>0)/(a>>>0)|0;h=h-w(a,b)|0;c=c<>>31;h=g-(g>>>0>>0?0:a)|0;b=b<<1|g>>>0>=a>>>0;c=c<<1;f=f+ -1|0;if(f){continue}break}}f=m?p:d;g=k?s:e;d=(j|0)<0?-1:1;j=(i|0)<0?0-d|0:d;h=(r|0)<0?0-b|0:b;if(n>>>0<=l>>>0){b=((n<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}b=2147483647;d=a>>>1|0;c=d+(n<<16)|0;e=(n>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break d}i=z(e);d=32-i|0;e=c>>>d|e<>>0)/(a>>>0)|0;e=e-w(a,b)|0;c=c<>>31;e=i-(i>>>0>>0?0:a)|0;b=b<<1|i>>>0>=a>>>0;c=c<<1;d=d+ -1|0;if(d){continue}break}break d}a=(j|0)<0?-1:1;j=d?0-a|0:a;b=2147483647;a=(h|0)<0?-1:1;h=((d?0-a|0:a)|0)<0?-2147483647:2147483647;a=(g|0)<0?-1:1;g=((d?0-a|0:a)|0)<0?-2147483647:2147483647;f=(p|0)<0?-2147483647:2147483647}j=(j|0)<0?0-b|0:b}p=0;b=w(f,j)-w(g,h)|0;a=b>>31;a=a^a+b;if(!a){break a}p=(((w(f,f)+w(g,g)|0)+w(h,h)|0)+w(j,j)>>>0)/(a>>>0)>>>0<51}return p} -function ku(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,p=0;m=w(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){e=w(b>>>1|0,c)+a|0;d=q[e+4>>2];g=a+c|0;h=q[g+4>>2];f=Ra(q[g>>2],q[e>>2],h>>>0>d>>>0?d:h);k=((f?f:h-d|0)|0)>0;d=k?g:e;i=w(b+ -1|0,c);h=i+a|0;f=h+n|0;l=q[f>>2];b=q[f+4>>2];j=q[d+4>>2];p=Ra(q[d>>2],l,j>>>0>b>>>0?b:j);if(((p?p:j-b|0)|0)>=1){d=k?e:g;e=q[d+4>>2];g=d;d=Ra(q[d>>2],l,e>>>0>b>>>0?b:e);d=((d?d:e-b|0)|0)>0?g:f}if(!((d|0)==(h|0)|(c|0)<1)){e=c+d|0;b=h;while(1){g=r[d|0];o[d|0]=r[b|0];o[b|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}a:{if((i|0)<1){e=h;g=e;j=a;break a}g=h;e=h;j=a;i=j;b:while(1){if(i>>>0>=e>>>0){break a}while(1){k=q[i>>2];b=q[h>>2];d=q[h+4>>2];f=q[i+4>>2];l=Ra(k,b,f>>>0>d>>>0?d:f);f=l?l:f-d|0;if((f|0)>=1){f=e;c:{if(i>>>0>=e>>>0){break c}while(1){d:{e:{e=f+n|0;l=q[e>>2];k=b;b=q[e+4>>2];k=Ra(l,k,b>>>0>d>>>0?d:b);b=k?k:b-d|0;if(!b){k=g+n|0;if((c|0)<1|f>>>0>=g>>>0){break e}o[e|0]=r[k|0];o[k|0]=l;d=k;b=e+1|0;if(b>>>0>=f>>>0){break e}while(1){g=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=g;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break e}if((b|0)>-1){break d}f:{if((c|0)<1|i>>>0>=e>>>0){break f}b=r[i|0];o[i|0]=l;o[e|0]=b;if((c|0)==1){break f}f=c+i|0;d=i+1|0;b=e;while(1){k=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=k;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}i=c+i|0;break c}g=k}if(i>>>0>=e>>>0){break c}b=q[h>>2];d=q[h+4>>2];f=e;continue}}if(i>>>0>>0){continue b}break a}if(!f){g:{if((c|0)<1|j>>>0>=i>>>0){break g}b=r[j|0];o[j|0]=k;o[i|0]=b;if((c|0)==1){break g}f=c+j|0;d=j+1|0;b=i;while(1){k=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=k;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}j=c+j|0}i=c+i|0;if(i>>>0>>0){continue}break}break}}b=j-a|0;h=e-j|0;h:{if(!b|!h){break h}if(b>>>0>h>>>0){if((h|0)<1){break h}b=a+h|0;d=a;while(1){f=r[d|0];o[d|0]=r[j|0];o[j|0]=f;j=j+1|0;d=d+1|0;if(d>>>0>>0){continue}break}break h}if((b|0)<1){break h}d=a+h|0;b=a;while(1){f=r[b|0];o[b|0]=r[d|0];o[d|0]=f;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}b=g-e|0;i:{if(!b){break i}d=m-g|0;if(!d){break i}if(b>>>0>d>>>0){if((d|0)<1){break i}d=d+e|0;while(1){f=r[e|0];o[e|0]=r[g|0];o[g|0]=f;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break i}if((b|0)<1){break i}d=d+e|0;while(1){f=r[e|0];o[e|0]=r[d|0];o[d|0]=f;d=d+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}ku(a,(h>>>0)/(c>>>0)|0,c);a=m-b|0;b=(b>>>0)/(c>>>0)|0;m=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){f=0-c|0;while(1){e=g;j:{if(e>>>0<=a>>>0){break j}while(1){h=e;e=e+f|0;j=q[e>>2];k=q[h>>2];b=q[h+4>>2];d=q[e+4>>2];i=Ra(j,k,d>>>0>b>>>0?b:d);if(((i?i:d-b|0)|0)<1){break j}k:{if((c|0)<1){break k}o[e|0]=k;o[h|0]=j;b=e+1|0;d=h;if(b>>>0>=d>>>0){break k}while(1){j=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=j;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if(e>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function xS(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,p=0;f=Da-48|0;Da=f;l=eb(q[a+28>>2]);a:{if(!q[a>>2]){g=q[a+4>>2];if((g|0)<=-1){break a}e=a;b:{if(g){g=q[a+16>>2];d=0;break b}q[a+4>>2]=20;g=db(q[a+16>>2],2880);q[a+16>>2]=g;d=q[a>>2]}q[e>>2]=d+1;e=g;g=w(d,144);Na(e+g|0,0,144);g=g+q[a+16>>2]|0;n=g,p=eb(2777),q[n>>2]=p;h=eb(2785);q[g+116>>2]=20;q[g+104>>2]=2;q[g+96>>2]=0;q[g+100>>2]=1074266112;q[g+88>>2]=0;q[g+92>>2]=1073741824;q[g+80>>2]=1;q[g+64>>2]=0;q[g+68>>2]=0;q[g+56>>2]=0;q[g+60>>2]=1072693248;q[g+48>>2]=0;q[g+52>>2]=1072693248;q[g+32>>2]=200;q[g+24>>2]=0;q[g+28>>2]=128;q[g+16>>2]=-256;q[g+20>>2]=16776960;q[g+8>>2]=0;q[g+12>>2]=1077018624;q[g+4>>2]=h;q[g+108>>2]=20;q[g+112>>2]=20;q[a+76>>2]=d}q[f+44>>2]=l;fd(f+44|0);h=q[f+44>>2];i=r[h|0];c:{if(!i){break c}while(1){g=h;d:{while(1){if(!i){break d}if((i|0)!=44){d=g+1|0;q[f+44>>2]=d;i=r[g+1|0];g=d;continue}break}o[g|0]=0;g=q[f+44>>2]+1|0}nb(f+44|0,h);o[q[f+44>>2]]=0;if(!fb(h,3179)){a=eb(c);q[b+48>>2]=a;e:{if(!r[a|0]){break e}c=(Wa(a)+a|0)+ -1|0;if(c>>>0>>0|r[c|0]!=13){break e}o[c|0]=0}a=q[b+8>>2];c=q[b>>2];g=q[b+12>>2]-(q[b+4>>2]+(a>>>0>>0)|0)|0;q[b+8>>2]=a-c;q[b+12>>2]=g;break c}q[f+44>>2]=c;fd(f+44|0);e=q[f+44>>2];c=e;i=r[e|0];if(!i){break c}f:{while(1){if(!i){break f}if((i|0)!=44){d=c+1|0;q[f+44>>2]=d;i=r[c+1|0];c=d;continue}break}o[c|0]=0;c=q[f+44>>2]+1|0}nb(f+44|0,e);o[q[f+44>>2]]=0;d=fb(h,3184)?h:3188;g:{if(!fb(d,3197)){n=b,p=Bb(e),q[n+20>>2]=p;break g}if(!fb(d,3203)){n=b,p=rP(a,e),q[n+24>>2]=p;break g}if(!fb(d,2772)){d=q[b+28>>2];if(d){La(d)}n=b,p=eb(e),q[n+28>>2]=p;break g}if(!fb(d,3209)){d=q[b+44>>2];if(d){La(d)}n=b,p=eb(e),q[n+44>>2]=p;break g}if(!fb(d,1766)){n=b,p=Bb(e),q[n+32>>2]=p;break g}if(!fb(d,1774)){n=b,p=Bb(e),q[n+36>>2]=p;break g}if(!fb(d,1782)){n=b,p=Bb(e),q[n+40>>2]=p;break g}if(!fb(d,3216)){d=q[a+84>>2];q[f>>2]=f+44;q[f+4>>2]=f+40;q[f+8>>2]=f+36;q[f+12>>2]=f+32;if((lp(e,f)|0)<=3){hb(d,2,3234,0);q[b>>2]=0;q[b+4>>2]=0;break g}d=b;h=q[f+36>>2];e=h;i=e>>31;k=e;h=q[f+40>>2];e=q[f+44>>2];j=W$(e,e>>31,60,0);e=h+j|0;h=Ea+(h>>31)|0;j=W$(e,e>>>0>>0?h+1|0:h,60,0);h=k+j|0;e=Ea+i|0;e=W$(h,h>>>0>>0?e+1|0:e,1e3,0);i=Ea;d=q[f+32>>2];j=W$(d,d>>31,10,0);e=j+e|0;d=Ea+i|0;q[b>>2]=e;q[b+4>>2]=e>>>0>>0?d+1|0:d;break g}if(fb(d,3188)){break g}d=q[a+84>>2];q[f+16>>2]=f+44;q[f+20>>2]=f+40;q[f+24>>2]=f+36;q[f+28>>2]=f+32;h=b;k=b;h:{if((lp(e,f+16|0)|0)<=3){hb(d,2,3234,0);d=0;e=0;break h}d=q[f+36>>2];i=d>>31;m=d;d=q[f+40>>2];e=q[f+44>>2];j=W$(e,e>>31,60,0);e=d+j|0;d=Ea+(d>>31)|0;j=W$(e,e>>>0>>0?d+1|0:d,60,0);d=m+j|0;e=Ea+i|0;d=W$(d,d>>>0>>0?e+1|0:e,1e3,0);i=Ea;e=d;d=q[f+32>>2];j=W$(d,d>>31,10,0);e=e+j|0;d=Ea+i|0;d=e>>>0>>0?d+1|0:d}q[k+8>>2]=e;q[h+12>>2]=d}q[f+44>>2]=g;fd(f+44|0);h=q[f+44>>2];i=r[h|0];if(i){continue}break}}La(l);Da=f+48|0;return}I(1428,1465,104,1471);F()}function hl(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;q[e>>2]=0;q[e+4>>2]=0;q[g>>2]=0;q[g+4>>2]=0;a:{u=w(b,40)+a|0;v=u+w(c,40)|0;if((v|0)!=(a|0)){c=i;p=i>>31;while(1){k=q[a+20>>2];b=0;b:{if(q[a+24>>2]){break b}b=0;if(!(k&4)){break b}b=q[a+12>>2]>-1?-1:1}r=a>>>0>=u>>>0;if(k&32){j=q[a+36>>2]<=(i|0)}else{o=q[a+4>>2];m=q[a>>2];j=q[a+12>>2];s=j;l=j>>31;n=W$(j,l,c,p);j=m-n|0;o=o-(Ea+(m>>>0>>0)|0)|0;m=q[(k&2?28:24)+a>>2];n=m;t=m>>31;m=q[a+8>>2];m=W$(n,t,m,m>>31);n=j-m|0;l=(l|0)>0?1:(l|0)>=0?s>>>0<=0?0:1:0;j=o-(Ea+(j>>>0>>0)|0)|0;j=(l?0-(j+(0>>0)|0)|0:j)>>>31^1}c:{d:{if(j){j=r<<2;k=j+h|0;q[k>>2]=b+q[k>>2];if(q[a+32>>2]>=(i|0)){break c}b=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=b;b=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=b;b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[d+36>>2];q[d+36>>2]=(b|0)<(i|0)?b:i;b=e+j|0;q[b>>2]=q[b>>2]+1;break d}if(k&16){j=q[a+32>>2]>=(i|0)}else{o=q[a+4>>2];m=q[a>>2];j=q[a+12>>2];s=j;l=j>>31;n=W$(j,l,c,p);j=m-n|0;o=o-(Ea+(m>>>0>>0)|0)|0;m=q[(k&2?24:28)+a>>2];n=m;t=m>>31;m=q[a+8>>2];m=W$(n,t,m,m>>31);n=j-m|0;l=(l|0)<0?1:(l|0)<=0?s>>>0>=0?0:1:0;j=o-(Ea+(j>>>0>>0)|0)|0;j=(l?0-(j+(0>>0)|0)|0:j)>>>31^1}if(j){j=q[a+36>>2];b=f+32|0;k=q[a+32>>2];q[b>>2]=k;q[b+4>>2]=j;b=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=b;j=q[a+4>>2];l=j;b=q[a>>2];q[f>>2]=b;q[f+4>>2]=j;j=q[a+28>>2];q[f+24>>2]=q[a+24>>2];q[f+28>>2]=j;j=q[a+20>>2];q[f+16>>2]=q[a+16>>2];q[f+20>>2]=j;q[f+36>>2]=q[f+36>>2]-i;k=k-i|0;j=(k|0)>0;q[f+32>>2]=j?k:0;k=q[f+12>>2];k=W$(k,k>>31,c,p);q[f>>2]=b-k;q[f+4>>2]=l-(Ea+(b>>>0>>0)|0);e:{if(j){break e}b=q[f+20>>2];if((b&18)!=18){break e}q[f+20>>2]=b&-5}b=(r<<2)+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0;break c}if(k&2){j=(r<<2)+h|0;q[j>>2]=b+q[j>>2]}b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;k=q[a+36>>2];b=d;j=b+32|0;l=q[a+32>>2];q[j>>2]=l;q[j+4>>2]=k;k=q[a+28>>2];j=b+24|0;q[j>>2]=q[a+24>>2];q[j+4>>2]=k;k=q[a+20>>2];j=b+16|0;q[j>>2]=q[a+16>>2];q[j+4>>2]=k;k=q[a+12>>2];j=b+8|0;q[j>>2]=q[a+8>>2];q[j+4>>2]=k;if(q[b+36>>2]<=(i|0)|(l|0)>=(i|0)){break a}k=q[d+4>>2];j=q[d>>2];q[f>>2]=j;q[f+4>>2]=k;o=q[b+36>>2];l=f+32|0;q[l>>2]=q[b+32>>2];q[l+4>>2]=o;l=q[b+28>>2];q[f+24>>2]=q[b+24>>2];q[f+28>>2]=l;l=q[b+20>>2];q[f+16>>2]=q[b+16>>2];q[f+20>>2]=l;b=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=b;b=q[d+12>>2];q[f+32>>2]=0;q[f+36>>2]=q[f+36>>2]-i;b=W$(b,b>>31,c,p);q[f>>2]=j-b;q[f+4>>2]=k-(Ea+(j>>>0>>0)|0);q[d+36>>2]=i;q[d+20>>2]=q[d+20>>2]&-5;k=q[f+20>>2]&-9;q[f+20>>2]=k;j=d;b=q[j+20>>2];if(b&2){q[d+20>>2]=k;q[f+20>>2]=b;b=q[d+20>>2]}q[j+20>>2]=b|32;q[f+20>>2]=q[f+20>>2]|16;b=r<<2;j=b+e|0;q[j>>2]=q[j>>2]+1;b=b+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((v|0)!=(a|0)){continue}break}}return}I(437366,437145,378,437401);F()}function il(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;q[e>>2]=0;q[e+4>>2]=0;q[g>>2]=0;q[g+4>>2]=0;a:{u=w(b,40)+a|0;v=u+w(c,40)|0;if((v|0)!=(a|0)){c=i;r=i>>31;while(1){l=q[a+20>>2];b=0;b:{if(q[a+32>>2]){break b}b=0;if(!(l&16)){break b}b=q[a+8>>2]>-1?-1:1}s=a>>>0>=u>>>0;if(l&8){o=q[a+28>>2]<=(i|0)}else{p=q[a+4>>2];m=q[a>>2];j=q[a+8>>2];o=j;k=j>>31;n=W$(j,k,c,r);j=m-n|0;p=p-(Ea+(m>>>0>>0)|0)|0;m=q[(l&2?36:32)+a>>2];n=m;t=m>>31;m=q[a+12>>2];m=W$(n,t,m,m>>31);n=j-m|0;k=(k|0)>0?1:(k|0)>=0?o>>>0<=0?0:1:0;j=p-(Ea+(j>>>0>>0)|0)|0;o=(k?0-(j+(0>>0)|0)|0:j)>>>31^1}c:{d:{if(o){j=s<<2;l=j+h|0;q[l>>2]=b+q[l>>2];if(q[a+24>>2]>=(i|0)){break c}b=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=b;b=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=b;b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[d+28>>2];q[d+28>>2]=(b|0)>(i|0)?i:b;b=e+j|0;q[b>>2]=q[b>>2]+1;break d}if(l&4){o=q[a+24>>2]>=(i|0)}else{p=q[a+4>>2];m=q[a>>2];j=q[a+8>>2];o=j;k=j>>31;n=W$(j,k,c,r);j=m-n|0;p=p-(Ea+(m>>>0>>0)|0)|0;m=q[(l&2?32:36)+a>>2];n=m;t=m>>31;m=q[a+12>>2];m=W$(n,t,m,m>>31);n=j-m|0;k=(k|0)<0?1:(k|0)<=0?o>>>0>=0?0:1:0;j=p-(Ea+(j>>>0>>0)|0)|0;o=(k?0-(j+(0>>0)|0)|0:j)>>>31^1}if(o){j=q[a+28>>2];b=f+24|0;k=q[a+24>>2];q[b>>2]=k;q[b+4>>2]=j;b=q[a+4>>2];l=q[a>>2];q[f>>2]=l;q[f+4>>2]=b;j=q[a+36>>2];q[f+32>>2]=q[a+32>>2];q[f+36>>2]=j;j=q[a+20>>2];q[f+16>>2]=q[a+16>>2];q[f+20>>2]=j;j=q[a+12>>2];o=q[a+8>>2];q[f+8>>2]=o;q[f+12>>2]=j;q[f+28>>2]=q[f+28>>2]-i;k=k-i|0;m=(k|0)>0;q[f+24>>2]=m?k:0;k=b;b=o;j=b>>31;b=W$(b,j,c,r);q[f>>2]=l-b;q[f+4>>2]=k-(Ea+(l>>>0>>0)|0);e:{if(m){break e}b=q[f+20>>2];if((b&6)!=6){break e}q[f+20>>2]=b&-17}b=(s<<2)+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0;break c}if(l&2){j=(s<<2)+h|0;q[j>>2]=b+q[j>>2]}b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;l=q[a+36>>2];b=d;j=b+32|0;q[j>>2]=q[a+32>>2];q[j+4>>2]=l;l=q[a+28>>2];j=b+24|0;k=q[a+24>>2];q[j>>2]=k;q[j+4>>2]=l;l=q[a+20>>2];j=b+16|0;q[j>>2]=q[a+16>>2];q[j+4>>2]=l;l=q[a+12>>2];j=b+8|0;q[j>>2]=q[a+8>>2];q[j+4>>2]=l;if(q[b+28>>2]<=(i|0)|(k|0)>=(i|0)){break a}l=q[d+4>>2];j=q[d>>2];q[f>>2]=j;q[f+4>>2]=l;k=q[b+36>>2];q[f+32>>2]=q[b+32>>2];q[f+36>>2]=k;p=q[b+28>>2];k=f+24|0;q[k>>2]=q[b+24>>2];q[k+4>>2]=p;k=q[b+20>>2];q[f+16>>2]=q[b+16>>2];q[f+20>>2]=k;b=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=b;b=q[d+8>>2];q[f+24>>2]=0;q[f+28>>2]=q[f+28>>2]-i;b=W$(b,b>>31,c,r);q[f>>2]=j-b;q[f+4>>2]=l-(Ea+(j>>>0>>0)|0);q[d+28>>2]=i;q[d+20>>2]=q[d+20>>2]&-17;l=q[f+20>>2]&-33;q[f+20>>2]=l;j=d;b=q[j+20>>2];if(b&2){q[d+20>>2]=l;q[f+20>>2]=b;b=q[d+20>>2]}q[j+20>>2]=b|8;q[f+20>>2]=q[f+20>>2]|4;b=s<<2;j=b+e|0;q[j>>2]=q[j>>2]+1;b=b+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((v|0)!=(a|0)){continue}break}}return}I(437312,437145,357,437347);F()}function hq(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=q[a+360>>2];while(1){a:{if(!c){c=q[a+364>>2];if(!c){break a}q[a+364>>2]=0}d=q[c>>2];n[q[a+20>>2]](q[c+36>>2]);b=q[c+44>>2];if(b){while(1){e=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=e;if(b){continue}break}}n[q[a+20>>2]](c);c=d;continue}break}b=q[a+296>>2];while(1){b:{if(!b){b=q[a+300>>2];if(!b){break b}q[a+300>>2]=0}c=q[b+8>>2];n[q[a+20>>2]](b);b=c;continue}break}b=q[a+372>>2];if(b){while(1){c=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=c;if(b){continue}break}}b=q[a+368>>2];if(b){while(1){c=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=c;if(b){continue}break}}b=q[a+412>>2];if(b){while(1){c=q[b>>2];n[q[q[a+432>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+416>>2];if(b){while(1){c=q[b>>2];n[q[q[a+432>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+436>>2];if(b){while(1){c=q[b>>2];n[q[q[a+456>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+440>>2];if(b){while(1){c=q[b>>2];n[q[q[a+456>>2]+8>>2]](b);b=c;if(b){continue}break}}n[q[a+20>>2]](q[a+228>>2]);c:{if(r[a+484|0]){break c}d=q[a+352>>2];if(!d){break c}b=q[d+20>>2];f=b+(q[d+28>>2]<<2)|0;g=q[a+472>>2];while(1){if((b|0)!=(f|0)){e=q[b>>2];c=b+4|0;b=c;if(!e){continue}b=c;if(!q[e+16>>2]){continue}n[q[a+20>>2]](q[e+20>>2]);continue}break}c=q[d>>2];e=q[q[d+16>>2]+8>>2];if(q[d+8>>2]){b=0;while(1){n[e](q[(b<<2)+c>>2]);c=q[d>>2];e=q[q[d+16>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[e](c);c=q[q[d+148>>2]+8>>2];e=q[d+132>>2];if(q[d+140>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+132>>2];c=q[q[d+148>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+36>>2]+8>>2];e=q[d+20>>2];if(q[d+28>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+20>>2];c=q[q[d+36>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+56>>2]+8>>2];e=q[d+40>>2];if(q[d+48>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+40>>2];c=q[q[d+56>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+76>>2]+8>>2];e=q[d+60>>2];if(q[d+68>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+60>>2];c=q[q[d+76>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);b=q[d+80>>2];if(b){while(1){c=q[b>>2];n[q[q[d+100>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+84>>2];if(b){while(1){c=q[b>>2];n[q[q[d+100>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+104>>2];if(b){while(1){c=q[b>>2];n[q[q[d+124>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+108>>2];if(b){while(1){c=q[b>>2];n[q[q[d+124>>2]+8>>2]](b);b=c;if(b){continue}break}}if(!g){n[q[a+20>>2]](q[d+184>>2]);n[q[a+20>>2]](q[d+164>>2])}n[q[a+20>>2]](d)}n[q[a+20>>2]](q[a+388>>2]);n[q[a+20>>2]](q[a+460>>2]);n[q[a+20>>2]](q[a+8>>2]);n[q[a+20>>2]](q[a+44>>2]);n[q[a+20>>2]](q[a+392>>2]);n[q[a+20>>2]](q[a+236>>2]);b=q[a+248>>2];if(b){n[b](q[a+240>>2])}n[q[a+20>>2]](a)}}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;h=Da-272|0;Da=h;j=r[a+3|0]|r[a+2|0]<<8;a:{if(j>>>0<=1){if(j-1){break a}g=r[a+1|0]|r[a|0]<<8;kf(b,g,0,0,0);a=q[b+96>>2];c=q[a+92>>2];b:{if((c|0)==q[a+88>>2]){b=q[a+80>>2];f=b;if(q[a+72>>2]==(b|0)){break b}}c=1;if(!Va(a,1,1)){break a}c=q[a+88>>2]+w(q[a+72>>2],20)|0;f=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[a+72>>2];f=q[a+80>>2];c=q[a+92>>2]}q[w(f,20)+c>>2]=g;c=1;q[a+80>>2]=f+1;q[a+72>>2]=b+1;break a}q[h+268>>2]=0;q[h+264>>2]=0;if(!Si(b,j,j>>>0<2?271312:a+4|0,447,0,h+264|0,h,h+268|0)){break a}k=r[a|0]<<8;i=r[a+1|0];d=q[b+96>>2];l=q[h+268>>2];a=q[h+264>>2];if(a>>>0>=2){c=q[d+72>>2];kc(d,c,a+c|0)}g=q[d+88>>2];c=s[(g+w(q[h>>2],20)|0)+12>>1];a=!(c&8);e=!(c&2);f=1;c=1;c:{d:{while(1){if(!(r[(g+w(q[(c<<2)+h>>2],20)|0)+12|0]&8)){break d}c=c+1|0;if((j|0)!=(c|0)){continue}break}f=a;break c}e=1}m=e&f;if((m|0)==1){c=q[d+100>>2];while(1){a=c;c=a+1|0;if(!(a&7)){continue}break}q[d+100>>2]=c;n=a<<5&224}k=i|k;c=m?4:0;a=g+w(q[d+72>>2],20)|0;g=r[a+12|0]&4;e=r[a+14|0];i=e&15;e:{if(!m){break e}o[a+14|0]=l&15|n|16;a=q[d+88>>2]+w(q[d+72>>2],20)|0;l=s[a+16>>1];if((l&31)!=12){break e}p[a+16>>1]=l&224|7}g=g?i:1;i=e&16;kf(b,k,c,1,0);a=q[b+96>>2];c=q[a+92>>2];f:{g:{if((c|0)==q[a+88>>2]){e=q[a+80>>2];b=e;if((b|0)==q[a+72>>2]){break g}}if(!Va(a,1,1)){break f}c=q[a+88>>2]+w(q[a+72>>2],20)|0;e=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[a+72>>2];b=q[a+80>>2];c=q[a+92>>2]}q[w(b,20)+c>>2]=k;q[a+80>>2]=b+1;q[a+72>>2]=e+1}b=q[d+72>>2];k=1;e=i?g:1;a=e;while(1){g=a;i=q[(k<<2)+h>>2];h:{if(b>>>0>=i>>>0){break h}l=g-e|0;while(1){if(!r[d+68|0]){break h}if(m){b=q[d+88>>2]+w(b,20)|0;a=r[b+14|0];a=a&16?0:a&15;a=a?a:e;o[b+14|0]=l+(a>>>0>e>>>0?e:a)&15|n}i:{if(r[d+69|0]){j:{if(q[d+92>>2]==q[d+88>>2]){c=q[d+80>>2];if((c|0)==q[d+72>>2]){break j}}if(!Va(d,1,1)){b=q[d+72>>2];break i}b=q[d+88>>2]+w(q[d+72>>2],20)|0;c=q[b+4>>2];a=q[d+92>>2]+w(q[d+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=c;q[a+16>>2]=q[b+16>>2];c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[d+80>>2]}q[d+80>>2]=c+1}b=q[d+72>>2]+1|0;q[d+72>>2]=b}if(b>>>0>>0){continue}break}}i=q[d+88>>2];a=i+w(b,20)|0;c=r[a+14|0];a=s[a+12>>1];b=b+1|0;q[d+72>>2]=b;e=c&16?a&4?c&15:1:1;a=g+e|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}j=c>>>5|0;if(!((j|0)!=0&f)){c=1;break a}if(b>>>0>=t[d+76>>2]){c=1;break a}a=(i+w(b,20)|0)+14|0;f=r[a|0];if((j|0)!=(f>>>5|0)){c=1;break a}while(1){c=f&16?0:f&15;if(!c){c=1;break a}o[a|0]=g+(e>>>0>>0?e:c)&15|n;c=1;b=b+1|0;if(b>>>0>=t[d+76>>2]){break a}a=(q[d+88>>2]+w(b,20)|0)+14|0;f=r[a|0];if((j|0)==(f>>>5|0)){continue}break}}Da=h+272|0;return c}function Qo(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;n=Da-16|0;Da=n;a:{if(!a|(c+1>>>0<3?b+1>>>0<=2:0)){break a}A=(c|0)/2|0;B=(b|0)/2|0;C=Hj(a);if((C|0)==2){break a}k=p[a>>1];if((k|0)<1){break a}H=q[a+4>>2];c=(c|0)<-1;D=c?0-A|0:A;R=D>>>16|0;N=D&65535;b=(b|0)<-1;E=b?0-B|0:B;S=E>>>16|0;O=E&65535;P=c?-1:1;T=0-P|0;Q=b?-1:1;U=0-Q|0;while(1){y=p[q[a+12>>2]+(I<<1)>>1];b:{if((F|0)==(y|0)){break b}z=-1;c=F;J=0;u=0;K=0;L=0;r=0;l=0;b=y;if((b|0)==-1){break b}while(1){c:{d:{if((c|0)!=(z|0)){k=(c<<3)+H|0;m=(b<<3)+H|0;q[n+8>>2]=q[k>>2]-q[m>>2];q[n+12>>2]=q[k+4>>2]-q[m+4>>2];k=yf(n+8|0);if(k){break d}break c}q[n+12>>2]=L;q[n+8>>2]=K;k=J}e:{if(!u){l=q[n+12>>2];m=q[n+8>>2];break e}o=(r|0)<0;m=o?-1:1;f=0-m|0;d=m;m=q[n+8>>2];v=(m|0)<0;g=v?f:d;s=(l|0)<0;t=s?-1:1;f=0-t|0;d=t;t=q[n+12>>2];x=(t|0)<0;M=x?f:d;G=(z|0)<0;f=0;d=m>>31;e=d+m^d;d=r>>31;i=d+r^d;f:{if((e>>>8|0)+i>>>0<=8190){d=w(e,i)+32768>>>16|0;break f}d=i&65535;d=w(d,e>>>16|0)+w(e,i>>>16|0)+(w(d,e&65535)+32768>>>16)|0}V=(g|0)<0?0-d|0:d;d=t>>31;j=d+t^d;d=l>>31;h=d+l^d;g:{if((j>>>8|0)+h>>>0<=8190){g=w(h,j)+32768>>>16|0;break g}d=h&65535;g=w(d,j>>>16|0)+w(j,h>>>16|0)+(w(d,j&65535)+32768>>>16)|0}g=((M|0)<0?0-g|0:g)+V|0;d=0;h:{if((g|0)<-61439){break h}d=v?-1:1;v=s?0-d|0:d;d=x?-1:1;o=o?0-d|0:d;g=g+65536|0;f=U;x=Q;if(e+(h>>>8|0)>>>0<=8190){e=w(e,h)+32768>>>16|0}else{s=e&65535;e=w(s,h>>>16|0)+w(h,e>>>16|0)+(w(s,h&65535)+32768>>>16)|0}d=(v|0)<0?0-e|0:e;if(j+(i>>>8|0)>>>0<=8190){e=w(i,j)+32768>>>16|0}else{e=j&65535;e=w(e,i>>>16|0)+w(i,j>>>16|0)+(w(e,i&65535)+32768>>>16)|0}d=d-((o|0)<0?0-e|0:e)|0;j=C?d:0-d|0;o=(j|0)<0;e=o?f:x;i=(u|0)<(k|0)?u:k;d=l+t|0;h=C?d:0-d|0;d=j>>31;d=d+j^d;v=d>>>8|0;i:{if(v+E>>>0<=8190){f=w(d,E)+32768>>>16|0;break i}f=w(d>>>16|0,O)+w(d,S)+(w(d&65535,O)+32768>>>16)|0}M=(e|0)<0?0-f|0:f;f=i>>31;e=f+i^f;x=e+(g>>>8|0)>>>0>8190;j:{if(!x){f=w(e,g)+32768>>>16|0;break j}f=e&65535;f=w(f,g>>>16|0)+w(g,e>>>16|0)+(w(f,g&65535)+32768>>>16)|0}s=(i|0)<0;k:{if((M|0)<=((s?0-f|0:f)|0)){f=bb(h,B,g);break k}f=bb(h,i,j)}o=o?T:P;h=r+m|0;h=C?0-h|0:h;d=v+D>>>0<=8190?w(d,D)+32768>>>16|0:w(d>>>16|0,N)+w(d,R)+(w(d&65535,N)+32768>>>16)|0;o=(o|0)<0?0-d|0:d;if(x){d=e&65535;d=w(d,g>>>16|0)+w(g,e>>>16|0)+(w(d,g&65535)+32768>>>16)|0}else{d=w(e,g)+32768>>>16|0}if((o|0)<=((s?0-d|0:d)|0)){d=bb(h,A,g);break h}d=bb(h,i,j)}z=G?b:z;J=G?u:J;K=G?r:K;L=G?l:L;if((b|0)!=(c|0)){r=d+A|0;u=f+B|0;while(1){l=(b<<3)+H|0;q[l>>2]=u+q[l>>2];q[l+4>>2]=r+q[l+4>>2];b=(b|0)<(y|0)?b+1|0:F;if((c|0)!=(b|0)){continue}break}}l=t}r=m;u=k;b=c}c=(c|0)<(y|0)?c+1|0:F;if((b|0)!=(z|0)?(c|0)!=(b|0):0){continue}break}k=p[a>>1]}F=y+1|0;I=I+1|0;if((I|0)>16){continue}break}}Da=n+16|0}function yo(a,b){var c=0,d=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:{J:{K:{if((b|0)<=1935833198){if((b|0)<=1751346272){c=b+ -1735618608|0;if(c>>>0<=9){break y}if((b|0)==1668311156){break K}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){c=b+ -1751346273|0;if(c>>>0>3){if((b|0)!=1751347046){break a}return a+238|0}switch(c-1|0){case 0:case 1:break a;case 2:break I;default:break J}}c=b+ -1751347822|0;if(c>>>0<=5){break x}if((b|0)==1751413603){break H}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){c=b+ -1935833199|0;if(c>>>0<=4){break w}b=b+ -1935833455|0;if(b>>>0>4){break a}switch(b-1|0){case 0:case 1:case 2:break a;case 3:break F;default:break G}}c=b+ -1936750703|0;if(c>>>0<=4){break v}c=b+ -1936750959|0;if(c>>>0<=4){break u}b=b+ -1937011311|0;if(b>>>0>4){break a}switch(b-1|0){case 0:case 1:case 2:break a;case 3:break D;default:break E}}if((b|0)<=1986228845){c=b+ -1970168943|0;if(c>>>0<=4){break t}if((b|0)==1986098019){break C}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){c=b+ -1986228846|0;if(c>>>0>5){if((b|0)!=1986294627){break a}return a+302|0}switch(c-1|0){case 0:case 1:case 2:case 3:break a;case 4:break A;default:break B}}if((b|0)==1986815856){break z}if((b|0)!=2020108148){break a}return a+460|0}return a+462|0}return a+448|0}return a+450|0}return a+444|0}return a+388|0}return a+384|0}return a+400|0}return a+398|0}return a+300|0}return a+316|0}return a+314|0}d=a+304|0;break a}switch(c-1|0){case 7:break j;case 8:break k;case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;case 5:break h;case 6:break i;default:break b}}switch(c-1|0){case 0:case 1:case 2:case 3:break a;case 4:break m;default:break l}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break o;default:break n}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break q;default:break p}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break s;default:break r}}L:{switch(c-1|0){case 3:return a+486|0;case 0:case 1:case 2:break a;default:break L}}return a+484|0}return a+392|0}return a+396|0}return a+390|0}return a+394|0}return a+382|0}return a+386|0}return a+234|0}return a+236|0}if(s[a+562>>1]<11){break a}return q[a+564>>2]+36|0}if(s[a+562>>1]<10){break a}return q[a+564>>2]+32|0}if(s[a+562>>1]<9){break a}return q[a+564>>2]+28|0}if(s[a+562>>1]<8){break a}return q[a+564>>2]+24|0}if(s[a+562>>1]<7){break a}return q[a+564>>2]+20|0}if(s[a+562>>1]<6){break a}return q[a+564>>2]+16|0}if(s[a+562>>1]<5){break a}return q[a+564>>2]+12|0}if(s[a+562>>1]<4){break a}return q[a+564>>2]+8|0}if(s[a+562>>1]<3){break a}return q[a+564>>2]+4|0}if(s[a+562>>1]<2){break a}return q[a+564>>2]}return d}function iw(a,b){var c=0,d=0,e=0;c=q[a+16>>2];a=1;e=q[Ac(b+136|0)>>2];d=q[(e?e:271312)+16>>2];e=d>>>11|0;b=q[Rc(b+140|0)>>2];d=q[(b?b:271312)+16>>2]|d<<21;b=c<<10|e;c=b;a:{b:{if((c|0)<987147?1:(c|0)<=987147?d>>>0>2743134887?0:1:0){if((c|0)<452609?1:(c|0)<=452609?d>>>0>1732289589?0:1:0){if((c|0)<196614?1:(c|0)<=196614?d>>>0>843062357?0:1:0){if((c|0)<192512?1:(c|0)<=192512?d>>>0>553651553?0:1:0){if((d|0)==1606425686&(c|0)==184326){break a}if((d|0)!=520097548|(c|0)!=192512){break b}break a}if((d|0)==553651554&(c|0)==192512){break a}if((d|0)!=734010454|(c|0)!=196614){break b}break a}if((c|0)<440321?1:(c|0)<=440321?d>>>0>1732288213?0:1:0){if((d|0)==843062358&(c|0)==196614){break a}if((d|0)!=1732286926|(c|0)!=440321){break b}break a}if((d|0)==1732288214&(c|0)==440321){break a}if((d|0)!=1732286668|(c|0)!=452609){break b}break a}if((c|0)<864259?1:(c|0)<=864259?d>>>0>2428547489?0:1:0){if((c|0)<501761?1:(c|0)<=501761?d>>>0>2092999333?0:1:0){if((d|0)==1732289590&(c|0)==452609){break a}if((d|0)!=2092999598|(c|0)!=489473){break b}break a}if((d|0)==2092999334&(c|0)==501761){break a}if((d|0)!=-1820280774|(c|0)!=851971){break b}break a}if((c|0)<931846?1:(c|0)<=931846?d>>>0>583055987?0:1:0){if((d|0)==-1866419806&(c|0)==864259){break a}if((d|0)!=557888902|(c|0)!=919558){break b}break a}if((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283){break a}if((d|0)!=1640033596|(c|0)!=962571){break b}break a}c:{if((c|0)<1071126?1:(c|0)<=1071126?d>>>0>4139790647?0:1:0){if((c|0)<1030155?1:(c|0)<=1030155?d>>>0>4072730923?0:1:0){if((c|0)<1017867?1:(c|0)<=1017867?d>>>0>4081118127?0:1:0){if((d|0)==-1551832408&(c|0)==987147){break a}if((d|0)!=-1560219632|(c|0)!=999435){break b}break a}if((d|0)==-213849168&(c|0)==1017867){break a}if((d|0)!=-629130764|(c|0)!=1028124){break b}break a}b=c+ -1030157|0;e=d+ -61346|0;if(e>>>0<4294905950){b=b+1|0}if(!b&e>>>0<=6|b>>>0<0){break c}b=c+ -1042444|0;e=d+8325780|0;if(e>>>0<8325780){b=b+1|0}if(!b&e>>>0>6|b>>>0>0){if((d|0)!=-222236372|(c|0)!=1030155){break b}break a}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}if((c|0)<1083427?1:(c|0)<=1083427?d>>>0>239092841?0:1:0){if((c|0)<1071139?1:(c|0)<=1071139?d>>>0>230704581?0:1:0){if((d|0)==-155176648&(c|0)==1071126){break a}if((d|0)!=226509528|(c|0)!=1071139){break b}break a}if((d|0)==230704582&(c|0)==1071139){break a}if((d|0)!=-150983126|(c|0)!=1083414){break b}break a}if((c|0)<1361973?1:(c|0)<=1361973?d>>>0>2852184657?0:1:0){if((d|0)==239092842&(c|0)==1083427){break a}if((d|0)!=243286402|(c|0)!=1083427){break b}break a}if((d|0)==-1442782638&(c|0)==1361973|(d|0)==-1442781604&(c|0)==1361973){break a}break b}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}a=0}return a}function Jl(a,b,c,d,e){a=a|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(q[a+204>>2]==(d|0)?q[a+200>>2]==(b|0):0){break a}q[a+200>>2]=b;q[a+204>>2]=d;d=q[a+4>>2];if(!d){break a}f=Ma(q[a+8>>2],b);q[a+12>>2]=f;q[a+16>>2]=f+32&-64;f=d+ -1|0;if(!f){break a}d=a+20|0;while(1){h=Ma(q[d>>2],b);i=q[a+12>>2];j=h-i|0;g=j>>31;g=(g^g+j)<128?i:h;q[d+4>>2]=g;q[d+8>>2]=g+32&-64;d=d+12|0;f=f+ -1|0;if(f){continue}break}}b:{if(q[a+408>>2]==(e|0)?q[a+404>>2]==(c|0):0){break b}q[a+404>>2]=c;q[a+408>>2]=e;b=q[a+208>>2];c:{if(!b){break c}d=Ma(q[a+212>>2],c);q[a+216>>2]=d;q[a+220>>2]=d+32&-64;f=b+ -1|0;if(!f){break c}d=a+224|0;while(1){g=Ma(q[d>>2],c);h=q[a+216>>2];i=g-h|0;b=i>>31;b=(b^b+i)<128?h:g;q[d+4>>2]=b;q[d+8>>2]=b+32&-64;d=d+12|0;f=f+ -1|0;if(f){continue}break}}b=a+2492|0;if((c|0)>=34359738){d=((q[a+2476>>2]<<3)/125|0)>(c|0)}else{d=(w(c,125)|0)>2]<<3}o[b|0]=d;d=q[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((Ma(d,c)|0)<33){break d}b=(d|0)>1;d=d+ -1|0;if(b){continue}break}d=0}q[a+2484>>2]=d;b=q[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}g=q[a+412>>2];if(g){b=a+1448|0;f=a+416|0;while(1){d=q[a+1444>>2];e:{if(!d){break e}e=b;while(1){i=q[f>>2]-q[e>>2]|0;h=i>>31;if((Ma(h^h+i,c)|0)<=63){q[f+28>>2]=q[e+28>>2];q[f+24>>2]=q[e+24>>2];q[f+16>>2]=q[e+16>>2];q[f+20>>2]=q[e+20>>2];break e}e=e+32|0;d=d+ -1|0;if(d){continue}break}}f=f+32|0;g=g+ -1|0;if(g){continue}break}}g=q[a+928>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){d=q[a+1960>>2];f:{if(!d){break f}e=b;while(1){i=q[f>>2]-q[e>>2]|0;h=i>>31;if((Ma(h^h+i,c)|0)>=64){e=e+32|0;d=d+ -1|0;if(d){continue}break f}break}q[f+28>>2]=q[e+28>>2];q[f+24>>2]=q[e+24>>2];q[f+16>>2]=q[e+16>>2];q[f+20>>2]=q[e+20>>2]}f=f+32|0;g=g+ -1|0;if(g){continue}break}}}function zo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0;e=Da-16|0;Da=e;j=q[a+28>>2];f=Xa(a,c);q[e+12>>2]=f;a:{if(f){break a}f=ib(a,e+12|0);if(q[e+12>>2]){break a}if((f|0)!=1){q[e+12>>2]=8;break a}h=Hb(a,e+12|0);if(q[e+12>>2]){break a}i=ib(a,e+12|0);q[d>>2]=i;if(q[e+12>>2]){break a}if(!i){q[e+12>>2]=8;break a}f=0;m=Oa(j,4,0,i,0,e+12|0);if(q[e+12>>2]){break a}if(q[d>>2]){while(1){o=(f<<2)+m|0,r=Hb(a,e+12|0),q[o>>2]=r;if(q[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=Xa(a,c+h|0);q[e+12>>2]=f;if(f){break a}o=d,r=ib(a,e+12|0),p[o+8>>1]=r;if(q[e+12>>2]){break a}f=ib(a,e+12|0);q[d+12>>2]=f;if(q[e+12>>2]){break a}if(q[q[b+12>>2]>>2]!=s[d+8>>1]){q[e+12>>2]=8;break a}o=d,r=Oa(j,4,0,f,0,e+12|0),q[o+16>>2]=r;if(q[e+12>>2]){break a}if(q[d+12>>2]){b=s[d+8>>1];i=0;while(1){h=Oa(j,12,0,b&65535,0,e+12|0);q[q[d+16>>2]+(i<<2)>>2]=h;if(q[e+12>>2]){break a}b=0;if(s[d+8>>1]){f=0;while(1){g=ib(a,e+12|0);if(q[e+12>>2]){break a}k=ib(a,e+12|0);if(q[e+12>>2]){break a}l=ib(a,e+12|0);if(q[e+12>>2]){break a}b=h+w(f,12)|0;q[b+8>>2]=l<<16>>16<<2;q[b+4>>2]=k<<16>>16<<2;q[b>>2]=g<<16>>16<<2;f=f+1|0;b=s[d+8>>1];if(f>>>0>>0){continue}break}}i=i+1|0;if(i>>>0>2]){continue}break}}f=Oa(j,16,0,q[d>>2],0,e+12|0);q[d+4>>2]=f;if(q[e+12>>2]|!q[d>>2]){break a}b=Xa(a,q[m>>2]+c|0);q[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;o=g,r=ib(a,e+12|0),q[o>>2]=r;if(q[e+12>>2]){break a}i=ib(a,e+12|0);if(q[e+12>>2]){break a}b=ib(a,e+12|0);q[g+4>>2]=b;if(q[e+12>>2]){break a}if(i>>>0>b>>>0){q[e+12>>2]=8;break a}if(t[d+12>>2]>>0){q[e+12>>2]=8;break a}o=g,r=Oa(j,4,0,b,0,e+12|0),q[o+8>>2]=r;if(q[e+12>>2]){break a}f=0;b:{if(!q[g+4>>2]){b=0;break b}while(1){b=ib(a,e+12|0);q[q[g+8>>2]+(f<<2)>>2]=b;if(q[e+12>>2]){break a}if(t[d+12>>2]>b>>>0){f=f+1|0;b=q[g+4>>2];if(f>>>0>=b>>>0){break b}continue}break}q[e+12>>2]=8;break a}o=g,r=Oa(j,2,0,w(q[g>>2],b),0,e+12|0),q[o+12>>2]=r;if(q[e+12>>2]){break a}h=q[g+4>>2];l=q[g>>2];c:{if(!w(h,l)){break c}f=0;if(i){while(1){h=f+i|0;b=0;while(1){l=ib(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=l;f=f+1|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}f=h;h=q[g+4>>2];b=i;if(h>>>0>b>>>0){while(1){h=Ob(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=q[g+4>>2];if(b>>>0>>0){continue}break}}if(f>>>0>2],h)>>>0){continue}break c}}while(1){b=0;if(h){while(1){i=Ob(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=i;f=f+1|0;b=b+1|0;h=q[g+4>>2];if(b>>>0>>0){continue}break}l=q[g>>2]}if(f>>>0>>0){continue}break}}k=k+1|0;if(k>>>0>=t[d>>2]){break a}f=q[d+4>>2];b=Xa(a,q[(k<<2)+m>>2]+c|0);q[e+12>>2]=b;if(!b){continue}break}}if(m){n[q[j+8>>2]](j,m)}Da=e+16|0;return q[e+12>>2]}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,s=0,t=0,u=0;g=q[a+40>>2]-(a+32|0)|0;d=g;e=d+q[a+48>>2]|0;e=e<<24;s=a;c=q[a+8>>2];d=q[a+12>>2];b=a0(c,d,13);f=Ea;h=b;b=q[a+4>>2]+d|0;d=c;c=q[a>>2];d=d+c|0;if(d>>>0>>0){b=b+1|0}n=d;c=h^d;h=b;b=b^f;d=b;o=a0(c,b,17);j=Ea;b=(g<<24>>24)+ -1|0;if(b>>>0<=6){a:{switch(b-1|0){case 5:e=e|r[a+38|0]<<16;case 4:e=e|r[a+37|0]<<8;case 3:e=e|r[a+36|0];case 2:f=r[a+35|0];b=f>>>8|0;m=m|f<<24;e=b|e;case 1:f=r[a+34|0];b=f>>>16|0;m=m|f<<16;e=b|e;case 0:f=r[a+33|0];b=f>>>24|0;m=m|f<<8;e=b|e;break;default:break a}}m=r[a+32|0]|m}i=e^q[a+28>>2];b=i+q[a+20>>2]|0;k=m^q[a+24>>2];g=q[a+16>>2];f=k+g|0;if(f>>>0>>0){b=b+1|0}l=f;f=b;b=b+d|0;d=l;c=d+c|0;if(c>>>0>>0){b=b+1|0}u=c;g=b;c=o^c;d=b^j;o=a0(c,d,13);j=Ea;p=a0(k,i,16)^l;i=f^Ea;f=a0(n,h,32);h=f+p|0;b=Ea+i|0;b=h>>>0>>0?b+1|0:b;f=b;b=b+d|0;d=h;c=d+c|0;if(c>>>0>>0){b=b+1|0}n=c;c=c^o;l=b;d=b^j;k=a0(c,d,17);o=Ea;t=a0(p,i,21)^h;p=Ea^f;f=a0(u,g,32);g=f+t|0;b=Ea+p|0;j=g;g=g>>>0>>0?b+1|0:b;b=g+d|0;d=j;c=d+c|0;if(c>>>0>>0){b=b+1|0}i=c;f=c^k;h=b;d=b^o;k=a0(f,d,13);o=Ea;c=m;t=a0(t,p,16)^j;p=g^Ea;g=a0(n,l,32);l=g+t|0;b=Ea+p|0;j=l;l=d;d=j>>>0>>0?b+1|0:b;b=l+(d^e)|0;c=c^j;e=c+f|0;if(e>>>0>>0){b=b+1|0}m=e;c=e^k;g=b;e=b^o;l=a0(c,e,17);f=Ea;n=a0(t,p,21)^j;k=Ea^d;d=a0(i,h,32)^255;h=d+n|0;b=Ea+k|0;b=h>>>0>>0?b+1|0:b;d=b;b=b+e|0;e=h;c=e+c|0;if(c>>>0>>0){b=b+1|0}o=c;c=c^l;e=f;f=b;e=e^b;j=a0(c,e,13);l=Ea;i=a0(n,k,16)^h;k=d^Ea;d=a0(m,g,32);g=d+i|0;b=Ea+k|0;h=g;d=g>>>0>>0?b+1|0:b;b=d+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}m=c;c=c^j;g=b;e=b^l;j=a0(c,e,17);l=Ea;i=a0(i,k,21)^h;k=Ea^d;d=a0(o,f,32);f=d+i|0;b=Ea+k|0;h=f;d=f>>>0>>0?b+1|0:b;b=d+e|0;e=f;c=e+c|0;if(c>>>0>>0){b=b+1|0}o=c;c=c^j;f=b;e=b^l;j=a0(c,e,13);l=Ea;n=a0(i,k,16)^h;i=d^Ea;d=a0(m,g,32);g=d+n|0;b=Ea+i|0;h=g;d=g>>>0>>0?b+1|0:b;b=d+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}k=c;c=c^j;g=b;e=b^l;m=a0(c,e,17);j=Ea;n=a0(n,i,21)^h;i=Ea^d;d=a0(o,f,32);f=d+n|0;b=Ea+i|0;l=f;h=m;d=f>>>0>>0?b+1|0:b;b=d+e|0;e=f;c=e+c|0;if(c>>>0>>0){b=b+1|0}m=c;h=h^c;f=b;e=b^j;o=e;c=h;p=a0(n,i,16)^l;i=d^Ea;d=a0(k,g,32);g=d+p|0;b=Ea+i|0;b=g>>>0>>0?b+1|0:b;d=b;b=b+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}n=c;c=b;j=a0(n,b,32);l=Ea;k=a0(p,i,21)^g;e=Ea^d;b=e;g=a0(k,b,16);d=Ea;e=a0(m,f,32);f=e+k|0;b=Ea+b|0;i=f;e=f>>>0>>0?b+1|0:b;m=e^d;b=m+l|0;d=j;j=g^f;f=j;d=d+f|0;if(d>>>0>>0){b=b+1|0}k=d;d=b;q[s>>2]=k;q[s+4>>2]=b;g=a;f=a0(h,o,13)^n;b=c^Ea;c=b;b=a0(f,b,17);l=Ea;o=b;b=e+c|0;e=f;c=e+i|0;if(c>>>0>>0){b=b+1|0}h=c;s=o^c;e=b^l;f=e;q[g+8>>2]=s;q[g+12>>2]=e;c=a0(j,m,21);q[a+24>>2]=c^k;g=d;d=Ea;q[a+28>>2]=g^d;g=a0(h,b,32);e=Ea;b=e;q[a+16>>2]=g;q[a+20>>2]=b;Ea=b^(d^f);return g^(c^s)}function ix(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}f=q[q[d+88>>2]+w(c,20)>>2];e=2;if((f|0)==65535){break b}c=q[a>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,f,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);f=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+((c>>>0>e>>>0?e:1)+w(c,g)<<1)|0;f=f+((r[c|0]<<8|r[c+1|0])<<3)|0;c:{if(!g){break c}c=q[a+4>>2];d=q[(r[c+69|0]?80:72)+c>>2];if(!d){break c}e=q[c+72>>2];if(e>>>0>=t[c+76>>2]){break c}i=r[f+3|0];h=r[f+2|0]<<8;if(!(r[f+1|0]|r[f|0]<<8|((r[f+5|0]|r[f+4|0]<<8)!=65535|(r[f+7|0]|r[f+6|0]<<8)!=65535?i|h&768:0))){if((h|i)==16384){break c}}Zc(c,d+ -1|0,e+1|0)}e=q[a+4>>2];h=q[e+72>>2];i=h+2|0;d:{if(i>>>0>t[e+76>>2]){break d}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,g)+!c<<1)|0;c=j+((r[c|0]<<8|r[c+1|0])<<3)|0;if(!(r[c+2|0]<<8&768|r[c+3|0])|((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+5|0]|r[c+4|0]<<8)==65535:0)){break d}rb(e,h,i)}Tm(b,a,f);d=q[a+4>>2];e=q[d+72>>2];if((e|0)!=q[d+76>>2]){g=r[f|0];h=r[f+1|0];e:{if(r[f+2|0]&64){c=q[d+40>>2];q[d+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[d+69|0]){f:{if(q[d+92>>2]==q[d+88>>2]){c=e;if((c|0)==q[d+80>>2]){break f}}if(!Va(d,1,1)){break e}e=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[e+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[e>>2];q[c+4>>2]=f;q[c+16>>2]=q[e+16>>2];f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;e=q[d+72>>2];c=q[d+80>>2]}q[d+80>>2]=c+1}q[d+72>>2]=e+1}d=q[a+4>>2];if(!r[d+68|0]){break a}g=h|g<<8;c=q[d+72>>2];continue}break}if(!r[d+68|0]){break a}while(1){c=q[d+72>>2];if(c>>>0>=t[d+76>>2]){break a}g:{if(r[d+69|0]){e=d;h:{if(q[d+92>>2]==q[d+88>>2]){b=c;if(q[d+80>>2]==(c|0)){break h}}if(!Va(d,1,1)){break g}b=q[d+88>>2]+w(q[d+72>>2],20)|0;g=q[b+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=g;q[c+16>>2]=q[b+16>>2];f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;c=q[d+72>>2];b=q[d+80>>2]}q[e+80>>2]=b+1}q[d+72>>2]=c+1}d=q[a+4>>2];if(r[d+68|0]){continue}break}}Kc(d)}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;h=Da-16|0;Da=h;e=gb(q[a+100>>2],(q[a+16>>2]<<1)+396|0,h+4|0);d=q[h+4>>2];if(!d){q[e>>2]=a;d=q[a+16>>2];q[e+392>>2]=c;q[e+8>>2]=e+396;q[e+4>>2]=d;q[e+372>>2]=0;q[e+376>>2]=0;d=0;p[e+368>>1]=0;q[e+380>>2]=0;q[e+384>>2]=0;q[e+388>>2]=0;n=e,o=Ws(a),q[n+12>>2]=o;n=e,o=He(),q[n+16>>2]=o;f=q[e+8>>2];g=q[e>>2];l=q[g+92>>2];a=q[e+4>>2];if(a){while(1){p[(d<<1)+f>>1]=16383;d=d+1|0;if((a|0)!=(d|0)){continue}break}}a:{if(Ne(g,1970170211)){break a}k=-1;d=282296;while(1){c=q[d+8>>2];j=q[(c<<2)+284112>>2];a=q[j+4>>2];b:{if(!a){break b}if(q[d+16>>2]==10){m=(c|0)==q[q[e+392>>2]+16>>2];d=q[a>>2];if(d){while(1){c=a;a=Ub(g,d);q[h+12>>2]=a;c:{if(!a|a>>>0>=t[e+4>>2]){break c}a=(a<<1)+f|0;if((s[a>>1]&16383)!=16383){break c}p[a>>1]=i}d=Qf(g,d,h+12|0);while(1){a=q[h+12>>2];if(!(!a|d>>>0>t[c+4>>2])){d:{if(a>>>0>=t[e+4>>2]){break d}a=(a<<1)+f|0;if((s[a>>1]&16383)!=16383){break d}p[a>>1]=i}d=Qf(g,d,h+12|0);continue}break}a=c+8|0;d=q[c+8>>2];if(d){continue}break}}k=m?i:k;a=q[j+8>>2];d=q[a>>2];if(!d){break b}while(1){c=a;a=Ub(g,d);q[h+8>>2]=a;e:{if(!a|a>>>0>=t[e+4>>2]){break e}a=(a<<1)+f|0;j=s[a>>1];if((j&16383)!=(i&65535)){break e}p[a>>1]=j|16384}d=Qf(g,d,h+8|0);while(1){a=q[h+8>>2];if(!(!a|d>>>0>t[c+4>>2])){f:{if(a>>>0>=t[e+4>>2]){break f}a=(a<<1)+f|0;j=s[a>>1];if((j&16383)!=(i&65535)){break f}p[a>>1]=j|16384}d=Qf(g,d,h+8|0);continue}break}a=c+8|0;d=q[c+8>>2];if(d){continue}break}break b}Kl(e,d,f,0)}i=i+1|0;d=q[(i<<2)+284352>>2];if((i|0)!=86){continue}break}d=0;a=282296;while(1){if(q[a+16>>2]==10){Kl(e,a,f,0)}d=d+1|0;a=q[(d<<2)+284352>>2];if((d|0)!=86){continue}break}Kl(e,q[(k<<2)+284352>>2],f,1);a=Ub(g,48);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,49);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,50);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,51);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,52);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,53);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,54);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,55);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,56);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,57);if(!a|a>>>0>=t[e+4>>2]){break a}a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=q[q[e+392>>2]+12>>2];g:{if((a|0)==16383){break g}c=q[e+4>>2];if((c|0)<1){break g}d=0;while(1){i=(d<<1)+f|0;k=s[i>>1];if((k&16383)==16383){p[i>>1]=a|k&49152}d=d+1|0;if((c|0)!=(d|0)){continue}break}}$d(g,l);q[h+4>>2]=0;q[e+20>>2]=0;d=0}q[b>>2]=e;Da=h+16|0;return d}function xo(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,o=0,p=0,r=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=Da-16|0;Da=e;h=q[b+28>>2];k=q[a+736>>2];q[e>>2]=0;a:{b:{if(k){c:{if(!q[a+704>>2]){break c}d=n[q[a+516>>2]](a,1668702578,b,e+8|0)|0;q[e+12>>2]=d;if(d){break c}d=mb(b,q[e+8>>2]);q[e+12>>2]=d;if(d){break c}i=q[b>>2];j=q[b+32>>2];d:{if((fc(b)|0)!=65536){q[e+12>>2]=0;break d}o=Oa(h,4,0,q[k>>2],0,e+12|0);if(q[e+12>>2]){break d}r=Oa(h,4,0,q[k>>2],0,e+12|0);if(q[e+12>>2]){break d}u=Oa(h,4,0,q[k>>2],0,e+12|0);if(q[e+12>>2]){break d}c=ob(b);x=c&4095;d=ob(b);g=q[e+8>>2];if((x<<2)+d>>>0>g>>>0){q[e+12>>2]=8;break d}m=d+(j-i|0)|0;e:{if(!(c&32768)){break e}c=q[b+32>>2];i=q[b>>2];d=q[b+36>>2];q[b+32>>2]=m>>>0>>0?i+m|0:d;v=Dh(b,g,e);g=q[b+32>>2];j=q[b>>2];c=c-i|0;d=q[b+36>>2];q[b+32>>2]=c>>>0>>0?j+c|0:d;m=g-j|0}p=Oa(h,4,0,q[a+700>>2],0,e+12|0);f:{if(q[e+12>>2]){break f}if(x){z=q[e>>2];d=0;while(1){C=ob(b);i=ob(b);g:{if(i&32768){f=0;if(!q[k>>2]){break g}while(1){D=(f<<2)+o|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}break g}c=i&4095;if(c>>>0>=t[k+60>>2]){q[e+12>>2]=8;break f}g=q[k+64>>2];if(!g){q[e+12>>2]=8;break f}f=c;c=q[k>>2];Qa(o,g+(w(f,c)<<2)|0,c<<2)}h:{if(!(i&16384)){break h}f=0;if(!q[k>>2]){break h}while(1){D=(f<<2)+r|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;c=q[k>>2];if(f>>>0>>0){continue}break}f=0;if(!c){break h}while(1){D=(f<<2)+u|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}}y=wo(k,i,o,r,u);if(y){j=q[b+32>>2];l=q[b>>2];c=q[b+36>>2];q[b+32>>2]=m>>>0>>0?l+m|0:c;A=j-l|0;i:{if(i&8192){g=Dh(b,q[e+8>>2],e+4|0);c=q[e+4>>2];d=g;break i}q[e+4>>2]=z;c=z;g=d;d=v}i=d;l=uj(b,q[e+8>>2],c?c:q[a+700>>2]);j:{k:{l:{if(!i|!l){break l}if((g|0)!=-1){f=0;if(!c){break k}while(1){d=s[i+(f<<1)>>1];if(t[a+700>>2]>d>>>0){j=(d<<2)+p|0;d=q[j>>2];D=j,E=Ma(q[l+(f<<2)>>2],y)+d|0,q[D>>2]=E}f=f+1|0;if((c|0)!=(f|0)){continue}break}break l}d=-1;if((c|0)!=q[a+700>>2]){break j}f=0;if(!c){break j}while(1){j=f<<2;c=j+p|0;d=q[c>>2];D=c,E=Ma(q[j+l>>2],y)+d|0,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}}d=-1;if((g|0)==-1){break j}}if(g){n[q[h+8>>2]](h,g)}d=0}if(l){n[q[h+8>>2]](h,l)}g=q[b>>2];c=q[b+36>>2];q[b+32>>2]=A>>>0>>0?g+A|0:c}m=m+C|0;B=B+1|0;if((B|0)!=(x|0)){continue}break}}i=q[a+700>>2];if(!i){break f}j=q[a+704>>2];d=0;while(1){g=d<<2;c=g+j|0;q[c>>2]=q[c>>2]+(q[g+p>>2]+512>>10);d=d+1|0;if((i|0)!=(d|0)){continue}break}}jb(b);if((v|0)==-1){break a}break b}jb(b);break b}}q[e+12>>2]=0}if(v){n[q[h+8>>2]](h,v)}}if(o){n[q[h+8>>2]](h,o)}if(r){n[q[h+8>>2]](h,r)}if(u){n[q[h+8>>2]](h,u)}if(p){n[q[h+8>>2]](h,p)}Lo(a+108|0,56);Da=e+16|0;return q[e+12>>2]} +function kO(a,b,c){a=a|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,o=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;d=Na(b,0,72);y=q[a+20>>2];a:{if(!y){h=2147483647;j=-2147483648;m=-2147483648;g=2147483647;p=-2147483648;r=-2147483648;l=2147483647;o=2147483647;break a}t=q[a+24>>2];r=-2147483648;o=2147483647;l=2147483647;p=-2147483648;g=2147483647;h=2147483647;m=-2147483648;j=-2147483648;while(1){k=w(u,24);b=k+t|0;i=q[b>>2];if(i){z=k+t|0;e=q[i>>2]+q[z+8>>2]|0;g=(g|0)>(e|0)?e:g;e=e+q[i+8>>2]|0;m=(m|0)>(e|0)?m:e;e=q[i+4>>2]+q[z+12>>2]|0;h=(h|0)>(e|0)?e:h;e=e+q[i+12>>2]|0;j=(j|0)>(e|0)?j:e;v=v+1|0;e=b}i=q[b+4>>2];if(i){k=k+t|0;f=q[i>>2]+q[k+16>>2]|0;o=(o|0)>(f|0)?f:o;f=f+q[i+8>>2]|0;r=(r|0)>(f|0)?r:f;f=q[i+4>>2]+q[k+20>>2]|0;l=(l|0)>(f|0)?f:l;f=f+q[i+12>>2]|0;p=(p|0)>(f|0)?p:f;x=x+1|0;f=b}u=u+1|0;if((y|0)!=(u|0)){continue}break}}b:{c:{d:{e:{b=aN(q[a+4>>2]);f:{if(!(b|(v|0)!=1)){xi(q[c+764>>2],d,q[e>>2]);q[d>>2]=q[d>>2]+q[e+8>>2];q[d+4>>2]=q[d+4>>2]+q[e+12>>2];break f}if(!v){break f}e=b<<1;if(!sr(q[c+764>>2],d,e+(m-g|0)|0,e+(j-h|0)|0)){break f}q[d+4>>2]=h-b;q[d>>2]=g-b;g=q[a+20>>2];if(!g){break f}e=0;while(1){j=q[a+24>>2]+w(e,24)|0;h=q[j>>2];if(h){g=(q[h>>2]+q[j+8>>2]|0)-q[d>>2]|0;if((g|0)<0){break e}m=q[h+8>>2];if((m+g|0)>q[d+8>>2]){break e}j=(q[h+4>>2]+q[j+12>>2]|0)-q[d+4>>2]|0;if((j|0)<0){break d}i=q[h+12>>2];if((i+j|0)>q[d+12>>2]){break d}k=g;g=q[d+16>>2];n[q[q[c+764>>2]+20>>2]](k+(q[d+20>>2]+w(g,j)|0)|0,g,q[h+20>>2],q[h+16>>2],i,m);g=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}g:{if(!(b|(x|0)!=1)){xi(q[c+764>>2],d+24|0,q[f+4>>2]);q[d+24>>2]=q[d+24>>2]+q[f+16>>2];q[d+28>>2]=q[d+28>>2]+q[f+20>>2];break g}if(!x){break g}e=b<<1;if(!sr(q[c+764>>2],d+24|0,e+(r-o|0)|0,e+(p-l|0)|0)){break g}q[d+28>>2]=l-b;q[d+24>>2]=o-b;g=q[a+20>>2];if(!g){break g}e=0;while(1){f=q[a+24>>2]+w(e,24)|0;b=q[f+4>>2];if(b){g=(q[b>>2]+q[f+16>>2]|0)-q[d+24>>2]|0;if((g|0)<0){break c}h=q[b+8>>2];if((h+g|0)>q[d+32>>2]){break c}f=(q[b+4>>2]+q[f+20>>2]|0)-q[d+28>>2]|0;if((f|0)<0){break b}l=q[b+12>>2];if((l+f|0)>q[d+36>>2]){break b}k=f;f=q[d+40>>2];n[q[q[c+764>>2]+20>>2]](g+(q[d+44>>2]+w(k,f)|0)|0,f,q[b+20>>2],q[b+16>>2],l,h);g=q[a+20>>2]}e=e+1|0;if(e>>>0>>0){continue}break}}s=qH(+q[a+8>>2]*.00390625)*32;s=s*s;b=q[a>>2];f=b&-5;if((f|0)!=2){tr(q[c+764>>2],d,q[a+4>>2],s)}e=d+24|0;tr(q[c+764>>2],e,q[a+4>>2],s);if(b&4){h:{if(b&2){b=d+48|0;xi(q[c+764>>2],b,e);break h}if(b&1){b=q[e+4>>2];q[d+48>>2]=q[e>>2];q[d+52>>2]=b;c=q[e+20>>2];b=d- -64|0;q[b>>2]=q[e+16>>2];q[b+4>>2]=c;b=q[e+12>>2];q[d+56>>2]=q[e+8>>2];q[d+60>>2]=b;q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;b=d+48|0;break h}b=d+48|0;xi(q[c+764>>2],b,d)}c=q[a+12>>2];q[d+48>>2]=q[d+48>>2]+(c>>6);a=q[a+16>>2];q[d+52>>2]=q[d+52>>2]+(a>>6);bN(b,c&63,a&63)}if((f|0)==2){cN(d,e)}return((w(q[d+16>>2],q[d+12>>2])+w(q[d+40>>2],q[d+36>>2])|0)+w(q[d- -64>>2],q[d+60>>2])|0)+100|0}I(355666,355697,2415,355710);F()}I(355734,355697,2416,355710);F()}I(355666,355697,2440,355710);F()}I(355734,355697,2441,355710);F()}function Dt(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=w(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){j=w(b+ -1|0,c);k=j+a|0;e=k+m|0;d=a+c|0;g=q[d>>2];f=w(b>>>1|0,c)+a|0;b=q[f>>2];a:{if((g|0)!=(b|0)){b=(g|0)<(b|0)?-1:1;break a}g=q[d+8>>2];h=q[f+8>>2];b=-1;if(g>>>0>>0){break a}b=g>>>0>h>>>0}h=(b|0)>0;b=h?d:f;i=q[b>>2];g=q[e>>2];b:{c:{if((i|0)!=(g|0)){if((i|0)>=(g|0)){break c}break b}if(t[b+8>>2]<=t[e+8>>2]){break b}}d=h?f:d;f=q[d>>2];d:{if((f|0)!=(g|0)){b=e;if((f|0)>=(g|0)){break d}break b}b=e;if(t[d+8>>2]<=t[b+8>>2]){break b}}b=d}if(!((b|0)==(k|0)|(c|0)<1)){e=b+c|0;d=k;while(1){f=r[b|0];o[b|0]=r[d|0];o[d|0]=f;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}e:{if((j|0)<1){e=k;g=e;f=a;break e}g=k;e=g;f=a;i=f;while(1){if(i>>>0>=e>>>0){break e}while(1){f:{b=q[k>>2];d=q[i>>2];g:{if((b|0)!=(d|0)){if((d|0)<(b|0)){break g}break f}j=q[i+8>>2];h=q[k+8>>2];if(j>>>0>>0){break g}if(j>>>0>h>>>0){break f}h:{if((c|0)<1|f>>>0>=i>>>0){break h}b=r[f|0];o[f|0]=d;o[i|0]=b;if((c|0)==1){break h}j=c+f|0;b=f+1|0;d=i;while(1){h=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=h;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}f=c+f|0}i=c+i|0;if(i>>>0>>0){continue}break e}break}j=e;i:{if(i>>>0>=e>>>0){break i}while(1){j:{e=j+m|0;d=q[e>>2];k:{if((d|0)!=(b|0)){if((d|0)>=(b|0)){break k}break j}b=q[e+8>>2];h=q[k+8>>2];if(b>>>0>>0){break j}if(b>>>0>h>>>0){break k}h=g+m|0;l:{if((c|0)<1|j>>>0>=g>>>0){break l}o[e|0]=r[h|0];o[h|0]=d;b=h;d=e+1|0;if(d>>>0>=j>>>0){break l}while(1){g=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}g=h}if(i>>>0>=e>>>0){break i}b=q[k>>2];j=e;continue}break}m:{if((c|0)<1|i>>>0>=e>>>0){break m}b=r[i|0];o[i|0]=d;o[e|0]=b;if((c|0)==1){break m}j=c+i|0;b=i+1|0;d=e;while(1){h=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=h;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}i=c+i|0}if(i>>>0>>0){continue}break}}b=f-a|0;k=e-f|0;n:{if(!b|!k){break n}if(b>>>0>k>>>0){if((k|0)<1){break n}d=a+k|0;b=a;while(1){j=r[b|0];o[b|0]=r[f|0];o[f|0]=j;f=f+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break n}if((b|0)<1){break n}b=a+k|0;d=a;while(1){j=r[d|0];o[d|0]=r[b|0];o[b|0]=j;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}d=g-e|0;o:{if(!d){break o}b=l-g|0;if(!b){break o}if(d>>>0>b>>>0){if((b|0)<1){break o}b=b+e|0;while(1){f=r[e|0];o[e|0]=r[g|0];o[g|0]=f;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break o}if((d|0)<1){break o}b=b+e|0;while(1){f=r[e|0];o[e|0]=r[b|0];o[b|0]=f;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}Dt(a,(k>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){k=0-c|0;j=(c|0)<1;while(1){f=g;p:{if(f>>>0<=a>>>0){break p}while(1){e=f;f=e+k|0;b=q[f>>2];d=q[e>>2];q:{if((b|0)!=(d|0)){if((b|0)>=(d|0)){break q}break p}if(t[f+8>>2]<=t[e+8>>2]){break p}}r:{if(j){break r}o[f|0]=d;o[e|0]=b;d=f+1|0;b=e;if(d>>>0>=b>>>0){break r}while(1){h=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=h;b=b+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function NC(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,p=0;e=Da+ -64|0;Da=e;l=q[a+16>>2];b=161;a:{if(t[a+20>>2]>>0){break a}j=q[a+32>>2];p=j+48|0;o[j+64|0]=1;m=-2147483648;d=2147483647;while(1){b=n<<2;h=b+e|0;f=b+(e+32|0)|0;c=q[l>>2];g=r[c|0];b:{if((g|0)==30){b=sc(a,c,0,h);break b}i=c+1|0;c:{b=g+ -28|0;d:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break c}b=(r[c+2|0]|r[i|0]<<8)<<16>>16;break c}b=0;if(t[a+8>>2]<=c+4>>>0){break c}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}if(g>>>0<=246){b=g+ -139|0;break c}c=q[a+8>>2];if(g>>>0<=250){b=0;if(c>>>0<=i>>>0){break c}b=(r[i|0]|g<<8)+ -63124|0;break d}b=0;if(c>>>0<=i>>>0){break c}b=64148-(r[i|0]|g<<8)|0}if((b|0)<32768){break c}k=b;c=5;e:{if((b|0)<1e5){break e}c=6;if((b|0)<=999999){break e}c=7;if((b|0)<1e7){break e}c=8;if((b|0)<1e8){break e}c=(b|0)<1e9?9:10}g=c+ -5|0;i=q[(g<<2)+12864>>2];if(((k|0)/(i|0)|0)>=32768){c=c+ -4|0;q[h>>2]=c;b=Za(b,q[(c<<2)+12864>>2]);break b}q[h>>2]=g;b=Za(b,i);break b}q[h>>2]=0;b=b<<16}q[f>>2]=b;if(b){b=q[h>>2];d=(b|0)<(d|0)?b:d;m=(b|0)>(m|0)?b:m}l=l+4|0;n=n+1|0;if((n|0)!=6){continue}break}if(!(m+9>>>0>9|m-d>>>0>9)){l=0;n=0;b=q[e+32>>2];if(b){d=q[(m-q[e>>2]<<2)+12864>>2];n=d>>1;a=e;f:{if((b|0)<=-1){c=(b-n|0)/(d|0)|0;if((n|-2147483648)<(b|0)){break f}c=-2147483648/(d|0)|0;break f}c=(b+n|0)/(d|0)|0;if((2147483647-n|0)>(b|0)){break f}c=2147483647/(d|0)|0}n=c;q[a+32>>2]=n}b=q[e+36>>2];if(b){d=q[(m-q[e+4>>2]<<2)+12864>>2];l=d>>1;a=e;g:{if((b|0)>=0){c=2147483647/(d|0)|0;if((2147483647-l|0)<=(b|0)){break g}c=(b+l|0)/(d|0)|0;break g}c=-2147483648/(d|0)|0;if((l|-2147483648)>=(b|0)){break g}c=(b-l|0)/(d|0)|0}l=c;q[a+36>>2]=l}c=0;a=0;d=q[e+40>>2];if(d){a=q[(m-q[e+8>>2]<<2)+12864>>2];g=a>>1;b=e;h:{if((d|0)>=0){k=2147483647/(a|0)|0;if((2147483647-g|0)<=(d|0)){break h}k=(d+g|0)/(a|0)|0;break h}k=-2147483648/(a|0)|0;if((g|-2147483648)>=(d|0)){break h}k=(d-g|0)/(a|0)|0}a=k;q[b+40>>2]=a}b=q[e+44>>2];if(b){c=q[(m-q[e+12>>2]<<2)+12864>>2];g=c>>1;k=e;i:{if((b|0)>=0){f=2147483647/(c|0)|0;if((2147483647-g|0)<=(b|0)){break i}f=(b+g|0)/(c|0)|0;break i}f=-2147483648/(c|0)|0;if((g|-2147483648)>=(b|0)){break i}f=(b-g|0)/(c|0)|0}c=f;q[k+44>>2]=c}b=0;d=0;h=q[e+48>>2];if(h){d=q[(m-q[e+16>>2]<<2)+12864>>2];i=d>>1;k=e;j:{if((h|0)>=0){f=2147483647/(d|0)|0;if((2147483647-i|0)<=(h|0)){break j}f=(h+i|0)/(d|0)|0;break j}f=-2147483648/(d|0)|0;if((i|-2147483648)>=(h|0)){break j}f=(h-i|0)/(d|0)|0}d=f;q[k+48>>2]=d}h=q[e+52>>2];if(h){b=q[(m-q[e+20>>2]<<2)+12864>>2];i=b>>1;k=e;k:{if((h|0)>=0){f=2147483647/(b|0)|0;if((2147483647-i|0)<=(h|0)){break k}f=(h+i|0)/(b|0)|0;break k}f=-2147483648/(b|0)|0;if((i|-2147483648)>=(h|0)){break k}f=(h-i|0)/(b|0)|0}b=f;q[k+52>>2]=b}q[j+48>>2]=n;q[j+72>>2]=d;q[j+56>>2]=l;q[j+76>>2]=b;q[j+60>>2]=c;q[j+52>>2]=a;q[j+68>>2]=q[12864-(m<<2)>>2];b=0;if(pi(p)){break a}}q[j+48>>2]=65536;q[j+52>>2]=0;q[j+68>>2]=1;q[j+72>>2]=0;q[j+76>>2]=0;q[j+56>>2]=0;q[j+60>>2]=65536;b=0}Da=e- -64|0;return b|0}function GB(a,b){a=a|0;b=b|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=q[a+492>>2];i=q[b+16>>2];e=q[b+8>>2];n[q[b+28>>2]](b);c=3;a=q[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=r[a|0];c:{if(a+ -48>>>0<=9){a=n[q[b+36>>2]](b)|0;q[b+144>>2]=a;if(q[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=q[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}q[b+144>>2]=d;break c}if((a|0)!=60){break b}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);d=q[b>>2];if(e>>>0<=d>>>0){a=d;break c}a=d;while(1){a=r[a|0]+ -47|0;d:{if(a>>>0>15){break d}e:{switch(a-1|0){case 14:q[b>>2]=d;q[b+144>>2]=h;a=d;break c;case 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 d;default:break e}}h=h+1|0}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>>0){continue}break}}if(q[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=n[q[q[g>>2]>>2]](k,q[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=n[q[q[g>>2]>>2]](l,q[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=n[q[q[g>>2]>>2]](h,4,i)|0;if(c){break b}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>=e>>>0){q[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){f:{g:{c=r[a|0];if((c|0)!=101){if((c|0)==62){break f}break g}if(r[a+1|0]!=110|a+3>>>0>=e>>>0|r[a+2|0]!=100){break g}c=r[a+3|0];if(c>>>0>32){break g}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break f}}n[q[b+32>>2]](b);f=q[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(q[b+12>>2]){break a}j=r[a|0];c=j+ -40|0;h:{if(c>>>0>7){break h}i:{switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break h;default:break i}}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=n[q[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;o[c+q[f+q[b+172>>2]>>2]|0]=0;if(r[a|0]==46){a=Ta(17992,q[f+q[b+172>>2]>>2]);i=a?i:1;g=a?g:d}n[q[b+28>>2]](b);if((j|0)==40){n[q[b+32>>2]](b)}a=q[b>>2];n[q[b+36>>2]](b)|0;c=3;j=q[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=n[q[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}o[a+q[f+q[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=q[b+144>>2]){break f}}n[q[b+28>>2]](b);a=q[b>>2];if(a>>>0>>0){continue}}break}q[b+144>>2]=d;if(!(i&255)){c=3;break b}a=q[q[b+172>>2]>>2];if(!Ta(17992,a)){break a}c=n[q[b+296>>2]](h,0,a,q[q[b+176>>2]>>2])|0;if(c){break b}c=n[q[b+296>>2]](h,1,q[q[b+224>>2]>>2],q[q[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=n[q[b+296>>2]](h,2,q[a+q[b+172>>2]>>2],q[a+q[b+176>>2]>>2])|0;if(c){break b}c=n[q[b+296>>2]](h,3,q[a+q[b+224>>2]>>2],q[a+q[b+228>>2]>>2])|0;if(c){break b}c=n[q[b+192>>2]](l,g,q[q[b+276>>2]>>2],q[q[b+280>>2]>>2])|0;if(c){break b}c=n[q[b+244>>2]](k,g,q[q[b+276>>2]+4>>2],q[q[b+280>>2]+4>>2])|0;if(c){break b}c=n[q[b+192>>2]](l,0,q[q[b+276>>2]+8>>2],q[q[b+280>>2]+8>>2])|0;if(c){break b}c=n[q[b+244>>2]](k,0,q[q[b+276>>2]+12>>2],q[q[b+280>>2]+12>>2])|0;if(!c){break a}}q[b+12>>2]=c}}function uD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){i=q[a+100>>2];f=q[a+540>>2];if(f){n[q[f+12>>2]](a)}c=q[a+712>>2];if(c){f=q[c+8>>2];e=q[c+108>>2];if(e){d=q[e+28>>2];b=c+140|0;if(q[b>>2]){zb(e,b)}b=q[c+136>>2];if(b){n[q[d+8>>2]](d,b)}q[c+140>>2]=0;q[c+132>>2]=0;q[c+136>>2]=0;q[c+124>>2]=0;q[c+128>>2]=0;q[c+116>>2]=0;q[c+120>>2]=0;q[c+108>>2]=0;q[c+112>>2]=0}e=q[c+1240>>2];if(e){d=q[e+28>>2];b=c+1272|0;if(q[b>>2]){zb(e,b)}b=q[c+1268>>2];if(b){n[q[d+8>>2]](d,b)}b=c+1240|0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}e=q[c+36>>2];if(e){d=q[e+28>>2];b=c+68|0;if(q[b>>2]){zb(e,b)}b=q[c- -64>>2];if(b){n[q[d+8>>2]](d,b)}q[c+68>>2]=0;q[c+60>>2]=0;q[c+64>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0}e=q[c+1204>>2];if(e){d=q[e+28>>2];b=c+1236|0;if(q[b>>2]){zb(e,b)}b=q[c+1232>>2];if(b){n[q[d+8>>2]](d,b)}b=c+1204|0;q[b+32>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}b=q[c+2024>>2];if(b){while(1){g=q[((h<<2)+c|0)+2028>>2];if(g){e=q[g+608>>2];if(e){d=q[e+28>>2];b=g+640|0;if(q[b>>2]){zb(e,b)}b=q[g+636>>2];if(b){n[q[d+8>>2]](d,b)}q[g+640>>2]=0;q[g+632>>2]=0;q[g+636>>2]=0;q[g+624>>2]=0;q[g+628>>2]=0;q[g+616>>2]=0;q[g+620>>2]=0;q[g+608>>2]=0;q[g+612>>2]=0}b=f;d=q[g+644>>2];if(d){n[q[b+8>>2]](b,d)}q[g+644>>2]=0;d=q[g+572>>2];if(d){n[q[b+8>>2]](b,d)}q[g+572>>2]=0;d=q[g+580>>2];if(d){n[q[b+8>>2]](b,d)}q[g+580>>2]=0;b=q[g+592>>2];if(b){n[q[f+8>>2]](f,b)}q[g+592>>2]=0;b=q[c+2024>>2]}h=h+1|0;if(h>>>0>>0){continue}break}b=q[c+2028>>2];if(b){n[q[f+8>>2]](f,b)}q[c+2028>>2]=0}q[c+144>>2]=0;q[c+148>>2]=0;q[c+152>>2]=0;h=q[q[c+4>>2]+28>>2];e=h;d=c+1192|0;b=q[d>>2];if(b){n[q[e+8>>2]](e,b)}q[d>>2]=0;q[d+4>>2]=0;d=c+1188|0;b=q[d>>2];if(b){n[q[h+8>>2]](h,b)}q[c+1180>>2]=0;q[c+1184>>2]=0;q[d>>2]=0;go(c+3112|0,f);h=c+1980|0;e=q[h>>2];if(e){d=q[e+28>>2];b=c+2012|0;if(q[b>>2]){zb(e,b)}b=q[c+2008>>2];if(b){n[q[d+8>>2]](d,b)}q[h+32>>2]=0;q[h+24>>2]=0;q[h+28>>2]=0;q[h+16>>2]=0;q[h+20>>2]=0;q[h+8>>2]=0;q[h+12>>2]=0;q[h>>2]=0;q[h+4>>2]=0}b=f;e=c+2016|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1944|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1952|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;e=c+1964|0;d=q[e>>2];if(d){n[q[b+8>>2]](b,d)}q[e>>2]=0;d=c+3060|0;if(q[d>>2]){zb(q[c+4>>2],d)}o[c+3052|0]=0;q[c+3056>>2]=0;q[c+3064>>2]=0;d=q[c+3092>>2];if(d){n[q[b+8>>2]](b,d)}q[c+3092>>2]=0;d=q[c+1348>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1348>>2]=0;d=q[c+1352>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1352>>2]=0;d=q[c+1360>>2];if(d){n[q[b+8>>2]](b,d)}q[c+1360>>2]=0;b=q[c+1364>>2];if(b){n[q[f+8>>2]](f,b)}q[c+1364>>2]=0;b=q[c+3108>>2];if(b){n[b](q[c+3104>>2]);b=q[c+3104>>2];if(b){n[q[f+8>>2]](f,b)}q[c+3104>>2]=0}b=q[c+3132>>2];if(b){n[q[f+8>>2]](f,b)}q[c+3132>>2]=0;f=q[a+712>>2];if(f){n[q[i+8>>2]](i,f)}q[a+712>>2]=0}f=q[a+548>>2];if(f){n[q[f+44>>2]](a)}q[a+736>>2]=0}}function Qn(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=Da-16|0;Da=k;e=q[a+72>>2];n=q[a+64>>2];h=q[a+68>>2];a:{if(!c){break a}d=q[a>>2];if(d>>>0>2){break a}b:{c:{d:{e:{f:{g:{switch(d-1|0){default:if(Xa(q[a+164>>2],2)){break f}if((Gj(q[a+164>>2],k+12|0,1)|0)!=1){break f}f=r[k+12|0];q[a+44>>2]=f&128;j=f&31;q[a+40>>2]=j;d=1<>2]=d+ -256;if(j>>>0>16){break f}q[a+52>>2]=9;q[a+56>>2]=f>>>7;q[a+60>>2]=j>>>0>9?256:d+ -255|0;e=0;d=hj(a);if(d>>>0>255){break f}if(b){o[b|0]=d}if(c>>>0<2){break e}j=1;q[a>>2]=1;h=d;n=d;break;case 1:break d;case 0:break g}}d=0;break c}j=0;break b}j=1;h=d;n=d;break a}d=1}while(1){if(!d){d=hj(a);if((d|0)<0){break b}h:{i:{j:{while(1){if((d|0)!=256){break j}if(!q[a+44>>2]){break i}o[a+32|0]=1;n=0;q[a+56>>2]=0;h=0;d=hj(a);if((d|0)>=0){continue}break}break b}f=d;if(d>>>0<256){break h}}f=d;i=d+ -256|0;e=q[a+56>>2];if(i>>>0>=e>>>0){if(i>>>0>e>>>0){e=d;break b}e=q[a+92>>2];g=q[a+96>>2];k:{if(e>>>0>>0){g=q[a+88>>2];break k}f=((g>>>1|0)+g|0)+4|0;i=q[a+168>>2];l:{m:{n:{o:{l=q[a+88>>2];if((l|0)!=(a+100|0)){e=65536;if(f>>>0>65536){break o}e=f;break n}l=0;q[a+88>>2]=0;e=f>>>0<65536?f:65536;g=0;break n}if((g|0)==65536){break m}}g=Oa(i,1,g,e,l,k+12|0);q[a+88>>2]=g;if(!q[k+12>>2]){break l}}e=d;break b}q[a+96>>2]=e;e=q[a+92>>2]}q[a+92>>2]=e+1;o[e+g|0]=h;f=n;if(f>>>0<256){break h}}m=a+100|0;e=q[a+76>>2];while(1){if(!e){e=d;break b}e=q[a+92>>2];g=q[a+96>>2];p:{if(e>>>0>>0){g=q[a+88>>2];break p}e=((g>>>1|0)+g|0)+4|0;i=q[a+168>>2];q:{l=q[a+88>>2];r:{s:{if((m|0)!=(l|0)){if(e>>>0<=65536){break s}e=65536;if((g|0)==65536){break r}break s}l=0;q[a+88>>2]=0;e=e>>>0<65536?e:65536;g=0}g=Oa(i,1,g,e,l,k+12|0);q[a+88>>2]=g;if(!q[k+12>>2]){break q}}e=d;break b}q[a+96>>2]=e;e=q[a+92>>2]}i=f+ -256|0;f=r[i+q[a+80>>2]|0];q[a+92>>2]=e+1;o[e+g|0]=f;e=q[a+76>>2];f=s[e+(i<<1)>>1];if(f>>>0>255){continue}break}}h=q[a+92>>2];e=q[a+96>>2];t:{if(h>>>0>>0){e=q[a+88>>2];break t}i=((e>>>1|0)+e|0)+4|0;m=q[a+168>>2];u:{v:{w:{x:{l=q[a+88>>2];if((l|0)!=(a+100|0)){h=65536;if(i>>>0>65536){break x}h=i;break w}l=0;q[a+88>>2]=0;h=i>>>0<65536?i:65536;e=0;break w}if((e|0)==65536){break v}}e=Oa(m,1,e,h,l,k+12|0);q[a+88>>2]=e;if(!q[k+12>>2]){break u}}h=f;e=d;break b}q[a+96>>2]=h;h=q[a+92>>2]}q[a+92>>2]=h+1;o[e+h|0]=f;q[a>>2]=2;h=f;e=d;d=1;continue}y:{if(b){while(1){d=q[a+92>>2];if(!d){break y}d=d+ -1|0;q[a+92>>2]=d;o[b+j|0]=r[d+q[a+88>>2]|0];j=j+1|0;if((j|0)!=(c|0)){continue}break}j=c;break a}d=q[a+92>>2];while(1){if(!d){break y}d=d+ -1|0;q[a+92>>2]=d;j=j+1|0;if((j|0)!=(c|0)){continue}break}j=c;break a}d=q[a+56>>2];if(d>>>0>2]){m=q[a+84>>2];if(d>>>0>=m>>>0){i=m?m+(m>>>2|0)|0:512;f=Oa(q[a+168>>2],3,m,i,q[a+76>>2],k+12|0);q[a+76>>2]=f;if(q[k+12>>2]){break b}d=f+(i<<1)|0;q[a+80>>2]=d;sb(d,f+(m<<1)|0,m);q[a+84>>2]=i;d=q[a+56>>2]}p[q[a+76>>2]+(d<<1)>>1]=n;o[q[a+80>>2]+d|0]=h;q[a+56>>2]=q[a+56>>2]+1}q[a>>2]=1;n=e;d=0;continue}}q[a>>2]=3}q[a+72>>2]=e;q[a+68>>2]=h;q[a+64>>2]=n;Da=k+16|0;return j}function rT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=q[a+76>>2];if(g){i=q[a+88>>2];a=0;while(1){f=w(a,20)+i|0;e=s[f+16>>1];if((e&31)==12){c=e>>>8|0;a:{if(e>>>0>51199){b=c;break a}b:{c:{b=q[f>>2];if((b&-256)==3584){if(!c){d=0;c=b+ -3633|0;if(c>>>0>156){break b}d:{switch(c-1|0){case 127:case 130:case 131:case 132:case 133:case 137:case 154:case 155:d=230;break b;case 138:break d;case 0:case 1: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 22:case 23:case 24:case 25: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 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 123:case 124:case 125:case 126:case 128:case 129:case 134:case 135:case 136: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:break b;default:break c}}d=220;break b}d=222;if((b|0)==3642){break b}}h=c+ -3|0;if(h>>>0>129){d=c;break b}b=220;d=c;e:{switch(h-1|0){case 9:b=214;break a;case 6:b=232;break a;case 7:case 10:b=228;break a;case 22:case 23:case 24:case 25:case 27:case 28:case 30:case 31:case 32:b=230;break a;default:b=222;break a;case 103:b=232;break a;case 118:case 128:break e;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 26:case 29:case 114:case 125:case 127:break a;case 0:case 1:case 2:case 3:case 4:case 5:case 8: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 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 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 115:case 116:case 117:case 119:case 120:case 121:case 122:case 123:case 124:case 126:break b}}b=230;break a}d=232}b=d}p[f+16>>1]=e&255|b<<8}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}function Dp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,u=0;i=Da-16|0;Da=i;a:{b:{c:{d:{e:{f:{k=q[b+8>>2];if(k+3>>>0>=t[b+4>>2]){break f}o=q[a>>2];e=q[b+20>>2];if(e){if((n[e](b,k,i+10|0,4)|0)!=4){break f}e=q[b+8>>2];f=i+10|0;break e}e=q[b>>2];if(e){f=e+k|0;e=k;break e}q[b+8>>2]=k+4;g=2;break d}f=85;break a}f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);j=e+4|0;q[b+8>>2]=j;g=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break d}g=q[b+4>>2];if(e+5>>>0>=g>>>0){break b}g:{h:{i:{f=q[b+20>>2];j:{if(f){if((n[f](b,j,i+14|0,2)|0)!=2){break b}g=q[b+20>>2];j=q[b+8>>2];e=i+14|0;break j}f=q[b>>2];if(!f){break i}g=0;e=f+j|0}f=r[e+1|0];h=r[e|0];q[b+8>>2]=j+2;e=j+8|0;p=f|h<<8;if(!g){g=q[b+4>>2];break h}f=85;if(!n[g](b,e,0,0)){break g}break a}q[b+8>>2]=e+6;e=e+12|0}f=85;if(g>>>0>>0){break a}}q[b+8>>2]=e;f=142;if(!p){break a}l=(c|0)>0?c&65535:c;m=-1;while(1){g=q[b+4>>2];if(e+3>>>0>=g>>>0){break c}k:{l:{m:{n:{c=q[b+20>>2];o:{if(c){if((n[c](b,e,i+10|0,4)|0)!=4){break c}g=q[b+20>>2];e=q[b+8>>2];c=i+10|0;break o}c=q[b>>2];if(!c){break n}g=0;c=c+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);q[b+8>>2]=e+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=e+8|0;if(!g){g=q[b+4>>2];break m}if(!n[g](b,c,0,0)){break l}f=85;break a}q[b+8>>2]=e+4;c=e+8|0;j=0}if(g>>>0>=c>>>0){break k}f=85;break a}g=q[b+4>>2]}q[b+8>>2]=c;p:{q:{r:{if(e+11>>>0>=g>>>0){break r}e=q[b+20>>2];s:{if(e){if((n[e](b,c,i+10|0,4)|0)!=4){break r}g=q[b+4>>2];c=q[b+8>>2];e=i+10|0;break s}e=q[b>>2];if(!e){break q}e=c+e|0}e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break p}f=85;break a}e=0}h=e;e=c+4|0;q[b+8>>2]=e;t:{u:{v:{if(c+7>>>0>=g>>>0){break v}c=q[b+20>>2];w:{if(c){if((n[c](b,e,i+10|0,4)|0)!=4){break v}e=q[b+8>>2];c=i+10|0;break w}c=q[b>>2];if(!c){break u}c=c+e|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break t}f=85;break a}c=0}e=e+4|0;q[b+8>>2]=e;x:{y:{if((j|0)!=1415139377){if((j|0)!=1128875040){break y}c=c+ -22|0;h=h+22|0;s=1;if((l|0)<0){break x}m=m+1|0;break y}c=c+ -24|0;h=h+24|0;s=0;if((l|0)<0){break x}m=m+1|0}if((l|0)==(m|0)?(l|0)>=0:0){break x}u=u+1|0;if((p|0)==(u|0)){break a}continue}break}f=8;e=q[b+4>>2];if(e>>>0>>0|c>>>0>e-h>>>0){break a}g=h+k|0;h=q[b+20>>2];z:{if(h){f=85;if(!n[h](b,g,0,0)){break z}break a}f=85;if(e>>>0>>0){break a}}q[b+8>>2]=g;e=0;A:{if((c|0)<=0){f=6;if(!c){break A}break a}e=n[q[o+4>>2]](o,c)|0;if(!e){f=64;break a}Na(e,0,c);g=q[b+8>>2]}B:{f=q[b+4>>2];if(f>>>0>g>>>0){h=q[b+20>>2];C:{if(h){f=n[h](b,g,e,c)|0;break C}f=f-g|0;f=f>>>0>c>>>0?c:f;Qa(e,q[b>>2]+g|0,f)}q[b+8>>2]=f+g;if(f>>>0>=c>>>0){break B}}f=85;if(!e){break a}n[q[o+8>>2]](o,e);break a}g=Dj(a,e,c,l>>31&l,s?4280:4284,d);f=g;if((f&255)!=2){break a}}a=q[b+20>>2];D:{if(a){f=85;if(!n[a](b,k,0,0)){break D}break a}f=85;if(t[b+4>>2]>>0){break a}}q[b+8>>2]=k;f=g;break a}f=85;break a}f=85}Da=i+16|0;return f}function bp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;a:{b:{c=q[a+4>>2];if(c&1){break b}if(!(c&3)){break a}c=q[a>>2];b=c+b|0;a=a-c|0;if((a|0)!=q[161269]){if(c>>>0<=255){e=c>>>3|0;c=q[a+8>>2];d=q[a+12>>2];if((d|0)==(c|0)){i=645056,j=q[161264]&_$(-2,e),q[i>>2]=j;break b}q[c+12>>2]=d;q[d+8>>2]=c;break b}h=q[a+24>>2];c=q[a+12>>2];c:{if((c|0)!=(a|0)){d=q[a+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break c}d:{d=a+20|0;e=q[d>>2];if(e){break d}d=a+16|0;e=q[d>>2];if(e){break d}c=0;break c}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break b}d=q[a+28>>2];e=(d<<2)+645360|0;e:{if(q[e>>2]==(a|0)){q[e>>2]=c;if(c){break e}i=645060,j=q[161265]&_$(-2,d),q[i>>2]=j;break b}q[h+(q[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}q[c+24>>2]=h;d=q[a+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[a+20>>2];if(!d){break b}q[c+20>>2]=d;q[d+24>>2]=c;break b}c=q[f+4>>2];if((c&3)!=3){break b}q[161266]=b;q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[f>>2]=b;return}c=q[f+4>>2];f:{if(!(c&2)){if(q[161270]==(f|0)){q[161270]=a;b=q[161267]+b|0;q[161267]=b;q[a+4>>2]=b|1;if(q[161269]!=(a|0)){break a}q[161266]=0;q[161269]=0;return}if(q[161269]==(f|0)){q[161269]=a;b=q[161266]+b|0;q[161266]=b;q[a+4>>2]=b|1;q[a+b>>2]=b;return}b=(c&-8)+b|0;g:{if(c>>>0<=255){e=c>>>3|0;c=q[f+8>>2];d=q[f+12>>2];if((d|0)==(c|0)){i=645056,j=q[161264]&_$(-2,e),q[i>>2]=j;break g}q[c+12>>2]=d;q[d+8>>2]=c;break g}h=q[f+24>>2];c=q[f+12>>2];h:{if((f|0)!=(c|0)){d=q[f+8>>2];q[d+12>>2]=c;q[c+8>>2]=d;break h}i:{d=f+20|0;e=q[d>>2];if(e){break i}d=f+16|0;e=q[d>>2];if(e){break i}c=0;break h}while(1){g=d;c=e;d=c+20|0;e=q[d>>2];if(e){continue}d=c+16|0;e=q[c+16>>2];if(e){continue}break}q[g>>2]=0}if(!h){break g}d=q[f+28>>2];e=(d<<2)+645360|0;j:{if(q[e>>2]==(f|0)){q[e>>2]=c;if(c){break j}i=645060,j=q[161265]&_$(-2,d),q[i>>2]=j;break g}q[h+(q[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break g}}q[c+24>>2]=h;d=q[f+16>>2];if(d){q[c+16>>2]=d;q[d+24>>2]=c}d=q[f+20>>2];if(!d){break g}q[c+20>>2]=d;q[d+24>>2]=c}q[a+4>>2]=b|1;q[a+b>>2]=b;if(q[161269]!=(a|0)){break f}q[161266]=b;return}q[f+4>>2]=c&-2;q[a+4>>2]=b|1;q[a+b>>2]=b}if(b>>>0<=255){c=b>>>3|0;b=(c<<3)+645096|0;d=q[161264];c=1<>2]}q[b+8>>2]=a;q[c+12>>2]=a;q[a+12>>2]=b;q[a+8>>2]=c;return}q[a+16>>2]=0;q[a+20>>2]=0;d=a;e=b>>>8|0;c=0;l:{if(!e){break l}c=31;if(b>>>0>16777215){break l}g=e+1048320>>>16&8;e=e<>>16&4;f=e<>>16&2;c=(f<>>15|0)-(e|(c|g))|0;c=(c<<1|b>>>c+21&1)+28|0}q[d+28>>2]=c;e=(c<<2)+645360|0;m:{d=q[161265];g=1<>2]=a;break n}d=b<<((c|0)==31?0:25-(c>>>1|0)|0);c=q[e>>2];while(1){e=c;if((q[c+4>>2]&-8)==(b|0)){break m}c=d>>>29|0;d=d<<1;g=e+(c&4)|0;c=q[g+16>>2];if(c){continue}break}q[g+16>>2]=a}q[a+24>>2]=e;q[a+12>>2]=a;q[a+8>>2]=a;return}b=q[e+8>>2];q[b+12>>2]=a;q[e+8>>2]=a;q[a+24>>2]=0;q[a+12>>2]=e;q[a+8>>2]=b}}function Tm(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;j=r[c+2|0];k=r[c+3|0];d=q[b+4>>2];l=q[d+80>>2];b=r[c+7|0]|r[c+6|0]<<8;if((b|0)!=65535){i=q[a+12>>2]+(b<<1)|0;e=k&31;a:{if(e){b=0;f=q[a+4>>2];if(t[f+20>>2]>i>>>0){break a}g=q[f+24>>2];if(g>>>0>>0|g-i>>>0>>0){break a}g=f;f=q[f+28>>2];q[g+28>>2]=f+ -1;if((f|0)<1){break a}}b=e}rd(d,q[a+8>>2]);n=j&4;b:{if(n|t[d+72>>2]>=t[d+76>>2]){break b}if(!Va(d,0,1)){break b}e=q[d+88>>2]+w(q[d+72>>2],20)|0;h=q[e+4>>2];f=q[d+92>>2]+w(q[d+80>>2],20)|0;q[f>>2]=q[e>>2];q[f+4>>2]=h;q[f+16>>2]=q[e+16>>2];g=q[e+12>>2];q[f+8>>2]=q[e+8>>2];q[f+12>>2]=g;q[d+80>>2]=q[d+80>>2]+1}if(b){f=0;while(1){e=i+(f<<1)|0;g=r[e|0];h=r[e+1|0];c:{if(!Va(d,0,1)){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;break c}m=q[d+76>>2];e=q[d+72>>2];if(!(q[d+80>>2]|(m|0)!=(e|0))){q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;break c}o=h|g<<8;d:{if(e>>>0>>0){g=q[d+80>>2];h=q[d+92>>2];e=q[d+88>>2]+w(e,20)|0;break d}h=q[d+92>>2];g=q[d+80>>2];e=(h+w(g,20)|0)+ -20|0}m=q[e+4>>2];g=w(g,20)+h|0;q[g>>2]=q[e>>2];q[g+4>>2]=m;q[g+16>>2]=q[e+16>>2];h=q[e+12>>2];q[g+8>>2]=q[e+8>>2];q[g+12>>2]=h;e=q[d+80>>2];q[q[d+92>>2]+w(e,20)>>2]=o;q[d+80>>2]=e+1}f=f+1|0;if((f|0)!=(b|0)){continue}break}}e:{if(n){break e}e=q[d+72>>2];if(e>>>0>=t[d+76>>2]){break e}q[d+72>>2]=e+1}rd(d,b+l|0);b=q[d+76>>2];e=q[d+72>>2]+1|0;Zc(d,q[a+8>>2],e>>>0>b>>>0?b:e)}if(j&128){q[a+8>>2]=l}b=r[c+5|0]|r[c+4|0]<<8;if((b|0)!=65535){e=q[a+12>>2]+(b<<1)|0;c=(k|j<<8)>>>5&31;f:{if(c){b=0;a=q[a+4>>2];if(t[a+20>>2]>e>>>0){break f}f=q[a+24>>2];if(f>>>0>>0|f-e>>>0>>0){break f}f=a;a=q[a+28>>2];q[f+28>>2]=a+ -1;if((a|0)<1){break f}}b=c}i=q[d+80>>2];k=j&8;g:{if(k|t[d+72>>2]>=t[d+76>>2]){break g}if(!Va(d,0,1)){break g}a=q[d+88>>2]+w(q[d+72>>2],20)|0;g=q[a+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;f=c;q[f>>2]=q[a>>2];q[f+4>>2]=g;q[f+16>>2]=q[a+16>>2];f=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=f;q[d+80>>2]=q[d+80>>2]+1}if(b){f=0;while(1){a=e+(f<<1)|0;c=r[a|0];g=r[a+1|0];h:{if(!Va(d,0,1)){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;break h}a=q[d+72>>2];h=q[d+76>>2];if(!(q[d+80>>2]|(a|0)!=(h|0))){q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;break h}l=g|c<<8;i:{if(a>>>0>>0){g=q[d+80>>2];h=q[d+92>>2];a=q[d+88>>2]+w(a,20)|0;break i}h=q[d+92>>2];g=q[d+80>>2];a=(h+w(g,20)|0)+ -20|0}c=w(g,20)+h|0;g=c;h=q[a+4>>2];q[g>>2]=q[a>>2];q[g+4>>2]=h;q[g+16>>2]=q[a+16>>2];g=q[a+12>>2];q[c+8>>2]=q[a+8>>2];q[c+12>>2]=g;a=q[d+80>>2];q[q[d+92>>2]+w(a,20)>>2]=l;q[d+80>>2]=a+1}f=f+1|0;if((f|0)!=(b|0)){continue}break}}j:{if(k){break j}a=q[d+72>>2];if(a>>>0>=t[d+76>>2]){break j}q[d+72>>2]=a+1}rd(d,i+(j&64?0:b)|0)}}function GR(a,b){a=a|0;b=b|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,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;g=Da-432|0;Da=g;A=q[b+92>>2];q[a+40>>2]=s[b+68>>1];if(!Ne(b,1970170211)){Ts(a,b);d=q[q[a>>2]+12>>2];u=He();d=(d<<3)+278512|0;c=q[d>>2];if((c|0)!=5326){B=a+7496|0;C=a+44|0;while(1){j=d;d=c+273184|0;c=r[d|0];a:{if(!c){break a}x=r[j+4|0]&2?C:B;n=0;i=0;y=1;while(1){c=c&255;if((c|0)!=32){b:{c:{if((c|0)==124){d=d+1|0;break c}d=Ff(d,a,u,g+12|0);if(t[g+12>>2]>1){break b}c=g+428|0;if(c){q[c>>2]=q[u+76>>2]}c=q[u+88>>2];Ge(u,g+428|0);if(!q[g+428>>2]){break b}c=q[c>>2];if(!c){break b}if(Yc(b,c,1)){break b}e=q[b+84>>2];if(p[e+110>>1]<3){break b}c=0;z=p[e+108>>1];d:{if((z|0)<1){f=0;break d}D=q[e+120>>2];m=q[e+112>>2];e=-1;v=0;f=0;while(1){l=p[(v<<1)+D>>1];e:{if((c|0)>=(l|0)){break e}k=s[j+4>>1];h=k&1;if(k&2){if(h){while(1){h=q[m+(c<<3)>>2];k=(e|0)<0|(h|0)>(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break e}}while(1){h=q[m+(c<<3)>>2];k=(e|0)<0|(h|0)<(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break}break e}if(h){while(1){h=q[(m+(c<<3)|0)+4>>2];k=(e|0)<0|(h|0)>(f|0);e=k?c:e;f=k?h:f;h=(c|0)==(l|0);c=c+1|0;if(!h){continue}break e}}while(1){h=q[(m+(c<<3)|0)+4>>2];k=(e|0)<0|(h|0)<(f|0);e=k?c:e;f=k?h:f;h=(c|0)!=(l|0);c=c+1|0;if(h){continue}break}}c=l+1|0;v=v+1|0;if((z|0)!=(v|0)){continue}break}}if(y){q[(g+224|0)+(n<<2)>>2]=f;n=n+1|0;break b}q[(g+16|0)+(i<<2)>>2]=f;i=i+1|0}y=0}c=r[d|0];if(c){continue}if(!(i|n)){break a}c=1;if(n>>>0>=2){while(1){f=q[(g+224|0)+(c<<2)>>2];d=c;while(1){e=d+ -1|0;l=(g+224|0)+(e<<2)|0;m=q[l>>2];if((f|0)<(m|0)){q[(g+224|0)+(d<<2)>>2]=m;q[l>>2]=f;d=e;if(d){continue}}break}c=c+1|0;if((n|0)!=(c|0)){continue}break}}c=1;if(i>>>0>=2){while(1){f=q[(g+16|0)+(c<<2)>>2];d=c;while(1){e=d+ -1|0;l=(g+16|0)+(e<<2)|0;m=q[l>>2];if((f|0)<(m|0)){q[(g+16|0)+(d<<2)>>2]=m;q[l>>2]=f;d=e;if(d){continue}}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}d=q[x+216>>2];q[x+216>>2]=d+1;d=w(d,28)+x|0;c=d;f:{g:{if(!(!i|!n)){f=q[(g+224|0)+(n<<1&-4)>>2];q[d+220>>2]=f;i=q[(g+16|0)+(i<<1&-4)>>2];q[c+232>>2]=i;if((f|0)==(i|0)){break g}e=s[j+4>>1];if((e&1)==((i|0)<(f|0)|0)){break f}h=c;c=(f+i|0)/2|0;q[h+232>>2]=c;q[d+220>>2]=c;break f}e=c;c=q[((i?i:n)<<1&-4)+(i?g+16|0:g+224|0)>>2];q[e+232>>2]=c;q[d+220>>2]=c}e=s[j+4>>1]}q[d+244>>2]=e<<1&2}else{c=r[d+1|0];d=d+1|0;continue}break}}d=j+8|0;c=q[j+8>>2];if((c|0)!=5326){continue}break}}Xd(u);e=0;q[g+240>>2]=q[72328];d=q[72327];q[g+232>>2]=q[72326];q[g+236>>2]=d;d=q[72325];q[g+224>>2]=q[72324];q[g+228>>2]=d;d=g+224|0;f=He();c=0;h:{while(1){d=Ff(d,a,f,g+428|0);i:{if(t[g+428>>2]>1){break i}j=g+16|0;if(j){q[j>>2]=q[f+76>>2]}j=q[f+88>>2];i=Ge(f,g+16|0);if(!q[g+16>>2]|!q[j>>2]){break i}j=q[i>>2];if(!e){e=1;c=j;break i}if((c|0)==(j|0)){break i}d=0;break h}if(r[d|0]){continue}break}d=1}Xd(f);o[a+32|0]=d}$d(b,A);Da=g+432|0;return 0}function xT(a,b,c){a=a|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=Da-32|0;Da=g;a:{if(r[c+16|0]&16){break a}d=q[c+76>>2];if(!d){break a}f=q[c+88>>2];a=0;while(1){if((r[(f+w(a,20)|0)+15|0]&15)!=2){a=a+1|0;if((d|0)!=(a|0)){continue}break a}break}q[g+28>>2]=0;a=q[b+72>>2];if(!n[q[a+156>>2]](b,q[b+76>>2],9676,g+28|0,q[a+20>>2])){break a}q[g+20>>2]=0;q[g+24>>2]=0;q[g+12>>2]=0;q[g+16>>2]=0;q[g+8>>2]=9676;Et(g+8|0);j=q[g+28>>2];q[g+8>>2]=j;if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}q[c+72>>2]=0;b:{if(!q[c+76>>2]){break b}h=q[g+24>>2];a=0;b=0;while(1){if(!r[c+68|0]){break b}e=q[c+88>>2];f=e+w(a,20)|0;d=r[f+15|0];c:{if(!((d|0)==(b|0)|(d&15)!=2)){p[g+4>>1]=s[g+20>>1];o[g+6|0]=r[g+22|0];b=q[f+4>>2];f=q[f+8>>2];if(Va(c,0,1)){a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a+8>>2]=f;q[a+4>>2]=b;q[a>>2]=j;p[a+12>>1]=s[g+4>>1];o[a+14|0]=r[g+6|0];q[a+16>>2]=h;o[a+15|0]=d;q[c+80>>2]=q[c+80>>2]+1}b=d;break c}if(r[c+69|0]){f=c;d:{if((e|0)==q[c+92>>2]){d=a;if(q[c+80>>2]==(a|0)){break d}}if(!Va(c,1,1)){break c}d=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[d+4>>2];a=q[c+92>>2]+w(q[c+80>>2],20)|0;q[a>>2]=q[d>>2];q[a+4>>2]=e;q[a+16>>2]=q[d+16>>2];e=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=e;a=q[c+72>>2];d=q[c+80>>2]}q[f+80>>2]=d+1}q[c+72>>2]=a+1}a=q[c+72>>2];if(a>>>0>2]){continue}break}}Kc(c)}j=q[c+76>>2];if(j){b=j+ -1|0;a=0;d=q[c+88>>2];f=r[d+15|0];while(1){e:{if((a|0)==(b|0)){a=j;break e}a=a+1|0;if((f|0)==r[(d+w(a,20)|0)+15|0]){continue}}break}i=q[c+88>>2];d=r[i+15|0];e=j;b=0;while(1){f=a;a=d&15;if(!(a>>>0>2|!(a-1))){h=0;d=b;a=d;k=a+3|0;f:{if(k>>>0>f>>>0){break f}a=b;e=w(a,20)+i|0;if(r[e+18|0]!=16){break f}a=b;if(r[e+38|0]!=18){break f}a=r[e+58|0]==4;h=a?3:0;a=a?k:b}g:{if(a>>>0>=f>>>0){break g}while(1){h:{d=w(a,20)+i|0;if(r[d+12|0]&32){break h}d=r[d+18|0];if(d>>>0>31|!(1<>>0>a>>>0){while(1){o[(w(e,20)+i|0)+19|0]=5;e=e+1|0;if((h|0)!=(e|0)){continue}break}a=h}if(a>>>0>>0){while(1){o[(w(a,20)+i|0)+19|0]=3;a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}if(a>>>0>>0){o[(w(a,20)+i|0)+19|0]=4;a=a+1|0}d=5;if(a>>>0>>0){while(1){k=w(a,20)+i|0;l=k;h=3;e=r[k+18|0];i:{j:{if((e|0)==22){break j}if(r[l+19|0]<4){break i}if((e|0)==30){h=r[k+ -1|0];break j}h=8;if(!((d|0)!=5|(e|0)!=27)){d=8;break j}if((d|0)==8){h=7;d=8;if((e|0)==10){break j}h=(e|0)==27?8:9;d=h;break j}h=d}o[l+19|0]=h}a=a+1|0;if((f|0)!=(a|0)){continue}break}}Xs(c,b,f,558);i=q[c+88>>2];e=q[c+76>>2]}a=f+1|0;b=e>>>0>a>>>0?e:a;d=r[(w(f,20)+i|0)+15|0];a=f;while(1){k:{a=a+1|0;if(a>>>0>=e>>>0){a=b;break k}if(r[(w(a,20)+i|0)+15|0]==(d&255)){continue}}break}b=f;if(f>>>0>>0){continue}break}}a=r[c+164|0];if(a&64){l:{a=a<<24>>24;o[c+164|0]=a&191;if((a|0)>=0){break l}o[c+164|0]=a&63;Da=g+32|0;return}}I(270034,270004,160,270019);F()}function ju(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,p=0;m=w(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){e=w(b>>>1|0,c)+a|0;d=q[e+4>>2];g=a+c|0;h=q[g+4>>2];f=Ra(q[g>>2],q[e>>2],h>>>0>d>>>0?d:h);k=((f?f:h-d|0)|0)>0;d=k?g:e;i=w(b+ -1|0,c);h=i+a|0;f=h+n|0;l=q[f>>2];b=q[f+4>>2];j=q[d+4>>2];p=Ra(q[d>>2],l,j>>>0>b>>>0?b:j);if(((p?p:j-b|0)|0)>=1){d=k?e:g;e=q[d+4>>2];g=d;d=Ra(q[d>>2],l,e>>>0>b>>>0?b:e);d=((d?d:e-b|0)|0)>0?g:f}if(!((d|0)==(h|0)|(c|0)<1)){e=c+d|0;b=h;while(1){g=r[d|0];o[d|0]=r[b|0];o[b|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}a:{if((i|0)<1){e=h;g=e;j=a;break a}g=h;e=h;j=a;i=j;b:while(1){if(i>>>0>=e>>>0){break a}while(1){k=q[i>>2];b=q[h>>2];d=q[h+4>>2];f=q[i+4>>2];l=Ra(k,b,f>>>0>d>>>0?d:f);f=l?l:f-d|0;if((f|0)>=1){f=e;c:{if(i>>>0>=e>>>0){break c}while(1){d:{e:{e=f+n|0;l=q[e>>2];k=b;b=q[e+4>>2];k=Ra(l,k,b>>>0>d>>>0?d:b);b=k?k:b-d|0;if(!b){k=g+n|0;if((c|0)<1|f>>>0>=g>>>0){break e}o[e|0]=r[k|0];o[k|0]=l;d=k;b=e+1|0;if(b>>>0>=f>>>0){break e}while(1){g=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=g;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break e}if((b|0)>-1){break d}f:{if((c|0)<1|i>>>0>=e>>>0){break f}b=r[i|0];o[i|0]=l;o[e|0]=b;if((c|0)==1){break f}f=c+i|0;d=i+1|0;b=e;while(1){k=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=k;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}i=c+i|0;break c}g=k}if(i>>>0>=e>>>0){break c}b=q[h>>2];d=q[h+4>>2];f=e;continue}}if(i>>>0>>0){continue b}break a}if(!f){g:{if((c|0)<1|j>>>0>=i>>>0){break g}b=r[j|0];o[j|0]=k;o[i|0]=b;if((c|0)==1){break g}f=c+j|0;d=j+1|0;b=i;while(1){k=r[d|0];o[d|0]=r[b+1|0];o[b+1|0]=k;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}j=c+j|0}i=c+i|0;if(i>>>0>>0){continue}break}break}}b=j-a|0;h=e-j|0;h:{if(!b|!h){break h}if(b>>>0>h>>>0){if((h|0)<1){break h}b=a+h|0;d=a;while(1){f=r[d|0];o[d|0]=r[j|0];o[j|0]=f;j=j+1|0;d=d+1|0;if(d>>>0>>0){continue}break}break h}if((b|0)<1){break h}d=a+h|0;b=a;while(1){f=r[b|0];o[b|0]=r[d|0];o[d|0]=f;d=d+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}b=g-e|0;i:{if(!b){break i}d=m-g|0;if(!d){break i}if(b>>>0>d>>>0){if((d|0)<1){break i}d=d+e|0;while(1){f=r[e|0];o[e|0]=r[g|0];o[g|0]=f;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break i}if((b|0)<1){break i}d=d+e|0;while(1){f=r[e|0];o[e|0]=r[d|0];o[d|0]=f;d=d+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}ju(a,(h>>>0)/(c>>>0)|0,c);a=m-b|0;b=(b>>>0)/(c>>>0)|0;m=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){f=0-c|0;while(1){e=g;j:{if(e>>>0<=a>>>0){break j}while(1){h=e;e=e+f|0;j=q[e>>2];k=q[h>>2];b=q[h+4>>2];d=q[e+4>>2];i=Ra(j,k,d>>>0>b>>>0?b:d);if(((i?i:d-b|0)|0)<1){break j}k:{if((c|0)<1){break k}o[e|0]=k;o[h|0]=j;b=e+1|0;d=h;if(b>>>0>=d>>>0){break k}while(1){j=r[b|0];o[b|0]=r[d+1|0];o[d+1|0]=j;d=d+1|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}if(e>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function Ml(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,r=0,t=0,u=0,v=0,x=0,y=0;c=q[a+36>>2];o=q[a+40>>2];k=q[a+28>>2];p=q[a+24>>2];t=k+w(p,40)|0;a:{if(b){u=8;if((p|0)<=0){break a}a=k;while(1){q[a+24>>2]=q[a+20>>2];q[a+28>>2]=q[a+8>>2];a=a+40|0;if(a>>>0>>0){continue}break}break a}u=4;if((p|0)<1){break a}a=k;while(1){q[a+24>>2]=q[a+16>>2];q[a+28>>2]=q[a+4>>2];a=a+40|0;if(a>>>0>>0){continue}break}}if((c|0)>=1){x=(c<<2)+o|0;while(1){j=q[o>>2];a=j;h=q[a+36>>2];b:{if(a>>>0>h>>>0){break b}while(1){c:{if(s[a>>1]&u){c=a;d:while(1){e=c;e:{if(c>>>0>>0){f=0;c=e+40|0;d=c;if(s[e+40>>1]&u){continue}break e}f=1;d=e+40|0;c=d}if(d>>>0>h>>>0){c=1;break c}f:{while(1){if(s[c>>1]&u){break f}c=c+40|0;if(c>>>0<=h>>>0){continue}break}c=0;break c}n=c+ -40|0;if(d>>>0>n>>>0){continue}f=q[e+28>>2]>q[c+28>>2];g=f?e:c;i=q[g+24>>2];g=q[g+28>>2];r=i-g|0;e=f?c:e;l=q[e+24>>2];f=q[e+28>>2];v=l-f|0;if((i|0)!=(l|0)?(f|0)!=(g|0):0){y=Za(i-l|0,g-f|0);while(1){e=d;i=q[d+28>>2];g:{if((i|0)<=(f|0)){m=i+v|0;break g}m=i+r|0;if((i|0)>=(g|0)){break g}m=Ma(i-f|0,y)+l|0}q[e+24>>2]=m;d=d+40|0;if(d>>>0<=n>>>0){continue}break}continue}else{while(1){e=q[d+28>>2];q[d+24>>2]=(e|0)>(f|0)?(e|0)<(g|0)?l:e+r|0:e+v|0;d=d+40|0;if(d>>>0<=n>>>0){continue}continue d}}}}a=a+40|0;if(a>>>0<=h>>>0){continue}break b}break}h:{i:{if((a|0)==(e|0)){d=q[a+24>>2]-q[a+28>>2]|0;if(!d){break b}if(j>>>0>>0){break i}break h}j:{if(c|f){break j}f=q[e+28>>2]>q[a+28>>2];g=f?e:a;c=q[g+24>>2];g=q[g+28>>2];n=c-g|0;f=f?a:e;l=q[f+24>>2];f=q[f+28>>2];r=l-f|0;if(!((c|0)!=(l|0)?(f|0)!=(g|0):0)){while(1){c=q[d+28>>2];q[d+24>>2]=(c|0)>(f|0)?(c|0)<(g|0)?l:c+n|0:c+r|0;d=d+40|0;if(d>>>0<=h>>>0){continue}break j}}v=Za(c-l|0,g-f|0);while(1){c=d;m=c;i=q[c+28>>2];k:{if((i|0)<=(f|0)){c=i+r|0;break k}c=i+n|0;if((i|0)>=(g|0)){break k}c=Ma(i-f|0,v)+l|0}q[m+24>>2]=c;d=d+40|0;if(d>>>0<=h>>>0){continue}break}}if(a>>>0<=k>>>0){break b}g=a+ -40|0;if(j>>>0>g>>>0){break b}c=q[e+28>>2]>q[a+28>>2];d=c?e:a;h=q[d+24>>2];d=q[d+28>>2];l=h-d|0;a=c?a:e;e=q[a+24>>2];c=q[a+28>>2];i=e-c|0;if(!((e|0)!=(h|0)?(c|0)!=(d|0):0)){while(1){a=q[j+28>>2];q[j+24>>2]=(a|0)>(c|0)?(a|0)<(d|0)?e:a+l|0:a+i|0;j=j+40|0;if(j>>>0<=g>>>0){continue}break b}}f=Za(h-e|0,d-c|0);while(1){a=j;m=a;h=q[a+28>>2];l:{if((h|0)<=(c|0)){a=h+i|0;break l}a=h+l|0;if((h|0)>=(d|0)){break l}a=Ma(h-c|0,f)+e|0}q[m+24>>2]=a;j=j+40|0;if(j>>>0<=g>>>0){continue}break}break b}while(1){q[j+24>>2]=d+q[j+28>>2];j=j+40|0;if(j>>>0>>0){continue}break}}c=a+40|0;if(c>>>0>h>>>0){break b}while(1){q[a- -64>>2]=d+q[a+68>>2];a=c;c=a+40|0;if(c>>>0<=h>>>0){continue}break}}o=o+4|0;if(o>>>0>>0){continue}break}}m:{if(b){if((p|0)<=0){break m}while(1){q[k+20>>2]=q[k+24>>2];k=k+40|0;if(k>>>0>>0){continue}break}break m}if((p|0)<1){break m}while(1){q[k+16>>2]=q[k+24>>2];k=k+40|0;if(k>>>0>>0){continue}break}}}function wS(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,p=0;f=Da-48|0;Da=f;l=eb(q[a+28>>2]);a:{if(!q[a>>2]){g=q[a+4>>2];if((g|0)<=-1){break a}e=a;b:{if(g){g=q[a+16>>2];d=0;break b}q[a+4>>2]=20;g=db(q[a+16>>2],2880);q[a+16>>2]=g;d=q[a>>2]}q[e>>2]=d+1;e=g;g=w(d,144);Na(e+g|0,0,144);g=g+q[a+16>>2]|0;n=g,p=eb(2777),q[n>>2]=p;h=eb(2785);q[g+116>>2]=20;q[g+104>>2]=2;q[g+96>>2]=0;q[g+100>>2]=1074266112;q[g+88>>2]=0;q[g+92>>2]=1073741824;q[g+80>>2]=1;q[g+64>>2]=0;q[g+68>>2]=0;q[g+56>>2]=0;q[g+60>>2]=1072693248;q[g+48>>2]=0;q[g+52>>2]=1072693248;q[g+32>>2]=200;q[g+24>>2]=0;q[g+28>>2]=128;q[g+16>>2]=-256;q[g+20>>2]=16776960;q[g+8>>2]=0;q[g+12>>2]=1077018624;q[g+4>>2]=h;q[g+108>>2]=20;q[g+112>>2]=20;q[a+76>>2]=d}q[f+44>>2]=l;fd(f+44|0);h=q[f+44>>2];i=r[h|0];c:{if(!i){break c}while(1){g=h;d:{while(1){if(!i){break d}if((i|0)!=44){d=g+1|0;q[f+44>>2]=d;i=r[g+1|0];g=d;continue}break}o[g|0]=0;g=q[f+44>>2]+1|0}nb(f+44|0,h);o[q[f+44>>2]]=0;if(!fb(h,3179)){a=eb(c);q[b+48>>2]=a;e:{if(!r[a|0]){break e}c=(Wa(a)+a|0)+ -1|0;if(c>>>0>>0|r[c|0]!=13){break e}o[c|0]=0}a=q[b+8>>2];c=q[b>>2];g=q[b+12>>2]-(q[b+4>>2]+(a>>>0>>0)|0)|0;q[b+8>>2]=a-c;q[b+12>>2]=g;break c}q[f+44>>2]=c;fd(f+44|0);e=q[f+44>>2];c=e;i=r[e|0];if(!i){break c}f:{while(1){if(!i){break f}if((i|0)!=44){d=c+1|0;q[f+44>>2]=d;i=r[c+1|0];c=d;continue}break}o[c|0]=0;c=q[f+44>>2]+1|0}nb(f+44|0,e);o[q[f+44>>2]]=0;d=fb(h,3184)?h:3188;g:{if(!fb(d,3197)){n=b,p=Bb(e),q[n+20>>2]=p;break g}if(!fb(d,3203)){n=b,p=rP(a,e),q[n+24>>2]=p;break g}if(!fb(d,2772)){d=q[b+28>>2];if(d){La(d)}n=b,p=eb(e),q[n+28>>2]=p;break g}if(!fb(d,3209)){d=q[b+44>>2];if(d){La(d)}n=b,p=eb(e),q[n+44>>2]=p;break g}if(!fb(d,1766)){n=b,p=Bb(e),q[n+32>>2]=p;break g}if(!fb(d,1774)){n=b,p=Bb(e),q[n+36>>2]=p;break g}if(!fb(d,1782)){n=b,p=Bb(e),q[n+40>>2]=p;break g}if(!fb(d,3216)){d=q[a+84>>2];q[f>>2]=f+44;q[f+4>>2]=f+40;q[f+8>>2]=f+36;q[f+12>>2]=f+32;if((kp(e,f)|0)<=3){hb(d,2,3234,0);q[b>>2]=0;q[b+4>>2]=0;break g}d=b;h=q[f+36>>2];e=h;i=e>>31;k=e;h=q[f+40>>2];e=q[f+44>>2];j=V$(e,e>>31,60,0);e=h+j|0;h=Ea+(h>>31)|0;j=V$(e,e>>>0>>0?h+1|0:h,60,0);h=k+j|0;e=Ea+i|0;e=V$(h,h>>>0>>0?e+1|0:e,1e3,0);i=Ea;d=q[f+32>>2];j=V$(d,d>>31,10,0);e=j+e|0;d=Ea+i|0;q[b>>2]=e;q[b+4>>2]=e>>>0>>0?d+1|0:d;break g}if(fb(d,3188)){break g}d=q[a+84>>2];q[f+16>>2]=f+44;q[f+20>>2]=f+40;q[f+24>>2]=f+36;q[f+28>>2]=f+32;h=b;k=b;h:{if((kp(e,f+16|0)|0)<=3){hb(d,2,3234,0);d=0;e=0;break h}d=q[f+36>>2];i=d>>31;m=d;d=q[f+40>>2];e=q[f+44>>2];j=V$(e,e>>31,60,0);e=d+j|0;d=Ea+(d>>31)|0;j=V$(e,e>>>0>>0?d+1|0:d,60,0);d=m+j|0;e=Ea+i|0;d=V$(d,d>>>0>>0?e+1|0:e,1e3,0);i=Ea;e=d;d=q[f+32>>2];j=V$(d,d>>31,10,0);e=e+j|0;d=Ea+i|0;d=e>>>0>>0?d+1|0:d}q[k+8>>2]=e;q[h+12>>2]=d}q[f+44>>2]=g;fd(f+44|0);h=q[f+44>>2];i=r[h|0];if(i){continue}break}}La(l);Da=f+48|0;return}I(1428,1465,104,1471);F()}function hl(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;q[e>>2]=0;q[e+4>>2]=0;q[g>>2]=0;q[g+4>>2]=0;a:{u=w(b,40)+a|0;v=u+w(c,40)|0;if((v|0)!=(a|0)){c=i;p=i>>31;while(1){k=q[a+20>>2];b=0;b:{if(q[a+24>>2]){break b}b=0;if(!(k&4)){break b}b=q[a+12>>2]>-1?-1:1}r=a>>>0>=u>>>0;if(k&32){j=q[a+36>>2]<=(i|0)}else{o=q[a+4>>2];m=q[a>>2];j=q[a+12>>2];s=j;l=j>>31;n=V$(j,l,c,p);j=m-n|0;o=o-(Ea+(m>>>0>>0)|0)|0;m=q[(k&2?28:24)+a>>2];n=m;t=m>>31;m=q[a+8>>2];m=V$(n,t,m,m>>31);n=j-m|0;l=(l|0)>0?1:(l|0)>=0?s>>>0<=0?0:1:0;j=o-(Ea+(j>>>0>>0)|0)|0;j=(l?0-(j+(0>>0)|0)|0:j)>>>31^1}c:{d:{if(j){j=r<<2;k=j+h|0;q[k>>2]=b+q[k>>2];if(q[a+32>>2]>=(i|0)){break c}b=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=b;b=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=b;b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[d+36>>2];q[d+36>>2]=(b|0)<(i|0)?b:i;b=e+j|0;q[b>>2]=q[b>>2]+1;break d}if(k&16){j=q[a+32>>2]>=(i|0)}else{o=q[a+4>>2];m=q[a>>2];j=q[a+12>>2];s=j;l=j>>31;n=V$(j,l,c,p);j=m-n|0;o=o-(Ea+(m>>>0>>0)|0)|0;m=q[(k&2?24:28)+a>>2];n=m;t=m>>31;m=q[a+8>>2];m=V$(n,t,m,m>>31);n=j-m|0;l=(l|0)<0?1:(l|0)<=0?s>>>0>=0?0:1:0;j=o-(Ea+(j>>>0>>0)|0)|0;j=(l?0-(j+(0>>0)|0)|0:j)>>>31^1}if(j){j=q[a+36>>2];b=f+32|0;k=q[a+32>>2];q[b>>2]=k;q[b+4>>2]=j;b=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=b;j=q[a+4>>2];l=j;b=q[a>>2];q[f>>2]=b;q[f+4>>2]=j;j=q[a+28>>2];q[f+24>>2]=q[a+24>>2];q[f+28>>2]=j;j=q[a+20>>2];q[f+16>>2]=q[a+16>>2];q[f+20>>2]=j;q[f+36>>2]=q[f+36>>2]-i;k=k-i|0;j=(k|0)>0;q[f+32>>2]=j?k:0;k=q[f+12>>2];k=V$(k,k>>31,c,p);q[f>>2]=b-k;q[f+4>>2]=l-(Ea+(b>>>0>>0)|0);e:{if(j){break e}b=q[f+20>>2];if((b&18)!=18){break e}q[f+20>>2]=b&-5}b=(r<<2)+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0;break c}if(k&2){j=(r<<2)+h|0;q[j>>2]=b+q[j>>2]}b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;k=q[a+36>>2];b=d;j=b+32|0;l=q[a+32>>2];q[j>>2]=l;q[j+4>>2]=k;k=q[a+28>>2];j=b+24|0;q[j>>2]=q[a+24>>2];q[j+4>>2]=k;k=q[a+20>>2];j=b+16|0;q[j>>2]=q[a+16>>2];q[j+4>>2]=k;k=q[a+12>>2];j=b+8|0;q[j>>2]=q[a+8>>2];q[j+4>>2]=k;if(q[b+36>>2]<=(i|0)|(l|0)>=(i|0)){break a}k=q[d+4>>2];j=q[d>>2];q[f>>2]=j;q[f+4>>2]=k;o=q[b+36>>2];l=f+32|0;q[l>>2]=q[b+32>>2];q[l+4>>2]=o;l=q[b+28>>2];q[f+24>>2]=q[b+24>>2];q[f+28>>2]=l;l=q[b+20>>2];q[f+16>>2]=q[b+16>>2];q[f+20>>2]=l;b=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=b;b=q[d+12>>2];q[f+32>>2]=0;q[f+36>>2]=q[f+36>>2]-i;b=V$(b,b>>31,c,p);q[f>>2]=j-b;q[f+4>>2]=k-(Ea+(j>>>0>>0)|0);q[d+36>>2]=i;q[d+20>>2]=q[d+20>>2]&-5;k=q[f+20>>2]&-9;q[f+20>>2]=k;j=d;b=q[j+20>>2];if(b&2){q[d+20>>2]=k;q[f+20>>2]=b;b=q[d+20>>2]}q[j+20>>2]=b|32;q[f+20>>2]=q[f+20>>2]|16;b=r<<2;j=b+e|0;q[j>>2]=q[j>>2]+1;b=b+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((v|0)!=(a|0)){continue}break}}return}I(437366,437145,378,437401);F()}function il(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0;q[e>>2]=0;q[e+4>>2]=0;q[g>>2]=0;q[g+4>>2]=0;a:{u=w(b,40)+a|0;v=u+w(c,40)|0;if((v|0)!=(a|0)){c=i;r=i>>31;while(1){l=q[a+20>>2];b=0;b:{if(q[a+32>>2]){break b}b=0;if(!(l&16)){break b}b=q[a+8>>2]>-1?-1:1}s=a>>>0>=u>>>0;if(l&8){o=q[a+28>>2]<=(i|0)}else{p=q[a+4>>2];m=q[a>>2];j=q[a+8>>2];o=j;k=j>>31;n=V$(j,k,c,r);j=m-n|0;p=p-(Ea+(m>>>0>>0)|0)|0;m=q[(l&2?36:32)+a>>2];n=m;t=m>>31;m=q[a+12>>2];m=V$(n,t,m,m>>31);n=j-m|0;k=(k|0)>0?1:(k|0)>=0?o>>>0<=0?0:1:0;j=p-(Ea+(j>>>0>>0)|0)|0;o=(k?0-(j+(0>>0)|0)|0:j)>>>31^1}c:{d:{if(o){j=s<<2;l=j+h|0;q[l>>2]=b+q[l>>2];if(q[a+24>>2]>=(i|0)){break c}b=q[a+28>>2];q[d+24>>2]=q[a+24>>2];q[d+28>>2]=b;b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;b=q[a+36>>2];q[d+32>>2]=q[a+32>>2];q[d+36>>2]=b;b=q[a+20>>2];q[d+16>>2]=q[a+16>>2];q[d+20>>2]=b;b=q[a+12>>2];q[d+8>>2]=q[a+8>>2];q[d+12>>2]=b;b=q[d+28>>2];q[d+28>>2]=(b|0)>(i|0)?i:b;b=e+j|0;q[b>>2]=q[b>>2]+1;break d}if(l&4){o=q[a+24>>2]>=(i|0)}else{p=q[a+4>>2];m=q[a>>2];j=q[a+8>>2];o=j;k=j>>31;n=V$(j,k,c,r);j=m-n|0;p=p-(Ea+(m>>>0>>0)|0)|0;m=q[(l&2?32:36)+a>>2];n=m;t=m>>31;m=q[a+12>>2];m=V$(n,t,m,m>>31);n=j-m|0;k=(k|0)<0?1:(k|0)<=0?o>>>0>=0?0:1:0;j=p-(Ea+(j>>>0>>0)|0)|0;o=(k?0-(j+(0>>0)|0)|0:j)>>>31^1}if(o){j=q[a+28>>2];b=f+24|0;k=q[a+24>>2];q[b>>2]=k;q[b+4>>2]=j;b=q[a+4>>2];l=q[a>>2];q[f>>2]=l;q[f+4>>2]=b;j=q[a+36>>2];q[f+32>>2]=q[a+32>>2];q[f+36>>2]=j;j=q[a+20>>2];q[f+16>>2]=q[a+16>>2];q[f+20>>2]=j;j=q[a+12>>2];o=q[a+8>>2];q[f+8>>2]=o;q[f+12>>2]=j;q[f+28>>2]=q[f+28>>2]-i;k=k-i|0;m=(k|0)>0;q[f+24>>2]=m?k:0;k=b;b=o;j=b>>31;b=V$(b,j,c,r);q[f>>2]=l-b;q[f+4>>2]=k-(Ea+(l>>>0>>0)|0);e:{if(m){break e}b=q[f+20>>2];if((b&6)!=6){break e}q[f+20>>2]=b&-17}b=(s<<2)+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0;break c}if(l&2){j=(s<<2)+h|0;q[j>>2]=b+q[j>>2]}b=q[a+4>>2];q[d>>2]=q[a>>2];q[d+4>>2]=b;l=q[a+36>>2];b=d;j=b+32|0;q[j>>2]=q[a+32>>2];q[j+4>>2]=l;l=q[a+28>>2];j=b+24|0;k=q[a+24>>2];q[j>>2]=k;q[j+4>>2]=l;l=q[a+20>>2];j=b+16|0;q[j>>2]=q[a+16>>2];q[j+4>>2]=l;l=q[a+12>>2];j=b+8|0;q[j>>2]=q[a+8>>2];q[j+4>>2]=l;if(q[b+28>>2]<=(i|0)|(k|0)>=(i|0)){break a}l=q[d+4>>2];j=q[d>>2];q[f>>2]=j;q[f+4>>2]=l;k=q[b+36>>2];q[f+32>>2]=q[b+32>>2];q[f+36>>2]=k;p=q[b+28>>2];k=f+24|0;q[k>>2]=q[b+24>>2];q[k+4>>2]=p;k=q[b+20>>2];q[f+16>>2]=q[b+16>>2];q[f+20>>2]=k;b=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=b;b=q[d+8>>2];q[f+24>>2]=0;q[f+28>>2]=q[f+28>>2]-i;b=V$(b,b>>31,c,r);q[f>>2]=j-b;q[f+4>>2]=l-(Ea+(j>>>0>>0)|0);q[d+28>>2]=i;q[d+20>>2]=q[d+20>>2]&-17;l=q[f+20>>2]&-33;q[f+20>>2]=l;j=d;b=q[j+20>>2];if(b&2){q[d+20>>2]=l;q[f+20>>2]=b;b=q[d+20>>2]}q[j+20>>2]=b|8;q[f+20>>2]=q[f+20>>2]|4;b=s<<2;j=b+e|0;q[j>>2]=q[j>>2]+1;b=b+g|0;q[b>>2]=q[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((v|0)!=(a|0)){continue}break}}return}I(437312,437145,357,437347);F()}function gq(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=q[a+360>>2];while(1){a:{if(!c){c=q[a+364>>2];if(!c){break a}q[a+364>>2]=0}d=q[c>>2];n[q[a+20>>2]](q[c+36>>2]);b=q[c+44>>2];if(b){while(1){e=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=e;if(b){continue}break}}n[q[a+20>>2]](c);c=d;continue}break}b=q[a+296>>2];while(1){b:{if(!b){b=q[a+300>>2];if(!b){break b}q[a+300>>2]=0}c=q[b+8>>2];n[q[a+20>>2]](b);b=c;continue}break}b=q[a+372>>2];if(b){while(1){c=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=c;if(b){continue}break}}b=q[a+368>>2];if(b){while(1){c=q[b+4>>2];n[q[a+20>>2]](q[b+16>>2]);n[q[a+20>>2]](b);b=c;if(b){continue}break}}b=q[a+412>>2];if(b){while(1){c=q[b>>2];n[q[q[a+432>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+416>>2];if(b){while(1){c=q[b>>2];n[q[q[a+432>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+436>>2];if(b){while(1){c=q[b>>2];n[q[q[a+456>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[a+440>>2];if(b){while(1){c=q[b>>2];n[q[q[a+456>>2]+8>>2]](b);b=c;if(b){continue}break}}n[q[a+20>>2]](q[a+228>>2]);c:{if(r[a+484|0]){break c}d=q[a+352>>2];if(!d){break c}b=q[d+20>>2];f=b+(q[d+28>>2]<<2)|0;g=q[a+472>>2];while(1){if((b|0)!=(f|0)){e=q[b>>2];c=b+4|0;b=c;if(!e){continue}b=c;if(!q[e+16>>2]){continue}n[q[a+20>>2]](q[e+20>>2]);continue}break}c=q[d>>2];e=q[q[d+16>>2]+8>>2];if(q[d+8>>2]){b=0;while(1){n[e](q[(b<<2)+c>>2]);c=q[d>>2];e=q[q[d+16>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[e](c);c=q[q[d+148>>2]+8>>2];e=q[d+132>>2];if(q[d+140>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+132>>2];c=q[q[d+148>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+36>>2]+8>>2];e=q[d+20>>2];if(q[d+28>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+20>>2];c=q[q[d+36>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+56>>2]+8>>2];e=q[d+40>>2];if(q[d+48>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+40>>2];c=q[q[d+56>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);c=q[q[d+76>>2]+8>>2];e=q[d+60>>2];if(q[d+68>>2]){b=0;while(1){n[c](q[(b<<2)+e>>2]);e=q[d+60>>2];c=q[q[d+76>>2]+8>>2];b=b+1|0;if(b>>>0>2]){continue}break}}n[c](e);b=q[d+80>>2];if(b){while(1){c=q[b>>2];n[q[q[d+100>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+84>>2];if(b){while(1){c=q[b>>2];n[q[q[d+100>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+104>>2];if(b){while(1){c=q[b>>2];n[q[q[d+124>>2]+8>>2]](b);b=c;if(b){continue}break}}b=q[d+108>>2];if(b){while(1){c=q[b>>2];n[q[q[d+124>>2]+8>>2]](b);b=c;if(b){continue}break}}if(!g){n[q[a+20>>2]](q[d+184>>2]);n[q[a+20>>2]](q[d+164>>2])}n[q[a+20>>2]](d)}n[q[a+20>>2]](q[a+388>>2]);n[q[a+20>>2]](q[a+460>>2]);n[q[a+20>>2]](q[a+8>>2]);n[q[a+20>>2]](q[a+44>>2]);n[q[a+20>>2]](q[a+392>>2]);n[q[a+20>>2]](q[a+236>>2]);b=q[a+248>>2];if(b){n[b](q[a+240>>2])}n[q[a+20>>2]](a)}}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;h=Da-272|0;Da=h;j=r[a+3|0]|r[a+2|0]<<8;a:{if(j>>>0<=1){if(j-1){break a}g=r[a+1|0]|r[a|0]<<8;kf(b,g,0,0,0);a=q[b+96>>2];c=q[a+92>>2];b:{if((c|0)==q[a+88>>2]){b=q[a+80>>2];f=b;if(q[a+72>>2]==(b|0)){break b}}c=1;if(!Va(a,1,1)){break a}c=q[a+88>>2]+w(q[a+72>>2],20)|0;f=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[a+72>>2];f=q[a+80>>2];c=q[a+92>>2]}q[w(f,20)+c>>2]=g;c=1;q[a+80>>2]=f+1;q[a+72>>2]=b+1;break a}q[h+268>>2]=0;q[h+264>>2]=0;if(!Si(b,j,j>>>0<2?271312:a+4|0,447,0,h+264|0,h,h+268|0)){break a}k=r[a|0]<<8;i=r[a+1|0];d=q[b+96>>2];l=q[h+268>>2];a=q[h+264>>2];if(a>>>0>=2){c=q[d+72>>2];kc(d,c,a+c|0)}g=q[d+88>>2];c=s[(g+w(q[h>>2],20)|0)+12>>1];a=!(c&8);e=!(c&2);f=1;c=1;c:{d:{while(1){if(!(r[(g+w(q[(c<<2)+h>>2],20)|0)+12|0]&8)){break d}c=c+1|0;if((j|0)!=(c|0)){continue}break}f=a;break c}e=1}m=e&f;if((m|0)==1){c=q[d+100>>2];while(1){a=c;c=a+1|0;if(!(a&7)){continue}break}q[d+100>>2]=c;n=a<<5&224}k=i|k;c=m?4:0;a=g+w(q[d+72>>2],20)|0;g=r[a+12|0]&4;e=r[a+14|0];i=e&15;e:{if(!m){break e}o[a+14|0]=l&15|n|16;a=q[d+88>>2]+w(q[d+72>>2],20)|0;l=s[a+16>>1];if((l&31)!=12){break e}p[a+16>>1]=l&224|7}g=g?i:1;i=e&16;kf(b,k,c,1,0);a=q[b+96>>2];c=q[a+92>>2];f:{g:{if((c|0)==q[a+88>>2]){e=q[a+80>>2];b=e;if((b|0)==q[a+72>>2]){break g}}if(!Va(a,1,1)){break f}c=q[a+88>>2]+w(q[a+72>>2],20)|0;e=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;e=q[a+72>>2];b=q[a+80>>2];c=q[a+92>>2]}q[w(b,20)+c>>2]=k;q[a+80>>2]=b+1;q[a+72>>2]=e+1}b=q[d+72>>2];k=1;e=i?g:1;a=e;while(1){g=a;i=q[(k<<2)+h>>2];h:{if(b>>>0>=i>>>0){break h}l=g-e|0;while(1){if(!r[d+68|0]){break h}if(m){b=q[d+88>>2]+w(b,20)|0;a=r[b+14|0];a=a&16?0:a&15;a=a?a:e;o[b+14|0]=l+(a>>>0>e>>>0?e:a)&15|n}i:{if(r[d+69|0]){j:{if(q[d+92>>2]==q[d+88>>2]){c=q[d+80>>2];if((c|0)==q[d+72>>2]){break j}}if(!Va(d,1,1)){b=q[d+72>>2];break i}b=q[d+88>>2]+w(q[d+72>>2],20)|0;c=q[b+4>>2];a=q[d+92>>2]+w(q[d+80>>2],20)|0;q[a>>2]=q[b>>2];q[a+4>>2]=c;q[a+16>>2]=q[b+16>>2];c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;c=q[d+80>>2]}q[d+80>>2]=c+1}b=q[d+72>>2]+1|0;q[d+72>>2]=b}if(b>>>0>>0){continue}break}}i=q[d+88>>2];a=i+w(b,20)|0;c=r[a+14|0];a=s[a+12>>1];b=b+1|0;q[d+72>>2]=b;e=c&16?a&4?c&15:1:1;a=g+e|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}j=c>>>5|0;if(!((j|0)!=0&f)){c=1;break a}if(b>>>0>=t[d+76>>2]){c=1;break a}a=(i+w(b,20)|0)+14|0;f=r[a|0];if((j|0)!=(f>>>5|0)){c=1;break a}while(1){c=f&16?0:f&15;if(!c){c=1;break a}o[a|0]=g+(e>>>0>>0?e:c)&15|n;c=1;b=b+1|0;if(b>>>0>=t[d+76>>2]){break a}a=(q[d+88>>2]+w(b,20)|0)+14|0;f=r[a|0];if((j|0)==(f>>>5|0)){continue}break}}Da=h+272|0;return c}function xo(a,b){var c=0,d=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:{J:{K:{if((b|0)<=1935833198){if((b|0)<=1751346272){c=b+ -1735618608|0;if(c>>>0<=9){break y}if((b|0)==1668311156){break K}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){c=b+ -1751346273|0;if(c>>>0>3){if((b|0)!=1751347046){break a}return a+238|0}switch(c-1|0){case 0:case 1:break a;case 2:break I;default:break J}}c=b+ -1751347822|0;if(c>>>0<=5){break x}if((b|0)==1751413603){break H}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){c=b+ -1935833199|0;if(c>>>0<=4){break w}b=b+ -1935833455|0;if(b>>>0>4){break a}switch(b-1|0){case 0:case 1:case 2:break a;case 3:break F;default:break G}}c=b+ -1936750703|0;if(c>>>0<=4){break v}c=b+ -1936750959|0;if(c>>>0<=4){break u}b=b+ -1937011311|0;if(b>>>0>4){break a}switch(b-1|0){case 0:case 1:case 2:break a;case 3:break D;default:break E}}if((b|0)<=1986228845){c=b+ -1970168943|0;if(c>>>0<=4){break t}if((b|0)==1986098019){break C}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){c=b+ -1986228846|0;if(c>>>0>5){if((b|0)!=1986294627){break a}return a+302|0}switch(c-1|0){case 0:case 1:case 2:case 3:break a;case 4:break A;default:break B}}if((b|0)==1986815856){break z}if((b|0)!=2020108148){break a}return a+460|0}return a+462|0}return a+448|0}return a+450|0}return a+444|0}return a+388|0}return a+384|0}return a+400|0}return a+398|0}return a+300|0}return a+316|0}return a+314|0}d=a+304|0;break a}switch(c-1|0){case 7:break j;case 8:break k;case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;case 5:break h;case 6:break i;default:break b}}switch(c-1|0){case 0:case 1:case 2:case 3:break a;case 4:break m;default:break l}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break o;default:break n}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break q;default:break p}}switch(c-1|0){case 0:case 1:case 2:break a;case 3:break s;default:break r}}L:{switch(c-1|0){case 3:return a+486|0;case 0:case 1:case 2:break a;default:break L}}return a+484|0}return a+392|0}return a+396|0}return a+390|0}return a+394|0}return a+382|0}return a+386|0}return a+234|0}return a+236|0}if(s[a+562>>1]<11){break a}return q[a+564>>2]+36|0}if(s[a+562>>1]<10){break a}return q[a+564>>2]+32|0}if(s[a+562>>1]<9){break a}return q[a+564>>2]+28|0}if(s[a+562>>1]<8){break a}return q[a+564>>2]+24|0}if(s[a+562>>1]<7){break a}return q[a+564>>2]+20|0}if(s[a+562>>1]<6){break a}return q[a+564>>2]+16|0}if(s[a+562>>1]<5){break a}return q[a+564>>2]+12|0}if(s[a+562>>1]<4){break a}return q[a+564>>2]+8|0}if(s[a+562>>1]<3){break a}return q[a+564>>2]+4|0}if(s[a+562>>1]<2){break a}return q[a+564>>2]}return d} -function Jy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0;e=Da-16|0;Da=e;l=q[a+100>>2];q[e+8>>2]=0;c=n[q[a+516>>2]](a,1129333068,b,e+4|0)|0;q[e+12>>2]=c;a:{b:{if(c){break b}c:{c=q[e+4>>2];if(c>>>0<12){break c}c=Bc(b,c,e+8|0);q[e+12>>2]=c;if(c){break b}c=q[e+8>>2];j=gb(l,20,e+12|0);if(q[e+12>>2]){break b}d=r[c|0]|r[c+1|0]<<8;h=(d<<24|d<<8&16711680)>>>16|0;p[j>>1]=h;if(h>>>0>1){break c}d=r[c+2|0]|r[c+3|0]<<8;t=(d<<24|d<<8&16711680)>>>16|0;p[a+660>>1]=t;d=r[c+4|0]|r[c+5|0]<<8;k=(d<<24|d<<8&16711680)>>>16|0;p[a+648>>1]=k;d=r[c+6|0]|r[c+7|0]<<8;i=(d<<24|d<<8&16711680)>>>16|0;p[j+2>>1]=i;g=k<<1;d=q[e+4>>2];if(g+12>>>0>d>>>0){break c}f=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(d>>>0<=m>>>0|t>>>0>i>>>0|i<<2>>>0>d-m>>>0){break c}c=c+12|0;q[j+8>>2]=c;f=q[e+8>>2];q[j+4>>2]=m+f;d:{if((h|0)!=1){break d}if(g+24>>>0>d>>>0){break c}c=c+g|0;h=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);i=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(d>>>0<=c>>>0|g>>>0>d-c>>>0){break c}d=Oa(l,2,0,k,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];k=d+(s[a+648>>1]<<1)|0;if(k>>>0>d>>>0){g=c+f|0;c=d;while(1){m=r[g|0]|r[g+1|0]<<8;p[c>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+656>>2]=d}c=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(c){d=q[e+4>>2];if(d>>>0<=c>>>0){break c}f=s[a+648>>1];if(f<<1>>>0>d-c>>>0){break c}d=Oa(l,2,0,f,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];h=d+(s[a+648>>1]<<1)|0;if(h>>>0>d>>>0){g=c+f|0;c=d;while(1){k=r[g|0]|r[g+1|0]<<8;p[c>>1]=(k<<24|k<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+652>>2]=d}c=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);if(!c){break d}d=q[e+4>>2];if(d>>>0<=c>>>0){break c}f=s[a+660>>1];if(f<<1>>>0>d-c>>>0){break c}d=Oa(l,2,0,f,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];h=d+(s[a+660>>1]<<1)|0;if(h>>>0>d>>>0){g=c+f|0;c=d;while(1){i=r[g|0]|r[g+1|0]<<8;p[c>>1]=(i<<24|i<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+664>>2]=d}q[j+12>>2]=f;q[j+16>>2]=q[e+4>>2];q[a+868>>2]=j;f=Oa(l,4,0,s[a+660>>1],0,e+12|0);q[a+672>>2]=f;if(q[e+12>>2]){break b}c=q[a+868>>2];if(!c|!s[a+648>>1]){break c}d=q[c+8>>2];g=r[d|0]<<8|r[d+1|0];d=s[a+660>>1];if(g+d>>>0>s[c+2>>1]){break c}a=0;if(!d){break a}d=(d<<2)+f|0;b=q[c+4>>2]+(g<<2)|0;while(1){o[f|0]=r[b|0];o[f+1|0]=r[b+1|0];o[f+2|0]=r[b+2|0];o[f+3|0]=r[b+3|0];b=b+4|0;f=f+4|0;if(f>>>0>>0){continue}break}break a}q[e+12>>2]=8}zb(b,e+8|0);if(j){n[q[l+8>>2]](l,j)}q[a+868>>2]=0;a=q[e+12>>2]}Da=e+16|0;return a|0}function ac(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=b>>>9|0;f=q[a+36>>2];b=0;a:{d=q[a+24>>2];b:{c:{if((d|0)>=1){i=q[a+28>>2];e=d+ -1|0;while(1){c=b+e>>>1|0;h=g-q[(c<<3)+i>>2]|0;d:{if((h|0)<=-1){e=c+ -1|0;break d}if(!h){b=c;break c}b=c+1|0}if((b|0)<=(e|0)){continue}break}}if(r[a+12|0]!=1){break b}e:{f:{d=q[a+32>>2];g:{if((d|0)<0){break g}c=f;e=c+1|0;e=(e|0)>0?e:0;if(d>>>0>>0){c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(c>>>0>>0|c>>>0>67108862){break a}d=db(q[a+40>>2],c<<6);if(!d){break a}q[a+32>>2]=c;q[a+40>>2]=d;c=q[a+36>>2]}if(e>>>0>c>>>0){Na(q[a+40>>2]+(c<<6)|0,0,e-c<<6)}q[a+36>>2]=e;h:{i:{j:{k:{d=q[a+20>>2];if((d|0)>=0){if(d>>>0>=e>>>0){break j}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=db(q[a+28>>2],c<<3);if(d){break k}}q[a+20>>2]=-1}b=q[a+32>>2];if((b|0)<0){break g}c=q[a+24>>2];f=(c|0)>0?c:0;if(b>>>0>=f>>>0){break h}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=f>>>0){continue}break}if(!(c>>>0>>0|c>>>0>67108862)){b=db(q[a+40>>2],c<<6);if(b){break i}}break a}q[a+20>>2]=c;q[a+28>>2]=d}c=q[a+24>>2];if(e>>>0>c>>>0){Na(q[a+28>>2]+(c<<3)|0,0,e-c<<3)}q[a+24>>2]=e;if(t[a+36>>2]>f>>>0){break f}c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}q[a+32>>2]=c;q[a+40>>2]=b}b=q[a+36>>2];if(f>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,f-b<<6)}q[a+36>>2]=f}o[a+12|0]=0;return 0}c=q[a+40>>2]+(f<<6)|0}q[c>>2]=0;q[c+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=b<<3;d=c+q[a+28>>2]|0;sb(d+8|0,d,q[a+24>>2]+(b^-1)<<3);l:{if(t[a+24>>2]<=b>>>0){c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=c+q[a+28>>2]|0}q[c>>2]=g;q[c+4>>2]=f;d=q[a+24>>2]}m:{if(d>>>0<=b>>>0){c=q[67829];q[160744]=q[67828];q[160745]=c;b=c;break m}b=q[(q[a+28>>2]+(b<<3)|0)+4>>2]}if(t[a+36>>2]<=b>>>0){a=q[67843];q[160758]=q[67842];q[160759]=a;a=q[67841];q[160756]=q[67840];q[160757]=a;a=q[67839];q[160754]=q[67838];q[160755]=a;a=q[67837];q[160752]=q[67836];q[160753]=a;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;return 642976}j=q[a+40>>2]+(b<<6)|0}return j}q[a+32>>2]=-1;o[a+12|0]=0;return 0}function Hl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,x=0;f=Da+ -64|0;Da=f;q[f+60>>2]=0;k=b+108|0;l=q[a+8>>2];a:{b:{c:{if(q[b+72>>2]!=q[a+16>>2]){q[f+60>>2]=6;break c}if((c|0)!=(e|0)){q[f+60>>2]=19;break c}if(o[q[b+156>>2]+4|0]&1){e=q[b+88>>2];if(e){n[q[l+8>>2]](l,e)}q[b+88>>2]=0;e=q[b+156>>2];q[e+4>>2]=q[e+4>>2]&-2}if(Vk(b,c,d)){q[f+60>>2]=98;break c}g=b+76|0;h=q[g>>2];d:{if(!h){e=0;break d}e=0;m=q[b+84>>2];if(!m){break d}v=b,x=Oa(l,m,0,h,0,f+60|0),q[v+88>>2]=x;if(q[f+60>>2]){break b}e=q[b+156>>2];q[e+4>>2]=q[e+4>>2]|1;e=q[b+76>>2]<<6;e=(r[b+94|0]==6?(e|0)/3|0:e)-(q[b+104>>2]<<6)|0;i=q[b+100>>2]<<6;if(d){e=q[d+4>>2]+e|0;d=q[d>>2]}else{d=0}i=d-i|0;if(i|e){oc(k,i,e)}q[f+12>>2]=k;q[f+8>>2]=g;q[f+16>>2]=1;c=c+ -3|0;e:{if(c>>>0<=1){if(c-1){h=q[b+80>>2];g=q[b+84>>2];m=q[b+76>>2];c=q[b>>2];oc(k,0-q[c+180>>2]|0,0-q[c+184>>2]|0);d=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=d;if(d){break b}d=(h>>>0)/3|0;q[b+88>>2]=d+q[b+88>>2];oc(k,q[c+180>>2]-q[c+188>>2]|0,q[c+184>>2]-q[c+192>>2]|0);j=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=j;p=q[b+88>>2]-d|0;q[b+88>>2]=p;if(j){break b}j=d<<1;q[b+88>>2]=j+p;oc(k,q[c+188>>2]-q[c+196>>2]|0,q[c+192>>2]-q[c+200>>2]|0);a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a;q[b+88>>2]=q[b+88>>2]-j;if(a){break b}e=e-q[c+200>>2]|0;i=i-q[c+196>>2]|0;c=gb(l,g,f+60|0);if(q[f+60>>2]){break b}f:{if(!m){break f}if(h>>>0<3){a=0;while(1){Qa(q[b+88>>2]+w(a,g)|0,c,g);a=a+1|0;if((m|0)!=(a|0)){continue}break}break f}u=d>>>0>1?d:1;j=0;while(1){h=q[b+88>>2]+w(g,j)|0;a=0;while(1){p=c+w(a,3)|0;o[p|0]=r[a+h|0];s=a+d|0;o[p+1|0]=r[h+s|0];o[p+2|0]=r[h+(d+s|0)|0];a=a+1|0;if((u|0)!=(a|0)){continue}break}Qa(h,c,g);j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(c){n[q[l+8>>2]](l,c)}a=q[f+60>>2];break e}d=q[b+84>>2];q[b+84>>2]=w(d,3);q[b+76>>2]=t[b+76>>2]/3;c=q[b>>2];oc(k,0-q[c+184>>2]|0,q[c+180>>2]);g=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=g;if(g){break b}q[b+88>>2]=d+q[b+88>>2];oc(k,q[c+184>>2]-q[c+192>>2]|0,q[c+188>>2]-q[c+180>>2]|0);g=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=g;h=q[b+88>>2]-d|0;q[b+88>>2]=h;if(g){break b}d=d<<1;q[b+88>>2]=d+h;oc(k,q[c+192>>2]-q[c+200>>2]|0,q[c+196>>2]-q[c+188>>2]|0);a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a;q[b+88>>2]=q[b+88>>2]-d;if(a){break b}a=q[c+200>>2];c=q[c+196>>2];q[b+84>>2]=q[b+84>>2]/3;q[b+76>>2]=w(q[b+76>>2],3);e=c+e|0;i=i-a|0;break d}a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a}if(a){break b}}q[b+72>>2]=1651078259;break a}e=0}if(!(o[q[b+156>>2]+4|0]&1)){break a}a=q[b+88>>2];if(a){n[q[l+8>>2]](l,a)}q[b+88>>2]=0;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2}if(e|i){oc(k,0-i|0,0-e|0)}Da=f- -64|0;return q[f+60>>2]}function p$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[a+96>>2];if(!q[g+76>>2]){break a}e=q[a+116>>2];if(!e){break a}f=r[b+3|0];d=f|r[b+2|0]<<8;if(f&16){f=d;d=(b+4|0)+(r[b+5|0]<<1|r[b+4|0]<<9)|0;d=f|r[d+2|0]<<24|r[d+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=d;q[a+8>>2]=d;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;q[a+16>>2]=e;o[a+13|0]=r[a+142|0];q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=d;e=q[a+120>>2]==1;o[a+12|0]=e;q[a+4>>2]=a;d=1;d=e?d:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=d;b:{d=r[b|0]|r[b+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -7|0;c:{if(d>>>0>1){break c}if(!(d-1)){break b}d=b;b=r[b+5|0]|r[b+4|0]<<8?b+6|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?d+b|0:271312;if((r[b|0]<<8|r[b+1|0])!=1){break c}if((r[b+3|0]|r[b+2|0]<<8)==8){break b}}if(q[g+4>>2]){q[g+80>>2]=0;o[g+69|0]=1;o[g+70|0]=0;q[g+92>>2]=q[g+88>>2]}q[g+72>>2]=0;b=q[a+96>>2];d=q[b+72>>2];if(d>>>0>=t[b+76>>2]){break a}while(1){if(r[b+68|0]){e=q[b+88>>2]+w(d,20)|0;d=q[e>>2];d:{e:{if(!(q[c>>2]>>>(d>>>4&31)&1)|!(q[c+4>>2]>>>(d&31)&1)|(!(q[c+8>>2]>>>(d>>>9&31)&1)|!(q[a+116>>2]&q[e+4>>2]))){break e}f=q[a+128>>2];e=s[e+12>>1];if(f&e&14){break e}if(e&8){if(!mf(a,d,e,f)){break e}}d=0;e=q[c+16>>2];if(!e){break e}while(1){f=e>>>0>d>>>0?q[c+20>>2]+w(d,20)|0:271312;h=q[a+96>>2];h=q[q[h+88>>2]+w(q[h+72>>2],20)>>2];if(!(!(q[f+8>>2]>>>(h>>>4&31)&1)|!(q[f+12>>2]>>>(h&31)&1)|!(q[f+16>>2]>>>(h>>>9&31)&1))){if(n[q[f+4>>2]](q[f>>2],a)){i=1;break d}e=q[c+16>>2]}d=d+1|0;if(d>>>0>>0){continue}break}}if(r[b+69|0]){f:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break f}}if(!Va(b,1,1)){break d}e=q[b+88>>2]+w(q[b+72>>2],20)|0;f=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}d=q[b+72>>2];if(d>>>0>2]){continue}}break}if(!i){break a}Kc(g);return}if(q[g+4>>2]){q[g+80>>2]=0;o[g+69|0]=0;o[g+70|0]=0;q[g+92>>2]=q[g+88>>2]}q[g+72>>2]=q[g+76>>2]+ -1;g=q[a+96>>2];b=q[g+72>>2];while(1){d=q[g+88>>2]+w(b,20)|0;b=q[d>>2];g:{if(!(q[c>>2]>>>(b>>>4&31)&1)|!(q[c+4>>2]>>>(b&31)&1)|(!(q[c+8>>2]>>>(b>>>9&31)&1)|!(q[a+116>>2]&q[d+4>>2]))){break g}e=q[a+128>>2];d=s[d+12>>1];if(e&d&14){break g}if(d&8){if(!mf(a,b,d,e)){break g}}b=0;e=q[c+16>>2];if(!e){break g}while(1){d=e>>>0>b>>>0?q[c+20>>2]+w(b,20)|0:271312;f=q[a+96>>2];f=q[q[f+88>>2]+w(q[f+72>>2],20)>>2];if(!(!(q[d+8>>2]>>>(f>>>4&31)&1)|!(q[d+12>>2]>>>(f&31)&1)|!(q[d+16>>2]>>>(f>>>9&31)&1))){if(n[q[d+4>>2]](q[d>>2],a)){break g}e=q[c+16>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}b=q[g+72>>2]+ -1|0;q[g+72>>2]=b;if((b|0)>-1){continue}break}}}function MC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+16>>2];if(t[a+20>>2]>=f+16>>>0){h=q[a+32>>2];g=h;d=q[f>>2];c=r[d|0];a:{if((c|0)==30){d=sc(a,d,0,0);break a}e=d+1|0;b:{b=c+ -28|0;c:{d:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=d+2>>>0){break b}b=(r[d+2|0]|r[e|0]<<8)<<16>>16;break c}b=0;if(t[a+8>>2]<=d+4>>>0){break b}b=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}if(c>>>0<=246){b=c+ -139|0;break b}d=q[a+8>>2];if(c>>>0<=250){b=0;if(d>>>0<=e>>>0){break b}b=(r[e|0]|c<<8)+ -63124|0;break d}b=0;if(d>>>0<=e>>>0){break b}b=64148-(r[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}q[g+84>>2]=((d>>31)+d|0)+32768&-65536;g=h;c=q[f+4>>2];e=r[c|0];e:{if((e|0)==30){c=sc(a,c,0,0);break e}d=c+1|0;f:{b=e+ -28|0;g:{h:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break f}b=(r[c+2|0]|r[d|0]<<8)<<16>>16;break g}b=0;if(t[a+8>>2]<=c+4>>>0){break f}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break h}if(e>>>0<=246){b=e+ -139|0;break f}c=q[a+8>>2];if(e>>>0<=250){b=0;if(c>>>0<=d>>>0){break f}b=(r[d|0]|e<<8)+ -63124|0;break h}b=0;if(c>>>0<=d>>>0){break f}b=64148-(r[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break e}}c=(b|0)<-32767?-2147483647:b<<16;break e}c=b<<16}q[g+88>>2]=((c>>31)+c|0)+32768&-65536;g=h;b=q[f+8>>2];e=r[b|0];i:{if((e|0)==30){c=sc(a,b,0,0);break i}d=b+1|0;c=e+ -28|0;j:{k:{if(c>>>0<=1){if(c-1){c=0;if(t[a+8>>2]<=b+2>>>0){break i}b=(r[b+2|0]|r[d|0]<<8)<<16>>16;break j}c=0;if(t[a+8>>2]<=b+4>>>0){break i}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break k}c=(e<<16)+ -9109504|0;if(e>>>0<=246){break i}b=q[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break i}b=(r[d|0]|e<<8)+ -63124|0;break k}c=0;if(b>>>0<=d>>>0){break i}b=64148-(r[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break i}}c=(b|0)<-32767?-2147483647:b<<16}q[g+92>>2]=((c>>31)+c|0)+32768&-65536;b=q[f+12>>2];c=r[b|0];l:{if((c|0)==30){d=sc(a,b,0,0);break l}e=b+1|0;d=c+ -28|0;m:{n:{if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=b+2>>>0){break l}a=(r[b+2|0]|r[e|0]<<8)<<16>>16;break m}d=0;if(t[a+8>>2]<=b+4>>>0){break l}a=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break n}d=(c<<16)+ -9109504|0;if(c>>>0<=246){break l}a=q[a+8>>2];if(c>>>0<=250){d=0;if(a>>>0<=e>>>0){break l}a=(r[e|0]|c<<8)+ -63124|0;break n}d=0;if(a>>>0<=e>>>0){break l}a=64148-(r[e|0]|c<<8)|0}d=2147483647;if((a|0)>32767){break l}}d=(a|0)<-32767?-2147483647:a<<16}q[h+96>>2]=((d>>31)+d|0)+32768&-65536;a=0}else{a=161}return a|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,o=0,p=0,r=0,t=0,u=0,v=0;r=Da-32|0;Da=r;a:{if(!a|!b){break a}m=Sa(16);if(!m){break a}q[m+8>>2]=0;q[m+12>>2]=0;q[m>>2]=1;q[m+4>>2]=0;f=q[a+4>>2];j=-1;i=-1;k=q[a+12>>2]+a|0;b:{c:{if(k){e=f+ -1|0;d:{e:{if((f|0)<1){h=e;break e}while(1){g=e>>1;i=g;if(!s[k+(e&-2)>>1]){break d}i=(e|0)>1;h=g+ -1|0;e=h;if(i){continue}break}}i=(h>>>31|0)+h^-1}e=0;if((i|0)>-1){break c}}g=i^-1;i=0;l=0;if((f|0)==(g|0)){break b}i=g;e=s[k+(g<<1)>>1]<<8}j=e;g=q[a+8>>2]+a|0;l=q[g+(i<<2)>>2]+g|0}k=q[b+4>>2];h=-1;g=-1;o=q[b+12>>2]+b|0;f:{g:{if(o){e=k+ -1|0;h:{i:{if((k|0)<1){f=e;break i}while(1){f=e>>1;g=f;if(!s[o+(e&-2)>>1]){break h}g=(e|0)>1;f=f+ -1|0;e=f;if(g){continue}break}}g=(f>>>31|0)+f^-1}e=0;if((g|0)>-1){break g}}e=g^-1;g=0;f=0;if((e|0)==(k|0)){break f}g=e;e=s[o+(e<<1)>>1]<<8}h=e;e=q[b+8>>2]+b|0;f=q[e+(g<<2)>>2]+e|0}while(1){j:{k:{if(!l){if(d){break k}e=m;break a}break j}e=m;if(!f){break a}}l:{if(j>>>0>>0){e=gg(m,j);if(!e){break l}j=q[l+4>>2];q[e>>2]=q[l>>2];q[e+4>>2]=j;j=q[l+28>>2];q[e+24>>2]=q[l+24>>2];q[e+28>>2]=j;j=q[l+20>>2];q[e+16>>2]=q[l+16>>2];q[e+20>>2]=j;j=q[l+12>>2];q[e+8>>2]=q[l+8>>2];q[e+12>>2]=j;l=0;j=-1;e=i+1|0;if((e|0)>=q[a+4>>2]){continue}i=q[a+8>>2]+a|0;l=q[i+(e<<2)>>2]+i|0;j=s[(q[a+12>>2]+a|0)+(e<<1)>>1]<<8;i=e;continue}if(h>>>0>>0){if(d){e=gg(m,h);if(!e){break l}h=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=h;h=q[f+28>>2];q[e+24>>2]=q[f+24>>2];q[e+28>>2]=h;h=q[f+20>>2];q[e+16>>2]=q[f+16>>2];q[e+20>>2]=h;h=q[f+12>>2];q[e+8>>2]=q[f+8>>2];q[e+12>>2]=h;f=0;h=-1;e=g+1|0;if((e|0)>=q[b+4>>2]){continue}g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;h=s[(q[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}o=q[b+4>>2];h=-1;e=-1;t=q[b+12>>2]+b|0;m:{if(t){u=j>>>8|0;k=o+ -1|0;f=0;n:{if((o|0)>=1){while(1){p=f+k|0;e=p>>1;p=s[(p&-2)+t>>1];v=u&65535;if((p|0)==(v|0)){break n}p=p>>>0>>0;f=p?e+1|0:f;k=p?k:e+ -1|0;if((f|0)<=(k|0)){continue}break}}if(!((k|0)>=(o|0)|s[(k<<1)+t>>1]>=(u&65535)>>>0?(k|0)>=0:0)){k=k+1|0}e=k^-1}f=j;if((e|0)>-1){break m}}f=0;e=e^-1;if((o|0)==(e|0)){continue}f=s[(e<<1)+t>>1]<<8}h=f;g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;g=e;continue}if(n[c](r,l,f)){h=gg(m,j);if(!h){break l}e=r;f=q[e+4>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;f=q[e+28>>2];q[h+24>>2]=q[e+24>>2];q[h+28>>2]=f;f=q[e+20>>2];q[h+16>>2]=q[e+16>>2];q[h+20>>2]=f;f=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=f}f=0;h=-1;j=-1;l=0;e=i+1|0;if((e|0)>2]){i=q[a+8>>2]+a|0;l=q[i+(e<<2)>>2]+i|0;j=s[(q[a+12>>2]+a|0)+(e<<1)>>1]<<8;i=e}e=g+1|0;if((e|0)>=q[b+4>>2]){continue}g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;h=s[(q[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}break}Xc(m);e=0}Da=r+32|0;return e}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,r=0,s=0;n=nR(c);if(n){a:{if((c|0)<=0){Gc(n,0,16,796);break a}while(1){k=(i<<5)+b|0;b:{if(!q[k+20>>2]){break b}d=q[k+28>>2];e=q[d+52>>2];if(!e){e=ab(1,20);q[d+52>>2]=e;if(!e){break b}}if(q[a+112>>2]!=q[e+16>>2]){q[e>>2]=0;q[e+4>>2]=0;q[e+16>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;e=q[d+52>>2];q[e+16>>2]=q[a+112>>2]}if(!e){break b}d=q[e+4>>2];if((d|0)<1){break b}g=q[e+12>>2];o=g;p=q[e+8>>2];h=p;m=q[e>>2];j=m;f=d;if((d|0)!=q[k+8>>2]){o=0;hb(q[a>>2],2,356080,0);q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=0;j=0;f=0}if((l|0)>=1){r=g+p|0;s=d+m|0;d=0;while(1){g=(d<<4)+n|0;if(!((m|0)>=q[g+4>>2]|q[g>>2]>=(s|0)|((p|0)>=q[g+12>>2]|q[g+8>>2]>=(r|0)))){q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o=0;h=0;j=0;f=0}d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((f|0)<1){break b}d=(l<<4)+n|0;q[d+12>>2]=h+o;q[d+8>>2]=h;q[d+4>>2]=f+j;q[d>>2]=j;d=q[k>>2];if(d){g=j-q[k+4>>2]|0;e=q[a+140>>2];while(1){f=g+q[d+24>>2]|0;q[d+24>>2]=f;h=q[d+4>>2];if((f|0)<=-1){q[d+24>>2]=0;h=f+h|0;q[d+4>>2]=h;q[d+12>>2]=q[d+12>>2]-w(f,q[d+8>>2]);f=0}f=f+h|0;if((e|0)<=(f|0)){h=(e-f|0)+h|0;q[d+4>>2]=h}if((h|0)<=0){q[d+24>>2]=0;q[d+4>>2]=0}d=q[d+28>>2];if(d){continue}break}}l=l+1|0;q[k+4>>2]=j}i=i+1|0;if((i|0)!=(c|0)){continue}break}Gc(n,l,16,796);o=0;while(1){i=(o<<5)+b|0;c:{if(!q[i+20>>2]){break c}d=q[i+28>>2];g=q[d+52>>2];if(!g){g=ab(1,20);q[d+52>>2]=g;if(!g){break c}}if(q[a+112>>2]!=q[g+16>>2]){q[g>>2]=0;q[g+4>>2]=0;q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;g=q[d+52>>2];q[g+16>>2]=q[a+112>>2]}if(q[g+4>>2]|!g){break c}h=q[i+12>>2];p=h+q[i+16>>2]|0;j=q[i+4>>2];k=j+q[i+8>>2]|0;d:{if(q[i+24>>2]==1){e=0;d=0;if((l|0)<1){break d}while(1){f=(d<<4)+n|0;e:{if((e+k|0)<=q[f>>2]){break e}m=q[f+4>>2];if((p|0)<=q[f+8>>2]|(e+j|0)>=(m|0)){break e}e=(h|0)>2]?m-j|0:e}d=d+1|0;if((l|0)!=(d|0)){continue}break}break d}e=0;d=l;if((d|0)<1){break d}while(1){f=d;d=d+ -1|0;m=(d<<4)+n|0;r=q[m>>2];if(!((e+k|0)<=(r|0)|(e+j|0)>=q[m+4>>2]|(p|0)<=q[m+8>>2])){e=(h|0)>2]?r-k|0:e}if((f|0)>1){continue}break}}d=(l<<4)+n|0;q[d+12>>2]=p;q[d+8>>2]=h;q[d+4>>2]=e+k;q[d>>2]=e+j;l=l+1|0;Gc(n,l,16,796);f:{if(!e){d=q[i+4>>2];break f}d=q[i>>2];if(d){j=q[a+140>>2];while(1){f=q[d+24>>2]+e|0;q[d+24>>2]=f;h=q[d+4>>2];k=j;if((f|0)<=-1){q[d+24>>2]=0;h=f+h|0;q[d+4>>2]=h;q[d+12>>2]=q[d+12>>2]-w(f,q[d+8>>2]);f=0}f=f+h|0;if((k|0)<=(f|0)){h=(j-f|0)+h|0;q[d+4>>2]=h}if((h|0)<=0){q[d+24>>2]=0;q[d+4>>2]=0}d=q[d+28>>2];if(d){continue}break}}d=q[i+4>>2]+e|0;q[i+4>>2]=d}q[g>>2]=d;q[g+4>>2]=q[i+8>>2];q[g+8>>2]=q[i+12>>2];q[g+12>>2]=q[i+16>>2]}o=o+1|0;if((o|0)!=(c|0)){continue}break}}La(n)}}function NJ(a,b,c,d){a=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;k=a+72|0;f=1;while(1){g=b;a=g+2|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{b=r[g+2|0];h=b+ -216|0;if(h>>>0>39){if(b){break n}b=a;j=r[g+3|0];h=r[j+k|0]+ -3|0;if(h>>>0>26){continue}switch(h-1|0){case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 17:break i;case 9:break k;case 8:break l;case 18:case 20:case 25:break n;case 3:break o;case 2:break p;case 1:break q;case 7:case 13:break g;case 5:case 6:break h;default:break j}}b=a;r:{switch(h-4|0){case 0:case 1:case 2:case 3:continue;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:break n;case 35:break r;default:break o}}if(r[g+3|0]>=254|f){continue}break m}if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}b=g+3|0;if(f){continue}f=1;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=a;continue}s:{if(f){break s}f=1;if((e|0)>=(c|0)){break s}b=(e<<4)+d|0;o[b+12|0]=1;q[b>>2]=a}b=g+4|0;continue}b=a;if(f){continue}}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}if((f|0)!=2){i=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=12;break a}if((f|0)!=2){i=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=13;break a}if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}h=f+ -1|0;if(h>>>0>1){continue}f=0;if(h-1){continue}f=2;if((e|0)>=(c|0)){continue}h=(e<<4)+d|0;if(!r[h+12|0]){continue}if((a|0)==q[h+4>>2]|(j|0)!=32){break b}b=r[g+5|0];g=r[g+4|0];j=g+ -216|0;if(j>>>0<=39){break f}if(g){break e}if((b|0)==32){break b}g=r[b+k|0];break c}a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}a=(f|0)==2;f=2;if(a){continue}return e|0}g=7;t:{switch(j-4|0){case 35:break t;case 0:case 1:case 2:case 3:break d;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:break e;default:break c}}g=0;if(b>>>0>253){break c}}g=29;break c}g=8}b=a;if((g|0)!=(i|0)){continue}}o[h+12|0]=0;b=a;continue}f=0;continue}}function eK(a,b,c,d){a=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;k=a+72|0;f=1;while(1){g=b;a=g+2|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{b=r[g+3|0];h=b+ -216|0;if(h>>>0>39){if(b){break n}b=a;j=r[a|0];h=r[j+k|0]+ -3|0;if(h>>>0>26){continue}switch(h-1|0){case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 17:break i;case 9:break k;case 8:break l;case 18:case 20:case 25:break n;case 3:break o;case 2:break p;case 1:break q;case 7:case 13:break g;case 5:case 6:break h;default:break j}}b=a;r:{switch(h-4|0){case 0:case 1:case 2:case 3:continue;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:break n;case 35:break r;default:break o}}if(r[a|0]>=254|f){continue}break m}if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}b=g+3|0;if(f){continue}f=1;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=a;continue}s:{if(f){break s}f=1;if((e|0)>=(c|0)){break s}b=(e<<4)+d|0;o[b+12|0]=1;q[b>>2]=a}b=g+4|0;continue}b=a;if(f){continue}}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}if((f|0)!=2){i=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=12;break a}if((f|0)!=2){i=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=13;break a}if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}h=f+ -1|0;if(h>>>0>1){continue}f=0;if(h-1){continue}f=2;if((e|0)>=(c|0)){continue}h=(e<<4)+d|0;if(!r[h+12|0]){continue}if((a|0)==q[h+4>>2]|(j|0)!=32){break b}b=r[g+4|0];g=r[g+5|0];j=g+ -216|0;if(j>>>0<=39){break f}if(g){break e}if((b|0)==32){break b}g=r[b+k|0];break c}a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}a=(f|0)==2;f=2;if(a){continue}return e|0}g=7;t:{switch(j-4|0){case 35:break t;case 0:case 1:case 2:case 3:break d;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:break e;default:break c}}g=0;if(b>>>0>253){break c}}g=29;break c}g=8}b=a;if((g|0)!=(i|0)){continue}}o[h+12|0]=0;b=a;continue}f=0;continue}}function gE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,t=0,u=0,v=0;f=Da-32|0;Da=f;i=q[b+28>>2];q[f+4>>2]=2;c=q[a+496>>2];if(c){d=i;e=q[c+36>>2];if(e){n[q[d+8>>2]](d,e)}q[c+36>>2]=0;q[c+40>>2]=0;e=q[c+28>>2];if(e){n[q[d+8>>2]](d,e)}q[c+28>>2]=0;q[c+32>>2]=0;if(c){n[q[i+8>>2]](i,c)}q[a+496>>2]=0}d=gb(i,44,f+4|0);a:{if(q[f+4>>2]){break a}c=mb(b,q[b+4>>2]);q[f+4>>2]=c;if(c){break a}c=q[a+476>>2];q[d+12>>2]=q[a+472>>2];q[d+16>>2]=c;c=q[a+468>>2];q[d+4>>2]=q[a+464>>2];q[d+8>>2]=c;q[d+20>>2]=q[a+476>>2];q[d+24>>2]=q[a+468>>2];e=q[a+492>>2];c=q[e+36>>2];b:{if(c){c=n[q[c>>2]](f+8|0,q[b+28>>2],q[b+32>>2],q[b+36>>2])|0;q[f+4>>2]=c;if(!c){q[f+24>>2]=a+132;q[f+20>>2]=85;q[f+16>>2]=d;u=f,v=n[q[q[e+36>>2]+8>>2]](f+8|0)|0,q[u+4>>2]=v;n[q[q[e+36>>2]+4>>2]](f+8|0);c=q[f+4>>2]}c:{if((c&255)!=2){break c}g=q[b+4>>2];if(g>>>0<7){break c}e=q[b+32>>2];if(r[e+1|0]>3|(g|0)!=(r[e+2|0]|r[e+3|0]<<8|(r[e+4|0]<<16|r[e+5|0]<<24))){break c}k=q[b+28>>2];h=q[b+36>>2];c=0;q[f+28>>2]=0;d:{e:{if(e+101>>>0>h>>>0){q[f+28>>2]=2;break e}g=(e+99|0)+(r[e+99|0]|r[e+100|0]<<8)|0;if(g+36>>>0>h>>>0|(r[g+18|0]|r[g+19|0]<<8)>>>0<18){break d}g=r[g+32|0]|r[g+33|0]<<8|(r[g+34|0]<<16|r[g+35|0]<<24);if(!g){break d}g=e+g|0;e=g+2|0;if(e>>>0>h>>>0){q[f+28>>2]=2;break e}j=r[g|0]|r[g+1|0]<<8;q[d+40>>2]=j;if((j<<2)+e>>>0>h>>>0){q[f+28>>2]=2;break e}if(!j){break d}c=Oa(k,16,0,j,0,f+28|0);q[d+36>>2]=c;if(q[f+28>>2]){break e}o=q[d+40>>2];j=q[a+92>>2];l=q[a+36>>2];f:{if((l|0)<1){break f}t=q[a+40>>2];h=0;while(1){m=q[(h<<2)+t>>2];if(s[m+8>>1]!=7){h=h+1|0;if((l|0)!=(h|0)){continue}break f}break}h=$d(a,m);q[f+28>>2]=h;if(h){break e}}h=o<<2;if((h|0)>=1){g=g+(h|2)|0;while(1){u=c,v=Ub(a,r[e|0]),q[u>>2]=v;u=c,v=Ub(a,r[e+1|0]),q[u+4>>2]=v;h=(r[e+2|0]|r[e+3|0]<<8)<<16>>16;q[c+12>>2]=0;q[c+8>>2]=h;c=c+16|0;e=e+4|0;if(e>>>0>>0){continue}break}}g:{if(j){c=$d(a,j);q[f+28>>2]=c;break g}c=q[f+28>>2]}if(c){break e}Gc(q[d+36>>2],q[d+40>>2],16,86);if(q[f+28>>2]){break e}c=0;break d}c=q[d+36>>2];if(c){n[q[k+8>>2]](k,c)}q[d+36>>2]=0;q[d+40>>2]=0;c=q[f+28>>2]}q[f+4>>2]=c}if(c){break b}}c=q[d+8>>2];q[a+464>>2]=q[d+4>>2];q[a+468>>2]=c;c=q[d+16>>2];q[a+472>>2]=q[d+12>>2];q[a+476>>2]=c;q[a+52>>2]=q[d+4>>2]>>16;q[a+56>>2]=q[d+8>>2]>>16;q[a+60>>2]=q[d+12>>2]+65535>>16;q[a- -64>>2]=q[d+16>>2]+65535>>16;p[a+70>>1]=q[d+20>>2]+32768>>>16;p[a+72>>1]=q[d+24>>2]+32768>>>16;if(!q[d+40>>2]){break b}q[a+496>>2]=d;q[a+8>>2]=q[a+8>>2]|64;d=0}jb(b)}if(d){a=q[d+36>>2];if(a){n[q[i+8>>2]](i,a)}q[d+36>>2]=0;q[d+40>>2]=0;a=q[d+28>>2];if(a){n[q[i+8>>2]](i,a)}q[d+28>>2]=0;q[d+32>>2]=0;if(d){n[q[i+8>>2]](i,d)}}Da=f+32|0;return q[f+4>>2]}function xs(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,r=0,s=0;m=g?a+1032|0:a;q[m>>2]=0;l=g?a+1548|0:a+516|0;q[l>>2]=0;if(b>>>0>=2){while(1){a:{if(!(h&1)){n=p[c+2>>1];s=0;i=c;h=j;g=l;break a}i=c+2|0;n=p[c>>1];s=1;h=o;g=m}a=g+4|0;k=p[i>>1]-n|0;b:{c:{if(!h){break c}g=(g+(h<<5)|0)+4|0;d:{while(1){i=q[a>>2];if((n|0)<(i|0)){break d}if((i|0)==(n|0)){g=q[a+4>>2];if((k|0)<=-1){if((k|0)>=(g|0)){break b}q[a+4>>2]=k;break b}if((k|0)<=(g|0)){break b}q[a+4>>2]=k;break b}a=a+32|0;h=h+ -1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h+ -1|0;i=(h<<5)+a|0;r=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=r;r=q[i+28>>2];q[g+24>>2]=q[i+24>>2];q[g+28>>2]=r;r=q[i+20>>2];q[g+16>>2]=q[i+16>>2];q[g+20>>2]=r;r=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=r;if(h){continue}break}}q[a+4>>2]=k;q[a>>2]=n;if(s){o=o+1|0;break b}j=j+1|0}c=c+4|0;h=1;b=b+ -2|0;if(b>>>0>1){continue}break}}q[m>>2]=o;q[l>>2]=j;if(d>>>0>=2){b=l+4|0;while(1){n=p[e+2>>1];k=p[e>>1]-n|0;i=b;e:{f:{if(!j){break f}i=((j<<5)+l|0)+4|0;a=b;h=j;while(1){c=q[a>>2];if((c|0)<=(n|0)){if((c|0)==(n|0)){c=q[a+4>>2];if((k|0)<=-1){if((k|0)>=(c|0)){break e}q[a+4>>2]=k;break e}if((k|0)<=(c|0)){break e}q[a+4>>2]=k;break e}a=a+32|0;h=h+ -1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h+ -1|0;g=(h<<5)+a|0;i=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=i;i=q[g+28>>2];q[c+24>>2]=q[g+24>>2];q[c+28>>2]=i;i=q[g+20>>2];q[c+16>>2]=q[g+16>>2];q[c+20>>2]=i;i=q[g+12>>2];q[c+8>>2]=q[g+8>>2];q[c+12>>2]=i;if(h){continue}break}i=a}q[i+4>>2]=k;q[i>>2]=n;j=j+1|0}e=e+4|0;d=d+ -2|0;if(d>>>0>1){continue}break}}q[m>>2]=o;q[l>>2]=j;g:{if(!o){break g}h=m+4|0;a=o;while(1){h:{if(a>>>0<=1){if(a-1){break g}i=q[h+4>>2];g=q[h>>2];break h}b=q[h+4>>2];g=q[h>>2];i=q[h+32>>2]-g|0;if((b|0)<=(i|0)){i=b;break h}q[h+4>>2]=i}q[h+12>>2]=g;q[h+8>>2]=g+i;h=h+32|0;a=a+ -1|0;continue}}i:{if(!j){break i}h=l+4|0;a=j;while(1){j:{if(a>>>0<=1){if(a-1){break i}i=q[h+4>>2];g=q[h>>2];break j}b=q[h+4>>2];g=q[h>>2];i=g-q[h+32>>2]|0;if((b|0)>=(i|0)){i=b;break j}q[h+4>>2]=i}q[h+8>>2]=g;q[h+12>>2]=g+i;h=h+32|0;a=a+ -1|0;continue}}if(o){h=m+4|0;q[m+16>>2]=q[m+16>>2]-f;a=q[m+12>>2];g=o+ -1|0;k:{if(!g){b=h;break k}b=((o<<5)+m|0)+ -28|0;while(1){c=q[h+44>>2];d=(c-a|0)/2|0;e=d+a|0;i=a+f|0;a=(d|0)<(f|0);q[h+8>>2]=a?e:i;q[h+44>>2]=a?e:c-f|0;a=q[h+40>>2];h=h+32|0;g=g+ -1|0;if(g){continue}break}}q[b+8>>2]=a+f}if(j){h=l+4|0;q[l+16>>2]=q[l+16>>2]-f;a=q[l+12>>2];g=j+ -1|0;l:{if(!g){e=h;break l}e=((j<<5)+l|0)+ -28|0;while(1){b=q[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;i=a+f|0;a=(c|0)<(f|0);q[h+8>>2]=a?d:i;q[h+44>>2]=a?d:b-f|0;a=q[h+40>>2];h=h+32|0;g=g+ -1|0;if(g){continue}break}}q[e+8>>2]=a+f}}function vk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;i=Da-16|0;Da=i;l=a+448|0;m=a+436|0;j=f+12|0;k=q[a+352>>2];p=(k+80|0)!=(f|0);while(1){a:{b:{c:{d:{e:{f:{g:{h:{h=(n[q[b+16>>2]](b,d,e,i+8|0)|0)+4|0;if(h>>>0>43){break h}g=0;i:{j:{k:{switch(h-1|0){case 3:g=4;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=q[i+8>>2];break a;case 2:g=4;break d;case 13:g=n[q[b+40>>2]](b,d)|0;if((g|0)<=-1){g=14;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=d;break a}if(!((g|0)!=32|c)){d=q[f+12>>2];if((d|0)==q[f+16>>2]|r[d+ -1|0]==32){break b}}d=0;g=Ak(g,i+12|0);if((g|0)<1){break b}while(1){h=q[f+12>>2];if((h|0)==q[f+8>>2]){if(!Ya(f)){break j}h=q[j>>2]}s=r[(i+12|0)+d|0];q[j>>2]=h+1;o[h|0]=s;d=d+1|0;if((g|0)!=(d|0)){continue}break}break b;case 9:g=q[i+8>>2];q[i+12>>2]=d;if(!q[j>>2]){if(!Ya(f)){break j}}while(1){if(n[q[b+56>>2]](b,i+12|0,g,j,q[f+8>>2])>>>0>=2){if(Ya(f)){continue}break j}break}if(!q[f+16>>2]){break j}break b;case 0:q[i+8>>2]=q[b+64>>2]+d;case 10:case 42:h=q[j>>2];if(q[f+16>>2]==(h|0)|r[h+ -1|0]==32?!c:0){break b}if(q[f+8>>2]==(h|0)){if(!Ya(f)){break j}h=q[j>>2]}q[j>>2]=h+1;o[h|0]=32;d=q[i+8>>2];continue;case 12:break k;case 1:case 4:case 5:case 6:case 7:case 8: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:break h;default:break a}}g=q[b+64>>2];g=n[q[b+44>>2]](b,g+d|0,q[i+8>>2]-g|0)|0;if(g&255){h=q[f+12>>2];if((h|0)==q[f+8>>2]){if(!Ya(f)){break j}h=q[j>>2]}q[j>>2]=h+1;o[h|0]=g;d=q[i+8>>2];continue}g=q[i+8>>2];h=q[b+64>>2];q[i+12>>2]=h+d;if(!q[l>>2]){if(!Ya(m)){break j}}g=g-h|0;while(1){if(n[q[b+56>>2]](b,i+12|0,g,l,q[a+444>>2])>>>0<2){break i}if(Ya(m)){continue}break}}g=1;break a}g=1;if(!q[a+452>>2]){break a}h=q[a+448>>2];if((h|0)==q[a+444>>2]){if(!Ya(m)){break a}h=q[l>>2]}q[a+448>>2]=h+1;o[h|0]=0;h=q[a+452>>2];if(!h){break a}h=ic(a,k,h,0);q[a+448>>2]=q[a+452>>2];l:{m:{if(!p){if(!q[a+268>>2]){if(h){break e}break b}if(!r[k+130|0]){break m}g=(h|0)!=0;if(!q[a+296>>2]){break g}break l}if(!r[k+129|0]){if(h){break f}g=11;break a}g=(h|0)!=0;if(!r[k+130|0]){break l}break g}g=(h|0)!=0;if(!r[k+129|0]){break g}}if(!g){break b}break e}g=23;break d}if(g){break f}g=11;break a}if(r[h+34|0]){break e}g=24;break a}g=12;if(r[h+32|0]){break d}g=15;if(q[h+28>>2]){break d}g=q[h+4>>2];if(g){break c}g=16}if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=d;break a}o[h+32|0]=1;g=vk(a,q[a+224>>2],c,g,g+q[h+8>>2]|0,f);o[h+32|0]=0;if(g){break a}}d=q[i+8>>2];continue}break}Da=i+16|0;return g}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;l=Da-16|0;Da=l;q[l+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(r[b+18|0]+ -1>>>0<=6){e=q[a>>2];o[c+18|0]=2;i=q[c>>2];g=q[b>>2];q[c>>2]=g;q[c+4>>2]=q[b+4>>2];f=q[c+8>>2];a=q[b+4>>2];d=(a|0)%1|0;a=(d?1-d|0:0)+a|0;if((a|0)>=1){d=6;W$(a,0,g,0);if(Ea){break a}}d=f;f=f>>31;g=Mo(e,w(i,d+f^f),w(a,g),q[c+12>>2],l+12|0);q[c+12>>2]=g;d=q[l+12>>2];if(d){break a}q[c+8>>2]=q[c+8>>2]<0?0-a|0:a;break b}q[l+12>>2]=6;g=q[c+12>>2]}f=q[b+12>>2];e=q[b+8>>2];if((e|0)<=-1){f=f-w(q[b>>2]+ -1|0,e)|0}h=q[c+8>>2];if((h|0)<=-1){g=g-w(q[c>>2]+ -1|0,h)|0}a=r[b+18|0]+ -1|0;c:{if(a>>>0>6){break c}d:{switch(a-1|0){default:p[c+16>>1]=2;k=q[b>>2];if(!k){break c}while(1){d=q[b+4>>2];a=d>>>3|0;e:{if(!a){e=g;i=f;break e}e=(d&-8)+g|0;h=a;d=g;i=f;while(1){j=r[i|0];o[d+7|0]=j&1;o[d|0]=j>>>7;o[d+6|0]=j>>>1&1;o[d+5|0]=j>>>2&1;o[d+4|0]=j>>>3&1;o[d+3|0]=j>>>4&1;o[d+2|0]=j>>>5&1;o[d+1|0]=j>>>6&1;i=i+1|0;d=d+8|0;h=h+ -1|0;if(h){continue}break}d=q[b+4>>2];i=a+f|0}a=d&7;if(a){d=r[i|0];while(1){o[e|0]=(d&128)>>>7;e=e+1|0;d=d<<1;a=a+ -1|0;if(a){continue}break}}g=q[c+8>>2]+g|0;f=q[b+8>>2]+f|0;k=k+ -1|0;if(k){continue}break}break c;case 0:case 3:case 4:a=q[b+4>>2];p[c+16>>1]=256;d=q[b>>2];if(!d){break c}while(1){g=Qa(g,f,a)+q[c+8>>2]|0;f=q[b+8>>2]+f|0;d=d+ -1|0;if(d){continue}break}break c;case 1:p[c+16>>1]=4;j=q[b>>2];if(!j){break c}while(1){a=q[b+4>>2];h=a>>>2|0;f:{if(!h){i=f;d=g;break f}k=a&-4;i=h;d=g;e=f;while(1){a=r[e|0];o[d+3|0]=a&3;o[d|0]=a>>>6;o[d+2|0]=a>>>2&3;o[d+1|0]=a>>>4&3;d=d+4|0;e=e+1|0;i=i+ -1|0;if(i){continue}break}i=f+h|0;a=q[b+4>>2];d=g+k|0}e=a&3;if(e){a=r[i|0];while(1){o[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;e=e+ -1|0;if(e){continue}break}}g=q[c+8>>2]+g|0;f=q[b+8>>2]+f|0;j=j+ -1|0;if(j){continue}break}break c;case 2:p[c+16>>1]=16;j=q[b>>2];if(!j){break c}while(1){d=q[b+4>>2];i=d>>>1|0;g:{if(!i){e=g;a=f;break g}h=d&-2;e=i;d=g;a=f;while(1){k=r[a|0];o[d+1|0]=k&15;o[d|0]=k>>>4;d=d+2|0;a=a+1|0;e=e+ -1|0;if(e){continue}break}e=g+h|0;d=q[b+4>>2];a=f+i|0}if(d&1){o[e|0]=r[a|0]>>>4}g=q[c+8>>2]+g|0;f=q[b+8>>2]+f|0;j=j+ -1|0;if(j){continue}break}break c;case 5:break d}}p[c+16>>1]=256;j=q[b>>2];if(!j){break c}while(1){a=g;d=f;i=q[b+4>>2];if(i){while(1){e=a;k=r[d+3|0];h=0;h:{if(!k){break h}h=r[d+1|0];m=w(w(h,h),46871);h=r[d|0];m=m+w(w(h,h),4732)|0;h=r[d+2|0];h=k-((m+w(w(h,h),13933)>>>16>>>0)/(k>>>0)|0)|0}o[e|0]=h;a=a+1|0;d=d+4|0;i=i+ -1|0;if(i){continue}break}h=q[c+8>>2];e=q[b+8>>2]}g=g+h|0;f=f+e|0;j=j+ -1|0;if(j){continue}break}}d=q[l+12>>2]}Da=l+16|0;return d}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,r=0,t=0;a:{if(!a|!b){break a}n=q[a+4>>2];h=-1;g=-1;o=q[a+12>>2]+a|0;b:{c:{if(o){c=n+ -1|0;d:{e:{if((n|0)<1){f=c;break e}while(1){f=c>>1;g=f;if(!s[(c&-2)+o>>1]){break d}i=(c|0)>1;f=f+ -1|0;c=f;if(i){continue}break}}g=(f>>>31|0)+f^-1}c=0;if((g|0)>-1){break c}}c=g^-1;g=0;d=0;if((c|0)==(n|0)){break b}g=c;c=s[(c<<1)+o>>1]<<8}h=c;c=q[a+8>>2]+a|0;d=q[c+(g<<2)>>2]+c|0}f=-1;l=q[b+4>>2];i=l+ -1|0;e=-1;j=q[b+12>>2]+b|0;f:{g:{if(j){e=i;h:{if((l|0)>=1){c=i;while(1){p=c>>1;e=p;if(!s[(c&-2)+j>>1]){break h}r=(c|0)>1;e=p+ -1|0;c=e;if(r){continue}break}}e=(e>>>31|0)+e^-1}c=0;if((e|0)>-1){break g}}e=e^-1;c=0;if((l|0)==(e|0)){break f}c=s[(e<<1)+j>>1]<<8}f=c;c=q[b+8>>2]+b|0;c=q[c+(e<<2)>>2]+c|0}if(!d){break a}if(j){r=(l|0)<1;while(1){i:{if(h>>>0<=f>>>0){j:{if((f|0)!=(h|0)){e=_$(q[d+24>>2])+(_$(q[d+20>>2])+(_$(q[d+16>>2])+(_$(q[d+12>>2])+(_$(q[d+8>>2])+(_$(q[d+4>>2])+(_$(q[d>>2])+m|0)|0)|0)|0)|0)|0)|0;h=q[d+28>>2];break j}e=_$(q[d+24>>2]&(q[c+24>>2]^-1))+(_$(q[d+20>>2]&(q[c+20>>2]^-1))+(_$(q[d+16>>2]&(q[c+16>>2]^-1))+(_$(q[d+12>>2]&(q[c+12>>2]^-1))+(_$(q[d+8>>2]&(q[c+8>>2]^-1))+(_$(q[d+4>>2]&(q[c+4>>2]^-1))+(_$(q[d>>2]&(q[c>>2]^-1))+m|0)|0)|0)|0)|0)|0)|0;h=q[d+28>>2]&(q[c+28>>2]^-1)}m=_$(h)+e|0;g=g+1|0;if((g|0)>=(n|0)){break a}e=q[a+8>>2]+a|0;d=q[e+(g<<2)>>2]+e|0;h=s[(g<<1)+o>>1]<<8;break i}if(!c){c=0;break i}p=h>>>8|0;f=0;c=i;k:{if(!r){while(1){k=c+f|0;e=k>>1;k=s[(k&-2)+j>>1];t=p&65535;if((k|0)==(t|0)){break k}k=k>>>0>>0;f=k?e+1|0:f;c=k?c:e+ -1|0;if((f|0)<=(c|0)){continue}break}}if(!((c|0)>=(l|0)|s[(c<<1)+j>>1]>=(p&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)>-1){f=h}else{f=-1;c=0;e=e^-1;if((l|0)==(e|0)){break i}f=s[(e<<1)+j>>1]<<8}c=q[b+8>>2]+b|0;c=q[c+(e<<2)>>2]+c|0}if(d){continue}break}break a}while(1){if(h>>>0<=f>>>0){l:{if((f|0)!=(h|0)){e=_$(q[d+24>>2])+(_$(q[d+20>>2])+(_$(q[d+16>>2])+(_$(q[d+12>>2])+(_$(q[d+8>>2])+(_$(q[d+4>>2])+(_$(q[d>>2])+m|0)|0)|0)|0)|0)|0)|0;i=q[d+28>>2];break l}e=_$(q[d+24>>2]&(q[c+24>>2]^-1))+(_$(q[d+20>>2]&(q[c+20>>2]^-1))+(_$(q[d+16>>2]&(q[c+16>>2]^-1))+(_$(q[d+12>>2]&(q[c+12>>2]^-1))+(_$(q[d+8>>2]&(q[c+8>>2]^-1))+(_$(q[d+4>>2]&(q[c+4>>2]^-1))+(_$(q[d>>2]&(q[c>>2]^-1))+m|0)|0)|0)|0)|0)|0)|0;i=q[d+28>>2]&(q[c+28>>2]^-1)}m=_$(i)+e|0;g=g+1|0;if((g|0)>=(n|0)){break a}h=s[(g<<1)+o>>1]<<8;i=q[a+8>>2]+a|0;d=q[i+(g<<2)>>2]+i|0;if(d){continue}break a}if(!c){c=0;if(d){continue}break a}if(!l){f=-1;c=0;if(d){continue}break a}c=q[b+8>>2]+b|0;c=q[c>>2]+c|0;f=s[j>>1]<<8;if(d){continue}break}}return m}function _p(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0;g=Da-16|0;Da=g;k=q[c>>2];q[g+4>>2]=k;a:{if(q[a+144>>2]==(b|0)){q[a+284>>2]=k;p=a+284|0;t=a+288|0;break a}p=q[a+296>>2];t=p+4|0}q[p>>2]=k;q[c>>2]=0;s=a+288|0;k=a+284|0;l=35;b:{c:{while(1){h=n[q[b+8>>2]](b,q[g+4>>2],d,g)|0;j=q[g>>2];q[t>>2]=j;d:{e:{f:{h=h+4|0;if(h>>>0>44){break f}g:{switch(h-1|0){case 43:d=q[a+76>>2];h:{if(d){n[d](q[a+4>>2]);break h}d=q[a+80>>2];if(!d){break h}f=q[g+4>>2];q[g+12>>2]=f;if(!r[b+68|0]){if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];s=k+4|0}while(1){q[g+8>>2]=q[a+44>>2];f=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[s>>2]=q[g+12>>2];d=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],d,q[g+8>>2]-d|0);q[k>>2]=q[g+12>>2];if(f>>>0>1){continue}break}break h}n[d](q[a+4>>2],f,j-f|0)}b=q[g>>2];q[c>>2]=b;q[e>>2]=b;l=q[a+476>>2]==2?35:0;break b;case 10:h=q[a+60>>2];if(h){o[g+12|0]=10;n[h](q[a+4>>2],g+12|0,1);break d}h=q[a+80>>2];if(!h){break d}i=q[g+4>>2];q[g+12>>2]=i;if(!r[b+68|0]){i=k;h=s;if(q[a+144>>2]!=(b|0)){i=q[a+296>>2];h=i+4|0}while(1){q[g+8>>2]=q[a+44>>2];u=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[h>>2]=q[g+12>>2];m=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],m,q[g+8>>2]-m|0);q[i>>2]=q[g+12>>2];if(u>>>0>1){continue}break}break d}n[h](q[a+4>>2],i,j-i|0);break d;case 9:m=q[a+60>>2];if(m){if(r[b+68|0]){break e}while(1){q[g+12>>2]=q[a+44>>2];i=n[q[b+56>>2]](b,g+4|0,j,g+12|0,q[a+48>>2])|0;q[t>>2]=q[g>>2];h=q[a+44>>2];n[m](q[a+4>>2],h,q[g+12>>2]-h|0);if(i>>>0<2){break d}q[p>>2]=q[g+4>>2];j=q[g>>2];continue}}h=q[a+80>>2];if(!h){break d}i=q[g+4>>2];q[g+12>>2]=i;if(!r[b+68|0]){i=k;h=s;if(q[a+144>>2]!=(b|0)){i=q[a+296>>2];h=i+4|0}while(1){q[g+8>>2]=q[a+44>>2];u=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[h>>2]=q[g+12>>2];m=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],m,q[g+8>>2]-m|0);q[i>>2]=q[g+12>>2];if(u>>>0>1){continue}break}break d}n[h](q[a+4>>2],i,j-i|0);break d;case 1:if(!f){l=6;break b}q[e>>2]=q[g+4>>2];l=0;break b;case 3:break c;case 0:case 4:case 5:case 6:case 7:case 8: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:case 39:case 40:case 41:case 42:break f;default:break g}}if(!f){l=20;break b}q[e>>2]=q[g+4>>2];l=0;break b}q[p>>2]=j;l=23;break b}h=q[g+4>>2];n[m](q[a+4>>2],h,j-h|0)}h=q[g>>2];q[g+4>>2]=h;q[p>>2]=h;h=q[a+476>>2]+ -2|0;if(h>>>0>1){continue}break}if(h-1){break b}q[e>>2]=q[g>>2];l=0;break b}q[p>>2]=j;l=4}Da=g+16|0;return l}function iE(a,b,c,d){a=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=Da-1568|0;Da=e;g=q[a+4>>2];o[e+47|0]=0;h=q[q[g+492>>2]+12>>2];a:{if(!(q[q[g+128>>2]+52>>2]|t[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){q[a+164>>2]=q[b+16>>2];f=q[b+20>>2];break b}q[a+164>>2]=65536;f=65536}q[a+108>>2]=0;q[a+72>>2]=1869968492;q[a+168>>2]=f;j=d&1;o[a+161|0]=!j;f=!(d&3);o[a+160|0]=f;f=n[q[h>>2]](e+48|0,g,b,a,q[g+424>>2],q[g+532>>2],f,d>>>16&15,84)|0;if(f){break a}i=d&1024;o[e+117|0]=i>>>10;q[e+1412>>2]=q[g+404>>2];q[e+1416>>2]=q[g+408>>2];q[e+1420>>2]=q[g+412>>2];q[e+1424>>2]=q[g+416>>2];q[e+1544>>2]=q[g+548>>2];q[e+1548>>2]=q[g+544>>2];f=Ch(e+48|0,c,e+16|0,e+47|0);if(!f){k=r[a+160|0];c=e+1436|0;f=q[c+4>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=f;c=q[e+1432>>2];q[e+24>>2]=q[e+1428>>2];q[e+28>>2]=c;c=q[e+1448>>2];f=q[e+1444>>2];n[q[h+4>>2]](e+48|0);q[a+124>>2]=q[a+124>>2]&1|4;c:{if(i){b=q[a+156>>2];d=q[e+80>>2];q[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+88>>2];q[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+36>>2];q[b+20>>2]=q[e+32>>2];q[b+24>>2]=d;d=q[e+28>>2];q[b+12>>2]=q[e+24>>2];q[b+16>>2]=d;q[b+32>>2]=c;q[b+28>>2]=f;o[b+8|0]=1;break c}h=q[e+88>>2];q[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=q[e+88>>2];q[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;o[q[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=q[g+476>>2]-q[g+468>>2]>>16;q[a+52>>2]=d;break d}d=q[e+92>>2];q[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}q[a+72>>2]=1869968492;q[a+60>>2]=d;if(!(!b|s[b+14>>1]>23)){q[a+124>>2]=q[a+124>>2]|256}h=a+108|0;e:{if(!(q[e+28>>2]|(q[e+24>>2]!=65536|q[e+36>>2]!=65536))){if(!q[e+32>>2]){break e}}ce(h,e+24|0);l=a,m=Ma(q[a+40>>2],q[e+24>>2]),q[l+40>>2]=m;l=a,m=Ma(q[a+52>>2],q[e+36>>2]),q[l+52>>2]=m}if(c|f){oc(h,f,c);q[a+40>>2]=f+q[a+40>>2];q[a+52>>2]=c+q[a+52>>2]}if(!(r[e+47|0]?0:j)){c=q[a+168>>2];f=q[a+164>>2];d=q[e+64>>2];b=q[d+4>>2];f:{if(q[e+120>>2]?k:0){break f}d=p[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){l=b,m=Ma(q[b>>2],f),q[l>>2]=m;l=b,m=Ma(q[b+4>>2],c),q[l+4>>2]=m;b=b+8|0;j=(d|0)>1;d=d+ -1|0;if(j){continue}break}}l=a,m=Ma(q[a+40>>2],f),q[l+40>>2]=m;l=a,m=Ma(q[a+52>>2],c),q[l+52>>2]=m}Te(h,e);b=q[e>>2];q[a+24>>2]=q[e+8>>2]-b;c=q[e+4>>2];d=q[e+12>>2];q[a+36>>2]=d;q[a+32>>2]=b;q[a+28>>2]=d-c;if(!i){break c}Sf(a+24|0,q[a+52>>2])}q[a+136>>2]=q[e+16>>2];q[a+140>>2]=q[e+20>>2];f=0;b=q[q[g+128>>2]+52>>2];if(!b){break a}n[q[q[b>>2]+4>>2]](q[b+4>>2],e+16|0);q[a+136>>2]=0;q[a+140>>2]=0;break a}n[q[h+4>>2]](e+48|0)}Da=e+1568|0;return f|0}function Rf(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,r=0;h=q[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(o[a+8|0]&1){r=q[b>>2];e:{if(r>>>0>4){break e}f:{g:{switch(r-1|0){default:e=s[a+68>>1];f=e;break e;case 1:e=q[a+60>>2]-q[a+52>>2]|0;d=q[a- -64>>2]-q[a+56>>2]|0;break f;case 2:e=p[a+76>>1];d=p[a+70>>1]-p[a+72>>1]|0;break f;case 3:c=q[b+4>>2];q[h+16>>2]=c;b=q[b+8>>2];q[h+20>>2]=b;if(!c){break c}if(b){break b}break d;case 0:break g}}e=p[a+70>>1]-p[a+72>>1]|0;d=e}c=d;c=c>>31;f=d+c^c;c=e>>31;e=c+e^c}d=q[b+4>>2];l=d;c=q[b+12>>2];if(c){l=(w(c,d)+36|0)/72|0}n=q[b+8>>2];j=n;b=q[b+16>>2];if(b){j=(w(b,n)+36|0)/72|0}h:{if(d){c=2147483647;i:{if(!e){break i}b=l>>31;b=b+l^b;if(b>>>0<=(e>>>17^65535)>>>0){c=((b<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break i}d=b>>>16|0;b=b<<16;g=b+(e>>>1|0)|0;b=d+(g>>>0>>0)|0;if(b>>>0>=e>>>0){break i}d=z(b);i=32-d|0;b=g>>>i|b<>>0)/(e>>>0)|0;m=b-w(c,e)|0;b=g<>>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;q[h+16>>2]=c;if(n){b=2147483647;j:{if(!f){break j}d=j>>31;d=d+j^d;if(d>>>0<=(f>>>17^65535)>>>0){b=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break j}e=d>>>16|0;d=d<<16;n=d+(f>>>1|0)|0;d=e+(n>>>0>>0)|0;if(d>>>0>=f>>>0){break j}g=z(d);i=32-g|0;d=n>>>i|d<>>0)/(f>>>0)|0;m=d-w(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;q[h+20>>2]=b;if((r|0)!=3){break h}if((b|0)<=(c|0)){break c}break d}q[h+20>>2]=c;j=bb(l,f,e);b=c;break h}c=2147483647;k:{if(!f){break k}b=j>>31;b=b+j^b;if(b>>>0<=(f>>>17^65535)>>>0){c=((b<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break k}d=b>>>16|0;b=b<<16;g=b+(f>>>1|0)|0;b=d+(g>>>0>>0)|0;if(b>>>0>=f>>>0){break k}d=z(b);i=32-d|0;b=g>>>i|b<>>0)/(f>>>0)|0;m=b-w(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;q[h+16>>2]=b;q[h+20>>2]=b;l=bb(j,e,f);c=b}if(!r){break a}break b}q[k>>2]=0;q[k+4>>2]=0;q[k+24>>2]=0;q[k+16>>2]=0;q[k+20>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;q[h+16>>2]=65536;q[h+20>>2]=65536;return}q[h+20>>2]=c;b=c;break b}q[h+16>>2]=b;c=b}d=(c|0)<0;g=s[a+68>>1];e=c;c=c>>31;c=e+c^c;l:{if(g+(c>>>8|0)>>>0<=8190){c=w(c,g)+32768>>>16|0;break l}c=w(g,c>>>16|0)+(w(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=c+b^c;m:{if(g+(c>>>8|0)>>>0<=8190){c=w(c,g)+32768>>>16|0;break m}c=w(g,c>>>16|0)+(w(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}p[h+14>>1]=j+32>>>6;p[h+12>>1]=l+32>>>6;$o(a,k)}function gx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}f=q[q[d+88>>2]+w(c,20)>>2];e=2;if((f|0)==65535){break b}c=q[a>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,f,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);f=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+((c>>>0>e>>>0?e:1)+w(c,g)<<1)|0;f=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!g){break c}c=q[a+4>>2];d=q[(r[c+69|0]?80:72)+c>>2];if(!d){break c}e=q[c+72>>2];if(e>>>0>=t[c+76>>2]){break c}h=r[f+2|0];if((r[f+3|0]|h<<8)==16384?!(h&32|(r[f+1|0]|r[f|0]<<8)):0){break c}Zc(c,d+ -1|0,e+1|0)}e=q[a+4>>2];h=q[e+72>>2];i=h+2|0;d:{if(i>>>0>t[e+76>>2]){break d}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,g)+!c<<1)|0;if(!(r[(j+w(r[c|0]<<8|r[c+1|0],6)|0)+2|0]&32)){break d}rb(e,h,i)}fx(b,a,f);d=q[a+4>>2];e=q[d+72>>2];if((e|0)!=q[d+76>>2]){g=r[f|0];h=r[f+1|0];e:{if(r[f+2|0]&64){c=q[d+40>>2];q[d+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[d+69|0]){f:{if(q[d+92>>2]==q[d+88>>2]){c=e;if((c|0)==q[d+80>>2]){break f}}if(!Va(d,1,1)){break e}e=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[e+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[e>>2];q[c+4>>2]=f;q[c+16>>2]=q[e+16>>2];f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;e=q[d+72>>2];c=q[d+80>>2]}q[d+80>>2]=c+1}q[d+72>>2]=e+1}d=q[a+4>>2];if(!r[d+68|0]){break a}g=h|g<<8;c=q[d+72>>2];continue}break}if(!r[d+68|0]){break a}while(1){c=q[d+72>>2];if(c>>>0>=t[d+76>>2]){break a}g:{if(r[d+69|0]){e=d;h:{if(q[d+92>>2]==q[d+88>>2]){b=c;if(q[d+80>>2]==(c|0)){break h}}if(!Va(d,1,1)){break g}b=q[d+88>>2]+w(q[d+72>>2],20)|0;g=q[b+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=g;q[c+16>>2]=q[b+16>>2];f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;c=q[d+72>>2];b=q[d+80>>2]}q[e+80>>2]=b+1}q[d+72>>2]=c+1}d=q[a+4>>2];if(r[d+68|0]){continue}break}}Kc(d)}function rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-240|0;Da=e;g=c;q[g+16>>2]=0;q[g+20>>2]=-1042284544;q[g+8>>2]=-4194304;q[g+12>>2]=1105199103;q[g>>2]=-4194304;q[g+4>>2]=1105199103;q[g+24>>2]=0;q[g+28>>2]=-1042284544;if(!(!q[a>>2]|t[a+212>>2]<=b>>>0)){h=q[a+76>>2];a:{if((h|0)==271312){break a}g=r[h|0];if(g>>>0>3){break a}b:{switch(g-1|0){default:f=r[(b+h|0)+1|0];break a;case 0:case 1:break a;case 2:break b}}f=1;g=r[h+1|0]|r[h+2|0]<<8;i=g<<8;g=(i&16711680|g<<24)>>>16|0;c:{if(g>>>0<=1){i=r[h+2|0]|i&65280;break c}i=r[h+2|0]|i&65280;while(1){j=i>>>0>f>>>0?(h+w(f,3)|0)+3|0:271312;if((r[j|0]<<8|r[j+1|0])>>>0>b>>>0){break c}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f+ -1|0;f=r[(i>>>0>f>>>0?(h+w(f,3)|0)+3|0:271312)+2|0]}o[e+88|0]=0;q[e+80>>2]=0;q[e+84>>2]=0;q[e+108>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;q[e+124>>2]=0;q[e+128>>2]=0;o[e+132|0]=0;q[e+176>>2]=0;j=e+168|0;g=j;q[g>>2]=0;q[g+4>>2]=0;q[e+72>>2]=0;q[e+76>>2]=0;q[e+116>>2]=0;q[e+120>>2]=0;k=f&255;h=q[a+68>>2];f=r[h|0]<<8|r[h+1|0];d:{if(f>>>0<=b>>>0){q[e- -64>>2]=q[67830];b=q[67829];q[e+56>>2]=q[67828];q[e+60>>2]=b;break d}g=r[h+2|0];l=(h+w(g,f+1|0)|0)+3|0;i=0;if(g){f=(h+w(b,g)|0)+3|0;while(1){i=r[f|0]|i<<8;f=f+1|0;g=g+ -1|0;if(g){continue}break}}b=rg(h,b);q[e+64>>2]=0;q[e+60>>2]=b;q[e+56>>2]=(i+l|0)+ -1}IX(e+72|0,e+56|0,q[a+64>>2],q[(t[a+204>>2]>k>>>0?q[a+208>>2]+w(k,24)|0:271312)+20>>2]);o[e+232|0]=d;q[e+220>>2]=0;p[e+216>>1]=0;q[e+40>>2]=0;q[e+44>>2]=-1042284544;q[e+32>>2]=0;q[e+36>>2]=-1042284544;q[e+24>>2]=-4194304;q[e+28>>2]=1105199103;o[e+144|0]=0;q[e+48>>2]=a;o[e+8|0]=0;q[e+16>>2]=-4194304;q[e+20>>2]=1105199103;b=r[271312];d=b|256;f=r[e+88|0];e:{while(1){g=65535;f:{if(f&255){break f}f=q[e+84>>2];a=f+1|0;h=q[e+76>>2];if(a>>>0>h>>>0){break f}g:{h:{if(f>>>0>>0){i=q[e+72>>2];g=r[i+f|0];if((g|0)==12){if(a>>>0>=h>>>0){break h}f=r[a+i|0];q[e+84>>2]=a;g=f|256;f=a}if(f>>>0>=h>>>0){f=g;break g}q[e+84>>2]=f+1;break f}o[e+88|0]=1;f=b;if((f|0)==12){break f}break g}o[e+88|0]=1;q[e+84>>2]=h;f=d}o[e+88|0]=1;q[e+84>>2]=h;g=f}HX(g,e+72|0,e+8|0);a=0;if((q[e+168>>2]|q[e+100>>2])<0){break e}f=r[e+88|0];a=0;if(r[e+92|0]|(f|(r[e+160|0]|r[e+112|0]))){break e}if(!r[e+144|0]){continue}break}a=q[e+20>>2];q[c>>2]=q[e+16>>2];q[c+4>>2]=a;a=q[e+44>>2];q[c+24>>2]=q[e+40>>2];q[c+28>>2]=a;a=q[e+36>>2];q[c+16>>2]=q[e+32>>2];q[c+20>>2]=a;a=q[e+28>>2];q[c+8>>2]=q[e+24>>2];q[c+12>>2]=a;a=1}f=a;La(q[e+108>>2]);q[e+108>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;La(q[e+176>>2]);q[j+8>>2]=0;q[j>>2]=0;q[j+4>>2]=0;La(q[e+108>>2])}Da=e+240|0;return f}function ao(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,x=0;d=Da-1328|0;Da=d;i=q[a+4>>2];l=q[i+328>>2];q[d+1324>>2]=0;m=q[i+136>>2];p=q[i+100>>2];k=q[q[i+128>>2]+52>>2];a:{b:{if(k){c=n[q[q[k>>2]>>2]](q[k+4>>2],b,d+664|0)|0;q[d+1324>>2]=c;if(c){break a}g=q[i+288>>2];if(g&255){e=q[d+664>>2];c=g;while(1){h=r[e|0]|h<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}}c=q[d+668>>2];c:{if(!c){e=0;break c}f=c-g|0;e=gb(p,f,d+1324|0);if(q[d+1324>>2]){break c}Qa(e,q[d+664>>2]+q[i+288>>2]|0,f)}n[q[q[k>>2]+4>>2]](q[k+4>>2],d+664|0);if(!q[d+1324>>2]){break b}break a}c=q[i+292>>2]+q[i+288>>2]|0;f=Xa(l,(q[i+284>>2]+q[i+308>>2]|0)+w(c,b)|0);q[d+1324>>2]=f;if(f){break a}c=mb(l,c<<1);q[d+1324>>2]=c;if(c){break a}f=q[l+32>>2];g=q[i+288>>2];if(g&255){j=g+ -1&255;e=f;c=g;while(1){h=r[e|0]|h<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}f=(f+j|0)+1|0}c=0;j=q[i+292>>2];if(j&255){u=j+ -1&255;e=f;c=j;while(1){s=r[e|0]|s<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}e=(g+(f+u|0)|0)+1|0;c=0;while(1){c=r[e|0]|c<<8;e=e+1|0;j=j+ -1|0;if(j&255){continue}break}}jb(l);d:{e:{if(!(c>>>0<=t[l+4>>2]?!(c>>>0>>0|h>>>0>=t[i+300>>2]):0)){q[d+1324>>2]=9;break e}f=c-s|0;if(f){break d}}j=0;e=0;break a}j=0;e=gb(p,f,d+1324|0);if(q[d+1324>>2]){break a}c=Gh(l,q[i+308>>2]+s|0,e,f);q[d+1324>>2]=c;if(c){break a}}c=q[i+316>>2]+(h<<3)|0;q[a+1364>>2]=q[c>>2];c=q[c+4>>2];q[a+1372>>2]=0;q[a+1376>>2]=0;q[a+1368>>2]=c;c=q[i+304>>2]+w(h,252)|0;g=q[c+220>>2];q[a+1380>>2]=q[c+216>>2];q[a+1384>>2]=g;h=q[c+228>>2];g=a+1388|0;q[g>>2]=q[c+224>>2];q[g+4>>2]=h;g=q[c+236>>2];q[a+1396>>2]=q[c+232>>2];q[a+1400>>2]=g;h=q[c+4>>2];q[a+1360>>2]=h;g=(h|0)>-1?h:0;if(f>>>0>=g>>>0){if((h|0)>=0){n[q[m+16>>2]](e,f,4330)}f:{if(r[a+70|0]){h=n[q[q[m+12>>2]+8>>2]](a,e+g|0,f-g|0)|0;q[d+1324>>2]=h;j=0;break f}n[q[m+24>>2]](d+664|0,a,1);n[q[m+28>>2]](i,c,d+8|0);q[d+1200>>2]=d+8;c=e+g|0;f=f-g|0;h=n[q[q[m+12>>2]+12>>2]](d+664|0,c,f)|0;q[d+1324>>2]=h;j=0;if((h&255)!=164){break f}o[q[a+8>>2]+160|0]=0;h=n[q[q[m+12>>2]+12>>2]](d+664|0,c,f)|0;q[d+1324>>2]=h;j=1}if(!q[q[k>>2]+8>>2]|(h|!k)){break a}c=q[a+32>>2];q[d+668>>2]=0;q[d+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=q[a+40>>2];q[d+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=q[a+44>>2];q[d+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;v=d,x=n[q[q[k>>2]+8>>2]](q[k+4>>2],b,0,d+664|0)|0,q[v+1324>>2]=x;q[a+32>>2]=q[d+664>>2]<<16;q[a+40>>2]=q[d+672>>2]<<16;q[a+44>>2]=q[d+676>>2]<<16;break a}q[d+1324>>2]=9}if(e){n[q[p+8>>2]](p,e)}o[q[a+8>>2]+161|0]=j;Da=d+1328|0;return q[d+1324>>2]}function ps(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[a+92>>2];b:{c:{if(e>>>0>2){break c}d:{e:{f:{g:{h:{i:{switch(e-1|0){default:f=q[a+64>>2];if((f|0)<(c|0)){g=q[a+4>>2];h=q[a+8>>2];j:{if(q[a+84>>2]){e=q[a+36>>2];break j}e=q[a+36>>2];q[a+84>>2]=e;q[a+80>>2]=e;e=e+32|0;q[a+36>>2]=e}if(e>>>0>2]){d=q[a+80>>2];q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=e;q[d+28>>2]=0;q[d+4>>2]=0;p[d+12>>1]=r[a+164|0]|((((f+g|0)+ -1&0-g)-f|0)<(h|0)?8:40);if(!q[a+88>>2]){q[a+88>>2]=d}break f}break a}if((f|0)<=(c|0)){break c}g=q[a+4>>2];h=q[a+8>>2];k:{if(q[a+84>>2]){e=q[a+36>>2];break k}e=q[a+36>>2];q[a+84>>2]=e;q[a+80>>2]=e;e=e+32|0;q[a+36>>2]=e}if(e>>>0>2]){d=q[a+80>>2];q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=e;q[d+28>>2]=0;q[d+4>>2]=0;e=r[a+164|0];p[d+12>>1]=(f&g+ -1)<(h|0)?e:e|16;if(!q[a+88>>2]){q[a+88>>2]=d}break h}break a;case 1:break g;case 0:break i}}d=q[a+64>>2];if((d|0)<=(c|0)){break e}f=q[a+36>>2];e=q[a+80>>2];g=f-q[e+8>>2]|0;if((g|0)<=-1){q[a+40>>2]=99;return 1}h=q[a+4>>2]+ -1&d;i=q[a+8>>2];l:{if(!g){d=f;break l}q[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=s[e+12>>1];p[e+12>>1]=(d&8?16:32)|d}q[a+80>>2]=f;d=f+32|0;q[a+36>>2]=d;q[f+8>>2]=d;q[f+16>>2]=0;q[e+28>>2]=f;p[a+76>>1]=s[a+76>>1]+1;e=f}g=q[a+32>>2];if(d>>>0>=g>>>0){break a}o[a+79|0]=0;if(!q[a+84>>2]){q[a+84>>2]=d;q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=d;q[e+28>>2]=0;q[e+4>>2]=0;d=r[a+164|0];p[e+12>>1]=(h|0)>=(i|0)?d|16:d;if(!q[a+88>>2]){q[a+88>>2]=e}}o[a+78|0]=1;q[a+92>>2]=2;o[a+79|0]=0;d=q[a+64>>2];break d}d=q[a+64>>2];if((d|0)>=(c|0)){break d}f=q[a+36>>2];e=q[a+80>>2];g=f-q[e+8>>2]|0;if((g|0)<=-1){q[a+40>>2]=99;return 1}h=q[a+4>>2];h=((h+d|0)+ -1&0-h)-d|0;i=q[a+8>>2];m:{if(!g){d=f;break m}q[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=s[e+12>>1];p[e+12>>1]=(d&8?16:32)|d}q[a+80>>2]=f;d=f+32|0;q[a+36>>2]=d;q[f+8>>2]=d;q[f+16>>2]=0;q[e+28>>2]=f;p[a+76>>1]=s[a+76>>1]+1;e=f}g=q[a+32>>2];if(d>>>0>=g>>>0){break a}o[a+79|0]=0;if(!q[a+84>>2]){q[a+84>>2]=d;q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=d;q[e+28>>2]=0;q[e+4>>2]=0;p[e+12>>1]=r[a+164|0]|((h|0)>=(i|0)?40:8);if(!q[a+88>>2]){q[a+88>>2]=e}}o[a+78|0]=1;q[a+92>>2]=1;o[a+79|0]=0;d=q[a+64>>2]}f=1;if(ns(a,q[a+60>>2],d,b,c,q[a+68>>2],q[a+72>>2])){break b}break c}e=r[a+78|0];d=ns(a,q[a+60>>2],0-d|0,b,0-c|0,0-q[a+72>>2]|0,0-q[a+68>>2]|0);if(!(r[a+78|0]|!e)){e=q[a+80>>2];q[e+20>>2]=0-q[e+20>>2]}f=1;if(d){break b}}q[a+64>>2]=c;q[a+60>>2]=b;f=0}return f}q[a+40>>2]=98;return 1}function AS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}g=e-a|0;if(g>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>14){break a}b:{switch(h-1|0){default:c=0;if(g>>>0<262){break a}q[b+12>>2]=d+ -2;c=(d|0)>1;break a;case 3:c=zS(a,b);break a;case 5:if(g>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+8|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+9|0]|r[a+8|0]<<8;if(c){a=a+10|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 9:if(g>>>0<20){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+16|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>2147483646){c=0;break a}if(c){a=a+20|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 11:if(g>>>0<16){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+12|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){c=0;break a}c=w(c,12);if(c){a=a+16|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 12:if(g>>>0<16){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+12|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){c=0;break a}c=w(c,12);if(c){a=a+16|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 0:case 1:case 2:case 4:case 6:case 7:case 8:case 10:break a;case 13:break b}}if(g>>>0<=9){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)<2){break a}q[i+12>>2]=a;c=yS(a+6|0,b,i+12|0)}Da=i+16|0;return c}function NQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0;c=Da-16832|0;Da=c;a:{b:{if(!a){break b}a=19;d=q[b+8>>2];if(!(d&1)){break a}a=20;e=q[b+4>>2];if(!e){break a}f=p[e+2>>1];if(!f){a=0;break a}j=p[e>>1];if((j|0)<1){a=0;break a}g=q[e+12>>2];if(!g|!q[e+4>>2]|(f|0)!=(p[(g+(j<<1)|0)+ -2>>1]+1|0)){break a}f=q[b>>2];q[c+232>>2]=q[e+16>>2];a=q[e+12>>2];q[c+224>>2]=q[e+8>>2];q[c+228>>2]=a;a=q[e+4>>2];q[c+216>>2]=q[e>>2];q[c+220>>2]=a;c:{if(d&2){a=q[b+12>>2];if(!a){a=0;break a}q[c+244>>2]=a;a=q[b+28>>2];q[c+312>>2]=0;q[c+248>>2]=a;a=q[b+32>>2];q[c+164>>2]=a;f=q[b+36>>2];q[c+172>>2]=f;d=q[b+40>>2];q[c+168>>2]=d;j=q[b+44>>2];break c}if(!f){break b}d=q[f+4>>2];if(!d){a=0;break a}j=q[f>>2];if(!j){a=0;break a}a=6;b=q[f+12>>2];if(!b){break a}a=q[f+8>>2];q[c+240>>2]=a;q[c+244>>2]=0;q[c+248>>2]=0;f=0;q[c+172>>2]=0;q[c+164>>2]=0;q[c+168>>2]=d;q[c+312>>2]=-1;q[c+236>>2]=(a|0)<0?b:b+w(a,j+ -1|0)|0;a=0}q[c+176>>2]=j;if((d|0)<=(a|0)){a=0;break a}a=0;if((j|0)<=(f|0)){break a}k=j-f|0;if(k>>>0>=129){a=k+127>>>7|0;k=((a+k|0)+ -1>>>0)/(a>>>0)|0}l=k<<2;a=l+15>>>4|0;q[c+200>>2]=1024-a;q[c+196>>2]=(c+448|0)+(a<<4);q[c+192>>2]=c+448;m=c+252|0;while(1){q[c+172>>2]=f;q[c+324>>2]=f;f=f+k|0;d=(f|0)<(j|0)?f:j;q[c+176>>2]=d;q[c+320>>2]=d;e=0;while(1){a=1;b=e+1|0;i=(c+320|0)+(b<<2)|0;g=q[i>>2];Na(q[c+192>>2],0,l);q[c+188>>2]=1;q[c+204>>2]=0;q[c+176>>2]=d;q[c+172>>2]=g;d:{h=MQ(c,h);if((h|0)!=64){if(h){break a}a=q[c+172>>2];g=a;if((a|0)>=q[c+176>>2]){break d}while(1){a=q[q[c+192>>2]+(g-a<<2)>>2];e:{if(!a){break e}h=0;d=q[c+164>>2];b=0;while(1){f:{if(!h){break f}h=q[a>>2];if((h|0)<=(d|0)){break f}ls(c,d,g,b,h-d|0)}b=(q[a+4>>2]<<9)+b|0;d=b-q[a+8>>2]|0;g:{if(!d){break g}h=q[a>>2];if((h|0)>2]){break g}i=d>>9;h:{if(r[c+232|0]&2){d=i&511;d=d>>>0>255?d^511:d;break h}d=i^d>>31;d=(d|0)<255?d:255}i=q[c+312>>2];if((i|0)>=0){s=i+1|0;q[c+312>>2]=s;i=w(i,6)+c|0;o[i+256|0]=d;p[i+254>>1]=1;p[i+252>>1]=h;if((s|0)!=10){break g}n[q[c+244>>2]](g,10,m,q[c+248>>2]);q[c+312>>2]=0;break g}o[h+(q[c+236>>2]-w(q[c+240>>2],g)|0)|0]=d}h=(b|0)!=0;d=q[a>>2]+1|0;a=q[a+12>>2];if(a){continue}break}if(!b){break e}ls(c,d,g,b,q[c+168>>2]-d|0)}a=q[c+312>>2];if((a|0)>=1){n[q[c+244>>2]](g,a,m,q[c+248>>2]);q[c+312>>2]=0}g=g+1|0;if((g|0)>=q[c+176>>2]){break d}a=q[c+172>>2];continue}}e=d-g>>1;if(!e){break a}q[i+4>>2]=g;d=e+g|0;q[i>>2]=d;h=1;e=b;continue}if((e|0)>=1){e=e+ -1|0;d=q[(c+320|0)+(e<<2)>>2];h=1;continue}break}h=1;if((f|0)<(j|0)){continue}break}a=0;break a}a=6}Da=c+16832|0;return a|0}function Ou(a,b){var c=0,d=x(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Da-16|0;Da=g;e=r[a+3|0]|r[a+2|0]<<8;j=q[b+96>>2];e=yb(e?e+a|0:271312,q[q[j+88>>2]+w(q[j+72>>2],20)>>2]);h=(r[a+5|0]|r[a+4|0]<<8)>>>0>e>>>0?((e<<2)+a|0)+6|0:271312;a:{if(!(r[h|0]<<8|r[h+1|0])){e=0;break a}c=q[j+72>>2];q[b+36>>2]=1;q[b>>2]=c;f=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[f+76>>2];e=0;o[b+20|0]=(c|0)==q[f+72>>2]?r[(q[f+88>>2]+w(c,20)|0)+15|0]:0;if(!Kf(b)){break a}i=r[a+3|0]|r[a+2|0]<<8;i=yb(i?i+a|0:271312,q[q[j+88>>2]+w(q[b>>2],20)>>2]);f=(r[a+5|0]|r[a+4|0]<<8)>>>0>i>>>0?((i<<2)+a|0)+6|0:271312;c=r[f+2|0]<<8|r[f+3|0];if(!c){break a}i=q[j+72>>2];e=q[b>>2];l=i-e|0;if(l>>>0>=2){rb(j,e,i);c=r[f+3|0]|r[f+2|0]<<8}Qi(c?a+c|0:271312,b,q[q[j+88>>2]+w(e,20)>>2],g+4|0,g);c=a;a=r[h+1|0]|r[h|0]<<8;Qi(a?c+a|0:271312,b,q[q[j+88>>2]+w(i,20)>>2],g+12|0,g+8|0);f=q[j+96>>2];m=q[b+112>>2];a=m+ -4|0;b:{if(a>>>0>3){break b}c:{switch(a-1|0){default:a=f+w(e,20)|0;c=q[a+8>>2];d=x(x(J(x(u[g+4>>2])))+x(c|0));d:{if(x(y(d))>2]=c;a=f+w(i,20)|0;c=q[a+8>>2];h=a;k=c;d=x(x(J(x(u[g+12>>2])))+x(c|0));e:{if(x(y(d))>2]=k-c;q[a>>2]=q[a>>2]-c;break b;case 0:a=f+w(e,20)|0;c=q[a+8>>2];h=a;k=c;d=x(x(J(x(u[g+4>>2])))+x(c|0));f:{if(x(y(d))>2]=k-c;q[a>>2]=q[a>>2]-c;a=f+w(i,20)|0;c=q[a+8>>2];d=x(x(J(x(u[g+12>>2])))+x(c|0));if(x(y(d))>2]=~~d;break b}q[a>>2]=-2147483648;break b;case 1:a=f+w(e,20)|0;c=q[a+12>>2];d=x(x(J(x(u[g>>2])))+x(c|0));g:{if(x(y(d))>2]=c;a=f+w(i,20)|0;c=q[a+12>>2];h=a;k=c;d=x(x(J(x(u[g+8>>2])))+x(c|0));h:{if(x(y(d))>2]=k-c;q[a+4>>2]=q[a+4>>2]-c;break b;case 2:break c}}a=f+w(e,20)|0;c=q[a+12>>2];h=a;k=c;d=x(x(J(x(u[g>>2])))+x(c|0));i:{if(x(y(d))>2]=k-c;q[a+4>>2]=q[a+4>>2]-c;a=f+w(i,20)|0;d=x(J(x(u[g+8>>2])));j:{if(x(y(d))>2]=c}a=r[b+128|0];d=x(u[g+8>>2]-u[g>>2]);k:{if(x(y(d))>2]-u[g+4>>2]);l:{if(x(y(d))>1]=l;o[a+18|0]=2;q[j+32>>2]=q[j+32>>2]|8;n:{if((q[b+112>>2]&-2)==4){q[a+12>>2]=h;break n}q[a+8>>2]=c}e=1;q[j+72>>2]=q[j+72>>2]+1}Da=g+16|0;return e}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,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=Da-48|0;Da=e;f=q[a+20>>2];a:{b:{if(f){g=85;if(n[f](a,b,0,0)){break a}f=q[a+4>>2];break b}g=85;f=q[a+4>>2];if(f>>>0>>0){break a}}q[a+8>>2]=b;if(f>>>0<=b>>>0){break a}g=q[a+20>>2];c:{if(g){g=n[g](a,b,e+16|0,16)|0;break c}g=f-b|0;g=g>>>0<16?g:16;Qa(e+16|0,q[a>>2]+b|0,g)}q[a+8>>2]=b+g;if(g>>>0<16){g=85;break a}g=2;f=o[e+16|0];if((f|0)<0){break a}h=o[e+20|0];if((h|0)<0){break a}i=o[e+24|0];if((i|0)<0){break a}j=o[e+28|0];if((j|0)<0){break a}f=r[e+19|0]|(r[e+17|0]<<16|(f&255)<<24|r[e+18|0]<<8);q[d>>2]=f;h=r[e+23|0]|(r[e+21|0]<<16|(h&255)<<24|r[e+22|0]<<8);if(!h){break a}k=r[e+31|0];j=k|(r[e+29|0]<<16|(j&255)<<24|r[e+30|0]<<8);i=r[e+27|0]|(r[e+25|0]<<16|(i&255)<<24|r[e+26|0]<<8);d:{if((f|0)<(h|0)){if((f|0)<=(h-i|0)){break d}break a}if((h|0)>(f-j|0)){break a}}if((i^2147483647)<(f|0)|(j^2147483647)<(h|0)|((2147483647-(f+i|0)|0)<(b|0)|(h+j^2147483647)<(b|0))){break a}f=b+f|0;l=f+i|0;i=q[a+4>>2];if(l>>>0>i>>>0){break a}b=b+h|0;if(j+b>>>0>i>>>0){break a}q[d>>2]=f;e:{f:{d=q[a+20>>2];if(d){if(!n[d](a,b,0,0)){break f}g=85;break a}f=q[a+4>>2];if(f>>>0>=b>>>0){break e}g=85;break a}f=q[a+4>>2];k=r[e+31|0]}q[a+8>>2]=b;o[e+15|0]=k+1;if(f>>>0<=b>>>0){g=85;break a}d=q[a+20>>2];g:{if(d){f=n[d](a,b,e,16)|0;break g}d=f-b|0;f=d>>>0<16?d:16;Qa(e,q[a>>2]+b|0,f)}d=b+f|0;q[a+8>>2]=d;if(f>>>0<16){g=85;break a}f=r[e+1|0];h=r[e|0];j=r[e+2|0];i=r[e+3|0];k=r[e+4|0];l=r[e+5|0];m=r[e+6|0];p=r[e+7|0];s=r[e+8|0];u=r[e+9|0];v=r[e+10|0];w=r[e+11|0];x=r[e+12|0];y=r[e+13|0];z=r[e+14|0];A=r[e+15|0];if(k|(i|(j|(f|h)))|l|m|p|s|u|v|w|x|y|z|A?!((f|0)==r[e+17|0]&(h|0)==r[e+16|0]&(j|0)==r[e+18|0]&(i|0)==r[e+19|0]&(k|0)==r[e+20|0]&(l|0)==r[e+21|0]&(m|0)==r[e+22|0]&(p|0)==r[e+23|0]&(s|0)==r[e+24|0]&(u|0)==r[e+25|0]&(v|0)==r[e+26|0]&(w|0)==r[e+27|0]&(x|0)==r[e+28|0]&(y|0)==r[e+29|0]&(z|0)==r[e+30|0]&(A|0)==r[e+31|0]):0){break a}g=d+8|0;f=q[a+20>>2];h:{i:{if(f){if(!n[f](a,g,0,0)){break i}d=q[a+8>>2];break h}if(t[a+4>>2]>>0){break h}}q[a+8>>2]=g;d=g}j:{if(d+1>>>0>=t[a+4>>2]){break j}k:{l:{m:{g=q[a+20>>2];n:{if(g){if((n[g](a,d,e+46|0,2)|0)!=2){break j}d=q[a+8>>2];f=e+46|0;break n}g=q[a>>2];if(!g){break m}f=d+g|0}g=2;f=r[f|0]|r[f+1|0]<<8;q[a+8>>2]=d+2;d=(f<<8&16711680|f<<24)>>16;if((d|0)<0){break a}b=(d&65535)+b|0;d=q[a+20>>2];if(!d){break l}g=85;if(!n[d](a,b,0,0)){break k}break a}q[a+8>>2]=d+2}g=85;if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;q[c>>2]=b;g=0;break a}g=85}Da=e+48|0;return g}function Ks(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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;t=Da-16|0;Da=t;e=Ef(a,d);a:{if(e){break a}ah(a,b,c,d);u=q[a>>2];f=q[a+2748>>2];h=q[q[f>>2]+8>>2];b=w(d,1348)+a|0;i=b;q[b+56>>2]=0;m=b+44|0;e=q[m>>2];c=q[b+52>>2];g=q[(d?12:4)+a>>2];b=0;b=(d|0)==1?r[q[(h<<2)+284112>>2]+12|0]:b;if(!d){k=Za(64,q[a+12>>2])}z=Za(32,g);f=Ma(q[((f+44|0)+w(d,9516)|0)+204>>2],g);l=Za((f|0)<16?f:16,g);if((e|0)>=1){n=w(e,44)+c|0;A=w(k,3);s=(w(d,1348)+a|0)- -64|0;B=b&255;b=c;while(1){e=p[b+10>>1];b:{if((z|0)>1]|(k|0)>(e|0)){break b}j=r[b+1|0];if((j|0)==4|(q[b+24>>2]?e<<1<(A|0):0)){break b}c:{x=q[i+56>>2];d:{if((x|0)<=0){h=p[b+2>>1];break d}h=p[b+2>>1];C=q[s>>2];e=0;while(1){f=w(e,44)+C|0;y=h-p[f>>1]|0;v=y>>31;if((j|0)==r[f+13|0]?(v^v+y)<(l|0):0){break c}e=e+1|0;if((x|0)!=(e|0)){continue}break}}e=Hs(m,h,j<<24>>24,B,u,t+12|0);if(e){break a}e=q[t+12>>2];q[e+40>>2]=b;q[e+36>>2]=b;q[e>>2]=0;q[e+4>>2]=0;q[e+32>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o[e+13|0]=r[b+1|0];f=p[b+2>>1];p[e>>1]=f;f=Ma(f,g);q[e+8>>2]=f;q[e+4>>2]=f;q[b+16>>2]=b;break b}q[b+16>>2]=q[f+36>>2];q[q[f+40>>2]+16>>2]=b;q[f+40>>2]=b}b=b+44|0;if(b>>>0>>0){continue}break}while(1){e:{if(r[c+1|0]!=4){break e}f=q[i+56>>2];if((f|0)<1){break e}h=p[c+2>>1];k=q[s>>2];b=0;while(1){e=k+w(b,44)|0;j=h-p[e>>1]|0;g=j>>31;if((g^g+j)>=(l|0)){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}q[c+16>>2]=q[e+36>>2];q[q[e+40>>2]+16>>2]=c;q[e+40>>2]=c}c=c+44|0;if(c>>>0>>0){continue}break}}e=0;g=q[(w(d,1348)+a|0)- -64>>2];if(!g){break a}a=q[i+56>>2];if((a|0)<1){break a}n=w(a,44)+g|0;e=g;while(1){a=q[e+36>>2];b=a;if(b){while(1){q[b+12>>2]=e;b=q[b+16>>2];if((a|0)!=(b|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}while(1){f=g+28|0;d=g+24|0;s=q[g+36>>2];b=s;c=0;k=0;while(1){j=o[b|0]&1;v=j^1;f:{g:{h:{i:{h=q[b+24>>2];if(h){a=q[h+12>>2];i=(a|0)!=0&(a|0)!=(g|0);e=q[b+20>>2];if(!e){break i}if(!(i|q[e+12>>2]!=0)){break f}l=0;a=d;if(i){break h}break g}e=q[b+20>>2];if(!e){break f}l=0;a=d;if(q[e+12>>2]){break g}break f}if(!i){break f}}l=1;e=h;a=f}h=q[a>>2];j:{if(h){u=p[b+2>>1]-p[e+2>>1]|0;a=u>>31;m=p[g>>1]-p[h>>1]|0;i=m>>31;if((a^a+u)>=(i^i+m)){break j}}h=q[e+12>>2]}if(l){q[f>>2]=h;o[h+12|0]=r[h+12|0]|2;break f}q[d>>2]=h}c=c+j|0;k=k+v|0;b=q[b+16>>2];if((s|0)!=(b|0)){continue}break}o[g+12|0]=(c|0)!=0&c>>>0>=k>>>0;if(!(!q[g+28>>2]|!q[d>>2])){q[f>>2]=0}g=g+44|0;if(g>>>0>>0){continue}break}e=0}Da=t+16|0;return e}function cX(a,b){var c=0,d=0;a:{b:{c:{c=a+ -247|0;if(c>>>0>7){if((a|0)==28){a=q[b+12>>2];d=q[b+4>>2];d:{if(a>>>0>=d>>>0){o[b+16|0]=1;c=271312;break d}c=a+q[b>>2]|0}c=r[c|0];a=a+1|0;e:{if(a>>>0>=d>>>0){o[b+16|0]=1;a=271312;break e}a=a+q[b>>2]|0}d=r[a|0];a=q[b+24>>2];f:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break f}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=(d|c<<8)<<16>>16;if(r[b+16|0]){a=q[b+4>>2];break c}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break c}c=c+2|0;if(c>>>0>a>>>0){break c}break b}if(a+ -32>>>0<=214){c=q[b+24>>2];g:{if(c>>>0>2]){q[b+24>>2]=c+1;b=q[b+36>>2]+(c<<5)|0;break g}o[b+20|0]=1;b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976}q[b+8>>2]=0;q[b+12>>2]=0;if(q[b+16>>2]>=0){q[b+20>>2]=0}v[b>>3]=a+ -139|0;return}o[b+40|0]=1;q[b+24>>2]=0;return}h:{switch(c-4|0){case 0:case 1:case 2:case 3:c=(a<<16)+ -16449536>>8;a=q[b+12>>2];i:{if(a>>>0>=t[b+4>>2]){o[b+16|0]=1;a=271312;break i}a=a+q[b>>2]|0}c=c+r[a|0]|0;a=q[b+24>>2];j:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break j}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=-108-c|0;k:{if(r[b+16|0]){a=q[b+4>>2];break k}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break k}c=c+1|0;if(c>>>0>a>>>0){break k}break b}break a;default:break h}}c=(a<<8)+2304|0;a=q[b+12>>2];l:{if(a>>>0>=t[b+4>>2]){o[b+16|0]=1;a=271312;break l}a=a+q[b>>2]|0}c=((c|r[a|0])<<16)+7077888|0;a=q[b+24>>2];m:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break m}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=c>>16;n:{if(r[b+16|0]){a=q[b+4>>2];break n}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break n}c=c+1|0;if(c>>>0>a>>>0){break n}break b}break a}o[b+16|0]=1;q[b+12>>2]=a;return}q[b+12>>2]=c;return}o[b+16|0]=1;q[b+12>>2]=a}function In(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0;k=Da-16|0;Da=k;e=q[d+628>>2];a:{if(e>>>0>4){f=-31;break a}l=d+8|0;b:{c:{d:{e:{f:{switch(e-1|0){case 2:g=q[d+2428>>2];break d;case 1:f=q[d+2424>>2];break e;default:f=Fn(d,l,b);if((f|0)!=1){break a}q[b>>2]=q[b>>2]+1;q[d+2420>>2]=0;e=n[q[d+24>>2]](q[d+32>>2],a)|0;q[c>>2]=e;if(!e){f=-25;break a}f=1;if(t[b>>2]<=1){Na(e,0,a);break a}q[d+628>>2]=1;break;case 3:break c;case 0:break f}}e=q[d+12>>2];g:{if(32-e>>>0>=5){g=q[l>>2];break g}f=q[d+20>>2];h=e;while(1){if(!f){f=2;break a}g=q[d+8>>2]>>>8|0;q[d+8>>2]=g;i=q[d+16>>2];m=r[i|0];f=f+ -1|0;q[d+20>>2]=f;e=h+ -8|0;q[d+12>>2]=e;q[d+16>>2]=i+1;g=g|m<<24;q[d+8>>2]=g;i=40-h|0;h=e;if(i>>>0<5){continue}break}}q[d+628>>2]=2;i=e;e=g>>>e|0;h=e&1;q[d+12>>2]=i+(h?5:1);f=(e>>>1&15)+1&0-h;q[d+2424>>2]=f}b=q[b>>2]+f|0;f=rh(b,b,d+2432|0,0,d);if((f|0)!=1){break a}q[d+628>>2]=3;q[d+2428>>2]=65535;g=65535}p=q[d+2424>>2];b=q[d+2420>>2];m=q[c>>2];q[k+12>>2]=g;if((g|0)==65535?b>>>0>=a>>>0:0){break c}f=(g|0)!=65535;u=d+2432|0;while(1){h:{i:{j:{if(f&1){break j}k:{l:{e=q[d+12>>2];m:{if(32-e>>>0>=15){g=q[l>>2];break m}f=q[d+20>>2];h=e;while(1){if(!f){break l}g=q[d+8>>2]>>>8|0;q[d+8>>2]=g;i=q[d+16>>2];j=r[i|0];f=f+ -1|0;q[d+20>>2]=f;e=h+ -8|0;q[d+12>>2]=e;q[d+16>>2]=i+1;g=g|j<<24;q[d+8>>2]=g;i=40-h|0;h=e;if(i>>>0<15){continue}break}}i=d;g=g>>>e|0;j=((g&255)<<2)+d|0;f=j+2432|0;h=r[f|0];if(h>>>0>=9){e=e+8|0;q[d+12>>2]=e;f=(s[j+2434>>1]+(q[(h<<2)+153520>>2]&g>>>8&127)<<2)+f|0;h=r[f|0]}q[i+12>>2]=(h&255)+e;g=s[f+2>>1];q[k+12>>2]=g;break k}if(!ud(u,l,k+12|0)){g=65535;break b}g=q[k+12>>2]}if(!g){g=0;o[b+m|0]=0;break i}if(g>>>0<=p>>>0){break j}o[b+m|0]=g-p;break i}e=q[d+12>>2];n:{if(32-e>>>0>=g>>>0){i=q[l>>2];break n}f=q[d+20>>2];h=e;while(1){if(!f){break b}i=q[d+8>>2]>>>8|0;q[d+8>>2]=i;j=q[d+16>>2];v=r[j|0];f=f+ -1|0;q[d+20>>2]=f;e=h+ -8|0;q[d+12>>2]=e;q[d+16>>2]=j+1;i=i|v<<24;q[d+8>>2]=i;j=40-h|0;h=e;if(j>>>0>>0){continue}break}}q[d+12>>2]=e+g;e=q[(g<<2)+153552>>2]&i>>>e;h=1<>>0>a>>>0){f=-8;break a}Na(b+m|0,0,i);b=h+(b+e|0)|0;break h}b=b+1|0}f=0;if(b>>>0>>0){continue}break}}h=q[d+12>>2];o:{p:{if((h|0)!=32){b=q[l>>2];break p}b=q[d+20>>2];if(!b){f=2;e=4;break o}e=q[d+8>>2]>>>8|0;q[d+8>>2]=e;g=q[d+16>>2];i=r[g|0];q[d+20>>2]=b+ -1;h=24;q[d+12>>2]=24;q[d+16>>2]=g+1;b=e|i<<24;q[d+8>>2]=b}f=1;q[d+12>>2]=h+1;e=0;if(!(b>>>h&1)){break o}sA(q[c>>2],a,d)}q[d+628>>2]=e;break a}q[d+2420>>2]=b;q[d+2428>>2]=g;f=2}Da=k+16|0;return f}function fp(a,b){var c=0,d=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Da-48|0;Da=j;h(+a);d=e(1)|0;m=e(0)|0;a:{b:{i=d;d=i;k=i&2147483647;c:{if(k>>>0<=1074752122){if((d&1048575)==598523){break c}if(k>>>0<=1073928572){if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(k>>>0<=1075594811){if(k>>>0<=1075183036){if((k|0)==1074977148){break c}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((k|0)==1075388923){break c}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(k>>>0>1094263290){break b}}n=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+n*-1.5707963267341256;l=n*6.077100506506192e-11;a=c-l;v[b>>3]=a;h(+a);d=e(1)|0;e(0)|0;i=k>>>20|0;m=(i-(d>>>20&2047)|0)<17;if(y(n)<2147483648){d=~~n}else{d=-2147483648}d:{if(m){break d}l=c;a=n*6.077100506303966e-11;c=c-a;l=n*2.0222662487959506e-21-(l-c-a);a=c-l;v[b>>3]=a;o=i;h(+a);i=e(1)|0;e(0)|0;if((o-(i>>>20&2047)|0)<50){break d}l=c;a=n*2.0222662487111665e-21;c=c-a;l=n*8.4784276603689e-32-(l-c-a);a=c-l;v[b>>3]=a}v[b+8>>3]=c-a-l;break a}if(k>>>0>=2146435072){a=a-a;v[b>>3]=a;v[b+8>>3]=a;d=0;break a}f(0,m|0);f(1,i&1048575|1096810496);a=+g();d=0;while(1){o=d;d=(j+16|0)+(d<<3)|0;if(y(a)<2147483648){p=~~a}else{p=-2147483648}c=+(p|0);v[d>>3]=c;a=(a-c)*16777216;d=1;if(!o){continue}break}v[j+32>>3]=a;e:{if(a!=0){d=2;break e}o=1;while(1){d=o;o=d+ -1|0;if(v[(j+16|0)+(d<<3)>>3]==0){continue}break}}d=wG(j+16|0,j,(k>>>20|0)+ -1046|0,d+1|0);a=v[j>>3];if((i|0)<-1?1:(i|0)<=-1?m>>>0>4294967295?0:1:0){v[b>>3]=-a;v[b+8>>3]=-v[j+8>>3];d=0-d|0;break a}v[b>>3]=a;i=q[j+12>>2];q[b+8>>2]=q[j+8>>2];q[b+12>>2]=i}Da=j+48|0;return d}function UX(a,b,c){a=a|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;h=q[c+88>>2];i=20;f=1;b=0;a=0;g=q[c+76>>2];d=0;a:{if(g){break a}d=1}while(1){b:{c:{d:{if(!d){k=i<<1;j=p[k+241376>>1]+240528|0;d=o[i+241456|0];b=r[i+241648|0]==7?a:b;i=r[(w(a,20)+h|0)+18|0];m=r[k+240432|0];if(i>>>0>=m>>>0){d=i>>>0>r[k+240433|0]?d:i-m|0}d=o[d+j|0];break d}if((i|0)==20){break c}a=g;d=r[i+241600|0]+ -1|0}i=o[d+241504|0];j=d&31;e:{if((32<=(d&63)>>>0?12095>>>j|0:((1<>>j)&1){break e}d=o[d+241552|0]+ -1|0;if(d>>>0>11){break e}f:{g:{switch(d-1|0){case 0:e=a+1|0;break e;case 6:e=a+1|0;if(b>>>0>>0){k=f<<4|2;d=b;while(1){o[(w(d,20)+h|0)+15|0]=k;j=(a|0)==(d|0);d=d+1|0;if(!j){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break e;case 8:if(b>>>0>>0){e=f<<4;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;case 10:if(b>>>0>>0){e=f<<4|1;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;case 9:if(b>>>0>>0){e=f<<4|2;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;default:if(b>>>0>>0){d=f<<4;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break e;case 3:if(b>>>0>>0){d=f<<4|1;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break e;case 1:d=l+ -2|0;if(d>>>0>1){break e}if(d-1){if(b>>>0>>0){d=f<<4|1;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;l=2;break e}if(b>>>0>>0){d=f<<4|2;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 2:e=a+1|0;l=2;break e;case 7:break g;case 4:case 5:break e}}e=a+1|0}l=3}b=r[i+241696|0]==6?0:b;a=a+1|0;if((g|0)!=(a|0)){break b}d=1;continue}d=q[c+76>>2];if(d){b=d+ -1|0;a=0;e=q[c+88>>2];g=r[e+15|0];while(1){h:{if((a|0)==(b|0)){a=d;break h}a=a+1|0;if((g|0)==r[(e+w(a,20)|0)+15|0]){continue}}break}g=0;e=d;while(1){b=a;if(a-g>>>0>=2){rb(c,g,b);e=q[c+76>>2]}a=b+1|0;g=e>>>0>a>>>0?e:a;k=g+ -1|0;f=q[c+88>>2];h=r[(f+w(b,20)|0)+15|0];a=b;while(1){i:{if((a|0)==(k|0)){a=g;break i}a=a+1|0;if((h|0)==r[(f+w(a,20)|0)+15|0]){continue}}break}g=b;if(b>>>0>>0){continue}break}}return}d=0;continue}}function Ed(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=Da-16|0;Da=i;d=q[a>>2];a:{if(d>>>0>=b>>>0){break a}e=r[d|0];f=e+ -43|0;b:{if(f>>>0>2|!(f-1)){break b}d=d+1|0;if((d|0)==(b|0)){break a}m=(e|0)==45;e=r[d|0];f=e+ -43|0;if(f>>>0>2){break b}if(f-1){break a}}if((e|0)!=46){q[i+8>>2]=d;g=ne(i+8|0,b,10);e=q[i+8>>2];c:{if((e|0)!=(d|0)){if(r[e|0]!=35|e>>>0>=b>>>0){break c}f=e+1|0;q[i+8>>2]=f;g=ne(i+8|0,b,g);e=q[i+8>>2];if((f|0)!=(e|0)){break c}}e=d;g=0}if((d|0)==(e|0)){break a}l=(g|0)>32767;g=l?g:g<<16;d=e}d:{if(!(r[d|0]!=46|d>>>0>=b>>>0)){h=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break d}e=0;e:{if(!g){while(1){f:{f=r[d|0];if(f>>>0>32){break f}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break f;default:break d}}if(f<<24>>24<0|f+ -48>>>0>9){break d}g:{if((e|0)>214748363|(h|0)>214748363){break g}e=o[f+291616|0]+w(e,10)|0;if((c|0)<=0){h=w(h,10);break g}c=c+ -1|0}d=d+1|0;if((d|0)!=(b|0)){continue}break e}}while(1){h:{f=r[d|0];if(f>>>0>32){break h}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break h;default:break d}}if(f<<24>>24<0|f+ -48>>>0>9){break d}k=o[f+291616|0]+w(e,10)|0;f=(e|0)<214748364&(h|0)<214748364;e=f?k:e;h=f?w(h,10):h;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break d}e=0;h=1}i:{j:{k:{l:{f=d+1|0;if(!((r[d|0]|32)!=101|f>>>0>=b>>>0)){q[i+12>>2]=f;j=ne(i+12|0,b,10);d=q[i+12>>2];m:{if((f|0)!=(d|0)){if(r[d|0]!=35|d>>>0>=b>>>0){break m}k=d+1|0;q[i+12>>2]=k;j=ne(i+12|0,b,j);d=q[i+12>>2];if((k|0)!=(d|0)){break m}}d=f;j=0}if((d|0)==(f|0)){break a}if((j|0)>1e3){break l}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}q[a>>2]=d;if(!(e|g)){break a}d=2147483647;if(l){break i}if(j){break a}if((c|0)<=0){break k}while(1){if((g|0)>214748363){break i}n:{if((e|0)>=214748364){if((h|0)==1){break i}h=(h|0)/10|0;break n}e=w(e,10)}g=w(g,10);a=(c|0)>1;c=c+ -1|0;if(a){continue}break}break j}q[a>>2]=d;d=2147483647;if(e|g){break i}break a}if((c|0)>=0){break j}while(1){a=c;b=g;g=(b|0)/10|0;o:{if((h|0)<=214748363){h=w(h,10);break o}e=(e|0)/10|0}if(!(e?0:b+9>>>0<=18)){c=a+1|0;if(c>>>0>>0){break j}continue}break}break a}if(!e){d=g;break i}d=Za(e,h)+g|0}n=m?0-d|0:d}Da=i+16|0;return n}function Kt(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,s=0,t=0,u=0;if(!Nb(b,a,2)){return 0}k=q[c>>2];g=q[c+4>>2];s=k+(g<<1)|0;h=q[c+12>>2];l=q[c+16>>2];t=h+(l<<1)|0;c=0;a:{if(!g){break a}c=0;if(!l){break a}d=-2;i=l;f=h;c=g;e=k;while(1){b:{n=d+1|0;d=c?e:271312;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;m=((n|0)!=(d|0))+m|0;j=j+1|0;n=(c|0)!=0;e=(n<<1)+e|0;c=c-n|0;if((s|0)==(e|0)&!c){break b}n=(i|0)!=0;i=i-n|0;f=(n<<1)+f|0;if((t|0)!=(f|0)){continue}}break}c=w(m,3)}o[a|0]=0;c=j>>>0>c>>>0;o[a+1|0]=c?2:1;c:{d:{if(c-1){d=a+2|0;if(!Nb(b,d,2)){break d}h=g>>>0>l>>>0?l:g;c=(h<<24|h<<8&16711680)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(h&65280)>>>8|0;e=h;e:{if(h>>>0<65536){break e}e=h;if(!r[b+20|0]){break e}o[b+20|0]=0;c=r[a+2|0];e=r[a+3|0]}if(!Nb(b,d,((c&255)<<9|(e&255)<<1)+2|0)){break d}u=1;if(!h){break d}c=0;while(1){e=(c<<1)+a|0;b=g?k:271312;b=r[b|0]|r[b+1|0]<<8;o[e+4|0]=b;o[e+5|0]=b>>>8;b=(g|0)!=0;g=g-b|0;k=(b<<1)+k|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}break d}if(!Nb(b,a,4)){break d}if(!g|!l){break c}j=0;d=-2;e=l;m=h;c=g;i=k;while(1){f:{f=d+1|0;d=c?i:271312;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;j=((f|0)!=(d|0))+j|0;f=(e|0)!=0;m=(f<<1)+m|0;if((t|0)==(m|0)){break f}e=e-f|0;f=(c|0)!=0;i=(f<<1)+i|0;c=c-f|0;if(c|(i|0)!=(s|0)){continue}}break}e=a+2|0;if(!Nb(b,e,2)){return 0}c=(j<<8&16711680|j<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(j&65280)>>>8|0;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0;j=r[a+3|0];c=r[a+2|0]}if(!Nb(b,e,w(j&255|(c&255)<<8,6)+2|0)){break d}e=-2;c=-1;i=0;while(1){m=e+1|0;b=g?k:271312;f=r[b|0]|r[b+1|0]<<8;e=(f<<24|f<<8&16711680)>>>16|0;if((m|0)!=(e|0)){c=c+1|0;g:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);b=642976;break g}b=(w(c,6)+a|0)+4|0}o[b|0]=f;o[b+1|0]=f>>>8;h:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);b=642976;break h}b=(w(c,6)+a|0)+4|0}d=b;b=(i<<8&16711680|i<<24)>>>16|0;o[d+4|0]=b;o[d+5|0]=b>>>8}i:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);b=642976;break i}b=(w(c,6)+a|0)+4|0}o[b+2|0]=f;o[b+3|0]=f>>>8;u=1;b=(l|0)!=0;h=(b<<1)+h|0;if((t|0)==(h|0)){break d}i=i+1|0;l=l-b|0;b=(g|0)!=0;g=g-b|0;k=(b<<1)+k|0;if(g|(s|0)!=(k|0)){continue}break}}return u}o[a+2|0]=0;o[a+3|0]=0;return 1}function mP(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;g=Da-4208|0;Da=g;i=ab(1,36);a:{if(!i){i=0;break a}q[i>>2]=1;j=i;if(c){c=eb(c)}else{c=0}q[j+4>>2]=c;if(d){h=eb(d)}q[i+12>>2]=0;q[i+8>>2]=h;j=ab(1,44);b:{if(!j){q[i+32>>2]=0;hb(a,2,354385,0);break b}q[j>>2]=i;q[j+36>>2]=q[88662];c=q[88661];q[j+28>>2]=q[88660];q[j+32>>2]=c;c=q[88659];q[j+20>>2]=q[88658];q[j+24>>2]=c;c=q[88657];q[j+12>>2]=q[88656];q[j+16>>2]=c;c=q[88655];q[j+4>>2]=q[88654];q[j+8>>2]=c;d=q[a>>2];c:{if(!d|!r[d|0]){break c}h=fk(d);if(!h){break c}c=Xf(h);if(c){while(1){d:{if(r[c+19|0]==46){break d}q[g+80>>2]=d;l=c+19|0;q[g+84>>2]=l;jH(g+96|0,g+80|0);q[g+4204>>2]=0;q[g+64>>2]=g+96;hb(a,4,354658,g- -64|0);c=bt(a,g+96|0,g+4204|0);if(!c){break d}pl(a,l,c,q[g+4204>>2]);La(c)}c=Xf(h);if(c){continue}break}}Wh(h)}if(q[a+16>>2]>=1){l=0;while(1){c=q[a+12>>2]+w(l,12)|0;p=q[c+8>>2];s=q[c+4>>2];m=q[c>>2];o=1;d=0;while(1){e:{if(RG(b,s,p,d,g+4204|0)){q[g+48>>2]=m;hb(a,2,354681,g+48|0);break e}c=q[g+4204>>2];o=q[c>>2];Tr(a,c);q[g+120>>2]=0;q[g+124>>2]=0;q[g+112>>2]=0;q[g+116>>2]=0;q[g+104>>2]=0;q[g+108>>2]=0;q[g+96>>2]=0;q[g+100>>2]=0;if(!oP(q[g+4204>>2],g+96|0)){q[g+32>>2]=m;hb(a,2,354712,g+32|0);se(q[g+4204>>2]);break e}c=ab(1,12);if(!c){h=q[g+108>>2];if((h|0)>=1){c=0;k=q[g+96>>2];while(1){La(q[k+(c<<2)>>2]);c=c+1|0;if((h|0)!=(c|0)){continue}break}}k=q[g+112>>2];f:{if((k|0)<=0){h=q[g+100>>2];break f}c=0;h=q[g+100>>2];while(1){La(q[(c<<2)+h>>2]);c=c+1|0;if((k|0)!=(c|0)){continue}break}}La(q[g+96>>2]);La(h);se(q[g+4204>>2]);break e}q[c>>2]=a;h=q[g+4204>>2];q[c+8>>2]=l;q[c+4>>2]=h;if(!Yr(j,g+96|0,0,d,c)){q[g+16>>2]=m;hb(a,2,354758,g+16|0)}h=q[g+108>>2];if((h|0)>=1){c=0;k=q[g+96>>2];while(1){La(q[k+(c<<2)>>2]);c=c+1|0;if((h|0)!=(c|0)){continue}break}}k=q[g+112>>2];g:{if((k|0)<=0){h=q[g+100>>2];break g}c=0;h=q[g+100>>2];while(1){La(q[(c<<2)+h>>2]);c=c+1|0;if((k|0)!=(c|0)){continue}break}}La(q[g+96>>2]);La(h)}d=d+1|0;if((d|0)<(o|0)){continue}break}l=l+1|0;if((l|0)>2]){continue}break}}q[i+32>>2]=j}if(!f){break a}c=0;d=q[160533];h:{if(!d){break h}i:{if((f|0)==1){while(1){b=n[d](a,i,e)|0;q[i+28>>2]=b;if(b){break i}c=c+1|0;d=q[w(c,12)+642132>>2];if(d){continue}break h}}while(1){if(q[w(c,12)+642128>>2]==(f|0)){b=n[d](a,i,e)|0;q[i+28>>2]=b;if(b){break i}}c=c+1|0;d=q[w(c,12)+642132>>2];if(d){continue}break}break h}q[g>>2]=q[w(c,12)+642136>>2];hb(a,4,354425,g)}if(q[i+28>>2]){break a}hb(a,2,354448,0)}Da=g+4208|0;return i}function fq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;h=Da-16|0;Da=h;m=q[a+272>>2];q[a+272>>2]=1;g=q[a+352>>2];j=g+104|0;a:{b:{if(q[g+104>>2]){break b}if(Ya(j)){break b}f=1;break a}p=g+132|0;k=a+424|0;l=a+412|0;i=g+116|0;while(1){c:{d:{e:{f:{g:{e=(n[q[b+20>>2]](b,c,d,h+8|0)|0)+4|0;if(e>>>0>32){break g}f=0;h:{switch(e-1|0){case 31:if(!(q[a+144>>2]==(b|0)?!r[a+484|0]:0)){f=q[h+8>>2];e=q[b+64>>2];q[h+12>>2]=e+c;i:{j:{if(!q[k>>2]){if(!Ya(l)){break j}}f=f-e|0;while(1){if(n[q[b+56>>2]](b,h+12|0,f,k,q[a+420>>2])>>>0<2){break i}if(Ya(l)){continue}break}}f=1;break d}f=1;if(!q[a+428>>2]){break d}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(l)){break d}e=q[k>>2]}q[a+424>>2]=e+1;o[e|0]=0;e=q[a+428>>2];if(!e){break d}e=ic(a,p,e,0);q[a+424>>2]=q[a+428>>2];if(!e){o[g+128|0]=r[g+130|0];f=0;break d}if(r[e+32|0]){f=12;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}if(!q[e+16>>2]){break e}if(!q[a+112>>2]){break f}o[g+131|0]=0;o[e+32|0]=1;c=n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])|0;o[e+32|0]=0;if(!c){f=21;break d}if(r[g+131|0]){break c}o[g+128|0]=r[g+130|0];c=q[h+8>>2];continue}q[a+284>>2]=c;f=10;break d;case 9:case 12:f=q[h+8>>2];q[h+12>>2]=c;k:{l:{if(!q[i>>2]){if(!Ya(j)){break l}}while(1){if(n[q[b+56>>2]](b,h+12|0,f,i,q[g+112>>2])>>>0<2){break k}if(Ya(j)){continue}break}}f=1;break d}if(q[g+120>>2]){break c}f=1;break d;case 0:q[h+8>>2]=q[b+64>>2]+c;case 10:e=q[g+116>>2];if((e|0)==q[g+112>>2]){if(!Ya(j)){f=1;break d}e=q[i>>2]}q[i>>2]=e+1;o[e|0]=10;c=q[h+8>>2];continue;case 13:f=n[q[b+40>>2]](b,c)|0;if((f|0)<=-1){f=14;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}c=0;f=Ak(f,h+12|0);if((f|0)<1){break c}while(1){e=q[g+116>>2];if((e|0)==q[g+112>>2]){if(!Ya(j)){f=1;break d}e=q[i>>2]}s=r[(h+12|0)+c|0];q[i>>2]=e+1;o[e|0]=s;c=c+1|0;if((f|0)!=(c|0)){continue}break}break c;case 2:f=4;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d;case 1:case 4:case 5:case 6:case 7:case 8: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:break g;case 3:break h;default:break d}}f=4;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=q[h+8>>2];break d}f=23;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}o[g+128|0]=r[g+130|0];break c}o[e+32|0]=1;c=q[e+4>>2];f=fq(a,q[a+224>>2],c,c+q[e+8>>2]|0);o[e+32|0]=0;if(!f){break c}}q[a+272>>2]=m;break a}c=q[h+8>>2];continue}}Da=h+16|0;return f}function GX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0,z=0;c=Da+ -64|0;Da=c;e=q[a+24>>2];d=e+ -4|0;if(e>>>0<=3){o[a+20|0]=1}i=q[a+32>>2];a:{if(i>>>0<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);n=+g();break a}n=v[q[a+36>>2]+(d<<3)>>3]}if(e>>>0<=2){o[a+20|0]=1}d=e+ -3|0;b:{if(i>>>0<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);p=+g();break b}p=v[q[a+36>>2]+(d<<3)>>3]}j=q[b+40>>2];if(e>>>0<=1){o[a+20|0]=1}d=e+ -2|0;c:{if(i>>>0<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break c}h=v[q[a+36>>2]+(d<<3)>>3]}d:{if(y(h)<2147483648){d=~~h;break d}d=-2147483648}i=0;e:{if(d>>>0<=255){i=r[d+242592|0];s=q[j+48>>2];if((s|0)!=271312){i=im(s,i,q[j+212>>2]);j=q[b+40>>2];d=q[a+24>>2];break e}i=d>>>0<229?q[j+168>>2]?0:i:0}d=e}e=e+ -1|0;if(d>>>0<=e>>>0){o[a+20|0]=1}f:{g:{h:{if(t[a+32>>2]<=e>>>0){e=q[67829];d=q[67828];q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);h=+g();break h}h=v[q[a+36>>2]+(e<<3)>>3]}i:{if(y(h)<2147483648){d=~~h;break i}d=-2147483648}e=0;j:{if(d>>>0>255){break j}e=r[d+242592|0];s=q[j+48>>2];if((s|0)!=271312){e=im(s,e,q[j+212>>2]);break j}e=d>>>0<229?q[j+168>>2]?0:e:0}if(!e|!i|r[a+160|0]){break g}if(!rm(q[b+40>>2],i,c+32|0,1)){break g}if(!rm(q[b+40>>2],e,c,1)){break g}a=b+8|0;k:{l:{u=v[b+24>>3];w=v[b+8>>3];if(!!(u>w)){x=v[b+32>>3];z=v[b+16>>3];if(x>z){break l}}e=q[c+36>>2];q[a>>2]=q[c+32>>2];q[a+4>>2]=e;e=q[c+60>>2];q[a+24>>2]=q[c+56>>2];q[a+28>>2]=e;e=q[c+52>>2];q[a+16>>2]=q[c+48>>2];q[a+20>>2]=e;e=q[c+44>>2];q[a+8>>2]=q[c+40>>2];q[a+12>>2]=e;break k}h=v[c+48>>3];k=v[c+32>>3];if(!(h>k)){break k}l=v[c+56>>3];m=v[c+40>>3];if(!(l>m)){break k}if(!!(w>k)){v[a>>3]=k}if(!!(h>u)){v[b+24>>3]=h}if(!!(z>m)){v[b+16>>3]=m}if(!(l>x)){break k}v[b+32>>3]=l}h=v[c+16>>3];k=v[c>>3];m:{if(!(h>k)){break m}l=v[c+24>>3];m=v[c+8>>3];if(!(l>m)){break m}v[c+24>>3]=p+l;h=n+h;v[c+16>>3]=h;v[c+8>>3]=p+m;k=n+k;v[c>>3]=k}n:{l=v[b+24>>3];m=v[b+8>>3];if(!!(l>m)){u=v[b+32>>3];w=v[b+16>>3];if(u>w){break n}}b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;b=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=b;b=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;break f}if(!(h>k)){break f}n=v[c+24>>3];p=v[c+8>>3];if(!(n>p)){break f}if(!!(m>k)){v[a>>3]=k}if(!!(h>l)){v[b+24>>3]=h}if(!!(w>p)){v[b+16>>3]=p}if(!(n>u)){break f}v[b+32>>3]=n;break f}o[a+40|0]=1}Da=c- -64|0}function An(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,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;n=q[a+16>>2];l=r[n+6|0]<<8|r[n+7|0]&254;if(!l){return 0}A=q[a>>2];E=q[A+508>>2]+q[A+512>>2]|0;y=l+2|0;x=n+14|0;i=q[b>>2]+((c|0)!=0)|0;z=l>>>1|0;g=z;a:{b:{while(1){c:{e=g+k|0;d=(e&-2)+x|0;j=r[d|0]<<8|r[d+1|0];e=e>>>1|0;f=e;d=d+y|0;v=r[d|0]<<8|r[d+1|0];if(i>>>0>=v>>>0){if(i>>>0<=j>>>0){break c}k=e+1|0;f=g}g=f;if(k>>>0>>0){continue}break b}break}k=0;d=d+l|0;f=d+l|0;B=r[f|0]<<8|r[f+1|0];h=(v|0)==65535&e>>>0>=z+ -1>>>0&(j|0)==65535&(B|0)!=0&(f+B|0)+2>>>0>E>>>0;o=h?0:B;d=r[d|0]|r[d+1|0]<<8;F=(d<<24|d<<8&16711680)>>16;m=h?1:F;d:{e:{f:{if(r[a+20|0]&2){p=e+1|0;h=(o|0)==65535?p:e;if(!e){break f}g=e+ -1|0;u=g<<1;d=u+x|0;s=r[d|0]<<8|r[d+1|0];if(i>>>0>s>>>0){k=e;break f}n=(n+w(l,3)|0)+16|0;m=x+y|0;g:{while(1){h:{d=s;k=g;C=m+u|0;D=C+l|0;f=D+l|0;o=r[f|0]<<8|r[f+1|0];h=(o|0)==65535?h:g;if(!g){break h}g=k+ -1|0;u=g<<1;s=u+x|0;s=r[s|0]<<8|r[s+1|0];if(i>>>0<=s>>>0){continue}break g}break}k=0;f=n}g=r[D|0]|r[D+1|0]<<8;m=(g<<24|g<<8&16711680)>>16;u=r[C+1|0]|r[C|0]<<8;break e}g=0;if((o|0)!=65535){break d}break a}d=j;u=v}i:{if((h|0)!=(p|0)){break i}h=(e|0)==(k|0);d=h?d:j;g=0;if(p>>>0>=z>>>0){j=d;break a}k=p<<1;j=x+k|0;f=y+j|0;n=r[f|0]<<8|r[f+1|0];j:{if(i>>>0>>0){m=h?m:F;o=h?o:B;u=h?u:v;h=e;break j}v=(x+y|0)+l|0;h=e;k:{while(1){l:{d=j;u=n;s=k+v|0;f=s+l|0;o=r[f|0]<<8|r[f+1|0];h=(o|0)==65535?h:p;p=p+1|0;if((z|0)==(p|0)){break l}k=p<<1;j=x+k|0;f=y+j|0;n=r[f|0]<<8|r[f+1|0];if(i>>>0>=n>>>0){continue}break k}break}p=z}j=r[s|0]|r[s+1|0]<<8;m=(j<<24|j<<8&16711680)>>16;d=r[d+1|0]|r[d|0]<<8}k=p+ -1|0;if((e|0)!=(h|0)){break i}e=k;j=d;break a}if((h|0)==(k|0)){e=h;j=d;v=u;break d}e=(h<<1)+x|0;j=r[e|0]<<8|r[e+1|0];e=e+y|0;v=r[e|0]<<8|r[e+1|0];e=e+l|0;f=e+l|0;o=r[f|0]<<8|r[f+1|0];e=r[e|0]|r[e+1|0]<<8;m=(e<<24|e<<8&16711680)>>16;e=h}if(o){g=0;d=((i-v<<1)+o|0)+f|0;if(d>>>0>E>>>0?c:0){break a}d=r[d+1|0]|r[d|0]<<8;if(!d){break a}d=d+m&65535;g=d>>>0>2]?d:0;break a}h=i+m|0;g=h&65535;if(!c|g>>>0>2]){break a}d=j+m|0;m:{if((h|0)>-1){break m}g=0;if((d|0)<0){break m}i=0-m|0;break a}i=(h|0)<65536?(d|0)>65535?65536-m|0:i:i}g=0}if(!c){return g}n:{if(i>>>0>j>>>0){f=0;e=e+1|0;if((z|0)==(e|0)){break n}}if(ln(a,e)){if(!g){return 0}q[b>>2]=i;return g}q[a+24>>2]=i;o:{if(g){q[a+28>>2]=g;f=g;break o}q[a+24>>2]=i;zn(a);f=q[a+28>>2];if(!f){return 0}i=q[a+24>>2]}q[b>>2]=i}return f}function Nq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-208|0;Da=d;h=0;a:{if(!b){break a}c=-1;while(1){f=Td(b,(e<<5)+449308|0);if(f>>>0<=1){h=(e<<5)+449324|0;if(f-1){break a}c=(c|0)==-1?e:c}e=e+1|0;if((e|0)!=246){continue}break}h=(c|0)==-1?0:(c<<5)+449324|0}f=Sa(40);b:{if(!f){f=0;break b}q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=8;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;c=q[160935];if(c&2048){Ua(449284,0);Ek(a);Gb(10);c=q[160935]}while(1){if(c&2048){b=i<<5;q[d+160>>2]=b+449308;Ua(449297,d+160|0);Ek(b+449324|0);Gb(10)}c:{d:{if(!h){break d}b=i<<5;if(!NL(b+449308|0)){break d}if(q[b+449328>>2]!=q[h+4>>2]){break c}}b=i<<5;c=b+449324|0;j=Yq(c,a);e:{if(!(o[643741]&1)){break e}b=b+449308|0;if(j+ -1>>>0<=8){k=Zq(c,a);q[d+128>>2]=b;q[d+132>>2]=j;Ua(485548,d+128|0);Gb(123);b=d+172|0;q[b>>2]=0;b=Xq(k,d+176|0,b);if((b|0)!=-1){while(1){c=0;f:{e=q[d+176>>2];if(!e){break f}while(1){if(e>>>c&1){q[d+112>>2]=b+c;Ua(485557,d+112|0)}c=c+1|0;if((c|0)==32){break f}e=q[d+176>>2];continue}}g:{e=q[d+180>>2];if(!e){break g}g=b+32|0;c=0;while(1){if(e>>>c&1){q[d+96>>2]=c+g;Ua(485557,d+96|0)}c=c+1|0;if((c|0)==32){break g}e=q[d+180>>2];continue}}h:{e=q[d+184>>2];if(!e){break h}g=b- -64|0;c=0;while(1){if(e>>>c&1){q[d+80>>2]=c+g;Ua(485557,d+80|0)}c=c+1|0;if((c|0)==32){break h}e=q[d+184>>2];continue}}i:{e=q[d+188>>2];if(!e){break i}g=b+96|0;c=0;while(1){if(e>>>c&1){q[d+64>>2]=c+g;Ua(485557,d- -64|0)}c=c+1|0;if((c|0)==32){break i}e=q[d+188>>2];continue}}j:{e=q[d+192>>2];if(!e){break j}g=b+128|0;c=0;while(1){if(e>>>c&1){q[d+48>>2]=c+g;Ua(485557,d+48|0)}c=c+1|0;if((c|0)==32){break j}e=q[d+192>>2];continue}}k:{e=q[d+196>>2];if(!e){break k}g=b+160|0;c=0;while(1){if(e>>>c&1){q[d+32>>2]=c+g;Ua(485557,d+32|0)}c=c+1|0;if((c|0)==32){break k}e=q[d+196>>2];continue}}l:{e=q[d+200>>2];if(!e){break l}g=b+192|0;c=0;while(1){if(e>>>c&1){q[d+16>>2]=c+g;Ua(485557,d+16|0)}c=c+1|0;if((c|0)==32){break l}e=q[d+200>>2];continue}}m:{e=q[d+204>>2];if(!e){break m}b=b+224|0;c=0;while(1){if(e>>>c&1){q[d>>2]=b+c;Ua(485557,d)}c=c+1|0;if((c|0)==32){break m}e=q[d+204>>2];continue}}b=Xq(k,d+176|0,d+172|0);if((b|0)!=-1){continue}break}}Ua(485563,0);Xc(k);break e}q[d+148>>2]=j;q[d+144>>2]=b;Ua(485568,d+144|0)}if(j){break c}b=r[i+485054|0];c=(b>>>3&28)+f|0;q[c+8>>2]=q[c+8>>2]|1<<(b&31)}c=q[160935];i=i+1|0;if((i|0)!=246){continue}break}if(!(c&256)){break b}Gb(10)}Da=d+208|0;return f}function vd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-48|0;Da=g;q[a+8>>2]=0;if(q[a+4>>2]){q[q[a>>2]>>2]=28849;q[q[a>>2]+4>>2]=28849;q[q[a>>2]+8>>2]=28849;q[q[a>>2]+12>>2]=28849;q[q[a>>2]+16>>2]=28849}a:{if(!d){break a}f=r[c|0];if(!f){break a}h=6;if(!b){break a}e=r[b|0];if(!e){break a}q[g+24>>2]=0;q[g+28>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;h=0;while(1){b:{c:{i=e&255;if((i|0)!=43){if(!i){break c}break b}if(r[b+1|0]){break b}h=1;e=0;b=b+1|0;continue}d:{e:{if((d|0)<1){e=0;break e}i=c+d|0;if(!h){while(1){e=c;while(1){f:{if(o[((f&248)>>>3|0)+g|0]>>>(f&7)&1){b=e;break f}f=r[e+1|0];b=e+1|0;e=b;if(f){continue}}break}f=a;d=q[a+8>>2];g:{if((d|0)!=q[a+4>>2]){e=d;break g}q[g+44>>2]=0;e=-1;if((d|0)==-1){break g}if((d|0)==536870911){break d}h=d;e=(d+(d>>>1|0)|0)+5|0;d=e>>>0>>0?536870911:e>>>0>536870911?536870911:e;j=a,k=Oa(q[a+12>>2],4,h,d,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=d;e=q[a+8>>2]}q[f+8>>2]=e+1;q[q[a>>2]+(e<<2)>>2]=b>>>0>c>>>0?c:28849;h:{if(!r[b|0]){f=0;e=0;break h}o[b|0]=0;f=r[b+1|0];e=!f;b=b+1|0}c=b;if(b>>>0>=i>>>0){break e}if(f){continue}break e}}while(1){e=c;while(1){i:{if(o[((f&248)>>>3|0)+g|0]>>>(f&7)&1){d=e;break i}f=r[e+1|0];d=e+1|0;e=d;if(f){continue}}break}f=a;b=q[a+8>>2];j:{if((b|0)!=q[a+4>>2]){e=b;break j}q[g+44>>2]=0;e=-1;if((b|0)==-1){break j}if((b|0)==536870911){break d}h=b;e=(b+(b>>>1|0)|0)+5|0;b=e>>>0>>0?536870911:e>>>0>536870911?536870911:e;j=a,k=Oa(q[a+12>>2],4,h,b,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=b;e=q[a+8>>2]}q[f+8>>2]=e+1;q[q[a>>2]+(e<<2)>>2]=d>>>0>c>>>0?c:28849;b=d;e=r[b|0];k:{if(!e){f=0;c=d;e=0;break k}while(1){l:{if(!(o[((e&248)>>>3|0)+g|0]>>>(e&7)&1)){f=e;c=b;break l}f=0;o[b|0]=0;e=r[b+1|0];c=b+1|0;b=c;if(e){continue}}break}e=!(f&255)&c>>>0>d>>>0}if(c>>>0>=i>>>0){break e}if(f&255){continue}break}}c=q[a+8>>2]+e|0;b=q[a+4>>2];m:{if(c>>>0>>0){break m}q[g+44>>2]=0;if(b>>>0>=c+1>>>0){break m}if((b|0)==536870911){break d}d=b;c=(b+(b>>>1|0)|0)+5|0;b=c>>>0>>0?536870911:c>>>0>536870911?536870911:c;j=a,k=Oa(q[a+12>>2],4,d,b,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=b}n:{if(!e){f=q[a+8>>2];break n}b=q[a+8>>2];f=b+1|0;q[a+8>>2]=f;q[q[a>>2]+(b<<2)>>2]=28849}h=0;q[q[a>>2]+(f<<2)>>2]=0;break a}h=64;q[g+44>>2]=64;break a}i=((e&248)>>>3|0)+g|0;o[i|0]=r[i|0]|1<<(e&7);e=r[b+1|0];b=b+1|0;continue}}Da=g+48|0;return h}function DX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==13){d=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=d;d=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=d;b:{c:{i=q[a+32>>2];d:{if(!i){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2];if((i|0)!=1){break c}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break b}h=v[d+8>>3]}k=v[d>>3];v[c+88>>3]=v[c+88>>3]+h;v[c+80>>3]=k+v[c+80>>3];d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;e:{f:{g:{if(i>>>0<=2){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}e=q[a+36>>2];d=e+16|0;if((i|0)!=3){break f}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break e}h=v[e+24>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;h:{i:{j:{if(i>>>0<=4){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}e=q[a+36>>2];d=e+32|0;if((i|0)!=5){break i}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break h}h=v[e+40>>3]}k=v[d>>3];v[c+56>>3]=v[c+56>>3]+h;v[c+48>>3]=k+v[c+48>>3];d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;k:{l:{m:{if(i>>>0<=6){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}e=q[a+36>>2];d=e+48|0;if((i|0)!=7){break l}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break k}h=v[e+56>>3]}k=v[d>>3];v[c+40>>3]=v[c+40>>3]+h;v[c+32>>3]=k+v[c+32>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;n:{o:{p:{if(i>>>0<=8){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}e=q[a+36>>2];d=e- -64|0;if((i|0)!=9){break o}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break n}h=v[e+72>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+h;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;q:{r:{s:{if(i>>>0<=10){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break s}e=q[a+36>>2];d=e+80|0;if((i|0)!=11){break r}}i=q[67829];e=q[67828];q[160744]=e;q[160745]=i;f(0,e|0);f(1,i|0);h=+g();break q}h=v[e+88>>3]}k=v[d>>3];v[c+8>>3]=v[c+8>>3]+h;v[c>>3]=k+v[c>>3];pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}function fi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;g=c-b|0;a:{if((g|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{i=r[b|0];e=i+ -216|0;if(e>>>0>39){if(i){break f}e=r[b+1|0];f=a+72|0;j=r[e+f|0]+ -5|0;if(j>>>0>24){break d}j:{switch(j-1|0){case 0:h=-2;if((g|0)>=3){break d}break a;case 13:break j;case 16:case 18:break c;case 23:break e;case 1:break g;default:break d}}e=b+2|0;if((c-e|0)<2){break a}k:{if(r[e|0]){break k}a=r[b+3|0];if((a|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(r[e|0]|(r[f+r[b+5|0]|0]&254)!=24){break i}b=b+6|0;if((c-b|0)<=1){break a}while(1){l:{m:{if(r[b|0]){break m}a=r[f+r[e+3|0]|0];if(a+ -24>>>0<2){break l}if((a|0)!=18){break m}q[d>>2]=e+4;return 10}q[d>>2]=b;break b}e=b;b=b+2|0;if((c-b|0)>1){continue}break}break a}if(r[a+f|0]!=25){break k}while(1){a=e;e=e+2|0;if((c-e|0)<2){break a}if(r[e|0]){break k}b=r[f+r[a+3|0]|0];if((b|0)==25){continue}break}if((b|0)!=18){break k}q[d>>2]=a+4;return 10}q[d>>2]=e;break b}switch(e-4|0){case 0:case 1:case 2:case 3:break d;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:break f;case 35:break h;default:break g}}q[d>>2]=e;break b}e=r[b+1|0];if(e>>>0<=253){break e}break d}h=-2;if((g|0)>=4){break d}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){n:{o:{p:{q:{r:{g=r[b+2|0];a=g+ -216|0;if(a>>>0>39){if(g){break q}a=r[b+3|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break n}s:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break n}break a;case 16:case 18:case 19:case 20:case 21:break o;case 23:break p;case 1:break r;case 12:break s;default:break n}}q[d>>2]=b+4;return 9}t:{switch(a-4|0){case 0:case 1:case 2:case 3:break n;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:break q;case 35:break t;default:break r}}a=r[b+3|0];if(a>>>0<=253){break p}break n}h=-2;if((f|0)>=4){break n}break a}a=r[b+3|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break n}}b=e;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function tq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=1;a:{b:{c:{d:{g=c-b|0;if((g|0)<1){break d}e:{f:{g:{i=a+72|0;f=r[i+r[b|0]|0]+ -5|0;h:{if(f>>>0>24){break h}i:{switch(f-1|0){default:e=2;f=-2;if((g|0)<2){break f}if(n[q[a+340>>2]](a,b)){break g}break h;case 0:e=3;f=-2;if((g|0)<3){break f}if(!n[q[a+344>>2]](a,b)){break h}break g;case 16:case 18:break g;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 17:case 19:case 20:case 21:case 22:case 23:break h;case 1:break i}}e=4;f=-2;if((g|0)<4){break f}if(n[q[a+348>>2]](a,b)){break g}}q[d>>2]=b;return 0}e=b+e|0;f=c-e|0;if((f|0)<1){break d}j:{while(1){h=r[r[e|0]+i|0]+ -5|0;if(h>>>0>24){break b}g=1;k:{l:{m:{switch(h-1|0){default:if((f|0)<2){break a}g=2;if(n[q[a+328>>2]](a,e)){break l}break c;case 0:if((f|0)<3){break a}g=3;if(!n[q[a+332>>2]](a,e)){break c}break l;case 9:break j;case 3:case 4:case 15:break k;case 16:case 18:case 19:case 20:case 21:break l;case 1:break m;case 2:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 17:case 22:break b;case 23:break c}}if((f|0)<4){break a}g=4;if(!n[q[a+336>>2]](a,e)){break c}}e=e+g|0;f=c-e|0;if((f|0)>0){continue}break d}break}f=11;n:{if((e-b|0)!=3){break n}h=o[b|0];g=0;o:{if((h|0)==120){break o}if((h|0)!=88){break n}g=1}h=o[b+1|0];if((h|0)!=109){if((h|0)!=77){break n}g=1}b=o[b+2|0];if((b|0)==76){break c}if((b|0)!=108){break n}if(g){break c}f=12}e=e+1|0;g=c-e|0;if((g|0)<1){break d}while(1){p:{q:{b=e;e=r[r[b|0]+i|0];if(e>>>0>15){break q}r:{switch(e-2|0){case 3:if((g|0)<2){break a}if(n[q[a+352>>2]](a,b)){break e}e=b+2|0;break p;case 4:if((g|0)<3){break a}if(n[q[a+356>>2]](a,b)){break e}e=b+3|0;break p;case 5:if((g|0)<4){break a}if(n[q[a+360>>2]](a,b)){break e}e=b+4|0;break p;case 0:case 1:case 2:case 7:case 8:case 9:case 10:case 11:case 12:break q;case 13:break r;default:break e}}e=b+1|0;if((c-e|0)<1){break d}if(r[e|0]!=62){break p}q[d>>2]=b+2;return f}e=b+1|0}g=c-e|0;if((g|0)>0){continue}break}break d}g=11;s:{if((e-b|0)!=3){break s}f=o[b|0];a=0;t:{if((f|0)==120){break t}if((f|0)!=88){break s}a=1}f=o[b+1|0];if((f|0)!=109){if((f|0)!=77){break s}a=1}b=o[b+2|0];if((b|0)==76){break c}if((b|0)!=108){break s}if(a){break c}g=12}a=e;e=a+1|0;f=-1;if((c-e|0)<1){break f}if(r[a+1|0]!=62){break b}q[d>>2]=a+2;f=g}return f}q[d>>2]=b;return 0}return-1}q[d>>2]=e;return 0}q[d>>2]=e;return 0}return-2}function gi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;g=c-b|0;a:{if((g|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{i=r[b+1|0];e=i+ -216|0;if(e>>>0>39){if(i){break f}e=r[b|0];f=a+72|0;j=r[e+f|0]+ -5|0;if(j>>>0>24){break d}j:{switch(j-1|0){case 0:h=-2;if((g|0)>=3){break d}break a;case 13:break j;case 16:case 18:break c;case 23:break e;case 1:break g;default:break d}}e=b+2|0;if((c-e|0)<2){break a}k:{if(r[b+3|0]){break k}a=r[e|0];if((a|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(r[b+5|0]|(r[f+r[e|0]|0]&254)!=24){break i}b=b+6|0;if((c-b|0)<=1){break a}while(1){l:{m:{if(r[e+3|0]){break m}a=r[f+r[b|0]|0];if(a+ -24>>>0<2){break l}if((a|0)!=18){break m}q[d>>2]=e+4;return 10}q[d>>2]=b;break b}e=b;b=e+2|0;if((c-b|0)>1){continue}break}break a}if(r[a+f|0]!=25){break k}while(1){a=e;e=e+2|0;if((c-e|0)<2){break a}if(r[a+3|0]){break k}b=r[f+r[e|0]|0];if((b|0)==25){continue}break}if((b|0)!=18){break k}q[d>>2]=a+4;return 10}q[d>>2]=e;break b}switch(e-4|0){case 0:case 1:case 2:case 3:break d;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:break f;case 35:break h;default:break g}}q[d>>2]=e;break b}e=r[b|0];if(e>>>0<=253){break e}break d}h=-2;if((g|0)>=4){break d}break a}e=r[b|0]}if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){n:{o:{p:{q:{r:{g=r[b+3|0];a=g+ -216|0;if(a>>>0>39){if(g){break q}a=r[e|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break n}s:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break n}break a;case 16:case 18:case 19:case 20:case 21:break o;case 23:break p;case 1:break r;case 12:break s;default:break n}}q[d>>2]=b+4;return 9}t:{switch(a-4|0){case 0:case 1:case 2:case 3:break n;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:break q;case 35:break t;default:break r}}a=r[e|0];if(a>>>0<=253){break p}break n}h=-2;if((f|0)>=4){break n}break a}a=r[e|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break n}}b=e;e=e+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function Ul(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;a:{b=q[q[a+84>>2]+8>>2];if(!b){break a}c=q[b>>2];if(!c){break a}while(1){f=b;h=ue(c,61);b:{if(!h){break b}o[h|0]=0;d=h+1|0;c:{if(!fb(q[f>>2],1540)){k=a,l=Bb(d),q[k+36>>2]=l;break c}if(!fb(q[f>>2],1549)){k=a,l=Bb(d),q[k+40>>2]=l;break c}if(!fb(q[f>>2],1558)){k=a,m=xc(d,0),v[k+48>>3]=m;break c}if(!fb(q[f>>2],1564)){k=a,l=Bb(d),q[k+56>>2]=l;break c}if(!fb(q[f>>2],1574)){k=a,l=Fi(d),q[k+60>>2]=l;break c}if(!fb(q[f>>2],1596)){k=a,l=Fi(d),q[k+64>>2]=l;break c}if(fb(q[f>>2],1604)){break c}k=a,l=ds(d),q[k+72>>2]=l}c=q[f>>2];g=ue(c,46);i=0;d:{if(!g){break d}o[g|0]=0;c=g+1|0;i=q[f>>2]}if(q[a>>2]>=1){b=0;while(1){e:{if(i){if(fb(q[q[a+16>>2]+w(b,144)>>2],i)){break e}}e=q[a+16>>2];if(!fb(c,1617)){e=e+w(b,144)|0;j=e;e=q[e+4>>2];if(e){La(e)}k=j,l=eb(d),q[k+4>>2]=l;break e}if(!fb(c,1626)){k=e+w(b,144)|0,l=df(d),q[k+16>>2]=l;break e}if(!fb(c,1640)){k=e+w(b,144)|0,l=df(d),q[k+20>>2]=l;break e}if(!fb(c,1656)){k=e+w(b,144)|0,l=df(d),q[k+24>>2]=l;break e}if(!fb(c,1670)){k=e+w(b,144)|0,l=df(d),q[k+28>>2]=l;break e}if(!fb(c,1681)){k=e+w(b,144)|0,m=xc(d,0),v[k+8>>3]=m;break e}if(!fb(c,1690)){k=e+w(b,144)|0,l=Bb(d),q[k+32>>2]=l;break e}if(!fb(c,1695)){k=e+w(b,144)|0,l=Bb(d),q[k+36>>2]=l;break e}if(!fb(c,1702)){k=e+w(b,144)|0,l=Bb(d),q[k+40>>2]=l;break e}if(!fb(c,1712)){k=e+w(b,144)|0,l=Bb(d),q[k+44>>2]=l;break e}if(!fb(c,1722)){k=e+w(b,144)|0,m=xc(d,0),v[k+64>>3]=m;break e}if(!fb(c,1730)){k=e+w(b,144)|0,m=xc(d,0),v[k+72>>3]=m;break e}if(!fb(c,1736)){k=e+w(b,144)|0,l=Bb(d),q[k+80>>2]=l;break e}if(!fb(c,1748)){k=e+w(b,144)|0,l=Bb(d),q[k+104>>2]=l;break e}if(!fb(c,1758)){k=e+w(b,144)|0,l=Bb(d),q[k+136>>2]=l;break e}if(!fb(c,1766)){k=e+w(b,144)|0,l=Bb(d),q[k+108>>2]=l;break e}if(!fb(c,1774)){k=e+w(b,144)|0,l=Bb(d),q[k+112>>2]=l;break e}if(!fb(c,1782)){k=e+w(b,144)|0,l=Bb(d),q[k+116>>2]=l;break e}if(!fb(c,1790)){k=e+w(b,144)|0,l=Bb(d),q[k+120>>2]=l;break e}if(!fb(c,1799)){k=e+w(b,144)|0,m=xc(d,0),v[k+48>>3]=m;break e}if(!fb(c,1806)){k=e+w(b,144)|0,m=xc(d,0),v[k+56>>3]=m;break e}if(!fb(c,1813)){k=e+w(b,144)|0,m=xc(d,0),v[k+88>>3]=m;break e}if(!fb(c,1821)){k=e+w(b,144)|0,m=xc(d,0),v[k+96>>3]=m;break e}if(fb(c,1828)){break e}k=e+w(b,144)|0,m=xc(d,0),v[k+128>>3]=m}b=b+1|0;if((b|0)>2]){continue}break}}o[h|0]=61;if(!g){break b}o[g|0]=46}b=f+4|0;c=q[f+4>>2];if(c){continue}break}}}function VM(a,b,c,d){a=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,q=0,r=0;e=Da+ -64|0;h=c+2|0;a:{if(!h){break a}if(!d){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}k=w(c+15&-16,d);i=d<<4;q=i<<1;while(1){r=a+q|0;j=0;c=l;while(1){f=c-i|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[e>>1]=s[f>>1];p[e+2>>1]=s[f+2>>1];p[e+4>>1]=s[f+4>>1];p[e+6>>1]=s[f+6>>1];p[e+8>>1]=s[f+8>>1];p[e+10>>1]=s[f+10>>1];p[e+12>>1]=s[f+12>>1];p[e+14>>1]=s[f+14>>1];p[e+16>>1]=s[f+16>>1];p[e+18>>1]=s[f+18>>1];p[e+20>>1]=s[f+20>>1];p[e+22>>1]=s[f+22>>1];p[e+24>>1]=s[f+24>>1];p[e+26>>1]=s[f+26>>1];m=s[f+28>>1];p[e+28>>1]=m;n=s[f+30>>1];p[e+30>>1]=n;f=c>>>0>>0?(c<<1)+b|0:438160;o=s[f>>1];p[e+32>>1]=o;p[e+34>>1]=s[f+2>>1];p[e+36>>1]=s[f+4>>1];p[e+38>>1]=s[f+6>>1];p[e+40>>1]=s[f+8>>1];p[e+42>>1]=s[f+10>>1];p[e+44>>1]=s[f+12>>1];p[e+46>>1]=s[f+14>>1];p[e+48>>1]=s[f+16>>1];p[e+50>>1]=s[f+18>>1];p[e+52>>1]=s[f+20>>1];p[e+54>>1]=s[f+22>>1];p[e+56>>1]=s[f+24>>1];p[e+58>>1]=s[f+26>>1];p[e+60>>1]=s[f+28>>1];p[e+62>>1]=s[f+30>>1];p[a>>1]=((((m+o&65534)>>>1|0)+n|0)+1&65534)>>>1;p[a+2>>1]=((s[e+32>>1]+((s[e+34>>1]+s[e+30>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+4>>1]=((s[e+34>>1]+((s[e+36>>1]+s[e+32>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+6>>1]=((s[e+36>>1]+((s[e+38>>1]+s[e+34>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+8>>1]=((s[e+38>>1]+((s[e+40>>1]+s[e+36>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+10>>1]=((s[e+40>>1]+((s[e+42>>1]+s[e+38>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+12>>1]=((s[e+42>>1]+((s[e+44>>1]+s[e+40>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+14>>1]=((s[e+44>>1]+((s[e+46>>1]+s[e+42>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+16>>1]=((s[e+46>>1]+((s[e+48>>1]+s[e+44>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+18>>1]=((s[e+48>>1]+((s[e+50>>1]+s[e+46>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+20>>1]=((s[e+50>>1]+((s[e+52>>1]+s[e+48>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+22>>1]=((s[e+52>>1]+((s[e+54>>1]+s[e+50>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+24>>1]=((s[e+54>>1]+((s[e+56>>1]+s[e+52>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+26>>1]=((s[e+56>>1]+((s[e+58>>1]+s[e+54>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+28>>1]=((s[e+58>>1]+((s[e+60>>1]+s[e+56>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+30>>1]=((s[e+60>>1]+((s[e+62>>1]+s[e+58>>1]&65534)>>>1|0)|0)+1&65534)>>>1;c=c+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue}break}l=i+l|0;a=r;g=g+16|0;if(g>>>0>>0){continue}break}}}function fe(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-112|0;Da=b;a:{b:{if(a){while(1){c=s[a>>1];if(c>>>0>41){break a}c:{d:{e:{switch(c-1|0){default:q[b>>2]=q[a+8>>2];Ua(489679,b);break a;case 0:v[b+16>>3]=v[a+8>>3];Ab(489682,b+16|0);break a;case 1:q[b+32>>2]=q[a+8>>2];Ua(489685,b+32|0);break a;case 2:Gb(91);fe(q[q[a+8>>2]>>2]);Gb(32);fe(q[q[a+8>>2]+4>>2]);Ua(489690,0);fe(q[q[a+8>>2]+8>>2]);Gb(32);fe(q[q[a+8>>2]+12>>2]);Gb(93);Da=b+112|0;return;case 3:a=q[a+8>>2];e=v[a>>3];v[b+56>>3]=v[a+8>>3];v[b+48>>3]=e;Ab(489693,b+48|0);break a;case 4:q[b+64>>2]=q[a+8>>2]?489702:489707;Ua(489284,b- -64|0);break a;case 5:Rb(490010);break a;case 6:Ua(489713,0);Dk(q[a+8>>2]);Gb(10);break a;case 7:Rb(490006);break a;case 8:f=b,g=Qc(q[a+8>>2]),q[f+80>>2]=g;Ua(489722,b+80|0);a=q[a+12>>2];if(a>>>0>1){break a}if(a-1){Ua(489726,0);break a}Ua(489737,0);break a;case 9:q[b+96>>2]=q[a+8>>2];Ua(489284,b+96|0);break a;case 18:fe(q[a+8>>2]);Ua(489745,0);fe(q[q[a+12>>2]+8>>2]);Ua(489753,0);a=q[a+12>>2]+12|0;break c;case 10:case 11:case 12:case 13:case 14:case 15: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:fe(q[a+8>>2]);Gb(32);c=a+8|0;d=s[a>>1]+ -11|0;f:{if(d>>>0>25){break f}g:{switch(d-1|0){default:Ua(489425,0);break f;case 0:Ua(489432,0);break f;case 1:Ua(489454,0);break f;case 2:Ua(489446,0);break f;case 3:Ua(489467,0);break f;case 4:Ua(489474,0);break f;case 8:Ua(489508,0);break f;case 9:Ua(489511,0);break f;case 10:Ua(489515,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 11:Ua(489537,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 15:Ua(489546,0);break f;case 16:Ua(489551,0);break f;case 17:Ua(489561,0);break f;case 18:Ua(489566,0);break f;case 12:Ua(489576,0);break f;case 13:Ua(489658,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 14:Ua(489585,0);break f;case 19:Ua(489597,0);break f;case 20:Ua(489602,0);break f;case 21:Ua(489608,0);break f;case 22:Ua(489614,0);break f;case 5:case 6:case 7:case 23:break f;case 24:break g}}Ua(489629,0)}Gb(32);a=c+4|0;break c;case 34:Ua(489761,0);break d;case 36:Ua(489766,0);break d;case 37:Ua(489773,0);break d;case 38:Ua(489779,0);break d;case 16:case 17:break a;case 40:break b;case 39:break e}}Ua(489786,0)}a=a+8|0}a=q[a>>2];if(a){continue}break}}Ua(489674,0);break a}Ua(489666,0)}Da=b+112|0}function pW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=x(0),p=0,s=0,u=x(0);l=Da-16|0;Da=l;h=271312;e=q[a>>2];e=e?e:271312;j=t[e+16>>2]<8?271312:q[e+12>>2];e=r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f){if((f|0)!=1){g=q[b+52>>2];e=q[b+48>>2];e=e>>>0>>0?g:e;k=e?e:1073741824;h=r[(r[j+52|0]>>0<=h>>>0|h>>>0>=e>>>0?!(h>>>0>e>>>0?k>>>0<=e>>>0:0):0)){g=i;h=e}i=i+1|0;if((f|0)!=(i|0)){continue}break}}h=f>>>0>g>>>0?(j+w(g,48)|0)+8|0:271312}i=0;e=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!e){break a}g=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);k=j+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;while(1){f=(i|0)<0?271312:k+(i<<3)|0;if(!((r[f|0]<<8|r[f+1|0])>>>0>c>>>0|(r[f+3|0]|r[f+2|0]<<8)>>>0>>0)){i=0;if(!r[h+45|0]|(!f|!r[h+44|0])){break a}q[l+12>>2]=0;q[l+8>>2]=0;q[l+4>>2]=0;g=r[f+1|0]|r[f|0]<<8;if((r[f+3|0]|r[f+2|0]<<8)>>>0>>0|g>>>0>c>>>0){break a}e=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!UV(e?e+k|0:271312,c-g|0,l+12|0,l+8|0,l+4|0)){break a}c=q[a+4>>2];e=c?c:271312;f=q[e+16>>2];k=q[l+12>>2];if(f>>>0>>0){break a}g=q[l+8>>2];if(f-k>>>0>>0){break a}c=q[l+4>>2]+ -17|0;if(c>>>0>1){break a}b:{if(c-1){if(g>>>0>=9){break b}break a}if(g>>>0<12){break a}}s=q[b+32>>2];j=q[b+36>>2];p=k+(f>>>0<4?271312:q[e+12>>2])|0;c=o[p+2|0];c=W$(s,j,c,c>>31);f=(Ea&65535)<<16|c>>>16;q[d>>2]=f;k=q[b+40>>2];i=q[b+44>>2];b=o[p+3|0];b=W$(k,i,b,b>>31);g=(Ea&65535)<<16|b>>>16;q[d+4>>2]=g;b=W$(s,j,r[p+1|0],0);e=(Ea&65535)<<16|b>>>16;q[d+8>>2]=e;b=W$(k,i,r[p|0],0);c=0-((0>>0)+Ea|0)|0;b=0-b|0;b=(c&65535)<<16|b>>>16;q[d+12>>2]=b;n=x(t[a+8>>2]);u=x(n/x(r[h+45|0]));m=x(J(x(x(u*x(b|0)))));c:{if(x(y(m))>2]=a;a=d;n=x(n/x(b>>>0));m=x(J(x(x(n*x(e|0)))));d:{if(x(y(m))>2]=b;a=d;m=x(J(x(x(u*x(g|0)))));e:{if(x(y(m))>2]=b;m=x(J(x(x(n*x(f|0)))));f:{if(x(y(m))>2]=a;i=1;break a}i=i+1|0;if((e|0)!=(i|0)){continue}break}i=0}Da=l+16|0;return i}function kD(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,p=0,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0;r=Da-144|0;Da=r;q[a+48>>2]=0;q[a+52>>2]=0;s=a+40|0;e=q[a+4>>2];i=q[a+8>>2];b=b*1e3;a:{if(y(b)<2147483648){d=~~b;break a}d=-2147483648}i=tl(e,i,d,d>>31,s);b:{if(!i|!(q[s>>2]|c)){break b}b=+Z();o[a+420|0]=0;o[a+380|0]=0;o[a+340|0]=0;o[a+300|0]=0;o[a+260|0]=0;o[a+220|0]=0;o[a+180|0]=0;o[a+140|0]=0;o[a+100|0]=0;c=q[a+12>>2];d=q[a+16>>2];f=Na(r,255,144);m=(d|0)/3|0;n=(c|0)/3|0;p=(d<<1)/3|0;l=(c<<1)/3|0;d=i;while(1){g=q[d+24>>2];k=q[d+4>>2];c=g+(k>>1)|0;e=q[d+20>>2];j=q[d>>2];c=(((c|0)>(p|0)?6:(c|0)>(m|0)?3:0)+((e+(j>>1)|0)>(l|0)?2:(c|0)>(n|0))<<4)+f|0;h=q[c>>2];q[c>>2]=(h|0)<0?e:(h|0)<(e|0)?h:e;h=q[c+8>>2];q[c+8>>2]=(h|0)<0?g:(h|0)<(g|0)?h:g;h=e+j|0;e=h+ -1|0;j=e;e=q[c+4>>2];q[c+4>>2]=(e|0)<0?j:(e|0)<(h|0)?j:e;j=c;g=g+k|0;e=g+ -1|0;c=q[c+12>>2];q[j+12>>2]=(c|0)<0?e:(c|0)<(g|0)?e:c;d=q[d+28>>2];if(d){continue}break}d=0;while(1){e=(t<<4)+f|0;c:{if(q[e>>2]==-1){c=d;break c}m=e|8;n=e|12;p=e|4;g=t;c=d;while(1){g=g+1|0;d=(g<<4)+f|0;h=q[d>>2];d:{if((h|0)==-1){break d}l=q[p>>2];if((h|0)>(l|0)){break d}k=q[d+4>>2];j=q[e>>2];if((k|0)<(j|0)){break d}u=q[d+8>>2];w=q[n>>2];if((u|0)>(w|0)){break d}x=q[d+12>>2];z=q[m>>2];if((x|0)<(z|0)){break d}q[e>>2]=(j|0)<(h|0)?j:h;q[m>>2]=(z|0)<(u|0)?z:u;q[p>>2]=(l|0)>(k|0)?l:k;q[n>>2]=(w|0)>(x|0)?w:x;q[d+8>>2]=-1;q[d+12>>2]=-1;q[d>>2]=-1;q[d+4>>2]=-1;c=1}if((g|0)!=8){continue}break}}d=t+1|0;g=(d|0)!=8;t=g?d:0;d=c&g;if(c&1|g){continue}break}g=0;q[a+56>>2]=0;if(q[f>>2]!=-1){c=re(a,f,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+16>>2]!=-1){c=re(a,f+16|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+32>>2]!=-1){c=re(a,f+32|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+48>>2]!=-1){c=re(a,f+48|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+64>>2]!=-1){c=re(a,f- -64|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+80>>2]!=-1){c=re(a,f+80|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+96>>2]!=-1){c=re(a,f+96|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+112>>2]!=-1){c=re(a,f+112|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[f+128>>2]!=-1){c=re(a,f+128|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}A=a,B=+Z()-b,v[A+48>>3]=B;g=s}Da=r+144|0;return g}function sF(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,s=0,u=0,v=0,w=0;m=Da-16|0;Da=m;g=q[a+12>>2];j=q[a+200>>2];b=q[a+196>>2];l=p[a+32>>1];a:{if(l){if(p[g+56>>1]+(p[g+20>>1]+l|0)>>>0>t[g+8>>2]){d=Xb(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>j>>>0){break a}c=q[g+68>>2];k=r[b|0];i=r[b+1|0]|k<<8;if((l|0)>=1){p[c>>1]=i}if(k<<24>>16<0){break a}k=c+e|0;while(1){e=c+2|0;if(e>>>0>>0){c=r[b+2|0]|r[b+3|0]<<8;f=c<<24|c<<8&16711680;p[e>>1]=f>>>16;h=i<<16;c=e;e=f>>16;i=e;b=b+2|0;if((e|0)>h>>16){continue}break a}break}b:{c:{d:{if((l|0)<1){e=4;k=0;break d}c=p[c>>1];if((c|0)<-1){break a}e=c+5|0;if(!e){break c}k=c+1|0}if(p[g+58>>1]+(p[g+22>>1]+e|0)>>>0<=t[g+4>>2]){break b}d=Xb(g,e,0);if(d){break a}break b}k=-4}c=q[a+8>>2];q[c+136>>2]=0;q[c+140>>2]=0;e=b+4|0;if(e>>>0>j>>>0){d=20;break a}b=r[b+2|0]|r[b+3|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;e:{if(r[a+16|0]&2){break e}d=22;if((j-e|0)<(b|0)){break a}c=q[a+156>>2];d=q[c+392>>2];f:{if(d>>>0>=b>>>0){q[c+392>>2]=d&65535;break f}v=c,w=Oa(q[c+8>>2],1,d,b,q[c+396>>2],m+12|0),q[v+396>>2]=w;c=q[a+156>>2];f=d;d=q[m+12>>2];q[c+392>>2]=(d?f:b)&65535;if(d){break a}}d=q[a+8>>2];q[d+140>>2]=b;c=q[c+396>>2];q[d+136>>2]=c;if(!b){b=0;break e}Qa(c,e,b)}b=b+e|0;g:{h:{if((k|0)>=1){e=q[g- -64>>2];i=k+e|0;while(1){c=b+1|0;if(c>>>0>j>>>0){d=20;break a}h=r[b|0];o[e|0]=h;d=e+1|0;i:{if(!(h&8)){b=c;c=d;break i}b=b+2|0;if(b>>>0>j>>>0){d=20;break a}f=r[c|0];if(f+d>>>0>i>>>0){d=20;break a}c=d;if(!f){break i}Na(d,h,f);c=((f+ -1&255)+e|0)+2|0}e=c;if(e>>>0>>0){continue}break}if(b>>>0<=j>>>0){break h}d=20;break a}d=20;if(b>>>0<=j>>>0){break g}break a}d=q[g+60>>2];s=d+(k<<3)|0;c=d;i=q[g+64>>2];e=i;while(1){n=r[e|0];j:{if(n&2){f=b+1|0;if(f>>>0>j>>>0){d=20;break a}b=r[b|0];h=n&16?b:0-b|0;b=f;break j}h=0;if(n&16){break j}f=b+2|0;if(f>>>0>j>>>0){d=20;break a}b=r[b|0]|r[b+1|0]<<8;h=(b<<24|b<<8&16711680)>>16;b=f}u=h+u|0;q[c>>2]=u;e=e+1|0;c=c+8|0;if(c>>>0>>0){continue}break}h=0;while(1){f=r[i|0];k:{if(f&4){e=b+1|0;if(e>>>0>j>>>0){d=20;break a}b=r[b|0];c=f&32?b:0-b|0;b=e;break k}c=0;if(f&32){break k}e=b+2|0;if(e>>>0>j>>>0){d=20;break a}b=r[b|0]|r[b+1|0]<<8;c=(b<<24|b<<8&16711680)>>16;b=e}h=c+h|0;q[d+4>>2]=h;o[i|0]=f&1;i=i+1|0;d=d+8|0;if(d>>>0>>0){continue}break}}p[g+56>>1]=l;p[g+58>>1]=k;q[a+196>>2]=b;d=0}Da=m+16|0;return d|0}function Ft(a){var b=0,c=0,d=0,e=0,f=0;d=q[a>>2];f=tm(d);e=f>>>8|0;b=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if((d|0)<=8209){if((d|0)<=4099){if((d|0)==45|(d|0)==160){break c}if((d|0)!=215){break d}break c}c=d+ -4100|0;if(c>>>0>152){break d}switch(c-1|0){case 73:break a;case 56:case 125:break j;case 55:break k;case 57:case 91:break l;case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:break m;case 53:break n;case 52:break o;case 45:case 49:break p;case 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:case 16:case 17:case 18:case 19:case 20: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 46:case 47:case 48:case 50:case 58:case 71:case 72:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 92:case 93:case 96:case 97:case 98:case 99: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 126:case 127:case 128:case 129:case 137:break d;case 69:case 70:break f;case 51:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 138:case 149:case 150:case 151:break g;case 94:case 95:case 100:case 101:case 102:case 103:case 104:break h;case 54:case 89:case 90:break i;default:break q}}r:{if((d|0)<=9722){c=d+ -8210|0;if(c>>>0<=16){break r}break e}c=d+ -43636|0;if(c>>>0>7){if(d+ -9723>>>0<4){break c}break d}switch(c-3|0){case 0:case 1:case 2:case 3:break d;case 4:break h;default:break a}}if(!(1<>>0>8){break a}s:{switch(c-1|0){default:e=2;b=28;break a;case 2:b=26;break a;case 4:b=27;break a;case 0:case 1:case 3:case 5:case 6:break a;case 7:break s}}b=29}o[a+19|0]=e;o[a+18|0]=b}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;a:{if(b){d=p[b+2>>1];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return 1}c=Sa(d<<4);q[a+16>>2]=c;e=Sa(d);q[a+20>>2]=e;b:{c:{if(!(e?c:0)){La(c);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;break c}q[a+12>>2]=d;q[a+8>>2]=0;q[a>>2]=0;c=1;q[a+4>>2]=d<<1;f=s[b>>1];if(!f){break b}e=0;d:{while(1){e:{h=p[q[b+12>>2]+(k<<1)>>1];if(e>>>0>h>>>0|(h|0)>=p[b+2>>1]){break e}f:{if(h-e>>>0<=1){e=h+1|0;break f}d=q[b+8>>2];f=r[d+e|0]&3;if(f>>>0>1){break e}l=0;c=0;if(f-1){l=1;d=r[d+h|0]&3;if(d>>>0>1){break e}g=q[b+4>>2];c=g+(h<<3)|0;f=0-q[c+4>>2]|0;c=q[c>>2];if(d-1){d=g+(e<<3)|0;f=f-q[d+4>>2]>>1;l=0;c=q[d>>2]+c>>1}d=q[a>>2];q[a>>2]=d+1;d=q[a+16>>2]+(d<<3)|0;q[d+4>>2]=f;q[d>>2]=c;c=1}d=q[b+4>>2]+(e<<3)|0;f=q[d>>2];d=q[d+4>>2];g=q[a>>2];q[a>>2]=g+1;i=q[a+16>>2]+(g<<3)|0;g=0-d|0;q[i+4>>2]=g;q[i>>2]=f;e=e+1|0;if(e>>>0<=h>>>0){while(1){d=r[q[b+8>>2]+e|0]&3;if(d>>>0>2){break d}g:{h:{switch(d-1|0){case 0:if(c>>>0>3){break d}i:{switch(c-1|0){default:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=1;c=0;break g;case 0:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=2;c=0;break g;case 2:break i;case 1:break d}}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=3;c=0;break g;default:if(c>>>0>1){break d}d=c;c=1;if(d-1){break g}d=q[a+8>>2];q[a+8>>2]=d+1;o[d+q[a+20>>2]|0]=2;d=q[b+4>>2]+(e<<3)|0;i=q[d>>2];d=q[d+4>>2];j=q[a>>2];q[a>>2]=j+1;j=q[a+16>>2]+(j<<3)|0;q[j+4>>2]=g-d>>1;q[j>>2]=f+i>>1;break g;case 1:break h}}if(c>>>0>2){break e}d=c;c=2;j:{switch(d-1|0){case 1:break j;case 0:break e;default:break g}}c=3}d=q[b+4>>2]+(e<<3)|0;f=q[d>>2];d=q[d+4>>2];g=q[a>>2];q[a>>2]=g+1;i=q[a+16>>2]+(g<<3)|0;g=0-d|0;q[i+4>>2]=g;q[i>>2]=f;e=e+1|0;if(e>>>0<=h>>>0){continue}break}}if(c>>>0>3){break d}k:{l:{switch(c-1|0){default:if(l){q[a>>2]=q[a>>2]+ -1;break k}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=1;break k;case 0:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=2;break k;case 2:break l;case 1:break d}}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=3}c=(q[a+8>>2]+q[a+20>>2]|0)+ -1|0;o[c|0]=r[c|0]|4;f=s[b>>1]}c=1;k=k+1|0;if(k>>>0>16>>>0){continue}break b}break}if(!a){break c}}La(q[a+16>>2]);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}c=0}return c}function WL(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,r=0;g=6;a:{if(!a){break a}b=q[a>>2];o=(b|0)<0?-1:1;p=0-o|0;m=q[a+12>>2];c=(m|0)<0?p:o;d=q[a+4>>2];e=(d|0)<0?-1:1;h=0-e|0;n=q[a+8>>2];j=(n|0)<0?h:e;f=b;b=b>>31;l=f+b^b;b=m>>31;f=b+m^b;b:{if(l+(f>>>8|0)>>>0<=8190){b=w(f,l)+32768>>>16|0;break b}b=l&65535;b=w(b,f>>>16|0)+w(f,l>>>16|0)+(w(b,f&65535)+32768>>>16)|0}k=(c|0)<0?0-b|0:b;b=n>>31;i=b+n^b;b=d>>31;c=b+d^b;c:{if((i>>>8|0)+c>>>0<=8190){b=w(c,i)+32768>>>16|0;break c}b=c&65535;b=w(b,i>>>16|0)+w(i,c>>>16|0)+(w(b,i&65535)+32768>>>16)|0}j=k-((j|0)<0?0-b|0:b)|0;if(!j){break a}r=(j|0)<0?h:e;g=2147483647;d=2147483647;b=j>>31;b=b+j^b;d:{if(!b){break d}if(c>>>0<=(b>>>17^65535)>>>0){d=((c<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break d}h=c>>>16|0;e=b>>>1|0;c=e+(c<<16)|0;h=h+(c>>>0>>0)|0;if(h>>>0>=b>>>0){break d}k=z(h);e=32-k|0;h=c>>>e|h<>>0)/(b>>>0)|0;h=h-w(b,d)|0;c=c<>>31;h=k-(k>>>0>>0?0:b)|0;d=d<<1|k>>>0>=b>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}q[a+4>>2]=0-((r|0)<0?0-d|0:d);d=(n|0)<0?-1:1;h=(j|0)<0;n=h?0-d|0:d;e:{if(!b){break e}if(i>>>0<=(b>>>17^65535)>>>0){g=((i<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break e}d=b>>>1|0;c=d+(i<<16)|0;e=(i>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break e}i=z(e);d=32-i|0;e=c>>>d|e<>>0)/(b>>>0)|0;e=e-w(b,g)|0;c=c<>>31;e=i-(i>>>0>>0?0:b)|0;g=g<<1|i>>>0>=b>>>0;c=c<<1;d=d+ -1|0;if(d){continue}break}}q[a+8>>2]=0-((n|0)<0?0-g|0:g);d=(m|0)<0?-1:1;i=h?0-d|0:d;f:{if(!b){d=2147483647;q[a>>2]=(i|0)<0?-2147483647:2147483647;h=(j|0)<0?p:o;break f}m=b>>>17^65535;g:{if(f>>>0<=m>>>0){d=((f<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break g}d=2147483647;g=b>>>1|0;c=g+(f<<16)|0;e=(f>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break g}f=z(e);g=32-f|0;e=c>>>g|e<>>0)/(b>>>0)|0;e=e-w(b,d)|0;c=c<>>31;e=f-(f>>>0>>0?0:b)|0;d=d<<1|f>>>0>=b>>>0;c=c<<1;g=g+ -1|0;if(g){continue}break}}q[a>>2]=(i|0)<0?0-d|0:d;h=(j|0)<0?p:o;if(l>>>0<=m>>>0){d=((l<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break f}d=2147483647;g=b>>>1|0;c=g+(l<<16)|0;e=(l>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break f}f=z(e);g=32-f|0;e=c>>>g|e<>>0)/(b>>>0)|0;e=e-w(b,d)|0;c=c<>>31;e=f-(f>>>0>>0?0:b)|0;d=d<<1|f>>>0>=b>>>0;c=c<<1;g=g+ -1|0;if(g){continue}break}}g=0;q[a+12>>2]=(h|0)<0?0-d|0:d}return g}function Ms(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=Da-272|0;Da=x;s=q[b+4>>2];e=q[b+8>>2];q[a+52>>2]=-2147483648;q[a+56>>2]=0;q[a+48>>2]=e;q[a+44>>2]=s;A=q[b+52>>2];h=q[b+28>>2];f=q[b+24>>2];y=q[b+44>>2];q[c>>2]=s;q[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}l=p[h+12>>1];o=l;while(1){i=p[(h+w(g,40)|0)+12>>1];o=(o|0)<(i|0)?i:o;l=(l|0)>(i|0)?i:l;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((o|0)<=(l|0)){break a}C=a,D=Ma(l,s)+e|0,q[C>>2]=D;h=Ma(o,s)+e|0;q[a+4>>2]=h;e=h&-32;q[a+24>>2]=e;k=q[a>>2];j=k&-32;q[a+16>>2]=j;q[a+8>>2]=k&-64;t=e+32|0;q[a+28>>2]=t;i=j+32|0;q[a+20>>2]=i;q[a+12>>2]=h+63&-64;if((i|0)>(h|0)){q[a+20>>2]=h;i=h}if((e|0)<(k|0)){q[a+24>>2]=k;e=k}g=h-k|0;q[a+32>>2]=g;f=a;if((g|0)>=65){i=e-i|0}else{q[a+24>>2]=h;q[a+20>>2]=k;i=g}q[f+36>>2]=i;e=t-j|0;q[a+40>>2]=e;j=(g|0)<129?(g|0)<97?4:8:16;f=g-j|0;if((i|0)<(f|0)){q[a+36>>2]=f;i=f}f=g+j|0;if((e|0)>(f|0)){q[a+40>>2]=f;e=f}f=(w(g,3)|0)/4|0;if((i|0)<(f|0)){q[a+36>>2]=f;i=f}j=i;f=(w(g,5)|0)/4|0;if((e|0)>(f|0)){q[a+40>>2]=f;e=f}b:{if((j|0)>(e|0)){break b}B=o-l|0;while(1){f=(g-i|0)+k|0;c:{d:{if((g|0)<=(i|0)){e=q[a+16>>2];if((e|0)<=(f|0)){break d}f=(h-f|0)+e|0;break c}e=q[a+20>>2];if((e|0)>=(f|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}t=Za(i-g|0,B)+s|0;u=Ma(l,t);z=Na(x,0,260);m=q[a+24>>2];g=f;j=f-e|0;f=q[a+16>>2];n=(f+j|0)<(m|0)?m-j|0:f;m=q[a+8>>2];f=n-m|0;e:{if((f|0)<0){break e}v=n;n=q[a+28>>2];r=q[a+20>>2];j=(j+r|0)>(n|0)?n-j|0:r;if((v|0)>(j|0)){break e}j=j-m|0;if((j|0)>64){break e}n=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(k|0)?k-e|0:e-k|0)|0;k=e-u|0;m=e-m|0;if((y|0)>=1){u=(k-m|0)+f|0;h=0;while(1){e=w(h,44)+A|0;r=p[e+8>>1]-p[e+6>>1]|0;g=Ma(p[e+2>>1],t)+u|0;e=f;while(1){v=(e<<2)+z|0;q[v>>2]=q[v>>2]+w(r,q[((g&63)<<2)+289040>>2]);g=g+1|0;v=(e|0)<(j|0);e=e+1|0;if(v){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}n=w(n,10);h=q[a+52>>2];while(1){g=f;r=f-m|0;u=r+n|0;e=q[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(u|0)>=q[a+56>>2]?(e|0)<=(h|0):0)){q[a+56>>2]=u;q[a+52>>2]=e;q[a+44>>2]=t;q[a+48>>2]=k+r;h=e}f=g+1|0;if((g|0)<(j|0)){continue}break}}if((i|0)>=q[a+40>>2]){break b}i=i+1|0;g=q[a+32>>2];h=q[a+4>>2];k=q[a>>2];continue}}e=q[a+48>>2];a=q[a+44>>2];i=a-s|0;C=b,D=Ma(l,i)+e|0,q[C+2752>>2]=D;C=b,D=Ma(o,i)+e|0,q[C+2756>>2]=D;q[c>>2]=a;q[d>>2]=e}Da=x+272|0}function _x(a){var b=0,c=0;b=q[a+4>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+8>>2];if(!(!b|(b|0)==271312)){c=q[b+44>>2];Pa(c?c:271312);La(b)}b=q[a+12>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+16>>2];if(!(!b|(b|0)==271312)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a+20>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+24>>2];if(!(!b|(b|0)==271312)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;La(q[b+28>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+28>>2];if(!(!b|(b|0)==271312)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;c=q[b+8>>2];Pa(c?c:271312);La(b)}b=q[a+32>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+36>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+40>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+44>>2];if(!(!b|(b|0)==271312)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a+48>>2];if(!(!b|(b|0)==271312)){c=q[b+8>>2];Pa(c?c:271312);q[b+8>>2]=0;c=q[b+12>>2];Pa(c?c:271312);La(b)}b=q[a+52>>2];if(!(!b|(b|0)==271312)){La(q[b+224>>2]);q[b+224>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;nc(b);La(b)}b=q[a+56>>2];if(!(!b|(b|0)==271312)){Yd(b);La(b)}b=q[a+60>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+64>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+68>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+72>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+76>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+80>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+84>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}dn(a+88|0);dn(a+92|0);b=q[a+96>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+100>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+104>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+108>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+112>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+116>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+120>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+124>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+128>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+132>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+136>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+140>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);q[b>>2]=0;c=q[b+4>>2];Pa(c?c:271312);La(b)}b=q[a+144>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+148>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}a=q[a+152>>2];if(!(!a|(a|0)==271312)){Pa(a)}}function yT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=q[c+88>>2];e=1;a=0;h=q[c+76>>2];b=0;a:{if(h){break a}b=1}while(1){b:{c:{d:{if(!b){f=j<<1;g=p[f+269472>>1]+268128|0;b=o[j+269584|0];a=r[j+269888|0]==2?d:a;j=r[(w(d,20)+i|0)+18|0];k=r[f+268016|0];if(j>>>0>=k>>>0){b=j>>>0>r[f+268017|0]?b:j-k|0}b=o[b+g|0];break d}if(!j){break c}d=h;b=p[(j<<1)+269776>>1]+ -1|0}j=o[b+269648|0];g=b&31;e:{if((32<=(b&63)>>>0?33529855>>>g|0:((1<>>g)&1){break e}b=o[b+269712|0]+ -3|0;if(b>>>0>7){break e}f:{switch(b-1|0){case 2:if(a>>>0>>0){f=e<<4;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 0:if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 6:if(a>>>0>>0){f=e<<4|1;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 4:if(a>>>0>>0){f=e<<4|2;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;default:if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 1:if(a>>>0>>0){f=e<<4;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b;break e;case 3:if(a>>>0>>0){f=e<<4|2;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b;break e;case 5:break f}}if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b}a=r[j+269952|0]==1?0:a;d=d+1|0;if((h|0)!=(d|0)){break b}b=1;continue}b=q[c+76>>2];if(b){a=b+ -1|0;d=0;h=q[c+88>>2];f=r[h+15|0];while(1){g:{if((a|0)==(d|0)){d=b;break g}d=d+1|0;if((f|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}h=0;f=b;while(1){a=d;if(d-h>>>0>=2){rb(c,h,a);f=q[c+76>>2]}d=a+1|0;h=f>>>0>d>>>0?f:d;e=h+ -1|0;i=q[c+88>>2];j=r[(i+w(a,20)|0)+15|0];d=a;while(1){h:{if((d|0)==(e|0)){d=h;break h}d=d+1|0;if((j|0)==r[(i+w(d,20)|0)+15|0]){continue}}break}h=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function vX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0;c=Da-48|0;Da=c;l=q[a+24>>2];if(l>>>0>=8){s=l+ -6|0;m=q[a+32>>2];d=q[67829];k=d;p=q[67828];f(0,p|0);f(1,d|0);t=+g();d=2;while(1){i=v[a+136>>3];j=v[a+128>>3];if(l>>>0<=e>>>0){o[a+20|0]=1}a:{if(m>>>0<=e>>>0){q[160744]=p;q[160745]=k;h=642976;break a}h=q[a+36>>2]+(e<<3)|0}e=e|1;if(l>>>0<=e>>>0){o[a+20|0]=1}b:{if(m>>>0<=e>>>0){q[160744]=p;q[160745]=k;n=t;break b}n=v[q[a+36>>2]+(e<<3)>>3]}n=i+n;i=j+v[h>>3];c:{if(r[b|0]){break c}o[b|0]=1;if(!!(v[b+8>>3]>j)){v[b+8>>3]=j;j=v[a+128>>3]}if(!!(j>v[b+24>>3])){v[b+24>>3]=j}j=v[a+136>>3];if(!!(v[b+16>>3]>j)){v[b+16>>3]=j;j=v[a+136>>3]}if(!(j>v[b+32>>3])){break c}v[b+32>>3]=j}v[a+136>>3]=n;v[a+128>>3]=i;if(!!(v[b+8>>3]>i)){v[b+8>>3]=i;i=v[a+128>>3]}if(!!(i>v[b+24>>3])){v[b+24>>3]=i}i=v[a+136>>3];if(!!(v[b+16>>3]>i)){v[b+16>>3]=i;i=v[a+136>>3]}if(!!(i>v[b+32>>3])){v[b+32>>3]=i}e=d;d=e+2|0;if(d>>>0<=s>>>0){continue}break}h=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=h;h=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=h;if(l>>>0<=e>>>0){o[a+20|0]=1}m=q[a+32>>2];d:{if(m>>>0<=e>>>0){h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break d}h=q[a+36>>2]+(e<<3)|0}k=e|1;if(l>>>0<=k>>>0){o[a+20|0]=1}e:{if(m>>>0<=k>>>0){k=q[67829];q[160744]=q[67828];q[160745]=k;k=642976;break e}k=q[a+36>>2]+(k<<3)|0}v[c+32>>3]=v[c+32>>3]+v[h>>3];v[c+40>>3]=v[c+40>>3]+v[k>>3];h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;if(l>>>0<=d>>>0){o[a+20|0]=1}f:{if(m>>>0<=d>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break f}d=q[a+36>>2]+(d<<3)|0}h=e+3|0;if(l>>>0<=h>>>0){o[a+20|0]=1}g:{if(m>>>0<=h>>>0){h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break g}h=q[a+36>>2]+(h<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[h>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(l>>>0<=d>>>0){o[a+20|0]=1}h:{if(m>>>0<=d>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(l>>>0<=e>>>0){o[a+20|0]=1}i:{if(m>>>0<=e>>>0){e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break i}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function tl(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:{b:{if(!q[a+8>>2]|(q[a+20>>2]?0:!q[a+16>>2])){break b}f=q[a>>2];if(!q[b+8>>2]|(f|0)!=q[b+84>>2]){break b}q[a+168>>2]=c;q[a+172>>2]=d;q[a+160>>2]=b;CR(f,b);q[q[q[a+116>>2]+36>>2]+36>>2]=q[b+64>>2]!=0;f=q[a+116>>2];g=q[b+68>>2];c:{if(!g){q[f+40>>2]=0;break c}o=f,p=jn(g),q[o+40>>2]=p}q[q[a+116>>2]>>2]=q[a+92>>2];n=v[a+80>>3];d:{if(n!=0){break d}n=1;j=q[a+16>>2];if(!j){break d}k=q[a+20>>2];if(!k){break d}f=q[a+24>>2];if(!f){break d}g=q[a+28>>2];if(!g){break d}n=+(f|0)/+(g|0)/(+(j|0)/+(k|0))}v[a+184>>3]=n;k=a+120|0;g=q[k>>2];f=0;q[k>>2]=0;q[a+124>>2]=g;xl(q[a+748>>2],q[a+760>>2]);xl(q[a+744>>2],q[a+756>>2]);xl(q[a+740>>2],q[a+752>>2]);i=q[b+8>>2];e:{if((i|0)<1){break e}while(1){m=q[b+20>>2]+w(f,56)|0;g=q[m>>2];l=q[m+4>>2];j=l;f:{if((j|0)>(d|0)?1:(j|0)>=(d|0)?g>>>0<=c>>>0?0:1:0){break f}l=q[m+12>>2]+l|0;j=g+q[m+8>>2]|0;if(j>>>0>>0){l=l+1|0}if((l|0)<(d|0)?1:(l|0)<=(d|0)?j>>>0>c>>>0?0:1:0){break f}g=q[a+132>>2];g:{if((h|0)<(g|0)){i=q[a+128>>2];break g}g=g+100|0;q[a+132>>2]=g;i=db(q[a+128>>2],g<<5);q[a+128>>2]=i}h=iO(a,m,(h<<5)+i|0)+h|0;i=q[b+8>>2]}f=f+1|0;if((f|0)<(i|0)){continue}break}if((h|0)<=0){break e}Gc(q[a+128>>2],h,32,795);c=q[a+128>>2];h:{if((h|0)==1){b=c;h=1;break h}f=1;b=c;while(1){g=f<<5;d=g+c|0;if(q[q[b+28>>2]+20>>2]!=q[q[d+28>>2]+20>>2]){Or(a,b,d-b>>5);c=q[a+128>>2];b=g+c|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}Or(a,b,((h<<5)+c|0)-b>>5);c=0;b=k;while(1){f=q[q[a+128>>2]+(c<<5)>>2];if(f){while(1){q[b>>2]=f;b=f+28|0;f=q[f+28>>2];if(f){continue}break}}c=c+1|0;if((h|0)!=(c|0)){continue}break}}g=q[k>>2];if(g){q[g+44>>2]=q[g+44>>2]+1}f=q[a+124>>2];if(e){h=0;i:{if(!f){b=g;break i}c=f;b=g;while(1){if(!b){b=0;h=2;break i}d=q[c+28>>2];i=2;j:{if(q[c>>2]!=q[b>>2]|q[c+4>>2]!=q[b+4>>2]|(q[c+8>>2]!=q[b+8>>2]|q[c+16>>2]!=q[b+16>>2])){break j}if(q[c+12>>2]!=q[b+12>>2]){break j}i=1;if(q[c+20>>2]!=q[b+20>>2]){break j}i=q[c+24>>2]!=q[b+24>>2]}h=i>>>0>h>>>0?i:h;b=q[b+28>>2];if(!d){break i}c=d;if((h|0)<2){continue}break}}q[e>>2]=b?2:h}k:{if(!f){break k}b=q[f+44>>2]+ -1|0;q[f+44>>2]=b;if(b){break k}while(1){b=q[f+28>>2];Cb(q[f+36>>2]);gd(q[f+40>>2]);La(f);f=b;if(b){continue}break}g=q[k>>2]}q[a+124>>2]=0;break a}if(!e){break a}q[e>>2]=2;return 0}return g}function mT(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;d=Da-16|0;Da=d;i=q[b+76>>2];if(i){g=q[b+96>>2];k=q[b+88>>2];h=(q[b+48>>2]&-2)!=4;b=0;while(1){e=w(b,20);f=e+k|0;c=s[f+16>>1];a:{if((c&31)!=29|r[f+12|0]&32){break a}f=c>>>8|0;j=f+ -1|0;if(j>>>0>20){break a}b:{c:{d:{switch(j-6|0){default:if(!h){q[e+g>>2]=(q[a+20>>2]+(c>>>9|0)|0)/(f|0);break a}q[(e+g|0)+4>>2]=0-((q[a+24>>2]+(c>>>9|0)|0)/(f|0)|0);break a;case 10:if(!h){f=e+g|0;e=q[a+20>>2];c=e>>31;l=f,m=X$(e<<2,c<<2|e>>>30,18,0),q[l>>2]=m;break a}f=e+g|0;e=0-q[a+24>>2]|0;c=e>>31;l=f,m=X$(e<<2,c<<2|e>>>30,18,0),q[l+4>>2]=m;break a;case 12:q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],48,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],49,d+12|0,q[c+20>>2])){break c}break b;case 13:q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],46,d+12|0,q[c+20>>2])){q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],44,d+12|0,q[c+20>>2])){break a}}c=q[a+72>>2];f=q[d+12>>2];if(!h){l=e+g|0,m=n[q[c+168>>2]](a,q[a+76>>2],f,q[c+32>>2])|0,q[l>>2]=m;break a}l=e+g|0,m=n[q[c+172>>2]](a,q[a+76>>2],f,q[c+36>>2])|0,q[l+4>>2]=m;break a;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:break a;case 14:break d}}if(!h){e=e+g|0;q[e>>2]=q[e>>2]/2;break a}e=e+g|0;q[e+4>>2]=q[e+4>>2]/2;break a}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],50,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],51,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],52,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],53,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],54,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],55,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],56,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],57,d+12|0,q[c+20>>2])){break a}}c=q[a+72>>2];f=q[d+12>>2];if(!h){l=e+g|0,m=n[q[c+168>>2]](a,q[a+76>>2],f,q[c+32>>2])|0,q[l>>2]=m;break a}l=e+g|0,m=n[q[c+172>>2]](a,q[a+76>>2],f,q[c+36>>2])|0,q[l+4>>2]=m}b=b+1|0;if((i|0)!=(b|0)){continue}break}}Da=d+16|0}function uo(a,b){var c=0,d=0,e=0,f=0;f=q[q[a>>2]+96>>2];e=q[q[a+8>>2]+140>>2];if((e|0)>=1){Qa(q[a+132>>2],q[a+136>>2],s[a+128>>1]<<3)}Qa(q[a+156>>2]+288|0,q[a+4>>2]+180|0,68);a:{if(b){c=q[a+156>>2];q[c+224>>2]=65536;q[c+228>>2]=65536;Qa(q[a+140>>2],q[a+136>>2],s[a+128>>1]<<3);break a}c=q[a+156>>2];d=q[q[a+4>>2]+44>>2];q[c+224>>2]=q[d+4>>2];q[c+228>>2]=q[d+8>>2]}c=q[a+136>>2]+(s[a+128>>1]<<3)|0;d=c+ -32|0;q[d>>2]=q[d>>2]+32&-64;d=c+ -24|0;q[d>>2]=q[d>>2]+32&-64;d=c+ -12|0;q[d>>2]=q[d>>2]+32&-64;c=c+ -4|0;q[c>>2]=q[c>>2]+32&-64;b:{if((e|0)>=1){d=q[q[a+12>>2]- -64>>2];c=q[a+156>>2];o[c+564|0]=b;q[c+468>>2]=e;q[c+464>>2]=q[c+396>>2];b=q[a+124>>2];q[c+144>>2]=q[a+120>>2];q[c+148>>2]=b;b=q[a+132>>2];q[c+152>>2]=q[a+128>>2];q[c+156>>2]=b;b=q[a+140>>2];q[c+160>>2]=q[a+136>>2];q[c+164>>2]=b;b=q[a+148>>2];q[c+168>>2]=q[a+144>>2];q[c+172>>2]=b;q[c+176>>2]=q[a+152>>2];b=q[a+156>>2];q[b+364>>2]=0;q[b+356>>2]=3;c=q[b+148>>2];q[b+36>>2]=q[b+144>>2];q[b+40>>2]=c;q[b+368>>2]=q[b+468>>2];c=q[b+156>>2];q[b+44>>2]=q[b+152>>2];q[b+48>>2]=c;c=q[b+164>>2];q[b+52>>2]=q[b+160>>2];q[b+56>>2]=c;c=q[b+172>>2];q[b+60>>2]=q[b+168>>2];q[b+64>>2]=c;q[b+68>>2]=q[b+176>>2];q[b+360>>2]=q[b+464>>2];c=q[b+148>>2];q[b+72>>2]=q[b+144>>2];q[b+76>>2]=c;c=q[b+156>>2];q[b+80>>2]=q[b+152>>2];q[b+84>>2]=c;c=q[b+164>>2];q[b+88>>2]=q[b+160>>2];q[b+92>>2]=c;c=q[b+172>>2];q[b+96>>2]=q[b+168>>2];q[b+100>>2]=c;q[b+104>>2]=q[b+176>>2];q[b+140>>2]=q[b+176>>2];c=q[b+172>>2];q[b+132>>2]=q[b+168>>2];q[b+136>>2]=c;c=q[b+164>>2];q[b+124>>2]=q[b+160>>2];q[b+128>>2]=c;c=q[b+156>>2];q[b+116>>2]=q[b+152>>2];q[b+120>>2]=c;c=q[b+148>>2];q[b+108>>2]=q[b+144>>2];q[b+112>>2]=c;p[b+352>>1]=1;q[b+348>>2]=65537;p[b+298>>1]=16384;p[b+300>>1]=0;p[b+302>>1]=16384;p[b+304>>1]=0;q[b+316>>2]=1;p[b+294>>1]=16384;p[b+296>>1]=0;q[b+308>>2]=1;q[b+432>>2]=0;q[b+16>>2]=0;b=n[q[q[b>>2]+708>>2]](b)|0;c=q[a+156>>2];if(r[c+565|0]?b:0){break b}o[d|0]=r[d|0]|r[c+344|0]<<5|4}if(q[f+64>>2]==40){b=0;if(r[q[a+156>>2]+615|0]){break b}}b=q[a+136>>2]+(s[a+128>>1]<<3)|0;c=b+ -32|0;e=q[c+4>>2];q[a+68>>2]=q[c>>2];q[a+72>>2]=e;c=b+ -24|0;e=q[c+4>>2];q[a+76>>2]=q[c>>2];q[a+80>>2]=e;c=b+ -16|0;e=q[c+4>>2];q[a+180>>2]=q[c>>2];q[a+184>>2]=e;b=b+ -8|0;c=q[b+4>>2];q[a+188>>2]=q[b>>2];q[a+192>>2]=c;b=0}return b}function jU(a,b,c){a=a|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,p=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0;a:{b:{c:{if(!(o[b+35|0]&1)){break c}G=q[c+20>>2]>-1?1:-1;while(1){A=q[b+76>>2];D=A+C|0;d:{if(!A){k=D;break d}u=q[b+96>>2];p=q[b+88>>2];k=D;a=A;while(1){v=0;i=0;f=0;d=a;h=w(d+ -1|0,20);g=h+p|0;e:{if((r[g+18|0]&254)!=8){if((x|0)!=1){break e}d=q[g+4>>2];k=k+ -1|0;f=w(k,20);j=f+p|0;e=j;q[e>>2]=q[g>>2];q[e+4>>2]=d;q[e+16>>2]=q[g+16>>2];d=q[g+12>>2];q[e+8>>2]=q[g+8>>2];q[e+12>>2]=d;e=f+u|0;f=h+u|0;q[e+16>>2]=q[f+16>>2];d=q[f+12>>2];q[e+8>>2]=q[f+8>>2];q[e+12>>2]=d;d=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=d;break e}f:{while(1){e=d+ -1|0;h=w(e,20)+p|0;if((r[h+18|0]&254)==8){j=0;d=q[c+72>>2];g=n[q[d+168>>2]](c,q[c+76>>2],q[h>>2],q[d+32>>2])|0;h=r[h+18|0];d=(h|0)==8;v=(d?g:0)+v|0;f=(d?0:g)+f|0;i=((h|0)!=8)+i|0;l=0;h=0;d=e;if(e){continue}break f}break}h=d;l=0;g:{while(1){e=h+ -1|0;g=w(e,20);y=g+p|0;if((r[y+18|0]&254)==8){break g}j=s[y+16>>1];if(1<<(j&31)&125893836?0:!(r[y+12|0]&32?0:j&32)){break g}l=q[g+u>>2]+l|0;h=e;if(e){continue}break}h=0}j=d}g=w(l-v|0,G);H=0;e=w(f,G);d=0;h:{if((e|0)<1){break h}d=0;if((g|0)<=(e|0)){break h}d=((g|0)/(e|0)|0)+ -1|0}i:{if((i|0)<1){f=d;break i}f=d+1|0;if((g|0)<=(w(e,f)|0)){f=d;break i}d=w(e,d+2|0)-g|0;if((d|0)<1){break i}H=(d|0)/(w(f,i)|0)|0}d=j+1|0;if(!x){C=w(f,i)+C|0;a=d;break e}if(a-h>>>0>=2){rb(b,h,a)}if(a>>>0<=j>>>0){a=d;break e}v=f+1|0;l=0;while(1){a=a+ -1|0;h=w(a,20);m=h+p|0;f=q[c+72>>2];y=n[q[f+168>>2]](c,q[c+76>>2],q[m>>2],q[f+32>>2])|0;i=r[m+18|0]==9?v:1;if(i){B=h+u|0;E=B;h=0;f=k;while(1){l=(l-y|0)+(h?H:0)|0;q[E+8>>2]=l;f=f+ -1|0;g=w(f,20);z=g+p|0;q[z+16>>2]=q[m+16>>2];e=q[m+12>>2];q[z+8>>2]=q[m+8>>2];q[z+12>>2]=e;e=q[m+4>>2];q[z>>2]=q[m>>2];q[z+4>>2]=e;g=g+u|0;q[g+16>>2]=q[B+16>>2];e=q[E+12>>2];q[g+8>>2]=q[E+8>>2];q[g+12>>2]=e;e=q[B+4>>2];q[g>>2]=q[B>>2];q[g+4>>2]=e;h=h+1|0;if((i|0)!=(h|0)){continue}break}k=k-i|0}if(a>>>0>j>>>0){continue}break}a=d}a=a+ -1|0;if(a){continue}break}}j:{if(!x){a=C+A|0;if(!a|t[b+84>>2]>a>>>0){break j}if(pe(b,a)){break j}break c}if(k){break b}q[b+76>>2]=D}x=x+1|0;if((x|0)!=2){continue}break}}a=r[b+164|0];if(!(a&64)){break a}o[b+164|0]=a&191;return}I(255156,255163,590,255193);F()}I(255219,251880,160,255204);F()}function ul(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=q[a+160>>2];g=q[h+16>>2];f=q[q[a+208>>2]+24>>2];q[a+824>>2]=355765;c=q[a+96>>2];i=q[a+536>>2];g=b?b:g+w(f,144)|0;k=Qa(a+544|0,g,144);f=c&2;q[a+532>>2]=!f|!i;b=i?0:c;c=b&1?b|124:b;if(c&512){Qa(k,a+824|0,144)}d=+q[h+40>>2];e=d/288;if(c&4){b=q[a+876>>2];q[a+592>>2]=q[a+872>>2];q[a+596>>2]=b;b=q[a+884>>2];q[a+600>>2]=q[a+880>>2];q[a+604>>2]=b;v[a+552>>3]=e*v[a+832>>3];v[a+608>>3]=e*v[a+888>>3]}if(c&8){q[a+548>>2]=q[a+828>>2];q[a+668>>2]=q[a+948>>2]}if(c&16){b=q[a+844>>2];q[a+560>>2]=q[a+840>>2];q[a+564>>2]=b;b=q[a+852>>2];q[a+568>>2]=q[a+848>>2];q[a+572>>2]=b}if(c&32){b=q[a+860>>2];q[a+576>>2]=q[a+856>>2];q[a+580>>2]=b;b=q[a+868>>2];q[a+584>>2]=q[a+864>>2];q[a+588>>2]=b}if(c&64){q[a+624>>2]=q[a+904>>2];v[a+632>>3]=e*v[a+912>>3];v[a+640>>3]=e*v[a+920>>3]}if(c&128){q[a+648>>2]=q[a+928>>2]}if(c&1024){q[a+680>>2]=q[a+960>>2]}if(c&256){q[a+652>>2]=q[a+932>>2];b=q[a+940>>2];q[a+656>>2]=q[a+936>>2];q[a+660>>2]=b}if(!q[a+548>>2]){q[a+548>>2]=q[g+4>>2]}q[a+528>>2]=c;q[a+212>>2]=k;e=+q[a+144>>2];j=e/d;v[a+176>>3]=j;b=a;g=q[a+28>>2];d=1;a:{if(!g){break a}d=e/+(g|0)}v[b+200>>3]=d;e=q[h+60>>2]?j:d;v[a+192>>3]=e;if(!g){v[a+200>>3]=e;d=e}if(!(f?i:0)){l=d;d=v[a+32>>3];v[a+200>>3]=l*d;v[a+192>>3]=e*d;v[a+176>>3]=j*d}b=q[a+564>>2];q[a+384>>2]=q[a+560>>2];q[a+388>>2]=b;b=q[a+572>>2];q[a+392>>2]=q[a+568>>2];q[a+396>>2]=b;b=q[a+556>>2];q[a+224>>2]=q[a+552>>2];q[a+228>>2]=b;q[a+232>>2]=(q[a+588>>2]!=0)<<1|q[a+584>>2]!=0;La(q[a+504>>2]);q[a+504>>2]=0;m=a,n=eb(q[a+548>>2]),q[m+504>>2]=n;q[a+516>>2]=q[a+668>>2];b=q[a+580>>2];q[a+508>>2]=q[a+576>>2];q[a+512>>2]=b;Bi(a);o[a+424|0]=0;q[a+248>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+260>>2]=0;q[a+360>>2]=q[a+624>>2];f=q[a+636>>2];b=q[a+632>>2];q[a+376>>2]=b;q[a+380>>2]=f;q[a+368>>2]=b;q[a+372>>2]=f;b=q[a+596>>2];q[a+336>>2]=q[a+592>>2];q[a+340>>2]=b;b=q[a+604>>2];q[a+344>>2]=q[a+600>>2];q[a+348>>2]=b;b=q[a+612>>2];q[a+352>>2]=q[a+608>>2];q[a+356>>2]=b;b=q[a+676>>2];q[a+432>>2]=q[a+672>>2];q[a+436>>2]=b;f=q[a+644>>2];b=q[a+640>>2];q[a+448>>2]=b;q[a+452>>2]=f;q[a+440>>2]=b;q[a+444>>2]=f;q[a+272>>2]=0;q[a+276>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+524>>2]=q[a+664>>2];v[a+264>>3]=v[a+616>>3]*3.141592653589793/180}function uX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0;c=Da-48|0;Da=c;k=q[a+24>>2];a:{if(k>>>0<8){break a}t=a+128|0;u=k+ -2|0;n=q[67828];p=q[67829];m=6;while(1){d=t;l=q[d+12>>2];q[c+40>>2]=q[d+8>>2];q[c+44>>2]=l;l=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=l;if(k>>>0<=e>>>0){o[a+20|0]=1}l=q[a+32>>2];b:{if(l>>>0<=e>>>0){q[160744]=n;q[160745]=p;d=642976;break b}d=q[a+36>>2]+(e<<3)|0}i=e|1;if(k>>>0<=i>>>0){o[a+20|0]=1}c:{if(l>>>0<=i>>>0){q[160744]=n;q[160745]=p;i=642976;break c}i=q[a+36>>2]+(i<<3)|0}v[c+32>>3]=v[c+32>>3]+v[d>>3];v[c+40>>3]=v[c+40>>3]+v[i>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=e+2|0;if(k>>>0<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){q[160744]=n;q[160745]=p;d=642976;break d}d=q[a+36>>2]+(d<<3)|0}i=e+3|0;if(k>>>0<=i>>>0){o[a+20|0]=1}e:{if(l>>>0<=i>>>0){q[160744]=n;q[160745]=p;i=642976;break e}i=q[a+36>>2]+(i<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[i>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(k>>>0<=d>>>0){o[a+20|0]=1}f:{if(l>>>0<=d>>>0){q[160744]=n;q[160745]=p;d=642976;break f}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(k>>>0<=e>>>0){o[a+20|0]=1}g:{if(l>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break g}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c);k=q[a+24>>2];e=m;m=e+6|0;if(m>>>0<=u>>>0){continue}break}h=v[a+136>>3];j=v[a+128>>3];if(k>>>0<=e>>>0){o[a+20|0]=1}m=q[a+32>>2];h:{if(m>>>0<=e>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(e<<3)|0}e=e|1;if(k>>>0<=e>>>0){o[a+20|0]=1}i:{if(m>>>0<=e>>>0){e=q[67829];m=q[67828];q[160744]=m;q[160745]=e;f(0,m|0);f(1,e|0);s=+g();break i}s=v[q[a+36>>2]+(e<<3)>>3]}s=h+s;h=j+v[d>>3];j:{if(r[b|0]){break j}o[b|0]=1;if(!!(v[b+8>>3]>j)){v[b+8>>3]=j;j=v[a+128>>3]}if(!!(j>v[b+24>>3])){v[b+24>>3]=j}j=v[a+136>>3];if(!!(v[b+16>>3]>j)){v[b+16>>3]=j;j=v[a+136>>3]}if(!(j>v[b+32>>3])){break j}v[b+32>>3]=j}v[a+136>>3]=s;v[a+128>>3]=h;if(!!(v[b+8>>3]>h)){v[b+8>>3]=h;h=v[a+128>>3]}if(!!(h>v[b+24>>3])){v[b+24>>3]=h}h=v[a+136>>3];if(!!(v[b+16>>3]>h)){v[b+16>>3]=h;h=v[a+136>>3]}if(!(h>v[b+32>>3])){break a}v[b+32>>3]=h}Da=c+48|0}function Zm(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:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0>2147483646){break a}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);n=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;e=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);j=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;o=h<<1;a=0;d=0;while(1){b:{if(!(a&1)){e=d;break b}c:{if(!h){e=0-i|0;a=0;break c}if(4294967295/(h>>>0)>>>0<=i>>>0){break a}e=0-i|0;if(4294967295/(o>>>0)>>>0<=e>>>0){break a}a=w(i,h)}f=(a<<1)+j|0;g=w(e,o);d:{if(!g){e=q[b+12>>2];break d}if(t[b+4>>2]>f>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-f>>>0>>0){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}}e=(i-l|0)+e|0;q[b+12>>2]=e;if((e|0)<1|(a|0)>0){break a}e=d;l=i;a=j;if(f>>>0>=a>>>0){break b}while(1){a=a+ -2|0;l=r[a|0]<<8|r[a+1|0];e=e>>>0>l>>>0?e:l+1|0;if(f>>>0>>0){continue}break}l=i}if((k|0)<=(m|0)){g=m+1|0;if(!(!h|4294967295/(o>>>0)>>>0>g>>>0)){return 0}f=w(g,o);e:{if(!f){a=q[b+12>>2];break e}if(t[b+4>>2]>j>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-j>>>0>>0){break a}f=q[b+12>>2];a=f+ -1|0;q[b+12>>2]=a;if((f|0)<1){break a}}a=((m^-1)+k|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(h>>>0)>>>0<=g>>>0?h:0)){break a}f=w(g,h);if((f|0)<0){break a}a=w(h,k);if((a|0)<(f|0)){f=(f<<1)+j|0;a=(a<<1)+j|0;while(1){k=r[a+1|0]|r[a|0]<<8;e=e>>>0>k>>>0?e:k+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}k=g}if(e>>>0>536870910){break a}f=e<<3;f:{if(!e){g=q[b+12>>2];break f}if(t[b+4>>2]>n>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-n>>>0>>0){break a}a=q[b+12>>2];g=a+ -1|0;q[b+12>>2]=g;if((a|0)<1){break a}}a=(d-e|0)+g|0;q[b+12>>2]=a;if((a|0)<1){break a}if((d|0)<(e|0)){g=f+n|0;a=(d<<3)+n|0;while(1){d=r[a+1|0]|r[a|0]<<8;m=(m|0)<(d|0)?d:m;i=(i|0)>(d|0)?d:i;a=a+8|0;if(a>>>0>>0){continue}break}}d=e;a=(i|0)<(l|0);if(a|(k|0)<=(m|0)){continue}break}p=1;if(!c){break a}q[c>>2]=d}return p}function lk(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;g=Da-32|0;Da=g;i=Se(a);a:{if(!i){a=0;break a}h=q[i+76>>2];if(!(r[b|0]?b:0)){a=Kb(503547);b=a?a:503563}b:{if(r[b|0]==47){a=Ig(h,b);break b}if(r[b|0]==126){a=0;if(!q[160548]){break b}f=Kb(503475);if(!f){break b}if(!h){a=Ig(f,b+1|0);break b}q[g+4>>2]=0;q[g>>2]=f;f=_b(h,g);a=Ig(f,b+1|0);La(f);break b}c:{e=Kb(503937);d:{e:{if(e){a=r[e|0];if(a){f=3;c=e;while(1){f=((a&255)==58)+f|0;a=r[c+1|0];c=c+1|0;if(a){continue}break}a=0;f=ab(f,4);if(!f){break b}while(1){k=(a<<2)+f|0;c=Pb(e,58);if(!c){c=Wa(e)+e|0}j=c-e|0;d=Sa(j+1|0);q[k>>2]=d;if(!d){break d}l=Md(d,e,j)+j|0,m=0,o[l|0]=m;a=a+1|0;e=r[c|0]?c+1|0:c;if(r[e|0]){continue}break}break e}a=0;f=ab(3,4);if(f){break e}break b}a=0;f=ab(2,4);if(!f){break b}}d=Sa(31);q[(a<<2)+f>>2]=d;if(d){break c}}a=q[f>>2];if(a){c=0;while(1){La(a);c=c+1|0;a=q[(c<<2)+f>>2];if(a){continue}break}}La(f);a=0;break b}a=0;c=r[503980]|r[503981]<<8|(r[503982]<<16|r[503983]<<24);e=r[503976]|r[503977]<<8|(r[503978]<<16|r[503979]<<24);o[d+23|0]=e;o[d+24|0]=e>>>8;o[d+25|0]=e>>>16;o[d+26|0]=e>>>24;o[d+27|0]=c;o[d+28|0]=c>>>8;o[d+29|0]=c>>>16;o[d+30|0]=c>>>24;c=r[503973]|r[503974]<<8|(r[503975]<<16|r[503976]<<24);e=r[503969]|r[503970]<<8|(r[503971]<<16|r[503972]<<24);o[d+16|0]=e;o[d+17|0]=e>>>8;o[d+18|0]=e>>>16;o[d+19|0]=e>>>24;o[d+20|0]=c;o[d+21|0]=c>>>8;o[d+22|0]=c>>>16;o[d+23|0]=c>>>24;c=r[503965]|r[503966]<<8|(r[503967]<<16|r[503968]<<24);e=r[503961]|r[503962]<<8|(r[503963]<<16|r[503964]<<24);o[d+8|0]=e;o[d+9|0]=e>>>8;o[d+10|0]=e>>>16;o[d+11|0]=e>>>24;o[d+12|0]=c;o[d+13|0]=c>>>8;o[d+14|0]=c>>>16;o[d+15|0]=c>>>24;c=r[503957]|r[503958]<<8|(r[503959]<<16|r[503960]<<24);e=r[503953]|r[503954]<<8|(r[503955]<<16|r[503956]<<24);o[d|0]=e;o[d+1|0]=e>>>8;o[d+2|0]=e>>>16;o[d+3|0]=e>>>24;o[d+4|0]=c;o[d+5|0]=c>>>8;o[d+6|0]=c>>>16;o[d+7|0]=c>>>24;if(!f){break b}a=q[f>>2];f:{if(!a){a=0;break f}g:{if(!h){c=f;while(1){a=Ig(a,b);if(a){break g}c=c+4|0;a=q[c>>2];if(a){continue}break}a=0;break g}e=f;while(1){q[g+20>>2]=0;q[g+16>>2]=a;c=_b(h,g+16|0);a=Ig(c,b);La(c);if(a){break g}e=e+4|0;a=q[e>>2];if(a){continue}break}a=0}c=q[f>>2];if(!c){break f}b=f;while(1){La(c);c=q[b+4>>2];b=b+4|0;if(c){continue}break}}La(f)}cc(i)}Da=g+32|0;return a}function Aj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;q[a+4>>2]=c;q[a>>2]=b;if(c){q[a+400>>2]=q[c+124>>2];q[a+404>>2]=q[c+128>>2];q[a+412>>2]=q[c+136>>2];q[a+416>>2]=q[c+140>>2];q[a+408>>2]=q[c+132>>2];q[a+420>>2]=q[c+144>>2];q[a+216>>2]=q[c+120>>2];d=q[c+80>>2];q[a+248>>2]=q[c+76>>2];q[a+252>>2]=d;d=q[c+88>>2];q[a+256>>2]=q[c+84>>2];q[a+260>>2]=d;d=q[c+96>>2];q[a+264>>2]=q[c+92>>2];q[a+268>>2]=d;d=q[c+104>>2];q[a+272>>2]=q[c+100>>2];q[a+276>>2]=d;d=q[c+112>>2];q[a+280>>2]=q[c+108>>2];q[a+284>>2]=d;d=q[c+44>>2];e=q[d+4>>2];q[a+220>>2]=q[d>>2];q[a+224>>2]=e;e=q[d+12>>2];q[a+228>>2]=q[d+8>>2];q[a+232>>2]=e;e=q[d+20>>2];q[a+236>>2]=q[d+16>>2];q[a+240>>2]=e;q[a+244>>2]=q[d+24>>2];q[a+424>>2]=q[c+148>>2];q[a+428>>2]=q[c+152>>2];d=q[c+160>>2];q[a+448>>2]=q[c+156>>2];q[a+452>>2]=d;d=q[c+168>>2];q[a+456>>2]=q[c+164>>2];q[a+460>>2]=d;d=q[c+176>>2];q[a+464>>2]=q[c+172>>2];q[a+468>>2]=d;Qa(a+288|0,c+180|0,68);q[a+384>>2]=q[c+248>>2];q[a+388>>2]=q[c+252>>2];p[a+472>>1]=s[c+256>>1];q[a+476>>2]=q[c+260>>2];d=q[c+268>>2];q[a+180>>2]=q[c+264>>2];q[a+184>>2]=d;d=q[c+276>>2];q[a+188>>2]=q[c+272>>2];q[a+192>>2]=d;d=q[c+284>>2];q[a+196>>2]=q[c+280>>2];q[a+200>>2]=d;d=q[c+292>>2];q[a+204>>2]=q[c+288>>2];q[a+208>>2]=d;q[a+212>>2]=q[c+296>>2];Na(a+36|0,0,108)}e=q[a+8>>2];a:{b:{c:{d=q[a+20>>2];c=s[b+284>>1]+32|0;d:{if(d>>>0>=c>>>0){c=d;break d}i=a,j=Oa(e,1,d<<2,c<<2,q[a+24>>2],f+8|0),q[i+24>>2]=j;e=q[f+8>>2];if(e){break c}e=q[a+8>>2]}q[a+20>>2]=c;d=q[a+392>>2];c=s[b+286>>1];if(d>>>0>=c>>>0){c=d;break b}i=a,j=Oa(e,1,d,c,q[a+396>>2],f+12|0),q[i+396>>2]=j;e=q[f+12>>2];if(!e){break b}q[a+392>>2]=d&65535;break a}q[a+20>>2]=d;break a}e=0;q[a+152>>2]=0;q[a+392>>2]=c&65535;b=q[a+148>>2];c=q[a+144>>2];q[a+72>>2]=c;q[a+76>>2]=b;q[a+108>>2]=c;q[a+112>>2]=b;q[a+36>>2]=c;q[a+40>>2]=b;d=q[a+164>>2];b=d;c=q[a+160>>2];q[a+88>>2]=c;q[a+92>>2]=d;g=q[a+172>>2];d=g;h=q[a+168>>2];q[a+96>>2]=h;q[a+100>>2]=d;g=q[a+176>>2];q[a+104>>2]=g;q[a+124>>2]=c;q[a+128>>2]=b;q[a+132>>2]=h;q[a+136>>2]=d;q[a+140>>2]=g;q[a+52>>2]=c;q[a+56>>2]=b;q[a+60>>2]=h;q[a+64>>2]=d;q[a+68>>2]=g;b=q[a+156>>2];c=q[a+152>>2];q[a+80>>2]=c;q[a+84>>2]=b;q[a+116>>2]=c;q[a+120>>2]=b;q[a+44>>2]=c;q[a+48>>2]=b;o[a+492|0]=0}Da=f+16|0;return e}function op(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;a:{if(c>>>0<=2){c=c<<2;h=q[c+508556>>2];k=q[c+508544>>2];while(1){c=q[b+4>>2];b:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break b}c=vb(b)}if((c|0)==32|c+ -9>>>0<5){continue}break}e=c+ -43|0;c:{if(e>>>0>2){g=1;break c}g=1;if(!(e-1)){break c}g=(c|0)==45?-1:1;c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break c}c=vb(b)}e=0;d:{e:{while(1){if(o[e+508476|0]==(c|32)){f:{if(e>>>0>6){break f}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break f}c=vb(b)}e=e+1|0;if((e|0)!=8){continue}break e}break}if((e|0)!=3){if((e|0)==8){break e}if(!d|e>>>0<4){break d}if((e|0)==8){break e}}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(!d|e>>>0<4){break e}while(1){if(c){q[b+4>>2]=q[b+4>>2]+ -1}e=e+ -1|0;if(e>>>0>3){continue}break}}AG(f,x(x(g|0)*x(H)));g=q[f+8>>2];h=q[f+12>>2];i=q[f>>2];j=q[f+4>>2];break a}g:{h:{i:{if(e){break i}e=0;while(1){if(o[e+508485|0]!=(c|32)){break i}j:{if(e>>>0>1){break j}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break j}c=vb(b)}e=e+1|0;if((e|0)!=3){continue}break}break h}k:{l:{if(e>>>0>3){break l}switch(e-1|0){case 2:break h;case 0:case 1:break l;default:break k}}if(q[b+104>>2]){q[b+4>>2]=q[b+4>>2]+ -1}break g}m:{if((c|0)!=48){break m}e=q[b+4>>2];n:{if(e>>>0>2]){q[b+4>>2]=e+1;e=r[e|0];break n}e=vb(b)}if((e|32)==120){WG(f+16|0,b,k,h,g,d);g=q[f+24>>2];h=q[f+28>>2];i=q[f+16>>2];j=q[f+20>>2];break a}if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1}VG(f+32|0,b,c,k,h,g,d);g=q[f+40>>2];h=q[f+44>>2];i=q[f+32>>2];j=q[f+36>>2];break a}o:{c=q[b+4>>2];p:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break p}c=vb(b)}if((c|0)==40){e=1;break o}g=0;h=2147450880;if(!q[b+104>>2]){break a}q[b+4>>2]=q[b+4>>2]+ -1;break a}while(1){q:{c=q[b+4>>2];r:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break r}c=vb(b)}if(!(c+ -48>>>0<10|c+ -65>>>0<26|(c|0)==95)){if(c+ -97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;h=2147450880;if((c|0)==41){break a}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(d){if(!e){break a}while(1){e=e+ -1|0;if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(e){continue}break}break a}}q[160942]=28;xd(b,0,0)}g=0;h=0}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=h;Da=f+48|0}function Ym(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:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(g>>>0>2147483646){break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);m=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);i=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;n=g<<1;a=0;c=0;while(1){b:{if(!(a&1)){d=c;break b}c:{if(!g){d=0-h|0;a=0;break c}if(4294967295/(g>>>0)>>>0<=h>>>0){break a}d=0-h|0;if(4294967295/(n>>>0)>>>0<=d>>>0){break a}a=w(h,g)}e=(a<<1)+i|0;f=w(d,n);d:{if(!f){d=q[b+12>>2];break d}if(t[b+4>>2]>e>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-e>>>0>>0){break a}f=q[b+12>>2];d=f+ -1|0;q[b+12>>2]=d;if((f|0)<1){break a}}d=(h-k|0)+d|0;q[b+12>>2]=d;if((d|0)<1|(a|0)>0){break a}d=c;k=h;a=i;if(e>>>0>=a>>>0){break b}while(1){a=a+ -2|0;k=r[a|0]<<8|r[a+1|0];d=d>>>0>k>>>0?d:k+1|0;if(e>>>0>>0){continue}break}k=h}if((j|0)<=(l|0)){f=l+1|0;if(!(!g|4294967295/(n>>>0)>>>0>f>>>0)){return 0}e=w(f,n);e:{if(!e){a=q[b+12>>2];break e}if(t[b+4>>2]>i>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-i>>>0>>0){break a}e=q[b+12>>2];a=e+ -1|0;q[b+12>>2]=a;if((e|0)<1){break a}}a=((l^-1)+j|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(g>>>0)>>>0<=f>>>0?g:0)){break a}e=w(f,g);if((e|0)<0){break a}a=w(g,j);if((a|0)<(e|0)){e=(e<<1)+i|0;a=(a<<1)+i|0;while(1){j=r[a+1|0]|r[a|0]<<8;d=d>>>0>j>>>0?d:j+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}j=f}if(d>>>0>715827881){break a}e=w(d,6);f:{if(!e){f=q[b+12>>2];break f}if(t[b+4>>2]>m>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-m>>>0>>0){break a}a=q[b+12>>2];f=a+ -1|0;q[b+12>>2]=f;if((a|0)<1){break a}}a=(c-d|0)+f|0;q[b+12>>2]=a;if((a|0)<1){break a}if((c|0)<(d|0)){f=e+m|0;a=w(c,6)+m|0;while(1){c=r[a+1|0]|r[a|0]<<8;l=(l|0)<(c|0)?c:l;h=(h|0)>(c|0)?c:h;a=a+6|0;if(a>>>0>>0){continue}break}}c=d;a=(h|0)<(k|0);if(a|(j|0)<=(l|0)){continue}break}o=1}return o}function zx(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:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(g>>>0>2147483646){break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);m=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);i=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;n=g<<1;a=0;c=0;while(1){b:{if(!(a&1)){d=c;break b}c:{if(!g){d=0-h|0;a=0;break c}if(4294967295/(g>>>0)>>>0<=h>>>0){break a}d=0-h|0;if(4294967295/(n>>>0)>>>0<=d>>>0){break a}a=w(h,g)}e=(a<<1)+i|0;f=w(d,n);d:{if(!f){d=q[b+12>>2];break d}if(t[b+4>>2]>e>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-e>>>0>>0){break a}f=q[b+12>>2];d=f+ -1|0;q[b+12>>2]=d;if((f|0)<1){break a}}d=(h-k|0)+d|0;q[b+12>>2]=d;if((d|0)<1|(a|0)>0){break a}d=c;k=h;a=i;if(e>>>0>=a>>>0){break b}while(1){a=a+ -2|0;k=r[a|0]<<8|r[a+1|0];d=d>>>0>k>>>0?d:k+1|0;if(e>>>0>>0){continue}break}k=h}if((j|0)<=(l|0)){f=l+1|0;if(!(!g|4294967295/(n>>>0)>>>0>f>>>0)){return 0}e=w(f,n);e:{if(!e){a=q[b+12>>2];break e}if(t[b+4>>2]>i>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-i>>>0>>0){break a}e=q[b+12>>2];a=e+ -1|0;q[b+12>>2]=a;if((e|0)<1){break a}}a=((l^-1)+j|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(g>>>0)>>>0<=f>>>0?g:0)){break a}e=w(f,g);if((e|0)<0){break a}a=w(g,j);if((a|0)<(e|0)){e=(e<<1)+i|0;a=(a<<1)+i|0;while(1){j=r[a+1|0]|r[a|0]<<8;d=d>>>0>j>>>0?d:j+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}j=f}if(d>>>0>1073741822){break a}e=d<<2;f:{if(!d){f=q[b+12>>2];break f}if(t[b+4>>2]>m>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-m>>>0>>0){break a}a=q[b+12>>2];f=a+ -1|0;q[b+12>>2]=f;if((a|0)<1){break a}}a=(c-d|0)+f|0;q[b+12>>2]=a;if((a|0)<1){break a}if((c|0)<(d|0)){f=e+m|0;a=(c<<2)+m|0;while(1){c=r[a+1|0]|r[a|0]<<8;l=(l|0)<(c|0)?c:l;h=(h|0)>(c|0)?c:h;a=a+4|0;if(a>>>0>>0){continue}break}}c=d;a=(h|0)<(k|0);if(a|(j|0)<=(l|0)){continue}break}o=1}return o}function HL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[a+4>>2];i=q[b+4>>2];e=e>>>0>>0?e:i;c=2;b:{if((e|0)<1){break b}c=(e|0)<8?e:8;i=(c|0)>1?c:1;c=0;while(1){e=d<<2;if(q[(e+b|0)+8>>2]&q[(a+e|0)+8>>2]){break a}d=d+1|0;if((i|0)!=(d|0)){continue}break}d=0;c:{while(1){c=d<<2;g=q[c+485808>>2];f=g&q[(a+c|0)+8>>2]|f;h=g&q[(b+c|0)+8>>2]|h;e=1;if(h?f:0){break c}d=d+1|0;if((i|0)!=(d|0)){continue}break}e=2}h=0;f=0;d=0;d:{while(1){g=d<<2;c=q[g+485840>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break d}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;e:{while(1){g=d<<2;c=q[g+485872>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break e}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;f:{while(1){g=d<<2;c=q[g+485904>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break f}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;g:{while(1){g=d<<2;c=q[g+485936>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break g}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;h:{while(1){g=d<<2;c=q[g+485968>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break h}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;i:{while(1){g=d<<2;c=q[g+486e3>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break i}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;j:{while(1){g=d<<2;c=q[g+486032>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break j}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;k:{while(1){g=d<<2;c=q[g+486064>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break k}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;while(1){g=d<<2;c=q[g+486096>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break b}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}d=q[a>>2];if(d){e=2;d=Ic(d);if(d){l:{while(1){f=Qb(d);if(!f){break l}f=ni(b,f);e=f>>>0>>0?f:e;if(e){continue}break}e=0}Zb(d)}c=e>>>0>>0?e:c}if(!c){c=0;break a}e=q[b>>2];if(!e){break a}b=2;e=Ic(e);if(e){m:{while(1){d=Qb(e);if(!d){break m}d=ni(a,d);b=d>>>0>>0?d:b;if(b){continue}break}b=0}Zb(e)}return b>>>0>>0?b:c}return c}function $w(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=q[a+4>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}c=q[a+4>>2];q[c+72>>2]=0;a:{if(!r[c+68|0]){break a}while(1){d=q[a>>2];l=(r[d+7|0]|r[d+6|0]<<8)+d|0;m=d+(r[d+5|0]|r[d+4|0]<<8)|0;j=q[c+76>>2];h=e>>>0>=j>>>0;i=0;b:{if(h){break b}g=q[q[c+88>>2]+w(e,20)>>2];i=2;if((g|0)==65535){break b}f=g;g=d+(r[d+3|0]|r[d+2|0]<<8)|0;f=f-(r[g|0]<<8|r[g+1|0])|0;i=1;if(f>>>0>=(r[g+3|0]|r[g+2|0]<<8)>>>0){break b}i=r[(f+g|0)+4|0]}f=i;d=r[d+1|0]|r[d|0]<<8;d=l+(r[m+((d>>>0>f>>>0?f:1)+w(d,k)|0)|0]<<3)|0;c:{if(!k){break c}f=q[(r[c+69|0]?80:72)+c>>2];if(h|!f){break c}h=r[d+3|0];g=r[d+2|0]<<8;if(!(r[d+1|0]|r[d|0]<<8|((r[d+5|0]|r[d+4|0]<<8)!=65535|(r[d+7|0]|r[d+6|0]<<8)!=65535?h|g&768:0))){if((g|h)==16384){break c}}Zc(c,f+ -1|0,e+1|0);c=q[a+4>>2];j=q[c+76>>2];e=q[c+72>>2]}h=e+2|0;d:{if(h>>>0>j>>>0){break d}f=q[a>>2];g=r[f+1|0]|r[f|0]<<8;f=(f+(r[f+7|0]|r[f+6|0]<<8)|0)+(r[f+(r[f+5|0]|r[f+4|0]<<8)+(!g+w(g,k))|0]<<3)|0;if(!(r[f+2|0]<<8&768|r[f+3|0])|((r[f+7|0]|r[f+6|0]<<8)==65535?(r[f+5|0]|r[f+4|0]<<8)==65535:0)){break d}rb(c,e,h)}Tm(b,a,d);e=q[a>>2];k=((r[d+1|0]|r[d|0]<<8)-(r[e+4|0]<<8|r[e+5|0])|0)/(r[e+1|0]|r[e|0]<<8)|0;c=q[a+4>>2];e=q[c+72>>2];if((e|0)!=q[c+76>>2]){e:{if(r[d+2|0]&64){d=q[c+40>>2];q[c+40>>2]=d+ -1;if((d|0)>0){break e}}if(r[c+69|0]){f=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=e;g=d;if(q[c+80>>2]==(d|0)){break f}}if(!Va(c,1,1)){break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;g=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=g;q[e+16>>2]=q[d+16>>2];g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;e=q[c+72>>2];g=q[c+80>>2]}q[f+80>>2]=g+1}q[c+72>>2]=e+1}c=q[a+4>>2];if(!r[c+68|0]){break a}e=q[c+72>>2];continue}break}if(!r[c+68|0]){break a}while(1){b=q[c+72>>2];if(b>>>0>=t[c+76>>2]){break a}g:{if(r[c+69|0]){h:{if(q[c+92>>2]==q[c+88>>2]){e=b;if((e|0)==q[c+80>>2]){break h}}if(!Va(c,1,1)){break g}b=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[b+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;d=e;q[d>>2]=q[b>>2];q[d+4>>2]=f;q[d+16>>2]=q[b+16>>2];d=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=d;b=q[c+72>>2];e=q[c+80>>2]}q[c+80>>2]=e+1}q[c+72>>2]=b+1}c=q[a+4>>2];if(r[c+68|0]){continue}break}}Kc(c)}function sM(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,r=0,s=0,t=0;m=Da-16|0;Da=m;e=q[c+44>>2]+ -1|0;f=q[c+40>>2]+ -40|0;if(f>>>0<4294967256){e=e+1|0}a:{if(!e&f>>>0>2147483607|e>>>0>0){break a}b:{c:{if(!q[160933]){while(1){e=Sa(28);g=q[160933];q[160933]=g?g:e;if(!g){break c}if(!q[160933]){continue}break}}break b}Ud()}d:{e:{g=q[160916];if(g){e=q[c>>2];while(1){if(!(q[g+24>>2]!=q[c+80>>2]|q[g+28>>2]!=q[c+84>>2]|(e|0)!=q[g+16>>2]|q[g+32>>2]!=q[c+64>>2])){if(q[g+36>>2]==q[c+68>>2]){break e}}g=q[g+40>>2];if(g){continue}break}}break d}q[g+4>>2]=q[g+4>>2]+1;g=q[g>>2];if(!g){break d}if(dr(a,g,d)){break a}hg(g)}if(!q[160934]){g=3;e=Kb(442111);f:{if(!e){break f}if(!Sg(e,m+12|0)){break f}g=q[m+12>>2]?1:2}e=q[160934];q[160934]=e?e:g}g=0;f=q[c+40>>2];e=Sa(f);if(!e){break a}b=Uh(b,e,f);if((b|0)!=q[c+40>>2]|q[c+44>>2]!=b>>31){La(e);break a}g:{h:{if(q[e>>2]!=-66913276|q[e+4>>2]<7|(b|0)!=q[e+8>>2]){break h}f=q[e+12>>2];if((f|0)<0|f>>>0>b+ -4>>>0){break h}if(!be(e+f|0,0,b-f|0)){break h}f=q[e+16>>2];if((f|0)<0|(b|0)<=(f|0)){break h}h=q[e+20>>2];if((h|0)<0|h>>>0>b-f>>>2>>>0){break h}l=b+e|0;f=e+f|0;if(!(!f|(h|0)<1)){k=(l-f|0)+ -4|0;while(1){i=q[f+(j<<2)>>2];if((i|0)<0|i>>>0>k>>>0){break h}i=f+i|0;if(!be(i,0,l-i|0)){break h}j=j+1|0;if((h|0)!=(j|0)){continue}break}}f=q[e+24>>2];if((f|0)<0|f>>>0>b+ -12>>>0){break h}i=e+f|0;i:{if(!i){break i}n=q[i>>2];if(n>>>0>l-i>>>4>>>0){break h}b=q[i+8>>2];if(!(b&1)){break h}if((n|0)<1){break i}r=l+ -32|0;s=l+ -12|0;t=i+(b&-2)|0;while(1){b=i+(q[(o<<2)+t>>2]&-2)|0;if(b>>>0>>0|s>>>0>>0){break h}f=q[b+8>>2];if((f|0)<0){break h}h=l-b|0;if((h|0)<(f|0)){break h}p=q[b>>2];if(q[b+12>>2]!=-1|p>>>0>h-f>>>3>>>0){break h}f=b+f|0;b=q[f+4>>2];if(b&1?0:b){break h}j:{if((p|0)<1){break j}k=0;while(1){h=f;b=b&1?(f+(k<<3)|0)+(b&-2)|0:b;k:{if(!b){break k}while(1){if(r>>>0>>0|h>>>0>b>>>0){break h}h=q[b>>2];j=h&1;l:{if(h){if(!j){break h}j=(h&-2)+b|0;break l}if(!j){break k}j=(h&-2)+b|0}h=b+1|0;b=j;if(b){continue}break}}k=k+1|0;if((p|0)==(k|0)){break j}b=q[(f+(k<<3)|0)+4>>2];continue}}o=o+1|0;if((o|0)!=(n|0)){continue}break}}if(!dr(a,e,d)){break h}if(cr(e,c)){break g}}La(e);break a}q[e>>2]=-66913275;g=e}Da=m+16|0;return g}function BM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-176|0;Da=b;if(!zc(a,b+168|0,8)){he(a,8,80)}if(!zc(a,b+168|0,7)){he(a,7,0)}if(!zc(a,b+168|0,9)){he(a,9,100)}if(!zc(a,b+168|0,17)){Pc(a,17,1)}if(!zc(a,b+168|0,18)){Pc(a,18,0)}if(!zc(a,b+168|0,19)){Pc(a,19,0)}if(!zc(a,b+168|0,20)){Pc(a,20,1)}if(!zc(a,b+168|0,39)){Pc(a,39,1)}if(!zc(a,b+168|0,40)){Pc(a,40,0)}if(!zc(a,b+168|0,48)){Pc(a,48,0)}if(!zc(a,b+168|0,50)){Pc(a,50,0)}if(Ok(a,10,b+104|0)){f=12;a:{if(YL(a,b+120|0)){break a}c=q[b+120>>2];d=0;b:{if(!c){break b}d=b+136|0;e=b+152|0;if(e){g=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=g}if(d){e=q[c+12>>2];q[d>>2]=q[c+8>>2];q[d+4>>2]=e}d=1}if(!d){break a}f=(v[b+152>>3]+v[b+136>>3])*.5}v[b+104>>3]=f}if(Ok(a,28,b+96|0)){q[b+96>>2]=0;q[b+100>>2]=1072693248}if(Ok(a,26,b+112|0)){q[b+112>>2]=0;q[b+116>>2]=1079164928}c:{if(!zc(a,b+168|0,12)){eg(a,28);ze(a,28,v[b+96>>3]);f=v[b+96>>3];h=v[b+104>>3];eg(a,26);ze(a,26,v[b+112>>3]);ze(a,12,h*f*(v[b+112>>3]/72));break c}UL(b+168|0,b+152|0);v[b+104>>3]=v[b+160>>3]/v[b+112>>3]*72/v[b+96>>3]}eg(a,10);ze(a,10,v[b+104>>3]);if(!zc(a,b+168|0,35)){he(a,35,2147483647)}if(!zc(a,b+168|0,16)){he(a,16,3)}if(!zc(a,b+168|0,42)){while(1){d:{c=q[160911];if(c){break d}c=eb(q[q[nr()+12>>2]>>2]);d=q[160911];q[160911]=d?d:c;if(!d){break d}La(c);continue}break}wc(a,42,c)}Og(a,42,b+136|0);q[b+128>>2]=439578;q[b+120>>2]=3;if(!zc(a,b+168|0,2)){c=q[b+148>>2];q[b+88>>2]=q[b+144>>2];q[b+92>>2]=c;c=q[b+140>>2];q[b+80>>2]=q[b+136>>2];q[b+84>>2]=c;Rk(a,2,b+80|0);c=q[b+132>>2];q[b+72>>2]=q[b+128>>2];q[b+76>>2]=c;c=q[b+124>>2];q[b+64>>2]=q[b+120>>2];q[b+68>>2]=c;Dc(a,2,b- -64|0,0)}if(!zc(a,b+168|0,4)){c=q[b+148>>2];q[b+56>>2]=q[b+144>>2];q[b+60>>2]=c;c=q[b+140>>2];q[b+48>>2]=q[b+136>>2];q[b+52>>2]=c;Rk(a,4,b+48|0);c=q[b+132>>2];q[b+40>>2]=q[b+128>>2];q[b+44>>2]=c;c=q[b+124>>2];q[b+32>>2]=q[b+120>>2];q[b+36>>2]=c;Dc(a,4,b+32|0,0)}if(!zc(a,b+168|0,6)){c=q[b+148>>2];q[b+24>>2]=q[b+144>>2];q[b+28>>2]=c;c=q[b+140>>2];q[b+16>>2]=q[b+136>>2];q[b+20>>2]=c;Rk(a,6,b+16|0);c=q[b+132>>2];q[b+8>>2]=q[b+128>>2];q[b+12>>2]=c;c=q[b+124>>2];q[b>>2]=q[b+120>>2];q[b+4>>2]=c;Dc(a,6,b,0)}e:{if((Og(a,44,b+152|0)|0)!=1){break e}c=mr();if(!c){break e}wc(a,44,c)}Da=b+176|0}function um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;m=w(b,c)+a|0;if(b>>>0>=10){p=0-c|0;while(1){i=a+c|0;j=w(b>>>1|0,c)+a|0;g=(n[d](i,j)|0)>0;e=g?i:j;k=w(b+ -1|0,c);h=k+a|0;f=h+p|0;if((n[d](e,f)|0)>=1){b=g?j:i;e=(n[d](b,f)|0)>0?b:f}if(!((e|0)==(h|0)|(c|0)<1)){g=c+e|0;b=h;while(1){f=r[e|0];o[e|0]=r[b|0];o[b|0]=f;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}j=h;f=h;g=a;i=g;a:{if((k|0)<1){f=h;j=f;break a}b:while(1){if(i>>>0>=f>>>0){break a}while(1){b=n[d](i,h)|0;if((b|0)>=1){c:{if(i>>>0>=f>>>0){break c}while(1){l=f;d:{e:{f=f+p|0;b=n[d](f,h)|0;if(!b){k=j+p|0;if((c|0)<1){break e}e=f;b=k;if(l>>>0>=j>>>0){break e}while(1){j=r[e|0];o[e|0]=r[b|0];o[b|0]=j;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break e}if((b|0)>-1){break d}if(!((c|0)<1|i>>>0>=f>>>0)){l=c+i|0;e=i;b=f;while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}i=c+i|0;break c}j=k}if(i>>>0>>0){continue}break}}if(i>>>0>>0){continue b}break a}if(!b){if(!((c|0)<1|g>>>0>=i>>>0)){l=c+g|0;e=g;b=i;while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}g=c+g|0}i=c+i|0;if(i>>>0>>0){continue}break}break}}b=g-a|0;k=f-g|0;f:{if(!b|!k){break f}if(b>>>0>k>>>0){if((k|0)<1){break f}h=a+k|0;e=a;while(1){b=r[e|0];o[e|0]=r[g|0];o[g|0]=b;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break f}if((b|0)<1){break f}e=a+k|0;b=a;while(1){h=r[b|0];o[b|0]=r[e|0];o[e|0]=h;e=e+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}h=j-f|0;g:{if(!h){break g}b=m-j|0;if(!b){break g}if(h>>>0>b>>>0){if((b|0)<1){break g}e=b+f|0;while(1){b=r[f|0];o[f|0]=r[j|0];o[j|0]=b;j=j+1|0;f=f+1|0;if(f>>>0>>0){continue}break}break g}if((h|0)<1){break g}e=b+f|0;while(1){b=r[f|0];o[f|0]=r[e|0];o[e|0]=b;e=e+1|0;f=f+1|0;if(f>>>0>>0){continue}break}}um(a,(k>>>0)/(c>>>0)|0,c,d);a=m-h|0;b=(h>>>0)/(c>>>0)|0;m=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){j=0-c|0;while(1){f=g;h:{if(f>>>0<=a>>>0){break h}while(1){h=f+j|0;if((n[d](h,f)|0)<1){break h}e=h;b=f;if((c|0)>=1){while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}f=h;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function Cn(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,t=0;g=Da-16|0;Da=g;t=g;a:{b:{c:{d:{e:{l=q[a+204>>2];f:{if(l>>>0<2){break f}h=a+8|0;k=q[a+172>>2];i=q[a+168>>2];o=q[a+20>>2];p=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=p;d=m;c=n;b=o;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;j=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|j<<24;q[a+8>>2]=d;j=40-c|0;c=e;if(j>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];j=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|j<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=k+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(k,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];k=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|k<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+192>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=o;q[a+16>>2]=p;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+220>>2]+1|0;break b}b=q[a+216>>2];break b}b=c+ -2|0}q[t+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+220>>2];q[a+220>>2]=b;q[a+216>>2]=c;c=q[a+576>>2]+(b<<6)|0;q[a+112>>2]=c;q[a+176>>2]=q[((b>>>3&536870908)+a|0)+592>>2]>>>(b&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[c|0]<<2)>>2];q[a+108>>2]=((r[q[a+580>>2]+b|0]&3)<<9)+153696;a=1}Da=g+16|0;return a}function Zw(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,p=0,s=0,u=0,v=0;d=q[b+4>>2];b=o[c+2|0];if((b|0)<=-1){b=q[a+24>>2];a:{if(!b){e=q[d+80>>2];b=0;break a}e=q[d+80>>2];g=b+ -1|0;h=q[(((g&63)<<2)+a|0)+28>>2];if((e|0)!=(h|0)){break a}q[a+24>>2]=g;b=g;e=h}q[a+24>>2]=b+1;q[(((b&63)<<2)+a|0)+28>>2]=e;b=r[c+2|0]}b=r[c+3|0]|b<<8&16128;b:{if(!b){break b}h=q[a+24>>2];if(!h|t[d+72>>2]>=t[d+76>>2]){break b}s=q[d+80>>2];c=b+q[a+8>>2]|0;b=q[a+12>>2];g=(c-b&-4)+b|0;while(1){c:{if(!h){q[a+24>>2]=0;break c}h=h+ -1|0;n=((h&63)<<2)+a|0;rd(d,q[n+28>>2]);c=q[a+4>>2];m=q[c+20>>2];if(m>>>0>g>>>0){break c}e=q[c+24>>2];if(e>>>0>>0|e-g>>>0<4){break c}i=q[c+28>>2];q[c+28>>2]=i+ -1;if((i|0)<1){break c}b=q[a+16>>2];u=b;p=q[a+8>>2];v=p-b|0;j=q[d+88>>2];b=q[d+72>>2];f=r[g|0];k=r[g+3|0]|(r[g+1|0]<<16|f<<24|r[g+2|0]<<8);f=u+(v+(q[j+w(b,20)>>2]+(f&32?k|1073741824:k&1073741823)<<1)>>>1<<1)|0;if(m>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -2;if((i|0)<2){break c}l=(r[f+1|0]|r[f|0]<<8)+l|0;if(k>>>0>=1073741824){f=q[a+20>>2];l=(l+p|0)-f>>>1|0;f=(l<<1)+f|0;if(m>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -3;if((i|0)<3){break c}e=r[f|0];i=r[f+1|0];d:{e:{if(q[d+92>>2]==(j|0)){c=b;if((c|0)==q[d+80>>2]){break e}}if(!Va(d,1,1)){break d}c=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[d+72>>2];c=q[d+80>>2];j=q[d+92>>2]}q[w(c,20)+j>>2]=i|e<<8;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;i=q[(((c&63)<<2)+a|0)+28>>2]+1|0;if(c>>>0>h>>>0){while(1){q[a+24>>2]=c;rd(d,q[(((c&63)<<2)+a|0)+28>>2]);e=q[d+92>>2];f:{g:{if((e|0)==q[d+88>>2]){b=q[d+80>>2];c=b;if((c|0)==q[d+72>>2]){break g}}if(!Va(d,1,1)){break f}c=q[d+88>>2]+w(q[d+72>>2],20)|0;e=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;b=q[d+72>>2];c=q[d+80>>2];e=q[d+92>>2]}q[w(c,20)+e>>2]=65535;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;if(c>>>0>h>>>0){continue}break}}rd(d,i);gf(d,q[n+28>>2],q[d+80>>2])}g=g+4|0;if((k|0)>-1){continue}}break}rd(d,s)}}function lx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);g=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g+((c>>>0>e>>>0?e:1)+w(c,h)<<1)|0;g=f+((r[c|0]<<8|r[c+1|0])<<3)|0;c:{if(!h){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]){break c}if(!((r[g+5|0]|r[g+4|0]<<8)!=65535|(r[g+7|0]|r[g+6|0]<<8)!=65535|(r[g+1|0]|r[g|0]<<8))){if((r[g+3|0]|r[g+2|0]<<8)==16384){break c}}Zc(f,d+ -1|0,c+1|0)}j=q[a+4>>2];k=q[j+72>>2];e=k+2|0;f=q[j+76>>2];d:{if(e>>>0>f>>>0){break d}i=q[a>>2];c=r[i+8|0]|r[i+9|0]<<8|(r[i+10|0]<<16|r[i+11|0]<<24);d=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+i|0;c=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,h)+!c<<1)|0;d=r[c|0];c=r[c+1|0];h=r[i+12|0]|r[i+13|0]<<8|(r[i+14|0]<<16|r[i+15|0]<<24);if(r[b+8|0]?0:(f|0)==(k|0)){break d}c=(i+(h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))|0)+((d<<8|c)<<3)|0;if((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+4|0]<<8|r[c+5|0])==65535:0){break d}rb(j,k,e)}hx(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}j=r[g|0];k=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;g=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];h=q[e+92>>2]+w(q[e+80>>2],20)|0;q[h>>2]=q[f>>2];q[h+4>>2]=d;q[h+16>>2]=q[f+16>>2];d=q[f+12>>2];q[h+8>>2]=q[f+8>>2];q[h+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[g+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}h=k|j<<8;c=q[d+72>>2];continue}}}function bp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0;j=Da-128|0;Da=j;a:{b:{c:{if(!tf(f,g,h,i,0,0,0,0)){break c}m=rG(f,g,h,i);u=e>>>16|0;p=u&32767;if((p|0)==32767){break c}if(m){break b}}Eb(j+16|0,b,c,d,e,f,g,h,i);e=q[j+16>>2];d=q[j+20>>2];c=q[j+24>>2];b=q[j+28>>2];Ih(j,e,d,c,b,e,d,c,b);d=q[j+8>>2];e=q[j+12>>2];h=q[j>>2];i=q[j+4>>2];break a}n=e&65535|p<<16;l=n;k=d;n=h;t=i>>>16&32767;r=i&65535|t<<16;if((tf(b,c,k,l,f,g,h,r)|0)<=0){if(tf(b,c,k,l,f,g,n,r)){h=b;i=c;break a}Eb(j+112|0,b,c,d,e,0,0,0,0);d=q[j+120>>2];e=q[j+124>>2];h=q[j+112>>2];i=q[j+116>>2];break a}if(p){i=c;h=b}else{Eb(j+96|0,b,c,k,l,0,0,0,1081540608);h=q[j+108>>2];l=h;k=q[j+104>>2];p=(h>>>16|0)+ -120|0;i=q[j+100>>2];h=q[j+96>>2]}if(!t){Eb(j+80|0,f,g,n,r,0,0,0,1081540608);f=q[j+92>>2];r=f;n=q[j+88>>2];t=(f>>>16|0)+ -120|0;g=q[j+84>>2];f=q[j+80>>2]}w=n;m=n;n=k-m|0;l=l&65535|65536;v=r&65535|65536;o=(g|0)==(i|0)&h>>>0>>0|i>>>0>>0;m=(l-(v+(k>>>0>>0)|0)|0)-(n>>>0>>0)|0;s=n-o|0;o=(m|0)>-1?1:(m|0)>=-1?s>>>0<=4294967295?0:1:0;n=h-f|0;r=i-((h>>>0>>0)+g|0)|0;if((p|0)>(t|0)){while(1){d:{if(o){if(!(n|s|(m|r))){Eb(j+32|0,b,c,d,e,0,0,0,0);d=q[j+40>>2];e=q[j+44>>2];h=q[j+32>>2];i=q[j+36>>2];break a}k=r>>>31|0;l=0;h=s;o=m<<1|h>>>31;h=h<<1;break d}m=l<<1|k>>>31;k=k<<1;l=m;n=h;r=i;o=0;h=i>>>31|0}k=h|k;i=k;h=w;s=i-h|0;l=l|o;m=l-((i>>>0>>0)+v|0)|0;h=n;o=r<<1|h>>>31;h=h<<1;i=o;o=(g|0)==(i|0)&h>>>0>>0|i>>>0>>0;m=m-(s>>>0>>0)|0;s=s-o|0;o=(m|0)>-1?1:(m|0)>=-1?s>>>0<=4294967295?0:1:0;n=h-f|0;r=i-((h>>>0>>0)+g|0)|0;p=p+ -1|0;if((p|0)>(t|0)){continue}break}p=t}e:{if(!o){break e}h=n;k=s;i=r;l=m;if(h|k|(i|l)){break e}Eb(j+48|0,b,c,d,e,0,0,0,0);d=q[j+56>>2];e=q[j+60>>2];h=q[j+48>>2];i=q[j+52>>2];break a}if((l|0)==65535&k>>>0<=4294967295|l>>>0<65535){while(1){d=i>>>31|0;b=0;p=p+ -1|0;m=i<<1|h>>>31;h=h<<1;i=m;o=l<<1|k>>>31;k=k<<1|d;b=b|o;l=b;if((b|0)==65536&k>>>0<0|b>>>0<65536){continue}break}}b=u&32768;if((p|0)<=0){Eb(j- -64|0,h,i,k,l&65535|(b|p+120)<<16,0,0,0,1065811968);d=q[j+72>>2];e=q[j+76>>2];h=q[j+64>>2];i=q[j+68>>2];break a}d=k;e=l&65535|(b|p)<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=d;q[a+12>>2]=e;Da=j+128|0}function Yp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=Da-2944|0;Da=f;a:{if(!c){break a}g=Wa(c);if(r[643741]&4){q[f+52>>2]=b;q[f+48>>2]=e?499052:499060;Ua(499027,f+48|0)}h=II();b:{if(!h){g=1;break b}q[f+108>>2]=0;q[f+80>>2]=0;q[f+84>>2]=0;q[f+1392>>2]=0;q[f+96>>2]=a;q[f+92>>2]=b;q[f+88>>2]=0;a=Op(b);q[f+2936>>2]=!e;q[f+104>>2]=h;q[f+100>>2]=a;if(a){q[a+16>>2]=e}i=f+80|0;a=h;c:{if(!a){break c}j=q[a>>2];q[a>>2]=i;if(q[a+4>>2]!=(j|0)){break c}q[a+4>>2]=i}if(a){q[a+88>>2]=977;q[a+84>>2]=976}if(a){q[a+56>>2]=979;q[a+52>>2]=978}if(a){q[h+60>>2]=980}d:{while(1){a=BI(h);if(!a){_a(f+80|0,2,499075,0);g=1;break d}i=a;a=g>>>0<1024?g:1024;Qa(i,c,a);if(!AI(h,a,!a)){a=f;c=(h?q[h+280>>2]:41)+ -1|0;e:{if(c>>>0<=40){c=q[(c<<2)+498520>>2];break e}c=0}q[a+32>>2]=c;_a(f+80|0,2,499099,f+32|0);g=1;break d}i=g+ -1024|0;g=i>>>0>g>>>0?0:i;c=a+c|0;if(a){continue}break}g=q[f+88>>2];f:{if(!e){break f}a=f- -64|0;c=q[q[f+100>>2]+20>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+20>>2]){a=q[a+4>>2]}else{a=0}if(a){Ve(q[q[f+96>>2]+20>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+20>>2],f- -64|0,q[f+100>>2])}a=f- -64|0;c=q[q[f+100>>2]+24>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+24>>2]){a=q[a+4>>2]}else{a=0}if(a){Ve(q[q[f+96>>2]+24>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+24>>2],f- -64|0,q[f+100>>2])}a=f- -64|0;c=q[q[f+100>>2]+28>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+28>>2]){a=q[a+4>>2]!=0}else{a=0}if(!a){break f}Ve(q[q[f+96>>2]+28>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+28>>2],f- -64|0,q[f+100>>2])}Ve(q[q[f+96>>2]+84>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+84>>2],f- -64|0,q[f+100>>2])}if(q[f+80>>2]){while(1){Vp(f+80|0);if(q[f+80>>2]){continue}break}}nk(q[f+100>>2]);q[f+100>>2]=0;hq(h)}if(!(!d|!g)){q[f+4>>2]=b;q[f>>2]=e?498825:498830;g=0;_a(0,2,499102,f);break a}g=1;if(!(r[643741]&4)){break a}q[f+20>>2]=b;q[f+16>>2]=e?499052:499060;Ua(499132,f+16|0)}Da=f+2944|0;return g}function vR(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0;k=Da-80|0;Da=k;e=bh(b,c);a:{if(e){break a}e=q[b+2740>>2];if(!(e&1)){e=Ks(b,q[d+52>>2],d+56|0,0);if(e){break a}e=q[b+2740>>2]}b:{if(e&2){break b}e=Ks(b,q[d+9568>>2],d+9572|0,1);if(e){break a}if(r[(q[q[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=q[b+1404>>2];if((a|0)<1){break b}e=q[b+1412>>2];x=e+w(a,44)|0;n=q[d+9560>>2];while(1){a=Ma(t[d+40>>2]/40|0,n);c:{if(!q[d+9776>>2]){break c}g=(a|0)<32?a:32;a=0;h=0;i=0;while(1){l=w(a,36)+d|0;f=q[l+9812>>2];d:{if(!(f&1)){break d}u=f>>>3&1;j=(f&6)!=0;if(j^q[b+1416>>2]!=o[e+13|0]?!u:0){break d}v=l+9780|0;m=p[e>>1]-q[v>>2]|0;f=m>>31;m=Ma(f^f+m,n);f=(m|0)<(g|0);g=f?m:g;h=f?v:h;i=f?u:i;if(!(o[e+12|0]&1)|(!m|u)){break d}f=p[e>>1];if((q[v>>2]>(f|0)|0)==(j|0)){break d}l=l+9792|0;j=f-q[l>>2]|0;f=j>>31;j=Ma(f^f+j,n);f=(j|0)<(g|0);g=f?j:g;h=f?l:h;i=f?0:i}a=a+1|0;if(a>>>0>2]){continue}break}if(!h){break c}q[e+20>>2]=h;if(!(i&255)){break c}o[e+12|0]=r[e+12|0]|8}e=e+44|0;if(e>>>0>>0){continue}break}}a=q[b+2740>>2];e:{if(!(q[d+24>>2]|a&8)){Ms(k+16|0,b,k+12|0,k+8|0);d=q[b+24>>2];if((d|0)<1){break e}a=q[b+28>>2];d=a+w(d,40)|0;e=q[k+8>>2];g=q[k+12>>2];while(1){y=a,z=Ma(p[a+12>>1],g)+e|0,q[y+16>>2]=z;a=a+40|0;if(a>>>0>>0){continue}break}break e}if(a&1){break e}Js(b,0);a=q[b+44>>2];if((a|0)>=1){e=q[b+52>>2];g=e+w(a,44)|0;while(1){a=q[e+12>>2];if(a){d=e+36|0;h=q[a+8>>2];i=q[e+40>>2];while(1){a=q[d>>2];q[a+16>>2]=h;p[a>>1]=s[a>>1]|4;d=a+32|0;if((a|0)!=(i|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}}Nl(b,0);Ml(b,0)}if(!(r[b+2740|0]&2)){Js(b,1);a=q[b+1392>>2];if((a|0)>=1){e=q[b+1400>>2];g=e+w(a,44)|0;while(1){a=q[e+12>>2];if(a){d=e+36|0;h=q[a+8>>2];i=q[e+40>>2];while(1){a=q[d>>2];q[a+20>>2]=h;p[a>>1]=s[a>>1]|8;d=a+32|0;if((a|0)!=(i|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}}Nl(b,1);Ml(b,1)}e=0;d=q[b+24>>2];if((d|0)<=0){break a}a=q[b+28>>2];b=a+w(d,40)|0;d=q[c+4>>2];g=q[c+8>>2];while(1){q[d>>2]=q[a+16>>2];q[d+4>>2]=q[a+20>>2];c=s[a>>1];o[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(a>>>0>>0){continue}break}}Da=k+80|0;return e|0}function Fl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;q[c+12>>2]=q[a>>2];d=q[a+8>>2];$b(c+12|0,d);b=q[c+12>>2];a:{if(b>>>0>=d>>>0){break a}e=r[b|0];g=e+ -40|0;b:{if(g>>>0>53){if((e|0)!=123){break b}f=ks(c+12|0,d);break a}c:{switch(g-1|0){case 50:case 52:q[c+12>>2]=b+1;break a;default:f=El(c+12|0,d);break a;case 19:if(!(r[b+1|0]!=60|b+1>>>0>=d>>>0)){q[c+12>>2]=b+2;break a}f=js(c+12|0,d);break a;case 21:e=b+1|0;q[c+12>>2]=e;f=3;if(r[e|0]!=62|e>>>0>=d>>>0){break a}q[c+12>>2]=b+2;f=0;break a;case 0:case 1:case 2:case 3:case 4:case 5: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 20: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 51:break b;case 6:break c}}b=b+1|0;q[c+12>>2]=b}if(b>>>0>=d>>>0){break a}d:{while(1){e:{e=r[b|0];if(e>>>0>125){break e}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break d}}b=b+1|0;if((d|0)!=(b|0)){continue}break}q[c+12>>2]=d;break a}q[c+12>>2]=b}b=q[c+12>>2];if(b>>>0>>0){f=(b|0)==q[a>>2]?3:f}e=a;if(b>>>0>d>>>0){q[c+12>>2]=d}else{d=b}q[e>>2]=d;q[a+12>>2]=f;Da=c+16|0}function Fs(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,s=0,t=0,u=0;if(!(r[a+16|0]&8)){e=w(c,204)+b|0;o=q[e+200>>2];g=q[e+204>>2]+Ma(q[a>>2],o)|0;f=Ma(q[a+4>>2],o);a:{b:{c:{d:{e:{if(c>>>0<=1){f:{if(!(c-1)){if(r[d+121|0]){break f}break b}if(!r[d+120|0]){break b}h=r[d+122|0]!=0;break e}p=r[d+123|0];q[a+12>>2]=f;s=q[a>>2];n=r[b+2492|0];e=2;h=q[b+412>>2];g:{h:{if(!h){break h}j=q[a+4>>2]+s|0;i=b+416|0;l=q[b+2488>>2];k=0-l|0;while(1){m=j-q[i+12>>2]|0;if((m|0)<(k|0)){break h}if((l+q[i+8>>2]|0)>=(j|0)){if(!n){h=0;if((m|0)>q[b+2484>>2]){break g}}t=q[i+16>>2];e=3;h=1;break g}i=i+32|0;h=h+ -1|0;if(h){continue}break}}h=0}j=q[b+928>>2];i:{if(!j){break i}l=q[b+2488>>2];k=0-l|0;i=((j<<5)+b|0)+932|0;while(1){m=q[i+ -24>>2]-s|0;if((m|0)<(k|0)){break i}if((q[i+ -20>>2]-l|0)>(s|0)){i=i+ -32|0;j=j+ -1|0;if(j){continue}break i}break}if((m|0)>=q[b+2484>>2]?!n:0){break i}u=q[i+ -16>>2];h=e}e=h+ -1|0;if(e>>>0>2){h=(p|0)!=0;break d}j:{switch(e-1|0){case 0:q[a+8>>2]=u;if(!p){break a}q[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 1:break j;default:break c}}q[a+8>>2]=u;q[a+12>>2]=t-u;break a}h=0}q[a+12>>2]=f}e=q[a+20>>2];if(e){if(!(r[e+16|0]&8)){Fs(e,b,c,d)}g=((q[e+8>>2]-(f>>1)|0)+(q[e+12>>2]>>1)|0)+Ma((q[a>>2]-(q[e>>2]+(q[e+4>>2]>>1)|0)|0)+(q[a+4>>2]>>1)|0,o)|0}q[a+12>>2]=f;q[a+8>>2]=g;n=a;e=f;k:{if(!r[d+124|0]){break k}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break k}b=g+32&-64;if((f|0)<1){g=b;e=f;break k}e=b-g|0;k=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(k^e+k)>(g^c+g)?d:b;e=f;break k}b=q[(w(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((b|0)<49){break k}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break k}b=f&-64;e=b|10;if(c>>>0<=31){break k}e=f;if(c>>>0>53){break k}e=b|54;break k}e=f+32&-64}b=e;q[n+12>>2]=b;c=g+32|0;e=((c+b&-64)-g|0)-b|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;q[a+8>>2]=c;if(!h){break a}d=(b|0)<64?64:b+32&-64;q[a+12>>2]=d;b=c;c=d>>1;b=b+c|0;q[a+8>>2]=(d&64?b&-64|32:b+32&-64)-c;break a}q[a+8>>2]=t-f;if(!p){break a}b=(f|0)<64?64:f+32&-64;q[a+12>>2]=b;q[a+8>>2]=t-b;break a}q[a+12>>2]=f;q[a+8>>2]=g}q[a+16>>2]=q[a+16>>2]|8}}function Sx(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;a:{e=$i(q[b+16>>2]+148|0);f=t[e+16>>2]<8?271312:q[e+12>>2];b:{if(r[f|0]<<8|r[f+1|0]){q[d+8>>2]=a;q[d+12>>2]=b;g=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=g;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(e);o[d+44|0]=0;q[d+52>>2]=b;e=q[g+32>>2];if((e|0)==-1){e=lc(g)}o[d+60|0]=1;q[d+56>>2]=e;e=q[b+12>>2];q[d+28>>2]=e;g=e;e=q[b+16>>2];q[d+32>>2]=g+e;if((e|0)<=-1){break a}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;c:{if(r[c+68|0]!=1){break c}q[d+68>>2]=0;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break c}c=f+8|0;b=0;while(1){e=c;f=d+8|0;if(t[a+104>>2]<=b>>>0){a=271312}else{a=q[a+108>>2]+(b<<2)|0}Rx(e,f,q[a>>2]);d:{if(r[q[d+20>>2]+68|0]!=1){break d}b=b+1|0;if((g|0)==(b|0)){break d}a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+c|0;a=q[d+8>>2];continue}break}b=q[d+52>>2]}Pa(b);break b}e=_i(q[b+16>>2]+152|0);f=t[e+16>>2]<8?271312:q[e+12>>2];if(!(r[f|0]<<8|r[f+1|0])){break b}q[d+8>>2]=a;q[d+12>>2]=b;g=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=g;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(e);o[d+44|0]=0;q[d+52>>2]=b;e=q[g+32>>2];if((e|0)==-1){e=lc(g)}o[d+60|0]=1;q[d+56>>2]=e;e=q[b+12>>2];q[d+28>>2]=e;g=e;e=q[b+16>>2];q[d+32>>2]=g+e;if((e|0)<=-1){break a}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;e:{if(r[c+68|0]!=1){break e}q[d+68>>2]=0;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break e}c=f+8|0;b=0;while(1){e=c;f=d+8|0;if(t[a+104>>2]<=b>>>0){a=271312}else{a=q[a+108>>2]+(b<<2)|0}Qx(e,f,q[a>>2]);f:{if(r[q[d+20>>2]+68|0]!=1){break f}b=b+1|0;if((g|0)==(b|0)){break f}a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+c|0;a=q[d+8>>2];continue}break}b=q[d+52>>2]}Pa(b)}Da=d+80|0;return}I(228416,228441,195,228458);F()}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,p=0;d=q[b+4>>2];b=o[c+2|0];if((b|0)<=-1){b=q[a+24>>2];a:{if(!b){e=q[d+80>>2];b=0;break a}e=q[d+80>>2];g=b+ -1|0;h=q[(((g&63)<<2)+a|0)+28>>2];if((e|0)!=(h|0)){break a}q[a+24>>2]=g;b=g;e=h}q[a+24>>2]=b+1;q[(((b&63)<<2)+a|0)+28>>2]=e;b=r[c+2|0]}b:{if(!(b&32)){break b}h=q[a+24>>2];if(!h|t[d+72>>2]>=t[d+76>>2]){break b}p=q[d+80>>2];g=q[a+12>>2]+(r[c+4|0]<<10|r[c+5|0]<<2)|0;while(1){c:{if(!h){q[a+24>>2]=0;break c}h=h+ -1|0;n=((h&63)<<2)+a|0;rd(d,q[n+28>>2]);c=q[a+4>>2];l=q[c+20>>2];if(l>>>0>g>>>0){break c}e=q[c+24>>2];if(e>>>0>>0|e-g>>>0<4){break c}i=q[c+28>>2];q[c+28>>2]=i+ -1;if((i|0)<1){break c}j=q[d+88>>2];b=q[d+72>>2];f=r[g|0];k=r[g+3|0]|(r[g+1|0]<<16|f<<24|r[g+2|0]<<8);f=q[j+w(b,20)>>2]+(f&32?k|-1073741824:k&1073741823)|0;f=(f|0)<0?271312:q[a+16>>2]+(f<<1)|0;if(l>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -2;if((i|0)<2){break c}m=(r[f+1|0]|r[f|0]<<8)+m|0;if(k>>>0>=1073741824){f=(m|0)<0?271312:q[a+20>>2]+(m<<1)|0;if(l>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -3;if((i|0)<3){break c}e=r[f|0];i=r[f+1|0];d:{e:{if(q[d+92>>2]==(j|0)){c=b;if((c|0)==q[d+80>>2]){break e}}if(!Va(d,1,1)){break d}c=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[d+72>>2];c=q[d+80>>2];j=q[d+92>>2]}q[w(c,20)+j>>2]=i|e<<8;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;i=q[(((c&63)<<2)+a|0)+28>>2]+1|0;if(c>>>0>h>>>0){while(1){q[a+24>>2]=c;rd(d,q[(((c&63)<<2)+a|0)+28>>2]);e=q[d+92>>2];f:{g:{if((e|0)==q[d+88>>2]){b=q[d+80>>2];c=b;if((c|0)==q[d+72>>2]){break g}}if(!Va(d,1,1)){break f}c=q[d+88>>2]+w(q[d+72>>2],20)|0;e=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;b=q[d+72>>2];c=q[d+80>>2];e=q[d+92>>2]}q[w(c,20)+e>>2]=65535;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;if(c>>>0>h>>>0){continue}break}}rd(d,i);gf(d,q[n+28>>2],q[d+80>>2])}g=g+4|0;if((k|0)>-1){continue}}break}rd(d,p)}}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break a}b:{c:{switch(h-1|0){default:c=q[b+32>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)>=2){break b}break a;case 1:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<6){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 3:q[i+12>>2]=a;c=vx(a+2|0,b,i+12|0);break a;case 5:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<4){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 7:if(f>>>0<6){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 0:case 2:case 4:case 6:case 8:break a;case 9:break c}}if(f>>>0<8){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>4){c=0;break a}c=w(c,r[a+7|0]|r[a+6|0]<<8);if((c|0)==-1){c=0;break a}if(!c){break b}a=a+8|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)<3){break a}}c=1}Da=i+16|0;return c}function Tw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break a}b:{c:{switch(h-1|0){default:c=q[b+32>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)>=2){break b}break a;case 1:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<8){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 3:q[i+12>>2]=a;c=Sw(a+2|0,b,i+12|0);break a;case 5:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<6){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 7:if(f>>>0<6){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 0:case 2:case 4:case 6:case 8:break a;case 9:break c}}if(f>>>0<8){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>4){c=0;break a}c=w(c,r[a+7|0]|r[a+6|0]<<8);if((c|0)==-1){c=0;break a}if(!c){break b}a=a+8|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)<3){break a}}c=1}Da=i+16|0;return c}function qR(a,b,c,d){a=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=Da-48|0;Da=e;a:{b:{c:{d:{e:{f:{if(!Ta(b,289380)){f=6;if(d){break a}c=q[c>>2];b=0;d=282296;while(1){if(q[d+16>>2]==10?(c|0)==q[d+8>>2]:0){break f}b=b+1|0;d=q[(b<<2)+284352>>2];if((b|0)!=86){continue}break}break a}if(!Ta(b,289396)){f=6;if(d){break a}q[a+16>>2]=q[c>>2];break c}if(!Ta(b,289411)){f=6;if(d){break a}b=q[c>>2];if(!b){f=35;break a}d=q[b+116>>2];q[e+16>>2]=d;if(!d){f=Ki(b,e+16|0,a);if(f){break a}d=q[e+16>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[d+20>>2]=q[c+4>>2];break c}if(!Ta(b,289429)){if(d){b=Sb(c,0,10);if(b>>>0>1){f=6;break a}if(b-1){o[a+20|0]=0;break a}o[a+20|0]=1;break c}o[a+20|0]=r[c|0];break c}g:{if(!Ta(b,289437)){if(d){b=Sb(c,e+12|0,10);q[e+16>>2]=b;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+20>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)){break b}if(r[c|0]==44){break g}break b}b=q[c>>2];break d}f=12;if(Ta(b,289458)){break a}if(d){f=0;l=a,m=(Sb(c,0,10)|0)!=0,o[l+21|0]=m;break a}o[a+21|0]=r[c|0];break c}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+24>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+28>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+32>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+36>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+40>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}d=c+1|0;l=e,m=Sb(d,e+12|0,10),q[l+44>>2]=m;f=q[e+12>>2];if((r[f|0]|32)==32){break e}break b}q[a+12>>2]=b;Da=e+48|0;return 0}c=e+16|0;if((d|0)!=(f|0)){break d}f=6;break a}f=6;d=q[c+8>>2];g=q[c+16>>2];if((d|0)>(g|0)|(b|0)>(d|0)){break a}h=q[c+28>>2];i=q[c+24>>2];j=q[c+20>>2];k=q[c+12>>2];c=q[c+4>>2];if((h|(i|(j|(k|(d|(c|b))|g))))<0|(h|0)>500|((j|0)>500|(k|0)>500)){break a}if((c|0)>500|(g|0)>(i|0)){break a}q[a+48>>2]=i;q[a+36>>2]=k;q[a+24>>2]=b;q[a+52>>2]=h;q[a+44>>2]=j;q[a+40>>2]=g;q[a+32>>2]=d;q[a+28>>2]=c}f=0;break a}f=6}Da=e+48|0;return f|0}function VF(a,b,c){a=a|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,o=0,s=0,t=0,u=0,v=0,w=0;d=Da-48|0;Da=d;a:{if(!a){g=20;break a}if(!b){g=6;break a}if(p[a>>1]<1){break a}h=q[b+20>>2];i=q[b+16>>2];b:{while(1){m=p[q[a+12>>2]+(o<<1)>>1];if((m|0)<0){g=20;break a}e=q[a+4>>2];f=e+(s<<3)|0;j=q[f+4>>2];k=(q[f>>2]<>2]=k;t=(j<>2]=t;l=e+(m<<3)|0;e=q[l>>2];w=q[l+4>>2];g=q[d+36>>2];q[d+40>>2]=q[d+32>>2];q[d+44>>2]=g;u=q[a+8>>2];j=u+s|0;v=r[j|0]&3;c:{if((v|0)==3){break c}g=20;d:{switch(v-1|0){case 1:break a;case 0:break c;default:break d}}g=(w<>2]=g;q[d+32>>2]=e;l=l+ -8|0;break e}q[d+36>>2]=(g+t|0)/2;q[d+32>>2]=(e+k|0)/2}j=j+ -1|0;f=f+ -8|0}e=n[q[b>>2]](d+32|0,c)|0;if(e){break b}f:{g:{if(f>>>0>>0){while(1){h:{i:{e=r[j+1|0]&3;if(e>>>0<=1){j=j+1|0;g=f+8|0;if(!(e-1)){q[d+24>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>2]](d+24|0,c)|0;if(g){break a}break h}q[d+40>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>>0>>0){while(1){f=r[j+1|0];e=(q[g+8>>2]<>2]=e;k=(q[g+12>>2]<>2]=k;j=j+1|0;g=g+8|0;j:{f=f&3;k:{if(f){if((f|0)!=1){k=7;e=0;break i}e=n[q[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;break h}q[d+16>>2]=(e+q[d+40>>2]|0)/2;q[d+20>>2]=(k+q[d+44>>2]|0)/2;e=n[q[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}k=10;break i}f=q[d+28>>2];q[d+40>>2]=q[d+24>>2];q[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=n[q[b+8>>2]](d+40|0,d+32|0,c)|0;break g}k=7;e=0;if((r[j+2|0]&3)!=2|f+16>>>0>l>>>0){break i}q[d+24>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>2]=(q[f+16>>2]<>2]=(q[f+20>>2]<>>0<=l>>>0){q[d+8>>2]=(q[f+24>>2]<>2]=(q[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){k=10;break i}j=j+3|0;f=g;break h}e=n[q[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!k){break f}g=20;if((k|0)==7){break a}break b}if(f>>>0>>0){continue}break}}e=n[q[b+4>>2]](d+32|0,c)|0}if(e){break b}s=m+1|0}o=o+1|0;if((o|0)>1]){continue}break}e=0}g=e}Da=d+48|0;return g|0}function yO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{if(!a){if(q[b>>2]){break c}a=q[b+8>>2];if(!a){break c}d=q[a+ -8>>2];if(!d){break b}b=a+ -4|0;c=q[b>>2];if(!c){break b}e=b;b=c+ -1|0;q[e>>2]=b;if(b){break c}e=a+ -32|0;b=q[e>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-d}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(e);return 1}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);d=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);o[a+40|0]=d;o[a+41|0]=d>>>8;o[a+42|0]=d>>>16;o[a+43|0]=d>>>24;o[a+44|0]=c;o[a+45|0]=c>>>8;o[a+46|0]=c>>>16;o[a+47|0]=c>>>24;c=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);d=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[a+32|0]=d;o[a+33|0]=d>>>8;o[a+34|0]=d>>>16;o[a+35|0]=d>>>24;o[a+36|0]=c;o[a+37|0]=c>>>8;o[a+38|0]=c>>>16;o[a+39|0]=c>>>24;c=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);d=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=d;o[a+25|0]=d>>>8;o[a+26|0]=d>>>16;o[a+27|0]=d>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;c=q[b>>2]+ -1|0;if(c>>>0>1){break c}if(c-1){e=a;a=eb(q[b+8>>2]);q[e+8>>2]=a;return(a|0)!=0|0}a=q[b+8>>2];if(!a){break c}if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return 1}I(355429,355403,453,355477);F()}I(355429,355403,444,355459);F()}function yk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=Da-16|0;Da=h;a:{b:{if((b|0)==(c|0)){q[d>>2]=0;break b}q[h+12>>2]=b;q[h+8>>2]=h+7;j=h+8|0;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;c:{i=(q[h+8>>2]==(h+7|0)?-1:o[h+7|0])+ -9|0;d:{if(i>>>0>23|!(1<>2]+b|0;q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;i=(q[h+8>>2]==(h+7|0)?-1:o[h+7|0])+ -9|0;if(i>>>0>23){break e}if(1<>2]=0;break b}q[d>>2]=b;f:{while(1){g:{q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;h:{i=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];k=i+1|0;if(k>>>0>33){if((i|0)!=61){break h}q[e>>2]=b;break f}i:{switch(k-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12: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:break h;case 9:case 10:case 13:case 32:break i;default:break d}}q[e>>2]=b;while(1){b=q[a+64>>2]+b|0;q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];i=e+ -9|0;if(i>>>0>23){break g}if(1<>2]+b|0;continue}break}if((e|0)!=61){break d}}if(q[d>>2]!=(b|0)){break c}}q[g>>2]=b;a=0;break a}d=q[a+64>>2]+b|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;b=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];while(1){j:{k:{e=b+ -9|0;if(e>>>0<=30){if(1<>2]=d;a=0;break a}d=q[a+64>>2]+d|0;q[f>>2]=d;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];if((e|0)!=(b|0)){while(1){if(!(e+ -48>>>0<10|(e&-33)+ -65>>>0<26|((e|0)==95|e+ -45>>>0<2))){q[g>>2]=d;a=0;break a}d=q[a+64>>2]+d|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];if((e|0)!=(b|0)){continue}break}}q[g>>2]=q[a+64>>2]+d;break b}d=q[a+64>>2]+d|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;b=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];continue}}a=1}Da=h+16|0;return a}function ax(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=q[a+4>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}c=q[a+4>>2];q[c+72>>2]=0;a:{if(!r[c+68|0]){break a}while(1){d=q[a>>2];l=(r[d+7|0]|r[d+6|0]<<8)+d|0;m=d+(r[d+5|0]|r[d+4|0]<<8)|0;j=q[c+76>>2];h=e>>>0>=j>>>0;i=0;b:{if(h){break b}g=q[q[c+88>>2]+w(e,20)>>2];i=2;if((g|0)==65535){break b}f=g;g=d+(r[d+3|0]|r[d+2|0]<<8)|0;f=f-(r[g|0]<<8|r[g+1|0])|0;i=1;if(f>>>0>=(r[g+3|0]|r[g+2|0]<<8)>>>0){break b}i=r[(f+g|0)+4|0]}f=i;d=r[d+1|0]|r[d|0]<<8;d=l+(r[m+((d>>>0>f>>>0?f:1)+w(d,k)|0)|0]<<2)|0;c:{if(!k){break c}f=q[(r[c+69|0]?80:72)+c>>2];if(h|!f){break c}h=r[d+3|0];g=r[d+2|0]<<8;if((g|h)==16384?!(h|g&16128|(r[d+1|0]|r[d|0]<<8)):0){break c}Zc(c,f+ -1|0,e+1|0);c=q[a+4>>2];j=q[c+76>>2];e=q[c+72>>2]}h=e+2|0;d:{if(h>>>0>j>>>0){break d}f=q[a>>2];g=r[f+1|0]|r[f|0]<<8;f=(f+(r[f+7|0]|r[f+6|0]<<8)|0)+(r[f+(r[f+5|0]|r[f+4|0]<<8)+(!g+w(g,k))|0]<<2)|0;if(!(r[f+2|0]<<8&16128|r[f+3|0])){break d}rb(c,e,h)}Zw(b,a,d);e=q[a>>2];k=((r[d+1|0]|r[d|0]<<8)-(r[e+4|0]<<8|r[e+5|0])|0)/(r[e+1|0]|r[e|0]<<8)|0;c=q[a+4>>2];e=q[c+72>>2];if((e|0)!=q[c+76>>2]){e:{if(r[d+2|0]&64){d=q[c+40>>2];q[c+40>>2]=d+ -1;if((d|0)>0){break e}}if(r[c+69|0]){f=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=e;g=d;if(q[c+80>>2]==(d|0)){break f}}if(!Va(c,1,1)){break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;g=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=g;q[e+16>>2]=q[d+16>>2];g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;e=q[c+72>>2];g=q[c+80>>2]}q[f+80>>2]=g+1}q[c+72>>2]=e+1}c=q[a+4>>2];if(!r[c+68|0]){break a}e=q[c+72>>2];continue}break}if(!r[c+68|0]){break a}while(1){b=q[c+72>>2];if(b>>>0>=t[c+76>>2]){break a}g:{if(r[c+69|0]){h:{if(q[c+92>>2]==q[c+88>>2]){e=b;if((e|0)==q[c+80>>2]){break h}}if(!Va(c,1,1)){break g}b=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[b+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;d=e;q[d>>2]=q[b>>2];q[d+4>>2]=f;q[d+16>>2]=q[b+16>>2];d=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=d;b=q[c+72>>2];e=q[c+80>>2]}q[c+80>>2]=e+1}q[c+72>>2]=b+1}c=q[a+4>>2];if(r[c+68|0]){continue}break}}Kc(c)}function oA(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,p=0,t=0,u=0;g=Da-16|0;Da=g;u=g;a:{b:{c:{d:{e:{l=q[a+212>>2];f:{if(l>>>0<2){break f}h=a+8|0;j=q[a+172>>2];i=q[a+168>>2]+5056|0;p=q[a+20>>2];t=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=t;d=m;c=n;b=p;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;k=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|k<<24;q[a+8>>2]=d;k=40-c|0;c=e;if(k>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){j=j+3168|0;l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];k=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|k<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=j+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(j,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];j=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|j<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+200>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=p;q[a+16>>2]=t;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+236>>2]+1|0;break b}b=q[a+232>>2];break b}b=c+ -2|0}q[u+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+236>>2];q[a+236>>2]=b;q[a+232>>2]=c;c=q[a+252>>2]+(b<<2)|0;q[a+116>>2]=c;o[a+260|0]=r[c+q[a+180>>2]|0];a=1}Da=g+16|0;return a}function xc(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,p=0,s=0,t=0,u=0;e=a;a:{b:{while(1){c:{d:{f=o[e|0];if(f+ -9>>>0<4|(f|0)==32){break d}f=f&255;if((f|0)==13){break d}f=f+ -43|0;if(f>>>0>2){break a}switch(f-1|0){case 0:break a;case 1:break c;default:break b}}e=e+1|0;continue}break}u=1;e=e+1|0;break a}e=e+1|0}h=-1;d=-1;while(1){e:{k=o[e|0];f:{if(k+ -48>>>0>=10){if((h|0)!=-1|(k|0)!=46){break e}h=c;break f}d=(d|0)==-1?(k|0)!=48?c:d:d}c=c+1|0;e=e+1|0;continue}break}g=(d|0)==-1?c:d;d=g-(h>>>0>>0)|0;f=c-((h|0)!=-1)|0;f=f-d>>>0>18?d+18|0:f;n=0;g:{if(!f){break g}l=k&255;a=(h|0)==-1?c:h;k=a>>>0>>0;t=a-f|0;m=f-a|0;c=(g-c|0)+e|0;f=f-d|0;h:{i:{if((f|0)>9){a=0;d=f;while(1){j=r[c|0];g=c+1|0;j:{if((j|0)!=46){break j}j=r[c+1|0];g=c+2|0}c=g;a=(w(a,10)+(j<<24>>24)|0)+ -48|0;g=(d|0)>10;d=d+ -1|0;if(g){continue}break}d=9;break i}a=0;h=0;d=f;if((d|0)<1){break h}}h=0;while(1){j=r[c|0];g=c+1|0;k:{if((j|0)!=46){break k}j=r[c+1|0];g=c+2|0}c=g;h=(w(h,10)+(j<<24>>24)|0)+ -48|0;g=(d|0)>1;d=d+ -1|0;if(g){continue}break}}c=k?m:t;p=+(a|0)*1e9+ +(h|0);l:{m:{n:{if((l|32)!=101){g=k;a=e;break n}d=e+1|0;g=0;a=r[e+1|0]+ -43|0;o:{if(a>>>0>2){break o}p:{switch(a-1|0){case 1:d=e+2|0;g=1;break o;case 0:break o;default:break p}}d=e+2|0}t=(g|0)!=(k|0);q:{if(!t){m=0;if(c>>>0>511){break q}m=((511-c&65535)>>>0)/10|0;break q}a=(c>>>0)/10|0;m=((((c-w(a,10)|0)+511&65535)>>>0)/10|0)+a|0}h=0;j=o[d|0];l=j+ -48|0;r:{if(l>>>0>9){a=d;break r}e=0;while(1){if(!(h?0:e>>>0<=m>>>0)){while(1){c=o[d+1|0];a=d+1|0;d=a;if(c+ -48>>>0<=9){continue}break m}}h=e>>>0>(47-j>>>0)/10>>>0;j=o[d+1|0];s=w(e,10)+l|0;e=s;a=d+1|0;d=a;l=j+ -48|0;if(l>>>0<10){continue}break}}if(t){if(!(h?0:c>>>0>s>>>0)){c=s-c|0;break n}c=c-s|0}else{c=c+s|0}g=k}if(c>>>0<512){break l}}c=511;if(p==0){break l}q[160942]=68}e=3872;if(!(!g|c>>>0<309)){i=1;if(f){d=3872;e=f;while(1){i=e&1?i*v[d>>3]:i;d=d+8|0;e=e>>>1|0;if(e){continue}break}}p=p/i;e=3952;g=0;c=c-f|0}i=1;if(c){while(1){i=c&1?i*v[e>>3]:i;e=e+8|0;c=c>>>1|0;if(c){continue}break}}n=p/i;if(g){break g}n=p*i}i=n;if(b){q[b>>2]=a}return u?-i:i}function mx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;h=f+((r[c|0]<<8|r[c+1|0])<<2)|0;c:{if(!j){break c}e=q[a+4>>2];f=q[(r[e+69|0]?80:72)+e>>2];if(!f){break c}d=q[e+72>>2];if(d>>>0>=t[e+76>>2]){break c}c=r[h+3|0];if((c|r[h+2|0]<<8)==16384?!(r[h+1|0]|r[h|0]<<8|(t[b+4>>2]>2]?c&15:0)):0){break c}Zc(e,f+ -1|0,d+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}g=q[a>>2];c=r[g+12|0]|r[g+13|0]<<8|(r[g+14|0]<<16|r[g+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+g|0;c=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);i=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;if(!(r[(k+(r[c|0]<<10|r[c+1|0]<<2)|0)+3|0]&15)|t[b+4>>2]>=t[b+8>>2]){break d}rb(e,f,d)}Um(b,a,h);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}g=r[h|0];j=r[h+1|0];e:{if(r[h+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];h=q[e+92>>2]+w(q[e+80>>2],20)|0;q[h>>2]=q[f>>2];q[h+4>>2]=d;q[h+16>>2]=q[f+16>>2];d=q[f+12>>2];q[h+8>>2]=q[f+8>>2];q[h+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|g<<8;c=q[d+72>>2];continue}}}function BX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==9){d=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=d;d=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=d;b:{c:{i=q[a+32>>2];d:{if(!i){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2];if((i|0)!=1){break c}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break b}h=v[d+8>>3]}k=v[d>>3];v[c+88>>3]=v[c+88>>3]+h;v[c+80>>3]=k+v[c+80>>3];d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;e:{f:{g:{if(i>>>0<=2){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}e=q[a+36>>2];d=e+16|0;if((i|0)!=3){break f}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break e}h=v[e+24>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;h:{if(i>>>0<=4){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[a+36>>2]+32>>3]}v[c+48>>3]=v[c+48>>3]+h;d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;i:{if(i>>>0<=5){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break i}h=v[q[a+36>>2]+40>>3]}v[c+32>>3]=v[c+32>>3]+h;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;j:{k:{l:{if(i>>>0<=6){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}e=q[a+36>>2];d=e+48|0;if((i|0)!=7){break k}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break j}h=v[e+56>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+h;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;m:{if(i>>>0<=8){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break m}h=v[q[a+36>>2]+64>>3]}v[c>>3]=v[c>>3]+h;d=q[a+140>>2];q[c+8>>2]=q[a+136>>2];q[c+12>>2]=d;pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}function kR(a,b,c){a=a|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,p=0,s=0,u=0,v=0,x=0,y=0,z=0;e=Da-16|0;Da=e;a:{if(q[a+4>>2]){break a}d=6;b:{if(q[a+12>>2]!=1){break b}l=(b|0)!=0;b=(w(l,36)+a|0)+16|0;d=q[c>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=q[c+4>>2];j=q[a>>2];d=_g(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e);if(d){break b}d=q[c+8>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=q[c+12>>2];d=_g(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e+4|0);if(d){break b}d=b;b=q[c+16>>2];f=(((b>>31)+b|0)+32768&-65536)>>16;b=q[c+20>>2];d=_g(d,f,(((b>>31)+b|0)+32768&-65536)>>16,j,e+8|0);if(d){break b}g=q[e+8>>2];h=q[e+4>>2];i=q[e>>2];f=w(l,36)+a|0;n=f;b=q[f+40>>2];c:{if(b){m=g>>3;p=h>>3;s=i>>3;u=128>>>(g&7)|0;v=128>>>(h&7)|0;x=128>>>(i&7)|0;c=q[f+48>>2];d=b;while(1){k=q[c>>2];if((r[q[c+8>>2]+s|0]&x?k>>>0>i>>>0:0)|(r[q[c+8>>2]+p|0]&v?k>>>0>h>>>0:0)|(r[q[c+8>>2]+m|0]&u?k>>>0>g>>>0:0)){break c}c=c+16|0;d=d+ -1|0;if(d){continue}break}}k=b+1|0;c=q[f+44>>2];d:{if(k>>>0<=c>>>0){c=q[(w(l,36)+a|0)+48>>2];break d}q[e+12>>2]=0;m=b+8&-8;d=w(l,36)+a|0;c=Oa(j,16,c,m,q[d+48>>2],e+12|0);q[d+48>>2]=c;d=q[e+12>>2];if(d){break b}q[f+44>>2]=m}c=(b<<4)+c|0;q[c+12>>2]=0;q[c>>2]=0;q[n+40>>2]=k}if((i|0)>=0){if(t[c>>2]<=i>>>0){b=q[c+4>>2];q[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;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=i+1}b=q[c+8>>2]+(i>>>3|0)|0;o[b|0]=r[b|0]|128>>>(i&7)}if((h|0)>=0){if(t[c>>2]<=h>>>0){b=q[c+4>>2];q[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;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=h+1}b=q[c+8>>2]+(h>>>3|0)|0;o[b|0]=r[b|0]|128>>>(h&7)}if((g|0)<0){break a}if(t[c>>2]<=g>>>0){b=q[c+4>>2];q[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=g+1}a=q[c+8>>2]+(g>>>3|0)|0;o[a|0]=r[a|0]|128>>>(g&7);break a}q[a+4>>2]=d}Da=e+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,o=0,p=0,t=0;g=Da-16|0;Da=g;t=g;a:{b:{c:{d:{e:{l=q[a+208>>2];f:{if(l>>>0<2){break f}h=a+8|0;j=q[a+172>>2];i=q[a+168>>2]+2528|0;o=q[a+20>>2];p=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=p;d=m;c=n;b=o;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;k=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|k<<24;q[a+8>>2]=d;k=40-c|0;c=e;if(k>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){j=j+1584|0;l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];k=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|k<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=j+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(j,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];j=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|j<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+196>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=o;q[a+16>>2]=p;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+228>>2]+1|0;break b}b=q[a+224>>2];break b}b=c+ -2|0}q[t+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+228>>2];q[a+228>>2]=b;q[a+224>>2]=c;q[a+104>>2]=q[q[a+136>>2]+(b<<2)>>2];a=1}Da=g+16|0;return a}function rn(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,r=0,u=0,v=0,w=0;d=Da-16|0;Da=d;c=q[a+104>>2];b=n[q[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}g=q[c+8>>2];k=q[d+4>>2];e=q[a+476>>2];b=Ib(c,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=151552){b=3;if((e|0)!=131072){break b}e=q[c+28>>2];h=ib(c,d+8|0);b=q[d+8>>2];if(b){break b}if(h>>>0>s[a+264>>1]){b=3;q[d+8>>2]=3;break b}b=0;l=Oa(e,2,0,h,0,d+8|0);if(q[d+8>>2]){break c}f=mb(c,h<<1);q[d+8>>2]=f;if(f){break c}if(!h){break f}while(1){v=l+(b<<1)|0,w=ob(c),p[v>>1]=w;b=b+1|0;if((h|0)!=(b|0)){continue}break}jb(c);f=0;b=0;while(1){i=s[l+(b<<1)>>1];if(i>>>0>=258){i=i+ -257|0;f=(i|0)>(f&65535)?i:f}b=b+1|0;if((h|0)!=(b|0)){continue}break}break d}h=q[c+28>>2];e=ib(c,d+12|0);b=q[d+12>>2];if(b){break b}if(!((e+ -1&65535)>>>0>1]?e>>>0<=258:0)){b=3;q[d+12>>2]=3;break b}b=0;f=Oa(h,1,0,e,0,d+12|0);g:{if(q[d+12>>2]){break g}c=Wb(c,f,e);q[d+12>>2]=c;if(c){break g}while(1){if(o[b+f|0]+b>>>0<=e>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}q[d+12>>2]=3}if(f){n[q[h+8>>2]](h,f)}b=q[d+12>>2];break b}jb(c);f=0;break d}q[a+640>>2]=f;p[a+636>>1]=e;b=0;break b}i=0;m=f&65535;b=Oa(e,4,0,m,0,d+8|0);if(q[d+8>>2]){break c}h:{i:{if(!m){break i}k=g+k|0;while(1){if(t[c+8>>2]>=k>>>0){g=f&65535;c=i&65535;if(g>>>0<=c>>>0){break i}while(1){i=Oa(e,1,0,1,0,d+8|0);q[(c<<2)+b>>2]=i;if(q[d+8>>2]){break h}o[i|0]=0;c=c+1|0;if((g|0)!=(c&65535)){continue}break}break i}g=Ob(c,d+8|0);if(q[d+8>>2]){break h}r=(i<<2)+b|0;u=r;j=e;g=g&255;if(!(t[c+8>>2]<=k-g>>>0?k>>>0>=g>>>0:0)){g=k-q[c+8>>2]|0;g=(g|0)>0?g:0}j=Oa(j,1,0,g+1|0,0,d+8|0);q[u>>2]=j;if(q[d+8>>2]){break h}j=Wb(c,j,g);q[d+8>>2]=j;if(j){break h}o[q[r>>2]+g|0]=0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}q[a+644>>2]=b;q[a+640>>2]=l;p[a+638>>1]=f;p[a+636>>1]=h;b=0;break b}f=((f&65535)>>>0>1?f:1)&65535;c=0;while(1){h=(c<<2)+b|0;g=q[h>>2];if(g){n[q[e+8>>2]](e,g)}q[h>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b){n[q[e+8>>2]](e,b)}if(l){n[q[e+8>>2]](e,l)}b=q[d+8>>2]}o[a+632|0]=1}Da=d+16|0;return b}function Mm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}b:{c:{if(c){while(1){a=r[g+5|0]|r[g+4|0]<<8;k=a?a+g|0:271312;a=r[k|0]<<8|r[k+1|0];if(a){i=(l<<2)+d|0;m=q[i>>2];a=a+ -1|0;b=0;while(1){j=a+b>>>1|0;h=w(j,6)+k|0;h=r[h+2|0]|r[h+3|0]<<8|(r[h+4|0]<<16|r[h+5|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);d:{if(h>>>0>m>>>0){a=j+ -1|0;break d}if((h|0)==(m|0)){break c}b=j+1|0}if((b|0)<=(a|0)){continue}break}}if(e){q[e>>2]=65535}l=l+1|0;if((l|0)!=(c|0)){continue}break}}e:{c=r[g+5|0]|r[g+4|0]<<8;h=c?g+c|0:271312;a=r[h|0]<<8|r[h+1|0];if(a){a=a+ -1|0;b=0;while(1){i=a+b>>>1|0;d=h+w(i,6)|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if(d>>>0>=1145457749){a=i+ -1|0;break f}if((d|0)==1145457748){break e}b=i+1|0}if((b|0)<=(a|0)){continue}break}}g:{if(e){q[e>>2]=65535;c=r[g+5|0]|r[g+4|0]<<8}h=c?c+g|0:271312;a=r[h|0]<<8|r[h+1|0];if(a){a=a+ -1|0;b=0;while(1){i=a+b>>>1|0;d=h+w(i,6)|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h:{if(d>>>0>=1684434037){a=i+ -1|0;break h}if((d|0)==1684434036){break g}b=i+1|0}if((b|0)<=(a|0)){continue}break}}i:{if(e){q[e>>2]=65535;c=r[g+5|0]|r[g+4|0]<<8}d=c?c+g|0:271312;a=r[d|0]<<8|r[d+1|0];if(a){a=a+ -1|0;b=0;while(1){g=a+b>>>1|0;c=d+w(g,6)|0;c=r[c+2|0]|r[c+3|0]<<8|(r[c+4|0]<<16|r[c+5|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);j:{if(c>>>0>=1818326127){a=g+ -1|0;break j}if((c|0)==1818326126){break i}b=g+1|0}if((b|0)<=(a|0)){continue}break}}if(e){q[e>>2]=65535}b=0;if(!f){break b}q[f>>2]=65535;return 0}if(e){q[e>>2]=g}b=0;if(!f){break b}q[f>>2]=1818326126;break b}if(e){q[e>>2]=i}b=0;if(!f){break b}q[f>>2]=1684434036;return 0}if(e){q[e>>2]=i}b=0;if(!f){break b}q[f>>2]=1145457748;return 0}if(e){q[e>>2]=j}b=1;if(!f){break b}q[f>>2]=q[i>>2];return 1}return b}function Fw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;g=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!j){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]|((r[g+3|0]|r[g+2|0]<<8)==16384?!(r[g+1|0]|r[g|0]<<8|(r[g+5|0]|r[g+4|0]<<8)!=65535):0)){break c}Zc(f,d+ -1|0,c+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}h=q[a>>2];c=r[h+12|0]|r[h+13|0]<<8|(r[h+14|0]<<16|r[h+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+h|0;c=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);i=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;c=k+w(r[c|0]<<8|r[c+1|0],6)|0;if((r[c+4|0]<<8|r[c+5|0])==65535){break d}rb(e,f,d)}yw(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}h=r[g|0];j=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];g=q[e+92>>2]+w(q[e+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=d;q[g+16>>2]=q[f+16>>2];d=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|h<<8;c=q[d+72>>2];continue}}}function Cw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;g=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!j){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]|((r[g+3|0]|r[g+2|0]<<8)==16384?!(r[g+1|0]|r[g|0]<<8|(r[g+5|0]|r[g+4|0]<<8)!=65535):0)){break c}Zc(f,d+ -1|0,c+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}h=q[a>>2];c=r[h+12|0]|r[h+13|0]<<8|(r[h+14|0]<<16|r[h+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+h|0;c=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);i=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;c=k+w(r[c|0]<<8|r[c+1|0],6)|0;if((r[c+4|0]<<8|r[c+5|0])==65535){break d}rb(e,f,d)}Aw(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}h=r[g|0];j=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];g=q[e+92>>2]+w(q[e+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=d;q[g+16>>2]=q[f+16>>2];d=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|h<<8;c=q[d+72>>2];continue}}}function qX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0;j=q[a+24>>2];if(j>>>0>=2){u=q[a+32>>2];h=q[67829];w=h;m=q[67828];f(0,m|0);f(1,h|0);x=+g();k=2;while(1){h=k;l=v[a+136>>3];c=v[a+128>>3];if(j>>>0<=i>>>0){o[a+20|0]=1}d=c;a:{if(u>>>0<=i>>>0){q[160744]=m;q[160745]=w;e=x;break a}e=v[q[a+36>>2]+(i<<3)>>3]}d=d+e;b:{if(r[b|0]){break b}o[b|0]=1;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break b}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=d;e=v[b+8>>3];c=d;if(!!(e>c)){v[b+8>>3]=d;e=d;c=v[a+128>>3]}n=v[b+24>>3];if(!!(c>n)){v[b+24>>3]=c;n=c}p=v[b+16>>3];c=v[a+136>>3];if(!!(p>c)){v[b+16>>3]=c;p=c;c=v[a+136>>3]}s=v[b+32>>3];if(!!(c>s)){v[b+32>>3]=c;s=c}i=i|1;if(j>>>0<=i>>>0){o[a+20|0]=1}c:{if(u>>>0<=i>>>0){q[160744]=m;q[160745]=w;c=x;break c}c=v[q[a+36>>2]+(i<<3)>>3]}c=l+c;d:{if(r[b|0]){break d}o[b|0]=1;l=e;e=v[a+128>>3];if(!!(l>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>n)){v[b+24>>3]=e}e=v[a+136>>3];if(!!(p>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>s)){break d}v[b+32>>3]=e}v[a+136>>3]=c;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}i=h;k=h+2|0;if(k>>>0<=j>>>0){continue}break}}e:{if(h>>>0>=j>>>0){break e}i=q[a+136>>2];k=q[a+140>>2];c=v[a+128>>3];d=c;f:{if(t[a+32>>2]<=h>>>0){h=q[67829];j=q[67828];q[160744]=j;q[160745]=h;f(0,j|0);f(1,h|0);e=+g();break f}e=v[q[a+36>>2]+(h<<3)>>3]}d=d+e;g:{if(r[b|0]){break g}o[b|0]=1;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}q[a+136>>2]=i;q[a+140>>2]=k;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break e}v[b+32>>3]=d}}function Ty(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;i=Da-48|0;Da=i;h=2;j=q[a+796>>2]+ -1|0;a:{if(j>>>0>2){break a}b:{if(j-2){if(!q[a+864>>2]){h=142;break a}j=q[q[a+804>>2]+(b<<2)>>2];b=q[a+104>>2];h=Xa(b,q[a+860>>2]);if(h){break a}q[i+4>>2]=b;q[i>>2]=a;b=q[a+84>>2];p[i+16>>1]=0;q[i+12>>2]=g;q[i+8>>2]=b+76;q[i+20>>2]=q[a+860>>2];q[i+24>>2]=q[a+864>>2];b=q[a+788>>2];q[i+36>>2]=b;e=q[a+792>>2];q[i+40>>2]=e+b;h=3;g=w(j,48);if((g|8)+47>>>0>e>>>0){break a}b=b+g|0;g=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);q[i+28>>2]=j;g=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);q[i+32>>2]=g;o[i+18|0]=r[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=sn(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a}b=q[q[a+804>>2]+(b<<2)>>2];d=0;p[g>>1]=0;p[g+2>>1]=0;if(t[a+16>>2]>>0){h=6;break a}b=q[a+788>>2]+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=q[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(f-b>>>0>>0){h=3;break a}h=Xa(e,q[a+860>>2]+(c+g|0)|0);if(h){break a}h=mb(e,8);if(h){break a}c=fc(e);f=fc(e);jb(e);if((c|0)==(f|0)){h=157;break a}if(f>>>0>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(q[a+864>>2]-b>>>0>>0){break a}h=Xa(e,q[a+860>>2]+(b+c|0)|0);if(h){break a}h=mb(e,j);if(h){break a}ob(e);ob(e);c=fc(e);if((c|0)!=1685418085){c:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break c}}h=2}jb(e);break a}if((d|0)==4){h=3;jb(e);break a}c=ob(e);jb(e);d=d+1|0;if(t[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(r[f+18|0]!=7){break a}b=q[q[a+84>>2]>>2];if(i){q[i>>2]=0;q[i+4>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0}h=LA(b,f,i);if(h){Ln(b,i);break a}o[f+18|0]=r[i+18|0];q[f+8>>2]=q[i+8>>2];p[f+16>>1]=s[i+16>>1];pk(q[a+84>>2],q[i+12>>2]);a=q[q[a+84>>2]+156>>2];q[a+4>>2]=q[a+4>>2]|1}Da=i+48|0;return h|0}function vC(a,b,c,d){a=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,u=0;e=Da-1552|0;Da=e;f=6;g=q[a+4>>2];a:{if(t[g+16>>2]<=c>>>0){break a}h=q[g+136>>2];q[a+164>>2]=q[b+16>>2];q[a+168>>2]=q[b+20>>2];d=d&1024?d|3:d;i=d&1;o[a+161|0]=i^1;f=!(d&3);o[a+160|0]=f;q[a+108>>2]=0;q[a+72>>2]=1869968492;f=n[q[q[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,193)|0;if(f){break a}j=d&1024;o[e+101|0]=j>>>10;f=ao(e+32|0,c);if(!f){k=r[a+161|0];l=r[a+160|0];c=e+1420|0;f=q[c+4>>2];q[e+24>>2]=q[c>>2];q[e+28>>2]=f;c=q[e+1416>>2];q[e+16>>2]=q[e+1412>>2];q[e+20>>2]=c;c=q[e+1432>>2];f=q[e+1428>>2];n[q[q[h+12>>2]+4>>2]](e+32|0);q[a+124>>2]=q[a+124>>2]&1|4;if(j){b=q[a+156>>2];d=q[e+64>>2];q[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=q[e+72>>2];q[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=q[e+28>>2];q[b+20>>2]=q[e+24>>2];q[b+24>>2]=a;a=q[e+20>>2];q[b+12>>2]=q[e+16>>2];q[b+16>>2]=a;q[b+32>>2]=c;q[b+28>>2]=f;o[b+8|0]=1;f=0;break a}h=q[e+72>>2];q[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=q[e+72>>2];q[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;o[q[a+156>>2]+8|0]=0;h=q[g+200>>2];g=q[g+208>>2];q[a+72>>2]=1869968492;g=g-h>>16;q[a+60>>2]=g;q[a+52>>2]=g;if(s[b+14>>1]<=23){q[a+124>>2]=q[a+124>>2]|256}g=a+108|0;b:{if(!(q[e+20>>2]|(q[e+16>>2]!=65536|q[e+28>>2]!=65536))){if(!q[e+24>>2]){break b}}ce(g,e+16|0);m=a,u=Ma(q[a+40>>2],q[e+16>>2]),q[m+40>>2]=u;m=a,u=Ma(q[a+52>>2],q[e+28>>2]),q[m+52>>2]=u}if(c|f){oc(g,f,c);q[a+40>>2]=f+q[a+40>>2];q[a+52>>2]=c+q[a+52>>2]}if(!(k?0:i)){c=q[a+168>>2];h=q[a+164>>2];b=q[e+48>>2];f=q[b+4>>2];c:{if(q[e+104>>2]?l:0){break c}b=p[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){m=f,u=Ma(q[f>>2],h),q[m>>2]=u;m=f,u=Ma(q[f+4>>2],c),q[m+4>>2]=u;f=f+8|0;i=(b|0)>1;b=b+ -1|0;if(i){continue}break}}m=a,u=Ma(q[a+40>>2],h),q[m+40>>2]=u;m=a,u=Ma(q[a+52>>2],c),q[m+52>>2]=u}Te(g,e);b=q[e>>2];q[a+24>>2]=q[e+8>>2]-b;c=q[e+4>>2];f=q[e+12>>2];q[a+36>>2]=f;q[a+32>>2]=b;q[a+28>>2]=f-c;if(d&16){Sf(a+24|0,q[a+52>>2])}f=0;break a}n[q[q[h+12>>2]+4>>2]](e+32|0)}Da=e+1552|0;return f|0}function os(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,u=0;q[a+168>>2]=f;n=a+168|0;q[a+48>>2]=n;h=q[a+64>>2];q[a+192>>2]=q[a+60>>2];q[a+196>>2]=h;q[a+188>>2]=c;q[a+184>>2]=b;q[a+180>>2]=e;q[a+176>>2]=d;q[a+172>>2]=g;g=n;while(1){j=q[g+20>>2];k=q[g+12>>2];c=(j|0)>(k|0);e=q[g+28>>2];h=q[g+4>>2];b=(e|0)<=(h|0);a:{if(!(((c?j:k)|0)<=((b?h:e)|0)?((c?k:j)|0)>=((b?e:h)|0):0)){b=q[g+24>>2];q[g+48>>2]=b;q[g+52>>2]=e;c=e+j|0;q[g+44>>2]=c>>1;d=h+k|0;q[g+12>>2]=d>>1;e=q[g+8>>2];i=e+f|0;q[g+8>>2]=i>>1;l=b;b=q[g+16>>2];m=l+b|0;q[g+40>>2]=m>>1;l=c;c=j+k|0;j=l+c|0;q[g+36>>2]=j>>2;c=c+d|0;q[g+20>>2]=c>>2;b=b+e|0;d=b+i|0;q[g+16>>2]=d>>2;b=b+m|0;q[g+32>>2]=b>>2;q[g+28>>2]=c+j>>3;q[g+24>>2]=b+d>>3;q[a+48>>2]=g+24;break a}if((e|0)==(h|0)){q[a+48>>2]=g+ -24;break a}l=b?1:2;b=q[a+92>>2];if((l|0)!=(b|0)){c=q[a+4>>2];i=c+ -1|0;u=(e|0)>(h|0);d=(i+e&0-c)-e|0;b:{if(!u){break b}d=e&i}m=q[a+8>>2];if(b){b=q[a+36>>2];i=q[a+80>>2];c=b-q[i+8>>2]|0;if((c|0)<=-1){q[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}q[i+16>>2]=c>>2;if((d|0)>=(m|0)){c=s[i+12>>1];p[i+12>>1]=(c&8?16:32)|c}q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c;q[b+8>>2]=c;q[b+16>>2]=0;q[i+28>>2]=b;p[a+76>>1]=s[a+76>>1]+1}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}o[a+79|0]=0}d:{if(q[a+84>>2]){c=q[a+36>>2];break d}b=q[a+36>>2];q[a+84>>2]=b;q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}b=q[a+80>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=c;q[b+28>>2]=0;q[b+4>>2]=0;c=r[a+164|0];p[b+12>>1]=c;e:{if(!u){p[b+12>>1]=c|8;if((d|0)<(m|0)){break e}p[b+12>>1]=c|40;break e}if((d|0)<(m|0)){break e}p[b+12>>1]=c|16}if(!q[a+88>>2]){q[a+88>>2]=b}p[a+78>>1]=1;q[a+92>>2]=l}b=q[a+72>>2];c=q[a+68>>2];if((e|0)<=(h|0)){if(!Ii(a,3,647,c,b)){break a}return 1}q[g+28>>2]=0-e;q[g+20>>2]=0-j;q[g+12>>2]=0-k;q[g+4>>2]=0-h;d=r[a+78|0];b=Ii(a,3,647,0-b|0,0-c|0);if(!(r[a+78|0]|!d)){c=q[a+80>>2];q[c+20>>2]=0-q[c+20>>2]}q[g+4>>2]=0-q[g+4>>2];if(!b){break a}return 1}g=q[a+48>>2];if(g>>>0>=n>>>0){f=q[g>>2];continue}break}q[a+64>>2]=h;q[a+60>>2]=f;return 0}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,p=0,s=0,t=0,u=0,v=0,x=0;g=Da-16|0;Da=g;q[g+8>>2]=0;s=q[q[a>>2]+28>>2];q[b>>2]=0;a:{b:{if(q[a+28>>2]){break b}q[g+12>>2]=0;c:{f=q[a+12>>2];if(f){m=r[a+16|0];p=q[a>>2];i=q[p+28>>2];e=f+1|0;v=a,x=Oa(i,4,0,e,0,g+12|0),q[v+28>>2]=x;if(q[g+12>>2]){break c}f=Xa(p,q[a+8>>2]+q[a+4>>2]|0);q[g+12>>2]=f;if(f){break c}j=w(e,m);f=mb(p,j);q[g+12>>2]=f;if(f){break c}e=q[p+32>>2];k=j+e|0;h=q[a+28>>2];f=m+ -1|0;d:{if(f>>>0<=2){e:{switch(f-1|0){case 1:if((j|0)<=0){break d}while(1){q[h>>2]=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);h=h+4|0;e=e+3|0;if(e>>>0>>0){continue}break}break d;case 0:if((j|0)<=0){break d}while(1){q[h>>2]=r[e+1|0]|r[e|0]<<8;h=h+4|0;e=e+2|0;if(e>>>0>>0){continue}break}break d;default:break e}}if((j|0)<=0){break d}while(1){q[h>>2]=r[e|0];h=h+4|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((j|0)<=0){break d}while(1){f=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);h=h+4|0;e=e+4|0;if(e>>>0>>0){continue}break}}jb(p);if(q[g+12>>2]){break c}}q[g+8>>2]=0;break b}f=q[a+28>>2];if(f){n[q[i+8>>2]](i,f)}q[a+28>>2]=0;f=q[g+12>>2];q[g+8>>2]=f;if(f){break a}}e=q[a+12>>2];if(!e){break a}f=q[a+24>>2];t=Oa(s,4,0,e+1|0,0,g+8|0);if(q[g+8>>2]){break a}p=e+f|0;f:{g:{if(c){u=gb(s,p,g+8|0);if(q[g+8>>2]){break a}s=q[a+32>>2];q[t>>2]=u;k=q[a+12>>2];if(!k){break g}l=1;h=0;e=0;while(1){f=l<<2;i=q[f+q[a+28>>2]>>2]+ -1|0;h:{if(i>>>0>>0){q[f+t>>2]=(e+u|0)+h;break h}j=f+t|0;f=q[a+24>>2];f=i>>>0>f>>>0?f:i;m=(f+u|0)+h|0;q[j>>2]=m;if((e|0)!=(f|0)){i=q[j+ -4>>2];Qa(i,e+s|0,m-i|0);o[q[j>>2]]=0;q[j>>2]=q[j>>2]+1;h=h+1|0;k=q[a+12>>2]}e=f}l=l+1|0;if(l>>>0<=k>>>0){continue}break}break g}s=q[a+32>>2];q[t>>2]=s;m=q[a+12>>2];if(m){l=1;e=0;while(1){i=l<<2;k=q[i+q[a+28>>2]>>2]+ -1|0;if(k>>>0>=e>>>0){f=q[a+24>>2];e=k>>>0>f>>>0?f:k}q[i+t>>2]=e+s;l=l+1|0;if(l>>>0<=m>>>0){continue}break}break g}q[b>>2]=t;break f}q[b>>2]=t;if(!c){break f}q[c>>2]=u}if(!d){break a}q[d>>2]=p}Da=g+16|0;return q[g+8>>2]}function iI(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=Da-32|0;Da=i;n=Ta(q[b+12>>2]+b|0,d);l=q[b+24>>2]+b|0;if(l){if(q[l>>2]>=1){while(1){f=0;h=0;a:{b:{c:{e=q[l+8>>2];d:{if(e&1){e=(q[((e&-2)+l|0)+(m<<2)>>2]&-2)+l|0;break d}e=q[e+(m<<2)>>2]}e:{if(Bd(e,21,0,i+28|0)){break e}j=0;g=q[i+28>>2];if(n){h=ue(g,47);q[i+20>>2]=0;q[i+16>>2]=h+1;g=_b(d,i+16|0);q[i+28>>2]=g;h=g}else{h=0}k=q[a+36>>2];if(q[k+4>>2]>0){while(1){if(Ye(q[q[k+12>>2]+(j<<2)>>2],g)){break e}j=j+1|0;if((j|0)>2]){continue}break}}j=0;k=q[a+40>>2];if(q[k+4>>2]<=0){break e}while(1){if(Ye(q[q[k+12>>2]+(j<<2)>>2],g)){break c}j=j+1|0;if((j|0)>2]){continue}break}}g=q[a+44>>2];if(q[g>>2]>0){while(1){if(lr(q[q[g+8>>2]+(f<<2)>>2],e)){break b}f=f+1|0;if((f|0)>2]){continue}break}}f=0;g=q[a+48>>2];if(q[g>>2]<=0){break b}while(1){if(lr(q[q[g+8>>2]+(f<<2)>>2],e)){break c}f=f+1|0;if((f|0)>2]){continue}break}break b}La(h);break a}if(h){e=dM(e,b,h);La(h)}o=((wi(q[a+52>>2],e)|0)!=0)+o|0}m=m+1|0;if((m|0)>2]){continue}break}}h=er(b);if(h){q[h+4>>2]=q[h+4>>2]+o}}f:{e=q[b+16>>2];if((e|0)==(0-b|0)|q[b+20>>2]<1){break f}h=0;if(!n){while(1){d=b+e|0;d=q[d+(h<<2)>>2]+d|0;f=0;e=q[a+36>>2];g:{h:{if(q[e+4>>2]>=1){while(1){if(Ye(q[q[e+12>>2]+(f<<2)>>2],d)){break h}f=f+1|0;if((f|0)>2]){continue}break}}f=0;e=q[a+40>>2];if(q[e+4>>2]<1){break h}while(1){if(Ye(q[q[e+12>>2]+(f<<2)>>2],d)){break g}f=f+1|0;if((f|0)>2]){continue}break}}li(c,d)}h=h+1|0;if((h|0)>=q[b+20>>2]){break f}e=q[b+16>>2];continue}}while(1){f=0;e=b+e|0;e=q[e+(h<<2)>>2]+e|0;g=ue(e,47);i:{if(!g){g=eb(e);break i}g=eb(g+1|0)}q[i+4>>2]=0;q[i>>2]=g;e=_b(d,i);La(g);g=q[a+36>>2];j:{k:{if(q[g+4>>2]>0){while(1){if(Ye(q[q[g+12>>2]+(f<<2)>>2],e)){break k}f=f+1|0;if((f|0)>2]){continue}break}}f=0;g=q[a+40>>2];if(q[g+4>>2]<=0){break k}while(1){if(Ye(q[q[g+12>>2]+(f<<2)>>2],e)){break j}f=f+1|0;if((f|0)>2]){continue}break}}li(c,e)}if(e){La(e)}h=h+1|0;if((h|0)>=q[b+20>>2]){break f}e=q[b+16>>2];continue}}Da=i+32|0}function sX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0;k=q[a+24>>2];if(k>>>0>=2){u=q[a+32>>2];e=q[67829];w=e;m=q[67828];f(0,m|0);f(1,e|0);i=+g();h=2;while(1){e=h;c=v[a+136>>3];d=v[a+128>>3];if(k>>>0<=l>>>0){o[a+20|0]=1}a:{if(u>>>0<=l>>>0){q[160744]=m;q[160745]=w;j=i;break a}j=v[q[a+36>>2]+(l<<3)>>3]}x=c+j;b:{if(r[b|0]){break b}o[b|0]=1;c=d;if(!!(v[b+8>>3]>c)){v[b+8>>3]=d;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break b}v[b+32>>3]=c}v[a+136>>3]=x;v[a+128>>3]=d;n=v[b+8>>3];c=d;if(!!(n>c)){v[b+8>>3]=d;n=d;c=v[a+128>>3]}j=v[b+24>>3];if(!!(c>j)){v[b+24>>3]=c;j=c}p=v[b+16>>3];c=v[a+136>>3];if(!!(p>c)){v[b+16>>3]=c;p=c;c=v[a+136>>3]}s=v[b+32>>3];if(!!(c>s)){v[b+32>>3]=c;s=c}h=l|1;if(k>>>0<=h>>>0){o[a+20|0]=1}c:{if(u>>>0<=h>>>0){q[160744]=m;q[160745]=w;c=i;break c}c=v[q[a+36>>2]+(h<<3)>>3]}d=d+c;d:{if(r[b|0]){break d}o[b|0]=1;c=v[a+128>>3];if(!!(n>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>j)){v[b+24>>3]=c}c=v[a+136>>3];if(!!(p>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>s)){break d}v[b+32>>3]=c}v[a+136>>3]=x;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}l=e;h=e+2|0;if(h>>>0<=k>>>0){continue}break}}e:{if(e>>>0>=k>>>0){break e}d=v[a+128>>3];c=v[a+136>>3];f:{if(t[a+32>>2]<=e>>>0){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);i=+g();break f}i=v[q[a+36>>2]+(e<<3)>>3]}i=c+i;g:{if(r[b|0]){break g}o[b|0]=1;c=d;if(!!(v[b+8>>3]>c)){v[b+8>>3]=d;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}v[a+136>>3]=i;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break e}v[b+32>>3]=d}}function Dy(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0;u=Da-16|0;Da=u;a:{b:{if(!q[c+88>>2]){q[c+100>>2]=q[d+100>>2];q[c+104>>2]=q[d+104>>2];f=q[d+80>>2];q[c+80>>2]=f;e=q[d+76>>2];o[c+94|0]=7;q[c+76>>2]=e;p[c+92>>1]=256;f=f<<2;q[c+84>>2]=f;f=w(e,f);e=_h(c,f);q[u+12>>2]=e;if(e){break a}Na(q[c+88>>2],0,f);break b}n=q[d+104>>2];j=n-q[d+76>>2]|0;i=q[c+104>>2];g=i-q[c+76>>2]|0;k=q[d+100>>2];l=k+q[d+80>>2]|0;e=q[c+100>>2];f=e+q[c+80>>2]|0;if(!((f|0)<(l|0)|(e|0)>(k|0)|(i|0)<(n|0))){if((g|0)<=(j|0)){break b}}i=(i|0)>(n|0)?i:n;g=i-((g|0)<(j|0)?g:j)|0;k=(e|0)<(k|0)?e:k;f=((f|0)>(l|0)?f:l)-k|0;j=f<<2;l=gb(q[a+100>>2],w(g,j),u+12|0);e=q[u+12>>2];if(e){break a}if(q[c+76>>2]){m=(l+w(j,i-q[c+104>>2]|0)|0)+(q[c+100>>2]-k<<2)|0;e=q[c+88>>2];while(1){m=Qa(m,e,q[c+80>>2]<<2)+j|0;e=q[c+84>>2]+e|0;h=h+1|0;if(h>>>0>2]){continue}break}}pk(c,l);q[c+100>>2]=k;q[c+104>>2]=i;q[c+80>>2]=f;q[c+84>>2]=j;q[c+76>>2]=g;f=q[c+156>>2];q[f+4>>2]=q[f+4>>2]|1;q[c+72>>2]=1651078259}c:{if((b|0)==65535){if(r[a+676|0]){h=r[a+680|0];f=r[a+679|0];e=r[a+677|0];b=r[a+678|0];break c}g=q[a+656>>2];if(g){h=255;f=255;e=255;b=255;if(r[g+(s[a+668>>1]<<1)|0]&2){break c}}f=0;h=255;e=0;b=0;break c}a=q[a+672>>2]+(b<<2)|0;h=r[a+3|0];f=r[a+2|0];e=r[a|0];b=r[a+1|0]}a=q[d+76>>2];if(a){g=q[c+84>>2];m=(q[c+88>>2]+w(g,q[c+104>>2]-q[d+104>>2]|0)|0)+(q[d+100>>2]-q[c+100>>2]<<2)|0;A=f&255;n=e&255;j=h&255;f=q[d+80>>2];y=q[d+88>>2];while(1){h=0;e=0;if(f){while(1){a=h<<2;i=(a|3)+m|0;k=r[i|0];l=(a|2)+m|0;g=r[l|0];e=(a|1)+m|0;f=r[e|0];a=a+m|0;v=(w(j,r[h+y|0])>>>0)/255|0;x=255-v|0;o[a|0]=((w(x,r[a|0])|0)/255|0)+(((w(n,v)&65535)>>>0)/255|0);o[e|0]=((w(f,x)|0)/255|0)+(((w(b,v)&65535)>>>0)/255|0);o[l|0]=((w(g,x)|0)/255|0)+(((w(v,A)&65535)>>>0)/255|0);o[i|0]=((w(k,x)|0)/255|0)+v;h=h+1|0;e=q[d+80>>2];if(h>>>0>>0){continue}break}g=q[c+84>>2];a=q[d+76>>2]}m=g+m|0;y=q[d+84>>2]+y|0;f=e;z=z+1|0;if(z>>>0>>0){continue}break}}e=0}Da=u+16|0;return e|0}function sV(a,b,c){var d=0,e=0,h=0,i=0,j=0;i=Da-32|0;Da=i;q[i+28>>2]=0;q[i+20>>2]=0;q[i+24>>2]=0;q[i+12>>2]=0;q[i+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{d=a+ -6|0;if(d>>>0>24){d=a+ -265|0;if(d>>>0>9){break j}d=1<>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=h;break g}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=h;break g}hh(b+20|0,b)}if(q[b+24>>2]){break a}break b}k:{if(r[b+48|0]==1){d=q[b+44>>2];break k}d=q[b+24>>2];l:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(d<<3)>>3];break l}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[b+44>>2]=d}o[b+48|0]=1;q[c+24>>2]=d;q[b+24>>2]=0;break b}e=c;d=q[b+24>>2];n:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+16>>2]=d;q[b+24>>2]=0;break b}d=q[b+24>>2];p:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){j=q[67829];d=j;e=q[67828];q[160744]=e;q[160745]=d;break p}d=q[b+36>>2]+(d<<3)|0;e=q[d>>2];d=q[d+4>>2];break p}o[b+20|0]=1;j=q[67829];d=j;e=q[67828];q[160744]=e;q[160745]=d}q[i+24>>2]=e;q[i+28>>2]=d;q[b+24>>2]=0;break b}q[b+24>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}gu(c,a,b,i+8|0)}Da=i+32|0}function kd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=q[a+8>>2];a:{b:{if(e+3>>>0>=t[a+4>>2]){break b}c:{d:{d=q[a+20>>2];e:{if(d){if((n[d](a,e,g+10|0,4)|0)!=4){break b}e=q[a+8>>2];d=g+10|0;break e}d=q[a>>2];if(!d){break d}d=d+e|0}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break c}h=0}f=e+4|0;q[a+8>>2]=f;d=2;if((b|0)!=(h|0)){break a}if(e+7>>>0>=t[a+4>>2]){break b}f:{g:{b=q[a+20>>2];if(!b){q[a+8>>2]=e+8;e=e+24|0;break g}if((n[b](a,f,g+10|0,4)|0)!=4){break b}f=q[a+8>>2];q[a+8>>2]=f+4;e=f+20|0;b=q[a+20>>2];if(!b){break g}d=85;if(n[b](a,e,0,0)){break a}b=q[a+4>>2];break f}b=q[a+4>>2];d=85;if(b>>>0>>0){break a}}q[a+8>>2]=e;if(f+21>>>0>=b>>>0){break b}h:{b=q[a+20>>2];if(b){if((n[b](a,e,g+14|0,2)|0)!=2){break b}e=q[a+8>>2];b=g+14|0;break h}b=q[a>>2];if(b){b=b+e|0;break h}q[a+8>>2]=f+22;d=2;break a}f=r[b|0]|r[b+1|0]<<8;b=e+2|0;q[a+8>>2]=b;i=(f<<8&16711680|f<<24)>>>16|0;d=2;if(!i){break a}if(e+5>>>0>=t[a+4>>2]){break b}e=0;while(1){i:{j:{k:{l:{d=q[a+20>>2];m:{if(d){if((n[d](a,b,g+10|0,4)|0)!=4){break b}b=q[a+8>>2];d=g+10|0;break m}d=q[a>>2];if(!d){break l}d=b+d|0}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=b+4|0;q[a+8>>2]=h;if((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))==2){f=q[a+4>>2];if(b+7>>>0>=f>>>0){break i}n:{o:{b=q[a+20>>2];p:{if(b){if((n[b](a,h,g+10|0,4)|0)!=4){break i}f=q[a+4>>2];h=q[a+8>>2];b=g+10|0;break p}b=q[a>>2];if(!b){break o}b=b+h|0}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break n}b=0}d=h+4|0;q[a+8>>2]=d;if(h+7>>>0>=f>>>0){break i}f=a;h=q[a+20>>2];if(h){if((n[h](a,d,g+10|0,4)|0)!=4){break i}d=q[a+8>>2]}q[f+8>>2]=d+4;q[c>>2]=b;d=0;break a}f=b+12|0;b=q[a+20>>2];if(!b){break k}if(!n[b](a,f,0,0)){break j}break b}q[a+8>>2]=b+4;f=b+12|0}if(t[a+4>>2]>>0){break b}}q[a+8>>2]=f}e=e+1|0;d=2;if((i|0)==(e|0)){break a}b=q[a+8>>2];if(b+3>>>0>2]){continue}break}}d=85}Da=g+16|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;b=Da-224|0;Da=b;f=Sa(40);q[f>>2]=0;h=q[a+508>>2];q[b+216>>2]=h;a:{b:{if(!q[b+216>>2]){break b}c=q[a+512>>2];if(c>>>0<4){break b}q[b+216>>2]=q[b+216>>2]+2;q[b+216>>2]=q[b+216>>2]+2;q[b+220>>2]=r[q[b+216>>2]+ -1|0]|r[q[b+216>>2]+ -2|0]<<8;if(!q[b+220>>2]){break b}g=4;j=c+h|0;while(1){if(q[b+216>>2]+8>>>0>j>>>0){break b}q[b+216>>2]=q[b+216>>2]+2;c=r[q[b+216>>2]+ -2|0];d=r[q[b+216>>2]+ -1|0];q[b+216>>2]=q[b+216>>2]+2;p[b+208>>1]=d|c<<8;c=r[q[b+216>>2]+ -2|0];d=r[q[b+216>>2]+ -1|0];q[b+216>>2]=q[b+216>>2]+4;q[b+200>>2]=a;q[b+204>>2]=0;p[b+210>>1]=d|c<<8;c=r[q[b+216>>2]+ -1|0]|(r[q[b+216>>2]+ -3|0]<<16|r[q[b+216>>2]+ -4|0]<<24|r[q[b+216>>2]+ -2|0]<<8);if(!(!c|c>>>0>q[a+512>>2]+ -2>>>0)){q[b+196>>2]=c+h;q[b+192>>2]=r[q[b+196>>2]+1|0]|r[q[b+196>>2]]<<8;q[b+188>>2]=162560;c:{if(!q[q[b+188>>2]>>2]){break c}d:{while(1){e:{q[b+184>>2]=q[q[b+188>>2]>>2];if(q[q[b+184>>2]+40>>2]==q[b+192>>2]){q[b+4>>2]=0;q[161261]=0;q[b+164>>2]=q[b+196>>2];q[b+168>>2]=j;q[b+172>>2]=0;q[b+176>>2]=0;c=q[161261];q[161261]=0;d=-1;if(!c){break d}e=q[161262];if(!e){break d}d=N(q[c>>2],f|0,g|0)|0;if(d){break e}break a}q[b+188>>2]=q[b+188>>2]+4;if(q[q[b+188>>2]>>2]){continue}break c}break}K(e|0)}c=M()|0;if((d|0)!=1){q[b+180>>2]=s[a+264>>1];f=V(b+8|0,1,f|0,g|0)|0;g=M()|0;c=0}while(1){if(!c){c=q[q[b+184>>2]+44>>2];q[161261]=0;i=$(c|0,q[b+196>>2],b+8|0)|0;c=q[161261];q[161261]=0;d=-1;f:{if(!c){break f}e=q[161262];if(!e){break f}d=N(q[c>>2],f|0,g|0)|0;if(!d){break a}K(e|0)}c=M()|0;if((d|0)==1){continue}q[b+4>>2]=i}if(q[b+176>>2]){break c}q[161261]=0;i=_(318,q[b+184>>2],q[b+196>>2],b+200|0,b|0)|0;c=q[161261];q[161261]=0;d=-1;g:{if(!c){break g}e=q[161262];if(!e){break g}d=N(q[c>>2],f|0,g|0)|0;if(!d){break a}K(e|0)}c=M()|0;if((d|0)==1){continue}break}if(i){break c}q[q[b>>2]+20>>2]=q[b+4>>2]}}q[b+220>>2]=q[b+220>>2]+ -1;if(q[b+220>>2]){continue}break}}La(f);Da=b+224|0;return}P(c|0,e|0);F()}function UJ(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}e=c-b|0;if(e&1){c=e&-2;if(!c){break a}c=b+c|0}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=r[b|0];f=e+ -216|0;if(f>>>0>39){if(e){break d}e=a+72|0;f=r[e+r[b+1|0]|0];if(f>>>0>10){break d}switch(f-2|0){case 3:break i;case 8:break j;case 7:break k;case 2:break l;case 0:case 1:break d;case 5:break g;case 4:break h;default:break e}}switch(f-4|0){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:break d;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}f=-1;e=b+2|0;if((c-e|0)<2){break b}if(r[e|0]|r[b+3|0]!=93){break c}if((c-(b+4|0)|0)<2){break b}if(r[b+4|0]|r[b+5|0]!=62){break c}q[d>>2]=b+6;return 40}f=-1;a=b+2|0;if((c-a|0)<2){break b}if(!r[a|0]){a=r[e+r[b+3|0]|0]==10?b+4|0:a}q[d>>2]=a;return 7}q[d>>2]=b+2;return 7}f=-2;if((c-b|0)<2){break b}e=b+2|0;break c}f=-2;if((c-b|0)<3){break b}e=b+3|0;break c}f=-2;if((c-b|0)<4){break b}e=b+4|0;break c}if(r[b+1|0]<=253){break d}}q[d>>2]=b;return 0}e=b+2|0}f=c-e|0;m:{if((f|0)<2){break m}h=a+72|0;while(1){b=2;n:{o:{p:{q:{a=r[e|0];g=a+ -216|0;if(g>>>0>39){if(a){break n}a=r[h+r[e+1|0]|0];if(a>>>0>10){break n}if((a|0)==6){break q}if((a|0)==7){break p}if(!(1<2){break n}break m}b=4;if((f|0)>3){break n}break m}if(r[e+1|0]>253){break m}}e=b+e|0;f=c-e|0;if((f|0)>1){continue}break}}q[d>>2]=e;f=6}return f|0}return-1}function mK(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}e=c-b|0;if(e&1){c=e&-2;if(!c){break a}c=b+c|0}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=r[b+1|0];f=e+ -216|0;if(f>>>0>39){if(e){break d}e=a+72|0;f=r[e+r[b|0]|0];if(f>>>0>10){break d}switch(f-2|0){case 3:break i;case 8:break j;case 7:break k;case 2:break l;case 0:case 1:break d;case 5:break g;case 4:break h;default:break e}}switch(f-4|0){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:break d;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}f=-1;e=b+2|0;if((c-e|0)<2){break b}if(r[b+3|0]|r[e|0]!=93){break c}if((c-(b+4|0)|0)<2){break b}if(r[b+5|0]|r[b+4|0]!=62){break c}q[d>>2]=b+6;return 40}f=-1;a=b+2|0;if((c-a|0)<2){break b}if(!r[b+3|0]){a=r[e+r[b+2|0]|0]==10?b+4|0:a}q[d>>2]=a;return 7}q[d>>2]=b+2;return 7}f=-2;if((c-b|0)<2){break b}e=b+2|0;break c}f=-2;if((c-b|0)<3){break b}e=b+3|0;break c}f=-2;if((c-b|0)<4){break b}e=b+4|0;break c}if(r[b|0]<=253){break d}}q[d>>2]=b;return 0}e=b+2|0}f=c-e|0;m:{if((f|0)<2){break m}h=a+72|0;while(1){b=2;n:{o:{p:{q:{a=r[e+1|0];g=a+ -216|0;if(g>>>0>39){if(a){break n}a=r[h+r[e|0]|0];if(a>>>0>10){break n}if((a|0)==6){break q}if((a|0)==7){break p}if(!(1<2){break n}break m}b=4;if((f|0)>3){break n}break m}if(r[e|0]>253){break m}}e=b+e|0;f=c-e|0;if((f|0)>1){continue}break}}q[d>>2]=e;f=6}return f|0}return-1}function IC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=q[a+16>>2];if(t[a+20>>2]>=g+12>>>0){h=q[a+32>>2];e=h;a:{b:{c=q[g>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break b}b=sc(a,c,0,0)>>16;break a}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break a}f=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break a}b=(r[c+2|0]|r[f|0]<<8)<<16>>16;break a}b=0;if(t[a+8>>2]<=c+4>>>0){break a}c=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a}b=d+ -139|0;if(d>>>0<=246){break a}c=q[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=f>>>0){break a}b=(r[f|0]|d<<8)+ -63124|0;break a}b=0;if(c>>>0<=f>>>0){break a}b=64148-(r[f|0]|d<<8)|0}q[e+132>>2]=b;e=h;c:{d:{b=q[g+4>>2];f=r[b|0];if((f|0)!=255){if((f|0)!=30){break d}d=sc(a,b,0,0)>>16;break c}d=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break c}c=b+1|0;d=f+ -28|0;if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=b+2>>>0){break c}d=(r[b+2|0]|r[c|0]<<8)<<16>>16;break c}d=0;if(t[a+8>>2]<=b+4>>>0){break c}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c}d=f+ -139|0;if(f>>>0<=246){break c}b=q[a+8>>2];if(f>>>0<=250){d=0;if(b>>>0<=c>>>0){break c}d=(r[c|0]|f<<8)+ -63124|0;break c}d=0;if(b>>>0<=c>>>0){break c}d=64148-(r[c|0]|f<<8)|0}q[e+136>>2]=d;e:{f:{c=q[g+8>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break f}e=sc(a,c,0,0)>>16;break e}e=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break e}f=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){e=0;if(t[a+8>>2]<=c+2>>>0){break e}e=(r[c+2|0]|r[f|0]<<8)<<16>>16;break e}e=0;if(t[a+8>>2]<=c+4>>>0){break e}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e}e=d+ -139|0;if(d>>>0<=246){break e}a=q[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break e}e=(r[f|0]|d<<8)+ -63124|0;break e}e=0;if(a>>>0<=f>>>0){break e}e=64148-(r[f|0]|d<<8)|0}q[h+140>>2]=e;a=0}else{a=161}return a|0}function xw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);f=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+a|0;e=q[d+48>>2];a:{if(o[a+15|0]&1){g=Om(f,b,e);b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);b=Om((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);c=g+b|0;if(c>>>0>>0|c>>>0>1073741822){break a}h=q[d+20>>2];b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);b=((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0)+(c<<2)|0;if(h>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<4){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}g=a;a=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);a=f+(g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(h>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;return(a<<24|a<<8&16711680)>>16}f=Nm(f,b,e);b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);c=Nm((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);h=q[d+20>>2];b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);b=((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0)+(c+f<<1)|0;if(h>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<2){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}b=r[b|0]|r[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}g=a;a=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);a=f+(g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(h>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;i=(a<<24|a<<8&16711680)>>16}return i}function du(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=b<<1;k=f+a|0;if(b>>>0>9){while(1){h=a+2|0;i=(b&-2)+a|0;d=(pg(h,i,c)|0)>0;b=d?h:i;e=f+ -2|0;g=e+a|0;f=g+ -2|0;if((pg(b,f,c)|0)>=1){b=d?i:h;b=(pg(b,f,c)|0)>0?b:f}if((b|0)!=(g|0)){f=r[b|0];o[b|0]=r[g|0];o[g|0]=f;f=r[b+1|0];o[b+1|0]=r[g+1|0];o[g+1|0]=f}f=g;d=f;h=a;b=h;a:{if((e|0)<1){d=g;f=d;break a}b:while(1){if(b>>>0>=d>>>0){break a}while(1){e=pg(b,g,c);if((e|0)>=1){c:{if(b>>>0>=d>>>0){break c}while(1){i=d;d:{d=d+ -2|0;e=pg(d,g,c);if(!e){e=f+ -2|0;if(i>>>0>>0){j=r[d|0];o[d|0]=r[e|0];o[e|0]=j;j=i+ -1|0;i=r[j|0];f=f+ -1|0;o[j|0]=r[f|0];o[f|0]=i}f=e;break d}if((e|0)>-1){break d}if(b>>>0>>0){e=r[b|0];o[b|0]=r[d|0];o[d|0]=e;j=r[b+1|0];e=i+ -1|0;o[b+1|0]=r[e|0];o[e|0]=j}b=b+2|0;break c}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue b}break a}if(!e){if(h>>>0>>0){e=r[h|0];o[h|0]=r[b|0];o[b|0]=e;e=r[h+1|0];o[h+1|0]=r[b+1|0];o[b+1|0]=e}h=h+2|0}b=b+2|0;if(b>>>0>>0){continue}break}break}}b=h-a|0;i=d-h|0;e:{if(!b|!i){break e}if(b>>>0>i>>>0){if((i|0)<1){break e}e=a+i|0;b=a;while(1){g=r[b|0];o[b|0]=r[h|0];o[h|0]=g;h=h+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break e}if((b|0)<1){break e}b=a+i|0;g=a;while(1){e=r[g|0];o[g|0]=r[b|0];o[b|0]=e;b=b+1|0;g=g+1|0;if(g>>>0>>0){continue}break}}e=f-d|0;f:{if(!e){break f}b=k-f|0;if(!b){break f}if(e>>>0>b>>>0){if((b|0)<1){break f}g=b+d|0;while(1){b=r[d|0];o[d|0]=r[f|0];o[f|0]=b;f=f+1|0;d=d+1|0;if(d>>>0>>0){continue}break}break f}if((e|0)<1){break f}b=b+d|0;while(1){g=r[d|0];o[d|0]=r[b|0];o[b|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}du(a,i>>>1|0,c);a=k-e|0;f=e&-2;k=a+f|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}f=a+2|0;if(f>>>0>>0){while(1){b=f;g:{if(b>>>0<=a>>>0){break g}while(1){g=b+ -2|0;if((pg(g,b,c)|0)<1){break g}d=r[g|0];o[g|0]=r[b|0];o[b|0]=d;e=b+ -1|0;d=r[e|0];o[e|0]=r[b+1|0];o[b+1|0]=d;b=g;if(b>>>0>a>>>0){continue}break}}f=f+2|0;if(f>>>0>>0){continue}break}}}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;h=1;a:{if(r[a+12|0]!=1){break a}h=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}q[a+16>>2]=-1;g=ac(a,b);j=c>>>9|0;k=b>>>9|0;b:{if((j|0)==(k|0)){if(!g){break a}d=b>>>6&7;a=g+(d<<3)|0;h=c>>>6&7;if((h|0)==(d|0)){h=q[a+4>>2];d=a;f=a;g=q[a>>2];c=c&63;a=c&31;if(32<=(c&63)>>>0){e=2<>>32-a;a=2<>>0){b=1<>>32-c;c=1<>2]=g|i-c;q[d+4>>2]=e-(b+(a>>>0>>0)|0)|h;break b}f=q[a+4>>2];e=b&63;b=e&31;d=a;i=a;if(32<=(e&63)>>>0){e=-1<>>32-b|-1<>2]=b|q[a>>2];q[d+4>>2]=e|f;b=a+8|0;a=g+(h<<3)|0;Na(b,255,a-b|0);e=q[a+4>>2];b=a;f=b;c=c&63;a=c&31;if(32<=(c&63)>>>0){c=2<>>32-a;a=2<>2]=d|q[b>>2];q[b+4>>2]=(d>>>0<4294967295?a+1|0:a)|e;break b}if(!g){break a}l=b>>>6&7;f=g+(l<<3)|0;d=f;m=q[d+4>>2];b=b&63;e=b&31;i=d;if(32<=(b&63)>>>0){b=-1<>>32-e|-1<>2]=e|q[f>>2];q[d+4>>2]=b|m;if((l|0)!=7){b=f+8|0;Na(b,255,(g+56|0)-b|0);q[g+56>>2]=-1;q[g+60>>2]=-1}d=k+1|0;if(d>>>0>>0){while(1){b=ac(a,d<<9);if(!b){break a}q[b>>2]=-1;q[b+4>>2]=-1;q[b+56>>2]=-1;q[b+60>>2]=-1;q[b+48>>2]=-1;q[b+52>>2]=-1;q[b+40>>2]=-1;q[b+44>>2]=-1;q[b+32>>2]=-1;q[b+36>>2]=-1;q[b+24>>2]=-1;q[b+28>>2]=-1;q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=-1;q[b+12>>2]=-1;d=d+1|0;if((j|0)!=(d|0)){continue}break}}a=ac(a,c);if(!a){break a}b=c>>>6&7;if(!b){d=q[a+4>>2];b=a;f=b;a=c&63;c=a&31;if(32<=(a&63)>>>0){a=2<>>32-c;c=2<>2]=c|q[b>>2];q[b+4>>2]=(c>>>0<4294967295?a+1|0:a)|d;break b}q[a>>2]=-1;q[a+4>>2]=-1;b=b<<3;Na(a+8|0,255,b+ -8|0);b=a+b|0;a=b;d=q[b+4>>2];f=b;i=q[b>>2];c=c&63;b=c&31;if(32<=(c&63)>>>0){c=2<>>32-b;b=2<>2]=i|b;q[a+4>>2]=(b>>>0<4294967295?e+1|0:e)|d}h=1}return h}function En(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=q[a+204>>2];if(j>>>0>=2){g=q[a+172>>2];f=q[a+168>>2];e=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=e>>>16|0;q[a+8>>2]=d;c=q[a+16>>2];e=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;e=d|e<<16;q[a+8>>2]=e}d=a;i=e>>>b|0;f=f+((i&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&i>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[d+12>>2]=b;i=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=e>>>16|0;q[a+8>>2]=d;c=q[a+16>>2];e=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;e=d|e<<16;q[a+8>>2]=e}d=a;h=e>>>b|0;f=g+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[d+12>>2]=b;d=s[f+2>>1];c=d<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=e>>>16|0;q[a+8>>2]=e;d=q[a+16>>2];g=r[d|0]|r[d+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=d+2;e=e|g<<16;q[a+8>>2]=e}q[a+12>>2]=b+f;d=q[(f<<2)+153552>>2]&e>>>b;break a}b:{c:{if(b>>>0<=15){d=b+16|0;q[a+12>>2]=d;h=e>>>b&65535;c=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;e=e>>>16|0;q[a+8>>2]=e;d=q[a+16>>2];h=r[d|0]|r[d+1|0]<<8;c=q[a+20>>2]+ -2|0;q[a+20>>2]=c;b=d+2|0;q[a+16>>2]=b;d=g+16|0;q[a+12>>2]=d;e=e|h<<16;q[a+8>>2]=e;h=e>>>g&65535;if(g>>>0>4294967279){break b}}d=d^16;q[a+12>>2]=d;e=e>>>16|0;q[a+8>>2]=e;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=c+ -2;q[a+16>>2]=b+2;e=e|g<<16;q[a+8>>2]=e}b=f+ -16|0;q[a+12>>2]=b+d;d=(q[(b<<2)+153552>>2]&e>>>d)<<16|h}q[k+192>>2]=l+d;d:{if(i>>>0<=1){c=q[a+220>>2]+1|0;if(!(i-1)){break d}c=q[a+216>>2];break d}c=i+ -2|0}q[a+216>>2]=q[a+220>>2];c=c-(c>>>0>>0?0:j)|0;q[a+220>>2]=c;d=q[a+576>>2]+(c<<6)|0;q[a+112>>2]=d;q[a+176>>2]=q[((c>>>3&536870908)+a|0)+592>>2]>>>(c&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[d|0]<<2)>>2];q[a+108>>2]=((r[c+q[a+580>>2]|0]&3)<<9)+153696}}function mX(a,b,c,d){var e=0,f=0,g=0,h=0;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;q[a+8>>2]=q[b+8>>2];q[a+24>>2]=0;q[a+28>>2]=0;o[a+20|0]=0;o[a+16|0]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;e=Sa(18976);a:{b:{if(e){q[a+28>>2]=593;q[a+36>>2]=e;f=q[a+32>>2];if(f>>>0<=512){g=e;e=f<<5;Na(g+e|0,0,16416-e|0)}g=513;q[a+32>>2]=513;break b}q[a+28>>2]=-1;g=q[a+32>>2];if(!g){break a}}h=q[a+36>>2];e=0;while(1){f=(e<<5)+h|0;q[f>>2]=0;q[f+4>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}o[a+40|0]=0;e=q[b+4>>2];f=q[b>>2];q[a+52>>2]=q[b+8>>2];q[a+44>>2]=f;q[a+48>>2]=e;q[a+128>>2]=0;q[a+132>>2]=0;o[a+73|0]=1;o[a+74|0]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;o[a+60|0]=0;q[a+56>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;o[a+81|0]=0;o[a+82|0]=0;o[a+83|0]=0;o[a+84|0]=0;o[a+85|0]=0;o[a+86|0]=0;o[a+87|0]=0;o[a+88|0]=0;b=Sa(560);c:{d:{if(b){q[a+96>>2]=20;q[a+104>>2]=b;e=q[a+100>>2];if(e>>>0<=9){Na(b+w(e,28)|0,0,w(10-e|0,28))}e=10;q[a+100>>2]=10;break d}q[a+96>>2]=-1;e=q[a+100>>2];if(!e){break c}}b=0;while(1){e:{if(e>>>0<=b>>>0){q[160750]=q[67834];e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}e=q[a+104>>2]+w(b,28)|0}q[e+20>>2]=0;q[e+24>>2]=0;q[e>>2]=0;q[e+4>>2]=0;o[e+16|0]=0;q[e+8>>2]=0;q[e+12>>2]=0;b=b+1|0;e=q[a+100>>2];if(b>>>0>>0){continue}break}}q[a+112>>2]=c;f:{g:{if(c){b=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break g}}q[a+108>>2]=107;break f}if(b>>>0<=33899){q[a+108>>2]=1131;break f}q[a+108>>2]=32768}q[a+120>>2]=d;h:{if(d){b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break h}}q[a+116>>2]=107;return}if(b>>>0<=33899){q[a+116>>2]=1131;return}q[a+116>>2]=32768}function Wm(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,s=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<4){break a}if(!Bv(a+2|0,b,a)){break a}p=(r[a+7|0]|r[a+6|0]<<8)+a|0;l=(r[a+5|0]|r[a+4|0]<<8)+a|0;j=r[a+1|0]|r[a|0]<<8;while(1){b:{if(!(e&1)){d=i;break b}c:{if(!j){d=0-k|0;h=0;break c}e=0;d=4294967295/(j>>>0)|0;if(d>>>0<=k>>>0){break a}h=d;d=0-k|0;if(h>>>0<=d>>>0){break a}h=w(j,k)}f=h+l|0;d=w(d,j);d:{if(!d){d=q[b+12>>2];break d}e=0;if(t[b+4>>2]>f>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-f>>>0>>0){break a}g=q[b+12>>2];d=g+ -1|0;q[b+12>>2]=d;if((g|0)<1){break a}}d=(k-m|0)+d|0;q[b+12>>2]=d;e=0;if((d|0)<1|(h|0)>0){break a}d=i;m=k;e=l;if(f>>>0>=e>>>0){break b}while(1){e=e+ -1|0;m=r[e|0];d=d>>>0>m>>>0?d:m+1|0;if(f>>>0>>0){continue}break}m=k}if((n|0)<=(o|0)){h=o+1|0;if(!(!j|4294967295/(j>>>0)>>>0>h>>>0)){return 0}g=w(j,h);e:{if(!g){f=q[b+12>>2];break e}e=0;if(t[b+4>>2]>l>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-l>>>0>>0){break a}s=q[b+12>>2];f=s+ -1|0;q[b+12>>2]=f;if((s|0)<1){break a}}f=((o^-1)+n|0)+f|0;q[b+12>>2]=f;e=0;if((f|0)<1|((g|0)<0|4294967295/(j>>>0)>>>0<=h>>>0?j:0)){break a}e=w(j,n);if((e|0)<(g|0)){n=g+l|0;e=e+l|0;while(1){f=r[e|0];d=d>>>0>f>>>0?d:f+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}n=h}e=0;if(d>>>0>536870910){break a}h=d<<3;f:{if(!d){f=q[b+12>>2];break f}if(t[b+4>>2]>p>>>0){break a}f=q[b+8>>2];if(f>>>0

>>0|f-p>>>0>>0){break a}g=q[b+12>>2];f=g+ -1|0;q[b+12>>2]=f;if((g|0)<1){break a}}f=(i-d|0)+f|0;q[b+12>>2]=f;if((f|0)<1){break a}if((i|0)<(d|0)){h=h+p|0;e=(i<<3)+p|0;f=r[a+1|0]|r[a|0]<<8;g=r[a+5|0]|r[a+4|0]<<8;while(1){i=((r[e+1|0]|r[e|0]<<8)-g|0)/(f|0)|0;o=(o|0)<(i|0)?i:o;k=(k|0)>(i|0)?i:k;e=e+8|0;if(e>>>0>>0){continue}break}}i=d;e=(k|0)<(m|0);if(e|(n|0)<=(o|0)){continue}break}e=1;if(!c){break a}q[c>>2]=i}return e}function cj(a,b,c){a=a|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=q[a+88>>2];q[c>>2]=0;a:{b:{if(r[a+848|0]){d=q[a+844>>2];e=q[a+828>>2];break b}q[a+828>>2]=0;q[a+832>>2]=0;q[a+836>>2]=0;q[a+840>>2]=0;q[a+844>>2]=0;q[a+848>>2]=0;h=8;d=s[a+152>>1];if(!d){break a}e=q[a+156>>2];d=e+(d<<4)|0;g=a+828|0;k=q[a+104>>2];while(1){c:{if(q[e>>2]==1111770656){f=q[e+12>>2];if(f){break c}}e=e+16|0;if(e>>>0>>0){continue}break a}break}if(Xa(k,q[e+8>>2])|f>>>0<8){break a}if(Bc(k,f,g)){break a}e=q[a+828>>2];q[a+832>>2]=f+e;d:{e:{if((r[e+1|0]|r[e|0]<<8)!=1){break e}d=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0<8|h+1>>>0>f>>>0){break e}d=r[e+3|0]|r[e+2|0]<<8;if(h+ -8>>>2>>>0>>0){break e}q[a+840>>2]=f-h;l=e+h|0;q[a+836>>2]=l;q[a+844>>2]=d;f=e+8|0;i=f+(d<<2)|0;if(d){h=d;while(1){i=w(r[f+3|0]|r[f+2|0]<<8,10)+i|0;f=f+4|0;h=h+ -1|0;if(h){continue}break}}if(i>>>0<=l>>>0){break d}}zb(k,g);q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;return 8}o[a+848|0]=1}h=6;if(!b|!j){break a}k=Wa(b);if(!k|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=s[j+14>>1];while(1){i=r[e+3|0]|r[e+2|0]<<8;if((g|0)==(r[e+1|0]|r[e|0]<<8)){if(!i){break a}while(1){f:{j=r[f+5|0];if(!(j&16)){break f}e=q[a+840>>2];d=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}l=e-g|0;if(k>>>0>=l>>>0){break f}d=r[f+6|0]|r[f+7|0]<<8|(r[f+8|0]<<16|r[f+9|0]<<24);m=g;g=q[a+836>>2];if(Ra(b,m+g|0,l)){break f}j=j&15;if(j>>>0>3){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(j-2|0){default:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!be(d,0,e)){break f}q[c+4>>2]=d;q[c>>2]=1;return 0;case 0:q[c+4>>2]=d;q[c>>2]=2;return 0;case 1:break g}}q[c+4>>2]=d;q[c>>2]=3;return 0}f=f+10|0;i=i+ -1|0;if(i){continue}break}break a}e=e+4|0;f=w(i,10)+f|0;d=d+ -1|0;if(d){continue}break}}return h|0}function kl(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;h=Da+ -64|0;Da=h;w=q[b+12>>2];r=q[b+4>>2];c=w-r|0;k=c;i=c>>31;x=q[b+28>>2];d=x-r|0;c=d;j=c;m=c>>31;c=W$(k,i,c,m);e=Ea;a:{b:{g=c;y=q[b+8>>2];s=q[b>>2];c=y-s|0;n=c;t=c>>31;z=q[b+24>>2];f=z-s|0;c=f;o=c;p=c>>31;l=W$(n,t,c,p);g=g+l|0;c=Ea+e|0;c=g>>>0>>0?c+1|0:c;e=q[a>>2];f=f>>31;f=o+f^f;d=d>>31;d=j+d^d;l=W$(e,e>>31,(f|0)>(d|0)?f:d,0);e=l;B=0-e|0;d=c;f=Ea;A=0-(f+(0>>0)|0)|0;e=A;if((c|0)<(e|0)?1:(c|0)<=(e|0)?g>>>0>=B>>>0?0:1:0){break b}c=f;e=W$(j,m,j,m);u=Ea;C=g;v=W$(o,p,o,p);e=v+e|0;g=Ea+u|0;g=e>>>0>>0?g+1|0:g;u=e;e=e+l|0;c=c+g|0;c=e>>>0>>0?c+1|0:c;u=e;g=c;if((d|0)>(c|0)?1:(d|0)>=(c|0)?C>>>0<=e>>>0?0:1:0){break b}c=W$(k,i,o,p);d=Ea;e=W$(j,m,n,t);n=d;d=c;c=n-(Ea+(c>>>0>>0)|0)|0;i=d-e|0;e=c;d=c>>31;c=c>>31;k=d+e|0;i=c+i|0;if(i>>>0>>0){k=k+1|0}e=(c^i)>>>0<=l>>>0?0:1;c=d^k;if((c|0)>(f|0)?1:(c|0)>=(f|0)?e:0){break b}c=q[b+20>>2]-r|0;e=c;k=c>>31;c=W$(c,k,j,m);i=Ea;d=c;c=q[b+16>>2]-s|0;n=c;t=c>>31;v=W$(c,t,o,p);d=d+v|0;c=Ea+i|0;i=d;c=d>>>0>>0?c+1|0:c;if(((c|0)<(A|0)?1:(c|0)<=(A|0)?i>>>0>=B>>>0?0:1:0)|((c|0)>(g|0)?1:(c|0)>=(g|0)?i>>>0<=u>>>0?0:1:0)){break b}c=W$(e,k,o,p);d=Ea;g=W$(j,m,n,t);e=d;d=c;c=e-(Ea+(c>>>0>>0)|0)|0;j=d-g|0;g=c;d=c>>31;c=c>>31;e=d+g|0;j=c+j|0;if(j>>>0>>0){e=e+1|0}g=(c^j)>>>0<=l>>>0?0:1;c=d^e;if((c|0)>(f|0)?1:(c|0)>=(f|0)?g:0){break b}b=jl(a,s,r,z,x);break a}c=q[b+16>>2];d=q[b+20>>2];f=d+x|0;q[h+44>>2]=f>>1;d=(d+w|0)+2|0;f=d+f|0;q[h+36>>2]=f>>2;e=d;d=r+w|0;g=e+d|0;q[h+20>>2]=g>>2;q[h+28>>2]=(f+g|0)+ -1>>3;q[h+12>>2]=d>>1;d=s+y|0;q[h+8>>2]=d>>1;f=c+z|0;q[h+40>>2]=f>>1;c=(c+y|0)+2|0;f=c+f|0;q[h+32>>2]=f>>2;c=c+d|0;q[h+16>>2]=c>>2;q[h+24>>2]=(c+f|0)+ -1>>3;c=q[b+4>>2];q[h>>2]=q[b>>2];q[h+4>>2]=c;c=q[b+28>>2];q[h+48>>2]=q[b+24>>2];q[h+52>>2]=c;b=0;if(!kl(a,h)){break a}b=kl(a,h+24|0)}Da=h- -64|0;return b}function Qy(a,b){a=a|0;b=b|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,r=0,t=0;d=Da-48|0;Da=d;i=q[b+28>>2];q[d+20>>2]=q[b+8>>2];r=d,t=Hb(b,d+4|0),q[r+8>>2]=t;c=q[d+4>>2];a:{if(c){break a}c=lb(b,163456,d+8|0);q[d+4>>2]=c;if(c){break a}c=1330926671;b:{c:{if(q[d+8>>2]!=1330926671){e=q[d+20>>2];c=Xa(b,e+12|0);q[d+44>>2]=c;d:{if(c){break d}n=d;e:{f:{g:{if(s[d+12>>1]){k=e+28|0;e=0;while(1){h:{c=lb(b,163488,d+24|0);q[d+44>>2]=c;if(c){p[d+12>>1]=e+ -1;break h}l=q[b+4>>2];g=q[d+32>>2];i:{if(l>>>0>>0){break i}c=q[d+24>>2];m=q[d+36>>2];if((c|0)!=1752003704?!((c|0)==1986884728|m>>>0<=l-g>>>0):0){break i}f=f+1|0;j:{if((c|0)<=1651008867){if((c|0)==1296389185){break j}if((c|0)!=1397313095){break i}o=1;break i}if((c|0)!=1651008868?(c|0)!=1751474532:0){break i}if(m>>>0<=53){break f}c=Xa(b,g+12|0);q[d+44>>2]=c;if(c){break d}Hb(b,d+44|0);c=q[d+44>>2];if(c){break d}c=Xa(b,k+(e<<4)|0);q[d+44>>2]=c;j=1;if(!c){break i}break d}h=1}e=e+1|0;if(e>>>0>1]){continue}}break}if(f&65535){break g}}c=2;break e}if(j){break c}if(!o){break f}if(h){break c}}c=142}q[n+44>>2]=c}q[d+4>>2]=c;break a}f=s[d+12>>1];if(f){break b}c=2;q[d+4>>2]=2;break a}q[d+4>>2]=0;c=q[d+8>>2]}q[a+148>>2]=c;p[a+152>>1]=f;r=a,t=Oa(i,16,0,f&65535,0,d+4|0),q[r+156>>2]=t;c=q[d+4>>2];if(c){break a}c=Xa(b,q[d+20>>2]+12|0);q[d+4>>2]=c;if(c){break a}c=mb(b,s[d+12>>1]<<4);q[d+4>>2]=c;if(c){break a}k:{if(!s[d+12>>1]){f=0;break k}i=0;f=0;while(1){h=fc(b);l=fc(b);g=fc(b);j=fc(b);c=q[b+4>>2];l:{if(c>>>0>>0){break l}c=c-g|0;if(j>>>0>c>>>0){if((h|0)!=1752003704?(h|0)!=1986884728:0){break l}j=c&-4}k=q[a+156>>2];e=f&65535;m:{if(!e){e=0;break m}c=0;while(1){if((h|0)==q[k+(c<<4)>>2]){break l}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=k+(e<<4)|0;q[c+12>>2]=j;q[c+8>>2]=g;q[c+4>>2]=l;q[c>>2]=h;f=f+1|0}i=i+1|0;if((i&65535)>>>0>1]){continue}break}}p[a+152>>1]=f;jb(b);c=q[d+4>>2]}Da=d+48|0;return c|0}function FB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0;g=Da-16|0;Da=g;j=q[b+16>>2];k=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{c:{d:{d=q[b>>2];if(d>>>0>>0){q[b>>2]=d+1;if(r[d|0]==91){break d}}c=3;q[g+12>>2]=3;break c}n[q[b+28>>2]](b);e:{f:{f=q[b>>2];g:{if(f>>>0>=k>>>0){break g}while(1){h:{i:{j:{d=r[f|0];if((d|0)!=60){if((d|0)!=93){break j}q[b>>2]=f+1;break b}if(l?0:h){break e}n[q[b+32>>2]](b);if(q[b+12>>2]){break b}c=q[b>>2];d=(c+(f^-1)|0)/2|0;if(c-f>>>0<=2){break g}h=Oa(j,1,t,d,h,g+12|0);c=q[g+12>>2];if(c){break c}q[b>>2]=f;l=1;n[q[b+44>>2]](b,h,d,g+8|0,1)|0;i=q[g+8>>2];break i}if(d+ -48>>>0>9){d=t;break i}if(l){break g}i=n[q[b+36>>2]](b)|0;if((i|0)<=-1){break e}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}d=q[b>>2];h=d+1|0;if(k-d>>>0<=i>>>0){break e}q[b>>2]=(d+i|0)+1;l=0;break h}if(!h){break f}t=d}if(i&1){d=i+ -1|0;i=r[d+h|0]?i:d}if(!i){break g}d=k-q[b>>2]|0;p=0;while(1){if(e>>>0<=2){k:{l:{switch(e-1|0){default:e=0;if((m|0)<12){break k}c=q[a+496>>2];s=(r[c+4|0]<<4)+r[c+5|0]|0;f=s<<4|12;q[a+500>>2]=f;if((d|0)<(f|0)){break g}w=a,x=Oa(j,1,12,f,c,g+12|0),q[w+496>>2]=x;c=q[g+12>>2];if(c){break c};case 0:e=1;c=q[a+500>>2];if((m|0)<(c|0)){break k}u=q[a+496>>2];if((s|0)>=1){v=u+24|0;f=0;while(1){e=(f<<4)+v|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>>0|(c|0)>(d-e|0)){break g}c=(e+3&-4)+c|0;q[a+500>>2]=c;f=f+1|0;if((s|0)!=(f|0)){continue}break}}w=a,x=Oa(j,1,s<<4|12,c+1|0,u,g+12|0),q[w+496>>2]=x;c=q[g+12>>2];if(c){break c}break;case 1:break l}}e=2;if((m|0)>=q[a+500>>2]){break g}}o[q[a+496>>2]+m|0]=r[h+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(i|0)){continue}break}n[q[b+28>>2]](b);f=q[b>>2];if(f>>>0>>0){continue}break}}c=3;q[g+12>>2]=3;break c}c=3;q[g+12>>2]=3;h=0;break c}c=3;q[g+12>>2]=3;l=0}q[b+12>>2]=c}if(!l){break a}if(h){n[q[j+8>>2]](j,h)}}Da=g+16|0}function Bm(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;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<4){break a}if(!Bv(a+2|0,b,a)){break a}o=(r[a+7|0]|r[a+6|0]<<8)+a|0;k=(r[a+5|0]|r[a+4|0]<<8)+a|0;h=r[a+1|0]|r[a|0]<<8;while(1){b:{if(!(d&1)){c=i;break b}c:{if(!h){c=0-j|0;g=0;break c}d=0;c=4294967295/(h>>>0)|0;if(c>>>0<=j>>>0){break a}g=c;c=0-j|0;if(g>>>0<=c>>>0){break a}g=w(h,j)}e=g+k|0;c=w(c,h);d:{if(!c){c=q[b+12>>2];break d}d=0;if(t[b+4>>2]>e>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0>>0){break a}f=q[b+12>>2];c=f+ -1|0;q[b+12>>2]=c;if((f|0)<1){break a}}c=(j-l|0)+c|0;q[b+12>>2]=c;d=0;if((c|0)<1|(g|0)>0){break a}c=i;l=j;d=k;if(e>>>0>=d>>>0){break b}while(1){d=d+ -1|0;l=r[d|0];c=c>>>0>l>>>0?c:l+1|0;if(e>>>0>>0){continue}break}l=j}if((m|0)<=(n|0)){g=n+1|0;if(!(!h|4294967295/(h>>>0)>>>0>g>>>0)){return 0}f=w(h,g);e:{if(!f){e=q[b+12>>2];break e}d=0;if(t[b+4>>2]>k>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-k>>>0>>0){break a}p=q[b+12>>2];e=p+ -1|0;q[b+12>>2]=e;if((p|0)<1){break a}}e=((n^-1)+m|0)+e|0;q[b+12>>2]=e;d=0;if((e|0)<1|((f|0)<0|4294967295/(h>>>0)>>>0<=g>>>0?h:0)){break a}d=w(h,m);if((d|0)<(f|0)){m=f+k|0;d=d+k|0;while(1){e=r[d|0];c=c>>>0>e>>>0?c:e+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}m=g}d=0;if(c>>>0>1073741822){break a}g=c<<2;f:{if(!c){e=q[b+12>>2];break f}if(t[b+4>>2]>o>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-o>>>0>>0){break a}f=q[b+12>>2];e=f+ -1|0;q[b+12>>2]=e;if((f|0)<1){break a}}e=(i-c|0)+e|0;q[b+12>>2]=e;if((e|0)<1){break a}if((i|0)<(c|0)){g=g+o|0;d=(i<<2)+o|0;e=r[a+1|0]|r[a|0]<<8;f=r[a+5|0]|r[a+4|0]<<8;while(1){i=((r[d+1|0]|r[d|0]<<8)-f|0)/(e|0)|0;n=(n|0)<(i|0)?i:n;j=(j|0)>(i|0)?i:j;d=d+4|0;if(d>>>0>>0){continue}break}}i=c;d=(j|0)<(l|0);if(d|(m|0)<=(n|0)){continue}break}d=1}return d}function BA(a,b,c){var d=0;d=1;a:{if(c>>>0>4){break a}b:{c:{d:{switch(c-1|0){default:b=s[b>>1]<<16;p[a>>1]=b;p[a+2>>1]=b>>>16;break a;case 0:c=s[b+2>>1];d=s[b>>1];if(c>>>0>d>>>0){c=d<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;b=s[b+2>>1]<<16|1;p[a+4>>1]=b;p[a+6>>1]=b>>>16;d=2;break a}c=c<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;b=s[b>>1]<<16|1;p[a+4>>1]=b;p[a+6>>1]=b>>>16;d=2;break a;case 1:c=s[b>>1]<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1];d=s[b+2>>1];if(c>>>0>d>>>0){c=d<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+4>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4;break a}c=c<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+2>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4;break a;case 2:d=s[b+2>>1];c=s[b>>1];e:{if(d>>>0>=c>>>0){d=c;break e}p[b>>1]=d;p[b+2>>1]=c}c=s[b+4>>1];if(c>>>0>>0){break c}c=d;break b;case 3:break d}}c=s[b+6>>1];d=s[b+4>>1];if(c>>>0>>0){p[b+4>>1]=c;p[b+6>>1]=d}c=s[b>>1]<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1]<<16|3;p[a+12>>1]=c;p[a+14>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+16>>1]=c;p[a+18>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+20>>1]=c;p[a+22>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+24>>1]=c;p[a+26>>1]=c>>>16;b=s[b+6>>1]<<16|3;p[a+28>>1]=b;p[a+30>>1]=b>>>16;d=8;break a}p[b>>1]=c;p[b+4>>1]=d}d=s[b+6>>1];if(d>>>0>>0){p[b>>1]=d;p[b+6>>1]=c}d=s[b+4>>1];c=s[b+2>>1];f:{if(d>>>0>=c>>>0){d=c;break f}p[b+2>>1]=d;p[b+4>>1]=c}c=s[b+6>>1];if(c>>>0>>0){p[b+2>>1]=c;p[b+6>>1]=d}c=s[b+6>>1];d=s[b+4>>1];if(c>>>0>>0){p[b+4>>1]=c;p[b+6>>1]=d}c=s[b>>1]<<16|2;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1]<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+6>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4}if((d|0)!=256){while(1){b=d<<2;Qa(b+a|0,a,b);d=d<<1;if((d|0)!=256){continue}break}}return 256}function tW(a,b,c,d){var e=0,f=0,g=x(0),h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,o=0;h=Da-16|0;Da=h;e=q[a>>2];e=e?e:271312;e=t[e+16>>2]<8?271312:q[e+12>>2];f=0;a:{if(!(r[e|0]<<8|r[e+1|0])){break a}q[h+12>>2]=0;q[h+8>>2]=0;q[h+4>>2]=0;k=PV(RV(a,b),c,q[a>>2],h+12|0,h+8|0,q[a+4>>2],h+4|0);a=q[k+12>>2];f=q[k+16>>2];c=q[h+12>>2];q[d>>2]=c;e=f>>>0<29?271312:a;a=e+20|0;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=q[h+8>>2]+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;q[d+4>>2]=a;f=r[e+16|0]|r[e+17|0]<<8|(r[e+18|0]<<16|r[e+19|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);q[d+8>>2]=f;e=r[e+20|0]|r[e+21|0]<<8|(r[e+22|0]<<16|r[e+23|0]<<24);e=0-(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;q[d+12>>2]=e;o=d;i=q[h+4>>2];b:{if(i){a=q[b+16>>2];f=q[a+28>>2];if(!f){f=xb(a);c=q[d>>2];a=q[b+16>>2]}j=x(x(f>>>0)/x(i>>>0));g=x(x(j*x(c|0))*x(q[b+20>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));c:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+4>>2]))*x(q[b+24>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));d:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+8>>2]))*x(q[b+20>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));e:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+12>>2]))*x(q[b+24>>2]));b=q[a+28>>2];if(!b){b=xb(a)}j=x(J(x(x(g/x(b>>>0)))));if(x(y(j))>2];l=i;m=q[b+32>>2];i=c<<16;c=i>>31;c=W$(m,l,i>>16,c);q[d>>2]=(Ea&65535)<<16|c>>>16;i=q[b+40>>2];n=q[b+44>>2];b=f<<16;c=b>>31;b=W$(m,l,b>>16,c);q[d+8>>2]=(Ea&65535)<<16|b>>>16;b=a<<16;c=b>>31;a=W$(i,n,b>>16,c);q[d+4>>2]=(Ea&65535)<<16|a>>>16;b=e<<16;c=b>>31;a=W$(i,n,b>>16,c);a=(Ea&65535)<<16|a>>>16}q[o+12>>2]=a;Pa(k);f=q[h+4>>2]!=0}Da=h+16|0;return f}function Ls(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=q[(c?16:12)+b>>2];f=q[(c?8:4)+b>>2];b=w(c,9516)+a|0;d=b+9552|0;a:{if((i|0)==q[b+9556>>2]?(f|0)==q[d>>2]:0){break a}q[d>>2]=f;q[b+9556>>2]=i;d=q[a+9776>>2];b:{if(!d){break b}b=0;while(1){if(!(r[(w(b,36)+a|0)+9812|0]&16)){b=b+1|0;if(b>>>0>>0){continue}break b}break}b=Ma(q[(w(b,36)+a|0)+9792>>2],f);if((c|0)!=1){break b}d=q[q[a+36>>2]+20>>2];e=s[q[q[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}e=bb(f,d,b);b=q[a+40>>2];g=q[a+9776>>2];if(g){d=0;while(1){h=w(d,36)+a|0;k=q[h+9804>>2];b=(b|0)>(k|0)?b:k;h=0-q[h+9808>>2]|0;b=(b|0)>(h|0)?b:h;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e-f|0;g=Ma(b,d);b=Ma(b,d);f=((g|0)<0?0-b|0:b)>>>0<128?e:f}b=w(c,9516)+a|0;q[b+48>>2]=i;q[b+44>>2]=f;c:{if(!c){q[a+8>>2]=f;b=a+16|0;break c}q[a+12>>2]=f;b=a+20|0}q[b>>2]=i;d=w(c,9516)+a|0;h=d;if(q[d+52>>2]){b=0;while(1){e=d+w(b,12)|0;g=Ma(q[e+56>>2],f);q[e- -64>>2]=g;q[e+60>>2]=g;b=b+1|0;if(b>>>0>2]){continue}break}}l=d,m=(Ma(q[d+252>>2],f)|0)<40,o[l+256|0]=m;if(!q[a+9776>>2]|(c|0)!=1){break a}d=0;while(1){b=w(d,36)+a|0;e=b+9788|0;c=b+9780|0;g=Ma(q[c>>2],f)+i|0;q[e>>2]=g;h=b+9784|0;q[h>>2]=g;g=b+9800|0;k=b+9792|0;j=Ma(q[k>>2],f)+i|0;q[g>>2]=j;q[b+9796>>2]=j;b=b+9812|0;q[b>>2]=q[b>>2]&-2;c=Ma(q[c>>2]-q[k>>2]|0,f);if(c+48>>>0<=96){j=e;e=q[h>>2]+32&-64;q[j>>2]=e;j=e;e=c>>31;e=e+c^e;e=(e|0)<32?0:(e|0)<48?32:64;q[g>>2]=j-((c|0)<0?0-e|0:e);q[b>>2]=q[b>>2]|1}d=d+1|0;c=q[a+9776>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=w(f,36)+a|0;i=b+9812|0;e=q[i>>2];d:{if((e&5)!=5){break d}g=b+9788|0;h=b+9800|0;b=0;while(1){d=w(b,36)+a|0;if(!(q[d+9800>>2]>=q[g>>2]?!((q[d+9812>>2]&5)!=1|q[d+9788>>2]>q[h>>2]):0)){b=b+1|0;if((c|0)!=(b|0)){continue}break d}break}q[i>>2]=e&-2}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function jq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;f=c-b|0;a:{if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{g=r[b|0];e=g+ -216|0;if(e>>>0>39){if(g){break f}e=r[b+1|0];i=r[(e+a|0)+72|0]+ -5|0;if(i>>>0>25){break d}h:{switch(i-1|0){case 0:h=-2;if((f|0)>=3){break d}break a;case 16:case 18:break c;case 23:break e;case 1:break g;case 3:case 4:case 15:case 24:break h;default:break d}}q[d>>2]=b;return 22}i:{switch(e-4|0){case 35:break i;case 0:case 1:case 2:case 3:break d;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:break f;default:break g}}e=r[b+1|0];if(e>>>0<=253){break e}break d}h=-2;if((f|0)>=4){break d}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){j:{k:{l:{m:{n:{g=r[b+2|0];a=g+ -216|0;if(a>>>0>39){if(g){break m}a=r[b+3|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break j}o:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break j}break a;case 16:case 18:case 19:case 20:case 21:break k;case 23:break l;case 1:break n;case 12:break o;default:break j}}q[d>>2]=b+4;return 28}p:{switch(a-4|0){case 0:case 1:case 2:case 3:break j;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:break m;case 35:break p;default:break n}}a=r[b+3|0];if(a>>>0<=253){break l}break j}h=-2;if((f|0)>=4){break j}break a}a=r[b+3|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break j}}b=e;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function Aw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=q[b+4>>2];b=r[c+2|0];if(b&32){q[a+44>>2]=0}a:{if(!(b&128)){break a}b=q[a+44>>2];if(b>>>0<=7){d=q[f+72>>2];q[a+44>>2]=b+1;q[((b<<2)+a|0)+12>>2]=d;break a}q[a+44>>2]=0}g=r[c+5|0]|r[c+4|0]<<8;b:{if((g|0)==65535){break b}c=q[a+44>>2];if(!c){break b}c:{b=q[a+4>>2];b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=b>>>0>1?b:1;d:{if(4294967295/(d>>>0)>>>0<=c>>>0){break d}h=w(c,d);if(h>>>0>2147483646){break d}g=q[a+8>>2]+(g&65534)|0;b=q[a>>2];if(!h){break c}if(t[b+20>>2]>g>>>0){break d}e=q[b+24>>2];if(e>>>0>>0|e-g>>>0>>0){break d}h=q[b+28>>2];q[b+28>>2]=h+ -1;if((h|0)>0){break c}}q[a+44>>2]=0;break b}h=q[q[b>>2]+132>>2];i=d<<1;while(1){c=c+ -1|0;q[a+44>>2]=c;b=q[((c<<2)+a|0)+12>>2];if(b>>>0>2]){c=r[g|0]|r[g+1|0]<<8;d=(c<<24|c<<8&16711680)>>16;j=d&1;c=q[f+96>>2];d=d&-2;e:{if((d|0)==-32768){b=c+w(b,20)|0;p[b+16>>1]=0;q[b+8>>2]=0;q[b+12>>2]=0;o[b+18|0]=0;break e}e=r[a+48|0];if((q[f+48>>2]&-2)==4){if(e){b=c+w(b,20)|0;if(!r[b+18|0]|q[b+12>>2]){break e}c=b;b=q[q[a>>2]+4>>2];b=W$(q[b+40>>2],q[b+44>>2],d,d>>31);q[c+12>>2]=(Ea&65535)<<16|b>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}b=w(b,20);if(!(h&q[(b+q[f+88>>2]|0)+4>>2])){break e}b=b+c|0;if(q[b+8>>2]){break e}e=q[q[a>>2]+4>>2];d=W$(q[e+32>>2],q[e+36>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[b>>2]=d+q[b>>2];q[b+8>>2]=d;break e}if(e){b=c+w(b,20)|0;if(!r[b+18|0]|q[b+8>>2]){break e}c=b;b=q[q[a>>2]+4>>2];b=W$(q[b+32>>2],q[b+36>>2],d,d>>31);q[c+8>>2]=(Ea&65535)<<16|b>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}b=w(b,20);if(!(h&q[(b+q[f+88>>2]|0)+4>>2])){break e}b=b+c|0;if(q[b+12>>2]){break e}e=q[q[a>>2]+4>>2];d=W$(q[e+40>>2],q[e+44>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[b+4>>2]=d+q[b+4>>2];q[b+12>>2]=d}if(j){break b}c=q[a+44>>2]}g=g+i|0;if(c){continue}break}}}function nq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;f=c-b|0;a:{if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{g=r[b+1|0];e=g+ -216|0;if(e>>>0>39){if(g){break f}e=r[b|0];i=r[(e+a|0)+72|0]+ -5|0;if(i>>>0>25){break d}h:{switch(i-1|0){case 0:h=-2;if((f|0)>=3){break d}break a;case 16:case 18:break c;case 23:break e;case 1:break g;case 3:case 4:case 15:case 24:break h;default:break d}}q[d>>2]=b;return 22}i:{switch(e-4|0){case 35:break i;case 0:case 1:case 2:case 3:break d;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:break f;default:break g}}e=r[b|0];if(e>>>0<=253){break e}break d}h=-2;if((f|0)>=4){break d}break a}e=r[b|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){j:{k:{l:{m:{n:{g=r[b+3|0];a=g+ -216|0;if(a>>>0>39){if(g){break m}a=r[e|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break j}o:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break j}break a;case 16:case 18:case 19:case 20:case 21:break k;case 23:break l;case 1:break n;case 12:break o;default:break j}}q[d>>2]=b+4;return 28}p:{switch(a-4|0){case 0:case 1:case 2:case 3:break j;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:break m;case 35:break p;default:break n}}a=r[e|0];if(a>>>0<=253){break l}break j}h=-2;if((f|0)>=4){break j}break a}a=r[e|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break j}}b=e;e=e+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function uk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;a:{if(!q[a+64>>2]){i=1;e=q[a+80>>2];if(!e){break a}q[f+12>>2]=c;if(!r[b+68|0]){b:{if(q[a+144>>2]==(b|0)){c=a+284|0;e=a+288|0;break b}c=q[a+296>>2];e=c+4|0}while(1){q[f+8>>2]=q[a+44>>2];g=n[q[b+56>>2]](b,f+12|0,d,f+8|0,q[a+48>>2])|0;q[e>>2]=q[f+12>>2];h=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],h,q[f+8>>2]-h|0);q[c>>2]=q[f+12>>2];if(g>>>0>1){continue}break}break a}n[e](q[a+4>>2],c,d-c|0);break a}c=(q[b+64>>2]<<1)+c|0;i=n[q[b+28>>2]](b,c)|0;q[f+12>>2]=c;g=a+412|0;c:{e=a+424|0;d:{if(!q[e>>2]){if(!Ya(g)){break d}}h=c+i|0;while(1){if(n[q[b+56>>2]](b,f+12|0,h,e,q[a+420>>2])>>>0<2){break c}if(Ya(g)){continue}break}}i=0;break a}i=0;if(!q[a+428>>2]){break a}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(g)){break a}c=q[e>>2]}q[a+424>>2]=c+1;o[c|0]=0;j=q[a+428>>2];if(!j){break a}q[a+428>>2]=q[a+424>>2];c=n[q[b+32>>2]](b,h)|0;h=q[b+64>>2];q[f+12>>2]=c;if(!q[a+424>>2]){if(!Ya(g)){break a}}c=d-(h<<1)|0;while(1){if(n[q[b+56>>2]](b,f+12|0,c,e,q[a+420>>2])>>>0>=2){if(Ya(g)){continue}break a}break}if(!q[a+428>>2]){break a}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(g)){break a}b=q[e>>2]}q[a+424>>2]=b+1;o[b|0]=0;e=q[a+428>>2];if(!e){break a}b=e;e:{while(1){f:{g:{c=r[b|0];if(c>>>0>13){break g}d=b;switch(c-1|0){case 12:break f;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break g;default:break e}}b=b+1|0;continue}break}while(1){h:{if((c&255)==13){o[d|0]=10;b=r[b+1|0]==10?b+2|0:b+1|0;break h}o[d|0]=c;b=b+1|0}d=d+1|0;c=r[b|0];if(c){continue}break}o[d|0]=0}n[q[a+64>>2]](q[a+4>>2],j,e);d=q[a+416>>2];i:{if(!d){q[a+416>>2]=q[a+412>>2];break i}b=q[g>>2];if(!b){break i}while(1){c=q[b>>2];q[b>>2]=d;q[a+416>>2]=b;d=b;b=c;if(b){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;i=1}Da=f+16|0;return i}function kg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,w=0,x=0;g=Da-160|0;Da=g;a:{if(r[a+52|0]){v[a+80>>3]=d;v[a+88>>3]=e;o[a+52|0]=0;q[a+56>>2]=0;q[a+60>>2]=0;f=q[a+84>>2];q[a+64>>2]=q[a+80>>2];q[a+68>>2]=f;f=q[a+92>>2];q[a+72>>2]=q[a+88>>2];q[a+76>>2]=f;q[a+96>>2]=b;q[a+100>>2]=c;h=1;break a}h=1;p=v[a+80>>3];s=v[a+88>>3];l=p*d+s*e;if(!!(l>v[a+112>>3])){n=s+e;e=1/(l+1);v[a+88>>3]=n*e;v[a+80>>3]=e*(p+d);break a}v[a+88>>3]=e;v[a+80>>3]=d;m=p*e-s*d<0?1:2;b:{if(!(m&f)){break b}t=m&(q[a+60>>2]^-1);i=s*v[a+24>>3];c:{if(y(i)<2147483648){j=~~i;break c}j=-2147483648}h=t&1;i=p*v[a+16>>3];d:{if(y(i)<2147483648){k=~~i;break d}k=-2147483648}if(h){q[g+36>>2]=c+j;q[g+32>>2]=b+k;x=q[a>>2];h=q[g+36>>2];q[g+24>>2]=q[g+32>>2];q[g+28>>2]=h;h=0;if(!qb(x,g+24|0,1)){break a}}if(t&2){q[g+36>>2]=c-j;q[g+32>>2]=b-k;j=q[a+4>>2];k=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=k;h=0;if(!qb(j,g+16|0,1)){break a}}i=v[a+24>>3]*0;e:{if(y(i)<2147483648){j=~~i;break e}j=-2147483648}h=m&1;i=v[a+16>>3]*0;f:{if(y(i)<2147483648){k=~~i;break f}k=-2147483648}if(h){q[g+36>>2]=c+j;q[g+32>>2]=b+k;t=q[a>>2];h=q[g+36>>2];q[g+8>>2]=q[g+32>>2];q[g+12>>2]=h;h=0;if(!qb(t,g+8|0,1)){break a}}if(!(m&2)){break b}q[g+36>>2]=c-j;q[g+32>>2]=b-k;j=q[a+4>>2];k=q[g+36>>2];q[g>>2]=q[g+32>>2];q[g+4>>2]=k;h=0;if(!qb(j,g,1)){break a}}q[a+60>>2]=m;j=(m^-1)&f;if(!j){h=1;break a}if(!(l<0)){f=1}else{i=(j&2?-.7071067811865476:.7071067811865476)/E(1-l);u=(p-d)*i;w=(e-s)*i;l=E(B(l*.5+.5,0));f=0}i=l+1;n=l;l=v[a+120>>3];g:{if(!(n>3]=n;n=i*n;i=n+1;h=h+ -1|0;if(!h){break g}if(n>3]=1/i;m=15-h|0;if(f){h=Ae(a,b,c,p,s,d,e,k,m,j);break a}h=0;if(!Ae(a,b,c,p,s,w,u,k,m,j)){break a}h=Ae(a,b,c,w,u,d,e,k,m,j)}Da=g+160|0;return h}function qA(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=q[a+212>>2];if(i>>>0>=2){g=q[a+172>>2];f=q[a+168>>2]+5056|0;d=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;h=d>>>b|0;f=f+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;h=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;c=g+3168|0;g=d>>>b|0;f=c+((g&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&g>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;e=s[f+2>>1];c=e<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((e|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];g=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=d|g<<16;q[a+8>>2]=d}q[a+12>>2]=b+f;e=q[(f<<2)+153552>>2]&d>>>b;break a}b:{c:{if(b>>>0<=15){e=b+16|0;q[a+12>>2]=e;c=d>>>b&65535;j=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];c=r[e|0]|r[e+1|0]<<8;j=q[a+20>>2]+ -2|0;q[a+20>>2]=j;b=e+2|0;q[a+16>>2]=b;e=g+16|0;q[a+12>>2]=e;d=d|c<<16;q[a+8>>2]=d;c=d>>>g&65535;if(g>>>0>4294967279){break b}}e=e^16;q[a+12>>2]=e;d=d>>>16|0;q[a+8>>2]=d;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=j+ -2;q[a+16>>2]=b+2;d=d|g<<16;q[a+8>>2]=d}b=f+ -16|0;q[a+12>>2]=b+e;e=(q[(b<<2)+153552>>2]&d>>>e)<<16|c}q[k+200>>2]=l+e;d:{if(h>>>0<=1){c=q[a+236>>2]+1|0;if(!(h-1)){break d}c=q[a+232>>2];break d}c=h+ -2|0}q[a+232>>2]=q[a+236>>2];c=c-(c>>>0>>0?0:i)|0;q[a+236>>2]=c;c=q[a+252>>2]+(c<<2)|0;q[a+116>>2]=c;o[a+260|0]=r[c+q[a+180>>2]|0]}}function Fx(a,b){var c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0;d=u[q[b+4>>2]+56>>2];if(d<=x(0)){return}k=q[q[b>>2]+136>>2];g=q[b+12>>2];a:{if((q[g+48>>2]&-2)==4){c=r[a+7|0]|r[a+6|0]<<8;f=$m(c?c+a|0:271312,a,d);a=q[b+4>>2];h=x(q[a+20>>2]);d=x(x((f|0)/2|0)*h);a=q[a+16>>2];c=q[a+28>>2];if(!c){c=xb(a);b=q[b+4>>2];a=q[b+16>>2];h=x(q[b+20>>2])}d=x(J(x(x(d/x(c>>>0)))));b:{if(x(y(d))>2];if(!b){b=xb(a)}d=x(J(x(x(d/x(b>>>0)))));c:{if(x(y(d))>2];if(!e){break a}c=e+ -1|0;b=q[g+88>>2];a=0;while(1){d:{if((a|0)==(c|0)){a=e;break d}a=a+1|0;if(r[(b+w(a,20)|0)+16|0]&128){continue}}break}l=q[g+88>>2];c=0;while(1){b=w(c,20);if(q[(b+l|0)+4>>2]&k){b=b+q[g+96>>2]|0;q[b>>2]=f+q[b>>2];q[b+8>>2]=i+q[b+8>>2]}b=a+1|0;c=e>>>0>b>>>0?e:b;b=a;while(1){e:{b=b+1|0;if(b>>>0>=e>>>0){b=c;break e}if(r[(l+w(b,20)|0)+16|0]&128){continue}}break}j=a>>>0>>0;c=a;a=b;if(j){continue}break}break a}c=r[a+9|0]|r[a+8|0]<<8;f=$m(c?c+a|0:271312,a,d);a=q[b+4>>2];h=x(q[a+24>>2]);d=x(x((f|0)/2|0)*h);a=q[a+16>>2];c=q[a+28>>2];if(!c){c=xb(a);b=q[b+4>>2];a=q[b+16>>2];h=x(q[b+24>>2])}d=x(J(x(x(d/x(c>>>0)))));f:{if(x(y(d))>2];if(!b){b=xb(a)}d=x(J(x(x(d/x(b>>>0)))));g:{if(x(y(d))>2];if(!e){break a}c=e+ -1|0;a=q[g+88>>2];b=0;while(1){h:{if((b|0)==(c|0)){b=e;break h}b=b+1|0;if(r[(a+w(b,20)|0)+16|0]&128){continue}}break}j=q[g+88>>2];c=0;while(1){a=w(c,20);if(q[(a+j|0)+4>>2]&k){a=a+q[g+96>>2]|0;q[a+4>>2]=f+q[a+4>>2];q[a+12>>2]=i+q[a+12>>2]}c=b;a=b+1|0;a=e>>>0>a>>>0?e:a;while(1){i:{b=b+1|0;if(b>>>0>=e>>>0){b=a;break i}if(r[(j+w(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>>0){continue}break}}}function Zg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;q[a+168>>2]=d;k=a+168|0;q[a+48>>2]=k;g=q[a+64>>2];q[a+184>>2]=q[a+60>>2];q[a+188>>2]=g;q[a+180>>2]=c;q[a+176>>2]=b;q[a+172>>2]=e;e=k;while(1){f=q[e+20>>2];h=q[e+4>>2];b=(f|0)>(h|0);a:{i=q[e+12>>2];if(!((i|0)<=((b?f:h)|0)?(i|0)>=((b?h:f)|0):0)){b=q[e+16>>2];q[e+32>>2]=b;q[e+36>>2]=f;c=f+i|0;q[e+28>>2]=c>>1;g=h+i|0;q[e+12>>2]=g>>1;f=q[e+8>>2];i=f+d|0;q[e+8>>2]=i>>1;b=b+f|0;q[e+24>>2]=b>>1;q[e+20>>2]=c+g>>2;q[e+16>>2]=b+i>>2;q[a+48>>2]=e+16;break a}if((f|0)==(h|0)){q[a+48>>2]=e+ -16;break a}m=(f|0)<(h|0)?1:2;b=q[a+92>>2];if((m|0)!=(b|0)){c=q[a+4>>2];j=c+ -1|0;n=(f|0)>=(h|0);g=(j+f&0-c)-f|0;b:{if(!n){break b}g=f&j}l=q[a+8>>2];if(b){b=q[a+36>>2];j=q[a+80>>2];c=b-q[j+8>>2]|0;if((c|0)<=-1){q[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}q[j+16>>2]=c>>2;if((g|0)>=(l|0)){c=s[j+12>>1];p[j+12>>1]=(c&8?16:32)|c}q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c;q[b+8>>2]=c;q[b+16>>2]=0;q[j+28>>2]=b;p[a+76>>1]=s[a+76>>1]+1}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}o[a+79|0]=0}d:{if(q[a+84>>2]){c=q[a+36>>2];break d}b=q[a+36>>2];q[a+84>>2]=b;q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}b=q[a+80>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=c;q[b+28>>2]=0;q[b+4>>2]=0;c=r[a+164|0];p[b+12>>1]=c;e:{if(!n){p[b+12>>1]=c|8;if((g|0)<(l|0)){break e}p[b+12>>1]=c|40;break e}if((g|0)<(l|0)){break e}p[b+12>>1]=c|16}if(!q[a+88>>2]){q[a+88>>2]=b}p[a+78>>1]=1;q[a+92>>2]=m}b=q[a+72>>2];c=q[a+68>>2];if((f|0)<(h|0)){if(!Ii(a,2,646,c,b)){break a}return 1}q[e+20>>2]=0-f;q[e+12>>2]=0-i;q[e+4>>2]=0-h;g=r[a+78|0];b=Ii(a,2,646,0-b|0,0-c|0);if(!(r[a+78|0]|!g)){c=q[a+80>>2];q[c+20>>2]=0-q[c+20>>2]}q[e+4>>2]=0-q[e+4>>2];if(!b){break a}return 1}e=q[a+48>>2];if(e>>>0>=k>>>0){d=q[e>>2];continue}break}q[a+64>>2]=h;q[a+60>>2]=d;return 0}function ND(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;e=Da-16|0;Da=e;h=q[b+16>>2];o=q[a+492>>2];n[q[b+28>>2]](b);f=q[b>>2];a:{if(!(f>>>0>=t[b+8>>2]|r[f|0]!=91)){n[q[b+32>>2]](b);n[q[b+28>>2]](b);a=q[b>>2];if(r[a|0]==93?a>>>0>2]:0){break a}q[b+12>>2]=3;break a}f=n[q[b+36>>2]](b)|0;if((f|0)<=-1){q[b+12>>2]=3;break a}b:{d=q[b+8>>2];i=q[b>>2];c:{if(d>>>0>>0){break c}d=d-i>>3;if((f|0)<=(d|0)){break c}if(q[b+368>>2]){f=d;break c}f=gb(h,24,e+12|0);q[b+368>>2]=f;c=q[e+12>>2];if(c){break b}c=aK(f,h);q[e+12>>2]=c;f=d;if(c){break b}}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}j=b+316|0;n[q[b+28>>2]](b);if(!q[b+312>>2]){c=n[q[q[o>>2]>>2]](j,f,h)|0;q[e+12>>2]=c;if(c){break b}}d=q[b>>2];d:{if(d+4>>>0>=t[b+8>>2]){break d}i=0;while(1){if(Ra(d,9556,3)){break d}n[q[b+32>>2]](b);d=n[q[b+36>>2]](b)|0;k=q[q[a+128>>2]+52>>2];c=q[b+8>>2];n[q[b+28>>2]](b);e:{g=q[b>>2];f:{if(g>>>0>=c>>>0|r[g|0]+ -48>>>0>9){break f}g=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((g|0)<0){break f}l=c;c=q[b>>2];m=c+1|0;if((g|0)<(l-m|0)){break e}}if(k){break a}q[b+12>>2]=3;break a}q[b>>2]=(c+g|0)+1;if(q[b+12>>2]){break a}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);c=q[b>>2];g:{if(c+4>>>0>=t[b+8>>2]){break g}if(Ra(c,9560,3)){break g}n[q[b+32>>2]](b);n[q[b+28>>2]](b)}c=q[b+368>>2];if(c){di(d,i,c,h);d=i}if(!q[b+312>>2]){c=q[a+172>>2];h:{if((c|0)>=0){if(g>>>0>>0){c=3;q[e+12>>2]=3;break b}k=gb(h,g,e+12|0);c=q[e+12>>2];if(c){break b}c=Qa(k,m,g);n[q[o+16>>2]](c,g,4330);l=d;d=q[a+172>>2];p=e,s=n[q[b+360>>2]](j,l,d+c|0,g-d|0)|0,q[p+12>>2]=s;if(c){n[q[h+8>>2]](h,c)}c=q[e+12>>2];break h}c=n[q[b+360>>2]](j,d,m,g)|0;q[e+12>>2]=c}if(c){break b}}i=i+1|0;d=q[b>>2];if(d+4>>>0>2]){continue}break}}if(q[b+312>>2]){break a}q[b+312>>2]=f;break a}q[b+12>>2]=c}Da=e+16|0}function Us(a,b){var c=0,d=0,e=0,f=0,g=0;c=Da-21616|0;Da=c;d=q[b+100>>2];Na(c+14976|4,0,2756);q[c+14976>>2]=d;q[a+7504>>2]=0;q[a+52>>2]=0;d=q[q[(q[q[a>>2]+8>>2]<<2)+284112>>2]+16>>2];e=He();f=r[d|0];a:{if(f){while(1){if((f|0)==32){while(1){f=r[d+1|0];d=d+1|0;if((f|0)==32){continue}break}}d=Ff(d,a,e,c+12|0);b:{if(t[c+12>>2]>1){break b}f=c+16|0;if(f){q[f>>2]=q[e+76>>2]}f=q[e+88>>2];Ge(e,c+16|0);if(!q[c+16>>2]){break b}f=q[f>>2];if(!f){break b}Xd(e);if(Yc(b,f,1)){break a}d=q[b+84>>2];if(p[d+110>>1]<1){break a}Na(c+16|0,0,14948);e=q[a+40>>2];q[c+32>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+24>>2]=65536;q[c+28>>2]=65536;q[c+56>>2]=e;q[c+20>>2]=b;q[c+17716>>2]=0;q[c+17724>>2]=c+16;if(bh(c+14976|0,d+108|0)){break a}q[c+12>>2]=0;if(Ef(c+14976|0,0)){break a}b=0;ah(c+14976|0,0,0,0);e=q[c+15020>>2];if((e|0)>=1){d=q[c+15028>>2];f=d+w(e,44)|0;while(1){e=q[d+20>>2];if(!(!e|e>>>0<=d>>>0|(q[e+20>>2]!=(d|0)|b>>>0>15))){g=p[d+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(b,12)+a|0)+56>>2]=e^e+g;b=b+1|0}d=d+44|0;if(d>>>0>>0){continue}break}q[c+12>>2]=b}Li(c+12|0,a+56|0,t[c+56>>2]/100|0);q[a+52>>2]=q[c+12>>2];b=0;q[c+12>>2]=0;if(Ef(c+14976|0,1)){break a}ah(c+14976|0,0,0,1);e=q[c+16368>>2];if((e|0)>=1){d=q[c+16376>>2];f=d+w(e,44)|0;while(1){e=q[d+20>>2];if(!(!e|e>>>0<=d>>>0|(q[e+20>>2]!=(d|0)|b>>>0>15))){g=p[d+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(b,12)+a|0)+7508>>2]=e^e+g;b=b+1|0}d=d+44|0;if(d>>>0>>0){continue}break}q[c+12>>2]=b}Li(c+12|0,a+7508|0,t[c+56>>2]/100|0);q[a+7504>>2]=q[c+12>>2];break a}f=r[d|0];if(f){continue}break}}Xd(e)}if(q[a+52>>2]){b=q[a+56>>2]}else{b=(w(q[a+40>>2],50)|0)/2048|0}o[a+256|0]=0;q[a+252>>2]=b;q[a+248>>2]=(b|0)/5;if(q[a+7504>>2]){b=q[a+7508>>2]}else{b=(w(q[a+40>>2],50)|0)/2048|0}o[a+7708|0]=0;q[a+7704>>2]=b;q[a+7700>>2]=(b|0)/5;Ll(c+14976|0);Da=c+21616|0}function Di(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=Da+ -64|0;Da=h;g=q[b>>2];q[h>>2]=g;q[h+4>>2]=q[c>>2];o=r[e+9|0];l=o?10:9;while(1){j=(n<<2)+h|0;q[j+8>>2]=g;if(r[e+n|0]){k=q[a+8>>2];a:{if(q[a+12>>2]-k>>3>>>0<=i>>>0){m=0;k=q[a+4>>2];if(!k|q[k>>2]){break a}q[k>>2]=130;break a}m=k+(i<<3)|0;k=q[m+4>>2]+ -1|0;if(k>>>0<=1){if(!(k-1)){m=q[m>>2]<<16;break a}k=q[m>>2];m=((k>>31)+k|0)- -8192>>14;break a}m=q[m>>2]}q[j+8>>2]=g+m;i=i+1|0}n=n+1|0;if((l|0)!=(n|0)){g=q[(n<<2)+h>>2];continue}break}if(!o){q[h+44>>2]=q[c>>2]}k=h;b:{c:{if(f){e=q[h+44>>2]-q[c>>2]|0;f=e>>31;g=f^e+f;e=q[h+40>>2]-q[b>>2]|0;f=e>>31;f=f^e+f;e=q[a+8>>2];d:{if(q[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=q[a+4>>2];if(!e|q[e>>2]){break d}q[e>>2]=130;break d}j=e+(i<<3)|0;e=q[j+4>>2]+ -1|0;if(e>>>0<=1){if(!(e-1)){i=q[j>>2]<<16;break d}e=q[j>>2];i=((e>>31)+e|0)- -8192>>14;break d}i=q[j>>2]}if((f|0)>(g|0)){g=q[h+40>>2]+i|0;q[h+48>>2]=g;break c}g=q[b>>2];q[h+48>>2]=g;e=q[h+44>>2]+i|0;break b}f=h;e:{if(r[e+10|0]){j=q[h+40>>2];g=q[a+8>>2];f:{if(q[a+12>>2]-g>>3>>>0<=i>>>0){g=0;l=q[a+4>>2];if(!l|q[l>>2]){break f}q[l>>2]=130;break f}l=g+(i<<3)|0;g=q[l+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){g=q[l>>2]<<16;break f}g=q[l>>2];g=((g>>31)+g|0)- -8192>>14;break f}g=q[l>>2]}i=i+1|0;g=g+j|0;break e}g=q[b>>2]}q[f+48>>2]=g;if(!r[e+11|0]){break c}f=q[h+44>>2];e=q[a+8>>2];g:{if(q[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=q[a+4>>2];if(!e|q[e>>2]){break g}q[e>>2]=130;g=q[h+48>>2];break g}j=e+(i<<3)|0;e=q[j+4>>2]+ -1|0;if(e>>>0<=1){if(!(e-1)){i=q[j>>2]<<16;break g}e=q[j>>2];i=((e>>31)+e|0)- -8192>>14;break g}i=q[j>>2]}e=f+i|0;break b}e=q[c>>2]}q[k+52>>2]=e;bf(d,q[h+8>>2],q[h+12>>2],q[h+16>>2],q[h+20>>2],q[h+24>>2],q[h+28>>2]);bf(d,q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2],g,e);q[a+12>>2]=q[a+8>>2];q[b>>2]=g;q[c>>2]=e;Da=h- -64|0}function rA(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=q[a+208>>2];if(i>>>0>=2){g=q[a+172>>2];f=q[a+168>>2]+2528|0;d=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;h=d>>>b|0;f=f+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;h=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;c=g+1584|0;g=d>>>b|0;f=c+((g&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&g>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;e=s[f+2>>1];c=e<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((e|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];g=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=d|g<<16;q[a+8>>2]=d}q[a+12>>2]=b+f;e=q[(f<<2)+153552>>2]&d>>>b;break a}b:{c:{if(b>>>0<=15){e=b+16|0;q[a+12>>2]=e;c=d>>>b&65535;j=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];c=r[e|0]|r[e+1|0]<<8;j=q[a+20>>2]+ -2|0;q[a+20>>2]=j;b=e+2|0;q[a+16>>2]=b;e=g+16|0;q[a+12>>2]=e;d=d|c<<16;q[a+8>>2]=d;c=d>>>g&65535;if(g>>>0>4294967279){break b}}e=e^16;q[a+12>>2]=e;d=d>>>16|0;q[a+8>>2]=d;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=j+ -2;q[a+16>>2]=b+2;d=d|g<<16;q[a+8>>2]=d}b=f+ -16|0;q[a+12>>2]=b+e;e=(q[(b<<2)+153552>>2]&d>>>e)<<16|c}q[k+196>>2]=l+e;d:{if(h>>>0<=1){c=q[a+228>>2]+1|0;if(!(h-1)){break d}c=q[a+224>>2];break d}c=h+ -2|0}q[a+224>>2]=q[a+228>>2];c=c-(c>>>0>>0?0:i)|0;q[a+228>>2]=c;q[a+104>>2]=q[q[a+136>>2]+(c<<2)>>2]}}function EX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==7){i=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=i;i=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=i;i=q[a+32>>2];b:{if(!i){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break b}h=v[q[a+36>>2]>>3]}v[c+80>>3]=v[c+80>>3]+h;d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;c:{d:{e:{if(i>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}e=q[a+36>>2];d=e+8|0;if((i|0)!=2){break d}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break c}h=v[e+16>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;f:{if(i>>>0<=3){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break f}h=v[q[a+36>>2]+24>>3]}v[c+48>>3]=v[c+48>>3]+h;d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;g:{if(i>>>0<=4){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break g}h=v[q[a+36>>2]+32>>3]}v[c+32>>3]=v[c+32>>3]+h;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;h:{if(i>>>0<=5){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[a+36>>2]+40>>3]}d=q[c+92>>2];e=q[c+88>>2];q[c+24>>2]=e;q[c+28>>2]=d;v[c+16>>3]=v[c+16>>3]+h;q[c+8>>2]=e;q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;i:{if(i>>>0<=6){i=q[67829];d=q[67828];q[160744]=d;q[160745]=i;f(0,d|0);f(1,i|0);h=+g();break i}h=v[q[a+36>>2]+48>>3]}v[c>>3]=v[c>>3]+h;pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}function n$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;u=q[c+76>>2];if(u){l=q[c+96>>2];v=q[c+88>>2];A=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=j;g=w(j,20);h=g+v|0;if(!(q[h+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;j=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[j+76>>2];o[f+20|0]=(m|0)==q[j+72>>2]?r[(g+q[j+88>>2]|0)+15|0]:0;if(!id(f)){break b}j=q[f>>2];i=w(j,20);s=q[q[a>>2]>>2];e=r[s+6|0]<<8|r[s+7|0];c:{if(e){x=q[h>>2];y=q[i+v>>2];e=e+ -1|0;h=0;while(1){d:{e:{t=e+h>>>1|0;k=w(t,6)+s|0;n=k+14|0;z=r[n|0]<<8|r[k+15|0];f:{if((z|0)==(x|0)){k=r[k+17|0]|r[k+16|0]<<8;if(k>>>0>y>>>0){break f}if((k|0)==(y|0)){break c}break e}if(z>>>0<=x>>>0){break e}}e=t+ -1|0;break d}h=t+1|0}if((h|0)<=(e|0)){continue}break}}n=271312}e=r[n+4|0]|r[n+5|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}g:{if(!A){h=e<<16;e=h>>31;e=W$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g>>2];g=e>>1;q[h>>2]=k+g;i=i+l|0;e=e-g|0;q[i>>2]=e+q[i>>2];q[i+8>>2]=e+q[i+8>>2];break g}h=e<<16;e=h>>31;e=W$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g+4>>2];g=e>>1;q[h+4>>2]=k+g;i=i+l|0;e=e-g|0;q[i+4>>2]=e+q[i+4>>2];q[i+12>>2]=e+q[i+12>>2]}e=j+1|0;if(e-m>>>0<2){break a}rb(c,m,e);j=q[f>>2];break a}j=m+1|0}if(j>>>0>>0){continue}break}}Da=p+160|0}function i$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;u=q[c+76>>2];if(u){l=q[c+96>>2];v=q[c+88>>2];A=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=j;g=w(j,20);h=g+v|0;if(!(q[h+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;j=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[j+76>>2];o[f+20|0]=(m|0)==q[j+72>>2]?r[(g+q[j+88>>2]|0)+15|0]:0;if(!id(f)){break b}j=q[f>>2];i=w(j,20);s=q[q[a>>2]>>2];e=r[s+8|0]<<8|r[s+9|0];c:{if(e){x=q[h>>2];y=q[i+v>>2];e=e+ -1|0;h=0;while(1){d:{e:{t=e+h>>>1|0;k=w(t,6)+s|0;n=k+16|0;z=r[n|0]<<8|r[k+17|0];f:{if((z|0)==(x|0)){k=r[k+19|0]|r[k+18|0]<<8;if(k>>>0>y>>>0){break f}if((k|0)==(y|0)){break c}break e}if(z>>>0<=x>>>0){break e}}e=t+ -1|0;break d}h=t+1|0}if((h|0)<=(e|0)){continue}break}}n=271312}e=r[n+4|0]|r[n+5|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}g:{if(!A){h=e<<16;e=h>>31;e=W$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g>>2];g=e>>1;q[h>>2]=k+g;i=i+l|0;e=e-g|0;q[i>>2]=e+q[i>>2];q[i+8>>2]=e+q[i+8>>2];break g}h=e<<16;e=h>>31;e=W$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g+4>>2];g=e>>1;q[h+4>>2]=k+g;i=i+l|0;e=e-g|0;q[i+4>>2]=e+q[i+4>>2];q[i+12>>2]=e+q[i+12>>2]}e=j+1|0;if(e-m>>>0<2){break a}rb(c,m,e);j=q[f>>2];break a}j=m+1|0}if(j>>>0>>0){continue}break}}Da=p+160|0}function GZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[b+4>>2];c=a+2|0;a:{if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+3|0];g=r[a+2|0];h=c|g<<8;b:{if(!h){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+3|0];g=r[a+2|0];d=c|g<<8;if(!d){break b}e=0;c:{while(1){if(Tb(((e<<1)+a|0)+4|0,b,a)){e=e+1|0;if((d|0)!=(e|0)){continue}break c}break}return 0}c=r[a+3|0];g=r[a+2|0];e=q[b+4>>2]}d=((c<<1|g<<9)+a|0)+4|0;if(e>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=r[d+1|0]|r[d|0]<<8;if(!g){break a}h=e;e=d+2|0;if(h>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[d+1|0]|r[d|0]<<8;if(!c){break a}e=0;while(1){if(!Tb((d+(e<<1)|0)+2|0,b,a)){break a}e=e+1|0;if((c|0)!=(e|0)){continue}break}f=r[d+1|0];c=r[d|0];if(!(f|c<<8)){break a}e=q[b+4>>2];d=(d+(f<<1|c<<9)|0)+2|0;if(e>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=r[d+1|0];c=r[d|0];i=h|c<<8;d:{if(!i){break d}c=d+2|0;if(e>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=r[d+1|0];c=r[d|0];f=h|c<<8;if(!f){break d}e=0;e:{while(1){if(Tb((d+(e<<1)|0)+2|0,b,a)){e=e+1|0;if((f|0)!=(e|0)){continue}break e}break}return 0}h=r[d+1|0];c=r[d|0];e=q[b+4>>2]}a=(d+(h<<1|c<<9)|0)+2|0;if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(f){a=a+2|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}}j=1}return j}function hi(a,b,c,d){var e=0,f=0,g=0,h=0;e=1;a:{b:{c:{g=c-b|0;if((g|0)<1){break c}h=a+72|0;f=r[h+r[b|0]|0]+ -5|0;if(f>>>0>24){break a}d:{e:{f:{g:{h:{switch(f-1|0){default:e=2;f=-2;if((g|0)<2){break f}if(n[q[a+340>>2]](a,b)){break g}break a;case 0:e=3;f=-2;if((g|0)<3){break f}if(!n[q[a+344>>2]](a,b)){break a}break g;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:case 17:case 19:case 20:case 21:case 22:case 23:break a;case 13:break d;case 16:case 18:break g;case 1:break h}}e=4;f=-2;if((g|0)<4){break f}if(!n[q[a+348>>2]](a,b)){break a}}b=b+e|0;f=c-b|0;if((f|0)<1){break c}while(1){g=r[r[b|0]+h|0]+ -5|0;if(g>>>0>24){break e}e=1;i:{j:{k:{switch(g-1|0){default:if((f|0)<2){return-2}e=2;if(n[q[a+328>>2]](a,b)){break j}break e;case 0:if((f|0)<3){return-2}e=3;if(!n[q[a+332>>2]](a,b)){break e}break j;case 12:break i;case 16:case 18:case 19:case 20:case 21:break j;case 1:break k;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 22:case 23:break e}}if((f|0)<4){return-2}e=4;if(!n[q[a+336>>2]](a,b)){break e}}b=b+e|0;f=c-b|0;if((f|0)>0){continue}break c}break}q[d>>2]=b+1;f=9}return f}q[d>>2]=b;return 0}e=b+1|0;if((c-e|0)<1){break c}a=r[e|0];if((a|0)==120){e=b+2|0;if((c-e|0)<1){break c}if((r[r[e|0]+h|0]&254)!=24){break b}b=b+3|0;if((c-b|0)<=0){break c}while(1){a=r[r[b|0]+h|0];if(a+ -24>>>0>=2){if((a|0)==18){q[d>>2]=e+2;return 10}q[d>>2]=b;return 0}e=b;b=b+1|0;if((c-b|0)>0){continue}break}break c}l:{if(r[a+h|0]!=25){break l}while(1){a=e;e=a+1|0;if((c-e|0)<1){break c}b=r[r[e|0]+h|0];if((b|0)==25){continue}break}if((b|0)!=18){break l}q[d>>2]=a+2;return 10}q[d>>2]=e;return 0}return-1}q[d>>2]=e;return 0}q[d>>2]=b;return 0}function qm(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0;h=Da-48|0;Da=h;q[h+40>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;e=q[d+4>>2];lm(h+8|0,a,c);a:{if(!qu(h+8|0,a,b,h+32|0,!e,0)){break a}if(e){c=q[h+36>>2];if(c>>>0>=5){f=c+ -4|0;g=q[h+40>>2];b=0;while(1){b:{if(c>>>0<=b>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break b}a=(b<<4)+g|0}i=u[d+12>>2];j=u[a+4>>2];u[d+12>>2]=i<=j?i:j;i=u[d+16>>2];j=u[a+8>>2];u[d+16>>2]=i<=j?i:j;i=u[d+20>>2];j=u[a+4>>2];u[d+20>>2]=i>=j?i:j;i=u[d+24>>2];j=u[a+8>>2];u[d+24>>2]=i>=j?i:j;b=b+1|0;if((f|0)!=(b|0)){continue}break}}dW(d+12|0,q[d>>2],e)}k=1;a=q[d+8>>2];if(!a){break a}d=q[h+40>>2];c:{d:{e:{f:{g:{b=q[h+36>>2];h:{if(b>>>0>=4){e=(d+(b<<4)|0)+ -64|0;f=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=f;f=q[e+12>>2];q[a+8>>2]=q[e+8>>2];q[a+12>>2]=f;break h}g=q[67831];e=g;f=q[67830];q[160746]=f;q[160747]=e;g=q[67829];c=q[67828];q[160744]=c;q[160745]=g;q[a+8>>2]=f;q[a+12>>2]=e;q[a>>2]=c;q[a+4>>2]=g;if((b|0)!=3){break g}}e=(d+(b<<4)|0)+ -48|0;f=q[e+4>>2];q[a+16>>2]=q[e>>2];q[a+20>>2]=f;f=q[e+12>>2];q[a+24>>2]=q[e+8>>2];q[a+28>>2]=f;break f}q[160746]=f;q[160747]=e;q[160744]=c;q[160745]=g;q[a+24>>2]=f;q[a+28>>2]=e;q[a+16>>2]=c;q[a+20>>2]=g;if(b>>>0<2){break e}}e=(d+(b<<4)|0)+ -32|0;f=q[e+4>>2];q[a+32>>2]=q[e>>2];q[a+36>>2]=f;f=q[e+12>>2];q[a+40>>2]=q[e+8>>2];q[a+44>>2]=f;break d}g=q[67831];e=g;f=q[67830];q[160746]=f;q[160747]=e;g=q[67829];c=q[67828];q[160744]=c;q[160745]=g;q[a+40>>2]=f;q[a+44>>2]=e;q[a+32>>2]=c;q[a+36>>2]=g;if(b){break d}q[160746]=f;q[160747]=e;q[160744]=c;q[160745]=g;b=642976;break c}b=(d+(b<<4)|0)+ -16|0}d=q[b+4>>2];q[a+48>>2]=q[b>>2];q[a+52>>2]=d;c=q[b+12>>2];q[a+56>>2]=q[b+8>>2];q[a+60>>2]=c}La(q[h+40>>2]);Da=h+48|0;return k}function TW(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,p=0;f=q[a+24>>2];if(f>>>0>=2){l=q[a+32>>2];m=r[a+176|0];i=2;while(1){g=v[a+136>>3];n=v[a+128>>3];if(f>>>0<=c>>>0){o[a+20|0]=1}a:{if(l>>>0<=c>>>0){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break a}e=q[a+36>>2]+(c<<5)|0}b:{if(!m){break b}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break b}j=q[e+24>>2];k=q[a+172>>2];d=v[e>>3];f=0;while(1){d=d+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=d;if(q[e+16>>2]<0){break b}q[e+20>>2]=0}c=c|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(c<<5)|0}d:{if(!m){break d}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}j=q[c+24>>2];k=q[a+172>>2];d=v[c>>3];f=0;while(1){d=d+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=d;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}p=g+v[c>>3];d=n+v[e>>3];e:{if(r[b|0]){break e}o[b|0]=1;g=v[a+128>>3];if(!!(v[b+8>>3]>g)){v[b+8>>3]=g;g=v[a+128>>3]}if(!!(g>v[b+24>>3])){v[b+24>>3]=g}g=v[a+136>>3];if(!!(v[b+16>>3]>g)){v[b+16>>3]=g;g=v[a+136>>3]}if(!(g>v[b+32>>3])){break e}v[b+32>>3]=g}v[a+136>>3]=p;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}c=i;i=c+2|0;f=q[a+24>>2];if(i>>>0<=f>>>0){continue}break}}}function f$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;s=q[c+76>>2];if(s){l=q[c+96>>2];t=q[c+88>>2];z=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=k;i=w(k,20);g=i+t|0;if(!(q[g+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;k=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[k+76>>2];o[f+20|0]=(m|0)==q[k+72>>2]?r[(i+q[k+88>>2]|0)+15|0]:0;if(!id(f)){break b}k=q[f>>2];e=q[a>>2];u=r[e+10|0];j=((u<<1)+e|0)+14|0;g=q[g>>2];h=r[e+9|0]|r[e+8|0]<<8;v=r[(h>>>0>g>>>0?j+g|0:271312)|0];x=r[e+11|0];if(v>>>0>=x>>>0){break a}n=h+j|0;g=w(k,20);j=q[g+t>>2];y=r[(h>>>0>j>>>0?n+j|0:271312)|0];j=r[e+12|0];if(y>>>0>=j>>>0){break a}n=h+n|0;h=w(j,v)+y|0;h=r[(w(j,x)>>>0>h>>>0?n+h|0:271312)|0];e=u>>>0>h>>>0?(e+(h<<1)|0)+14|0:271312;e=r[e|0]|r[e+1|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}c:{if(!z){h=e<<16;e=h>>31;e=W$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break c}i=i+l|0;h=i;j=q[i>>2];i=e>>1;q[h>>2]=j+i;g=g+l|0;e=e-i|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break c}h=e<<16;e=h>>31;e=W$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break c}i=i+l|0;h=i;j=q[i+4>>2];i=e>>1;q[h+4>>2]=j+i;g=g+l|0;e=e-i|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=k+1|0;if(e-m>>>0<2){break a}rb(c,m,e);k=q[f>>2];break a}k=m+1|0}if(k>>>0>>0){continue}break}}Da=p+160|0}function sc(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){q[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(t[a+8>>2]>b>>>0){break c}e=0;break a}e=4-g|0;i=r[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=w(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(t[a+8>>2]<=b>>>0){e=0;break a}i=r[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=w(f,10)+h|0;continue}}f:{g:{h:{if(h+ -11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(t[a+8>>2]<=b>>>0){e=0;break a}i=r[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+w(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=Za(f,10);q[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=w(q[(e<<2)+12864>>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}q[d>>2]=a;e=f<<16;break a}b=b<<2;c=q[b+12844>>2];if(((f|0)/(c|0)|0)>=32768){e=Za(f,q[b+12848>>2]);q[d>>2]=a+ -4;break a}e=Za(f,c);q[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)/q[12864-(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=q[(a<<2)+12864>>2];if(((b|0)/(a|0)|0)>32767){break a}e=Za(b,a);break a}a=w(b,q[12864-(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 FV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=a+ -18|0;if(d>>>0>12){d=a+ -261|0;if(d>>>0<=2){break i}if((a|0)!=294){break h}k=c;i=b+24|0;d=q[i>>2];j:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break j}h=v[q[b+36>>2]+(d<<3)>>3];break j}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}k:{if(y(h)<2147483648){d=~~h;break k}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+28>>2]=d;break c}switch(d-1|0){case 10:break f;case 11:break g;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break h;default:break d}}if(!(d-1)){break h}i=b+24|0;break c}qg(a,b);break e}h=ih(b);d=q[b+24>>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=h;break e}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=h;break e}hh(b+20|0,b)}if(!q[b+24>>2]){break b}break a}k=c;i=b+24|0;d=q[i>>2];l:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(e<<3)>>3];break l}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+16>>2]=d;n:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+20>>2]=d}q[i>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function Vu(a,b,c){var d=0,e=0;e=Da-16|0;Da=e;c=c+ -1|0;a:{if(c>>>0>8){c=1;break a}b:{switch(c-1|0){default:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){break a}if(d-1){c=RY(a,b);break a}c=QY(a,b);break a;case 0:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){break a}if(d-1){c=PY(a,b);break a}c=OY(a,b);break a;case 1:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=0;if(!Tb(a+2|0,b,a)){break a}q[e+12>>2]=a;c=NY(a+4|0,b,e+12|0);break a;case 2:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=Uu(a,b);break a;case 3:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=LY(a,b);break a;case 4:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=Uu(a,b);break a;case 5:c=qv(a,b);break a;case 6:c=pv(a,b);break a;case 7:break b}}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=KY(a,b)}Da=e+16|0;return c}function CO(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){if(q[b+20>>2]){while(1){c=q[b+24>>2];f=w(e,24);a=q[c+f>>2];b:{if(!a){break b}g=q[a+ -8>>2];if(!g){break a}d=a+ -4|0;h=q[d>>2];if(!h){break a}i=d;d=h+ -1|0;q[i>>2]=d;if(d){break b}h=a+ -32|0;c=q[h>>2];if(c){d=q[a+ -24>>2];if(d){q[d+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-g}c=q[a+ -28>>2];n[q[c+16>>2]](a+(q[c+24>>2]+7&-8)|0,a);La(h);c=q[b+24>>2]}a=q[(c+f|0)+4>>2];c:{if(!a){break c}f=q[a+ -8>>2];if(!f){break a}c=a+ -4|0;d=q[c>>2];if(!d){break a}i=c;c=d+ -1|0;q[i>>2]=c;if(c){break c}g=a+ -32|0;c=q[g>>2];if(c){d=q[a+ -24>>2];if(d){q[d+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-f}c=q[a+ -28>>2];n[q[c+16>>2]](a+(q[c+24>>2]+7&-8)|0,a);La(g)}e=e+1|0;if(e>>>0>2]){continue}break}}La(q[b+24>>2]);return 1}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=c;o[a+25|0]=c>>>8;o[a+26|0]=c>>>16;o[a+27|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);e=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=e;o[a+17|0]=e>>>8;o[a+18|0]=e>>>16;o[a+19|0]=e>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}I(355429,355403,453,355477);F()}function io(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0;i=Da+ -64|0;Da=i;q[i+12>>2]=0;m=q[h+556>>2];k=q[g>>2];j=q[k>>2];q[i+28>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;q[i+40>>2]=0;q[i+20>>2]=0;q[i+24>>2]=0;q[i+48>>2]=a;q[i+44>>2]=f;q[i+52>>2]=0;q[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;o=l?513:96;k=Oa(j,4,0,o,0,i+60|0);q[i+32>>2]=k;a:{b:{if(!q[i+60>>2]){q[i+36>>2]=k;q[i+40>>2]=o;break b}if(k){n[q[j+8>>2]](j,k)}q[i+32>>2]=0;j=q[i+60>>2];if(j){break a}}Na(a+24|0,0,160);q[a+156>>2]=8720;q[a+60>>2]=65536;q[a+44>>2]=2;q[a+48>>2]=65536;q[a+32>>2]=-6553600;q[a+36>>2]=3276800;q[a+184>>2]=l?513:48;q[a+172>>2]=65535;q[a+136>>2]=65535;q[a+128>>2]=65535;q[a+132>>2]=65535;q[a+16>>2]=65535;q[a+20>>2]=65535;q[a+8>>2]=65535;q[a+12>>2]=65535;q[a>>2]=65535;q[a+4>>2]=65535;c:{d:{if(!q[b+12>>2]){j=Xa(d,q[b+20>>2]);if(j){break a}j=Bc(d,q[b+24>>2],i+12|0);if(j){break a}c=q[b+24>>2];q[i+60>>2]=c;break d}j=Ag(b,c,i+12|0,i+60|0);if(j){break c}c=q[i+60>>2]}j=q[i+12>>2];j=co(i+16|0,j,j?c+j|0:0)}e:{if(q[b+12>>2]){if(q[b+32>>2]){break e}b=q[b>>2]}else{b=d}zb(b,i+12|0)}if(j){break a}j=0;if(q[a+132>>2]!=65535){break a}j=eo(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=q[q[h+128>>2]+60>>2];g:{if((f|0)==-1){b=q[h+96>>2];f=q[b+68>>2];q[a+648>>2]=f;if(!f){break g}while(1){f=n[q[m+20>>2]](f)|0;q[b+68>>2]=f;if((f|0)<0){continue}break}break g}q[a+648>>2]=f;if(!f){break g}while(1){f=n[q[m+20>>2]](f)|0;q[q[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(q[a+648>>2]){break f}q[a+648>>2]=q[a+532>>2]}b=q[a+536>>2];if(!b){j=0;break a}j=Xa(d,q[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=Me(b,d,1,l);if(j){break a}j=mj(b,a+644|0,0,0)}a=q[q[i+16>>2]>>2];b=q[i+32>>2];if(b){n[q[a+8>>2]](a,b)}Da=i- -64|0;return j}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,m=0;g=q[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=q[161384]<<1>>>0){break a}}return 0}b:{if(d>>>0>=b>>>0){c=d-b|0;if(c>>>0<16){break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|3;q[f+4>>2]=q[f+4>>2]|1;cp(b,c);break b}c=0;if(q[161270]==(f|0)){d=d+q[161267]|0;if(d>>>0<=b>>>0){break a}q[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;q[c+4>>2]=b|1;q[161267]=b;q[161270]=c;break b}if(q[161269]==(f|0)){d=d+q[161266]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|1;d=a+d|0;q[d>>2]=c;q[d+4>>2]=q[d+4>>2]&-2;break c}q[a+4>>2]=d|g&1|2;b=a+d|0;q[b+4>>2]=q[b+4>>2]|1;c=0;b=0}q[161269]=b;q[161266]=c;break b}e=q[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}j=h-b|0;d:{if(e>>>0<=255){c=q[f+8>>2];e=e>>>3|0;d=q[f+12>>2];if((d|0)==(c|0)){l=645056,m=q[161264]&$$(-2,e),q[l>>2]=m;break d}q[c+12>>2]=d;q[d+8>>2]=c;break d}i=q[f+24>>2];d=q[f+12>>2];e:{if((f|0)!=(d|0)){c=q[f+8>>2];q[c+12>>2]=d;q[d+8>>2]=c;break e}f:{c=f+20|0;e=q[c>>2];if(e){break f}c=f+16|0;e=q[c>>2];if(e){break f}d=0;break e}while(1){k=c;d=e;c=d+20|0;e=q[c>>2];if(e){continue}c=d+16|0;e=q[d+16>>2];if(e){continue}break}q[k>>2]=0}if(!i){break d}c=q[f+28>>2];e=(c<<2)+645360|0;g:{if(q[e>>2]==(f|0)){q[e>>2]=d;if(d){break g}l=645060,m=q[161265]&$$(-2,c),q[l>>2]=m;break d}q[i+(q[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}q[d+24>>2]=i;c=q[f+16>>2];if(c){q[d+16>>2]=c;q[c+24>>2]=d}c=q[f+20>>2];if(!c){break d}q[d+20>>2]=c;q[c+24>>2]=d}if(j>>>0<=15){q[a+4>>2]=g&1|h|2;b=a+h|0;q[b+4>>2]=q[b+4>>2]|1;break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=j|3;c=a+h|0;q[c+4>>2]=q[c+4>>2]|1;cp(b,j)}c=a}return c}function CA(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,q=0,t=0,u=0,v=0,x=0,y=0;d=-1;while(1){e=d;d=d+ -1|0;if(s[(e<<1)+b>>1]==65535){continue}break}t=256;u=e+16|0;d=(u|0)<8;j=d?1<1?d:1;e=128;f=2;i=1;while(1){h=s[(i<<1)+c>>1];if(h){n=w(e,h);k=i+ -16|0;g=m;while(1){v=(r[g+153120|0]<<2)+a|0;k=s[(k<<1)+b>>1];l=k<<16|i;d=j;while(1){d=d-f|0;q=v+(d<<2)|0;p[q>>1]=l;p[q+2>>1]=l>>>16;if((d|0)>0){continue}break}g=e+g|0;h=h+ -1|0;if(h){continue}break}m=m+n|0}e=e>>>1|0;f=f<<1;d=(i|0)!=(o|0);i=i+1|0;if(d){continue}break}if((j|0)!=256){while(1){d=j<<2;Qa(d+a|0,a,d);j=j<<1;if((j|0)!=256){continue}break}}if((u|0)>8){j=128;k=8;e=256;o=2;g=256;h=a;while(1){d=k;k=d+1|0;n=(k<<1)+c|0;f=s[n>>1];a:{if(!f){break a}i=d+ -15|0;l=k-8|0;v=l&255;l=1<=14){q=k&255;while(1){if((g|0)==256){d=r[m+153120|0];g=(d<<2)+a|0;h=(e<<2)+h|0;d=q|(h-a>>>2|0)-d<<16;p[g>>1]=d;p[g+2>>1]=d>>>16;m=m+1|0;t=l+t|0;g=0;e=l}x=(r[g+153120|0]<<2)+h|0;i=s[(i<<1)+b>>1];f=v|i<<16;d=e;while(1){d=d-o|0;y=x+(d<<2)|0;p[y>>1]=f;p[y+2>>1]=f>>>16;if((d|0)>0){continue}break}d=s[n>>1]+ -1|0;p[n>>1]=d;g=g+j|0;if(d&65535){continue}break}break a}while(1){if((g|0)==256){h=(e<<2)+h|0;d=k;e=d;f=l-(f&65535)|0;b:{if((f|0)<1){break b}while(1){e=15;d=d+1|0;if((d|0)==15){break b}e=d;f=(f<<1)-s[(d<<1)+c>>1]|0;if((f|0)>0){continue}break}}d=r[m+153120|0];g=(d<<2)+a|0;d=e&255|(h-a>>>2|0)-d<<16;p[g>>1]=d;p[g+2>>1]=d>>>16;m=m+1|0;e=1<>1];f=v|i<<16;d=e;while(1){d=d-o|0;x=q+(d<<2)|0;p[x>>1]=f;p[x+2>>1]=f>>>16;if((d|0)>0){continue}break}f=s[n>>1]+ -1|0;p[n>>1]=f;g=g+j|0;if(f&65535){continue}break}}j=j>>>1|0;o=o<<1;if((k|0)!=(u|0)){continue}break}}return t}function kX(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,p=0,r=0,s=0,u=0;RW(a);f=q[a+156>>2];a:{b:{c:{c=q[a+24>>2];d:{e:{if(c){c=c+ -1|0;q[a+24>>2]=c;if(t[a+32>>2]<=c>>>0){break e}c=q[a+36>>2]+(c<<5)|0;break d}o[a+20|0]=1}c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976}l=v[c>>3];f:{if(y(l)<2147483648){c=~~l;break f}c=-2147483648}if((c|0)>=0){d=q[a+24>>2];b=w(c,f+1|0);if(d>>>0>>0){break b}if(c){break c}b=0;break a}o[a+20|0]=1;d=q[a+24>>2];break a}h=(f|0)>0?f:0;m=d-b|0;r=c+m|0;n=q[67828];p=q[67829];while(1){i=q[a+36>>2];g=q[a+32>>2];b=j+m|0;if(d>>>0<=b>>>0){o[a+20|0]=1}g:{if(g>>>0<=b>>>0){b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;q[160744]=n;q[160745]=p;d=642976;break g}d=i+(b<<5)|0}q[d+12>>2]=j;q[d+8>>2]=c;e=q[d+16>>2];h:{if((e|0)<0){break h}b=e;if(b>>>0>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=h>>>0){continue}break}i:{if(!(b>>>0>>0|b>>>0>536870910)){e=db(q[d+24>>2],b<<3);if(e){break i}}q[d+16>>2]=-1;break h}q[d+16>>2]=b;q[d+24>>2]=e}b=q[d+20>>2];if(h>>>0>b>>>0){Na(q[d+24>>2]+(b<<3)|0,0,h-b<<3)}q[d+20>>2]=h}if(f){b=w(f,j)+r|0;i=b?i+(b<<5)|0:i;e=g-b|0;g=b?e>>>0>g>>>0?0:e:g;s=q[d+20>>2];b=0;while(1){k=i+(b<<5)|0;j:{if(s>>>0<=b>>>0){q[160744]=n;q[160745]=p;e=642976;break j}e=q[d+24>>2]+(b<<3)|0}k=g>>>0>b>>>0?k:271312;u=q[k+4>>2];q[e>>2]=q[k>>2];q[e+4>>2]=u;b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=q[a+24>>2];j=j+1|0;if((c|0)!=(j|0)){continue}break}b=c;break a}o[a+40|0]=1;return}b=w(b,f);if(d>>>0>=b>>>0){q[a+24>>2]=d-b;return}o[a+20|0]=1}function qt(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;a:{b:{c:{d:{e:{if(r[a+20|0]){if(q[a+40>>2]){break e}b=q[a+48>>2];if(b>>>0<=1){break d}f=q[a+52>>2];m=f+(b<<2)|0;i=b+ -1|0;j=f+4|0;f=q[67828];while(1){g=q[(i?j:271312)>>2];e=q[g+12>>2];if(e){h=q[g+16>>2];n=h+w(e,12)|0;while(1){c=e?h:271312;b=q[c+8>>2];f:{if(t[a+48>>2]<=b>>>0){q[160744]=f;b=f;break f}b=q[q[a+52>>2]+(b<<2)>>2]}if(!b){break b}k=q[c>>2];d=k>>>2&3;g:{h:{if(d>>>0<=2){i:{switch(d-1|0){case 0:b=q[b>>2]-q[g+4>>2]|0;break g;case 1:break i;default:break h}}b=(q[b>>2]+(q[a+4>>2]-q[a>>2]|0)|0)-q[a+8>>2]|0;break g}I(271120,270899,327,271088);F()}b=q[b>>2]-q[g>>2]|0}c=q[c+4>>2];if(b>>>0>>0){break c}l=k&1;b=b-c|0;c=q[g>>2]+(k>>>4|0)|0;d=r[c|0];j:{k:{if(k&2){if(l){if(r[c+3|0]|(r[c+1|0]<<16|d<<24|r[c+2|0]<<8)){break a}d=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);o[c|0]=d;o[c+1|0]=d>>>8;o[c+2|0]=d>>>16;o[c+3|0]=d>>>24;if(!(b>>31)){break j}if(r[a+20|0]){break k}break j}if(r[c+1|0]|d<<8){break a}d=(b<<8&16711680|b<<24)>>>16|0;o[c|0]=d;o[c+1|0]=d>>>8;c=b<<16;d=c>>31;c=c>>16;if(!d&(b|0)==(c|0)){break j}if(r[a+20|0]){break k}break j}if(l){if(r[c+3|0]|(r[c+1|0]<<16|d<<24|r[c+2|0]<<8)){break a}b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);o[c|0]=b;o[c+1|0]=b>>>8;o[c+2|0]=b>>>16;o[c+3|0]=b>>>24;break j}if(r[c+1|0]|d<<8){break a}d=(b<<8&16711680|b<<24)>>>16|0;o[c|0]=d;o[c+1|0]=d>>>8;if(!r[a+20|0]|b>>>0<65536){break j}}o[a+20|0]=0}b=(e|0)!=0;e=e-b|0;h=w(b,12)+h|0;if((n|0)!=(h|0)){continue}break}}b=(i|0)!=0;i=i-b|0;j=(b<<2)+j|0;if((m|0)!=(j|0)){continue}break}}return}I(270890,270899,314,271088);F()}I(271102,270899,315,271088);F()}I(271122,270899,330,271088);F()}o[a+20|0]=0;return}I(271142,270899,490,271151);F()}function ai(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;e=Da-2320|0;Da=e;cg(e+1112|0,0,0);i=lk(a,b);a:{b:{if(!i){ge(e+1112|0,498691);ge(e+1112|0,b?b:498706);a=c;break b}g=$H(a,b);if(!g){ge(e+1112|0,498713);ge(e+1112|0,b?b:498706);La(i);a=c;break b}if(wL(q[a+80>>2],g)){La(i);La(g);f=1;break a}c:{d:{if(d){if(!Ad(q[a+16>>2],i)){break d}}if(!Ad(q[a+80>>2],g)){break d}if($f(g)){k=fk(g);e:{if(!k){if(!c){break e}q[e+48>>2]=b;_a(0,2,498869,e+48|0);break e}b=Sa(Wa(g)+4098|0);if(b){j=tc(b,g);b=j+Wa(j)|0;o[b|0]=47;o[b+1|0]=0;f=Wa(j);h=Gk(2);f:{if(!h){f=0;break f}if(r[643741]&4){q[e+64>>2]=g;Ua(498897,e- -64|0)}if(d){li(q[a>>2],g)}g:{h:{b=Xf(k);if(b){n=f+j|0;while(1){l=b+19|0;f=Wa(l);m=o[b+19|0];i:{if((m|0)<48|(f|0)<6|(m|0)>57){break i}if(Ta((b+f|0)+14|0,498922)){break i}tc(n,l);if(!Ad(h,j)){break h}}b=Xf(k);if(b){continue}break}}Gc(q[h+12>>2],q[h+4>>2],4,975);b=0;if(q[h+4>>2]<=0){f=1;break g}while(1){f=ai(a,q[q[h+12>>2]+(b<<2)>>2],c,d);if(!f){break h}b=b+1|0;if((b|0)>2]){continue}break}break g}f=0}Yb(h)}La(j)}Wh(k)}La(i);La(g);f=!c|(f|0)!=0;break a}cg(e+2232|0,0,0);h=af(g,0,0);if((h|0)!=-1){j:{while(1){f=Uh(h,e+1200|0,1024);if((f|0)<=-1){a=q[160942];uH(a,e+80|0);q[e+40>>2]=a;q[e+32>>2]=g;q[e+36>>2]=e+80;f=0;_a(0,2,498748,e+32|0);bd(h);a=c;break j}Dq(e+2232|0,e+1200|0,f);if(f){continue}break}bd(h);f=Yp(a,i,Qd(e+2232|0),c,d);a=0}uc(e+2232|0);break c}ge(e+1112|0,498732);ge(e+1112|0,g);uc(e+2232|0);a=c;break c}a=c}La(i);La(g)}if(!c){f=1;break a}if(!(!a|f)){a=d?498825:498830;c=Qd(e+1112|0);k:{if(b){q[e+24>>2]=c;q[e+20>>2]=b;q[e+16>>2]=a;_a(0,2,498794,e+16|0);break k}q[e+4>>2]=c;q[e>>2]=a;_a(0,2,498835,e)}uc(e+1112|0);f=0;break a}uc(e+1112|0)}Da=e+2320|0;return f}function pM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-208|0;Da=e;g=q[a+12>>2];f=de(b);h=Ic(q[b+12>>2]);a:{if(!h){break a}d=Qb(h);if(!d){Zb(h);break a}b:{c:{d:{e:{f:{if(!f){while(1){if(c){La(c)}c=Pd(d);if(!Re(c,2)){break c}g:{if((Re(c,0)|0)!=-1){if(Xh(c)){break g}break e}if(Tg(c)){break d}}d=Qb(h);if(d){continue}break f}}while(1){if(c){La(c)}q[e+52>>2]=0;q[e+48>>2]=d;c=_b(f,e+48|0);if(!Re(c,2)){break c}h:{if((Re(c,0)|0)==-1){if(!Tg(c)){break h}break d}if(!Xh(c)){break e}}d=Qb(h);if(d){continue}break}}d=0;break b}d=Pd(c);br(c);break b}d=Pd(c);br(c);break b}d=Pd(c)}if(c){La(c)}Zb(h);if(d){c=b;b=a+g|0;Xk(c,b,e+144|0);q[e+36>>2]=0;q[e+32>>2]=e+144;g=_b(d,e+32|0);La(d);if(!g){break a}if(r[643740]&16){q[e+20>>2]=g;q[e+16>>2]=b;Ua(441581,e+16|0)}f=ir(g);if(f){if(Zk(f)){b=q[f+4>>2];q[e>>2]=438;i:{d=af(b,66,e);if((d|0)==-1){break i}c=q[a>>2];j:{if((c|0)==-66913276){b=Hp(d,a,q[a+8>>2]);c=a+8|0;break j}q[a>>2]=-66913276;b=Hp(d,a,q[a+8>>2]);q[a>>2]=c;c=a+8|0}if(q[c>>2]!=(b|0)){NG();bd(d);break i}bd(d);if(!hr(f)){break i}k:{if(q[c>>2]>1023){break k}if(!jg(g,e+56|0)){break k}l:{m:{if(!q[160933]){while(1){c=Sa(28);b=q[160933];q[160933]=b?b:c;if(!b){break m}if(!q[160933]){continue}break}}break l}Ud()}n:{if(!a){break n}b=643664;d=q[160932];if((d|0)>=1){while(1){h=d;d=d+ -1|0;i=d<<2;c=q[i+b>>2];if(!(!c|q[c>>2]+q[c+8>>2]>>>0>a>>>0)){while(1){b=c;c=q[(c+i|0)+40>>2];if(q[c>>2]+q[c+8>>2]>>>0<=a>>>0?c:0){continue}break}b=b+40|0}if((h|0)>1){continue}break}}b=q[b>>2];if(!b|q[b>>2]+q[b+8>>2]>>>0<=a>>>0){break n}q[b+16>>2]=q[e+56>>2];a=q[e+140>>2];q[b+24>>2]=q[e+136>>2];q[b+28>>2]=a;q[b+32>>2]=q[e+120>>2];q[b+36>>2]=q[e+124>>2]}}La(g);Yk(f);La(f);break a}Yk(f)}La(f)}La(g)}}Da=e+208|0}function UM(a,b,c,d){a=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(!c){break a}k=d+2|0;if(!k){d=0;while(1){d=d+16|0;if(d>>>0>>0){continue}break}break a}i=d<<4;m=i+32<<1;while(1){d=a;j=0;h=0;while(1){e=h+ -16|0;e=e>>>0>>0?(e<<1)+b|0:438160;g=h>>>0>>0?(h<<1)+b|0:438160;f=h+ -32|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[d>>1]=((s[e>>1]+((s[g>>1]+s[f>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+2>>1]=((s[e+2>>1]+((s[g+2>>1]+s[f+2>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+4>>1]=((s[e+4>>1]+((s[g+4>>1]+s[f+4>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+6>>1]=((s[e+6>>1]+((s[g+6>>1]+s[f+6>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+8>>1]=((s[e+8>>1]+((s[g+8>>1]+s[f+8>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+10>>1]=((s[e+10>>1]+((s[g+10>>1]+s[f+10>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+12>>1]=((s[e+12>>1]+((s[g+12>>1]+s[f+12>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+14>>1]=((s[e+14>>1]+((s[g+14>>1]+s[f+14>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+16>>1]=((s[e+16>>1]+((s[g+16>>1]+s[f+16>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+18>>1]=((s[e+18>>1]+((s[g+18>>1]+s[f+18>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+20>>1]=((s[e+20>>1]+((s[g+20>>1]+s[f+20>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+22>>1]=((s[e+22>>1]+((s[g+22>>1]+s[f+22>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+24>>1]=((s[e+24>>1]+((s[g+24>>1]+s[f+24>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+26>>1]=((s[e+26>>1]+((s[g+26>>1]+s[f+26>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+28>>1]=((s[e+28>>1]+((s[g+28>>1]+s[f+28>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[d+30>>1]=((s[e+30>>1]+((s[g+30>>1]+s[f+30>>1]&65534)>>>1|0)|0)+1&65534)>>>1;h=h+16|0;d=d+32|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}b=(i<<1)+b|0;a=a+m|0;l=l+16|0;if(l>>>0>>0){continue}break}}}function ZM(a,b,c,d){a=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,q=0,r=0,t=0,u=0;f=Da-96|0;l=c+5>>>1|0;if(l){j=w(c+15&-16,d);m=f+32|0;h=d<<4;r=h<<1;while(1){if(d){t=a+r|0;k=0;c=i;while(1){e=c-h|0;e=e>>>0>>0?(e<<1)+b|0:438160;p[f>>1]=s[e>>1];p[f+2>>1]=s[e+2>>1];p[f+4>>1]=s[e+4>>1];p[f+6>>1]=s[e+6>>1];p[f+8>>1]=s[e+8>>1];p[f+10>>1]=s[e+10>>1];p[f+12>>1]=s[e+12>>1];p[f+14>>1]=s[e+14>>1];p[f+16>>1]=s[e+16>>1];p[f+18>>1]=s[e+18>>1];p[f+20>>1]=s[e+20>>1];p[f+22>>1]=s[e+22>>1];p[f+24>>1]=s[e+24>>1];p[f+26>>1]=s[e+26>>1];p[f+28>>1]=s[e+28>>1];p[f+30>>1]=s[e+30>>1];e=c>>>0>>0?(c<<1)+b|0:438160;p[f+32>>1]=s[e>>1];p[f+34>>1]=s[e+2>>1];p[f+36>>1]=s[e+4>>1];p[f+38>>1]=s[e+6>>1];p[f+40>>1]=s[e+8>>1];p[f+42>>1]=s[e+10>>1];p[f+44>>1]=s[e+12>>1];p[f+46>>1]=s[e+14>>1];p[f+48>>1]=s[e+16>>1];p[f+50>>1]=s[e+18>>1];p[f+52>>1]=s[e+20>>1];p[f+54>>1]=s[e+22>>1];p[f+56>>1]=s[e+24>>1];p[f+58>>1]=s[e+26>>1];p[f+60>>1]=s[e+28>>1];p[f+62>>1]=s[e+30>>1];e=c+h|0;e=e>>>0>>0?(e<<1)+b|0:438160;p[f+64>>1]=s[e>>1];p[f+66>>1]=s[e+2>>1];p[f+68>>1]=s[e+4>>1];p[f+70>>1]=s[e+6>>1];p[f+72>>1]=s[e+8>>1];p[f+74>>1]=s[e+10>>1];p[f+76>>1]=s[e+12>>1];p[f+78>>1]=s[e+14>>1];p[f+80>>1]=s[e+16>>1];p[f+82>>1]=s[e+18>>1];p[f+84>>1]=s[e+20>>1];p[f+86>>1]=s[e+22>>1];p[f+88>>1]=s[e+24>>1];p[f+90>>1]=s[e+26>>1];p[f+92>>1]=s[e+28>>1];p[f+94>>1]=s[e+30>>1];e=0;while(1){n=e<<2;g=n+m|0;o=p[g+ -2>>1]+p[g+ -4>>1]|0;u=p[g+ -8>>1];g=p[g>>1]+p[g+ -6>>1]|0;p[(e<<1)+a>>1]=(o+(((p[(n|2)+m>>1]+(u+g|0)>>1)+o>>>1|0)+g>>>1|0)|0)+2>>>2;e=e+1|0;if((e|0)!=16){continue}break}c=c+16|0;a=a+32|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}i=h+i|0;a=t}i=h+i|0;q=q+16|0;if(q>>>0>>0){continue}break}}}function aj(a){var b=0,c=0;c=5;a:{b:{c:{d:{e:{f:{if((a|0)<=1315009121){if((a|0)<=1232363883){if((a|0)<=1131442803){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1214603889){if((a|0)==1131442804){break b}if((a|0)!=1214346354){break c}break b}if((a|0)==1214603890){break b}if((a|0)!=1215655527){break c}break a}if((a|0)<=1298230883){if((a|0)==1232363884){break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}b=a+ -1298230884|0;if(b>>>0<=5){break f}b=a+ -1298494051|0;if(b>>>0>12){if((a|0)!=1298493028){break c}break b}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break b}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727){break b}if((a|0)!=1332898664){break c}break b}b=a+ -1349020777|0;if(b>>>0<=7){break e}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}b=a+ -1399809892|0;if(b>>>0<=11){break d}if((a|0)==1400468067|(a|0)==1416126817){break b}break c}switch(b-1|0){case 0:case 1:case 2:case 3:break c;default:break b}}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break c;default:break b}}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break c;default:break b}}c=4}return c}return 0}function Tl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-32|0;Da=g;d=r[a|0]|r[a+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;a:{if(d>>>0>13){break a}b:{c:{switch(d-1|0){default:if(b>>>0>255){break a}a=r[(a+b|0)+6|0];if(!a){break a}break b;case 3:f=r[a+7|0];d=r[a+6|0];q[g>>2]=a+14;f=(f|d<<8)>>>1|0;q[g+20>>2]=f;e=f<<1;d=(e+a|0)+16|0;q[g+4>>2]=d;d=d+e|0;q[g+8>>2]=d;d=d+e|0;q[g+12>>2]=d;q[g+16>>2]=d+e;q[g+24>>2]=((r[a+3|0]|r[a+2|0]<<8)-(f<<3)|0)+ -16>>>1;j=kt(g,b,c);break a;case 5:b=b-(r[a+7|0]|r[a+6|0]<<8)|0;a=(r[a+9|0]|r[a+8|0]<<8)>>>0>b>>>0?((b<<1)+a|0)+10|0:271312;a=r[a|0]<<8|r[a+1|0];if(!a){break a}break b;case 9:e=b;b=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);b=e-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;e=((b<<1)+a|0)+20|0;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?e:271312;a=r[a|0]<<8|r[a+1|0];if(!a){break a}break b;case 11:j=lt(a,b,c);break a;case 0:case 1:case 2:case 4:case 6:case 7:case 8:case 10:break a;case 12:break c}}f=271710;e=a+12|0;a=e;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d:{if((a|0)<1){break d}a=a+ -1|0;while(1){e:{i=a+k>>>1|0;d=w(i,12)+e|0;h=d+4|0;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);f:{if((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0>b>>>0){a=i+ -1|0;break f}d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break e}k=i+1|0}if((k|0)<=(a|0)){continue}break d}break}f=(w(i,12)+e|0)+4|0}a=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break a}}q[c>>2]=a;j=1}Da=g+32|0;return j}function FI(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=498352;a:{b:{c:{b=r[498352];if(!b){break c}j=a+368|0;f=q[a+352>>2];k=f+152|0;l=f+80|0;m=f+60|0;h=a+412|0;c=498352;while(1){d:{e:{f:{g:{g=b&255;if(g>>>0>12){if((g|0)!=61){break e}b=q[a+424>>2];if((b|0)!=q[a+428>>2]){break g}g=k;break f}h:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break e;default:break h}}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=0;c=ic(a,f,q[a+428>>2],0);if(c){o[c+32|0]=1}c=r[e|0];q[a+424>>2]=q[a+428>>2];c=c?e+1|0:e;e=c;break d}if(q[a+420>>2]==(b|0)){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=0;g=ic(a,m,q[a+428>>2],8);if(!g){break b}b=q[a+428>>2];d=q[g>>2];if((b|0)==(d|0)){while(1){b=q[f+92>>2];if((b|0)==q[f+88>>2]){if(!Ya(l)){q[g>>2]=0;break a}b=q[f+92>>2]}c=r[d|0];q[f+92>>2]=b+1;o[b|0]=c;c=r[d|0];d=d+1|0;if(c){continue}break}c=q[f+96>>2];q[f+96>>2]=q[f+92>>2];q[g>>2]=c;if(!c){break b}b=q[a+428>>2]}q[a+424>>2]=b}while(1){i:{c=e+1|0;i=q[a+420>>2];j:{d=r[e+1|0];if(d>>>0>12){break j}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;default:break i}}if((b|0)==(i|0)){if(!Ya(h)){break a}d=r[c|0];b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=d;b=q[a+424>>2];e=c;continue}break}if((b|0)==(i|0)){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;i=0;o[b|0]=0;if(xk(a,g,0,q[a+428>>2],j)){break b}q[a+424>>2]=q[a+428>>2];c=r[e+1|0]?e+2|0:c;e=c;break d}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(h)){break a}d=q[a+424>>2];b=r[e|0]}q[a+424>>2]=d+1;o[d|0]=b;e=e+1|0}if(!r[c|0]){break c}b=r[e|0];continue}}i=1}return i}return 0}function Bn(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,s=0,u=0,v=0,w=0;d=q[a+16>>2];i=r[d+6|0]<<8|r[d+7|0]&254;a:{if(!i){break a}e=q[b>>2]+((c|0)!=0)|0;if(e>>>0>65535){break a}h=q[a>>2];s=q[h+508>>2]+q[h+512>>2]|0;a=i>>>1|0;v=a>>>0>1?a:1;w=a+ -1|0;o=d+14|0;j=(d+i|0)+16|0;b:{c:{while(1){k=r[j+1|0]|r[j|0]<<8;if(e>>>0>>0?!c:0){break b}e=e>>>0>=k>>>0?e:k;l=j+i|0;g=l+i|0;d:{e:{f=r[o+1|0]|r[o|0]<<8;if(!((f|0)!=65535|u>>>0>>0|(k|0)!=65535)){m=g+2|0;while(1){if(e>>>0>65535){break e}a=r[l|0]|r[l+1|0]<<8;f=(a<<24|a<<8&16711680)>>16;d=r[g+1|0]|r[g|0]<<8;a=(d|0)!=0&d+m>>>0>s>>>0;f=a?1:f;f:{g:{h:{a=a?0:d;if(a){if((a|0)==65535){break e}a=((a+(e<<1)|0)+g|0)+ -131070|0;if(a>>>0>s>>>0?c:0){break e}a=r[a+1|0]|r[a|0]<<8;if(a){break h}d=0;break g}a=e+f|0;d=a&65535;if(!c){p=d;break b}if(d>>>0>2]){break g}if((a|0)>=0){if((f|0)<1|(a|0)>65535){break e}d=0;a=65536-f|0;break f}d=0;a=0-f|0;break f}a=a+f&65535;d=a>>>0>2]?a:0}a=e}if(d|!c){break c}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break b}while(1){if(e>>>0>f>>>0){break e}a=r[l|0]|r[l+1|0]<<8;n=(a<<24|a<<8&16711680)>>16;a=r[g+1|0]|r[g|0]<<8;i:{if(a){if((a|0)==65535){break e}a=(a+(e-k<<1)|0)+g|0;if(a>>>0>s>>>0?c:0){break e}a=r[a+1|0]|r[a|0]<<8;if(!a){d=0;a=e;break i}a=a+n&65535;d=a>>>0>2]?a:0;a=e;break i}m=e+n|0;d=m&65535;if(!c){p=d;break b}a=e;if(d>>>0>2]){break i}a=f+n|0;if(!((a|0)<0|(m|0)>-1)){d=0;a=0-n|0;break i}if((a|0)<65536|(m|0)>65535){break e}d=0;a=65536-n|0}if(d|!c){break d}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break b}j=j+2|0;o=o+2|0;u=u+1|0;if((v|0)!=(u|0)){continue}break b}break}e=a;p=d;break b}e=a;p=d}if(!c){break a}q[b>>2]=e}return p}function Oy(a,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=Da-16|0;Da=e;q[a+796>>2]=0;q[a+800>>2]=0;q[a+788>>2]=0;q[a+792>>2]=0;g=a+796|0;h=a+788|0;a:{b:{c:{d:{if(!n[q[a+516>>2]](a,1128418371,b,e+12|0)){c=2;break d}c=1;if(!n[q[a+516>>2]](a,1161972803,b,e+12|0)){break d}if(!n[q[a+516>>2]](a,1651273571,b,e+12|0)){break d}c=n[q[a+516>>2]](a,1935829368,b,e+12|0)|0;if(c){break c}c=3}q[g>>2]=c;if(t[e+12>>2]<8){c=3;break c}i=a+800|0;j=q[b+8>>2];e:{c=q[g>>2];d=c+ -1|0;if(d>>>0<=2){f:{if(d-2){c=Bc(b,q[e+12>>2],h);if(c){break c}f=q[e+12>>2];q[a+792>>2]=f;c=q[a+788>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);if((r[c+1|0]<<16|r[c|0]<<24|65536)!=196608){c=r[c+2|0]|r[c+3|0]<<8;if(((c<<24|c<<8&16711680)>>>16|256)!=768){break e}}c=3;d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(d>>>0>65535){break c}if((w(d,48)|8)>>>0<=f>>>0){break f}d=(f+ -8>>>0)/48|0;break f}c=mb(b,8);if(c){break c}c=ob(b);f=ob(b);d=fc(b);jb(b);if(!c){break e}f=f+ -1|0;if(f>>>0>2){c=3;break c}c=3;if(!(f-1)|d>>>0>65535){break c}f=q[e+12>>2];c=Xa(b,q[b+8>>2]+ -8|0);if(c){break c}d=(d<<2)+8>>>0>f>>>0?f+ -8>>>2|0:d;c=(d<<2)+8|0;q[a+792>>2]=c;c=Bc(b,c,h);if(c){break c}}q[a+800>>2]=d;c=q[g>>2]}q[a+860>>2]=0;q[a+864>>2]=0;g=a;g:{h:{i:{if(c>>>0>3){break i}j:{switch(c-1|0){case 0:case 1:break i;case 2:break j;default:break b}}q[a+860>>2]=j;b=q[e+12>>2];break h}k:{if(!n[q[a+516>>2]](a,1128416340,b,e+8|0)){break k}if(!n[q[a+516>>2]](a,1161970772,b,e+8|0)){break k}if(!n[q[a+516>>2]](a,1650745716,b,e+8|0)){break k}b=q[a+864>>2];break g}q[a+860>>2]=q[b+8>>2];b=q[e+8>>2]}q[g+864>>2]=b}c=0;if(b){break a}break b}c=2}if(q[h>>2]){zb(b,h)}q[a+792>>2]=0;i=g}q[i>>2]=0}Da=e+16|0;return c|0}function TF(a,b,c,d){a=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=Da-48|0;Da=e;a:{b:{c:{d:{if(!Ta(b,4121)){if(d){b=Sb(c,e+12|0,10);q[e+16>>2]=b;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+20>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)){break b}if(r[c|0]==44){break d}break b}b=q[c>>2];break c}if(!Ta(b,4142)){if(d){f=6;if(Ta(c,4157)){break a}q[a+28>>2]=1;f=0;break a}f=7;if(q[c>>2]!=1){break a}q[a+28>>2]=1;f=0;break a}if(!Ta(b,4163)){if(d){l=a,m=(Sb(c,0,10)|0)!=0,o[l+32|0]=m;break a}o[a+32|0]=r[c|0];break a}f=12;if(Ta(b,4181)){break a}f=0;e:{if(d){b=Sb(c,0,10);break e}b=q[c>>2]}q[a+68>>2]=(b|0)>0?b:0;break a}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+24>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+28>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+32>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+36>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+40>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}d=c+1|0;l=e,m=Sb(d,e+12|0,10),q[l+44>>2]=m;f=q[e+12>>2];if((r[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break c}f=6;break a}f=6;d=q[c+8>>2];g=q[c+16>>2];if((d|0)>(g|0)|(b|0)>(d|0)){break a}h=q[c+28>>2];i=q[c+24>>2];j=q[c+20>>2];k=q[c+12>>2];c=q[c+4>>2];if((h|(i|(j|(k|(d|(c|b))|g))))<0|(h|0)>500|((j|0)>500|(k|0)>500)){break a}if((c|0)>500|(g|0)>(i|0)){break a}q[a+60>>2]=i;q[a+48>>2]=k;q[a+36>>2]=b;q[a- -64>>2]=h;q[a+56>>2]=j;q[a+52>>2]=g;q[a+44>>2]=d;q[a+40>>2]=c;f=0;break a}f=6}Da=e+48|0;return f|0}function qg(a,b){var c=0,d=0,e=0;a:{b:{d=a+ -247|0;if(d>>>0>7){if((a|0)==28){d=q[b+12>>2];a=q[b+4>>2];c:{if(d>>>0>=a>>>0){o[b+16|0]=1;c=271312;break c}c=d+q[b>>2]|0}e=r[c|0]<<8;c=d+1|0;d:{if(c>>>0>=a>>>0){o[b+16|0]=1;c=271312;break d}c=c+q[b>>2]|0}e=e|r[c|0];c=q[b+24>>2];e:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break e}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e<<16>>16;f:{if(r[b+16|0]|d>>>0>a>>>0){break f}d=d+2|0;if(d>>>0>a>>>0){break f}break b}break a}if(a+ -32>>>0<=214){d=a+ -139|0;a=q[b+24>>2];g:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<3)|0;break g}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}v[a>>3]=d|0;return}o[b+40|0]=1;q[b+24>>2]=0;return}h:{switch(d-4|0){case 0:case 1:case 2:case 3:c=(a<<16)+ -16449536>>8;d=q[b+12>>2];a=q[b+4>>2];i:{if(d>>>0>=a>>>0){o[b+16|0]=1;e=271312;break i}e=d+q[b>>2]|0}e=-108-(c+r[e|0]|0)|0;c=q[b+24>>2];j:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break j}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e|0;k:{if(r[b+16|0]|d>>>0>a>>>0){break k}d=d+1|0;if(d>>>0>a>>>0){break k}break b}break a;default:break h}}c=(a<<8)+2304|0;d=q[b+12>>2];a=q[b+4>>2];l:{if(d>>>0>=a>>>0){o[b+16|0]=1;e=271312;break l}e=d+q[b>>2]|0}e=((c|r[e|0])<<16)+7077888>>16;c=q[b+24>>2];m:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break m}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e|0;n:{if(r[b+16|0]|d>>>0>a>>>0){break n}d=d+1|0;if(d>>>0>a>>>0){break n}break b}o[b+16|0]=1;q[b+12>>2]=a;return}q[b+12>>2]=d;return}o[b+16|0]=1;q[b+12>>2]=a}function K$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-112|0;Da=f;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}q[f+24>>2]=0;q[f+28>>2]=0;o[f+20|0]=1;b=0;q[f+16>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+68>>2]=0;q[f+72>>2]=0;o[f- -64|0]=1;q[f+60>>2]=0;q[f+76>>2]=0;q[f+80>>2]=0;q[f+84>>2]=0;q[f+88>>2]=0;q[f+92>>2]=0;q[f+96>>2]=0;q[f+100>>2]=0;q[f+104>>2]=0;q[f+8>>2]=1;q[f+12>>2]=1;q[f+4>>2]=e;q[f>>2]=g;q[f+52>>2]=1;q[f+56>>2]=1;b:{if(c){a=q[c>>2];if(!a){break b}while(1){b=r[g+5|0]|r[g+4|0]<<8;g=b?b+g|0:271312;j=r[g|0]<<8|r[g+1|0];c:{if(!j){break c}b=j+ -1|0;e=0;while(1){d:{i=b+e>>>1|0;k=(g+w(i,6)|0)+2|0;h=k;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);e:{if(h>>>0>a>>>0){b=i+ -1|0;break e}if((a|0)==(h|0)){break d}e=i+1|0}if((e|0)<=(b|0)){continue}break c}break}a=j>>>0>i>>>0?k:271312;a=r[a+4|0]<<8|r[a+5|0];bw(f,a?a+g|0:271312,d)}a=q[c+4>>2];if(!a){break b}c=c+4|0;g=q[f>>2];continue}}a=r[g+5|0];e=r[g+4|0];c=a|e<<8;c=c?c+g|0:271312;i=r[c|0]<<8|r[c+1|0];if(!i){break b}while(1){a=a&255|(e&255)<<8;a=a?a+g|0:271312;c=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;c=r[c+4|0]<<8|r[c+5|0];bw(f,c?a+c|0:271312,d);b=b+1|0;if((i|0)==(b|0)){break b}g=q[f>>2];a=r[g+5|0];e=r[g+4|0];continue}}Hm(f+52|0);La(q[f+92>>2]);q[f+92>>2]=0;q[f+84>>2]=0;q[f+88>>2]=0;La(q[f+80>>2]);q[f+80>>2]=0;q[f+72>>2]=0;q[f+76>>2]=0;Hm(f+8|0);La(q[f+48>>2]);q[f+48>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;La(q[f+36>>2]);Da=f+112|0}function $z(a,b){a=a|0;b=b|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,s=0,u=0,v=0;if(a+4>>>0>t[b+160>>2]){kb(b,8)}e=r[a+3|0]|r[a+2|0]<<8;if(e+a>>>0>t[b+160>>2]){if(q[b+164>>2]){kb(b,8)}e=q[b+160>>2]-a|0}if(e>>>0<=15){kb(b,8)}c=r[a+7|0];d=c|r[a+6|0]<<8;if(!(!(c&1)|t[b+164>>2]<2)){kb(b,8)}f=d&65534;if(e>>>0<(f<<2)+16>>>0){kb(b,8)}g=d>>>1|0;a:{if(t[b+164>>2]<2){break a}h=r[a+12|0];d=r[a+11|0]|r[a+10|0]<<8;c=r[a+9|0];i=c|r[a+8|0]<<8;k=c;c=r[a+13|0];if((k|c)&1){kb(b,8)}k=1<>>1|0;if(!((k|0)!=(d|0)|d>>>0>g>>>0|(i&65534)>>>0>>0)){if((d+((c|h<<8)>>>1|0)|0)==(g|0)){break a}}kb(b,8)}l=a+14|0;b:{if(t[b+164>>2]<2){break b}c=(f+l|0)+ -2|0;if((r[c|0]<<8|r[c+1|0])==65535){break b}kb(b,8)}if(!g){return 0}m=(a+f|0)+16|0;n=f+m|0;j=f+n|0;s=f+j|0;v=a+e|0;u=g+ -1|0;d=0;c=0;while(1){a=c;e=d;k=r[j|0]<<8;f=r[j+1|0];i=r[n|0];h=r[n+1|0];d=r[l+1|0]|r[l|0]<<8;c=r[m+1|0]|r[m|0]<<8;if(d>>>0>>0){kb(b,8)}f=f|k;c:{if(!o|c>>>0>e>>>0){break c}if(q[b+164>>2]){kb(b,8);break c}if(!(e>>>0<=d>>>0?a>>>0<=c>>>0:0)){p=p|1;break c}p=p|2}d:{if(!f){break d}if((f|0)!=65535){a=f+j|0;e:{f:{if(q[b+164>>2]){if(a>>>0>>0|((d-c<<1)+a|0)+2>>>0>v>>>0){break f}break e}if((d|0)==65535?!((o|0)!=(u|0)|(c|0)!=65535):0){break e}if(a>>>0>>0){break f}if(((d-c<<1)+a|0)+2>>>0<=t[b+160>>2]){break e}}kb(b,8)}if(!q[b+164>>2]|d>>>0<=c>>>0){break d}i=h|i<<8;e=c;while(1){h=r[a+1|0]|r[a|0]<<8;if(!(!h|(i+h&65535)>>>0>2])){kb(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((o|0)!=(u|0)|t[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}kb(b,8)}j=j+2|0;n=n+2|0;l=l+2|0;m=m+2|0;o=o+1|0;if((o|0)!=(g|0)){continue}break}return p|0}function Kl(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,u=0,v=0,w=0;e=Da-32|0;Da=e;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;if(!(!c|(!a|!b))){k=q[q[a+12>>2]+16>>2];g=q[b+16>>2];fY(q[(q[b+8>>2]<<2)+288752>>2],e+16|0,e+16|4);h=q[e+16>>2];a:{b:{if(d){if(!h){q[e+16>>2]=1145457748;break b}d=q[e+20>>2];if((d|0)==1145457748){break b}if(!d){q[e+20>>2]=1145457748;break b}q[e+24>>2]=1145457748;break b}if((h|0)==1145457748){break a}if(q[e+20>>2]!=1145457748){break b}q[e+20>>2]=0}d=q[(g<<2)+288704>>2];i=wg();_v(k,1196643650,e+16|0,d,i);if(rw(i)){break a}l=wg();q[e+12>>2]=-1;if(qe(i,e+12|0)){while(1){Zv(k,1196643650,q[e+12>>2],0,l);if(qe(i,e+12|0)){continue}break}}m=wg();_v(k,1196445523,e+16|0,d,m);o=wg();q[e+12>>2]=-1;if(qe(m,e+12|0)){while(1){Zv(k,1196445523,q[e+12>>2],o,0);if(qe(m,e+12|0)){continue}break}}c:{if(q[b+16>>2]==10){break c}n=(q[b+12>>2]<<3)+278512|0;f=q[n>>2];if((f|0)==5326){break a}h=0;while(1){g=f+273184|0;d=r[g|0];if(d){while(1){f=d&255;g=g+1|0;if(d<<24>>24<=-1){d=f>>>0<240;j=f>>>0<224;f=(j?31:d?15:7)&f;u=j?1:d?2:3;j=u;d=g;while(1){f=r[d|0]&63|f<<6;d=d+1|0;j=j+ -1|0;if(j){continue}break}g=g+u|0}q[e+12>>2]=-1;while(1){d:{if(!qe(i,e+12|0)){d=h;break d}v=e,w=Ub(q[a>>2],f),q[v+8>>2]=w;d=1;if(!sd(k,q[e+12>>2],e+8|0,1,1)){continue}}break}h=d;d=r[g|0];if(d){continue}break}}f=q[n+8>>2];n=n+8|0;if((f|0)!=5326){continue}break}if(!(h&255)){break a}if(q[b+16>>2]==10){break c}qw(l,o)}q[e+12>>2]=-1;if(!qe(l,e+12|0)){break a}while(1){d=q[e+12>>2];e:{if(d>>>0>=t[a+4>>2]){break e}d=(d<<1)+c|0;if(s[d>>1]!=16383){break e}p[d>>1]=q[b>>2]}if(qe(l,e+12|0)){continue}break}}vg(i);vg(l);vg(m);vg(o)}Da=e+32|0}function tz(a,b){a=a|0;b=b|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>t[b+160>>2]){kb(b,8)}c=r[a+6|0]|r[a+7|0]<<8|(r[a+8|0]<<16|r[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h+ -10>>>0)/11>>>0>=k>>>0?!(h>>>0<10|h>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(k){l=a+4|0;c=1;while(1){m=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);a=r[d+3|0]|r[d+4|0]<<8|(r[d+5|0]<<16|r[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[d+7|0]|r[d+8|0]<<8|(r[d+9|0]<<16|r[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){kb(b,8)}if(m>>>0>>0){kb(b,8)}a:{if(!e){break a}a=e+l|0;if(a>>>0>t[b+160>>2]){kb(b,8)}c=a+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>q[b+160>>2]-a>>>2>>>0){kb(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);j=i+r[a+3|0]|0;if(j>>>0>=1114112){kb(b,8)}if(i>>>0>>0){kb(b,8)}a=a+4|0;e=j+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+l|0;if(a>>>0>t[b+160>>2]){kb(b,8)}c=a+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(q[b+160>>2]-a>>>0)/5>>>0){kb(b,8);break d}if(!c){break c}}e=0;f=0;while(1){i=r[a+3|0];j=r[a+4|0];g=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);if(g>>>0>=1114112){kb(b,8)}if(g>>>0>>0){kb(b,8)}if(!(!q[b+164>>2]|(j|i<<8)>>>0>2])){kb(b,16)}a=a+5|0;e=g+1|0;f=f+1|0;if((c|0)!=(f|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 bx(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;e=q[a+4>>2];q[e+72>>2]=0;a:{if(!r[e+68|0]){break a}while(1){c=q[a>>2];l=(r[c+7|0]|r[c+6|0]<<8)+c|0;m=c+(r[c+5|0]|r[c+4|0]<<8)|0;j=q[e+76>>2];k=h>>>0>=j>>>0;g=0;b:{if(k){break b}f=q[q[e+88>>2]+w(h,20)>>2];g=2;if((f|0)==65535){break b}d=f;f=c+(r[c+3|0]|r[c+2|0]<<8)|0;d=d-(r[f|0]<<8|r[f+1|0])|0;g=1;if(d>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(d+f|0)+4|0]}d=g;c=r[c+1|0]|r[c|0]<<8;d=l+(r[m+((c>>>0>d>>>0?d:1)+w(c,i)|0)|0]<<3)|0;c:{if(!i){break c}c=q[(r[e+69|0]?80:72)+e>>2];if(k|!c){break c}if(!((r[d+5|0]|r[d+4|0]<<8)!=65535|(r[d+7|0]|r[d+6|0]<<8)!=65535|(r[d+1|0]|r[d|0]<<8))){if((r[d+3|0]|r[d+2|0]<<8)==16384){break c}}Zc(e,c+ -1|0,h+1|0);e=q[a+4>>2];j=q[e+76>>2];h=q[e+72>>2]}g=h+2|0;d:{if(g>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;f=r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,i))|0];i=r[c+6|0];k=r[c+7|0];if(r[b+8|0]?0:(h|0)==(j|0)){break d}c=(c+(k|i<<8)|0)+(f<<3)|0;if((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+4|0]<<8|r[c+5|0])==65535:0){break d}rb(e,h,g)}_w(b,a,d);e=q[a>>2];i=((r[d+1|0]|r[d|0]<<8)-(r[e+4|0]<<8|r[e+5|0])|0)/(r[e+1|0]|r[e|0]<<8)|0;c=q[a+4>>2];e=q[c+72>>2];if((e|0)==q[c+76>>2]){break a}e:{if(r[d+2|0]&64){d=q[c+40>>2];q[c+40>>2]=d+ -1;if((d|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=e;if(q[c+80>>2]==(e|0)){break f}}if(!Va(c,1,1)){break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+16>>2]=q[d+16>>2];f=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=f;e=q[c+72>>2];d=q[c+80>>2]}q[g+80>>2]=d+1}q[c+72>>2]=e+1}e=q[a+4>>2];if(!r[e+68|0]){break a}h=q[e+72>>2];continue}}}function Jc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=q[a>>2];a:{if(e){q[a>>2]=e+1;d=r[e|0];if(d){break a}q[a>>2]=0}c=q[a+4>>2];b:{c:{if(b){while(1){e=c;c=c+1|0;q[a+4>>2]=c;d=r[e|0];if(!d){d=0;break b}if(Pb(b,d)){continue}break c}}q[a+4>>2]=c+1;d=r[c|0];e=c}if((d&255)>>>0<192){break b}i=e+1|0;h=Wa(i);if((h|0)==-1){break a}c=d&255;d:{if(d&128){if(!(c&64)){break a}e:{if(!(c&32)){f=1;b=31;break e}if(!(c&16)){f=2;b=15;break e}if(!(c&8)){f=3;b=7;break e}f=4;b=3;if(!(c&4)){break e}if(c&2){break a}f=5;b=1}if((f|0)>(h|0)){break a}g=f+i|0;c=b&c;b=e;while(1){h=r[b+1|0];if((h&192)!=128){break a}b=b+1|0;c=h&63|c<<6;f=f+ -1|0;if(f){continue}break}break d}g=i;if((h|0)<=-1){break a}}if(c+ -65>>>0>125152){break a}k=g-e|0;if((k|0)<1){break a}b=295;e=0;while(1){f=b+e>>1;g=f<<3;h=q[g+486896>>2];f:{j=s[g+486900>>1];g=j>>>2|0;j=j&3;if(h+((j|0)==2?1:g)>>>0<=c>>>0){e=f+1|0;break f}if(c>>>0>>0){b=f+ -1|0;break f}g:{h:{b=j+ -1|0;if(b>>>0<=1){if(!(b-1)){break h}if((c^h)&1){break a}}g=a+8|0;i:{j:{b=p[(f<<3)+486902>>1]+c|0;if(b>>>0>=128){if(b>>>0<2048){d=0;c=192;e=6;break i}if(b>>>0<65536){d=6;c=224;e=12;break i}if(b>>>0<2097152){d=12;c=240;e=18;break i}if(b>>>0<67108864){d=18;c=248;e=24;break i}if((b|0)>-1){break j}g=0;break g}o[a+8|0]=b;g=(a+9|0)-g|0;break g}d=24;c=252;e=30}o[a+8|0]=b>>>e|c;c=a+9|0;e=((d>>>0)/6|0)+10|0;while(1){o[c|0]=b>>>d&63|128;c=c+1|0;i=(d|0)>5;d=d+ -6|0;if(i){continue}break}i=q[a+4>>2];g=(a+e|0)-g|0;break g}Qa(a+8|0,p[(f<<3)+486902>>1]+486416|0,g)}q[a+4>>2]=(i+k|0)+ -1;o[(a+8|0)+g|0]=0;q[a>>2]=a+9;d=r[a+8|0];break a}if((e|0)<=(b|0)){continue}break}break a}d=(d+ -65&255)>>>0<26?d+32|0:d}return d&255}function IX(a,b,c,d){var e=0,f=0,g=0;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;q[a+8>>2]=q[b+8>>2];q[a+24>>2]=0;q[a+28>>2]=0;o[a+20|0]=0;o[a+16|0]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;e=Sa(4744);a:{b:{if(e){q[a+28>>2]=593;q[a+36>>2]=e;f=q[a+32>>2];if(f>>>0<=512){g=e;e=f<<3;Na(g+e|0,0,4104-e|0)}e=513;q[a+32>>2]=513;break b}q[a+28>>2]=-1;e=q[a+32>>2];if(!e){break a}}Na(q[a+36>>2],0,e<<3)}o[a+40|0]=0;e=q[b+4>>2];f=q[b>>2];q[a+52>>2]=q[b+8>>2];q[a+44>>2]=f;q[a+48>>2]=e;q[a+128>>2]=0;q[a+132>>2]=0;o[a+73|0]=1;o[a+74|0]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;o[a+60|0]=0;q[a+56>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;o[a+81|0]=0;o[a+82|0]=0;o[a+83|0]=0;o[a+84|0]=0;o[a+85|0]=0;o[a+86|0]=0;o[a+87|0]=0;o[a+88|0]=0;b=Sa(560);c:{d:{if(b){q[a+96>>2]=20;q[a+104>>2]=b;e=q[a+100>>2];if(e>>>0<=9){Na(b+w(e,28)|0,0,w(10-e|0,28))}b=10;q[a+100>>2]=10;break d}q[a+96>>2]=-1;b=q[a+100>>2];if(!b){break c}}e=0;while(1){e:{if(b>>>0<=e>>>0){q[160750]=q[67834];b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break e}b=q[a+104>>2]+w(e,28)|0}q[b+20>>2]=0;q[b+24>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b+16|0]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=e+1|0;b=q[a+100>>2];if(e>>>0>>0){continue}break}}q[a+112>>2]=c;f:{g:{if(c){b=r[c+1|0]|r[c|0]<<8;if(b>>>0>1239){break g}}q[a+108>>2]=107;break f}if(b>>>0<=33899){q[a+108>>2]=1131;break f}q[a+108>>2]=32768}q[a+120>>2]=d;h:{if(d){b=r[d+1|0]|r[d|0]<<8;if(b>>>0>1239){break h}}q[a+116>>2]=107;return}if(b>>>0<=33899){q[a+116>>2]=1131;return}q[a+116>>2]=32768}function mN(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,r=0,s=0,t=0,u=0,v=0,x=0;i=Da-32|0;Da=i;a:{b:{if(!((f|0)<1|(g|0)<=0)){j=-1<>2]^-1;if(j&f){break b}if(g&j){break a}e=e<<6;j=d<<6;m=q[b+28>>2];if(m){d=q[b+20>>2];r=d+w(m,40)|0;n=e;s=e>>31;t=j;u=j>>31;while(1){q[d+24>>2]=q[d+24>>2]-j;q[d+28>>2]=q[d+28>>2]-j;q[d+32>>2]=q[d+32>>2]-e;q[d+36>>2]=q[d+36>>2]-e;o=q[d>>2];v=q[d+4>>2];k=q[d+12>>2];l=W$(k,k>>31,n,s);x=Ea;k=l;l=q[d+8>>2];p=W$(l,l>>31,t,u);k=k+p|0;l=Ea+x|0;l=k>>>0

>>0?l+1|0:l;q[d>>2]=o-k;q[d+4>>2]=v-(l+(o>>>0>>0)|0);d=d+40|0;if((r|0)!=(d|0)){continue}break}}q[b+4>>2]=q[b+4>>2]-j;d=q[b+12>>2]-j|0;q[b+12>>2]=d;q[b+8>>2]=q[b+8>>2]-e;q[b+16>>2]=q[b+16>>2]-e;e=q[b+40>>2];j=q[b+32>>2]+m|0;c:{if(e>>>0>>0){d=e<<1;e=d>>>0>64?d:64;while(1){d=e;e=d<<1;if(d>>>0>>0){continue}break}j=db(q[b+24>>2],w(d,40));e=0;if(!j){break c}q[b+40>>2]=d;q[b+24>>2]=j;m=q[b+28>>2];d=q[b+12>>2]}e=q[b+44>>2];q[i+16>>2]=e;j=m-e|0;q[i+20>>2]=j;q[i+8>>2]=0;q[i+12>>2]=0;k=d;d=f<<6;if((k|0)>=(d|0)){n=q[b+20>>2];il(n,e,j,n,i+16|0,q[b+24>>2],i+24|0,i+8|0,d);q[i+8>>2]=0;q[i+12>>2]=0}d=g<<6;if(q[b+16>>2]>=(d|0)){e=q[b+20>>2];hl(e,q[i+16>>2],q[i+20>>2],e,i+16|0,q[b+24>>2],i+24|0,i+8|0,d);q[i+8>>2]=0;q[i+12>>2]=0}if(q[b+4>>2]<=0){d=q[b+20>>2];il(d,q[i+16>>2],q[i+20>>2],q[b+24>>2],i+24|0,d,i+16|0,i+8|0,0)}if(q[b+8>>2]>=1){d=i+8|0}else{d=q[b+20>>2];hl(d,q[i+16>>2],q[i+20>>2],q[b+24>>2],i+24|0,d,i+16|0,i+8|0,0);d=i+8|0}e=q[i+20>>2];j=q[i+16>>2];q[b+32>>2]=0;q[b+28>>2]=e+j;e=gl(a,b,c,f,g,h,0,i+16|0,d)}Da=i+32|0;return e}I(437185,437145,727,437209);F()}I(437225,437145,728,437209);F()}I(437268,437145,729,437209);F()}function Gs(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,s=0,t=0,u=0,v=0,x=0,y=0;i=Da-16|0;Da=i;g=q[b>>2];e=g<<1;x=a,y=Oa(d,4,0,e,0,i+12|0),q[x+12>>2]=y;a:{if(q[i+12>>2]){break a}x=a,y=Oa(d,28,0,g,0,i+12|0),q[x+8>>2]=y;if(q[i+12>>2]){break a}x=a,y=Oa(d,16,0,e|1,0,i+12|0),q[x+24>>2]=y;if(q[i+12>>2]){break a}q[a>>2]=g;q[a+28>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+16>>2]=q[a+12>>2]+(g<<2);if(g){d=q[a+8>>2];b=q[b+8>>2];f=g;while(1){q[d>>2]=q[b>>2];q[d+4>>2]=q[b+4>>2];q[d+16>>2]=q[b+8>>2];b=b+12|0;d=d+28|0;f=f+ -1|0;if(f){continue}break}}e=0;b:{if(!c){break b}j=q[c>>2];k=q[c+8>>2];q[a+32>>2]=c;if(!j){break b}while(1){p=q[k>>2];if(p){m=q[k+8>>2];b=0;l=0;s=0;while(1){if(!b){s=r[m|0];m=m+1|0;b=128}c:{if(!(b&s)|g>>>0<=l>>>0){break c}h=q[a+8>>2]+w(l,28)|0;c=q[h+16>>2];if(c&4){break c}q[h+16>>2]=c|4;c=q[a+16>>2];q[h+20>>2]=0;d:{if(!e){break d}t=q[h>>2];v=t+q[h+4>>2]|0;f=e;d=c;while(1){n=q[d>>2];u=q[n>>2];if(!((v|0)<(u|0)|(q[n+4>>2]+u|0)<(t|0))){q[h+20>>2]=n;break d}d=d+4|0;f=f+ -1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;q[a+4>>2]=d;q[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=q[a+8>>2]+w(o,28)|0;b=q[f+16>>2];e:{if(b&4){break e}q[f+16>>2]=b|4;c=q[a+16>>2];q[f+20>>2]=0;f:{if(!e){break f}k=q[f>>2];l=k+q[f+4>>2]|0;b=e;d=c;while(1){h=q[d>>2];j=q[h>>2];if(!((l|0)<(j|0)|(j+q[h+4>>2]|0)<(k|0))){q[f+20>>2]=h;break f}d=d+4|0;b=b+ -1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;q[a+4>>2]=b;q[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Da=i+16|0;return q[i+12>>2]}function _n(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-32|0;Da=e;a:{b:{if(a>>>0>=b>>>0){break b}while(1){c=r[a|0];if((c|0)!=9?(c|0)!=32:0){break b}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b;break a}if(a>>>0>=b>>>0){break a}while(1){c=b+ -1|0;d=r[c|0];if((d|0)!=9?(d|0)!=32:0){break a}b=c;if(b>>>0>a>>>0){continue}break}}c:{d:{d=b-a|0;if(r[a|0]!=92|(d|0)<3){break d}f=o[a+1|0]+ -75|0;if(f>>>0>41){break d}c=1;e:{switch(f-1|0){case 40:if((d|0)<4){break d}c=0;if(r[a+2|0]!=40){break c}c=r[b+ -1|0]==41;break c;case 33:if((d|0)<7){break d}d=b+ -1|0;if(r[d|0]!=41){break d}if(Ta(a,1207)){break d}c=0;a=a+6|0;if(a>>>0>=d>>>0){break c}f:{g:while(1){f=0;b=0;while(1){h:{i:{h=o[a|0];g=h+ -32|0;if(g>>>0>12){if((h|0)==9){break h}break i}j:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 11:break j;default:break h}}q[(c<<2)+e>>2]=b;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue g}break f}g=h+ -48&255;if(g>>>0>9){break d}b=(w(b,10)+h|0)+ -48|0;f=(g>>>0<10)+f|0}a=a+1|0;if((d|0)!=(a|0)){continue}break}break}if((f|0)<1){break f}q[(c<<2)+e>>2]=b;c=c+1|0}a=(c|0)<4;c=0;if(a){break c}c=q[e>>2]!=q[e+8>>2]|q[e+4>>2]!=q[e+12>>2];break c;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:case 28:case 29:case 30:case 32:case 34:case 35:case 36:case 37:case 38:case 39:break d;case 26:break e;default:break c}}if((d|0)<7){break d}c=0;if(r[b+ -1|0]!=41){break c}c=1;if(!Ta(a,1214)){break c}c=!Ta(a,1220);break c}c=0}Da=e+32|0;return c}function Sr(a,b,c){var d=0,e=0,f=0,g=0;d=Da-112|0;Da=d;q[d+108>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;e=-1;a:{if(q[b+108>>2]==10){break a}c=pP(a,q[b+16>>2],b,d+104|0,d+108|0,d+100|0,d+88|0,c);if(!c){break a}a=q[b+108>>2];if((a|0)>=1){e=0;f=q[d+100>>2];while(1){if((f|0)==q[((e<<2)+b|0)+24>>2]){hb(q[b+16>>2],4,355123,0);break a}e=e+1|0;if((e|0)<(a|0)){continue}break}}b:{f=q[d+88>>2];c:{if(f){a=ab(1,40);e=ab(1,8);g=q[d+92>>2];q[e>>2]=q[d+88>>2];q[e+4>>2]=g;f=n[f](q[d+92>>2],0,0,0)|0;q[a+24>>2]=768;q[a+20>>2]=769;q[a+4>>2]=f;q[a+12>>2]=e;q[d+60>>2]=0;q[d+64>>2]=0;q[d+76>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+48>>2]=2;q[d+52>>2]=0;q[d+56>>2]=0;q[d+64>>2]=a;if(!jp(q[b+20>>2],d+48|0,q[d+104>>2],d+84|0)){break c}a=q[b+16>>2];q[d+32>>2]=c;hb(a,2,355176,d+32|0);e=-1;break a}if(Th(q[b+20>>2],c,q[d+104>>2],d+84|0)){a=q[b+16>>2];q[d+16>>2]=c;q[d+20>>2]=q[d+104>>2];hb(a,2,355208,d+16|0);e=-1;break a}if(!q[d+108>>2]|q[d+104>>2]>-1){break c}a=q[d+84>>2];if(q[a>>2]<1){break c}e=0;while(1){se(a);if(Th(q[b+20>>2],c,e,d+84|0)){break b}a=Jj(q[d+84>>2]);if(a){if(!Ta(a,q[d+108>>2])){break c}}e=e+1|0;a=q[d+84>>2];if((e|0)>2]){continue}break}}Tr(q[b+16>>2],q[d+84>>2]);a=q[d+84>>2];if(!(s[a+74>>1]?p[a+70>>1]!=(0-p[a+72>>1]|0):0)){c=a;e=wd(a,2);d:{if(e){f=s[e+70>>1];p[a+70>>1]=f;g=a;a=s[e+72>>1];p[g+72>>1]=a;a=f-a|0;break d}e=q[a- -64>>2];p[a+70>>1]=e;g=a;a=q[a+56>>2];p[g+72>>1]=a;a=e-a|0}p[c+74>>1]=a}a=q[b+108>>2];c=(a<<2)+b|0;e=q[d+84>>2];q[c- -64>>2]=e;f=q[d+100>>2];q[b+108>>2]=a+1;q[c+24>>2]=f;zl(e,v[b+112>>3]);e=q[b+108>>2]+ -1|0;break a}a=q[b+16>>2];q[d+4>>2]=e;q[d>>2]=c;hb(a,2,355208,d);e=-1}Da=d+112|0;return e}function Wx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=$i(q[a>>2]+148|0);c=t[c+16>>2]<8?271312:q[c+12>>2];if(r[c|0]<<8|r[c+1|0]){d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!h){break a}f=c+8|0;j=q[67828];while(1){k=Vx(f,a);b:{c:{d:{d=q[b>>2];if((d|0)>=0){c=d;g=q[b+4>>2];e=g+1|0;e=(e|0)>0?e:0;if(c>>>0>=e>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=db(q[b+8>>2],c<<2);if(d){break d}}q[b>>2]=-1}q[160744]=j;d=642976;break b}q[b>>2]=c;q[b+8>>2]=d;g=q[b+4>>2]}if(e>>>0>g>>>0){Na(q[b+8>>2]+(g<<2)|0,0,e-g<<2)}q[b+4>>2]=e;d=(q[b+8>>2]+(e<<2)|0)+ -4|0}q[d>>2]=k;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+f|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break a}c=_i(q[a>>2]+152|0);c=t[c+16>>2]<8?271312:q[c+12>>2];if(!(r[c|0]<<8|r[c+1|0])){break a}d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!h){break a}f=c+8|0;j=q[67828];while(1){k=Ux(f,a);e:{f:{g:{d=q[b>>2];if((d|0)>=0){c=d;g=q[b+4>>2];e=g+1|0;e=(e|0)>0?e:0;if(c>>>0>=e>>>0){break f}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=db(q[b+8>>2],c<<2);if(d){break g}}q[b>>2]=-1}q[160744]=j;d=642976;break e}q[b>>2]=c;q[b+8>>2]=d;g=q[b+4>>2]}if(e>>>0>g>>>0){Na(q[b+8>>2]+(g<<2)|0,0,e-g<<2)}q[b+4>>2]=e;d=(q[b+8>>2]+(e<<2)|0)+ -4|0}q[d>>2]=k;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+f|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}}function e$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+4>>2];a:{if(o[c+2|0]>-1){break a}b=q[a+44>>2];if(b>>>0<=7){e=q[f+72>>2];q[a+44>>2]=b+1;q[((b<<2)+a|0)+12>>2]=e;break a}q[a+44>>2]=0}b=r[c+3|0]|r[c+2|0]<<8&16128;b:{if(!b){break b}c=q[a+44>>2];if(!c){break b}c:{d:{if(c>>>0>2147483646){break d}e=q[a>>2];d=b+q[a+4>>2]|0;b=q[a+8>>2];b=((d-b|0)+8&-2)+b|0;if(t[e+20>>2]>b>>>0){break d}d=q[e+24>>2];if(d>>>0>>0|d-b>>>0>>0){break d}d=q[e+28>>2];q[e+28>>2]=d+ -1;if((d|0)>0){break c}}q[a+44>>2]=0;return}h=q[q[e>>2]+132>>2];while(1){c=c+ -1|0;q[a+44>>2]=c;e=q[((c<<2)+a|0)+12>>2];if(e>>>0>2]){c=r[b|0]|r[b+1|0]<<8;d=(c<<24|c<<8&16711680)>>16;i=d&1;c=q[f+96>>2];d=d&-2;e:{if((d|0)==-32768){c=c+w(e,20)|0;p[c+16>>1]=0;q[c+8>>2]=0;q[c+12>>2]=0;o[c+18|0]=0;break e}g=r[a+48|0];if((q[f+48>>2]&-2)==4){if(g){c=c+w(e,20)|0;if(!r[c+18|0]|q[c+12>>2]){break e}e=c;c=q[q[a>>2]+4>>2];c=W$(q[c+40>>2],q[c+44>>2],d,d>>31);q[e+12>>2]=(Ea&65535)<<16|c>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}e=w(e,20);if(!(q[(e+q[f+88>>2]|0)+4>>2]&h)){break e}c=c+e|0;if(q[c+8>>2]){break e}g=q[q[a>>2]+4>>2];d=W$(q[g+32>>2],q[g+36>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[c>>2]=d+q[c>>2];q[c+8>>2]=d;break e}if(g){c=c+w(e,20)|0;if(!r[c+18|0]|q[c+8>>2]){break e}e=c;c=q[q[a>>2]+4>>2];c=W$(q[c+32>>2],q[c+36>>2],d,d>>31);q[e+8>>2]=(Ea&65535)<<16|c>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}e=w(e,20);if(!(q[(e+q[f+88>>2]|0)+4>>2]&h)){break e}c=c+e|0;if(q[c+12>>2]){break e}g=q[q[a>>2]+4>>2];d=W$(q[g+40>>2],q[g+44>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[c+4>>2]=d+q[c+4>>2];q[c+12>>2]=d}if(i){break b}c=q[a+44>>2]}b=b+2|0;if(c){continue}break}}}function F$(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{while(1){d:{if((c|0)!=9){c=c+ -1|0;if(c>>>0>7){break c}e:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break c}if(c-1){break d}break b;case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break c}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}d=r[a+9|0];c=r[a+8|0];f=d|c<<8;if(!f){break c}g=a+4|0;while(1){c=((c&255)<<8|d)>>>0>e>>>0?((e<<1)+a|0)+10|0:271312;c=r[c|0]<<8|r[c+1|0];L_(c?c+a|0:271312,b,g);e=e+1|0;if((f|0)==(e|0)){break c}d=r[a+9|0];c=r[a+8|0];continue}}K_(a,b);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break c}break b;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 5:Pv(a,b);return;case 6:break e}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break c}f:{switch(c-1|0){default:Ov(a,b);return;case 0:Nv(a,b);return;case 1:break f}}Mv(a,b);return}if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}c=a;a=r[a+3|0]|r[a+2|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2])}return}c=a;a=r[a+3|0]|r[a+2|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2]);return}c=a;a=r[a+5|0]|r[a+4|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2])}function _y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0;e=Da-16|0;Da=e;j=q[b+28>>2];q[a+368>>2]=b;c=n[q[a+516>>2]](a,1851878757,b,e+8|0)|0;q[e+12>>2]=c;a:{if(c){break a}i=q[b+8>>2];c=lb(b,163296,a+344|0);q[e+12>>2]=c;if(c){break a}l=i+6|0;c=q[a+348>>2];h=l+w(c,12)|0;k=q[e+8>>2]+i|0;if(h>>>0>k>>>0){c=145;q[e+12>>2]=145;break a}d=a;g=j;if(s[a+344>>1]==1){c=Xa(b,h);q[e+12>>2]=c;if(c){break a}f=ib(b,e+12|0);q[a+360>>2]=f;c=q[e+12>>2];if(c){break a}o=a,r=Oa(j,12,0,f,0,e+12|0),q[o+364>>2]=r;c=q[e+12>>2];if(c){break a}c=mb(b,q[a+360>>2]<<2);q[e+12>>2]=c;if(c){break a}h=(f<<2|2)+h|0;c=q[a+364>>2];b:{if(!c){break b}f=q[a+360>>2];if((f|0)<1){break b}m=w(f,12)+c|0;while(1){o=e,r=lb(b,163356,c),q[o+12>>2]=r;f=q[c+4>>2]+(q[a+352>>2]+i|0)|0;q[c+4>>2]=f;if(!(f+s[c>>1]>>>0<=k>>>0?f>>>0>=h>>>0:0)){p[c>>1]=0}c=c+12|0;if(c>>>0>>0){continue}break}}jb(b);o=e,r=Xa(b,l),q[o+12>>2]=r;c=q[a+348>>2]}o=d,r=Oa(g,20,0,c,0,e+12|0),q[o+356>>2]=r;c=q[e+12>>2];if(c){break a}c=mb(b,w(q[a+348>>2],12));q[e+12>>2]=c;if(c){break a}d=q[a+356>>2];g=q[a+348>>2];c:{if(!g){c=d;g=0;break c}c=d;while(1){d=lb(b,163328,c);q[e+12>>2]=d;d:{if(d){break d}f=s[c+8>>1];if(!f){break d}d=q[c+12>>2]+(q[a+352>>2]+i|0)|0;q[c+12>>2]=d;if(d>>>0>>0|d+f>>>0>k>>>0){break d}e:{if(s[a+344>>1]!=1){break e}d=p[c+4>>1];if((d|0)>-1){break e}d=(d&65535)+ -32768|0;if(d>>>0>=t[a+360>>2]|!s[q[a+364>>2]+w(d,12)>>1]){break d}}c=c+20|0}g=g+ -1|0;if(g){continue}break}d=q[a+356>>2];g=q[a+348>>2]}c=(c-d|0)/20|0;d=Oa(j,20,g,c,d,e+12|0);q[a+348>>2]=c;q[a+356>>2]=d;jb(b);p[a+340>>1]=q[a+348>>2];c=q[e+12>>2]}Da=e+16|0;return c|0}function Um(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;j=Da-80|0;Da=j;d=r[c+3|0];e=q[b+4>>2];b=r[c+2|0];if(b&128){q[a+4>>2]=q[e+72>>2]}if(b&32){b=q[e+76>>2];c=q[e+72>>2]+1|0;q[a+8>>2]=c>>>0>b>>>0?b:c}d=d&15;a:{if(!d){break a}f=q[a+8>>2];c=q[a+4>>2];if(f>>>0<=c>>>0){break a}b=f-c|0;d=r[d+228528|0];k=d>>>4|0;h=k>>>0<2?k:2;l=d&15;i=l>>>0<2?l:2;o=h+i|0;if(b>>>0>>0){break a}d=q[e+76>>2];g=q[e+72>>2]+1|0;d=g>>>0>d>>>0?d:g;if(d-c>>>0>=2){kc(e,c,d);f=q[a+8>>2];c=q[a+4>>2];b=f-c|0}d=j;if(b>>>0>=2){kc(e,c,f);f=q[a+8>>2];c=q[a+4>>2]}b=q[e+88>>2];g=b+w(c,20)|0;m=w(h,20);d=Qa(d,g,m);n=w(i,20);p=Qa(d+40|0,(b+w(f,20)|0)+w(0-i|0,20)|0,n);e=b;if((h|0)!=(i|0)){sb(g+n|0,g+m|0,w(f-(c+o|0)|0,20));c=q[a+4>>2]}Qa(w(c,20)+e|0,p,n);Qa((b+w(q[a+8>>2],20)|0)+w(0-h|0,20)|0,d,m);if((k|0)==3){e=b+w(q[a+8>>2],20)|0;c=e+ -20|0;q[d+16>>2]=q[c+16>>2];f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f;f=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=f;e=e+ -40|0;f=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=f;f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;q[c+16>>2]=q[e+16>>2];e=q[d+4>>2];c=(b+w(q[a+8>>2],20)|0)+ -40|0;q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+16>>2]=q[d+16>>2];e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e}if((l|0)!=3){break a}c=b+w(q[a+4>>2],20)|0;q[d+16>>2]=q[c+16>>2];e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+24>>2];q[c>>2]=q[c+20>>2];q[c+4>>2]=e;e=q[c+32>>2];q[c+8>>2]=q[c+28>>2];q[c+12>>2]=e;q[c+16>>2]=q[c+36>>2];a=b+w(q[a+4>>2],20)|0;q[a+36>>2]=q[d+16>>2];b=q[d+12>>2];q[a+28>>2]=q[d+8>>2];q[a+32>>2]=b;b=q[d+4>>2];q[a+20>>2]=q[d>>2];q[a+24>>2]=b}Da=j+80|0}function wr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Da-32|0;Da=g;e=a;if(c){d=q[a+44>>2]}else{q[a+4>>2]=2147483647;q[a+44>>2]=0;q[a+16>>2]=-2147483648;q[a+8>>2]=2147483647;q[a+12>>2]=-2147483648;d=0}q[e+28>>2]=d;e=q[b+16>>2];f=q[b>>2];a:{if(f){while(1){j=(i<<3)+e|0;if(q[j>>2]+268435456>>>0>536870911|q[j+4>>2]+268435456>>>0>536870911){break a}i=i+1|0;if(i>>>0>>0){continue}break}}b:{c:{d:{if(!q[b+8>>2]){i=e;break d}i=e;while(1){f=r[q[b+20>>2]+k|0];j=f&3;d=j+ -1|0;if(d>>>0>2){break a}e=(j<<3)+e|0;j=f&4;f=j?i:e;e:{f:{switch(d-1|0){case 0:d=e+ -16|0;h=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=h;d=e+ -8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g+16>>2]=q[f>>2];q[g+20>>2]=d;if(ll(a,g)){break e}break a;case 1:d=e+ -24|0;h=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=h;d=e+ -16|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=e+ -8|0;h=q[d+4>>2];q[g+16>>2]=q[d>>2];q[g+20>>2]=h;d=q[f+4>>2];q[g+24>>2]=q[f>>2];q[g+28>>2]=d;if(!kl(a,g)){break a}break e;default:break f}}d=e+ -8|0;if(jl(a,q[d>>2],q[d+4>>2],q[f>>2],q[f+4>>2])){break e}break a}i=j?e:i;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)!=(i|0)){break c}}if((q[b+16>>2]+(q[b>>2]<<3)|0)==(i|0)){break b}}I(437092,437145,317,437162);F()}i=q[a+44>>2];j=q[a+28>>2];if(i>>>0>>0){k=q[a+16>>2];b=q[a+12>>2];l=q[a+8>>2];e=q[a+4>>2];d=q[a+20>>2];while(1){f=d+w(i,40)|0;h=q[f+36>>2];k=(k|0)>(h|0)?k:h;h=q[f+28>>2];b=(b|0)>(h|0)?b:h;h=q[f+32>>2];l=(l|0)>(h|0)?h:l;f=q[f+24>>2];e=(e|0)>(f|0)?f:e;i=i+1|0;if(i>>>0>>0){continue}break}q[a+16>>2]=k;q[a+12>>2]=b;q[a+8>>2]=l;q[a+4>>2]=e}l=1;if(c){break a}q[a+44>>2]=j}Da=g+32|0;return l}function Jt(a){var b=0,c=0;c=a>>>12|0;a:{if(c>>>0>17){break a}b:{switch(c-1|0){default:c=a+ -40|0;if(c>>>0<=23){b=r[c+255488|0];break a}if(a+ -160>>>0<=55){b=r[a+255352|0];break a}if((a&-8)==840){b=r[a+254728|0];break a}if(a+ -2304>>>0<=1271){b=r[a+253272|0];break a}if(a+ -3864>>>0>175){break a}b=r[a+252984|0];break a;case 0:if(a+ -4096>>>0<=159){b=r[a+252928|0];break a}if(a+ -5888>>>0<=239){b=r[a+251296|0];break a}if(a+ -6400>>>0<=415){b=r[a+251024|0];break a}if(a+ -6912>>>0<=335){b=r[a+250928|0];break a}if(a+ -7376>>>0<=47){b=r[a+250800|0];break a}if((a&-8)!=7672){break a}b=r[a+250552|0];break a;case 1:if(a+ -8200>>>0<=15){b=r[a+250032|0];break a}if(a+ -8288>>>0<=39){b=r[a+249960|0];break a}c=a&-8;if((c|0)!=9672){if((c|0)!=8432){break a}b=r[a+249856|0];break a}b=r[a+248624|0];break a;case 9:if(a+ -43008>>>0<=759){b=r[a+215296|0];break a}if((a&-64)!=43968){break a}b=r[a+215096|0];break a;case 14:if((a&-16)!=65024){break a}b=r[a+194104|0];break a;case 15:if(a+ -68096>>>0>79){break a}b=r[a+191048|0];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:break a;case 16:break b}}if(a+ -69632>>>0<=191){b=r[a+189592|0];break a}if(a+ -69888>>>0<=319){b=r[a+189528|0];break a}if(a+ -70272>>>0<=247){b=r[a+189464|0];break a}if(a+ -70656>>>0<=223){b=r[a+189328|0];break a}if(a+ -71040>>>0<=447){b=r[a+189168|0];break a}if((a&-64)==71680){b=r[a+188976|0];break a}if(a+ -72096>>>0<=255){b=r[a+188624|0];break a}if(a+ -72704>>>0<=183){b=r[a+188272|0];break a}if(a+ -72960>>>0<=175){b=r[a+188200|0];break a}if(a+ -73440>>>0>23){break a}b=r[a+187896|0]}return b}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;h=Da-1056|0;Da=h;c=h+1048|0;q[c>>2]=0;q[c+4>>2]=0;c=h+1040|0;q[c>>2]=0;q[c+4>>2]=0;q[h+1032>>2]=0;q[h+1036>>2]=0;q[h+1024>>2]=0;q[h+1028>>2]=0;a:{b:{c:{d:{c=r[b|0];e:{if(!c){j=-1;d=1;break e}while(1){if(!r[a+f|0]){break b}d=c&255;f=f+1|0;q[(d<<2)+h>>2]=f;d=(h+1024|0)+(d>>>3&28)|0;q[d>>2]=q[d>>2]|1<<(c&31);c=r[b+f|0];if(c){continue}break}d=1;j=-1;if(f>>>0>1){break d}}g=-1;k=1;break c}i=1;c=1;while(1){l=r[(c+j|0)+b|0];g=r[b+d|0];f:{if((l|0)==(g|0)){if((c|0)==(i|0)){e=e+i|0;c=1;break f}c=c+1|0;break f}if(l>>>0>g>>>0){i=d-j|0;e=d;c=1;break f}j=e;e=e+1|0;i=1;c=1}d=c+e|0;if(d>>>0>>0){continue}break}g=-1;e=0;d=1;k=1;c=1;while(1){m=r[(c+g|0)+b|0];l=r[b+d|0];g:{if((m|0)==(l|0)){if((c|0)==(k|0)){e=e+k|0;c=1;break g}c=c+1|0;break g}if(m>>>0>>0){k=d-g|0;e=d;c=1;break g}g=e;e=e+1|0;k=1;c=1}d=c+e|0;if(d>>>0>>0){continue}break}d=i}c=g+1>>>0>j+1>>>0;i=c?k:d;n=c?g:j;m=n+1|0;h:{if(Oc(b,i+b|0,m)){c=(n^-1)+f|0;i=(n>>>0>c>>>0?n:c)+1|0;o=f-i|0;c=0;break h}o=f-i|0;c=o}l=c;k=f+ -1|0;p=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=be(a,0,p);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+p|0}e=r[d+k|0];c=f;j:{k:{if(!(q[(h+1024|0)+(e>>>3&28)>>2]>>>(e&31)&1)){break k}c=f-q[(e<<2)+h>>2]|0;if(c){c=l?g?c>>>0>>0?o:c:c:c;break k}l:{c=m;e=c>>>0>g>>>0?c:g;j=r[e+b|0];if(j){while(1){if(r[d+e|0]!=(j&255)){break l}e=e+1|0;j=r[e+b|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c+ -1|0;if(r[c+b|0]==r[c+d|0]){continue}break}c=i;e=l;break j}c=e-n|0}e=0}g=e;d=c+d|0;continue}}d=0}Da=h+1056|0;return d}function FK(a,b,c,d){a=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=a+72|0;f=1;while(1){a=b;b=a+1|0;j=r[a+1|0];g=r[j+i|0]+ -3|0;if(g>>>0>26){continue}a:{switch(g-1|0){case 1:b:{if(f){break b}f=1;if((e|0)>=(c|0)){break b}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+2|0;continue;case 2:c:{if(f){break c}f=1;if((e|0)>=(c|0)){break c}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+3|0;continue;case 3:d:{if(f){break d}f=1;if((e|0)>=(c|0)){break d}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+4|0;continue;case 18:case 20:case 25:if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue;case 8:if((f|0)!=2){h=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=a+2;continue}f=2;if((h|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=b}e=e+1|0;h=12;f=0;continue;case 9:if((f|0)!=2){h=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=a+2;continue}f=2;if((h|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=b}e=e+1|0;h=13;f=0;continue;default:if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue;case 17:g=f+ -1|0;if(g>>>0>1){continue}f=0;if(g-1){continue}f=2;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;if(!r[g+12|0]){continue}e:{if(q[g+4>>2]==(b|0)|(j|0)!=32){break e}a=r[a+2|0];if((a|0)==32){break e}if(r[a+i|0]!=(h|0)){continue}}o[g+12|0]=0;continue;case 5:case 6:a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue;case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 7:case 13:break a}}a=(f|0)==2;f=2;if(a){continue}break}return e|0}function PO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;g=q[((b<<2)+a|0)- -64>>2];a:{if(Yc(g,c,d>>>0<=2?q[(d<<2)+355240>>2]:2568)){a=q[a+16>>2];q[f+16>>2]=c;hb(a,2,355093,f+16|0);a=0;break a}if(!(o[g+12|0]&1|t[a+8>>2]<56)){hP(q[g+84>>2])}i=q[a+4>>2];b=wd(g,2);b:{if(!(!b|s[b>>1]==65535)){d=s[b+4>>1];if(d){break b}}d=w(q[g+12>>2]>>>1&1,300)+400|0}c:{if(i>>>0<=d+150>>>0){break c}b=q[g+84>>2];if(q[b+72>>2]!=1869968492){break c}d=b+108|0;b=q[b+4>>2];b=(Ma(s[b+68>>1],q[q[b+88>>2]+20>>2])|0)/64|0;Qo(d,b,b)}if(XO(q[g+84>>2],f+44|0)){a=q[a+16>>2];q[f>>2]=c;hb(a,2,355093,f);a=0;break a}d:{if(!(e&4)){a=q[f+44>>2];break d}q[f+32>>2]=65536;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=-65536;a=0;b=wd(g,2);if(b){a=Ma(p[b+72>>1],q[q[g+88>>2]+20>>2])}oc(q[f+44>>2]+20|0,0,0-a|0);ce(q[f+44>>2]+20|0,f+24|0);oc(q[f+44>>2]+20|0,q[q[g+84>>2]+52>>2],a);a=q[f+44>>2];q[a+12>>2]=q[q[g+84>>2]+60>>2]}c=wd(g,2);d=wd(g,5);e:{if(!(e&3)){break e}i=e&2;e=e&1;h=(i<<1)+(e<<2)|0;b=a+20|0;if((h^32767)>1]){break e}q[160942]=0;j=a,k=qc(q[a+24>>2],h+p[a+22>>1]|0,8),q[j+24>>2]=k;if(q[160942]){break e}q[160942]=0;j=a,k=qc(q[a+28>>2],h+p[a+22>>1]|0,1),q[j+28>>2]=k;if(q[160942]){break e}h=e+(i>>>1|0)|0;if((h^32767)>1]){break e}q[160942]=0;j=a,k=qc(q[a+32>>2],h+p[a+20>>1]|0,2),q[j+32>>2]=k;if(q[160942]){break e}h=q[a+12>>2]+512>>10;a=q[q[g+88>>2]+20>>2];g=Hj(b);if(!(!e|!d)){e=Ma(p[d+8>>1],a);d=Ma(p[d+10>>1],(a|0)/2|0);if((e|0)>0|(d|0)<1){break e}Rr(b,h,g,e,d)}if(!i|!c){break e}d=Ma(p[c+28>>1],a);a=Ma(p[c+26>>1],(a|0)/2|0);if((d|0)<0|(a|0)<1){break e}Rr(b,h,g,d,a)}a=q[f+44>>2]}Da=f+48|0;return a}function XG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;g=Da-144|0;Da=g;h=q[a>>2];OF(a,b,q[e+12>>2],g+96|0,g+48|0,g);a:{if(!a){i=1;break a}i=2;b=0;while(1){m=q[(b<<3)+4212>>2]+ -3|0;b:{if(m>>>0<2?l&255:0){break b}p=b<<2;if(q[p+g>>2]){break b}k=q[(g+96|0)+p>>2];if(!k){k=q[e+12>>2]}c:{j=q[a>>2];f=n[q[j+4>>2]](j,40)|0;d:{if(!f){i=64;break d}o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;q[f+28>>2]=j;i=Vd(f,k);q[f+16>>2]=k;if(!i){break c}n[q[j+8>>2]](j,f)}l=m>>>0<2?(i&255)==81?1:l:l;break b}q[f+28>>2]=j;i=Xj(a,f,q[(g+48|0)+p>>2],c,d);j=q[f+28>>2];k=q[f+24>>2];if(k){n[k](f)}n[q[j+8>>2]](j,f);if(!i){i=0;break a}l=m>>>0<2?1:l}b=b+1|0;if((b|0)!=9){continue}break}}a=q[g+96>>2];if(a){n[q[h+8>>2]](h,a);q[g+96>>2]=0}a=q[g+100>>2];if(a){n[q[h+8>>2]](h,a);q[g+100>>2]=0}a=q[g+104>>2];if(a){n[q[h+8>>2]](h,a);q[g+104>>2]=0}a=q[g+108>>2];if(a){n[q[h+8>>2]](h,a);q[g+108>>2]=0}a=q[g+112>>2];if(a){n[q[h+8>>2]](h,a);q[g+112>>2]=0}a=q[g+116>>2];if(a){n[q[h+8>>2]](h,a);q[g+116>>2]=0}a=q[g+120>>2];if(a){n[q[h+8>>2]](h,a);q[g+120>>2]=0}a=q[g+124>>2];if(a){n[q[h+8>>2]](h,a);q[g+124>>2]=0}a=q[g+128>>2];if(a){n[q[h+8>>2]](h,a);q[g+128>>2]=0}Da=g+144|0;return((i|0)!=0)<<1}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;h=Da-16|0;Da=h;d=q[a+712>>2];q[h+12>>2]=0;a:{if(!d){break a}f=q[d+3092>>2];c=0;b:{if(f){break b}f=gb(q[a+100>>2],32,h+12|0);c=q[h+12>>2];if(c){break a}a=0;i=f;c=q[d+1372>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c+ -391|0;g=0;if(t[d+1356>>2]<=e>>>0){break c}g=q[q[d+1360>>2]+(e<<2)>>2];break c}e=q[d+3084>>2];g=0;if(!e){break c}g=n[q[e+20>>2]](c)|0}q[i>>2]=g;e=q[d+1376>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e+ -391|0;if(t[d+1356>>2]<=c>>>0){break d}a=q[q[d+1360>>2]+(c<<2)>>2];break d}c=q[d+3084>>2];if(!c){break d}a=n[q[c+20>>2]](e)|0}q[f+4>>2]=a;a=0;i=f;c=q[d+1384>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c+ -391|0;g=0;if(t[d+1356>>2]<=e>>>0){break e}g=q[q[d+1360>>2]+(e<<2)>>2];break e}e=q[d+3084>>2];g=0;if(!e){break e}g=n[q[e+20>>2]](c)|0}q[i+8>>2]=g;e=q[d+1388>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e+ -391|0;if(t[d+1356>>2]<=c>>>0){break f}a=q[q[d+1360>>2]+(c<<2)>>2];break f}c=q[d+3084>>2];if(!c){break f}a=n[q[c+20>>2]](e)|0}q[f+12>>2]=a;c=0;e=q[d+1392>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e+ -391|0;if(t[d+1356>>2]<=a>>>0){break g}c=q[q[d+1360>>2]+(a<<2)>>2];break g}a=q[d+3084>>2];if(!a){break g}c=n[q[a+20>>2]](e)|0}q[f+16>>2]=c;q[f+20>>2]=q[d+1400>>2];o[f+24|0]=r[d+1396|0];p[f+26>>1]=q[d+1404>>2];p[f+28>>1]=q[d+1408>>2];q[d+3092>>2]=f;c=q[h+12>>2]}a=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=a;a=q[f+28>>2];q[b+24>>2]=q[f+24>>2];q[b+28>>2]=a;a=q[f+20>>2];q[b+16>>2]=q[f+16>>2];q[b+20>>2]=a;a=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=a}Da=h+16|0;return c|0}function Rq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;c=s[a>>1];a:{if(c>>>0>3){break a}b:{c:{d:{switch(c-1|0){case 2:c=s[a+2>>1];if(c>>>0>=11|!(1151>>>c&1)){break a}d=q[(c<<16>>16<<2)+449240>>2];break c;case 1:c=s[a+2>>1];if(c>>>0>=3){break a}d=c+11|0;break c;case 0:break d;default:break c}}d=1;c=s[a+2>>1];if(c>>>0>1){break b}if(c-1){break c}d=2}e:{f:{g=(d<<4)+443732|0;g:{if(Ta(g,443952)){b=g;break g}i=s[a+4>>1];if(!i){d=q[a+12>>2];b=g;if((d|0)<1){break g}b=q[a+8>>2];c=0;while(1){h=r[b|0]>>>7|0;c=h+c|0;e=(h^1)+e|0;h=(d|0)>1;d=d+ -1|0;b=b+1|0;if(h){continue}break}b=443962;if(c<<1>(e|0)){break g}}b=g;if(i>>>0<256){break g}d=0;c=i+ -1033|0;if(c>>>0>8){break a}h:{switch(c-1|0){default:d=1;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break h}}b=w(d,14)+443970|0}if(Ta(b,443996)){if(Ta(b,444004)){break f}}d=0;e=q[a+8>>2];a=q[a+12>>2];if(!yL(e,a,f+12|0,f+8|0)){break a}c=Sa(w(q[f+12>>2],6)|1);if(!c){break a}d=c;b=Fq(e,f+4|0,a);if((b|0)>=1){while(1){d=Hk(q[f+4>>2],d)+d|0;e=b+e|0;a=a-b|0;b=Fq(e,f+4|0,a);if((b|0)>0){continue}break}}break e}i:{if(Ta(b,444013)){if(Ta(b,444019)){break i}}e=q[a+8>>2];b=q[a+12>>2];c=Sa(b<<1|1);if(!c){break b}d=c;if((b|0)>=1){while(1){d=Hk(r[e|0],d)+d|0;a=(b|0)>1;b=b+ -1|0;e=e+1|0;if(a){continue}break}}break e}d=0;if(Ta(b,443952)){break a}e=q[a+8>>2];b=q[a+12>>2];c=Sa(w(b,3)+1|0);if(!c){break a}d=c;if((b|0)>=1){while(1){g=o[e|0];a=g&255;e=e+1|0;if((g|0)<=-1){a=s[(a<<1)+443776>>1]}d=Hk(a,d)+d|0;a=(b|0)>1;b=b+ -1|0;if(a){continue}break}}}o[d|0]=0;if(wb(c,442872)){d=c;break a}La(c)}d=0}Da=f+16|0;return d}function vo(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,p=0,r=0,s=0;d=Da-16|0;Da=d;i=q[a+736>>2];f=q[a+104>>2];j=q[f+28>>2];e=d;a:{if(b){o[i+44|0]=1;c=n[q[a+516>>2]](a,1448493394,f,d+4|0)|0;break a}o[i+32|0]=1;c=n[q[a+516>>2]](a,1213612370,f,d+4|0)|0}q[e+8>>2]=c;b:{if(c){break b}l=q[f+8>>2];e=ib(f,d+8|0);c=q[d+8>>2];if(c){break b}c=Ib(f,2);q[d+8>>2]=c;if(c){break b}if((e|0)!=1){c=8;q[d+8>>2]=8;break b}e=Hb(f,d+8|0);c=q[d+8>>2];if(c){break b}f=Hb(f,d+8|0);c=q[d+8>>2];if(c){break b}g=gb(j,32,d+8|0);c:{if(b){q[i+52>>2]=g;break c}q[i+40>>2]=g}c=q[d+8>>2];if(c){break b}c=zo(q[a+104>>2],q[a+736>>2],e+l|0,g);q[d+8>>2]=c;if(c){break b}d:{e:{f:{if(!f){break f}k=q[a+104>>2];j=q[k+28>>2];c=Xa(k,f+l|0);q[d+12>>2]=c;if(c){break d}f=ib(k,d+12|0);c=q[d+12>>2];if(c){break d}e=ib(k,d+12|0);q[g+20>>2]=e;c=q[d+12>>2];if(c){break d}if(f&65472){break e}r=g,s=Oa(j,4,0,e,0,d+12|0),q[r+28>>2]=s;c=q[d+12>>2];if(c){break d}r=g,s=Oa(j,4,0,q[g+20>>2],0,d+12|0),q[r+24>>2]=s;c=q[d+12>>2];if(c){break d}if(!q[g+20>>2]){q[d+8>>2]=0;break f}e=f&15;l=e+1|0;f=f>>>4&3;j=(2<>2];if(c){break d}m=e&255|m<<8;e=(f|0)!=(h|0);h=h+1|0;if(e){continue}break}h=m>>>l|0;if(h>>>0>=t[g>>2]){break e}c=p<<2;q[c+q[g+24>>2]>>2]=h;e=j&m;if(e>>>0>=t[q[g+4>>2]+(h<<4)>>2]){break e}q[c+q[g+28>>2]>>2]=e;p=p+1|0;if(p>>>0>2]){continue}break}c=q[d+12>>2];q[d+8>>2]=c;if(c){break b}}c=0;q[d+8>>2]=0;if(b){o[i+45|0]=1;q[a+740>>2]=q[a+740>>2]|16;break b}o[i+33|0]=1;q[a+740>>2]=q[a+740>>2]|2;break b}c=8;q[d+12>>2]=8}q[d+8>>2]=c}Da=d+16|0;return c}function Vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-48|0;Da=d;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;o[d+44|0]=0;q[d+40>>2]=65536;q[d+8>>2]=0;q[d+12>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;c=q[b+32>>2];if((c|0)==-1){c=lc(b)}o[d+44|0]=1;q[d+40>>2]=c;c=q[b+12>>2];a:{if(c){b=n[c](b,1668112752,q[b+16>>2])|0;if(b){break a}}b=271312}b=HS(d+8|0,b);q[a+44>>2]=b;f=271312;b=b?b:271312;i=GS(t[b+16>>2]<4?271312:q[b+12>>2],d+8|0);q[a+4>>2]=271312;q[a>>2]=i;b=q[a+44>>2];b=b?b:271312;g=t[b+16>>2]<4?271312:q[b+12>>2];b=r[g+2|0]<<8|r[g+3|0];b:{if(!b){break b}j=b+ -1|0;b=0;while(1){c:{h=b+j>>>1|0;e=g+(h<<3)|0;c=r[e+4|0]<<8|r[e+5|0];d:{if(c){c=0-c|0;break d}c=5-(r[e+7|0]|r[e+6|0]<<8)|0}e:{if((c|0)<=-1){j=h+ -1|0;break e}if(!c){break c}b=h+1|0}if((b|0)<=(j|0)){continue}break b}break}f=(g+(h<<3)|0)+4|0}f:{if(!g){break f}b=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}b=b+g|0;if((r[b|0]<<8|r[b+1|0])!=14){break f}q[a+4>>2]=b}e=i?i:271312;q[a+12>>2]=e;g:{if(r[d+8|0]){c=570;break g}c=571;b=r[e|0]|r[e+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -4|0;if(b>>>0>8){break g}h:{switch(b-1|0){case 7:c=572;break g;case 0:case 1:case 2:case 3:case 4:case 5:case 6:break g;default:break h}}c=r[e+7|0];b=r[e+6|0];q[a+16>>2]=e+14;f=(c|b<<8)>>>1|0;q[a+36>>2]=f;c=f<<1;b=(c+e|0)+16|0;q[a+20>>2]=b;b=b+c|0;q[a+24>>2]=b;b=b+c|0;q[a+28>>2]=b;q[a+32>>2]=b+c;c=r[e+3|0];b=r[e+2|0];q[a+12>>2]=a+16;q[a+40>>2]=((c|b<<8)-(f<<3)|0)+ -16>>>1;c=573}q[a+8>>2]=c;Da=d+48|0}function wM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-32|0;Da=h;a:{g=q[b+72>>2];b:{if((g|0)==1651078259){break b}c:{d:{e:{if(!(r[q[b+156>>2]+42|0]&16)){break e}d=q[b+4>>2];e=q[b+12>>2];q[h+24>>2]=0;if(!(r[d+8|0]&8)|(!d|t[d+16>>2]<=e>>>0)){break e}f=q[q[d+540>>2]+132>>2];if(!f){break e}if(!n[f](d,e,h+12|0,h+8|0,h+16|0)){g=q[b+72>>2];break e}if(!jk(d,0)){f=q[d+540>>2];f:{while(1){g=Yc(d,q[h+12>>2],q[q[b+156>>2]+40>>2]&-1048581|4);if(g){break f}g=n[q[f+136>>2]](d,q[h+8>>2],b,q[d+84>>2])|0;if(g){break f}g:{if(!(r[d+8|0]&8)|t[d+16>>2]<=e>>>0){break g}g=q[q[d+540>>2]+132>>2];if(!g){break g}if(n[g](d,e,h+12|0,h+8|0,h+16|0)){continue}}break}q[b+72>>2]=1651078259;g=0}f=q[d+84>>2];h:{if(!f){break h}d=q[f+4>>2];e=q[d+84>>2];if(!e){break h}i=q[q[d+96>>2]+8>>2];if((f|0)==(e|0)){d=d+84|0}else{while(1){d=e;e=q[d+8>>2];if(!e){break h}if((f|0)!=(e|0)){continue}break}d=d+8|0}q[d>>2]=q[f+8>>2];d=q[f+20>>2];if(d){n[d](f)}Yf(f);n[q[i+8>>2]](i,f)}if(!g){break d}}g=1869968492;q[b+72>>2]=1869968492}if((g|0)==1869968492){e=q[a+148>>2];f=q[a+156>>2];break c}d=7;if(!a){break b}e=q[a+148>>2];if(!e){break b}while(1){f=q[e+8>>2];if(q[f+16>>2]==(g|0)){break c}e=q[e+4>>2];if(e){continue}break}break b}d=0;break b}if(!f){d=7;break b}if(!a){break a}g=a+148|0;while(1){d=0;a=n[q[f+60>>2]](f,b,c,0)|0;if(!a){break b}if((a&255)!=19){d=a;break b}e=q[(e?e+4|0:g)>>2];if(!e){d=a;break b}d=q[b+72>>2];i:{while(1){f=q[e+8>>2];if((d|0)==q[f+16>>2]){break i}e=q[e+4>>2];if(e){continue}break}d=a;break b}d=a;if(f){continue}break}}Da=h+32|0;return d}a=n[q[f+60>>2]](f,b,c,0)|0;Da=h+32|0;return a}function Gt(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=8;b=q[a>>2];g=tm(b);f=g>>>8|0;a:{b:{c:{if(b+ -2387>>>0<2){break c}c=1;d:{e:{f:{e=b+ -7394|0;if(e>>>0>20){break f}d=1<>>0<6){break e}if(b+ -2674>>>0<2){break c}if(b+ -7406>>>0<4){c=18;break c}if((b|0)==2641){d=12;e=7;break a}c=8;if((b|2)==70403){break c}c=3;if(b+ -70459>>>0<2){break c}g:{if((b|0)<=2810){if((b|0)==2432|(b|0)==2556){break g}break d}if((b|0)==2811){break c}if((b|0)!=3200){break d}}c=11;break c}c=18;break c}if((b&-2)==8208){c=11;break c}c=12;if((b|0)==9676){break c}d=0;c=g&127;if(c>>>0>=32){break b}}d=1<>>0>8){break i}d=2;j:{switch(c-1|0){case 7:c=b+ -2432>>>7|0;if(c>>>0>7){d=9;break a}k:{switch(c-5|0){case 0:d=b>>>0<3139?7:9;break a;case 1:d=b+ -3267>>>0>19?7:9;break a;default:break k}}d=12;break a;case 2:d=9;c=b+ -2560|0;if(c>>>0>=768){break a}d=q[(c>>>5&134217724)+267848>>2];break a;case 0:case 1:case 3:case 5:case 6:break i;case 4:break j;default:break a}}d=9;c=b+ -2560|0;if(c>>>0>=896){break a}d=q[(c>>>5&134217724)+267872>>2];break a}d=f;break a}d=d&263424?14:f;e=c}o[a+18|0]=e;o[a+19|0]=(b|0)==2817?7:d}function YQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Da-17408|0;Da=c;a:{if(!a){a=96;break a}d=q[b+4>>2];if(!d){a=20;break a}a=p[d+2>>1];b:{if(!a){break b}e=p[d>>1];if((e|0)<1){break b}f=q[d+12>>2];if(!f){a=20;break a}if(!q[d+4>>2]){a=20;break a}if((a|0)!=(p[((e<<1)+f|0)+ -2>>1]+1|0)){a=20;break a}a=19;if(r[b+8|0]&3){break a}b=q[b>>2];if(!b){a=20;break a}if(!q[b+4>>2]){break b}a=0;if(!q[b>>2]){break a}a=20;if(!q[b+12>>2]){break a}e=q[d+16>>2];q[c+16520>>2]=e;f=q[d+12>>2];a=c+16512|0;q[a>>2]=q[d+8>>2];q[a+4>>2]=f;a=q[d+4>>2];q[c+16504>>2]=q[d>>2];q[c+16508>>2]=a;d=q[b+12>>2];a=c+16488|0;q[a>>2]=q[b+8>>2];q[a+4>>2]=d;d=q[b+20>>2];a=c+16496|0;q[a>>2]=q[b+16>>2];q[a+4>>2]=d;a=q[b+4>>2];q[c+16480>>2]=q[b>>2];q[c+16484>>2]=a;q[c+16412>>2]=c+16384;a=e&256;q[c+16404>>2]=a?30:2;q[c+16400>>2]=a?256:32;q[c+16384>>2]=a?12:6;a=a?4096:64;q[c+16388>>2]=a;q[c+16396>>2]=a>>>6;q[c+16392>>2]=a>>>1;q[c+16408>>2]=c;a=c;c:{if(e&8){b=2}else{b=e>>>2&4;o[c+16548|0]=b;if(e&32){break c}b=b|1}o[a+16548|0]=b}a=q[c+16480>>2]+ -1|0;p[c+17330>>1]=a;q[c+17392>>2]=0;q[c+16544>>2]=638;q[c+16540>>2]=639;q[c+16536>>2]=640;q[c+16532>>2]=641;p[c+17328>>1]=0;p[c+16436>>1]=q[c+16484>>2];b=q[c+16492>>2];q[c+16440>>2]=b;o[c+16549|0]=(e>>>9^-1)&1;d=q[c+16488>>2];if((d|0)>=1){q[c+16440>>2]=b+w(a,d)}a=us(c+16384|0,0);if(a){break a}if(!r[c+16549|0]|r[c+16548|0]==2){break b}q[c+17392>>2]=0;q[c+16544>>2]=642;q[c+16540>>2]=643;q[c+16536>>2]=644;q[c+16532>>2]=645;p[c+17328>>1]=0;p[c+17330>>1]=s[c+16484>>1]+ -1;a=us(c+16384|0,1);if(a){break a}}a=0}Da=c+17408|0;return a|0}function zu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+24>>2];a:{b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){break b}d=q[a+36>>2]+(d<<5)|0;break a}o[a+20|0]=1}d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976}f=q[b>>2];c:{i=v[d>>3];d:{if(y(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+f|0;e:{if((h|0)<0){break e}d=q[b+4>>2];if(!d){break e}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(h>>>0>=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0){break e}f=q[a+92>>2];if(f>>>0<10){break c}}o[a+40|0]=1;return}d=q[a+4>>2];q[a+44>>2]=q[a>>2];q[a+48>>2]=d;o[a+60|0]=r[a+16|0];d=q[a+12>>2];q[a+52>>2]=q[a+8>>2];q[a+56>>2]=d;d=a+44|0;f:{if(f>>>0>2]){q[a+92>>2]=f+1;g=q[d+4>>2];e=q[a+104>>2]+w(f,28)|0;q[e>>2]=q[d>>2];q[e+4>>2]=g;q[e+24>>2]=q[d+24>>2];g=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=g;g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;break f}o[a+88|0]=1}g:{h:{f=q[b+4>>2];if(f){b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}k=q[67830];e=q[67828];b=q[67829];break g}e=r[f+4|0];g=(w(e,b+1|0)+f|0)+5|0;if(e){b=(w(e,h)+f|0)+5|0;while(1){j=r[b|0]|j<<8;b=b+1|0;e=e+ -1|0;if(e){continue}break}}e=(g+j|0)+ -1|0;b=jm(f,h)}q[a+44>>2]=e;q[a+68>>2]=h;q[a- -64>>2]=c;o[a+60|0]=0;q[a+56>>2]=0;q[a+52>>2]=k;q[a+48>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;o[a+16|0]=r[d+16|0]}function MQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Sa(40);q[c>>2]=0;f=V(a|0,1,c|0,4)|0;g=M()|0;k=a+216|0;while(1){a:{if(d){La(f);return 64}b:{c:{d:{e:{if(!b){q[161261]=0;j=Y(658,k|0,290132,a|0)|0;d=q[161261];q[161261]=0;e=-1;if(!d){break b}c=q[161262];if(!c){break b}e=N(q[d>>2],f|0,g|0)|0;if(e){break e}break a}q[161261]=0;d=q[161261];q[161261]=0;e=-1;if(!d){break c}c=q[161262];if(!c){break c}e=N(q[d>>2],f|0,g|0)|0;if(e){break d}break a}K(c|0);break b}K(c|0)}d=M()|0;if((e|0)==1){continue}q[161261]=0;j=Y(658,k|0,290132,a|0)|0;d=q[161261];q[161261]=0;e=-1;f:{if(!d){break f}c=q[161262];if(!c){break f}e=N(q[d>>2],f|0,g|0)|0;if(!e){break a}K(c|0)}d=M()|0;if((e|0)==1){continue}q[161261]=0;d=q[161261];q[161261]=0;e=-1;g:{if(!d){break g}c=q[161262];if(!c){break g}e=N(q[d>>2],f|0,g|0)|0;if(!e){break a}K(c|0)}}d=M()|0;if((e|0)==1){continue}h:{i:{if(!q[a+188>>2]){h=q[a+156>>2];j:{i=q[a+192>>2]+(q[a+160>>2]-q[a+172>>2]<<2)|0;d=q[i>>2];k:{if(!d){break k}e=q[d>>2];if((e|0)>(h|0)){break k}while(1){c=d;if((e|0)==(h|0)){break j}d=q[c+12>>2];if(d){e=q[d>>2];if((e|0)<=(h|0)){continue}}break}i=c+12|0}c=q[a+204>>2];if((c|0)>=q[a+200>>2]){q[161261]=0;Ba(661,a|0,1);d=q[161261];q[161261]=0;if(!d){break h}c=q[161262];if(!c){break h}if(N(q[d>>2],f|0,g|0)){break i}break a}q[a+204>>2]=c+1;b=q[a+196>>2]+(c<<4)|0;q[b>>2]=h;q[b+8>>2]=q[a+180>>2];q[b+4>>2]=q[a+184>>2];q[b+12>>2]=q[i>>2];q[i>>2]=b;La(f);return j}q[c+8>>2]=q[c+8>>2]+q[a+180>>2];q[c+4>>2]=q[c+4>>2]+q[a+184>>2]}La(f);return j}K(c|0)}d=M()|0;continue}break}P(d|0,c|0);F()}function df(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{if(!Ce(a,3434,2)){break b}if(!Ce(a,3437,2)){break b}e=1;c:{d:{while(1){b=r[a|0];d=b+ -9|0;if(d>>>0>36){break c}c=-1;e:{switch(d-1|0){default:a=a+1|0;continue;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 34:break c;case 35:break d;case 33:break e}}break}c=1}b=r[a+1|0];a=a+1|0;e=c}c=0;if(b<<24>>24<48){break a}c=a;while(1){f:{b=b&255;if(b>>>0>57){d=c;break f}f=(b+w(f,10)|0)+ -48|0;b=o[c+1|0];d=c+1|0;c=d;if((b|0)>47){continue}}break}c=w((a|0)==(d|0)?1:e,f);break a}a=a+2|0;e=1;g:{h:{while(1){b=r[a|0]+ -9|0;if(b>>>0>36){break g}i:{switch(b-1|0){default:a=a+1|0;continue;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 34:break g;case 35:break h;case 33:break i}}break}a=a+1|0;break g}a=a+1|0;e=-1}g=Ce(a,3437,2)?a:a+2|0;d=o[g|0];c=0;if((d|0)<48){break a}b=g;while(1){j:{a=b;b=-48;k:{c=d&255;if(c>>>0<58){break k}d=d<<24>>24;if((d|0)>=97){b=-87;if(c>>>0<103){break k}}if((d|0)<65){b=a;break j}b=-55;if(c>>>0<=70){break k}b=a;break j}f=(b+c|0)+(f<<4)|0;b=a+1|0;d=o[a+1|0];if((d|0)>47){continue}}break}c=w((b|0)==(g|0)?1:e,f)}return c<<8&16711680|c<<24|(c>>>8&65280|c>>>24)} +function Po(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;n=Da-16|0;Da=n;a:{if(!a|(c+1>>>0<3?b+1>>>0<=2:0)){break a}A=(c|0)/2|0;B=(b|0)/2|0;C=Hj(a);if((C|0)==2){break a}k=p[a>>1];if((k|0)<1){break a}H=q[a+4>>2];c=(c|0)<-1;D=c?0-A|0:A;R=D>>>16|0;N=D&65535;b=(b|0)<-1;E=b?0-B|0:B;S=E>>>16|0;O=E&65535;P=c?-1:1;T=0-P|0;Q=b?-1:1;U=0-Q|0;while(1){y=p[q[a+12>>2]+(I<<1)>>1];b:{if((F|0)==(y|0)){break b}z=-1;c=F;J=0;u=0;K=0;L=0;r=0;l=0;b=y;if((b|0)==-1){break b}while(1){c:{d:{if((c|0)!=(z|0)){k=(c<<3)+H|0;m=(b<<3)+H|0;q[n+8>>2]=q[k>>2]-q[m>>2];q[n+12>>2]=q[k+4>>2]-q[m+4>>2];k=yf(n+8|0);if(k){break d}break c}q[n+12>>2]=L;q[n+8>>2]=K;k=J}e:{if(!u){l=q[n+12>>2];m=q[n+8>>2];break e}o=(r|0)<0;m=o?-1:1;f=0-m|0;d=m;m=q[n+8>>2];v=(m|0)<0;g=v?f:d;s=(l|0)<0;t=s?-1:1;f=0-t|0;d=t;t=q[n+12>>2];x=(t|0)<0;M=x?f:d;G=(z|0)<0;f=0;d=m>>31;e=d+m^d;d=r>>31;i=d+r^d;f:{if((e>>>8|0)+i>>>0<=8190){d=w(e,i)+32768>>>16|0;break f}d=i&65535;d=w(d,e>>>16|0)+w(e,i>>>16|0)+(w(d,e&65535)+32768>>>16)|0}V=(g|0)<0?0-d|0:d;d=t>>31;j=d+t^d;d=l>>31;h=d+l^d;g:{if((j>>>8|0)+h>>>0<=8190){g=w(h,j)+32768>>>16|0;break g}d=h&65535;g=w(d,j>>>16|0)+w(j,h>>>16|0)+(w(d,j&65535)+32768>>>16)|0}g=((M|0)<0?0-g|0:g)+V|0;d=0;h:{if((g|0)<-61439){break h}d=v?-1:1;v=s?0-d|0:d;d=x?-1:1;o=o?0-d|0:d;g=g+65536|0;f=U;x=Q;if(e+(h>>>8|0)>>>0<=8190){e=w(e,h)+32768>>>16|0}else{s=e&65535;e=w(s,h>>>16|0)+w(h,e>>>16|0)+(w(s,h&65535)+32768>>>16)|0}d=(v|0)<0?0-e|0:e;if(j+(i>>>8|0)>>>0<=8190){e=w(i,j)+32768>>>16|0}else{e=j&65535;e=w(e,i>>>16|0)+w(i,j>>>16|0)+(w(e,i&65535)+32768>>>16)|0}d=d-((o|0)<0?0-e|0:e)|0;j=C?d:0-d|0;o=(j|0)<0;e=o?f:x;i=(u|0)<(k|0)?u:k;d=l+t|0;h=C?d:0-d|0;d=j>>31;d=d+j^d;v=d>>>8|0;i:{if(v+E>>>0<=8190){f=w(d,E)+32768>>>16|0;break i}f=w(d>>>16|0,O)+w(d,S)+(w(d&65535,O)+32768>>>16)|0}M=(e|0)<0?0-f|0:f;f=i>>31;e=f+i^f;x=e+(g>>>8|0)>>>0>8190;j:{if(!x){f=w(e,g)+32768>>>16|0;break j}f=e&65535;f=w(f,g>>>16|0)+w(g,e>>>16|0)+(w(f,g&65535)+32768>>>16)|0}s=(i|0)<0;k:{if((M|0)<=((s?0-f|0:f)|0)){f=bb(h,B,g);break k}f=bb(h,i,j)}o=o?T:P;h=r+m|0;h=C?0-h|0:h;d=v+D>>>0<=8190?w(d,D)+32768>>>16|0:w(d>>>16|0,N)+w(d,R)+(w(d&65535,N)+32768>>>16)|0;o=(o|0)<0?0-d|0:d;if(x){d=e&65535;d=w(d,g>>>16|0)+w(g,e>>>16|0)+(w(d,g&65535)+32768>>>16)|0}else{d=w(e,g)+32768>>>16|0}if((o|0)<=((s?0-d|0:d)|0)){d=bb(h,A,g);break h}d=bb(h,i,j)}z=G?b:z;J=G?u:J;K=G?r:K;L=G?l:L;if((b|0)!=(c|0)){r=d+A|0;u=f+B|0;while(1){l=(b<<3)+H|0;q[l>>2]=u+q[l>>2];q[l+4>>2]=r+q[l+4>>2];b=(b|0)<(y|0)?b+1|0:F;if((c|0)!=(b|0)){continue}break}}l=t}r=m;u=k;b=c}c=(c|0)<(y|0)?c+1|0:F;if((b|0)!=(z|0)?(c|0)!=(b|0):0){continue}break}k=p[a>>1]}F=y+1|0;I=I+1|0;if((I|0)>16){continue}break}}Da=n+16|0}function iw(a,b){var c=0,d=0,e=0;c=q[a+16>>2];a=1;e=q[Ac(b+136|0)>>2];d=q[(e?e:271312)+16>>2];e=d>>>11|0;b=q[Rc(b+140|0)>>2];d=q[(b?b:271312)+16>>2]|d<<21;b=c<<10|e;c=b;a:{b:{if((c|0)<987147?1:(c|0)<=987147?d>>>0>2743134887?0:1:0){if((c|0)<452609?1:(c|0)<=452609?d>>>0>1732289589?0:1:0){if((c|0)<196614?1:(c|0)<=196614?d>>>0>843062357?0:1:0){if((c|0)<192512?1:(c|0)<=192512?d>>>0>553651553?0:1:0){if((d|0)==1606425686&(c|0)==184326){break a}if((d|0)!=520097548|(c|0)!=192512){break b}break a}if((d|0)==553651554&(c|0)==192512){break a}if((d|0)!=734010454|(c|0)!=196614){break b}break a}if((c|0)<440321?1:(c|0)<=440321?d>>>0>1732288213?0:1:0){if((d|0)==843062358&(c|0)==196614){break a}if((d|0)!=1732286926|(c|0)!=440321){break b}break a}if((d|0)==1732288214&(c|0)==440321){break a}if((d|0)!=1732286668|(c|0)!=452609){break b}break a}if((c|0)<864259?1:(c|0)<=864259?d>>>0>2428547489?0:1:0){if((c|0)<501761?1:(c|0)<=501761?d>>>0>2092999333?0:1:0){if((d|0)==1732289590&(c|0)==452609){break a}if((d|0)!=2092999598|(c|0)!=489473){break b}break a}if((d|0)==2092999334&(c|0)==501761){break a}if((d|0)!=-1820280774|(c|0)!=851971){break b}break a}if((c|0)<931846?1:(c|0)<=931846?d>>>0>583055987?0:1:0){if((d|0)==-1866419806&(c|0)==864259){break a}if((d|0)!=557888902|(c|0)!=919558){break b}break a}if((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283){break a}if((d|0)!=1640033596|(c|0)!=962571){break b}break a}c:{if((c|0)<1071126?1:(c|0)<=1071126?d>>>0>4139790647?0:1:0){if((c|0)<1030155?1:(c|0)<=1030155?d>>>0>4072730923?0:1:0){if((c|0)<1017867?1:(c|0)<=1017867?d>>>0>4081118127?0:1:0){if((d|0)==-1551832408&(c|0)==987147){break a}if((d|0)!=-1560219632|(c|0)!=999435){break b}break a}if((d|0)==-213849168&(c|0)==1017867){break a}if((d|0)!=-629130764|(c|0)!=1028124){break b}break a}b=c+ -1030157|0;e=d+ -61346|0;if(e>>>0<4294905950){b=b+1|0}if(!b&e>>>0<=6|b>>>0<0){break c}b=c+ -1042444|0;e=d+8325780|0;if(e>>>0<8325780){b=b+1|0}if(!b&e>>>0>6|b>>>0>0){if((d|0)!=-222236372|(c|0)!=1030155){break b}break a}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}if((c|0)<1083427?1:(c|0)<=1083427?d>>>0>239092841?0:1:0){if((c|0)<1071139?1:(c|0)<=1071139?d>>>0>230704581?0:1:0){if((d|0)==-155176648&(c|0)==1071126){break a}if((d|0)!=226509528|(c|0)!=1071139){break b}break a}if((d|0)==230704582&(c|0)==1071139){break a}if((d|0)!=-150983126|(c|0)!=1083414){break b}break a}if((c|0)<1361973?1:(c|0)<=1361973?d>>>0>2852184657?0:1:0){if((d|0)==239092842&(c|0)==1083427){break a}if((d|0)!=243286402|(c|0)!=1083427){break b}break a}if((d|0)==-1442782638&(c|0)==1361973|(d|0)==-1442781604&(c|0)==1361973){break a}break b}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:break b;default:break a}}a=0}return a}function Jl(a,b,c,d,e){a=a|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(q[a+204>>2]==(d|0)?q[a+200>>2]==(b|0):0){break a}q[a+200>>2]=b;q[a+204>>2]=d;d=q[a+4>>2];if(!d){break a}f=Ma(q[a+8>>2],b);q[a+12>>2]=f;q[a+16>>2]=f+32&-64;f=d+ -1|0;if(!f){break a}d=a+20|0;while(1){h=Ma(q[d>>2],b);i=q[a+12>>2];j=h-i|0;g=j>>31;g=(g^g+j)<128?i:h;q[d+4>>2]=g;q[d+8>>2]=g+32&-64;d=d+12|0;f=f+ -1|0;if(f){continue}break}}b:{if(q[a+408>>2]==(e|0)?q[a+404>>2]==(c|0):0){break b}q[a+404>>2]=c;q[a+408>>2]=e;b=q[a+208>>2];c:{if(!b){break c}d=Ma(q[a+212>>2],c);q[a+216>>2]=d;q[a+220>>2]=d+32&-64;f=b+ -1|0;if(!f){break c}d=a+224|0;while(1){g=Ma(q[d>>2],c);h=q[a+216>>2];i=g-h|0;b=i>>31;b=(b^b+i)<128?h:g;q[d+4>>2]=b;q[d+8>>2]=b+32&-64;d=d+12|0;f=f+ -1|0;if(f){continue}break}}o[a+2492|0]=(c|0)<=34359737?(w(c,125)|0)>2]<<3:0;d=q[a+2480>>2];d:{if((d|0)<1){f=d;break d}while(1){if((Ma(d,c)|0)<33){f=d;break d}b=(d|0)>1;f=d+ -1|0;d=f;if(b){continue}break}}q[a+2484>>2]=f;b=q[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}b=q[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=Ma(q[d+8>>2],c)+e|0,q[k+28>>2]=l;k=d,l=Ma(q[d+12>>2],c)+e|0,q[k+24>>2]=l;k=d,l=Ma(q[d>>2],c)+e|0,q[k+16>>2]=l;k=d,l=Ma(q[d+4>>2],c),q[k+20>>2]=l;q[d+16>>2]=q[d+16>>2]+32&-64;d=d+32|0;b=b+ -1|0;if(b){continue}break}}g=q[a+412>>2];if(g){b=a+1448|0;f=a+416|0;while(1){d=q[a+1444>>2];e:{if(!d){break e}e=b;while(1){i=q[f>>2]-q[e>>2]|0;h=i>>31;if((Ma(h^h+i,c)|0)<=63){q[f+28>>2]=q[e+28>>2];q[f+24>>2]=q[e+24>>2];q[f+16>>2]=q[e+16>>2];q[f+20>>2]=q[e+20>>2];break e}e=e+32|0;d=d+ -1|0;if(d){continue}break}}f=f+32|0;g=g+ -1|0;if(g){continue}break}}g=q[a+928>>2];if(!g){break b}b=a+1964|0;f=a+932|0;while(1){d=q[a+1960>>2];f:{if(!d){break f}e=b;while(1){i=q[f>>2]-q[e>>2]|0;h=i>>31;if((Ma(h^h+i,c)|0)>=64){e=e+32|0;d=d+ -1|0;if(d){continue}break f}break}q[f+28>>2]=q[e+28>>2];q[f+24>>2]=q[e+24>>2];q[f+16>>2]=q[e+16>>2];q[f+20>>2]=q[e+20>>2]}f=f+32|0;g=g+ -1|0;if(g){continue}break}}}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,s=0,t=0,u=0;g=q[a+40>>2]-(a+32|0)|0;d=g;e=d+q[a+48>>2]|0;e=e<<24;s=a;c=q[a+8>>2];d=q[a+12>>2];b=$$(c,d,13);f=Ea;h=b;b=q[a+4>>2]+d|0;d=c;c=q[a>>2];d=d+c|0;if(d>>>0>>0){b=b+1|0}n=d;c=h^d;h=b;b=b^f;d=b;o=$$(c,b,17);j=Ea;b=(g<<24>>24)+ -1|0;if(b>>>0<=6){a:{switch(b-1|0){case 5:e=e|r[a+38|0]<<16;case 4:e=e|r[a+37|0]<<8;case 3:e=e|r[a+36|0];case 2:f=r[a+35|0];b=f>>>8|0;m=m|f<<24;e=b|e;case 1:f=r[a+34|0];b=f>>>16|0;m=m|f<<16;e=b|e;case 0:f=r[a+33|0];b=f>>>24|0;m=m|f<<8;e=b|e;break;default:break a}}m=r[a+32|0]|m}i=e^q[a+28>>2];b=i+q[a+20>>2]|0;k=m^q[a+24>>2];g=q[a+16>>2];f=k+g|0;if(f>>>0>>0){b=b+1|0}l=f;f=b;b=b+d|0;d=l;c=d+c|0;if(c>>>0>>0){b=b+1|0}u=c;g=b;c=o^c;d=b^j;o=$$(c,d,13);j=Ea;p=$$(k,i,16)^l;i=f^Ea;f=$$(n,h,32);h=f+p|0;b=Ea+i|0;b=h>>>0>>0?b+1|0:b;f=b;b=b+d|0;d=h;c=d+c|0;if(c>>>0>>0){b=b+1|0}n=c;c=c^o;l=b;d=b^j;k=$$(c,d,17);o=Ea;t=$$(p,i,21)^h;p=Ea^f;f=$$(u,g,32);g=f+t|0;b=Ea+p|0;j=g;g=g>>>0>>0?b+1|0:b;b=g+d|0;d=j;c=d+c|0;if(c>>>0>>0){b=b+1|0}i=c;f=c^k;h=b;d=b^o;k=$$(f,d,13);o=Ea;c=m;t=$$(t,p,16)^j;p=g^Ea;g=$$(n,l,32);l=g+t|0;b=Ea+p|0;j=l;l=d;d=j>>>0>>0?b+1|0:b;b=l+(d^e)|0;c=c^j;e=c+f|0;if(e>>>0>>0){b=b+1|0}m=e;c=e^k;g=b;e=b^o;l=$$(c,e,17);f=Ea;n=$$(t,p,21)^j;k=Ea^d;d=$$(i,h,32)^255;h=d+n|0;b=Ea+k|0;b=h>>>0>>0?b+1|0:b;d=b;b=b+e|0;e=h;c=e+c|0;if(c>>>0>>0){b=b+1|0}o=c;c=c^l;e=f;f=b;e=e^b;j=$$(c,e,13);l=Ea;i=$$(n,k,16)^h;k=d^Ea;d=$$(m,g,32);g=d+i|0;b=Ea+k|0;h=g;d=g>>>0>>0?b+1|0:b;b=d+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}m=c;c=c^j;g=b;e=b^l;j=$$(c,e,17);l=Ea;i=$$(i,k,21)^h;k=Ea^d;d=$$(o,f,32);f=d+i|0;b=Ea+k|0;h=f;d=f>>>0>>0?b+1|0:b;b=d+e|0;e=f;c=e+c|0;if(c>>>0>>0){b=b+1|0}o=c;c=c^j;f=b;e=b^l;j=$$(c,e,13);l=Ea;n=$$(i,k,16)^h;i=d^Ea;d=$$(m,g,32);g=d+n|0;b=Ea+i|0;h=g;d=g>>>0>>0?b+1|0:b;b=d+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}k=c;c=c^j;g=b;e=b^l;m=$$(c,e,17);j=Ea;n=$$(n,i,21)^h;i=Ea^d;d=$$(o,f,32);f=d+n|0;b=Ea+i|0;l=f;h=m;d=f>>>0>>0?b+1|0:b;b=d+e|0;e=f;c=e+c|0;if(c>>>0>>0){b=b+1|0}m=c;h=h^c;f=b;e=b^j;o=e;c=h;p=$$(n,i,16)^l;i=d^Ea;d=$$(k,g,32);g=d+p|0;b=Ea+i|0;b=g>>>0>>0?b+1|0:b;d=b;b=b+e|0;e=g;c=e+c|0;if(c>>>0>>0){b=b+1|0}n=c;c=b;j=$$(n,b,32);l=Ea;k=$$(p,i,21)^g;e=Ea^d;b=e;g=$$(k,b,16);d=Ea;e=$$(m,f,32);f=e+k|0;b=Ea+b|0;i=f;e=f>>>0>>0?b+1|0:b;m=e^d;b=m+l|0;d=j;j=g^f;f=j;d=d+f|0;if(d>>>0>>0){b=b+1|0}k=d;d=b;q[s>>2]=k;q[s+4>>2]=b;g=a;f=$$(h,o,13)^n;b=c^Ea;c=b;b=$$(f,b,17);l=Ea;o=b;b=e+c|0;e=f;c=e+i|0;if(c>>>0>>0){b=b+1|0}h=c;s=o^c;e=b^l;f=e;q[g+8>>2]=s;q[g+12>>2]=e;c=$$(j,m,21);q[a+24>>2]=c^k;g=d;d=Ea;q[a+28>>2]=g^d;g=$$(h,b,32);e=Ea;b=e;q[a+16>>2]=g;q[a+20>>2]=b;Ea=b^(d^f);return g^(c^s)}function yo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0;e=Da-16|0;Da=e;j=q[a+28>>2];f=Xa(a,c);q[e+12>>2]=f;a:{if(f){break a}f=ib(a,e+12|0);if(q[e+12>>2]){break a}if((f|0)!=1){q[e+12>>2]=8;break a}g=Hb(a,e+12|0);if(q[e+12>>2]){break a}i=ib(a,e+12|0);q[d>>2]=i;if(q[e+12>>2]){break a}if(!i){q[e+12>>2]=8;break a}f=0;l=Oa(j,4,0,i,0,e+12|0);if(q[e+12>>2]){break a}if(q[d>>2]){while(1){o=(f<<2)+l|0,r=Hb(a,e+12|0),q[o>>2]=r;if(q[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=Xa(a,c+g|0);q[e+12>>2]=f;if(f){break a}o=d,r=ib(a,e+12|0),p[o+8>>1]=r;if(q[e+12>>2]){break a}f=ib(a,e+12|0);q[d+12>>2]=f;if(q[e+12>>2]){break a}if(q[q[b+12>>2]>>2]!=s[d+8>>1]){q[e+12>>2]=8;break a}o=d,r=Oa(j,4,0,f,0,e+12|0),q[o+16>>2]=r;if(q[e+12>>2]){break a}if(q[d+12>>2]){b=s[d+8>>1];i=0;while(1){g=Oa(j,12,0,b&65535,0,e+12|0);q[q[d+16>>2]+(i<<2)>>2]=g;if(q[e+12>>2]){break a}b=0;if(s[d+8>>1]){f=0;while(1){h=ib(a,e+12|0);if(q[e+12>>2]){break a}k=ib(a,e+12|0);if(q[e+12>>2]){break a}m=ib(a,e+12|0);if(q[e+12>>2]){break a}b=g+w(f,12)|0;q[b+8>>2]=m<<16>>16<<2;q[b+4>>2]=k<<16>>16<<2;q[b>>2]=h<<16>>16<<2;f=f+1|0;b=s[d+8>>1];if(f>>>0>>0){continue}break}}i=i+1|0;if(i>>>0>2]){continue}break}}f=Oa(j,16,0,q[d>>2],0,e+12|0);q[d+4>>2]=f;if(q[e+12>>2]|!q[d>>2]){break a}b=Xa(a,q[l>>2]+c|0);q[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;o=g,r=ib(a,e+12|0),q[o>>2]=r;if(q[e+12>>2]){break a}i=ib(a,e+12|0);if(q[e+12>>2]){break a}b=ib(a,e+12|0);q[g+4>>2]=b;if(q[e+12>>2]){break a}if(i>>>0>b>>>0){q[e+12>>2]=8;break a}if(t[d+12>>2]>>0){q[e+12>>2]=8;break a}o=g,r=Oa(j,4,0,b,0,e+12|0),q[o+8>>2]=r;if(q[e+12>>2]){break a}f=0;b:{if(!q[g+4>>2]){b=0;break b}while(1){b=ib(a,e+12|0);q[q[g+8>>2]+(f<<2)>>2]=b;if(q[e+12>>2]){break a}if(t[d+12>>2]>b>>>0){f=f+1|0;b=q[g+4>>2];if(f>>>0>=b>>>0){break b}continue}break}q[e+12>>2]=8;break a}o=g,r=Oa(j,2,0,w(q[g>>2],b),0,e+12|0),q[o+12>>2]=r;if(q[e+12>>2]){break a}h=q[g+4>>2];m=q[g>>2];c:{if(!w(h,m)){break c}f=0;if(i){while(1){b=f+i|0;while(1){h=ib(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=b;h=q[g+4>>2];b=i;if(h>>>0>b>>>0){while(1){h=Ob(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=q[g+4>>2];if(b>>>0>>0){continue}break}}if(f>>>0>2],h)>>>0){continue}break c}}while(1){b=0;if(h){while(1){i=Ob(a,e+12|0);if(q[e+12>>2]){break a}p[q[g+12>>2]+(f<<1)>>1]=i;f=f+1|0;b=b+1|0;h=q[g+4>>2];if(b>>>0>>0){continue}break}m=q[g>>2]}if(f>>>0>>0){continue}break}}k=k+1|0;if(k>>>0>=t[d>>2]){break a}f=q[d+4>>2];b=Xa(a,q[(k<<2)+l>>2]+c|0);q[e+12>>2]=b;if(!b){continue}break}}if(l){n[q[j+8>>2]](j,l)}Da=e+16|0;return q[e+12>>2]}function jx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}f=q[q[d+88>>2]+w(c,20)>>2];e=2;if((f|0)==65535){break b}c=q[a>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,f,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);f=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+((c>>>0>e>>>0?e:1)+w(c,g)<<1)|0;f=f+((r[c|0]<<8|r[c+1|0])<<3)|0;c:{if(!g){break c}c=q[a+4>>2];d=q[(r[c+69|0]?80:72)+c>>2];if(!d){break c}e=q[c+72>>2];if(e>>>0>=t[c+76>>2]){break c}i=r[f+3|0];h=r[f+2|0]<<8;if(!(r[f+1|0]|r[f|0]<<8|((r[f+5|0]|r[f+4|0]<<8)!=65535|(r[f+7|0]|r[f+6|0]<<8)!=65535?i|h&768:0))){if((h|i)==16384){break c}}Zc(c,d+ -1|0,e+1|0)}e=q[a+4>>2];h=q[e+72>>2];i=h+2|0;d:{if(i>>>0>t[e+76>>2]){break d}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,g)+!c<<1)|0;c=j+((r[c|0]<<8|r[c+1|0])<<3)|0;if(!(r[c+2|0]<<8&768|r[c+3|0])|((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+5|0]|r[c+4|0]<<8)==65535:0)){break d}rb(e,h,i)}Tm(b,a,f);d=q[a+4>>2];e=q[d+72>>2];if((e|0)!=q[d+76>>2]){g=r[f|0];h=r[f+1|0];e:{if(r[f+2|0]&64){c=q[d+40>>2];q[d+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[d+69|0]){f:{if(q[d+92>>2]==q[d+88>>2]){c=e;if((c|0)==q[d+80>>2]){break f}}if(!Va(d,1,1)){break e}e=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[e+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[e>>2];q[c+4>>2]=f;q[c+16>>2]=q[e+16>>2];f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;e=q[d+72>>2];c=q[d+80>>2]}q[d+80>>2]=c+1}q[d+72>>2]=e+1}d=q[a+4>>2];if(!r[d+68|0]){break a}g=h|g<<8;c=q[d+72>>2];continue}break}if(!r[d+68|0]){break a}while(1){c=q[d+72>>2];if(c>>>0>=t[d+76>>2]){break a}g:{if(r[d+69|0]){e=d;h:{if(q[d+92>>2]==q[d+88>>2]){b=c;if(q[d+80>>2]==(c|0)){break h}}if(!Va(d,1,1)){break g}b=q[d+88>>2]+w(q[d+72>>2],20)|0;g=q[b+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=g;q[c+16>>2]=q[b+16>>2];f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;c=q[d+72>>2];b=q[d+80>>2]}q[e+80>>2]=b+1}q[d+72>>2]=c+1}d=q[a+4>>2];if(r[d+68|0]){continue}break}}Kc(d)}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;h=Da-16|0;Da=h;e=gb(q[a+100>>2],(q[a+16>>2]<<1)+396|0,h+4|0);d=q[h+4>>2];if(!d){q[e>>2]=a;d=q[a+16>>2];q[e+392>>2]=c;q[e+8>>2]=e+396;q[e+4>>2]=d;q[e+372>>2]=0;q[e+376>>2]=0;d=0;p[e+368>>1]=0;q[e+380>>2]=0;q[e+384>>2]=0;q[e+388>>2]=0;n=e,o=Vs(a),q[n+12>>2]=o;n=e,o=He(),q[n+16>>2]=o;f=q[e+8>>2];g=q[e>>2];l=q[g+92>>2];a=q[e+4>>2];if(a){while(1){p[(d<<1)+f>>1]=16383;d=d+1|0;if((a|0)!=(d|0)){continue}break}}a:{if(Ne(g,1970170211)){break a}k=-1;d=282296;while(1){c=q[d+8>>2];j=q[(c<<2)+284112>>2];a=q[j+4>>2];b:{if(!a){break b}if(q[d+16>>2]==10){m=(c|0)==q[q[e+392>>2]+16>>2];d=q[a>>2];if(d){while(1){c=a;a=Ub(g,d);q[h+12>>2]=a;c:{if(!a|a>>>0>=t[e+4>>2]){break c}a=(a<<1)+f|0;if((s[a>>1]&16383)!=16383){break c}p[a>>1]=i}d=Qf(g,d,h+12|0);while(1){a=q[h+12>>2];if(!(!a|d>>>0>t[c+4>>2])){d:{if(a>>>0>=t[e+4>>2]){break d}a=(a<<1)+f|0;if((s[a>>1]&16383)!=16383){break d}p[a>>1]=i}d=Qf(g,d,h+12|0);continue}break}a=c+8|0;d=q[c+8>>2];if(d){continue}break}}k=m?i:k;a=q[j+8>>2];d=q[a>>2];if(!d){break b}while(1){c=a;a=Ub(g,d);q[h+8>>2]=a;e:{if(!a|a>>>0>=t[e+4>>2]){break e}a=(a<<1)+f|0;j=s[a>>1];if((j&16383)!=(i&65535)){break e}p[a>>1]=j|16384}d=Qf(g,d,h+8|0);while(1){a=q[h+8>>2];if(!(!a|d>>>0>t[c+4>>2])){f:{if(a>>>0>=t[e+4>>2]){break f}a=(a<<1)+f|0;j=s[a>>1];if((j&16383)!=(i&65535)){break f}p[a>>1]=j|16384}d=Qf(g,d,h+8|0);continue}break}a=c+8|0;d=q[c+8>>2];if(d){continue}break}break b}Kl(e,d,f,0)}i=i+1|0;d=q[(i<<2)+284352>>2];if((i|0)!=86){continue}break}d=0;a=282296;while(1){if(q[a+16>>2]==10){Kl(e,a,f,0)}d=d+1|0;a=q[(d<<2)+284352>>2];if((d|0)!=86){continue}break}Kl(e,q[(k<<2)+284352>>2],f,1);a=Ub(g,48);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,49);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,50);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,51);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,52);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,53);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,54);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,55);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,56);if(!(!a|a>>>0>=t[e+4>>2])){a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=Ub(g,57);if(!a|a>>>0>=t[e+4>>2]){break a}a=(a<<1)+f|0;p[a>>1]=s[a>>1]|32768}a=q[q[e+392>>2]+12>>2];g:{if((a|0)==16383){break g}c=q[e+4>>2];if((c|0)<1){break g}d=0;while(1){i=(d<<1)+f|0;k=s[i>>1];if((k&16383)==16383){p[i>>1]=a|k&49152}d=d+1|0;if((c|0)!=(d|0)){continue}break}}$d(g,l);q[h+4>>2]=0;q[e+20>>2]=0;d=0}q[b>>2]=e;Da=h+16|0;return d}function wo(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,o=0,p=0,r=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=Da-16|0;Da=e;h=q[b+28>>2];l=q[a+736>>2];q[e>>2]=0;a:{b:{if(l){c:{if(!q[a+704>>2]){break c}d=n[q[a+516>>2]](a,1668702578,b,e+8|0)|0;q[e+12>>2]=d;if(d){break c}d=lb(b,q[e+8>>2]);q[e+12>>2]=d;if(d){break c}i=q[b>>2];j=q[b+32>>2];d:{if((fc(b)|0)!=65536){q[e+12>>2]=0;break d}o=Oa(h,4,0,q[l>>2],0,e+12|0);if(q[e+12>>2]){break d}r=Oa(h,4,0,q[l>>2],0,e+12|0);if(q[e+12>>2]){break d}u=Oa(h,4,0,q[l>>2],0,e+12|0);if(q[e+12>>2]){break d}c=ob(b);x=c&4095;d=ob(b);g=q[e+8>>2];if((x<<2)+d>>>0>g>>>0){q[e+12>>2]=8;break d}m=d+(j-i|0)|0;e:{if(!(c&32768)){break e}c=q[b+32>>2];i=q[b>>2];d=q[b+36>>2];q[b+32>>2]=m>>>0>>0?i+m|0:d;v=Dh(b,g,e);g=q[b+32>>2];j=q[b>>2];c=c-i|0;d=q[b+36>>2];q[b+32>>2]=c>>>0>>0?j+c|0:d;m=g-j|0}p=Oa(h,4,0,q[a+700>>2],0,e+12|0);f:{if(q[e+12>>2]){break f}if(x){z=q[e>>2];d=0;while(1){C=ob(b);i=ob(b);g:{if(i&32768){f=0;if(!q[l>>2]){break g}while(1){D=(f<<2)+o|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}break g}c=i&4095;if(c>>>0>=t[l+60>>2]){q[e+12>>2]=8;break f}g=q[l+64>>2];if(!g){q[e+12>>2]=8;break f}k=c;c=q[l>>2];Qa(o,g+(w(k,c)<<2)|0,c<<2)}h:{if(!(i&16384)){break h}f=0;if(!q[l>>2]){break h}while(1){D=(f<<2)+r|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;c=q[l>>2];if(f>>>0>>0){continue}break}f=0;if(!c){break h}while(1){D=(f<<2)+u|0,E=ob(b)<<16>>16<<2,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}}y=vo(l,i,o,r,u);if(y){j=q[b+32>>2];k=q[b>>2];c=q[b+36>>2];q[b+32>>2]=m>>>0>>0?k+m|0:c;A=j-k|0;i:{if(i&8192){g=Dh(b,q[e+8>>2],e+4|0);c=q[e+4>>2];k=g;break i}q[e+4>>2]=z;c=z;g=d;k=v}i=k;k=uj(b,q[e+8>>2],c?c:q[a+700>>2]);j:{k:{l:{if(!i|!k){break l}if((g|0)!=-1){f=0;if(!c){break k}while(1){d=s[i+(f<<1)>>1];if(t[a+700>>2]>d>>>0){j=(d<<2)+p|0;d=q[j>>2];D=j,E=Ma(q[k+(f<<2)>>2],y)+d|0,q[D>>2]=E}f=f+1|0;if((c|0)!=(f|0)){continue}break}break l}d=-1;if((c|0)!=q[a+700>>2]){break j}f=0;if(!c){break j}while(1){j=f<<2;c=j+p|0;d=q[c>>2];D=c,E=Ma(q[j+k>>2],y)+d|0,q[D>>2]=E;f=f+1|0;if(f>>>0>2]){continue}break}}d=-1;if((g|0)==-1){break j}}if(g){n[q[h+8>>2]](h,g)}d=0}if(k){n[q[h+8>>2]](h,k)}g=q[b>>2];c=q[b+36>>2];q[b+32>>2]=A>>>0>>0?g+A|0:c}m=m+C|0;B=B+1|0;if((B|0)!=(x|0)){continue}break}}i=q[a+700>>2];if(!i){break f}j=q[a+704>>2];d=0;while(1){g=d<<2;c=g+j|0;q[c>>2]=q[c>>2]+(q[g+p>>2]+512>>10);d=d+1|0;if((i|0)!=(d|0)){continue}break}}jb(b);if((v|0)==-1){break a}break b}jb(b);break b}}q[e+12>>2]=0}if(v){n[q[h+8>>2]](h,v)}}if(o){n[q[h+8>>2]](h,o)}if(r){n[q[h+8>>2]](h,r)}if(u){n[q[h+8>>2]](h,u)}if(p){n[q[h+8>>2]](h,p)}Ko(a+108|0,56);Da=e+16|0;return q[e+12>>2]}function Jy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0;e=Da-16|0;Da=e;l=q[a+100>>2];q[e+8>>2]=0;c=n[q[a+516>>2]](a,1129333068,b,e+4|0)|0;q[e+12>>2]=c;a:{b:{if(c){break b}c:{c=q[e+4>>2];if(c>>>0<12){break c}c=Bc(b,c,e+8|0);q[e+12>>2]=c;if(c){break b}c=q[e+8>>2];j=gb(l,20,e+12|0);if(q[e+12>>2]){break b}d=r[c|0]|r[c+1|0]<<8;h=(d<<24|d<<8&16711680)>>>16|0;p[j>>1]=h;if(h>>>0>1){break c}d=r[c+2|0]|r[c+3|0]<<8;t=(d<<24|d<<8&16711680)>>>16|0;p[a+660>>1]=t;d=r[c+4|0]|r[c+5|0]<<8;k=(d<<24|d<<8&16711680)>>>16|0;p[a+648>>1]=k;d=r[c+6|0]|r[c+7|0]<<8;i=(d<<24|d<<8&16711680)>>>16|0;p[j+2>>1]=i;g=k<<1;d=q[e+4>>2];if(g+12>>>0>d>>>0){break c}f=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(d>>>0<=m>>>0|t>>>0>i>>>0|i<<2>>>0>d-m>>>0){break c}c=c+12|0;q[j+8>>2]=c;f=q[e+8>>2];q[j+4>>2]=m+f;d:{if((h|0)!=1){break d}if(g+24>>>0>d>>>0){break c}c=c+g|0;h=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);i=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(d>>>0<=c>>>0|g>>>0>d-c>>>0){break c}d=Oa(l,2,0,k,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];k=d+(s[a+648>>1]<<1)|0;if(k>>>0>d>>>0){g=c+f|0;c=d;while(1){m=r[g|0]|r[g+1|0]<<8;p[c>>1]=(m<<24|m<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+656>>2]=d}c=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(c){d=q[e+4>>2];if(d>>>0<=c>>>0){break c}f=s[a+648>>1];if(f<<1>>>0>d-c>>>0){break c}d=Oa(l,2,0,f,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];h=d+(s[a+648>>1]<<1)|0;if(h>>>0>d>>>0){g=c+f|0;c=d;while(1){k=r[g|0]|r[g+1|0]<<8;p[c>>1]=(k<<24|k<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+652>>2]=d}c=i<<8&16711680|i<<24|(i>>>8&65280|i>>>24);if(!c){break d}d=q[e+4>>2];if(d>>>0<=c>>>0){break c}f=s[a+660>>1];if(f<<1>>>0>d-c>>>0){break c}d=Oa(l,2,0,f,0,e+12|0);if(q[e+12>>2]){break b}f=q[e+8>>2];h=d+(s[a+660>>1]<<1)|0;if(h>>>0>d>>>0){g=c+f|0;c=d;while(1){i=r[g|0]|r[g+1|0]<<8;p[c>>1]=(i<<24|i<<8&16711680)>>>16;g=g+2|0;c=c+2|0;if(c>>>0>>0){continue}break}}q[a+664>>2]=d}q[j+12>>2]=f;q[j+16>>2]=q[e+4>>2];q[a+868>>2]=j;f=Oa(l,4,0,s[a+660>>1],0,e+12|0);q[a+672>>2]=f;if(q[e+12>>2]){break b}c=q[a+868>>2];if(!c|!s[a+648>>1]){break c}d=q[c+8>>2];g=r[d|0]<<8|r[d+1|0];d=s[a+660>>1];if(g+d>>>0>s[c+2>>1]){break c}a=0;if(!d){break a}d=(d<<2)+f|0;b=q[c+4>>2]+(g<<2)|0;while(1){o[f|0]=r[b|0];o[f+1|0]=r[b+1|0];o[f+2|0]=r[b+2|0];o[f+3|0]=r[b+3|0];b=b+4|0;f=f+4|0;if(f>>>0>>0){continue}break}break a}q[e+12>>2]=8}zb(b,e+8|0);if(j){n[q[l+8>>2]](l,j)}q[a+868>>2]=0;a=q[e+12>>2]}Da=e+16|0;return a|0}function ac(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=b>>>9|0;f=q[a+36>>2];b=0;a:{d=q[a+24>>2];b:{c:{if((d|0)>=1){i=q[a+28>>2];e=d+ -1|0;while(1){c=b+e>>>1|0;h=g-q[(c<<3)+i>>2]|0;d:{if((h|0)<=-1){e=c+ -1|0;break d}if(!h){b=c;break c}b=c+1|0}if((b|0)<=(e|0)){continue}break}}if(r[a+12|0]!=1){break b}e:{f:{d=q[a+32>>2];g:{if((d|0)<0){break g}c=f;e=c+1|0;e=(e|0)>0?e:0;if(d>>>0>>0){c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(c>>>0>>0|c>>>0>67108862){break a}d=db(q[a+40>>2],c<<6);if(!d){break a}q[a+32>>2]=c;q[a+40>>2]=d;c=q[a+36>>2]}if(e>>>0>c>>>0){Na(q[a+40>>2]+(c<<6)|0,0,e-c<<6)}q[a+36>>2]=e;h:{i:{j:{k:{d=q[a+20>>2];if((d|0)>=0){if(d>>>0>=e>>>0){break j}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=db(q[a+28>>2],c<<3);if(d){break k}}q[a+20>>2]=-1}b=q[a+32>>2];if((b|0)<0){break g}c=q[a+24>>2];f=(c|0)>0?c:0;if(b>>>0>=f>>>0){break h}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=f>>>0){continue}break}if(!(c>>>0>>0|c>>>0>67108862)){b=db(q[a+40>>2],c<<6);if(b){break i}}break a}q[a+20>>2]=c;q[a+28>>2]=d}c=q[a+24>>2];if(e>>>0>c>>>0){Na(q[a+28>>2]+(c<<3)|0,0,e-c<<3)}q[a+24>>2]=e;if(t[a+36>>2]>f>>>0){break f}c=q[67843];q[160758]=q[67842];q[160759]=c;c=q[67841];q[160756]=q[67840];q[160757]=c;c=q[67839];q[160754]=q[67838];q[160755]=c;c=q[67837];q[160752]=q[67836];q[160753]=c;c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break e}q[a+32>>2]=c;q[a+40>>2]=b}b=q[a+36>>2];if(f>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,f-b<<6)}q[a+36>>2]=f}o[a+12|0]=0;return 0}c=q[a+40>>2]+(f<<6)|0}q[c>>2]=0;q[c+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=b<<3;d=c+q[a+28>>2]|0;sb(d+8|0,d,q[a+24>>2]+(b^-1)<<3);l:{if(t[a+24>>2]<=b>>>0){c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break l}c=c+q[a+28>>2]|0}q[c>>2]=g;q[c+4>>2]=f;d=q[a+24>>2]}m:{if(d>>>0<=b>>>0){c=q[67829];q[160744]=q[67828];q[160745]=c;b=c;break m}b=q[(q[a+28>>2]+(b<<3)|0)+4>>2]}if(t[a+36>>2]<=b>>>0){a=q[67843];q[160758]=q[67842];q[160759]=a;a=q[67841];q[160756]=q[67840];q[160757]=a;a=q[67839];q[160754]=q[67838];q[160755]=a;a=q[67837];q[160752]=q[67836];q[160753]=a;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;return 642976}j=q[a+40>>2]+(b<<6)|0}return j}q[a+32>>2]=-1;o[a+12|0]=0;return 0}function Hl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,x=0;f=Da+ -64|0;Da=f;q[f+60>>2]=0;k=b+108|0;l=q[a+8>>2];a:{b:{c:{if(q[b+72>>2]!=q[a+16>>2]){q[f+60>>2]=6;break c}if((c|0)!=(e|0)){q[f+60>>2]=19;break c}if(o[q[b+156>>2]+4|0]&1){e=q[b+88>>2];if(e){n[q[l+8>>2]](l,e)}q[b+88>>2]=0;e=q[b+156>>2];q[e+4>>2]=q[e+4>>2]&-2}if(Vk(b,c,d)){q[f+60>>2]=98;break c}g=b+76|0;h=q[g>>2];d:{if(!h){e=0;break d}e=0;m=q[b+84>>2];if(!m){break d}v=b,x=Oa(l,m,0,h,0,f+60|0),q[v+88>>2]=x;if(q[f+60>>2]){break b}e=q[b+156>>2];q[e+4>>2]=q[e+4>>2]|1;e=q[b+76>>2]<<6;e=(r[b+94|0]==6?(e|0)/3|0:e)-(q[b+104>>2]<<6)|0;i=q[b+100>>2]<<6;if(d){e=q[d+4>>2]+e|0;d=q[d>>2]}else{d=0}i=d-i|0;if(i|e){oc(k,i,e)}q[f+12>>2]=k;q[f+8>>2]=g;q[f+16>>2]=1;c=c+ -3|0;e:{if(c>>>0<=1){if(c-1){h=q[b+80>>2];g=q[b+84>>2];m=q[b+76>>2];c=q[b>>2];oc(k,0-q[c+180>>2]|0,0-q[c+184>>2]|0);d=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=d;if(d){break b}d=(h>>>0)/3|0;q[b+88>>2]=d+q[b+88>>2];oc(k,q[c+180>>2]-q[c+188>>2]|0,q[c+184>>2]-q[c+192>>2]|0);j=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=j;p=q[b+88>>2]-d|0;q[b+88>>2]=p;if(j){break b}j=d<<1;q[b+88>>2]=j+p;oc(k,q[c+188>>2]-q[c+196>>2]|0,q[c+192>>2]-q[c+200>>2]|0);a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a;q[b+88>>2]=q[b+88>>2]-j;if(a){break b}e=e-q[c+200>>2]|0;i=i-q[c+196>>2]|0;c=gb(l,g,f+60|0);if(q[f+60>>2]){break b}f:{if(!m){break f}if(h>>>0<3){a=0;while(1){Qa(q[b+88>>2]+w(a,g)|0,c,g);a=a+1|0;if((m|0)!=(a|0)){continue}break}break f}u=d>>>0>1?d:1;j=0;while(1){h=q[b+88>>2]+w(g,j)|0;a=0;while(1){p=c+w(a,3)|0;o[p|0]=r[a+h|0];s=a+d|0;o[p+1|0]=r[h+s|0];o[p+2|0]=r[h+(d+s|0)|0];a=a+1|0;if((u|0)!=(a|0)){continue}break}Qa(h,c,g);j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(c){n[q[l+8>>2]](l,c)}a=q[f+60>>2];break e}d=q[b+84>>2];q[b+84>>2]=w(d,3);q[b+76>>2]=t[b+76>>2]/3;c=q[b>>2];oc(k,0-q[c+184>>2]|0,q[c+180>>2]);g=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=g;if(g){break b}q[b+88>>2]=d+q[b+88>>2];oc(k,q[c+184>>2]-q[c+192>>2]|0,q[c+188>>2]-q[c+180>>2]|0);g=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=g;h=q[b+88>>2]-d|0;q[b+88>>2]=h;if(g){break b}d=d<<1;q[b+88>>2]=d+h;oc(k,q[c+192>>2]-q[c+200>>2]|0,q[c+196>>2]-q[c+188>>2]|0);a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a;q[b+88>>2]=q[b+88>>2]-d;if(a){break b}a=q[c+200>>2];c=q[c+196>>2];q[b+84>>2]=q[b+84>>2]/3;q[b+76>>2]=w(q[b+76>>2],3);e=c+e|0;i=i-a|0;break d}a=n[q[a+56>>2]](q[a+52>>2],f+8|0)|0;q[f+60>>2]=a}if(a){break b}}q[b+72>>2]=1651078259;break a}e=0}if(!(o[q[b+156>>2]+4|0]&1)){break a}a=q[b+88>>2];if(a){n[q[l+8>>2]](l,a)}q[b+88>>2]=0;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2}if(e|i){oc(k,0-i|0,0-e|0)}Da=f- -64|0;return q[f+60>>2]}function p$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[a+96>>2];if(!q[g+76>>2]){break a}e=q[a+116>>2];if(!e){break a}f=r[b+3|0];d=f|r[b+2|0]<<8;if(f&16){f=d;d=(b+4|0)+(r[b+5|0]<<1|r[b+4|0]<<9)|0;d=f|r[d+2|0]<<24|r[d+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=d;q[a+8>>2]=d;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;q[a+16>>2]=e;o[a+13|0]=r[a+142|0];q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=d;e=q[a+120>>2]==1;o[a+12|0]=e;q[a+4>>2]=a;d=1;d=e?d:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=d;b:{d=r[b|0]|r[b+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -7|0;c:{if(d>>>0>1){break c}if(!(d-1)){break b}d=b;b=r[b+5|0]|r[b+4|0]<<8?b+6|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?d+b|0:271312;if((r[b|0]<<8|r[b+1|0])!=1){break c}if((r[b+3|0]|r[b+2|0]<<8)==8){break b}}if(q[g+4>>2]){q[g+80>>2]=0;o[g+69|0]=1;o[g+70|0]=0;q[g+92>>2]=q[g+88>>2]}q[g+72>>2]=0;b=q[a+96>>2];d=q[b+72>>2];if(d>>>0>=t[b+76>>2]){break a}while(1){if(r[b+68|0]){e=q[b+88>>2]+w(d,20)|0;d=q[e>>2];d:{e:{if(!(q[c>>2]>>>(d>>>4&31)&1)|!(q[c+4>>2]>>>(d&31)&1)|(!(q[c+8>>2]>>>(d>>>9&31)&1)|!(q[a+116>>2]&q[e+4>>2]))){break e}f=q[a+128>>2];e=s[e+12>>1];if(f&e&14){break e}if(e&8){if(!mf(a,d,e,f)){break e}}d=0;e=q[c+16>>2];if(!e){break e}while(1){f=e>>>0>d>>>0?q[c+20>>2]+w(d,20)|0:271312;h=q[a+96>>2];h=q[q[h+88>>2]+w(q[h+72>>2],20)>>2];if(!(!(q[f+8>>2]>>>(h>>>4&31)&1)|!(q[f+12>>2]>>>(h&31)&1)|!(q[f+16>>2]>>>(h>>>9&31)&1))){if(n[q[f+4>>2]](q[f>>2],a)){i=1;break d}e=q[c+16>>2]}d=d+1|0;if(d>>>0>>0){continue}break}}if(r[b+69|0]){f:{if(q[b+92>>2]==q[b+88>>2]){d=q[b+80>>2];if((d|0)==q[b+72>>2]){break f}}if(!Va(b,1,1)){break d}e=q[b+88>>2]+w(q[b+72>>2],20)|0;f=q[e+4>>2];d=q[b+92>>2]+w(q[b+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[b+80>>2]}q[b+80>>2]=d+1}q[b+72>>2]=q[b+72>>2]+1}d=q[b+72>>2];if(d>>>0>2]){continue}}break}if(!i){break a}Kc(g);return}if(q[g+4>>2]){q[g+80>>2]=0;o[g+69|0]=0;o[g+70|0]=0;q[g+92>>2]=q[g+88>>2]}q[g+72>>2]=q[g+76>>2]+ -1;g=q[a+96>>2];b=q[g+72>>2];while(1){d=q[g+88>>2]+w(b,20)|0;b=q[d>>2];g:{if(!(q[c>>2]>>>(b>>>4&31)&1)|!(q[c+4>>2]>>>(b&31)&1)|(!(q[c+8>>2]>>>(b>>>9&31)&1)|!(q[a+116>>2]&q[d+4>>2]))){break g}e=q[a+128>>2];d=s[d+12>>1];if(e&d&14){break g}if(d&8){if(!mf(a,b,d,e)){break g}}b=0;e=q[c+16>>2];if(!e){break g}while(1){d=e>>>0>b>>>0?q[c+20>>2]+w(b,20)|0:271312;f=q[a+96>>2];f=q[q[f+88>>2]+w(q[f+72>>2],20)>>2];if(!(!(q[d+8>>2]>>>(f>>>4&31)&1)|!(q[d+12>>2]>>>(f&31)&1)|!(q[d+16>>2]>>>(f>>>9&31)&1))){if(n[q[d+4>>2]](q[d>>2],a)){break g}e=q[c+16>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}b=q[g+72>>2]+ -1|0;q[g+72>>2]=b;if((b|0)>-1){continue}break}}}function MC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+16>>2];if(t[a+20>>2]>=f+16>>>0){h=q[a+32>>2];g=h;d=q[f>>2];c=r[d|0];a:{if((c|0)==30){d=sc(a,d,0,0);break a}e=d+1|0;b:{b=c+ -28|0;c:{d:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=d+2>>>0){break b}b=(r[d+2|0]|r[e|0]<<8)<<16>>16;break c}b=0;if(t[a+8>>2]<=d+4>>>0){break b}b=r[d+1|0]|r[d+2|0]<<8|(r[d+3|0]<<16|r[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d}if(c>>>0<=246){b=c+ -139|0;break b}d=q[a+8>>2];if(c>>>0<=250){b=0;if(d>>>0<=e>>>0){break b}b=(r[e|0]|c<<8)+ -63124|0;break d}b=0;if(d>>>0<=e>>>0){break b}b=64148-(r[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}q[g+84>>2]=((d>>31)+d|0)+32768&-65536;g=h;c=q[f+4>>2];e=r[c|0];e:{if((e|0)==30){c=sc(a,c,0,0);break e}d=c+1|0;f:{b=e+ -28|0;g:{h:{if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break f}b=(r[c+2|0]|r[d|0]<<8)<<16>>16;break g}b=0;if(t[a+8>>2]<=c+4>>>0){break f}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break h}if(e>>>0<=246){b=e+ -139|0;break f}c=q[a+8>>2];if(e>>>0<=250){b=0;if(c>>>0<=d>>>0){break f}b=(r[d|0]|e<<8)+ -63124|0;break h}b=0;if(c>>>0<=d>>>0){break f}b=64148-(r[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break e}}c=(b|0)<-32767?-2147483647:b<<16;break e}c=b<<16}q[g+88>>2]=((c>>31)+c|0)+32768&-65536;g=h;b=q[f+8>>2];e=r[b|0];i:{if((e|0)==30){c=sc(a,b,0,0);break i}d=b+1|0;c=e+ -28|0;j:{k:{if(c>>>0<=1){if(c-1){c=0;if(t[a+8>>2]<=b+2>>>0){break i}b=(r[b+2|0]|r[d|0]<<8)<<16>>16;break j}c=0;if(t[a+8>>2]<=b+4>>>0){break i}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break k}c=(e<<16)+ -9109504|0;if(e>>>0<=246){break i}b=q[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break i}b=(r[d|0]|e<<8)+ -63124|0;break k}c=0;if(b>>>0<=d>>>0){break i}b=64148-(r[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break i}}c=(b|0)<-32767?-2147483647:b<<16}q[g+92>>2]=((c>>31)+c|0)+32768&-65536;b=q[f+12>>2];c=r[b|0];l:{if((c|0)==30){d=sc(a,b,0,0);break l}e=b+1|0;d=c+ -28|0;m:{n:{if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=b+2>>>0){break l}a=(r[b+2|0]|r[e|0]<<8)<<16>>16;break m}d=0;if(t[a+8>>2]<=b+4>>>0){break l}a=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break n}d=(c<<16)+ -9109504|0;if(c>>>0<=246){break l}a=q[a+8>>2];if(c>>>0<=250){d=0;if(a>>>0<=e>>>0){break l}a=(r[e|0]|c<<8)+ -63124|0;break n}d=0;if(a>>>0<=e>>>0){break l}a=64148-(r[e|0]|c<<8)|0}d=2147483647;if((a|0)>32767){break l}}d=(a|0)<-32767?-2147483647:a<<16}q[h+96>>2]=((d>>31)+d|0)+32768&-65536;a=0}else{a=161}return a|0}function Zq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,r=0,t=0,u=0,v=0;r=Da-32|0;Da=r;a:{if(!a|!b){break a}m=Sa(16);if(!m){break a}q[m+8>>2]=0;q[m+12>>2]=0;q[m>>2]=1;q[m+4>>2]=0;f=q[a+4>>2];j=-1;i=-1;k=q[a+12>>2]+a|0;b:{c:{if(k){e=f+ -1|0;d:{e:{if((f|0)<1){h=e;break e}while(1){g=e>>1;i=g;if(!s[k+(e&-2)>>1]){break d}i=(e|0)>1;h=g+ -1|0;e=h;if(i){continue}break}}i=(h>>>31|0)+h^-1}e=0;if((i|0)>-1){break c}}g=i^-1;i=0;l=0;if((f|0)==(g|0)){break b}i=g;e=s[k+(g<<1)>>1]<<8}j=e;g=q[a+8>>2]+a|0;l=q[g+(i<<2)>>2]+g|0}k=q[b+4>>2];h=-1;g=-1;o=q[b+12>>2]+b|0;f:{g:{if(o){e=k+ -1|0;h:{i:{if((k|0)<1){f=e;break i}while(1){f=e>>1;g=f;if(!s[o+(e&-2)>>1]){break h}g=(e|0)>1;f=f+ -1|0;e=f;if(g){continue}break}}g=(f>>>31|0)+f^-1}e=0;if((g|0)>-1){break g}}e=g^-1;g=0;f=0;if((e|0)==(k|0)){break f}g=e;e=s[o+(e<<1)>>1]<<8}h=e;e=q[b+8>>2]+b|0;f=q[e+(g<<2)>>2]+e|0}while(1){j:{k:{if(!l){if(d){break k}e=m;break a}break j}e=m;if(!f){break a}}l:{if(j>>>0>>0){e=gg(m,j);if(!e){break l}j=q[l+4>>2];q[e>>2]=q[l>>2];q[e+4>>2]=j;j=q[l+28>>2];q[e+24>>2]=q[l+24>>2];q[e+28>>2]=j;j=q[l+20>>2];q[e+16>>2]=q[l+16>>2];q[e+20>>2]=j;j=q[l+12>>2];q[e+8>>2]=q[l+8>>2];q[e+12>>2]=j;l=0;j=-1;e=i+1|0;if((e|0)>=q[a+4>>2]){continue}i=q[a+8>>2]+a|0;l=q[i+(e<<2)>>2]+i|0;j=s[(q[a+12>>2]+a|0)+(e<<1)>>1]<<8;i=e;continue}if(h>>>0>>0){if(d){e=gg(m,h);if(!e){break l}h=q[f+4>>2];q[e>>2]=q[f>>2];q[e+4>>2]=h;h=q[f+28>>2];q[e+24>>2]=q[f+24>>2];q[e+28>>2]=h;h=q[f+20>>2];q[e+16>>2]=q[f+16>>2];q[e+20>>2]=h;h=q[f+12>>2];q[e+8>>2]=q[f+8>>2];q[e+12>>2]=h;f=0;h=-1;e=g+1|0;if((e|0)>=q[b+4>>2]){continue}g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;h=s[(q[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}o=q[b+4>>2];h=-1;e=-1;t=q[b+12>>2]+b|0;m:{if(t){u=j>>>8|0;k=o+ -1|0;f=0;n:{if((o|0)>=1){while(1){p=f+k|0;e=p>>1;p=s[(p&-2)+t>>1];v=u&65535;if((p|0)==(v|0)){break n}p=p>>>0>>0;f=p?e+1|0:f;k=p?k:e+ -1|0;if((f|0)<=(k|0)){continue}break}}if(!((k|0)>=(o|0)|s[(k<<1)+t>>1]>=(u&65535)>>>0?(k|0)>=0:0)){k=k+1|0}e=k^-1}f=j;if((e|0)>-1){break m}}f=0;e=e^-1;if((o|0)==(e|0)){continue}f=s[(e<<1)+t>>1]<<8}h=f;g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;g=e;continue}if(n[c](r,l,f)){h=gg(m,j);if(!h){break l}e=r;f=q[e+4>>2];q[h>>2]=q[e>>2];q[h+4>>2]=f;f=q[e+28>>2];q[h+24>>2]=q[e+24>>2];q[h+28>>2]=f;f=q[e+20>>2];q[h+16>>2]=q[e+16>>2];q[h+20>>2]=f;f=q[e+12>>2];q[h+8>>2]=q[e+8>>2];q[h+12>>2]=f}f=0;h=-1;j=-1;l=0;e=i+1|0;if((e|0)>2]){i=q[a+8>>2]+a|0;l=q[i+(e<<2)>>2]+i|0;j=s[(q[a+12>>2]+a|0)+(e<<1)>>1]<<8;i=e}e=g+1|0;if((e|0)>=q[b+4>>2]){continue}g=q[b+8>>2]+b|0;f=q[g+(e<<2)>>2]+g|0;h=s[(q[b+12>>2]+b|0)+(e<<1)>>1]<<8;g=e;continue}break}Xc(m);e=0}Da=r+32|0;return e}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,o=0,p=0,r=0,s=0;n=nR(c);if(n){a:{if((c|0)<=0){Gc(n,0,16,796);break a}while(1){k=(i<<5)+b|0;b:{if(!q[k+20>>2]){break b}d=q[k+28>>2];e=q[d+52>>2];if(!e){e=ab(1,20);q[d+52>>2]=e;if(!e){break b}}if(q[a+112>>2]!=q[e+16>>2]){q[e>>2]=0;q[e+4>>2]=0;q[e+16>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;e=q[d+52>>2];q[e+16>>2]=q[a+112>>2]}if(!e){break b}d=q[e+4>>2];if((d|0)<1){break b}g=q[e+12>>2];o=g;p=q[e+8>>2];h=p;m=q[e>>2];j=m;f=d;if((d|0)!=q[k+8>>2]){o=0;hb(q[a>>2],2,356080,0);q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=0;j=0;f=0}if((l|0)>=1){r=g+p|0;s=d+m|0;d=0;while(1){g=(d<<4)+n|0;if(!((m|0)>=q[g+4>>2]|q[g>>2]>=(s|0)|((p|0)>=q[g+12>>2]|q[g+8>>2]>=(r|0)))){q[e>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o=0;h=0;j=0;f=0}d=d+1|0;if((l|0)!=(d|0)){continue}break}}if((f|0)<1){break b}d=(l<<4)+n|0;q[d+12>>2]=h+o;q[d+8>>2]=h;q[d+4>>2]=f+j;q[d>>2]=j;d=q[k>>2];if(d){g=j-q[k+4>>2]|0;e=q[a+140>>2];while(1){f=g+q[d+24>>2]|0;q[d+24>>2]=f;h=q[d+4>>2];if((f|0)<=-1){q[d+24>>2]=0;h=f+h|0;q[d+4>>2]=h;q[d+12>>2]=q[d+12>>2]-w(f,q[d+8>>2]);f=0}f=f+h|0;if((e|0)<=(f|0)){h=(e-f|0)+h|0;q[d+4>>2]=h}if((h|0)<=0){q[d+24>>2]=0;q[d+4>>2]=0}d=q[d+28>>2];if(d){continue}break}}l=l+1|0;q[k+4>>2]=j}i=i+1|0;if((i|0)!=(c|0)){continue}break}Gc(n,l,16,796);o=0;while(1){i=(o<<5)+b|0;c:{if(!q[i+20>>2]){break c}d=q[i+28>>2];g=q[d+52>>2];if(!g){g=ab(1,20);q[d+52>>2]=g;if(!g){break c}}if(q[a+112>>2]!=q[g+16>>2]){q[g>>2]=0;q[g+4>>2]=0;q[g+16>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;g=q[d+52>>2];q[g+16>>2]=q[a+112>>2]}if(q[g+4>>2]|!g){break c}h=q[i+12>>2];p=h+q[i+16>>2]|0;j=q[i+4>>2];k=j+q[i+8>>2]|0;d:{if(q[i+24>>2]==1){e=0;d=0;if((l|0)<1){break d}while(1){f=(d<<4)+n|0;e:{if((e+k|0)<=q[f>>2]){break e}m=q[f+4>>2];if((p|0)<=q[f+8>>2]|(e+j|0)>=(m|0)){break e}e=(h|0)>2]?m-j|0:e}d=d+1|0;if((l|0)!=(d|0)){continue}break}break d}e=0;d=l;if((d|0)<1){break d}while(1){f=d;d=d+ -1|0;m=(d<<4)+n|0;r=q[m>>2];if(!((e+k|0)<=(r|0)|(e+j|0)>=q[m+4>>2]|(p|0)<=q[m+8>>2])){e=(h|0)>2]?r-k|0:e}if((f|0)>1){continue}break}}d=(l<<4)+n|0;q[d+12>>2]=p;q[d+8>>2]=h;q[d+4>>2]=e+k;q[d>>2]=e+j;l=l+1|0;Gc(n,l,16,796);f:{if(!e){d=q[i+4>>2];break f}d=q[i>>2];if(d){j=q[a+140>>2];while(1){f=q[d+24>>2]+e|0;q[d+24>>2]=f;h=q[d+4>>2];k=j;if((f|0)<=-1){q[d+24>>2]=0;h=f+h|0;q[d+4>>2]=h;q[d+12>>2]=q[d+12>>2]-w(f,q[d+8>>2]);f=0}f=f+h|0;if((k|0)<=(f|0)){h=(j-f|0)+h|0;q[d+4>>2]=h}if((h|0)<=0){q[d+24>>2]=0;q[d+4>>2]=0}d=q[d+28>>2];if(d){continue}break}}d=q[i+4>>2]+e|0;q[i+4>>2]=d}q[g>>2]=d;q[g+4>>2]=q[i+8>>2];q[g+8>>2]=q[i+12>>2];q[g+12>>2]=q[i+16>>2]}o=o+1|0;if((o|0)!=(c|0)){continue}break}}La(n)}}function NJ(a,b,c,d){a=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;k=a+72|0;f=1;while(1){g=b;a=g+2|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{b=r[g+2|0];h=b+ -216|0;if(h>>>0>39){if(b){break n}b=a;j=r[g+3|0];h=r[j+k|0]+ -3|0;if(h>>>0>26){continue}switch(h-1|0){case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 17:break i;case 9:break k;case 8:break l;case 18:case 20:case 25:break n;case 3:break o;case 2:break p;case 1:break q;case 7:case 13:break g;case 5:case 6:break h;default:break j}}b=a;r:{switch(h-4|0){case 0:case 1:case 2:case 3:continue;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:break n;case 35:break r;default:break o}}if(r[g+3|0]>=254|f){continue}break m}if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}b=g+3|0;if(f){continue}f=1;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=a;continue}s:{if(f){break s}f=1;if((e|0)>=(c|0)){break s}b=(e<<4)+d|0;o[b+12|0]=1;q[b>>2]=a}b=g+4|0;continue}b=a;if(f){continue}}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}if((f|0)!=2){i=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=12;break a}if((f|0)!=2){i=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=13;break a}if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}h=f+ -1|0;if(h>>>0>1){continue}f=0;if(h-1){continue}f=2;if((e|0)>=(c|0)){continue}h=(e<<4)+d|0;if(!r[h+12|0]){continue}if((a|0)==q[h+4>>2]|(j|0)!=32){break b}b=r[g+5|0];g=r[g+4|0];j=g+ -216|0;if(j>>>0<=39){break f}if(g){break e}if((b|0)==32){break b}g=r[b+k|0];break c}a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}a=(f|0)==2;f=2;if(a){continue}return e|0}g=7;t:{switch(j-4|0){case 35:break t;case 0:case 1:case 2:case 3:break d;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:break e;default:break c}}g=0;if(b>>>0>253){break c}}g=29;break c}g=8}b=a;if((g|0)!=(i|0)){continue}}o[h+12|0]=0;b=a;continue}f=0;continue}}function eK(a,b,c,d){a=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;k=a+72|0;f=1;while(1){g=b;a=g+2|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{b=r[g+3|0];h=b+ -216|0;if(h>>>0>39){if(b){break n}b=a;j=r[a|0];h=r[j+k|0]+ -3|0;if(h>>>0>26){continue}switch(h-1|0){case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 17:break i;case 9:break k;case 8:break l;case 18:case 20:case 25:break n;case 3:break o;case 2:break p;case 1:break q;case 7:case 13:break g;case 5:case 6:break h;default:break j}}b=a;r:{switch(h-4|0){case 0:case 1:case 2:case 3:continue;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:break n;case 35:break r;default:break o}}if(r[a|0]>=254|f){continue}break m}if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}b=g+3|0;if(f){continue}f=1;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=a;continue}s:{if(f){break s}f=1;if((e|0)>=(c|0)){break s}b=(e<<4)+d|0;o[b+12|0]=1;q[b>>2]=a}b=g+4|0;continue}b=a;if(f){continue}}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue}if((f|0)!=2){i=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=12;break a}if((f|0)!=2){i=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=g+4;continue}f=2;if((i|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=a}e=e+1|0;i=13;break a}if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}h=f+ -1|0;if(h>>>0>1){continue}f=0;if(h-1){continue}f=2;if((e|0)>=(c|0)){continue}h=(e<<4)+d|0;if(!r[h+12|0]){continue}if((a|0)==q[h+4>>2]|(j|0)!=32){break b}b=r[g+4|0];g=r[g+5|0];j=g+ -216|0;if(j>>>0<=39){break f}if(g){break e}if((b|0)==32){break b}g=r[b+k|0];break c}a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue}a=(f|0)==2;f=2;if(a){continue}return e|0}g=7;t:{switch(j-4|0){case 35:break t;case 0:case 1:case 2:case 3:break d;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:break e;default:break c}}g=0;if(b>>>0>253){break c}}g=29;break c}g=8}b=a;if((g|0)!=(i|0)){continue}}o[h+12|0]=0;b=a;continue}f=0;continue}}function gE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,t=0,u=0,v=0;f=Da-32|0;Da=f;i=q[b+28>>2];q[f+4>>2]=2;c=q[a+496>>2];if(c){d=i;e=q[c+36>>2];if(e){n[q[d+8>>2]](d,e)}q[c+36>>2]=0;q[c+40>>2]=0;e=q[c+28>>2];if(e){n[q[d+8>>2]](d,e)}q[c+28>>2]=0;q[c+32>>2]=0;if(c){n[q[i+8>>2]](i,c)}q[a+496>>2]=0}d=gb(i,44,f+4|0);a:{if(q[f+4>>2]){break a}c=lb(b,q[b+4>>2]);q[f+4>>2]=c;if(c){break a}c=q[a+476>>2];q[d+12>>2]=q[a+472>>2];q[d+16>>2]=c;c=q[a+468>>2];q[d+4>>2]=q[a+464>>2];q[d+8>>2]=c;q[d+20>>2]=q[a+476>>2];q[d+24>>2]=q[a+468>>2];e=q[a+492>>2];c=q[e+36>>2];b:{if(c){c=n[q[c>>2]](f+8|0,q[b+28>>2],q[b+32>>2],q[b+36>>2])|0;q[f+4>>2]=c;if(!c){q[f+24>>2]=a+132;q[f+20>>2]=85;q[f+16>>2]=d;u=f,v=n[q[q[e+36>>2]+8>>2]](f+8|0)|0,q[u+4>>2]=v;n[q[q[e+36>>2]+4>>2]](f+8|0);c=q[f+4>>2]}c:{if((c&255)!=2){break c}g=q[b+4>>2];if(g>>>0<7){break c}e=q[b+32>>2];if(r[e+1|0]>3|(g|0)!=(r[e+2|0]|r[e+3|0]<<8|(r[e+4|0]<<16|r[e+5|0]<<24))){break c}k=q[b+28>>2];h=q[b+36>>2];c=0;q[f+28>>2]=0;d:{e:{if(e+101>>>0>h>>>0){q[f+28>>2]=2;break e}g=(e+99|0)+(r[e+99|0]|r[e+100|0]<<8)|0;if(g+36>>>0>h>>>0|(r[g+18|0]|r[g+19|0]<<8)>>>0<18){break d}g=r[g+32|0]|r[g+33|0]<<8|(r[g+34|0]<<16|r[g+35|0]<<24);if(!g){break d}g=e+g|0;e=g+2|0;if(e>>>0>h>>>0){q[f+28>>2]=2;break e}j=r[g|0]|r[g+1|0]<<8;q[d+40>>2]=j;if((j<<2)+e>>>0>h>>>0){q[f+28>>2]=2;break e}if(!j){break d}c=Oa(k,16,0,j,0,f+28|0);q[d+36>>2]=c;if(q[f+28>>2]){break e}o=q[d+40>>2];j=q[a+92>>2];l=q[a+36>>2];f:{if((l|0)<1){break f}t=q[a+40>>2];h=0;while(1){m=q[(h<<2)+t>>2];if(s[m+8>>1]!=7){h=h+1|0;if((l|0)!=(h|0)){continue}break f}break}h=$d(a,m);q[f+28>>2]=h;if(h){break e}}h=o<<2;if((h|0)>=1){g=g+(h|2)|0;while(1){u=c,v=Ub(a,r[e|0]),q[u>>2]=v;u=c,v=Ub(a,r[e+1|0]),q[u+4>>2]=v;h=(r[e+2|0]|r[e+3|0]<<8)<<16>>16;q[c+12>>2]=0;q[c+8>>2]=h;c=c+16|0;e=e+4|0;if(e>>>0>>0){continue}break}}g:{if(j){c=$d(a,j);q[f+28>>2]=c;break g}c=q[f+28>>2]}if(c){break e}Gc(q[d+36>>2],q[d+40>>2],16,86);if(q[f+28>>2]){break e}c=0;break d}c=q[d+36>>2];if(c){n[q[k+8>>2]](k,c)}q[d+36>>2]=0;q[d+40>>2]=0;c=q[f+28>>2]}q[f+4>>2]=c}if(c){break b}}c=q[d+8>>2];q[a+464>>2]=q[d+4>>2];q[a+468>>2]=c;c=q[d+16>>2];q[a+472>>2]=q[d+12>>2];q[a+476>>2]=c;q[a+52>>2]=q[d+4>>2]>>16;q[a+56>>2]=q[d+8>>2]>>16;q[a+60>>2]=q[d+12>>2]+65535>>16;q[a- -64>>2]=q[d+16>>2]+65535>>16;p[a+70>>1]=q[d+20>>2]+32768>>>16;p[a+72>>1]=q[d+24>>2]+32768>>>16;if(!q[d+40>>2]){break b}q[a+496>>2]=d;q[a+8>>2]=q[a+8>>2]|64;d=0}jb(b)}if(d){a=q[d+36>>2];if(a){n[q[i+8>>2]](i,a)}q[d+36>>2]=0;q[d+40>>2]=0;a=q[d+28>>2];if(a){n[q[i+8>>2]](i,a)}q[d+28>>2]=0;q[d+32>>2]=0;if(d){n[q[i+8>>2]](i,d)}}Da=f+32|0;return q[f+4>>2]}function vk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;i=Da-16|0;Da=i;l=a+448|0;m=a+436|0;j=f+12|0;k=q[a+352>>2];p=(k+80|0)!=(f|0);while(1){a:{b:{c:{d:{e:{f:{g:{h:{h=(n[q[b+16>>2]](b,d,e,i+8|0)|0)+4|0;if(h>>>0>43){break h}g=0;i:{j:{k:{switch(h-1|0){case 3:g=4;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=q[i+8>>2];break a;case 2:g=4;break d;case 13:g=n[q[b+40>>2]](b,d)|0;if((g|0)<=-1){g=14;if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=d;break a}if(!((g|0)!=32|c)){d=q[f+12>>2];if((d|0)==q[f+16>>2]|r[d+ -1|0]==32){break b}}d=0;g=Ak(g,i+12|0);if((g|0)<1){break b}while(1){h=q[f+12>>2];if((h|0)==q[f+8>>2]){if(!Ya(f)){break j}h=q[j>>2]}s=r[(i+12|0)+d|0];q[j>>2]=h+1;o[h|0]=s;d=d+1|0;if((g|0)!=(d|0)){continue}break}break b;case 9:g=q[i+8>>2];q[i+12>>2]=d;if(!q[j>>2]){if(!Ya(f)){break j}}while(1){if(n[q[b+56>>2]](b,i+12|0,g,j,q[f+8>>2])>>>0>=2){if(Ya(f)){continue}break j}break}if(!q[f+16>>2]){break j}break b;case 0:q[i+8>>2]=q[b+64>>2]+d;case 10:case 42:h=q[j>>2];if(q[f+16>>2]==(h|0)|r[h+ -1|0]==32?!c:0){break b}if(q[f+8>>2]==(h|0)){if(!Ya(f)){break j}h=q[j>>2]}q[j>>2]=h+1;o[h|0]=32;d=q[i+8>>2];continue;case 12:break k;case 1:case 4:case 5:case 6:case 7:case 8: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:break h;default:break a}}g=q[b+64>>2];g=n[q[b+44>>2]](b,g+d|0,q[i+8>>2]-g|0)|0;if(g&255){h=q[f+12>>2];if((h|0)==q[f+8>>2]){if(!Ya(f)){break j}h=q[j>>2]}q[j>>2]=h+1;o[h|0]=g;d=q[i+8>>2];continue}g=q[i+8>>2];h=q[b+64>>2];q[i+12>>2]=h+d;if(!q[l>>2]){if(!Ya(m)){break j}}g=g-h|0;while(1){if(n[q[b+56>>2]](b,i+12|0,g,l,q[a+444>>2])>>>0<2){break i}if(Ya(m)){continue}break}}g=1;break a}g=1;if(!q[a+452>>2]){break a}h=q[a+448>>2];if((h|0)==q[a+444>>2]){if(!Ya(m)){break a}h=q[l>>2]}q[a+448>>2]=h+1;o[h|0]=0;h=q[a+452>>2];if(!h){break a}h=ic(a,k,h,0);q[a+448>>2]=q[a+452>>2];l:{m:{if(!p){if(!q[a+268>>2]){if(h){break e}break b}if(!r[k+130|0]){break m}g=(h|0)!=0;if(!q[a+296>>2]){break g}break l}if(!r[k+129|0]){if(h){break f}g=11;break a}g=(h|0)!=0;if(!r[k+130|0]){break l}break g}g=(h|0)!=0;if(!r[k+129|0]){break g}}if(!g){break b}break e}g=23;break d}if(g){break f}g=11;break a}if(r[h+34|0]){break e}g=24;break a}g=12;if(r[h+32|0]){break d}g=15;if(q[h+28>>2]){break d}g=q[h+4>>2];if(g){break c}g=16}if(q[a+144>>2]!=(b|0)){break a}q[a+284>>2]=d;break a}o[h+32|0]=1;g=vk(a,q[a+224>>2],c,g,g+q[h+8>>2]|0,f);o[h+32|0]=0;if(g){break a}}d=q[i+8>>2];continue}break}Da=i+16|0;return g}function ws(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,r=0,s=0;n=g?a+1032|0:a;q[n>>2]=0;l=g?a+1548|0:a+516|0;q[l>>2]=0;if(b>>>0>=2){while(1){a:{if(!(h&1)){m=p[c+2>>1];s=0;i=c;h=j;g=l;break a}i=c+2|0;m=p[c>>1];s=1;h=o;g=n}a=g+4|0;k=p[i>>1]-m|0;b:{c:{if(!h){break c}g=(g+(h<<5)|0)+4|0;d:{while(1){i=q[a>>2];if((m|0)<(i|0)){break d}if((i|0)==(m|0)){g=q[a+4>>2];if((k|0)<=-1){if((k|0)>=(g|0)){break b}q[a+4>>2]=k;break b}if((k|0)<=(g|0)){break b}q[a+4>>2]=k;break b}a=a+32|0;h=h+ -1|0;if(h){continue}break}a=g;break c}while(1){g=(h<<5)+a|0;h=h+ -1|0;i=(h<<5)+a|0;r=q[i+4>>2];q[g>>2]=q[i>>2];q[g+4>>2]=r;r=q[i+28>>2];q[g+24>>2]=q[i+24>>2];q[g+28>>2]=r;r=q[i+20>>2];q[g+16>>2]=q[i+16>>2];q[g+20>>2]=r;r=q[i+12>>2];q[g+8>>2]=q[i+8>>2];q[g+12>>2]=r;if(h){continue}break}}q[a+4>>2]=k;q[a>>2]=m;if(s){o=o+1|0;break b}j=j+1|0}c=c+4|0;h=1;b=b+ -2|0;if(b>>>0>1){continue}break}}q[n>>2]=o;q[l>>2]=j;if(d>>>0>=2){b=l+4|0;while(1){m=p[e+2>>1];k=p[e>>1]-m|0;i=b;e:{f:{if(!j){break f}i=((j<<5)+l|0)+4|0;a=b;h=j;while(1){c=q[a>>2];if((c|0)<=(m|0)){if((c|0)==(m|0)){c=q[a+4>>2];if((k|0)<=-1){if((k|0)>=(c|0)){break e}q[a+4>>2]=k;break e}if((k|0)<=(c|0)){break e}q[a+4>>2]=k;break e}a=a+32|0;h=h+ -1|0;if(h){continue}break f}break}while(1){c=(h<<5)+a|0;h=h+ -1|0;g=(h<<5)+a|0;i=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=i;i=q[g+28>>2];q[c+24>>2]=q[g+24>>2];q[c+28>>2]=i;i=q[g+20>>2];q[c+16>>2]=q[g+16>>2];q[c+20>>2]=i;i=q[g+12>>2];q[c+8>>2]=q[g+8>>2];q[c+12>>2]=i;if(h){continue}break}i=a}q[i+4>>2]=k;q[i>>2]=m;j=j+1|0}e=e+4|0;d=d+ -2|0;if(d>>>0>1){continue}break}}q[n>>2]=o;q[l>>2]=j;g:{if(!o){break g}h=n+4|0;a=o;while(1){h:{if(a>>>0<=1){if(a-1){break g}i=q[h+4>>2];g=q[h>>2];break h}b=q[h+4>>2];g=q[h>>2];i=q[h+32>>2]-g|0;if((b|0)<=(i|0)){i=b;break h}q[h+4>>2]=i}q[h+12>>2]=g;q[h+8>>2]=g+i;h=h+32|0;a=a+ -1|0;continue}}i:{if(!j){break i}h=l+4|0;a=j;while(1){j:{if(a>>>0<=1){if(a-1){break i}i=q[h+4>>2];g=q[h>>2];break j}b=q[h+4>>2];g=q[h>>2];i=g-q[h+32>>2]|0;if((b|0)>=(i|0)){i=b;break j}q[h+4>>2]=i}q[h+8>>2]=g;q[h+12>>2]=g+i;h=h+32|0;a=a+ -1|0;continue}}if(o){h=n+4|0;q[n+16>>2]=q[n+16>>2]-f;a=q[n+12>>2];g=o+ -1|0;k:{if(!g){i=h;break k}while(1){b=q[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);q[h+8>>2]=a?d:e;q[h+44>>2]=a?d:b-f|0;a=q[h+40>>2];i=h+32|0;h=i;g=g+ -1|0;if(g){continue}break}}q[i+8>>2]=a+f}if(j){h=l+4|0;q[l+16>>2]=q[l+16>>2]-f;a=q[l+12>>2];g=j+ -1|0;l:{if(!g){i=h;break l}while(1){b=q[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);q[h+8>>2]=a?d:e;q[h+44>>2]=a?d:b-f|0;a=q[h+40>>2];i=h+32|0;h=i;g=g+ -1|0;if(g){continue}break}}q[i+8>>2]=a+f}}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,r=0,t=0;a:{if(!a|!b){break a}n=q[a+4>>2];h=-1;g=-1;o=q[a+12>>2]+a|0;b:{c:{if(o){c=n+ -1|0;d:{e:{if((n|0)<1){f=c;break e}while(1){f=c>>1;g=f;if(!s[(c&-2)+o>>1]){break d}i=(c|0)>1;f=f+ -1|0;c=f;if(i){continue}break}}g=(f>>>31|0)+f^-1}c=0;if((g|0)>-1){break c}}c=g^-1;g=0;d=0;if((c|0)==(n|0)){break b}g=c;c=s[(c<<1)+o>>1]<<8}h=c;c=q[a+8>>2]+a|0;d=q[c+(g<<2)>>2]+c|0}f=-1;l=q[b+4>>2];i=l+ -1|0;e=-1;j=q[b+12>>2]+b|0;f:{g:{if(j){e=i;h:{if((l|0)>=1){c=i;while(1){p=c>>1;e=p;if(!s[(c&-2)+j>>1]){break h}r=(c|0)>1;e=p+ -1|0;c=e;if(r){continue}break}}e=(e>>>31|0)+e^-1}c=0;if((e|0)>-1){break g}}e=e^-1;c=0;if((l|0)==(e|0)){break f}c=s[(e<<1)+j>>1]<<8}f=c;c=q[b+8>>2]+b|0;c=q[c+(e<<2)>>2]+c|0}if(!d){break a}if(j){r=(l|0)<1;while(1){i:{if(h>>>0<=f>>>0){j:{if((f|0)!=(h|0)){e=Z$(q[d+24>>2])+(Z$(q[d+20>>2])+(Z$(q[d+16>>2])+(Z$(q[d+12>>2])+(Z$(q[d+8>>2])+(Z$(q[d+4>>2])+(Z$(q[d>>2])+m|0)|0)|0)|0)|0)|0)|0;h=q[d+28>>2];break j}e=Z$(q[d+24>>2]&(q[c+24>>2]^-1))+(Z$(q[d+20>>2]&(q[c+20>>2]^-1))+(Z$(q[d+16>>2]&(q[c+16>>2]^-1))+(Z$(q[d+12>>2]&(q[c+12>>2]^-1))+(Z$(q[d+8>>2]&(q[c+8>>2]^-1))+(Z$(q[d+4>>2]&(q[c+4>>2]^-1))+(Z$(q[d>>2]&(q[c>>2]^-1))+m|0)|0)|0)|0)|0)|0)|0;h=q[d+28>>2]&(q[c+28>>2]^-1)}m=Z$(h)+e|0;g=g+1|0;if((g|0)>=(n|0)){break a}e=q[a+8>>2]+a|0;d=q[e+(g<<2)>>2]+e|0;h=s[(g<<1)+o>>1]<<8;break i}if(!c){c=0;break i}p=h>>>8|0;f=0;c=i;k:{if(!r){while(1){k=c+f|0;e=k>>1;k=s[(k&-2)+j>>1];t=p&65535;if((k|0)==(t|0)){break k}k=k>>>0>>0;f=k?e+1|0:f;c=k?c:e+ -1|0;if((f|0)<=(c|0)){continue}break}}if(!((c|0)>=(l|0)|s[(c<<1)+j>>1]>=(p&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)>-1){f=h}else{f=-1;c=0;e=e^-1;if((l|0)==(e|0)){break i}f=s[(e<<1)+j>>1]<<8}c=q[b+8>>2]+b|0;c=q[c+(e<<2)>>2]+c|0}if(d){continue}break}break a}while(1){if(h>>>0<=f>>>0){l:{if((f|0)!=(h|0)){e=Z$(q[d+24>>2])+(Z$(q[d+20>>2])+(Z$(q[d+16>>2])+(Z$(q[d+12>>2])+(Z$(q[d+8>>2])+(Z$(q[d+4>>2])+(Z$(q[d>>2])+m|0)|0)|0)|0)|0)|0)|0;i=q[d+28>>2];break l}e=Z$(q[d+24>>2]&(q[c+24>>2]^-1))+(Z$(q[d+20>>2]&(q[c+20>>2]^-1))+(Z$(q[d+16>>2]&(q[c+16>>2]^-1))+(Z$(q[d+12>>2]&(q[c+12>>2]^-1))+(Z$(q[d+8>>2]&(q[c+8>>2]^-1))+(Z$(q[d+4>>2]&(q[c+4>>2]^-1))+(Z$(q[d>>2]&(q[c>>2]^-1))+m|0)|0)|0)|0)|0)|0)|0;i=q[d+28>>2]&(q[c+28>>2]^-1)}m=Z$(i)+e|0;g=g+1|0;if((g|0)>=(n|0)){break a}h=s[(g<<1)+o>>1]<<8;i=q[a+8>>2]+a|0;d=q[i+(g<<2)>>2]+i|0;if(d){continue}break a}if(!c){c=0;if(d){continue}break a}if(!l){f=-1;c=0;if(d){continue}break a}c=q[b+8>>2]+b|0;c=q[c>>2]+c|0;f=s[j>>1]<<8;if(d){continue}break}}return m}function Zp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0;g=Da-16|0;Da=g;k=q[c>>2];q[g+4>>2]=k;a:{if(q[a+144>>2]==(b|0)){q[a+284>>2]=k;p=a+284|0;h=a+288|0;break a}p=q[a+296>>2];h=p+4|0}u=h;q[p>>2]=k;q[c>>2]=0;s=a+288|0;k=a+284|0;l=35;b:{c:{while(1){h=n[q[b+8>>2]](b,q[g+4>>2],d,g)|0;j=q[g>>2];q[u>>2]=j;d:{e:{f:{h=h+4|0;if(h>>>0>44){break f}g:{switch(h-1|0){case 43:d=q[a+76>>2];h:{if(d){n[d](q[a+4>>2]);break h}d=q[a+80>>2];if(!d){break h}f=q[g+4>>2];q[g+12>>2]=f;if(!r[b+68|0]){if(q[a+144>>2]!=(b|0)){k=q[a+296>>2];s=k+4|0}while(1){q[g+8>>2]=q[a+44>>2];f=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[s>>2]=q[g+12>>2];d=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],d,q[g+8>>2]-d|0);q[k>>2]=q[g+12>>2];if(f>>>0>1){continue}break}break h}n[d](q[a+4>>2],f,j-f|0)}b=q[g>>2];q[c>>2]=b;q[e>>2]=b;l=q[a+476>>2]==2?35:0;break b;case 10:h=q[a+60>>2];if(h){o[g+12|0]=10;n[h](q[a+4>>2],g+12|0,1);break d}h=q[a+80>>2];if(!h){break d}i=q[g+4>>2];q[g+12>>2]=i;if(!r[b+68|0]){i=k;h=s;if(q[a+144>>2]!=(b|0)){i=q[a+296>>2];h=i+4|0}while(1){q[g+8>>2]=q[a+44>>2];t=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[h>>2]=q[g+12>>2];m=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],m,q[g+8>>2]-m|0);q[i>>2]=q[g+12>>2];if(t>>>0>1){continue}break}break d}n[h](q[a+4>>2],i,j-i|0);break d;case 9:m=q[a+60>>2];if(m){if(r[b+68|0]){break e}while(1){q[g+12>>2]=q[a+44>>2];i=n[q[b+56>>2]](b,g+4|0,j,g+12|0,q[a+48>>2])|0;q[u>>2]=q[g>>2];h=q[a+44>>2];n[m](q[a+4>>2],h,q[g+12>>2]-h|0);if(i>>>0<2){break d}q[p>>2]=q[g+4>>2];j=q[g>>2];continue}}h=q[a+80>>2];if(!h){break d}i=q[g+4>>2];q[g+12>>2]=i;if(!r[b+68|0]){i=k;h=s;if(q[a+144>>2]!=(b|0)){i=q[a+296>>2];h=i+4|0}while(1){q[g+8>>2]=q[a+44>>2];t=n[q[b+56>>2]](b,g+12|0,j,g+8|0,q[a+48>>2])|0;q[h>>2]=q[g+12>>2];m=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],m,q[g+8>>2]-m|0);q[i>>2]=q[g+12>>2];if(t>>>0>1){continue}break}break d}n[h](q[a+4>>2],i,j-i|0);break d;case 1:if(!f){l=6;break b}q[e>>2]=q[g+4>>2];l=0;break b;case 3:break c;case 0:case 4:case 5:case 6:case 7:case 8: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:case 39:case 40:case 41:case 42:break f;default:break g}}if(!f){l=20;break b}q[e>>2]=q[g+4>>2];l=0;break b}q[p>>2]=j;l=23;break b}h=q[g+4>>2];n[m](q[a+4>>2],h,j-h|0)}h=q[g>>2];q[g+4>>2]=h;q[p>>2]=h;h=q[a+476>>2]+ -2|0;if(h>>>0>1){continue}break}if(h-1){break b}q[e>>2]=q[g>>2];l=0;break b}q[p>>2]=j;l=4}Da=g+16|0;return l}function iE(a,b,c,d){a=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=Da-1568|0;Da=e;g=q[a+4>>2];o[e+47|0]=0;h=q[q[g+492>>2]+12>>2];a:{if(!(q[q[g+128>>2]+52>>2]|t[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){q[a+164>>2]=q[b+16>>2];f=q[b+20>>2];break b}q[a+164>>2]=65536;f=65536}q[a+108>>2]=0;q[a+72>>2]=1869968492;q[a+168>>2]=f;j=d&1;o[a+161|0]=!j;f=!(d&3);o[a+160|0]=f;f=n[q[h>>2]](e+48|0,g,b,a,q[g+424>>2],q[g+532>>2],f,d>>>16&15,84)|0;if(f){break a}i=d&1024;o[e+117|0]=i>>>10;q[e+1412>>2]=q[g+404>>2];q[e+1416>>2]=q[g+408>>2];q[e+1420>>2]=q[g+412>>2];q[e+1424>>2]=q[g+416>>2];q[e+1544>>2]=q[g+548>>2];q[e+1548>>2]=q[g+544>>2];f=Ch(e+48|0,c,e+16|0,e+47|0);if(!f){k=r[a+160|0];c=e+1436|0;f=q[c+4>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=f;c=q[e+1432>>2];q[e+24>>2]=q[e+1428>>2];q[e+28>>2]=c;c=q[e+1448>>2];f=q[e+1444>>2];n[q[h+4>>2]](e+48|0);q[a+124>>2]=q[a+124>>2]&1|4;c:{if(i){b=q[a+156>>2];d=q[e+80>>2];q[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+88>>2];q[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+36>>2];q[b+20>>2]=q[e+32>>2];q[b+24>>2]=d;d=q[e+28>>2];q[b+12>>2]=q[e+24>>2];q[b+16>>2]=d;q[b+32>>2]=c;q[b+28>>2]=f;o[b+8|0]=1;break c}h=q[e+88>>2];q[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=q[e+88>>2];q[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;o[q[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=q[g+476>>2]-q[g+468>>2]>>16;q[a+52>>2]=d;break d}d=q[e+92>>2];q[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=q[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}q[a+72>>2]=1869968492;q[a+60>>2]=d;if(!(!b|s[b+14>>1]>23)){q[a+124>>2]=q[a+124>>2]|256}h=a+108|0;e:{if(!(q[e+28>>2]|(q[e+24>>2]!=65536|q[e+36>>2]!=65536))){if(!q[e+32>>2]){break e}}ce(h,e+24|0);l=a,m=Ma(q[a+40>>2],q[e+24>>2]),q[l+40>>2]=m;l=a,m=Ma(q[a+52>>2],q[e+36>>2]),q[l+52>>2]=m}if(c|f){oc(h,f,c);q[a+40>>2]=f+q[a+40>>2];q[a+52>>2]=c+q[a+52>>2]}if(!(r[e+47|0]?0:j)){c=q[a+168>>2];f=q[a+164>>2];d=q[e+64>>2];b=q[d+4>>2];f:{if(q[e+120>>2]?k:0){break f}d=p[d+2>>1];if((d|0)<1){break f}d=d&65535;while(1){l=b,m=Ma(q[b>>2],f),q[l>>2]=m;l=b,m=Ma(q[b+4>>2],c),q[l+4>>2]=m;b=b+8|0;j=(d|0)>1;d=d+ -1|0;if(j){continue}break}}l=a,m=Ma(q[a+40>>2],f),q[l+40>>2]=m;l=a,m=Ma(q[a+52>>2],c),q[l+52>>2]=m}Te(h,e);b=q[e>>2];q[a+24>>2]=q[e+8>>2]-b;c=q[e+4>>2];d=q[e+12>>2];q[a+36>>2]=d;q[a+32>>2]=b;q[a+28>>2]=d-c;if(!i){break c}Sf(a+24|0,q[a+52>>2])}q[a+136>>2]=q[e+16>>2];q[a+140>>2]=q[e+20>>2];f=0;b=q[q[g+128>>2]+52>>2];if(!b){break a}n[q[q[b>>2]+4>>2]](q[b+4>>2],e+16|0);q[a+136>>2]=0;q[a+140>>2]=0;break a}n[q[h+4>>2]](e+48|0)}Da=e+1568|0;return f|0}function Rf(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,r=0;h=q[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(o[a+8|0]&1){r=q[b>>2];e:{if(r>>>0>4){break e}f:{g:{switch(r-1|0){default:e=s[a+68>>1];f=e;break e;case 1:e=q[a+60>>2]-q[a+52>>2]|0;d=q[a- -64>>2]-q[a+56>>2]|0;break f;case 2:e=p[a+76>>1];d=p[a+70>>1]-p[a+72>>1]|0;break f;case 3:c=q[b+4>>2];q[h+16>>2]=c;b=q[b+8>>2];q[h+20>>2]=b;if(!c){break c}if(b){break b}break d;case 0:break g}}e=p[a+70>>1]-p[a+72>>1]|0;d=e}c=d;c=c>>31;f=d+c^c;c=e>>31;e=c+e^c}d=q[b+4>>2];l=d;c=q[b+12>>2];if(c){l=(w(c,d)+36|0)/72|0}n=q[b+8>>2];j=n;b=q[b+16>>2];if(b){j=(w(b,n)+36|0)/72|0}h:{if(d){c=2147483647;i:{if(!e){break i}b=l>>31;b=b+l^b;if(b>>>0<=(e>>>17^65535)>>>0){c=((b<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break i}d=b>>>16|0;b=b<<16;g=b+(e>>>1|0)|0;b=d+(g>>>0>>0)|0;if(b>>>0>=e>>>0){break i}d=z(b);i=32-d|0;b=g>>>i|b<>>0)/(e>>>0)|0;m=b-w(c,e)|0;b=g<>>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;q[h+16>>2]=c;if(n){b=2147483647;j:{if(!f){break j}d=j>>31;d=d+j^d;if(d>>>0<=(f>>>17^65535)>>>0){b=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break j}e=d>>>16|0;d=d<<16;n=d+(f>>>1|0)|0;d=e+(n>>>0>>0)|0;if(d>>>0>=f>>>0){break j}g=z(d);i=32-g|0;d=n>>>i|d<>>0)/(f>>>0)|0;m=d-w(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;q[h+20>>2]=b;if((r|0)!=3){break h}if((b|0)<=(c|0)){break c}break d}q[h+20>>2]=c;j=bb(l,f,e);b=c;break h}c=2147483647;k:{if(!f){break k}b=j>>31;b=b+j^b;if(b>>>0<=(f>>>17^65535)>>>0){c=((b<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break k}d=b>>>16|0;b=b<<16;g=b+(f>>>1|0)|0;b=d+(g>>>0>>0)|0;if(b>>>0>=f>>>0){break k}d=z(b);i=32-d|0;b=g>>>i|b<>>0)/(f>>>0)|0;m=b-w(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;q[h+16>>2]=b;q[h+20>>2]=b;l=bb(j,e,f);c=b}if(!r){break a}break b}q[k>>2]=0;q[k+4>>2]=0;q[k+24>>2]=0;q[k+16>>2]=0;q[k+20>>2]=0;q[k+8>>2]=0;q[k+12>>2]=0;q[h+16>>2]=65536;q[h+20>>2]=65536;return}q[h+20>>2]=c;b=c;break b}q[h+16>>2]=b;c=b}d=(c|0)<0;g=s[a+68>>1];e=c;c=c>>31;c=e+c^c;l:{if(g+(c>>>8|0)>>>0<=8190){c=w(c,g)+32768>>>16|0;break l}c=w(g,c>>>16|0)+(w(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=c+b^c;m:{if(g+(c>>>8|0)>>>0<=8190){c=w(c,g)+32768>>>16|0;break m}c=w(g,c>>>16|0)+(w(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}p[h+14>>1]=j+32>>>6;p[h+12>>1]=l+32>>>6;_o(a,k)}function gx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];if(q[d+4>>2]){q[d+80>>2]=0;o[d+69|0]=1;o[d+70|0]=0;q[d+92>>2]=q[d+88>>2]}d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}f=q[q[d+88>>2]+w(c,20)>>2];e=2;if((f|0)==65535){break b}c=q[a>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,f,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);f=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+((c>>>0>e>>>0?e:1)+w(c,g)<<1)|0;f=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!g){break c}c=q[a+4>>2];d=q[(r[c+69|0]?80:72)+c>>2];if(!d){break c}e=q[c+72>>2];if(e>>>0>=t[c+76>>2]){break c}h=r[f+2|0];if((r[f+3|0]|h<<8)==16384?!(h&32|(r[f+1|0]|r[f|0]<<8)):0){break c}Zc(c,d+ -1|0,e+1|0)}e=q[a+4>>2];h=q[e+72>>2];i=h+2|0;d:{if(i>>>0>t[e+76>>2]){break d}c=q[a>>2];d=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);j=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;d=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);d=c+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,g)+!c<<1)|0;if(!(r[(j+w(r[c|0]<<8|r[c+1|0],6)|0)+2|0]&32)){break d}rb(e,h,i)}fx(b,a,f);d=q[a+4>>2];e=q[d+72>>2];if((e|0)!=q[d+76>>2]){g=r[f|0];h=r[f+1|0];e:{if(r[f+2|0]&64){c=q[d+40>>2];q[d+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[d+69|0]){f:{if(q[d+92>>2]==q[d+88>>2]){c=e;if((c|0)==q[d+80>>2]){break f}}if(!Va(d,1,1)){break e}e=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[e+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[e>>2];q[c+4>>2]=f;q[c+16>>2]=q[e+16>>2];f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;e=q[d+72>>2];c=q[d+80>>2]}q[d+80>>2]=c+1}q[d+72>>2]=e+1}d=q[a+4>>2];if(!r[d+68|0]){break a}g=h|g<<8;c=q[d+72>>2];continue}break}if(!r[d+68|0]){break a}while(1){c=q[d+72>>2];if(c>>>0>=t[d+76>>2]){break a}g:{if(r[d+69|0]){e=d;h:{if(q[d+92>>2]==q[d+88>>2]){b=c;if(q[d+80>>2]==(c|0)){break h}}if(!Va(d,1,1)){break g}b=q[d+88>>2]+w(q[d+72>>2],20)|0;g=q[b+4>>2];c=q[d+92>>2]+w(q[d+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=g;q[c+16>>2]=q[b+16>>2];f=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=f;c=q[d+72>>2];b=q[d+80>>2]}q[e+80>>2]=b+1}q[d+72>>2]=c+1}d=q[a+4>>2];if(r[d+68|0]){continue}break}}Kc(d)}function rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-240|0;Da=e;g=c;q[g+16>>2]=0;q[g+20>>2]=-1042284544;q[g+8>>2]=-4194304;q[g+12>>2]=1105199103;q[g>>2]=-4194304;q[g+4>>2]=1105199103;q[g+24>>2]=0;q[g+28>>2]=-1042284544;if(!(!q[a>>2]|t[a+212>>2]<=b>>>0)){h=q[a+76>>2];a:{if((h|0)==271312){break a}g=r[h|0];if(g>>>0>3){break a}b:{switch(g-1|0){default:f=r[(b+h|0)+1|0];break a;case 0:case 1:break a;case 2:break b}}f=1;g=r[h+1|0]|r[h+2|0]<<8;i=g<<8;g=(i&16711680|g<<24)>>>16|0;c:{if(g>>>0<=1){i=r[h+2|0]|i&65280;break c}i=r[h+2|0]|i&65280;while(1){j=i>>>0>f>>>0?(h+w(f,3)|0)+3|0:271312;if((r[j|0]<<8|r[j+1|0])>>>0>b>>>0){break c}f=f+1|0;if((g|0)!=(f|0)){continue}break}f=g}f=f+ -1|0;f=r[(i>>>0>f>>>0?(h+w(f,3)|0)+3|0:271312)+2|0]}o[e+88|0]=0;q[e+80>>2]=0;q[e+84>>2]=0;q[e+108>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;q[e+124>>2]=0;q[e+128>>2]=0;o[e+132|0]=0;q[e+176>>2]=0;j=e+168|0;g=j;q[g>>2]=0;q[g+4>>2]=0;q[e+72>>2]=0;q[e+76>>2]=0;q[e+116>>2]=0;q[e+120>>2]=0;k=f&255;h=q[a+68>>2];f=r[h|0]<<8|r[h+1|0];d:{if(f>>>0<=b>>>0){q[e- -64>>2]=q[67830];b=q[67829];q[e+56>>2]=q[67828];q[e+60>>2]=b;break d}g=r[h+2|0];l=(h+w(g,f+1|0)|0)+3|0;i=0;if(g){f=(h+w(b,g)|0)+3|0;while(1){i=r[f|0]|i<<8;f=f+1|0;g=g+ -1|0;if(g){continue}break}}b=rg(h,b);q[e+64>>2]=0;q[e+60>>2]=b;q[e+56>>2]=(i+l|0)+ -1}IX(e+72|0,e+56|0,q[a+64>>2],q[(t[a+204>>2]>k>>>0?q[a+208>>2]+w(k,24)|0:271312)+20>>2]);o[e+232|0]=d;q[e+220>>2]=0;p[e+216>>1]=0;q[e+40>>2]=0;q[e+44>>2]=-1042284544;q[e+32>>2]=0;q[e+36>>2]=-1042284544;q[e+24>>2]=-4194304;q[e+28>>2]=1105199103;o[e+144|0]=0;q[e+48>>2]=a;o[e+8|0]=0;q[e+16>>2]=-4194304;q[e+20>>2]=1105199103;b=r[271312];d=b|256;f=r[e+88|0];e:{while(1){g=65535;f:{if(f&255){break f}f=q[e+84>>2];a=f+1|0;h=q[e+76>>2];if(a>>>0>h>>>0){break f}g:{h:{if(f>>>0>>0){i=q[e+72>>2];g=r[i+f|0];if((g|0)==12){if(a>>>0>=h>>>0){break h}f=r[a+i|0];q[e+84>>2]=a;g=f|256;f=a}if(f>>>0>=h>>>0){f=g;break g}q[e+84>>2]=f+1;break f}o[e+88|0]=1;f=b;if((f|0)==12){break f}break g}o[e+88|0]=1;q[e+84>>2]=h;f=d}o[e+88|0]=1;q[e+84>>2]=h;g=f}HX(g,e+72|0,e+8|0);a=0;if((q[e+168>>2]|q[e+100>>2])<0){break e}f=r[e+88|0];a=0;if(r[e+92|0]|(f|(r[e+160|0]|r[e+112|0]))){break e}if(!r[e+144|0]){continue}break}a=q[e+20>>2];q[c>>2]=q[e+16>>2];q[c+4>>2]=a;a=q[e+44>>2];q[c+24>>2]=q[e+40>>2];q[c+28>>2]=a;a=q[e+36>>2];q[c+16>>2]=q[e+32>>2];q[c+20>>2]=a;a=q[e+28>>2];q[c+8>>2]=q[e+24>>2];q[c+12>>2]=a;a=1}f=a;La(q[e+108>>2]);q[e+108>>2]=0;q[e+100>>2]=0;q[e+104>>2]=0;La(q[e+176>>2]);q[j+8>>2]=0;q[j>>2]=0;q[j+4>>2]=0;La(q[e+108>>2])}Da=e+240|0;return f}function $n(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,u=0,v=0,x=0;d=Da-1328|0;Da=d;i=q[a+4>>2];l=q[i+328>>2];q[d+1324>>2]=0;m=q[i+136>>2];p=q[i+100>>2];k=q[q[i+128>>2]+52>>2];a:{b:{if(k){c=n[q[q[k>>2]>>2]](q[k+4>>2],b,d+664|0)|0;q[d+1324>>2]=c;if(c){break a}g=q[i+288>>2];if(g&255){e=q[d+664>>2];c=g;while(1){h=r[e|0]|h<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}}c=q[d+668>>2];c:{if(!c){e=0;break c}f=c-g|0;e=gb(p,f,d+1324|0);if(q[d+1324>>2]){break c}Qa(e,q[d+664>>2]+q[i+288>>2]|0,f)}n[q[q[k>>2]+4>>2]](q[k+4>>2],d+664|0);if(!q[d+1324>>2]){break b}break a}c=q[i+292>>2]+q[i+288>>2]|0;f=Xa(l,(q[i+284>>2]+q[i+308>>2]|0)+w(c,b)|0);q[d+1324>>2]=f;if(f){break a}c=lb(l,c<<1);q[d+1324>>2]=c;if(c){break a}f=q[l+32>>2];g=q[i+288>>2];if(g&255){j=g+ -1&255;e=f;c=g;while(1){h=r[e|0]|h<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}f=(f+j|0)+1|0}c=0;j=q[i+292>>2];if(j&255){u=j+ -1&255;e=f;c=j;while(1){s=r[e|0]|s<<8;e=e+1|0;c=c+ -1|0;if(c&255){continue}break}e=(g+(f+u|0)|0)+1|0;c=0;while(1){c=r[e|0]|c<<8;e=e+1|0;j=j+ -1|0;if(j&255){continue}break}}jb(l);d:{e:{if(!(c>>>0<=t[l+4>>2]?!(c>>>0>>0|h>>>0>=t[i+300>>2]):0)){q[d+1324>>2]=9;break e}f=c-s|0;if(f){break d}}j=0;e=0;break a}j=0;e=gb(p,f,d+1324|0);if(q[d+1324>>2]){break a}c=Gh(l,q[i+308>>2]+s|0,e,f);q[d+1324>>2]=c;if(c){break a}}c=q[i+316>>2]+(h<<3)|0;q[a+1364>>2]=q[c>>2];c=q[c+4>>2];q[a+1372>>2]=0;q[a+1376>>2]=0;q[a+1368>>2]=c;c=q[i+304>>2]+w(h,252)|0;g=q[c+220>>2];q[a+1380>>2]=q[c+216>>2];q[a+1384>>2]=g;h=q[c+228>>2];g=a+1388|0;q[g>>2]=q[c+224>>2];q[g+4>>2]=h;g=q[c+236>>2];q[a+1396>>2]=q[c+232>>2];q[a+1400>>2]=g;h=q[c+4>>2];q[a+1360>>2]=h;g=(h|0)>-1?h:0;if(f>>>0>=g>>>0){if((h|0)>=0){n[q[m+16>>2]](e,f,4330)}f:{if(r[a+70|0]){h=n[q[q[m+12>>2]+8>>2]](a,e+g|0,f-g|0)|0;q[d+1324>>2]=h;j=0;break f}n[q[m+24>>2]](d+664|0,a,1);n[q[m+28>>2]](i,c,d+8|0);q[d+1200>>2]=d+8;c=e+g|0;f=f-g|0;h=n[q[q[m+12>>2]+12>>2]](d+664|0,c,f)|0;q[d+1324>>2]=h;j=0;if((h&255)!=164){break f}o[q[a+8>>2]+160|0]=0;h=n[q[q[m+12>>2]+12>>2]](d+664|0,c,f)|0;q[d+1324>>2]=h;j=1}if(!q[q[k>>2]+8>>2]|(h|!k)){break a}c=q[a+32>>2];q[d+668>>2]=0;q[d+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=q[a+40>>2];q[d+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=q[a+44>>2];q[d+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;v=d,x=n[q[q[k>>2]+8>>2]](q[k+4>>2],b,0,d+664|0)|0,q[v+1324>>2]=x;q[a+32>>2]=q[d+664>>2]<<16;q[a+40>>2]=q[d+672>>2]<<16;q[a+44>>2]=q[d+676>>2]<<16;break a}q[d+1324>>2]=9}if(e){n[q[p+8>>2]](p,e)}o[q[a+8>>2]+161|0]=j;Da=d+1328|0;return q[d+1324>>2]}function os(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[a+92>>2];b:{c:{if(e>>>0>2){break c}d:{e:{f:{g:{h:{i:{switch(e-1|0){default:f=q[a+64>>2];if((f|0)<(c|0)){g=q[a+4>>2];h=q[a+8>>2];j:{if(q[a+84>>2]){e=q[a+36>>2];break j}e=q[a+36>>2];q[a+84>>2]=e;q[a+80>>2]=e;e=e+32|0;q[a+36>>2]=e}if(e>>>0>2]){d=q[a+80>>2];q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=e;q[d+28>>2]=0;q[d+4>>2]=0;p[d+12>>1]=r[a+164|0]|((((f+g|0)+ -1&0-g)-f|0)<(h|0)?8:40);if(!q[a+88>>2]){q[a+88>>2]=d}break f}break a}if((f|0)<=(c|0)){break c}g=q[a+4>>2];h=q[a+8>>2];k:{if(q[a+84>>2]){e=q[a+36>>2];break k}e=q[a+36>>2];q[a+84>>2]=e;q[a+80>>2]=e;e=e+32|0;q[a+36>>2]=e}if(e>>>0>2]){d=q[a+80>>2];q[d+16>>2]=0;q[d+20>>2]=0;q[d+8>>2]=e;q[d+28>>2]=0;q[d+4>>2]=0;e=r[a+164|0];p[d+12>>1]=(f&g+ -1)<(h|0)?e:e|16;if(!q[a+88>>2]){q[a+88>>2]=d}break h}break a;case 1:break g;case 0:break i}}d=q[a+64>>2];if((d|0)<=(c|0)){break e}f=q[a+36>>2];e=q[a+80>>2];g=f-q[e+8>>2]|0;if((g|0)<=-1){q[a+40>>2]=99;return 1}h=q[a+4>>2]+ -1&d;i=q[a+8>>2];l:{if(!g){d=f;break l}q[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=s[e+12>>1];p[e+12>>1]=(d&8?16:32)|d}q[a+80>>2]=f;d=f+32|0;q[a+36>>2]=d;q[f+8>>2]=d;q[f+16>>2]=0;q[e+28>>2]=f;p[a+76>>1]=s[a+76>>1]+1;e=f}g=q[a+32>>2];if(d>>>0>=g>>>0){break a}o[a+79|0]=0;if(!q[a+84>>2]){q[a+84>>2]=d;q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=d;q[e+28>>2]=0;q[e+4>>2]=0;d=r[a+164|0];p[e+12>>1]=(h|0)>=(i|0)?d|16:d;if(!q[a+88>>2]){q[a+88>>2]=e}}o[a+78|0]=1;q[a+92>>2]=2;o[a+79|0]=0;d=q[a+64>>2];break d}d=q[a+64>>2];if((d|0)>=(c|0)){break d}f=q[a+36>>2];e=q[a+80>>2];g=f-q[e+8>>2]|0;if((g|0)<=-1){q[a+40>>2]=99;return 1}h=q[a+4>>2];h=((h+d|0)+ -1&0-h)-d|0;i=q[a+8>>2];m:{if(!g){d=f;break m}q[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=s[e+12>>1];p[e+12>>1]=(d&8?16:32)|d}q[a+80>>2]=f;d=f+32|0;q[a+36>>2]=d;q[f+8>>2]=d;q[f+16>>2]=0;q[e+28>>2]=f;p[a+76>>1]=s[a+76>>1]+1;e=f}g=q[a+32>>2];if(d>>>0>=g>>>0){break a}o[a+79|0]=0;if(!q[a+84>>2]){q[a+84>>2]=d;q[a+80>>2]=d;f=d+32|0;q[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=d;q[e+28>>2]=0;q[e+4>>2]=0;p[e+12>>1]=r[a+164|0]|((h|0)>=(i|0)?40:8);if(!q[a+88>>2]){q[a+88>>2]=e}}o[a+78|0]=1;q[a+92>>2]=1;o[a+79|0]=0;d=q[a+64>>2]}f=1;if(ms(a,q[a+60>>2],d,b,c,q[a+68>>2],q[a+72>>2])){break b}break c}e=r[a+78|0];d=ms(a,q[a+60>>2],0-d|0,b,0-c|0,0-q[a+72>>2]|0,0-q[a+68>>2]|0);if(!(r[a+78|0]|!e)){e=q[a+80>>2];q[e+20>>2]=0-q[e+20>>2]}f=1;if(d){break b}}q[a+64>>2]=c;q[a+60>>2]=b;f=0}return f}q[a+40>>2]=98;return 1}function Hn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,u=0,v=0;k=Da-16|0;Da=k;g=q[d+628>>2];a:{if(g>>>0>4){i=-31;break a}l=d+8|0;b:{c:{d:{e:{f:{switch(g-1|0){case 2:h=q[d+2428>>2];break d;case 1:i=q[d+2424>>2];break e;default:i=En(d,l,b);if((i|0)!=1){break a}q[b>>2]=q[b>>2]+1;q[d+2420>>2]=0;g=n[q[d+24>>2]](q[d+32>>2],a)|0;q[c>>2]=g;if(!g){i=-25;break a}i=1;if(t[b>>2]<=1){Na(g,0,a);break a}q[d+628>>2]=1;break;case 3:break c;case 0:break f}}g=q[d+12>>2];g:{if(32-g>>>0>=5){f=q[l>>2];break g}i=q[d+20>>2];e=g;while(1){if(!i){i=2;break a}f=q[d+8>>2]>>>8|0;q[d+8>>2]=f;h=q[d+16>>2];m=r[h|0];i=i+ -1|0;q[d+20>>2]=i;g=e+ -8|0;q[d+12>>2]=g;q[d+16>>2]=h+1;f=f|m<<24;q[d+8>>2]=f;h=40-e|0;e=g;if(h>>>0<5){continue}break}}q[d+628>>2]=2;e=g;g=f>>>g|0;f=g&1;q[d+12>>2]=e+(f?5:1);i=(g>>>1&15)+1&0-f;q[d+2424>>2]=i}b=q[b>>2]+i|0;i=rh(b,b,d+2432|0,0,d);if((i|0)!=1){break a}q[d+628>>2]=3;q[d+2428>>2]=65535;h=65535}m=q[d+2424>>2];i=q[d+2420>>2];p=q[c>>2];q[k+12>>2]=h;if((h|0)==65535?i>>>0>=a>>>0:0){break c}e=(h|0)!=65535;u=d+2432|0;while(1){h:{i:{j:{if(e&1){break j}k:{l:{f=q[d+12>>2];m:{if(32-f>>>0>=15){b=q[l>>2];break m}e=q[d+20>>2];g=f;while(1){if(!e){break l}b=q[d+8>>2]>>>8|0;q[d+8>>2]=b;h=q[d+16>>2];j=r[h|0];e=e+ -1|0;q[d+20>>2]=e;f=g+ -8|0;q[d+12>>2]=f;q[d+16>>2]=h+1;b=b|j<<24;q[d+8>>2]=b;h=40-g|0;g=f;if(h>>>0<15){continue}break}}g=d;h=b>>>f|0;j=((h&255)<<2)+d|0;e=j+2432|0;b=r[e|0];if(b>>>0>=9){f=f+8|0;q[d+12>>2]=f;e=(s[j+2434>>1]+(q[(b<<2)+153520>>2]&h>>>8&127)<<2)+e|0;b=r[e|0]}q[g+12>>2]=(b&255)+f;h=s[e+2>>1];q[k+12>>2]=h;break k}if(!ud(u,l,k+12|0)){h=65535;break b}h=q[k+12>>2]}if(!h){e=0;h=0;break i}if(h>>>0<=m>>>0){break j}e=h-m|0;break i}f=q[d+12>>2];n:{if(32-f>>>0>=h>>>0){b=q[l>>2];break n}e=q[d+20>>2];g=f;while(1){if(!e){break b}b=q[d+8>>2]>>>8|0;q[d+8>>2]=b;j=q[d+16>>2];v=r[j|0];e=e+ -1|0;q[d+20>>2]=e;f=g+ -8|0;q[d+12>>2]=f;q[d+16>>2]=j+1;b=b|v<<24;q[d+8>>2]=b;j=40-g|0;g=f;if(j>>>0>>0){continue}break}}q[d+12>>2]=h+f;e=(q[(h<<2)+153552>>2]&b>>>f)+(1<>>0>a>>>0){i=-8;break a}Na(i+p|0,0,e);while(1){i=i+1|0;e=e+ -1|0;if(e){continue}break}break h}o[i+p|0]=e;i=i+1|0}e=0;if(i>>>0>>0){continue}break}}e=q[d+12>>2];o:{p:{if((e|0)!=32){f=q[l>>2];break p}b=q[d+20>>2];if(!b){i=2;g=4;break o}g=q[d+8>>2]>>>8|0;q[d+8>>2]=g;f=q[d+16>>2];h=r[f|0];q[d+20>>2]=b+ -1;e=24;q[d+12>>2]=24;q[d+16>>2]=f+1;f=g|h<<24;q[d+8>>2]=f}i=1;q[d+12>>2]=e+1;g=0;if(!(f>>>e&1)){break o}sA(q[c>>2],a,d)}q[d+628>>2]=g;break a}q[d+2420>>2]=i;q[d+2428>>2]=h;i=2}Da=k+16|0;return i}function AS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}g=e-a|0;if(g>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>14){break a}b:{switch(h-1|0){default:c=0;if(g>>>0<262){break a}q[b+12>>2]=d+ -2;c=(d|0)>1;break a;case 3:c=zS(a,b);break a;case 5:if(g>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+8|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+9|0]|r[a+8|0]<<8;if(c){a=a+10|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 9:if(g>>>0<20){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+16|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>2147483646){c=0;break a}if(c){a=a+20|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 11:if(g>>>0<16){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+12|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){c=0;break a}c=w(c,12);if(c){a=a+16|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 12:if(g>>>0<16){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=a+12|0;if(f>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<4){c=0;break a}q[b+12>>2]=d+ -3;if((d|0)<3){c=0;break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){c=0;break a}c=w(c,12);if(c){a=a+16|0;if(f>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break a}}c=1;break a;case 0:case 1:case 2:case 4:case 6:case 7:case 8:case 10:break a;case 13:break b}}if(g>>>0<=9){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)<2){break a}q[i+12>>2]=a;c=yS(a+6|0,b,i+12|0)}Da=i+16|0;return c}function NQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,s=0;c=Da-16832|0;Da=c;a:{b:{if(!a){break b}a=19;d=q[b+8>>2];if(!(d&1)){break a}a=20;e=q[b+4>>2];if(!e){break a}f=p[e+2>>1];if(!f){a=0;break a}j=p[e>>1];if((j|0)<1){a=0;break a}g=q[e+12>>2];if(!g|!q[e+4>>2]|(f|0)!=(p[(g+(j<<1)|0)+ -2>>1]+1|0)){break a}f=q[b>>2];q[c+232>>2]=q[e+16>>2];a=q[e+12>>2];q[c+224>>2]=q[e+8>>2];q[c+228>>2]=a;a=q[e+4>>2];q[c+216>>2]=q[e>>2];q[c+220>>2]=a;c:{if(d&2){a=q[b+12>>2];if(!a){a=0;break a}q[c+244>>2]=a;a=q[b+28>>2];q[c+312>>2]=0;q[c+248>>2]=a;a=q[b+32>>2];q[c+164>>2]=a;f=q[b+36>>2];q[c+172>>2]=f;d=q[b+40>>2];q[c+168>>2]=d;j=q[b+44>>2];break c}if(!f){break b}d=q[f+4>>2];if(!d){a=0;break a}j=q[f>>2];if(!j){a=0;break a}a=6;b=q[f+12>>2];if(!b){break a}a=q[f+8>>2];q[c+240>>2]=a;q[c+244>>2]=0;q[c+248>>2]=0;f=0;q[c+172>>2]=0;q[c+164>>2]=0;q[c+168>>2]=d;q[c+312>>2]=-1;q[c+236>>2]=(a|0)<0?b:b+w(a,j+ -1|0)|0;a=0}q[c+176>>2]=j;if((d|0)<=(a|0)){a=0;break a}a=0;if((j|0)<=(f|0)){break a}k=j-f|0;if(k>>>0>=129){a=k+127>>>7|0;k=((a+k|0)+ -1>>>0)/(a>>>0)|0}l=k<<2;a=l+15>>>4|0;q[c+200>>2]=1024-a;q[c+196>>2]=(c+448|0)+(a<<4);q[c+192>>2]=c+448;m=c+252|0;while(1){q[c+172>>2]=f;q[c+324>>2]=f;f=f+k|0;d=(f|0)<(j|0)?f:j;q[c+176>>2]=d;q[c+320>>2]=d;e=0;while(1){a=1;b=e+1|0;i=(c+320|0)+(b<<2)|0;g=q[i>>2];Na(q[c+192>>2],0,l);q[c+188>>2]=1;q[c+204>>2]=0;q[c+176>>2]=d;q[c+172>>2]=g;d:{h=MQ(c,h);if((h|0)!=64){if(h){break a}a=q[c+172>>2];g=a;if((a|0)>=q[c+176>>2]){break d}while(1){a=q[q[c+192>>2]+(g-a<<2)>>2];e:{if(!a){break e}h=0;d=q[c+164>>2];b=0;while(1){f:{if(!h){break f}h=q[a>>2];if((h|0)<=(d|0)){break f}ks(c,d,g,b,h-d|0)}b=(q[a+4>>2]<<9)+b|0;d=b-q[a+8>>2]|0;g:{if(!d){break g}h=q[a>>2];if((h|0)>2]){break g}i=d>>9;h:{if(r[c+232|0]&2){d=i&511;d=d>>>0>255?d^511:d;break h}d=i^d>>31;d=(d|0)<255?d:255}i=q[c+312>>2];if((i|0)>=0){s=i+1|0;q[c+312>>2]=s;i=w(i,6)+c|0;o[i+256|0]=d;p[i+254>>1]=1;p[i+252>>1]=h;if((s|0)!=10){break g}n[q[c+244>>2]](g,10,m,q[c+248>>2]);q[c+312>>2]=0;break g}o[h+(q[c+236>>2]-w(q[c+240>>2],g)|0)|0]=d}h=(b|0)!=0;d=q[a>>2]+1|0;a=q[a+12>>2];if(a){continue}break}if(!b){break e}ks(c,d,g,b,q[c+168>>2]-d|0)}a=q[c+312>>2];if((a|0)>=1){n[q[c+244>>2]](g,a,m,q[c+248>>2]);q[c+312>>2]=0}g=g+1|0;if((g|0)>=q[c+176>>2]){break d}a=q[c+172>>2];continue}}e=d-g>>1;if(!e){break a}q[i+4>>2]=g;d=e+g|0;q[i>>2]=d;h=1;e=b;continue}if((e|0)>=1){e=e+ -1|0;d=q[(c+320|0)+(e<<2)>>2];h=1;continue}break}h=1;if((f|0)<(j|0)){continue}break}a=0;break a}a=6}Da=c+16832|0;return a|0}function Nu(a,b){var c=0,d=x(0),e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Da-16|0;Da=g;e=r[a+3|0]|r[a+2|0]<<8;j=q[b+96>>2];e=yb(e?e+a|0:271312,q[q[j+88>>2]+w(q[j+72>>2],20)>>2]);h=(r[a+5|0]|r[a+4|0]<<8)>>>0>e>>>0?((e<<2)+a|0)+6|0:271312;a:{if(!(r[h|0]<<8|r[h+1|0])){e=0;break a}c=q[j+72>>2];q[b+36>>2]=1;q[b>>2]=c;f=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[f+76>>2];e=0;o[b+20|0]=(c|0)==q[f+72>>2]?r[(q[f+88>>2]+w(c,20)|0)+15|0]:0;if(!Kf(b)){break a}i=r[a+3|0]|r[a+2|0]<<8;i=yb(i?i+a|0:271312,q[q[j+88>>2]+w(q[b>>2],20)>>2]);f=(r[a+5|0]|r[a+4|0]<<8)>>>0>i>>>0?((i<<2)+a|0)+6|0:271312;c=r[f+2|0]<<8|r[f+3|0];if(!c){break a}i=q[j+72>>2];e=q[b>>2];l=i-e|0;if(l>>>0>=2){rb(j,e,i);c=r[f+3|0]|r[f+2|0]<<8}Qi(c?a+c|0:271312,b,q[q[j+88>>2]+w(e,20)>>2],g+4|0,g);c=a;a=r[h+1|0]|r[h|0]<<8;Qi(a?c+a|0:271312,b,q[q[j+88>>2]+w(i,20)>>2],g+12|0,g+8|0);f=q[j+96>>2];m=q[b+112>>2];a=m+ -4|0;b:{if(a>>>0>3){break b}c:{switch(a-1|0){default:a=f+w(e,20)|0;c=q[a+8>>2];d=x(x(J(x(u[g+4>>2])))+x(c|0));d:{if(x(y(d))>2]=c;a=f+w(i,20)|0;c=q[a+8>>2];h=a;k=c;d=x(x(J(x(u[g+12>>2])))+x(c|0));e:{if(x(y(d))>2]=k-c;q[a>>2]=q[a>>2]-c;break b;case 0:a=f+w(e,20)|0;c=q[a+8>>2];h=a;k=c;d=x(x(J(x(u[g+4>>2])))+x(c|0));f:{if(x(y(d))>2]=k-c;q[a>>2]=q[a>>2]-c;a=f+w(i,20)|0;c=q[a+8>>2];d=x(x(J(x(u[g+12>>2])))+x(c|0));if(x(y(d))>2]=~~d;break b}q[a>>2]=-2147483648;break b;case 1:a=f+w(e,20)|0;c=q[a+12>>2];d=x(x(J(x(u[g>>2])))+x(c|0));g:{if(x(y(d))>2]=c;a=f+w(i,20)|0;c=q[a+12>>2];h=a;k=c;d=x(x(J(x(u[g+8>>2])))+x(c|0));h:{if(x(y(d))>2]=k-c;q[a+4>>2]=q[a+4>>2]-c;break b;case 2:break c}}a=f+w(e,20)|0;c=q[a+12>>2];h=a;k=c;d=x(x(J(x(u[g>>2])))+x(c|0));i:{if(x(y(d))>2]=k-c;q[a+4>>2]=q[a+4>>2]-c;c=f+w(i,20)|0;d=x(J(x(u[g+8>>2])));j:{if(x(y(d))>2]=a}a=r[b+128|0];d=x(u[g+8>>2]-u[g>>2]);k:{if(x(y(d))>2]-u[g+4>>2]);l:{if(x(y(d))>1]=l;o[a+18|0]=2;q[j+32>>2]=q[j+32>>2]|8;n:{if((q[b+112>>2]&-2)==4){q[a+12>>2]=h;break n}q[a+8>>2]=c}e=1;q[j+72>>2]=q[j+72>>2]+1}Da=g+16|0;return e}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,p=0,s=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=Da-48|0;Da=e;f=q[a+20>>2];a:{b:{if(f){g=85;if(n[f](a,b,0,0)){break a}f=q[a+4>>2];break b}g=85;f=q[a+4>>2];if(f>>>0>>0){break a}}q[a+8>>2]=b;if(f>>>0<=b>>>0){break a}g=q[a+20>>2];c:{if(g){g=n[g](a,b,e+16|0,16)|0;break c}g=f-b|0;g=g>>>0<16?g:16;Qa(e+16|0,q[a>>2]+b|0,g)}q[a+8>>2]=b+g;if(g>>>0<16){g=85;break a}g=2;f=o[e+16|0];if((f|0)<0){break a}h=o[e+20|0];if((h|0)<0){break a}i=o[e+24|0];if((i|0)<0){break a}j=o[e+28|0];if((j|0)<0){break a}f=r[e+19|0]|(r[e+17|0]<<16|(f&255)<<24|r[e+18|0]<<8);q[d>>2]=f;h=r[e+23|0]|(r[e+21|0]<<16|(h&255)<<24|r[e+22|0]<<8);if(!h){break a}k=r[e+31|0];j=k|(r[e+29|0]<<16|(j&255)<<24|r[e+30|0]<<8);i=r[e+27|0]|(r[e+25|0]<<16|(i&255)<<24|r[e+26|0]<<8);d:{if((f|0)<(h|0)){if((f|0)<=(h-i|0)){break d}break a}if((h|0)>(f-j|0)){break a}}if((i^2147483647)<(f|0)|(j^2147483647)>>>0>>0|((2147483647-(f+i|0)|0)<(b|0)|(h+j^2147483647)<(b|0))){break a}f=b+f|0;l=f+i|0;i=q[a+4>>2];if(l>>>0>i>>>0){break a}b=b+h|0;if(j+b>>>0>i>>>0){break a}q[d>>2]=f;e:{f:{d=q[a+20>>2];if(d){if(!n[d](a,b,0,0)){break f}g=85;break a}f=q[a+4>>2];if(f>>>0>=b>>>0){break e}g=85;break a}f=q[a+4>>2];k=r[e+31|0]}q[a+8>>2]=b;o[e+15|0]=k+1;if(f>>>0<=b>>>0){g=85;break a}d=q[a+20>>2];g:{if(d){f=n[d](a,b,e,16)|0;break g}d=f-b|0;f=d>>>0<16?d:16;Qa(e,q[a>>2]+b|0,f)}d=b+f|0;q[a+8>>2]=d;if(f>>>0<16){g=85;break a}f=r[e+1|0];h=r[e|0];j=r[e+2|0];i=r[e+3|0];k=r[e+4|0];l=r[e+5|0];m=r[e+6|0];p=r[e+7|0];s=r[e+8|0];u=r[e+9|0];v=r[e+10|0];w=r[e+11|0];x=r[e+12|0];y=r[e+13|0];z=r[e+14|0];A=r[e+15|0];if(k|(i|(j|(f|h)))|l|m|p|s|u|v|w|x|y|z|A?!((f|0)==r[e+17|0]&(h|0)==r[e+16|0]&(j|0)==r[e+18|0]&(i|0)==r[e+19|0]&(k|0)==r[e+20|0]&(l|0)==r[e+21|0]&(m|0)==r[e+22|0]&(p|0)==r[e+23|0]&(s|0)==r[e+24|0]&(u|0)==r[e+25|0]&(v|0)==r[e+26|0]&(w|0)==r[e+27|0]&(x|0)==r[e+28|0]&(y|0)==r[e+29|0]&(z|0)==r[e+30|0]&(A|0)==r[e+31|0]):0){break a}g=d+8|0;f=q[a+20>>2];h:{i:{if(f){if(!n[f](a,g,0,0)){break i}d=q[a+8>>2];break h}if(t[a+4>>2]>>0){break h}}q[a+8>>2]=g;d=g}j:{if(d+1>>>0>=t[a+4>>2]){break j}k:{l:{m:{g=q[a+20>>2];n:{if(g){if((n[g](a,d,e+46|0,2)|0)!=2){break j}d=q[a+8>>2];f=e+46|0;break n}g=q[a>>2];if(!g){break m}f=d+g|0}g=2;f=r[f|0]|r[f+1|0]<<8;q[a+8>>2]=d+2;d=(f<<8&16711680|f<<24)>>16;if((d|0)<0){break a}b=(d&65535)+b|0;d=q[a+20>>2];if(!d){break l}g=85;if(!n[d](a,b,0,0)){break k}break a}q[a+8>>2]=d+2}g=85;if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;q[c>>2]=b;g=0;break a}g=85}Da=e+48|0;return g}function Js(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,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0;t=Da-16|0;Da=t;e=Ef(a,d);a:{if(e){break a}ah(a,b,c,d);u=q[a>>2];f=q[a+2748>>2];h=q[q[f>>2]+8>>2];b=w(d,1348)+a|0;i=b;q[b+56>>2]=0;m=b+44|0;e=q[m>>2];c=q[b+52>>2];g=q[(d?12:4)+a>>2];b=0;b=(d|0)==1?r[q[(h<<2)+284112>>2]+12|0]:b;if(!d){k=Za(64,q[a+12>>2])}z=Za(32,g);f=Ma(q[((f+44|0)+w(d,9516)|0)+204>>2],g);l=Za((f|0)<16?f:16,g);if((e|0)>=1){n=w(e,44)+c|0;A=w(k,3);s=(w(d,1348)+a|0)- -64|0;B=b&255;b=c;while(1){e=p[b+10>>1];b:{if((z|0)>1]|(k|0)>(e|0)){break b}j=r[b+1|0];if((j|0)==4|(q[b+24>>2]?e<<1<(A|0):0)){break b}c:{x=q[i+56>>2];d:{if((x|0)<=0){h=p[b+2>>1];break d}h=p[b+2>>1];C=q[s>>2];e=0;while(1){f=w(e,44)+C|0;y=h-p[f>>1]|0;v=y>>31;if((j|0)==r[f+13|0]?(v^v+y)<(l|0):0){break c}e=e+1|0;if((x|0)!=(e|0)){continue}break}}e=Gs(m,h,j<<24>>24,B,u,t+12|0);if(e){break a}e=q[t+12>>2];q[e+40>>2]=b;q[e+36>>2]=b;q[e>>2]=0;q[e+4>>2]=0;q[e+32>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;o[e+13|0]=r[b+1|0];f=p[b+2>>1];p[e>>1]=f;f=Ma(f,g);q[e+8>>2]=f;q[e+4>>2]=f;q[b+16>>2]=b;break b}q[b+16>>2]=q[f+36>>2];q[q[f+40>>2]+16>>2]=b;q[f+40>>2]=b}b=b+44|0;if(b>>>0>>0){continue}break}while(1){e:{if(r[c+1|0]!=4){break e}f=q[i+56>>2];if((f|0)<1){break e}h=p[c+2>>1];k=q[s>>2];b=0;while(1){e=k+w(b,44)|0;j=h-p[e>>1]|0;g=j>>31;if((g^g+j)>=(l|0)){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}q[c+16>>2]=q[e+36>>2];q[q[e+40>>2]+16>>2]=c;q[e+40>>2]=c}c=c+44|0;if(c>>>0>>0){continue}break}}e=0;g=q[(w(d,1348)+a|0)- -64>>2];if(!g){break a}a=q[i+56>>2];if((a|0)<1){break a}n=w(a,44)+g|0;e=g;while(1){a=q[e+36>>2];b=a;if(b){while(1){q[b+12>>2]=e;b=q[b+16>>2];if((a|0)!=(b|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}while(1){f=g+28|0;d=g+24|0;s=q[g+36>>2];b=s;c=0;k=0;while(1){j=o[b|0]&1;v=j^1;f:{g:{h:{i:{h=q[b+24>>2];if(h){a=q[h+12>>2];i=(a|0)!=0&(a|0)!=(g|0);e=q[b+20>>2];if(!e){break i}if(!(i|q[e+12>>2]!=0)){break f}l=0;a=d;if(i){break h}break g}e=q[b+20>>2];if(!e){break f}l=0;a=d;if(q[e+12>>2]){break g}break f}if(!i){break f}}l=1;e=h;a=f}h=q[a>>2];j:{if(h){u=p[b+2>>1]-p[e+2>>1]|0;a=u>>31;m=p[g>>1]-p[h>>1]|0;i=m>>31;if((a^a+u)>=(i^i+m)){break j}}h=q[e+12>>2]}if(l){q[f>>2]=h;o[h+12|0]=r[h+12|0]|2;break f}q[d>>2]=h}c=c+j|0;k=k+v|0;b=q[b+16>>2];if((s|0)!=(b|0)){continue}break}o[g+12|0]=(c|0)!=0&c>>>0>=k>>>0;if(!(!q[g+28>>2]|!q[d>>2])){q[f>>2]=0}g=g+44|0;if(g>>>0>>0){continue}break}e=0}Da=t+16|0;return e}function cX(a,b){var c=0,d=0;a:{b:{c:{c=a+ -247|0;if(c>>>0>7){if((a|0)==28){a=q[b+12>>2];d=q[b+4>>2];d:{if(a>>>0>=d>>>0){o[b+16|0]=1;c=271312;break d}c=a+q[b>>2]|0}c=r[c|0];a=a+1|0;e:{if(a>>>0>=d>>>0){o[b+16|0]=1;a=271312;break e}a=a+q[b>>2]|0}d=r[a|0];a=q[b+24>>2];f:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break f}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=(d|c<<8)<<16>>16;if(r[b+16|0]){a=q[b+4>>2];break c}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break c}c=c+2|0;if(c>>>0>a>>>0){break c}break b}if(a+ -32>>>0<=214){c=q[b+24>>2];g:{if(c>>>0>2]){q[b+24>>2]=c+1;b=q[b+36>>2]+(c<<5)|0;break g}o[b+20|0]=1;b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976}q[b+8>>2]=0;q[b+12>>2]=0;if(q[b+16>>2]>=0){q[b+20>>2]=0}v[b>>3]=a+ -139|0;return}o[b+40|0]=1;q[b+24>>2]=0;return}h:{switch(c-4|0){case 0:case 1:case 2:case 3:c=(a<<16)+ -16449536>>8;a=q[b+12>>2];i:{if(a>>>0>=t[b+4>>2]){o[b+16|0]=1;a=271312;break i}a=a+q[b>>2]|0}c=c+r[a|0]|0;a=q[b+24>>2];j:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break j}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=-108-c|0;k:{if(r[b+16|0]){a=q[b+4>>2];break k}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break k}c=c+1|0;if(c>>>0>a>>>0){break k}break b}break a;default:break h}}c=(a<<8)+2304|0;a=q[b+12>>2];l:{if(a>>>0>=t[b+4>>2]){o[b+16|0]=1;a=271312;break l}a=a+q[b>>2]|0}c=((c|r[a|0])<<16)+7077888|0;a=q[b+24>>2];m:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<5)|0;break m}o[b+20|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=c>>16;n:{if(r[b+16|0]){a=q[b+4>>2];break n}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break n}c=c+1|0;if(c>>>0>a>>>0){break n}break b}break a}o[b+16|0]=1;q[b+12>>2]=a;return}q[b+12>>2]=c;return}o[b+16|0]=1;q[b+12>>2]=a}function fp(a,b){var c=0,d=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Da-48|0;Da=j;h(+a);d=e(1)|0;m=e(0)|0;a:{b:{i=d;d=i;k=i&2147483647;c:{if(k>>>0<=1074752122){if((d&1048575)==598523){break c}if(k>>>0<=1073928572){if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -1.5707963267341256;c=a+ -6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+ -6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;v[b>>3]=c;v[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -3.1415926534682512;c=a+ -1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(k>>>0<=1075594811){if(k>>>0<=1075183036){if((k|0)==1074977148){break c}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -4.712388980202377;c=a+ -1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;v[b>>3]=c;v[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((k|0)==1075388923){break c}if((i|0)>0?1:(i|0)>=0?m>>>0<0?0:1:0){a=a+ -6.2831853069365025;c=a+ -2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+ -2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;v[b>>3]=c;v[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(k>>>0>1094263290){break b}}n=a*.6366197723675814+6755399441055744+ -6755399441055744;c=a+n*-1.5707963267341256;l=n*6.077100506506192e-11;a=c-l;v[b>>3]=a;h(+a);d=e(1)|0;e(0)|0;i=k>>>20|0;m=(i-(d>>>20&2047)|0)<17;if(y(n)<2147483648){d=~~n}else{d=-2147483648}d:{if(m){break d}l=c;a=n*6.077100506303966e-11;c=c-a;l=n*2.0222662487959506e-21-(l-c-a);a=c-l;v[b>>3]=a;o=i;h(+a);i=e(1)|0;e(0)|0;if((o-(i>>>20&2047)|0)<50){break d}l=c;a=n*2.0222662487111665e-21;c=c-a;l=n*8.4784276603689e-32-(l-c-a);a=c-l;v[b>>3]=a}v[b+8>>3]=c-a-l;break a}if(k>>>0>=2146435072){a=a-a;v[b>>3]=a;v[b+8>>3]=a;d=0;break a}f(0,m|0);f(1,i&1048575|1096810496);a=+g();d=0;while(1){o=d;p=(j+16|0)+(d<<3)|0;if(y(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);v[p>>3]=c;a=(a-c)*16777216;d=1;if(!o){continue}break}v[j+32>>3]=a;e:{if(a!=0){d=2;break e}o=1;while(1){d=o;o=d+ -1|0;if(v[(j+16|0)+(d<<3)>>3]==0){continue}break}}d=wG(j+16|0,j,(k>>>20|0)+ -1046|0,d+1|0);a=v[j>>3];if((i|0)<-1?1:(i|0)<=-1?m>>>0>4294967295?0:1:0){v[b>>3]=-a;v[b+8>>3]=-v[j+8>>3];d=0-d|0;break a}v[b>>3]=a;i=q[j+12>>2];q[b+8>>2]=q[j+8>>2];q[b+12>>2]=i}Da=j+48|0;return d}function UX(a,b,c){a=a|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;h=q[c+88>>2];i=20;f=1;b=0;a=0;g=q[c+76>>2];d=0;a:{if(g){break a}d=1}while(1){b:{c:{d:{if(!d){k=i<<1;j=p[k+241376>>1]+240528|0;d=o[i+241456|0];b=r[i+241648|0]==7?a:b;i=r[(w(a,20)+h|0)+18|0];m=r[k+240432|0];if(i>>>0>=m>>>0){d=i>>>0>r[k+240433|0]?d:i-m|0}d=o[d+j|0];break d}if((i|0)==20){break c}a=g;d=r[i+241600|0]+ -1|0}i=o[d+241504|0];j=d&31;e:{if((32<=(d&63)>>>0?12095>>>j|0:((1<>>j)&1){break e}d=o[d+241552|0]+ -1|0;if(d>>>0>11){break e}f:{g:{switch(d-1|0){case 0:e=a+1|0;break e;case 6:e=a+1|0;if(b>>>0>>0){k=f<<4|2;d=b;while(1){o[(w(d,20)+h|0)+15|0]=k;j=(a|0)==(d|0);d=d+1|0;if(!j){continue}break}}d=f+1|0;f=(d|0)==16?1:d;break e;case 8:if(b>>>0>>0){e=f<<4;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;case 10:if(b>>>0>>0){e=f<<4|1;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;case 9:if(b>>>0>>0){e=f<<4|2;d=b;while(1){o[(w(d,20)+h|0)+15|0]=e;d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=f+1|0;f=(d|0)==16?1:d;e=a;a=a+ -1|0;break e;default:if(b>>>0>>0){d=f<<4;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break e;case 3:if(b>>>0>>0){d=f<<4|1;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break e;case 1:d=l+ -2|0;if(d>>>0>1){break e}if(d-1){if(b>>>0>>0){d=f<<4|1;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;l=2;break e}if(b>>>0>>0){d=f<<4|2;a=b;while(1){o[(w(a,20)+h|0)+15|0]=d;a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e+ -1|0;d=f+1|0;f=(d|0)==16?1:d;break f;case 2:e=a+1|0;l=2;break e;case 7:break g;case 4:case 5:break e}}e=a+1|0}l=3}b=r[i+241696|0]==6?0:b;a=a+1|0;if((g|0)!=(a|0)){break b}d=1;continue}d=q[c+76>>2];if(d){b=d+ -1|0;a=0;e=q[c+88>>2];g=r[e+15|0];while(1){h:{if((a|0)==(b|0)){a=d;break h}a=a+1|0;if((g|0)==r[(e+w(a,20)|0)+15|0]){continue}}break}g=0;e=d;while(1){b=a;if(a-g>>>0>=2){rb(c,g,b);e=q[c+76>>2]}a=b+1|0;g=e>>>0>a>>>0?e:a;k=g+ -1|0;f=q[c+88>>2];h=r[(f+w(b,20)|0)+15|0];a=b;while(1){i:{if((a|0)==(k|0)){a=g;break i}a=a+1|0;if((h|0)==r[(f+w(a,20)|0)+15|0]){continue}}break}g=b;if(b>>>0>>0){continue}break}}return}d=0;continue}}function Ed(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=Da-16|0;Da=i;d=q[a>>2];a:{if(d>>>0>=b>>>0){break a}e=r[d|0];f=e+ -43|0;b:{if(f>>>0>2|!(f-1)){break b}d=d+1|0;if((d|0)==(b|0)){break a}m=(e|0)==45;e=r[d|0];f=e+ -43|0;if(f>>>0>2){break b}if(f-1){break a}}if((e|0)!=46){q[i+8>>2]=d;g=ne(i+8|0,b,10);e=q[i+8>>2];c:{if((e|0)!=(d|0)){if(r[e|0]!=35|e>>>0>=b>>>0){break c}f=e+1|0;q[i+8>>2]=f;g=ne(i+8|0,b,g);e=q[i+8>>2];if((f|0)!=(e|0)){break c}}e=d;g=0}if((d|0)==(e|0)){break a}l=(g|0)>32767;g=l?g:g<<16;d=e}d:{if(!(r[d|0]!=46|d>>>0>=b>>>0)){h=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break d}e=0;e:{if(!g){while(1){f:{f=r[d|0];if(f>>>0>32){break f}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break f;default:break d}}if(f<<24>>24<0|f+ -48>>>0>9){break d}g:{if((e|0)>214748363|(h|0)>214748363){break g}e=o[f+291616|0]+w(e,10)|0;if((c|0)<=0){h=w(h,10);break g}c=c+ -1|0}d=d+1|0;if((d|0)!=(b|0)){continue}break e}}while(1){h:{f=r[d|0];if(f>>>0>32){break h}switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break h;default:break d}}if(f<<24>>24<0|f+ -48>>>0>9){break d}k=o[f+291616|0]+w(e,10)|0;f=(e|0)<214748364&(h|0)<214748364;e=f?k:e;h=f?w(h,10):h;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break d}e=0;h=1}i:{j:{k:{l:{f=d+1|0;if(!((r[d|0]|32)!=101|f>>>0>=b>>>0)){q[i+12>>2]=f;j=ne(i+12|0,b,10);d=q[i+12>>2];m:{if((f|0)!=(d|0)){if(r[d|0]!=35|d>>>0>=b>>>0){break m}k=d+1|0;q[i+12>>2]=k;j=ne(i+12|0,b,j);d=q[i+12>>2];if((k|0)!=(d|0)){break m}}d=f;j=0}if((d|0)==(f|0)){break a}if((j|0)>1e3){break l}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}q[a>>2]=d;if(!(e|g)){break a}d=2147483647;if(l){break i}if(j){break a}if((c|0)<=0){break k}while(1){if((g|0)>214748363){break i}n:{if((e|0)>=214748364){if((h|0)==1){break i}h=(h|0)/10|0;break n}e=w(e,10)}g=w(g,10);a=(c|0)>1;c=c+ -1|0;if(a){continue}break}break j}q[a>>2]=d;d=2147483647;if(e|g){break i}break a}if((c|0)>=0){break j}while(1){a=c;b=g;g=(b|0)/10|0;o:{if((h|0)<=214748363){h=w(h,10);break o}e=(e|0)/10|0}if(!(e?0:b+9>>>0<=18)){c=a+1|0;if(c>>>0>>0){break j}continue}break}break a}if(!e){d=g;break i}d=Za(e,h)+g|0}n=m?0-d|0:d}Da=i+16|0;return n}function Jt(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,s=0,t=0,u=0;if(!Nb(b,a,2)){return 0}k=q[c>>2];g=q[c+4>>2];s=k+(g<<1)|0;h=q[c+12>>2];l=q[c+16>>2];t=h+(l<<1)|0;c=0;a:{if(!g){break a}c=0;if(!l){break a}d=-2;i=l;f=h;c=g;e=k;while(1){b:{m=d+1|0;d=c?e:271312;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;n=((m|0)!=(d|0))+n|0;j=j+1|0;m=(c|0)!=0;e=(m<<1)+e|0;c=c-m|0;if((s|0)==(e|0)&!c){break b}m=(i|0)!=0;i=i-m|0;f=(m<<1)+f|0;if((t|0)!=(f|0)){continue}}break}c=w(n,3)}o[a|0]=0;c=j>>>0>c>>>0;o[a+1|0]=c?2:1;c:{d:{if(c-1){d=a+2|0;if(!Nb(b,d,2)){break d}h=g>>>0>l>>>0?l:g;c=(h<<24|h<<8&16711680)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(h&65280)>>>8|0;e=h;e:{if(h>>>0<65536){break e}e=h;if(!r[b+20|0]){break e}o[b+20|0]=0;c=r[a+2|0];e=r[a+3|0]}if(!Nb(b,d,((c&255)<<9|(e&255)<<1)+2|0)){break d}u=1;if(!h){break d}c=0;while(1){e=(c<<1)+a|0;b=g?k:271312;b=r[b|0]|r[b+1|0]<<8;o[e+4|0]=b;o[e+5|0]=b>>>8;b=(g|0)!=0;g=g-b|0;k=(b<<1)+k|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}break d}if(!Nb(b,a,4)){break d}if(!g|!l){break c}j=0;d=-2;e=l;n=h;c=g;i=k;while(1){f:{f=d+1|0;d=c?i:271312;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;j=((f|0)!=(d|0))+j|0;f=(e|0)!=0;n=(f<<1)+n|0;if((t|0)==(n|0)){break f}e=e-f|0;f=(c|0)!=0;i=(f<<1)+i|0;c=c-f|0;if(c|(i|0)!=(s|0)){continue}}break}e=a+2|0;if(!Nb(b,e,2)){return 0}c=(j<<8&16711680|j<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(j&65280)>>>8|0;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0;j=r[a+3|0];c=r[a+2|0]}if(!Nb(b,e,w(j&255|(c&255)<<8,6)+2|0)){break d}e=-2;c=-1;i=0;while(1){d=e+1|0;b=g?k:271312;f=r[b|0]|r[b+1|0]<<8;e=(f<<24|f<<8&16711680)>>>16|0;if((d|0)!=(e|0)){c=c+1|0;g:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);b=642976;break g}b=(w(c,6)+a|0)+4|0}o[b|0]=f;o[b+1|0]=f>>>8;h:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break h}d=(w(c,6)+a|0)+4|0}b=(i<<8&16711680|i<<24)>>>16|0;o[d+4|0]=b;o[d+5|0]=b>>>8}i:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);b=642976;break i}b=(w(c,6)+a|0)+4|0}o[b+2|0]=f;o[b+3|0]=f>>>8;u=1;b=(l|0)!=0;h=(b<<1)+h|0;if((t|0)==(h|0)){break d}i=i+1|0;l=l-b|0;b=(g|0)!=0;g=g-b|0;k=(b<<1)+k|0;if(g|(s|0)!=(k|0)){continue}break}}return u}o[a+2|0]=0;o[a+3|0]=0;return 1}function nP(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;g=Da-4208|0;Da=g;i=ab(1,36);a:{if(!i){i=0;break a}q[i>>2]=1;j=i;if(c){c=eb(c)}else{c=0}q[j+4>>2]=c;if(d){h=eb(d)}q[i+12>>2]=0;q[i+8>>2]=h;j=ab(1,44);b:{if(!j){q[i+32>>2]=0;hb(a,2,354385,0);break b}q[j>>2]=i;q[j+36>>2]=q[88662];c=q[88661];q[j+28>>2]=q[88660];q[j+32>>2]=c;c=q[88659];q[j+20>>2]=q[88658];q[j+24>>2]=c;c=q[88657];q[j+12>>2]=q[88656];q[j+16>>2]=c;c=q[88655];q[j+4>>2]=q[88654];q[j+8>>2]=c;d=q[a>>2];c:{if(!d|!r[d|0]){break c}h=fk(d);if(!h){break c}c=Xf(h);if(c){while(1){d:{if(r[c+19|0]==46){break d}q[g+80>>2]=d;l=c+19|0;q[g+84>>2]=l;jH(g+96|0,g+80|0);q[g+4204>>2]=0;q[g+64>>2]=g+96;hb(a,4,354658,g- -64|0);c=at(a,g+96|0,g+4204|0);if(!c){break d}pl(a,l,c,q[g+4204>>2]);La(c)}c=Xf(h);if(c){continue}break}}Wh(h)}if(q[a+16>>2]>=1){l=0;while(1){c=q[a+12>>2]+w(l,12)|0;p=q[c+8>>2];s=q[c+4>>2];m=q[c>>2];o=1;d=0;while(1){e:{if(QG(b,s,p,d,g+4204|0)){q[g+48>>2]=m;hb(a,2,354681,g+48|0);break e}c=q[g+4204>>2];o=q[c>>2];Sr(a,c);q[g+120>>2]=0;q[g+124>>2]=0;q[g+112>>2]=0;q[g+116>>2]=0;q[g+104>>2]=0;q[g+108>>2]=0;q[g+96>>2]=0;q[g+100>>2]=0;if(!oP(q[g+4204>>2],g+96|0)){q[g+32>>2]=m;hb(a,2,354712,g+32|0);se(q[g+4204>>2]);break e}c=ab(1,12);if(!c){h=q[g+108>>2];if((h|0)>=1){c=0;k=q[g+96>>2];while(1){La(q[k+(c<<2)>>2]);c=c+1|0;if((h|0)!=(c|0)){continue}break}}k=q[g+112>>2];f:{if((k|0)<=0){h=q[g+100>>2];break f}c=0;h=q[g+100>>2];while(1){La(q[(c<<2)+h>>2]);c=c+1|0;if((k|0)!=(c|0)){continue}break}}La(q[g+96>>2]);La(h);se(q[g+4204>>2]);break e}q[c>>2]=a;h=q[g+4204>>2];q[c+8>>2]=l;q[c+4>>2]=h;if(!Xr(j,g+96|0,0,d,c)){q[g+16>>2]=m;hb(a,2,354758,g+16|0)}h=q[g+108>>2];if((h|0)>=1){c=0;k=q[g+96>>2];while(1){La(q[k+(c<<2)>>2]);c=c+1|0;if((h|0)!=(c|0)){continue}break}}k=q[g+112>>2];g:{if((k|0)<=0){h=q[g+100>>2];break g}c=0;h=q[g+100>>2];while(1){La(q[(c<<2)+h>>2]);c=c+1|0;if((k|0)!=(c|0)){continue}break}}La(q[g+96>>2]);La(h)}d=d+1|0;if((d|0)<(o|0)){continue}break}l=l+1|0;if((l|0)>2]){continue}break}}q[i+32>>2]=j}if(!f){break a}c=0;d=q[160533];h:{if(!d){break h}i:{if((f|0)==1){while(1){b=n[d](a,i,e)|0;q[i+28>>2]=b;if(b){break i}c=c+1|0;d=q[w(c,12)+642132>>2];if(d){continue}break h}}while(1){if(q[w(c,12)+642128>>2]==(f|0)){b=n[d](a,i,e)|0;q[i+28>>2]=b;if(b){break i}}c=c+1|0;d=q[w(c,12)+642132>>2];if(d){continue}break}break h}q[g>>2]=q[w(c,12)+642136>>2];hb(a,4,354425,g)}if(q[i+28>>2]){break a}hb(a,2,354448,0)}Da=g+4208|0;return i}function eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0;h=Da-16|0;Da=h;m=q[a+272>>2];q[a+272>>2]=1;g=q[a+352>>2];j=g+104|0;a:{b:{if(q[g+104>>2]){break b}if(Ya(j)){break b}f=1;break a}p=g+132|0;k=a+424|0;l=a+412|0;i=g+116|0;while(1){c:{d:{e:{f:{g:{e=(n[q[b+20>>2]](b,c,d,h+8|0)|0)+4|0;if(e>>>0>32){break g}f=0;h:{switch(e-1|0){case 31:if(!(q[a+144>>2]==(b|0)?!r[a+484|0]:0)){f=q[h+8>>2];e=q[b+64>>2];q[h+12>>2]=e+c;i:{j:{if(!q[k>>2]){if(!Ya(l)){break j}}f=f-e|0;while(1){if(n[q[b+56>>2]](b,h+12|0,f,k,q[a+420>>2])>>>0<2){break i}if(Ya(l)){continue}break}}f=1;break d}f=1;if(!q[a+428>>2]){break d}e=q[a+424>>2];if((e|0)==q[a+420>>2]){if(!Ya(l)){break d}e=q[k>>2]}q[a+424>>2]=e+1;o[e|0]=0;e=q[a+428>>2];if(!e){break d}e=ic(a,p,e,0);q[a+424>>2]=q[a+428>>2];if(!e){o[g+128|0]=r[g+130|0];f=0;break d}if(r[e+32|0]){f=12;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}if(!q[e+16>>2]){break e}if(!q[a+112>>2]){break f}o[g+131|0]=0;o[e+32|0]=1;c=n[q[a+112>>2]](q[a+116>>2],0,q[e+20>>2],q[e+16>>2],q[e+24>>2])|0;o[e+32|0]=0;if(!c){f=21;break d}if(r[g+131|0]){break c}o[g+128|0]=r[g+130|0];c=q[h+8>>2];continue}q[a+284>>2]=c;f=10;break d;case 9:case 12:f=q[h+8>>2];q[h+12>>2]=c;k:{l:{if(!q[i>>2]){if(!Ya(j)){break l}}while(1){if(n[q[b+56>>2]](b,h+12|0,f,i,q[g+112>>2])>>>0<2){break k}if(Ya(j)){continue}break}}f=1;break d}if(q[g+120>>2]){break c}f=1;break d;case 0:q[h+8>>2]=q[b+64>>2]+c;case 10:e=q[g+116>>2];if((e|0)==q[g+112>>2]){if(!Ya(j)){f=1;break d}e=q[i>>2]}q[i>>2]=e+1;o[e|0]=10;c=q[h+8>>2];continue;case 13:f=n[q[b+40>>2]](b,c)|0;if((f|0)<=-1){f=14;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}c=0;f=Ak(f,h+12|0);if((f|0)<1){break c}while(1){e=q[g+116>>2];if((e|0)==q[g+112>>2]){if(!Ya(j)){f=1;break d}e=q[i>>2]}s=r[(h+12|0)+c|0];q[i>>2]=e+1;o[e|0]=s;c=c+1|0;if((f|0)!=(c|0)){continue}break}break c;case 2:f=4;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d;case 1:case 4:case 5:case 6:case 7:case 8: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:break g;case 3:break h;default:break d}}f=4;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=q[h+8>>2];break d}f=23;if(q[a+144>>2]!=(b|0)){break d}q[a+284>>2]=c;break d}o[g+128|0]=r[g+130|0];break c}o[e+32|0]=1;c=q[e+4>>2];f=eq(a,q[a+224>>2],c,c+q[e+8>>2]|0);o[e+32|0]=0;if(!f){break c}}q[a+272>>2]=m;break a}c=q[h+8>>2];continue}}Da=h+16|0;return f}function GX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0,z=0;c=Da+ -64|0;Da=c;e=q[a+24>>2];d=e+ -4|0;if(e>>>0<=3){o[a+20|0]=1}i=q[a+32>>2];a:{if(i>>>0<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);n=+g();break a}n=v[q[a+36>>2]+(d<<3)>>3]}if(e>>>0<=2){o[a+20|0]=1}d=e+ -3|0;b:{if(i>>>0<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);p=+g();break b}p=v[q[a+36>>2]+(d<<3)>>3]}j=q[b+40>>2];if(e>>>0<=1){o[a+20|0]=1}d=e+ -2|0;c:{if(i>>>0<=d>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break c}h=v[q[a+36>>2]+(d<<3)>>3]}d:{if(y(h)<2147483648){d=~~h;break d}d=-2147483648}i=0;e:{if(d>>>0<=255){i=r[d+242592|0];s=q[j+48>>2];if((s|0)!=271312){i=im(s,i,q[j+212>>2]);j=q[b+40>>2];d=q[a+24>>2];break e}i=d>>>0<229?q[j+168>>2]?0:i:0}d=e}e=e+ -1|0;if(d>>>0<=e>>>0){o[a+20|0]=1}f:{g:{h:{if(t[a+32>>2]<=e>>>0){e=q[67829];d=q[67828];q[160744]=d;q[160745]=e;f(0,d|0);f(1,e|0);h=+g();break h}h=v[q[a+36>>2]+(e<<3)>>3]}i:{if(y(h)<2147483648){d=~~h;break i}d=-2147483648}e=0;j:{if(d>>>0>255){break j}e=r[d+242592|0];s=q[j+48>>2];if((s|0)!=271312){e=im(s,e,q[j+212>>2]);break j}e=d>>>0<229?q[j+168>>2]?0:e:0}if(!e|!i|r[a+160|0]){break g}if(!rm(q[b+40>>2],i,c+32|0,1)){break g}if(!rm(q[b+40>>2],e,c,1)){break g}a=b+8|0;k:{l:{u=v[b+24>>3];w=v[b+8>>3];if(!!(u>w)){x=v[b+32>>3];z=v[b+16>>3];if(x>z){break l}}e=q[c+36>>2];q[a>>2]=q[c+32>>2];q[a+4>>2]=e;e=q[c+60>>2];q[a+24>>2]=q[c+56>>2];q[a+28>>2]=e;e=q[c+52>>2];q[a+16>>2]=q[c+48>>2];q[a+20>>2]=e;e=q[c+44>>2];q[a+8>>2]=q[c+40>>2];q[a+12>>2]=e;break k}h=v[c+48>>3];k=v[c+32>>3];if(!(h>k)){break k}l=v[c+56>>3];m=v[c+40>>3];if(!(l>m)){break k}if(!!(w>k)){v[a>>3]=k}if(!!(h>u)){v[b+24>>3]=h}if(!!(z>m)){v[b+16>>3]=m}if(!(l>x)){break k}v[b+32>>3]=l}h=v[c+16>>3];k=v[c>>3];m:{if(!(h>k)){break m}l=v[c+24>>3];m=v[c+8>>3];if(!(l>m)){break m}v[c+24>>3]=p+l;h=n+h;v[c+16>>3]=h;v[c+8>>3]=p+m;k=n+k;v[c>>3]=k}n:{l=v[b+24>>3];m=v[b+8>>3];if(!!(l>m)){u=v[b+32>>3];w=v[b+16>>3];if(u>w){break n}}b=q[c+4>>2];q[a>>2]=q[c>>2];q[a+4>>2]=b;b=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=b;b=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b;break f}if(!(h>k)){break f}n=v[c+24>>3];p=v[c+8>>3];if(!(n>p)){break f}if(!!(m>k)){v[a>>3]=k}if(!!(h>l)){v[b+24>>3]=h}if(!!(w>p)){v[b+16>>3]=p}if(!(n>u)){break f}v[b+32>>3]=n;break f}o[a+40|0]=1}Da=c- -64|0}function zn(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,s=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;n=q[a+16>>2];l=r[n+6|0]<<8|r[n+7|0]&254;if(!l){return 0}A=q[a>>2];E=q[A+508>>2]+q[A+512>>2]|0;y=l+2|0;x=n+14|0;i=q[b>>2]+((c|0)!=0)|0;z=l>>>1|0;g=z;a:{b:{while(1){c:{e=g+k|0;d=(e&-2)+x|0;j=r[d|0]<<8|r[d+1|0];e=e>>>1|0;f=e;d=d+y|0;v=r[d|0]<<8|r[d+1|0];if(i>>>0>=v>>>0){if(i>>>0<=j>>>0){break c}k=e+1|0;f=g}g=f;if(k>>>0>>0){continue}break b}break}k=0;d=d+l|0;f=d+l|0;B=r[f|0]<<8|r[f+1|0];h=(v|0)==65535&e>>>0>=z+ -1>>>0&(j|0)==65535&(B|0)!=0&(f+B|0)+2>>>0>E>>>0;o=h?0:B;d=r[d|0]|r[d+1|0]<<8;F=(d<<24|d<<8&16711680)>>16;m=h?1:F;d:{e:{f:{if(r[a+20|0]&2){p=e+1|0;h=(o|0)==65535?p:e;if(!e){break f}g=e+ -1|0;u=g<<1;d=u+x|0;s=r[d|0]<<8|r[d+1|0];if(i>>>0>s>>>0){k=e;break f}n=(n+w(l,3)|0)+16|0;m=x+y|0;g:{while(1){h:{d=s;k=g;C=m+u|0;D=C+l|0;f=D+l|0;o=r[f|0]<<8|r[f+1|0];h=(o|0)==65535?h:g;if(!g){break h}g=k+ -1|0;u=g<<1;s=u+x|0;s=r[s|0]<<8|r[s+1|0];if(i>>>0<=s>>>0){continue}break g}break}k=0;f=n}g=r[D|0]|r[D+1|0]<<8;m=(g<<24|g<<8&16711680)>>16;u=r[C+1|0]|r[C|0]<<8;break e}g=0;if((o|0)!=65535){break d}break a}d=j;u=v}i:{if((h|0)!=(p|0)){break i}h=(e|0)==(k|0);d=h?d:j;g=0;if(p>>>0>=z>>>0){j=d;break a}k=p<<1;j=x+k|0;f=y+j|0;n=r[f|0]<<8|r[f+1|0];j:{if(i>>>0>>0){m=h?m:F;o=h?o:B;u=h?u:v;h=e;break j}v=(x+y|0)+l|0;h=e;k:{while(1){l:{d=j;u=n;s=k+v|0;f=s+l|0;o=r[f|0]<<8|r[f+1|0];h=(o|0)==65535?h:p;p=p+1|0;if((z|0)==(p|0)){break l}k=p<<1;j=x+k|0;f=y+j|0;n=r[f|0]<<8|r[f+1|0];if(i>>>0>=n>>>0){continue}break k}break}p=z}j=r[s|0]|r[s+1|0]<<8;m=(j<<24|j<<8&16711680)>>16;d=r[d+1|0]|r[d|0]<<8}k=p+ -1|0;if((e|0)!=(h|0)){break i}e=k;j=d;break a}if((h|0)==(k|0)){e=h;j=d;v=u;break d}e=(h<<1)+x|0;j=r[e|0]<<8|r[e+1|0];e=e+y|0;v=r[e|0]<<8|r[e+1|0];e=e+l|0;f=e+l|0;o=r[f|0]<<8|r[f+1|0];e=r[e|0]|r[e+1|0]<<8;m=(e<<24|e<<8&16711680)>>16;e=h}if(o){g=0;d=((i-v<<1)+o|0)+f|0;if(d>>>0>E>>>0?c:0){break a}d=r[d+1|0]|r[d|0]<<8;if(!d){break a}d=d+m&65535;g=d>>>0>2]?d:0;break a}h=i+m|0;g=h&65535;if(!c|g>>>0>2]){break a}d=j+m|0;m:{if((h|0)>-1){break m}g=0;if((d|0)<0){break m}i=0-m|0;break a}i=(h|0)<65536?(d|0)>65535?65536-m|0:i:i}g=0}if(!c){return g}n:{if(i>>>0>j>>>0){f=0;e=e+1|0;if((z|0)==(e|0)){break n}}if(ln(a,e)){if(!g){return 0}q[b>>2]=i;return g}q[a+24>>2]=i;o:{if(g){q[a+28>>2]=g;f=g;break o}q[a+24>>2]=i;yn(a);f=q[a+28>>2];if(!f){return 0}i=q[a+24>>2]}q[b>>2]=i}return f}function Mq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-208|0;Da=d;h=0;a:{if(!b){break a}c=-1;while(1){f=Td(b,(e<<5)+449308|0);if(f>>>0<=1){h=(e<<5)+449324|0;if(f-1){break a}c=(c|0)==-1?e:c}e=e+1|0;if((e|0)!=246){continue}break}h=(c|0)==-1?0:(c<<5)+449324|0}f=Sa(40);b:{if(!f){f=0;break b}q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=8;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;c=q[160935];if(c&2048){Ua(449284,0);Ek(a);Gb(10);c=q[160935]}while(1){if(c&2048){b=i<<5;q[d+160>>2]=b+449308;Ua(449297,d+160|0);Ek(b+449324|0);Gb(10)}c:{d:{if(!h){break d}b=i<<5;if(!NL(b+449308|0)){break d}if(q[b+449328>>2]!=q[h+4>>2]){break c}}b=i<<5;c=b+449324|0;j=Xq(c,a);e:{if(!(o[643741]&1)){break e}b=b+449308|0;if(j+ -1>>>0<=8){k=Yq(c,a);q[d+128>>2]=b;q[d+132>>2]=j;Ua(485548,d+128|0);Gb(123);b=d+172|0;q[b>>2]=0;b=Wq(k,d+176|0,b);if((b|0)!=-1){while(1){c=0;f:{e=q[d+176>>2];if(!e){break f}while(1){if(e>>>c&1){q[d+112>>2]=b+c;Ua(485557,d+112|0)}c=c+1|0;if((c|0)==32){break f}e=q[d+176>>2];continue}}g:{e=q[d+180>>2];if(!e){break g}g=b+32|0;c=0;while(1){if(e>>>c&1){q[d+96>>2]=c+g;Ua(485557,d+96|0)}c=c+1|0;if((c|0)==32){break g}e=q[d+180>>2];continue}}h:{e=q[d+184>>2];if(!e){break h}g=b- -64|0;c=0;while(1){if(e>>>c&1){q[d+80>>2]=c+g;Ua(485557,d+80|0)}c=c+1|0;if((c|0)==32){break h}e=q[d+184>>2];continue}}i:{e=q[d+188>>2];if(!e){break i}g=b+96|0;c=0;while(1){if(e>>>c&1){q[d+64>>2]=c+g;Ua(485557,d- -64|0)}c=c+1|0;if((c|0)==32){break i}e=q[d+188>>2];continue}}j:{e=q[d+192>>2];if(!e){break j}g=b+128|0;c=0;while(1){if(e>>>c&1){q[d+48>>2]=c+g;Ua(485557,d+48|0)}c=c+1|0;if((c|0)==32){break j}e=q[d+192>>2];continue}}k:{e=q[d+196>>2];if(!e){break k}g=b+160|0;c=0;while(1){if(e>>>c&1){q[d+32>>2]=c+g;Ua(485557,d+32|0)}c=c+1|0;if((c|0)==32){break k}e=q[d+196>>2];continue}}l:{e=q[d+200>>2];if(!e){break l}g=b+192|0;c=0;while(1){if(e>>>c&1){q[d+16>>2]=c+g;Ua(485557,d+16|0)}c=c+1|0;if((c|0)==32){break l}e=q[d+200>>2];continue}}m:{e=q[d+204>>2];if(!e){break m}b=b+224|0;c=0;while(1){if(e>>>c&1){q[d>>2]=b+c;Ua(485557,d)}c=c+1|0;if((c|0)==32){break m}e=q[d+204>>2];continue}}b=Wq(k,d+176|0,d+172|0);if((b|0)!=-1){continue}break}}Ua(485563,0);Xc(k);break e}q[d+148>>2]=j;q[d+144>>2]=b;Ua(485568,d+144|0)}if(j){break c}b=r[i+485054|0];c=(b>>>3&28)+f|0;q[c+8>>2]=q[c+8>>2]|1<<(b&31)}c=q[160935];i=i+1|0;if((i|0)!=246){continue}break}if(!(c&256)){break b}Gb(10)}Da=d+208|0;return f}function vd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-48|0;Da=g;q[a+8>>2]=0;if(q[a+4>>2]){q[q[a>>2]>>2]=28849;q[q[a>>2]+4>>2]=28849;q[q[a>>2]+8>>2]=28849;q[q[a>>2]+12>>2]=28849;q[q[a>>2]+16>>2]=28849}a:{if(!d){break a}f=r[c|0];if(!f){break a}h=6;if(!b){break a}e=r[b|0];if(!e){break a}q[g+24>>2]=0;q[g+28>>2]=0;q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;h=0;while(1){b:{c:{i=e&255;if((i|0)!=43){if(!i){break c}break b}if(r[b+1|0]){break b}h=1;e=0;b=b+1|0;continue}d:{e:{if((d|0)<1){e=0;break e}i=c+d|0;if(!h){while(1){e=c;while(1){f:{if(o[((f&248)>>>3|0)+g|0]>>>(f&7)&1){b=e;break f}f=r[e+1|0];b=e+1|0;e=b;if(f){continue}}break}f=a;d=q[a+8>>2];g:{if((d|0)!=q[a+4>>2]){e=d;break g}q[g+44>>2]=0;e=-1;if((d|0)==-1){break g}if((d|0)==536870911){break d}h=d;e=(d+(d>>>1|0)|0)+5|0;d=e>>>0>>0?536870911:e>>>0>536870911?536870911:e;j=a,k=Oa(q[a+12>>2],4,h,d,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=d;e=q[a+8>>2]}q[f+8>>2]=e+1;q[q[a>>2]+(e<<2)>>2]=b>>>0>c>>>0?c:28849;h:{if(!r[b|0]){f=0;e=0;break h}o[b|0]=0;f=r[b+1|0];e=!f;b=b+1|0}c=b;if(b>>>0>=i>>>0){break e}if(f){continue}break e}}while(1){e=c;while(1){i:{if(o[((f&248)>>>3|0)+g|0]>>>(f&7)&1){d=e;break i}f=r[e+1|0];d=e+1|0;e=d;if(f){continue}}break}f=a;b=q[a+8>>2];j:{if((b|0)!=q[a+4>>2]){e=b;break j}q[g+44>>2]=0;e=-1;if((b|0)==-1){break j}if((b|0)==536870911){break d}h=b;e=(b+(b>>>1|0)|0)+5|0;b=e>>>0>>0?536870911:e>>>0>536870911?536870911:e;j=a,k=Oa(q[a+12>>2],4,h,b,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=b;e=q[a+8>>2]}q[f+8>>2]=e+1;q[q[a>>2]+(e<<2)>>2]=d>>>0>c>>>0?c:28849;b=d;e=r[b|0];k:{if(!e){f=0;c=d;e=0;break k}while(1){l:{if(!(o[((e&248)>>>3|0)+g|0]>>>(e&7)&1)){f=e;c=b;break l}f=0;o[b|0]=0;e=r[b+1|0];c=b+1|0;b=c;if(e){continue}}break}e=!(f&255)&c>>>0>d>>>0}if(c>>>0>=i>>>0){break e}if(f&255){continue}break}}c=q[a+8>>2]+e|0;b=q[a+4>>2];m:{if(c>>>0>>0){break m}q[g+44>>2]=0;if(b>>>0>=c+1>>>0){break m}if((b|0)==536870911){break d}d=b;c=(b+(b>>>1|0)|0)+5|0;b=c>>>0>>0?536870911:c>>>0>536870911?536870911:c;j=a,k=Oa(q[a+12>>2],4,d,b,q[a>>2],g+44|0),q[j>>2]=k;h=q[g+44>>2];if(h){break a}q[a+4>>2]=b}n:{if(!e){f=q[a+8>>2];break n}b=q[a+8>>2];f=b+1|0;q[a+8>>2]=f;q[q[a>>2]+(b<<2)>>2]=28849}h=0;q[q[a>>2]+(f<<2)>>2]=0;break a}h=64;q[g+44>>2]=64;break a}i=((e&248)>>>3|0)+g|0;o[i|0]=r[i|0]|1<<(e&7);e=r[b+1|0];b=b+1|0;continue}}Da=g+48|0;return h}function DX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==13){d=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=d;d=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=d;b:{c:{i=q[a+32>>2];d:{if(!i){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2];if((i|0)!=1){break c}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break b}h=v[d+8>>3]}k=v[d>>3];v[c+88>>3]=v[c+88>>3]+h;v[c+80>>3]=k+v[c+80>>3];d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;e:{f:{g:{if(i>>>0<=2){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}e=q[a+36>>2];d=e+16|0;if((i|0)!=3){break f}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break e}h=v[e+24>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;h:{i:{j:{if(i>>>0<=4){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break j}e=q[a+36>>2];d=e+32|0;if((i|0)!=5){break i}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break h}h=v[e+40>>3]}k=v[d>>3];v[c+56>>3]=v[c+56>>3]+h;v[c+48>>3]=k+v[c+48>>3];d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;k:{l:{m:{if(i>>>0<=6){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break m}e=q[a+36>>2];d=e+48|0;if((i|0)!=7){break l}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break k}h=v[e+56>>3]}k=v[d>>3];v[c+40>>3]=v[c+40>>3]+h;v[c+32>>3]=k+v[c+32>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;n:{o:{p:{if(i>>>0<=8){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break p}e=q[a+36>>2];d=e- -64|0;if((i|0)!=9){break o}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break n}h=v[e+72>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+h;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;q:{r:{s:{if(i>>>0<=10){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break s}e=q[a+36>>2];d=e+80|0;if((i|0)!=11){break r}}i=q[67829];e=q[67828];q[160744]=e;q[160745]=i;f(0,e|0);f(1,i|0);h=+g();break q}h=v[e+88>>3]}k=v[d>>3];v[c+8>>3]=v[c+8>>3]+h;v[c>>3]=k+v[c>>3];pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}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;l=Da-16|0;Da=l;q[l+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}b:{if(r[b+18|0]+ -1>>>0<=6){g=q[a>>2];o[c+18|0]=2;h=q[c>>2];e=q[b>>2];q[c>>2]=e;q[c+4>>2]=q[b+4>>2];j=q[c+8>>2];i=q[b+4>>2];a=(i|0)%1|0;k=(a?1-a|0:0)+i|0;if((k|0)>=1){V$(k,0,e,0);if(Ea){break a}}a=j>>31;h=Lo(g,w(h,a+j^a),w(e,k),q[c+12>>2],l+12|0);q[c+12>>2]=h;d=q[l+12>>2];if(d){break a}q[c+8>>2]=q[c+8>>2]<0?0-k|0:k;break b}q[l+12>>2]=6;h=q[c+12>>2]}i=q[b+12>>2];g=q[b+8>>2];if((g|0)<=-1){i=i-w(q[b>>2]+ -1|0,g)|0}e=q[c+8>>2];if((e|0)<=-1){h=h-w(q[c>>2]+ -1|0,e)|0}a=r[b+18|0]+ -1|0;c:{if(a>>>0>6){break c}d:{switch(a-1|0){default:p[c+16>>1]=2;e=q[b>>2];if(!e){break c}while(1){d=h;g=i;a=q[b+4>>2];f=a>>>3|0;if(f){while(1){a=r[g|0];o[d+7|0]=a&1;o[d|0]=a>>>7;o[d+6|0]=a>>>1&1;o[d+5|0]=a>>>2&1;o[d+4|0]=a>>>3&1;o[d+3|0]=a>>>4&1;o[d+2|0]=a>>>5&1;o[d+1|0]=a>>>6&1;g=g+1|0;d=d+8|0;f=f+ -1|0;if(f){continue}break}a=q[b+4>>2]}f=a&7;if(f){a=r[g|0];while(1){o[d|0]=(a&128)>>>7;d=d+1|0;a=a<<1;f=f+ -1|0;if(f){continue}break}}h=q[c+8>>2]+h|0;i=q[b+8>>2]+i|0;e=e+ -1|0;if(e){continue}break}break c;case 0:case 3:case 4:a=q[b+4>>2];p[c+16>>1]=256;d=q[b>>2];if(!d){break c}while(1){h=Qa(h,i,a)+q[c+8>>2]|0;i=q[b+8>>2]+i|0;d=d+ -1|0;if(d){continue}break}break c;case 1:p[c+16>>1]=4;e=q[b>>2];if(!e){break c}while(1){d=h;g=i;a=q[b+4>>2];f=a>>>2|0;if(f){while(1){a=r[g|0];o[d+3|0]=a&3;o[d|0]=a>>>6;o[d+2|0]=a>>>2&3;o[d+1|0]=a>>>4&3;d=d+4|0;g=g+1|0;f=f+ -1|0;if(f){continue}break}a=q[b+4>>2]}f=a&3;if(f){a=r[g|0];while(1){o[d|0]=(a&192)>>>6;d=d+1|0;a=a<<2;f=f+ -1|0;if(f){continue}break}}h=q[c+8>>2]+h|0;i=q[b+8>>2]+i|0;e=e+ -1|0;if(e){continue}break}break c;case 2:p[c+16>>1]=16;e=q[b>>2];if(!e){break c}while(1){d=h;a=i;j=q[b+4>>2];g=j>>>1|0;if(g){while(1){j=r[a|0];o[d+1|0]=j&15;o[d|0]=j>>>4;d=d+2|0;a=a+1|0;g=g+ -1|0;if(g){continue}break}j=q[b+4>>2]}if(j&1){o[d|0]=r[a|0]>>>4}h=q[c+8>>2]+h|0;i=q[b+8>>2]+i|0;e=e+ -1|0;if(e){continue}break}break c;case 5:break d}}p[c+16>>1]=256;k=q[b>>2];if(!k){break c}while(1){a=h;d=i;f=q[b+4>>2];if(f){while(1){g=a;e=r[d+3|0];m=0;e:{if(!e){break e}j=r[d+1|0];m=w(w(j,j),46871);j=r[d|0];m=m+w(w(j,j),4732)|0;j=r[d+2|0];m=e-((m+w(w(j,j),13933)>>>16>>>0)/(e>>>0)|0)|0}o[g|0]=m;a=a+1|0;d=d+4|0;f=f+ -1|0;if(f){continue}break}e=q[c+8>>2];g=q[b+8>>2]}h=h+e|0;i=i+g|0;k=k+ -1|0;if(k){continue}break}}d=q[l+12>>2]}Da=l+16|0;return d}function fi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;g=c-b|0;a:{if((g|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{i=r[b|0];e=i+ -216|0;if(e>>>0>39){if(i){break f}e=r[b+1|0];f=a+72|0;j=r[e+f|0]+ -5|0;if(j>>>0>24){break d}j:{switch(j-1|0){case 0:h=-2;if((g|0)>=3){break d}break a;case 13:break j;case 16:case 18:break c;case 23:break e;case 1:break g;default:break d}}e=b+2|0;if((c-e|0)<2){break a}k:{if(r[e|0]){break k}a=r[b+3|0];if((a|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(r[e|0]|(r[f+r[b+5|0]|0]&254)!=24){break i}b=b+6|0;if((c-b|0)<=1){break a}while(1){l:{m:{if(r[b|0]){break m}a=r[f+r[e+3|0]|0];if(a+ -24>>>0<2){break l}if((a|0)!=18){break m}q[d>>2]=e+4;return 10}q[d>>2]=b;break b}e=b;b=b+2|0;if((c-b|0)>1){continue}break}break a}if(r[a+f|0]!=25){break k}while(1){a=e;e=e+2|0;if((c-e|0)<2){break a}if(r[e|0]){break k}b=r[f+r[a+3|0]|0];if((b|0)==25){continue}break}if((b|0)!=18){break k}q[d>>2]=a+4;return 10}q[d>>2]=e;break b}switch(e-4|0){case 0:case 1:case 2:case 3:break d;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:break f;case 35:break h;default:break g}}q[d>>2]=e;break b}e=r[b+1|0];if(e>>>0<=253){break e}break d}h=-2;if((g|0)>=4){break d}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){n:{o:{p:{q:{r:{g=r[b+2|0];a=g+ -216|0;if(a>>>0>39){if(g){break q}a=r[b+3|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break n}s:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break n}break a;case 16:case 18:case 19:case 20:case 21:break o;case 23:break p;case 1:break r;case 12:break s;default:break n}}q[d>>2]=b+4;return 9}t:{switch(a-4|0){case 0:case 1:case 2:case 3:break n;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:break q;case 35:break t;default:break r}}a=r[b+3|0];if(a>>>0<=253){break p}break n}h=-2;if((f|0)>=4){break n}break a}a=r[b+3|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break n}}b=e;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function sq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=1;a:{b:{c:{d:{g=c-b|0;if((g|0)<1){break d}e:{f:{g:{i=a+72|0;f=r[i+r[b|0]|0]+ -5|0;h:{if(f>>>0>24){break h}i:{switch(f-1|0){default:e=2;f=-2;if((g|0)<2){break f}if(n[q[a+340>>2]](a,b)){break g}break h;case 0:e=3;f=-2;if((g|0)<3){break f}if(!n[q[a+344>>2]](a,b)){break h}break g;case 16:case 18:break g;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 17:case 19:case 20:case 21:case 22:case 23:break h;case 1:break i}}e=4;f=-2;if((g|0)<4){break f}if(n[q[a+348>>2]](a,b)){break g}}q[d>>2]=b;return 0}e=b+e|0;f=c-e|0;if((f|0)<1){break d}j:{while(1){h=r[r[e|0]+i|0]+ -5|0;if(h>>>0>24){break b}g=1;k:{l:{m:{switch(h-1|0){default:if((f|0)<2){break a}g=2;if(n[q[a+328>>2]](a,e)){break l}break c;case 0:if((f|0)<3){break a}g=3;if(!n[q[a+332>>2]](a,e)){break c}break l;case 9:break j;case 3:case 4:case 15:break k;case 16:case 18:case 19:case 20:case 21:break l;case 1:break m;case 2:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 17:case 22:break b;case 23:break c}}if((f|0)<4){break a}g=4;if(!n[q[a+336>>2]](a,e)){break c}}e=e+g|0;f=c-e|0;if((f|0)>0){continue}break d}break}f=11;n:{if((e-b|0)!=3){break n}h=o[b|0];g=0;o:{if((h|0)==120){break o}if((h|0)!=88){break n}g=1}h=o[b+1|0];if((h|0)!=109){if((h|0)!=77){break n}g=1}b=o[b+2|0];if((b|0)==76){break c}if((b|0)!=108){break n}if(g){break c}f=12}e=e+1|0;g=c-e|0;if((g|0)<1){break d}while(1){p:{q:{b=e;e=r[r[b|0]+i|0];if(e>>>0>15){break q}r:{switch(e-2|0){case 3:if((g|0)<2){break a}if(n[q[a+352>>2]](a,b)){break e}e=b+2|0;break p;case 4:if((g|0)<3){break a}if(n[q[a+356>>2]](a,b)){break e}e=b+3|0;break p;case 5:if((g|0)<4){break a}if(n[q[a+360>>2]](a,b)){break e}e=b+4|0;break p;case 0:case 1:case 2:case 7:case 8:case 9:case 10:case 11:case 12:break q;case 13:break r;default:break e}}e=b+1|0;if((c-e|0)<1){break d}if(r[e|0]!=62){break p}q[d>>2]=b+2;return f}e=b+1|0}g=c-e|0;if((g|0)>0){continue}break}break d}g=11;s:{if((e-b|0)!=3){break s}f=o[b|0];a=0;t:{if((f|0)==120){break t}if((f|0)!=88){break s}a=1}f=o[b+1|0];if((f|0)!=109){if((f|0)!=77){break s}a=1}b=o[b+2|0];if((b|0)==76){break c}if((b|0)!=108){break s}if(a){break c}g=12}a=e;e=a+1|0;f=-1;if((c-e|0)<1){break f}if(r[a+1|0]!=62){break b}q[d>>2]=a+2;f=g}return f}q[d>>2]=b;return 0}return-1}q[d>>2]=e;return 0}q[d>>2]=e;return 0}return-2}function gi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;g=c-b|0;a:{if((g|0)<2){break a}b:{c:{d:{e:{f:{g:{h:{i:{i=r[b+1|0];e=i+ -216|0;if(e>>>0>39){if(i){break f}e=r[b|0];f=a+72|0;j=r[e+f|0]+ -5|0;if(j>>>0>24){break d}j:{switch(j-1|0){case 0:h=-2;if((g|0)>=3){break d}break a;case 13:break j;case 16:case 18:break c;case 23:break e;case 1:break g;default:break d}}e=b+2|0;if((c-e|0)<2){break a}k:{if(r[b+3|0]){break k}a=r[e|0];if((a|0)==120){e=b+4|0;if((c-e|0)<2){break a}if(r[b+5|0]|(r[f+r[e|0]|0]&254)!=24){break i}b=b+6|0;if((c-b|0)<=1){break a}while(1){l:{m:{if(r[e+3|0]){break m}a=r[f+r[b|0]|0];if(a+ -24>>>0<2){break l}if((a|0)!=18){break m}q[d>>2]=e+4;return 10}q[d>>2]=b;break b}e=b;b=e+2|0;if((c-b|0)>1){continue}break}break a}if(r[a+f|0]!=25){break k}while(1){a=e;e=e+2|0;if((c-e|0)<2){break a}if(r[a+3|0]){break k}b=r[f+r[e|0]|0];if((b|0)==25){continue}break}if((b|0)!=18){break k}q[d>>2]=a+4;return 10}q[d>>2]=e;break b}switch(e-4|0){case 0:case 1:case 2:case 3:break d;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:break f;case 35:break h;default:break g}}q[d>>2]=e;break b}e=r[b|0];if(e>>>0<=253){break e}break d}h=-2;if((g|0)>=4){break d}break a}e=r[b|0]}if(q[(e>>>3&28|r[i+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){n:{o:{p:{q:{r:{g=r[b+3|0];a=g+ -216|0;if(a>>>0>39){if(g){break q}a=r[e|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break n}s:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break n}break a;case 16:case 18:case 19:case 20:case 21:break o;case 23:break p;case 1:break r;case 12:break s;default:break n}}q[d>>2]=b+4;return 9}t:{switch(a-4|0){case 0:case 1:case 2:case 3:break n;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:break q;case 35:break t;default:break r}}a=r[e|0];if(a>>>0<=253){break p}break n}h=-2;if((f|0)>=4){break n}break a}a=r[e|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break n}}b=e;e=e+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function Ul(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;a:{b=q[q[a+84>>2]+8>>2];if(!b){break a}c=q[b>>2];if(!c){break a}while(1){f=b;h=ue(c,61);b:{if(!h){break b}o[h|0]=0;d=h+1|0;c:{if(!fb(q[f>>2],1540)){k=a,l=Bb(d),q[k+36>>2]=l;break c}if(!fb(q[f>>2],1549)){k=a,l=Bb(d),q[k+40>>2]=l;break c}if(!fb(q[f>>2],1558)){k=a,m=xc(d,0),v[k+48>>3]=m;break c}if(!fb(q[f>>2],1564)){k=a,l=Bb(d),q[k+56>>2]=l;break c}if(!fb(q[f>>2],1574)){k=a,l=Fi(d),q[k+60>>2]=l;break c}if(!fb(q[f>>2],1596)){k=a,l=Fi(d),q[k+64>>2]=l;break c}if(fb(q[f>>2],1604)){break c}k=a,l=cs(d),q[k+72>>2]=l}c=q[f>>2];g=ue(c,46);i=0;d:{if(!g){break d}o[g|0]=0;c=g+1|0;i=q[f>>2]}if(q[a>>2]>=1){b=0;while(1){e:{if(i){if(fb(q[q[a+16>>2]+w(b,144)>>2],i)){break e}}e=q[a+16>>2];if(!fb(c,1617)){e=e+w(b,144)|0;j=e;e=q[e+4>>2];if(e){La(e)}k=j,l=eb(d),q[k+4>>2]=l;break e}if(!fb(c,1626)){k=e+w(b,144)|0,l=df(d),q[k+16>>2]=l;break e}if(!fb(c,1640)){k=e+w(b,144)|0,l=df(d),q[k+20>>2]=l;break e}if(!fb(c,1656)){k=e+w(b,144)|0,l=df(d),q[k+24>>2]=l;break e}if(!fb(c,1670)){k=e+w(b,144)|0,l=df(d),q[k+28>>2]=l;break e}if(!fb(c,1681)){k=e+w(b,144)|0,m=xc(d,0),v[k+8>>3]=m;break e}if(!fb(c,1690)){k=e+w(b,144)|0,l=Bb(d),q[k+32>>2]=l;break e}if(!fb(c,1695)){k=e+w(b,144)|0,l=Bb(d),q[k+36>>2]=l;break e}if(!fb(c,1702)){k=e+w(b,144)|0,l=Bb(d),q[k+40>>2]=l;break e}if(!fb(c,1712)){k=e+w(b,144)|0,l=Bb(d),q[k+44>>2]=l;break e}if(!fb(c,1722)){k=e+w(b,144)|0,m=xc(d,0),v[k+64>>3]=m;break e}if(!fb(c,1730)){k=e+w(b,144)|0,m=xc(d,0),v[k+72>>3]=m;break e}if(!fb(c,1736)){k=e+w(b,144)|0,l=Bb(d),q[k+80>>2]=l;break e}if(!fb(c,1748)){k=e+w(b,144)|0,l=Bb(d),q[k+104>>2]=l;break e}if(!fb(c,1758)){k=e+w(b,144)|0,l=Bb(d),q[k+136>>2]=l;break e}if(!fb(c,1766)){k=e+w(b,144)|0,l=Bb(d),q[k+108>>2]=l;break e}if(!fb(c,1774)){k=e+w(b,144)|0,l=Bb(d),q[k+112>>2]=l;break e}if(!fb(c,1782)){k=e+w(b,144)|0,l=Bb(d),q[k+116>>2]=l;break e}if(!fb(c,1790)){k=e+w(b,144)|0,l=Bb(d),q[k+120>>2]=l;break e}if(!fb(c,1799)){k=e+w(b,144)|0,m=xc(d,0),v[k+48>>3]=m;break e}if(!fb(c,1806)){k=e+w(b,144)|0,m=xc(d,0),v[k+56>>3]=m;break e}if(!fb(c,1813)){k=e+w(b,144)|0,m=xc(d,0),v[k+88>>3]=m;break e}if(!fb(c,1821)){k=e+w(b,144)|0,m=xc(d,0),v[k+96>>3]=m;break e}if(fb(c,1828)){break e}k=e+w(b,144)|0,m=xc(d,0),v[k+128>>3]=m}b=b+1|0;if((b|0)>2]){continue}break}}o[h|0]=61;if(!g){break b}o[g|0]=46}b=f+4|0;c=q[f+4>>2];if(c){continue}break}}}function sF(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,s=0,u=0,v=0,w=0;m=Da-16|0;Da=m;g=q[a+12>>2];i=q[a+200>>2];d=q[a+196>>2];l=p[a+32>>1];a:{if(l){if(p[g+56>>1]+(p[g+20>>1]+l|0)>>>0>t[g+8>>2]){c=Xb(g,0,l);if(c){break a}}c=20;if((l|0)>4094){break a}}c=20;e=l<<1;if((e+d|0)+2>>>0>i>>>0){break a}b=q[g+68>>2];j=r[d|0];h=r[d+1|0]|j<<8;if((l|0)>=1){p[b>>1]=h}if(j<<24>>16<0){break a}j=b+e|0;while(1){e=b+2|0;if(e>>>0>>0){b=r[d+2|0]|r[d+3|0]<<8;f=b<<24|b<<8&16711680;p[e>>1]=f>>>16;k=h<<16;b=e;e=f>>16;h=e;d=d+2|0;if((e|0)>k>>16){continue}break a}break}b:{c:{d:{if((l|0)<1){e=4;b=0;break d}b=p[b>>1];if((b|0)<-1){break a}e=b+5|0;if(!e){break c}b=b+1|0}j=b;if(p[g+58>>1]+(p[g+22>>1]+e|0)>>>0<=t[g+4>>2]){break b}c=Xb(g,e,0);if(c){break a}break b}j=-4}b=q[a+8>>2];q[b+136>>2]=0;q[b+140>>2]=0;e=d+4|0;if(e>>>0>i>>>0){c=20;break a}b=r[d+2|0]|r[d+3|0]<<8;d=(b<<24|b<<8&16711680)>>>16|0;e:{if(r[a+16|0]&2){break e}c=22;if((i-e|0)<(d|0)){break a}b=q[a+156>>2];c=q[b+392>>2];f:{if(c>>>0>=d>>>0){q[b+392>>2]=c&65535;break f}v=b,w=Oa(q[b+8>>2],1,c,d,q[b+396>>2],m+12|0),q[v+396>>2]=w;b=q[a+156>>2];f=c;c=q[m+12>>2];q[b+392>>2]=(c?f:d)&65535;if(c){break a}}c=q[a+8>>2];q[c+140>>2]=d;b=q[b+396>>2];q[c+136>>2]=b;if(!d){d=0;break e}Qa(b,e,d)}b=d+e|0;g:{h:{if((j|0)>=1){d=q[g- -64>>2];f=j+d|0;while(1){c=b+1|0;if(c>>>0>i>>>0){c=20;break a}h=r[b|0];o[d|0]=h;d=d+1|0;i:{if(!(h&8)){b=c;break i}b=b+2|0;if(b>>>0>i>>>0){c=20;break a}e=r[c|0];if(e+d>>>0>f>>>0){c=20;break a}if(!e){break i}Na(d,h,e);while(1){d=d+1|0;e=e+ -1|0;if(e&255){continue}break}}if(d>>>0>>0){continue}break}if(b>>>0<=i>>>0){break h}c=20;break a}c=20;if(b>>>0<=i>>>0){break g}break a}c=q[g+60>>2];s=c+(j<<3)|0;e=c;h=q[g+64>>2];d=h;while(1){n=r[d|0];j:{if(n&2){f=b+1|0;if(f>>>0>i>>>0){c=20;break a}b=r[b|0];k=n&16?b:0-b|0;b=f;break j}k=0;if(n&16){break j}f=b+2|0;if(f>>>0>i>>>0){c=20;break a}b=r[b|0]|r[b+1|0]<<8;k=(b<<24|b<<8&16711680)>>16;b=f}u=k+u|0;q[e>>2]=u;d=d+1|0;e=e+8|0;if(e>>>0>>0){continue}break}k=0;while(1){d=r[h|0];k:{if(d&4){f=b+1|0;if(f>>>0>i>>>0){c=20;break a}b=r[b|0];e=d&32?b:0-b|0;b=f;break k}e=0;if(d&32){break k}f=b+2|0;if(f>>>0>i>>>0){c=20;break a}b=r[b|0]|r[b+1|0]<<8;e=(b<<24|b<<8&16711680)>>16;b=f}k=e+k|0;q[c+4>>2]=k;o[h|0]=d&1;h=h+1|0;c=c+8|0;if(c>>>0>>0){continue}break}}p[g+56>>1]=l;p[g+58>>1]=j;q[a+196>>2]=b;c=0}Da=m+16|0;return c|0}function fe(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-112|0;Da=b;a:{b:{if(a){while(1){c=s[a>>1];if(c>>>0>41){break a}c:{d:{e:{switch(c-1|0){default:q[b>>2]=q[a+8>>2];Ua(489679,b);break a;case 0:v[b+16>>3]=v[a+8>>3];Ab(489682,b+16|0);break a;case 1:q[b+32>>2]=q[a+8>>2];Ua(489685,b+32|0);break a;case 2:Gb(91);fe(q[q[a+8>>2]>>2]);Gb(32);fe(q[q[a+8>>2]+4>>2]);Ua(489690,0);fe(q[q[a+8>>2]+8>>2]);Gb(32);fe(q[q[a+8>>2]+12>>2]);Gb(93);Da=b+112|0;return;case 3:a=q[a+8>>2];e=v[a>>3];v[b+56>>3]=v[a+8>>3];v[b+48>>3]=e;Ab(489693,b+48|0);break a;case 4:q[b+64>>2]=q[a+8>>2]?489702:489707;Ua(489284,b- -64|0);break a;case 5:Rb(490010);break a;case 6:Ua(489713,0);Dk(q[a+8>>2]);Gb(10);break a;case 7:Rb(490006);break a;case 8:f=b,g=Qc(q[a+8>>2]),q[f+80>>2]=g;Ua(489722,b+80|0);a=q[a+12>>2];if(a>>>0>1){break a}if(a-1){Ua(489726,0);break a}Ua(489737,0);break a;case 9:q[b+96>>2]=q[a+8>>2];Ua(489284,b+96|0);break a;case 18:fe(q[a+8>>2]);Ua(489745,0);fe(q[q[a+12>>2]+8>>2]);Ua(489753,0);a=q[a+12>>2]+12|0;break c;case 10:case 11:case 12:case 13:case 14:case 15: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:fe(q[a+8>>2]);Gb(32);c=a+8|0;d=s[a>>1]+ -11|0;f:{if(d>>>0>25){break f}g:{switch(d-1|0){default:Ua(489425,0);break f;case 0:Ua(489432,0);break f;case 1:Ua(489454,0);break f;case 2:Ua(489446,0);break f;case 3:Ua(489467,0);break f;case 4:Ua(489474,0);break f;case 8:Ua(489508,0);break f;case 9:Ua(489511,0);break f;case 10:Ua(489515,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 11:Ua(489537,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 15:Ua(489546,0);break f;case 16:Ua(489551,0);break f;case 17:Ua(489561,0);break f;case 18:Ua(489566,0);break f;case 12:Ua(489576,0);break f;case 13:Ua(489658,0);if(!(o[a+2|0]&1)){break f}Ua(489521,0);break f;case 14:Ua(489585,0);break f;case 19:Ua(489597,0);break f;case 20:Ua(489602,0);break f;case 21:Ua(489608,0);break f;case 22:Ua(489614,0);break f;case 5:case 6:case 7:case 23:break f;case 24:break g}}Ua(489629,0)}Gb(32);a=c+4|0;break c;case 34:Ua(489761,0);break d;case 36:Ua(489766,0);break d;case 37:Ua(489773,0);break d;case 38:Ua(489779,0);break d;case 16:case 17:break a;case 40:break b;case 39:break e}}Ua(489786,0)}a=a+8|0}a=q[a>>2];if(a){continue}break}}Ua(489674,0);break a}Ua(489666,0)}Da=b+112|0}function pW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=x(0),n=x(0),p=0,s=0,u=x(0);l=Da-16|0;Da=l;h=271312;e=q[a>>2];e=e?e:271312;j=t[e+16>>2]<8?271312:q[e+12>>2];e=r[j+4|0]|r[j+5|0]<<8|(r[j+6|0]<<16|r[j+7|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(f){if((f|0)!=1){g=q[b+52>>2];e=q[b+48>>2];e=e>>>0>>0?g:e;k=e?e:1073741824;h=r[(r[j+52|0]>>0<=h>>>0|h>>>0>=e>>>0?!(h>>>0>e>>>0?k>>>0<=e>>>0:0):0)){g=i;h=e}i=i+1|0;if((f|0)!=(i|0)){continue}break}}h=f>>>0>g>>>0?(j+w(g,48)|0)+8|0:271312}i=0;e=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!e){break a}g=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);k=j+(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))|0;while(1){f=(i|0)<0?271312:k+(i<<3)|0;if(!((r[f|0]<<8|r[f+1|0])>>>0>c>>>0|(r[f+3|0]|r[f+2|0]<<8)>>>0>>0)){i=0;if(!r[h+45|0]|(!f|!r[h+44|0])){break a}q[l+12>>2]=0;q[l+8>>2]=0;q[l+4>>2]=0;g=r[f+1|0]|r[f|0]<<8;if((r[f+3|0]|r[f+2|0]<<8)>>>0>>0|g>>>0>c>>>0){break a}e=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!UV(e?e+k|0:271312,c-g|0,l+12|0,l+8|0,l+4|0)){break a}c=q[a+4>>2];e=c?c:271312;f=q[e+16>>2];k=q[l+12>>2];if(f>>>0>>0){break a}g=q[l+8>>2];if(f-k>>>0>>0){break a}c=q[l+4>>2]+ -17|0;if(c>>>0>1){break a}b:{if(c-1){if(g>>>0>=9){break b}break a}if(g>>>0<12){break a}}s=q[b+32>>2];j=q[b+36>>2];p=k+(f>>>0<4?271312:q[e+12>>2])|0;c=o[p+2|0];c=V$(s,j,c,c>>31);f=(Ea&65535)<<16|c>>>16;q[d>>2]=f;k=q[b+40>>2];i=q[b+44>>2];b=o[p+3|0];b=V$(k,i,b,b>>31);g=(Ea&65535)<<16|b>>>16;q[d+4>>2]=g;b=V$(s,j,r[p+1|0],0);e=(Ea&65535)<<16|b>>>16;q[d+8>>2]=e;b=V$(k,i,r[p|0],0);c=0-((0>>0)+Ea|0)|0;b=0-b|0;b=(c&65535)<<16|b>>>16;q[d+12>>2]=b;n=x(t[a+8>>2]);u=x(n/x(r[h+45|0]));m=x(J(x(x(u*x(b|0)))));c:{if(x(y(m))>2]=a;a=d;n=x(n/x(b>>>0));m=x(J(x(x(n*x(e|0)))));d:{if(x(y(m))>2]=b;a=d;m=x(J(x(x(u*x(g|0)))));e:{if(x(y(m))>2]=b;m=x(J(x(x(n*x(f|0)))));f:{if(x(y(m))>2]=a;i=1;break a}i=i+1|0;if((e|0)!=(i|0)){continue}break}i=0}Da=l+16|0;return i}function kD(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,p=0,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0;s=Da-144|0;Da=s;q[a+48>>2]=0;q[a+52>>2]=0;t=a+40|0;i=q[a+4>>2];j=q[a+8>>2];b=b*1e3;a:{if(y(b)<2147483648){d=~~b;break a}d=-2147483648}i=tl(i,j,d,d>>31,t);b:{if(!i|!(q[t>>2]|c)){break b}b=+Z();o[a+420|0]=0;o[a+380|0]=0;o[a+340|0]=0;o[a+300|0]=0;o[a+260|0]=0;o[a+220|0]=0;o[a+180|0]=0;o[a+140|0]=0;o[a+100|0]=0;c=q[a+12>>2];d=q[a+16>>2];e=Na(s,255,144);n=(d|0)/3|0;p=(c|0)/3|0;r=(d<<1)/3|0;m=(c<<1)/3|0;d=i;while(1){g=q[d+24>>2];k=q[d+4>>2];c=g+(k>>1)|0;f=q[d+20>>2];l=q[d>>2];c=(((c|0)>(r|0)?6:(c|0)>(n|0)?3:0)+((f+(l>>1)|0)>(m|0)?2:(c|0)>(p|0))<<4)+e|0;h=q[c>>2];q[c>>2]=(h|0)<0?f:(h|0)<(f|0)?h:f;h=q[c+8>>2];q[c+8>>2]=(h|0)<0?g:(h|0)<(g|0)?h:g;h=f+l|0;f=h+ -1|0;j=f;f=q[c+4>>2];q[c+4>>2]=(f|0)<0?j:(f|0)<(h|0)?j:f;j=c;g=g+k|0;f=g+ -1|0;c=q[c+12>>2];q[j+12>>2]=(c|0)<0?f:(c|0)<(g|0)?f:c;d=q[d+28>>2];if(d){continue}break}d=0;while(1){f=(u<<4)+e|0;c:{if(q[f>>2]==-1){c=d;break c}n=f|8;p=f|12;r=f|4;g=u;c=d;while(1){g=g+1|0;d=(g<<4)+e|0;h=q[d>>2];d:{if((h|0)==-1){break d}m=q[r>>2];if((h|0)>(m|0)){break d}k=q[d+4>>2];l=q[f>>2];if((k|0)<(l|0)){break d}w=q[d+8>>2];x=q[p>>2];if((w|0)>(x|0)){break d}z=q[d+12>>2];j=q[n>>2];if((z|0)<(j|0)){break d}q[f>>2]=(l|0)<(h|0)?l:h;q[n>>2]=(j|0)<(w|0)?j:w;q[r>>2]=(m|0)>(k|0)?m:k;q[p>>2]=(x|0)>(z|0)?x:z;q[d+8>>2]=-1;q[d+12>>2]=-1;q[d>>2]=-1;q[d+4>>2]=-1;c=1}if((g|0)!=8){continue}break}}d=u+1|0;g=(d|0)!=8;u=g?d:0;d=c&g;if(c&1|g){continue}break}g=0;q[a+56>>2]=0;if(q[e>>2]!=-1){c=re(a,e,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+16>>2]!=-1){c=re(a,e+16|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+32>>2]!=-1){c=re(a,e+32|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+48>>2]!=-1){c=re(a,e+48|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+64>>2]!=-1){c=re(a,e- -64|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+80>>2]!=-1){c=re(a,e+80|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+96>>2]!=-1){c=re(a,e+96|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+112>>2]!=-1){c=re(a,e+112|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}if(q[e+128>>2]!=-1){c=re(a,e+128|0,i);if(!c){break b}q[c+20>>2]=q[a+56>>2];q[a+56>>2]=c}A=a,B=+Z()-b,v[A+48>>3]=B;g=t}Da=s+144|0;return g}function Et(a){var b=0,c=0,d=0,e=0,f=0;d=q[a>>2];f=tm(d);e=f>>>8|0;b=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if((d|0)<=8209){if((d|0)<=4099){if((d|0)==45|(d|0)==160){break c}if((d|0)!=215){break d}break c}c=d+ -4100|0;if(c>>>0>152){break d}switch(c-1|0){case 73:break a;case 56:case 125:break j;case 55:break k;case 57:case 91:break l;case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:break m;case 53:break n;case 52:break o;case 45:case 49:break p;case 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:case 16:case 17:case 18:case 19:case 20: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 46:case 47:case 48:case 50:case 58:case 71:case 72:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 86:case 87:case 88:case 92:case 93:case 96:case 97:case 98:case 99: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 126:case 127:case 128:case 129:case 137:break d;case 69:case 70:break f;case 51:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 138:case 149:case 150:case 151:break g;case 94:case 95:case 100:case 101:case 102:case 103:case 104:break h;case 54:case 89:case 90:break i;default:break q}}r:{if((d|0)<=9722){c=d+ -8210|0;if(c>>>0<=16){break r}break e}c=d+ -43636|0;if(c>>>0>7){if(d+ -9723>>>0<4){break c}break d}switch(c-3|0){case 0:case 1:case 2:case 3:break d;case 4:break h;default:break a}}if(!(1<>>0>8){break a}s:{switch(c-1|0){default:e=2;b=28;break a;case 2:b=26;break a;case 4:b=27;break a;case 0:case 1:case 3:case 5:case 6:break a;case 7:break s}}b=29}o[a+19|0]=e;o[a+18|0]=b}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;a:{if(b){d=p[b+2>>1];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return 1}c=Sa(d<<4);q[a+16>>2]=c;e=Sa(d);q[a+20>>2]=e;b:{c:{if(!(e?c:0)){La(c);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;break c}q[a+12>>2]=d;q[a+8>>2]=0;q[a>>2]=0;c=1;q[a+4>>2]=d<<1;f=s[b>>1];if(!f){break b}e=0;d:{while(1){e:{h=p[q[b+12>>2]+(k<<1)>>1];if(e>>>0>h>>>0|(h|0)>=p[b+2>>1]){break e}f:{if(h-e>>>0<=1){e=h+1|0;break f}d=q[b+8>>2];f=r[d+e|0]&3;if(f>>>0>1){break e}l=0;c=0;if(f-1){l=1;d=r[d+h|0]&3;if(d>>>0>1){break e}g=q[b+4>>2];c=g+(h<<3)|0;f=0-q[c+4>>2]|0;c=q[c>>2];if(d-1){d=g+(e<<3)|0;f=f-q[d+4>>2]>>1;l=0;c=q[d>>2]+c>>1}d=q[a>>2];q[a>>2]=d+1;d=q[a+16>>2]+(d<<3)|0;q[d+4>>2]=f;q[d>>2]=c;c=1}d=q[b+4>>2]+(e<<3)|0;f=q[d>>2];d=q[d+4>>2];g=q[a>>2];q[a>>2]=g+1;i=q[a+16>>2]+(g<<3)|0;g=0-d|0;q[i+4>>2]=g;q[i>>2]=f;e=e+1|0;if(e>>>0<=h>>>0){while(1){d=r[q[b+8>>2]+e|0]&3;if(d>>>0>2){break d}g:{h:{switch(d-1|0){case 0:if(c>>>0>3){break d}i:{switch(c-1|0){default:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=1;c=0;break g;case 0:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=2;c=0;break g;case 2:break i;case 1:break d}}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=3;c=0;break g;default:if(c>>>0>1){break d}d=c;c=1;if(d-1){break g}d=q[a+8>>2];q[a+8>>2]=d+1;o[d+q[a+20>>2]|0]=2;d=q[b+4>>2]+(e<<3)|0;i=q[d>>2];d=q[d+4>>2];j=q[a>>2];q[a>>2]=j+1;j=q[a+16>>2]+(j<<3)|0;q[j+4>>2]=g-d>>1;q[j>>2]=f+i>>1;break g;case 1:break h}}if(c>>>0>2){break e}d=c;c=2;j:{switch(d-1|0){case 1:break j;case 0:break e;default:break g}}c=3}d=q[b+4>>2]+(e<<3)|0;f=q[d>>2];d=q[d+4>>2];g=q[a>>2];q[a>>2]=g+1;i=q[a+16>>2]+(g<<3)|0;g=0-d|0;q[i+4>>2]=g;q[i>>2]=f;e=e+1|0;if(e>>>0<=h>>>0){continue}break}}if(c>>>0>3){break d}k:{l:{switch(c-1|0){default:if(l){q[a>>2]=q[a>>2]+ -1;break k}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=1;break k;case 0:c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=2;break k;case 2:break l;case 1:break d}}c=q[a+8>>2];q[a+8>>2]=c+1;o[c+q[a+20>>2]|0]=3}c=(q[a+8>>2]+q[a+20>>2]|0)+ -1|0;o[c|0]=r[c|0]|4;f=s[b>>1]}c=1;k=k+1|0;if(k>>>0>16>>>0){continue}break b}break}if(!a){break c}}La(q[a+16>>2]);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}c=0}return c}function VM(a,b,c,d){a=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=Da+ -64|0;h=c+2|0;a:{if(!h){break a}if(!d){while(1){f=f+16|0;if(f>>>0>>0){continue}break a}}n=d<<4;j=w(c+15&-16,d);while(1){i=0;while(1){c=g-n|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];k=s[c+28>>1];p[e+28>>1]=k;l=s[c+30>>1];p[e+30>>1]=l;c=g>>>0>>0?(g<<1)+b|0:438160;m=s[c>>1];p[e+32>>1]=m;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];p[a>>1]=((((k+m&65534)>>>1|0)+l|0)+1&65534)>>>1;p[a+2>>1]=((s[e+32>>1]+((s[e+34>>1]+s[e+30>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+4>>1]=((s[e+34>>1]+((s[e+36>>1]+s[e+32>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+6>>1]=((s[e+36>>1]+((s[e+38>>1]+s[e+34>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+8>>1]=((s[e+38>>1]+((s[e+40>>1]+s[e+36>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+10>>1]=((s[e+40>>1]+((s[e+42>>1]+s[e+38>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+12>>1]=((s[e+42>>1]+((s[e+44>>1]+s[e+40>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+14>>1]=((s[e+44>>1]+((s[e+46>>1]+s[e+42>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+16>>1]=((s[e+46>>1]+((s[e+48>>1]+s[e+44>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+18>>1]=((s[e+48>>1]+((s[e+50>>1]+s[e+46>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+20>>1]=((s[e+50>>1]+((s[e+52>>1]+s[e+48>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+22>>1]=((s[e+52>>1]+((s[e+54>>1]+s[e+50>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+24>>1]=((s[e+54>>1]+((s[e+56>>1]+s[e+52>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+26>>1]=((s[e+56>>1]+((s[e+58>>1]+s[e+54>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+28>>1]=((s[e+58>>1]+((s[e+60>>1]+s[e+56>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+30>>1]=((s[e+60>>1]+((s[e+62>>1]+s[e+58>>1]&65534)>>>1|0)|0)+1&65534)>>>1;g=g+16|0;a=a+32|0;i=i+1|0;if((i|0)!=(d|0)){continue}break}f=f+16|0;if(f>>>0>>0){continue}break}}}function VL(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,r=0;g=6;a:{if(!a){break a}b=q[a>>2];o=(b|0)<0?-1:1;p=0-o|0;m=q[a+12>>2];c=(m|0)<0?p:o;d=q[a+4>>2];e=(d|0)<0?-1:1;h=0-e|0;n=q[a+8>>2];j=(n|0)<0?h:e;f=b;b=b>>31;l=f+b^b;b=m>>31;f=b+m^b;b:{if(l+(f>>>8|0)>>>0<=8190){b=w(f,l)+32768>>>16|0;break b}b=l&65535;b=w(b,f>>>16|0)+w(f,l>>>16|0)+(w(b,f&65535)+32768>>>16)|0}k=(c|0)<0?0-b|0:b;b=n>>31;i=b+n^b;b=d>>31;c=b+d^b;c:{if((i>>>8|0)+c>>>0<=8190){b=w(c,i)+32768>>>16|0;break c}b=c&65535;b=w(b,i>>>16|0)+w(i,c>>>16|0)+(w(b,i&65535)+32768>>>16)|0}j=k-((j|0)<0?0-b|0:b)|0;if(!j){break a}r=(j|0)<0?h:e;g=2147483647;d=2147483647;b=j>>31;b=b+j^b;d:{if(!b){break d}if(c>>>0<=(b>>>17^65535)>>>0){d=((c<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break d}h=c>>>16|0;e=b>>>1|0;c=e+(c<<16)|0;h=h+(c>>>0>>0)|0;if(h>>>0>=b>>>0){break d}k=z(h);e=32-k|0;h=c>>>e|h<>>0)/(b>>>0)|0;h=h-w(b,d)|0;c=c<>>31;h=k-(k>>>0>>0?0:b)|0;d=d<<1|k>>>0>=b>>>0;c=c<<1;e=e+ -1|0;if(e){continue}break}}q[a+4>>2]=0-((r|0)<0?0-d|0:d);d=(n|0)<0?-1:1;h=(j|0)<0;n=h?0-d|0:d;e:{if(!b){break e}if(i>>>0<=(b>>>17^65535)>>>0){g=((i<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break e}d=b>>>1|0;c=d+(i<<16)|0;e=(i>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break e}i=z(e);d=32-i|0;e=c>>>d|e<>>0)/(b>>>0)|0;e=e-w(b,g)|0;c=c<>>31;e=i-(i>>>0>>0?0:b)|0;g=g<<1|i>>>0>=b>>>0;c=c<<1;d=d+ -1|0;if(d){continue}break}}q[a+8>>2]=0-((n|0)<0?0-g|0:g);d=(m|0)<0?-1:1;i=h?0-d|0:d;f:{if(!b){d=2147483647;q[a>>2]=(i|0)<0?-2147483647:2147483647;h=(j|0)<0?p:o;break f}m=b>>>17^65535;g:{if(f>>>0<=m>>>0){d=((f<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break g}d=2147483647;g=b>>>1|0;c=g+(f<<16)|0;e=(f>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break g}f=z(e);g=32-f|0;e=c>>>g|e<>>0)/(b>>>0)|0;e=e-w(b,d)|0;c=c<>>31;e=f-(f>>>0>>0?0:b)|0;d=d<<1|f>>>0>=b>>>0;c=c<<1;g=g+ -1|0;if(g){continue}break}}q[a>>2]=(i|0)<0?0-d|0:d;h=(j|0)<0?p:o;if(l>>>0<=m>>>0){d=((l<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break f}d=2147483647;g=b>>>1|0;c=g+(l<<16)|0;e=(l>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=b>>>0){break f}f=z(e);g=32-f|0;e=c>>>g|e<>>0)/(b>>>0)|0;e=e-w(b,d)|0;c=c<>>31;e=f-(f>>>0>>0?0:b)|0;d=d<<1|f>>>0>=b>>>0;c=c<<1;g=g+ -1|0;if(g){continue}break}}g=0;q[a+12>>2]=(h|0)<0?0-d|0:d}return g}function Ls(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;x=Da-272|0;Da=x;s=q[b+4>>2];e=q[b+8>>2];q[a+52>>2]=-2147483648;q[a+56>>2]=0;q[a+48>>2]=e;q[a+44>>2]=s;A=q[b+52>>2];h=q[b+28>>2];f=q[b+24>>2];y=q[b+44>>2];q[c>>2]=s;q[d>>2]=e;g=1;a:{if((y|0)<1|(f|0)<2){break a}l=p[h+12>>1];o=l;while(1){i=p[(h+w(g,40)|0)+12>>1];o=(o|0)<(i|0)?i:o;l=(l|0)>(i|0)?i:l;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((o|0)<=(l|0)){break a}C=a,D=Ma(l,s)+e|0,q[C>>2]=D;h=Ma(o,s)+e|0;q[a+4>>2]=h;e=h&-32;q[a+24>>2]=e;k=q[a>>2];j=k&-32;q[a+16>>2]=j;q[a+8>>2]=k&-64;t=e+32|0;q[a+28>>2]=t;i=j+32|0;q[a+20>>2]=i;q[a+12>>2]=h+63&-64;if((i|0)>(h|0)){q[a+20>>2]=h;i=h}if((e|0)<(k|0)){q[a+24>>2]=k;e=k}g=h-k|0;q[a+32>>2]=g;f=a;if((g|0)>=65){i=e-i|0}else{q[a+24>>2]=h;q[a+20>>2]=k;i=g}q[f+36>>2]=i;e=t-j|0;q[a+40>>2]=e;j=(g|0)<129?(g|0)<97?4:8:16;f=g-j|0;if((i|0)<(f|0)){q[a+36>>2]=f;i=f}f=g+j|0;if((e|0)>(f|0)){q[a+40>>2]=f;e=f}f=(w(g,3)|0)/4|0;if((i|0)<(f|0)){q[a+36>>2]=f;i=f}j=i;f=(w(g,5)|0)/4|0;if((e|0)>(f|0)){q[a+40>>2]=f;e=f}b:{if((j|0)>(e|0)){break b}B=o-l|0;while(1){f=(g-i|0)+k|0;c:{d:{if((g|0)<=(i|0)){e=q[a+16>>2];if((e|0)<=(f|0)){break d}f=(h-f|0)+e|0;break c}e=q[a+20>>2];if((e|0)>=(f|0)){break d}f=(h-f|0)+e|0;break c}e=f;f=h}t=Za(i-g|0,B)+s|0;u=Ma(l,t);z=Na(x,0,260);m=q[a+24>>2];g=f;j=f-e|0;f=q[a+16>>2];n=(f+j|0)<(m|0)?m-j|0:f;m=q[a+8>>2];f=n-m|0;e:{if((f|0)<0){break e}v=n;n=q[a+28>>2];r=q[a+20>>2];j=(j+r|0)>(n|0)?n-j|0:r;if((v|0)>(j|0)){break e}j=j-m|0;if((j|0)>64){break e}n=((g|0)<(h|0)?h-g|0:g-h|0)+((e|0)<(k|0)?k-e|0:e-k|0)|0;k=e-u|0;m=e-m|0;if((y|0)>=1){u=(k-m|0)+f|0;h=0;while(1){e=w(h,44)+A|0;r=p[e+8>>1]-p[e+6>>1]|0;g=Ma(p[e+2>>1],t)+u|0;e=f;while(1){v=(e<<2)+z|0;q[v>>2]=q[v>>2]+w(r,q[((g&63)<<2)+289040>>2]);g=g+1|0;v=(e|0)<(j|0);e=e+1|0;if(v){continue}break}h=h+1|0;if((y|0)!=(h|0)){continue}break}}n=w(n,10);h=q[a+52>>2];while(1){g=f;r=f-m|0;u=r+n|0;e=q[(f<<2)+z>>2];if(!((e|0)!=(h|0)|(u|0)>=q[a+56>>2]?(e|0)<=(h|0):0)){q[a+56>>2]=u;q[a+52>>2]=e;q[a+44>>2]=t;q[a+48>>2]=k+r;h=e}f=g+1|0;if((g|0)<(j|0)){continue}break}}if((i|0)>=q[a+40>>2]){break b}i=i+1|0;g=q[a+32>>2];h=q[a+4>>2];k=q[a>>2];continue}}e=q[a+48>>2];a=q[a+44>>2];i=a-s|0;C=b,D=Ma(l,i)+e|0,q[C+2752>>2]=D;C=b,D=Ma(o,i)+e|0,q[C+2756>>2]=D;q[c>>2]=a;q[d>>2]=e}Da=x+272|0}function _x(a){var b=0,c=0;b=q[a+4>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+8>>2];if(!(!b|(b|0)==271312)){c=q[b+44>>2];Pa(c?c:271312);La(b)}b=q[a+12>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+16>>2];if(!(!b|(b|0)==271312)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a+20>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+24>>2];if(!(!b|(b|0)==271312)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;La(q[b+28>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+28>>2];if(!(!b|(b|0)==271312)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;c=q[b+8>>2];Pa(c?c:271312);La(b)}b=q[a+32>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+36>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+40>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+44>>2];if(!(!b|(b|0)==271312)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a+48>>2];if(!(!b|(b|0)==271312)){c=q[b+8>>2];Pa(c?c:271312);q[b+8>>2]=0;c=q[b+12>>2];Pa(c?c:271312);La(b)}b=q[a+52>>2];if(!(!b|(b|0)==271312)){La(q[b+224>>2]);q[b+224>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;nc(b);La(b)}b=q[a+56>>2];if(!(!b|(b|0)==271312)){Yd(b);La(b)}b=q[a+60>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+64>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+68>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+72>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+76>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+80>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+84>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}dn(a+88|0);dn(a+92|0);b=q[a+96>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+100>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+104>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+108>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+112>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+116>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+120>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+124>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+128>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+132>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+136>>2];if(!(!b|(b|0)==271312)){Pa(b)}b=q[a+140>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);q[b>>2]=0;c=q[b+4>>2];Pa(c?c:271312);La(b)}b=q[a+144>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+148>>2];if(!(!b|(b|0)==271312)){c=q[b>>2];Pa(c?c:271312);La(b)}a=q[a+152>>2];if(!(!a|(a|0)==271312)){Pa(a)}}function yT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=q[c+88>>2];e=1;a=0;h=q[c+76>>2];b=0;a:{if(h){break a}b=1}while(1){b:{c:{d:{if(!b){f=j<<1;g=p[f+269472>>1]+268128|0;b=o[j+269584|0];a=r[j+269888|0]==2?d:a;j=r[(w(d,20)+i|0)+18|0];k=r[f+268016|0];if(j>>>0>=k>>>0){b=j>>>0>r[f+268017|0]?b:j-k|0}b=o[b+g|0];break d}if(!j){break c}d=h;b=p[(j<<1)+269776>>1]+ -1|0}j=o[b+269648|0];g=b&31;e:{if((32<=(b&63)>>>0?33529855>>>g|0:((1<>>g)&1){break e}b=o[b+269712|0]+ -3|0;if(b>>>0>7){break e}f:{switch(b-1|0){case 2:if(a>>>0>>0){f=e<<4;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 0:if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 6:if(a>>>0>>0){f=e<<4|1;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 4:if(a>>>0>>0){f=e<<4|2;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;default:if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;g=(b|0)==(d|0);b=b+1|0;if(!g){continue}break}}b=e+1|0;e=(b|0)==16?1:b;break e;case 1:if(a>>>0>>0){f=e<<4;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b;break e;case 3:if(a>>>0>>0){f=e<<4|2;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b;break e;case 5:break f}}if(a>>>0>>0){f=e<<4|3;b=a;while(1){o[(w(b,20)+i|0)+15|0]=f;b=b+1|0;if((d|0)!=(b|0)){continue}break}}d=d+ -1|0;b=e+1|0;e=(b|0)==16?1:b}a=r[j+269952|0]==1?0:a;d=d+1|0;if((h|0)!=(d|0)){break b}b=1;continue}b=q[c+76>>2];if(b){a=b+ -1|0;d=0;h=q[c+88>>2];f=r[h+15|0];while(1){g:{if((a|0)==(d|0)){d=b;break g}d=d+1|0;if((f|0)==r[(h+w(d,20)|0)+15|0]){continue}}break}h=0;f=b;while(1){a=d;if(d-h>>>0>=2){rb(c,h,a);f=q[c+76>>2]}d=a+1|0;h=f>>>0>d>>>0?f:d;e=h+ -1|0;i=q[c+88>>2];j=r[(i+w(a,20)|0)+15|0];d=a;while(1){h:{if((d|0)==(e|0)){d=h;break h}d=d+1|0;if((j|0)==r[(i+w(d,20)|0)+15|0]){continue}}break}h=a;if(a>>>0>>0){continue}break}}return}b=0;continue}}function vX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0;c=Da-48|0;Da=c;l=q[a+24>>2];if(l>>>0>=8){s=l+ -6|0;m=q[a+32>>2];d=q[67829];k=d;p=q[67828];f(0,p|0);f(1,d|0);t=+g();d=2;while(1){i=v[a+136>>3];j=v[a+128>>3];if(l>>>0<=e>>>0){o[a+20|0]=1}a:{if(m>>>0<=e>>>0){q[160744]=p;q[160745]=k;h=642976;break a}h=q[a+36>>2]+(e<<3)|0}e=e|1;if(l>>>0<=e>>>0){o[a+20|0]=1}b:{if(m>>>0<=e>>>0){q[160744]=p;q[160745]=k;n=t;break b}n=v[q[a+36>>2]+(e<<3)>>3]}n=i+n;i=j+v[h>>3];c:{if(r[b|0]){break c}o[b|0]=1;if(!!(v[b+8>>3]>j)){v[b+8>>3]=j;j=v[a+128>>3]}if(!!(j>v[b+24>>3])){v[b+24>>3]=j}j=v[a+136>>3];if(!!(v[b+16>>3]>j)){v[b+16>>3]=j;j=v[a+136>>3]}if(!(j>v[b+32>>3])){break c}v[b+32>>3]=j}v[a+136>>3]=n;v[a+128>>3]=i;if(!!(v[b+8>>3]>i)){v[b+8>>3]=i;i=v[a+128>>3]}if(!!(i>v[b+24>>3])){v[b+24>>3]=i}i=v[a+136>>3];if(!!(v[b+16>>3]>i)){v[b+16>>3]=i;i=v[a+136>>3]}if(!!(i>v[b+32>>3])){v[b+32>>3]=i}e=d;d=e+2|0;if(d>>>0<=s>>>0){continue}break}h=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=h;h=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=h;if(l>>>0<=e>>>0){o[a+20|0]=1}m=q[a+32>>2];d:{if(m>>>0<=e>>>0){h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break d}h=q[a+36>>2]+(e<<3)|0}k=e|1;if(l>>>0<=k>>>0){o[a+20|0]=1}e:{if(m>>>0<=k>>>0){k=q[67829];q[160744]=q[67828];q[160745]=k;k=642976;break e}k=q[a+36>>2]+(k<<3)|0}v[c+32>>3]=v[c+32>>3]+v[h>>3];v[c+40>>3]=v[c+40>>3]+v[k>>3];h=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=h;h=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=h;if(l>>>0<=d>>>0){o[a+20|0]=1}f:{if(m>>>0<=d>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break f}d=q[a+36>>2]+(d<<3)|0}h=e+3|0;if(l>>>0<=h>>>0){o[a+20|0]=1}g:{if(m>>>0<=h>>>0){h=q[67829];q[160744]=q[67828];q[160745]=h;h=642976;break g}h=q[a+36>>2]+(h<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[h>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(l>>>0<=d>>>0){o[a+20|0]=1}h:{if(m>>>0<=d>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(l>>>0<=e>>>0){o[a+20|0]=1}i:{if(m>>>0<=e>>>0){e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break i}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c)}Da=c+48|0}function tl(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:{b:{if(!q[a+8>>2]|(q[a+20>>2]?0:!q[a+16>>2])){break b}f=q[a>>2];if(!q[b+8>>2]|(f|0)!=q[b+84>>2]){break b}q[a+168>>2]=c;q[a+172>>2]=d;q[a+160>>2]=b;BR(f,b);q[q[q[a+116>>2]+36>>2]+36>>2]=q[b+64>>2]!=0;f=q[a+116>>2];g=q[b+68>>2];c:{if(!g){q[f+40>>2]=0;break c}o=f,p=jn(g),q[o+40>>2]=p}q[q[a+116>>2]>>2]=q[a+92>>2];n=v[a+80>>3];d:{if(n!=0){break d}n=1;j=q[a+16>>2];if(!j){break d}k=q[a+20>>2];if(!k){break d}f=q[a+24>>2];if(!f){break d}g=q[a+28>>2];if(!g){break d}n=+(f|0)/+(g|0)/(+(j|0)/+(k|0))}v[a+184>>3]=n;k=a+120|0;g=q[k>>2];f=0;q[k>>2]=0;q[a+124>>2]=g;xl(q[a+748>>2],q[a+760>>2]);xl(q[a+744>>2],q[a+756>>2]);xl(q[a+740>>2],q[a+752>>2]);i=q[b+8>>2];e:{if((i|0)<1){break e}while(1){m=q[b+20>>2]+w(f,56)|0;g=q[m>>2];l=q[m+4>>2];j=l;f:{if((j|0)>(d|0)?1:(j|0)>=(d|0)?g>>>0<=c>>>0?0:1:0){break f}l=q[m+12>>2]+l|0;j=g+q[m+8>>2]|0;if(j>>>0>>0){l=l+1|0}if((l|0)<(d|0)?1:(l|0)<=(d|0)?j>>>0>c>>>0?0:1:0){break f}g=q[a+132>>2];g:{if((h|0)<(g|0)){i=q[a+128>>2];break g}g=g+100|0;q[a+132>>2]=g;i=db(q[a+128>>2],g<<5);q[a+128>>2]=i}h=jO(a,m,(h<<5)+i|0)+h|0;i=q[b+8>>2]}f=f+1|0;if((f|0)<(i|0)){continue}break}if((h|0)<=0){break e}Gc(q[a+128>>2],h,32,795);c=q[a+128>>2];h:{if((h|0)==1){b=c;h=1;break h}f=1;b=c;while(1){g=f<<5;d=g+c|0;if(q[q[b+28>>2]+20>>2]!=q[q[d+28>>2]+20>>2]){Nr(a,b,d-b>>5);c=q[a+128>>2];b=g+c|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}Nr(a,b,((h<<5)+c|0)-b>>5);c=0;b=k;while(1){f=q[q[a+128>>2]+(c<<5)>>2];if(f){while(1){q[b>>2]=f;b=f+28|0;f=q[f+28>>2];if(f){continue}break}}c=c+1|0;if((h|0)!=(c|0)){continue}break}}g=q[k>>2];if(g){q[g+44>>2]=q[g+44>>2]+1}f=q[a+124>>2];if(e){h=0;i:{if(!f){b=g;break i}c=f;b=g;while(1){if(!b){b=0;h=2;break i}d=q[c+28>>2];i=2;j:{if(q[c>>2]!=q[b>>2]|q[c+4>>2]!=q[b+4>>2]|(q[c+8>>2]!=q[b+8>>2]|q[c+16>>2]!=q[b+16>>2])){break j}if(q[c+12>>2]!=q[b+12>>2]){break j}i=1;if(q[c+20>>2]!=q[b+20>>2]){break j}i=q[c+24>>2]!=q[b+24>>2]}h=i>>>0>h>>>0?i:h;b=q[b+28>>2];if(!d){break i}c=d;if((h|0)<2){continue}break}}q[e>>2]=b?2:h}k:{if(!f){break k}b=q[f+44>>2]+ -1|0;q[f+44>>2]=b;if(b){break k}while(1){b=q[f+28>>2];Cb(q[f+36>>2]);gd(q[f+40>>2]);La(f);f=b;if(b){continue}break}g=q[k>>2]}q[a+124>>2]=0;break a}if(!e){break a}q[e>>2]=2;return 0}return g}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;d=Da-16|0;Da=d;i=q[b+76>>2];if(i){g=q[b+96>>2];k=q[b+88>>2];h=(q[b+48>>2]&-2)!=4;b=0;while(1){e=w(b,20);f=e+k|0;c=s[f+16>>1];a:{if((c&31)!=29|r[f+12|0]&32){break a}f=c>>>8|0;j=f+ -1|0;if(j>>>0>20){break a}b:{c:{d:{switch(j-6|0){default:if(!h){q[e+g>>2]=(q[a+20>>2]+(c>>>9|0)|0)/(f|0);break a}q[(e+g|0)+4>>2]=0-((q[a+24>>2]+(c>>>9|0)|0)/(f|0)|0);break a;case 10:if(!h){f=e+g|0;e=q[a+20>>2];c=e>>31;l=f,m=W$(e<<2,c<<2|e>>>30,18,0),q[l>>2]=m;break a}f=e+g|0;e=0-q[a+24>>2]|0;c=e>>31;l=f,m=W$(e<<2,c<<2|e>>>30,18,0),q[l+4>>2]=m;break a;case 12:q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],48,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],49,d+12|0,q[c+20>>2])){break c}break b;case 13:q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],46,d+12|0,q[c+20>>2])){q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],44,d+12|0,q[c+20>>2])){break a}}c=q[a+72>>2];f=q[d+12>>2];if(!h){l=e+g|0,m=n[q[c+168>>2]](a,q[a+76>>2],f,q[c+32>>2])|0,q[l>>2]=m;break a}l=e+g|0,m=n[q[c+172>>2]](a,q[a+76>>2],f,q[c+36>>2])|0,q[l+4>>2]=m;break a;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:break a;case 14:break d}}if(!h){e=e+g|0;q[e>>2]=q[e>>2]/2;break a}e=e+g|0;q[e+4>>2]=q[e+4>>2]/2;break a}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],50,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],51,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],52,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],53,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],54,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],55,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(n[q[c+156>>2]](a,q[a+76>>2],56,d+12|0,q[c+20>>2])){break b}q[d+12>>2]=0;c=q[a+72>>2];if(!n[q[c+156>>2]](a,q[a+76>>2],57,d+12|0,q[c+20>>2])){break a}}c=q[a+72>>2];f=q[d+12>>2];if(!h){l=e+g|0,m=n[q[c+168>>2]](a,q[a+76>>2],f,q[c+32>>2])|0,q[l>>2]=m;break a}l=e+g|0,m=n[q[c+172>>2]](a,q[a+76>>2],f,q[c+36>>2])|0,q[l+4>>2]=m}b=b+1|0;if((i|0)!=(b|0)){continue}break}}Da=d+16|0}function to(a,b){var c=0,d=0,e=0,f=0;f=q[q[a>>2]+96>>2];e=q[q[a+8>>2]+140>>2];if((e|0)>=1){Qa(q[a+132>>2],q[a+136>>2],s[a+128>>1]<<3)}Qa(q[a+156>>2]+288|0,q[a+4>>2]+180|0,68);a:{if(b){c=q[a+156>>2];q[c+224>>2]=65536;q[c+228>>2]=65536;Qa(q[a+140>>2],q[a+136>>2],s[a+128>>1]<<3);break a}c=q[a+156>>2];d=q[q[a+4>>2]+44>>2];q[c+224>>2]=q[d+4>>2];q[c+228>>2]=q[d+8>>2]}c=q[a+136>>2]+(s[a+128>>1]<<3)|0;d=c+ -32|0;q[d>>2]=q[d>>2]+32&-64;d=c+ -24|0;q[d>>2]=q[d>>2]+32&-64;d=c+ -12|0;q[d>>2]=q[d>>2]+32&-64;c=c+ -4|0;q[c>>2]=q[c>>2]+32&-64;b:{if((e|0)>=1){d=q[q[a+12>>2]- -64>>2];c=q[a+156>>2];o[c+564|0]=b;q[c+468>>2]=e;q[c+464>>2]=q[c+396>>2];b=q[a+124>>2];q[c+144>>2]=q[a+120>>2];q[c+148>>2]=b;b=q[a+132>>2];q[c+152>>2]=q[a+128>>2];q[c+156>>2]=b;b=q[a+140>>2];q[c+160>>2]=q[a+136>>2];q[c+164>>2]=b;b=q[a+148>>2];q[c+168>>2]=q[a+144>>2];q[c+172>>2]=b;q[c+176>>2]=q[a+152>>2];b=q[a+156>>2];q[b+364>>2]=0;q[b+356>>2]=3;c=q[b+148>>2];q[b+36>>2]=q[b+144>>2];q[b+40>>2]=c;q[b+368>>2]=q[b+468>>2];c=q[b+156>>2];q[b+44>>2]=q[b+152>>2];q[b+48>>2]=c;c=q[b+164>>2];q[b+52>>2]=q[b+160>>2];q[b+56>>2]=c;c=q[b+172>>2];q[b+60>>2]=q[b+168>>2];q[b+64>>2]=c;q[b+68>>2]=q[b+176>>2];q[b+360>>2]=q[b+464>>2];c=q[b+148>>2];q[b+72>>2]=q[b+144>>2];q[b+76>>2]=c;c=q[b+156>>2];q[b+80>>2]=q[b+152>>2];q[b+84>>2]=c;c=q[b+164>>2];q[b+88>>2]=q[b+160>>2];q[b+92>>2]=c;c=q[b+172>>2];q[b+96>>2]=q[b+168>>2];q[b+100>>2]=c;q[b+104>>2]=q[b+176>>2];q[b+140>>2]=q[b+176>>2];c=q[b+172>>2];q[b+132>>2]=q[b+168>>2];q[b+136>>2]=c;c=q[b+164>>2];q[b+124>>2]=q[b+160>>2];q[b+128>>2]=c;c=q[b+156>>2];q[b+116>>2]=q[b+152>>2];q[b+120>>2]=c;c=q[b+148>>2];q[b+108>>2]=q[b+144>>2];q[b+112>>2]=c;p[b+352>>1]=1;q[b+348>>2]=65537;p[b+298>>1]=16384;p[b+300>>1]=0;p[b+302>>1]=16384;p[b+304>>1]=0;q[b+316>>2]=1;p[b+294>>1]=16384;p[b+296>>1]=0;q[b+308>>2]=1;q[b+432>>2]=0;q[b+16>>2]=0;b=n[q[q[b>>2]+708>>2]](b)|0;c=q[a+156>>2];if(r[c+565|0]?b:0){break b}o[d|0]=r[d|0]|r[c+344|0]<<5|4}if(q[f+64>>2]==40){b=0;if(r[q[a+156>>2]+615|0]){break b}}b=q[a+136>>2]+(s[a+128>>1]<<3)|0;c=b+ -32|0;e=q[c+4>>2];q[a+68>>2]=q[c>>2];q[a+72>>2]=e;c=b+ -24|0;e=q[c+4>>2];q[a+76>>2]=q[c>>2];q[a+80>>2]=e;c=b+ -16|0;e=q[c+4>>2];q[a+180>>2]=q[c>>2];q[a+184>>2]=e;b=b+ -8|0;c=q[b+4>>2];q[a+188>>2]=q[b>>2];q[a+192>>2]=c;b=0}return b}function ul(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=q[a+160>>2];g=q[h+16>>2];f=q[q[a+208>>2]+24>>2];q[a+824>>2]=355765;c=q[a+96>>2];i=q[a+536>>2];g=b?b:g+w(f,144)|0;k=Qa(a+544|0,g,144);f=c&2;q[a+532>>2]=!f|!i;b=i?0:c;c=b&1?b|124:b;if(c&512){Qa(k,a+824|0,144)}d=+q[h+40>>2];e=d/288;if(c&4){b=q[a+876>>2];q[a+592>>2]=q[a+872>>2];q[a+596>>2]=b;b=q[a+884>>2];q[a+600>>2]=q[a+880>>2];q[a+604>>2]=b;v[a+552>>3]=e*v[a+832>>3];v[a+608>>3]=e*v[a+888>>3]}if(c&8){q[a+548>>2]=q[a+828>>2];q[a+668>>2]=q[a+948>>2]}if(c&16){b=q[a+844>>2];q[a+560>>2]=q[a+840>>2];q[a+564>>2]=b;b=q[a+852>>2];q[a+568>>2]=q[a+848>>2];q[a+572>>2]=b}if(c&32){b=q[a+860>>2];q[a+576>>2]=q[a+856>>2];q[a+580>>2]=b;b=q[a+868>>2];q[a+584>>2]=q[a+864>>2];q[a+588>>2]=b}if(c&64){q[a+624>>2]=q[a+904>>2];v[a+632>>3]=e*v[a+912>>3];v[a+640>>3]=e*v[a+920>>3]}if(c&128){q[a+648>>2]=q[a+928>>2]}if(c&1024){q[a+680>>2]=q[a+960>>2]}if(c&256){q[a+652>>2]=q[a+932>>2];b=q[a+940>>2];q[a+656>>2]=q[a+936>>2];q[a+660>>2]=b}if(!q[a+548>>2]){q[a+548>>2]=q[g+4>>2]}q[a+528>>2]=c;q[a+212>>2]=k;e=+q[a+144>>2];j=e/d;v[a+176>>3]=j;b=a;g=q[a+28>>2];d=1;a:{if(!g){break a}d=e/+(g|0)}v[b+200>>3]=d;e=q[h+60>>2]?j:d;v[a+192>>3]=e;if(!g){v[a+200>>3]=e;d=e}if(!(f?i:0)){l=d;d=v[a+32>>3];v[a+200>>3]=l*d;v[a+192>>3]=e*d;v[a+176>>3]=j*d}b=q[a+564>>2];q[a+384>>2]=q[a+560>>2];q[a+388>>2]=b;b=q[a+572>>2];q[a+392>>2]=q[a+568>>2];q[a+396>>2]=b;b=q[a+556>>2];q[a+224>>2]=q[a+552>>2];q[a+228>>2]=b;q[a+232>>2]=(q[a+588>>2]!=0)<<1|q[a+584>>2]!=0;La(q[a+504>>2]);q[a+504>>2]=0;m=a,n=eb(q[a+548>>2]),q[m+504>>2]=n;q[a+516>>2]=q[a+668>>2];b=q[a+580>>2];q[a+508>>2]=q[a+576>>2];q[a+512>>2]=b;Bi(a);o[a+424|0]=0;q[a+248>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+260>>2]=0;q[a+360>>2]=q[a+624>>2];f=q[a+636>>2];b=q[a+632>>2];q[a+376>>2]=b;q[a+380>>2]=f;q[a+368>>2]=b;q[a+372>>2]=f;b=q[a+596>>2];q[a+336>>2]=q[a+592>>2];q[a+340>>2]=b;b=q[a+604>>2];q[a+344>>2]=q[a+600>>2];q[a+348>>2]=b;b=q[a+612>>2];q[a+352>>2]=q[a+608>>2];q[a+356>>2]=b;b=q[a+676>>2];q[a+432>>2]=q[a+672>>2];q[a+436>>2]=b;f=q[a+644>>2];b=q[a+640>>2];q[a+448>>2]=b;q[a+452>>2]=f;q[a+440>>2]=b;q[a+444>>2]=f;q[a+272>>2]=0;q[a+276>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+524>>2]=q[a+664>>2];v[a+264>>3]=v[a+616>>3]*3.141592653589793/180}function uX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0;c=Da-48|0;Da=c;k=q[a+24>>2];a:{if(k>>>0<8){break a}t=a+128|0;u=k+ -2|0;n=q[67828];p=q[67829];m=6;while(1){d=t;l=q[d+12>>2];q[c+40>>2]=q[d+8>>2];q[c+44>>2]=l;l=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=l;if(k>>>0<=e>>>0){o[a+20|0]=1}l=q[a+32>>2];b:{if(l>>>0<=e>>>0){q[160744]=n;q[160745]=p;d=642976;break b}d=q[a+36>>2]+(e<<3)|0}i=e|1;if(k>>>0<=i>>>0){o[a+20|0]=1}c:{if(l>>>0<=i>>>0){q[160744]=n;q[160745]=p;i=642976;break c}i=q[a+36>>2]+(i<<3)|0}v[c+32>>3]=v[c+32>>3]+v[d>>3];v[c+40>>3]=v[c+40>>3]+v[i>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=e+2|0;if(k>>>0<=d>>>0){o[a+20|0]=1}d:{if(l>>>0<=d>>>0){q[160744]=n;q[160745]=p;d=642976;break d}d=q[a+36>>2]+(d<<3)|0}i=e+3|0;if(k>>>0<=i>>>0){o[a+20|0]=1}e:{if(l>>>0<=i>>>0){q[160744]=n;q[160745]=p;i=642976;break e}i=q[a+36>>2]+(i<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[i>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(k>>>0<=d>>>0){o[a+20|0]=1}f:{if(l>>>0<=d>>>0){q[160744]=n;q[160745]=p;d=642976;break f}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(k>>>0<=e>>>0){o[a+20|0]=1}g:{if(l>>>0<=e>>>0){q[160744]=n;q[160745]=p;e=642976;break g}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c);k=q[a+24>>2];e=m;m=e+6|0;if(m>>>0<=u>>>0){continue}break}h=v[a+136>>3];j=v[a+128>>3];if(k>>>0<=e>>>0){o[a+20|0]=1}m=q[a+32>>2];h:{if(m>>>0<=e>>>0){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break h}d=q[a+36>>2]+(e<<3)|0}e=e|1;if(k>>>0<=e>>>0){o[a+20|0]=1}i:{if(m>>>0<=e>>>0){e=q[67829];m=q[67828];q[160744]=m;q[160745]=e;f(0,m|0);f(1,e|0);s=+g();break i}s=v[q[a+36>>2]+(e<<3)>>3]}s=h+s;h=j+v[d>>3];j:{if(r[b|0]){break j}o[b|0]=1;if(!!(v[b+8>>3]>j)){v[b+8>>3]=j;j=v[a+128>>3]}if(!!(j>v[b+24>>3])){v[b+24>>3]=j}j=v[a+136>>3];if(!!(v[b+16>>3]>j)){v[b+16>>3]=j;j=v[a+136>>3]}if(!(j>v[b+32>>3])){break j}v[b+32>>3]=j}v[a+136>>3]=s;v[a+128>>3]=h;if(!!(v[b+8>>3]>h)){v[b+8>>3]=h;h=v[a+128>>3]}if(!!(h>v[b+24>>3])){v[b+24>>3]=h}h=v[a+136>>3];if(!!(v[b+16>>3]>h)){v[b+16>>3]=h;h=v[a+136>>3]}if(!(h>v[b+32>>3])){break a}v[b+32>>3]=h}Da=c+48|0}function Zm(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:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0>2147483646){break a}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);n=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;e=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);j=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;o=h<<1;a=0;d=0;while(1){b:{if(!(a&1)){e=d;break b}c:{if(!h){e=0-i|0;a=0;break c}if(4294967295/(h>>>0)>>>0<=i>>>0){break a}e=0-i|0;if(4294967295/(o>>>0)>>>0<=e>>>0){break a}a=w(i,h)}f=(a<<1)+j|0;g=w(e,o);d:{if(!g){e=q[b+12>>2];break d}if(t[b+4>>2]>f>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-f>>>0>>0){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}}e=(i-l|0)+e|0;q[b+12>>2]=e;if((e|0)<1|(a|0)>0){break a}e=d;l=i;a=j;if(f>>>0>=a>>>0){break b}while(1){a=a+ -2|0;l=r[a|0]<<8|r[a+1|0];e=e>>>0>l>>>0?e:l+1|0;if(f>>>0>>0){continue}break}l=i}if((k|0)<=(m|0)){g=m+1|0;if(!(!h|4294967295/(o>>>0)>>>0>g>>>0)){return 0}f=w(g,o);e:{if(!f){a=q[b+12>>2];break e}if(t[b+4>>2]>j>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-j>>>0>>0){break a}f=q[b+12>>2];a=f+ -1|0;q[b+12>>2]=a;if((f|0)<1){break a}}a=((m^-1)+k|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(h>>>0)>>>0<=g>>>0?h:0)){break a}f=w(g,h);if((f|0)<0){break a}a=w(h,k);if((a|0)<(f|0)){f=(f<<1)+j|0;a=(a<<1)+j|0;while(1){k=r[a+1|0]|r[a|0]<<8;e=e>>>0>k>>>0?e:k+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}k=g}if(e>>>0>536870910){break a}f=e<<3;f:{if(!e){g=q[b+12>>2];break f}if(t[b+4>>2]>n>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-n>>>0>>0){break a}a=q[b+12>>2];g=a+ -1|0;q[b+12>>2]=g;if((a|0)<1){break a}}a=(d-e|0)+g|0;q[b+12>>2]=a;if((a|0)<1){break a}if((d|0)<(e|0)){g=f+n|0;a=(d<<3)+n|0;while(1){d=r[a+1|0]|r[a|0]<<8;m=(m|0)<(d|0)?d:m;i=(i|0)>(d|0)?d:i;a=a+8|0;if(a>>>0>>0){continue}break}}d=e;a=(i|0)<(l|0);if(a|(k|0)<=(m|0)){continue}break}p=1;if(!c){break a}q[c>>2]=d}return p}function lk(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;g=Da-32|0;Da=g;i=Se(a);a:{if(!i){a=0;break a}h=q[i+76>>2];if(!(r[b|0]?b:0)){a=Kb(503547);b=a?a:503563}b:{if(r[b|0]==47){a=Ig(h,b);break b}if(r[b|0]==126){a=0;if(!q[160548]){break b}f=Kb(503475);if(!f){break b}if(!h){a=Ig(f,b+1|0);break b}q[g+4>>2]=0;q[g>>2]=f;f=_b(h,g);a=Ig(f,b+1|0);La(f);break b}c:{e=Kb(503937);d:{e:{if(e){a=r[e|0];if(a){f=3;c=e;while(1){f=((a&255)==58)+f|0;a=r[c+1|0];c=c+1|0;if(a){continue}break}a=0;f=ab(f,4);if(!f){break b}while(1){k=(a<<2)+f|0;c=Pb(e,58);if(!c){c=Wa(e)+e|0}j=c-e|0;d=Sa(j+1|0);q[k>>2]=d;if(!d){break d}l=Md(d,e,j)+j|0,m=0,o[l|0]=m;a=a+1|0;e=r[c|0]?c+1|0:c;if(r[e|0]){continue}break}break e}a=0;f=ab(3,4);if(f){break e}break b}a=0;f=ab(2,4);if(!f){break b}}d=Sa(31);q[(a<<2)+f>>2]=d;if(d){break c}}a=q[f>>2];if(a){c=0;while(1){La(a);c=c+1|0;a=q[(c<<2)+f>>2];if(a){continue}break}}La(f);a=0;break b}a=0;c=r[503980]|r[503981]<<8|(r[503982]<<16|r[503983]<<24);e=r[503976]|r[503977]<<8|(r[503978]<<16|r[503979]<<24);o[d+23|0]=e;o[d+24|0]=e>>>8;o[d+25|0]=e>>>16;o[d+26|0]=e>>>24;o[d+27|0]=c;o[d+28|0]=c>>>8;o[d+29|0]=c>>>16;o[d+30|0]=c>>>24;c=r[503973]|r[503974]<<8|(r[503975]<<16|r[503976]<<24);e=r[503969]|r[503970]<<8|(r[503971]<<16|r[503972]<<24);o[d+16|0]=e;o[d+17|0]=e>>>8;o[d+18|0]=e>>>16;o[d+19|0]=e>>>24;o[d+20|0]=c;o[d+21|0]=c>>>8;o[d+22|0]=c>>>16;o[d+23|0]=c>>>24;c=r[503965]|r[503966]<<8|(r[503967]<<16|r[503968]<<24);e=r[503961]|r[503962]<<8|(r[503963]<<16|r[503964]<<24);o[d+8|0]=e;o[d+9|0]=e>>>8;o[d+10|0]=e>>>16;o[d+11|0]=e>>>24;o[d+12|0]=c;o[d+13|0]=c>>>8;o[d+14|0]=c>>>16;o[d+15|0]=c>>>24;c=r[503957]|r[503958]<<8|(r[503959]<<16|r[503960]<<24);e=r[503953]|r[503954]<<8|(r[503955]<<16|r[503956]<<24);o[d|0]=e;o[d+1|0]=e>>>8;o[d+2|0]=e>>>16;o[d+3|0]=e>>>24;o[d+4|0]=c;o[d+5|0]=c>>>8;o[d+6|0]=c>>>16;o[d+7|0]=c>>>24;if(!f){break b}a=q[f>>2];f:{if(!a){a=0;break f}g:{if(!h){c=f;while(1){a=Ig(a,b);if(a){break g}c=c+4|0;a=q[c>>2];if(a){continue}break}a=0;break g}e=f;while(1){q[g+20>>2]=0;q[g+16>>2]=a;c=_b(h,g+16|0);a=Ig(c,b);La(c);if(a){break g}e=e+4|0;a=q[e>>2];if(a){continue}break}a=0}c=q[f>>2];if(!c){break f}b=f;while(1){La(c);c=q[b+4>>2];b=b+4|0;if(c){continue}break}}La(f)}cc(i)}Da=g+32|0;return a}function jU(a,b,c){a=a|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,p=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0;a:{b:{c:{if(!(o[b+35|0]&1)){break c}D=q[c+20>>2]>-1?1:-1;while(1){y=q[b+76>>2];B=y+A|0;d:{if(!y){k=B;break d}v=q[b+96>>2];l=q[b+88>>2];k=B;a=y;while(1){m=0;h=0;f=0;d=a;j=w(d+ -1|0,20);e=j+l|0;e:{if((r[e+18|0]&254)!=8){if((x|0)!=1){break e}g=q[e+4>>2];k=k+ -1|0;f=w(k,20);d=f+l|0;q[d>>2]=q[e>>2];q[d+4>>2]=g;q[d+16>>2]=q[e+16>>2];g=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=g;d=f+v|0;f=j+v|0;q[d+16>>2]=q[f+16>>2];e=q[f+12>>2];q[d+8>>2]=q[f+8>>2];q[d+12>>2]=e;e=q[f+4>>2];q[d>>2]=q[f>>2];q[d+4>>2]=e;break e}f:{while(1){g=d+ -1|0;e=w(g,20)+l|0;if((r[e+18|0]&254)==8){j=0;d=q[c+72>>2];d=n[q[d+168>>2]](c,q[c+76>>2],q[e>>2],q[d+32>>2])|0;e=r[e+18|0];i=(e|0)==8;m=(i?d:0)+m|0;f=(i?0:d)+f|0;h=((e|0)!=8)+h|0;i=0;e=0;d=g;if(d){continue}break f}break}e=d;i=0;g:{while(1){j=e+ -1|0;p=w(j,20);g=p+l|0;if((r[g+18|0]&254)==8){break g}z=s[g+16>>1];if(1<<(z&31)&125893836?0:!(r[g+12|0]&32?0:z&32)){break g}i=q[v+p>>2]+i|0;e=j;if(e){continue}break}e=0}j=d}g=w(i-m|0,D);m=0;i=w(f,D);d=0;h:{if((i|0)<1){break h}d=0;if((g|0)<=(i|0)){break h}d=((g|0)/(i|0)|0)+ -1|0}i:{if((h|0)<1){f=d;break i}f=d+1|0;if((g|0)<=(w(i,f)|0)){f=d;break i}d=w(i,d+2|0)-g|0;if((d|0)<1){break i}m=(d|0)/(w(f,h)|0)|0}d=j+1|0;if(!x){A=w(f,h)+A|0;a=d;break e}if(a-e>>>0>=2){rb(b,e,a)}if(a>>>0<=j>>>0){a=d;break e}z=f+1|0;f=0;while(1){a=a+ -1|0;e=w(a,20);g=e+l|0;h=q[c+72>>2];G=n[q[h+168>>2]](c,q[c+76>>2],q[g>>2],q[h+32>>2])|0;E=r[g+18|0]==9?z:1;if(E){i=e+v|0;p=i;e=0;while(1){f=(f-G|0)+(e?m:0)|0;q[p+8>>2]=f;k=k+ -1|0;u=w(k,20);h=u+l|0;q[h+16>>2]=q[g+16>>2];C=q[g+12>>2];q[h+8>>2]=q[g+8>>2];q[h+12>>2]=C;C=q[g+4>>2];q[h>>2]=q[g>>2];q[h+4>>2]=C;h=v+u|0;q[h+16>>2]=q[i+16>>2];u=q[p+12>>2];q[h+8>>2]=q[p+8>>2];q[h+12>>2]=u;u=q[i+4>>2];q[h>>2]=q[i>>2];q[h+4>>2]=u;e=e+1|0;if((E|0)!=(e|0)){continue}break}}if(a>>>0>j>>>0){continue}break}a=d}a=a+ -1|0;if(a){continue}break}}j:{if(!x){a=A+y|0;if(!a|t[b+84>>2]>a>>>0){break j}if(pe(b,a)){break j}break c}if(k){break b}q[b+76>>2]=B}x=x+1|0;if((x|0)!=2){continue}break}}a=r[b+164|0];if(!(a&64)){break a}o[b+164|0]=a&191;return}I(255156,255163,590,255193);F()}I(255219,251880,160,255204);F()}function Aj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;q[a+4>>2]=c;q[a>>2]=b;if(c){q[a+400>>2]=q[c+124>>2];q[a+404>>2]=q[c+128>>2];q[a+412>>2]=q[c+136>>2];q[a+416>>2]=q[c+140>>2];q[a+408>>2]=q[c+132>>2];q[a+420>>2]=q[c+144>>2];q[a+216>>2]=q[c+120>>2];d=q[c+80>>2];q[a+248>>2]=q[c+76>>2];q[a+252>>2]=d;d=q[c+88>>2];q[a+256>>2]=q[c+84>>2];q[a+260>>2]=d;d=q[c+96>>2];q[a+264>>2]=q[c+92>>2];q[a+268>>2]=d;d=q[c+104>>2];q[a+272>>2]=q[c+100>>2];q[a+276>>2]=d;d=q[c+112>>2];q[a+280>>2]=q[c+108>>2];q[a+284>>2]=d;d=q[c+44>>2];e=q[d+4>>2];q[a+220>>2]=q[d>>2];q[a+224>>2]=e;e=q[d+12>>2];q[a+228>>2]=q[d+8>>2];q[a+232>>2]=e;e=q[d+20>>2];q[a+236>>2]=q[d+16>>2];q[a+240>>2]=e;q[a+244>>2]=q[d+24>>2];q[a+424>>2]=q[c+148>>2];q[a+428>>2]=q[c+152>>2];d=q[c+160>>2];q[a+448>>2]=q[c+156>>2];q[a+452>>2]=d;d=q[c+168>>2];q[a+456>>2]=q[c+164>>2];q[a+460>>2]=d;d=q[c+176>>2];q[a+464>>2]=q[c+172>>2];q[a+468>>2]=d;Qa(a+288|0,c+180|0,68);q[a+384>>2]=q[c+248>>2];q[a+388>>2]=q[c+252>>2];p[a+472>>1]=s[c+256>>1];q[a+476>>2]=q[c+260>>2];d=q[c+268>>2];q[a+180>>2]=q[c+264>>2];q[a+184>>2]=d;d=q[c+276>>2];q[a+188>>2]=q[c+272>>2];q[a+192>>2]=d;d=q[c+284>>2];q[a+196>>2]=q[c+280>>2];q[a+200>>2]=d;d=q[c+292>>2];q[a+204>>2]=q[c+288>>2];q[a+208>>2]=d;q[a+212>>2]=q[c+296>>2];Na(a+36|0,0,108)}e=q[a+8>>2];a:{b:{c:{d=q[a+20>>2];c=s[b+284>>1]+32|0;d:{if(d>>>0>=c>>>0){c=d;break d}i=a,j=Oa(e,1,d<<2,c<<2,q[a+24>>2],f+8|0),q[i+24>>2]=j;e=q[f+8>>2];if(e){break c}e=q[a+8>>2]}q[a+20>>2]=c;d=q[a+392>>2];c=s[b+286>>1];if(d>>>0>=c>>>0){c=d;break b}i=a,j=Oa(e,1,d,c,q[a+396>>2],f+12|0),q[i+396>>2]=j;e=q[f+12>>2];if(!e){break b}q[a+392>>2]=d&65535;break a}q[a+20>>2]=d;break a}e=0;q[a+152>>2]=0;q[a+392>>2]=c&65535;b=q[a+148>>2];c=q[a+144>>2];q[a+72>>2]=c;q[a+76>>2]=b;q[a+108>>2]=c;q[a+112>>2]=b;q[a+36>>2]=c;q[a+40>>2]=b;d=q[a+164>>2];b=d;c=q[a+160>>2];q[a+88>>2]=c;q[a+92>>2]=d;g=q[a+172>>2];d=g;h=q[a+168>>2];q[a+96>>2]=h;q[a+100>>2]=d;g=q[a+176>>2];q[a+104>>2]=g;q[a+124>>2]=c;q[a+128>>2]=b;q[a+132>>2]=h;q[a+136>>2]=d;q[a+140>>2]=g;q[a+52>>2]=c;q[a+56>>2]=b;q[a+60>>2]=h;q[a+64>>2]=d;q[a+68>>2]=g;b=q[a+156>>2];c=q[a+152>>2];q[a+80>>2]=c;q[a+84>>2]=b;q[a+116>>2]=c;q[a+120>>2]=b;q[a+44>>2]=c;q[a+48>>2]=b;o[a+492|0]=0}Da=f+16|0;return e}function np(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;a:{if(c>>>0<=2){c=c<<2;h=q[c+508556>>2];k=q[c+508544>>2];while(1){c=q[b+4>>2];b:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break b}c=vb(b)}if((c|0)==32|c+ -9>>>0<5){continue}break}e=c+ -43|0;c:{if(e>>>0>2){g=1;break c}g=1;if(!(e-1)){break c}g=(c|0)==45?-1:1;c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break c}c=vb(b)}e=0;d:{e:{while(1){if(o[e+508476|0]==(c|32)){f:{if(e>>>0>6){break f}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break f}c=vb(b)}e=e+1|0;if((e|0)!=8){continue}break e}break}if((e|0)!=3){if((e|0)==8){break e}if(!d|e>>>0<4){break d}if((e|0)==8){break e}}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(!d|e>>>0<4){break e}while(1){if(c){q[b+4>>2]=q[b+4>>2]+ -1}e=e+ -1|0;if(e>>>0>3){continue}break}}AG(f,x(x(g|0)*x(H)));g=q[f+8>>2];h=q[f+12>>2];i=q[f>>2];j=q[f+4>>2];break a}g:{h:{i:{if(e){break i}e=0;while(1){if(o[e+508485|0]!=(c|32)){break i}j:{if(e>>>0>1){break j}c=q[b+4>>2];if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break j}c=vb(b)}e=e+1|0;if((e|0)!=3){continue}break}break h}k:{l:{if(e>>>0>3){break l}switch(e-1|0){case 2:break h;case 0:case 1:break l;default:break k}}if(q[b+104>>2]){q[b+4>>2]=q[b+4>>2]+ -1}break g}m:{if((c|0)!=48){break m}e=q[b+4>>2];n:{if(e>>>0>2]){q[b+4>>2]=e+1;e=r[e|0];break n}e=vb(b)}if((e|32)==120){WG(f+16|0,b,k,h,g,d);g=q[f+24>>2];h=q[f+28>>2];i=q[f+16>>2];j=q[f+20>>2];break a}if(!q[b+104>>2]){break m}q[b+4>>2]=q[b+4>>2]+ -1}VG(f+32|0,b,c,k,h,g,d);g=q[f+40>>2];h=q[f+44>>2];i=q[f+32>>2];j=q[f+36>>2];break a}o:{c=q[b+4>>2];p:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break p}c=vb(b)}if((c|0)==40){e=1;break o}g=0;h=2147450880;if(!q[b+104>>2]){break a}q[b+4>>2]=q[b+4>>2]+ -1;break a}while(1){q:{c=q[b+4>>2];r:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break r}c=vb(b)}if(!(c+ -48>>>0<10|c+ -65>>>0<26|(c|0)==95)){if(c+ -97>>>0>=26){break q}}e=e+1|0;continue}break}g=0;h=2147450880;if((c|0)==41){break a}c=q[b+104>>2];if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(d){if(!e){break a}while(1){e=e+ -1|0;if(c){q[b+4>>2]=q[b+4>>2]+ -1}if(e){continue}break}break a}}q[160942]=28;xd(b,0,0)}g=0;h=0}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=h;Da=f+48|0}function Ym(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:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(g>>>0>2147483646){break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);m=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);i=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;n=g<<1;a=0;c=0;while(1){b:{if(!(a&1)){d=c;break b}c:{if(!g){d=0-h|0;a=0;break c}if(4294967295/(g>>>0)>>>0<=h>>>0){break a}d=0-h|0;if(4294967295/(n>>>0)>>>0<=d>>>0){break a}a=w(h,g)}e=(a<<1)+i|0;f=w(d,n);d:{if(!f){d=q[b+12>>2];break d}if(t[b+4>>2]>e>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-e>>>0>>0){break a}f=q[b+12>>2];d=f+ -1|0;q[b+12>>2]=d;if((f|0)<1){break a}}d=(h-k|0)+d|0;q[b+12>>2]=d;if((d|0)<1|(a|0)>0){break a}d=c;k=h;a=i;if(e>>>0>=a>>>0){break b}while(1){a=a+ -2|0;k=r[a|0]<<8|r[a+1|0];d=d>>>0>k>>>0?d:k+1|0;if(e>>>0>>0){continue}break}k=h}if((j|0)<=(l|0)){f=l+1|0;if(!(!g|4294967295/(n>>>0)>>>0>f>>>0)){return 0}e=w(f,n);e:{if(!e){a=q[b+12>>2];break e}if(t[b+4>>2]>i>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-i>>>0>>0){break a}e=q[b+12>>2];a=e+ -1|0;q[b+12>>2]=a;if((e|0)<1){break a}}a=((l^-1)+j|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(g>>>0)>>>0<=f>>>0?g:0)){break a}e=w(f,g);if((e|0)<0){break a}a=w(g,j);if((a|0)<(e|0)){e=(e<<1)+i|0;a=(a<<1)+i|0;while(1){j=r[a+1|0]|r[a|0]<<8;d=d>>>0>j>>>0?d:j+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}j=f}if(d>>>0>715827881){break a}e=w(d,6);f:{if(!e){f=q[b+12>>2];break f}if(t[b+4>>2]>m>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-m>>>0>>0){break a}a=q[b+12>>2];f=a+ -1|0;q[b+12>>2]=f;if((a|0)<1){break a}}a=(c-d|0)+f|0;q[b+12>>2]=a;if((a|0)<1){break a}if((c|0)<(d|0)){f=e+m|0;a=w(c,6)+m|0;while(1){c=r[a+1|0]|r[a|0]<<8;l=(l|0)<(c|0)?c:l;h=(h|0)>(c|0)?c:h;a=a+6|0;if(a>>>0>>0){continue}break}}c=d;a=(h|0)<(k|0);if(a|(j|0)<=(l|0)){continue}break}o=1}return o}function zx(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:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<4){break a}if(!Le(a+4|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(g>>>0>2147483646){break a}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);m=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a|0;d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);i=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;n=g<<1;a=0;c=0;while(1){b:{if(!(a&1)){d=c;break b}c:{if(!g){d=0-h|0;a=0;break c}if(4294967295/(g>>>0)>>>0<=h>>>0){break a}d=0-h|0;if(4294967295/(n>>>0)>>>0<=d>>>0){break a}a=w(h,g)}e=(a<<1)+i|0;f=w(d,n);d:{if(!f){d=q[b+12>>2];break d}if(t[b+4>>2]>e>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-e>>>0>>0){break a}f=q[b+12>>2];d=f+ -1|0;q[b+12>>2]=d;if((f|0)<1){break a}}d=(h-k|0)+d|0;q[b+12>>2]=d;if((d|0)<1|(a|0)>0){break a}d=c;k=h;a=i;if(e>>>0>=a>>>0){break b}while(1){a=a+ -2|0;k=r[a|0]<<8|r[a+1|0];d=d>>>0>k>>>0?d:k+1|0;if(e>>>0>>0){continue}break}k=h}if((j|0)<=(l|0)){f=l+1|0;if(!(!g|4294967295/(n>>>0)>>>0>f>>>0)){return 0}e=w(f,n);e:{if(!e){a=q[b+12>>2];break e}if(t[b+4>>2]>i>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-i>>>0>>0){break a}e=q[b+12>>2];a=e+ -1|0;q[b+12>>2]=a;if((e|0)<1){break a}}a=((l^-1)+j|0)+a|0;q[b+12>>2]=a;if((a|0)<1|(4294967295/(g>>>0)>>>0<=f>>>0?g:0)){break a}e=w(f,g);if((e|0)<0){break a}a=w(g,j);if((a|0)<(e|0)){e=(e<<1)+i|0;a=(a<<1)+i|0;while(1){j=r[a+1|0]|r[a|0]<<8;d=d>>>0>j>>>0?d:j+1|0;a=a+2|0;if(a>>>0>>0){continue}break}}j=f}if(d>>>0>1073741822){break a}e=d<<2;f:{if(!d){f=q[b+12>>2];break f}if(t[b+4>>2]>m>>>0){break a}a=q[b+8>>2];if(a>>>0>>0|a-m>>>0>>0){break a}a=q[b+12>>2];f=a+ -1|0;q[b+12>>2]=f;if((a|0)<1){break a}}a=(c-d|0)+f|0;q[b+12>>2]=a;if((a|0)<1){break a}if((c|0)<(d|0)){f=e+m|0;a=(c<<2)+m|0;while(1){c=r[a+1|0]|r[a|0]<<8;l=(l|0)<(c|0)?c:l;h=(h|0)>(c|0)?c:h;a=a+4|0;if(a>>>0>>0){continue}break}}c=d;a=(h|0)<(k|0);if(a|(j|0)<=(l|0)){continue}break}o=1}return o}function HL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[a+4>>2];i=q[b+4>>2];e=e>>>0>>0?e:i;c=2;b:{if((e|0)<1){break b}c=(e|0)<8?e:8;i=(c|0)>1?c:1;c=0;while(1){e=d<<2;if(q[(e+b|0)+8>>2]&q[(a+e|0)+8>>2]){break a}d=d+1|0;if((i|0)!=(d|0)){continue}break}d=0;c:{while(1){c=d<<2;g=q[c+485808>>2];f=g&q[(a+c|0)+8>>2]|f;h=g&q[(b+c|0)+8>>2]|h;e=1;if(h?f:0){break c}d=d+1|0;if((i|0)!=(d|0)){continue}break}e=2}h=0;f=0;d=0;d:{while(1){g=d<<2;c=q[g+485840>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break d}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;e:{while(1){g=d<<2;c=q[g+485872>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break e}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;f:{while(1){g=d<<2;c=q[g+485904>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break f}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;g:{while(1){g=d<<2;c=q[g+485936>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break g}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;h:{while(1){g=d<<2;c=q[g+485968>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break h}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;i:{while(1){g=d<<2;c=q[g+486e3>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break i}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;j:{while(1){g=d<<2;c=q[g+486032>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break j}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;k:{while(1){g=d<<2;c=q[g+486064>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break k}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}e=c;h=0;f=0;d=0;while(1){g=d<<2;c=q[g+486096>>2];f=c&q[(a+g|0)+8>>2]|f;h=c&q[(b+g|0)+8>>2]|h;c=1;if(h?f:0){break b}d=d+1|0;if((i|0)!=(d|0)){continue}break}c=e}d=q[a>>2];if(d){e=2;d=Ic(d);if(d){l:{while(1){f=Qb(d);if(!f){break l}f=ni(b,f);e=f>>>0>>0?f:e;if(e){continue}break}e=0}Zb(d)}c=e>>>0>>0?e:c}if(!c){c=0;break a}e=q[b>>2];if(!e){break a}b=2;e=Ic(e);if(e){m:{while(1){d=Qb(e);if(!d){break m}d=ni(a,d);b=d>>>0>>0?d:b;if(b){continue}break}b=0}Zb(e)}return b>>>0>>0?b:c}return c}function $w(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=q[a+4>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}c=q[a+4>>2];q[c+72>>2]=0;a:{if(!r[c+68|0]){break a}while(1){d=q[a>>2];l=(r[d+7|0]|r[d+6|0]<<8)+d|0;m=d+(r[d+5|0]|r[d+4|0]<<8)|0;j=q[c+76>>2];i=f>>>0>=j>>>0;h=0;b:{if(i){break b}g=q[q[c+88>>2]+w(f,20)>>2];h=2;if((g|0)==65535){break b}e=g;g=d+(r[d+3|0]|r[d+2|0]<<8)|0;e=e-(r[g|0]<<8|r[g+1|0])|0;h=1;if(e>>>0>=(r[g+3|0]|r[g+2|0]<<8)>>>0){break b}h=r[(e+g|0)+4|0]}e=h;d=r[d+1|0]|r[d|0]<<8;d=l+(r[m+((d>>>0>e>>>0?e:1)+w(d,k)|0)|0]<<3)|0;c:{if(!k){break c}e=q[(r[c+69|0]?80:72)+c>>2];if(i|!e){break c}i=r[d+3|0];g=r[d+2|0]<<8;if(!(r[d+1|0]|r[d|0]<<8|((r[d+5|0]|r[d+4|0]<<8)!=65535|(r[d+7|0]|r[d+6|0]<<8)!=65535?i|g&768:0))){if((g|i)==16384){break c}}Zc(c,e+ -1|0,f+1|0);c=q[a+4>>2];j=q[c+76>>2];f=q[c+72>>2]}i=f+2|0;d:{if(i>>>0>j>>>0){break d}e=q[a>>2];g=r[e+1|0]|r[e|0]<<8;e=(e+(r[e+7|0]|r[e+6|0]<<8)|0)+(r[e+(r[e+5|0]|r[e+4|0]<<8)+(!g+w(g,k))|0]<<3)|0;if(!(r[e+2|0]<<8&768|r[e+3|0])|((r[e+7|0]|r[e+6|0]<<8)==65535?(r[e+5|0]|r[e+4|0]<<8)==65535:0)){break d}rb(c,f,i)}Tm(b,a,d);f=q[a>>2];k=((r[d+1|0]|r[d|0]<<8)-(r[f+4|0]<<8|r[f+5|0])|0)/(r[f+1|0]|r[f|0]<<8)|0;c=q[a+4>>2];f=q[c+72>>2];if((f|0)!=q[c+76>>2]){e:{if(r[d+2|0]&64){d=q[c+40>>2];q[c+40>>2]=d+ -1;if((d|0)>0){break e}}if(r[c+69|0]){h=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;e=d;if(q[c+80>>2]==(d|0)){break f}}if(!Va(c,1,1)){break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;g=q[d+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;q[f>>2]=q[d>>2];q[f+4>>2]=g;q[f+16>>2]=q[d+16>>2];g=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=g;f=q[c+72>>2];e=q[c+80>>2]}q[h+80>>2]=e+1}q[c+72>>2]=f+1}c=q[a+4>>2];if(!r[c+68|0]){break a}f=q[c+72>>2];continue}break}if(!r[c+68|0]){break a}while(1){b=q[c+72>>2];if(b>>>0>=t[c+76>>2]){break a}g:{if(r[c+69|0]){h:{if(q[c+92>>2]==q[c+88>>2]){f=b;if((f|0)==q[c+80>>2]){break h}}if(!Va(c,1,1)){break g}b=q[c+88>>2]+w(q[c+72>>2],20)|0;e=q[b+4>>2];f=q[c+92>>2]+w(q[c+80>>2],20)|0;d=f;q[d>>2]=q[b>>2];q[d+4>>2]=e;q[d+16>>2]=q[b+16>>2];d=q[b+12>>2];q[f+8>>2]=q[b+8>>2];q[f+12>>2]=d;b=q[c+72>>2];f=q[c+80>>2]}q[c+80>>2]=f+1}q[c+72>>2]=b+1}c=q[a+4>>2];if(r[c+68|0]){continue}break}}Kc(c)}function sM(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,r=0,s=0,t=0;m=Da-16|0;Da=m;e=q[c+44>>2]+ -1|0;f=q[c+40>>2]+ -40|0;if(f>>>0<4294967256){e=e+1|0}a:{if(!e&f>>>0>2147483607|e>>>0>0){break a}b:{c:{if(!q[160933]){while(1){e=Sa(28);g=q[160933];q[160933]=g?g:e;if(!g){break c}if(!q[160933]){continue}break}}break b}Ud()}d:{e:{g=q[160916];if(g){e=q[c>>2];while(1){if(!(q[g+24>>2]!=q[c+80>>2]|q[g+28>>2]!=q[c+84>>2]|(e|0)!=q[g+16>>2]|q[g+32>>2]!=q[c+64>>2])){if(q[g+36>>2]==q[c+68>>2]){break e}}g=q[g+40>>2];if(g){continue}break}}break d}q[g+4>>2]=q[g+4>>2]+1;g=q[g>>2];if(!g){break d}if(cr(a,g,d)){break a}hg(g)}if(!q[160934]){g=3;e=Kb(442111);f:{if(!e){break f}if(!Sg(e,m+12|0)){break f}g=q[m+12>>2]?1:2}e=q[160934];q[160934]=e?e:g}g=0;f=q[c+40>>2];e=Sa(f);if(!e){break a}b=Uh(b,e,f);if((b|0)!=q[c+40>>2]|q[c+44>>2]!=b>>31){La(e);break a}g:{h:{if(q[e>>2]!=-66913276|q[e+4>>2]<7|(b|0)!=q[e+8>>2]){break h}f=q[e+12>>2];if((f|0)<0|f>>>0>b+ -4>>>0){break h}if(!be(e+f|0,0,b-f|0)){break h}f=q[e+16>>2];if((f|0)<0|(b|0)<=(f|0)){break h}h=q[e+20>>2];if((h|0)<0|h>>>0>b-f>>>2>>>0){break h}l=b+e|0;f=e+f|0;if(!(!f|(h|0)<1)){k=(l-f|0)+ -4|0;while(1){i=q[f+(j<<2)>>2];if((i|0)<0|i>>>0>k>>>0){break h}i=f+i|0;if(!be(i,0,l-i|0)){break h}j=j+1|0;if((h|0)!=(j|0)){continue}break}}f=q[e+24>>2];if((f|0)<0|f>>>0>b+ -12>>>0){break h}i=e+f|0;i:{if(!i){break i}n=q[i>>2];if(n>>>0>l-i>>>4>>>0){break h}b=q[i+8>>2];if(!(b&1)){break h}if((n|0)<1){break i}r=l+ -32|0;s=l+ -12|0;t=i+(b&-2)|0;while(1){b=i+(q[(o<<2)+t>>2]&-2)|0;if(b>>>0>>0|s>>>0>>0){break h}f=q[b+8>>2];if((f|0)<0){break h}h=l-b|0;if((h|0)<(f|0)){break h}p=q[b>>2];if(q[b+12>>2]!=-1|p>>>0>h-f>>>3>>>0){break h}f=b+f|0;b=q[f+4>>2];if(b&1?0:b){break h}j:{if((p|0)<1){break j}k=0;while(1){h=f;b=b&1?(f+(k<<3)|0)+(b&-2)|0:b;k:{if(!b){break k}while(1){if(r>>>0>>0|h>>>0>b>>>0){break h}h=q[b>>2];j=h&1;l:{if(h){if(!j){break h}j=(h&-2)+b|0;break l}if(!j){break k}j=(h&-2)+b|0}h=b+1|0;b=j;if(b){continue}break}}k=k+1|0;if((p|0)==(k|0)){break j}b=q[(f+(k<<3)|0)+4>>2];continue}}o=o+1|0;if((o|0)!=(n|0)){continue}break}}if(!cr(a,e,d)){break h}if(br(e,c)){break g}}La(e);break a}q[e>>2]=-66913275;g=e}Da=m+16|0;return g}function BM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-176|0;Da=b;if(!zc(a,b+168|0,8)){he(a,8,80)}if(!zc(a,b+168|0,7)){he(a,7,0)}if(!zc(a,b+168|0,9)){he(a,9,100)}if(!zc(a,b+168|0,17)){Pc(a,17,1)}if(!zc(a,b+168|0,18)){Pc(a,18,0)}if(!zc(a,b+168|0,19)){Pc(a,19,0)}if(!zc(a,b+168|0,20)){Pc(a,20,1)}if(!zc(a,b+168|0,39)){Pc(a,39,1)}if(!zc(a,b+168|0,40)){Pc(a,40,0)}if(!zc(a,b+168|0,48)){Pc(a,48,0)}if(!zc(a,b+168|0,50)){Pc(a,50,0)}if(Ok(a,10,b+104|0)){f=12;a:{if(YL(a,b+120|0)){break a}c=q[b+120>>2];d=0;b:{if(!c){break b}d=b+136|0;e=b+152|0;if(e){g=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=g}if(d){e=q[c+12>>2];q[d>>2]=q[c+8>>2];q[d+4>>2]=e}d=1}if(!d){break a}f=(v[b+152>>3]+v[b+136>>3])*.5}v[b+104>>3]=f}if(Ok(a,28,b+96|0)){q[b+96>>2]=0;q[b+100>>2]=1072693248}if(Ok(a,26,b+112|0)){q[b+112>>2]=0;q[b+116>>2]=1079164928}c:{if(!zc(a,b+168|0,12)){eg(a,28);ze(a,28,v[b+96>>3]);f=v[b+96>>3];h=v[b+104>>3];eg(a,26);ze(a,26,v[b+112>>3]);ze(a,12,h*f*(v[b+112>>3]/72));break c}UL(b+168|0,b+152|0);v[b+104>>3]=v[b+160>>3]/v[b+112>>3]*72/v[b+96>>3]}eg(a,10);ze(a,10,v[b+104>>3]);if(!zc(a,b+168|0,35)){he(a,35,2147483647)}if(!zc(a,b+168|0,16)){he(a,16,3)}if(!zc(a,b+168|0,42)){while(1){d:{c=q[160911];if(c){break d}c=eb(q[q[mr()+12>>2]>>2]);d=q[160911];q[160911]=d?d:c;if(!d){break d}La(c);continue}break}wc(a,42,c)}Og(a,42,b+136|0);q[b+128>>2]=439578;q[b+120>>2]=3;if(!zc(a,b+168|0,2)){c=q[b+148>>2];q[b+88>>2]=q[b+144>>2];q[b+92>>2]=c;c=q[b+140>>2];q[b+80>>2]=q[b+136>>2];q[b+84>>2]=c;Rk(a,2,b+80|0);c=q[b+132>>2];q[b+72>>2]=q[b+128>>2];q[b+76>>2]=c;c=q[b+124>>2];q[b+64>>2]=q[b+120>>2];q[b+68>>2]=c;Dc(a,2,b- -64|0,0)}if(!zc(a,b+168|0,4)){c=q[b+148>>2];q[b+56>>2]=q[b+144>>2];q[b+60>>2]=c;c=q[b+140>>2];q[b+48>>2]=q[b+136>>2];q[b+52>>2]=c;Rk(a,4,b+48|0);c=q[b+132>>2];q[b+40>>2]=q[b+128>>2];q[b+44>>2]=c;c=q[b+124>>2];q[b+32>>2]=q[b+120>>2];q[b+36>>2]=c;Dc(a,4,b+32|0,0)}if(!zc(a,b+168|0,6)){c=q[b+148>>2];q[b+24>>2]=q[b+144>>2];q[b+28>>2]=c;c=q[b+140>>2];q[b+16>>2]=q[b+136>>2];q[b+20>>2]=c;Rk(a,6,b+16|0);c=q[b+132>>2];q[b+8>>2]=q[b+128>>2];q[b+12>>2]=c;c=q[b+124>>2];q[b>>2]=q[b+120>>2];q[b+4>>2]=c;Dc(a,6,b,0)}e:{if((Og(a,44,b+152|0)|0)!=1){break e}c=lr();if(!c){break e}wc(a,44,c)}Da=b+176|0}function um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;m=w(b,c)+a|0;if(b>>>0>=10){p=0-c|0;while(1){i=a+c|0;j=w(b>>>1|0,c)+a|0;g=(n[d](i,j)|0)>0;e=g?i:j;k=w(b+ -1|0,c);h=k+a|0;f=h+p|0;if((n[d](e,f)|0)>=1){b=g?j:i;e=(n[d](b,f)|0)>0?b:f}if(!((e|0)==(h|0)|(c|0)<1)){g=c+e|0;b=h;while(1){f=r[e|0];o[e|0]=r[b|0];o[b|0]=f;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}j=h;f=h;g=a;i=g;a:{if((k|0)<1){f=h;j=f;break a}b:while(1){if(i>>>0>=f>>>0){break a}while(1){b=n[d](i,h)|0;if((b|0)>=1){c:{if(i>>>0>=f>>>0){break c}while(1){l=f;d:{e:{f=f+p|0;b=n[d](f,h)|0;if(!b){k=j+p|0;if((c|0)<1){break e}e=f;b=k;if(l>>>0>=j>>>0){break e}while(1){j=r[e|0];o[e|0]=r[b|0];o[b|0]=j;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break e}if((b|0)>-1){break d}if(!((c|0)<1|i>>>0>=f>>>0)){l=c+i|0;e=i;b=f;while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}i=c+i|0;break c}j=k}if(i>>>0>>0){continue}break}}if(i>>>0>>0){continue b}break a}if(!b){if(!((c|0)<1|g>>>0>=i>>>0)){l=c+g|0;e=g;b=i;while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}g=c+g|0}i=c+i|0;if(i>>>0>>0){continue}break}break}}b=g-a|0;k=f-g|0;f:{if(!b|!k){break f}if(b>>>0>k>>>0){if((k|0)<1){break f}h=a+k|0;e=a;while(1){b=r[e|0];o[e|0]=r[g|0];o[g|0]=b;g=g+1|0;e=e+1|0;if(e>>>0>>0){continue}break}break f}if((b|0)<1){break f}e=a+k|0;b=a;while(1){h=r[b|0];o[b|0]=r[e|0];o[e|0]=h;e=e+1|0;b=b+1|0;if(b>>>0>>0){continue}break}}h=j-f|0;g:{if(!h){break g}b=m-j|0;if(!b){break g}if(h>>>0>b>>>0){if((b|0)<1){break g}e=b+f|0;while(1){b=r[f|0];o[f|0]=r[j|0];o[j|0]=b;j=j+1|0;f=f+1|0;if(f>>>0>>0){continue}break}break g}if((h|0)<1){break g}e=b+f|0;while(1){b=r[f|0];o[f|0]=r[e|0];o[e|0]=b;e=e+1|0;f=f+1|0;if(f>>>0>>0){continue}break}}um(a,(k>>>0)/(c>>>0)|0,c,d);a=m-h|0;b=(h>>>0)/(c>>>0)|0;m=a+w(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(g>>>0>>0){j=0-c|0;while(1){f=g;h:{if(f>>>0<=a>>>0){break h}while(1){h=f+j|0;if((n[d](h,f)|0)<1){break h}e=h;b=f;if((c|0)>=1){while(1){k=r[e|0];o[e|0]=r[b|0];o[b|0]=k;b=b+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}f=h;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(g>>>0>>0){continue}break}}}function Bn(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,t=0;g=Da-16|0;Da=g;t=g;a:{b:{c:{d:{e:{l=q[a+204>>2];f:{if(l>>>0<2){break f}h=a+8|0;k=q[a+172>>2];i=q[a+168>>2];o=q[a+20>>2];p=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=p;d=m;c=n;b=o;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;j=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|j<<24;q[a+8>>2]=d;j=40-c|0;c=e;if(j>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];j=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|j<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=k+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(k,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];k=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|k<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+192>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=o;q[a+16>>2]=p;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+220>>2]+1|0;break b}b=q[a+216>>2];break b}b=c+ -2|0}q[t+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+220>>2];q[a+220>>2]=b;q[a+216>>2]=c;c=q[a+576>>2]+(b<<6)|0;q[a+112>>2]=c;q[a+176>>2]=q[((b>>>3&536870908)+a|0)+592>>2]>>>(b&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[c|0]<<2)>>2];q[a+108>>2]=((r[q[a+580>>2]+b|0]&3)<<9)+153696;a=1}Da=g+16|0;return a}function Zw(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,p=0,s=0,u=0,v=0;d=q[b+4>>2];b=o[c+2|0];if((b|0)<=-1){b=q[a+24>>2];a:{if(!b){e=q[d+80>>2];b=0;break a}e=q[d+80>>2];g=b+ -1|0;h=q[(((g&63)<<2)+a|0)+28>>2];if((e|0)!=(h|0)){break a}q[a+24>>2]=g;b=g;e=h}q[a+24>>2]=b+1;q[(((b&63)<<2)+a|0)+28>>2]=e;b=r[c+2|0]}b=r[c+3|0]|b<<8&16128;b:{if(!b){break b}h=q[a+24>>2];if(!h|t[d+72>>2]>=t[d+76>>2]){break b}s=q[d+80>>2];c=b+q[a+8>>2]|0;b=q[a+12>>2];g=(c-b&-4)+b|0;while(1){c:{if(!h){q[a+24>>2]=0;break c}h=h+ -1|0;n=((h&63)<<2)+a|0;rd(d,q[n+28>>2]);c=q[a+4>>2];m=q[c+20>>2];if(m>>>0>g>>>0){break c}e=q[c+24>>2];if(e>>>0>>0|e-g>>>0<4){break c}i=q[c+28>>2];q[c+28>>2]=i+ -1;if((i|0)<1){break c}b=q[a+16>>2];u=b;p=q[a+8>>2];v=p-b|0;j=q[d+88>>2];b=q[d+72>>2];f=r[g|0];k=r[g+3|0]|(r[g+1|0]<<16|f<<24|r[g+2|0]<<8);f=u+(v+(q[j+w(b,20)>>2]+(f&32?k|1073741824:k&1073741823)<<1)>>>1<<1)|0;if(m>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -2;if((i|0)<2){break c}l=(r[f+1|0]|r[f|0]<<8)+l|0;if(k>>>0>=1073741824){f=q[a+20>>2];l=(l+p|0)-f>>>1|0;f=(l<<1)+f|0;if(m>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -3;if((i|0)<3){break c}e=r[f|0];i=r[f+1|0];d:{e:{if(q[d+92>>2]==(j|0)){c=b;if((c|0)==q[d+80>>2]){break e}}if(!Va(d,1,1)){break d}c=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[d+72>>2];c=q[d+80>>2];j=q[d+92>>2]}q[w(c,20)+j>>2]=i|e<<8;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;i=q[(((c&63)<<2)+a|0)+28>>2]+1|0;if(c>>>0>h>>>0){while(1){q[a+24>>2]=c;rd(d,q[(((c&63)<<2)+a|0)+28>>2]);e=q[d+92>>2];f:{g:{if((e|0)==q[d+88>>2]){b=q[d+80>>2];c=b;if((c|0)==q[d+72>>2]){break g}}if(!Va(d,1,1)){break f}c=q[d+88>>2]+w(q[d+72>>2],20)|0;e=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;b=q[d+72>>2];c=q[d+80>>2];e=q[d+92>>2]}q[w(c,20)+e>>2]=65535;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;if(c>>>0>h>>>0){continue}break}}rd(d,i);gf(d,q[n+28>>2],q[d+80>>2])}g=g+4|0;if((k|0)>-1){continue}}break}rd(d,s)}}function lx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);g=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g+((c>>>0>e>>>0?e:1)+w(c,h)<<1)|0;g=f+((r[c|0]<<8|r[c+1|0])<<3)|0;c:{if(!h){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]){break c}if(!((r[g+5|0]|r[g+4|0]<<8)!=65535|(r[g+7|0]|r[g+6|0]<<8)!=65535|(r[g+1|0]|r[g|0]<<8))){if((r[g+3|0]|r[g+2|0]<<8)==16384){break c}}Zc(f,d+ -1|0,c+1|0)}j=q[a+4>>2];k=q[j+72>>2];e=k+2|0;f=q[j+76>>2];d:{if(e>>>0>f>>>0){break d}i=q[a>>2];c=r[i+8|0]|r[i+9|0]<<8|(r[i+10|0]<<16|r[i+11|0]<<24);d=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+i|0;c=r[i|0]|r[i+1|0]<<8|(r[i+2|0]<<16|r[i+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+(w(c,h)+!c<<1)|0;d=r[c|0];c=r[c+1|0];h=r[i+12|0]|r[i+13|0]<<8|(r[i+14|0]<<16|r[i+15|0]<<24);if(r[b+8|0]?0:(f|0)==(k|0)){break d}c=(i+(h<<8&16711680|h<<24|(h>>>8&65280|h>>>24))|0)+((d<<8|c)<<3)|0;if((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+4|0]<<8|r[c+5|0])==65535:0){break d}rb(j,k,e)}hx(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}j=r[g|0];k=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;g=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];h=q[e+92>>2]+w(q[e+80>>2],20)|0;q[h>>2]=q[f>>2];q[h+4>>2]=d;q[h+16>>2]=q[f+16>>2];d=q[f+12>>2];q[h+8>>2]=q[f+8>>2];q[h+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[g+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}h=k|j<<8;c=q[d+72>>2];continue}}}function ap(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0;j=Da-128|0;Da=j;a:{b:{c:{if(!tf(f,g,h,i,0,0,0,0)){break c}m=rG(f,g,h,i);u=e>>>16|0;p=u&32767;if((p|0)==32767){break c}if(m){break b}}Eb(j+16|0,b,c,d,e,f,g,h,i);e=q[j+16>>2];d=q[j+20>>2];c=q[j+24>>2];b=q[j+28>>2];Ih(j,e,d,c,b,e,d,c,b);d=q[j+8>>2];e=q[j+12>>2];h=q[j>>2];i=q[j+4>>2];break a}n=e&65535|p<<16;l=n;k=d;n=h;t=i>>>16&32767;r=i&65535|t<<16;if((tf(b,c,k,l,f,g,h,r)|0)<=0){if(tf(b,c,k,l,f,g,n,r)){h=b;i=c;break a}Eb(j+112|0,b,c,d,e,0,0,0,0);d=q[j+120>>2];e=q[j+124>>2];h=q[j+112>>2];i=q[j+116>>2];break a}if(p){i=c;h=b}else{Eb(j+96|0,b,c,k,l,0,0,0,1081540608);h=q[j+108>>2];l=h;k=q[j+104>>2];p=(h>>>16|0)+ -120|0;i=q[j+100>>2];h=q[j+96>>2]}if(!t){Eb(j+80|0,f,g,n,r,0,0,0,1081540608);f=q[j+92>>2];r=f;n=q[j+88>>2];t=(f>>>16|0)+ -120|0;g=q[j+84>>2];f=q[j+80>>2]}w=n;m=n;n=k-m|0;l=l&65535|65536;v=r&65535|65536;o=(g|0)==(i|0)&h>>>0>>0|i>>>0>>0;m=(l-(v+(k>>>0>>0)|0)|0)-(n>>>0>>0)|0;s=n-o|0;o=(m|0)>-1?1:(m|0)>=-1?s>>>0<=4294967295?0:1:0;n=h-f|0;r=i-((h>>>0>>0)+g|0)|0;if((p|0)>(t|0)){while(1){d:{if(o){if(!(n|s|(m|r))){Eb(j+32|0,b,c,d,e,0,0,0,0);d=q[j+40>>2];e=q[j+44>>2];h=q[j+32>>2];i=q[j+36>>2];break a}k=r>>>31|0;l=0;h=s;o=m<<1|h>>>31;h=h<<1;break d}m=l<<1|k>>>31;k=k<<1;l=m;n=h;r=i;o=0;h=i>>>31|0}k=h|k;i=k;h=w;s=i-h|0;l=l|o;m=l-((i>>>0>>0)+v|0)|0;h=n;o=r<<1|h>>>31;h=h<<1;i=o;o=(g|0)==(i|0)&h>>>0>>0|i>>>0>>0;m=m-(s>>>0>>0)|0;s=s-o|0;o=(m|0)>-1?1:(m|0)>=-1?s>>>0<=4294967295?0:1:0;n=h-f|0;r=i-((h>>>0>>0)+g|0)|0;p=p+ -1|0;if((p|0)>(t|0)){continue}break}p=t}e:{if(!o){break e}h=n;k=s;i=r;l=m;if(h|k|(i|l)){break e}Eb(j+48|0,b,c,d,e,0,0,0,0);d=q[j+56>>2];e=q[j+60>>2];h=q[j+48>>2];i=q[j+52>>2];break a}if((l|0)==65535&k>>>0<=4294967295|l>>>0<65535){while(1){d=i>>>31|0;b=0;p=p+ -1|0;m=i<<1|h>>>31;h=h<<1;i=m;o=l<<1|k>>>31;k=k<<1|d;b=b|o;l=b;if((b|0)==65536&k>>>0<0|b>>>0<65536){continue}break}}b=u&32768;if((p|0)<=0){Eb(j- -64|0,h,i,k,l&65535|(b|p+120)<<16,0,0,0,1065811968);d=q[j+72>>2];e=q[j+76>>2];h=q[j+64>>2];i=q[j+68>>2];break a}d=k;e=l&65535|(b|p)<<16}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=d;q[a+12>>2]=e;Da=j+128|0}function Xp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=Da-2944|0;Da=f;a:{if(!c){break a}g=Wa(c);if(r[643741]&4){q[f+52>>2]=b;q[f+48>>2]=e?499052:499060;Ua(499027,f+48|0)}h=II();b:{if(!h){g=1;break b}q[f+108>>2]=0;q[f+80>>2]=0;q[f+84>>2]=0;q[f+1392>>2]=0;q[f+96>>2]=a;q[f+92>>2]=b;q[f+88>>2]=0;a=Np(b);q[f+2936>>2]=!e;q[f+104>>2]=h;q[f+100>>2]=a;if(a){q[a+16>>2]=e}i=f+80|0;a=h;c:{if(!a){break c}j=q[a>>2];q[a>>2]=i;if(q[a+4>>2]!=(j|0)){break c}q[a+4>>2]=i}if(a){q[a+88>>2]=977;q[a+84>>2]=976}if(a){q[a+56>>2]=979;q[a+52>>2]=978}if(a){q[h+60>>2]=980}d:{while(1){a=BI(h);if(!a){_a(f+80|0,2,499075,0);g=1;break d}i=a;a=g>>>0<1024?g:1024;Qa(i,c,a);if(!AI(h,a,!a)){a=f;c=(h?q[h+280>>2]:41)+ -1|0;e:{if(c>>>0<=40){c=q[(c<<2)+498520>>2];break e}c=0}q[a+32>>2]=c;_a(f+80|0,2,499099,f+32|0);g=1;break d}i=g+ -1024|0;g=i>>>0>g>>>0?0:i;c=a+c|0;if(a){continue}break}g=q[f+88>>2];f:{if(!e){break f}a=f- -64|0;c=q[q[f+100>>2]+20>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+20>>2]){a=q[a+4>>2]}else{a=0}if(a){Ve(q[q[f+96>>2]+20>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+20>>2],f- -64|0,q[f+100>>2])}a=f- -64|0;c=q[q[f+100>>2]+24>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+24>>2]){a=q[a+4>>2]}else{a=0}if(a){Ve(q[q[f+96>>2]+24>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+24>>2],f- -64|0,q[f+100>>2])}a=f- -64|0;c=q[q[f+100>>2]+28>>2];q[a>>2]=c;c=q[c+4>>2];q[a+8>>2]=0;q[a+4>>2]=c;a=f- -64|0;if(q[a>>2]==q[q[f+100>>2]+28>>2]){a=q[a+4>>2]!=0}else{a=0}if(!a){break f}Ve(q[q[f+96>>2]+28>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+28>>2],f- -64|0,q[f+100>>2])}Ve(q[q[f+96>>2]+84>>2],f- -64|0);a=q[f+100>>2];if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}Ue(q[q[f+96>>2]+84>>2],f- -64|0,q[f+100>>2])}if(q[f+80>>2]){while(1){Up(f+80|0);if(q[f+80>>2]){continue}break}}nk(q[f+100>>2]);q[f+100>>2]=0;gq(h)}if(!(!d|!g)){q[f+4>>2]=b;q[f>>2]=e?498825:498830;g=0;_a(0,2,499102,f);break a}g=1;if(!(r[643741]&4)){break a}q[f+20>>2]=b;q[f+16>>2]=e?499052:499060;Ua(499132,f+16|0)}Da=f+2944|0;return g}function vR(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0;k=Da-80|0;Da=k;e=bh(b,c);a:{if(e){break a}e=q[b+2740>>2];if(!(e&1)){e=Js(b,q[d+52>>2],d+56|0,0);if(e){break a}e=q[b+2740>>2]}b:{if(e&2){break b}e=Js(b,q[d+9568>>2],d+9572|0,1);if(e){break a}if(r[(q[q[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=q[b+1404>>2];if((a|0)<1){break b}e=q[b+1412>>2];x=e+w(a,44)|0;n=q[d+9560>>2];while(1){a=Ma(t[d+40>>2]/40|0,n);c:{if(!q[d+9776>>2]){break c}g=(a|0)<32?a:32;a=0;h=0;i=0;while(1){l=w(a,36)+d|0;f=q[l+9812>>2];d:{if(!(f&1)){break d}u=f>>>3&1;j=(f&6)!=0;if(j^q[b+1416>>2]!=o[e+13|0]?!u:0){break d}v=l+9780|0;m=p[e>>1]-q[v>>2]|0;f=m>>31;m=Ma(f^f+m,n);f=(m|0)<(g|0);g=f?m:g;h=f?v:h;i=f?u:i;if(!(o[e+12|0]&1)|(!m|u)){break d}f=p[e>>1];if((q[v>>2]>(f|0)|0)==(j|0)){break d}l=l+9792|0;j=f-q[l>>2]|0;f=j>>31;j=Ma(f^f+j,n);f=(j|0)<(g|0);g=f?j:g;h=f?l:h;i=f?0:i}a=a+1|0;if(a>>>0>2]){continue}break}if(!h){break c}q[e+20>>2]=h;if(!(i&255)){break c}o[e+12|0]=r[e+12|0]|8}e=e+44|0;if(e>>>0>>0){continue}break}}a=q[b+2740>>2];e:{if(!(q[d+24>>2]|a&8)){Ls(k+16|0,b,k+12|0,k+8|0);d=q[b+24>>2];if((d|0)<1){break e}a=q[b+28>>2];d=a+w(d,40)|0;e=q[k+8>>2];g=q[k+12>>2];while(1){y=a,z=Ma(p[a+12>>1],g)+e|0,q[y+16>>2]=z;a=a+40|0;if(a>>>0>>0){continue}break}break e}if(a&1){break e}Is(b,0);a=q[b+44>>2];if((a|0)>=1){e=q[b+52>>2];g=e+w(a,44)|0;while(1){a=q[e+12>>2];if(a){d=e+36|0;h=q[a+8>>2];i=q[e+40>>2];while(1){a=q[d>>2];q[a+16>>2]=h;p[a>>1]=s[a>>1]|4;d=a+32|0;if((a|0)!=(i|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}}Nl(b,0);Ml(b,0)}if(!(r[b+2740|0]&2)){Is(b,1);a=q[b+1392>>2];if((a|0)>=1){e=q[b+1400>>2];g=e+w(a,44)|0;while(1){a=q[e+12>>2];if(a){d=e+36|0;h=q[a+8>>2];i=q[e+40>>2];while(1){a=q[d>>2];q[a+20>>2]=h;p[a>>1]=s[a>>1]|8;d=a+32|0;if((a|0)!=(i|0)){continue}break}}e=e+44|0;if(e>>>0>>0){continue}break}}Nl(b,1);Ml(b,1)}e=0;d=q[b+24>>2];if((d|0)<=0){break a}a=q[b+28>>2];b=a+w(d,40)|0;d=q[c+4>>2];g=q[c+8>>2];while(1){q[d>>2]=q[a+16>>2];q[d+4>>2]=q[a+20>>2];c=s[a>>1];o[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(a>>>0>>0){continue}break}}Da=k+80|0;return e|0}function Fl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;q[c+12>>2]=q[a>>2];d=q[a+8>>2];$b(c+12|0,d);b=q[c+12>>2];a:{if(b>>>0>=d>>>0){break a}e=r[b|0];g=e+ -40|0;b:{if(g>>>0>53){if((e|0)!=123){break b}f=js(c+12|0,d);break a}c:{switch(g-1|0){case 50:case 52:q[c+12>>2]=b+1;break a;default:f=El(c+12|0,d);break a;case 19:if(!(r[b+1|0]!=60|b+1>>>0>=d>>>0)){q[c+12>>2]=b+2;break a}f=is(c+12|0,d);break a;case 21:e=b+1|0;q[c+12>>2]=e;f=3;if(r[e|0]!=62|e>>>0>=d>>>0){break a}q[c+12>>2]=b+2;f=0;break a;case 0:case 1:case 2:case 3:case 4:case 5: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 20: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 51:break b;case 6:break c}}b=b+1|0;q[c+12>>2]=b}if(b>>>0>=d>>>0){break a}d:{while(1){e:{e=r[b|0];if(e>>>0>125){break e}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:case 37:case 38: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 60: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 91: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 123:break e;default:break d}}b=b+1|0;if((d|0)!=(b|0)){continue}break}q[c+12>>2]=d;break a}q[c+12>>2]=b}b=q[c+12>>2];if(b>>>0>>0){f=(b|0)==q[a>>2]?3:f}e=a;if(b>>>0>d>>>0){q[c+12>>2]=d}else{d=b}q[e>>2]=d;q[a+12>>2]=f;Da=c+16|0}function Es(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,s=0,t=0,u=0;if(!(r[a+16|0]&8)){e=w(c,204)+b|0;o=q[e+200>>2];g=q[e+204>>2]+Ma(q[a>>2],o)|0;f=Ma(q[a+4>>2],o);a:{b:{c:{d:{e:{if(c>>>0<=1){f:{if(!(c-1)){if(r[d+121|0]){break f}break b}if(!r[d+120|0]){break b}h=r[d+122|0]!=0;break e}p=r[d+123|0];q[a+12>>2]=f;s=q[a>>2];n=r[b+2492|0];e=2;h=q[b+412>>2];g:{h:{if(!h){break h}j=q[a+4>>2]+s|0;i=b+416|0;l=q[b+2488>>2];k=0-l|0;while(1){m=j-q[i+12>>2]|0;if((m|0)<(k|0)){break h}if((l+q[i+8>>2]|0)>=(j|0)){if(!n){h=0;if((m|0)>q[b+2484>>2]){break g}}t=q[i+16>>2];e=3;h=1;break g}i=i+32|0;h=h+ -1|0;if(h){continue}break}}h=0}j=q[b+928>>2];i:{if(!j){break i}l=q[b+2488>>2];k=0-l|0;i=((j<<5)+b|0)+932|0;while(1){m=q[i+ -24>>2]-s|0;if((m|0)<(k|0)){break i}if((q[i+ -20>>2]-l|0)>(s|0)){i=i+ -32|0;j=j+ -1|0;if(j){continue}break i}break}if((m|0)>=q[b+2484>>2]?!n:0){break i}u=q[i+ -16>>2];h=e}e=h+ -1|0;if(e>>>0>2){h=(p|0)!=0;break d}j:{switch(e-1|0){case 0:q[a+8>>2]=u;if(!p){break a}q[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 1:break j;default:break c}}q[a+8>>2]=u;q[a+12>>2]=t-u;break a}h=0}q[a+12>>2]=f}e=q[a+20>>2];if(e){if(!(r[e+16|0]&8)){Es(e,b,c,d)}g=((q[e+8>>2]-(f>>1)|0)+(q[e+12>>2]>>1)|0)+Ma((q[a>>2]-(q[e>>2]+(q[e+4>>2]>>1)|0)|0)+(q[a+4>>2]>>1)|0,o)|0}q[a+12>>2]=f;q[a+8>>2]=g;n=a;e=f;k:{if(!r[d+124|0]){break k}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break k}b=g+32&-64;if((f|0)<1){g=b;e=f;break k}e=b-g|0;k=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(k^e+k)>(g^c+g)?d:b;e=f;break k}b=q[(w(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)<=39){f=b;e=54;if((b|0)<49){break k}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break k}b=f&-64;e=b|10;if(c>>>0<=31){break k}e=f;if(c>>>0>53){break k}e=b|54;break k}e=f+32&-64}b=e;q[n+12>>2]=b;c=g+32|0;e=((c+b&-64)-g|0)-b|0;d=(c&-64)-g|0;c=d>>31;f=c^c+d;c=e>>31;c=((f|0)>(c+e^c)?e:d)+g|0;q[a+8>>2]=c;if(!h){break a}d=(b|0)<64?64:b+32&-64;q[a+12>>2]=d;b=c;c=d>>1;b=b+c|0;q[a+8>>2]=(d&64?b&-64|32:b+32&-64)-c;break a}q[a+8>>2]=t-f;if(!p){break a}b=(f|0)<64?64:f+32&-64;q[a+12>>2]=b;q[a+8>>2]=t-b;break a}q[a+12>>2]=f;q[a+8>>2]=g}q[a+16>>2]=q[a+16>>2]|8}}function Sx(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;a:{e=$i(q[b+16>>2]+148|0);f=t[e+16>>2]<8?271312:q[e+12>>2];b:{if(r[f|0]<<8|r[f+1|0]){q[d+8>>2]=a;q[d+12>>2]=b;g=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=g;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(e);o[d+44|0]=0;q[d+52>>2]=b;e=q[g+32>>2];if((e|0)==-1){e=lc(g)}o[d+60|0]=1;q[d+56>>2]=e;e=q[b+12>>2];q[d+28>>2]=e;g=e;e=q[b+16>>2];q[d+32>>2]=g+e;if((e|0)<=-1){break a}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;c:{if(r[c+68|0]!=1){break c}q[d+68>>2]=0;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break c}c=f+8|0;b=0;while(1){e=c;f=d+8|0;if(t[a+104>>2]<=b>>>0){a=271312}else{a=q[a+108>>2]+(b<<2)|0}Rx(e,f,q[a>>2]);d:{if(r[q[d+20>>2]+68|0]!=1){break d}b=b+1|0;if((g|0)==(b|0)){break d}a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+c|0;a=q[d+8>>2];continue}break}b=q[d+52>>2]}Pa(b);break b}e=_i(q[b+16>>2]+152|0);f=t[e+16>>2]<8?271312:q[e+12>>2];if(!(r[f|0]<<8|r[f+1|0])){break b}q[d+8>>2]=a;q[d+12>>2]=b;g=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=g;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(e);o[d+44|0]=0;q[d+52>>2]=b;e=q[g+32>>2];if((e|0)==-1){e=lc(g)}o[d+60|0]=1;q[d+56>>2]=e;e=q[b+12>>2];q[d+28>>2]=e;g=e;e=q[b+16>>2];q[d+32>>2]=g+e;if((e|0)<=-1){break a}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;e:{if(r[c+68|0]!=1){break e}q[d+68>>2]=0;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!g){break e}c=f+8|0;b=0;while(1){e=c;f=d+8|0;if(t[a+104>>2]<=b>>>0){a=271312}else{a=q[a+108>>2]+(b<<2)|0}Qx(e,f,q[a>>2]);f:{if(r[q[d+20>>2]+68|0]!=1){break f}b=b+1|0;if((g|0)==(b|0)){break f}a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+c|0;a=q[d+8>>2];continue}break}b=q[d+52>>2]}Pa(b)}Da=d+80|0;return}I(228416,228441,195,228458);F()}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,p=0;d=q[b+4>>2];b=o[c+2|0];if((b|0)<=-1){b=q[a+24>>2];a:{if(!b){e=q[d+80>>2];b=0;break a}e=q[d+80>>2];g=b+ -1|0;h=q[(((g&63)<<2)+a|0)+28>>2];if((e|0)!=(h|0)){break a}q[a+24>>2]=g;b=g;e=h}q[a+24>>2]=b+1;q[(((b&63)<<2)+a|0)+28>>2]=e;b=r[c+2|0]}b:{if(!(b&32)){break b}h=q[a+24>>2];if(!h|t[d+72>>2]>=t[d+76>>2]){break b}p=q[d+80>>2];g=q[a+12>>2]+(r[c+4|0]<<10|r[c+5|0]<<2)|0;while(1){c:{if(!h){q[a+24>>2]=0;break c}h=h+ -1|0;n=((h&63)<<2)+a|0;rd(d,q[n+28>>2]);c=q[a+4>>2];l=q[c+20>>2];if(l>>>0>g>>>0){break c}e=q[c+24>>2];if(e>>>0>>0|e-g>>>0<4){break c}i=q[c+28>>2];q[c+28>>2]=i+ -1;if((i|0)<1){break c}j=q[d+88>>2];b=q[d+72>>2];f=r[g|0];k=r[g+3|0]|(r[g+1|0]<<16|f<<24|r[g+2|0]<<8);f=q[j+w(b,20)>>2]+(f&32?k|-1073741824:k&1073741823)|0;f=(f|0)<0?271312:q[a+16>>2]+(f<<1)|0;if(l>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -2;if((i|0)<2){break c}m=(r[f+1|0]|r[f|0]<<8)+m|0;if(k>>>0>=1073741824){f=(m|0)<0?271312:q[a+20>>2]+(m<<1)|0;if(l>>>0>f>>>0|e>>>0>>0|e-f>>>0<2){break c}q[c+28>>2]=i+ -3;if((i|0)<3){break c}e=r[f|0];i=r[f+1|0];d:{e:{if(q[d+92>>2]==(j|0)){c=b;if((c|0)==q[d+80>>2]){break e}}if(!Va(d,1,1)){break d}c=q[d+88>>2]+w(q[d+72>>2],20)|0;f=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=f;q[b+16>>2]=q[c+16>>2];f=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=f;b=q[d+72>>2];c=q[d+80>>2];j=q[d+92>>2]}q[w(c,20)+j>>2]=i|e<<8;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;i=q[(((c&63)<<2)+a|0)+28>>2]+1|0;if(c>>>0>h>>>0){while(1){q[a+24>>2]=c;rd(d,q[(((c&63)<<2)+a|0)+28>>2]);e=q[d+92>>2];f:{g:{if((e|0)==q[d+88>>2]){b=q[d+80>>2];c=b;if((c|0)==q[d+72>>2]){break g}}if(!Va(d,1,1)){break f}c=q[d+88>>2]+w(q[d+72>>2],20)|0;e=q[c+4>>2];b=q[d+92>>2]+w(q[d+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=e;q[b+16>>2]=q[c+16>>2];e=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=e;b=q[d+72>>2];c=q[d+80>>2];e=q[d+92>>2]}q[w(c,20)+e>>2]=65535;q[d+80>>2]=c+1;q[d+72>>2]=b+1}c=q[a+24>>2]+ -1|0;if(c>>>0>h>>>0){continue}break}}rd(d,i);gf(d,q[n+28>>2],q[d+80>>2])}g=g+4|0;if((k|0)>-1){continue}}break}rd(d,p)}}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break a}b:{c:{switch(h-1|0){default:c=q[b+32>>2];if(c>>>0>2147483646){c=0;break a}if(!c){break b}a=a+2|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)>=2){break b}break a;case 1:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<6){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 3:q[i+12>>2]=a;c=vx(a+2|0,b,i+12|0);break a;case 5:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<4){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 7:if(f>>>0<6){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 0:case 2:case 4:case 6:case 8:break a;case 9:break c}}if(f>>>0<8){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>4){c=0;break a}c=w(c,r[a+7|0]|r[a+6|0]<<8);if((c|0)==-1){c=0;break a}if(!c){break b}a=a+8|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)<3){break a}}c=1}Da=i+16|0;return c}function Tw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}f=e-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){c=0;break a}h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break a}b:{c:{switch(h-1|0){default:c=q[b+32>>2];if(c>>>0>1073741822){c=0;break a}if(!c){break b}a=a+2|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -2;c=0;if((d|0)>=2){break b}break a;case 1:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<8){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 3:q[i+12>>2]=a;c=Sw(a+2|0,b,i+12|0);break a;case 5:c=a+2|0;if(g>>>0>c>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-c>>>0<10){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0<6){c=0;break a}f=r[a+5|0]|r[a+4|0]<<8;if(4294967295/(c>>>0)>>>0<=f>>>0){c=0;break a}c=w(c,f);if(!c){break b}a=a+12|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 7:if(f>>>0<6){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)>=3){break b}break a;case 0:case 2:case 4:case 6:case 8:break a;case 9:break c}}if(f>>>0<8){c=0;break a}q[b+12>>2]=d+ -2;if((d|0)<2){c=0;break a}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>4){c=0;break a}c=w(c,r[a+7|0]|r[a+6|0]<<8);if((c|0)==-1){c=0;break a}if(!c){break b}a=a+8|0;if(g>>>0>a>>>0){c=0;break a}if(e>>>0>>0){c=0;break a}if(e-a>>>0>>0){c=0;break a}q[b+12>>2]=d+ -3;c=0;if((d|0)<3){break a}}c=1}Da=i+16|0;return c}function qR(a,b,c,d){a=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=Da-48|0;Da=e;a:{b:{c:{d:{e:{f:{if(!Ta(b,289380)){f=6;if(d){break a}c=q[c>>2];b=0;d=282296;while(1){if(q[d+16>>2]==10?(c|0)==q[d+8>>2]:0){break f}b=b+1|0;d=q[(b<<2)+284352>>2];if((b|0)!=86){continue}break}break a}if(!Ta(b,289396)){f=6;if(d){break a}q[a+16>>2]=q[c>>2];break c}if(!Ta(b,289411)){f=6;if(d){break a}b=q[c>>2];if(!b){f=35;break a}d=q[b+116>>2];q[e+16>>2]=d;if(!d){f=Ki(b,e+16|0,a);if(f){break a}d=q[e+16>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[d+20>>2]=q[c+4>>2];break c}if(!Ta(b,289429)){if(d){b=Sb(c,0,10);if(b>>>0>1){f=6;break a}if(b-1){o[a+20|0]=0;break a}o[a+20|0]=1;break c}o[a+20|0]=r[c|0];break c}g:{if(!Ta(b,289437)){if(d){b=Sb(c,e+12|0,10);q[e+16>>2]=b;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+20>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)){break b}if(r[c|0]==44){break g}break b}b=q[c>>2];break d}f=12;if(Ta(b,289458)){break a}if(d){f=0;l=a,m=(Sb(c,0,10)|0)!=0,o[l+21|0]=m;break a}o[a+21|0]=r[c|0];break c}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+24>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+28>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+32>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+36>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+40>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}d=c+1|0;l=e,m=Sb(d,e+12|0,10),q[l+44>>2]=m;f=q[e+12>>2];if((r[f|0]|32)==32){break e}break b}q[a+12>>2]=b;Da=e+48|0;return 0}c=e+16|0;if((d|0)!=(f|0)){break d}f=6;break a}f=6;d=q[c+8>>2];g=q[c+16>>2];if((d|0)>(g|0)|(b|0)>(d|0)){break a}h=q[c+28>>2];i=q[c+24>>2];j=q[c+20>>2];k=q[c+12>>2];c=q[c+4>>2];if((h|(i|(j|(k|(d|(c|b))|g))))<0|(h|0)>500|((j|0)>500|(k|0)>500)){break a}if((c|0)>500|(g|0)>(i|0)){break a}q[a+48>>2]=i;q[a+36>>2]=k;q[a+24>>2]=b;q[a+52>>2]=h;q[a+44>>2]=j;q[a+40>>2]=g;q[a+32>>2]=d;q[a+28>>2]=c}f=0;break a}f=6}Da=e+48|0;return f|0}function VF(a,b,c){a=a|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,o=0,s=0,t=0,u=0,v=0,w=0;d=Da-48|0;Da=d;a:{if(!a){g=20;break a}if(!b){g=6;break a}if(p[a>>1]<1){break a}h=q[b+20>>2];i=q[b+16>>2];b:{while(1){m=p[q[a+12>>2]+(o<<1)>>1];if((m|0)<0){g=20;break a}e=q[a+4>>2];f=e+(s<<3)|0;j=q[f+4>>2];k=(q[f>>2]<>2]=k;t=(j<>2]=t;l=e+(m<<3)|0;e=q[l>>2];w=q[l+4>>2];g=q[d+36>>2];q[d+40>>2]=q[d+32>>2];q[d+44>>2]=g;u=q[a+8>>2];j=u+s|0;v=r[j|0]&3;c:{if((v|0)==3){break c}g=20;d:{switch(v-1|0){case 1:break a;case 0:break c;default:break d}}g=(w<>2]=g;q[d+32>>2]=e;l=l+ -8|0;break e}q[d+36>>2]=(g+t|0)/2;q[d+32>>2]=(e+k|0)/2}j=j+ -1|0;f=f+ -8|0}e=n[q[b>>2]](d+32|0,c)|0;if(e){break b}f:{g:{if(f>>>0>>0){while(1){h:{i:{e=r[j+1|0]&3;if(e>>>0<=1){j=j+1|0;g=f+8|0;if(!(e-1)){q[d+24>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>2]](d+24|0,c)|0;if(g){break a}break h}q[d+40>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>>0>>0){while(1){f=r[j+1|0];e=(q[g+8>>2]<>2]=e;k=(q[g+12>>2]<>2]=k;j=j+1|0;g=g+8|0;j:{f=f&3;k:{if(f){if((f|0)!=1){k=7;e=0;break i}e=n[q[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;break h}q[d+16>>2]=(e+q[d+40>>2]|0)/2;q[d+20>>2]=(k+q[d+44>>2]|0)/2;e=n[q[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}k=10;break i}f=q[d+28>>2];q[d+40>>2]=q[d+24>>2];q[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=n[q[b+8>>2]](d+40|0,d+32|0,c)|0;break g}k=7;e=0;if((r[j+2|0]&3)!=2|f+16>>>0>l>>>0){break i}q[d+24>>2]=(q[f+8>>2]<>2]=(q[f+12>>2]<>2]=(q[f+16>>2]<>2]=(q[f+20>>2]<>>0<=l>>>0){q[d+8>>2]=(q[f+24>>2]<>2]=(q[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){k=10;break i}j=j+3|0;f=g;break h}e=n[q[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break g}if(!k){break f}g=20;if((k|0)==7){break a}break b}if(f>>>0>>0){continue}break}}e=n[q[b+4>>2]](d+32|0,c)|0}if(e){break b}s=m+1|0}o=o+1|0;if((o|0)>1]){continue}break}e=0}g=e}Da=d+48|0;return g|0}function yO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{if(!a){if(q[b>>2]){break c}a=q[b+8>>2];if(!a){break c}d=q[a+ -8>>2];if(!d){break b}b=a+ -4|0;c=q[b>>2];if(!c){break b}e=b;b=c+ -1|0;q[e>>2]=b;if(b){break c}e=a+ -32|0;b=q[e>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-d}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(e);return 1}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+44|0]|r[b+45|0]<<8|(r[b+46|0]<<16|r[b+47|0]<<24);d=r[b+40|0]|r[b+41|0]<<8|(r[b+42|0]<<16|r[b+43|0]<<24);o[a+40|0]=d;o[a+41|0]=d>>>8;o[a+42|0]=d>>>16;o[a+43|0]=d>>>24;o[a+44|0]=c;o[a+45|0]=c>>>8;o[a+46|0]=c>>>16;o[a+47|0]=c>>>24;c=r[b+36|0]|r[b+37|0]<<8|(r[b+38|0]<<16|r[b+39|0]<<24);d=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[a+32|0]=d;o[a+33|0]=d>>>8;o[a+34|0]=d>>>16;o[a+35|0]=d>>>24;o[a+36|0]=c;o[a+37|0]=c>>>8;o[a+38|0]=c>>>16;o[a+39|0]=c>>>24;c=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);d=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=d;o[a+25|0]=d>>>8;o[a+26|0]=d>>>16;o[a+27|0]=d>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;c=q[b>>2]+ -1|0;if(c>>>0>1){break c}if(c-1){e=a;a=eb(q[b+8>>2]);q[e+8>>2]=a;return(a|0)!=0|0}a=q[b+8>>2];if(!a){break c}if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return 1}I(355429,355403,453,355477);F()}I(355429,355403,444,355459);F()}function yk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=Da-16|0;Da=h;a:{b:{if((b|0)==(c|0)){q[d>>2]=0;break b}q[h+12>>2]=b;q[h+8>>2]=h+7;j=h+8|0;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;c:{i=(q[h+8>>2]==(h+7|0)?-1:o[h+7|0])+ -9|0;d:{if(i>>>0>23|!(1<>2]+b|0;q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;i=(q[h+8>>2]==(h+7|0)?-1:o[h+7|0])+ -9|0;if(i>>>0>23){break e}if(1<>2]=0;break b}q[d>>2]=b;f:{while(1){g:{q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;h:{i=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];k=i+1|0;if(k>>>0>33){if((i|0)!=61){break h}q[e>>2]=b;break f}i:{switch(k-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12: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:break h;case 9:case 10:case 13:case 32:break i;default:break d}}q[e>>2]=b;while(1){b=q[a+64>>2]+b|0;q[h+12>>2]=b;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];i=e+ -9|0;if(i>>>0>23){break g}if(1<>2]+b|0;continue}break}if((e|0)!=61){break d}}if(q[d>>2]!=(b|0)){break c}}q[g>>2]=b;a=0;break a}d=q[a+64>>2]+b|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;b=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];while(1){j:{k:{e=b+ -9|0;if(e>>>0<=30){if(1<>2]=d;a=0;break a}d=q[a+64>>2]+d|0;q[f>>2]=d;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];if((e|0)!=(b|0)){while(1){if(!(e+ -48>>>0<10|(e&-33)+ -65>>>0<26|((e|0)==95|e+ -45>>>0<2))){q[g>>2]=d;a=0;break a}d=q[a+64>>2]+d|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;e=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];if((e|0)!=(b|0)){continue}break}}q[g>>2]=q[a+64>>2]+d;break b}d=q[a+64>>2]+d|0;q[h+12>>2]=d;q[h+8>>2]=h+7;n[q[a+56>>2]](a,h+12|0,c,h+8|0,j)|0;b=q[h+8>>2]==(h+7|0)?-1:o[h+7|0];continue}}a=1}Da=h+16|0;return a}function ax(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=q[a+4>>2];if(q[c+4>>2]){q[c+80>>2]=0;o[c+69|0]=1;o[c+70|0]=0;q[c+92>>2]=q[c+88>>2]}c=q[a+4>>2];q[c+72>>2]=0;a:{if(!r[c+68|0]){break a}while(1){d=q[a>>2];l=(r[d+7|0]|r[d+6|0]<<8)+d|0;m=d+(r[d+5|0]|r[d+4|0]<<8)|0;j=q[c+76>>2];i=e>>>0>=j>>>0;h=0;b:{if(i){break b}g=q[q[c+88>>2]+w(e,20)>>2];h=2;if((g|0)==65535){break b}f=g;g=d+(r[d+3|0]|r[d+2|0]<<8)|0;f=f-(r[g|0]<<8|r[g+1|0])|0;h=1;if(f>>>0>=(r[g+3|0]|r[g+2|0]<<8)>>>0){break b}h=r[(f+g|0)+4|0]}f=h;d=r[d+1|0]|r[d|0]<<8;d=l+(r[m+((d>>>0>f>>>0?f:1)+w(d,k)|0)|0]<<2)|0;c:{if(!k){break c}f=q[(r[c+69|0]?80:72)+c>>2];if(i|!f){break c}i=r[d+3|0];g=r[d+2|0]<<8;if((g|i)==16384?!(i|g&16128|(r[d+1|0]|r[d|0]<<8)):0){break c}Zc(c,f+ -1|0,e+1|0);c=q[a+4>>2];j=q[c+76>>2];e=q[c+72>>2]}i=e+2|0;d:{if(i>>>0>j>>>0){break d}f=q[a>>2];g=r[f+1|0]|r[f|0]<<8;f=(f+(r[f+7|0]|r[f+6|0]<<8)|0)+(r[f+(r[f+5|0]|r[f+4|0]<<8)+(!g+w(g,k))|0]<<2)|0;if(!(r[f+2|0]<<8&16128|r[f+3|0])){break d}rb(c,e,i)}Zw(b,a,d);e=q[a>>2];k=((r[d+1|0]|r[d|0]<<8)-(r[e+4|0]<<8|r[e+5|0])|0)/(r[e+1|0]|r[e|0]<<8)|0;c=q[a+4>>2];e=q[c+72>>2];if((e|0)!=q[c+76>>2]){e:{if(r[d+2|0]&64){d=q[c+40>>2];q[c+40>>2]=d+ -1;if((d|0)>0){break e}}if(r[c+69|0]){h=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=e;f=d;if(q[c+80>>2]==(d|0)){break f}}if(!Va(c,1,1)){break e}d=q[c+88>>2]+w(q[c+72>>2],20)|0;g=q[d+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;q[e>>2]=q[d>>2];q[e+4>>2]=g;q[e+16>>2]=q[d+16>>2];g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;e=q[c+72>>2];f=q[c+80>>2]}q[h+80>>2]=f+1}q[c+72>>2]=e+1}c=q[a+4>>2];if(!r[c+68|0]){break a}e=q[c+72>>2];continue}break}if(!r[c+68|0]){break a}while(1){b=q[c+72>>2];if(b>>>0>=t[c+76>>2]){break a}g:{if(r[c+69|0]){h:{if(q[c+92>>2]==q[c+88>>2]){e=b;if((e|0)==q[c+80>>2]){break h}}if(!Va(c,1,1)){break g}b=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[b+4>>2];e=q[c+92>>2]+w(q[c+80>>2],20)|0;d=e;q[d>>2]=q[b>>2];q[d+4>>2]=f;q[d+16>>2]=q[b+16>>2];d=q[b+12>>2];q[e+8>>2]=q[b+8>>2];q[e+12>>2]=d;b=q[c+72>>2];e=q[c+80>>2]}q[c+80>>2]=e+1}q[c+72>>2]=b+1}c=q[a+4>>2];if(r[c+68|0]){continue}break}}Kc(c)}function xc(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,p=0,s=0,t=0,u=0;e=a;a:{b:{while(1){c:{d:{f=o[e|0];if(f+ -9>>>0<4|(f|0)==32){break d}f=f&255;if((f|0)==13){break d}f=f+ -43|0;if(f>>>0>2){break a}switch(f-1|0){case 0:break a;case 1:break c;default:break b}}e=e+1|0;continue}break}u=1;e=e+1|0;break a}e=e+1|0}h=-1;d=-1;while(1){e:{k=o[e|0];f:{if(k+ -48>>>0>=10){if((h|0)!=-1|(k|0)!=46){break e}h=c;break f}d=(d|0)==-1?(k|0)!=48?c:d:d}c=c+1|0;e=e+1|0;continue}break}g=(d|0)==-1?c:d;d=g-(h>>>0>>0)|0;f=c-((h|0)!=-1)|0;f=f-d>>>0>18?d+18|0:f;m=0;g:{if(!f){break g}l=k&255;a=(h|0)==-1?c:h;k=a>>>0>>0;s=a-f|0;t=f-a|0;c=(g-c|0)+e|0;f=f-d|0;h:{i:{if((f|0)>9){a=0;d=f;while(1){j=r[c|0];g=c+1|0;j:{if((j|0)!=46){break j}j=r[c+1|0];g=c+2|0}c=g;a=(w(a,10)+(j<<24>>24)|0)+ -48|0;g=(d|0)>10;d=d+ -1|0;if(g){continue}break}d=9;break i}a=0;h=0;d=f;if((d|0)<1){break h}}h=0;while(1){j=r[c|0];g=c+1|0;k:{if((j|0)!=46){break k}j=r[c+1|0];g=c+2|0}c=g;h=(w(h,10)+(j<<24>>24)|0)+ -48|0;g=(d|0)>1;d=d+ -1|0;if(g){continue}break}}c=k?t:s;n=+(a|0)*1e9+ +(h|0);l:{m:{n:{if((l|32)!=101){g=k;a=e;break n}d=e+1|0;g=0;a=r[e+1|0]+ -43|0;o:{if(a>>>0>2){break o}p:{switch(a-1|0){case 1:d=e+2|0;g=1;break o;case 0:break o;default:break p}}d=e+2|0}s=(g|0)!=(k|0);q:{if(!s){a=0;if(c>>>0>511){break q}a=((511-c&65535)>>>0)/10|0;break q}a=(c>>>0)/10|0;a=((((c-w(a,10)|0)+511&65535)>>>0)/10|0)+a|0}t=a;h=0;j=o[d|0];l=j+ -48|0;r:{if(l>>>0>9){a=d;break r}e=0;while(1){if(!(h?0:e>>>0<=t>>>0)){while(1){c=o[d+1|0];a=d+1|0;d=a;if(c+ -48>>>0<=9){continue}break m}}h=e>>>0>(47-j>>>0)/10>>>0;j=o[d+1|0];p=w(e,10)+l|0;e=p;a=d+1|0;d=a;l=j+ -48|0;if(l>>>0<10){continue}break}}if(s){if(!(h?0:c>>>0>p>>>0)){c=p-c|0;break n}c=c-p|0}else{c=c+p|0}g=k}if(c>>>0<512){break l}}c=511;if(n==0){break l}q[160942]=68}e=3872;if(!(!g|c>>>0<309)){i=1;if(f){d=3872;e=f;while(1){i=e&1?i*v[d>>3]:i;d=d+8|0;e=e>>>1|0;if(e){continue}break}}n=n/i;e=3952;g=0;c=c-f|0}i=1;if(c){while(1){i=c&1?i*v[e>>3]:i;e=e+8|0;c=c>>>1|0;if(c){continue}break}}m=n/i;if(g){break g}m=n*i}i=m;if(b){q[b>>2]=a}return u?-i:i}function oA(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,p=0,t=0,u=0;g=Da-16|0;Da=g;u=g;a:{b:{c:{d:{e:{l=q[a+212>>2];f:{if(l>>>0<2){break f}h=a+8|0;j=q[a+172>>2];i=q[a+168>>2]+5056|0;p=q[a+20>>2];t=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=t;d=m;c=n;b=p;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;k=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|k<<24;q[a+8>>2]=d;k=40-c|0;c=e;if(k>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){j=j+3168|0;l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];k=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|k<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=j+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(j,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];j=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|j<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+200>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=p;q[a+16>>2]=t;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+236>>2]+1|0;break b}b=q[a+232>>2];break b}b=c+ -2|0}q[u+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+236>>2];q[a+236>>2]=b;q[a+232>>2]=c;c=q[a+252>>2]+(b<<2)|0;q[a+116>>2]=c;o[a+260|0]=r[c+q[a+180>>2]|0];a=1}Da=g+16|0;return a}function mx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;h=f+((r[c|0]<<8|r[c+1|0])<<2)|0;c:{if(!j){break c}e=q[a+4>>2];f=q[(r[e+69|0]?80:72)+e>>2];if(!f){break c}d=q[e+72>>2];if(d>>>0>=t[e+76>>2]){break c}c=r[h+3|0];if((c|r[h+2|0]<<8)==16384?!(r[h+1|0]|r[h|0]<<8|(t[b+4>>2]>2]?c&15:0)):0){break c}Zc(e,f+ -1|0,d+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}g=q[a>>2];c=r[g+12|0]|r[g+13|0]<<8|(r[g+14|0]<<16|r[g+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+g|0;c=r[g+8|0]|r[g+9|0]<<8|(r[g+10|0]<<16|r[g+11|0]<<24);i=g+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;if(!(r[(k+(r[c|0]<<10|r[c+1|0]<<2)|0)+3|0]&15)|t[b+4>>2]>=t[b+8>>2]){break d}rb(e,f,d)}Um(b,a,h);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}g=r[h|0];j=r[h+1|0];e:{if(r[h+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];h=q[e+92>>2]+w(q[e+80>>2],20)|0;q[h>>2]=q[f>>2];q[h+4>>2]=d;q[h+16>>2]=q[f+16>>2];d=q[f+12>>2];q[h+8>>2]=q[f+8>>2];q[h+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|g<<8;c=q[d+72>>2];continue}}}function CX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==9){d=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=d;d=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=d;b:{c:{i=q[a+32>>2];d:{if(!i){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+36>>2];if((i|0)!=1){break c}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break b}h=v[d+8>>3]}k=v[d>>3];v[c+88>>3]=v[c+88>>3]+h;v[c+80>>3]=k+v[c+80>>3];d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;e:{f:{g:{if(i>>>0<=2){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break g}e=q[a+36>>2];d=e+16|0;if((i|0)!=3){break f}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break e}h=v[e+24>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;h:{if(i>>>0<=4){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[a+36>>2]+32>>3]}v[c+48>>3]=v[c+48>>3]+h;d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;i:{if(i>>>0<=5){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break i}h=v[q[a+36>>2]+40>>3]}v[c+32>>3]=v[c+32>>3]+h;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;j:{k:{l:{if(i>>>0<=6){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break l}e=q[a+36>>2];d=e+48|0;if((i|0)!=7){break k}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break j}h=v[e+56>>3]}k=v[d>>3];v[c+24>>3]=v[c+24>>3]+h;v[c+16>>3]=k+v[c+16>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;m:{if(i>>>0<=8){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);h=+g();break m}h=v[q[a+36>>2]+64>>3]}v[c>>3]=v[c>>3]+h;d=q[a+140>>2];q[c+8>>2]=q[a+136>>2];q[c+12>>2]=d;pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}function kR(a,b,c){a=a|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,p=0,s=0,u=0,v=0,x=0,y=0,z=0;e=Da-16|0;Da=e;a:{if(q[a+4>>2]){break a}d=6;b:{if(q[a+12>>2]!=1){break b}l=(b|0)!=0;b=(w(l,36)+a|0)+16|0;d=q[c>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=q[c+4>>2];j=q[a>>2];d=_g(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e);if(d){break b}d=q[c+8>>2];f=(((d>>31)+d|0)+32768&-65536)>>16;d=q[c+12>>2];d=_g(b,f,(((d>>31)+d|0)+32768&-65536)>>16,j,e+4|0);if(d){break b}d=b;b=q[c+16>>2];f=(((b>>31)+b|0)+32768&-65536)>>16;b=q[c+20>>2];d=_g(d,f,(((b>>31)+b|0)+32768&-65536)>>16,j,e+8|0);if(d){break b}g=q[e+8>>2];h=q[e+4>>2];i=q[e>>2];f=w(l,36)+a|0;n=f;b=q[f+40>>2];c:{if(b){m=g>>3;p=h>>3;s=i>>3;u=128>>>(g&7)|0;v=128>>>(h&7)|0;x=128>>>(i&7)|0;c=q[f+48>>2];d=b;while(1){k=q[c>>2];if((r[q[c+8>>2]+s|0]&x?k>>>0>i>>>0:0)|(r[q[c+8>>2]+p|0]&v?k>>>0>h>>>0:0)|(r[q[c+8>>2]+m|0]&u?k>>>0>g>>>0:0)){break c}c=c+16|0;d=d+ -1|0;if(d){continue}break}}k=b+1|0;c=q[f+44>>2];d:{if(k>>>0<=c>>>0){c=q[(w(l,36)+a|0)+48>>2];break d}q[e+12>>2]=0;m=b+8&-8;d=w(l,36)+a|0;c=Oa(j,16,c,m,q[d+48>>2],e+12|0);q[d+48>>2]=c;d=q[e+12>>2];if(d){break b}q[f+44>>2]=m}c=(b<<4)+c|0;q[c+12>>2]=0;q[c>>2]=0;q[n+40>>2]=k}if((i|0)>=0){if(t[c>>2]<=i>>>0){b=q[c+4>>2];q[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;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=i+1}b=q[c+8>>2]+(i>>>3|0)|0;o[b|0]=r[b|0]|128>>>(i&7)}if((h|0)>=0){if(t[c>>2]<=h>>>0){b=q[c+4>>2];q[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;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=h+1}b=q[c+8>>2]+(h>>>3|0)|0;o[b|0]=r[b|0]|128>>>(h&7)}if((g|0)<0){break a}if(t[c>>2]<=g>>>0){b=q[c+4>>2];q[e+12>>2]=0;d=g+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;y=c,z=Oa(j,1,f,b,q[c+8>>2],e+12|0),q[y+8>>2]=z;d=q[e+12>>2];if(d){break b}q[c+4>>2]=b<<3}q[c>>2]=g+1}a=q[c+8>>2]+(g>>>3|0)|0;o[a|0]=r[a|0]|128>>>(g&7);break a}q[a+4>>2]=d}Da=e+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,o=0,p=0,t=0;g=Da-16|0;Da=g;t=g;a:{b:{c:{d:{e:{l=q[a+208>>2];f:{if(l>>>0<2){break f}h=a+8|0;j=q[a+172>>2];i=q[a+168>>2]+2528|0;o=q[a+20>>2];p=q[a+16>>2];m=q[a+8>>2];d=m;g:{h:{n=q[a+12>>2];e=n;if(32-e>>>0<=14){f=p;d=m;c=n;b=o;while(1){if(!b){break h}d=d>>>8|0;q[a+8>>2]=d;k=r[f|0];b=b+ -1|0;q[a+20>>2]=b;e=c+ -8|0;q[a+12>>2]=e;f=f+1|0;q[a+16>>2]=f;d=d|k<<24;q[a+8>>2]=d;k=40-c|0;c=e;if(k>>>0<15){continue}break}}f=a;d=d>>>e|0;b=i+((d&255)<<2)|0;c=r[b|0];if(c>>>0>=9){e=e+8|0;q[a+12>>2]=e;b=(s[b+2>>1]+(q[(c<<2)+153520>>2]&d>>>8&127)<<2)+b|0;c=r[b|0]}q[f+12>>2]=(c&255)+e;q[g+8>>2]=s[b+2>>1];break g}if(!ud(i,h,g+8|0)){break f}}i=g;i:{j:{k:{if(!q[a+556>>2]){j=j+1584|0;l:{c=q[a+12>>2];m:{if(32-c>>>0>=15){d=q[h>>2];break m}b=q[a+20>>2];f=c;while(1){if(!b){break l}e=q[a+8>>2]>>>8|0;q[a+8>>2]=e;d=q[a+16>>2];k=r[d|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=d+1;d=e|k<<24;q[a+8>>2]=d;e=40-f|0;f=c;if(e>>>0<15){continue}break}}e=a;d=d>>>c|0;b=j+((d&255)<<2)|0;f=r[b|0];if(f>>>0>=9){c=c+8|0;q[a+12>>2]=c;b=(s[b+2>>1]+(q[(f<<2)+153520>>2]&d>>>8&127)<<2)+b|0;f=r[b|0]}q[e+12>>2]=(f&255)+c;e=s[b+2>>1];break k}if(!ud(j,h,g+12|0)){break i}e=q[g+12>>2];break j}e=q[a+188>>2]}q[i+12>>2]=e}n:{c=q[a+12>>2];i=r[(e<<2)+153442|0];o:{if(32-c>>>0>=i>>>0){d=q[h>>2];break o}b=q[a+20>>2];f=c;while(1){if(!b){break n}d=q[a+8>>2]>>>8|0;q[a+8>>2]=d;h=q[a+16>>2];j=r[h|0];b=b+ -1|0;q[a+20>>2]=b;c=f+ -8|0;q[a+12>>2]=c;q[a+16>>2]=h+1;d=d|j<<24;q[a+8>>2]=d;h=40-f|0;f=c;if(h>>>0>>0){continue}break}}q[a+556>>2]=0;q[a+12>>2]=c+i;q[a+196>>2]=s[(e<<2)+153440>>1]+(q[(i<<2)+153552>>2]&d>>>c);c=q[g+8>>2];if(c>>>0>1){break c}if(c-1){break d}break e}q[a+556>>2]=1;q[a+188>>2]=e}q[a+20>>2]=o;q[a+16>>2]=p;q[a+8>>2]=m;q[a+556>>2]=0;q[a+12>>2]=n}a=0;break a}b=q[a+228>>2]+1|0;break b}b=q[a+224>>2];break b}b=c+ -2|0}q[t+8>>2]=b;if(b>>>0>=l>>>0){b=b-l|0;q[g+8>>2]=b}c=q[a+228>>2];q[a+228>>2]=b;q[a+224>>2]=c;q[a+104>>2]=q[q[a+136>>2]+(b<<2)>>2];a=1}Da=g+16|0;return a}function qn(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,r=0,u=0,v=0,w=0;d=Da-16|0;Da=d;c=q[a+104>>2];b=n[q[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}g=q[c+8>>2];k=q[d+4>>2];e=q[a+476>>2];b=Ib(c,32);if(b){break a}b:{c:{d:{e:{f:{if((e|0)!=151552){b=3;if((e|0)!=131072){break b}e=q[c+28>>2];h=ib(c,d+8|0);b=q[d+8>>2];if(b){break b}if(h>>>0>s[a+264>>1]){b=3;q[d+8>>2]=3;break b}b=0;l=Oa(e,2,0,h,0,d+8|0);if(q[d+8>>2]){break c}f=lb(c,h<<1);q[d+8>>2]=f;if(f){break c}if(!h){break f}while(1){v=l+(b<<1)|0,w=ob(c),p[v>>1]=w;b=b+1|0;if((h|0)!=(b|0)){continue}break}jb(c);f=0;b=0;while(1){i=s[l+(b<<1)>>1];if(i>>>0>=258){i=i+ -257|0;f=(i|0)>(f&65535)?i:f}b=b+1|0;if((h|0)!=(b|0)){continue}break}break d}h=q[c+28>>2];e=ib(c,d+12|0);b=q[d+12>>2];if(b){break b}if(!((e+ -1&65535)>>>0>1]?e>>>0<=258:0)){b=3;q[d+12>>2]=3;break b}b=0;f=Oa(h,1,0,e,0,d+12|0);g:{if(q[d+12>>2]){break g}c=Wb(c,f,e);q[d+12>>2]=c;if(c){break g}while(1){if(o[b+f|0]+b>>>0<=e>>>0){b=b+1|0;if((e|0)!=(b|0)){continue}break e}break}q[d+12>>2]=3}if(f){n[q[h+8>>2]](h,f)}b=q[d+12>>2];break b}jb(c);f=0;break d}q[a+640>>2]=f;p[a+636>>1]=e;b=0;break b}i=0;m=f&65535;b=Oa(e,4,0,m,0,d+8|0);if(q[d+8>>2]){break c}h:{i:{if(!m){break i}k=g+k|0;while(1){if(t[c+8>>2]>=k>>>0){g=f&65535;c=i&65535;if(g>>>0<=c>>>0){break i}while(1){i=Oa(e,1,0,1,0,d+8|0);q[(c<<2)+b>>2]=i;if(q[d+8>>2]){break h}o[i|0]=0;c=c+1|0;if((g|0)!=(c&65535)){continue}break}break i}g=Ob(c,d+8|0);if(q[d+8>>2]){break h}r=(i<<2)+b|0;u=r;j=e;g=g&255;if(!(t[c+8>>2]<=k-g>>>0?k>>>0>=g>>>0:0)){g=k-q[c+8>>2]|0;g=(g|0)>0?g:0}j=Oa(j,1,0,g+1|0,0,d+8|0);q[u>>2]=j;if(q[d+8>>2]){break h}j=Wb(c,j,g);q[d+8>>2]=j;if(j){break h}o[q[r>>2]+g|0]=0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}q[a+644>>2]=b;q[a+640>>2]=l;p[a+638>>1]=f;p[a+636>>1]=h;b=0;break b}f=((f&65535)>>>0>1?f:1)&65535;c=0;while(1){h=(c<<2)+b|0;g=q[h>>2];if(g){n[q[e+8>>2]](e,g)}q[h>>2]=0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b){n[q[e+8>>2]](e,b)}if(l){n[q[e+8>>2]](e,l)}b=q[d+8>>2]}o[a+632|0]=1}Da=d+16|0;return b}function Mm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}b:{c:{if(c){while(1){a=r[g+5|0]|r[g+4|0]<<8;k=a?a+g|0:271312;a=r[k|0]<<8|r[k+1|0];if(a){i=(l<<2)+d|0;m=q[i>>2];a=a+ -1|0;b=0;while(1){j=a+b>>>1|0;h=w(j,6)+k|0;h=r[h+2|0]|r[h+3|0]<<8|(r[h+4|0]<<16|r[h+5|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);d:{if(h>>>0>m>>>0){a=j+ -1|0;break d}if((h|0)==(m|0)){break c}b=j+1|0}if((b|0)<=(a|0)){continue}break}}if(e){q[e>>2]=65535}l=l+1|0;if((l|0)!=(c|0)){continue}break}}e:{c=r[g+5|0]|r[g+4|0]<<8;h=c?g+c|0:271312;a=r[h|0]<<8|r[h+1|0];if(a){a=a+ -1|0;b=0;while(1){i=a+b>>>1|0;d=h+w(i,6)|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if(d>>>0>=1145457749){a=i+ -1|0;break f}if((d|0)==1145457748){break e}b=i+1|0}if((b|0)<=(a|0)){continue}break}}g:{if(e){q[e>>2]=65535;c=r[g+5|0]|r[g+4|0]<<8}h=c?c+g|0:271312;a=r[h|0]<<8|r[h+1|0];if(a){a=a+ -1|0;b=0;while(1){i=a+b>>>1|0;d=h+w(i,6)|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);h:{if(d>>>0>=1684434037){a=i+ -1|0;break h}if((d|0)==1684434036){break g}b=i+1|0}if((b|0)<=(a|0)){continue}break}}i:{if(e){q[e>>2]=65535;c=r[g+5|0]|r[g+4|0]<<8}d=c?c+g|0:271312;a=r[d|0]<<8|r[d+1|0];if(a){a=a+ -1|0;b=0;while(1){g=a+b>>>1|0;c=d+w(g,6)|0;c=r[c+2|0]|r[c+3|0]<<8|(r[c+4|0]<<16|r[c+5|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);j:{if(c>>>0>=1818326127){a=g+ -1|0;break j}if((c|0)==1818326126){break i}b=g+1|0}if((b|0)<=(a|0)){continue}break}}if(e){q[e>>2]=65535}b=0;if(!f){break b}q[f>>2]=65535;return 0}if(e){q[e>>2]=g}b=0;if(!f){break b}q[f>>2]=1818326126;break b}if(e){q[e>>2]=i}b=0;if(!f){break b}q[f>>2]=1684434036;return 0}if(e){q[e>>2]=i}b=0;if(!f){break b}q[f>>2]=1145457748;return 0}if(e){q[e>>2]=j}b=1;if(!f){break b}q[f>>2]=q[i>>2];return 1}return b}function Fw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;g=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!j){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]|((r[g+3|0]|r[g+2|0]<<8)==16384?!(r[g+1|0]|r[g|0]<<8|(r[g+5|0]|r[g+4|0]<<8)!=65535):0)){break c}Zc(f,d+ -1|0,c+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}h=q[a>>2];c=r[h+12|0]|r[h+13|0]<<8|(r[h+14|0]<<16|r[h+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+h|0;c=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);i=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;c=k+w(r[c|0]<<8|r[c+1|0],6)|0;if((r[c+4|0]<<8|r[c+5|0])==65535){break d}rb(e,f,d)}yw(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}h=r[g|0];j=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];g=q[e+92>>2]+w(q[e+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=d;q[g+16>>2]=q[f+16>>2];d=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|h<<8;c=q[d+72>>2];continue}}}function Cw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){e=0;b:{if(c>>>0>=t[d+76>>2]){break b}c=q[q[d+88>>2]+w(c,20)>>2];e=2;if((c|0)==65535){break b}f=q[a>>2];d=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);c=Sc((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+f|0,c,q[a+8>>2]);e=1;if(!c){break b}e=r[c+1|0]|r[c|0]<<8}d=q[a>>2];c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+d|0;c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=d+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+((c>>>0>e>>>0?e:1)+w(c,j)<<1)|0;g=f+w(r[c|0]<<8|r[c+1|0],6)|0;c:{if(!j){break c}f=q[a+4>>2];d=q[(r[f+69|0]?80:72)+f>>2];if(!d){break c}c=q[f+72>>2];if(c>>>0>=t[f+76>>2]|((r[g+3|0]|r[g+2|0]<<8)==16384?!(r[g+1|0]|r[g|0]<<8|(r[g+5|0]|r[g+4|0]<<8)!=65535):0)){break c}Zc(f,d+ -1|0,c+1|0)}e=q[a+4>>2];f=q[e+72>>2];d=f+2|0;d:{if(d>>>0>t[e+76>>2]){break d}h=q[a>>2];c=r[h+12|0]|r[h+13|0]<<8|(r[h+14|0]<<16|r[h+15|0]<<24);k=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+h|0;c=r[h+8|0]|r[h+9|0]<<8|(r[h+10|0]<<16|r[h+11|0]<<24);i=h+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;c=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=i+(w(c,j)+!c<<1)|0;c=k+w(r[c|0]<<8|r[c+1|0],6)|0;if((r[c+4|0]<<8|r[c+5|0])==65535){break d}rb(e,f,d)}Bw(b,a,g);e=q[a+4>>2];f=q[e+72>>2];if((f|0)==q[e+76>>2]){break a}h=r[g|0];j=r[g+1|0];e:{if(r[g+2|0]&64){c=q[e+40>>2];q[e+40>>2]=c+ -1;if((c|0)>0){break e}}if(r[e+69|0]){c=e;i=c;f:{if(q[c+92>>2]==q[c+88>>2]){d=f;c=d;if(q[e+80>>2]==(d|0)){break f}}if(!Va(e,1,1)){break e}f=q[e+88>>2]+w(q[e+72>>2],20)|0;d=q[f+4>>2];g=q[e+92>>2]+w(q[e+80>>2],20)|0;q[g>>2]=q[f>>2];q[g+4>>2]=d;q[g+16>>2]=q[f+16>>2];d=q[f+12>>2];q[g+8>>2]=q[f+8>>2];q[g+12>>2]=d;f=q[e+72>>2];c=q[e+80>>2]}q[i+80>>2]=c+1}q[e+72>>2]=f+1}d=q[a+4>>2];if(!r[d+68|0]){break a}j=j|h<<8;c=q[d+72>>2];continue}}}function rX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0;j=q[a+24>>2];if(j>>>0>=2){u=q[a+32>>2];h=q[67829];w=h;m=q[67828];f(0,m|0);f(1,h|0);x=+g();k=2;while(1){h=k;l=v[a+136>>3];c=v[a+128>>3];if(j>>>0<=i>>>0){o[a+20|0]=1}e=c;a:{if(u>>>0<=i>>>0){q[160744]=m;q[160745]=w;d=x;break a}d=v[q[a+36>>2]+(i<<3)>>3]}d=e+d;b:{if(r[b|0]){break b}o[b|0]=1;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break b}v[b+32>>3]=c}v[a+136>>3]=l;v[a+128>>3]=d;e=v[b+8>>3];c=d;if(!!(e>c)){v[b+8>>3]=d;e=d;c=v[a+128>>3]}n=v[b+24>>3];if(!!(c>n)){v[b+24>>3]=c;n=c}p=v[b+16>>3];c=v[a+136>>3];if(!!(p>c)){v[b+16>>3]=c;p=c;c=v[a+136>>3]}s=v[b+32>>3];if(!!(c>s)){v[b+32>>3]=c;s=c}i=i|1;if(j>>>0<=i>>>0){o[a+20|0]=1}c:{if(u>>>0<=i>>>0){q[160744]=m;q[160745]=w;c=x;break c}c=v[q[a+36>>2]+(i<<3)>>3]}c=l+c;d:{if(r[b|0]){break d}o[b|0]=1;l=e;e=v[a+128>>3];if(!!(l>e)){v[b+8>>3]=e;e=v[a+128>>3]}if(!!(e>n)){v[b+24>>3]=e}e=v[a+136>>3];if(!!(p>e)){v[b+16>>3]=e;e=v[a+136>>3]}if(!(e>s)){break d}v[b+32>>3]=e}v[a+136>>3]=c;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}i=h;k=h+2|0;if(k>>>0<=j>>>0){continue}break}}e:{if(h>>>0>=j>>>0){break e}i=q[a+136>>2];k=q[a+140>>2];c=v[a+128>>3];d=c;f:{if(t[a+32>>2]<=h>>>0){h=q[67829];j=q[67828];q[160744]=j;q[160745]=h;f(0,j|0);f(1,h|0);e=+g();break f}e=v[q[a+36>>2]+(h<<3)>>3]}d=d+e;g:{if(r[b|0]){break g}o[b|0]=1;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}q[a+136>>2]=i;q[a+140>>2]=k;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break e}v[b+32>>3]=d}}function vC(a,b,c,d){a=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,u=0;e=Da-1552|0;Da=e;f=6;g=q[a+4>>2];a:{if(t[g+16>>2]<=c>>>0){break a}h=q[g+136>>2];q[a+164>>2]=q[b+16>>2];q[a+168>>2]=q[b+20>>2];d=d&1024?d|3:d;i=d&1;o[a+161|0]=i^1;f=!(d&3);o[a+160|0]=f;q[a+108>>2]=0;q[a+72>>2]=1869968492;f=n[q[q[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,193)|0;if(f){break a}j=d&1024;o[e+101|0]=j>>>10;f=$n(e+32|0,c);if(!f){k=r[a+161|0];l=r[a+160|0];c=e+1420|0;f=q[c+4>>2];q[e+24>>2]=q[c>>2];q[e+28>>2]=f;c=q[e+1416>>2];q[e+16>>2]=q[e+1412>>2];q[e+20>>2]=c;c=q[e+1432>>2];f=q[e+1428>>2];n[q[q[h+12>>2]+4>>2]](e+32|0);q[a+124>>2]=q[a+124>>2]&1|4;if(j){b=q[a+156>>2];d=q[e+64>>2];q[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=q[e+72>>2];q[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=q[e+28>>2];q[b+20>>2]=q[e+24>>2];q[b+24>>2]=a;a=q[e+20>>2];q[b+12>>2]=q[e+16>>2];q[b+16>>2]=a;q[b+32>>2]=c;q[b+28>>2]=f;o[b+8|0]=1;f=0;break a}h=q[e+72>>2];q[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=q[e+72>>2];q[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;o[q[a+156>>2]+8|0]=0;h=q[g+200>>2];g=q[g+208>>2];q[a+72>>2]=1869968492;g=g-h>>16;q[a+60>>2]=g;q[a+52>>2]=g;if(s[b+14>>1]<=23){q[a+124>>2]=q[a+124>>2]|256}g=a+108|0;b:{if(!(q[e+20>>2]|(q[e+16>>2]!=65536|q[e+28>>2]!=65536))){if(!q[e+24>>2]){break b}}ce(g,e+16|0);m=a,u=Ma(q[a+40>>2],q[e+16>>2]),q[m+40>>2]=u;m=a,u=Ma(q[a+52>>2],q[e+28>>2]),q[m+52>>2]=u}if(c|f){oc(g,f,c);q[a+40>>2]=f+q[a+40>>2];q[a+52>>2]=c+q[a+52>>2]}if(!(k?0:i)){c=q[a+168>>2];h=q[a+164>>2];b=q[e+48>>2];f=q[b+4>>2];c:{if(q[e+104>>2]?l:0){break c}b=p[b+2>>1];if((b|0)<1){break c}b=b&65535;while(1){m=f,u=Ma(q[f>>2],h),q[m>>2]=u;m=f,u=Ma(q[f+4>>2],c),q[m+4>>2]=u;f=f+8|0;i=(b|0)>1;b=b+ -1|0;if(i){continue}break}}m=a,u=Ma(q[a+40>>2],h),q[m+40>>2]=u;m=a,u=Ma(q[a+52>>2],c),q[m+52>>2]=u}Te(g,e);b=q[e>>2];q[a+24>>2]=q[e+8>>2]-b;c=q[e+4>>2];f=q[e+12>>2];q[a+36>>2]=f;q[a+32>>2]=b;q[a+28>>2]=f-c;if(d&16){Sf(a+24|0,q[a+52>>2])}f=0;break a}n[q[q[h+12>>2]+4>>2]](e+32|0)}Da=e+1552|0;return f|0}function ns(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,u=0;q[a+168>>2]=f;n=a+168|0;q[a+48>>2]=n;h=q[a+64>>2];q[a+192>>2]=q[a+60>>2];q[a+196>>2]=h;q[a+188>>2]=c;q[a+184>>2]=b;q[a+180>>2]=e;q[a+176>>2]=d;q[a+172>>2]=g;g=n;while(1){j=q[g+20>>2];k=q[g+12>>2];c=(j|0)>(k|0);e=q[g+28>>2];h=q[g+4>>2];b=(e|0)<=(h|0);a:{if(!(((c?j:k)|0)<=((b?h:e)|0)?((c?k:j)|0)>=((b?e:h)|0):0)){b=q[g+24>>2];q[g+48>>2]=b;q[g+52>>2]=e;c=e+j|0;q[g+44>>2]=c>>1;d=h+k|0;q[g+12>>2]=d>>1;e=q[g+8>>2];i=e+f|0;q[g+8>>2]=i>>1;l=b;b=q[g+16>>2];m=l+b|0;q[g+40>>2]=m>>1;l=c;c=j+k|0;j=l+c|0;q[g+36>>2]=j>>2;c=c+d|0;q[g+20>>2]=c>>2;b=b+e|0;d=b+i|0;q[g+16>>2]=d>>2;b=b+m|0;q[g+32>>2]=b>>2;q[g+28>>2]=c+j>>3;q[g+24>>2]=b+d>>3;q[a+48>>2]=g+24;break a}if((e|0)==(h|0)){q[a+48>>2]=g+ -24;break a}l=b?1:2;b=q[a+92>>2];if((l|0)!=(b|0)){c=q[a+4>>2];i=c+ -1|0;u=(e|0)>(h|0);d=(i+e&0-c)-e|0;b:{if(!u){break b}d=e&i}m=q[a+8>>2];if(b){b=q[a+36>>2];i=q[a+80>>2];c=b-q[i+8>>2]|0;if((c|0)<=-1){q[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}q[i+16>>2]=c>>2;if((d|0)>=(m|0)){c=s[i+12>>1];p[i+12>>1]=(c&8?16:32)|c}q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c;q[b+8>>2]=c;q[b+16>>2]=0;q[i+28>>2]=b;p[a+76>>1]=s[a+76>>1]+1}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}o[a+79|0]=0}d:{if(q[a+84>>2]){c=q[a+36>>2];break d}b=q[a+36>>2];q[a+84>>2]=b;q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}b=q[a+80>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=c;q[b+28>>2]=0;q[b+4>>2]=0;c=r[a+164|0];p[b+12>>1]=c;e:{if(!u){p[b+12>>1]=c|8;if((d|0)<(m|0)){break e}p[b+12>>1]=c|40;break e}if((d|0)<(m|0)){break e}p[b+12>>1]=c|16}if(!q[a+88>>2]){q[a+88>>2]=b}p[a+78>>1]=1;q[a+92>>2]=l}b=q[a+72>>2];c=q[a+68>>2];if((e|0)<=(h|0)){if(!Ii(a,3,647,c,b)){break a}return 1}q[g+28>>2]=0-e;q[g+20>>2]=0-j;q[g+12>>2]=0-k;q[g+4>>2]=0-h;d=r[a+78|0];b=Ii(a,3,647,0-b|0,0-c|0);if(!(r[a+78|0]|!d)){c=q[a+80>>2];q[c+20>>2]=0-q[c+20>>2]}q[g+4>>2]=0-q[g+4>>2];if(!b){break a}return 1}g=q[a+48>>2];if(g>>>0>=n>>>0){f=q[g>>2];continue}break}q[a+64>>2]=h;q[a+60>>2]=f;return 0}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,p=0,s=0,t=0,u=0,v=0,x=0;g=Da-16|0;Da=g;q[g+8>>2]=0;s=q[q[a>>2]+28>>2];q[b>>2]=0;a:{b:{if(q[a+28>>2]){break b}q[g+12>>2]=0;c:{f=q[a+12>>2];if(f){m=r[a+16|0];p=q[a>>2];i=q[p+28>>2];e=f+1|0;v=a,x=Oa(i,4,0,e,0,g+12|0),q[v+28>>2]=x;if(q[g+12>>2]){break c}f=Xa(p,q[a+8>>2]+q[a+4>>2]|0);q[g+12>>2]=f;if(f){break c}j=w(e,m);f=lb(p,j);q[g+12>>2]=f;if(f){break c}e=q[p+32>>2];k=j+e|0;h=q[a+28>>2];f=m+ -1|0;d:{if(f>>>0<=2){e:{switch(f-1|0){case 1:if((j|0)<=0){break d}while(1){q[h>>2]=r[e+2|0]|(r[e+1|0]<<8|r[e|0]<<16);h=h+4|0;e=e+3|0;if(e>>>0>>0){continue}break}break d;case 0:if((j|0)<=0){break d}while(1){q[h>>2]=r[e+1|0]|r[e|0]<<8;h=h+4|0;e=e+2|0;if(e>>>0>>0){continue}break}break d;default:break e}}if((j|0)<=0){break d}while(1){q[h>>2]=r[e|0];h=h+4|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((j|0)<=0){break d}while(1){f=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[h>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);h=h+4|0;e=e+4|0;if(e>>>0>>0){continue}break}}jb(p);if(q[g+12>>2]){break c}}q[g+8>>2]=0;break b}f=q[a+28>>2];if(f){n[q[i+8>>2]](i,f)}q[a+28>>2]=0;f=q[g+12>>2];q[g+8>>2]=f;if(f){break a}}e=q[a+12>>2];if(!e){break a}f=q[a+24>>2];t=Oa(s,4,0,e+1|0,0,g+8|0);if(q[g+8>>2]){break a}p=e+f|0;f:{g:{if(c){u=gb(s,p,g+8|0);if(q[g+8>>2]){break a}s=q[a+32>>2];q[t>>2]=u;k=q[a+12>>2];if(!k){break g}l=1;h=0;e=0;while(1){f=l<<2;i=q[f+q[a+28>>2]>>2]+ -1|0;h:{if(i>>>0>>0){q[f+t>>2]=(e+u|0)+h;break h}j=f+t|0;f=q[a+24>>2];f=i>>>0>f>>>0?f:i;m=(f+u|0)+h|0;q[j>>2]=m;if((e|0)!=(f|0)){i=q[j+ -4>>2];Qa(i,e+s|0,m-i|0);o[q[j>>2]]=0;q[j>>2]=q[j>>2]+1;h=h+1|0;k=q[a+12>>2]}e=f}l=l+1|0;if(l>>>0<=k>>>0){continue}break}break g}s=q[a+32>>2];q[t>>2]=s;m=q[a+12>>2];if(m){l=1;e=0;while(1){i=l<<2;k=q[i+q[a+28>>2]>>2]+ -1|0;if(k>>>0>=e>>>0){f=q[a+24>>2];e=k>>>0>f>>>0?f:k}q[i+t>>2]=e+s;l=l+1|0;if(l>>>0<=m>>>0){continue}break}break g}q[b>>2]=t;break f}q[b>>2]=t;if(!c){break f}q[c>>2]=u}if(!d){break a}q[d>>2]=p}Da=g+16|0;return q[g+8>>2]}function iI(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=Da-32|0;Da=i;n=Ta(q[b+12>>2]+b|0,d);l=q[b+24>>2]+b|0;if(l){if(q[l>>2]>=1){while(1){f=0;h=0;a:{b:{c:{e=q[l+8>>2];d:{if(e&1){e=(q[((e&-2)+l|0)+(m<<2)>>2]&-2)+l|0;break d}e=q[e+(m<<2)>>2]}e:{if(Bd(e,21,0,i+28|0)){break e}j=0;g=q[i+28>>2];if(n){h=ue(g,47);q[i+20>>2]=0;q[i+16>>2]=h+1;g=_b(d,i+16|0);q[i+28>>2]=g;h=g}else{h=0}k=q[a+36>>2];if(q[k+4>>2]>0){while(1){if(Ye(q[q[k+12>>2]+(j<<2)>>2],g)){break e}j=j+1|0;if((j|0)>2]){continue}break}}j=0;k=q[a+40>>2];if(q[k+4>>2]<=0){break e}while(1){if(Ye(q[q[k+12>>2]+(j<<2)>>2],g)){break c}j=j+1|0;if((j|0)>2]){continue}break}}g=q[a+44>>2];if(q[g>>2]>0){while(1){if(kr(q[q[g+8>>2]+(f<<2)>>2],e)){break b}f=f+1|0;if((f|0)>2]){continue}break}}f=0;g=q[a+48>>2];if(q[g>>2]<=0){break b}while(1){if(kr(q[q[g+8>>2]+(f<<2)>>2],e)){break c}f=f+1|0;if((f|0)>2]){continue}break}break b}La(h);break a}if(h){e=dM(e,b,h);La(h)}o=((wi(q[a+52>>2],e)|0)!=0)+o|0}m=m+1|0;if((m|0)>2]){continue}break}}h=dr(b);if(h){q[h+4>>2]=q[h+4>>2]+o}}f:{e=q[b+16>>2];if((e|0)==(0-b|0)|q[b+20>>2]<1){break f}h=0;if(!n){while(1){d=b+e|0;d=q[d+(h<<2)>>2]+d|0;f=0;e=q[a+36>>2];g:{h:{if(q[e+4>>2]>=1){while(1){if(Ye(q[q[e+12>>2]+(f<<2)>>2],d)){break h}f=f+1|0;if((f|0)>2]){continue}break}}f=0;e=q[a+40>>2];if(q[e+4>>2]<1){break h}while(1){if(Ye(q[q[e+12>>2]+(f<<2)>>2],d)){break g}f=f+1|0;if((f|0)>2]){continue}break}}li(c,d)}h=h+1|0;if((h|0)>=q[b+20>>2]){break f}e=q[b+16>>2];continue}}while(1){f=0;e=b+e|0;e=q[e+(h<<2)>>2]+e|0;g=ue(e,47);i:{if(!g){g=eb(e);break i}g=eb(g+1|0)}q[i+4>>2]=0;q[i>>2]=g;e=_b(d,i);La(g);g=q[a+36>>2];j:{k:{if(q[g+4>>2]>0){while(1){if(Ye(q[q[g+12>>2]+(f<<2)>>2],e)){break k}f=f+1|0;if((f|0)>2]){continue}break}}f=0;g=q[a+40>>2];if(q[g+4>>2]<=0){break k}while(1){if(Ye(q[q[g+12>>2]+(f<<2)>>2],e)){break j}f=f+1|0;if((f|0)>2]){continue}break}}li(c,e)}if(e){La(e)}h=h+1|0;if((h|0)>=q[b+20>>2]){break f}e=q[b+16>>2];continue}}Da=i+32|0}function sX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,u=0,w=0,x=0;k=q[a+24>>2];if(k>>>0>=2){u=q[a+32>>2];e=q[67829];w=e;m=q[67828];f(0,m|0);f(1,e|0);i=+g();h=2;while(1){e=h;c=v[a+136>>3];d=v[a+128>>3];if(k>>>0<=l>>>0){o[a+20|0]=1}a:{if(u>>>0<=l>>>0){q[160744]=m;q[160745]=w;j=i;break a}j=v[q[a+36>>2]+(l<<3)>>3]}x=c+j;b:{if(r[b|0]){break b}o[b|0]=1;c=d;if(!!(v[b+8>>3]>c)){v[b+8>>3]=d;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break b}v[b+32>>3]=c}v[a+136>>3]=x;v[a+128>>3]=d;n=v[b+8>>3];c=d;if(!!(n>c)){v[b+8>>3]=d;n=d;c=v[a+128>>3]}p=v[b+24>>3];if(!!(c>p)){v[b+24>>3]=c;p=c}s=v[b+16>>3];c=v[a+136>>3];if(!!(s>c)){v[b+16>>3]=c;s=c;c=v[a+136>>3]}j=v[b+32>>3];if(!!(c>j)){v[b+32>>3]=c;j=c}h=l|1;if(k>>>0<=h>>>0){o[a+20|0]=1}c:{if(u>>>0<=h>>>0){q[160744]=m;q[160745]=w;c=i;break c}c=v[q[a+36>>2]+(h<<3)>>3]}d=d+c;d:{if(r[b|0]){break d}o[b|0]=1;c=v[a+128>>3];if(!!(n>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>p)){v[b+24>>3]=c}c=v[a+136>>3];if(!!(s>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>j)){break d}v[b+32>>3]=c}v[a+136>>3]=x;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}l=e;h=e+2|0;if(h>>>0<=k>>>0){continue}break}}e:{if(e>>>0>=k>>>0){break e}d=v[a+128>>3];c=v[a+136>>3];f:{if(t[a+32>>2]<=e>>>0){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);i=+g();break f}i=v[q[a+36>>2]+(e<<3)>>3]}i=c+i;g:{if(r[b|0]){break g}o[b|0]=1;c=d;if(!!(v[b+8>>3]>c)){v[b+8>>3]=d;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!(c>v[b+32>>3])){break g}v[b+32>>3]=c}v[a+136>>3]=i;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break e}v[b+32>>3]=d}}function Ty(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;i=Da-48|0;Da=i;h=2;j=q[a+796>>2]+ -1|0;a:{if(j>>>0>2){break a}if(j-2){if(!q[a+864>>2]){h=142;break a}j=q[q[a+804>>2]+(b<<2)>>2];b=q[a+104>>2];h=Xa(b,q[a+860>>2]);if(h){break a}q[i+4>>2]=b;q[i>>2]=a;b=q[a+84>>2];p[i+16>>1]=0;q[i+12>>2]=g;q[i+8>>2]=b+76;q[i+20>>2]=q[a+860>>2];q[i+24>>2]=q[a+864>>2];b=q[a+788>>2];q[i+36>>2]=b;e=q[a+792>>2];q[i+40>>2]=e+b;h=3;g=w(j,48);if((g|8)+47>>>0>e>>>0){break a}b=b+g|0;g=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);q[i+28>>2]=j;g=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);q[i+32>>2]=g;o[i+18|0]=r[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=rn(i,c,0,0,0,d>>>22&1);break a}b=q[q[a+804>>2]+(b<<2)>>2];j=0;p[g>>1]=0;p[g+2>>1]=0;if(t[a+16>>2]>=c>>>0){b=q[a+788>>2]+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);l=b+4|0;while(1){g=q[a+864>>2];if(g>>>0<=b>>>0){h=3;break a}c=c<<2;if(g-b>>>0>>0){h=3;break a}h=Xa(e,q[a+860>>2]+(c+l|0)|0);if(h){break a}h=lb(e,8);if(h){break a}c=fc(e);g=fc(e);jb(e);if((c|0)==(g|0)){h=157;break a}if(g>>>0>>0){h=3;break a}k=g-c|0;if(k>>>0<8){h=3;break a}h=3;if(q[a+864>>2]-b>>>0>>0){break a}h=Xa(e,q[a+860>>2]+(b+c|0)|0);if(h){break a}h=lb(e,k);if(h){break a}ob(e);ob(e);c=fc(e);if((c|0)!=1685418085){b:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break b}}h=2}jb(e);break a}if((j|0)==4){h=3;jb(e);break a}c=ob(e);jb(e);j=j+1|0;if(t[a+16>>2]>=c>>>0){continue}break}}h=6}c:{if(d&5242880|h){break c}h=0;if(r[f+18|0]!=7){break c}b=q[q[a+84>>2]>>2];if(i){q[i>>2]=0;q[i+4>>2]=0;q[i+16>>2]=0;q[i+20>>2]=0;q[i+8>>2]=0;q[i+12>>2]=0}h=LA(b,f,i);if(h){Kn(b,i);break c}o[f+18|0]=r[i+18|0];q[f+8>>2]=q[i+8>>2];p[f+16>>1]=s[i+16>>1];ok(q[a+84>>2],q[i+12>>2]);a=q[q[a+84>>2]+156>>2];q[a+4>>2]=q[a+4>>2]|1}Da=i+48|0;return h|0}function Dy(a,b,c,d){a=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,u=0,v=0,x=0,y=0,z=0,A=0;u=Da-16|0;Da=u;a:{b:{if(!q[c+88>>2]){q[c+100>>2]=q[d+100>>2];q[c+104>>2]=q[d+104>>2];f=q[d+80>>2];q[c+80>>2]=f;e=q[d+76>>2];o[c+94|0]=7;q[c+76>>2]=e;p[c+92>>1]=256;f=f<<2;q[c+84>>2]=f;f=w(e,f);e=_h(c,f);q[u+12>>2]=e;if(e){break a}Na(q[c+88>>2],0,f);break b}n=q[d+104>>2];j=n-q[d+76>>2]|0;i=q[c+104>>2];g=i-q[c+76>>2]|0;k=q[d+100>>2];l=k+q[d+80>>2]|0;e=q[c+100>>2];f=e+q[c+80>>2]|0;if(!((f|0)<(l|0)|(e|0)>(k|0)|(i|0)<(n|0))){if((g|0)<=(j|0)){break b}}i=(i|0)>(n|0)?i:n;g=i-((g|0)<(j|0)?g:j)|0;k=(e|0)<(k|0)?e:k;f=((f|0)>(l|0)?f:l)-k|0;j=f<<2;l=gb(q[a+100>>2],w(g,j),u+12|0);e=q[u+12>>2];if(e){break a}if(q[c+76>>2]){m=(l+w(j,i-q[c+104>>2]|0)|0)+(q[c+100>>2]-k<<2)|0;e=q[c+88>>2];while(1){m=Qa(m,e,q[c+80>>2]<<2)+j|0;e=q[c+84>>2]+e|0;h=h+1|0;if(h>>>0>2]){continue}break}}ok(c,l);q[c+100>>2]=k;q[c+104>>2]=i;q[c+80>>2]=f;q[c+84>>2]=j;q[c+76>>2]=g;f=q[c+156>>2];q[f+4>>2]=q[f+4>>2]|1;q[c+72>>2]=1651078259}c:{if((b|0)==65535){if(r[a+676|0]){h=r[a+680|0];f=r[a+679|0];e=r[a+677|0];b=r[a+678|0];break c}g=q[a+656>>2];if(g){h=255;f=255;e=255;b=255;if(r[g+(s[a+668>>1]<<1)|0]&2){break c}}f=0;h=255;e=0;b=0;break c}a=q[a+672>>2]+(b<<2)|0;h=r[a+3|0];f=r[a+2|0];e=r[a|0];b=r[a+1|0]}a=q[d+76>>2];if(a){g=q[c+84>>2];m=(q[c+88>>2]+w(g,q[c+104>>2]-q[d+104>>2]|0)|0)+(q[d+100>>2]-q[c+100>>2]<<2)|0;A=f&255;n=e&255;j=h&255;f=q[d+80>>2];y=q[d+88>>2];while(1){h=0;e=0;if(f){while(1){a=h<<2;i=(a|3)+m|0;k=r[i|0];l=(a|2)+m|0;g=r[l|0];e=(a|1)+m|0;f=r[e|0];a=a+m|0;v=(w(j,r[h+y|0])>>>0)/255|0;x=255-v|0;o[a|0]=((w(x,r[a|0])|0)/255|0)+(((w(n,v)&65535)>>>0)/255|0);o[e|0]=((w(f,x)|0)/255|0)+(((w(b,v)&65535)>>>0)/255|0);o[l|0]=((w(g,x)|0)/255|0)+(((w(v,A)&65535)>>>0)/255|0);o[i|0]=((w(k,x)|0)/255|0)+v;h=h+1|0;e=q[d+80>>2];if(h>>>0>>0){continue}break}g=q[c+84>>2];a=q[d+76>>2]}m=g+m|0;y=q[d+84>>2]+y|0;f=e;z=z+1|0;if(z>>>0>>0){continue}break}}e=0}Da=u+16|0;return e|0}function sV(a,b,c){var d=0,e=0,h=0,i=0,j=0;i=Da-32|0;Da=i;q[i+28>>2]=0;q[i+20>>2]=0;q[i+24>>2]=0;q[i+12>>2]=0;q[i+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{d=a+ -6|0;if(d>>>0>24){d=a+ -265|0;if(d>>>0>9){break j}d=1<>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=h;break g}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=h;break g}hh(b+20|0,b)}if(q[b+24>>2]){break a}break b}k:{if(r[b+48|0]==1){d=q[b+44>>2];break k}d=q[b+24>>2];l:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(d<<3)>>3];break l}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[b+44>>2]=d}o[b+48|0]=1;q[c+24>>2]=d;q[b+24>>2]=0;break b}e=c;d=q[b+24>>2];n:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[e+16>>2]=d;q[b+24>>2]=0;break b}d=q[b+24>>2];p:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){j=q[67829];d=j;e=q[67828];q[160744]=e;q[160745]=d;break p}d=q[b+36>>2]+(d<<3)|0;e=q[d>>2];d=q[d+4>>2];break p}o[b+20|0]=1;j=q[67829];d=j;e=q[67828];q[160744]=e;q[160745]=d}q[i+24>>2]=e;q[i+28>>2]=d;q[b+24>>2]=0;break b}q[b+24>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}fu(c,a,b,i+8|0)}Da=i+32|0}function kd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=q[a+8>>2];a:{b:{if(e+3>>>0>=t[a+4>>2]){break b}c:{d:{d=q[a+20>>2];e:{if(d){if((n[d](a,e,g+10|0,4)|0)!=4){break b}e=q[a+8>>2];d=g+10|0;break e}d=q[a>>2];if(!d){break d}d=d+e|0}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break c}h=0}f=e+4|0;q[a+8>>2]=f;d=2;if((b|0)!=(h|0)){break a}if(e+7>>>0>=t[a+4>>2]){break b}f:{g:{b=q[a+20>>2];if(!b){q[a+8>>2]=e+8;e=e+24|0;break g}if((n[b](a,f,g+10|0,4)|0)!=4){break b}f=q[a+8>>2];q[a+8>>2]=f+4;e=f+20|0;b=q[a+20>>2];if(!b){break g}d=85;if(n[b](a,e,0,0)){break a}b=q[a+4>>2];break f}b=q[a+4>>2];d=85;if(b>>>0>>0){break a}}q[a+8>>2]=e;if(f+21>>>0>=b>>>0){break b}h:{b=q[a+20>>2];if(b){if((n[b](a,e,g+14|0,2)|0)!=2){break b}e=q[a+8>>2];b=g+14|0;break h}b=q[a>>2];if(b){b=b+e|0;break h}q[a+8>>2]=f+22;d=2;break a}f=r[b|0]|r[b+1|0]<<8;b=e+2|0;q[a+8>>2]=b;i=(f<<8&16711680|f<<24)>>>16|0;d=2;if(!i){break a}if(e+5>>>0>=t[a+4>>2]){break b}e=0;while(1){i:{j:{k:{l:{d=q[a+20>>2];m:{if(d){if((n[d](a,b,g+10|0,4)|0)!=4){break b}b=q[a+8>>2];d=g+10|0;break m}d=q[a>>2];if(!d){break l}d=b+d|0}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=b+4|0;q[a+8>>2]=h;if((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))==2){f=q[a+4>>2];if(b+7>>>0>=f>>>0){break i}n:{o:{b=q[a+20>>2];p:{if(b){if((n[b](a,h,g+10|0,4)|0)!=4){break i}f=q[a+4>>2];h=q[a+8>>2];b=g+10|0;break p}b=q[a>>2];if(!b){break o}b=b+h|0}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break n}b=0}d=h+4|0;q[a+8>>2]=d;if(h+7>>>0>=f>>>0){break i}f=a;h=q[a+20>>2];if(h){if((n[h](a,d,g+10|0,4)|0)!=4){break i}d=q[a+8>>2]}q[f+8>>2]=d+4;q[c>>2]=b;d=0;break a}f=b+12|0;b=q[a+20>>2];if(!b){break k}if(!n[b](a,f,0,0)){break j}break b}q[a+8>>2]=b+4;f=b+12|0}if(t[a+4>>2]>>0){break b}}q[a+8>>2]=f}e=e+1|0;d=2;if((i|0)==(e|0)){break a}b=q[a+8>>2];if(b+3>>>0>2]){continue}break}}d=85}Da=g+16|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;b=Da-224|0;Da=b;f=Sa(40);q[f>>2]=0;h=q[a+508>>2];q[b+216>>2]=h;a:{b:{if(!q[b+216>>2]){break b}c=q[a+512>>2];if(c>>>0<4){break b}q[b+216>>2]=q[b+216>>2]+2;q[b+216>>2]=q[b+216>>2]+2;q[b+220>>2]=r[q[b+216>>2]+ -1|0]|r[q[b+216>>2]+ -2|0]<<8;if(!q[b+220>>2]){break b}g=4;j=c+h|0;while(1){if(q[b+216>>2]+8>>>0>j>>>0){break b}q[b+216>>2]=q[b+216>>2]+2;c=r[q[b+216>>2]+ -2|0];d=r[q[b+216>>2]+ -1|0];q[b+216>>2]=q[b+216>>2]+2;p[b+208>>1]=d|c<<8;c=r[q[b+216>>2]+ -2|0];d=r[q[b+216>>2]+ -1|0];q[b+216>>2]=q[b+216>>2]+4;q[b+200>>2]=a;q[b+204>>2]=0;p[b+210>>1]=d|c<<8;c=r[q[b+216>>2]+ -1|0]|(r[q[b+216>>2]+ -3|0]<<16|r[q[b+216>>2]+ -4|0]<<24|r[q[b+216>>2]+ -2|0]<<8);if(!(!c|c>>>0>q[a+512>>2]+ -2>>>0)){q[b+196>>2]=c+h;q[b+192>>2]=r[q[b+196>>2]+1|0]|r[q[b+196>>2]]<<8;q[b+188>>2]=162560;c:{if(!q[q[b+188>>2]>>2]){break c}d:{while(1){e:{q[b+184>>2]=q[q[b+188>>2]>>2];if(q[q[b+184>>2]+40>>2]==q[b+192>>2]){q[b+4>>2]=0;q[161261]=0;q[b+164>>2]=q[b+196>>2];q[b+168>>2]=j;q[b+172>>2]=0;q[b+176>>2]=0;c=q[161261];q[161261]=0;d=-1;if(!c){break d}e=q[161262];if(!e){break d}d=N(q[c>>2],f|0,g|0)|0;if(d){break e}break a}q[b+188>>2]=q[b+188>>2]+4;if(q[q[b+188>>2]>>2]){continue}break c}break}K(e|0)}c=M()|0;if((d|0)!=1){q[b+180>>2]=s[a+264>>1];f=V(b+8|0,1,f|0,g|0)|0;g=M()|0;c=0}while(1){if(!c){c=q[q[b+184>>2]+44>>2];q[161261]=0;i=$(c|0,q[b+196>>2],b+8|0)|0;c=q[161261];q[161261]=0;d=-1;f:{if(!c){break f}e=q[161262];if(!e){break f}d=N(q[c>>2],f|0,g|0)|0;if(!d){break a}K(e|0)}c=M()|0;if((d|0)==1){continue}q[b+4>>2]=i}if(q[b+176>>2]){break c}q[161261]=0;i=_(318,q[b+184>>2],q[b+196>>2],b+200|0,b|0)|0;c=q[161261];q[161261]=0;d=-1;g:{if(!c){break g}e=q[161262];if(!e){break g}d=N(q[c>>2],f|0,g|0)|0;if(!d){break a}K(e|0)}c=M()|0;if((d|0)==1){continue}break}if(i){break c}q[q[b>>2]+20>>2]=q[b+4>>2]}}q[b+220>>2]=q[b+220>>2]+ -1;if(q[b+220>>2]){continue}break}}La(f);Da=b+224|0;return}P(c|0,e|0);F()}function UJ(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}e=c-b|0;if(e&1){c=e&-2;if(!c){break a}c=b+c|0}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=r[b|0];f=e+ -216|0;if(f>>>0>39){if(e){break d}e=a+72|0;f=r[e+r[b+1|0]|0];if(f>>>0>10){break d}switch(f-2|0){case 3:break i;case 8:break j;case 7:break k;case 2:break l;case 0:case 1:break d;case 5:break g;case 4:break h;default:break e}}switch(f-4|0){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:break d;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}f=-1;e=b+2|0;if((c-e|0)<2){break b}if(r[e|0]|r[b+3|0]!=93){break c}if((c-(b+4|0)|0)<2){break b}if(r[b+4|0]|r[b+5|0]!=62){break c}q[d>>2]=b+6;return 40}f=-1;a=b+2|0;if((c-a|0)<2){break b}if(!r[a|0]){a=r[e+r[b+3|0]|0]==10?b+4|0:a}q[d>>2]=a;return 7}q[d>>2]=b+2;return 7}f=-2;if((c-b|0)<2){break b}e=b+2|0;break c}f=-2;if((c-b|0)<3){break b}e=b+3|0;break c}f=-2;if((c-b|0)<4){break b}e=b+4|0;break c}if(r[b+1|0]<=253){break d}}q[d>>2]=b;return 0}e=b+2|0}f=c-e|0;m:{if((f|0)<2){break m}h=a+72|0;while(1){b=2;n:{o:{p:{q:{a=r[e|0];g=a+ -216|0;if(g>>>0>39){if(a){break n}a=r[h+r[e+1|0]|0];if(a>>>0>10){break n}if((a|0)==6){break q}if((a|0)==7){break p}if(!(1<2){break n}break m}b=4;if((f|0)>3){break n}break m}if(r[e+1|0]>253){break m}}e=b+e|0;f=c-e|0;if((f|0)>1){continue}break}}q[d>>2]=e;f=6}return f|0}return-1}function mK(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}e=c-b|0;if(e&1){c=e&-2;if(!c){break a}c=b+c|0}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{e=r[b+1|0];f=e+ -216|0;if(f>>>0>39){if(e){break d}e=a+72|0;f=r[e+r[b|0]|0];if(f>>>0>10){break d}switch(f-2|0){case 3:break i;case 8:break j;case 7:break k;case 2:break l;case 0:case 1:break d;case 5:break g;case 4:break h;default:break e}}switch(f-4|0){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:break d;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}f=-1;e=b+2|0;if((c-e|0)<2){break b}if(r[b+3|0]|r[e|0]!=93){break c}if((c-(b+4|0)|0)<2){break b}if(r[b+5|0]|r[b+4|0]!=62){break c}q[d>>2]=b+6;return 40}f=-1;a=b+2|0;if((c-a|0)<2){break b}if(!r[b+3|0]){a=r[e+r[b+2|0]|0]==10?b+4|0:a}q[d>>2]=a;return 7}q[d>>2]=b+2;return 7}f=-2;if((c-b|0)<2){break b}e=b+2|0;break c}f=-2;if((c-b|0)<3){break b}e=b+3|0;break c}f=-2;if((c-b|0)<4){break b}e=b+4|0;break c}if(r[b|0]<=253){break d}}q[d>>2]=b;return 0}e=b+2|0}f=c-e|0;m:{if((f|0)<2){break m}h=a+72|0;while(1){b=2;n:{o:{p:{q:{a=r[e+1|0];g=a+ -216|0;if(g>>>0>39){if(a){break n}a=r[h+r[e|0]|0];if(a>>>0>10){break n}if((a|0)==6){break q}if((a|0)==7){break p}if(!(1<2){break n}break m}b=4;if((f|0)>3){break n}break m}if(r[e|0]>253){break m}}e=b+e|0;f=c-e|0;if((f|0)>1){continue}break}}q[d>>2]=e;f=6}return f|0}return-1}function IC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=q[a+16>>2];if(t[a+20>>2]>=g+12>>>0){h=q[a+32>>2];e=h;a:{b:{c=q[g>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break b}b=sc(a,c,0,0)>>16;break a}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break a}f=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break a}b=(r[c+2|0]|r[f|0]<<8)<<16>>16;break a}b=0;if(t[a+8>>2]<=c+4>>>0){break a}c=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break a}b=d+ -139|0;if(d>>>0<=246){break a}c=q[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=f>>>0){break a}b=(r[f|0]|d<<8)+ -63124|0;break a}b=0;if(c>>>0<=f>>>0){break a}b=64148-(r[f|0]|d<<8)|0}q[e+132>>2]=b;e=h;c:{d:{b=q[g+4>>2];f=r[b|0];if((f|0)!=255){if((f|0)!=30){break d}d=sc(a,b,0,0)>>16;break c}d=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break c}c=b+1|0;d=f+ -28|0;if(d>>>0<=1){if(d-1){d=0;if(t[a+8>>2]<=b+2>>>0){break c}d=(r[b+2|0]|r[c|0]<<8)<<16>>16;break c}d=0;if(t[a+8>>2]<=b+4>>>0){break c}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break c}d=f+ -139|0;if(f>>>0<=246){break c}b=q[a+8>>2];if(f>>>0<=250){d=0;if(b>>>0<=c>>>0){break c}d=(r[c|0]|f<<8)+ -63124|0;break c}d=0;if(b>>>0<=c>>>0){break c}d=64148-(r[c|0]|f<<8)|0}q[e+136>>2]=d;e:{f:{c=q[g+8>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break f}e=sc(a,c,0,0)>>16;break e}e=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break e}f=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){e=0;if(t[a+8>>2]<=c+2>>>0){break e}e=(r[c+2|0]|r[f|0]<<8)<<16>>16;break e}e=0;if(t[a+8>>2]<=c+4>>>0){break e}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e}e=d+ -139|0;if(d>>>0<=246){break e}a=q[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break e}e=(r[f|0]|d<<8)+ -63124|0;break e}e=0;if(a>>>0<=f>>>0){break e}e=64148-(r[f|0]|d<<8)|0}q[h+140>>2]=e;a=0}else{a=161}return a|0}function xw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);f=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+a|0;e=q[d+48>>2];a:{if(o[a+15|0]&1){g=Om(f,b,e);b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);b=Om((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);c=g+b|0;if(c>>>0>>0|c>>>0>1073741822){break a}h=q[d+20>>2];b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);b=((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0)+(c<<2)|0;if(h>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<4){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}g=a;a=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);a=f+(g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(h>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;return(a<<24|a<<8&16711680)>>16}f=Nm(f,b,e);b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);c=Nm((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);h=q[d+20>>2];b=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);b=((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0)+(c+f<<1)|0;if(h>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<2){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}b=r[b|0]|r[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}g=a;a=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);a=f+(g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0)|0;if(h>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;i=(a<<24|a<<8&16711680)>>16}return i}function cu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=b<<1;k=f+a|0;if(b>>>0>9){while(1){h=a+2|0;i=(b&-2)+a|0;d=(pg(h,i,c)|0)>0;b=d?h:i;e=f+ -2|0;g=e+a|0;f=g+ -2|0;if((pg(b,f,c)|0)>=1){b=d?i:h;b=(pg(b,f,c)|0)>0?b:f}if((b|0)!=(g|0)){f=r[b|0];o[b|0]=r[g|0];o[g|0]=f;f=r[b+1|0];o[b+1|0]=r[g+1|0];o[g+1|0]=f}f=g;d=f;h=a;b=h;a:{if((e|0)<1){d=g;f=d;break a}b:while(1){if(b>>>0>=d>>>0){break a}while(1){e=pg(b,g,c);if((e|0)>=1){c:{if(b>>>0>=d>>>0){break c}while(1){i=d;d:{d=d+ -2|0;e=pg(d,g,c);if(!e){e=f+ -2|0;if(i>>>0>>0){j=r[d|0];o[d|0]=r[e|0];o[e|0]=j;j=i+ -1|0;i=r[j|0];f=f+ -1|0;o[j|0]=r[f|0];o[f|0]=i}f=e;break d}if((e|0)>-1){break d}if(b>>>0>>0){e=r[b|0];o[b|0]=r[d|0];o[d|0]=e;j=r[b+1|0];e=i+ -1|0;o[b+1|0]=r[e|0];o[e|0]=j}b=b+2|0;break c}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue b}break a}if(!e){if(h>>>0>>0){e=r[h|0];o[h|0]=r[b|0];o[b|0]=e;e=r[h+1|0];o[h+1|0]=r[b+1|0];o[b+1|0]=e}h=h+2|0}b=b+2|0;if(b>>>0>>0){continue}break}break}}b=h-a|0;i=d-h|0;e:{if(!b|!i){break e}if(b>>>0>i>>>0){if((i|0)<1){break e}e=a+i|0;b=a;while(1){g=r[b|0];o[b|0]=r[h|0];o[h|0]=g;h=h+1|0;b=b+1|0;if(b>>>0>>0){continue}break}break e}if((b|0)<1){break e}b=a+i|0;g=a;while(1){e=r[g|0];o[g|0]=r[b|0];o[b|0]=e;b=b+1|0;g=g+1|0;if(g>>>0>>0){continue}break}}e=f-d|0;f:{if(!e){break f}b=k-f|0;if(!b){break f}if(e>>>0>b>>>0){if((b|0)<1){break f}g=b+d|0;while(1){b=r[d|0];o[d|0]=r[f|0];o[f|0]=b;f=f+1|0;d=d+1|0;if(d>>>0>>0){continue}break}break f}if((e|0)<1){break f}b=b+d|0;while(1){g=r[d|0];o[d|0]=r[b|0];o[b|0]=g;b=b+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}cu(a,i>>>1|0,c);a=k-e|0;f=e&-2;k=a+f|0;b=e>>>1|0;if(e>>>0>=20){continue}break}}f=a+2|0;if(f>>>0>>0){while(1){b=f;g:{if(b>>>0<=a>>>0){break g}while(1){g=b+ -2|0;if((pg(g,b,c)|0)<1){break g}d=r[g|0];o[g|0]=r[b|0];o[b|0]=d;e=b+ -1|0;d=r[e|0];o[e|0]=r[b+1|0];o[b+1|0]=d;b=g;if(b>>>0>a>>>0){continue}break}}f=f+2|0;if(f>>>0>>0){continue}break}}}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;h=1;a:{if(r[a+12|0]!=1){break a}h=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}q[a+16>>2]=-1;g=ac(a,b);j=c>>>9|0;k=b>>>9|0;b:{if((j|0)==(k|0)){if(!g){break a}d=b>>>6&7;a=g+(d<<3)|0;h=c>>>6&7;if((h|0)==(d|0)){h=q[a+4>>2];d=a;f=a;g=q[a>>2];c=c&63;a=c&31;if(32<=(c&63)>>>0){e=2<>>32-a;a=2<>>0){b=1<>>32-c;c=1<>2]=g|i-c;q[d+4>>2]=e-(b+(a>>>0>>0)|0)|h;break b}f=q[a+4>>2];e=b&63;b=e&31;d=a;i=a;if(32<=(e&63)>>>0){e=-1<>>32-b|-1<>2]=b|q[a>>2];q[d+4>>2]=e|f;b=a+8|0;a=g+(h<<3)|0;Na(b,255,a-b|0);e=q[a+4>>2];b=a;f=b;c=c&63;a=c&31;if(32<=(c&63)>>>0){c=2<>>32-a;a=2<>2]=d|q[b>>2];q[b+4>>2]=(d>>>0<4294967295?a+1|0:a)|e;break b}if(!g){break a}l=b>>>6&7;f=g+(l<<3)|0;d=f;m=q[d+4>>2];b=b&63;e=b&31;i=d;if(32<=(b&63)>>>0){b=-1<>>32-e|-1<>2]=e|q[f>>2];q[d+4>>2]=b|m;if((l|0)!=7){b=f+8|0;Na(b,255,(g+56|0)-b|0);q[g+56>>2]=-1;q[g+60>>2]=-1}d=k+1|0;if(d>>>0>>0){while(1){b=ac(a,d<<9);if(!b){break a}q[b>>2]=-1;q[b+4>>2]=-1;q[b+56>>2]=-1;q[b+60>>2]=-1;q[b+48>>2]=-1;q[b+52>>2]=-1;q[b+40>>2]=-1;q[b+44>>2]=-1;q[b+32>>2]=-1;q[b+36>>2]=-1;q[b+24>>2]=-1;q[b+28>>2]=-1;q[b+16>>2]=-1;q[b+20>>2]=-1;q[b+8>>2]=-1;q[b+12>>2]=-1;d=d+1|0;if((j|0)!=(d|0)){continue}break}}a=ac(a,c);if(!a){break a}b=c>>>6&7;if(!b){d=q[a+4>>2];b=a;f=b;a=c&63;c=a&31;if(32<=(a&63)>>>0){a=2<>>32-c;c=2<>2]=c|q[b>>2];q[b+4>>2]=(c>>>0<4294967295?a+1|0:a)|d;break b}q[a>>2]=-1;q[a+4>>2]=-1;b=b<<3;Na(a+8|0,255,b+ -8|0);b=a+b|0;a=b;d=q[b+4>>2];f=b;i=q[b>>2];c=c&63;b=c&31;if(32<=(c&63)>>>0){c=2<>>32-b;b=2<>2]=i|b;q[a+4>>2]=(b>>>0<4294967295?e+1|0:e)|d}h=1}return h}function Dn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=q[a+204>>2];if(j>>>0>=2){g=q[a+172>>2];f=q[a+168>>2];e=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=e>>>16|0;q[a+8>>2]=d;c=q[a+16>>2];e=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;e=d|e<<16;q[a+8>>2]=e}d=a;i=e>>>b|0;f=f+((i&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&i>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[d+12>>2]=b;i=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=e>>>16|0;q[a+8>>2]=d;c=q[a+16>>2];e=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;e=d|e<<16;q[a+8>>2]=e}d=a;h=e>>>b|0;f=g+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[d+12>>2]=b;d=s[f+2>>1];c=d<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=e>>>16|0;q[a+8>>2]=e;d=q[a+16>>2];g=r[d|0]|r[d+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=d+2;e=e|g<<16;q[a+8>>2]=e}q[a+12>>2]=b+f;d=q[(f<<2)+153552>>2]&e>>>b;break a}b:{c:{if(b>>>0<=15){d=b+16|0;q[a+12>>2]=d;h=e>>>b&65535;c=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;e=e>>>16|0;q[a+8>>2]=e;d=q[a+16>>2];h=r[d|0]|r[d+1|0]<<8;c=q[a+20>>2]+ -2|0;q[a+20>>2]=c;b=d+2|0;q[a+16>>2]=b;d=g+16|0;q[a+12>>2]=d;e=e|h<<16;q[a+8>>2]=e;h=e>>>g&65535;if(g>>>0>4294967279){break b}}d=d^16;q[a+12>>2]=d;e=e>>>16|0;q[a+8>>2]=e;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=c+ -2;q[a+16>>2]=b+2;e=e|g<<16;q[a+8>>2]=e}b=f+ -16|0;q[a+12>>2]=b+d;d=(q[(b<<2)+153552>>2]&e>>>d)<<16|h}q[k+192>>2]=l+d;d:{if(i>>>0<=1){c=q[a+220>>2]+1|0;if(!(i-1)){break d}c=q[a+216>>2];break d}c=i+ -2|0}q[a+216>>2]=q[a+220>>2];c=c-(c>>>0>>0?0:j)|0;q[a+220>>2]=c;d=q[a+576>>2]+(c<<6)|0;q[a+112>>2]=d;q[a+176>>2]=q[((c>>>3&536870908)+a|0)+592>>2]>>>(c&31)&1;q[a+256>>2]=q[q[a+120>>2]+(r[d|0]<<2)>>2];q[a+108>>2]=((r[c+q[a+580>>2]|0]&3)<<9)+153696}}function mX(a,b,c,d){var e=0,f=0,g=0,h=0;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;q[a+8>>2]=q[b+8>>2];q[a+24>>2]=0;q[a+28>>2]=0;o[a+20|0]=0;o[a+16|0]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;e=Sa(18976);a:{b:{if(e){q[a+28>>2]=593;q[a+36>>2]=e;f=q[a+32>>2];if(f>>>0<=512){g=e;e=f<<5;Na(g+e|0,0,16416-e|0)}g=513;q[a+32>>2]=513;break b}q[a+28>>2]=-1;g=q[a+32>>2];if(!g){break a}}h=q[a+36>>2];e=0;while(1){f=(e<<5)+h|0;q[f>>2]=0;q[f+4>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}o[a+40|0]=0;e=q[b+4>>2];f=q[b>>2];q[a+52>>2]=q[b+8>>2];q[a+44>>2]=f;q[a+48>>2]=e;q[a+128>>2]=0;q[a+132>>2]=0;o[a+73|0]=1;o[a+74|0]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;o[a+60|0]=0;q[a+56>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;o[a+81|0]=0;o[a+82|0]=0;o[a+83|0]=0;o[a+84|0]=0;o[a+85|0]=0;o[a+86|0]=0;o[a+87|0]=0;o[a+88|0]=0;b=Sa(560);c:{d:{if(b){q[a+96>>2]=20;q[a+104>>2]=b;e=q[a+100>>2];if(e>>>0<=9){Na(b+w(e,28)|0,0,w(10-e|0,28))}e=10;q[a+100>>2]=10;break d}q[a+96>>2]=-1;e=q[a+100>>2];if(!e){break c}}b=0;while(1){e:{if(e>>>0<=b>>>0){q[160750]=q[67834];e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break e}e=q[a+104>>2]+w(b,28)|0}q[e+20>>2]=0;q[e+24>>2]=0;q[e>>2]=0;q[e+4>>2]=0;o[e+16|0]=0;q[e+8>>2]=0;q[e+12>>2]=0;b=b+1|0;e=q[a+100>>2];if(b>>>0>>0){continue}break}}q[a+112>>2]=c;f:{g:{if(c){b=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break g}}q[a+108>>2]=107;break f}if(b>>>0<=33899){q[a+108>>2]=1131;break f}q[a+108>>2]=32768}q[a+120>>2]=d;h:{if(d){b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>1239){break h}}q[a+116>>2]=107;return}if(b>>>0<=33899){q[a+116>>2]=1131;return}q[a+116>>2]=32768}function Wm(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,s=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<4){break a}if(!Av(a+2|0,b,a)){break a}p=(r[a+7|0]|r[a+6|0]<<8)+a|0;l=(r[a+5|0]|r[a+4|0]<<8)+a|0;j=r[a+1|0]|r[a|0]<<8;while(1){b:{if(!(e&1)){d=i;break b}c:{if(!j){d=0-k|0;h=0;break c}e=0;d=4294967295/(j>>>0)|0;if(d>>>0<=k>>>0){break a}h=d;d=0-k|0;if(h>>>0<=d>>>0){break a}h=w(j,k)}f=h+l|0;d=w(d,j);d:{if(!d){d=q[b+12>>2];break d}e=0;if(t[b+4>>2]>f>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-f>>>0>>0){break a}g=q[b+12>>2];d=g+ -1|0;q[b+12>>2]=d;if((g|0)<1){break a}}d=(k-m|0)+d|0;q[b+12>>2]=d;e=0;if((d|0)<1|(h|0)>0){break a}d=i;m=k;e=l;if(f>>>0>=e>>>0){break b}while(1){e=e+ -1|0;m=r[e|0];d=d>>>0>m>>>0?d:m+1|0;if(f>>>0>>0){continue}break}m=k}if((n|0)<=(o|0)){h=o+1|0;if(!(!j|4294967295/(j>>>0)>>>0>h>>>0)){return 0}g=w(j,h);e:{if(!g){f=q[b+12>>2];break e}e=0;if(t[b+4>>2]>l>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-l>>>0>>0){break a}s=q[b+12>>2];f=s+ -1|0;q[b+12>>2]=f;if((s|0)<1){break a}}f=((o^-1)+n|0)+f|0;q[b+12>>2]=f;e=0;if((f|0)<1|((g|0)<0|4294967295/(j>>>0)>>>0<=h>>>0?j:0)){break a}e=w(j,n);if((e|0)<(g|0)){n=g+l|0;e=e+l|0;while(1){f=r[e|0];d=d>>>0>f>>>0?d:f+1|0;e=e+1|0;if(e>>>0>>0){continue}break}}n=h}e=0;if(d>>>0>536870910){break a}h=d<<3;f:{if(!d){f=q[b+12>>2];break f}if(t[b+4>>2]>p>>>0){break a}f=q[b+8>>2];if(f>>>0

>>0|f-p>>>0>>0){break a}g=q[b+12>>2];f=g+ -1|0;q[b+12>>2]=f;if((g|0)<1){break a}}f=(i-d|0)+f|0;q[b+12>>2]=f;if((f|0)<1){break a}if((i|0)<(d|0)){h=h+p|0;e=(i<<3)+p|0;f=r[a+1|0]|r[a|0]<<8;g=r[a+5|0]|r[a+4|0]<<8;while(1){i=((r[e+1|0]|r[e|0]<<8)-g|0)/(f|0)|0;o=(o|0)<(i|0)?i:o;k=(k|0)>(i|0)?i:k;e=e+8|0;if(e>>>0>>0){continue}break}}i=d;e=(k|0)<(m|0);if(e|(n|0)<=(o|0)){continue}break}e=1;if(!c){break a}q[c>>2]=i}return e}function cj(a,b,c){a=a|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=q[a+88>>2];q[c>>2]=0;a:{b:{if(r[a+848|0]){d=q[a+844>>2];e=q[a+828>>2];break b}q[a+828>>2]=0;q[a+832>>2]=0;q[a+836>>2]=0;q[a+840>>2]=0;q[a+844>>2]=0;q[a+848>>2]=0;h=8;d=s[a+152>>1];if(!d){break a}e=q[a+156>>2];d=e+(d<<4)|0;g=a+828|0;k=q[a+104>>2];while(1){c:{if(q[e>>2]==1111770656){f=q[e+12>>2];if(f){break c}}e=e+16|0;if(e>>>0>>0){continue}break a}break}if(Xa(k,q[e+8>>2])|f>>>0<8){break a}if(Bc(k,f,g)){break a}e=q[a+828>>2];q[a+832>>2]=f+e;d:{e:{if((r[e+1|0]|r[e|0]<<8)!=1){break e}d=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0<8|h+1>>>0>f>>>0){break e}d=r[e+3|0]|r[e+2|0]<<8;if(h+ -8>>>2>>>0>>0){break e}q[a+840>>2]=f-h;l=e+h|0;q[a+836>>2]=l;q[a+844>>2]=d;f=e+8|0;i=f+(d<<2)|0;if(d){h=d;while(1){i=w(r[f+3|0]|r[f+2|0]<<8,10)+i|0;f=f+4|0;h=h+ -1|0;if(h){continue}break}}if(i>>>0<=l>>>0){break d}}zb(k,g);q[g+16>>2]=0;q[g+20>>2]=0;q[g+8>>2]=0;q[g+12>>2]=0;q[g>>2]=0;q[g+4>>2]=0;return 8}o[a+848|0]=1}h=6;if(!b|!j){break a}k=Wa(b);if(!k|!d){break a}e=e+8|0;f=e+(d<<2)|0;g=s[j+14>>1];while(1){i=r[e+3|0]|r[e+2|0]<<8;if((g|0)==(r[e+1|0]|r[e|0]<<8)){if(!i){break a}while(1){f:{j=r[f+5|0];if(!(j&16)){break f}e=q[a+840>>2];d=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=g>>>0){break f}l=e-g|0;if(k>>>0>=l>>>0){break f}d=r[f+6|0]|r[f+7|0]<<8|(r[f+8|0]<<16|r[f+9|0]<<24);m=g;g=q[a+836>>2];if(Ra(b,m+g|0,l)){break f}j=j&15;if(j>>>0>3){break f}d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);g:{switch(j-2|0){default:if(d>>>0>=e>>>0){break f}d=d+g|0;if(!be(d,0,e)){break f}q[c+4>>2]=d;q[c>>2]=1;return 0;case 0:q[c+4>>2]=d;q[c>>2]=2;return 0;case 1:break g}}q[c+4>>2]=d;q[c>>2]=3;return 0}f=f+10|0;i=i+ -1|0;if(i){continue}break}break a}e=e+4|0;f=w(i,10)+f|0;d=d+ -1|0;if(d){continue}break}}return h|0}function kl(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;h=Da+ -64|0;Da=h;w=q[b+12>>2];r=q[b+4>>2];c=w-r|0;k=c;i=c>>31;x=q[b+28>>2];d=x-r|0;c=d;j=c;m=c>>31;c=V$(k,i,c,m);e=Ea;a:{b:{g=c;y=q[b+8>>2];s=q[b>>2];c=y-s|0;n=c;t=c>>31;z=q[b+24>>2];f=z-s|0;c=f;o=c;p=c>>31;l=V$(n,t,c,p);g=g+l|0;c=Ea+e|0;c=g>>>0>>0?c+1|0:c;e=q[a>>2];f=f>>31;f=o+f^f;d=d>>31;d=j+d^d;l=V$(e,e>>31,(f|0)>(d|0)?f:d,0);e=l;B=0-e|0;d=c;f=Ea;A=0-(f+(0>>0)|0)|0;e=A;if((c|0)<(e|0)?1:(c|0)<=(e|0)?g>>>0>=B>>>0?0:1:0){break b}c=f;e=V$(j,m,j,m);u=Ea;C=g;v=V$(o,p,o,p);e=v+e|0;g=Ea+u|0;g=e>>>0>>0?g+1|0:g;u=e;e=e+l|0;c=c+g|0;c=e>>>0>>0?c+1|0:c;u=e;g=c;if((d|0)>(c|0)?1:(d|0)>=(c|0)?C>>>0<=e>>>0?0:1:0){break b}c=V$(k,i,o,p);d=Ea;e=V$(j,m,n,t);n=d;d=c;c=n-(Ea+(c>>>0>>0)|0)|0;i=d-e|0;e=c;d=c>>31;c=c>>31;k=d+e|0;i=c+i|0;if(i>>>0>>0){k=k+1|0}e=(c^i)>>>0<=l>>>0?0:1;c=d^k;if((c|0)>(f|0)?1:(c|0)>=(f|0)?e:0){break b}c=q[b+20>>2]-r|0;e=c;k=c>>31;c=V$(c,k,j,m);i=Ea;d=c;c=q[b+16>>2]-s|0;n=c;t=c>>31;v=V$(c,t,o,p);d=d+v|0;c=Ea+i|0;i=d;c=d>>>0>>0?c+1|0:c;if(((c|0)<(A|0)?1:(c|0)<=(A|0)?i>>>0>=B>>>0?0:1:0)|((c|0)>(g|0)?1:(c|0)>=(g|0)?i>>>0<=u>>>0?0:1:0)){break b}c=V$(e,k,o,p);d=Ea;g=V$(j,m,n,t);e=d;d=c;c=e-(Ea+(c>>>0>>0)|0)|0;j=d-g|0;g=c;d=c>>31;c=c>>31;e=d+g|0;j=c+j|0;if(j>>>0>>0){e=e+1|0}g=(c^j)>>>0<=l>>>0?0:1;c=d^e;if((c|0)>(f|0)?1:(c|0)>=(f|0)?g:0){break b}b=jl(a,s,r,z,x);break a}c=q[b+16>>2];d=q[b+20>>2];f=d+x|0;q[h+44>>2]=f>>1;d=(d+w|0)+2|0;f=d+f|0;q[h+36>>2]=f>>2;e=d;d=r+w|0;g=e+d|0;q[h+20>>2]=g>>2;q[h+28>>2]=(f+g|0)+ -1>>3;q[h+12>>2]=d>>1;d=s+y|0;q[h+8>>2]=d>>1;f=c+z|0;q[h+40>>2]=f>>1;c=(c+y|0)+2|0;f=c+f|0;q[h+32>>2]=f>>2;c=c+d|0;q[h+16>>2]=c>>2;q[h+24>>2]=(c+f|0)+ -1>>3;c=q[b+4>>2];q[h>>2]=q[b>>2];q[h+4>>2]=c;c=q[b+28>>2];q[h+48>>2]=q[b+24>>2];q[h+52>>2]=c;b=0;if(!kl(a,h)){break a}b=kl(a,h+24|0)}Da=h- -64|0;return b}function Qy(a,b){a=a|0;b=b|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,r=0,t=0;d=Da-48|0;Da=d;i=q[b+28>>2];q[d+20>>2]=q[b+8>>2];r=d,t=Hb(b,d+4|0),q[r+8>>2]=t;c=q[d+4>>2];a:{if(c){break a}c=mb(b,163456,d+8|0);q[d+4>>2]=c;if(c){break a}c=1330926671;b:{c:{if(q[d+8>>2]!=1330926671){e=q[d+20>>2];c=Xa(b,e+12|0);q[d+44>>2]=c;d:{if(c){break d}n=d;e:{f:{g:{if(s[d+12>>1]){k=e+28|0;e=0;while(1){h:{c=mb(b,163488,d+24|0);q[d+44>>2]=c;if(c){p[d+12>>1]=e+ -1;break h}l=q[b+4>>2];g=q[d+32>>2];i:{if(l>>>0>>0){break i}c=q[d+24>>2];m=q[d+36>>2];if((c|0)!=1752003704?!((c|0)==1986884728|m>>>0<=l-g>>>0):0){break i}f=f+1|0;j:{if((c|0)<=1651008867){if((c|0)==1296389185){break j}if((c|0)!=1397313095){break i}o=1;break i}if((c|0)!=1651008868?(c|0)!=1751474532:0){break i}if(m>>>0<=53){break f}c=Xa(b,g+12|0);q[d+44>>2]=c;if(c){break d}Hb(b,d+44|0);c=q[d+44>>2];if(c){break d}c=Xa(b,k+(e<<4)|0);q[d+44>>2]=c;j=1;if(!c){break i}break d}h=1}e=e+1|0;if(e>>>0>1]){continue}}break}if(f&65535){break g}}c=2;break e}if(j){break c}if(!o){break f}if(h){break c}}c=142}q[n+44>>2]=c}q[d+4>>2]=c;break a}f=s[d+12>>1];if(f){break b}c=2;q[d+4>>2]=2;break a}q[d+4>>2]=0;c=q[d+8>>2]}q[a+148>>2]=c;p[a+152>>1]=f;r=a,t=Oa(i,16,0,f&65535,0,d+4|0),q[r+156>>2]=t;c=q[d+4>>2];if(c){break a}c=Xa(b,q[d+20>>2]+12|0);q[d+4>>2]=c;if(c){break a}c=lb(b,s[d+12>>1]<<4);q[d+4>>2]=c;if(c){break a}k:{if(!s[d+12>>1]){f=0;break k}i=0;f=0;while(1){h=fc(b);l=fc(b);g=fc(b);j=fc(b);c=q[b+4>>2];l:{if(c>>>0>>0){break l}c=c-g|0;if(j>>>0>c>>>0){if((h|0)!=1752003704?(h|0)!=1986884728:0){break l}j=c&-4}k=q[a+156>>2];e=f&65535;m:{if(!e){e=0;break m}c=0;while(1){if((h|0)==q[k+(c<<4)>>2]){break l}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=k+(e<<4)|0;q[c+12>>2]=j;q[c+8>>2]=g;q[c+4>>2]=l;q[c>>2]=h;f=f+1|0}i=i+1|0;if((i&65535)>>>0>1]){continue}break}}p[a+152>>1]=f;jb(b);c=q[d+4>>2]}Da=d+48|0;return c|0}function FB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,w=0,x=0;g=Da-16|0;Da=g;j=q[b+16>>2];k=q[b+8>>2];n[q[b+28>>2]](b);a:{b:{c:{d:{d=q[b>>2];if(d>>>0>>0){q[b>>2]=d+1;if(r[d|0]==91){break d}}c=3;q[g+12>>2]=3;break c}n[q[b+28>>2]](b);e:{f:{f=q[b>>2];g:{if(f>>>0>=k>>>0){break g}while(1){h:{i:{j:{d=r[f|0];if((d|0)!=60){if((d|0)!=93){break j}q[b>>2]=f+1;break b}if(l?0:h){break e}n[q[b+32>>2]](b);if(q[b+12>>2]){break b}c=q[b>>2];d=(c+(f^-1)|0)/2|0;if(c-f>>>0<=2){break g}h=Oa(j,1,t,d,h,g+12|0);c=q[g+12>>2];if(c){break c}q[b>>2]=f;l=1;n[q[b+44>>2]](b,h,d,g+8|0,1)|0;i=q[g+8>>2];break i}if(d+ -48>>>0>9){d=t;break i}if(l){break g}i=n[q[b+36>>2]](b)|0;if((i|0)<=-1){break e}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}d=q[b>>2];h=d+1|0;if(k-d>>>0<=i>>>0){break e}q[b>>2]=(d+i|0)+1;l=0;break h}if(!h){break f}t=d}if(i&1){d=i+ -1|0;i=r[d+h|0]?i:d}if(!i){break g}d=k-q[b>>2]|0;p=0;while(1){if(e>>>0<=2){k:{l:{switch(e-1|0){default:e=0;if((m|0)<12){break k}c=q[a+496>>2];s=(r[c+4|0]<<4)+r[c+5|0]|0;f=s<<4|12;q[a+500>>2]=f;if((d|0)<(f|0)){break g}w=a,x=Oa(j,1,12,f,c,g+12|0),q[w+496>>2]=x;c=q[g+12>>2];if(c){break c};case 0:e=1;c=q[a+500>>2];if((m|0)<(c|0)){break k}u=q[a+496>>2];if((s|0)>=1){v=u+24|0;f=0;while(1){e=(f<<4)+v|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>>0|(c|0)>(d-e|0)){break g}c=(e+3&-4)+c|0;q[a+500>>2]=c;f=f+1|0;if((s|0)!=(f|0)){continue}break}}w=a,x=Oa(j,1,s<<4|12,c+1|0,u,g+12|0),q[w+496>>2]=x;c=q[g+12>>2];if(c){break c}break;case 1:break l}}e=2;if((m|0)>=q[a+500>>2]){break g}}o[q[a+496>>2]+m|0]=r[h+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(i|0)){continue}break}n[q[b+28>>2]](b);f=q[b>>2];if(f>>>0>>0){continue}break}}c=3;q[g+12>>2]=3;break c}c=3;q[g+12>>2]=3;h=0;break c}c=3;q[g+12>>2]=3;l=0}q[b+12>>2]=c}if(!l){break a}if(h){n[q[j+8>>2]](j,h)}}Da=g+16|0}function Bm(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;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<4){break a}if(!Av(a+2|0,b,a)){break a}o=(r[a+7|0]|r[a+6|0]<<8)+a|0;k=(r[a+5|0]|r[a+4|0]<<8)+a|0;h=r[a+1|0]|r[a|0]<<8;while(1){b:{if(!(d&1)){c=i;break b}c:{if(!h){c=0-j|0;g=0;break c}d=0;c=4294967295/(h>>>0)|0;if(c>>>0<=j>>>0){break a}g=c;c=0-j|0;if(g>>>0<=c>>>0){break a}g=w(h,j)}e=g+k|0;c=w(c,h);d:{if(!c){c=q[b+12>>2];break d}d=0;if(t[b+4>>2]>e>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0>>0){break a}f=q[b+12>>2];c=f+ -1|0;q[b+12>>2]=c;if((f|0)<1){break a}}c=(j-l|0)+c|0;q[b+12>>2]=c;d=0;if((c|0)<1|(g|0)>0){break a}c=i;l=j;d=k;if(e>>>0>=d>>>0){break b}while(1){d=d+ -1|0;l=r[d|0];c=c>>>0>l>>>0?c:l+1|0;if(e>>>0>>0){continue}break}l=j}if((m|0)<=(n|0)){g=n+1|0;if(!(!h|4294967295/(h>>>0)>>>0>g>>>0)){return 0}f=w(h,g);e:{if(!f){e=q[b+12>>2];break e}d=0;if(t[b+4>>2]>k>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-k>>>0>>0){break a}p=q[b+12>>2];e=p+ -1|0;q[b+12>>2]=e;if((p|0)<1){break a}}e=((n^-1)+m|0)+e|0;q[b+12>>2]=e;d=0;if((e|0)<1|((f|0)<0|4294967295/(h>>>0)>>>0<=g>>>0?h:0)){break a}d=w(h,m);if((d|0)<(f|0)){m=f+k|0;d=d+k|0;while(1){e=r[d|0];c=c>>>0>e>>>0?c:e+1|0;d=d+1|0;if(d>>>0>>0){continue}break}}m=g}d=0;if(c>>>0>1073741822){break a}g=c<<2;f:{if(!c){e=q[b+12>>2];break f}if(t[b+4>>2]>o>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-o>>>0>>0){break a}f=q[b+12>>2];e=f+ -1|0;q[b+12>>2]=e;if((f|0)<1){break a}}e=(i-c|0)+e|0;q[b+12>>2]=e;if((e|0)<1){break a}if((i|0)<(c|0)){g=g+o|0;d=(i<<2)+o|0;e=r[a+1|0]|r[a|0]<<8;f=r[a+5|0]|r[a+4|0]<<8;while(1){i=((r[d+1|0]|r[d|0]<<8)-f|0)/(e|0)|0;n=(n|0)<(i|0)?i:n;j=(j|0)>(i|0)?i:j;d=d+4|0;if(d>>>0>>0){continue}break}}i=c;d=(j|0)<(l|0);if(d|(m|0)<=(n|0)){continue}break}d=1}return d}function BA(a,b,c){var d=0;d=1;a:{if(c>>>0>4){break a}b:{c:{d:{switch(c-1|0){default:b=s[b>>1]<<16;p[a>>1]=b;p[a+2>>1]=b>>>16;break a;case 0:c=s[b+2>>1];d=s[b>>1];if(c>>>0>d>>>0){c=d<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;b=s[b+2>>1]<<16|1;p[a+4>>1]=b;p[a+6>>1]=b>>>16;d=2;break a}c=c<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;b=s[b>>1]<<16|1;p[a+4>>1]=b;p[a+6>>1]=b>>>16;d=2;break a;case 1:c=s[b>>1]<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1];d=s[b+2>>1];if(c>>>0>d>>>0){c=d<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+4>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4;break a}c=c<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+2>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4;break a;case 2:d=s[b+2>>1];c=s[b>>1];e:{if(d>>>0>=c>>>0){d=c;break e}p[b>>1]=d;p[b+2>>1]=c}c=s[b+4>>1];if(c>>>0>>0){break c}c=d;break b;case 3:break d}}c=s[b+6>>1];d=s[b+4>>1];if(c>>>0>>0){p[b+4>>1]=c;p[b+6>>1]=d}c=s[b>>1]<<16|1;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1]<<16|3;p[a+12>>1]=c;p[a+14>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+16>>1]=c;p[a+18>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+20>>1]=c;p[a+22>>1]=c>>>16;c=s[b>>1]<<16|1;p[a+24>>1]=c;p[a+26>>1]=c>>>16;b=s[b+6>>1]<<16|3;p[a+28>>1]=b;p[a+30>>1]=b>>>16;d=8;break a}p[b>>1]=c;p[b+4>>1]=d}d=s[b+6>>1];if(d>>>0>>0){p[b>>1]=d;p[b+6>>1]=c}d=s[b+4>>1];c=s[b+2>>1];f:{if(d>>>0>=c>>>0){d=c;break f}p[b+2>>1]=d;p[b+4>>1]=c}c=s[b+6>>1];if(c>>>0>>0){p[b+2>>1]=c;p[b+6>>1]=d}c=s[b+6>>1];d=s[b+4>>1];if(c>>>0>>0){p[b+4>>1]=c;p[b+6>>1]=d}c=s[b>>1]<<16|2;p[a>>1]=c;p[a+2>>1]=c>>>16;c=s[b+2>>1]<<16|2;p[a+8>>1]=c;p[a+10>>1]=c>>>16;c=s[b+4>>1]<<16|2;p[a+4>>1]=c;p[a+6>>1]=c>>>16;b=s[b+6>>1]<<16|2;p[a+12>>1]=b;p[a+14>>1]=b>>>16;d=4}if((d|0)!=256){while(1){b=d<<2;Qa(b+a|0,a,b);d=d<<1;if((d|0)!=256){continue}break}}return 256}function tW(a,b,c,d){var e=0,f=0,g=x(0),h=0,i=0,j=x(0),k=0,l=0,m=0,n=0,o=0;h=Da-16|0;Da=h;e=q[a>>2];e=e?e:271312;e=t[e+16>>2]<8?271312:q[e+12>>2];f=0;a:{if(!(r[e|0]<<8|r[e+1|0])){break a}q[h+12>>2]=0;q[h+8>>2]=0;q[h+4>>2]=0;k=QV(RV(a,b),c,q[a>>2],h+12|0,h+8|0,q[a+4>>2],h+4|0);a=q[k+12>>2];f=q[k+16>>2];c=q[h+12>>2];q[d>>2]=c;e=f>>>0<29?271312:a;a=e+20|0;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=q[h+8>>2]+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;q[d+4>>2]=a;f=r[e+16|0]|r[e+17|0]<<8|(r[e+18|0]<<16|r[e+19|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);q[d+8>>2]=f;e=r[e+20|0]|r[e+21|0]<<8|(r[e+22|0]<<16|r[e+23|0]<<24);e=0-(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))|0;q[d+12>>2]=e;o=d;i=q[h+4>>2];b:{if(i){a=q[b+16>>2];f=q[a+28>>2];if(!f){f=xb(a);c=q[d>>2];a=q[b+16>>2]}j=x(x(f>>>0)/x(i>>>0));g=x(x(j*x(c|0))*x(q[b+20>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));c:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+4>>2]))*x(q[b+24>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));d:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+8>>2]))*x(q[b+20>>2]));c=q[a+28>>2];if(!c){c=xb(a);a=q[b+16>>2]}f=d;g=x(J(x(x(g/x(c>>>0)))));e:{if(x(y(g))>2]=c;g=x(x(j*x(q[d+12>>2]))*x(q[b+24>>2]));b=q[a+28>>2];if(!b){b=xb(a)}j=x(J(x(x(g/x(b>>>0)))));if(x(y(j))>2];l=i;m=q[b+32>>2];i=c<<16;c=i>>31;c=V$(m,l,i>>16,c);q[d>>2]=(Ea&65535)<<16|c>>>16;i=q[b+40>>2];n=q[b+44>>2];b=f<<16;c=b>>31;b=V$(m,l,b>>16,c);q[d+8>>2]=(Ea&65535)<<16|b>>>16;b=a<<16;c=b>>31;a=V$(i,n,b>>16,c);q[d+4>>2]=(Ea&65535)<<16|a>>>16;b=e<<16;c=b>>31;a=V$(i,n,b>>16,c);a=(Ea&65535)<<16|a>>>16}q[o+12>>2]=a;Pa(k);f=q[h+4>>2]!=0}Da=h+16|0;return f}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;i=q[(c?16:12)+b>>2];f=q[(c?8:4)+b>>2];b=w(c,9516)+a|0;d=b+9552|0;a:{if((i|0)==q[b+9556>>2]?(f|0)==q[d>>2]:0){break a}q[d>>2]=f;q[b+9556>>2]=i;d=q[a+9776>>2];b:{if(!d){break b}b=0;while(1){if(!(r[(w(b,36)+a|0)+9812|0]&16)){b=b+1|0;if(b>>>0>>0){continue}break b}break}b=Ma(q[(w(b,36)+a|0)+9792>>2],f);if((c|0)!=1){break b}d=q[q[a+36>>2]+20>>2];e=s[q[q[a+4>>2]+88>>2]+12>>1];d=b+(d?e>>>0>5?d>>>0>=e>>>0?52:40:40:40)&-64;if((d|0)==(b|0)){break b}e=bb(f,d,b);b=q[a+40>>2];g=q[a+9776>>2];if(g){d=0;while(1){h=w(d,36)+a|0;k=q[h+9804>>2];b=(b|0)>(k|0)?b:k;h=0-q[h+9808>>2]|0;b=(b|0)>(h|0)?b:h;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e-f|0;g=Ma(b,d);b=Ma(b,d);f=((g|0)<0?0-b|0:b)>>>0<128?e:f}b=w(c,9516)+a|0;q[b+48>>2]=i;q[b+44>>2]=f;c:{if(!c){q[a+8>>2]=f;b=a+16|0;break c}q[a+12>>2]=f;b=a+20|0}q[b>>2]=i;d=w(c,9516)+a|0;h=d;if(q[d+52>>2]){b=0;while(1){e=d+w(b,12)|0;g=Ma(q[e+56>>2],f);q[e- -64>>2]=g;q[e+60>>2]=g;b=b+1|0;if(b>>>0>2]){continue}break}}l=d,m=(Ma(q[d+252>>2],f)|0)<40,o[l+256|0]=m;if(!q[a+9776>>2]|(c|0)!=1){break a}d=0;while(1){b=w(d,36)+a|0;e=b+9788|0;c=b+9780|0;g=Ma(q[c>>2],f)+i|0;q[e>>2]=g;h=b+9784|0;q[h>>2]=g;g=b+9800|0;k=b+9792|0;j=Ma(q[k>>2],f)+i|0;q[g>>2]=j;q[b+9796>>2]=j;b=b+9812|0;q[b>>2]=q[b>>2]&-2;c=Ma(q[c>>2]-q[k>>2]|0,f);if(c+48>>>0<=96){j=e;e=q[h>>2]+32&-64;q[j>>2]=e;j=e;e=c>>31;e=e+c^e;e=(e|0)<32?0:(e|0)<48?32:64;q[g>>2]=j-((c|0)<0?0-e|0:e);q[b>>2]=q[b>>2]|1}d=d+1|0;c=q[a+9776>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=w(f,36)+a|0;i=b+9812|0;e=q[i>>2];d:{if((e&5)!=5){break d}g=b+9788|0;h=b+9800|0;b=0;while(1){d=w(b,36)+a|0;if(!(q[d+9800>>2]>=q[g>>2]?!((q[d+9812>>2]&5)!=1|q[d+9788>>2]>q[h>>2]):0)){b=b+1|0;if((c|0)!=(b|0)){continue}break d}break}q[i>>2]=e&-2}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function iq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;f=c-b|0;a:{if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{g=r[b|0];e=g+ -216|0;if(e>>>0>39){if(g){break f}e=r[b+1|0];i=r[(e+a|0)+72|0]+ -5|0;if(i>>>0>25){break d}h:{switch(i-1|0){case 0:h=-2;if((f|0)>=3){break d}break a;case 16:case 18:break c;case 23:break e;case 1:break g;case 3:case 4:case 15:case 24:break h;default:break d}}q[d>>2]=b;return 22}i:{switch(e-4|0){case 35:break i;case 0:case 1:case 2:case 3:break d;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:break f;default:break g}}e=r[b+1|0];if(e>>>0<=253){break e}break d}h=-2;if((f|0)>=4){break d}break a}e=r[b+1|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){j:{k:{l:{m:{n:{g=r[b+2|0];a=g+ -216|0;if(a>>>0>39){if(g){break m}a=r[b+3|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break j}o:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break j}break a;case 16:case 18:case 19:case 20:case 21:break k;case 23:break l;case 1:break n;case 12:break o;default:break j}}q[d>>2]=b+4;return 28}p:{switch(a-4|0){case 0:case 1:case 2:case 3:break j;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:break m;case 35:break p;default:break n}}a=r[b+3|0];if(a>>>0<=253){break l}break j}h=-2;if((f|0)>=4){break j}break a}a=r[b+3|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break j}}b=e;e=b+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function Bw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=q[b+4>>2];b=r[c+2|0];if(b&32){q[a+44>>2]=0}a:{if(!(b&128)){break a}b=q[a+44>>2];if(b>>>0<=7){d=q[f+72>>2];q[a+44>>2]=b+1;q[((b<<2)+a|0)+12>>2]=d;break a}q[a+44>>2]=0}g=r[c+5|0]|r[c+4|0]<<8;b:{if((g|0)==65535){break b}c=q[a+44>>2];if(!c){break b}c:{b=q[a+4>>2];b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=b>>>0>1?b:1;d:{if(4294967295/(d>>>0)>>>0<=c>>>0){break d}h=w(c,d);if(h>>>0>2147483646){break d}g=q[a+8>>2]+(g&65534)|0;b=q[a>>2];if(!h){break c}if(t[b+20>>2]>g>>>0){break d}e=q[b+24>>2];if(e>>>0>>0|e-g>>>0>>0){break d}h=q[b+28>>2];q[b+28>>2]=h+ -1;if((h|0)>0){break c}}q[a+44>>2]=0;break b}h=q[q[b>>2]+132>>2];i=d<<1;while(1){c=c+ -1|0;q[a+44>>2]=c;b=q[((c<<2)+a|0)+12>>2];if(b>>>0>2]){c=r[g|0]|r[g+1|0]<<8;d=(c<<24|c<<8&16711680)>>16;j=d&1;c=q[f+96>>2];d=d&-2;e:{if((d|0)==-32768){b=c+w(b,20)|0;p[b+16>>1]=0;q[b+8>>2]=0;q[b+12>>2]=0;o[b+18|0]=0;break e}e=r[a+48|0];if((q[f+48>>2]&-2)==4){if(e){b=c+w(b,20)|0;if(!r[b+18|0]|q[b+12>>2]){break e}c=b;b=q[q[a>>2]+4>>2];b=V$(q[b+40>>2],q[b+44>>2],d,d>>31);q[c+12>>2]=(Ea&65535)<<16|b>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}b=w(b,20);if(!(h&q[(b+q[f+88>>2]|0)+4>>2])){break e}b=b+c|0;if(q[b+8>>2]){break e}e=q[q[a>>2]+4>>2];d=V$(q[e+32>>2],q[e+36>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[b>>2]=d+q[b>>2];q[b+8>>2]=d;break e}if(e){b=c+w(b,20)|0;if(!r[b+18|0]|q[b+8>>2]){break e}c=b;b=q[q[a>>2]+4>>2];b=V$(q[b+32>>2],q[b+36>>2],d,d>>31);q[c+8>>2]=(Ea&65535)<<16|b>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}b=w(b,20);if(!(h&q[(b+q[f+88>>2]|0)+4>>2])){break e}b=b+c|0;if(q[b+12>>2]){break e}e=q[q[a>>2]+4>>2];d=V$(q[e+40>>2],q[e+44>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[b+4>>2]=d+q[b+4>>2];q[b+12>>2]=d}if(j){break b}c=q[a+44>>2]}g=g+i|0;if(c){continue}break}}}function mq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=-1;f=c-b|0;a:{if((f|0)<2){break a}b:{c:{d:{e:{f:{g:{g=r[b+1|0];e=g+ -216|0;if(e>>>0>39){if(g){break f}e=r[b|0];i=r[(e+a|0)+72|0]+ -5|0;if(i>>>0>25){break d}h:{switch(i-1|0){case 0:h=-2;if((f|0)>=3){break d}break a;case 16:case 18:break c;case 23:break e;case 1:break g;case 3:case 4:case 15:case 24:break h;default:break d}}q[d>>2]=b;return 22}i:{switch(e-4|0){case 35:break i;case 0:case 1:case 2:case 3:break d;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:break f;default:break g}}e=r[b|0];if(e>>>0<=253){break e}break d}h=-2;if((f|0)>=4){break d}break a}e=r[b|0]}if(q[(e>>>3&28|r[g+492528|0]<<5)+490512>>2]>>>(e&31)&1){break c}}q[d>>2]=b;break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}i=a+72|0;while(1){j:{k:{l:{m:{n:{g=r[b+3|0];a=g+ -216|0;if(a>>>0>39){if(g){break m}a=r[e|0];j=r[i+a|0]+ -5|0;if(j>>>0>24){break j}o:{switch(j-1|0){case 0:h=-2;if((f|0)>=3){break j}break a;case 16:case 18:case 19:case 20:case 21:break k;case 23:break l;case 1:break n;case 12:break o;default:break j}}q[d>>2]=b+4;return 28}p:{switch(a-4|0){case 0:case 1:case 2:case 3:break j;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:break m;case 35:break p;default:break n}}a=r[e|0];if(a>>>0<=253){break l}break j}h=-2;if((f|0)>=4){break j}break a}a=r[e|0]}if(!(q[(a>>>3&28|r[g+492784|0]<<5)+490512>>2]>>>(a&31)&1)){break j}}b=e;e=e+2|0;f=c-e|0;if((f|0)>1){continue}break a}break}q[d>>2]=e}h=0}return h}function uk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;a:{if(!q[a+64>>2]){i=1;e=q[a+80>>2];if(!e){break a}q[f+12>>2]=c;if(!r[b+68|0]){b:{if(q[a+144>>2]==(b|0)){c=a+284|0;e=a+288|0;break b}c=q[a+296>>2];e=c+4|0}while(1){q[f+8>>2]=q[a+44>>2];g=n[q[b+56>>2]](b,f+12|0,d,f+8|0,q[a+48>>2])|0;q[e>>2]=q[f+12>>2];h=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],h,q[f+8>>2]-h|0);q[c>>2]=q[f+12>>2];if(g>>>0>1){continue}break}break a}n[e](q[a+4>>2],c,d-c|0);break a}c=(q[b+64>>2]<<1)+c|0;i=n[q[b+28>>2]](b,c)|0;q[f+12>>2]=c;g=a+412|0;c:{e=a+424|0;d:{if(!q[e>>2]){if(!Ya(g)){break d}}h=c+i|0;while(1){if(n[q[b+56>>2]](b,f+12|0,h,e,q[a+420>>2])>>>0<2){break c}if(Ya(g)){continue}break}}i=0;break a}i=0;if(!q[a+428>>2]){break a}c=q[a+424>>2];if((c|0)==q[a+420>>2]){if(!Ya(g)){break a}c=q[e>>2]}q[a+424>>2]=c+1;o[c|0]=0;j=q[a+428>>2];if(!j){break a}q[a+428>>2]=q[a+424>>2];c=n[q[b+32>>2]](b,h)|0;h=q[b+64>>2];q[f+12>>2]=c;if(!q[a+424>>2]){if(!Ya(g)){break a}}c=d-(h<<1)|0;while(1){if(n[q[b+56>>2]](b,f+12|0,c,e,q[a+420>>2])>>>0>=2){if(Ya(g)){continue}break a}break}if(!q[a+428>>2]){break a}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(g)){break a}b=q[e>>2]}q[a+424>>2]=b+1;o[b|0]=0;e=q[a+428>>2];if(!e){break a}b=e;e:{while(1){f:{g:{c=r[b|0];if(c>>>0>13){break g}d=b;switch(c-1|0){case 12:break f;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break g;default:break e}}b=b+1|0;continue}break}while(1){h:{if((c&255)==13){o[d|0]=10;b=r[b+1|0]==10?b+2|0:b+1|0;break h}o[d|0]=c;b=b+1|0}d=d+1|0;c=r[b|0];if(c){continue}break}o[d|0]=0}n[q[a+64>>2]](q[a+4>>2],j,e);d=q[a+416>>2];i:{if(!d){q[a+416>>2]=q[a+412>>2];break i}b=q[g>>2];if(!b){break i}while(1){c=q[b>>2];q[b>>2]=d;q[a+416>>2]=b;d=b;b=c;if(b){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;i=1}Da=f+16|0;return i}function kg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,w=0,x=0;g=Da-160|0;Da=g;a:{if(r[a+52|0]){v[a+80>>3]=d;v[a+88>>3]=e;o[a+52|0]=0;q[a+56>>2]=0;q[a+60>>2]=0;f=q[a+84>>2];q[a+64>>2]=q[a+80>>2];q[a+68>>2]=f;f=q[a+92>>2];q[a+72>>2]=q[a+88>>2];q[a+76>>2]=f;q[a+96>>2]=b;q[a+100>>2]=c;h=1;break a}h=1;p=v[a+80>>3];s=v[a+88>>3];l=p*d+s*e;if(!!(l>v[a+112>>3])){n=s+e;e=1/(l+1);v[a+88>>3]=n*e;v[a+80>>3]=e*(p+d);break a}v[a+88>>3]=e;v[a+80>>3]=d;m=p*e-s*d<0?1:2;b:{if(!(m&f)){break b}t=m&(q[a+60>>2]^-1);i=s*v[a+24>>3];c:{if(y(i)<2147483648){j=~~i;break c}j=-2147483648}h=t&1;i=p*v[a+16>>3];d:{if(y(i)<2147483648){k=~~i;break d}k=-2147483648}if(h){q[g+36>>2]=c+j;q[g+32>>2]=b+k;x=q[a>>2];h=q[g+36>>2];q[g+24>>2]=q[g+32>>2];q[g+28>>2]=h;h=0;if(!qb(x,g+24|0,1)){break a}}if(t&2){q[g+36>>2]=c-j;q[g+32>>2]=b-k;j=q[a+4>>2];k=q[g+36>>2];q[g+16>>2]=q[g+32>>2];q[g+20>>2]=k;h=0;if(!qb(j,g+16|0,1)){break a}}i=v[a+24>>3]*0;e:{if(y(i)<2147483648){j=~~i;break e}j=-2147483648}h=m&1;i=v[a+16>>3]*0;f:{if(y(i)<2147483648){k=~~i;break f}k=-2147483648}if(h){q[g+36>>2]=c+j;q[g+32>>2]=b+k;t=q[a>>2];h=q[g+36>>2];q[g+8>>2]=q[g+32>>2];q[g+12>>2]=h;h=0;if(!qb(t,g+8|0,1)){break a}}if(!(m&2)){break b}q[g+36>>2]=c-j;q[g+32>>2]=b-k;j=q[a+4>>2];k=q[g+36>>2];q[g>>2]=q[g+32>>2];q[g+4>>2]=k;h=0;if(!qb(j,g,1)){break a}}q[a+60>>2]=m;j=(m^-1)&f;if(!j){h=1;break a}if(!(l<0)){f=1}else{i=(j&2?-.7071067811865476:.7071067811865476)/E(1-l);u=(p-d)*i;w=(e-s)*i;l=E(B(l*.5+.5,0));f=0}i=l+1;n=l;l=v[a+120>>3];g:{if(!(n>3]=n;n=i*n;i=n+1;h=h+ -1|0;if(!h){break g}if(n>3]=1/i;m=15-h|0;if(f){h=Ae(a,b,c,p,s,d,e,k,m,j);break a}h=0;if(!Ae(a,b,c,p,s,w,u,k,m,j)){break a}h=Ae(a,b,c,w,u,d,e,k,m,j)}Da=g+160|0;return h}function qA(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=q[a+212>>2];if(i>>>0>=2){g=q[a+172>>2];f=q[a+168>>2]+5056|0;d=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;h=d>>>b|0;f=f+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;h=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;c=g+3168|0;g=d>>>b|0;f=c+((g&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&g>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;e=s[f+2>>1];c=e<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((e|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];g=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=d|g<<16;q[a+8>>2]=d}q[a+12>>2]=b+f;e=q[(f<<2)+153552>>2]&d>>>b;break a}b:{c:{if(b>>>0<=15){e=b+16|0;q[a+12>>2]=e;c=d>>>b&65535;j=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];c=r[e|0]|r[e+1|0]<<8;j=q[a+20>>2]+ -2|0;q[a+20>>2]=j;b=e+2|0;q[a+16>>2]=b;e=g+16|0;q[a+12>>2]=e;d=d|c<<16;q[a+8>>2]=d;c=d>>>g&65535;if(g>>>0>4294967279){break b}}e=e^16;q[a+12>>2]=e;d=d>>>16|0;q[a+8>>2]=d;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=j+ -2;q[a+16>>2]=b+2;d=d|g<<16;q[a+8>>2]=d}b=f+ -16|0;q[a+12>>2]=b+e;e=(q[(b<<2)+153552>>2]&d>>>e)<<16|c}q[k+200>>2]=l+e;d:{if(h>>>0<=1){c=q[a+236>>2]+1|0;if(!(h-1)){break d}c=q[a+232>>2];break d}c=h+ -2|0}q[a+232>>2]=q[a+236>>2];c=c-(c>>>0>>0?0:i)|0;q[a+236>>2]=c;c=q[a+252>>2]+(c<<2)|0;q[a+116>>2]=c;o[a+260|0]=r[c+q[a+180>>2]|0]}}function Gx(a,b){var c=0,d=x(0),e=0,f=0,g=0,h=x(0),i=0,j=0,k=0,l=0;d=u[q[b+4>>2]+56>>2];if(d<=x(0)){return}k=q[q[b>>2]+136>>2];g=q[b+12>>2];a:{if((q[g+48>>2]&-2)==4){c=r[a+7|0]|r[a+6|0]<<8;f=$m(c?c+a|0:271312,a,d);a=q[b+4>>2];h=x(q[a+20>>2]);d=x(x((f|0)/2|0)*h);a=q[a+16>>2];c=q[a+28>>2];if(!c){c=xb(a);b=q[b+4>>2];a=q[b+16>>2];h=x(q[b+20>>2])}d=x(J(x(x(d/x(c>>>0)))));b:{if(x(y(d))>2];if(!b){b=xb(a)}d=x(J(x(x(d/x(b>>>0)))));c:{if(x(y(d))>2];if(!e){break a}c=e+ -1|0;b=q[g+88>>2];a=0;while(1){d:{if((a|0)==(c|0)){a=e;break d}a=a+1|0;if(r[(b+w(a,20)|0)+16|0]&128){continue}}break}l=q[g+88>>2];c=0;while(1){b=w(c,20);if(q[(b+l|0)+4>>2]&k){b=b+q[g+96>>2]|0;q[b>>2]=f+q[b>>2];q[b+8>>2]=i+q[b+8>>2]}b=a+1|0;c=e>>>0>b>>>0?e:b;b=a;while(1){e:{b=b+1|0;if(b>>>0>=e>>>0){b=c;break e}if(r[(l+w(b,20)|0)+16|0]&128){continue}}break}j=a>>>0>>0;c=a;a=b;if(j){continue}break}break a}c=r[a+9|0]|r[a+8|0]<<8;f=$m(c?c+a|0:271312,a,d);a=q[b+4>>2];h=x(q[a+24>>2]);d=x(x((f|0)/2|0)*h);a=q[a+16>>2];c=q[a+28>>2];if(!c){c=xb(a);b=q[b+4>>2];a=q[b+16>>2];h=x(q[b+24>>2])}d=x(J(x(x(d/x(c>>>0)))));f:{if(x(y(d))>2];if(!b){b=xb(a)}d=x(J(x(x(d/x(b>>>0)))));g:{if(x(y(d))>2];if(!e){break a}c=e+ -1|0;a=q[g+88>>2];b=0;while(1){h:{if((b|0)==(c|0)){b=e;break h}b=b+1|0;if(r[(a+w(b,20)|0)+16|0]&128){continue}}break}j=q[g+88>>2];c=0;while(1){a=w(c,20);if(q[(a+j|0)+4>>2]&k){a=a+q[g+96>>2]|0;q[a+4>>2]=f+q[a+4>>2];q[a+12>>2]=i+q[a+12>>2]}c=b;a=b+1|0;a=e>>>0>a>>>0?e:a;while(1){i:{b=b+1|0;if(b>>>0>=e>>>0){b=a;break i}if(r[(j+w(b,20)|0)+16|0]&128){continue}}break}if(c>>>0>>0){continue}break}}}function Zg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;q[a+168>>2]=d;k=a+168|0;q[a+48>>2]=k;g=q[a+64>>2];q[a+184>>2]=q[a+60>>2];q[a+188>>2]=g;q[a+180>>2]=c;q[a+176>>2]=b;q[a+172>>2]=e;e=k;while(1){f=q[e+20>>2];h=q[e+4>>2];b=(f|0)>(h|0);a:{i=q[e+12>>2];if(!((i|0)<=((b?f:h)|0)?(i|0)>=((b?h:f)|0):0)){b=q[e+16>>2];q[e+32>>2]=b;q[e+36>>2]=f;c=f+i|0;q[e+28>>2]=c>>1;g=h+i|0;q[e+12>>2]=g>>1;f=q[e+8>>2];i=f+d|0;q[e+8>>2]=i>>1;b=b+f|0;q[e+24>>2]=b>>1;q[e+20>>2]=c+g>>2;q[e+16>>2]=b+i>>2;q[a+48>>2]=e+16;break a}if((f|0)==(h|0)){q[a+48>>2]=e+ -16;break a}m=(f|0)<(h|0)?1:2;b=q[a+92>>2];if((m|0)!=(b|0)){c=q[a+4>>2];j=c+ -1|0;n=(f|0)>=(h|0);g=(j+f&0-c)-f|0;b:{if(!n){break b}g=f&j}l=q[a+8>>2];if(b){b=q[a+36>>2];j=q[a+80>>2];c=b-q[j+8>>2]|0;if((c|0)<=-1){q[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}q[j+16>>2]=c>>2;if((g|0)>=(l|0)){c=s[j+12>>1];p[j+12>>1]=(c&8?16:32)|c}q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c;q[b+8>>2]=c;q[b+16>>2]=0;q[j+28>>2]=b;p[a+76>>1]=s[a+76>>1]+1}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}o[a+79|0]=0}d:{if(q[a+84>>2]){c=q[a+36>>2];break d}b=q[a+36>>2];q[a+84>>2]=b;q[a+80>>2]=b;c=b+32|0;q[a+36>>2]=c}if(c>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}b=q[a+80>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=c;q[b+28>>2]=0;q[b+4>>2]=0;c=r[a+164|0];p[b+12>>1]=c;e:{if(!n){p[b+12>>1]=c|8;if((g|0)<(l|0)){break e}p[b+12>>1]=c|40;break e}if((g|0)<(l|0)){break e}p[b+12>>1]=c|16}if(!q[a+88>>2]){q[a+88>>2]=b}p[a+78>>1]=1;q[a+92>>2]=m}b=q[a+72>>2];c=q[a+68>>2];if((f|0)<(h|0)){if(!Ii(a,2,646,c,b)){break a}return 1}q[e+20>>2]=0-f;q[e+12>>2]=0-i;q[e+4>>2]=0-h;g=r[a+78|0];b=Ii(a,2,646,0-b|0,0-c|0);if(!(r[a+78|0]|!g)){c=q[a+80>>2];q[c+20>>2]=0-q[c+20>>2]}q[e+4>>2]=0-q[e+4>>2];if(!b){break a}return 1}e=q[a+48>>2];if(e>>>0>=k>>>0){d=q[e>>2];continue}break}q[a+64>>2]=h;q[a+60>>2]=d;return 0}function ND(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0;e=Da-16|0;Da=e;h=q[b+16>>2];o=q[a+492>>2];n[q[b+28>>2]](b);f=q[b>>2];a:{if(!(f>>>0>=t[b+8>>2]|r[f|0]!=91)){n[q[b+32>>2]](b);n[q[b+28>>2]](b);a=q[b>>2];if(r[a|0]==93?a>>>0>2]:0){break a}q[b+12>>2]=3;break a}f=n[q[b+36>>2]](b)|0;if((f|0)<=-1){q[b+12>>2]=3;break a}b:{d=q[b+8>>2];i=q[b>>2];c:{if(d>>>0>>0){break c}d=d-i>>3;if((f|0)<=(d|0)){break c}if(q[b+368>>2]){f=d;break c}f=gb(h,24,e+12|0);q[b+368>>2]=f;c=q[e+12>>2];if(c){break b}c=$J(f,h);q[e+12>>2]=c;f=d;if(c){break b}}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}j=b+316|0;n[q[b+28>>2]](b);if(!q[b+312>>2]){c=n[q[q[o>>2]>>2]](j,f,h)|0;q[e+12>>2]=c;if(c){break b}}d=q[b>>2];d:{if(d+4>>>0>=t[b+8>>2]){break d}i=0;while(1){if(Ra(d,9556,3)){break d}n[q[b+32>>2]](b);d=n[q[b+36>>2]](b)|0;k=q[q[a+128>>2]+52>>2];c=q[b+8>>2];n[q[b+28>>2]](b);e:{g=q[b>>2];f:{if(g>>>0>=c>>>0|r[g|0]+ -48>>>0>9){break f}g=n[q[b+36>>2]](b)|0;n[q[b+32>>2]](b);if((g|0)<0){break f}l=c;c=q[b>>2];m=c+1|0;if((g|0)<(l-m|0)){break e}}if(k){break a}q[b+12>>2]=3;break a}q[b>>2]=(c+g|0)+1;if(q[b+12>>2]){break a}n[q[b+32>>2]](b);if(q[b+12>>2]){break a}n[q[b+28>>2]](b);c=q[b>>2];g:{if(c+4>>>0>=t[b+8>>2]){break g}if(Ra(c,9560,3)){break g}n[q[b+32>>2]](b);n[q[b+28>>2]](b)}c=q[b+368>>2];if(c){di(d,i,c,h);d=i}if(!q[b+312>>2]){c=q[a+172>>2];h:{if((c|0)>=0){if(g>>>0>>0){c=3;q[e+12>>2]=3;break b}k=gb(h,g,e+12|0);c=q[e+12>>2];if(c){break b}c=Qa(k,m,g);n[q[o+16>>2]](c,g,4330);l=d;d=q[a+172>>2];p=e,s=n[q[b+360>>2]](j,l,d+c|0,g-d|0)|0,q[p+12>>2]=s;if(c){n[q[h+8>>2]](h,c)}c=q[e+12>>2];break h}c=n[q[b+360>>2]](j,d,m,g)|0;q[e+12>>2]=c}if(c){break b}}i=i+1|0;d=q[b>>2];if(d+4>>>0>2]){continue}break}}if(q[b+312>>2]){break a}q[b+312>>2]=f;break a}q[b+12>>2]=c}Da=e+16|0}function Ts(a,b){var c=0,d=0,e=0,f=0,g=0;c=Da-21616|0;Da=c;d=q[b+100>>2];Na(c+14976|4,0,2756);q[c+14976>>2]=d;q[a+7504>>2]=0;q[a+52>>2]=0;d=q[q[(q[q[a>>2]+8>>2]<<2)+284112>>2]+16>>2];e=He();f=r[d|0];a:{if(f){while(1){if((f|0)==32){while(1){f=r[d+1|0];d=d+1|0;if((f|0)==32){continue}break}}d=Ff(d,a,e,c+12|0);b:{if(t[c+12>>2]>1){break b}f=c+16|0;if(f){q[f>>2]=q[e+76>>2]}f=q[e+88>>2];Ge(e,c+16|0);if(!q[c+16>>2]){break b}f=q[f>>2];if(!f){break b}Xd(e);if(Yc(b,f,1)){break a}d=q[b+84>>2];if(p[d+110>>1]<1){break a}Na(c+16|0,0,14948);e=q[a+40>>2];q[c+32>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+24>>2]=65536;q[c+28>>2]=65536;q[c+56>>2]=e;q[c+20>>2]=b;q[c+17716>>2]=0;q[c+17724>>2]=c+16;if(bh(c+14976|0,d+108|0)){break a}q[c+12>>2]=0;if(Ef(c+14976|0,0)){break a}b=0;ah(c+14976|0,0,0,0);e=q[c+15020>>2];if((e|0)>=1){d=q[c+15028>>2];f=d+w(e,44)|0;while(1){e=q[d+20>>2];if(!(!e|e>>>0<=d>>>0|(q[e+20>>2]!=(d|0)|b>>>0>15))){g=p[d+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(b,12)+a|0)+56>>2]=e^e+g;b=b+1|0}d=d+44|0;if(d>>>0>>0){continue}break}q[c+12>>2]=b}Li(c+12|0,a+56|0,t[c+56>>2]/100|0);q[a+52>>2]=q[c+12>>2];b=0;q[c+12>>2]=0;if(Ef(c+14976|0,1)){break a}ah(c+14976|0,0,0,1);e=q[c+16368>>2];if((e|0)>=1){d=q[c+16376>>2];f=d+w(e,44)|0;while(1){e=q[d+20>>2];if(!(!e|e>>>0<=d>>>0|(q[e+20>>2]!=(d|0)|b>>>0>15))){g=p[d+2>>1]-p[e+2>>1]|0;e=g>>31;q[(w(b,12)+a|0)+7508>>2]=e^e+g;b=b+1|0}d=d+44|0;if(d>>>0>>0){continue}break}q[c+12>>2]=b}Li(c+12|0,a+7508|0,t[c+56>>2]/100|0);q[a+7504>>2]=q[c+12>>2];break a}f=r[d|0];if(f){continue}break}}Xd(e)}if(q[a+52>>2]){b=q[a+56>>2]}else{b=(w(q[a+40>>2],50)|0)/2048|0}o[a+256|0]=0;q[a+252>>2]=b;q[a+248>>2]=(b|0)/5;if(q[a+7504>>2]){b=q[a+7508>>2]}else{b=(w(q[a+40>>2],50)|0)/2048|0}o[a+7708|0]=0;q[a+7704>>2]=b;q[a+7700>>2]=(b|0)/5;Ll(c+14976|0);Da=c+21616|0}function Di(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=Da+ -64|0;Da=h;g=q[b>>2];q[h>>2]=g;q[h+4>>2]=q[c>>2];o=r[e+9|0];l=o?10:9;while(1){j=(n<<2)+h|0;q[j+8>>2]=g;if(r[e+n|0]){k=q[a+8>>2];a:{if(q[a+12>>2]-k>>3>>>0<=i>>>0){m=0;k=q[a+4>>2];if(!k|q[k>>2]){break a}q[k>>2]=130;break a}m=k+(i<<3)|0;k=q[m+4>>2]+ -1|0;if(k>>>0<=1){if(!(k-1)){m=q[m>>2]<<16;break a}k=q[m>>2];m=((k>>31)+k|0)- -8192>>14;break a}m=q[m>>2]}q[j+8>>2]=g+m;i=i+1|0}n=n+1|0;if((l|0)!=(n|0)){g=q[(n<<2)+h>>2];continue}break}if(!o){q[h+44>>2]=q[c>>2]}o=h;b:{c:{if(f){e=q[h+44>>2]-q[c>>2]|0;f=e>>31;g=f^e+f;e=q[h+40>>2]-q[b>>2]|0;f=e>>31;f=f^e+f;e=q[a+8>>2];d:{if(q[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=q[a+4>>2];if(!e|q[e>>2]){break d}q[e>>2]=130;break d}j=e+(i<<3)|0;e=q[j+4>>2]+ -1|0;if(e>>>0<=1){if(!(e-1)){i=q[j>>2]<<16;break d}e=q[j>>2];i=((e>>31)+e|0)- -8192>>14;break d}i=q[j>>2]}if((f|0)>(g|0)){g=q[h+40>>2]+i|0;q[h+48>>2]=g;break c}g=q[b>>2];q[h+48>>2]=g;e=q[h+44>>2]+i|0;break b}f=h;e:{if(r[e+10|0]){j=q[h+40>>2];g=q[a+8>>2];f:{if(q[a+12>>2]-g>>3>>>0<=i>>>0){g=0;l=q[a+4>>2];if(!l|q[l>>2]){break f}q[l>>2]=130;break f}l=g+(i<<3)|0;g=q[l+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){g=q[l>>2]<<16;break f}g=q[l>>2];g=((g>>31)+g|0)- -8192>>14;break f}g=q[l>>2]}i=i+1|0;g=g+j|0;break e}g=q[b>>2]}q[f+48>>2]=g;if(!r[e+11|0]){break c}f=q[h+44>>2];e=q[a+8>>2];g:{if(q[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=q[a+4>>2];if(!e|q[e>>2]){break g}q[e>>2]=130;g=q[h+48>>2];break g}j=e+(i<<3)|0;e=q[j+4>>2]+ -1|0;if(e>>>0<=1){if(!(e-1)){i=q[j>>2]<<16;break g}e=q[j>>2];i=((e>>31)+e|0)- -8192>>14;break g}i=q[j>>2]}e=f+i|0;break b}e=q[c>>2]}q[o+52>>2]=e;bf(d,q[h+8>>2],q[h+12>>2],q[h+16>>2],q[h+20>>2],q[h+24>>2],q[h+28>>2]);bf(d,q[h+32>>2],q[h+36>>2],q[h+40>>2],q[h+44>>2],g,e);q[a+12>>2]=q[a+8>>2];q[b>>2]=g;q[c>>2]=e;Da=h- -64|0}function rA(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=q[a+208>>2];if(i>>>0>=2){g=q[a+172>>2];f=q[a+168>>2]+2528|0;d=q[a+8>>2];b=q[a+12>>2];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;h=d>>>b|0;f=f+((h&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&h>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;h=s[f+2>>1];if(b>>>0>=16){b=b^16;q[a+12>>2]=b;e=d>>>16|0;q[a+8>>2]=e;c=q[a+16>>2];d=r[c|0]|r[c+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=c+2;d=e|d<<16;q[a+8>>2]=d}e=a;c=g+1584|0;g=d>>>b|0;f=c+((g&255)<<2)|0;c=r[f|0];if(c>>>0>=9){b=b+8|0;q[a+12>>2]=b;f=(s[f+2>>1]+(q[(c<<2)+153520>>2]&g>>>8)<<2)+f|0;c=r[f|0]}b=(c&255)+b|0;q[e+12>>2]=b;e=s[f+2>>1];c=e<<2;g=s[c+153440>>1];f=r[c+153442|0];k=a;l=g;a:{if((e|0)!=25){if(b>>>0>=16){b=b^16;q[a+12>>2]=b;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];g=r[e|0]|r[e+1|0]<<8;q[a+20>>2]=q[a+20>>2]+ -2;q[a+16>>2]=e+2;d=d|g<<16;q[a+8>>2]=d}q[a+12>>2]=b+f;e=q[(f<<2)+153552>>2]&d>>>b;break a}b:{c:{if(b>>>0<=15){e=b+16|0;q[a+12>>2]=e;c=d>>>b&65535;j=q[a+20>>2];b=q[a+16>>2];break c}g=b^16;q[a+12>>2]=g;d=d>>>16|0;q[a+8>>2]=d;e=q[a+16>>2];c=r[e|0]|r[e+1|0]<<8;j=q[a+20>>2]+ -2|0;q[a+20>>2]=j;b=e+2|0;q[a+16>>2]=b;e=g+16|0;q[a+12>>2]=e;d=d|c<<16;q[a+8>>2]=d;c=d>>>g&65535;if(g>>>0>4294967279){break b}}e=e^16;q[a+12>>2]=e;d=d>>>16|0;q[a+8>>2]=d;g=r[b|0]|r[b+1|0]<<8;q[a+20>>2]=j+ -2;q[a+16>>2]=b+2;d=d|g<<16;q[a+8>>2]=d}b=f+ -16|0;q[a+12>>2]=b+e;e=(q[(b<<2)+153552>>2]&d>>>e)<<16|c}q[k+196>>2]=l+e;d:{if(h>>>0<=1){c=q[a+228>>2]+1|0;if(!(h-1)){break d}c=q[a+224>>2];break d}c=h+ -2|0}q[a+224>>2]=q[a+228>>2];c=c-(c>>>0>>0?0:i)|0;q[a+228>>2]=c;q[a+104>>2]=q[q[a+136>>2]+(c<<2)>>2]}}function EX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0;c=Da-96|0;Da=c;a:{if(q[a+24>>2]==7){i=q[a+140>>2];q[c+88>>2]=q[a+136>>2];q[c+92>>2]=i;i=q[a+132>>2];q[c+80>>2]=q[a+128>>2];q[c+84>>2]=i;i=q[a+32>>2];b:{if(!i){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break b}h=v[q[a+36>>2]>>3]}v[c+80>>3]=v[c+80>>3]+h;d=q[c+92>>2];q[c+72>>2]=q[c+88>>2];q[c+76>>2]=d;d=q[c+84>>2];q[c+64>>2]=q[c+80>>2];q[c+68>>2]=d;c:{d:{e:{if(i>>>0<=1){d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}e=q[a+36>>2];d=e+8|0;if((i|0)!=2){break d}}e=q[67829];j=q[67828];q[160744]=j;q[160745]=e;f(0,j|0);f(1,e|0);h=+g();break c}h=v[e+16>>3]}k=v[d>>3];v[c+72>>3]=v[c+72>>3]+h;v[c+64>>3]=k+v[c+64>>3];d=q[c+76>>2];q[c+56>>2]=q[c+72>>2];q[c+60>>2]=d;d=q[c+68>>2];q[c+48>>2]=q[c+64>>2];q[c+52>>2]=d;f:{if(i>>>0<=3){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break f}h=v[q[a+36>>2]+24>>3]}v[c+48>>3]=v[c+48>>3]+h;d=q[c+60>>2];q[c+40>>2]=q[c+56>>2];q[c+44>>2]=d;d=q[c+52>>2];q[c+32>>2]=q[c+48>>2];q[c+36>>2]=d;g:{if(i>>>0<=4){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break g}h=v[q[a+36>>2]+32>>3]}v[c+32>>3]=v[c+32>>3]+h;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;h:{if(i>>>0<=5){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[a+36>>2]+40>>3]}d=q[c+92>>2];e=q[c+88>>2];q[c+24>>2]=e;q[c+28>>2]=d;v[c+16>>3]=v[c+16>>3]+h;q[c+8>>2]=e;q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;i:{if(i>>>0<=6){i=q[67829];d=q[67828];q[160744]=d;q[160745]=i;f(0,d|0);f(1,i|0);h=+g();break i}h=v[q[a+36>>2]+48>>3]}v[c>>3]=v[c>>3]+h;pb(a,b,c+80|0,c- -64|0,c+48|0);pb(a,b,c+32|0,c+16|0,c);break a}o[a+40|0]=1}Da=c+96|0}function n$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;u=q[c+76>>2];if(u){l=q[c+96>>2];v=q[c+88>>2];A=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=j;g=w(j,20);h=g+v|0;if(!(q[h+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;j=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[j+76>>2];o[f+20|0]=(m|0)==q[j+72>>2]?r[(g+q[j+88>>2]|0)+15|0]:0;if(!id(f)){break b}j=q[f>>2];i=w(j,20);s=q[q[a>>2]>>2];e=r[s+6|0]<<8|r[s+7|0];c:{if(e){x=q[h>>2];y=q[i+v>>2];e=e+ -1|0;h=0;while(1){d:{e:{t=e+h>>>1|0;k=w(t,6)+s|0;n=k+14|0;z=r[n|0]<<8|r[k+15|0];f:{if((z|0)==(x|0)){k=r[k+17|0]|r[k+16|0]<<8;if(k>>>0>y>>>0){break f}if((k|0)==(y|0)){break c}break e}if(z>>>0<=x>>>0){break e}}e=t+ -1|0;break d}h=t+1|0}if((h|0)<=(e|0)){continue}break}}n=271312}e=r[n+4|0]|r[n+5|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}g:{if(!A){h=e<<16;e=h>>31;e=V$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g>>2];g=e>>1;q[h>>2]=k+g;i=i+l|0;e=e-g|0;q[i>>2]=e+q[i>>2];q[i+8>>2]=e+q[i+8>>2];break g}h=e<<16;e=h>>31;e=V$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g+4>>2];g=e>>1;q[h+4>>2]=k+g;i=i+l|0;e=e-g|0;q[i+4>>2]=e+q[i+4>>2];q[i+12>>2]=e+q[i+12>>2]}e=j+1|0;if(e-m>>>0<2){break a}rb(c,m,e);j=q[f>>2];break a}j=m+1|0}if(j>>>0>>0){continue}break}}Da=p+160|0}function i$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;u=q[c+76>>2];if(u){l=q[c+96>>2];v=q[c+88>>2];A=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=j;g=w(j,20);h=g+v|0;if(!(q[h+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;j=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[j+76>>2];o[f+20|0]=(m|0)==q[j+72>>2]?r[(g+q[j+88>>2]|0)+15|0]:0;if(!id(f)){break b}j=q[f>>2];i=w(j,20);s=q[q[a>>2]>>2];e=r[s+8|0]<<8|r[s+9|0];c:{if(e){x=q[h>>2];y=q[i+v>>2];e=e+ -1|0;h=0;while(1){d:{e:{t=e+h>>>1|0;k=w(t,6)+s|0;n=k+16|0;z=r[n|0]<<8|r[k+17|0];f:{if((z|0)==(x|0)){k=r[k+19|0]|r[k+18|0]<<8;if(k>>>0>y>>>0){break f}if((k|0)==(y|0)){break c}break e}if(z>>>0<=x>>>0){break e}}e=t+ -1|0;break d}h=t+1|0}if((h|0)<=(e|0)){continue}break}}n=271312}e=r[n+4|0]|r[n+5|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}g:{if(!A){h=e<<16;e=h>>31;e=V$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g>>2];g=e>>1;q[h>>2]=k+g;i=i+l|0;e=e-g|0;q[i>>2]=e+q[i>>2];q[i+8>>2]=e+q[i+8>>2];break g}h=e<<16;e=h>>31;e=V$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(i+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break g}g=g+l|0;h=g;k=q[g+4>>2];g=e>>1;q[h+4>>2]=k+g;i=i+l|0;e=e-g|0;q[i+4>>2]=e+q[i+4>>2];q[i+12>>2]=e+q[i+12>>2]}e=j+1|0;if(e-m>>>0<2){break a}rb(c,m,e);j=q[f>>2];break a}j=m+1|0}if(j>>>0>>0){continue}break}}Da=p+160|0}function GZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[b+4>>2];c=a+2|0;a:{if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+3|0];g=r[a+2|0];h=c|g<<8;b:{if(!h){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+3|0];g=r[a+2|0];d=c|g<<8;if(!d){break b}e=0;c:{while(1){if(Tb(((e<<1)+a|0)+4|0,b,a)){e=e+1|0;if((d|0)!=(e|0)){continue}break c}break}return 0}c=r[a+3|0];g=r[a+2|0];e=q[b+4>>2]}d=((c<<1|g<<9)+a|0)+4|0;if(e>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=r[d+1|0]|r[d|0]<<8;if(!g){break a}h=e;e=d+2|0;if(h>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[d+1|0]|r[d|0]<<8;if(!c){break a}e=0;while(1){if(!Tb((d+(e<<1)|0)+2|0,b,a)){break a}e=e+1|0;if((c|0)!=(e|0)){continue}break}f=r[d+1|0];c=r[d|0];if(!(f|c<<8)){break a}e=q[b+4>>2];d=(d+(f<<1|c<<9)|0)+2|0;if(e>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=r[d+1|0];c=r[d|0];i=h|c<<8;d:{if(!i){break d}c=d+2|0;if(e>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=r[d+1|0];c=r[d|0];f=h|c<<8;if(!f){break d}e=0;e:{while(1){if(Tb((d+(e<<1)|0)+2|0,b,a)){e=e+1|0;if((f|0)!=(e|0)){continue}break e}break}return 0}h=r[d+1|0];c=r[d|0];e=q[b+4>>2]}a=(d+(h<<1|c<<9)|0)+2|0;if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(f){a=a+2|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}}j=1}return j}function hi(a,b,c,d){var e=0,f=0,g=0,h=0;e=1;a:{b:{c:{g=c-b|0;if((g|0)<1){break c}h=a+72|0;f=r[h+r[b|0]|0]+ -5|0;if(f>>>0>24){break a}d:{e:{f:{g:{h:{switch(f-1|0){default:e=2;f=-2;if((g|0)<2){break f}if(n[q[a+340>>2]](a,b)){break g}break a;case 0:e=3;f=-2;if((g|0)<3){break f}if(!n[q[a+344>>2]](a,b)){break a}break g;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:case 17:case 19:case 20:case 21:case 22:case 23:break a;case 13:break d;case 16:case 18:break g;case 1:break h}}e=4;f=-2;if((g|0)<4){break f}if(!n[q[a+348>>2]](a,b)){break a}}b=b+e|0;f=c-b|0;if((f|0)<1){break c}while(1){g=r[r[b|0]+h|0]+ -5|0;if(g>>>0>24){break e}e=1;i:{j:{k:{switch(g-1|0){default:if((f|0)<2){return-2}e=2;if(n[q[a+328>>2]](a,b)){break j}break e;case 0:if((f|0)<3){return-2}e=3;if(!n[q[a+332>>2]](a,b)){break e}break j;case 12:break i;case 16:case 18:case 19:case 20:case 21:break j;case 1:break k;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 22:case 23:break e}}if((f|0)<4){return-2}e=4;if(!n[q[a+336>>2]](a,b)){break e}}b=b+e|0;f=c-b|0;if((f|0)>0){continue}break c}break}q[d>>2]=b+1;f=9}return f}q[d>>2]=b;return 0}e=b+1|0;if((c-e|0)<1){break c}a=r[e|0];if((a|0)==120){e=b+2|0;if((c-e|0)<1){break c}if((r[r[e|0]+h|0]&254)!=24){break b}b=b+3|0;if((c-b|0)<=0){break c}while(1){a=r[r[b|0]+h|0];if(a+ -24>>>0>=2){if((a|0)==18){q[d>>2]=e+2;return 10}q[d>>2]=b;return 0}e=b;b=b+1|0;if((c-b|0)>0){continue}break}break c}l:{if(r[a+h|0]!=25){break l}while(1){a=e;e=a+1|0;if((c-e|0)<1){break c}b=r[r[e|0]+h|0];if((b|0)==25){continue}break}if((b|0)!=18){break l}q[d>>2]=a+2;return 10}q[d>>2]=e;return 0}return-1}q[d>>2]=e;return 0}q[d>>2]=b;return 0}function qm(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0),j=x(0),k=0;h=Da-48|0;Da=h;q[h+40>>2]=0;q[h+32>>2]=0;q[h+36>>2]=0;e=q[d+4>>2];lm(h+8|0,a,c);a:{if(!pu(h+8|0,a,b,h+32|0,!e,0)){break a}if(e){c=q[h+36>>2];if(c>>>0>=5){f=c+ -4|0;g=q[h+40>>2];b=0;while(1){b:{if(c>>>0<=b>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break b}a=(b<<4)+g|0}i=u[d+12>>2];j=u[a+4>>2];u[d+12>>2]=i<=j?i:j;i=u[d+16>>2];j=u[a+8>>2];u[d+16>>2]=i<=j?i:j;i=u[d+20>>2];j=u[a+4>>2];u[d+20>>2]=i>=j?i:j;i=u[d+24>>2];j=u[a+8>>2];u[d+24>>2]=i>=j?i:j;b=b+1|0;if((f|0)!=(b|0)){continue}break}}dW(d+12|0,q[d>>2],e)}k=1;a=q[d+8>>2];if(!a){break a}d=q[h+40>>2];c:{d:{e:{f:{g:{b=q[h+36>>2];h:{if(b>>>0>=4){e=(d+(b<<4)|0)+ -64|0;f=q[e+4>>2];q[a>>2]=q[e>>2];q[a+4>>2]=f;f=q[e+12>>2];q[a+8>>2]=q[e+8>>2];q[a+12>>2]=f;break h}g=q[67831];e=g;f=q[67830];q[160746]=f;q[160747]=e;g=q[67829];c=q[67828];q[160744]=c;q[160745]=g;q[a+8>>2]=f;q[a+12>>2]=e;q[a>>2]=c;q[a+4>>2]=g;if((b|0)!=3){break g}}e=(d+(b<<4)|0)+ -48|0;f=q[e+4>>2];q[a+16>>2]=q[e>>2];q[a+20>>2]=f;f=q[e+12>>2];q[a+24>>2]=q[e+8>>2];q[a+28>>2]=f;break f}q[160746]=f;q[160747]=e;q[160744]=c;q[160745]=g;q[a+24>>2]=f;q[a+28>>2]=e;q[a+16>>2]=c;q[a+20>>2]=g;if(b>>>0<2){break e}}e=(d+(b<<4)|0)+ -32|0;f=q[e+4>>2];q[a+32>>2]=q[e>>2];q[a+36>>2]=f;f=q[e+12>>2];q[a+40>>2]=q[e+8>>2];q[a+44>>2]=f;break d}g=q[67831];e=g;f=q[67830];q[160746]=f;q[160747]=e;g=q[67829];c=q[67828];q[160744]=c;q[160745]=g;q[a+40>>2]=f;q[a+44>>2]=e;q[a+32>>2]=c;q[a+36>>2]=g;if(b){break d}q[160746]=f;q[160747]=e;q[160744]=c;q[160745]=g;b=642976;break c}b=(d+(b<<4)|0)+ -16|0}d=q[b+4>>2];q[a+48>>2]=q[b>>2];q[a+52>>2]=d;c=q[b+12>>2];q[a+56>>2]=q[b+8>>2];q[a+60>>2]=c}La(q[h+40>>2]);Da=h+48|0;return k}function TW(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,p=0;f=q[a+24>>2];if(f>>>0>=2){l=q[a+32>>2];m=r[a+176|0];i=2;while(1){g=v[a+136>>3];n=v[a+128>>3];if(f>>>0<=c>>>0){o[a+20|0]=1}a:{if(l>>>0<=c>>>0){e=q[67835];q[160750]=q[67834];q[160751]=e;e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break a}e=q[a+36>>2]+(c<<5)|0}b:{if(!m){break b}h=q[e+20>>2];if(!h|(h|0)!=q[a+168>>2]){break b}j=q[e+24>>2];k=q[a+172>>2];d=v[e>>3];f=0;while(1){d=d+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[e+8>>2]=0;q[e+12>>2]=0;v[e>>3]=d;if(q[e+16>>2]<0){break b}q[e+20>>2]=0}c=c|1;if(t[a+24>>2]<=c>>>0){o[a+20|0]=1}c:{if(l>>>0<=c>>>0){c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+36>>2]+(c<<5)|0}d:{if(!m){break d}h=q[c+20>>2];if(!h|(h|0)!=q[a+168>>2]){break d}j=q[c+24>>2];k=q[a+172>>2];d=v[c>>3];f=0;while(1){d=d+v[j+(f<<3)>>3]*+u[k+(f<<2)>>2];f=f+1|0;if((h|0)!=(f|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=d;if(q[c+16>>2]<0){break d}q[c+20>>2]=0}p=g+v[c>>3];d=n+v[e>>3];e:{if(r[b|0]){break e}o[b|0]=1;g=v[a+128>>3];if(!!(v[b+8>>3]>g)){v[b+8>>3]=g;g=v[a+128>>3]}if(!!(g>v[b+24>>3])){v[b+24>>3]=g}g=v[a+136>>3];if(!!(v[b+16>>3]>g)){v[b+16>>3]=g;g=v[a+136>>3]}if(!(g>v[b+32>>3])){break e}v[b+32>>3]=g}v[a+136>>3]=p;v[a+128>>3]=d;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!!(d>v[b+32>>3])){v[b+32>>3]=d}c=i;i=c+2|0;f=q[a+24>>2];if(i>>>0<=f>>>0){continue}break}}}function f$(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,p=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0;p=Da-160|0;Da=p;f=Hd(p+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;s=q[c+76>>2];if(s){l=q[c+96>>2];t=q[c+88>>2];z=(q[c+48>>2]&-2)!=4;while(1){a:{b:{m=k;i=w(k,20);g=i+t|0;if(!(q[g+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=m;k=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[k+76>>2];o[f+20|0]=(m|0)==q[k+72>>2]?r[(i+q[k+88>>2]|0)+15|0]:0;if(!id(f)){break b}k=q[f>>2];e=q[a>>2];u=r[e+10|0];j=((u<<1)+e|0)+14|0;g=q[g>>2];h=r[e+9|0]|r[e+8|0]<<8;v=r[(h>>>0>g>>>0?j+g|0:271312)|0];x=r[e+11|0];if(v>>>0>=x>>>0){break a}n=h+j|0;g=w(k,20);j=q[g+t>>2];y=r[(h>>>0>j>>>0?n+j|0:271312)|0];j=r[e+12|0];if(y>>>0>=j>>>0){break a}n=h+n|0;h=w(j,v)+y|0;h=r[(w(j,x)>>>0>h>>>0?n+h|0:271312)|0];e=u>>>0>h>>>0?(e+(h<<1)|0)+14|0:271312;e=r[e|0]|r[e+1|0]<<8;e=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>16|0;if(!e){break a}c:{if(!z){h=e<<16;e=h>>31;e=V$(q[b+32>>2],q[b+36>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+l|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break c}i=i+l|0;h=i;j=q[i>>2];i=e>>1;q[h>>2]=j+i;g=g+l|0;e=e-i|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break c}h=e<<16;e=h>>31;e=V$(q[b+40>>2],q[b+44>>2],h>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+l|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break c}i=i+l|0;h=i;j=q[i+4>>2];i=e>>1;q[h+4>>2]=j+i;g=g+l|0;e=e-i|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=k+1|0;if(e-m>>>0<2){break a}rb(c,m,e);k=q[f>>2];break a}k=m+1|0}if(k>>>0>>0){continue}break}}Da=p+160|0}function sc(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){q[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(t[a+8>>2]>b>>>0){break c}e=0;break a}e=4-g|0;i=r[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=w(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(t[a+8>>2]<=b>>>0){e=0;break a}i=r[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=w(f,10)+h|0;continue}}f:{g:{h:{if(h+ -11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(t[a+8>>2]<=b>>>0){e=0;break a}i=r[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+w(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=Za(f,10);q[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=w(q[(e<<2)+12864>>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}q[d>>2]=a;e=f<<16;break a}b=b<<2;c=q[b+12844>>2];if(((f|0)/(c|0)|0)>=32768){e=Za(f,q[b+12848>>2]);q[d>>2]=a+ -4;break a}e=Za(f,c);q[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)/q[12864-(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=q[(a<<2)+12864>>2];if(((b|0)/(a|0)|0)>32767){break a}e=Za(b,a);break a}a=w(b,q[12864-(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 FV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{d=a+ -18|0;if(d>>>0>12){d=a+ -261|0;if(d>>>0<=2){break i}if((a|0)!=294){break h}k=c;i=b+24|0;d=q[i>>2];j:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break j}h=v[q[b+36>>2]+(d<<3)>>3];break j}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}k:{if(y(h)<2147483648){d=~~h;break k}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+28>>2]=d;break c}switch(d-1|0){case 10:break f;case 11:break g;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break h;default:break d}}if(!(d-1)){break h}i=b+24|0;break c}qg(a,b);break e}h=ih(b);d=q[b+24>>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=h;break e}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=h;break e}hh(b+20|0,b)}if(!q[b+24>>2]){break b}break a}k=c;i=b+24|0;d=q[i>>2];l:{if(d){e=d+ -1|0;q[b+24>>2]=e;if(t[b+32>>2]<=e>>>0){d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g();break l}h=v[q[b+36>>2]+(e<<3)>>3];break l}o[b+20|0]=1;d=q[67829];j=q[67828];q[160744]=j;q[160745]=d;f(0,j|0);f(1,d|0);h=+g()}m:{if(y(h)<2147483648){d=~~h;break m}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+16>>2]=d;n:{if(e){d=e+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break n}h=v[q[b+36>>2]+(d<<3)>>3];break n}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}o:{if(y(h)<2147483648){d=~~h;break o}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[k+20>>2]=d}q[i>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function Uu(a,b,c){var d=0,e=0;e=Da-16|0;Da=e;c=c+ -1|0;a:{if(c>>>0>8){c=1;break a}b:{switch(c-1|0){default:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){break a}if(d-1){c=RY(a,b);break a}c=QY(a,b);break a;case 0:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){break a}if(d-1){c=PY(a,b);break a}c=OY(a,b);break a;case 1:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=0;if(!Tb(a+2|0,b,a)){break a}q[e+12>>2]=a;c=NY(a+4|0,b,e+12|0);break a;case 2:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=Tu(a,b);break a;case 3:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=LY(a,b);break a;case 4:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=Tu(a,b);break a;case 5:c=pv(a,b);break a;case 6:c=ov(a,b);break a;case 7:break b}}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=KY(a,b)}Da=e+16|0;return c}function CO(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){if(q[b+20>>2]){while(1){c=q[b+24>>2];f=w(e,24);a=q[c+f>>2];b:{if(!a){break b}g=q[a+ -8>>2];if(!g){break a}d=a+ -4|0;h=q[d>>2];if(!h){break a}i=d;d=h+ -1|0;q[i>>2]=d;if(d){break b}h=a+ -32|0;c=q[h>>2];if(c){d=q[a+ -24>>2];if(d){q[d+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-g}c=q[a+ -28>>2];n[q[c+16>>2]](a+(q[c+24>>2]+7&-8)|0,a);La(h);c=q[b+24>>2]}a=q[(c+f|0)+4>>2];c:{if(!a){break c}f=q[a+ -8>>2];if(!f){break a}c=a+ -4|0;d=q[c>>2];if(!d){break a}i=c;c=d+ -1|0;q[i>>2]=c;if(c){break c}g=a+ -32|0;c=q[g>>2];if(c){d=q[a+ -24>>2];if(d){q[d+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-f}c=q[a+ -28>>2];n[q[c+16>>2]](a+(q[c+24>>2]+7&-8)|0,a);La(g)}e=e+1|0;if(e>>>0>2]){continue}break}}La(q[b+24>>2]);return 1}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=c;o[a+25|0]=c>>>8;o[a+26|0]=c>>>16;o[a+27|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);e=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=e;o[a+17|0]=e>>>8;o[a+18|0]=e>>>16;o[a+19|0]=e>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}I(355429,355403,453,355477);F()}function ho(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0;i=Da+ -64|0;Da=i;q[i+12>>2]=0;m=q[h+556>>2];k=q[g>>2];j=q[k>>2];q[i+28>>2]=0;q[i+32>>2]=0;q[i+36>>2]=0;q[i+40>>2]=0;q[i+20>>2]=0;q[i+24>>2]=0;q[i+48>>2]=a;q[i+44>>2]=f;q[i+52>>2]=0;q[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;o=l?513:96;k=Oa(j,4,0,o,0,i+60|0);q[i+32>>2]=k;a:{b:{if(!q[i+60>>2]){q[i+36>>2]=k;q[i+40>>2]=o;break b}if(k){n[q[j+8>>2]](j,k)}q[i+32>>2]=0;j=q[i+60>>2];if(j){break a}}Na(a+24|0,0,160);q[a+156>>2]=8720;q[a+60>>2]=65536;q[a+44>>2]=2;q[a+48>>2]=65536;q[a+32>>2]=-6553600;q[a+36>>2]=3276800;q[a+184>>2]=l?513:48;q[a+172>>2]=65535;q[a+136>>2]=65535;q[a+128>>2]=65535;q[a+132>>2]=65535;q[a+16>>2]=65535;q[a+20>>2]=65535;q[a+8>>2]=65535;q[a+12>>2]=65535;q[a>>2]=65535;q[a+4>>2]=65535;c:{d:{if(!q[b+12>>2]){j=Xa(d,q[b+20>>2]);if(j){break a}j=Bc(d,q[b+24>>2],i+12|0);if(j){break a}c=q[b+24>>2];q[i+60>>2]=c;break d}j=Ag(b,c,i+12|0,i+60|0);if(j){break c}c=q[i+60>>2]}j=q[i+12>>2];j=bo(i+16|0,j,j?c+j|0:0)}e:{if(q[b+12>>2]){if(q[b+32>>2]){break e}b=q[b>>2]}else{b=d}zb(b,i+12|0)}if(j){break a}j=0;if(q[a+132>>2]!=65535){break a}j=co(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=q[q[h+128>>2]+60>>2];g:{if((f|0)==-1){b=q[h+96>>2];f=q[b+68>>2];q[a+648>>2]=f;if(!f){break g}while(1){f=n[q[m+20>>2]](f)|0;q[b+68>>2]=f;if((f|0)<0){continue}break}break g}q[a+648>>2]=f;if(!f){break g}while(1){f=n[q[m+20>>2]](f)|0;q[q[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(q[a+648>>2]){break f}q[a+648>>2]=q[a+532>>2]}b=q[a+536>>2];if(!b){j=0;break a}j=Xa(d,q[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=Me(b,d,1,l);if(j){break a}j=mj(b,a+644|0,0,0)}a=q[q[i+16>>2]>>2];b=q[i+32>>2];if(b){n[q[a+8>>2]](a,b)}Da=i- -64|0;return j}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,m=0;g=q[a+4>>2];c=g&3;d=g&-8;f=d+a|0;a:{if(!c){c=0;if(b>>>0<256){break a}if(d>>>0>=b+4>>>0){c=a;if(d-b>>>0<=q[161384]<<1>>>0){break a}}return 0}b:{if(d>>>0>=b>>>0){c=d-b|0;if(c>>>0<16){break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|3;q[f+4>>2]=q[f+4>>2]|1;bp(b,c);break b}c=0;if(q[161270]==(f|0)){d=d+q[161267]|0;if(d>>>0<=b>>>0){break a}q[a+4>>2]=g&1|b|2;c=a+b|0;b=d-b|0;q[c+4>>2]=b|1;q[161267]=b;q[161270]=c;break b}if(q[161269]==(f|0)){d=d+q[161266]|0;if(d>>>0>>0){break a}c=d-b|0;c:{if(c>>>0>=16){q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=c|1;d=a+d|0;q[d>>2]=c;q[d+4>>2]=q[d+4>>2]&-2;break c}q[a+4>>2]=d|g&1|2;b=a+d|0;q[b+4>>2]=q[b+4>>2]|1;c=0;b=0}q[161269]=b;q[161266]=c;break b}e=q[f+4>>2];if(e&2){break a}h=d+(e&-8)|0;if(h>>>0>>0){break a}j=h-b|0;d:{if(e>>>0<=255){c=q[f+8>>2];e=e>>>3|0;d=q[f+12>>2];if((d|0)==(c|0)){l=645056,m=q[161264]&_$(-2,e),q[l>>2]=m;break d}q[c+12>>2]=d;q[d+8>>2]=c;break d}i=q[f+24>>2];d=q[f+12>>2];e:{if((f|0)!=(d|0)){c=q[f+8>>2];q[c+12>>2]=d;q[d+8>>2]=c;break e}f:{c=f+20|0;e=q[c>>2];if(e){break f}c=f+16|0;e=q[c>>2];if(e){break f}d=0;break e}while(1){k=c;d=e;c=d+20|0;e=q[c>>2];if(e){continue}c=d+16|0;e=q[d+16>>2];if(e){continue}break}q[k>>2]=0}if(!i){break d}c=q[f+28>>2];e=(c<<2)+645360|0;g:{if(q[e>>2]==(f|0)){q[e>>2]=d;if(d){break g}l=645060,m=q[161265]&_$(-2,c),q[l>>2]=m;break d}q[i+(q[i+16>>2]==(f|0)?16:20)>>2]=d;if(!d){break d}}q[d+24>>2]=i;c=q[f+16>>2];if(c){q[d+16>>2]=c;q[c+24>>2]=d}c=q[f+20>>2];if(!c){break d}q[d+20>>2]=c;q[c+24>>2]=d}if(j>>>0<=15){q[a+4>>2]=g&1|h|2;b=a+h|0;q[b+4>>2]=q[b+4>>2]|1;break b}q[a+4>>2]=g&1|b|2;b=a+b|0;q[b+4>>2]=j|3;c=a+h|0;q[c+4>>2]=q[c+4>>2]|1;bp(b,j)}c=a}return c}function kX(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,p=0,r=0,s=0,u=0;RW(a);f=q[a+156>>2];a:{b:{c:{c=q[a+24>>2];d:{e:{if(c){c=c+ -1|0;q[a+24>>2]=c;if(t[a+32>>2]<=c>>>0){break e}c=q[a+36>>2]+(c<<5)|0;break d}o[a+20|0]=1}c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976}l=v[c>>3];f:{if(y(l)<2147483648){c=~~l;break f}c=-2147483648}if((c|0)>=0){d=q[a+24>>2];b=w(c,f+1|0);if(d>>>0>>0){break b}if(c){break c}b=0;break a}o[a+20|0]=1;d=q[a+24>>2];break a}h=(f|0)>0?f:0;m=d-b|0;r=c+m|0;n=q[67828];p=q[67829];while(1){i=q[a+36>>2];g=q[a+32>>2];b=j+m|0;if(d>>>0<=b>>>0){o[a+20|0]=1}g:{if(g>>>0<=b>>>0){b=q[67835];q[160750]=q[67834];q[160751]=b;b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;q[160744]=n;q[160745]=p;d=642976;break g}d=i+(b<<5)|0}q[d+12>>2]=j;q[d+8>>2]=c;e=q[d+16>>2];h:{if((e|0)<0){break h}b=e;if(b>>>0>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=h>>>0){continue}break}i:{if(!(b>>>0>>0|b>>>0>536870910)){e=db(q[d+24>>2],b<<3);if(e){break i}}q[d+16>>2]=-1;break h}q[d+16>>2]=b;q[d+24>>2]=e}b=q[d+20>>2];if(h>>>0>b>>>0){Na(q[d+24>>2]+(b<<3)|0,0,h-b<<3)}q[d+20>>2]=h}if(f){b=w(f,j)+r|0;i=b?i+(b<<5)|0:i;e=g-b|0;g=b?e>>>0>g>>>0?0:e:g;s=q[d+20>>2];b=0;while(1){k=i+(b<<5)|0;j:{if(s>>>0<=b>>>0){q[160744]=n;q[160745]=p;e=642976;break j}e=q[d+24>>2]+(b<<3)|0}k=g>>>0>b>>>0?k:271312;u=q[k+4>>2];q[e>>2]=q[k>>2];q[e+4>>2]=u;b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=q[a+24>>2];j=j+1|0;if((c|0)!=(j|0)){continue}break}b=c;break a}o[a+40|0]=1;return}b=w(b,f);if(d>>>0>=b>>>0){q[a+24>>2]=d-b;return}o[a+20|0]=1}function pt(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;a:{b:{c:{d:{e:{if(r[a+20|0]){if(q[a+40>>2]){break e}b=q[a+48>>2];if(b>>>0<=1){break d}f=q[a+52>>2];m=f+(b<<2)|0;i=b+ -1|0;j=f+4|0;f=q[67828];while(1){g=q[(i?j:271312)>>2];e=q[g+12>>2];if(e){h=q[g+16>>2];n=h+w(e,12)|0;while(1){c=e?h:271312;b=q[c+8>>2];f:{if(t[a+48>>2]<=b>>>0){q[160744]=f;b=f;break f}b=q[q[a+52>>2]+(b<<2)>>2]}if(!b){break b}k=q[c>>2];d=k>>>2&3;g:{h:{if(d>>>0<=2){i:{switch(d-1|0){case 0:b=q[b>>2]-q[g+4>>2]|0;break g;case 1:break i;default:break h}}b=(q[b>>2]+(q[a+4>>2]-q[a>>2]|0)|0)-q[a+8>>2]|0;break g}I(271120,270899,327,271088);F()}b=q[b>>2]-q[g>>2]|0}c=q[c+4>>2];if(b>>>0>>0){break c}l=k&1;b=b-c|0;c=q[g>>2]+(k>>>4|0)|0;d=r[c|0];j:{k:{if(k&2){if(l){if(r[c+3|0]|(r[c+1|0]<<16|d<<24|r[c+2|0]<<8)){break a}d=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);o[c|0]=d;o[c+1|0]=d>>>8;o[c+2|0]=d>>>16;o[c+3|0]=d>>>24;if(!(b>>31)){break j}if(r[a+20|0]){break k}break j}if(r[c+1|0]|d<<8){break a}d=(b<<8&16711680|b<<24)>>>16|0;o[c|0]=d;o[c+1|0]=d>>>8;c=b<<16;d=c>>31;c=c>>16;if(!d&(b|0)==(c|0)){break j}if(r[a+20|0]){break k}break j}if(l){if(r[c+3|0]|(r[c+1|0]<<16|d<<24|r[c+2|0]<<8)){break a}b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);o[c|0]=b;o[c+1|0]=b>>>8;o[c+2|0]=b>>>16;o[c+3|0]=b>>>24;break j}if(r[c+1|0]|d<<8){break a}d=(b<<8&16711680|b<<24)>>>16|0;o[c|0]=d;o[c+1|0]=d>>>8;if(!r[a+20|0]|b>>>0<65536){break j}}o[a+20|0]=0}b=(e|0)!=0;e=e-b|0;h=w(b,12)+h|0;if((n|0)!=(h|0)){continue}break}}b=(i|0)!=0;i=i-b|0;j=(b<<2)+j|0;if((m|0)!=(j|0)){continue}break}}return}I(270890,270899,314,271088);F()}I(271102,270899,315,271088);F()}I(271122,270899,330,271088);F()}o[a+20|0]=0;return}I(271142,270899,490,271151);F()}function ai(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;e=Da-2320|0;Da=e;cg(e+1112|0,0,0);i=lk(a,b);a:{b:{if(!i){ge(e+1112|0,498691);ge(e+1112|0,b?b:498706);a=c;break b}g=$H(a,b);if(!g){ge(e+1112|0,498713);ge(e+1112|0,b?b:498706);La(i);a=c;break b}if(wL(q[a+80>>2],g)){La(i);La(g);f=1;break a}c:{d:{if(d){if(!Ad(q[a+16>>2],i)){break d}}if(!Ad(q[a+80>>2],g)){break d}if($f(g)){k=fk(g);e:{if(!k){if(!c){break e}q[e+48>>2]=b;_a(0,2,498869,e+48|0);break e}b=Sa(Wa(g)+4098|0);if(b){j=tc(b,g);b=j+Wa(j)|0;o[b|0]=47;o[b+1|0]=0;f=Wa(j);h=Gk(2);f:{if(!h){f=0;break f}if(r[643741]&4){q[e+64>>2]=g;Ua(498897,e- -64|0)}if(d){li(q[a>>2],g)}g:{h:{b=Xf(k);if(b){n=f+j|0;while(1){l=b+19|0;f=Wa(l);m=o[b+19|0];i:{if((m|0)<48|(f|0)<6|(m|0)>57){break i}if(Ta((b+f|0)+14|0,498922)){break i}tc(n,l);if(!Ad(h,j)){break h}}b=Xf(k);if(b){continue}break}}Gc(q[h+12>>2],q[h+4>>2],4,975);b=0;if(q[h+4>>2]<=0){f=1;break g}while(1){f=ai(a,q[q[h+12>>2]+(b<<2)>>2],c,d);if(!f){break h}b=b+1|0;if((b|0)>2]){continue}break}break g}f=0}Yb(h)}La(j)}Wh(k)}La(i);La(g);f=!c|(f|0)!=0;break a}cg(e+2232|0,0,0);h=af(g,0,0);if((h|0)!=-1){j:{while(1){f=Uh(h,e+1200|0,1024);if((f|0)<=-1){a=q[160942];uH(a,e+80|0);q[e+40>>2]=a;q[e+32>>2]=g;q[e+36>>2]=e+80;f=0;_a(0,2,498748,e+32|0);bd(h);a=c;break j}Cq(e+2232|0,e+1200|0,f);if(f){continue}break}bd(h);f=Xp(a,i,Qd(e+2232|0),c,d);a=0}uc(e+2232|0);break c}ge(e+1112|0,498732);ge(e+1112|0,g);uc(e+2232|0);a=c;break c}a=c}La(i);La(g)}if(!c){f=1;break a}if(!(!a|f)){a=d?498825:498830;c=Qd(e+1112|0);k:{if(b){q[e+24>>2]=c;q[e+20>>2]=b;q[e+16>>2]=a;_a(0,2,498794,e+16|0);break k}q[e+4>>2]=c;q[e>>2]=a;_a(0,2,498835,e)}uc(e+1112|0);f=0;break a}uc(e+1112|0)}Da=e+2320|0;return f}function pM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-208|0;Da=e;g=q[a+12>>2];f=de(b);h=Ic(q[b+12>>2]);a:{if(!h){break a}d=Qb(h);if(!d){Zb(h);break a}b:{c:{d:{e:{f:{if(!f){while(1){if(c){La(c)}c=Pd(d);if(!Re(c,2)){break c}g:{if((Re(c,0)|0)!=-1){if(Xh(c)){break g}break e}if(Tg(c)){break d}}d=Qb(h);if(d){continue}break f}}while(1){if(c){La(c)}q[e+52>>2]=0;q[e+48>>2]=d;c=_b(f,e+48|0);if(!Re(c,2)){break c}h:{if((Re(c,0)|0)==-1){if(!Tg(c)){break h}break d}if(!Xh(c)){break e}}d=Qb(h);if(d){continue}break}}d=0;break b}d=Pd(c);ar(c);break b}d=Pd(c);ar(c);break b}d=Pd(c)}if(c){La(c)}Zb(h);if(d){c=b;b=a+g|0;Xk(c,b,e+144|0);q[e+36>>2]=0;q[e+32>>2]=e+144;g=_b(d,e+32|0);La(d);if(!g){break a}if(r[643740]&16){q[e+20>>2]=g;q[e+16>>2]=b;Ua(441581,e+16|0)}f=hr(g);if(f){if(Zk(f)){b=q[f+4>>2];q[e>>2]=438;i:{d=af(b,66,e);if((d|0)==-1){break i}c=q[a>>2];j:{if((c|0)==-66913276){b=Gp(d,a,q[a+8>>2]);c=a+8|0;break j}q[a>>2]=-66913276;b=Gp(d,a,q[a+8>>2]);q[a>>2]=c;c=a+8|0}if(q[c>>2]!=(b|0)){NG();bd(d);break i}bd(d);if(!gr(f)){break i}k:{if(q[c>>2]>1023){break k}if(!jg(g,e+56|0)){break k}l:{m:{if(!q[160933]){while(1){c=Sa(28);b=q[160933];q[160933]=b?b:c;if(!b){break m}if(!q[160933]){continue}break}}break l}Ud()}n:{if(!a){break n}b=643664;d=q[160932];if((d|0)>=1){while(1){h=d;d=d+ -1|0;i=d<<2;c=q[i+b>>2];if(!(!c|q[c>>2]+q[c+8>>2]>>>0>a>>>0)){while(1){b=c;c=q[(c+i|0)+40>>2];if(q[c>>2]+q[c+8>>2]>>>0<=a>>>0?c:0){continue}break}b=b+40|0}if((h|0)>1){continue}break}}b=q[b>>2];if(!b|q[b>>2]+q[b+8>>2]>>>0<=a>>>0){break n}q[b+16>>2]=q[e+56>>2];a=q[e+140>>2];q[b+24>>2]=q[e+136>>2];q[b+28>>2]=a;q[b+32>>2]=q[e+120>>2];q[b+36>>2]=q[e+124>>2]}}La(g);Yk(f);La(f);break a}Yk(f)}La(f)}La(g)}}Da=e+208|0}function CA(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,q=0,t=0,u=0,v=0,w=0,x=0;d=-1;while(1){e=d;d=d+ -1|0;if(s[(e<<1)+b>>1]==65535){continue}break}q=256;t=e+16|0;d=(t|0)<8;e=d?1<1?d:1;j=128;g=2;h=1;while(1){f=s[(h<<1)+c>>1];if(f){i=h+ -16|0;while(1){o=(r[l+153120|0]<<2)+a|0;i=s[(i<<1)+b>>1];k=i<<16|h;d=e;while(1){d=d-g|0;m=o+(d<<2)|0;p[m>>1]=k;p[m+2>>1]=k>>>16;if((d|0)>0){continue}break}l=j+l|0;f=f+ -1|0;if(f){continue}break}}j=j>>>1|0;g=g<<1;d=(h|0)!=(n|0);h=h+1|0;if(d){continue}break}if((e|0)!=256){while(1){d=e<<2;Qa(d+a|0,a,d);e=e<<1;if((e|0)!=256){continue}break}}if((t|0)>8){n=128;h=8;e=256;o=2;f=256;i=a;while(1){d=h;h=d+1|0;m=(h<<1)+c|0;g=s[m>>1];a:{if(!g){break a}j=d+ -15|0;k=h-8|0;w=k&255;k=1<=14){v=h&255;while(1){if((f|0)==256){d=r[l+153120|0];f=(d<<2)+a|0;i=(e<<2)+i|0;d=v|(i-a>>>2|0)-d<<16;p[f>>1]=d;p[f+2>>1]=d>>>16;l=l+1|0;q=k+q|0;f=0;e=k}u=(r[f+153120|0]<<2)+i|0;j=s[(j<<1)+b>>1];g=j<<16|w;d=e;while(1){d=d-o|0;x=u+(d<<2)|0;p[x>>1]=g;p[x+2>>1]=g>>>16;if((d|0)>0){continue}break}d=s[m>>1]+ -1|0;p[m>>1]=d;f=f+n|0;if(d&65535){continue}break}break a}while(1){if((f|0)==256){i=(e<<2)+i|0;d=h;e=d;g=k-(g&65535)|0;b:{if((g|0)<1){break b}while(1){e=15;d=d+1|0;if((d|0)==15){break b}e=d;g=(g<<1)-s[(d<<1)+c>>1]|0;if((g|0)>0){continue}break}}d=r[l+153120|0];f=(d<<2)+a|0;d=e&255|(i-a>>>2|0)-d<<16;p[f>>1]=d;p[f+2>>1]=d>>>16;l=l+1|0;e=1<>1];g=j<<16|w;d=e;while(1){d=d-o|0;u=v+(d<<2)|0;p[u>>1]=g;p[u+2>>1]=g>>>16;if((d|0)>0){continue}break}g=s[m>>1]+ -1|0;p[m>>1]=g;f=f+n|0;if(g&65535){continue}break}}n=n>>>1|0;o=o<<1;if((h|0)!=(t|0)){continue}break}}return q}function aj(a){var b=0,c=0;c=5;a:{b:{c:{d:{e:{f:{if((a|0)<=1315009121){if((a|0)<=1232363883){if((a|0)<=1131442803){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1214603889){if((a|0)==1131442804){break b}if((a|0)!=1214346354){break c}break b}if((a|0)==1214603890){break b}if((a|0)!=1215655527){break c}break a}if((a|0)<=1298230883){if((a|0)==1232363884){break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}b=a+ -1298230884|0;if(b>>>0<=5){break f}b=a+ -1298494051|0;if(b>>>0>12){if((a|0)!=1298493028){break c}break b}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break b}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727){break b}if((a|0)!=1332898664){break c}break b}b=a+ -1349020777|0;if(b>>>0<=7){break e}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}b=a+ -1399809892|0;if(b>>>0<=11){break d}if((a|0)==1400468067|(a|0)==1416126817){break b}break c}switch(b-1|0){case 0:case 1:case 2:case 3:break c;default:break b}}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:break c;default:break b}}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break c;default:break b}}c=4}return c}return 0}function Tl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-32|0;Da=g;d=r[a|0]|r[a+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;a:{if(d>>>0>13){break a}b:{c:{switch(d-1|0){default:if(b>>>0>255){break a}a=r[(a+b|0)+6|0];if(!a){break a}break b;case 3:f=r[a+7|0];d=r[a+6|0];q[g>>2]=a+14;f=(f|d<<8)>>>1|0;q[g+20>>2]=f;e=f<<1;d=(e+a|0)+16|0;q[g+4>>2]=d;d=d+e|0;q[g+8>>2]=d;d=d+e|0;q[g+12>>2]=d;q[g+16>>2]=d+e;q[g+24>>2]=((r[a+3|0]|r[a+2|0]<<8)-(f<<3)|0)+ -16>>>1;j=jt(g,b,c);break a;case 5:b=b-(r[a+7|0]|r[a+6|0]<<8)|0;a=(r[a+9|0]|r[a+8|0]<<8)>>>0>b>>>0?((b<<1)+a|0)+10|0:271312;a=r[a|0]<<8|r[a+1|0];if(!a){break a}break b;case 9:e=b;b=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);b=e-(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0;e=((b<<1)+a|0)+20|0;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?e:271312;a=r[a|0]<<8|r[a+1|0];if(!a){break a}break b;case 11:j=kt(a,b,c);break a;case 0:case 1:case 2:case 4:case 6:case 7:case 8:case 10:break a;case 12:break c}}f=271710;e=a+12|0;a=e;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d:{if((a|0)<1){break d}a=a+ -1|0;while(1){e:{i=a+k>>>1|0;d=w(i,12)+e|0;h=d+4|0;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);f:{if((h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))>>>0>b>>>0){a=i+ -1|0;break f}d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break e}k=i+1|0}if((k|0)<=(a|0)){continue}break d}break}f=(w(i,12)+e|0)+4|0}a=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break a}}q[c>>2]=a;j=1}Da=g+32|0;return j}function FI(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=498352;a:{b:{c:{b=r[498352];if(!b){break c}j=a+368|0;f=q[a+352>>2];k=f+152|0;l=f+80|0;m=f+60|0;h=a+412|0;c=498352;while(1){d:{e:{f:{g:{g=b&255;if(g>>>0>12){if((g|0)!=61){break e}b=q[a+424>>2];if((b|0)!=q[a+428>>2]){break g}g=k;break f}h:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break e;default:break h}}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=0;c=ic(a,f,q[a+428>>2],0);if(c){o[c+32|0]=1}c=r[e|0];q[a+424>>2]=q[a+428>>2];c=c?e+1|0:e;e=c;break d}if(q[a+420>>2]==(b|0)){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=0;g=ic(a,m,q[a+428>>2],8);if(!g){break b}b=q[a+428>>2];d=q[g>>2];if((b|0)==(d|0)){while(1){b=q[f+92>>2];if((b|0)==q[f+88>>2]){if(!Ya(l)){q[g>>2]=0;break a}b=q[f+92>>2]}c=r[d|0];q[f+92>>2]=b+1;o[b|0]=c;c=r[d|0];d=d+1|0;if(c){continue}break}c=q[f+96>>2];q[f+96>>2]=q[f+92>>2];q[g>>2]=c;if(!c){break b}b=q[a+428>>2]}q[a+424>>2]=b}while(1){i:{c=e+1|0;i=q[a+420>>2];j:{d=r[e+1|0];if(d>>>0>12){break j}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break j;default:break i}}if((b|0)==(i|0)){if(!Ya(h)){break a}d=r[c|0];b=q[a+424>>2]}q[a+424>>2]=b+1;o[b|0]=d;b=q[a+424>>2];e=c;continue}break}if((b|0)==(i|0)){if(!Ya(h)){break a}b=q[a+424>>2]}q[a+424>>2]=b+1;i=0;o[b|0]=0;if(xk(a,g,0,q[a+428>>2],j)){break b}q[a+424>>2]=q[a+428>>2];c=r[e+1|0]?e+2|0:c;e=c;break d}d=q[a+424>>2];if((d|0)==q[a+420>>2]){if(!Ya(h)){break a}d=q[a+424>>2];b=r[e|0]}q[a+424>>2]=d+1;o[d|0]=b;e=e+1|0}if(!r[c|0]){break c}b=r[e|0];continue}}i=1}return i}return 0}function An(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,s=0,u=0,v=0,w=0;d=q[a+16>>2];i=r[d+6|0]<<8|r[d+7|0]&254;a:{if(!i){break a}e=q[b>>2]+((c|0)!=0)|0;if(e>>>0>65535){break a}h=q[a>>2];s=q[h+508>>2]+q[h+512>>2]|0;a=i>>>1|0;v=a>>>0>1?a:1;w=a+ -1|0;o=d+14|0;j=(d+i|0)+16|0;b:{c:{while(1){k=r[j+1|0]|r[j|0]<<8;if(e>>>0>>0?!c:0){break b}e=e>>>0>=k>>>0?e:k;l=j+i|0;g=l+i|0;d:{e:{f=r[o+1|0]|r[o|0]<<8;if(!((f|0)!=65535|u>>>0>>0|(k|0)!=65535)){m=g+2|0;while(1){if(e>>>0>65535){break e}a=r[l|0]|r[l+1|0]<<8;f=(a<<24|a<<8&16711680)>>16;d=r[g+1|0]|r[g|0]<<8;a=(d|0)!=0&d+m>>>0>s>>>0;f=a?1:f;f:{g:{h:{a=a?0:d;if(a){if((a|0)==65535){break e}a=((a+(e<<1)|0)+g|0)+ -131070|0;if(a>>>0>s>>>0?c:0){break e}a=r[a+1|0]|r[a|0]<<8;if(a){break h}d=0;break g}a=e+f|0;d=a&65535;if(!c){p=d;break b}if(d>>>0>2]){break g}if((a|0)>=0){if((f|0)<1|(a|0)>65535){break e}d=0;a=65536-f|0;break f}d=0;a=0-f|0;break f}a=a+f&65535;d=a>>>0>2]?a:0}a=e}if(d|!c){break c}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break b}while(1){if(e>>>0>f>>>0){break e}a=r[l|0]|r[l+1|0]<<8;n=(a<<24|a<<8&16711680)>>16;a=r[g+1|0]|r[g|0]<<8;i:{if(a){if((a|0)==65535){break e}a=(a+(e-k<<1)|0)+g|0;if(a>>>0>s>>>0?c:0){break e}a=r[a+1|0]|r[a|0]<<8;if(!a){d=0;a=e;break i}a=a+n&65535;d=a>>>0>2]?a:0;a=e;break i}m=e+n|0;d=m&65535;if(!c){p=d;break b}a=e;if(d>>>0>2]){break i}a=f+n|0;if(!((a|0)<0|(m|0)>-1)){d=0;a=0-n|0;break i}if((a|0)<65536|(m|0)>65535){break e}d=0;a=65536-n|0}if(d|!c){break d}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break b}j=j+2|0;o=o+2|0;u=u+1|0;if((v|0)!=(u|0)){continue}break b}break}e=a;p=d;break b}e=a;p=d}if(!c){break a}q[b>>2]=e}return p}function Oy(a,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=Da-16|0;Da=e;q[a+796>>2]=0;q[a+800>>2]=0;q[a+788>>2]=0;q[a+792>>2]=0;g=a+796|0;h=a+788|0;a:{b:{c:{d:{if(!n[q[a+516>>2]](a,1128418371,b,e+12|0)){c=2;break d}c=1;if(!n[q[a+516>>2]](a,1161972803,b,e+12|0)){break d}if(!n[q[a+516>>2]](a,1651273571,b,e+12|0)){break d}c=n[q[a+516>>2]](a,1935829368,b,e+12|0)|0;if(c){break c}c=3}q[g>>2]=c;if(t[e+12>>2]<8){c=3;break c}i=a+800|0;j=q[b+8>>2];e:{c=q[g>>2];d=c+ -1|0;if(d>>>0<=2){f:{if(d-2){c=Bc(b,q[e+12>>2],h);if(c){break c}f=q[e+12>>2];q[a+792>>2]=f;c=q[a+788>>2];d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);if((r[c+1|0]<<16|r[c|0]<<24|65536)!=196608){c=r[c+2|0]|r[c+3|0]<<8;if(((c<<24|c<<8&16711680)>>>16|256)!=768){break e}}c=3;d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(d>>>0>65535){break c}if((w(d,48)|8)>>>0<=f>>>0){break f}d=(f+ -8>>>0)/48|0;break f}c=lb(b,8);if(c){break c}c=ob(b);f=ob(b);d=fc(b);jb(b);if(!c){break e}f=f+ -1|0;if(f>>>0>2){c=3;break c}c=3;if(!(f-1)|d>>>0>65535){break c}f=q[e+12>>2];c=Xa(b,q[b+8>>2]+ -8|0);if(c){break c}d=(d<<2)+8>>>0>f>>>0?f+ -8>>>2|0:d;c=(d<<2)+8|0;q[a+792>>2]=c;c=Bc(b,c,h);if(c){break c}}q[a+800>>2]=d;c=q[g>>2]}q[a+860>>2]=0;q[a+864>>2]=0;g=a;g:{h:{i:{if(c>>>0>3){break i}j:{switch(c-1|0){case 0:case 1:break i;case 2:break j;default:break b}}q[a+860>>2]=j;b=q[e+12>>2];break h}k:{if(!n[q[a+516>>2]](a,1128416340,b,e+8|0)){break k}if(!n[q[a+516>>2]](a,1161970772,b,e+8|0)){break k}if(!n[q[a+516>>2]](a,1650745716,b,e+8|0)){break k}b=q[a+864>>2];break g}q[a+860>>2]=q[b+8>>2];b=q[e+8>>2]}q[g+864>>2]=b}c=0;if(b){break a}break b}c=2}if(q[h>>2]){zb(b,h)}q[a+792>>2]=0;i=g}q[i>>2]=0}Da=e+16|0;return c|0}function TF(a,b,c,d){a=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=Da-48|0;Da=e;a:{b:{c:{d:{if(!Ta(b,4121)){if(d){b=Sb(c,e+12|0,10);q[e+16>>2]=b;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+20>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)){break b}if(r[c|0]==44){break d}break b}b=q[c>>2];break c}if(!Ta(b,4142)){if(d){f=6;if(Ta(c,4157)){break a}q[a+28>>2]=1;f=0;break a}f=7;if(q[c>>2]!=1){break a}q[a+28>>2]=1;f=0;break a}if(!Ta(b,4163)){if(d){l=a,m=(Sb(c,0,10)|0)!=0,o[l+32|0]=m;break a}o[a+32|0]=r[c|0];break a}f=12;if(Ta(b,4181)){break a}f=0;e:{if(d){b=Sb(c,0,10);break e}b=q[c>>2]}q[a+68>>2]=(b|0)>0?b:0;break a}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+24>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+28>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+32>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+36>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}c=c+1|0;l=e,m=Sb(c,e+12|0,10),q[l+40>>2]=m;d=c;c=q[e+12>>2];if((d|0)==(c|0)|r[c|0]!=44){break b}d=c+1|0;l=e,m=Sb(d,e+12|0,10),q[l+44>>2]=m;f=q[e+12>>2];if((r[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break c}f=6;break a}f=6;d=q[c+8>>2];g=q[c+16>>2];if((d|0)>(g|0)|(b|0)>(d|0)){break a}h=q[c+28>>2];i=q[c+24>>2];j=q[c+20>>2];k=q[c+12>>2];c=q[c+4>>2];if((h|(i|(j|(k|(d|(c|b))|g))))<0|(h|0)>500|((j|0)>500|(k|0)>500)){break a}if((c|0)>500|(g|0)>(i|0)){break a}q[a+60>>2]=i;q[a+48>>2]=k;q[a+36>>2]=b;q[a- -64>>2]=h;q[a+56>>2]=j;q[a+52>>2]=g;q[a+44>>2]=d;q[a+40>>2]=c;f=0;break a}f=6}Da=e+48|0;return f|0}function qg(a,b){var c=0,d=0,e=0;a:{b:{d=a+ -247|0;if(d>>>0>7){if((a|0)==28){d=q[b+12>>2];a=q[b+4>>2];c:{if(d>>>0>=a>>>0){o[b+16|0]=1;c=271312;break c}c=d+q[b>>2]|0}e=r[c|0]<<8;c=d+1|0;d:{if(c>>>0>=a>>>0){o[b+16|0]=1;c=271312;break d}c=c+q[b>>2]|0}e=e|r[c|0];c=q[b+24>>2];e:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break e}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e<<16>>16;f:{if(r[b+16|0]|d>>>0>a>>>0){break f}d=d+2|0;if(d>>>0>a>>>0){break f}break b}break a}if(a+ -32>>>0<=214){d=a+ -139|0;a=q[b+24>>2];g:{if(a>>>0>2]){q[b+24>>2]=a+1;a=q[b+36>>2]+(a<<3)|0;break g}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}v[a>>3]=d|0;return}o[b+40|0]=1;q[b+24>>2]=0;return}h:{switch(d-4|0){case 0:case 1:case 2:case 3:e=(a<<16)+ -16449536>>8;d=q[b+12>>2];a=q[b+4>>2];i:{if(d>>>0>=a>>>0){o[b+16|0]=1;c=271312;break i}c=d+q[b>>2]|0}e=-108-(e+r[c|0]|0)|0;c=q[b+24>>2];j:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break j}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e|0;k:{if(r[b+16|0]|d>>>0>a>>>0){break k}d=d+1|0;if(d>>>0>a>>>0){break k}break b}break a;default:break h}}e=(a<<8)+2304|0;d=q[b+12>>2];a=q[b+4>>2];l:{if(d>>>0>=a>>>0){o[b+16|0]=1;c=271312;break l}c=d+q[b>>2]|0}e=((e|r[c|0])<<16)+7077888>>16;c=q[b+24>>2];m:{if(c>>>0>2]){q[b+24>>2]=c+1;c=q[b+36>>2]+(c<<3)|0;break m}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;a=q[b+4>>2];c=642976}v[c>>3]=e|0;n:{if(r[b+16|0]|d>>>0>a>>>0){break n}d=d+1|0;if(d>>>0>a>>>0){break n}break b}o[b+16|0]=1;q[b+12>>2]=a;return}q[b+12>>2]=d;return}o[b+16|0]=1;q[b+12>>2]=a}function K$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-112|0;Da=f;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}q[f+24>>2]=0;q[f+28>>2]=0;o[f+20|0]=1;b=0;q[f+16>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+68>>2]=0;q[f+72>>2]=0;o[f- -64|0]=1;q[f+60>>2]=0;q[f+76>>2]=0;q[f+80>>2]=0;q[f+84>>2]=0;q[f+88>>2]=0;q[f+92>>2]=0;q[f+96>>2]=0;q[f+100>>2]=0;q[f+104>>2]=0;q[f+8>>2]=1;q[f+12>>2]=1;q[f+4>>2]=e;q[f>>2]=g;q[f+52>>2]=1;q[f+56>>2]=1;b:{if(c){a=q[c>>2];if(!a){break b}while(1){b=r[g+5|0]|r[g+4|0]<<8;g=b?b+g|0:271312;j=r[g|0]<<8|r[g+1|0];c:{if(!j){break c}b=j+ -1|0;e=0;while(1){d:{i=b+e>>>1|0;k=(g+w(i,6)|0)+2|0;h=k;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);e:{if(h>>>0>a>>>0){b=i+ -1|0;break e}if((a|0)==(h|0)){break d}e=i+1|0}if((e|0)<=(b|0)){continue}break c}break}a=j>>>0>i>>>0?k:271312;a=r[a+4|0]<<8|r[a+5|0];aw(f,a?a+g|0:271312,d)}a=q[c+4>>2];if(!a){break b}c=c+4|0;g=q[f>>2];continue}}a=r[g+5|0];e=r[g+4|0];c=a|e<<8;c=c?c+g|0:271312;i=r[c|0]<<8|r[c+1|0];if(!i){break b}while(1){a=a&255|(e&255)<<8;a=a?a+g|0:271312;c=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;c=r[c+4|0]<<8|r[c+5|0];aw(f,c?a+c|0:271312,d);b=b+1|0;if((i|0)==(b|0)){break b}g=q[f>>2];a=r[g+5|0];e=r[g+4|0];continue}}Hm(f+52|0);La(q[f+92>>2]);q[f+92>>2]=0;q[f+84>>2]=0;q[f+88>>2]=0;La(q[f+80>>2]);q[f+80>>2]=0;q[f+72>>2]=0;q[f+76>>2]=0;Hm(f+8|0);La(q[f+48>>2]);q[f+48>>2]=0;q[f+40>>2]=0;q[f+44>>2]=0;La(q[f+36>>2]);Da=f+112|0}function $z(a,b){a=a|0;b=b|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,s=0,u=0,v=0;if(a+4>>>0>t[b+160>>2]){kb(b,8)}e=r[a+3|0]|r[a+2|0]<<8;if(e+a>>>0>t[b+160>>2]){if(q[b+164>>2]){kb(b,8)}e=q[b+160>>2]-a|0}if(e>>>0<=15){kb(b,8)}c=r[a+7|0];d=c|r[a+6|0]<<8;if(!(!(c&1)|t[b+164>>2]<2)){kb(b,8)}f=d&65534;if(e>>>0<(f<<2)+16>>>0){kb(b,8)}h=d>>>1|0;a:{if(t[b+164>>2]<2){break a}i=r[a+12|0];d=r[a+11|0]|r[a+10|0]<<8;c=r[a+9|0];j=c|r[a+8|0]<<8;g=c;c=r[a+13|0];if((g|c)&1){kb(b,8)}g=1<>>1|0;if(!((g|0)!=(d|0)|d>>>0>h>>>0|(j&65534)>>>0>>0)){if((d+((c|i<<8)>>>1|0)|0)==(h|0)){break a}}kb(b,8)}k=a+14|0;b:{if(t[b+164>>2]<2){break b}c=(f+k|0)+ -2|0;if((r[c|0]<<8|r[c+1|0])==65535){break b}kb(b,8)}if(!h){return 0}l=(a+f|0)+16|0;m=f+l|0;g=f+m|0;p=f+g|0;u=a+e|0;s=h+ -1|0;d=0;c=0;while(1){a=c;e=d;v=r[g|0]<<8;f=r[g+1|0];j=r[m|0];i=r[m+1|0];d=r[k+1|0]|r[k|0]<<8;c=r[l+1|0]|r[l|0]<<8;if(d>>>0>>0){kb(b,8)}f=f|v;c:{if(!n|c>>>0>e>>>0){break c}if(q[b+164>>2]){kb(b,8);break c}if(!(e>>>0<=d>>>0?a>>>0<=c>>>0:0)){o=o|1;break c}o=o|2}d:{if(!f){break d}if((f|0)!=65535){a=f+g|0;e:{f:{if(q[b+164>>2]){if(a>>>0

>>0|((d-c<<1)+a|0)+2>>>0>u>>>0){break f}break e}if((d|0)==65535?!((n|0)!=(s|0)|(c|0)!=65535):0){break e}if(a>>>0

>>0){break f}if(((d-c<<1)+a|0)+2>>>0<=t[b+160>>2]){break e}}kb(b,8)}if(!q[b+164>>2]|d>>>0<=c>>>0){break d}j=i|j<<8;e=c;while(1){i=r[a+1|0]|r[a|0]<<8;if(!(!i|(j+i&65535)>>>0>2])){kb(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}break d}if(!((n|0)!=(s|0)|t[b+164>>2]>1|(c|0)!=65535)){if((d|0)==65535){break d}}kb(b,8)}g=g+2|0;m=m+2|0;k=k+2|0;l=l+2|0;n=n+1|0;if((n|0)!=(h|0)){continue}break}return o|0}function UM(a,b,c,d){a=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:{if(!c){break a}k=d+2|0;if(!k){while(1){h=h+16|0;if(h>>>0>>0){continue}break a}}i=d<<4;while(1){j=0;g=0;while(1){d=g+ -16|0;d=d>>>0>>0?(d<<1)+b|0:438160;f=g>>>0>>0?(g<<1)+b|0:438160;e=g+ -32|0;e=e>>>0>>0?(e<<1)+b|0:438160;p[a>>1]=((s[d>>1]+((s[f>>1]+s[e>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+2>>1]=((s[d+2>>1]+((s[f+2>>1]+s[e+2>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+4>>1]=((s[d+4>>1]+((s[f+4>>1]+s[e+4>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+6>>1]=((s[d+6>>1]+((s[f+6>>1]+s[e+6>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+8>>1]=((s[d+8>>1]+((s[f+8>>1]+s[e+8>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+10>>1]=((s[d+10>>1]+((s[f+10>>1]+s[e+10>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+12>>1]=((s[d+12>>1]+((s[f+12>>1]+s[e+12>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+14>>1]=((s[d+14>>1]+((s[f+14>>1]+s[e+14>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+16>>1]=((s[d+16>>1]+((s[f+16>>1]+s[e+16>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+18>>1]=((s[d+18>>1]+((s[f+18>>1]+s[e+18>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+20>>1]=((s[d+20>>1]+((s[f+20>>1]+s[e+20>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+22>>1]=((s[d+22>>1]+((s[f+22>>1]+s[e+22>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+24>>1]=((s[d+24>>1]+((s[f+24>>1]+s[e+24>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+26>>1]=((s[d+26>>1]+((s[f+26>>1]+s[e+26>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+28>>1]=((s[d+28>>1]+((s[f+28>>1]+s[e+28>>1]&65534)>>>1|0)|0)+1&65534)>>>1;p[a+30>>1]=((s[d+30>>1]+((s[f+30>>1]+s[e+30>>1]&65534)>>>1|0)|0)+1&65534)>>>1;g=g+16|0;a=a+32|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}b=(i<<1)+b|0;h=h+16|0;if(h>>>0>>0){continue}break}}}function Kl(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,u=0,v=0,w=0;e=Da-32|0;Da=e;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;if(!(!c|(!a|!b))){k=q[q[a+12>>2]+16>>2];g=q[b+16>>2];fY(q[(q[b+8>>2]<<2)+288752>>2],e+16|0,e+16|4);h=q[e+16>>2];a:{b:{if(d){if(!h){q[e+16>>2]=1145457748;break b}d=q[e+20>>2];if((d|0)==1145457748){break b}if(!d){q[e+20>>2]=1145457748;break b}q[e+24>>2]=1145457748;break b}if((h|0)==1145457748){break a}if(q[e+20>>2]!=1145457748){break b}q[e+20>>2]=0}d=q[(g<<2)+288704>>2];i=wg();Zv(k,1196643650,e+16|0,d,i);if(rw(i)){break a}l=wg();q[e+12>>2]=-1;if(qe(i,e+12|0)){while(1){Yv(k,1196643650,q[e+12>>2],0,l);if(qe(i,e+12|0)){continue}break}}m=wg();Zv(k,1196445523,e+16|0,d,m);o=wg();q[e+12>>2]=-1;if(qe(m,e+12|0)){while(1){Yv(k,1196445523,q[e+12>>2],o,0);if(qe(m,e+12|0)){continue}break}}c:{if(q[b+16>>2]==10){break c}n=(q[b+12>>2]<<3)+278512|0;f=q[n>>2];if((f|0)==5326){break a}h=0;while(1){g=f+273184|0;d=r[g|0];if(d){while(1){f=d&255;g=g+1|0;if(d<<24>>24<=-1){d=f>>>0<240;j=f>>>0<224;f=(j?31:d?15:7)&f;u=j?1:d?2:3;j=u;d=g;while(1){f=r[d|0]&63|f<<6;d=d+1|0;j=j+ -1|0;if(j){continue}break}g=g+u|0}q[e+12>>2]=-1;while(1){d:{if(!qe(i,e+12|0)){d=h;break d}v=e,w=Ub(q[a>>2],f),q[v+8>>2]=w;d=1;if(!sd(k,q[e+12>>2],e+8|0,1,1)){continue}}break}h=d;d=r[g|0];if(d){continue}break}}f=q[n+8>>2];n=n+8|0;if((f|0)!=5326){continue}break}if(!(h&255)){break a}if(q[b+16>>2]==10){break c}qw(l,o)}q[e+12>>2]=-1;if(!qe(l,e+12|0)){break a}while(1){d=q[e+12>>2];e:{if(d>>>0>=t[a+4>>2]){break e}d=(d<<1)+c|0;if(s[d>>1]!=16383){break e}p[d>>1]=q[b>>2]}if(qe(l,e+12|0)){continue}break}}vg(i);vg(l);vg(m);vg(o)}Da=e+32|0}function tz(a,b){a=a|0;b=b|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>t[b+160>>2]){kb(b,8)}c=r[a+6|0]|r[a+7|0]<<8|(r[a+8|0]<<16|r[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((h+ -10>>>0)/11>>>0>=k>>>0?!(h>>>0<10|h>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(k){l=a+4|0;c=1;while(1){m=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);a=r[d+3|0]|r[d+4|0]<<8|(r[d+5|0]<<16|r[d+6|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[d+7|0]|r[d+8|0]<<8|(r[d+9|0]<<16|r[d+10|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(f>>>0>>0?e>>>0>>0:0)){kb(b,8)}if(m>>>0>>0){kb(b,8)}a:{if(!e){break a}a=e+l|0;if(a>>>0>t[b+160>>2]){kb(b,8)}c=a+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(g>>>0>q[b+160>>2]-a>>>2>>>0){kb(b,8);break b}if(!g){break a}}c=0;e=0;while(1){i=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);j=i+r[a+3|0]|0;if(j>>>0>=1114112){kb(b,8)}if(i>>>0>>0){kb(b,8)}a=a+4|0;e=j+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}c:{if(!f){break c}a=f+l|0;if(a>>>0>t[b+160>>2]){kb(b,8)}c=a+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(q[b+160>>2]-a>>>0)/5>>>0){kb(b,8);break d}if(!c){break c}}e=0;f=0;while(1){i=r[a+3|0];j=r[a+4|0];g=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);if(g>>>0>=1114112){kb(b,8)}if(g>>>0>>0){kb(b,8)}if(!(!q[b+164>>2]|(j|i<<8)>>>0>2])){kb(b,16)}a=a+5|0;e=g+1|0;f=f+1|0;if((c|0)!=(f|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 ZM(a,b,c,d){a=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,q=0;e=Da-96|0;k=c+5>>>1|0;if(k){h=d<<4;i=w(c+15&-16,d);l=e+32|0;while(1){j=0;if(d){while(1){c=g-h|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];p[e+28>>1]=s[c+28>>1];p[e+30>>1]=s[c+30>>1];c=g>>>0>>0?(g<<1)+b|0:438160;p[e+32>>1]=s[c>>1];p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];c=g+h|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e+64>>1]=s[c>>1];p[e+66>>1]=s[c+2>>1];p[e+68>>1]=s[c+4>>1];p[e+70>>1]=s[c+6>>1];p[e+72>>1]=s[c+8>>1];p[e+74>>1]=s[c+10>>1];p[e+76>>1]=s[c+12>>1];p[e+78>>1]=s[c+14>>1];p[e+80>>1]=s[c+16>>1];p[e+82>>1]=s[c+18>>1];p[e+84>>1]=s[c+20>>1];p[e+86>>1]=s[c+22>>1];p[e+88>>1]=s[c+24>>1];p[e+90>>1]=s[c+26>>1];p[e+92>>1]=s[c+28>>1];p[e+94>>1]=s[c+30>>1];c=0;while(1){m=c<<2;f=m+l|0;n=p[f+ -2>>1]+p[f+ -4>>1]|0;q=p[f+ -8>>1];f=p[f>>1]+p[f+ -6>>1]|0;p[(c<<1)+a>>1]=(n+(((p[(m|2)+l>>1]+(q+f|0)>>1)+n>>>1|0)+f>>>1|0)|0)+2>>>2;c=c+1|0;if((c|0)!=16){continue}break}g=g+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue}break}}g=g+h|0;o=o+16|0;if(o>>>0>>0){continue}break}}}function cx(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;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){c=q[a>>2];l=(r[c+7|0]|r[c+6|0]<<8)+c|0;m=c+(r[c+5|0]|r[c+4|0]<<8)|0;j=q[d+76>>2];k=h>>>0>=j>>>0;g=0;b:{if(k){break b}f=q[q[d+88>>2]+w(h,20)>>2];g=2;if((f|0)==65535){break b}g=f;f=c+(r[c+3|0]|r[c+2|0]<<8)|0;e=g-(r[f|0]<<8|r[f+1|0])|0;g=1;if(e>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(e+f|0)+4|0]}e=g;c=r[c+1|0]|r[c|0]<<8;e=l+(r[m+((c>>>0>e>>>0?e:1)+w(c,i)|0)|0]<<3)|0;c:{if(!i){break c}c=q[(r[d+69|0]?80:72)+d>>2];if(k|!c){break c}if(!((r[e+5|0]|r[e+4|0]<<8)!=65535|(r[e+7|0]|r[e+6|0]<<8)!=65535|(r[e+1|0]|r[e|0]<<8))){if((r[e+3|0]|r[e+2|0]<<8)==16384){break c}}Zc(d,c+ -1|0,h+1|0);d=q[a+4>>2];j=q[d+76>>2];h=q[d+72>>2]}g=h+2|0;d:{if(g>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;f=r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,i))|0];i=r[c+6|0];k=r[c+7|0];if(r[b+8|0]?0:(h|0)==(j|0)){break d}c=(c+(k|i<<8)|0)+(f<<3)|0;if((r[c+7|0]|r[c+6|0]<<8)==65535?(r[c+4|0]<<8|r[c+5|0])==65535:0){break d}rb(d,h,g)}_w(b,a,e);d=q[a>>2];i=((r[e+1|0]|r[e|0]<<8)-(r[d+4|0]<<8|r[d+5|0])|0)/(r[d+1|0]|r[d|0]<<8)|0;c=q[a+4>>2];d=q[c+72>>2];if((d|0)==q[c+76>>2]){break a}e:{if(r[e+2|0]&64){e=q[c+40>>2];q[c+40>>2]=e+ -1;if((e|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){f=d;if(q[c+80>>2]==(d|0)){break f}}if(!Va(c,1,1)){break e}e=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[e+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[c+72>>2];f=q[c+80>>2]}q[g+80>>2]=f+1}q[c+72>>2]=d+1}d=q[a+4>>2];if(!r[d+68|0]){break a}h=q[d+72>>2];continue}}}function IX(a,b,c,d){var e=0,f=0,g=0;e=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=e;q[a+8>>2]=q[b+8>>2];q[a+24>>2]=0;q[a+28>>2]=0;o[a+20|0]=0;o[a+16|0]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;e=Sa(4744);a:{b:{if(e){q[a+28>>2]=593;q[a+36>>2]=e;f=q[a+32>>2];if(f>>>0<=512){g=e;e=f<<3;Na(g+e|0,0,4104-e|0)}e=513;q[a+32>>2]=513;break b}q[a+28>>2]=-1;e=q[a+32>>2];if(!e){break a}}Na(q[a+36>>2],0,e<<3)}o[a+40|0]=0;e=q[b+4>>2];f=q[b>>2];q[a+52>>2]=q[b+8>>2];q[a+44>>2]=f;q[a+48>>2]=e;q[a+128>>2]=0;q[a+132>>2]=0;o[a+73|0]=1;o[a+74|0]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;o[a+60|0]=0;q[a+56>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;o[a+81|0]=0;o[a+82|0]=0;o[a+83|0]=0;o[a+84|0]=0;o[a+85|0]=0;o[a+86|0]=0;o[a+87|0]=0;o[a+88|0]=0;b=Sa(560);c:{d:{if(b){q[a+96>>2]=20;q[a+104>>2]=b;e=q[a+100>>2];if(e>>>0<=9){Na(b+w(e,28)|0,0,w(10-e|0,28))}b=10;q[a+100>>2]=10;break d}q[a+96>>2]=-1;b=q[a+100>>2];if(!b){break c}}e=0;while(1){e:{if(b>>>0<=e>>>0){q[160750]=q[67834];b=q[67833];q[160748]=q[67832];q[160749]=b;b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break e}b=q[a+104>>2]+w(e,28)|0}q[b+20>>2]=0;q[b+24>>2]=0;q[b>>2]=0;q[b+4>>2]=0;o[b+16|0]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=e+1|0;b=q[a+100>>2];if(e>>>0>>0){continue}break}}q[a+112>>2]=c;f:{g:{if(c){b=r[c+1|0]|r[c|0]<<8;if(b>>>0>1239){break g}}q[a+108>>2]=107;break f}if(b>>>0<=33899){q[a+108>>2]=1131;break f}q[a+108>>2]=32768}q[a+120>>2]=d;h:{if(d){b=r[d+1|0]|r[d|0]<<8;if(b>>>0>1239){break h}}q[a+116>>2]=107;return}if(b>>>0<=33899){q[a+116>>2]=1131;return}q[a+116>>2]=32768}function mN(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,r=0,s=0,t=0,u=0,v=0,x=0;i=Da-32|0;Da=i;a:{b:{if(!((f|0)<1|(g|0)<=0)){j=-1<>2]^-1;if(j&f){break b}if(g&j){break a}e=e<<6;j=d<<6;m=q[b+28>>2];if(m){d=q[b+20>>2];r=d+w(m,40)|0;n=e;s=e>>31;t=j;u=j>>31;while(1){q[d+24>>2]=q[d+24>>2]-j;q[d+28>>2]=q[d+28>>2]-j;q[d+32>>2]=q[d+32>>2]-e;q[d+36>>2]=q[d+36>>2]-e;o=q[d>>2];v=q[d+4>>2];k=q[d+12>>2];l=V$(k,k>>31,n,s);x=Ea;k=l;l=q[d+8>>2];p=V$(l,l>>31,t,u);k=k+p|0;l=Ea+x|0;l=k>>>0

>>0?l+1|0:l;q[d>>2]=o-k;q[d+4>>2]=v-(l+(o>>>0>>0)|0);d=d+40|0;if((r|0)!=(d|0)){continue}break}}q[b+4>>2]=q[b+4>>2]-j;d=q[b+12>>2]-j|0;q[b+12>>2]=d;q[b+8>>2]=q[b+8>>2]-e;q[b+16>>2]=q[b+16>>2]-e;e=q[b+40>>2];j=q[b+32>>2]+m|0;c:{if(e>>>0>>0){d=e<<1;e=d>>>0>64?d:64;while(1){d=e;e=d<<1;if(d>>>0>>0){continue}break}j=db(q[b+24>>2],w(d,40));e=0;if(!j){break c}q[b+40>>2]=d;q[b+24>>2]=j;m=q[b+28>>2];d=q[b+12>>2]}e=q[b+44>>2];q[i+16>>2]=e;j=m-e|0;q[i+20>>2]=j;q[i+8>>2]=0;q[i+12>>2]=0;k=d;d=f<<6;if((k|0)>=(d|0)){n=q[b+20>>2];il(n,e,j,n,i+16|0,q[b+24>>2],i+24|0,i+8|0,d);q[i+8>>2]=0;q[i+12>>2]=0}d=g<<6;if(q[b+16>>2]>=(d|0)){e=q[b+20>>2];hl(e,q[i+16>>2],q[i+20>>2],e,i+16|0,q[b+24>>2],i+24|0,i+8|0,d);q[i+8>>2]=0;q[i+12>>2]=0}if(q[b+4>>2]<=0){d=q[b+20>>2];il(d,q[i+16>>2],q[i+20>>2],q[b+24>>2],i+24|0,d,i+16|0,i+8|0,0)}if(q[b+8>>2]>=1){d=i+8|0}else{d=q[b+20>>2];hl(d,q[i+16>>2],q[i+20>>2],q[b+24>>2],i+24|0,d,i+16|0,i+8|0,0);d=i+8|0}e=q[i+20>>2];j=q[i+16>>2];q[b+32>>2]=0;q[b+28>>2]=e+j;e=gl(a,b,c,f,g,h,0,i+16|0,d)}Da=i+32|0;return e}I(437185,437145,727,437209);F()}I(437225,437145,728,437209);F()}I(437268,437145,729,437209);F()}function Fs(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,s=0,t=0,u=0,v=0,x=0,y=0;i=Da-16|0;Da=i;g=q[b>>2];e=g<<1;x=a,y=Oa(d,4,0,e,0,i+12|0),q[x+12>>2]=y;a:{if(q[i+12>>2]){break a}x=a,y=Oa(d,28,0,g,0,i+12|0),q[x+8>>2]=y;if(q[i+12>>2]){break a}x=a,y=Oa(d,16,0,e|1,0,i+12|0),q[x+24>>2]=y;if(q[i+12>>2]){break a}q[a>>2]=g;q[a+28>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+16>>2]=q[a+12>>2]+(g<<2);if(g){d=q[a+8>>2];b=q[b+8>>2];f=g;while(1){q[d>>2]=q[b>>2];q[d+4>>2]=q[b+4>>2];q[d+16>>2]=q[b+8>>2];b=b+12|0;d=d+28|0;f=f+ -1|0;if(f){continue}break}}e=0;b:{if(!c){break b}j=q[c>>2];k=q[c+8>>2];q[a+32>>2]=c;if(!j){break b}while(1){p=q[k>>2];if(p){m=q[k+8>>2];b=0;l=0;s=0;while(1){if(!b){s=r[m|0];m=m+1|0;b=128}c:{if(!(b&s)|g>>>0<=l>>>0){break c}h=q[a+8>>2]+w(l,28)|0;c=q[h+16>>2];if(c&4){break c}q[h+16>>2]=c|4;c=q[a+16>>2];q[h+20>>2]=0;d:{if(!e){break d}t=q[h>>2];v=t+q[h+4>>2]|0;f=e;d=c;while(1){n=q[d>>2];u=q[n>>2];if(!((v|0)<(u|0)|(q[n+4>>2]+u|0)<(t|0))){q[h+20>>2]=n;break d}d=d+4|0;f=f+ -1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break c}d=e+1|0;q[a+4>>2]=d;q[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=q[a+8>>2]+w(o,28)|0;b=q[f+16>>2];e:{if(b&4){break e}q[f+16>>2]=b|4;c=q[a+16>>2];q[f+20>>2]=0;f:{if(!e){break f}k=q[f>>2];l=k+q[f+4>>2]|0;b=e;d=c;while(1){h=q[d>>2];j=q[h>>2];if(!((l|0)<(j|0)|(j+q[h+4>>2]|0)<(k|0))){q[f+20>>2]=h;break f}d=d+4|0;b=b+ -1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break e}b=e+1|0;q[a+4>>2]=b;q[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Da=i+16|0;return q[i+12>>2]}function Zn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-32|0;Da=e;a:{b:{if(a>>>0>=b>>>0){break b}while(1){c=r[a|0];if((c|0)!=9?(c|0)!=32:0){break b}a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b;break a}if(a>>>0>=b>>>0){break a}while(1){c=b+ -1|0;d=r[c|0];if((d|0)!=9?(d|0)!=32:0){break a}b=c;if(b>>>0>a>>>0){continue}break}}c:{d:{d=b-a|0;if(r[a|0]!=92|(d|0)<3){break d}f=o[a+1|0]+ -75|0;if(f>>>0>41){break d}c=1;e:{switch(f-1|0){case 40:if((d|0)<4){break d}c=0;if(r[a+2|0]!=40){break c}c=r[b+ -1|0]==41;break c;case 33:if((d|0)<7){break d}d=b+ -1|0;if(r[d|0]!=41){break d}if(Ta(a,1207)){break d}c=0;a=a+6|0;if(a>>>0>=d>>>0){break c}f:{g:while(1){f=0;b=0;while(1){h:{i:{h=o[a|0];g=h+ -32|0;if(g>>>0>12){if((h|0)==9){break h}break i}j:{switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break i;case 11:break j;default:break h}}q[(c<<2)+e>>2]=b;c=c+1|0;a=a+1|0;if((d|0)!=(a|0)){continue g}break f}g=h+ -48&255;if(g>>>0>9){break d}b=(w(b,10)+h|0)+ -48|0;f=(g>>>0<10)+f|0}a=a+1|0;if((d|0)!=(a|0)){continue}break}break}if((f|0)<1){break f}q[(c<<2)+e>>2]=b;c=c+1|0}a=(c|0)<4;c=0;if(a){break c}c=q[e>>2]!=q[e+8>>2]|q[e+4>>2]!=q[e+12>>2];break c;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:case 28:case 29:case 30:case 32:case 34:case 35:case 36:case 37:case 38:case 39:break d;case 26:break e;default:break c}}if((d|0)<7){break d}c=0;if(r[b+ -1|0]!=41){break c}c=1;if(!Ta(a,1214)){break c}c=!Ta(a,1220);break c}c=0}Da=e+32|0;return c}function Rr(a,b,c){var d=0,e=0,f=0,g=0;d=Da-112|0;Da=d;q[d+108>>2]=0;q[d+88>>2]=0;q[d+92>>2]=0;e=-1;a:{if(q[b+108>>2]==10){break a}c=pP(a,q[b+16>>2],b,d+104|0,d+108|0,d+100|0,d+88|0,c);if(!c){break a}a=q[b+108>>2];if((a|0)>=1){e=0;f=q[d+100>>2];while(1){if((f|0)==q[((e<<2)+b|0)+24>>2]){hb(q[b+16>>2],4,355123,0);break a}e=e+1|0;if((e|0)<(a|0)){continue}break}}b:{f=q[d+88>>2];c:{if(f){a=ab(1,40);e=ab(1,8);g=q[d+92>>2];q[e>>2]=q[d+88>>2];q[e+4>>2]=g;f=n[f](q[d+92>>2],0,0,0)|0;q[a+24>>2]=768;q[a+20>>2]=769;q[a+4>>2]=f;q[a+12>>2]=e;q[d+60>>2]=0;q[d+64>>2]=0;q[d+76>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+48>>2]=2;q[d+52>>2]=0;q[d+56>>2]=0;q[d+64>>2]=a;if(!ip(q[b+20>>2],d+48|0,q[d+104>>2],d+84|0)){break c}a=q[b+16>>2];q[d+32>>2]=c;hb(a,2,355176,d+32|0);e=-1;break a}if(Th(q[b+20>>2],c,q[d+104>>2],d+84|0)){a=q[b+16>>2];q[d+16>>2]=c;q[d+20>>2]=q[d+104>>2];hb(a,2,355208,d+16|0);e=-1;break a}if(!q[d+108>>2]|q[d+104>>2]>-1){break c}a=q[d+84>>2];if(q[a>>2]<1){break c}e=0;while(1){se(a);if(Th(q[b+20>>2],c,e,d+84|0)){break b}a=Jj(q[d+84>>2]);if(a){if(!Ta(a,q[d+108>>2])){break c}}e=e+1|0;a=q[d+84>>2];if((e|0)>2]){continue}break}}Sr(q[b+16>>2],q[d+84>>2]);a=q[d+84>>2];if(!(s[a+74>>1]?p[a+70>>1]!=(0-p[a+72>>1]|0):0)){c=a;e=wd(a,2);d:{if(e){f=s[e+70>>1];p[a+70>>1]=f;g=a;a=s[e+72>>1];p[g+72>>1]=a;a=f-a|0;break d}e=q[a- -64>>2];p[a+70>>1]=e;g=a;a=q[a+56>>2];p[g+72>>1]=a;a=e-a|0}p[c+74>>1]=a}a=q[b+108>>2];c=(a<<2)+b|0;e=q[d+84>>2];q[c- -64>>2]=e;f=q[d+100>>2];q[b+108>>2]=a+1;q[c+24>>2]=f;zl(e,v[b+112>>3]);e=q[b+108>>2]+ -1|0;break a}a=q[b+16>>2];q[d+4>>2]=e;q[d>>2]=c;hb(a,2,355208,d);e=-1}Da=d+112|0;return e}function Xx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=$i(q[a>>2]+148|0);c=t[c+16>>2]<8?271312:q[c+12>>2];if(r[c|0]<<8|r[c+1|0]){d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!h){break a}f=c+8|0;j=q[67828];while(1){k=Vx(f,a);b:{c:{d:{d=q[b>>2];if((d|0)>=0){c=d;g=q[b+4>>2];e=g+1|0;e=(e|0)>0?e:0;if(c>>>0>=e>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=db(q[b+8>>2],c<<2);if(d){break d}}q[b>>2]=-1}q[160744]=j;d=642976;break b}q[b>>2]=c;q[b+8>>2]=d;g=q[b+4>>2]}if(e>>>0>g>>>0){Na(q[b+8>>2]+(g<<2)|0,0,e-g<<2)}q[b+4>>2]=e;d=(q[b+8>>2]+(e<<2)|0)+ -4|0}q[d>>2]=k;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+f|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break a}c=_i(q[a>>2]+152|0);c=t[c+16>>2]<8?271312:q[c+12>>2];if(!(r[c|0]<<8|r[c+1|0])){break a}d=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!h){break a}f=c+8|0;j=q[67828];while(1){k=Ux(f,a);e:{f:{g:{d=q[b>>2];if((d|0)>=0){c=d;g=q[b+4>>2];e=g+1|0;e=(e|0)>0?e:0;if(c>>>0>=e>>>0){break f}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){d=db(q[b+8>>2],c<<2);if(d){break g}}q[b>>2]=-1}q[160744]=j;d=642976;break e}q[b>>2]=c;q[b+8>>2]=d;g=q[b+4>>2]}if(e>>>0>g>>>0){Na(q[b+8>>2]+(g<<2)|0,0,e-g<<2)}q[b+4>>2]=e;d=(q[b+8>>2]+(e<<2)|0)+ -4|0}q[d>>2]=k;c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);f=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+f|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}}function e$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+4>>2];a:{if(o[c+2|0]>-1){break a}b=q[a+44>>2];if(b>>>0<=7){e=q[f+72>>2];q[a+44>>2]=b+1;q[((b<<2)+a|0)+12>>2]=e;break a}q[a+44>>2]=0}b=r[c+3|0]|r[c+2|0]<<8&16128;b:{if(!b){break b}c=q[a+44>>2];if(!c){break b}c:{d:{if(c>>>0>2147483646){break d}e=q[a>>2];d=b+q[a+4>>2]|0;b=q[a+8>>2];b=((d-b|0)+8&-2)+b|0;if(t[e+20>>2]>b>>>0){break d}d=q[e+24>>2];if(d>>>0>>0|d-b>>>0>>0){break d}d=q[e+28>>2];q[e+28>>2]=d+ -1;if((d|0)>0){break c}}q[a+44>>2]=0;return}h=q[q[e>>2]+132>>2];while(1){c=c+ -1|0;q[a+44>>2]=c;e=q[((c<<2)+a|0)+12>>2];if(e>>>0>2]){c=r[b|0]|r[b+1|0]<<8;d=(c<<24|c<<8&16711680)>>16;i=d&1;c=q[f+96>>2];d=d&-2;e:{if((d|0)==-32768){c=c+w(e,20)|0;p[c+16>>1]=0;q[c+8>>2]=0;q[c+12>>2]=0;o[c+18|0]=0;break e}g=r[a+48|0];if((q[f+48>>2]&-2)==4){if(g){c=c+w(e,20)|0;if(!r[c+18|0]|q[c+12>>2]){break e}e=c;c=q[q[a>>2]+4>>2];c=V$(q[c+40>>2],q[c+44>>2],d,d>>31);q[e+12>>2]=(Ea&65535)<<16|c>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}e=w(e,20);if(!(q[(e+q[f+88>>2]|0)+4>>2]&h)){break e}c=c+e|0;if(q[c+8>>2]){break e}g=q[q[a>>2]+4>>2];d=V$(q[g+32>>2],q[g+36>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[c>>2]=d+q[c>>2];q[c+8>>2]=d;break e}if(g){c=c+w(e,20)|0;if(!r[c+18|0]|q[c+8>>2]){break e}e=c;c=q[q[a>>2]+4>>2];c=V$(q[c+32>>2],q[c+36>>2],d,d>>31);q[e+8>>2]=(Ea&65535)<<16|c>>>16;q[f+32>>2]=q[f+32>>2]|8;break e}e=w(e,20);if(!(q[(e+q[f+88>>2]|0)+4>>2]&h)){break e}c=c+e|0;if(q[c+12>>2]){break e}g=q[q[a>>2]+4>>2];d=V$(q[g+40>>2],q[g+44>>2],d,d>>31);d=(Ea&65535)<<16|d>>>16;q[c+4>>2]=d+q[c+4>>2];q[c+12>>2]=d}if(i){break b}c=q[a+44>>2]}b=b+2|0;if(c){continue}break}}}function F$(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{while(1){d:{if((c|0)!=9){c=c+ -1|0;if(c>>>0>7){break c}e:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break c}if(c-1){break d}break b;case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break c}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}d=r[a+9|0];c=r[a+8|0];f=d|c<<8;if(!f){break c}g=a+4|0;while(1){c=((c&255)<<8|d)>>>0>e>>>0?((e<<1)+a|0)+10|0:271312;c=r[c|0]<<8|r[c+1|0];M_(c?c+a|0:271312,b,g);e=e+1|0;if((f|0)==(e|0)){break c}d=r[a+9|0];c=r[a+8|0];continue}}K_(a,b);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break c}break b;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break c}break a;case 5:Ov(a,b);return;case 6:break e}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break c}f:{switch(c-1|0){default:Nv(a,b);return;case 0:Mv(a,b);return;case 1:break f}}Lv(a,b);return}if((r[a+1|0]|r[a|0]<<8)!=1){break c}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}c=a;a=r[a+3|0]|r[a+2|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2])}return}c=a;a=r[a+3|0]|r[a+2|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2]);return}c=a;a=r[a+5|0]|r[a+4|0]<<8;Vb(a?c+a|0:271312,q[b+8>>2])}function _y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,r=0;e=Da-16|0;Da=e;j=q[b+28>>2];q[a+368>>2]=b;c=n[q[a+516>>2]](a,1851878757,b,e+8|0)|0;q[e+12>>2]=c;a:{if(c){break a}i=q[b+8>>2];c=mb(b,163296,a+344|0);q[e+12>>2]=c;if(c){break a}l=i+6|0;c=q[a+348>>2];h=l+w(c,12)|0;k=q[e+8>>2]+i|0;if(h>>>0>k>>>0){c=145;q[e+12>>2]=145;break a}d=a;g=j;if(s[a+344>>1]==1){c=Xa(b,h);q[e+12>>2]=c;if(c){break a}f=ib(b,e+12|0);q[a+360>>2]=f;c=q[e+12>>2];if(c){break a}o=a,r=Oa(j,12,0,f,0,e+12|0),q[o+364>>2]=r;c=q[e+12>>2];if(c){break a}c=lb(b,q[a+360>>2]<<2);q[e+12>>2]=c;if(c){break a}h=(f<<2|2)+h|0;c=q[a+364>>2];b:{if(!c){break b}f=q[a+360>>2];if((f|0)<1){break b}m=w(f,12)+c|0;while(1){o=e,r=mb(b,163356,c),q[o+12>>2]=r;f=q[c+4>>2]+(q[a+352>>2]+i|0)|0;q[c+4>>2]=f;if(!(f+s[c>>1]>>>0<=k>>>0?f>>>0>=h>>>0:0)){p[c>>1]=0}c=c+12|0;if(c>>>0>>0){continue}break}}jb(b);o=e,r=Xa(b,l),q[o+12>>2]=r;c=q[a+348>>2]}o=d,r=Oa(g,20,0,c,0,e+12|0),q[o+356>>2]=r;c=q[e+12>>2];if(c){break a}c=lb(b,w(q[a+348>>2],12));q[e+12>>2]=c;if(c){break a}d=q[a+356>>2];g=q[a+348>>2];c:{if(!g){c=d;g=0;break c}c=d;while(1){d=mb(b,163328,c);q[e+12>>2]=d;d:{if(d){break d}f=s[c+8>>1];if(!f){break d}d=q[c+12>>2]+(q[a+352>>2]+i|0)|0;q[c+12>>2]=d;if(d>>>0>>0|d+f>>>0>k>>>0){break d}e:{if(s[a+344>>1]!=1){break e}d=p[c+4>>1];if((d|0)>-1){break e}d=(d&65535)+ -32768|0;if(d>>>0>=t[a+360>>2]|!s[q[a+364>>2]+w(d,12)>>1]){break d}}c=c+20|0}g=g+ -1|0;if(g){continue}break}d=q[a+356>>2];g=q[a+348>>2]}c=(c-d|0)/20|0;d=Oa(j,20,g,c,d,e+12|0);q[a+348>>2]=c;q[a+356>>2]=d;jb(b);p[a+340>>1]=q[a+348>>2];c=q[e+12>>2]}Da=e+16|0;return c|0}function Um(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;j=Da-80|0;Da=j;d=r[c+3|0];e=q[b+4>>2];b=r[c+2|0];if(b&128){q[a+4>>2]=q[e+72>>2]}if(b&32){b=q[e+76>>2];c=q[e+72>>2]+1|0;q[a+8>>2]=c>>>0>b>>>0?b:c}d=d&15;a:{if(!d){break a}f=q[a+8>>2];c=q[a+4>>2];if(f>>>0<=c>>>0){break a}b=f-c|0;d=r[d+228528|0];k=d>>>4|0;h=k>>>0<2?k:2;l=d&15;i=l>>>0<2?l:2;o=h+i|0;if(b>>>0>>0){break a}d=q[e+76>>2];g=q[e+72>>2]+1|0;d=g>>>0>d>>>0?d:g;if(d-c>>>0>=2){kc(e,c,d);f=q[a+8>>2];c=q[a+4>>2];b=f-c|0}d=j;if(b>>>0>=2){kc(e,c,f);f=q[a+8>>2];c=q[a+4>>2]}b=q[e+88>>2];g=b+w(c,20)|0;m=w(h,20);d=Qa(d,g,m);n=w(i,20);p=Qa(d+40|0,(b+w(f,20)|0)+w(0-i|0,20)|0,n);e=b;if((h|0)!=(i|0)){sb(g+n|0,g+m|0,w(f-(c+o|0)|0,20));c=q[a+4>>2]}Qa(w(c,20)+e|0,p,n);Qa((b+w(q[a+8>>2],20)|0)+w(0-h|0,20)|0,d,m);if((k|0)==3){e=b+w(q[a+8>>2],20)|0;c=e+ -20|0;q[d+16>>2]=q[c+16>>2];f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f;f=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=f;e=e+ -40|0;f=q[e+4>>2];q[c>>2]=q[e>>2];q[c+4>>2]=f;f=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=f;q[c+16>>2]=q[e+16>>2];e=q[d+4>>2];c=(b+w(q[a+8>>2],20)|0)+ -40|0;q[c>>2]=q[d>>2];q[c+4>>2]=e;q[c+16>>2]=q[d+16>>2];e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e}if((l|0)!=3){break a}c=b+w(q[a+4>>2],20)|0;q[d+16>>2]=q[c+16>>2];e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+24>>2];q[c>>2]=q[c+20>>2];q[c+4>>2]=e;e=q[c+32>>2];q[c+8>>2]=q[c+28>>2];q[c+12>>2]=e;q[c+16>>2]=q[c+36>>2];a=b+w(q[a+4>>2],20)|0;q[a+36>>2]=q[d+16>>2];b=q[d+12>>2];q[a+28>>2]=q[d+8>>2];q[a+32>>2]=b;b=q[d+4>>2];q[a+20>>2]=q[d>>2];q[a+24>>2]=b}Da=j+80|0}function vr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Da-32|0;Da=g;e=a;if(c){d=q[a+44>>2]}else{q[a+4>>2]=2147483647;q[a+44>>2]=0;q[a+16>>2]=-2147483648;q[a+8>>2]=2147483647;q[a+12>>2]=-2147483648;d=0}q[e+28>>2]=d;e=q[b+16>>2];f=q[b>>2];a:{if(f){while(1){j=(i<<3)+e|0;if(q[j>>2]+268435456>>>0>536870911|q[j+4>>2]+268435456>>>0>536870911){break a}i=i+1|0;if(i>>>0>>0){continue}break}}b:{c:{d:{if(!q[b+8>>2]){i=e;break d}i=e;while(1){f=r[q[b+20>>2]+k|0];j=f&3;d=j+ -1|0;if(d>>>0>2){break a}e=(j<<3)+e|0;j=f&4;f=j?i:e;e:{f:{switch(d-1|0){case 0:d=e+ -16|0;h=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=h;d=e+ -8|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=q[f+4>>2];q[g+16>>2]=q[f>>2];q[g+20>>2]=d;if(ll(a,g)){break e}break a;case 1:d=e+ -24|0;h=q[d+4>>2];q[g>>2]=q[d>>2];q[g+4>>2]=h;d=e+ -16|0;h=q[d+4>>2];q[g+8>>2]=q[d>>2];q[g+12>>2]=h;d=e+ -8|0;h=q[d+4>>2];q[g+16>>2]=q[d>>2];q[g+20>>2]=h;d=q[f+4>>2];q[g+24>>2]=q[f>>2];q[g+28>>2]=d;if(!kl(a,g)){break a}break e;default:break f}}d=e+ -8|0;if(jl(a,q[d>>2],q[d+4>>2],q[f>>2],q[f+4>>2])){break e}break a}i=j?e:i;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)!=(i|0)){break c}}if((q[b+16>>2]+(q[b>>2]<<3)|0)==(i|0)){break b}}I(437092,437145,317,437162);F()}i=q[a+44>>2];j=q[a+28>>2];if(i>>>0>>0){k=q[a+16>>2];b=q[a+12>>2];l=q[a+8>>2];e=q[a+4>>2];d=q[a+20>>2];while(1){f=d+w(i,40)|0;h=q[f+36>>2];k=(k|0)>(h|0)?k:h;h=q[f+28>>2];b=(b|0)>(h|0)?b:h;h=q[f+32>>2];l=(l|0)>(h|0)?h:l;f=q[f+24>>2];e=(e|0)>(f|0)?f:e;i=i+1|0;if(i>>>0>>0){continue}break}q[a+16>>2]=k;q[a+12>>2]=b;q[a+8>>2]=l;q[a+4>>2]=e}l=1;if(c){break a}q[a+44>>2]=j}Da=g+32|0;return l}function Jc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=q[a>>2];a:{if(e){q[a>>2]=e+1;d=r[e|0];if(d){break a}q[a>>2]=0}c=q[a+4>>2];b:{c:{if(b){while(1){e=c;c=c+1|0;q[a+4>>2]=c;d=r[e|0];if(!d){d=0;break b}if(Pb(b,d)){continue}break c}}q[a+4>>2]=c+1;d=r[c|0];e=c}if((d&255)>>>0<192){break b}i=e+1|0;h=Wa(i);if((h|0)==-1){break a}c=d&255;d:{if(d&128){if(!(c&64)){break a}e:{if(!(c&32)){f=1;b=31;break e}if(!(c&16)){f=2;b=15;break e}if(!(c&8)){f=3;b=7;break e}f=4;b=3;if(!(c&4)){break e}if(c&2){break a}f=5;b=1}if((f|0)>(h|0)){break a}g=f+i|0;c=b&c;b=e;while(1){h=r[b+1|0];if((h&192)!=128){break a}b=b+1|0;c=h&63|c<<6;f=f+ -1|0;if(f){continue}break}break d}g=i;if((h|0)<=-1){break a}}if(c+ -65>>>0>125152){break a}k=g-e|0;if((k|0)<1){break a}b=295;e=0;while(1){f=b+e>>1;g=f<<3;h=q[g+486896>>2];f:{j=s[g+486900>>1];g=j>>>2|0;j=j&3;if(h+((j|0)==2?1:g)>>>0<=c>>>0){e=f+1|0;break f}if(c>>>0>>0){b=f+ -1|0;break f}g:{h:{b=j+ -1|0;if(b>>>0<=1){if(!(b-1)){break h}if((c^h)&1){break a}}g=a+8|0;i:{j:{b=p[(f<<3)+486902>>1]+c|0;if(b>>>0>=128){if(b>>>0<2048){d=0;c=192;e=6;break i}if(b>>>0<65536){d=6;c=224;e=12;break i}if(b>>>0<2097152){d=12;c=240;e=18;break i}if(b>>>0<67108864){d=18;c=248;e=24;break i}if((b|0)>-1){break j}g=0;break g}o[a+8|0]=b;g=(a+9|0)-g|0;break g}d=24;c=252;e=30}o[a+8|0]=b>>>e|c;c=a+9|0;while(1){o[c|0]=b>>>d&63|128;c=c+1|0;e=(d|0)>5;d=d+ -6|0;if(e){continue}break}i=q[a+4>>2];g=c-g|0;break g}Qa(a+8|0,p[(f<<3)+486902>>1]+486416|0,g)}q[a+4>>2]=(i+k|0)+ -1;o[(a+8|0)+g|0]=0;q[a>>2]=a+9;d=r[a+8|0];break a}if((e|0)<=(b|0)){continue}break}break a}d=(d+ -65&255)>>>0<26?d+32|0:d}return d&255}function It(a){var b=0,c=0;c=a>>>12|0;a:{if(c>>>0>17){break a}b:{switch(c-1|0){default:c=a+ -40|0;if(c>>>0<=23){b=r[c+255488|0];break a}if(a+ -160>>>0<=55){b=r[a+255352|0];break a}if((a&-8)==840){b=r[a+254728|0];break a}if(a+ -2304>>>0<=1271){b=r[a+253272|0];break a}if(a+ -3864>>>0>175){break a}b=r[a+252984|0];break a;case 0:if(a+ -4096>>>0<=159){b=r[a+252928|0];break a}if(a+ -5888>>>0<=239){b=r[a+251296|0];break a}if(a+ -6400>>>0<=415){b=r[a+251024|0];break a}if(a+ -6912>>>0<=335){b=r[a+250928|0];break a}if(a+ -7376>>>0<=47){b=r[a+250800|0];break a}if((a&-8)!=7672){break a}b=r[a+250552|0];break a;case 1:if(a+ -8200>>>0<=15){b=r[a+250032|0];break a}if(a+ -8288>>>0<=39){b=r[a+249960|0];break a}c=a&-8;if((c|0)!=9672){if((c|0)!=8432){break a}b=r[a+249856|0];break a}b=r[a+248624|0];break a;case 9:if(a+ -43008>>>0<=759){b=r[a+215296|0];break a}if((a&-64)!=43968){break a}b=r[a+215096|0];break a;case 14:if((a&-16)!=65024){break a}b=r[a+194104|0];break a;case 15:if(a+ -68096>>>0>79){break a}b=r[a+191048|0];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:break a;case 16:break b}}if(a+ -69632>>>0<=191){b=r[a+189592|0];break a}if(a+ -69888>>>0<=319){b=r[a+189528|0];break a}if(a+ -70272>>>0<=247){b=r[a+189464|0];break a}if(a+ -70656>>>0<=223){b=r[a+189328|0];break a}if(a+ -71040>>>0<=447){b=r[a+189168|0];break a}if((a&-64)==71680){b=r[a+188976|0];break a}if(a+ -72096>>>0<=255){b=r[a+188624|0];break a}if(a+ -72704>>>0<=183){b=r[a+188272|0];break a}if(a+ -72960>>>0<=175){b=r[a+188200|0];break a}if(a+ -73440>>>0>23){break a}b=r[a+187896|0]}return b}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;h=Da-1056|0;Da=h;c=h+1048|0;q[c>>2]=0;q[c+4>>2]=0;c=h+1040|0;q[c>>2]=0;q[c+4>>2]=0;q[h+1032>>2]=0;q[h+1036>>2]=0;q[h+1024>>2]=0;q[h+1028>>2]=0;a:{b:{c:{d:{c=r[b|0];e:{if(!c){j=-1;d=1;break e}while(1){if(!r[a+f|0]){break b}d=c&255;f=f+1|0;q[(d<<2)+h>>2]=f;d=(h+1024|0)+(d>>>3&28)|0;q[d>>2]=q[d>>2]|1<<(c&31);c=r[b+f|0];if(c){continue}break}d=1;j=-1;if(f>>>0>1){break d}}g=-1;k=1;break c}i=1;c=1;while(1){l=r[(c+j|0)+b|0];g=r[b+d|0];f:{if((l|0)==(g|0)){if((c|0)==(i|0)){e=e+i|0;c=1;break f}c=c+1|0;break f}if(l>>>0>g>>>0){i=d-j|0;e=d;c=1;break f}j=e;e=e+1|0;i=1;c=1}d=c+e|0;if(d>>>0>>0){continue}break}g=-1;e=0;d=1;k=1;c=1;while(1){m=r[(c+g|0)+b|0];l=r[b+d|0];g:{if((m|0)==(l|0)){if((c|0)==(k|0)){e=e+k|0;c=1;break g}c=c+1|0;break g}if(m>>>0>>0){k=d-g|0;e=d;c=1;break g}g=e;e=e+1|0;k=1;c=1}d=c+e|0;if(d>>>0>>0){continue}break}d=i}c=g+1>>>0>j+1>>>0;i=c?k:d;n=c?g:j;m=n+1|0;h:{if(Oc(b,i+b|0,m)){c=(n^-1)+f|0;i=(n>>>0>c>>>0?n:c)+1|0;o=f-i|0;c=0;break h}o=f-i|0;c=o}l=c;k=f+ -1|0;p=f|63;g=0;d=a;while(1){i:{if(a-d>>>0>=f>>>0){break i}c=be(a,0,p);if(c){a=c;if(c-d>>>0>>0){break b}break i}a=a+p|0}e=r[d+k|0];c=f;j:{k:{if(!(q[(h+1024|0)+(e>>>3&28)>>2]>>>(e&31)&1)){break k}c=f-q[(e<<2)+h>>2]|0;if(c){c=l?g?c>>>0>>0?o:c:c:c;break k}l:{c=m;e=c>>>0>g>>>0?c:g;j=r[e+b|0];if(j){while(1){if(r[d+e|0]!=(j&255)){break l}e=e+1|0;j=r[e+b|0];if(j){continue}break}}while(1){if(c>>>0<=g>>>0){break a}c=c+ -1|0;if(r[c+b|0]==r[c+d|0]){continue}break}c=i;e=l;break j}c=e-n|0}e=0}g=e;d=c+d|0;continue}}d=0}Da=h+1056|0;return d}function FK(a,b,c,d){a=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=a+72|0;f=1;while(1){a=b;b=a+1|0;j=r[a+1|0];g=r[j+i|0]+ -3|0;if(g>>>0>26){continue}a:{switch(g-1|0){case 1:b:{if(f){break b}f=1;if((e|0)>=(c|0)){break b}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+2|0;continue;case 2:c:{if(f){break c}f=1;if((e|0)>=(c|0)){break c}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+3|0;continue;case 3:d:{if(f){break d}f=1;if((e|0)>=(c|0)){break d}g=(e<<4)+d|0;o[g+12|0]=1;q[g>>2]=b}b=a+4|0;continue;case 18:case 20:case 25:if(f){continue}f=1;if((e|0)>=(c|0)){continue}a=(e<<4)+d|0;o[a+12|0]=1;q[a>>2]=b;continue;case 8:if((f|0)!=2){h=12;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=a+2;continue}f=2;if((h|0)!=12){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=b}e=e+1|0;h=12;f=0;continue;case 9:if((f|0)!=2){h=13;f=2;if((e|0)>=(c|0)){continue}q[((e<<4)+d|0)+4>>2]=a+2;continue}f=2;if((h|0)!=13){continue}if((e|0)<(c|0)){q[((e<<4)+d|0)+8>>2]=b}e=e+1|0;h=13;f=0;continue;default:if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue;case 17:g=f+ -1|0;if(g>>>0>1){continue}f=0;if(g-1){continue}f=2;if((e|0)>=(c|0)){continue}g=(e<<4)+d|0;if(!r[g+12|0]){continue}e:{if(q[g+4>>2]==(b|0)|(j|0)!=32){break e}a=r[a+2|0];if((a|0)==32){break e}if(r[a+i|0]!=(h|0)){continue}}o[g+12|0]=0;continue;case 5:case 6:a=f+ -1|0;if(a>>>0>1){continue}f=0;if(a-1){continue}f=2;if((e|0)>=(c|0)){continue}o[((e<<4)+d|0)+12|0]=0;continue;case 0:case 4:case 10:case 11:case 12:case 14:case 15:case 16:case 19:case 21:case 22:case 23:case 24:continue;case 7:case 13:break a}}a=(f|0)==2;f=2;if(a){continue}break}return e|0}function PO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;g=q[((b<<2)+a|0)- -64>>2];a:{if(Yc(g,c,d>>>0<=2?q[(d<<2)+355240>>2]:2568)){a=q[a+16>>2];q[f+16>>2]=c;hb(a,2,355093,f+16|0);a=0;break a}if(!(o[g+12|0]&1|t[a+8>>2]<56)){hP(q[g+84>>2])}i=q[a+4>>2];b=wd(g,2);b:{if(!(!b|s[b>>1]==65535)){d=s[b+4>>1];if(d){break b}}d=w(q[g+12>>2]>>>1&1,300)+400|0}c:{if(i>>>0<=d+150>>>0){break c}b=q[g+84>>2];if(q[b+72>>2]!=1869968492){break c}d=b+108|0;b=q[b+4>>2];b=(Ma(s[b+68>>1],q[q[b+88>>2]+20>>2])|0)/64|0;Po(d,b,b)}if(XO(q[g+84>>2],f+44|0)){a=q[a+16>>2];q[f>>2]=c;hb(a,2,355093,f);a=0;break a}d:{if(!(e&4)){a=q[f+44>>2];break d}q[f+32>>2]=65536;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=-65536;a=0;b=wd(g,2);if(b){a=Ma(p[b+72>>1],q[q[g+88>>2]+20>>2])}oc(q[f+44>>2]+20|0,0,0-a|0);ce(q[f+44>>2]+20|0,f+24|0);oc(q[f+44>>2]+20|0,q[q[g+84>>2]+52>>2],a);a=q[f+44>>2];q[a+12>>2]=q[q[g+84>>2]+60>>2]}c=wd(g,2);d=wd(g,5);e:{if(!(e&3)){break e}i=e&2;e=e&1;h=(i<<1)+(e<<2)|0;b=a+20|0;if((h^32767)>1]){break e}q[160942]=0;j=a,k=qc(q[a+24>>2],h+p[a+22>>1]|0,8),q[j+24>>2]=k;if(q[160942]){break e}q[160942]=0;j=a,k=qc(q[a+28>>2],h+p[a+22>>1]|0,1),q[j+28>>2]=k;if(q[160942]){break e}h=e+(i>>>1|0)|0;if((h^32767)>1]){break e}q[160942]=0;j=a,k=qc(q[a+32>>2],h+p[a+20>>1]|0,2),q[j+32>>2]=k;if(q[160942]){break e}h=q[a+12>>2]+512>>10;a=q[q[g+88>>2]+20>>2];g=Hj(b);if(!(!e|!d)){e=Ma(p[d+8>>1],a);d=Ma(p[d+10>>1],(a|0)/2|0);if((e|0)>0|(d|0)<1){break e}Qr(b,h,g,e,d)}if(!i|!c){break e}d=Ma(p[c+28>>1],a);a=Ma(p[c+26>>1],(a|0)/2|0);if((d|0)<0|(a|0)<1){break e}Qr(b,h,g,d,a)}a=q[f+44>>2]}Da=f+48|0;return a}function XG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;g=Da-144|0;Da=g;h=q[a>>2];OF(a,b,q[e+12>>2],g+96|0,g+48|0,g);a:{if(!a){i=1;break a}i=2;b=0;while(1){m=q[(b<<3)+4212>>2]+ -3|0;b:{if(m>>>0<2?l&255:0){break b}p=b<<2;if(q[p+g>>2]){break b}k=q[(g+96|0)+p>>2];if(!k){k=q[e+12>>2]}c:{j=q[a>>2];f=n[q[j+4>>2]](j,40)|0;d:{if(!f){i=64;break d}o[f+24|0]=0;o[f+25|0]=0;o[f+26|0]=0;o[f+27|0]=0;o[f+28|0]=0;o[f+29|0]=0;o[f+30|0]=0;o[f+31|0]=0;o[f|0]=0;o[f+1|0]=0;o[f+2|0]=0;o[f+3|0]=0;o[f+4|0]=0;o[f+5|0]=0;o[f+6|0]=0;o[f+7|0]=0;o[f+32|0]=0;o[f+33|0]=0;o[f+34|0]=0;o[f+35|0]=0;o[f+36|0]=0;o[f+37|0]=0;o[f+38|0]=0;o[f+39|0]=0;o[f+16|0]=0;o[f+17|0]=0;o[f+18|0]=0;o[f+19|0]=0;o[f+20|0]=0;o[f+21|0]=0;o[f+22|0]=0;o[f+23|0]=0;o[f+8|0]=0;o[f+9|0]=0;o[f+10|0]=0;o[f+11|0]=0;o[f+12|0]=0;o[f+13|0]=0;o[f+14|0]=0;o[f+15|0]=0;q[f+28>>2]=j;i=Vd(f,k);q[f+16>>2]=k;if(!i){break c}n[q[j+8>>2]](j,f)}l=m>>>0<2?(i&255)==81?1:l:l;break b}q[f+28>>2]=j;i=Xj(a,f,q[(g+48|0)+p>>2],c,d);j=q[f+28>>2];k=q[f+24>>2];if(k){n[k](f)}n[q[j+8>>2]](j,f);if(!i){i=0;break a}l=m>>>0<2?1:l}b=b+1|0;if((b|0)!=9){continue}break}}a=q[g+96>>2];if(a){n[q[h+8>>2]](h,a);q[g+96>>2]=0}a=q[g+100>>2];if(a){n[q[h+8>>2]](h,a);q[g+100>>2]=0}a=q[g+104>>2];if(a){n[q[h+8>>2]](h,a);q[g+104>>2]=0}a=q[g+108>>2];if(a){n[q[h+8>>2]](h,a);q[g+108>>2]=0}a=q[g+112>>2];if(a){n[q[h+8>>2]](h,a);q[g+112>>2]=0}a=q[g+116>>2];if(a){n[q[h+8>>2]](h,a);q[g+116>>2]=0}a=q[g+120>>2];if(a){n[q[h+8>>2]](h,a);q[g+120>>2]=0}a=q[g+124>>2];if(a){n[q[h+8>>2]](h,a);q[g+124>>2]=0}a=q[g+128>>2];if(a){n[q[h+8>>2]](h,a);q[g+128>>2]=0}Da=g+144|0;return((i|0)!=0)<<1}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;h=Da-16|0;Da=h;d=q[a+712>>2];q[h+12>>2]=0;a:{if(!d){break a}f=q[d+3092>>2];c=0;b:{if(f){break b}f=gb(q[a+100>>2],32,h+12|0);c=q[h+12>>2];if(c){break a}a=0;i=f;c=q[d+1372>>2];g=0;c:{if((c|0)==65535){break c}if(c>>>0>=391){e=c+ -391|0;g=0;if(t[d+1356>>2]<=e>>>0){break c}g=q[q[d+1360>>2]+(e<<2)>>2];break c}e=q[d+3084>>2];g=0;if(!e){break c}g=n[q[e+20>>2]](c)|0}q[i>>2]=g;e=q[d+1376>>2];d:{if((e|0)==65535){break d}if(e>>>0>=391){c=e+ -391|0;if(t[d+1356>>2]<=c>>>0){break d}a=q[q[d+1360>>2]+(c<<2)>>2];break d}c=q[d+3084>>2];if(!c){break d}a=n[q[c+20>>2]](e)|0}q[f+4>>2]=a;a=0;i=f;c=q[d+1384>>2];g=0;e:{if((c|0)==65535){break e}if(c>>>0>=391){e=c+ -391|0;g=0;if(t[d+1356>>2]<=e>>>0){break e}g=q[q[d+1360>>2]+(e<<2)>>2];break e}e=q[d+3084>>2];g=0;if(!e){break e}g=n[q[e+20>>2]](c)|0}q[i+8>>2]=g;e=q[d+1388>>2];f:{if((e|0)==65535){break f}if(e>>>0>=391){c=e+ -391|0;if(t[d+1356>>2]<=c>>>0){break f}a=q[q[d+1360>>2]+(c<<2)>>2];break f}c=q[d+3084>>2];if(!c){break f}a=n[q[c+20>>2]](e)|0}q[f+12>>2]=a;c=0;e=q[d+1392>>2];g:{if((e|0)==65535){break g}if(e>>>0>=391){a=e+ -391|0;if(t[d+1356>>2]<=a>>>0){break g}c=q[q[d+1360>>2]+(a<<2)>>2];break g}a=q[d+3084>>2];if(!a){break g}c=n[q[a+20>>2]](e)|0}q[f+16>>2]=c;q[f+20>>2]=q[d+1400>>2];o[f+24|0]=r[d+1396|0];p[f+26>>1]=q[d+1404>>2];p[f+28>>1]=q[d+1408>>2];q[d+3092>>2]=f;c=q[h+12>>2]}a=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=a;a=q[f+28>>2];q[b+24>>2]=q[f+24>>2];q[b+28>>2]=a;a=q[f+20>>2];q[b+16>>2]=q[f+16>>2];q[b+20>>2]=a;a=q[f+12>>2];q[b+8>>2]=q[f+8>>2];q[b+12>>2]=a}Da=h+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;f=Da-16|0;Da=f;c=s[a>>1];a:{if(c>>>0>3){break a}b:{c:{d:{switch(c-1|0){case 2:c=s[a+2>>1];if(c>>>0>=11|!(1151>>>c&1)){break a}d=q[(c<<16>>16<<2)+449240>>2];break c;case 1:c=s[a+2>>1];if(c>>>0>=3){break a}d=c+11|0;break c;case 0:break d;default:break c}}d=1;c=s[a+2>>1];if(c>>>0>1){break b}if(c-1){break c}d=2}e:{f:{g=(d<<4)+443732|0;g:{if(Ta(g,443952)){b=g;break g}i=s[a+4>>1];if(!i){d=q[a+12>>2];b=g;if((d|0)<1){break g}b=q[a+8>>2];c=0;while(1){h=r[b|0]>>>7|0;c=h+c|0;e=(h^1)+e|0;h=(d|0)>1;d=d+ -1|0;b=b+1|0;if(h){continue}break}b=443962;if(c<<1>>>0>e>>>0){break g}}b=g;if(i>>>0<256){break g}d=0;c=i+ -1033|0;if(c>>>0>8){break a}h:{switch(c-1|0){default:d=1;break;case 0:case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break h}}b=w(d,14)+443970|0}if(Ta(b,443996)){if(Ta(b,444004)){break f}}d=0;e=q[a+8>>2];a=q[a+12>>2];if(!yL(e,a,f+12|0,f+8|0)){break a}c=Sa(w(q[f+12>>2],6)|1);if(!c){break a}d=c;b=Eq(e,f+4|0,a);if((b|0)>=1){while(1){d=Hk(q[f+4>>2],d)+d|0;e=b+e|0;a=a-b|0;b=Eq(e,f+4|0,a);if((b|0)>0){continue}break}}break e}i:{if(Ta(b,444013)){if(Ta(b,444019)){break i}}e=q[a+8>>2];b=q[a+12>>2];c=Sa(b<<1|1);if(!c){break b}d=c;if((b|0)>=1){while(1){d=Hk(r[e|0],d)+d|0;a=(b|0)>1;b=b+ -1|0;e=e+1|0;if(a){continue}break}}break e}d=0;if(Ta(b,443952)){break a}e=q[a+8>>2];b=q[a+12>>2];c=Sa(w(b,3)+1|0);if(!c){break a}d=c;if((b|0)>=1){while(1){g=o[e|0];a=g&255;e=e+1|0;if((g|0)<=-1){a=s[(a<<1)+443776>>1]}d=Hk(a,d)+d|0;a=(b|0)>1;b=b+ -1|0;if(a){continue}break}}}o[d|0]=0;if(wb(c,442872)){d=c;break a}La(c)}d=0}Da=f+16|0;return d}function uo(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,p=0,r=0,s=0;d=Da-16|0;Da=d;i=q[a+736>>2];f=q[a+104>>2];j=q[f+28>>2];e=d;a:{if(b){o[i+44|0]=1;c=n[q[a+516>>2]](a,1448493394,f,d+4|0)|0;break a}o[i+32|0]=1;c=n[q[a+516>>2]](a,1213612370,f,d+4|0)|0}q[e+8>>2]=c;b:{if(c){break b}l=q[f+8>>2];e=ib(f,d+8|0);c=q[d+8>>2];if(c){break b}c=Ib(f,2);q[d+8>>2]=c;if(c){break b}if((e|0)!=1){c=8;q[d+8>>2]=8;break b}e=Hb(f,d+8|0);c=q[d+8>>2];if(c){break b}f=Hb(f,d+8|0);c=q[d+8>>2];if(c){break b}g=gb(j,32,d+8|0);c:{if(b){q[i+52>>2]=g;break c}q[i+40>>2]=g}c=q[d+8>>2];if(c){break b}c=yo(q[a+104>>2],q[a+736>>2],e+l|0,g);q[d+8>>2]=c;if(c){break b}d:{e:{f:{if(!f){break f}k=q[a+104>>2];j=q[k+28>>2];c=Xa(k,f+l|0);q[d+12>>2]=c;if(c){break d}f=ib(k,d+12|0);c=q[d+12>>2];if(c){break d}e=ib(k,d+12|0);q[g+20>>2]=e;c=q[d+12>>2];if(c){break d}if(f&65472){break e}r=g,s=Oa(j,4,0,e,0,d+12|0),q[r+28>>2]=s;c=q[d+12>>2];if(c){break d}r=g,s=Oa(j,4,0,q[g+20>>2],0,d+12|0),q[r+24>>2]=s;c=q[d+12>>2];if(c){break d}if(!q[g+20>>2]){q[d+8>>2]=0;break f}e=f&15;l=e+1|0;f=f>>>4&3;j=(2<>2];if(c){break d}m=e&255|m<<8;e=(f|0)!=(h|0);h=h+1|0;if(e){continue}break}h=m>>>l|0;if(h>>>0>=t[g>>2]){break e}c=p<<2;q[c+q[g+24>>2]>>2]=h;e=j&m;if(e>>>0>=t[q[g+4>>2]+(h<<4)>>2]){break e}q[c+q[g+28>>2]>>2]=e;p=p+1|0;if(p>>>0>2]){continue}break}c=q[d+12>>2];q[d+8>>2]=c;if(c){break b}}c=0;q[d+8>>2]=0;if(b){o[i+45|0]=1;q[a+740>>2]=q[a+740>>2]|16;break b}o[i+33|0]=1;q[a+740>>2]=q[a+740>>2]|2;break b}c=8;q[d+12>>2]=8}q[d+8>>2]=c}Da=d+16|0;return c}function Vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-48|0;Da=d;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+16>>2]=0;q[d+20>>2]=0;o[d+44|0]=0;q[d+40>>2]=65536;q[d+8>>2]=0;q[d+12>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;c=q[b+32>>2];if((c|0)==-1){c=lc(b)}o[d+44|0]=1;q[d+40>>2]=c;c=q[b+12>>2];a:{if(c){b=n[c](b,1668112752,q[b+16>>2])|0;if(b){break a}}b=271312}b=HS(d+8|0,b);q[a+44>>2]=b;f=271312;b=b?b:271312;i=GS(t[b+16>>2]<4?271312:q[b+12>>2],d+8|0);q[a+4>>2]=271312;q[a>>2]=i;b=q[a+44>>2];b=b?b:271312;g=t[b+16>>2]<4?271312:q[b+12>>2];b=r[g+2|0]<<8|r[g+3|0];b:{if(!b){break b}j=b+ -1|0;b=0;while(1){c:{h=b+j>>>1|0;e=g+(h<<3)|0;c=r[e+4|0]<<8|r[e+5|0];d:{if(c){c=0-c|0;break d}c=5-(r[e+7|0]|r[e+6|0]<<8)|0}e:{if((c|0)<=-1){j=h+ -1|0;break e}if(!c){break c}b=h+1|0}if((b|0)<=(j|0)){continue}break b}break}f=(g+(h<<3)|0)+4|0}f:{if(!g){break f}b=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}b=b+g|0;if((r[b|0]<<8|r[b+1|0])!=14){break f}q[a+4>>2]=b}e=i?i:271312;q[a+12>>2]=e;g:{if(r[d+8|0]){c=570;break g}c=571;b=r[e|0]|r[e+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -4|0;if(b>>>0>8){break g}h:{switch(b-1|0){case 7:c=572;break g;case 0:case 1:case 2:case 3:case 4:case 5:case 6:break g;default:break h}}c=r[e+7|0];b=r[e+6|0];q[a+16>>2]=e+14;f=(c|b<<8)>>>1|0;q[a+36>>2]=f;c=f<<1;b=(c+e|0)+16|0;q[a+20>>2]=b;b=b+c|0;q[a+24>>2]=b;b=b+c|0;q[a+28>>2]=b;q[a+32>>2]=b+c;c=r[e+3|0];b=r[e+2|0];q[a+12>>2]=a+16;q[a+40>>2]=((c|b<<8)-(f<<3)|0)+ -16>>>1;c=573}q[a+8>>2]=c;Da=d+48|0}function vM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-32|0;Da=h;a:{g=q[b+72>>2];b:{if((g|0)==1651078259){break b}c:{d:{e:{if(!(r[q[b+156>>2]+42|0]&16)){break e}d=q[b+4>>2];e=q[b+12>>2];q[h+24>>2]=0;if(!(r[d+8|0]&8)|(!d|t[d+16>>2]<=e>>>0)){break e}f=q[q[d+540>>2]+132>>2];if(!f){break e}if(!n[f](d,e,h+12|0,h+8|0,h+16|0)){g=q[b+72>>2];break e}if(!jk(d,0)){f=q[d+540>>2];f:{while(1){g=Yc(d,q[h+12>>2],q[q[b+156>>2]+40>>2]&-1048581|4);if(g){break f}g=n[q[f+136>>2]](d,q[h+8>>2],b,q[d+84>>2])|0;if(g){break f}g:{if(!(r[d+8|0]&8)|t[d+16>>2]<=e>>>0){break g}g=q[q[d+540>>2]+132>>2];if(!g){break g}if(n[g](d,e,h+12|0,h+8|0,h+16|0)){continue}}break}q[b+72>>2]=1651078259;g=0}f=q[d+84>>2];h:{if(!f){break h}d=q[f+4>>2];e=q[d+84>>2];if(!e){break h}i=q[q[d+96>>2]+8>>2];if((f|0)==(e|0)){d=d+84|0}else{while(1){d=e;e=q[d+8>>2];if(!e){break h}if((f|0)!=(e|0)){continue}break}d=d+8|0}q[d>>2]=q[f+8>>2];d=q[f+20>>2];if(d){n[d](f)}Yf(f);n[q[i+8>>2]](i,f)}if(!g){break d}}g=1869968492;q[b+72>>2]=1869968492}if((g|0)==1869968492){e=q[a+148>>2];f=q[a+156>>2];break c}d=7;if(!a){break b}e=q[a+148>>2];if(!e){break b}while(1){f=q[e+8>>2];if(q[f+16>>2]==(g|0)){break c}e=q[e+4>>2];if(e){continue}break}break b}d=0;break b}if(!f){d=7;break b}if(!a){break a}g=a+148|0;while(1){d=0;a=n[q[f+60>>2]](f,b,c,0)|0;if(!a){break b}if((a&255)!=19){d=a;break b}e=q[(e?e+4|0:g)>>2];if(!e){d=a;break b}d=q[b+72>>2];i:{while(1){f=q[e+8>>2];if((d|0)==q[f+16>>2]){break i}e=q[e+4>>2];if(e){continue}break}d=a;break b}d=a;if(f){continue}break}}Da=h+32|0;return d}a=n[q[f+60>>2]](f,b,c,0)|0;Da=h+32|0;return a}function Ft(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=8;b=q[a>>2];g=tm(b);f=g>>>8|0;a:{b:{c:{if(b+ -2387>>>0<2){break c}c=1;d:{e:{f:{e=b+ -7394|0;if(e>>>0>20){break f}d=1<>>0<6){break e}if(b+ -2674>>>0<2){break c}if(b+ -7406>>>0<4){c=18;break c}if((b|0)==2641){d=12;e=7;break a}c=8;if((b|2)==70403){break c}c=3;if(b+ -70459>>>0<2){break c}g:{if((b|0)<=2810){if((b|0)==2432|(b|0)==2556){break g}break d}if((b|0)==2811){break c}if((b|0)!=3200){break d}}c=11;break c}c=18;break c}if((b&-2)==8208){c=11;break c}c=12;if((b|0)==9676){break c}d=0;c=g&127;if(c>>>0>=32){break b}}d=1<>>0>8){break i}d=2;j:{switch(c-1|0){case 7:c=b+ -2432>>>7|0;if(c>>>0>7){d=9;break a}k:{switch(c-5|0){case 0:d=b>>>0<3139?7:9;break a;case 1:d=b+ -3267>>>0>19?7:9;break a;default:break k}}d=12;break a;case 2:d=9;c=b+ -2560|0;if(c>>>0>=768){break a}d=q[(c>>>5&134217724)+267848>>2];break a;case 0:case 1:case 3:case 5:case 6:break i;case 4:break j;default:break a}}d=9;c=b+ -2560|0;if(c>>>0>=896){break a}d=q[(c>>>5&134217724)+267872>>2];break a}d=f;break a}d=d&263424?14:f;e=c}o[a+18|0]=e;o[a+19|0]=(b|0)==2817?7:d}function YQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Da-17408|0;Da=c;a:{if(!a){a=96;break a}d=q[b+4>>2];if(!d){a=20;break a}a=p[d+2>>1];b:{if(!a){break b}e=p[d>>1];if((e|0)<1){break b}f=q[d+12>>2];if(!f){a=20;break a}if(!q[d+4>>2]){a=20;break a}if((a|0)!=(p[((e<<1)+f|0)+ -2>>1]+1|0)){a=20;break a}a=19;if(r[b+8|0]&3){break a}b=q[b>>2];if(!b){a=20;break a}if(!q[b+4>>2]){break b}a=0;if(!q[b>>2]){break a}a=20;if(!q[b+12>>2]){break a}e=q[d+16>>2];q[c+16520>>2]=e;f=q[d+12>>2];a=c+16512|0;q[a>>2]=q[d+8>>2];q[a+4>>2]=f;a=q[d+4>>2];q[c+16504>>2]=q[d>>2];q[c+16508>>2]=a;d=q[b+12>>2];a=c+16488|0;q[a>>2]=q[b+8>>2];q[a+4>>2]=d;d=q[b+20>>2];a=c+16496|0;q[a>>2]=q[b+16>>2];q[a+4>>2]=d;a=q[b+4>>2];q[c+16480>>2]=q[b>>2];q[c+16484>>2]=a;q[c+16412>>2]=c+16384;a=e&256;q[c+16404>>2]=a?30:2;q[c+16400>>2]=a?256:32;q[c+16384>>2]=a?12:6;a=a?4096:64;q[c+16388>>2]=a;q[c+16396>>2]=a>>>6;q[c+16392>>2]=a>>>1;q[c+16408>>2]=c;a=c;c:{if(e&8){b=2}else{b=e>>>2&4;o[c+16548|0]=b;if(e&32){break c}b=b|1}o[a+16548|0]=b}a=q[c+16480>>2]+ -1|0;p[c+17330>>1]=a;q[c+17392>>2]=0;q[c+16544>>2]=638;q[c+16540>>2]=639;q[c+16536>>2]=640;q[c+16532>>2]=641;p[c+17328>>1]=0;p[c+16436>>1]=q[c+16484>>2];b=q[c+16492>>2];q[c+16440>>2]=b;o[c+16549|0]=(e>>>9^-1)&1;d=q[c+16488>>2];if((d|0)>=1){q[c+16440>>2]=b+w(a,d)}a=ts(c+16384|0,0);if(a){break a}if(!r[c+16549|0]|r[c+16548|0]==2){break b}q[c+17392>>2]=0;q[c+16544>>2]=642;q[c+16540>>2]=643;q[c+16536>>2]=644;q[c+16532>>2]=645;p[c+17328>>1]=0;p[c+17330>>1]=s[c+16484>>1]+ -1;a=ts(c+16384|0,1);if(a){break a}}a=0}Da=c+17408|0;return a|0}function yu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+24>>2];a:{b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){break b}d=q[a+36>>2]+(d<<5)|0;break a}o[a+20|0]=1}d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976}f=q[b>>2];c:{i=v[d>>3];d:{if(y(i)<2147483648){d=~~i;break d}d=-2147483648}h=d+f|0;e:{if((h|0)<0){break e}d=q[b+4>>2];if(!d){break e}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(h>>>0>=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0){break e}f=q[a+92>>2];if(f>>>0<10){break c}}o[a+40|0]=1;return}d=q[a+4>>2];q[a+44>>2]=q[a>>2];q[a+48>>2]=d;o[a+60|0]=r[a+16|0];d=q[a+12>>2];q[a+52>>2]=q[a+8>>2];q[a+56>>2]=d;d=a+44|0;f:{if(f>>>0>2]){q[a+92>>2]=f+1;g=q[d+4>>2];e=q[a+104>>2]+w(f,28)|0;q[e>>2]=q[d>>2];q[e+4>>2]=g;q[e+24>>2]=q[d+24>>2];g=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=g;g=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=g;break f}o[a+88|0]=1}g:{h:{f=q[b+4>>2];if(f){b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b>>>0>h>>>0){break h}}k=q[67830];e=q[67828];b=q[67829];break g}e=r[f+4|0];g=(w(e,b+1|0)+f|0)+5|0;if(e){b=(w(e,h)+f|0)+5|0;while(1){j=r[b|0]|j<<8;b=b+1|0;e=e+ -1|0;if(e){continue}break}}e=(g+j|0)+ -1|0;b=jm(f,h)}q[a+44>>2]=e;q[a+68>>2]=h;q[a- -64>>2]=c;o[a+60|0]=0;q[a+56>>2]=0;q[a+52>>2]=k;q[a+48>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;o[a+16|0]=r[d+16|0]}function MQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Sa(40);q[c>>2]=0;f=V(a|0,1,c|0,4)|0;g=M()|0;k=a+216|0;while(1){a:{if(d){La(f);return 64}b:{c:{d:{e:{if(!b){q[161261]=0;j=Y(658,k|0,290132,a|0)|0;d=q[161261];q[161261]=0;e=-1;if(!d){break b}c=q[161262];if(!c){break b}e=N(q[d>>2],f|0,g|0)|0;if(e){break e}break a}q[161261]=0;d=q[161261];q[161261]=0;e=-1;if(!d){break c}c=q[161262];if(!c){break c}e=N(q[d>>2],f|0,g|0)|0;if(e){break d}break a}K(c|0);break b}K(c|0)}d=M()|0;if((e|0)==1){continue}q[161261]=0;j=Y(658,k|0,290132,a|0)|0;d=q[161261];q[161261]=0;e=-1;f:{if(!d){break f}c=q[161262];if(!c){break f}e=N(q[d>>2],f|0,g|0)|0;if(!e){break a}K(c|0)}d=M()|0;if((e|0)==1){continue}q[161261]=0;d=q[161261];q[161261]=0;e=-1;g:{if(!d){break g}c=q[161262];if(!c){break g}e=N(q[d>>2],f|0,g|0)|0;if(!e){break a}K(c|0)}}d=M()|0;if((e|0)==1){continue}h:{i:{if(!q[a+188>>2]){h=q[a+156>>2];j:{i=q[a+192>>2]+(q[a+160>>2]-q[a+172>>2]<<2)|0;d=q[i>>2];k:{if(!d){break k}e=q[d>>2];if((e|0)>(h|0)){break k}while(1){c=d;if((e|0)==(h|0)){break j}d=q[c+12>>2];if(d){e=q[d>>2];if((e|0)<=(h|0)){continue}}break}i=c+12|0}c=q[a+204>>2];if((c|0)>=q[a+200>>2]){q[161261]=0;Ba(661,a|0,1);d=q[161261];q[161261]=0;if(!d){break h}c=q[161262];if(!c){break h}if(N(q[d>>2],f|0,g|0)){break i}break a}q[a+204>>2]=c+1;b=q[a+196>>2]+(c<<4)|0;q[b>>2]=h;q[b+8>>2]=q[a+180>>2];q[b+4>>2]=q[a+184>>2];q[b+12>>2]=q[i>>2];q[i>>2]=b;La(f);return j}q[c+8>>2]=q[c+8>>2]+q[a+180>>2];q[c+4>>2]=q[c+4>>2]+q[a+184>>2]}La(f);return j}K(c|0)}d=M()|0;continue}break}P(d|0,c|0);F()}function df(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{if(!Ce(a,3434,2)){break b}if(!Ce(a,3437,2)){break b}e=1;c:{d:{while(1){b=r[a|0];d=b+ -9|0;if(d>>>0>36){break c}c=-1;e:{switch(d-1|0){default:a=a+1|0;continue;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 34:break c;case 35:break d;case 33:break e}}break}c=1}b=r[a+1|0];a=a+1|0;e=c}c=0;if(b<<24>>24<48){break a}c=a;while(1){f:{b=b&255;if(b>>>0>57){d=c;break f}f=(b+w(f,10)|0)+ -48|0;b=o[c+1|0];d=c+1|0;c=d;if((b|0)>47){continue}}break}c=w((a|0)==(d|0)?1:e,f);break a}a=a+2|0;e=1;g:{h:{while(1){b=r[a|0]+ -9|0;if(b>>>0>36){break g}i:{switch(b-1|0){default:a=a+1|0;continue;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 34:break g;case 35:break h;case 33:break i}}break}a=a+1|0;break g}a=a+1|0;e=-1}g=Ce(a,3437,2)?a:a+2|0;d=o[g|0];c=0;if((d|0)<48){break a}b=g;while(1){j:{a=b;b=-48;k:{c=d&255;if(c>>>0<58){break k}d=d<<24>>24;if((d|0)>=97){b=-87;if(c>>>0<103){break k}}if((d|0)<65){b=a;break j}b=-55;if(c>>>0<=70){break k}b=a;break j}f=(b+c|0)+(f<<4)|0;b=a+1|0;d=o[a+1|0];if((d|0)>47){continue}}break}c=w((b|0)==(g|0)?1:e,f)}return c<<8&16711680|c<<24|(c>>>8&65280|c>>>24)} -function dx(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;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){c=q[a>>2];l=c+(r[c+7|0]|r[c+6|0]<<8)|0;m=(r[c+5|0]|r[c+4|0]<<8)+c|0;j=q[d+76>>2];i=h>>>0>=j>>>0;g=0;b:{if(i){break b}f=q[q[d+88>>2]+w(h,20)>>2];g=2;if((f|0)==65535){break b}e=f;f=(r[c+3|0]|r[c+2|0]<<8)+c|0;e=e-(r[f|0]<<8|r[f+1|0])|0;g=1;if(e>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(e+f|0)+4|0]}e=g;c=r[c+1|0]|r[c|0]<<8;e=l+(r[m+((c>>>0>e>>>0?e:1)+w(c,k)|0)|0]<<2)|0;c:{if(!k){break c}c=q[(r[d+69|0]?80:72)+d>>2];if(i|!c){break c}f=r[e+3|0];if((f|r[e+2|0]<<8)==16384?!(r[e+1|0]|r[e|0]<<8|(t[b+4>>2]>2]?f&15:0)):0){break c}Zc(d,c+ -1|0,h+1|0);d=q[a+4>>2];j=q[d+76>>2];h=q[d+72>>2]}i=h+2|0;d:{if(i>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;if(!(r[((c+(r[c+7|0]|r[c+6|0]<<8)|0)+(r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,k))|0]<<2)|0)+3|0]&15)|t[b+4>>2]>=t[b+8>>2]){break d}rb(d,h,i)}Um(b,a,e);d=q[a>>2];k=((r[e+1|0]|r[e|0]<<8)-(r[d+4|0]<<8|r[d+5|0])|0)/(r[d+1|0]|r[d|0]<<8)|0;c=q[a+4>>2];d=q[c+72>>2];if((d|0)==q[c+76>>2]){break a}e:{if(r[e+2|0]&64){e=q[c+40>>2];q[c+40>>2]=e+ -1;if((e|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){e=d;if((d|0)==q[c+80>>2]){break f}}if(!Va(c,1,1)){break e}e=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[e+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[c+72>>2];e=q[c+80>>2]}q[g+80>>2]=e+1}q[c+72>>2]=d+1}d=q[a+4>>2];if(!r[d+68|0]){break a}h=q[d+72>>2];continue}}}function EV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;e=Da-32|0;Da=e;q[e+28>>2]=0;q[e+20>>2]=0;q[e+24>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{d=a+ -6|0;if(d>>>0>24){d=a+ -265|0;if(d>>>0>10){break j}d=1<>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=i;break g}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=i;break g}hh(b+20|0,b)}if(!q[b+24>>2]){break b}break a}h=c;j=b+24|0;d=q[j>>2];k:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];k=q[67828];q[160744]=k;q[160745]=d;f(0,k|0);f(1,d|0);i=+g();break k}i=v[q[b+36>>2]+(d<<3)>>3];break k}o[b+20|0]=1;d=q[67829];k=q[67828];q[160744]=k;q[160745]=d;f(0,k|0);f(1,d|0);i=+g()}l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[h+16>>2]=d;break c}m:{j=b+24|0;d=q[j>>2];if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]>d>>>0){break m}d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;q[e+24>>2]=h;q[e+28>>2]=d;break c}o[b+20|0]=1;d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;q[e+24>>2]=h;q[e+28>>2]=d;break c}d=q[b+36>>2]+(d<<3)|0;h=q[d+4>>2];q[e+24>>2]=q[d>>2];q[e+28>>2]=h;break c}j=b+24|0}q[j>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}gu(c,a,b,e+8|0)}Da=e+32|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;i=Da-16|0;Da=i;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>19){break b}}c=0;break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=0;if((d|0)<1){break a}c=0;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=0;if(q[b+32>>2]!=(r[a+13|0]|r[a+12|0]<<8)){break a}q[i+12>>2]=w(r[a+7|0]|r[a+6|0]<<8,r[a+5|0]|r[a+4|0]<<8);c=0;if(!bW(a+8|0,b,a,i+12|0)){break a}d=a+20|0;g=r[a+13|0];f=r[a+12|0];d:{e:{if(o[a+15|0]&1){j=q[b+4>>2];c=0;if(j>>>0>d>>>0){break a}h=q[b+8>>2];c=0;if(h>>>0>>0){break a}if(h-d>>>0>=(g<<2|f<<10)+4>>>0){break e}c=0;break a}j=q[b+4>>2];c=0;if(j>>>0>d>>>0){break a}h=q[b+8>>2];c=0;if(h>>>0>>0){break a}c=0;if(h-d>>>0<(g<<1|f<<9)+2>>>0){break a}c=q[b+12>>2];g=c+ -1|0;q[b+12>>2]=g;if((c|0)>=1){break d}c=0;break a}f=q[b+12>>2];g=f+ -1|0;q[b+12>>2]=g;c=0;if((f|0)<=0){break a}}c=r[a+20|0];k=o[a+15|0]&1;f:{if(k){f=r[d+1|0];l=r[d+3|0]|(f<<16|c<<24|r[d+2|0]<<8);break f}f=r[d+1|0];l=f<<1|c<<9}e=r[a+13|0]|r[a+12|0]<<8;g:{if(k){e=d+(e<<2)|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=r[d+3|0]|(f<<16|c<<24|r[d+2|0]<<8);break g}d=d+(e<<1)|0;e=r[d+1|0]<<1|r[d|0]<<9;d=f<<1|c<<9}d=e-d|0;c=0;if((d|0)==-1){break a}c=1;if(!d){break a}c=a;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);a=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=(a?c+a|0:271312)+l|0;c=0;if(j>>>0>a>>>0){break a}c=0;if(h>>>0>>0){break a}c=0;if(h-a>>>0>>0){break a}q[b+12>>2]=g+ -1;c=(g|0)>0}Da=i+16|0;return c}function wq(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,p=0,r=0,s=0,t=0;l=Da-32|0;Da=l;q[l+12>>2]=0;q[l+8>>2]=0;q[l+4>>2]=0;m=d;d=q[c+64>>2];m=m+w(d,5)|0;q[l+16>>2]=m;a:{b:{r=m;m=e-(d<<1)|0;if(yk(c,r,m,l+8|0,l+4|0,l+12|0,l+16|0)){e=q[l+8>>2];if(e){break b}}q[f>>2]=q[l+16>>2];break a}c:{d:{e:{d=q[l+4>>2];f:{if(!n[q[c+24>>2]](c,e,d,494588)){if(b){break f}q[f>>2]=e;break a}if(g){q[g>>2]=q[l+12>>2]}g:{if(!h){e=q[l+16>>2];break g}e=q[l+16>>2];q[h>>2]=e}if(!yk(c,e,m,l+8|0,l+4|0,l+12|0,l+16|0)){q[f>>2]=q[l+16>>2];break a}e=q[l+8>>2];if(!e){break e}d=q[l+4>>2]}if(!n[q[c+24>>2]](c,e,d,494596)){break c}d=q[l+12>>2];q[l+28>>2]=d;q[l+24>>2]=l+23;n[q[c+56>>2]](c,l+28|0,m,l+24|0,l+24|0)|0;if((o[l+23|0]&-33)+ -65>>>0<26?q[l+24>>2]!=(l+23|0):0){break d}q[f>>2]=d;break a}if(!b){p=1;break a}q[f>>2]=q[l+16>>2];break a}if(i){q[i>>2]=d}e=q[l+16>>2];if(j){s=j,t=n[a](c,d,e-q[c+64>>2]|0)|0,q[s>>2]=t}if(!yk(c,e,m,l+8|0,l+4|0,l+12|0,l+16|0)){q[f>>2]=q[l+16>>2];break a}e=q[l+8>>2];if(!e){p=1;break a}d=q[l+4>>2]}if(!(n[q[c+24>>2]](c,e,d,494605)|0?!b:0)){q[f>>2]=e;break a}h:{a=q[l+12>>2];e=q[l+16>>2];i:{if(n[q[c+24>>2]](c,a,e-q[c+64>>2]|0,494616)){if(!k){break i}q[k>>2]=1;break i}if(!n[q[c+24>>2]](c,a,e-q[c+64>>2]|0,494620)){break h}if(!k){break i}q[k>>2]=0}a=l+24|0;while(1){q[l+28>>2]=e;q[l+24>>2]=l+23;n[q[c+56>>2]](c,l+28|0,m,l+24|0,a)|0;b=(q[l+24>>2]==(l+23|0)?-1:o[l+23|0])+ -9|0;if(!(b>>>0>23|!(1<>2]+e|0;continue}break}q[l+16>>2]=e;if((e|0)==(m|0)){p=1;break a}q[f>>2]=e;break a}q[f>>2]=a}Da=l+32|0;return p}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;f=Da+ -64|0;Da=f;q[b+60>>2]=0;a:{c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(h){l=h+ -1|0;a=a+8|0;while(1){c=r[a+4|0];b:{if(c&32){break b}d=q[b+12>>2];e=q[d+48>>2];if((e&-2)==4^c<<24>>24>-1){break b}c=q[b+4>>2];q[f+48>>2]=g;q[f+40>>2]=114;q[f+44>>2]=110;q[f+32>>2]=107;q[f+36>>2]=101;if(!jd(d,c,228682,f+32|0)){break b}d=e&-3;c:{if(i){i=1;break c}i=0;if(!(r[a+4|0]&64)){break c}i=1;c=q[b+12>>2];e=q[c+76>>2];if(!e){break c}g=q[c+96>>2];c=0;while(1){k=g+w(c,20)|0;o[k+18|0]=2;p[k+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}g=(d|0)!=5;if(!g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+24>>2]=e;if((c|0)<=-1){break a}c=j>>>0>>0?a:0;d:{if(!c){break d}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=e-c|0;q[b+24>>2]=c+(e>>>0>d>>>0?d:e)}c=j$(a,b);d=q[b+44>>2];e=q[d+12>>2];q[b+20>>2]=e;d=q[d+16>>2];q[b+24>>2]=d+e;if((d|0)<=-1){break a}if(!g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[f+16>>2]=q[b+60>>2];q[f+8>>2]=114;q[f+12>>2]=110;q[f>>2]=107;q[f+4>>2]=101;jd(d,c,228709,f)}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=q[b+60>>2]+1|0;q[b+60>>2]=g;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}Da=f- -64|0;return}I(228734,228759,195,228776);F()}function jB(a,b,c,d){a=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=q[b>>2];if(!f){return 35}b=6;a:{if(t[f+16>>2]<=c>>>0){break a}j=q[f+104>>2];g=q[f+292>>2];b=g+(c<<4)|0;h=p[b+6>>1];k=h+p[b+8>>1]|0;q[a+76>>2]=k;i=p[b>>1];b=p[b+2>>1];o[a+94|0]=1;p[a+92>>1]=1;e=b-i|0;q[a+80>>2]=e;b=3;l=(1<<(q[f+312>>2]&3))+ -1|0;if(l>>>0>7){break a}b:{c:{switch(l-1|0){default:b=e+7>>>3|0;break b;case 0:b=e+15>>>3&536870910;break b;case 2:b=e+31>>>3&536870908;break b;case 1:case 3:case 4:case 5:break a;case 6:break c}}b=e+63>>>3&536870904}q[a+104>>2]=h;q[a+100>>2]=i;q[a+72>>2]=1651078259;q[a+84>>2]=b;b=p[((c<<4)+g|0)+4>>1];q[a+36>>2]=h<<6;q[a+32>>2]=i<<6;q[a+28>>2]=k<<6;q[a+24>>2]=e<<6;q[a+40>>2]=b<<6;Sf(a+24|0,q[f+208>>2]+q[f+204>>2]<<6);d:{if(d&4194304){break d}d=w(q[a+76>>2],q[a+84>>2]);b=_h(a,d);if(b){break a}b=Xa(j,q[((c<<4)+g|0)+12>>2]);if(b){break a}b=Wb(j,q[a+88>>2],d);if(b){break a}c=q[f+312>>2];if(!(!d|c&8)){c=q[a+88>>2];b=d;while(1){e=r[c|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;o[c|0]=e>>>4|e<<4;c=c+1|0;b=b+ -1|0;if(b){continue}break}c=q[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}c=(1<<(c>>>4&3))+ -2|0;if(c>>>0>2){break d}b=0;e:{switch(c-1|0){default:if(d>>>0<2){break d}a=q[a+88>>2];while(1){b=r[a+1|0];o[a+1|0]=r[a|0];o[a|0]=b;a=a+2|0;d=d+ -2|0;if(d>>>0>1){continue}break}break d;case 1:break e;case 0:break a}}if(d>>>0<4){break d}a=q[a+88>>2];while(1){b=r[a+3|0];o[a+3|0]=r[a|0];o[a|0]=b;b=r[a+1|0];o[a+1|0]=r[a+2|0];o[a+2|0]=b;a=a+4|0;d=d+ -4|0;if(d>>>0>3){continue}break}}b=0}return b|0}function Rm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{e=q[b+4>>2];if(e>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<2){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0<4){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!h){return 1}j=h+ -1|0;a=a+8|0;while(1){if(d>>>0>>0|e>>>0>a>>>0|d-a>>>0<12){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;d=q[d+16>>2];g=d+c|0;q[b+8>>2]=g;c:{d:{if((d|0)>-1){d=i>>>0>>0?a:0;e:{if(!d){d=c;break e}if(!(g>>>0>d>>>0?d>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;g=0;break d}q[b+4>>2]=d;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g-d|0;g=(c>>>0>f>>>0?f:c)+d|0;q[b+8>>2]=g}if(d>>>0<=a>>>0){break d}f=1;break c}break a}f=1;if(g>>>0>>0){break c}d=g-a|0;if(d>>>0<12){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<13|d>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}if(!Xw(a,b)){break c}d=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;f=0}c=q[b+28>>2];e=q[c+12>>2];q[b+4>>2]=e;c=q[c+16>>2];d=c+e|0;q[b+8>>2]=d;if((c|0)<=-1){break a}if(f){break b}i=i+1|0;if((h|0)!=(i|0)){continue}break}return 1}return 0}I(228416,228441,195,228458);F()}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,m=0,o=0,p=0;h=Da+ -64|0;Da=h;e=q[a>>2];a:{if((e|0)<1){break a}c=q[a+24>>2];g=w(b,204);j=q[a+16>>2];d=q[a+8>>2];k=d+w(e,40)|0;b=0;a=d;while(1){b=(q[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(a>>>0>>0){continue}break}if(!b){break a}l=q[(c+g|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=Oa(j,4,0,b,0,h);if(q[h>>2]){break a}}c=d;while(1){if(r[c+16|0]&16){a=(f<<2)+e|0;c:{if((f|0)<1){b=a;break c}g=q[c+28>>2];while(1){b=a+ -4|0;i=q[b>>2];if(q[i+28>>2]<=(g|0)){b=a;break c}q[a>>2]=i;a=b;if(a>>>0>e>>>0){continue}break}}q[b>>2]=c;f=f+1|0}c=c+40|0;if(c>>>0>>0){continue}break}m=((f<<2)+e|0)+ -4|0;while(1){b=q[d+16>>2];d:{if(b&16){break d}a=q[d+12>>2];if(a&2){c=r[d+20|0];if(!(a&4|b&64)|((c|0)==4|(c|0)!=r[d+21|0])){break d}q[d+12>>2]=a&-3}o=d;e:{f:{if(f){b=q[d+28>>2];a=0;g:{while(1){if(q[q[(a<<2)+e>>2]+28>>2]>(b|0)){break g}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break f}}a=q[e>>2];c=q[a+36>>2]+Ma(q[d+28>>2]-q[a+28>>2]|0,l)|0;break e}g=q[((a<<2)+e|0)+ -4>>2];b=f;while(1){a=b;if(a){b=a+ -1|0;if(q[q[(b<<2)+e>>2]+28>>2]>=q[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=q[m>>2];c=q[a+36>>2]+Ma(q[d+28>>2]-q[a+28>>2]|0,l)|0;break e}b=q[d+28>>2];i=q[g+28>>2];c=q[g+36>>2];if((b|0)==(i|0)){break e}a=q[(a<<2)+e>>2];c=q[a+28>>2];if((b|0)==(c|0)){c=q[a+36>>2];break e}p=q[a+36>>2];a=q[g+36>>2];c=bb(b-i|0,p-a|0,c-i|0)+a|0}q[o+36>>2]=c;q[d+16>>2]=q[d+16>>2]|32}d=d+40|0;if(d>>>0>>0){continue}break}if((e|0)==(h|0)){break a}if(e){n[q[j+8>>2]](j,e)}}Da=h- -64|0}function h$(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;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){c=q[a>>2];l=(r[c+7|0]|r[c+6|0]<<8)+c|0;m=c+(r[c+5|0]|r[c+4|0]<<8)|0;j=q[d+76>>2];h=i>>>0>=j>>>0;g=0;b:{if(h){break b}f=q[q[d+88>>2]+w(i,20)>>2];g=2;if((f|0)==65535){break b}e=f;f=c+(r[c+3|0]|r[c+2|0]<<8)|0;e=e-(r[f|0]<<8|r[f+1|0])|0;g=1;if(e>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(e+f|0)+4|0]}e=g;c=r[c+1|0]|r[c|0]<<8;e=l+(r[m+((c>>>0>e>>>0?e:1)+w(c,k)|0)|0]<<2)|0;c:{if(!k){break c}c=q[(r[d+69|0]?80:72)+d>>2];if(h|!c){break c}h=r[e+3|0];f=r[e+2|0]<<8;if((f|h)==16384?!(h|f&16128|(r[e+1|0]|r[e|0]<<8)):0){break c}Zc(d,c+ -1|0,i+1|0);d=q[a+4>>2];j=q[d+76>>2];i=q[d+72>>2]}h=i+2|0;d:{if(h>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;c=(c+(r[c+7|0]|r[c+6|0]<<8)|0)+(r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,k))|0]<<2)|0;if(!(r[c+2|0]<<8&16128|r[c+3|0])){break d}rb(d,i,h)}e$(b,a,e);d=q[a>>2];k=((r[e+1|0]|r[e|0]<<8)-(r[d+4|0]<<8|r[d+5|0])|0)/(r[d+1|0]|r[d|0]<<8)|0;c=q[a+4>>2];d=q[c+72>>2];if((d|0)==q[c+76>>2]){break a}e:{if(r[e+2|0]&64){e=q[c+40>>2];q[c+40>>2]=e+ -1;if((e|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){e=d;if((d|0)==q[c+80>>2]){break f}}if(!Va(c,1,1)){break e}e=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[e+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[c+72>>2];e=q[c+80>>2]}q[g+80>>2]=e+1}q[c+72>>2]=d+1}d=q[a+4>>2];if(!r[d+68|0]){break a}i=q[d+72>>2];continue}}}function Cv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{e=q[b+4>>2];if(e>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if(!(r[a+1|0]<<16|r[a|0]<<24)|(f|0)<1){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0<4){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!h){return 1}j=h+ -1|0;a=a+8|0;while(1){if(d>>>0>>0|e>>>0>a>>>0|d-a>>>0<8){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;d=q[d+16>>2];g=d+c|0;q[b+8>>2]=g;c:{d:{if((d|0)>-1){d=i>>>0>>0?a:0;e:{if(!d){d=c;break e}if(!(g>>>0>d>>>0?d>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;g=0;break d}q[b+4>>2]=d;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g-d|0;g=(c>>>0>f>>>0?f:c)+d|0;q[b+8>>2]=g}if(d>>>0<=a>>>0){break d}f=1;break c}break a}f=1;if(g>>>0>>0){break c}d=g-a|0;if(d>>>0<8){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<8|d>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}if(!g_(a,b)){break c}d=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;f=0}c=q[b+28>>2];e=q[c+12>>2];q[b+4>>2]=e;c=q[c+16>>2];d=c+e|0;q[b+8>>2]=d;if((c|0)<=-1){break a}if(f){break b}i=i+1|0;if((h|0)!=(i|0)){continue}break}return 1}return 0}I(228734,228759,195,228776);F()}function ck(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,o=0;j=q[a+8>>2];a:{b:{o=q[a+12>>2];i=q[o+36>>2];c:{d:{if((i|0)<=0){l=6;if(!i){break d}break c}h=n[q[j+4>>2]](j,i)|0;if(!h){l=64;h=0;break c}Na(h,0,i)}q[h+100>>2]=j;q[h+96>>2]=a;q[h+104>>2]=q[b>>2];if(c){q[h+8>>2]=q[h+8>>2]|1024}e:{m=n[q[j+4>>2]](j,68)|0;if(m){i=0;k=Na(m,0,68);q[h+128>>2]=k;q[k+52>>2]=0;f:{if((e|0)<1){break f}a=0;while(1){if(i){break f}i=0;c=(a<<3)+f|0;if(q[c>>2]==1768842098){i=q[c+4>>2];q[k+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}q[k+60>>2]=-1;a=q[o+48>>2];g:{if(!a){q[b>>2]=q[h+104>>2];break g}l=n[a](q[b>>2],h,d,e,f)|0;q[b>>2]=q[h+104>>2];if(l){break e}}d=q[h+40>>2];if(!d){break a}a=d+(q[h+36>>2]<<2)|0;i=a+ -4|0;if(i>>>0>=d>>>0){while(1){c=q[i>>2];h:{if(q[c+4>>2]!=1970170211){break h}b=s[c+8>>1];if(b>>>0>3){break h}i:{switch(b-1|0){default:if(s[c+10>>1]!=4){break h}break b;case 0:case 1:break h;case 2:break i}}if(s[c+10>>1]==10){break b}}i=i+ -4|0;if(i>>>0>=d>>>0){continue}break}}while(1){a=a+ -4|0;if(a>>>0>>0){break a}b=q[a>>2];if(q[b+4>>2]!=1970170211){continue}break}q[h+92>>2]=b;break a}l=64;if(h){break e}m=0;break c}if(q[h+36>>2]>=1){i=0;while(1){b=i<<2;d=q[b+q[h+40>>2]>>2];c=q[q[d>>2]+100>>2];a=q[q[d+12>>2]+8>>2];if(a){n[a](d)}n[q[c+8>>2]](c,d);q[b+q[h+40>>2]>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}a=q[h+40>>2];if(a){n[q[j+8>>2]](j,a)}q[h+36>>2]=0;q[h+40>>2]=0;k=h}a=q[o+52>>2];if(a){n[a](k)}if(m){n[q[j+8>>2]](j,m)}if(h){n[q[j+8>>2]](j,h)}q[g>>2]=0;return l}q[h+92>>2]=c}q[g>>2]=h;return 0}function H$(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;d=q[b>>2];if((d|0)==-1){a=$_(a);q[b>>2]=a;return(a|0)!=-1}h=d>>>9|0;k=q[a+28>>2];j=q[a+24>>2];a:{if((j|0)<1){break a}e=j+ -1|0;while(1){c=e+g>>>1|0;i=h-q[(c<<3)+k>>2]|0;b:{if((i|0)<=-1){e=c+ -1|0;break b}if(!i){g=c;break a}g=c+1|0}if((g|0)<=(e|0)){continue}break}}c:{if(g>>>0>=j>>>0){break c}c=(g<<3)+k|0;if((h|0)!=q[c>>2]){break c}c=q[c+4>>2];i=271312;d:{if(t[a+36>>2]<=c>>>0){break d}i=q[a+40>>2]+(c<<6)|0}e:{d=d+1|0;c=d&511;if(!c){break e}e=c>>>6|0;h=i+(e<<3)|0;c=q[h>>2];h=q[h+4>>2];f=c;c=d&63;d=c&31;if(32<=(c&63)>>>0){c=-1<>>32-d|-1<>2];f=q[h>>2];if(!(c|f)){continue}break}}c=V$(f,c)|e<<6;q[b>>2]=c;q[b>>2]=c+(q[(t[a+24>>2]>g>>>0?(g<<3)+k|0:271312)>>2]<<9);return 1}q[b>>2]=-1;g=g+1|0;j=q[a+24>>2]}if(g>>>0>>0){h=q[a+36>>2];while(1){e=271312;f:{i=j>>>0>g>>>0?(g<<3)+k|0:271312;c=q[i+4>>2];if(h>>>0>c>>>0){e=q[a+40>>2]+(c<<6)|0}f=q[e>>2];c=q[e+4>>2];d=0;g:{if(f|c){break g}f=q[e+8>>2];c=q[e+12>>2];d=64;if(f|c){break g}f=q[e+16>>2];c=q[e+20>>2];d=128;if(f|c){break g}f=q[e+24>>2];c=q[e+28>>2];d=192;if(f|c){break g}f=q[e+32>>2];c=q[e+36>>2];d=256;if(f|c){break g}f=q[e+40>>2];c=q[e+44>>2];d=320;if(f|c){break g}f=q[e+48>>2];c=q[e+52>>2];d=384;if(f|c){break g}f=q[e+56>>2];c=q[e+60>>2];if(!(f|c)){break f}d=448}l=b,m=V$(f,c)|d|q[i>>2]<<9,q[l>>2]=m;return 1}g=g+1|0;if(g>>>0>>0){continue}break}}q[b>>2]=-1;return 0}function sk(a,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=Da-16|0;Da=e;q[a+284>>2]=b;q[a+276>>2]=971;a:{b:{while(1){q[e+4>>2]=0;g=q[a+144>>2];h=n[q[g>>2]](g,b,c,e+4|0)|0;g=q[e+4>>2];q[a+288>>2]=g;f=9;h=h+15|0;if(h>>>0>30){break a}c:{d:{switch(h-1|0){default:f=q[a+80>>2];if(f){c=q[a+144>>2];q[e+12>>2]=b;e:{if(!r[c+68|0]){while(1){q[e+8>>2]=q[a+44>>2];b=n[q[c+56>>2]](c,e+12|0,g,e+8|0,q[a+48>>2])|0;q[a+288>>2]=q[e+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[e+8>>2]-f|0);q[a+284>>2]=q[e+12>>2];if(b>>>0>1){continue}break e}}n[f](q[a+4>>2],b,g-b|0)}f=35;if(q[a+476>>2]==2){break a}g=q[e+4>>2]}q[d>>2]=g;f=0;break a;case 29:h=q[a+80>>2];if(!h){break c}f=q[a+144>>2];q[e+12>>2]=b;if(!r[f+68|0]){while(1){q[e+8>>2]=q[a+44>>2];b=n[q[f+56>>2]](f,e+12|0,g,e+8|0,q[a+48>>2])|0;q[a+288>>2]=q[e+12>>2];h=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],h,q[e+8>>2]-h|0);q[a+284>>2]=q[e+12>>2];if(b>>>0>1){continue}break c}}n[h](q[a+4>>2],b,g-b|0);break c;case 25:if(uk(a,q[a+144>>2],b,g)){break c}f=1;break a;case 27:if(tk(a,q[a+144>>2],b,g)){break c}f=1;break a;case 13:f=5;if(!r[a+480|0]){break b}break a;case 12:f=6;if(r[a+480|0]){break a}break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 26:case 28:break a;case 10:break b;case 14:break d}}q[a+284>>2]=g;f=4;break a}b=q[e+4>>2];q[a+284>>2]=b;g=q[a+476>>2]+ -2|0;if(g>>>0>1){continue}break}f=35;if(g-1){break a}}q[d>>2]=b;f=0}Da=e+16|0;return f|0}function dC(a,b,c){a=a|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;h=Da-16|0;Da=h;f=q[c>>2];q[h+12>>2]=0;a:{b:{d=a+5|0;if(d>>>0>b>>>0){break b}e=r[a+3|0];i=r[a+4|0];a=q[c+92>>2];g=i+a|0;if(g>>>0>t[c+96>>2]){j=f;f=g+3&-4;o=c,p=Oa(j,36,a,f,q[c+100>>2],h+12|0),q[o+100>>2]=p;a=q[h+12>>2];if(a){break a}q[c+96>>2]=f}f=e&1;j=e&2;k=e&4;l=e&8;m=e&16;if(w((f|8)+(j>>>1|0)+(k>>>2)+(l>>>3)+(m>>>4)|0,i)+d>>>0>b>>>0){break b}n=q[c+92>>2];c:{if(!i){break c}a=q[c+100>>2]+w(n,36)|0;g=0;if(!f){while(1){q[a>>2]=r[d|0];e=a;d:{if(j){b=d+3|0;f=r[d+2|0]|r[d+1|0]<<8;break d}b=d+2|0;f=r[d+1|0]}q[e+4>>2]=f;q[a+8>>2]=r[b|0];e:{if(k){d=r[b+2|0]<<8|r[b+1|0]<<16;f=3;e=b+4|0;break e}d=r[b+1|0]<<8;f=2;e=b+3|0}q[a+20>>2]=r[b+f|0]|d;f:{if(l){d=r[e+1|0]<<8|r[e|0]<<16;f=2;b=e+3|0;break f}d=r[e|0]<<8;f=1;b=e+2|0}q[a+24>>2]=r[e+f|0]|d;e=a;g:{if(m){d=b+2|0;b=r[b+1|0]|r[b|0]<<8;break g}d=b+1|0;b=r[b|0]}q[e+28>>2]=b;a=a+36|0;g=g+1|0;if((i|0)!=(g|0)){continue}break c}}while(1){q[a>>2]=r[d+1|0]|r[d|0]<<8;e=a;h:{if(j){b=d+4|0;f=r[d+3|0]|r[d+2|0]<<8;break h}b=d+3|0;f=r[d+2|0]}q[e+4>>2]=f;q[a+8>>2]=r[b|0];i:{if(k){d=r[b+2|0]<<8|r[b+1|0]<<16;f=3;e=b+4|0;break i}d=r[b+1|0]<<8;f=2;e=b+3|0}q[a+20>>2]=r[b+f|0]|d;j:{if(l){d=r[e+1|0]<<8|r[e|0]<<16;f=2;b=e+3|0;break j}d=r[e|0]<<8;f=1;b=e+2|0}q[a+24>>2]=r[e+f|0]|d;e=a;k:{if(m){d=b+2|0;b=r[b+1|0]|r[b|0]<<8;break k}d=b+1|0;b=r[b|0]}q[e+28>>2]=b;a=a+36|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}q[c+92>>2]=i+n;a=q[h+12>>2];break a}a=8;q[h+12>>2]=8}Da=h+16|0;return a|0}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;g=Da-80|0;Da=g;i=q[a+532>>2];a:{if(i){f=q[a+100>>2];h=q[i+4>>2];q[g+24>>2]=h;l=q[i>>2];q[g+28>>2]=l;if(h){a=0;while(1){c=w(a,12);e=c+(g+24|0)|0;q[e+8>>2]=q[((a<<2)+i|0)+8>>2];c=c+i|0;d=q[c+92>>2];q[e+12>>2]=q[d>>2];q[e+16>>2]=q[(d+(r[c+88|0]<<2)|0)+ -4>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}q[g+20>>2]=0;d=h<<1;c=d+3&-4;e=gb(f,(c+w(h,24)|0)+20|0,g+20|0);a=q[g+20>>2];if(a){break a}q[e+8>>2]=0;q[e+4>>2]=l;q[e>>2]=h;a=e+20|0;b:{if(!h){q[e+16>>2]=0;q[e+12>>2]=a+c;l=e+12|0;break b}f=0;a=Na(a,0,d);q[e+16>>2]=0;j=a+c|0;q[e+12>>2]=j;l=e+12|0;while(1){a=j+w(f,24)|0;d=(g+24|0)+w(f,12)|0;c=q[d+8>>2];q[a>>2]=c;q[a+4>>2]=q[d+12>>2]<<16;d=q[d+16>>2];q[a+16>>2]=-1;q[a+20>>2]=-1;q[a+12>>2]=d<<16;c:{if(!c){break c}if(!Ta(c,7176)){q[a+16>>2]=2003265652;break c}if(!Ta(c,7183)){q[a+16>>2]=2003072104;break c}if(Ta(c,7189)){break c}q[a+16>>2]=1869640570}f=f+1|0;if((h|0)!=(f|0)){continue}break}}oj(q[i+140>>2],g,q[i+4>>2]);if(h){f=0;while(1){c=w(f,12)+i|0;d=q[c+96>>2];j=q[(f<<2)+g>>2];d:{if(q[d>>2]<(j|0)){a=1;k=r[c+88|0];if(k>>>0>1){while(1){m=a<<2;n=q[d+m>>2];if((n|0)>=(j|0)){c=q[c+92>>2];k=m+ -4|0;a=q[c+k>>2];c=q[c+m>>2];d=q[d+k>>2];a=w(Za(j-d|0,n-d|0),c-a|0)+(a<<16)|0;break d}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=q[(q[c+92>>2]+(k<<2)|0)+ -4>>2]<<16;break d}a=q[q[c+92>>2]>>2]<<16}q[(q[l>>2]+w(f,24)|0)+8>>2]=a;f=f+1|0;if((h|0)!=(f|0)){continue}break}}q[b>>2]=e;a=q[g+20>>2];break a}a=6;q[g+20>>2]=6}Da=g+80|0;return a|0}function Vr(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;a:{b:{l=q[a+16>>2];c:{if(!l){break c}z=q[b+16>>2];if((z|0)<1){break c}B=q[b+4>>2];x=-1;while(1){d:{if((l|0)>=1){t=q[(y<<2)+B>>2];p=0;u=0;while(1){e:{l=0;f:{g:{h:{s=w(u,52);v=q[a+24>>2];b=s+v|0;if(q[b+12>>2]<=0){break h}k=b;while(1){if(fb(q[q[b+4>>2]+(l<<2)>>2],t)){l=l+1|0;if((l|0)>2]){continue}break h}break}k=s+v|0;r=q[k+24>>2]-c|0;l=r>>31;A=q[k+20>>2]-d|0;m=A>>31;k=q[k+28>>2];l=((l^l+r)+(m^m+A)|0)+((k|0)<100?100-k|0:k+ -100|0)|0;break g}i:{j:{m=s+v|0;if(q[m+16>>2]<1){break j}l=0;while(1){if(fb(q[q[m+8>>2]+(l<<2)>>2],t)){l=l+1|0;if((l|0)>2]){continue}break j}break}k=1;l=0;r=q[m+40>>2];if(!r){break i}if(fb(r,t)){break i}break g}k=q[m+40>>2];if(!k){break f}if(fb(k,t)){break f}l=1;k=0}r=q[m+44>>2];if(!r){break b}r=q[r+8>>2];if(!r){break b}k=n[r](q[m+48>>2])|0?l:k;l=0;if((k|0)!=1){break f}}o[j|0]=1;k:{if(l>>>0>=x>>>0){k=x;b=p;break k}m=s+v|0;k=q[m+44>>2];if(!k){break a}s=q[k+12>>2];if(!s){break a}k=l;if(!n[s](q[m+48>>2],i)){break f}}x=k;p=b;if(!l){break e}}u=u+1|0;if((u|0)>2]){continue}}break}if(p){break d}}y=y+1|0;if((z|0)==(y|0)){return 0}else{l=q[a+16>>2];continue}}break}a=q[p+44>>2];q[f>>2]=q[p+40>>2];q[g>>2]=q[p>>2];b=q[a+36>>2];l:{if(b){b=n[b](q[p+48>>2])|0;break l}b=q[p+36>>2]}q[e>>2]=b;k=q[p+32>>2];if(k){break c}q[h>>2]=q[a+4>>2];q[h+4>>2]=q[p+48>>2];k=q[p+40>>2];if(k){break c}k=q[q[p+4>>2]>>2]}return k}I(354482,354527,418,354544);F()}I(354561,354527,513,354601);F()}function Hs(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Da-16|0;Da=i;q[i+12>>2]=0;g=q[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(q[a+20>>2]){break d}q[a+16>>2]=12;q[a+20>>2]=a+820;break d}j=q[a+16>>2];if((g|0)<(j|0)){e=q[a+20>>2];h=e+w(g,44)|0;break c}if((j|0)>=48806446){g=64;q[i+12>>2]=64;break a}h=((j>>2)+j|0)+4|0;k=(j|0)<-16?48806446:(h|0)>48806446?48806446:h;l=q[a+20>>2];e:{if((l|0)==(a+820|0)){h=0;e=Oa(e,44,0,k,0,i+12|0);q[a+20>>2]=e;g=q[i+12>>2];if(g){break a}Qa(e,l,528);break e}m=a,n=Oa(e,44,j,k,l,i+12|0),q[m+20>>2]=n;h=0;g=q[i+12>>2];if(g){break a}}q[a+16>>2]=k;g=q[a+12>>2]}e=q[a+20>>2];h=e+w(g,44)|0;if((g|0)<1){break b}}if(!d){g=h;while(1){h=g+ -44|0;d=p[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|q[a+24>>2]!=(c|0))){h=g;break b}d=q[h+4>>2];q[g>>2]=q[h>>2];q[g+4>>2]=d;q[g+40>>2]=q[h+40>>2];d=q[h+36>>2];q[g+32>>2]=q[h+32>>2];q[g+36>>2]=d;d=q[h+28>>2];q[g+24>>2]=q[h+24>>2];q[g+28>>2]=d;d=q[h+20>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=d;d=q[h+12>>2];q[g+8>>2]=q[h+8>>2];q[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g+ -44|0;d=p[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|q[a+24>>2]!=(c|0))){h=g;break b}d=q[h+4>>2];q[g>>2]=q[h>>2];q[g+4>>2]=d;q[g+40>>2]=q[h+40>>2];d=q[h+36>>2];q[g+32>>2]=q[h+32>>2];q[g+36>>2]=d;d=q[h+28>>2];q[g+24>>2]=q[h+24>>2];q[g+28>>2]=d;d=q[h+20>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=d;d=q[h+12>>2];q[g+8>>2]=q[h+8>>2];q[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}q[a+12>>2]=q[a+12>>2]+1;g=0}q[f>>2]=h;Da=i+16|0;return g}function ws(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,p=0,s=0,u=0;i=Da-16|0;Da=i;j=q[a+12>>2];if(j){q[(q[a+20>>2]+(j<<4)|0)+ -4>>2]=b}f=q[a+24>>2];a:{if((f|0)<2){break a}j=f;while(1){n=j;m=q[a+32>>2];j=j+ -1|0;b=m+(j<<4)|0;p=q[b>>2];e=q[b+8>>2];k=n+ -2|0;while(1){b:{d=(k<<4)+m|0;b=q[d+8>>2];c:{d=q[d>>2];g=p>>>0>>0?p:d;d:{e:{if(g>>>0<8){h=e;break e}d=(g+ -8>>>3|0)+1|0;l=d+b|0;h=d+e|0;d=e;while(1){if(r[b|0]&r[d|0]){break d}b=b+1|0;d=d+1|0;g=g+ -8|0;if(g>>>0>7){continue}break}b=l}if(!g|!(r[b|0]&r[h|0]&-256>>g)){break c}}b=k>>>0>j>>>0;e=b?j:k;l=b?k:j;if(e>>>0>=l>>>0|l>>>0>=f>>>0){break b}f=(l<<4)+m|0;d=q[f>>2];f:{if(!d){break f}e=(e<<4)+m|0;b=q[e>>2];g:{if(d>>>0<=b>>>0){g=d+7>>>3|0;break g}h=q[e+4>>2];q[i>>2]=0;g=d+7>>>3|0;h=h+7>>>3|0;if(g>>>0>h>>>0){k=g+7&1073741816;s=e,u=Oa(c,1,h,k,q[e+8>>2],i),q[s+8>>2]=u;h=q[i>>2];if(h){break a}q[e+4>>2]=k<<3}while(1){if(t[e>>2]>b>>>0){h=q[e+8>>2]+(b>>>3|0)|0;o[h|0]=r[h|0]&-129>>(b&7)}b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!g){break f}d=q[f+8>>2];b=q[e+8>>2];while(1){o[b|0]=r[d|0]|r[b|0];d=d+1|0;b=b+1|0;g=g+ -1|0;if(g){continue}break}}q[f>>2]=0;q[f+12>>2]=0;e=a;b=q[e+24>>2];d=b+(l^-1)|0;if((d|0)>=1){b=q[f+12>>2];q[i+8>>2]=q[f+8>>2];q[i+12>>2]=b;b=q[f+4>>2];q[i>>2]=q[f>>2];q[i+4>>2]=b;b=d<<4;b=sb(f,f+16|0,b)+b|0;d=q[i+12>>2];q[b+8>>2]=q[i+8>>2];q[b+12>>2]=d;d=q[i+4>>2];q[b>>2]=q[i>>2];q[b+4>>2]=d;b=q[a+24>>2]}f=b+ -1|0;q[e+24>>2]=f;break b}b=(k|0)>0;k=k+ -1|0;if(b){continue}}break}if((n|0)>2){continue}break}h=0}Da=i+16|0;return h}function Kx(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;e=Da+ -64|0;Da=e;q[b+60>>2]=0;a:{c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i){l=i+ -1|0;a=a+8|0;while(1){c=q[b+12>>2];d=q[c+48>>2];g=o[a+4|0];b:{if((d&-2)==4^(g|0)>-1){break b}f=q[b+4>>2];q[e+48>>2]=h;q[e+40>>2]=114;q[e+44>>2]=120;q[e+32>>2]=107;q[e+36>>2]=101;if(!jd(c,f,228544,e+32|0)){break b}g=(g&16)>>>4^(d&-3)==5;c:{if(j){j=1;break c}j=0;if(!(r[a+4|0]&64)){break c}j=1;c=q[b+12>>2];d=q[c+76>>2];if(!d){break c}f=q[c+96>>2];c=0;while(1){h=f+w(c,20)|0;o[h+18|0]=2;p[h+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];f=c+d|0;q[b+24>>2]=f;if((c|0)<=-1){break a}c=k>>>0>>0?a:0;d:{if(!c){break d}if(!(f>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=f-c|0;q[b+24>>2]=c+(f>>>0>d>>>0?d:f)}c=Jx(a,b);d=q[b+44>>2];f=q[d+12>>2];q[b+20>>2]=f;d=q[d+16>>2];q[b+24>>2]=d+f;if((d|0)<=-1){break a}if(g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[e+16>>2]=q[b+60>>2];q[e+8>>2]=114;q[e+12>>2]=120;q[e>>2]=107;q[e+4>>2]=101;jd(d,c,228571,e)}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=q[b+60>>2]+1|0;q[b+60>>2]=h;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;k=k+1|0;if((k|0)!=(i|0)){continue}break}}Da=e- -64|0;return}I(228416,228441,195,228458);F()}function iQ(a,b,c){a=a|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;q[a+64>>2]=0;q[a+1140>>2]=b;q[a+1344>>2]=a+1140;i=a+112|0;q[a+1136>>2]=i;g=b+c|0;q[a+1148>>2]=g;q[a+1144>>2]=b;a:{if((c|0)<1){break a}c=i;while(1){d=b+1|0;j=a;b:{c:{e=r[b|0];if(e>>>0>31){break c}d:{e:{if((e|0)!=12){if((e|0)==13){b=d;d=2;break e}if(!(1<>>0>=g>>>0){break a}e=r[b+1|0]+ -7|0;if(e>>>0>5){break a}b=b+2|0;f=20;d=4;switch(e-1|0){case 0:case 1:case 2:case 3:break a;case 4:break d;default:break e}}f=d;if(h){break a}}d=q[(f<<2)+291744>>2];if(c-i>>2<(d|0)){return 161}c=c-(d<<2)|0;if((f|0)!=20){b=f+ -2|0;if(b>>>0>2){break a}f:{switch(b-1|0){default:q[a+64>>2]=1;q[a+32>>2]=q[c>>2]+q[a+32>>2];b=q[c+4>>2];q[a+44>>2]=0;q[a+40>>2]=b;return 0;case 0:break a;case 1:break f}}q[a+64>>2]=1;q[a+32>>2]=q[c>>2]+q[a+32>>2];q[a+36>>2]=q[c+4>>2]+q[a+36>>2];q[a+40>>2]=q[c+8>>2];q[a+44>>2]=q[c+12>>2];return 0}k=c,l=Za(q[c>>2],q[c+4>>2]),q[k>>2]=l;h=0;c=c+4|0;break b}g:{h:{if((e|0)==255){d=b+5|0;if(d>>>0>g>>>0){break a}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+32e3>>>0<64001){break h}f=h;h=1;if(!f){break g}break a}if(e>>>0<32){break a}i:{if(e>>>0<=246){b=e+ -139|0;break i}f=b+2|0;if(f>>>0>g>>>0){break a}b=e<<8;if(e>>>0<=250){b=(r[d|0]|b+ -63232)+108|0}else{b=-108-(r[d|0]|b+ -64256)|0}d=f}b=h?b:b<<16;break g}b=h?b:b<<16}if((c-i|0)>1020){break a}q[c>>2]=b;b=d;c=c+4|0}q[j+1136>>2]=c;if(b>>>0>>0){continue}break}}return 160}function II(){var a=0,b=0,c=0;b=Sa(496);if(!b){return 0}q[b+20>>2]=427;q[b+16>>2]=958;q[b+12>>2]=959;q[b+376>>2]=16;q[b+32>>2]=0;q[b+8>>2]=0;a=n[959](256)|0;q[b+388>>2]=a;a:{if(!a){break a}a=n[q[b+12>>2]](1024)|0;q[b+44>>2]=a;if(!a){n[q[b+20>>2]](q[b+388>>2]);break a}c=b+12|0;q[b+48>>2]=a+1024;a=n[q[b+12>>2]](188)|0;if(a){q[a+80>>2]=0;q[a+84>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+100>>2]=c;q[a+124>>2]=c;q[a+8>>2]=0;q[a+12>>2]=0;o[a+4|0]=0;q[a+28>>2]=0;q[a+32>>2]=0;o[a+24|0]=0;q[a+16>>2]=c;q[a>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;o[a+44|0]=0;q[a+36>>2]=c;q[a+20>>2]=0;q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;o[a+64|0]=0;q[a+56>>2]=c;q[a+40>>2]=0;q[a+60>>2]=0;q[a+76>>2]=c;q[a+140>>2]=0;q[a+144>>2]=0;o[a+136|0]=0;q[a+128>>2]=1;q[a+132>>2]=0;q[a+148>>2]=c;q[a+152>>2]=0;q[a+156>>2]=0;o[a+160|0]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[b+352>>2]=a;q[b+364>>2]=0;q[b+372>>2]=0;q[b+300>>2]=0;q[b+460>>2]=0;q[b+464>>2]=0;o[b+468|0]=33;q[b+244>>2]=0;q[b+124>>2]=0;p[b+232>>1]=0;q[b+412>>2]=0;q[b+416>>2]=0;q[b+228>>2]=0;q[b+392>>2]=0;q[b+396>>2]=0;q[b+432>>2]=c;q[b+436>>2]=0;q[b+440>>2]=0;q[b+420>>2]=0;q[b+424>>2]=0;q[b+428>>2]=0;o[b+400|0]=0;q[b+452>>2]=0;q[b+444>>2]=0;q[b+448>>2]=0;q[b+456>>2]=c;HI(b);if(!q[b+228>>2]){hq(b);return 0}q[b+224>>2]=491792;return b}q[b+352>>2]=0;n[q[b+20>>2]](q[b+44>>2]);n[q[b+20>>2]](q[b+388>>2]);n[q[b+20>>2]](b);return 0}n[q[b+20>>2]](b);return 0}function LM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0;g=Da+ -64|0;m=c+12|0;if(m){n=w(c+15&-16,d);o=g+32|0;j=d<<4;u=j<<1;while(1){if(d){v=a+u|0;k=0;c=q;a:while(1){f=c-j|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[g>>1]=s[f>>1];p[g+2>>1]=s[f+2>>1];p[g+4>>1]=s[f+4>>1];p[g+6>>1]=s[f+6>>1];p[g+8>>1]=s[f+8>>1];p[g+10>>1]=s[f+10>>1];p[g+12>>1]=s[f+12>>1];p[g+14>>1]=s[f+14>>1];p[g+16>>1]=s[f+16>>1];p[g+18>>1]=s[f+18>>1];p[g+20>>1]=s[f+20>>1];p[g+22>>1]=s[f+22>>1];p[g+24>>1]=s[f+24>>1];p[g+26>>1]=s[f+26>>1];p[g+28>>1]=s[f+28>>1];p[g+30>>1]=s[f+30>>1];f=c>>>0>>0?(c<<1)+b|0:438160;l=s[f>>1];p[g+32>>1]=l;p[g+34>>1]=s[f+2>>1];p[g+36>>1]=s[f+4>>1];p[g+38>>1]=s[f+6>>1];p[g+40>>1]=s[f+8>>1];p[g+42>>1]=s[f+10>>1];p[g+44>>1]=s[f+12>>1];p[g+46>>1]=s[f+14>>1];p[g+48>>1]=s[f+16>>1];p[g+50>>1]=s[f+18>>1];p[g+52>>1]=s[f+20>>1];p[g+54>>1]=s[f+22>>1];p[g+56>>1]=s[f+24>>1];p[g+58>>1]=s[f+26>>1];p[g+60>>1]=s[f+28>>1];p[g+62>>1]=s[f+30>>1];i=0;while(1){r=i<<1;h=r+o|0;f=s[h+ -12>>1];p[a+r>>1]=f+((((w(p[e>>1],(s[h+ -10>>1]-f<<16>>16)+(s[h+ -14>>1]-f<<16>>16)|0)+w(p[e+2>>1],(s[h+ -8>>1]-f<<16>>16)+(s[h+ -16>>1]-f<<16>>16)|0)|0)+w(p[e+4>>1],(s[h+ -4>>1]-f<<16>>16)+(s[h+ -20>>1]-f<<16>>16)|0)|0)+w(p[e+6>>1],(l-f<<16>>16)+(s[h+ -24>>1]-f<<16>>16)|0)|0)+32768>>>16|0);i=i+1|0;if((i|0)==16){c=c+16|0;a=a+32|0;k=k+1|0;if((k|0)!=(d|0)){continue a}q=j+q|0;a=v}else{l=s[(i<<1)+o>>1];continue}break}break}}t=t+16|0;if(t>>>0>>0){continue}break}}}function NM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0;g=Da+ -64|0;m=c+10|0;if(m){n=w(c+15&-16,d);o=g+32|0;j=d<<4;u=j<<1;while(1){if(d){v=a+u|0;k=0;c=q;a:while(1){f=c-j|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[g>>1]=s[f>>1];p[g+2>>1]=s[f+2>>1];p[g+4>>1]=s[f+4>>1];p[g+6>>1]=s[f+6>>1];p[g+8>>1]=s[f+8>>1];p[g+10>>1]=s[f+10>>1];p[g+12>>1]=s[f+12>>1];p[g+14>>1]=s[f+14>>1];p[g+16>>1]=s[f+16>>1];p[g+18>>1]=s[f+18>>1];p[g+20>>1]=s[f+20>>1];p[g+22>>1]=s[f+22>>1];p[g+24>>1]=s[f+24>>1];p[g+26>>1]=s[f+26>>1];p[g+28>>1]=s[f+28>>1];p[g+30>>1]=s[f+30>>1];f=c>>>0>>0?(c<<1)+b|0:438160;l=s[f>>1];p[g+32>>1]=l;p[g+34>>1]=s[f+2>>1];p[g+36>>1]=s[f+4>>1];p[g+38>>1]=s[f+6>>1];p[g+40>>1]=s[f+8>>1];p[g+42>>1]=s[f+10>>1];p[g+44>>1]=s[f+12>>1];p[g+46>>1]=s[f+14>>1];p[g+48>>1]=s[f+16>>1];p[g+50>>1]=s[f+18>>1];p[g+52>>1]=s[f+20>>1];p[g+54>>1]=s[f+22>>1];p[g+56>>1]=s[f+24>>1];p[g+58>>1]=s[f+26>>1];p[g+60>>1]=s[f+28>>1];p[g+62>>1]=s[f+30>>1];i=0;while(1){r=i<<1;h=r+o|0;f=s[h+ -10>>1];p[a+r>>1]=f+((((w(p[e>>1],(s[h+ -8>>1]-f<<16>>16)+(s[h+ -12>>1]-f<<16>>16)|0)+w(p[e+2>>1],(s[h+ -6>>1]-f<<16>>16)+(s[h+ -14>>1]-f<<16>>16)|0)|0)+w(p[e+4>>1],(s[h+ -4>>1]-f<<16>>16)+(s[h+ -16>>1]-f<<16>>16)|0)|0)+w(p[e+6>>1],(l-f<<16>>16)+(s[h+ -20>>1]-f<<16>>16)|0)|0)+32768>>>16|0);i=i+1|0;if((i|0)==16){c=c+16|0;a=a+32|0;k=k+1|0;if((k|0)!=(d|0)){continue a}q=j+q|0;a=v}else{l=s[(i<<1)+o>>1];continue}break}break}}t=t+16|0;if(t>>>0>>0){continue}break}}}function PM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0;g=Da+ -64|0;m=c+8|0;if(m){n=w(c+15&-16,d);o=g+32|0;j=d<<4;u=j<<1;while(1){if(d){v=a+u|0;k=0;c=q;a:while(1){f=c-j|0;f=f>>>0>>0?(f<<1)+b|0:438160;p[g>>1]=s[f>>1];p[g+2>>1]=s[f+2>>1];p[g+4>>1]=s[f+4>>1];p[g+6>>1]=s[f+6>>1];p[g+8>>1]=s[f+8>>1];p[g+10>>1]=s[f+10>>1];p[g+12>>1]=s[f+12>>1];p[g+14>>1]=s[f+14>>1];p[g+16>>1]=s[f+16>>1];p[g+18>>1]=s[f+18>>1];p[g+20>>1]=s[f+20>>1];p[g+22>>1]=s[f+22>>1];p[g+24>>1]=s[f+24>>1];p[g+26>>1]=s[f+26>>1];p[g+28>>1]=s[f+28>>1];p[g+30>>1]=s[f+30>>1];f=c>>>0>>0?(c<<1)+b|0:438160;l=s[f>>1];p[g+32>>1]=l;p[g+34>>1]=s[f+2>>1];p[g+36>>1]=s[f+4>>1];p[g+38>>1]=s[f+6>>1];p[g+40>>1]=s[f+8>>1];p[g+42>>1]=s[f+10>>1];p[g+44>>1]=s[f+12>>1];p[g+46>>1]=s[f+14>>1];p[g+48>>1]=s[f+16>>1];p[g+50>>1]=s[f+18>>1];p[g+52>>1]=s[f+20>>1];p[g+54>>1]=s[f+22>>1];p[g+56>>1]=s[f+24>>1];p[g+58>>1]=s[f+26>>1];p[g+60>>1]=s[f+28>>1];p[g+62>>1]=s[f+30>>1];i=0;while(1){r=i<<1;h=r+o|0;f=s[h+ -8>>1];p[a+r>>1]=f+((((w(p[e>>1],(s[h+ -6>>1]-f<<16>>16)+(s[h+ -10>>1]-f<<16>>16)|0)+w(p[e+2>>1],(s[h+ -4>>1]-f<<16>>16)+(s[h+ -12>>1]-f<<16>>16)|0)|0)+w(p[e+4>>1],(s[h+ -2>>1]-f<<16>>16)+(s[h+ -14>>1]-f<<16>>16)|0)|0)+w(p[e+6>>1],(l-f<<16>>16)+(s[h+ -16>>1]-f<<16>>16)|0)|0)+32768>>>16|0);i=i+1|0;if((i|0)==16){c=c+16|0;a=a+32|0;k=k+1|0;if((k|0)!=(d|0)){continue a}q=j+q|0;a=v}else{l=s[(i<<1)+o>>1];continue}break}break}}t=t+16|0;if(t>>>0>>0){continue}break}}}function OV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;NV(a,b);a:{b:{if(!q[a>>2]|q[a+144>>2]!=-1){break b}b=q[a+212>>2];if(b){j=q[67829];k=q[67828];while(1){c:{d:{c=q[a+48>>2];e:{f:{if((c|0)!=271312){b=lu(c,h,b);break f}b=q[a+168>>2];if(b>>>0>2){i=0;break e}g:{switch(b-1|0){case 1:b=h>>>0<=86?s[(h<<1)+242416>>1]:0;break f;default:i=h>>>0<229?h:0;break e;case 0:break g}}b=h>>>0<=165?s[(h<<1)+242080>>1]:0}i=b;if(i>>>0>390){break d}}c=i<<2;b=q[c+243040>>2];e=q[c+243044>>2]+(b^-1)|0;c=b+244608|0;break c}e=q[a+60>>2];b=r[e|0]<<8|r[e+1|0];f=i+ -391|0;if(b>>>0>f>>>0){d=e+2|0;c=r[e+2|0];l=w(c,b+1|0);h:{if(!c){g=0;break h}b=(w(c,f)+e|0)+3|0;g=0;while(1){g=r[b|0]|g<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=(d+l|0)+g|0;e=rg(e,f);break c}e=j;c=k;if(!c){break a}}i:{j:{k:{f=q[a+216>>2];if((f|0)>=0){b=f;g=q[a+220>>2];d=g+1|0;d=(d|0)>0?d:0;if(b>>>0>=d>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){f=db(q[a+224>>2],b<<4);if(f){break k}}q[a+216>>2]=-1}b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break i}q[a+216>>2]=b;q[a+224>>2]=f;g=q[a+220>>2]}if(d>>>0>g>>>0){Na(q[a+224>>2]+(g<<4)|0,0,d-g<<4)}q[a+220>>2]=d;b=(q[a+224>>2]+(d<<4)|0)+ -16|0}p[b+12>>1]=i;q[b+8>>2]=0;q[b+4>>2]=e;q[b>>2]=c;h=h+1|0;b=q[a+212>>2];if(h>>>0>>0){continue}break}}b=q[a+220>>2];if(!b){break b}ku(q[a+224>>2],b,16)}return}La(q[a+224>>2]);q[a+224>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;nc(a)}function zC(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,r=0,s=0,t=0;a:{g=q[a+8>>2];if(g){p=q[g+8>>2];if(p){break a}}q[160728]=0;q[160729]=-1074790400;q[160730]=0;q[160731]=-1074790400;return 642912}d=(p|0)>0;b=b*1e3;b:{if(y(b)<0x8000000000000000){l=~~b>>>0;e=y(b)>=1?b>0?~~A(C(b/4294967296),4294967295)>>>0:~~D((b- +(~~b>>>0>>>0))/4294967296)>>>0:0;break b}e=-2147483648}n=e;c:{d:{if(!d){q[160728]=0;q[160729]=-1074790400;q[160732]=0;h=-1;f=-1;break d}k=q[g+20>>2];h=-1;f=-1;o=-1;m=-1;g=-1;i=-1;while(1){c=q[k>>2];e=q[k+4>>2];d=e;e:{if((d|0)<(n|0)?1:(d|0)<=(n|0)?c>>>0>l>>>0?0:1:0){d=e+q[k+12>>2]|0;e=c+q[k+8>>2]|0;if(e>>>0>>0){d=d+1|0}j=e;if((d|0)<(n|0)?1:(d|0)<=(n|0)?e>>>0>l>>>0?0:1:0){break e}e=(d|0)<(i|0)?1:(d|0)<=(i|0)?j>>>0>=g>>>0?0:1:0;c=(g|0)==-1&(i|0)==-1;g=c?j:e?j:g;i=c?d:e?d:i;c=(d|0)>(m|0)?1:(d|0)>=(m|0)?j>>>0<=o>>>0?0:1:0;o=c?j:o;m=c?d:m;if(r){break e}c=q[a+424>>2];if(!c){r=0;break e}r=q[c+(s<<2)>>2];break e}j=c;d=(e|0)<(f|0)?1:(e|0)<=(f|0)?c>>>0>=h>>>0?0:1:0;t=d?c:h;c=(h|0)==-1&(f|0)==-1;h=c?j:t;f=c?e:d?e:f}k=k+56|0;s=s+1|0;if((p|0)!=(s|0)){continue}break}q[160732]=r;c=-1;a=-1;if((g|0)==-1&(i|0)==-1){b=-1}else{c=g;a=i;l=(i|0)<(f|0)?1:(i|0)<=(f|0)?c>>>0>=h>>>0?0:1:0;b=(+((l?c:h)>>>0)+4294967296*+((l?i:f)|0))/1e3}v[80364]=b;if((c|0)!=(o|0)|(a|0)!=(m|0)){break c}if((h|0)==-1&(f|0)==-1){break d}if((f|0)<(a|0)?1:(f|0)<=(a|0)?h>>>0>c>>>0?0:1:0){break c}}v[80365]=(+(h>>>0)+4294967296*+(f|0))/1e3;return 642912}v[80365]=b;return 642912}function Jq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=xe(b);b:{c:{if((d|0)<=-1){d=d^-1;break c}f=r[d+485054|0];c=f>>>5|0;if(c>>>0>=t[a+4>>2]){break c}e=1;if(q[((c<<2)+a|0)+8>>2]>>>(f&31)&1){break b}}d:{if((d|0)>=1){c=d;while(1){h=c;c=c+ -1|0;g=(c<<5)+449308|0;if((Td(g,b)|0)!=2){e:{e=r[c+485054|0];i=e>>>5|0;if(i>>>0>=t[a+4>>2]){break e}f=b;if(!(q[((i<<2)+a|0)+8>>2]>>>(e&31)&1)){break e}while(1){e=r[f|0];j=((e+ -65&255)>>>0<26?e+32|0:e)&255;e=r[g|0];i=((e+ -65&255)>>>0<26?e+32|0:e)&255;if((j|0)!=(i|0)){e=1;if(j?0:(i|0)==45){break b}if(i){break e}if((j|0)==45){break b}break e}e=1;g=g+1|0;f=f+1|0;if(i){continue}break}break b}if((h|0)>1){continue}}break}if((d|0)>245){break d}}while(1){g=(d<<5)+449308|0;if((Td(g,b)|0)==2){break d}f:{c=r[d+485054|0];h=c>>>5|0;if(h>>>0>=t[a+4>>2]){break f}f=b;if(!(q[((h<<2)+a|0)+8>>2]>>>(c&31)&1)){break f}while(1){c=r[g|0];c=((c+ -65&255)>>>0<26?c+32|0:c)&255;h=r[f|0];h=((h+ -65&255)>>>0<26?h+32|0:h)&255;if((c|0)!=(h|0)){e=1;if(h?0:(c|0)==45){break b}if(c){break f}if((h|0)==45){break b}break f}e=1;g=g+1|0;f=f+1|0;if(c){continue}break}break b}d=d+1|0;if((d|0)!=246){continue}break}}e=0;a=q[a>>2];if(!a){break b}a=Ic(a);if(!a){break b}g:while(1){h:{g=b;f=Qb(a);if(!f){break h}while(1){c=r[f|0];c=((c+ -65&255)>>>0<26?c+32|0:c)&255;d=r[g|0];d=((d+ -65&255)>>>0<26?d+32|0:d)&255;if((c|0)!=(d|0)){if(d?0:(c|0)==45){break a}if((d|0)!=45|c){continue g}break a}f=f+1|0;g=g+1|0;if(c){continue}break}break a}break}Zb(a)}return e}Zb(a);return 1}function wy(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,p=0,u=0;f=3;a:{if((d|0)<0){break a}h=q[a+12>>2];j=s[h>>1];g=q[a+8>>2];if((e|0)<0|j+e>>>0>t[g>>2]){break a}h=s[h+2>>1];if(h+d>>>0>t[g+4>>2]){break a}i=w(h,r[a+18|0]);if((w(i,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!i){break a}m=q[g+8>>2];h=q[g+12>>2]+(w(m,e)+(d>>>3|0)|0)|0;l=d&7;if(l){a=8-l|0;k=i>>>0>>0?i:a;p=(255<>>0>=c>>>0){break b}e=r[b|0]|e;b=b+1|0;a=g+n|0;break b}e=(e&65280)>>>8|0;a=g-k|0}g=a;d=b;o[h|0]=r[h|0]|(e&65535)>>>g&p;e=e<<8;f=h+1|0;a=u;if((a|0)>=8){while(1){b=r[d|0];o[f|0]=r[f|0]|((b|e)&65535)>>>g;f=f+1|0;d=d+1|0;e=b<<8;b=(a|0)>15;a=a+ -8|0;if(b){continue}break}}c:{if((a|0)>=1){if((g|0)<(a|0)){if(d>>>0>=c>>>0){b=d}else{e=r[d|0]|e;b=d+1|0}o[f|0]=r[f|0]|(e&65535)>>>g&65280>>>a;e=e<<8;g=(g-a|0)+8|0;break c}o[f|0]=r[f|0]|65280>>>a&(e&65535)>>>g;g=g-a|0}b=d}h=h+m|0;f=i+ -1|0;if((i|0)>1){continue}break}f=0;break a}d=0;l=i>>>0>7;g=0;while(1){f=h;a=i;if(l){while(1){d=r[b|0]|d;o[f|0]=r[f|0]|(d&65535)>>>g;f=f+1|0;b=b+1|0;d=d<<8;e=(a|0)>15;a=a+ -8|0;if(e){continue}break}}e=j;d:{if((a|0)<1){break d}if((g|0)>=(a|0)){o[f|0]=r[f|0]|65280>>>a&(d&65535)>>>g;g=g-a|0;break d}if(b>>>0>>0){d=r[b|0]|d;b=b+1|0}o[f|0]=r[f|0]|(d&65535)>>>g&65280>>>a;d=d<<8;g=(g-a|0)+8|0}h=h+m|0;j=e+ -1|0;f=0;if((e|0)>1){continue}break}}return f|0} +function dx(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;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){c=q[a>>2];l=c+(r[c+7|0]|r[c+6|0]<<8)|0;m=(r[c+5|0]|r[c+4|0]<<8)+c|0;j=q[d+76>>2];i=h>>>0>=j>>>0;g=0;b:{if(i){break b}f=q[q[d+88>>2]+w(h,20)>>2];g=2;if((f|0)==65535){break b}g=f;f=(r[c+3|0]|r[c+2|0]<<8)+c|0;e=g-(r[f|0]<<8|r[f+1|0])|0;g=1;if(e>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(e+f|0)+4|0]}e=g;c=r[c+1|0]|r[c|0]<<8;e=l+(r[m+((c>>>0>e>>>0?e:1)+w(c,k)|0)|0]<<2)|0;c:{if(!k){break c}c=q[(r[d+69|0]?80:72)+d>>2];if(i|!c){break c}f=r[e+3|0];if((f|r[e+2|0]<<8)==16384?!(r[e+1|0]|r[e|0]<<8|(t[b+4>>2]>2]?f&15:0)):0){break c}Zc(d,c+ -1|0,h+1|0);d=q[a+4>>2];j=q[d+76>>2];h=q[d+72>>2]}i=h+2|0;d:{if(i>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;if(!(r[((c+(r[c+7|0]|r[c+6|0]<<8)|0)+(r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,k))|0]<<2)|0)+3|0]&15)|t[b+4>>2]>=t[b+8>>2]){break d}rb(d,h,i)}Um(b,a,e);d=q[a>>2];k=((r[e+1|0]|r[e|0]<<8)-(r[d+4|0]<<8|r[d+5|0])|0)/(r[d+1|0]|r[d|0]<<8)|0;c=q[a+4>>2];d=q[c+72>>2];if((d|0)==q[c+76>>2]){break a}e:{if(r[e+2|0]&64){e=q[c+40>>2];q[c+40>>2]=e+ -1;if((e|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){f=d;if((d|0)==q[c+80>>2]){break f}}if(!Va(c,1,1)){break e}e=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[e+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[c+72>>2];f=q[c+80>>2]}q[g+80>>2]=f+1}q[c+72>>2]=d+1}d=q[a+4>>2];if(!r[d+68|0]){break a}h=q[d+72>>2];continue}}}function EV(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0;e=Da-32|0;Da=e;q[e+28>>2]=0;q[e+20>>2]=0;q[e+24>>2]=0;q[e+12>>2]=0;q[e+16>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{d=a+ -6|0;if(d>>>0>24){d=a+ -265|0;if(d>>>0>10){break j}d=1<>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=i;break g}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=i;break g}hh(b+20|0,b)}if(!q[b+24>>2]){break b}break a}h=c;j=b+24|0;d=q[j>>2];k:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];k=q[67828];q[160744]=k;q[160745]=d;f(0,k|0);f(1,d|0);i=+g();break k}i=v[q[b+36>>2]+(d<<3)>>3];break k}o[b+20|0]=1;d=q[67829];k=q[67828];q[160744]=k;q[160745]=d;f(0,k|0);f(1,d|0);i=+g()}l:{if(y(i)<2147483648){d=~~i;break l}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[h+16>>2]=d;break c}m:{j=b+24|0;d=q[j>>2];if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]>d>>>0){break m}d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;q[e+24>>2]=h;q[e+28>>2]=d;break c}o[b+20|0]=1;d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;q[e+24>>2]=h;q[e+28>>2]=d;break c}d=q[b+36>>2]+(d<<3)|0;h=q[d+4>>2];q[e+24>>2]=q[d>>2];q[e+28>>2]=h;break c}j=b+24|0}q[j>>2]=0}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}fu(c,a,b,e+8|0)}Da=e+32|0}function ou(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Da-16|0;Da=i;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>19){break b}}c=0;break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=0;if((d|0)<1){break a}c=0;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=0;if(q[b+32>>2]!=(r[a+13|0]|r[a+12|0]<<8)){break a}q[i+12>>2]=w(r[a+7|0]|r[a+6|0]<<8,r[a+5|0]|r[a+4|0]<<8);c=0;if(!bW(a+8|0,b,a,i+12|0)){break a}d=a+20|0;g=r[a+13|0];f=r[a+12|0];d:{e:{if(o[a+15|0]&1){j=q[b+4>>2];c=0;if(j>>>0>d>>>0){break a}h=q[b+8>>2];c=0;if(h>>>0>>0){break a}if(h-d>>>0>=(g<<2|f<<10)+4>>>0){break e}c=0;break a}j=q[b+4>>2];c=0;if(j>>>0>d>>>0){break a}h=q[b+8>>2];c=0;if(h>>>0>>0){break a}c=0;if(h-d>>>0<(g<<1|f<<9)+2>>>0){break a}c=q[b+12>>2];g=c+ -1|0;q[b+12>>2]=g;if((c|0)>=1){break d}c=0;break a}f=q[b+12>>2];g=f+ -1|0;q[b+12>>2]=g;c=0;if((f|0)<=0){break a}}c=r[a+20|0];k=o[a+15|0]&1;f:{if(k){f=r[d+1|0];l=r[d+3|0]|(f<<16|c<<24|r[d+2|0]<<8);break f}f=r[d+1|0];l=f<<1|c<<9}e=r[a+13|0]|r[a+12|0]<<8;g:{if(k){e=d+(e<<2)|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=r[d+3|0]|(f<<16|c<<24|r[d+2|0]<<8);break g}d=d+(e<<1)|0;e=r[d+1|0]<<1|r[d|0]<<9;d=f<<1|c<<9}d=e-d|0;c=0;if((d|0)==-1){break a}c=1;if(!d){break a}c=a;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);a=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=(a?c+a|0:271312)+l|0;c=0;if(j>>>0>a>>>0){break a}c=0;if(h>>>0>>0){break a}c=0;if(h-a>>>0>>0){break a}q[b+12>>2]=g+ -1;c=(g|0)>0}Da=i+16|0;return c}function vq(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,p=0,r=0,s=0,t=0;l=Da-32|0;Da=l;q[l+12>>2]=0;q[l+8>>2]=0;q[l+4>>2]=0;m=d;d=q[c+64>>2];m=m+w(d,5)|0;q[l+16>>2]=m;a:{b:{r=m;m=e-(d<<1)|0;if(yk(c,r,m,l+8|0,l+4|0,l+12|0,l+16|0)){e=q[l+8>>2];if(e){break b}}q[f>>2]=q[l+16>>2];break a}c:{d:{e:{d=q[l+4>>2];f:{if(!n[q[c+24>>2]](c,e,d,494588)){if(b){break f}q[f>>2]=e;break a}if(g){q[g>>2]=q[l+12>>2]}g:{if(!h){e=q[l+16>>2];break g}e=q[l+16>>2];q[h>>2]=e}if(!yk(c,e,m,l+8|0,l+4|0,l+12|0,l+16|0)){q[f>>2]=q[l+16>>2];break a}e=q[l+8>>2];if(!e){break e}d=q[l+4>>2]}if(!n[q[c+24>>2]](c,e,d,494596)){break c}d=q[l+12>>2];q[l+28>>2]=d;q[l+24>>2]=l+23;n[q[c+56>>2]](c,l+28|0,m,l+24|0,l+24|0)|0;if((o[l+23|0]&-33)+ -65>>>0<26?q[l+24>>2]!=(l+23|0):0){break d}q[f>>2]=d;break a}if(!b){p=1;break a}q[f>>2]=q[l+16>>2];break a}if(i){q[i>>2]=d}e=q[l+16>>2];if(j){s=j,t=n[a](c,d,e-q[c+64>>2]|0)|0,q[s>>2]=t}if(!yk(c,e,m,l+8|0,l+4|0,l+12|0,l+16|0)){q[f>>2]=q[l+16>>2];break a}e=q[l+8>>2];if(!e){p=1;break a}d=q[l+4>>2]}if(!(n[q[c+24>>2]](c,e,d,494605)|0?!b:0)){q[f>>2]=e;break a}h:{a=q[l+12>>2];e=q[l+16>>2];i:{if(n[q[c+24>>2]](c,a,e-q[c+64>>2]|0,494616)){if(!k){break i}q[k>>2]=1;break i}if(!n[q[c+24>>2]](c,a,e-q[c+64>>2]|0,494620)){break h}if(!k){break i}q[k>>2]=0}a=l+24|0;while(1){q[l+28>>2]=e;q[l+24>>2]=l+23;n[q[c+56>>2]](c,l+28|0,m,l+24|0,a)|0;b=(q[l+24>>2]==(l+23|0)?-1:o[l+23|0])+ -9|0;if(!(b>>>0>23|!(1<>2]+e|0;continue}break}q[l+16>>2]=e;if((e|0)==(m|0)){p=1;break a}q[f>>2]=e;break a}q[f>>2]=a}Da=l+32|0;return p}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;f=Da+ -64|0;Da=f;q[b+60>>2]=0;a:{c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(h){l=h+ -1|0;a=a+8|0;while(1){c=r[a+4|0];b:{if(c&32){break b}d=q[b+12>>2];e=q[d+48>>2];if((e&-2)==4^c<<24>>24>-1){break b}c=q[b+4>>2];q[f+48>>2]=g;q[f+40>>2]=114;q[f+44>>2]=110;q[f+32>>2]=107;q[f+36>>2]=101;if(!jd(d,c,228682,f+32|0)){break b}d=e&-3;c:{if(i){i=1;break c}i=0;if(!(r[a+4|0]&64)){break c}i=1;c=q[b+12>>2];e=q[c+76>>2];if(!e){break c}g=q[c+96>>2];c=0;while(1){k=g+w(c,20)|0;o[k+18|0]=2;p[k+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}g=(d|0)!=5;if(!g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+24>>2]=e;if((c|0)<=-1){break a}c=j>>>0>>0?a:0;d:{if(!c){break d}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=e-c|0;q[b+24>>2]=c+(e>>>0>d>>>0?d:e)}c=j$(a,b);d=q[b+44>>2];e=q[d+12>>2];q[b+20>>2]=e;d=q[d+16>>2];q[b+24>>2]=d+e;if((d|0)<=-1){break a}if(!g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[f+16>>2]=q[b+60>>2];q[f+8>>2]=114;q[f+12>>2]=110;q[f>>2]=107;q[f+4>>2]=101;jd(d,c,228709,f)}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=q[b+60>>2]+1|0;q[b+60>>2]=g;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}Da=f- -64|0;return}I(228734,228759,195,228776);F()}function jB(a,b,c,d){a=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=q[b>>2];if(!f){return 35}b=6;a:{if(t[f+16>>2]<=c>>>0){break a}j=q[f+104>>2];g=q[f+292>>2];b=g+(c<<4)|0;h=p[b+6>>1];k=h+p[b+8>>1]|0;q[a+76>>2]=k;i=p[b>>1];b=p[b+2>>1];o[a+94|0]=1;p[a+92>>1]=1;e=b-i|0;q[a+80>>2]=e;b=3;l=(1<<(q[f+312>>2]&3))+ -1|0;if(l>>>0>7){break a}b:{c:{switch(l-1|0){default:b=e+7>>>3|0;break b;case 0:b=e+15>>>3&536870910;break b;case 2:b=e+31>>>3&536870908;break b;case 1:case 3:case 4:case 5:break a;case 6:break c}}b=e+63>>>3&536870904}q[a+104>>2]=h;q[a+100>>2]=i;q[a+72>>2]=1651078259;q[a+84>>2]=b;b=p[((c<<4)+g|0)+4>>1];q[a+36>>2]=h<<6;q[a+32>>2]=i<<6;q[a+28>>2]=k<<6;q[a+24>>2]=e<<6;q[a+40>>2]=b<<6;Sf(a+24|0,q[f+208>>2]+q[f+204>>2]<<6);d:{if(d&4194304){break d}d=w(q[a+76>>2],q[a+84>>2]);b=_h(a,d);if(b){break a}b=Xa(j,q[((c<<4)+g|0)+12>>2]);if(b){break a}b=Wb(j,q[a+88>>2],d);if(b){break a}c=q[f+312>>2];if(!(!d|c&8)){c=q[a+88>>2];b=d;while(1){e=r[c|0];e=e>>>1&85|e<<1&170;e=e>>>2&51|e<<2&204;o[c|0]=e>>>4|e<<4;c=c+1|0;b=b+ -1|0;if(b){continue}break}c=q[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}c=(1<<(c>>>4&3))+ -2|0;if(c>>>0>2){break d}b=0;e:{switch(c-1|0){default:if(d>>>0<2){break d}a=q[a+88>>2];while(1){b=r[a+1|0];o[a+1|0]=r[a|0];o[a|0]=b;a=a+2|0;d=d+ -2|0;if(d>>>0>1){continue}break}break d;case 1:break e;case 0:break a}}if(d>>>0<4){break d}a=q[a+88>>2];while(1){b=r[a+3|0];o[a+3|0]=r[a|0];o[a|0]=b;b=r[a+1|0];o[a+1|0]=r[a+2|0];o[a+2|0]=b;a=a+4|0;d=d+ -4|0;if(d>>>0>3){continue}break}}b=0}return b|0}function Rm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{e=q[b+4>>2];if(e>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1|(r[a+1|0]|r[a|0]<<8)>>>0<2){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0<4){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!h){return 1}j=h+ -1|0;a=a+8|0;while(1){if(d>>>0>>0|e>>>0>a>>>0|d-a>>>0<12){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;d=q[d+16>>2];g=d+c|0;q[b+8>>2]=g;c:{d:{if((d|0)>-1){d=i>>>0>>0?a:0;e:{if(!d){d=c;break e}if(!(g>>>0>d>>>0?d>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;g=0;break d}q[b+4>>2]=d;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g-d|0;g=(c>>>0>f>>>0?f:c)+d|0;q[b+8>>2]=g}if(d>>>0<=a>>>0){break d}f=1;break c}break a}f=1;if(g>>>0>>0){break c}d=g-a|0;if(d>>>0<12){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<13|d>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}if(!Xw(a,b)){break c}d=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;f=0}c=q[b+28>>2];e=q[c+12>>2];q[b+4>>2]=e;c=q[c+16>>2];d=c+e|0;q[b+8>>2]=d;if((c|0)<=-1){break a}if(f){break b}i=i+1|0;if((h|0)!=(i|0)){continue}break}return 1}return 0}I(228416,228441,195,228458);F()}function zs(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,o=0,p=0;h=Da+ -64|0;Da=h;e=q[a>>2];a:{if((e|0)<1){break a}c=q[a+24>>2];g=w(b,204);j=q[a+16>>2];d=q[a+8>>2];k=d+w(e,40)|0;b=0;a=d;while(1){b=(q[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(a>>>0>>0){continue}break}if(!b){break a}l=q[(c+g|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=Oa(j,4,0,b,0,h);if(q[h>>2]){break a}}c=d;while(1){if(r[c+16|0]&16){a=(f<<2)+e|0;c:{if((f|0)<1){b=a;break c}g=q[c+28>>2];while(1){b=a+ -4|0;i=q[b>>2];if(q[i+28>>2]<=(g|0)){b=a;break c}q[a>>2]=i;a=b;if(a>>>0>e>>>0){continue}break}}q[b>>2]=c;f=f+1|0}c=c+40|0;if(c>>>0>>0){continue}break}m=((f<<2)+e|0)+ -4|0;while(1){b=q[d+16>>2];d:{if(b&16){break d}a=q[d+12>>2];if(a&2){c=r[d+20|0];if(!(a&4|b&64)|((c|0)==4|(c|0)!=r[d+21|0])){break d}q[d+12>>2]=a&-3}o=d;e:{f:{if(f){b=q[d+28>>2];a=0;g:{while(1){if(q[q[(a<<2)+e>>2]+28>>2]>(b|0)){break g}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break f}}a=q[e>>2];c=q[a+36>>2]+Ma(q[d+28>>2]-q[a+28>>2]|0,l)|0;break e}g=q[((a<<2)+e|0)+ -4>>2];b=f;while(1){a=b;if(a){b=a+ -1|0;if(q[q[(b<<2)+e>>2]+28>>2]>=q[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=q[m>>2];c=q[a+36>>2]+Ma(q[d+28>>2]-q[a+28>>2]|0,l)|0;break e}b=q[d+28>>2];i=q[g+28>>2];c=q[g+36>>2];if((b|0)==(i|0)){break e}a=q[(a<<2)+e>>2];c=q[a+28>>2];if((b|0)==(c|0)){c=q[a+36>>2];break e}p=q[a+36>>2];a=q[g+36>>2];c=bb(b-i|0,p-a|0,c-i|0)+a|0}q[o+36>>2]=c;q[d+16>>2]=q[d+16>>2]|32}d=d+40|0;if(d>>>0>>0){continue}break}if((e|0)==(h|0)){break a}if(e){n[q[j+8>>2]](j,e)}}Da=h- -64|0}function dC(a,b,c){a=a|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,s=0;h=Da-16|0;Da=h;f=q[c>>2];q[h+12>>2]=0;a:{b:{d=a+5|0;if(d>>>0>b>>>0){break b}e=r[a+3|0];j=r[a+4|0];a=q[c+92>>2];g=j+a|0;if(g>>>0>t[c+96>>2]){i=f;f=g+3&-4;p=c,s=Oa(i,36,a,f,q[c+100>>2],h+12|0),q[p+100>>2]=s;a=q[h+12>>2];if(a){break a}q[c+96>>2]=f}f=e&1;k=e&2;l=e&4;m=e&8;n=e&16;if(w((f|8)+(k>>>1|0)+(l>>>2)+(m>>>3)+(n>>>4)|0,j)+d>>>0>b>>>0){break b}o=q[c+92>>2];c:{if(!j){break c}a=q[c+100>>2]+w(o,36)|0;g=0;if(!f){while(1){q[a>>2]=r[d|0];e=a;d:{if(k){b=d+3|0;i=r[d+2|0]|r[d+1|0]<<8;break d}b=d+2|0;i=r[d+1|0]}q[e+4>>2]=i;q[a+8>>2]=r[b|0];e:{if(l){d=r[b+2|0]<<8|r[b+1|0]<<16;f=3;e=b+4|0;break e}d=r[b+1|0]<<8;f=2;e=b+3|0}q[a+20>>2]=r[b+f|0]|d;f:{if(m){d=r[e+1|0]<<8|r[e|0]<<16;f=2;b=e+3|0;break f}d=r[e|0]<<8;f=1;b=e+2|0}q[a+24>>2]=r[e+f|0]|d;e=a;g:{if(n){d=b+2|0;b=r[b+1|0]|r[b|0]<<8;break g}d=b+1|0;b=r[b|0]}q[e+28>>2]=b;a=a+36|0;g=g+1|0;if((j|0)!=(g|0)){continue}break c}}while(1){q[a>>2]=r[d+1|0]|r[d|0]<<8;e=a;h:{if(k){b=d+4|0;i=r[d+3|0]|r[d+2|0]<<8;break h}b=d+3|0;i=r[d+2|0]}q[e+4>>2]=i;q[a+8>>2]=r[b|0];i:{if(l){d=r[b+2|0]<<8|r[b+1|0]<<16;f=3;e=b+4|0;break i}d=r[b+1|0]<<8;f=2;e=b+3|0}q[a+20>>2]=r[b+f|0]|d;j:{if(m){d=r[e+1|0]<<8|r[e|0]<<16;f=2;b=e+3|0;break j}d=r[e|0]<<8;f=1;b=e+2|0}q[a+24>>2]=r[e+f|0]|d;e=a;k:{if(n){d=b+2|0;b=r[b+1|0]|r[b|0]<<8;break k}d=b+1|0;b=r[b|0]}q[e+28>>2]=b;a=a+36|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}q[c+92>>2]=j+o;a=q[h+12>>2];break a}a=8;q[h+12>>2]=8}Da=h+16|0;return a|0}function h$(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;d=q[a+4>>2];q[d+72>>2]=0;a:{if(!r[d+68|0]){break a}while(1){c=q[a>>2];l=(r[c+7|0]|r[c+6|0]<<8)+c|0;m=c+(r[c+5|0]|r[c+4|0]<<8)|0;j=q[d+76>>2];h=i>>>0>=j>>>0;g=0;b:{if(h){break b}f=q[q[d+88>>2]+w(i,20)>>2];g=2;if((f|0)==65535){break b}g=f;f=c+(r[c+3|0]|r[c+2|0]<<8)|0;e=g-(r[f|0]<<8|r[f+1|0])|0;g=1;if(e>>>0>=(r[f+3|0]|r[f+2|0]<<8)>>>0){break b}g=r[(e+f|0)+4|0]}e=g;c=r[c+1|0]|r[c|0]<<8;e=l+(r[m+((c>>>0>e>>>0?e:1)+w(c,k)|0)|0]<<2)|0;c:{if(!k){break c}c=q[(r[d+69|0]?80:72)+d>>2];if(h|!c){break c}h=r[e+3|0];f=r[e+2|0]<<8;if((f|h)==16384?!(h|f&16128|(r[e+1|0]|r[e|0]<<8)):0){break c}Zc(d,c+ -1|0,i+1|0);d=q[a+4>>2];j=q[d+76>>2];i=q[d+72>>2]}h=i+2|0;d:{if(h>>>0>j>>>0){break d}c=q[a>>2];f=r[c+1|0]|r[c|0]<<8;c=(c+(r[c+7|0]|r[c+6|0]<<8)|0)+(r[c+(r[c+5|0]|r[c+4|0]<<8)+(!f+w(f,k))|0]<<2)|0;if(!(r[c+2|0]<<8&16128|r[c+3|0])){break d}rb(d,i,h)}e$(b,a,e);d=q[a>>2];k=((r[e+1|0]|r[e|0]<<8)-(r[d+4|0]<<8|r[d+5|0])|0)/(r[d+1|0]|r[d|0]<<8)|0;c=q[a+4>>2];d=q[c+72>>2];if((d|0)==q[c+76>>2]){break a}e:{if(r[e+2|0]&64){e=q[c+40>>2];q[c+40>>2]=e+ -1;if((e|0)>0){break e}}if(r[c+69|0]){g=c;f:{if(q[c+92>>2]==q[c+88>>2]){f=d;if((d|0)==q[c+80>>2]){break f}}if(!Va(c,1,1)){break e}e=q[c+88>>2]+w(q[c+72>>2],20)|0;f=q[e+4>>2];d=q[c+92>>2]+w(q[c+80>>2],20)|0;q[d>>2]=q[e>>2];q[d+4>>2]=f;q[d+16>>2]=q[e+16>>2];f=q[e+12>>2];q[d+8>>2]=q[e+8>>2];q[d+12>>2]=f;d=q[c+72>>2];f=q[c+80>>2]}q[g+80>>2]=f+1}q[c+72>>2]=d+1}d=q[a+4>>2];if(!r[d+68|0]){break a}i=q[d+72>>2];continue}}}function Bv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{e=q[b+4>>2];if(e>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if(!(r[a+1|0]<<16|r[a|0]<<24)|(f|0)<1){break b}c=a+4|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0<4){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!h){return 1}j=h+ -1|0;a=a+8|0;while(1){if(d>>>0>>0|e>>>0>a>>>0|d-a>>>0<8){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;d=q[d+16>>2];g=d+c|0;q[b+8>>2]=g;c:{d:{if((d|0)>-1){d=i>>>0>>0?a:0;e:{if(!d){d=c;break e}if(!(g>>>0>d>>>0?d>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;g=0;break d}q[b+4>>2]=d;c=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g-d|0;g=(c>>>0>f>>>0?f:c)+d|0;q[b+8>>2]=g}if(d>>>0<=a>>>0){break d}f=1;break c}break a}f=1;if(g>>>0>>0){break c}d=g-a|0;if(d>>>0<8){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<8|d>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}if(!g_(a,b)){break c}d=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;f=0}c=q[b+28>>2];e=q[c+12>>2];q[b+4>>2]=e;c=q[c+16>>2];d=c+e|0;q[b+8>>2]=d;if((c|0)<=-1){break a}if(f){break b}i=i+1|0;if((h|0)!=(i|0)){continue}break}return 1}return 0}I(228734,228759,195,228776);F()}function ck(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,o=0;j=q[a+8>>2];a:{b:{o=q[a+12>>2];i=q[o+36>>2];c:{d:{if((i|0)<=0){l=6;if(!i){break d}break c}h=n[q[j+4>>2]](j,i)|0;if(!h){l=64;h=0;break c}Na(h,0,i)}q[h+100>>2]=j;q[h+96>>2]=a;q[h+104>>2]=q[b>>2];if(c){q[h+8>>2]=q[h+8>>2]|1024}e:{m=n[q[j+4>>2]](j,68)|0;if(m){i=0;k=Na(m,0,68);q[h+128>>2]=k;q[k+52>>2]=0;f:{if((e|0)<1){break f}a=0;while(1){if(i){break f}i=0;c=(a<<3)+f|0;if(q[c>>2]==1768842098){i=q[c+4>>2];q[k+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}q[k+60>>2]=-1;a=q[o+48>>2];g:{if(!a){q[b>>2]=q[h+104>>2];break g}l=n[a](q[b>>2],h,d,e,f)|0;q[b>>2]=q[h+104>>2];if(l){break e}}d=q[h+40>>2];if(!d){break a}a=d+(q[h+36>>2]<<2)|0;i=a+ -4|0;if(i>>>0>=d>>>0){while(1){c=q[i>>2];h:{if(q[c+4>>2]!=1970170211){break h}b=s[c+8>>1];if(b>>>0>3){break h}i:{switch(b-1|0){default:if(s[c+10>>1]!=4){break h}break b;case 0:case 1:break h;case 2:break i}}if(s[c+10>>1]==10){break b}}i=i+ -4|0;if(i>>>0>=d>>>0){continue}break}}while(1){a=a+ -4|0;if(a>>>0>>0){break a}b=q[a>>2];if(q[b+4>>2]!=1970170211){continue}break}q[h+92>>2]=b;break a}l=64;if(h){break e}m=0;break c}if(q[h+36>>2]>=1){i=0;while(1){b=i<<2;d=q[b+q[h+40>>2]>>2];c=q[q[d>>2]+100>>2];a=q[q[d+12>>2]+8>>2];if(a){n[a](d)}n[q[c+8>>2]](c,d);q[b+q[h+40>>2]>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}a=q[h+40>>2];if(a){n[q[j+8>>2]](j,a)}q[h+36>>2]=0;q[h+40>>2]=0;k=h}a=q[o+52>>2];if(a){n[a](k)}if(m){n[q[j+8>>2]](j,m)}if(h){n[q[j+8>>2]](j,h)}q[g>>2]=0;return l}q[h+92>>2]=c}q[g>>2]=h;return 0}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;d=q[b>>2];if((d|0)==-1){a=$_(a);q[b>>2]=a;return(a|0)!=-1}h=d>>>9|0;k=q[a+28>>2];j=q[a+24>>2];a:{if((j|0)<1){break a}e=j+ -1|0;while(1){c=e+g>>>1|0;i=h-q[(c<<3)+k>>2]|0;b:{if((i|0)<=-1){e=c+ -1|0;break b}if(!i){g=c;break a}g=c+1|0}if((g|0)<=(e|0)){continue}break}}c:{if(g>>>0>=j>>>0){break c}c=(g<<3)+k|0;if((h|0)!=q[c>>2]){break c}c=q[c+4>>2];i=271312;d:{if(t[a+36>>2]<=c>>>0){break d}i=q[a+40>>2]+(c<<6)|0}e:{d=d+1|0;c=d&511;if(!c){break e}e=c>>>6|0;h=i+(e<<3)|0;c=q[h>>2];h=q[h+4>>2];f=c;c=d&63;d=c&31;if(32<=(c&63)>>>0){c=-1<>>32-d|-1<>2];f=q[h>>2];if(!(c|f)){continue}break}}c=U$(f,c)|e<<6;q[b>>2]=c;q[b>>2]=c+(q[(t[a+24>>2]>g>>>0?(g<<3)+k|0:271312)>>2]<<9);return 1}q[b>>2]=-1;g=g+1|0;j=q[a+24>>2]}if(g>>>0>>0){h=q[a+36>>2];while(1){e=271312;f:{i=j>>>0>g>>>0?(g<<3)+k|0:271312;c=q[i+4>>2];if(h>>>0>c>>>0){e=q[a+40>>2]+(c<<6)|0}f=q[e>>2];c=q[e+4>>2];d=0;g:{if(f|c){break g}f=q[e+8>>2];c=q[e+12>>2];d=64;if(f|c){break g}f=q[e+16>>2];c=q[e+20>>2];d=128;if(f|c){break g}f=q[e+24>>2];c=q[e+28>>2];d=192;if(f|c){break g}f=q[e+32>>2];c=q[e+36>>2];d=256;if(f|c){break g}f=q[e+40>>2];c=q[e+44>>2];d=320;if(f|c){break g}f=q[e+48>>2];c=q[e+52>>2];d=384;if(f|c){break g}f=q[e+56>>2];c=q[e+60>>2];if(!(f|c)){break f}d=448}l=b,m=U$(f,c)|d|q[i>>2]<<9,q[l>>2]=m;return 1}g=g+1|0;if(g>>>0>>0){continue}break}}q[b>>2]=-1;return 0}function sk(a,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=Da-16|0;Da=e;q[a+284>>2]=b;q[a+276>>2]=971;a:{b:{while(1){q[e+4>>2]=0;g=q[a+144>>2];h=n[q[g>>2]](g,b,c,e+4|0)|0;g=q[e+4>>2];q[a+288>>2]=g;f=9;h=h+15|0;if(h>>>0>30){break a}c:{d:{switch(h-1|0){default:f=q[a+80>>2];if(f){c=q[a+144>>2];q[e+12>>2]=b;e:{if(!r[c+68|0]){while(1){q[e+8>>2]=q[a+44>>2];b=n[q[c+56>>2]](c,e+12|0,g,e+8|0,q[a+48>>2])|0;q[a+288>>2]=q[e+12>>2];f=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],f,q[e+8>>2]-f|0);q[a+284>>2]=q[e+12>>2];if(b>>>0>1){continue}break e}}n[f](q[a+4>>2],b,g-b|0)}f=35;if(q[a+476>>2]==2){break a}g=q[e+4>>2]}q[d>>2]=g;f=0;break a;case 29:h=q[a+80>>2];if(!h){break c}f=q[a+144>>2];q[e+12>>2]=b;if(!r[f+68|0]){while(1){q[e+8>>2]=q[a+44>>2];b=n[q[f+56>>2]](f,e+12|0,g,e+8|0,q[a+48>>2])|0;q[a+288>>2]=q[e+12>>2];h=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],h,q[e+8>>2]-h|0);q[a+284>>2]=q[e+12>>2];if(b>>>0>1){continue}break c}}n[h](q[a+4>>2],b,g-b|0);break c;case 25:if(uk(a,q[a+144>>2],b,g)){break c}f=1;break a;case 27:if(tk(a,q[a+144>>2],b,g)){break c}f=1;break a;case 13:f=5;if(!r[a+480|0]){break b}break a;case 12:f=6;if(r[a+480|0]){break a}break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 26:case 28:break a;case 10:break b;case 14:break d}}q[a+284>>2]=g;f=4;break a}b=q[e+4>>2];q[a+284>>2]=b;g=q[a+476>>2]+ -2|0;if(g>>>0>1){continue}break}f=35;if(g-1){break a}}q[d>>2]=b;f=0}Da=e+16|0;return f|0}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;g=Da-80|0;Da=g;i=q[a+532>>2];a:{if(i){f=q[a+100>>2];h=q[i+4>>2];q[g+24>>2]=h;l=q[i>>2];q[g+28>>2]=l;if(h){a=0;while(1){c=w(a,12);e=c+(g+24|0)|0;q[e+8>>2]=q[((a<<2)+i|0)+8>>2];c=c+i|0;d=q[c+92>>2];q[e+12>>2]=q[d>>2];q[e+16>>2]=q[(d+(r[c+88|0]<<2)|0)+ -4>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}q[g+20>>2]=0;d=h<<1;c=d+3&-4;e=gb(f,(c+w(h,24)|0)+20|0,g+20|0);a=q[g+20>>2];if(a){break a}q[e+8>>2]=0;q[e+4>>2]=l;q[e>>2]=h;a=e+20|0;b:{if(!h){q[e+16>>2]=0;q[e+12>>2]=a+c;l=e+12|0;break b}f=0;a=Na(a,0,d);q[e+16>>2]=0;j=a+c|0;q[e+12>>2]=j;l=e+12|0;while(1){a=j+w(f,24)|0;d=(g+24|0)+w(f,12)|0;c=q[d+8>>2];q[a>>2]=c;q[a+4>>2]=q[d+12>>2]<<16;d=q[d+16>>2];q[a+16>>2]=-1;q[a+20>>2]=-1;q[a+12>>2]=d<<16;c:{if(!c){break c}if(!Ta(c,7176)){q[a+16>>2]=2003265652;break c}if(!Ta(c,7183)){q[a+16>>2]=2003072104;break c}if(Ta(c,7189)){break c}q[a+16>>2]=1869640570}f=f+1|0;if((h|0)!=(f|0)){continue}break}}oj(q[i+140>>2],g,q[i+4>>2]);if(h){f=0;while(1){c=w(f,12)+i|0;d=q[c+96>>2];j=q[(f<<2)+g>>2];d:{if(q[d>>2]<(j|0)){a=1;k=r[c+88|0];if(k>>>0>1){while(1){m=a<<2;n=q[d+m>>2];if((n|0)>=(j|0)){c=q[c+92>>2];k=m+ -4|0;a=q[c+k>>2];c=q[c+m>>2];d=q[d+k>>2];a=w(Za(j-d|0,n-d|0),c-a|0)+(a<<16)|0;break d}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=q[(q[c+92>>2]+(k<<2)|0)+ -4>>2]<<16;break d}a=q[q[c+92>>2]>>2]<<16}q[(q[l>>2]+w(f,24)|0)+8>>2]=a;f=f+1|0;if((h|0)!=(f|0)){continue}break}}q[b>>2]=e;a=q[g+20>>2];break a}a=6;q[g+20>>2]=6}Da=g+80|0;return a|0}function Ur(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,p=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0;a:{b:{l=q[a+16>>2];c:{if(!l){break c}z=q[b+16>>2];if((z|0)<1){break c}B=q[b+4>>2];x=-1;while(1){d:{if((l|0)>=1){t=q[(y<<2)+B>>2];p=0;u=0;while(1){e:{l=0;f:{g:{h:{s=w(u,52);v=q[a+24>>2];b=s+v|0;if(q[b+12>>2]<=0){break h}k=b;while(1){if(fb(q[q[b+4>>2]+(l<<2)>>2],t)){l=l+1|0;if((l|0)>2]){continue}break h}break}k=s+v|0;r=q[k+24>>2]-c|0;l=r>>31;A=q[k+20>>2]-d|0;m=A>>31;k=q[k+28>>2];l=((l^l+r)+(m^m+A)|0)+((k|0)<100?100-k|0:k+ -100|0)|0;break g}i:{j:{m=s+v|0;if(q[m+16>>2]<1){break j}l=0;while(1){if(fb(q[q[m+8>>2]+(l<<2)>>2],t)){l=l+1|0;if((l|0)>2]){continue}break j}break}k=1;l=0;r=q[m+40>>2];if(!r){break i}if(fb(r,t)){break i}break g}k=q[m+40>>2];if(!k){break f}if(fb(k,t)){break f}l=1;k=0}r=q[m+44>>2];if(!r){break b}r=q[r+8>>2];if(!r){break b}k=n[r](q[m+48>>2])|0?l:k;l=0;if((k|0)!=1){break f}}o[j|0]=1;k:{if(l>>>0>=x>>>0){k=x;b=p;break k}m=s+v|0;k=q[m+44>>2];if(!k){break a}s=q[k+12>>2];if(!s){break a}k=l;if(!n[s](q[m+48>>2],i)){break f}}x=k;p=b;if(!l){break e}}u=u+1|0;if((u|0)>2]){continue}}break}if(p){break d}}y=y+1|0;if((z|0)==(y|0)){return 0}else{l=q[a+16>>2];continue}}break}a=q[p+44>>2];q[f>>2]=q[p+40>>2];q[g>>2]=q[p>>2];b=q[a+36>>2];l:{if(b){b=n[b](q[p+48>>2])|0;break l}b=q[p+36>>2]}q[e>>2]=b;k=q[p+32>>2];if(k){break c}q[h>>2]=q[a+4>>2];q[h+4>>2]=q[p+48>>2];k=q[p+40>>2];if(k){break c}k=q[q[p+4>>2]>>2]}return k}I(354482,354527,418,354544);F()}I(354561,354527,513,354601);F()}function Gs(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Da-16|0;Da=i;q[i+12>>2]=0;g=q[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(q[a+20>>2]){break d}q[a+16>>2]=12;q[a+20>>2]=a+820;break d}j=q[a+16>>2];if((g|0)<(j|0)){e=q[a+20>>2];h=e+w(g,44)|0;break c}if((j|0)>=48806446){g=64;q[i+12>>2]=64;break a}h=((j>>2)+j|0)+4|0;k=(j|0)<-16?48806446:(h|0)>48806446?48806446:h;l=q[a+20>>2];e:{if((l|0)==(a+820|0)){h=0;e=Oa(e,44,0,k,0,i+12|0);q[a+20>>2]=e;g=q[i+12>>2];if(g){break a}Qa(e,l,528);break e}m=a,n=Oa(e,44,j,k,l,i+12|0),q[m+20>>2]=n;h=0;g=q[i+12>>2];if(g){break a}}q[a+16>>2]=k;g=q[a+12>>2]}e=q[a+20>>2];h=e+w(g,44)|0;if((g|0)<1){break b}}if(!d){g=h;while(1){h=g+ -44|0;d=p[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|q[a+24>>2]!=(c|0))){h=g;break b}d=q[h+4>>2];q[g>>2]=q[h>>2];q[g+4>>2]=d;q[g+40>>2]=q[h+40>>2];d=q[h+36>>2];q[g+32>>2]=q[h+32>>2];q[g+36>>2]=d;d=q[h+28>>2];q[g+24>>2]=q[h+24>>2];q[g+28>>2]=d;d=q[h+20>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=d;d=q[h+12>>2];q[g+8>>2]=q[h+8>>2];q[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g+ -44|0;d=p[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|q[a+24>>2]!=(c|0))){h=g;break b}d=q[h+4>>2];q[g>>2]=q[h>>2];q[g+4>>2]=d;q[g+40>>2]=q[h+40>>2];d=q[h+36>>2];q[g+32>>2]=q[h+32>>2];q[g+36>>2]=d;d=q[h+28>>2];q[g+24>>2]=q[h+24>>2];q[g+28>>2]=d;d=q[h+20>>2];q[g+16>>2]=q[h+16>>2];q[g+20>>2]=d;d=q[h+12>>2];q[g+8>>2]=q[h+8>>2];q[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}q[a+12>>2]=q[a+12>>2]+1;g=0}q[f>>2]=h;Da=i+16|0;return g}function vs(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,p=0,s=0,u=0;i=Da-16|0;Da=i;j=q[a+12>>2];if(j){q[(q[a+20>>2]+(j<<4)|0)+ -4>>2]=b}f=q[a+24>>2];a:{if((f|0)<2){break a}j=f;while(1){n=j;m=q[a+32>>2];j=j+ -1|0;b=m+(j<<4)|0;p=q[b>>2];e=q[b+8>>2];k=n+ -2|0;while(1){b:{d=(k<<4)+m|0;b=q[d+8>>2];c:{d=q[d>>2];g=p>>>0>>0?p:d;d:{e:{if(g>>>0<8){h=e;break e}d=(g+ -8>>>3|0)+1|0;l=d+b|0;h=d+e|0;d=e;while(1){if(r[b|0]&r[d|0]){break d}b=b+1|0;d=d+1|0;g=g+ -8|0;if(g>>>0>7){continue}break}b=l}if(!g|!(r[b|0]&r[h|0]&-256>>g)){break c}}b=k>>>0>j>>>0;e=b?j:k;l=b?k:j;if(e>>>0>=l>>>0|l>>>0>=f>>>0){break b}f=(l<<4)+m|0;d=q[f>>2];f:{if(!d){break f}e=(e<<4)+m|0;b=q[e>>2];g:{if(d>>>0<=b>>>0){g=d+7>>>3|0;break g}h=q[e+4>>2];q[i>>2]=0;g=d+7>>>3|0;h=h+7>>>3|0;if(g>>>0>h>>>0){k=g+7&1073741816;s=e,u=Oa(c,1,h,k,q[e+8>>2],i),q[s+8>>2]=u;h=q[i>>2];if(h){break a}q[e+4>>2]=k<<3}while(1){if(t[e>>2]>b>>>0){h=q[e+8>>2]+(b>>>3|0)|0;o[h|0]=r[h|0]&-129>>(b&7)}b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!g){break f}d=q[f+8>>2];b=q[e+8>>2];while(1){o[b|0]=r[d|0]|r[b|0];d=d+1|0;b=b+1|0;g=g+ -1|0;if(g){continue}break}}q[f>>2]=0;q[f+12>>2]=0;e=a;b=q[e+24>>2];d=b+(l^-1)|0;if((d|0)>=1){b=q[f+12>>2];q[i+8>>2]=q[f+8>>2];q[i+12>>2]=b;b=q[f+4>>2];q[i>>2]=q[f>>2];q[i+4>>2]=b;b=d<<4;b=sb(f,f+16|0,b)+b|0;d=q[i+12>>2];q[b+8>>2]=q[i+8>>2];q[b+12>>2]=d;d=q[i+4>>2];q[b>>2]=q[i>>2];q[b+4>>2]=d;b=q[a+24>>2]}f=b+ -1|0;q[e+24>>2]=f;break b}b=(k|0)>0;k=k+ -1|0;if(b){continue}}break}if((n|0)>2){continue}break}h=0}Da=i+16|0;return h}function Kx(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;e=Da+ -64|0;Da=e;q[b+60>>2]=0;a:{c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i){l=i+ -1|0;a=a+8|0;while(1){c=q[b+12>>2];d=q[c+48>>2];g=o[a+4|0];b:{if((d&-2)==4^(g|0)>-1){break b}f=q[b+4>>2];q[e+48>>2]=h;q[e+40>>2]=114;q[e+44>>2]=120;q[e+32>>2]=107;q[e+36>>2]=101;if(!jd(c,f,228544,e+32|0)){break b}g=(g&16)>>>4^(d&-3)==5;c:{if(j){j=1;break c}j=0;if(!(r[a+4|0]&64)){break c}j=1;c=q[b+12>>2];d=q[c+76>>2];if(!d){break c}f=q[c+96>>2];c=0;while(1){h=f+w(c,20)|0;o[h+18|0]=2;p[h+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((d|0)!=(c|0)){continue}break}}if(g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];f=c+d|0;q[b+24>>2]=f;if((c|0)<=-1){break a}c=k>>>0>>0?a:0;d:{if(!c){break d}if(!(f>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f=f-c|0;q[b+24>>2]=c+(f>>>0>d>>>0?d:f)}c=Jx(a,b);d=q[b+44>>2];f=q[d+12>>2];q[b+20>>2]=f;d=q[d+16>>2];q[b+24>>2]=d+f;if((d|0)<=-1){break a}if(g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[e+16>>2]=q[b+60>>2];q[e+8>>2]=114;q[e+12>>2]=120;q[e>>2]=107;q[e+4>>2]=101;jd(d,c,228571,e)}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=q[b+60>>2]+1|0;q[b+60>>2]=h;a=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a|0;k=k+1|0;if((k|0)!=(i|0)){continue}break}}Da=e- -64|0;return}I(228416,228441,195,228458);F()}function iQ(a,b,c){a=a|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;q[a+64>>2]=0;q[a+1140>>2]=b;q[a+1344>>2]=a+1140;i=a+112|0;q[a+1136>>2]=i;g=b+c|0;q[a+1148>>2]=g;q[a+1144>>2]=b;a:{if((c|0)<1){break a}c=i;while(1){d=b+1|0;j=a;b:{c:{e=r[b|0];if(e>>>0>31){break c}d:{e:{if((e|0)!=12){if((e|0)==13){b=d;d=2;break e}if(!(1<>>0>=g>>>0){break a}e=r[b+1|0]+ -7|0;if(e>>>0>5){break a}b=b+2|0;f=20;d=4;switch(e-1|0){case 0:case 1:case 2:case 3:break a;case 4:break d;default:break e}}f=d;if(h){break a}}d=q[(f<<2)+291744>>2];if(c-i>>2<(d|0)){return 161}c=c-(d<<2)|0;if((f|0)!=20){b=f+ -2|0;if(b>>>0>2){break a}f:{switch(b-1|0){default:q[a+64>>2]=1;q[a+32>>2]=q[c>>2]+q[a+32>>2];b=q[c+4>>2];q[a+44>>2]=0;q[a+40>>2]=b;return 0;case 0:break a;case 1:break f}}q[a+64>>2]=1;q[a+32>>2]=q[c>>2]+q[a+32>>2];q[a+36>>2]=q[c+4>>2]+q[a+36>>2];q[a+40>>2]=q[c+8>>2];q[a+44>>2]=q[c+12>>2];return 0}k=c,l=Za(q[c>>2],q[c+4>>2]),q[k>>2]=l;h=0;c=c+4|0;break b}g:{h:{if((e|0)==255){d=b+5|0;if(d>>>0>g>>>0){break a}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+32e3>>>0<64001){break h}f=h;h=1;if(!f){break g}break a}if(e>>>0<32){break a}i:{if(e>>>0<=246){b=e+ -139|0;break i}f=b+2|0;if(f>>>0>g>>>0){break a}b=e<<8;if(e>>>0<=250){b=(r[d|0]|b+ -63232)+108|0}else{b=-108-(r[d|0]|b+ -64256)|0}d=f}b=h?b:b<<16;break g}b=h?b:b<<16}if((c-i|0)>1020){break a}q[c>>2]=b;b=d;c=c+4|0}q[j+1136>>2]=c;if(b>>>0>>0){continue}break}}return 160}function II(){var a=0,b=0,c=0;b=Sa(496);if(!b){return 0}q[b+20>>2]=427;q[b+16>>2]=958;q[b+12>>2]=959;q[b+376>>2]=16;q[b+32>>2]=0;q[b+8>>2]=0;a=n[959](256)|0;q[b+388>>2]=a;a:{if(!a){break a}a=n[q[b+12>>2]](1024)|0;q[b+44>>2]=a;if(!a){n[q[b+20>>2]](q[b+388>>2]);break a}c=b+12|0;q[b+48>>2]=a+1024;a=n[q[b+12>>2]](188)|0;if(a){q[a+80>>2]=0;q[a+84>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+100>>2]=c;q[a+124>>2]=c;q[a+8>>2]=0;q[a+12>>2]=0;o[a+4|0]=0;q[a+28>>2]=0;q[a+32>>2]=0;o[a+24|0]=0;q[a+16>>2]=c;q[a>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;o[a+44|0]=0;q[a+36>>2]=c;q[a+20>>2]=0;q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;o[a+64|0]=0;q[a+56>>2]=c;q[a+40>>2]=0;q[a+60>>2]=0;q[a+76>>2]=c;q[a+140>>2]=0;q[a+144>>2]=0;o[a+136|0]=0;q[a+128>>2]=1;q[a+132>>2]=0;q[a+148>>2]=c;q[a+152>>2]=0;q[a+156>>2]=0;o[a+160|0]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+184>>2]=0;q[b+352>>2]=a;q[b+364>>2]=0;q[b+372>>2]=0;q[b+300>>2]=0;q[b+460>>2]=0;q[b+464>>2]=0;o[b+468|0]=33;q[b+244>>2]=0;q[b+124>>2]=0;p[b+232>>1]=0;q[b+412>>2]=0;q[b+416>>2]=0;q[b+228>>2]=0;q[b+392>>2]=0;q[b+396>>2]=0;q[b+432>>2]=c;q[b+436>>2]=0;q[b+440>>2]=0;q[b+420>>2]=0;q[b+424>>2]=0;q[b+428>>2]=0;o[b+400|0]=0;q[b+452>>2]=0;q[b+444>>2]=0;q[b+448>>2]=0;q[b+456>>2]=c;HI(b);if(!q[b+228>>2]){gq(b);return 0}q[b+224>>2]=491792;return b}q[b+352>>2]=0;n[q[b+20>>2]](q[b+44>>2]);n[q[b+20>>2]](q[b+388>>2]);n[q[b+20>>2]](b);return 0}n[q[b+20>>2]](b);return 0}function Iq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=xe(b);b:{c:{if((d|0)<=-1){d=d^-1;break c}f=r[d+485054|0];c=f>>>5|0;if(c>>>0>=t[a+4>>2]){break c}e=1;if(q[((c<<2)+a|0)+8>>2]>>>(f&31)&1){break b}}d:{if((d|0)>=1){c=d;while(1){h=c;c=c+ -1|0;g=(c<<5)+449308|0;if((Td(g,b)|0)!=2){e:{e=r[c+485054|0];i=e>>>5|0;if(i>>>0>=t[a+4>>2]){break e}f=b;if(!(q[((i<<2)+a|0)+8>>2]>>>(e&31)&1)){break e}while(1){e=r[f|0];j=((e+ -65&255)>>>0<26?e+32|0:e)&255;e=r[g|0];i=((e+ -65&255)>>>0<26?e+32|0:e)&255;if((j|0)!=(i|0)){e=1;if(j?0:(i|0)==45){break b}if(i){break e}if((j|0)==45){break b}break e}e=1;g=g+1|0;f=f+1|0;if(i){continue}break}break b}if((h|0)>1){continue}}break}if((d|0)>245){break d}}while(1){g=(d<<5)+449308|0;if((Td(g,b)|0)==2){break d}f:{c=r[d+485054|0];h=c>>>5|0;if(h>>>0>=t[a+4>>2]){break f}f=b;if(!(q[((h<<2)+a|0)+8>>2]>>>(c&31)&1)){break f}while(1){c=r[g|0];c=((c+ -65&255)>>>0<26?c+32|0:c)&255;h=r[f|0];h=((h+ -65&255)>>>0<26?h+32|0:h)&255;if((c|0)!=(h|0)){e=1;if(h?0:(c|0)==45){break b}if(c){break f}if((h|0)==45){break b}break f}e=1;g=g+1|0;f=f+1|0;if(c){continue}break}break b}d=d+1|0;if((d|0)!=246){continue}break}}e=0;a=q[a>>2];if(!a){break b}a=Ic(a);if(!a){break b}g:while(1){h:{g=b;f=Qb(a);if(!f){break h}while(1){c=r[f|0];c=((c+ -65&255)>>>0<26?c+32|0:c)&255;d=r[g|0];d=((d+ -65&255)>>>0<26?d+32|0:d)&255;if((c|0)!=(d|0)){if(d?0:(c|0)==45){break a}if((d|0)!=45|c){continue g}break a}f=f+1|0;g=g+1|0;if(c){continue}break}break a}break}Zb(a)}return e}Zb(a);return 1}function OV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;NV(a,b);a:{b:{if(!q[a>>2]|q[a+144>>2]!=-1){break b}b=q[a+212>>2];if(b){j=q[67829];k=q[67828];while(1){c:{d:{c=q[a+48>>2];e:{f:{if((c|0)!=271312){i=ku(c,h,b);break f}b=q[a+168>>2];if(b>>>0>2){i=0;break e}g:{switch(b-1|0){case 1:i=h>>>0<=86?s[(h<<1)+242416>>1]:0;break f;default:i=h>>>0<229?h:0;break e;case 0:break g}}i=h>>>0<=165?s[(h<<1)+242080>>1]:0}if(i>>>0>390){break d}}c=i<<2;b=q[c+243040>>2];e=q[c+243044>>2]+(b^-1)|0;c=b+244608|0;break c}e=q[a+60>>2];b=r[e|0]<<8|r[e+1|0];f=i+ -391|0;if(b>>>0>f>>>0){d=e+2|0;c=r[e+2|0];l=w(c,b+1|0);h:{if(!c){g=0;break h}b=(w(c,f)+e|0)+3|0;g=0;while(1){g=r[b|0]|g<<8;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=(d+l|0)+g|0;e=rg(e,f);break c}e=j;c=k;if(!c){break a}}i:{j:{k:{f=q[a+216>>2];if((f|0)>=0){b=f;g=q[a+220>>2];d=g+1|0;d=(d|0)>0?d:0;if(b>>>0>=d>>>0){break j}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>268435454)){f=db(q[a+224>>2],b<<4);if(f){break k}}q[a+216>>2]=-1}b=q[67831];q[160746]=q[67830];q[160747]=b;b=q[67829];q[160744]=q[67828];q[160745]=b;b=642976;break i}q[a+216>>2]=b;q[a+224>>2]=f;g=q[a+220>>2]}if(d>>>0>g>>>0){Na(q[a+224>>2]+(g<<4)|0,0,d-g<<4)}q[a+220>>2]=d;b=(q[a+224>>2]+(d<<4)|0)+ -16|0}p[b+12>>1]=i;q[b+8>>2]=0;q[b+4>>2]=e;q[b>>2]=c;h=h+1|0;b=q[a+212>>2];if(h>>>0>>0){continue}break}}b=q[a+220>>2];if(!b){break b}ju(q[a+224>>2],b,16)}return}La(q[a+224>>2]);q[a+224>>2]=0;q[a+216>>2]=0;q[a+220>>2]=0;nc(a)}function zC(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,r=0,s=0,t=0;a:{g=q[a+8>>2];if(g){p=q[g+8>>2];if(p){break a}}q[160728]=0;q[160729]=-1074790400;q[160730]=0;q[160731]=-1074790400;return 642912}d=(p|0)>0;b=b*1e3;b:{if(y(b)<0x8000000000000000){l=~~b>>>0;m=y(b)>=1?b>0?~~A(C(b/4294967296),4294967295)>>>0:~~D((b- +(~~b>>>0>>>0))/4294967296)>>>0:0;break b}m=-2147483648}c:{d:{if(!d){q[160728]=0;q[160729]=-1074790400;q[160732]=0;h=-1;e=-1;break d}k=q[g+20>>2];h=-1;e=-1;o=-1;n=-1;g=-1;i=-1;while(1){c=q[k>>2];f=q[k+4>>2];d=f;e:{if((d|0)<(m|0)?1:(d|0)<=(m|0)?c>>>0>l>>>0?0:1:0){d=f+q[k+12>>2]|0;f=c+q[k+8>>2]|0;if(f>>>0>>0){d=d+1|0}j=f;if((d|0)<(m|0)?1:(d|0)<=(m|0)?f>>>0>l>>>0?0:1:0){break e}f=(d|0)<(i|0)?1:(d|0)<=(i|0)?j>>>0>=g>>>0?0:1:0;c=(g|0)==-1&(i|0)==-1;g=c?j:f?j:g;i=c?d:f?d:i;c=(d|0)>(n|0)?1:(d|0)>=(n|0)?j>>>0<=o>>>0?0:1:0;o=c?j:o;n=c?d:n;if(r){break e}c=q[a+424>>2];if(!c){r=0;break e}r=q[c+(s<<2)>>2];break e}j=c;d=(f|0)<(e|0)?1:(f|0)<=(e|0)?c>>>0>=h>>>0?0:1:0;t=d?c:h;c=(h|0)==-1&(e|0)==-1;h=c?j:t;e=c?f:d?f:e}k=k+56|0;s=s+1|0;if((p|0)!=(s|0)){continue}break}q[160732]=r;c=-1;a=-1;if((g|0)==-1&(i|0)==-1){b=-1}else{c=g;a=i;l=(i|0)<(e|0)?1:(i|0)<=(e|0)?c>>>0>=h>>>0?0:1:0;b=(+((l?c:h)>>>0)+4294967296*+((l?i:e)|0))/1e3}v[80364]=b;if((c|0)!=(o|0)|(a|0)!=(n|0)){break c}if((h|0)==-1&(e|0)==-1){break d}if((e|0)<(a|0)?1:(e|0)<=(a|0)?h>>>0>c>>>0?0:1:0){break c}}v[80365]=(+(h>>>0)+4294967296*+(e|0))/1e3;return 642912}v[80365]=b;return 642912}function nu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=q[c>>2];d=q[a>>2];a:{if(e>>>0>d>>>0){break a}f=q[c+4>>2];if(f+e>>>0<=d>>>0){break a}e=d+1|0;q[a>>2]=e;h=r[d|0];if(h&128){g=q[c>>2];if(g>>>0>e>>>0|f+g>>>0<=e>>>0){break a}q[a>>2]=d+2;h=r[d+1|0]|h<<8&32512}d=q[b>>2];b:{if((d|0)<0){break b}if(d>>>0>>0){f=d;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=h>>>0){continue}break}c:{if(!(f>>>0>>0|f>>>0>1073741822)){d=db(q[b+8>>2],f<<2);if(d){break c}}q[b>>2]=-1;break b}q[b>>2]=f;q[b+8>>2]=d}d=q[b+4>>2];if(h>>>0>d>>>0){Na(q[b+8>>2]+(d<<2)|0,0,h-d<<2)}q[b+4>>2]=h}l=q[67828];f=0;while(1){i=f&65535;if(h>>>0<=i>>>0){return 1}e=q[c>>2];d=q[a>>2];if(e>>>0>d>>>0|e+q[c+4>>2]>>>0<=d>>>0){break a}g=d+1|0;q[a>>2]=g;d=o[d|0];k=d&127;d:{if((d|0)<0){d=0;while(1){e=q[c>>2];if(e>>>0>g>>>0){break a}e=e+q[c+4>>2]|0;if(g>>>0>e>>>0|e-g>>>0<2){break a}j=(r[g+1|0]|r[g|0]<<8)+j|0;e:{if(t[b+4>>2]<=i>>>0){q[160744]=l;g=q[a>>2];e=642976;break e}e=q[b+8>>2]+(i<<2)|0}q[e>>2]=j;g=g+2|0;q[a>>2]=g;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}d=e;i=f&65535;if(h>>>0>i>>>0){continue}break}break d}d=0;e=q[c>>2];f:{if(e>>>0>g>>>0){break f}while(1){if(q[c+4>>2]+e>>>0<=g>>>0){break f}q[a>>2]=g+1;j=r[g|0]+j|0;g:{if(t[b+4>>2]<=i>>>0){q[160744]=l;e=642976;break g}e=q[b+8>>2]+(i<<2)|0}q[e>>2]=j;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}i=f&65535;if(h>>>0<=i>>>0){break d}d=e;e=q[c>>2];g=q[a>>2];if(e>>>0<=g>>>0){continue}break}}break a}if((e&65535)>>>0>k>>>0){continue}break}}return 0}function cv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{g=r[a+1|0]|r[a|0]<<8;if(g>>>0<=1){if(g-1){break d}g=r[a+3|0]|r[a+2|0]<<8;kf(b,g,0,0,0);a=q[b+96>>2];b=q[a+92>>2];e:{if((b|0)==q[a+88>>2]){d=q[a+80>>2];f=d;if(q[a+72>>2]==(d|0)){break e}}if(!Va(a,1,1)){break c}b=q[a+88>>2]+w(q[a+72>>2],20)|0;f=q[b+4>>2];c=q[a+92>>2]+w(q[a+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=f;q[c+16>>2]=q[b+16>>2];d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[a+72>>2];f=q[a+80>>2];b=q[a+92>>2]}q[w(f,20)+b>>2]=g;q[a+80>>2]=f+1;q[a+72>>2]=d+1;return 1}c=q[b+96>>2];d=q[c+72>>2];e=d;if(!g){break a}c=q[c+88>>2];j=s[(c+w(d,20)|0)+12>>1]>>>1&2;while(1){o[(w(d,20)+c|0)+14|0]=f&15;c=(f<<1)+a|0;i=r[c+2|0]<<8|r[c+3|0];kf(b,i,j,0,1);d=q[b+96>>2];f:{if(!Va(d,0,1)){q[160748]=q[67832];c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;break f}c=q[d+72>>2];e=q[d+76>>2];if(!(q[d+80>>2]|(c|0)!=(e|0))){q[160748]=q[67832];c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;break f}g:{if(c>>>0>>0){e=q[d+80>>2];h=q[d+92>>2];c=q[d+88>>2]+w(c,20)|0;break g}h=q[d+92>>2];e=q[d+80>>2];c=(h+w(e,20)|0)+ -20|0}k=q[c+4>>2];e=w(e,20)+h|0;q[e>>2]=q[c>>2];q[e+4>>2]=k;q[e+16>>2]=q[c+16>>2];h=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=h;c=q[d+80>>2];q[q[d+92>>2]+w(c,20)>>2]=i;q[d+80>>2]=c+1}c=q[b+96>>2];f=f+1|0;if((g|0)==(f|0)){break b}d=q[c+72>>2];c=q[c+88>>2];continue}}eS(q[b+96>>2])}return 1}e=q[c+72>>2]}q[c+72>>2]=e+1;return 1}function wy(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,p=0,u=0;f=3;a:{if((d|0)<0){break a}h=q[a+12>>2];j=s[h>>1];g=q[a+8>>2];if((e|0)<0|j+e>>>0>t[g>>2]){break a}h=s[h+2>>1];if(h+d>>>0>t[g+4>>2]){break a}i=w(h,r[a+18|0]);if((w(i,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!i){break a}m=q[g+8>>2];h=q[g+12>>2]+(w(m,e)+(d>>>3|0)|0)|0;l=d&7;if(l){a=8-l|0;k=i>>>0>>0?i:a;p=(255<>>0>=c>>>0){break b}e=r[b|0]|e;b=b+1|0;a=g+n|0;break b}e=(e&65280)>>>8|0;a=g-k|0}g=a;d=b;o[h|0]=r[h|0]|(e&65535)>>>g&p;e=e<<8;f=h+1|0;a=u;if((a|0)>=8){while(1){b=r[d|0];o[f|0]=r[f|0]|((b|e)&65535)>>>g;f=f+1|0;d=d+1|0;e=b<<8;b=(a|0)>15;a=a+ -8|0;if(b){continue}break}}c:{if((a|0)>=1){if((g|0)<(a|0)){if(d>>>0>=c>>>0){b=d}else{e=r[d|0]|e;b=d+1|0}o[f|0]=r[f|0]|(e&65535)>>>g&65280>>>a;e=e<<8;g=(g-a|0)+8|0;break c}o[f|0]=r[f|0]|65280>>>a&(e&65535)>>>g;g=g-a|0}b=d}h=h+m|0;f=i+ -1|0;if((i|0)>1){continue}break}f=0;break a}d=0;l=i>>>0>7;g=0;while(1){f=h;a=i;if(l){while(1){d=r[b|0]|d;o[f|0]=r[f|0]|(d&65535)>>>g;f=f+1|0;b=b+1|0;d=d<<8;e=(a|0)>15;a=a+ -8|0;if(e){continue}break}}e=j;d:{if((a|0)<1){break d}if((g|0)>=(a|0)){o[f|0]=r[f|0]|65280>>>a&(d&65535)>>>g;g=g-a|0;break d}if(b>>>0>>0){d=r[b|0]|d;b=b+1|0}o[f|0]=r[f|0]|(d&65535)>>>g&65280>>>a;d=d<<8;g=(g-a|0)+8|0}h=h+m|0;j=e+ -1|0;f=0;if((e|0)>1){continue}break}}return f|0}function $T(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!Nb(b,a,4)){return 0}a:{b:{h=q[c+4>>2];if(!h){o[a+2|0]=0;o[a+3|0]=0;break b}i=q[c>>2];j=i+(h<<1)|0;f=-2;e=i;c=h;while(1){c:{d:{if((e|0)==(j|0)){if(c){break d}d=a+2|0;if(!Nb(b,d,2)){return 0}c=(g<<8&16711680|g<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(g&65280)>>>8|0;if(!(!r[b+20|0]|g>>>0<65536)){o[b+20|0]=0;g=r[a+3|0];c=r[a+2|0]}f=0;e=0;if(!Nb(b,d,w(g&255|(c&255)<<8,6)+2|0)){break a}c=-1;e=-2;while(1){d=e+1|0;e:{f:{if((i|0)==(j|0)){if(!h){break b}break f}if(h){break f}b=271312;break e}b=i}b=r[b|0]|r[b+1|0]<<8;e=(b<<24|b<<8&16711680)>>>16|0;if((d|0)!=(e|0)){c=c+1|0;g:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break g}d=(w(c,6)+a|0)+4|0}o[d|0]=b;o[d+1|0]=b>>>8;h:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break h}d=(w(c,6)+a|0)+4|0}g=(f<<8&16711680|f<<24)>>>16|0;o[d+4|0]=g;o[d+5|0]=g>>>8}i:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break i}d=(w(c,6)+a|0)+4|0}o[d+2|0]=b;o[d+3|0]=b>>>8;f=f+1|0;b=(h|0)!=0;h=h-b|0;i=(b<<1)+i|0;continue}}if(c){break d}d=271312;break c}d=e}k=f+1|0;f=r[d|0]|r[d+1|0]<<8;f=(f<<24|f<<8&16711680)>>>16|0;g=((k|0)!=(f|0))+g|0;d=(c|0)!=0;c=c-d|0;e=(d<<1)+e|0;continue}}e=1}return e}function TY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=a+4|0;if(g>>>0>h>>>0|f>>>0>>0|f-h>>>0<2){break a}c=e+ -2|0;q[b+12>>2]=c;if((e|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(d){c=a+6|0;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=e+ -3|0;q[b+12>>2]=c;if((e|0)<3){break a}j=r[a+5|0]|r[a+4|0]<<8}d=q[b+16>>2]+j|0;q[b+16>>2]=d;if((d|0)>16383){break a}b:{if(!(r[a+3|0]&16)){d=c;break b}d=((r[a+5|0]<<1|r[a+4|0]<<9)+a|0)+6|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<2){break a}d=c+ -1|0;q[b+12>>2]=d;if((c|0)>=1){break b}break a}q[i+12>>2]=r[a+1|0]|r[a|0]<<8;q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+6|0;c=r[a+5|0]|r[a+4|0]<<8;c:{if(!c){break c}if(f>>>0>>0|g>>>0>e>>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(!d){break c}c=0;while(1){if(!SY(((c<<1)+h|0)+2|0,b,a,i+12|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=1;if(q[b+24>>2]|(r[a+1|0]|r[a|0]<<8)!=9){break a}c=1;g=0;d=r[a+5|0]|r[a+4|0]<<8;b=d?e:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){g=r[b+3|0]|r[b+2|0]<<8}if(j>>>0<=1){break a}while(1){k=0;b=d>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){b=r[b+3|0]|r[b+2|0]<<8}else{b=0}if((b|0)!=(g|0)){break a}k=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}}Da=i+16|0;return k}function RZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=a+4|0;if(g>>>0>h>>>0|f>>>0>>0|f-h>>>0<2){break a}c=e+ -2|0;q[b+12>>2]=c;if((e|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(d){c=a+6|0;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=e+ -3|0;q[b+12>>2]=c;if((e|0)<3){break a}j=r[a+5|0]|r[a+4|0]<<8}d=q[b+16>>2]+j|0;q[b+16>>2]=d;if((d|0)>16383){break a}b:{if(!(r[a+3|0]&16)){d=c;break b}d=((r[a+5|0]<<1|r[a+4|0]<<9)+a|0)+6|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<2){break a}d=c+ -1|0;q[b+12>>2]=d;if((c|0)>=1){break b}break a}q[i+12>>2]=r[a+1|0]|r[a|0]<<8;q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+6|0;c=r[a+5|0]|r[a+4|0]<<8;c:{if(!c){break c}if(f>>>0>>0|g>>>0>e>>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(!d){break c}c=0;while(1){if(!QZ(((c<<1)+h|0)+2|0,b,a,i+12|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=1;if(q[b+24>>2]|(r[a+1|0]|r[a|0]<<8)!=7){break a}c=1;g=0;d=r[a+5|0]|r[a+4|0]<<8;b=d?e:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){g=r[b+3|0]|r[b+2|0]<<8}if(j>>>0<=1){break a}while(1){k=0;b=d>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){b=r[b+3|0]|r[b+2|0]<<8}else{b=0}if((b|0)!=(g|0)){break a}k=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}}Da=i+16|0;return k}function GO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(a){c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[a+32|0]=c;o[a+33|0]=c>>>8;o[a+34|0]=c>>>16;o[a+35|0]=c>>>24;c=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);d=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=d;o[a+25|0]=d>>>8;o[a+26|0]=d>>>16;o[a+27|0]=d>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}a:{a=q[b>>2];b:{if(!a){break b}d=q[a+ -8>>2];if(!d){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}e=b;b=c+ -1|0;q[e>>2]=b;if(b){break b}e=a+ -32|0;b=q[e>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-d}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(e)}return 1}I(355429,355403,453,355477);F()}function Al(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,p=0;k=Da-128|0;Da=k;q[k+124>>2]=c;m=q[a+28>>2];q[k+112>>2]=0;q[k+116>>2]=0;q[k+104>>2]=0;q[k+108>>2]=0;q[k+96>>2]=0;q[k+100>>2]=0;q[k+88>>2]=0;q[k+92>>2]=0;o[k+87|0]=0;a:{if(!c){break a}q[k+80>>2]=0;q[k+72>>2]=0;q[k+76>>2]=0;b:{c:{if(!m){break c}l=q[m+28>>2];if(!l){break c}n[l](q[m+40>>2],c,k+88|0);if(q[k+104>>2]){break b}}q[k+116>>2]=q[k+80>>2];q[k+104>>2]=1;q[k+96>>2]=0;q[k+100>>2]=0;q[k+88>>2]=0;c=q[k+76>>2];q[k+108>>2]=q[k+72>>2];q[k+112>>2]=c;q[k+92>>2]=k+124}l=q[k+116>>2];c=k- -64|0;q[c>>2]=q[k+112>>2];q[c+4>>2]=l;c=q[k+108>>2];q[k+56>>2]=q[k+104>>2];q[k+60>>2]=c;c=q[k+100>>2];q[k+48>>2]=q[k+96>>2];q[k+52>>2]=c;c=q[k+92>>2];q[k+40>>2]=q[k+88>>2];q[k+44>>2]=c;l=Ur(a,k+40|0,d,e,f,g,h,i,j,k+87|0);d:{if(l){break d}l=0;if(r[k+87|0]|!m){break d}p=q[m+24>>2];if(!p){break d}c=1;e:{if(q[k+104>>2]<1){break e}n[p](b,m,q[q[k+92>>2]>>2]);if(q[k+104>>2]<=1){break e}while(1){n[q[m+24>>2]](b,m,q[q[k+92>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=q[k+116>>2];q[k+32>>2]=q[k+112>>2];q[k+36>>2]=b;b=q[k+108>>2];q[k+24>>2]=q[k+104>>2];q[k+28>>2]=b;b=q[k+100>>2];q[k+16>>2]=q[k+96>>2];q[k+20>>2]=b;b=q[k+92>>2];q[k+8>>2]=q[k+88>>2];q[k+12>>2]=b;l=Ur(a,k+8|0,d,e,f,g,h,i,j,k+87|0)}b=q[k+92>>2];if((b|0)==(k+124|0)){break a}a=1;if(q[k+104>>2]>=1){La(q[b>>2]);if(q[k+104>>2]>1){while(1){La(q[q[k+92>>2]+(a<<2)>>2]);a=a+1|0;if((a|0)>2]){continue}break}}b=q[k+92>>2]}La(b)}Da=k+128|0;return l}function Vk(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,r=0;j=Da-16|0;Da=j;d=1;if(q[a+72>>2]==1869968492){if(c){l=q[c+4>>2];k=q[c>>2]}c=0;h=p[a+110>>1];a:{if(!h){break a}d=q[a+112>>2];c=q[d+4>>2];g=q[d>>2];if((h|0)<2){e=c;f=g;break a}h=(h<<3)+d|0;i=d+8|0;f=g;e=c;while(1){d=q[d+12>>2];e=(d|0)>(e|0)?d:e;c=(d|0)<(c|0)?d:c;d=q[i>>2];f=(d|0)>(f|0)?d:f;g=(d|0)<(g|0)?d:g;d=i;i=d+8|0;if(i>>>0>>0){continue}break}}d=l&63;m=d+(e&63)|0;q[j+12>>2]=m;i=k&63;h=i+(f&63)|0;q[j+8>>2]=h;n=d+(c&63)|0;q[j+4>>2]=n;i=i+(g&63)|0;q[j>>2]=i;d=e>>6;e=l>>6;r=d+e|0;d=f>>6;f=k>>6;l=d+f|0;k=e+(c>>6)|0;f=f+(g>>6)|0;d=2;b:{c:{c=b+ -2|0;if(c>>>0<=2){d=5;d:{switch(c-1|0){default:c=h+32|0;h=l+(c>>>6|0)|0;b=i+31|0;e=(b>>>6|0)+f|0;e:{if((h|0)==(e|0)){if((((c&63)+(b&63)|0)+ -31|0)<=31){h=e;e=e+ -1|0;break e}h=e+1|0}}f=m+32|0;g=(f>>>6|0)+r|0;c=n+31|0;b=k+(c>>>6|0)|0;f:{if((g|0)==(b|0)){if((((f&63)+(c&63)|0)+ -31|0)<=31){g=b;b=g+ -1|0;break f}g=b+1|0}}k=b;i=g-b|0;c=h-e|0;break c;case 1:d=6;break;case 0:break d}}MI(j,a,b)}g=(q[j+12>>2]+63>>6)+r|0;k=k+(q[j+4>>2]>>6)|0;i=g-k|0;h=l+(q[j+8>>2]+63>>6)|0;e=f+(q[j>>2]>>6)|0;c=h-e|0;b=d+ -1|0;if(b>>>0<=5){f=c;g:{switch(b-1|0){case 3:c=w(c,3);f=c+3&-4;d=5;break b;case 4:break g;case 0:case 1:case 2:break b;default:break c}}d=6;i=w(i,3)}f=c;break b}d=1;f=c+15>>4<<1}q[a+104>>2]=g;q[a+100>>2]=e;q[a+76>>2]=i;o[a+94|0]=d;p[a+92>>1]=256;q[a+80>>2]=c;q[a+84>>2]=f;d=(e|0)<-32768|(h|0)>32767|(k|0)<-32768|(g|0)>32767}Da=j+16|0;return d}function tF(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=q[a+12>>2];j=q[a+200>>2];c=q[a+196>>2];n=q[q[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=wq(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=q[i+88>>2]+(b<<5)|0;q[d+8>>2]=0;q[d+12>>2]=0;l=r[c+1|0];e=l|r[c|0]<<8;p[d+4>>1]=e;b=r[c+3|0]|r[c+2|0]<<8;q[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=r[c+4|0]|r[c+5|0]<<8;q[d+8>>2]=(b<<24|b<<8&16711680)>>16;b=r[c+6|0]|r[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=c+8|0;break c}q[d+8>>2]=o[c+4|0];f=o[c+5|0];b=c+6|0;break c}if(b){q[d+8>>2]=r[c+5|0]|r[c+4|0]<<8;f=r[c+7|0]|r[c+6|0]<<8;b=c+8|0;break c}q[d+8>>2]=r[c+4|0];f=r[c+5|0];b=c+6|0}q[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=r[b|0]|r[b+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;f=g;h=0;break d}if(e&64){c=r[b+2|0]|r[b+3|0]<<8;f=(c<<24|c<<8&16711680)>>16<<2;c=r[b|0]|r[b+1|0]<<8;g=(c<<24|c<<8&16711680)>>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=r[b+6|0]|r[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16<<2;c=r[b+4|0]|r[b+5|0]<<8;e=(c<<24|c<<8&16711680)>>16<<2;c=r[b+2|0]|r[b+3|0]<<8;h=(c<<24|c<<8&16711680)>>16<<2;c=r[b|0]|r[b+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;c=b+8|0}q[d+16>>2]=g;q[d+28>>2]=f;q[d+24>>2]=h;q[d+20>>2]=e;if(l&32){continue}break}q[i+84>>2]=k;b=q[q[a+24>>2]+8>>2];q[a+196>>2]=c;q[a+164>>2]=(c+b|0)-j;g=0}return g|0}function wr(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;f=Da+ -64|0;Da=f;h=q[c+8>>2];k=q[c+4>>2];q[f+32>>2]=k;q[f+36>>2]=h;j=k;i=q[b>>2];i=(i|0)>(j|0)?j:i;q[b>>2]=i;g=q[b+8>>2];j=(g|0)>(j|0)?g:j;q[b+8>>2]=j;k=h;h=q[b+4>>2];h=(h|0)>(k|0)?k:h;q[b+4>>2]=h;g=q[b+12>>2];g=(g|0)>(k|0)?g:k;q[b+12>>2]=g;o=q[c+12>>2];c=o;l=q[c+8>>2];c=q[c+4>>2];q[f+40>>2]=c;q[f+44>>2]=l;k=c;m=(j|0)>(c|0)?j:c;q[b+8>>2]=m;n=(i|0)>(c|0)?c:i;q[b>>2]=n;i=l;l=(g|0)>(i|0)?g:i;q[b+12>>2]=l;h=(h|0)>(i|0)?i:h;q[b+4>>2]=h;p=q[o+12>>2];c=p;g=q[c+8>>2];c=q[c+4>>2];q[f+48>>2]=c;q[f+52>>2]=g;j=c;m=(m|0)>(c|0)?m:c;q[b+8>>2]=m;n=(n|0)>(c|0)?c:n;q[b>>2]=n;l=(l|0)>(g|0)?l:g;q[b+12>>2]=l;o=(h|0)>(g|0)?g:h;q[b+4>>2]=o;c=q[p+12>>2];p=q[c+8>>2];c=q[c+4>>2];q[f+56>>2]=c;q[f+60>>2]=p;h=c;q[b+8>>2]=(m|0)>(c|0)?m:c;q[b>>2]=(n|0)>(c|0)?c:n;c=p;q[b+12>>2]=(l|0)>(c|0)?l:c;q[b+4>>2]=(o|0)>(c|0)?c:o;if(d){b=(g-i|0)/3|0;q[f+52>>2]=g-b;q[f+60>>2]=(((c-g|0)/3|0)-b>>1)+g;c=(j-k|0)/3|0;q[f+48>>2]=j-c;q[f+44>>2]=b+i;q[f+40>>2]=c+k;q[f+56>>2]=(((h-j|0)/3|0)-c>>1)+j;q[f+36>>2]=(b-((i-q[f+36>>2]|0)/3|0)>>1)+i;q[f+32>>2]=(c-((k-q[f+32>>2]|0)/3|0)>>1)+k}a:{if(!e){b=q[f+36>>2];q[f+24>>2]=q[f+32>>2];q[f+28>>2]=b;b=0;if(!qb(a,f+24|0,0)){break a}}b=f+32|8;c=q[b+4>>2];q[f+16>>2]=q[b>>2];q[f+20>>2]=c;b=0;if(!qb(a,f+16|0,0)){break a}b=q[f+52>>2];q[f+8>>2]=q[f+48>>2];q[f+12>>2]=b;b=0;if(!qb(a,f+8|0,0)){break a}b=q[f+60>>2];q[f>>2]=q[f+56>>2];q[f+4>>2]=b;b=qb(a,f,3)}Da=f- -64|0;return b}function qH(a){var b=0,c=0,d=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{h(+a);d=e(1)|0;k=e(0)|0;d:{e:{b=d;d=b&2147483647;if(d>>>0>=1078159482){h(+a);d=e(1)|0;d=d&2147483647;if((d|0)==2146435072&e(0)>>>0>0|d>>>0>2146435072){break a}if((b|0)<0?1:(b|0)<=0?k>>>0>=0?0:1:0){return-1}if(!(a>709.782712893384)){break e}return a*8.98846567431158e+307}if(d>>>0<1071001155){break c}if(d>>>0>1072734897){break e}if((b|0)>0?1:(b|0)>=0?k>>>0<0?0:1:0){b=1;c=1.9082149292705877e-10;j=a+ -.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;j=a+.6931471803691238;break d}h(.5);b=e(1)|0;d=e(0)|0;h(+a);k=e(1)|0;e(0)|0;f(0,d|0);f(1,b&2147483647|k&-2147483648);c=a*1.4426950408889634+ +g();f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}i=+(b|0);c=i*1.9082149292705877e-10;j=a+i*-.6931471803691238}a=j;a=a-c;c=j-a-c;break b}if(d>>>0<1016070144){break a}b=0}l=a*.5;i=a*l;j=i*(i*(i*(i*(i*-2.0109921818362437e-7+4008217827329362e-21)+ -793650757867488e-19)+.0015873015872548146)+ -.03333333333333313)+1;m=j;j=3-l*j;j=i*((m-j)/(6-a*j));if(!b){return a-(a*j-i)}c=a*(j-c)-c-i;g:{k=b+1|0;if(k>>>0>2){break g}h:{switch(k-1|0){default:return(a-c)*.5+ -.5;case 0:break g;case 1:break h}}if(!!(a<-.25)){return(c-(a+.5))*-2}a=a-c;return a+a+1}f(0,0);f(1,b+1023<<20);i=+g();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*8.98846567431158e+307:a*i)+ -1}k=1023-b<<20;d=0;i:{if((b|0)<=19){a=a-c;f(0,d|0);f(1,k|0);c=1- +g();break i}f(0,d|0);f(1,k|0);c=a-(c+ +g());a=1}a=(c+a)*i}return a}function Cc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return}a:{if(!b|q[b+16>>2]>131082){break a}e=q[a+16>>2];if(e){c=q[b+8>>2];b:{while(1){f=q[((d<<2)+a|0)+20>>2];g=q[f>>2];if(Ta(q[g+8>>2],c)){d=d+1|0;if(d>>>0>>0){continue}break b}break}if(q[b+12>>2]<=q[g+12>>2]){break a}To(a,f);e=q[a+16>>2]}if(e>>>0>31){break a}}e=0;f=q[a>>2];d=q[b+4>>2];c:{if((d|0)<=0){if(!d){break c}break a}e=n[q[f+4>>2]](f,d)|0;if(!e){return}Na(e,0,d)}q[e+8>>2]=f;q[e+4>>2]=a;q[e>>2]=b;d:{e:{if(r[b|0]&2){d=q[a>>2];c=n[q[d+4>>2]](d,12)|0;if(!c){break d}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;g=q[e>>2];q[e+12>>2]=g;h=q[g+36>>2];q[e+16>>2]=h;f:{if((h|0)!=1869968492){break f}h=q[q[g+56>>2]+4>>2];if(!h){break f}if(n[h](d,e+52|0)){break e}q[e+56>>2]=q[q[g+56>>2]+16>>2];q[e+60>>2]=q[g+40>>2]}q[c+8>>2]=e;d=q[a+152>>2];q[c>>2]=d;q[c+4>>2]=0;g:{if(d){q[d+4>>2]=c;d=q[a+148>>2];break g}q[a+148>>2]=c;d=c}q[a+152>>2]=c;h:{if(d){while(1){c=q[d+8>>2];if(q[c+16>>2]==1869968492){break h}d=q[d+4>>2];if(d){continue}break}}c=0}q[a+156>>2]=c}d=q[e>>2];c=q[d>>2];if(c&4){q[a+160>>2]=e}if(c&1){q[e+12>>2]=d}b=q[b+24>>2];if(b){if(n[b](e)){break d}}b=q[a+16>>2];q[a+16>>2]=b+1;q[((b<<2)+a|0)+20>>2]=e;return}n[q[d+8>>2]](d,c)}i:{if(!(r[q[e>>2]]&2)){break i}a=q[e+12>>2];if(!a|q[a+36>>2]!=1869968492){break i}b=q[e+52>>2];if(!b){break i}n[q[q[a+56>>2]+20>>2]](b)}n[q[f+8>>2]](f,e)}}function LM(a,b,c,d,e){a=a|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,q=0,r=0;f=Da+ -64|0;l=c+12|0;if(l){r=d<<4;m=w(c+15&-16,d);n=f+32|0;while(1){j=0;if(d){while(1){c=i-r|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[f>>1]=s[c>>1];p[f+2>>1]=s[c+2>>1];p[f+4>>1]=s[c+4>>1];p[f+6>>1]=s[c+6>>1];p[f+8>>1]=s[c+8>>1];p[f+10>>1]=s[c+10>>1];p[f+12>>1]=s[c+12>>1];p[f+14>>1]=s[c+14>>1];p[f+16>>1]=s[c+16>>1];p[f+18>>1]=s[c+18>>1];p[f+20>>1]=s[c+20>>1];p[f+22>>1]=s[c+22>>1];p[f+24>>1]=s[c+24>>1];p[f+26>>1]=s[c+26>>1];p[f+28>>1]=s[c+28>>1];p[f+30>>1]=s[c+30>>1];c=i>>>0>>0?(i<<1)+b|0:438160;k=s[c>>1];p[f+32>>1]=k;p[f+34>>1]=s[c+2>>1];p[f+36>>1]=s[c+4>>1];p[f+38>>1]=s[c+6>>1];p[f+40>>1]=s[c+8>>1];p[f+42>>1]=s[c+10>>1];p[f+44>>1]=s[c+12>>1];p[f+46>>1]=s[c+14>>1];p[f+48>>1]=s[c+16>>1];p[f+50>>1]=s[c+18>>1];p[f+52>>1]=s[c+20>>1];p[f+54>>1]=s[c+22>>1];p[f+56>>1]=s[c+24>>1];p[f+58>>1]=s[c+26>>1];p[f+60>>1]=s[c+28>>1];p[f+62>>1]=s[c+30>>1];h=0;while(1){o=h<<1;g=o+n|0;c=s[g+ -12>>1];p[a+o>>1]=c+((((w(p[e>>1],(s[g+ -10>>1]-c<<16>>16)+(s[g+ -14>>1]-c<<16>>16)|0)+w(p[e+2>>1],(s[g+ -8>>1]-c<<16>>16)+(s[g+ -16>>1]-c<<16>>16)|0)|0)+w(p[e+4>>1],(s[g+ -4>>1]-c<<16>>16)+(s[g+ -20>>1]-c<<16>>16)|0)|0)+w(p[e+6>>1],(k-c<<16>>16)+(s[g+ -24>>1]-c<<16>>16)|0)|0)+32768>>>16|0);h=h+1|0;if((h|0)!=16){k=s[(h<<1)+n>>1];continue}break}i=i+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue}break}}q=q+16|0;if(q>>>0>>0){continue}break}}}function NM(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0;f=Da+ -64|0;l=c+10|0;if(l){r=d<<4;m=w(c+15&-16,d);n=f+32|0;while(1){j=0;if(d){while(1){c=i-r|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[f>>1]=s[c>>1];p[f+2>>1]=s[c+2>>1];p[f+4>>1]=s[c+4>>1];p[f+6>>1]=s[c+6>>1];p[f+8>>1]=s[c+8>>1];p[f+10>>1]=s[c+10>>1];p[f+12>>1]=s[c+12>>1];p[f+14>>1]=s[c+14>>1];p[f+16>>1]=s[c+16>>1];p[f+18>>1]=s[c+18>>1];p[f+20>>1]=s[c+20>>1];p[f+22>>1]=s[c+22>>1];p[f+24>>1]=s[c+24>>1];p[f+26>>1]=s[c+26>>1];p[f+28>>1]=s[c+28>>1];p[f+30>>1]=s[c+30>>1];c=i>>>0>>0?(i<<1)+b|0:438160;k=s[c>>1];p[f+32>>1]=k;p[f+34>>1]=s[c+2>>1];p[f+36>>1]=s[c+4>>1];p[f+38>>1]=s[c+6>>1];p[f+40>>1]=s[c+8>>1];p[f+42>>1]=s[c+10>>1];p[f+44>>1]=s[c+12>>1];p[f+46>>1]=s[c+14>>1];p[f+48>>1]=s[c+16>>1];p[f+50>>1]=s[c+18>>1];p[f+52>>1]=s[c+20>>1];p[f+54>>1]=s[c+22>>1];p[f+56>>1]=s[c+24>>1];p[f+58>>1]=s[c+26>>1];p[f+60>>1]=s[c+28>>1];p[f+62>>1]=s[c+30>>1];h=0;while(1){o=h<<1;g=o+n|0;c=s[g+ -10>>1];p[a+o>>1]=c+((((w(p[e>>1],(s[g+ -8>>1]-c<<16>>16)+(s[g+ -12>>1]-c<<16>>16)|0)+w(p[e+2>>1],(s[g+ -6>>1]-c<<16>>16)+(s[g+ -14>>1]-c<<16>>16)|0)|0)+w(p[e+4>>1],(s[g+ -4>>1]-c<<16>>16)+(s[g+ -16>>1]-c<<16>>16)|0)|0)+w(p[e+6>>1],(k-c<<16>>16)+(s[g+ -20>>1]-c<<16>>16)|0)|0)+32768>>>16|0);h=h+1|0;if((h|0)!=16){k=s[(h<<1)+n>>1];continue}break}i=i+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue}break}}q=q+16|0;if(q>>>0>>0){continue}break}}}function PM(a,b,c,d,e){a=a|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,q=0,r=0;f=Da+ -64|0;l=c+8|0;if(l){r=d<<4;m=w(c+15&-16,d);n=f+32|0;while(1){j=0;if(d){while(1){c=i-r|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[f>>1]=s[c>>1];p[f+2>>1]=s[c+2>>1];p[f+4>>1]=s[c+4>>1];p[f+6>>1]=s[c+6>>1];p[f+8>>1]=s[c+8>>1];p[f+10>>1]=s[c+10>>1];p[f+12>>1]=s[c+12>>1];p[f+14>>1]=s[c+14>>1];p[f+16>>1]=s[c+16>>1];p[f+18>>1]=s[c+18>>1];p[f+20>>1]=s[c+20>>1];p[f+22>>1]=s[c+22>>1];p[f+24>>1]=s[c+24>>1];p[f+26>>1]=s[c+26>>1];p[f+28>>1]=s[c+28>>1];p[f+30>>1]=s[c+30>>1];c=i>>>0>>0?(i<<1)+b|0:438160;k=s[c>>1];p[f+32>>1]=k;p[f+34>>1]=s[c+2>>1];p[f+36>>1]=s[c+4>>1];p[f+38>>1]=s[c+6>>1];p[f+40>>1]=s[c+8>>1];p[f+42>>1]=s[c+10>>1];p[f+44>>1]=s[c+12>>1];p[f+46>>1]=s[c+14>>1];p[f+48>>1]=s[c+16>>1];p[f+50>>1]=s[c+18>>1];p[f+52>>1]=s[c+20>>1];p[f+54>>1]=s[c+22>>1];p[f+56>>1]=s[c+24>>1];p[f+58>>1]=s[c+26>>1];p[f+60>>1]=s[c+28>>1];p[f+62>>1]=s[c+30>>1];h=0;while(1){o=h<<1;g=o+n|0;c=s[g+ -8>>1];p[a+o>>1]=c+((((w(p[e>>1],(s[g+ -6>>1]-c<<16>>16)+(s[g+ -10>>1]-c<<16>>16)|0)+w(p[e+2>>1],(s[g+ -4>>1]-c<<16>>16)+(s[g+ -12>>1]-c<<16>>16)|0)|0)+w(p[e+4>>1],(s[g+ -2>>1]-c<<16>>16)+(s[g+ -14>>1]-c<<16>>16)|0)|0)+w(p[e+6>>1],(k-c<<16>>16)+(s[g+ -16>>1]-c<<16>>16)|0)|0)+32768>>>16|0);h=h+1|0;if((h|0)!=16){k=s[(h<<1)+n>>1];continue}break}i=i+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue}break}}q=q+16|0;if(q>>>0>>0){continue}break}}}function HN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=bj();if(c){d=1517976186;while(1){e=d;i=w(g,336)+b|0;d=n[q[f+32>>2]](f,q[i>>2],q[f- -64>>2])|0;q[i+20>>2]=d;a:{if(!((d|0)!=1516858984?(d|0)!=1517910393:0)){d=1517976186;j=1;if((e|0)==1517976186){break a}q[i+20>>2]=e;d=e}j=h}h=j;g=g+1|0;if((g|0)!=(c|0)){continue}break}f=0;g=c+ -1|0;if(!(!h|(g|0)<0)){d=1517976186;while(1){e=d;h=w(g,336)+b|0;d=q[h+20>>2];b:{if((d|0)!=1516858984?(d|0)!=1517910393:0){break b}d=1517976186;if((e|0)==1517976186){break b}q[h+20>>2]=e;d=e}g=g+ -1|0;if((g|0)>-1){continue}break}}h=0;while(1){d=w(f,336)+b|0;e=q[d>>2];if((e|0)!=65532){QO(q[a+8>>2],q[d+8>>2],e,d+12|0,d+16|0);c:{if(!f){break c}e=d+ -336|0;if(!(q[e+8>>2]!=q[d+8>>2]|q[e+12>>2]!=q[d+12>>2]|(q[e+20>>2]!=q[d+20>>2]|v[e+24>>3]!=v[d+24>>3])|(q[e+116>>2]!=q[d+116>>2]|q[e+120>>2]!=q[d+120>>2]|(q[e+124>>2]!=q[d+124>>2]|q[e+128>>2]!=q[d+128>>2]))|(q[e+172>>2]!=q[d+172>>2]|v[e+176>>3]!=v[d+176>>3]|(v[e+184>>3]!=v[d+184>>3]|v[e+192>>3]!=v[d+192>>3])|(v[e+200>>3]!=v[d+200>>3]|v[e+208>>3]!=v[d+208>>3]|(v[e+216>>3]!=v[d+216>>3]|v[e+224>>3]!=v[d+224>>3])))|(v[e+232>>3]!=v[d+232>>3]|v[e+240>>3]!=v[d+240>>3]|(q[e+264>>2]!=q[d+264>>2]|v[e+248>>3]!=v[d+248>>3])|(v[e+272>>3]!=v[d+272>>3]|v[e+280>>3]!=v[d+280>>3]|(q[e+300>>2]!=q[d+300>>2]|v[e+288>>3]!=v[d+288>>3]))|q[e+304>>2]!=q[d+304>>2]))){if(q[e+308>>2]==q[d+308>>2]){break c}}h=h+1|0}q[d+312>>2]=h}f=f+1|0;if((f|0)!=(c|0)){continue}break}}}function Hd(a,b,c,d){var e=0,f=0,g=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+88>>2]=c;q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;o[a+20|0]=0;q[a+16>>2]=-1;o[a- -64|0]=0;q[a+60>>2]=-1;f=q[c+16>>2];q[a+100>>2]=0;q[a+96>>2]=d;q[a+92>>2]=f;c=q[f+132>>2];a:{if(c){break a}while(1){c=q[f+48>>2];if(!c){c=271312;break a}e=ab(1,4);if(e){Xi(e,c)}g=q[f+132>>2];c=e?e:271312;q[f+132>>2]=g?g:c;if(!g){break a}if(!(!e|!c)){e=q[c>>2];Pa(e?e:271312);La(c)}c=q[f+132>>2];if(!c){continue}break}}c=q[c>>2];c=c?c:271312;f=t[c+16>>2]<12?271312:q[c+12>>2];q[a+104>>2]=f;c=a;e=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=65539){e=r[f+14|0]|r[f+15|0]<<8|(r[f+16|0]<<16|r[f+17|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=e?e+f|0:271312}else{e=271312}q[c+108>>2]=e;c=q[d+48>>2];q[a+132>>2]=6;q[a+136>>2]=0;q[a+124>>2]=-1;q[a+128>>2]=0;q[a+120>>2]=b;q[a+116>>2]=1;q[a+112>>2]=c;c=r[f+5|0];d=r[f+4|0];q[a+144>>2]=1;o[a+143|0]=0;o[a+141|0]=257;o[a+142|0]=1;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;q[a+16>>2]=1;o[a+13|0]=1;o[a+12|0]=(b|0)==1;q[a+8>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=-1;p[a+56>>1]=257;q[a+52>>2]=0;o[a+140|0]=(c|d<<8)!=0;q[a+4>>2]=a;return a}function wX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;i=q[a+24>>2];if(i&1){if(!i){o[a+20|0]=1}a:{if(!q[a+32>>2]){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g();break a}k=v[q[a+36>>2]>>3]}v[c+32>>3]=v[c+32>>3]+k;h=1}e=h|4;if(e>>>0<=i>>>0){d=q[67829];n=d;l=q[67828];f(0,l|0);f(1,d|0);k=+g();while(1){if(i>>>0<=h>>>0){o[a+20|0]=1}p=q[a+32>>2];b:{if(p>>>0<=h>>>0){q[160744]=l;q[160745]=n;m=k;break b}m=v[q[a+36>>2]+(h<<3)>>3]}v[c+40>>3]=v[c+40>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=h+1|0;if(i>>>0<=d>>>0){o[a+20|0]=1}c:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}j=h+2|0;if(i>>>0<=j>>>0){o[a+20|0]=1}d:{if(p>>>0<=j>>>0){q[160744]=l;q[160745]=n;j=642976;break d}j=q[a+36>>2]+(j<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[j>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=h+3|0;if(i>>>0<=d>>>0){o[a+20|0]=1}h=e;e:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;m=k;break e}m=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+m;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;e=h+4|0;i=q[a+24>>2];if(e>>>0<=i>>>0){continue}break}}Da=c+48|0}function tX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Da-48|0;Da=c;h=q[a+24>>2];if(h>>>0>=6){l=a+128|0;i=q[67828];j=q[67829];k=6;while(1){d=l;g=q[d+12>>2];q[c+40>>2]=q[d+8>>2];q[c+44>>2]=g;g=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=g;if(h>>>0<=e>>>0){o[a+20|0]=1}g=q[a+32>>2];a:{if(g>>>0<=e>>>0){q[160744]=i;q[160745]=j;d=642976;break a}d=q[a+36>>2]+(e<<3)|0}f=e|1;if(h>>>0<=f>>>0){o[a+20|0]=1}b:{if(g>>>0<=f>>>0){q[160744]=i;q[160745]=j;f=642976;break b}f=q[a+36>>2]+(f<<3)|0}v[c+32>>3]=v[c+32>>3]+v[d>>3];v[c+40>>3]=v[c+40>>3]+v[f>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=e+2|0;if(h>>>0<=d>>>0){o[a+20|0]=1}c:{if(g>>>0<=d>>>0){q[160744]=i;q[160745]=j;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}f=e+3|0;if(h>>>0<=f>>>0){o[a+20|0]=1}d:{if(g>>>0<=f>>>0){q[160744]=i;q[160745]=j;f=642976;break d}f=q[a+36>>2]+(f<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[f>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(h>>>0<=d>>>0){o[a+20|0]=1}e:{if(g>>>0<=d>>>0){q[160744]=i;q[160745]=j;d=642976;break e}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(h>>>0<=e>>>0){o[a+20|0]=1}f:{if(g>>>0<=e>>>0){q[160744]=i;q[160745]=j;e=642976;break f}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c);e=k;k=e+6|0;h=q[a+24>>2];if(k>>>0<=h>>>0){continue}break}}Da=c+48|0}function ji(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return 6}f=493040;e=a;a:{while(1){b:{b=r[f|0];c=r[e|0];f=f+1|0;e=e+1|0;g=493051;d=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 1:break a;case 0:break b;default:continue}}break}while(1){c:{b=r[g|0];c=r[d|0];h=1;g=g+1|0;d=d+1|0;f=493060;e=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 1:break a;case 0:break c;default:continue}}break}while(1){d:{h=r[f|0];b=r[e|0];f=f+1|0;e=e+1|0;g=493066;d=a;b=((b+ -97&255)>>>0<26?b+ -32|0:b)&255;h=(b|0)==(((h+ -97&255)>>>0<26?h+ -32|0:h)&255)?!b<<1:1;switch(h-1|0){case 1:break a;case 0:break d;default:continue}}break}while(1){e:{b=r[g|0];c=r[d|0];g=g+1|0;d=d+1|0;h=3;f=493073;e=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 0:break e;case 1:break a;default:continue}}break}while(1){f:{d=r[f|0];b=r[e|0];f=f+1|0;e=e+1|0;h=4;g=493082;b=((b+ -97&255)>>>0<26?b+ -32|0:b)&255;switch(((b|0)==(((d+ -97&255)>>>0<26?d+ -32|0:d)&255)?!b<<1:1)-1|0){case 0:break f;case 1:break a;default:continue}}break}while(1){g:{e=r[g|0];d=r[a|0];g=g+1|0;a=a+1|0;h=5;d=((d+ -97&255)>>>0<26?d+ -32|0:d)&255;switch(((d|0)==(((e+ -97&255)>>>0<26?e+ -32|0:e)&255)?!d<<1:1)-1|0){case 0:break g;case 1:break a;default:continue}}break}h=-1}return h}function xX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;i=q[a+24>>2];if(i&1){if(!i){o[a+20|0]=1}a:{if(!q[a+32>>2]){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g();break a}k=v[q[a+36>>2]>>3]}v[c+40>>3]=v[c+40>>3]+k;h=1}e=h|4;if(e>>>0<=i>>>0){d=q[67829];n=d;l=q[67828];f(0,l|0);f(1,d|0);k=+g();while(1){if(i>>>0<=h>>>0){o[a+20|0]=1}p=q[a+32>>2];b:{if(p>>>0<=h>>>0){q[160744]=l;q[160745]=n;m=k;break b}m=v[q[a+36>>2]+(h<<3)>>3]}v[c+32>>3]=v[c+32>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=h+1|0;if(i>>>0<=d>>>0){o[a+20|0]=1}c:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}j=h+2|0;if(i>>>0<=j>>>0){o[a+20|0]=1}d:{if(p>>>0<=j>>>0){q[160744]=l;q[160745]=n;j=642976;break d}j=q[a+36>>2]+(j<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[j>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=h+3|0;if(i>>>0<=d>>>0){o[a+20|0]=1}h=e;e:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;m=k;break e}m=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+m;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;e=h+4|0;i=q[a+24>>2];if(e>>>0<=i>>>0){continue}break}}Da=c+48|0}function tk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;a:{if(!q[a+68>>2]){h=1;e=q[a+80>>2];if(!e){break a}q[f+8>>2]=c;if(!r[b+68|0]){b:{if(q[a+144>>2]==(b|0)){e=a+284|0;c=a+288|0;break b}e=q[a+296>>2];c=e+4|0}while(1){q[f+4>>2]=q[a+44>>2];g=n[q[b+56>>2]](b,f+8|0,d,f+4|0,q[a+48>>2])|0;q[c>>2]=q[f+8>>2];i=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],i,q[f+4>>2]-i|0);q[e>>2]=q[f+8>>2];if(g>>>0>1){continue}break}break a}n[e](q[a+4>>2],c,d-c|0);break a}e=q[b+64>>2];q[f+12>>2]=(e<<2)+c;g=a+412|0;c=a+424|0;if(!q[c>>2]){if(!Ya(g)){break a}}d=w(e,-3)+d|0;c:{while(1){if(n[q[b+56>>2]](b,f+12|0,d,c,q[a+420>>2])>>>0<2){break c}if(Ya(g)){continue}break}break a}if(!q[a+428>>2]){break a}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(g)){break a}b=q[c>>2]}q[a+424>>2]=b+1;o[b|0]=0;e=q[a+428>>2];if(!e){break a}b=e;d:{while(1){e:{f:{c=r[b|0];if(c>>>0>13){break f}d=b;switch(c-1|0){case 12:break e;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break f;default:break d}}b=b+1|0;continue}break}while(1){g:{if((c&255)==13){o[d|0]=10;b=r[b+1|0]==10?b+2|0:b+1|0;break g}o[d|0]=c;b=b+1|0}d=d+1|0;c=r[b|0];if(c){continue}break}o[d|0]=0}n[q[a+68>>2]](q[a+4>>2],e);c=q[a+416>>2];h:{if(!c){q[a+416>>2]=q[a+412>>2];break h}b=q[g>>2];if(!b){break h}while(1){d=q[b>>2];q[b>>2]=c;q[a+416>>2]=b;c=b;b=d;if(b){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;h=1}Da=f+16|0;return h}function Fr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=1;g=q[b+4>>2];a:{if(q[g+16>>2]!=128){b:{while(1){d=h;c:{d:{i=q[g+12>>2];if(!i){break d}h=q[g+8>>2];if((h|0)<(d|0)){break d}while(1){e=a;a=q[a+4>>2];k=q[a+16>>2]==128;if(q[a+8>>2]<=(h|0)?!k:0){continue}break}j=h+i|0;f=e;d=e;e:{if(k){break e}while(1){d=a;if(q[a+8>>2]>=(j|0)){d=f;break e}f=d;a=q[d+4>>2];if(q[a+16>>2]!=128){continue}break}}if(c){q[d+12>>2]=i+q[d+12>>2]}f=q[e+8>>2];i=f+q[e+12>>2]|0;f:{g:{if((d|0)==(e|0)){if((i|0)>(j|0)){a=Sa(36);d=0;if(!a){break b}p[a+20>>1]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a>>2]=0;q[a+4>>2]=0;d=a+8|0;q[d>>2]=0;q[d+4>>2]=0;d=q[e+4>>2];q[d>>2]=a;q[a+4>>2]=d;o[a+20|0]=r[e+20|0];o[a+21|0]=r[e+21|0];q[a+16>>2]=q[e+16>>2];d=q[e+12>>2];f=q[e+8>>2];q[a+8>>2]=j;q[a+12>>2]=d+(f-j|0);f=q[e+8>>2];i=f+q[e+12>>2]|0}if((i|0)<(h|0)){break g}if((h|0)>(f|0)){q[e+12>>2]=h-f;break g}d=q[e>>2];La(e);f=a;a=d;break f}h:{if((i|0)<(h|0)){break h}if((h|0)>(f|0)){q[e+12>>2]=h-f;break h}e=q[e>>2]}f=q[d+12>>2]+q[d+8>>2]|0;if((f|0)>(j|0)){q[d+8>>2]=j;q[d+12>>2]=f-j;a=d}d=q[e+4>>2];if((d|0)==(a|0)){break g}while(1){f=q[d+4>>2];La(d);d=f;if((d|0)!=(a|0)){continue}break}}f=a;a=e}d=q[g>>2];q[d+4>>2]=q[g+4>>2];q[q[g+4>>2]>>2]=d;q[a+4>>2]=g;q[g+4>>2]=f;q[g>>2]=a;q[f>>2]=g;break c}h=d;d=g}g=q[d+4>>2];if(q[g+16>>2]!=128){continue}break}d=1}if(!b){break a}}q[q[b>>2]+4>>2]=0;while(1){a=q[b+4>>2];La(b);b=a;if(a){continue}break}}return d}function Bl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{h=r[a|0];if((h|0)!=117){break c}d:{b=r[a+1|0];if((b|0)!=110|r[a+2|0]!=105){break d}c=r[a+3|0];d=c+ -48|0;g=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(g>>>0>15){break d}c=r[a+4|0];d=c+ -48|0;e=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(e>>>0>15){break d}c=r[a+5|0];d=c+ -48|0;f=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(f>>>0>15){break d}c=r[a+6|0];d=c+ -48|0;c=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(c>>>0>15){break d}c=c+(f+(e+(g<<4)<<4)<<4)|0;d=r[a+7|0];if(!d){break a}if((d|0)!=46){break d}return c|-2147483648}c=b+ -65>>>0>5?16:b+ -55|0;b=b+ -48|0;d=b>>>0>9?c:b;g=d>>>0>15;if(g){break c}b=r[a+2|0];c=b+ -48|0;e=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;f=e>>>0>15;if(f){break c}b=r[a+3|0];c=b+ -48|0;i=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;j=i>>>0>15;if(j){break c}b=r[a+4|0];c=b+ -48|0;b=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;c=b>>>0>15;if(c){break c}d=g?0:d;d=f?d:e+(d<<4)|0;d=j?d:(d<<4)+i|0;c=c?d:b+(d<<4)|0;b=r[a+5|0];d=b+ -48|0;e=d>>>0>9?b+ -65>>>0>5?16:b+ -55|0:d;f=e>>>0>15;b=a+5|0;e:{if(f){break e}b=r[a+6|0];d=b+ -48|0;d=d>>>0>9?b+ -65>>>0>5?16:b+ -55|0:d;b=d>>>0>15;c=f?c:e+(c<<4)|0;c=b?c:d+(c<<4)|0;b=b?a+6|0:a+7|0}d=r[b|0];if(!d){break a}b=a;if((d|0)!=46){break b}return c|-2147483648}b=a}while(1){f:{g:{if((h|0)!=46){if(h){break g}return _r(a,b)|0}if(b>>>0>a>>>0){break f}}h=r[b+1|0];b=b+1|0;continue}break}c=_r(a,b)|-2147483648}return c|0}function AO(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:return w(r[a+43|0]^w(r[a+42|0]^w(r[a+41|0]^w(r[a+40|0]^w(r[a+39|0]^w(r[a+38|0]^w(r[a+37|0]^w(r[a+36|0]^w(r[a+35|0]^w(r[a+34|0]^w(r[a+33|0]^w(r[a+32|0]^w(r[a+31|0]^w(r[a+30|0]^w(r[a+29|0]^w(r[a+28|0]^w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0;case 0:a=q[a+8>>2];c=r[a|0];if(!c){break a}while(1){b=w(b^c,16777619);c=r[a+1|0];a=a+1|0;if(c){continue}break}break a;case 1:break b}}b=w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)}return b|0}function yq(a,b,c,d){a=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=Qa(a,490148,364);a=0;while(1){e=r[a+490220|0];if(!(!e|(e|0)==28|q[(a<<2)+b>>2]==(a|0))){return 0}a=a+1|0;if((a|0)!=128){continue}break}k=g+884|0;l=g+372|0;i=g+72|0;a=0;a:{while(1){j=a<<2;f=q[j+b>>2];b:{if((f|0)==-1){o[a+i|0]=1;p[(a<<1)+l>>1]=65535;p[k+j>>1]=1;break b}if((f|0)<=-1){e=0;if(!c|(f|0)<-4){break a}o[a+i|0]=3-f;o[k+j|0]=0;p[(a<<1)+l>>1]=0;break b}if((f|0)<=127){e=r[f+490220|0];if(!(!e|(e|0)==28|(a|0)==(f|0))){return 0}o[a+i|0]=e;e=k+j|0;o[e+1|0]=f;o[e|0]=1;p[(a<<1)+l>>1]=f?f:-1;break b}c:{h=f>>>8|0;d:{if(h+ -216>>>0<8){break d}if((h|0)!=255){if(h){break c}if(!r[f+490220|0]){break d}break c}if((f|1)!=65535){break c}}o[a+i|0]=0;p[(a<<1)+l>>1]=65535;p[k+j>>1]=1;break b}if((f|0)>65535){return 0}e=1<<(f&31);m=(f>>>5&7)<<2;e:{if(e&q[(m|r[h+492528|0]<<5)+490512>>2]){o[a+i|0]=22;break e}n=a+i|0;if(e&q[(m|r[h+492784|0]<<5)+490512>>2]){o[n|0]=26;break e}o[n|0]=28}h=k+j|0;e=h;n=e;f:{if((f|0)<=2047){o[e+1|0]=f>>>6|192;m=2;e=f;break f}o[e+1|0]=f>>>12|224;o[h+3|0]=f&63|128;m=3;e=f>>>6|0}o[n+2|0]=e&63|128;o[h|0]=m;p[(a<<1)+l>>1]=f}a=a+1|0;if((a|0)!=256){continue}break}q[g+364>>2]=c;q[g+368>>2]=d;if(c){q[g+360>>2]=837;q[g+356>>2]=837;q[g+352>>2]=837;q[g+348>>2]=838;q[g+344>>2]=838;q[g+340>>2]=838;q[g+336>>2]=839;q[g+332>>2]=839;q[g+328>>2]=839}q[g+60>>2]=840;q[g+56>>2]=841;e=g}return e|0}function _V(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);d=Da-32|0;Da=d;a:{if(!VV(a,d+16|0,d)){break a}e=q[b+4>>2];if((r[a|0]&24)==8){if(!e){break a}while(1){b:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break b}a=q[b+8>>2]+(c<<4)|0}u[a+4>>2]=u[d+4>>2]+u[a+4>>2];u[a+8>>2]=u[d+8>>2]+u[a+8>>2];c=c+1|0;if(c>>>0>>0){continue}break}if(!e){break a}h=u[d+16>>2];c=0;while(1){c:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break c}a=q[b+8>>2]+(c<<4)|0}i=u[d+24>>2];f=u[a+4>>2];g=u[a+8>>2];u[a+8>>2]=x(f*u[d+20>>2])+x(g*u[d+28>>2]);u[a+4>>2]=x(f*h)+x(g*i);c=c+1|0;if(c>>>0>>0){continue}break}break a}if(!e){break a}h=u[d+16>>2];while(1){d:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break d}a=q[b+8>>2]+(c<<4)|0}i=u[d+24>>2];f=u[a+4>>2];g=u[a+8>>2];u[a+8>>2]=x(f*u[d+20>>2])+x(g*u[d+28>>2]);u[a+4>>2]=x(f*h)+x(g*i);c=c+1|0;if(c>>>0>>0){continue}break}if(!e){break a}c=0;while(1){e:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break e}a=q[b+8>>2]+(c<<4)|0}u[a+4>>2]=u[d+4>>2]+u[a+4>>2];u[a+8>>2]=u[d+8>>2]+u[a+8>>2];c=c+1|0;if(c>>>0>>0){continue}break}}Da=d+32|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;e=q[c>>2];d=q[a>>2];a:{if(e>>>0>d>>>0){break a}f=q[c+4>>2];if(f+e>>>0<=d>>>0){break a}e=d+1|0;q[a>>2]=e;h=r[d|0];if(h&128){g=q[c>>2];if(g>>>0>e>>>0|f+g>>>0<=e>>>0){break a}q[a>>2]=d+2;h=r[d+1|0]|h<<8&32512}d=q[b>>2];b:{if((d|0)<0){break b}if(d>>>0>>0){f=d;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=h>>>0){continue}break}c:{if(!(f>>>0>>0|f>>>0>1073741822)){d=db(q[b+8>>2],f<<2);if(d){break c}}q[b>>2]=-1;break b}q[b>>2]=f;q[b+8>>2]=d}d=q[b+4>>2];if(h>>>0>d>>>0){Na(q[b+8>>2]+(d<<2)|0,0,h-d<<2)}q[b+4>>2]=h}l=q[67828];f=0;while(1){i=f&65535;if(h>>>0<=i>>>0){return 1}e=q[c>>2];d=q[a>>2];if(e>>>0>d>>>0|e+q[c+4>>2]>>>0<=d>>>0){break a}g=d+1|0;q[a>>2]=g;d=o[d|0];k=d&127;d:{if((d|0)<0){d=0;while(1){e=q[c>>2];if(e>>>0>g>>>0){break a}e=e+q[c+4>>2]|0;if(g>>>0>e>>>0|e-g>>>0<2){break a}j=(r[g+1|0]|r[g|0]<<8)+j|0;e:{if(t[b+4>>2]<=i>>>0){q[160744]=l;g=q[a>>2];e=642976;break e}e=q[b+8>>2]+(i<<2)|0}q[e>>2]=j;g=g+2|0;q[a>>2]=g;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}d=e;i=f&65535;if(h>>>0>i>>>0){continue}break}break d}d=0;e=q[c>>2];f:{if(e>>>0>g>>>0){break f}while(1){if(q[c+4>>2]+e>>>0<=g>>>0){break f}q[a>>2]=g+1;j=r[g|0]+j|0;g:{if(t[b+4>>2]<=i>>>0){q[160744]=l;e=642976;break g}e=q[b+8>>2]+(i<<2)|0}q[e>>2]=j;e=d+1|0;f=f+1|0;if((d&65535)>>>0>=k>>>0){break d}i=f&65535;if(h>>>0<=i>>>0){break d}d=e;e=q[c>>2];g=q[a>>2];if(e>>>0<=g>>>0){continue}break}}break a}if((e&65535)>>>0>k>>>0){continue}break}}return 0}function dv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{g=r[a+1|0]|r[a|0]<<8;if(g>>>0<=1){if(g-1){break d}g=r[a+3|0]|r[a+2|0]<<8;kf(b,g,0,0,0);a=q[b+96>>2];b=q[a+92>>2];e:{if((b|0)==q[a+88>>2]){d=q[a+80>>2];f=d;if(q[a+72>>2]==(d|0)){break e}}if(!Va(a,1,1)){break c}b=q[a+88>>2]+w(q[a+72>>2],20)|0;f=q[b+4>>2];c=q[a+92>>2]+w(q[a+80>>2],20)|0;q[c>>2]=q[b>>2];q[c+4>>2]=f;q[c+16>>2]=q[b+16>>2];d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[a+72>>2];f=q[a+80>>2];b=q[a+92>>2]}q[w(f,20)+b>>2]=g;q[a+80>>2]=f+1;q[a+72>>2]=d+1;return 1}c=q[b+96>>2];d=q[c+72>>2];e=d;if(!g){break a}c=q[c+88>>2];j=s[(c+w(d,20)|0)+12>>1]>>>1&2;while(1){o[(w(d,20)+c|0)+14|0]=f&15;c=(f<<1)+a|0;i=r[c+2|0]<<8|r[c+3|0];kf(b,i,j,0,1);d=q[b+96>>2];f:{if(!Va(d,0,1)){q[160748]=q[67832];c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;break f}c=q[d+72>>2];e=q[d+76>>2];if(!(q[d+80>>2]|(c|0)!=(e|0))){q[160748]=q[67832];c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;break f}g:{if(c>>>0>>0){e=q[d+80>>2];h=q[d+92>>2];c=q[d+88>>2]+w(c,20)|0;break g}h=q[d+92>>2];e=q[d+80>>2];c=(h+w(e,20)|0)+ -20|0}k=q[c+4>>2];e=w(e,20)+h|0;q[e>>2]=q[c>>2];q[e+4>>2]=k;q[e+16>>2]=q[c+16>>2];h=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=h;c=q[d+80>>2];q[q[d+92>>2]+w(c,20)>>2]=i;q[d+80>>2]=c+1}c=q[b+96>>2];f=f+1|0;if((g|0)==(f|0)){break b}d=q[c+72>>2];c=q[c+88>>2];continue}}eS(q[b+96>>2])}return 1}e=q[c+72>>2]}q[c+72>>2]=e+1;return 1}function $T(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!Nb(b,a,4)){return 0}a:{b:{h=q[c+4>>2];if(!h){o[a+2|0]=0;o[a+3|0]=0;break b}i=q[c>>2];j=i+(h<<1)|0;f=-2;e=i;c=h;while(1){c:{d:{if((e|0)==(j|0)){if(c){break d}d=a+2|0;if(!Nb(b,d,2)){return 0}c=(g<<8&16711680|g<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;c=(g&65280)>>>8|0;if(!(!r[b+20|0]|g>>>0<65536)){o[b+20|0]=0;g=r[a+3|0];c=r[a+2|0]}f=0;e=0;if(!Nb(b,d,w(g&255|(c&255)<<8,6)+2|0)){break a}c=-1;e=-2;while(1){d=e+1|0;e:{f:{if((i|0)==(j|0)){if(!h){break b}break f}if(h){break f}b=271312;break e}b=i}b=r[b|0]|r[b+1|0]<<8;e=(b<<24|b<<8&16711680)>>>16|0;if((d|0)!=(e|0)){c=c+1|0;g:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break g}d=(w(c,6)+a|0)+4|0}o[d|0]=b;o[d+1|0]=b>>>8;h:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break h}d=(w(c,6)+a|0)+4|0}g=(f<<8&16711680|f<<24)>>>16|0;o[d+4|0]=g;o[d+5|0]=g>>>8}i:{if((r[a+3|0]|r[a+2|0]<<8)>>>0<=c>>>0){p[321490]=r[271708]|r[271709]<<8;q[160744]=r[271704]|r[271705]<<8|(r[271706]<<16|r[271707]<<24);d=642976;break i}d=(w(c,6)+a|0)+4|0}o[d+2|0]=b;o[d+3|0]=b>>>8;f=f+1|0;b=(h|0)!=0;h=h-b|0;i=(b<<1)+i|0;continue}}if(c){break d}d=271312;break c}d=e}k=f+1|0;f=r[d|0]|r[d+1|0]<<8;f=(f<<24|f<<8&16711680)>>>16|0;g=((k|0)!=(f|0))+g|0;d=(c|0)!=0;c=c-d|0;e=(d<<1)+e|0;continue}}e=1}return e}function TY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=a+4|0;if(g>>>0>h>>>0|f>>>0>>0|f-h>>>0<2){break a}c=e+ -2|0;q[b+12>>2]=c;if((e|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(d){c=a+6|0;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=e+ -3|0;q[b+12>>2]=c;if((e|0)<3){break a}j=r[a+5|0]|r[a+4|0]<<8}d=q[b+16>>2]+j|0;q[b+16>>2]=d;if((d|0)>16383){break a}b:{if(!(r[a+3|0]&16)){d=c;break b}d=((r[a+5|0]<<1|r[a+4|0]<<9)+a|0)+6|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<2){break a}d=c+ -1|0;q[b+12>>2]=d;if((c|0)>=1){break b}break a}q[i+12>>2]=r[a+1|0]|r[a|0]<<8;q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+6|0;c=r[a+5|0]|r[a+4|0]<<8;c:{if(!c){break c}if(f>>>0>>0|g>>>0>e>>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(!d){break c}c=0;while(1){if(!SY(((c<<1)+h|0)+2|0,b,a,i+12|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=1;if(q[b+24>>2]|(r[a+1|0]|r[a|0]<<8)!=9){break a}c=1;g=0;d=r[a+5|0]|r[a+4|0]<<8;b=d?e:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){g=r[b+3|0]|r[b+2|0]<<8}if(j>>>0<=1){break a}while(1){k=0;b=d>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){b=r[b+3|0]|r[b+2|0]<<8}else{b=0}if((b|0)!=(g|0)){break a}k=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}}Da=i+16|0;return k}function RZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=a+4|0;if(g>>>0>h>>>0|f>>>0>>0|f-h>>>0<2){break a}c=e+ -2|0;q[b+12>>2]=c;if((e|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(d){c=a+6|0;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=e+ -3|0;q[b+12>>2]=c;if((e|0)<3){break a}j=r[a+5|0]|r[a+4|0]<<8}d=q[b+16>>2]+j|0;q[b+16>>2]=d;if((d|0)>16383){break a}b:{if(!(r[a+3|0]&16)){d=c;break b}d=((r[a+5|0]<<1|r[a+4|0]<<9)+a|0)+6|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<2){break a}d=c+ -1|0;q[b+12>>2]=d;if((c|0)>=1){break b}break a}q[i+12>>2]=r[a+1|0]|r[a|0]<<8;q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+6|0;c=r[a+5|0]|r[a+4|0]<<8;c:{if(!c){break c}if(f>>>0>>0|g>>>0>e>>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}d=r[a+5|0]|r[a+4|0]<<8;if(!d){break c}c=0;while(1){if(!QZ(((c<<1)+h|0)+2|0,b,a,i+12|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=1;if(q[b+24>>2]|(r[a+1|0]|r[a|0]<<8)!=7){break a}c=1;g=0;d=r[a+5|0]|r[a+4|0]<<8;b=d?e:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){g=r[b+3|0]|r[b+2|0]<<8}if(j>>>0<=1){break a}while(1){k=0;b=d>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];b=b?b+a|0:271312;if((r[b|0]<<8|r[b+1|0])==1){b=r[b+3|0]|r[b+2|0]<<8}else{b=0}if((b|0)!=(g|0)){break a}k=1;c=c+1|0;if((j|0)!=(c|0)){continue}break}}Da=i+16|0;return k}function GO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(a){c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24);o[a+32|0]=c;o[a+33|0]=c>>>8;o[a+34|0]=c>>>16;o[a+35|0]=c>>>24;c=r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24);d=r[b+24|0]|r[b+25|0]<<8|(r[b+26|0]<<16|r[b+27|0]<<24);o[a+24|0]=d;o[a+25|0]=d>>>8;o[a+26|0]=d>>>16;o[a+27|0]=d>>>24;o[a+28|0]=c;o[a+29|0]=c>>>8;o[a+30|0]=c>>>16;o[a+31|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}a:{a=q[b>>2];b:{if(!a){break b}d=q[a+ -8>>2];if(!d){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}e=b;b=c+ -1|0;q[e>>2]=b;if(b){break b}e=a+ -32|0;b=q[e>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-d}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(e)}return 1}I(355429,355403,453,355477);F()}function Al(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,p=0;k=Da-128|0;Da=k;q[k+124>>2]=c;m=q[a+28>>2];q[k+112>>2]=0;q[k+116>>2]=0;q[k+104>>2]=0;q[k+108>>2]=0;q[k+96>>2]=0;q[k+100>>2]=0;q[k+88>>2]=0;q[k+92>>2]=0;o[k+87|0]=0;a:{if(!c){break a}q[k+80>>2]=0;q[k+72>>2]=0;q[k+76>>2]=0;b:{c:{if(!m){break c}l=q[m+28>>2];if(!l){break c}n[l](q[m+40>>2],c,k+88|0);if(q[k+104>>2]){break b}}q[k+116>>2]=q[k+80>>2];q[k+104>>2]=1;q[k+96>>2]=0;q[k+100>>2]=0;q[k+88>>2]=0;c=q[k+76>>2];q[k+108>>2]=q[k+72>>2];q[k+112>>2]=c;q[k+92>>2]=k+124}l=q[k+116>>2];c=k- -64|0;q[c>>2]=q[k+112>>2];q[c+4>>2]=l;c=q[k+108>>2];q[k+56>>2]=q[k+104>>2];q[k+60>>2]=c;c=q[k+100>>2];q[k+48>>2]=q[k+96>>2];q[k+52>>2]=c;c=q[k+92>>2];q[k+40>>2]=q[k+88>>2];q[k+44>>2]=c;l=Vr(a,k+40|0,d,e,f,g,h,i,j,k+87|0);d:{if(l){break d}l=0;if(r[k+87|0]|!m){break d}p=q[m+24>>2];if(!p){break d}c=1;e:{if(q[k+104>>2]<1){break e}n[p](b,m,q[q[k+92>>2]>>2]);if(q[k+104>>2]<=1){break e}while(1){n[q[m+24>>2]](b,m,q[q[k+92>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=q[k+116>>2];q[k+32>>2]=q[k+112>>2];q[k+36>>2]=b;b=q[k+108>>2];q[k+24>>2]=q[k+104>>2];q[k+28>>2]=b;b=q[k+100>>2];q[k+16>>2]=q[k+96>>2];q[k+20>>2]=b;b=q[k+92>>2];q[k+8>>2]=q[k+88>>2];q[k+12>>2]=b;l=Vr(a,k+8|0,d,e,f,g,h,i,j,k+87|0)}b=q[k+92>>2];if((b|0)==(k+124|0)){break a}a=1;if(q[k+104>>2]>=1){La(q[b>>2]);if(q[k+104>>2]>1){while(1){La(q[q[k+92>>2]+(a<<2)>>2]);a=a+1|0;if((a|0)>2]){continue}break}}b=q[k+92>>2]}La(b)}Da=k+128|0;return l}function Vk(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,r=0;j=Da-16|0;Da=j;d=1;if(q[a+72>>2]==1869968492){if(c){l=q[c+4>>2];k=q[c>>2]}c=0;h=p[a+110>>1];a:{if(!h){break a}d=q[a+112>>2];c=q[d+4>>2];g=q[d>>2];if((h|0)<2){e=c;f=g;break a}h=(h<<3)+d|0;i=d+8|0;f=g;e=c;while(1){d=q[d+12>>2];e=(d|0)>(e|0)?d:e;c=(d|0)<(c|0)?d:c;d=q[i>>2];f=(d|0)>(f|0)?d:f;g=(d|0)<(g|0)?d:g;d=i;i=d+8|0;if(i>>>0>>0){continue}break}}d=l&63;m=d+(e&63)|0;q[j+12>>2]=m;i=k&63;h=i+(f&63)|0;q[j+8>>2]=h;n=d+(c&63)|0;q[j+4>>2]=n;i=i+(g&63)|0;q[j>>2]=i;d=e>>6;e=l>>6;r=d+e|0;d=f>>6;f=k>>6;l=d+f|0;k=e+(c>>6)|0;f=f+(g>>6)|0;d=2;b:{c:{c=b+ -2|0;if(c>>>0<=2){d=5;d:{switch(c-1|0){default:c=h+32|0;h=l+(c>>>6|0)|0;b=i+31|0;e=(b>>>6|0)+f|0;e:{if((h|0)==(e|0)){if((((c&63)+(b&63)|0)+ -31|0)<=31){h=e;e=e+ -1|0;break e}h=e+1|0}}f=m+32|0;g=(f>>>6|0)+r|0;c=n+31|0;b=k+(c>>>6|0)|0;f:{if((g|0)==(b|0)){if((((f&63)+(c&63)|0)+ -31|0)<=31){g=b;b=g+ -1|0;break f}g=b+1|0}}k=b;i=g-b|0;c=h-e|0;break c;case 1:d=6;break;case 0:break d}}NI(j,a,b)}g=(q[j+12>>2]+63>>6)+r|0;k=k+(q[j+4>>2]>>6)|0;i=g-k|0;h=l+(q[j+8>>2]+63>>6)|0;e=f+(q[j>>2]>>6)|0;c=h-e|0;b=d+ -1|0;if(b>>>0<=5){f=c;g:{switch(b-1|0){case 3:c=w(c,3);f=c+3&-4;d=5;break b;case 4:break g;case 0:case 1:case 2:break b;default:break c}}d=6;i=w(i,3)}f=c;break b}d=1;f=c+15>>4<<1}q[a+104>>2]=g;q[a+100>>2]=e;q[a+76>>2]=i;o[a+94|0]=d;p[a+92>>1]=256;q[a+80>>2]=c;q[a+84>>2]=f;d=(e|0)<-32768|(h|0)>32767|(k|0)<-32768|(g|0)>32767}Da=j+16|0;return d}function tF(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=q[a+12>>2];j=q[a+200>>2];c=q[a+196>>2];n=q[q[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=xq(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=q[i+88>>2]+(b<<5)|0;q[d+8>>2]=0;q[d+12>>2]=0;l=r[c+1|0];e=l|r[c|0]<<8;p[d+4>>1]=e;b=r[c+3|0]|r[c+2|0]<<8;q[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=r[c+4|0]|r[c+5|0]<<8;q[d+8>>2]=(b<<24|b<<8&16711680)>>16;b=r[c+6|0]|r[c+7|0]<<8;f=(b<<24|b<<8&16711680)>>16;b=c+8|0;break c}q[d+8>>2]=o[c+4|0];f=o[c+5|0];b=c+6|0;break c}if(b){q[d+8>>2]=r[c+5|0]|r[c+4|0]<<8;f=r[c+7|0]|r[c+6|0]<<8;b=c+8|0;break c}q[d+8>>2]=r[c+4|0];f=r[c+5|0];b=c+6|0}q[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=r[b|0]|r[b+1|0]<<8;g=(b<<24|b<<8&16711680)>>16<<2;f=g;h=0;break d}if(e&64){c=r[b+2|0]|r[b+3|0]<<8;f=(c<<24|c<<8&16711680)>>16<<2;c=r[b|0]|r[b+1|0]<<8;g=(c<<24|c<<8&16711680)>>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=r[b+6|0]|r[b+7|0]<<8;f=(c<<24|c<<8&16711680)>>16<<2;c=r[b+4|0]|r[b+5|0]<<8;e=(c<<24|c<<8&16711680)>>16<<2;c=r[b+2|0]|r[b+3|0]<<8;h=(c<<24|c<<8&16711680)>>16<<2;c=r[b|0]|r[b+1|0]<<8;g=(c<<24|c<<8&16711680)>>16<<2;c=b+8|0}q[d+16>>2]=g;q[d+28>>2]=f;q[d+24>>2]=h;q[d+20>>2]=e;if(l&32){continue}break}q[i+84>>2]=k;b=q[q[a+24>>2]+8>>2];q[a+196>>2]=c;q[a+164>>2]=(c+b|0)-j;g=0}return g|0}function xr(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;f=Da+ -64|0;Da=f;h=q[c+8>>2];k=q[c+4>>2];q[f+32>>2]=k;q[f+36>>2]=h;j=k;i=q[b>>2];i=(i|0)>(j|0)?j:i;q[b>>2]=i;g=q[b+8>>2];j=(g|0)>(j|0)?g:j;q[b+8>>2]=j;k=h;h=q[b+4>>2];h=(h|0)>(k|0)?k:h;q[b+4>>2]=h;g=q[b+12>>2];g=(g|0)>(k|0)?g:k;q[b+12>>2]=g;o=q[c+12>>2];c=o;l=q[c+8>>2];c=q[c+4>>2];q[f+40>>2]=c;q[f+44>>2]=l;k=c;m=(j|0)>(c|0)?j:c;q[b+8>>2]=m;n=(i|0)>(c|0)?c:i;q[b>>2]=n;i=l;l=(g|0)>(i|0)?g:i;q[b+12>>2]=l;h=(h|0)>(i|0)?i:h;q[b+4>>2]=h;p=q[o+12>>2];c=p;g=q[c+8>>2];c=q[c+4>>2];q[f+48>>2]=c;q[f+52>>2]=g;j=c;m=(m|0)>(c|0)?m:c;q[b+8>>2]=m;n=(n|0)>(c|0)?c:n;q[b>>2]=n;l=(l|0)>(g|0)?l:g;q[b+12>>2]=l;o=(h|0)>(g|0)?g:h;q[b+4>>2]=o;c=q[p+12>>2];p=q[c+8>>2];c=q[c+4>>2];q[f+56>>2]=c;q[f+60>>2]=p;h=c;q[b+8>>2]=(m|0)>(c|0)?m:c;q[b>>2]=(n|0)>(c|0)?c:n;c=p;q[b+12>>2]=(l|0)>(c|0)?l:c;q[b+4>>2]=(o|0)>(c|0)?c:o;if(d){b=(g-i|0)/3|0;q[f+52>>2]=g-b;q[f+60>>2]=(((c-g|0)/3|0)-b>>1)+g;c=(j-k|0)/3|0;q[f+48>>2]=j-c;q[f+44>>2]=b+i;q[f+40>>2]=c+k;q[f+56>>2]=(((h-j|0)/3|0)-c>>1)+j;q[f+36>>2]=(b-((i-q[f+36>>2]|0)/3|0)>>1)+i;q[f+32>>2]=(c-((k-q[f+32>>2]|0)/3|0)>>1)+k}a:{if(!e){b=q[f+36>>2];q[f+24>>2]=q[f+32>>2];q[f+28>>2]=b;b=0;if(!qb(a,f+24|0,0)){break a}}b=f+32|8;c=q[b+4>>2];q[f+16>>2]=q[b>>2];q[f+20>>2]=c;b=0;if(!qb(a,f+16|0,0)){break a}b=q[f+52>>2];q[f+8>>2]=q[f+48>>2];q[f+12>>2]=b;b=0;if(!qb(a,f+8|0,0)){break a}b=q[f+60>>2];q[f>>2]=q[f+56>>2];q[f+4>>2]=b;b=qb(a,f,3)}Da=f- -64|0;return b}function qH(a){var b=0,c=0,d=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{h(+a);d=e(1)|0;k=e(0)|0;d:{e:{b=d;d=b&2147483647;if(d>>>0>=1078159482){h(+a);d=e(1)|0;d=d&2147483647;if((d|0)==2146435072&e(0)>>>0>0|d>>>0>2146435072){break a}if((b|0)<0?1:(b|0)<=0?k>>>0>=0?0:1:0){return-1}if(!(a>709.782712893384)){break e}return a*8.98846567431158e+307}if(d>>>0<1071001155){break c}if(d>>>0>1072734897){break e}if((b|0)>0?1:(b|0)>=0?k>>>0<0?0:1:0){b=1;c=1.9082149292705877e-10;j=a+ -.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;j=a+.6931471803691238;break d}h(.5);b=e(1)|0;d=e(0)|0;h(+a);k=e(1)|0;e(0)|0;f(0,d|0);f(1,b&2147483647|k&-2147483648);c=a*1.4426950408889634+ +g();f:{if(y(c)<2147483648){b=~~c;break f}b=-2147483648}i=+(b|0);c=i*1.9082149292705877e-10;j=a+i*-.6931471803691238}a=j;a=a-c;c=j-a-c;break b}if(d>>>0<1016070144){break a}b=0}l=a*.5;i=a*l;j=i*(i*(i*(i*(i*-2.0109921818362437e-7+4008217827329362e-21)+ -793650757867488e-19)+.0015873015872548146)+ -.03333333333333313)+1;m=j;j=3-l*j;j=i*((m-j)/(6-a*j));if(!b){return a-(a*j-i)}c=a*(j-c)-c-i;g:{k=b+1|0;if(k>>>0>2){break g}h:{switch(k-1|0){default:return(a-c)*.5+ -.5;case 0:break g;case 1:break h}}if(!!(a<-.25)){return(c-(a+.5))*-2}a=a-c;return a+a+1}f(0,0);f(1,b+1023<<20);i=+g();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*8.98846567431158e+307:a*i)+ -1}k=1023-b<<20;d=0;i:{if((b|0)<=19){a=a-c;f(0,d|0);f(1,k|0);c=1- +g();break i}f(0,d|0);f(1,k|0);c=a-(c+ +g());a=1}a=(c+a)*i}return a}function Cc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return}a:{if(!b|q[b+16>>2]>131082){break a}e=q[a+16>>2];if(e){c=q[b+8>>2];b:{while(1){f=q[((d<<2)+a|0)+20>>2];g=q[f>>2];if(Ta(q[g+8>>2],c)){d=d+1|0;if(d>>>0>>0){continue}break b}break}if(q[b+12>>2]<=q[g+12>>2]){break a}Uo(a,f);e=q[a+16>>2]}if(e>>>0>31){break a}}e=0;f=q[a>>2];d=q[b+4>>2];c:{if((d|0)<=0){if(!d){break c}break a}e=n[q[f+4>>2]](f,d)|0;if(!e){return}Na(e,0,d)}q[e+8>>2]=f;q[e+4>>2]=a;q[e>>2]=b;d:{e:{if(r[b|0]&2){d=q[a>>2];c=n[q[d+4>>2]](d,12)|0;if(!c){break d}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;g=q[e>>2];q[e+12>>2]=g;h=q[g+36>>2];q[e+16>>2]=h;f:{if((h|0)!=1869968492){break f}h=q[q[g+56>>2]+4>>2];if(!h){break f}if(n[h](d,e+52|0)){break e}q[e+56>>2]=q[q[g+56>>2]+16>>2];q[e+60>>2]=q[g+40>>2]}q[c+8>>2]=e;d=q[a+152>>2];q[c>>2]=d;q[c+4>>2]=0;g:{if(d){q[d+4>>2]=c;d=q[a+148>>2];break g}q[a+148>>2]=c;d=c}q[a+152>>2]=c;h:{if(d){while(1){c=q[d+8>>2];if(q[c+16>>2]==1869968492){break h}d=q[d+4>>2];if(d){continue}break}}c=0}q[a+156>>2]=c}d=q[e>>2];c=q[d>>2];if(c&4){q[a+160>>2]=e}if(c&1){q[e+12>>2]=d}b=q[b+24>>2];if(b){if(n[b](e)){break d}}b=q[a+16>>2];q[a+16>>2]=b+1;q[((b<<2)+a|0)+20>>2]=e;return}n[q[d+8>>2]](d,c)}i:{if(!(r[q[e>>2]]&2)){break i}a=q[e+12>>2];if(!a|q[a+36>>2]!=1869968492){break i}b=q[e+52>>2];if(!b){break i}n[q[q[a+56>>2]+20>>2]](b)}n[q[f+8>>2]](f,e)}}function HN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=bj();if(c){d=1517976186;while(1){e=d;i=w(g,336)+b|0;d=n[q[f+32>>2]](f,q[i>>2],q[f- -64>>2])|0;q[i+20>>2]=d;a:{if(!((d|0)!=1516858984?(d|0)!=1517910393:0)){d=1517976186;j=1;if((e|0)==1517976186){break a}q[i+20>>2]=e;d=e}j=h}h=j;g=g+1|0;if((g|0)!=(c|0)){continue}break}f=0;g=c+ -1|0;if(!(!h|(g|0)<0)){d=1517976186;while(1){e=d;h=w(g,336)+b|0;d=q[h+20>>2];b:{if((d|0)!=1516858984?(d|0)!=1517910393:0){break b}d=1517976186;if((e|0)==1517976186){break b}q[h+20>>2]=e;d=e}g=g+ -1|0;if((g|0)>-1){continue}break}}h=0;while(1){d=w(f,336)+b|0;e=q[d>>2];if((e|0)!=65532){QO(q[a+8>>2],q[d+8>>2],e,d+12|0,d+16|0);c:{if(!f){break c}e=d+ -336|0;if(!(q[e+8>>2]!=q[d+8>>2]|q[e+12>>2]!=q[d+12>>2]|(q[e+20>>2]!=q[d+20>>2]|v[e+24>>3]!=v[d+24>>3])|(q[e+116>>2]!=q[d+116>>2]|q[e+120>>2]!=q[d+120>>2]|(q[e+124>>2]!=q[d+124>>2]|q[e+128>>2]!=q[d+128>>2]))|(q[e+172>>2]!=q[d+172>>2]|v[e+176>>3]!=v[d+176>>3]|(v[e+184>>3]!=v[d+184>>3]|v[e+192>>3]!=v[d+192>>3])|(v[e+200>>3]!=v[d+200>>3]|v[e+208>>3]!=v[d+208>>3]|(v[e+216>>3]!=v[d+216>>3]|v[e+224>>3]!=v[d+224>>3])))|(v[e+232>>3]!=v[d+232>>3]|v[e+240>>3]!=v[d+240>>3]|(q[e+264>>2]!=q[d+264>>2]|v[e+248>>3]!=v[d+248>>3])|(v[e+272>>3]!=v[d+272>>3]|v[e+280>>3]!=v[d+280>>3]|(q[e+300>>2]!=q[d+300>>2]|v[e+288>>3]!=v[d+288>>3]))|q[e+304>>2]!=q[d+304>>2]))){if(q[e+308>>2]==q[d+308>>2]){break c}}h=h+1|0}q[d+312>>2]=h}f=f+1|0;if((f|0)!=(c|0)){continue}break}}}function Hd(a,b,c,d){var e=0,f=0,g=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+88>>2]=c;q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;o[a+20|0]=0;q[a+16>>2]=-1;o[a- -64|0]=0;q[a+60>>2]=-1;f=q[c+16>>2];q[a+100>>2]=0;q[a+96>>2]=d;q[a+92>>2]=f;c=q[f+132>>2];a:{if(c){break a}while(1){c=q[f+48>>2];if(!c){c=271312;break a}e=ab(1,4);if(e){Xi(e,c)}g=q[f+132>>2];c=e?e:271312;q[f+132>>2]=g?g:c;if(!g){break a}if(!(!e|!c)){e=q[c>>2];Pa(e?e:271312);La(c)}c=q[f+132>>2];if(!c){continue}break}}c=q[c>>2];c=c?c:271312;f=t[c+16>>2]<12?271312:q[c+12>>2];q[a+104>>2]=f;c=a;e=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=65539){e=r[f+14|0]|r[f+15|0]<<8|(r[f+16|0]<<16|r[f+17|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=e?e+f|0:271312}else{e=271312}q[c+108>>2]=e;c=q[d+48>>2];q[a+132>>2]=6;q[a+136>>2]=0;q[a+124>>2]=-1;q[a+128>>2]=0;q[a+120>>2]=b;q[a+116>>2]=1;q[a+112>>2]=c;c=r[f+5|0];d=r[f+4|0];q[a+144>>2]=1;o[a+143|0]=0;o[a+141|0]=257;o[a+142|0]=1;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;q[a+16>>2]=1;o[a+13|0]=1;o[a+12|0]=(b|0)==1;q[a+8>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+60>>2]=-1;p[a+56>>1]=257;q[a+52>>2]=0;o[a+140|0]=(c|d<<8)!=0;q[a+4>>2]=a;return a}function wX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;i=q[a+24>>2];if(i&1){if(!i){o[a+20|0]=1}a:{if(!q[a+32>>2]){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g();break a}k=v[q[a+36>>2]>>3]}v[c+32>>3]=v[c+32>>3]+k;h=1}e=h|4;if(e>>>0<=i>>>0){d=q[67829];n=d;l=q[67828];f(0,l|0);f(1,d|0);k=+g();while(1){if(i>>>0<=h>>>0){o[a+20|0]=1}p=q[a+32>>2];b:{if(p>>>0<=h>>>0){q[160744]=l;q[160745]=n;m=k;break b}m=v[q[a+36>>2]+(h<<3)>>3]}v[c+40>>3]=v[c+40>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=h+1|0;if(i>>>0<=d>>>0){o[a+20|0]=1}c:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}j=h+2|0;if(i>>>0<=j>>>0){o[a+20|0]=1}d:{if(p>>>0<=j>>>0){q[160744]=l;q[160745]=n;j=642976;break d}j=q[a+36>>2]+(j<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[j>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=h+3|0;if(i>>>0<=d>>>0){o[a+20|0]=1}h=e;e:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;m=k;break e}m=v[q[a+36>>2]+(d<<3)>>3]}v[c+8>>3]=v[c+8>>3]+m;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;e=h+4|0;i=q[a+24>>2];if(e>>>0<=i>>>0){continue}break}}Da=c+48|0}function tX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Da-48|0;Da=c;h=q[a+24>>2];if(h>>>0>=6){l=a+128|0;i=q[67828];j=q[67829];k=6;while(1){d=l;g=q[d+12>>2];q[c+40>>2]=q[d+8>>2];q[c+44>>2]=g;g=q[d+4>>2];q[c+32>>2]=q[d>>2];q[c+36>>2]=g;if(h>>>0<=e>>>0){o[a+20|0]=1}g=q[a+32>>2];a:{if(g>>>0<=e>>>0){q[160744]=i;q[160745]=j;d=642976;break a}d=q[a+36>>2]+(e<<3)|0}f=e|1;if(h>>>0<=f>>>0){o[a+20|0]=1}b:{if(g>>>0<=f>>>0){q[160744]=i;q[160745]=j;f=642976;break b}f=q[a+36>>2]+(f<<3)|0}v[c+32>>3]=v[c+32>>3]+v[d>>3];v[c+40>>3]=v[c+40>>3]+v[f>>3];d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=e+2|0;if(h>>>0<=d>>>0){o[a+20|0]=1}c:{if(g>>>0<=d>>>0){q[160744]=i;q[160745]=j;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}f=e+3|0;if(h>>>0<=f>>>0){o[a+20|0]=1}d:{if(g>>>0<=f>>>0){q[160744]=i;q[160745]=j;f=642976;break d}f=q[a+36>>2]+(f<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[f>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=e+4|0;if(h>>>0<=d>>>0){o[a+20|0]=1}e:{if(g>>>0<=d>>>0){q[160744]=i;q[160745]=j;d=642976;break e}d=q[a+36>>2]+(d<<3)|0}e=e+5|0;if(h>>>0<=e>>>0){o[a+20|0]=1}f:{if(g>>>0<=e>>>0){q[160744]=i;q[160745]=j;e=642976;break f}e=q[a+36>>2]+(e<<3)|0}v[c>>3]=v[c>>3]+v[d>>3];v[c+8>>3]=v[c+8>>3]+v[e>>3];pb(a,b,c+32|0,c+16|0,c);e=k;k=e+6|0;h=q[a+24>>2];if(k>>>0<=h>>>0){continue}break}}Da=c+48|0}function ji(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return 6}f=493040;e=a;a:{while(1){b:{b=r[f|0];c=r[e|0];f=f+1|0;e=e+1|0;g=493051;d=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 1:break a;case 0:break b;default:continue}}break}while(1){c:{b=r[g|0];c=r[d|0];h=1;g=g+1|0;d=d+1|0;f=493060;e=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 1:break a;case 0:break c;default:continue}}break}while(1){d:{h=r[f|0];b=r[e|0];f=f+1|0;e=e+1|0;g=493066;d=a;b=((b+ -97&255)>>>0<26?b+ -32|0:b)&255;h=(b|0)==(((h+ -97&255)>>>0<26?h+ -32|0:h)&255)?!b<<1:1;switch(h-1|0){case 1:break a;case 0:break d;default:continue}}break}while(1){e:{b=r[g|0];c=r[d|0];g=g+1|0;d=d+1|0;h=3;f=493073;e=a;c=((c+ -97&255)>>>0<26?c+ -32|0:c)&255;switch(((c|0)==(((b+ -97&255)>>>0<26?b+ -32|0:b)&255)?!c<<1:1)-1|0){case 0:break e;case 1:break a;default:continue}}break}while(1){f:{d=r[f|0];b=r[e|0];f=f+1|0;e=e+1|0;h=4;g=493082;b=((b+ -97&255)>>>0<26?b+ -32|0:b)&255;switch(((b|0)==(((d+ -97&255)>>>0<26?d+ -32|0:d)&255)?!b<<1:1)-1|0){case 0:break f;case 1:break a;default:continue}}break}while(1){g:{e=r[g|0];d=r[a|0];g=g+1|0;a=a+1|0;h=5;d=((d+ -97&255)>>>0<26?d+ -32|0:d)&255;switch(((d|0)==(((e+ -97&255)>>>0<26?e+ -32|0:e)&255)?!d<<1:1)-1|0){case 0:break g;case 1:break a;default:continue}}break}h=-1}return h}function xX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;c=Da-48|0;Da=c;e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;i=q[a+24>>2];if(i&1){if(!i){o[a+20|0]=1}a:{if(!q[a+32>>2]){h=q[67829];e=q[67828];q[160744]=e;q[160745]=h;f(0,e|0);f(1,h|0);k=+g();break a}k=v[q[a+36>>2]>>3]}v[c+40>>3]=v[c+40>>3]+k;h=1}e=h|4;if(e>>>0<=i>>>0){d=q[67829];n=d;l=q[67828];f(0,l|0);f(1,d|0);k=+g();while(1){if(i>>>0<=h>>>0){o[a+20|0]=1}p=q[a+32>>2];b:{if(p>>>0<=h>>>0){q[160744]=l;q[160745]=n;m=k;break b}m=v[q[a+36>>2]+(h<<3)>>3]}v[c+32>>3]=v[c+32>>3]+m;d=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=d;d=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=d;d=h+1|0;if(i>>>0<=d>>>0){o[a+20|0]=1}c:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;d=642976;break c}d=q[a+36>>2]+(d<<3)|0}j=h+2|0;if(i>>>0<=j>>>0){o[a+20|0]=1}d:{if(p>>>0<=j>>>0){q[160744]=l;q[160745]=n;j=642976;break d}j=q[a+36>>2]+(j<<3)|0}v[c+16>>3]=v[c+16>>3]+v[d>>3];v[c+24>>3]=v[c+24>>3]+v[j>>3];d=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=d;d=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=d;d=h+3|0;if(i>>>0<=d>>>0){o[a+20|0]=1}h=e;e:{if(p>>>0<=d>>>0){q[160744]=l;q[160745]=n;m=k;break e}m=v[q[a+36>>2]+(d<<3)>>3]}v[c>>3]=v[c>>3]+m;pb(a,b,c+32|0,c+16|0,c);e=q[a+140>>2];q[c+40>>2]=q[a+136>>2];q[c+44>>2]=e;e=q[a+132>>2];q[c+32>>2]=q[a+128>>2];q[c+36>>2]=e;e=h+4|0;i=q[a+24>>2];if(e>>>0<=i>>>0){continue}break}}Da=c+48|0}function tk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;a:{if(!q[a+68>>2]){h=1;e=q[a+80>>2];if(!e){break a}q[f+8>>2]=c;if(!r[b+68|0]){b:{if(q[a+144>>2]==(b|0)){e=a+284|0;c=a+288|0;break b}e=q[a+296>>2];c=e+4|0}while(1){q[f+4>>2]=q[a+44>>2];g=n[q[b+56>>2]](b,f+8|0,d,f+4|0,q[a+48>>2])|0;q[c>>2]=q[f+8>>2];i=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],i,q[f+4>>2]-i|0);q[e>>2]=q[f+8>>2];if(g>>>0>1){continue}break}break a}n[e](q[a+4>>2],c,d-c|0);break a}e=q[b+64>>2];q[f+12>>2]=(e<<2)+c;g=a+412|0;c=a+424|0;if(!q[c>>2]){if(!Ya(g)){break a}}d=w(e,-3)+d|0;c:{while(1){if(n[q[b+56>>2]](b,f+12|0,d,c,q[a+420>>2])>>>0<2){break c}if(Ya(g)){continue}break}break a}if(!q[a+428>>2]){break a}b=q[a+424>>2];if((b|0)==q[a+420>>2]){if(!Ya(g)){break a}b=q[c>>2]}q[a+424>>2]=b+1;o[b|0]=0;e=q[a+428>>2];if(!e){break a}b=e;d:{while(1){e:{f:{c=r[b|0];if(c>>>0>13){break f}d=b;switch(c-1|0){case 12:break e;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break f;default:break d}}b=b+1|0;continue}break}while(1){g:{if((c&255)==13){o[d|0]=10;b=r[b+1|0]==10?b+2|0:b+1|0;break g}o[d|0]=c;b=b+1|0}d=d+1|0;c=r[b|0];if(c){continue}break}o[d|0]=0}n[q[a+68>>2]](q[a+4>>2],e);c=q[a+416>>2];h:{if(!c){q[a+416>>2]=q[a+412>>2];break h}b=q[g>>2];if(!b){break h}while(1){d=q[b>>2];q[b>>2]=c;q[a+416>>2]=b;c=b;b=d;if(b){continue}break}}q[a+428>>2]=0;q[a+412>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;h=1}Da=f+16|0;return h}function Gr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=1;g=q[b+4>>2];a:{if(q[g+16>>2]!=128){b:{while(1){d=h;c:{d:{i=q[g+12>>2];if(!i){break d}h=q[g+8>>2];if((h|0)<(d|0)){break d}while(1){e=a;a=q[a+4>>2];k=q[a+16>>2]==128;if(q[a+8>>2]<=(h|0)?!k:0){continue}break}j=h+i|0;f=e;d=e;e:{if(k){break e}while(1){d=a;if(q[a+8>>2]>=(j|0)){d=f;break e}f=d;a=q[d+4>>2];if(q[a+16>>2]!=128){continue}break}}if(c){q[d+12>>2]=i+q[d+12>>2]}f=q[e+8>>2];i=f+q[e+12>>2]|0;f:{g:{if((d|0)==(e|0)){if((i|0)>(j|0)){a=Sa(36);d=0;if(!a){break b}p[a+20>>1]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a>>2]=0;q[a+4>>2]=0;d=a+8|0;q[d>>2]=0;q[d+4>>2]=0;d=q[e+4>>2];q[d>>2]=a;q[a+4>>2]=d;o[a+20|0]=r[e+20|0];o[a+21|0]=r[e+21|0];q[a+16>>2]=q[e+16>>2];d=q[e+12>>2];f=q[e+8>>2];q[a+8>>2]=j;q[a+12>>2]=d+(f-j|0);f=q[e+8>>2];i=f+q[e+12>>2]|0}if((i|0)<(h|0)){break g}if((h|0)>(f|0)){q[e+12>>2]=h-f;break g}d=q[e>>2];La(e);f=a;a=d;break f}h:{if((i|0)<(h|0)){break h}if((h|0)>(f|0)){q[e+12>>2]=h-f;break h}e=q[e>>2]}f=q[d+12>>2]+q[d+8>>2]|0;if((f|0)>(j|0)){q[d+8>>2]=j;q[d+12>>2]=f-j;a=d}d=q[e+4>>2];if((d|0)==(a|0)){break g}while(1){f=q[d+4>>2];La(d);d=f;if((d|0)!=(a|0)){continue}break}}f=a;a=e}d=q[g>>2];q[d+4>>2]=q[g+4>>2];q[q[g+4>>2]>>2]=d;q[a+4>>2]=g;q[g+4>>2]=f;q[g>>2]=a;q[f>>2]=g;break c}h=d;d=g}g=q[d+4>>2];if(q[g+16>>2]!=128){continue}break}d=1}if(!b){break a}}q[q[b>>2]+4>>2]=0;while(1){a=q[b+4>>2];La(b);b=a;if(a){continue}break}}return d}function Bl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{h=r[a|0];if((h|0)!=117){break c}d:{b=r[a+1|0];if((b|0)!=110|r[a+2|0]!=105){break d}c=r[a+3|0];d=c+ -48|0;g=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(g>>>0>15){break d}c=r[a+4|0];d=c+ -48|0;e=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(e>>>0>15){break d}c=r[a+5|0];d=c+ -48|0;f=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(f>>>0>15){break d}c=r[a+6|0];d=c+ -48|0;c=d>>>0>9?c+ -65>>>0>5?16:c+ -55|0:d;if(c>>>0>15){break d}c=c+(f+(e+(g<<4)<<4)<<4)|0;d=r[a+7|0];if(!d){break a}if((d|0)!=46){break d}return c|-2147483648}c=b+ -65>>>0>5?16:b+ -55|0;b=b+ -48|0;d=b>>>0>9?c:b;g=d>>>0>15;if(g){break c}b=r[a+2|0];c=b+ -48|0;e=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;f=e>>>0>15;if(f){break c}b=r[a+3|0];c=b+ -48|0;i=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;j=i>>>0>15;if(j){break c}b=r[a+4|0];c=b+ -48|0;b=c>>>0>9?b+ -65>>>0>5?16:b+ -55|0:c;c=b>>>0>15;if(c){break c}d=g?0:d;d=f?d:e+(d<<4)|0;d=j?d:(d<<4)+i|0;c=c?d:b+(d<<4)|0;b=r[a+5|0];d=b+ -48|0;e=d>>>0>9?b+ -65>>>0>5?16:b+ -55|0:d;f=e>>>0>15;b=a+5|0;e:{if(f){break e}b=r[a+6|0];d=b+ -48|0;d=d>>>0>9?b+ -65>>>0>5?16:b+ -55|0:d;b=d>>>0>15;c=f?c:e+(c<<4)|0;c=b?c:d+(c<<4)|0;b=b?a+6|0:a+7|0}d=r[b|0];if(!d){break a}b=a;if((d|0)!=46){break b}return c|-2147483648}b=a}while(1){f:{g:{if((h|0)!=46){if(h){break g}return $r(a,b)|0}if(b>>>0>a>>>0){break f}}h=r[b+1|0];b=b+1|0;continue}break}c=$r(a,b)|-2147483648}return c|0}function AO(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:return w(r[a+43|0]^w(r[a+42|0]^w(r[a+41|0]^w(r[a+40|0]^w(r[a+39|0]^w(r[a+38|0]^w(r[a+37|0]^w(r[a+36|0]^w(r[a+35|0]^w(r[a+34|0]^w(r[a+33|0]^w(r[a+32|0]^w(r[a+31|0]^w(r[a+30|0]^w(r[a+29|0]^w(r[a+28|0]^w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0;case 0:a=q[a+8>>2];c=r[a|0];if(!c){break a}while(1){b=w(b^c,16777619);c=r[a+1|0];a=a+1|0;if(c){continue}break}break a;case 1:break b}}b=w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)}return b|0}function zq(a,b,c,d){a=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=Qa(a,490148,364);a=0;while(1){e=r[a+490220|0];if(!(!e|(e|0)==28|q[(a<<2)+b>>2]==(a|0))){return 0}a=a+1|0;if((a|0)!=128){continue}break}k=g+884|0;l=g+372|0;i=g+72|0;a=0;a:{while(1){j=a<<2;f=q[j+b>>2];b:{if((f|0)==-1){o[a+i|0]=1;p[(a<<1)+l>>1]=65535;p[k+j>>1]=1;break b}if((f|0)<=-1){e=0;if(!c|(f|0)<-4){break a}o[a+i|0]=3-f;o[k+j|0]=0;p[(a<<1)+l>>1]=0;break b}if((f|0)<=127){e=r[f+490220|0];if(!(!e|(e|0)==28|(a|0)==(f|0))){return 0}o[a+i|0]=e;e=k+j|0;o[e+1|0]=f;o[e|0]=1;p[(a<<1)+l>>1]=f?f:-1;break b}c:{h=f>>>8|0;d:{if(h+ -216>>>0<8){break d}if((h|0)!=255){if(h){break c}if(!r[f+490220|0]){break d}break c}if((f|1)!=65535){break c}}o[a+i|0]=0;p[(a<<1)+l>>1]=65535;p[k+j>>1]=1;break b}if((f|0)>65535){return 0}e=1<<(f&31);m=(f>>>5&7)<<2;e:{if(e&q[(m|r[h+492528|0]<<5)+490512>>2]){o[a+i|0]=22;break e}n=a+i|0;if(e&q[(m|r[h+492784|0]<<5)+490512>>2]){o[n|0]=26;break e}o[n|0]=28}h=k+j|0;e=h;n=e;f:{if((f|0)<=2047){o[e+1|0]=f>>>6|192;m=2;e=f;break f}o[e+1|0]=f>>>12|224;o[h+3|0]=f&63|128;m=3;e=f>>>6|0}o[n+2|0]=e&63|128;o[h|0]=m;p[(a<<1)+l>>1]=f}a=a+1|0;if((a|0)!=256){continue}break}q[g+364>>2]=c;q[g+368>>2]=d;if(c){q[g+360>>2]=837;q[g+356>>2]=837;q[g+352>>2]=837;q[g+348>>2]=838;q[g+344>>2]=838;q[g+340>>2]=838;q[g+336>>2]=839;q[g+332>>2]=839;q[g+328>>2]=839}q[g+60>>2]=840;q[g+56>>2]=841;e=g}return e|0}function _V(a,b){var c=0,d=0,e=0,f=x(0),g=x(0),h=x(0),i=x(0);d=Da-32|0;Da=d;a:{if(!VV(a,d+16|0,d)){break a}e=q[b+4>>2];if((r[a|0]&24)==8){if(!e){break a}while(1){b:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break b}a=q[b+8>>2]+(c<<4)|0}u[a+4>>2]=u[d+4>>2]+u[a+4>>2];u[a+8>>2]=u[d+8>>2]+u[a+8>>2];c=c+1|0;if(c>>>0>>0){continue}break}if(!e){break a}h=u[d+16>>2];c=0;while(1){c:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break c}a=q[b+8>>2]+(c<<4)|0}i=u[d+24>>2];f=u[a+4>>2];g=u[a+8>>2];u[a+8>>2]=x(f*u[d+20>>2])+x(g*u[d+28>>2]);u[a+4>>2]=x(f*h)+x(g*i);c=c+1|0;if(c>>>0>>0){continue}break}break a}if(!e){break a}h=u[d+16>>2];while(1){d:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break d}a=q[b+8>>2]+(c<<4)|0}i=u[d+24>>2];f=u[a+4>>2];g=u[a+8>>2];u[a+8>>2]=x(f*u[d+20>>2])+x(g*u[d+28>>2]);u[a+4>>2]=x(f*h)+x(g*i);c=c+1|0;if(c>>>0>>0){continue}break}if(!e){break a}c=0;while(1){e:{if(e>>>0<=c>>>0){a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;e=q[b+4>>2];a=642976;break e}a=q[b+8>>2]+(c<<4)|0}u[a+4>>2]=u[d+4>>2]+u[a+4>>2];u[a+8>>2]=u[d+8>>2]+u[a+8>>2];c=c+1|0;if(c>>>0>>0){continue}break}}Da=d+32|0} +function xk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b>>2];j=r[d|0];a:{b:{if(!j){f=28;if(h){break a}h=1;k=1;break b}c:{if(!h|r[h|0]!=120|(r[h+1|0]!=109|r[h+2|0]!=108)){break c}f=r[h+3|0];if((f|0)==110){if(r[h+5|0]|r[h+4|0]!=115){break c}return 39}if(f){break c}l=!f;k=1;f=1;while(1){h=f;f=0;d:{if(!k){break d}if(g>>>0<=36){f=h;if(r[g+498272|0]==(j|0)){break d}}f=0}k=(f&255)!=0;h=1;g=g+1|0;j=r[g+d|0];if(j){continue}break}break b}k=1;h=1;f=1;while(1){i=f;f=0;e:{if(!k){break e}if(g>>>0<=36){f=i;if(r[g+498272|0]==(j|0)){break e}}f=0}i=0;f:{if(!(h&255)){break f}if(g>>>0<=29){i=h;if(r[g+498320|0]==(j|0)){break f}}i=0}h=i;k=(f&255)!=0;g=g+1|0;j=r[g+d|0];if(j){continue}break}}if(((g|0)==36&k)!=(l|0)){return l?38:40}if(h&255){f=40;if((g|0)==29){break a}}h=(r[a+468|0]!=0)+g|0;g=q[a+372>>2];g:{if(g){if((h|0)>q[g+24>>2]){f=h+24|0;i=n[q[a+16>>2]](q[g+16>>2],f)|0;if(!i){return 1}q[g+24>>2]=f;q[g+16>>2]=i}q[a+372>>2]=q[g+4>>2];break g}f=1;g=n[q[a+12>>2]](28)|0;if(!g){break a}f=h+24|0;i=n[q[a+12>>2]](f)|0;q[g+16>>2]=i;if(!i){n[q[a+20>>2]](g);return 1}q[g+24>>2]=f}q[g+20>>2]=h;Qa(q[g+16>>2],d,h);f=r[a+468|0];if(f){o[(h+q[g+16>>2]|0)+ -1|0]=f}q[g+12>>2]=c;q[g>>2]=b;q[g+8>>2]=q[b+4>>2];h=b;f=h;if(r[d|0]|(q[a+352>>2]+152|0)!=(h|0)){h=g}else{h=0}q[f+4>>2]=h;q[g+4>>2]=q[e>>2];q[e>>2]=g;f=0;if(!c){break a}c=q[a+100>>2];if(!c){break a}n[c](q[a+4>>2],q[b>>2],q[b+4>>2]?d:0)}return f}function LC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+16>>2];if(t[a+20>>2]>=f+8>>>0){g=q[a+32>>2];a:{b:{c:{c=q[f>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,c,0,0)>>16;break b}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break b}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break a}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break b}b=0;if(t[a+8>>2]<=c+4>>>0){break a}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}c=q[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=e>>>0){break a}b=(r[e|0]|d<<8)+ -63124|0;break b}b=0;if(c>>>0<=e>>>0){break a}b=64148-(r[e|0]|d<<8)|0}if((b|0)>=0){break a}return 3}q[g+120>>2]=b;d:{e:{f:{c=q[f+4>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break f}b=sc(a,c,0,0)>>16;break e}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break e}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break d}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break e}b=0;if(t[a+8>>2]<=c+4>>>0){break d}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e}b=d+ -139|0;if(d>>>0<=246){break e}a=q[a+8>>2];if(d>>>0<=250){b=0;if(a>>>0<=e>>>0){break d}b=(r[e|0]|d<<8)+ -63124|0;break e}b=0;if(a>>>0<=e>>>0){break d}b=64148-(r[e|0]|d<<8)|0}if((b|0)>=0){break d}return 3}q[g+116>>2]=b;a=0}else{a=161}return a|0}function vz(a,b,c){a=a|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,s=0;j=Da-16|0;Da=j;d=q[a+28>>2];e=q[a+16>>2];k=q[a+24>>2];q[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(d>>>0>=g>>>0){l=q[a+32>>2];break c}q[a+36>>2]=b;l=Oa(b,4,d,g,q[a+32>>2],j+12|0);q[a+32>>2]=l;if(q[j+12>>2]){break b}q[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=r[e+7|0]|r[e+8|0]<<8|(r[e+9|0]<<16|r[e+10|0]<<24);o=r[e|0];p=r[e+1|0];s=r[e+2|0];d:{e:{f:{b=r[e+3|0]|r[e+4|0]<<8|(r[e+5|0]<<16|r[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+q[a+16>>2]|0;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(i>>>0>=b>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+r[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+q[a+16>>2]|0;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[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+w(d,5)|0;f=h+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(f>>>0>=c>>>0){break g}i=d+1|0}if(i>>>0>>0){continue}break d}break}if(!(r[h+1|0]|r[h|0]<<8)){break d}}q[g>>2]=p<<8|o<<16|s;g=g+4|0}e=e+11|0;k=k+ -1|0;if(k){continue}break}}q[g>>2]=0;break a}l=0}Da=j+16|0;return l|0}function wk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Da-16|0;Da=k;e=q[a+352>>2];i=e+80|0;h=e+92|0;g=q[h>>2];a:{if((g|0)==q[e+88>>2]){if(!Ya(i)){b=0;break a}g=q[h>>2]}q[h>>2]=g+1;o[g|0]=0;q[k+12>>2]=c;b:{c:{if(!q[h>>2]){if(!Ya(i)){break c}}while(1){if(n[q[b+56>>2]](b,k+12|0,d,h,q[e+88>>2])>>>0<2){break b}if(Ya(i)){continue}break}}b=0;break a}b=0;if(!q[e+96>>2]){break a}d=q[e+92>>2];if((d|0)==q[e+88>>2]){if(!Ya(i)){break a}d=q[h>>2]}q[e+92>>2]=d+1;o[d|0]=0;f=q[e+96>>2];if(!f){break a}j=f+1|0;g=ic(a,e+40|0,j,12);if(!g){break a}d:{if(q[g>>2]!=(j|0)){q[e+92>>2]=q[e+96>>2];break d}c=q[e+92>>2];q[e+96>>2]=c;if(!r[a+232|0]){break d}e:{d=r[j|0];if((d|0)!=120|r[f+2|0]!=109|(r[f+3|0]!=108|r[f+4|0]!=110)){break e}if(r[f+5|0]!=115){break e}b=r[f+6|0];f:{if((b|0)!=58){if(b){break e}q[g+4>>2]=e+152;break f}l=g,m=ic(a,e+60|0,f+7|0,8),q[l+4>>2]=m}o[g+9|0]=1;break d}b=0;while(1){d=d&255;if(!d){break d}g:{if((d|0)==58){f=q[e+88>>2]==(c|0);if(b){d=0;while(1){if(f){if(!Ya(i)){b=0;break a}c=q[h>>2]}f=r[d+j|0];q[e+92>>2]=c+1;o[c|0]=f;c=q[e+92>>2];f=(c|0)==q[e+88>>2];d=d+1|0;if((d|0)!=(b|0)){continue}break}}if(f){if(!Ya(i)){b=0;break a}c=q[h>>2]}q[e+92>>2]=c+1;b=0;o[c|0]=0;a=ic(a,e+60|0,q[e+96>>2],8);q[g+4>>2]=a;if(!a){break a}b=q[a>>2];a=q[e+96>>2];if((b|0)!=(a|0)){break g}q[e+96>>2]=q[e+92>>2];break d}b=b+1|0;d=r[j+b|0];continue}break}q[h>>2]=a}b=g}Da=k+16|0;return b}function JG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Da-272|0;Da=e;a:{if(r[b|0]){break a}b=Kb(508736);if(r[b|0]?b:0){break a}b=Kb(w(a,12)+508752|0);if(r[b|0]?b:0){break a}b=Kb(508824);if(r[b|0]?b:0){break a}b=508829}b:{while(1){d=r[b+c|0];if(!(!d|(d|0)==47)){f=15;c=c+1|0;if((c|0)!=15){continue}break b}break}f=c}d=508829;c:{d:{c=r[b|0];e:{f:{if(!(r[b+f|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!r[d+1|0]){break e}}if(!Ta(d,508829)){break e}if(Ta(d,508837)){break d}}if(!a){c=508660;if(r[d+1|0]==46){break c}}c=0;break c}c=q[161230];if(c){while(1){if(!Ta(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}c=q[161230];if(c){while(1){if(!Ta(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}b=0;g:{h:{i:{if(q[160945]){break i}c=Kb(508843);if(!c|!r[c|0]){break i}j=f+1|0;k=254-f|0;while(1){h=Ep(c,58);g=r[h|0];i=(h-c|0)-((g|0)!=0)|0;if(i>>>0>>0){Qa(e+16|0,c,i);c=i+(e+16|0)|0;o[c|0]=47;Qa(c+1|0,d,f);o[e+16+(i+j)|0]=0;g=ga(e+16|0,e+12|0)|0;if(g){c=Sa(28);if(c){break h}c=ka(g|0,q[e+12>>2])|0;if(c>>>0>=4294963201){q[160942]=0-c}break i}g=r[h|0]}c=((g|0)!=0)+h|0;if(r[c|0]){continue}break}}c=Sa(28);if(!c){break g}b=q[127166];q[c>>2]=q[127165];q[c+4>>2]=b;b=c+8|0;Qa(b,d,f);o[b+f|0]=0;q[c+24>>2]=q[161230];q[161230]=c;b=c;break g}q[c>>2]=g;q[c+4>>2]=q[e+12>>2];b=c+8|0;Qa(b,d,f);o[b+f|0]=0;q[c+24>>2]=q[161230];q[161230]=c;b=c}c=a|b?b:508660}Da=e+272|0;return c}function Jn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=q[d+8>>2];f=q[d+16>>2]+w(e,3)|0;k=s[g+(r[f+2|0]<<1)>>1];i=r[f+1|0];j=q[d+4>>2];h=j+s[g+(r[f|0]<<1)>>1]|0;f=r[h|0];a:{if(!f){g=0;break a}g=0;while(1){o[a+g|0]=r[h+1|0];g=g+1|0;h=h+1|0;f=f+ -1|0;if(f){continue}break}}b:{if(i>>>0<=9){c=c-i|0;break b}if((i+ -12&255)>>>0>8){break b}f=i+ -11|0;c=c-f|0;b=b+f|0}if((c|0)>=1){h=0;while(1){o[a+g|0]=r[b+h|0];g=g+1|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}}h=k+j|0;b=i+ -10|0;c:{if(b>>>0>12){break c}d:{switch(b-1|0){default:b=(g-c|0)+a|0;c=r[b|0];if(c>>>0<=191){if((c+ -97&255)>>>0>25){break c}o[b|0]=c^32;break c}if(c>>>0<=223){o[b+1|0]=r[b+1|0]^32;break c}o[b+2|0]=r[b+2|0]^5;break c;case 0:if((c|0)<1){break c}f=(g-c|0)+a|0;while(1){d=r[f|0];e:{f:{if(d>>>0<=191){b=1;if((d+ -97&255)>>>0>25){break e}d=d^32;e=f;b=1;break f}if(d>>>0<=223){e=f+1|0;d=r[f+1|0]^32;b=2;break f}e=f+2|0;d=r[f+2|0]^5;b=3}o[e|0]=d}f=b+f|0;c=c-b|0;if((c|0)>0){continue}break}break c;case 10:i=(g-c|0)+a|0;f=c;c=q[d+20>>2];b=e<<1;In(i,f,r[c+(b|1)|0]<<8|r[b+c|0]);break c;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break c;case 11:break d}}if((c|0)<1){break c}f=(g-c|0)+a|0;d=q[d+20>>2];b=e<<1;b=r[d+(b|1)|0]<<8|r[b+d|0];while(1){d=In(f,c,b);f=d+f|0;c=c-d|0;if((c|0)>0){continue}break}}c=r[h|0];if(c){while(1){o[a+g|0]=r[h+1|0];g=g+1|0;h=h+1|0;c=c+ -1|0;if(c){continue}break}}return g}function ao(a,b,c,d){a=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,p=0,r=0,u=0,v=0;j=Da-16|0;Da=j;q[j+12>>2]=0;k=q[a+4>>2];r=q[k+8>>2];a:{b:{if(d?0:c){break b}o[a|0]=0;if(t[k+3112>>2]<=b>>>0|(s[k+3120>>1]!=(c|0)?c:0)){break b}g=q[k+3116>>2];p=q[g+(b<<3)>>2];h=p+1|0;f=Oa(r,1,q[a+20>>2]<<2,h<<2,q[a+24>>2],j+12|0);q[a+24>>2]=f;e=q[j+12>>2];if(e){break a}q[a+20>>2]=h;c:{if(!h){break c}u=g+(b<<3)|0;h=0;if(c){while(1){d:{if(h){n=h<<2;e=q[(n+q[u+4>>2]|0)+ -4>>2];if(e>>>0>=t[k+3124>>2]){break b}g=q[k+3128>>2];q[f+n>>2]=65536;v=g+(e<<2)|0;e=0;while(1){f=65536;i=q[v>>2]+w(e,12)|0;g=q[i+4>>2];l=q[i>>2];e:{if((g|0)<(l|0)){break e}m=q[i+8>>2];if(!g|(m|0)<(g|0)|(l|0)<0&(m|0)>0){break e}f=0;i=q[(e<<2)+d>>2];if((i|0)<(l|0)|(m|0)<(i|0)){break e}f=65536;if((g|0)==(i|0)){break e}if((i|0)>=(g|0)){f=Za(m-i|0,m-g|0);break e}f=Za(i-l|0,g-l|0)}g=Ma(q[q[a+24>>2]+n>>2],f);f=q[a+24>>2];q[n+f>>2]=g;e=e+1|0;if((e|0)!=(c|0)){continue}break}break d}q[f>>2]=65536}e=(h|0)==(p|0);h=h+1|0;if(!e){continue}break c}}while(1){f:{if(!h){q[f>>2]=65536;break f}e=h<<2;if(t[(e+q[u+4>>2]|0)+ -4>>2]>=t[k+3124>>2]){break b}q[e+f>>2]=0}e=(h|0)!=(p|0);h=h+1|0;if(e){continue}break}}q[a+8>>2]=b;if(c){b=c<<2;f=Oa(r,1,q[a+12>>2]<<2,b,q[a+16>>2],j+12|0);q[a+16>>2]=f;e=q[j+12>>2];if(e){break a}Qa(f,d,b)}o[a|0]=1;q[a+12>>2]=c;e=q[j+12>>2];break a}e=3;q[j+12>>2]=3}Da=j+16|0;return e|0}function EQ(a,b,c,d){a=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=Da-400|0;Da=i;e=q[c+4>>2];f=q[b+4>>2];c=q[c>>2];b=q[b>>2];g=q[a>>2];a=q[a+4>>2];q[i+20>>2]=a<<2;q[i+16>>2]=g<<2;q[i+12>>2]=f<<2;q[i+8>>2]=b<<2;h=e<<2;q[i+4>>2]=h;l=c<<2;q[i>>2]=l;q[i+24>>2]=q[d+208>>2];b=q[d+212>>2];q[i+28>>2]=b;g=a>>6;a:{b:{m=e>>6;a=q[d+176>>2];f=f>>6;c:{d:{if(!((f|0)>=(a|0)?(m|0)>=(a|0):0)){e=b>>8;break d}e=b>>8;if((g|0)<(a|0)){break d}if((e|0)>=(a|0)){break c}}c=0;a=q[d+172>>2];if((e|0)>=(a|0)|(g|0)>=(a|0)|((m|0)>=(a|0)|(f|0)>=(a|0))){break b}}q[d+212>>2]=h;q[d+208>>2]=l;break a}while(1){a=c+3|0;h=q[(a<<3)+i>>2];b=(c<<3)+i|0;m=q[b+8>>2];g=q[b>>2];f=h+(w(m,-3)+(g<<1)|0)|0;e=f>>31;e:{if((e^e+f)>=129){l=q[b+12>>2];e=q[b+28>>2];f=q[b+4>>2];break e}e=q[b+28>>2];l=q[b+12>>2];f=q[b+4>>2];k=e+(w(l,-3)+(f<<1)|0)|0;j=k>>31;if((j^j+k)>128){break e}k=(g+(h<<1)|0)+w(q[b+16>>2],-3)|0;j=k>>31;if((j^j+k)>128){break e}k=((e<<1)+f|0)+w(q[b+20>>2],-3)|0;j=k>>31;if((j^j+k)>128){break e}Gl(d,g,f);if(!c){break a}c=c+ -3|0;continue}q[b+48>>2]=h;q[b+52>>2]=e;c=g+m|0;q[b+8>>2]=c>>1;f=f+l|0;q[b+12>>2]=f>>1;g=q[b+16>>2];h=g+h|0;q[b+40>>2]=h>>1;j=c;c=g+m|0;g=j+c|0;q[b+16>>2]=g>>2;c=c+h|0;q[b+32>>2]=c>>2;j=e;e=q[b+20>>2];h=j+e|0;q[b+44>>2]=h>>1;q[b+24>>2]=c+g>>3;c=e+l|0;e=c+f|0;q[b+20>>2]=e>>2;c=c+h|0;q[b+36>>2]=c>>2;q[b+28>>2]=c+e>>3;c=a;continue}}Da=i+400|0;return 0}function cQ(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=q[a+28>>2];if(!r[e+44|0]){f=q[b+4>>2];g=q[b>>2];o[e+44|0]=1;d=q[e+20>>2];if(!d){c=3;break b}c:{if(r[e+45|0]){c=q[e+12>>2];if((p[c+20>>1]+p[c+56>>1]|0)+1>>>0>t[c+8>>2]){c=Xb(c,0,1);if(c){break b}}h=s[d>>1];c=h<<16>>16;if((c|0)<1){break c}p[(q[d+12>>2]+(h<<1)|0)+ -2>>1]=s[d+2>>1]+ -1}c=s[d>>1]}p[d>>1]=c+1;c=q[e+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+1>>>0>t[c+4>>2]){c=Xb(c,1,0);if(c){break b}}c=q[e+20>>2];if(r[e+45|0]){d=q[c+8>>2];h=p[c+2>>1];i=q[c+4>>2]+(h<<3)|0;q[i+4>>2]=f>>10;q[i>>2]=g>>10;o[d+h|0]=1}p[c+2>>1]=s[c+2>>1]+1}d:{c=q[e+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+3>>>0<=t[c+4>>2]){break d}c=Xb(c,3,0);if(!c){break d}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c;return}a=q[e+20>>2];e:{f:{g:{if(!r[e+45|0]){p[a+2>>1]=s[a+2>>1]+1;break g}c=q[a+8>>2];d=q[b+8>>2];f=p[a+2>>1];g=q[a+4>>2]+(f<<3)|0;q[g+4>>2]=q[b+12>>2]>>10;q[g>>2]=d>>10;o[c+f|0]=2;d=r[e+45|0];c=q[e+20>>2];p[a+2>>1]=s[a+2>>1]+1;if(d){break f}a=c}p[a+2>>1]=s[a+2>>1]+1;break e}a=q[c+8>>2];d=q[b+16>>2];f=p[c+2>>1];g=q[c+4>>2]+(f<<3)|0;q[g+4>>2]=q[b+20>>2]>>10;q[g>>2]=d>>10;o[a+f|0]=2;d=r[e+45|0];a=q[e+20>>2];p[c+2>>1]=s[c+2>>1]+1;if(!d){break e}c=q[a+8>>2];e=q[b+24>>2];d=p[a+2>>1];f=q[a+4>>2]+(d<<3)|0;q[f+4>>2]=q[b+28>>2]>>10;q[f>>2]=e>>10;o[c+d|0]=1}p[a+2>>1]=s[a+2>>1]+1;break a}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c}}function fU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Da-80|0;Da=h;a:{if(!Nb(b,a,6)){break a}l=q[c+4>>2];j=a+4|0;if(!Nb(b,j,2)){break a}i=(l<<8&16711680|l<<24)>>>16|0;o[a+4|0]=i;o[a+5|0]=i>>>8;k=(l&65280)>>>8|0;i=l;b:{if(l>>>0<65536){break b}i=l;if(!r[b+20|0]){break b}o[b+20|0]=0;k=r[a+4|0];i=r[a+5|0]}if(!Nb(b,j,((k&255)<<9|(i&255)<<1)+2|0)){break a}if(l){w=s[135656];x=q[d>>2];y=q[d+4>>2];k=0;while(1){d=q[(y>>>0>k>>>0?(k<<2)+x|0:271312)>>2];c:{if((r[a+5|0]|r[a+4|0]<<8)>>>0<=k>>>0){p[321488]=w;i=642976;break c}i=((k<<1)+a|0)+6|0}t=q[b+4>>2];j=t-a|0;m=(j<<24|j<<8&16711680)>>>16|0;o[i|0]=m;o[i+1|0]=m>>>8;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0}i=q[e+4>>2];u=q[e>>2];q[h+72>>2]=0;q[h+64>>2]=u;j=i>>>0>d>>>0?d:i;q[h+68>>2]=j;m=q[f+4>>2];v=q[f>>2];q[h+40>>2]=0;q[h+24>>2]=0;q[h+48>>2]=v;d=m>>>0>d>>>0?d:m;q[h+52>>2]=d;q[h+56>>2]=0;n=q[h+68>>2];q[h+32>>2]=q[h+64>>2];q[h+36>>2]=n;n=q[h+52>>2];q[h+16>>2]=q[h+48>>2];q[h+20>>2]=n;if(!cU(t,b,h+32|0,h+16|0,g)){break a}q[e+4>>2]=i-j;q[e+8>>2]=j+q[e+8>>2];q[e>>2]=(j<<1)+u;q[f+4>>2]=m-d;q[f>>2]=(d<<2)+v;q[f+8>>2]=d+q[f+8>>2];k=k+1|0;if((l|0)!=(k|0)){continue}break}}e=q[b+4>>2];d=e-a|0;f=(d<<24|d<<8&16711680)>>>16|0;o[a+2|0]=f;o[a+3|0]=f>>>8;if(!(!r[b+20|0]|d>>>0<65536)){o[b+20|0]=0}q[h+8>>2]=q[c+8>>2];a=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=a;z=bU(e,b,h)}Da=h+80|0;return z}function Jf(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;k=r[a+1|0];if(!(k|r[a|0]<<8)){return 0}l=q[b+112>>2];i=q[b+88>>2];if(k&1){j=q[e+8>>2];h=r[d+1|0]|r[d|0]<<8;g=h<<16;f=g>>31;f=V$(q[i+32>>2],q[i+36>>2],g>>16,f);q[e+8>>2]=j+((Ea&65535)<<16|f>>>16);h=(h|0)!=0;d=d+2|0}if(k&2){m=q[e+12>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=V$(q[i+40>>2],q[i+44>>2],g>>16,f);q[e+12>>2]=m+((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h;d=d+2|0}l=l&-2;if(k&4){if((l|0)==4){m=q[e>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=V$(q[i+32>>2],q[i+36>>2],g>>16,f);q[e>>2]=m+((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}if(k&8){if((l|0)!=4){m=q[e+4>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=V$(q[i+40>>2],q[i+44>>2],g>>16,f);q[e+4>>2]=m-((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}a:{if(r[a+1|0]<16){break a}f=1;a=1;a=q[i+48>>2]?a:q[i+60>>2]!=0;if(!q[i+52>>2]){f=q[i+60>>2]!=0;if((f|a)!=1){break a}}b=q[b+108>>2];if(k&16){if(a){g=r[d+1|0]|r[d|0]<<8;n=e,o=Fm(g?g+c|0:271312,i,b)+q[e+8>>2]|0,q[n+8>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&32){if(f){g=r[d+1|0]|r[d|0]<<8;n=e,o=Em(g?g+c|0:271312,i,b)+q[e+12>>2]|0,q[n+12>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&64){if(!(a^1|(l|0)!=4)){a=r[d+1|0]|r[d|0]<<8;n=e,o=Fm(a?a+c|0:271312,i,b)+q[e>>2]|0,q[n>>2]=o;h=(a|0)!=0|h}d=d+2|0}if(!(k&128)|(l|0)==4|f^1){break a}a=r[d+1|0]|r[d|0]<<8;b=Em(a?a+c|0:271312,i,b);q[e+4>>2]=q[e+4>>2]-b;h=(a|0)!=0|h}return h}function uV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[e+12>>2]=c;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<=3){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}q[e+8>>2]=0;if(!rV(a,b,e+12|0)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if(!d){break a}f=d<<24;g=r[a+3|0]|(f|r[a+1|0]<<16|r[a+2|0]<<8);c=g?a+4|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break a}c=1;f=f|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>1){while(1){h=w(c,6)+a|0;d=g>>>0>c+ -1>>>0?h+ -2|0:271312;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=g>>>0>c>>>0?h+4|0:271312;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(i>>>0>=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=f+ -1|0;c=(g>>>0>c>>>0?(w(c,6)+a|0)+4|0:271312)+6|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=c<<24;Da=e+16|0;c=(d|c<<8&16711680|(c>>>8&65280|c>>>24))+ -1|0;a=(r[a+3|0]|(d|r[a+1|0]<<16|r[a+2|0]<<8))>>>0>c>>>0?(w(c,6)+a|0)+4|0:271312;a=r[a+6|0]|r[a+7|0]<<8|(r[a+8|0]<<16|r[a+9|0]<<24);return q[b+32>>2]==(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))}Da=e+16|0;return 0}function _v(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(r[b+5|0]|r[b+4|0]<<8?0:(r[b+3|0]|r[b+2|0]<<8)==65535){break a}f=q[a+100>>2];q[a+100>>2]=f+1;if(f>>>0>2e3){break a}if($v(a,b,a+52|0)){break a}if(c){h=q[c>>2];if(!h){break a}while(1){f=c;i=r[b+5|0]|r[b+4|0]<<8;b:{if(!i){break b}g=q[a>>2];c=0;while(1){d=(c<<1)+b|0;j=r[d+7|0];d=j|r[d+6|0]<<8;if((d|0)!=65535){e=r[g+7|0]|r[g+6|0]<<8;e=e?e+g|0:271312;e=(r[e+1|0]|r[e|0]<<8)>>>0>d>>>0?(e+w(d,6)|0)+2|0:271312;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}else{e=0}if((e|0)!=(h|0)){c=c+1|0;if((i|0)==(c|0)){break b}continue}break}c=q[a+4>>2];if(r[c+12|0]!=1){break b}q[c+16>>2]=-1;c=ac(c,d);if(!c){break b}d=c+(d>>>3&56)|0;c=d;e=q[c+4>>2];h=c;i=q[c>>2];g=j&63;d=g&31;if(32<=(g&63)>>>0){g=1<>>32-d;d=1<>2]=i|d;q[c+4>>2]=e|g}c=f+4|0;h=q[f+4>>2];if(h){continue}break}break a}c:{if((r[b+3|0]|r[b+2|0]<<8)==65535){break c}c=q[a+104>>2]+1|0;q[a+104>>2]=c;if(c>>>0>1500){break c}c=q[a+4>>2];if(r[c+12|0]!=1){break c}d=r[b+2|0];f=r[b+3|0];q[c+16>>2]=-1;h=c;c=f|d<<8;d=ac(h,c);if(!d){break c}d=d+(c>>>3&56)|0;c=d;g=q[c+4>>2];h=c;e=q[c>>2];d=f&63;f=d&31;if(32<=(d&63)>>>0){d=1<>>32-f;f=1<>2]=e|f;q[c+4>>2]=d|g}c=q[a+104>>2]+(r[b+5|0]|r[b+4|0]<<8)|0;q[a+104>>2]=c;if(c>>>0>1500){break a}Gm(b+4|0,q[a+4>>2])}}function Cs(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=q[c+16>>2];a:{if(i&16){break a}k=q[c+28>>2];b:{g=o[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=o[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=q[(g<<2)+b>>2];j=k-q[h>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}q[c+24>>2]=h;q[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=q[(g<<2)+b>>2];j=(k-q[h>>2]|0)-q[h+4>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}q[c+24>>2]=h;q[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{if(i&n){g=0;if(!a){break a}while(1){h=q[(g<<2)+b>>2];j=k-q[h>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}q[c+24>>2]=h;q[c+16>>2]=i|528;break d}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=q[(g<<2)+b>>2];j=(k-q[h>>2]|0)-q[h+4>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}q[c+24>>2]=h;q[c+16>>2]=i|1040}if(q[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=q[(g<<2)+b>>2];h=q[i>>2];if(!((k|0)<(h|0)|(k|0)>(h+q[i+4>>2]|0))){q[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 Xn(a,b,c,d){a=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;q[d>>2]=0;q[d+4>>2]=0;h=b?b+ -1|0:0;b=q[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=q[a+424>>2];if(!b){break a}f=c<<4;c=q[a+416>>2];c=s[f+c>>1]|q[c+(h<<4)>>2]<<16;i=q[a+104>>2];while(1){if(!(c>>>0<=t[b+20>>2]?c>>>0>=t[b+16>>2]:0)){b=q[b>>2];if(b){continue}break a}break}e=Xa(i,q[b+12>>2]);if(e){break a}e=lb(i,w(q[b+8>>2],r[b+4|0]));if(e){break a}a=r[b+5|0];j=a&1;k=a>>>1&1;h=q[b+8>>2];e=q[i+32>>2];a=r[b+4|0];f=-2147483648>>>z(a)|0;a=a-f|0;b:{c:{d:{if(!a){break d}a=w(a,h)+e|0;e:{if(j){g=r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=r[a|0]<<16;a=a+2|0}g=r[l|0]|g;if((g|0)==(c|0)){break c}if(g>>>0>=c>>>0){break d}e=(k?2:1)+a|0}a=w(f,h);f:{if(a>>>0<=h>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=r[f|0]<<16|r[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=g>>>0>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[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=g>>>0>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=r[e+1|0]<<16|r[e|0]<<24|r[e+2|0]<<8;a=e+4|0;break g}h=1;f=r[e|0]<<16;a=e+2|0}if((c|0)!=(f|r[e+h|0])){break b}}c=r[a|0];if(k){c=(r[a+1|0]|c<<8)<<16>>16}q[d>>2]=p[b+6>>1]+c}jb(i);e=0}return e|0}function Vg(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=c;a:{b:{if(!q[b>>2]){break b}if(!q[c>>2]){d=b;break b}h=1;d=b;if(q[c+8>>2]>2]){break a}}g=q[a+20>>2];c:{if(!g){break c}b=q[d+8>>2];while(1){f=q[(w(e,20)+a|0)+36>>2];if((f|0)<(b|0)){e=e+1|0;if(e>>>0>>0){continue}break c}break}if(r[(w(e,20)+a|0)+28|0]&8|((b|0)==(f|0)|((f|0)<=q[c+8>>2]?h:0))){break a}}b=q[a+4>>2];d:{if(!r[b+12|0]|r[d|0]&16){break d}if(h){b=le(b,(q[d+8>>2]+q[c+8>>2]|0)/2|0);f=Ma((q[c+8>>2]-q[d+8>>2]|0)/2|0,q[a+16>>2]);q[d+12>>2]=b-f;q[c+12>>2]=b+f;break d}n=d,o=le(b,q[d+8>>2]),q[n+12>>2]=o}if(q[d+12>>2]>2]?e:0){break a}f=q[a+20>>2];e:{if(f>>>0<=e>>>0){break e}if(h){if(q[c+12>>2]<=q[(w(e,20)+a|0)+40>>2]){break e}break a}if(q[d+12>>2]>q[(w(e,20)+a|0)+40>>2]){break a}}b=f+h|0;if(b>>>0>191){break a}j=f-e|0;if(j){l=a+28|0;while(1){f=f+ -1|0;g=w(f,20)+l|0;m=q[g+4>>2];k=w(b,20)+l|0;i=k;q[i>>2]=q[g>>2];q[i+4>>2]=m;q[i+16>>2]=q[g+16>>2];i=q[g+12>>2];q[k+8>>2]=q[g+8>>2];q[k+12>>2]=i;b=b+ -1|0;j=j+ -1|0;if(j){continue}break}}b=w(e,20)+a|0;q[b+44>>2]=q[d+16>>2];e=q[d+12>>2];q[b+36>>2]=q[d+8>>2];q[b+40>>2]=e;e=q[d+4>>2];q[b+28>>2]=q[d>>2];q[b+32>>2]=e;q[a+20>>2]=q[a+20>>2]+1;if(!h){break a}q[b- -64>>2]=q[c+16>>2];d=q[c+12>>2];q[b+56>>2]=q[c+8>>2];q[b+60>>2]=d;d=q[c+4>>2];q[b+48>>2]=q[c>>2];q[b+52>>2]=d;q[a+20>>2]=q[a+20>>2]+1}} -function Kn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=q[d+8>>2];g=q[d+16>>2]+w(e,3)|0;l=s[f+(r[g+2|0]<<1)>>1];j=r[g+1|0];k=q[d+4>>2];h=k+s[f+(r[g|0]<<1)>>1]|0;g=r[h|0];if(g){f=0;i=g;while(1){o[a+f|0]=r[h+1|0];f=f+1|0;h=h+1|0;i=i+ -1|0;if(i){continue}break}}a:{if(j>>>0<=9){c=c-j|0;break a}if((j+ -12&255)>>>0>8){break a}f=j+ -11|0;c=c-f|0;b=b+f|0}if((c|0)>=1){h=0;f=g;while(1){o[a+f|0]=r[b+h|0];f=f+1|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}g=c+g|0}h=l+k|0;b=j+ -10|0;b:{if(b>>>0>12){break b}c:{switch(b-1|0){default:b=(g-c|0)+a|0;c=r[b|0];if(c>>>0<=191){if((c+ -97&255)>>>0>25){break b}o[b|0]=c^32;break b}if(c>>>0<=223){o[b+1|0]=r[b+1|0]^32;break b}o[b+2|0]=r[b+2|0]^5;break b;case 0:if((c|0)<1){break b}f=(g-c|0)+a|0;while(1){b=r[f|0];d:{e:{if(b>>>0<=191){i=1;if((b+ -97&255)>>>0>25){break d}d=f;b=b^32;break e}if(b>>>0<=223){d=f+1|0;i=2;b=r[f+1|0]^32;break e}d=f+2|0;i=3;b=r[f+2|0]^5}o[d|0]=b}f=f+i|0;c=c-i|0;if((c|0)>0){continue}break}break b;case 10:i=(g-c|0)+a|0;f=c;c=q[d+20>>2];b=e<<1;Jn(i,f,r[c+(b|1)|0]<<8|r[b+c|0]);break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break b;case 11:break c}}if((c|0)<1){break b}f=(g-c|0)+a|0;d=q[d+20>>2];b=e<<1;b=r[d+(b|1)|0]<<8|r[b+d|0];while(1){d=Jn(f,c,b);f=d+f|0;c=c-d|0;if((c|0)>0){continue}break}}b=r[h|0];if(b){c=b;f=g;while(1){o[a+f|0]=r[h+1|0];f=f+1|0;h=h+1|0;c=c+ -1|0;if(c){continue}break}g=b+g|0}return g}function xk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b>>2];j=r[d|0];a:{b:{if(!j){f=28;if(h){break a}h=1;k=1;break b}c:{if(!h|r[h|0]!=120|(r[h+1|0]!=109|r[h+2|0]!=108)){break c}f=r[h+3|0];if((f|0)==110){if(r[h+5|0]|r[h+4|0]!=115){break c}return 39}if(f){break c}l=!f;k=1;f=1;while(1){h=f;f=0;d:{if(!k){break d}if(g>>>0<=36){f=h;if(r[g+498272|0]==(j|0)){break d}}f=0}k=(f&255)!=0;h=1;g=g+1|0;j=r[g+d|0];if(j){continue}break}break b}k=1;h=1;f=1;while(1){i=f;f=0;e:{if(!k){break e}if(g>>>0<=36){f=i;if(r[g+498272|0]==(j|0)){break e}}f=0}i=0;f:{if(!(h&255)){break f}if(g>>>0<=29){i=h;if(r[g+498320|0]==(j|0)){break f}}i=0}h=i;k=(f&255)!=0;g=g+1|0;j=r[g+d|0];if(j){continue}break}}if(((g|0)==36&k)!=(l|0)){return l?38:40}if(h&255){f=40;if((g|0)==29){break a}}h=(r[a+468|0]!=0)+g|0;g=q[a+372>>2];g:{if(g){if((h|0)>q[g+24>>2]){f=h+24|0;i=n[q[a+16>>2]](q[g+16>>2],f)|0;if(!i){return 1}q[g+24>>2]=f;q[g+16>>2]=i}q[a+372>>2]=q[g+4>>2];break g}f=1;g=n[q[a+12>>2]](28)|0;if(!g){break a}f=h+24|0;i=n[q[a+12>>2]](f)|0;q[g+16>>2]=i;if(!i){n[q[a+20>>2]](g);return 1}q[g+24>>2]=f}q[g+20>>2]=h;Qa(q[g+16>>2],d,h);f=r[a+468|0];if(f){o[(h+q[g+16>>2]|0)+ -1|0]=f}q[g+12>>2]=c;q[g>>2]=b;q[g+8>>2]=q[b+4>>2];h=b;f=h;if(r[d|0]|(q[a+352>>2]+152|0)!=(h|0)){h=g}else{h=0}q[f+4>>2]=h;q[g+4>>2]=q[e>>2];q[e>>2]=g;f=0;if(!c){break a}c=q[a+100>>2];if(!c){break a}n[c](q[a+4>>2],q[b>>2],q[b+4>>2]?d:0)}return f}function LC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a+16>>2];if(t[a+20>>2]>=f+8>>>0){g=q[a+32>>2];a:{b:{c:{c=q[f>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,c,0,0)>>16;break b}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break b}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break a}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break b}b=0;if(t[a+8>>2]<=c+4>>>0){break a}b=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}c=q[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=e>>>0){break a}b=(r[e|0]|d<<8)+ -63124|0;break b}b=0;if(c>>>0<=e>>>0){break a}b=64148-(r[e|0]|d<<8)|0}if((b|0)>=0){break a}return 3}q[g+120>>2]=b;d:{e:{f:{c=q[f+4>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break f}b=sc(a,c,0,0)>>16;break e}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break e}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break d}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break e}b=0;if(t[a+8>>2]<=c+4>>>0){break d}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break e}b=d+ -139|0;if(d>>>0<=246){break e}a=q[a+8>>2];if(d>>>0<=250){b=0;if(a>>>0<=e>>>0){break d}b=(r[e|0]|d<<8)+ -63124|0;break e}b=0;if(a>>>0<=e>>>0){break d}b=64148-(r[e|0]|d<<8)|0}if((b|0)>=0){break d}return 3}q[g+116>>2]=b;a=0}else{a=161}return a|0}function vz(a,b,c){a=a|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,s=0;j=Da-16|0;Da=j;d=q[a+28>>2];e=q[a+16>>2];k=q[a+24>>2];q[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(d>>>0>=g>>>0){l=q[a+32>>2];break c}q[a+36>>2]=b;l=Oa(b,4,d,g,q[a+32>>2],j+12|0);q[a+32>>2]=l;if(q[j+12>>2]){break b}q[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=r[e+7|0]|r[e+8|0]<<8|(r[e+9|0]<<16|r[e+10|0]<<24);o=r[e|0];p=r[e+1|0];s=r[e+2|0];d:{e:{f:{b=r[e+3|0]|r[e+4|0]<<8|(r[e+5|0]<<16|r[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+q[a+16>>2]|0;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(i>>>0>=b>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+r[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+q[a+16>>2]|0;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[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+w(d,5)|0;f=h+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(f>>>0>=c>>>0){break g}i=d+1|0}if(i>>>0>>0){continue}break d}break}if(!(r[h+1|0]|r[h|0]<<8)){break d}}q[g>>2]=p<<8|o<<16|s;g=g+4|0}e=e+11|0;k=k+ -1|0;if(k){continue}break}}q[g>>2]=0;break a}l=0}Da=j+16|0;return l|0}function wk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Da-16|0;Da=k;e=q[a+352>>2];i=e+80|0;h=e+92|0;g=q[h>>2];a:{if((g|0)==q[e+88>>2]){if(!Ya(i)){b=0;break a}g=q[h>>2]}q[h>>2]=g+1;o[g|0]=0;q[k+12>>2]=c;b:{c:{if(!q[h>>2]){if(!Ya(i)){break c}}while(1){if(n[q[b+56>>2]](b,k+12|0,d,h,q[e+88>>2])>>>0<2){break b}if(Ya(i)){continue}break}}b=0;break a}b=0;if(!q[e+96>>2]){break a}d=q[e+92>>2];if((d|0)==q[e+88>>2]){if(!Ya(i)){break a}d=q[h>>2]}q[e+92>>2]=d+1;o[d|0]=0;f=q[e+96>>2];if(!f){break a}j=f+1|0;g=ic(a,e+40|0,j,12);if(!g){break a}d:{if(q[g>>2]!=(j|0)){q[e+92>>2]=q[e+96>>2];break d}c=q[e+92>>2];q[e+96>>2]=c;if(!r[a+232|0]){break d}e:{d=r[j|0];if((d|0)!=120|r[f+2|0]!=109|(r[f+3|0]!=108|r[f+4|0]!=110)){break e}if(r[f+5|0]!=115){break e}b=r[f+6|0];f:{if((b|0)!=58){if(b){break e}q[g+4>>2]=e+152;break f}l=g,m=ic(a,e+60|0,f+7|0,8),q[l+4>>2]=m}o[g+9|0]=1;break d}b=0;while(1){d=d&255;if(!d){break d}g:{if((d|0)==58){f=q[e+88>>2]==(c|0);if(b){d=0;while(1){if(f){if(!Ya(i)){b=0;break a}c=q[h>>2]}f=r[d+j|0];q[e+92>>2]=c+1;o[c|0]=f;c=q[e+92>>2];f=(c|0)==q[e+88>>2];d=d+1|0;if((d|0)!=(b|0)){continue}break}}if(f){if(!Ya(i)){b=0;break a}c=q[h>>2]}q[e+92>>2]=c+1;b=0;o[c|0]=0;a=ic(a,e+60|0,q[e+96>>2],8);q[g+4>>2]=a;if(!a){break a}b=q[a>>2];a=q[e+96>>2];if((b|0)!=(a|0)){break g}q[e+96>>2]=q[e+92>>2];break d}b=b+1|0;d=r[j+b|0];continue}break}q[h>>2]=a}b=g}Da=k+16|0;return b}function JG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Da-272|0;Da=e;a:{if(r[b|0]){break a}b=Kb(508736);if(r[b|0]?b:0){break a}b=Kb(w(a,12)+508752|0);if(r[b|0]?b:0){break a}b=Kb(508824);if(r[b|0]?b:0){break a}b=508829}b:{while(1){d=r[b+c|0];if(!(!d|(d|0)==47)){f=15;c=c+1|0;if((c|0)!=15){continue}break b}break}f=c}d=508829;c:{d:{c=r[b|0];e:{f:{if(!(r[b+f|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!r[d+1|0]){break e}}if(!Ta(d,508829)){break e}if(Ta(d,508837)){break d}}if(!a){c=508660;if(r[d+1|0]==46){break c}}c=0;break c}c=q[161230];if(c){while(1){if(!Ta(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}c=q[161230];if(c){while(1){if(!Ta(d,c+8|0)){break c}c=q[c+24>>2];if(c){continue}break}}b=0;g:{h:{i:{if(q[160945]){break i}c=Kb(508843);if(!c|!r[c|0]){break i}j=f+1|0;k=254-f|0;while(1){h=Fp(c,58);g=r[h|0];i=(h-c|0)-((g|0)!=0)|0;if(i>>>0>>0){Qa(e+16|0,c,i);c=i+(e+16|0)|0;o[c|0]=47;Qa(c+1|0,d,f);o[e+16+(i+j)|0]=0;g=ga(e+16|0,e+12|0)|0;if(g){c=Sa(28);if(c){break h}c=ka(g|0,q[e+12>>2])|0;if(c>>>0>=4294963201){q[160942]=0-c}break i}g=r[h|0]}c=((g|0)!=0)+h|0;if(r[c|0]){continue}break}}c=Sa(28);if(!c){break g}b=q[127166];q[c>>2]=q[127165];q[c+4>>2]=b;b=c+8|0;Qa(b,d,f);o[b+f|0]=0;q[c+24>>2]=q[161230];q[161230]=c;b=c;break g}q[c>>2]=g;q[c+4>>2]=q[e+12>>2];b=c+8|0;Qa(b,d,f);o[b+f|0]=0;q[c+24>>2]=q[161230];q[161230]=c;b=c}c=a|b?b:508660}Da=e+272|0;return c}function _M(a,b,c,d,e){a=a|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(!d){break a}if(!e){while(1){a=a+16|0;g=g+16|0;if(g>>>0>>0){continue}break}break a}l=e<<5;while(1){g=c;j=0;i=a;while(1){h=j<<5&32;f=p[g>>1];o[i|0]=s[h+438032>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+2>>1];o[i+1|0]=s[h+438034>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+4>>1];o[i+2|0]=s[h+438036>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+6>>1];o[i+3|0]=s[h+438038>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+8>>1];o[i+4|0]=s[h+438040>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+10>>1];o[i+5|0]=s[h+438042>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+12>>1];o[i+6|0]=s[h+438044>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+14>>1];o[i+7|0]=s[h+438046>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+16>>1];o[i+8|0]=s[h+438048>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+18>>1];o[i+9|0]=s[h+438050>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+20>>1];o[i+10|0]=s[h+438052>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+22>>1];o[i+11|0]=s[h+438054>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+24>>1];o[i+12|0]=s[h+438056>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+26>>1];o[i+13|0]=s[h+438058>>1]+(f-(f>>>8|0)|0)>>>6;f=p[g+28>>1];o[i+14|0]=s[h+438060>>1]+(f-(f>>>8|0)|0)>>>6;f=s[h+438062>>1];h=p[g+30>>1];o[i+15|0]=f+(h-(h>>>8|0)|0)>>>6;g=g+32|0;i=b+i|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+16|0;c=c+l|0;k=k+16|0;if(k>>>0>>0){continue}break}}b:{if(!e){break b}c=b-(d+15&-16)|0;if(!c){break b}g=0;while(1){Na(w(b,g)+a|0,0,c);g=g+1|0;if((g|0)!=(e|0)){continue}break}}}function bo(a,b,c,d){a=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,p=0,r=0,u=0,v=0;j=Da-16|0;Da=j;q[j+12>>2]=0;k=q[a+4>>2];r=q[k+8>>2];a:{b:{if(d?0:c){break b}o[a|0]=0;if(t[k+3112>>2]<=b>>>0|(s[k+3120>>1]!=(c|0)?c:0)){break b}g=q[k+3116>>2];p=q[g+(b<<3)>>2];h=p+1|0;f=Oa(r,1,q[a+20>>2]<<2,h<<2,q[a+24>>2],j+12|0);q[a+24>>2]=f;e=q[j+12>>2];if(e){break a}q[a+20>>2]=h;c:{if(!h){break c}u=g+(b<<3)|0;h=0;if(c){while(1){d:{if(h){n=h<<2;e=q[(n+q[u+4>>2]|0)+ -4>>2];if(e>>>0>=t[k+3124>>2]){break b}g=q[k+3128>>2];q[f+n>>2]=65536;v=g+(e<<2)|0;e=0;while(1){f=65536;i=q[v>>2]+w(e,12)|0;g=q[i+4>>2];l=q[i>>2];e:{if((g|0)<(l|0)){break e}m=q[i+8>>2];if(!g|(m|0)<(g|0)|(l|0)<0&(m|0)>0){break e}f=0;i=q[(e<<2)+d>>2];if((i|0)<(l|0)|(m|0)<(i|0)){break e}f=65536;if((g|0)==(i|0)){break e}if((i|0)>=(g|0)){f=Za(m-i|0,m-g|0);break e}f=Za(i-l|0,g-l|0)}g=Ma(q[q[a+24>>2]+n>>2],f);f=q[a+24>>2];q[n+f>>2]=g;e=e+1|0;if((e|0)!=(c|0)){continue}break}break d}q[f>>2]=65536}e=(h|0)==(p|0);h=h+1|0;if(!e){continue}break c}}while(1){f:{if(!h){q[f>>2]=65536;break f}e=h<<2;if(t[(e+q[u+4>>2]|0)+ -4>>2]>=t[k+3124>>2]){break b}q[e+f>>2]=0}e=(h|0)!=(p|0);h=h+1|0;if(e){continue}break}}q[a+8>>2]=b;if(c){b=c<<2;f=Oa(r,1,q[a+12>>2]<<2,b,q[a+16>>2],j+12|0);q[a+16>>2]=f;e=q[j+12>>2];if(e){break a}Qa(f,d,b)}o[a|0]=1;q[a+12>>2]=c;e=q[j+12>>2];break a}e=3;q[j+12>>2]=3}Da=j+16|0;return e|0}function EQ(a,b,c,d){a=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=Da-400|0;Da=i;e=q[c+4>>2];f=q[b+4>>2];c=q[c>>2];b=q[b>>2];g=q[a>>2];a=q[a+4>>2];q[i+20>>2]=a<<2;q[i+16>>2]=g<<2;q[i+12>>2]=f<<2;q[i+8>>2]=b<<2;h=e<<2;q[i+4>>2]=h;l=c<<2;q[i>>2]=l;q[i+24>>2]=q[d+208>>2];b=q[d+212>>2];q[i+28>>2]=b;g=a>>6;a:{b:{m=e>>6;a=q[d+176>>2];f=f>>6;c:{d:{if(!((f|0)>=(a|0)?(m|0)>=(a|0):0)){e=b>>8;break d}e=b>>8;if((g|0)<(a|0)){break d}if((e|0)>=(a|0)){break c}}c=0;a=q[d+172>>2];if((e|0)>=(a|0)|(g|0)>=(a|0)|((m|0)>=(a|0)|(f|0)>=(a|0))){break b}}q[d+212>>2]=h;q[d+208>>2]=l;break a}while(1){a=c+3|0;h=q[(a<<3)+i>>2];b=(c<<3)+i|0;m=q[b+8>>2];g=q[b>>2];f=h+(w(m,-3)+(g<<1)|0)|0;e=f>>31;e:{if((e^e+f)>=129){l=q[b+12>>2];e=q[b+28>>2];f=q[b+4>>2];break e}e=q[b+28>>2];l=q[b+12>>2];f=q[b+4>>2];j=e+(w(l,-3)+(f<<1)|0)|0;k=j>>31;if((k^k+j)>128){break e}j=(g+(h<<1)|0)+w(q[b+16>>2],-3)|0;k=j>>31;if((k^k+j)>128){break e}j=((e<<1)+f|0)+w(q[b+20>>2],-3)|0;k=j>>31;if((k^k+j)>128){break e}Gl(d,g,f);if(!c){break a}c=c+ -3|0;continue}q[b+48>>2]=h;q[b+52>>2]=e;c=g+m|0;q[b+8>>2]=c>>1;f=f+l|0;q[b+12>>2]=f>>1;g=q[b+16>>2];h=g+h|0;q[b+40>>2]=h>>1;j=c;c=g+m|0;g=j+c|0;q[b+16>>2]=g>>2;c=c+h|0;q[b+32>>2]=c>>2;j=e;e=q[b+20>>2];h=j+e|0;q[b+44>>2]=h>>1;q[b+24>>2]=c+g>>3;c=e+l|0;e=c+f|0;q[b+20>>2]=e>>2;c=c+h|0;q[b+36>>2]=c>>2;q[b+28>>2]=c+e>>3;c=a;continue}}Da=i+400|0;return 0}function cQ(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=q[a+28>>2];if(!r[e+44|0]){f=q[b+4>>2];g=q[b>>2];o[e+44|0]=1;d=q[e+20>>2];if(!d){c=3;break b}c:{if(r[e+45|0]){c=q[e+12>>2];if((p[c+20>>1]+p[c+56>>1]|0)+1>>>0>t[c+8>>2]){c=Xb(c,0,1);if(c){break b}}h=s[d>>1];c=h<<16>>16;if((c|0)<1){break c}p[(q[d+12>>2]+(h<<1)|0)+ -2>>1]=s[d+2>>1]+ -1}c=s[d>>1]}p[d>>1]=c+1;c=q[e+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+1>>>0>t[c+4>>2]){c=Xb(c,1,0);if(c){break b}}c=q[e+20>>2];if(r[e+45|0]){d=q[c+8>>2];h=p[c+2>>1];i=q[c+4>>2]+(h<<3)|0;q[i+4>>2]=f>>10;q[i>>2]=g>>10;o[d+h|0]=1}p[c+2>>1]=s[c+2>>1]+1}d:{c=q[e+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+3>>>0<=t[c+4>>2]){break d}c=Xb(c,3,0);if(!c){break d}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c;return}a=q[e+20>>2];e:{f:{g:{if(!r[e+45|0]){p[a+2>>1]=s[a+2>>1]+1;break g}c=q[a+8>>2];d=q[b+8>>2];f=p[a+2>>1];g=q[a+4>>2]+(f<<3)|0;q[g+4>>2]=q[b+12>>2]>>10;q[g>>2]=d>>10;o[c+f|0]=2;d=r[e+45|0];c=q[e+20>>2];p[a+2>>1]=s[a+2>>1]+1;if(d){break f}a=c}p[a+2>>1]=s[a+2>>1]+1;break e}a=q[c+8>>2];d=q[b+16>>2];f=p[c+2>>1];g=q[c+4>>2]+(f<<3)|0;q[g+4>>2]=q[b+20>>2]>>10;q[g>>2]=d>>10;o[a+f|0]=2;d=r[e+45|0];a=q[e+20>>2];p[c+2>>1]=s[c+2>>1]+1;if(!d){break e}c=q[a+8>>2];e=q[b+24>>2];d=p[a+2>>1];f=q[a+4>>2]+(d<<3)|0;q[f+4>>2]=q[b+28>>2]>>10;q[f>>2]=e>>10;o[c+d|0]=1}p[a+2>>1]=s[a+2>>1]+1;break a}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c}}function fU(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=Da-80|0;Da=h;a:{if(!Nb(b,a,6)){break a}l=q[c+4>>2];j=a+4|0;if(!Nb(b,j,2)){break a}i=(l<<8&16711680|l<<24)>>>16|0;o[a+4|0]=i;o[a+5|0]=i>>>8;k=(l&65280)>>>8|0;i=l;b:{if(l>>>0<65536){break b}i=l;if(!r[b+20|0]){break b}o[b+20|0]=0;k=r[a+4|0];i=r[a+5|0]}if(!Nb(b,j,((k&255)<<9|(i&255)<<1)+2|0)){break a}if(l){w=s[135656];x=q[d>>2];y=q[d+4>>2];k=0;while(1){d=q[(y>>>0>k>>>0?(k<<2)+x|0:271312)>>2];c:{if((r[a+5|0]|r[a+4|0]<<8)>>>0<=k>>>0){p[321488]=w;i=642976;break c}i=((k<<1)+a|0)+6|0}t=q[b+4>>2];j=t-a|0;m=(j<<24|j<<8&16711680)>>>16|0;o[i|0]=m;o[i+1|0]=m>>>8;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0}i=q[e+4>>2];u=q[e>>2];q[h+72>>2]=0;q[h+64>>2]=u;j=i>>>0>d>>>0?d:i;q[h+68>>2]=j;m=q[f+4>>2];v=q[f>>2];q[h+40>>2]=0;q[h+24>>2]=0;q[h+48>>2]=v;d=m>>>0>d>>>0?d:m;q[h+52>>2]=d;q[h+56>>2]=0;n=q[h+68>>2];q[h+32>>2]=q[h+64>>2];q[h+36>>2]=n;n=q[h+52>>2];q[h+16>>2]=q[h+48>>2];q[h+20>>2]=n;if(!cU(t,b,h+32|0,h+16|0,g)){break a}q[e+4>>2]=i-j;q[e+8>>2]=j+q[e+8>>2];q[e>>2]=(j<<1)+u;q[f+4>>2]=m-d;q[f>>2]=(d<<2)+v;q[f+8>>2]=d+q[f+8>>2];k=k+1|0;if((l|0)!=(k|0)){continue}break}}e=q[b+4>>2];d=e-a|0;f=(d<<24|d<<8&16711680)>>>16|0;o[a+2|0]=f;o[a+3|0]=f>>>8;if(!(!r[b+20|0]|d>>>0<65536)){o[b+20|0]=0}q[h+8>>2]=q[c+8>>2];a=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=a;z=bU(e,b,h)}Da=h+80|0;return z}function Jf(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;k=r[a+1|0];if(!(k|r[a|0]<<8)){return 0}l=q[b+112>>2];i=q[b+88>>2];if(k&1){j=q[e+8>>2];h=r[d+1|0]|r[d|0]<<8;g=h<<16;f=g>>31;f=W$(q[i+32>>2],q[i+36>>2],g>>16,f);q[e+8>>2]=j+((Ea&65535)<<16|f>>>16);h=(h|0)!=0;d=d+2|0}if(k&2){m=q[e+12>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=W$(q[i+40>>2],q[i+44>>2],g>>16,f);q[e+12>>2]=m+((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h;d=d+2|0}l=l&-2;if(k&4){if((l|0)==4){m=q[e>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=W$(q[i+32>>2],q[i+36>>2],g>>16,f);q[e>>2]=m+((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}if(k&8){if((l|0)!=4){m=q[e+4>>2];j=r[d+1|0]|r[d|0]<<8;g=j<<16;f=g>>31;f=W$(q[i+40>>2],q[i+44>>2],g>>16,f);q[e+4>>2]=m-((Ea&65535)<<16|f>>>16);h=(j|0)!=0|h}d=d+2|0}a:{if(r[a+1|0]<16){break a}f=1;a=1;a=q[i+48>>2]?a:q[i+60>>2]!=0;if(!q[i+52>>2]){f=q[i+60>>2]!=0;if((f|a)!=1){break a}}b=q[b+108>>2];if(k&16){if(a){g=r[d+1|0]|r[d|0]<<8;n=e,o=Fm(g?g+c|0:271312,i,b)+q[e+8>>2]|0,q[n+8>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&32){if(f){g=r[d+1|0]|r[d|0]<<8;n=e,o=Em(g?g+c|0:271312,i,b)+q[e+12>>2]|0,q[n+12>>2]=o;h=(g|0)!=0|h}d=d+2|0}if(k&64){if(!(a^1|(l|0)!=4)){a=r[d+1|0]|r[d|0]<<8;n=e,o=Fm(a?a+c|0:271312,i,b)+q[e>>2]|0,q[n>>2]=o;h=(a|0)!=0|h}d=d+2|0}if(!(k&128)|(l|0)==4|f^1){break a}a=r[d+1|0]|r[d|0]<<8;b=Em(a?a+c|0:271312,i,b);q[e+4>>2]=q[e+4>>2]-b;h=(a|0)!=0|h}return h}function uV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[e+12>>2]=c;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<=3){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}q[e+8>>2]=0;if(!rV(a,b,e+12|0)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if(!d){break a}f=d<<24;g=r[a+3|0]|(f|r[a+1|0]<<16|r[a+2|0]<<8);c=g?a+4|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);if(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)){break a}c=1;f=f|d<<8&16711680|(d>>>8&65280|d>>>24);if(f>>>0>1){while(1){h=w(c,6)+a|0;d=g>>>0>c+ -1>>>0?h+ -2|0:271312;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=g>>>0>c>>>0?h+4|0:271312;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(i>>>0>=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=f+ -1|0;c=(g>>>0>c>>>0?(w(c,6)+a|0)+4|0:271312)+6|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=c<<24;Da=e+16|0;c=(d|c<<8&16711680|(c>>>8&65280|c>>>24))+ -1|0;a=(r[a+3|0]|(d|r[a+1|0]<<16|r[a+2|0]<<8))>>>0>c>>>0?(w(c,6)+a|0)+4|0:271312;a=r[a+6|0]|r[a+7|0]<<8|(r[a+8|0]<<16|r[a+9|0]<<24);return q[b+32>>2]==(a<<8&16711680|a<<24|(a>>>8&65280|a>>>24))}Da=e+16|0;return 0}function $v(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(r[b+5|0]|r[b+4|0]<<8?0:(r[b+3|0]|r[b+2|0]<<8)==65535){break a}f=q[a+100>>2];q[a+100>>2]=f+1;if(f>>>0>2e3){break a}if(aw(a,b,a+52|0)){break a}if(c){h=q[c>>2];if(!h){break a}while(1){f=c;i=r[b+5|0]|r[b+4|0]<<8;b:{if(!i){break b}g=q[a>>2];c=0;while(1){d=(c<<1)+b|0;j=r[d+7|0];d=j|r[d+6|0]<<8;if((d|0)!=65535){e=r[g+7|0]|r[g+6|0]<<8;e=e?e+g|0:271312;e=(r[e+1|0]|r[e|0]<<8)>>>0>d>>>0?(e+w(d,6)|0)+2|0:271312;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}else{e=0}if((e|0)!=(h|0)){c=c+1|0;if((i|0)==(c|0)){break b}continue}break}c=q[a+4>>2];if(r[c+12|0]!=1){break b}q[c+16>>2]=-1;c=ac(c,d);if(!c){break b}d=c+(d>>>3&56)|0;c=d;e=q[c+4>>2];h=c;i=q[c>>2];g=j&63;d=g&31;if(32<=(g&63)>>>0){g=1<>>32-d;d=1<>2]=i|d;q[c+4>>2]=e|g}c=f+4|0;h=q[f+4>>2];if(h){continue}break}break a}c:{if((r[b+3|0]|r[b+2|0]<<8)==65535){break c}c=q[a+104>>2]+1|0;q[a+104>>2]=c;if(c>>>0>1500){break c}c=q[a+4>>2];if(r[c+12|0]!=1){break c}d=r[b+2|0];f=r[b+3|0];q[c+16>>2]=-1;h=c;c=f|d<<8;d=ac(h,c);if(!d){break c}d=d+(c>>>3&56)|0;c=d;g=q[c+4>>2];h=c;e=q[c>>2];d=f&63;f=d&31;if(32<=(d&63)>>>0){d=1<>>32-f;f=1<>2]=e|f;q[c+4>>2]=d|g}c=q[a+104>>2]+(r[b+5|0]|r[b+4|0]<<8)|0;q[a+104>>2]=c;if(c>>>0>1500){break a}Gm(b+4|0,q[a+4>>2])}}function Cs(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=q[c+16>>2];a:{if(i&16){break a}k=q[c+28>>2];b:{g=o[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=o[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=q[(g<<2)+b>>2];j=k-q[h>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}q[c+24>>2]=h;q[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=q[(g<<2)+b>>2];j=(k-q[h>>2]|0)-q[h+4>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}q[c+24>>2]=h;q[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{if(i&n){g=0;if(!a){break a}while(1){h=q[(g<<2)+b>>2];j=k-q[h>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}q[c+24>>2]=h;q[c+16>>2]=i|528;break d}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=q[(g<<2)+b>>2];j=(k-q[h>>2]|0)-q[h+4>>2]|0;if(!((0-j|0)<(e|0)?(j|0)<(e|0):0)){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}q[c+24>>2]=h;q[c+16>>2]=i|1040}if(q[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=q[(g<<2)+b>>2];h=q[i>>2];if(!((k|0)<(h|0)|(k|0)>(h+q[i+4>>2]|0))){q[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 Yn(a,b,c,d){a=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;q[d>>2]=0;q[d+4>>2]=0;h=b?b+ -1|0:0;b=q[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=q[a+424>>2];if(!b){break a}f=c<<4;c=q[a+416>>2];c=s[f+c>>1]|q[c+(h<<4)>>2]<<16;i=q[a+104>>2];while(1){if(!(c>>>0<=t[b+20>>2]?c>>>0>=t[b+16>>2]:0)){b=q[b>>2];if(b){continue}break a}break}e=Xa(i,q[b+12>>2]);if(e){break a}e=mb(i,w(q[b+8>>2],r[b+4|0]));if(e){break a}a=r[b+5|0];j=a&1;k=a>>>1&1;h=q[b+8>>2];e=q[i+32>>2];a=r[b+4|0];f=-2147483648>>>z(a)|0;a=a-f|0;b:{c:{d:{if(!a){break d}a=w(a,h)+e|0;e:{if(j){g=r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=r[a|0]<<16;a=a+2|0}g=r[l|0]|g;if((g|0)==(c|0)){break c}if(g>>>0>=c>>>0){break d}e=(k?2:1)+a|0}a=w(f,h);f:{if(a>>>0<=h>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=r[f|0]<<16|r[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=g>>>0>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[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=g>>>0>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=r[e+1|0]<<16|r[e|0]<<24|r[e+2|0]<<8;a=e+4|0;break g}h=1;f=r[e|0]<<16;a=e+2|0}if((c|0)!=(f|r[e+h|0])){break b}}c=r[a|0];if(k){c=(r[a+1|0]|c<<8)<<16>>16}q[d>>2]=p[b+6>>1]+c}jb(i);e=0}return e|0}function Vg(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=c;a:{b:{if(!q[b>>2]){break b}if(!q[c>>2]){d=b;break b}h=1;d=b;if(q[c+8>>2]>2]){break a}}g=q[a+20>>2];c:{if(!g){break c}b=q[d+8>>2];while(1){f=q[(w(e,20)+a|0)+36>>2];if((f|0)<(b|0)){e=e+1|0;if(e>>>0>>0){continue}break c}break}if(r[(w(e,20)+a|0)+28|0]&8|((b|0)==(f|0)|((f|0)<=q[c+8>>2]?h:0))){break a}}b=q[a+4>>2];d:{if(!r[b+12|0]|r[d|0]&16){break d}if(h){b=le(b,(q[d+8>>2]+q[c+8>>2]|0)/2|0);f=Ma((q[c+8>>2]-q[d+8>>2]|0)/2|0,q[a+16>>2]);q[d+12>>2]=b-f;q[c+12>>2]=b+f;break d}n=d,o=le(b,q[d+8>>2]),q[n+12>>2]=o}if(q[d+12>>2]>2]?e:0){break a}f=q[a+20>>2];e:{if(f>>>0<=e>>>0){break e}if(h){if(q[c+12>>2]<=q[(w(e,20)+a|0)+40>>2]){break e}break a}if(q[d+12>>2]>q[(w(e,20)+a|0)+40>>2]){break a}}b=f+h|0;if(b>>>0>191){break a}j=f-e|0;if(j){l=a+28|0;while(1){f=f+ -1|0;g=w(f,20)+l|0;m=q[g+4>>2];k=w(b,20)+l|0;i=k;q[i>>2]=q[g>>2];q[i+4>>2]=m;q[i+16>>2]=q[g+16>>2];i=q[g+12>>2];q[k+8>>2]=q[g+8>>2];q[k+12>>2]=i;b=b+ -1|0;j=j+ -1|0;if(j){continue}break}}b=w(e,20)+a|0;q[b+44>>2]=q[d+16>>2];e=q[d+12>>2];q[b+36>>2]=q[d+8>>2];q[b+40>>2]=e;e=q[d+4>>2];q[b+28>>2]=q[d>>2];q[b+32>>2]=e;q[a+20>>2]=q[a+20>>2]+1;if(!h){break a}q[b- -64>>2]=q[c+16>>2];d=q[c+12>>2];q[b+56>>2]=q[c+8>>2];q[b+60>>2]=d;d=q[c+4>>2];q[b+48>>2]=q[c>>2];q[b+52>>2]=d;q[a+20>>2]=q[a+20>>2]+1}} +function FT(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=ab(1,140);if(d){e=267424;q[d>>2]=267424;h=d;a:{b:{c:{d:{e:{f:{g:{h:{c=q[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break h}b=267452;if((c|0)==1147500129){break b}break a}if((c|0)==1198877298){break f}if((c|0)==1198879349){break g}if((c|0)!=1265525857){break a}b=267648;break b}if((c|0)<=1399418471){if((c|0)==1298954605){break d}if((c|0)!=1332902241){break a}b=267564;break b}if((c|0)==1399418472){break c}if((c|0)==1415671148){break e}if((c|0)!=1415933045){break a}b=267620;break b}b=267480;break b}b=267508;break b}b=267536;break b}b=267592;break b}b=267676;break b}b=267704}q[h>>2]=b;e=b}f=r[e+4|0]?r[a+24|0]!=50:f;o[d+4|0]=f;b=q[160736];if(!b){kn();f=r[d+4|0];b=q[160736]}q[d+8>>2]=-1;o[d+5|0]=b>>>2&1;b=0;e=a+24|0;b=f&255?b:q[a+4>>2]!=1298954605;fh(d+12|0,e,1919969382,b);fh(d+24|0,e,1886545254,b);fh(d+36|0,e,1651275622,b);fh(d+48|0,e,1886614630,b);fh(d+60|0,e,1986098293,b);j=d+72|0;while(1){b=0;i:{if(!(2548>>>g&1)){break i}f=q[a+44>>2];if((f|0)<1){break i}e=q[(g<<3)+264240>>2];k=q[a+48>>2];b=f+ -1|0;f=0;j:{while(1){c=b+f>>>1|0;h=w(c,36)+k|0;i=q[h>>2];k:{if(i>>>0>e>>>0){b=c+ -1|0;break k}if(i>>>0>=e>>>0){break j}f=c+1|0}if((f|0)<=(b|0)){continue}break}b=0;break i}b=q[h+28>>2]}q[(g<<2)+j>>2]=b;g=g+1|0;if((g|0)!=17){continue}break}}return d|0}function DP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Da-16|0;Da=f;q[f+8>>2]=c;q[f+12>>2]=a;c=Na(c,0,652);e=r[b+8|0];o[c+188|0]=e;if(e){while(1){q[(c+(d<<2)|0)+192>>2]=p[((d<<1)+b|0)+12>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+9|0];o[c+189|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+248>>2]=p[((d<<1)+b|0)+40>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+10|0];o[c+190|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+288>>2]=p[((d<<1)+b|0)+60>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+11|0];o[c+191|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+344>>2]=p[((d<<1)+b|0)+88>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[c+384>>2]=q[b+108>>2];q[c+388>>2]=q[b+112>>2];q[c+392>>2]=q[b+116>>2];q[c+396>>2]=s[b+120>>1];q[c+400>>2]=s[b+122>>1];e=r[b+124|0];o[c+404|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+408>>2]=p[((d<<1)+b|0)+128>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+125|0];o[c+405|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+460>>2]=p[((d<<1)+b|0)+154>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}o[c+512|0]=r[b+126|0];q[c+520>>2]=q[b+4>>2];q[c+524>>2]=q[b+184>>2];b=q[b+180>>2];q[c+552>>2]=c;q[c+528>>2]=b;a:{b:{a=q[a+128>>2];b=q[a+60>>2];if((b|0)==-1){break b}q[c+648>>2]=b;if(!b){break b}while(1){b=b<<13^b;b=b>>>17^b;b=b<<5^b;if((b|0)<0){continue}break}q[a+60>>2]=b;break a}a=f+4^(f+8^f+12);a=a>>>10^a^a>>>20;q[c+648>>2]=a?a:29572}Da=f+16|0}function iL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-96|0;Da=g;a:{if(!(jg(c,g+8|0)|(q[g+20>>2]&61440)!=16384)){a=de(d);b:{if(!a){break b}d=a;a=Wa(a);if(Ra(c,d,a)){break b}if(r[a+c|0]!=47){a=a+ -1|0}else{d=a+1|0;a=r[c+d|0]==47?d:a}c=a+c|0}Ad(b,c);break a}if(!a){break a}b=q[a>>2];i=de(d);if(r[643740]&128){q[g>>2]=c;Ua(490101,g);ak(q[126998])}if(!JL(c,a)){break a}if(r[643740]&128){Rb(490142)}h=1;c=q[a>>2];if((b|0)>=(c|0)){break a}c:{if(i){if(d){break c}while(1){c=q[q[a+8>>2]+(b<<2)>>2];e=Wa(i);q[g+8>>2]=0;d:{if(Bd(c,21,0,g+8|0)){break d}d=q[g+8>>2];if(Ra(d,i,e)){break d}f=eb(d);eg(c,21);d=c;if(r[e+f|0]!=47){j=e+ -1|0}else{h=e+1|0;j=r[f+h|0]==47?h:e}wc(d,21,j+f|0);La(f)}if(o[643741]&1){Rb(490122);cd(c)}b=b+1|0;if((b|0)>2]){continue}break}break a}if(!d){while(1){if(o[643741]&1){c=q[q[a+8>>2]+(b<<2)>>2];Rb(490122);cd(c);c=q[a>>2]}b=b+1|0;if((b|0)<(c|0)){continue}break a}}while(1){c=q[q[a+8>>2]+(b<<2)>>2];e=Zh(d,c,2);if(o[643741]&1){Rb(490122);cd(c)}h=e?h:0;b=b+1|0;if((b|0)>2]){continue}break}break a}while(1){c=q[q[a+8>>2]+(b<<2)>>2];f=Wa(i);q[g+8>>2]=0;e:{if(Bd(c,21,0,g+8|0)){break e}e=q[g+8>>2];if(Ra(e,i,f)){break e}e=eb(e);eg(c,21);j=c;if(r[e+f|0]!=47){f=f+ -1|0}else{k=f+1|0;f=r[e+k|0]==47?k:f}wc(j,21,f+e|0);La(e)}e=Zh(d,c,2);if(o[643741]&1){Rb(490122);cd(c)}h=e?h:0;b=b+1|0;if((b|0)>2]){continue}break}}Da=g+96|0}function hz(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=q[a+100>>2];d=q[a+540>>2];a:{if(!d){break a}b=q[d+80>>2];if(b){n[b](a)}b=q[d+100>>2];if(b){n[b](a)}b=q[d+120>>2];if(!b){break a}n[b](a);n[q[d+124>>2]](a)}if(r[a+848|0]){if(q[a+828>>2]){zb(q[a+104>>2],a+828|0)}q[a+840>>2]=0;q[a+832>>2]=0;q[a+836>>2]=0}zb(q[a+104>>2],a+808|0);q[a+820>>2]=0;q[a+824>>2]=0;q[a+812>>2]=0;q[a+816>>2]=0;b=c;e=q[a+144>>2];if(e){n[q[b+8>>2]](b,e)}q[a+140>>2]=0;q[a+144>>2]=0;b=q[a+156>>2];if(b){n[q[c+8>>2]](c,b)}p[a+152>>1]=0;q[a+156>>2]=0;zb(q[a+104>>2],a+508|0);q[a+752>>2]=0;q[a+756>>2]=0;q[a+512>>2]=0;if(r[a+292|0]){b=c;e=q[a+332>>2];if(e){n[q[b+8>>2]](b,e)}q[a+332>>2]=0;b=q[a+336>>2];if(b){n[q[c+8>>2]](c,b)}o[a+292|0]=0;q[a+336>>2]=0}b=q[a+564>>2];if(b){n[q[c+8>>2]](c,b)}p[a+562>>1]=0;q[a+564>>2]=0;if(d){n[q[d+52>>2]](a)}b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+804>>2];if(b){n[q[c+8>>2]](c,b)}q[a+28>>2]=0;q[a+804>>2]=0;b=q[a+720>>2];if(b){n[q[c+8>>2]](c,b)}q[a+720>>2]=0;b=q[a+744>>2];if(b){n[q[c+8>>2]](c,b)}q[a+744>>2]=0;b=q[a+652>>2];if(b){n[q[c+8>>2]](c,b)}q[a+652>>2]=0;b=q[a+656>>2];if(b){n[q[c+8>>2]](c,b)}q[a+656>>2]=0;b=q[a+664>>2];if(b){n[q[c+8>>2]](c,b)}q[a+664>>2]=0;b=q[a+672>>2];if(b){n[q[c+8>>2]](c,b)}q[a+540>>2]=0;q[a+672>>2]=0}}function m$(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=k$(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=V$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=V$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function g$(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=d$(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=V$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=V$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Iw(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=Dw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=V$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=V$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Gw(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=zw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=V$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=V$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Ew(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=xw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=V$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=V$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function _M(a,b,c,d,e){a=a|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(!d){break a}if(!e){while(1){a=a+16|0;i=i+16|0;if(i>>>0>>0){continue}break a}}while(1){j=0;g=a;while(1){h=j<<5&32;f=p[c>>1];o[g|0]=s[h+438032>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+2>>1];o[g+1|0]=s[h+438034>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+4>>1];o[g+2|0]=s[h+438036>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+6>>1];o[g+3|0]=s[h+438038>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+8>>1];o[g+4|0]=s[h+438040>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+10>>1];o[g+5|0]=s[h+438042>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+12>>1];o[g+6|0]=s[h+438044>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+14>>1];o[g+7|0]=s[h+438046>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+16>>1];o[g+8|0]=s[h+438048>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+18>>1];o[g+9|0]=s[h+438050>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+20>>1];o[g+10|0]=s[h+438052>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+22>>1];o[g+11|0]=s[h+438054>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+24>>1];o[g+12|0]=s[h+438056>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+26>>1];o[g+13|0]=s[h+438058>>1]+(f-(f>>>8|0)|0)>>>6;f=p[c+28>>1];o[g+14|0]=s[h+438060>>1]+(f-(f>>>8|0)|0)>>>6;f=s[h+438062>>1];h=p[c+30>>1];o[g+15|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+32|0;g=b+g|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+16|0;i=i+16|0;if(i>>>0>>0){continue}break}}b:{if(!e){break b}c=b-(d+15&-16)|0;if(!c){break b}g=0;while(1){Na(w(b,g)+a|0,0,c);g=g+1|0;if((g|0)!=(e|0)){continue}break}}}function WF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){return}b=q[a+204>>2];q[a+204>>2]=b+ -1;if((b|0)<=1){k=q[a>>2];b=q[a+16>>2];if(b){while(1){i=q[((h<<2)+a|0)+20>>2];b=q[i>>2];a:{if(Ta(q[b+8>>2],4105)|!(o[b|0]&1)){break a}c=q[i+16>>2];if(!c){break a}while(1){f=q[c+8>>2];b:{if(!f){break b}d=q[f+96>>2];if(!d){break b}e=q[f+128>>2];b=q[e+64>>2];q[e+64>>2]=b+ -1;if((b|0)>1){break b}b=q[d+16>>2];if(!b){break b}g=d+16|0;e=q[d+8>>2];while(1){if((f|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break b}break}c=q[b>>2];j=c?c+4|0:g;g=q[b+4>>2];q[j>>2]=g;q[(g?g:d+20|0)>>2]=c;n[q[e+8>>2]](e,b);vf(e,f,d);c=q[i+16>>2]}if(c){continue}break}}h=h+1|0;b=q[a+16>>2];if(h>>>0>>0){continue}break}c=!b}else{c=1}if(!c){h=0;while(1){i=q[((h<<2)+a|0)+20>>2];c:{if(!(o[q[i>>2]]&1)){break c}c=q[i+16>>2];if(!c){break c}while(1){f=q[c+8>>2];d:{if(!f){break d}d=q[f+96>>2];if(!d){break d}e=q[f+128>>2];b=q[e+64>>2];q[e+64>>2]=b+ -1;if((b|0)>1){break d}b=q[d+16>>2];if(!b){break d}g=d+16|0;e=q[d+8>>2];while(1){if((f|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break d}break}c=q[b>>2];j=c?c+4|0:g;g=q[b+4>>2];q[j>>2]=g;q[(g?g:d+20|0)>>2]=c;n[q[e+8>>2]](e,b);vf(e,f,d);c=q[i+16>>2]}if(c){continue}break}}h=h+1|0;b=q[a+16>>2];if(h>>>0>>0){continue}break}}if(b){while(1){To(a,q[((b<<2)+a|0)+16>>2]);b=q[a+16>>2];if(b){continue}break}}n[q[k+8>>2]](k,a)}}function Ky(a,b,c){a=a|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=q[a+804>>2];a:{b:{if(e){d=6;if(t[a+28>>2]<=b>>>0){break a}b=q[e+(b<<2)>>2];break b}d=6;if(t[a+800>>2]<=b>>>0){break a}}d=2;e=q[a+796>>2]+ -1|0;if(e>>>0>2){break a}c:{if(e-2){f=q[a+788>>2]+w(b,48)|0;e=r[f+52|0];p[c>>1]=e;h=r[f+53|0];p[c+2>>1]=h;b=o[f+24|0];d=b<<6;q[c+12>>2]=d;i=o[f+25|0];g=i<<6;q[c+16>>2]=g;j=o[f+33|0];d:{if((i|0)>=1){if((j|0)>-1){break d}g=0-g|0;q[c+16>>2]=g;break d}if(b|i){break d}b=c;d=o[f+32|0];e:{if(d|j){g=j<<6;q[c+16>>2]=g;d=d<<6;break e}g=0;q[c+16>>2]=0;d=h<<6}q[b+12>>2]=d}b=d-g|0;q[c+20>>2]=b;if(!b){b=h<<6;q[c+20>>2]=b;q[c+16>>2]=d-b}q[c+24>>2]=o[f+31|0]+(r[f+26|0]+o[f+30|0]|0)<<6;k=c,l=bb(e,4194304,s[a+178>>1]),q[k+4>>2]=l;break c}d=3;b=q[a+788>>2]+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+4>>>0>t[a+864>>2]){break a}e=q[a+104>>2];d=Xa(e,b+q[a+860>>2]|0);if(d){break a}d=lb(e,4);if(d){break a}b=ob(e);ob(e);jb(e);d=s[a+178>>1];p[c+2>>1]=b;p[c>>1]=b;b=b<<6;k=c,l=bb(p[a+220>>1],b,d),q[k+12>>2]=l;k=c,l=bb(p[a+222>>1],b,d),q[k+16>>2]=l;k=c,l=bb(p[a+224>>1]+(p[a+220>>1]-p[a+222>>1]|0)|0,b,d),q[k+20>>2]=l;k=c,l=bb(s[a+226>>1],b,d),q[k+24>>2]=l;k=c,l=bb(s[c>>1],4194304,s[a+178>>1]),q[k+4>>2]=l}k=c,l=bb(s[c+2>>1],4194304,s[a+178>>1]),q[k+8>>2]=l;d=0}return d|0}function zu(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=q[a+24>>2];b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);k=+g();break b}k=v[q[a+36>>2]+(d<<3)>>3];break b}o[a+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);k=+g()}c:{if(y(k)<2147483648){h=~~k;break c}h=-2147483648}i=h+q[b>>2]|0;d:{if((i|0)<0){break d}d=q[b+4>>2];if(!d|i>>>0>=(r[d+1|0]|r[d|0]<<8)>>>0){break d}e=q[a+92>>2];if(e>>>0<10){break a}}o[a+40|0]=1;return}d=q[a+4>>2];q[a+44>>2]=q[a>>2];q[a+48>>2]=d;o[a+60|0]=r[a+16|0];d=q[a+12>>2];q[a+52>>2]=q[a+8>>2];q[a+56>>2]=d;d=a+44|0;e:{if(e>>>0>2]){q[a+92>>2]=e+1;h=q[a+104>>2]+w(e,28)|0;e=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=e;q[h+24>>2]=q[d+24>>2];j=q[d+20>>2];q[h+16>>2]=q[d+16>>2];q[h+20>>2]=j;j=q[d+12>>2];q[h+8>>2]=q[d+8>>2];q[h+12>>2]=j;break e}o[a+88|0]=1}f:{g:{h=q[b+4>>2];if(h){b=r[h+1|0]|r[h|0]<<8;if(b>>>0>i>>>0){break g}}m=q[67830];e=q[67828];b=q[67829];break f}e=r[h+2|0];j=(w(e,b+1|0)+h|0)+3|0;if(e){b=(w(e,i)+h|0)+3|0;while(1){l=r[b|0]|l<<8;b=b+1|0;e=e+ -1|0;if(e){continue}break}}e=(j+l|0)+ -1|0;b=rg(h,i)}q[a+44>>2]=e;q[a+68>>2]=i;q[a- -64>>2]=c;o[a+60|0]=0;q[a+56>>2]=0;q[a+52>>2]=m;q[a+48>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;o[a+16|0]=r[d+16|0]}function hW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=d;f=jh(q[b+16>>2]- -64|0);g=q[f+4>>2];a:{b:{if(g>>>0>c>>>0){e=q[f+12>>2];e=(c|0)<0?271312:q[(e?e:271312)+12>>2]+(c<<2)|0;c=e+3|0;e=e+2|0;break b}h=0;if(t[f>>2]<=c>>>0){break a}h=c-g<<1;c=q[f+12>>2];e=h+((g|0)<0?271312:q[(c?c:271312)+12>>2]+(g<<2)|0)|0;c=e+1|0}e=(r[c|0]|r[e|0]<<8)<<16;c=e>>31;k=e>>16;h=c}e=h;f=q[b+32>>2];g=q[b+36>>2];c=V$(k,e,f,g);q[i>>2]=(Ea&65535)<<16|c>>>16;c=q[b+44>>2];k=c;l=q[b+40>>2];e=a+8|0;i=a+4|0;b=r[a+4|0]|r[a+5|0]<<8;c=(b<<24|b<<8&16711680)>>16;b=r[a+8|0]|r[a+9|0]<<8;b=(c|0)<(b<<24|b<<8&16711680)>>16?e:i;b=r[b|0]|r[b+1|0]<<8;c=b<<24|b<<8&16711680;b=c>>31;b=V$(l,k,c>>16,b);q[d+4>>2]=(Ea&65535)<<16|b>>>16;m=f;h=g;b=a+6|0;c=a+2|0;f=r[a+2|0]|r[a+3|0]<<8;f=(f<<24|f<<8&16711680)>>16;g=r[a+6|0]|r[a+7|0]<<8;g=(g<<24|g<<8&16711680)>>16;j=(f|0)<(g|0)?b:c;j=r[j|0]|r[j+1|0]<<8;b=(f|0)>(g|0)?b:c;b=r[b|0]|r[b+1|0]<<8;c=((j<<24|j<<8&16711680)>>>16)-((b<<24|b<<8&16711680)>>>16)<<16;b=c>>31;b=V$(m,h,c>>16,b);q[d+8>>2]=(Ea&65535)<<16|b>>>16;b=r[a+4|0]|r[a+5|0]<<8;b=(b<<24|b<<8&16711680)>>16;a=r[a+8|0]|r[a+9|0]<<8;a=(a<<24|a<<8&16711680)>>16;c=(b|0)>(a|0)?e:i;c=r[c|0]|r[c+1|0]<<8;a=(b|0)<(a|0)?e:i;a=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16)-((a<<24|a<<8&16711680)>>>16)<<16;b=c>>31;a=V$(l,k,c>>16,b);q[d+12>>2]=(Ea&65535)<<16|a>>>16;return 1}function lX(a,b,c){var d=0,e=0;a:{d=a+ -10|0;if(d>>>0>19){break a}b:{switch(d-1|0){default:d=q[b+24>>2]+ -1|0;c:{if(t[b+32>>2]<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break c}d=q[b+36>>2]+(d<<5)|0}if(!q[d+20>>2]){break a}o[b+40|0]=1;return;case 5:kX(b);return;case 0: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:break a;case 4:break b}}c=q[b+32>>2];a=q[b+24>>2]+ -1|0;d:{if(c>>>0<=a>>>0){a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break d}a=q[b+36>>2]+(a<<5)|0}if(q[a+20>>2]){o[b+40|0]=1;return}a=q[b+24>>2];e:{f:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(c>>>0<=a>>>0){break f}a=q[b+36>>2]+(a<<5)|0;break e}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}e=v[a>>3];g:{if(y(e)<2147483648){a=~~e;break g}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}h:{if(!(r[b+178|0]?0:!r[b+177|0])){o[b+40|0]=1;break h}q[b+160>>2]=a}q[b+24>>2]=0;o[b+177|0]=1;return}jX(a,b,c)}function _b(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;a:{if(!a){break a}c=Sa(20);if(!c){break a}q[c+16>>2]=3;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=1;q[c+4>>2]=0;a=eb(a);b:{if(!a){break b}if(!xf(c,a)){La(a);break b}q[g+12>>2]=b;c:{while(1){a=q[g+12>>2];q[g+12>>2]=a+4;a=q[a>>2];if(!a){break c}a=eb(a);if(!a){break b}if(xf(c,a)){continue}break}La(a);break b}b=0;a=Sa(8);if(a){q[a>>2]=c;if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}q[a+4>>2]=0;b=a}f=q[b+4>>2];a=q[b>>2];e=q[a+4>>2];if((f|0)<(e|0)){i=q[a+12>>2];while(1){d:{d=f+1|0;f=q[(f<<2)+i>>2];if(!f){break d}h=(Wa(f)+h|0)+1|0;f=d;if((d|0)<(e|0)){continue}}break}q[b+4>>2]=d}e=0;q[b+4>>2]=0;f=Sa(h+1|0);if(f){d=f;e:{if(q[a+4>>2]<1){break e}while(1){a=q[a+12>>2];q[b+4>>2]=e+1;e=q[a+(e<<2)>>2];if(!e){break e}a=f;if((a|0)!=(d|0)){o[d|0]=47;a=d+1|0}d=a;a=Wa(e);d=Qa(d,e,a)+a|0;e=q[b+4>>2];a=q[b>>2];if((e|0)>2]){continue}break}}o[d|0]=0;a=q[b>>2]}f:{if(q[a>>2]==-1){break f}d=q[a>>2];q[a>>2]=d+ -1;if((d|0)!=1){break f}e=q[a+12>>2];if(q[a+4>>2]>=1){d=0;while(1){La(q[(d<<2)+e>>2]);e=q[a+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}if(e){La(e)}La(a)}La(b)}if(q[c>>2]==-1){break a}a=q[c>>2];q[c>>2]=a+ -1;if((a|0)!=1){break a}b=q[c+12>>2];if(q[c+4>>2]>=1){a=0;while(1){La(q[(a<<2)+b>>2]);b=q[c+12>>2];a=a+1|0;if((a|0)>2]){continue}break}}if(b){La(b)}La(c)}Da=g+16|0;return f}function Ck(a){var b=0;a:{b=a&65535;b:{if(b>>>0>41){break b}c:{switch(b-1|0){default:Ua(489357,0);return;case 0:Ua(489365,0);return;case 1:Ua(489372,0);return;case 2:Ua(489379,0);return;case 3:Ua(489386,0);return;case 4:Ua(489392,0);return;case 5:Ua(489397,0);return;case 6:Ua(489405,0);return;case 8:Ua(489413,0);return;case 9:Ua(489419,0);return;case 10:Ua(489425,0);return;case 11:Ua(489432,0);return;case 13:Ua(489446,0);return;case 12:Ua(489454,0);return;case 14:Ua(489467,0);return;case 15:Ua(489474,0);return;case 16:Ua(489485,0);return;case 17:Ua(489492,0);return;case 18:Ua(489502,0);return;case 19:Ua(489508,0);return;case 20:Ua(489511,0);return;case 21:Ua(489515,0);if(!(a&65536)){break b}break a;case 22:Ua(489537,0);if(!(a&65536)){break b}break a;case 26:Ua(489546,0);return;case 27:Ua(489551,0);return;case 28:Ua(489561,0);return;case 29:Ua(489566,0);return;case 23:Ua(489576,0);return;case 25:Ua(489585,0);return;case 30:Ua(489597,0);return;case 31:Ua(489602,0);return;case 32:Ua(489608,0);return;case 33:Ua(489614,0);return;case 34:Ua(489621,0);return;case 7:Ua(489625,0);return;case 35:Ua(489629,0);return;case 36:Ua(489635,0);return;case 37:Ua(489641,0);return;case 38:Ua(489646,0);return;case 39:Ua(489652,0);return;case 24:Ua(489658,0);if(!(a&65536)){break b}break a;case 40:break c}}Ua(489666,0)}return}Ua(489521,0)}function fT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-144|0;Da=g;Na(a+24|0,0,88);e=hT(g,b,c);h=q[c+24>>2];i=q[c+20>>2];d=e+24|0;$a(d,1920365166,1,1);Db(d,0);b=q[e+4>>2]+ -4|0;a:{if(b>>>0>1){break a}if(b-1){$a(d,1819570785,1,1);$a(d,1819570797,1,1);break a}$a(d,1920232545,1,1);$a(d,1920232557,0,1)}$a(d,1718772067,0,1);$a(d,1853189490,0,1);$a(d,1684959085,0,1);$a(d,1918987876,33,255);$a(d,1953653099,3,1);$a(d,1212240454,1,1);b=q[q[e+140>>2]>>2];if(b){n[b](e)}$a(d,1112889946,1,1);$a(d,1633842797,1,1);$a(d,1651275629,1,1);$a(d,1667460464,1,1);$a(d,1819239276,1,1);$a(d,1835102827,13,1);$a(d,1835756907,13,1);$a(d,1919707495,1,1);b:{if((q[e+4>>2]&-2)==4){$a(d,1667329140,1,1);$a(d,1668049255,1,1);$a(d,1668641395,1,1);$a(d,1684632436,1,1);$a(d,1801810542,3,1);$a(d,1818847073,1,1);$a(d,1919118452,1,1);break b}$a(d,1986359924,17,1)}c:{if(!h){break c}b=0;while(1){f=(b<<4)+i|0;$a(d,q[f>>2],q[f+8>>2]?0:q[f+12>>2]==-1,q[f+4>>2]);b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!(o[e+136|0]&1)){break c}j=e+120|0;b=0;while(1){f=(b<<4)+i|0;tT(j,q[f>>2],q[f+4>>2]);b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=q[q[e+140>>2]+4>>2];if(b){n[b](e)}gT(e,a,c+28|0);d:{e:{b=q[q[a+20>>2]+8>>2];if(!b){break e}c=a;a=n[b](a)|0;q[c+112>>2]=a;if(a){break e}a=0;break d}a=1}La(q[e+132>>2]);q[e+132>>2]=0;q[e+124>>2]=0;q[e+128>>2]=0;bY(d);Da=g+144|0;return a}function jo(a,b,c){a=a|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=Da+ -64|0;Da=l;m=6;g=q[a+532>>2];a:{if(!g){break a}e=q[g+4>>2];p=e>>>0>>0?e:b;b:{if(!e){e=0;break b}while(1){b=w(i,12)+g|0;n=b;f=q[b+96>>2];j=q[b+92>>2];c:{if(i>>>0

>>0){b=r[n+88|0];h=q[(i<<2)+c>>2];break c}b=r[n+88|0];h=(q[(j+(b<<2)|0)+ -4>>2]-q[j>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;d=-1;g:{while(1){k=b<<2;o=q[k+j>>2];if((h|0)==(o|0)){break e}if((h|0)<(o|0)){break g}d=b;b=b+1|0;k=r[n+88|0];if(b>>>0>>0){continue}break}b=q[(f+(k<<2)|0)+ -4>>2];break d}if((d|0)>-1){break f}}b=q[f>>2];break d}b=d<<2;d=q[b+j>>2];b=bb(h-d|0,q[f+k>>2]-q[b+f>>2]|0,o-d|0);e=q[g+4>>2];break d}b=q[f+k>>2]}q[(i<<2)+l>>2]=b;i=i+1|0;if(i>>>0>>0){continue}break}g=q[a+532>>2];if(!g){break a}}m=-1;if(!q[g>>2]){break a}h=q[g+4>>2];j=h>>>0>>0?h:e;i=0;c=h;f=0;while(1){e=65536;b=0;d=0;h:{if(!c){break h}while(1){i:{if(b>>>0>=j>>>0){e=e>>1;break i}d=q[(b<<2)+l>>2];d=f>>>b&1?d:65536-d|0;if((d|0)<1){e=0;d=c;break h}if((d|0)>65535){break i}e=Ma(e,d);h=q[g+4>>2]}c=h;b=b+1|0;d=h;if(b>>>0>>0){continue}break}}b=q[g+136>>2]+(f<<2)|0;j:{if(q[b>>2]==(e|0)){c=d;f=f+1|0;if(f>>>0>2]){continue}if(!(i&255)){break a}break j}q[b>>2]=e;i=1;c=d;f=f+1|0;if(f>>>0>2]){continue}}break}b=a;a=q[a+8>>2];q[b+8>>2]=p?a|32768:a&-32769;m=0}Da=l- -64|0;return m|0}function EW(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;f=Da+ -64|0;Da=f;g=d;d=q[a+72>>2];l=g,m=(n[q[d+168>>2]](a,q[a+76>>2],c,q[d+32>>2])|0)/2|0,q[l>>2]=m;d=wW(b+60|0);g=t[d+16>>2]<8?271312:q[d+12>>2];d=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);a:{if(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)){b:{c:{j=r[g+7|0]|r[g+6|0]<<8;if(j){d=j+ -1|0;b=0;while(1){h=b+d>>>1|0;i=(h<<2)+g|0;i=r[i+8|0]<<8|r[i+9|0];d:{if(i>>>0>c>>>0){d=h+ -1|0;break d}if((c|0)==(i|0)){break c}b=h+1|0}if((b|0)<=(d|0)){continue}break}}d=g+5|0;b=g+4|0;break b}b=j>>>0>h>>>0?((h<<2)+g|0)+8|0:271312;d=b+3|0;b=b+2|0}c=q[a+40>>2];g=q[a+44>>2];b=(r[d|0]|r[b|0]<<8)<<16;a=b>>31;a=V$(c,g,b>>16,a);q[e>>2]=(Ea&65535)<<16|a>>>16;break a}q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;if(vu(kh(b+48|0),a,c,f+48|0)){b=vW(sg(b+44|0),a,c);c=q[f+52>>2];d=q[a+40>>2];g=q[a+44>>2];b=b<<16;a=b>>31;a=V$(d,g,b>>16,a);q[e>>2]=c+((Ea&65535)<<16|a>>>16);break a}q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;b=q[a+72>>2];e:{if(n[q[b+148>>2]](a,q[a+76>>2],f,q[b+12>>2])){d=q[f>>2];break e}b=q[a+24>>2];q[f+8>>2]=0;a=f;k=+(b|0)*.8;f:{if(y(k)<2147483648){d=~~k;break f}d=-2147483648}q[a>>2]=d;q[f+4>>2]=d-b}q[e>>2]=d}Da=f- -64|0;return 1}function fR(a,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=Da-16|0;Da=i;h=gb(a,2496,i+12|0);d=q[i+12>>2];if(!d){q[h>>2]=a;q[h+212>>2]=s[b+120>>1];g=r[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){q[a>>2]=p[d>>1];d=d+2|0;a=a+12|0;f=f+ -1|0;if(f){continue}break}}a=1;q[h+208>>2]=g+1;q[h+8>>2]=s[b+122>>1];g=r[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){q[d>>2]=p[f>>1];f=f+2|0;d=d+12|0;e=e+ -1|0;if(e){continue}break}}q[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;ws(g,r[b+8|0],f,r[b+9|0],b+40|0,q[b+116>>2],0);ws(g,r[b+10|0],b+60|0,r[b+11|0],b+88|0,q[b+116>>2],1);g=r[b+8|0];if(g){while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}a=Za(1e3,a<<16>>16);f=q[b+108>>2];q[h+2476>>2]=(f|0)<(a|0)?f:a;q[h+2480>>2]=q[b+112>>2];a=q[b+116>>2];q[h+404>>2]=0;q[h+408>>2]=0;q[h+200>>2]=0;q[h+204>>2]=0;q[h+2488>>2]=a;d=q[i+12>>2]}q[c>>2]=h;Da=i+16|0;return d|0}function oT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0;l=Da-160|0;Da=l;b=Hd(l+8|0,1,b,c);q[b+116>>2]=d;q[b+128>>2]=8;q[b+32>>2]=0;q[b+8>>2]=8;q[b+76>>2]=0;q[b+48>>2]=b;q[b+68>>2]=0;q[b+72>>2]=0;q[b+60>>2]=-1;o[b+57|0]=1;q[b+52>>2]=8;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=d;o[b+13|0]=r[b+142|0];e=q[b+120>>2]==1;o[b+12|0]=e;o[b+56|0]=e|r[b+141|0]!=0;q[b+4>>2]=b;m=q[c+76>>2];if(m){j=q[c+96>>2];p=q[c+88>>2];v=(q[c+48>>2]&-2)!=4;while(1){a:{b:{i=w(h,20);f=i+p|0;if(!(q[f+4>>2]&d)){break b}q[b+36>>2]=1;q[b>>2]=h;g=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[g+76>>2];o[b+20|0]=q[g+72>>2]==(h|0)?r[(i+q[g+88>>2]|0)+15|0]:0;if(!id(b)){break b}k=q[f>>2];s=q[b>>2];g=w(s,20);t=q[g+p>>2];u=q[a>>2];e=q[u>>2];f=q[e+72>>2];c:{if((q[u+4>>2]&-2)==4){e=n[q[f+192>>2]](e,q[e+76>>2],k,t,q[f+56>>2])|0;break c}e=n[q[f+196>>2]](e,q[e+76>>2],k,t,q[f+60>>2])|0}d:{if(!e){break d}e:{if(!v){if(r[a+4|0]){q[(g+j|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break e}f=j+i|0;i=f;k=q[f>>2];f=e>>1;q[i>>2]=k+f;g=g+j|0;e=e-f|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break e}if(r[a+4|0]){q[(g+j|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break e}f=j+i|0;i=f;k=q[f+4>>2];f=e>>1;q[i+4>>2]=k+f;g=g+j|0;e=e-f|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-h>>>0<2){break d}rb(c,h,e)}h=q[b>>2];break a}h=h+1|0}if(h>>>0>>0){continue}break}}Da=l+160|0}function ah(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=w(d,1348)+a|0;f=q[g+44>>2];g=q[g+52>>2];c=b?q[(w(b,12)+c|0)+ -12>>2]:0;e=q[q[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(w(e,6e3)|0)/2048|0;if((f|0)>=1){h=w(f,44)+g|0;m=e+255>>>0<511?1:b;j=q[(w(d,1348)+a|0)+68>>2];d=g;while(1){a:{if((j|0)!=o[d+1|0]){break a}i=p[d+2>>1];b=g;a=b;if(!c){while(1){f=p[b+2>>1];b:{if((j|0)!=(0-o[b+1|0]|0)|(f|0)<=(i|0)){break b}e=p[b+8>>1];a=p[d+8>>1];k=(a|0)>(e|0)?e:a;e=p[b+6>>1];a=p[d+6>>1];a=k-((a|0)<(e|0)?e:a)|0;if((a|0)<(m|0)){break b}a=(f-i|0)+((l|0)/(a|0)|0)|0;if((a|0)>2]){q[d+20>>2]=b;q[d+28>>2]=a}if((a|0)>=q[b+28>>2]){break b}q[b+20>>2]=d;q[b+28>>2]=a}b=b+44|0;if(b>>>0>>0){continue}break a}}while(1){f=p[a+2>>1];c:{if((j|0)!=(0-o[a+1|0]|0)|(f|0)<=(i|0)){break c}e=p[a+8>>1];b=p[d+8>>1];k=(b|0)>(e|0)?e:b;e=p[a+6>>1];b=p[d+6>>1];e=k-((b|0)<(e|0)?e:b)|0;if((e|0)<(m|0)){break c}b=(f-i<<10)/(c|0)|0;f=32e3;d:{if((b|0)>11024){break d}f=0;if((b|0)<1025){break d}b=b+ -1024|0;f=(w(b,b)>>>0)/3e3|0}b=f+((l|0)/(e|0)|0)|0;if((b|0)>2]){q[d+20>>2]=a;q[d+28>>2]=b}if((b|0)>=q[a+28>>2]){break c}q[a+20>>2]=d;q[a+28>>2]=b}a=a+44|0;if(a>>>0>>0){continue}break}}d=d+44|0;if(d>>>0>>0){continue}break}while(1){a=q[g+20>>2];if(!(!a|q[a+20>>2]==(g|0))){q[g+20>>2]=0;q[g+24>>2]=q[a+20>>2]}g=g+44|0;if(g>>>0>>0){continue}break}}}function Zv(a,b,c,d,e){var f=0,g=0;g=Da+ -64|0;Da=g;a:{if((b|0)!=1196445523){f=271312;if((b|0)!=1196643650){break a}f=q[Ac(a+136|0)>>2];f=f?f:271312;f=t[f+16>>2]<10?271312:q[f+12>>2];break a}f=q[Rc(a+140|0)>>2];f=f?f:271312;f=t[f+16>>2]<10?271312:q[f+12>>2]}q[g+40>>2]=0;q[g+44>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;q[g+56>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;o[g+28|0]=1;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=1;K$(a,b,c,d,g+16|0);q[g+12>>2]=-1;if(qe(g+16|0,g+12|0)){while(1){a=r[f+7|0]|r[f+6|0]<<8;a=a?a+f|0:271312;b=q[g+12>>2];b=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];Gm((b?a+b|0:271312)+2|0,e);if(qe(g+16|0,g+12|0)){continue}break}}a=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);b:{if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break b}a=r[f+10|0]|r[f+11|0]<<8|(r[f+12|0]<<16|r[f+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=a?a+f|0:271312;a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!b){break b}f=(c+(b<<3)|0)+8|0;a=c+8|0;while(1){d=b?a:271312;d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);J$(d?d+c|0:271312,g+16|0,e);d=(b|0)!=0;b=b-d|0;a=(d<<3)+a|0;if((f|0)!=(a|0)){continue}break}}Hm(g+16|0);La(q[g+56>>2]);q[g+56>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;La(q[g+44>>2]);Da=g- -64|0}function yd(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){c=q[b+8>>2]+ -1|0;a:{if(c>>>0>17){break a}b:{switch(c-2|0){default:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=2;f=b,g=eb(c),q[f+8>>2]=g;d=b;break a;case 2:c=q[b+20>>2];e=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=9;q[b+8>>2]=e;q[b+12>>2]=c;d=b;break a;case 0:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=10;f=b,g=eb(c),q[f+8>>2]=g;d=b;break a;case 7:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b>>2]=0;d=b;break a;case 8:c=q[b+16>>2];e=q[b+20>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b+12>>2]=e;q[b>>2]=1;d=b;break a;case 9:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=3;d=Sa(16);if(d){e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e}q[b+8>>2]=d;d=b;break a;case 10:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=4;f=b,g=_k(c),q[f+8>>2]=g;d=b;break a;case 11:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b>>2]=5;d=b;break a;case 12:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=6;f=b,g=Qg(c),q[f+8>>2]=g;d=b;break a;case 13:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=7;f=b,g=zf(c),q[f+8>>2]=g;d=b;break a;case 1:case 3:case 14:break a;case 4:case 5:case 6:case 15:break b}}q[b+8>>2]=0;d=q[b+16>>2]}nd(a)}return d}function vw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;f=ub(b);q[a+28>>2]=f;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;d=q[f+12>>2];q[a+4>>2]=d;g=q[f+16>>2];q[a+8>>2]=g+d;if((g|0)<=-1){break e}q[a+24>>2]=0;h=a;if(g>>>0>536870910){c=1073741823}else{c=g<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[h+12>>2]=c;q[a>>2]=0;if(!d){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break a}if(g>>>0<=11){break d}q[a+12>>2]=c+ -1;if((r[d+1|0]|r[d|0]<<8)!=1){break d}q[e+12>>2]=d;g:{h=d+6|0;h:{if(!mh(h,a,d,e+12|0)){if(q[a+24>>2]){break h}break d}q[e+8>>2]=d;f=d+8|0;g=mh(f,a,d,e+8|0);c=q[a+24>>2];if(g){if(!c){break g}q[a+24>>2]=0;i:{j:{k:{if(t[a+4>>2]>d>>>0){break k}c=q[a+8>>2];if(c>>>0>>0){break k}if(c-d>>>0>11){break j}}c=1;break i}g=q[a+12>>2];q[a+12>>2]=g+ -1;c=1;if((r[d+1|0]|r[d|0]<<8)!=1|(g|0)<1){break i}q[e+12>>2]=d;if(!mh(h,a,d,e+12|0)){break i}q[e+8>>2]=d;c=mh(f,a,d,e+8|0)^1}h=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(c){break b}if(!h){break f}break b}if(!c){break d}}if(r[a+20|0]){break d}h=rc(b);q[a+4>>2]=h;q[a+8>>2]=h+q[b+16>>2];f=q[a+28>>2];c=1;if(h){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break a}I(228416,228441,195,228458);F()}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=e+16|0;return b}function uB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(!(b?a:0)){q[e+8>>2]=40;break a}f=q[b+28>>2];c=Wn(b);q[e+8>>2]=c;if(c){break a}q[a+24>>2]=0;q[a+28>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+28>>2]=f;c=Fj(f,8276,e+8|0);if(!q[e+8>>2]){q[c>>2]=b;q[c+4>>2]=a;d=q[a+28>>2];g=c+8264|0;q[c+8272>>2]=g;q[c+8>>2]=d;q[c+8268>>2]=g;q[c+8264>>2]=0;b:{d=Wn(b);c:{if(d){break c}d=q[b+8>>2];q[c+48>>2]=266;q[c+44>>2]=267;q[c+68>>2]=d;d=q[b+28>>2];q[c+16>>2]=0;q[c+52>>2]=d;q[c+12>>2]=c+4168;d=3;if(Tn(c+12|0,-15)){break c}if(q[c+12>>2]){break b}}q[e+8>>2]=d;if(c){n[q[f+8>>2]](f,c)}break a}q[e+8>>2]=0;q[a+12>>2]=c}d=q[b+8>>2];d:{e:{if(Xa(b,q[b+4>>2]+ -4|0)){b=a+4|0;break e}g=Ec(b,e+12|0);h=q[e+12>>2];Xa(b,d);f:{d=h?0:g;g:{if(d+ -1>>>0<=40958){b=gb(f,d,e+8|0);if(!q[e+8>>2]){if((kj(c,0,b,d)|0)==(d|0)){break f}kj(c,0,0,0);if(b){n[q[f+8>>2]](f,b)}}q[e+8>>2]=0;b=a+4|0;break g}b=a+4|0;if(!d){break e}}q[b>>2]=g;break d}vh(c+12|0);q[c+52>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+16>>2]=0;if(c){n[q[f+8>>2]](f,c)}q[a+4>>2]=d;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=268;q[a+20>>2]=0;q[a>>2]=b;break a}q[b>>2]=2147483647}q[a+24>>2]=268;q[a+20>>2]=269;q[a>>2]=0;q[a+8>>2]=0}Da=e+16|0;return q[e+8>>2]}function qB(a,b,c,d,e){var f=0,g=0;f=Da+ -64|0;Da=f;g=6;a:{if(!c|(!b|!a)){break a}q[f+20>>2]=b;q[f+12>>2]=e;q[f+8>>2]=d;b=q[c>>2];q[f+48>>2]=a;q[f+44>>2]=266;q[f+40>>2]=267;q[f+24>>2]=b;if(Tn(f+8|0,15)){break a}d=Rn(f+8|0,4);if((d|0)!=1){g=q[f+36>>2];b:{if(!g){break b}c=q[f+44>>2];if(!c){break b}b=q[g+20>>2];if(b){a=q[b>>2];if((a&-2)==4){n[c](q[f+48>>2],q[b+12>>2]);a=q[b>>2]}if((a|0)==6){n[q[f+44>>2]](q[f+48>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;g=q[b+40>>2];q[b+52>>2]=g;q[b+48>>2]=g;a=q[b+56>>2];if(a){a=n[a](0,0,0)|0;q[b+60>>2]=a;q[f+56>>2]=a;g=q[b+40>>2]}n[q[f+44>>2]](q[f+48>>2],g);n[q[f+44>>2]](q[f+48>>2],q[b+36>>2]);n[q[f+44>>2]](q[f+48>>2],b);g=q[f+36>>2];c=q[f+44>>2]}n[c](q[f+48>>2],g);q[f+36>>2]=0}g=0;a=d+5|0;if(a>>>0>=6){break a}g=q[(a<<2)+25172>>2];break a}q[c>>2]=q[f+28>>2];g=0;a=q[f+36>>2];if(!a){break a}c=q[f+44>>2];if(!c){break a}b=q[a+20>>2];if(b){a=q[b>>2];if((a&-2)==4){n[c](q[f+48>>2],q[b+12>>2]);a=q[b>>2]}if((a|0)==6){n[q[f+44>>2]](q[f+48>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;g=q[b+40>>2];q[b+52>>2]=g;q[b+48>>2]=g;a=q[b+56>>2];if(a){a=n[a](0,0,0)|0;q[b+60>>2]=a;q[f+56>>2]=a;g=q[b+40>>2]}n[q[f+44>>2]](q[f+48>>2],g);n[q[f+44>>2]](q[f+48>>2],q[b+36>>2]);n[q[f+44>>2]](q[f+48>>2],b);c=q[f+44>>2];a=q[f+36>>2]}n[c](q[f+48>>2],a);g=0;q[f+36>>2]=0}Da=f- -64|0;return g}function Lt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=r[b+164|0];a:{if(!(f&64)){o[b+164|0]=f|64;i=q[b+88>>2];j=q[b+76>>2];b:{if(!q[b+144>>2]){break b}while(1){f=q[((g<<2)+b|0)+104>>2];d=q[b+12>>2];f=_l(f,n[q[d+24>>2]](d,f,q[d+56>>2])|0);if((f|0)==7){g=g+1|0;if(g>>>0>2]){continue}break b}break}h=s[(f<<2)+251954>>1]}f=-1;if(!j){break a}while(1){d=w(e,20)+i|0;g=d;d=_l(q[d>>2],s[d+16>>1]&31);c:{if((d|0)==7){o[g+18|0]=7;break c}h=w(h,24)+(d<<2)|0;d:{if((f|0)==-1){break d}d=r[h+251952|0];if((d|0)==7){break d}o[(w(f,20)+i|0)+18|0]=d;d=e+1|0;if(d-f>>>0<2){break d}rb(b,f,d)}o[g+18|0]=r[h+251953|0];h=s[h+251954>>1];f=e}e=e+1|0;if((j|0)!=(e|0)){continue}break}break a}I(251908,251880,150,251895);F()}e:{if(!q[b+148>>2]){break e}g=0;while(1){e=q[((g<<2)+b|0)+124>>2];d=q[b+12>>2];e=_l(e,n[q[d+24>>2]](d,e,q[d+56>>2])|0);if((e|0)==7){g=g+1|0;if(g>>>0>2]){continue}break e}break}if((f|0)==-1){break e}e=r[(w(h,24)+(e<<2)|0)+251952|0];if((e|0)==7){break e}o[(w(f,20)+i|0)+18|0]=e}f:{if((c|0)==1299148391){f=q[b+76>>2];if(f>>>0<2){break f}c=q[b+88>>2];e=1;while(1){d=c+w(e,20)|0;if(q[d>>2]+ -6155>>>0<=2){o[d+18|0]=r[d+ -2|0]}e=e+1|0;if((f|0)!=(e|0)){continue}break}}f=q[b+76>>2]}if(f){b=q[b+88>>2];e=0;while(1){c=b+w(e,20)|0;q[c+4>>2]=q[c+4>>2]|q[(r[c+18|0]<<2)+a>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}}}function mO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-32|0;Da=d;b=Na(b,0,80);e=q[a>>2];a:{if(e>>>0>3){break a}b:{c:{switch(e-1|0){default:zl(q[(q[a+8>>2]+(q[a+24>>2]<<2)|0)- -64>>2],v[a+16>>3]);c=PO(q[a+8>>2],q[a+24>>2],q[a+28>>2],q[c+88>>2],q[a+40>>2]);if(!c){break b}if(!tN(b+4|0,c+20|0)){break a}q[b+68>>2]=q[c+12>>2]+512>>10;YO(c);RO(q[a+8>>2],q[a+24>>2],b+72|0,b+76|0);break b;case 0:if(!pN(b+4|0,d+8|0,q[a+8>>2],q[c>>2])){break a}q[b+68>>2]=q[d+16>>2]-q[d+8>>2];a=q[d+12>>2];c=q[d+20>>2];q[b+76>>2]=0;q[b+72>>2]=c-a;break b;case 1:if(q[a+24>>2]?0:!q[a+20>>2]){break b}e=q[a+8>>2];if(!q[e+4>>2]){break b}if(!sN(d+8|0,e+4|0,q[a+12>>2],q[a+16>>2])){break a}e=b+4|0;f=b+28|0;if(!rN(e,f,d+8|0,q[a+20>>2]<<4,q[a+24>>2]<<4)){hb(q[c>>2],2,355644,0);Be(e);Be(f);Be(d+8|0);break a}Be(d+8|0);break b;case 2:break c}}if(!Cr(b+4|0,4,4)){break a}a=q[b+20>>2];q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=64;q[a+20>>2]=64;q[a+24>>2]=0;q[a+12>>2]=0;q[a+16>>2]=64;q[a+28>>2]=64;o[q[b+24>>2]]=1;o[q[b+24>>2]+1|0]=1;o[q[b+24>>2]+2|0]=1;o[q[b+24>>2]+3|0]=5;q[b+4>>2]=4;q[b+12>>2]=4}q[b+64>>2]=-2147483648;q[b+52>>2]=2147483647;q[b+56>>2]=2147483647;q[b+60>>2]=-2147483648;a=b+52|0;xr(b+4|0,a);xr(b+28|0,a);if(!(q[b+56>>2]<=q[b+64>>2]?q[b+52>>2]<=q[b+60>>2]:0)){q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}o[b|0]=1}Da=d+32|0;return 1}function Xr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=q[b+20>>2];g=f>>>0>110?0:f;f=q[b+28>>2];h=f+ -50>>>0>150?100:f;f=q[b+24>>2];l=f+ -100>>>0>800?400:f;i=q[a>>2];j=q[i+16>>2];f=q[i+20>>2];a:{if((j|0)<(f|0)){k=q[i+24>>2];break a}f=(f|0)<1?1:f<<1;q[i+20>>2]=f;k=db(q[i+24>>2],w(f,52));q[i+24>>2]=k;j=q[i+16>>2]}f=w(j,52)+k|0;q[f+28>>2]=0;q[f+32>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+12>>2]=0;q[f+16>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;m=q[i>>2];q[i>>2]=m+1;q[f+28>>2]=h;q[f+24>>2]=l;q[f+20>>2]=g;q[f>>2]=m;g=q[b+16>>2];q[f+16>>2]=g;h=q[b+12>>2];q[f+12>>2]=h;h=ab(h,4);q[f+4>>2]=h;b:{c:{if(!h){break c}if(g){g=ab(g,4);q[(w(j,52)+k|0)+8>>2]=g;if(!g){break c}}if(q[f+12>>2]>=1){g=0;while(1){h=g<<2;l=eb(q[h+q[b>>2]>>2]);q[h+q[f+4>>2]>>2]=l;if(!q[h+q[f+4>>2]>>2]){break c}g=g+1|0;if((g|0)>2]){continue}break}}if(q[f+16>>2]>=1){h=w(j,52)+k|0;g=0;while(1){l=g<<2;m=eb(q[l+q[b+4>>2]>>2]);q[l+q[h+8>>2]>>2]=m;if(!q[l+q[h+8>>2]>>2]){break c}g=g+1|0;if((g|0)>2]){continue}break}}b=q[b+8>>2];if(b){b=eb(b);q[(w(j,52)+k|0)+40>>2]=b;if(!b){break c}}if(c){b=eb(c);q[(w(j,52)+k|0)+32>>2]=b;if(!b){break c}}b=w(j,52)+k|0;q[b+48>>2]=e;q[b+36>>2]=d;q[b+44>>2]=a;b=1;q[i+16>>2]=q[i+16>>2]+1;break b}Wr(f);b=0;a=q[a+16>>2];if(!a){break b}n[a](e);return 0}return b}function lm(a,b,c){var d=0,e=0,f=0;e=Da-32|0;Da=e;a:{if(t[b+4>>2]<=c>>>0){q[a+16>>2]=271312;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=0;b=s[135656];c=b<<24|b<<8&16711680;if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[a+20>>2]=0;break a}if(c>>16>=1){q[a+20>>2]=1;break a}q[a+20>>2]=2;break a}d=q[b+8>>2];d=q[(d?d:271312)+12>>2];b:{c:{if(r[b|0]){d=d+(c<<1)|0;f=r[d+1|0]<<1|r[d|0]<<9;d=r[d+3|0]<<1|r[d+2|0]<<9;break c}d=d+(c<<2)|0;f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(d>>>0>=f>>>0){b=q[b+12>>2];b=b?b:271312;if(d>>>0<=t[b+16>>2]){break b}}q[a+16>>2]=271312;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=0;b=s[135656];c=b<<24|b<<8&16711680;if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[a+20>>2]=0;break a}if(c>>16>=1){q[a+20>>2]=1;break a}q[a+20>>2]=2;break a}b=q[b+12>>2];q[e+20>>2]=c;q[e+16>>2]=0;c=d-f|0;q[e+12>>2]=c;b=b+f|0;q[e+8>>2]=b;b=c>>>0<10?271312:b;q[e+24>>2]=b;b=r[b|0]|r[b+1|0]<<8;c=b<<24|b<<8&16711680;d:{if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[e+28>>2]=0;break d}if(c>>16>=1){q[e+28>>2]=1;break d}q[e+28>>2]=2}b=q[e+12>>2];q[a>>2]=q[e+8>>2];q[a+4>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b}Da=e+32|0}function u$(a,b){a=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=271312;c=q[q[q[a+92>>2]+136>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=r[d+2|0]<<8|r[d+3|0];d=d?d+c|0:271312}k=q[a+124>>2];q[a+124>>2]=b;c=r[d+3|0];b=c|r[d+2|0]<<8;e=q[a+128>>2];if(c&16){i=b;b=(d+4|0)+(r[d+5|0]<<1|r[d+4|0]<<9)|0;b=i|r[b+2|0]<<24|r[b+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=b;q[a+8>>2]=b;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;g=q[a+116>>2];q[a+16>>2]=g;h=r[a+142|0];o[a+13|0]=h;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=b;b=q[a+120>>2];f=(b|0)==1;o[a+12|0]=f;q[a+4>>2]=a;c=1;c=f?c:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=c;f=r[d+5|0];c=r[d+4|0];i=f|c<<8;if(i){g=r[d+1|0]|r[d|0]<<8;h=d+4|0;b=0;while(1){c=(c<<8|f)>>>0>b>>>0?(h+(b<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];j=1;a:{if(Iu(c?c+d|0:271312,a,g)){break a}b=b+1|0;if((i|0)==(b|0)){j=0}else{f=r[d+5|0];c=r[d+4|0];continue}}break}g=q[a+116>>2];h=r[a+142|0];b=q[a+120>>2]}q[a+128>>2]=e;q[a+124>>2]=k;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+16>>2]=g;o[a+13|0]=h;q[a+8>>2]=e;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=e;d=(b|0)==1;o[a+12|0]=d;q[a+4>>2]=a;q[a+48>>2]=a;b=1;b=d?b:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=b;return j|0}function q$(a,b){a=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=271312;c=q[q[q[a+92>>2]+140>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=r[d+2|0]<<8|r[d+3|0];d=d?d+c|0:271312}k=q[a+124>>2];q[a+124>>2]=b;c=r[d+3|0];b=c|r[d+2|0]<<8;e=q[a+128>>2];if(c&16){i=b;b=(d+4|0)+(r[d+5|0]<<1|r[d+4|0]<<9)|0;b=i|r[b+2|0]<<24|r[b+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=b;q[a+8>>2]=b;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;g=q[a+116>>2];q[a+16>>2]=g;h=r[a+142|0];o[a+13|0]=h;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=b;b=q[a+120>>2];f=(b|0)==1;o[a+12|0]=f;q[a+4>>2]=a;c=1;c=f?c:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=c;f=r[d+5|0];c=r[d+4|0];i=f|c<<8;if(i){g=r[d+1|0]|r[d|0]<<8;h=d+4|0;b=0;while(1){c=(c<<8|f)>>>0>b>>>0?(h+(b<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];j=1;a:{if(Gu(c?c+d|0:271312,a,g)){break a}b=b+1|0;if((i|0)==(b|0)){j=0}else{f=r[d+5|0];c=r[d+4|0];continue}}break}g=q[a+116>>2];h=r[a+142|0];b=q[a+120>>2]}q[a+128>>2]=e;q[a+124>>2]=k;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+16>>2]=g;o[a+13|0]=h;q[a+8>>2]=e;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=e;d=(b|0)==1;o[a+12|0]=d;q[a+4>>2]=a;q[a+48>>2]=a;b=1;b=d?b:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=b;return j|0}function LZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!Tb(a+2|0,b,a)){break a}e=q[b+4>>2];c=a+4|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+5|0];g=r[a+4|0];h=c|g<<8;b:{if(!h){break b}c=a+6|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+5|0];g=r[a+4|0];d=c|g<<8;if(!d){break b}e=0;c:{while(1){if(Tb(((e<<1)+a|0)+6|0,b,a)){e=e+1|0;if((d|0)!=(e|0)){continue}break c}break}return 0}c=r[a+5|0];g=r[a+4|0];e=q[b+4>>2]}d=((c<<1|g<<9)+a|0)+6|0;if(e>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=r[d+1|0];c=r[d|0];i=h|c<<8;d:{if(!i){break d}c=d+2|0;if(e>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=r[d+1|0];c=r[d|0];f=h|c<<8;if(!f){break d}e=0;e:{while(1){if(Tb((d+(e<<1)|0)+2|0,b,a)){e=e+1|0;if((f|0)!=(e|0)){continue}break e}break}return 0}h=r[d+1|0];c=r[d|0];e=q[b+4>>2]}a=(d+(h<<1|c<<9)|0)+2|0;if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(f){a=a+2|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}}j=1}return j}function lM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a|!b){break a}if(q[a>>2]==-1){if(!c){break a}q[c>>2]=0;return 0}if(c){d=c;c=Tk(b,a);q[d>>2]=!c;e=1;if(c){break a}}e=1;j=q[b+4>>2];if((j|0)<1){break a}e=0;while(1){d=q[a+4>>2];if((e|0)<(d|0)){c=s[(q[a+12>>2]+a|0)+(e<<1)>>1]}else{c=65535}f=s[(q[b+12>>2]+b|0)+(i<<1)>>1];b:{if(c>>>0>>0){k=q[a+12>>2]+a|0;if(!k){e=0;break b}c=d+ -1|0;h=e+1|0;c:{if((d|0)>(h|0)){while(1){g=c+h|0;e=g>>1;g=s[(g&-2)+k>>1];if((g|0)==(f|0)){break c}g=g>>>0>>0;h=g?e+1|0:h;c=g?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(d|0)|s[(c<<1)+k>>1]>=f>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)>-1){break b}e=e^-1;break b}d=q[b+8>>2]+b|0;d=q[d+(i<<2)>>2]+d|0;d:{if(f>>>0>>0){c=gg(a,f<<8);if(!c){return 0}f=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=f;f=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=f;f=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=f;f=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=f;break d}c=q[a+8>>2]+a|0;c=q[c+(e<<2)>>2]+c|0;q[c>>2]=q[d>>2]|q[c>>2];q[c+4>>2]=q[d+4>>2]|q[c+4>>2];q[c+8>>2]=q[d+8>>2]|q[c+8>>2];q[c+12>>2]=q[d+12>>2]|q[c+12>>2];q[c+16>>2]=q[d+16>>2]|q[c+16>>2];q[c+20>>2]=q[d+20>>2]|q[c+20>>2];q[c+24>>2]=q[d+24>>2]|q[c+24>>2];q[c+28>>2]=q[d+28>>2]|q[c+28>>2]}i=i+1|0;e=e+1|0;j=q[b+4>>2]}if((i|0)<(j|0)){continue}break}e=1}return e}function WV(a,b,c,d){var e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=0,m=0,n=0,o=0,p=0;k=r[a+2|0];f=k<<24>>24;a:{if((f|0)<=-1){d=f&255;d=w(d>>>5&2|d>>>7,c);l=d>>>0>c>>>0?c:d;k=a+4|0;break a}k=w(r[a+3|0]|k<<8&3840,c);e=q[d+4>>2];if(k>>>0>=e>>>0){return x(0)}g=e-k|0;e=g>>>0>e>>>0?0:g;l=e>>>0>c>>>0?c:e;k=q[d>>2]+(k<<1)|0}d=0;m=f&64;if(m){e=f&255;e=w(e>>>5&2|e>>>7,c);f=f>>31&c;g=f+c|0;i=e-g|0;i=i>>>0>e>>>0?0:i;n=i>>>0>c>>>0?c:i;i=e-f|0;e=i>>>0>e>>>0?0:i;o=e>>>0>c>>>0?c:e;a=a+4|0;p=a+(f<<1)|0;i=a+(g<<1)|0}h=x(1);b:{if(!c){break b}while(1){g=d<<1;a=l>>>0>d>>>0?g+k|0:271312;a=r[a|0]|r[a+1|0]<<8;f=a<<24|a<<8&16711680;j=h;h=j;c:{if(!((f|(a>>>8&65280|a>>>24))>>>16)){break c}a=f>>16;f=q[(d<<2)+b>>2];h=j;if((a|0)==(f|0)){break c}if(m){e=o>>>0>d>>>0?g+p|0:271312;e=r[e|0]|r[e+1|0]<<8;e=(e<<24|e<<8&16711680)>>16;h=j;if((a|0)<(e|0)){break c}g=n>>>0>d>>>0?g+i|0:271312;g=r[g|0]|r[g+1|0]<<8;g=(g<<24|g<<8&16711680)>>16;h=j;if((g|0)<(a|0)){break c}h=j;if(!((g|0)<=0|(e|0)>-1)){break c}h=x(0);if((f|0)<(e|0)|(f|0)>(g|0)){break b}if((f|0)<(a|0)){h=j;if((a|0)==(e|0)){break c}h=x(j*x(x(f-e|0)/x(a-e|0)));break c}h=j;if((a|0)==(g|0)){break c}h=x(j*x(x(g-f|0)/x(g-a|0)));break c}h=x(0);if(!f|(f|0)<(a>>31&a)|(f|0)>(((a|0)>0?a:0)|0)){break b}h=x(j*x(x(f|0)/x(a|0)))}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return h}function mb(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=q[a+32>>2];a:{while(1){b:{g=r[b|0];e=g+ -4|0;if(e>>>0>21){break b}c:{d:{switch(e-1|0){default:d=lb(a,s[b+2>>1]);if(d){break a}d=q[a+32>>2];h=1;b=b+4|0;continue;case 19:case 20:f=r[b+1|0];e=f+d|0;if(e>>>0>t[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Qa(s[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue;case 7:case 8:f=r[d+1|0]|r[d|0]<<8;d=d+2|0;e=16;break c;case 9:case 10:f=r[d|0]|r[d+1|0]<<8;d=d+2|0;e=16;break c;case 11:case 12:e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=d+4|0;e=0;break c;case 13:case 14:f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=d+4|0;e=0;break c;case 15:case 16:f=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);d=d+3|0;e=8;break c;case 17:case 18:f=r[d|0]|(r[d+1|0]<<8|r[d+2|0]<<16);d=d+3|0;e=8;break c;case 0:case 1:case 2:case 5:case 6:break b;case 3:case 4:break d}}f=r[d|0];d=d+1|0;e=24}g=g&1?f<>e:f;f=s[b+2>>1]+c|0;e:{e=r[b+1|0]+ -1|0;if(e>>>0>3){break e}f:{switch(e-1|0){default:o[f|0]=g;b=b+4|0;continue;case 1:case 2:break e;case 0:break f}}p[f>>1]=g;b=b+4|0;continue}q[f>>2]=g;b=b+4|0;continue}break}q[a+32>>2]=d;d=0}if(h){if(q[a+20>>2]){c=q[a>>2];if(c){b=q[a+28>>2];n[q[b+8>>2]](b,c)}q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}return d}function me(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;f=Da-16|0;Da=f;a:{if((c|0)<1){break a}j=q[a+4>>2];while(1){h=(l<<3)+b|0;b:{if(!q[h>>2]){Fe(j);if(q[j+12>>2]>=2){q[f+8>>2]=0;break a}d=q[j>>2];g=d+ -1|0;e=3;i=q[j+8>>2];c:{if(d>>>0>=i>>>0){break c}while(1){d:{e=d;d=d+1|0;q[j>>2]=d;e:{k=r[e|0]+ -10|0;if(k>>>0>16){break e}e=2;switch(k-1|0){case 0:case 1: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;case 15:break d;default:break c}}if(d>>>0>>0){continue}}break}e=3}q[j+12>>2]=e;q[f+8>>2]=g;break b}g=cf(j);q[f+8>>2]=g;if(!g){break a}d=q[j>>2]}e=q[h>>2];f:{if(e>>>0>5){break f}i=d-g|0;d=i+ -1|0;g:{switch(e-2|0){default:e=Fj(q[a>>2],i,f+4|0);q[h+4>>2]=e;if(q[f+4>>2]){break f}Qa(e,g,d);o[d+q[h+4>>2]|0]=0;break f;case 0:m=h,p=Ed(f+8|0,d+g|0,0),q[m+4>>2]=p;break f;case 1:q[f+12>>2]=g;k=d+g|0;i=ne(f+12|0,k,10);e=0;d=q[f+12>>2];h:{if((g|0)==(d|0)){break h}if(!(r[d|0]!=35|d>>>0>=k>>>0)){g=d+1|0;q[f+12>>2]=g;i=ne(f+12|0,k,i);d=q[f+12>>2];if((g|0)==(d|0)){break h}}q[f+8>>2]=d;e=i}q[h+4>>2]=e;break f;case 2:if((d|0)==4){e=!Ra(g,291608,4)}else{e=0}o[h+4|0]=e;break f;case 3:break g}}e=q[a+12>>2];if(e){m=h,p=n[e](g,d,q[a+16>>2])|0,q[m+4>>2]=p;break f}q[h+4>>2]=0}l=l+1|0;if((l|0)!=(c|0)){continue}break}l=c}Da=f+16|0;return l}function kw(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;f=Da+ -64|0;Da=f;q[b+60>>2]=0;a:{h=r[a+3|0]|r[a+2|0]<<8;if(h){l=h+ -1|0;a=a+4|0;while(1){d=q[b+12>>2];e=q[d+48>>2];b:{if(o[a+5|0]&1^(e&-2)==4){break b}g=q[b+4>>2];q[f+48>>2]=c;q[f+40>>2]=114;q[f+44>>2]=110;q[f+32>>2]=107;q[f+36>>2]=101;if(!jd(d,g,228682,f+32|0)){break b}d=e&-3;c:{if(i){i=1;break c}i=0;if(!(r[a+5|0]&4)){break c}i=1;c=q[b+12>>2];e=q[c+76>>2];if(!e){break c}g=q[c+96>>2];c=0;while(1){k=g+w(c,20)|0;o[k+18|0]=2;p[k+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}g=(d|0)!=5;if(!g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+24>>2]=e;if((c|0)<=-1){break a}c=j>>>0>>0?a:0;d:{if(!c){break d}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c+3|0]|r[c+2|0]<<8;e=e-c|0;q[b+24>>2]=c+(e>>>0>d>>>0?d:e)}c=o$(a,b);d=q[b+44>>2];e=q[d+12>>2];q[b+20>>2]=e;d=q[d+16>>2];q[b+24>>2]=d+e;if((d|0)<=-1){break a}if(!g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[f+16>>2]=q[b+60>>2];q[f+8>>2]=114;q[f+12>>2]=110;q[f>>2]=107;q[f+4>>2]=101;jd(d,c,228709,f)}d=r[a+3|0];e=r[a+2|0];c=q[b+60>>2]+1|0;q[b+60>>2]=c;a=(d|e<<8)+a|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}Da=f- -64|0;return}I(228734,228759,195,228776);F()}function BI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!a){break b}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(!(d-1)){q[a+280>>2]=33;return 0}q[a+280>>2]=36;return 0}i=q[a+32>>2];c:{if(!i){break c}d=q[a+28>>2];if(!d){break c}b=i-d|0}e=q[a+28>>2];if((b|0)>=1024){break b}b=0;d:{if(!e){break d}d=q[a+24>>2];if(!d){break d}b=e-d|0}b=b+1024|0;if((b|0)<=-1){break a}h=b;g=q[a+24>>2];e:{f:{if(!g){break f}f=q[a+8>>2];if(!f){break f}c=g-f|0;b=1024;if((c|0)>1023){break e}}b=c}d=b;f=h+d|0;g:{h:{i:{j:{if(i){b=q[a+8>>2];if((f|0)<=((b?i-b|0:0)|0)){break j}if(!g){break i}c=i-g|0;if(c){break h}break i}if((f|0)>0){break i}}k:{if(g){b=q[a+8>>2];c=b?g-b|0:0;if((d|0)<(c|0)){break k}break g}if((d|0)>-1){break g}b=q[a+8>>2];c=0}h=b;b=c-d|0;sb(h,h+b|0,(d+e|0)-g|0);e=q[a+28>>2]-b|0;q[a+28>>2]=e;q[a+24>>2]=q[a+24>>2]-b;break g}c=1024}while(1){c=c<<1;if((c|0)>0?(c|0)<(f|0):0){continue}break}if((c|0)<=0){break a}b=n[q[a+12>>2]](c)|0;if(!b){break a}q[a+32>>2]=b+c;c=q[a+24>>2];l:{if(c){e=0;h=b;b=q[a+28>>2];f=Qa(h,c-d|0,(b?b-c|0:0)+d|0);n[q[a+20>>2]](q[a+8>>2]);q[a+8>>2]=f;c=q[a+28>>2];m:{if(!c){break m}b=q[a+24>>2];if(!b){break m}e=c-b|0}e=(e+f|0)+d|0;q[a+28>>2]=e;b=d+f|0;break l}q[a+8>>2]=b;q[a+28>>2]=b;e=b}q[a+24>>2]=b}q[a+292>>2]=0;q[a+284>>2]=0;q[a+288>>2]=0}return e}q[a+280>>2]=1;return 0}function $g(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=q[a+2744>>2];a:{if(!(j&4)){break a}h=q[a+2748>>2];if(r[(h+w(b,9516)|0)+256|0]){break a}a=c>>31;g=a+c^a;b:{c:{d:{if((b|0)==1){if(j&2){break c}if(!(f&2)|(g|0)>191){break d}a=g;break b}if(j&1){break c}}a=e&1?(g|0)<80?64:g:(g|0)>56?g:56;b=h+w(b,9516)|0;if(!q[b+52>>2]){break b}b=q[b+60>>2];f=a-b|0;e=f>>31;if((e^e+f)<=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}e=0;e:{if((c&d)>-1?!((c|0)>0&(d|0)>0):0){break e}b=s[q[q[h+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break e}d=(w(30-b|0,d)|0)/20|0}e=(d|0)<0?d:0-d|0}a=(a+e|0)+32&-64;break b}h=h+w(b,9516)|0;k=q[h+52>>2];f:{g:{if(k){a=98;e=0;f=g;while(1){l=q[(h+w(e,12)|0)+60>>2];i=g-l|0;d=i>>31;i=d^d+i;d=(i|0)<(a|0);a=d?i:a;f=d?l:f;e=e+1|0;if((k|0)!=(e|0)){continue}break}d=f+32&-64;a=d;if((f|0)<=(g|0)){break g}d=(d+ -48|0)<(g|0)?f:g;break f}f=g;a=g+32&2147483584}d=(a|48)>(g|0)?f:g}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(j&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)<16){break b}if((g|0)>47){a=g;break b}a=g- -64>>>1|0;break b}a=d+32&-64}c=(c|0)>-1?a:0-a|0}return c}function TJ(a,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=c-b|0;c=e&1?(e&-2)+b|0:c;f=c-b|0;a:{if((f|0)<2){break a}h=a+72|0;e=0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{a=r[b|0];g=a+ -216|0;if(g>>>0>39){if(a){break c}a=r[r[b+1|0]+h|0];if(a>>>0>8){break c}switch(a-2|0){case 4:break i;case 1:case 3:break c;case 2:break d;case 0:break e;case 5:break h;default:break f}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break f;case 35:break g;default:break h}}if((f|0)<3){return-2}b=b+3|0;break b}if((f|0)<4){return-2}b=b+4|0;break b}if(r[b+1|0]<=253){break c}}q[d>>2]=b;return 0}a=b+2|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+3|0]!=33){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+5|0]!=91){b=a;break b}b=b+6|0;e=e+1|0;break b}a=b+2|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+3|0]!=93){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+5|0]!=62){b=a;break b}b=b+6|0;if(!e){q[d>>2]=b;return 42}e=e+ -1|0;break b}b=b+2|0}f=c-b|0;if((f|0)>1){continue}break}}return-1}function SW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=v[a+136>>3];k=v[a+128>>3];d=q[a+24>>2];a:{b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){break b}d=q[a+36>>2]+(d<<5)|0;break a}o[a+20|0]=1}d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976}g=r[a+176|0];c:{if(!g){break c}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break c}h=q[d+24>>2];i=q[a+172>>2];f=v[d>>3];while(1){f=f+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break c}q[d+20>>2]=0}c=q[a+24>>2];d:{e:{if(c){c=c+ -1|0;q[a+24>>2]=c;if(t[a+32>>2]<=c>>>0){break e}c=q[a+36>>2]+(c<<5)|0;break d}o[a+20|0]=1}c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976}f:{if(!g){break f}g=q[c+20>>2];if(!g|(g|0)!=q[a+168>>2]){break f}h=q[c+24>>2];i=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((g|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=v[c>>3];l=v[d>>3];o[b|0]=0;v[a+136>>3]=j+l;v[a+128>>3]=k+f}function ex(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-304|0;Da=c;d=r[a+3|0];a:{if(d>>>0>5){break a}b:{switch(d-1|0){default:q[c+20>>2]=0;q[c+24>>2]=0;o[c+16|0]=0;d=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=a+8;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+8>>2]=a;dx(c,c+16|0);break a;case 0:q[c+28>>2]=0;o[c+24|0]=0;o[c+16|0]=0;d=a+8|0;q[c+32>>2]=d;q[c+20>>2]=b;q[c+36>>2]=d+(r[a+17|0]|r[a+16|0]<<8);e=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+8>>2]=a;cx(c,c+16|0);break a;case 1:o[c+16|0]=0;d=a+8|0;q[c+24>>2]=d;q[c+20>>2]=b;q[c+28>>2]=d+(r[a+17|0]|r[a+16|0]<<8);q[c+32>>2]=d+(r[a+19|0]|r[a+18|0]<<8);e=r[a+21|0];a=r[a+20|0];q[c+40>>2]=0;q[c+36>>2]=d+(e|a<<8);e=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+8>>2]=a;ax(c,c+16|0);break a;case 3:e=q[b+8>>2];d=q[e+32>>2];if((d|0)==-1){d=lc(e)}b=q[b+12>>2];e=q[b+76>>2];if(e){g=a+8|0;h=q[b+88>>2];a=0;while(1){f=w(a,20)+h|0;b=Sc(g,q[f>>2],d);if(b){q[f>>2]=r[b+1|0]|r[b|0]<<8}a=a+1|0;if((e|0)!=(a|0)){continue}break}}break a;case 2:break a;case 4:break b}}q[c+24>>2]=0;o[c+16|0]=0;q[c+20>>2]=b;d=r[a+17|0]|r[a+16|0]<<8;a=a+8|0;q[c+28>>2]=d+a;d=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+8>>2]=a;$w(c,c+16|0)}Da=c+304|0}function lK(a,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=c-b|0;c=e&1?(e&-2)+b|0:c;f=c-b|0;a:{if((f|0)<2){break a}h=a+72|0;e=0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{a=r[b+1|0];g=a+ -216|0;if(g>>>0>39){if(a){break c}a=r[r[b|0]+h|0];if(a>>>0>8){break c}switch(a-2|0){case 4:break i;case 1:case 3:break c;case 2:break d;case 0:break e;case 5:break h;default:break f}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break f;case 35:break g;default:break h}}if((f|0)<3){return-2}b=b+3|0;break b}if((f|0)<4){return-2}b=b+4|0;break b}if(r[b|0]<=253){break c}}q[d>>2]=b;return 0}a=b+2|0;if((c-a|0)<2){break a}if(r[b+3|0]){b=a;break b}if(r[a|0]!=33){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[b+5|0]){b=a;break b}if(r[a|0]!=91){b=a;break b}b=b+6|0;e=e+1|0;break b}a=b+2|0;if((c-a|0)<2){break a}if(r[b+3|0]){b=a;break b}if(r[a|0]!=93){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[b+5|0]){b=a;break b}if(r[a|0]!=62){b=a;break b}b=b+6|0;if(!e){q[d>>2]=b;return 42}e=e+ -1|0;break b}b=b+2|0}f=c-b|0;if((f|0)>1){continue}break}}return-1}function sl(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,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0,C=0;j=q[e>>2];s=q[j+60>>2];t=q[j+52>>2];f=+(s+t|0)*.5;g=v[a>>3];u=q[j- -64>>2];w=q[j+56>>2];o=+(u+w|0)*.5;i=v[a+8>>3];h=v[a+16>>3]+(f*g+o*i);v[a+16>>3]=h;x=v[a+24>>3];k=v[a+32>>3];z=v[a+40>>3]+(f*x+o*k);v[a+40>>3]=z;j=a- -64|0;p=v[a+48>>3];l=o;o=v[a+56>>3];f=v[j>>3]+(f*p+l*o);v[j>>3]=f;a:{if(f<=0){break a}l=k;r=1/f;k=r*z;z=l-o*k;v[a+32>>3]=z;x=x-p*k;v[a+24>>3]=x;l=i;i=r*h;h=l-o*i;v[a+8>>3]=h;r=g-p*i;v[a>>3]=r;g=0;i=i*.125;if(!d){A=v[c+8>>3];g=v[c>>3]}i=i-g;if(!(y(i)<1e6)){break a}a=gc(i);k=k*.125-A;if(!(y(k)<1e6)){break a}j=gc(k);g=+(s-t|0)*.5+64;A=+(u-w|0)*.5+64;l=f-g*y(p)-A*y(o);f=f*.0625;f=.125/(l>f?l:f);g=g*f;r=r*g;if(!(y(r)<1e6)){break a}s=gc(r);f=A*f;h=h*f;if(!(y(h)<1e6)){break a}t=gc(h);h=x*g;if(!(y(h)<1e6)){break a}u=gc(h);h=z*f;if(!(y(h)<1e6)){break a}w=gc(h);m=w>>31;l=p;n=t>>31;B=n+t^n;n=s>>31;n=B+(n+s^n)|0;B=m^m+w;m=u>>31;m=B+(m+u^m)|0;p=+(((n|0)>(m|0)?n:m)|0)*8;g=l*(g*p);if(!(y(g)<1e6)){break a}m=gc(g);f=o*(f*p);if(!(y(f)<1e6)){break a}n=gc(f);if(!(!c|!d)){v[c+8>>3]=k- +(j|0);v[c>>3]=i- +(a|0)}q[b+4>>2]=j>>3;q[b>>2]=a>>3;q[e+32>>2]=n;q[e+28>>2]=m;q[e+24>>2]=w;q[e+20>>2]=u;q[e+16>>2]=t;q[e+12>>2]=s;q[e+8>>2]=j&7;q[e+4>>2]=a&7;C=1}return C}function zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,t=0,u=0,v=0;h=q[a+96>>2];l=q[h+(r[h+69|0]?80:72)>>2];if(b){i=l-q[h+72>>2]|0;while(1){k=(g<<2)+c|0;q[k>>2]=i+q[k>>2];g=g+1|0;if((g|0)!=(b|0)){continue}break}}g=f+l|0;a:{if(!d){break a}while(1){if(!r[h+68|0]){break a}f=(m<<2)+e|0;i=r[f|0]<<8|r[f+1|0];b:{if(i>>>0>=b>>>0|(q[a+124>>2]==(r[f+3|0]|r[f+2|0]<<8)?!i:0)){break b}o=(i<<2)+c|0;if(!rd(h,q[o>>2])|q[h+40>>2]<1){break a}l=q[a+132>>2];if(!l){break b}k=q[a+100>>2];if(!k){break b}j=r[f+2|0];s=r[f+3|0];t=q[(r[h+69|0]?80:72)+h>>2];u=q[h+72>>2];v=q[h+76>>2];p=q[a+96>>2];f=q[p+40>>2];q[p+40>>2]=f+ -1;if((f|0)<1){break b}q[a+132>>2]=l+ -1;f=n[k](a,s|j<<8)|0;q[a+132>>2]=q[a+132>>2]+1;if(!f){break b}j=(q[h+76>>2]+(q[(r[h+69|0]?80:72)+h>>2]+(u-(t+v|0)|0)|0)|0)-q[h+72>>2]|0;if(!j){break b}l=g+j|0;g=q[o>>2];if((l|0)<=(g|0)){break a}i=i+1|0;k=c;c:{if((j|0)>=1){f=b+j|0;g=i;if(f>>>0<=64){break c}g=l;break a}f=i-b|0;j=(j|0)<(f|0)?f:j;f=j+b|0;g=i-j|0}k=(g<<2)+k|0;sb(k+(j<<2)|0,k,b-g<<2);g=g+j|0;if(i>>>0>>0){b=q[o>>2];while(1){b=b+1|0;q[(i<<2)+c>>2]=b;i=i+1|0;if((i|0)!=(g|0)){continue}break}}if(g>>>0>>0){while(1){b=(g<<2)+c|0;q[b>>2]=q[b>>2]+j;g=g+1|0;if((g|0)!=(f|0)){continue}break}}g=l;b=f}m=m+1|0;if((m|0)!=(d|0)){continue}break}}rd(h,g);return 1}function _q(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;if((a|0)==(b|0)){return 1}a:{if(!a|!b){break a}h=q[a+4>>2];i=-1;e=-1;j=q[a+12>>2]+a|0;b:{c:{if(j){c=h+ -1|0;d:{e:{if((h|0)<1){e=c;break e}while(1){f=c>>1;e=f;if(!s[(c&-2)+j>>1]){break d}d=(c|0)>1;e=f+ -1|0;c=e;if(d){continue}break}}e=(e>>>31|0)+e^-1}c=0;if((e|0)>-1){break c}}c=e^-1;e=0;d=0;if((c|0)==(h|0)){break b}e=c;c=s[(c<<1)+j>>1]<<8}i=c;d=q[a+8>>2]+a|0;d=q[d+(e<<2)>>2]+d|0}g=d;k=q[b+4>>2];d=-1;l=q[b+12>>2]+b|0;f:{g:{if(l){c=k+ -1|0;h:{i:{if((k|0)<1){d=c;break i}while(1){d=c>>1;f=d;if(!s[(c&-2)+l>>1]){break h}f=(c|0)>1;d=d+ -1|0;c=d;if(f){continue}break}}f=(d>>>31|0)+d^-1}d=f;f=0;if((d|0)>-1){break g}}c=0;d=d^-1;if((k|0)==(d|0)){break f}f=s[(d<<1)+l>>1]<<8}c=q[b+8>>2]+b|0;c=q[c+(d<<2)>>2]+c|0;if(!g|!c){break f}while(1){if((f|0)!=(i|0)|q[g>>2]!=q[c>>2]|(q[g+4>>2]!=q[c+4>>2]|q[g+8>>2]!=q[c+8>>2])){break a}if(q[g+12>>2]!=q[c+12>>2]|q[g+16>>2]!=q[c+16>>2]|(q[g+20>>2]!=q[c+20>>2]|q[g+24>>2]!=q[c+24>>2])){break a}if(q[g+28>>2]!=q[c+28>>2]){break a}c=0;i=-1;g=0;f=e+1|0;if((f|0)<(h|0)){e=q[a+8>>2]+a|0;g=q[e+(f<<2)>>2]+e|0;i=s[(f<<1)+j>>1]<<8;e=f}d=d+1|0;if((d|0)>=(k|0)){break f}c=q[b+8>>2]+b|0;c=q[c+(d<<2)>>2]+c|0;if(!g){break f}f=s[(d<<1)+l>>1]<<8;if(c){continue}break}}m=(c|0)==(g|0)}return m}function pv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:if(!Tb(a+2|0,b,a)){break a}g=q[b+4>>2];d=a+4|0;if(g>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}h=r[a+5|0]|r[a+4|0]<<8;if(!h){break b}c=d+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<2){break b}c=1;e=r[a+5|0]|r[a+4|0]<<8;if(!e){break b}c=0;d:{while(1){if(!nv((d+(c<<1)|0)+2|0,b,a)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}return 1}break a;case 0:if(!Tb(a+2|0,b,a)){break a}if(!lf(a+4|0,b,a)){break a}f=q[b+4>>2];c=a+6|0;if(f>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break a}g=r[a+7|0]|r[a+6|0]<<8;if(!g){break b}c=a+8|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break b}c=1;e=r[a+7|0]|r[a+6|0]<<8;if(!e){break b}d=0;while(1){if(nv(((d<<1)+a|0)+8|0,b,a)){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}break a;case 1:break c}}c=JZ(a,b)}return c}return 0}function TM(a,b,c,d){a=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,q=0;e=Da+ -64|0;j=c+4|0;if(j){q=d<<4;k=w(c+15&-16,d);l=e+32|0;while(1){i=0;if(d){while(1){c=h-q|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];p[e+28>>1]=s[c+28>>1];p[e+30>>1]=s[c+30>>1];c=h>>>0>>0?(h<<1)+b|0:438160;g=s[c>>1];p[e+32>>1]=g;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];c=0;while(1){m=c<<1;f=m+l|0;n=s[f+ -4>>1];g=n+((n+((s[f+ -8>>1]+g&65534)>>>1|0)&65534)>>>1|0)|0;f=s[f+ -2>>1]+s[f+ -6>>1]|0;p[a+m>>1]=(((g+f&65534)>>>1|f&g&32768)+1&65534)>>>1;c=c+1|0;if((c|0)!=16){g=s[(c<<1)+l>>1];continue}break}h=h+16|0;a=a+32|0;i=i+1|0;if((i|0)!=(d|0)){continue}break}}o=o+16|0;if(o>>>0>>0){continue}break}}}function yt(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{c:{d:{i=(f|0)!=0&b;if((i|0)!=1){break d}j=ab(f,16);if(j){break d}j=0;break c}k=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=k;q[a+16>>2]=q[d+16>>2];k=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=k;q[a+24>>2]=f;q[a+20>>2]=b?j:e;if(i){b=Qa(j,e,f<<4);e=q[b+8>>2];i=0;while(1){d=0;if(e){q[b+8>>2]=1;d=1}if(q[b+12>>2]!=-1){q[b+12>>2]=2}e=d;i=i+1|0;if((i|0)!=(f|0)){continue}break}}q[a+36>>2]=0;q[a+40>>2]=0;Wv(c,1196643650,g,h,a+28|0);Wv(c,1196445523,g,h,a+32|0);e:{f:{d=bT();b=q[d+16>>2];if((b|0)==566){if(q[c+40>>2]){break e}while(1){if(!q[c+36>>2]){break f}b=q[c+40>>2];q[c+40>>2]=b?b:1;if(!b){break e}if(!q[c+40>>2]){continue}break}break e}if((b|0)!=567){break f}if(q[c+44>>2]){break a}while(1){if(!q[c+36>>2]){break f}b=q[c+44>>2];q[c+44>>2]=b?b:1;if(!b){break a}if(!q[c+44>>2]){continue}break}break a}b=q[d+36>>2];if((b|0)!=566){if((b|0)!=567){break c}if(q[c+44>>2]){break a}while(1){if(!q[c+36>>2]){break c}b=q[c+44>>2];q[c+44>>2]=b?b:1;if(!b){break a}if(!q[c+44>>2]){continue}break}break a}if(q[c+40>>2]){break e}while(1){if(!q[c+36>>2]){break c}b=q[c+40>>2];q[c+40>>2]=b?b:1;if(!b){break e}if(!q[c+40>>2]){continue}break}}break b}La(j);return 0}q[a+40>>2]=270503;q[a+36>>2]=566;return 1}q[a+40>>2]=270506;q[a+36>>2]=567;return 1}function Gv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(h>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}b:{c:{c=c+d|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0<=7){break c}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break c}if(!Dm(c+2|0,b,c)){break c}q[i+12>>2]=c;d=q[b+4>>2];e=c+6|0;if(d>>>0>e>>>0){break c}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break c}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break c}h=r[e+1|0]|r[e|0]<<8;if(!h){break b}j=d;d=e+2|0;if(j>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break c}q[b+12>>2]=g+ -2;if((g|0)<2){break c}g=r[e+1|0]|r[e|0]<<8;if(!g){break b}f=0;while(1){if(!Cm((e+(f<<2)|0)+2|0,b,c)){break c}f=f+1|0;if((g|0)!=(f|0)){continue}break}break b}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}e=1}Da=i+16|0;return e}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;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=z(f)-z(g)|0;if(f>>>0<=31){break h}break b}if((d|0)==1&c>>>0>=0|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;P$(a-w(b,c)|0,0);Ea=0;return b}e=d;if(!a){break g}if(!e){break f}f=e+ -1|0;if(f&e){break f}P$(a,f&g);a=g>>>(T$(e)&31)|0;Ea=0;return a}f=e+ -1|0;if(!(f&e)){break e}j=(z(e)+33|0)-z(g)|0;h=0-j|0;break c}j=f+1|0;h=63-f|0;break c}a=(g>>>0)/(e>>>0)|0;P$(0,g-w(a,e)|0);Ea=0;return a}f=z(e)-z(g)|0;if(f>>>0<31){break d}break b}P$(a&f,0);if((e|0)==1){break a}c=a;a=T$(e);d=a&31;if(32<=(a&63)>>>0){f=0;a=b>>>d|0}else{f=b>>>d|0;a=((1<>>d}Ea=f;return a}j=f+1|0;h=63-f|0}e=b;g=a;f=j&63;i=f&31;if(32<=(f&63)>>>0){f=0;l=e>>>i|0}else{f=e>>>i|0;l=((1<>>i}a=h&63;h=a&31;if(32<=(a&63)>>>0){e=g<>>32-h|b<>>0<4294967295){g=g+1|0}h=e;while(1){e=l;f=f<<1|e>>>31;e=e<<1;k=f;f=b>>>31|e;m=k;e=k;k=f;i=g-((h>>>0>>0)+e|0)|0;e=i>>31;i=i>>31;f=c&i;l=k-f|0;f=m-((d&e)+(k>>>0>>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}}P$(l,f);e=b<<1|a>>>31;a=k|a<<1;Ea=e|m;return a}P$(a,b);a=0;b=0}Ea=b;return a}function Qt(a,b,c){var d=0,e=0,f=x(0),g=0,h=0,i=x(0),j=0,k=0,l=x(0),m=0,n=0;if(q[a+4>>2]){if(c){j=ab(c,4);g=ab(c,4);k=ab(c,4);if(!(k?!(!j|!g):0)){La(j);La(g);La(k);return}d=c<<2;Qa(j,b,d);Qa(g,b,d)}b=xU(q[a+16>>2]+116|0);b=t[b+16>>2]<8?271312:q[b+12>>2];d=r[b+6|0]<<8|r[b+7|0];e=d>>>0>>0?d:c;if(e){b=b+8|0;d=0;while(1){h=(d<<2)+g|0;m=h,n=wU(b,q[h>>2]),q[m>>2]=n;b=(r[b|0]<<10|r[b+1|0]<<2|2)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(c){b=0;while(1){d=yU(q[a+16>>2]+112|0);d=t[d+16>>2]<16?271312:q[d+12>>2];e=r[d+5|0]|r[d+4|0]<<8;d=(r[d+9|0]|r[d+8|0]<<8)>>>0>b>>>0?w(b,20)+(e?d+e|0:271312)|0:271312;e=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);f=x(x(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))*x(152587890625e-16));h=b<<2;e=q[h+g>>2];a:{if(!e){break a}l=x(e|0);if((e|0)<=-1){d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);i=x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16));f=x(f+x(x(x(f-(f<=i?f:i))*l)*x(6103515625e-14)));break a}d=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);i=x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16));f=x(f+x(x(x((f>=i?f:i)-f)*l)*x(6103515625e-14)))}u[k+h>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}La(g);La(q[a+64>>2]);La(q[a+68>>2]);q[a+68>>2]=k;q[a+64>>2]=j;q[a+60>>2]=c}}function Iu(a,b,c){var d=0,e=0;c=c+ -1|0;a:{if(c>>>0>7){break a}b:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return ev(a,b)}return dv(a,b);case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];return cv(a?d+a|0:271312,b);case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];return bv(a?d+a|0:271312,b);case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return av(a,b);case 3:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}c:{switch(c-1|0){default:return Am(a,b);case 0:return ym(a,b);case 1:break c}}return xm(a,b);case 4:return Hu(a,b);case 5:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);return Iu(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8);case 6:break b}}if((r[a+1|0]|r[a|0]<<8)!=1){break a}e=Wu(a,b)}return e}function Si(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,p=0,t=0,u=0,v=0;if(b>>>0>64){return 0}l=q[a+96>>2];i=q[l+72>>2];q[a+36>>2]=b+ -1;q[a>>2]=i;k=q[q[a+4>>2]+96>>2];q[a+40>>2]=q[k+76>>2];m=(i|0)==q[k+72>>2]?r[(q[k+88>>2]+w(i,20)|0)+15|0]:m;q[a+32>>2]=c;q[a+28>>2]=e;q[a+24>>2]=d;o[a+20|0]=m;c=q[l+88>>2]+w(i,20)|0;d=r[c+14|0];e=d&16;a:{b:{c:{if(r[c+12|0]&4){if(!e){c=d>>>5|0;break c}c=d>>>5|0;k=0;e=d&15;break a}c=d>>>5|0;if(!e){break c}k=0;break b}k=d&15}e=1}q[g>>2]=i;d:{e:{if(b>>>0<=1){d=q[a>>2];break e}u=(c|0)!=0&(k|0)!=0;m=1;while(1){if(!id(a)){break d}q[(m<<2)+g>>2]=q[a>>2];j=q[l+88>>2];d=q[a>>2];i=r[(j+w(d,20)|0)+14|0];n=i&16?0:i&15;i=i>>>5|0;f:{if(u){if(p>>>0>1|((k|0)==(n|0)?(c|0)==(i|0):0)){break f}if(!(p-1)){break d}i=q[l+80>>2];t=q[l+92>>2];while(1){if(!i){break d}i=i+ -1|0;n=t+w(i,20)|0;p=r[n+14|0];if((p>>>5|0)!=(c|0)){break d}if(p&15?!(p&16):0){continue}break}p=2;t=q[a+8>>2];i=s[n+12>>1];if(t&i&14){break f}if(!(i&8)){break d}if(mf(q[a+4>>2],q[n>>2],i,t)){break d}d=q[a>>2];j=q[l+88>>2];break f}if(!i|(c|0)==(i|0)){break f}if(n){break d}}i=1;j=w(d,20)+j|0;g:{if(!(r[j+12|0]&4)){break g}j=r[j+14|0];if(!(j&16)){break g}i=j&15}e=e+i|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}}v=1;q[f>>2]=(d-q[l+72>>2]|0)+1;if(!h){break d}q[h>>2]=e}return v}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,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Da+ -64|0;j=c+6|0;if(j){o=d<<4;k=w(c+15&-16,d);l=e+32|0;while(1){h=0;if(d){while(1){c=g-o|0;c=c>>>0>>0?(c<<1)+b|0:438160;p[e>>1]=s[c>>1];p[e+2>>1]=s[c+2>>1];p[e+4>>1]=s[c+4>>1];p[e+6>>1]=s[c+6>>1];p[e+8>>1]=s[c+8>>1];p[e+10>>1]=s[c+10>>1];p[e+12>>1]=s[c+12>>1];p[e+14>>1]=s[c+14>>1];p[e+16>>1]=s[c+16>>1];p[e+18>>1]=s[c+18>>1];p[e+20>>1]=s[c+20>>1];p[e+22>>1]=s[c+22>>1];p[e+24>>1]=s[c+24>>1];p[e+26>>1]=s[c+26>>1];p[e+28>>1]=s[c+28>>1];p[e+30>>1]=s[c+30>>1];c=g>>>0>>0?(g<<1)+b|0:438160;i=s[c>>1];p[e+32>>1]=i;p[e+34>>1]=s[c+2>>1];p[e+36>>1]=s[c+4>>1];p[e+38>>1]=s[c+6>>1];p[e+40>>1]=s[c+8>>1];p[e+42>>1]=s[c+10>>1];p[e+44>>1]=s[c+12>>1];p[e+46>>1]=s[c+14>>1];p[e+48>>1]=s[c+16>>1];p[e+50>>1]=s[c+18>>1];p[e+52>>1]=s[c+20>>1];p[e+54>>1]=s[c+22>>1];p[e+56>>1]=s[c+24>>1];p[e+58>>1]=s[c+26>>1];p[e+60>>1]=s[c+28>>1];p[e+62>>1]=s[c+30>>1];f=0;while(1){m=f<<1;c=m+l|0;p[a+m>>1]=(((w(s[c+ -6>>1],20)+w(s[c+ -4>>1]+s[c+ -8>>1]&65535,15)|0)+w(s[c+ -2>>1]+s[c+ -10>>1]&65535,6)|0)+(s[c+ -12>>1]+i&65535)|0)+32>>>6;f=f+1|0;if((f|0)!=16){i=s[(f<<1)+l>>1];continue}break}g=g+16|0;a=a+32|0;h=h+1|0;if((h|0)!=(d|0)){continue}break}}n=n+16|0;if(n>>>0>>0){continue}break}}}function k_(a,b){var c=0,d=0,e=0,f=0,g=0;f=ub(b);q[a+28>>2]=f;a:{b:{c:{d:{e:{f:{while(1){g:{o[a+20|0]=d;e=q[f+12>>2];q[a+4>>2]=e;c=q[f+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break g}q[a+24>>2]=0;g=a;if(c>>>0>536870910){d=1073741823}else{d=c<<3;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}q[g+12>>2]=d;q[a>>2]=0;if(!e){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}if(c>>>0<4){break b}q[a+12>>2]=d+ -1;d=r[e|0]|r[e+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;if(d>>>0>1){break e}h:{if(d-1){c=Cv(e,a);d=q[a+24>>2]!=0;if(!c){break h}break f}c=Bv(e,a);d=q[a+24>>2]!=0;if(c){break f}}if(r[a+20|0]|!d){break c}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];f=q[a+28>>2];d=1;if(c){continue}break b}break}I(228734,228759,195,228776);F()}if(d){d=0;q[a+24>>2]=0;if(t[a+4>>2]>e>>>0){break c}c=q[a+8>>2];i:{if(c>>>0>>0|c-e>>>0<4){break i}c=q[a+12>>2];q[a+12>>2]=c+ -1;if((c|0)<1){break i}d=1;c=r[e|0]|r[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(c>>>0>1){break i}if(c-1){d=Cv(e,a);break i}d=Bv(e,a)}c=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(c){break a}if(d){break d}break a}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}function kN(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;i=Da+ -64|0;k=g;g=g>>31;j=V$(k,g,d,d>>31);d=Ea+131072|0;d=(j>>>0<0?d+1|0:d)>>2;j=d>>16;d=d>>31;h=j+d^d;d=V$(k,g,c,c>>31);c=Ea+131072|0;c=(d>>>0<0?c+1|0:c)>>2;d=c>>16;c=c>>31;c=d+c^c;c=((c|0)>(h|0)?h:c)+2>>>2|0;p[i>>1]=c;p[i+32>>1]=0-c;p[i+34>>1]=d-c;p[i+2>>1]=c+d;h=d<<1;p[i+36>>1]=h-c;p[i+4>>1]=c+h;h=w(d,3);p[i+38>>1]=h-c;p[i+6>>1]=c+h;h=d<<2;p[i+40>>1]=h-c;p[i+8>>1]=c+h;h=w(d,5);p[i+42>>1]=h-c;p[i+10>>1]=c+h;h=w(d,6);p[i+44>>1]=h-c;p[i+12>>1]=c+h;h=w(d,7);p[i+46>>1]=h-c;p[i+14>>1]=c+h;h=d<<3;p[i+48>>1]=h-c;p[i+16>>1]=c+h;h=w(d,9);p[i+18>>1]=h+c;p[i+50>>1]=h-c;h=w(d,10);p[i+52>>1]=h-c;p[i+20>>1]=c+h;h=w(d,11);p[i+54>>1]=h-c;p[i+22>>1]=c+h;h=w(d,12);p[i+56>>1]=h-c;p[i+24>>1]=c+h;h=w(d,13);p[i+58>>1]=h-c;p[i+26>>1]=c+h;h=w(d,14);p[i+60>>1]=h-c;p[i+28>>1]=c+h;h=w(d,15);p[i+62>>1]=h-c;p[i+30>>1]=c+h;e=f<<21|e>>>11;e=V$(e,e>>31,k,g);c=Ea+4096|0;g=(((e>>>0<0?c+1|0:c)>>>13&65535)-(d+j>>>1|0)|0)+512|0;d=0;while(1){c=0;while(1){e=c<<1;f=g-s[e+i>>1]<<16>>16;f=(f|0)>0?f:0;e=g-s[e+(i+32|0)>>1]<<16>>16;e=(e|0)>0?e:0;o[a+c|0]=((f|0)<1023?f:1023)+((e|0)<1023?e:1023)>>>3;c=c+1|0;if((c|0)!=16){continue}break}a=a+b|0;g=(g<<16>>16)-j|0;d=d+1|0;if((d|0)!=16){continue}break}}function yz(a,b,c){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=q[a+16>>2];a=r[h+6|0]|r[h+7|0]<<8|(r[h+8|0]<<16|r[h+9|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=h+13|0;a=0;a:{while(1){e=-1;if(a>>>0>=f>>>0){break a}d=a+f>>>1|0;e=i+w(d,11)|0;g=e+ -3|0;g=r[g+1|0]<<8|r[g|0]<<16|r[g+2|0];if(g>>>0>c>>>0){f=d;continue}a=d+1|0;if(g>>>0>>0){continue}break}j=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b:{a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}c=a+h|0;a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=c+7|0;f=0;while(1){if(f>>>0>=a>>>0){break b}c=a;a=a+f>>>1|0;g=i+(a<<2)|0;d=g+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];if(d>>>0>b>>>0){continue}e=1;f=a+1|0;a=c;if(d+r[g|0]>>>0>>0){continue}break}break a}a=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);c:{if(!a){break c}c=a+h|0;a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break c}g=c+7|0;f=0;while(1){d:{c=a+f>>>1|0;i=g+w(c,5)|0;d=i+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];e:{if(d>>>0>b>>>0){a=c;break e}if(d>>>0>=b>>>0){break d}f=c+1|0}if(f>>>0>>0){continue}break c}break}e=0;if(r[i+1|0]|r[i|0]<<8){break a}}e=-1}return e|0}function hg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da+ -64|0;Da=f;a:{b:{if(!q[160933]){while(1){b=Sa(28);c=q[160933];q[160933]=c?c:b;if(!c){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}d=643664;e=q[160932];if((e|0)>=1){while(1){i=e;e=e+ -1|0;g=e<<2;b=q[g+d>>2];if(!(!b|q[b>>2]+q[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=q[(b+g|0)+40>>2];if(q[b>>2]+q[b+8>>2]>>>0<=a>>>0?b:0){continue}break}d=c+40|0}if((i|0)>1){continue}break}}b=q[d>>2];if(!b|q[b>>2]+q[b+8>>2]>>>0<=a>>>0){break c}a=q[b+4>>2];q[b+4>>2]=a+ -1;if((a|0)!=1){break c}h=q[b>>2];c=q[160932];d:{if((c|0)>0){e=643664;d=c;while(1){g=d;d=d+ -1|0;j=d<<2;a=j+e|0;b=q[a>>2];if(!(!b|t[b>>2]>=h>>>0)){while(1){i=b;a=(b+j|0)+40|0;b=q[a>>2];if(t[b>>2]>>0?b:0){continue}break}e=i+40|0}q[f+j>>2]=a;if((g|0)>1){continue}break}a=q[e>>2];d=q[f>>2];e:{if((a|0)!=q[d>>2]){break e}b=0;while(1){q[d>>2]=q[((b<<2)+a|0)+40>>2];b=b+1|0;c=q[160932];if((b|0)>=(c|0)){break e}d=q[(b<<2)+f>>2];if(q[d>>2]==(a|0)){continue}break}}if((c|0)<1){break d}while(1){b=c+ -1|0;if(q[(b<<2)+643664>>2]){break d}q[160932]=b;d=(c|0)>1;c=b;if(d){continue}break}break d}a=q[160916]}if(a){b=q[a+12>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}La(a)}if(q[h>>2]!=-66913275){break c}La(h)}Da=f- -64|0}function rq(a,b,c,d){var e=0,f=0,g=0,h=0;f=1;a:{b:{c:{d:{e:{g=c-b|0;f:{if((g|0)<1){break f}h=a+72|0;e=r[h+r[b|0]|0]+ -5|0;if(e>>>0>25){break a}g:{h:{switch(e-1|0){default:f=2;e=-2;if((g|0)<2){break d}if(n[q[a+340>>2]](a,b)){break g}break a;case 0:f=3;e=-2;if((g|0)<3){break d}if(!n[q[a+344>>2]](a,b)){break a}break g;case 2:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break a;case 3:case 4:case 15:case 24:break b;case 16:case 18:break g;case 1:break h}}f=4;e=-2;if((g|0)<4){break d}if(!n[q[a+348>>2]](a,b)){break a}}b=b+f|0;e=c-b|0;if((e|0)<1){break f}while(1){g=r[r[b|0]+h|0]+ -5|0;if(g>>>0>24){break c}f=1;i:{j:{switch(g-1|0){default:if((e|0)<2){return-2}f=2;if(n[q[a+328>>2]](a,b)){break i}break c;case 0:if((e|0)<3){return-2}f=3;if(!n[q[a+332>>2]](a,b)){break c}break i;case 16:case 18:case 19:case 20:case 21:break i;case 1:break j;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 22:case 23:break c;case 12:break e}}if((e|0)<4){return-2}f=4;if(!n[q[a+336>>2]](a,b)){break c}}b=b+f|0;e=c-b|0;if((e|0)>0){continue}break}}return-1}q[d>>2]=b+1;e=28}return e}q[d>>2]=b;return 0}q[d>>2]=b;return 22}q[d>>2]=b;return 0}function zz(a,b,c,d){a=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=q[a+16>>2];a=r[i+6|0]|r[i+7|0]<<8|(r[i+8|0]<<16|r[i+9|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);j=i+13|0;a=0;a:{b:{while(1){if(a>>>0>=g>>>0){break b}f=a+g>>>1|0;e=j+w(f,11)|0;h=e+ -3|0;h=r[h+1|0]<<8|r[h|0]<<16|r[h+2|0];if(h>>>0>d>>>0){g=f;continue}a=f+1|0;if(h>>>0>>0){continue}break}j=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);c:{a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break c}d=a+i|0;a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(g>>>0>=a>>>0){break c}d=a;a=a+g>>>1|0;e=h+(a<<2)|0;f=e+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];if(f>>>0>c>>>0){continue}g=a+1|0;a=d;if(f+r[e|0]>>>0>>0){continue}break}return n[q[q[b+12>>2]+12>>2]](b,c)|0}a=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);if(!a){break b}b=a+i|0;a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}f=b+7|0;g=0;while(1){b=a+g>>>1|0;e=f+w(b,5)|0;d=e+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];d:{if(d>>>0>c>>>0){a=b;break d}if(d>>>0>=c>>>0){break a}g=b+1|0}if(g>>>0>>0){continue}break}}return 0}return r[e+1|0]|r[e|0]<<8}function iV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-48|0;Da=d;q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;b=hV(d+8|0,Jb(b,1886352244));q[a>>2]=b;b=b?b:271312;e=q[b+16>>2];c=e>>>0<32?271312:q[b+12>>2];b=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+4>>2]=b;a:{if((b|0)!=131072){break a}b=c+32|0;q[a+8>>2]=b;b=(b+(r[c+33|0]<<1|r[c+32|0]<<9)|0)+2|0;q[a+24>>2]=b;h=c+e|0;if(b>>>0>=h>>>0){break a}f=q[a+16>>2];if(f>>>0>65534){break a}i=q[67828];while(1){if(r[b|0]+b>>>0>=h>>>0){break a}j=b-q[a+24>>2]|0;b:{c:{d:{e=q[a+12>>2];if((e|0)>=0){c=e;g=(f|0)<0?0:f+1|0;if(c>>>0>=g>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=g>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){e=db(q[a+20>>2],c<<2);if(e){break d}}q[a+12>>2]=-1}q[160744]=i;e=642976;break b}q[a+12>>2]=c;q[a+20>>2]=e;f=q[a+16>>2]}if(g>>>0>f>>>0){Na(q[a+20>>2]+(f<<2)|0,0,g-f<<2)}q[a+16>>2]=g;e=(q[a+20>>2]+(g<<2)|0)+ -4|0}q[e>>2]=j;b=(r[b|0]+b|0)+1|0;if(b>>>0>=h>>>0){break a}f=q[a+16>>2];if(f>>>0<65535){continue}break}}Da=d+48|0}function Lq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Da-112|0;Da=c;a:{if(!a|!r[a|0]){break a}Bk();b:{c:{d:{e:{if(!dd(a,485576)){break e}if(!dd(a,485578)){break e}if(!dd(a,485586)){break e}if(dd(a,485593)){break d}}b=eb(485599);break c}f:{d=eb(a);if(d){f=Pb(d,64);g=0;g:{if(!f){break g}o[f|0]=0;b=f+1|0;g=Wa(b)}e=Pb(d,46);h:{if(!e){f=b;break h}f=0;o[e|0]=0;if(!b){break h}f=e+1|0;sb(f,b,g+1|0)}i:{j:{b=Pb(d,95);if(b){break j}b=Pb(d,45);if(b){break j}e=0;b=0;break i}o[b|0]=0;e=b+1|0;b=Wa(e)}h=b;if((Wa(d)&-2)!=2){q[c+96>>2]=a;b=0;Mc(q[126999],485602,c+96|0);break f}if(!(!e|(h&-2)==2|(r[e|0]==122?h>>>0<=4:0))){q[c+80>>2]=a;b=0;Mc(q[126999],485661,c+80|0);La(d);break c}if(e){o[e+ -1|0]=45}if(f){o[f+ -1|0]=64}b=CL(d);if(!b){b=0;La(d);break c}k:{l:{m:{if(e){if(r[643741]&8){q[c+64>>2]=d;Ua(485718,c- -64|0)}if((xe(d)|0)>-1){break k}sb(e+ -1|0,e+h|0,g?g+2|0:1);if(f){break m}break l}e=f;if(!e){break l}}if(r[643741]&8){q[c+48>>2]=d;Ua(485718,c+48|0)}if((xe(d)|0)>-1){break k}o[e+ -1|0]=0}if(r[643741]&8){q[c+32>>2]=d;Ua(485718,c+32|0)}if((xe(d)|0)<0){break f}}La(b);b=d;break c}if(!(r[643741]&8)){break a}break b}La(d)}if(!(r[643741]&8)){break a}if(!b){break b}q[c+20>>2]=b;q[c+16>>2]=a;Ua(485753,c+16|0);break a}q[c>>2]=a;Ua(485775,c);b=0}Da=c+112|0;return b}function Ni(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;a:{k=q[b+4>>2];if(k>>>0>a>>>0){break a}h=q[b+8>>2];if(h>>>0>>0){break a}e=h-a|0;if(e>>>0<5){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;b:{c:{if((c|0)>=1){c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=!c;if(!c|e>>>0<5){break b}break c}if(e>>>0>=5){break c}break a}d=q[b+12>>2];j=d+ -1|0;q[b+12>>2]=j;if((d|0)<1){break a}e=r[a+4|0];if((e+ -1&255)>>>0>3){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);i=c+1|0;if(!(i>>>0>>0|4294967295/(i>>>0)>>>0>e>>>0)){break a}f=0;g=w(e,i);if((g|0)==-1){break b}if(g){c=a+5|0;if(k>>>0>c>>>0|h>>>0>>0|h-c>>>0>>0){break b}j=d+ -2|0;q[b+12>>2]=j;if((d|0)<2){break b}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);i=c+1|0;m=w(e,i)}d=-1;d:{if((c|0)==-1){break d}g=0;while(1){f=(w(e,g)+a|0)+5|0;d=0;c=e;while(1){d=r[f|0]|d<<8;f=f+1|0;c=c+ -1|0;if(c){continue}break}l=d>>>0>l>>>0?d:l;g=g+1|0;if((i|0)!=(g|0)){continue}break}d=l+ -1|0;if(d){break d}return 1}f=0;a=(a+m|0)+5|0;if((d|0)==-1|k>>>0>a>>>0|(d+d>>>0>>0|h>>>0>>0)){break b}if(h-a>>>0>>0){break b}q[b+12>>2]=j+ -1;f=(j|0)>0}return f}return 0}function nE(a){a=a|0;var b=0,c=0,d=0;if(a){c=q[a+100>>2];b=q[a+548>>2];if(b){if(b){n[q[c+8>>2]](c,b)}q[a+544>>2]=0;q[a+548>>2]=0}Bg(a);q[a+532>>2]=0;b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+148>>2];if(b){n[q[c+8>>2]](c,b)}q[a+148>>2]=0;b=q[a+432>>2];if(b){n[q[c+8>>2]](c,b)}q[a+432>>2]=0;b=q[a+428>>2];if(b){n[q[c+8>>2]](c,b)}q[a+428>>2]=0;b=q[a+424>>2];if(b){n[q[c+8>>2]](c,b)}q[a+424>>2]=0;b=q[a+408>>2];if(b){n[q[c+8>>2]](c,b)}q[a+408>>2]=0;b=q[a+412>>2];if(b){n[q[c+8>>2]](c,b)}q[a+412>>2]=0;ei(q[a+416>>2],c);b=q[a+416>>2];if(b){n[q[c+8>>2]](c,b)}q[a+416>>2]=0;b=q[a+392>>2];if(b){n[q[c+8>>2]](c,b)}q[a+392>>2]=0;b=q[a+396>>2];if(b){n[q[c+8>>2]](c,b)}q[a+396>>2]=0;b=q[a+400>>2];if(b){n[q[c+8>>2]](c,b)}q[a+400>>2]=0;b=q[a+384>>2];if(b){n[q[c+8>>2]](c,b)}q[a+384>>2]=0;b=q[a+388>>2];if(b){n[q[c+8>>2]](c,b)}q[a+388>>2]=0;b=q[a+364>>2];if(b){n[q[c+8>>2]](c,b)}q[a+364>>2]=0;b=q[a+496>>2];if(b){d=q[b+36>>2];if(d){n[q[c+8>>2]](c,d)}q[b+36>>2]=0;q[b+40>>2]=0;d=q[b+28>>2];if(d){n[q[c+8>>2]](c,d)}q[b+28>>2]=0;q[b+32>>2]=0;if(b){n[q[c+8>>2]](c,b)}}q[a+20>>2]=0;q[a+24>>2]=0}}function Mw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Da-16|0;Da=l;m=q[b+4>>2];a:{if(m>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}k=q[b+12>>2];q[b+12>>2]=k+ -1;if((k|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(i>>>0<6){break a}g=r[a+3|0];j=r[a+2|0];e=g|j<<8;if(4294967295/(i>>>0)>>>0<=e>>>0){break a}i=w(e,i);if(i){e=a+10|0;if(m>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=k+ -2;if((k|0)<2){break a}g=r[a+3|0];j=r[a+2|0];e=g|j<<8}b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}h=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+h|0;if(!i){h=1;break a}k=a+10|0;h=0;while(1){c:{m=q[b+4>>2];g=j<<8|g;f=0;d:{if(!g){break d}e=k+w(g+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[e|0]<<8|r[e+1|0])!=65535){break d}f=(r[e+3|0]|r[e+2|0]<<8)==65535?-1:0}e=271312;e:{if(f+g>>>0<=h>>>0){break e}e=k+w(r[a+1|0]|r[a|0]<<8,h)|0}if(m>>>0>e>>>0){break c}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0<=5){break c}f=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break c}g=r[e+1|0]|r[e|0]<<8;j=r[e+3|0]|r[e+2|0]<<8;if(g>>>0>>0){break c}q[l+12>>2]=(g-j|0)+1;if(!Jw(e+4|0,b,f,l+12|0,d)){break c}h=h+1|0;if((i|0)==(h|0)){h=1;break a}else{g=r[a+3|0];j=r[a+2|0];continue}}break}h=0}Da=l+16|0;return h}function Ae(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0;k=Da-32|0;Da=k;n=v[(i<<3)+h>>3];r=(e+g)*n;n=(d+f)*n;a:{if(i){i=i+ -1|0;l=0;if(!Ae(a,b,c,d,e,n,r,h,i,j)){break a}l=Ae(a,b,c,n,r,f,g,h,i,j);break a}e=v[a+24>>3]*e;b:{if(y(e)<2147483648){i=~~e;break b}i=-2147483648}m=j&1;d=v[a+16>>3]*d;c:{if(y(d)<2147483648){h=~~d;break c}h=-2147483648}if(m){q[k+28>>2]=c+i;q[k+24>>2]=b+h;p=q[a>>2];o=q[k+28>>2];q[k+16>>2]=q[k+24>>2];q[k+20>>2]=o;l=0;if(!qb(p,k+16|0,2)){break a}}p=j&2;if(p){q[k+28>>2]=c-i;q[k+24>>2]=b-h;i=q[a+4>>2];h=q[k+28>>2];q[k+8>>2]=q[k+24>>2];q[k+12>>2]=h;l=0;if(!qb(i,k+8|0,2)){break a}}d=r*v[a+24>>3];d:{if(y(d)<2147483648){o=~~d;break d}o=-2147483648}d=n*v[a+16>>3];e:{if(y(d)<2147483648){j=~~d;break e}j=-2147483648}if(m){m=q[a>>2];i=q[m>>2];h=q[m+4>>2];if(i>>>0>=h>>>0){q[160942]=0;h=h<<1;s=m,t=qc(q[m+16>>2],h,8),q[s+16>>2]=t;l=0;if(q[160942]){break a}q[m+4>>2]=h;i=q[m>>2]}i=q[m+16>>2]+(i<<3)|0;q[i>>2]=b+j;q[i+4>>2]=c+o;q[m>>2]=q[m>>2]+1}l=1;if(!p){break a}i=q[a+4>>2];a=q[i>>2];h=q[i+4>>2];if(a>>>0>=h>>>0){q[160942]=0;a=h<<1;s=i,t=qc(q[i+16>>2],a,8),q[s+16>>2]=t;l=0;if(q[160942]){break a}q[i+4>>2]=a;a=q[i>>2]}h=q[i+16>>2]+(a<<3)|0;q[h>>2]=b-j;q[h+4>>2]=c-o;q[i>>2]=q[i>>2]+1;l=1}a=l;Da=k+32|0;return a}function xy(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;j=3;a:{if((d|0)<0){break a}g=q[a+12>>2];f=s[g>>1];h=q[a+8>>2];if((e|0)<0|f+e>>>0>t[h>>2]){break a}g=s[g+2>>1];if(g+d>>>0>t[h+4>>2]){break a}g=w(g,r[a+18|0]);if(w(g+7>>>3|0,f)+b>>>0>c>>>0){break a}k=q[h+8>>2];c=q[h+12>>2]+(w(k,e)+(d>>>3|0)|0)|0;b:{i=d&7;if(i){if(!f){return 0}if(g>>>0<=7){break b}while(1){d=0;e=g;a=c;while(1){h=a;j=b;d=r[b|0]|d;o[a|0]=r[a|0]|d>>>i;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=r[j+1|0]&65280>>>e|d;b=j+2|0}o[a|0]=r[a|0]|d>>>i;if((e+i|0)>=9){o[h+2|0]=r[h+2|0]|d<<8>>>i}c=c+k|0;a=f;f=f+ -1|0;j=0;if((a|0)>1){continue}break}break a}j=0;if(!f){break a}if(g>>>0>7){while(1){a=f;d=g;f=c;while(1){e=b;o[f|0]=r[e|0]|r[f|0];h=d;d=d+ -8|0;f=f+1|0;b=e+1|0;if((h|0)>15){continue}break}if((h|0)>8){o[f|0]=r[f|0]|r[e+1|0]&65280>>>d;b=e+2|0}c=c+k|0;f=a+ -1|0;if((a|0)>1){continue}break a}}a=65280>>>g|0;while(1){if(g){o[c|0]=r[c|0]|a&r[b|0];b=b+1|0}c=c+k|0;d=(f|0)>1;f=f+ -1|0;if(d){continue}break}break a}a=65280>>>g|0;e=g+i>>>0<9;while(1){c:{if(!g){d=0;break c}d=a&r[b|0];b=b+1|0}o[c|0]=r[c|0]|d>>>i;if(!e){o[c+1|0]=r[c+1|0]|d<<8>>>i}c=c+k|0;d=(f|0)>1;j=0;f=f+ -1|0;if(d){continue}break}}return j|0}function QO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=Da-48|0;Da=i;q[e>>2]=0;a:{if(c>>>0<=31){q[d>>2]=0;break a}g=q[b+108>>2];if(!g){q[d>>2]=0;break a}h=(c|0)==160?32:c;c=q[d>>2];if((c|0)<(g|0)){f=h;c=q[((c<<2)+b|0)- -64>>2];g=q[c+92>>2];if(g){f=q[g+4>>2]==1937337698?h|61440:h}f=Ub(c,f);g=q[b+108>>2]}b:{c:{if(!((g|0)<1|f)){g=h|61440;c=0;while(1){f=h;j=q[((c<<2)+b|0)- -64>>2];k=q[j+92>>2];if(k){f=q[k+4>>2]==1937337698?g:h}f=Ub(j,f);if(f){q[d>>2]=c;break b}c=c+1|0;if((c|0)>2]){continue}break}break c}if(f){break b}}c=q[b+16>>2];f=q[b+8>>2];g=q[b+4>>2];q[i+36>>2]=q[b>>2];q[i+40>>2]=g;q[i+44>>2]=f;q[i+32>>2]=h;hb(c,4,354929,i+32|0);a=Rr(a,b,h);q[d>>2]=a;f=0;if((a|0)<0){break b}f=h;a=q[((a<<2)+b|0)- -64>>2];c=q[a+92>>2];if(c){f=q[c+4>>2]==1937337698?h|61440:h}f=Ub(a,f);if(f){break b}d:{if(q[a+36>>2]<1){break d}c=q[b+16>>2];q[i+16>>2]=h;hb(c,2,354992,i+16|0);if(q[a+36>>2]<1){break d}j=h|61440;g=0;while(1){$d(a,q[q[a+40>>2]+(g<<2)>>2]);f=a;c=q[a+92>>2];if(c){c=q[c+4>>2]==1937337698?j:h}else{c=h}f=Ub(f,c);if(f){break b}g=g+1|0;if((g|0)>2]){continue}break}}a=q[b+16>>2];c=q[b+8>>2];f=q[b+4>>2];q[i+4>>2]=q[b>>2];q[i+8>>2]=f;q[i+12>>2]=c;q[i>>2]=h;hb(a,1,355047,i);f=0}a=q[d>>2];q[d>>2]=(a|0)>0?a:0;q[e>>2]=f}Da=i+48|0}function hd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+12>>2])}b=q[a+84>>2];if(b){n[b](q[a+16>>2])}b=q[a+88>>2];if(b){n[b](q[a+20>>2])}b=q[a+92>>2];if(b){n[b](q[a+24>>2])}b=q[a+96>>2];if(b){n[b](q[a+28>>2])}b=q[a+100>>2];if(b){n[b](q[a+32>>2])}b=q[a+104>>2];if(b){n[b](q[a+36>>2])}b=q[a+108>>2];if(b){n[b](q[a+40>>2])}b=q[a+112>>2];if(b){n[b](q[a+44>>2])}b=q[a+116>>2];if(b){n[b](q[a+48>>2])}b=q[a+120>>2];if(b){n[b](q[a+52>>2])}b=q[a+124>>2];if(b){n[b](q[a+56>>2])}b=q[a+128>>2];if(b){n[b](q[a+60>>2])}b=q[a+132>>2];if(b){n[b](q[a- -64>>2])}b=q[a+136>>2];if(b){n[b](q[a+68>>2])}b=q[a+140>>2];if(b){n[b](q[a+72>>2])}b=q[a+144>>2];if(b){n[b](q[a+76>>2])}La(a)}return}I(250950,250975,279,251010);F()}function Mn(a){var b=0,c=0,d=0,e=0,f=0;if(a){d=q[a+100>>2];b=d;e=q[a>>2];if(e){n[q[b+8>>2]](b,e)}q[a>>2]=0;b=q[a+92>>2];if(b){ei(b,d);b=q[a+92>>2];if(b){n[q[d+8>>2]](d,b)}q[a+92>>2]=0}b=q[a+84>>2];if(b){n[q[d+8>>2]](d,b)}q[a+84>>2]=0;e=q[a+72>>2];if(e){while(1){b=c<<4;f=b+q[a+80>>2]|0;if(q[f+4>>2]==1){e=q[f+12>>2];if(e){n[q[d+8>>2]](d,e)}q[(b+q[a+80>>2]|0)+12>>2]=0;e=q[a+72>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}b=q[a+80>>2];if(b){n[q[d+8>>2]](d,b)}q[a+80>>2]=0;if(q[a+52>>2]){c=q[a+56>>2];e=0;while(1){b=d;f=q[c>>2];if(f){n[q[b+8>>2]](b,f)}q[c>>2]=0;b=q[c+24>>2];if(b){n[q[d+8>>2]](d,b)}q[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(q[a+64>>2]){c=q[a+68>>2];e=0;while(1){b=d;f=q[c>>2];if(f){n[q[b+8>>2]](b,f)}q[c>>2]=0;b=q[c+24>>2];if(b){n[q[d+8>>2]](d,b)}q[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;c=q[a+56>>2];if(c){n[q[b+8>>2]](b,c)}e=0;q[a+56>>2]=0;c=q[a+68>>2];if(c){n[q[b+8>>2]](b,c)}q[a+68>>2]=0;ei(a+112|0,b);c=q[a+104>>2];if(q[a+108>>2]){while(1){f=q[c>>2];if(f){n[q[d+8>>2]](d,f)}q[c>>2]=0;if(q[c+4>>2]==1){f=q[c+12>>2];if(f){n[q[d+8>>2]](d,f)}q[c+12>>2]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}c=q[a+104>>2]}if(c){n[q[b+8>>2]](b,c)}q[a+104>>2]=0}}function JL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Da-32|0;Da=c;q[c+28>>2]=0;q[c+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=0;q[c+12>>2]=0;q[c+8>>2]=0;a:{if(Zr(c+24|0)){break a}if(!Th(q[c+24>>2],a,0,c+28|0)){g=q[c+28>>2];l=q[g>>2];d=q[g+12>>2]>>16;i=0;b:{if(!d){break b}Pl(g,c+8|0);i=q[c+8>>2]?d:0}d=0;while(1){c:{d:{if(!(d>>>0<=i>>>0?(d|0)!=32768:0)){Ws(q[c+28>>2],0,0);break d}if(!d){break d}e=q[c+8>>2];h=q[e>>2];f=0;if(!h){break c}f=q[(q[e+16>>2]+w(d,12)|0)+ -12>>2];e=q[e+12>>2];g=0;e:{while(1){if(q[(g<<2)+f>>2]!=q[(w(g,24)+e|0)+8>>2]){break e}g=g+1|0;if(g>>>0>>0){continue}break}f=0;break c}Ws(q[c+28>>2],h,f)}e=ML(q[c+28>>2],a,(d<<16)+j|0,c+20|0,c+16|0,c+12|0);if(e){k=k+1|0;if(b){f=0;if(wi(b,e)){break c}}ie(e);f=0;break c}f=(d|0)!=32768}f:{g:{if(d>>>0>>0){d=d+1|0;break g}e=(d|0)==(i|0);d=32768;if(e){break g}La(q[c+12>>2]);q[c+12>>2]=0;Sd(q[c+16>>2]);q[c+16>>2]=0;Xc(q[c+20>>2]);q[c+20>>2]=0;se(q[c+28>>2]);q[c+28>>2]=0;d=0;j=j+1|0;h=3;if(Th(q[c+24>>2],a,j,c+28|0)){break f}}h=0}if(!(f|h|j>>>0>=l>>>0)){if(!j|1){continue}}break}d=q[c+8>>2]}a=q[c+24>>2];if(a){a=q[a>>2];if(d){n[q[a+8>>2]](a,d)}}Sd(q[c+16>>2]);Xc(q[c+20>>2]);a=q[c+28>>2];if(a){se(a)}Ci(q[c+24>>2]);a=q[c+12>>2];if(!a){break a}La(a)}Da=c+32|0;return k}function CZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=q[b+4>>2];b:{if(i>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}h=q[b+12>>2];e=h+ -1|0;q[b+12>>2]=e;if((h|0)<1){break b}k=i;c=r[a+1|0];f=r[a|0];g=c|f<<8;if(g){c=a+2|0;if(i>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}e=h+ -2|0;q[b+12>>2]=e;if((h|0)<2){break b}f=r[a|0];c=r[a+1|0]}a=((c<<1|f<<9)+a|0)+2|0;if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<2){break b}f=e+ -1|0;q[b+12>>2]=f;if((e|0)<1){break b}h=i;c=r[a+1|0]|r[a|0]<<8;g=0;c:{if(!c){break c}c=c+ -1|0;if(c>>>0>2147483646){break b}g=1;if(!c){break c}f=a+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break b}f=e+ -2|0;q[b+12>>2]=f;if((e|0)<2){break b}g=r[a+1|0]|r[a|0]<<8}c=(g?g<<1:2)+a|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}e=f+ -1|0;q[b+12>>2]=e;if((f|0)<1){break a}h=i;a=r[c+1|0];j=r[c|0];g=a|j<<8;if(g){a=c+2|0;if(i>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}e=f+ -2|0;q[b+12>>2]=e;if((f|0)<2){break a}j=r[c|0];a=r[c+1|0]}a=(c+(a<<1|j<<9)|0)+2|0;if(h>>>0>a>>>0|d>>>0>>0|d-a>>>0<2){break a}q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h){a=a+2|0;if(i>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -2;j=0;if((e|0)<2){break b}}j=1}return j}return 0}function ll(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Da-48|0;Da=g;p=q[b+12>>2];l=q[b+4>>2];c=p-l|0;u=c;v=c>>31;r=q[b+20>>2];c=r-l|0;k=c;i=c>>31;d=V$(u,v,c,i);j=Ea;a:{b:{f=d;s=q[b+8>>2];m=q[b>>2];d=s-m|0;w=d;x=d>>31;t=q[b+16>>2];e=t-m|0;d=e;n=d;o=d>>31;h=V$(w,x,d,o);f=f+h|0;d=Ea+j|0;d=f>>>0>>0?d+1|0:d;j=q[a>>2];e=e>>31;e=n+e^e;c=c>>31;c=k+c^c;e=V$(j,j>>31,(e|0)>(c|0)?e:c,0);c=d;j=Ea;h=0-(j+(0>>0)|0)|0;if((c|0)<(h|0)?1:(c|0)<=(h|0)?f>>>0>=0-e>>>0?0:1:0){break b}d=V$(k,i,k,i);h=Ea;z=f;y=V$(n,o,n,o);f=y+d|0;d=Ea+h|0;d=f>>>0>>0?d+1|0:d;h=f+e|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;if((c|0)>(d|0)?1:(c|0)>=(d|0)?z>>>0<=h>>>0?0:1:0){break b}c=V$(n,o,u,v);d=Ea;f=V$(k,i,w,x);h=d;d=c;c=h-(Ea+(c>>>0>>0)|0)|0;i=d-f|0;f=c;d=c>>31;c=c>>31;k=d+f|0;i=c+i|0;if(i>>>0>>0){k=k+1|0}f=(c^i)>>>0<=e>>>0?0:1;c=d^k;if((c|0)>(j|0)?1:(c|0)>=(j|0)?f:0){break b}b=jl(a,m,l,t,r);break a}c=p+r|0;q[g+28>>2]=c>>1;d=c;c=l+p|0;q[g+20>>2]=(d+c|0)+2>>2;d=s+t|0;q[g+24>>2]=d>>1;q[g+12>>2]=c>>1;c=m+s|0;q[g+8>>2]=c>>1;q[g+16>>2]=(d+c|0)+2>>2;c=q[b+4>>2];q[g>>2]=q[b>>2];q[g+4>>2]=c;c=q[b+20>>2];q[g+32>>2]=q[b+16>>2];q[g+36>>2]=c;b=0;if(!ll(a,g)){break a}b=ll(a,g+16|0)}Da=g+48|0;return b}function tV(a,b,c){var d=0,e=0,h=0,i=0,j=0;a:{b:{c:{d:{d=a+ -18|0;if(d>>>0>12){break d}e:{switch(d-1|0){default:j=c;d=q[b+24>>2];f:{if(d){h=d+ -1|0;q[b+24>>2]=h;if(t[b+32>>2]<=h>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);e=+g();break f}e=v[q[b+36>>2]+(h<<3)>>3];break f}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);e=+g()}g:{if(y(e)<2147483648){d=~~e;break g}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+16>>2]=d;h:{if(h){d=h+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;f(0,h|0);f(1,d|0);e=+g();break h}e=v[q[b+36>>2]+(d<<3)>>3];break h}o[b+20|0]=1;d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;f(0,h|0);f(1,d|0);e=+g()}i:{if(y(e)<2147483648){d=~~e;break i}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+20>>2]=d;q[b+24>>2]=0;break b;case 10:hh(b+20|0,b);break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break d;case 11:break e}}e=ih(b);d=q[b+24>>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=e;break c}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=e;break c}qg(a,b)}if(q[b+24>>2]){break a}}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function wt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{c:{d:{c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)<=1953658212){if((c|0)==256){break b}if((c|0)==65536|(c|0)==1330926671){break d}g=1;break a}if((c|0)==1954115633){break d}if((c|0)==1953784678){break c}if((c|0)==1953658213){break d}g=1;break a}if(i>>>0<12){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=a+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<8){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+5|0]|r[a+4|0]<<8;if(c){a=a+12|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;if((d|0)<4){break a}}g=1;break a}c=a+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}g=1;if((r[a+5|0]|r[a+4|0]<<8)+ -1>>>0>1){break a}q[f+12>>2]=a;g=QS(a+8|0,b,f+12|0);break a}if(i>>>0<=15){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}if(!PS(a,b,a,a+8|0)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[f+8>>2]=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a;g=OS(a+4|0,b,a,f+8|0)}Da=f+16|0;return g}function oP(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-1840|0;Da=d;h=!a|!(r[a+8|0]&8)?c:s[a+340>>1];a:{if(!(o[a+8|0]&1)){break a}c=q[a+20>>2];b:{if(c){c=eb(c);q[d+1040>>2]=c;f=1;if(!c){break b}}c:{d:{if((h|0)>=1){while(1){e:{if(Hh(a,e,d+1024|0)|s[d+1024>>1]!=3){break e}c=s[d+1030>>1]+ -1|0;if(c>>>0>3){break e}f:{switch(c-1|0){case 0:case 1:break e;default:break f}}AP(d,q[d+1032>>2],q[d+1036>>2]);c=s[d+1030>>1];if(!((c|0)!=4|(g|0)>99)){c=eb(d);q[(d+1440|0)+(g<<2)>>2]=c;if(!c){break d}g=g+1|0;c=s[d+1030>>1]}if((c|0)!=1|(f|0)>99){break e}c=eb(d);q[(d+1040|0)+(f<<2)>>2]=c;if(!c){break d}f=f+1|0}e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(!f){break c}c=q[a+12>>2];h=SO(a);q[b+28>>2]=100;q[b+24>>2]=h;e=1;q[b+20>>2]=w(c&1,110);i=b,j=Jj(a),q[i+8>>2]=j;a=ab(4,f);q[b>>2]=a;if(!a){break d}Qa(a,d+1040|0,f<<2);q[b+12>>2]=f;if(!g){break a}a=ab(4,g);q[b+4>>2]=a;if(!a){break d}Qa(a,d+1440|0,g<<2);q[b+16>>2]=g;break a}e=0;if((f|0)<=0){break c}while(1){La(q[(d+1040|0)+(e<<2)>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=0;if((g|0)<=0){break b}while(1){La(q[(d+1440|0)+(e<<2)>>2]);e=e+1|0;if((g|0)!=(e|0)){continue}break}}La(q[b>>2]);La(q[b+4>>2]);q[b>>2]=0;q[b+4>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;e=0}Da=d+1840|0;return e}function rQ(a,b,c,d,e){a=a|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=Da-464|0;Da=e;f=b+8|0;g=q[f+4>>2];q[e+16>>2]=q[f>>2];q[e+20>>2]=g;q[e+40>>2]=q[b+32>>2];f=q[b+28>>2];q[e+32>>2]=q[b+24>>2];q[e+36>>2]=f;f=q[b+20>>2];q[e+24>>2]=q[b+16>>2];q[e+28>>2]=f;f=q[b+4>>2];g=q[b>>2];q[e+16>>2]=2;q[e+8>>2]=g;q[e+12>>2]=f;f=q[b+8>>2]+ -7|0;a:{if(f>>>0>3){break a}b:{switch(f-1|0){case 0:case 1:break a;default:break b}}q[e+16>>2]=3}ef(a,e+448|0);c:{if(q[e+456>>2]!=3){b=162;break c}i=q[a>>2];g=q[e+448>>2]+1|0;q[a>>2]=g;j=q[a+8>>2];h=q[e+452>>2]+ -1|0;q[a+8>>2]=h;f=e+48|0;d:{if(g>>>0>=h>>>0){break d}g=e+432|0;f=e+48|0;while(1){ef(a,e+432|0);if(!q[e+440>>2]){break d}if(f>>>0>>0){h=q[e+436>>2];q[f>>2]=q[e+432>>2];q[f+4>>2]=h;q[f+8>>2]=q[e+440>>2]}f=f+12|0;if(t[a>>2]>2]){continue}break}}q[a+8>>2]=j;q[a>>2]=i;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break c}g=q[b+24>>2];g=f>>>0>g>>>0?g:f;e:{if(q[b+8>>2]==7){break e}b=q[b+28>>2];if(!b){break e}o[b+q[c>>2]|0]=g}f:{if((g|0)>=1){h=r[e+28|0];f=e+48|0;while(1){q[a>>2]=q[f>>2];q[a+8>>2]=q[f+4>>2];b=gs(a,e+8|0,c,d,0);if(b){break f}q[e+24>>2]=h+q[e+24>>2];f=f+12|0;b=(g|0)>1;g=g+ -1|0;if(b){continue}break}}b=0}q[a+8>>2]=j;q[a>>2]=i}Da=e+464|0;return b|0}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}e=q[a+96>>2];if(!e){return 6}g=q[e+8>>2];a:{b:{i=q[e+12>>2];h=q[i+44>>2];c:{if((h|0)<=0){c=6;f=g;if(!h){break c}break b}d=n[q[g+4>>2]](g,h)|0;if(!d){c=64;break b}Na(d,0,h);e=q[a+96>>2];f=q[e+8>>2];i=q[e+12>>2]}q[d+4>>2]=a;q[d>>2]=q[e+4>>2];d:{c=n[q[f+4>>2]](f,44)|0;e:{if(c){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+40|0]=0;o[c+41|0]=0;o[c+42|0]=0;o[c+43|0]=0;o[c+32|0]=0;o[c+33|0]=0;o[c+34|0]=0;o[c+35|0]=0;o[c+36|0]=0;o[c+37|0]=0;o[c+38|0]=0;o[c+39|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;q[d+156>>2]=c;if(!(r[q[e>>2]+1|0]&2)){e=n[q[f+4>>2]](f,96)|0;if(!e){c=64;Yf(d);break e}Na(e+4|0,0,92);q[e>>2]=f;q[c>>2]=e}f=q[i+64>>2];if(!f){break d}c=n[f](d)|0;if(!c){break d}Yf(d);break e}Yf(d);c=64;if(!d){break a}}n[q[g+8>>2]](g,d);return c}q[d+8>>2]=q[a+84>>2];q[a+84>>2]=d;c=0;if(!b){break a}q[b>>2]=d;break a}if(!b){break a}q[b>>2]=0;return c}return c}function Yv(a,b,c,d,e){var f=0,g=0,h=0;f=Da-48|0;Da=f;q[f+8>>2]=a;q[f+12>>2]=271312;q[f+16>>2]=d?d:271312;q[f+20>>2]=271312;q[f+28>>2]=0;q[f+24>>2]=e?e:271312;d=wg();q[f+36>>2]=6;q[f+40>>2]=0;q[f+32>>2]=d;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}d=271312;a=q[Ac(a+136|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];b=r[a+9|0]|r[a+8|0]<<8;a=b?a+b|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=r[a+2|0]<<8|r[a+3|0];d=a?b+a|0:271312}q[f+28>>2]=430;e=r[d+5|0];b=r[d+4|0];c=e|b<<8;if(!c){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(h+(a<<1)|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];Xv(b?b+d|0:271312,f+8|0,g);a=a+1|0;if((c|0)==(a|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}d=271312;a=q[Rc(a+140|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];b=r[a+9|0]|r[a+8|0]<<8;a=b?a+b|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=r[a+2|0]<<8|r[a+3|0];d=a?b+a|0:271312}e=r[d+5|0];b=r[d+4|0];c=e|b<<8;if(!c){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(h+(a<<1)|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];F$(b?b+d|0:271312,f+8|0,g);a=a+1|0;if((c|0)==(a|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}vg(q[f+32>>2]);Da=f+48|0}function WH(a,b){a=a|0;b=b|0;var c=0,d=0;a=q[a>>2];c=v[a+8>>3];b=q[b>>2];d=v[b+8>>3];a:{if(c!=d){break a}c=v[a+16>>3];d=v[b+16>>3];if(c!=d){break a}c=v[a+24>>3];d=v[b+24>>3];if(c!=d){break a}c=v[a+32>>3];d=v[b+32>>3];if(c!=d){break a}c=v[a+40>>3];d=v[b+40>>3];if(c!=d){break a}c=v[a+48>>3];d=v[b+48>>3];if(c!=d){break a}c=v[a+56>>3];d=v[b+56>>3];if(c!=d){break a}c=v[a- -64>>3];d=v[b- -64>>3];if(c!=d){break a}c=v[a+72>>3];d=v[b+72>>3];if(c!=d){break a}c=v[a+80>>3];d=v[b+80>>3];if(c!=d){break a}c=v[a+88>>3];d=v[b+88>>3];if(c!=d){break a}c=v[a+96>>3];d=v[b+96>>3];if(c!=d){break a}c=v[a+104>>3];d=v[b+104>>3];if(c!=d){break a}c=v[a+112>>3];d=v[b+112>>3];if(c!=d){break a}c=v[a+120>>3];d=v[b+120>>3];if(c!=d){break a}c=v[a+128>>3];d=v[b+128>>3];if(c!=d){break a}c=v[a+136>>3];d=v[b+136>>3];if(c!=d){break a}c=v[a+144>>3];d=v[b+144>>3];if(c!=d){break a}c=v[a+152>>3];d=v[b+152>>3];if(c!=d){break a}c=v[a+160>>3];d=v[b+160>>3];if(c!=d){break a}c=v[a+168>>3];d=v[b+168>>3];if(c!=d){break a}c=v[a+176>>3];d=v[b+176>>3];if(c!=d){break a}c=v[a+184>>3];d=v[b+184>>3];if(c!=d){break a}c=v[a+192>>3];d=v[b+192>>3];if(c!=d){break a}c=v[a+200>>3];d=v[b+200>>3];if(c!=d){break a}d=v[b+208>>3];c=v[a+208>>3]}return(cd)|0}function IR(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;n=q[a+8>>2];a:{if(!n){break a}t=(d|0)<1?d?-1:0:(d|0)!=0;g=t;u=g;v=g>>31;x=(n|0)<1;y=(g|0)>-1;o=b;m=c;r=d;while(1){b:{if(x){j=0;i=b;g=c;break b}s=q[a+20>>2];if(!y){k=0;i=b;g=c;j=0;while(1){h=w(k,56)+s|0;f=h;l=q[f+8>>2];e=q[f+12>>2]+q[f+4>>2]|0;f=q[f>>2];l=f+l|0;if(l>>>0>>0){e=e+1|0}f=l;if((e|0)<(m|0)?1:(e|0)<=(m|0)?f>>>0>=o>>>0?0:1:0){l=h;h=!j|((e|0)>(g|0)?1:(e|0)>=(g|0)?f>>>0<=i>>>0?0:1:0);j=h?l:j;i=h?f:i;g=h?e:g}k=k+1|0;if((n|0)!=(k|0)){continue}break}break b}k=0;i=b;g=c;j=0;if(d){while(1){h=w(k,56)+s|0;e=h;f=q[e>>2];e=q[e+4>>2];if((e|0)>(m|0)?1:(e|0)>=(m|0)?f>>>0<=o>>>0?0:1:0){l=h;h=!j|((e|0)<(g|0)?1:(e|0)<=(g|0)?f>>>0>=i>>>0?0:1:0);j=h?l:j;i=h?f:i;g=h?e:g}k=k+1|0;if((n|0)!=(k|0)){continue}break b}}while(1){h=w(k,56)+s|0;e=h;f=q[e>>2];e=q[e+4>>2];if((e|0)<(m|0)?1:(e|0)<=(m|0)?f>>>0>=o>>>0?0:1:0){l=f;f=(j|0)!=0&((e|0)<(g|0)?1:(e|0)<=(g|0)?f>>>0>=i>>>0?0:1:0);i=f?i:l;j=f?j:h;g=f?g:e}k=k+1|0;if((n|0)!=(k|0)){continue}break}}p=j?j:p;m=g+v|0;g=u;i=g+i|0;if(i>>>0>>0){m=m+1|0}o=i;r=r-t|0;if(r){continue}break}if(!p){break a}a=q[p>>2];z=a-b|0;A=q[p+4>>2]-((a>>>0>>0)+c|0)|0}Ea=A;return z}function dq(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;h=q[c>>2];a:{if(q[a+144>>2]==(b|0)){q[a+284>>2]=h;j=a+284|0;i=a+288|0;break a}j=q[a+296>>2];i=j+4|0}q[j>>2]=h;q[c>>2]=0;k=n[q[b+12>>2]](b,h,d,g+4|0)|0;d=q[g+4>>2];q[i>>2]=d;b:{c:{i=k+4|0;if(i>>>0>46){break c}d:{e:{switch(i-1|0){case 45:f=q[a+80>>2];if(f){q[g+12>>2]=h;f:{if(!r[b+68|0]){g:{if(q[a+144>>2]==(b|0)){h=a+284|0;f=a+288|0;break g}h=q[a+296>>2];f=h+4|0}while(1){q[g+8>>2]=q[a+44>>2];j=n[q[b+56>>2]](b,g+12|0,d,g+8|0,q[a+48>>2])|0;q[f>>2]=q[g+12>>2];i=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],i,q[g+8>>2]-i|0);q[h>>2]=q[g+12>>2];if(j>>>0>1){continue}break}break f}n[f](q[a+4>>2],h,d-h|0)}d=q[g+4>>2]}q[c>>2]=d;q[e>>2]=d;a=q[a+476>>2]==2?35:0;break b;case 3:q[j>>2]=d;a=4;break b;case 1:if(f){break d}a=6;break b;case 0: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:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:break c;default:break e}}if(f){break d}a=2;break b}q[e>>2]=h;a=0;break b}q[j>>2]=d;a=23}Da=g+16|0;return a}function WX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];q[d>>2]=0;a:{if(!(!b|!c)){f=1;if(n[q[e+36>>2]](e,b,c,d,q[e+68>>2])){break a}}if(r[q[a>>2]+140|0]&16){return 0}a=c+ -1460|0;if(a>>>0>14){return 0}f=0;b:{c:{switch(a-1|0){default:if((b|0)!=1497){break a}q[d>>2]=64285;break b;case 2:if((b|0)!=1488){if((b|0)!=1522){break a}q[d>>2]=64287;break b}q[d>>2]=64302;break b;case 3:if((b|0)!=1488){break a}q[d>>2]=64303;break b;case 4:if((b|0)!=1493){break a}q[d>>2]=64331;break b;case 7:a=b+ -1488|0;if(a>>>0<=26){q[d>>2]=q[(a<<2)+236592>>2];return 131817343>>>a&1}a=b+ -64298|0;if(a>>>0>1){break a}if(a-1){q[d>>2]=64300;break b}q[d>>2]=64301;break b;case 10:a=b+ -1489|0;if(a>>>0>19){return 0}d:{switch(a-1|0){default:q[d>>2]=64332;break b;case 9:q[d>>2]=64333;break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break d}}q[d>>2]=64334;break b;case 12:if((b|0)!=64329){if((b|0)!=1513){break a}q[d>>2]=64298;break b}q[d>>2]=64300;break b;case 0:case 1:case 5:case 6:case 8:case 9:case 11:break a;case 13:break c}}if((b|0)!=64329){if((b|0)!=1513){break a}q[d>>2]=64299;break b}q[d>>2]=64301}f=1}return f|0}function uI(a,b,c,d){a=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;i=Da-16|0;Da=i;q[i+12>>2]=b;b=Zp(a,q[a+144>>2],i+12|0,c,d,!r[a+480|0]);a:{if(b){break a}e=q[i+12>>2];if(!e){break a}if(q[a+472>>2]){q[a+276>>2]=974;b=We(a,1,q[a+144>>2],e,c,d,!r[a+480|0]);if(b){break a}b=0;c=q[a+360>>2];if(!c){break a}while(1){d=q[c+4>>2];f=q[c+36>>2];g=q[c+24>>2]+1|0;e=f+g|0;if((d|0)==(e|0)){break a}h=q[c+8>>2];j=g+h|0;if((j|0)>(q[c+40>>2]-f|0)){d=n[q[a+16>>2]](f,j)|0;if(!d){b=1;break a}e=q[c+36>>2];if((e|0)==q[c+12>>2]){q[c+12>>2]=d}f=q[c+16>>2];if(f){q[c+16>>2]=d+(f-e|0)}q[c+36>>2]=d;q[c+40>>2]=d+j;e=d+g|0;h=q[c+8>>2];d=q[c+4>>2]}k=c,l=Qa(e,d,h),q[k+4>>2]=l;c=q[c>>2];if(c){continue}break}break a}q[a+276>>2]=966;b=We(a,0,q[a+144>>2],e,c,d,!r[a+480|0]);if(b){break a}c=q[a+360>>2];b:{if(!c){break b}while(1){b=q[c+4>>2];f=q[c+36>>2];g=q[c+24>>2]+1|0;d=f+g|0;if((b|0)==(d|0)){break b}e=q[c+8>>2];h=g+e|0;if((h|0)>(q[c+40>>2]-f|0)){b=n[q[a+16>>2]](f,h)|0;if(!b){b=1;break a}d=q[c+36>>2];if((d|0)==q[c+12>>2]){q[c+12>>2]=b}e=q[c+16>>2];if(e){q[c+16>>2]=b+(e-d|0)}q[c+36>>2]=b;q[c+40>>2]=b+h;d=b+g|0;e=q[c+8>>2];b=q[c+4>>2]}k=c,l=Qa(d,b,e),q[k+4>>2]=l;c=q[c>>2];if(c){continue}break}}b=0}Da=i+16|0;return b|0}function BB(a,b,c,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=Da-16|0;Da=g;b=q[b>>2];q[g+12>>2]=0;a:{if(!b){b=35;q[g+12>>2]=35;break a}f=q[b+132>>2];if(!(t[b+16>>2]>c>>>0?f:0)){b=6;q[g+12>>2]=6;break a}b:{e=c?c+ -1|0:r[f+106|0];c=s[f+4>>1];b=(c|0)==768;e=w(e,b?6:4)+(b?148:118)|0;i=q[f+8>>2];if(e>>>0>=(i+(b?-4:-2)|0)+ -2>>>0){break b}b=e+q[f+160>>2]|0;h=r[b|0]|r[b+1|0]<<8;q[a+80>>2]=h;b=b+2|0;e=r[b|0];if((c|0)==768){b=r[b+2|0]<<16|r[b+3|0]<<24|r[b+1|0]<<8}else{b=r[b+1|0]<<8}c=e|b;if(c>>>0>=i>>>0){break b}e=s[f+96>>1];b=0;q[a+100>>2]=0;o[a+94|0]=1;q[a+76>>2]=e;i=s[f+80>>1];q[a+72>>2]=1651078259;q[a+104>>2]=i;h=h<<6;q[a+40>>2]=h;e=e<<6;q[a+28>>2]=e;q[a+24>>2]=h;q[a+32>>2]=0;q[a+36>>2]=i<<6;Sf(a+24|0,e);if(d&4194304){break a}b=3;e=q[q[a+4>>2]+100>>2];i=q[f+160>>2];d=q[a+80>>2]+7>>>3|0;q[a+84>>2]=d;c:{if(d){h=q[a+76>>2];if(c+w(h,d)>>>0<=t[f+8>>2]){break c}}q[g+12>>2]=3;break a}f=Oa(e,d,0,h,0,g+12|0);q[a+88>>2]=f;b=q[g+12>>2];if(b){break a}b=c+i|0;while(1){c=q[a+76>>2];if((c|0)>=1){e=b+c|0;c=f;while(1){o[c|0]=r[b|0];c=q[a+84>>2]+c|0;b=b+1|0;if(b>>>0>>0){continue}break}}f=f+1|0;d=d+ -1|0;if(d){continue}break}b=q[g+12>>2];q[q[a+156>>2]+4>>2]=1;break a}b=3;q[g+12>>2]=3}Da=g+16|0;return b|0}function qV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=7){break d}q[a+12>>2]=c+ -1;if((r[e+1|0]&254|r[e|0]<<8)!=2){break d}q[h+8>>2]=e;g=e+4|0;d=eu(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>7){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if((r[e+1|0]&254|r[e|0]<<8)!=2|(f|0)<1){break h}q[h+12>>2]=e;d=eu(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(242848,242873,195,242890);F()}function gU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-96|0;Da=d;a:{if(!Nb(b,a,2)){break a}b:{g=q[c+4>>2];if(!g){break b}h=q[c+16>>2];if(!h){break b}e=q[c+12>>2];f=q[c>>2];i=(r[e|0]<<8|r[e+1|0])-(r[f|0]<<8|r[f+1|0])|0;g=g+ -1|0;c:{if(!g){break c}h=h+ -1|0;if(!h){break c}f=f+2|0;while(1){if(((r[e+3|0]|r[e+2|0]<<8)-(r[f+1|0]|r[f|0]<<8)^i)&65535){break b}h=h+ -1|0;if(!h){break c}e=e+2|0;f=f+2|0;g=g+ -1|0;if(g){continue}break}}o[a|0]=256;o[a+1|0]=1;e=q[c+20>>2];q[d+80>>2]=q[c+16>>2];q[d+84>>2]=e;e=q[c+12>>2];q[d+72>>2]=q[c+8>>2];q[d+76>>2]=e;e=q[c+4>>2];q[d+64>>2]=q[c>>2];q[d+68>>2]=e;q[d+88>>2]=255048;e=0;if(!Nb(b,a,6)){break a}f=q[b+4>>2];c=f-a|0;g=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=g;o[a+3|0]=g>>>8;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0}q[d+56>>2]=q[d+88>>2];c=q[d+84>>2];q[d+48>>2]=q[d+80>>2];q[d+52>>2]=c;c=q[d+76>>2];q[d+40>>2]=q[d+72>>2];q[d+44>>2]=c;c=q[d+68>>2];q[d+32>>2]=q[d+64>>2];q[d+36>>2]=c;if(!Jt(f,b,d+32|0)){break a}b=(i<<8&16711680|i<<24)>>>16|0;o[a+4|0]=b;o[a+5|0]=b>>>8;e=1;break a}o[a|0]=512;o[a+1|0]=2;e=q[c+12>>2];q[d+16>>2]=q[c+8>>2];q[d+20>>2]=e;e=q[c+20>>2];q[d+24>>2]=q[c+16>>2];q[d+28>>2]=e;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;e=dU(a,b,d+8|0)}Da=d+96|0;return e}function iu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{j=q[b+4>>2];if(j>>>0>a>>>0){break a}h=q[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}i=d+ -2|0;q[b+12>>2]=i;if((d|0)==1){break a}e=a+2|0;f=r[a+1|0];g=f|r[a|0]<<8;b:{if(!g){break b}if(h>>>0>>0|j>>>0>e>>>0|h-e>>>0>>0){break a}i=d+ -3|0;q[b+12>>2]=i;if((d|0)<3){break a}f=r[a+1|0];k=f|r[a|0]<<8;if(!k){break b}l=q[b+32>>2];d=0;while(1){g=w(d,3)+a|0;if((r[g+2|0]<<8|r[g+3|0])>>>0>=l>>>0|r[g+4|0]>=c>>>0){break a}d=d+1|0;if((k|0)!=(d|0)){continue}break}}c=r[a|0]|r[a+1|0]<<8;if(!c){break a}d=e;e=c<<8&65280|f;d=e?d:271312;if(r[d|0]<<8|r[d+1|0]){break a}d=1;c=(c<<24|c<<8)>>>16|0;if(c>>>0>1){while(1){f=w(d,3)+a|0;g=e>>>0>d+ -1>>>0?f+ -1|0:271312;f=e>>>0>d>>>0?f+2|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>=(r[f|0]<<8|r[f+1|0])>>>0){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}c=c+ -1|0;c=(e>>>0>c>>>0?(w(c,3)+a|0)+2|0:271312)+3|0;if(j>>>0>c>>>0|h>>>0>>0|h-c>>>0<2){break a}q[b+12>>2]=i+ -1;if((i|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;c=d<<8;e=q[b+32>>2];b=((c&16711680|d<<24)>>>16|0)+ -1|0;a=(r[a+1|0]|c&65280)>>>0>b>>>0?(w(b,3)+a|0)+2|0:271312;return(e|0)==(r[a+3|0]<<8|r[a+4|0])}return 0}function Wu(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,p=0;a:{if(q[b+132>>2]!=6){break a}c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];l=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((l|0)==-1){break a}d=r[a+5|0];c=r[a+4|0];e=(a+4|0)+(d<<1|c<<9)|0;n=r[e+3|0];i=e+2|0;p=r[i|0];e=q[b+96>>2];j=q[e+(r[e+69|0]?80:72)>>2];f=d|c<<8;q[b+80>>2]=f;q[b+44>>2]=j;g=q[q[b+48>>2]+96>>2];h=q[g+76>>2];q[b+84>>2]=h;d=0;c=0;k=q[g+72>>2];if((k|0)==(j|0)){c=r[(q[g+88>>2]+w(j,20)|0)+15|0]}m=b+44|0;q[b+76>>2]=a+6;q[b+72>>2]=a;q[b+68>>2]=448;o[b- -64|0]=c;if(f){b:{while(1){if(Kf(m)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}return 0}j=q[b+44>>2];g=q[q[b+48>>2]+96>>2];k=q[g+72>>2];h=q[g+76>>2];e=q[b+96>>2]}d=r[i+1|0];f=r[i|0];c=q[e+72>>2];q[b+84>>2]=h;q[b+44>>2]=c;f=d|f<<8;q[b+80>>2]=f;d=0;h=0;h=(c|0)==(k|0)?r[(q[g+88>>2]+w(k,20)|0)+15|0]:h;q[b+76>>2]=i+2;q[b+72>>2]=a;q[b+68>>2]=448;o[b+64|0]=h;if(f){c:{while(1){if(id(m)){d=d+1|0;if((f|0)!=(d|0)){continue}break c}break}return 0}e=q[b+96>>2];c=q[b+44>>2]}d=1;Zc(e,j,c+1|0);a=(n<<1|p<<9)+i|0;a=(r[a+3|0]|r[a+2|0]<<8)>>>0>l>>>0?(a+(l<<1)|0)+4|0:271312;a=r[a|0]<<8|r[a+1|0];kf(b,a,0,0,0);b=q[b+96>>2];q[q[b+88>>2]+w(q[b+72>>2],20)>>2]=a}return d}function Fo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+736>>2];if(c){e=q[q[c+12>>2]>>2];d=q[a+100>>2];b=d;f=q[c+4>>2];if(f){n[q[b+8>>2]](b,f)}q[c+4>>2]=0;b=d;f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;f=q[c+20>>2];if(f){n[q[b+8>>2]](b,f)}q[c+20>>2]=0;b=q[c+12>>2];if(b){n[q[d+8>>2]](d,b)}q[c+12>>2]=0;b=q[c+28>>2];if(b){if(e){while(1){f=g<<3;b=q[(f+b|0)+4>>2];if(b){n[q[d+8>>2]](d,b)}b=q[c+28>>2];q[(f+b|0)+4>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(b){n[q[d+8>>2]](d,b)}q[c+28>>2]=0}b=q[c+40>>2];if(b){vj(q[a+100>>2],b);b=d;e=q[q[c+40>>2]+28>>2];if(e){n[q[b+8>>2]](b,e)}e=q[c+40>>2];q[e+28>>2]=0;e=q[e+24>>2];if(e){n[q[b+8>>2]](b,e)}b=q[c+40>>2];q[b+24>>2]=0;if(b){n[q[d+8>>2]](d,b)}q[c+40>>2]=0}b=q[c+52>>2];if(b){vj(q[a+100>>2],b);b=d;e=q[q[c+52>>2]+28>>2];if(e){n[q[b+8>>2]](b,e)}e=q[c+52>>2];q[e+28>>2]=0;e=q[e+24>>2];if(e){n[q[b+8>>2]](b,e)}b=q[c+52>>2];q[b+24>>2]=0;if(b){n[q[d+8>>2]](d,b)}q[c+52>>2]=0}b=q[c+56>>2];if(b){vj(q[a+100>>2],b+4|0);a=d;b=q[q[c+56>>2]+24>>2];if(b){n[q[a+8>>2]](a,b)}a=q[c+56>>2];q[a+24>>2]=0;if(a){n[q[d+8>>2]](d,a)}q[c+56>>2]=0}a=q[c+64>>2];if(a){n[q[d+8>>2]](d,a)}q[c+64>>2]=0;a=q[c+72>>2];if(a){n[q[d+8>>2]](d,a)}q[c+72>>2]=0;if(c){n[q[d+8>>2]](d,c)}}}function kq(a,b,c,d){var e=0,f=0,g=0;a:{if((c-b|0)<2){break a}if(!(r[b+1|0]==45?!r[b|0]:0)){q[d>>2]=b;return 0}b=b+2|0;e=c-b|0;if((e|0)<2){break a}g=a+72|0;while(1){b:{c:{d:{e:{f:{g:{h:{a=b;b=r[b|0];f=b+ -216|0;if(f>>>0>39){if(b){break c}b=r[r[a+1|0]+g|0];if(b>>>0>27){break c}switch(b-2|0){case 5:break g;case 4:break h;case 0:case 1:case 2:case 3: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:break c;case 25:break d;default:break e}}switch(f-4|0){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:break c;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}if((e|0)<3){return-2}b=a+3|0;break b}if((e|0)<4){return-2}b=a+4|0;break b}if(r[a+1|0]<=253){break c}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[b|0]|r[a+3|0]!=45){break b}b=a+4|0;if((c-b|0)<2){break a}if(!(r[a+5|0]==62?!r[a+4|0]:0)){q[d>>2]=b;return 0}q[d>>2]=a+6;return 13}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}}return-1}function YY(a,b){var c=0,d=0;c=271312;a:{b:{while(1){c:{if((b|0)!=9){b=b+ -1|0;if(b>>>0>7){break b}d:{switch(b-1|0){default:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>1){break b}if(b-1){break c}break a;case 0:b=r[a|0]|r[a+1|0]<<8;if(((b<<24|b<<8&16711680)>>>16|0)+ -1>>>0>1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 5:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=r[a+7|0]|r[a+6|0]<<8;return a?b+a|0:271312;case 6:break d}}b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;a=r[a+3|0]|r[a+2|0]<<8?a+4|0:271312;a=r[a|0]<<8|r[a+1|0];return a?b+a|0:271312}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}b=a;a=r[a+3|0]|r[a+2|0]<<8;c=a?b+a|0:271312}return c}b=a;a=r[a+3|0]|r[a+2|0]<<8;return a?b+a|0:271312}function $s(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-32|0;a:{if(c-b>>>0<2){break a}d=q[a+76>>2];f=d>>>0>>0?d:c;g=d>>>0>>0?d:b;b:{if(f>>>0>>0){break b}h=f+ -1|0;if(g>>>0>=h>>>0){break b}j=q[a+88>>2];while(1){f=w(h,20)+j|0;q[e+24>>2]=q[f+16>>2];d=q[f+12>>2];q[e+16>>2]=q[f+8>>2];q[e+20>>2]=d;d=q[f+4>>2];q[e+8>>2]=q[f>>2];q[e+12>>2]=d;d=w(g,20)+j|0;q[f+16>>2]=q[d+16>>2];i=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=i;i=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=i;q[d+16>>2]=q[e+24>>2];f=q[e+20>>2];q[d+8>>2]=q[e+16>>2];q[d+12>>2]=f;f=q[e+12>>2];q[d>>2]=q[e+8>>2];q[d+4>>2]=f;g=g+1|0;h=h+ -1|0;if(g>>>0>>0){continue}break}}if(!r[a+70|0]){break a}d=q[a+76>>2];c=d>>>0>>0?d:c;g=d>>>0>>0?d:b;if(c>>>0>>0){break a}h=c+ -1|0;if(g>>>0>=h>>>0){break a}c=q[a+96>>2];while(1){b=c+w(h,20)|0;a=b;q[e+24>>2]=q[a+16>>2];d=q[a+12>>2];q[e+16>>2]=q[a+8>>2];q[e+20>>2]=d;d=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=d;a=c+w(g,20)|0;q[b+16>>2]=q[a+16>>2];d=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=d;d=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=d;q[a+16>>2]=q[e+24>>2];b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+12>>2];q[a>>2]=q[e+8>>2];q[a+4>>2]=b;g=g+1|0;h=h+ -1|0;if(g>>>0>>0){continue}break}}}function oq(a,b,c,d){var e=0,f=0,g=0;a:{if((c-b|0)<2){break a}if(!(r[b|0]==45?!r[b+1|0]:0)){q[d>>2]=b;return 0}b=b+2|0;e=c-b|0;if((e|0)<2){break a}g=a+72|0;while(1){b:{c:{d:{e:{f:{g:{h:{a=b;b=r[b+1|0];f=b+ -216|0;if(f>>>0>39){if(b){break c}b=r[r[a|0]+g|0];if(b>>>0>27){break c}switch(b-2|0){case 5:break g;case 4:break h;case 0:case 1:case 2:case 3: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:break c;case 25:break d;default:break e}}switch(f-4|0){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:break c;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}if((e|0)<3){return-2}b=a+3|0;break b}if((e|0)<4){return-2}b=a+4|0;break b}if(r[a|0]<=253){break c}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[a+3|0]|r[b|0]!=45){break b}b=a+4|0;if((c-b|0)<2){break a}if(!(r[a+4|0]==62?!r[a+5|0]:0)){q[d>>2]=b;return 0}q[d>>2]=a+6;return 13}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}}return-1}function TV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=7){break d}q[a+12>>2]=c+ -1;if(!(r[e+1|0]|r[e|0]<<8)){break d}q[h+8>>2]=e;g=e+4|0;d=lu(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>7){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if(!(r[e+1|0]|r[e|0]<<8)|(f|0)<1){break h}q[h+12>>2]=e;d=lu(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(242848,242873,195,242890);F()}function vf(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[c+12>>2];f=q[b+120>>2];if(f){n[f](q[b+116>>2])}d=q[b+84>>2];if(d){while(1){f=q[d+4>>2];e=q[f+84>>2];a:{if(!e){break a}g=q[q[f+96>>2]+8>>2];if((d|0)==(e|0)){f=f+84|0}else{while(1){f=e;e=q[e+8>>2];if(!e){break a}if((d|0)!=(e|0)){continue}break}f=f+8|0}q[f>>2]=q[d+8>>2];f=q[d+20>>2];if(f){n[f](d)}Yf(d);n[q[g+8>>2]](g,d);d=q[b+84>>2]}if(d){continue}break}}if(a){d=q[b+108>>2];if(d){while(1){f=q[d+4>>2];g=q[d+8>>2];e=q[g+8>>2];if(e){n[e](g)}e=q[q[c+12>>2]+60>>2];if(e){n[e](g)}e=q[g+40>>2];if(e){n[q[a+8>>2]](a,e)}q[g+40>>2]=0;n[q[a+8>>2]](a,g);n[q[a+8>>2]](a,d);d=f;if(d){continue}break}}q[b+108>>2]=0;q[b+112>>2]=0}d=0;q[b+88>>2]=0;c=q[b+48>>2];if(c){n[c](b)}if(q[b+36>>2]>=1){while(1){f=d<<2;g=q[f+q[b+40>>2]>>2];e=q[q[g>>2]+100>>2];c=q[q[g+12>>2]+8>>2];if(c){n[c](g)}n[q[e+8>>2]](e,g);q[f+q[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=q[b+40>>2];if(c){n[q[a+8>>2]](a,c)}q[b+36>>2]=0;q[b+40>>2]=0;c=q[h+52>>2];if(c){n[c](b)}d=q[b+104>>2];b:{if(!d){break b}f=q[b+8>>2];e=q[d+28>>2];c=q[d+24>>2];if(c){n[c](d)}if(f&1024){break b}n[q[e+8>>2]](e,d)}q[b+104>>2]=0;c=q[b+128>>2];if(c){n[q[a+8>>2]](a,c);q[b+128>>2]=0}n[q[a+8>>2]](a,b)}function Vw(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<36){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=a+20|0;b:{c:{d:{if(o[a+15|0]&1){if(!Qm(c,b,a)){break a}if(!Qm(a+24|0,b,a)){break a}c=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break c}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0){break a}if(d-a>>>0>=c>>>0){break d}break a}if(!Le(c,b,a)){break a}if(!Le(a+24|0,b,a)){break a}c=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break c}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)>=1){break c}break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=0;if((d|0)<=0){break b}}c=1;d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);if(!(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}d=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(t[b+4>>2]>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=0;if(e-a>>>0>>0){break b}a=q[b+12>>2];q[b+12>>2]=a+ -1;c=(a|0)>0}return c}return 0}function Bh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-16|0;Da=e;f=q[a+100>>2];q[e+12>>2]=0;d=q[a+532>>2];a:{if(!d){d=gb(f,420,e+12|0);if(q[e+12>>2]){break a}q[d+416>>2]=0;q[a+532>>2]=d}b:{c:{if(!b){break c}g=q[d>>2];if(!g){k=d,l=Oa(f,32,0,b,0,e+12|0),q[k+148>>2]=l;if(q[e+12>>2]){break a}k=d,l=Oa(f,196,0,b,0,e+12|0),q[k+216>>2]=l;if(q[e+12>>2]){break a}k=d,l=Oa(f,16,0,b,0,e+12|0),q[k+288>>2]=l;if(q[e+12>>2]){break a}g=Oa(f,4,0,b<<1,0,e+12|0);q[d+136>>2]=g;if(q[e+12>>2]){break a}q[d+284>>2]=a+464;q[d+212>>2]=a+168;q[d+144>>2]=a+132;q[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=q[d+288>>2];h=q[d+216>>2];i=q[d+148>>2];a=2;while(1){j=(a<<2)+d|0;g=g+16|0;q[j+284>>2]=g;h=h+196|0;q[j+212>>2]=h;i=i+32|0;q[j+144>>2]=i;a=a+1|0;if(a>>>0<=b>>>0){continue}break}}q[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=q[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}q[d+4>>2]=c}b=q[d>>2];if(q[d+24>>2]|(!b|!c)){break a}f=Oa(f,4,0,w(b,c),0,e+12|0);q[d+24>>2]=f;if(q[e+12>>2]){break a}a=2;if(b>>>0<2){break a}q[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){q[f+(a<<2)>>2]=q[d+24>>2]+(w(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}q[e+12>>2]=3}Da=e+16|0;return q[e+12>>2]}function sP(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Da-432|0;Da=g;a:{b=Kb(354161);if(!b){break a}while(1){b:{c:{f=r[b|0];if(f>>>0>9){c=0;d=b;if((f|0)==32){break b}break c}c=0;d=b;switch(f-1|0){case 8:break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break a}}while(1){d:{e:{e=f&255;if(!(!e|(e|0)==58)){o[(g+288|0)+c|0]=f;d=d+1|0;c=c+1|0;if((c|0)!=128){break e}c=128}o[c+(g+288|0)|0]=0;if((b|0)==(d|0)|r[d|0]!=58){break a}e=1;f=d+1|0;c=0;f:{while(1){b=r[f|0];if(!b){b=c;break f}if((b|0)==61){b=c;break f}o[(g+144|0)+c|0]=b;e=e+1|0;f=e+d|0;b=128;c=c+1|0;if((c|0)!=128){continue}break}e=129}o[(g+144|0)+b|0]=0;if((e|0)==1|r[f|0]!=61){break a}e=1;b=f+1|0;d=0;g:{while(1){h:{c=r[b|0];if(c>>>0>9){if((c|0)==32){break g}break h}switch(c-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break h;default:break g}}o[d+g|0]=c;e=e+1|0;b=e+f|0;d=d+1|0;if((d|0)!=128){continue}break}e=129;d=128}o[d+g|0]=0;d=r[b|0];if(d>>>0>9){if((d|0)!=32){break a}break d}switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break a;default:break d}}f=r[d|0];continue}break}if((e|0)==1){break a}ZF(a,g+288|0,g+144|0,g);if(!r[b|0]){break a}}b=b+1|0;continue}}Da=g+432|0}function KL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-32|0;Da=e;q[e+24>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;h=q[a+8>>2]&1;a:{if(h|q[a+28>>2]<1){break a}if(!wd(a,0)){break a}f=q[a+28>>2];if((f|0)>=2){d=q[a+32>>2];b=1;while(1){i=c;g=p[d+(b<<4)>>1];c=p[d+(c<<4)>>1];c=(((g|0)<16?16-g|0:g+ -16|0)|0)<(((c|0)<16?16-c|0:c+ -16|0)|0)?b:i;b=b+1|0;if((f|0)!=(b|0)){continue}break}}Zo(a,c)}b:{c:{if(!Ne(a,1970170211)){break c}if(!Ne(a,1937337698)){break c}d=100;break b}g=Wo(a,e+12|0);b=q[e+12>>2];d=100;if(!b){break b}l=h?523:515;c=0;while(1){q[e+8>>2]=0;d:{if(el(a,b,l,e+8|0)){break d}d=q[e+8>>2];if(!d){break d}e:{f:{if(!c){b=0;break f}b=d>>31;h=b+d^b;b=0;while(1){f=q[(e+16|0)+(b<<2)>>2];j=d-f|0;k=j>>31;i=f;f=f>>31;f=i+f^f;if((w(k^k+j,33)|0)<=(((h|0)<(f|0)?f:h)|0)){break f}b=b+1|0;if((b|0)!=(c|0)){continue}break}break e}if((b|0)!=(c|0)){break d}}q[(e+16|0)+(c<<2)>>2]=d;c=c+1|0}g=Qf(a,g,e+12|0);if(c>>>0<=2){b=q[e+12>>2];if(b){continue}}break}d=100;if(c>>>0<2){break b}if((c|0)==2){a=q[e+20>>2];b=q[e+16>>2];c=((b|0)>(a|0)?a:b)<<1;a=(b|0)<(a|0)?a:b;g=c-a|0;b=g>>31;i=w(b^b+g,33);f=a;a=a>>31;a=f+a^a;b=c>>31;b=b+c^b;d=90;if((i|0)<=(((b|0)<(a|0)?a:b)|0)){break b}}d=0}Da=e+32|0;return d}function HS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=3){break d}q[a+12>>2]=c+ -1;if(r[e+1|0]|r[e|0]<<8){break d}q[h+8>>2]=e;g=e+2|0;d=it(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>3){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if(r[e+1|0]|r[e|0]<<8|(f|0)<1){break h}q[h+12>>2]=e;d=it(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(271165,271190,195,271207);F()}function hU(a,b,c,d){a=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=Da-640|0;Da=k;i=q[b+88>>2];f=c;a=220;a:{while(1){b:{j=a;c:{if(f>>>0>=d>>>0){break c}while(1){a=s[(w(f,20)+i|0)+16>>1];if((1<<(a&31)&7168?a>>>8|0:0)>>>0>=j>>>0){break c}f=f+1|0;if((f|0)!=(d|0)){continue}break}break b}if((d|0)==(f|0)){break b}h=w(f,20)+i|0;a=s[h+16>>1];e=1<<(a&31)&7168?a>>>8|0:0;d:{if(e>>>0>j>>>0|f>>>0>=d>>>0){break d}a=f;e:{if((e|0)!=(j|0)){break e}while(1){e=q[w(a,20)+i>>2];f:{if((e|0)<=1755){e=e+ -1620|0;if(e>>>0>4){break e}if(1<>>0<=12:0)){break f}if((e|0)!=2259){break e}}a=a+1|0;if((d|0)==(a|0)){a=d;break e}e=s[(w(a,20)+i|0)+16>>1];if(((1<<(e&31)&7168?e>>>8|0:0)|0)==(j|0)){continue}break}}if((a|0)==(f|0)){break d}e=a-f|0;if(e>>>0>=33){break a}if(a-c>>>0>=2){kc(b,c,a)}g=h;h=w(e,20);g=Qa(k,g,h);e=(c-f|0)+a|0;l=w(c,20)+i|0;sb(w(e,20)+i|0,l,w(f-c|0,20));Qa(l,g,h);if(c>>>0>>0){f=(j|0)==220?6400:6656;while(1){h=w(c,20)+i|0;g=s[h+16>>1];if(1<<(g&31)&7168){p[h+16>>1]=f|g&255}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=a}a=j+10|0;if(j>>>0<221){continue}}break}Da=k+640|0;return}I(255255,255163,669,255284);F()}function X_(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:{h=r[a+3|0]|r[a+2|0]<<8;if(!Vb(h?h+a|0:271312,q[b+8>>2])){break a}h=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;j=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;k=j>>>0>1;b:{if(k){d=0;c=0;break b}if(j-1){c=0;break b}i=r[d+3|0]|r[d+2|0]<<8;c=i?d+4|0:271704;f=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?i:0;c=i?r[d+5|0]|r[d+4|0]<<8:0}i=r[a+5|0]|r[a+4|0]<<8;a=a+6|0;l=q[b+16>>2];while(1){if(k){break a}c:{if(!(j-1)){if(!i){break a}if(f>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!i|f>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}d:{if(r[l+12|0]!=1){break d}b=r[a|0];e=r[a+1|0];q[l+16>>2]=-1;b=e|b<<8;g=ac(l,b);if(!g){break d}g=(b>>>3&56)+g|0;b=g;m=q[b+4>>2];n=b;o=q[b>>2];g=e&63;e=g&31;if(32<=(g&63)>>>0){g=1<>>32-e;e=1<>2]=o|e;q[b+4>>2]=g|m}e:{if(k){break e}if(j-1){f=f+1|0;break e}b=r[d+3|0]|r[d+2|0]<<8;e=b>>>0>f>>>0?(w(f,6)+d|0)+4|0:271704;if(c>>>0>=(r[e+2|0]<<8|r[e+3|0])>>>0){f=f+1|0;if(f>>>0>=b>>>0){break e}c=b;g=h+1|0;b=w(f,6)+d|0;h=r[b+8|0]<<8|r[b+9|0];f=(g|0)==(h|0)?f:c;c=r[b+5|0]|r[b+4|0]<<8;break e}c=c+1|0;h=h+1|0}a=a+2|0;i=i+ -1|0;continue}}}function gu(a,b,c){var d=0,e=0;a:{b:{d=a+ -17|0;if(d>>>0>13){if((a|0)!=263){if((a|0)!=292){break b}a=q[b+24>>2];c:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g();break c}e=v[q[b+36>>2]+(a<<3)>>3];break c}o[b+20|0]=1;a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g()}d:{if(y(e)<2147483648){a=~~e;break d}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}q[c+20>>2]=a;break a}break a}e:{switch(d-1|0){case 12:e=ih(b);a=q[b+24>>2];if(a>>>0>2]){q[b+24>>2]=a+1;v[q[b+36>>2]+(a<<3)>>3]=e;return}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;v[80372]=e;return;case 11:hh(b+20|0,b);return;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break e}}a=q[b+24>>2];f:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g();break f}e=v[q[b+36>>2]+(a<<3)>>3];break f}o[b+20|0]=1;a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g()}g:{if(y(e)<2147483648){a=~~e;break g}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}q[c+16>>2]=a;break a}qg(a,b);return}q[b+24>>2]=0}function Sz(a,b){a=a|0;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>t[b+160>>2]){kb(b,8)}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=q[b+160>>2]-a>>>0:0)){kb(b,8)}c=r[a+8204|0]|r[a+8205|0]<<8|(r[a+8206|0]<<16|r[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(q[b+160>>2]-d>>>0)/12>>>0){kb(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);j=r[d+5|0]<<16|r[d+4|0]<<24;c=r[d+7|0]|(j|r[d+6|0]<<8);k=r[d+1|0]<<16|r[d|0]<<24;a=r[d+3|0]|(k|r[d+2|0]<<8);if(c>>>0>>0){kb(b,8)}if(!(!i|a>>>0>e>>>0)){kb(b,8)}c:{if(!q[b+164>>2]){break c}l=q[b+172>>2];e=c-a|0;if(!((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0>>0?l>>>0>=e>>>0:0)){kb(b,16)}e=e+1|0;if(k){if(!e){break c}while(1){if(!(r[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){kb(b,8)}if(!(r[(a>>>3&8191)+h|0]<<(a&7)&128)){kb(b,8)}a=a+1|0;e=e+ -1|0;if(e){continue}break}break c}if(j){kb(b,8)}if(!e){break c}while(1){if(r[(a>>>3&8191)+h|0]<<(a&7)&128){kb(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 mp(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];a:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break a}c=vb(a)}d=c+ -43|0;b:{if(!(d-1|0?d>>>0<=2:0)){d=c+ -48|0;break b}f=(c|0)==45;b=!b;c=q[a+4>>2];c:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break c}c=vb(a)}d=c+ -48|0;if(!(b|d>>>0<10|!q[a+104>>2])){q[a+4>>2]=q[a+4>>2]+ -1}}d:{if(d>>>0<10){d=0;while(1){d=w(d,10)+c|0;b=q[a+4>>2];e:{if(b>>>0>2]){q[a+4>>2]=b+1;c=r[b|0];break e}c=vb(a)}e=c+ -48|0;d=d+ -48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;f:{if(e>>>0>=10){break f}while(1){d=V$(b,d,10,0);c=d+c|0;b=Ea;b=c>>>0>>0?b+1|0:b;c=c+ -48|0;d=b+ -1|0;d=c>>>0<4294967248?d+1|0:d;b=c;c=q[a+4>>2];g:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break g}c=vb(a)}e=c+ -48|0;if(e>>>0>9){break f}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0>=2061584302?0:1:0){continue}break}}if(e>>>0<10){while(1){c=q[a+4>>2];h:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break h}c=vb(a)}if(c+ -48>>>0<10){continue}break}}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}a=b;b=f?0-a|0:a;d=f?0-(d+(0>>0)|0)|0:d;break d}b=0;d=-2147483648;if(!q[a+104>>2]){break d}q[a+4>>2]=q[a+4>>2]+ -1;Ea=-2147483648;return 0}Ea=d;return b}function nx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-48|0;Da=c;d=r[a+7|0];a:{if(d>>>0>5){break a}b:{switch(d-1|0){default:q[c+28>>2]=0;q[c+32>>2]=0;o[c+24|0]=0;d=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a+12;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;mx(c+8|0,c+24|0);break a;case 0:q[c+36>>2]=0;o[c+32|0]=0;o[c+24|0]=0;d=a+12|0;q[c+40>>2]=d;q[c+28>>2]=b;a=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);q[c+44>>2]=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));e=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+16>>2]=a;lx(c+8|0,c+24|0);break a;case 1:kx(a+12|0,b);break a;case 3:e=q[b+8>>2];d=q[e+32>>2];if((d|0)==-1){d=lc(e)}b=q[b+12>>2];e=q[b+76>>2];if(e){g=a+12|0;h=q[b+88>>2];a=0;while(1){f=w(a,20)+h|0;b=Sc(g,q[f>>2],d);if(b){q[f>>2]=r[b+1|0]|r[b|0]<<8}a=a+1|0;if((e|0)!=(a|0)){continue}break}}break a;case 2:break a;case 4:break b}}q[c+32>>2]=0;o[c+24|0]=0;q[c+28>>2]=b;d=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);a=a+12|0;q[c+36>>2]=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a;d=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;jx(c+8|0,c+24|0)}Da=c+48|0}function kc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(q[a+20>>2]==2){if(c-b>>>0<2|c>>>0<=b>>>0){break a}g=q[a+88>>2];e=-1;d=b;while(1){f=q[(g+w(d,20)|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}while(1){d=g+w(b,20)|0;if(q[d+8>>2]!=(e|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}i=q[a+88>>2];g=q[(i+w(b,20)|0)+8>>2];e=g;d=b+1|0;if(d>>>0>>0){e=g;while(1){f=q[(w(d,20)+i|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=q[a+76>>2];b:{if(d>>>0<=c>>>0){break b}while(1){f=w(c,20)+i|0;if(q[f+ -12>>2]!=q[f+8>>2]){break b}c=c+1|0;if(c>>>0>>0){continue}break}}h=q[a+72>>2];f=h>>>0>>0?h:b;while(1){c:{d=b;if(h>>>0>=d>>>0){d=f;break c}b=d+ -1|0;if((g|0)==q[(w(b,20)+i|0)+8>>2]){continue}}break}d:{if((d|0)!=(h|0)){break d}b=q[a+80>>2];if(!b){break d}g=w(h,20)+i|0;f=q[a+92>>2];while(1){b=b+ -1|0;a=f+w(b,20)|0;h=q[a+8>>2];if((h|0)!=q[g+8>>2]){break d}if((e|0)!=(h|0)){q[a+4>>2]=q[a+4>>2]&-2}q[a+8>>2]=e;if(b){continue}break}}if(d>>>0>=c>>>0){break a}while(1){a=w(d,20)+i|0;b=a;if(q[b+8>>2]!=(e|0)){q[a+4>>2]=q[a+4>>2]&-2}q[b+8>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}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,i=0,j=0,k=0,l=0,m=0,o=0,r=0,t=0,u=0;g=Da-16|0;Da=g;i=q[a+100>>2];q[g+12>>2]=0;o=s[a+340>>1];a:{if(!o){break a}k=-1;f=-1;l=-1;m=-1;j=q[a+356>>2];e=j;while(1){b:{if(!s[e+8>>1]|s[e+6>>1]!=(b|0)){break b}h=s[e>>1];if(h>>>0>3){break b}c:{switch(h-1|0){default:k=d;break b;case 0:if(!s[e+4>>1]){l=d;break b}m=s[e+2>>1]?m:d;break b;case 2:break c}}if((s[e+4>>1]&1023)!=9?(f|0)!=-1:0){break b}h=s[e+2>>1];if(h>>>0>10|!(1<>1]&1023)==9;f=d}e=e+20|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}b=(l|0)>-1?l:m;d:{e:{f:{if((f|0)>=0){if(r?0:(b|0)>=0){break f}e=0;d=w(f,20)+j|0;f=s[d+2>>1];if(f>>>0>10){break a}b=315;if(1<>2]){break g}a=q[a+368>>2];e=0;t=d,u=Oa(i,1,0,s[d+8>>1],0,g+12|0),q[t+16>>2]=u;h:{if(q[g+12>>2]){break h}f=Xa(a,q[d+12>>2]);q[g+12>>2]=f;if(f){break h}a=Wb(a,q[d+16>>2],s[d+8>>1]);q[g+12>>2]=a;if(!a){break g}}a=q[d+16>>2];if(a){n[q[i+8>>2]](i,a)}p[d+8>>1]=0;q[d+16>>2]=0;break a}e=n[b](d,i)|0}q[c>>2]=e;Da=g+16|0;return q[g+12>>2]}function Gl(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,r=0,s=0,t=0;e=q[a+212>>2];g=e>>8;d=q[a+176>>2];k=c>>8;a:{if((k|0)>=(d|0)?(g|0)>=(d|0):0){break a}d=q[a+172>>2];if((k|0)<(d|0)?(g|0)<(d|0):0){break a}p=c&255;d=e&255;f=q[a+208>>2];if((g|0)==(k|0)){Hi(a,g,f,d,b,p);break a}h=c-e|0;n=b-f|0;if(!n){e=(h|0)>0;i=e<<8;d=i-d|0;q[a+184>>2]=d+q[a+184>>2];j=f<<1&510;q[a+180>>2]=q[a+180>>2]+w(j,d);f=f>>8;d=g;g=e?1:-1;d=d+g|0;ff(a,f,d);if((d|0)!=(k|0)){e=(e<<9)+ -256|0;l=w(e,j);while(1){q[a+180>>2]=l+q[a+180>>2];q[a+184>>2]=e+q[a+184>>2];d=d+g|0;ff(a,f,d);if((d|0)!=(k|0)){continue}break}}d=i+(c|-256)|0;q[a+184>>2]=d+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(d,j);break a}o=1;e=a;j=g;i=f;l=d;b:{if((h|0)>=1){m=256;d=256-d|0;break b}h=0-h|0;o=-1}r=w(d,n);d=(r|0)/(h|0)|0;s=e;t=j;e=r-w(d,h)|0;j=e>>31;f=j+(d+f|0)|0;Hi(s,t,i,l,f,m);d=g+o|0;ff(a,f>>8,d);c:{if((d|0)==(k|0)){g=256-m|0;break c}i=n<<8;g=(i|0)/(h|0)|0;i=i-w(g,h)|0;l=i>>31;i=(l&h)+i|0;l=g+l|0;g=256-m|0;e=e+(h&j)|0;while(1){j=f;e=e+i|0;f=(f+l|0)+((e|0)>=(h|0))|0;Hi(a,d,j,g,f,m);d=d+o|0;ff(a,f>>8,d);e=e-((e|0)<(h|0)?0:h)|0;if((d|0)!=(k|0)){continue}break}}Hi(a,k,f,g,b,p)}q[a+212>>2]=c;q[a+208>>2]=b}function Tn(a,b){var c=0,d=0,e=0,f=0,g=0;d=-2;a:{if(!a){break a}q[a+24>>2]=0;d=q[a+32>>2];if(!d){q[a+40>>2]=0;q[a+32>>2]=270;d=270}if(!q[a+36>>2]){q[a+36>>2]=271}c=n[d](q[a+40>>2],1,24)|0;q[a+28>>2]=c;d=-4;if(!c){break a}q[c+20>>2]=0;q[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d|0)<=7){vh(a);return-2}q[c+16>>2]=d;b:{c=n[q[a+32>>2]](q[a+40>>2],1,64)|0;c:{if(!c){break c}e=n[q[a+32>>2]](q[a+40>>2],8,1440)|0;q[c+36>>2]=e;if(!e){n[q[a+36>>2]](q[a+40>>2],c);break c}f=1<>2]](q[a+40>>2],1,f)|0;q[c+40>>2]=e;if(e){break b}n[q[a+36>>2]](q[a+40>>2],q[c+36>>2]);n[q[a+36>>2]](q[a+40>>2],c)}q[q[a+28>>2]+20>>2]=0;vh(a);return-4}g=(b|0)>-1?272:0;q[c+56>>2]=g;q[c+52>>2]=e;q[c+28>>2]=0;q[c+32>>2]=0;d=0;q[c>>2]=0;q[c+48>>2]=e;q[c+44>>2]=e+f;if((b|0)>=0){b=n[g](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}b=q[a+28>>2];q[b+20>>2]=c;if(!b){break a}q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[b>>2]=q[b+12>>2]?7:0;b=q[c>>2];if((b&-2)==4){n[q[a+36>>2]](q[a+40>>2],q[c+12>>2]);b=q[c>>2]}if((b|0)==6){n[q[a+36>>2]](q[a+40>>2],q[c+4>>2])}q[c+28>>2]=0;q[c+32>>2]=0;q[c>>2]=0;b=q[c+40>>2];q[c+52>>2]=b;q[c+48>>2]=b;b=q[c+56>>2];if(!b){break a}b=n[b](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}return d}function El(a,b){var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];if(e>>>0>>0){while(1){d=e+1|0;a:{b:{c:{d:{e:{c=r[e|0];f=c+ -40|0;if(f>>>0>1){if((c|0)==92){break e}c=d;break a}if(f-1){break d}break c}if((b|0)==(d|0)){q[a>>2]=b;return 3}f:{f=r[d|0];c=f+ -40|0;if(c>>>0>76){break f}switch(c-2|0){case 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: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 51:case 52:case 53:case 54:case 55:case 57:case 58:case 59:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 69:case 70:case 71:case 73:break f;default:break b}}c=d;if(d>>>0>=b>>>0){break a}e=0;c=d;if((f&248)!=48){break a}while(1){d=d+1|0;c=d;if(e>>>0>1){break a}c=d;if(d>>>0>=b>>>0){break a}e=e+1|0;if((r[d|0]&248)==48){continue}break}c=d;break a}g=g+1|0;c=d;break a}g=g+ -1|0;c=d;if(g){break a}q[a>>2]=d;return 0}c=e+2|0}e=c;if(e>>>0>>0){continue}break}}q[a>>2]=e;return 3}function MK(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}c:{d:{g=a+72|0;e=r[g+r[b|0]|0];if(e>>>0>10){break d}e:{switch(e-2|0){case 2:f=-1;e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=93){break c}if((c-(b+2|0)|0)<1){break b}if(r[b+2|0]!=62){break c}q[d>>2]=b+3;return 40;case 7:a=b+1|0;if((c-a|0)<1){return-1}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7;case 8:q[d>>2]=b+1;return 7;case 3:f=-2;if((c-b|0)<2){break b}if(n[q[a+352>>2]](a,b)){break a}e=b+2|0;break c;case 4:f=-2;if((c-b|0)<3){break b}if(n[q[a+356>>2]](a,b)){break a}e=b+3|0;break c;case 0:case 1:break d;case 5:break e;default:break a}}f=-2;if((c-b|0)<4){break b}if(n[q[a+360>>2]](a,b)){break a}e=b+4|0;break c}e=b+1|0}f=c-e|0;f:{if((f|0)<1){break f}while(1){b=1;h=r[r[e|0]+g|0];g:{if(h>>>0>10){break g}h:{switch(h-2|0){case 3:if((f|0)<2){break f}b=2;if(!n[q[a+352>>2]](a,e)){break g}break f;case 4:if((f|0)<3){break f}b=3;if(!n[q[a+356>>2]](a,e)){break g}break f;case 0:case 1:break g;case 5:break h;default:break f}}if((f|0)<4){break f}b=4;if(n[q[a+360>>2]](a,e)){break f}}e=b+e|0;f=c-e|0;if((f|0)>0){continue}break}}q[d>>2]=e;f=6}return f|0}q[d>>2]=b;return 0}function Tf(a,b,c,d){var e=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Da-32|0;Da=i;e=d&2147483647;k=e;e=e+ -1006698496|0;j=c;h=c;if(c>>>0<0){e=e+1|0}l=h;h=e;e=k+ -1140785152|0;m=j;if(j>>>0<0){e=e+1|0}a:{if((e|0)==(h|0)&l>>>0>>0|h>>>0>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;j=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;if(a>>>0<1){e=e+1|0}h=a;break a}h=c;e=e-((c>>>0<0)+ -1073741824|0)|0;if(a|j^134217728){break a}a=h+(h&1)|0;if(a>>>0>>0){e=e+1|0}h=a;break a}if(!(!j&(k|0)==2147418112?!(a|b):(k|0)==2147418112&j>>>0<0|k>>>0<2147418112)){e=d<<4|c>>>28;h=c<<4|b>>>28;e=e&524287|2146959360;break a}h=0;e=2146435072;if((k|0)==1140785151&j>>>0>4294967295|k>>>0>1140785151){break a}e=0;j=k>>>16|0;if(j>>>0<15249){break a}e=d&65535|65536;Fc(i+16|0,a,b,c,e,j+ -15233|0);Uf(i,a,b,c,e,15361-j|0);c=q[i+4>>2];a=q[i+8>>2];e=q[i+12>>2]<<4|a>>>28;h=a<<4|c>>>28;a=c&268435455;c=a;b=q[i>>2]|((q[i+16>>2]|q[i+24>>2])!=0|(q[i+20>>2]|q[i+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=h+1|0;if(a>>>0<1){e=e+1|0}h=a;break a}if(b|c^134217728){break a}a=h+(h&1)|0;if(a>>>0>>0){e=e+1|0}h=a}Da=i+32|0;f(0,h|0);f(1,d&-2147483648|e);return+g()}function To(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return}a:{if(!b){break a}f=q[a+16>>2];if((f|0)<1){break a}d=((f<<2)+a|0)+20|0;c=a+20|0;while(1){if(q[c>>2]==(b|0)){q[a+16>>2]=f+ -1;a=d+ -4|0;if(c>>>0>>0){while(1){q[c>>2]=q[c+4>>2];c=c+4|0;if(c>>>0>>0){continue}break}}q[a>>2]=0;i=q[b+8>>2];f=q[b>>2];d=q[b+4>>2];e=f;b:{if(!d){break b}if(q[d+160>>2]==(b|0)){q[d+160>>2]=0}a=f;e=a;if(!(r[a|0]&2)){break b}c=q[d+148>>2];e=f;if(!c){break b}g=d+148|0;a=q[d>>2];c:{while(1){if(q[c+8>>2]==(b|0)){break c}c=q[c+4>>2];if(c){continue}break}e=f;break b}e=q[b+12>>2];d:{if(q[e+36>>2]!=1869968492){break d}h=q[b+52>>2];if(!h){break d}n[q[q[e+56>>2]+20>>2]](h)}e=q[c>>2];h=e?e+4|0:g;g=q[c+4>>2];q[h>>2]=g;q[(g?g:d+152|0)>>2]=e;n[q[a+8>>2]](a,c);c=q[d+148>>2];e:{if(c){while(1){a=q[c+8>>2];if(q[a+16>>2]==1869968492){break e}c=q[c+4>>2];if(c){continue}break}}a=0}q[d+156>>2]=a;e=q[b>>2]}f:{if(!(o[e|0]&1)){break f}d=q[b+8>>2];if(!d){break f}c=q[b+16>>2];if(c){while(1){a=q[c+4>>2];vf(d,q[c+8>>2],b);n[q[d+8>>2]](d,c);c=a;if(c){continue}break}}q[b+16>>2]=0;q[b+20>>2]=0}a=q[f+28>>2];if(a){n[a](b)}n[q[i+8>>2]](i,b);return}c=c+4|0;if(c>>>0>>0){continue}break}}}function EP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Na(a,0,656);q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=q[b+16>>2];d=q[b+20>>2];q[a+40>>2]=b+48;q[a+36>>2]=b+40;q[a+32>>2]=b+32;q[a+28>>2]=b+28;q[a+24>>2]=b+24;q[a+20>>2]=d;if(c){d=r[b+70|0];e=r[b+68|0]|r[b+69|0]<<8;o[a+45|0]=e;o[a+46|0]=e>>>8;q[a+540>>2]=b+1508;e=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=e;o[a+48|0]=c;o[a+47|0]=d;o[a+44|0]=0;q[a+604>>2]=q[b+1348>>2];q[a+584>>2]=q[b+1352>>2];q[a+580>>2]=q[b+1356>>2];q[a+588>>2]=q[b+1472>>2];q[a+644>>2]=q[b+1468>>2];q[a+556>>2]=q[b+1364>>2];q[a+572>>2]=q[b+1368>>2];q[a+612>>2]=q[b+1372>>2];q[a+616>>2]=q[b+1376>>2];q[a+648>>2]=q[b+1496>>2];q[a+652>>2]=q[b+1500>>2];q[a+608>>2]=q[b+1360>>2];return}c=q[b+64>>2];d=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=d;o[a+48|0]=0;q[a+44>>2]=c;c=q[b+108>>2];q[a+532>>2]=c;q[a+540>>2]=c+3104;q[a+536>>2]=q[b+768>>2];q[a+560>>2]=q[b+732>>2];q[a+576>>2]=q[b+748>>2];q[a+568>>2]=q[b+740>>2];q[a+556>>2]=q[b+728>>2];q[a+572>>2]=q[b+744>>2];c=q[b+736>>2];q[a+544>>2]=b+584;q[a+564>>2]=c;o[a+548|0]=r[b+593|0];q[a+588>>2]=q[b+760>>2];q[a+596>>2]=q[b+772>>2];q[a+600>>2]=q[b+776>>2]}function Km(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if((b|0)!=1196445523){h=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[h+5|0]|r[h+4|0]<<8;a=a?h+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?(a+w(c,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];a=b?a+b|0:271312;b:{c:{if(d){while(1){b=r[a+3|0]|r[a+2|0]<<8;if(b){j=q[(i<<2)+e>>2];c=b+ -1|0;b=0;while(1){h=b+c>>>1|0;g=a+w(h,6)|0;g=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d:{if(g>>>0>j>>>0){c=h+ -1|0;break d}if((g|0)==(j|0)){break c}b=h+1|0}if((b|0)<=(c|0)){continue}break}}if(f){q[f>>2]=65535}i=i+1|0;if((i|0)!=(d|0)){continue}break}}e:{f:{b=r[a+3|0]|r[a+2|0]<<8;if(b){c=b+ -1|0;b=0;while(1){d=b+c>>>1|0;e=a+w(d,6)|0;e=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);g:{if(e>>>0>=1684434037){c=d+ -1|0;break g}if((e|0)==1684434036){break f}b=d+1|0}if((b|0)<=(c|0)){continue}break}}if(f){break e}return}if(!f){break b}q[f>>2]=d;break b}q[f>>2]=65535;return}if(!f){break b}q[f>>2]=h}}function uQ(a,b,c){a=a|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=Da-16|0;Da=e;$b(a,q[a+8>>2]);f=q[a+8>>2];d=q[a>>2];q[e+12>>2]=d;a:{if(d>>>0>=f>>>0){break a}h=r[d|0];i=(h|0)==91?93:(h|0)==123?125:0;if(i){d=d+1|0;q[e+12>>2]=d}if(d>>>0>=f>>>0){break a}b:{c:{d:{if(!c){if(i){while(1){$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){break a}if(r[d|0]==(i|0)){break b}Ed(e+12|0,f,0);b=q[e+12>>2];if((b|0)==(d|0)){break d}g=g+1|0;if(b>>>0>>0){continue}break}d=b;break a}$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){break a}if(!r[d|0]){break c}Ed(e+12|0,f,0);b=q[e+12>>2];if((b|0)==(d|0)){break d}g=1;d=b;break a}h=0;g=(b|0)>0?b:0;if(i){while(1){$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){g=h;break a}if(r[d|0]==(i|0)){g=h;break b}if((g|0)==(h|0)){break a}j=(h<<1)+c|0,k=Ed(e+12|0,f,0)>>>16|0,p[j>>1]=k;b=q[e+12>>2];if((b|0)==(d|0)){break d}h=h+1|0;if(b>>>0>>0){continue}break}d=b;g=h;break a}$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){g=0;break a}if(!r[d|0]){break c}if((b|0)<1){break a}j=c,k=Ed(e+12|0,f,0)>>>16|0,p[j>>1]=k;b=q[e+12>>2];if((b|0)==(d|0)){break d}g=1;d=b;break a}g=-1;break a}g=0}d=d+1|0;q[e+12>>2]=d}q[a>>2]=d;Da=e+16|0;return g|0}function wj(a,b,c){a=a|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=Da-16|0;Da=g;q[g+12>>2]=0;k=q[a+100>>2];h=q[a+736>>2];a:{b:{if(!h){d=Nf(a,0);q[g+12>>2]=d;if(d){break b}h=q[a+736>>2]}i=q[h+12>>2];f=q[i>>2];d=q[h+4>>2];if(!d){d=Oa(k,4,0,f,0,g+12|0);q[h+4>>2]=d;if(q[g+12>>2]){break b}}b=f>>>0>>0?f:b;if(b){while(1){f=q[c>>2];if((f|0)!=q[d>>2]){q[d>>2]=f;l=1}d=d+4|0;c=c+4|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}f=q[i>>2];c=q[a+4>>2];c:{if(c&2147418112){if(b>>>0>=f>>>0){break c}c=q[(q[i+16>>2]+w(c>>>16|0,12)|0)+ -12>>2]+(b<<2)|0;e=b;while(1){j=q[c>>2];if((j|0)!=q[d>>2]){q[d>>2]=j;l=1}d=d+4|0;c=c+4|0;e=e+1|0;if(e>>>0>>0){continue}break}break c}if(b>>>0>=f>>>0){break c}c=q[i+12>>2]+w(b,24)|0;e=b;while(1){j=q[c+8>>2];if((j|0)!=q[d>>2]){q[d>>2]=j;l=1}d=d+4|0;c=c+24|0;e=e+1|0;if(e>>>0>>0){continue}break}}if(!l){c=-1;if(q[h+8>>2]){break a}}e=Oa(k,4,0,f,0,g+12|0);if(q[g+12>>2]){break b}c=q[a+736>>2];if(!r[c+24|0]){zo(a);c=q[a+736>>2]}Eh(c,b,q[h+4>>2],e);c=Fh(a,q[i>>2],e,0);q[g+12>>2]=c;if(c){break b}c=q[a+8>>2];if(b){q[a+8>>2]=c|32768;break b}q[a+8>>2]=c&-32769}if(e){n[q[k+8>>2]](k,e)}c=q[g+12>>2]}Da=g+16|0;return c|0}function zp(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(!q[a+96>>2]){return 34}q[b>>2]=0;e=q[a+100>>2];g=q[q[a+96>>2]+12>>2];d=q[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=n[q[e+4>>2]](e,d)|0;if(!f){return 64}Na(f,0,d)}e:{d=n[q[e+4>>2]](e,12)|0;if(d){o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;q[f>>2]=a;c=n[q[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+32|0]=0;o[c+33|0]=0;o[c+34|0]=0;o[c+35|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;q[f+40>>2]=c;c=q[g+56>>2];if(c){c=n[c](f)|0;if(c){break b}}q[b>>2]=f;q[d+8>>2]=f;b=q[a+112>>2];q[d>>2]=b;c=0;q[d+4>>2]=0;q[(b?b+4|0:a+108|0)>>2]=d;q[a+112>>2]=d}return c}n[q[e+8>>2]](e,d)}n[q[e+8>>2]](e,f);return c}function XY(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=9){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){break b}CY(b,a);return;case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){BY(b,a);return}AY(b,a);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}zY(b,a);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}yY(b,a);return;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break a}xY(b,a);return;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break a}wY(b,a);return;case 5:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:kv(b,a);return;case 0:jv(b,a);return;case 1:break d}}iv(b,a);return;case 6:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}e:{switch(c-1|0){default:hv(b,a);return;case 0:gv(b,a);return;case 1:break e}}fv(b,a);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}vY(b,a)}}function Ow(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-16|0;Da=g;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}i=q[b+8>>2];if(i>>>0>>0){break a}f=i-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break b}c:{switch(h-1|0){default:f=q[b+32>>2];if(f>>>0>2147483646){break a}if(!f){break b}h=e;e=a+2|0;if(h>>>0>e>>>0|i>>>0>>0|i-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<=1){break a}d=0;while(1){if(!xg(((d<<1)+a|0)+2|0,b,c)){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}break b;case 1:q[g+12>>2]=c;j=Nw(a+2|0,b,g+12|0);break a;case 3:q[g+12>>2]=c;q[g+8>>2]=a;j=Mw(a+2|0,b,g+8|0,g+12|0);break a;case 5:q[g+12>>2]=c;j=Kw(a+2|0,b,g+12|0);break a;case 9:break a;case 0:case 2:case 4:case 6:case 8:break b;case 7:break c}}if(f>>>0<6){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}f=r[a+5|0]|r[a+4|0]<<8;if(!f){break b}h=e;e=a+6|0;if(h>>>0>e>>>0|i>>>0>>0|i-e>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<=2){break a}d=0;while(1){if(xg(((d<<1)+a|0)+6|0,b,c)){j=1;d=d+1|0;if((f|0)!=(d|0)){continue}break a}break}j=0;break a}j=1}Da=g+16|0;return j}function En(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[a+552>>2];if(e>>>0>2){return-31}a:{b:{c:{d:{switch(e-1|0){case 1:i=q[c>>2];break b;default:g=q[b+4>>2];e:{if((g|0)!=32){e=q[b>>2];break e}f=q[b+12>>2];if(!f){return 2}h=q[b>>2]>>>8|0;q[b>>2]=h;d=q[b+8>>2];e=r[d|0];q[b+12>>2]=f+ -1;g=24;q[b+4>>2]=24;q[b+8>>2]=d+1;e=h|e<<24;q[b>>2]=e}d=g+1|0;q[b+4>>2]=d;if(e>>>g&1){break c}q[c>>2]=0;return 1;case 0:break d}}d=q[b+4>>2]}f:{if(32-d>>>0>=3){f=q[b>>2];break f}g=q[b+12>>2];e=d;while(1){if(!g){break a}j=q[b>>2]>>>8|0;q[b>>2]=j;f=q[b+8>>2];h=r[f|0];g=g+ -1|0;q[b+12>>2]=g;d=e+ -8|0;q[b+4>>2]=d;q[b+8>>2]=f+1;f=j|h<<24;q[b>>2]=f;h=40-e|0;e=d;if(h>>>0<3){continue}break}}q[b+4>>2]=d+3;i=f>>>d&7;if(!i){q[c>>2]=1;q[a+552>>2]=0;return 1}q[c>>2]=i}g:{d=q[b+4>>2];h:{if(32-d>>>0>=i>>>0){f=q[b>>2];break h}g=q[b+12>>2];e=d;while(1){if(!g){break g}j=q[b>>2]>>>8|0;q[b>>2]=j;f=q[b+8>>2];h=r[f|0];g=g+ -1|0;q[b+12>>2]=g;d=e+ -8|0;q[b+4>>2]=d;q[b+8>>2]=f+1;f=j|h<<24;q[b>>2]=f;h=40-e|0;e=d;if(h>>>0>>0){continue}break}}q[b+4>>2]=d+i;q[c>>2]=(q[(i<<2)+153552>>2]&f>>>d)+(1<>2]);q[a+552>>2]=0;return 1}q[a+552>>2]=2;return 2}q[a+552>>2]=1;return 2}function co(a,b,c,d){a=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=Da-48|0;Da=e;g=q[a+4>>2];o[b+557|0]=0;q[b+560>>2]=a;if(!(!q[b+116>>2]|!q[b+120>>2])){f=Na(b+188|0,0,364);q[b+528>>2]=3932;q[b+520>>2]=-1;q[b+392>>2]=1;q[b+588>>2]=d;q[b+584>>2]=c;q[b+552>>2]=b;q[b+384>>2]=2596864;q[b+388>>2]=7;h=r[a+32|0];c=97;a:{if(!h){break a}c=q[a+1556>>2]+1|0}i=q[a>>2];d=q[i>>2];j=q[b+176>>2];q[e+12>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+24>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+32>>2]=f;q[e+28>>2]=h?20480:8192;q[e>>2]=i;q[e+36>>2]=j;f=Oa(d,4,0,c,0,e+44|0);q[e+16>>2]=f;b:{c:{if(!q[e+44>>2]){q[e+20>>2]=f;q[e+24>>2]=c;break c}if(f){n[q[d+8>>2]](d,f)}f=0;q[e+16>>2]=0;if(q[e+44>>2]){break b}}f=Xa(g,q[b+116>>2]+q[a+12>>2]|0);if(f){break b}f=lb(g,q[b+120>>2]);if(f){break b}f=bo(e,q[g+32>>2],q[g+36>>2]);jb(g);if(f){break b}o[b+188|0]=r[b+188|0]&254;a=b;c=q[b+532>>2];d:{e:{if((c|0)<=-1){c=0-c|0;break e}if(c){break d}c=987654321}q[a+532>>2]=c}if(t[b+388>>2]>=1001){q[b+388>>2]=7}f=0;if(t[b+392>>2]<1001){break b}q[b+392>>2]=1}q[b+600>>2]=0;q[b+596>>2]=q[b+592>>2];a=q[q[e>>2]>>2];b=q[e+16>>2];if(b){n[q[a+8>>2]](a,b)}q[e+16>>2]=0}Da=e+48|0;return f|0}function kj(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=q[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Xa(q[a>>2],q[a+68>>2])){break a}e=q[a+40>>2];c:{if(!e){break c}q[a+20>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[e>>2]=q[e+12>>2]?7:0;f=q[e+20>>2];e=q[f>>2];if((e&-2)==4){n[q[a+48>>2]](q[a+52>>2],q[f+12>>2]);e=q[f>>2]}if((e|0)==6){n[q[a+48>>2]](q[a+52>>2],q[f+4>>2])}q[f+28>>2]=0;q[f+32>>2]=0;q[f>>2]=0;e=q[f+40>>2];q[f+52>>2]=e;q[f+48>>2]=e;e=q[f+56>>2];if(!e){break c}e=n[e](0,0,0)|0;q[f+60>>2]=e;q[a+60>>2]=e}q[a+8264>>2]=0;q[a+28>>2]=0;q[a+12>>2]=a+72;q[a+16>>2]=0;e=a+8264|0;q[a+8272>>2]=e;q[a+24>>2]=a+4168;q[a+8268>>2]=e}if(g>>>0>>0){f=q[a+8268>>2];e=q[a+8272>>2]-f|0;b=b-g|0;e=e>>>0>>0?e:b;q[a+8268>>2]=e+f;q[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(Sn(a)){return 0}f=q[a+8268>>2];e=q[a+8272>>2]-f|0;e=e>>>0>>0?e:b;q[a+8268>>2]=e+f;q[a+8264>>2]=e+q[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=q[a+8268>>2];b=q[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Qa(c,e,f);q[a+8268>>2]=f+q[a+8268>>2];q[a+8264>>2]=f+q[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!Sn(a)){continue}break}}return g}function Ag(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=Da-16|0;Da=j;g=6;a:{if(!a){break a}i=q[a+12>>2];if(i>>>0<=b>>>0){break a}k=q[a>>2];b:{c:{d:{e:{f:{g:{e=q[a+28>>2];if(!e){g=Xa(k,(q[a+8>>2]+q[a+4>>2]|0)+w(r[a+16|0],b)|0);if(g){break a}g=Wb(q[a>>2],j+12|0,r[a+16|0]);if(g){break a}e=r[a+16|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=r[(j+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=Wb(q[a>>2],j+12|0,e&255);h:{if(g){break h}f=r[a+16|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=r[(j+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=t[a+12>>2]){break e}e=r[a+16|0];continue}}g=0;h=q[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=q[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=q[k+4>>2];e=b+1|0;if(f>>>0<=e>>>0){break d}i=q[a+20>>2];break c}h=0;g=0}b=q[k+4>>2];f=0}i=q[a+20>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;q[d>>2]=b;d=q[a+32>>2];if(d){q[c>>2]=(d+h|0)+ -1;break a}g=Xa(k,(q[a+20>>2]+h|0)+ -1|0);if(g){break a}g=Bc(k,b,c);break a}q[c>>2]=0;q[d>>2]=0}Da=j+16|0;return g}function Ya(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{b=q[a+4>>2];if(!b){break c}c=q[a+16>>2];if(!c){q[a>>2]=b;q[a+4>>2]=q[b>>2];q[b>>2]=0;c=q[a>>2];b=c+8|0;q[a+16>>2]=b;c=q[c+4>>2];q[a+12>>2]=b;q[a+8>>2]=b+c;break b}if((q[a+8>>2]-c|0)>=q[b+4>>2]){break c}c=q[b>>2];q[b>>2]=q[a>>2];b=q[a+4>>2];q[a+4>>2]=c;q[a>>2]=b;c=b+8|0;b=q[a+16>>2];Qa(c,b,q[a+8>>2]-b|0);c=q[a+16>>2];d=q[a>>2];b=d+8|0;q[a+16>>2]=b;q[a+12>>2]=b+(q[a+12>>2]-c|0);q[a+8>>2]=b+q[d+4>>2];break b}d:{e=q[a>>2];if(!e){b=q[a+16>>2];break d}b=q[a+16>>2];if((b|0)!=(e+8|0)){break d}c=0;d=q[a+8>>2]-b<<1;if((d|0)<0|!d){break a}f=d+8|0;if((f|0)<1){break a}g=q[a+12>>2];e=n[q[q[a+20>>2]+4>>2]](e,f)|0;if(!e){break a}q[a>>2]=e;q[e+4>>2]=d;c=q[a>>2]+8|0;q[a+16>>2]=c;q[a+12>>2]=c+(g-b|0);q[a+8>>2]=c+d;break b}c=0;d=q[a+8>>2]-b|0;if((d|0)<0){break a}e=1024;b=1032;if((d|0)>=1024){e=d<<1;if((e|0)<0){break a}b=e+8|0;if((b|0)<1){break a}}d=n[q[q[a+20>>2]>>2]](b)|0;if(!d){break a}q[d+4>>2]=e;q[d>>2]=q[a>>2];q[a>>2]=d;c=q[a+16>>2];b=q[a+12>>2];if((c|0)!=(b|0)){Qa(d+8|0,c,b-c|0);c=q[a+16>>2];b=q[a+12>>2]}d=d+8|0;q[a+16>>2]=d;q[a+12>>2]=d+(b-c|0);q[a+8>>2]=d+e}c=1}return c}function st(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(!b){b=q[a+4>>2];if((b|0)<0){break a}e=q[a+8>>2]+1|0;b:{if(b>>>0>=e>>>0){c=b;break b}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}c:{if(!(c>>>0>>0|c>>>0>1073741822)){b=db(q[a+12>>2],c<<2);if(b){break c}}q[a+4>>2]=-1;return 0}q[a+4>>2]=c;q[a+12>>2]=b}b=ab(1,384);if(!b){break a}d:{e:{d=q[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(c>>>0>>0){d=c;while(1){d=((d>>>1|0)+d|0)+8|0;if(d>>>0<=e>>>0){continue}break}if(d>>>0>>0|d>>>0>1073741822){break e}c=db(q[a+12>>2],d<<2);if(!c){break e}q[a+4>>2]=d;q[a+12>>2]=c;d=q[a+8>>2]}if(e>>>0>d>>>0){Na(q[a+12>>2]+(d<<2)|0,0,e-d<<2)}q[a+8>>2]=e;c=(q[a+12>>2]+(e<<2)|0)+ -4|0;break d}q[a+4>>2]=-1;q[160744]=q[67828];c=642976}q[c>>2]=b;q[b+360>>2]=0;q[b+336>>2]=b+360;q[b+312>>2]=b+336;q[b+288>>2]=b+312;q[b+264>>2]=b+288;q[b+240>>2]=b+264;q[b+216>>2]=b+240;q[b+192>>2]=b+216;q[b+168>>2]=b+192;q[b+144>>2]=b+168;q[b+120>>2]=b+144;q[b+96>>2]=b+120;q[b+72>>2]=b+96;q[b+48>>2]=b+72;q[b+24>>2]=b+48;q[b>>2]=b+24;q[a>>2]=b}q[a>>2]=q[b>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;d=b}return d}function mu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=q[67828];i=q[b+4>>2];while(1){if(f>>>0>=i>>>0){return 1}g=q[c>>2];d=q[a>>2];a:{if(g>>>0>d>>>0|g+q[c+4>>2]>>>0<=d>>>0){break a}e=d+1|0;q[a>>2]=e;d=r[d|0];j=d&63;b:{if(d&128){g=q[b+8>>2];e=0;while(1){c:{if(t[b+4>>2]<=f>>>0){q[160744]=k;d=642976;break c}d=g+(f<<2)|0}q[d>>2]=0;d=e+1|0;f=f+1|0;if(f>>>0>=i>>>0){break b}h=e>>>0>>0;e=d;if(h){continue}break}break b}d:{if(d&64){g=0;while(1){d=q[c>>2];if(d>>>0>e>>>0){break d}d=d+q[c+4>>2]|0;if(e>>>0>d>>>0|d-e>>>0<2){break d}d=r[e|0]|r[e+1|0]<<8;h=(d<<24|d<<8&16711680)>>16;e:{if(t[b+4>>2]<=f>>>0){q[160744]=k;e=q[a>>2];d=642976;break e}d=q[b+8>>2]+(f<<2)|0}q[d>>2]=h;e=e+2|0;q[a>>2]=e;d=g+1|0;f=f+1|0;if(f>>>0>=i>>>0){break b}h=g>>>0>>0;g=d;if(h){continue}break}break b}g=0;d=q[c>>2];if(d>>>0>e>>>0){break d}while(1){if(q[c+4>>2]+d>>>0<=e>>>0){break d}q[a>>2]=e+1;e=o[e|0];f:{if(t[b+4>>2]<=f>>>0){q[160744]=k;d=642976;break f}d=q[b+8>>2]+(f<<2)|0}q[d>>2]=e;d=g+1|0;f=f+1|0;if(f>>>0>=i>>>0|g>>>0>=j>>>0){break b}g=d;d=q[c>>2];e=q[a>>2];if(d>>>0<=e>>>0){continue}break}}break a}if(d>>>0>j>>>0){continue}}break}return 0}function aT(){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;c=Da-32|0;Da=c;f=Kb(270488);a:{if(!f|!r[f|0]){break a}d=ab(1,40);if(!d){break a}a=q[67621];q[d+32>>2]=q[67620];q[d+36>>2]=a;a=q[67619];q[d+24>>2]=q[67618];q[d+28>>2]=a;a=q[67617];q[d+16>>2]=q[67616];q[d+20>>2]=a;a=q[67615];q[d+8>>2]=q[67614];q[d+12>>2]=a;a=q[67613];q[d>>2]=q[67612];q[d+4>>2]=a;g=d+20|0;while(1){h=Pb(f,44);if(!h){h=Wa(f)+f|0}b:{if(e>>>0>1){break b}a=e;b=w(a,20)+d|0;i=h-f|0;c:{if((Wa(b)|0)!=(i|0)){break c}a=e;if(Ra(b,f,i)){break c}j=q[b+16>>2];q[c+24>>2]=j;k=q[b+12>>2];l=q[b+8>>2];q[c+16>>2]=l;q[c+20>>2]=k;m=q[b+4>>2];a=q[b>>2];q[c+8>>2]=a;q[c+12>>2]=m;q[b+16>>2]=j;q[b+8>>2]=l;q[b+12>>2]=k;q[b>>2]=a;q[b+4>>2]=m;a=e+1|0}d:{if(e){break d}if((Wa(g)|0)!=(i|0)){break d}if(Ra(g,f,i)){break d}q[c+24>>2]=q[g+16>>2];e=q[g+12>>2];q[c+16>>2]=q[g+8>>2];q[c+20>>2]=e;e=q[g+4>>2];q[c+8>>2]=q[g>>2];q[c+12>>2]=e;b=w(a,20)+d|0;sb(b+20|0,b,w(1-a|0,20));q[b+16>>2]=q[c+24>>2];e=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=e;e=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=e;e=a+1|0;break b}e=a}f=h+1|0;if(r[h|0]){continue}break}h=d}Da=c+32|0;return h}function dU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-96|0;Da=d;g=q[c+16>>2];i=q[c+12>>2];f=q[c+4>>2];e=q[c+20>>2];q[d+88>>2]=q[c+16>>2];q[d+92>>2]=e;e=q[c+12>>2];q[d+80>>2]=q[c+8>>2];q[d+84>>2]=e;e=q[c+4>>2];q[d+72>>2]=q[c>>2];q[d+76>>2]=e;c=0;a:{if(!Nb(b,a,6)){break a}j=a+4|0;if(!Nb(b,j,2)){break a}f=f>>>0>g>>>0?g:f;e=(f<<24|f<<8&16711680)>>>16|0;o[a+4|0]=e;o[a+5|0]=e>>>8;h=(f&65280)>>>8|0;e=f;b:{if(f>>>0<65536){break b}e=f;if(!r[b+20|0]){break b}o[b+20|0]=0;h=r[a+4|0];e=r[a+5|0]}if(!Nb(b,j,(h<<9|(e&255)<<1)+2|0)){break a}if(f){while(1){e=(c<<1)+a|0;h=g?i:271312;h=r[h|0]|r[h+1|0]<<8;o[e+6|0]=h;o[e+7|0]=h>>>8;e=(g|0)!=0;g=g-e|0;i=(e<<1)+i|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}f=q[b+4>>2];c=f-a|0;e=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=e;o[a+3|0]=e>>>8;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0}q[d+32>>2]=255048;a=q[d+92>>2];e=q[d+88>>2];q[d+56>>2]=e;q[d+60>>2]=a;c=q[d+84>>2];g=q[d+80>>2];q[d+48>>2]=g;q[d+52>>2]=c;q[d+16>>2]=g;q[d+20>>2]=c;q[d+24>>2]=e;q[d+28>>2]=a;a=q[d+76>>2];c=q[d+72>>2];q[d+40>>2]=c;q[d+44>>2]=a;q[d+64>>2]=255048;q[d+8>>2]=c;q[d+12>>2]=a;c=Jt(f,b,d+8|0)}Da=d+96|0;return c}function EO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619);d=q[a+20>>2];if(d){a=q[a+24>>2];b=0;while(1){e=c;c=w(b,24)+a|0;c=w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(e^r[c|0],16777619)^r[c+1|0],16777619)^r[c+2|0],16777619)^r[c+3|0],16777619)^r[c+4|0],16777619)^r[c+5|0],16777619)^r[c+6|0],16777619)^r[c+7|0],16777619)^r[c+8|0],16777619)^r[c+9|0],16777619)^r[c+10|0],16777619)^r[c+11|0],16777619)^r[c+12|0],16777619)^r[c+13|0],16777619)^r[c+14|0],16777619)^r[c+15|0],16777619)^r[c+16|0],16777619)^r[c+17|0],16777619)^r[c+18|0],16777619)^r[c+19|0],16777619)^r[c+20|0],16777619)^r[c+21|0],16777619)^r[c+22|0],16777619)^r[c+23|0],16777619);b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c|0}function Qa(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){ba(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if(c>>>0>=e>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(c>>>0>f>>>0){break c}while(1){q[c>>2]=q[b>>2];q[c+4>>2]=q[b+4>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=q[b+20>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=q[b+28>>2];q[c+32>>2]=q[b+32>>2];q[c+36>>2]=q[b+36>>2];q[c+40>>2]=q[b+40>>2];q[c+44>>2]=q[b+44>>2];q[c+48>>2]=q[b+48>>2];q[c+52>>2]=q[b+52>>2];q[c+56>>2]=q[b+56>>2];q[c+60>>2]=q[b+60>>2];b=b- -64|0;c=c- -64|0;if(c>>>0<=f>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){q[c>>2]=q[b>>2];b=b+4|0;c=c+4|0;if(c>>>0>>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){o[c|0]=r[b|0];o[c+1|0]=r[b+1|0];o[c+2|0]=r[b+2|0];o[c+3|0]=r[b+3|0];b=b+4|0;c=c+4|0;if(c>>>0<=d>>>0){continue}break}}if(c>>>0>>0){while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function RX(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;a:{f=ab(1,52);if(f){o[f+12|0]=1;q[f>>2]=-1;h=q[a+44>>2];l=h+ -1|0;k=q[a+48>>2];j=f;b:{c:{d:{if((h|0)<1){break d}b=l;while(1){e:{e=b+c>>>1|0;d=q[w(e,36)+k>>2];f:{if(d>>>0>=1886545255){b=e+ -1|0;break f}if((d|0)==1886545254){break e}c=e+1|0}if((c|0)<=(b|0)){continue}break d}break}c=q[(w(e,36)+k|0)+12>>2];if((c|0)!=-1){break c}}q[f+4>>2]=0;a=0;break b}e=q[a+80>>2];if(e>>>0>>0){break a}if(c){d=c+ -1|0;b=271312;g:{if(e>>>0<=d>>>0){break g}b=q[a+84>>2]+(d<<3)|0}b=q[b>>2]}else{b=0}if(e>>>0>c>>>0){i=q[a+84>>2]+(c<<3)|0}else{i=a+56|0}d=i;i=f;d=q[d>>2];g=0;h:{if((d|0)==(b|0)){break h}g=271312;if(t[a+56>>2]<=b>>>0){break h}g=q[a+60>>2]+(b<<3)|0}q[i+4>>2]=g;a=d-b|0}q[j+8>>2]=a;d=f+16|0;a=0;i=(h|0)<1;while(1){m=0;i:{if(i|a>>>0>4){break i}e=q[(a<<3)+240352>>2];c=0;b=l;while(1){j:{h=b+c>>>1|0;g=w(h,36)+k|0;j=q[g>>2];k:{if(j>>>0>e>>>0){b=h+ -1|0;break k}if(j>>>0>=e>>>0){break j}c=h+1|0}if((c|0)<=(b|0)){continue}break i}break}m=q[g+28>>2]}q[(a<<2)+d>>2]=m;a=a+1|0;if((a|0)!=9){continue}break}}return f|0}I(241856,241892,148,241907);F()}function KX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;d=1;if((f|0)<1){d=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}if(g>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=f+ -2;if((f|0)<2){d=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}b:{c:{c=c+h|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<=7){break c}q[b+12>>2]=f+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(f|0)<3){break c}if(!Dm(c+2|0,b,c)){break c}q[i+12>>2]=c;g=q[b+4>>2];d=c+6|0;if(g>>>0>d>>>0){break c}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break c}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break c}h=r[d+1|0]|r[d|0]<<8;if(!h){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break c}q[b+12>>2]=f+ -2;if((f|0)<2){break c}f=r[d+1|0]|r[d|0]<<8;if(!f){break b}e=0;while(1){if(!Cm((d+(e<<2)|0)+2|0,b,c)){break c}e=e+1|0;if((f|0)!=(e|0)){continue}break}break b}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0}d=1}Da=i+16|0;return d}function d_(a,b){var c=0,d=0;c=271312;a:{b:{while(1){c:{if((b|0)!=7){b=b+ -1|0;if(b>>>0>7){break b}d:{switch(b-1|0){default:b=r[a|0]|r[a+1|0]<<8;if(((b<<24|b<<8&16711680)>>>16|0)+ -1>>>0>1){break b}break a;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 3:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=r[a+7|0]|r[a+6|0]<<8;return a?b+a|0:271312;case 5:break b;case 6:break c;case 4:break d}}b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;a=r[a+3|0]|r[a+2|0]<<8?a+4|0:271312;a=r[a|0]<<8|r[a+1|0];return a?b+a|0:271312}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=a;a=r[a+3|0]|r[a+2|0]<<8;c=a?b+a|0:271312}return c}b=a;a=r[a+3|0]|r[a+2|0]<<8;return a?b+a|0:271312}function Dh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;f=q[a+28>>2];q[h+12>>2]=0;q[c>>2]=0;e=q[a+32>>2];if(e>>>0>2]){q[a+32>>2]=e+1;d=o[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=q[a+32>>2];if(e>>>0>2]){q[a+32>>2]=e+1;d=o[e|0]}else{d=0}g=g|d<<24>>24&255}d=0;if(g>>>0>b>>>0){break a}e=Oa(f,2,0,g+1|0,0,h+12|0);d=0;if(q[h+12>>2]){break a}q[c>>2]=g;if(g){c=0;b=0;while(1){d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;d=o[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=ob(a)+c|0;p[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=ob(a)+c|0;p[e+(b<<1)>>1]=c;b=b+1|0;if(b>>>0>=g>>>0){break b}d=d+1|0;if(d>>>0>>0){continue}break}break b}i=e+(b<<1)|0;d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;d=o[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;p[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=q[a+32>>2];if(f>>>0>2]){q[a+32>>2]=f+1;f=o[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;p[i>>1]=c;b=b+1|0;if(b>>>0>=g>>>0){break b}d=d+1|0;if(d>>>0>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Da=h+16|0;return d}function qk(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Da-16|0;Da=g;a:{b:{if(a){break b}a=ee();if(a){break b}break a}Bk();c:{if(!Wp(a,0)){e=de(a);c=ee();if(!c){break c}Op(c,e);if(Vp(c)){b=c;break c}cc(c);break c}ai(a,502596,0,0);b=q[a+12>>2];if(!b){b=a;break a}if(q[b+4>>2]){b=a;break a}c=Kb(502645);b=Kb(502661);d:{if(c){e=1;if(r[c|0]){break d}}if(b){e=1;if(r[b|0]){break d}}b=q[126999];Lc(502677,71,1,b);q[g>>2]=502801;Mc(b,502749,g);e=0}b=0;e:{f:{c=Pp();g:{if(!c){break g}b=c;f=Wa(c);c=db(c,f+12|0);if(!c){break g}d=c+f|0;b=r[502847]|r[502848]<<8|(r[502849]<<16|r[502850]<<24);f=r[502843]|r[502844]<<8|(r[502845]<<16|r[502846]<<24);o[d|0]=f;o[d+1|0]=f>>>8;o[d+2|0]=f>>>16;o[d+3|0]=f>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;b=r[502850]|r[502851]<<8|(r[502852]<<16|r[502853]<<24);o[d+7|0]=b;o[d+8|0]=b>>>8;o[d+9|0]=b>>>16;o[d+10|0]=b>>>24;o[d+11|0]=0;if(!e){Lc(502855,72,1,q[126999])}if(mk(a,502801)){if(mk(a,c)){break f}}b=c}e=de(a);Lc(502928,31,1,q[126999]);if(b){La(b)}c=ee();if(!c){b=0;break c}Op(c,e);b=0;if(!Vp(c)){break e}b=c;break c}La(c);b=a;break a}cc(c)}cc(a)}Da=g+16|0;return b}function Zk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Da-96|0;Da=d;tc(q[a+12>>2],q[a>>2]);b=q[a+12>>2];c=Wa(b)+b|0;b=r[441560]|r[441561]<<8|(r[441562]<<16|r[441563]<<24);e=r[441556]|r[441557]<<8|(r[441558]<<16|r[441559]<<24);o[c|0]=e;o[c+1|0]=e>>>8;o[c+2|0]=e>>>16;o[c+3|0]=e>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24;b=r[441564]|r[441565]<<8|(r[441566]<<16|r[441567]<<24);o[c+8|0]=b;o[c+9|0]=b>>>8;o[c+10|0]=b>>>16;o[c+11|0]=b>>>24;b=DH(q[a+12>>2]);a:{if((b|0)<0){break a}c=bk(b,441568);if(!c){bd(b);ve(q[a+12>>2]);break a}g=d,h=R()|0,q[g>>2]=h;b=Mc(c,441570,d);c=Pe(c);if((b|0)<=0){ve(q[a+12>>2]);break a}b=q[a+12>>2];if((c|0)==-1){ve(b);break a}b=sa(b|0,q[a+8>>2])|0;if(b>>>0>=4294963201){q[160942]=0-b;b=-1}b:{if((b|0)>=0){ve(q[a+12>>2]);break b}c:{if(!(q[160942]==63|q[160942]==138|q[160942]==2)){ve(q[a+12>>2]);b=0;break c}b=ik(q[a+8>>2],384);ve(q[a+12>>2]);if((b|0)>-1){break b}b=1}if((jg(q[a+8>>2],d+8|0)|0)<0){break a}if(((U(0)|0)-q[d+72>>2]|0)<601){break a}c=q[a+8>>2];d:{if(b){if(!Hp(c)){break d}break a}if(ve(c)){break a}}f=Zk(a);break a}ve(q[a+4>>2]);f=1}Da=d+96|0;return f}function V_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{d=r[a+3|0]|r[a+2|0]<<8;if(!Vb(d?d+a|0:271312,q[b+8>>2])){break a}c=r[a+5|0];e=r[a+4|0];f=c|e<<8;if(f){d=0;while(1){c=(c&255|e<<8)>>>0>d>>>0?((d<<1)+a|0)+6|0:271312;c=r[c|0]<<8|r[c+1|0];if(!Vb(c?c+a|0:271312,q[b+4>>2])){break a}c=r[a+5|0];e=r[a+4|0];d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=(c<<1|e<<9)+a|0;e=d+6|0;c=r[e|0];f=r[d+7|0];g=f|c<<8;if(g){d=0;while(1){c=(c<<8|f)>>>0>d>>>0?(e+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];if(!Vb(c?c+a|0:271312,q[b+12>>2])){break a}f=r[e+1|0];c=r[e|0];d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e+(f<<1|c<<9)|0;a=d;e=r[a+2|0]<<8|r[a+3|0];if(!e){break a}f=q[b+16>>2];if(r[f+12|0]!=1){break a}q[f+16>>2]=-1;a=r[a+5|0]|r[a+4|0]<<8;c=ac(f,a);if(!c){break a}b=d+4|0;while(1){h=a&-512;i=a+512&-512;d=b;while(1){g=(a>>>3&56)+c|0;b=g;j=q[b+4>>2];k=b;l=q[b>>2];g=a&63;a=g&31;if(32<=(g&63)>>>0){g=1<>>32-a;a=1<>2]=l|a;q[b+4>>2]=g|j;e=e+ -1|0;if(!e){break a}b=d+2|0;a=r[d+3|0]|r[d+2|0]<<8;if(h>>>0<=a>>>0){d=b;if(a>>>0>>0){continue}}break}c=ac(f,a);if(c){continue}break}}}function Qr(a,b,c,d,e){var f=0,g=0;f=Da-32|0;g=d-e|0;q[f+28>>2]=g;q[f+20>>2]=g;q[f+24>>2]=0;q[f+16>>2]=b;q[f+8>>2]=b;q[f>>2]=0;b=d+e|0;q[f+12>>2]=b;q[f+4>>2]=b;b=q[a+4>>2]+(p[a+2>>1]<<3)|0;a:{if(c){c=q[f+28>>2];q[b>>2]=q[f+24>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+20>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+16>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+12>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+8>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+4>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f>>2];q[b+4>>2]=c;break a}c=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+12>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+8>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+20>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+16>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+28>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+24>>2];q[b+4>>2]=c}b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;b=p[a>>1];p[a>>1]=b+1;p[q[a+12>>2]+(b<<1)>>1]=s[a+2>>1]+ -1} -function FT(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=ab(1,140);if(d){e=267424;q[d>>2]=267424;h=d;a:{b:{c:{d:{e:{f:{g:{h:{c=q[a+4>>2];if((c|0)<=1298954604){if((c|0)<=1198877297){if((c|0)==1113943655){break h}b=267452;if((c|0)==1147500129){break b}break a}if((c|0)==1198877298){break f}if((c|0)==1198879349){break g}if((c|0)!=1265525857){break a}b=267648;break b}if((c|0)<=1399418471){if((c|0)==1298954605){break d}if((c|0)!=1332902241){break a}b=267564;break b}if((c|0)==1399418472){break c}if((c|0)==1415671148){break e}if((c|0)!=1415933045){break a}b=267620;break b}b=267480;break b}b=267508;break b}b=267536;break b}b=267592;break b}b=267676;break b}b=267704}q[h>>2]=b;e=b}f=r[e+4|0]?r[a+24|0]!=50:f;o[d+4|0]=f;b=q[160736];if(!b){kn();f=r[d+4|0];b=q[160736]}q[d+8>>2]=-1;o[d+5|0]=b>>>2&1;b=0;e=a+24|0;b=f&255?b:q[a+4>>2]!=1298954605;fh(d+12|0,e,1919969382,b);fh(d+24|0,e,1886545254,b);fh(d+36|0,e,1651275622,b);fh(d+48|0,e,1886614630,b);fh(d+60|0,e,1986098293,b);h=d+72|0;while(1){b=0;i:{if(!(2548>>>g&1)){break i}f=q[a+44>>2];if((f|0)<1){break i}e=q[(g<<3)+264240>>2];k=q[a+48>>2];b=f+ -1|0;f=0;j:{while(1){c=b+f>>>1|0;i=w(c,36)+k|0;j=q[i>>2];k:{if(j>>>0>e>>>0){b=c+ -1|0;break k}if(j>>>0>=e>>>0){break j}f=c+1|0}if((f|0)<=(b|0)){continue}break}b=0;break i}b=q[i+28>>2]}q[(g<<2)+h>>2]=b;g=g+1|0;if((g|0)!=17){continue}break}}return d|0}function DP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Da-16|0;Da=f;q[f+8>>2]=c;q[f+12>>2]=a;c=Na(c,0,652);e=r[b+8|0];o[c+188|0]=e;if(e){while(1){q[(c+(d<<2)|0)+192>>2]=p[((d<<1)+b|0)+12>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+9|0];o[c+189|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+248>>2]=p[((d<<1)+b|0)+40>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+10|0];o[c+190|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+288>>2]=p[((d<<1)+b|0)+60>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+11|0];o[c+191|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+344>>2]=p[((d<<1)+b|0)+88>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}q[c+384>>2]=q[b+108>>2];q[c+388>>2]=q[b+112>>2];q[c+392>>2]=q[b+116>>2];q[c+396>>2]=s[b+120>>1];q[c+400>>2]=s[b+122>>1];e=r[b+124|0];o[c+404|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+408>>2]=p[((d<<1)+b|0)+128>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=r[b+125|0];o[c+405|0]=e;if(e){d=0;while(1){q[(c+(d<<2)|0)+460>>2]=p[((d<<1)+b|0)+154>>1];d=d+1|0;if((e|0)!=(d|0)){continue}break}}o[c+512|0]=r[b+126|0];q[c+520>>2]=q[b+4>>2];q[c+524>>2]=q[b+184>>2];b=q[b+180>>2];q[c+552>>2]=c;q[c+528>>2]=b;a:{b:{a=q[a+128>>2];b=q[a+60>>2];if((b|0)==-1){break b}q[c+648>>2]=b;if(!b){break b}while(1){b=b<<13^b;b=b>>>17^b;b=b<<5^b;if((b|0)<0){continue}break}q[a+60>>2]=b;break a}a=f+4^(f+8^f+12);a=a>>>10^a^a>>>20;q[c+648>>2]=a?a:29572}Da=f+16|0}function iL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-96|0;Da=g;a:{if(!(jg(c,g+8|0)|(q[g+20>>2]&61440)!=16384)){a=de(d);b:{if(!a){break b}d=a;a=Wa(a);if(Ra(c,d,a)){break b}if(r[a+c|0]!=47){a=a+ -1|0}else{d=a+1|0;a=r[c+d|0]==47?d:a}c=a+c|0}Ad(b,c);break a}if(!a){break a}b=q[a>>2];i=de(d);if(r[643740]&128){q[g>>2]=c;Ua(490101,g);ak(q[126998])}if(!JL(c,a)){break a}if(r[643740]&128){Rb(490142)}h=1;c=q[a>>2];if((b|0)>=(c|0)){break a}c:{if(i){if(d){break c}while(1){c=q[q[a+8>>2]+(b<<2)>>2];e=Wa(i);q[g+8>>2]=0;d:{if(Bd(c,21,0,g+8|0)){break d}d=q[g+8>>2];if(Ra(d,i,e)){break d}f=eb(d);eg(c,21);d=c;if(r[e+f|0]!=47){j=e+ -1|0}else{h=e+1|0;j=r[f+h|0]==47?h:e}wc(d,21,j+f|0);La(f)}if(o[643741]&1){Rb(490122);cd(c)}b=b+1|0;if((b|0)>2]){continue}break}break a}if(!d){while(1){if(o[643741]&1){c=q[q[a+8>>2]+(b<<2)>>2];Rb(490122);cd(c);c=q[a>>2]}b=b+1|0;if((b|0)<(c|0)){continue}break a}}while(1){c=q[q[a+8>>2]+(b<<2)>>2];e=Zh(d,c,2);if(o[643741]&1){Rb(490122);cd(c)}h=e?h:0;b=b+1|0;if((b|0)>2]){continue}break}break a}while(1){c=q[q[a+8>>2]+(b<<2)>>2];f=Wa(i);q[g+8>>2]=0;e:{if(Bd(c,21,0,g+8|0)){break e}e=q[g+8>>2];if(Ra(e,i,f)){break e}e=eb(e);eg(c,21);j=c;if(r[e+f|0]!=47){f=f+ -1|0}else{k=f+1|0;f=r[e+k|0]==47?k:f}wc(j,21,f+e|0);La(e)}e=Zh(d,c,2);if(o[643741]&1){Rb(490122);cd(c)}h=e?h:0;b=b+1|0;if((b|0)>2]){continue}break}}Da=g+96|0}function hz(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=q[a+100>>2];d=q[a+540>>2];a:{if(!d){break a}b=q[d+80>>2];if(b){n[b](a)}b=q[d+100>>2];if(b){n[b](a)}b=q[d+120>>2];if(!b){break a}n[b](a);n[q[d+124>>2]](a)}if(r[a+848|0]){if(q[a+828>>2]){zb(q[a+104>>2],a+828|0)}q[a+840>>2]=0;q[a+832>>2]=0;q[a+836>>2]=0}zb(q[a+104>>2],a+808|0);q[a+820>>2]=0;q[a+824>>2]=0;q[a+812>>2]=0;q[a+816>>2]=0;b=c;e=q[a+144>>2];if(e){n[q[b+8>>2]](b,e)}q[a+140>>2]=0;q[a+144>>2]=0;b=q[a+156>>2];if(b){n[q[c+8>>2]](c,b)}p[a+152>>1]=0;q[a+156>>2]=0;zb(q[a+104>>2],a+508|0);q[a+752>>2]=0;q[a+756>>2]=0;q[a+512>>2]=0;if(r[a+292|0]){b=c;e=q[a+332>>2];if(e){n[q[b+8>>2]](b,e)}q[a+332>>2]=0;b=q[a+336>>2];if(b){n[q[c+8>>2]](c,b)}o[a+292|0]=0;q[a+336>>2]=0}b=q[a+564>>2];if(b){n[q[c+8>>2]](c,b)}p[a+562>>1]=0;q[a+564>>2]=0;if(d){n[q[d+52>>2]](a)}b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+804>>2];if(b){n[q[c+8>>2]](c,b)}q[a+28>>2]=0;q[a+804>>2]=0;b=q[a+720>>2];if(b){n[q[c+8>>2]](c,b)}q[a+720>>2]=0;b=q[a+744>>2];if(b){n[q[c+8>>2]](c,b)}q[a+744>>2]=0;b=q[a+652>>2];if(b){n[q[c+8>>2]](c,b)}q[a+652>>2]=0;b=q[a+656>>2];if(b){n[q[c+8>>2]](c,b)}q[a+656>>2]=0;b=q[a+664>>2];if(b){n[q[c+8>>2]](c,b)}q[a+664>>2]=0;b=q[a+672>>2];if(b){n[q[c+8>>2]](c,b)}q[a+540>>2]=0;q[a+672>>2]=0}}function m$(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=k$(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=W$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=W$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function g$(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=d$(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=W$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=W$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Iw(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=Dw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=W$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=W$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Gw(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=zw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=W$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=W$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function Ew(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,p=0,s=0,t=0;l=Da-160|0;Da=l;f=Hd(l+8|0,1,b,c);q[f+116>>2]=d;q[f+128>>2]=8;q[f+32>>2]=0;q[f+8>>2]=8;q[f+76>>2]=0;q[f+48>>2]=f;q[f+68>>2]=0;q[f+72>>2]=0;q[f+60>>2]=-1;o[f+57|0]=1;q[f+52>>2]=8;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=d;o[f+13|0]=r[f+142|0];e=q[f+120>>2]==1;o[f+12|0]=e;o[f+56|0]=e|r[f+141|0]!=0;q[f+4>>2]=f;n=q[c+76>>2];if(n){k=q[c+96>>2];p=q[c+88>>2];t=(q[c+48>>2]&-2)!=4;while(1){a:{b:{h=w(j,20);i=h+p|0;if(!(q[i+4>>2]&d)){break b}q[f+36>>2]=1;q[f>>2]=j;g=q[q[f+4>>2]+96>>2];q[f+40>>2]=q[g+76>>2];o[f+20|0]=q[g+72>>2]==(j|0)?r[(h+q[g+88>>2]|0)+15|0]:0;if(!id(f)){break b}e=q[a>>2];s=q[f>>2];g=w(s,20);e=xw(q[e>>2],q[i>>2],q[g+p>>2],q[e+4>>2]);c:{if(!e){break c}d:{if(!t){i=e<<16;e=i>>31;e=W$(q[b+32>>2],q[b+36>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h>>2];h=e>>1;q[i>>2]=m+h;g=g+k|0;e=e-h|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break d}i=e<<16;e=i>>31;e=W$(q[b+40>>2],q[b+44>>2],i>>16,e);e=(Ea&65535)<<16|e>>>16;if(r[a+4|0]){q[(g+k|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break d}h=h+k|0;i=h;m=q[h+4>>2];h=e>>1;q[i+4>>2]=m+h;g=g+k|0;e=e-h|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-j>>>0<2){break c}rb(c,j,e)}j=q[f>>2];break a}j=j+1|0}if(j>>>0>>0){continue}break}}Da=l+160|0}function WF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a){return}b=q[a+204>>2];q[a+204>>2]=b+ -1;if((b|0)<=1){k=q[a>>2];b=q[a+16>>2];if(b){while(1){i=q[((h<<2)+a|0)+20>>2];b=q[i>>2];a:{if(Ta(q[b+8>>2],4105)|!(o[b|0]&1)){break a}c=q[i+16>>2];if(!c){break a}while(1){f=q[c+8>>2];b:{if(!f){break b}d=q[f+96>>2];if(!d){break b}e=q[f+128>>2];b=q[e+64>>2];q[e+64>>2]=b+ -1;if((b|0)>1){break b}b=q[d+16>>2];if(!b){break b}g=d+16|0;e=q[d+8>>2];while(1){if((f|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break b}break}c=q[b>>2];j=c?c+4|0:g;g=q[b+4>>2];q[j>>2]=g;q[(g?g:d+20|0)>>2]=c;n[q[e+8>>2]](e,b);vf(e,f,d);c=q[i+16>>2]}if(c){continue}break}}h=h+1|0;b=q[a+16>>2];if(h>>>0>>0){continue}break}c=!b}else{c=1}if(!c){h=0;while(1){i=q[((h<<2)+a|0)+20>>2];c:{if(!(o[q[i>>2]]&1)){break c}c=q[i+16>>2];if(!c){break c}while(1){f=q[c+8>>2];d:{if(!f){break d}d=q[f+96>>2];if(!d){break d}e=q[f+128>>2];b=q[e+64>>2];q[e+64>>2]=b+ -1;if((b|0)>1){break d}b=q[d+16>>2];if(!b){break d}g=d+16|0;e=q[d+8>>2];while(1){if((f|0)!=q[b+8>>2]){b=q[b+4>>2];if(b){continue}break d}break}c=q[b>>2];j=c?c+4|0:g;g=q[b+4>>2];q[j>>2]=g;q[(g?g:d+20|0)>>2]=c;n[q[e+8>>2]](e,b);vf(e,f,d);c=q[i+16>>2]}if(c){continue}break}}h=h+1|0;b=q[a+16>>2];if(h>>>0>>0){continue}break}}if(b){while(1){Uo(a,q[((b<<2)+a|0)+16>>2]);b=q[a+16>>2];if(b){continue}break}}n[q[k+8>>2]](k,a)}}function Ky(a,b,c){a=a|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=q[a+804>>2];a:{b:{if(e){d=6;if(t[a+28>>2]<=b>>>0){break a}b=q[e+(b<<2)>>2];break b}d=6;if(t[a+800>>2]<=b>>>0){break a}}d=2;e=q[a+796>>2]+ -1|0;if(e>>>0>2){break a}c:{if(e-2){f=q[a+788>>2]+w(b,48)|0;e=r[f+52|0];p[c>>1]=e;h=r[f+53|0];p[c+2>>1]=h;b=o[f+24|0];d=b<<6;q[c+12>>2]=d;i=o[f+25|0];g=i<<6;q[c+16>>2]=g;j=o[f+33|0];d:{if((i|0)>=1){if((j|0)>-1){break d}g=0-g|0;q[c+16>>2]=g;break d}if(b|i){break d}b=c;d=o[f+32|0];e:{if(d|j){g=j<<6;q[c+16>>2]=g;d=d<<6;break e}g=0;q[c+16>>2]=0;d=h<<6}q[b+12>>2]=d}b=d-g|0;q[c+20>>2]=b;if(!b){b=h<<6;q[c+20>>2]=b;q[c+16>>2]=d-b}q[c+24>>2]=o[f+31|0]+(r[f+26|0]+o[f+30|0]|0)<<6;k=c,l=bb(e,4194304,s[a+178>>1]),q[k+4>>2]=l;break c}d=3;b=q[a+788>>2]+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+4>>>0>t[a+864>>2]){break a}e=q[a+104>>2];d=Xa(e,b+q[a+860>>2]|0);if(d){break a}d=mb(e,4);if(d){break a}b=ob(e);ob(e);jb(e);d=s[a+178>>1];p[c+2>>1]=b;p[c>>1]=b;b=b<<6;k=c,l=bb(p[a+220>>1],b,d),q[k+12>>2]=l;k=c,l=bb(p[a+222>>1],b,d),q[k+16>>2]=l;k=c,l=bb(p[a+224>>1]+(p[a+220>>1]-p[a+222>>1]|0)|0,b,d),q[k+20>>2]=l;k=c,l=bb(s[a+226>>1],b,d),q[k+24>>2]=l;k=c,l=bb(s[c>>1],4194304,s[a+178>>1]),q[k+4>>2]=l}k=c,l=bb(s[c+2>>1],4194304,s[a+178>>1]),q[k+8>>2]=l;d=0}return d|0}function Au(a,b,c){var d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=q[a+24>>2];b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);k=+g();break b}k=v[q[a+36>>2]+(d<<3)>>3];break b}o[a+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);k=+g()}c:{if(y(k)<2147483648){h=~~k;break c}h=-2147483648}i=h+q[b>>2]|0;d:{if((i|0)<0){break d}d=q[b+4>>2];if(!d|i>>>0>=(r[d+1|0]|r[d|0]<<8)>>>0){break d}e=q[a+92>>2];if(e>>>0<10){break a}}o[a+40|0]=1;return}d=q[a+4>>2];q[a+44>>2]=q[a>>2];q[a+48>>2]=d;o[a+60|0]=r[a+16|0];d=q[a+12>>2];q[a+52>>2]=q[a+8>>2];q[a+56>>2]=d;d=a+44|0;e:{if(e>>>0>2]){q[a+92>>2]=e+1;h=q[a+104>>2]+w(e,28)|0;e=q[d+4>>2];q[h>>2]=q[d>>2];q[h+4>>2]=e;q[h+24>>2]=q[d+24>>2];j=q[d+20>>2];q[h+16>>2]=q[d+16>>2];q[h+20>>2]=j;j=q[d+12>>2];q[h+8>>2]=q[d+8>>2];q[h+12>>2]=j;break e}o[a+88|0]=1}f:{g:{h=q[b+4>>2];if(h){b=r[h+1|0]|r[h|0]<<8;if(b>>>0>i>>>0){break g}}m=q[67830];e=q[67828];b=q[67829];break f}e=r[h+2|0];j=(w(e,b+1|0)+h|0)+3|0;if(e){b=(w(e,i)+h|0)+3|0;while(1){l=r[b|0]|l<<8;b=b+1|0;e=e+ -1|0;if(e){continue}break}}e=(j+l|0)+ -1|0;b=rg(h,i)}q[a+44>>2]=e;q[a+68>>2]=i;q[a- -64>>2]=c;o[a+60|0]=0;q[a+56>>2]=0;q[a+52>>2]=m;q[a+48>>2]=b;b=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=b;b=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=b;o[a+16|0]=r[d+16|0]}function lX(a,b,c){var d=0,e=0;a:{d=a+ -10|0;if(d>>>0>19){break a}b:{switch(d-1|0){default:d=q[b+24>>2]+ -1|0;c:{if(t[b+32>>2]<=d>>>0){d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break c}d=q[b+36>>2]+(d<<5)|0}if(!q[d+20>>2]){break a}o[b+40|0]=1;return;case 5:kX(b);return;case 0: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:break a;case 4:break b}}c=q[b+32>>2];a=q[b+24>>2]+ -1|0;d:{if(c>>>0<=a>>>0){a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break d}a=q[b+36>>2]+(a<<5)|0}if(q[a+20>>2]){o[b+40|0]=1;return}a=q[b+24>>2];e:{f:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(c>>>0<=a>>>0){break f}a=q[b+36>>2]+(a<<5)|0;break e}o[b+20|0]=1}a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}e=v[a>>3];g:{if(y(e)<2147483648){a=~~e;break g}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}h:{if(!(r[b+178|0]?0:!r[b+177|0])){o[b+40|0]=1;break h}q[b+160>>2]=a}q[b+24>>2]=0;o[b+177|0]=1;return}jX(a,b,c)}function _b(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;a:{if(!a){break a}c=Sa(20);if(!c){break a}q[c+16>>2]=3;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=1;q[c+4>>2]=0;a=eb(a);b:{if(!a){break b}if(!xf(c,a)){La(a);break b}q[g+12>>2]=b;c:{while(1){a=q[g+12>>2];q[g+12>>2]=a+4;a=q[a>>2];if(!a){break c}a=eb(a);if(!a){break b}if(xf(c,a)){continue}break}La(a);break b}b=0;a=Sa(8);if(a){q[a>>2]=c;if(q[c>>2]!=-1){q[c>>2]=q[c>>2]+1}q[a+4>>2]=0;b=a}f=q[b+4>>2];a=q[b>>2];e=q[a+4>>2];if((f|0)<(e|0)){i=q[a+12>>2];while(1){d:{d=f+1|0;f=q[(f<<2)+i>>2];if(!f){break d}h=(Wa(f)+h|0)+1|0;f=d;if((d|0)<(e|0)){continue}}break}q[b+4>>2]=d}e=0;q[b+4>>2]=0;f=Sa(h+1|0);if(f){d=f;e:{if(q[a+4>>2]<1){break e}while(1){a=q[a+12>>2];q[b+4>>2]=e+1;e=q[a+(e<<2)>>2];if(!e){break e}a=f;if((a|0)!=(d|0)){o[d|0]=47;a=d+1|0}d=a;a=Wa(e);d=Qa(d,e,a)+a|0;e=q[b+4>>2];a=q[b>>2];if((e|0)>2]){continue}break}}o[d|0]=0;a=q[b>>2]}f:{if(q[a>>2]==-1){break f}d=q[a>>2];q[a>>2]=d+ -1;if((d|0)!=1){break f}e=q[a+12>>2];if(q[a+4>>2]>=1){d=0;while(1){La(q[(d<<2)+e>>2]);e=q[a+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}if(e){La(e)}La(a)}La(b)}if(q[c>>2]==-1){break a}a=q[c>>2];q[c>>2]=a+ -1;if((a|0)!=1){break a}b=q[c+12>>2];if(q[c+4>>2]>=1){a=0;while(1){La(q[(a<<2)+b>>2]);b=q[c+12>>2];a=a+1|0;if((a|0)>2]){continue}break}}if(b){La(b)}La(c)}Da=g+16|0;return f}function Ck(a){var b=0;a:{b=a&65535;b:{if(b>>>0>41){break b}c:{switch(b-1|0){default:Ua(489357,0);return;case 0:Ua(489365,0);return;case 1:Ua(489372,0);return;case 2:Ua(489379,0);return;case 3:Ua(489386,0);return;case 4:Ua(489392,0);return;case 5:Ua(489397,0);return;case 6:Ua(489405,0);return;case 8:Ua(489413,0);return;case 9:Ua(489419,0);return;case 10:Ua(489425,0);return;case 11:Ua(489432,0);return;case 13:Ua(489446,0);return;case 12:Ua(489454,0);return;case 14:Ua(489467,0);return;case 15:Ua(489474,0);return;case 16:Ua(489485,0);return;case 17:Ua(489492,0);return;case 18:Ua(489502,0);return;case 19:Ua(489508,0);return;case 20:Ua(489511,0);return;case 21:Ua(489515,0);if(!(a&65536)){break b}break a;case 22:Ua(489537,0);if(!(a&65536)){break b}break a;case 26:Ua(489546,0);return;case 27:Ua(489551,0);return;case 28:Ua(489561,0);return;case 29:Ua(489566,0);return;case 23:Ua(489576,0);return;case 25:Ua(489585,0);return;case 30:Ua(489597,0);return;case 31:Ua(489602,0);return;case 32:Ua(489608,0);return;case 33:Ua(489614,0);return;case 34:Ua(489621,0);return;case 7:Ua(489625,0);return;case 35:Ua(489629,0);return;case 36:Ua(489635,0);return;case 37:Ua(489641,0);return;case 38:Ua(489646,0);return;case 39:Ua(489652,0);return;case 24:Ua(489658,0);if(!(a&65536)){break b}break a;case 40:break c}}Ua(489666,0)}return}Ua(489521,0)}function fT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-144|0;Da=g;Na(a+24|0,0,88);e=hT(g,b,c);h=q[c+24>>2];i=q[c+20>>2];d=e+24|0;$a(d,1920365166,1,1);Db(d,0);b=q[e+4>>2]+ -4|0;a:{if(b>>>0>1){break a}if(b-1){$a(d,1819570785,1,1);$a(d,1819570797,1,1);break a}$a(d,1920232545,1,1);$a(d,1920232557,0,1)}$a(d,1718772067,0,1);$a(d,1853189490,0,1);$a(d,1684959085,0,1);$a(d,1918987876,33,255);$a(d,1953653099,3,1);$a(d,1212240454,1,1);b=q[q[e+140>>2]>>2];if(b){n[b](e)}$a(d,1112889946,1,1);$a(d,1633842797,1,1);$a(d,1651275629,1,1);$a(d,1667460464,1,1);$a(d,1819239276,1,1);$a(d,1835102827,13,1);$a(d,1835756907,13,1);$a(d,1919707495,1,1);b:{if((q[e+4>>2]&-2)==4){$a(d,1667329140,1,1);$a(d,1668049255,1,1);$a(d,1668641395,1,1);$a(d,1684632436,1,1);$a(d,1801810542,3,1);$a(d,1818847073,1,1);$a(d,1919118452,1,1);break b}$a(d,1986359924,17,1)}c:{if(!h){break c}b=0;while(1){f=(b<<4)+i|0;$a(d,q[f>>2],q[f+8>>2]?0:q[f+12>>2]==-1,q[f+4>>2]);b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!(o[e+136|0]&1)){break c}j=e+120|0;b=0;while(1){f=(b<<4)+i|0;tT(j,q[f>>2],q[f+4>>2]);b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=q[q[e+140>>2]+4>>2];if(b){n[b](e)}gT(e,a,c+28|0);d:{e:{b=q[q[a+20>>2]+8>>2];if(!b){break e}c=a;a=n[b](a)|0;q[c+112>>2]=a;if(a){break e}a=0;break d}a=1}La(q[e+132>>2]);q[e+132>>2]=0;q[e+124>>2]=0;q[e+128>>2]=0;bY(d);Da=g+144|0;return a}function hW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=d;f=jh(q[b+16>>2]- -64|0);g=q[f+4>>2];a:{b:{if(g>>>0>c>>>0){e=q[f+12>>2];e=(c|0)<0?271312:q[(e?e:271312)+12>>2]+(c<<2)|0;c=e+3|0;e=e+2|0;break b}e=0;if(t[f>>2]<=c>>>0){break a}e=c-g<<1;c=q[f+12>>2];e=e+((g|0)<0?271312:q[(c?c:271312)+12>>2]+(g<<2)|0)|0;c=e+1|0}e=(r[c|0]|r[e|0]<<8)<<16;c=e>>31;j=e>>16;e=c}f=q[b+32>>2];g=q[b+36>>2];c=W$(j,e,f,g);q[h>>2]=(Ea&65535)<<16|c>>>16;c=q[b+44>>2];j=c;k=q[b+40>>2];e=a+8|0;h=a+4|0;b=r[a+4|0]|r[a+5|0]<<8;c=(b<<24|b<<8&16711680)>>16;b=r[a+8|0]|r[a+9|0]<<8;b=(c|0)<(b<<24|b<<8&16711680)>>16?e:h;b=r[b|0]|r[b+1|0]<<8;c=b<<24|b<<8&16711680;b=c>>31;b=W$(k,j,c>>16,b);q[d+4>>2]=(Ea&65535)<<16|b>>>16;l=f;m=g;b=a+6|0;c=a+2|0;f=r[a+2|0]|r[a+3|0]<<8;f=(f<<24|f<<8&16711680)>>16;g=r[a+6|0]|r[a+7|0]<<8;g=(g<<24|g<<8&16711680)>>16;i=(f|0)<(g|0)?b:c;i=r[i|0]|r[i+1|0]<<8;b=(f|0)>(g|0)?b:c;b=r[b|0]|r[b+1|0]<<8;c=((i<<24|i<<8&16711680)>>>16)-((b<<24|b<<8&16711680)>>>16)<<16;b=c>>31;b=W$(l,m,c>>16,b);q[d+8>>2]=(Ea&65535)<<16|b>>>16;b=r[a+4|0]|r[a+5|0]<<8;b=(b<<24|b<<8&16711680)>>16;a=r[a+8|0]|r[a+9|0]<<8;a=(a<<24|a<<8&16711680)>>16;c=(b|0)>(a|0)?e:h;c=r[c|0]|r[c+1|0]<<8;a=(b|0)<(a|0)?e:h;a=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16)-((a<<24|a<<8&16711680)>>>16)<<16;b=c>>31;a=W$(k,j,c>>16,b);q[d+12>>2]=(Ea&65535)<<16|a>>>16;return 1}function ko(a,b,c){a=a|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=Da+ -64|0;Da=l;m=6;g=q[a+532>>2];a:{if(!g){break a}e=q[g+4>>2];p=e>>>0>>0?e:b;b:{if(!e){e=0;break b}while(1){b=w(i,12)+g|0;n=b;f=q[b+96>>2];j=q[b+92>>2];c:{if(i>>>0

>>0){b=r[n+88|0];h=q[(i<<2)+c>>2];break c}b=r[n+88|0];h=(q[(j+(b<<2)|0)+ -4>>2]-q[j>>2]|0)/2|0}d:{e:{f:{if(b&255){b=0;d=-1;g:{while(1){k=b<<2;o=q[k+j>>2];if((h|0)==(o|0)){break e}if((h|0)<(o|0)){break g}d=b;b=b+1|0;k=r[n+88|0];if(b>>>0>>0){continue}break}b=q[(f+(k<<2)|0)+ -4>>2];break d}if((d|0)>-1){break f}}b=q[f>>2];break d}b=d<<2;d=q[b+j>>2];b=bb(h-d|0,q[f+k>>2]-q[b+f>>2]|0,o-d|0);e=q[g+4>>2];break d}b=q[f+k>>2]}q[(i<<2)+l>>2]=b;i=i+1|0;if(i>>>0>>0){continue}break}g=q[a+532>>2];if(!g){break a}}m=-1;if(!q[g>>2]){break a}h=q[g+4>>2];j=h>>>0>>0?h:e;i=0;c=h;f=0;while(1){e=65536;b=0;d=0;h:{if(!c){break h}while(1){i:{if(b>>>0>=j>>>0){e=e>>1;break i}d=q[(b<<2)+l>>2];d=f>>>b&1?d:65536-d|0;if((d|0)<1){e=0;d=c;break h}if((d|0)>65535){break i}e=Ma(e,d);h=q[g+4>>2]}c=h;b=b+1|0;d=h;if(b>>>0>>0){continue}break}}b=q[g+136>>2]+(f<<2)|0;j:{if(q[b>>2]==(e|0)){c=d;f=f+1|0;if(f>>>0>2]){continue}if(!(i&255)){break a}break j}q[b>>2]=e;i=1;c=d;f=f+1|0;if(f>>>0>2]){continue}}break}b=a;a=q[a+8>>2];q[b+8>>2]=p?a|32768:a&-32769;m=0}Da=l- -64|0;return m|0}function EW(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;f=Da+ -64|0;Da=f;g=d;d=q[a+72>>2];l=g,m=(n[q[d+168>>2]](a,q[a+76>>2],c,q[d+32>>2])|0)/2|0,q[l>>2]=m;d=wW(b+60|0);g=t[d+16>>2]<8?271312:q[d+12>>2];d=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);a:{if(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)){b:{c:{j=r[g+7|0]|r[g+6|0]<<8;if(j){d=j+ -1|0;b=0;while(1){h=b+d>>>1|0;i=(h<<2)+g|0;i=r[i+8|0]<<8|r[i+9|0];d:{if(i>>>0>c>>>0){d=h+ -1|0;break d}if((c|0)==(i|0)){break c}b=h+1|0}if((b|0)<=(d|0)){continue}break}}d=g+5|0;b=g+4|0;break b}b=j>>>0>h>>>0?((h<<2)+g|0)+8|0:271312;d=b+3|0;b=b+2|0}c=q[a+40>>2];g=q[a+44>>2];b=(r[d|0]|r[b|0]<<8)<<16;a=b>>31;a=W$(c,g,b>>16,a);q[e>>2]=(Ea&65535)<<16|a>>>16;break a}q[f+56>>2]=0;q[f+60>>2]=0;q[f+48>>2]=0;q[f+52>>2]=0;if(wu(kh(b+48|0),a,c,f+48|0)){b=vW(sg(b+44|0),a,c);c=q[f+52>>2];d=q[a+40>>2];g=q[a+44>>2];b=b<<16;a=b>>31;a=W$(d,g,b>>16,a);q[e>>2]=c+((Ea&65535)<<16|a>>>16);break a}q[f+40>>2]=0;q[f+44>>2]=0;q[f+32>>2]=0;q[f+36>>2]=0;q[f+24>>2]=0;q[f+28>>2]=0;q[f+16>>2]=0;q[f+20>>2]=0;q[f+8>>2]=0;q[f+12>>2]=0;q[f>>2]=0;q[f+4>>2]=0;b=q[a+72>>2];e:{if(n[q[b+148>>2]](a,q[a+76>>2],f,q[b+12>>2])){d=q[f>>2];break e}b=q[a+24>>2];q[f+8>>2]=0;a=f;k=+(b|0)*.8;f:{if(y(k)<2147483648){d=~~k;break f}d=-2147483648}q[a>>2]=d;q[f+4>>2]=d-b}q[e>>2]=d}Da=f- -64|0;return 1}function fR(a,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=Da-16|0;Da=i;h=gb(a,2496,i+12|0);d=q[i+12>>2];if(!d){q[h>>2]=a;q[h+212>>2]=s[b+120>>1];g=r[b+124|0];if(g){a=h+224|0;d=b+128|0;f=g;while(1){q[a>>2]=p[d>>1];d=d+2|0;a=a+12|0;f=f+ -1|0;if(f){continue}break}}a=1;q[h+208>>2]=g+1;q[h+8>>2]=s[b+122>>1];g=r[b+125|0];if(g){d=h+20|0;f=b+154|0;e=g;while(1){q[d>>2]=p[f>>1];f=f+2|0;d=d+12|0;e=e+ -1|0;if(e){continue}break}}q[h+4>>2]=g+1;d=0;g=h+412|0;f=b+12|0;xs(g,r[b+8|0],f,r[b+9|0],b+40|0,q[b+116>>2],0);xs(g,r[b+10|0],b+60|0,r[b+11|0],b+88|0,q[b+116>>2],1);g=r[b+8|0];if(g){while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+9|0];if(g){d=0;f=b+40|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+10|0];if(g){d=0;f=b+60|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}g=r[b+11|0];if(g){d=0;f=b+88|0;while(1){e=d<<1;e=s[f+(e|2)>>1]-s[f+e>>1]|0;a=e<<16>>16>a<<16>>16?e:a;d=d+2|0;if(d>>>0>>0){continue}break}}a=Za(1e3,a<<16>>16);f=q[b+108>>2];q[h+2476>>2]=(f|0)<(a|0)?f:a;q[h+2480>>2]=q[b+112>>2];a=q[b+116>>2];q[h+404>>2]=0;q[h+408>>2]=0;q[h+200>>2]=0;q[h+204>>2]=0;q[h+2488>>2]=a;d=q[i+12>>2]}q[c>>2]=h;Da=i+16|0;return d|0}function oT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0;l=Da-160|0;Da=l;b=Hd(l+8|0,1,b,c);q[b+116>>2]=d;q[b+128>>2]=8;q[b+32>>2]=0;q[b+8>>2]=8;q[b+76>>2]=0;q[b+48>>2]=b;q[b+68>>2]=0;q[b+72>>2]=0;q[b+60>>2]=-1;o[b+57|0]=1;q[b+52>>2]=8;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=d;o[b+13|0]=r[b+142|0];e=q[b+120>>2]==1;o[b+12|0]=e;o[b+56|0]=e|r[b+141|0]!=0;q[b+4>>2]=b;m=q[c+76>>2];if(m){j=q[c+96>>2];p=q[c+88>>2];v=(q[c+48>>2]&-2)!=4;while(1){a:{b:{i=w(h,20);f=i+p|0;if(!(q[f+4>>2]&d)){break b}q[b+36>>2]=1;q[b>>2]=h;g=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[g+76>>2];o[b+20|0]=q[g+72>>2]==(h|0)?r[(i+q[g+88>>2]|0)+15|0]:0;if(!id(b)){break b}k=q[f>>2];s=q[b>>2];g=w(s,20);t=q[g+p>>2];u=q[a>>2];e=q[u>>2];f=q[e+72>>2];c:{if((q[u+4>>2]&-2)==4){e=n[q[f+192>>2]](e,q[e+76>>2],k,t,q[f+56>>2])|0;break c}e=n[q[f+196>>2]](e,q[e+76>>2],k,t,q[f+60>>2])|0}d:{if(!e){break d}e:{if(!v){if(r[a+4|0]){q[(g+j|0)+12>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break e}f=j+i|0;i=f;k=q[f>>2];f=e>>1;q[i>>2]=k+f;g=g+j|0;e=e-f|0;q[g>>2]=e+q[g>>2];q[g+8>>2]=e+q[g+8>>2];break e}if(r[a+4|0]){q[(g+j|0)+8>>2]=e;q[c+32>>2]=q[c+32>>2]|8;break e}f=j+i|0;i=f;k=q[f+4>>2];f=e>>1;q[i+4>>2]=k+f;g=g+j|0;e=e-f|0;q[g+4>>2]=e+q[g+4>>2];q[g+12>>2]=e+q[g+12>>2]}e=s+1|0;if(e-h>>>0<2){break d}rb(c,h,e)}h=q[b>>2];break a}h=h+1|0}if(h>>>0>>0){continue}break}}Da=l+160|0}function ah(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=w(d,1348)+a|0;f=q[g+44>>2];g=q[g+52>>2];c=b?q[(w(b,12)+c|0)+ -12>>2]:0;e=q[q[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(w(e,6e3)|0)/2048|0;if((f|0)>=1){h=w(f,44)+g|0;m=e+255>>>0<511?1:b;j=q[(w(d,1348)+a|0)+68>>2];d=g;while(1){a:{if((j|0)!=o[d+1|0]){break a}i=p[d+2>>1];b=g;a=b;if(!c){while(1){f=p[b+2>>1];b:{if((j|0)!=(0-o[b+1|0]|0)|(f|0)<=(i|0)){break b}e=p[b+8>>1];a=p[d+8>>1];k=(a|0)>(e|0)?e:a;e=p[b+6>>1];a=p[d+6>>1];a=k-((a|0)<(e|0)?e:a)|0;if((a|0)<(m|0)){break b}a=(f-i|0)+((l|0)/(a|0)|0)|0;if((a|0)>2]){q[d+20>>2]=b;q[d+28>>2]=a}if((a|0)>=q[b+28>>2]){break b}q[b+20>>2]=d;q[b+28>>2]=a}b=b+44|0;if(b>>>0>>0){continue}break a}}while(1){f=p[a+2>>1];c:{if((j|0)!=(0-o[a+1|0]|0)|(f|0)<=(i|0)){break c}e=p[a+8>>1];b=p[d+8>>1];k=(b|0)>(e|0)?e:b;e=p[a+6>>1];b=p[d+6>>1];e=k-((b|0)<(e|0)?e:b)|0;if((e|0)<(m|0)){break c}b=(f-i<<10)/(c|0)|0;f=32e3;d:{if((b|0)>11024){break d}f=0;if((b|0)<1025){break d}b=b+ -1024|0;f=(w(b,b)>>>0)/3e3|0}b=f+((l|0)/(e|0)|0)|0;if((b|0)>2]){q[d+20>>2]=a;q[d+28>>2]=b}if((b|0)>=q[a+28>>2]){break c}q[a+20>>2]=d;q[a+28>>2]=b}a=a+44|0;if(a>>>0>>0){continue}break}}d=d+44|0;if(d>>>0>>0){continue}break}while(1){a=q[g+20>>2];if(!(!a|q[a+20>>2]==(g|0))){q[g+20>>2]=0;q[g+24>>2]=q[a+20>>2]}g=g+44|0;if(g>>>0>>0){continue}break}}}function _v(a,b,c,d,e){var f=0,g=0;g=Da+ -64|0;Da=g;a:{if((b|0)!=1196445523){f=271312;if((b|0)!=1196643650){break a}f=q[Ac(a+136|0)>>2];f=f?f:271312;f=t[f+16>>2]<10?271312:q[f+12>>2];break a}f=q[Rc(a+140|0)>>2];f=f?f:271312;f=t[f+16>>2]<10?271312:q[f+12>>2]}q[g+40>>2]=0;q[g+44>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;q[g+56>>2]=0;q[g+32>>2]=0;q[g+36>>2]=0;o[g+28|0]=1;q[g+24>>2]=0;q[g+16>>2]=1;q[g+20>>2]=1;K$(a,b,c,d,g+16|0);q[g+12>>2]=-1;if(qe(g+16|0,g+12|0)){while(1){a=r[f+7|0]|r[f+6|0]<<8;a=a?a+f|0:271312;b=q[g+12>>2];b=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];Gm((b?a+b|0:271312)+2|0,e);if(qe(g+16|0,g+12|0)){continue}break}}a=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);b:{if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0<65537){break b}a=r[f+10|0]|r[f+11|0]<<8|(r[f+12|0]<<16|r[f+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=a?a+f|0:271312;a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!b){break b}f=(c+(b<<3)|0)+8|0;a=c+8|0;while(1){d=b?a:271312;d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);J$(d?d+c|0:271312,g+16|0,e);d=(b|0)!=0;b=b-d|0;a=(d<<3)+a|0;if((f|0)!=(a|0)){continue}break}}Hm(g+16|0);La(q[g+56>>2]);q[g+56>>2]=0;q[g+48>>2]=0;q[g+52>>2]=0;La(q[g+44>>2]);Da=g- -64|0}function yd(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){c=q[b+8>>2]+ -1|0;a:{if(c>>>0>17){break a}b:{switch(c-2|0){default:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=2;f=b,g=eb(c),q[f+8>>2]=g;d=b;break a;case 2:c=q[b+20>>2];e=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=9;q[b+8>>2]=e;q[b+12>>2]=c;d=b;break a;case 0:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=10;f=b,g=eb(c),q[f+8>>2]=g;d=b;break a;case 7:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b>>2]=0;d=b;break a;case 8:c=q[b+16>>2];e=q[b+20>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b+12>>2]=e;q[b>>2]=1;d=b;break a;case 9:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=3;d=Sa(16);if(d){e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e}q[b+8>>2]=d;d=b;break a;case 10:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=4;f=b,g=_k(c),q[f+8>>2]=g;d=b;break a;case 11:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b+8>>2]=c;q[b>>2]=5;d=b;break a;case 12:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=6;f=b,g=Qg(c),q[f+8>>2]=g;d=b;break a;case 13:c=q[b+16>>2];b=Hc(q[a+16>>2]);if(!b){break a}q[b>>2]=7;f=b,g=zf(c),q[f+8>>2]=g;d=b;break a;case 1:case 3:case 14:break a;case 4:case 5:case 6:case 15:break b}}q[b+8>>2]=0;d=q[b+16>>2]}nd(a)}return d}function vw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;f=ub(b);q[a+28>>2]=f;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;d=q[f+12>>2];q[a+4>>2]=d;g=q[f+16>>2];q[a+8>>2]=g+d;if((g|0)<=-1){break e}q[a+24>>2]=0;h=a;if(g>>>0>536870910){c=1073741823}else{c=g<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[h+12>>2]=c;q[a>>2]=0;if(!d){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break a}if(g>>>0<=11){break d}q[a+12>>2]=c+ -1;if((r[d+1|0]|r[d|0]<<8)!=1){break d}q[e+12>>2]=d;g:{h=d+6|0;h:{if(!mh(h,a,d,e+12|0)){if(q[a+24>>2]){break h}break d}q[e+8>>2]=d;f=d+8|0;g=mh(f,a,d,e+8|0);c=q[a+24>>2];if(g){if(!c){break g}q[a+24>>2]=0;i:{j:{k:{if(t[a+4>>2]>d>>>0){break k}c=q[a+8>>2];if(c>>>0>>0){break k}if(c-d>>>0>11){break j}}c=1;break i}g=q[a+12>>2];q[a+12>>2]=g+ -1;c=1;if((r[d+1|0]|r[d|0]<<8)!=1|(g|0)<1){break i}q[e+12>>2]=d;if(!mh(h,a,d,e+12|0)){break i}q[e+8>>2]=d;c=mh(f,a,d,e+8|0)^1}h=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(c){break b}if(!h){break f}break b}if(!c){break d}}if(r[a+20|0]){break d}h=rc(b);q[a+4>>2]=h;q[a+8>>2]=h+q[b+16>>2];f=q[a+28>>2];c=1;if(h){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break a}I(228416,228441,195,228458);F()}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=e+16|0;return b}function uB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(!(b?a:0)){q[e+8>>2]=40;break a}f=q[b+28>>2];c=Xn(b);q[e+8>>2]=c;if(c){break a}q[a+24>>2]=0;q[a+28>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+28>>2]=f;c=Fj(f,8276,e+8|0);if(!q[e+8>>2]){q[c>>2]=b;q[c+4>>2]=a;d=q[a+28>>2];g=c+8264|0;q[c+8272>>2]=g;q[c+8>>2]=d;q[c+8268>>2]=g;q[c+8264>>2]=0;b:{d=Xn(b);c:{if(d){break c}d=q[b+8>>2];q[c+48>>2]=266;q[c+44>>2]=267;q[c+68>>2]=d;d=q[b+28>>2];q[c+16>>2]=0;q[c+52>>2]=d;q[c+12>>2]=c+4168;d=3;if(Un(c+12|0,-15)){break c}if(q[c+12>>2]){break b}}q[e+8>>2]=d;if(c){n[q[f+8>>2]](f,c)}break a}q[e+8>>2]=0;q[a+12>>2]=c}d=q[b+8>>2];d:{e:{if(Xa(b,q[b+4>>2]+ -4|0)){b=a+4|0;break e}g=Ec(b,e+12|0);h=q[e+12>>2];Xa(b,d);f:{d=h?0:g;g:{if(d+ -1>>>0<=40958){b=gb(f,d,e+8|0);if(!q[e+8>>2]){if((kj(c,0,b,d)|0)==(d|0)){break f}kj(c,0,0,0);if(b){n[q[f+8>>2]](f,b)}}q[e+8>>2]=0;b=a+4|0;break g}b=a+4|0;if(!d){break e}}q[b>>2]=g;break d}vh(c+12|0);q[c+52>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+16>>2]=0;if(c){n[q[f+8>>2]](f,c)}q[a+4>>2]=d;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=268;q[a+20>>2]=0;q[a>>2]=b;break a}q[b>>2]=2147483647}q[a+24>>2]=268;q[a+20>>2]=269;q[a>>2]=0;q[a+8>>2]=0}Da=e+16|0;return q[e+8>>2]}function TM(a,b,c,d){a=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,q=0,r=0,t=0,u=0;f=Da+ -64|0;k=c+4|0;if(k){l=w(c+15&-16,d);m=f+32|0;i=d<<4;t=i<<1;while(1){if(d){u=a+t|0;j=0;c=n;a:while(1){e=c-i|0;e=e>>>0>>0?(e<<1)+b|0:438160;p[f>>1]=s[e>>1];p[f+2>>1]=s[e+2>>1];p[f+4>>1]=s[e+4>>1];p[f+6>>1]=s[e+6>>1];p[f+8>>1]=s[e+8>>1];p[f+10>>1]=s[e+10>>1];p[f+12>>1]=s[e+12>>1];p[f+14>>1]=s[e+14>>1];p[f+16>>1]=s[e+16>>1];p[f+18>>1]=s[e+18>>1];p[f+20>>1]=s[e+20>>1];p[f+22>>1]=s[e+22>>1];p[f+24>>1]=s[e+24>>1];p[f+26>>1]=s[e+26>>1];p[f+28>>1]=s[e+28>>1];p[f+30>>1]=s[e+30>>1];e=c>>>0>>0?(c<<1)+b|0:438160;h=s[e>>1];p[f+32>>1]=h;p[f+34>>1]=s[e+2>>1];p[f+36>>1]=s[e+4>>1];p[f+38>>1]=s[e+6>>1];p[f+40>>1]=s[e+8>>1];p[f+42>>1]=s[e+10>>1];p[f+44>>1]=s[e+12>>1];p[f+46>>1]=s[e+14>>1];p[f+48>>1]=s[e+16>>1];p[f+50>>1]=s[e+18>>1];p[f+52>>1]=s[e+20>>1];p[f+54>>1]=s[e+22>>1];p[f+56>>1]=s[e+24>>1];p[f+58>>1]=s[e+26>>1];p[f+60>>1]=s[e+28>>1];p[f+62>>1]=s[e+30>>1];e=0;while(1){o=e<<1;g=o+m|0;q=s[g+ -4>>1];h=q+((q+((s[g+ -8>>1]+h&65534)>>>1|0)&65534)>>>1|0)|0;g=s[g+ -2>>1]+s[g+ -6>>1]|0;p[a+o>>1]=(((h+g&65534)>>>1|g&h&32768)+1&65534)>>>1;e=e+1|0;if((e|0)==16){c=c+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(d|0)){continue a}n=i+n|0;a=u}else{h=s[(e<<1)+m>>1];continue}break}break}}r=r+16|0;if(r>>>0>>0){continue}break}}}function qB(a,b,c,d,e){var f=0,g=0;f=Da+ -64|0;Da=f;g=6;a:{if(!c|(!b|!a)){break a}q[f+20>>2]=b;q[f+12>>2]=e;q[f+8>>2]=d;b=q[c>>2];q[f+48>>2]=a;q[f+44>>2]=266;q[f+40>>2]=267;q[f+24>>2]=b;if(Un(f+8|0,15)){break a}d=Sn(f+8|0,4);if((d|0)!=1){g=q[f+36>>2];b:{if(!g){break b}c=q[f+44>>2];if(!c){break b}b=q[g+20>>2];if(b){a=q[b>>2];if((a&-2)==4){n[c](q[f+48>>2],q[b+12>>2]);a=q[b>>2]}if((a|0)==6){n[q[f+44>>2]](q[f+48>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;g=q[b+40>>2];q[b+52>>2]=g;q[b+48>>2]=g;a=q[b+56>>2];if(a){a=n[a](0,0,0)|0;q[b+60>>2]=a;q[f+56>>2]=a;g=q[b+40>>2]}n[q[f+44>>2]](q[f+48>>2],g);n[q[f+44>>2]](q[f+48>>2],q[b+36>>2]);n[q[f+44>>2]](q[f+48>>2],b);g=q[f+36>>2];c=q[f+44>>2]}n[c](q[f+48>>2],g);q[f+36>>2]=0}g=0;a=d+5|0;if(a>>>0>=6){break a}g=q[(a<<2)+25172>>2];break a}q[c>>2]=q[f+28>>2];g=0;a=q[f+36>>2];if(!a){break a}c=q[f+44>>2];if(!c){break a}b=q[a+20>>2];if(b){a=q[b>>2];if((a&-2)==4){n[c](q[f+48>>2],q[b+12>>2]);a=q[b>>2]}if((a|0)==6){n[q[f+44>>2]](q[f+48>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;g=q[b+40>>2];q[b+52>>2]=g;q[b+48>>2]=g;a=q[b+56>>2];if(a){a=n[a](0,0,0)|0;q[b+60>>2]=a;q[f+56>>2]=a;g=q[b+40>>2]}n[q[f+44>>2]](q[f+48>>2],g);n[q[f+44>>2]](q[f+48>>2],q[b+36>>2]);n[q[f+44>>2]](q[f+48>>2],b);c=q[f+44>>2];a=q[f+36>>2]}n[c](q[f+48>>2],a);g=0;q[f+36>>2]=0}Da=f- -64|0;return g}function Mt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=r[b+164|0];a:{if(!(f&64)){o[b+164|0]=f|64;i=q[b+88>>2];j=q[b+76>>2];b:{if(!q[b+144>>2]){break b}while(1){f=q[((g<<2)+b|0)+104>>2];d=q[b+12>>2];f=_l(f,n[q[d+24>>2]](d,f,q[d+56>>2])|0);if((f|0)==7){g=g+1|0;if(g>>>0>2]){continue}break b}break}h=s[(f<<2)+251954>>1]}f=-1;if(!j){break a}while(1){d=w(e,20)+i|0;g=d;d=_l(q[d>>2],s[d+16>>1]&31);c:{if((d|0)==7){o[g+18|0]=7;break c}h=w(h,24)+(d<<2)|0;d:{if((f|0)==-1){break d}d=r[h+251952|0];if((d|0)==7){break d}o[(w(f,20)+i|0)+18|0]=d;d=e+1|0;if(d-f>>>0<2){break d}rb(b,f,d)}o[g+18|0]=r[h+251953|0];h=s[h+251954>>1];f=e}e=e+1|0;if((j|0)!=(e|0)){continue}break}break a}I(251908,251880,150,251895);F()}e:{if(!q[b+148>>2]){break e}g=0;while(1){e=q[((g<<2)+b|0)+124>>2];d=q[b+12>>2];e=_l(e,n[q[d+24>>2]](d,e,q[d+56>>2])|0);if((e|0)==7){g=g+1|0;if(g>>>0>2]){continue}break e}break}if((f|0)==-1){break e}e=r[(w(h,24)+(e<<2)|0)+251952|0];if((e|0)==7){break e}o[(w(f,20)+i|0)+18|0]=e}f:{if((c|0)==1299148391){f=q[b+76>>2];if(f>>>0<2){break f}c=q[b+88>>2];e=1;while(1){d=c+w(e,20)|0;if(q[d>>2]+ -6155>>>0<=2){o[d+18|0]=r[d+ -2|0]}e=e+1|0;if((f|0)!=(e|0)){continue}break}}f=q[b+76>>2]}if(f){b=q[b+88>>2];e=0;while(1){c=b+w(e,20)|0;q[c+4>>2]=q[c+4>>2]|q[(r[c+18|0]<<2)+a>>2];e=e+1|0;if((f|0)!=(e|0)){continue}break}}}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,i=0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,t=0;f=Da+ -64|0;k=c+6|0;if(k){l=w(c+15&-16,d);m=f+32|0;h=d<<4;r=h<<1;while(1){if(d){t=a+r|0;i=0;c=n;a:while(1){e=c-h|0;e=e>>>0>>0?(e<<1)+b|0:438160;p[f>>1]=s[e>>1];p[f+2>>1]=s[e+2>>1];p[f+4>>1]=s[e+4>>1];p[f+6>>1]=s[e+6>>1];p[f+8>>1]=s[e+8>>1];p[f+10>>1]=s[e+10>>1];p[f+12>>1]=s[e+12>>1];p[f+14>>1]=s[e+14>>1];p[f+16>>1]=s[e+16>>1];p[f+18>>1]=s[e+18>>1];p[f+20>>1]=s[e+20>>1];p[f+22>>1]=s[e+22>>1];p[f+24>>1]=s[e+24>>1];p[f+26>>1]=s[e+26>>1];p[f+28>>1]=s[e+28>>1];p[f+30>>1]=s[e+30>>1];e=c>>>0>>0?(c<<1)+b|0:438160;j=s[e>>1];p[f+32>>1]=j;p[f+34>>1]=s[e+2>>1];p[f+36>>1]=s[e+4>>1];p[f+38>>1]=s[e+6>>1];p[f+40>>1]=s[e+8>>1];p[f+42>>1]=s[e+10>>1];p[f+44>>1]=s[e+12>>1];p[f+46>>1]=s[e+14>>1];p[f+48>>1]=s[e+16>>1];p[f+50>>1]=s[e+18>>1];p[f+52>>1]=s[e+20>>1];p[f+54>>1]=s[e+22>>1];p[f+56>>1]=s[e+24>>1];p[f+58>>1]=s[e+26>>1];p[f+60>>1]=s[e+28>>1];p[f+62>>1]=s[e+30>>1];g=0;while(1){o=g<<1;e=o+m|0;p[a+o>>1]=(((w(s[e+ -6>>1],20)+w(s[e+ -4>>1]+s[e+ -8>>1]&65535,15)|0)+w(s[e+ -2>>1]+s[e+ -10>>1]&65535,6)|0)+(s[e+ -12>>1]+j&65535)|0)+32>>>6;g=g+1|0;if((g|0)==16){c=c+16|0;a=a+32|0;i=i+1|0;if((i|0)!=(d|0)){continue a}n=h+n|0;a=t}else{j=s[(g<<1)+m>>1];continue}break}break}}q=q+16|0;if(q>>>0>>0){continue}break}}}function mO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-32|0;Da=d;b=Na(b,0,80);e=q[a>>2];a:{if(e>>>0>3){break a}b:{c:{switch(e-1|0){default:zl(q[(q[a+8>>2]+(q[a+24>>2]<<2)|0)- -64>>2],v[a+16>>3]);c=PO(q[a+8>>2],q[a+24>>2],q[a+28>>2],q[c+88>>2],q[a+40>>2]);if(!c){break b}if(!tN(b+4|0,c+20|0)){break a}q[b+68>>2]=q[c+12>>2]+512>>10;YO(c);RO(q[a+8>>2],q[a+24>>2],b+72|0,b+76|0);break b;case 0:if(!pN(b+4|0,d+8|0,q[a+8>>2],q[c>>2])){break a}q[b+68>>2]=q[d+16>>2]-q[d+8>>2];a=q[d+12>>2];c=q[d+20>>2];q[b+76>>2]=0;q[b+72>>2]=c-a;break b;case 1:if(q[a+24>>2]?0:!q[a+20>>2]){break b}e=q[a+8>>2];if(!q[e+4>>2]){break b}if(!sN(d+8|0,e+4|0,q[a+12>>2],q[a+16>>2])){break a}e=b+4|0;f=b+28|0;if(!rN(e,f,d+8|0,q[a+20>>2]<<4,q[a+24>>2]<<4)){hb(q[c>>2],2,355644,0);Be(e);Be(f);Be(d+8|0);break a}Be(d+8|0);break b;case 2:break c}}if(!Dr(b+4|0,4,4)){break a}a=q[b+20>>2];q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=64;q[a+20>>2]=64;q[a+24>>2]=0;q[a+12>>2]=0;q[a+16>>2]=64;q[a+28>>2]=64;o[q[b+24>>2]]=1;o[q[b+24>>2]+1|0]=1;o[q[b+24>>2]+2|0]=1;o[q[b+24>>2]+3|0]=5;q[b+4>>2]=4;q[b+12>>2]=4}q[b+64>>2]=-2147483648;q[b+52>>2]=2147483647;q[b+56>>2]=2147483647;q[b+60>>2]=-2147483648;a=b+52|0;yr(b+4|0,a);yr(b+28|0,a);if(!(q[b+56>>2]<=q[b+64>>2]?q[b+52>>2]<=q[b+60>>2]:0)){q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}o[b|0]=1}Da=d+32|0;return 1}function Yr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=q[b+20>>2];g=f>>>0>110?0:f;f=q[b+28>>2];h=f+ -50>>>0>150?100:f;f=q[b+24>>2];l=f+ -100>>>0>800?400:f;i=q[a>>2];j=q[i+16>>2];f=q[i+20>>2];a:{if((j|0)<(f|0)){k=q[i+24>>2];break a}f=(f|0)<1?1:f<<1;q[i+20>>2]=f;k=db(q[i+24>>2],w(f,52));q[i+24>>2]=k;j=q[i+16>>2]}f=w(j,52)+k|0;q[f+28>>2]=0;q[f+32>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;q[f+12>>2]=0;q[f+16>>2]=0;q[f+4>>2]=0;q[f+8>>2]=0;q[f+44>>2]=0;q[f+48>>2]=0;q[f+36>>2]=0;q[f+40>>2]=0;m=q[i>>2];q[i>>2]=m+1;q[f+28>>2]=h;q[f+24>>2]=l;q[f+20>>2]=g;q[f>>2]=m;g=q[b+16>>2];q[f+16>>2]=g;h=q[b+12>>2];q[f+12>>2]=h;h=ab(h,4);q[f+4>>2]=h;b:{c:{if(!h){break c}if(g){g=ab(g,4);q[(w(j,52)+k|0)+8>>2]=g;if(!g){break c}}if(q[f+12>>2]>=1){g=0;while(1){h=g<<2;l=eb(q[h+q[b>>2]>>2]);q[h+q[f+4>>2]>>2]=l;if(!q[h+q[f+4>>2]>>2]){break c}g=g+1|0;if((g|0)>2]){continue}break}}if(q[f+16>>2]>=1){h=w(j,52)+k|0;g=0;while(1){l=g<<2;m=eb(q[l+q[b+4>>2]>>2]);q[l+q[h+8>>2]>>2]=m;if(!q[l+q[h+8>>2]>>2]){break c}g=g+1|0;if((g|0)>2]){continue}break}}b=q[b+8>>2];if(b){b=eb(b);q[(w(j,52)+k|0)+40>>2]=b;if(!b){break c}}if(c){b=eb(c);q[(w(j,52)+k|0)+32>>2]=b;if(!b){break c}}b=w(j,52)+k|0;q[b+48>>2]=e;q[b+36>>2]=d;q[b+44>>2]=a;b=1;q[i+16>>2]=q[i+16>>2]+1;break b}Xr(f);b=0;a=q[a+16>>2];if(!a){break b}n[a](e);return 0}return b}function lm(a,b,c){var d=0,e=0,f=0;e=Da-32|0;Da=e;a:{if(t[b+4>>2]<=c>>>0){q[a+16>>2]=271312;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=0;b=s[135656];c=b<<24|b<<8&16711680;if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[a+20>>2]=0;break a}if(c>>16>=1){q[a+20>>2]=1;break a}q[a+20>>2]=2;break a}d=q[b+8>>2];d=q[(d?d:271312)+12>>2];b:{c:{if(r[b|0]){d=d+(c<<1)|0;f=r[d+1|0]<<1|r[d|0]<<9;d=r[d+3|0]<<1|r[d+2|0]<<9;break c}d=d+(c<<2)|0;f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(d>>>0>=f>>>0){b=q[b+12>>2];b=b?b:271312;if(d>>>0<=t[b+16>>2]){break b}}q[a+16>>2]=271312;q[a+8>>2]=0;q[a+12>>2]=-1;q[a>>2]=0;q[a+4>>2]=0;b=s[135656];c=b<<24|b<<8&16711680;if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[a+20>>2]=0;break a}if(c>>16>=1){q[a+20>>2]=1;break a}q[a+20>>2]=2;break a}b=q[b+12>>2];q[e+20>>2]=c;q[e+16>>2]=0;c=d-f|0;q[e+12>>2]=c;b=b+f|0;q[e+8>>2]=b;b=c>>>0<10?271312:b;q[e+24>>2]=b;b=r[b|0]|r[b+1|0]<<8;c=b<<24|b<<8&16711680;d:{if(!((c|(b>>>8&65280|b>>>24))>>>16)){q[e+28>>2]=0;break d}if(c>>16>=1){q[e+28>>2]=1;break d}q[e+28>>2]=2}b=q[e+12>>2];q[a>>2]=q[e+8>>2];q[a+4>>2]=b;b=q[e+28>>2];q[a+16>>2]=q[e+24>>2];q[a+20>>2]=b;b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b}Da=e+32|0}function t$(a,b){a=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=271312;c=q[q[q[a+92>>2]+136>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=r[d+2|0]<<8|r[d+3|0];d=d?d+c|0:271312}k=q[a+124>>2];q[a+124>>2]=b;c=r[d+3|0];b=c|r[d+2|0]<<8;e=q[a+128>>2];if(c&16){c=b;b=(d+4|0)+(r[d+5|0]<<1|r[d+4|0]<<9)|0;b=c|r[b+2|0]<<24|r[b+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=b;q[a+8>>2]=b;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;g=q[a+116>>2];q[a+16>>2]=g;h=r[a+142|0];o[a+13|0]=h;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=b;b=q[a+120>>2];f=(b|0)==1;o[a+12|0]=f;q[a+4>>2]=a;c=1;c=f?c:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=c;f=r[d+5|0];c=r[d+4|0];j=f|c<<8;if(j){g=r[d+1|0]|r[d|0]<<8;h=d+4|0;b=0;while(1){c=(c<<8|f)>>>0>b>>>0?(h+(b<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];i=1;a:{if(Ju(c?c+d|0:271312,a,g)){break a}b=b+1|0;if((j|0)==(b|0)){i=0}else{f=r[d+5|0];c=r[d+4|0];continue}}break}g=q[a+116>>2];h=r[a+142|0];b=q[a+120>>2]}q[a+128>>2]=e;q[a+124>>2]=k;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+16>>2]=g;o[a+13|0]=h;q[a+8>>2]=e;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=e;d=(b|0)==1;o[a+12|0]=d;q[a+4>>2]=a;q[a+48>>2]=a;b=1;b=d?b:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=b;return i|0}function q$(a,b){a=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=271312;c=q[q[q[a+92>>2]+140>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){d=c+(b<<1)|0;d=r[d+2|0]<<8|r[d+3|0];d=d?d+c|0:271312}k=q[a+124>>2];q[a+124>>2]=b;c=r[d+3|0];b=c|r[d+2|0]<<8;e=q[a+128>>2];if(c&16){c=b;b=(d+4|0)+(r[d+5|0]<<1|r[d+4|0]<<9)|0;b=c|r[b+2|0]<<24|r[b+3|0]<<16}q[a+32>>2]=0;q[a+128>>2]=b;q[a+8>>2]=b;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+48>>2]=a;g=q[a+116>>2];q[a+16>>2]=g;h=r[a+142|0];o[a+13|0]=h;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=b;b=q[a+120>>2];f=(b|0)==1;o[a+12|0]=f;q[a+4>>2]=a;c=1;c=f?c:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=c;f=r[d+5|0];c=r[d+4|0];j=f|c<<8;if(j){g=r[d+1|0]|r[d|0]<<8;h=d+4|0;b=0;while(1){c=(c<<8|f)>>>0>b>>>0?(h+(b<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];i=1;a:{if(Hu(c?c+d|0:271312,a,g)){break a}b=b+1|0;if((j|0)==(b|0)){i=0}else{f=r[d+5|0];c=r[d+4|0];continue}}break}g=q[a+116>>2];h=r[a+142|0];b=q[a+120>>2]}q[a+128>>2]=e;q[a+124>>2]=k;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+76>>2]=0;q[a+16>>2]=g;o[a+13|0]=h;q[a+8>>2]=e;q[a+68>>2]=0;q[a+72>>2]=0;q[a+52>>2]=e;d=(b|0)==1;o[a+12|0]=d;q[a+4>>2]=a;q[a+48>>2]=a;b=1;b=d?b:r[a+141|0]!=0;q[a+60>>2]=-1;o[a+57|0]=1;o[a+56|0]=b;return i|0}function LZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!Tb(a+2|0,b,a)){break a}e=q[b+4>>2];c=a+4|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+5|0];g=r[a+4|0];h=c|g<<8;b:{if(!h){break b}c=a+6|0;if(e>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+5|0];g=r[a+4|0];d=c|g<<8;if(!d){break b}e=0;c:{while(1){if(Tb(((e<<1)+a|0)+6|0,b,a)){e=e+1|0;if((d|0)!=(e|0)){continue}break c}break}return 0}c=r[a+5|0];g=r[a+4|0];e=q[b+4>>2]}d=((c<<1|g<<9)+a|0)+6|0;if(e>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=r[d+1|0];c=r[d|0];i=h|c<<8;d:{if(!i){break d}c=d+2|0;if(e>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=r[d+1|0];c=r[d|0];f=h|c<<8;if(!f){break d}e=0;e:{while(1){if(Tb((d+(e<<1)|0)+2|0,b,a)){e=e+1|0;if((f|0)!=(e|0)){continue}break e}break}return 0}h=r[d+1|0];c=r[d|0];e=q[b+4>>2]}a=(d+(h<<1|c<<9)|0)+2|0;if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(f){a=a+2|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}}j=1}return j}function lM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a|!b){break a}if(q[a>>2]==-1){if(!c){break a}q[c>>2]=0;return 0}if(c){d=c;c=Tk(b,a);q[d>>2]=!c;e=1;if(c){break a}}e=1;j=q[b+4>>2];if((j|0)<1){break a}e=0;while(1){d=q[a+4>>2];if((e|0)<(d|0)){c=s[(q[a+12>>2]+a|0)+(e<<1)>>1]}else{c=65535}f=s[(q[b+12>>2]+b|0)+(i<<1)>>1];b:{if(c>>>0>>0){k=q[a+12>>2]+a|0;if(!k){e=0;break b}c=d+ -1|0;h=e+1|0;c:{if((d|0)>(h|0)){while(1){g=c+h|0;e=g>>1;g=s[(g&-2)+k>>1];if((g|0)==(f|0)){break c}g=g>>>0>>0;h=g?e+1|0:h;c=g?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(d|0)|s[(c<<1)+k>>1]>=f>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)>-1){break b}e=e^-1;break b}d=q[b+8>>2]+b|0;d=q[d+(i<<2)>>2]+d|0;d:{if(f>>>0>>0){c=gg(a,f<<8);if(!c){return 0}f=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=f;f=q[d+28>>2];q[c+24>>2]=q[d+24>>2];q[c+28>>2]=f;f=q[d+20>>2];q[c+16>>2]=q[d+16>>2];q[c+20>>2]=f;f=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=f;break d}c=q[a+8>>2]+a|0;c=q[c+(e<<2)>>2]+c|0;q[c>>2]=q[d>>2]|q[c>>2];q[c+4>>2]=q[d+4>>2]|q[c+4>>2];q[c+8>>2]=q[d+8>>2]|q[c+8>>2];q[c+12>>2]=q[d+12>>2]|q[c+12>>2];q[c+16>>2]=q[d+16>>2]|q[c+16>>2];q[c+20>>2]=q[d+20>>2]|q[c+20>>2];q[c+24>>2]=q[d+24>>2]|q[c+24>>2];q[c+28>>2]=q[d+28>>2]|q[c+28>>2]}i=i+1|0;e=e+1|0;j=q[b+4>>2]}if((i|0)<(j|0)){continue}break}e=1}return e}function WV(a,b,c,d){var e=0,f=0,g=0,h=x(0),i=0,j=x(0),k=0,l=0,m=0,n=0,o=0,p=0;k=r[a+2|0];f=k<<24>>24;a:{if((f|0)<=-1){d=f&255;d=w(d>>>5&2|d>>>7,c);l=d>>>0>c>>>0?c:d;k=a+4|0;break a}k=w(r[a+3|0]|k<<8&3840,c);e=q[d+4>>2];if(k>>>0>=e>>>0){return x(0)}g=e-k|0;e=g>>>0>e>>>0?0:g;l=e>>>0>c>>>0?c:e;k=q[d>>2]+(k<<1)|0}d=0;m=f&64;if(m){e=f&255;e=w(e>>>5&2|e>>>7,c);f=f>>31&c;g=f+c|0;i=e-g|0;i=i>>>0>e>>>0?0:i;n=i>>>0>c>>>0?c:i;i=e-f|0;e=i>>>0>e>>>0?0:i;o=e>>>0>c>>>0?c:e;a=a+4|0;p=a+(f<<1)|0;i=a+(g<<1)|0}h=x(1);b:{if(!c){break b}while(1){g=d<<1;a=l>>>0>d>>>0?g+k|0:271312;a=r[a|0]|r[a+1|0]<<8;f=a<<24|a<<8&16711680;j=h;h=j;c:{if(!((f|(a>>>8&65280|a>>>24))>>>16)){break c}a=f>>16;f=q[(d<<2)+b>>2];h=j;if((a|0)==(f|0)){break c}if(m){e=o>>>0>d>>>0?g+p|0:271312;e=r[e|0]|r[e+1|0]<<8;e=(e<<24|e<<8&16711680)>>16;h=j;if((a|0)<(e|0)){break c}g=n>>>0>d>>>0?g+i|0:271312;g=r[g|0]|r[g+1|0]<<8;g=(g<<24|g<<8&16711680)>>16;h=j;if((g|0)<(a|0)){break c}h=j;if(!((g|0)<=0|(e|0)>-1)){break c}h=x(0);if((f|0)<(e|0)|(f|0)>(g|0)){break b}if((f|0)<(a|0)){h=j;if((a|0)==(e|0)){break c}h=x(j*x(x(f-e|0)/x(a-e|0)));break c}h=j;if((a|0)==(g|0)){break c}h=x(j*x(x(g-f|0)/x(g-a|0)));break c}h=x(0);if(!f|(f|0)<(a>>31&a)|(f|0)>(((a|0)>0?a:0)|0)){break b}h=x(j*x(x(f|0)/x(a|0)))}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return h}function lb(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=q[a+32>>2];a:{while(1){b:{g=r[b|0];e=g+ -4|0;if(e>>>0>21){break b}c:{d:{switch(e-1|0){default:d=mb(a,s[b+2>>1]);if(d){break a}d=q[a+32>>2];h=1;b=b+4|0;continue;case 19:case 20:f=r[b+1|0];e=f+d|0;if(e>>>0>t[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}Qa(s[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue;case 7:case 8:f=r[d+1|0]|r[d|0]<<8;d=d+2|0;e=16;break c;case 9:case 10:f=r[d|0]|r[d+1|0]<<8;d=d+2|0;e=16;break c;case 11:case 12:e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=d+4|0;e=0;break c;case 13:case 14:f=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=d+4|0;e=0;break c;case 15:case 16:f=r[d+2|0]|(r[d+1|0]<<8|r[d|0]<<16);d=d+3|0;e=8;break c;case 17:case 18:f=r[d|0]|(r[d+1|0]<<8|r[d+2|0]<<16);d=d+3|0;e=8;break c;case 0:case 1:case 2:case 5:case 6:break b;case 3:case 4:break d}}f=r[d|0];d=d+1|0;e=24}g=g&1?f<>e:f;f=s[b+2>>1]+c|0;e:{e=r[b+1|0]+ -1|0;if(e>>>0>3){break e}f:{switch(e-1|0){default:o[f|0]=g;b=b+4|0;continue;case 1:case 2:break e;case 0:break f}}p[f>>1]=g;b=b+4|0;continue}q[f>>2]=g;b=b+4|0;continue}break}q[a+32>>2]=d;d=0}if(h){if(q[a+20>>2]){c=q[a>>2];if(c){b=q[a+28>>2];n[q[b+8>>2]](b,c)}q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}return d}function me(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0;f=Da-16|0;Da=f;a:{if((c|0)<1){break a}j=q[a+4>>2];while(1){h=(l<<3)+b|0;b:{if(!q[h>>2]){Fe(j);if(q[j+12>>2]>=2){q[f+8>>2]=0;break a}d=q[j>>2];g=d+ -1|0;e=3;i=q[j+8>>2];c:{if(d>>>0>=i>>>0){break c}while(1){d:{e=d;d=d+1|0;q[j>>2]=d;e:{k=r[e|0]+ -10|0;if(k>>>0>16){break e}e=2;switch(k-1|0){case 0:case 1: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;case 15:break d;default:break c}}if(d>>>0>>0){continue}}break}e=3}q[j+12>>2]=e;q[f+8>>2]=g;break b}g=cf(j);q[f+8>>2]=g;if(!g){break a}d=q[j>>2]}e=q[h>>2];f:{if(e>>>0>5){break f}i=d-g|0;d=i+ -1|0;g:{switch(e-2|0){default:e=Fj(q[a>>2],i,f+4|0);q[h+4>>2]=e;if(q[f+4>>2]){break f}Qa(e,g,d);o[d+q[h+4>>2]|0]=0;break f;case 0:m=h,p=Ed(f+8|0,d+g|0,0),q[m+4>>2]=p;break f;case 1:q[f+12>>2]=g;k=d+g|0;i=ne(f+12|0,k,10);e=0;d=q[f+12>>2];h:{if((g|0)==(d|0)){break h}if(!(r[d|0]!=35|d>>>0>=k>>>0)){g=d+1|0;q[f+12>>2]=g;i=ne(f+12|0,k,i);d=q[f+12>>2];if((g|0)==(d|0)){break h}}q[f+8>>2]=d;e=i}q[h+4>>2]=e;break f;case 2:if((d|0)==4){e=!Ra(g,291608,4)}else{e=0}o[h+4|0]=e;break f;case 3:break g}}e=q[a+12>>2];if(e){m=h,p=n[e](g,d,q[a+16>>2])|0,q[m+4>>2]=p;break f}q[h+4>>2]=0}l=l+1|0;if((l|0)!=(c|0)){continue}break}l=c}Da=f+16|0;return l}function kw(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;f=Da+ -64|0;Da=f;q[b+60>>2]=0;a:{h=r[a+3|0]|r[a+2|0]<<8;if(h){l=h+ -1|0;a=a+4|0;while(1){d=q[b+12>>2];e=q[d+48>>2];b:{if(o[a+5|0]&1^(e&-2)==4){break b}g=q[b+4>>2];q[f+48>>2]=c;q[f+40>>2]=114;q[f+44>>2]=110;q[f+32>>2]=107;q[f+36>>2]=101;if(!jd(d,g,228682,f+32|0)){break b}d=e&-3;c:{if(i){i=1;break c}i=0;if(!(r[a+5|0]&4)){break c}i=1;c=q[b+12>>2];e=q[c+76>>2];if(!e){break c}g=q[c+96>>2];c=0;while(1){k=g+w(c,20)|0;o[k+18|0]=2;p[k+16>>1]=(q[q[b+12>>2]+48>>2]&-3)==4?-1:1;c=c+1|0;if((e|0)!=(c|0)){continue}break}}g=(d|0)!=5;if(!g){_c(q[b+12>>2])}c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+24>>2]=e;if((c|0)<=-1){break a}c=j>>>0>>0?a:0;d:{if(!c){break d}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break d}q[b+20>>2]=c;d=r[c+3|0]|r[c+2|0]<<8;e=e-c|0;q[b+24>>2]=c+(e>>>0>d>>>0?d:e)}c=o$(a,b);d=q[b+44>>2];e=q[d+12>>2];q[b+20>>2]=e;d=q[d+16>>2];q[b+24>>2]=d+e;if((d|0)<=-1){break a}if(!g){_c(q[b+12>>2])}m=c|m;c=q[b+4>>2];d=q[b+12>>2];q[f+16>>2]=q[b+60>>2];q[f+8>>2]=114;q[f+12>>2]=110;q[f>>2]=107;q[f+4>>2]=101;jd(d,c,228709,f)}d=r[a+3|0];e=r[a+2|0];c=q[b+60>>2]+1|0;q[b+60>>2]=c;a=(d|e<<8)+a|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}Da=f- -64|0;return}I(228734,228759,195,228776);F()}function BI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!a){break b}d=q[a+476>>2]+ -2|0;if(d>>>0<=1){if(!(d-1)){q[a+280>>2]=33;return 0}q[a+280>>2]=36;return 0}i=q[a+32>>2];c:{if(!i){break c}d=q[a+28>>2];if(!d){break c}b=i-d|0}e=q[a+28>>2];if((b|0)>=1024){break b}b=0;d:{if(!e){break d}d=q[a+24>>2];if(!d){break d}b=e-d|0}b=b+1024|0;if((b|0)<=-1){break a}h=b;g=q[a+24>>2];e:{f:{if(!g){break f}f=q[a+8>>2];if(!f){break f}c=g-f|0;b=1024;if((c|0)>1023){break e}}b=c}d=b;f=h+d|0;g:{h:{i:{j:{if(i){b=q[a+8>>2];if((f|0)<=((b?i-b|0:0)|0)){break j}if(!g){break i}c=i-g|0;if(c){break h}break i}if((f|0)>0){break i}}k:{if(g){b=q[a+8>>2];c=b?g-b|0:0;if((d|0)<(c|0)){break k}break g}if((d|0)>-1){break g}b=q[a+8>>2];c=0}h=b;b=c-d|0;sb(h,h+b|0,(d+e|0)-g|0);e=q[a+28>>2]-b|0;q[a+28>>2]=e;q[a+24>>2]=q[a+24>>2]-b;break g}c=1024}while(1){c=c<<1;if((c|0)>0?(c|0)<(f|0):0){continue}break}if((c|0)<=0){break a}b=n[q[a+12>>2]](c)|0;if(!b){break a}q[a+32>>2]=b+c;c=q[a+24>>2];l:{if(c){e=0;h=b;b=q[a+28>>2];f=Qa(h,c-d|0,(b?b-c|0:0)+d|0);n[q[a+20>>2]](q[a+8>>2]);q[a+8>>2]=f;c=q[a+28>>2];m:{if(!c){break m}b=q[a+24>>2];if(!b){break m}e=c-b|0}e=(e+f|0)+d|0;q[a+28>>2]=e;b=d+f|0;break l}q[a+8>>2]=b;q[a+28>>2]=b;e=b}q[a+24>>2]=b}q[a+292>>2]=0;q[a+284>>2]=0;q[a+288>>2]=0}return e}q[a+280>>2]=1;return 0}function $g(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=q[a+2744>>2];a:{if(!(j&4)){break a}h=q[a+2748>>2];if(r[(h+w(b,9516)|0)+256|0]){break a}a=c>>31;g=a+c^a;b:{c:{d:{if((b|0)==1){if(j&2){break c}if(!(f&2)|(g|0)>191){break d}a=g;break b}if(j&1){break c}}a=e&1?(g|0)<80?64:g:(g|0)>56?g:56;b=h+w(b,9516)|0;if(!q[b+52>>2]){break b}b=q[b+60>>2];f=a-b|0;e=f>>31;if((e^e+f)<=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}e=0;e:{if((c&d)>-1?!((c|0)>0&(d|0)>0):0){break e}b=s[q[q[h+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break e}d=(w(30-b|0,d)|0)/20|0}e=(d|0)<0?d:0-d|0}a=(a+e|0)+32&-64;break b}h=h+w(b,9516)|0;k=q[h+52>>2];f:{g:{if(k){a=98;e=0;f=g;while(1){l=q[(h+w(e,12)|0)+60>>2];i=g-l|0;d=i>>31;i=d^d+i;d=(i|0)<(a|0);a=d?i:a;f=d?l:f;e=e+1|0;if((k|0)!=(e|0)){continue}break}d=f+32&-64;a=d;if((f|0)<=(g|0)){break g}d=(d+ -48|0)<(g|0)?f:g;break f}f=g;a=g+32&2147483584}d=(a|48)>(g|0)?f:g}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(j&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)<16){break b}if((g|0)>47){a=g;break b}a=g- -64>>>1|0;break b}a=d+32&-64}c=(c|0)>-1?a:0-a|0}return c}function TJ(a,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=c-b|0;c=e&1?(e&-2)+b|0:c;f=c-b|0;a:{if((f|0)<2){break a}h=a+72|0;e=0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{a=r[b|0];g=a+ -216|0;if(g>>>0>39){if(a){break c}a=r[r[b+1|0]+h|0];if(a>>>0>8){break c}switch(a-2|0){case 4:break i;case 1:case 3:break c;case 2:break d;case 0:break e;case 5:break h;default:break f}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break f;case 35:break g;default:break h}}if((f|0)<3){return-2}b=b+3|0;break b}if((f|0)<4){return-2}b=b+4|0;break b}if(r[b+1|0]<=253){break c}}q[d>>2]=b;return 0}a=b+2|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+3|0]!=33){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+5|0]!=91){b=a;break b}b=b+6|0;e=e+1|0;break b}a=b+2|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+3|0]!=93){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[a|0]){b=a;break b}if(r[b+5|0]!=62){b=a;break b}b=b+6|0;if(!e){q[d>>2]=b;return 42}e=e+ -1|0;break b}b=b+2|0}f=c-b|0;if((f|0)>1){continue}break}}return-1}function SW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=v[a+136>>3];k=v[a+128>>3];d=q[a+24>>2];a:{b:{if(d){d=d+ -1|0;q[a+24>>2]=d;if(t[a+32>>2]<=d>>>0){break b}d=q[a+36>>2]+(d<<5)|0;break a}o[a+20|0]=1}d=q[67835];q[160750]=q[67834];q[160751]=d;d=q[67833];q[160748]=q[67832];q[160749]=d;d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976}g=r[a+176|0];c:{if(!g){break c}c=q[d+20>>2];if(!c|(c|0)!=q[a+168>>2]){break c}h=q[d+24>>2];i=q[a+172>>2];f=v[d>>3];while(1){f=f+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((c|0)!=(e|0)){continue}break}q[d+8>>2]=0;q[d+12>>2]=0;v[d>>3]=f;if(q[d+16>>2]<0){break c}q[d+20>>2]=0}c=q[a+24>>2];d:{e:{if(c){c=c+ -1|0;q[a+24>>2]=c;if(t[a+32>>2]<=c>>>0){break e}c=q[a+36>>2]+(c<<5)|0;break d}o[a+20|0]=1}c=q[67835];q[160750]=q[67834];q[160751]=c;c=q[67833];q[160748]=q[67832];q[160749]=c;c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976}f:{if(!g){break f}g=q[c+20>>2];if(!g|(g|0)!=q[a+168>>2]){break f}h=q[c+24>>2];i=q[a+172>>2];f=v[c>>3];e=0;while(1){f=f+v[h+(e<<3)>>3]*+u[i+(e<<2)>>2];e=e+1|0;if((g|0)!=(e|0)){continue}break}q[c+8>>2]=0;q[c+12>>2]=0;v[c>>3]=f;if(q[c+16>>2]<0){break f}q[c+20>>2]=0}f=v[c>>3];l=v[d>>3];o[b|0]=0;v[a+136>>3]=j+l;v[a+128>>3]=k+f}function ex(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-304|0;Da=c;d=r[a+3|0];a:{if(d>>>0>5){break a}b:{switch(d-1|0){default:q[c+20>>2]=0;q[c+24>>2]=0;o[c+16|0]=0;d=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=a+8;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+8>>2]=a;dx(c,c+16|0);break a;case 0:q[c+28>>2]=0;o[c+24|0]=0;o[c+16|0]=0;d=a+8|0;q[c+32>>2]=d;q[c+20>>2]=b;q[c+36>>2]=d+(r[a+17|0]|r[a+16|0]<<8);e=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+8>>2]=a;bx(c,c+16|0);break a;case 1:o[c+16|0]=0;d=a+8|0;q[c+24>>2]=d;q[c+20>>2]=b;q[c+28>>2]=d+(r[a+17|0]|r[a+16|0]<<8);q[c+32>>2]=d+(r[a+19|0]|r[a+18|0]<<8);e=r[a+21|0];a=r[a+20|0];q[c+40>>2]=0;q[c+36>>2]=d+(e|a<<8);e=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+8>>2]=a;ax(c,c+16|0);break a;case 3:e=q[b+8>>2];d=q[e+32>>2];if((d|0)==-1){d=lc(e)}b=q[b+12>>2];e=q[b+76>>2];if(e){g=a+8|0;h=q[b+88>>2];a=0;while(1){f=w(a,20)+h|0;b=Sc(g,q[f>>2],d);if(b){q[f>>2]=r[b+1|0]|r[b|0]<<8}a=a+1|0;if((e|0)!=(a|0)){continue}break}}break a;case 2:break a;case 4:break b}}q[c+24>>2]=0;o[c+16|0]=0;q[c+20>>2]=b;d=r[a+17|0]|r[a+16|0]<<8;a=a+8|0;q[c+28>>2]=d+a;d=q[b+8>>2];q[c+4>>2]=q[b+12>>2];q[c>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+8>>2]=a;$w(c,c+16|0)}Da=c+304|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,h=0;e=c-b|0;c=e&1?(e&-2)+b|0:c;f=c-b|0;a:{if((f|0)<2){break a}h=a+72|0;e=0;while(1){b:{c:{d:{e:{f:{g:{h:{i:{a=r[b+1|0];g=a+ -216|0;if(g>>>0>39){if(a){break c}a=r[r[b|0]+h|0];if(a>>>0>8){break c}switch(a-2|0){case 4:break i;case 1:case 3:break c;case 2:break d;case 0:break e;case 5:break h;default:break f}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break f;case 35:break g;default:break h}}if((f|0)<3){return-2}b=b+3|0;break b}if((f|0)<4){return-2}b=b+4|0;break b}if(r[b|0]<=253){break c}}q[d>>2]=b;return 0}a=b+2|0;if((c-a|0)<2){break a}if(r[b+3|0]){b=a;break b}if(r[a|0]!=33){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[b+5|0]){b=a;break b}if(r[a|0]!=91){b=a;break b}b=b+6|0;e=e+1|0;break b}a=b+2|0;if((c-a|0)<2){break a}if(r[b+3|0]){b=a;break b}if(r[a|0]!=93){b=a;break b}a=b+4|0;if((c-a|0)<2){break a}if(r[b+5|0]){b=a;break b}if(r[a|0]!=62){b=a;break b}b=b+6|0;if(!e){q[d>>2]=b;return 42}e=e+ -1|0;break b}b=b+2|0}f=c-b|0;if((f|0)>1){continue}break}}return-1}function sl(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,r=0,s=0,t=0,u=0,w=0,x=0,z=0,A=0,B=0,C=0;j=q[e>>2];s=q[j+60>>2];t=q[j+52>>2];f=+(s+t|0)*.5;g=v[a>>3];u=q[j- -64>>2];w=q[j+56>>2];o=+(u+w|0)*.5;i=v[a+8>>3];h=v[a+16>>3]+(f*g+o*i);v[a+16>>3]=h;x=v[a+24>>3];k=v[a+32>>3];z=v[a+40>>3]+(f*x+o*k);v[a+40>>3]=z;j=a- -64|0;p=v[a+48>>3];l=o;o=v[a+56>>3];f=v[j>>3]+(f*p+l*o);v[j>>3]=f;a:{if(f<=0){break a}l=k;r=1/f;k=r*z;z=l-o*k;v[a+32>>3]=z;x=x-p*k;v[a+24>>3]=x;l=i;i=r*h;h=l-o*i;v[a+8>>3]=h;r=g-p*i;v[a>>3]=r;g=0;i=i*.125;if(!d){A=v[c+8>>3];g=v[c>>3]}i=i-g;if(!(y(i)<1e6)){break a}a=gc(i);k=k*.125-A;if(!(y(k)<1e6)){break a}j=gc(k);g=+(s-t|0)*.5+64;A=+(u-w|0)*.5+64;l=f-g*y(p)-A*y(o);f=f*.0625;f=.125/(l>f?l:f);g=g*f;r=r*g;if(!(y(r)<1e6)){break a}s=gc(r);f=A*f;h=h*f;if(!(y(h)<1e6)){break a}t=gc(h);h=x*g;if(!(y(h)<1e6)){break a}u=gc(h);h=z*f;if(!(y(h)<1e6)){break a}w=gc(h);m=w>>31;l=p;n=t>>31;B=n+t^n;n=s>>31;n=B+(n+s^n)|0;B=m^m+w;m=u>>31;m=B+(m+u^m)|0;p=+(((n|0)>(m|0)?n:m)|0)*8;g=l*(g*p);if(!(y(g)<1e6)){break a}m=gc(g);f=o*(f*p);if(!(y(f)<1e6)){break a}n=gc(f);if(!(!c|!d)){v[c+8>>3]=k- +(j|0);v[c>>3]=i- +(a|0)}q[b+4>>2]=j>>3;q[b>>2]=a>>3;q[e+32>>2]=n;q[e+28>>2]=m;q[e+24>>2]=w;q[e+20>>2]=u;q[e+16>>2]=t;q[e+12>>2]=s;q[e+8>>2]=j&7;q[e+4>>2]=a&7;C=1}return C}function zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,t=0,u=0,v=0;h=q[a+96>>2];l=q[h+(r[h+69|0]?80:72)>>2];if(b){i=l-q[h+72>>2]|0;while(1){k=(g<<2)+c|0;q[k>>2]=i+q[k>>2];g=g+1|0;if((g|0)!=(b|0)){continue}break}}g=f+l|0;a:{if(!d){break a}while(1){if(!r[h+68|0]){break a}f=(m<<2)+e|0;i=r[f|0]<<8|r[f+1|0];b:{if(i>>>0>=b>>>0|(q[a+124>>2]==(r[f+3|0]|r[f+2|0]<<8)?!i:0)){break b}o=(i<<2)+c|0;if(!rd(h,q[o>>2])|q[h+40>>2]<1){break a}l=q[a+132>>2];if(!l){break b}k=q[a+100>>2];if(!k){break b}j=r[f+2|0];s=r[f+3|0];t=q[(r[h+69|0]?80:72)+h>>2];u=q[h+72>>2];v=q[h+76>>2];p=q[a+96>>2];f=q[p+40>>2];q[p+40>>2]=f+ -1;if((f|0)<1){break b}q[a+132>>2]=l+ -1;f=n[k](a,s|j<<8)|0;q[a+132>>2]=q[a+132>>2]+1;if(!f){break b}j=(q[h+76>>2]+(q[(r[h+69|0]?80:72)+h>>2]+(u-(t+v|0)|0)|0)|0)-q[h+72>>2]|0;if(!j){break b}l=g+j|0;g=q[o>>2];if((l|0)<=(g|0)){break a}i=i+1|0;k=c;c:{if((j|0)>=1){f=b+j|0;g=i;if(f>>>0<=64){break c}g=l;break a}f=i-b|0;j=(j|0)<(f|0)?f:j;f=j+b|0;g=i-j|0}k=(g<<2)+k|0;sb(k+(j<<2)|0,k,b-g<<2);g=g+j|0;if(i>>>0>>0){b=q[o>>2];while(1){b=b+1|0;q[(i<<2)+c>>2]=b;i=i+1|0;if((i|0)!=(g|0)){continue}break}}if(g>>>0>>0){while(1){b=(g<<2)+c|0;q[b>>2]=q[b>>2]+j;g=g+1|0;if((g|0)!=(f|0)){continue}break}}g=l;b=f}m=m+1|0;if((m|0)!=(d|0)){continue}break}}rd(h,g);return 1}function $q(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;if((a|0)==(b|0)){return 1}a:{if(!a|!b){break a}h=q[a+4>>2];i=-1;e=-1;j=q[a+12>>2]+a|0;b:{c:{if(j){c=h+ -1|0;d:{e:{if((h|0)<1){e=c;break e}while(1){f=c>>1;e=f;if(!s[(c&-2)+j>>1]){break d}d=(c|0)>1;e=f+ -1|0;c=e;if(d){continue}break}}e=(e>>>31|0)+e^-1}c=0;if((e|0)>-1){break c}}c=e^-1;e=0;d=0;if((c|0)==(h|0)){break b}e=c;c=s[(c<<1)+j>>1]<<8}i=c;d=q[a+8>>2]+a|0;d=q[d+(e<<2)>>2]+d|0}g=d;k=q[b+4>>2];d=-1;l=q[b+12>>2]+b|0;f:{g:{if(l){c=k+ -1|0;h:{i:{if((k|0)<1){d=c;break i}while(1){d=c>>1;f=d;if(!s[(c&-2)+l>>1]){break h}f=(c|0)>1;d=d+ -1|0;c=d;if(f){continue}break}}f=(d>>>31|0)+d^-1}d=f;f=0;if((d|0)>-1){break g}}c=0;d=d^-1;if((k|0)==(d|0)){break f}f=s[(d<<1)+l>>1]<<8}c=q[b+8>>2]+b|0;c=q[c+(d<<2)>>2]+c|0;if(!g|!c){break f}while(1){if((f|0)!=(i|0)|q[g>>2]!=q[c>>2]|(q[g+4>>2]!=q[c+4>>2]|q[g+8>>2]!=q[c+8>>2])){break a}if(q[g+12>>2]!=q[c+12>>2]|q[g+16>>2]!=q[c+16>>2]|(q[g+20>>2]!=q[c+20>>2]|q[g+24>>2]!=q[c+24>>2])){break a}if(q[g+28>>2]!=q[c+28>>2]){break a}c=0;i=-1;g=0;f=e+1|0;if((f|0)<(h|0)){e=q[a+8>>2]+a|0;g=q[e+(f<<2)>>2]+e|0;i=s[(f<<1)+j>>1]<<8;e=f}d=d+1|0;if((d|0)>=(k|0)){break f}c=q[b+8>>2]+b|0;c=q[c+(d<<2)>>2]+c|0;if(!g){break f}f=s[(d<<1)+l>>1]<<8;if(c){continue}break}}m=(c|0)==(g|0)}return m}function qv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:if(!Tb(a+2|0,b,a)){break a}g=q[b+4>>2];d=a+4|0;if(g>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}h=r[a+5|0]|r[a+4|0]<<8;if(!h){break b}c=d+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<2){break b}c=1;e=r[a+5|0]|r[a+4|0]<<8;if(!e){break b}c=0;d:{while(1){if(!ov((d+(c<<1)|0)+2|0,b,a)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}return 1}break a;case 0:if(!Tb(a+2|0,b,a)){break a}if(!lf(a+4|0,b,a)){break a}f=q[b+4>>2];c=a+6|0;if(f>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break a}g=r[a+7|0]|r[a+6|0]<<8;if(!g){break b}c=a+8|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break b}c=1;e=r[a+7|0]|r[a+6|0]<<8;if(!e){break b}d=0;while(1){if(ov(((d<<1)+a|0)+8|0,b,a)){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}break a;case 1:break c}}c=JZ(a,b)}return c}return 0}function zt(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{c:{d:{i=(f|0)!=0&b;if((i|0)!=1){break d}j=ab(f,16);if(j){break d}j=0;break c}k=q[d+4>>2];q[a>>2]=q[d>>2];q[a+4>>2]=k;q[a+16>>2]=q[d+16>>2];k=q[d+12>>2];q[a+8>>2]=q[d+8>>2];q[a+12>>2]=k;q[a+24>>2]=f;q[a+20>>2]=b?j:e;if(i){b=Qa(j,e,f<<4);e=q[b+8>>2];i=0;while(1){d=0;if(e){q[b+8>>2]=1;d=1}if(q[b+12>>2]!=-1){q[b+12>>2]=2}e=d;i=i+1|0;if((i|0)!=(f|0)){continue}break}}q[a+36>>2]=0;q[a+40>>2]=0;Xv(c,1196643650,g,h,a+28|0);Xv(c,1196445523,g,h,a+32|0);e:{f:{d=bT();b=q[d+16>>2];if((b|0)==566){if(q[c+40>>2]){break e}while(1){if(!q[c+36>>2]){break f}b=q[c+40>>2];q[c+40>>2]=b?b:1;if(!b){break e}if(!q[c+40>>2]){continue}break}break e}if((b|0)!=567){break f}if(q[c+44>>2]){break a}while(1){if(!q[c+36>>2]){break f}b=q[c+44>>2];q[c+44>>2]=b?b:1;if(!b){break a}if(!q[c+44>>2]){continue}break}break a}b=q[d+36>>2];if((b|0)!=566){if((b|0)!=567){break c}if(q[c+44>>2]){break a}while(1){if(!q[c+36>>2]){break c}b=q[c+44>>2];q[c+44>>2]=b?b:1;if(!b){break a}if(!q[c+44>>2]){continue}break}break a}if(q[c+40>>2]){break e}while(1){if(!q[c+36>>2]){break c}b=q[c+40>>2];q[c+40>>2]=b?b:1;if(!b){break e}if(!q[c+40>>2]){continue}break}}break b}La(j);return 0}q[a+40>>2]=270503;q[a+36>>2]=566;return 1}q[a+40>>2]=270506;q[a+36>>2]=567;return 1}function Gv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(h>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}b:{c:{c=c+d|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0<=7){break c}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break c}if(!Dm(c+2|0,b,c)){break c}q[i+12>>2]=c;d=q[b+4>>2];e=c+6|0;if(d>>>0>e>>>0){break c}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break c}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break c}h=r[e+1|0]|r[e|0]<<8;if(!h){break b}j=d;d=e+2|0;if(j>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break c}q[b+12>>2]=g+ -2;if((g|0)<2){break c}g=r[e+1|0]|r[e|0]<<8;if(!g){break b}f=0;while(1){if(!Cm((e+(f<<2)|0)+2|0,b,c)){break c}f=f+1|0;if((g|0)!=(f|0)){continue}break}break b}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}e=1}Da=i+16|0;return e}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;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=z(f)-z(g)|0;if(f>>>0<=31){break h}break b}if((d|0)==1&c>>>0>=0|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Q$(a-w(b,c)|0,0);Ea=0;return b}e=d;if(!a){break g}if(!e){break f}f=e+ -1|0;if(f&e){break f}Q$(a,f&g);a=g>>>(U$(e)&31)|0;Ea=0;return a}f=e+ -1|0;if(!(f&e)){break e}j=(z(e)+33|0)-z(g)|0;h=0-j|0;break c}j=f+1|0;h=63-f|0;break c}a=(g>>>0)/(e>>>0)|0;Q$(0,g-w(a,e)|0);Ea=0;return a}f=z(e)-z(g)|0;if(f>>>0<31){break d}break b}Q$(a&f,0);if((e|0)==1){break a}c=a;a=U$(e);d=a&31;if(32<=(a&63)>>>0){f=0;a=b>>>d|0}else{f=b>>>d|0;a=((1<>>d}Ea=f;return a}j=f+1|0;h=63-f|0}e=b;g=a;f=j&63;i=f&31;if(32<=(f&63)>>>0){f=0;l=e>>>i|0}else{f=e>>>i|0;l=((1<>>i}a=h&63;h=a&31;if(32<=(a&63)>>>0){e=g<>>32-h|b<>>0<4294967295){g=g+1|0}h=e;while(1){e=l;f=f<<1|e>>>31;e=e<<1;k=f;f=b>>>31|e;m=k;e=k;k=f;i=g-((h>>>0>>0)+e|0)|0;e=i>>31;i=i>>31;f=c&i;l=k-f|0;f=m-((d&e)+(k>>>0>>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}}Q$(l,f);e=b<<1|a>>>31;a=k|a<<1;Ea=e|m;return a}Q$(a,b);a=0;b=0}Ea=b;return a}function Rt(a,b,c){var d=0,e=0,f=x(0),g=0,h=0,i=x(0),j=0,k=0,l=x(0),m=0,n=0;if(q[a+4>>2]){if(c){j=ab(c,4);g=ab(c,4);k=ab(c,4);if(!(k?!(!j|!g):0)){La(j);La(g);La(k);return}d=c<<2;Qa(j,b,d);Qa(g,b,d)}b=xU(q[a+16>>2]+116|0);b=t[b+16>>2]<8?271312:q[b+12>>2];d=r[b+6|0]<<8|r[b+7|0];e=d>>>0>>0?d:c;if(e){b=b+8|0;d=0;while(1){h=(d<<2)+g|0;m=h,n=wU(b,q[h>>2]),q[m>>2]=n;b=(r[b|0]<<10|r[b+1|0]<<2|2)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(c){b=0;while(1){d=yU(q[a+16>>2]+112|0);d=t[d+16>>2]<16?271312:q[d+12>>2];e=r[d+5|0]|r[d+4|0]<<8;d=(r[d+9|0]|r[d+8|0]<<8)>>>0>b>>>0?w(b,20)+(e?d+e|0:271312)|0:271312;e=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);f=x(x(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))*x(152587890625e-16));h=b<<2;e=q[h+g>>2];a:{if(!e){break a}l=x(e|0);if((e|0)<=-1){d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);i=x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16));f=x(f+x(x(x(f-(f<=i?f:i))*l)*x(6103515625e-14)));break a}d=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);i=x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16));f=x(f+x(x(x((f>=i?f:i)-f)*l)*x(6103515625e-14)))}u[k+h>>2]=f;b=b+1|0;if((c|0)!=(b|0)){continue}break}}La(g);La(q[a+64>>2]);La(q[a+68>>2]);q[a+68>>2]=k;q[a+64>>2]=j;q[a+60>>2]=c}}function Ju(a,b,c){var d=0,e=0;c=c+ -1|0;a:{if(c>>>0>7){break a}b:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return fv(a,b)}return ev(a,b);case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];return dv(a?d+a|0:271312,b);case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];return cv(a?d+a|0:271312,b);case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return bv(a,b);case 3:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}c:{switch(c-1|0){default:return Am(a,b);case 0:return ym(a,b);case 1:break c}}return xm(a,b);case 4:return Iu(a,b);case 5:if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);return Ju(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8);case 6:break b}}if((r[a+1|0]|r[a|0]<<8)!=1){break a}d=Xu(a,b)}return d}function Si(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,p=0,t=0,u=0,v=0;if(b>>>0>64){return 0}l=q[a+96>>2];i=q[l+72>>2];q[a+36>>2]=b+ -1;q[a>>2]=i;k=q[q[a+4>>2]+96>>2];q[a+40>>2]=q[k+76>>2];m=(i|0)==q[k+72>>2]?r[(q[k+88>>2]+w(i,20)|0)+15|0]:m;q[a+32>>2]=c;q[a+28>>2]=e;q[a+24>>2]=d;o[a+20|0]=m;c=q[l+88>>2]+w(i,20)|0;d=r[c+14|0];e=d&16;a:{b:{c:{if(r[c+12|0]&4){if(!e){c=d>>>5|0;break c}c=d>>>5|0;k=0;e=d&15;break a}c=d>>>5|0;if(!e){break c}k=0;break b}k=d&15}e=1}q[g>>2]=i;d:{e:{if(b>>>0<=1){d=q[a>>2];break e}u=(c|0)!=0&(k|0)!=0;m=1;while(1){if(!id(a)){break d}q[(m<<2)+g>>2]=q[a>>2];j=q[l+88>>2];d=q[a>>2];i=r[(j+w(d,20)|0)+14|0];n=i&16?0:i&15;i=i>>>5|0;f:{if(u){if(p>>>0>1|((k|0)==(n|0)?(c|0)==(i|0):0)){break f}if(!(p-1)){break d}i=q[l+80>>2];t=q[l+92>>2];while(1){if(!i){break d}i=i+ -1|0;n=t+w(i,20)|0;p=r[n+14|0];if((p>>>5|0)!=(c|0)){break d}if(p&15?!(p&16):0){continue}break}p=2;t=q[a+8>>2];i=s[n+12>>1];if(t&i&14){break f}if(!(i&8)){break d}if(mf(q[a+4>>2],q[n>>2],i,t)){break d}d=q[a>>2];j=q[l+88>>2];break f}if(!i|(c|0)==(i|0)){break f}if(n){break d}}i=1;j=w(d,20)+j|0;g:{if(!(r[j+12|0]&4)){break g}j=r[j+14|0];if(!(j&16)){break g}i=j&15}e=e+i|0;m=m+1|0;if((m|0)!=(b|0)){continue}break}}v=1;q[f>>2]=(d-q[l+72>>2]|0)+1;if(!h){break d}q[h>>2]=e}return v}function k_(a,b){var c=0,d=0,e=0,f=0,g=0;f=ub(b);q[a+28>>2]=f;a:{b:{c:{d:{e:{f:{while(1){g:{o[a+20|0]=d;e=q[f+12>>2];q[a+4>>2]=e;c=q[f+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break g}q[a+24>>2]=0;g=a;if(c>>>0>536870910){d=1073741823}else{d=c<<3;d=d>>>0>16384?d:16384;d=d>>>0<1073741823?d:1073741823}q[g+12>>2]=d;q[a>>2]=0;if(!e){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}if(c>>>0<4){break b}q[a+12>>2]=d+ -1;d=r[e|0]|r[e+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;if(d>>>0>1){break e}h:{if(d-1){c=Dv(e,a);d=q[a+24>>2]!=0;if(!c){break h}break f}c=Cv(e,a);d=q[a+24>>2]!=0;if(c){break f}}if(r[a+20|0]|!d){break c}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];f=q[a+28>>2];d=1;if(c){continue}break b}break}I(228734,228759,195,228776);F()}if(d){d=0;q[a+24>>2]=0;if(t[a+4>>2]>e>>>0){break c}c=q[a+8>>2];i:{if(c>>>0>>0|c-e>>>0<4){break i}c=q[a+12>>2];q[a+12>>2]=c+ -1;if((c|0)<1){break i}d=1;c=r[e|0]|r[e+1|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if(c>>>0>1){break i}if(c-1){d=Dv(e,a);break i}d=Cv(e,a)}c=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(c){break a}if(d){break d}break a}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}f=q[a+28>>2]}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}function kN(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;i=Da+ -64|0;k=g;g=g>>31;j=W$(k,g,d,d>>31);d=Ea+131072|0;d=(j>>>0<0?d+1|0:d)>>2;j=d>>16;d=d>>31;h=j+d^d;d=W$(k,g,c,c>>31);c=Ea+131072|0;c=(d>>>0<0?c+1|0:c)>>2;d=c>>16;c=c>>31;c=d+c^c;c=((c|0)>(h|0)?h:c)+2>>>2|0;p[i>>1]=c;p[i+32>>1]=0-c;p[i+34>>1]=d-c;p[i+2>>1]=c+d;h=d<<1;p[i+36>>1]=h-c;p[i+4>>1]=c+h;h=w(d,3);p[i+38>>1]=h-c;p[i+6>>1]=c+h;h=d<<2;p[i+40>>1]=h-c;p[i+8>>1]=c+h;h=w(d,5);p[i+42>>1]=h-c;p[i+10>>1]=c+h;h=w(d,6);p[i+44>>1]=h-c;p[i+12>>1]=c+h;h=w(d,7);p[i+46>>1]=h-c;p[i+14>>1]=c+h;h=d<<3;p[i+48>>1]=h-c;p[i+16>>1]=c+h;h=w(d,9);p[i+18>>1]=h+c;p[i+50>>1]=h-c;h=w(d,10);p[i+52>>1]=h-c;p[i+20>>1]=c+h;h=w(d,11);p[i+54>>1]=h-c;p[i+22>>1]=c+h;h=w(d,12);p[i+56>>1]=h-c;p[i+24>>1]=c+h;h=w(d,13);p[i+58>>1]=h-c;p[i+26>>1]=c+h;h=w(d,14);p[i+60>>1]=h-c;p[i+28>>1]=c+h;h=w(d,15);p[i+62>>1]=h-c;p[i+30>>1]=c+h;e=f<<21|e>>>11;e=W$(e,e>>31,k,g);c=Ea+4096|0;g=(((e>>>0<0?c+1|0:c)>>>13&65535)-(d+j>>>1|0)|0)+512|0;d=0;while(1){c=0;while(1){e=c<<1;f=g-s[e+i>>1]<<16>>16;f=(f|0)>0?f:0;e=g-s[e+(i+32|0)>>1]<<16>>16;e=(e|0)>0?e:0;o[a+c|0]=((f|0)<1023?f:1023)+((e|0)<1023?e:1023)>>>3;c=c+1|0;if((c|0)!=16){continue}break}a=a+b|0;g=(g<<16>>16)-j|0;d=d+1|0;if((d|0)!=16){continue}break}}function yz(a,b,c){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=q[a+16>>2];a=r[h+6|0]|r[h+7|0]<<8|(r[h+8|0]<<16|r[h+9|0]<<24);f=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=h+13|0;a=0;a:{while(1){e=-1;if(a>>>0>=f>>>0){break a}d=a+f>>>1|0;e=i+w(d,11)|0;g=e+ -3|0;g=r[g+1|0]<<8|r[g|0]<<16|r[g+2|0];if(g>>>0>c>>>0){f=d;continue}a=d+1|0;if(g>>>0>>0){continue}break}j=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);b:{a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}c=a+h|0;a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=c+7|0;f=0;while(1){if(f>>>0>=a>>>0){break b}c=a;a=a+f>>>1|0;g=i+(a<<2)|0;d=g+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];if(d>>>0>b>>>0){continue}e=1;f=a+1|0;a=c;if(d+r[g|0]>>>0>>0){continue}break}break a}a=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);c:{if(!a){break c}c=a+h|0;a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break c}g=c+7|0;f=0;while(1){d:{c=a+f>>>1|0;i=g+w(c,5)|0;d=i+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];e:{if(d>>>0>b>>>0){a=c;break e}if(d>>>0>=b>>>0){break d}f=c+1|0}if(f>>>0>>0){continue}break c}break}e=0;if(r[i+1|0]|r[i|0]<<8){break a}}e=-1}return e|0}function hg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da+ -64|0;Da=f;a:{b:{if(!q[160933]){while(1){b=Sa(28);c=q[160933];q[160933]=c?c:b;if(!c){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}d=643664;e=q[160932];if((e|0)>=1){while(1){i=e;e=e+ -1|0;g=e<<2;b=q[g+d>>2];if(!(!b|q[b>>2]+q[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=q[(b+g|0)+40>>2];if(q[b>>2]+q[b+8>>2]>>>0<=a>>>0?b:0){continue}break}d=c+40|0}if((i|0)>1){continue}break}}b=q[d>>2];if(!b|q[b>>2]+q[b+8>>2]>>>0<=a>>>0){break c}a=q[b+4>>2];q[b+4>>2]=a+ -1;if((a|0)!=1){break c}h=q[b>>2];c=q[160932];d:{if((c|0)>0){e=643664;d=c;while(1){g=d;d=d+ -1|0;j=d<<2;a=j+e|0;b=q[a>>2];if(!(!b|t[b>>2]>=h>>>0)){while(1){i=b;a=(b+j|0)+40|0;b=q[a>>2];if(t[b>>2]>>0?b:0){continue}break}e=i+40|0}q[f+j>>2]=a;if((g|0)>1){continue}break}a=q[e>>2];d=q[f>>2];e:{if((a|0)!=q[d>>2]){break e}b=0;while(1){q[d>>2]=q[((b<<2)+a|0)+40>>2];b=b+1|0;c=q[160932];if((b|0)>=(c|0)){break e}d=q[(b<<2)+f>>2];if(q[d>>2]==(a|0)){continue}break}}if((c|0)<1){break d}while(1){b=c+ -1|0;if(q[(b<<2)+643664>>2]){break d}q[160932]=b;d=(c|0)>1;c=b;if(d){continue}break}break d}a=q[160916]}if(a){b=q[a+12>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}La(a)}if(q[h>>2]!=-66913275){break c}La(h)}Da=f- -64|0}function sq(a,b,c,d){var e=0,f=0,g=0,h=0;f=1;a:{b:{c:{d:{e:{g=c-b|0;f:{if((g|0)<1){break f}h=a+72|0;e=r[h+r[b|0]|0]+ -5|0;if(e>>>0>25){break a}g:{h:{switch(e-1|0){default:f=2;e=-2;if((g|0)<2){break d}if(n[q[a+340>>2]](a,b)){break g}break a;case 0:f=3;e=-2;if((g|0)<3){break d}if(!n[q[a+344>>2]](a,b)){break a}break g;case 2:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 17:case 19:case 20:case 21:case 22:case 23:break a;case 3:case 4:case 15:case 24:break b;case 16:case 18:break g;case 1:break h}}f=4;e=-2;if((g|0)<4){break d}if(!n[q[a+348>>2]](a,b)){break a}}b=b+f|0;e=c-b|0;if((e|0)<1){break f}while(1){g=r[r[b|0]+h|0]+ -5|0;if(g>>>0>24){break c}f=1;i:{j:{switch(g-1|0){default:if((e|0)<2){return-2}f=2;if(n[q[a+328>>2]](a,b)){break i}break c;case 0:if((e|0)<3){return-2}f=3;if(!n[q[a+332>>2]](a,b)){break c}break i;case 16:case 18:case 19:case 20:case 21:break i;case 1:break j;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 22:case 23:break c;case 12:break e}}if((e|0)<4){return-2}f=4;if(!n[q[a+336>>2]](a,b)){break c}}b=b+f|0;e=c-b|0;if((e|0)>0){continue}break}}return-1}q[d>>2]=b+1;e=28}return e}q[d>>2]=b;return 0}q[d>>2]=b;return 22}q[d>>2]=b;return 0}function zz(a,b,c,d){a=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=q[a+16>>2];a=r[i+6|0]|r[i+7|0]<<8|(r[i+8|0]<<16|r[i+9|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);j=i+13|0;a=0;a:{b:{while(1){if(a>>>0>=g>>>0){break b}f=a+g>>>1|0;e=j+w(f,11)|0;h=e+ -3|0;h=r[h+1|0]<<8|r[h|0]<<16|r[h+2|0];if(h>>>0>d>>>0){g=f;continue}a=f+1|0;if(h>>>0>>0){continue}break}j=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);c:{a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break c}d=a+i|0;a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(g>>>0>=a>>>0){break c}d=a;a=a+g>>>1|0;e=h+(a<<2)|0;f=e+ -3|0;f=r[f+1|0]<<8|r[f|0]<<16|r[f+2|0];if(f>>>0>c>>>0){continue}g=a+1|0;a=d;if(f+r[e|0]>>>0>>0){continue}break}return n[q[q[b+12>>2]+12>>2]](b,c)|0}a=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);if(!a){break b}b=a+i|0;a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}f=b+7|0;g=0;while(1){b=a+g>>>1|0;e=f+w(b,5)|0;d=e+ -3|0;d=r[d+1|0]<<8|r[d|0]<<16|r[d+2|0];d:{if(d>>>0>c>>>0){a=b;break d}if(d>>>0>=c>>>0){break a}g=b+1|0}if(g>>>0>>0){continue}break}}return 0}return r[e+1|0]|r[e|0]<<8}function iV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-48|0;Da=d;q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;b=hV(d+8|0,Jb(b,1886352244));q[a>>2]=b;b=b?b:271312;e=q[b+16>>2];c=e>>>0<32?271312:q[b+12>>2];b=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);q[a+4>>2]=b;a:{if((b|0)!=131072){break a}b=c+32|0;q[a+8>>2]=b;b=(b+(r[c+33|0]<<1|r[c+32|0]<<9)|0)+2|0;q[a+24>>2]=b;h=c+e|0;if(b>>>0>=h>>>0){break a}f=q[a+16>>2];if(f>>>0>65534){break a}i=q[67828];while(1){if(r[b|0]+b>>>0>=h>>>0){break a}j=b-q[a+24>>2]|0;b:{c:{d:{e=q[a+12>>2];if((e|0)>=0){c=e;g=(f|0)<0?0:f+1|0;if(c>>>0>=g>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=g>>>0){continue}break}if(!(c>>>0>>0|c>>>0>1073741822)){e=db(q[a+20>>2],c<<2);if(e){break d}}q[a+12>>2]=-1}q[160744]=i;c=642976;break b}q[a+12>>2]=c;q[a+20>>2]=e;f=q[a+16>>2]}if(g>>>0>f>>>0){Na(q[a+20>>2]+(f<<2)|0,0,g-f<<2)}q[a+16>>2]=g;c=(q[a+20>>2]+(g<<2)|0)+ -4|0}q[c>>2]=j;b=(r[b|0]+b|0)+1|0;if(b>>>0>=h>>>0){break a}f=q[a+16>>2];if(f>>>0<65535){continue}break}}Da=d+48|0}function Ni(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;a:{k=q[b+4>>2];if(k>>>0>a>>>0){break a}h=q[b+8>>2];if(h>>>0>>0){break a}e=h-a|0;if(e>>>0<5){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;b:{c:{if((c|0)>=1){c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=!c;if(!c|e>>>0<5){break b}break c}if(e>>>0>=5){break c}break a}d=q[b+12>>2];j=d+ -1|0;q[b+12>>2]=j;if((d|0)<1){break a}e=r[a+4|0];if((e+ -1&255)>>>0>3){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);i=c+1|0;if(!(i>>>0>>0|4294967295/(i>>>0)>>>0>e>>>0)){break a}f=0;g=w(e,i);if((g|0)==-1){break b}if(g){c=a+5|0;if(k>>>0>c>>>0|h>>>0>>0|h-c>>>0>>0){break b}j=d+ -2|0;q[b+12>>2]=j;if((d|0)<2){break b}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);i=c+1|0;m=w(e,i)}d=-1;d:{if((c|0)==-1){break d}g=0;while(1){f=(w(e,g)+a|0)+5|0;d=0;c=e;while(1){d=r[f|0]|d<<8;f=f+1|0;c=c+ -1|0;if(c){continue}break}l=d>>>0>l>>>0?d:l;g=g+1|0;if((i|0)!=(g|0)){continue}break}d=l+ -1|0;if(d){break d}return 1}f=0;a=(a+m|0)+5|0;if((d|0)==-1|k>>>0>a>>>0|(d+d>>>0>>0|h>>>0>>0)){break b}if(h-a>>>0>>0){break b}q[b+12>>2]=j+ -1;f=(j|0)>0}return f}return 0}function Mq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Da-112|0;Da=c;a:{if(!a|!r[a|0]){break a}Bk();b:{c:{d:{e:{if(!dd(a,485576)){break e}if(!dd(a,485578)){break e}if(!dd(a,485586)){break e}if(dd(a,485593)){break d}}b=eb(485599);break c}f:{d=eb(a);if(d){f=Pb(d,64);g=0;g:{if(!f){break g}o[f|0]=0;b=f+1|0;g=Wa(b)}e=Pb(d,46);h:{if(!e){f=b;break h}f=0;o[e|0]=0;if(!b){break h}f=e+1|0;sb(f,b,g+1|0)}i:{j:{b=Pb(d,95);if(b){break j}b=Pb(d,45);if(b){break j}e=0;h=0;break i}o[b|0]=0;e=b+1|0;h=Wa(e)}if((Wa(d)&-2)!=2){q[c+96>>2]=a;b=0;Mc(q[126999],485602,c+96|0);break f}if(!(!e|(h&-2)==2|(r[e|0]==122?h>>>0<=4:0))){q[c+80>>2]=a;b=0;Mc(q[126999],485661,c+80|0);La(d);break c}if(e){o[e+ -1|0]=45}if(f){o[f+ -1|0]=64}b=CL(d);if(!b){b=0;La(d);break c}k:{l:{m:{if(e){if(r[643741]&8){q[c+64>>2]=d;Ua(485718,c- -64|0)}if((xe(d)|0)>-1){break k}sb(e+ -1|0,e+h|0,g?g+2|0:1);if(f){break m}break l}e=f;if(!e){break l}}if(r[643741]&8){q[c+48>>2]=d;Ua(485718,c+48|0)}if((xe(d)|0)>-1){break k}o[e+ -1|0]=0}if(r[643741]&8){q[c+32>>2]=d;Ua(485718,c+32|0)}if((xe(d)|0)<0){break f}}La(b);b=d;break c}if(!(r[643741]&8)){break a}break b}La(d)}if(!(r[643741]&8)){break a}if(!b){break b}q[c+20>>2]=b;q[c+16>>2]=a;Ua(485753,c+16|0);break a}q[c>>2]=a;Ua(485775,c);b=0}Da=c+112|0;return b}function nE(a){a=a|0;var b=0,c=0,d=0;if(a){c=q[a+100>>2];b=q[a+548>>2];if(b){if(b){n[q[c+8>>2]](c,b)}q[a+544>>2]=0;q[a+548>>2]=0}Bg(a);q[a+532>>2]=0;b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+148>>2];if(b){n[q[c+8>>2]](c,b)}q[a+148>>2]=0;b=q[a+432>>2];if(b){n[q[c+8>>2]](c,b)}q[a+432>>2]=0;b=q[a+428>>2];if(b){n[q[c+8>>2]](c,b)}q[a+428>>2]=0;b=q[a+424>>2];if(b){n[q[c+8>>2]](c,b)}q[a+424>>2]=0;b=q[a+408>>2];if(b){n[q[c+8>>2]](c,b)}q[a+408>>2]=0;b=q[a+412>>2];if(b){n[q[c+8>>2]](c,b)}q[a+412>>2]=0;ei(q[a+416>>2],c);b=q[a+416>>2];if(b){n[q[c+8>>2]](c,b)}q[a+416>>2]=0;b=q[a+392>>2];if(b){n[q[c+8>>2]](c,b)}q[a+392>>2]=0;b=q[a+396>>2];if(b){n[q[c+8>>2]](c,b)}q[a+396>>2]=0;b=q[a+400>>2];if(b){n[q[c+8>>2]](c,b)}q[a+400>>2]=0;b=q[a+384>>2];if(b){n[q[c+8>>2]](c,b)}q[a+384>>2]=0;b=q[a+388>>2];if(b){n[q[c+8>>2]](c,b)}q[a+388>>2]=0;b=q[a+364>>2];if(b){n[q[c+8>>2]](c,b)}q[a+364>>2]=0;b=q[a+496>>2];if(b){d=q[b+36>>2];if(d){n[q[c+8>>2]](c,d)}q[b+36>>2]=0;q[b+40>>2]=0;d=q[b+28>>2];if(d){n[q[c+8>>2]](c,d)}q[b+28>>2]=0;q[b+32>>2]=0;if(b){n[q[c+8>>2]](c,b)}}q[a+20>>2]=0;q[a+24>>2]=0}}function Lw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Da-16|0;Da=l;m=q[b+4>>2];a:{if(m>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}k=q[b+12>>2];q[b+12>>2]=k+ -1;if((k|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(i>>>0<6){break a}g=r[a+3|0];j=r[a+2|0];e=g|j<<8;if(4294967295/(i>>>0)>>>0<=e>>>0){break a}i=w(e,i);if(i){e=a+10|0;if(m>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=k+ -2;if((k|0)<2){break a}g=r[a+3|0];j=r[a+2|0];e=g|j<<8}b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}h=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+h|0;if(!i){h=1;break a}k=a+10|0;h=0;while(1){c:{m=q[b+4>>2];g=j<<8|g;f=0;d:{if(!g){break d}e=k+w(g+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[e|0]<<8|r[e+1|0])!=65535){break d}f=(r[e+3|0]|r[e+2|0]<<8)==65535?-1:0}e=271312;e:{if(f+g>>>0<=h>>>0){break e}e=k+w(r[a+1|0]|r[a|0]<<8,h)|0}if(m>>>0>e>>>0){break c}f=q[b+8>>2];if(f>>>0>>0|f-e>>>0<=5){break c}f=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break c}g=r[e+1|0]|r[e|0]<<8;j=r[e+3|0]|r[e+2|0]<<8;if(g>>>0>>0){break c}q[l+12>>2]=(g-j|0)+1;if(!Jw(e+4|0,b,f,l+12|0,d)){break c}h=h+1|0;if((i|0)==(h|0)){h=1;break a}else{g=r[a+3|0];j=r[a+2|0];continue}}break}h=0}Da=l+16|0;return h}function Ae(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0;k=Da-32|0;Da=k;n=v[(i<<3)+h>>3];r=(e+g)*n;n=(d+f)*n;a:{if(i){i=i+ -1|0;l=0;if(!Ae(a,b,c,d,e,n,r,h,i,j)){break a}l=Ae(a,b,c,n,r,f,g,h,i,j);break a}e=v[a+24>>3]*e;b:{if(y(e)<2147483648){i=~~e;break b}i=-2147483648}m=j&1;d=v[a+16>>3]*d;c:{if(y(d)<2147483648){h=~~d;break c}h=-2147483648}if(m){q[k+28>>2]=c+i;q[k+24>>2]=b+h;p=q[a>>2];o=q[k+28>>2];q[k+16>>2]=q[k+24>>2];q[k+20>>2]=o;l=0;if(!qb(p,k+16|0,2)){break a}}p=j&2;if(p){q[k+28>>2]=c-i;q[k+24>>2]=b-h;i=q[a+4>>2];h=q[k+28>>2];q[k+8>>2]=q[k+24>>2];q[k+12>>2]=h;l=0;if(!qb(i,k+8|0,2)){break a}}d=r*v[a+24>>3];d:{if(y(d)<2147483648){o=~~d;break d}o=-2147483648}d=n*v[a+16>>3];e:{if(y(d)<2147483648){j=~~d;break e}j=-2147483648}if(m){m=q[a>>2];i=q[m>>2];h=q[m+4>>2];if(i>>>0>=h>>>0){q[160942]=0;h=h<<1;s=m,t=qc(q[m+16>>2],h,8),q[s+16>>2]=t;l=0;if(q[160942]){break a}q[m+4>>2]=h;i=q[m>>2]}i=q[m+16>>2]+(i<<3)|0;q[i>>2]=b+j;q[i+4>>2]=c+o;q[m>>2]=q[m>>2]+1}l=1;if(!p){break a}i=q[a+4>>2];a=q[i>>2];h=q[i+4>>2];if(a>>>0>=h>>>0){q[160942]=0;a=h<<1;s=i,t=qc(q[i+16>>2],a,8),q[s+16>>2]=t;l=0;if(q[160942]){break a}q[i+4>>2]=a;a=q[i>>2]}h=q[i+16>>2]+(a<<3)|0;q[h>>2]=b-j;q[h+4>>2]=c-o;q[i>>2]=q[i>>2]+1;l=1}a=l;Da=k+32|0;return a}function xy(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;j=3;a:{if((d|0)<0){break a}g=q[a+12>>2];f=s[g>>1];h=q[a+8>>2];if((e|0)<0|f+e>>>0>t[h>>2]){break a}g=s[g+2>>1];if(g+d>>>0>t[h+4>>2]){break a}g=w(g,r[a+18|0]);if(w(g+7>>>3|0,f)+b>>>0>c>>>0){break a}k=q[h+8>>2];c=q[h+12>>2]+(w(k,e)+(d>>>3|0)|0)|0;b:{i=d&7;if(i){if(!f){return 0}if(g>>>0<=7){break b}while(1){d=0;e=g;a=c;while(1){h=a;j=b;d=r[b|0]|d;o[a|0]=r[a|0]|d>>>i;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=r[j+1|0]&65280>>>e|d;b=j+2|0}o[a|0]=r[a|0]|d>>>i;if((e+i|0)>=9){o[h+2|0]=r[h+2|0]|d<<8>>>i}c=c+k|0;a=f;f=f+ -1|0;j=0;if((a|0)>1){continue}break}break a}j=0;if(!f){break a}if(g>>>0>7){while(1){a=f;d=g;f=c;while(1){e=b;o[f|0]=r[e|0]|r[f|0];h=d;d=d+ -8|0;f=f+1|0;b=e+1|0;if((h|0)>15){continue}break}if((h|0)>8){o[f|0]=r[f|0]|r[e+1|0]&65280>>>d;b=e+2|0}c=c+k|0;f=a+ -1|0;if((a|0)>1){continue}break a}}a=65280>>>g|0;while(1){if(g){o[c|0]=r[c|0]|a&r[b|0];b=b+1|0}c=c+k|0;d=(f|0)>1;f=f+ -1|0;if(d){continue}break}break a}a=65280>>>g|0;e=g+i>>>0<9;while(1){c:{if(!g){d=0;break c}d=a&r[b|0];b=b+1|0}o[c|0]=r[c|0]|d>>>i;if(!e){o[c+1|0]=r[c+1|0]|d<<8>>>i}c=c+k|0;d=(f|0)>1;j=0;f=f+ -1|0;if(d){continue}break}}return j|0}function BB(a,b,c,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=Da-16|0;Da=g;b=q[b>>2];q[g+12>>2]=0;a:{if(!b){b=35;q[g+12>>2]=35;break a}f=q[b+132>>2];if(!(t[b+16>>2]>c>>>0?f:0)){b=6;q[g+12>>2]=6;break a}b:{e=c?c+ -1|0:r[f+106|0];c=s[f+4>>1];b=(c|0)==768;e=w(e,b?6:4)+(b?148:118)|0;i=q[f+8>>2];if(e>>>0>=(i+(b?-4:-2)|0)+ -2>>>0){break b}b=e+q[f+160>>2]|0;h=r[b|0]|r[b+1|0]<<8;q[a+80>>2]=h;b=b+2|0;e=r[b|0];if((c|0)==768){b=r[b+2|0]<<16|r[b+3|0]<<24|r[b+1|0]<<8}else{b=r[b+1|0]<<8}c=e|b;if(c>>>0>=i>>>0){break b}e=s[f+96>>1];b=0;q[a+100>>2]=0;o[a+94|0]=1;q[a+76>>2]=e;i=s[f+80>>1];q[a+72>>2]=1651078259;q[a+104>>2]=i;h=h<<6;q[a+40>>2]=h;e=e<<6;q[a+28>>2]=e;q[a+24>>2]=h;q[a+32>>2]=0;q[a+36>>2]=i<<6;Sf(a+24|0,e);if(d&4194304){break a}b=3;e=q[q[a+4>>2]+100>>2];i=q[f+160>>2];d=q[a+80>>2]+7>>>3|0;q[a+84>>2]=d;c:{if(d){h=q[a+76>>2];if(c+w(h,d)>>>0<=t[f+8>>2]){break c}}q[g+12>>2]=3;break a}f=Oa(e,d,0,h,0,g+12|0);q[a+88>>2]=f;b=q[g+12>>2];if(b){break a}b=c+i|0;while(1){c=q[a+76>>2];if((c|0)>=1){c=b+c|0;e=b+1|0;e=c>>>0>e>>>0?c:e;c=f;while(1){o[c|0]=r[b|0];c=q[a+84>>2]+c|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=e}f=f+1|0;d=d+ -1|0;if(d){continue}break}b=q[g+12>>2];q[q[a+156>>2]+4>>2]=1;break a}b=3;q[g+12>>2]=3}Da=g+16|0;return b|0}function QO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=Da-48|0;Da=i;q[e>>2]=0;a:{if(c>>>0<=31){q[d>>2]=0;break a}g=q[b+108>>2];if(!g){q[d>>2]=0;break a}h=(c|0)==160?32:c;c=q[d>>2];if((c|0)<(g|0)){f=h;c=q[((c<<2)+b|0)- -64>>2];g=q[c+92>>2];if(g){f=q[g+4>>2]==1937337698?h|61440:h}f=Ub(c,f);g=q[b+108>>2]}b:{c:{if(!((g|0)<1|f)){g=h|61440;c=0;while(1){f=h;j=q[((c<<2)+b|0)- -64>>2];k=q[j+92>>2];if(k){f=q[k+4>>2]==1937337698?g:h}f=Ub(j,f);if(f){q[d>>2]=c;break b}c=c+1|0;if((c|0)>2]){continue}break}break c}if(f){break b}}c=q[b+16>>2];f=q[b+8>>2];g=q[b+4>>2];q[i+36>>2]=q[b>>2];q[i+40>>2]=g;q[i+44>>2]=f;q[i+32>>2]=h;hb(c,4,354929,i+32|0);a=Sr(a,b,h);q[d>>2]=a;f=0;if((a|0)<0){break b}f=h;a=q[((a<<2)+b|0)- -64>>2];c=q[a+92>>2];if(c){f=q[c+4>>2]==1937337698?h|61440:h}f=Ub(a,f);if(f){break b}d:{if(q[a+36>>2]<1){break d}c=q[b+16>>2];q[i+16>>2]=h;hb(c,2,354992,i+16|0);if(q[a+36>>2]<1){break d}j=h|61440;g=0;while(1){$d(a,q[q[a+40>>2]+(g<<2)>>2]);f=a;c=q[a+92>>2];if(c){c=q[c+4>>2]==1937337698?j:h}else{c=h}f=Ub(f,c);if(f){break b}g=g+1|0;if((g|0)>2]){continue}break}}a=q[b+16>>2];c=q[b+8>>2];f=q[b+4>>2];q[i+4>>2]=q[b>>2];q[i+8>>2]=f;q[i+12>>2]=c;q[i>>2]=h;hb(a,1,355047,i);f=0}a=q[d>>2];q[d>>2]=(a|0)>0?a:0;q[e>>2]=f}Da=i+48|0}function hd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+12>>2])}b=q[a+84>>2];if(b){n[b](q[a+16>>2])}b=q[a+88>>2];if(b){n[b](q[a+20>>2])}b=q[a+92>>2];if(b){n[b](q[a+24>>2])}b=q[a+96>>2];if(b){n[b](q[a+28>>2])}b=q[a+100>>2];if(b){n[b](q[a+32>>2])}b=q[a+104>>2];if(b){n[b](q[a+36>>2])}b=q[a+108>>2];if(b){n[b](q[a+40>>2])}b=q[a+112>>2];if(b){n[b](q[a+44>>2])}b=q[a+116>>2];if(b){n[b](q[a+48>>2])}b=q[a+120>>2];if(b){n[b](q[a+52>>2])}b=q[a+124>>2];if(b){n[b](q[a+56>>2])}b=q[a+128>>2];if(b){n[b](q[a+60>>2])}b=q[a+132>>2];if(b){n[b](q[a- -64>>2])}b=q[a+136>>2];if(b){n[b](q[a+68>>2])}b=q[a+140>>2];if(b){n[b](q[a+72>>2])}b=q[a+144>>2];if(b){n[b](q[a+76>>2])}La(a)}return}I(250950,250975,279,251010);F()}function Nn(a){var b=0,c=0,d=0,e=0,f=0;if(a){d=q[a+100>>2];b=d;e=q[a>>2];if(e){n[q[b+8>>2]](b,e)}q[a>>2]=0;b=q[a+92>>2];if(b){ei(b,d);b=q[a+92>>2];if(b){n[q[d+8>>2]](d,b)}q[a+92>>2]=0}b=q[a+84>>2];if(b){n[q[d+8>>2]](d,b)}q[a+84>>2]=0;e=q[a+72>>2];if(e){while(1){b=c<<4;f=b+q[a+80>>2]|0;if(q[f+4>>2]==1){e=q[f+12>>2];if(e){n[q[d+8>>2]](d,e)}q[(b+q[a+80>>2]|0)+12>>2]=0;e=q[a+72>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}b=q[a+80>>2];if(b){n[q[d+8>>2]](d,b)}q[a+80>>2]=0;if(q[a+52>>2]){c=q[a+56>>2];e=0;while(1){b=d;f=q[c>>2];if(f){n[q[b+8>>2]](b,f)}q[c>>2]=0;b=q[c+24>>2];if(b){n[q[d+8>>2]](d,b)}q[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(q[a+64>>2]){c=q[a+68>>2];e=0;while(1){b=d;f=q[c>>2];if(f){n[q[b+8>>2]](b,f)}q[c>>2]=0;b=q[c+24>>2];if(b){n[q[d+8>>2]](d,b)}q[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;c=q[a+56>>2];if(c){n[q[b+8>>2]](b,c)}e=0;q[a+56>>2]=0;c=q[a+68>>2];if(c){n[q[b+8>>2]](b,c)}q[a+68>>2]=0;ei(a+112|0,b);c=q[a+104>>2];if(q[a+108>>2]){while(1){f=q[c>>2];if(f){n[q[d+8>>2]](d,f)}q[c>>2]=0;if(q[c+4>>2]==1){f=q[c+12>>2];if(f){n[q[d+8>>2]](d,f)}q[c+12>>2]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}c=q[a+104>>2]}if(c){n[q[b+8>>2]](b,c)}q[a+104>>2]=0}}function JL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Da-32|0;Da=c;q[c+28>>2]=0;q[c+24>>2]=0;q[c+20>>2]=0;q[c+16>>2]=0;q[c+12>>2]=0;q[c+8>>2]=0;a:{if(_r(c+24|0)){break a}if(!Th(q[c+24>>2],a,0,c+28|0)){e=q[c+28>>2];l=q[e>>2];d=q[e+12>>2]>>16;g=0;b:{if(!d){break b}Pl(e,c+8|0);g=q[c+8>>2]?d:0}d=0;while(1){c:{d:{if(!(d>>>0<=g>>>0?(d|0)!=32768:0)){Xs(q[c+28>>2],0,0);break d}if(!d){break d}f=q[c+8>>2];i=q[f>>2];e=0;if(!i){break c}j=q[(q[f+16>>2]+w(d,12)|0)+ -12>>2];f=q[f+12>>2];e=0;e:{while(1){if(q[(e<<2)+j>>2]!=q[(w(e,24)+f|0)+8>>2]){break e}e=e+1|0;if(e>>>0>>0){continue}break}e=0;break c}Xs(q[c+28>>2],i,j)}f=ML(q[c+28>>2],a,(d<<16)+h|0,c+20|0,c+16|0,c+12|0);if(f){k=k+1|0;if(b){e=0;if(wi(b,f)){break c}}ie(f);e=0;break c}e=(d|0)!=32768}f:{g:{if(d>>>0>>0){d=d+1|0;break g}f=(d|0)==(g|0);d=32768;if(f){break g}La(q[c+12>>2]);q[c+12>>2]=0;Sd(q[c+16>>2]);q[c+16>>2]=0;Xc(q[c+20>>2]);q[c+20>>2]=0;se(q[c+28>>2]);q[c+28>>2]=0;d=0;h=h+1|0;f=3;if(Th(q[c+24>>2],a,h,c+28|0)){break f}}f=0}if(!(e|f|h>>>0>=l>>>0)){if(!h|1){continue}}break}d=q[c+8>>2]}a=q[c+24>>2];if(a){a=q[a>>2];if(d){n[q[a+8>>2]](a,d)}}Sd(q[c+16>>2]);Xc(q[c+20>>2]);a=q[c+28>>2];if(a){se(a)}Ci(q[c+24>>2]);a=q[c+12>>2];if(!a){break a}La(a)}Da=c+32|0;return k}function CZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=q[b+4>>2];b:{if(i>>>0>a>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break b}h=q[b+12>>2];e=h+ -1|0;q[b+12>>2]=e;if((h|0)<1){break b}k=i;c=r[a+1|0];f=r[a|0];g=c|f<<8;if(g){c=a+2|0;if(i>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}e=h+ -2|0;q[b+12>>2]=e;if((h|0)<2){break b}f=r[a|0];c=r[a+1|0]}a=((c<<1|f<<9)+a|0)+2|0;if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<2){break b}f=e+ -1|0;q[b+12>>2]=f;if((e|0)<1){break b}h=i;c=r[a+1|0]|r[a|0]<<8;g=0;c:{if(!c){break c}c=c+ -1|0;if(c>>>0>2147483646){break b}g=1;if(!c){break c}f=a+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break b}f=e+ -2|0;q[b+12>>2]=f;if((e|0)<2){break b}g=r[a+1|0]|r[a|0]<<8}c=(g?g<<1:2)+a|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}e=f+ -1|0;q[b+12>>2]=e;if((f|0)<1){break a}h=i;a=r[c+1|0];j=r[c|0];g=a|j<<8;if(g){a=c+2|0;if(i>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}e=f+ -2|0;q[b+12>>2]=e;if((f|0)<2){break a}j=r[c|0];a=r[c+1|0]}a=(c+(a<<1|j<<9)|0)+2|0;if(h>>>0>a>>>0|d>>>0>>0|d-a>>>0<2){break a}q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h){a=a+2|0;if(i>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -2;j=0;if((e|0)<2){break b}}j=1}return j}return 0}function ll(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=Da-48|0;Da=g;p=q[b+12>>2];l=q[b+4>>2];c=p-l|0;u=c;v=c>>31;r=q[b+20>>2];c=r-l|0;k=c;i=c>>31;d=W$(u,v,c,i);j=Ea;a:{b:{f=d;s=q[b+8>>2];m=q[b>>2];d=s-m|0;w=d;x=d>>31;t=q[b+16>>2];e=t-m|0;d=e;n=d;o=d>>31;h=W$(w,x,d,o);f=f+h|0;d=Ea+j|0;d=f>>>0>>0?d+1|0:d;j=q[a>>2];e=e>>31;e=n+e^e;c=c>>31;c=k+c^c;e=W$(j,j>>31,(e|0)>(c|0)?e:c,0);c=d;j=Ea;h=0-(j+(0>>0)|0)|0;if((c|0)<(h|0)?1:(c|0)<=(h|0)?f>>>0>=0-e>>>0?0:1:0){break b}d=W$(k,i,k,i);h=Ea;z=f;y=W$(n,o,n,o);f=y+d|0;d=Ea+h|0;d=f>>>0>>0?d+1|0:d;h=f+e|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;if((c|0)>(d|0)?1:(c|0)>=(d|0)?z>>>0<=h>>>0?0:1:0){break b}c=W$(n,o,u,v);d=Ea;f=W$(k,i,w,x);h=d;d=c;c=h-(Ea+(c>>>0>>0)|0)|0;i=d-f|0;f=c;d=c>>31;c=c>>31;k=d+f|0;i=c+i|0;if(i>>>0>>0){k=k+1|0}f=(c^i)>>>0<=e>>>0?0:1;c=d^k;if((c|0)>(j|0)?1:(c|0)>=(j|0)?f:0){break b}b=jl(a,m,l,t,r);break a}c=p+r|0;q[g+28>>2]=c>>1;d=c;c=l+p|0;q[g+20>>2]=(d+c|0)+2>>2;d=s+t|0;q[g+24>>2]=d>>1;q[g+12>>2]=c>>1;c=m+s|0;q[g+8>>2]=c>>1;q[g+16>>2]=(d+c|0)+2>>2;c=q[b+4>>2];q[g>>2]=q[b>>2];q[g+4>>2]=c;c=q[b+20>>2];q[g+32>>2]=q[b+16>>2];q[g+36>>2]=c;b=0;if(!ll(a,g)){break a}b=ll(a,g+16|0)}Da=g+48|0;return b}function tV(a,b,c){var d=0,e=0,h=0,i=0,j=0;a:{b:{c:{d:{d=a+ -18|0;if(d>>>0>12){break d}e:{switch(d-1|0){default:j=c;d=q[b+24>>2];f:{if(d){h=d+ -1|0;q[b+24>>2]=h;if(t[b+32>>2]<=h>>>0){d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);e=+g();break f}e=v[q[b+36>>2]+(h<<3)>>3];break f}o[b+20|0]=1;d=q[67829];i=q[67828];q[160744]=i;q[160745]=d;f(0,i|0);f(1,d|0);e=+g()}g:{if(y(e)<2147483648){d=~~e;break g}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+16>>2]=d;h:{if(h){d=h+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;f(0,h|0);f(1,d|0);e=+g();break h}e=v[q[b+36>>2]+(d<<3)>>3];break h}o[b+20|0]=1;d=q[67829];h=q[67828];q[160744]=h;q[160745]=d;f(0,h|0);f(1,d|0);e=+g()}i:{if(y(e)<2147483648){d=~~e;break i}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+20>>2]=d;q[b+24>>2]=0;break b;case 10:hh(b+20|0,b);break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break d;case 11:break e}}e=ih(b);d=q[b+24>>2];if(d>>>0>2]){q[b+24>>2]=d+1;v[q[b+36>>2]+(d<<3)>>3]=e;break c}o[b+20|0]=1;d=q[67829];q[160744]=q[67828];q[160745]=d;v[80372]=e;break c}qg(a,b)}if(q[b+24>>2]){break a}}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function xt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{c:{d:{c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)<=1953658212){if((c|0)==256){break b}if((c|0)==65536|(c|0)==1330926671){break d}g=1;break a}if((c|0)==1954115633){break d}if((c|0)==1953784678){break c}if((c|0)==1953658213){break d}g=1;break a}if(i>>>0<12){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=a+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<8){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+5|0]|r[a+4|0]<<8;if(c){a=a+12|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;if((d|0)<4){break a}}g=1;break a}c=a+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}g=1;if((r[a+5|0]|r[a+4|0]<<8)+ -1>>>0>1){break a}q[f+12>>2]=a;g=QS(a+8|0,b,f+12|0);break a}if(i>>>0<=15){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}if(!PS(a,b,a,a+8|0)){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[f+8>>2]=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a;g=OS(a+4|0,b,a,f+8|0)}Da=f+16|0;return g}function sP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Da-432|0;Da=f;a:{b=Kb(354161);if(!b){break a}while(1){b:{c:{c=r[b|0];if(c>>>0>9){if((c|0)==32){break b}break c}switch(c-1|0){case 8:break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break a}}h=b+128|0;d=0;e=b;d:{while(1){e:{f:{g=c&255;if(!(!g|(g|0)==58)){o[(f+288|0)+d|0]=c;d=d+1|0;if((d|0)!=128){break f}d=128;e=h}o[(f+288|0)+d|0]=0;if((b|0)==(e|0)|r[e|0]!=58){break a}h=e+129|0;b=1;g=e+1|0;c=0;while(1){d=r[g|0];if(!d|(d|0)==61){break e}o[(f+144|0)+c|0]=d;b=b+1|0;g=e+b|0;d=128;c=c+1|0;if((c|0)!=128){continue}break}b=129;break d}e=e+1|0;c=r[e|0];continue}break}d=c;h=g}o[(f+144|0)+d|0]=0;if((b|0)==1|r[h|0]!=61){break a}e=h+129|0;d=1;b=h+1|0;c=0;g:{while(1){h:{g=r[b|0];if(g>>>0>9){if((g|0)==32){break g}break h}switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break h;default:break g}}o[c+f|0]=g;d=d+1|0;b=h+d|0;c=c+1|0;if((c|0)!=128){continue}break}d=129;c=128;b=e}o[c+f|0]=0;i:{e=r[b|0];if(e>>>0>9){if((e|0)!=32){break a}break i}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break a;default:break i}}if((d|0)==1){break a}ZF(a,f+288|0,f+144|0,f);if(!r[b|0]){break a}}b=b+1|0;continue}}Da=f+432|0}function oP(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-1840|0;Da=d;h=!a|!(r[a+8|0]&8)?c:s[a+340>>1];a:{if(!(o[a+8|0]&1)){break a}c=q[a+20>>2];b:{if(c){c=eb(c);q[d+1040>>2]=c;f=1;if(!c){break b}}c:{d:{if((h|0)>=1){while(1){e:{if(Hh(a,e,d+1024|0)|s[d+1024>>1]!=3){break e}c=s[d+1030>>1]+ -1|0;if(c>>>0>3){break e}f:{switch(c-1|0){case 0:case 1:break e;default:break f}}AP(d,q[d+1032>>2],q[d+1036>>2]);c=s[d+1030>>1];if(!((c|0)!=4|(g|0)>99)){c=eb(d);q[(d+1440|0)+(g<<2)>>2]=c;if(!c){break d}g=g+1|0;c=s[d+1030>>1]}if((c|0)!=1|(f|0)>99){break e}c=eb(d);q[(d+1040|0)+(f<<2)>>2]=c;if(!c){break d}f=f+1|0}e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(!f){break c}c=q[a+12>>2];h=SO(a);q[b+28>>2]=100;q[b+24>>2]=h;e=1;q[b+20>>2]=w(c&1,110);i=b,j=Jj(a),q[i+8>>2]=j;a=ab(4,f);q[b>>2]=a;if(!a){break d}Qa(a,d+1040|0,f<<2);q[b+12>>2]=f;if(!g){break a}a=ab(4,g);q[b+4>>2]=a;if(!a){break d}Qa(a,d+1440|0,g<<2);q[b+16>>2]=g;break a}e=0;if((f|0)<=0){break c}while(1){La(q[(d+1040|0)+(e<<2)>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}e=0;if((g|0)<=0){break b}while(1){La(q[(d+1440|0)+(e<<2)>>2]);e=e+1|0;if((g|0)!=(e|0)){continue}break}}La(q[b>>2]);La(q[b+4>>2]);q[b>>2]=0;q[b+4>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;e=0}Da=d+1840|0;return e}function rQ(a,b,c,d,e){a=a|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=Da-464|0;Da=e;f=b+8|0;g=q[f+4>>2];q[e+16>>2]=q[f>>2];q[e+20>>2]=g;q[e+40>>2]=q[b+32>>2];f=q[b+28>>2];q[e+32>>2]=q[b+24>>2];q[e+36>>2]=f;f=q[b+20>>2];q[e+24>>2]=q[b+16>>2];q[e+28>>2]=f;f=q[b+4>>2];g=q[b>>2];q[e+16>>2]=2;q[e+8>>2]=g;q[e+12>>2]=f;f=q[b+8>>2]+ -7|0;a:{if(f>>>0>3){break a}b:{switch(f-1|0){case 0:case 1:break a;default:break b}}q[e+16>>2]=3}ef(a,e+448|0);c:{if(q[e+456>>2]!=3){b=162;break c}i=q[a>>2];g=q[e+448>>2]+1|0;q[a>>2]=g;j=q[a+8>>2];h=q[e+452>>2]+ -1|0;q[a+8>>2]=h;f=e+48|0;d:{if(g>>>0>=h>>>0){break d}g=e+432|0;f=e+48|0;while(1){ef(a,e+432|0);if(!q[e+440>>2]){break d}if(f>>>0>>0){h=q[e+436>>2];q[f>>2]=q[e+432>>2];q[f+4>>2]=h;q[f+8>>2]=q[e+440>>2]}f=f+12|0;if(t[a>>2]>2]){continue}break}}q[a+8>>2]=j;q[a>>2]=i;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break c}g=q[b+24>>2];g=f>>>0>g>>>0?g:f;e:{if(q[b+8>>2]==7){break e}b=q[b+28>>2];if(!b){break e}o[b+q[c>>2]|0]=g}f:{if((g|0)>=1){h=r[e+28|0];f=e+48|0;while(1){q[a>>2]=q[f>>2];q[a+8>>2]=q[f+4>>2];b=hs(a,e+8|0,c,d,0);if(b){break f}q[e+24>>2]=h+q[e+24>>2];f=f+12|0;b=(g|0)>1;g=g+ -1|0;if(b){continue}break}}b=0}q[a+8>>2]=j;q[a>>2]=i}Da=e+464|0;return b|0}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}e=q[a+96>>2];if(!e){return 6}g=q[e+8>>2];a:{b:{i=q[e+12>>2];h=q[i+44>>2];c:{if((h|0)<=0){c=6;f=g;if(!h){break c}break b}d=n[q[g+4>>2]](g,h)|0;if(!d){c=64;break b}Na(d,0,h);e=q[a+96>>2];f=q[e+8>>2];i=q[e+12>>2]}q[d+4>>2]=a;q[d>>2]=q[e+4>>2];d:{c=n[q[f+4>>2]](f,44)|0;e:{if(c){o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+40|0]=0;o[c+41|0]=0;o[c+42|0]=0;o[c+43|0]=0;o[c+32|0]=0;o[c+33|0]=0;o[c+34|0]=0;o[c+35|0]=0;o[c+36|0]=0;o[c+37|0]=0;o[c+38|0]=0;o[c+39|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;q[d+156>>2]=c;if(!(r[q[e>>2]+1|0]&2)){e=n[q[f+4>>2]](f,96)|0;if(!e){c=64;Yf(d);break e}Na(e+4|0,0,92);q[e>>2]=f;q[c>>2]=e}f=q[i+64>>2];if(!f){break d}c=n[f](d)|0;if(!c){break d}Yf(d);break e}Yf(d);c=64;if(!d){break a}}n[q[g+8>>2]](g,d);return c}q[d+8>>2]=q[a+84>>2];q[a+84>>2]=d;c=0;if(!b){break a}q[b>>2]=d;break a}if(!b){break a}q[b>>2]=0;return c}return c}function Zv(a,b,c,d,e){var f=0,g=0,h=0;f=Da-48|0;Da=f;q[f+8>>2]=a;q[f+12>>2]=271312;q[f+16>>2]=d?d:271312;q[f+20>>2]=271312;q[f+28>>2]=0;q[f+24>>2]=e?e:271312;d=wg();q[f+36>>2]=6;q[f+40>>2]=0;q[f+32>>2]=d;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}d=271312;a=q[Ac(a+136|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];b=r[a+9|0]|r[a+8|0]<<8;a=b?a+b|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=r[a+2|0]<<8|r[a+3|0];d=a?b+a|0:271312}q[f+28>>2]=430;e=r[d+5|0];b=r[d+4|0];c=e|b<<8;if(!c){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(h+(a<<1)|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];Yv(b?b+d|0:271312,f+8|0,g);a=a+1|0;if((c|0)==(a|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}d=271312;a=q[Rc(a+140|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];b=r[a+9|0]|r[a+8|0]<<8;a=b?a+b|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>c>>>0){b=a;a=a+(c<<1)|0;a=r[a+2|0]<<8|r[a+3|0];d=a?b+a|0:271312}e=r[d+5|0];b=r[d+4|0];c=e|b<<8;if(!c){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;a=0;while(1){b=(e&255|b<<8)>>>0>a>>>0?(h+(a<<1)|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];F$(b?b+d|0:271312,f+8|0,g);a=a+1|0;if((c|0)==(a|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}vg(q[f+32>>2]);Da=f+48|0}function WH(a,b){a=a|0;b=b|0;var c=0,d=0;a=q[a>>2];c=v[a+8>>3];b=q[b>>2];d=v[b+8>>3];a:{if(c!=d){break a}c=v[a+16>>3];d=v[b+16>>3];if(c!=d){break a}c=v[a+24>>3];d=v[b+24>>3];if(c!=d){break a}c=v[a+32>>3];d=v[b+32>>3];if(c!=d){break a}c=v[a+40>>3];d=v[b+40>>3];if(c!=d){break a}c=v[a+48>>3];d=v[b+48>>3];if(c!=d){break a}c=v[a+56>>3];d=v[b+56>>3];if(c!=d){break a}c=v[a- -64>>3];d=v[b- -64>>3];if(c!=d){break a}c=v[a+72>>3];d=v[b+72>>3];if(c!=d){break a}c=v[a+80>>3];d=v[b+80>>3];if(c!=d){break a}c=v[a+88>>3];d=v[b+88>>3];if(c!=d){break a}c=v[a+96>>3];d=v[b+96>>3];if(c!=d){break a}c=v[a+104>>3];d=v[b+104>>3];if(c!=d){break a}c=v[a+112>>3];d=v[b+112>>3];if(c!=d){break a}c=v[a+120>>3];d=v[b+120>>3];if(c!=d){break a}c=v[a+128>>3];d=v[b+128>>3];if(c!=d){break a}c=v[a+136>>3];d=v[b+136>>3];if(c!=d){break a}c=v[a+144>>3];d=v[b+144>>3];if(c!=d){break a}c=v[a+152>>3];d=v[b+152>>3];if(c!=d){break a}c=v[a+160>>3];d=v[b+160>>3];if(c!=d){break a}c=v[a+168>>3];d=v[b+168>>3];if(c!=d){break a}c=v[a+176>>3];d=v[b+176>>3];if(c!=d){break a}c=v[a+184>>3];d=v[b+184>>3];if(c!=d){break a}c=v[a+192>>3];d=v[b+192>>3];if(c!=d){break a}c=v[a+200>>3];d=v[b+200>>3];if(c!=d){break a}d=v[b+208>>3];c=v[a+208>>3]}return(cd)|0}function JR(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,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;n=q[a+8>>2];a:{if(!n){break a}t=(d|0)<1?d?-1:0:(d|0)!=0;g=t;u=g;v=g>>31;x=(n|0)<1;y=(g|0)>-1;o=b;m=c;r=d;while(1){b:{if(x){j=0;i=b;g=c;break b}s=q[a+20>>2];if(!y){k=0;i=b;g=c;j=0;while(1){h=w(k,56)+s|0;f=h;l=q[f+8>>2];e=q[f+12>>2]+q[f+4>>2]|0;f=q[f>>2];l=f+l|0;if(l>>>0>>0){e=e+1|0}f=l;if((e|0)<(m|0)?1:(e|0)<=(m|0)?f>>>0>=o>>>0?0:1:0){l=h;h=!j|((e|0)>(g|0)?1:(e|0)>=(g|0)?f>>>0<=i>>>0?0:1:0);j=h?l:j;i=h?f:i;g=h?e:g}k=k+1|0;if((n|0)!=(k|0)){continue}break}break b}k=0;i=b;g=c;j=0;if(d){while(1){h=w(k,56)+s|0;e=h;f=q[e>>2];e=q[e+4>>2];if((e|0)>(m|0)?1:(e|0)>=(m|0)?f>>>0<=o>>>0?0:1:0){l=h;h=!j|((e|0)<(g|0)?1:(e|0)<=(g|0)?f>>>0>=i>>>0?0:1:0);j=h?l:j;i=h?f:i;g=h?e:g}k=k+1|0;if((n|0)!=(k|0)){continue}break b}}while(1){h=w(k,56)+s|0;e=h;f=q[e>>2];e=q[e+4>>2];if((e|0)<(m|0)?1:(e|0)<=(m|0)?f>>>0>=o>>>0?0:1:0){l=f;f=(j|0)!=0&((e|0)<(g|0)?1:(e|0)<=(g|0)?f>>>0>=i>>>0?0:1:0);i=f?i:l;j=f?j:h;g=f?g:e}k=k+1|0;if((n|0)!=(k|0)){continue}break}}p=j?j:p;m=g+v|0;g=u;i=g+i|0;if(i>>>0>>0){m=m+1|0}o=i;r=r-t|0;if(r){continue}break}if(!p){break a}a=q[p>>2];z=a-b|0;A=q[p+4>>2]-((a>>>0>>0)+c|0)|0}Ea=A;return z}function eq(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;h=q[c>>2];a:{if(q[a+144>>2]==(b|0)){q[a+284>>2]=h;j=a+284|0;i=a+288|0;break a}j=q[a+296>>2];i=j+4|0}q[j>>2]=h;q[c>>2]=0;k=n[q[b+12>>2]](b,h,d,g+4|0)|0;d=q[g+4>>2];q[i>>2]=d;b:{c:{i=k+4|0;if(i>>>0>46){break c}d:{e:{switch(i-1|0){case 45:f=q[a+80>>2];if(f){q[g+12>>2]=h;f:{if(!r[b+68|0]){g:{if(q[a+144>>2]==(b|0)){h=a+284|0;f=a+288|0;break g}h=q[a+296>>2];f=h+4|0}while(1){q[g+8>>2]=q[a+44>>2];j=n[q[b+56>>2]](b,g+12|0,d,g+8|0,q[a+48>>2])|0;q[f>>2]=q[g+12>>2];i=q[a+44>>2];n[q[a+80>>2]](q[a+4>>2],i,q[g+8>>2]-i|0);q[h>>2]=q[g+12>>2];if(j>>>0>1){continue}break}break f}n[f](q[a+4>>2],h,d-h|0)}d=q[g+4>>2]}q[c>>2]=d;q[e>>2]=d;a=q[a+476>>2]==2?35:0;break b;case 3:q[j>>2]=d;a=4;break b;case 1:if(f){break d}a=6;break b;case 0: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:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:break c;default:break e}}if(f){break d}a=2;break b}q[e>>2]=h;a=0;break b}q[j>>2]=d;a=23}Da=g+16|0;return a}function WX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];q[d>>2]=0;a:{if(!(!b|!c)){f=1;if(n[q[e+36>>2]](e,b,c,d,q[e+68>>2])){break a}}if(r[q[a>>2]+140|0]&16){return 0}a=c+ -1460|0;if(a>>>0>14){return 0}f=0;b:{c:{switch(a-1|0){default:if((b|0)!=1497){break a}q[d>>2]=64285;break b;case 2:if((b|0)!=1488){if((b|0)!=1522){break a}q[d>>2]=64287;break b}q[d>>2]=64302;break b;case 3:if((b|0)!=1488){break a}q[d>>2]=64303;break b;case 4:if((b|0)!=1493){break a}q[d>>2]=64331;break b;case 7:a=b+ -1488|0;if(a>>>0<=26){q[d>>2]=q[(a<<2)+236592>>2];return 131817343>>>a&1}a=b+ -64298|0;if(a>>>0>1){break a}if(a-1){q[d>>2]=64300;break b}q[d>>2]=64301;break b;case 10:a=b+ -1489|0;if(a>>>0>19){return 0}d:{switch(a-1|0){default:q[d>>2]=64332;break b;case 9:q[d>>2]=64333;break b;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break a;case 18:break d}}q[d>>2]=64334;break b;case 12:if((b|0)!=64329){if((b|0)!=1513){break a}q[d>>2]=64298;break b}q[d>>2]=64300;break b;case 0:case 1:case 5:case 6:case 8:case 9:case 11:break a;case 13:break c}}if((b|0)!=64329){if((b|0)!=1513){break a}q[d>>2]=64299;break b}q[d>>2]=64301}f=1}return f|0}function uI(a,b,c,d){a=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;i=Da-16|0;Da=i;q[i+12>>2]=b;b=_p(a,q[a+144>>2],i+12|0,c,d,!r[a+480|0]);a:{if(b){break a}e=q[i+12>>2];if(!e){break a}if(q[a+472>>2]){q[a+276>>2]=974;b=We(a,1,q[a+144>>2],e,c,d,!r[a+480|0]);if(b){break a}b=0;c=q[a+360>>2];if(!c){break a}while(1){d=q[c+4>>2];f=q[c+36>>2];g=q[c+24>>2]+1|0;e=f+g|0;if((d|0)==(e|0)){break a}h=q[c+8>>2];j=g+h|0;if((j|0)>(q[c+40>>2]-f|0)){d=n[q[a+16>>2]](f,j)|0;if(!d){b=1;break a}e=q[c+36>>2];if((e|0)==q[c+12>>2]){q[c+12>>2]=d}f=q[c+16>>2];if(f){q[c+16>>2]=d+(f-e|0)}q[c+36>>2]=d;q[c+40>>2]=d+j;e=d+g|0;h=q[c+8>>2];d=q[c+4>>2]}k=c,l=Qa(e,d,h),q[k+4>>2]=l;c=q[c>>2];if(c){continue}break}break a}q[a+276>>2]=966;b=We(a,0,q[a+144>>2],e,c,d,!r[a+480|0]);if(b){break a}c=q[a+360>>2];b:{if(!c){break b}while(1){b=q[c+4>>2];f=q[c+36>>2];g=q[c+24>>2]+1|0;d=f+g|0;if((b|0)==(d|0)){break b}e=q[c+8>>2];h=g+e|0;if((h|0)>(q[c+40>>2]-f|0)){b=n[q[a+16>>2]](f,h)|0;if(!b){b=1;break a}d=q[c+36>>2];if((d|0)==q[c+12>>2]){q[c+12>>2]=b}e=q[c+16>>2];if(e){q[c+16>>2]=b+(e-d|0)}q[c+36>>2]=b;q[c+40>>2]=b+h;d=b+g|0;e=q[c+8>>2];b=q[c+4>>2]}k=c,l=Qa(d,b,e),q[k+4>>2]=l;c=q[c>>2];if(c){continue}break}}b=0}Da=i+16|0;return b|0}function qV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=7){break d}q[a+12>>2]=c+ -1;if((r[e+1|0]&254|r[e|0]<<8)!=2){break d}q[h+8>>2]=e;g=e+4|0;d=fu(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>7){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if((r[e+1|0]&254|r[e|0]<<8)!=2|(f|0)<1){break h}q[h+12>>2]=e;d=fu(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(242848,242873,195,242890);F()}function gU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-96|0;Da=d;a:{if(!Nb(b,a,2)){break a}b:{g=q[c+4>>2];if(!g){break b}h=q[c+16>>2];if(!h){break b}e=q[c+12>>2];f=q[c>>2];i=(r[e|0]<<8|r[e+1|0])-(r[f|0]<<8|r[f+1|0])|0;g=g+ -1|0;c:{if(!g){break c}h=h+ -1|0;if(!h){break c}f=f+2|0;while(1){if(((r[e+3|0]|r[e+2|0]<<8)-(r[f+1|0]|r[f|0]<<8)^i)&65535){break b}h=h+ -1|0;if(!h){break c}e=e+2|0;f=f+2|0;g=g+ -1|0;if(g){continue}break}}o[a|0]=256;o[a+1|0]=1;e=q[c+20>>2];q[d+80>>2]=q[c+16>>2];q[d+84>>2]=e;e=q[c+12>>2];q[d+72>>2]=q[c+8>>2];q[d+76>>2]=e;e=q[c+4>>2];q[d+64>>2]=q[c>>2];q[d+68>>2]=e;q[d+88>>2]=255048;e=0;if(!Nb(b,a,6)){break a}f=q[b+4>>2];c=f-a|0;g=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=g;o[a+3|0]=g>>>8;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0}q[d+56>>2]=q[d+88>>2];c=q[d+84>>2];q[d+48>>2]=q[d+80>>2];q[d+52>>2]=c;c=q[d+76>>2];q[d+40>>2]=q[d+72>>2];q[d+44>>2]=c;c=q[d+68>>2];q[d+32>>2]=q[d+64>>2];q[d+36>>2]=c;if(!Kt(f,b,d+32|0)){break a}b=(i<<8&16711680|i<<24)>>>16|0;o[a+4|0]=b;o[a+5|0]=b>>>8;e=1;break a}o[a|0]=512;o[a+1|0]=2;e=q[c+12>>2];q[d+16>>2]=q[c+8>>2];q[d+20>>2]=e;e=q[c+20>>2];q[d+24>>2]=q[c+16>>2];q[d+28>>2]=e;e=q[c+4>>2];q[d+8>>2]=q[c>>2];q[d+12>>2]=e;e=dU(a,b,d+8|0)}Da=d+96|0;return e}function ju(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{j=q[b+4>>2];if(j>>>0>a>>>0){break a}h=q[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}i=d+ -2|0;q[b+12>>2]=i;if((d|0)==1){break a}e=a+2|0;f=r[a+1|0];g=f|r[a|0]<<8;b:{if(!g){break b}if(h>>>0>>0|j>>>0>e>>>0|h-e>>>0>>0){break a}i=d+ -3|0;q[b+12>>2]=i;if((d|0)<3){break a}f=r[a+1|0];k=f|r[a|0]<<8;if(!k){break b}l=q[b+32>>2];d=0;while(1){g=w(d,3)+a|0;if((r[g+2|0]<<8|r[g+3|0])>>>0>=l>>>0|r[g+4|0]>=c>>>0){break a}d=d+1|0;if((k|0)!=(d|0)){continue}break}}c=r[a|0]|r[a+1|0]<<8;if(!c){break a}d=e;e=c<<8&65280|f;d=e?d:271312;if(r[d|0]<<8|r[d+1|0]){break a}d=1;c=(c<<24|c<<8)>>>16|0;if(c>>>0>1){while(1){f=w(d,3)+a|0;g=e>>>0>d+ -1>>>0?f+ -1|0:271312;f=e>>>0>d>>>0?f+2|0:271312;if((r[g|0]<<8|r[g+1|0])>>>0>=(r[f|0]<<8|r[f+1|0])>>>0){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}c=c+ -1|0;c=(e>>>0>c>>>0?(w(c,3)+a|0)+2|0:271312)+3|0;if(j>>>0>c>>>0|h>>>0>>0|h-c>>>0<2){break a}q[b+12>>2]=i+ -1;if((i|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;c=d<<8;e=q[b+32>>2];b=((c&16711680|d<<24)>>>16|0)+ -1|0;a=(r[a+1|0]|c&65280)>>>0>b>>>0?(w(b,3)+a|0)+2|0:271312;return(e|0)==(r[a+3|0]<<8|r[a+4|0])}return 0}function Xu(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,p=0;a:{if(q[b+132>>2]!=6){break a}c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];l=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((l|0)==-1){break a}d=r[a+5|0];c=r[a+4|0];e=(a+4|0)+(d<<1|c<<9)|0;n=r[e+3|0];i=e+2|0;p=r[i|0];e=q[b+96>>2];j=q[e+(r[e+69|0]?80:72)>>2];f=d|c<<8;q[b+80>>2]=f;q[b+44>>2]=j;g=q[q[b+48>>2]+96>>2];h=q[g+76>>2];q[b+84>>2]=h;d=0;c=0;k=q[g+72>>2];if((k|0)==(j|0)){c=r[(q[g+88>>2]+w(j,20)|0)+15|0]}m=b+44|0;q[b+76>>2]=a+6;q[b+72>>2]=a;q[b+68>>2]=448;o[b- -64|0]=c;if(f){b:{while(1){if(Kf(m)){d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}return 0}j=q[b+44>>2];g=q[q[b+48>>2]+96>>2];k=q[g+72>>2];h=q[g+76>>2];e=q[b+96>>2]}d=r[i+1|0];f=r[i|0];c=q[e+72>>2];q[b+84>>2]=h;q[b+44>>2]=c;f=d|f<<8;q[b+80>>2]=f;d=0;h=0;h=(c|0)==(k|0)?r[(q[g+88>>2]+w(k,20)|0)+15|0]:h;q[b+76>>2]=i+2;q[b+72>>2]=a;q[b+68>>2]=448;o[b+64|0]=h;if(f){c:{while(1){if(id(m)){d=d+1|0;if((f|0)!=(d|0)){continue}break c}break}return 0}e=q[b+96>>2];c=q[b+44>>2]}d=1;Zc(e,j,c+1|0);a=(n<<1|p<<9)+i|0;a=(r[a+3|0]|r[a+2|0]<<8)>>>0>l>>>0?(a+(l<<1)|0)+4|0:271312;a=r[a|0]<<8|r[a+1|0];kf(b,a,0,0,0);b=q[b+96>>2];q[q[b+88>>2]+w(q[b+72>>2],20)>>2]=a}return d}function Go(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=q[a+736>>2];if(c){e=q[q[c+12>>2]>>2];d=q[a+100>>2];b=d;f=q[c+4>>2];if(f){n[q[b+8>>2]](b,f)}q[c+4>>2]=0;b=d;f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;f=q[c+20>>2];if(f){n[q[b+8>>2]](b,f)}q[c+20>>2]=0;b=q[c+12>>2];if(b){n[q[d+8>>2]](d,b)}q[c+12>>2]=0;b=q[c+28>>2];if(b){if(e){while(1){f=g<<3;b=q[(f+b|0)+4>>2];if(b){n[q[d+8>>2]](d,b)}b=q[c+28>>2];q[(f+b|0)+4>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(b){n[q[d+8>>2]](d,b)}q[c+28>>2]=0}b=q[c+40>>2];if(b){vj(q[a+100>>2],b);b=d;e=q[q[c+40>>2]+28>>2];if(e){n[q[b+8>>2]](b,e)}e=q[c+40>>2];q[e+28>>2]=0;e=q[e+24>>2];if(e){n[q[b+8>>2]](b,e)}b=q[c+40>>2];q[b+24>>2]=0;if(b){n[q[d+8>>2]](d,b)}q[c+40>>2]=0}b=q[c+52>>2];if(b){vj(q[a+100>>2],b);b=d;e=q[q[c+52>>2]+28>>2];if(e){n[q[b+8>>2]](b,e)}e=q[c+52>>2];q[e+28>>2]=0;e=q[e+24>>2];if(e){n[q[b+8>>2]](b,e)}b=q[c+52>>2];q[b+24>>2]=0;if(b){n[q[d+8>>2]](d,b)}q[c+52>>2]=0}b=q[c+56>>2];if(b){vj(q[a+100>>2],b+4|0);a=d;b=q[q[c+56>>2]+24>>2];if(b){n[q[a+8>>2]](a,b)}a=q[c+56>>2];q[a+24>>2]=0;if(a){n[q[d+8>>2]](d,a)}q[c+56>>2]=0}a=q[c+64>>2];if(a){n[q[d+8>>2]](d,a)}q[c+64>>2]=0;a=q[c+72>>2];if(a){n[q[d+8>>2]](d,a)}q[c+72>>2]=0;if(c){n[q[d+8>>2]](d,c)}}}function lq(a,b,c,d){var e=0,f=0,g=0;a:{if((c-b|0)<2){break a}if(!(r[b+1|0]==45?!r[b|0]:0)){q[d>>2]=b;return 0}b=b+2|0;e=c-b|0;if((e|0)<2){break a}g=a+72|0;while(1){b:{c:{d:{e:{f:{g:{h:{a=b;b=r[b|0];f=b+ -216|0;if(f>>>0>39){if(b){break c}b=r[r[a+1|0]+g|0];if(b>>>0>27){break c}switch(b-2|0){case 5:break g;case 4:break h;case 0:case 1:case 2:case 3: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:break c;case 25:break d;default:break e}}switch(f-4|0){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:break c;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}if((e|0)<3){return-2}b=a+3|0;break b}if((e|0)<4){return-2}b=a+4|0;break b}if(r[a+1|0]<=253){break c}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[b|0]|r[a+3|0]!=45){break b}b=a+4|0;if((c-b|0)<2){break a}if(!(r[a+5|0]==62?!r[a+4|0]:0)){q[d>>2]=b;return 0}q[d>>2]=a+6;return 13}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}}return-1}function at(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-32|0;a:{if(c-b>>>0<2){break a}d=q[a+76>>2];f=d>>>0>>0?d:c;g=d>>>0>>0?d:b;b:{if(f>>>0>>0){break b}h=f+ -1|0;if(g>>>0>=h>>>0){break b}j=q[a+88>>2];while(1){f=w(h,20)+j|0;q[e+24>>2]=q[f+16>>2];d=q[f+12>>2];q[e+16>>2]=q[f+8>>2];q[e+20>>2]=d;d=q[f+4>>2];q[e+8>>2]=q[f>>2];q[e+12>>2]=d;d=w(g,20)+j|0;q[f+16>>2]=q[d+16>>2];i=q[d+12>>2];q[f+8>>2]=q[d+8>>2];q[f+12>>2]=i;i=q[d+4>>2];q[f>>2]=q[d>>2];q[f+4>>2]=i;q[d+16>>2]=q[e+24>>2];f=q[e+20>>2];q[d+8>>2]=q[e+16>>2];q[d+12>>2]=f;f=q[e+12>>2];q[d>>2]=q[e+8>>2];q[d+4>>2]=f;g=g+1|0;h=h+ -1|0;if(g>>>0>>0){continue}break}}if(!r[a+70|0]){break a}d=q[a+76>>2];c=d>>>0>>0?d:c;g=d>>>0>>0?d:b;if(c>>>0>>0){break a}h=c+ -1|0;if(g>>>0>=h>>>0){break a}c=q[a+96>>2];while(1){b=c+w(h,20)|0;a=b;q[e+24>>2]=q[a+16>>2];d=q[a+12>>2];q[e+16>>2]=q[a+8>>2];q[e+20>>2]=d;d=q[a+4>>2];q[e+8>>2]=q[a>>2];q[e+12>>2]=d;a=c+w(g,20)|0;q[b+16>>2]=q[a+16>>2];d=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=d;d=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=d;q[a+16>>2]=q[e+24>>2];b=q[e+20>>2];q[a+8>>2]=q[e+16>>2];q[a+12>>2]=b;b=q[e+12>>2];q[a>>2]=q[e+8>>2];q[a+4>>2]=b;g=g+1|0;h=h+ -1|0;if(g>>>0>>0){continue}break}}}function YY(a,b){var c=0,d=0;c=271312;a:{b:{while(1){c:{if((b|0)!=9){b=b+ -1|0;if(b>>>0>7){break b}d:{switch(b-1|0){default:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>1){break b}if(b-1){break c}break a;case 0:b=r[a|0]|r[a+1|0]<<8;if(((b<<24|b<<8&16711680)>>>16|0)+ -1>>>0>1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 5:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=r[a+7|0]|r[a+6|0]<<8;return a?b+a|0:271312;case 6:break d}}b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;a=r[a+3|0]|r[a+2|0]<<8?a+4|0:271312;a=r[a|0]<<8|r[a+1|0];return a?b+a|0:271312}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}b=a;a=r[a+3|0]|r[a+2|0]<<8;c=a?b+a|0:271312}return c}b=a;a=r[a+3|0]|r[a+2|0]<<8;return a?b+a|0:271312}function pq(a,b,c,d){var e=0,f=0,g=0;a:{if((c-b|0)<2){break a}if(!(r[b|0]==45?!r[b+1|0]:0)){q[d>>2]=b;return 0}b=b+2|0;e=c-b|0;if((e|0)<2){break a}g=a+72|0;while(1){b:{c:{d:{e:{f:{g:{h:{a=b;b=r[b+1|0];f=b+ -216|0;if(f>>>0>39){if(b){break c}b=r[r[a|0]+g|0];if(b>>>0>27){break c}switch(b-2|0){case 5:break g;case 4:break h;case 0:case 1:case 2:case 3: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:break c;case 25:break d;default:break e}}switch(f-4|0){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:break c;case 0:case 1:case 2:case 3:break e;case 35:break f;default:break g}}if((e|0)<3){return-2}b=a+3|0;break b}if((e|0)<4){return-2}b=a+4|0;break b}if(r[a|0]<=253){break c}}q[d>>2]=a;return 0}b=a+2|0;if((c-b|0)<2){break a}if(r[a+3|0]|r[b|0]!=45){break b}b=a+4|0;if((c-b|0)<2){break a}if(!(r[a+4|0]==62?!r[a+5|0]:0)){q[d>>2]=b;return 0}q[d>>2]=a+6;return 13}b=a+2|0}e=c-b|0;if((e|0)>1){continue}break}}return-1}function TV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=7){break d}q[a+12>>2]=c+ -1;if(!(r[e+1|0]|r[e|0]<<8)){break d}q[h+8>>2]=e;g=e+4|0;d=mu(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>7){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if(!(r[e+1|0]|r[e|0]<<8)|(f|0)<1){break h}q[h+12>>2]=e;d=mu(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(242848,242873,195,242890);F()}function vf(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[c+12>>2];f=q[b+120>>2];if(f){n[f](q[b+116>>2])}d=q[b+84>>2];if(d){while(1){f=q[d+4>>2];e=q[f+84>>2];a:{if(!e){break a}g=q[q[f+96>>2]+8>>2];if((d|0)==(e|0)){f=f+84|0}else{while(1){f=e;e=q[e+8>>2];if(!e){break a}if((d|0)!=(e|0)){continue}break}f=f+8|0}q[f>>2]=q[d+8>>2];f=q[d+20>>2];if(f){n[f](d)}Yf(d);n[q[g+8>>2]](g,d);d=q[b+84>>2]}if(d){continue}break}}if(a){d=q[b+108>>2];if(d){while(1){f=q[d+4>>2];g=q[d+8>>2];e=q[g+8>>2];if(e){n[e](g)}e=q[q[c+12>>2]+60>>2];if(e){n[e](g)}e=q[g+40>>2];if(e){n[q[a+8>>2]](a,e)}q[g+40>>2]=0;n[q[a+8>>2]](a,g);n[q[a+8>>2]](a,d);d=f;if(d){continue}break}}q[b+108>>2]=0;q[b+112>>2]=0}d=0;q[b+88>>2]=0;c=q[b+48>>2];if(c){n[c](b)}if(q[b+36>>2]>=1){while(1){f=d<<2;g=q[f+q[b+40>>2]>>2];e=q[q[g>>2]+100>>2];c=q[q[g+12>>2]+8>>2];if(c){n[c](g)}n[q[e+8>>2]](e,g);q[f+q[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=q[b+40>>2];if(c){n[q[a+8>>2]](a,c)}q[b+36>>2]=0;q[b+40>>2]=0;c=q[h+52>>2];if(c){n[c](b)}d=q[b+104>>2];b:{if(!d){break b}f=q[b+8>>2];e=q[d+28>>2];c=q[d+24>>2];if(c){n[c](d)}if(f&1024){break b}n[q[e+8>>2]](e,d)}q[b+104>>2]=0;c=q[b+128>>2];if(c){n[q[a+8>>2]](a,c);q[b+128>>2]=0}n[q[a+8>>2]](a,b)}function Vw(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<36){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=a+20|0;b:{c:{d:{if(o[a+15|0]&1){if(!Qm(c,b,a)){break a}if(!Qm(a+24|0,b,a)){break a}c=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break c}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0){break a}if(d-a>>>0>=c>>>0){break d}break a}if(!Le(c,b,a)){break a}if(!Le(a+24|0,b,a)){break a}c=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){break c}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)>=1){break c}break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=0;if((d|0)<=0){break b}}c=1;d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);if(!(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))){break b}d=r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(t[b+4>>2]>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=0;if(e-a>>>0>>0){break b}a=q[b+12>>2];q[b+12>>2]=a+ -1;c=(a|0)>0}return c}return 0}function Bh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-16|0;Da=e;f=q[a+100>>2];q[e+12>>2]=0;d=q[a+532>>2];a:{if(!d){d=gb(f,420,e+12|0);if(q[e+12>>2]){break a}q[d+416>>2]=0;q[a+532>>2]=d}b:{c:{if(!b){break c}g=q[d>>2];if(!g){k=d,l=Oa(f,32,0,b,0,e+12|0),q[k+148>>2]=l;if(q[e+12>>2]){break a}k=d,l=Oa(f,196,0,b,0,e+12|0),q[k+216>>2]=l;if(q[e+12>>2]){break a}k=d,l=Oa(f,16,0,b,0,e+12|0),q[k+288>>2]=l;if(q[e+12>>2]){break a}g=Oa(f,4,0,b<<1,0,e+12|0);q[d+136>>2]=g;if(q[e+12>>2]){break a}q[d+284>>2]=a+464;q[d+212>>2]=a+168;q[d+144>>2]=a+132;q[d+140>>2]=g+(b<<2);if(b>>>0>=2){g=q[d+288>>2];h=q[d+216>>2];i=q[d+148>>2];a=2;while(1){j=(a<<2)+d|0;g=g+16|0;q[j+284>>2]=g;h=h+196|0;q[j+212>>2]=h;i=i+32|0;q[j+144>>2]=i;a=a+1|0;if(a>>>0<=b>>>0){continue}break}}q[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=q[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}q[d+4>>2]=c}b=q[d>>2];if(q[d+24>>2]|(!b|!c)){break a}f=Oa(f,4,0,w(b,c),0,e+12|0);q[d+24>>2]=f;if(q[e+12>>2]){break a}a=2;if(b>>>0<2){break a}q[d+28>>2]=f+(c<<2);if((b|0)==2){break a}f=d+24|0;while(1){q[f+(a<<2)>>2]=q[d+24>>2]+(w(a,c)<<2);a=a+1|0;if((b|0)!=(a|0)){continue}break}break a}q[e+12>>2]=3}Da=e+16|0;return q[e+12>>2]}function KL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Da-32|0;Da=e;q[e+24>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;h=q[a+8>>2]&1;a:{if(h|q[a+28>>2]<1){break a}if(!wd(a,0)){break a}f=q[a+28>>2];if((f|0)>=2){d=q[a+32>>2];b=1;while(1){i=c;g=p[d+(b<<4)>>1];c=p[d+(c<<4)>>1];c=(((g|0)<16?16-g|0:g+ -16|0)|0)<(((c|0)<16?16-c|0:c+ -16|0)|0)?b:i;b=b+1|0;if((f|0)!=(b|0)){continue}break}}_o(a,c)}b:{c:{if(!Ne(a,1970170211)){break c}if(!Ne(a,1937337698)){break c}d=100;break b}g=Xo(a,e+12|0);b=q[e+12>>2];d=100;if(!b){break b}l=h?523:515;c=0;while(1){q[e+8>>2]=0;d:{if(el(a,b,l,e+8|0)){break d}d=q[e+8>>2];if(!d){break d}e:{f:{if(!c){b=0;break f}b=d>>31;h=b+d^b;b=0;while(1){f=q[(e+16|0)+(b<<2)>>2];j=d-f|0;k=j>>31;i=f;f=f>>31;f=i+f^f;if((w(k^k+j,33)|0)<=(((h|0)<(f|0)?f:h)|0)){break f}b=b+1|0;if((b|0)!=(c|0)){continue}break}break e}if((b|0)!=(c|0)){break d}}q[(e+16|0)+(c<<2)>>2]=d;c=c+1|0}g=Qf(a,g,e+12|0);if(c>>>0<=2){b=q[e+12>>2];if(b){continue}}break}d=100;if(c>>>0<2){break b}if((c|0)==2){a=q[e+20>>2];b=q[e+16>>2];c=((b|0)>(a|0)?a:b)<<1;a=(b|0)<(a|0)?a:b;g=c-a|0;b=g>>31;f=w(b^b+g,33);d=a;a=a>>31;a=d+a^a;b=c>>31;b=b+c^b;d=90;if((f|0)<=(((b|0)<(a|0)?a:b)|0)){break b}}d=0}Da=e+32|0;return d}function HS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Da-16|0;Da=h;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{f:{while(1){o[a+20|0]=c;e=q[d+12>>2];q[a+4>>2]=e;f=q[d+16>>2];q[a+8>>2]=f+e;if((f|0)<=-1){break a}q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break b}if(f>>>0<=3){break d}q[a+12>>2]=c+ -1;if(r[e+1|0]|r[e|0]<<8){break d}q[h+8>>2]=e;g=e+2|0;d=jt(g,a,h+8|0);c=q[a+24>>2];g:{if(d){if(!c){break g}c=0;q[a+24>>2]=0;h:{i:{j:{if(t[a+4>>2]>e>>>0){break j}d=q[a+8>>2];if(d>>>0>>0){break j}if(d-e>>>0>3){break i}}d=1;break h}f=q[a+12>>2];q[a+12>>2]=f+ -1;d=1;if(r[e+1|0]|r[e|0]<<8|(f|0)<1){break h}q[h+12>>2]=e;d=jt(g,a,h+12|0)^1;c=q[a+24>>2]!=0}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break c}if(!c){break f}break c}if(r[a+20|0]|!c){break e}g=rc(b);q[a+4>>2]=g;q[a+8>>2]=g+q[b+16>>2];d=q[a+28>>2];c=1;if(g){continue}break d}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}break b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);b=271312}Da=h+16|0;return b}I(271165,271190,195,271207);F()}function hU(a,b,c,d){a=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=Da-640|0;Da=k;i=q[b+88>>2];f=c;a=220;a:{while(1){b:{j=a;c:{if(f>>>0>=d>>>0){break c}while(1){a=s[(w(f,20)+i|0)+16>>1];if((1<<(a&31)&7168?a>>>8|0:0)>>>0>=j>>>0){break c}f=f+1|0;if((f|0)!=(d|0)){continue}break}break b}if((d|0)==(f|0)){break b}h=w(f,20)+i|0;a=s[h+16>>1];e=1<<(a&31)&7168?a>>>8|0:0;d:{if(e>>>0>j>>>0|f>>>0>=d>>>0){break d}a=f;e:{if((e|0)!=(j|0)){break e}while(1){e=q[w(a,20)+i>>2];f:{if((e|0)<=1755){e=e+ -1620|0;if(e>>>0>4){break e}if(1<>>0<=12:0)){break f}if((e|0)!=2259){break e}}a=a+1|0;if((d|0)==(a|0)){a=d;break e}e=s[(w(a,20)+i|0)+16>>1];if(((1<<(e&31)&7168?e>>>8|0:0)|0)==(j|0)){continue}break}}if((a|0)==(f|0)){break d}e=a-f|0;if(e>>>0>=33){break a}if(a-c>>>0>=2){kc(b,c,a)}g=h;h=w(e,20);g=Qa(k,g,h);e=(c-f|0)+a|0;l=w(c,20)+i|0;sb(w(e,20)+i|0,l,w(f-c|0,20));Qa(l,g,h);if(c>>>0>>0){f=(j|0)==220?6400:6656;while(1){h=w(c,20)+i|0;g=s[h+16>>1];if(1<<(g&31)&7168){p[h+16>>1]=f|g&255}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=a}a=j+10|0;if(j>>>0<221){continue}}break}Da=k+640|0;return}I(255255,255163,669,255284);F()}function X_(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:{h=r[a+3|0]|r[a+2|0]<<8;if(!Vb(h?h+a|0:271312,q[b+8>>2])){break a}h=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;j=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;k=j>>>0>1;b:{if(k){d=0;c=0;break b}if(j-1){c=0;break b}i=r[d+3|0]|r[d+2|0]<<8;c=i?d+4|0:271704;f=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?i:0;c=i?r[d+5|0]|r[d+4|0]<<8:0}i=r[a+5|0]|r[a+4|0]<<8;a=a+6|0;l=q[b+16>>2];while(1){if(k){break a}c:{if(!(j-1)){if(!i){break a}if(f>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!i|f>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}d:{if(r[l+12|0]!=1){break d}b=r[a|0];e=r[a+1|0];q[l+16>>2]=-1;b=e|b<<8;g=ac(l,b);if(!g){break d}g=(b>>>3&56)+g|0;b=g;m=q[b+4>>2];n=b;o=q[b>>2];g=e&63;e=g&31;if(32<=(g&63)>>>0){g=1<>>32-e;e=1<>2]=o|e;q[b+4>>2]=g|m}e:{if(k){break e}if(j-1){f=f+1|0;break e}b=r[d+3|0]|r[d+2|0]<<8;e=b>>>0>f>>>0?(w(f,6)+d|0)+4|0:271704;if(c>>>0>=(r[e+2|0]<<8|r[e+3|0])>>>0){f=f+1|0;if(f>>>0>=b>>>0){break e}c=b;g=h+1|0;b=w(f,6)+d|0;h=r[b+8|0]<<8|r[b+9|0];f=(g|0)==(h|0)?f:c;c=r[b+5|0]|r[b+4|0]<<8;break e}c=c+1|0;h=h+1|0}a=a+2|0;i=i+ -1|0;continue}}}function hu(a,b,c){var d=0,e=0;a:{b:{d=a+ -17|0;if(d>>>0>13){if((a|0)!=263){if((a|0)!=292){break b}a=q[b+24>>2];c:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g();break c}e=v[q[b+36>>2]+(a<<3)>>3];break c}o[b+20|0]=1;a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g()}d:{if(y(e)<2147483648){a=~~e;break d}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}q[c+20>>2]=a;break a}break a}e:{switch(d-1|0){case 12:e=ih(b);a=q[b+24>>2];if(a>>>0>2]){q[b+24>>2]=a+1;v[q[b+36>>2]+(a<<3)>>3]=e;return}o[b+20|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;v[80372]=e;return;case 11:hh(b+20|0,b);return;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;default:break e}}a=q[b+24>>2];f:{if(a){a=a+ -1|0;q[b+24>>2]=a;if(t[b+32>>2]<=a>>>0){a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g();break f}e=v[q[b+36>>2]+(a<<3)>>3];break f}o[b+20|0]=1;a=q[67829];d=q[67828];q[160744]=d;q[160745]=a;f(0,d|0);f(1,a|0);e=+g()}g:{if(y(e)<2147483648){a=~~e;break g}a=-2147483648}if((a|0)<=-1){o[b+20|0]=1;a=0}q[c+16>>2]=a;break a}qg(a,b);return}q[b+24>>2]=0}function Un(a,b){var c=0,d=0,e=0,f=0,g=0;d=-2;a:{if(!a){break a}q[a+24>>2]=0;d=q[a+32>>2];if(!d){q[a+40>>2]=0;q[a+32>>2]=270;d=270}if(!q[a+36>>2]){q[a+36>>2]=271}c=n[d](q[a+40>>2],1,24)|0;q[a+28>>2]=c;d=-4;if(!c){break a}q[c+20>>2]=0;q[c+12>>2]=b>>>31;d=b>>31;d=d+b^d;if((d&2147483640)!=8){vh(a);return-2}q[c+16>>2]=d;b:{c=n[q[a+32>>2]](q[a+40>>2],1,64)|0;c:{if(!c){break c}e=n[q[a+32>>2]](q[a+40>>2],8,1440)|0;q[c+36>>2]=e;if(!e){n[q[a+36>>2]](q[a+40>>2],c);break c}f=1<>2]](q[a+40>>2],1,f)|0;q[c+40>>2]=e;if(e){break b}n[q[a+36>>2]](q[a+40>>2],q[c+36>>2]);n[q[a+36>>2]](q[a+40>>2],c)}q[q[a+28>>2]+20>>2]=0;vh(a);return-4}g=(b|0)>-1?272:0;q[c+56>>2]=g;q[c+52>>2]=e;q[c+28>>2]=0;q[c+32>>2]=0;d=0;q[c>>2]=0;q[c+48>>2]=e;q[c+44>>2]=e+f;if((b|0)>=0){b=n[g](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}b=q[a+28>>2];q[b+20>>2]=c;if(!b){break a}q[a+8>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[b>>2]=q[b+12>>2]?7:0;b=q[c>>2];if((b&-2)==4){n[q[a+36>>2]](q[a+40>>2],q[c+12>>2]);b=q[c>>2]}if((b|0)==6){n[q[a+36>>2]](q[a+40>>2],q[c+4>>2])}q[c+28>>2]=0;q[c+32>>2]=0;q[c>>2]=0;b=q[c+40>>2];q[c+52>>2]=b;q[c+48>>2]=b;b=q[c+56>>2];if(!b){break a}b=n[b](0,0,0)|0;q[c+60>>2]=b;q[a+48>>2]=b}return d}function Sz(a,b){a=a|0;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>t[b+160>>2]){kb(b,8)}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0>8207?c>>>0<=q[b+160>>2]-a>>>0:0)){kb(b,8)}c=r[a+8204|0]|r[a+8205|0]<<8|(r[a+8206|0]<<16|r[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(q[b+160>>2]-d>>>0)/12>>>0){kb(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);j=r[d+5|0]<<16|r[d+4|0]<<24;c=r[d+7|0]|(j|r[d+6|0]<<8);k=r[d+1|0]<<16|r[d|0]<<24;a=r[d+3|0]|(k|r[d+2|0]<<8);if(c>>>0>>0){kb(b,8)}if(!(!i|a>>>0>e>>>0)){kb(b,8)}c:{if(!q[b+164>>2]){break c}l=q[b+172>>2];e=c-a|0;if(!((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0>>0?l>>>0>=e>>>0:0)){kb(b,16)}e=e+1|0;if(k){if(!e){break c}while(1){if(!(r[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){kb(b,8)}if(!(r[(a>>>3&8191)+h|0]<<(a&7)&128)){kb(b,8)}a=a+1|0;e=e+ -1|0;if(e){continue}break}break c}if(j){kb(b,8)}if(!e){break c}while(1){if(r[(a>>>3&8191)+h|0]<<(a&7)&128){kb(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 np(a,b){var c=0,d=0,e=0,f=0;c=q[a+4>>2];a:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break a}c=vb(a)}d=c+ -43|0;b:{if(!(d-1|0?d>>>0<=2:0)){d=c+ -48|0;break b}f=(c|0)==45;b=!b;c=q[a+4>>2];c:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break c}c=vb(a)}d=c+ -48|0;if(!(b|d>>>0<10|!q[a+104>>2])){q[a+4>>2]=q[a+4>>2]+ -1}}d:{if(d>>>0<10){d=0;while(1){d=w(d,10)+c|0;b=q[a+4>>2];e:{if(b>>>0>2]){q[a+4>>2]=b+1;c=r[b|0];break e}c=vb(a)}e=c+ -48|0;d=d+ -48|0;if((d|0)<214748364?e>>>0<=9:0){continue}break}b=d;d=d>>31;f:{if(e>>>0>=10){break f}while(1){d=W$(b,d,10,0);c=d+c|0;b=Ea;b=c>>>0>>0?b+1|0:b;c=c+ -48|0;d=b+ -1|0;d=c>>>0<4294967248?d+1|0:d;b=c;c=q[a+4>>2];g:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break g}c=vb(a)}e=c+ -48|0;if(e>>>0>9){break f}if((d|0)<21474836?1:(d|0)<=21474836?b>>>0>=2061584302?0:1:0){continue}break}}if(e>>>0<10){while(1){c=q[a+4>>2];h:{if(c>>>0>2]){q[a+4>>2]=c+1;c=r[c|0];break h}c=vb(a)}if(c+ -48>>>0<10){continue}break}}if(q[a+104>>2]){q[a+4>>2]=q[a+4>>2]+ -1}a=b;b=f?0-a|0:a;d=f?0-(d+(0>>0)|0)|0:d;break d}b=0;d=-2147483648;if(!q[a+104>>2]){break d}q[a+4>>2]=q[a+4>>2]+ -1;Ea=-2147483648;return 0}Ea=d;return b}function nx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-48|0;Da=c;d=r[a+7|0];a:{if(d>>>0>5){break a}b:{switch(d-1|0){default:q[c+28>>2]=0;q[c+32>>2]=0;o[c+24|0]=0;d=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a+12;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;mx(c+8|0,c+24|0);break a;case 0:q[c+36>>2]=0;o[c+32|0]=0;o[c+24|0]=0;d=a+12|0;q[c+40>>2]=d;q[c+28>>2]=b;a=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);q[c+44>>2]=d+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));e=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=d;b=c;a=q[e+32>>2];if((a|0)==-1){a=lc(e)}q[b+16>>2]=a;lx(c+8|0,c+24|0);break a;case 1:kx(a+12|0,b);break a;case 3:e=q[b+8>>2];d=q[e+32>>2];if((d|0)==-1){d=lc(e)}b=q[b+12>>2];e=q[b+76>>2];if(e){g=a+12|0;h=q[b+88>>2];a=0;while(1){f=w(a,20)+h|0;b=Sc(g,q[f>>2],d);if(b){q[f>>2]=r[b+1|0]|r[b|0]<<8}a=a+1|0;if((e|0)!=(a|0)){continue}break}}break a;case 2:break a;case 4:break b}}q[c+32>>2]=0;o[c+24|0]=0;q[c+28>>2]=b;d=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);a=a+12|0;q[c+36>>2]=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a;d=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;ix(c+8|0,c+24|0)}Da=c+48|0}function kc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(q[a+20>>2]==2){if(c-b>>>0<2|c>>>0<=b>>>0){break a}g=q[a+88>>2];e=-1;d=b;while(1){f=q[(g+w(d,20)|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}while(1){d=g+w(b,20)|0;if(q[d+8>>2]!=(e|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}i=q[a+88>>2];g=q[(i+w(b,20)|0)+8>>2];e=g;d=b+1|0;if(d>>>0>>0){e=g;while(1){f=q[(w(d,20)+i|0)+8>>2];e=e>>>0>f>>>0?f:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=q[a+76>>2];b:{if(d>>>0<=c>>>0){break b}while(1){f=w(c,20)+i|0;if(q[f+ -12>>2]!=q[f+8>>2]){break b}c=c+1|0;if(c>>>0>>0){continue}break}}h=q[a+72>>2];f=h>>>0>>0?h:b;while(1){c:{d=b;if(h>>>0>=d>>>0){d=f;break c}b=d+ -1|0;if((g|0)==q[(w(b,20)+i|0)+8>>2]){continue}}break}d:{if((d|0)!=(h|0)){break d}b=q[a+80>>2];if(!b){break d}g=w(h,20)+i|0;f=q[a+92>>2];while(1){b=b+ -1|0;a=f+w(b,20)|0;h=q[a+8>>2];if((h|0)!=q[g+8>>2]){break d}if((e|0)!=(h|0)){q[a+4>>2]=q[a+4>>2]&-2}q[a+8>>2]=e;if(b){continue}break}}if(d>>>0>=c>>>0){break a}while(1){a=w(d,20)+i|0;b=a;if(q[b+8>>2]!=(e|0)){q[a+4>>2]=q[a+4>>2]&-2}q[b+8>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}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,i=0,j=0,k=0,l=0,m=0,o=0,r=0,t=0,u=0;g=Da-16|0;Da=g;i=q[a+100>>2];q[g+12>>2]=0;o=s[a+340>>1];a:{if(!o){break a}k=-1;f=-1;l=-1;m=-1;j=q[a+356>>2];e=j;while(1){b:{if(!s[e+8>>1]|s[e+6>>1]!=(b|0)){break b}h=s[e>>1];if(h>>>0>3){break b}c:{switch(h-1|0){default:k=d;break b;case 0:if(!s[e+4>>1]){l=d;break b}m=s[e+2>>1]?m:d;break b;case 2:break c}}if((s[e+4>>1]&1023)!=9?(f|0)!=-1:0){break b}h=s[e+2>>1];if(h>>>0>10|!(1<>1]&1023)==9;f=d}e=e+20|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}b=(l|0)>-1?l:m;d:{e:{f:{if((f|0)>=0){if(r?0:(b|0)>=0){break f}e=0;d=w(f,20)+j|0;f=s[d+2>>1];if(f>>>0>10){break a}b=315;if(1<>2]){break g}a=q[a+368>>2];e=0;t=d,u=Oa(i,1,0,s[d+8>>1],0,g+12|0),q[t+16>>2]=u;h:{if(q[g+12>>2]){break h}f=Xa(a,q[d+12>>2]);q[g+12>>2]=f;if(f){break h}a=Wb(a,q[d+16>>2],s[d+8>>1]);q[g+12>>2]=a;if(!a){break g}}a=q[d+16>>2];if(a){n[q[i+8>>2]](i,a)}p[d+8>>1]=0;q[d+16>>2]=0;break a}e=n[b](d,i)|0}q[c>>2]=e;Da=g+16|0;return q[g+12>>2]}function Gl(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,r=0,s=0,t=0;e=q[a+212>>2];g=e>>8;d=q[a+176>>2];k=c>>8;a:{if((k|0)>=(d|0)?(g|0)>=(d|0):0){break a}d=q[a+172>>2];if((k|0)<(d|0)?(g|0)<(d|0):0){break a}p=c&255;d=e&255;f=q[a+208>>2];if((g|0)==(k|0)){Hi(a,g,f,d,b,p);break a}h=c-e|0;n=b-f|0;if(!n){e=(h|0)>0;i=e<<8;d=i-d|0;q[a+184>>2]=d+q[a+184>>2];j=f<<1&510;q[a+180>>2]=q[a+180>>2]+w(j,d);f=f>>8;d=g;g=e?1:-1;d=d+g|0;ff(a,f,d);if((d|0)!=(k|0)){e=(e<<9)+ -256|0;l=w(e,j);while(1){q[a+180>>2]=l+q[a+180>>2];q[a+184>>2]=e+q[a+184>>2];d=d+g|0;ff(a,f,d);if((d|0)!=(k|0)){continue}break}}d=i+(c|-256)|0;q[a+184>>2]=d+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(d,j);break a}o=1;e=a;j=g;i=f;l=d;b:{if((h|0)>=1){m=256;d=256-d|0;break b}h=0-h|0;o=-1}r=w(d,n);d=(r|0)/(h|0)|0;s=e;t=j;e=r-w(d,h)|0;j=e>>31;f=j+(d+f|0)|0;Hi(s,t,i,l,f,m);d=g+o|0;ff(a,f>>8,d);c:{if((d|0)==(k|0)){g=256-m|0;break c}i=n<<8;g=(i|0)/(h|0)|0;i=i-w(g,h)|0;l=i>>31;i=(l&h)+i|0;l=g+l|0;g=256-m|0;e=e+(h&j)|0;while(1){j=f;e=e+i|0;f=(f+l|0)+((e|0)>=(h|0))|0;Hi(a,d,j,g,f,m);d=d+o|0;ff(a,f>>8,d);e=e-((e|0)<(h|0)?0:h)|0;if((d|0)!=(k|0)){continue}break}}Hi(a,k,f,g,b,p)}q[a+212>>2]=c;q[a+208>>2]=b}function El(a,b){var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];if(e>>>0>>0){while(1){d=e+1|0;a:{b:{c:{d:{e:{c=r[e|0];f=c+ -40|0;if(f>>>0>1){if((c|0)==92){break e}c=d;break a}if(f-1){break d}break c}if((b|0)==(d|0)){q[a>>2]=b;return 3}f:{f=r[d|0];c=f+ -40|0;if(c>>>0>76){break f}switch(c-2|0){case 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: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 51:case 52:case 53:case 54:case 55:case 57:case 58:case 59:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 69:case 70:case 71:case 73:break f;default:break b}}c=d;if(d>>>0>=b>>>0){break a}e=0;c=d;if((f&248)!=48){break a}while(1){d=d+1|0;c=d;if(e>>>0>1){break a}c=d;if(d>>>0>=b>>>0){break a}e=e+1|0;if((r[d|0]&248)==48){continue}break}c=d;break a}g=g+1|0;c=d;break a}g=g+ -1|0;c=d;if(g){break a}q[a>>2]=d;return 0}c=e+2|0}e=c;if(e>>>0>>0){continue}break}}q[a>>2]=e;return 3}function wj(a,b,c){a=a|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=Da-16|0;Da=g;q[g+12>>2]=0;k=q[a+100>>2];i=q[a+736>>2];a:{b:{if(!i){d=Nf(a,0);q[g+12>>2]=d;if(d){break b}i=q[a+736>>2]}j=q[i+12>>2];f=q[j>>2];d=q[i+4>>2];if(!d){d=Oa(k,4,0,f,0,g+12|0);q[i+4>>2]=d;if(q[g+12>>2]){break b}}b=f>>>0>>0?f:b;if(b){e=d;while(1){f=q[c>>2];if((f|0)!=q[e>>2]){q[e>>2]=f;l=1}e=e+4|0;c=c+4|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}d=(b<<2)+d|0}f=q[j>>2];c=q[a+4>>2];c:{if(c&2147418112){if(b>>>0>=f>>>0){break c}e=q[(q[j+16>>2]+w(c>>>16|0,12)|0)+ -12>>2]+(b<<2)|0;c=b;while(1){h=q[e>>2];if((h|0)!=q[d>>2]){q[d>>2]=h;l=1}d=d+4|0;e=e+4|0;c=c+1|0;if(c>>>0>>0){continue}break}break c}if(b>>>0>=f>>>0){break c}e=q[j+12>>2]+w(b,24)|0;c=b;while(1){h=q[e+8>>2];if((h|0)!=q[d>>2]){q[d>>2]=h;l=1}d=d+4|0;e=e+24|0;c=c+1|0;if(c>>>0>>0){continue}break}}if(!l){c=-1;if(q[i+8>>2]){break a}}e=Oa(k,4,0,f,0,g+12|0);if(q[g+12>>2]){break b}c=q[a+736>>2];if(!r[c+24|0]){Ao(a);c=q[a+736>>2]}Eh(c,b,q[i+4>>2],e);c=Fh(a,q[j>>2],e,0);q[g+12>>2]=c;if(c){break b}c=q[a+8>>2];if(b){q[a+8>>2]=c|32768;break b}q[a+8>>2]=c&-32769}if(e){n[q[k+8>>2]](k,e)}c=q[g+12>>2]}Da=g+16|0;return c|0}function MK(a,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=-4;a:{b:{if(b>>>0>=c>>>0){break b}c:{d:{g=a+72|0;e=r[g+r[b|0]|0];if(e>>>0>10){break d}e:{switch(e-2|0){case 2:f=-1;e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=93){break c}if((c-(b+2|0)|0)<1){break b}if(r[b+2|0]!=62){break c}q[d>>2]=b+3;return 40;case 7:a=b+1|0;if((c-a|0)<1){return-1}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7;case 8:q[d>>2]=b+1;return 7;case 3:f=-2;if((c-b|0)<2){break b}if(n[q[a+352>>2]](a,b)){break a}e=b+2|0;break c;case 4:f=-2;if((c-b|0)<3){break b}if(n[q[a+356>>2]](a,b)){break a}e=b+3|0;break c;case 0:case 1:break d;case 5:break e;default:break a}}f=-2;if((c-b|0)<4){break b}if(n[q[a+360>>2]](a,b)){break a}e=b+4|0;break c}e=b+1|0}f=c-e|0;f:{if((f|0)<1){break f}while(1){b=1;h=r[r[e|0]+g|0];g:{if(h>>>0>10){break g}h:{switch(h-2|0){case 3:if((f|0)<2){break f}b=2;if(!n[q[a+352>>2]](a,e)){break g}break f;case 4:if((f|0)<3){break f}b=3;if(!n[q[a+356>>2]](a,e)){break g}break f;case 0:case 1:break g;case 5:break h;default:break f}}if((f|0)<4){break f}b=4;if(n[q[a+360>>2]](a,e)){break f}}e=b+e|0;f=c-e|0;if((f|0)>0){continue}break}}q[d>>2]=e;f=6}return f|0}q[d>>2]=b;return 0}function Tf(a,b,c,d){var e=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Da-32|0;Da=i;e=d&2147483647;k=e;e=e+ -1006698496|0;j=c;h=c;if(c>>>0<0){e=e+1|0}l=h;h=e;e=k+ -1140785152|0;m=j;if(j>>>0<0){e=e+1|0}a:{if((e|0)==(h|0)&l>>>0>>0|h>>>0>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;j=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;if(a>>>0<1){e=e+1|0}h=a;break a}h=c;e=e-((c>>>0<0)+ -1073741824|0)|0;if(a|j^134217728){break a}a=h+(h&1)|0;if(a>>>0>>0){e=e+1|0}h=a;break a}if(!(!j&(k|0)==2147418112?!(a|b):(k|0)==2147418112&j>>>0<0|k>>>0<2147418112)){e=d<<4|c>>>28;h=c<<4|b>>>28;e=e&524287|2146959360;break a}h=0;e=2146435072;if((k|0)==1140785151&j>>>0>4294967295|k>>>0>1140785151){break a}e=0;j=k>>>16|0;if(j>>>0<15249){break a}e=d&65535|65536;Fc(i+16|0,a,b,c,e,j+ -15233|0);Uf(i,a,b,c,e,15361-j|0);c=q[i+4>>2];a=q[i+8>>2];e=q[i+12>>2]<<4|a>>>28;h=a<<4|c>>>28;a=c&268435455;c=a;b=q[i>>2]|((q[i+16>>2]|q[i+24>>2])!=0|(q[i+20>>2]|q[i+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=h+1|0;if(a>>>0<1){e=e+1|0}h=a;break a}if(b|c^134217728){break a}a=h+(h&1)|0;if(a>>>0>>0){e=e+1|0}h=a}Da=i+32|0;f(0,h|0);f(1,d&-2147483648|e);return+g()}function Uo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return}a:{if(!b){break a}f=q[a+16>>2];if((f|0)<1){break a}d=((f<<2)+a|0)+20|0;c=a+20|0;while(1){if(q[c>>2]==(b|0)){q[a+16>>2]=f+ -1;a=d+ -4|0;if(c>>>0>>0){while(1){q[c>>2]=q[c+4>>2];c=c+4|0;if(c>>>0>>0){continue}break}}q[a>>2]=0;i=q[b+8>>2];f=q[b>>2];d=q[b+4>>2];e=f;b:{if(!d){break b}if(q[d+160>>2]==(b|0)){q[d+160>>2]=0}a=f;e=a;if(!(r[a|0]&2)){break b}c=q[d+148>>2];e=f;if(!c){break b}e=d+148|0;a=q[d>>2];c:{while(1){if(q[c+8>>2]==(b|0)){break c}c=q[c+4>>2];if(c){continue}break}e=f;break b}g=q[b+12>>2];d:{if(q[g+36>>2]!=1869968492){break d}h=q[b+52>>2];if(!h){break d}n[q[q[g+56>>2]+20>>2]](h)}g=q[c>>2];h=g?g+4|0:e;e=q[c+4>>2];q[h>>2]=e;q[(e?e:d+152|0)>>2]=g;n[q[a+8>>2]](a,c);c=q[d+148>>2];e:{if(c){while(1){a=q[c+8>>2];if(q[a+16>>2]==1869968492){break e}c=q[c+4>>2];if(c){continue}break}}a=0}q[d+156>>2]=a;e=q[b>>2]}f:{if(!(o[e|0]&1)){break f}d=q[b+8>>2];if(!d){break f}c=q[b+16>>2];if(c){while(1){a=q[c+4>>2];vf(d,q[c+8>>2],b);n[q[d+8>>2]](d,c);c=a;if(c){continue}break}}q[b+16>>2]=0;q[b+20>>2]=0}a=q[f+28>>2];if(a){n[a](b)}n[q[i+8>>2]](i,b);return}c=c+4|0;if(c>>>0>>0){continue}break}}}function EP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Na(a,0,656);q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=q[b+16>>2];d=q[b+20>>2];q[a+40>>2]=b+48;q[a+36>>2]=b+40;q[a+32>>2]=b+32;q[a+28>>2]=b+28;q[a+24>>2]=b+24;q[a+20>>2]=d;if(c){d=r[b+70|0];e=r[b+68|0]|r[b+69|0]<<8;o[a+45|0]=e;o[a+46|0]=e>>>8;q[a+540>>2]=b+1508;e=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=e;o[a+48|0]=c;o[a+47|0]=d;o[a+44|0]=0;q[a+604>>2]=q[b+1348>>2];q[a+584>>2]=q[b+1352>>2];q[a+580>>2]=q[b+1356>>2];q[a+588>>2]=q[b+1472>>2];q[a+644>>2]=q[b+1468>>2];q[a+556>>2]=q[b+1364>>2];q[a+572>>2]=q[b+1368>>2];q[a+612>>2]=q[b+1372>>2];q[a+616>>2]=q[b+1376>>2];q[a+648>>2]=q[b+1496>>2];q[a+652>>2]=q[b+1500>>2];q[a+608>>2]=q[b+1360>>2];return}c=q[b+64>>2];d=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=d;o[a+48|0]=0;q[a+44>>2]=c;c=q[b+108>>2];q[a+532>>2]=c;q[a+540>>2]=c+3104;q[a+536>>2]=q[b+768>>2];q[a+560>>2]=q[b+732>>2];q[a+576>>2]=q[b+748>>2];q[a+568>>2]=q[b+740>>2];q[a+556>>2]=q[b+728>>2];q[a+572>>2]=q[b+744>>2];c=q[b+736>>2];q[a+544>>2]=b+584;q[a+564>>2]=c;o[a+548|0]=r[b+593|0];q[a+588>>2]=q[b+760>>2];q[a+596>>2]=q[b+772>>2];q[a+600>>2]=q[b+776>>2]}function Km(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if((b|0)!=1196445523){h=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[h+5|0]|r[h+4|0]<<8;a=a?h+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?(a+w(c,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];a=b?a+b|0:271312;b:{c:{if(d){while(1){b=r[a+3|0]|r[a+2|0]<<8;if(b){j=q[(i<<2)+e>>2];c=b+ -1|0;b=0;while(1){h=b+c>>>1|0;g=a+w(h,6)|0;g=r[g+4|0]|r[g+5|0]<<8|(r[g+6|0]<<16|r[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d:{if(g>>>0>j>>>0){c=h+ -1|0;break d}if((g|0)==(j|0)){break c}b=h+1|0}if((b|0)<=(c|0)){continue}break}}if(f){q[f>>2]=65535}i=i+1|0;if((i|0)!=(d|0)){continue}break}}e:{f:{b=r[a+3|0]|r[a+2|0]<<8;if(b){c=b+ -1|0;b=0;while(1){d=b+c>>>1|0;e=a+w(d,6)|0;e=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);g:{if(e>>>0>=1684434037){c=d+ -1|0;break g}if((e|0)==1684434036){break f}b=d+1|0}if((b|0)<=(c|0)){continue}break}}if(f){break e}return}if(!f){break b}q[f>>2]=d;break b}q[f>>2]=65535;return}if(!f){break b}q[f>>2]=h}}function uQ(a,b,c){a=a|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=Da-16|0;Da=e;$b(a,q[a+8>>2]);f=q[a+8>>2];d=q[a>>2];q[e+12>>2]=d;a:{if(d>>>0>=f>>>0){break a}h=r[d|0];i=(h|0)==91?93:(h|0)==123?125:0;if(i){d=d+1|0;q[e+12>>2]=d}if(d>>>0>=f>>>0){break a}b:{c:{d:{if(!c){if(i){while(1){$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){break a}if(r[d|0]==(i|0)){break b}Ed(e+12|0,f,0);b=q[e+12>>2];if((b|0)==(d|0)){break d}g=g+1|0;if(b>>>0>>0){continue}break}d=b;break a}$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){break a}if(!r[d|0]){break c}Ed(e+12|0,f,0);b=q[e+12>>2];if((b|0)==(d|0)){break d}g=1;d=b;break a}h=0;g=(b|0)>0?b:0;if(i){while(1){$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){g=h;break a}if(r[d|0]==(i|0)){g=h;break b}if((g|0)==(h|0)){break a}j=(h<<1)+c|0,k=Ed(e+12|0,f,0)>>>16|0,p[j>>1]=k;b=q[e+12>>2];if((b|0)==(d|0)){break d}h=h+1|0;if(b>>>0>>0){continue}break}d=b;g=h;break a}$b(e+12|0,f);d=q[e+12>>2];if(d>>>0>=f>>>0){g=0;break a}if(!r[d|0]){break c}if((b|0)<1){break a}j=c,k=Ed(e+12|0,f,0)>>>16|0,p[j>>1]=k;b=q[e+12>>2];if((b|0)==(d|0)){break d}g=1;d=b;break a}g=-1;break a}g=0}d=d+1|0;q[e+12>>2]=d}q[a>>2]=d;Da=e+16|0;return g|0}function XY(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=9){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){break b}CY(b,a);return;case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){BY(b,a);return}AY(b,a);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}zY(b,a);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}yY(b,a);return;case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break a}xY(b,a);return;case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break a}wY(b,a);return;case 5:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:lv(b,a);return;case 0:kv(b,a);return;case 1:break d}}jv(b,a);return;case 6:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}e:{switch(c-1|0){default:iv(b,a);return;case 0:hv(b,a);return;case 1:break e}}gv(b,a);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}uY(b,a)}}function Ow(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-16|0;Da=g;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}i=q[b+8>>2];if(i>>>0>>0){break a}f=i-a|0;if(f>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{h=r[a|0]|r[a+1|0]<<8;h=(h<<24|h<<8&16711680)>>>16|0;if(h>>>0>10){break b}c:{switch(h-1|0){default:f=q[b+32>>2];if(f>>>0>2147483646){break a}if(!f){break b}h=e;e=a+2|0;if(h>>>0>e>>>0|i>>>0>>0|i-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<=1){break a}d=0;while(1){if(!xg(((d<<1)+a|0)+2|0,b,c)){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}break b;case 1:q[g+12>>2]=c;j=Nw(a+2|0,b,g+12|0);break a;case 3:q[g+12>>2]=c;q[g+8>>2]=a;j=Lw(a+2|0,b,g+8|0,g+12|0);break a;case 5:q[g+12>>2]=c;j=Kw(a+2|0,b,g+12|0);break a;case 9:break a;case 0:case 2:case 4:case 6:case 8:break b;case 7:break c}}if(f>>>0<6){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}f=r[a+5|0]|r[a+4|0]<<8;if(!f){break b}h=e;e=a+6|0;if(h>>>0>e>>>0|i>>>0>>0|i-e>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<=2){break a}d=0;while(1){if(xg(((d<<1)+a|0)+6|0,b,c)){j=1;d=d+1|0;if((f|0)!=(d|0)){continue}break a}break}j=0;break a}j=1}Da=g+16|0;return j}function Ap(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(!q[a+96>>2]){return 34}q[b>>2]=0;e=q[a+100>>2];g=q[q[a+96>>2]+12>>2];d=q[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=n[q[e+4>>2]](e,d)|0;if(!f){return 64}Na(f,0,d)}e:{d=n[q[e+4>>2]](e,12)|0;if(d){o[d|0]=0;o[d+1|0]=0;o[d+2|0]=0;o[d+3|0]=0;o[d+4|0]=0;o[d+5|0]=0;o[d+6|0]=0;o[d+7|0]=0;o[d+8|0]=0;o[d+9|0]=0;o[d+10|0]=0;o[d+11|0]=0;q[f>>2]=a;c=n[q[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}o[c|0]=0;o[c+1|0]=0;o[c+2|0]=0;o[c+3|0]=0;o[c+4|0]=0;o[c+5|0]=0;o[c+6|0]=0;o[c+7|0]=0;o[c+32|0]=0;o[c+33|0]=0;o[c+34|0]=0;o[c+35|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;o[c+29|0]=0;o[c+30|0]=0;o[c+31|0]=0;o[c+16|0]=0;o[c+17|0]=0;o[c+18|0]=0;o[c+19|0]=0;o[c+20|0]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+8|0]=0;o[c+9|0]=0;o[c+10|0]=0;o[c+11|0]=0;o[c+12|0]=0;o[c+13|0]=0;o[c+14|0]=0;o[c+15|0]=0;q[f+40>>2]=c;c=q[g+56>>2];if(c){c=n[c](f)|0;if(c){break b}}q[b>>2]=f;q[d+8>>2]=f;b=q[a+112>>2];q[d>>2]=b;c=0;q[d+4>>2]=0;q[(b?b+4|0:a+108|0)>>2]=d;q[a+112>>2]=d}return c}n[q[e+8>>2]](e,d)}n[q[e+8>>2]](e,f);return c}function Fn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[a+552>>2];if(e>>>0>2){return-31}a:{b:{c:{d:{switch(e-1|0){case 1:i=q[c>>2];break b;default:g=q[b+4>>2];e:{if((g|0)!=32){e=q[b>>2];break e}f=q[b+12>>2];if(!f){return 2}h=q[b>>2]>>>8|0;q[b>>2]=h;d=q[b+8>>2];e=r[d|0];q[b+12>>2]=f+ -1;g=24;q[b+4>>2]=24;q[b+8>>2]=d+1;e=h|e<<24;q[b>>2]=e}d=g+1|0;q[b+4>>2]=d;if(e>>>g&1){break c}q[c>>2]=0;return 1;case 0:break d}}d=q[b+4>>2]}f:{if(32-d>>>0>=3){f=q[b>>2];break f}g=q[b+12>>2];e=d;while(1){if(!g){break a}j=q[b>>2]>>>8|0;q[b>>2]=j;f=q[b+8>>2];h=r[f|0];g=g+ -1|0;q[b+12>>2]=g;d=e+ -8|0;q[b+4>>2]=d;q[b+8>>2]=f+1;f=j|h<<24;q[b>>2]=f;h=40-e|0;e=d;if(h>>>0<3){continue}break}}q[b+4>>2]=d+3;i=f>>>d&7;if(!i){q[c>>2]=1;q[a+552>>2]=0;return 1}q[c>>2]=i}g:{d=q[b+4>>2];h:{if(32-d>>>0>=i>>>0){f=q[b>>2];break h}g=q[b+12>>2];e=d;while(1){if(!g){break g}j=q[b>>2]>>>8|0;q[b>>2]=j;f=q[b+8>>2];h=r[f|0];g=g+ -1|0;q[b+12>>2]=g;d=e+ -8|0;q[b+4>>2]=d;q[b+8>>2]=f+1;f=j|h<<24;q[b>>2]=f;h=40-e|0;e=d;if(h>>>0>>0){continue}break}}q[b+4>>2]=d+i;q[c>>2]=(q[(i<<2)+153552>>2]&f>>>d)+(1<>2]);q[a+552>>2]=0;return 1}q[a+552>>2]=2;return 2}q[a+552>>2]=1;return 2}function eo(a,b,c,d){a=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=Da-48|0;Da=e;g=q[a+4>>2];o[b+557|0]=0;q[b+560>>2]=a;if(!(!q[b+116>>2]|!q[b+120>>2])){f=Na(b+188|0,0,364);q[b+528>>2]=3932;q[b+520>>2]=-1;q[b+392>>2]=1;q[b+588>>2]=d;q[b+584>>2]=c;q[b+552>>2]=b;q[b+384>>2]=2596864;q[b+388>>2]=7;h=r[a+32|0];c=97;a:{if(!h){break a}c=q[a+1556>>2]+1|0}i=q[a>>2];d=q[i>>2];j=q[b+176>>2];q[e+12>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+24>>2]=0;q[e+4>>2]=0;q[e+8>>2]=0;q[e+32>>2]=f;q[e+28>>2]=h?20480:8192;q[e>>2]=i;q[e+36>>2]=j;f=Oa(d,4,0,c,0,e+44|0);q[e+16>>2]=f;b:{c:{if(!q[e+44>>2]){q[e+20>>2]=f;q[e+24>>2]=c;break c}if(f){n[q[d+8>>2]](d,f)}f=0;q[e+16>>2]=0;if(q[e+44>>2]){break b}}f=Xa(g,q[b+116>>2]+q[a+12>>2]|0);if(f){break b}f=mb(g,q[b+120>>2]);if(f){break b}f=co(e,q[g+32>>2],q[g+36>>2]);jb(g);if(f){break b}o[b+188|0]=r[b+188|0]&254;a=b;c=q[b+532>>2];d:{e:{if((c|0)<=-1){c=0-c|0;break e}if(c){break d}c=987654321}q[a+532>>2]=c}if(t[b+388>>2]>=1001){q[b+388>>2]=7}f=0;if(t[b+392>>2]<1001){break b}q[b+392>>2]=1}q[b+600>>2]=0;q[b+596>>2]=q[b+592>>2];a=q[q[e>>2]>>2];b=q[e+16>>2];if(b){n[q[a+8>>2]](a,b)}q[e+16>>2]=0}Da=e+48|0;return f|0}function kj(a,b,c,d){var e=0,f=0,g=0;a:{b:{g=q[a+8264>>2];if(g>>>0>b>>>0){g=0;if(Xa(q[a>>2],q[a+68>>2])){break a}e=q[a+40>>2];c:{if(!e){break c}q[a+20>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[e>>2]=q[e+12>>2]?7:0;f=q[e+20>>2];e=q[f>>2];if((e&-2)==4){n[q[a+48>>2]](q[a+52>>2],q[f+12>>2]);e=q[f>>2]}if((e|0)==6){n[q[a+48>>2]](q[a+52>>2],q[f+4>>2])}q[f+28>>2]=0;q[f+32>>2]=0;q[f>>2]=0;e=q[f+40>>2];q[f+52>>2]=e;q[f+48>>2]=e;e=q[f+56>>2];if(!e){break c}e=n[e](0,0,0)|0;q[f+60>>2]=e;q[a+60>>2]=e}q[a+8264>>2]=0;q[a+28>>2]=0;q[a+12>>2]=a+72;q[a+16>>2]=0;e=a+8264|0;q[a+8272>>2]=e;q[a+24>>2]=a+4168;q[a+8268>>2]=e}if(g>>>0>>0){f=q[a+8268>>2];e=q[a+8272>>2]-f|0;b=b-g|0;e=e>>>0>>0?e:b;q[a+8268>>2]=e+f;q[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(Tn(a)){return 0}f=q[a+8268>>2];e=q[a+8272>>2]-f|0;e=e>>>0>>0?e:b;q[a+8268>>2]=e+f;q[a+8264>>2]=e+q[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=q[a+8268>>2];b=q[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=Qa(c,e,f);q[a+8268>>2]=f+q[a+8268>>2];q[a+8264>>2]=f+q[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!Tn(a)){continue}break}}return g}function Ag(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=Da-16|0;Da=j;g=6;a:{if(!a){break a}i=q[a+12>>2];if(i>>>0<=b>>>0){break a}k=q[a>>2];b:{c:{d:{e:{f:{g:{e=q[a+28>>2];if(!e){g=Xa(k,(q[a+8>>2]+q[a+4>>2]|0)+w(r[a+16|0],b)|0);if(g){break a}g=Wb(q[a>>2],j+12|0,r[a+16|0]);if(g){break a}e=r[a+16|0];if(!e){break f}g=e>>>0>1?e:1;while(1){h=r[(j+12|0)+f|0]|h<<8;f=f+1|0;if((g|0)!=(f|0)){continue}break}if(!h){break f}while(1){g=Wb(q[a>>2],j+12|0,e&255);h:{if(g){break h}f=r[a+16|0];if(!f){break h}i=f>>>0>1?f:1;e=0;f=0;while(1){f=r[(j+12|0)+e|0]|f<<8;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(f){break g}}b=b+1|0;if(b>>>0>=t[a+12>>2]){break e}e=r[a+16|0];continue}}g=0;h=q[e+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;f=q[e+(b<<2)>>2];if(f){break g}if((b|0)!=(i|0)){continue}break}break e}g=0;b=q[k+4>>2];e=b+1|0;if(f>>>0<=e>>>0){break d}i=q[a+20>>2];break c}h=0;g=0}b=q[k+4>>2];f=0}i=q[a+20>>2];e=b+1|0;if(i>>>0<=e-f>>>0){break b}}f=e-i|0}if(!(!h|f>>>0<=h>>>0)){b=f-h|0;q[d>>2]=b;d=q[a+32>>2];if(d){q[c>>2]=(d+h|0)+ -1;break a}g=Xa(k,(q[a+20>>2]+h|0)+ -1|0);if(g){break a}g=Bc(k,b,c);break a}q[c>>2]=0;q[d>>2]=0}Da=j+16|0;return g}function Ya(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{b=q[a+4>>2];if(!b){break c}c=q[a+16>>2];if(!c){q[a>>2]=b;q[a+4>>2]=q[b>>2];q[b>>2]=0;c=q[a>>2];b=c+8|0;q[a+16>>2]=b;c=q[c+4>>2];q[a+12>>2]=b;q[a+8>>2]=b+c;break b}if((q[a+8>>2]-c|0)>=q[b+4>>2]){break c}c=q[b>>2];q[b>>2]=q[a>>2];b=q[a+4>>2];q[a+4>>2]=c;q[a>>2]=b;c=b+8|0;b=q[a+16>>2];Qa(c,b,q[a+8>>2]-b|0);c=q[a+16>>2];d=q[a>>2];b=d+8|0;q[a+16>>2]=b;q[a+12>>2]=b+(q[a+12>>2]-c|0);q[a+8>>2]=b+q[d+4>>2];break b}d:{e=q[a>>2];if(!e){b=q[a+16>>2];break d}b=q[a+16>>2];if((b|0)!=(e+8|0)){break d}c=0;d=q[a+8>>2]-b<<1;if((d|0)<0|!d){break a}f=d+8|0;if((f|0)<1){break a}g=q[a+12>>2];e=n[q[q[a+20>>2]+4>>2]](e,f)|0;if(!e){break a}q[a>>2]=e;q[e+4>>2]=d;c=q[a>>2]+8|0;q[a+16>>2]=c;q[a+12>>2]=c+(g-b|0);q[a+8>>2]=c+d;break b}c=0;d=q[a+8>>2]-b|0;if((d|0)<0){break a}e=1024;b=1032;if((d|0)>=1024){e=d<<1;if((e|0)<0){break a}b=e+8|0;if((b|0)<1){break a}}d=n[q[q[a+20>>2]>>2]](b)|0;if(!d){break a}q[d+4>>2]=e;q[d>>2]=q[a>>2];q[a>>2]=d;c=q[a+16>>2];b=q[a+12>>2];if((c|0)!=(b|0)){Qa(d+8|0,c,b-c|0);c=q[a+16>>2];b=q[a+12>>2]}d=d+8|0;q[a+16>>2]=d;q[a+12>>2]=d+(b-c|0);q[a+8>>2]=d+e}c=1}return c}function st(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(!b){b=q[a+4>>2];if((b|0)<0){break a}e=q[a+8>>2]+1|0;b:{if(b>>>0>=e>>>0){c=b;break b}c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}c:{if(!(c>>>0>>0|c>>>0>1073741822)){b=db(q[a+12>>2],c<<2);if(b){break c}}q[a+4>>2]=-1;return 0}q[a+4>>2]=c;q[a+12>>2]=b}b=ab(1,384);if(!b){break a}d:{e:{d=q[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(c>>>0>>0){d=c;while(1){d=((d>>>1|0)+d|0)+8|0;if(d>>>0<=e>>>0){continue}break}if(d>>>0>>0|d>>>0>1073741822){break e}c=db(q[a+12>>2],d<<2);if(!c){break e}q[a+4>>2]=d;q[a+12>>2]=c;d=q[a+8>>2]}if(e>>>0>d>>>0){Na(q[a+12>>2]+(d<<2)|0,0,e-d<<2)}q[a+8>>2]=e;c=(q[a+12>>2]+(e<<2)|0)+ -4|0;break d}q[a+4>>2]=-1;q[160744]=q[67828];c=642976}q[c>>2]=b;q[b+360>>2]=0;q[b+336>>2]=b+360;q[b+312>>2]=b+336;q[b+288>>2]=b+312;q[b+264>>2]=b+288;q[b+240>>2]=b+264;q[b+216>>2]=b+240;q[b+192>>2]=b+216;q[b+168>>2]=b+192;q[b+144>>2]=b+168;q[b+120>>2]=b+144;q[b+96>>2]=b+120;q[b+72>>2]=b+96;q[b+48>>2]=b+72;q[b+24>>2]=b+48;q[b>>2]=b+24;q[a>>2]=b}q[a>>2]=q[b>>2];q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;d=b}return d}function nu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=q[67828];i=q[b+4>>2];while(1){if(f>>>0>=i>>>0){return 1}g=q[c>>2];d=q[a>>2];a:{if(g>>>0>d>>>0|g+q[c+4>>2]>>>0<=d>>>0){break a}e=d+1|0;q[a>>2]=e;d=r[d|0];j=d&63;b:{if(d&128){g=q[b+8>>2];e=0;while(1){c:{if(t[b+4>>2]<=f>>>0){q[160744]=k;d=642976;break c}d=g+(f<<2)|0}q[d>>2]=0;d=e+1|0;f=f+1|0;if(f>>>0>=i>>>0){break b}h=e>>>0>>0;e=d;if(h){continue}break}break b}d:{if(d&64){g=0;while(1){d=q[c>>2];if(d>>>0>e>>>0){break d}d=d+q[c+4>>2]|0;if(e>>>0>d>>>0|d-e>>>0<2){break d}d=r[e|0]|r[e+1|0]<<8;h=(d<<24|d<<8&16711680)>>16;e:{if(t[b+4>>2]<=f>>>0){q[160744]=k;e=q[a>>2];d=642976;break e}d=q[b+8>>2]+(f<<2)|0}q[d>>2]=h;e=e+2|0;q[a>>2]=e;d=g+1|0;f=f+1|0;if(f>>>0>=i>>>0){break b}h=g>>>0>>0;g=d;if(h){continue}break}break b}g=0;d=q[c>>2];if(d>>>0>e>>>0){break d}while(1){if(q[c+4>>2]+d>>>0<=e>>>0){break d}q[a>>2]=e+1;e=o[e|0];f:{if(t[b+4>>2]<=f>>>0){q[160744]=k;d=642976;break f}d=q[b+8>>2]+(f<<2)|0}q[d>>2]=e;d=g+1|0;f=f+1|0;if(f>>>0>=i>>>0|g>>>0>=j>>>0){break b}g=d;d=q[c>>2];e=q[a>>2];if(d>>>0<=e>>>0){continue}break}}break a}if(d>>>0>j>>>0){continue}}break}return 0}function aT(){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;c=Da-32|0;Da=c;f=Kb(270488);a:{if(!f|!r[f|0]){break a}d=ab(1,40);if(!d){break a}a=q[67621];q[d+32>>2]=q[67620];q[d+36>>2]=a;a=q[67619];q[d+24>>2]=q[67618];q[d+28>>2]=a;a=q[67617];q[d+16>>2]=q[67616];q[d+20>>2]=a;a=q[67615];q[d+8>>2]=q[67614];q[d+12>>2]=a;a=q[67613];q[d>>2]=q[67612];q[d+4>>2]=a;g=d+20|0;while(1){h=Pb(f,44);if(!h){h=Wa(f)+f|0}b:{if(e>>>0>1){break b}a=e;b=w(a,20)+d|0;i=h-f|0;c:{if((Wa(b)|0)!=(i|0)){break c}a=e;if(Ra(b,f,i)){break c}j=q[b+16>>2];q[c+24>>2]=j;k=q[b+12>>2];l=q[b+8>>2];q[c+16>>2]=l;q[c+20>>2]=k;m=q[b+4>>2];a=q[b>>2];q[c+8>>2]=a;q[c+12>>2]=m;q[b+16>>2]=j;q[b+8>>2]=l;q[b+12>>2]=k;q[b>>2]=a;q[b+4>>2]=m;a=e+1|0}d:{if(e){break d}if((Wa(g)|0)!=(i|0)){break d}if(Ra(g,f,i)){break d}q[c+24>>2]=q[g+16>>2];e=q[g+12>>2];q[c+16>>2]=q[g+8>>2];q[c+20>>2]=e;e=q[g+4>>2];q[c+8>>2]=q[g>>2];q[c+12>>2]=e;b=w(a,20)+d|0;sb(b+20|0,b,w(1-a|0,20));q[b+16>>2]=q[c+24>>2];e=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=e;e=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=e;e=a+1|0;break b}e=a}f=h+1|0;if(r[h|0]){continue}break}h=d}Da=c+32|0;return h}function dU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-96|0;Da=d;g=q[c+16>>2];i=q[c+12>>2];f=q[c+4>>2];e=q[c+20>>2];q[d+88>>2]=q[c+16>>2];q[d+92>>2]=e;e=q[c+12>>2];q[d+80>>2]=q[c+8>>2];q[d+84>>2]=e;e=q[c+4>>2];q[d+72>>2]=q[c>>2];q[d+76>>2]=e;c=0;a:{if(!Nb(b,a,6)){break a}j=a+4|0;if(!Nb(b,j,2)){break a}f=f>>>0>g>>>0?g:f;e=(f<<24|f<<8&16711680)>>>16|0;o[a+4|0]=e;o[a+5|0]=e>>>8;h=(f&65280)>>>8|0;e=f;b:{if(f>>>0<65536){break b}e=f;if(!r[b+20|0]){break b}o[b+20|0]=0;h=r[a+4|0];e=r[a+5|0]}if(!Nb(b,j,(h<<9|(e&255)<<1)+2|0)){break a}if(f){while(1){e=(c<<1)+a|0;h=g?i:271312;h=r[h|0]|r[h+1|0]<<8;o[e+6|0]=h;o[e+7|0]=h>>>8;e=(g|0)!=0;g=g-e|0;i=(e<<1)+i|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}f=q[b+4>>2];c=f-a|0;e=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=e;o[a+3|0]=e>>>8;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0}q[d+32>>2]=255048;a=q[d+92>>2];e=q[d+88>>2];q[d+56>>2]=e;q[d+60>>2]=a;c=q[d+84>>2];g=q[d+80>>2];q[d+48>>2]=g;q[d+52>>2]=c;q[d+16>>2]=g;q[d+20>>2]=c;q[d+24>>2]=e;q[d+28>>2]=a;a=q[d+76>>2];c=q[d+72>>2];q[d+40>>2]=c;q[d+44>>2]=a;q[d+64>>2]=255048;q[d+8>>2]=c;q[d+12>>2]=a;c=Kt(f,b,d+8|0)}Da=d+96|0;return c}function EO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619);d=q[a+20>>2];if(d){a=q[a+24>>2];b=0;while(1){e=c;c=w(b,24)+a|0;c=w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(e^r[c|0],16777619)^r[c+1|0],16777619)^r[c+2|0],16777619)^r[c+3|0],16777619)^r[c+4|0],16777619)^r[c+5|0],16777619)^r[c+6|0],16777619)^r[c+7|0],16777619)^r[c+8|0],16777619)^r[c+9|0],16777619)^r[c+10|0],16777619)^r[c+11|0],16777619)^r[c+12|0],16777619)^r[c+13|0],16777619)^r[c+14|0],16777619)^r[c+15|0],16777619)^r[c+16|0],16777619)^r[c+17|0],16777619)^r[c+18|0],16777619)^r[c+19|0],16777619)^r[c+20|0],16777619)^r[c+21|0],16777619)^r[c+22|0],16777619)^r[c+23|0],16777619);b=b+1|0;if((d|0)!=(b|0)){continue}break}}return c|0}function Qa(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){ba(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if((c|0)<1){c=a;break b}if(!(a&3)){c=a;break b}c=a;while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if(c>>>0>=e>>>0){break b}if(c&3){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+ -64|0;if(c>>>0>f>>>0){break c}while(1){q[c>>2]=q[b>>2];q[c+4>>2]=q[b+4>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=q[b+12>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=q[b+20>>2];q[c+24>>2]=q[b+24>>2];q[c+28>>2]=q[b+28>>2];q[c+32>>2]=q[b+32>>2];q[c+36>>2]=q[b+36>>2];q[c+40>>2]=q[b+40>>2];q[c+44>>2]=q[b+44>>2];q[c+48>>2]=q[b+48>>2];q[c+52>>2]=q[b+52>>2];q[c+56>>2]=q[b+56>>2];q[c+60>>2]=q[b+60>>2];b=b- -64|0;c=c- -64|0;if(c>>>0<=f>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){q[c>>2]=q[b>>2];b=b+4|0;c=c+4|0;if(c>>>0>>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){o[c|0]=r[b|0];o[c+1|0]=r[b+1|0];o[c+2|0]=r[b+2|0];o[c+3|0]=r[b+3|0];b=b+4|0;c=c+4|0;if(c>>>0<=d>>>0){continue}break}}if(c>>>0>>0){while(1){o[c|0]=r[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function KX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;d=1;if((f|0)<1){d=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}if(g>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=f+ -2;if((f|0)<2){d=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}b:{c:{c=c+h|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<=7){break c}q[b+12>>2]=f+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(f|0)<3){break c}if(!Dm(c+2|0,b,c)){break c}q[i+12>>2]=c;g=q[b+4>>2];d=c+6|0;if(g>>>0>d>>>0){break c}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break c}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break c}h=r[d+1|0]|r[d|0]<<8;if(!h){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break c}q[b+12>>2]=f+ -2;if((f|0)<2){break c}f=r[d+1|0]|r[d|0]<<8;if(!f){break b}e=0;while(1){if(!Cm((d+(e<<2)|0)+2|0,b,c)){break c}e=e+1|0;if((f|0)!=(e|0)){continue}break}break b}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0}d=1}Da=i+16|0;return d}function d_(a,b){var c=0,d=0;c=271312;a:{b:{while(1){c:{if((b|0)!=7){b=b+ -1|0;if(b>>>0>7){break b}d:{switch(b-1|0){default:b=r[a|0]|r[a+1|0]<<8;if(((b<<24|b<<8&16711680)>>>16|0)+ -1>>>0>1){break b}break a;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}break a;case 3:b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=r[a+7|0]|r[a+6|0]<<8;return a?b+a|0:271312;case 5:break b;case 6:break c;case 4:break d}}b=r[a|0]|r[a+1|0]<<8;b=((b<<24|b<<8&16711680)>>>16|0)+ -1|0;if(b>>>0>2){break b}if(b+ -2){break a}b=a;a=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;a=r[a+3|0]|r[a+2|0]<<8?a+4|0:271312;a=r[a|0]<<8|r[a+1|0];return a?b+a|0:271312}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break b}b=a;a=r[a+3|0]|r[a+2|0]<<8;c=a?b+a|0:271312}return c}b=a;a=r[a+3|0]|r[a+2|0]<<8;return a?b+a|0:271312}function RX(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;a:{f=ab(1,52);if(f){o[f+12|0]=1;q[f>>2]=-1;g=q[a+44>>2];j=g+ -1|0;i=q[a+48>>2];h=f;b:{c:{d:{if((g|0)<1){break d}b=j;while(1){e:{c=b+d>>>1|0;e=q[w(c,36)+i>>2];f:{if(e>>>0>=1886545255){b=c+ -1|0;break f}if((e|0)==1886545254){break e}d=c+1|0}if((d|0)<=(b|0)){continue}break d}break}d=q[(w(c,36)+i|0)+12>>2];if((d|0)!=-1){break c}}q[f+4>>2]=0;a=0;break b}c=q[a+80>>2];if(c>>>0>>0){break a}if(d){e=d+ -1|0;b=271312;g:{if(c>>>0<=e>>>0){break g}b=q[a+84>>2]+(e<<3)|0}b=q[b>>2]}else{b=0}if(c>>>0>d>>>0){e=q[a+84>>2]+(d<<3)|0}else{e=a+56|0}d=f;e=q[e>>2];c=0;h:{if((e|0)==(b|0)){break h}c=271312;if(t[a+56>>2]<=b>>>0){break h}c=q[a+60>>2]+(b<<3)|0}q[d+4>>2]=c;a=e-b|0}q[h+8>>2]=a;e=f+16|0;a=0;m=(g|0)<1;while(1){h=0;i:{if(m|a>>>0>4){break i}c=q[(a<<3)+240352>>2];d=0;b=j;while(1){j:{g=b+d>>>1|0;k=w(g,36)+i|0;l=q[k>>2];k:{if(l>>>0>c>>>0){b=g+ -1|0;break k}if(l>>>0>=c>>>0){break j}d=g+1|0}if((d|0)<=(b|0)){continue}break i}break}h=q[k+28>>2]}q[(a<<2)+e>>2]=h;a=a+1|0;if((a|0)!=9){continue}break}}return f|0}I(241856,241892,148,241907);F()}function Dh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;f=q[a+28>>2];q[h+12>>2]=0;q[c>>2]=0;e=q[a+32>>2];if(e>>>0>2]){q[a+32>>2]=e+1;d=o[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}g=e&255;if(g&128){d=g<<8&32512;e=q[a+32>>2];if(e>>>0>2]){q[a+32>>2]=e+1;e=o[e|0]}else{e=0}g=d|e<<24>>24&255}d=0;if(g>>>0>b>>>0){break a}e=Oa(f,2,0,g+1|0,0,h+12|0);d=0;if(q[h+12>>2]){break a}q[c>>2]=g;if(g){c=0;b=0;while(1){d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;d=o[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=ob(a)+c|0;p[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=ob(a)+c|0;p[e+(b<<1)>>1]=c;b=b+1|0;if(b>>>0>=g>>>0){break b}d=d+1|0;if(d>>>0>>0){continue}break}break b}i=e+(b<<1)|0;d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;d=o[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;p[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=q[a+32>>2];if(f>>>0>2]){q[a+32>>2]=f+1;f=o[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;p[i>>1]=c;b=b+1|0;if(b>>>0>=g>>>0){break b}d=d+1|0;if(d>>>0>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Da=h+16|0;return d}function qk(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Da-16|0;Da=g;a:{b:{if(a){break b}a=ee();if(a){break b}break a}Bk();c:{if(!Xp(a,0)){e=de(a);c=ee();if(!c){break c}Pp(c,e);if(Wp(c)){b=c;break c}cc(c);break c}ai(a,502596,0,0);b=q[a+12>>2];if(!b){b=a;break a}if(q[b+4>>2]){b=a;break a}c=Kb(502645);b=Kb(502661);d:{if(c){e=1;if(r[c|0]){break d}}if(b){e=1;if(r[b|0]){break d}}b=q[126999];Lc(502677,71,1,b);q[g>>2]=502801;Mc(b,502749,g);e=0}b=0;e:{f:{c=Qp();g:{if(!c){break g}b=c;f=Wa(c);c=db(c,f+12|0);if(!c){break g}d=c+f|0;b=r[502847]|r[502848]<<8|(r[502849]<<16|r[502850]<<24);f=r[502843]|r[502844]<<8|(r[502845]<<16|r[502846]<<24);o[d|0]=f;o[d+1|0]=f>>>8;o[d+2|0]=f>>>16;o[d+3|0]=f>>>24;o[d+4|0]=b;o[d+5|0]=b>>>8;o[d+6|0]=b>>>16;o[d+7|0]=b>>>24;b=r[502850]|r[502851]<<8|(r[502852]<<16|r[502853]<<24);o[d+7|0]=b;o[d+8|0]=b>>>8;o[d+9|0]=b>>>16;o[d+10|0]=b>>>24;o[d+11|0]=0;if(!e){Lc(502855,72,1,q[126999])}if(mk(a,502801)){if(mk(a,c)){break f}}b=c}e=de(a);Lc(502928,31,1,q[126999]);if(b){La(b)}c=ee();if(!c){b=0;break c}Pp(c,e);b=0;if(!Wp(c)){break e}b=c;break c}La(c);b=a;break a}cc(c)}cc(a)}Da=g+16|0;return b}function Zk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Da-96|0;Da=d;tc(q[a+12>>2],q[a>>2]);b=q[a+12>>2];c=Wa(b)+b|0;b=r[441560]|r[441561]<<8|(r[441562]<<16|r[441563]<<24);e=r[441556]|r[441557]<<8|(r[441558]<<16|r[441559]<<24);o[c|0]=e;o[c+1|0]=e>>>8;o[c+2|0]=e>>>16;o[c+3|0]=e>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24;b=r[441564]|r[441565]<<8|(r[441566]<<16|r[441567]<<24);o[c+8|0]=b;o[c+9|0]=b>>>8;o[c+10|0]=b>>>16;o[c+11|0]=b>>>24;b=DH(q[a+12>>2]);a:{if((b|0)<0){break a}c=bk(b,441568);if(!c){bd(b);ve(q[a+12>>2]);break a}g=d,h=R()|0,q[g>>2]=h;b=Mc(c,441570,d);c=Pe(c);if((b|0)<=0){ve(q[a+12>>2]);break a}b=q[a+12>>2];if((c|0)==-1){ve(b);break a}b=sa(b|0,q[a+8>>2])|0;if(b>>>0>=4294963201){q[160942]=0-b;b=-1}b:{if((b|0)>=0){ve(q[a+12>>2]);break b}c:{if(!(q[160942]==63|q[160942]==138|q[160942]==2)){ve(q[a+12>>2]);b=0;break c}b=ik(q[a+8>>2],384);ve(q[a+12>>2]);if((b|0)>-1){break b}b=1}if((jg(q[a+8>>2],d+8|0)|0)<0){break a}if(((U(0)|0)-q[d+72>>2]|0)<601){break a}c=q[a+8>>2];d:{if(b){if(!Ip(c)){break d}break a}if(ve(c)){break a}}f=Zk(a);break a}ve(q[a+4>>2]);f=1}Da=d+96|0;return f}function ii(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=-4;a:{b:{if(d>>>0>=e>>>0){break b}h=q[b+72>>2];c:{d:{if((d+1|0)==(e|0)){g=-1;j=o[b+69|0];if(j+ -3>>>0<3){break b}i=r[d|0];k=i+ -239|0;if(k>>>0>16|!(1<>>0>5){break i}if(1<>2]=d+2;q[h>>2]=q[a+16>>2];return 14}if((r[b+69|0]+ -3&255)>>>0<2?(c|0)==1:0){break c}a=q[a+20>>2];q[h>>2]=a;break a}if(r[b+69|0]?0:(c|0)==1){break c}q[f>>2]=d+2;q[h>>2]=q[a+20>>2];return 14}if(r[d+2|0]!=191){break c}q[f>>2]=d+3;q[h>>2]=q[a+8>>2];return 14}if(!i){if(r[b+69|0]==5?(c|0)==1:0){break c}a=q[a+16>>2];q[h>>2]=a;break a}if(j|(c|0)==1){break c}a=q[a+20>>2];q[h>>2]=a;g=n[q[a+(c<<2)>>2]](a,d,e,f)|0;break b}if(!i|(i|0)==60){break b}}a=q[(o[b+69|0]<<2)+a>>2];q[h>>2]=a;break a}return g}return n[q[(c<<2)+a>>2]](a,d,e,f)|0}function V_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{d=r[a+3|0]|r[a+2|0]<<8;if(!Vb(d?d+a|0:271312,q[b+8>>2])){break a}c=r[a+5|0];e=r[a+4|0];f=c|e<<8;if(f){d=0;while(1){c=(c&255|e<<8)>>>0>d>>>0?((d<<1)+a|0)+6|0:271312;c=r[c|0]<<8|r[c+1|0];if(!Vb(c?c+a|0:271312,q[b+4>>2])){break a}c=r[a+5|0];e=r[a+4|0];d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=(c<<1|e<<9)+a|0;e=d+6|0;c=r[e|0];f=r[d+7|0];g=f|c<<8;if(g){d=0;while(1){c=(c<<8|f)>>>0>d>>>0?(e+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];if(!Vb(c?c+a|0:271312,q[b+12>>2])){break a}f=r[e+1|0];c=r[e|0];d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=e+(f<<1|c<<9)|0;a=d;e=r[a+2|0]<<8|r[a+3|0];if(!e){break a}f=q[b+16>>2];if(r[f+12|0]!=1){break a}q[f+16>>2]=-1;a=r[a+5|0]|r[a+4|0]<<8;c=ac(f,a);if(!c){break a}b=d+4|0;while(1){h=a&-512;i=a+512&-512;d=b;while(1){g=(a>>>3&56)+c|0;b=g;j=q[b+4>>2];k=b;l=q[b>>2];g=a&63;a=g&31;if(32<=(g&63)>>>0){g=1<>>32-a;a=1<>2]=l|a;q[b+4>>2]=g|j;e=e+ -1|0;if(!e){break a}b=d+2|0;a=r[d+3|0]|r[d+2|0]<<8;if(h>>>0<=a>>>0){d=b;if(a>>>0>>0){continue}}break}c=ac(f,a);if(c){continue}break}}}function Nw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h>>>0<6){break a}g=r[a+3|0];j=r[a+2|0];d=g|j<<8;if(4294967295/(h>>>0)>>>0<=d>>>0){break a}h=w(d,h);if(h){d=a+10|0;if(i>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+3|0];j=r[a+2|0];d=g|j<<8}f=0;b:{if(!d){break b}e=w(d+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[e+10|0]<<8|r[e+11|0])!=65535){break b}f=(r[e+13|0]|r[e+12|0]<<8)==65535?-1:0}i=d+f|0;if(!i){return 1}h=a+10|0;f=0;while(1){k=q[b+4>>2];g=j<<8|g;e=0;c:{if(!g){break c}d=h+w(g+ -1|0,r[a+1|0]|r[a|0]<<8)|0;e=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}e=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(e+g>>>0<=f>>>0){break d}d=h+w(r[a+1|0]|r[a|0]<<8,f)|0}if(k>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break a}e=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}if(!xg(d+4|0,b,e)){break a}f=f+1|0;if((i|0)==(f|0)){return 1}else{g=r[a+3|0];j=r[a+2|0];continue}}}return 0}function ww(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=r[a|0]|r[a+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;a:{if(e>>>0>8){break a}b:{switch(e-1|0){default:d=b>>>0>>0?(b|0)<0?271312:((b<<2)+a|0)+2|0:0;break a;case 1:q[g+12>>2]=b;a=nh(a+2|0,g+12|0);d=a?a+4|0:0;break a;case 3:q[g+8>>2]=b;b=nh(a+2|0,g+8|0);if(!b){break a}c=q[g+8>>2];e=r[b+3|0]|r[b+2|0]<<8;if(c>>>0>>0|(r[b+1|0]|r[b|0]<<8)>>>0>>0){break a}b=(r[b+5|0]|r[b+4|0]<<8)+a|0;a=c-e|0;d=(a|0)<0?271312:b+(a<<2)|0;break a;case 5:c=0;d=r[a+5|0]|r[a+4|0]<<8;c:{if(!d){e=r[a+3|0]|r[a+2|0]<<8;f=0;break c}e=r[a+3|0]|r[a+2|0]<<8;f=(a+2|0)+w(e,d+ -1|0)|0;f=(r[f+10|0]<<8|r[f+11|0])==65535?-1:0}d=f+d|0;d:{if((d|0)<1){break d}i=a+12|0;a=d+ -1|0;d=0;while(1){f=a+d>>>1|0;c=w(f,e)+i|0;h=r[c|0]<<8|r[c+1|0];e:{if(h>>>0>b>>>0){a=f+ -1|0;break e}if((b|0)==(h|0)){break d}d=f+1|0}if((d|0)<=(a|0)){continue}break}c=0}d=c?c+2|0:0;break a;case 0:case 2:case 4:case 6:break a;case 7:break b}}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>b>>>0){break a}b=b-c|0;if(b>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=(b|0)<0?271312:((b<<2)+a|0)+6|0}Da=g+16|0;return d}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=r[a|0]|r[a+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;a:{if(e>>>0>8){break a}b:{switch(e-1|0){default:d=b>>>0>>0?(b|0)<0?271312:((b<<1)+a|0)+2|0:0;break a;case 1:q[g+12>>2]=b;a=nh(a+2|0,g+12|0);d=a?a+4|0:0;break a;case 3:q[g+8>>2]=b;b=nh(a+2|0,g+8|0);if(!b){break a}c=q[g+8>>2];e=r[b+3|0]|r[b+2|0]<<8;if(c>>>0>>0|(r[b+1|0]|r[b|0]<<8)>>>0>>0){break a}b=(r[b+5|0]|r[b+4|0]<<8)+a|0;a=c-e|0;d=(a|0)<0?271312:b+(a<<1)|0;break a;case 5:c=0;d=r[a+5|0]|r[a+4|0]<<8;c:{if(!d){e=r[a+3|0]|r[a+2|0]<<8;f=0;break c}e=r[a+3|0]|r[a+2|0]<<8;f=(a+2|0)+w(e,d+ -1|0)|0;f=(r[f+10|0]<<8|r[f+11|0])==65535?-1:0}d=f+d|0;d:{if((d|0)<1){break d}i=a+12|0;a=d+ -1|0;d=0;while(1){f=a+d>>>1|0;c=w(f,e)+i|0;h=r[c|0]<<8|r[c+1|0];e:{if(h>>>0>b>>>0){a=f+ -1|0;break e}if((b|0)==(h|0)){break d}d=f+1|0}if((d|0)<=(a|0)){continue}break}c=0}d=c?c+2|0:0;break a;case 0:case 2:case 4:case 6:break a;case 7:break b}}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>b>>>0){break a}b=b-c|0;if(b>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=(b|0)<0?271312:((b<<1)+a|0)+6|0}Da=g+16|0;return d}function mq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=r[c|0];g=b+ -216|0;if(g>>>0>39){if(b){break c}g=r[r[c+1|0]+i|0];if(g>>>0>13){break c}switch(g-2|0){case 5:break i;case 4:break j;case 0:case 1:case 2:case 3:case 7:case 8:case 9:break c;case 10:case 11:break f;default:break g}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break g;case 35:break h;default:break i}}if((f|0)<3){break e}c=c+3|0;break d}if((f|0)<4){break e}c=c+4|0;break d}if(r[c+1|0]<=253){break c}}q[e>>2]=c;return 0}f=c+2|0;b=f;if((a|0)!=(g|0)){break b}h=-27;if((d-f|0)<2){break a}q[e>>2]=f;k:{if(r[f|0]){break k}a=r[r[c+3|0]+i|0];if(a>>>0>30){break k}h=27;if(1<1){continue}break a}b=c+2|0}c=b;f=j-c|0;if((f|0)>1){continue}break}}return h}function gJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;q[h+8>>2]=a;g=q[c+20>>2];f=g+((n[q[c+12>>2]](h+8|0)>>>0)%t[c+4>>2]<<2)|0;e=q[f>>2];a:{if(!e){break a}while(1){if(n[q[c+16>>2]](e,h+8|0)){break a}f=f+ -4|0;if(f>>>0>>0){f=(g+(q[c+4>>2]<<2)|0)+ -4|0}e=q[f>>2];if(e){continue}break}}b:{c:{d:{g=q[f>>2];e:{if(!g){e=64;g=n[q[d+4>>2]](d,8)|0;if(!g){break b}q[f>>2]=g;q[g+4>>2]=b;q[g>>2]=a;f:{if(t[c+8>>2]>2]){break f}i=q[c+4>>2];a=i<<1;q[c+4>>2]=a;q[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}g=q[c+20>>2];if(a){e=10;if((a|0)>536870911){break c}a=i<<3;e=n[q[d+4>>2]](d,a)|0;if(!e){break d}Na(e,0,a)}q[c+20>>2]=e;if(i){b=0;a=g;while(1){f=q[a>>2];if(f){q[h>>2]=q[f>>2];e=q[c+20>>2];f=e+((n[q[c+12>>2]](h)>>>0)%t[c+4>>2]<<2)|0;while(1){g:{j=q[f>>2];if(!j){break g}if(n[q[c+16>>2]](j,h)){break g}f=f+ -4|0;if(f>>>0>=e>>>0){continue}f=(e+(q[c+4>>2]<<2)|0)+ -4|0;continue}break}q[f>>2]=q[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}n[q[d+8>>2]](d,g)}q[c+8>>2]=q[c+8>>2]+1;break e}q[g+4>>2]=b}e=0;break b}q[c+20>>2]=0;e=64;break b}q[c+20>>2]=0}Da=h+16|0;return e}function Rr(a,b,c,d,e){var f=0,g=0;f=Da-32|0;g=d-e|0;q[f+28>>2]=g;q[f+20>>2]=g;q[f+24>>2]=0;q[f+16>>2]=b;q[f+8>>2]=b;q[f>>2]=0;b=d+e|0;q[f+12>>2]=b;q[f+4>>2]=b;b=q[a+4>>2]+(p[a+2>>1]<<3)|0;a:{if(c){c=q[f+28>>2];q[b>>2]=q[f+24>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+20>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+16>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+12>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+8>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+4>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f>>2];q[b+4>>2]=c;break a}c=q[f+4>>2];q[b>>2]=q[f>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+12>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+8>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+20>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+16>>2];q[b+4>>2]=c;b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;c=q[f+28>>2];b=q[a+4>>2]+(p[a+2>>1]<<3)|0;q[b>>2]=q[f+24>>2];q[b+4>>2]=c}b=p[a+2>>1];p[a+2>>1]=b+1;o[b+q[a+8>>2]|0]=1;b=p[a>>1];p[a>>1]=b+1;p[q[a+12>>2]+(b<<1)>>1]=s[a+2>>1]+ -1}function qq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=r[c+1|0];g=b+ -216|0;if(g>>>0>39){if(b){break c}g=r[r[c|0]+i|0];if(g>>>0>13){break c}switch(g-2|0){case 5:break i;case 4:break j;case 0:case 1:case 2:case 3:case 7:case 8:case 9:break c;case 10:case 11:break f;default:break g}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break g;case 35:break h;default:break i}}if((f|0)<3){break e}c=c+3|0;break d}if((f|0)<4){break e}c=c+4|0;break d}if(r[c|0]<=253){break c}}q[e>>2]=c;return 0}f=c+2|0;b=f;if((a|0)!=(g|0)){break b}h=-27;if((d-f|0)<2){break a}q[e>>2]=f;k:{if(r[c+3|0]){break k}a=r[r[f|0]+i|0];if(a>>>0>30){break k}h=27;if(1<1){continue}break a}b=c+2|0}c=b;f=j-c|0;if((f|0)>1){continue}break}}return h}function RW(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!r[a+178|0]){c=q[a+152>>2];b=q[a+160>>2];b=(r[c+9|0]|r[c+8|0]<<8)>>>0>b>>>0?(c+(b<<2)|0)+10|0:271312;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?(b+c|0)+2|0:271312;d=r[c+4|0]<<8|r[c+5|0];q[a+156>>2]=d;if(r[a+176|0]){b=q[a+164>>2];a:{if((b|0)<0){break a}if(b>>>0>>0){c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=d>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>1073741822)){b=db(q[a+172>>2],c<<2);if(b){break b}}q[a+164>>2]=-1;break a}q[a+164>>2]=c;q[a+172>>2]=b}c=q[a+168>>2];if(d>>>0>c>>>0){Na(q[a+172>>2]+(c<<2)|0,0,d-c<<2)}q[a+168>>2]=d}f=q[a+148>>2];g=q[a+144>>2];b=q[a+160>>2];c=q[a+152>>2];c:{if(!q[a+168>>2]){q[160744]=q[67828];d=642976;break c}d=q[a+172>>2]}e=c+2|0;b=(r[c+9|0]|r[c+8|0]<<8)>>>0>b>>>0?((b<<2)+c|0)+10|0:271312;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);QW(b?e+b|0:271312,g,f,c?c+e|0:271312,d,q[a+156>>2])}o[a+178|0]=1}}function HI(a){var b=0,c=0,d=0;q[a+276>>2]=960;q[a+252>>2]=908;q[a+272>>2]=0;q[a+264>>2]=0;q[a+268>>2]=1;while(1){d=b+499069|0;c=b+1|0;b=c;if(r[d|0]){continue}break}b=n[q[a+12>>2]](c)|0;if(b){Qa(b,499069,c)}q[a+228>>2]=b;q[a+356>>2]=0;yq(a+148|0,a+144|0,0);q[a+52>>2]=0;q[a+56>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+120>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+404>>2]=0;q[a+408>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;b=q[a+8>>2];q[a+28>>2]=b;q[a+24>>2]=b;q[a+116>>2]=a;q[a+296>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=0;q[a+324>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;q[a+336>>2]=0;q[a+340>>2]=0;p[a+342>>1]=0;p[a+344>>1]=0;p[a+346>>1]=0;p[a+348>>1]=0;q[a+308>>2]=0;q[a+360>>2]=0;q[a+368>>2]=0;q[a+380>>2]=0;o[a+304|0]=1;q[a+248>>2]=0;q[a+236>>2]=0;q[a+240>>2]=0;q[a+472>>2]=0;q[a+476>>2]=0;q[a+488>>2]=0;q[a+492>>2]=0;p[a+484>>1]=0}function W_(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;a:{g=r[a+3|0]|r[a+2|0]<<8;if(!Vb(g?g+a|0:271312,q[b+8>>2])){break a}g=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;j=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;n=j>>>0>1;b:{if(n){d=0;c=0;break b}c=0;if(j-1){break b}h=r[d+3|0]|r[d+2|0]<<8;c=h?d+4|0:271704;e=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?h:0;c=h?r[d+5|0]|r[d+4|0]<<8:0}h=r[a+5|0]|r[a+4|0]<<8;k=a+6|0;while(1){if(n){break a}c:{if(!(j-1)){if(!h){break a}if(e>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!h|e>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}f=r[k+1|0]|r[k|0]<<8;i=f?f+a|0:271312;l=r[i|0]<<8|r[i+1|0];if(l){f=i+2|0;while(1){m=r[f+1|0]|r[f|0]<<8;O_(m?i+m|0:271312,b);f=f+2|0;l=l+ -1|0;if(l){continue}break}}d:{if(n){break d}if(j-1){e=e+1|0;break d}f=r[d+3|0]|r[d+2|0]<<8;i=f>>>0>e>>>0?(w(e,6)+d|0)+4|0:271704;if(c>>>0>=(r[i+2|0]<<8|r[i+3|0])>>>0){e=e+1|0;if(e>>>0>=f>>>0){break d}m=g+1|0;c=w(e,6)+d|0;g=r[c+8|0]<<8|r[c+9|0];e=(m|0)==(g|0)?e:f;c=r[c+5|0]|r[c+4|0]<<8;break d}c=c+1|0;g=g+1|0}k=k+2|0;h=h+ -1|0;continue}}}function xu(a,b,c,d){var e=0,f=0,g=x(0),h=0;e=Da-128|0;Da=e;a:{b:{h=q[b+60>>2];f=q[pm(q[a+16>>2]+120|0)>>2];f=f?f:271312;f=t[f+16>>2]<20?271312:q[f+12>>2];if((h|0)==(r[f+4|0]<<8|r[f+5|0])){q[e+48>>2]=2139095039;q[e+52>>2]=-8388609;q[e+56>>2]=-8388609;q[e+16>>2]=2139095039;q[e+20>>2]=-8388609;q[e+24>>2]=-8388609;q[e+44>>2]=2139095039;q[e+40>>2]=e- -64;f=q[e+44>>2];q[e+8>>2]=q[e+40>>2];q[e+12>>2]=f;q[e+36>>2]=0;q[e+32>>2]=b;f=q[e+36>>2];q[e>>2]=q[e+32>>2];q[e+4>>2]=f;if(qm(a,b,c,e)){break b}}a=q[a+16>>2];if(d){b=sg(a+92|0);d=q[b>>2];if(d>>>0<=c>>>0){a=0;if(d){break a}a=q[b+8>>2];break a}a=q[b+12>>2];d=q[(a?a:271312)+12>>2];a=q[b+4>>2]+ -1|0;a=a>>>0>>0?a:c;a=(a|0)<0?271312:d+(a<<2)|0;a=r[a|0]<<8|r[a+1|0];break a}b=jh(a- -64|0);d=q[b>>2];if(d>>>0<=c>>>0){a=0;if(d){break a}a=q[b+8>>2];break a}a=q[b+12>>2];d=q[(a?a:271312)+12>>2];a=q[b+4>>2]+ -1|0;a=a>>>0>>0?a:c;a=(a|0)<0?271312:d+(a<<2)|0;a=r[a|0]<<8|r[a+1|0];break a}if(d){g=x(u[e+104>>2]-u[e+120>>2])}else{g=x(u[e+84>>2]-u[e+68>>2])}g=x(J(x(g)));if(g=x(0)){a=~~g>>>0;break a}a=0}Da=e+128|0;return a}function tT(a,b,c){var d=0,e=0,f=0;a:{b:{if((b|0)==1633774708){c:{d:{e:{e=q[a+4>>2];if((e|0)>=0){b=q[a+8>>2];d=b+1|0;d=(d|0)>0?d:0;if(e>>>0>=d>>>0){break d}b=e;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>357913940)){e=db(q[a+12>>2],w(b,12));if(e){break e}}q[a+4>>2]=-1}q[160746]=q[67830];a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break c}q[a+4>>2]=b;q[a+12>>2]=e;b=q[a+8>>2]}if(d>>>0>b>>>0){Na(q[a+12>>2]+w(b,12)|0,0,w(d-b|0,12))}q[a+8>>2]=d;a=(q[a+12>>2]+w(d,12)|0)+ -12|0}q[a>>2]=17;break b}f=Yx(b);if(!f){break a}f:{g:{h:{e=q[a+4>>2];if((e|0)>=0){b=q[a+8>>2];d=b+1|0;d=(d|0)>0?d:0;if(e>>>0>=d>>>0){break g}b=e;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>357913940)){e=db(q[a+12>>2],w(b,12));if(e){break h}}q[a+4>>2]=-1}q[160746]=q[67830];a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break f}q[a+4>>2]=b;q[a+12>>2]=e;b=q[a+8>>2]}if(d>>>0>b>>>0){Na(q[a+12>>2]+w(b,12)|0,0,w(d-b|0,12))}q[a+8>>2]=d;a=(q[a+12>>2]+w(d,12)|0)+ -12|0}q[a>>2]=q[f+4>>2];c=q[(c?8:12)+f>>2]}q[a+4>>2]=c}}function $_(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{d=q[a+36>>2];if(d){c=q[a+24>>2];while(1){b=271312;h=d;g=c>>>0<=e>>>0;if(g){f=271312}else{f=q[a+28>>2]+(e<<3)|0}f=q[f+4>>2];if(h>>>0>f>>>0){b=q[a+40>>2]+(f<<6)|0}b:{c:{if(q[b>>2]|q[b+4>>2]|(q[b+8>>2]|q[b+12>>2])|(q[b+16>>2]|q[b+20>>2]|(q[b+24>>2]|q[b+28>>2]))){break c}if(q[b+32>>2]|q[b+36>>2]|(q[b+40>>2]|q[b+44>>2])|(q[b+48>>2]|q[b+52>>2])){break c}if(!(q[b+56>>2]|q[b+60>>2])){break b}}b=271312;d:{if(g){e=271312;c=271312;break d}e=q[a+28>>2]+(e<<3)|0;c=e}f=c;e=q[e>>2];c=d;d=q[f+4>>2];if(c>>>0>d>>>0){b=q[a+40>>2]+(d<<6)|0}f=e<<9;e=0;c=q[b+4>>2];a=c;d=q[b>>2];if(d|c){break a}e=64;c=q[b+12>>2];a=c;d=q[b+8>>2];if(c|d){break a}e=128;c=q[b+20>>2];a=c;d=q[b+16>>2];if(d|c){break a}e=192;c=q[b+28>>2];a=c;d=q[b+24>>2];if(d|c){break a}e=256;c=q[b+36>>2];a=c;d=q[b+32>>2];if(d|c){break a}e=320;c=q[b+44>>2];a=c;d=q[b+40>>2];if(d|c){break a}e=384;c=q[b+52>>2];a=c;d=q[b+48>>2];if(d|c){break a}e=448;c=q[b+60>>2];a=c;d=q[b+56>>2];if(c|d){break a}return f+ -1|0}e=e+1|0;if((d|0)!=(e|0)){continue}break}}return-1}return f+(V$(d,a)|e)|0}function _g(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;h=Da-16|0;Da=h;if(e){q[e>>2]=-1}k=(c|0)==-21;l=k?b+ -21|0:b;m=(c|0)<0?0:c;i=q[a+8>>2];g=q[a>>2];a:{b:{if(g){b=i;while(1){if(!(q[b>>2]!=(l|0)|q[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=q[a+4>>2];c:{if(j>>>0>>0){break c}q[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=Oa(d,12,f,b,i,h+4|0);q[a+8>>2]=i;f=q[h+4>>2];if(f){break a}q[a+4>>2]=b}q[a>>2]=j;b=w(g,12)+i|0;q[b+8>>2]=c>>31&(k?3:1);q[b+4>>2]=m;q[b>>2]=l}b=q[a+12>>2];d:{e:{if(!b){f:{if(q[a+16>>2]){b=q[a+20>>2];break f}q[h+8>>2]=0;b=Oa(d,16,0,8,q[a+20>>2],h+8|0);q[a+20>>2]=b;f=q[h+8>>2];if(f){break a}q[a+16>>2]=8}q[b+12>>2]=0;q[b>>2]=0;q[a+12>>2]=1;break e}b=(q[a+20>>2]+(b<<4)|0)+ -16|0;if(t[b>>2]>g>>>0){break d}}a=q[b+4>>2];q[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,p=Oa(d,1,f,a,q[b+8>>2],h+12|0),q[n+8>>2]=p;f=q[h+12>>2];if(f){break a}q[b+4>>2]=a<<3}q[b>>2]=g+1}a=q[b+8>>2]+(g>>>3|0)|0;o[a|0]=r[a|0]|128>>>(g&7);f=0;if(!e){break a}q[e>>2]=g}Da=h+16|0;return f}function wU(a,b){var c=0,d=0,e=0,f=0,g=0;d=r[a+1|0]|r[a|0]<<8;a:{if(d>>>0<=1){if(!d){break a}c=b;b=r[a+4|0]|r[a+5|0]<<8;a=r[a+2|0]|r[a+3|0]<<8;return(c-((b<<24|b<<8&16711680)>>16)|0)+((a<<24|a<<8&16711680)>>16)|0}c=r[a+4|0]|r[a+5|0]<<8;c=(c<<24|c<<8&16711680)>>16;if((c|0)>=(b|0)){a=r[a+2|0]|r[a+3|0]<<8;return(b-c|0)+((a<<24|a<<8&16711680)>>16)|0}f=1;c=d+ -1|0;b:{if(c>>>0<2){break b}while(1){d=(f<<2)+a|0;d=r[d+4|0]|r[d+5|0]<<8;if((d<<24|d<<8&16711680)>>16>=(b|0)){break b}f=f+1|0;if((c|0)!=(f|0)){continue}break}f=c}g=(f<<2)+a|0;e=r[g+4|0]|r[g+5|0]<<8;c=e<<24|e<<8&16711680;d=c>>16;if((d|0)<=(b|0)){a=r[g+2|0]|r[g+3|0]<<8;return(b-d|0)+((a<<24|a<<8&16711680)>>16)|0}e=(e>>>8&65280|e>>>24|c)>>>16|0;g=f+ -1|0;c=(g<<2)+a|0;c=r[c+4|0]|r[c+5|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if((e|0)==(c|0)){a=(g<<2)+a|0;a=r[a+2|0]|r[a+3|0]<<8;return(a<<24|a<<8&16711680)>>16}e=d;d=c<<16>>16;e=e-d|0;c=a+2|0;a=c+(f<<2)|0;a=r[a|0]|r[a+1|0]<<8;f=(a<<24|a<<8&16711680)>>16;a=c+(g<<2)|0;a=r[a|0]|r[a+1|0]<<8;a=(a<<24|a<<8&16711680)>>16;b=((w(f-a|0,b-d|0)+((e|0)/2|0)|0)/(e|0)|0)+a|0}return b}function oB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;a:{if(!(b?a:0)){e=40;q[d+8>>2]=40;break a}g=q[b+28>>2];b:{e=Xa(b,0);c:{if(e){break c}e=Wb(b,d+14|0,2);if(e){break c}e=3;if(r[d+14|0]!=31){break c}if(r[d+15|0]==157){break b}}q[d+8>>2]=e;break a}q[d+8>>2]=0;c=a;q[c+24>>2]=0;q[c+28>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+28>>2]=g;c=gb(g,4292,d+8|0);e=q[d+8>>2];if(!e){q[c>>2]=b;q[c+4>>2]=a;f=q[a+28>>2];h=c+4280|0;q[c+4288>>2]=h;q[c+8>>2]=f;q[c+4284>>2]=h;q[c+4280>>2]=0;d:{f=Xa(b,0);e:{if(f){break e}f=Wb(b,d+14|0,2);if(f){break e}f=3;if(r[d+14|0]!=31){break e}if(r[d+15|0]==157){break d}}q[d+8>>2]=f;if(c){n[q[g+8>>2]](g,c)}e=q[d+8>>2];break a}Na(c+20|0,0,156);q[c+176>>2]=b;b=q[b+28>>2];q[c+100>>2]=c+112;q[c+96>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+180>>2]=b;q[c+104>>2]=0;q[c+108>>2]=64;q[c+48>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;o[c+44|0]=0;q[c+64>>2]=9;q[c+12>>2]=0;q[c+16>>2]=0;q[d+8>>2]=0;q[a+12>>2]=c}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=2147483647;q[a+24>>2]=273;q[a+20>>2]=274}Da=d+16|0;return e}function cU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0;g=Da-32|0;Da=g;a:{if(!Nb(b,a,2)){break a}i=q[c+4>>2];if(!Nb(b,a,2)){break a}f=(i<<8&16711680|i<<24)>>>16|0;o[a|0]=f;o[a+1|0]=f>>>8;k=(i&65280)>>>8|0;f=i;h=f;b:{if(f>>>0<65536){break b}h=i;if(!r[b+20|0]){break b}o[b+20|0]=0;k=r[a|0];h=r[a+1|0]}f=h;if(!Nb(b,a,(k<<9|(f&255)<<1)+2|0)){break a}j=1;if(!i){break a}k=q[c>>2];m=s[135656];n=q[d>>2];t=q[d+4>>2];c=0;while(1){d=q[(t>>>0>c>>>0?(c<<2)+n|0:271312)>>2];d=(d|0)>0?d+ -1|0:0;c:{if((r[a+1|0]|r[a|0]<<8)>>>0<=c>>>0){p[321488]=m;f=642976;break c}f=((c<<1)+a|0)+2|0}l=q[b+4>>2];j=l-a|0;h=(j<<24|j<<8&16711680)>>>16|0;o[f|0]=h;o[f+1|0]=h>>>8;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0}f=i>>>0>c>>>0?(c<<1)+k|0:271312;h=r[f+1|0];u=r[f|0];v=q[e>>2];f=q[e+4>>2];j=0;q[g+8>>2]=0;q[g+20>>2]=f>>>0>d>>>0?d:f;q[g+16>>2]=v;q[g+24>>2]=0;f=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=f;if(!aU(l,b,h|u<<8,g)){break a}f=q[e+4>>2];d=f>>>0>>0?f:d;q[e+4>>2]=f-d;q[e+8>>2]=d+q[e+8>>2];j=1;q[e>>2]=q[e>>2]+(d<<1);c=c+1|0;if((i|0)!=(c|0)){continue}break}}Da=g+32|0;return j}function Ei(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Da-32|0;Da=i;k=q[b+12>>2];h=q[b+8>>2];g=k-h|0;l=g>>3;j=l&1;if(!(r[e|0]|(r[a+8|0]|!j))){a:{if(!g){g=0;m=q[b+4>>2];if(!m|q[m>>2]){break a}q[m>>2]=130;break a}g=q[h+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){g=q[h>>2]<<16;break a}g=q[h>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=q[h>>2]}q[d>>2]=(q[q[q[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!r[q[a+176>>2]+548|0]){d=b;if(l>>>0>j>>>0){while(1){k=k-h>>3;b:{if(k>>>0<=j>>>0){a=0;g=q[b+4>>2];if(!g|q[g>>2]){break b}q[g>>2]=130;break b}a=(j<<3)+h|0;g=q[a+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){a=q[a>>2]<<16;break b}a=q[a>>2];a=((a>>31)+a|0)- -8192>>14;break b}a=q[a>>2]}f=a+f|0;q[i+12>>2]=f;a=j+1|0;c:{if(k>>>0<=a>>>0){h=0;a=q[b+4>>2];if(!a|q[a>>2]){break c}q[a>>2]=130;break c}a=(a<<3)+h|0;h=q[a+4>>2]+ -1|0;if(h>>>0<=1){if(!(h-1)){h=q[a>>2]<<16;break c}a=q[a>>2];h=((a>>31)+a|0)- -8192>>14;break c}h=q[a>>2]}q[i+20>>2]=0;q[i+24>>2]=0;o[i+8|0]=0;f=f+h|0;q[i+16>>2]=f;bs(c,i+8|0);j=j+2|0;if(j>>>0>>0){h=q[b+8>>2];k=q[b+12>>2];continue}break}h=q[b+8>>2]}q[d+12>>2]=h}o[e|0]=1;Da=i+32|0}function Ch(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-1312|0;Da=f;g=q[a+4>>2];i=q[g+492>>2];j=q[i+12>>2];h=q[q[g+128>>2]+52>>2];k=q[g+452>>2];e=a+1388|0;q[e>>2]=q[g+448>>2];q[e+4>>2]=k;e=q[g+444>>2];q[a+1380>>2]=q[g+440>>2];q[a+1384>>2]=e;e=q[g+460>>2];q[a+1396>>2]=q[g+456>>2];q[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;q[c>>2]=q[e+q[g+428>>2]>>2];q[c+4>>2]=q[e+q[g+432>>2]>>2];break b}e=n[q[q[h>>2]>>2]](q[h+4>>2],b,c)|0;if(e){break a}}c:{if(r[a+70|0]){e=n[q[j+8>>2]](a,q[c>>2],q[c+4>>2])|0;break c}n[q[i+24>>2]](f+656|0,a,1);n[q[i+28>>2]](g,g+168|0,f);q[f+1192>>2]=f;e=n[q[j+12>>2]](f+656|0,q[c>>2],q[c+4>>2])|0;if((e&255)!=164){break c}o[q[a+8>>2]+160|0]=0;o[d|0]=1;e=n[q[j+12>>2]](f+656|0,q[c>>2],q[c+4>>2])|0}if(e|!h){break a}if(!q[q[h>>2]+8>>2]){e=0;break a}c=q[a+32>>2];q[f+4>>2]=0;q[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=q[a+40>>2];q[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=q[a+44>>2];q[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=n[q[q[h>>2]+8>>2]](q[h+4>>2],b,0,f)|0;q[a+32>>2]=q[f>>2]<<16;q[a+40>>2]=q[f+8>>2]<<16;q[a+44>>2]=q[f+12>>2]<<16}Da=f+1312|0;return e}function IV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0<=a>>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}g=r[a|0];d=g&127;if(d>>>0>1){break a}b:{if(d-1){d=a+1|0;if(h>>>0>d>>>0|f>>>0<=d>>>0){break a}e=c+ -2|0;q[b+12>>2]=e;if((c|0)<2){break a}i=r[a+1|0];if(!i){break b}d=a+2|0;if(h>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}e=c+ -3|0;q[b+12>>2]=e;if((c|0)>2){break b}break a}d=a+1|0;if(h>>>0>d>>>0|f>>>0<=d>>>0){break a}e=c+ -2|0;q[b+12>>2]=e;if((c|0)<2){break a}i=r[a+1|0];if(!i){break b}d=a+2|0;if(h>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}e=c+ -3|0;q[b+12>>2]=e;if((c|0)>=3){break b}break a}g=g<<24>>24;c=1;c:{if((g|0)>-1){break c}d=h;g=g&127;c=271312;d:{if(g>>>0>1){break d}if(g-1){c=a+1|0;a=r[a+1|0];c=(a?c+a|0:271312)+1|0;break d}c=a;a=r[a+1|0];c=(a?c+(a<<1)|0:271312)+2|0}if(d>>>0>c>>>0|f>>>0<=c>>>0){break a}q[b+12>>2]=e+ -1;if((e|0)<1){break a}d=r[c|0];if(d){a=c+1|0;if(h>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0){break a}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break c}}c=1}return c}return 0}function lO(a,b,c){a=a|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,r=0,s=0,t=0,u=0,x=0,z=0,B=0,C=0,D=0,E=0,F=0;d=Da-128|0;Da=d;f=q[a>>2];x=q[f- -64>>2];z=q[f+56>>2];o=q[a+16>>2];g=o>>31;p=q[a+12>>2];i=p>>31;r=q[a+24>>2];n=r>>31;s=q[a+20>>2];B=s>>31;C=q[f+60>>2];f=q[f+52>>2];j=+(C-f|0)*.5+64;t=8/j;D=q[a+28>>2];g=(g^g+o)+(i^i+p)|0;i=(n^n+r)+(B^s+B)|0;e=.125/+(((g|0)>(i|0)?g:i)|0);h=t*+(D|0)*e;v[d+96>>3]=h;k=+(x-z|0)*.5+64;l=8/k;g=q[a+32>>2];e=l*+(g|0)*e;v[d+104>>3]=e;i=q[a+4>>2];n=q[a+8>>2];j=A(k*y(e)+(j*y(h)+1),16);k=+(f+C|0)*.5;u=+(x+z|0)*.5;v[d+112>>3]=j-(k*h+u*e);m=+(n<<3);E=l*+(r|0)+e*m;v[d+80>>3]=E;F=t*+(s|0)+h*m;v[d+72>>3]=F;v[d+88>>3]=j*m+0-(k*F+u*E);m=e;e=+(i<<3);l=l*+(o|0)+m*e;v[d+56>>3]=l;h=t*+(p|0)+h*e;v[d+48>>3]=h;v[d+64>>3]=j*e+0-(k*h+u*l);f=q[a>>2]+4|0;a:{if(g|D){Br(d,f,d+48|0);Br(d+24|0,q[a>>2]+28|0,d+48|0);break a}Cr(d,f,d+48|0);Cr(d+24|0,q[a>>2]+28|0,d+48|0)}a=d+24|0;if(!dN(c,b,d,a)){q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}Be(d);Be(a);Da=d+128|0;return w(q[b+12>>2],q[b+16>>2])+60|0}function On(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;d=3;g=f;a:{b:{c:{d:{i=q[b+188>>2];e:{if(!i){break e}h=q[b+192>>2];while(1){if(q[h+(e<<4)>>2]==(c|0)){d=83;c=q[(h+(e<<4)|0)+12>>2];e=q[a+8>>2];if(c>>>0>>0){break e}if(Ib(a,c-e|0)){break e}q[f+12>>2]=0;c=Ec(a,f+12|0);d=q[f+12>>2];if(d){break a}i=c&-256;if((i|256)!=256){break b}d=b+196|0;e=c&4;if(!e){break d}d=lb(a,25664,d);break c}e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[f+12>>2]=d;break a}d=lb(a,25728,d)}q[g+12>>2]=d;if(d){break a}c=q[b+204>>2];d=c>>31;if((d^c+d)>=32768){q[b+204>>2]=(c|0)<0?-32767:32767}c=q[b+208>>2];d=c>>31;if((d^c+d)>=32768){q[b+208>>2]=(c|0)<0?-32767:32767}h=e?25792:25824;g=b+216|0;d=lb(a,h,g);q[f+12>>2]=d;if(d){break a}e=b+232|0;d=lb(a,h,e);q[f+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=lb(a,h,c);q[f+12>>2]=d;if(d){break a}d=lb(a,h,b+264|0);q[f+12>>2]=d;break a}a=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=a;a=q[g+12>>2];q[c+8>>2]=q[g+8>>2];q[c+12>>2]=a;a=q[e+12>>2];q[b+272>>2]=q[e+8>>2];q[b+276>>2]=a;a=q[e+4>>2];q[b+264>>2]=q[e>>2];q[b+268>>2]=a}d=0}Da=f+16|0;return d}function Yi(a,b){var c=0,d=0;if(r[a+12|0]==1){c=q[a+32>>2];a:{if((c|0)<0){break a}d=(b|0)>0?b:0;if(c>>>0>>0){b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}b:{if(!(b>>>0>>0|b>>>0>67108862)){c=db(q[a+40>>2],b<<6);if(c){break b}}q[a+32>>2]=-1;break a}q[a+32>>2]=b;q[a+40>>2]=c}b=q[a+36>>2];if(d>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,d-b<<6)}q[a+36>>2]=d;c:{d:{e:{f:{c=q[a+20>>2];if((c|0)>=0){if(c>>>0>=d>>>0){break e}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+28>>2],b<<3);if(c){break f}}q[a+20>>2]=-1}c=q[a+32>>2];if((c|0)<0){break a}b=q[a+24>>2];d=(b|0)>0?b:0;if(c>>>0>=d>>>0){break c}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>67108862)){c=db(q[a+40>>2],b<<6);if(c){break d}}q[a+32>>2]=-1;break a}q[a+20>>2]=b;q[a+28>>2]=c}b=q[a+24>>2];if(d>>>0>b>>>0){Na(q[a+28>>2]+(b<<3)|0,0,d-b<<3)}q[a+24>>2]=d;return 1}q[a+32>>2]=b;q[a+40>>2]=c}b=q[a+36>>2];if(d>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,d-b<<6)}q[a+36>>2]=d}o[a+12|0]=0}return 0}function Fz(a,b){a=a|0;b=b|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(!r[a+24|0]){h=q[b>>2];break a}h=q[b>>2];if((h|0)!=q[a+28>>2]){break a}vn(a);if(!r[a+24|0]){return 0}c=q[a+32>>2];q[b>>2]=q[a+28>>2];return c|0}b:{if((h|0)==-1){break b}f=q[a+16>>2];d=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i){break b}m=f+20|0;j=h+1|0;d=i;c:{d:{while(1){g=d+k>>>1|0;f=w(g,12)+m|0;e=f;c=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g;e=e+ -4|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);if(j>>>0>=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0){if(h>>>0>>0){break d}k=g+1|0;c=d}d=c;if(k>>>0>>0){continue}break}d=0;break c}c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}f=q[a>>2];if(h>>>0>=l>>>0){c=0;g=g+1|0;if((i|0)==(g|0)){break b}}o[a+24|0]=1;q[a+36>>2]=g;q[a+28>>2]=j;e:{if(!(d>>>0>2]?d:0)){vn(a);d=0;if(!r[a+24|0]){break e}d=q[a+32>>2];break e}q[a+32>>2]=d}c=d;q[b>>2]=q[a+28>>2]}return c|0}function gr(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Da-96|0;Da=d;a=de(a);o[c|0]=0;a:{if(a){q[d+36>>2]=0;q[d+32>>2]=b;g=_b(a,d+32|0);break a}g=eb(b)}q[d+20>>2]=0;q[d+16>>2]=441575;h=_b(g,d+16|0);e=af(h,0,0);b:{if((e|0)==-1){break b}o[d+77|0]=0;o[d+78|0]=0;o[d+79|0]=0;o[d+80|0]=0;o[d+81|0]=0;o[d+82|0]=0;o[d+83|0]=0;o[d+84|0]=0;q[d+72>>2]=0;q[d+76>>2]=0;a=d- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;a=Uh(e,d+48|0,36);o[d+84|0]=0;bd(e);if((a|0)<0){break b}o[c|0]=47;tc(c+1|0,d+48|0);a=Wa(c)+c|0;f=r[441636]|r[441637]<<8|(r[441638]<<16|r[441639]<<24);e=r[441632]|r[441633]<<8|(r[441634]<<16|r[441635]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=f;o[a+5|0]=f>>>8;o[a+6|0]=f>>>16;o[a+7|0]=f>>>24;f=r[441644]|r[441645]<<8|(r[441646]<<16|r[441647]<<24);e=r[441640]|r[441641]<<8|(r[441642]<<16|r[441643]<<24);o[a+8|0]=e;o[a+9|0]=e>>>8;o[a+10|0]=e>>>16;o[a+11|0]=e>>>24;o[a+12|0]=f;o[a+13|0]=f>>>8;o[a+14|0]=f>>>16;o[a+15|0]=f>>>24;if(!(r[643740]&16)){break b}q[d+4>>2]=b;q[d>>2]=c;Ua(442008,d)}La(h);La(g);Da=d+96|0}function ox(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;e=1;c=r[a+3|0];a:{if(c>>>0>5){break a}b:{switch(c-1|0){default:e=Bm(a+8|0,b);break a;case 0:e=0;q[f+8>>2]=0;d=a+8|0;if(!Wm(d,b,f+8|0)){break a}i=q[b+4>>2];c=a+16|0;if(i>>>0>c>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-c>>>0<2){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}j=f;c=r[a+17|0]|r[a+16|0]<<8;if(c){if(g>>>0>>0|i>>>0>d>>>0|g-d>>>0>>0){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}b=r[a+17|0]|r[a+16|0]<<8}else{b=0}q[j+12>>2]=(b+a|0)+8;e=1;break a;case 1:e=0;c=a+8|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<28){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Bm(c,b)|!(r[a+17|0]|r[a+16|0]<<8)|!(r[a+19|0]|r[a+18|0]<<8)){break a}e=(r[a+21|0]|r[a+20|0]<<8)!=0;break a;case 3:e=Zi(a+8|0,b);break a;case 2:break a;case 4:break b}}e=0;c=a+8|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Wm(c,b,0)){break a}e=(r[a+17|0]|r[a+16|0]<<8)!=0}Da=f+16|0;return e}function MB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[q[q[a+4>>2]+96>>2]+28>>2];f=Sb(q[q[q[b>>2]+428>>2]+(c<<2)>>2],0,10);c=q[a+160>>2];qI(c);q[c+24>>2]=0;q[c+28>>2]=0;q[c+152>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;Na(c+72|0,0,72);c=n[q[e+72>>2]](q[a+160>>2],q[b+44>>2],f,d|8)|0;if(!c){b=q[a+160>>2];d=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=d;d=q[b+36>>2];q[a+32>>2]=q[b+32>>2];q[a+36>>2]=d;d=q[b+44>>2];q[a+40>>2]=q[b+40>>2];q[a+44>>2]=d;d=q[b+52>>2];q[a+48>>2]=q[b+48>>2];q[a+52>>2]=d;q[a+56>>2]=q[b+56>>2];q[a+60>>2]=q[b+60>>2];q[a+72>>2]=q[b+72>>2];q[a+124>>2]=q[b+124>>2];d=q[b+120>>2];q[a+116>>2]=q[b+116>>2];q[a+120>>2]=d;d=q[b+112>>2];q[a+108>>2]=q[b+108>>2];q[a+112>>2]=d;d=q[b+96>>2];q[a+92>>2]=q[b+92>>2];q[a+96>>2]=d;d=q[b+88>>2];q[a+84>>2]=q[b+84>>2];q[a+88>>2]=d;d=q[b+80>>2];q[a+76>>2]=q[b+76>>2];q[a+80>>2]=d;q[a+100>>2]=q[b+100>>2];q[a+104>>2]=q[b+104>>2];q[a+128>>2]=q[b+128>>2];q[a+132>>2]=q[b+132>>2];q[a+136>>2]=q[b+136>>2];q[a+140>>2]=q[b+140>>2]}return c|0}function _c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-32|0;e=q[a+76>>2];a:{if(e>>>0<2){break a}f=e+ -1|0;i=q[a+88>>2];while(1){d=w(f,20)+i|0;q[c+24>>2]=q[d+16>>2];b=q[d+12>>2];q[c+16>>2]=q[d+8>>2];q[c+20>>2]=b;b=q[d+4>>2];q[c+8>>2]=q[d>>2];q[c+12>>2]=b;b=w(g,20)+i|0;q[d+16>>2]=q[b+16>>2];h=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=h;h=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=h;q[b+16>>2]=q[c+24>>2];d=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=d;d=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=d;g=g+1|0;f=f+ -1|0;if(g>>>0>>0){continue}break}if(!r[a+70|0]){break a}b=q[a+76>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break a}d=q[a+96>>2];f=b+ -1|0;g=0;while(1){b=d+w(f,20)|0;q[c+24>>2]=q[b+16>>2];e=q[b+12>>2];q[c+16>>2]=q[b+8>>2];q[c+20>>2]=e;e=q[b+4>>2];q[c+8>>2]=q[b>>2];q[c+12>>2]=e;a=d+w(g,20)|0;q[b+16>>2]=q[a+16>>2];e=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=e;e=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=e;q[a+16>>2]=q[c+24>>2];b=q[c+20>>2];q[a+8>>2]=q[c+16>>2];q[a+12>>2]=b;b=q[c+12>>2];q[a>>2]=q[c+8>>2];q[a+4>>2]=b;g=g+1|0;f=f+ -1|0;if(g>>>0>>0){continue}break}}}function zs(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,s=0;if(a){c=w(d,204)+c|0;j=q[c+200>>2];l=q[c+204>>2];while(1){c=q[b+4>>2];a:{if((c|0)<1){break a}d=q[b>>2];e=d+w(c,40)|0;f=0;c=d;g=0;while(1){h=q[c+16>>2]&32;g=h?g?g:c:g;f=(h>>>5|0)+f|0;c=c+40|0;if(c>>>0>>0){continue}break}c=g;if(f>>>0<=1){if((f|0)==1){l=q[g+36>>2]-Ma(q[g+28>>2],j)|0}while(1){if((d|0)!=(g|0)){p=d,s=Ma(q[d+28>>2],j)+l|0,q[p+36>>2]=s}d=d+40|0;if(d>>>0>>0){continue}break}break a}while(1){f=c;c=q[c+4>>2];if((g|0)==(c|0)){break a}d=c;if(r[c+16|0]&32){continue}while(1){d=q[d+4>>2];if(!(r[d+16|0]&32)){continue}break}h=q[f+28>>2];e=q[d+28>>2];b:{if((h|0)<=(e|0)){i=e-h|0;k=q[f+36>>2];e=d;break b}i=h-e|0;k=q[d+36>>2];h=e;e=f}e=q[e+36>>2]-k|0;c:{if((i|0)<1){m=65536;break c}m=Za(e,i);c=q[f+4>>2]}n=e+k|0;while(1){o=c;e=q[c+28>>2]-h|0;d:{e:{if((e|0)<=0){f=Ma(e,j);break e}if((e|0)>=(i|0)){f=n;e=Ma(e-i|0,j);break d}f=Ma(e,m)}e=k}q[o+36>>2]=e+f;c=q[c+4>>2];if((d|0)!=(c|0)){continue}break}c=d;if((g|0)!=(c|0)){continue}break}}b=b+8|0;a=a+ -1|0;if(a){continue}break}}}function fN(a,b,c,d,e){a=a|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,q=0,t=0,u=0,v=0,x=0,y=0;f=1;j=Na(e,0,b<<2);k=j+(b<<1)|0;e=r[a|0];a:{if(b>>>0<2){g=e;i=e;break a}h=e;while(1){l=(f<<1)+ -2|0;g=r[a+f|0];i=h+g|0;e=i+e|0;p[l+j>>1]=e;p[k+l>>1]=e;e=i;h=g;f=f+1|0;if((f|0)!=(b|0)){continue}break}h=b+ -1|0}f=1;e=h<<1;g=g+i|0;p[e+j>>1]=g;p[e+k>>1]=g;if(c>>>0>=2){b:{if(b>>>0<2){while(1){e=s[j>>1];g=r[w(d,f)+a|0]<<1;p[j>>1]=g;e=e+g|0;o[w(f+ -1|0,d)+a|0]=e+s[k>>1]>>>4;p[k>>1]=e;f=f+1|0;if((f|0)!=(c|0)){continue}break}break b}q=b+ -1|0;e=q<<1;l=e+k|0;t=e+j|0;i=1;while(1){u=w(i+ -1|0,d)+a|0;v=w(d,i)+a|0;e=r[v|0];g=e;f=1;while(1){m=f+ -1|0;x=m<<1;n=x+j|0;y=s[n>>1];h=e;e=g;g=r[f+v|0];e=e+g|0;h=h+e|0;p[n>>1]=h;n=m+u|0;h=h+y|0;m=k+x|0;o[n|0]=h+s[m>>1]>>>4;p[m>>1]=h;f=f+1|0;if((f|0)!=(b|0)){continue}break}h=s[t>>1];e=e+g|0;p[t>>1]=e;e=e+h|0;o[u+q|0]=e+s[l>>1]>>>4;p[l>>1]=e;i=i+1|0;if((i|0)!=(c|0)){continue}break}}f=c}if(b){a=w(f+ -1|0,d)+a|0;f=0;while(1){c=f<<1;o[a+f|0]=s[c+j>>1]+s[c+k>>1]>>>4;f=f+1|0;if((f|0)!=(b|0)){continue}break}}}function Cx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];c=a+4|0;a:{if(e>>>0>c>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<16|e>>>0>a>>>0|(f>>>0>>0|f-a>>>0>>0)){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){break a}c=w(c,12);h=0;b:{if(!c){break b}h=e;e=a+16|0;if(h>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=g+ -3;if((g|0)<3){break a}d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);h=w(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24),12)}d=h;c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return 1}a=(a+d|0)+16|0;e=0;while(1){if(!Bx(a,b)){return 0}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=1;e=e+1|0;if((c|0)!=(e|0)){continue}break}}return d}function Zc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{if(!r[a+69|0]){if(b>>>0>=c>>>0){break c}d=q[a+88>>2];f=-1;e=b;while(1){g=q[(d+w(e,20)|0)+8>>2];f=f>>>0>g>>>0?g:f;e=e+1|0;if((e|0)!=(c|0)){continue}break}while(1){e=d+w(b,20)|0;if(q[e+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[e+4>>2]=q[e+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}break c}g=q[a+80>>2];if(g>>>0>>0){break b}e=q[a+72>>2];if(e>>>0>c>>>0){break a}i=q[a+92>>2];f=-1;j=g>>>0<=b>>>0;if(!j){d=b;while(1){h=q[(w(d,20)+i|0)+8>>2];f=f>>>0>h>>>0?h:f;d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=q[a+88>>2];k=e>>>0>=c>>>0;if(!k){d=e;while(1){l=q[(h+w(d,20)|0)+8>>2];f=f>>>0>l>>>0?l:f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(!j){while(1){d=w(b,20)+i|0;if(q[d+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(k){break c}while(1){b=h+w(e,20)|0;if(q[b+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[b+4>>2]=q[b+4>>2]|1}e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}I(272732,272586,607,272749);F()}I(272780,272586,608,272749);F()}function EK(a,b){a=a|0;b=b|0;var c=0,d=0;a=0;a:{b:{c:{d=r[b+2|0];d:{if((d|0)==59){break d}e:{if((d|0)!=120){c=b+2|0;while(1){a=(w(a,10)+(d<<24>>24)|0)+ -48|0;if((a|0)>1114111){return-1}d=r[c+1|0];c=c+1|0;if((d|0)!=59){continue}break}break e}c=r[b+3|0];if((c|0)==59){break d}b=b+3|0;while(1){f:{d=b;b=c<<24>>24;c=b+ -48|0;g:{if(c>>>0>54){break g}h:{i:{switch(c-10|0){default:a=c|a<<4;break h;case 7:case 8:case 9:case 10:case 11:case 12:a=(b+(a<<4)|0)+ -55|0;break h;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 g;case 39:case 40:case 41:case 42:case 43:case 44:break i}}a=(b+(a<<4)|0)+ -87|0}if((a|0)>=1114112){break f}}b=d+1|0;c=r[d+1|0];if((c|0)!=59){continue}break e}break}return-1}d=-1;b=a>>8;if(b+ -216>>>0<8){break a}if((b|0)==255){break c}if(b){break b}}if(r[a+490220|0]){break b}return-1}if((a|1)==65535){break a}}d=a}return d|0}function gt(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,p=0;g=Da-16|0;Da=g;e=q[a+84>>2];q[g>>2]=q[q[a+88>>2]+16>>2];hb(e,6,2886,g);a:{c=q[a+88>>2];d=q[c+16>>2];h=(d|0)/4|0;i=d-(h<<2)|0;b:{if((i|0)==1){hb(q[a+84>>2],1,2914,0);b=0;break b}l=w(h,3);k=l+((i|0)>1?i+ -1|0:0)|0;e=Sa(k);b=0;if(!e){break b}c=q[c+8>>2];if((d|0)<4){b=e}else{n=h<<2;b=c;d=e;while(1){p=r[b|0];j=r[b+1|0];m=(r[b+2|0]+31&63)<<6;o[d+2|0]=m|r[b+3|0]+31&63;j=(j+31&63)<<12;o[d+1|0]=(j|m)>>>8;o[d|0]=(j|p<<18)+8126464>>>16;b=b+4|0;d=d+3|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}c=c+n|0;b=e+l|0}d=i+ -2|0;if(d>>>0<=1){c:{if(!(d-1)){d=r[c+2|0];f=r[c|0]<<18;c=(r[c+1|0]+31&63)<<12;o[b|0]=(f|c)+8126464>>>16;d=(c|(d+31&60)<<6)>>>8|0;f=b+1|0;c=2;break c}d=((r[c+1|0]+31&48)<<12|(r[c|0]+31&255)<<18)>>>16|0;f=b;c=1}o[f|0]=d;b=b+c|0}if((b-e|0)!=(k|0)){break a}b=q[a+84>>2];if(q[b+4>>2]){pl(b,q[q[a+88>>2]+4>>2],e,k)}b=e}La(b);La(q[q[a+88>>2]+4>>2]);La(q[q[a+88>>2]+8>>2]);a=q[a+88>>2];q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+16>>2]=0;Da=g+16|0;return}I(2936,1465,707,2983);F()}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Da-208|0;Da=e;q[e+8>>2]=1;q[e+12>>2]=0;a:{i=w(b,c);if(!i){break a}q[e+16>>2]=c;q[e+20>>2]=c;j=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;q[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+j|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){Tj(a,c,d,b,e+16|0);Mh(e+8|0,2);b=b+2|0;break c}h=b+ -1|0;d:{if(t[(e+16|0)+(h<<2)>>2]>=f-a>>>0){Lh(a,c,d,e+8|0,b,0,e+16|0);break d}Tj(a,c,d,b,e+16|0)}if((b|0)==1){Kh(e+8|0,1);b=0;break c}Kh(e+8|0,h);b=1}g=q[e+8>>2]|1;q[e+8>>2]=g;a=a+c|0;if(a>>>0>>0){continue}break}}Lh(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(q[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=U$(q[e+8>>2]+ -1|0);if(!f){f=U$(q[e+12>>2]);f=f?f+32|0:0}Mh(h,f);g=q[e+8>>2];b=b+f|0;break e}Kh(e+8|0,2);q[e+8>>2]=q[e+8>>2]^7;Mh(e+8|0,1);h=a+j|0;f=b+ -2|0;Lh(h-q[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b+ -1|0,1,e+16|0);Kh(e+8|0,1);g=q[e+8>>2]|1;q[e+8>>2]=g;Lh(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+j|0;continue}}Da=e+208|0}function yG(a,b,c,d){var e=0,g=0,h=0,i=0,k=0,l=0,m=0;i=Da-32|0;Da=i;g=d&2147483647;h=g;e=g+ -1065418752|0;g=c;k=g;if(g>>>0<0){e=e+1|0}m=k;l=h+ -1082064896|0;k=g;if(g>>>0<0){l=l+1|0}a:{if((e|0)==(l|0)&m>>>0>>0|e>>>0>>0){h=(d&33554431)<<7|c>>>25;g=0;l=g;k=c&33554431;if(!(!g&(k|0)==16777216?!(a|b):!g&k>>>0<16777216|g>>>0<0)){e=h+1073741825|0;break a}e=h+1073741824|0;if(k^16777216|a|(b|l)){break a}e=(e&1)+e|0;break a}if(!(!g&(h|0)==2147418112?!(a|b):(h|0)==2147418112&g>>>0<0|h>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if((h|0)==1082064895&g>>>0>4294967295|h>>>0>1082064895){break a}e=0;h=h>>>16|0;if(h>>>0<16145){break a}e=d&65535|65536;Fc(i+16|0,a,b,c,e,h+ -16129|0);Uf(i,a,b,g,e,16257-h|0);b=q[i+8>>2];e=(q[i+12>>2]&33554431)<<7|b>>>25;g=q[i+4>>2];h=g;a=0;k=a;l=q[i>>2]|((q[i+16>>2]|q[i+24>>2])!=0|(q[i+20>>2]|q[i+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(g|l):!a&b>>>0<16777216|a>>>0<0)){e=e+1|0;break a}if(b^16777216|l|(h|k)){break a}e=(e&1)+e|0}Da=i+32|0;return f(0,d&-2147483648|e),j()}function _J(a,b,c,d,e){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:{a=q[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=r[a|0];c=g<<24>>24;c:{d:{e:{f=r[a+1|0];if(f>>>0>7){if(f+ -216>>>0<4){break d}g=q[d>>2];if((e-g|0)>=3){break e}break a}f:{g:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break f;default:break g}}if((c|0)<0){break f}f=q[d>>2];if((f|0)==(e|0)){break a}q[d>>2]=f+1;o[f|0]=c;break c}h=q[d>>2];g=2;if((e-h|0)<2){break b}q[d>>2]=h+1;o[h|0]=f<<2|(c&192)>>>6|192;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}q[d>>2]=g+1;o[g|0]=f>>>4|224;g=q[d>>2];q[d>>2]=g+1;o[g|0]=f<<2&60|(c&192)>>>6|128;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}h=q[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){q[b>>2]=a;return 1}q[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;o[h|0]=f>>>2|240;h=q[d>>2];q[d>>2]=h+1;o[h|0]=f<<4&48|g>>>2&15|128;g=r[a+3|0];f=r[a+2|0];h=q[d>>2];q[d>>2]=h+1;o[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=q[d>>2];q[d>>2]=c+1;o[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(a>>>0>>0){continue}break}}g=0}q[b>>2]=a;return g|0}q[b>>2]=a;return 2}function HJ(a,b,c,d,e){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:{a=q[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=r[a+1|0];c=g<<24>>24;c:{d:{e:{f=r[a|0];if(f>>>0>7){if(f+ -216>>>0<4){break d}g=q[d>>2];if((e-g|0)>=3){break e}break a}f:{g:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break f;default:break g}}if((c|0)<0){break f}f=q[d>>2];if((f|0)==(e|0)){break a}q[d>>2]=f+1;o[f|0]=c;break c}h=q[d>>2];g=2;if((e-h|0)<2){break b}q[d>>2]=h+1;o[h|0]=f<<2|(c&192)>>>6|192;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}q[d>>2]=g+1;o[g|0]=f>>>4|224;g=q[d>>2];q[d>>2]=g+1;o[g|0]=f<<2&60|(c&192)>>>6|128;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}h=q[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){q[b>>2]=a;return 1}q[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;o[h|0]=f>>>2|240;h=q[d>>2];q[d>>2]=h+1;o[h|0]=f<<4&48|g>>>2&15|128;g=r[a+2|0];f=r[a+3|0];h=q[d>>2];q[d>>2]=h+1;o[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=q[d>>2];q[d>>2]=c+1;o[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(a>>>0>>0){continue}break}}g=0}q[b>>2]=a;return g|0}q[b>>2]=a;return 2}function Fo(a){var b=0,c=0,d=0,e=0,f=0;d=q[q[a>>2]+100>>2];b=q[a+300>>2];if(b){q[b+444>>2]=0;c=q[b+8>>2];e=c;f=q[b+24>>2];if(f){n[q[e+8>>2]](e,f)}q[b+20>>2]=0;q[b+24>>2]=0;e=q[b+440>>2];if(e){n[q[c+8>>2]](c,e)}q[b+440>>2]=0;q[b+432>>2]=0;q[b+436>>2]=0;e=q[b+396>>2];if(e){n[q[c+8>>2]](c,e)}q[b+392>>2]=0;q[b+396>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+300>>2]=0}b=q[a+252>>2];if(b){n[q[d+8>>2]](d,b)}q[a+248>>2]=0;q[a+252>>2]=0;b=q[a+260>>2];if(b){n[q[d+8>>2]](d,b)}p[a+256>>1]=0;q[a+260>>2]=0;b=q[a+264>>2];if(b){c=q[a+292>>2];if(c){n[q[b+8>>2]](b,c)}q[a+292>>2]=0;c=q[a+288>>2];if(c){n[q[b+8>>2]](b,c)}q[a+288>>2]=0;c=q[a+280>>2];if(c){n[q[b+8>>2]](b,c)}q[a+280>>2]=0;c=q[a+276>>2];if(c){n[q[b+8>>2]](b,c)}q[a+276>>2]=0;c=q[a+284>>2];if(c){n[q[b+8>>2]](b,c)}q[a+284>>2]=0;q[a+272>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0}b=q[a+132>>2];if(b){n[q[d+8>>2]](d,b)}q[a+132>>2]=0;b=q[a+144>>2];if(b){n[q[d+8>>2]](d,b)}q[a+136>>2]=0;q[a+140>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0;q[a+152>>2]=0;q[a+304>>2]=-1;q[a+308>>2]=-1}function KM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;if(c){l=d+12|0;h=d<<4;n=h<<1;o=h+192<<1;while(1){d=a;g=0;k=0;if(l){while(1){q=g>>>0>>0?(g<<1)+b|0:438160;f=g+ -32|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -64|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -80|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -96|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -112|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -128|0;y=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -160|0;z=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -192|0;A=f>>>0>>0?(f<<1)+b|0:438160;j=0;while(1){f=j<<1;i=s[f+v>>1];p[d+f>>1]=((((w(p[e>>1],(s[f+u>>1]-i<<16>>16)+(s[f+x>>1]-i<<16>>16)|0)+w(p[e+2>>1],(s[f+t>>1]-i<<16>>16)+(s[f+y>>1]-i<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+r>>1]-i<<16>>16)+(s[f+z>>1]-i<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+q>>1]-i<<16>>16)+(s[f+A>>1]-i<<16>>16)|0)|0)+32768>>>16|0)+i;j=j+1|0;if((j|0)!=16){continue}break}g=g+16|0;d=d+32|0;k=k+1|0;if((k|0)!=(l|0)){continue}break}a=a+o|0}b=b+n|0;m=m+16|0;if(m>>>0>>0){continue}break}}}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,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;if(c){l=d+10|0;h=d<<4;n=h<<1;o=h+160<<1;while(1){d=a;g=0;k=0;if(l){while(1){q=g>>>0>>0?(g<<1)+b|0:438160;f=g+ -32|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -48|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -64|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -80|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -96|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -112|0;y=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -128|0;z=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -160|0;A=f>>>0>>0?(f<<1)+b|0:438160;j=0;while(1){f=j<<1;i=s[f+v>>1];p[d+f>>1]=((((w(p[e>>1],(s[f+u>>1]-i<<16>>16)+(s[f+x>>1]-i<<16>>16)|0)+w(p[e+2>>1],(s[f+t>>1]-i<<16>>16)+(s[f+y>>1]-i<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+r>>1]-i<<16>>16)+(s[f+z>>1]-i<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+q>>1]-i<<16>>16)+(s[f+A>>1]-i<<16>>16)|0)|0)+32768>>>16|0)+i;j=j+1|0;if((j|0)!=16){continue}break}g=g+16|0;d=d+32|0;k=k+1|0;if((k|0)!=(l|0)){continue}break}a=a+o|0}b=b+n|0;m=m+16|0;if(m>>>0>>0){continue}break}}}function FQ(a,b,c){a=a|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=Da-272|0;Da=f;e=q[b+4>>2];b=q[b>>2];d=q[a>>2];g=q[a+4>>2];q[f+12>>2]=g<<2;q[f+8>>2]=d<<2;h=e<<2;q[f+4>>2]=h;i=b<<2;q[f>>2]=i;j=q[c+208>>2];q[f+16>>2]=j;a=q[c+212>>2];q[f+20>>2]=a;k=g>>6;a:{b:{l=e>>6;e=q[c+176>>2];c:{d:{if((l|0)<(e|0)){b=a>>8;break d}b=a>>8;if((k|0)<(e|0)){break d}if((b|0)>=(e|0)){break c}}e=b;b=q[c+172>>2];if((e|0)>=(b|0)|(l|0)>=(b|0)|(k|0)>=(b|0)){break b}}q[c+212>>2]=h;q[c+208>>2]=i;break a}e=1;g=a+(h-(g<<3)|0)|0;a=g>>31;d=(i-(d<<3)|0)+j|0;b=d>>31;a=a^a+g;b=b^b+d;a=(b|0)<(a|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=f;while(1){b=(0-e&e)>>1;if(b){while(1){d=q[a+16>>2];q[a+32>>2]=d;g=q[a+20>>2];q[a+36>>2]=g;h=q[a+8>>2];i=h+q[a>>2]|0;q[a+8>>2]=i>>1;d=d+h|0;q[a+24>>2]=d>>1;q[a+16>>2]=d+i>>2;d=q[a+12>>2];h=d+q[a+4>>2]|0;q[a+12>>2]=h>>1;d=d+g|0;q[a+28>>2]=d>>1;q[a+20>>2]=d+h>>2;a=a+16|0;b=b>>1;if(b){continue}break}}Gl(c,q[a>>2],q[a+4>>2]);a=a+ -16|0;e=e+ -1|0;if(e){continue}break}}Da=f+272|0;return 0}function sL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!b){break a}h=Pd(b);if(h){break a}return 0}b:{c:{if(!c){break c}i=Pd(c);if(i){break c}b=0;if(!h){break b}La(h);return 0}j=q[a+4>>2];d:{if((j|0)<1){break d}m=q[a+12>>2];while(1){e:{k=q[(f<<2)+m>>2];b=k;c=h;if((b|0)==(c|0)){break e}while(1){g=0;f:{if(!b){e=0;b=0;break f}e=r[b|0];b=b+1|0}if(c){g=r[c|0];c=c+1|0}else{c=0}if((e|0)==(g|0)?e:0){continue}break}if(!b|(e|0)!=(g|0)){break e}c=i;if((c|0)!=(b|0)){while(1){g=0;g:{if(!b){e=0;b=0;break g}e=r[b|0];b=b+1|0}if(c){g=r[c|0];c=c+1|0}else{c=0}if((e|0)==(g|0)?e:0){continue}break}if((e|0)!=(g|0)){break e}}f=0;while(1){h:{b=k;e=q[(f<<2)+m>>2];c=e;i:{if((b|0)==(c|0)){e=k;break i}while(1){j:{g=r[b|0];l=r[c|0];if(!l){break j}c=c+1|0;b=b+1|0;if((g|0)==(l|0)){continue}}break}if((g|0)!=(l|0)){break h}}La(e);b=q[a+12>>2]+(f<<2)|0;sb(b,b+4|0,q[a+4>>2]-f<<2);q[a+4>>2]=q[a+4>>2]+ -1;break d}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}f=f+1|0;if((j|0)!=(f|0)){continue}break}}b=uL(a,h,i,d);if(h){La(h)}if(!i){break b}La(i)}return b}function Sg(a,b){var c=0,d=0;c=r[a|0];c=(((c+ -65&255)>>>0<26?c+32|0:c)&255)+ -48|0;a:{if(c>>>0>73){break a}b:{c:{d:{e:{f:{switch(c-1|0){default:q[b>>2]=0;break b;case 1:case 51:case 71:q[b>>2]=2;break b;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: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:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 63:case 64:case 65:case 66:case 68:case 69:case 70:break a;case 0:case 67:case 72:break e;case 62:break f}}a=r[a+1|0];a=(((a+ -65&255)>>>0<26?a+32|0:a)&255)+ -102|0;if(a>>>0>12){break a}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:break a;case 11:break c;case 7:break e;default:break d}}q[b>>2]=1;return 1}q[b>>2]=0;break b}q[b>>2]=2}d=1}return d}function OM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0;if(c){l=d+8|0;h=d<<4;n=h<<1;o=h+128<<1;while(1){d=a;g=0;k=0;if(l){while(1){q=g>>>0>>0?(g<<1)+b|0:438160;f=g+ -16|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -32|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -48|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -64|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -80|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -96|0;y=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -112|0;z=f>>>0>>0?(f<<1)+b|0:438160;f=g+ -128|0;A=f>>>0>>0?(f<<1)+b|0:438160;j=0;while(1){f=j<<1;i=s[f+v>>1];p[d+f>>1]=((((w(p[e>>1],(s[f+u>>1]-i<<16>>16)+(s[f+x>>1]-i<<16>>16)|0)+w(p[e+2>>1],(s[f+t>>1]-i<<16>>16)+(s[f+y>>1]-i<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+r>>1]-i<<16>>16)+(s[f+z>>1]-i<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+q>>1]-i<<16>>16)+(s[f+A>>1]-i<<16>>16)|0)|0)+32768>>>16|0)+i;j=j+1|0;if((j|0)!=16){continue}break}g=g+16|0;d=d+32|0;k=k+1|0;if((k|0)!=(l|0)){continue}break}a=a+o|0}b=b+n|0;m=m+16|0;if(m>>>0>>0){continue}break}}}function cu(a,b,c,d,e){a=a|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,o=0,p=0,r=0,s=0;a=Da-16|0;Da=a;q[a+4>>2]=0;d=q[b+72>>2];o=n[q[d+156>>2]](b,q[b+76>>2],32,a+4|0,q[d+20>>2])|0;ct(c);i=q[c+48>>2];j=q[c+76>>2];if(j){k=q[c+96>>2];l=q[c+88>>2];p=i&-2;e=0;while(1){a:{b:{if(!o){break b}d=w(e,20);f=d+l|0;if(!At(q[f>>2])){break b}q[f>>2]=q[a+4>>2];d=d+k|0;q[d>>2]=0;q[d+4>>2]=0;break a}d=w(e,20);f=d+l|0;g=q[f>>2];q[f>>2]=0;h=g;g=q[b+72>>2];n[q[g+156>>2]](b,q[b+76>>2],h,f,q[g+20>>2])|0;h=q[f>>2];d=d+k|0;q[d>>2]=0;q[d+4>>2]=0;g=q[b+72>>2];m=(p|0)!=4;c:{if(!m){r=d,s=n[q[g+168>>2]](b,q[b+76>>2],h,q[g+32>>2])|0,q[r>>2]=s;break c}r=d,s=n[q[g+172>>2]](b,q[b+76>>2],h,q[g+36>>2])|0,q[r+4>>2]=s}f=q[f>>2];d:{if(!m){Mf(b,f,a+12|0,a+8|0);break d}Tv(b,f,a+12|0,a+8|0)}q[d+8>>2]=q[d+8>>2]-q[a+12>>2];q[d+12>>2]=q[d+12>>2]-q[a+8>>2]}e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((i&-3)==5){_c(c)}d=q[c+76>>2];if(d){c=q[c+88>>2];b=0;while(1){e=c+w(b,20)|0;q[e+4>>2]=q[e+4>>2]&-2;b=b+1|0;if((d|0)!=(b|0)){continue}break}}Da=a+16|0;return 1}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;e=Da-16|0;f=1;d=q[a>>2];a:{b:{if(d>>>0>1){while(1){d=f;while(1){i=w(d,12)+b|0;h=i+ -12|0;if(q[i>>2]>2]){q[e+8>>2]=q[i+8>>2];g=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=g;q[i+8>>2]=q[h+8>>2];g=q[h+4>>2];q[i>>2]=q[h>>2];q[i+4>>2]=g;q[h+8>>2]=q[e+8>>2];g=q[e+4>>2];q[h>>2]=q[e>>2];q[h+4>>2]=g;d=d+ -1|0;if(d){continue}}break}f=f+1|0;j=q[a>>2];if(f>>>0>>0){continue}break}f=1;if(j>>>0<2){break b}l=j+ -1|0;m=q[b>>2];g=0;d=1;while(1){i=(d|0)==(l|0);h=q[w(d,12)+b>>2]-m|0;c:{if((h|0)<=(c|0)?!i:0){break c}k=0;e=g;f=e;d=((h|0)<=(c|0)&i)+d|0;if(e>>>0>>0){while(1){h=w(e,12)+b|0;f=q[h>>2];q[h>>2]=0;k=f+k|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}f=d}q[w(g,12)+b>>2]=(k|0)/(f|0);if(d>>>0>=l>>>0){break c}g=d+1|0;m=q[w(g,12)+b>>2]}f=1;d=d+1|0;if(d>>>0>>0){continue}break}e=1;while(1){g=w(e,12)+b|0;if(q[g>>2]){c=q[g+4>>2];d=w(f,12)+b|0;q[d>>2]=q[g>>2];q[d+4>>2]=c;q[d+8>>2]=q[g+8>>2];j=q[a>>2];f=f+1|0}e=e+1|0;if(e>>>0>>0){continue}break}break b}if(!(d-1)){break a}}q[a>>2]=f}}function zn(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=q[a+24>>2];if(b>>>0>65534){break b}i=q[a>>2];l=q[i+508>>2]+q[i+512>>2]|0;c=q[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){g=q[a+44>>2];c:{if(b>>>0>g>>>0){break c}f=q[a+48>>2];d:{e=q[a+52>>2];if(!e){j=q[i+16>>2];c=f+g|0;if((c|0)<0){break d}e=0-f|0;if((c|0)>=65536){h=65536-f|0;while(1){k=b+f|0;d=k&65535;e:{if(d>>>0>=j>>>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(b>>>0<=g>>>0){continue}break}break c}while(1){h=b+f|0;d=h&65535;f:{if(d>>>0>=j>>>0){c=e;if((h|0)<0){break f}break c}c=b;if(d){break a}}b=c+1|0;if(b>>>0<=g>>>0){continue}break}break c}c=e+(b-c<<1)|0;if(c>>>0>l>>>0){break c}while(1){e=r[c+1|0]|r[c|0]<<8;if(e){d=f+e&65535;if(d){break a}}c=c+2|0;b=b+1|0;if(b>>>0<=g>>>0){continue}break}break c}while(1){d=b+f&65535;if(d>>>0>=j>>>0){break c}if(d){break a}b=b+1|0;if(b>>>0<=g>>>0){continue}break}}d=0;if((ln(a,q[a+36>>2]+1|0)|0)<0){break b}c=q[a+40>>2];b=b>>>0>>0?c:b;continue}}b=-1}q[a+28>>2]=d;q[a+24>>2]=b}function _N(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;d=q[b+44>>2];a:{if(!d|!r[d|0]){break a}g=Pb(d,59);b=0;b:{if(!g){break b}c=g+1|0;g=Bb(c);e=Pb(c,59);b=1;if(!e){break b}c=e+1|0;e=Bb(c);c=Pb(c,59);b=2;if(!c){break b}b=c+1|0;h=Bb(b);b=Pb(b,59)?4:3}if(!Ra(d,356376,7)){h=1;c:{d:{if(b>>>0<=1){if(!(b-1)){break d}a=q[a>>2];q[f>>2]=d;hb(a,6,356384,f);break a}if(!e){break c}}h=0}q[a+496>>2]=h;c=q[a+208>>2];b=q[c>>2];c=q[c+4>>2];q[a+288>>2]=2;e=a;d=q[a+168>>2];c=q[a+172>>2]-((d>>>0>>0)+c|0)|0;a=g?g:1;j=e,k=X$(d-b|0,c,a,a>>31),q[j+500>>2]=k;break a}e:{c=a;i=3;f:{if(!Ra(d,356411,10)){break f}if(Ra(d,356422,12)){break e}i=2}q[c+496>>2]=i;if(b>>>0<=2){a=q[a>>2];q[f+16>>2]=d;hb(a,6,356384,f+16|0);break a}b=q[a+168>>2];c=q[a+208>>2];d=q[c>>2];i=b-d|0;c=q[a+172>>2]-(q[c+4>>2]+(b>>>0>>0)|0)|0;b=h?h:1;j=a,k=X$(i,c,b,b>>31),q[j+500>>2]=k;b=(g|0)<(e|0);d=b?g:e;c=a;b=b?e:g;if(!b){b=q[q[a+160>>2]+40>>2]}q[c+412>>2]=b;q[a+404>>2]=d;o[a+417|0]=0;q[a+288>>2]=3;break a}a=q[a>>2];q[f+32>>2]=d;hb(a,7,356435,f+32|0)}Da=f+48|0}function c_(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=7){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){vZ(b,a);return}uZ(b,a);return;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}tZ(b,a);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}sZ(b,a);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}rZ(b,a);return;case 3:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:lv(b,a);return;case 0:kv(b,a);return;case 1:break d}}jv(b,a);return;case 5:break a;case 6:break b;case 4:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}e:{switch(c-1|0){default:iv(b,a);return;case 0:hv(b,a);return;case 1:break e}}gv(b,a);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break a}pZ(b,a)}}function VL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-32|0;Da=d;g=0;a:{if(!b){break a}g=0;if(q[b>>2]<1){break a}g=q[b+8>>2]+b|0}while(1){b:{c:{if(!g){break c}e=q[g+4>>2];e=e&1?(e&-2)+g|0:e;if(!e){break c}while(1){f=e+8|0;i=q[g>>2];d:{e:{c=q[e+8>>2]+ -3|0;if(c>>>0>6){break e}f:{switch(c-1|0){default:c=q[e+16>>2];q[d+16>>2]=3;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 2:c=q[e+16>>2];q[d+16>>2]=6;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 4:c=q[e+16>>2];q[d+16>>2]=8;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 0:case 1:case 3:break e;case 5:break f}}c=q[e+16>>2];q[d+16>>2]=9;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d}c=q[f+12>>2];q[d+24>>2]=q[f+8>>2];q[d+28>>2]=c;c=q[f+4>>2];q[d+16>>2]=q[f>>2];q[d+20>>2]=c}f=q[e+24>>2];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;if(!Dc(a,i,d,f)){e=0;break b}c=e;e=q[e>>2];e=e&1?c+(e&-2)|0:e;if(e){continue}break}}e=1;if(!b){break b}h=h+1|0;f=q[b>>2];if((h|0)>=(f|0)){break b}g=0;if((f|0)<1){continue}g=(q[b+8>>2]+b|0)+(h<<3)|0;continue}break}Da=d+32|0;return e}function Nl(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,r=0,t=0,u=0;a:{c=w(b,1348)+a|0;g=q[c+56>>2];if((g|0)<1){break a}d=q[a+24>>2];if((d|0)<1){break a}a=q[a+28>>2];m=a+w(d,40)|0;i=b?8:4;n=i|16;e=q[c- -64>>2];j=e+w(g,44)|0;h=j+ -44|0;c=(b|0)==1;o=c?14:12;r=c?8:4;t=b?20:16;while(1){if(!(s[a>>1]&n)){b=q[a+r>>2];u=a+t|0;f=p[a+o>>1];c=(b+q[e+8>>2]|0)-q[e+4>>2]|0;b:{if(p[e>>1]>=(f|0)){break b}c=(b+q[h+8>>2]|0)-q[h+4>>2]|0;if((f|0)>=p[h>>1]){break b}b=0;c:{c=g;d:{if((c|0)<=8){while(1){e:{b=b+1|0;if((g|0)==(b|0)){c=s[j>>1];b=g;break e}c=p[w(b,44)+e>>1];if((c|0)<(f|0)){continue}}break}if((c&65535)!=(f&65535)){break d}c=q[(w(b,44)+e|0)+8>>2];break b}while(1){d=b+c>>1;k=w(d,44)+e|0;l=p[k>>1];f:{if((f|0)<(l|0)){c=d;break f}if((f|0)<=(l|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=w(b,44)+e|0;b=c+ -44|0;d=q[c+ -28>>2];if(!d){d=Za(q[c+8>>2]-q[b+8>>2]|0,p[c>>1]-p[b>>1]|0);q[b+16>>2]=d}c=q[b+8>>2]+Ma(f-p[b>>1]|0,d)|0;break b}c=q[k+8>>2]}q[u>>2]=c;p[a>>1]=s[a>>1]|i}a=a+40|0;if(a>>>0>>0){continue}break}}}function Jd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[a+88>>2];b=q[a+32>>2]+(b<<4)|0;e=q[b+8>>2];p[f+12>>1]=e+32>>>6;k=q[b+12>>2];p[f+14>>1]=k+32>>>6;if(o[a+8|0]&1){i=2147483647;c=2147483647;b=s[a+68>>1];a:{if(!b){break a}c=e>>31;d=c+e^c;if(d>>>0<=65535){c=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}c=2147483647;g=d>>>16|0;if(g>>>0>=b>>>0){break a}h=d<<16|b>>>1;d=z(g);j=32-d|0;g=h>>>j|g<>>0)/(b>>>0)|0;g=g-w(b,c)|0;d=h<>>31;g=h-(h>>>0>>0?0:b)|0;c=c<<1|h>>>0>=b>>>0;d=d<<1;j=j+ -1|0;if(j){continue}break}}g=f+12|0;q[f+16>>2]=(e|0)<0?0-c|0:c;b:{if(!b){break b}c=k>>31;c=c+k^c;if(c>>>0<=65535){i=((c<<16|b>>>1)>>>0)/(b>>>0)|0;break b}d=c>>>16|0;if(d>>>0>=b>>>0){break b}h=c<<16|b>>>1;e=z(d);c=32-e|0;d=h>>>c|d<>>0)/(b>>>0)|0;j=d-w(b,i)|0;d=h<>>31;j=e-(e>>>0>>0?0:b)|0;i=i<<1|e>>>0>=b>>>0;d=d<<1;c=c+ -1|0;if(c){continue}break}}q[f+20>>2]=(k|0)<0?0-i|0:i;$o(a,g);return}q[f+28>>2]=0;q[f+24>>2]=k;q[f+16>>2]=65536;q[f+20>>2]=65536;a=p[b>>1];q[f+36>>2]=e;q[f+32>>2]=a<<6}function tM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-384|0;Da=d;h=de(a);a:{if(h){q[d+68>>2]=0;q[d+64>>2]=b;e=_b(h,d- -64|0);break a}e=eb(b)}f=cl(e,d+144|0);La(e);b:{if((f|0)<0){break b}Xk(a,b,d+320|0);j=Ic(q[a+12>>2]);if(!j){break b}g=Qb(j);c:{if(!g){break c}while(1){q[d+136>>2]=0;q[d+140>>2]=0;d:{e:{f:{if(h){i=0;q[d+24>>2]=0;q[d+16>>2]=g;q[d+20>>2]=d+320;e=_b(h,d+16|0);if(!e){break c}while(1){f=af(e,0,0);if((f|0)>=0){if((hk(f,d+232|0)|0)>-1){break f}bd(f)}if(i){break e}gr(a,b,d+80|0);f=r[d+80|0];La(e);if(!f){break d}q[d+8>>2]=0;q[d>>2]=g;q[d+4>>2]=d+80;i=1;e=_b(h,d);if(e){continue}break}break c}i=0;q[d+52>>2]=0;q[d+48>>2]=d+320;e=_b(g,d+48|0);if(!e){break c}while(1){f=af(e,0,0);if((f|0)>=0){if((hk(f,d+232|0)|0)>-1){break f}bd(f)}if(i){break e}gr(a,b,d+80|0);f=r[d+80|0];La(e);if(!f){break d}q[d+36>>2]=0;q[d+32>>2]=d+80;i=1;e=_b(g,d+32|0);if(e){continue}break}break c}k=n[831](a,f,d+232|0,d+144|0,d+136|0,c)|0;bd(f);if(k){break e}La(e);k=0;break d}La(e)}g=Qb(j);if(g){continue}break}}Zb(j)}Da=d+384|0;return k}function ed(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+16>>2];f=q[e+24>>2]+39&-8;g=(n[q[e>>2]](b,-2128831035)>>>0)%t[a>>2]|0;a:{b:{d=q[q[a+4>>2]+(g<<2)>>2];if(d){while(1){if(n[q[e+4>>2]](b,d+f|0)){if(!q[d+24>>2]){break b}f=q[d+20>>2];c:{d:{if(f){c=q[d+16>>2];if(!c){break c}q[c+20>>2]=f;q[q[d+20>>2]>>2]=c;break d}q[d+28>>2]=q[d+28>>2]+1}q[q[a+12>>2]>>2]=d;q[d+20>>2]=q[a+12>>2];q[a+12>>2]=d+16;q[d+16>>2]=0}q[a+24>>2]=q[a+24>>2]+1;n[q[e+8>>2]](0,b)|0;q[d+28>>2]=q[d+28>>2]+1;return d+32|0}d=q[d+8>>2];if(d){continue}break}}q[a+28>>2]=q[a+28>>2]+1;d=Sa(f+q[e+20>>2]|0);if(!d){n[q[e+8>>2]](0,b)|0;return 0}q[d+4>>2]=e;q[d>>2]=a;f=d+f|0;if(!n[q[e+8>>2]](f,b)){La(d);return 0}b=f;f=d+32|0;c=n[q[e+12>>2]](b,f,c)|0;q[d+24>>2]=c;if(!c){break a}b=q[a+4>>2]+(g<<2)|0;e=q[b>>2];if(e){q[e+12>>2]=d+8}q[d+12>>2]=b;q[d+8>>2]=q[b>>2];q[b>>2]=d;q[q[a+12>>2]>>2]=d;q[d+20>>2]=q[a+12>>2];q[a+12>>2]=d+16;q[d+28>>2]=2;q[d+16>>2]=0;q[a+20>>2]=c+q[a+20>>2];q[a+32>>2]=q[a+32>>2]+1;return f}I(355392,355403,370,355415);F()}I(355392,355403,405,355415);F()}function cr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Da+ -64|0;Da=h;a:{b:{if(!q[160933]){while(1){c=Sa(28);d=q[160933];q[160933]=d?d:c;if(!d){break b}if(!q[160933]){continue}break}}break a}Ud()}c=q[160932];if((c|0)>=1){e=643664;while(1){f=c;c=c+ -1|0;j=c<<2;i=j+e|0;d=q[i>>2];if(!(!d|t[d>>2]>a>>>0)){while(1){e=d;i=(d+j|0)+40|0;d=q[i>>2];if(t[d>>2]<=a>>>0?d:0){continue}break}e=e+40|0}q[h+j>>2]=i;if((f|0)>1){continue}break}}d=Ud()|Ud();while(1){c:{c=g;g=c+1|0;if(c>>>0>14){break c}f=d&1;d=d>>1;if(!f){continue}}break}e=0;d=q[160932];if((c|0)>=(d|0)){g=d+1|0;q[160932]=g;d=d<<2;q[d+h>>2]=d+643664}c=Sa((g<<2)+44|0);if(c){q[c>>2]=a;a=q[a+8>>2];q[c+12>>2]=0;q[c+8>>2]=a;q[c+4>>2]=1;d:{if(b){q[c+16>>2]=q[b>>2];a=q[b+84>>2];q[c+24>>2]=q[b+80>>2];q[c+28>>2]=a;q[c+32>>2]=q[b+64>>2];q[c+36>>2]=q[b+68>>2];break d}q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0}e=1;if((g|0)>=1){b=c+40|0;d=0;while(1){f=d<<2;a=q[f+h>>2];q[b+f>>2]=q[a>>2];q[a>>2]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}Da=h- -64|0;return e}function J$(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,s=0,u=0,v=0,x=0;e=Da-32|0;Da=e;q[e+4>>2]=b;h=a+6|0;i=r[a+5|0]|r[a+4|0]<<8;a:{if(!i){g=h;i=0;break a}g=(w(i,6)+a|0)+6|0;m=q[b+24>>2];u=m+ -1|0;v=q[b+28>>2];j=i;while(1){b:{if((m|0)<1){break b}d=r[h|0];l=d>>>1|0;n=r[h+1|0];x=n|d<<8;f=0;d=u;while(1){c:{k=d+f>>>1|0;o=(k<<3)+v|0;p=l-q[o>>2]|0;d:{if((p|0)<=-1){d=k+ -1|0;break d}if(!p){break c}f=k+1|0}if((f|0)<=(d|0)){continue}break b}break}f=q[o+4>>2];d=271312;e:{if(t[b+36>>2]<=f>>>0){break e}d=q[b+40>>2];if(!d){break b}d=d+(f<<6)|0}d=d+(x>>>3&56)|0;k=q[d>>2];f=q[d+4>>2];l=n&63;d=l&31;if(!((32<=(l&63)>>>0?f>>>d|0:((1<>>d)&1)){break b}g=h;i=s;break a}h=h+6|0;s=s+1|0;j=j+ -1|0;if(j){continue}break}j=0}q[e+24>>2]=0;q[e+16>>2]=i;q[e+12>>2]=j;q[e+8>>2]=g;q[e+20>>2]=e+4;f:{if(!j){break f}while(1){b=r[g+2|0]|r[g+3|0]<<8|(r[g+4|0]<<16|r[g+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);Gm((b?b+a|0:271312)+2|0,c);a$(e+8|0);if(!q[e+12>>2]){break f}g=q[e+8>>2];continue}}Da=e+32|0}function Pp(a,b){var c=0,d=0,e=0,f=0;e=Da-4112|0;Da=e;a:{b:{c:{if(b){d:{if(a){break d}a=q[160940];if(a){break d}d=1;a=ee();if(!a){break a}}c=Vh(b,e);c=Pd(c?c:b);if(!c){break a}f=q[a+76>>2];if(f){La(f)}q[a+76>>2]=c;if(!d){break a}a=Jg(a);if(a){break b}d=0;a=q[160940];if(!a){d=1;a=ee();if(!a){break a}}c=Vh(b,e);c=Pd(c?c:b);if(!c){break a}f=q[a+76>>2];if(f){La(f)}q[a+76>>2]=c;if(!d){break a}a=Jg(a);if(a){break b}d=0;a=q[160940];if(!a){d=1;a=ee();if(!a){break a}}c=Vh(b,e);b=Pd(c?c:b);if(!b){break a}c=q[a+76>>2];if(c){La(c)}q[a+76>>2]=b;if(!d){break a}break c}b=0;e:{if(a){break e}a=q[160940];if(a){break e}b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}a=Jg(a);if(a){break b}b=0;a=q[160940];if(!a){b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}a=Jg(a);if(a){break b}b=0;a=q[160940];if(!a){b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}}a=Jg(a);if(a){break b}Lc(503574,122,1,q[126999]);break a}gI(a);cc(a)}Da=e+4112|0}function _w(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:{b=q[b+4>>2];d=q[b+72>>2];if(r[a+8|0]?0:(d|0)==q[b+76>>2]){break a}l=q[a+16>>2];i=q[b+88>>2];g=q[a+12>>2];j=q[a+20>>2];k=(l+(q[i+w(g,20)>>2]+(r[c+5|0]|r[c+4|0]<<8)<<1)|0)-j>>>1|0;e=q[a+4>>2];m=q[e+20>>2];f=(k<<1)+j|0;b:{if(m>>>0>f>>>0){break b}h=q[e+24>>2];if(h>>>0>>0|h-f>>>0<2){break b}h=q[e+28>>2];q[e+28>>2]=h+ -1;if((h|0)<1){break b}h=(k<<1)+j|0;k=r[h+1|0]|r[f|0]<<8;if(!k){break b}n=q[b+76>>2];d=d+1|0;d=d>>>0>n>>>0?n:d;if(d-g>>>0>=2){rb(b,g,d);k=r[h+1|0]|r[f|0]<<8;e=q[a+4>>2];m=q[e+20>>2];l=q[a+16>>2];g=q[a+12>>2];i=q[b+88>>2];j=q[a+20>>2]}q[w(g,20)+i>>2]=k;o[a|0]=1}f=q[b+76>>2]+ -1|0;g=q[b+72>>2];f=w(g>>>0>f>>>0?f:g,20)+i|0;i=((q[f>>2]+(r[c+7|0]|r[c+6|0]<<8)<<1)+l|0)-j>>>1|0;b=(i<<1)+j|0;c:{if(m>>>0>b>>>0){break c}d=q[e+24>>2];if(d>>>0>>0|d-b>>>0<2){break c}d=e+28|0;e=q[e+28>>2];q[d>>2]=e+ -1;if((e|0)<1){break c}b=r[((i<<1)+j|0)+1|0]|r[b|0]<<8;if(!b){break c}q[f>>2]=b;o[a|0]=1}if(o[c+2|0]>-1){break a}q[a+12>>2]=g;o[a+8|0]=1}}function we(a,b,c){var d=0,e=0,f=0;e=Da-16|0;Da=e;a:{if(!b){break a}while(1){d=c;b:{while(1){f=s[b>>1];if(f>>>0>40){break a}c=2;c:{d:{e:{switch(f-2|0){default:Nd(a,2,d);break a;case 0:Nd(a,3,d);break a;case 1:Nd(a,5,d);break a;case 3:Nd(a,4,d);break a;case 4:Nd(a,6,d);break a;case 5:Nd(a,8,d);break a;case 2:Nd(a,9,d);break a;case 7:b=$e(Qc(q[b+8>>2]));if(!b){break a}Nd(a,q[b+4>>2],d);break a;case 8:c=yM(q[b+8>>2]);if(c){b=$e(q[c+4>>2]);if(!b){break a}Nd(a,q[b+4>>2],d);break a}q[e>>2]=q[b+8>>2];_a(a,1,501073,e);break a;case 17:we(a,q[b+8>>2],4);we(a,q[q[b+12>>2]+8>>2],d);b=q[b+12>>2]+8|0;break d;case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:Nd(a,4,d);break a;case 6:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break a;case 35:case 36:case 37:case 38:break b;case 33:break c;case 18:case 19:case 29:case 30:case 31:case 32:case 34:break e}}we(a,q[b+8>>2],d);b=b+8|0}b=q[b+4>>2];if(b){continue}break a}break}c=4}Nd(a,c,d);b=q[b+8>>2];if(b){continue}break}}Da=e+16|0}function VV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0);q[b+8>>2]=0;q[b+12>>2]=1065353216;q[b>>2]=1065353216;q[b+4>>2]=0;e=r[a+1|0];a:{if(e&1){d=r[a+4|0]|r[a+5|0]<<8;h=(d<<24|d<<8&16711680)>>16;d=a+6|0;f=r[d|0]|r[d+1|0]<<8;g=(f<<24|f<<8&16711680)>>16;break a}d=a+4|0;h=o[a+4|0];g=o[a+5|0]}o[c+12|0]=0;o[c|0]=0;f=e<<30>>31;e=g&f;u[c+8>>2]=e|0;g=c;c=f&h;u[g+4>>2]=c|0;a=r[a+1|0];if(a&8){a=r[d+2|0]|r[d+3|0]<<8;i=x(x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14));u[b>>2]=i;u[b+12>>2]=i;return 1}if(a&64){a=r[d+2|0]|r[d+3|0]<<8;u[b>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+4|0]|r[d+5|0]<<8;u[b+12>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);return 1}if(a&128){a=r[d+2|0]|r[d+3|0]<<8;u[b>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+4|0]|r[d+5|0]<<8;u[b+4>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+6|0]|r[d+7|0]<<8;u[b+8>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+8|0]|r[d+9|0]<<8;u[b+12>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);return 1}return(c|e)!=0}function Ry(a,b,c){a=a|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=q[a+812>>2];a:{if((e|0)<10){break a}g=q[a+816>>2];if(!g){break a}d=e;e=q[a+808>>2];k=d+e|0;f=e+10|0;d=e+4|0;l=b<<16|c;n=q[a+820>>2];h=1;while(1){b=(r[d+3|0]|r[d+2|0]<<8)+d|0;e=b>>>0>k>>>0?k:b;b:{if(!(h&n)){break b}c=d+14|0;if(r[d+4|0]){break b}o=r[d+5|0];i=e-c|0;b=r[d+7|0]|r[f|0]<<8;b=(i|0)<(w(b,6)|0)?(i|0)/6|0:b;c:{if(q[a+824>>2]&h){if(!b){break b}i=d+18|0;c=0;while(1){f=b+c>>>1|0;j=i+w(f,6)|0;d=j+ -4|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;c=d?f+1|0:c;b=d?b:f;if(c>>>0>>0){continue}break b}break}b=j+1|0;break c}if(!b){break b}while(1){d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){c=c+6|0;b=b+ -1|0;if(b){continue}break b}break}j=c+4|0;b=c+5|0}m=((r[b|0]|r[j|0]<<8)<<16>>16)+(o&8?0:m)|0}f=e+6|0;if(f>>>0>k>>>0){break a}h=h<<1;d=e;g=g+ -1|0;if(g){continue}break}}return m|0}function KH(a,b,c){a=a|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=Da-848|0;Da=d;e=ab(1,12);a:{if(!e){break a}f=ee();q[e>>2]=f;c=Xp(f,c);if(!c){hb(a,2,505100,0);cc(q[e>>2]);f=qk(0);q[e>>2]=f}if(f){c=$h(f)}if(!(q[e>>2]?c:0)){f=0;hb(a,0,505163,0);cc(q[e>>2]);La(e);break a}f=qP(b,e);e=dI(q[e>>2]);if(q[e>>2]<1){break a}h=d+824|0;i=d+844|0;j=d+836|0;a=0;while(1){b=q[q[e+8>>2]+(a<<2)>>2];b:{if(ZL(b,d+812|0)|q[d+812>>2]!=1){break b}if(si(b,505303,j)|si(b,505309,i)|si(b,505315,d+804|0)|si(b,505322,d+808|0)){break b}k=d,l=PL(q[d+804>>2]),q[k+840>>2]=l;c=0;if(pd(b,505328,0,d+800|0)){break b}while(1){c:{q[d+828>>2]=c;if(pd(b,505253,c,(c<<2)+d|0)){break c}g=q[d+828>>2];c=g+1|0;if((g|0)<100){continue}}break}q[d+816>>2]=d;c=0;while(1){d:{q[d+832>>2]=c;if(pd(b,505333,c,(d+400|0)+(c<<2)|0)){break d}g=q[d+832>>2];c=g+1|0;if((g|0)<100){continue}}break}q[d+820>>2]=d+400;if(pd(b,505342,0,h)){q[d+824>>2]=0}Yr(f,d+816|0,q[d+800>>2],q[d+808>>2],b)}a=a+1|0;if((a|0)>2]){continue}break}}Da=d+848|0;return f|0}function Iy(a,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=Da-16|0;Da=d;i=q[a+100>>2];q[d+8>>2]=0;c=3;a:{if(!q[a+868>>2]){break a}c=n[q[a+516>>2]](a,1129270354,b,d+4|0)|0;q[d+12>>2]=c;b:{if(c){break b}c:{c=q[d+4>>2];if(c>>>0<14){break c}c=Bc(b,c,d+8|0);q[d+12>>2]=c;if(c){break b}c=q[d+8>>2];f=gb(i,24,d+12|0);if(q[d+12>>2]){break b}e=r[c|0]|r[c+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;p[f>>1]=e;if(e){break c}e=r[c+2|0]|r[c+3|0]<<8;h=(e<<24|e<<8&16711680)>>>16|0;p[f+2>>1]=h;e=q[d+4>>2];g=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(e>>>0<=j>>>0|w(h,6)>>>0>e-j>>>0){break c}g=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);c=r[c+12|0]|r[c+13|0]<<8;h=(c<<24|c<<8&16711680)>>>16|0;p[f+4>>1]=h;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(e>>>0<=c>>>0|h<<2>>>0>e-c>>>0){break c}b=q[d+8>>2];q[f+20>>2]=e;q[f+16>>2]=b;q[f+12>>2]=b+c;q[f+8>>2]=b+j;q[a+872>>2]=f;c=0;break a}q[d+12>>2]=8}zb(b,d+8|0);if(f){n[q[i+8>>2]](i,f)}c=q[d+12>>2]}Da=d+16|0;return c|0}function PV(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=r[a+1|0]|r[a|0]<<8;if(!k){return 271312}h=q[c+16>>2];j=a-q[c+12>>2]|0;if(h>>>0>j>>>0){o=h-j|0;l=a+4|0;h=8;a:{while(1){m=h;b:{c:{if(b>>>0>=f>>>0){break c}h=b+1|0;h=(h|0)<0?271312:(h<<2)+l|0;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);i=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);b=(b|0)<0?271312:(b<<2)+l|0;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(i>>>0<=h>>>0|i>>>0>o>>>0){break c}b=i-h|0;if(b>>>0>8){break b}}return 271312}n=b+ -8|0;b=h?a+h|0:271312;i=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if((i|0)!=1685418085){break a}if(n>>>0>=2){b=r[b+9|0]|r[b+8|0]<<8;h=m+ -1|0;if(m){continue}}break}return 271312}if((i|0)!=1886283552){return 271312}if(g){q[g>>2]=k}if(d){a=r[b|0]|r[b+1|0]<<8;q[d>>2]=(a<<24|a<<8&16711680)>>16}if(e){a=r[b+2|0]|r[b+3|0]<<8;q[e>>2]=(a<<24|a<<8&16711680)>>16}return en(c,(h+j|0)+8|0,n)}I(242903,242928,106,242956);F()}function Jx(a,b){var c=0,d=0,e=0,f=0;c=Da-48|0;Da=c;d=r[a+7|0];a:{if(d>>>0>6){break a}b:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Iw(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break a;case 0:f=Hw(a,b);break a;case 1:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Gw(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break a;case 3:q[c+24>>2]=b;q[c+28>>2]=r[a+28|0]>>>6;f=r[a+31|0];d=r[a+30|0];e=r[a+29|0];q[c+40>>2]=0;o[c+36|0]=0;a=a+12|0;q[c+32>>2]=a+(f|(d<<8|e<<16));f=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[f+32>>2];if((a|0)==-1){a=lc(f)}q[b+16>>2]=a;Fw(c+8|0,c+24|0);f=1;break a;case 2:case 4:break a;case 5:break b}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Ew(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2])}Da=c+48|0;return f}function Im(a,b,c,d,e,f){var g=0,h=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[g+5|0]|r[g+4|0]<<8;a=a?g+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?(a+w(c,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];a=b?a+b|0:271312;b:{if((d|0)==65535){c=a+1|0;b=a;break b}b=(r[a+3|0]|r[a+2|0]<<8)>>>0>d>>>0?(a+w(d,6)|0)+4|0:271312;c=b+5|0;b=b+4|0}c:{d:{d=a;a=r[c|0]|r[b|0]<<8;d=a?d+a|0:271698;h=r[d+4|0]<<8|r[d+5|0];if(!h){break d}b=0;while(1){a=h>>>0>b>>>0?(d+(b<<1)|0)+6|0:271696;a=r[a|0]<<8|r[a+1|0];if((a|0)!=65535){c=r[g+7|0]|r[g+6|0]<<8;c=c?c+g|0:271312;c=(r[c+1|0]|r[c|0]<<8)>>>0>a>>>0?(c+w(a,6)|0)+2|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}else{c=0}if((c|0)!=(e|0)){b=b+1|0;if((h|0)==(b|0)){break d}continue}break}b=1;if(!f){break c}q[f>>2]=a;return 1}b=0;if(!f){break c}q[f>>2]=65535}return b}function nX(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)==271312){break a}c=r[a|0];if(c>>>0>4){break a}b:{switch(c-1|0){default:return r[(a+b|0)+1|0];case 2:d=1;f=a+1|0;c=r[a+1|0]|r[a+2|0]<<8;e=c<<8;c=(e&16711680|c<<24)>>>16|0;c:{if(c>>>0<=1){e=r[a+2|0]|e&65280;break c}e=r[a+2|0]|e&65280;while(1){a=e>>>0>d>>>0?(f+w(d,3)|0)+2|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>b>>>0){break c}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}a=d+ -1|0;return r[(e>>>0>a>>>0?(f+w(a,3)|0)+2|0:271312)+2|0];case 0:case 1:break a;case 3:break b}}d=1;c=r[a+1|0]|r[a+2|0]<<8|(r[a+3|0]<<16|r[a+4|0]<<24);e=c<<24;c=e|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0<=1){e=r[a+4|0]|(e|r[a+2|0]<<16|r[a+3|0]<<8);break d}e=r[a+4|0]|(e|r[a+2|0]<<16|r[a+3|0]<<8);while(1){f=e>>>0>d>>>0?(w(d,6)+a|0)+5|0:271312;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0>b>>>0){break d}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}b=a;a=d+ -1|0;a=e>>>0>a>>>0?(b+w(a,6)|0)+5|0:271312;d=r[a+4|0]<<8|r[a+5|0]}return d}function vV(a,b,c){var d=0,e=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}Oi(c,263,b);i=b+24|0;break d}j=c;i=b+24|0;d=q[i>>2];f:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break f}h=v[q[b+36>>2]+(d<<3)>>3];break f}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}g:{if(y(h)<2147483648){d=~~h;break g}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+24>>2]=d;break d}j=c;i=b+24|0;d=q[i>>2];h:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[b+36>>2]+(d<<3)>>3];break h}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}i:{if(y(h)<2147483648){d=~~h;break i}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+28>>2]=d}q[i>>2]=0;break b}hu(a,b,c);if(q[b+24>>2]){break a}}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function go(a,b){var c=0,d=0;b=Na(b,0,196);d=r[a+188|0];o[b+8|0]=d;if(d){while(1){p[(b+(c<<1)|0)+12>>1]=q[((c<<2)+a|0)+192>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+189|0];o[b+9|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+40>>1]=q[((c<<2)+a|0)+248>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+190|0];o[b+10|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+60>>1]=q[((c<<2)+a|0)+288>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+191|0];o[b+11|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+88>>1]=q[((c<<2)+a|0)+344>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[b+108>>2]=q[a+384>>2];q[b+112>>2]=q[a+388>>2];q[b+116>>2]=q[a+392>>2];p[b+120>>1]=q[a+396>>2];p[b+122>>1]=q[a+400>>2];d=r[a+404|0];o[b+124|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+128>>1]=q[((c<<2)+a|0)+408>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+405|0];o[b+125|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+154>>1]=q[((c<<2)+a|0)+460>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[b+126|0]=r[a+512|0];q[b+184>>2]=q[a+524>>2];q[b+4>>2]=q[a+520>>2]}function mB(a,b,c,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=q[a+12>>2];f=q[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=q[a+4284>>2];if(f>>>0<=(e-a|0)+ -184>>>0){q[a+4280>>2]=b;q[a+4284>>2]=e-f;break c}f=0;if(Xa(q[a>>2],0)){break a}q[a+12>>2]=0;q[a+16>>2]=0;q[a+4280>>2]=0;q[a+104>>2]=0;q[a+48>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;o[a+44|0]=0;q[a- -64>>2]=9;e=a+4280|0;q[a+4288>>2]=e;q[a+4284>>2]=e}if(f>>>0>=b>>>0){break c}g=q[a+4284>>2];h=q[a+4288>>2]-g|0;e=b-f|0;b=h>>>0>>0?h:e;q[a+4284>>2]=b+g;q[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(Rn(g,0,e)>>>0>>0){break a}q[a+4280>>2]=e+q[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=q[a+4284>>2];b=q[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Qa(c+f|0,e,b);q[a+4284>>2]=b+q[a+4284>>2];q[a+4280>>2]=b+q[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}q[a+4284>>2]=g;h=Rn(i,g,4096);e=q[a+4284>>2];b=h+e|0;q[a+4288>>2]=b;if(h){continue}break}}return f|0}function By(a,b,c,d,e){a=a|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,o=0;f=Da-16|0;Da=f;j=q[a+552>>2];a:{b:{g=s[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=q[(b?856:852)+a>>2];k=h+q[(b?756:752)+a>>2]|0;i=q[a+104>>2];if(g>>>0>c>>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Xa(i,g);q[f+12>>2]=g;if(g){break b}m=e,o=ib(i,f+12|0),p[m>>1]=o;if(q[f+12>>2]){break b}m=d,o=ib(i,f+12|0),p[m>>1]=o;if(!q[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=Xa(i,h);q[f+12>>2]=l;if(l){break b}m=e,o=ib(i,f+12|0),p[m>>1]=o;if(q[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){p[d>>1]=0;break a}g=Xa(i,g+4|0);q[f+12>>2]=g;if(g){p[d>>1]=0;break a}m=d,o=ib(i,f+12|0),p[m>>1]=o;break a}p[d>>1]=0;p[e>>1]=0}if(j){q[f+8>>2]=s[e>>1];q[f+4>>2]=p[d>>1];c:{if(b){b=q[j+12>>2];if(b){n[b](a,c,f+8|0)|0}b=q[j+16>>2];if(!b){break c}n[b](a,c,f+4|0)|0;break c}b=q[j>>2];if(b){n[b](a,c,f+8|0)|0}b=q[j+4>>2];if(!b){break c}n[b](a,c,f+4|0)|0}p[e>>1]=q[f+8>>2];p[d>>1]=q[f+4>>2]}Da=f+16|0}function Ot(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=ab(1,40);if(f){g=q[a+4>>2]==1098015074;o[f+36|0]=g;c=q[a+44>>2];l=c+ -1|0;i=q[a+48>>2];b=f;a:{b:{if((c|0)<1){break b}a=l;while(1){c:{h=a+d>>>1|0;e=q[w(h,36)+i>>2];d:{if(e>>>0>=1937007465){a=h+ -1|0;break d}if((e|0)==1937007464){break c}d=h+1|0}if((d|0)<=(a|0)){continue}break b}break}a=2;if(q[(w(h,36)+i|0)+28>>2]){break a}}a=0}o[b+36|0]=a|g;h=(c|0)<1;while(1){b=j<<2;k=q[b+251792>>2];d=0;a=l;g=b+f|0;b=0;e:{if(h){break e}f:{while(1){c=a+d>>>1|0;e=w(c,36)+i|0;b=q[e>>2];g:{if(b>>>0>k>>>0){a=c+ -1|0;break g}if(b>>>0>=k>>>0){break f}d=c+1|0}if((d|0)<=(a|0)){continue}break}b=0;break e}b=q[e+28>>2]}q[g>>2]=b;b=0;g=r[f+36|0];h:{if(!(g&1)){break h}b=44>>>j&1;if(h){break h}d=0;a=l;if(b){break h}i:{while(1){c=a+d>>>1|0;e=w(c,36)+i|0;b=q[e>>2];j:{if(b>>>0>k>>>0){a=c+ -1|0;break j}if(b>>>0>=k>>>0){break i}d=c+1|0}if((d|0)<=(a|0)){continue}break}b=0;break h}b=o[e+32|0]&1}o[f+36|0]=g&254|b;j=j+1|0;if((j|0)!=7){continue}break}}return f|0}function Yy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0;h=Da-16|0;Da=h;f=n[q[a+516>>2]](a,1801810542,b,h+12|0)|0;a:{if(f){break a}f=142;c=q[h+12>>2];if(c>>>0<4){break a}f=Bc(b,c,a+808|0);if(f){break a}c=q[h+12>>2];q[a+812>>2]=c;f=0;b=q[a+808>>2];g=r[b+2|0]<<8|r[b+3|0];g=g>>>0<32?g:32;b:{if(!g){break b}k=b+c|0;c=b+4|0;while(1){b=c;if(b+6>>>0>k>>>0){break b}c=r[b+3|0]|r[b+2|0]<<8;if(c>>>0<15){break b}d=b+14|0;c=b+c|0;c=c>>>0>k>>>0?k:c;c:{if(r[b+4|0]|d>>>0>c>>>0|(r[b+5|0]&3)!=1){break c}l=1<>>8&65280|d>>>24);b=b+20|0;while(1){j=j+ -1|0;if(j){e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);p=e>>>0>d>>>0;b=b+6|0;d=e;if(p){continue}break c}break}o=o|l}i=i+1|0;if((g|0)!=(i|0)){continue}break}i=g}q[a+824>>2]=o;q[a+820>>2]=m;q[a+816>>2]=i}Da=h+16|0;return f|0}function Ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!q[a+28>>2]|!q[a+20>>2]|q[a+16>>2]==271312){break a}c=q[a+24>>2];d=q[c+24>>2];b:{if((d|0)<1){break b}i=b>>>9|0;f=q[c+28>>2];d=d+ -1|0;while(1){c:{e=d+g>>>1|0;h=i-q[(e<<3)+f>>2]|0;d:{if((h|0)<=-1){d=e+ -1|0;break d}if(!h){break c}g=e+1|0}if((g|0)<=(d|0)){continue}break b}break}e=q[((e<<3)+f|0)+4>>2];d=271312;e:{if(t[c+36>>2]<=e>>>0){break e}c=q[c+40>>2];if(!c){break b}d=c+(e<<6)|0}c=d+(b>>>3&56)|0;e=q[c>>2];d=q[c+4>>2];f=b&63;c=f&31;if((32<=(f&63)>>>0?d>>>c|0:((1<>>c)&1){break a}}c=q[a+8>>2];d=q[a+4>>2];e=q[a+12>>2];q[a+8>>2]=271312;q[a+12>>2]=271312;q[a+4>>2]=271312;q[a+28>>2]=q[a+28>>2]+ -1;n[q[a+20>>2]](a,b);q[a+12>>2]=e;q[a+4>>2]=d;q[a+8>>2]=c;q[a+28>>2]=q[a+28>>2]+1;if((b|0)==-1){break a}a=q[a+24>>2];if(r[a+12|0]!=1){break a}q[a+16>>2]=-1;a=ac(a,b);if(!a){break a}c=a+(b>>>3&56)|0;a=c;d=q[a+4>>2];e=a;f=q[a>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=f|b;q[a+4>>2]=c|d}}function Kw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{j=q[b+4>>2];if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break a}i=q[b+12>>2];q[b+12>>2]=i+ -1;if((i|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h>>>0<4){break a}f=r[a+3|0];g=r[a+2|0];d=f|g<<8;if(4294967295/(h>>>0)>>>0<=d>>>0){break a}h=w(d,h);if(h){d=a+10|0;if(j>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=i+ -2;if((i|0)<2){break a}f=r[a+3|0];g=r[a+2|0];d=f|g<<8}e=0;b:{if(!d){break b}e=w(d+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;e=(r[e+10|0]<<8|r[e+11|0])==65535?-1:0}h=d+e|0;if(!h){return 1}i=a+10|0;e=0;while(1){j=q[b+4>>2];f=g<<8|f;if(f){d=i+w(f+ -1|0,r[a+1|0]|r[a|0]<<8)|0;g=(r[d|0]<<8|r[d+1|0])==65535?-1:0}else{g=0}d=271312;c:{if(f+g>>>0<=e>>>0){break c}d=i+w(r[a+1|0]|r[a|0]<<8,e)|0}if(j>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break a}f=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}if(!xg(d+2|0,b,f)){break a}e=e+1|0;if((h|0)==(e|0)){return 1}else{f=r[a+3|0];g=r[a+2|0];continue}}}return 0}function BZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c:{d:{c=c+d|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break d}q[b+12>>2]=f+ -3;if((f|0)<3){break d}d=r[c+1|0]|r[c|0]<<8;if(!d){break b}i=g;g=c+2|0;if(i>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break d}q[b+12>>2]=f+ -4;if((f|0)<4){break d}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}e=0;while(1){if(!zZ((c+(e<<2)|0)+2|0,b,c)){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}h=1}return h}return 0}function fu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];d=h+ -1|0;q[b+12>>2]=d;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>89478484){break a}i=w(e,48);if(i){d=a+4|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}d=h+ -2|0;q[b+12>>2]=d;if((h|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!e){return 1}h=0;while(1){j=g;i=w(h,48)+a|0;g=i+4|0;if(j>>>0>g>>>0|f>>>0>>0|f-g>>>0<48){break a}f=q[c>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!oV(g,b,f,i+12|0)){break a}g=q[b+4>>2];d=i+20|0;if(g>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}j=q[b+12>>2];q[b+12>>2]=j+ -1;if((j|0)<1){break a}d=i+32|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<12){break a}d=j+ -2|0;q[b+12>>2]=d;if((j|0)<=1){break a}h=h+1|0;if((h|0)!=(e|0)){continue}break}return 1}return 0}function bS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[a+24>>2];e=q[a+44>>2];if(!(e|q[a+76>>2]?(e|0)!=1:0)){if(q[a+4>>2]){a:{if((c|0)!=-1){break a}c=0;if(!q[b>>2]){break a}e=b;while(1){c=c+1|0;f=q[e+4>>2];e=e+4|0;if(f){continue}break}}d=(d|0)==-1?c:d;e=q[a+76>>2]+(d&1073741823)|0;if(!(!e|t[a+84>>2]>e>>>0)){pe(a,e)}e=b;b:{if((d|0)<1){d=e;break b}k=(d<<2)+e|0;while(1){h=q[e>>2];d=e+4|0;f=q[a+76>>2];i=f+1|0;g=-1;c:{d:{if(i>>>0>>0){break d}g=f;if(t[a+84>>2]>i>>>0){break d}if(!pe(a,i)){break c}g=q[a+76>>2]}f=g;f=q[a+88>>2]+w(f,20)|0;q[f+8>>2]=0;q[f+12>>2]=0;q[f+4>>2]=0;q[f>>2]=h>>>0>55295?h+ -57344>>>0>1056767?j:h:h;q[f+8>>2]=e-b>>2;q[f+16>>2]=0;q[a+76>>2]=q[a+76>>2]+1}e=d;if(e>>>0>>0){continue}break}}e=0;q[a+148>>2]=0;c=(c<<2)+b|0;e:{if(d>>>0>=c>>>0){break e}while(1){b=q[d>>2];q[a+148>>2]=e+1;q[((e<<2)+a|0)+124>>2]=b>>>0>55295?b+ -57344>>>0>1056767?j:b:b;d=d+4|0;if(d>>>0>=c>>>0){break e}e=q[a+148>>2];if(e>>>0<5){continue}break}}q[a+44>>2]=1}return}I(273002,272586,1517,273133);F()}function Cl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=r[q[a>>2]+236|0];q[g>>2]=0;q[f>>2]=0;if(r[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=q[a+4>>2];h=w(h>>16,b>>16);b=d-b|0;q[j+16>>2]=q[j+16>>2]+(h-w(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=q[a+11688>>2];if((e|0)>b<<1){q[f>>2]=c;a=q[a+11692>>2];break a}k=f,l=Ma(45875,c),q[k>>2]=l;a=Ma(19661,q[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=q[a+11688>>2];if(b<<1<(0-e|0)){q[f>>2]=0-c;a=q[a+11692>>2];break a}k=f,l=Ma(-45874,c),q[k>>2]=l;a=Ma(19661,q[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if(e<<1<(c|0)){q[f>>2]=0;a=q[a+11692>>2]<<1;break a}c=q[a+11688>>2];if((e|0)>(0-(b<<1)|0)){q[f>>2]=c;a=q[a+11692>>2];break a}k=f,l=Ma(45875,c),q[k>>2]=l;a=Ma(111411,q[a+11692>>2]);break a}if((0-(e<<1)|0)<(c|0)){q[f>>2]=0;a=q[a+11692>>2]<<1;break a}c=q[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){q[f>>2]=0-c;a=q[a+11692>>2];break a}k=f,l=Ma(-45874,c),q[k>>2]=l;a=Ma(111411,q[a+11692>>2]);break a}q[f>>2]=0;a=0}q[g>>2]=a}}function AC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=q[a+100>>2];d=q[a+316>>2];if(d){g=c;b=q[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=q[e+4>>2];if(d){b=c;d=q[d>>2];if(d){n[q[b+8>>2]](b,d)}q[q[e+4>>2]>>2]=0;b=q[e+4>>2];if(b){n[q[c+8>>2]](c,b)}q[e+4>>2]=0;b=q[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=q[a+316>>2];continue}break}d=q[a+316>>2]}if(d){n[q[g+8>>2]](g,d)}q[a+316>>2]=0}b=q[a+164>>2];if(b){n[q[c+8>>2]](c,b)}q[a+164>>2]=0;b=q[a+168>>2];if(b){n[q[c+8>>2]](c,b)}q[a+168>>2]=0;b=q[a+172>>2];if(b){n[q[c+8>>2]](c,b)}q[a+172>>2]=0;b=q[a+176>>2];if(b){n[q[c+8>>2]](c,b)}q[a+176>>2]=0;b=q[a+180>>2];if(b){n[q[c+8>>2]](c,b)}q[a+180>>2]=0;b=q[a+304>>2];if(b){n[q[c+8>>2]](c,b)}q[a+300>>2]=0;q[a+304>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+152>>2];if(b){n[q[c+8>>2]](c,b)}q[a+152>>2]=0;b=q[a+156>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;q[a+24>>2]=0;q[a+156>>2]=0;b=q[a+324>>2];if(b){n[q[c+8>>2]](c,b)}q[a+324>>2]=0;b=q[a+328>>2];if(b){n[q[c+8>>2]](c,b)}q[a+328>>2]=0}}function Zf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Da+ -64|0;Da=g;a:{if(d){f=d;while(1){if(!kr(e,q[f+8>>2])){i=g,j=Qc(e),q[i+48>>2]=j;a=q[126999];Mc(a,503829,g+48|0);b=f+8|0;c=q[b+12>>2];q[g+40>>2]=q[b+8>>2];q[g+44>>2]=c;b=q[f+12>>2];q[g+32>>2]=q[f+8>>2];q[g+36>>2]=b;Cq(a,g+32|0);te(10,a);if(!(r[643740]&4)){break a}Rb(504040);break a}h=f;f=q[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break}}e=b?q[b+24>>2]:0;if(d){f=d;while(1){if(q[f+24>>2]==2){q[f+24>>2]=e}h=f;f=q[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break}}b:{if(c){if(b){break b}f=a;while(1){b=f;f=q[f>>2];if(f){continue}break}break b}e=a;c:{if(!b){break c}f=a;while(1){e=f;f=q[f>>2];if(!f){break c}if((b|0)!=(f|0)){continue}break}}if(!(q[e>>2]|!(r[643740]&4))){Rb(504019)}b=e}if(r[643740]&4){q[g+16>>2]=c?503907:503914;Ua(503891,g+16|0);nL(q[a>>2],q[b>>2]);Gb(10)}if(d){f=d;while(1){e=f;f=q[f>>2];if(f){continue}break}q[e>>2]=q[b>>2];q[b>>2]=d}if(!(r[643740]&4)){break a}q[g>>2]=c?503907:503914;Ua(503922,g);ki(q[a>>2]);Gb(10)}Da=g- -64|0}function Rx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!g){break a}d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=(d+w(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),12)|0)+16|0;while(1){d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}d=r[a+4|0];if(d>>>7^(q[q[b+12>>2]+48>>2]&-2)==6?!(d&32):0){break b}e=d&64;c:{if(d&16){d=(e|0)!=0;e=q[b+12>>2];break c}d=e>>>6|0;e=q[b+12>>2];d=(d|0)!=((q[e+48>>2]&-3)==5|0)}i=q[b+4>>2];q[f+16>>2]=q[b+60>>2];if(!jd(e,i,228471,f+16|0)){break b}d:{if(d){_c(q[b+12>>2]);Vm(a,b);_c(q[b+12>>2]);break d}Vm(a,b)}d=q[b+4>>2];e=q[b+12>>2];q[f>>2]=q[b+60>>2];jd(e,d,228495,f);if(r[q[b+12>>2]+68|0]!=1){break a}}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[b+60>>2]=q[b+60>>2]+1;a=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+a|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Da=f+32|0}function JD(a,b){a=a|0;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=Da-336|0;Da=d;q[d+332>>2]=0;h=q[a+100>>2];n[q[b+60>>2]](b,d+272|0,4,d+268|0);c=q[d+268>>2];a:{if((c|0)<=-1){c=162;q[d+332>>2]=162;break a}b:{if(!c|(c|0)>=5){break b}i=q[b+8>>2];j=q[b>>2];c=Bh(a,0,c);q[d+332>>2]=c;if(c){break a}if(q[d+268>>2]>=1){k=q[a+532>>2];a=0;while(1){c=w(a,12);f=c+(d+272|0)|0;q[b>>2]=q[f>>2];q[b+8>>2]=q[f+4>>2];n[q[b+60>>2]](b,d+16|0,20,d+12|0);e=q[d+12>>2];if(e+ -1>>>0>=20){break b}f=c+k|0;if(q[f+92>>2]){break b}l=f;g=Oa(h,4,0,e<<1,0,d+332|0);q[f+92>>2]=g;c=q[d+332>>2];if(c){break a}e=q[d+12>>2];o[f+88|0]=e;q[f+96>>2]=g+(e<<2);c=0;if((e|0)>=1){while(1){e=(d+16|0)+w(c,12)|0;q[b>>2]=q[e>>2]+1;q[b+8>>2]=q[e+4>>2]+ -1;e=n[q[b+36>>2]](b)|0;g=c<<2;q[g+q[l+92>>2]>>2]=e;e=n[q[b+40>>2]](b,0)|0;q[g+q[f+96>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}f=q[d+332>>2]}q[b+8>>2]=i;q[b>>2]=j;c=f;break a}c=3;q[d+332>>2]=3}q[b+12>>2]=c;Da=d+336|0}function At(a){var b=0,c=0,d=0;a:{b:{c:{d:{e:{f:{g:{h:{b=a>>>16|0;if(!b){b=a>>>8|0;if(b>>>0<=32){break h}b=b+ -254|0;if(b>>>0>1){break g}if(b-1){return(a|0)==65279|(a&-16)==65024}return a+ -65520>>>0<9}b=b+ -1|0;if(b>>>0>13){break g}i:{switch(b-1|0){default:return a+ -119155>>>0<8;case 12:break i;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break g}}return(a&-4096)==917504}j:{switch(b-1|0){case 31:break j;case 2:break b;case 5:break c;case 22:break d;case 23:break e;case 0:case 1: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 24:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break a}}b=a+ -8203|0;if(b>>>0>=36){break f}d=1;c=b&31;if(!((32<=(b&63)>>>0?15>>>c|0:((1<>>c)&1)){break f}}return d}return(a&-16)==8288}return a+ -6155>>>0<4}return(a&-2)==6068}return(a|0)==1564}return(a|0)==847}return(a|0)==173}function MJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{e=r[b+4|0];if(!(e|r[b+5|0]!=120)){c=b+6|0;b=0;while(1){c:{if(r[c|0]){break c}a=o[c+1|0];if((a|0)==59){break b}d=a+ -48|0;if(d>>>0>54){break c}d:{switch(d-10|0){default:b=d|b<<4;break c;case 7:case 8:case 9:case 10:case 11:case 12:b=(a+(b<<4)|0)+ -55|0;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 c;case 39:case 40:case 41:case 42:case 43:case 44:break d}}b=(a+(b<<4)|0)+ -87|0}c=c+2|0;if((b|0)<1114112){continue}break}return-1}d=b+4|0;b=0;while(1){a=-1;c=-1;if(!e){c=o[d+1|0];if((c|0)==59){break b}}b=(w(b,10)+c|0)+ -48|0;if((b|0)>1114111){break a}d=d+2|0;e=r[d|0];continue}}a=-1;c=b>>8;if(c+ -216>>>0<8){break a}e:{if((c|0)!=255){if(r[b+490220|0]|c){break e}break a}if((b|1)==65535){break a}}a=b}return a|0}function $o(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=p[a+70>>1];d=(c|0)<0?-1:1;f=q[b+8>>2];d=(f|0)<0?0-d|0:d;g=b;e=f>>31;e=e+f^e;h=e>>>8|0;i=c;c=c>>31;c=i+c^c;a:{if(h+c>>>0<=8190){c=w(c,e)+32768>>>16|0;break a}c=w(c,e>>>16|0)+w(e,c>>>16|0)+(w(c,e&65535)+32768>>>16)|0}q[g+12>>2]=((d|0)<0?0-c|0:c)+63&-64;c=p[a+72>>1];d=(c|0)<0?-1:1;d=(f|0)<0?0-d|0:d;g=b;i=c;c=c>>31;c=i+c^c;b:{if(c+h>>>0<=8190){c=w(c,e)+32768>>>16|0;break b}c=w(e,c>>>16|0)+w(c,e>>>16|0)+(w(c,e&65535)+32768>>>16)|0}q[g+16>>2]=((d|0)<0?0-c|0:c)&-64;c=p[a+74>>1];d=(c|0)<0?-1:1;d=(f|0)<0?0-d|0:d;g=b;f=c>>31;f=f+c^f;c:{if(f+h>>>0<=8190){e=w(e,f)+32768>>>16|0;break c}e=w(e,f>>>16|0)+w(f,e>>>16|0)+(w(f,e&65535)+32768>>>16)|0}q[g+20>>2]=((d|0)<0?0-e|0:e)+32&-64;d=p[a+76>>1];a=(d|0)<0?-1:1;e=0-a|0;c=a;a=q[b+4>>2];e=(a|0)<0?e:c;c=d;d=d>>31;d=c+d^d;c=a;a=a>>31;a=c+a^a;d:{if(d+(a>>>8|0)>>>0<=8190){a=w(a,d)+32768>>>16|0;break d}a=w(d,a>>>16|0)+w(a,d>>>16|0)+(w(d,a&65535)+32768>>>16)|0}q[b+24>>2]=((e|0)<0?0-a|0:a)+32&-64}function Yf(a){var b=0,c=0,d=0,e=0,f=0;b=q[q[a+4>>2]+96>>2];f=q[b+8>>2];c=q[q[b+12>>2]+68>>2];if(c){n[c](a)}a:{b:{c=q[a+156>>2];if(!c){break b}d=q[c+4>>2];if(!(d&1)){break b}e=q[a+88>>2];if(e){c=q[q[a+4>>2]+100>>2];n[q[c+8>>2]](c,e);c=q[a+156>>2];d=q[c+4>>2]}q[a+88>>2]=0;q[c+4>>2]=d&-2;break a}q[a+88>>2]=0}if(c){if(!(r[q[b>>2]+1|0]&2)){b=q[c>>2];if(b){c=q[b>>2];d=q[b+24>>2];if(d){n[q[c+8>>2]](c,d)}q[b+24>>2]=0;d=q[b+28>>2];if(d){n[q[c+8>>2]](c,d)}q[b+28>>2]=0;d=q[b+32>>2];if(d){n[q[c+8>>2]](c,d)}q[b+32>>2]=0;d=q[b+40>>2];if(d){n[q[c+8>>2]](c,d)}q[b+40>>2]=0;d=q[b+52>>2];if(d){n[q[c+8>>2]](c,d)}q[b+20>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+88>>2]=0;d=q[b+24>>2];q[b+56>>2]=q[b+20>>2];q[b+60>>2]=d;e=q[b+32>>2];d=b- -64|0;q[d>>2]=q[b+28>>2];q[d+4>>2]=e;d=q[b+40>>2];q[b+72>>2]=q[b+36>>2];q[b+76>>2]=d;d=q[b+48>>2];q[b+80>>2]=q[b+44>>2];q[b+84>>2]=d;n[q[c+8>>2]](c,b);c=q[a+156>>2]}q[c>>2]=0}if(c){n[q[f+8>>2]](f,c)}q[a+156>>2]=0}}function TN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Sa(36);a:{if(e){p[e+20>>1]=255;q[e+28>>2]=0;q[e+32>>2]=0;q[e+16>>2]=128;q[e+8>>2]=-1;q[e+12>>2]=-1;q[e+4>>2]=e;q[e>>2]=e;b:{if((c|0)<1){f=e;break b}if(!b){f=e;while(1){b=q[(g<<2)+a>>2];if(!(q[f+24>>2]|b&32768?0:(b|0)==q[f+16>>2])){d=Sa(36);if(!d){d=0;break b}q[d+4>>2]=0;q[d+8>>2]=0;p[d+20>>1]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+16>>2]=b;q[d+8>>2]=g;q[d+12>>2]=0;q[f+4>>2]=d;q[f+12>>2]=g-q[f+8>>2];q[d+24>>2]=0;q[d>>2]=f;f=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}break b}f=e;while(1){h=g<<2;i=q[h+a>>2];h=q[b+h>>2];if(!(q[f+24>>2]|i&32768?0:!(h|q[f+16>>2]!=(i|0)))){d=Sa(36);if(!d){d=0;break b}q[d+4>>2]=0;q[d+8>>2]=0;p[d+20>>1]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+16>>2]=i;q[d+8>>2]=g;q[d+12>>2]=0;q[f+4>>2]=d;q[f+12>>2]=g-q[f+8>>2];q[d+24>>2]=h;q[d>>2]=f;f=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}q[f+4>>2]=e;q[f+12>>2]=c-q[f+8>>2];q[e>>2]=f;if(d){break a}q[f+4>>2]=0;while(1){a=q[e+4>>2];La(e);e=a;if(e){continue}break}}e=0}return e}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;h=Da-16|0;Da=h;a:{if(!Nb(b,a,2)){break a}j=q[c>>2];e=q[c+4>>2];m=j+(e<<1)|0;g=-2;f=j;d=e;b:{while(1){c:{k=i;d:{e:{if((f|0)==(m|0)){if(d){break e}g=0;o[a|0]=0;d=l>>>0>w(i,3)>>>0;o[a+1|0]=d?2:1;if(d-1){break c}break b}if(d){break e}i=271312;break d}i=f}n=g+1|0;g=r[i|0]|r[i+1|0]<<8;g=(g<<24|g<<8&16711680)>>>16|0;i=((n|0)!=(g|0))+k|0;l=l+1|0;k=(d|0)!=0;d=d-k|0;f=(k<<1)+f|0;continue}break}d=a+2|0;if(!Nb(b,d,2)){break a}c=(e<<8&16711680|e<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;f=(e&65280)>>>8|0;c=e;f:{if(e>>>0<65536){break f}c=e;if(!r[b+20|0]){break f}o[b+20|0]=0;f=r[a+2|0];c=r[a+3|0]}if(!Nb(b,d,((f&255)<<9|(c&255)<<1)+2|0)){break a}g=1;if(!e){break a}f=0;d=e;while(1){c=(f<<1)+a|0;b=d?j:271312;b=r[b|0]|r[b+1|0]<<8;o[c+4|0]=b;o[c+5|0]=b>>>8;b=(d|0)!=0;d=d-b|0;j=(b<<1)+j|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break a}q[h+8>>2]=q[c+8>>2];e=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=e;g=$T(a,b,h)}Da=h+16|0;return g}function dK(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=b+4|0;if(!(r[b+5|0]|r[c|0]!=120)){c=b+6|0;b=0;while(1){c:{if(r[c+1|0]){break c}a=o[c|0];if((a|0)==59){break b}d=a+ -48|0;if(d>>>0>54){break c}d:{switch(d-10|0){default:b=d|b<<4;break c;case 7:case 8:case 9:case 10:case 11:case 12:b=(a+(b<<4)|0)+ -55|0;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 c;case 39:case 40:case 41:case 42:case 43:case 44:break d}}b=(a+(b<<4)|0)+ -87|0}c=c+2|0;if((b|0)<1114112){continue}break}return-1}b=0;while(1){a=-1;d=-1;if(!r[c+1|0]){d=o[c|0];if((d|0)==59){break b}}c=c+2|0;b=(w(b,10)+d|0)+ -48|0;if((b|0)<1114112){continue}break}break a}a=-1;c=b>>8;if(c+ -216>>>0<8){break a}e:{if((c|0)!=255){if(r[b+490220|0]|c){break e}break a}if((b|1)==65535){break a}}a=b}return a|0}function zW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=271312;e=r[a+3|0]|r[a+4|0]<<8|(r[a+5|0]<<16|r[a+6|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);j=e?e+d|0:271312;e=j;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((e|0)>=1){e=e+ -1|0;while(1){i=e+g>>>1|0;f=(i<<2)+j|0;k=r[f+5|0]<<8|r[f+4|0]<<16|r[f+6|0];a:{if(k>>>0>b>>>0){e=i+ -1|0;break a}if(r[f+7|0]+k>>>0>=b>>>0){return 2}g=i+1|0}if((g|0)<=(e|0)){continue}break}}a=r[a+7|0]|r[a+8|0]<<8|(r[a+9|0]<<16|r[a+10|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if((d|0)<1){break b}e=d+ -1|0;g=0;while(1){c:{d=e+g>>>1|0;f=a+w(d,5)|0;f=r[f+5|0]<<8|r[f+4|0]<<16|r[f+6|0];d:{if(f>>>0>b>>>0){e=d+ -1|0;break d}if((b|0)==(f|0)){break c}g=d+1|0}if((g|0)<=(e|0)){continue}break b}break}h=(a+w(d,5)|0)+4|0}a=r[h+4|0]|r[h+3|0]<<8;if(!a){return 0}q[c>>2]=a;return 1}function xn(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=q[a+16>>2];g=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{if(!i){break a}h=q[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}m=e+20|0;e=i;b:{c:{while(1){g=e+j>>>1|0;k=w(g,12)+m|0;f=k;d=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=g;f=f+ -4|0;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(h>>>0>=f>>>0){if(h>>>0<=l>>>0){break c}j=g+1|0;d=e}e=d;if(j>>>0>>0){continue}break}e=0;break b}d=k;d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=h-f|0;e=d>>>0>(e^-1)>>>0?0:d+e|0}if(!c){return e}c=q[a>>2];if(h>>>0>l>>>0){d=0;g=g+1|0;if((i|0)==(g|0)){break a}}o[a+24|0]=1;q[a+36>>2]=g;q[a+28>>2]=h;d:{if(!(e>>>0>2]?e:0)){wn(a);e=0;if(!r[a+24|0]){break d}e=q[a+32>>2];break d}q[a+32>>2]=e}d=e;q[b>>2]=q[a+28>>2]}return d}function Mn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Da-16|0;Da=f;q[f+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}g=q[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=q[b+8>>2];j=(e|0)<0?-1:1;if(!q[b+12>>2]){a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;a=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=a;a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;if((i|0)==(j|0)){break a}q[c+8>>2]=0-q[c+8>>2];break a}d=e>>31;e=d+e^d;h=w(e,q[b>>2]);d=q[a>>2];l=c;a=q[c+12>>2];b:{c:{if(a){k=g>>31;g=w(q[c>>2],k^g+k);if((g|0)==(h|0)){break b}a=Mo(d,g,h,a,f+12|0);break c}a=Fj(d,h,f+12|0)}q[l+12>>2]=a}d:{if(q[f+12>>2]){break d}d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;q[c+12>>2]=a;b=q[b+12>>2];if((i|0)==(j|0)){Qa(a,b,h);break d}c=q[c>>2];if(!c){break d}d=0-e|0;a=w(e,c+ -1|0)+a|0;while(1){a=Qa(a,b,e)+d|0;b=b+e|0;c=c+ -1|0;if(c){continue}break}}d=q[f+12>>2]}Da=f+16|0;return d}function Du(a){var b=0,c=0,d=0;b=q[a>>2];c=tm(b);a:{b:{c:{d=b+ -6042|0;if(d>>>0>67){break c}b=16;d:{switch(d-1|0){case 43:case 48:case 50:case 51:case 52:case 53:case 54:b=21;break a;case 46:case 47:case 49:break b;case 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: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 55:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:break c;case 44:case 45:case 56:case 66:break d;default:break a}}b=22;break a}b=c&127;if((b|0)!=7){break a}e:{c=(c>>>8|0)+ -3|0;if(c>>>0>8){break e}b=28;f:{switch(c-1|0){case 4:b=27;break a;case 2:b=26;break a;case 0:case 1:case 3:case 5:case 6:break e;case 7:break f;default:break a}}b=29;break a}I(241736,241738,106,241769);F()}b=20}o[a+18|0]=b}function ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c+ -2>>>0>34){break a}d=q[a>>2];if(d>>>0>=b>>>0){break a}e=r[d|0];f=e+ -43|0;b:{if(f>>>0>2|!(f-1)){break b}f=0;d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=r[d|0];g=e+ -43|0;if(g>>>0>2){break b}if(g-1){break a}}i=2147483647/(c>>>0)|0;c:{d:{if(d>>>0>=b>>>0){q[a>>2]=d;f=0;break d}l=2147483647-w(c,i)|0;f=0;while(1){e:{f:{g:{g=e;if(e>>>0>32){break g}switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break f}}if(e<<24>>24<0){break f}e=o[g+291616|0];if((e|0)<0|(e|0)>=(c|0)){break f}g=1;h=f;h:{if((f|0)>(i|0)){break h}if((f|0)==(i|0)){h=i;if((l|0)<(e|0)){break h}}g=j;h=e+w(c,f)|0}f=h;d=d+1|0;if((d|0)!=(b|0)){break e}j=g;d=b}q[a>>2]=d;a=2147483647;if(j&255){break c}break d}e=r[d|0];j=g;continue}}a=f}f=k?0-a|0:a}return f}function Ii(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=q[a+36>>2];a:{i=q[a+48>>2];m=b<<3;j=q[(i+m|0)+4>>2];b:{if((j|0)>(e|0)){break b}g=q[i+4>>2];if((g|0)<(d|0)){break b}h=g;k=q[a+4>>2];g=0-k|0;l=h&g;h=(l|0)>(e|0);c:{if((j|0)<(d|0)){g=d;break c}g=g&(j+k|0)+ -1;if(j&k+ -1&65535){d=g;break c}if(r[a+79|0]){o[a+79|0]=0;f=f+ -4|0}q[f>>2]=q[(b<<3)+i>>2];d=g+k|0;f=f+4|0}if(r[a+78|0]){q[q[a+80>>2]+20>>2]=g>>q[a>>2];o[a+78|0]=0}g=h?e:l;if((g|0)<(d|0)){break b}if(((g-d>>q[a>>2]<<2)+f|0)+4>>>0>=t[a+32>>2]){break a}j=0-b|0;k=b<<3;e=i;while(1){o[a+79|0]=0;b=q[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+k|0;l=q[b+4>>2];h=h-l|0;if((h|0)>=q[a+16>>2]){n[c](e);break d}b=q[b>>2];q[f>>2]=((w(q[e>>2]-b|0,d-l|0)|0)/(h|0)|0)+b;f=f+4|0;d=q[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){o[a+79|0]=1;q[f>>2]=q[e>>2];f=f+4|0;d=q[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(e>>>0>=i>>>0?(d|0)<=(g|0):0){continue}break}i=q[a+48>>2]}q[a+36>>2]=f;q[a+48>>2]=i-m;return 0}q[a+40>>2]=98;q[a+36>>2]=f;return 1}function og(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[a+2744>>2];if(h&4){e=q[a+2748>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+w(b,7452)|0;if(!q[a+52>>2]){break d}e=q[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|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}j=e+w(b,7452)|0;k=q[j+52>>2];e:{f:{if(k){a=98;e=d;while(1){l=q[(w(i,12)+j|0)+60>>2];f=d-l|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?l:e;i=i+1|0;if((k|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((e|0)<=(d|0)){break f}a=(a+ -48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&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)>-1?d:0-d|0}return c}function ZN(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,p=0,r=0,s=0;i=q[a+692>>2];if((i|0)>=0){e=q[a+168>>2];c=q[q[a+208>>2]>>2];r=e-c|0;while(1){k=b;e=w(b,336);c=q[a+688>>2];if(!(q[(e+c|0)+152>>2]?0:(b|0)!=(i|0))){e=c+e|0;a:{if(!d){break a}l=q[d+160>>2]+s|0;m=q[d+156>>2];g=-1e6;f=1e6;b=d;j=e+ -336|0;n=b>>>0>j>>>0;if(!n){while(1){h=q[b+96>>2]+32|0;c=h+q[b+88>>2]>>6;g=(g|0)>(c|0)?g:c;c=h+q[b+80>>2]>>6;f=(f|0)>(c|0)?c:f;b=b+336|0;if(b>>>0<=j>>>0){continue}break}}s=l+m|0;b:{c:{h=q[d+152>>2];b=h+ -1|0;if(b>>>0<=2){c=r-l|0;if(b-1){break c}p=+(c|0)/+(m|0)*+(g-f|0)+ +(f|0);if(y(p)<2147483648){c=~~p;break b}c=-2147483648;break b}hb(q[a>>2],1,356467,0);i=q[a+692>>2];break a}c=(c|0)>-1?g+1|0:f}d:{if(n){break d}q[d+152>>2]=h;q[d+156>>2]=c-(q[d+96>>2]+32>>6);b=d+336|0;if(b>>>0>j>>>0){break d}while(1){q[b+152>>2]=q[d+152>>2];q[b+156>>2]=c-(q[b+96>>2]+32>>6);b=b+336|0;if(b>>>0<=j>>>0){continue}break}}o[d+148|0]=1}d=e}b=k+1|0;if((k|0)<(i|0)){continue}break}}}function Ji(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Da-16|0;Da=h;i=q[a+12>>2];if(i){q[(q[a+20>>2]+(i<<4)|0)+ -4>>2]=e}a:{b:{c:{k=i+1|0;g=q[a+16>>2];if(k>>>0>g>>>0){q[h+4>>2]=0;j=i+8&-8;e=Oa(f,16,g,j,q[a+20>>2],h+4|0);q[a+20>>2]=e;g=q[h+4>>2];if(g){break a}q[a+16>>2]=j;g=(i<<4)+e|0;q[g+12>>2]=0;q[g>>2]=0;q[a+12>>2]=k;break c}e=q[a+20>>2];j=e+(i<<4)|0;q[j+12>>2]=0;q[j>>2]=0;q[a+12>>2]=k;if(k){break c}if(!g){q[h+8>>2]=0;e=Oa(f,16,0,8,e,h+8|0);q[a+20>>2]=e;g=q[h+8>>2];if(g){break a}q[a+16>>2]=8}q[e+12>>2]=0;q[e>>2]=0;q[a+12>>2]=1;break b}e=(i<<4)+e|0}a=q[e+4>>2];q[h+12>>2]=0;i=d+7>>>3|0;a=a+7>>>3|0;d:{if(i>>>0<=a>>>0){a=q[e+8>>2];break d}g=f;f=i+7&1073741816;a=Oa(g,1,a,f,q[e+8>>2],h+12|0);q[e+8>>2]=a;g=q[h+12>>2];if(g){break a}q[e+4>>2]=f<<3}q[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=r[a|0];o[a|0]=r[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d+ -1|0;if(d){continue}break}}Da=h+16|0;return g}function Dv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{d=q[b+4>>2];if(d>>>0>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break b}g=a+2|0;if(d>>>0>g>>>0|c>>>0>>0|c-g>>>0<2){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}g=r[a+3|0]|r[a+2|0]<<8;if(!g){return 1}i=g+ -1|0;a=a+4|0;f=0;while(1){if(c>>>0>>0|d>>>0>a>>>0|c-a>>>0<6){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}c=q[b+28>>2];d=q[c+12>>2];q[b+4>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+8>>2]=e;if((c|0)<=-1){break a}c=f>>>0>>0?a:0;c:{if(!c){break c}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=c;d=r[c+3|0]|r[c+2|0]<<8;e=e-c|0;q[b+8>>2]=c+(e>>>0>d>>>0?d:e)}e=1;d:{if(!j_(a,b)){break d}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;e=0}c=q[b+28>>2];d=q[c+12>>2];q[b+4>>2]=d;h=q[c+16>>2];c=h+d|0;q[b+8>>2]=c;if((h|0)<=-1){break a}if(e){break b}f=f+1|0;if((g|0)!=(f|0)){continue}break}return 1}return 0}I(228734,228759,195,228776);F()}function _u(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0;l=Da-272|0;Da=l;q[l+268>>2]=0;k=0;a:{if(!Si(a,d,e,q[j>>2],q[j+8>>2],l+268|0,l,0)){break a}e=q[a+96>>2];k=q[e+(r[e+69|0]?80:72)>>2];s=q[j+4>>2];t=q[j>>2];q[a+80>>2]=b;q[a+44>>2]=k;m=q[q[a+48>>2]+96>>2];u=q[m+76>>2];q[a+84>>2]=u;p=q[m+72>>2];if((p|0)==(k|0)){x=r[(q[m+88>>2]+w(k,20)|0)+15|0]}v=a+44|0;q[a+76>>2]=c;q[a+72>>2]=s;q[a+68>>2]=t;o[a- -64|0]=x;if(b){b:{while(1){if(Kf(v)){n=n+1|0;if((n|0)!=(b|0)){continue}break b}break}k=0;break a}t=q[j>>2];k=q[a+44>>2];m=q[q[a+48>>2]+96>>2];p=q[m+72>>2];u=q[m+76>>2];e=q[a+96>>2]}s=q[j+12>>2];b=q[e+72>>2];j=q[l+268>>2];q[a+84>>2]=u;q[a+80>>2]=f;b=(b+j|0)+ -1|0;q[a+44>>2]=b;n=0;c=0;c=(b|0)==(p|0)?r[(q[m+88>>2]+w(p,20)|0)+15|0]:c;q[a+76>>2]=g;q[a+72>>2]=s;q[a+68>>2]=t;o[a+64|0]=c;if(f){c:{while(1){if(id(v)){n=n+1|0;if((n|0)!=(f|0)){continue}break c}break}k=0;break a}e=q[a+96>>2];b=q[a+44>>2]}Zc(e,k,b+1|0);k=zm(a,d,l,h,i,j)}Da=l+272|0;return k}function Dj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Da-32|0;Da=h;i=q[a>>2];a:{b:{c:{if(a){if(!b){a=6;break a}g=n[q[i+4>>2]](i,40)|0;if(g){break b}a=64;break c}a=33;if(!b){break a}}n[q[i+8>>2]](i,b);break a}o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;q[g+8>>2]=0;q[g+4>>2]=c;q[g>>2]=b;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;q[g+24>>2]=13;q[g+20>>2]=0;q[g+32>>2]=0;q[h+16>>2]=g;q[h>>2]=2;if(e){q[h>>2]=10;b=q[a+16>>2];d:{if((b|0)<1){c=0;break d}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=q[b>>2];if(!Ta(q[q[c>>2]+8>>2],e)){break d}b=b+4|0;if(b>>>0>>0){continue}break}c=0}q[h+20>>2]=c}a=Sh(a,h,d,f,0);if(!a){a=q[f>>2];q[a+8>>2]=q[a+8>>2]&-1025;a=0;break a}b=q[g+24>>2];if(b){n[b](g)}n[q[i+8>>2]](i,g)}Da=h+32|0;return a}function ef(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;$b(a,q[a+8>>2]);c=q[a>>2];q[d+12>>2]=c;f=q[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=r[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}q[b>>2]=c;q[b+8>>2]=2;if(El(d+12|0,f)){break e}break d}q[b>>2]=c;q[b+8>>2]=3;if(!ks(d+12|0,f)){break d}break e}q[b>>2]=c;q[b+8>>2]=3;q[a>>2]=c+1;$b(a,f);c=q[a>>2];q[d+12>>2]=c;if(f>>>0<=c>>>0){break e}e=1;while(1){if(q[a+12>>2]){break e}g=r[c|0]+ -91|0;h:{if(g>>>0>2){break h}i:{switch(g-1|0){case 1:if((e|0)>1){e=e+ -1|0;break h}c=c+1|0;q[d+12>>2]=c;q[b+4>>2]=c;break a;case 0:break h;default:break i}}e=e+1|0}q[a>>2]=c;Fl(a);$b(a,q[a+8>>2]);c=q[a>>2];q[d+12>>2]=c;if(f>>>0>c>>>0){continue}break}break e}q[b>>2]=c;q[b+8>>2]=r[c|0]==47?4:1;Fl(a);c=q[a>>2];q[d+12>>2]=c;if(!q[a+12>>2]){break c}}c=q[b+4>>2];break b}c=q[d+12>>2]}q[b+4>>2]=c}if(c){break a}q[b+8>>2]=0;q[b>>2]=0}q[a>>2]=q[d+12>>2]}Da=d+16|0}function Rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){e=q[a>>2];g=(e|0)<0?-1:1;f=0-g|0;d=q[b>>2];i=(d|0)<0?f:g;c=e;e=e>>31;e=c+e^e;c=d;d=d>>31;d=c+d^d;a:{if(e+(d>>>8|0)>>>0<=8190){d=w(d,e)+32768>>>16|0;break a}c=e&65535;d=w(c,d>>>16|0)+w(d,e>>>16|0)+(w(c,d&65535)+32768>>>16)|0}h=q[a+4>>2];j=(h|0)<0?-1:1;k=0-j|0;c=q[b+4>>2];l=(c|0)<0?k:j;i=(i|0)<0?0-d|0:d;d=c>>31;c=d+c^d;d=h>>31;d=d+h^d;b:{if((c>>>8|0)+d>>>0<=8190){c=w(d,c)+32768>>>16|0;break b}h=d&65535;c=w(h,c>>>16|0)+w(c,d>>>16|0)+(w(h,c&65535)+32768>>>16)|0}h=(l|0)<0?0-c|0:c;c=q[b+8>>2];g=(c|0)<0?f:g;f=c;c=c>>31;c=f+c^c;c:{if(e+(c>>>8|0)>>>0<=8190){e=w(c,e)+32768>>>16|0;break c}f=e&65535;e=w(f,c>>>16|0)+w(c,e>>>16|0)+(w(f,c&65535)+32768>>>16)|0}b=q[b+12>>2];c=(b|0)<0?k:j;q[a>>2]=h+i;f=(g|0)<0?0-e|0:e;e=b;b=b>>31;b=e+b^b;d:{if(d+(b>>>8|0)>>>0<=8190){b=w(b,d)+32768>>>16|0;break d}g=d&65535;b=w(g,b>>>16|0)+w(b,d>>>16|0)+(w(g,b&65535)+32768>>>16)|0}q[a+4>>2]=f+((c|0)<0?0-b|0:b)}}function vS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>858993458){break c}d=w(d,5);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function jf(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;a:{l=q[b+4>>2];if(l>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0){break a}d=g-a|0;if(d>>>0<3){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;b:{c:{if((c|0)>=1){c=r[a+1|0]|r[a|0]<<8;e=!c;if(!c|d>>>0<3){break b}break c}if(d>>>0>=3){break c}break a}c=q[b+12>>2];i=c+ -1|0;q[b+12>>2]=i;if((c|0)<1){break a}d=r[a+2|0];if((d+ -1&255)>>>0>3){break a}e=0;j=(r[a+1|0]|r[a|0]<<8)+1|0;if(4294967295/(j>>>0)>>>0<=d>>>0){break b}h=w(d,j);if(h){f=a+3|0;if(l>>>0>f>>>0|g>>>0>>0|g-f>>>0>>0){break b}i=c+ -2|0;q[b+12>>2]=i;if((c|0)<2){break b}j=(r[a+1|0]|r[a|0]<<8)+1|0;c=w(d,j)}else{c=0}h=(c+a|0)+3|0;while(1){e=(w(d,m)+a|0)+3|0;f=0;c=d;while(1){f=r[e|0]|f<<8;e=e+1|0;c=c+ -1|0;if(c){continue}break}k=f>>>0>k>>>0?f:k;m=m+1|0;if((m|0)!=(j|0)){continue}break}a=k+ -1|0;if(!a){return 1}e=0;if(!k|l>>>0>h>>>0|(a+a>>>0>>0|g>>>0>>0)){break b}if(g-h>>>0>>0){break b}q[b+12>>2]=i+ -1;e=(i|0)>0}return e}return 0}function Me(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;h=q[b+28>>2];q[a+28>>2]=0;q[a+32>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+12>>2]=0;q[a+16>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=b;q[a+4>>2]=q[b+8>>2];a:{b:{f=a;c:{if(d){d=Hb(b,e+8|0);if(q[e+8>>2]){break b}i=5;break c}d=ib(b,e+8|0);if(q[e+8>>2]){break b}i=3}q[f+8>>2]=i;if(d){f=Ob(b,e+8|0);if(q[e+8>>2]){break b}if((f+ -1&255)>>>0>=4){q[e+8>>2]=8;break b}o[a+16|0]=f;q[a+12>>2]=d;f=f&255;q[a+20>>2]=q[a+8>>2]+(q[a+4>>2]+w(f,d+1|0)|0);d=Ib(b,w(d,f));q[e+8>>2]=d;if(d){break b}d=Wb(q[a>>2],e+12|0,r[a+16|0]);if(d){q[e+8>>2]=d;break b}d:{d=r[a+16|0];e:{if(!d){q[e+8>>2]=0;break e}f=d>>>0>1?d:1;d=0;while(1){g=r[(e+12|0)+d|0]|g<<8;d=d+1|0;if((f|0)!=(d|0)){continue}break}q[e+8>>2]=0;if(g){break d}}q[e+8>>2]=8;break b}f=g+ -1|0;q[a+24>>2]=f;d=e;f:{if(c){b=Bc(b,f,a+32|0);break f}b=Ib(b,f)}q[d+8>>2]=b;if(b){break b}}a=0;break a}b=q[a+28>>2];if(b){n[q[h+8>>2]](h,b)}q[a+28>>2]=0;a=q[e+8>>2]}Da=e+16|0;return a}function wS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>1073741822){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function YN(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;d=q[b>>2];q[c+12>>2]=d;a:{b:{e=r[d|0];if((e|0)!=92){if((e|0)!=9){break b}a=d+1|0;q[c+12>>2]=a;q[b>>2]=a;a=32;break a}e=r[d+1|0]+ -78|0;if(e>>>0>47){break b}c:{d:{e:{f:{g:{switch(e-1|0){case 31:if(q[a+520>>2]!=2){break f}break;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 26:case 27:case 28:case 29:case 30: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 45:break b;case 46:break c;case 44:break d;case 25:break e;default:break g}}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=10;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=32;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=160;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=123;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=125;break a}a=CP(c+12|0);q[b>>2]=q[c+12>>2]}Da=c+16|0;return a}function Dc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Da+ -64|0;Da=e;a:{if(q[a+12>>2]==-1){break a}g=ab(1,32);if(!g){break a}f=q[c+12>>2];q[e+40>>2]=q[c+8>>2];q[e+44>>2]=f;f=q[c+4>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=f;Bf(e+48|0,e+32|0);f=q[e+60>>2];q[c+8>>2]=q[e+56>>2];q[c+12>>2]=f;f=q[e+52>>2];q[c>>2]=q[e+48>>2];q[c+4>>2]=f;f=q[c>>2];b:{if(!f){break b}if(!kr(b,f)){i=e,j=Qc(b),q[i+16>>2]=j;a=q[126999];Mc(a,442387,e+16|0);b=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=b;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;Cq(a,e);te(10,a);break b}f=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=f;f=q[c+12>>2];q[g+16>>2]=q[c+8>>2];q[g+20>>2]=f;q[g+24>>2]=d;q[g>>2]=0;a=ti(a,b);if(a){c=a+4|0;while(1){a=c;c=q[c>>2];if(c){continue}break}q[a>>2]=g;h=1;break a}b=q[c>>2]+ -3|0;if(b>>>0>6){break b}a=q[c+8>>2];c:{switch(b-1|0){default:La(a);break b;case 1:dl(a);break b;case 2:Xc(a);break b;case 4:Sd(a);break b;case 0:case 3:break b;case 5:break c}}La(a)}La(g)}Da=e- -64|0;return h}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,n=0;e=r[a+3|0]|r[a+2|0]<<8;d=q[b+96>>2];a:{if((yb(e?e+a|0:271312,q[q[d+88>>2]+w(q[d+72>>2],20)>>2])|0)==-1){break a}c=q[d+72>>2];q[b+36>>2]=1;q[b>>2]=c;f=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[f+76>>2];o[b+20|0]=(c|0)==q[f+72>>2]?r[(q[f+88>>2]+w(c,20)|0)+15|0]:0;if(!id(b)){break a}f=r[a+4|0];h=r[a+5|0];i=r[a+6|0];j=r[a+7|0];e=r[a+9|0]|r[a+8|0]<<8;e=td(e?e+a|0:271312,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);c=r[a+11|0]|r[a+10|0]<<8;c=td(c?c+a|0:271312,q[q[d+88>>2]+w(q[b>>2],20)>>2]);if(e>>>0>=(r[a+13|0]|r[a+12|0]<<8)>>>0){break a}g=r[a+15|0]|r[a+14|0]<<8;if(c>>>0>=g>>>0){break a}f=_$(f<<8|h);c=c+w(e,g)|0;e=i<<8|j;c=w(c,_$(e)+f|0);c=(c|0)<0?271312:((c<<1)+a|0)+16|0;b:{if(l=0,m=!Jf(a+4|0,b,a,c,q[d+96>>2]+w(q[d+72>>2],20)|0),n=Jf(a+6|0,b,a,c+(f<<1)|0,q[d+96>>2]+w(q[b>>2],20)|0),n?l:m){break b}a=q[b>>2]+1|0;c=q[d+72>>2];if(a-c>>>0<2){break b}rb(d,c,a)}q[d+72>>2]=q[b>>2]+((e|0)!=0);k=1}return k}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;a:{f=r[a+3|0]|r[a+2|0]<<8;if(!Vb(f?f+a|0:271312,q[b+8>>2])){break a}f=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;i=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;l=i>>>0>1;b:{if(l){d=0;c=0;break b}c=0;if(i-1){break b}g=r[d+3|0]|r[d+2|0]<<8;c=g?d+4|0:271704;e=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?g:0;c=g?r[d+5|0]|r[d+4|0]<<8:0}g=r[a+5|0]|r[a+4|0]<<8;j=a+6|0;while(1){if(l){break a}c:{if(!(i-1)){if(!g){break a}if(e>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!g|e>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}h=r[j+1|0]|r[j|0]<<8;P_(h?h+a|0:271312,b);d:{if(l){break d}if(i-1){e=e+1|0;break d}h=r[d+3|0]|r[d+2|0]<<8;k=h>>>0>e>>>0?(w(e,6)+d|0)+4|0:271704;if(c>>>0>=(r[k+2|0]<<8|r[k+3|0])>>>0){e=e+1|0;if(e>>>0>=h>>>0){break d}k=f+1|0;c=w(e,6)+d|0;f=r[c+8|0]<<8|r[c+9|0];e=(k|0)==(f|0)?e:h;c=r[c+5|0]|r[c+4|0]<<8;break d}c=c+1|0;f=f+1|0}j=j+2|0;g=g+ -1|0;continue}}}function Fu(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,s=0,u=0,v=0,x=0,y=0,z=0;k=Da-144|0;Da=k;x=(h?2:0)|g|(i?4:0);l=w(c,12)+b|0;m=l;b=q[67829];y=b;n=q[67828];h=(b&65535)<<16|n>>>16;s=q[(c<<2)+236408>>2];z=L$(q[a>>2],s);while(1){a:{q[k+12>>2]=32;cw(q[a>>2],s,d,e,u,k+12|0,k+16|0);c=0;b=q[k+12>>2];if(!b){break a}while(1){v=(k+16|0)+(c<<2)|0;if(t[v>>2]>>0){b:{c:{d:{g=q[l+28>>2];if((g|0)>=0){b=g;i=q[l+32>>2];j=i+1|0;j=(j|0)>0?j:0;if(b>>>0>=j>>>0){break c}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=j>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){g=db(q[m+36>>2],b<<3);if(g){break d}}q[l+28>>2]=-1}q[160744]=n;q[160745]=y;b=642976;g=h;break b}q[m+36>>2]=g;q[l+28>>2]=b;i=q[l+32>>2]}if(j>>>0>i>>>0){Na(q[m+36>>2]+(i<<3)|0,0,j-i<<3)}q[l+32>>2]=j;g=q[m+36>>2]+(j<<3)|0;b=g+ -8|0;g=r[g+ -6|0]}q[b+4>>2]=f;i=q[v>>2];o[b+2|0]=g&248|x;p[b>>1]=i;b=q[k+12>>2]}c=c+1|0;if(c>>>0>>0){continue}break}u=b+u|0;if((b|0)==32){continue}}break}Da=k+144|0} +function Nw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h>>>0<6){break a}g=r[a+3|0];j=r[a+2|0];d=g|j<<8;if(4294967295/(h>>>0)>>>0<=d>>>0){break a}h=w(d,h);if(h){d=a+10|0;if(i>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+3|0];j=r[a+2|0];d=g|j<<8}f=0;b:{if(!d){break b}e=w(d+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[e+10|0]<<8|r[e+11|0])!=65535){break b}f=(r[e+13|0]|r[e+12|0]<<8)==65535?-1:0}i=d+f|0;if(!i){return 1}h=a+10|0;f=0;while(1){k=q[b+4>>2];g=j<<8|g;e=0;c:{if(!g){break c}d=h+w(g+ -1|0,r[a+1|0]|r[a|0]<<8)|0;e=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}e=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(e+g>>>0<=f>>>0){break d}d=h+w(r[a+1|0]|r[a|0]<<8,f)|0}if(k>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break a}e=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}if(!xg(d+4|0,b,e)){break a}f=f+1|0;if((i|0)==(f|0)){return 1}else{g=r[a+3|0];j=r[a+2|0];continue}}}return 0}function ww(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=r[a|0]|r[a+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;a:{if(e>>>0>8){break a}b:{switch(e-1|0){default:d=b>>>0>>0?(b|0)<0?271312:((b<<2)+a|0)+2|0:0;break a;case 1:q[g+12>>2]=b;a=nh(a+2|0,g+12|0);d=a?a+4|0:0;break a;case 3:q[g+8>>2]=b;b=nh(a+2|0,g+8|0);if(!b){break a}c=q[g+8>>2];e=r[b+3|0]|r[b+2|0]<<8;if(c>>>0>>0|(r[b+1|0]|r[b|0]<<8)>>>0>>0){break a}b=(r[b+5|0]|r[b+4|0]<<8)+a|0;a=c-e|0;d=(a|0)<0?271312:b+(a<<2)|0;break a;case 5:c=0;d=r[a+5|0]|r[a+4|0]<<8;c:{if(!d){e=r[a+3|0]|r[a+2|0]<<8;f=0;break c}e=r[a+3|0]|r[a+2|0]<<8;f=(a+2|0)+w(e,d+ -1|0)|0;f=(r[f+10|0]<<8|r[f+11|0])==65535?-1:0}d=f+d|0;d:{if((d|0)<1){break d}i=a+12|0;a=d+ -1|0;d=0;while(1){f=a+d>>>1|0;c=w(f,e)+i|0;h=r[c|0]<<8|r[c+1|0];e:{if(h>>>0>b>>>0){a=f+ -1|0;break e}if((b|0)==(h|0)){break d}d=f+1|0}if((d|0)<=(a|0)){continue}break}c=0}d=c?c+2|0:0;break a;case 0:case 2:case 4:case 6:break a;case 7:break b}}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>b>>>0){break a}b=b-c|0;if(b>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=(b|0)<0?271312:((b<<2)+a|0)+6|0}Da=g+16|0;return d}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;e=r[a|0]|r[a+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;a:{if(e>>>0>8){break a}b:{switch(e-1|0){default:d=b>>>0>>0?(b|0)<0?271312:((b<<1)+a|0)+2|0:0;break a;case 1:q[g+12>>2]=b;a=nh(a+2|0,g+12|0);d=a?a+4|0:0;break a;case 3:q[g+8>>2]=b;b=nh(a+2|0,g+8|0);if(!b){break a}c=q[g+8>>2];e=r[b+3|0]|r[b+2|0]<<8;if(c>>>0>>0|(r[b+1|0]|r[b|0]<<8)>>>0>>0){break a}b=(r[b+5|0]|r[b+4|0]<<8)+a|0;a=c-e|0;d=(a|0)<0?271312:b+(a<<1)|0;break a;case 5:c=0;d=r[a+5|0]|r[a+4|0]<<8;c:{if(!d){e=r[a+3|0]|r[a+2|0]<<8;f=0;break c}e=r[a+3|0]|r[a+2|0]<<8;f=(a+2|0)+w(e,d+ -1|0)|0;f=(r[f+10|0]<<8|r[f+11|0])==65535?-1:0}d=f+d|0;d:{if((d|0)<1){break d}i=a+12|0;a=d+ -1|0;d=0;while(1){f=a+d>>>1|0;c=w(f,e)+i|0;h=r[c|0]<<8|r[c+1|0];e:{if(h>>>0>b>>>0){a=f+ -1|0;break e}if((b|0)==(h|0)){break d}d=f+1|0}if((d|0)<=(a|0)){continue}break}c=0}d=c?c+2|0:0;break a;case 0:case 2:case 4:case 6:break a;case 7:break b}}c=r[a+3|0]|r[a+2|0]<<8;if(c>>>0>b>>>0){break a}b=b-c|0;if(b>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=(b|0)<0?271312:((b<<1)+a|0)+6|0}Da=g+16|0;return d}function lq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=r[c|0];g=b+ -216|0;if(g>>>0>39){if(b){break c}g=r[r[c+1|0]+i|0];if(g>>>0>13){break c}switch(g-2|0){case 5:break i;case 4:break j;case 0:case 1:case 2:case 3:case 7:case 8:case 9:break c;case 10:case 11:break f;default:break g}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break g;case 35:break h;default:break i}}if((f|0)<3){break e}c=c+3|0;break d}if((f|0)<4){break e}c=c+4|0;break d}if(r[c+1|0]<=253){break c}}q[e>>2]=c;return 0}f=c+2|0;b=f;if((a|0)!=(g|0)){break b}h=-27;if((d-f|0)<2){break a}q[e>>2]=f;k:{if(r[f|0]){break k}a=r[r[c+3|0]+i|0];if(a>>>0>30){break k}h=27;if(1<1){continue}break a}b=c+2|0}c=b;f=j-c|0;if((f|0)>1){continue}break}}return h}function fJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;q[h+8>>2]=a;g=q[c+20>>2];f=g+((n[q[c+12>>2]](h+8|0)>>>0)%t[c+4>>2]<<2)|0;e=q[f>>2];a:{if(!e){break a}while(1){if(n[q[c+16>>2]](e,h+8|0)){break a}f=f+ -4|0;if(f>>>0>>0){f=(g+(q[c+4>>2]<<2)|0)+ -4|0}e=q[f>>2];if(e){continue}break}}b:{c:{d:{g=q[f>>2];e:{if(!g){e=64;g=n[q[d+4>>2]](d,8)|0;if(!g){break b}q[f>>2]=g;q[g+4>>2]=b;q[g>>2]=a;f:{if(t[c+8>>2]>2]){break f}i=q[c+4>>2];a=i<<1;q[c+4>>2]=a;q[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}g=q[c+20>>2];if(a){e=10;if((a|0)>536870911){break c}a=i<<3;e=n[q[d+4>>2]](d,a)|0;if(!e){break d}Na(e,0,a)}q[c+20>>2]=e;if(i){b=0;a=g;while(1){f=q[a>>2];if(f){q[h>>2]=q[f>>2];e=q[c+20>>2];f=e+((n[q[c+12>>2]](h)>>>0)%t[c+4>>2]<<2)|0;while(1){g:{j=q[f>>2];if(!j){break g}if(n[q[c+16>>2]](j,h)){break g}f=f+ -4|0;if(f>>>0>=e>>>0){continue}f=(e+(q[c+4>>2]<<2)|0)+ -4|0;continue}break}q[f>>2]=q[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}n[q[d+8>>2]](d,g)}q[c+8>>2]=q[c+8>>2]+1;break e}q[g+4>>2]=b}e=0;break b}q[c+20>>2]=0;e=64;break b}q[c+20>>2]=0}Da=h+16|0;return e}function pq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;f=d-c|0;a:{if((f|0)<2){break a}i=b+72|0;while(1){j=d;b:{c:{d:{e:{f:{g:{h:{i:{j:{b=r[c+1|0];g=b+ -216|0;if(g>>>0>39){if(b){break c}g=r[r[c|0]+i|0];if(g>>>0>13){break c}switch(g-2|0){case 5:break i;case 4:break j;case 0:case 1:case 2:case 3:case 7:case 8:case 9:break c;case 10:case 11:break f;default:break g}}switch(g-4|0){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:break c;case 0:case 1:case 2:case 3:break g;case 35:break h;default:break i}}if((f|0)<3){break e}c=c+3|0;break d}if((f|0)<4){break e}c=c+4|0;break d}if(r[c|0]<=253){break c}}q[e>>2]=c;return 0}f=c+2|0;b=f;if((a|0)!=(g|0)){break b}h=-27;if((d-f|0)<2){break a}q[e>>2]=f;k:{if(r[c+3|0]){break k}a=r[r[f|0]+i|0];if(a>>>0>30){break k}h=27;if(1<1){continue}break a}b=c+2|0}c=b;f=j-c|0;if((f|0)>1){continue}break}}return h}function ii(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=-4;a:{b:{if(d>>>0>=e>>>0){break b}h=q[b+72>>2];c:{d:{if((d+1|0)==(e|0)){g=-1;j=o[b+69|0];if(j+ -3>>>0<3){break b}i=r[d|0];k=i+ -239|0;if(k>>>0>16|!(1<>>0>5){break i}if(1<>2]=d+2;q[h>>2]=q[a+16>>2];return 14}if((r[b+69|0]+ -3&255)>>>0<2?(c|0)==1:0){break c}a=q[a+20>>2];q[h>>2]=a;break a}if(r[b+69|0]?0:(c|0)==1){break c}q[f>>2]=d+2;q[h>>2]=q[a+20>>2];return 14}if(r[d+2|0]!=191){break c}q[f>>2]=d+3;q[h>>2]=q[a+8>>2];return 14}if(!i){if(r[b+69|0]==5?(c|0)==1:0){break c}a=q[a+16>>2];q[h>>2]=a;break a}if(j|(c|0)==1){break c}a=q[a+20>>2];q[h>>2]=a;g=n[q[a>>2]](a,d,e,f)|0;break b}if(!i|(i|0)==60){break b}}a=q[(o[b+69|0]<<2)+a>>2];q[h>>2]=a;break a}return g}return n[q[(c<<2)+a>>2]](a,d,e,f)|0}function RW(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!r[a+178|0]){c=q[a+152>>2];b=q[a+160>>2];b=(r[c+9|0]|r[c+8|0]<<8)>>>0>b>>>0?(c+(b<<2)|0)+10|0:271312;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=b?(b+c|0)+2|0:271312;d=r[c+4|0]<<8|r[c+5|0];q[a+156>>2]=d;if(r[a+176|0]){b=q[a+164>>2];a:{if((b|0)<0){break a}if(b>>>0>>0){c=b;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=d>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>1073741822)){b=db(q[a+172>>2],c<<2);if(b){break b}}q[a+164>>2]=-1;break a}q[a+164>>2]=c;q[a+172>>2]=b}c=q[a+168>>2];if(d>>>0>c>>>0){Na(q[a+172>>2]+(c<<2)|0,0,d-c<<2)}q[a+168>>2]=d}f=q[a+148>>2];g=q[a+144>>2];b=q[a+160>>2];c=q[a+152>>2];c:{if(!q[a+168>>2]){q[160744]=q[67828];d=642976;break c}d=q[a+172>>2]}e=c+2|0;b=(r[c+9|0]|r[c+8|0]<<8)>>>0>b>>>0?((b<<2)+c|0)+10|0:271312;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);QW(b?e+b|0:271312,g,f,c?c+e|0:271312,d,q[a+156>>2])}o[a+178|0]=1}}function HI(a){var b=0,c=0,d=0;q[a+276>>2]=960;q[a+252>>2]=908;q[a+272>>2]=0;q[a+264>>2]=0;q[a+268>>2]=1;while(1){d=b+499069|0;c=b+1|0;b=c;if(r[d|0]){continue}break}b=n[q[a+12>>2]](c)|0;if(b){Qa(b,499069,c)}q[a+228>>2]=b;q[a+356>>2]=0;xq(a+148|0,a+144|0,0);q[a+52>>2]=0;q[a+56>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;q[a+96>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+120>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+404>>2]=0;q[a+408>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;b=q[a+8>>2];q[a+28>>2]=b;q[a+24>>2]=b;q[a+116>>2]=a;q[a+296>>2]=0;q[a+288>>2]=0;q[a+292>>2]=0;q[a+280>>2]=0;q[a+284>>2]=0;q[a+312>>2]=0;q[a+316>>2]=0;q[a+320>>2]=0;q[a+324>>2]=0;q[a+328>>2]=0;q[a+332>>2]=0;q[a+336>>2]=0;q[a+340>>2]=0;p[a+342>>1]=0;p[a+344>>1]=0;p[a+346>>1]=0;p[a+348>>1]=0;q[a+308>>2]=0;q[a+360>>2]=0;q[a+368>>2]=0;q[a+380>>2]=0;o[a+304|0]=1;q[a+248>>2]=0;q[a+236>>2]=0;q[a+240>>2]=0;q[a+472>>2]=0;q[a+476>>2]=0;q[a+488>>2]=0;q[a+492>>2]=0;p[a+484>>1]=0}function W_(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;a:{g=r[a+3|0]|r[a+2|0]<<8;if(!Vb(g?g+a|0:271312,q[b+8>>2])){break a}g=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;j=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;n=j>>>0>1;b:{if(n){d=0;c=0;break b}c=0;if(j-1){break b}h=r[d+3|0]|r[d+2|0]<<8;c=h?d+4|0:271704;e=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?h:0;c=h?r[d+5|0]|r[d+4|0]<<8:0}h=r[a+5|0]|r[a+4|0]<<8;k=a+6|0;while(1){if(n){break a}c:{if(!(j-1)){if(!h){break a}if(e>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!h|e>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}f=r[k+1|0]|r[k|0]<<8;i=f?f+a|0:271312;l=r[i|0]<<8|r[i+1|0];if(l){f=i+2|0;while(1){m=r[f+1|0]|r[f|0]<<8;O_(m?i+m|0:271312,b);f=f+2|0;l=l+ -1|0;if(l){continue}break}}d:{if(n){break d}if(j-1){e=e+1|0;break d}f=r[d+3|0]|r[d+2|0]<<8;i=f>>>0>e>>>0?(w(e,6)+d|0)+4|0:271704;if(c>>>0>=(r[i+2|0]<<8|r[i+3|0])>>>0){e=e+1|0;if(e>>>0>=f>>>0){break d}m=g+1|0;c=w(e,6)+d|0;g=r[c+8|0]<<8|r[c+9|0];e=(m|0)==(g|0)?e:f;c=r[c+5|0]|r[c+4|0]<<8;break d}c=c+1|0;g=g+1|0}k=k+2|0;h=h+ -1|0;continue}}}function wu(a,b,c,d){var e=0,f=0,g=x(0),h=0;e=Da-128|0;Da=e;a:{b:{h=q[b+60>>2];f=q[pm(q[a+16>>2]+120|0)>>2];f=f?f:271312;f=t[f+16>>2]<20?271312:q[f+12>>2];if((h|0)==(r[f+4|0]<<8|r[f+5|0])){q[e+48>>2]=2139095039;q[e+52>>2]=-8388609;q[e+56>>2]=-8388609;q[e+16>>2]=2139095039;q[e+20>>2]=-8388609;q[e+24>>2]=-8388609;q[e+44>>2]=2139095039;q[e+40>>2]=e- -64;f=q[e+44>>2];q[e+8>>2]=q[e+40>>2];q[e+12>>2]=f;q[e+36>>2]=0;q[e+32>>2]=b;f=q[e+36>>2];q[e>>2]=q[e+32>>2];q[e+4>>2]=f;if(qm(a,b,c,e)){break b}}a=q[a+16>>2];if(d){b=sg(a+92|0);d=q[b>>2];if(d>>>0<=c>>>0){a=0;if(d){break a}a=q[b+8>>2];break a}a=q[b+12>>2];d=q[(a?a:271312)+12>>2];a=q[b+4>>2]+ -1|0;a=a>>>0>>0?a:c;a=(a|0)<0?271312:d+(a<<2)|0;a=r[a|0]<<8|r[a+1|0];break a}b=jh(a- -64|0);d=q[b>>2];if(d>>>0<=c>>>0){a=0;if(d){break a}a=q[b+8>>2];break a}a=q[b+12>>2];d=q[(a?a:271312)+12>>2];a=q[b+4>>2]+ -1|0;a=a>>>0>>0?a:c;a=(a|0)<0?271312:d+(a<<2)|0;a=r[a|0]<<8|r[a+1|0];break a}if(d){g=x(u[e+104>>2]-u[e+120>>2])}else{g=x(u[e+84>>2]-u[e+68>>2])}g=x(J(x(g)));if(g=x(0)){a=~~g>>>0;break a}a=0}Da=e+128|0;return a}function tT(a,b,c){var d=0,e=0,f=0;a:{b:{if((b|0)==1633774708){c:{d:{e:{e=q[a+4>>2];if((e|0)>=0){b=q[a+8>>2];d=b+1|0;d=(d|0)>0?d:0;if(e>>>0>=d>>>0){break d}b=e;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>357913940)){e=db(q[a+12>>2],w(b,12));if(e){break e}}q[a+4>>2]=-1}q[160746]=q[67830];a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break c}q[a+4>>2]=b;q[a+12>>2]=e;b=q[a+8>>2]}if(d>>>0>b>>>0){Na(q[a+12>>2]+w(b,12)|0,0,w(d-b|0,12))}q[a+8>>2]=d;a=(q[a+12>>2]+w(d,12)|0)+ -12|0}q[a>>2]=17;break b}f=Yx(b);if(!f){break a}f:{g:{h:{e=q[a+4>>2];if((e|0)>=0){b=q[a+8>>2];d=b+1|0;d=(d|0)>0?d:0;if(e>>>0>=d>>>0){break g}b=e;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>357913940)){e=db(q[a+12>>2],w(b,12));if(e){break h}}q[a+4>>2]=-1}q[160746]=q[67830];a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break f}q[a+4>>2]=b;q[a+12>>2]=e;b=q[a+8>>2]}if(d>>>0>b>>>0){Na(q[a+12>>2]+w(b,12)|0,0,w(d-b|0,12))}q[a+8>>2]=d;a=(q[a+12>>2]+w(d,12)|0)+ -12|0}q[a>>2]=q[f+4>>2];c=q[(c?8:12)+f>>2]}q[a+4>>2]=c}}function $_(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{d=q[a+36>>2];if(d){c=q[a+24>>2];while(1){b=271312;h=d;g=c>>>0<=e>>>0;if(g){f=271312}else{f=q[a+28>>2]+(e<<3)|0}f=q[f+4>>2];if(h>>>0>f>>>0){b=q[a+40>>2]+(f<<6)|0}b:{c:{if(q[b>>2]|q[b+4>>2]|(q[b+8>>2]|q[b+12>>2])|(q[b+16>>2]|q[b+20>>2]|(q[b+24>>2]|q[b+28>>2]))){break c}if(q[b+32>>2]|q[b+36>>2]|(q[b+40>>2]|q[b+44>>2])|(q[b+48>>2]|q[b+52>>2])){break c}if(!(q[b+56>>2]|q[b+60>>2])){break b}}b=271312;d:{if(g){e=271312;c=271312;break d}e=q[a+28>>2]+(e<<3)|0;c=e}f=c;e=q[e>>2];c=d;d=q[f+4>>2];if(c>>>0>d>>>0){b=q[a+40>>2]+(d<<6)|0}f=e<<9;e=0;c=q[b+4>>2];a=c;d=q[b>>2];if(d|c){break a}e=64;c=q[b+12>>2];a=c;d=q[b+8>>2];if(c|d){break a}e=128;c=q[b+20>>2];a=c;d=q[b+16>>2];if(d|c){break a}e=192;c=q[b+28>>2];a=c;d=q[b+24>>2];if(d|c){break a}e=256;c=q[b+36>>2];a=c;d=q[b+32>>2];if(d|c){break a}e=320;c=q[b+44>>2];a=c;d=q[b+40>>2];if(d|c){break a}e=384;c=q[b+52>>2];a=c;d=q[b+48>>2];if(d|c){break a}e=448;c=q[b+60>>2];a=c;d=q[b+56>>2];if(c|d){break a}return f+ -1|0}e=e+1|0;if((d|0)!=(e|0)){continue}break}}return-1}return f+(U$(d,a)|e)|0}function _g(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;h=Da-16|0;Da=h;if(e){q[e>>2]=-1}k=(c|0)==-21;l=k?b+ -21|0:b;m=(c|0)<0?0:c;i=q[a+8>>2];g=q[a>>2];a:{b:{if(g){b=i;while(1){if(!(q[b>>2]!=(l|0)|q[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=q[a+4>>2];c:{if(j>>>0>>0){break c}q[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=Oa(d,12,f,b,i,h+4|0);q[a+8>>2]=i;f=q[h+4>>2];if(f){break a}q[a+4>>2]=b}q[a>>2]=j;b=w(g,12)+i|0;q[b+8>>2]=c>>31&(k?3:1);q[b+4>>2]=m;q[b>>2]=l}b=q[a+12>>2];d:{e:{if(!b){f:{if(q[a+16>>2]){b=q[a+20>>2];break f}q[h+8>>2]=0;b=Oa(d,16,0,8,q[a+20>>2],h+8|0);q[a+20>>2]=b;f=q[h+8>>2];if(f){break a}q[a+16>>2]=8}q[b+12>>2]=0;q[b>>2]=0;q[a+12>>2]=1;break e}b=(q[a+20>>2]+(b<<4)|0)+ -16|0;if(t[b>>2]>g>>>0){break d}}a=q[b+4>>2];q[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,p=Oa(d,1,f,a,q[b+8>>2],h+12|0),q[n+8>>2]=p;f=q[h+12>>2];if(f){break a}q[b+4>>2]=a<<3}q[b>>2]=g+1}a=q[b+8>>2]+(g>>>3|0)|0;o[a|0]=r[a|0]|128>>>(g&7);f=0;if(!e){break a}q[e>>2]=g}Da=h+16|0;return f}function wU(a,b){var c=0,d=0,e=0,f=0,g=0;d=r[a+1|0]|r[a|0]<<8;a:{if(d>>>0<=1){if(!d){break a}c=b;b=r[a+4|0]|r[a+5|0]<<8;a=r[a+2|0]|r[a+3|0]<<8;return(c-((b<<24|b<<8&16711680)>>16)|0)+((a<<24|a<<8&16711680)>>16)|0}c=r[a+4|0]|r[a+5|0]<<8;c=(c<<24|c<<8&16711680)>>16;if((c|0)>=(b|0)){a=r[a+2|0]|r[a+3|0]<<8;return(b-c|0)+((a<<24|a<<8&16711680)>>16)|0}f=1;c=d+ -1|0;b:{if(c>>>0<2){break b}while(1){d=(f<<2)+a|0;d=r[d+4|0]|r[d+5|0]<<8;if((d<<24|d<<8&16711680)>>16>=(b|0)){break b}f=f+1|0;if((c|0)!=(f|0)){continue}break}f=c}g=(f<<2)+a|0;e=r[g+4|0]|r[g+5|0]<<8;c=e<<24|e<<8&16711680;d=c>>16;if((d|0)<=(b|0)){a=r[g+2|0]|r[g+3|0]<<8;return(b-d|0)+((a<<24|a<<8&16711680)>>16)|0}e=(e>>>8&65280|e>>>24|c)>>>16|0;g=f+ -1|0;c=(g<<2)+a|0;c=r[c+4|0]|r[c+5|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;if((e|0)==(c|0)){a=(g<<2)+a|0;a=r[a+2|0]|r[a+3|0]<<8;return(a<<24|a<<8&16711680)>>16}e=d;d=c<<16>>16;e=e-d|0;c=a+2|0;a=c+(f<<2)|0;a=r[a|0]|r[a+1|0]<<8;f=(a<<24|a<<8&16711680)>>16;a=c+(g<<2)|0;a=r[a|0]|r[a+1|0]<<8;a=(a<<24|a<<8&16711680)>>16;b=((w(f-a|0,b-d|0)+((e|0)/2|0)|0)/(e|0)|0)+a|0}return b}function oB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;a:{if(!(b?a:0)){e=40;q[d+8>>2]=40;break a}g=q[b+28>>2];b:{e=Xa(b,0);c:{if(e){break c}e=Wb(b,d+14|0,2);if(e){break c}e=3;if(r[d+14|0]!=31){break c}if(r[d+15|0]==157){break b}}q[d+8>>2]=e;break a}q[d+8>>2]=0;c=a;q[c+24>>2]=0;q[c+28>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;q[c+28>>2]=g;c=gb(g,4292,d+8|0);e=q[d+8>>2];if(!e){q[c>>2]=b;q[c+4>>2]=a;f=q[a+28>>2];h=c+4280|0;q[c+4288>>2]=h;q[c+8>>2]=f;q[c+4284>>2]=h;q[c+4280>>2]=0;d:{f=Xa(b,0);e:{if(f){break e}f=Wb(b,d+14|0,2);if(f){break e}f=3;if(r[d+14|0]!=31){break e}if(r[d+15|0]==157){break d}}q[d+8>>2]=f;if(c){n[q[g+8>>2]](g,c)}e=q[d+8>>2];break a}Na(c+20|0,0,156);q[c+176>>2]=b;b=q[b+28>>2];q[c+100>>2]=c+112;q[c+96>>2]=0;q[c+88>>2]=0;q[c+92>>2]=0;q[c+180>>2]=b;q[c+104>>2]=0;q[c+108>>2]=64;q[c+48>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;o[c+44|0]=0;q[c+64>>2]=9;q[c+12>>2]=0;q[c+16>>2]=0;q[d+8>>2]=0;q[a+12>>2]=c}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=2147483647;q[a+24>>2]=273;q[a+20>>2]=274}Da=d+16|0;return e}function cU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,t=0,u=0,v=0;g=Da-32|0;Da=g;a:{if(!Nb(b,a,2)){break a}i=q[c+4>>2];if(!Nb(b,a,2)){break a}f=(i<<8&16711680|i<<24)>>>16|0;o[a|0]=f;o[a+1|0]=f>>>8;k=(i&65280)>>>8|0;f=i;h=f;b:{if(f>>>0<65536){break b}h=i;if(!r[b+20|0]){break b}o[b+20|0]=0;k=r[a|0];h=r[a+1|0]}f=h;if(!Nb(b,a,(k<<9|(f&255)<<1)+2|0)){break a}j=1;if(!i){break a}k=q[c>>2];m=s[135656];n=q[d>>2];t=q[d+4>>2];c=0;while(1){d=q[(t>>>0>c>>>0?(c<<2)+n|0:271312)>>2];d=(d|0)>0?d+ -1|0:0;c:{if((r[a+1|0]|r[a|0]<<8)>>>0<=c>>>0){p[321488]=m;f=642976;break c}f=((c<<1)+a|0)+2|0}l=q[b+4>>2];j=l-a|0;h=(j<<24|j<<8&16711680)>>>16|0;o[f|0]=h;o[f+1|0]=h>>>8;if(!(!r[b+20|0]|j>>>0<65536)){o[b+20|0]=0}f=i>>>0>c>>>0?(c<<1)+k|0:271312;h=r[f+1|0];u=r[f|0];v=q[e>>2];f=q[e+4>>2];j=0;q[g+8>>2]=0;q[g+20>>2]=f>>>0>d>>>0?d:f;q[g+16>>2]=v;q[g+24>>2]=0;f=q[g+20>>2];q[g>>2]=q[g+16>>2];q[g+4>>2]=f;if(!aU(l,b,h|u<<8,g)){break a}f=q[e+4>>2];d=f>>>0>>0?f:d;q[e+4>>2]=f-d;q[e+8>>2]=d+q[e+8>>2];j=1;q[e>>2]=q[e>>2]+(d<<1);c=c+1|0;if((i|0)!=(c|0)){continue}break}}Da=g+32|0;return j}function Ei(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Da-32|0;Da=i;k=q[b+12>>2];h=q[b+8>>2];g=k-h|0;l=g>>3;j=l&1;if(!(r[e|0]|(r[a+8|0]|!j))){a:{if(!g){g=0;m=q[b+4>>2];if(!m|q[m>>2]){break a}q[m>>2]=130;break a}g=q[h+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){g=q[h>>2]<<16;break a}g=q[h>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=q[h>>2]}q[d>>2]=(q[q[q[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!r[q[a+176>>2]+548|0]){d=b;if(l>>>0>j>>>0){while(1){k=k-h>>3;b:{if(k>>>0<=j>>>0){a=0;g=q[b+4>>2];if(!g|q[g>>2]){break b}q[g>>2]=130;break b}a=(j<<3)+h|0;g=q[a+4>>2]+ -1|0;if(g>>>0<=1){if(!(g-1)){a=q[a>>2]<<16;break b}a=q[a>>2];a=((a>>31)+a|0)- -8192>>14;break b}a=q[a>>2]}f=a+f|0;q[i+12>>2]=f;a=j+1|0;c:{if(k>>>0<=a>>>0){h=0;a=q[b+4>>2];if(!a|q[a>>2]){break c}q[a>>2]=130;break c}a=(a<<3)+h|0;h=q[a+4>>2]+ -1|0;if(h>>>0<=1){if(!(h-1)){h=q[a>>2]<<16;break c}a=q[a>>2];h=((a>>31)+a|0)- -8192>>14;break c}h=q[a>>2]}q[i+20>>2]=0;q[i+24>>2]=0;o[i+8|0]=0;f=f+h|0;q[i+16>>2]=f;as(c,i+8|0);j=j+2|0;if(j>>>0>>0){h=q[b+8>>2];k=q[b+12>>2];continue}break}h=q[b+8>>2]}q[d+12>>2]=h}o[e|0]=1;Da=i+32|0}function Ch(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-1312|0;Da=f;g=q[a+4>>2];i=q[g+492>>2];j=q[i+12>>2];h=q[q[g+128>>2]+52>>2];k=q[g+452>>2];e=a+1388|0;q[e>>2]=q[g+448>>2];q[e+4>>2]=k;e=q[g+444>>2];q[a+1380>>2]=q[g+440>>2];q[a+1384>>2]=e;e=q[g+460>>2];q[a+1396>>2]=q[g+456>>2];q[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;q[c>>2]=q[e+q[g+428>>2]>>2];q[c+4>>2]=q[e+q[g+432>>2]>>2];break b}e=n[q[q[h>>2]>>2]](q[h+4>>2],b,c)|0;if(e){break a}}c:{if(r[a+70|0]){e=n[q[j+8>>2]](a,q[c>>2],q[c+4>>2])|0;break c}n[q[i+24>>2]](f+656|0,a,1);n[q[i+28>>2]](g,g+168|0,f);q[f+1192>>2]=f;e=n[q[j+12>>2]](f+656|0,q[c>>2],q[c+4>>2])|0;if((e&255)!=164){break c}o[q[a+8>>2]+160|0]=0;o[d|0]=1;e=n[q[j+12>>2]](f+656|0,q[c>>2],q[c+4>>2])|0}if(e|!h){break a}if(!q[q[h>>2]+8>>2]){e=0;break a}c=q[a+32>>2];q[f+4>>2]=0;q[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=q[a+40>>2];q[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=q[a+44>>2];q[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=n[q[q[h>>2]+8>>2]](q[h+4>>2],b,0,f)|0;q[a+32>>2]=q[f>>2]<<16;q[a+40>>2]=q[f+8>>2]<<16;q[a+44>>2]=q[f+12>>2]<<16}Da=f+1312|0;return e}function IV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0<=a>>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}g=r[a|0];d=g&127;if(d>>>0>1){break a}b:{if(d-1){d=a+1|0;if(h>>>0>d>>>0|f>>>0<=d>>>0){break a}e=c+ -2|0;q[b+12>>2]=e;if((c|0)<2){break a}i=r[a+1|0];if(!i){break b}d=a+2|0;if(h>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}e=c+ -3|0;q[b+12>>2]=e;if((c|0)>2){break b}break a}d=a+1|0;if(h>>>0>d>>>0|f>>>0<=d>>>0){break a}e=c+ -2|0;q[b+12>>2]=e;if((c|0)<2){break a}i=r[a+1|0];if(!i){break b}d=a+2|0;if(h>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}e=c+ -3|0;q[b+12>>2]=e;if((c|0)>=3){break b}break a}g=g<<24>>24;c=1;c:{if((g|0)>-1){break c}d=h;g=g&127;c=271312;d:{if(g>>>0>1){break d}if(g-1){c=a+1|0;a=r[a+1|0];c=(a?c+a|0:271312)+1|0;break d}c=a;a=r[a+1|0];c=(a?c+(a<<1)|0:271312)+2|0}if(d>>>0>c>>>0|f>>>0<=c>>>0){break a}q[b+12>>2]=e+ -1;if((e|0)<1){break a}d=r[c|0];if(d){a=c+1|0;if(h>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0){break a}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break c}}c=1}return c}return 0}function lO(a,b,c){a=a|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,r=0,s=0,t=0,u=0,x=0,z=0,B=0,C=0,D=0,E=0,F=0;d=Da-128|0;Da=d;f=q[a>>2];x=q[f- -64>>2];z=q[f+56>>2];o=q[a+16>>2];g=o>>31;p=q[a+12>>2];i=p>>31;r=q[a+24>>2];n=r>>31;s=q[a+20>>2];B=s>>31;C=q[f+60>>2];f=q[f+52>>2];j=+(C-f|0)*.5+64;t=8/j;D=q[a+28>>2];g=(g^g+o)+(i^i+p)|0;i=(n^n+r)+(B^s+B)|0;e=.125/+(((g|0)>(i|0)?g:i)|0);h=t*+(D|0)*e;v[d+96>>3]=h;k=+(x-z|0)*.5+64;l=8/k;g=q[a+32>>2];e=l*+(g|0)*e;v[d+104>>3]=e;i=q[a+4>>2];n=q[a+8>>2];j=A(k*y(e)+(j*y(h)+1),16);k=+(f+C|0)*.5;u=+(x+z|0)*.5;v[d+112>>3]=j-(k*h+u*e);m=+(n<<3);E=l*+(r|0)+e*m;v[d+80>>3]=E;F=t*+(s|0)+h*m;v[d+72>>3]=F;v[d+88>>3]=j*m+0-(k*F+u*E);m=e;e=+(i<<3);l=l*+(o|0)+m*e;v[d+56>>3]=l;h=t*+(p|0)+h*e;v[d+48>>3]=h;v[d+64>>3]=j*e+0-(k*h+u*l);f=q[a>>2]+4|0;a:{if(g|D){Ar(d,f,d+48|0);Ar(d+24|0,q[a>>2]+28|0,d+48|0);break a}Br(d,f,d+48|0);Br(d+24|0,q[a>>2]+28|0,d+48|0)}a=d+24|0;if(!dN(c,b,d,a)){q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}Be(d);Be(a);Da=d+128|0;return w(q[b+12>>2],q[b+16>>2])+60|0}function Nn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;d=3;g=f;a:{b:{c:{d:{i=q[b+188>>2];e:{if(!i){break e}h=q[b+192>>2];while(1){if(q[h+(e<<4)>>2]==(c|0)){d=83;c=q[(h+(e<<4)|0)+12>>2];e=q[a+8>>2];if(c>>>0>>0){break e}if(Ib(a,c-e|0)){break e}q[f+12>>2]=0;c=Ec(a,f+12|0);d=q[f+12>>2];if(d){break a}i=c&-256;if((i|256)!=256){break b}d=b+196|0;e=c&4;if(!e){break d}d=mb(a,25664,d);break c}e=e+1|0;if((i|0)!=(e|0)){continue}break}}q[f+12>>2]=d;break a}d=mb(a,25728,d)}q[g+12>>2]=d;if(d){break a}c=q[b+204>>2];d=c>>31;if((d^c+d)>=32768){q[b+204>>2]=(c|0)<0?-32767:32767}c=q[b+208>>2];d=c>>31;if((d^c+d)>=32768){q[b+208>>2]=(c|0)<0?-32767:32767}h=e?25792:25824;g=b+216|0;d=mb(a,h,g);q[f+12>>2]=d;if(d){break a}e=b+232|0;d=mb(a,h,e);q[f+12>>2]=d;if(d){break a}c=b+248|0;if((i|0)==256){d=mb(a,h,c);q[f+12>>2]=d;if(d){break a}d=mb(a,h,b+264|0);q[f+12>>2]=d;break a}a=q[g+4>>2];q[c>>2]=q[g>>2];q[c+4>>2]=a;a=q[g+12>>2];q[c+8>>2]=q[g+8>>2];q[c+12>>2]=a;a=q[e+12>>2];q[b+272>>2]=q[e+8>>2];q[b+276>>2]=a;a=q[e+4>>2];q[b+264>>2]=q[e>>2];q[b+268>>2]=a}d=0}Da=f+16|0;return d}function Yi(a,b){var c=0,d=0;if(r[a+12|0]==1){c=q[a+32>>2];a:{if((c|0)<0){break a}d=(b|0)>0?b:0;if(c>>>0>>0){b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}b:{if(!(b>>>0>>0|b>>>0>67108862)){c=db(q[a+40>>2],b<<6);if(c){break b}}q[a+32>>2]=-1;break a}q[a+32>>2]=b;q[a+40>>2]=c}b=q[a+36>>2];if(d>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,d-b<<6)}q[a+36>>2]=d;c:{d:{e:{f:{c=q[a+20>>2];if((c|0)>=0){if(c>>>0>=d>>>0){break e}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+28>>2],b<<3);if(c){break f}}q[a+20>>2]=-1}c=q[a+32>>2];if((c|0)<0){break a}b=q[a+24>>2];d=(b|0)>0?b:0;if(c>>>0>=d>>>0){break c}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>67108862)){c=db(q[a+40>>2],b<<6);if(c){break d}}q[a+32>>2]=-1;break a}q[a+20>>2]=b;q[a+28>>2]=c}b=q[a+24>>2];if(d>>>0>b>>>0){Na(q[a+28>>2]+(b<<3)|0,0,d-b<<3)}q[a+24>>2]=d;return 1}q[a+32>>2]=b;q[a+40>>2]=c}b=q[a+36>>2];if(d>>>0>b>>>0){Na(q[a+40>>2]+(b<<6)|0,0,d-b<<6)}q[a+36>>2]=d}o[a+12|0]=0}return 0}function Fz(a,b){a=a|0;b=b|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(!r[a+24|0]){h=q[b>>2];break a}h=q[b>>2];if((h|0)!=q[a+28>>2]){break a}un(a);if(!r[a+24|0]){return 0}c=q[a+32>>2];q[b>>2]=q[a+28>>2];return c|0}b:{if((h|0)==-1){break b}f=q[a+16>>2];d=r[f+12|0]|r[f+13|0]<<8|(r[f+14|0]<<16|r[f+15|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i){break b}m=f+20|0;j=h+1|0;d=i;c:{d:{while(1){g=d+k>>>1|0;f=w(g,12)+m|0;e=f;c=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g;e=e+ -4|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);if(j>>>0>=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0){if(h>>>0>>0){break d}k=g+1|0;c=d}d=c;if(k>>>0>>0){continue}break}d=0;break c}c=r[f+4|0]|r[f+5|0]<<8|(r[f+6|0]<<16|r[f+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}f=q[a>>2];if(h>>>0>=l>>>0){c=0;g=g+1|0;if((i|0)==(g|0)){break b}}o[a+24|0]=1;q[a+36>>2]=g;q[a+28>>2]=j;e:{if(!(d>>>0>2]?d:0)){un(a);d=0;if(!r[a+24|0]){break e}d=q[a+32>>2];break e}q[a+32>>2]=d}c=d;q[b>>2]=q[a+28>>2]}return c|0}function fr(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Da-96|0;Da=d;a=de(a);o[c|0]=0;a:{if(a){q[d+36>>2]=0;q[d+32>>2]=b;g=_b(a,d+32|0);break a}g=eb(b)}q[d+20>>2]=0;q[d+16>>2]=441575;h=_b(g,d+16|0);e=af(h,0,0);b:{if((e|0)==-1){break b}o[d+77|0]=0;o[d+78|0]=0;o[d+79|0]=0;o[d+80|0]=0;o[d+81|0]=0;o[d+82|0]=0;o[d+83|0]=0;o[d+84|0]=0;q[d+72>>2]=0;q[d+76>>2]=0;a=d- -64|0;q[a>>2]=0;q[a+4>>2]=0;q[d+56>>2]=0;q[d+60>>2]=0;q[d+48>>2]=0;q[d+52>>2]=0;a=Uh(e,d+48|0,36);o[d+84|0]=0;bd(e);if((a|0)<0){break b}o[c|0]=47;tc(c+1|0,d+48|0);a=Wa(c)+c|0;f=r[441636]|r[441637]<<8|(r[441638]<<16|r[441639]<<24);e=r[441632]|r[441633]<<8|(r[441634]<<16|r[441635]<<24);o[a|0]=e;o[a+1|0]=e>>>8;o[a+2|0]=e>>>16;o[a+3|0]=e>>>24;o[a+4|0]=f;o[a+5|0]=f>>>8;o[a+6|0]=f>>>16;o[a+7|0]=f>>>24;f=r[441644]|r[441645]<<8|(r[441646]<<16|r[441647]<<24);e=r[441640]|r[441641]<<8|(r[441642]<<16|r[441643]<<24);o[a+8|0]=e;o[a+9|0]=e>>>8;o[a+10|0]=e>>>16;o[a+11|0]=e>>>24;o[a+12|0]=f;o[a+13|0]=f>>>8;o[a+14|0]=f>>>16;o[a+15|0]=f>>>24;if(!(r[643740]&16)){break b}q[d+4>>2]=b;q[d>>2]=c;Ua(442008,d)}La(h);La(g);Da=d+96|0}function ox(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;e=1;c=r[a+3|0];a:{if(c>>>0>5){break a}b:{switch(c-1|0){default:e=Bm(a+8|0,b);break a;case 0:e=0;q[f+8>>2]=0;d=a+8|0;if(!Wm(d,b,f+8|0)){break a}i=q[b+4>>2];c=a+16|0;if(i>>>0>c>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-c>>>0<2){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}j=f;c=r[a+17|0]|r[a+16|0]<<8;if(c){if(g>>>0>>0|i>>>0>d>>>0|g-d>>>0>>0){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}b=r[a+17|0]|r[a+16|0]<<8}else{b=0}q[j+12>>2]=(b+a|0)+8;e=1;break a;case 1:e=0;c=a+8|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<28){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Bm(c,b)|!(r[a+17|0]|r[a+16|0]<<8)|!(r[a+19|0]|r[a+18|0]<<8)){break a}e=(r[a+21|0]|r[a+20|0]<<8)!=0;break a;case 3:e=Zi(a+8|0,b);break a;case 2:break a;case 4:break b}}e=0;c=a+8|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Wm(c,b,0)){break a}e=(r[a+17|0]|r[a+16|0]<<8)!=0}Da=f+16|0;return e}function MB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[q[q[a+4>>2]+96>>2]+28>>2];f=Sb(q[q[q[b>>2]+428>>2]+(c<<2)>>2],0,10);c=q[a+160>>2];qI(c);q[c+24>>2]=0;q[c+28>>2]=0;q[c+152>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+48>>2]=0;q[c+52>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;Na(c+72|0,0,72);c=n[q[e+72>>2]](q[a+160>>2],q[b+44>>2],f,d|8)|0;if(!c){b=q[a+160>>2];d=q[b+28>>2];q[a+24>>2]=q[b+24>>2];q[a+28>>2]=d;d=q[b+36>>2];q[a+32>>2]=q[b+32>>2];q[a+36>>2]=d;d=q[b+44>>2];q[a+40>>2]=q[b+40>>2];q[a+44>>2]=d;d=q[b+52>>2];q[a+48>>2]=q[b+48>>2];q[a+52>>2]=d;q[a+56>>2]=q[b+56>>2];q[a+60>>2]=q[b+60>>2];q[a+72>>2]=q[b+72>>2];q[a+124>>2]=q[b+124>>2];d=q[b+120>>2];q[a+116>>2]=q[b+116>>2];q[a+120>>2]=d;d=q[b+112>>2];q[a+108>>2]=q[b+108>>2];q[a+112>>2]=d;d=q[b+96>>2];q[a+92>>2]=q[b+92>>2];q[a+96>>2]=d;d=q[b+88>>2];q[a+84>>2]=q[b+84>>2];q[a+88>>2]=d;d=q[b+80>>2];q[a+76>>2]=q[b+76>>2];q[a+80>>2]=d;q[a+100>>2]=q[b+100>>2];q[a+104>>2]=q[b+104>>2];q[a+128>>2]=q[b+128>>2];q[a+132>>2]=q[b+132>>2];q[a+136>>2]=q[b+136>>2];q[a+140>>2]=q[b+140>>2]}return c|0}function _c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-32|0;e=q[a+76>>2];a:{if(e>>>0<2){break a}f=e+ -1|0;i=q[a+88>>2];while(1){d=w(f,20)+i|0;q[c+24>>2]=q[d+16>>2];b=q[d+12>>2];q[c+16>>2]=q[d+8>>2];q[c+20>>2]=b;b=q[d+4>>2];q[c+8>>2]=q[d>>2];q[c+12>>2]=b;b=w(g,20)+i|0;q[d+16>>2]=q[b+16>>2];h=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=h;h=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=h;q[b+16>>2]=q[c+24>>2];d=q[c+20>>2];q[b+8>>2]=q[c+16>>2];q[b+12>>2]=d;d=q[c+12>>2];q[b>>2]=q[c+8>>2];q[b+4>>2]=d;g=g+1|0;f=f+ -1|0;if(g>>>0>>0){continue}break}if(!r[a+70|0]){break a}b=q[a+76>>2];b=b>>>0>>0?b:e;if(b>>>0<2){break a}d=q[a+96>>2];f=b+ -1|0;g=0;while(1){b=d+w(f,20)|0;q[c+24>>2]=q[b+16>>2];e=q[b+12>>2];q[c+16>>2]=q[b+8>>2];q[c+20>>2]=e;e=q[b+4>>2];q[c+8>>2]=q[b>>2];q[c+12>>2]=e;a=d+w(g,20)|0;q[b+16>>2]=q[a+16>>2];e=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=e;e=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=e;q[a+16>>2]=q[c+24>>2];b=q[c+20>>2];q[a+8>>2]=q[c+16>>2];q[a+12>>2]=b;b=q[c+12>>2];q[a>>2]=q[c+8>>2];q[a+4>>2]=b;g=g+1|0;f=f+ -1|0;if(g>>>0>>0){continue}break}}}function ys(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,s=0;if(a){c=w(d,204)+c|0;j=q[c+200>>2];l=q[c+204>>2];while(1){c=q[b+4>>2];a:{if((c|0)<1){break a}d=q[b>>2];e=d+w(c,40)|0;f=0;c=d;g=0;while(1){h=q[c+16>>2]&32;g=h?g?g:c:g;f=(h>>>5|0)+f|0;c=c+40|0;if(c>>>0>>0){continue}break}c=g;if(f>>>0<=1){if((f|0)==1){l=q[g+36>>2]-Ma(q[g+28>>2],j)|0}while(1){if((d|0)!=(g|0)){p=d,s=Ma(q[d+28>>2],j)+l|0,q[p+36>>2]=s}d=d+40|0;if(d>>>0>>0){continue}break}break a}while(1){f=c;c=q[c+4>>2];if((g|0)==(c|0)){break a}d=c;if(r[c+16|0]&32){continue}while(1){d=q[d+4>>2];if(!(r[d+16|0]&32)){continue}break}h=q[f+28>>2];e=q[d+28>>2];b:{if((h|0)<=(e|0)){i=e-h|0;k=q[f+36>>2];e=d;break b}i=h-e|0;k=q[d+36>>2];h=e;e=f}e=q[e+36>>2]-k|0;c:{if((i|0)<1){m=65536;break c}m=Za(e,i);c=q[f+4>>2]}n=e+k|0;while(1){o=c;e=q[c+28>>2]-h|0;d:{e:{if((e|0)<=0){f=Ma(e,j);break e}if((e|0)>=(i|0)){f=n;e=Ma(e-i|0,j);break d}f=Ma(e,m)}e=k}q[o+36>>2]=e+f;c=q[c+4>>2];if((d|0)!=(c|0)){continue}break}c=d;if((g|0)!=(c|0)){continue}break}}b=b+8|0;a=a+ -1|0;if(a){continue}break}}}function Cx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];c=a+4|0;a:{if(e>>>0>c>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-c>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<16|e>>>0>a>>>0|(f>>>0>>0|f-a>>>0>>0)){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>357913940){break a}c=w(c,12);h=0;b:{if(!c){break b}h=e;e=a+16|0;if(h>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=g+ -3;if((g|0)<3){break a}d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);h=w(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24),12)}d=h;c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return 1}a=(a+d|0)+16|0;e=0;while(1){if(!Bx(a,b)){return 0}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a+(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))|0;d=1;e=e+1|0;if((c|0)!=(e|0)){continue}break}}return d}function Zc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{if(!r[a+69|0]){if(b>>>0>=c>>>0){break c}d=q[a+88>>2];f=-1;e=b;while(1){g=q[(d+w(e,20)|0)+8>>2];f=f>>>0>g>>>0?g:f;e=e+1|0;if((e|0)!=(c|0)){continue}break}while(1){e=d+w(b,20)|0;if(q[e+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[e+4>>2]=q[e+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}break c}g=q[a+80>>2];if(g>>>0>>0){break b}e=q[a+72>>2];if(e>>>0>c>>>0){break a}i=q[a+92>>2];f=-1;j=g>>>0<=b>>>0;if(!j){d=b;while(1){h=q[(w(d,20)+i|0)+8>>2];f=f>>>0>h>>>0?h:f;d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=q[a+88>>2];k=e>>>0>=c>>>0;if(!k){d=e;while(1){l=q[(h+w(d,20)|0)+8>>2];f=f>>>0>l>>>0?l:f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}if(!j){while(1){d=w(b,20)+i|0;if(q[d+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(k){break c}while(1){b=h+w(e,20)|0;if(q[b+8>>2]!=(f|0)){q[a+32>>2]=q[a+32>>2]|16;q[b+4>>2]=q[b+4>>2]|1}e=e+1|0;if((e|0)!=(c|0)){continue}break}}return}I(272732,272586,607,272749);F()}I(272780,272586,608,272749);F()}function EK(a,b){a=a|0;b=b|0;var c=0,d=0;a=0;a:{b:{c:{d=r[b+2|0];d:{if((d|0)==59){break d}e:{if((d|0)!=120){c=b+2|0;while(1){a=(w(a,10)+(d<<24>>24)|0)+ -48|0;if((a|0)>1114111){return-1}d=r[c+1|0];c=c+1|0;if((d|0)!=59){continue}break}break e}c=r[b+3|0];if((c|0)==59){break d}b=b+3|0;while(1){f:{d=b;b=c<<24>>24;c=b+ -48|0;g:{if(c>>>0>54){break g}h:{i:{switch(c-10|0){default:a=c|a<<4;break h;case 7:case 8:case 9:case 10:case 11:case 12:a=(b+(a<<4)|0)+ -55|0;break h;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 g;case 39:case 40:case 41:case 42:case 43:case 44:break i}}a=(b+(a<<4)|0)+ -87|0}if((a|0)>=1114112){break f}}b=d+1|0;c=r[d+1|0];if((c|0)!=59){continue}break e}break}return-1}d=-1;b=a>>8;if(b+ -216>>>0<8){break a}if((b|0)==255){break c}if(b){break b}}if(r[a+490220|0]){break b}return-1}if((a|1)==65535){break a}}d=a}return d|0}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Da-208|0;Da=e;q[e+8>>2]=1;q[e+12>>2]=0;a:{i=w(b,c);if(!i){break a}q[e+16>>2]=c;q[e+20>>2]=c;j=0-c|0;b=c;h=b;g=2;while(1){f=b;b=(c+h|0)+b|0;q[(e+16|0)+(g<<2)>>2]=b;g=g+1|0;h=f;if(b>>>0>>0){continue}break}f=(a+i|0)+j|0;b:{if(f>>>0<=a>>>0){g=1;b=1;break b}g=1;b=1;while(1){c:{if((g&3)==3){Tj(a,c,d,b,e+16|0);Mh(e+8|0,2);b=b+2|0;break c}h=b+ -1|0;d:{if(t[(e+16|0)+(h<<2)>>2]>=f-a>>>0){Lh(a,c,d,e+8|0,b,0,e+16|0);break d}Tj(a,c,d,b,e+16|0)}if((b|0)==1){Kh(e+8|0,1);b=0;break c}Kh(e+8|0,h);b=1}g=q[e+8>>2]|1;q[e+8>>2]=g;a=a+c|0;if(a>>>0>>0){continue}break}}Lh(a,c,d,e+8|0,b,0,e+16|0);while(1){e:{f:{g:{if(!((b|0)!=1|(g|0)!=1)){if(q[e+12>>2]){break g}break a}if((b|0)>1){break f}}h=e+8|0;f=T$(q[e+8>>2]+ -1|0);if(!f){f=T$(q[e+12>>2]);f=f?f+32|0:0}Mh(h,f);g=q[e+8>>2];b=b+f|0;break e}Kh(e+8|0,2);q[e+8>>2]=q[e+8>>2]^7;Mh(e+8|0,1);h=a+j|0;f=b+ -2|0;Lh(h-q[(e+16|0)+(f<<2)>>2]|0,c,d,e+8|0,b+ -1|0,1,e+16|0);Kh(e+8|0,1);g=q[e+8>>2]|1;q[e+8>>2]=g;Lh(h,c,d,e+8|0,f,1,e+16|0);b=f}a=a+j|0;continue}}Da=e+208|0}function yG(a,b,c,d){var e=0,g=0,h=0,i=0,k=0,l=0,m=0;i=Da-32|0;Da=i;g=d&2147483647;h=g;e=g+ -1065418752|0;g=c;k=g;if(g>>>0<0){e=e+1|0}m=k;l=h+ -1082064896|0;k=g;if(g>>>0<0){l=l+1|0}a:{if((e|0)==(l|0)&m>>>0>>0|e>>>0>>0){h=(d&33554431)<<7|c>>>25;g=0;l=g;k=c&33554431;if(!(!g&(k|0)==16777216?!(a|b):!g&k>>>0<16777216|g>>>0<0)){e=h+1073741825|0;break a}e=h+1073741824|0;if(k^16777216|a|(b|l)){break a}e=(e&1)+e|0;break a}if(!(!g&(h|0)==2147418112?!(a|b):(h|0)==2147418112&g>>>0<0|h>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if((h|0)==1082064895&g>>>0>4294967295|h>>>0>1082064895){break a}e=0;h=h>>>16|0;if(h>>>0<16145){break a}e=d&65535|65536;Fc(i+16|0,a,b,c,e,h+ -16129|0);Uf(i,a,b,g,e,16257-h|0);b=q[i+8>>2];e=(q[i+12>>2]&33554431)<<7|b>>>25;g=q[i+4>>2];h=g;a=0;k=a;l=q[i>>2]|((q[i+16>>2]|q[i+24>>2])!=0|(q[i+20>>2]|q[i+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(g|l):!a&b>>>0<16777216|a>>>0<0)){e=e+1|0;break a}if(b^16777216|l|(h|k)){break a}e=(e&1)+e|0}Da=i+32|0;return f(0,d&-2147483648|e),j()}function _J(a,b,c,d,e){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:{a=q[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=r[a|0];c=g<<24>>24;c:{d:{e:{f=r[a+1|0];if(f>>>0>7){if(f+ -216>>>0<4){break d}g=q[d>>2];if((e-g|0)>=3){break e}break a}f:{g:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break f;default:break g}}if((c|0)<0){break f}f=q[d>>2];if((f|0)==(e|0)){break a}q[d>>2]=f+1;o[f|0]=c;break c}h=q[d>>2];g=2;if((e-h|0)<2){break b}q[d>>2]=h+1;o[h|0]=f<<2|(c&192)>>>6|192;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}q[d>>2]=g+1;o[g|0]=f>>>4|224;g=q[d>>2];q[d>>2]=g+1;o[g|0]=f<<2&60|(c&192)>>>6|128;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}h=q[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){q[b>>2]=a;return 1}q[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;o[h|0]=f>>>2|240;h=q[d>>2];q[d>>2]=h+1;o[h|0]=f<<4&48|g>>>2&15|128;g=r[a+3|0];f=r[a+2|0];h=q[d>>2];q[d>>2]=h+1;o[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=q[d>>2];q[d>>2]=c+1;o[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(a>>>0>>0){continue}break}}g=0}q[b>>2]=a;return g|0}q[b>>2]=a;return 2}function HJ(a,b,c,d,e){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:{a=q[b>>2];c=c-a&-2;b:{if((c|0)>=1){i=a+c|0;while(1){g=r[a+1|0];c=g<<24>>24;c:{d:{e:{f=r[a|0];if(f>>>0>7){if(f+ -216>>>0<4){break d}g=q[d>>2];if((e-g|0)>=3){break e}break a}f:{g:{switch(f-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break f;default:break g}}if((c|0)<0){break f}f=q[d>>2];if((f|0)==(e|0)){break a}q[d>>2]=f+1;o[f|0]=c;break c}h=q[d>>2];g=2;if((e-h|0)<2){break b}q[d>>2]=h+1;o[h|0]=f<<2|(c&192)>>>6|192;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}q[d>>2]=g+1;o[g|0]=f>>>4|224;g=q[d>>2];q[d>>2]=g+1;o[g|0]=f<<2&60|(c&192)>>>6|128;f=q[d>>2];q[d>>2]=f+1;o[f|0]=c&63|128;break c}h=q[d>>2];if((e-h|0)<4){break a}if((i-a|0)<4){q[b>>2]=a;return 1}q[d>>2]=h+1;f=(f<<2&12|g>>>6)+1|0;o[h|0]=f>>>2|240;h=q[d>>2];q[d>>2]=h+1;o[h|0]=f<<4&48|g>>>2&15|128;g=r[a+2|0];f=r[a+3|0];h=q[d>>2];q[d>>2]=h+1;o[h|0]=g<<2&12|(c<<4&48|f>>>6)|128;c=q[d>>2];q[d>>2]=c+1;o[c|0]=f&63|128;a=a+2|0}a=a+2|0;if(a>>>0>>0){continue}break}}g=0}q[b>>2]=a;return g|0}q[b>>2]=a;return 2}function Eo(a){var b=0,c=0,d=0,e=0,f=0;d=q[q[a>>2]+100>>2];b=q[a+300>>2];if(b){q[b+444>>2]=0;c=q[b+8>>2];e=c;f=q[b+24>>2];if(f){n[q[e+8>>2]](e,f)}q[b+20>>2]=0;q[b+24>>2]=0;e=q[b+440>>2];if(e){n[q[c+8>>2]](c,e)}q[b+440>>2]=0;q[b+432>>2]=0;q[b+436>>2]=0;e=q[b+396>>2];if(e){n[q[c+8>>2]](c,e)}q[b+392>>2]=0;q[b+396>>2]=0;q[b>>2]=0;q[b+4>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+300>>2]=0}b=q[a+252>>2];if(b){n[q[d+8>>2]](d,b)}q[a+248>>2]=0;q[a+252>>2]=0;b=q[a+260>>2];if(b){n[q[d+8>>2]](d,b)}p[a+256>>1]=0;q[a+260>>2]=0;b=q[a+264>>2];if(b){c=q[a+292>>2];if(c){n[q[b+8>>2]](b,c)}q[a+292>>2]=0;c=q[a+288>>2];if(c){n[q[b+8>>2]](b,c)}q[a+288>>2]=0;c=q[a+280>>2];if(c){n[q[b+8>>2]](b,c)}q[a+280>>2]=0;c=q[a+276>>2];if(c){n[q[b+8>>2]](b,c)}q[a+276>>2]=0;c=q[a+284>>2];if(c){n[q[b+8>>2]](b,c)}q[a+284>>2]=0;q[a+272>>2]=0;q[a+264>>2]=0;q[a+268>>2]=0}b=q[a+132>>2];if(b){n[q[d+8>>2]](d,b)}q[a+132>>2]=0;b=q[a+144>>2];if(b){n[q[d+8>>2]](d,b)}q[a+136>>2]=0;q[a+140>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0;q[a+152>>2]=0;q[a+304>>2]=-1;q[a+308>>2]=-1}function FQ(a,b,c){a=a|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=Da-272|0;Da=f;e=q[b+4>>2];b=q[b>>2];d=q[a>>2];g=q[a+4>>2];q[f+12>>2]=g<<2;q[f+8>>2]=d<<2;h=e<<2;q[f+4>>2]=h;i=b<<2;q[f>>2]=i;j=q[c+208>>2];q[f+16>>2]=j;a=q[c+212>>2];q[f+20>>2]=a;k=g>>6;a:{b:{l=e>>6;e=q[c+176>>2];c:{d:{if((l|0)<(e|0)){b=a>>8;break d}b=a>>8;if((k|0)<(e|0)){break d}if((b|0)>=(e|0)){break c}}e=b;b=q[c+172>>2];if((e|0)>=(b|0)|(l|0)>=(b|0)|(k|0)>=(b|0)){break b}}q[c+212>>2]=h;q[c+208>>2]=i;break a}e=1;g=a+(h-(g<<3)|0)|0;a=g>>31;d=(i-(d<<3)|0)+j|0;b=d>>31;a=a^a+g;b=b^b+d;a=(b|0)<(a|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=f;while(1){b=(0-e&e)>>1;if(b){while(1){d=q[a+16>>2];q[a+32>>2]=d;g=q[a+20>>2];q[a+36>>2]=g;h=q[a+8>>2];i=h+q[a>>2]|0;q[a+8>>2]=i>>1;d=d+h|0;q[a+24>>2]=d>>1;q[a+16>>2]=d+i>>2;d=q[a+12>>2];h=d+q[a+4>>2]|0;q[a+12>>2]=h>>1;d=d+g|0;q[a+28>>2]=d>>1;q[a+20>>2]=d+h>>2;a=a+16|0;b=b>>1;if(b){continue}break}}Gl(c,q[a>>2],q[a+4>>2]);a=a+ -16|0;e=e+ -1|0;if(e){continue}break}}Da=f+272|0;return 0}function sL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!b){break a}h=Pd(b);if(h){break a}return 0}b:{c:{if(!c){break c}i=Pd(c);if(i){break c}b=0;if(!h){break b}La(h);return 0}j=q[a+4>>2];d:{if((j|0)<1){break d}m=q[a+12>>2];while(1){e:{k=q[(f<<2)+m>>2];b=k;c=h;if((b|0)==(c|0)){break e}while(1){g=0;f:{if(!b){e=0;b=0;break f}e=r[b|0];b=b+1|0}if(c){g=r[c|0];c=c+1|0}else{c=0}if((e|0)==(g|0)?e:0){continue}break}if(!b|(e|0)!=(g|0)){break e}c=i;if((c|0)!=(b|0)){while(1){g=0;g:{if(!b){e=0;b=0;break g}e=r[b|0];b=b+1|0}if(c){g=r[c|0];c=c+1|0}else{c=0}if((e|0)==(g|0)?e:0){continue}break}if((e|0)!=(g|0)){break e}}f=0;while(1){h:{b=k;e=q[(f<<2)+m>>2];c=e;i:{if((b|0)==(c|0)){e=k;break i}while(1){j:{g=r[b|0];l=r[c|0];if(!l){break j}c=c+1|0;b=b+1|0;if((g|0)==(l|0)){continue}}break}if((g|0)!=(l|0)){break h}}La(e);b=q[a+12>>2]+(f<<2)|0;sb(b,b+4|0,q[a+4>>2]-f<<2);q[a+4>>2]=q[a+4>>2]+ -1;break d}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}f=f+1|0;if((j|0)!=(f|0)){continue}break}}b=uL(a,h,i,d);if(h){La(h)}if(!i){break b}La(i)}return b}function Sg(a,b){var c=0,d=0;c=r[a|0];c=(((c+ -65&255)>>>0<26?c+32|0:c)&255)+ -48|0;a:{if(c>>>0>73){break a}b:{c:{d:{e:{f:{switch(c-1|0){default:q[b>>2]=0;break b;case 1:case 51:case 71:q[b>>2]=2;break b;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: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:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 63:case 64:case 65:case 66:case 68:case 69:case 70:break a;case 0:case 67:case 72:break e;case 62:break f}}a=r[a+1|0];a=(((a+ -65&255)>>>0<26?a+32|0:a)&255)+ -102|0;if(a>>>0>12){break a}switch(a-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:break a;case 11:break c;case 7:break e;default:break d}}q[b>>2]=1;return 1}q[b>>2]=0;break b}q[b>>2]=2}d=1}return d}function bu(a,b,c,d,e){a=a|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,o=0,p=0,r=0,s=0;a=Da-16|0;Da=a;q[a+4>>2]=0;d=q[b+72>>2];o=n[q[d+156>>2]](b,q[b+76>>2],32,a+4|0,q[d+20>>2])|0;bt(c);i=q[c+48>>2];j=q[c+76>>2];if(j){k=q[c+96>>2];l=q[c+88>>2];p=i&-2;e=0;while(1){a:{b:{if(!o){break b}d=w(e,20);f=d+l|0;if(!zt(q[f>>2])){break b}q[f>>2]=q[a+4>>2];d=d+k|0;q[d>>2]=0;q[d+4>>2]=0;break a}d=w(e,20);f=d+l|0;g=q[f>>2];q[f>>2]=0;h=g;g=q[b+72>>2];n[q[g+156>>2]](b,q[b+76>>2],h,f,q[g+20>>2])|0;h=q[f>>2];d=d+k|0;q[d>>2]=0;q[d+4>>2]=0;g=q[b+72>>2];m=(p|0)!=4;c:{if(!m){r=d,s=n[q[g+168>>2]](b,q[b+76>>2],h,q[g+32>>2])|0,q[r>>2]=s;break c}r=d,s=n[q[g+172>>2]](b,q[b+76>>2],h,q[g+36>>2])|0,q[r+4>>2]=s}f=q[f>>2];d:{if(!m){Mf(b,f,a+12|0,a+8|0);break d}Sv(b,f,a+12|0,a+8|0)}q[d+8>>2]=q[d+8>>2]-q[a+12>>2];q[d+12>>2]=q[d+12>>2]-q[a+8>>2]}e=e+1|0;if((j|0)!=(e|0)){continue}break}}if((i&-3)==5){_c(c)}d=q[c+76>>2];if(d){c=q[c+88>>2];b=0;while(1){e=c+w(b,20)|0;q[e+4>>2]=q[e+4>>2]&-2;b=b+1|0;if((d|0)!=(b|0)){continue}break}}Da=a+16|0;return 1}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;e=Da-16|0;f=1;d=q[a>>2];a:{b:{if(d>>>0>1){while(1){d=f;while(1){i=w(d,12)+b|0;h=i+ -12|0;if(q[i>>2]>2]){q[e+8>>2]=q[i+8>>2];g=q[i+4>>2];q[e>>2]=q[i>>2];q[e+4>>2]=g;q[i+8>>2]=q[h+8>>2];g=q[h+4>>2];q[i>>2]=q[h>>2];q[i+4>>2]=g;q[h+8>>2]=q[e+8>>2];g=q[e+4>>2];q[h>>2]=q[e>>2];q[h+4>>2]=g;d=d+ -1|0;if(d){continue}}break}f=f+1|0;j=q[a>>2];if(f>>>0>>0){continue}break}f=1;if(j>>>0<2){break b}l=j+ -1|0;m=q[b>>2];g=0;d=1;while(1){i=(d|0)==(l|0);h=q[w(d,12)+b>>2]-m|0;c:{if((h|0)<=(c|0)?!i:0){break c}k=0;e=g;f=e;d=((h|0)<=(c|0)&i)+d|0;if(e>>>0>>0){while(1){h=w(e,12)+b|0;f=q[h>>2];q[h>>2]=0;k=f+k|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}f=d}q[w(g,12)+b>>2]=(k|0)/(f|0);if(d>>>0>=l>>>0){break c}g=d+1|0;m=q[w(g,12)+b>>2]}f=1;d=d+1|0;if(d>>>0>>0){continue}break}e=1;while(1){g=w(e,12)+b|0;if(q[g>>2]){c=q[g+4>>2];d=w(f,12)+b|0;q[d>>2]=q[g>>2];q[d+4>>2]=c;q[d+8>>2]=q[g+8>>2];j=q[a>>2];f=f+1|0}e=e+1|0;if(e>>>0>>0){continue}break}break b}if(!(d-1)){break a}}q[a>>2]=f}}function yn(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=q[a+24>>2];if(b>>>0>65534){break b}i=q[a>>2];l=q[i+508>>2]+q[i+512>>2]|0;c=q[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){g=q[a+44>>2];c:{if(b>>>0>g>>>0){break c}f=q[a+48>>2];d:{e=q[a+52>>2];if(!e){j=q[i+16>>2];c=f+g|0;if((c|0)<0){break d}e=0-f|0;if((c|0)>=65536){h=65536-f|0;while(1){k=b+f|0;d=k&65535;e:{if(d>>>0>=j>>>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(b>>>0<=g>>>0){continue}break}break c}while(1){h=b+f|0;d=h&65535;f:{if(d>>>0>=j>>>0){c=e;if((h|0)<0){break f}break c}c=b;if(d){break a}}b=c+1|0;if(b>>>0<=g>>>0){continue}break}break c}c=e+(b-c<<1)|0;if(c>>>0>l>>>0){break c}while(1){e=r[c+1|0]|r[c|0]<<8;if(e){d=f+e&65535;if(d){break a}}c=c+2|0;b=b+1|0;if(b>>>0<=g>>>0){continue}break}break c}while(1){d=b+f&65535;if(d>>>0>=j>>>0){break c}if(d){break a}b=b+1|0;if(b>>>0<=g>>>0){continue}break}}d=0;if((ln(a,q[a+36>>2]+1|0)|0)<0){break b}c=q[a+40>>2];b=b>>>0>>0?c:b;continue}}b=-1}q[a+28>>2]=d;q[a+24>>2]=b}function fN(a,b,c,d,e){a=a|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,q=0,t=0,u=0,v=0;h=1;k=Na(e,0,b<<2);l=k+(b<<1)|0;e=r[a|0];a:{if(b>>>0<2){j=e;f=e;break a}i=e;while(1){g=h;h=(g<<1)+ -2|0;j=r[a+g|0];f=i+j|0;e=f+e|0;p[h+k>>1]=e;p[h+l>>1]=e;e=f;i=j;h=g+1|0;if((h|0)!=(b|0)){continue}break}}e=1;i=g<<1;f=f+j|0;p[i+k>>1]=f;p[i+l>>1]=f;if(c>>>0>=2){g=1;b:{if(b>>>0>=2){while(1){t=w(g+ -1|0,d)+a|0;n=w(d,g)+a|0;e=r[n|0];j=e;f=1;while(1){m=f+ -1|0;u=m<<1;i=u+k|0;v=s[i>>1];h=e;q=i;e=j;i=f;j=r[f+n|0];e=e+j|0;h=h+e|0;p[q>>1]=h;q=m+t|0;h=h+v|0;m=l+u|0;o[q|0]=h+s[m>>1]>>>4;p[m>>1]=h;f=f+1|0;if((f|0)!=(b|0)){continue}break}f=i<<1;h=f+k|0;n=s[h>>1];e=e+j|0;p[h>>1]=e;e=e+n|0;f=f+l|0;o[i+t|0]=e+s[f>>1]>>>4;p[f>>1]=e;g=g+1|0;if((g|0)!=(c|0)){continue}break b}}while(1){e=s[k>>1];f=r[w(d,g)+a|0]<<1;p[k>>1]=f;e=e+f|0;o[w(g+ -1|0,d)+a|0]=e+s[l>>1]>>>4;p[l>>1]=e;g=g+1|0;if((g|0)!=(c|0)){continue}break}}e=c}if(b){a=w(e+ -1|0,d)+a|0;g=0;while(1){c=g<<1;o[a+g|0]=s[c+k>>1]+s[c+l>>1]>>>4;g=g+1|0;if((g|0)!=(b|0)){continue}break}}}function _N(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-48|0;Da=f;d=q[b+44>>2];a:{if(!d|!r[d|0]){break a}g=Pb(d,59);b=0;b:{if(!g){break b}c=g+1|0;g=Bb(c);e=Pb(c,59);b=1;if(!e){break b}c=e+1|0;e=Bb(c);c=Pb(c,59);b=2;if(!c){break b}b=c+1|0;h=Bb(b);b=Pb(b,59)?4:3}if(!Ra(d,356376,7)){h=1;c:{d:{if(b>>>0<=1){if(!(b-1)){break d}a=q[a>>2];q[f>>2]=d;hb(a,6,356384,f);break a}if(!e){break c}}h=0}q[a+496>>2]=h;c=q[a+208>>2];b=q[c>>2];c=q[c+4>>2];q[a+288>>2]=2;e=a;d=q[a+168>>2];c=q[a+172>>2]-((d>>>0>>0)+c|0)|0;a=g?g:1;j=e,k=W$(d-b|0,c,a,a>>31),q[j+500>>2]=k;break a}e:{c=a;i=3;f:{if(!Ra(d,356411,10)){break f}if(Ra(d,356422,12)){break e}i=2}q[c+496>>2]=i;if(b>>>0<=2){a=q[a>>2];q[f+16>>2]=d;hb(a,6,356384,f+16|0);break a}b=q[a+168>>2];c=q[a+208>>2];d=q[c>>2];i=b-d|0;c=q[a+172>>2]-(q[c+4>>2]+(b>>>0>>0)|0)|0;b=h?h:1;j=a,k=W$(i,c,b,b>>31),q[j+500>>2]=k;b=(g|0)<(e|0);d=b?g:e;c=a;b=b?e:g;if(!b){b=q[q[a+160>>2]+40>>2]}q[c+412>>2]=b;q[a+404>>2]=d;o[a+417|0]=0;q[a+288>>2]=3;break a}a=q[a>>2];q[f+32>>2]=d;hb(a,7,356435,f+32|0)}Da=f+48|0}function c_(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=7){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){vZ(b,a);return}uZ(b,a);return;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}tZ(b,a);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}sZ(b,a);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}rZ(b,a);return;case 3:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:kv(b,a);return;case 0:jv(b,a);return;case 1:break d}}iv(b,a);return;case 5:break a;case 6:break b;case 4:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}e:{switch(c-1|0){default:hv(b,a);return;case 0:gv(b,a);return;case 1:break e}}fv(b,a);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break a}pZ(b,a)}}function WL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-32|0;Da=d;g=0;a:{if(!b){break a}g=0;if(q[b>>2]<1){break a}g=q[b+8>>2]+b|0}while(1){b:{c:{if(!g){break c}e=q[g+4>>2];e=e&1?(e&-2)+g|0:e;if(!e){break c}while(1){f=e+8|0;i=q[g>>2];d:{e:{c=q[e+8>>2]+ -3|0;if(c>>>0>6){break e}f:{switch(c-1|0){default:c=q[e+16>>2];q[d+16>>2]=3;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 2:c=q[e+16>>2];q[d+16>>2]=6;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 4:c=q[e+16>>2];q[d+16>>2]=8;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d;case 0:case 1:case 3:break e;case 5:break f}}c=q[e+16>>2];q[d+16>>2]=9;q[d+24>>2]=c&1?f+(c&-2)|0:c;break d}c=q[f+12>>2];q[d+24>>2]=q[f+8>>2];q[d+28>>2]=c;c=q[f+4>>2];q[d+16>>2]=q[f>>2];q[d+20>>2]=c}f=q[e+24>>2];c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;if(!Dc(a,i,d,f)){e=0;break b}c=e;e=q[e>>2];e=e&1?c+(e&-2)|0:e;if(e){continue}break}}e=1;if(!b){break b}h=h+1|0;f=q[b>>2];if((h|0)>=(f|0)){break b}g=0;if((f|0)<1){continue}g=(q[b+8>>2]+b|0)+(h<<3)|0;continue}break}Da=d+32|0;return e}function Nl(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,r=0,t=0,u=0;a:{c=w(b,1348)+a|0;g=q[c+56>>2];if((g|0)<1){break a}d=q[a+24>>2];if((d|0)<1){break a}a=q[a+28>>2];m=a+w(d,40)|0;i=b?8:4;n=i|16;e=q[c- -64>>2];j=e+w(g,44)|0;h=j+ -44|0;c=(b|0)==1;o=c?14:12;r=c?8:4;t=b?20:16;while(1){if(!(s[a>>1]&n)){b=q[a+r>>2];u=a+t|0;f=p[a+o>>1];c=(b+q[e+8>>2]|0)-q[e+4>>2]|0;b:{if(p[e>>1]>=(f|0)){break b}c=(b+q[h+8>>2]|0)-q[h+4>>2]|0;if((f|0)>=p[h>>1]){break b}b=0;c:{c=g;d:{if((c|0)<=8){while(1){e:{b=b+1|0;if((g|0)==(b|0)){c=s[j>>1];b=g;break e}c=p[w(b,44)+e>>1];if((c|0)<(f|0)){continue}}break}if((c&65535)!=(f&65535)){break d}c=q[(w(b,44)+e|0)+8>>2];break b}while(1){d=b+c>>1;k=w(d,44)+e|0;l=p[k>>1];f:{if((f|0)<(l|0)){c=d;break f}if((f|0)<=(l|0)){break c}b=d+1|0}if((b|0)<(c|0)){continue}break}}c=w(b,44)+e|0;b=c+ -44|0;d=q[c+ -28>>2];if(!d){d=Za(q[c+8>>2]-q[b+8>>2]|0,p[c>>1]-p[b>>1]|0);q[b+16>>2]=d}c=q[b+8>>2]+Ma(f-p[b>>1]|0,d)|0;break b}c=q[k+8>>2]}q[u>>2]=c;p[a>>1]=s[a>>1]|i}a=a+40|0;if(a>>>0>>0){continue}break}}}function Jd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[a+88>>2];b=q[a+32>>2]+(b<<4)|0;e=q[b+8>>2];p[f+12>>1]=e+32>>>6;k=q[b+12>>2];p[f+14>>1]=k+32>>>6;if(o[a+8|0]&1){i=2147483647;c=2147483647;b=s[a+68>>1];a:{if(!b){break a}c=e>>31;d=c+e^c;if(d>>>0<=65535){c=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}c=2147483647;g=d>>>16|0;if(g>>>0>=b>>>0){break a}h=d<<16|b>>>1;d=z(g);j=32-d|0;g=h>>>j|g<>>0)/(b>>>0)|0;g=g-w(b,c)|0;d=h<>>31;g=h-(h>>>0>>0?0:b)|0;c=c<<1|h>>>0>=b>>>0;d=d<<1;j=j+ -1|0;if(j){continue}break}}g=f+12|0;q[f+16>>2]=(e|0)<0?0-c|0:c;b:{if(!b){break b}c=k>>31;c=c+k^c;if(c>>>0<=65535){i=((c<<16|b>>>1)>>>0)/(b>>>0)|0;break b}d=c>>>16|0;if(d>>>0>=b>>>0){break b}h=c<<16|b>>>1;e=z(d);c=32-e|0;d=h>>>c|d<>>0)/(b>>>0)|0;j=d-w(b,i)|0;d=h<>>31;j=e-(e>>>0>>0?0:b)|0;i=i<<1|e>>>0>=b>>>0;d=d<<1;c=c+ -1|0;if(c){continue}break}}q[f+20>>2]=(k|0)<0?0-i|0:i;_o(a,g);return}q[f+28>>2]=0;q[f+24>>2]=k;q[f+16>>2]=65536;q[f+20>>2]=65536;a=p[b>>1];q[f+36>>2]=e;q[f+32>>2]=a<<6}function tM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-384|0;Da=d;h=de(a);a:{if(h){q[d+68>>2]=0;q[d+64>>2]=b;e=_b(h,d- -64|0);break a}e=eb(b)}f=cl(e,d+144|0);La(e);b:{if((f|0)<0){break b}Xk(a,b,d+320|0);j=Ic(q[a+12>>2]);if(!j){break b}g=Qb(j);c:{if(!g){break c}while(1){q[d+136>>2]=0;q[d+140>>2]=0;d:{e:{f:{if(h){i=0;q[d+24>>2]=0;q[d+16>>2]=g;q[d+20>>2]=d+320;e=_b(h,d+16|0);if(!e){break c}while(1){f=af(e,0,0);if((f|0)>=0){if((hk(f,d+232|0)|0)>-1){break f}bd(f)}if(i){break e}fr(a,b,d+80|0);f=r[d+80|0];La(e);if(!f){break d}q[d+8>>2]=0;q[d>>2]=g;q[d+4>>2]=d+80;i=1;e=_b(h,d);if(e){continue}break}break c}i=0;q[d+52>>2]=0;q[d+48>>2]=d+320;e=_b(g,d+48|0);if(!e){break c}while(1){f=af(e,0,0);if((f|0)>=0){if((hk(f,d+232|0)|0)>-1){break f}bd(f)}if(i){break e}fr(a,b,d+80|0);f=r[d+80|0];La(e);if(!f){break d}q[d+36>>2]=0;q[d+32>>2]=d+80;i=1;e=_b(g,d+32|0);if(e){continue}break}break c}k=n[831](a,f,d+232|0,d+144|0,d+136|0,c)|0;bd(f);if(k){break e}La(e);k=0;break d}La(e)}g=Qb(j);if(g){continue}break}}Zb(j)}Da=d+384|0;return k}function ed(a,b,c){var d=0,e=0,f=0,g=0;e=q[a+16>>2];f=q[e+24>>2]+39&-8;g=(n[q[e>>2]](b,-2128831035)>>>0)%t[a>>2]|0;a:{b:{d=q[q[a+4>>2]+(g<<2)>>2];if(d){while(1){if(n[q[e+4>>2]](b,d+f|0)){if(!q[d+24>>2]){break b}f=q[d+20>>2];c:{d:{if(f){c=q[d+16>>2];if(!c){break c}q[c+20>>2]=f;q[q[d+20>>2]>>2]=c;break d}q[d+28>>2]=q[d+28>>2]+1}q[q[a+12>>2]>>2]=d;q[d+20>>2]=q[a+12>>2];q[a+12>>2]=d+16;q[d+16>>2]=0}q[a+24>>2]=q[a+24>>2]+1;n[q[e+8>>2]](0,b)|0;q[d+28>>2]=q[d+28>>2]+1;return d+32|0}d=q[d+8>>2];if(d){continue}break}}q[a+28>>2]=q[a+28>>2]+1;d=Sa(f+q[e+20>>2]|0);if(!d){n[q[e+8>>2]](0,b)|0;return 0}q[d+4>>2]=e;q[d>>2]=a;f=d+f|0;if(!n[q[e+8>>2]](f,b)){La(d);return 0}b=f;f=d+32|0;c=n[q[e+12>>2]](b,f,c)|0;q[d+24>>2]=c;if(!c){break a}b=q[a+4>>2]+(g<<2)|0;e=q[b>>2];if(e){q[e+12>>2]=d+8}q[d+12>>2]=b;q[d+8>>2]=q[b>>2];q[b>>2]=d;q[q[a+12>>2]>>2]=d;q[d+20>>2]=q[a+12>>2];q[a+12>>2]=d+16;q[d+28>>2]=2;q[d+16>>2]=0;q[a+20>>2]=c+q[a+20>>2];q[a+32>>2]=q[a+32>>2]+1;return f}I(355392,355403,370,355415);F()}I(355392,355403,405,355415);F()}function br(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Da+ -64|0;Da=h;a:{b:{if(!q[160933]){while(1){c=Sa(28);d=q[160933];q[160933]=d?d:c;if(!d){break b}if(!q[160933]){continue}break}}break a}Ud()}c=q[160932];if((c|0)>=1){e=643664;while(1){f=c;c=c+ -1|0;j=c<<2;i=j+e|0;d=q[i>>2];if(!(!d|t[d>>2]>a>>>0)){while(1){e=d;i=(d+j|0)+40|0;d=q[i>>2];if(t[d>>2]<=a>>>0?d:0){continue}break}e=e+40|0}q[h+j>>2]=i;if((f|0)>1){continue}break}}d=Ud()|Ud();while(1){c:{c=g;g=c+1|0;if(c>>>0>14){break c}f=d&1;d=d>>1;if(!f){continue}}break}e=0;d=q[160932];if((c|0)>=(d|0)){g=d+1|0;q[160932]=g;d=d<<2;q[d+h>>2]=d+643664}c=Sa((g<<2)+44|0);if(c){q[c>>2]=a;a=q[a+8>>2];q[c+12>>2]=0;q[c+8>>2]=a;q[c+4>>2]=1;d:{if(b){q[c+16>>2]=q[b>>2];a=q[b+84>>2];q[c+24>>2]=q[b+80>>2];q[c+28>>2]=a;q[c+32>>2]=q[b+64>>2];q[c+36>>2]=q[b+68>>2];break d}q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0}e=1;if((g|0)>=1){b=c+40|0;d=0;while(1){f=d<<2;a=q[f+h>>2];q[b+f>>2]=q[a>>2];q[a>>2]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}}}Da=h- -64|0;return e}function J$(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,s=0,u=0,v=0,x=0;e=Da-32|0;Da=e;q[e+4>>2]=b;h=a+6|0;i=r[a+5|0]|r[a+4|0]<<8;a:{if(!i){g=h;i=0;break a}g=(w(i,6)+a|0)+6|0;m=q[b+24>>2];u=m+ -1|0;v=q[b+28>>2];j=i;while(1){b:{if((m|0)<1){break b}d=r[h|0];l=d>>>1|0;n=r[h+1|0];x=n|d<<8;f=0;d=u;while(1){c:{k=d+f>>>1|0;o=(k<<3)+v|0;p=l-q[o>>2]|0;d:{if((p|0)<=-1){d=k+ -1|0;break d}if(!p){break c}f=k+1|0}if((f|0)<=(d|0)){continue}break b}break}f=q[o+4>>2];d=271312;e:{if(t[b+36>>2]<=f>>>0){break e}d=q[b+40>>2];if(!d){break b}d=d+(f<<6)|0}d=d+(x>>>3&56)|0;k=q[d>>2];f=q[d+4>>2];l=n&63;d=l&31;if(!((32<=(l&63)>>>0?f>>>d|0:((1<>>d)&1)){break b}g=h;i=s;break a}h=h+6|0;s=s+1|0;j=j+ -1|0;if(j){continue}break}j=0}q[e+24>>2]=0;q[e+16>>2]=i;q[e+12>>2]=j;q[e+8>>2]=g;q[e+20>>2]=e+4;f:{if(!j){break f}while(1){b=r[g+2|0]|r[g+3|0]<<8|(r[g+4|0]<<16|r[g+5|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);Gm((b?b+a|0:271312)+2|0,c);a$(e+8|0);if(!q[e+12>>2]){break f}g=q[e+8>>2];continue}}Da=e+32|0}function ft(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=Da-16|0;Da=h;b=q[a+84>>2];q[h>>2]=q[q[a+88>>2]+16>>2];hb(b,6,2886,h);a:{c=q[a+88>>2];e=q[c+16>>2];d=(e|0)/4|0;f=e-(d<<2)|0;b:{if((f|0)==1){hb(q[a+84>>2],1,2914,0);b=0;break b}j=w(d,3)+((f|0)>1?f+ -1|0:0)|0;g=Sa(j);b=0;if(!g){break b}c=q[c+8>>2];c:{if((e|0)<4){b=g;break c}e=0;b=g;while(1){l=r[c|0];i=r[c+1|0];k=(r[c+2|0]+31&63)<<6;o[b+2|0]=k|r[c+3|0]+31&63;i=(i+31&63)<<12;o[b+1|0]=(i|k)>>>8;o[b|0]=(i|l<<18)+8126464>>>16;c=c+4|0;b=b+3|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}d=f+ -2|0;if(d>>>0<=1){d:{if(!(d-1)){d=r[c+2|0];e=r[c|0]<<18;c=(r[c+1|0]+31&63)<<12;o[b|0]=(e|c)+8126464>>>16;c=(c|(d+31&60)<<6)>>>8|0;f=2;d=b+1|0;break d}c=((r[c+1|0]+31&48)<<12|(r[c|0]+31&255)<<18)>>>16|0;f=1;d=b}o[d|0]=c;b=b+f|0}if((b-g|0)!=(j|0)){break a}b=q[a+84>>2];if(q[b+4>>2]){pl(b,q[q[a+88>>2]+4>>2],g,j)}b=g}La(b);La(q[q[a+88>>2]+4>>2]);La(q[q[a+88>>2]+8>>2]);a=q[a+88>>2];q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+16>>2]=0;Da=h+16|0;return}I(2936,1465,707,2983);F()}function Op(a,b){var c=0,d=0,e=0,f=0;e=Da-4112|0;Da=e;a:{b:{c:{if(b){d:{if(a){break d}a=q[160940];if(a){break d}d=1;a=ee();if(!a){break a}}c=Vh(b,e);c=Pd(c?c:b);if(!c){break a}f=q[a+76>>2];if(f){La(f)}q[a+76>>2]=c;if(!d){break a}a=Jg(a);if(a){break b}d=0;a=q[160940];if(!a){d=1;a=ee();if(!a){break a}}c=Vh(b,e);c=Pd(c?c:b);if(!c){break a}f=q[a+76>>2];if(f){La(f)}q[a+76>>2]=c;if(!d){break a}a=Jg(a);if(a){break b}d=0;a=q[160940];if(!a){d=1;a=ee();if(!a){break a}}c=Vh(b,e);b=Pd(c?c:b);if(!b){break a}c=q[a+76>>2];if(c){La(c)}q[a+76>>2]=b;if(!d){break a}break c}b=0;e:{if(a){break e}a=q[160940];if(a){break e}b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}a=Jg(a);if(a){break b}b=0;a=q[160940];if(!a){b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}a=Jg(a);if(a){break b}b=0;a=q[160940];if(!a){b=1;a=ee();if(!a){break a}}d=q[a+76>>2];if(d){La(d)}q[a+76>>2]=0;if(!b){break a}}a=Jg(a);if(a){break b}Lc(503574,122,1,q[126999]);break a}gI(a);cc(a)}Da=e+4112|0}function _w(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:{b=q[b+4>>2];d=q[b+72>>2];if(r[a+8|0]?0:(d|0)==q[b+76>>2]){break a}l=q[a+16>>2];i=q[b+88>>2];g=q[a+12>>2];j=q[a+20>>2];k=(l+(q[i+w(g,20)>>2]+(r[c+5|0]|r[c+4|0]<<8)<<1)|0)-j>>>1|0;e=q[a+4>>2];m=q[e+20>>2];f=(k<<1)+j|0;b:{if(m>>>0>f>>>0){break b}h=q[e+24>>2];if(h>>>0>>0|h-f>>>0<2){break b}h=q[e+28>>2];q[e+28>>2]=h+ -1;if((h|0)<1){break b}h=(k<<1)+j|0;k=r[h+1|0]|r[f|0]<<8;if(!k){break b}n=q[b+76>>2];d=d+1|0;d=d>>>0>n>>>0?n:d;if(d-g>>>0>=2){rb(b,g,d);k=r[h+1|0]|r[f|0]<<8;e=q[a+4>>2];m=q[e+20>>2];l=q[a+16>>2];g=q[a+12>>2];i=q[b+88>>2];j=q[a+20>>2]}q[w(g,20)+i>>2]=k;o[a|0]=1}f=q[b+76>>2]+ -1|0;g=q[b+72>>2];f=w(g>>>0>f>>>0?f:g,20)+i|0;i=((q[f>>2]+(r[c+7|0]|r[c+6|0]<<8)<<1)+l|0)-j>>>1|0;b=(i<<1)+j|0;c:{if(m>>>0>b>>>0){break c}d=q[e+24>>2];if(d>>>0>>0|d-b>>>0<2){break c}d=e+28|0;e=q[e+28>>2];q[d>>2]=e+ -1;if((e|0)<1){break c}b=r[((i<<1)+j|0)+1|0]|r[b|0]<<8;if(!b){break c}q[f>>2]=b;o[a|0]=1}if(o[c+2|0]>-1){break a}q[a+12>>2]=g;o[a+8|0]=1}}function KM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0,x=0,y=0;if(c){k=d+12|0;g=d<<4;m=g<<1;while(1){d=0;j=0;if(k){while(1){n=d>>>0>>0?(d<<1)+b|0:438160;f=d+ -32|0;o=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -64|0;q=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -80|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -96|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -112|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -128|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -160|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -192|0;y=f>>>0>>0?(f<<1)+b|0:438160;i=0;while(1){f=i<<1;h=s[f+t>>1];p[a+f>>1]=((((w(p[e>>1],(s[f+r>>1]-h<<16>>16)+(s[f+u>>1]-h<<16>>16)|0)+w(p[e+2>>1],(s[f+q>>1]-h<<16>>16)+(s[f+v>>1]-h<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+o>>1]-h<<16>>16)+(s[f+x>>1]-h<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+n>>1]-h<<16>>16)+(s[f+y>>1]-h<<16>>16)|0)|0)+32768>>>16|0)+h;i=i+1|0;if((i|0)!=16){continue}break}d=d+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}}b=b+m|0;l=l+16|0;if(l>>>0>>0){continue}break}}}function we(a,b,c){var d=0,e=0,f=0;e=Da-16|0;Da=e;a:{if(!b){break a}while(1){d=c;b:{while(1){f=s[b>>1];if(f>>>0>40){break a}c=2;c:{d:{e:{switch(f-2|0){default:Nd(a,2,d);break a;case 0:Nd(a,3,d);break a;case 1:Nd(a,5,d);break a;case 3:Nd(a,4,d);break a;case 4:Nd(a,6,d);break a;case 5:Nd(a,8,d);break a;case 2:Nd(a,9,d);break a;case 7:b=$e(Qc(q[b+8>>2]));if(!b){break a}Nd(a,q[b+4>>2],d);break a;case 8:c=yM(q[b+8>>2]);if(c){b=$e(q[c+4>>2]);if(!b){break a}Nd(a,q[b+4>>2],d);break a}q[e>>2]=q[b+8>>2];_a(a,1,501073,e);break a;case 17:we(a,q[b+8>>2],4);we(a,q[q[b+12>>2]+8>>2],d);b=q[b+12>>2]+8|0;break d;case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:Nd(a,4,d);break a;case 6:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break a;case 35:case 36:case 37:case 38:break b;case 33:break c;case 18:case 19:case 29:case 30:case 31:case 32:case 34:break e}}we(a,q[b+8>>2],d);b=b+8|0}b=q[b+4>>2];if(b){continue}break a}break}c=4}Nd(a,c,d);b=q[b+8>>2];if(b){continue}break}}Da=e+16|0}function VV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=x(0);q[b+8>>2]=0;q[b+12>>2]=1065353216;q[b>>2]=1065353216;q[b+4>>2]=0;e=r[a+1|0];a:{if(e&1){d=r[a+4|0]|r[a+5|0]<<8;h=(d<<24|d<<8&16711680)>>16;d=a+6|0;f=r[d|0]|r[d+1|0]<<8;g=(f<<24|f<<8&16711680)>>16;break a}d=a+4|0;h=o[a+4|0];g=o[a+5|0]}o[c+12|0]=0;o[c|0]=0;f=e<<30>>31;e=g&f;u[c+8>>2]=e|0;g=c;c=f&h;u[g+4>>2]=c|0;a=r[a+1|0];if(a&8){a=r[d+2|0]|r[d+3|0]<<8;i=x(x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14));u[b>>2]=i;u[b+12>>2]=i;return 1}if(a&64){a=r[d+2|0]|r[d+3|0]<<8;u[b>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+4|0]|r[d+5|0]<<8;u[b+12>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);return 1}if(a&128){a=r[d+2|0]|r[d+3|0]<<8;u[b>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+4|0]|r[d+5|0]<<8;u[b+4>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+6|0]|r[d+7|0]<<8;u[b+8>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);a=r[d+8|0]|r[d+9|0]<<8;u[b+12>>2]=x((a<<24|a<<8&16711680)>>16)*x(6103515625e-14);return 1}return(c|e)!=0}function Ry(a,b,c){a=a|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=q[a+812>>2];a:{if((e|0)<10){break a}g=q[a+816>>2];if(!g){break a}d=e;e=q[a+808>>2];k=d+e|0;d=e+4|0;f=e+10|0;l=b<<16|c;n=q[a+820>>2];h=1;while(1){b=(r[d+3|0]|r[d+2|0]<<8)+d|0;e=b>>>0>k>>>0?k:b;b:{if(!(h&n)){break b}c=d+14|0;if(r[d+4|0]){break b}o=r[d+5|0];i=e-c|0;b=r[d+7|0]|r[f|0]<<8;b=(i|0)<(w(b,6)|0)?(i|0)/6|0:b;c:{if(q[a+824>>2]&h){if(!b){break b}i=d+18|0;c=0;while(1){f=b+c>>>1|0;j=i+w(f,6)|0;d=j+ -4|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(l|0)){d=d>>>0>>0;c=d?f+1|0:c;b=d?b:f;if(c>>>0>>0){continue}break b}break}b=j+1|0;break c}if(!b){break b}while(1){d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))!=(l|0)){c=c+6|0;b=b+ -1|0;if(b){continue}break b}break}j=c+4|0;b=c+5|0}m=((r[b|0]|r[j|0]<<8)<<16>>16)+(o&8?0:m)|0}f=e+6|0;if(f>>>0>k>>>0){break a}h=h<<1;d=e;g=g+ -1|0;if(g){continue}break}}return m|0}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,m=0,n=0,o=0,q=0,r=0,t=0,u=0,v=0,x=0,y=0;if(c){k=d+10|0;g=d<<4;m=g<<1;while(1){d=0;j=0;if(k){while(1){n=d>>>0>>0?(d<<1)+b|0:438160;f=d+ -32|0;o=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -48|0;q=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -64|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -80|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -96|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -112|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -128|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -160|0;y=f>>>0>>0?(f<<1)+b|0:438160;i=0;while(1){f=i<<1;h=s[f+t>>1];p[a+f>>1]=((((w(p[e>>1],(s[f+r>>1]-h<<16>>16)+(s[f+u>>1]-h<<16>>16)|0)+w(p[e+2>>1],(s[f+q>>1]-h<<16>>16)+(s[f+v>>1]-h<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+o>>1]-h<<16>>16)+(s[f+x>>1]-h<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+n>>1]-h<<16>>16)+(s[f+y>>1]-h<<16>>16)|0)|0)+32768>>>16|0)+h;i=i+1|0;if((i|0)!=16){continue}break}d=d+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}}b=b+m|0;l=l+16|0;if(l>>>0>>0){continue}break}}}function KH(a,b,c){a=a|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=Da-848|0;Da=d;e=ab(1,12);a:{if(!e){break a}f=ee();q[e>>2]=f;c=Wp(f,c);if(!c){hb(a,2,505100,0);cc(q[e>>2]);f=qk(0);q[e>>2]=f}if(f){c=$h(f)}if(!(q[e>>2]?c:0)){f=0;hb(a,0,505163,0);cc(q[e>>2]);La(e);break a}f=qP(b,e);e=dI(q[e>>2]);if(q[e>>2]<1){break a}h=d+824|0;i=d+844|0;j=d+836|0;a=0;while(1){b=q[q[e+8>>2]+(a<<2)>>2];b:{if(ZL(b,d+812|0)|q[d+812>>2]!=1){break b}if(si(b,505303,j)|si(b,505309,i)|si(b,505315,d+804|0)|si(b,505322,d+808|0)){break b}k=d,l=PL(q[d+804>>2]),q[k+840>>2]=l;c=0;if(pd(b,505328,0,d+800|0)){break b}while(1){c:{q[d+828>>2]=c;if(pd(b,505253,c,(c<<2)+d|0)){break c}g=q[d+828>>2];c=g+1|0;if((g|0)<100){continue}}break}q[d+816>>2]=d;c=0;while(1){d:{q[d+832>>2]=c;if(pd(b,505333,c,(d+400|0)+(c<<2)|0)){break d}g=q[d+832>>2];c=g+1|0;if((g|0)<100){continue}}break}q[d+820>>2]=d+400;if(pd(b,505342,0,h)){q[d+824>>2]=0}Xr(f,d+816|0,q[d+800>>2],q[d+808>>2],b)}a=a+1|0;if((a|0)>2]){continue}break}}Da=d+848|0;return f|0}function Iy(a,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=Da-16|0;Da=d;i=q[a+100>>2];q[d+8>>2]=0;c=3;a:{if(!q[a+868>>2]){break a}c=n[q[a+516>>2]](a,1129270354,b,d+4|0)|0;q[d+12>>2]=c;b:{if(c){break b}c:{c=q[d+4>>2];if(c>>>0<14){break c}c=Bc(b,c,d+8|0);q[d+12>>2]=c;if(c){break b}c=q[d+8>>2];f=gb(i,24,d+12|0);if(q[d+12>>2]){break b}e=r[c|0]|r[c+1|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;p[f>>1]=e;if(e){break c}e=r[c+2|0]|r[c+3|0]<<8;h=(e<<24|e<<8&16711680)>>>16|0;p[f+2>>1]=h;e=q[d+4>>2];g=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if(e>>>0<=j>>>0|w(h,6)>>>0>e-j>>>0){break c}g=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);c=r[c+12|0]|r[c+13|0]<<8;h=(c<<24|c<<8&16711680)>>>16|0;p[f+4>>1]=h;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(e>>>0<=c>>>0|h<<2>>>0>e-c>>>0){break c}b=q[d+8>>2];q[f+20>>2]=e;q[f+16>>2]=b;q[f+12>>2]=b+c;q[f+8>>2]=b+j;q[a+872>>2]=f;c=0;break a}q[d+12>>2]=8}zb(b,d+8|0);if(f){n[q[i+8>>2]](i,f)}c=q[d+12>>2]}Da=d+16|0;return c|0}function QV(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=r[a+1|0]|r[a|0]<<8;if(!k){return 271312}h=q[c+16>>2];j=a-q[c+12>>2]|0;if(h>>>0>j>>>0){o=h-j|0;l=a+4|0;h=8;a:{while(1){m=h;b:{c:{if(b>>>0>=f>>>0){break c}h=b+1|0;h=(h|0)<0?271312:(h<<2)+l|0;h=r[h|0]|r[h+1|0]<<8|(r[h+2|0]<<16|r[h+3|0]<<24);i=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);b=(b|0)<0?271312:(b<<2)+l|0;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(i>>>0<=h>>>0|i>>>0>o>>>0){break c}b=i-h|0;if(b>>>0>8){break b}}return 271312}n=b+ -8|0;b=h?a+h|0:271312;i=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if((i|0)!=1685418085){break a}if(n>>>0>=2){b=r[b+9|0]|r[b+8|0]<<8;h=m+ -1|0;if(m){continue}}break}return 271312}if((i|0)!=1886283552){return 271312}if(g){q[g>>2]=k}if(d){a=r[b|0]|r[b+1|0]<<8;q[d>>2]=(a<<24|a<<8&16711680)>>16}if(e){a=r[b+2|0]|r[b+3|0]<<8;q[e>>2]=(a<<24|a<<8&16711680)>>16}return en(c,(h+j|0)+8|0,n)}I(242903,242928,106,242956);F()}function OM(a,b,c,d,e){a=a|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,q=0,r=0,t=0,u=0,v=0,x=0,y=0;if(c){k=d+8|0;g=d<<4;m=g<<1;while(1){d=0;j=0;if(k){while(1){n=d>>>0>>0?(d<<1)+b|0:438160;f=d+ -16|0;o=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -32|0;q=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -48|0;r=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -64|0;t=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -80|0;u=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -96|0;v=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -112|0;x=f>>>0>>0?(f<<1)+b|0:438160;f=d+ -128|0;y=f>>>0>>0?(f<<1)+b|0:438160;i=0;while(1){f=i<<1;h=s[f+t>>1];p[a+f>>1]=((((w(p[e>>1],(s[f+r>>1]-h<<16>>16)+(s[f+u>>1]-h<<16>>16)|0)+w(p[e+2>>1],(s[f+q>>1]-h<<16>>16)+(s[f+v>>1]-h<<16>>16)|0)|0)+w(p[e+4>>1],(s[f+o>>1]-h<<16>>16)+(s[f+x>>1]-h<<16>>16)|0)|0)+w(p[e+6>>1],(s[f+n>>1]-h<<16>>16)+(s[f+y>>1]-h<<16>>16)|0)|0)+32768>>>16|0)+h;i=i+1|0;if((i|0)!=16){continue}break}d=d+16|0;a=a+32|0;j=j+1|0;if((j|0)!=(k|0)){continue}break}}b=b+m|0;l=l+16|0;if(l>>>0>>0){continue}break}}}function Jx(a,b){var c=0,d=0,e=0,f=0;c=Da-48|0;Da=c;d=r[a+7|0];a:{if(d>>>0>6){break a}b:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Iw(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break a;case 0:f=Hw(a,b);break a;case 1:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Gw(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break a;case 3:q[c+24>>2]=b;q[c+28>>2]=r[a+28|0]>>>6;f=r[a+31|0];d=r[a+30|0];e=r[a+29|0];q[c+40>>2]=0;o[c+36|0]=0;a=a+12|0;q[c+32>>2]=a+(f|(d<<8|e<<16));f=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[f+32>>2];if((a|0)==-1){a=lc(f)}q[b+16>>2]=a;Fw(c+8|0,c+24|0);f=1;break a;case 2:case 4:break a;case 5:break b}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];if(e&16){break a}q[c+24>>2]=a;f=1;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;Ew(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2])}Da=c+48|0;return f}function Im(a,b,c,d,e,f){var g=0,h=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[g+5|0]|r[g+4|0]<<8;a=a?g+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?(a+w(c,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];a=b?a+b|0:271312;b:{if((d|0)==65535){c=a+1|0;b=a;break b}b=(r[a+3|0]|r[a+2|0]<<8)>>>0>d>>>0?(a+w(d,6)|0)+4|0:271312;c=b+5|0;b=b+4|0}c:{d:{d=a;a=r[c|0]|r[b|0]<<8;d=a?d+a|0:271698;h=r[d+4|0]<<8|r[d+5|0];if(!h){break d}b=0;while(1){a=h>>>0>b>>>0?(d+(b<<1)|0)+6|0:271696;a=r[a|0]<<8|r[a+1|0];if((a|0)!=65535){c=r[g+7|0]|r[g+6|0]<<8;c=c?c+g|0:271312;c=(r[c+1|0]|r[c|0]<<8)>>>0>a>>>0?(c+w(a,6)|0)+2|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}else{c=0}if((c|0)!=(e|0)){b=b+1|0;if((h|0)==(b|0)){break d}continue}break}b=1;if(!f){break c}q[f>>2]=a;return 1}b=0;if(!f){break c}q[f>>2]=65535}return b}function nX(a,b){var c=0,d=0,e=0,f=0;a:{if((a|0)==271312){break a}c=r[a|0];if(c>>>0>4){break a}b:{switch(c-1|0){default:return r[(a+b|0)+1|0];case 2:d=1;f=a+1|0;c=r[a+1|0]|r[a+2|0]<<8;e=c<<8;c=(e&16711680|c<<24)>>>16|0;c:{if(c>>>0<=1){e=r[a+2|0]|e&65280;break c}e=r[a+2|0]|e&65280;while(1){a=e>>>0>d>>>0?(f+w(d,3)|0)+2|0:271312;if((r[a|0]<<8|r[a+1|0])>>>0>b>>>0){break c}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}a=d+ -1|0;return r[(e>>>0>a>>>0?(f+w(a,3)|0)+2|0:271312)+2|0];case 0:case 1:break a;case 3:break b}}d=1;c=r[a+1|0]|r[a+2|0]<<8|(r[a+3|0]<<16|r[a+4|0]<<24);e=c<<24;c=e|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0<=1){e=r[a+4|0]|(e|r[a+2|0]<<16|r[a+3|0]<<8);break d}e=r[a+4|0]|(e|r[a+2|0]<<16|r[a+3|0]<<8);while(1){f=e>>>0>d>>>0?(w(d,6)+a|0)+5|0:271312;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0>b>>>0){break d}d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}b=a;a=d+ -1|0;a=e>>>0>a>>>0?(b+w(a,6)|0)+5|0:271312;d=r[a+4|0]<<8|r[a+5|0]}return d}function vV(a,b,c){var d=0,e=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{if((a|0)!=24){if((a|0)==293){break e}if((a|0)!=263){break c}Oi(c,263,b);i=b+24|0;break d}j=c;i=b+24|0;d=q[i>>2];f:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break f}h=v[q[b+36>>2]+(d<<3)>>3];break f}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}g:{if(y(h)<2147483648){d=~~h;break g}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+24>>2]=d;break d}j=c;i=b+24|0;d=q[i>>2];h:{if(d){d=d+ -1|0;q[b+24>>2]=d;if(t[b+32>>2]<=d>>>0){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g();break h}h=v[q[b+36>>2]+(d<<3)>>3];break h}o[b+20|0]=1;d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;f(0,e|0);f(1,d|0);h=+g()}i:{if(y(h)<2147483648){d=~~h;break i}d=-2147483648}if((d|0)<=-1){o[b+20|0]=1;d=0}q[j+28>>2]=d}q[i>>2]=0;break b}gu(a,b,c);if(q[b+24>>2]){break a}}if(r[b+40|0]|r[b+16|0]|(r[b+20|0]|q[b+28>>2]<0)){break a}Oi(c,a,b)}}function fo(a,b){var c=0,d=0;b=Na(b,0,196);d=r[a+188|0];o[b+8|0]=d;if(d){while(1){p[(b+(c<<1)|0)+12>>1]=q[((c<<2)+a|0)+192>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+189|0];o[b+9|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+40>>1]=q[((c<<2)+a|0)+248>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+190|0];o[b+10|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+60>>1]=q[((c<<2)+a|0)+288>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+191|0];o[b+11|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+88>>1]=q[((c<<2)+a|0)+344>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}q[b+108>>2]=q[a+384>>2];q[b+112>>2]=q[a+388>>2];q[b+116>>2]=q[a+392>>2];p[b+120>>1]=q[a+396>>2];p[b+122>>1]=q[a+400>>2];d=r[a+404|0];o[b+124|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+128>>1]=q[((c<<2)+a|0)+408>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=r[a+405|0];o[b+125|0]=d;if(d){c=0;while(1){p[(b+(c<<1)|0)+154>>1]=q[((c<<2)+a|0)+460>>2];c=c+1|0;if((d|0)!=(c|0)){continue}break}}o[b+126|0]=r[a+512|0];q[b+184>>2]=q[a+524>>2];q[b+4>>2]=q[a+520>>2]}function mB(a,b,c,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=q[a+12>>2];f=q[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=q[a+4284>>2];if(f>>>0<=(e-a|0)+ -184>>>0){q[a+4280>>2]=b;q[a+4284>>2]=e-f;break c}f=0;if(Xa(q[a>>2],0)){break a}q[a+12>>2]=0;q[a+16>>2]=0;q[a+4280>>2]=0;q[a+104>>2]=0;q[a+48>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;o[a+44|0]=0;q[a- -64>>2]=9;e=a+4280|0;q[a+4288>>2]=e;q[a+4284>>2]=e}if(f>>>0>=b>>>0){break c}g=q[a+4284>>2];h=q[a+4288>>2]-g|0;e=b-f|0;b=h>>>0>>0?h:e;q[a+4284>>2]=b+g;q[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(Qn(g,0,e)>>>0>>0){break a}q[a+4280>>2]=e+q[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=q[a+4284>>2];b=q[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;Qa(c+f|0,e,b);q[a+4284>>2]=b+q[a+4284>>2];q[a+4280>>2]=b+q[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}q[a+4284>>2]=g;h=Qn(i,g,4096);e=q[a+4284>>2];b=h+e|0;q[a+4288>>2]=b;if(h){continue}break}}return f|0}function By(a,b,c,d,e){a=a|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,o=0;f=Da-16|0;Da=f;j=q[a+552>>2];a:{b:{g=s[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=q[(b?856:852)+a>>2];k=h+q[(b?756:752)+a>>2]|0;i=q[a+104>>2];if(g>>>0>c>>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Xa(i,g);q[f+12>>2]=g;if(g){break b}m=e,o=ib(i,f+12|0),p[m>>1]=o;if(q[f+12>>2]){break b}m=d,o=ib(i,f+12|0),p[m>>1]=o;if(!q[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=Xa(i,h);q[f+12>>2]=l;if(l){break b}m=e,o=ib(i,f+12|0),p[m>>1]=o;if(q[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){p[d>>1]=0;break a}g=Xa(i,g+4|0);q[f+12>>2]=g;if(g){p[d>>1]=0;break a}m=d,o=ib(i,f+12|0),p[m>>1]=o;break a}p[d>>1]=0;p[e>>1]=0}if(j){q[f+8>>2]=s[e>>1];q[f+4>>2]=p[d>>1];c:{if(b){b=q[j+12>>2];if(b){n[b](a,c,f+8|0)|0}b=q[j+16>>2];if(!b){break c}n[b](a,c,f+4|0)|0;break c}b=q[j>>2];if(b){n[b](a,c,f+8|0)|0}b=q[j+4>>2];if(!b){break c}n[b](a,c,f+4|0)|0}p[e>>1]=q[f+8>>2];p[d>>1]=q[f+4>>2]}Da=f+16|0}function Nt(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=ab(1,40);if(f){g=q[a+4>>2]==1098015074;o[f+36|0]=g;c=q[a+44>>2];l=c+ -1|0;i=q[a+48>>2];b=f;a:{b:{if((c|0)<1){break b}a=l;while(1){c:{h=a+d>>>1|0;e=q[w(h,36)+i>>2];d:{if(e>>>0>=1937007465){a=h+ -1|0;break d}if((e|0)==1937007464){break c}d=h+1|0}if((d|0)<=(a|0)){continue}break b}break}a=2;if(q[(w(h,36)+i|0)+28>>2]){break a}}a=0}o[b+36|0]=a|g;h=(c|0)<1;while(1){b=j<<2;k=q[b+251792>>2];d=0;a=l;g=b+f|0;b=0;e:{if(h){break e}f:{while(1){c=a+d>>>1|0;e=w(c,36)+i|0;b=q[e>>2];g:{if(b>>>0>k>>>0){a=c+ -1|0;break g}if(b>>>0>=k>>>0){break f}d=c+1|0}if((d|0)<=(a|0)){continue}break}b=0;break e}b=q[e+28>>2]}q[g>>2]=b;b=0;g=r[f+36|0];h:{if(!(g&1)){break h}b=44>>>j&1;if(h){break h}d=0;a=l;if(b){break h}i:{while(1){c=a+d>>>1|0;e=w(c,36)+i|0;b=q[e>>2];j:{if(b>>>0>k>>>0){a=c+ -1|0;break j}if(b>>>0>=k>>>0){break i}d=c+1|0}if((d|0)<=(a|0)){continue}break}b=0;break h}b=o[e+32|0]&1}o[f+36|0]=g&254|b;j=j+1|0;if((j|0)!=7){continue}break}}return f|0}function Yy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0;h=Da-16|0;Da=h;f=n[q[a+516>>2]](a,1801810542,b,h+12|0)|0;a:{if(f){break a}f=142;c=q[h+12>>2];if(c>>>0<4){break a}f=Bc(b,c,a+808|0);if(f){break a}c=q[h+12>>2];q[a+812>>2]=c;f=0;b=q[a+808>>2];g=r[b+2|0]<<8|r[b+3|0];g=g>>>0<32?g:32;b:{if(!g){break b}k=b+c|0;c=b+4|0;while(1){b=c;if(b+6>>>0>k>>>0){break b}c=r[b+3|0]|r[b+2|0]<<8;if(c>>>0<15){break b}d=b+14|0;c=b+c|0;c=c>>>0>k>>>0?k:c;c:{if(r[b+4|0]|d>>>0>c>>>0|(r[b+5|0]&3)!=1){break c}l=1<>>8&65280|d>>>24);b=b+20|0;while(1){j=j+ -1|0;if(j){e=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);p=e>>>0>d>>>0;b=b+6|0;d=e;if(p){continue}break c}break}o=o|l}i=i+1|0;if((g|0)!=(i|0)){continue}break}i=g}q[a+824>>2]=o;q[a+820>>2]=m;q[a+816>>2]=i}Da=h+16|0;return f|0}function Ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!q[a+28>>2]|!q[a+20>>2]|q[a+16>>2]==271312){break a}c=q[a+24>>2];d=q[c+24>>2];b:{if((d|0)<1){break b}i=b>>>9|0;f=q[c+28>>2];d=d+ -1|0;while(1){c:{e=d+g>>>1|0;h=i-q[(e<<3)+f>>2]|0;d:{if((h|0)<=-1){d=e+ -1|0;break d}if(!h){break c}g=e+1|0}if((g|0)<=(d|0)){continue}break b}break}e=q[((e<<3)+f|0)+4>>2];d=271312;e:{if(t[c+36>>2]<=e>>>0){break e}c=q[c+40>>2];if(!c){break b}d=c+(e<<6)|0}c=d+(b>>>3&56)|0;e=q[c>>2];d=q[c+4>>2];f=b&63;c=f&31;if((32<=(f&63)>>>0?d>>>c|0:((1<>>c)&1){break a}}c=q[a+8>>2];d=q[a+4>>2];e=q[a+12>>2];q[a+8>>2]=271312;q[a+12>>2]=271312;q[a+4>>2]=271312;q[a+28>>2]=q[a+28>>2]+ -1;n[q[a+20>>2]](a,b);q[a+12>>2]=e;q[a+4>>2]=d;q[a+8>>2]=c;q[a+28>>2]=q[a+28>>2]+1;if((b|0)==-1){break a}a=q[a+24>>2];if(r[a+12|0]!=1){break a}q[a+16>>2]=-1;a=ac(a,b);if(!a){break a}c=a+(b>>>3&56)|0;a=c;d=q[a+4>>2];e=a;f=q[a>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=f|b;q[a+4>>2]=c|d}}function Kw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{j=q[b+4>>2];if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<10){break a}i=q[b+12>>2];q[b+12>>2]=i+ -1;if((i|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;if(h>>>0<4){break a}f=r[a+3|0];g=r[a+2|0];d=f|g<<8;if(4294967295/(h>>>0)>>>0<=d>>>0){break a}h=w(d,h);if(h){d=a+10|0;if(j>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=i+ -2;if((i|0)<2){break a}f=r[a+3|0];g=r[a+2|0];d=f|g<<8}e=0;b:{if(!d){break b}e=w(d+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;e=(r[e+10|0]<<8|r[e+11|0])==65535?-1:0}h=d+e|0;if(!h){return 1}i=a+10|0;e=0;while(1){j=q[b+4>>2];f=g<<8|f;if(f){d=i+w(f+ -1|0,r[a+1|0]|r[a|0]<<8)|0;g=(r[d|0]<<8|r[d+1|0])==65535?-1:0}else{g=0}d=271312;c:{if(f+g>>>0<=e>>>0){break c}d=i+w(r[a+1|0]|r[a|0]<<8,e)|0}if(j>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break a}f=q[c>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}if(!xg(d+2|0,b,f)){break a}e=e+1|0;if((h|0)==(e|0)){return 1}else{f=r[a+3|0];g=r[a+2|0];continue}}}return 0}function BZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c:{d:{c=c+d|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break d}q[b+12>>2]=f+ -3;if((f|0)<3){break d}d=r[c+1|0]|r[c|0]<<8;if(!d){break b}i=g;g=c+2|0;if(i>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break d}q[b+12>>2]=f+ -4;if((f|0)<4){break d}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}e=0;while(1){if(!zZ((c+(e<<2)|0)+2|0,b,c)){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}h=1}return h}return 0}function eu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];d=h+ -1|0;q[b+12>>2]=d;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>89478484){break a}i=w(e,48);if(i){d=a+4|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break a}d=h+ -2|0;q[b+12>>2]=d;if((h|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(!e){return 1}h=0;while(1){j=g;i=w(h,48)+a|0;g=i+4|0;if(j>>>0>g>>>0|f>>>0>>0|f-g>>>0<48){break a}f=q[c>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!oV(g,b,f,i+12|0)){break a}g=q[b+4>>2];d=i+20|0;if(g>>>0>d>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<12){break a}j=q[b+12>>2];q[b+12>>2]=j+ -1;if((j|0)<1){break a}d=i+32|0;if(g>>>0>d>>>0|f>>>0>>0|f-d>>>0<12){break a}d=j+ -2|0;q[b+12>>2]=d;if((j|0)<=1){break a}h=h+1|0;if((h|0)!=(e|0)){continue}break}return 1}return 0}function bS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[a+24>>2];e=q[a+44>>2];if(!(e|q[a+76>>2]?(e|0)!=1:0)){if(q[a+4>>2]){a:{if((c|0)!=-1){break a}c=0;if(!q[b>>2]){break a}e=b;while(1){c=c+1|0;f=q[e+4>>2];e=e+4|0;if(f){continue}break}}d=(d|0)==-1?c:d;e=q[a+76>>2]+(d&1073741823)|0;if(!(!e|t[a+84>>2]>e>>>0)){pe(a,e)}e=b;b:{if((d|0)<1){d=e;break b}k=(d<<2)+e|0;while(1){h=q[e>>2];d=e+4|0;f=q[a+76>>2];i=f+1|0;g=-1;c:{d:{if(i>>>0>>0){break d}g=f;if(t[a+84>>2]>i>>>0){break d}if(!pe(a,i)){break c}g=q[a+76>>2]}f=g;f=q[a+88>>2]+w(f,20)|0;q[f+8>>2]=0;q[f+12>>2]=0;q[f+4>>2]=0;q[f>>2]=h>>>0>55295?h+ -57344>>>0>1056767?j:h:h;q[f+8>>2]=e-b>>2;q[f+16>>2]=0;q[a+76>>2]=q[a+76>>2]+1}e=d;if(e>>>0>>0){continue}break}}e=0;q[a+148>>2]=0;c=(c<<2)+b|0;e:{if(d>>>0>=c>>>0){break e}while(1){b=q[d>>2];q[a+148>>2]=e+1;q[((e<<2)+a|0)+124>>2]=b>>>0>55295?b+ -57344>>>0>1056767?j:b:b;d=d+4|0;if(d>>>0>=c>>>0){break e}e=q[a+148>>2];if(e>>>0<5){continue}break}}q[a+44>>2]=1}return}I(273002,272586,1517,273133);F()}function Cl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=r[q[a>>2]+236|0];q[g>>2]=0;q[f>>2]=0;if(r[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=q[a+4>>2];h=w(h>>16,b>>16);b=d-b|0;q[j+16>>2]=q[j+16>>2]+(h-w(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=q[a+11688>>2];if((e|0)>b<<1){q[f>>2]=c;a=q[a+11692>>2];break a}k=f,l=Ma(45875,c),q[k>>2]=l;a=Ma(19661,q[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=q[a+11688>>2];if(b<<1<(0-e|0)){q[f>>2]=0-c;a=q[a+11692>>2];break a}k=f,l=Ma(-45874,c),q[k>>2]=l;a=Ma(19661,q[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if(e<<1<(c|0)){q[f>>2]=0;a=q[a+11692>>2]<<1;break a}c=q[a+11688>>2];if((e|0)>(0-(b<<1)|0)){q[f>>2]=c;a=q[a+11692>>2];break a}k=f,l=Ma(45875,c),q[k>>2]=l;a=Ma(111411,q[a+11692>>2]);break a}if((0-(e<<1)|0)<(c|0)){q[f>>2]=0;a=q[a+11692>>2]<<1;break a}c=q[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){q[f>>2]=0-c;a=q[a+11692>>2];break a}k=f,l=Ma(-45874,c),q[k>>2]=l;a=Ma(111411,q[a+11692>>2]);break a}q[f>>2]=0;a=0}q[g>>2]=a}}function AC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=q[a+100>>2];d=q[a+316>>2];if(d){g=c;b=q[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=q[e+4>>2];if(d){b=c;d=q[d>>2];if(d){n[q[b+8>>2]](b,d)}q[q[e+4>>2]>>2]=0;b=q[e+4>>2];if(b){n[q[c+8>>2]](c,b)}q[e+4>>2]=0;b=q[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=q[a+316>>2];continue}break}d=q[a+316>>2]}if(d){n[q[g+8>>2]](g,d)}q[a+316>>2]=0}b=q[a+164>>2];if(b){n[q[c+8>>2]](c,b)}q[a+164>>2]=0;b=q[a+168>>2];if(b){n[q[c+8>>2]](c,b)}q[a+168>>2]=0;b=q[a+172>>2];if(b){n[q[c+8>>2]](c,b)}q[a+172>>2]=0;b=q[a+176>>2];if(b){n[q[c+8>>2]](c,b)}q[a+176>>2]=0;b=q[a+180>>2];if(b){n[q[c+8>>2]](c,b)}q[a+180>>2]=0;b=q[a+304>>2];if(b){n[q[c+8>>2]](c,b)}q[a+300>>2]=0;q[a+304>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+152>>2];if(b){n[q[c+8>>2]](c,b)}q[a+152>>2]=0;b=q[a+156>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;q[a+24>>2]=0;q[a+156>>2]=0;b=q[a+324>>2];if(b){n[q[c+8>>2]](c,b)}q[a+324>>2]=0;b=q[a+328>>2];if(b){n[q[c+8>>2]](c,b)}q[a+328>>2]=0}}function Zf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Da+ -64|0;Da=g;a:{if(d){f=d;while(1){if(!jr(e,q[f+8>>2])){i=g,j=Qc(e),q[i+48>>2]=j;a=q[126999];Mc(a,503829,g+48|0);b=f+8|0;c=q[b+12>>2];q[g+40>>2]=q[b+8>>2];q[g+44>>2]=c;b=q[f+12>>2];q[g+32>>2]=q[f+8>>2];q[g+36>>2]=b;Bq(a,g+32|0);te(10,a);if(!(r[643740]&4)){break a}Rb(504040);break a}h=f;f=q[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break}}e=b?q[b+24>>2]:0;if(d){f=d;while(1){if(q[f+24>>2]==2){q[f+24>>2]=e}h=f;f=q[f>>2];f=f&1?h+(f&-2)|0:f;if(f){continue}break}}b:{if(c){if(b){break b}f=a;while(1){b=f;f=q[f>>2];if(f){continue}break}break b}e=a;c:{if(!b){break c}f=a;while(1){e=f;f=q[f>>2];if(!f){break c}if((b|0)!=(f|0)){continue}break}}if(!(q[e>>2]|!(r[643740]&4))){Rb(504019)}b=e}if(r[643740]&4){q[g+16>>2]=c?503907:503914;Ua(503891,g+16|0);oL(q[a>>2],q[b>>2]);Gb(10)}if(d){f=d;while(1){e=f;f=q[f>>2];if(f){continue}break}q[e>>2]=q[b>>2];q[b>>2]=d}if(!(r[643740]&4)){break a}q[g>>2]=c?503907:503914;Ua(503922,g);ki(q[a>>2]);Gb(10)}Da=g- -64|0}function Rx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!g){break a}d=a;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=(d+w(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),12)|0)+16|0;while(1){d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}d=r[a+4|0];if(d>>>7^(q[q[b+12>>2]+48>>2]&-2)==6?!(d&32):0){break b}e=d&64;c:{if(d&16){d=(e|0)!=0;e=q[b+12>>2];break c}d=e>>>6|0;e=q[b+12>>2];d=(d|0)!=((q[e+48>>2]&-3)==5|0)}i=q[b+4>>2];q[f+16>>2]=q[b+60>>2];if(!jd(e,i,228471,f+16|0)){break b}d:{if(d){_c(q[b+12>>2]);Vm(a,b);_c(q[b+12>>2]);break d}Vm(a,b)}d=q[b+4>>2];e=q[b+12>>2];q[f>>2]=q[b+60>>2];jd(e,d,228495,f);if(r[q[b+12>>2]+68|0]!=1){break a}}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);q[b+60>>2]=q[b+60>>2]+1;a=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+a|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Da=f+32|0}function zt(a){var b=0,c=0,d=0;a:{b:{c:{d:{e:{f:{g:{h:{b=a>>>16|0;if(!b){b=a>>>8|0;if(b>>>0<=32){break h}b=b+ -254|0;if(b>>>0>1){break g}if(b-1){return(a|0)==65279|(a&-16)==65024}return a+ -65520>>>0<9}b=b+ -1|0;if(b>>>0>13){break g}i:{switch(b-1|0){default:return a+ -119155>>>0<8;case 12:break i;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break g}}return(a&-4096)==917504}j:{switch(b-1|0){case 31:break j;case 2:break b;case 5:break c;case 22:break d;case 23:break e;case 0:case 1: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 24:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break a}}b=a+ -8203|0;if(b>>>0>=36){break f}d=1;c=b&31;if(!((32<=(b&63)>>>0?15>>>c|0:((1<>>c)&1)){break f}}return d}return(a&-16)==8288}return a+ -6155>>>0<4}return(a&-2)==6068}return(a|0)==1564}return(a|0)==847}return(a|0)==173}function JD(a,b){a=a|0;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=Da-336|0;Da=d;q[d+332>>2]=0;h=q[a+100>>2];n[q[b+60>>2]](b,d+272|0,4,d+268|0);c=q[d+268>>2];a:{if((c|0)<=-1){c=162;q[d+332>>2]=162;break a}b:{if(!c|(c|0)>=5){break b}i=q[b+8>>2];j=q[b>>2];c=Bh(a,0,c);q[d+332>>2]=c;if(c){break a}if(q[d+268>>2]>=1){k=q[a+532>>2];a=0;while(1){c=w(a,12);f=c+(d+272|0)|0;q[b>>2]=q[f>>2];q[b+8>>2]=q[f+4>>2];n[q[b+60>>2]](b,d+16|0,20,d+12|0);e=q[d+12>>2];if(e+ -1>>>0>=20){break b}f=c+k|0;if(q[f+92>>2]){break b}l=f;g=Oa(h,4,0,e<<1,0,d+332|0);q[f+92>>2]=g;c=q[d+332>>2];if(c){break a}e=q[d+12>>2];o[f+88|0]=e;q[f+96>>2]=g+(e<<2);c=0;if((e|0)>=1){while(1){e=(d+16|0)+w(c,12)|0;q[b>>2]=q[e>>2]+1;q[b+8>>2]=q[e+4>>2]+ -1;e=n[q[b+36>>2]](b)|0;g=c<<2;q[g+q[l+92>>2]>>2]=e;e=n[q[b+40>>2]](b,0)|0;q[g+q[f+96>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}a=a+1|0;if((a|0)>2]){continue}break}f=q[d+332>>2]}q[b+8>>2]=i;q[b>>2]=j;c=f;break a}c=3;q[d+332>>2]=3}q[b+12>>2]=c;Da=d+336|0}function MJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{e=r[b+4|0];if(!(e|r[b+5|0]!=120)){c=b+6|0;b=0;while(1){c:{if(r[c|0]){break c}a=o[c+1|0];if((a|0)==59){break b}d=a+ -48|0;if(d>>>0>54){break c}d:{switch(d-10|0){default:b=d|b<<4;break c;case 7:case 8:case 9:case 10:case 11:case 12:b=(a+(b<<4)|0)+ -55|0;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 c;case 39:case 40:case 41:case 42:case 43:case 44:break d}}b=(a+(b<<4)|0)+ -87|0}c=c+2|0;if((b|0)<1114112){continue}break}return-1}d=b+4|0;b=0;while(1){a=-1;c=-1;if(!e){c=o[d+1|0];if((c|0)==59){break b}}b=(w(b,10)+c|0)+ -48|0;if((b|0)>1114111){break a}d=d+2|0;e=r[d|0];continue}}a=-1;c=b>>8;if(c+ -216>>>0<8){break a}e:{if((c|0)!=255){if(r[b+490220|0]|c){break e}break a}if((b|1)==65535){break a}}a=b}return a|0}function _o(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=p[a+70>>1];d=(c|0)<0?-1:1;f=q[b+8>>2];d=(f|0)<0?0-d|0:d;g=b;e=f>>31;e=e+f^e;h=e>>>8|0;i=c;c=c>>31;c=i+c^c;a:{if(h+c>>>0<=8190){c=w(c,e)+32768>>>16|0;break a}c=w(c,e>>>16|0)+w(e,c>>>16|0)+(w(c,e&65535)+32768>>>16)|0}q[g+12>>2]=((d|0)<0?0-c|0:c)+63&-64;c=p[a+72>>1];d=(c|0)<0?-1:1;d=(f|0)<0?0-d|0:d;g=b;i=c;c=c>>31;c=i+c^c;b:{if(c+h>>>0<=8190){c=w(c,e)+32768>>>16|0;break b}c=w(e,c>>>16|0)+w(c,e>>>16|0)+(w(c,e&65535)+32768>>>16)|0}q[g+16>>2]=((d|0)<0?0-c|0:c)&-64;c=p[a+74>>1];d=(c|0)<0?-1:1;d=(f|0)<0?0-d|0:d;g=b;f=c>>31;f=f+c^f;c:{if(f+h>>>0<=8190){e=w(e,f)+32768>>>16|0;break c}e=w(e,f>>>16|0)+w(f,e>>>16|0)+(w(f,e&65535)+32768>>>16)|0}q[g+20>>2]=((d|0)<0?0-e|0:e)+32&-64;d=p[a+76>>1];a=(d|0)<0?-1:1;e=0-a|0;c=a;a=q[b+4>>2];e=(a|0)<0?e:c;c=d;d=d>>31;d=c+d^d;c=a;a=a>>31;a=c+a^a;d:{if(d+(a>>>8|0)>>>0<=8190){a=w(a,d)+32768>>>16|0;break d}a=w(d,a>>>16|0)+w(a,d>>>16|0)+(w(d,a&65535)+32768>>>16)|0}q[b+24>>2]=((e|0)<0?0-a|0:a)+32&-64}function Yf(a){var b=0,c=0,d=0,e=0,f=0;b=q[q[a+4>>2]+96>>2];f=q[b+8>>2];c=q[q[b+12>>2]+68>>2];if(c){n[c](a)}a:{b:{c=q[a+156>>2];if(!c){break b}d=q[c+4>>2];if(!(d&1)){break b}e=q[a+88>>2];if(e){c=q[q[a+4>>2]+100>>2];n[q[c+8>>2]](c,e);c=q[a+156>>2];d=q[c+4>>2]}q[a+88>>2]=0;q[c+4>>2]=d&-2;break a}q[a+88>>2]=0}if(c){if(!(r[q[b>>2]+1|0]&2)){b=q[c>>2];if(b){c=q[b>>2];d=q[b+24>>2];if(d){n[q[c+8>>2]](c,d)}q[b+24>>2]=0;d=q[b+28>>2];if(d){n[q[c+8>>2]](c,d)}q[b+28>>2]=0;d=q[b+32>>2];if(d){n[q[c+8>>2]](c,d)}q[b+32>>2]=0;d=q[b+40>>2];if(d){n[q[c+8>>2]](c,d)}q[b+40>>2]=0;d=q[b+52>>2];if(d){n[q[c+8>>2]](c,d)}q[b+20>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+52>>2]=0;q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+88>>2]=0;d=q[b+24>>2];q[b+56>>2]=q[b+20>>2];q[b+60>>2]=d;e=q[b+32>>2];d=b- -64|0;q[d>>2]=q[b+28>>2];q[d+4>>2]=e;d=q[b+40>>2];q[b+72>>2]=q[b+36>>2];q[b+76>>2]=d;d=q[b+48>>2];q[b+80>>2]=q[b+44>>2];q[b+84>>2]=d;n[q[c+8>>2]](c,b);c=q[a+156>>2]}q[c>>2]=0}if(c){n[q[f+8>>2]](f,c)}q[a+156>>2]=0}}function TN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Sa(36);a:{if(e){p[e+20>>1]=255;q[e+28>>2]=0;q[e+32>>2]=0;q[e+16>>2]=128;q[e+8>>2]=-1;q[e+12>>2]=-1;q[e+4>>2]=e;q[e>>2]=e;b:{if((c|0)<1){f=e;break b}if(!b){f=e;while(1){b=q[(g<<2)+a>>2];if(!(q[f+24>>2]|b&32768?0:(b|0)==q[f+16>>2])){d=Sa(36);if(!d){d=0;break b}q[d+4>>2]=0;q[d+8>>2]=0;p[d+20>>1]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+16>>2]=b;q[d+8>>2]=g;q[d+12>>2]=0;q[f+4>>2]=d;q[f+12>>2]=g-q[f+8>>2];q[d+24>>2]=0;q[d>>2]=f;f=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}break b}f=e;while(1){h=g<<2;i=q[h+a>>2];h=q[b+h>>2];if(!(q[f+24>>2]|i&32768?0:!(h|q[f+16>>2]!=(i|0)))){d=Sa(36);if(!d){d=0;break b}q[d+4>>2]=0;q[d+8>>2]=0;p[d+20>>1]=0;q[d+28>>2]=0;q[d+32>>2]=0;q[d+16>>2]=i;q[d+8>>2]=g;q[d+12>>2]=0;q[f+4>>2]=d;q[f+12>>2]=g-q[f+8>>2];q[d+24>>2]=h;q[d>>2]=f;f=d}g=g+1|0;if((g|0)!=(c|0)){continue}break}}q[f+4>>2]=e;q[f+12>>2]=c-q[f+8>>2];q[e>>2]=f;if(d){break a}q[f+4>>2]=0;while(1){a=q[e+4>>2];La(e);e=a;if(e){continue}break}}e=0}return e}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;h=Da-16|0;Da=h;a:{if(!Nb(b,a,2)){break a}j=q[c>>2];e=q[c+4>>2];m=j+(e<<1)|0;g=-2;f=j;d=e;b:{while(1){c:{k=i;d:{e:{if((f|0)==(m|0)){if(d){break e}g=0;o[a|0]=0;d=l>>>0>w(i,3)>>>0;o[a+1|0]=d?2:1;if(d-1){break c}break b}if(d){break e}i=271312;break d}i=f}n=g+1|0;g=r[i|0]|r[i+1|0]<<8;g=(g<<24|g<<8&16711680)>>>16|0;i=((n|0)!=(g|0))+k|0;l=l+1|0;k=(d|0)!=0;d=d-k|0;f=(k<<1)+f|0;continue}break}d=a+2|0;if(!Nb(b,d,2)){break a}c=(e<<8&16711680|e<<24)>>>16|0;o[a+2|0]=c;o[a+3|0]=c>>>8;f=(e&65280)>>>8|0;c=e;f:{if(e>>>0<65536){break f}c=e;if(!r[b+20|0]){break f}o[b+20|0]=0;f=r[a+2|0];c=r[a+3|0]}if(!Nb(b,d,((f&255)<<9|(c&255)<<1)+2|0)){break a}g=1;if(!e){break a}f=0;d=e;while(1){c=(f<<1)+a|0;b=d?j:271312;b=r[b|0]|r[b+1|0]<<8;o[c+4|0]=b;o[c+5|0]=b>>>8;b=(d|0)!=0;d=d-b|0;j=(b<<1)+j|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}break a}q[h+8>>2]=q[c+8>>2];e=q[c+4>>2];q[h>>2]=q[c>>2];q[h+4>>2]=e;g=$T(a,b,h)}Da=h+16|0;return g}function dK(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=b+4|0;if(!(r[b+5|0]|r[c|0]!=120)){c=b+6|0;b=0;while(1){c:{if(r[c+1|0]){break c}a=o[c|0];if((a|0)==59){break b}d=a+ -48|0;if(d>>>0>54){break c}d:{switch(d-10|0){default:b=d|b<<4;break c;case 7:case 8:case 9:case 10:case 11:case 12:b=(a+(b<<4)|0)+ -55|0;break c;case 0:case 1:case 2:case 3:case 4:case 5:case 6: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 c;case 39:case 40:case 41:case 42:case 43:case 44:break d}}b=(a+(b<<4)|0)+ -87|0}c=c+2|0;if((b|0)<1114112){continue}break}return-1}b=0;while(1){a=-1;d=-1;if(!r[c+1|0]){d=o[c|0];if((d|0)==59){break b}}c=c+2|0;b=(w(b,10)+d|0)+ -48|0;if((b|0)<1114112){continue}break}break a}a=-1;c=b>>8;if(c+ -216>>>0<8){break a}e:{if((c|0)!=255){if(r[b+490220|0]|c){break e}break a}if((b|1)==65535){break a}}a=b}return a|0}function wn(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=q[a+16>>2];g=r[e+12|0]|r[e+13|0]<<8|(r[e+14|0]<<16|r[e+15|0]<<24);i=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);a:{if(!i){break a}h=q[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}m=e+20|0;e=i;b:{c:{while(1){g=e+j>>>1|0;k=w(g,12)+m|0;f=k;d=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);l=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=g;f=f+ -4|0;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(h>>>0>=f>>>0){if(h>>>0<=l>>>0){break c}j=g+1|0;d=e}e=d;if(j>>>0>>0){continue}break}e=0;break b}d=k;d=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=h-f|0;e=d>>>0>(e^-1)>>>0?0:d+e|0}if(!c){return e}c=q[a>>2];if(h>>>0>l>>>0){d=0;g=g+1|0;if((i|0)==(g|0)){break a}}o[a+24|0]=1;q[a+36>>2]=g;q[a+28>>2]=h;d:{if(!(e>>>0>2]?e:0)){vn(a);e=0;if(!r[a+24|0]){break d}e=q[a+32>>2];break d}q[a+32>>2]=e}d=e;q[b>>2]=q[a+28>>2]}return d}function Ln(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Da-16|0;Da=f;q[f+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}g=q[c+8>>2];i=(g|0)>-1?1:-1;d=0;e=q[b+8>>2];j=(e|0)<0?-1:1;if(!q[b+12>>2]){a=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=a;a=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=a;a=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=a;if((i|0)==(j|0)){break a}q[c+8>>2]=0-q[c+8>>2];break a}d=e>>31;e=d+e^d;h=w(e,q[b>>2]);d=q[a>>2];l=c;a=q[c+12>>2];b:{c:{if(a){k=g>>31;g=w(q[c>>2],k^g+k);if((g|0)==(h|0)){break b}a=Lo(d,g,h,a,f+12|0);break c}a=Fj(d,h,f+12|0)}q[l+12>>2]=a}d:{if(q[f+12>>2]){break d}d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;d=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=d;q[c+12>>2]=a;b=q[b+12>>2];if((i|0)==(j|0)){Qa(a,b,h);break d}c=q[c>>2];if(!c){break d}d=0-e|0;a=w(e,c+ -1|0)+a|0;while(1){a=Qa(a,b,e)+d|0;b=b+e|0;c=c+ -1|0;if(c){continue}break}}d=q[f+12>>2]}Da=f+16|0;return d}function Cu(a){var b=0,c=0,d=0;b=q[a>>2];c=tm(b);a:{b:{c:{d=b+ -6042|0;if(d>>>0>67){break c}b=16;d:{switch(d-1|0){case 43:case 48:case 50:case 51:case 52:case 53:case 54:b=21;break a;case 46:case 47:case 49:break b;case 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: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 55:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:break c;case 44:case 45:case 56:case 66:break d;default:break a}}b=22;break a}b=c&127;if((b|0)!=7){break a}e:{c=(c>>>8|0)+ -3|0;if(c>>>0>8){break e}b=28;f:{switch(c-1|0){case 4:b=27;break a;case 2:b=26;break a;case 0:case 1:case 3:case 5:case 6:break e;case 7:break f;default:break a}}b=29;break a}I(241736,241738,106,241769);F()}b=20}o[a+18|0]=b}function AW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=271312;e=r[a+3|0]|r[a+4|0]<<8|(r[a+5|0]<<16|r[a+6|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);j=e?e+d|0:271312;e=j;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if((e|0)>=1){e=e+ -1|0;while(1){i=e+g>>>1|0;f=(i<<2)+j|0;k=r[f+5|0]<<8|r[f+4|0]<<16|r[f+6|0];a:{if(k>>>0>b>>>0){e=i+ -1|0;break a}if(r[f+7|0]+k>>>0>=b>>>0){return 2}g=i+1|0}if((g|0)<=(e|0)){continue}break}}a=r[a+7|0]|r[a+8|0]<<8|(r[a+9|0]<<16|r[a+10|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if((d|0)<1){break b}e=d+ -1|0;g=0;while(1){c:{d=e+g>>>1|0;f=a+w(d,5)|0;f=r[f+5|0]<<8|r[f+4|0]<<16|r[f+6|0];d:{if(f>>>0>b>>>0){e=d+ -1|0;break d}if((b|0)==(f|0)){break c}g=d+1|0}if((g|0)<=(e|0)){continue}break b}break}h=(a+w(d,5)|0)+4|0}a=r[h+4|0]|r[h+3|0]<<8;if(!a){return 0}q[c>>2]=a;return 1}function ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c+ -2>>>0>34){break a}d=q[a>>2];if(d>>>0>=b>>>0){break a}e=r[d|0];f=e+ -43|0;b:{if(f>>>0>2|!(f-1)){break b}f=0;d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=r[d|0];g=e+ -43|0;if(g>>>0>2){break b}if(g-1){break a}}i=2147483647/(c>>>0)|0;c:{d:{if(d>>>0>=b>>>0){q[a>>2]=d;f=0;break d}l=2147483647-w(c,i)|0;f=0;while(1){e:{f:{g:{g=e;if(e>>>0>32){break g}switch(g-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break g;default:break f}}if(e<<24>>24<0){break f}e=o[g+291616|0];if((e|0)<0|(e|0)>=(c|0)){break f}g=1;h=f;h:{if((f|0)>(i|0)){break h}if((f|0)==(i|0)){h=i;if((l|0)<(e|0)){break h}}g=j;h=e+w(c,f)|0}f=h;d=d+1|0;if((d|0)!=(b|0)){break e}j=g;d=b}q[a>>2]=d;a=2147483647;if(j&255){break c}break d}e=r[d|0];j=g;continue}}a=f}f=k?0-a|0:a}return f}function Ii(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=q[a+36>>2];a:{i=q[a+48>>2];m=b<<3;j=q[(i+m|0)+4>>2];b:{if((j|0)>(e|0)){break b}g=q[i+4>>2];if((g|0)<(d|0)){break b}h=g;k=q[a+4>>2];g=0-k|0;l=h&g;h=(l|0)>(e|0);c:{if((j|0)<(d|0)){g=d;break c}g=g&(j+k|0)+ -1;if(j&k+ -1&65535){d=g;break c}if(r[a+79|0]){o[a+79|0]=0;f=f+ -4|0}q[f>>2]=q[(b<<3)+i>>2];d=g+k|0;f=f+4|0}if(r[a+78|0]){q[q[a+80>>2]+20>>2]=g>>q[a>>2];o[a+78|0]=0}g=h?e:l;if((g|0)<(d|0)){break b}if(((g-d>>q[a>>2]<<2)+f|0)+4>>>0>=t[a+32>>2]){break a}j=0-b|0;k=b<<3;e=i;while(1){o[a+79|0]=0;b=q[e+4>>2];d:{if((b|0)>(d|0)){h=b;b=e+k|0;l=q[b+4>>2];h=h-l|0;if((h|0)>=q[a+16>>2]){n[c](e);break d}b=q[b>>2];q[f>>2]=((w(q[e>>2]-b|0,d-l|0)|0)/(h|0)|0)+b;f=f+4|0;d=q[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){o[a+79|0]=1;q[f>>2]=q[e>>2];f=f+4|0;d=q[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(e>>>0>=i>>>0?(d|0)<=(g|0):0){continue}break}i=q[a+48>>2]}q[a+36>>2]=f;q[a+48>>2]=i-m;return 0}q[a+40>>2]=98;q[a+36>>2]=f;return 1}function og(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[a+2744>>2];if(h&4){e=q[a+2748>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(h&2)){break c}break b}if(h&1){break b}}d:{a=e+w(b,7452)|0;if(!q[a+52>>2]){break d}e=q[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=((54-d|0)/2|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}j=e+w(b,7452)|0;k=q[j+52>>2];e:{f:{if(k){a=98;e=d;while(1){l=q[(w(i,12)+j|0)+60>>2];f=d-l|0;g=f>>31;f=g^f+g;g=(f|0)<(a|0);a=g?f:a;e=g?l:e;i=i+1|0;if((k|0)!=(i|0)){continue}break}a=e+32&-64;f=a;if((e|0)<=(d|0)){break f}a=(a+ -48|0)<(d|0)?e:d;break e}e=d;f=d+32&2147483584}a=(f|48)>(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(h&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)>-1?d:0-d|0}return c}function ZN(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,p=0,r=0,s=0;i=q[a+692>>2];if((i|0)>=0){e=q[a+168>>2];c=q[q[a+208>>2]>>2];r=e-c|0;while(1){k=b;e=w(b,336);c=q[a+688>>2];if(!(q[(e+c|0)+152>>2]?0:(b|0)!=(i|0))){e=c+e|0;a:{if(!d){break a}l=q[d+160>>2]+s|0;m=q[d+156>>2];g=-1e6;f=1e6;b=d;j=e+ -336|0;n=b>>>0>j>>>0;if(!n){while(1){h=q[b+96>>2]+32|0;c=h+q[b+88>>2]>>6;g=(g|0)>(c|0)?g:c;c=h+q[b+80>>2]>>6;f=(f|0)>(c|0)?c:f;b=b+336|0;if(b>>>0<=j>>>0){continue}break}}s=l+m|0;b:{c:{h=q[d+152>>2];b=h+ -1|0;if(b>>>0<=2){c=r-l|0;if(b-1){break c}p=+(c|0)/+(m|0)*+(g-f|0)+ +(f|0);if(y(p)<2147483648){c=~~p;break b}c=-2147483648;break b}hb(q[a>>2],1,356467,0);i=q[a+692>>2];break a}c=(c|0)>-1?g+1|0:f}d:{if(n){break d}q[d+152>>2]=h;q[d+156>>2]=c-(q[d+96>>2]+32>>6);b=d+336|0;if(b>>>0>j>>>0){break d}while(1){q[b+152>>2]=q[d+152>>2];q[b+156>>2]=c-(q[b+96>>2]+32>>6);b=b+336|0;if(b>>>0<=j>>>0){continue}break}}o[d+148|0]=1}d=e}b=k+1|0;if((k|0)<(i|0)){continue}break}}}function Ji(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Da-16|0;Da=h;i=q[a+12>>2];if(i){q[(q[a+20>>2]+(i<<4)|0)+ -4>>2]=e}a:{b:{c:{k=i+1|0;g=q[a+16>>2];if(k>>>0>g>>>0){q[h+4>>2]=0;j=i+8&-8;e=Oa(f,16,g,j,q[a+20>>2],h+4|0);q[a+20>>2]=e;g=q[h+4>>2];if(g){break a}q[a+16>>2]=j;g=(i<<4)+e|0;q[g+12>>2]=0;q[g>>2]=0;q[a+12>>2]=k;break c}e=q[a+20>>2];j=e+(i<<4)|0;q[j+12>>2]=0;q[j>>2]=0;q[a+12>>2]=k;if(k){break c}if(!g){q[h+8>>2]=0;e=Oa(f,16,0,8,e,h+8|0);q[a+20>>2]=e;g=q[h+8>>2];if(g){break a}q[a+16>>2]=8}q[e+12>>2]=0;q[e>>2]=0;q[a+12>>2]=1;break b}e=(i<<4)+e|0}a=q[e+4>>2];q[h+12>>2]=0;i=d+7>>>3|0;a=a+7>>>3|0;d:{if(i>>>0<=a>>>0){a=q[e+8>>2];break d}g=f;f=i+7&1073741816;a=Oa(g,1,a,f,q[e+8>>2],h+12|0);q[e+8>>2]=a;g=q[h+12>>2];if(g){break a}q[e+4>>2]=f<<3}q[e>>2]=d;g=0;if(!d){break a}e=(c>>>3|0)+b|0;c=128>>>(c&7)|0;b=128;while(1){f=r[a|0];o[a|0]=r[e|0]&c?f|b:f&(b^-1);b=b>>1;a=b?a:a+1|0;c=c>>1;e=c?e:e+1|0;b=b?b:128;c=c?c:128;d=d+ -1|0;if(d){continue}break}}Da=h+16|0;return g}function Cv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{d=q[b+4>>2];if(d>>>0>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break b}g=a+2|0;if(d>>>0>g>>>0|c>>>0>>0|c-g>>>0<2){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}g=r[a+3|0]|r[a+2|0]<<8;if(!g){return 1}i=g+ -1|0;a=a+4|0;f=0;while(1){if(c>>>0>>0|d>>>0>a>>>0|c-a>>>0<6){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}c=q[b+28>>2];d=q[c+12>>2];q[b+4>>2]=d;c=q[c+16>>2];e=c+d|0;q[b+8>>2]=e;if((c|0)<=-1){break a}c=f>>>0>>0?a:0;c:{if(!c){break c}if(!(e>>>0>c>>>0?c>>>0>=d>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=c;d=r[c+3|0]|r[c+2|0]<<8;e=e-c|0;q[b+8>>2]=c+(e>>>0>d>>>0?d:e)}e=1;d:{if(!j_(a,b)){break d}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;e=0}c=q[b+28>>2];d=q[c+12>>2];q[b+4>>2]=d;h=q[c+16>>2];c=h+d|0;q[b+8>>2]=c;if((h|0)<=-1){break a}if(e){break b}f=f+1|0;if((g|0)!=(f|0)){continue}break}return 1}return 0}I(228734,228759,195,228776);F()}function Zu(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0;l=Da-272|0;Da=l;q[l+268>>2]=0;k=0;a:{if(!Si(a,d,e,q[j>>2],q[j+8>>2],l+268|0,l,0)){break a}e=q[a+96>>2];k=q[e+(r[e+69|0]?80:72)>>2];s=q[j+4>>2];t=q[j>>2];q[a+80>>2]=b;q[a+44>>2]=k;m=q[q[a+48>>2]+96>>2];u=q[m+76>>2];q[a+84>>2]=u;p=q[m+72>>2];if((p|0)==(k|0)){x=r[(q[m+88>>2]+w(k,20)|0)+15|0]}v=a+44|0;q[a+76>>2]=c;q[a+72>>2]=s;q[a+68>>2]=t;o[a- -64|0]=x;if(b){b:{while(1){if(Kf(v)){n=n+1|0;if((n|0)!=(b|0)){continue}break b}break}k=0;break a}t=q[j>>2];k=q[a+44>>2];m=q[q[a+48>>2]+96>>2];p=q[m+72>>2];u=q[m+76>>2];e=q[a+96>>2]}s=q[j+12>>2];b=q[e+72>>2];j=q[l+268>>2];q[a+84>>2]=u;q[a+80>>2]=f;b=(b+j|0)+ -1|0;q[a+44>>2]=b;n=0;c=0;c=(b|0)==(p|0)?r[(q[m+88>>2]+w(p,20)|0)+15|0]:c;q[a+76>>2]=g;q[a+72>>2]=s;q[a+68>>2]=t;o[a+64|0]=c;if(f){c:{while(1){if(id(v)){n=n+1|0;if((n|0)!=(f|0)){continue}break c}break}k=0;break a}e=q[a+96>>2];b=q[a+44>>2]}Zc(e,k,b+1|0);k=zm(a,d,l,h,i,j)}Da=l+272|0;return k}function Dj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Da-32|0;Da=h;i=q[a>>2];a:{b:{c:{if(a){if(!b){a=6;break a}g=n[q[i+4>>2]](i,40)|0;if(g){break b}a=64;break c}a=33;if(!b){break a}}n[q[i+8>>2]](i,b);break a}o[g+20|0]=0;o[g+21|0]=0;o[g+22|0]=0;o[g+23|0]=0;o[g+24|0]=0;o[g+25|0]=0;o[g+26|0]=0;o[g+27|0]=0;o[g+28|0]=0;o[g+29|0]=0;o[g+30|0]=0;o[g+31|0]=0;o[g+32|0]=0;o[g+33|0]=0;o[g+34|0]=0;o[g+35|0]=0;o[g+12|0]=0;o[g+13|0]=0;o[g+14|0]=0;o[g+15|0]=0;o[g+16|0]=0;o[g+17|0]=0;o[g+18|0]=0;o[g+19|0]=0;q[g+8>>2]=0;q[g+4>>2]=c;q[g>>2]=b;o[g+36|0]=0;o[g+37|0]=0;o[g+38|0]=0;o[g+39|0]=0;q[g+24>>2]=13;q[g+20>>2]=0;q[g+32>>2]=0;q[h+16>>2]=g;q[h>>2]=2;if(e){q[h>>2]=10;b=q[a+16>>2];d:{if((b|0)<1){c=0;break d}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=q[b>>2];if(!Ta(q[q[c>>2]+8>>2],e)){break d}b=b+4|0;if(b>>>0>>0){continue}break}c=0}q[h+20>>2]=c}a=Sh(a,h,d,f,0);if(!a){a=q[f>>2];q[a+8>>2]=q[a+8>>2]&-1025;a=0;break a}b=q[g+24>>2];if(b){n[b](g)}n[q[i+8>>2]](i,g)}Da=h+32|0;return a}function ef(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;$b(a,q[a+8>>2]);c=q[a>>2];q[d+12>>2]=c;f=q[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=r[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}q[b>>2]=c;q[b+8>>2]=2;if(El(d+12|0,f)){break e}break d}q[b>>2]=c;q[b+8>>2]=3;if(!js(d+12|0,f)){break d}break e}q[b>>2]=c;q[b+8>>2]=3;q[a>>2]=c+1;$b(a,f);c=q[a>>2];q[d+12>>2]=c;if(f>>>0<=c>>>0){break e}e=1;while(1){if(q[a+12>>2]){break e}g=r[c|0]+ -91|0;h:{if(g>>>0>2){break h}i:{switch(g-1|0){case 1:if((e|0)>1){e=e+ -1|0;break h}c=c+1|0;q[d+12>>2]=c;q[b+4>>2]=c;break a;case 0:break h;default:break i}}e=e+1|0}q[a>>2]=c;Fl(a);$b(a,q[a+8>>2]);c=q[a>>2];q[d+12>>2]=c;if(f>>>0>c>>>0){continue}break}break e}q[b>>2]=c;q[b+8>>2]=r[c|0]==47?4:1;Fl(a);c=q[a>>2];q[d+12>>2]=c;if(!q[a+12>>2]){break c}}c=q[b+4>>2];break b}c=q[d+12>>2]}q[b+4>>2]=c}if(c){break a}q[b+8>>2]=0;q[b>>2]=0}q[a>>2]=q[d+12>>2]}Da=d+16|0}function Rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){e=q[a>>2];g=(e|0)<0?-1:1;f=0-g|0;d=q[b>>2];i=(d|0)<0?f:g;c=e;e=e>>31;e=c+e^e;c=d;d=d>>31;d=c+d^d;a:{if(e+(d>>>8|0)>>>0<=8190){d=w(d,e)+32768>>>16|0;break a}c=e&65535;d=w(c,d>>>16|0)+w(d,e>>>16|0)+(w(c,d&65535)+32768>>>16)|0}h=q[a+4>>2];j=(h|0)<0?-1:1;k=0-j|0;c=q[b+4>>2];l=(c|0)<0?k:j;i=(i|0)<0?0-d|0:d;d=c>>31;c=d+c^d;d=h>>31;d=d+h^d;b:{if((c>>>8|0)+d>>>0<=8190){c=w(d,c)+32768>>>16|0;break b}h=d&65535;c=w(h,c>>>16|0)+w(c,d>>>16|0)+(w(h,c&65535)+32768>>>16)|0}h=(l|0)<0?0-c|0:c;c=q[b+8>>2];g=(c|0)<0?f:g;f=c;c=c>>31;c=f+c^c;c:{if(e+(c>>>8|0)>>>0<=8190){e=w(c,e)+32768>>>16|0;break c}f=e&65535;e=w(f,c>>>16|0)+w(c,e>>>16|0)+(w(f,c&65535)+32768>>>16)|0}b=q[b+12>>2];c=(b|0)<0?k:j;q[a>>2]=h+i;f=(g|0)<0?0-e|0:e;e=b;b=b>>31;b=e+b^b;d:{if(d+(b>>>8|0)>>>0<=8190){b=w(b,d)+32768>>>16|0;break d}g=d&65535;b=w(g,b>>>16|0)+w(b,d>>>16|0)+(w(g,b&65535)+32768>>>16)|0}q[a+4>>2]=f+((c|0)<0?0-b|0:b)}}function vS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>858993458){break c}d=w(d,5);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function jf(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;a:{l=q[b+4>>2];if(l>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0){break a}d=g-a|0;if(d>>>0<3){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;b:{c:{if((c|0)>=1){c=r[a+1|0]|r[a|0]<<8;e=!c;if(!c|d>>>0<3){break b}break c}if(d>>>0>=3){break c}break a}c=q[b+12>>2];i=c+ -1|0;q[b+12>>2]=i;if((c|0)<1){break a}d=r[a+2|0];if((d+ -1&255)>>>0>3){break a}e=0;j=(r[a+1|0]|r[a|0]<<8)+1|0;if(4294967295/(j>>>0)>>>0<=d>>>0){break b}h=w(d,j);if(h){f=a+3|0;if(l>>>0>f>>>0|g>>>0>>0|g-f>>>0>>0){break b}i=c+ -2|0;q[b+12>>2]=i;if((c|0)<2){break b}j=(r[a+1|0]|r[a|0]<<8)+1|0;c=w(d,j)}else{c=0}h=(c+a|0)+3|0;while(1){e=(w(d,m)+a|0)+3|0;f=0;c=d;while(1){f=r[e|0]|f<<8;e=e+1|0;c=c+ -1|0;if(c){continue}break}k=f>>>0>k>>>0?f:k;m=m+1|0;if((m|0)!=(j|0)){continue}break}a=k+ -1|0;if(!a){return 1}e=0;if(!k|l>>>0>h>>>0|(a+a>>>0>>0|g>>>0>>0)){break b}if(g-h>>>0>>0){break b}q[b+12>>2]=i+ -1;e=(i|0)>0}return e}return 0}function Me(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;h=q[b+28>>2];q[a+28>>2]=0;q[a+32>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+12>>2]=0;q[a+16>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=b;q[a+4>>2]=q[b+8>>2];a:{b:{f=a;c:{if(d){d=Hb(b,e+8|0);if(q[e+8>>2]){break b}i=5;break c}d=ib(b,e+8|0);if(q[e+8>>2]){break b}i=3}q[f+8>>2]=i;if(d){f=Ob(b,e+8|0);if(q[e+8>>2]){break b}if((f+ -1&255)>>>0>=4){q[e+8>>2]=8;break b}o[a+16|0]=f;q[a+12>>2]=d;f=f&255;q[a+20>>2]=q[a+8>>2]+(q[a+4>>2]+w(f,d+1|0)|0);d=Ib(b,w(d,f));q[e+8>>2]=d;if(d){break b}d=Wb(q[a>>2],e+12|0,r[a+16|0]);if(d){q[e+8>>2]=d;break b}d:{d=r[a+16|0];e:{if(!d){q[e+8>>2]=0;break e}f=d>>>0>1?d:1;d=0;while(1){g=r[(e+12|0)+d|0]|g<<8;d=d+1|0;if((f|0)!=(d|0)){continue}break}q[e+8>>2]=0;if(g){break d}}q[e+8>>2]=8;break b}f=g+ -1|0;q[a+24>>2]=f;d=e;f:{if(c){b=Bc(b,f,a+32|0);break f}b=Ib(b,f)}q[d+8>>2]=b;if(b){break b}}a=0;break a}b=q[a+28>>2];if(b){n[q[h+8>>2]](h,b)}q[a+28>>2]=0;a=q[e+8>>2]}Da=e+16|0;return a}function xS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>1073741822){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function YN(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;d=q[b>>2];q[c+12>>2]=d;a:{b:{e=r[d|0];if((e|0)!=92){if((e|0)!=9){break b}a=d+1|0;q[c+12>>2]=a;q[b>>2]=a;a=32;break a}e=r[d+1|0]+ -78|0;if(e>>>0>47){break b}c:{d:{e:{f:{g:{switch(e-1|0){case 31:if(q[a+520>>2]!=2){break f}break;case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 26:case 27:case 28:case 29:case 30: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 45:break b;case 46:break c;case 44:break d;case 25:break e;default:break g}}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=10;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=32;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=160;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=123;break a}a=d+2|0;q[c+12>>2]=a;q[b>>2]=a;a=125;break a}a=CP(c+12|0);q[b>>2]=q[c+12>>2]}Da=c+16|0;return a}function Dc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Da+ -64|0;Da=e;a:{if(q[a+12>>2]==-1){break a}g=ab(1,32);if(!g){break a}f=q[c+12>>2];q[e+40>>2]=q[c+8>>2];q[e+44>>2]=f;f=q[c+4>>2];q[e+32>>2]=q[c>>2];q[e+36>>2]=f;Bf(e+48|0,e+32|0);f=q[e+60>>2];q[c+8>>2]=q[e+56>>2];q[c+12>>2]=f;f=q[e+52>>2];q[c>>2]=q[e+48>>2];q[c+4>>2]=f;f=q[c>>2];b:{if(!f){break b}if(!jr(b,f)){i=e,j=Qc(b),q[i+16>>2]=j;a=q[126999];Mc(a,442387,e+16|0);b=q[c+12>>2];q[e+8>>2]=q[c+8>>2];q[e+12>>2]=b;b=q[c+4>>2];q[e>>2]=q[c>>2];q[e+4>>2]=b;Bq(a,e);te(10,a);break b}f=q[c+4>>2];q[g+8>>2]=q[c>>2];q[g+12>>2]=f;f=q[c+12>>2];q[g+16>>2]=q[c+8>>2];q[g+20>>2]=f;q[g+24>>2]=d;q[g>>2]=0;a=ti(a,b);if(a){c=a+4|0;while(1){a=c;c=q[c>>2];if(c){continue}break}q[a>>2]=g;h=1;break a}b=q[c>>2]+ -3|0;if(b>>>0>6){break b}a=q[c+8>>2];c:{switch(b-1|0){default:La(a);break b;case 1:dl(a);break b;case 2:Xc(a);break b;case 4:Sd(a);break b;case 0:case 3:break b;case 5:break c}}La(a)}La(g)}Da=e- -64|0;return h}function Ou(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=r[a+3|0]|r[a+2|0]<<8;d=q[b+96>>2];a:{if((yb(e?e+a|0:271312,q[q[d+88>>2]+w(q[d+72>>2],20)>>2])|0)==-1){break a}c=q[d+72>>2];q[b+36>>2]=1;q[b>>2]=c;f=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[f+76>>2];o[b+20|0]=(c|0)==q[f+72>>2]?r[(q[f+88>>2]+w(c,20)|0)+15|0]:0;if(!id(b)){break a}f=r[a+4|0];h=r[a+5|0];i=r[a+6|0];j=r[a+7|0];e=r[a+9|0]|r[a+8|0]<<8;e=td(e?e+a|0:271312,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);c=r[a+11|0]|r[a+10|0]<<8;c=td(c?c+a|0:271312,q[q[d+88>>2]+w(q[b>>2],20)>>2]);if(e>>>0>=(r[a+13|0]|r[a+12|0]<<8)>>>0){break a}g=r[a+15|0]|r[a+14|0]<<8;if(c>>>0>=g>>>0){break a}f=Z$(f<<8|h);c=c+w(e,g)|0;e=i<<8|j;c=w(c,Z$(e)+f|0);c=(c|0)<0?271312:((c<<1)+a|0)+16|0;b:{if(l=0,m=!Jf(a+4|0,b,a,c,q[d+96>>2]+w(q[d+72>>2],20)|0),n=Jf(a+6|0,b,a,c+(f<<1)|0,q[d+96>>2]+w(q[b>>2],20)|0),n?l:m){break b}a=q[b>>2]+1|0;c=q[d+72>>2];if(a-c>>>0<2){break b}rb(d,c,a)}q[d+72>>2]=q[b>>2]+((e|0)!=0);k=1}return k}function Pv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{f=r[a+3|0]|r[a+2|0]<<8;if(!Vb(f?f+a|0:271312,q[b+8>>2])){break a}f=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=r[d|0]|r[d+1|0]<<8;i=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;l=i>>>0>1;b:{if(l){d=0;c=0;break b}c=0;if(i-1){break b}g=r[d+3|0]|r[d+2|0]<<8;c=g?d+4|0:271704;e=(r[c+1|0]|r[c|0]<<8)>>>0>(r[c+3|0]|r[c+2|0]<<8)>>>0?g:0;c=g?r[d+5|0]|r[d+4|0]<<8:0}g=r[a+5|0]|r[a+4|0]<<8;j=a+6|0;while(1){if(l){break a}c:{if(!(i-1)){if(!g){break a}if(e>>>0<(r[d+3|0]|r[d+2|0]<<8)>>>0){break c}break a}if(!g|e>>>0>=(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}}h=r[j+1|0]|r[j|0]<<8;P_(h?h+a|0:271312,b);d:{if(l){break d}if(i-1){e=e+1|0;break d}h=r[d+3|0]|r[d+2|0]<<8;k=h>>>0>e>>>0?(w(e,6)+d|0)+4|0:271704;if(c>>>0>=(r[k+2|0]<<8|r[k+3|0])>>>0){e=e+1|0;if(e>>>0>=h>>>0){break d}k=f+1|0;c=w(e,6)+d|0;f=r[c+8|0]<<8|r[c+9|0];e=(k|0)==(f|0)?e:h;c=r[c+5|0]|r[c+4|0]<<8;break d}c=c+1|0;f=f+1|0}j=j+2|0;g=g+ -1|0;continue}}}function Eu(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,s=0,u=0,v=0,x=0,y=0,z=0;k=Da-144|0;Da=k;x=(h?2:0)|g|(i?4:0);l=w(c,12)+b|0;m=l;b=q[67829];y=b;n=q[67828];h=(b&65535)<<16|n>>>16;s=q[(c<<2)+236408>>2];z=L$(q[a>>2],s);while(1){a:{q[k+12>>2]=32;cw(q[a>>2],s,d,e,u,k+12|0,k+16|0);c=0;b=q[k+12>>2];if(!b){break a}while(1){v=(k+16|0)+(c<<2)|0;if(t[v>>2]>>0){b:{c:{d:{g=q[l+28>>2];if((g|0)>=0){b=g;i=q[l+32>>2];j=i+1|0;j=(j|0)>0?j:0;if(b>>>0>=j>>>0){break c}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=j>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){g=db(q[m+36>>2],b<<3);if(g){break d}}q[l+28>>2]=-1}q[160744]=n;q[160745]=y;b=642976;g=h;break b}q[m+36>>2]=g;q[l+28>>2]=b;i=q[l+32>>2]}if(j>>>0>i>>>0){Na(q[m+36>>2]+(i<<3)|0,0,j-i<<3)}q[l+32>>2]=j;g=q[m+36>>2]+(j<<3)|0;b=g+ -8|0;g=r[g+ -6|0]}q[b+4>>2]=f;i=q[v>>2];o[b+2|0]=g&248|x;p[b>>1]=i;b=q[k+12>>2]}c=c+1|0;if(c>>>0>>0){continue}break}u=b+u|0;if((b|0)==32){continue}}break}Da=k+144|0} -function NS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<12){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=c+4|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0<8){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}d=r[c+5|0]|r[c+4|0]<<8;if(!d){break b}c=c+12|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=s[b>>1];e=s[a>>1];a:{b:{c:{d:{a=q[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}b=0;a=0;if(d>>>0<=257){a=d<<2;c=q[a+248064>>2];g=c+249100|0;a=q[a+248068>>2]+(c^-1)|0}if(e>>>0<=257){break d}c=0;break b}b=0;f=q[c+8>>2];h=r[f|0]<<8|r[f+1|0];a=0;e:{if(h>>>0<=d>>>0){break e}a=(d<<1)+f|0;d=r[a+2|0]<<8|r[a+3|0];if(d>>>0<=257){a=d<<2;d=q[a+248064>>2];g=d+249100|0;a=q[a+248068>>2]+(d^-1)|0;break e}d=d+ -258|0;a=0;if(d>>>0>=t[c+16>>2]){break e}a=q[c+24>>2]+q[q[c+20>>2]+(d<<2)>>2]|0;g=a+1|0;a=r[a|0]}if(h>>>0>e>>>0){break c}c=0;break b}b=e<<2;c=q[b+248064>>2];b=q[b+248068>>2]+(c^-1)|0;c=c+249100|0;break b}b=(e<<1)+f|0;d=r[b+2|0]<<8|r[b+3|0];if(d>>>0<=257){b=d<<2;c=q[b+248064>>2];b=q[b+248068>>2]+(c^-1)|0;c=c+249100|0;break b}b=0;d=d+ -258|0;if(d>>>0>=t[c+16>>2]){c=0;break b}b=q[c+24>>2]+q[q[c+20>>2]+(d<<2)>>2]|0;c=b+1|0;b=r[b|0]}if((a|0)!=(b|0)){return b-a|0}if(!a){break a}i=Oc(c,g,a)}return i}function vx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g>>>0<6){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8;if(4294967295/(g>>>0)>>>0<=e>>>0){break a}g=w(e,g);if(g){e=a+10|0;if(i>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8}d=0;b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}d=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+d|0;if(!i){return 1}g=a+10|0;e=0;while(1){h=j<<8|h;f=0;c:{if(!h){break c}d=g+w(h+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}f=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(f+h>>>0<=e>>>0){break d}d=g+w(r[a+1|0]|r[a|0]<<8,e)|0}if(ux(d,b,q[c>>2])){e=e+1|0;if((i|0)==(e|0)){return 1}h=r[a+3|0];j=r[a+2|0];continue}break}}return 0}function Sw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g>>>0<6){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8;if(4294967295/(g>>>0)>>>0<=e>>>0){break a}g=w(e,g);if(g){e=a+10|0;if(i>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8}d=0;b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}d=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+d|0;if(!i){return 1}g=a+10|0;e=0;while(1){h=j<<8|h;f=0;c:{if(!h){break c}d=g+w(h+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}f=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(f+h>>>0<=e>>>0){break d}d=g+w(r[a+1|0]|r[a|0]<<8,e)|0}if(Rw(d,b,q[c>>2])){e=e+1|0;if((i|0)==(e|0)){return 1}h=r[a+3|0];j=r[a+2|0];continue}break}}return 0}function rd(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{if(!r[a+69|0]){if(t[a+76>>2]>>0){break d}q[a+72>>2]=b;break f}if(r[a+68|0]!=1){break e}c=q[a+80>>2];d=q[a+72>>2];if((c+q[a+76>>2]|0)-d>>>0>>0){break c}if(c>>>0>>0){if(t[a+84>>2]<=b>>>0){if(!pe(a,b)){break e}}d=b-c|0;e=q[a+92>>2];c=q[a+88>>2];g:{if((e|0)!=(c|0)){b=c;break g}f=q[a+80>>2];b=e;if(d+f>>>0<=d+q[a+72>>2]>>>0){break g}if(!r[a+69|0]){break b}b=q[a+96>>2];q[a+92>>2]=b;Qa(b,c,w(f,20));e=q[a+92>>2];b=q[a+88>>2]}sb(w(q[a+80>>2],20)+e|0,b+w(q[a+72>>2],20)|0,w(d,20));q[a+72>>2]=d+q[a+72>>2];q[a+80>>2]=d+q[a+80>>2];break f}if(c>>>0<=b>>>0){break f}b=c-b|0;if(d>>>0>>0){if(!gS(a,b)){break e}d=q[a+72>>2]}if(d>>>0>>0){break a}e=d-b|0;q[a+72>>2]=e;c=q[a+80>>2]-b|0;q[a+80>>2]=c;sb(q[a+88>>2]+w(e,20)|0,q[a+92>>2]+w(c,20)|0,w(b,20))}e=1}return e}I(272675,272586,385,272684);F()}I(272692,272586,392,272684);F()}I(272574,272586,167,272599);F()}I(272719,272586,418,272684);F()}function eQ(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=q[a+28>>2];if(!r[d+44|0]){g=q[b+4>>2];i=q[b>>2];o[d+44|0]=1;e=q[d+20>>2];if(!e){c=3;break b}c:{if(r[d+45|0]){c=q[d+12>>2];if((p[c+20>>1]+p[c+56>>1]|0)+1>>>0>t[c+8>>2]){c=Xb(c,0,1);if(c){break b}}f=s[e>>1];c=f<<16>>16;if((c|0)<1){break c}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}c=s[e>>1]}p[e>>1]=c+1;c=q[d+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+1>>>0>t[c+4>>2]){c=Xb(c,1,0);if(c){break b}}c=q[d+20>>2];if(r[d+45|0]){e=q[c+8>>2];f=p[c+2>>1];h=q[c+4>>2]+(f<<3)|0;q[h+4>>2]=g>>10;q[h>>2]=i>>10;o[e+f|0]=1}p[c+2>>1]=s[c+2>>1]+1}c=q[b+12>>2];e=q[b+8>>2];d:{b=q[d+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+1>>>0>t[b+4>>2]){b=Xb(b,1,0);if(b){break d}}a=q[d+20>>2];if(r[d+45|0]){b=q[a+8>>2];d=p[a+2>>1];g=q[a+4>>2]+(d<<3)|0;q[g+4>>2]=c>>10;q[g>>2]=e>>10;o[b+d|0]=1}p[a+2>>1]=s[a+2>>1]+1;return}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=b;break a}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c}}function $M(a,b,c,d,e){a=a|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(!(!e|!d)){j=e<<5;while(1){g=0;h=a;while(1){f=r[b+g|0];p[h>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|1)+b|0];p[h+2>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|2)+b|0];p[h+4>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|3)+b|0];p[h+6>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|4)+b|0];p[h+8>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|5)+b|0];p[h+10>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|6)+b|0];p[h+12>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|7)+b|0];p[h+14>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|8)+b|0];p[h+16>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|9)+b|0];p[h+18>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|10)+b|0];p[h+20>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|11)+b|0];p[h+22>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|12)+b|0];p[h+24>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|13)+b|0];p[h+26>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|14)+b|0];p[h+28>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|15)+b|0];p[h+30>>1]=(f<<7|f>>>1)+1>>>1;h=h+j|0;g=g+16|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+32|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function zw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);g=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+a|0;e=q[d+48>>2];b=Sc(g,b,e);if(b){f=r[b+1|0]|r[b|0]<<8}b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);b=Sc((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);if(b){h=r[b+1|0]|r[b|0]<<8}g=q[d+20>>2];f=f+h|0;b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);h=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0;b=(f<<1)+h|0;a:{if(g>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<2){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}f=(r[(h+(f<<1)|0)+1|0]|r[b|0]<<8)<<16>>16;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}a=a+f|0;if(g>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;i=(a<<24|a<<8&16711680)>>16}return i}function xj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0;g=Da-16|0;Da=g;a:{if(o[a+372|0]&1){i=q[a+52>>2];j=q[a+48>>2];k=s[a+46>>1];h=s[a+44>>1];l=q[a+36>>2];m=q[a+40>>2];f=a- -64|0;t=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=t;f=q[a+60>>2];q[g>>2]=q[a+56>>2];q[g+4>>2]=f;f=a+290|0;break a}i=q[a+88>>2];j=q[a+84>>2];k=s[a+82>>1];h=s[a+80>>1];l=q[a+72>>2];m=q[a+76>>2];f=q[a+104>>2];q[g+8>>2]=q[a+100>>2];q[g+12>>2]=f;f=q[a+96>>2];q[g>>2]=q[a+92>>2];q[g+4>>2]=f;f=a+292|0}f=s[f>>1];b:{if(f>>>0>=h>>>0){if(r[a+565|0]){q[a+12>>2]=134}p[e>>1]=0;a=1;break b}q[d+16>>2]=i;q[d+12>>2]=j;p[d+10>>1]=k;p[d+8>>1]=h;q[d>>2]=l;q[d+4>>2]=m;h=q[g+4>>2];q[d+20>>2]=q[g>>2];q[d+24>>2]=h;h=q[g+12>>2];q[d+28>>2]=q[g+8>>2];q[d+32>>2]=h;p[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=n[q[a+576>>2]](a,q[d>>2]-q[b>>2]|0,q[d+4>>2]-q[b+4>>2]|0)|0;u=e,v=bb(b,p[a+302>>1],q[a+568>>2]),q[u>>2]=v;u=c,v=bb(b,p[a+304>>1],q[a+568>>2]),q[u>>2]=v;a=0}Da=g+16|0;return a}function QW(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0,o=0,p=0,s=0,t=x(0),v=0,y=x(0);p=r[a+5|0]|r[a+4|0]<<8;n=p>>>0>>0?p:f;if(n){while(1){g=(o<<1)+a|0;g=r[g+6|0]<<8|r[g+7|0];a:{if((r[d+3|0]|r[d+2|0]<<8)>>>0<=g>>>0){k=x(0);break a}k=x(1);s=r[d+1|0]|r[d|0]<<8;if(!s){break a}v=(w(w(g,s),6)+d|0)+4|0;l=0;while(1){i=0;i=l>>>0>>0?q[(l<<2)+b>>2]:i;y=k;t=x(1);h=w(l,6)+v|0;g=r[h+2|0]|r[h+3|0]<<8;j=(g<<24|g<<8&16711680)>>16;g=r[h|0]|r[h+1|0]<<8;m=(g<<24|g<<8&16711680)>>16;b:{if((j|0)<(m|0)){break b}g=r[h+4|0]|r[h+5|0]<<8;h=(g<<24|g<<8&16711680)>>16;if((h|0)<(j|0)|((h|0)>0?!(!j|(m|0)>-1):0)){break b}if(!j|(i|0)==(j|0)){break b}if((i|0)<=(m|0)){k=x(0);break a}if((i|0)>=(h|0)){k=x(0);break a}k=x(0);g=(i|0)<(j|0);t=x(x((g?i-m|0:h-i|0)|0)/x((g?j-m|0:h-j|0)|0));if(t==x(0)){break a}}k=x(y*t);l=l+1|0;if((s|0)!=(l|0)){continue}break}}u[(o<<2)+e>>2]=k;o=o+1|0;if((n|0)!=(o|0)){continue}break}}if(p>>>0>>0){Na((n<<2)+e|0,0,f-n<<2)}}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;c=Da-1232|0;Da=c;d=q[b>>2]+1|0;a:{if(d>>>0>10){break a}b:{switch(d-1|0){default:Lc(489900,9,1,a);break a;case 0:Lc(489910,6,1,a);break a;case 1:q[c>>2]=q[b+8>>2];Mc(a,489917,c);break a;case 2:v[c+16>>3]=v[b+8>>3];Wj(a,489923,c+16|0);break a;case 3:q[c+32>>2]=q[b+8>>2];Mc(a,489685,c+32|0);break a;case 4:d=a;a=q[b+8>>2];Mc(d,(a|0)==1?489929:a?489940:489934,0);break a;case 5:b=q[b+8>>2];e=v[b>>3];f=v[b+8>>3];g=v[b+16>>3];v[c+72>>3]=v[b+24>>3];v[c- -64>>3]=g;v[c+56>>3]=f;v[c+48>>3]=e;Wj(a,489949,c+48|0);break a;case 6:if(q[126998]!=(a|0)){break a}Ek(q[b+8>>2]);break a;case 8:a=q[b+8>>2];cg(c+1144|0,c+112|0,1024);c:{d:{if(!Lq(c+1144|0,a)){break d}if(!Ng(c+1144|0,0)){break d}q[c+80>>2]=q[c+1144>>2];Ua(489284,c+80|0);break c}Ua(489287,0)}uc(c+1144|0);break a;case 7:Lc(489964,4,1,a);break a;case 9:break b}}b=q[b+8>>2];e=v[b>>3];v[c+104>>3]=v[b+8>>3];v[c+96>>3]=e;Wj(a,489969,c+96|0)}Da=c+1232|0}function Kp(a,b,c){var d=0;d=Da-144|0;Da=d;q[d+140>>2]=c+4;c=q[c>>2];c=(b|0)==4?c|32768:c;a:{b:{if(b>>>0>16){break b}if(!(1<>2]=c;a=L(a|0,14,d+16|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+48>>2]=d+128;b=L(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){q[d+32>>2]=c;a=L(a|0,9,d+32|0)|0;break a}if(b>>>0>=4294963201){q[160942]=0-b;a=-1}else{a=b}break a}a=q[d+132>>2];a=q[d+128>>2]==2?0-a|0:a;break a}q[d+112>>2]=c;a=L(a|0,b|0,d+112|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}if((b|0)!=1030){q[d>>2]=c;a=L(a|0,b|0,d|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+96>>2]=c;b=L(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=b;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+80>>2]=0;b=L(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){O(b|0)|0}q[160942]=28;a=-1;break a}q[d+64>>2]=c;a=L(a|0,0,d- -64|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}}Da=d+144|0;return a}function mm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=(r[c+1|0]>>>4&3)+1|0;i=r[c+3|0]|r[c+2|0]<<8;if(4294967295/(d>>>0)>>>0<=i>>>0){break c}d=w(d,i);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function eA(a,b){a=a|0;b=b|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(a+4>>>0>t[b+160>>2]){kb(b,8)}c=r[a+3|0]|r[a+2|0]<<8;i=c+a|0;if(!(i>>>0<=t[b+160>>2]?c>>>0>=518:0)){kb(b,8)}c=a+6|0;while(1){d=r[c+1|0];f=d|r[c|0]<<8;if(!(!(d&7)|t[b+164>>2]<2)){kb(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>t[b+160>>2]){kb(b,8)}a=0;while(1){d=c+8|0;f=r[c+3|0]|r[c+2|0]<<8;a:{if(!f){c=d;break a}e=r[c+7|0]|r[c+6|0]<<8;k=r[c+4|0];l=r[c+5|0];h=r[c|0];m=r[c+1|0];b:{if(t[b+164>>2]<2){break b}h=h<<8|m;if(f>>>0<=256-h>>>0?h>>>0<=255:0){break b}kb(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=j>>>0:0)){kb(b,9)}if(!q[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=r[d+1|0]|r[d|0]<<8;if(!(!d|(d+e&65535)>>>0>2])){kb(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(a>>>0<=g>>>0){continue}break}return 0}function VB(a,b,c){a=a|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=Da-16|0;Da=g;q[g+12>>2]=0;i=q[c>>2];d=gb(i,24,g+12|0);e=q[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=r[a|0];o[d+4|0]=h;f=r[a+1|0]|r[a+2|0]<<8;p[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=r[a+3|0];o[d+5|0]=f;k=q[c+148>>2];l=q[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;q[d+8>>2]=f;q[d+12>>2]=(e+l|0)-k;if(e+w(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+w(f,h+ -1|0)|0;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}q[d+16>>2]=r[a+5|0]|r[a+4|0]<<16;a=e+w(f,h+ -1|0)|0;a=r[a|0]<<16|r[a+1|0]}e=0;q[d>>2]=0;q[d+20>>2]=a;q[q[c+140>>2]>>2]=d;q[c+140>>2]=d;q[c+132>>2]=q[c+132>>2]+h;break a}if(d){n[q[i+8>>2]](i,d)}e=q[g+12>>2];break a}if(d){n[q[i+8>>2]](i,d)}e=8;q[g+12>>2]=8}Da=g+16|0;return e|0}function Eo(a,b){var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];if(q[a+248>>2]){d=q[a+92>>2]>>6;while(1){f=c<<2;g=Ma(q[f+q[e+704>>2]>>2],d);q[f+q[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=q[a+300>>2];d=Aj(c,e,a);if(!d){o[c+565|0]=b;o[c+492|0]=0;q[c+16>>2]=0;q[c+432>>2]=0;f=q[e+696>>2];b=q[e+692>>2];q[c+464>>2]=0;q[c+468>>2]=0;q[c+460>>2]=b;q[c+456>>2]=f;d=0;if(b){q[c+368>>2]=b;q[c+360>>2]=f;q[c+364>>2]=0;q[c+356>>2]=2;d=n[q[e+708>>2]](c)|0}q[a+308>>2]=d;p[c+304>>1]=0;p[c+296>>1]=1073741824;p[c+298>>1]=16384;p[c+300>>1]=1073741824;p[c+302>>1]=16384;q[c+288>>2]=0;q[c+292>>2]=1073741824;p[c+352>>1]=1;q[c+348>>2]=65537;q[c+308>>2]=1;Qa(a+180|0,c+288|0,68);q[a+124>>2]=q[c+400>>2];q[a+136>>2]=q[c+412>>2];q[a+148>>2]=q[c+424>>2];q[a+152>>2]=q[c+428>>2];b=q[c+452>>2];q[a+156>>2]=q[c+448>>2];q[a+160>>2]=b;b=q[c+460>>2];q[a+164>>2]=q[c+456>>2];q[a+168>>2]=b;b=q[c+468>>2];q[a+172>>2]=q[c+464>>2];q[a+176>>2]=b}return d}function BO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;yi(b);yi(b+24|0);yi(b+48|0);a:{if(q[a+20>>2]){while(1){c=q[a+24>>2];e=w(h,24);b=q[c+e>>2];b:{if(!b){break b}f=q[b+ -8>>2];if(!f){break a}d=b+ -4|0;g=q[d>>2];if(!g){break a}i=d;d=g+ -1|0;q[i>>2]=d;if(d){break b}g=b+ -32|0;c=q[g>>2];if(c){d=q[b+ -24>>2];if(d){q[d+12>>2]=q[b+ -20>>2]}q[q[b+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-f}c=q[b+ -28>>2];n[q[c+16>>2]](b+(q[c+24>>2]+7&-8)|0,b);La(g);c=q[a+24>>2]}b=q[(c+e|0)+4>>2];c:{if(!b){break c}e=q[b+ -8>>2];if(!e){break a}c=b+ -4|0;d=q[c>>2];if(!d){break a}i=c;c=d+ -1|0;q[i>>2]=c;if(c){break c}f=b+ -32|0;c=q[f>>2];if(c){d=q[b+ -24>>2];if(d){q[d+12>>2]=q[b+ -20>>2]}q[q[b+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-e}c=q[b+ -28>>2];n[q[c+16>>2]](b+(q[c+24>>2]+7&-8)|0,b);La(f)}h=h+1|0;if(h>>>0>2]){continue}break}}La(q[a+24>>2]);return}I(355429,355403,453,355477);F()}function Ao(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=Da-16|0;Da=c;d=q[a+104>>2];f=q[d+28>>2];g=q[a+736>>2];o[g+24|0]=1;a=n[q[a+516>>2]](a,1635148146,d,c+8|0)|0;q[c+12>>2]=a;a:{if(a){break a}a=mb(d,q[c+8>>2]);q[c+12>>2]=a;if(a){break a}a=fc(d);e=fc(d);b:{if((a|0)!=65536|(e|0)!=q[q[g+12>>2]>>2]){break b}a=Oa(f,8,0,e,0,c+12|0);q[g+28>>2]=a;if(q[c+12>>2]|(e|0)<1){break b}while(1){c:{b=ob(d);p[a>>1]=b;if(b<<2>>>0>t[c+8>>2]){break c}k=a,l=Oa(f,8,0,b,0,c+12|0),q[k+4>>2]=l;if(q[c+12>>2]){break c}b=0;if(s[a>>1]){while(1){i=ob(d);j=b<<3;q[j+q[a+4>>2]>>2]=i<<16>>16<<2;i=ob(d);q[(q[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((e|0)!=(h|0)){continue}break b}break}a=q[g+28>>2];if(h){while(1){e=h+ -1|0;b=e<<3;a=q[(b+a|0)+4>>2];if(a){n[q[f+8>>2]](f,a)}a=q[g+28>>2];q[(b+a|0)+4>>2]=0;b=(h|0)>1;h=e;if(b){continue}break}}if(a){n[q[f+8>>2]](f,a)}q[g+28>>2]=0}jb(d)}Da=c+16|0}function dN(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=Da-16|0;Da=h;i=a+768|0;a:{b:{if(!c){break b}if(wr(i,c,0)){break b}hb(q[a>>2],2,437860,0);break a}c:{if(!d){break c}if(wr(i,d,(c|0)!=0)){break c}hb(q[a>>2],2,437860,0);break a}c=q[a+772>>2];e=q[a+780>>2];if((c|0)>(e|0)){break a}d=q[a+776>>2];f=q[a+784>>2];if((d|0)>(f|0)){break a}d:{j=d+ -1>>6;d=(f+127>>6)-j|0;k=c+ -1>>6;c=(e+127>>6)-k|0;e:{if((d|c)<0){break e}f=q[a+764>>2];e=-1<>2];g=e^-2147483648;if((c|0)>(g|0)){break e}if((d|0)<=(g|0)){break d}}a=q[a>>2];q[h+4>>2]=d;q[h>>2]=c;hb(a,2,437894,h);break a}g=1<>2];l=0-g|0;m=e^-1;f=e&c+m;c=f>>>0>l>>>0?f:l&(f+g|0)+ -1;d=e&d+m;if(c>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}e=oe(g,w(c,d)+32|0,0);if(!e){break a}q[b+20>>2]=e;q[b+16>>2]=c;q[b+12>>2]=d;q[b+8>>2]=f;q[b+4>>2]=j;q[b>>2]=k;n=1;if(mN(q[a+764>>2],i,e,k,j,c,d,c)){break a}n=0;hb(q[a>>2],2,437932,0);gd(q[b+20>>2])}Da=h+16|0;return n}function uh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=q[a+100>>2];d=c;b=q[a+292>>2];if(b){n[q[d+8>>2]](d,b)}q[a+292>>2]=0;b=q[a+308>>2];if(b){n[q[c+8>>2]](c,b)}q[a+308>>2]=0;d=q[a+284>>2];if(d){b=c;if(q[a+280>>2]>=1){while(1){b:{if(!d){break b}e=w(f,12)+d|0;d=q[e>>2];if(d){n[q[c+8>>2]](c,d)}q[e>>2]=0;if(!r[e+4|0]){break b}d=q[e+8>>2];if(d){n[q[c+8>>2]](c,d)}q[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=q[a+284>>2];continue}break}d=q[a+284>>2]}if(d){n[q[b+8>>2]](b,d)}q[a+284>>2]=0}b=q[a+192>>2];if(b){n[q[c+8>>2]](c,b)}q[a+192>>2]=0;b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+176>>2];if(b){n[q[c+8>>2]](c,b)}q[a+176>>2]=0;b=q[a+180>>2];if(b){n[q[c+8>>2]](c,b)}q[a+180>>2]=0;c=q[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=q[c+24>>2];if(!b){break c}n[b](c)}q[a+104>>2]=q[a+172>>2]}}function pb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(r[b|0]){g=v[b+8>>3];break a}o[b|0]=1;g=v[b+8>>3];f=v[a+128>>3];if(!!(g>f)){v[b+8>>3]=f;g=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!(f>v[b+32>>3])){break a}v[b+32>>3]=f}f=v[c>>3];if(!!(g>f)){v[b+8>>3]=f;g=f;f=v[c>>3]}h=v[b+24>>3];if(!!(f>h)){v[b+24>>3]=f;h=f}i=v[b+16>>3];f=v[c+8>>3];if(!!(i>f)){v[b+16>>3]=f;i=f;f=v[c+8>>3]}j=v[b+32>>3];if(!!(f>j)){v[b+32>>3]=f;j=f}f=v[d>>3];if(!!(g>f)){v[b+8>>3]=f;f=v[d>>3]}if(!!(f>h)){v[b+24>>3]=f}g=v[d+8>>3];if(!!(i>g)){v[b+16>>3]=g;g=v[d+8>>3]}if(!!(g>j)){v[b+32>>3]=g}c=q[e+4>>2];q[a+128>>2]=q[e>>2];q[a+132>>2]=c;c=q[e+12>>2];q[a+136>>2]=q[e+8>>2];q[a+140>>2]=c;g=v[a+128>>3];if(!!(v[b+8>>3]>g)){v[b+8>>3]=g;g=v[a+128>>3]}if(!!(g>v[b+24>>3])){v[b+24>>3]=g}g=v[a+136>>3];if(!!(v[b+16>>3]>g)){v[b+16>>3]=g;g=v[a+136>>3]}if(!!(g>v[b+32>>3])){v[b+32>>3]=g}}function gW(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0);e=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!f){break a}e=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(!(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break a}e=a+f|0;f=r[e+2|0]<<8|r[e+3|0];if(f){h=r[e+1|0];g=(h>>>4&3)+1|0;e=(e+w(g,f>>>0>b>>>0?b:f+ -1|0)|0)+4|0;b=0;while(1){b=r[e|0]|b<<8;e=e+1|0;g=g+ -1|0;if(g){continue}break}e=(h&15)+1|0;b=b>>>e<<16|(-1<>>8&65280|a>>>24);a=a?e+a|0:271312;e=b>>>16|0;if((r[a+6|0]<<8|r[a+7|0])>>>0<=e>>>0){break a}e=a+(e<<2)|0;e=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=e?e+a|0:271312;e=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=Vi(f,b&65535,c,d,a?e+a|0:271312)}return i}function w_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=q[b+4>>2];if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|e>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c:{d:{f=c+d|0;if(!Tb(f,b,f)){break d}g=q[b+4>>2];d=f+2|0;if(g>>>0>d>>>0){break d}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break d}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break d}i=r[d+1|0]|r[d|0]<<8;if(!i){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break d}q[b+12>>2]=e+ -2;if((e|0)<2){break d}e=r[d+1|0]|r[d|0]<<8;if(!e){break b}c=0;while(1){if(!Fv((d+(c<<1)|0)+2|0,b,f)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function v_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=q[b+4>>2];if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|e>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c:{d:{f=c+d|0;if(!Tb(f,b,f)){break d}g=q[b+4>>2];d=f+2|0;if(g>>>0>d>>>0){break d}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break d}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break d}i=r[d+1|0]|r[d|0]<<8;if(!i){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break d}q[b+12>>2]=e+ -2;if((e|0)<2){break d}e=r[d+1|0]|r[d|0]<<8;if(!e){break b}c=0;while(1){if(!r_((d+(c<<1)|0)+2|0,b,f)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function iK(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{f=r[e+1|0];if(f+ -216>>>0<4){break i}g=2;if(f){break c}f=r[r[e|0]+h|0]+ -3|0;if(f>>>0>27){break c}switch(f-1|0){case 3:break i;case 0:case 1:case 4: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:break c;case 2:break d;case 5:break e;case 6:break f;case 26:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return gi(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=nq(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function dh(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+48>>2])}b=q[a+84>>2];if(b){n[b](q[a+52>>2])}b=q[a+88>>2];if(b){n[b](q[a+56>>2])}b=q[a+92>>2];if(b){n[b](q[a+60>>2])}b=q[a+96>>2];if(b){n[b](q[a- -64>>2])}b=q[a+100>>2];if(b){n[b](q[a+68>>2])}b=q[a+104>>2];if(b){n[b](q[a+72>>2])}b=q[a+108>>2];if(b){n[b](q[a+76>>2])}dh(q[a+12>>2]);La(a)}return}I(272496,272521,279,272556);F()}function So(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 33}e=6;a:{if(!d){break a}f=q[a>>2];if(!f){break a}q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if((c|0)<0|c>>>0>b>>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{if(!b){e=0;q[d+4>>2]=0;g=d+4|0;break e}e=b<<3;g=n[q[f+4>>2]](f,e)|0;if(!g){c=d+4|0;g=c;e=64;break b}i=d,j=Na(g,0,e),q[i+4>>2]=j;g=d+4|0;e=n[q[f+4>>2]](f,b)|0;if(!e){break d}Na(e,0,b)}q[d+8>>2]=e;e=0;f:{g:{if(c){if((c|0)>1073741823){break g}h=c<<1;e=n[q[f+4>>2]](f,h)|0;if(!e){break f}Na(e,0,h)}p[d+2>>1]=b;q[d+12>>2]=e;p[d>>1]=c;q[d+16>>2]=q[d+16>>2]|1;return 0}c=d+12|0;e=10;break b}c=d+12|0;break c}c=d+8|0}e=64}q[c>>2]=0;q[d+16>>2]=q[d+16>>2]|1;a=q[a>>2];if(!a){break a}b=q[g>>2];if(b){n[q[a+8>>2]](a,b)}q[d+4>>2]=0;b=q[d+8>>2];if(b){n[q[a+8>>2]](a,b)}q[d+8>>2]=0;b=q[d+12>>2];if(b){n[q[a+8>>2]](a,b)}q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0}return e}function p_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;h=1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(e>>>0>>0|f>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c=c+g|0;c:{if(f>>>0>c>>>0|e>>>0>>0){break c}e=e-c|0;if(e>>>0<2){break c}q[b+12>>2]=d+ -3;if((d|0)<3){break c}f=r[c|0]|r[c+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;if(f>>>0>2){break b}d:{switch(f-1|0){default:if(e>>>0<4){break c}q[b+12>>2]=d+ -4;if((d|0)<=3){break c}break b;case 0:if(e>>>0<4){break c}q[b+12>>2]=d+ -4;if((d|0)<=3){break c}break b;case 1:break d}}if(e>>>0<6){break c}q[b+12>>2]=d+ -4;if((d|0)<4){break c}if(Lf(c+4|0,b,c)){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function md(a,b,c,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=6;a:{if(!a|!c){break a}g=q[c>>2];if(!g){break a}i=q[g+100>>2];h=q[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=n[q[i+4>>2]](i,h)|0;if(!e){e=64;break b}f=Na(e,0,h)}e=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=e;q[f+8>>2]=q[c+8>>2];q[f+12>>2]=a;d:{a=q[a+4>>2];if(a){e=n[a](f,b)|0;if(e){break d}}a=q[g+36>>2];b=a+1|0;if((a|b)<0){e=6;break d}h=q[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}n[q[i+8>>2]](i,h);q[g+40>>2]=0;break e}e=10;if((a|0)>536870910){break d}h:{if(!a){c=n[q[i+4>>2]](i,b<<2)|0;e=!c<<6;break h}b=n[q[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;e=!b<<6}if(e|!c){break f}a=(a<<2)+c|0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}q[g+40>>2]=c;break e}q[g+40>>2]=c;if(e){break d}}a=q[g+36>>2];q[g+36>>2]=a+1;q[(a<<2)+c>>2]=f;e=0;break b}a=q[q[f>>2]+100>>2];b=q[q[f+12>>2]+8>>2];if(b){n[b](f)}n[q[a+8>>2]](a,f);f=0}if(!d){break a}q[d>>2]=f}return e|0}function g_(a,b){var c=0,d=0,e=0,f=0,g=0;e=r[a+5|0];if(e>>>0>3){return 1}a:{b:{c:{switch(e-1|0){default:e=0;f=q[b+4>>2];d=a+8|0;if(f>>>0>d>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<8){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break b}g=r[a+9|0]|r[a+8|0]<<8;if(g){a=a+16|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break b}q[b+12>>2]=d+ -2;if((d|0)<2){break b}}return 1;case 0:e=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<18){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}return Bm(a+8|0,b);case 1:return f_(a,b);case 2:break c}}f=q[b+4>>2];if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<14){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;e=1;if((d|0)<1){break a}g=w(r[a+12|0],r[a+11|0])+(r[a+10|0]+(r[a+9|0]|r[a+8|0]<<8)<<1)|0;if(!g){break b}a=a+14|0;if(f>>>0>a>>>0|c>>>0>>0){break a}e=0;if(c-a>>>0>>0){break b}q[b+12>>2]=d+ -2;e=(d|0)>1}return e}return 0}function RJ(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{f=r[e|0];if(f+ -216>>>0<4){break i}g=2;if(f){break c}f=r[r[e+1|0]+h|0]+ -3|0;if(f>>>0>27){break c}switch(f-1|0){case 3:break i;case 0:case 1:case 4: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:break c;case 2:break d;case 5:break e;case 6:break f;case 26:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return fi(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=jq(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function lt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=271710;d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if((d|0)<1){break a}g=d+ -1|0;while(1){b:{h=g+i>>>1|0;d=w(h,12)+a|0;e=d+16|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);c:{if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>b>>>0){g=h+ -1|0;break c}d=r[d+20|0]|r[d+21|0]<<8|(r[d+22|0]<<16|r[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break b}i=h+1|0}if((i|0)<=(g|0)){continue}break a}break}f=(w(h,12)+a|0)+16|0}g=0;a=f;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d:{if(d>>>0>(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break d}a=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);a=(b-d|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;if(!a){break d}q[c>>2]=a;g=1}return g}function QQ(a,b,c,d){a=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=Da+ -64|0;Da=e;q[e+60>>2]=0;i=b+108|0;h=q[a+8>>2];a:{b:{c:{if(q[b+72>>2]!=q[a+16>>2]){q[e+60>>2]=6;break c}j=19;if((c|0)!=2){break a}if(o[q[b+156>>2]+4|0]&1){c=q[b+88>>2];if(c){n[q[h+8>>2]](h,c)}q[b+88>>2]=0;c=q[b+156>>2];q[c+4>>2]=q[c+4>>2]&-2}if(Vk(b,2,d)){q[e+60>>2]=98;break c}k=b,l=Oa(h,q[b+84>>2],0,q[b+76>>2],0,e+60|0),q[k+88>>2]=l;if(q[e+60>>2]){break c}c=q[b+156>>2];q[c+4>>2]=q[c+4>>2]|1;f=q[b+100>>2]<<6;g=q[b+76>>2]-q[b+104>>2]<<6;if(d){g=q[d+4>>2]+g|0;c=q[d>>2]}else{c=0}f=c-f|0;if(f|g){oc(i,f,g)}q[e+16>>2]=0;q[e+12>>2]=i;q[e+8>>2]=b+76;a=n[q[a+56>>2]](q[a+52>>2],e+8|0)|0;q[e+60>>2]=a;if(a){break c}q[b+72>>2]=1651078259;break b}if(!(o[q[b+156>>2]+4|0]&1)){break b}a=q[b+88>>2];if(a){n[q[h+8>>2]](h,a)}q[b+88>>2]=0;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2}if(g|f){oc(i,0-f|0,0-g|0)}j=q[e+60>>2]}a=j;Da=e- -64|0;return a|0}function $m(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=r[a+1|0]|r[a|0]<<8;a:{if(!g){break a}while(1){h=((f<<3)+a|0)+8|0;d=h;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16))!=x(0)){f=f+1|0;if((g|0)!=(f|0)){continue}break a}break}g=r[a+3|0]|r[a+2|0]<<8;if(g>>>0<=1){if(g-1){break a}a=(f<<3)+a|0;a=(r[a+14|0]<<8|r[a+15|0])+b|0;a=r[a|0]|r[a+1|0]<<8;return(a<<24|a<<8&16711680)>>16}i=a;b:{c:{f=g+ -1|0;if(!f){break c}a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0;d:{while(1){a=g>>>0>e>>>0?d+(e<<2)|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if(x(x(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*x(152587890625e-16))>=c){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}e=f}if(!e){break c}a=e+ -1|0;break b}a=0}c=x(J(x(Ex(i,a,c,h,b))));if(x(y(c))>3];i=v[h>>3];a:{if(!(j>i)){q[d>>2]=0;q[d+8>>2]=0;break a}e=x(q[b+20>>2]);g=x(x(i)*e);f=q[b+16>>2];a=q[f+28>>2];if(!a){a=xb(f);e=x(q[b+20>>2]);f=q[b+16>>2]}c=d;g=x(J(x(x(g/x(a>>>0)))));b:{if(x(y(g))>2]=a;c=d;e=x(e*x(j-i));a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));c:{if(x(y(e))>2]=a}i=v[h+24>>3];j=v[h+8>>3];d:{if(!(i>j)){q[d+4>>2]=0;q[d+12>>2]=0;break d}e=x(q[b+24>>2]);g=x(x(i)*e);f=q[b+16>>2];a=q[f+28>>2];if(!a){a=xb(f);e=x(q[b+24>>2]);f=q[b+16>>2]}b=d;g=x(J(x(x(g/x(a>>>0)))));e:{if(x(y(g))>2]=a;e=x(e*x(j-i));a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));f:{if(x(y(e))>2]=a}f=1}Da=h+32|0;return f}function zj(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a>>2];a:{if(r[b+732|0]){break a}o[a+112|0]=0;c=q[a+16>>2];d=q[a+12>>2];q[a+48>>2]=d;q[a+52>>2]=c;c=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=c;e=q[a+32>>2];c=a- -64|0;q[c>>2]=q[a+28>>2];q[c+4>>2]=e;q[a+72>>2]=q[a+36>>2];e=151;if(!(d&65535)|!s[a+50>>1]){break a}if(r[b+176|0]&8){f=a,g=Ma(p[b+70>>1],q[a+56>>2])+32&-64,q[f+60>>2]=g;f=a- -64|0,g=Ma(p[b+72>>1],q[a+56>>2])+32&-64,q[f>>2]=g;f=a,g=Ma(p[b+74>>1],q[a+56>>2])+32&-64,q[f+68>>2]=g}o[a+112|0]=1;e=0;if(r[b+176|0]&8){f=a,g=Za(s[a+48>>1]<<6,s[b+68>>1]),q[f+52>>2]=g;f=a,g=Za(s[a+50>>1]<<6,s[b+68>>1]),q[f+56>>2]=g;f=a,g=Ma(p[b+76>>1],q[a+52>>2])+32&-64,q[f+72>>2]=g}d=a+48|0;b=s[a+48>>1];c=s[a+50>>1];b:{if(b>>>0>=c>>>0){q[a+76>>2]=65536;p[a+84>>1]=b;q[a+92>>2]=q[a+52>>2];b=Za(c,b);break b}p[a+84>>1]=c;q[a+92>>2]=q[a+56>>2];f=a,g=Za(b,c),q[f+76>>2]=g;b=65536}q[a+308>>2]=-1;q[a+44>>2]=d;q[a+80>>2]=b}return e}function Dm(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=w(r[c+3|0]|r[c+2|0]<<8,r[c+1|0]|r[c|0]<<8);if(d>>>0>715827881){break c}d=w(d,6);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function qW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-48|0;Da=b;d=q[a>>2];a:{if(d){break a}f=a+ -140|0;while(1){c=q[f>>2];if(!c){d=271312;break a}d=ab(1,12);b:{if(d){q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=Mb(c);o[b+44|0]=1;q[b+40>>2]=e;g=d,h=qV(b+8|0,Jb(c,1128418371)),q[g>>2]=h;q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=Mb(c);o[b+44|0]=1;q[b+40>>2]=e;g=d,h=pV(b+8|0,Jb(c,1128416340)),q[g+4>>2]=h;g=d,h=Mi(c),q[g+8>>2]=h;c=q[a>>2];q[a>>2]=c?c:d;if(!c){break a}c=q[d>>2];Pa(c?c:271312);q[d>>2]=0;c=q[d+4>>2];Pa(c?c:271312);La(d);break b}d=271312;c=q[a>>2];q[a>>2]=c?c:271312;if(!c){break a}}d=q[a>>2];if(!d){continue}break}}Da=b+48|0;return d}function as(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-48|0;Da=f;h=1;q[f+40>>2]=1;e=q[a+11732>>2];q[f+8>>2]=q[a+11728>>2];q[f+12>>2]=e;e=a+8|0;if(!r[a+20|0]){d=q[a+11740>>2];g=q[a+11736>>2];if(r[a+11664|0]){o[a+11665|0]=1;Wd(a,g,d);if(r[a+11744|0]){Ee(a,e,a+11704|0,q[a+11712>>2],q[a+11716>>2],1)}o[a+11744|0]=0;p[a+11664>>1]=0;o[a+11667|0]=1;h=!r[a+20|0]}q[a+11740>>2]=d;q[a+11720>>2]=g;q[a+11736>>2]=g;o[a+11667|0]=1;q[a+11724>>2]=d;d=q[a+11676>>2];if(!(r[d+5|0]?0:!h)){De(e,q[a+11668>>2],q[a+11672>>2],d,q[a+11680>>2],0)}Qa(a+3876|0,e,3868)}d=Ma(q[a+11644>>2],b);g=Ma(q[a+11648>>2],c);e=le(e,c);d=d+g|0;i=f,j=(Ma(q[q[a>>2]+64>>2],d)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[i+16>>2]=j;i=f,j=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],e)|0)+q[a+11660>>2]|0,q[i+20>>2]=j;e=q[a+4>>2];n[q[e>>2]](e,f+8|0);d=q[f+16>>2];g=q[f+20>>2];q[a+11704>>2]=b;q[a+11708>>2]=c;q[a+11728>>2]=d;q[a+11732>>2]=g;Da=f+48|0}function pX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;i=q[a+24>>2];if(i>>>0>=2){m=q[a+32>>2];h=q[67829];n=h;j=q[67828];f(0,j|0);f(1,h|0);p=+g();k=2;while(1){l=v[a+136>>3];d=v[a+128>>3];if(i>>>0<=e>>>0){o[a+20|0]=1}a:{if(m>>>0<=e>>>0){q[160744]=j;q[160745]=n;h=642976;break a}h=q[a+36>>2]+(e<<3)|0}e=e|1;if(i>>>0<=e>>>0){o[a+20|0]=1}b:{if(m>>>0<=e>>>0){q[160744]=j;q[160745]=n;c=p;break b}c=v[q[a+36>>2]+(e<<3)>>3]}l=l+c;c=d+v[h>>3];c:{if(r[b|0]){break c}o[b|0]=1;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break c}v[b+32>>3]=d}v[a+136>>3]=l;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}e=k;k=e+2|0;if(k>>>0<=i>>>0){continue}break}}}function oD(a,b,c,d,e){a=a|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=Da-16|0;Da=h;i=q[a+84>>2];a:{b:{f=q[a+8>>2];if(!(f&8)){break b}f=q[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(r[a+740|0]&16)){break a}}if(!r[a+292|0]){break b}f=0;if(!c){break a}while(1){n[q[q[a+540>>2]+140>>2]](a,1,b+g|0,h+14|0,h+12|0);q[(g<<2)+e>>2]=s[h+12>>1];g=g+1|0;if((g|0)!=(c|0)){continue}break}break a}if(f){f=7;if(!(r[a+740|0]&2)){break a}}if(!s[a+250>>1]){break b}f=0;if(!c){break a}while(1){n[q[q[a+540>>2]+140>>2]](a,0,b+g|0,h+14|0,h+10|0);q[(g<<2)+e>>2]=s[h+10>>1];g=g+1|0;if((g|0)!=(c|0)){continue}break}break a}if(c){if(!i){f=37;break a}l=(d&16?60:56)+i|0;while(1){f=q[a+88>>2];j=(f?256:259)|d;k=b+g|0;c:{if(!(j&1?0:f)){f=zh(i,0,k,j);break c}if(q[f>>2]!=q[i+4>>2]){f=35;break a}f=zh(i,f,k,j)}if(f){break a}q[(g<<2)+e>>2]=q[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}Da=h+16|0;return f|0}function j$(a,b){var c=0,d=0,e=0,f=0;c=Da-80|0;Da=c;d=r[a+5|0];a:{if(d>>>0>3){break a}b:{c:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;i$(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 0:d=r[a+4|0];if(d&64?0:!(o[q[b>>2]+140|0]&1)){break a}q[c+28>>2]=a;q[c+24>>2]=b;e=r[a+17|0];f=r[a+16|0];o[c+72|0]=d>>>6&1;q[c+68>>2]=0;a=a+8|0;q[c+32>>2]=a+(e|f<<8);d=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;h$(c+8|0,c+24|0);break b;case 1:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;g$(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 2:break c}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;o[c+28|0]=e>>>6&1;f$(c+24|0,q[b+4>>2],q[b+12>>2],q[d+132>>2])}e=1}Da=c+80|0;return e}function KV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{j=q[b+4>>2];b:{if(j>>>0>a>>>0){break b}f=q[b+8>>2];if(f>>>0<=a>>>0){break b}c=q[b+12>>2];g=c+ -1|0;q[b+12>>2]=g;if((c|0)<1){break b}d=r[a|0];if(d>>>0>2){break b}c:{switch(d-1|0){default:a=((q[b+32>>2]<<1)+a|0)+ -1|0;if(j>>>0>a>>>0|f>>>0>>0|f-a>>>0<2){break b}q[b+12>>2]=c+ -2;return(c|0)>1;case 0:e=1;d=q[b+32>>2]+ -1|0;if(!d){break b}h=a+1|0;c=0;while(1){e=h+w(c,3)|0;if(j>>>0>e>>>0|f>>>0>>0|f-e>>>0<3){break a}a=g+ -1|0;q[b+12>>2]=a;if((g|0)<1){break a}i=r[e+2|0];if(d>>>0<=i>>>0){break a}e=1;c=c+1|0;g=a;d=(i^-1)+d|0;if(d){continue}break}break b;case 1:break c}}h=q[b+32>>2]+ -1|0;if(!h){return 1}d=0;while(1){e=(d<<2)+a|0;c=e+1|0;if(j>>>0>c>>>0|f>>>0>>0|f-c>>>0<4){break a}c=g+ -1|0;q[b+12>>2]=c;if((g|0)<1){break a}i=r[e+4|0]|r[e+3|0]<<8;if(h>>>0<=i>>>0){break a}e=1;d=d+1|0;g=c;h=(i^-1)+h|0;if(h){continue}break}}return e}return 0}function ee(){var a=0,b=0,c=0,d=0,e=0,f=0;e=Da-4112|0;Da=e;b=Sa(88);a:{if(!b){break a}a=od();q[b>>2]=a;if(a){a=od();q[b+4>>2]=a;if(a){a=od();q[b+16>>2]=a;if(a){a=od();q[b+8>>2]=a;if(a){a=od();q[b+36>>2]=a;if(a){a=od();q[b+40>>2]=a;if(a){a=Cf();q[b+44>>2]=a;if(a){a=Cf();q[b+48>>2]=a;if(a){a=od();q[b+12>>2]=a;if(a){a=wf(981);q[b+20>>2]=a;c=wf(981);q[b+24>>2]=c;d=wf(981);q[b+28>>2]=d;b:{if(!a|(!d|!c)){break b}q[b+52>>2]=0;q[b+56>>2]=0;q[b+32>>2]=0;a=U(0)|0;q[b+72>>2]=0;q[b+64>>2]=30;q[b+60>>2]=a;a=b;c=Kb(503294);if(c){d=Vh(c,e);c=Pd(d?d:c)}else{c=0}q[a+76>>2]=c;a=wf(981);q[b+84>>2]=a;if(!a){break b}a=od();q[b+80>>2]=a;if(a){q[b+68>>2]=1;f=b;break a}Od(q[b+84>>2])}a=q[b+20>>2];if(a){Od(a)}a=q[b+24>>2];if(a){Od(a)}a=q[b+28>>2];if(a){Od(a)}Yb(q[b+12>>2])}je(q[b+48>>2])}je(q[b+44>>2])}Yb(q[b+40>>2])}Yb(q[b+36>>2])}Yb(q[b+8>>2])}Yb(q[b+16>>2])}Yb(q[b+4>>2])}Yb(q[b>>2])}La(b)}Da=e+4112|0;return f}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;c=a;e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(k){c=q[b+8>>2];e=c+ -1|0;n=q[b+12>>2];o=(c|0)<1;while(1){d=(f|0)<0?271312:(w(f,12)+a|0)+16|0;i=r[d+2|0]<<8|r[d+3|0];g=r[d+1|0]|r[d|0]<<8;while(1){a:{b=0;c=e;b:{if(o){break b}while(1){c:{j=b+c>>>1|0;l=w(j,12)+n|0;m=q[l>>2];d:{if((m|0)<(g|0)){c=j+ -1|0;break d}if((g|0)==(m|0)){break c}b=j+1|0}if((b|0)<=(c|0)){continue}break b}break}if(q[l+4>>2]!=(i|0)){break b}b=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);h=r[d+7|0]|((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))&h|(r[d+5|0]<<16|r[d+4|0]<<24)|r[d+6|0]<<8);break a}if((g|0)!=3){break a}g=37;b=(i|0)==3;i=1;if(b){continue}}break}f=f+1|0;if((k|0)!=(f|0)){continue}break}}return h}function Yo(a,b,c,d,e){var f=0,g=0,h=0;if(!a){return 35}if(!e){return 6}f=q[a+96>>2];q[e>>2]=0;q[e+4>>2]=0;f=q[q[f+12>>2]+76>>2];if(!f){return 0}b=n[f](a,b,c,e)|0;a:{if(b|(d|0)==2){break a}f=q[e>>2];b=(f|0)<0?-1:1;h=0-b|0;g=b;c=q[a+88>>2];b=q[c+16>>2];h=(b|0)<0?h:g;a=e;g=f;f=f>>31;f=g+f^f;g=b;b=b>>31;b=g+b^b;b:{if(f+(b>>>8|0)>>>0<=8190){b=w(b,f)+32768>>>16|0;break b}g=f&65535;b=w(g,b>>>16|0)+w(b,f>>>16|0)+(w(g,b&65535)+32768>>>16)|0}f=(h|0)<0?0-b|0:b;q[a>>2]=f;b=q[e+4>>2];a=(b|0)<0?-1:1;h=0-a|0;g=a;a=q[c+20>>2];h=(a|0)<0?h:g;g=b;b=b>>31;b=g+b^b;g=a;a=a>>31;a=g+a^a;c:{if(b+(a>>>8|0)>>>0<=8190){a=w(a,b)+32768>>>16|0;break c}g=b&65535;a=w(g,a>>>16|0)+w(a,b>>>16|0)+(w(g,a&65535)+32768>>>16)|0}b=0;a=(h|0)<0?0-a|0:a;q[e+4>>2]=a;if((d|0)==1){break a}d=s[c+12>>1];if(d>>>0<=24){f=bb(f,d,25);q[e>>2]=f}c=s[c+14>>1];if(c>>>0<=24){a=bb(a,c,25);q[e+4>>2]=a}q[e+4>>2]=a+32&-64;q[e>>2]=f+32&-64}return b}function RB(a){a=a|0;var b=0,c=0;if(a){c=q[a+100>>2];b=q[a+504>>2];if(b){se(b)}b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+148>>2];if(b){n[q[c+8>>2]](c,b)}q[a+148>>2]=0;b=q[a+432>>2];if(b){n[q[c+8>>2]](c,b)}q[a+432>>2]=0;b=q[a+428>>2];if(b){n[q[c+8>>2]](c,b)}q[a+428>>2]=0;b=q[a+424>>2];if(b){n[q[c+8>>2]](c,b)}q[a+424>>2]=0;b=q[a+396>>2];if(b){n[q[c+8>>2]](c,b)}q[a+396>>2]=0;b=q[a+400>>2];if(b){n[q[c+8>>2]](c,b)}q[a+400>>2]=0;b=q[a+384>>2];if(b){n[q[c+8>>2]](c,b)}q[a+384>>2]=0;b=q[a+388>>2];if(b){n[q[c+8>>2]](c,b)}q[a+388>>2]=0;b=q[a+364>>2];if(b){n[q[c+8>>2]](c,b)}q[a+364>>2]=0;b=q[a+496>>2];if(b){n[q[c+8>>2]](c,b)}q[a+496>>2]=0;b=q[a+560>>2];if(b){n[q[c+8>>2]](c,b)}q[a+556>>2]=0;q[a+560>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0}}function YT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ab(1,16);if(f){i=f;d=q[a+44>>2];a:{if((d|0)>=1){e=q[a+48>>2];d=d+ -1|0;b=d;a=f;b:{c:{while(1){c=b>>>1|0;if(!q[w(c,36)+e>>2]){break c}b=c+ -1|0;if(c){continue}break}b=0;break b}b=q[(w(c,36)+e|0)+28>>2]}q[a>>2]=b;b=0;a=d;h=f;d:{while(1){c=a+b>>>1|0;g=q[w(c,36)+e>>2];e:{if(g>>>0<=1818914159){b=q[(w(c,36)+e|0)+28>>2];if((g|0)==1818914159){break d}b=c+1|0;break e}a=c+ -1|0}if((b|0)<=(a|0)){continue}break}b=0}q[h+4>>2]=b;b=0;a=d;h=f;f:{while(1){c=a+b>>>1|0;g=q[w(c,36)+e>>2];g:{if(g>>>0<=1986686319){b=q[(w(c,36)+e|0)+28>>2];if((g|0)==1986686319){break f}b=c+1|0;break g}a=c+ -1|0}if((b|0)<=(a|0)){continue}break}b=0}q[h+8>>2]=b;a=0;while(1){c=a+d>>>1|0;b=q[w(c,36)+e>>2];h:{if(b>>>0<=1953131887){a=q[(w(c,36)+e|0)+28>>2];if((b|0)==1953131887){break a}a=c+1|0;break h}d=c+ -1|0}if((a|0)<=(d|0)){continue}break}}a=0}q[i+12>>2]=a}return f|0}function dW(a,b,c){var d=0,e=x(0),f=0,g=x(0),h=x(0),i=0,j=x(0);e=u[a>>2];h=u[a+8>>2];if(!(u[a+4>>2]>=u[a+12>>2]^1?!(e>=h):0)){q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;return}g=x(q[b+20>>2]);j=x(e*g);f=q[b+16>>2];d=q[f+28>>2];if(!d){d=xb(f);e=u[a>>2];h=u[a+8>>2];g=x(q[b+20>>2]);f=q[b+16>>2]}i=c;j=x(J(x(x(j/x(d>>>0)))));a:{if(x(y(j))>2]=d;d=q[f+28>>2];if(!d){d=xb(f);f=q[b+16>>2]}i=c;e=x(J(x(x(x(x(h-e)*g)/x(d>>>0)))));b:{if(x(y(e))>2]=d;e=u[a+12>>2];h=x(q[b+24>>2]);g=x(e*h);d=q[f+28>>2];if(!d){d=xb(f);e=u[a+12>>2];h=x(q[b+24>>2]);f=q[b+16>>2]}b=c;g=x(J(x(x(g/x(d>>>0)))));c:{if(x(y(g))>2]=i;e=x(x(u[a+4>>2]-e)*h);a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));if(x(y(e))>2]=~~e;return}q[c+12>>2]=-2147483648}function LV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+80>>2]=0;q[c+84>>2]=0;q[c+72>>2]=0;q[c+76>>2]=8720;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+32>>2]=-1;q[c+36>>2]=-1;q[c+40>>2]=-1;q[c+44>>2]=-1;q[c+48>>2]=-1;q[c+52>>2]=-1;q[c+56>>2]=-1;q[c+60>>2]=-1;q[c- -64>>2]=-1;q[c+88>>2]=0;q[c+92>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}GV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function ch(a,b,c,d){var e=0,f=0,g=0,h=0;g=Da-32|0;Da=g;a:{b:{e=q[a+80>>2]+c|0;c:{if(!(!e|t[a+84>>2]>e>>>0)){if(!pe(a,e)){break c}}e=q[a+88>>2];d:{if((e|0)!=q[a+92>>2]){break d}f=q[a+80>>2];if(f+c>>>0<=q[a+72>>2]+b>>>0){break d}if(!r[a+69|0]){break b}h=q[a+96>>2];q[a+92>>2]=h;Qa(h,e,w(f,20))}e=q[a+72>>2];f=e+b|0;if(f>>>0>t[a+76>>2]){break a}if(b>>>0>=2){kc(a,e,f);e=q[a+72>>2]}f=q[a+88>>2]+w(e,20)|0;q[g+24>>2]=q[f+16>>2];h=q[f+12>>2];q[g+16>>2]=q[f+8>>2];q[g+20>>2]=h;h=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=h;f=q[a+80>>2];if(c){e=q[a+92>>2]+w(f,20)|0;f=0;while(1){h=q[g+12>>2];q[e>>2]=q[g+8>>2];q[e+4>>2]=h;q[e+16>>2]=q[g+24>>2];h=q[g+20>>2];q[e+8>>2]=q[g+16>>2];q[e+12>>2]=h;q[e>>2]=q[(f<<2)+d>>2];e=e+20|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=q[a+80>>2];e=q[a+72>>2]}q[a+80>>2]=c+f;q[a+72>>2]=b+e}Da=g+32|0;return}I(272574,272586,167,272599);F()}I(272640,272586,363,272660);F()}function ZH(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,t=0,u=0,w=0;k=Da-32|0;Da=k;a:{b:{c:{d:{if(b){if(!c){i=1e+99;m=1e+99;o=1e+99;break c}if(d){break d}g=c;while(1){f=q[g>>2];g=f&1?(f&-2)+g|0:f;if(g){continue}break}i=1e+99;m=1e+99;o=1e+99;break c}a=1;break a}o=1e+99;l=c;m=1e+99;i=1e+99;while(1){t=l+8|0;u=+(s|0);g=0;j=d;while(1){h=+n[q[b+4>>2]](t,j+8|0,k+16|0);if(h<0){break b}h=h*1e3+u;p=h>2]!=1){if(!(h>2];j=j&1?p+(j&-2)|0:j;if(j){continue}break}s=s+1|0;g=q[l>>2];l=g&1?(g&-2)+l|0:g;if(l){continue}break}}if(r[643740]&2){a=Qc(a);v[k+8>>3]=i;q[k>>2]=a;Ab(505075,k);ki(c);Ua(505084,0);ki(d);Gb(10)}if(e){h=i;a=q[b+12>>2];g=(a<<3)+e|0;i=v[g>>3];h=h+i;c=a;a=q[b+8>>2];if((c|0)!=(a|0)){v[g>>3]=o+i;g=(a<<3)+e|0;h=m+v[g>>3]}v[g>>3]=h}a=1;break a}q[f>>2]=2;a=0}Da=k+32|0;return a}function gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(q[a+20>>2]==2|c-b>>>0<2){break a}g=q[a+92>>2];e=q[(g+w(b,20)|0)+8>>2];f=e;d=b+1|0;if(d>>>0>>0){f=e;while(1){h=q[(w(d,20)+g|0)+8>>2];f=f>>>0>h>>>0?h:f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}while(1){d=b;if(b){b=d+ -1|0;if((e|0)==q[(w(b,20)+g|0)+8>>2]){continue}}break}e=q[a+80>>2];b:{if(e>>>0<=c>>>0){break b}while(1){b=w(c,20)+g|0;if(q[b+ -12>>2]!=q[b+8>>2]){break b}c=c+1|0;if(c>>>0>>0){continue}break}}c:{if((c|0)!=(e|0)){break c}b=q[a+72>>2];h=q[a+76>>2];if(b>>>0>=h>>>0){break c}e=(w(e,20)+g|0)+ -12|0;j=q[a+88>>2];while(1){a=w(b,20)+j|0;i=q[a+8>>2];if((i|0)!=q[e>>2]){break c}if((f|0)!=(i|0)){q[a+4>>2]=q[a+4>>2]&-2}q[a+8>>2]=f;b=b+1|0;if(b>>>0>>0){continue}break}}if(d>>>0>=c>>>0){break a}while(1){a=w(d,20)+g|0;b=a;if(q[a+8>>2]!=(f|0)){q[a+4>>2]=q[a+4>>2]&-2}q[b+8>>2]=f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}function Jz(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>t[b+160>>2]){kb(b,8)}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c+ -16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(h){c=0;a=0;while(1){f=c;g=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);c=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){kb(b,8)}if(!(!a|e>>>0>f>>>0)){kb(b,8)}a:{if(!q[b+164>>2]){break a}f=q[b+172>>2];e=c-e|0;if((g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0>>0?f>>>0>=e>>>0:0){break a}kb(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Vv(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,o=0;k=q[a+76>>2];if(k){m=q[a+96>>2];i=q[a+88>>2];while(1){o=k;a:{b:{c:{h=w(f,20);e=h+i|0;if(n[b](e)){h=q[e+8>>2];d:{d=f+1|0;if(d>>>0>>0){if(q[(w(d,20)+i|0)+8>>2]!=(h|0)){break d}c=d;break a}if(g){break c}break b}if(g){break c}kc(a,f,f+2|0);break b}if((f|0)!=(g|0)){l=q[e+4>>2];j=w(g,20);c=j+i|0;d=c;q[d>>2]=q[e>>2];q[d+4>>2]=l;q[d+16>>2]=q[e+16>>2];d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;c=j+m|0;d=h+m|0;q[c+16>>2]=q[d+16>>2];e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e}g=g+1|0;c=f+1|0;break a}j=q[(w(g,20)+i|0)+ -12>>2];c=d;if(h>>>0>=j>>>0){break a}l=q[e+4>>2]&1;f=g;while(1){f=f+ -1|0;e=w(f,20)+i|0;c=d;if(q[e+8>>2]!=(j|0)){break a}c=q[e+4>>2];q[e+4>>2]=l?c|1:c&-2;q[e+8>>2]=h;if(f){continue}break}c=d;break a}g=0;c=d}f=c;if((o|0)!=(f|0)){continue}break}}q[a+76>>2]=g}function Xw(a,b){var c=0,d=0,e=0,f=0,g=0;f=1;a:{c=r[a+7|0];b:{if(c>>>0>6){break b}c:{switch(c-1|0){default:f=0;g=q[b+4>>2];e=a+12|0;if(g>>>0>e>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>715827881){break b}d=w(d,6);if(d){a=a+28|0;if(g>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break b}q[b+12>>2]=e+ -2;if((e|0)<2){break b}}return 1;case 0:f=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}break a;case 1:return Ww(a,b);case 3:f=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}break a;case 2:case 4:break b;case 5:break c}}f=Vw(a,b)}return f}return Ym(a+12|0,b)}function Jh(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;La(q[a+424>>2]);b=q[a+8>>2];h=Sa(q[b+8>>2]<<2);q[a+424>>2]=h;if(h){if(q[b+8>>2]>=1){i=q[b+20>>2];while(1){k=r[a+428|0];m=h;b=q[i+44>>2];a:{if(!(!b|!r[b|0])){d=1;if(!k){break a}o[b|0]=0}f=0;b=0;g=q[i+48>>2];j=r[g|0];d=0;if(!j){break a}while(1){c=b;e=g;b=j<<24>>24;g=b+ -123|0;b:{if(g>>>0>2){if((b|0)!=59){if((b|0)!=92){b=c;break b}f=!f;b=c;break b}c:{if(!c){break c}if(!_n(c,e)){break c}d=1;if(!k){break a}b=e+1|0;if(c>>>0>=b>>>0){break c}Na(c,32,b-c|0)}b=e+1|0;break b}b=c;d:{switch(g-1|0){case 1:if(f|!c){break b}if(_n(c,e)){d=1;if(!k){break a}f=0;b=0;if(c>>>0>=e>>>0){break b}Na(c,32,e-c|0)}f=0;b=0;break b;case 0:break b;default:break d}}b=c;c=c|f;b=c?b:e+1|0;f=c?f:0}g=e+1|0;j=r[e+1|0];if(j){continue}break}d=0}q[m>>2]=d;h=h+4|0;i=i+56|0;l=l+1|0;if((l|0)>2]+8>>2]){continue}break}}return}Rb(1302);Q(5);F()}function Dw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=271312;e=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if((e|0)<1){break a}e=e+ -1|0;while(1){b:{c:{d:{g=e+i>>>1|0;f=w(g,6)+a|0;j=r[f+28|0]<<8|r[f+29|0];e:{if((j|0)==(b|0)){f=r[f+31|0]|r[f+30|0]<<8;if(f>>>0>c>>>0){break e}if((c|0)==(f|0)){break d}break c}if(j>>>0<=b>>>0){break c}}e=g+ -1|0;break b}h=(w(g,6)+a|0)+28|0;break a}i=g+1|0}if((i|0)<=(e|0)){continue}break}}b=r[h+4|0]|r[h+5|0]<<8;b=(b<<24|b<<8&16711680)>>16;if(!d){return b}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return b}e=0;f:{if(c>>>0>2147483646){break f}a=a+b|0;if(t[d+20>>2]>a>>>0){break f}b=q[d+24>>2];if(b>>>0>>0|b-a>>>0>>0){break f}b=q[d+28>>2];q[d+28>>2]=b+ -1;if((b|0)<1){break f}a=r[a|0]|r[a+1|0]<<8;e=(a<<24|a<<8&16711680)>>16}return e}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;i=Da-16|0;Da=i;j=q[a+28>>2];q[i+12>>2]=0;a:{if(c>>>0>b>>>0){break a}g=Oa(j,4,0,c,0,i+12|0);if(!q[i+12>>2]){b=0;while(1){if(b>>>0>=c>>>0){break a}d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;e=o[d|0]}else{e=0}d=e<<24>>24;h=d&63;b:{if(d&128){e=0;d=(b^-1)+c|0;Na((b<<2)+g|0,0,((d>>>0>>0?d:h)<<2)+4|0);while(1){d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break}break b}e=0;if(d&64){while(1){l=(b<<2)+g|0,m=ob(a)<<16,q[l>>2]=m;d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break b}}while(1){k=(b<<2)+g|0;f=q[a+32>>2];if(f>>>0>2]){q[a+32>>2]=f+1;d=o[f|0]}else{d=0}q[k>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break}}if(d>>>0>h>>>0){continue}break}b=j;a=g;if(a){n[q[b+8>>2]](b,a)}}g=0}Da=i+16|0;return g}function pR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=r[a+20|0];f=q[a+16>>2];g=q[a+12>>2];a:{b:{if(!Ta(b,289476)){b=q[c>>2];if(!b){d=35;break a}d=q[b+116>>2];q[e+8>>2]=d;if(!d){d=Ki(b,e+8|0,a);if(d){break a}d=q[e+8>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[c+4>>2]=q[d+8>>2];break b}if(!Ta(b,289380)){q[c>>2]=q[q[(g<<2)+284352>>2]+8>>2];break b}if(!Ta(b,289396)){q[c>>2]=f;break b}if(!Ta(b,289411)){b=q[c>>2];if(!b){d=35;break a}d=q[b+116>>2];q[e+12>>2]=d;if(!d){d=Ki(b,e+12|0,a);if(d){break a}d=q[e+12>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[c+4>>2]=q[d+20>>2];break b}if(!Ta(b,289429)){o[c|0]=d;break b}if(!Ta(b,289437)){q[c>>2]=q[a+24>>2];q[c+4>>2]=q[a+28>>2];q[c+8>>2]=q[a+32>>2];q[c+12>>2]=q[a+36>>2];q[c+16>>2]=q[a+40>>2];q[c+20>>2]=q[a+44>>2];q[c+24>>2]=q[a+48>>2];q[c+28>>2]=q[a+52>>2];break b}d=12;if(Ta(b,289458)){break a}o[c|0]=r[a+21|0]}d=0}Da=e+16|0;return d|0}function pP(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0,p=0;i=Da-96|0;Da=i;j=q[a+28>>2];l=q[c+8>>2];m=q[c+4>>2];k=q[c>>2];a:{b:{if(!(!k|!r[k|0])){c=Al(a,b,k,m,l,d,e,f,g,h);if(c){break b}}c:{c=q[a+4>>2];if(!c){break c}c=Al(a,b,c,m,l,d,e,f,g,h);if(!c){break c}a=q[e>>2];q[i+80>>2]=q[d>>2];q[i+84>>2]=a?a:354263;q[i+76>>2]=c;q[i+72>>2]=l;q[i+68>>2]=m;q[i+64>>2]=k;hb(b,2,354197,i- -64|0);break b}d:{if(!j){break d}o=q[j+32>>2];if(!o){break d}p=q[j+40>>2];e:{if(k){c=k;j=c;if(r[c|0]){break e}}j=354270}j=n[o](p,j,h)|0;if(!j){break d}c=Al(a,b,j,m,l,d,e,f,g,h);La(j);if(c){break b}}c=q[a+8>>2];if(!c){c=0;break a}f=q[a+12>>2];q[d>>2]=f;a=q[e>>2];q[i+48>>2]=f;q[i+52>>2]=a?a:354263;q[i+44>>2]=c;q[i+40>>2]=l;q[i+36>>2]=m;q[i+32>>2]=k;hb(b,2,354276,i+32|0)}a=q[e>>2];q[i+16>>2]=q[d>>2];q[i+20>>2]=a?a:354263;q[i+12>>2]=c;q[i+8>>2]=l;q[i+4>>2]=m;q[i>>2]=k;hb(b,4,354335,i)}Da=i+96|0;return c}function _l(a,b){var c=0;c=a>>>12|0;a:{b:{if(c>>>0>30){break b}c:{d:{switch(c-1|0){default:a=a+ -1536|0;if(a>>>0<739){break c}break b;case 0:if(a+ -6150>>>0>164){break b}a=a+ -5411|0;break c;case 1:if(a+ -8204>>>0>93){break b}a=a+ -7300|0;break c;case 9:if(a+ -43072>>>0>51){break b}a=a+ -42074|0;break c;case 15:if(a+ -68288>>>0<=47){a=a+ -67238|0;break c}if(a+ -68480>>>0<=47){a=a+ -67382|0;break c}if(a+ -68864>>>0<=35){a=a+ -67718|0;break c}if(a+ -69424>>>0>36){break b}a=a+ -68242|0;break c;case 16:if(a+ -69821>>>0>16){break b}a=a+ -68602|0;break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break b;case 29:break d}}if(a+ -125184>>>0>75){break b}a=a+ -123948|0}a=r[a+252128|0];if((a|0)!=8){break a}}a=b>>>0<32?1<>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}j=q[a+4>>2];c=j+(c<<3)|0;d=j+8|0;e=q[j>>2];f=e;b=j;h=q[b+4>>2];i=h;while(1){b=q[b+12>>2];i=(b|0)>(i|0)?b:i;h=(b|0)<(h|0)?b:h;b=q[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(d>>>0>>0){continue}break}if((e|0)==(f|0)|(h|0)==(i|0)){break a}c=p[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-z(f|b+e^b)|0;l=(b|0)>0?b:0;b=17-z(i-h|0)|0;m=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;i=q[a+12>>2];b=0;a=0;while(1){k=p[(a<<1)+i>>1];if((b|0)<=(k|0)){c=(k<<3)+j|0;e=q[c>>2]>>l;f=q[c+4>>2]>>m;while(1){g=e;n=d;d=(b<<3)+j|0;c=q[d+4>>2]>>m;e=q[d>>2]>>l;d=n+w(c-f|0,g+e|0)|0;g=(b|0)!=(k|0);b=b+1|0;f=c;if(g){continue}break}}b=k+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g}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;if((a|0)==(b|0)){return 1}if(!(!a|!b)){k=q[a+4>>2];a:{if((k|0)<1){break a}j=q[b+4>>2];l=j+ -1|0;while(1){if((d|0)>=(j|0)){break a}g=s[(q[a+12>>2]+a|0)+(i<<1)>>1];h=q[b+12>>2]+b|0;c=s[h+(d<<1)>>1];b:{if((g|0)==(c|0)){c:{c=q[a+8>>2]+a|0;c=q[c+(i<<2)>>2]+c|0;e=q[b+8>>2]+b|0;f=q[e+(d<<2)>>2]+e|0;if((c|0)==(f|0)){break c}g=8;while(1){if(!g){break c}g=g+ -1|0;h=q[f>>2];e=q[c>>2];c=c+4|0;f=f+4|0;if(!(e&(h^-1))){continue}break}return 0}d=d+1|0;i=i+1|0;break b}if(g>>>0>>0){return 0}if(!h){d=0;break b}c=l;f=d+1|0;d:{if((j|0)>(f|0)){while(1){e=c+f|0;d=e>>1;e=s[h+(e&-2)>>1];if((e|0)==(g|0)){break d}e=e>>>0>>0;f=e?d+1|0:f;c=e?c:d+ -1|0;if((f|0)<=(c|0)){continue}break}}if(!((c|0)>=(j|0)|s[h+(c<<1)>>1]>=g>>>0?(c|0)>=0:0)){c=c+1|0}d=c^-1}if((d|0)>-1){break b}d=d^-1}if((i|0)<(k|0)){continue}break}}c=(i|0)>=(k|0)}return c}function Df(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=Da-32|0;Da=d;m=q[a+104>>2];g=b-m|0;k=q[a+108>>2];f=c-k|0;l=q[a+48>>2];a:{b:{if((f|0)>=(l|0)){break b}e=0-l|0;if((f|0)<=(e|0)|(g|0)<=(e|0)){break b}e=1;if((g|0)<(l|0)){break a}}i=v[a+40>>3]*+(f|0);j=v[a+32>>3]*+(0-g|0);h=1/E(i*i+j*j);i=i*h;j=j*h;e=0;if(!kg(a,m,k,i,j,3)){break a}q[a+60>>2]=q[a+60>>2]&-4;g=q[a+108>>2];h=v[a+88>>3];n=v[a+80>>3]*v[a+16>>3];c:{if(y(n)<2147483648){f=~~n;break c}f=-2147483648}n=v[a+24>>3];l=f;k=q[a+104>>2];q[d+24>>2]=f+k;e=d;h=h*n;d:{if(y(h)<2147483648){f=~~h;break d}f=-2147483648}q[e+28>>2]=f+g;m=q[a>>2];e=q[d+28>>2];q[d+16>>2]=q[d+24>>2];q[d+20>>2]=e;e=0;if(!qb(m,d+16|0,1)){break a}q[d+28>>2]=g-f;q[d+24>>2]=k-l;g=q[a+4>>2];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;e=0;if(!qb(g,d+8|0,1)){break a}v[a+80>>3]=i;v[a+88>>3]=j;q[a+104>>2]=b;q[a+108>>2]=c;e=1}Da=d+32|0;return e}function Eh(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=q[a+12>>2];e=q[j>>2];g=e>>>0>>0?e:b;if(g){e=q[j+12>>2];while(1){k=i<<2;f=q[k+c>>2];l=q[e+12>>2];b=l;if((f|0)<=(b|0)){b=q[e+4>>2];b=(f|0)<(b|0)?b:f}f=q[e+8>>2];a:{if((b|0)<(f|0)){h=0-Za(b-f|0,q[e+4>>2]-f|0)|0;break a}h=0;if((b|0)<=(f|0)){break a}h=Za(b-f|0,l-f|0)}q[d+k>>2]=h;e=e+24|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}e=q[j>>2]}if(g>>>0>>0){b=g+1|0;Na((g<<2)+d|0,0,(e>>>0>b>>>0?e:b)-g<<2)}b=q[a+28>>2];b:{if(!b){break b}a=q[j>>2];if(!a){break b}c=0;while(1){h=s[b>>1];c:{if(h>>>0<2){break c}i=(c<<2)+d|0;g=q[i>>2];f=q[b+4>>2];e=1;while(1){k=e<<3;l=k+f|0;m=q[l>>2];if((g|0)<(m|0)){h=g;a=k+ -8|0;e=a+f|0;g=q[e>>2];n=i,o=bb(h-g|0,q[l+4>>2]-q[e+4>>2]|0,m-g|0)+q[(a+q[b+4>>2]|0)+4>>2]|0,q[n>>2]=o;a=q[j>>2];break c}e=e+1|0;if(e>>>0>>0){continue}break}}b=b+8|0;c=c+1|0;if(c>>>0>>0){continue}break}}}function xO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;Be(b+4|0);Be(b+28|0);a:{b=q[a>>2];b:{if(b>>>0>2){break b}c:{switch(b-1|0){default:a=q[a+8>>2];if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d);return;case 0:La(q[a+8>>2]);return;case 1:break c}}a=q[a+8>>2];if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);F()}function SV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=q[b+32>>2]+1|0;if(d>>>0>1073741822){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function Lu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=r[a+3|0]|r[a+2|0]<<8;c=d?d+a|0:271312;d=q[b+96>>2];i=yb(c,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=q[d+72>>2];q[b+36>>2]=1;q[b>>2]=e;c=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[c+76>>2];f=(e|0)==q[c+72>>2]?r[(q[c+88>>2]+w(e,20)|0)+15|0]:f;q[b+8>>2]=8;o[b+20|0]=f;if(!Kf(b)){break a}e=271312;c=r[a+5|0]|r[a+4|0]<<8;f=q[b>>2];g=yb(c?c+a|0:271312,q[q[d+88>>2]+w(f,20)>>2]);if((g|0)==-1){break a}c=r[a+11|0]|r[a+10|0]<<8;c=c?c+a|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>g>>>0){e=c+(g<<1)|0;e=r[e+2|0]<<8|r[e+3|0];e=e?e+c|0:271312}c=r[e+1|0]|r[e|0]<<8;if(!c){break a}g=q[d+88>>2];h=r[(g+w(f,20)|0)+14|0]>>>5|0;b:{if(!h){break b}d=r[(g+w(q[d+72>>2],20)|0)+14|0];if((h|0)!=(d>>>5|0)){break b}d=d&16?0:d&15;if(!d){break b}c=c>>>0>d>>>0?d:c}d=r[a+9|0]|r[a+8|0]<<8;h=vm(d?d+a|0:271312,b,i,c+ -1|0,e,r[a+7|0]|r[a+6|0]<<8,f)}return h}function sw(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:{b:{if(c>>>0>536870910){break b}if(!c){return 1}if(t[b+4>>2]>a>>>0){break b}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0>>0){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break b}k=q[b+4>>2];l=q[d>>2];while(1){g=(m<<3)+a|0;if(k>>>0>g>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-g>>>0<8){break a}o=r[e|0];p=r[e+1|0];d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}i=g+6|0;if(k>>>0>i>>>0|f>>>0>>0|f-i>>>0<2){break a}j=d+ -2|0;q[b+12>>2]=j;if((d|0)<2){break a}n=r[g+7|0]|r[i|0]<<8;h=0;c:{if(!n){break c}h=0;if(f>>>0>>0|k>>>0>l>>>0|f-l>>>0>>0){break b}j=d+ -3|0;q[b+12>>2]=j;if((d|0)<3){break b}h=r[g+7|0]|r[i|0]<<8}d=h;g=o<<8|p;if(g){h=0;d=d+l|0;if(k>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break b}q[b+12>>2]=j+ -1;if((j|0)<1){break b}}h=1;m=m+1|0;if((m|0)!=(c|0)){continue}break}}return h}return 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,l=0,m=0,n=0;c=q[b>>2]+1|0;a:{if(c>>>0>65535){break a}a=q[a+16>>2];j=a+518|0;k=a+6|0;while(1){b:{a=c>>>8|0;c:{d:{e:{if(!a){d=(c<<1&510)+k|0;a=j;if(!(r[d|0]<<8|r[d+1|0])){break e}break d}a=(a<<1)+k|0;a=r[a|0]<<8|r[a+1|0]&248;if(!a){break d}a=a+j|0}d=a;g=r[d+1|0]|r[d|0]<<8;h=r[d+3|0]|r[d+2|0]<<8;e=c&255;f=r[d+6|0];i=r[d+7|0];m=r[d+4|0];n=r[d+5|0];if(c>>>0<=255){a=256;if(e>>>0>=g+h>>>0){break c}}i=i|f<<8;if(!i){if((c|0)!=256){break d}break b}l=e>>>0>>0?g:e;c=c&-256;f=l+c|0;a=e-g|0;a=a>>>0>e>>>0?0:a;if(a>>>0>>0){g=m<<8|n;e=(c+(h+l|0)|0)-a|0;c=d+6+(i+(a<<1))|0;while(1){d=r[c+1|0]|r[c|0]<<8;if(d){d=d+g&65535;if(d){break a}}c=c+2|0;f=f+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}a=e}else{a=f}c=a-((h|0)!=0)|0}a=c>>>0<256?c+1|0:c+256&-256}c=a;if(c>>>0<65536){continue}}break}f=0;d=0}q[b>>2]=f;return d|0}function tO(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;a=q[b>>2];if(!a){break b}if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return 1}I(355429,355403,444,355459);F()}function hx(a,b,c){var d=0,e=0,f=0,g=0;a:{e=q[b+4>>2];if(r[a+8|0]?0:q[e+72>>2]==q[e+76>>2]){break a}d=r[c+5|0]|r[c+4|0]<<8;b:{if((d|0)==65535){break b}f=q[a+20>>2];d=f+(d<<2)|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=Sc((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+f|0,q[q[e+88>>2]+w(q[a+12>>2],20)>>2],q[b+8>>2]);if(!f){break b}d=q[e+76>>2];g=q[e+72>>2]+1|0;g=g>>>0>d>>>0?d:g;d=q[a+12>>2];if(g-d>>>0>=2){rb(e,d,g);d=q[a+12>>2]}q[q[e+88>>2]+w(d,20)>>2]=r[f+1|0]|r[f|0]<<8;o[a|0]=1}d=r[c+7|0]|r[c+6|0]<<8;c:{if((d|0)==65535){break c}f=q[a+20>>2];d=f+(d<<2)|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+f|0;d=q[e+76>>2]+ -1|0;f=q[e+72>>2];d=w(f>>>0>d>>>0?d:f,20);b=Sc(g,q[d+q[e+88>>2]>>2],q[b+8>>2]);if(!b){break c}q[d+q[e+88>>2]>>2]=r[b+1|0]|r[b|0]<<8;o[a|0]=1}if(o[c+2|0]>-1){break a}o[a+8|0]=1;q[a+12>>2]=q[e+72>>2]}}function Yv(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=7){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){Y_(a,b);return}X_(a,b);return;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}Qv(a,b);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}Qv(a,b);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}W_(a,b);return;case 3:Pv(a,b);return;case 5:break a;case 6:break b;case 4:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:Ov(a,b);return;case 0:Nv(a,b);return;case 1:break d}}Mv(a,b);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break a}V_(a,b)}}function rj(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=q[(c<<3)+e>>2]>q[(d<<3)+e>>2];j=g?c:d;h=j<<3;i=q[h+f>>2];k=g?d:c;c=k<<3;g=q[c+f>>2];m=(b|0)>(a|0)?b:a;h=q[e+h>>2];d=q[c+e>>2];if(!((g|0)!=(i|0)?(h|0)==(d|0):0)){if((d|0)!=(h|0)){l=Za(i-g|0,h-d|0)}o=i-h|0;p=g-d|0;c=a;while(1){b=c;n=c<<3;c=q[n+e>>2];b:{if((c|0)<=(d|0)){i=c+p|0;break b}i=c+o|0;if((c|0)>=(h|0)){break b}i=Ma(c-d|0,l)+g|0}q[f+n>>2]=i;c=b+1|0;if((b|0)!=(m|0)){continue}break}}h=f+4|0;d=e+4|0;c=q[d+(k<<3)>>2]>q[d+(j<<3)>>2];f=(c?k:j)<<3;b=q[h+f>>2];c=(c?j:k)<<3;e=q[c+h>>2];f=q[d+f>>2];c=q[c+d>>2];if((b|0)!=(e|0)?(f|0)==(c|0):0){break a}j=0;if((c|0)!=(f|0)){j=Za(b-e|0,f-c|0)}i=b-f|0;k=e-c|0;while(1){b=a;l=b<<3;a=q[l+d>>2];c:{if((a|0)<=(c|0)){g=a+k|0;break c}g=a+i|0;if((a|0)>=(f|0)){break c}g=Ma(a-c|0,j)+e|0}q[h+l>>2]=g;a=b+1|0;if((b|0)!=(m|0)){continue}break}}}function OY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!lf(a+8|0,b,a)){break a}if(!lf(a+10|0,b,a)){break a}f=w(r[a+15|0]|r[a+14|0]<<8,r[a+13|0]|r[a+12|0]<<8);c=r[a+5|0];h=_$(c|r[a+4|0]<<8);g=h+_$(r[a+7|0]|r[a+6|0]<<8)|0;e=g<<1;if(4294967295/(e>>>0)>>>0<=f>>>0?g:0){break a}d=a+16|0;i=!f;e=w(e,f);if(e){if(t[b+4>>2]>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+5|0]}if(!(i|c>>>0<16)){e=a+4|0;c=0;while(1){if(!ug(e,b,a,d)){break a}d=(g<<1)+d|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j=1;if(!f|r[a+7|0]<16){break a}e=a+6|0;d=((h<<1)+a|0)+16|0;c=0;while(1){if(!ug(e,b,a,d)){return 0}d=(g<<1)+d|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}return j}function Mu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0]|r[a+2|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];i=yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=e;d=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[d+76>>2];h=(e|0)==q[d+72>>2]?r[(q[d+88>>2]+w(e,20)|0)+15|0]:h;q[b+8>>2]=8;o[b+20|0]=h;if(!Kf(b)){break a}while(1){b:{h=q[c+88>>2];e=q[b>>2];d=h+w(e,20)|0;if(!(r[d+12|0]&64)|!e){break b}g=r[d+14|0];f=g&16?0:g&15;if(!f){break b}d=d+ -8|0;if(r[d|0]&8){break b}d=r[d+2|0];if((d^g)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(f|0)){break b}q[b+36>>2]=q[b+36>>2]+1;e=q[b+32>>2];if(e){q[b+32>>2]=e+ -2}g=0;if(Kf(b)){continue}break a}break}c=r[a+5|0]|r[a+4|0]<<8;c=yb(c?c+a|0:271312,q[h+w(e,20)>>2]);if((c|0)==-1){return 0}e=r[a+9|0]|r[a+8|0]<<8;f=c;c=r[a+11|0]|r[a+10|0]<<8;g=vm(e?e+a|0:271312,b,i,f,c?c+a|0:271312,r[a+7|0]|r[a+6|0]<<8,q[b>>2])}return g}function gy(a,b,c,d,e){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:{a=b+ -44032|0;if(!(a>>>0>11171|c+ -4520>>>0>26)){if(((a&65535)>>>0)%28){break b}q[d>>2]=(b+c|0)+ -4519;return 1}if(!(b+ -4352>>>0>18|c+ -4449>>>0>20)){q[d>>2]=(w(b,588)+w(c,28)|0)+ -2639516;return 1}if((c&-128)!=768|b>>>0>2047){break b}a=c<<14&2080768|b<<21;b=637;c=0;c:{while(1){e=b+c>>>1|0;g=q[(e<<2)+219264>>2];f=g&-16384;d:{if(a>>>0>>0){b=e+ -1|0;break d}if(a>>>0<=f>>>0){break c}c=e+1|0}if((c|0)<=(b|0)){continue}break}return 0}a=g&16383;break a}a=c>>>11|0;g=c<<21;e=b<<10|a;b=386;c=0;e:{while(1){f=b+c>>>1|0;h=(f<<3)+221824|0;a=q[h+4>>2];h=q[h>>2];a=a&2147483647;i=h&-2097152;f:{if((a|0)==(e|0)&g>>>0>>0|e>>>0>>0){b=f+ -1|0;break f}if((a|0)==(e|0)&g>>>0<=i>>>0|e>>>0>>0){break e}c=f+1|0}if((c|0)<=(b|0)){continue}break}return 0}a=h&2097151}if(!a){return 0}q[d>>2]=a;return 1}function gu(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){e=q[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(f>>>0>=g>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>178956969)){f=db(q[a+12>>2],w(e,24));if(f){break c}}q[a+4>>2]=-1}e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;h=642976;break a}q[a+4>>2]=e;q[a+12>>2]=f;e=q[a+8>>2]}if(g>>>0>e>>>0){Na(q[a+12>>2]+w(e,24)|0,0,w(g-e|0,24))}q[a+8>>2]=g;h=(q[a+12>>2]+w(g,24)|0)+ -24|0}e=h;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;f=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=f;g=q[d+12>>2];f=e+8|0;q[f>>2]=q[d+8>>2];q[f+4>>2]=g;q[e>>2]=b;f=q[c+12>>2];d=q[c+4>>2];g=q[c>>2];b=q[a>>2];q[e+12>>2]=0;q[e+4>>2]=b+g;e=f-b|0;b=d-b|0;b=b>>>0>d>>>0?0:b;q[h+8>>2]=b>>>0>e>>>0?e:b;q[a>>2]=q[c+12>>2]}function RV(a,b){var c=0,d=0,e=0,f=0,g=0;a=q[a>>2];a=a?a:271312;d=t[a+16>>2]<8?271312:q[a+12>>2];a=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(e){if((e|0)!=1){a=q[b+52>>2];b=q[b+48>>2];a=b>>>0>>0?a:b;f=a?a:1073741824;a=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312;b=r[a|0]<<8|r[a+1|0];a=1;while(1){c=e>>>0>a>>>0?((a<<2)+d|0)+8|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+d|0:271312;c=r[c|0]<<8|r[c+1|0];if(!(f>>>0<=b>>>0|c>>>0<=b>>>0?!(c>>>0>>0?f>>>0<=c>>>0:0):0)){g=a;b=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e>>>0>g>>>0?((g<<2)+d|0)+8|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312}else{a=271312}return a}function TQ(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:{g=q[a+4>>2];j=0-g|0;k=c+ -1|0;h=j&g+k;i=d&j;b:{if((h|0)<=(i|0)){e=q[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}l=s[e+12>>1];m=l&7;if(m>>>0>5){break a}g=i;c:{d:{switch(m-1|0){case 3:g=q[a+8>>2]+((d+k|0)/2|0)&j;break c;case 1:case 2:break a;case 0:case 4:break d;default:break c}}if((!(l&16)|(d-c|0)>2]?!(q[e+28>>2]!=(f|0)|q[e+16>>2]>0):0)|(!(l&32)|(d-c|0)>2]?!(q[f+28>>2]!=(e|0)|q[e+20>>2]!=(b|0)):0)){break a}if((m|0)==1){break c}g=q[a+8>>2]+((d+k|0)/2|0)&j}e=q[a>>2];d=h;d=(g|0)>=0?g>>>e>>>0>2]?g:i:d;c=((h|0)==(d|0)?i:h)>>e;if((c|0)<0|c>>>0>=t[a+96>>2]){break b}if(r[(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=t[a+96>>2]){break a}a=(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0;o[a|0]=r[a|0]|128>>>(b&7)}}function WQ(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:{g=q[a+4>>2];j=0-g|0;k=c+ -1|0;h=j&g+k;i=d&j;b:{if((h|0)<=(i|0)){c=q[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}l=s[e+12>>1];m=l&7;if(m>>>0>5){break a}g=i;c:{d:{switch(m-1|0){case 3:g=q[a+8>>2]+((d+k|0)/2|0)&j;break c;case 1:case 2:break a;case 0:case 4:break d;default:break c}}if((!(l&16)|(d-c|0)>2]?!(q[e+28>>2]!=(f|0)|q[e+16>>2]>0):0)|(!(l&32)|(d-c|0)>2]?!(q[f+28>>2]!=(e|0)|q[e+20>>2]!=(b|0)):0)){break a}if((m|0)==1){break c}g=q[a+8>>2]+((d+k|0)/2|0)&j}c=q[a>>2];d=h;d=(g|0)>=0?(g>>>c|0)>1]?g:i:d;b=((h|0)==(d|0)?i:h)>>c;if((b|0)<0|(b|0)>=s[a+52>>1]){break b}if(r[q[a+56>>2]+(q[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=s[a+52>>1]){break a}a=q[a+56>>2]+(q[a+140>>2]+(b<<13>>16)|0)|0;o[a|0]=r[a|0]|128>>>(b&7)}}function ks(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;c=q[a>>2];q[e+12>>2]=c;a:{b:{if(c>>>0>=b>>>0){break b}while(1){g=0;d=r[c|0];h=d+ -37|0;c:{if(h>>>0>23){d=d+ -123|0;if(d>>>0>2){break c}d:{switch(d-1|0){default:f=f+1|0;break c;case 0:break c;case 1:break d}}f=f+ -1|0;if(f){break c}c=c+1|0;q[e+12>>2]=c;break b}e:{switch(h-1|0){default:f:{while(1){g:{d=d+ -10|0;if(d>>>0>3){break g}switch(d-1|0){case 0:case 1:break g;default:break f}}c=c+1|0;if((c|0)!=(b|0)){d=r[c|0];continue}break}c=b}q[e+12>>2]=c;break c;case 22:g=js(e+12|0,b);break c;case 0:case 1: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:break c;case 2:break e}}g=El(e+12|0,b)}c=q[e+12>>2]+1|0;q[e+12>>2]=c;if(c>>>0>>0?!g:0){continue}break}b=3;if(f){break a}}b=g}q[a>>2]=c;Da=e+16|0;return b}function jK(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{f=r[e+1|0];if(f+ -216>>>0<4){break j}g=2;if(f){break c}f=r[r[e|0]+h|0]+ -2|0;if(f>>>0>19){break c}switch(f-1|0){case 0:break i;case 4:break j;case 1:case 2:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 3:break d;case 18:break e;case 6:break f;case 7:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return gi(a,b+2|0,c,d)|0}q[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 39}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function sT(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}Et(q[a+12>>2],c,12);e=1;c=q[a+8>>2];if(c>>>0>1){while(1){b:{if(c>>>0<=e>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;c=q[a+8>>2];d=642976;break b}d=q[a+12>>2]+w(e,12)|0}d=q[d>>2];c:{if(c>>>0<=f>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+12>>2]+w(f,12)|0}if((d|0)!=q[c>>2]){d=q[a+8>>2];d:{if(d>>>0<=e>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;d=q[a+8>>2];c=642976;break d}c=q[a+12>>2]+w(e,12)|0}f=f+1|0;e:{if(d>>>0<=f>>>0){q[160746]=q[67830];d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+12>>2]+w(f,12)|0}g=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=g;q[d+8>>2]=q[c+8>>2]}e=e+1|0;c=q[a+8>>2];if(e>>>0>>0){continue}break}}d=f+1|0;d=(d|0)>0?d:0;if(d>>>0>=c>>>0){break a}q[a+8>>2]=d}Wx(a,b)}function kQ(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=Na(a,0,1516);j=ld(q[b+96>>2],291852,1);if(!j){return 7}o[a+68|0]=1;q[a+64>>2]=0;q[a+1348>>2]=j;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}j=q[q[d+156>>2]>>2];q[a+12>>2]=j;q[a+20>>2]=j+56;q[a+16>>2]=j+20;Xe(j);c=q[q[c+40>>2]>>2];q[a+72>>2]=0;q[a+76>>2]=c;if(!g){break a}q[a+72>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;c=q[72559];q[a+80>>2]=q[72558];q[a+84>>2]=c;c=q[72561];q[a+88>>2]=q[72560];q[a+92>>2]=c;c=q[72563];q[a+96>>2]=q[72562];q[a+100>>2]=c;c=q[72565];q[a+104>>2]=q[72564];q[a+108>>2]=c;q[a+1352>>2]=q[b+16>>2];q[a+1468>>2]=f;q[a+1476>>2]=i;q[a+1356>>2]=e;q[a+1472>>2]=h;c=q[72569];b=a+1488|0;q[b>>2]=q[72568];q[b+4>>2]=c;b=q[72567];q[a+1480>>2]=q[72566];q[a+1484>>2]=b;return 0}function Hh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=6;if(!(!a|!c|(!(r[a+8|0]&8)|s[a+340>>1]<=b>>>0))){j=0;g=q[a+356>>2];e=g+w(b,20)|0;f=s[e+8>>1];d=0;a:{if(!f){break a}d=f;if(q[e+16>>2]){break a}d=q[a+104>>2];i=q[a+100>>2];h=n[q[i+4>>2]](i,f)|0;b:{if(h){k=e,l=Na(h,0,f),q[k+16>>2]=l;a=q[(g+w(b,20)|0)+12>>2];c:{b=q[d+20>>2];d:{if(b){if(n[b](d,a,0,0)){break c}b=q[d+4>>2];h=q[e+16>>2];break d}b=q[d+4>>2];if(b>>>0>>0){break c}}q[d+8>>2]=a;if(b>>>0<=a>>>0){break c}f=s[e+8>>1];g=q[d+20>>2];e:{if(g){b=n[g](d,a,h,f)|0;break e}b=b-a|0;b=b>>>0>f>>>0?f:b;Qa(h,a+q[d>>2]|0,b)}q[d+8>>2]=a+b;if(b>>>0>>0){break c}d=s[e+8>>1];break a}a=q[e+16>>2];if(!a){break b}n[q[i+8>>2]](i,a);break b}q[e+16>>2]=0}q[e+16>>2]=0;p[e+8>>1]=0;d=0}p[c>>1]=s[e>>1];p[c+2>>1]=s[e+2>>1];p[c+4>>1]=s[e+4>>1];p[c+6>>1]=s[e+6>>1];a=q[e+16>>2];q[c+12>>2]=d&65535;q[c+8>>2]=a}return j}function SJ(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{f=r[e|0];if(f+ -216>>>0<4){break j}g=2;if(f){break c}f=r[r[e+1|0]+h|0]+ -2|0;if(f>>>0>19){break c}switch(f-1|0){case 0:break i;case 4:break j;case 1:case 2:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 3:break d;case 18:break e;case 6:break f;case 7:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return fi(a,b+2|0,c,d)|0}q[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 39}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function vm(a,b,c,d,e,f,g){var h=0,i=x(0),j=0,k=x(0),l=0;h=Da-16|0;Da=h;c=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?((c<<2)+a|0)+2|0:271312;j=r[c|0]<<8|r[c+1|0];a:{if((r[e+1|0]|r[e|0]<<8)>>>0<=d>>>0|j>>>0>=f>>>0){break a}d=w(d,f)+j|0;d=(d|0)<0?271312:((d<<1)+e|0)+2|0;d=r[d|0]<<8|r[d+1|0];if(!d){break a}f=a;a=r[c+3|0]|r[c+2|0]<<8;f=a?f+a|0:271312;c=q[b+96>>2];a=q[c+72>>2];if(a-g>>>0>=2){rb(c,g,a);a=q[c+72>>2]}Qi(f,b,q[q[c+88>>2]+w(a,20)>>2],h+12|0,h+8|0);Qi(d?d+e|0:271312,b,q[q[c+88>>2]+w(g,20)>>2],h+4|0,h);a=q[c+96>>2]+w(q[c+72>>2],20)|0;b=a;i=x(J(x(x(u[h+4>>2]-u[h+12>>2]))));b:{if(x(y(i))>2]=d;i=u[h+8>>2];k=u[h>>2];l=1;o[a+18|0]=1;b=a;i=x(J(x(x(k-i))));c:{if(x(y(i))>2]=d;p[a+16>>1]=g-q[c+72>>2];q[c+32>>2]=q[c+32>>2]|8;q[c+72>>2]=q[c+72>>2]+1}Da=h+16|0;return l}function uq(a,b,c,d){var e=0,f=0,g=0;a:{b:{if((c-b|0)<1){break b}if(r[b|0]!=45){q[d>>2]=b;return 0}b=b+1|0;f=c-b|0;if((f|0)<1){break b}g=a+72|0;while(1){c:{d:{e=b;b=r[r[e|0]+g|0];if(b>>>0>27){break d}e:{switch(b-2|0){case 3:if((f|0)<2){return-2}if(n[q[a+352>>2]](a,e)){break a}b=e+2|0;break c;case 4:if((f|0)<3){return-2}if(n[q[a+356>>2]](a,e)){break a}b=e+3|0;break c;case 5:if((f|0)<4){return-2}if(n[q[a+360>>2]](a,e)){break a}b=e+4|0;break c;case 0:case 1:case 2: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:break d;case 25:break e;default:break a}}b=e+1|0;if((c-b|0)<1){break b}if(r[b|0]!=45){break c}a=e+2|0;if((c-a|0)<1){break b}if(r[e+2|0]!=62){q[d>>2]=a;return 0}q[d>>2]=e+3;return 13}b=e+1|0}f=c-b|0;if((f|0)>0){continue}break}}return-1}q[d>>2]=e;return 0}function VP(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=q[b+712>>2];Na(a+12|0,0,768);q[a+8>>2]=d;q[a+4>>2]=b;o[a+65|0]=1;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);q[a+68>>2]=0;q[a+72>>2]=0;if(!c|!e){break a}b=q[q[c+40>>2]>>2];if(!b){break a}q[a+72>>2]=q[b>>2];q[a+68>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72618];q[a+76>>2]=q[72617];q[a+80>>2]=b;b=q[72620];q[a+84>>2]=q[72619];q[a+88>>2]=b;b=q[72622];q[a+92>>2]=q[72621];q[a+96>>2]=b;b=q[72624];q[a+100>>2]=q[72623];q[a+104>>2]=b;q[a+108>>2]=i;b=q[i+120>>2];q[a+732>>2]=b;q[a+748>>2]=q[i+1352>>2];b:{if(q[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}q[a+776>>2]=h;q[a+772>>2]=g;q[a+760>>2]=f;q[a+740>>2]=j}function Hu(a,b,c){var d=0;c=c+ -1|0;a:{if(c>>>0>8){break a}b:{switch(c-1|0){default:return gY(a,b);case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return Qu(a,b)}return Pu(a,b);case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Ou(a,b);case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Mu(a,b);case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Lu(a,b);case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Ku(a,b);case 5:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}c:{switch(c-1|0){default:return Am(a,b);case 0:return ym(a,b);case 1:break c}}return xm(a,b);case 6:return Iu(a,b);case 7:break b}}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=Hu(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8)}return d}function _s(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;i=q[a+24>>2];e=q[a+44>>2];if(!(e|q[a+76>>2]?(e|0)!=1:0)){if(q[a+4>>2]){if((c|0)==-1){c=Wa(b)}d=(d|0)==-1?c:d;e=(d>>>2|0)+q[a+76>>2]|0;if(!(!e|t[a+84>>2]>e>>>0)){pe(a,e)}e=b;a:{if((d|0)<1){g=e;break a}j=d+e|0;while(1){g=Zs(e,j,f+8|0,i);k=q[f+8>>2];d=q[a+76>>2];h=d+1|0;b:{c:{if(h>>>0>>0){d=-1;break c}if(t[a+84>>2]>h>>>0){break c}if(!pe(a,h)){break b}d=q[a+76>>2]}d=q[a+88>>2]+w(d,20)|0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=k;q[d+8>>2]=e-b;q[d+16>>2]=0;q[a+76>>2]=q[a+76>>2]+1}e=g;if(e>>>0>>0){continue}break}}q[a+148>>2]=0;b=b+c|0;d:{if(g>>>0>=b>>>0){break d}while(1){g=Zs(g,b,f+4|0,i);c=q[f+4>>2];d=q[a+148>>2];q[a+148>>2]=d+1;q[((d<<2)+a|0)+124>>2]=c;if(g>>>0>=b>>>0){break d}if(t[a+148>>2]<5){continue}break}}q[a+44>>2]=1}Da=f+16|0;return}I(273002,272586,1517,273133);F()}function Mv(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;e=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;c=e+2|0;d=r[e+3|0]|r[c|0]<<8?e+4|0:271312;d=r[d|0]<<8|r[d+1|0];Vb(d?d+a|0:271312,q[b+8>>2]);f=r[e+3|0];h=r[c|0];g=c+(f<<1|h<<9)|0;j=r[g+3|0];c=g+2|0;k=r[c|0];i=(j<<1|k<<9)+c|0;m=r[i+2|0];n=r[i+3|0];d=r[a+3|0]|r[a+2|0]<<8;if(d){o=q[b+4>>2];c=a+4|0;while(1){l=r[c+1|0]|r[c|0]<<8;Vb(l?l+a|0:271312,o);c=c+2|0;d=d+ -1|0;if(d){continue}break}}d=k<<8|j;c=f|h<<8;a:{if(!c){break a}f=c+ -1|0;if(!f){break a}c=e+6|0;e=q[b+8>>2];while(1){h=r[c+1|0]|r[c|0]<<8;Vb(h?h+a|0:271312,e);c=c+2|0;f=f+ -1|0;if(f){continue}break}}if(d){c=g+4|0;e=q[b+12>>2];while(1){g=r[c+1|0]|r[c|0]<<8;Vb(g?g+a|0:271312,e);c=c+2|0;d=d+ -1|0;if(d){continue}break}}a=m<<8|n;if(a){d=i+4|0;c=0;while(1){e=d+(c<<2)|0;Ui(b,r[e+2|0]<<8|r[e+3|0]);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function oj(a,b,c){c=c+ -1|0;if(c>>>0<=2){a:{switch(c-1|0){default:q[b>>2]=q[a+4>>2];return;case 0:q[b>>2]=q[a+4>>2]+q[a+12>>2];q[b+4>>2]=q[a+8>>2]+q[a+12>>2];return;case 1:break a}}q[b>>2]=q[a+4>>2]+(q[a+12>>2]+(q[a+20>>2]+q[a+28>>2]|0)|0);q[b+4>>2]=q[a+8>>2]+(q[a+12>>2]+(q[a+24>>2]+q[a+28>>2]|0)|0);q[b+8>>2]=q[a+16>>2]+(q[a+20>>2]+(q[a+24>>2]+q[a+28>>2]|0)|0);return}q[b>>2]=q[a+4>>2]+(q[a+12>>2]+(q[a+20>>2]+(q[a+28>>2]+(q[a+36>>2]+(q[a+44>>2]+(q[a+52>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+4>>2]=q[a+8>>2]+(q[a+12>>2]+(q[a+24>>2]+(q[a+28>>2]+(q[a+40>>2]+(q[a+44>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+8>>2]=q[a+16>>2]+(q[a+20>>2]+(q[a+24>>2]+(q[a+28>>2]+(q[a+48>>2]+(q[a+52>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+12>>2]=q[a+32>>2]+(q[a+36>>2]+(q[a+40>>2]+(q[a+44>>2]+(q[a+48>>2]+(q[a+52>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0)}function wv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(i>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}c=c+d|0;b:{if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0<=3){break b}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break b}q[h+12>>2]=c;if(YZ(c+4|0,b,h+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;e=1}Da=h+16|0;return e}function jm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=b+1|0;if(j>>>0>=f>>>0){c=r[a+4|0];if(c){i=c;h=(w(c,f)+a|0)+5|0;d=h;while(1){e=r[d|0]|e<<8;d=d+1|0;i=i+ -1|0;if(i){continue}break}if(j>>>0>>0){break a}f=c;i=(w(b,c)+a|0)+5|0;d=i;while(1){g=r[d|0]|g<<8;d=d+1|0;f=f+ -1|0;if(f){continue}break}d=0;b=0;if(e>>>0>>0){break b}g=c;e=h;while(1){d=r[e|0]|d<<8;e=e+1|0;g=g+ -1|0;if(g){continue}break}e=(w(c,j)+a|0)+5|0;g=0;f=c;while(1){g=r[e|0]|g<<8;e=e+1|0;f=f+ -1|0;if(f){continue}break}a=d>>>0>g>>>0;d=0;b=0;if(a){break b}e=c;while(1){d=r[h|0]|d<<8;h=h+1|0;e=e+ -1|0;if(e){continue}break}h=0;while(1){h=r[i|0]|h<<8;i=i+1|0;c=c+ -1|0;if(c){continue}break}break c}if(j>>>0>=b>>>0){break c}break a}break a}b=d-h|0}return b}I(242971,242986,251,243008);F()}function AZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(i>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}c=c+d|0;b:{if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0<=3){break b}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break b}q[h+12>>2]=c;if(yZ(c+4|0,b,h+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;e=1}Da=h+16|0;return e}function rM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Sa(32776);f=0;a:{if(!e){break a}f=Na(e,0,32776)}if(f){q[f>>2]=q[f>>2]+40;b:{if(!bl(f,b)){break b}Dd(f,d,q[d+4>>2]<<2);if(q[d+4>>2]>=1){while(1){if(!bl(f,q[q[d+12>>2]+(g<<2)>>2])){break b}g=g+1|0;if((g|0)>2]){continue}break}}if(!AM(f,a)){break b}e=Sa(q[f>>2]);if(!e){break b}e=Na(e,0,q[f>>2]);q[f+8>>2]=e;q[e>>2]=-66913275;q[e+4>>2]=7;q[e+8>>2]=q[f>>2];i=e,j=qM(q[c- -64>>2]),q[i+28>>2]=j;g=e;if(Kb(442131)){c=0;h=0}else{h=q[c+68>>2];c=h;h=c>>31}q[g+32>>2]=c;q[g+36>>2]=h;c:{b=al(f,b);if(!b){break c}q[e+12>>2]=b-e;b=Cd(f,d);if(!b){break c}q[e+16>>2]=b-e;c=q[d+4>>2];q[e+20>>2]=c;if((c|0)>=1){g=0;while(1){c=g<<2;h=al(f,q[c+q[d+12>>2]>>2]);if(!h){break c}q[b+c>>2]=h-b;g=g+1|0;if((g|0)>2]){continue}break}}a=zM(f,a);if(!a){break c}q[e+24>>2]=a-e;or(f);cr(e,0);return e}La(e)}or(f)}return 0}function km(a,b){var c=0,d=0,e=0,f=0,g=0;g=q[a+4>>2];e=q[a>>2];a:{if((e|0)<0){break a}c=g;d=c+q[b+4>>2]|0;d=(d|0)>0?d:0;if(e>>>0>>0){c=e;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=d>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>268435454)){e=db(q[a+8>>2],c<<4);if(e){break b}}q[a>>2]=-1;break a}q[a>>2]=c;q[a+8>>2]=e;c=q[a+4>>2]}if(d>>>0>c>>>0){Na(q[a+8>>2]+(c<<4)|0,0,d-c<<4)}q[a+4>>2]=d}c=q[b+4>>2];if(c){e=0;while(1){c:{if(c>>>0<=e>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[b>>2]+(e<<4)|0}d=e+g|0;d:{if(t[a+4>>2]<=d>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+8>>2]+(d<<4)|0}f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f;f=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=f;e=e+1|0;c=q[b+4>>2];if(e>>>0>>0){continue}break}}}function QM(a,b,c,d){a=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,q=0,r=0,t=0,u=0;a:{if(!c){break a}j=d+6|0;if(!j){d=0;while(1){d=d+16|0;if(d>>>0>>0){continue}break}break a}g=d<<4;l=g+96<<1;while(1){d=a;f=0;i=0;while(1){m=f>>>0>>0?(f<<1)+b|0:438160;e=f+ -16|0;n=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -32|0;o=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -48|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -64|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -80|0;t=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -96|0;u=e>>>0>>0?(e<<1)+b|0:438160;h=0;while(1){e=h<<1;p[e+d>>1]=(((w(s[e+q>>1],20)+w(s[e+o>>1]+s[e+r>>1]&65535,15)|0)+w(s[e+n>>1]+s[e+t>>1]&65535,6)|0)+(s[e+m>>1]+s[e+u>>1]&65535)|0)+32>>>6;h=h+1|0;if((h|0)!=16){continue}break}f=f+16|0;d=d+32|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}b=(g<<1)+b|0;a=a+l|0;k=k+16|0;if(k>>>0>>0){continue}break}}}function Tz(a,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=q[b>>2];if((e|0)==-1){return 0}d=q[a+16>>2];c=r[d+8204|0]|r[d+8205|0]<<8|(r[d+8206|0]<<16|r[d+8207|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}j=q[a>>2];c=e+1|0;d=d+8208|0;while(1){a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=c>>>0>>0?g:c;c=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){c=a;break c}c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);while(1){c=a-g|0;if(i>>>0>(c^-1)>>>0){c=a;break c}e=c+i|0;if(!e){if((a|0)==-1){break b}e=a>>>0>>0;c=a+1|0;a=c;if(e){continue}break c}break}c=a;if(e>>>0>2]){break a}}d=d+12|0;f=f+ -1|0;if(f){continue}break}}e=0;a=0}q[b>>2]=a;return e|0}function eM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(q[b>>2]==-1){break b}c=q[a+4>>2];if(!c){break b}c=q[(c+((b>>>0)%67<<2)|0)+1304>>2];if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}b=q[c+8>>2];if(!b){break a}}c=Cd(a,b);if(!c){break a}q[c>>2]=-1;q[c+4>>2]=q[b+4>>2];c:{if(q[b+4>>2]){g=Cd(a,q[b+8>>2]+b|0);if(!g){break a}q[c+8>>2]=g-c;i=q[b+12>>2]+b|0;j=Cd(a,i);if(!i){break a}q[c+12>>2]=j-c;if(q[b+4>>2]<1){break c}while(1){d=q[b+8>>2]+b|0;k=h<<2;d=q[d+k>>2]+d|0;e=Cd(a,d);if(!e){return 0}f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;f=q[d+28>>2];q[e+24>>2]=q[d+24>>2];q[e+28>>2]=f;f=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=f;f=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=f;q[g+k>>2]=e-g;d=h<<1;p[d+j>>1]=s[d+i>>1];h=h+1|0;if((h|0)>2]){continue}break}break c}q[c+8>>2]=0;q[c+12>>2]=0}d=c}return d}function jl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=e-c|0;i=d-b|0;if(!(h|i)){return 1}f=q[a+36>>2];g=q[a+28>>2];j=g+1|0;a:{if(f>>>0>=j>>>0){f=q[a+20>>2];break a}f=f<<1;f=f>>>0>64?f:64;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=db(q[a+20>>2],w(g,40));if(!f){return 0}q[a+36>>2]=g;q[a+20>>2]=f;g=q[a+28>>2];j=g+1|0}q[a+28>>2]=j;a=w(g,40)+f|0;f=(e|0)<(c|0);q[a+36>>2]=f?c:e;q[a+32>>2]=f?e:c;e=(d|0)<(b|0);q[a+28>>2]=e?b:d;q[a+24>>2]=e?d:b;d=(i|0)<0?62:60;q[a+20>>2]=(h|0)>-1?d^3:d;d=i>>31;d=d+i^d;e=h>>31;e=e+h^e;e=(d|0)>(e|0)?d:e;f=z(e)^31;d=30-f|0;q[a+12>>2]=0-i<>2]=h<>31,b,b>>31);g=Ea;d=1<>31,c,c>>31);k=a,l=W$(d,d>>31,b-c|0,g-(Ea+(b>>>0>>0)|0)|0),q[k>>2]=l;q[a+4>>2]=Ea;b=a;d=e<<31-f;W$(d,0,d,0);W$(Ea,0,1395864371,0);c=Ea;W$(d,0,-1144608785,0);d=Ea;a=(c-d|0)+ -2012192179|0;q[b+16>>2]=a;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=0;g=q[a>>2];f=Tc(g,c,4359);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function ye(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=1;a:{if(!a){break a}i=q[a+8>>2]+a|0;f=q[a>>2]+ -1|0;b:{c:{if((f|0)<0){a=0;break c}while(1){a=e+f>>1;j=q[(a<<3)+i>>2]-b|0;if(!j){break b}g=(j|0)<0;e=g?a+1|0:e;f=g?f:a+ -1|0;if((e|0)<=(f|0)){continue}break}e=j>>>31|0}a=a+e^-1}if(!i|(a|0)<0){break a}h=3;b=(a<<3)+i|0;a=q[b+4>>2];a=a&1?(a&-2)+b|0:a;if(!a){break a}while(1){if(!c){d:{e:{c=q[a+8>>2];e=c+ -3|0;if(e>>>0>6){break e}b=a+8|0;f:{switch(e-1|0){default:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 2:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 4:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 5:break f;case 0:case 1:case 3:break e}}a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d}b=q[a+20>>2];g=q[a+12>>2];a=q[a+16>>2]}q[d+12>>2]=b;q[d+8>>2]=a;q[d+4>>2]=g;q[d>>2]=c;h=0;break a}c=c+ -1|0;b=a;a=q[a>>2];a=a&1?b+(a&-2)|0:a;if(a){continue}break}}return h}function GF(a,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=q[a>>2];f=Tc(g,c,4305);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function AF(a,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=q[a>>2];f=Tc(g,c,4357);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function Pr(a){var b=0,c=0,d=0,e=0,f=0;c=Da-48|0;Da=c;a:{b:{if(_r(c+44|0)){q[c+16>>2]=355567;hb(a,0,355557,c+16|0);break b}XF(q[c+44>>2],c+40|0,c+36|0,c+32|0);q[c>>2]=q[c+40>>2];q[c+4>>2]=q[c+36>>2];q[c+8>>2]=q[c+32>>2];hb(a,6,355584,c);b=ab(1,968);if(!b){Ci(q[c+44>>2]);break b}q[b>>2]=a;d=q[c+44>>2];q[b+764>>2]=437752;q[b+4>>2]=d;c:{if(!oN(b+768|0,q[109439])){Ci(q[c+44>>2]);break c}e=b,f=rO(),q[e+736>>2]=f;e=b,f=oO(),q[e+744>>2]=f;e=b,f=nO(),q[e+748>>2]=f;d=qO();q[b+760>>2]=67108864;q[b+752>>2]=1e4;q[b+756>>2]=134217728;q[b+740>>2]=d;q[b+728>>2]=16;q[b+720>>2]=1024;q[b+724>>2]=64;q[b+708>>2]=0;e=b,f=ab(16,84),q[e+704>>2]=f;e=b,f=ab(1024,336),q[e+688>>2]=f;d=ab(64,24);q[b+96>>2]=2;q[b+32>>2]=0;q[b+36>>2]=1072693248;q[b+696>>2]=d;e=b,f=wN(),q[e+116>>2]=f;LN(a);q[b+92>>2]=1}hb(a,6,355610,0);break a}b=0;hb(a,1,355622,0)}Da=c+48|0;return b}function Ey(a,b,c,d,e){a=a|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=q[a+872>>2];if(!i){return 0}f=q[e+8>>2];a:{b:{if(f){g=q[e>>2];b=q[e+4>>2];break b}f=0;q[e+4>>2]=0;g=s[i+2>>1];if(!g){break a}g=g+ -1|0;l=q[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=w(k,6)+l|0;j=h+ -2|0;j=r[j|0]<<8|r[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(j>>>0<=b>>>0){break c}g=k+ -1|0}if((g|0)>=(f|0)){continue}break}return 0}f=0;b=r[h+2|0]|r[h+3|0]<<8;g=(b<<24|b<<8&16711680)>>>16|0;if(!g){break a}b=r[h+1|0];h=r[h|0];q[e>>2]=g;b=b<<2|h<<10;if(b+(g<<2)>>>0>t[i+20>>2]){break a}f=b+q[i+12>>2]|0;q[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}q[e+8>>2]=f+2;q[c>>2]=r[f+1|0]|r[f|0]<<8;q[e+8>>2]=f+4;b=r[f+3|0]|r[f+2|0]<<8;q[d>>2]=b;if(t[c>>2]>=t[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=s[a+660>>1]){break a}}f=1;q[e+4>>2]=q[e+4>>2]+1}return f|0}function x_(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Iv(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Iv(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function tu(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=ru(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=ru(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function sx(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Xm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Xm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function qU(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Qt(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Qt(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(251028,251053,195,251070);F()}function pU(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Pt(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Pt(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(251028,251053,195,251070);F()}function hV(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=eu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=eu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function e_(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=zv(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=zv(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function cW(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=pu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=pu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function _Y(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Wu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Wu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function Yw(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Rm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Rm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function YS(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=xt(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=xt(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271165,271190,195,271207);F()}function Qw(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Pm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Pm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function NX(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Cu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Cu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242025,242050,195,242067);F()}function MX(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Bu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Bu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242025,242050,195,242067);F()}function Dx(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=_m(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=_m(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function Bg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+532>>2];if(c){h=q[c+4>>2];g=q[c>>2];f=q[a+100>>2];b=f;d=q[c+24>>2];if(d){n[q[b+8>>2]](b,d)}q[c+24>>2]=0;if(g>>>0>=2){Na(c+28|0,0,(g<<2)+ -4|0)}b=f;d=q[c+216>>2];if(d){n[q[b+8>>2]](b,d)}q[c+216>>2]=0;d=q[c+148>>2];if(d){n[q[b+8>>2]](b,d)}q[c+148>>2]=0;d=q[c+288>>2];if(d){n[q[b+8>>2]](b,d)}q[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;q[b+284>>2]=0;q[b+144>>2]=0;q[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=q[c+136>>2];if(b){n[q[f+8>>2]](f,b)}q[c+136>>2]=0;q[c+140>>2]=0;if(h){b=0;while(1){g=(b<<2)+c|0;e=q[g+8>>2];if(e){n[q[f+8>>2]](f,e)}e=0;q[g+8>>2]=0;b=b+1|0;if((h|0)!=(b|0)){continue}break}while(1){b=w(e,12)+c|0;g=b;d=q[b+92>>2];if(d){n[q[f+8>>2]](f,d)}o[b+88|0]=0;q[g+92>>2]=0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=q[a+532>>2];if(b){n[q[f+8>>2]](f,b)}q[a+532>>2]=0}}function Qt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(d|0)<1|c>>>0<16){break a}c=d+ -2|0;q[b+12>>2]=c;if((r[a+11|0]|r[a+10|0]<<8)!=20|(d|0)<2){break a}e=r[a+9|0];h=r[a+8|0];if((r[a+15|0]|r[a+14|0]<<8)>>>0<(e<<2|h<<10)+4>>>0){break a}e=e|h<<8;if(e){c=r[a+5|0]|r[a+4|0]<<8;c=c?c+a|0:271312;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=d+ -3|0;q[b+12>>2]=c;if((d|0)<3){break a}}e=r[a+13|0]|r[a+12|0]<<8;d=0;b:{if(!e){break b}d=r[a+5|0]|r[a+4|0]<<8;d=w(r[a+9|0]|r[a+8|0]<<8,20)+(d?d+a|0:271312)|0}a=r[a+15|0]|r[a+14|0]<<8;if(4294967295/(a>>>0)>>>0<=e>>>0?a:0){break a}a=w(a,e);if(!a){return 1}if(f>>>0>>0|g>>>0>d>>>0|f-d>>>0>>0){break a}q[b+12>>2]=c+ -1;i=(c|0)>0}return i}function ni(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=xe(b);a:{b:{if((d|0)<=-1){d=d^-1;break b}c=r[d+485054|0];e=c>>>5|0;if(e>>>0>=t[a+4>>2]){break b}if(q[((e<<2)+a|0)+8>>2]>>>(c&31)&1){break a}}c=2;c:{if((d|0)>=1){f=d;while(1){e=f+ -1|0;g=Td(b,(e<<5)+449308|0);if((g|0)!=2){i=g;j=c;h=r[e+485054|0];k=h>>>5|0;if(k>>>0>2]){h=q[((k<<2)+a|0)+8>>2]>>>(h&31)&1}else{h=0}c=g>>>0>>0?h?i:j:c;g=(f|0)>1;f=e;if(g){continue}}break}if((d|0)>245){break c}}while(1){f=Td(b,(d<<5)+449308|0);if((f|0)==2){break c}i=f;j=c;g=r[d+485054|0];e=g>>>5|0;if(e>>>0>2]){e=q[((e<<2)+a|0)+8>>2]>>>(g&31)&1}else{e=0}c=f>>>0>>0?e?i:j:c;d=d+1|0;if((d|0)!=246){continue}break}}a=q[a>>2];if(!a){return c}a=Ic(a);if(!a){return c}f=0;d:{if(!c){break d}while(1){d=Qb(a);if(!d){f=c;break d}d=Td(b,d);c=d>>>0>>0?d:c;if(c){continue}break}}Zb(a)}return f}function ep(a){var b=0,c=0,d=0,f=0,g=0,i=0,j=0,k=0;h(+a);d=e(1)|0;j=e(0)|0;g=d>>>31|0;a:{b:{c:{d:{f=a;e:{f:{c=d;d=c&2147483647;g:{if(d>>>0>=1082532651){c=c&2147483647;if((c|0)==2146435072&j>>>0>0|c>>>0>2146435072){return a}if(!!(a>709.782712893384)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(d>>>0<1071001155){break d}if(d>>>0<1072734898){break f}}a=a*1.4426950408889634+v[(g<<3)+636944>>3];if(y(a)<2147483648){c=~~a;break e}c=-2147483648;break e}c=(g^1)-g|0}b=+(c|0);a=f+b*-.6931471803691238;i=b*1.9082149292705877e-10;f=a-i;break c}if(d>>>0<=1043333120){break a}c=0;f=a}b=f;k=a;b=b*b;a=f-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);b=k+(f*a/(2-a)-i)+1;if(!c){break b}b=Kd(b,c)}return b}return a+1}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,r=0,s=0,t=0,u=0,w=0,x=0,y=0;a:{if(b){d=q[b>>2];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return}e=q[b+8>>2];g=Sa(d<<3);q[a+16>>2]=g;h=Sa(e);q[a+20>>2]=h;if(!(h?g:0)){La(g);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+12>>2]=e;q[a+4>>2]=d;d=0;q[a+8>>2]=0;q[a>>2]=0;e=q[b>>2];if(e){l=q[b+16>>2];m=v[c- -64>>3];n=v[c+56>>3];o=v[c+40>>3];p=v[c+32>>3];r=v[c+48>>3];s=v[c+24>>3];t=v[c+16>>3];u=v[c+8>>3];w=v[c>>3];while(1){c=d<<3;k=c+g|0;c=c+l|0;i=+q[c>>2];j=+q[c+4>>2];f=m+(r*i+n*j);f=1/(f>.1?f:.1);x=k,y=gc(f*(o+(s*i+p*j))),q[x+4>>2]=y;x=k,y=gc((t+(w*i+u*j))*f),q[x>>2]=y;d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(h,c,b);q[a+8>>2]=b;q[a>>2]=e}function A$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[b+164|0];if((c&3)==3){if(!(!(c&4)|!(c&8))){f=q[a+16>>2];d=f;a=q[d+132>>2];a:{if(a){break a}while(1){a=q[f+48>>2];if(!a){a=271312;break a}c=ab(1,4);if(c){Xi(c,a)}e=q[d+132>>2];a=c?c:271312;q[d+132>>2]=e?e:a;if(!e){break a}if(!(!c|!a)){c=q[a>>2];Pa(c?c:271312);La(a)}a=q[d+132>>2];if(!a){continue}break}}f=q[b+76>>2];if(f){a=q[a>>2];a=a?a:271312;c=t[a+16>>2]<12?271312:q[a+12>>2];a=0;while(1){e=r[c+5|0]|r[c+4|0]<<8;d=e?e+c|0:271312;e=w(a,20);h=e+q[b+88>>2]|0;i=q[h>>2];d=td(d,i)+ -1|0;g=0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:g=2;break b;case 0:g=4;break b;case 1:break c}}d=r[c+11|0]|r[c+10|0]<<8;g=td(d?d+c|0:271312,i)<<8|8}d=g;p[h+12>>1]=d;o[(e+q[b+88>>2]|0)+14|0]=0;o[(e+q[b+88>>2]|0)+15|0]=0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}return}}I(228890,228864,170,228879);F()}function DY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;i=1;if((f|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break b}c:{d:{c=c+h|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break d}q[b+12>>2]=f+ -3;if((f|0)<3){break d}h=r[c+1|0]|r[c|0]<<8;if(!h){break b}j=g;g=c+2|0;if(j>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break d}q[b+12>>2]=f+ -4;if((f|0)<4){break d}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}e=0;while(1){if(!Su((c+(e<<1)|0)+2|0,b,c,d)){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;i=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}i=1}return i}return 0}function FZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=c+2|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0<2){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}d=r[c+3|0]|r[c+2|0]<<8;if(!d){break b}d=d+ -1|0;if(d>>>0>2147483646){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function $K(a,b,c,d,e){a=a|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;g=Da-16|0;Da=g;f=q[b>>2];a:{if((f|0)==(c|0)){break a}k=a+72|0;l=a+884|0;while(1){m=b;i=(r[f|0]<<2)+l|0;h=o[i|0];b:{if(!h){h=0;f=n[q[a+364>>2]](q[a+368>>2],f)|0;c:{if((f|0)<0){break c}if((f|0)<=127){o[g+12|0]=f;h=1;break c}if((f|0)<=2047){o[g+13|0]=f&63|128;o[g+12|0]=f>>>6|192;h=2;break c}if((f|0)<=65535){o[g+14|0]=f&63|128;o[g+12|0]=f>>>12|224;o[g+13|0]=f>>>6&63|128;h=3;break c}if((f|0)>1114111){break c}o[g+15|0]=f&63|128;o[g+12|0]=f>>>18|240;o[g+14|0]=f>>>6&63|128;o[g+13|0]=f>>>12&63|128;h=4}if((h|0)>(e-q[d>>2]|0)){j=2;break a}i=g+12|0;f=q[b>>2];f=(r[r[f|0]+k|0]+f|0)+ -3|0;break b}if((e-q[d>>2]|0)<(h|0)){j=2;break a}i=i+1|0;f=f+1|0}q[m>>2]=f;Qa(q[d>>2],i,h);q[d>>2]=q[d>>2]+h;f=q[b>>2];if((f|0)!=(c|0)){continue}break}}Da=g+16|0;return j|0}function tm(a){var b=0,c=0;b=3840;c=a>>>12|0;a:{if(c>>>0>10){break a}b:{switch(c-1|0){default:if((a|0)==160){b=3851;break a}c=a+ -40|0;if(c>>>0<=23){b=s[(c<<1)+236704>>1];break a}if(a+ -176>>>0<=39){b=s[(a<<1)+236400>>1];break a}if(a+ -2304>>>0>1271){break a}b=s[(a<<1)+232224>>1];break a;case 0:if(a+ -4096>>>0<=159){b=s[(a<<1)+231184>>1];break a}if(a+ -6016>>>0<=111){b=s[(a<<1)+227664>>1];break a}if(a+ -7376>>>0>47){break a}b=s[(a<<1)+225168>>1];break a;case 1:if((a|0)==9676){b=3851;break a}if(a+ -8200>>>0<=15){b=s[(a<<1)+223616>>1];break a}if(a+ -8304>>>0>23){break a}b=s[(a<<1)+223440>>1];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:break a;case 9:break b}}c=a&-32;if((c|0)!=43616){if((c|0)!=43488){if((c|0)!=43232){break a}b=s[(a<<1)+153632>>1];break a}b=s[(a<<1)+153184>>1];break a}b=s[(a<<1)+152992>>1]}return b}function r_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!p_((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function ov(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!EZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function nv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!DZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function a_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!ZZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function VY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!UY((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function PY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-32|0;Da=f;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}e=r[a+7|0];c=r[a+6|0];d=r[a+5|0];g=r[a+4|0];q[f+16>>2]=a+4;d=_$(d|g<<8);q[f+20>>2]=d;j=f,k=(_$(e|c<<8)+d|0)+1|0,q[j+24>>2]=k;e=0;if(!Tb(a+2|0,b,a)){break a}q[f+12>>2]=f+16;g=q[b+4>>2];d=a+8|0;if(g>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}h=r[a+9|0]|r[a+8|0]<<8;if(!h){e=1;break a}i=g;g=a+10|0;if(i>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=1;c=r[a+9|0]|r[a+8|0]<<8;if(!c){break a}e=0;b:{while(1){if(!JY(((e<<1)+a|0)+10|0,b,a,f+12|0)){break b}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=1;break a}e=0}Da=f+32|0;return e}function KZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!FZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function yS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(g>>>0>390451571){break a}d=a+4|0;i=w(g,11);if(i){if(f>>>0>>0|h>>>0>d>>>0|f-d>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}if(!g){return 1}if(h>>>0>d>>>0){break a}f=0;while(1){e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<11){break a}d=q[c>>2];e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}e=w(f,11)+a|0;if(!wS(e+7|0,b,d)){break a}if(!vS(e+11|0,b,d)){break a}f=f+1|0;if((g|0)==(f|0)){return 1}d=(w(f,11)+a|0)+4|0;if(t[b+4>>2]<=d>>>0){continue}break}}return 0}function pH(a){var b=0,c=0,d=0,i=0,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;a:{b:{c:{h(+a);i=e(1)|0;b=i;d:{if(!(n=(q=1,r=(t=e(0)>>>0<0?0:1,u=0,v=(b|0)>=0,v?t:u),s=(b|0)>0,s?q:r),o=0,p=b>>>0>1071284857,p?n:o)){if(b>>>0>=3220176896){d=-H;if(a==-1){break a}return(a-a)/0}if(b<<1>>>0<2034237440){break d}if(b>>>0>=3218259653){break c}d=0;break b}if(b>>>0<=2146435071){break c}}return a}c=a+1;h(+c);b=e(1)|0;i=e(0)|0;b=b+614242|0;l=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+ -1))/c:l;f(0,i|0);f(1,(b&1048575)+1072079006|0);a=+g()+ -1;d=+((b>>>20|0)+ -1023|0)}j=a/(a+2);k=j*j;c=k*k;m=a;a=a*(a*.5);d=d*.6931471803691238+(m+(l+d*1.9082149292705877e-10+j*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+k*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-a))}return d}function a$(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;e=q[a+4>>2];c=(e|0)!=0;f=e-c|0;q[a+4>>2]=f;i=q[a+8>>2]+c|0;q[a+8>>2]=i;e=q[a>>2];b=e+w(c,6)|0;q[a>>2]=b;a:{if(!f){break a}l=q[a+16>>2];m=q[a+12>>2];while(1){d=e;e=b;g=q[m>>2];h=q[g+24>>2];b:{if((h|0)<1){break b}d=(d+w(c,6)|0)+l|0;b=r[d|0];j=r[d+1|0];n=j|b<<8;o=b>>>1|0;p=q[g+28>>2];b=h+ -1|0;c=0;while(1){c:{d=b+c>>>1|0;h=(d<<3)+p|0;k=o-q[h>>2]|0;d:{if((k|0)<=-1){b=d+ -1|0;break d}if(!k){break c}c=d+1|0}if((c|0)<=(b|0)){continue}break b}break}d=q[h+4>>2];b=271312;e:{if(t[g+36>>2]<=d>>>0){break e}b=q[g+40>>2];if(!b){break b}b=b+(d<<6)|0}b=b+(n>>>3&56)|0;c=q[b>>2];d=q[b+4>>2];g=j&63;b=g&31;if((32<=(g&63)>>>0?d>>>b|0:((1<>>b)&1){break a}}c=(f|0)!=0;i=i+c|0;q[a+8>>2]=i;f=f-c|0;q[a+4>>2]=f;b=w(c,6)+e|0;q[a>>2]=b;if(f){continue}break}}}function EZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c=c+d|0;c:{if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}g=c+2|0;if(h>>>0>g>>>0|e>>>0>>0|e-g>>>0<2){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}g=1;d=r[c+1|0]|r[c|0]<<8;d=(r[c+3|0]<<2|r[c+2|0]<<10)+(d?(d<<1)+ -2|0:0)|0;if(!d){break b}c=c+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function zZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0){break c}e=e-c|0;if(e>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}if((r[c+1|0]|r[c|0]<<8)!=1){break b}if(e>>>0<8){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function ns(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((f|0)>(c|0)){b=bb(h,f-c|0,j)+b|0;i=q[a>>2];f=f>>i;c=0;break b}i=q[a>>2];f=c>>i;c=q[a+4>>2]+ -1&c}d=0;if((e|0)<=(g|0)){g=e;d=q[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=bb(h,q[a+4>>2]-c|0,j)+b|0;break c}if(!r[a+79|0]){break c}o[a+79|0]=0;q[a+36>>2]=q[a+36>>2]+ -4}o[a+79|0]=!d;if(r[a+78|0]){q[q[a+80>>2]+20>>2]=f;o[a+78|0]=0}g=e-f|0;c=g+1|0;if(q[a+36>>2]+(c<<2)>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}d=1;e=q[a+4>>2];d:{if((h|0)>=1){f=Sk(e,h,j);break d}d=-1;h=0-h|0;f=0-Sk(e,h,j)|0}h=(w(q[a+4>>2],h)|0)%(j|0)|0;e=q[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){q[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}}q[a+36>>2]=e}return 0}function Ez(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>t[b+160>>2]){kb(b,8)}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d+ -16>>>0)/12>>>0>=f>>>0?!(d>>>0<16|d>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(f){a=0;while(1){d=a;e=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(h>>>0>a>>>0){kb(b,8)}if(!(!g|h>>>0>d>>>0)){kb(b,8)}if(!(!q[b+164>>2]|(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>2])){kb(b,16)}c=c+12|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}return 0}function LK(a,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:{e=c-b|0;if((e|0)>=1){b:{h=a+72|0;while(1){c:{d:{g=r[r[b|0]+h|0];if(g>>>0>8){break d}e:{switch(g-2|0){case 3:if((e|0)<2){return-2}if(n[q[a+352>>2]](a,b)){break a}b=b+2|0;break c;case 4:if((e|0)<3){return-2}if(n[q[a+356>>2]](a,b)){break a}b=b+3|0;break c;case 5:if((e|0)<4){return-2}if(n[q[a+360>>2]](a,b)){break a}b=b+4|0;break c;case 0:e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=33){b=e;break c}e=b+2|0;if((c-e|0)<1){break b}if(r[e|0]!=91){b=e;break c}b=b+3|0;f=f+1|0;break c;case 1:break d;case 2:break e;default:break a}}e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=93){b=e;break c}e=b+2|0;if((c-e|0)<1){break b}if(r[e|0]!=62){b=e;break c}b=b+3|0;if(!f){q[d>>2]=b;return 42}f=f+ -1|0;break c}b=b+1|0}e=c-b|0;if((e|0)>0){continue}break}}}return-1}q[d>>2]=b;return 0}function F_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-16|0;Da=d;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;c=0;a:{if(f>>>0>2){break a}b:{switch(f-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;f=r[c+1|0];c=r[c|0];e=q[57269];q[d+8>>2]=q[57268];q[d+12>>2]=e;e=q[57267];q[d>>2]=q[57266];q[d+4>>2]=e;e=a;a=f|c<<8;c=Jv(a?e+a|0:271312,b,d);break a;case 0:c=r[a+5|0];f=r[a+4|0];e=r[a+9|0];i=r[a+8|0];h=r[a+7|0]|r[a+6|0]<<8;h=h?h+a|0:271312;g=td(h,q[q[b+4>>2]>>2]);g=(r[a+11|0]|r[a+10|0]<<8)>>>0>g>>>0?((g<<1)+a|0)+12|0:271312;j=r[g+1|0];g=r[g|0];e=e|i<<8;q[d+12>>2]=e?e+a|0:271312;q[d+8>>2]=h;c=c|f<<8;q[d+4>>2]=c?c+a|0:271312;q[d>>2]=434;c=a;a=g<<8|j;c=Jv(a?c+a|0:271312,b,d);break a;case 1:break b}}c=A_(a,b)}Da=d+16|0;return c}function JC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+16>>2];c=161;a:{if(t[a+20>>2]>>0){break a}f=q[a+32>>2];b:{c:{b=q[b>>2];d=r[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,b,0,0)>>16;break b}b=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;c=d+ -28|0;if(c>>>0<=1){if(c-1){c=3;if(t[a+8>>2]<=b+2>>>0){break a}b=(r[b+2|0]|r[e|0]<<8)<<16>>16;break b}c=3;if(t[a+8>>2]<=b+4>>>0){break a}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}b=q[a+8>>2];if(d>>>0<=250){c=3;if(b>>>0<=e>>>0){break a}b=(r[e|0]|d<<8)+ -63124|0;break b}c=3;if(b>>>0<=e>>>0){break a}b=64148-(r[e|0]|d<<8)|0}c=3;if(b+ -2>>>0>14){break a}p[f+176>>1]=b;c=(q[a+20>>2]-q[a+16>>2]>>>2|0)+ -4|0;p[f+178>>1]=c;p[a+38>>1]=c;p[a+36>>1]=b;c=0}return c|0}function uv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}e=a+2|0;if(d>>>0>e>>>0|g>>>0>>0|g-e>>>0<2){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}e=r[a+3|0]|r[a+2|0]<<8;if(e){i=d;d=a+4|0;if(i>>>0>d>>>0|g>>>0>>0|g-d>>>0>>0){break a}q[b+12>>2]=h+ -3;if((h|0)<3){break a}}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}q[f+12>>2]=c?q[c>>2]:0;if(!tv(a,b,a,f+12|0)){break a}if(!c|(r[a+1|0]|r[a|0]<<8)|q[c>>2]!=1936292453){break b}e=q[c+4>>2];if(!e|e>>>0>=a>>>0){break b}d=d+(e-a|0)|0;if(d>>>0>65535){break b}e=q[b+24>>2];if(e>>>0>31){break b}q[b+24>>2]=e+1;if(!r[b+20|0]){break b}o[a+1|0]=d;o[a|0]=(d&65280)>>>8;q[f+8>>2]=q[c>>2];if(!tv(a,b,a,f+8|0)){break a}}j=1}Da=f+16|0;return j}function sd(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;g=a+136|0;a:{if(t[Ac(g)+4>>2]<=b>>>0){break a}q[f+16>>2]=d;q[f+12>>2]=c;q[f+8>>2]=a;q[f+24>>2]=0;o[f+20|0]=(e|0)!=0;a=271312;e=q[Ac(g)>>2];e=e?e:271312;e=t[e+16>>2]<10?271312:q[e+12>>2];h=r[e+9|0]|r[e+8|0]<<8;e=h?e+h|0:271312;if((r[e|0]<<8|r[e+1|0])>>>0>b>>>0){a=e+(b<<1)|0;a=r[a+2|0]<<8|r[a+3|0];a=a?a+e|0:271312}e=Ac(g);if(!d){break a}d=q[e+8>>2];e=d+w(b,24)|0;c=q[c>>2];if(!(q[e>>2]>>>(c>>>4&31)&1)|!(q[e+4>>2]>>>(c&31)&1)|!(q[(d+w(b,24)|0)+8>>2]>>>(c>>>9&31)&1)){break a}d=r[a+5|0];e=r[a+4|0];c=d|e<<8;if(!c){break a}g=r[a+1|0]|r[a|0]<<8;h=a+4|0;b=0;while(1){i=1;d=(d&255|(e&255)<<8)>>>0>b>>>0?((b<<1)+h|0)+2|0:271312;d=r[d|0]<<8|r[d+1|0];if(Wv(d?d+a|0:271312,f+8|0,g)){break a}b=b+1|0;if((b|0)!=(c|0)){d=r[a+5|0];e=r[a+4|0];continue}break}i=0}Da=f+32|0;return i}function s_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=e-a|0;if(c>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a|0]|r[a+1|0]<<8;g=((g<<24|g<<8&16711680)>>>16|0)+ -1|0;b:{if(g>>>0>1){break b}if(g-1){if(c>>>0<6){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=a+4|0;if(f>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(f>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;if((d|0)>=4){break b}break a}c=a+2|0;if(f>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}}h=1}return h}function cK(a,b,c){a=a|0;b=b|0;c=c|0;a=((c-b|0)/2|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+3|0]|r[b+2|0]!=116){break b}c=0;if(r[b+1|0]){break a}a=r[b|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 0:if(r[b+1|0]|r[b|0]!=97|(r[b+3|0]|r[b+2|0]!=109)){break b}if(r[b+5|0]){break b}c=38;if(r[b+4|0]!=112){break b}break a;case 1:break c}}if(r[b+1|0]){break b}a=o[b|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+3|0]|r[b+2|0]!=117|(r[b+5|0]|r[b+4|0]!=111)){break b}if(r[b+7|0]){break b}c=34;if(r[b+6|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+3|0]|r[b+2|0]!=112|(r[b+5|0]|r[b+4|0]!=111)){break b}if(r[b+7|0]){break b}c=39;if(r[b+6|0]==115){break a}}c=0}return c|0}function KJ(a,b,c){a=a|0;b=b|0;c=c|0;a=((c-b|0)/2|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+2|0]|r[b+3|0]!=116){break b}c=0;if(r[b|0]){break a}a=r[b+1|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 0:if(r[b|0]|r[b+1|0]!=97|(r[b+2|0]|r[b+3|0]!=109)){break b}if(r[b+4|0]){break b}c=38;if(r[b+5|0]!=112){break b}break a;case 1:break c}}if(r[b|0]){break b}a=o[b+1|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+2|0]|r[b+3|0]!=117|(r[b+4|0]|r[b+5|0]!=111)){break b}if(r[b+6|0]){break b}c=34;if(r[b+7|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+2|0]|r[b+3|0]!=112|(r[b+4|0]|r[b+5|0]!=111)){break b}if(r[b+6|0]){break b}c=39;if(r[b+7|0]==115){break a}}c=0}return c|0}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;g=q[b+8>>2];a:{if(r[g+12|0]!=1){break a}d=r[a+3|0]|r[a+2|0]<<8;h=d?d+ -1|0:0;if(!h){break a}q[g+16>>2]=-1;c=r[a+5|0]|r[a+4|0]<<8;i=ac(g,c);if(!i){break a}e=a+4|0;while(1){k=c&-512;l=c+512&-512;d=e;while(1){f=(c>>>3&56)+i|0;e=f;m=q[e+4>>2];j=e;n=q[e>>2];f=c&63;c=f&31;if(32<=(f&63)>>>0){f=1<>>32-c;c=1<>2]=n|c;q[e+4>>2]=f|m;h=h+ -1|0;if(!h){break a}e=d+2|0;c=r[d+3|0]|r[d+2|0]<<8;if(k>>>0<=c>>>0){d=e;if(c>>>0>>0){continue}}break}i=ac(g,c);if(i){continue}break}}b=q[b+16>>2];b:{if(r[b+12|0]!=1){break b}e=r[a|0];d=r[a+1|0];q[b+16>>2]=-1;a=d|e<<8;b=ac(b,a);if(!b){break b}b=b+(a>>>3&56)|0;a=b;e=q[b+4>>2];f=b;j=q[b>>2];d=d&63;b=d&31;if(32<=(d&63)>>>0){d=1<>>32-b;b=1<>2]=j|b;q[a+4>>2]=d|e}}function DV(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){e=q[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(f>>>0>=g>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>214748363)){f=db(q[a+12>>2],w(e,20));if(f){break c}}q[a+4>>2]=-1}q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;h=642976;break a}q[a+4>>2]=e;q[a+12>>2]=f;e=q[a+8>>2]}if(g>>>0>e>>>0){Na(q[a+12>>2]+w(e,20)|0,0,w(g-e|0,20))}q[a+8>>2]=g;h=(q[a+12>>2]+w(g,20)|0)+ -20|0}e=h;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+16>>2]=q[d+16>>2];g=q[d+12>>2];f=e+8|0;q[f>>2]=q[d+8>>2];q[f+4>>2]=g;q[e>>2]=b;f=q[c+12>>2];d=q[c+4>>2];g=q[c>>2];b=q[a>>2];q[e+12>>2]=0;q[e+4>>2]=b+g;e=f-b|0;b=d-b|0;b=b>>>0>d>>>0?0:b;q[h+8>>2]=b>>>0>e>>>0?e:b;q[a>>2]=q[c+12>>2]}function cv(a,b){var c=0,d=0,e=0,f=0;d=r[a+1|0]|r[a|0]<<8;a:{if(!d){break a}c=q[b+96>>2];e=q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+4>>2];c=q[b+116>>2];c=(e&c)>>>U$(c)|0;b:{if((c|0)!=255){break b}c=255;if(!r[b+143|0]){break b}c=(w(q[b+144>>2],48271)>>>0)%2147483647|0;q[b+144>>2]=c;c=((c>>>0)%(d>>>0)|0)+1|0}c=c+ -1|0;if(c>>>0>=d>>>0){break a}f=1;a=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+2|0:271312;e=r[a|0]<<8|r[a+1|0];kf(b,e,0,0,0);b=q[b+96>>2];d=q[b+92>>2];c:{if((d|0)==q[b+88>>2]){c=q[b+80>>2];a=c;if(q[b+72>>2]==(c|0)){break c}}if(!Va(b,1,1)){break a}c=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[c+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[c>>2];q[a+4>>2]=d;q[a+16>>2]=q[c+16>>2];d=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=d;c=q[b+72>>2];a=q[b+80>>2];d=q[b+92>>2]}q[w(a,20)+d>>2]=e;q[b+80>>2]=a+1;q[b+72>>2]=c+1}return f}function IO(a,b){a=a|0;b=b|0;return w(r[a+35|0]^w(r[a+34|0]^w(r[a+33|0]^w(r[a+32|0]^w(r[a+31|0]^w(r[a+30|0]^w(r[a+29|0]^w(r[a+28|0]^w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function iq(a,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:{f=b+4|0;if(f>>>0>32){break c}d:{switch(f-1|0){case 19:if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496694)){q[a>>2]=918;return 11}if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496701)){q[a>>2]=919;return 33}if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496709)){q[a>>2]=920;return 39}if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496717)){break b}q[a>>2]=921;return 17;case 14:return 55;case 16:return 56;case 31:return 60;case 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 15:case 17:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:break c;case 29:break d;default:break a}}q[a>>2]=922;return 3}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function US(a,b,c){a=a|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=Da-16|0;Da=f;e=q[c>>2];a:{if(!b){a=ub(e);break a}a=65535;g=TS(t[e+16>>2]<4?271312:q[e+12>>2],q[c+4>>2],f+12|0);h=r[g+4|0]<<8|r[g+5|0];b:{if(!h){break b}k=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);i=h+ -1|0;while(1){e=i+j>>>1|0;d=(e<<4)+g|0;d=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);d=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>>0?1:(d|0)!=(k|0)?-1:0;c:{if((d|0)<=-1){i=e+ -1|0;break c}if(!d){a=e;break b}j=e+1|0}if((j|0)<=(i|0)){continue}break}}a=h>>>0>a>>>0?((a<<4)+g|0)+12|0:271312;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=en(q[c>>2],q[f+12>>2]+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Da=f+16|0;return a|0}function ON(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,p=0,s=0,t=0,u=0;if(!(!b|!d)){if((b|0)>=1){while(1){g=r[c+f|0];if(g&4){e=(f<<2)+d|0;h=q[e>>2]+ -1569|0;q[e>>2]=q[(h>>>0>178?e:(h<<4|(g&3)<<2)+428032|0)>>2]}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if((b|0)>=2){t=b+ -1|0;while(1){e=i;i=e+1|0;b=r[a+e|0];a:{if(!(b&1)|(b|0)!=r[a+i|0]){break a}l=(e<<2)+d|0;j=q[l>>2];if(j+ -65247>>>0>1){break a}m=(i<<2)+d|0;n=q[m>>2];f=0;h=8;b:while(1){u=h+ -1|0;while(1){if((f|0)>=(h|0)){break a}c:{b=f+u>>>1|0;k=w(b,12);p=k+427264|0;g=q[p>>2];if((g|0)!=(j|0)){s=1;if(g>>>0<=j>>>0){break c}h=b;continue b}g=q[k+427268>>2];s=g>>>0>>0;if(g>>>0<=n>>>0){break c}h=b;continue b}f=b+1|0;if(s){continue}break}break}if(!p){break a}q[l>>2]=65279;b=c+e|0;o[b|0]=r[b|0]|32;q[m>>2]=q[k+427272>>2]}if((i|0)!=(t|0)){continue}break}}}}function Ff(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;i=q[q[b>>2]+16>>2];e=q[b+36>>2];h=q[e+12>>2];e=s[q[e>>2]+68>>1];$l(h,e,e);j=q[(i<<2)+288992>>2];while(1){e=a;a=e+1|0;f=r[e|0];if((f|0)==32){continue}break}a=e;if(f&223){while(1){a=a+1|0;if(f<<24>>24<=-1){k=a;a=f&255;a=k+(a>>>0<224?1:a>>>0<240?2:3)|0}f=r[a|0];if(f&223){continue}break}}Rl(c);f=a-e|0;_s(c,e,f,f);$s(c);Ql(h,c,j,(i|0)!=10);a:{if((i|0)==10){break a}b=q[q[b+36>>2]+16>>2];Rl(b);_s(b,e,f,f);$s(b);Ql(h,b,0,0);e=g+12|0;if(e){q[e>>2]=q[c+76>>2]}i=q[c+88>>2];e=g+8|0;if(e){q[e>>2]=q[b+76>>2]}e=q[g+12>>2];if((e|0)!=q[g+8>>2]){break a}b=q[b+88>>2];f=0;b:{c:{if(!e){break c}while(1){h=w(f,20);if(q[h+i>>2]!=q[b+h>>2]){break c}f=f+1|0;if((e|0)!=(f|0)){continue}break}break b}if((e|0)!=(f|0)){break a}}Rl(c)}q[d>>2]=q[c+76>>2];Da=g+16|0;return a}function wn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=q[a+28>>2];b:{if((c|0)==-1){break b}e=q[a+36>>2];g=q[a+40>>2];if(e>>>0>=g>>>0){break b}i=q[a>>2];b=c+1|0;j=q[a+16>>2]+20|0;while(1){d=w(e,12)+j|0;c=d+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=b>>>0>>0?f:b;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c:{d:{if(c>>>0>h>>>0){break d}b=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);while(1){b=c-f|0;if(d>>>0>(b^-1)>>>0){break d}b=b+d|0;if(!b){if((c|0)==-1){break b}k=c>>>0>>0;b=c+1|0;c=b;if(k){continue}break c}break}if(b>>>0>2]){break a}}b=c}e=e+1|0;if(e>>>0>>0){continue}break}}o[a+24|0]=0;return}q[a+36>>2]=e;q[a+32>>2]=b;q[a+28>>2]=c}function Uv(a,b,c,d){var e=0,f=0,g=0;a:{b:{e=w(c,20)+a|0;f=p[e+16>>1];c:{if(!f){break c}g=r[e+18|0];p[e+16>>1]=0;e=c+f|0;if(e>>>0>=b>>>0){break c}Uv(a,b,e,d);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=w(c,20)+a|0;q[b+12>>2]=q[b+12>>2]+q[(w(e,20)+a|0)+12>>2];return}b=w(c,20)+a|0;q[b+8>>2]=q[b+8>>2]+q[(w(e,20)+a|0)+8>>2];return}g=w(c,20)+a|0;f=w(e,20)+a|0;b=q[g+8>>2]+q[f+8>>2]|0;q[g+8>>2]=b;f=q[g+12>>2]+q[f+12>>2]|0;q[g+12>>2]=f;if(e>>>0>=c>>>0){break a}d:{if((d&-3)==4){while(1){d=w(e,20)+a|0;f=f-q[d+4>>2]|0;b=b-q[d>>2]|0;e=e+1|0;if((e|0)!=(c|0)){continue}break d}}e=e+1|0;if(e>>>0>=c+1>>>0){break c}while(1){d=w(e,20)+a|0;f=q[d+4>>2]+f|0;b=q[d>>2]+b|0;d=(c|0)==(e|0);e=e+1|0;if(!d){continue}break}}q[g+8>>2]=b;q[g+12>>2]=f}return}I(228926,228987,2296,229016);F()}I(229045,228987,2310,229016);F()}function Ux(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=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);j=r[a+9|0]|r[a+8|0]<<8;if(j){d=q[b+8>>2];m=d+ -1|0;n=q[b+12>>2];o=(d|0)<1;while(1){c=w(g,12)+a|0;h=r[c+14|0]<<8|r[c+15|0];e=r[c+13|0]|r[c+12|0]<<8;while(1){a:{b=0;d=m;b:{if(o){break b}while(1){c:{i=b+d>>>1|0;k=w(i,12)+n|0;l=q[k>>2];d:{if((l|0)<(e|0)){d=i+ -1|0;break d}if((e|0)==(l|0)){break c}b=i+1|0}if((b|0)<=(d|0)){continue}break b}break}if(q[k+4>>2]!=(h|0)){break b}b=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);f=r[c+19|0]|((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))&f|(r[c+17|0]<<16|r[c+16|0]<<24)|r[c+18|0]<<8);break a}if((e|0)!=3){break a}e=37;b=(h|0)==3;h=1;if(b){continue}}break}g=g+1|0;if((j|0)!=(g|0)){continue}break}}return f}function Ol(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=q[a+2744>>2]&4;f=64;a:{if(n){break a}f=(e|0)==1?55:49;if(!(!(o[b+12|0]&1)|!(o[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=q[c+4>>2];m=q[b+4>>2];j=og(a,e,l-m|0);a=(((l+m|0)/2|0)+d|0)+((j|0)/-2|0)|0;d=a&63;b:{if(!d){break b}h=a+j&63;if(!h){break b}g=64-d|0;if((j|0)<=(f|0)){if((h|0)>=(j|0)){break b}i=g>>>0>h>>>0?0-h|0:g;break b}if(f>>>0<=63){if(f>>>0<=h>>>0|64-h>>>0>=f>>>0|(f>>>0<=g>>>0|d>>>0>=f>>>0)){break b}}k=j&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(h>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;i=g>>31;e=f-h|0;d=h-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;i=(i^g+i)>(d^d+e)?e:g}d=i;d:{if(n){break d}d=14;if((i|0)>14){break d}d=(i|0)>-14?i:-14}f=d+a|0;e=f+j|0;a=(l|0)>(m|0);q[b+8>>2]=a?f:e;q[c+8>>2]=a?e:f;return d}function Ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=r[a+3|0]|r[a+2|0]<<8;c=q[b+96>>2];g=yb(f?f+a|0:271312,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((g|0)==-1){break a}e=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=e;d=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[d+76>>2];o[b+20|0]=(e|0)==q[d+72>>2]?r[(q[d+88>>2]+w(e,20)|0)+15|0]:0;q[b+8>>2]=q[b+128>>2]&-15;if(!Kf(b)){break a}e=q[c+88>>2];f=q[b>>2];d=e+w(f,20)|0;if(!(r[d+12|0]&8)){break a}d=r[d+14|0];h=d&16?0:d&15;c=r[(e+w(q[c+72>>2],20)|0)+14|0];i=c&16?0:c&15;c=c>>>5|0;d=d>>>5|0;b:{if((c|0)==(d|0)){if(!c|(h|0)==(i|0)){break b}break a}if(i?0:c){break b}if(h|!d){break a}}c=r[a+5|0]|r[a+4|0]<<8;c=yb(c?c+a|0:271312,q[e+w(f,20)>>2]);if((c|0)==-1){return 0}e=r[a+9|0]|r[a+8|0]<<8;d=b;b=r[a+11|0]|r[a+10|0]<<8;j=vm(e?e+a|0:271312,d,g,c,b?b+a|0:271312,r[a+7|0]|r[a+6|0]<<8,f)}return j}function RN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!b){break a}i=b+ -1|0;if((i|0)<0){break a}b=i;while(1){if(q[(b<<2)+a>>2]&9441280){o[b+c|0]=0;e=(b|0)>0;b=b+ -1|0;if(e){continue}}break}b=i;while(1){a=o[b+c|0];g=((a|0)>(g|0)?a:g)<<24>>24;a=(b|0)>0;b=b+ -1|0;if(a){continue}break}if((g|0)<1){break a}j=g;while(1){e=i;while(1){f=j<<24>>24;b:{if(o[c+e|0]<(f|0)){a=e;break b}h=(e|0)<0?e:0;k=h+ -1|0;a=e;while(1){c:{b=a;if((b|0)<=0){b=h;a=k;break c}a=b+ -1|0;if(o[c+a|0]>=(f|0)){continue}}break}if(!d){break b}e=e-a|0;if((e|0)<2){break b}k=(e|0)/2|0;h=(b<<2)+d|0;b=0;while(1){f=h+(b<<2)|0;l=q[f>>2];m=f;f=h+((b^-1)+e<<2)|0;q[m>>2]=q[f>>2];q[f>>2]=l;b=b+1|0;if((k|0)!=(b|0)){continue}break}}e=a+ -1|0;if((a|0)>0){continue}break}a=j<<24;j=j+ -1|0;if(a>>24>1){continue}break}}return(g<<24)+16777216>>24}function pv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:if(!Tb(a+2|0,b,a)){break a}g=q[b+4>>2];d=a+4|0;if(g>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}h=r[a+5|0]|r[a+4|0]<<8;if(!h){break b}c=d+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<2){break b}c=1;e=r[a+5|0]|r[a+4|0]<<8;if(!e){break b}c=0;d:{while(1){if(!nv((d+(c<<1)|0)+2|0,b,a)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}return 1}break a;case 0:return HZ(a,b);case 1:break c}}c=GZ(a,b)}return c}return 0}function uu(a,b,c){var d=0,e=0,f=0,g=0;d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:271312;e=r[d+2|0]<<8|r[d+3|0];if(e){g=r[d+1|0];f=(g>>>4&3)+1|0;d=(d+w(f,e>>>0>b>>>0?b:e+ -1|0)|0)+4|0;b=0;while(1){b=r[d|0]|b<<8;d=d+1|0;f=f+ -1|0;if(f){continue}break}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:271312;d=b>>>16|0;if((r[a+6|0]<<8|r[a+7|0])>>>0<=d>>>0){return x(0)}d=a+(d<<2)|0;d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=d?d+a|0:271312;d=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Vi(e,b&65535,q[c+64>>2],q[c+60>>2],a?d+a|0:271312)}function sN(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:{if(b){e=q[b>>2];if(e){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return 1}f=q[b+8>>2];h=Sa(e<<3);q[a+16>>2]=h;j=Sa(f);q[a+20>>2]=j;if(!(j?h:0)){La(h);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return 0}q[a+12>>2]=f;q[a+4>>2]=e;q[a+8>>2]=0;q[a>>2]=0;k=q[b>>2];if(k){o=q[b+16>>2];d=d+32|0;c=c+32|0;while(1){e=l<<3;i=e+h|0;f=i;n=e+o|0;e=q[n>>2];g=e;m=f;p=e>>31;e=c;f=e&31;if(32<=(e&63)>>>0){e=g<>>32-f|p<>2]=e;e=q[n+4>>2];m=i;i=e>>31;g=e;e=d;f=e&31;if(32<=(e&63)>>>0){e=g<>>32-f|i<>2]=e;l=l+1|0;if((k|0)!=(l|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(j,c,b);q[a+8>>2]=b;q[a>>2]=k;return 1}function Pq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+104>>2];a:{if(!d){break a}if(Sq(a,b,d)){break a}b=q[d+8>>2];if(ri(d,b+4|0)){break a}if(Lk(d,2)){break a}a=q[d+32>>2];q[d+32>>2]=a+2;f=r[a+1|0];a=r[a|0];Kk(d);if(ri(d,b+(f|a<<8)|0)){break a}g=q[d+8>>2];if(Lk(d,2)){break a}a=q[d+32>>2];q[d+32>>2]=a+2;b=r[a+1|0];a=r[a|0];Kk(d);f=b|a<<8;a=Sa(f<<2);q[c>>2]=a;if(!a){break a}b:{if(!f){break b}a=0;b=0;while(1){if(Lk(d,6)){break b}e=q[d+32>>2];q[d+32>>2]=e+4;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[q[c>>2]+((a&65535)<<2)>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=q[d+32>>2];q[d+32>>2]=e+2;h=r[e+1|0];e=r[e|0];Kk(d);i=q[d+8>>2];e=ri(d,(e<<8|h)+g|0);ri(d,i);a=!e+a|0;b=b+1|0;if(f>>>0>(b&65535)>>>0){continue}break}if(!(a&65535)){break b}Gc(q[c>>2],f,4,835);return f}La(q[c>>2]);q[c>>2]=0}return 0}function bf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Da-32|0;Da=h;j=a+11724|0;Cl(a,q[a+11720>>2],q[j>>2],b,c,h+28|0,h+24|0);Cl(a,d,e,f,g,h+20|0,h+16|0);i=q[a+4>>2];q[i+16>>2]=q[i+16>>2]+(w(e-c>>16,b>>16)-w(d-b>>16,c>>16)|0);i=q[h+28>>2];k=i+q[a+11720>>2]|0;q[h+8>>2]=k;l=q[h+24>>2];j=l+q[j>>2]|0;q[h+12>>2]=j;m=q[h+16>>2];n=q[h+20>>2];c=c+l|0;i=b+i|0;if(r[a+11667|0]){as(a,k,j);o[a+11664|0]=1;o[a+11667|0]=0;q[a+11712>>2]=i;q[a+11716>>2]=c}if(r[a+11744|0]){Ee(a,a+8|0,h+8|0,i,c,0)}q[a+11748>>2]=4;o[a+11744|0]=1;b=q[h+12>>2];j=q[h+8>>2];q[a+11780>>2]=g+m;q[a+11776>>2]=f+n;q[a+11772>>2]=e+m;q[a+11768>>2]=d+n;q[a+11752>>2]=j;q[a+11756>>2]=b;q[a+11760>>2]=i;q[a+11764>>2]=c;b=q[a+11676>>2];if(r[b+5|0]){De(a+8|0,q[a+11668>>2],q[a+11672>>2],b,q[a+11680>>2],0)}q[a+11724>>2]=g;q[a+11720>>2]=f;Da=h+32|0}function HW(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=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}f=ab(1,48);if(f){Vl(f,a)}g=q[b+8>>2];a=f?f:271312;q[b+8>>2]=g?g:a;if(!g){break a}if(!(!f|!a)){f=q[a+44>>2];Pa(f?f:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}j=271312;b=q[a+4>>2];b=b?b:271312;f=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if((f|0)<1){break b}f=f+ -1|0;g=0;while(1){c:{i=f+g>>>1|0;h=b+w(i,11)|0;h=r[h+11|0]<<8|r[h+10|0]<<16|r[h+12|0];d:{if(h>>>0>d>>>0){f=i+ -1|0;break d}if((d|0)==(h|0)){break c}g=i+1|0}if((g|0)<=(f|0)){continue}break b}break}j=(b+w(i,11)|0)+10|0}b=zW(j,c,e,b);e:{if(b>>>0<=1){if(b-1){break e}return 1}b=q[a+8>>2];if(!b){return 0}b=n[b](q[a+12>>2],c,e)|0}return b|0}function _Z(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!UZ(i+6|0,b,k,g+4|0)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function Xq(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(!a){return-1}h=q[a+4>>2];e=-1;f=-1;i=q[a+12>>2]+a|0;a:{b:{if(i){d=h+ -1|0;j=q[c>>2];l=j>>>8|0;c:{if((h|0)>=1){m=l&65535;while(1){g=d+k|0;f=g>>1;g=s[(g&-2)+i>>1];if((g|0)==(m|0)){break c}g=g>>>0>>0;k=g?f+1|0:k;d=g?d:f+ -1|0;if((k|0)<=(d|0)){continue}break}}if(!((d|0)>=(h|0)|s[(d<<1)+i>>1]>=(l&65535)>>>0?(d|0)>=0:0)){d=d+1|0}f=d^-1}if((f|0)>-1){break b}}f=f^-1;if((h|0)==(f|0)){break a}j=s[(f<<1)+i>>1]<<8}e=q[a+8>>2]+a|0;e=q[e+(f<<2)>>2]+e|0;if(!e){return-1}d=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=d;d=q[e+28>>2];q[b+24>>2]=q[e+24>>2];q[b+28>>2]=d;d=q[e+20>>2];q[b+16>>2]=q[e+16>>2];q[b+20>>2]=d;d=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=d;b=f+1|0;if((b|0)>2]){a=s[(q[a+12>>2]+a|0)+(b<<1)>>1]<<8}else{a=-1}q[c>>2]=a;e=j}return e}function TS(a,b,c){var d=0,e=0;if(c){q[c>>2]=0}e=271312;a:{b:{c:{d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d:{if((d|0)<=1953658212){if((d|0)==256){break b}if((d|0)==65536|(d|0)==1330926671){break d}break a}if((d|0)==1954115633){break d}if((d|0)==1953784678){break c}if((d|0)!=1953658213){break a}}return a}if((r[a+5|0]|r[a+4|0]<<8)+ -1>>>0>1){break a}c=a;d=((b<<2)+a|0)+12|0;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?d:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return a?c+a|0:271312}d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);e=RS((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0,b,a+256|0);if(!c){break a}q[c>>2]=e-a}return e}function ur(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,x=0;a:{if(!q[b+20>>2]){break a}if(!!(d>.001)){JM(a,b,d)}if(!c){break a}l=oe(32,q[b+16>>2]<<2,0);if(!l){break a}k=q[b+20>>2];f=q[b+16>>2];g=q[b+12>>2];h=q[b+8>>2];e=c+ -1|0;b:{if(!e){c=f<<1;break b}c=0;i=(h|0)>0&(g|0)>0;if((i|0)==1){while(1){m=w(c,f);b=0;while(1){j=(b+m|0)+k|0;o[j|0]=(r[j|0]>>>1|0)+1>>>1;b=b+1|0;if((h|0)!=(b|0)){continue}break}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=f<<1;while(1){s=k,t=h,u=g,v=f,x=Na(l,0,c),p=q[a+32>>2],n[p](s|0,t|0,u|0,v|0,x|0);e=e+ -1|0;if(e){continue}break}if(!i){break b}e=0;while(1){m=w(f,e);b=0;while(1){j=(b+m|0)+k|0;i=r[j|0];o[j|0]=(i<<2)-(i>>>0>32);b=b+1|0;if((h|0)!=(b|0)){continue}break}e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=Na(l,0,c);n[q[a+32>>2]](k,h,g,f,b);gd(b)}}function NW(a,b,c){var d=0,e=0,f=x(0);d=Da-144|0;Da=d;q[d+56>>2]=-8388609;q[d+48>>2]=2139095039;q[d+52>>2]=-8388609;q[d+16>>2]=2139095039;q[d+20>>2]=-8388609;q[d+24>>2]=-8388609;q[d+44>>2]=2139095039;q[d+40>>2]=d- -64;e=q[d+44>>2];q[d+8>>2]=q[d+40>>2];q[d+12>>2]=e;q[d+32>>2]=b;q[d+36>>2]=d+128;e=q[d+36>>2];q[d>>2]=q[d+32>>2];q[d+4>>2]=e;a:{if(!qm(a,b,c,d)){b=sg(q[a+16>>2]+92|0);e=q[b+4>>2];if(e>>>0>c>>>0){a=q[b+12>>2];a=(c|0)<0?271312:q[(a?a:271312)+12>>2]+(c<<2)|0;a=r[a+2|0]|r[a+3|0]<<8;a=(a<<24|a<<8&16711680)>>16;break a}a=0;if(t[b>>2]<=c>>>0){break a}a=q[b+12>>2];a=(c-e<<1)+((e|0)<0?271312:q[(a?a:271312)+12>>2]+(e<<2)|0)|0;a=r[a|0]|r[a+1|0]<<8;a=(a<<24|a<<8&16711680)>>16;break a}f=x(x(D(u[d+104>>2]))-x(q[d+132>>2]));if(x(y(f))>>0>>0){if((c-b|0)<1){return-1}g=a+72|0;e=b;while(1){a:{b:{c:{h=r[r[e|0]+g|0]+ -3|0;if(h>>>0>27){break c}f=2;d:{switch(h-1|0){case 2:f=3;break b;case 3:f=4;break b;default:if((b|0)!=(e|0)){break a}return hi(a,b+1|0,c,d)|0;case 26:if((b|0)!=(e|0)){break a}a=sq(a,b+1|0,c,d);return((a|0)==22?0:a)|0;case 6:if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 7;case 1:break b;case 0:case 4: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:break c;case 5:break d}}if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7}f=1}e=e+f|0;if((c-e|0)>0){continue}}break}q[d>>2]=e;a=6}else{a=-4}return a|0}function _C(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Da-16|0;Da=g;f=q[a+712>>2];q[g+12>>2]=0;a:{if(!f){break a}e=q[f+3132>>2];if(!e){e=gb(q[a+100>>2],2,g+12|0);c=q[g+12>>2];if(c){break a}p[e>>1]=0;a=q[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a+ -391|0;if(t[f+1356>>2]<=a>>>0){break b}a=q[q[f+1360>>2]+(a<<2)>>2];break c}c=q[f+3084>>2];if(!c){break b}a=n[q[c+20>>2]](a)|0}if(!a){break b}a=cb(a,10152);if(!a){break b}c=a+7|0;a=cb(c,10160);if(!a|(a|0)==(c|0)){break b}while(1){d:{e:{d=r[c|0];if((d+ -48&255)>>>0<=9){d=s[e>>1];if(d>>>0<6552){break e}p[e>>1]=0;break b}d=d+ -10|0;if(1<>>0<=22:0){break d}p[e>>1]=0;break b}d=w(d,10);p[e>>1]=d;p[e>>1]=(d+o[c|0]|0)+ -48}c=c+1|0;if((a|0)!=(c|0)){continue}break}}q[f+3132>>2]=e;c=q[g+12>>2]}p[b>>1]=s[e>>1]}Da=g+16|0;return c|0}function VZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!vv(i+6|0,b,k)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function LS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Da-16|0;Da=h;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}i=q[b+8>>2];if(i>>>0>>0|i-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=a+2|0;if(e>>>0>g>>>0|i>>>0>>0|i-g>>>0<(r[a|0]<<11|r[a+1|0]<<3)+8>>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}k=q[c>>2];f=r[a+1|0];e=r[a|0];q[h+12>>2]=q[d>>2];i=f|e<<8;while(1){b:{e=q[b+8>>2];if(e>>>0>>0|e-g>>>0<=7){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}e=(j<<3)+a|0;f=e+8|0;q[h+8>>2]=(r[e+5|0]|(r[e+3|0]<<16|r[g|0]<<24|r[e+4|0]<<8))==1936092788?(r[e+7|0]|r[e+6|0]<<8)+1|0:0;if(!KS(f,b,k,h+8|0,h+12|0)){break a}if((i|0)==(j|0)){l=1;break a}k=q[c>>2];e=q[b+4>>2];q[h+12>>2]=q[d>>2];j=j+1|0;g=((j<<3)+a|0)+2|0;if(e>>>0<=g>>>0){continue}}break}}Da=h+16|0;return l}function $Z(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!XZ(i+6|0,b,k)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function oW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=1;a:{if(!c){break a}f=0;if(!q[a>>2]|q[a+144>>2]!=-1){break a}b:{c:{e=q[a+48>>2];d:{e:{if((e|0)!=271312){b=lu(e,b,q[a+212>>2]);break e}e=q[a+168>>2];if(e>>>0>2){b=0;break d}f:{switch(e-1|0){default:b=b>>>0<229?b:0;break d;case 0:b=b>>>0<=165?s[(b<<1)+242080>>1]:0;break e;case 1:break f}}b=b>>>0<=86?s[(b<<1)+242416>>1]:0}if(b>>>0>390){break c}}a=b<<2;b=q[a+243040>>2];a=q[a+243044>>2]+(b^-1)|0;b=b+244608|0;break b}e=q[a+60>>2];a=r[e|0]<<8|r[e+1|0];g=b+ -391|0;if(a>>>0<=g>>>0){a=q[67829];b=q[67828];break b}b=r[e+2|0];i=(e+w(b,a+1|0)|0)+3|0;if(b){a=(e+w(b,g)|0)+3|0;while(1){h=r[a|0]|h<<8;a=a+1|0;b=b+ -1|0;if(b){continue}break}}a=rg(e,g);b=(h+i|0)+ -1|0}if(!a){break a}e=b;b=d+ -1|0;a=b>>>0>a>>>0?a:b;j=Md(c,e,a)+a|0,k=0,o[j|0]=k;f=1}return f}function Xg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Da-16|0;Da=g;f=q[a>>2];q[g+12>>2]=f;a:{if(f>>>0>=b>>>0){break a}h=r[f|0];j=(h|0)==91?93:(h|0)==123?125:0;if(j){f=f+1|0;q[g+12>>2]=f}if(f>>>0>=b>>>0){break a}b:{c:{d:{e:{if(!d){while(1){$b(g+12|0,b);c=q[g+12>>2];if(c>>>0>=b>>>0){break d}if(r[c|0]==(j|0)){f=c;break b}Ed(g+12|0,b,e);f=q[g+12>>2];if((c|0)==(f|0)){break e}i=i+1|0;if(!j){break a}if(f>>>0>>0){continue}break}break a}h=0;i=(c|0)>0?c:0;while(1){f:{$b(g+12|0,b);f=q[g+12>>2];if(f>>>0>=b>>>0){break f}if(r[f|0]==(j|0)){i=h;break b}if((h|0)==(i|0)){break a}k=(h<<2)+d|0,l=Ed(g+12|0,b,e),q[k>>2]=l;c=f;f=q[g+12>>2];if((c|0)==(f|0)){break c}h=h+1|0;if(f>>>0>>0?j:0){continue}}break}i=h;break a}i=-1;break a}f=c;break a}i=-1;break a}f=f+1|0;q[g+12>>2]=f}q[a>>2]=f;Da=g+16|0;return i}function BQ(a,b,c,d){a=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,o=0;i=Da-16|0;Da=i;e=6;a:{if((b|0)<0|q[a+16>>2]<=(b|0)){break a}b:{e=q[a+4>>2]+d|0;f=q[a+8>>2];c:{if(e>>>0<=f>>>0){break c}g=q[a>>2];j=c-g|0;k=j>>>0>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(f>>>0>>0){continue}break}l=q[a+32>>2];h=gb(l,f,i+12|0);q[a>>2]=h;e=q[i+12>>2];if(e){break b}k=k&(j|0)>-1;if(g){Qa(h,g,q[a+8>>2]);h=q[a+16>>2];if((h|0)>=1){o=q[a>>2]-g|0;e=q[a+24>>2];h=e+(h<<2)|0;while(1){m=q[e>>2];if(m){q[e>>2]=o+m}e=e+4|0;if(e>>>0>>0){continue}break}}if(g){n[q[l+8>>2]](l,g)}}q[a+8>>2]=f;e=k?j:-1;if((e|0)<0){break c}c=e+q[a>>2]|0}e=0;b=b<<2;f=q[a>>2];g=q[a+4>>2];q[b+q[a+24>>2]>>2]=f?f+g|0:0;q[b+q[a+28>>2]>>2]=d;Qa(g+q[a>>2]|0,c,d);q[a+4>>2]=q[a+4>>2]+d;break a}q[a>>2]=g}Da=i+16|0;return e|0}function Jm(a,b,c,d,e,f){var g=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[g+5|0]|r[g+4|0]<<8;b=a?g+a|0:271312;a=(r[b+1|0]|r[b|0]<<8)>>>0>c>>>0?(b+w(c,6)|0)+2|0:271312;a=r[a+4|0]<<8|r[a+5|0];b=a?a+b|0:271312;b:{if((d|0)==65535){c=b+1|0;a=b;break b}a=(r[b+3|0]|r[b+2|0]<<8)>>>0>d>>>0?(b+w(d,6)|0)+4|0:271312;c=a+5|0;a=a+4|0}a=r[c|0]|r[a|0]<<8;a=a?a+b|0:271698;b=r[a+2|0]<<8|r[a+3|0];if(e){q[e>>2]=b}if(f){if((b|0)!=65535){a=r[g+7|0]|r[g+6|0]<<8;a=a?a+g|0:271312;a=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}else{a=0}q[f>>2]=a}}function YM(a,b,c,d){a=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,q=0,r=0,s=0,t=0,u=0;a:{if(!c){break a}i=d+5>>>1|0;if(!i){d=0;while(1){d=d+16|0;if(d>>>0>>0){continue}break}break a}g=d<<4;n=i<<5;while(1){d=a;f=0;j=0;while(1){o=f>>>0>>0?(f<<1)+b|0:438160;e=f|16;q=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -16|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -32|0;s=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -48|0;t=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -64|0;u=e>>>0>>0?(e<<1)+b|0:438160;h=0;while(1){e=h<<1;k=p[e+r>>1]+p[e+s>>1]|0;l=p[e+o>>1]+p[e+t>>1]|0;p[d+e>>1]=((l+((p[e+q>>1]+(p[e+u>>1]+l|0)>>1)+k>>>1|0)>>>1|0)+k|0)+2>>>2;h=h+1|0;if((h|0)!=16){continue}break}f=f+32|0;d=d+32|0;j=j+1|0;if((j|0)!=(i|0)){continue}break}b=(g<<1)+b|0;a=a+n|0;m=m+16|0;if(m>>>0>>0){continue}break}}}function Ne(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}a:{b:{c:{d:{if((b|0)!=1970170211){if(q[a+36>>2]|b){break d}return 6}f=38;d=q[a+40>>2];if(!d){break a}c=d+(q[a+36>>2]<<2)|0;b=c+ -4|0;if(b>>>0>=d>>>0){while(1){e=q[b>>2];e:{if(q[e+4>>2]!=1970170211){break e}g=s[e+8>>1];if(g>>>0>3){break e}f:{switch(g-1|0){default:if(s[e+10>>1]!=4){break e}break c;case 2:break f;case 0:case 1:break e}}if(s[e+10>>1]==10){break c}}b=b+ -4|0;if(b>>>0>=d>>>0){continue}break}}while(1){c=c+ -4|0;if(c>>>0>>0){break a}b=q[c>>2];if(q[b+4>>2]!=1970170211){continue}break}q[a+92>>2]=b;break b}c=q[a+40>>2];if(!c){return 38}f=6;d=q[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+c|0;while(1){e=q[c>>2];if(q[e+4>>2]!=(b|0)){c=c+4|0;if(c>>>0>>0){continue}break a}break}q[a+92>>2]=e;break b}q[a+92>>2]=e}f=0}return f}function AP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=1024;a:{if((c|0)<1){break a}h=b+c|0;while(1){c=a;b:{c:{d:{a=b;e=h-a|0;if(e>>>0>=2){i=r[a|0];f=r[a+1|0]|i<<8;b=a+2|0;d=b;if((i&252)!=216){break c}e=e+ -2|0;if(e>>>0>=2){break d}a=b}b=a+e|0;d=65533;break b}e=r[b|0];d=65533;if((e&252)!=220){break b}f=((r[a+3|0]|e<<8)+(f<<10)|0)+ -56613888|0;d=a+4|0}b=d;d=(f&-1024)==56320?65533:f}a=d;if(g>>>0<5){a=c;break a}e:{if(a>>>0<=127){o[c|0]=a;d=c+1|0;break e}if(a>>>0<=2047){o[c+1|0]=a&63|128;o[c|0]=a>>>6|192;d=c+2|0;break e}if(a>>>0<=65535){o[c+2|0]=a&63|128;o[c|0]=a>>>12|224;o[c+1|0]=a>>>6&63|128;d=c+3|0;break e}d=c;if(a>>>0>1114111){break e}o[c+3|0]=a&63|128;o[c|0]=a>>>18|240;o[c+2|0]=a>>>6&63|128;o[c+1|0]=a>>>12&63|128;d=c+4|0}a=d;o[a|0]=0;g=(c+g|0)-a|0;if(b>>>0>>0){continue}break}}o[a|0]=0}function hw(a,b){var c=0,d=0,e=0,f=0;d=Da-48|0;Da=d;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;c=e_(d+8|0,Jb(b,1196643650));q[a>>2]=c;b=c?c:271312;b=t[b+16>>2]<10?271312:q[b+12>>2];e=r[b+9|0]|r[b+8|0]<<8;b=e?b+e|0:271312;b=r[b|0]<<8|r[b+1|0];q[a+4>>2]=b;e=ab(b,24);q[a+8>>2]=e;a:{if(!e){q[a+4>>2]=0;break a}if(!b){break a}b=0;while(1){f=w(b,24)+e|0;c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){e=c;c=c+(b<<1)|0;c=r[c+2|0]<<8|r[c+3|0];e=c?e+c|0:271312}else{e=271312}Av(f,e);b=b+1|0;if(b>>>0>=t[a+4>>2]){break a}c=q[a>>2];e=q[a+8>>2];continue}}Da=d+48|0}function gw(a,b){var c=0,d=0,e=0,f=0;d=Da-48|0;Da=d;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;c=_Y(d+8|0,Jb(b,1196445523));q[a>>2]=c;b=c?c:271312;b=t[b+16>>2]<10?271312:q[b+12>>2];e=r[b+9|0]|r[b+8|0]<<8;b=e?b+e|0:271312;b=r[b|0]<<8|r[b+1|0];q[a+4>>2]=b;e=ab(b,24);q[a+8>>2]=e;a:{if(!e){q[a+4>>2]=0;break a}if(!b){break a}b=0;while(1){f=w(b,24)+e|0;c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){e=c;c=c+(b<<1)|0;c=r[c+2|0]<<8|r[c+3|0];e=c?e+c|0:271312}else{e=271312}ZY(f,e);b=b+1|0;if(b>>>0>=t[a+4>>2]){break a}c=q[a>>2];e=q[a+8>>2];continue}}Da=d+48|0}function KD(a,b){a=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=Da-272|0;Da=d;n[q[b+60>>2]](b,d+80|0,16,d+76|0);e=q[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}j=q[b+8>>2];k=q[b>>2];if((e|0)>=1){i=q[a+532>>2];e=0;while(1){c=(d+80|0)+w(g,12)|0;q[b>>2]=q[c>>2];q[b+8>>2]=q[c+4>>2];n[q[b+60>>2]](b,d+16|0,4,d+12|0);f=q[d+12>>2];b:{if(!g){c=3;if(f+ -1>>>0>3){break a}c=Bh(a,q[d+76>>2],f);if(c){break a}i=q[a+532>>2];c=q[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)+w(c,12)|0;q[b>>2]=q[h>>2];q[b+8>>2]=q[h+4>>2];h=n[q[b+40>>2]](b,0)|0;q[q[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}}q[b+8>>2]=j;q[b>>2]=k;c=0}q[b+12>>2]=c;Da=d+272|0}function pB(a,b,c){a=a|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,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=r[b|0]+a|0;e=c+r[b+1|0]|0;g=e+r[b+2|0]|0;h=g+r[b+3|0]|0;i=h+r[b+4|0]|0;j=i+r[b+5|0]|0;k=j+r[b+6|0]|0;l=k+r[b+7|0]|0;m=l+r[b+8|0]|0;n=m+r[b+9|0]|0;o=n+r[b+10|0]|0;p=o+r[b+11|0]|0;q=p+r[b+12|0]|0;s=q+r[b+13|0]|0;t=s+r[b+14|0]|0;a=t+r[b+15|0]|0;f=a+(t+(s+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d+ -16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=r[d|0]+a|0;f=f+a|0;d=d+1|0;e=e+ -1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function uS(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;f=q[e+12>>2];q[a+4>>2]=f;g=q[e+16>>2];q[a+8>>2]=g+f;a:{if((g|0)>-1){q[a+24>>2]=0;d=a;if(g>>>0>536870910){c=1073741823}else{c=g<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[d+12>>2]=c;q[a>>2]=0;if(!f){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}b:{c:{if(g>>>0<6){break c}q[a+12>>2]=c+ -1;d=r[f|0]|r[f+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;if(d>>>0>1){break c}if(!(d-1)){if(g+ -6>>>0<26){break c}q[a+12>>2]=c+ -2;Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break a}c=r[f+3|0];d=r[f+2|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8)!=20480){break b}break a}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271724,271749,195,271766);F()}if(q[b+4>>2]){q[b+4>>2]=0}return b}function Xv(a,b,c,d,e){var f=0,g=0;a:{if((b|0)!=1196445523){f=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;f=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;f=t[a+16>>2]<10?271312:q[a+12>>2]}a=271312;b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0>=65537){a=r[f+10|0]|r[f+11|0]<<8|(r[f+12|0]<<16|r[f+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+f|0:271312}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(g){b=0;while(1){f=(b<<3)+a|0;f=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(E$(f?f+a|0:271312,c,d)){q[e>>2]=b;return}b=b+1|0;if((g|0)!=(b|0)){continue}break}}q[e>>2]=-1}function Bx(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}e=c-a|0;if(e>>>0<4){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<13|e>>>0>>0){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;e=q[d+16>>2];d=e+c|0;q[b+8>>2]=d;if((e|0)<=-1){break a}c:{if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=a;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d-a|0;q[b+8>>2]=(d>>>0>c>>>0?c:d)+a}f=Ax(a,b);a=q[b+28>>2];c=q[a+12>>2];q[b+4>>2]=c;a=q[a+16>>2];q[b+8>>2]=a+c;if((a|0)<=-1){break a}}return f}I(228416,228441,195,228458);F()}function vv(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c=c+g|0;c:{if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0<6){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}f=c+4|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break c}q[b+12>>2]=e+ -4;if((e|0)<4){break c}f=1;g=r[c+5|0]|r[c+4|0]<<8;if(!g){break b}c=c+6|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=e+ -5;if((e|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function SM(a,b,c,d){a=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,q=0,r=0,t=0,u=0;a:{if(!c){break a}k=d+4|0;if(!k){d=0;while(1){d=d+16|0;if(d>>>0>>0){continue}break}break a}g=d<<4;m=g- -64<<1;while(1){d=a;f=0;j=0;while(1){n=f>>>0>>0?(f<<1)+b|0:438160;e=f+ -16|0;o=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -32|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -48|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=f+ -64|0;t=e>>>0>>0?(e<<1)+b|0:438160;i=0;while(1){e=i<<1;h=s[e+q>>1];u=d+e|0;h=h+((h+((s[e+n>>1]+s[e+t>>1]&65534)>>>1|0)&65534)>>>1|0)|0;e=s[e+o>>1]+s[e+r>>1]|0;p[u>>1]=(((h+e&65534)>>>1|e&h&32768)+1&65534)>>>1;i=i+1|0;if((i|0)!=16){continue}break}f=f+16|0;d=d+32|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}b=(g<<1)+b|0;a=a+m|0;l=l+16|0;if(l>>>0>>0){continue}break}}}function _I(a,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:{d:{e:{g=b+ -15|0;if(g>>>0>8){break e}f=33;f:{switch(g-1|0){case 2:b=23;if(n[q[e+24>>2]](e,c,d,496747)){break a}b=24;if(!n[q[e+24>>2]](e,c,d,496753)){break d}break a;case 0:case 1:case 3:case 4:case 5:case 6:break e;case 7:break f;default:break b}}q[a>>2]=945;return 33}if((b|0)!=28){break c}f=59;if(!q[a+16>>2]){break b}break c}b=25;if(n[q[e+24>>2]](e,c,d,496756)){break a}b=26;if(n[q[e+24>>2]](e,c,d,496762)){break a}b=27;if(n[q[e+24>>2]](e,c,d,496694)){break a}b=28;if(n[q[e+24>>2]](e,c,d,496769)){break a}b=29;if(n[q[e+24>>2]](e,c,d,496778)){break a}b=30;if(n[q[e+24>>2]](e,c,d,496786)){break a}if(!n[q[e+24>>2]](e,c,d,496717)){break c}q[a>>2]=946;return 33}q[a>>2]=911;f=-1}return f|0}q[a>>2]=947;return b|0}function MT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=ab(1,8);a:{if(d){h=d;c=q[a+44>>2];b=0;b:{if((c|0)<1){break b}f=q[a+48>>2];e=c+ -1|0;c:{while(1){c=e+g>>>1|0;b=q[w(c,36)+f>>2];d:{if(b>>>0>=1919969383){e=c+ -1|0;break d}if((b|0)==1919969382){break c}g=c+1|0}if((g|0)<=(e|0)){continue}break}b=0;break b}b=q[(w(c,36)+f|0)+28>>2]}q[h>>2]=b;b=q[a+4>>2];e:{if((b|0)<=1315663726){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074){break e}break a}e=b+ -1298230884|0;if(e>>>0>5){if((b|0)==1299148391){break e}break a}switch(e-1|0){case 0:case 1:case 2:case 3:break a;default:break e}}if((b|0)<=1349020783){if((b|0)==1315663727|(b|0)==1349017959){break e}break a}if((b|0)==1400468067){break e}if((b|0)!=1349020784){break a}}a=Ot(a);q[d+4>>2]=a;if(a){break a}La(d)}d=0}return d|0}function rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{j=r[a+1|0]|r[a|0]<<8;f=b+1|0;if(j>>>0>=f>>>0){e=r[a+2|0];if(e){i=e;h=(w(e,f)+a|0)+3|0;c=h;while(1){d=r[c|0]|d<<8;c=c+1|0;i=i+ -1|0;if(i){continue}break}if(j>>>0>>0){break a}f=e;i=(w(b,e)+a|0)+3|0;c=i;while(1){g=r[c|0]|g<<8;c=c+1|0;f=f+ -1|0;if(f){continue}break}c=0;b=0;if(d>>>0>>0){break b}g=e;d=h;while(1){c=r[d|0]|c<<8;d=d+1|0;g=g+ -1|0;if(g){continue}break}d=(w(e,j)+a|0)+3|0;g=0;f=e;while(1){g=r[d|0]|g<<8;d=d+1|0;f=f+ -1|0;if(f){continue}break}a=c>>>0>g>>>0;c=0;b=0;if(a){break b}d=e;while(1){c=r[h|0]|c<<8;h=h+1|0;d=d+ -1|0;if(d){continue}break}h=0;while(1){h=r[i|0]|h<<8;i=i+1|0;e=e+ -1|0;if(e){continue}break}break c}if(j>>>0>=b>>>0){break c}break a}break a}b=c-h|0}return b}I(242971,242986,251,243008);F()}function pi(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;o[e+15|0]=0;o[e+14|0]=b;c=b>>>8|0;o[e+13|0]=c;d=b>>>16|0;o[e+12|0]=d;f=b>>>24|0;o[e+11|0]=f;a:{if(((f+ -48&255)>>>0>9?!((f|0)==32|((f&223)+ -65&255)>>>0<26):0)|((d+ -48&255)>>>0>9?!((d&255)==32|((d&223)+ -65&255)>>>0<26):0)){break a}if(((c+ -48&255)>>>0>9?!((c&255)==32|((c&223)+ -65&255)>>>0<26):0)|((b+ -48&255)>>>0>9?!((b&255)==32|((b&223)+ -65&255)>>>0<26):0)){break a}if(r[a|0]){b=Wa(a)+a|0;o[b|0]=32;o[b+1|0]=0}c=Wa(a)+a|0;b=r[448793]|r[448794]<<8|(r[448795]<<16|r[448796]<<24);d=r[448789]|r[448790]<<8|(r[448791]<<16|r[448792]<<24);o[c|0]=d;o[c+1|0]=d>>>8;o[c+2|0]=d>>>16;o[c+3|0]=d>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24;b=r[448797]|r[448798]<<8;o[c+8|0]=b;o[c+9|0]=b>>>8;Eg(a,e+11|0)}Da=e+16|0} +function NS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<12){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=c+4|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0<8){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}d=r[c+5|0]|r[c+4|0]<<8;if(!d){break b}c=c+12|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=s[b>>1];e=s[a>>1];a:{b:{c:{d:{a=q[c+4>>2];if((a|0)!=131072){if((a|0)!=65536){break a}b=0;a=0;if(d>>>0<=257){a=d<<2;c=q[a+248064>>2];g=c+249100|0;a=q[a+248068>>2]+(c^-1)|0}if(e>>>0<=257){break d}c=0;break b}b=0;f=q[c+8>>2];h=r[f|0]<<8|r[f+1|0];a=0;e:{if(h>>>0<=d>>>0){break e}a=(d<<1)+f|0;d=r[a+2|0]<<8|r[a+3|0];if(d>>>0<=257){a=d<<2;d=q[a+248064>>2];g=d+249100|0;a=q[a+248068>>2]+(d^-1)|0;break e}d=d+ -258|0;a=0;if(d>>>0>=t[c+16>>2]){break e}a=q[c+24>>2]+q[q[c+20>>2]+(d<<2)>>2]|0;g=a+1|0;a=r[a|0]}if(h>>>0>e>>>0){break c}c=0;break b}b=e<<2;c=q[b+248064>>2];b=q[b+248068>>2]+(c^-1)|0;c=c+249100|0;break b}b=(e<<1)+f|0;d=r[b+2|0]<<8|r[b+3|0];if(d>>>0<=257){b=d<<2;c=q[b+248064>>2];b=q[b+248068>>2]+(c^-1)|0;c=c+249100|0;break b}b=0;d=d+ -258|0;if(d>>>0>=t[c+16>>2]){c=0;break b}b=q[c+24>>2]+q[q[c+20>>2]+(d<<2)>>2]|0;c=b+1|0;b=r[b|0]}if((a|0)!=(b|0)){return b-a|0}if(!a){break a}i=Oc(c,g,a)}return i}function vx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g>>>0<6){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8;if(4294967295/(g>>>0)>>>0<=e>>>0){break a}g=w(e,g);if(g){e=a+10|0;if(i>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8}d=0;b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}d=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+d|0;if(!i){return 1}g=a+10|0;e=0;while(1){h=j<<8|h;f=0;c:{if(!h){break c}d=g+w(h+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}f=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(f+h>>>0<=e>>>0){break d}d=g+w(r[a+1|0]|r[a|0]<<8,e)|0}if(ux(d,b,q[c>>2])){e=e+1|0;if((i|0)==(e|0)){return 1}h=r[a+3|0];j=r[a+2|0];continue}break}}return 0}function Sw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<10){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g>>>0<6){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8;if(4294967295/(g>>>0)>>>0<=e>>>0){break a}g=w(e,g);if(g){e=a+10|0;if(i>>>0>e>>>0|f>>>0>>0|f-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}h=r[a+3|0];j=r[a+2|0];e=h|j<<8}d=0;b:{if(!e){break b}f=w(e+ -1|0,r[a+1|0]|r[a|0]<<8)+a|0;if((r[f+10|0]<<8|r[f+11|0])!=65535){break b}d=(r[f+13|0]|r[f+12|0]<<8)==65535?-1:0}i=e+d|0;if(!i){return 1}g=a+10|0;e=0;while(1){h=j<<8|h;f=0;c:{if(!h){break c}d=g+w(h+ -1|0,r[a+1|0]|r[a|0]<<8)|0;f=0;if((r[d|0]<<8|r[d+1|0])!=65535){break c}f=(r[d+3|0]|r[d+2|0]<<8)==65535?-1:0}d=271312;d:{if(f+h>>>0<=e>>>0){break d}d=g+w(r[a+1|0]|r[a|0]<<8,e)|0}if(Rw(d,b,q[c>>2])){e=e+1|0;if((i|0)==(e|0)){return 1}h=r[a+3|0];j=r[a+2|0];continue}break}}return 0}function rd(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{if(!r[a+69|0]){if(t[a+76>>2]>>0){break d}q[a+72>>2]=b;break f}if(r[a+68|0]!=1){break e}c=q[a+80>>2];d=q[a+72>>2];if((c+q[a+76>>2]|0)-d>>>0>>0){break c}if(c>>>0>>0){if(t[a+84>>2]<=b>>>0){if(!pe(a,b)){break e}}d=b-c|0;e=q[a+92>>2];c=q[a+88>>2];g:{if((e|0)!=(c|0)){b=c;break g}f=q[a+80>>2];b=e;if(d+f>>>0<=d+q[a+72>>2]>>>0){break g}if(!r[a+69|0]){break b}b=q[a+96>>2];q[a+92>>2]=b;Qa(b,c,w(f,20));e=q[a+92>>2];b=q[a+88>>2]}sb(w(q[a+80>>2],20)+e|0,b+w(q[a+72>>2],20)|0,w(d,20));q[a+72>>2]=d+q[a+72>>2];q[a+80>>2]=d+q[a+80>>2];break f}if(c>>>0<=b>>>0){break f}b=c-b|0;if(d>>>0>>0){if(!gS(a,b)){break e}d=q[a+72>>2]}if(d>>>0>>0){break a}e=d-b|0;q[a+72>>2]=e;c=q[a+80>>2]-b|0;q[a+80>>2]=c;sb(q[a+88>>2]+w(e,20)|0,q[a+92>>2]+w(c,20)|0,w(b,20))}e=1}return e}I(272675,272586,385,272684);F()}I(272692,272586,392,272684);F()}I(272574,272586,167,272599);F()}I(272719,272586,418,272684);F()}function eQ(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=q[a+28>>2];if(!r[d+44|0]){g=q[b+4>>2];i=q[b>>2];o[d+44|0]=1;e=q[d+20>>2];if(!e){c=3;break b}c:{if(r[d+45|0]){c=q[d+12>>2];if((p[c+20>>1]+p[c+56>>1]|0)+1>>>0>t[c+8>>2]){c=Xb(c,0,1);if(c){break b}}f=s[e>>1];c=f<<16>>16;if((c|0)<1){break c}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}c=s[e>>1]}p[e>>1]=c+1;c=q[d+12>>2];if((p[c+22>>1]+p[c+58>>1]|0)+1>>>0>t[c+4>>2]){c=Xb(c,1,0);if(c){break b}}c=q[d+20>>2];if(r[d+45|0]){e=q[c+8>>2];f=p[c+2>>1];h=q[c+4>>2]+(f<<3)|0;q[h+4>>2]=g>>10;q[h>>2]=i>>10;o[e+f|0]=1}p[c+2>>1]=s[c+2>>1]+1}c=q[b+12>>2];e=q[b+8>>2];d:{b=q[d+12>>2];if((p[b+22>>1]+p[b+58>>1]|0)+1>>>0>t[b+4>>2]){b=Xb(b,1,0);if(b){break d}}a=q[d+20>>2];if(r[d+45|0]){b=q[a+8>>2];d=p[a+2>>1];g=q[a+4>>2]+(d<<3)|0;q[g+4>>2]=c>>10;q[g>>2]=e>>10;o[b+d|0]=1}p[a+2>>1]=s[a+2>>1]+1;return}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=b;break a}a=q[a+24>>2];if(q[a>>2]){break a}q[a>>2]=c}}function $M(a,b,c,d,e){a=a|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(!(!e|!d)){j=e<<5;while(1){g=0;h=a;while(1){f=r[b+g|0];p[h>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|1)+b|0];p[h+2>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|2)+b|0];p[h+4>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|3)+b|0];p[h+6>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|4)+b|0];p[h+8>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|5)+b|0];p[h+10>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|6)+b|0];p[h+12>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|7)+b|0];p[h+14>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|8)+b|0];p[h+16>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|9)+b|0];p[h+18>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|10)+b|0];p[h+20>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|11)+b|0];p[h+22>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|12)+b|0];p[h+24>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|13)+b|0];p[h+26>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|14)+b|0];p[h+28>>1]=(f<<7|f>>>1)+1>>>1;f=r[(g|15)+b|0];p[h+30>>1]=(f<<7|f>>>1)+1>>>1;h=h+j|0;g=g+16|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+32|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function zw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);g=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))+a|0;e=q[d+48>>2];b=Sc(g,b,e);if(b){f=r[b+1|0]|r[b|0]<<8}b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);b=Sc((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0,c,e);if(b){h=r[b+1|0]|r[b|0]<<8}g=q[d+20>>2];f=f+h|0;b=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);h=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+a|0;b=(f<<1)+h|0;a:{if(g>>>0>b>>>0){break a}c=q[d+24>>2];if(c>>>0>>0|c-b>>>0<2){break a}e=q[d+28>>2];q[d+28>>2]=e+ -1;if((e|0)<1){break a}f=(r[(h+(f<<1)|0)+1|0]|r[b|0]<<8)<<16>>16;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){return f}if(b>>>0>2147483646){break a}a=a+f|0;if(g>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[d+28>>2]=e+ -2;if((e|0)<2){break a}a=r[a|0]|r[a+1|0]<<8;i=(a<<24|a<<8&16711680)>>16}return i}function xj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,t=0,u=0,v=0;g=Da-16|0;Da=g;a:{if(o[a+372|0]&1){i=q[a+52>>2];j=q[a+48>>2];k=s[a+46>>1];h=s[a+44>>1];l=q[a+36>>2];m=q[a+40>>2];f=a- -64|0;t=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=t;f=q[a+60>>2];q[g>>2]=q[a+56>>2];q[g+4>>2]=f;f=a+290|0;break a}i=q[a+88>>2];j=q[a+84>>2];k=s[a+82>>1];h=s[a+80>>1];l=q[a+72>>2];m=q[a+76>>2];f=q[a+104>>2];q[g+8>>2]=q[a+100>>2];q[g+12>>2]=f;f=q[a+96>>2];q[g>>2]=q[a+92>>2];q[g+4>>2]=f;f=a+292|0}f=s[f>>1];b:{if(f>>>0>=h>>>0){if(r[a+565|0]){q[a+12>>2]=134}p[e>>1]=0;a=1;break b}q[d+16>>2]=i;q[d+12>>2]=j;p[d+10>>1]=k;p[d+8>>1]=h;q[d>>2]=l;q[d+4>>2]=m;h=q[g+4>>2];q[d+20>>2]=q[g>>2];q[d+24>>2]=h;h=q[g+12>>2];q[d+28>>2]=q[g+8>>2];q[d+32>>2]=h;p[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=n[q[a+576>>2]](a,q[d>>2]-q[b>>2]|0,q[d+4>>2]-q[b+4>>2]|0)|0;u=e,v=bb(b,p[a+302>>1],q[a+568>>2]),q[u>>2]=v;u=c,v=bb(b,p[a+304>>1],q[a+568>>2]),q[u>>2]=v;a=0}Da=g+16|0;return a}function QW(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=x(0),l=0,m=0,n=0,o=0,p=0,s=0,t=x(0),v=0,y=x(0);p=r[a+5|0]|r[a+4|0]<<8;n=p>>>0>>0?p:f;if(n){while(1){g=(o<<1)+a|0;g=r[g+6|0]<<8|r[g+7|0];a:{if((r[d+3|0]|r[d+2|0]<<8)>>>0<=g>>>0){k=x(0);break a}k=x(1);s=r[d+1|0]|r[d|0]<<8;if(!s){break a}v=(w(w(g,s),6)+d|0)+4|0;l=0;while(1){i=0;i=l>>>0>>0?q[(l<<2)+b>>2]:i;y=k;t=x(1);h=w(l,6)+v|0;g=r[h+2|0]|r[h+3|0]<<8;j=(g<<24|g<<8&16711680)>>16;g=r[h|0]|r[h+1|0]<<8;m=(g<<24|g<<8&16711680)>>16;b:{if((j|0)<(m|0)){break b}g=r[h+4|0]|r[h+5|0]<<8;h=(g<<24|g<<8&16711680)>>16;if((h|0)<(j|0)|((h|0)>0?!(!j|(m|0)>-1):0)){break b}if(!j|(i|0)==(j|0)){break b}if((i|0)<=(m|0)){k=x(0);break a}if((i|0)>=(h|0)){k=x(0);break a}k=x(0);g=(i|0)<(j|0);t=x(x((g?i-m|0:h-i|0)|0)/x((g?j-m|0:h-j|0)|0));if(t==x(0)){break a}}k=x(y*t);l=l+1|0;if((s|0)!=(l|0)){continue}break}}u[(o<<2)+e>>2]=k;o=o+1|0;if((n|0)!=(o|0)){continue}break}}if(p>>>0>>0){Na((n<<2)+e|0,0,f-n<<2)}}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;c=Da-1232|0;Da=c;d=q[b>>2]+1|0;a:{if(d>>>0>10){break a}b:{switch(d-1|0){default:Lc(489900,9,1,a);break a;case 0:Lc(489910,6,1,a);break a;case 1:q[c>>2]=q[b+8>>2];Mc(a,489917,c);break a;case 2:v[c+16>>3]=v[b+8>>3];Wj(a,489923,c+16|0);break a;case 3:q[c+32>>2]=q[b+8>>2];Mc(a,489685,c+32|0);break a;case 4:d=a;a=q[b+8>>2];Mc(d,(a|0)==1?489929:a?489940:489934,0);break a;case 5:b=q[b+8>>2];e=v[b>>3];f=v[b+8>>3];g=v[b+16>>3];v[c+72>>3]=v[b+24>>3];v[c- -64>>3]=g;v[c+56>>3]=f;v[c+48>>3]=e;Wj(a,489949,c+48|0);break a;case 6:if(q[126998]!=(a|0)){break a}Ek(q[b+8>>2]);break a;case 8:a=q[b+8>>2];cg(c+1144|0,c+112|0,1024);c:{d:{if(!Kq(c+1144|0,a)){break d}if(!Ng(c+1144|0,0)){break d}q[c+80>>2]=q[c+1144>>2];Ua(489284,c+80|0);break c}Ua(489287,0)}uc(c+1144|0);break a;case 7:Lc(489964,4,1,a);break a;case 9:break b}}b=q[b+8>>2];e=v[b>>3];v[c+104>>3]=v[b+8>>3];v[c+96>>3]=e;Wj(a,489969,c+96|0)}Da=c+1232|0}function Jp(a,b,c){var d=0;d=Da-144|0;Da=d;q[d+140>>2]=c+4;c=q[c>>2];c=(b|0)==4?c|32768:c;a:{b:{if(b>>>0>16){break b}if(!(1<>2]=c;a=L(a|0,14,d+16|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+48>>2]=d+128;b=L(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){q[d+32>>2]=c;a=L(a|0,9,d+32|0)|0;break a}if(b>>>0>=4294963201){q[160942]=0-b;a=-1}else{a=b}break a}a=q[d+132>>2];a=q[d+128>>2]==2?0-a|0:a;break a}q[d+112>>2]=c;a=L(a|0,b|0,d+112|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}if((b|0)!=1030){q[d>>2]=c;a=L(a|0,b|0,d|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+96>>2]=c;b=L(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=b;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}break a}q[d+80>>2]=0;b=L(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){O(b|0)|0}q[160942]=28;a=-1;break a}q[d+64>>2]=c;a=L(a|0,0,d- -64|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}}Da=d+144|0;return a}function mm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=(r[c+1|0]>>>4&3)+1|0;i=r[c+3|0]|r[c+2|0]<<8;if(4294967295/(d>>>0)>>>0<=i>>>0){break c}d=w(d,i);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function eA(a,b){a=a|0;b=b|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(a+4>>>0>t[b+160>>2]){kb(b,8)}c=r[a+3|0]|r[a+2|0]<<8;i=c+a|0;if(!(i>>>0<=t[b+160>>2]?c>>>0>=518:0)){kb(b,8)}c=a+6|0;while(1){d=r[c+1|0];f=d|r[c|0]<<8;if(!(!(d&7)|t[b+164>>2]<2)){kb(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>t[b+160>>2]){kb(b,8)}a=0;while(1){d=c+8|0;f=r[c+3|0]|r[c+2|0]<<8;a:{if(!f){c=d;break a}e=r[c+7|0]|r[c+6|0]<<8;k=r[c+4|0];l=r[c+5|0];h=r[c|0];m=r[c+1|0];b:{if(t[b+164>>2]<2){break b}h=h<<8|m;if(f>>>0<=256-h>>>0?h>>>0<=255:0){break b}kb(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e+(f<<1)>>>0<=i>>>0?e>>>0>=j>>>0:0)){kb(b,9)}if(!q[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=r[d+1|0]|r[d|0]<<8;if(!(!d|(d+e&65535)>>>0>2])){kb(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(a>>>0<=g>>>0){continue}break}return 0}function VB(a,b,c){a=a|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=Da-16|0;Da=g;q[g+12>>2]=0;i=q[c>>2];d=gb(i,24,g+12|0);e=q[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=r[a|0];o[d+4|0]=h;f=r[a+1|0]|r[a+2|0]<<8;p[d+6>>1]=(f<<24|f<<8&16711680)>>>16;f=r[a+3|0];o[d+5|0]=f;k=q[c+148>>2];l=q[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;q[d+8>>2]=f;q[d+12>>2]=(e+l|0)-k;if(e+w(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+w(f,h+ -1|0)|0;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}q[d+16>>2]=r[a+5|0]|r[a+4|0]<<16;a=e+w(f,h+ -1|0)|0;a=r[a|0]<<16|r[a+1|0]}e=0;q[d>>2]=0;q[d+20>>2]=a;q[q[c+140>>2]>>2]=d;q[c+140>>2]=d;q[c+132>>2]=q[c+132>>2]+h;break a}if(d){n[q[i+8>>2]](i,d)}e=q[g+12>>2];break a}if(d){n[q[i+8>>2]](i,d)}e=8;q[g+12>>2]=8}Da=g+16|0;return e|0}function Do(a,b){var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];if(q[a+248>>2]){d=q[a+92>>2]>>6;while(1){f=c<<2;g=Ma(q[f+q[e+704>>2]>>2],d);q[f+q[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=q[a+300>>2];d=Aj(c,e,a);if(!d){o[c+565|0]=b;o[c+492|0]=0;q[c+16>>2]=0;q[c+432>>2]=0;f=q[e+696>>2];b=q[e+692>>2];q[c+464>>2]=0;q[c+468>>2]=0;q[c+460>>2]=b;q[c+456>>2]=f;d=0;if(b){q[c+368>>2]=b;q[c+360>>2]=f;q[c+364>>2]=0;q[c+356>>2]=2;d=n[q[e+708>>2]](c)|0}q[a+308>>2]=d;p[c+304>>1]=0;p[c+296>>1]=1073741824;p[c+298>>1]=16384;p[c+300>>1]=1073741824;p[c+302>>1]=16384;q[c+288>>2]=0;q[c+292>>2]=1073741824;p[c+352>>1]=1;q[c+348>>2]=65537;q[c+308>>2]=1;Qa(a+180|0,c+288|0,68);q[a+124>>2]=q[c+400>>2];q[a+136>>2]=q[c+412>>2];q[a+148>>2]=q[c+424>>2];q[a+152>>2]=q[c+428>>2];b=q[c+452>>2];q[a+156>>2]=q[c+448>>2];q[a+160>>2]=b;b=q[c+460>>2];q[a+164>>2]=q[c+456>>2];q[a+168>>2]=b;b=q[c+468>>2];q[a+172>>2]=q[c+464>>2];q[a+176>>2]=b}return d}function BO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;yi(b);yi(b+24|0);yi(b+48|0);a:{if(q[a+20>>2]){while(1){c=q[a+24>>2];e=w(h,24);b=q[c+e>>2];b:{if(!b){break b}f=q[b+ -8>>2];if(!f){break a}d=b+ -4|0;g=q[d>>2];if(!g){break a}i=d;d=g+ -1|0;q[i>>2]=d;if(d){break b}g=b+ -32|0;c=q[g>>2];if(c){d=q[b+ -24>>2];if(d){q[d+12>>2]=q[b+ -20>>2]}q[q[b+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-f}c=q[b+ -28>>2];n[q[c+16>>2]](b+(q[c+24>>2]+7&-8)|0,b);La(g);c=q[a+24>>2]}b=q[(c+e|0)+4>>2];c:{if(!b){break c}e=q[b+ -8>>2];if(!e){break a}c=b+ -4|0;d=q[c>>2];if(!d){break a}i=c;c=d+ -1|0;q[i>>2]=c;if(c){break c}f=b+ -32|0;c=q[f>>2];if(c){d=q[b+ -24>>2];if(d){q[d+12>>2]=q[b+ -20>>2]}q[q[b+ -20>>2]>>2]=d;q[c+32>>2]=q[c+32>>2]+ -1;q[c+20>>2]=q[c+20>>2]-e}c=q[b+ -28>>2];n[q[c+16>>2]](b+(q[c+24>>2]+7&-8)|0,b);La(f)}h=h+1|0;if(h>>>0>2]){continue}break}}La(q[a+24>>2]);return}I(355429,355403,453,355477);F()}function zo(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=Da-16|0;Da=c;d=q[a+104>>2];f=q[d+28>>2];g=q[a+736>>2];o[g+24|0]=1;a=n[q[a+516>>2]](a,1635148146,d,c+8|0)|0;q[c+12>>2]=a;a:{if(a){break a}a=lb(d,q[c+8>>2]);q[c+12>>2]=a;if(a){break a}a=fc(d);e=fc(d);b:{if((a|0)!=65536|(e|0)!=q[q[g+12>>2]>>2]){break b}a=Oa(f,8,0,e,0,c+12|0);q[g+28>>2]=a;if(q[c+12>>2]|(e|0)<1){break b}while(1){c:{b=ob(d);p[a>>1]=b;if(b<<2>>>0>t[c+8>>2]){break c}k=a,l=Oa(f,8,0,b,0,c+12|0),q[k+4>>2]=l;if(q[c+12>>2]){break c}b=0;if(s[a>>1]){while(1){i=ob(d);j=b<<3;q[j+q[a+4>>2]>>2]=i<<16>>16<<2;i=ob(d);q[(q[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((e|0)!=(h|0)){continue}break b}break}a=q[g+28>>2];if(h){while(1){e=h+ -1|0;b=e<<3;a=q[(b+a|0)+4>>2];if(a){n[q[f+8>>2]](f,a)}a=q[g+28>>2];q[(b+a|0)+4>>2]=0;b=(h|0)>1;h=e;if(b){continue}break}}if(a){n[q[f+8>>2]](f,a)}q[g+28>>2]=0}jb(d)}Da=c+16|0}function dN(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=Da-16|0;Da=h;i=a+768|0;a:{b:{if(!c){break b}if(vr(i,c,0)){break b}hb(q[a>>2],2,437860,0);break a}c:{if(!d){break c}if(vr(i,d,(c|0)!=0)){break c}hb(q[a>>2],2,437860,0);break a}c=q[a+772>>2];e=q[a+780>>2];if((c|0)>(e|0)){break a}d=q[a+776>>2];f=q[a+784>>2];if((d|0)>(f|0)){break a}d:{j=d+ -1>>6;d=(f+127>>6)-j|0;k=c+ -1>>6;c=(e+127>>6)-k|0;e:{if((d|c)<0){break e}f=q[a+764>>2];e=-1<>2];g=e^-2147483648;if((c|0)>(g|0)){break e}if((d|0)<=(g|0)){break d}}a=q[a>>2];q[h+4>>2]=d;q[h>>2]=c;hb(a,2,437894,h);break a}g=1<>2];l=0-g|0;m=e^-1;f=e&c+m;c=f>>>0>l>>>0?f:l&(f+g|0)+ -1;d=e&d+m;if(c>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}e=oe(g,w(c,d)+32|0,0);if(!e){break a}q[b+20>>2]=e;q[b+16>>2]=c;q[b+12>>2]=d;q[b+8>>2]=f;q[b+4>>2]=j;q[b>>2]=k;n=1;if(mN(q[a+764>>2],i,e,k,j,c,d,c)){break a}n=0;hb(q[a>>2],2,437932,0);gd(q[b+20>>2])}Da=h+16|0;return n}function uh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=q[a+100>>2];d=c;b=q[a+292>>2];if(b){n[q[d+8>>2]](d,b)}q[a+292>>2]=0;b=q[a+308>>2];if(b){n[q[c+8>>2]](c,b)}q[a+308>>2]=0;d=q[a+284>>2];if(d){b=c;if(q[a+280>>2]>=1){while(1){b:{if(!d){break b}e=w(f,12)+d|0;d=q[e>>2];if(d){n[q[c+8>>2]](c,d)}q[e>>2]=0;if(!r[e+4|0]){break b}d=q[e+8>>2];if(d){n[q[c+8>>2]](c,d)}q[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=q[a+284>>2];continue}break}d=q[a+284>>2]}if(d){n[q[b+8>>2]](b,d)}q[a+284>>2]=0}b=q[a+192>>2];if(b){n[q[c+8>>2]](c,b)}q[a+192>>2]=0;b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+176>>2];if(b){n[q[c+8>>2]](c,b)}q[a+176>>2]=0;b=q[a+180>>2];if(b){n[q[c+8>>2]](c,b)}q[a+180>>2]=0;c=q[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=q[c+24>>2];if(!b){break c}n[b](c)}q[a+104>>2]=q[a+172>>2]}}function pb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(r[b|0]){g=v[b+8>>3];break a}o[b|0]=1;g=v[b+8>>3];f=v[a+128>>3];if(!!(g>f)){v[b+8>>3]=f;g=f;f=v[a+128>>3]}if(!!(f>v[b+24>>3])){v[b+24>>3]=f}f=v[a+136>>3];if(!!(v[b+16>>3]>f)){v[b+16>>3]=f;f=v[a+136>>3]}if(!(f>v[b+32>>3])){break a}v[b+32>>3]=f}f=v[c>>3];if(!!(g>f)){v[b+8>>3]=f;g=f;f=v[c>>3]}h=v[b+24>>3];if(!!(f>h)){v[b+24>>3]=f;h=f}i=v[b+16>>3];f=v[c+8>>3];if(!!(i>f)){v[b+16>>3]=f;i=f;f=v[c+8>>3]}j=v[b+32>>3];if(!!(f>j)){v[b+32>>3]=f;j=f}f=v[d>>3];if(!!(g>f)){v[b+8>>3]=f;f=v[d>>3]}if(!!(f>h)){v[b+24>>3]=f}g=v[d+8>>3];if(!!(i>g)){v[b+16>>3]=g;g=v[d+8>>3]}if(!!(g>j)){v[b+32>>3]=g}c=q[e+4>>2];q[a+128>>2]=q[e>>2];q[a+132>>2]=c;c=q[e+12>>2];q[a+136>>2]=q[e+8>>2];q[a+140>>2]=c;g=v[a+128>>3];if(!!(v[b+8>>3]>g)){v[b+8>>3]=g;g=v[a+128>>3]}if(!!(g>v[b+24>>3])){v[b+24>>3]=g}g=v[a+136>>3];if(!!(v[b+16>>3]>g)){v[b+16>>3]=g;g=v[a+136>>3]}if(!!(g>v[b+32>>3])){v[b+32>>3]=g}}function gW(a,b,c,d){var e=0,f=0,g=0,h=0,i=x(0);e=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);f=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if(!f){break a}e=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(!(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))){break a}e=a+f|0;f=r[e+2|0]<<8|r[e+3|0];if(f){h=r[e+1|0];g=(h>>>4&3)+1|0;e=(e+w(g,f>>>0>b>>>0?b:f+ -1|0)|0)+4|0;b=0;while(1){b=r[e|0]|b<<8;e=e+1|0;g=g+ -1|0;if(g){continue}break}e=(h&15)+1|0;b=b>>>e<<16|(-1<>>8&65280|a>>>24);a=a?e+a|0:271312;e=b>>>16|0;if((r[a+6|0]<<8|r[a+7|0])>>>0<=e>>>0){break a}e=a+(e<<2)|0;e=r[e+8|0]|r[e+9|0]<<8|(r[e+10|0]<<16|r[e+11|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=e?e+a|0:271312;e=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);i=Vi(f,b&65535,c,d,a?e+a|0:271312)}return i}function w_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=q[b+4>>2];if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|e>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c:{d:{f=c+d|0;if(!Tb(f,b,f)){break d}g=q[b+4>>2];d=f+2|0;if(g>>>0>d>>>0){break d}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break d}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break d}i=r[d+1|0]|r[d|0]<<8;if(!i){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break d}q[b+12>>2]=e+ -2;if((e|0)<2){break d}e=r[d+1|0]|r[d|0]<<8;if(!e){break b}c=0;while(1){if(!Ev((d+(c<<1)|0)+2|0,b,f)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function v_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=q[b+4>>2];if(e>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|e>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c:{d:{f=c+d|0;if(!Tb(f,b,f)){break d}g=q[b+4>>2];d=f+2|0;if(g>>>0>d>>>0){break d}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break d}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break d}i=r[d+1|0]|r[d|0]<<8;if(!i){break b}j=g;g=d+2|0;if(j>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break d}q[b+12>>2]=e+ -2;if((e|0)<2){break d}e=r[d+1|0]|r[d|0]<<8;if(!e){break b}c=0;while(1){if(!r_((d+(c<<1)|0)+2|0,b,f)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function iK(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{f=r[e+1|0];if(f+ -216>>>0<4){break i}g=2;if(f){break c}f=r[r[e|0]+h|0]+ -3|0;if(f>>>0>27){break c}switch(f-1|0){case 3:break i;case 0:case 1:case 4: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:break c;case 2:break d;case 5:break e;case 6:break f;case 26:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return gi(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=mq(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function dh(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+48>>2])}b=q[a+84>>2];if(b){n[b](q[a+52>>2])}b=q[a+88>>2];if(b){n[b](q[a+56>>2])}b=q[a+92>>2];if(b){n[b](q[a+60>>2])}b=q[a+96>>2];if(b){n[b](q[a- -64>>2])}b=q[a+100>>2];if(b){n[b](q[a+68>>2])}b=q[a+104>>2];if(b){n[b](q[a+72>>2])}b=q[a+108>>2];if(b){n[b](q[a+76>>2])}dh(q[a+12>>2]);La(a)}return}I(272496,272521,279,272556);F()}function Ro(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 33}e=6;a:{if(!d){break a}f=q[a>>2];if(!f){break a}q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if((c|0)<0|c>>>0>b>>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{if(!b){e=0;q[d+4>>2]=0;g=d+4|0;break e}e=b<<3;g=n[q[f+4>>2]](f,e)|0;if(!g){c=d+4|0;g=c;e=64;break b}i=d,j=Na(g,0,e),q[i+4>>2]=j;g=d+4|0;e=n[q[f+4>>2]](f,b)|0;if(!e){break d}Na(e,0,b)}q[d+8>>2]=e;e=0;f:{g:{if(c){if((c|0)>1073741823){break g}h=c<<1;e=n[q[f+4>>2]](f,h)|0;if(!e){break f}Na(e,0,h)}p[d+2>>1]=b;q[d+12>>2]=e;p[d>>1]=c;q[d+16>>2]=q[d+16>>2]|1;return 0}c=d+12|0;e=10;break b}c=d+12|0;break c}c=d+8|0}e=64}q[c>>2]=0;q[d+16>>2]=q[d+16>>2]|1;a=q[a>>2];if(!a){break a}b=q[g>>2];if(b){n[q[a+8>>2]](a,b)}q[d+4>>2]=0;b=q[d+8>>2];if(b){n[q[a+8>>2]](a,b)}q[d+8>>2]=0;b=q[d+12>>2];if(b){n[q[a+8>>2]](a,b)}q[d>>2]=0;q[d+4>>2]=0;q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0}return e}function p_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;h=1;if((d|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(e>>>0>>0|f>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c=c+g|0;c:{if(f>>>0>c>>>0|e>>>0>>0){break c}e=e-c|0;if(e>>>0<2){break c}q[b+12>>2]=d+ -3;if((d|0)<3){break c}f=r[c|0]|r[c+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;if(f>>>0>2){break b}d:{switch(f-1|0){default:if(e>>>0<4){break c}q[b+12>>2]=d+ -4;if((d|0)<=3){break c}break b;case 0:if(e>>>0<4){break c}q[b+12>>2]=d+ -4;if((d|0)<=3){break c}break b;case 1:break d}}if(e>>>0<6){break c}q[b+12>>2]=d+ -4;if((d|0)<4){break c}if(Lf(c+4|0,b,c)){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function md(a,b,c,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=6;a:{if(!a|!c){break a}g=q[c>>2];if(!g){break a}i=q[g+100>>2];h=q[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=n[q[i+4>>2]](i,h)|0;if(!e){e=64;break b}f=Na(e,0,h)}e=q[c+4>>2];q[f>>2]=q[c>>2];q[f+4>>2]=e;q[f+8>>2]=q[c+8>>2];q[f+12>>2]=a;d:{a=q[a+4>>2];if(a){e=n[a](f,b)|0;if(e){break d}}a=q[g+36>>2];b=a+1|0;if((a|b)<0){e=6;break d}h=q[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}n[q[i+8>>2]](i,h);q[g+40>>2]=0;break e}e=10;if((a|0)>536870910){break d}h:{if(!a){c=n[q[i+4>>2]](i,b<<2)|0;e=!c<<6;break h}b=n[q[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;e=!b<<6}if(e|!c){break f}a=(a<<2)+c|0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}q[g+40>>2]=c;break e}q[g+40>>2]=c;if(e){break d}}a=q[g+36>>2];q[g+36>>2]=a+1;q[(a<<2)+c>>2]=f;e=0;break b}a=q[q[f>>2]+100>>2];b=q[q[f+12>>2]+8>>2];if(b){n[b](f)}n[q[a+8>>2]](a,f);f=0}if(!d){break a}q[d>>2]=f}return e|0}function g_(a,b){var c=0,d=0,e=0,f=0,g=0;e=r[a+5|0];if(e>>>0>3){return 1}a:{b:{c:{switch(e-1|0){default:e=0;f=q[b+4>>2];d=a+8|0;if(f>>>0>d>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<8){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break b}g=r[a+9|0]|r[a+8|0]<<8;if(g){a=a+16|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break b}q[b+12>>2]=d+ -2;if((d|0)<2){break b}}return 1;case 0:e=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<18){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}return Bm(a+8|0,b);case 1:return f_(a,b);case 2:break c}}f=q[b+4>>2];if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<14){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;e=1;if((d|0)<1){break a}g=w(r[a+12|0],r[a+11|0])+(r[a+10|0]+(r[a+9|0]|r[a+8|0]<<8)<<1)|0;if(!g){break b}a=a+14|0;if(f>>>0>a>>>0|c>>>0>>0){break a}e=0;if(c-a>>>0>>0){break b}q[b+12>>2]=d+ -2;e=(d|0)>1}return e}return 0}function RJ(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{f=r[e|0];if(f+ -216>>>0<4){break i}g=2;if(f){break c}f=r[r[e+1|0]+h|0]+ -3|0;if(f>>>0>27){break c}switch(f-1|0){case 3:break i;case 0:case 1:case 4: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:break c;case 2:break d;case 5:break e;case 6:break f;case 26:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return fi(a,b+2|0,c,d)|0}if((b|0)!=(e|0)){break b}a=iq(a,b+2|0,c,d);return((a|0)==22?0:a)|0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function kt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=271710;d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if((d|0)<1){break a}g=d+ -1|0;while(1){b:{h=g+i>>>1|0;d=w(h,12)+a|0;e=d+16|0;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);c:{if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>b>>>0){g=h+ -1|0;break c}d=r[d+20|0]|r[d+21|0]<<8|(r[d+22|0]<<16|r[d+23|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break b}i=h+1|0}if((i|0)<=(g|0)){continue}break a}break}f=(w(h,12)+a|0)+16|0}g=0;a=f;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d:{if(d>>>0>(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break d}a=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);a=(b-d|0)+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;if(!a){break d}q[c>>2]=a;g=1}return g}function QQ(a,b,c,d){a=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=Da+ -64|0;Da=e;q[e+60>>2]=0;i=b+108|0;h=q[a+8>>2];a:{b:{c:{if(q[b+72>>2]!=q[a+16>>2]){q[e+60>>2]=6;break c}j=19;if((c|0)!=2){break a}if(o[q[b+156>>2]+4|0]&1){c=q[b+88>>2];if(c){n[q[h+8>>2]](h,c)}q[b+88>>2]=0;c=q[b+156>>2];q[c+4>>2]=q[c+4>>2]&-2}if(Vk(b,2,d)){q[e+60>>2]=98;break c}k=b,l=Oa(h,q[b+84>>2],0,q[b+76>>2],0,e+60|0),q[k+88>>2]=l;if(q[e+60>>2]){break c}c=q[b+156>>2];q[c+4>>2]=q[c+4>>2]|1;f=q[b+100>>2]<<6;g=q[b+76>>2]-q[b+104>>2]<<6;if(d){g=q[d+4>>2]+g|0;c=q[d>>2]}else{c=0}f=c-f|0;if(f|g){oc(i,f,g)}q[e+16>>2]=0;q[e+12>>2]=i;q[e+8>>2]=b+76;a=n[q[a+56>>2]](q[a+52>>2],e+8|0)|0;q[e+60>>2]=a;if(a){break c}q[b+72>>2]=1651078259;break b}if(!(o[q[b+156>>2]+4|0]&1)){break b}a=q[b+88>>2];if(a){n[q[h+8>>2]](h,a)}q[b+88>>2]=0;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2}if(g|f){oc(i,0-f|0,0-g|0)}j=q[e+60>>2]}a=j;Da=e- -64|0;return a|0}function $m(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=r[a+1|0]|r[a|0]<<8;a:{if(!g){break a}while(1){h=((f<<3)+a|0)+8|0;d=h;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);if(x(x(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))*x(152587890625e-16))!=x(0)){f=f+1|0;if((g|0)!=(f|0)){continue}break a}break}g=r[a+3|0]|r[a+2|0]<<8;if(g>>>0<=1){if(g-1){break a}a=(f<<3)+a|0;a=(r[a+14|0]<<8|r[a+15|0])+b|0;a=r[a|0]|r[a+1|0]<<8;return(a<<24|a<<8&16711680)>>16}i=a;b:{c:{f=g+ -1|0;if(!f){break c}a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))+b|0;d:{while(1){a=g>>>0>e>>>0?d+(e<<2)|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if(x(x(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))*x(152587890625e-16))>=c){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}e=f}if(!e){break c}a=e+ -1|0;break b}a=0}c=x(J(x(Ex(i,a,c,h,b))));if(x(y(c))>3];i=v[h>>3];a:{if(!(j>i)){q[d>>2]=0;q[d+8>>2]=0;break a}e=x(q[b+20>>2]);g=x(x(i)*e);f=q[b+16>>2];a=q[f+28>>2];if(!a){a=xb(f);e=x(q[b+20>>2]);f=q[b+16>>2]}c=d;g=x(J(x(x(g/x(a>>>0)))));b:{if(x(y(g))>2]=a;c=d;e=x(e*x(j-i));a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));c:{if(x(y(e))>2]=a}i=v[h+24>>3];j=v[h+8>>3];d:{if(!(i>j)){q[d+4>>2]=0;q[d+12>>2]=0;break d}e=x(q[b+24>>2]);g=x(x(i)*e);f=q[b+16>>2];a=q[f+28>>2];if(!a){a=xb(f);e=x(q[b+24>>2]);f=q[b+16>>2]}b=d;g=x(J(x(x(g/x(a>>>0)))));e:{if(x(y(g))>2]=a;e=x(e*x(j-i));a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));f:{if(x(y(e))>2]=a}f=1}Da=h+32|0;return f}function zj(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a>>2];a:{if(r[b+732|0]){break a}o[a+112|0]=0;c=q[a+16>>2];d=q[a+12>>2];q[a+48>>2]=d;q[a+52>>2]=c;c=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=c;e=q[a+32>>2];c=a- -64|0;q[c>>2]=q[a+28>>2];q[c+4>>2]=e;q[a+72>>2]=q[a+36>>2];e=151;if(!(d&65535)|!s[a+50>>1]){break a}if(r[b+176|0]&8){f=a,g=Ma(p[b+70>>1],q[a+56>>2])+32&-64,q[f+60>>2]=g;f=a- -64|0,g=Ma(p[b+72>>1],q[a+56>>2])+32&-64,q[f>>2]=g;f=a,g=Ma(p[b+74>>1],q[a+56>>2])+32&-64,q[f+68>>2]=g}o[a+112|0]=1;e=0;if(r[b+176|0]&8){f=a,g=Za(s[a+48>>1]<<6,s[b+68>>1]),q[f+52>>2]=g;f=a,g=Za(s[a+50>>1]<<6,s[b+68>>1]),q[f+56>>2]=g;f=a,g=Ma(p[b+76>>1],q[a+52>>2])+32&-64,q[f+72>>2]=g}d=a+48|0;b=s[a+48>>1];c=s[a+50>>1];b:{if(b>>>0>=c>>>0){q[a+76>>2]=65536;p[a+84>>1]=b;q[a+92>>2]=q[a+52>>2];b=Za(c,b);break b}p[a+84>>1]=c;q[a+92>>2]=q[a+56>>2];f=a,g=Za(b,c),q[f+76>>2]=g;b=65536}q[a+308>>2]=-1;q[a+44>>2]=d;q[a+80>>2]=b}return e}function Dm(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=w(r[c+3|0]|r[c+2|0]<<8,r[c+1|0]|r[c|0]<<8);if(d>>>0>715827881){break c}d=w(d,6);if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function rW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-48|0;Da=b;d=q[a>>2];a:{if(d){break a}f=a+ -140|0;while(1){c=q[f>>2];if(!c){d=271312;break a}d=ab(1,12);b:{if(d){q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=Mb(c);o[b+44|0]=1;q[b+40>>2]=e;g=d,h=qV(b+8|0,Jb(c,1128418371)),q[g>>2]=h;q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;e=Mb(c);o[b+44|0]=1;q[b+40>>2]=e;g=d,h=pV(b+8|0,Jb(c,1128416340)),q[g+4>>2]=h;g=d,h=Mi(c),q[g+8>>2]=h;c=q[a>>2];q[a>>2]=c?c:d;if(!c){break a}c=q[d>>2];Pa(c?c:271312);q[d>>2]=0;c=q[d+4>>2];Pa(c?c:271312);La(d);break b}d=271312;c=q[a>>2];q[a>>2]=c?c:271312;if(!c){break a}}d=q[a>>2];if(!d){continue}break}}Da=b+48|0;return d}function $r(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-48|0;Da=f;h=1;q[f+40>>2]=1;e=q[a+11732>>2];q[f+8>>2]=q[a+11728>>2];q[f+12>>2]=e;e=a+8|0;if(!r[a+20|0]){d=q[a+11740>>2];g=q[a+11736>>2];if(r[a+11664|0]){o[a+11665|0]=1;Wd(a,g,d);if(r[a+11744|0]){Ee(a,e,a+11704|0,q[a+11712>>2],q[a+11716>>2],1)}o[a+11744|0]=0;p[a+11664>>1]=0;o[a+11667|0]=1;h=!r[a+20|0]}q[a+11740>>2]=d;q[a+11720>>2]=g;q[a+11736>>2]=g;o[a+11667|0]=1;q[a+11724>>2]=d;d=q[a+11676>>2];if(!(r[d+5|0]?0:!h)){De(e,q[a+11668>>2],q[a+11672>>2],d,q[a+11680>>2],0)}Qa(a+3876|0,e,3868)}d=Ma(q[a+11644>>2],b);g=Ma(q[a+11648>>2],c);e=le(e,c);d=d+g|0;i=f,j=(Ma(q[q[a>>2]+64>>2],d)+Ma(q[q[a>>2]+72>>2],e)|0)+q[a+11656>>2]|0,q[i+16>>2]=j;i=f,j=(Ma(q[q[a>>2]+68>>2],d)+Ma(q[q[a>>2]+76>>2],e)|0)+q[a+11660>>2]|0,q[i+20>>2]=j;e=q[a+4>>2];n[q[e>>2]](e,f+8|0);d=q[f+16>>2];g=q[f+20>>2];q[a+11704>>2]=b;q[a+11708>>2]=c;q[a+11728>>2]=d;q[a+11732>>2]=g;Da=f+48|0}function pX(a,b){var c=0,d=0,e=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,p=0;i=q[a+24>>2];if(i>>>0>=2){m=q[a+32>>2];h=q[67829];n=h;j=q[67828];f(0,j|0);f(1,h|0);p=+g();k=2;while(1){l=v[a+136>>3];d=v[a+128>>3];if(i>>>0<=e>>>0){o[a+20|0]=1}a:{if(m>>>0<=e>>>0){q[160744]=j;q[160745]=n;h=642976;break a}h=q[a+36>>2]+(e<<3)|0}e=e|1;if(i>>>0<=e>>>0){o[a+20|0]=1}b:{if(m>>>0<=e>>>0){q[160744]=j;q[160745]=n;c=p;break b}c=v[q[a+36>>2]+(e<<3)>>3]}l=l+c;c=d+v[h>>3];c:{if(r[b|0]){break c}o[b|0]=1;if(!!(v[b+8>>3]>d)){v[b+8>>3]=d;d=v[a+128>>3]}if(!!(d>v[b+24>>3])){v[b+24>>3]=d}d=v[a+136>>3];if(!!(v[b+16>>3]>d)){v[b+16>>3]=d;d=v[a+136>>3]}if(!(d>v[b+32>>3])){break c}v[b+32>>3]=d}v[a+136>>3]=l;v[a+128>>3]=c;if(!!(v[b+8>>3]>c)){v[b+8>>3]=c;c=v[a+128>>3]}if(!!(c>v[b+24>>3])){v[b+24>>3]=c}c=v[a+136>>3];if(!!(v[b+16>>3]>c)){v[b+16>>3]=c;c=v[a+136>>3]}if(!!(c>v[b+32>>3])){v[b+32>>3]=c}e=k;k=e+2|0;if(k>>>0<=i>>>0){continue}break}}}function oD(a,b,c,d,e){a=a|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=Da-16|0;Da=h;i=q[a+84>>2];a:{b:{f=q[a+8>>2];if(!(f&8)){break b}f=q[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(r[a+740|0]&16)){break a}}if(!r[a+292|0]){break b}f=0;if(!c){break a}while(1){n[q[q[a+540>>2]+140>>2]](a,1,b+g|0,h+14|0,h+12|0);q[(g<<2)+e>>2]=s[h+12>>1];g=g+1|0;if((g|0)!=(c|0)){continue}break}break a}if(f){f=7;if(!(r[a+740|0]&2)){break a}}if(!s[a+250>>1]){break b}f=0;if(!c){break a}while(1){n[q[q[a+540>>2]+140>>2]](a,0,b+g|0,h+14|0,h+10|0);q[(g<<2)+e>>2]=s[h+10>>1];g=g+1|0;if((g|0)!=(c|0)){continue}break}break a}if(c){if(!i){f=37;break a}l=(d&16?60:56)+i|0;while(1){f=q[a+88>>2];j=(f?256:259)|d;k=b+g|0;c:{if(!(j&1?0:f)){f=zh(i,0,k,j);break c}if(q[f>>2]!=q[i+4>>2]){f=35;break a}f=zh(i,f,k,j)}if(f){break a}q[(g<<2)+e>>2]=q[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}Da=h+16|0;return f|0}function j$(a,b){var c=0,d=0,e=0,f=0;c=Da-80|0;Da=c;d=r[a+5|0];a:{if(d>>>0>3){break a}b:{c:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;i$(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 0:d=r[a+4|0];if(d&64?0:!(o[q[b>>2]+140|0]&1)){break a}q[c+28>>2]=a;q[c+24>>2]=b;e=r[a+17|0];f=r[a+16|0];o[c+72|0]=d>>>6&1;q[c+68>>2]=0;a=a+8|0;q[c+32>>2]=a+(e|f<<8);d=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;h$(c+8|0,c+24|0);break b;case 1:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;q[c+28>>2]=b;o[c+12|0]=e>>>6&1;q[c+8>>2]=c+24;g$(c+8|0,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 2:break c}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+4|0];q[c+24>>2]=a;o[c+28|0]=e>>>6&1;f$(c+24|0,q[b+4>>2],q[b+12>>2],q[d+132>>2])}e=1}Da=c+80|0;return e}function KV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{j=q[b+4>>2];b:{if(j>>>0>a>>>0){break b}f=q[b+8>>2];if(f>>>0<=a>>>0){break b}c=q[b+12>>2];g=c+ -1|0;q[b+12>>2]=g;if((c|0)<1){break b}d=r[a|0];if(d>>>0>2){break b}c:{switch(d-1|0){default:a=((q[b+32>>2]<<1)+a|0)+ -1|0;if(j>>>0>a>>>0|f>>>0>>0|f-a>>>0<2){break b}q[b+12>>2]=c+ -2;return(c|0)>1;case 0:e=1;d=q[b+32>>2]+ -1|0;if(!d){break b}h=a+1|0;c=0;while(1){e=h+w(c,3)|0;if(j>>>0>e>>>0|f>>>0>>0|f-e>>>0<3){break a}a=g+ -1|0;q[b+12>>2]=a;if((g|0)<1){break a}i=r[e+2|0];if(d>>>0<=i>>>0){break a}e=1;c=c+1|0;g=a;d=(i^-1)+d|0;if(d){continue}break}break b;case 1:break c}}h=q[b+32>>2]+ -1|0;if(!h){return 1}d=0;while(1){e=(d<<2)+a|0;c=e+1|0;if(j>>>0>c>>>0|f>>>0>>0|f-c>>>0<4){break a}c=g+ -1|0;q[b+12>>2]=c;if((g|0)<1){break a}i=r[e+4|0]|r[e+3|0]<<8;if(h>>>0<=i>>>0){break a}e=1;d=d+1|0;g=c;h=(i^-1)+h|0;if(h){continue}break}}return e}return 0}function ee(){var a=0,b=0,c=0,d=0,e=0,f=0;e=Da-4112|0;Da=e;b=Sa(88);a:{if(!b){break a}a=od();q[b>>2]=a;if(a){a=od();q[b+4>>2]=a;if(a){a=od();q[b+16>>2]=a;if(a){a=od();q[b+8>>2]=a;if(a){a=od();q[b+36>>2]=a;if(a){a=od();q[b+40>>2]=a;if(a){a=Cf();q[b+44>>2]=a;if(a){a=Cf();q[b+48>>2]=a;if(a){a=od();q[b+12>>2]=a;if(a){a=wf(981);q[b+20>>2]=a;c=wf(981);q[b+24>>2]=c;d=wf(981);q[b+28>>2]=d;b:{if(!a|(!d|!c)){break b}q[b+52>>2]=0;q[b+56>>2]=0;q[b+32>>2]=0;a=U(0)|0;q[b+72>>2]=0;q[b+64>>2]=30;q[b+60>>2]=a;a=b;c=Kb(503294);if(c){d=Vh(c,e);c=Pd(d?d:c)}else{c=0}q[a+76>>2]=c;a=wf(981);q[b+84>>2]=a;if(!a){break b}a=od();q[b+80>>2]=a;if(a){q[b+68>>2]=1;f=b;break a}Od(q[b+84>>2])}a=q[b+20>>2];if(a){Od(a)}a=q[b+24>>2];if(a){Od(a)}a=q[b+28>>2];if(a){Od(a)}Yb(q[b+12>>2])}je(q[b+48>>2])}je(q[b+44>>2])}Yb(q[b+40>>2])}Yb(q[b+36>>2])}Yb(q[b+8>>2])}Yb(q[b+16>>2])}Yb(q[b+4>>2])}Yb(q[b>>2])}La(b)}Da=e+4112|0;return f}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;c=a;e=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);h=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);c=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(k){c=q[b+8>>2];e=c+ -1|0;n=q[b+12>>2];o=(c|0)<1;while(1){d=(f|0)<0?271312:(w(f,12)+a|0)+16|0;i=r[d+2|0]<<8|r[d+3|0];g=r[d+1|0]|r[d|0]<<8;while(1){a:{b=0;c=e;b:{if(o){break b}while(1){c:{j=b+c>>>1|0;l=w(j,12)+n|0;m=q[l>>2];d:{if((m|0)<(g|0)){c=j+ -1|0;break d}if((g|0)==(m|0)){break c}b=j+1|0}if((b|0)<=(c|0)){continue}break b}break}if(q[l+4>>2]!=(i|0)){break b}b=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);h=r[d+7|0]|((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))&h|(r[d+5|0]<<16|r[d+4|0]<<24)|r[d+6|0]<<8);break a}if((g|0)!=3){break a}g=37;b=(i|0)==3;i=1;if(b){continue}}break}f=f+1|0;if((k|0)!=(f|0)){continue}break}}return h}function Xo(a,b,c,d,e){var f=0,g=0,h=0;if(!a){return 35}if(!e){return 6}f=q[a+96>>2];q[e>>2]=0;q[e+4>>2]=0;f=q[q[f+12>>2]+76>>2];if(!f){return 0}b=n[f](a,b,c,e)|0;a:{if(b|(d|0)==2){break a}f=q[e>>2];b=(f|0)<0?-1:1;h=0-b|0;g=b;c=q[a+88>>2];b=q[c+16>>2];h=(b|0)<0?h:g;a=e;g=f;f=f>>31;f=g+f^f;g=b;b=b>>31;b=g+b^b;b:{if(f+(b>>>8|0)>>>0<=8190){b=w(b,f)+32768>>>16|0;break b}g=f&65535;b=w(g,b>>>16|0)+w(b,f>>>16|0)+(w(g,b&65535)+32768>>>16)|0}f=(h|0)<0?0-b|0:b;q[a>>2]=f;b=q[e+4>>2];a=(b|0)<0?-1:1;h=0-a|0;g=a;a=q[c+20>>2];h=(a|0)<0?h:g;g=b;b=b>>31;b=g+b^b;g=a;a=a>>31;a=g+a^a;c:{if(b+(a>>>8|0)>>>0<=8190){a=w(a,b)+32768>>>16|0;break c}g=b&65535;a=w(g,a>>>16|0)+w(a,b>>>16|0)+(w(g,a&65535)+32768>>>16)|0}b=0;a=(h|0)<0?0-a|0:a;q[e+4>>2]=a;if((d|0)==1){break a}d=s[c+12>>1];if(d>>>0<=24){f=bb(f,d,25);q[e>>2]=f}c=s[c+14>>1];if(c>>>0<=24){a=bb(a,c,25);q[e+4>>2]=a}q[e+4>>2]=a+32&-64;q[e>>2]=f+32&-64}return b}function RB(a){a=a|0;var b=0,c=0;if(a){c=q[a+100>>2];b=q[a+504>>2];if(b){se(b)}b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0;b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+148>>2];if(b){n[q[c+8>>2]](c,b)}q[a+148>>2]=0;b=q[a+432>>2];if(b){n[q[c+8>>2]](c,b)}q[a+432>>2]=0;b=q[a+428>>2];if(b){n[q[c+8>>2]](c,b)}q[a+428>>2]=0;b=q[a+424>>2];if(b){n[q[c+8>>2]](c,b)}q[a+424>>2]=0;b=q[a+396>>2];if(b){n[q[c+8>>2]](c,b)}q[a+396>>2]=0;b=q[a+400>>2];if(b){n[q[c+8>>2]](c,b)}q[a+400>>2]=0;b=q[a+384>>2];if(b){n[q[c+8>>2]](c,b)}q[a+384>>2]=0;b=q[a+388>>2];if(b){n[q[c+8>>2]](c,b)}q[a+388>>2]=0;b=q[a+364>>2];if(b){n[q[c+8>>2]](c,b)}q[a+364>>2]=0;b=q[a+496>>2];if(b){n[q[c+8>>2]](c,b)}q[a+496>>2]=0;b=q[a+560>>2];if(b){n[q[c+8>>2]](c,b)}q[a+556>>2]=0;q[a+560>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0}}function YT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=ab(1,16);if(f){i=f;d=q[a+44>>2];a:{if((d|0)>=1){e=q[a+48>>2];d=d+ -1|0;b=d;a=f;b:{c:{while(1){c=b>>>1|0;if(!q[w(c,36)+e>>2]){break c}b=c+ -1|0;if(c){continue}break}b=0;break b}b=q[(w(c,36)+e|0)+28>>2]}q[a>>2]=b;b=0;a=d;h=f;d:{while(1){c=a+b>>>1|0;g=q[w(c,36)+e>>2];e:{if(g>>>0<=1818914159){b=q[(w(c,36)+e|0)+28>>2];if((g|0)==1818914159){break d}b=c+1|0;break e}a=c+ -1|0}if((b|0)<=(a|0)){continue}break}b=0}q[h+4>>2]=b;b=0;a=d;h=f;f:{while(1){c=a+b>>>1|0;g=q[w(c,36)+e>>2];g:{if(g>>>0<=1986686319){b=q[(w(c,36)+e|0)+28>>2];if((g|0)==1986686319){break f}b=c+1|0;break g}a=c+ -1|0}if((b|0)<=(a|0)){continue}break}b=0}q[h+8>>2]=b;a=0;while(1){c=a+d>>>1|0;b=q[w(c,36)+e>>2];h:{if(b>>>0<=1953131887){a=q[(w(c,36)+e|0)+28>>2];if((b|0)==1953131887){break a}a=c+1|0;break h}d=c+ -1|0}if((a|0)<=(d|0)){continue}break}}a=0}q[i+12>>2]=a}return f|0}function dW(a,b,c){var d=0,e=x(0),f=0,g=x(0),h=x(0),i=0,j=x(0);e=u[a>>2];h=u[a+8>>2];if(!(u[a+4>>2]>=u[a+12>>2]^1?!(e>=h):0)){q[c>>2]=0;q[c+4>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;return}g=x(q[b+20>>2]);j=x(e*g);f=q[b+16>>2];d=q[f+28>>2];if(!d){d=xb(f);e=u[a>>2];h=u[a+8>>2];g=x(q[b+20>>2]);f=q[b+16>>2]}i=c;j=x(J(x(x(j/x(d>>>0)))));a:{if(x(y(j))>2]=d;d=q[f+28>>2];if(!d){d=xb(f);f=q[b+16>>2]}i=c;e=x(J(x(x(x(x(h-e)*g)/x(d>>>0)))));b:{if(x(y(e))>2]=d;e=u[a+12>>2];h=x(q[b+24>>2]);g=x(e*h);d=q[f+28>>2];if(!d){d=xb(f);e=u[a+12>>2];h=x(q[b+24>>2]);f=q[b+16>>2]}b=c;g=x(J(x(x(g/x(d>>>0)))));c:{if(x(y(g))>2]=i;e=x(x(u[a+4>>2]-e)*h);a=q[f+28>>2];if(!a){a=xb(f)}e=x(J(x(x(e/x(a>>>0)))));if(x(y(e))>2]=~~e;return}q[c+12>>2]=-2147483648}function LV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=-1;q[c+28>>2]=-1;q[c+80>>2]=0;q[c+84>>2]=0;q[c+72>>2]=0;q[c+76>>2]=8720;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+32>>2]=-1;q[c+36>>2]=-1;q[c+40>>2]=-1;q[c+44>>2]=-1;q[c+48>>2]=-1;q[c+52>>2]=-1;q[c+56>>2]=-1;q[c+60>>2]=-1;q[c- -64>>2]=-1;q[c+88>>2]=0;q[c+92>>2]=0;q[c+96>>2]=0;q[c+100>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}GV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function ch(a,b,c,d){var e=0,f=0,g=0,h=0;g=Da-32|0;Da=g;a:{b:{e=q[a+80>>2]+c|0;c:{if(!(!e|t[a+84>>2]>e>>>0)){if(!pe(a,e)){break c}}e=q[a+88>>2];d:{if((e|0)!=q[a+92>>2]){break d}f=q[a+80>>2];if(f+c>>>0<=q[a+72>>2]+b>>>0){break d}if(!r[a+69|0]){break b}h=q[a+96>>2];q[a+92>>2]=h;Qa(h,e,w(f,20))}e=q[a+72>>2];f=e+b|0;if(f>>>0>t[a+76>>2]){break a}if(b>>>0>=2){kc(a,e,f);e=q[a+72>>2]}f=q[a+88>>2]+w(e,20)|0;q[g+24>>2]=q[f+16>>2];h=q[f+12>>2];q[g+16>>2]=q[f+8>>2];q[g+20>>2]=h;h=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=h;f=q[a+80>>2];if(c){e=q[a+92>>2]+w(f,20)|0;f=0;while(1){h=q[g+12>>2];q[e>>2]=q[g+8>>2];q[e+4>>2]=h;q[e+16>>2]=q[g+24>>2];h=q[g+20>>2];q[e+8>>2]=q[g+16>>2];q[e+12>>2]=h;q[e>>2]=q[(f<<2)+d>>2];e=e+20|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=q[a+80>>2];e=q[a+72>>2]}q[a+80>>2]=c+f;q[a+72>>2]=b+e}Da=g+32|0;return}I(272574,272586,167,272599);F()}I(272640,272586,363,272660);F()}function ZH(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0,s=0,t=0,u=0,w=0;k=Da-32|0;Da=k;a:{b:{c:{d:{if(b){if(!c){i=1e+99;m=1e+99;o=1e+99;break c}if(d){break d}g=c;while(1){f=q[g>>2];g=f&1?(f&-2)+g|0:f;if(g){continue}break}i=1e+99;m=1e+99;o=1e+99;break c}a=1;break a}o=1e+99;l=c;m=1e+99;i=1e+99;while(1){t=l+8|0;u=+(s|0);g=0;j=d;while(1){h=+n[q[b+4>>2]](t,j+8|0,k+16|0);if(h<0){break b}h=h*1e3+u;p=h>2]!=1){if(!(h>2];j=j&1?p+(j&-2)|0:j;if(j){continue}break}s=s+1|0;g=q[l>>2];l=g&1?(g&-2)+l|0:g;if(l){continue}break}}if(r[643740]&2){a=Qc(a);v[k+8>>3]=i;q[k>>2]=a;Ab(505075,k);ki(c);Ua(505084,0);ki(d);Gb(10)}if(e){h=i;a=q[b+12>>2];g=(a<<3)+e|0;i=v[g>>3];h=h+i;c=a;a=q[b+8>>2];if((c|0)!=(a|0)){v[g>>3]=o+i;g=(a<<3)+e|0;h=m+v[g>>3]}v[g>>3]=h}a=1;break a}q[f>>2]=2;a=0}Da=k+32|0;return a}function gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(q[a+20>>2]==2|c-b>>>0<2){break a}g=q[a+92>>2];e=q[(g+w(b,20)|0)+8>>2];f=e;d=b+1|0;if(d>>>0>>0){f=e;while(1){h=q[(w(d,20)+g|0)+8>>2];f=f>>>0>h>>>0?h:f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}while(1){d=b;if(b){b=d+ -1|0;if((e|0)==q[(w(b,20)+g|0)+8>>2]){continue}}break}e=q[a+80>>2];b:{if(e>>>0<=c>>>0){break b}while(1){b=w(c,20)+g|0;if(q[b+ -12>>2]!=q[b+8>>2]){break b}c=c+1|0;if(c>>>0>>0){continue}break}}c:{if((c|0)!=(e|0)){break c}b=q[a+72>>2];h=q[a+76>>2];if(b>>>0>=h>>>0){break c}e=(w(e,20)+g|0)+ -12|0;j=q[a+88>>2];while(1){a=w(b,20)+j|0;i=q[a+8>>2];if((i|0)!=q[e>>2]){break c}if((f|0)!=(i|0)){q[a+4>>2]=q[a+4>>2]&-2}q[a+8>>2]=f;b=b+1|0;if(b>>>0>>0){continue}break}}if(d>>>0>=c>>>0){break a}while(1){a=w(d,20)+g|0;b=a;if(q[a+8>>2]!=(f|0)){q[a+4>>2]=q[a+4>>2]&-2}q[b+8>>2]=f;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}function Jz(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>t[b+160>>2]){kb(b,8)}c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!((c+ -16>>>0)/12>>>0>=h>>>0?!(c>>>0<16|c>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(h){c=0;a=0;while(1){f=c;g=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);c=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){kb(b,8)}if(!(!a|e>>>0>f>>>0)){kb(b,8)}a:{if(!q[b+164>>2]){break a}f=q[b+172>>2];e=c-e|0;if((g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0>>0?f>>>0>=e>>>0:0){break a}kb(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Uv(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,o=0;k=q[a+76>>2];if(k){m=q[a+96>>2];i=q[a+88>>2];while(1){o=k;a:{b:{c:{h=w(f,20);e=h+i|0;if(n[b](e)){h=q[e+8>>2];d:{d=f+1|0;if(d>>>0>>0){if(q[(w(d,20)+i|0)+8>>2]!=(h|0)){break d}c=d;break a}if(g){break c}break b}if(g){break c}kc(a,f,f+2|0);break b}if((f|0)!=(g|0)){l=q[e+4>>2];j=w(g,20);c=j+i|0;d=c;q[d>>2]=q[e>>2];q[d+4>>2]=l;q[d+16>>2]=q[e+16>>2];d=q[e+12>>2];q[c+8>>2]=q[e+8>>2];q[c+12>>2]=d;c=j+m|0;d=h+m|0;q[c+16>>2]=q[d+16>>2];e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e}g=g+1|0;c=f+1|0;break a}j=q[(w(g,20)+i|0)+ -12>>2];c=d;if(h>>>0>=j>>>0){break a}l=q[e+4>>2]&1;f=g;while(1){f=f+ -1|0;e=w(f,20)+i|0;c=d;if(q[e+8>>2]!=(j|0)){break a}c=q[e+4>>2];q[e+4>>2]=l?c|1:c&-2;q[e+8>>2]=h;if(f){continue}break}c=d;break a}g=0;c=d}f=c;if((o|0)!=(f|0)){continue}break}}q[a+76>>2]=g}function Xw(a,b){var c=0,d=0,e=0,f=0,g=0;f=1;a:{c=r[a+7|0];b:{if(c>>>0>6){break b}c:{switch(c-1|0){default:f=0;g=q[b+4>>2];e=a+12|0;if(g>>>0>e>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-e>>>0<8){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>715827881){break b}d=w(d,6);if(d){a=a+28|0;if(g>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break b}q[b+12>>2]=e+ -2;if((e|0)<2){break b}}return 1;case 0:f=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}break a;case 1:return Ww(a,b);case 3:f=0;if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<32){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}break a;case 2:case 4:break b;case 5:break c}}f=Vw(a,b)}return f}return Ym(a+12|0,b)}function Jh(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;La(q[a+424>>2]);b=q[a+8>>2];h=Sa(q[b+8>>2]<<2);q[a+424>>2]=h;if(h){if(q[b+8>>2]>=1){i=q[b+20>>2];while(1){k=r[a+428|0];m=h;b=q[i+44>>2];a:{if(!(!b|!r[b|0])){d=1;if(!k){break a}o[b|0]=0}f=0;b=0;g=q[i+48>>2];j=r[g|0];d=0;if(!j){break a}while(1){c=b;e=g;b=j<<24>>24;g=b+ -123|0;b:{if(g>>>0>2){if((b|0)!=59){if((b|0)!=92){b=c;break b}f=!f;b=c;break b}c:{if(!c){break c}if(!Zn(c,e)){break c}d=1;if(!k){break a}b=e+1|0;if(c>>>0>=b>>>0){break c}Na(c,32,b-c|0)}b=e+1|0;break b}b=c;d:{switch(g-1|0){case 1:if(f|!c){break b}if(Zn(c,e)){d=1;if(!k){break a}f=0;b=0;if(c>>>0>=e>>>0){break b}Na(c,32,e-c|0)}f=0;b=0;break b;case 0:break b;default:break d}}b=c;c=c|f;b=c?b:e+1|0;f=c?f:0}g=e+1|0;j=r[e+1|0];if(j){continue}break}d=0}q[m>>2]=d;h=h+4|0;i=i+56|0;l=l+1|0;if((l|0)>2]+8>>2]){continue}break}}return}Rb(1302);Q(5);F()}function Dw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=271312;e=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);a:{if((e|0)<1){break a}e=e+ -1|0;while(1){b:{c:{d:{g=e+i>>>1|0;f=w(g,6)+a|0;j=r[f+28|0]<<8|r[f+29|0];e:{if((j|0)==(b|0)){f=r[f+31|0]|r[f+30|0]<<8;if(f>>>0>c>>>0){break e}if((c|0)==(f|0)){break d}break c}if(j>>>0<=b>>>0){break c}}e=g+ -1|0;break b}h=(w(g,6)+a|0)+28|0;break a}i=g+1|0}if((i|0)<=(e|0)){continue}break}}b=r[h+4|0]|r[h+5|0]<<8;b=(b<<24|b<<8&16711680)>>16;if(!d){return b}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return b}e=0;f:{if(c>>>0>2147483646){break f}a=a+b|0;if(t[d+20>>2]>a>>>0){break f}b=q[d+24>>2];if(b>>>0>>0|b-a>>>0>>0){break f}b=q[d+28>>2];q[d+28>>2]=b+ -1;if((b|0)<1){break f}a=r[a|0]|r[a+1|0]<<8;e=(a<<24|a<<8&16711680)>>16}return e}function pR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=r[a+20|0];f=q[a+16>>2];g=q[a+12>>2];a:{b:{if(!Ta(b,289476)){b=q[c>>2];if(!b){d=35;break a}d=q[b+116>>2];q[e+8>>2]=d;if(!d){d=Ki(b,e+8|0,a);if(d){break a}d=q[e+8>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[c+4>>2]=q[d+8>>2];break b}if(!Ta(b,289380)){q[c>>2]=q[q[(g<<2)+284352>>2]+8>>2];break b}if(!Ta(b,289396)){q[c>>2]=f;break b}if(!Ta(b,289411)){b=q[c>>2];if(!b){d=35;break a}d=q[b+116>>2];q[e+12>>2]=d;if(!d){d=Ki(b,e+12|0,a);if(d){break a}d=q[e+12>>2];q[b+116>>2]=d;q[b+120>>2]=596}q[c+4>>2]=q[d+20>>2];break b}if(!Ta(b,289429)){o[c|0]=d;break b}if(!Ta(b,289437)){q[c>>2]=q[a+24>>2];q[c+4>>2]=q[a+28>>2];q[c+8>>2]=q[a+32>>2];q[c+12>>2]=q[a+36>>2];q[c+16>>2]=q[a+40>>2];q[c+20>>2]=q[a+44>>2];q[c+24>>2]=q[a+48>>2];q[c+28>>2]=q[a+52>>2];break b}d=12;if(Ta(b,289458)){break a}o[c|0]=r[a+21|0]}d=0}Da=e+16|0;return d|0}function pP(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,o=0,p=0;i=Da-96|0;Da=i;j=q[a+28>>2];l=q[c+8>>2];m=q[c+4>>2];k=q[c>>2];a:{b:{if(!(!k|!r[k|0])){c=Al(a,b,k,m,l,d,e,f,g,h);if(c){break b}}c:{c=q[a+4>>2];if(!c){break c}c=Al(a,b,c,m,l,d,e,f,g,h);if(!c){break c}a=q[e>>2];q[i+80>>2]=q[d>>2];q[i+84>>2]=a?a:354263;q[i+76>>2]=c;q[i+72>>2]=l;q[i+68>>2]=m;q[i+64>>2]=k;hb(b,2,354197,i- -64|0);break b}d:{if(!j){break d}o=q[j+32>>2];if(!o){break d}p=q[j+40>>2];e:{if(k){c=k;j=c;if(r[c|0]){break e}}j=354270}j=n[o](p,j,h)|0;if(!j){break d}c=Al(a,b,j,m,l,d,e,f,g,h);La(j);if(c){break b}}c=q[a+8>>2];if(!c){c=0;break a}f=q[a+12>>2];q[d>>2]=f;a=q[e>>2];q[i+48>>2]=f;q[i+52>>2]=a?a:354263;q[i+44>>2]=c;q[i+40>>2]=l;q[i+36>>2]=m;q[i+32>>2]=k;hb(b,2,354276,i+32|0)}a=q[e>>2];q[i+16>>2]=q[d>>2];q[i+20>>2]=a?a:354263;q[i+12>>2]=c;q[i+8>>2]=l;q[i+4>>2]=m;q[i>>2]=k;hb(b,4,354335,i)}Da=i+96|0;return c}function _l(a,b){var c=0;c=a>>>12|0;a:{b:{if(c>>>0>30){break b}c:{d:{switch(c-1|0){default:a=a+ -1536|0;if(a>>>0<739){break c}break b;case 0:if(a+ -6150>>>0>164){break b}a=a+ -5411|0;break c;case 1:if(a+ -8204>>>0>93){break b}a=a+ -7300|0;break c;case 9:if(a+ -43072>>>0>51){break b}a=a+ -42074|0;break c;case 15:if(a+ -68288>>>0<=47){a=a+ -67238|0;break c}if(a+ -68480>>>0<=47){a=a+ -67382|0;break c}if(a+ -68864>>>0<=35){a=a+ -67718|0;break c}if(a+ -69424>>>0>36){break b}a=a+ -68242|0;break c;case 16:if(a+ -69821>>>0>16){break b}a=a+ -68602|0;break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break b;case 29:break d}}if(a+ -125184>>>0>75){break b}a=a+ -123948|0}a=r[a+252128|0];if((a|0)!=8){break a}}a=b>>>0<32?1<>1];b=c<<16>>16;if((b|0)<1){break a}g=2;if((b|0)==1){break a}j=q[a+4>>2];c=j+(c<<3)|0;d=j+8|0;e=q[j>>2];f=e;b=j;h=q[b+4>>2];i=h;while(1){b=q[b+12>>2];i=(b|0)>(i|0)?b:i;h=(b|0)<(h|0)?b:h;b=q[d>>2];f=(b|0)>(f|0)?b:f;e=(b|0)<(e|0)?b:e;b=d;d=b+8|0;if(d>>>0>>0){continue}break}if((e|0)==(f|0)|(h|0)==(i|0)){break a}c=p[a>>1];if((c|0)>=1){d=0;b=f>>31;f=b+f^b;b=e>>31;b=17-z(f|b+e^b)|0;l=(b|0)>0?b:0;b=17-z(i-h|0)|0;m=(b|0)>0?b:0;b=c&65535;h=b>>>0>1?b:1;i=q[a+12>>2];b=0;a=0;while(1){k=p[(a<<1)+i>>1];if((b|0)<=(k|0)){c=(k<<3)+j|0;e=q[c>>2]>>l;f=q[c+4>>2]>>m;while(1){g=e;n=d;d=(b<<3)+j|0;c=q[d+4>>2]>>m;e=q[d>>2]>>l;d=n+w(c-f|0,g+e|0)|0;g=(b|0)!=(k|0);b=b+1|0;f=c;if(g){continue}break}}b=k+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}g=1;if((d|0)>0){break a}g=0;if(d){break a}}g=2}return g}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;if((a|0)==(b|0)){return 1}if(!(!a|!b)){k=q[a+4>>2];a:{if((k|0)<1){break a}j=q[b+4>>2];l=j+ -1|0;while(1){if((d|0)>=(j|0)){break a}g=s[(q[a+12>>2]+a|0)+(i<<1)>>1];h=q[b+12>>2]+b|0;c=s[h+(d<<1)>>1];b:{if((g|0)==(c|0)){c:{c=q[a+8>>2]+a|0;c=q[c+(i<<2)>>2]+c|0;e=q[b+8>>2]+b|0;f=q[e+(d<<2)>>2]+e|0;if((c|0)==(f|0)){break c}g=8;while(1){if(!g){break c}g=g+ -1|0;h=q[f>>2];e=q[c>>2];c=c+4|0;f=f+4|0;if(!(e&(h^-1))){continue}break}return 0}d=d+1|0;i=i+1|0;break b}if(g>>>0>>0){return 0}if(!h){d=0;break b}c=l;f=d+1|0;d:{if((j|0)>(f|0)){while(1){e=c+f|0;d=e>>1;e=s[h+(e&-2)>>1];if((e|0)==(g|0)){break d}e=e>>>0>>0;f=e?d+1|0:f;c=e?c:d+ -1|0;if((f|0)<=(c|0)){continue}break}}if(!((c|0)>=(j|0)|s[h+(c<<1)>>1]>=g>>>0?(c|0)>=0:0)){c=c+1|0}d=c^-1}if((d|0)>-1){break b}d=d^-1}if((i|0)<(k|0)){continue}break}}c=(i|0)>=(k|0)}return c}function Df(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=Da-32|0;Da=d;m=q[a+104>>2];g=b-m|0;k=q[a+108>>2];f=c-k|0;l=q[a+48>>2];a:{b:{if((f|0)>=(l|0)){break b}e=0-l|0;if((f|0)<=(e|0)|(g|0)<=(e|0)){break b}e=1;if((g|0)<(l|0)){break a}}i=v[a+40>>3]*+(f|0);j=v[a+32>>3]*+(0-g|0);h=1/E(i*i+j*j);i=i*h;j=j*h;e=0;if(!kg(a,m,k,i,j,3)){break a}q[a+60>>2]=q[a+60>>2]&-4;g=q[a+108>>2];h=v[a+88>>3];n=v[a+80>>3]*v[a+16>>3];c:{if(y(n)<2147483648){f=~~n;break c}f=-2147483648}n=v[a+24>>3];l=f;k=q[a+104>>2];q[d+24>>2]=f+k;e=d;h=h*n;d:{if(y(h)<2147483648){f=~~h;break d}f=-2147483648}q[e+28>>2]=f+g;m=q[a>>2];e=q[d+28>>2];q[d+16>>2]=q[d+24>>2];q[d+20>>2]=e;e=0;if(!qb(m,d+16|0,1)){break a}q[d+28>>2]=g-f;q[d+24>>2]=k-l;g=q[a+4>>2];f=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=f;e=0;if(!qb(g,d+8|0,1)){break a}v[a+80>>3]=i;v[a+88>>3]=j;q[a+104>>2]=b;q[a+108>>2]=c;e=1}Da=d+32|0;return e}function Eh(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=q[a+12>>2];e=q[j>>2];g=e>>>0>>0?e:b;if(g){e=q[j+12>>2];while(1){k=i<<2;f=q[k+c>>2];l=q[e+12>>2];b=l;if((f|0)<=(b|0)){b=q[e+4>>2];b=(f|0)<(b|0)?b:f}f=q[e+8>>2];a:{if((b|0)<(f|0)){h=0-Za(b-f|0,q[e+4>>2]-f|0)|0;break a}h=0;if((b|0)<=(f|0)){break a}h=Za(b-f|0,l-f|0)}q[d+k>>2]=h;e=e+24|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}e=q[j>>2]}if(g>>>0>>0){b=g+1|0;Na((g<<2)+d|0,0,(e>>>0>b>>>0?e:b)-g<<2)}b=q[a+28>>2];b:{if(!b){break b}a=q[j>>2];if(!a){break b}c=0;while(1){h=s[b>>1];c:{if(h>>>0<2){break c}i=(c<<2)+d|0;g=q[i>>2];f=q[b+4>>2];e=1;while(1){k=e<<3;l=k+f|0;m=q[l>>2];if((g|0)<(m|0)){h=g;a=k+ -8|0;e=a+f|0;g=q[e>>2];n=i,o=bb(h-g|0,q[l+4>>2]-q[e+4>>2]|0,m-g|0)+q[(a+q[b+4>>2]|0)+4>>2]|0,q[n>>2]=o;a=q[j>>2];break c}e=e+1|0;if(e>>>0>>0){continue}break}}b=b+8|0;c=c+1|0;if(c>>>0>>0){continue}break}}}function xO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;Be(b+4|0);Be(b+28|0);a:{b=q[a>>2];b:{if(b>>>0>2){break b}c:{switch(b-1|0){default:a=q[a+8>>2];if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d);return;case 0:La(q[a+8>>2]);return;case 1:break c}}a=q[a+8>>2];if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);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;i=Da-16|0;Da=i;j=q[a+28>>2];q[i+12>>2]=0;a:{if(c>>>0>b>>>0){break a}g=Oa(j,4,0,c,0,i+12|0);if(!q[i+12>>2]){b=0;while(1){if(b>>>0>=c>>>0){break a}d=q[a+32>>2];if(d>>>0>2]){q[a+32>>2]=d+1;e=o[d|0]}else{e=0}d=e<<24>>24;h=d&63;b:{if(d&128){e=0;d=(b^-1)+c|0;Na((b<<2)+g|0,0,((d>>>0>>0?d:h)<<2)+4|0);while(1){d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break}break b}e=0;if(d&64){while(1){k=(b<<2)+g|0,l=ob(a)<<16,q[k>>2]=l;d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break b}}while(1){d=(b<<2)+g|0;f=q[a+32>>2];if(f>>>0>2]){q[a+32>>2]=f+1;f=o[f|0]}else{f=0}q[d>>2]=f<<24>>24<<16;d=e+1|0;b=b+1|0;if(b>>>0>=c>>>0){break b}f=e>>>0>>0;e=d;if(f){continue}break}}if(d>>>0>h>>>0){continue}break}b=j;a=g;if(a){n[q[b+8>>2]](b,a)}}g=0}Da=i+16|0;return g}function SV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<4){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=q[b+32>>2]+1|0;if(d>>>0>1073741822){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function Ku(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=r[a+3|0]|r[a+2|0]<<8;c=d?d+a|0:271312;d=q[b+96>>2];i=yb(c,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=q[d+72>>2];q[b+36>>2]=1;q[b>>2]=e;c=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[c+76>>2];f=(e|0)==q[c+72>>2]?r[(q[c+88>>2]+w(e,20)|0)+15|0]:f;q[b+8>>2]=8;o[b+20|0]=f;if(!Kf(b)){break a}e=271312;c=r[a+5|0]|r[a+4|0]<<8;f=q[b>>2];g=yb(c?c+a|0:271312,q[q[d+88>>2]+w(f,20)>>2]);if((g|0)==-1){break a}c=r[a+11|0]|r[a+10|0]<<8;c=c?c+a|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>g>>>0){e=c+(g<<1)|0;e=r[e+2|0]<<8|r[e+3|0];e=e?e+c|0:271312}c=r[e+1|0]|r[e|0]<<8;if(!c){break a}g=q[d+88>>2];h=r[(g+w(f,20)|0)+14|0]>>>5|0;b:{if(!h){break b}d=r[(g+w(q[d+72>>2],20)|0)+14|0];if((h|0)!=(d>>>5|0)){break b}d=d&16?0:d&15;if(!d){break b}c=c>>>0>d>>>0?d:c}d=r[a+9|0]|r[a+8|0]<<8;h=vm(d?d+a|0:271312,b,i,c+ -1|0,e,r[a+7|0]|r[a+6|0]<<8,f)}return h}function tw(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:{b:{if(c>>>0>536870910){break b}if(!c){return 1}if(t[b+4>>2]>a>>>0){break b}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0>>0){break b}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break b}k=q[b+4>>2];l=q[d>>2];while(1){g=(m<<3)+a|0;if(k>>>0>g>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-g>>>0<8){break a}o=r[e|0];p=r[e+1|0];d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}i=g+6|0;if(k>>>0>i>>>0|f>>>0>>0|f-i>>>0<2){break a}j=d+ -2|0;q[b+12>>2]=j;if((d|0)<2){break a}n=r[g+7|0]|r[i|0]<<8;h=0;c:{if(!n){break c}h=0;if(f>>>0>>0|k>>>0>l>>>0|f-l>>>0>>0){break b}j=d+ -3|0;q[b+12>>2]=j;if((d|0)<3){break b}h=r[g+7|0]|r[i|0]<<8}d=h;g=o<<8|p;if(g){h=0;d=d+l|0;if(k>>>0>d>>>0|f>>>0>>0|f-d>>>0>>0){break b}q[b+12>>2]=j+ -1;if((j|0)<1){break b}}h=1;m=m+1|0;if((m|0)!=(c|0)){continue}break}}return h}return 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,l=0,m=0,n=0;c=q[b>>2]+1|0;a:{if(c>>>0>65535){break a}a=q[a+16>>2];j=a+518|0;k=a+6|0;while(1){b:{a=c>>>8|0;c:{d:{e:{if(!a){d=(c<<1&510)+k|0;a=j;if(!(r[d|0]<<8|r[d+1|0])){break e}break d}a=(a<<1)+k|0;a=r[a|0]<<8|r[a+1|0]&248;if(!a){break d}a=a+j|0}d=a;g=r[d+1|0]|r[d|0]<<8;h=r[d+3|0]|r[d+2|0]<<8;e=c&255;f=r[d+6|0];i=r[d+7|0];m=r[d+4|0];n=r[d+5|0];if(c>>>0<=255){a=256;if(e>>>0>=g+h>>>0){break c}}i=i|f<<8;if(!i){if((c|0)!=256){break d}break b}l=e>>>0>>0?g:e;c=c&-256;f=l+c|0;a=e-g|0;a=a>>>0>e>>>0?0:a;if(a>>>0>>0){g=m<<8|n;e=(c+(h+l|0)|0)-a|0;c=d+6+(i+(a<<1))|0;while(1){d=r[c+1|0]|r[c|0]<<8;if(d){d=d+g&65535;if(d){break a}}c=c+2|0;f=f+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}a=e}else{a=f}c=a-((h|0)!=0)|0}a=c>>>0<256?c+1|0:c+256&-256}c=a;if(c>>>0<65536){continue}}break}f=0;d=0}q[b>>2]=f;return d|0}function uO(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){break b}c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+20|0]|r[b+21|0]<<8|(r[b+22|0]<<16|r[b+23|0]<<24);d=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);o[a+16|0]=d;o[a+17|0]=d>>>8;o[a+18|0]=d>>>16;o[a+19|0]=d>>>24;o[a+20|0]=c;o[a+21|0]=c>>>8;o[a+22|0]=c>>>16;o[a+23|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);d=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=d;o[a+9|0]=d>>>8;o[a+10|0]=d>>>16;o[a+11|0]=d>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;a=q[b>>2];if(!a){break b}if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return 1}I(355429,355403,444,355459);F()}function hx(a,b,c){var d=0,e=0,f=0,g=0;a:{e=q[b+4>>2];if(r[a+8|0]?0:q[e+72>>2]==q[e+76>>2]){break a}d=r[c+5|0]|r[c+4|0]<<8;b:{if((d|0)==65535){break b}f=q[a+20>>2];d=f+(d<<2)|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);f=Sc((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+f|0,q[q[e+88>>2]+w(q[a+12>>2],20)>>2],q[b+8>>2]);if(!f){break b}d=q[e+76>>2];g=q[e+72>>2]+1|0;g=g>>>0>d>>>0?d:g;d=q[a+12>>2];if(g-d>>>0>=2){rb(e,d,g);d=q[a+12>>2]}q[q[e+88>>2]+w(d,20)>>2]=r[f+1|0]|r[f|0]<<8;o[a|0]=1}d=r[c+7|0]|r[c+6|0]<<8;c:{if((d|0)==65535){break c}f=q[a+20>>2];d=f+(d<<2)|0;d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+f|0;d=q[e+76>>2]+ -1|0;f=q[e+72>>2];d=w(f>>>0>d>>>0?d:f,20);b=Sc(g,q[d+q[e+88>>2]>>2],q[b+8>>2]);if(!b){break c}q[d+q[e+88>>2]>>2]=r[b+1|0]|r[b|0]<<8;o[a|0]=1}if(o[c+2|0]>-1){break a}o[a+8|0]=1;q[a+12>>2]=q[e+72>>2]}}function Xv(a,b,c){var d=0;a:{while(1){b:{if((c|0)!=7){c=c+ -1|0;if(c>>>0>7){break a}c:{switch(c-1|0){default:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){Z_(a,b);return}X_(a,b);return;case 0:if((r[a+1|0]|r[a|0]<<8)!=1){break a}Pv(a,b);return;case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}Pv(a,b);return;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}W_(a,b);return;case 3:Ov(a,b);return;case 5:break a;case 6:break b;case 4:break c}}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}d:{switch(c-1|0){default:Nv(a,b);return;case 0:Mv(a,b);return;case 1:break d}}Lv(a,b);return}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+3|0]|r[a+2|0]<<8;d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;continue}break}if((r[a+1|0]|r[a|0]<<8)!=1){break a}V_(a,b)}}function rj(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=q[(c<<3)+e>>2]>q[(d<<3)+e>>2];j=g?c:d;h=j<<3;i=q[h+f>>2];k=g?d:c;c=k<<3;g=q[c+f>>2];m=(b|0)>(a|0)?b:a;h=q[e+h>>2];d=q[c+e>>2];if(!((g|0)!=(i|0)?(h|0)==(d|0):0)){if((d|0)!=(h|0)){l=Za(i-g|0,h-d|0)}o=i-h|0;p=g-d|0;c=a;while(1){b=c;n=c<<3;c=q[n+e>>2];b:{if((c|0)<=(d|0)){i=c+p|0;break b}i=c+o|0;if((c|0)>=(h|0)){break b}i=Ma(c-d|0,l)+g|0}q[f+n>>2]=i;c=b+1|0;if((b|0)!=(m|0)){continue}break}}h=f+4|0;d=e+4|0;c=q[d+(k<<3)>>2]>q[d+(j<<3)>>2];f=(c?k:j)<<3;b=q[h+f>>2];c=(c?j:k)<<3;e=q[c+h>>2];f=q[d+f>>2];c=q[c+d>>2];if((b|0)!=(e|0)?(f|0)==(c|0):0){break a}j=0;if((c|0)!=(f|0)){j=Za(b-e|0,f-c|0)}i=b-f|0;k=e-c|0;while(1){b=a;l=b<<3;a=q[l+d>>2];c:{if((a|0)<=(c|0)){g=a+k|0;break c}g=a+i|0;if((a|0)>=(f|0)){break c}g=Ma(a-c|0,j)+e|0}q[h+l>>2]=g;a=b+1|0;if((b|0)!=(m|0)){continue}break}}}function OY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<16){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!lf(a+8|0,b,a)){break a}if(!lf(a+10|0,b,a)){break a}f=w(r[a+15|0]|r[a+14|0]<<8,r[a+13|0]|r[a+12|0]<<8);c=r[a+5|0];h=Z$(c|r[a+4|0]<<8);g=h+Z$(r[a+7|0]|r[a+6|0]<<8)|0;e=g<<1;if(4294967295/(e>>>0)>>>0<=f>>>0?g:0){break a}d=a+16|0;i=!f;e=w(e,f);if(e){if(t[b+4>>2]>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0>>0){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+5|0]}if(!(i|c>>>0<16)){e=a+4|0;c=0;while(1){if(!ug(e,b,a,d)){break a}d=(g<<1)+d|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}j=1;if(!f|r[a+7|0]<16){break a}e=a+6|0;d=((h<<1)+a|0)+16|0;c=0;while(1){if(!ug(e,b,a,d)){return 0}d=(g<<1)+d|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}return j}function Lu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0]|r[a+2|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];i=yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((i|0)==-1){break a}e=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=e;d=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[d+76>>2];h=(e|0)==q[d+72>>2]?r[(q[d+88>>2]+w(e,20)|0)+15|0]:h;q[b+8>>2]=8;o[b+20|0]=h;if(!Kf(b)){break a}while(1){b:{h=q[c+88>>2];e=q[b>>2];d=h+w(e,20)|0;if(!(r[d+12|0]&64)|!e){break b}g=r[d+14|0];f=g&16?0:g&15;if(!f){break b}d=d+ -8|0;if(r[d|0]&8){break b}d=r[d+2|0];if((d^g)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(f|0)){break b}q[b+36>>2]=q[b+36>>2]+1;e=q[b+32>>2];if(e){q[b+32>>2]=e+ -2}g=0;if(Kf(b)){continue}break a}break}c=r[a+5|0]|r[a+4|0]<<8;c=yb(c?c+a|0:271312,q[h+w(e,20)>>2]);if((c|0)==-1){return 0}e=r[a+9|0]|r[a+8|0]<<8;f=c;c=r[a+11|0]|r[a+10|0]<<8;g=vm(e?e+a|0:271312,b,i,f,c?c+a|0:271312,r[a+7|0]|r[a+6|0]<<8,q[b>>2])}return g}function gy(a,b,c,d,e){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:{a=b+ -44032|0;if(!(a>>>0>11171|c+ -4520>>>0>26)){if(((a&65535)>>>0)%28){break b}q[d>>2]=(b+c|0)+ -4519;return 1}if(!(b+ -4352>>>0>18|c+ -4449>>>0>20)){q[d>>2]=(w(b,588)+w(c,28)|0)+ -2639516;return 1}if((c&-128)!=768|b>>>0>2047){break b}a=c<<14&2080768|b<<21;b=637;c=0;c:{while(1){e=b+c>>>1|0;g=q[(e<<2)+219264>>2];f=g&-16384;d:{if(a>>>0>>0){b=e+ -1|0;break d}if(a>>>0<=f>>>0){break c}c=e+1|0}if((c|0)<=(b|0)){continue}break}return 0}a=g&16383;break a}a=c>>>11|0;g=c<<21;e=b<<10|a;b=386;c=0;e:{while(1){f=b+c>>>1|0;h=(f<<3)+221824|0;a=q[h+4>>2];h=q[h>>2];a=a&2147483647;i=h&-2097152;f:{if((a|0)==(e|0)&g>>>0>>0|e>>>0>>0){b=f+ -1|0;break f}if((a|0)==(e|0)&g>>>0<=i>>>0|e>>>0>>0){break e}c=f+1|0}if((c|0)<=(b|0)){continue}break}return 0}a=h&2097151}if(!a){return 0}q[d>>2]=a;return 1}function fu(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){e=q[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(f>>>0>=g>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>178956969)){f=db(q[a+12>>2],w(e,24));if(f){break c}}q[a+4>>2]=-1}e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;h=642976;break a}q[a+4>>2]=e;q[a+12>>2]=f;e=q[a+8>>2]}if(g>>>0>e>>>0){Na(q[a+12>>2]+w(e,24)|0,0,w(g-e|0,24))}q[a+8>>2]=g;h=(q[a+12>>2]+w(g,24)|0)+ -24|0}e=h;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;f=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=f;g=q[d+12>>2];f=e+8|0;q[f>>2]=q[d+8>>2];q[f+4>>2]=g;q[e>>2]=b;f=q[c+12>>2];d=q[c+4>>2];g=q[c>>2];b=q[a>>2];q[e+12>>2]=0;q[e+4>>2]=b+g;e=f-b|0;b=d-b|0;b=b>>>0>d>>>0?0:b;q[h+8>>2]=b>>>0>e>>>0?e:b;q[a>>2]=q[c+12>>2]}function RV(a,b){var c=0,d=0,e=0,f=0,g=0;a=q[a>>2];a=a?a:271312;d=t[a+16>>2]<8?271312:q[a+12>>2];a=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(e){if((e|0)!=1){a=q[b+52>>2];b=q[b+48>>2];a=b>>>0>>0?a:b;f=a?a:1073741824;a=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312;b=r[a|0]<<8|r[a+1|0];a=1;while(1){c=e>>>0>a>>>0?((a<<2)+d|0)+8|0:271312;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+d|0:271312;c=r[c|0]<<8|r[c+1|0];if(!(f>>>0<=b>>>0|c>>>0<=b>>>0?!(c>>>0>>0?f>>>0<=c>>>0:0):0)){g=a;b=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=e>>>0>g>>>0?((g<<2)+d|0)+8|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+d|0:271312}else{a=271312}return a}function TQ(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:{g=q[a+4>>2];j=0-g|0;k=c+ -1|0;h=j&g+k;i=d&j;b:{if((h|0)<=(i|0)){e=q[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}l=s[e+12>>1];m=l&7;if(m>>>0>5){break a}g=i;c:{d:{switch(m-1|0){case 3:g=q[a+8>>2]+((d+k|0)/2|0)&j;break c;case 1:case 2:break a;case 0:case 4:break d;default:break c}}if((!(l&16)|(d-c|0)>2]?!(q[e+28>>2]!=(f|0)|q[e+16>>2]>0):0)|(!(l&32)|(d-c|0)>2]?!(q[f+28>>2]!=(e|0)|q[e+20>>2]!=(b|0)):0)){break a}if((m|0)==1){break c}g=q[a+8>>2]+((d+k|0)/2|0)&j}e=q[a>>2];d=h;d=(g|0)>=0?g>>>e>>>0>2]?g:i:d;c=((h|0)==(d|0)?i:h)>>e;if((c|0)<0|c>>>0>=t[a+96>>2]){break b}if(r[(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=t[a+96>>2]){break a}a=(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0;o[a|0]=r[a|0]|128>>>(b&7)}}function WQ(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:{g=q[a+4>>2];j=0-g|0;k=c+ -1|0;h=j&g+k;i=d&j;b:{if((h|0)<=(i|0)){c=q[a>>2];d=h;break b}if((g+i|0)!=(h|0)){break a}l=s[e+12>>1];m=l&7;if(m>>>0>5){break a}g=i;c:{d:{switch(m-1|0){case 3:g=q[a+8>>2]+((d+k|0)/2|0)&j;break c;case 1:case 2:break a;case 0:case 4:break d;default:break c}}if((!(l&16)|(d-c|0)>2]?!(q[e+28>>2]!=(f|0)|q[e+16>>2]>0):0)|(!(l&32)|(d-c|0)>2]?!(q[f+28>>2]!=(e|0)|q[e+20>>2]!=(b|0)):0)){break a}if((m|0)==1){break c}g=q[a+8>>2]+((d+k|0)/2|0)&j}c=q[a>>2];d=h;d=(g|0)>=0?(g>>>c|0)>1]?g:i:d;b=((h|0)==(d|0)?i:h)>>c;if((b|0)<0|(b|0)>=s[a+52>>1]){break b}if(r[q[a+56>>2]+(q[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=s[a+52>>1]){break a}a=q[a+56>>2]+(q[a+140>>2]+(b<<13>>16)|0)|0;o[a|0]=r[a|0]|128>>>(b&7)}}function js(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;c=q[a>>2];q[e+12>>2]=c;a:{b:{if(c>>>0>=b>>>0){break b}while(1){g=0;d=r[c|0];h=d+ -37|0;c:{if(h>>>0>23){d=d+ -123|0;if(d>>>0>2){break c}d:{switch(d-1|0){default:f=f+1|0;break c;case 0:break c;case 1:break d}}f=f+ -1|0;if(f){break c}c=c+1|0;q[e+12>>2]=c;break b}e:{switch(h-1|0){default:f:{while(1){g:{d=d+ -10|0;if(d>>>0>3){break g}switch(d-1|0){case 0:case 1:break g;default:break f}}c=c+1|0;if((c|0)!=(b|0)){d=r[c|0];continue}break}c=b}q[e+12>>2]=c;break c;case 22:g=is(e+12|0,b);break c;case 0:case 1: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:break c;case 2:break e}}g=El(e+12|0,b)}c=q[e+12>>2]+1|0;q[e+12>>2]=c;if(c>>>0>>0?!g:0){continue}break}b=3;if(f){break a}}b=g}q[a>>2]=c;Da=e+16|0;return b}function jK(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{f=r[e+1|0];if(f+ -216>>>0<4){break j}g=2;if(f){break c}f=r[r[e|0]+h|0]+ -2|0;if(f>>>0>19){break c}switch(f-1|0){case 0:break i;case 4:break j;case 1:case 2:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 3:break d;case 18:break e;case 6:break f;case 7:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return gi(a,b+2|0,c,d)|0}q[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[b+3|0]){a=r[r[b+2|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 39}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function sT(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}Dt(q[a+12>>2],c,12);e=1;c=q[a+8>>2];if(c>>>0>1){while(1){b:{if(c>>>0<=e>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;c=q[a+8>>2];d=642976;break b}d=q[a+12>>2]+w(e,12)|0}d=q[d>>2];c:{if(c>>>0<=f>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[a+12>>2]+w(f,12)|0}if((d|0)!=q[c>>2]){d=q[a+8>>2];d:{if(d>>>0<=e>>>0){q[160746]=q[67830];c=q[67829];q[160744]=q[67828];q[160745]=c;d=q[a+8>>2];c=642976;break d}c=q[a+12>>2]+w(e,12)|0}f=f+1|0;e:{if(d>>>0<=f>>>0){q[160746]=q[67830];d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break e}d=q[a+12>>2]+w(f,12)|0}g=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=g;q[d+8>>2]=q[c+8>>2]}e=e+1|0;c=q[a+8>>2];if(e>>>0>>0){continue}break}}d=f+1|0;d=(d|0)>0?d:0;if(d>>>0>=c>>>0){break a}q[a+8>>2]=d}Xx(a,b)}function kQ(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=Na(a,0,1516);j=ld(q[b+96>>2],291852,1);if(!j){return 7}o[a+68|0]=1;q[a+64>>2]=0;q[a+1348>>2]=j;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}j=q[q[d+156>>2]>>2];q[a+12>>2]=j;q[a+20>>2]=j+56;q[a+16>>2]=j+20;Xe(j);c=q[q[c+40>>2]>>2];q[a+72>>2]=0;q[a+76>>2]=c;if(!g){break a}q[a+72>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;c=q[72559];q[a+80>>2]=q[72558];q[a+84>>2]=c;c=q[72561];q[a+88>>2]=q[72560];q[a+92>>2]=c;c=q[72563];q[a+96>>2]=q[72562];q[a+100>>2]=c;c=q[72565];q[a+104>>2]=q[72564];q[a+108>>2]=c;q[a+1352>>2]=q[b+16>>2];q[a+1468>>2]=f;q[a+1476>>2]=i;q[a+1356>>2]=e;q[a+1472>>2]=h;c=q[72569];b=a+1488|0;q[b>>2]=q[72568];q[b+4>>2]=c;b=q[72567];q[a+1480>>2]=q[72566];q[a+1484>>2]=b;return 0}function Hh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=6;if(!(!a|!c|(!(r[a+8|0]&8)|s[a+340>>1]<=b>>>0))){j=0;g=q[a+356>>2];e=g+w(b,20)|0;f=s[e+8>>1];d=0;a:{if(!f){break a}d=f;if(q[e+16>>2]){break a}d=q[a+104>>2];i=q[a+100>>2];h=n[q[i+4>>2]](i,f)|0;b:{if(h){k=e,l=Na(h,0,f),q[k+16>>2]=l;a=q[(g+w(b,20)|0)+12>>2];c:{b=q[d+20>>2];d:{if(b){if(n[b](d,a,0,0)){break c}b=q[d+4>>2];h=q[e+16>>2];break d}b=q[d+4>>2];if(b>>>0>>0){break c}}q[d+8>>2]=a;if(b>>>0<=a>>>0){break c}f=s[e+8>>1];g=q[d+20>>2];e:{if(g){b=n[g](d,a,h,f)|0;break e}b=b-a|0;b=b>>>0>f>>>0?f:b;Qa(h,a+q[d>>2]|0,b)}q[d+8>>2]=a+b;if(b>>>0>>0){break c}d=s[e+8>>1];break a}a=q[e+16>>2];if(!a){break b}n[q[i+8>>2]](i,a);break b}q[e+16>>2]=0}q[e+16>>2]=0;p[e+8>>1]=0;d=0}p[c>>1]=s[e>>1];p[c+2>>1]=s[e+2>>1];p[c+4>>1]=s[e+4>>1];p[c+6>>1]=s[e+6>>1];a=q[e+16>>2];q[c+12>>2]=d&65535;q[c+8>>2]=a}return j}function SJ(a,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=-4;a:{if(b>>>0>=c>>>0){break a}e=-1;if((c-b|0)<2){break a}h=a+72|0;e=b;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{f=r[e|0];if(f+ -216>>>0<4){break j}g=2;if(f){break c}f=r[r[e+1|0]+h|0]+ -2|0;if(f>>>0>19){break c}switch(f-1|0){case 0:break i;case 4:break j;case 1:case 2:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 3:break d;case 18:break e;case 6:break f;case 7:break g;default:break h}}g=4;break c}if((b|0)!=(e|0)){break b}return fi(a,b+2|0,c,d)|0}q[d>>2]=e;return 0}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 7}if((b|0)!=(e|0)){break b}a=b+2|0;e=-3;if((c-a|0)<2){break a}if(!r[a|0]){a=r[r[b+3|0]+h|0]==10?b+4|0:a}q[d>>2]=a;return 7}if((b|0)!=(e|0)){break b}q[d>>2]=b+2;return 39}g=3}e=e+g|0;if((c-e|0)>1){continue}}break}q[d>>2]=e;e=6}return e|0}function vm(a,b,c,d,e,f,g){var h=0,i=x(0),j=0,k=x(0),l=0;h=Da-16|0;Da=h;c=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?((c<<2)+a|0)+2|0:271312;j=r[c|0]<<8|r[c+1|0];a:{if((r[e+1|0]|r[e|0]<<8)>>>0<=d>>>0|j>>>0>=f>>>0){break a}d=w(d,f)+j|0;d=(d|0)<0?271312:((d<<1)+e|0)+2|0;d=r[d|0]<<8|r[d+1|0];if(!d){break a}f=a;a=r[c+3|0]|r[c+2|0]<<8;f=a?f+a|0:271312;c=q[b+96>>2];a=q[c+72>>2];if(a-g>>>0>=2){rb(c,g,a);a=q[c+72>>2]}Qi(f,b,q[q[c+88>>2]+w(a,20)>>2],h+12|0,h+8|0);Qi(d?d+e|0:271312,b,q[q[c+88>>2]+w(g,20)>>2],h+4|0,h);a=q[c+96>>2]+w(q[c+72>>2],20)|0;b=a;i=x(J(x(x(u[h+4>>2]-u[h+12>>2]))));b:{if(x(y(i))>2]=d;i=u[h+8>>2];k=u[h>>2];l=1;o[a+18|0]=1;b=a;i=x(J(x(x(k-i))));c:{if(x(y(i))>2]=d;p[a+16>>1]=g-q[c+72>>2];q[c+32>>2]=q[c+32>>2]|8;q[c+72>>2]=q[c+72>>2]+1}Da=h+16|0;return l}function tq(a,b,c,d){var e=0,f=0,g=0;a:{b:{if((c-b|0)<1){break b}if(r[b|0]!=45){q[d>>2]=b;return 0}b=b+1|0;f=c-b|0;if((f|0)<1){break b}g=a+72|0;while(1){c:{d:{e=b;b=r[r[e|0]+g|0];if(b>>>0>27){break d}e:{switch(b-2|0){case 3:if((f|0)<2){return-2}if(n[q[a+352>>2]](a,e)){break a}b=e+2|0;break c;case 4:if((f|0)<3){return-2}if(n[q[a+356>>2]](a,e)){break a}b=e+3|0;break c;case 5:if((f|0)<4){return-2}if(n[q[a+360>>2]](a,e)){break a}b=e+4|0;break c;case 0:case 1:case 2: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:break d;case 25:break e;default:break a}}b=e+1|0;if((c-b|0)<1){break b}if(r[b|0]!=45){break c}a=e+2|0;if((c-a|0)<1){break b}if(r[e+2|0]!=62){q[d>>2]=a;return 0}q[d>>2]=e+3;return 13}b=e+1|0}f=c-b|0;if((f|0)>0){continue}break}}return-1}q[d>>2]=e;return 0}function VP(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=q[b+712>>2];Na(a+12|0,0,768);q[a+8>>2]=d;q[a+4>>2]=b;o[a+65|0]=1;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);q[a+68>>2]=0;q[a+72>>2]=0;if(!c|!e){break a}b=q[q[c+40>>2]>>2];if(!b){break a}q[a+72>>2]=q[b>>2];q[a+68>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72618];q[a+76>>2]=q[72617];q[a+80>>2]=b;b=q[72620];q[a+84>>2]=q[72619];q[a+88>>2]=b;b=q[72622];q[a+92>>2]=q[72621];q[a+96>>2]=b;b=q[72624];q[a+100>>2]=q[72623];q[a+104>>2]=b;q[a+108>>2]=i;b=q[i+120>>2];q[a+732>>2]=b;q[a+748>>2]=q[i+1352>>2];b:{if(q[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}q[a+776>>2]=h;q[a+772>>2]=g;q[a+760>>2]=f;q[a+740>>2]=j}function Gu(a,b,c){var d=0;c=c+ -1|0;a:{if(c>>>0>8){break a}b:{switch(c-1|0){default:return gY(a,b);case 0:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return Pu(a,b)}return Ou(a,b);case 1:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Nu(a,b);case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Lu(a,b);case 3:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Ku(a,b);case 4:if((r[a+1|0]|r[a|0]<<8)!=1){break a}return Ju(a,b);case 5:c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break a}c:{switch(c-1|0){default:return Am(a,b);case 0:return ym(a,b);case 1:break c}}return xm(a,b);case 6:return Hu(a,b);case 7:break b}}if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=Gu(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8)}return d}function Zs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;i=q[a+24>>2];e=q[a+44>>2];if(!(e|q[a+76>>2]?(e|0)!=1:0)){if(q[a+4>>2]){if((c|0)==-1){c=Wa(b)}d=(d|0)==-1?c:d;e=(d>>>2|0)+q[a+76>>2]|0;if(!(!e|t[a+84>>2]>e>>>0)){pe(a,e)}e=b;a:{if((d|0)<1){g=e;break a}j=d+e|0;while(1){g=Ys(e,j,f+8|0,i);k=q[f+8>>2];d=q[a+76>>2];h=d+1|0;b:{c:{if(h>>>0>>0){d=-1;break c}if(t[a+84>>2]>h>>>0){break c}if(!pe(a,h)){break b}d=q[a+76>>2]}d=q[a+88>>2]+w(d,20)|0;q[d+8>>2]=0;q[d+12>>2]=0;q[d+4>>2]=0;q[d>>2]=k;q[d+8>>2]=e-b;q[d+16>>2]=0;q[a+76>>2]=q[a+76>>2]+1}e=g;if(e>>>0>>0){continue}break}}q[a+148>>2]=0;b=b+c|0;d:{if(g>>>0>=b>>>0){break d}while(1){g=Ys(g,b,f+4|0,i);c=q[f+4>>2];d=q[a+148>>2];q[a+148>>2]=d+1;q[((d<<2)+a|0)+124>>2]=c;if(g>>>0>=b>>>0){break d}if(t[a+148>>2]<5){continue}break}}q[a+44>>2]=1}Da=f+16|0;return}I(273002,272586,1517,273133);F()}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;e=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;c=e+2|0;d=r[e+3|0]|r[c|0]<<8?e+4|0:271312;d=r[d|0]<<8|r[d+1|0];Vb(d?d+a|0:271312,q[b+8>>2]);f=r[e+3|0];h=r[c|0];g=c+(f<<1|h<<9)|0;j=r[g+3|0];c=g+2|0;k=r[c|0];i=(j<<1|k<<9)+c|0;m=r[i+2|0];n=r[i+3|0];d=r[a+3|0]|r[a+2|0]<<8;if(d){o=q[b+4>>2];c=a+4|0;while(1){l=r[c+1|0]|r[c|0]<<8;Vb(l?l+a|0:271312,o);c=c+2|0;d=d+ -1|0;if(d){continue}break}}d=k<<8|j;c=f|h<<8;a:{if(!c){break a}f=c+ -1|0;if(!f){break a}c=e+6|0;e=q[b+8>>2];while(1){h=r[c+1|0]|r[c|0]<<8;Vb(h?h+a|0:271312,e);c=c+2|0;f=f+ -1|0;if(f){continue}break}}if(d){c=g+4|0;e=q[b+12>>2];while(1){g=r[c+1|0]|r[c|0]<<8;Vb(g?g+a|0:271312,e);c=c+2|0;d=d+ -1|0;if(d){continue}break}}a=m<<8|n;if(a){d=i+4|0;c=0;while(1){e=d+(c<<2)|0;Ui(b,r[e+2|0]<<8|r[e+3|0]);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function oj(a,b,c){c=c+ -1|0;if(c>>>0<=2){a:{switch(c-1|0){default:q[b>>2]=q[a+4>>2];return;case 0:q[b>>2]=q[a+4>>2]+q[a+12>>2];q[b+4>>2]=q[a+8>>2]+q[a+12>>2];return;case 1:break a}}q[b>>2]=q[a+4>>2]+(q[a+12>>2]+(q[a+20>>2]+q[a+28>>2]|0)|0);q[b+4>>2]=q[a+8>>2]+(q[a+12>>2]+(q[a+24>>2]+q[a+28>>2]|0)|0);q[b+8>>2]=q[a+16>>2]+(q[a+20>>2]+(q[a+24>>2]+q[a+28>>2]|0)|0);return}q[b>>2]=q[a+4>>2]+(q[a+12>>2]+(q[a+20>>2]+(q[a+28>>2]+(q[a+36>>2]+(q[a+44>>2]+(q[a+52>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+4>>2]=q[a+8>>2]+(q[a+12>>2]+(q[a+24>>2]+(q[a+28>>2]+(q[a+40>>2]+(q[a+44>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+8>>2]=q[a+16>>2]+(q[a+20>>2]+(q[a+24>>2]+(q[a+28>>2]+(q[a+48>>2]+(q[a+52>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0);q[b+12>>2]=q[a+32>>2]+(q[a+36>>2]+(q[a+40>>2]+(q[a+44>>2]+(q[a+48>>2]+(q[a+52>>2]+(q[a+56>>2]+q[a+60>>2]|0)|0)|0)|0)|0)|0)}function vv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(i>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}c=c+d|0;b:{if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0<=3){break b}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break b}q[h+12>>2]=c;if(YZ(c+4|0,b,h+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;e=1}Da=h+16|0;return e}function jm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);f=b+1|0;if(j>>>0>=f>>>0){c=r[a+4|0];if(c){i=c;h=(w(c,f)+a|0)+5|0;d=h;while(1){e=r[d|0]|e<<8;d=d+1|0;i=i+ -1|0;if(i){continue}break}if(j>>>0>>0){break a}f=c;i=(w(b,c)+a|0)+5|0;d=i;while(1){g=r[d|0]|g<<8;d=d+1|0;f=f+ -1|0;if(f){continue}break}d=0;b=0;if(e>>>0>>0){break b}g=c;e=h;while(1){d=r[e|0]|d<<8;e=e+1|0;g=g+ -1|0;if(g){continue}break}e=(w(c,j)+a|0)+5|0;g=0;f=c;while(1){g=r[e|0]|g<<8;e=e+1|0;f=f+ -1|0;if(f){continue}break}a=d>>>0>g>>>0;d=0;b=0;if(a){break b}e=c;while(1){d=r[h|0]|d<<8;h=h+1|0;e=e+ -1|0;if(e){continue}break}h=0;while(1){h=r[i|0]|h<<8;i=i+1|0;c=c+ -1|0;if(c){continue}break}break c}if(j>>>0>=b>>>0){break c}break a}break a}b=d-h|0}return b}I(242971,242986,251,243008);F()}function AZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}if(i>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break a}c=c+d|0;b:{if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0<=3){break b}q[b+12>>2]=g+ -3;if((r[c+1|0]|r[c|0]<<8)!=1|(g|0)<3){break b}q[h+12>>2]=c;if(yZ(c+4|0,b,h+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;e=1}Da=h+16|0;return e}function rM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Sa(32776);f=0;a:{if(!e){break a}f=Na(e,0,32776)}if(f){q[f>>2]=q[f>>2]+40;b:{if(!bl(f,b)){break b}Dd(f,d,q[d+4>>2]<<2);if(q[d+4>>2]>=1){while(1){if(!bl(f,q[q[d+12>>2]+(g<<2)>>2])){break b}g=g+1|0;if((g|0)>2]){continue}break}}if(!AM(f,a)){break b}e=Sa(q[f>>2]);if(!e){break b}e=Na(e,0,q[f>>2]);q[f+8>>2]=e;q[e>>2]=-66913275;q[e+4>>2]=7;q[e+8>>2]=q[f>>2];i=e,j=qM(q[c- -64>>2]),q[i+28>>2]=j;g=e;if(Kb(442131)){c=0;h=0}else{h=q[c+68>>2];c=h;h=c>>31}q[g+32>>2]=c;q[g+36>>2]=h;c:{b=al(f,b);if(!b){break c}q[e+12>>2]=b-e;b=Cd(f,d);if(!b){break c}q[e+16>>2]=b-e;c=q[d+4>>2];q[e+20>>2]=c;if((c|0)>=1){g=0;while(1){c=g<<2;h=al(f,q[c+q[d+12>>2]>>2]);if(!h){break c}q[b+c>>2]=h-b;g=g+1|0;if((g|0)>2]){continue}break}}a=zM(f,a);if(!a){break c}q[e+24>>2]=a-e;nr(f);br(e,0);return e}La(e)}nr(f)}return 0}function km(a,b){var c=0,d=0,e=0,f=0,g=0;g=q[a+4>>2];e=q[a>>2];a:{if((e|0)<0){break a}c=g;d=c+q[b+4>>2]|0;d=(d|0)>0?d:0;if(e>>>0>>0){c=e;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=d>>>0){continue}break}b:{if(!(c>>>0>>0|c>>>0>268435454)){e=db(q[a+8>>2],c<<4);if(e){break b}}q[a>>2]=-1;break a}q[a>>2]=c;q[a+8>>2]=e;c=q[a+4>>2]}if(d>>>0>c>>>0){Na(q[a+8>>2]+(c<<4)|0,0,d-c<<4)}q[a+4>>2]=d}c=q[b+4>>2];if(c){e=0;while(1){c:{if(c>>>0<=e>>>0){c=q[67831];q[160746]=q[67830];q[160747]=c;c=q[67829];q[160744]=q[67828];q[160745]=c;c=642976;break c}c=q[b>>2]+(e<<4)|0}d=e+g|0;d:{if(t[a+4>>2]<=d>>>0){d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;d=642976;break d}d=q[a+8>>2]+(d<<4)|0}f=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=f;f=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=f;e=e+1|0;c=q[b+4>>2];if(e>>>0>>0){continue}break}}}function Tz(a,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=q[b>>2];if((e|0)==-1){return 0}d=q[a+16>>2];c=r[d+8204|0]|r[d+8205|0]<<8|(r[d+8206|0]<<16|r[d+8207|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}j=q[a>>2];c=e+1|0;d=d+8208|0;while(1){a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=c>>>0>>0?g:c;c=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){c=a;break c}c=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);while(1){c=a-g|0;if(i>>>0>(c^-1)>>>0){c=a;break c}e=c+i|0;if(!e){if((a|0)==-1){break b}e=a>>>0>>0;c=a+1|0;a=c;if(e){continue}break c}break}c=a;if(e>>>0>2]){break a}}d=d+12|0;f=f+ -1|0;if(f){continue}break}}e=0;a=0}q[b>>2]=a;return e|0}function eM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(q[b>>2]==-1){break b}c=q[a+4>>2];if(!c){break b}c=q[(c+((b>>>0)%67<<2)|0)+1304>>2];if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}b=q[c+8>>2];if(!b){break a}}c=Cd(a,b);if(!c){break a}q[c>>2]=-1;q[c+4>>2]=q[b+4>>2];c:{if(q[b+4>>2]){g=Cd(a,q[b+8>>2]+b|0);if(!g){break a}q[c+8>>2]=g-c;i=q[b+12>>2]+b|0;j=Cd(a,i);if(!i){break a}q[c+12>>2]=j-c;if(q[b+4>>2]<1){break c}while(1){d=q[b+8>>2]+b|0;k=h<<2;d=q[d+k>>2]+d|0;e=Cd(a,d);if(!e){return 0}f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;f=q[d+28>>2];q[e+24>>2]=q[d+24>>2];q[e+28>>2]=f;f=q[d+20>>2];q[e+16>>2]=q[d+16>>2];q[e+20>>2]=f;f=q[d+12>>2];q[e+8>>2]=q[d+8>>2];q[e+12>>2]=f;q[g+k>>2]=e-g;d=h<<1;p[d+j>>1]=s[d+i>>1];h=h+1|0;if((h|0)>2]){continue}break}break c}q[c+8>>2]=0;q[c+12>>2]=0}d=c}return d}function jl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=e-c|0;i=d-b|0;if(!(h|i)){return 1}f=q[a+36>>2];g=q[a+28>>2];j=g+1|0;a:{if(f>>>0>=j>>>0){f=q[a+20>>2];break a}f=f<<1;f=f>>>0>64?f:64;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=db(q[a+20>>2],w(g,40));if(!f){return 0}q[a+36>>2]=g;q[a+20>>2]=f;g=q[a+28>>2];j=g+1|0}q[a+28>>2]=j;a=w(g,40)+f|0;f=(e|0)<(c|0);q[a+36>>2]=f?c:e;q[a+32>>2]=f?e:c;e=(d|0)<(b|0);q[a+28>>2]=e?b:d;q[a+24>>2]=e?d:b;d=(i|0)<0?62:60;q[a+20>>2]=(h|0)>-1?d^3:d;d=i>>31;d=d+i^d;e=h>>31;e=e+h^e;e=(d|0)>(e|0)?d:e;f=z(e)^31;d=30-f|0;q[a+12>>2]=0-i<>2]=h<>31,b,b>>31);g=Ea;d=1<>31,c,c>>31);k=a,l=V$(d,d>>31,b-c|0,g-(Ea+(b>>>0>>0)|0)|0),q[k>>2]=l;q[a+4>>2]=Ea;b=a;d=e<<31-f;V$(d,0,d,0);V$(Ea,0,1395864371,0);c=Ea;V$(d,0,-1144608785,0);d=Ea;a=(c-d|0)+ -2012192179|0;q[b+16>>2]=a;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=0;g=q[a>>2];f=Tc(g,c,4359);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function ye(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=1;a:{if(!a){break a}i=q[a+8>>2]+a|0;f=q[a>>2]+ -1|0;b:{c:{if((f|0)<0){a=0;break c}while(1){a=e+f>>1;j=q[(a<<3)+i>>2]-b|0;if(!j){break b}g=(j|0)<0;e=g?a+1|0:e;f=g?f:a+ -1|0;if((e|0)<=(f|0)){continue}break}e=j>>>31|0}a=a+e^-1}if(!i|(a|0)<0){break a}h=3;b=(a<<3)+i|0;a=q[b+4>>2];a=a&1?(a&-2)+b|0:a;if(!a){break a}while(1){if(!c){d:{e:{c=q[a+8>>2];e=c+ -3|0;if(e>>>0>6){break e}b=a+8|0;f:{switch(e-1|0){default:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 2:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 4:a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d;case 5:break f;case 0:case 1:case 3:break e}}a=q[a+16>>2];a=a&1?(a&-2)+b|0:a;break d}b=q[a+20>>2];g=q[a+12>>2];a=q[a+16>>2]}q[d+12>>2]=b;q[d+8>>2]=a;q[d+4>>2]=g;q[d>>2]=c;h=0;break a}c=c+ -1|0;b=a;a=q[a>>2];a=a&1?b+(a&-2)|0:a;if(a){continue}break}}return h}function GF(a,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=q[a>>2];f=Tc(g,c,4305);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function AF(a,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=q[a>>2];f=Tc(g,c,4357);if(!f){return 64}a:{b=q[a>>2];a=n[q[b+4>>2]](b,40)|0;if(!a){c=64;break a}o[a+24|0]=0;o[a+25|0]=0;o[a+26|0]=0;o[a+27|0]=0;o[a+28|0]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;o[a+4|0]=0;o[a+5|0]=0;o[a+6|0]=0;o[a+7|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;o[a+37|0]=0;o[a+38|0]=0;o[a+39|0]=0;o[a+16|0]=0;o[a+17|0]=0;o[a+18|0]=0;o[a+19|0]=0;o[a+20|0]=0;o[a+21|0]=0;o[a+22|0]=0;o[a+23|0]=0;o[a+8|0]=0;o[a+9|0]=0;o[a+10|0]=0;o[a+11|0]=0;o[a+12|0]=0;o[a+13|0]=0;o[a+14|0]=0;o[a+15|0]=0;q[a+28>>2]=b;c=Vd(a,f);q[a+16>>2]=f;if(c){n[q[b+8>>2]](b,a);break a}q[a+28>>2]=b;c=kd(a,333319,e);b=q[a+28>>2];e=q[a+24>>2];if(e){n[e](a)}n[q[b+8>>2]](b,a);if(c){break a}q[d>>2]=f;return 0}n[q[g+8>>2]](g,f);return c|0}function Or(a){var b=0,c=0,d=0,e=0,f=0;c=Da-48|0;Da=c;a:{b:{if(Zr(c+44|0)){q[c+16>>2]=355567;hb(a,0,355557,c+16|0);break b}XF(q[c+44>>2],c+40|0,c+36|0,c+32|0);q[c>>2]=q[c+40>>2];q[c+4>>2]=q[c+36>>2];q[c+8>>2]=q[c+32>>2];hb(a,6,355584,c);b=ab(1,968);if(!b){Ci(q[c+44>>2]);break b}q[b>>2]=a;d=q[c+44>>2];q[b+764>>2]=437752;q[b+4>>2]=d;c:{if(!oN(b+768|0,q[109439])){Ci(q[c+44>>2]);break c}e=b,f=rO(),q[e+736>>2]=f;e=b,f=oO(),q[e+744>>2]=f;e=b,f=nO(),q[e+748>>2]=f;d=qO();q[b+760>>2]=67108864;q[b+752>>2]=1e4;q[b+756>>2]=134217728;q[b+740>>2]=d;q[b+728>>2]=16;q[b+720>>2]=1024;q[b+724>>2]=64;q[b+708>>2]=0;e=b,f=ab(16,84),q[e+704>>2]=f;e=b,f=ab(1024,336),q[e+688>>2]=f;d=ab(64,24);q[b+96>>2]=2;q[b+32>>2]=0;q[b+36>>2]=1072693248;q[b+696>>2]=d;e=b,f=wN(),q[e+116>>2]=f;LN(a);q[b+92>>2]=1}hb(a,6,355610,0);break a}b=0;hb(a,1,355622,0)}Da=c+48|0;return b}function Ey(a,b,c,d,e){a=a|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=q[a+872>>2];if(!i){return 0}f=q[e+8>>2];a:{b:{if(f){g=q[e>>2];b=q[e+4>>2];break b}f=0;q[e+4>>2]=0;g=s[i+2>>1];if(!g){break a}g=g+ -1|0;l=q[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=w(k,6)+l|0;j=h+ -2|0;j=r[j|0]<<8|r[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(j>>>0<=b>>>0){break c}g=k+ -1|0}if((g|0)>=(f|0)){continue}break}return 0}f=0;b=r[h+2|0]|r[h+3|0]<<8;g=(b<<24|b<<8&16711680)>>>16|0;if(!g){break a}b=r[h+1|0];h=r[h|0];q[e>>2]=g;b=b<<2|h<<10;if(b+(g<<2)>>>0>t[i+20>>2]){break a}f=b+q[i+12>>2]|0;q[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}q[e+8>>2]=f+2;q[c>>2]=r[f+1|0]|r[f|0]<<8;q[e+8>>2]=f+4;b=r[f+3|0]|r[f+2|0]<<8;q[d>>2]=b;if(t[c>>2]>=t[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=s[a+660>>1]){break a}}f=1;q[e+4>>2]=q[e+4>>2]+1}return f|0}function x_(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Hv(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Hv(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function sx(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Xm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Xm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function su(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=qu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=qu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function qU(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Pt(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Pt(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(251028,251053,195,251070);F()}function pU(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Ot(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Ot(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(251028,251053,195,251070);F()}function hV(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=du(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=du(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function e_(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=yv(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=yv(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function cW(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=ou(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=ou(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function _Y(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Vu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Vu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228734,228759,195,228776);F()}function Yw(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Rm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Rm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function YS(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=wt(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=wt(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271165,271190,195,271207);F()}function Qw(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Pm(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Pm(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function NX(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Bu(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Bu(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242025,242050,195,242067);F()}function MX(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=Au(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=Au(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242025,242050,195,242067);F()}function Dx(a,b){var c=0,d=0,e=0,f=0;d=ub(b);q[a+28>>2]=d;a:{b:{c:{d:{e:{while(1){o[a+20|0]=e;e=q[d+12>>2];q[a+4>>2]=e;c=q[d+16>>2];q[a+8>>2]=c+e;if((c|0)<=-1){break a}q[a+24>>2]=0;f=a;if(c>>>0>536870910){c=1073741823}else{c=c<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[f+12>>2]=c;q[a>>2]=0;if(!e){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}d=_m(e,a);c=q[a+24>>2];f:{if(d){if(!c){break f}q[a+24>>2]=0;c=_m(e,a);d=q[a+24>>2];Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(d){break b}if(c){break e}break b}if(r[a+20|0]|!c){break d}c=rc(b);q[a+4>>2]=c;q[a+8>>2]=c+q[b+16>>2];d=q[a+28>>2];e=1;if(c){continue}break c}break}Pa(q[a+28>>2]);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}if(q[b+4>>2]){q[b+4>>2]=0}return b}d=q[a+28>>2]}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(228416,228441,195,228458);F()}function Bg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+532>>2];if(c){h=q[c+4>>2];g=q[c>>2];f=q[a+100>>2];b=f;d=q[c+24>>2];if(d){n[q[b+8>>2]](b,d)}q[c+24>>2]=0;if(g>>>0>=2){Na(c+28|0,0,(g<<2)+ -4|0)}b=f;d=q[c+216>>2];if(d){n[q[b+8>>2]](b,d)}q[c+216>>2]=0;d=q[c+148>>2];if(d){n[q[b+8>>2]](b,d)}q[c+148>>2]=0;d=q[c+288>>2];if(d){n[q[b+8>>2]](b,d)}q[c+288>>2]=0;if(g){while(1){b=(e<<2)+c|0;q[b+284>>2]=0;q[b+144>>2]=0;q[b+212>>2]=0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=q[c+136>>2];if(b){n[q[f+8>>2]](f,b)}q[c+136>>2]=0;q[c+140>>2]=0;if(h){b=0;while(1){g=(b<<2)+c|0;e=q[g+8>>2];if(e){n[q[f+8>>2]](f,e)}e=0;q[g+8>>2]=0;b=b+1|0;if((h|0)!=(b|0)){continue}break}while(1){b=w(e,12)+c|0;g=b;d=q[b+92>>2];if(d){n[q[f+8>>2]](f,d)}o[b+88|0]=0;q[g+92>>2]=0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=q[a+532>>2];if(b){n[q[f+8>>2]](f,b)}q[a+532>>2]=0}}function Pt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(d|0)<1|c>>>0<16){break a}c=d+ -2|0;q[b+12>>2]=c;if((r[a+11|0]|r[a+10|0]<<8)!=20|(d|0)<2){break a}e=r[a+9|0];h=r[a+8|0];if((r[a+15|0]|r[a+14|0]<<8)>>>0<(e<<2|h<<10)+4>>>0){break a}e=e|h<<8;if(e){c=r[a+5|0]|r[a+4|0]<<8;c=c?c+a|0:271312;if(g>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=d+ -3|0;q[b+12>>2]=c;if((d|0)<3){break a}}e=r[a+13|0]|r[a+12|0]<<8;d=0;b:{if(!e){break b}d=r[a+5|0]|r[a+4|0]<<8;d=w(r[a+9|0]|r[a+8|0]<<8,20)+(d?d+a|0:271312)|0}a=r[a+15|0]|r[a+14|0]<<8;if(4294967295/(a>>>0)>>>0<=e>>>0?a:0){break a}a=w(a,e);if(!a){return 1}if(f>>>0>>0|g>>>0>d>>>0|f-d>>>0>>0){break a}q[b+12>>2]=c+ -1;i=(c|0)>0}return i}function ni(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=xe(b);a:{b:{if((d|0)<=-1){d=d^-1;break b}c=r[d+485054|0];e=c>>>5|0;if(e>>>0>=t[a+4>>2]){break b}if(q[((e<<2)+a|0)+8>>2]>>>(c&31)&1){break a}}c=2;c:{if((d|0)>=1){f=d;while(1){e=f+ -1|0;g=Td(b,(e<<5)+449308|0);if((g|0)!=2){i=g;j=c;h=r[e+485054|0];k=h>>>5|0;if(k>>>0>2]){h=q[((k<<2)+a|0)+8>>2]>>>(h&31)&1}else{h=0}c=g>>>0>>0?h?i:j:c;g=(f|0)>1;f=e;if(g){continue}}break}if((d|0)>245){break c}}while(1){f=Td(b,(d<<5)+449308|0);if((f|0)==2){break c}i=f;j=c;g=r[d+485054|0];e=g>>>5|0;if(e>>>0>2]){e=q[((e<<2)+a|0)+8>>2]>>>(g&31)&1}else{e=0}c=f>>>0>>0?e?i:j:c;d=d+1|0;if((d|0)!=246){continue}break}}a=q[a>>2];if(!a){return c}a=Ic(a);if(!a){return c}f=0;d:{if(!c){break d}while(1){d=Qb(a);if(!d){f=c;break d}d=Td(b,d);c=d>>>0>>0?d:c;if(c){continue}break}}Zb(a)}return f}function dp(a){var b=0,c=0,d=0,f=0,g=0,i=0,j=0,k=0;h(+a);d=e(1)|0;j=e(0)|0;g=d>>>31|0;a:{b:{c:{d:{f=a;e:{f:{c=d;d=c&2147483647;g:{if(d>>>0>=1082532651){c=c&2147483647;if((c|0)==2146435072&j>>>0>0|c>>>0>2146435072){return a}if(!!(a>709.782712893384)){return a*8.98846567431158e+307}if(!(a<-745.1332191019411)|a<-708.3964185322641^1){break g}break b}if(d>>>0<1071001155){break d}if(d>>>0<1072734898){break f}}a=a*1.4426950408889634+v[(g<<3)+636944>>3];if(y(a)<2147483648){c=~~a;break e}c=-2147483648;break e}c=(g^1)-g|0}b=+(c|0);a=f+b*-.6931471803691238;i=b*1.9082149292705877e-10;f=a-i;break c}if(d>>>0<=1043333120){break a}c=0;f=a}b=f;k=a;b=b*b;a=f-b*(b*(b*(b*(b*4.1381367970572385e-8+ -16533902205465252e-22)+6613756321437934e-20)+ -.0027777777777015593)+.16666666666666602);b=k+(f*a/(2-a)-i)+1;if(!c){break b}b=Kd(b,c)}return b}return a+1}function Ar(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,r=0,s=0,t=0,u=0,w=0,x=0,y=0;a:{if(b){d=q[b>>2];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return}e=q[b+8>>2];g=Sa(d<<3);q[a+16>>2]=g;h=Sa(e);q[a+20>>2]=h;if(!(h?g:0)){La(g);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+12>>2]=e;q[a+4>>2]=d;d=0;q[a+8>>2]=0;q[a>>2]=0;e=q[b>>2];if(e){l=q[b+16>>2];m=v[c- -64>>3];n=v[c+56>>3];o=v[c+40>>3];p=v[c+32>>3];r=v[c+48>>3];s=v[c+24>>3];t=v[c+16>>3];u=v[c+8>>3];w=v[c>>3];while(1){c=d<<3;k=c+g|0;c=c+l|0;i=+q[c>>2];j=+q[c+4>>2];f=m+(r*i+n*j);f=1/(f>.1?f:.1);x=k,y=gc(f*(o+(s*i+p*j))),q[x+4>>2]=y;x=k,y=gc((t+(w*i+u*j))*f),q[x>>2]=y;d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(h,c,b);q[a+8>>2]=b;q[a>>2]=e}function A$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[b+164|0];if((c&3)==3){if(!(!(c&4)|!(c&8))){f=q[a+16>>2];d=f;a=q[d+132>>2];a:{if(a){break a}while(1){a=q[f+48>>2];if(!a){a=271312;break a}c=ab(1,4);if(c){Xi(c,a)}e=q[d+132>>2];a=c?c:271312;q[d+132>>2]=e?e:a;if(!e){break a}if(!(!c|!a)){c=q[a>>2];Pa(c?c:271312);La(a)}a=q[d+132>>2];if(!a){continue}break}}f=q[b+76>>2];if(f){a=q[a>>2];a=a?a:271312;c=t[a+16>>2]<12?271312:q[a+12>>2];a=0;while(1){e=r[c+5|0]|r[c+4|0]<<8;d=e?e+c|0:271312;e=w(a,20);h=e+q[b+88>>2]|0;i=q[h>>2];d=td(d,i)+ -1|0;g=0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:g=2;break b;case 0:g=4;break b;case 1:break c}}d=r[c+11|0]|r[c+10|0]<<8;g=td(d?d+c|0:271312,i)<<8|8}d=g;p[h+12>>1]=d;o[(e+q[b+88>>2]|0)+14|0]=0;o[(e+q[b+88>>2]|0)+15|0]=0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}return}}I(228890,228864,170,228879);F()}function DY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;i=1;if((f|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break b}c:{d:{c=c+h|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break d}q[b+12>>2]=f+ -3;if((f|0)<3){break d}h=r[c+1|0]|r[c|0]<<8;if(!h){break b}j=g;g=c+2|0;if(j>>>0>g>>>0|e>>>0>>0|e-g>>>0>>0){break d}q[b+12>>2]=f+ -4;if((f|0)<4){break d}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}e=0;while(1){if(!Ru((c+(e<<1)|0)+2|0,b,c,d)){break d}e=e+1|0;if((f|0)!=(e|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;i=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}i=1}return i}return 0}function FZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}d=c+2|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0<2){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}d=r[c+3|0]|r[c+2|0]<<8;if(!d){break b}d=d+ -1|0;if(d>>>0>2147483646){break c}if(!d){break b}c=c+4|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function $K(a,b,c,d,e){a=a|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;g=Da-16|0;Da=g;f=q[b>>2];a:{if((f|0)==(c|0)){break a}k=a+72|0;l=a+884|0;while(1){m=b;i=(r[f|0]<<2)+l|0;h=o[i|0];b:{if(!h){h=0;f=n[q[a+364>>2]](q[a+368>>2],f)|0;c:{if((f|0)<0){break c}if((f|0)<=127){o[g+12|0]=f;h=1;break c}if((f|0)<=2047){o[g+13|0]=f&63|128;o[g+12|0]=f>>>6|192;h=2;break c}if((f|0)<=65535){o[g+14|0]=f&63|128;o[g+12|0]=f>>>12|224;o[g+13|0]=f>>>6&63|128;h=3;break c}if((f|0)>1114111){break c}o[g+15|0]=f&63|128;o[g+12|0]=f>>>18|240;o[g+14|0]=f>>>6&63|128;o[g+13|0]=f>>>12&63|128;h=4}if((h|0)>(e-q[d>>2]|0)){j=2;break a}i=g+12|0;f=q[b>>2];f=(r[r[f|0]+k|0]+f|0)+ -3|0;break b}if((e-q[d>>2]|0)<(h|0)){j=2;break a}i=i+1|0;f=f+1|0}q[m>>2]=f;Qa(q[d>>2],i,h);q[d>>2]=q[d>>2]+h;f=q[b>>2];if((f|0)!=(c|0)){continue}break}}Da=g+16|0;return j|0}function tm(a){var b=0,c=0;b=3840;c=a>>>12|0;a:{if(c>>>0>10){break a}b:{switch(c-1|0){default:if((a|0)==160){b=3851;break a}c=a+ -40|0;if(c>>>0<=23){b=s[(c<<1)+236704>>1];break a}if(a+ -176>>>0<=39){b=s[(a<<1)+236400>>1];break a}if(a+ -2304>>>0>1271){break a}b=s[(a<<1)+232224>>1];break a;case 0:if(a+ -4096>>>0<=159){b=s[(a<<1)+231184>>1];break a}if(a+ -6016>>>0<=111){b=s[(a<<1)+227664>>1];break a}if(a+ -7376>>>0>47){break a}b=s[(a<<1)+225168>>1];break a;case 1:if((a|0)==9676){b=3851;break a}if(a+ -8200>>>0<=15){b=s[(a<<1)+223616>>1];break a}if(a+ -8304>>>0>23){break a}b=s[(a<<1)+223440>>1];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:break a;case 9:break b}}c=a&-32;if((c|0)!=43616){if((c|0)!=43488){if((c|0)!=43232){break a}b=s[(a<<1)+153632>>1];break a}b=s[(a<<1)+153184>>1];break a}b=s[(a<<1)+152992>>1]}return b}function r_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!p_((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function nv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!EZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function mv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!DZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function a_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!ZZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function WY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!UY((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function PY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-32|0;Da=f;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}e=r[a+7|0];c=r[a+6|0];d=r[a+5|0];g=r[a+4|0];q[f+16>>2]=a+4;d=Z$(d|g<<8);q[f+20>>2]=d;j=f,k=(Z$(e|c<<8)+d|0)+1|0,q[j+24>>2]=k;e=0;if(!Tb(a+2|0,b,a)){break a}q[f+12>>2]=f+16;g=q[b+4>>2];d=a+8|0;if(g>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}h=r[a+9|0]|r[a+8|0]<<8;if(!h){e=1;break a}i=g;g=a+10|0;if(i>>>0>g>>>0|c>>>0>>0|c-g>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=1;c=r[a+9|0]|r[a+8|0]<<8;if(!c){break a}e=0;b:{while(1){if(!JY(((e<<1)+a|0)+10|0,b,a,f+12|0)){break b}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=1;break a}e=0}Da=f+32|0;return e}function KZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{f=q[b+4>>2];if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c:{d:{c=c+g|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break d}q[b+12>>2]=e+ -3;if((e|0)<3){break d}g=r[c+1|0]|r[c|0]<<8;if(!g){break b}i=f;f=c+2|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break d}q[b+12>>2]=e+ -4;if((e|0)<4){break d}e=r[c+1|0]|r[c|0]<<8;if(!e){break b}d=0;while(1){if(!FZ((c+(d<<1)|0)+2|0,b,c)){break d}d=d+1|0;if((e|0)!=(d|0)){continue}break}break c}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0}h=1}return h}return 0}function yS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(g>>>0>390451571){break a}d=a+4|0;i=w(g,11);if(i){if(f>>>0>>0|h>>>0>d>>>0|f-d>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}if(!g){return 1}if(h>>>0>d>>>0){break a}f=0;while(1){e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<11){break a}d=q[c>>2];e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}e=w(f,11)+a|0;if(!xS(e+7|0,b,d)){break a}if(!vS(e+11|0,b,d)){break a}f=f+1|0;if((g|0)==(f|0)){return 1}d=(w(f,11)+a|0)+4|0;if(t[b+4>>2]<=d>>>0){continue}break}}return 0}function pH(a){var b=0,c=0,d=0,i=0,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;a:{b:{c:{h(+a);i=e(1)|0;b=i;d:{if(!(n=(q=1,r=(t=e(0)>>>0<0?0:1,u=0,v=(b|0)>=0,v?t:u),s=(b|0)>0,s?q:r),o=0,p=b>>>0>1071284857,p?n:o)){if(b>>>0>=3220176896){d=-H;if(a==-1){break a}return(a-a)/0}if(b<<1>>>0<2034237440){break d}if(b>>>0>=3218259653){break c}d=0;break b}if(b>>>0<=2146435071){break c}}return a}c=a+1;h(+c);b=e(1)|0;i=e(0)|0;b=b+614242|0;l=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+ -1))/c:l;f(0,i|0);f(1,(b&1048575)+1072079006|0);a=+g()+ -1;d=+((b>>>20|0)+ -1023|0)}j=a/(a+2);k=j*j;c=k*k;m=a;a=a*(a*.5);d=d*.6931471803691238+(m+(l+d*1.9082149292705877e-10+j*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+k*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-a))}return d}function a$(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;e=q[a+4>>2];c=(e|0)!=0;f=e-c|0;q[a+4>>2]=f;i=q[a+8>>2]+c|0;q[a+8>>2]=i;e=q[a>>2];b=e+w(c,6)|0;q[a>>2]=b;a:{if(!f){break a}l=q[a+16>>2];m=q[a+12>>2];while(1){d=e;e=b;g=q[m>>2];h=q[g+24>>2];b:{if((h|0)<1){break b}d=(d+w(c,6)|0)+l|0;b=r[d|0];j=r[d+1|0];n=j|b<<8;o=b>>>1|0;p=q[g+28>>2];b=h+ -1|0;c=0;while(1){c:{d=b+c>>>1|0;h=(d<<3)+p|0;k=o-q[h>>2]|0;d:{if((k|0)<=-1){b=d+ -1|0;break d}if(!k){break c}c=d+1|0}if((c|0)<=(b|0)){continue}break b}break}d=q[h+4>>2];b=271312;e:{if(t[g+36>>2]<=d>>>0){break e}b=q[g+40>>2];if(!b){break b}b=b+(d<<6)|0}b=b+(n>>>3&56)|0;c=q[b>>2];d=q[b+4>>2];g=j&63;b=g&31;if((32<=(g&63)>>>0?d>>>b|0:((1<>>b)&1){break a}}c=(f|0)!=0;i=i+c|0;q[a+8>>2]=i;f=f-c|0;q[a+4>>2]=f;b=w(c,6)+e|0;q[a>>2]=b;if(f){continue}break}}}function EZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}c=c+d|0;c:{if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}g=c+2|0;if(h>>>0>g>>>0|e>>>0>>0|e-g>>>0<2){break c}q[b+12>>2]=f+ -4;if((f|0)<4){break c}g=1;d=r[c+1|0]|r[c|0]<<8;d=(r[c+3|0]<<2|r[c+2|0]<<10)+(d?(d<<1)+ -2|0:0)|0;if(!d){break b}c=c+4|0;if(h>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break c}q[b+12>>2]=f+ -5;if((f|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function zZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;h=1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b:{if(!d){break b}if(e>>>0>>0|g>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}c=c+d|0;c:{if(g>>>0>c>>>0|e>>>0>>0){break c}e=e-c|0;if(e>>>0<2){break c}q[b+12>>2]=f+ -3;if((f|0)<3){break c}if((r[c+1|0]|r[c|0]<<8)!=1){break b}if(e>>>0<8){break c}q[b+12>>2]=f+ -4;if((f|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function ms(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((f|0)>(c|0)){b=bb(h,f-c|0,j)+b|0;i=q[a>>2];f=f>>i;c=0;break b}i=q[a>>2];f=c>>i;c=q[a+4>>2]+ -1&c}d=0;if((e|0)<=(g|0)){g=e;d=q[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=bb(h,q[a+4>>2]-c|0,j)+b|0;break c}if(!r[a+79|0]){break c}o[a+79|0]=0;q[a+36>>2]=q[a+36>>2]+ -4}o[a+79|0]=!d;if(r[a+78|0]){q[q[a+80>>2]+20>>2]=f;o[a+78|0]=0}g=e-f|0;c=g+1|0;if(q[a+36>>2]+(c<<2)>>>0>=t[a+32>>2]){q[a+40>>2]=98;return 1}d=1;e=q[a+4>>2];d:{if((h|0)>=1){f=Sk(e,h,j);break d}d=-1;h=0-h|0;f=0-Sk(e,h,j)|0}h=(w(q[a+4>>2],h)|0)%(j|0)|0;e=q[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){q[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}}q[a+36>>2]=e}return 0}function Ez(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>t[b+160>>2]){kb(b,8)}d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!((d+ -16>>>0)/12>>>0>=f>>>0?!(d>>>0<16|d>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(f){a=0;while(1){d=a;e=r[c+8|0]|r[c+9|0]<<8|(r[c+10|0]<<16|r[c+11|0]<<24);a=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(h>>>0>a>>>0){kb(b,8)}if(!(!g|h>>>0>d>>>0)){kb(b,8)}if(!(!q[b+164>>2]|(e<<8&16711680|e<<24|(e>>>8&65280|e>>>24))>>>0>2])){kb(b,16)}c=c+12|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}}return 0}function LK(a,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:{e=c-b|0;if((e|0)>=1){b:{h=a+72|0;while(1){c:{d:{g=r[r[b|0]+h|0];if(g>>>0>8){break d}e:{switch(g-2|0){case 3:if((e|0)<2){return-2}if(n[q[a+352>>2]](a,b)){break a}b=b+2|0;break c;case 4:if((e|0)<3){return-2}if(n[q[a+356>>2]](a,b)){break a}b=b+3|0;break c;case 5:if((e|0)<4){return-2}if(n[q[a+360>>2]](a,b)){break a}b=b+4|0;break c;case 0:e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=33){b=e;break c}e=b+2|0;if((c-e|0)<1){break b}if(r[e|0]!=91){b=e;break c}b=b+3|0;f=f+1|0;break c;case 1:break d;case 2:break e;default:break a}}e=b+1|0;if((c-e|0)<1){break b}if(r[e|0]!=93){b=e;break c}e=b+2|0;if((c-e|0)<1){break b}if(r[e|0]!=62){b=e;break c}b=b+3|0;if(!f){q[d>>2]=b;return 42}f=f+ -1|0;break c}b=b+1|0}e=c-b|0;if((e|0)>0){continue}break}}}return-1}q[d>>2]=b;return 0}function F_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da-16|0;Da=d;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;c=0;a:{if(f>>>0>2){break a}b:{switch(f-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;f=r[c+1|0];c=r[c|0];e=q[57269];q[d+8>>2]=q[57268];q[d+12>>2]=e;e=q[57267];q[d>>2]=q[57266];q[d+4>>2]=e;e=a;a=f|c<<8;c=Iv(a?e+a|0:271312,b,d);break a;case 0:c=r[a+5|0];f=r[a+4|0];e=r[a+9|0];i=r[a+8|0];h=r[a+7|0]|r[a+6|0]<<8;h=h?h+a|0:271312;g=td(h,q[q[b+4>>2]>>2]);g=(r[a+11|0]|r[a+10|0]<<8)>>>0>g>>>0?((g<<1)+a|0)+12|0:271312;j=r[g+1|0];g=r[g|0];e=e|i<<8;q[d+12>>2]=e?e+a|0:271312;q[d+8>>2]=h;c=c|f<<8;q[d+4>>2]=c?c+a|0:271312;q[d>>2]=434;c=a;a=g<<8|j;c=Iv(a?c+a|0:271312,b,d);break a;case 1:break b}}c=A_(a,b)}Da=d+16|0;return c}function JC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=q[a+16>>2];c=161;a:{if(t[a+20>>2]>>0){break a}f=q[a+32>>2];b:{c:{b=q[b>>2];d=r[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,b,0,0)>>16;break b}b=((r[b+3|0]|(r[b+2|0]<<8|r[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;c=d+ -28|0;if(c>>>0<=1){if(c-1){c=3;if(t[a+8>>2]<=b+2>>>0){break a}b=(r[b+2|0]|r[e|0]<<8)<<16>>16;break b}c=3;if(t[a+8>>2]<=b+4>>>0){break a}b=r[b+1|0]|r[b+2|0]<<8|(r[b+3|0]<<16|r[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}b=q[a+8>>2];if(d>>>0<=250){c=3;if(b>>>0<=e>>>0){break a}b=(r[e|0]|d<<8)+ -63124|0;break b}c=3;if(b>>>0<=e>>>0){break a}b=64148-(r[e|0]|d<<8)|0}c=3;if(b+ -2>>>0>14){break a}p[f+176>>1]=b;c=(q[a+20>>2]-q[a+16>>2]>>>2|0)+ -4|0;p[f+178>>1]=c;p[a+38>>1]=c;p[a+36>>1]=b;c=0}return c|0}function tv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}e=a+2|0;if(d>>>0>e>>>0|g>>>0>>0|g-e>>>0<2){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}e=r[a+3|0]|r[a+2|0]<<8;if(e){i=d;d=a+4|0;if(i>>>0>d>>>0|g>>>0>>0|g-d>>>0>>0){break a}q[b+12>>2]=h+ -3;if((h|0)<3){break a}}d=r[a+1|0]|r[a|0]<<8;b:{if(!d){break b}q[f+12>>2]=c?q[c>>2]:0;if(!sv(a,b,a,f+12|0)){break a}if(!c|(r[a+1|0]|r[a|0]<<8)|q[c>>2]!=1936292453){break b}e=q[c+4>>2];if(!e|e>>>0>=a>>>0){break b}d=d+(e-a|0)|0;if(d>>>0>65535){break b}e=q[b+24>>2];if(e>>>0>31){break b}q[b+24>>2]=e+1;if(!r[b+20|0]){break b}o[a+1|0]=d;o[a|0]=(d&65280)>>>8;q[f+8>>2]=q[c>>2];if(!sv(a,b,a,f+8|0)){break a}}j=1}Da=f+16|0;return j}function sd(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;g=a+136|0;a:{if(t[Ac(g)+4>>2]<=b>>>0){break a}q[f+16>>2]=d;q[f+12>>2]=c;q[f+8>>2]=a;q[f+24>>2]=0;o[f+20|0]=(e|0)!=0;a=271312;e=q[Ac(g)>>2];e=e?e:271312;e=t[e+16>>2]<10?271312:q[e+12>>2];h=r[e+9|0]|r[e+8|0]<<8;e=h?e+h|0:271312;if((r[e|0]<<8|r[e+1|0])>>>0>b>>>0){a=e+(b<<1)|0;a=r[a+2|0]<<8|r[a+3|0];a=a?a+e|0:271312}e=Ac(g);if(!d){break a}d=q[e+8>>2];e=d+w(b,24)|0;c=q[c>>2];if(!(q[e>>2]>>>(c>>>4&31)&1)|!(q[e+4>>2]>>>(c&31)&1)|!(q[(d+w(b,24)|0)+8>>2]>>>(c>>>9&31)&1)){break a}d=r[a+5|0];e=r[a+4|0];c=d|e<<8;if(!c){break a}g=r[a+1|0]|r[a|0]<<8;h=a+4|0;b=0;while(1){i=1;d=(d&255|(e&255)<<8)>>>0>b>>>0?((b<<1)+h|0)+2|0:271312;d=r[d|0]<<8|r[d+1|0];if(Vv(d?d+a|0:271312,f+8|0,g)){break a}b=b+1|0;if((b|0)!=(c|0)){d=r[a+5|0];e=r[a+4|0];continue}break}i=0}Da=f+32|0;return i}function s_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=e-a|0;if(c>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a|0]|r[a+1|0]<<8;g=((g<<24|g<<8&16711680)>>>16|0)+ -1|0;b:{if(g>>>0>1){break b}if(g-1){if(c>>>0<6){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=a+4|0;if(f>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+5|0]|r[a+4|0]<<8;if(!c){break b}a=a+6|0;if(f>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;if((d|0)>=4){break b}break a}c=a+2|0;if(f>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}}h=1}return h}function cK(a,b,c){a=a|0;b=b|0;c=c|0;a=((c-b|0)/2|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+3|0]|r[b+2|0]!=116){break b}c=0;if(r[b+1|0]){break a}a=r[b|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 0:if(r[b+1|0]|r[b|0]!=97|(r[b+3|0]|r[b+2|0]!=109)){break b}if(r[b+5|0]){break b}c=38;if(r[b+4|0]!=112){break b}break a;case 1:break c}}if(r[b+1|0]){break b}a=o[b|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+3|0]|r[b+2|0]!=117|(r[b+5|0]|r[b+4|0]!=111)){break b}if(r[b+7|0]){break b}c=34;if(r[b+6|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+3|0]|r[b+2|0]!=112|(r[b+5|0]|r[b+4|0]!=111)){break b}if(r[b+7|0]){break b}c=39;if(r[b+6|0]==115){break a}}c=0}return c|0}function LJ(a,b,c){a=a|0;b=b|0;c=c|0;a=((c-b|0)/2|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+2|0]|r[b+3|0]!=116){break b}c=0;if(r[b|0]){break a}a=r[b+1|0];return((a|0)==103?62:(a|0)==108?60:0)|0;case 0:if(r[b|0]|r[b+1|0]!=97|(r[b+2|0]|r[b+3|0]!=109)){break b}if(r[b+4|0]){break b}c=38;if(r[b+5|0]!=112){break b}break a;case 1:break c}}if(r[b|0]){break b}a=o[b+1|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+2|0]|r[b+3|0]!=117|(r[b+4|0]|r[b+5|0]!=111)){break b}if(r[b+6|0]){break b}c=34;if(r[b+7|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+2|0]|r[b+3|0]!=112|(r[b+4|0]|r[b+5|0]!=111)){break b}if(r[b+6|0]){break b}c=39;if(r[b+7|0]==115){break a}}c=0}return c|0}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;g=q[b+8>>2];a:{if(r[g+12|0]!=1){break a}d=r[a+3|0]|r[a+2|0]<<8;h=d?d+ -1|0:0;if(!h){break a}q[g+16>>2]=-1;c=r[a+5|0]|r[a+4|0]<<8;i=ac(g,c);if(!i){break a}e=a+4|0;while(1){k=c&-512;l=c+512&-512;d=e;while(1){f=(c>>>3&56)+i|0;e=f;m=q[e+4>>2];j=e;n=q[e>>2];f=c&63;c=f&31;if(32<=(f&63)>>>0){f=1<>>32-c;c=1<>2]=n|c;q[e+4>>2]=f|m;h=h+ -1|0;if(!h){break a}e=d+2|0;c=r[d+3|0]|r[d+2|0]<<8;if(k>>>0<=c>>>0){d=e;if(c>>>0>>0){continue}}break}i=ac(g,c);if(i){continue}break}}b=q[b+16>>2];b:{if(r[b+12|0]!=1){break b}e=r[a|0];d=r[a+1|0];q[b+16>>2]=-1;a=d|e<<8;b=ac(b,a);if(!b){break b}b=b+(a>>>3&56)|0;a=b;e=q[b+4>>2];f=b;j=q[b>>2];d=d&63;b=d&31;if(32<=(d&63)>>>0){d=1<>>32-b;b=1<>2]=j|b;q[a+4>>2]=d|e}}function DV(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){e=q[a+8>>2];g=e+1|0;g=(g|0)>0?g:0;if(f>>>0>=g>>>0){break b}e=f;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>214748363)){f=db(q[a+12>>2],w(e,20));if(f){break c}}q[a+4>>2]=-1}q[160748]=q[67832];e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;h=642976;break a}q[a+4>>2]=e;q[a+12>>2]=f;e=q[a+8>>2]}if(g>>>0>e>>>0){Na(q[a+12>>2]+w(e,20)|0,0,w(g-e|0,20))}q[a+8>>2]=g;h=(q[a+12>>2]+w(g,20)|0)+ -20|0}e=h;f=q[d+4>>2];q[e>>2]=q[d>>2];q[e+4>>2]=f;q[e+16>>2]=q[d+16>>2];g=q[d+12>>2];f=e+8|0;q[f>>2]=q[d+8>>2];q[f+4>>2]=g;q[e>>2]=b;f=q[c+12>>2];d=q[c+4>>2];g=q[c>>2];b=q[a>>2];q[e+12>>2]=0;q[e+4>>2]=b+g;e=f-b|0;b=d-b|0;b=b>>>0>d>>>0?0:b;q[h+8>>2]=b>>>0>e>>>0?e:b;q[a>>2]=q[c+12>>2]}function bv(a,b){var c=0,d=0,e=0,f=0;d=r[a+1|0]|r[a|0]<<8;a:{if(!d){break a}c=q[b+96>>2];e=q[(q[c+88>>2]+w(q[c+72>>2],20)|0)+4>>2];c=q[b+116>>2];c=(e&c)>>>T$(c)|0;b:{if((c|0)!=255){break b}c=255;if(!r[b+143|0]){break b}c=(w(q[b+144>>2],48271)>>>0)%2147483647|0;q[b+144>>2]=c;c=((c>>>0)%(d>>>0)|0)+1|0}c=c+ -1|0;if(c>>>0>=d>>>0){break a}f=1;a=(r[a+1|0]|r[a|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+2|0:271312;e=r[a|0]<<8|r[a+1|0];kf(b,e,0,0,0);b=q[b+96>>2];d=q[b+92>>2];c:{if((d|0)==q[b+88>>2]){c=q[b+80>>2];a=c;if(q[b+72>>2]==(c|0)){break c}}if(!Va(b,1,1)){break a}c=q[b+88>>2]+w(q[b+72>>2],20)|0;d=q[c+4>>2];a=q[b+92>>2]+w(q[b+80>>2],20)|0;q[a>>2]=q[c>>2];q[a+4>>2]=d;q[a+16>>2]=q[c+16>>2];d=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=d;c=q[b+72>>2];a=q[b+80>>2];d=q[b+92>>2]}q[w(a,20)+d>>2]=e;q[b+80>>2]=a+1;q[b+72>>2]=c+1}return f}function IO(a,b){a=a|0;b=b|0;return w(r[a+35|0]^w(r[a+34|0]^w(r[a+33|0]^w(r[a+32|0]^w(r[a+31|0]^w(r[a+30|0]^w(r[a+29|0]^w(r[a+28|0]^w(r[a+27|0]^w(r[a+26|0]^w(r[a+25|0]^w(r[a+24|0]^w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function hq(a,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:{f=b+4|0;if(f>>>0>32){break c}d:{switch(f-1|0){case 19:if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496694)){q[a>>2]=918;return 11}if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496701)){q[a>>2]=919;return 33}if(n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496709)){q[a>>2]=920;return 39}if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496717)){break b}q[a>>2]=921;return 17;case 14:return 55;case 16:return 56;case 31:return 60;case 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 15:case 17:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:break c;case 29:break d;default:break a}}q[a>>2]=922;return 3}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function US(a,b,c){a=a|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=Da-16|0;Da=f;e=q[c>>2];a:{if(!b){a=ub(e);break a}a=65535;g=TS(t[e+16>>2]<4?271312:q[e+12>>2],q[c+4>>2],f+12|0);h=r[g+4|0]<<8|r[g+5|0];b:{if(!h){break b}k=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);i=h+ -1|0;while(1){e=i+j>>>1|0;d=(e<<4)+g|0;d=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);d=(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))>>>0>>0?1:(d|0)!=(k|0)?-1:0;c:{if((d|0)<=-1){i=e+ -1|0;break c}if(!d){a=e;break b}j=e+1|0}if((j|0)<=(i|0)){continue}break}}a=h>>>0>a>>>0?((a<<4)+g|0)+12|0:271312;b=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=en(q[c>>2],q[f+12>>2]+(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))|0,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))}Da=f+16|0;return a|0}function ON(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,p=0,s=0,t=0,u=0;if(!(!b|!d)){if((b|0)>=1){while(1){g=r[c+f|0];if(g&4){e=(f<<2)+d|0;h=q[e>>2]+ -1569|0;q[e>>2]=q[(h>>>0>178?e:(h<<4|(g&3)<<2)+428032|0)>>2]}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if((b|0)>=2){t=b+ -1|0;while(1){e=i;i=e+1|0;b=r[a+e|0];a:{if(!(b&1)|(b|0)!=r[a+i|0]){break a}l=(e<<2)+d|0;j=q[l>>2];if(j+ -65247>>>0>1){break a}m=(i<<2)+d|0;n=q[m>>2];f=0;h=8;b:while(1){u=h+ -1|0;while(1){if((f|0)>=(h|0)){break a}c:{b=f+u>>>1|0;k=w(b,12);p=k+427264|0;g=q[p>>2];if((g|0)!=(j|0)){s=1;if(g>>>0<=j>>>0){break c}h=b;continue b}g=q[k+427268>>2];s=g>>>0>>0;if(g>>>0<=n>>>0){break c}h=b;continue b}f=b+1|0;if(s){continue}break}break}if(!p){break a}q[l>>2]=65279;b=c+e|0;o[b|0]=r[b|0]|32;q[m>>2]=q[k+427272>>2]}if((i|0)!=(t|0)){continue}break}}}}function Ff(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;i=q[q[b>>2]+16>>2];e=q[b+36>>2];h=q[e+12>>2];e=s[q[e>>2]+68>>1];$l(h,e,e);j=q[(i<<2)+288992>>2];while(1){e=a;a=e+1|0;f=r[e|0];if((f|0)==32){continue}break}a=e;if(f&223){while(1){a=a+1|0;if(f<<24>>24<=-1){k=a;a=f&255;a=k+(a>>>0<224?1:a>>>0<240?2:3)|0}f=r[a|0];if(f&223){continue}break}}Rl(c);f=a-e|0;Zs(c,e,f,f);_s(c);Ql(h,c,j,(i|0)!=10);a:{if((i|0)==10){break a}b=q[q[b+36>>2]+16>>2];Rl(b);Zs(b,e,f,f);_s(b);Ql(h,b,0,0);e=g+12|0;if(e){q[e>>2]=q[c+76>>2]}i=q[c+88>>2];e=g+8|0;if(e){q[e>>2]=q[b+76>>2]}e=q[g+12>>2];if((e|0)!=q[g+8>>2]){break a}b=q[b+88>>2];f=0;b:{c:{if(!e){break c}while(1){h=w(f,20);if(q[h+i>>2]!=q[b+h>>2]){break c}f=f+1|0;if((e|0)!=(f|0)){continue}break}break b}if((e|0)!=(f|0)){break a}}Rl(c)}q[d>>2]=q[c+76>>2];Da=g+16|0;return a}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=q[a+28>>2];b:{if((c|0)==-1){break b}e=q[a+36>>2];g=q[a+40>>2];if(e>>>0>=g>>>0){break b}i=q[a>>2];b=c+1|0;j=q[a+16>>2]+20|0;while(1){d=w(e,12)+j|0;c=d+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=b>>>0>>0?f:b;b=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);h=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c:{d:{if(c>>>0>h>>>0){break d}b=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);while(1){b=c-f|0;if(d>>>0>(b^-1)>>>0){break d}b=b+d|0;if(!b){if((c|0)==-1){break b}k=c>>>0>>0;b=c+1|0;c=b;if(k){continue}break c}break}if(b>>>0>2]){break a}}b=c}e=e+1|0;if(e>>>0>>0){continue}break}}o[a+24|0]=0;return}q[a+36>>2]=e;q[a+32>>2]=b;q[a+28>>2]=c}function Tv(a,b,c,d){var e=0,f=0,g=0;a:{b:{e=w(c,20)+a|0;f=p[e+16>>1];c:{if(!f){break c}g=r[e+18|0];p[e+16>>1]=0;e=c+f|0;if(e>>>0>=b>>>0){break c}Tv(a,b,e,d);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=w(c,20)+a|0;q[b+12>>2]=q[b+12>>2]+q[(w(e,20)+a|0)+12>>2];return}b=w(c,20)+a|0;q[b+8>>2]=q[b+8>>2]+q[(w(e,20)+a|0)+8>>2];return}g=w(c,20)+a|0;f=w(e,20)+a|0;b=q[g+8>>2]+q[f+8>>2]|0;q[g+8>>2]=b;f=q[g+12>>2]+q[f+12>>2]|0;q[g+12>>2]=f;if(e>>>0>=c>>>0){break a}d:{if((d&-3)==4){while(1){d=w(e,20)+a|0;f=f-q[d+4>>2]|0;b=b-q[d>>2]|0;e=e+1|0;if((e|0)!=(c|0)){continue}break d}}e=e+1|0;if(e>>>0>=c+1>>>0){break c}while(1){d=w(e,20)+a|0;f=q[d+4>>2]+f|0;b=q[d>>2]+b|0;d=(c|0)==(e|0);e=e+1|0;if(!d){continue}break}}q[g+8>>2]=b;q[g+12>>2]=f}return}I(228926,228987,2296,229016);F()}I(229045,228987,2310,229016);F()}function QM(a,b,c,d){a=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,q=0,r=0;a:{if(!c){break a}j=d+6|0;if(!j){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}f=d<<4;while(1){d=0;i=0;while(1){k=d>>>0>>0?(d<<1)+b|0:438160;e=d+ -16|0;l=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -32|0;m=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -48|0;n=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -64|0;o=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -80|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -96|0;r=e>>>0>>0?(e<<1)+b|0:438160;h=0;while(1){e=h<<1;p[e+a>>1]=(((w(s[e+n>>1],20)+w(s[e+m>>1]+s[e+o>>1]&65535,15)|0)+w(s[e+l>>1]+s[e+q>>1]&65535,6)|0)+(s[e+k>>1]+s[e+r>>1]&65535)|0)+32>>>6;h=h+1|0;if((h|0)!=16){continue}break}d=d+16|0;a=a+32|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}b=(f<<1)+b|0;g=g+16|0;if(g>>>0>>0){continue}break}}}function Ux(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=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);j=r[a+9|0]|r[a+8|0]<<8;if(j){d=q[b+8>>2];m=d+ -1|0;n=q[b+12>>2];o=(d|0)<1;while(1){c=w(g,12)+a|0;h=r[c+14|0]<<8|r[c+15|0];e=r[c+13|0]|r[c+12|0]<<8;while(1){a:{b=0;d=m;b:{if(o){break b}while(1){c:{i=b+d>>>1|0;k=w(i,12)+n|0;l=q[k>>2];d:{if((l|0)<(e|0)){d=i+ -1|0;break d}if((e|0)==(l|0)){break c}b=i+1|0}if((b|0)<=(d|0)){continue}break b}break}if(q[k+4>>2]!=(h|0)){break b}b=r[c+20|0]|r[c+21|0]<<8|(r[c+22|0]<<16|r[c+23|0]<<24);f=r[c+19|0]|((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))&f|(r[c+17|0]<<16|r[c+16|0]<<24)|r[c+18|0]<<8);break a}if((e|0)!=3){break a}e=37;b=(h|0)==3;h=1;if(b){continue}}break}g=g+1|0;if((j|0)!=(g|0)){continue}break}}return f}function Ol(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=q[a+2744>>2]&4;f=64;a:{if(n){break a}f=(e|0)==1?55:49;if(!(!(o[b+12|0]&1)|!(o[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=q[c+4>>2];m=q[b+4>>2];j=og(a,e,l-m|0);a=(((l+m|0)/2|0)+d|0)+((j|0)/-2|0)|0;d=a&63;b:{if(!d){break b}h=a+j&63;if(!h){break b}g=64-d|0;if((j|0)<=(f|0)){if((h|0)>=(j|0)){break b}i=g>>>0>h>>>0?0-h|0:g;break b}if(f>>>0<=63){if(f>>>0<=h>>>0|64-h>>>0>=f>>>0|(f>>>0<=g>>>0|d>>>0>=f>>>0)){break b}}k=j&63;c:{if(k>>>0<=31){if(g>>>0<=k>>>0){break b}if(h>>>0>k>>>0){break c}break b}k=64-f|0}e=g-k|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;i=g>>31;e=f-h|0;d=h-k|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;i=(i^g+i)>(d^d+e)?e:g}d=i;d:{if(n){break d}d=14;if((i|0)>14){break d}d=(i|0)>-14?i:-14}f=d+a|0;e=f+j|0;a=(l|0)>(m|0);q[b+8>>2]=a?f:e;q[c+8>>2]=a?e:f;return d}function Ju(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=r[a+3|0]|r[a+2|0]<<8;c=q[b+96>>2];g=yb(f?f+a|0:271312,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((g|0)==-1){break a}e=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=e;d=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[d+76>>2];o[b+20|0]=(e|0)==q[d+72>>2]?r[(q[d+88>>2]+w(e,20)|0)+15|0]:0;q[b+8>>2]=q[b+128>>2]&-15;if(!Kf(b)){break a}e=q[c+88>>2];f=q[b>>2];d=e+w(f,20)|0;if(!(r[d+12|0]&8)){break a}d=r[d+14|0];h=d&16?0:d&15;c=r[(e+w(q[c+72>>2],20)|0)+14|0];i=c&16?0:c&15;c=c>>>5|0;d=d>>>5|0;b:{if((c|0)==(d|0)){if(!c|(h|0)==(i|0)){break b}break a}if(i?0:c){break b}if(h|!d){break a}}c=r[a+5|0]|r[a+4|0]<<8;c=yb(c?c+a|0:271312,q[e+w(f,20)>>2]);if((c|0)==-1){return 0}e=r[a+9|0]|r[a+8|0]<<8;d=b;b=r[a+11|0]|r[a+10|0]<<8;j=vm(e?e+a|0:271312,d,g,c,b?b+a|0:271312,r[a+7|0]|r[a+6|0]<<8,f)}return j}function RN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!b){break a}i=b+ -1|0;if((i|0)<0){break a}b=i;while(1){if(q[(b<<2)+a>>2]&9441280){o[b+c|0]=0;e=(b|0)>0;b=b+ -1|0;if(e){continue}}break}b=i;while(1){a=o[b+c|0];g=((a|0)>(g|0)?a:g)<<24>>24;a=(b|0)>0;b=b+ -1|0;if(a){continue}break}if((g|0)<1){break a}j=g;while(1){e=i;while(1){f=j<<24>>24;b:{if(o[c+e|0]<(f|0)){a=e;break b}h=(e|0)<0?e:0;k=h+ -1|0;a=e;while(1){c:{b=a;if((b|0)<=0){b=h;a=k;break c}a=b+ -1|0;if(o[c+a|0]>=(f|0)){continue}}break}if(!d){break b}e=e-a|0;if((e|0)<2){break b}k=(e|0)/2|0;h=(b<<2)+d|0;b=0;while(1){f=h+(b<<2)|0;l=q[f>>2];m=f;f=h+((b^-1)+e<<2)|0;q[m>>2]=q[f>>2];q[f>>2]=l;b=b+1|0;if((k|0)!=(b|0)){continue}break}}e=a+ -1|0;if((a|0)>0){continue}break}a=j<<24;j=j+ -1|0;if(a>>24>1){continue}break}}return(g<<24)+16777216>>24}function ov(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break a}d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){default:if(!Tb(a+2|0,b,a)){break a}g=q[b+4>>2];d=a+4|0;if(g>>>0>d>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}h=r[a+5|0]|r[a+4|0]<<8;if(!h){break b}c=d+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<2){break b}c=1;e=r[a+5|0]|r[a+4|0]<<8;if(!e){break b}c=0;d:{while(1){if(!mv((d+(c<<1)|0)+2|0,b,a)){break d}c=c+1|0;if((e|0)!=(c|0)){continue}break}return 1}break a;case 0:return IZ(a,b);case 1:break c}}c=GZ(a,b)}return c}return 0}function tu(a,b,c){var d=0,e=0,f=0,g=0;d=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:271312;f=r[d+2|0]<<8|r[d+3|0];if(f){g=r[d+1|0];e=(g>>>4&3)+1|0;d=(d+w(e,f>>>0>b>>>0?b:f+ -1|0)|0)+4|0;b=0;while(1){b=r[d|0]|b<<8;d=d+1|0;e=e+ -1|0;if(e){continue}break}d=(g&15)+1|0;b=b>>>d<<16|(-1<>>8&65280|a>>>24);a=a?d+a|0:271312;d=b>>>16|0;if((r[a+6|0]<<8|r[a+7|0])>>>0<=d>>>0){return x(0)}d=a+(d<<2)|0;d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=d?d+a|0:271312;d=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Vi(e,b&65535,q[c+64>>2],q[c+60>>2],a?d+a|0:271312)}function sN(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:{if(b){e=q[b>>2];if(e){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return 1}f=q[b+8>>2];h=Sa(e<<3);q[a+16>>2]=h;j=Sa(f);q[a+20>>2]=j;if(!(j?h:0)){La(h);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return 0}q[a+12>>2]=f;q[a+4>>2]=e;q[a+8>>2]=0;q[a>>2]=0;k=q[b>>2];if(k){o=q[b+16>>2];d=d+32|0;c=c+32|0;while(1){e=l<<3;i=e+h|0;f=i;n=e+o|0;e=q[n>>2];g=e;m=f;p=e>>31;e=c;f=e&31;if(32<=(e&63)>>>0){e=g<>>32-f|p<>2]=e;e=q[n+4>>2];m=i;i=e>>31;g=e;e=d;f=e&31;if(32<=(e&63)>>>0){e=g<>>32-f|i<>2]=e;l=l+1|0;if((k|0)!=(l|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(j,c,b);q[a+8>>2]=b;q[a>>2]=k;return 1}function Oq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+104>>2];a:{if(!d){break a}if(Rq(a,b,d)){break a}b=q[d+8>>2];if(ri(d,b+4|0)){break a}if(Lk(d,2)){break a}a=q[d+32>>2];q[d+32>>2]=a+2;f=r[a+1|0];a=r[a|0];Kk(d);if(ri(d,b+(f|a<<8)|0)){break a}g=q[d+8>>2];if(Lk(d,2)){break a}a=q[d+32>>2];q[d+32>>2]=a+2;b=r[a+1|0];a=r[a|0];Kk(d);f=b|a<<8;a=Sa(f<<2);q[c>>2]=a;if(!a){break a}b:{if(!f){break b}a=0;b=0;while(1){if(Lk(d,6)){break b}e=q[d+32>>2];q[d+32>>2]=e+4;e=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[q[c>>2]+((a&65535)<<2)>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=q[d+32>>2];q[d+32>>2]=e+2;h=r[e+1|0];e=r[e|0];Kk(d);i=q[d+8>>2];e=ri(d,(e<<8|h)+g|0);ri(d,i);a=!e+a|0;b=b+1|0;if(f>>>0>(b&65535)>>>0){continue}break}if(!(a&65535)){break b}Gc(q[c>>2],f,4,835);return f}La(q[c>>2]);q[c>>2]=0}return 0}function bf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Da-32|0;Da=h;j=a+11724|0;Cl(a,q[a+11720>>2],q[j>>2],b,c,h+28|0,h+24|0);Cl(a,d,e,f,g,h+20|0,h+16|0);i=q[a+4>>2];q[i+16>>2]=q[i+16>>2]+(w(e-c>>16,b>>16)-w(d-b>>16,c>>16)|0);i=q[h+28>>2];k=i+q[a+11720>>2]|0;q[h+8>>2]=k;l=q[h+24>>2];j=l+q[j>>2]|0;q[h+12>>2]=j;m=q[h+16>>2];n=q[h+20>>2];c=c+l|0;i=b+i|0;if(r[a+11667|0]){$r(a,k,j);o[a+11664|0]=1;o[a+11667|0]=0;q[a+11712>>2]=i;q[a+11716>>2]=c}if(r[a+11744|0]){Ee(a,a+8|0,h+8|0,i,c,0)}q[a+11748>>2]=4;o[a+11744|0]=1;b=q[h+12>>2];j=q[h+8>>2];q[a+11780>>2]=g+m;q[a+11776>>2]=f+n;q[a+11772>>2]=e+m;q[a+11768>>2]=d+n;q[a+11752>>2]=j;q[a+11756>>2]=b;q[a+11760>>2]=i;q[a+11764>>2]=c;b=q[a+11676>>2];if(r[b+5|0]){De(a+8|0,q[a+11668>>2],q[a+11672>>2],b,q[a+11680>>2],0)}q[a+11724>>2]=g;q[a+11720>>2]=f;Da=h+32|0}function HW(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=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}f=ab(1,48);if(f){Vl(f,a)}g=q[b+8>>2];a=f?f:271312;q[b+8>>2]=g?g:a;if(!g){break a}if(!(!f|!a)){f=q[a+44>>2];Pa(f?f:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}j=271312;b=q[a+4>>2];b=b?b:271312;f=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if((f|0)<1){break b}f=f+ -1|0;g=0;while(1){c:{i=f+g>>>1|0;h=b+w(i,11)|0;h=r[h+11|0]<<8|r[h+10|0]<<16|r[h+12|0];d:{if(h>>>0>d>>>0){f=i+ -1|0;break d}if((d|0)==(h|0)){break c}g=i+1|0}if((g|0)<=(f|0)){continue}break b}break}j=(b+w(i,11)|0)+10|0}b=AW(j,c,e,b);e:{if(b>>>0<=1){if(b-1){break e}return 1}b=q[a+8>>2];if(!b){return 0}b=n[b](q[a+12>>2],c,e)|0}return b|0}function _Z(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!UZ(i+6|0,b,k,g+4|0)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function Wq(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(!a){return-1}h=q[a+4>>2];e=-1;f=-1;i=q[a+12>>2]+a|0;a:{b:{if(i){d=h+ -1|0;j=q[c>>2];l=j>>>8|0;c:{if((h|0)>=1){m=l&65535;while(1){g=d+k|0;f=g>>1;g=s[(g&-2)+i>>1];if((g|0)==(m|0)){break c}g=g>>>0>>0;k=g?f+1|0:k;d=g?d:f+ -1|0;if((k|0)<=(d|0)){continue}break}}if(!((d|0)>=(h|0)|s[(d<<1)+i>>1]>=(l&65535)>>>0?(d|0)>=0:0)){d=d+1|0}f=d^-1}if((f|0)>-1){break b}}f=f^-1;if((h|0)==(f|0)){break a}j=s[(f<<1)+i>>1]<<8}e=q[a+8>>2]+a|0;e=q[e+(f<<2)>>2]+e|0;if(!e){return-1}d=q[e+4>>2];q[b>>2]=q[e>>2];q[b+4>>2]=d;d=q[e+28>>2];q[b+24>>2]=q[e+24>>2];q[b+28>>2]=d;d=q[e+20>>2];q[b+16>>2]=q[e+16>>2];q[b+20>>2]=d;d=q[e+12>>2];q[b+8>>2]=q[e+8>>2];q[b+12>>2]=d;b=f+1|0;if((b|0)>2]){a=s[(q[a+12>>2]+a|0)+(b<<1)>>1]<<8}else{a=-1}q[c>>2]=a;e=j}return e}function TS(a,b,c){var d=0,e=0;if(c){q[c>>2]=0}e=271312;a:{b:{c:{d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d:{if((d|0)<=1953658212){if((d|0)==256){break b}if((d|0)==65536|(d|0)==1330926671){break d}break a}if((d|0)==1954115633){break d}if((d|0)==1953784678){break c}if((d|0)!=1953658213){break a}}return a}if((r[a+5|0]|r[a+4|0]<<8)+ -1>>>0>1){break a}c=a;d=((b<<2)+a|0)+12|0;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?d:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return a?c+a|0:271312}d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);e=RS((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0,b,a+256|0);if(!c){break a}q[c>>2]=e-a}return e}function tr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,p=0,s=0,t=0,u=0,v=0,x=0;a:{if(!q[b+20>>2]){break a}if(!!(d>.001)){JM(a,b,d)}if(!c){break a}l=oe(32,q[b+16>>2]<<2,0);if(!l){break a}k=q[b+20>>2];f=q[b+16>>2];g=q[b+12>>2];h=q[b+8>>2];e=c+ -1|0;b:{if(!e){c=f<<1;break b}c=0;i=(h|0)>0&(g|0)>0;if((i|0)==1){while(1){m=w(c,f);b=0;while(1){j=(b+m|0)+k|0;o[j|0]=(r[j|0]>>>1|0)+1>>>1;b=b+1|0;if((h|0)!=(b|0)){continue}break}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=f<<1;while(1){s=k,t=h,u=g,v=f,x=Na(l,0,c),p=q[a+32>>2],n[p](s|0,t|0,u|0,v|0,x|0);e=e+ -1|0;if(e){continue}break}if(!i){break b}e=0;while(1){m=w(f,e);b=0;while(1){j=(b+m|0)+k|0;i=r[j|0];o[j|0]=(i<<2)-(i>>>0>32);b=b+1|0;if((h|0)!=(b|0)){continue}break}e=e+1|0;if((g|0)!=(e|0)){continue}break}}b=Na(l,0,c);n[q[a+32>>2]](k,h,g,f,b);gd(b)}}function NW(a,b,c){var d=0,e=0,f=x(0);d=Da-144|0;Da=d;q[d+56>>2]=-8388609;q[d+48>>2]=2139095039;q[d+52>>2]=-8388609;q[d+16>>2]=2139095039;q[d+20>>2]=-8388609;q[d+24>>2]=-8388609;q[d+44>>2]=2139095039;q[d+40>>2]=d- -64;e=q[d+44>>2];q[d+8>>2]=q[d+40>>2];q[d+12>>2]=e;q[d+32>>2]=b;q[d+36>>2]=d+128;e=q[d+36>>2];q[d>>2]=q[d+32>>2];q[d+4>>2]=e;a:{if(!qm(a,b,c,d)){b=sg(q[a+16>>2]+92|0);e=q[b+4>>2];if(e>>>0>c>>>0){a=q[b+12>>2];a=(c|0)<0?271312:q[(a?a:271312)+12>>2]+(c<<2)|0;a=r[a+2|0]|r[a+3|0]<<8;a=(a<<24|a<<8&16711680)>>16;break a}a=0;if(t[b>>2]<=c>>>0){break a}a=q[b+12>>2];a=(c-e<<1)+((e|0)<0?271312:q[(a?a:271312)+12>>2]+(e<<2)|0)|0;a=r[a|0]|r[a+1|0]<<8;a=(a<<24|a<<8&16711680)>>16;break a}f=x(x(D(u[d+104>>2]))-x(q[d+132>>2]));if(x(y(f))>>0>>0){if((c-b|0)<1){return-1}g=a+72|0;e=b;while(1){a:{b:{c:{h=r[r[e|0]+g|0]+ -3|0;if(h>>>0>27){break c}f=2;d:{switch(h-1|0){case 2:f=3;break b;case 3:f=4;break b;default:if((b|0)!=(e|0)){break a}return hi(a,b+1|0,c,d)|0;case 26:if((b|0)!=(e|0)){break a}a=rq(a,b+1|0,c,d);return((a|0)==22?0:a)|0;case 6:if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 7;case 1:break b;case 0:case 4: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:break c;case 5:break d}}if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7}f=1}e=e+f|0;if((c-e|0)>0){continue}}break}q[d>>2]=e;a=6}else{a=-4}return a|0}function _C(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Da-16|0;Da=g;f=q[a+712>>2];q[g+12>>2]=0;a:{if(!f){break a}e=q[f+3132>>2];if(!e){e=gb(q[a+100>>2],2,g+12|0);c=q[g+12>>2];if(c){break a}p[e>>1]=0;a=q[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a+ -391|0;if(t[f+1356>>2]<=a>>>0){break b}a=q[q[f+1360>>2]+(a<<2)>>2];break c}c=q[f+3084>>2];if(!c){break b}a=n[q[c+20>>2]](a)|0}if(!a){break b}a=cb(a,10152);if(!a){break b}c=a+7|0;a=cb(c,10160);if(!a|(a|0)==(c|0)){break b}while(1){d:{e:{d=r[c|0];if((d+ -48&255)>>>0<=9){d=s[e>>1];if(d>>>0<6552){break e}p[e>>1]=0;break b}d=d+ -10|0;if(1<>>0<=22:0){break d}p[e>>1]=0;break b}d=w(d,10);p[e>>1]=d;p[e>>1]=(d+o[c|0]|0)+ -48}c=c+1|0;if((a|0)!=(c|0)){continue}break}}q[f+3132>>2]=e;c=q[g+12>>2]}p[b>>1]=s[e>>1]}Da=g+16|0;return c|0}function WZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!uv(i+6|0,b,k)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function LS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Da-16|0;Da=h;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}i=q[b+8>>2];if(i>>>0>>0|i-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=a+2|0;if(e>>>0>g>>>0|i>>>0>>0|i-g>>>0<(r[a|0]<<11|r[a+1|0]<<3)+8>>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}k=q[c>>2];f=r[a+1|0];e=r[a|0];q[h+12>>2]=q[d>>2];i=f|e<<8;while(1){b:{e=q[b+8>>2];if(e>>>0>>0|e-g>>>0<=7){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break b}e=(j<<3)+a|0;f=e+8|0;q[h+8>>2]=(r[e+5|0]|(r[e+3|0]<<16|r[g|0]<<24|r[e+4|0]<<8))==1936092788?(r[e+7|0]|r[e+6|0]<<8)+1|0:0;if(!KS(f,b,k,h+8|0,h+12|0)){break a}if((i|0)==(j|0)){l=1;break a}k=q[c>>2];e=q[b+4>>2];q[h+12>>2]=q[d>>2];j=j+1|0;g=((j<<3)+a|0)+2|0;if(e>>>0<=g>>>0){continue}}break}}Da=h+16|0;return l}function $Z(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-16|0;Da=g;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;if(!i){d=1;break a}h=a+2|0;if(j>>>0>h>>>0|e>>>0>>0|e-h>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=1;h=r[a+1|0]|r[a|0]<<8;if(!h){break a}f=0;while(1){b:{i=w(f,6)+a|0;d=i+2|0;e=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);k=q[c>>2];q[g+12>>2]=k;q[g+8>>2]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(j>>>0>d>>>0){break b}e=q[b+8>>2];if(e>>>0>>0|e-d>>>0<=5){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<=0){break b}q[g+4>>2]=g+8;if(!XZ(i+6|0,b,k)){break b}f=f+1|0;if((h|0)==(f|0)){d=1;break a}else{j=q[b+4>>2];continue}}break}d=0}Da=g+16|0;return d}function oW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=1;a:{if(!c){break a}f=0;if(!q[a>>2]|q[a+144>>2]!=-1){break a}b:{c:{e=q[a+48>>2];d:{e:{if((e|0)!=271312){b=ku(e,b,q[a+212>>2]);break e}e=q[a+168>>2];if(e>>>0>2){b=0;break d}f:{switch(e-1|0){default:b=b>>>0<229?b:0;break d;case 0:b=b>>>0<=165?s[(b<<1)+242080>>1]:0;break e;case 1:break f}}b=b>>>0<=86?s[(b<<1)+242416>>1]:0}if(b>>>0>390){break c}}a=b<<2;b=q[a+243040>>2];a=q[a+243044>>2]+(b^-1)|0;b=b+244608|0;break b}e=q[a+60>>2];a=r[e|0]<<8|r[e+1|0];g=b+ -391|0;if(a>>>0<=g>>>0){a=q[67829];b=q[67828];break b}b=r[e+2|0];i=(e+w(b,a+1|0)|0)+3|0;if(b){a=(e+w(b,g)|0)+3|0;while(1){h=r[a|0]|h<<8;a=a+1|0;b=b+ -1|0;if(b){continue}break}}a=rg(e,g);b=(h+i|0)+ -1|0}if(!a){break a}e=b;b=d+ -1|0;a=b>>>0>a>>>0?a:b;j=Md(c,e,a)+a|0,k=0,o[j|0]=k;f=1}return f}function Xg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Da-16|0;Da=g;f=q[a>>2];q[g+12>>2]=f;a:{if(f>>>0>=b>>>0){break a}h=r[f|0];j=(h|0)==91?93:(h|0)==123?125:0;if(j){f=f+1|0;q[g+12>>2]=f}if(f>>>0>=b>>>0){break a}b:{c:{d:{e:{if(!d){while(1){$b(g+12|0,b);c=q[g+12>>2];if(c>>>0>=b>>>0){break d}if(r[c|0]==(j|0)){f=c;break b}Ed(g+12|0,b,e);f=q[g+12>>2];if((c|0)==(f|0)){break e}i=i+1|0;if(!j){break a}if(f>>>0>>0){continue}break}break a}h=0;i=(c|0)>0?c:0;while(1){f:{$b(g+12|0,b);f=q[g+12>>2];if(f>>>0>=b>>>0){break f}if(r[f|0]==(j|0)){i=h;break b}if((h|0)==(i|0)){break a}k=(h<<2)+d|0,l=Ed(g+12|0,b,e),q[k>>2]=l;c=f;f=q[g+12>>2];if((c|0)==(f|0)){break c}h=h+1|0;if(f>>>0>>0?j:0){continue}}break}i=h;break a}i=-1;break a}f=c;break a}i=-1;break a}f=f+1|0;q[g+12>>2]=f}q[a>>2]=f;Da=g+16|0;return i}function BQ(a,b,c,d){a=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,o=0;i=Da-16|0;Da=i;e=6;a:{if((b|0)<0|q[a+16>>2]<=(b|0)){break a}b:{e=q[a+4>>2]+d|0;f=q[a+8>>2];c:{if(e>>>0<=f>>>0){break c}g=q[a>>2];j=c-g|0;k=j>>>0>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(f>>>0>>0){continue}break}l=q[a+32>>2];h=gb(l,f,i+12|0);q[a>>2]=h;e=q[i+12>>2];if(e){break b}k=k&(j|0)>-1;if(g){Qa(h,g,q[a+8>>2]);h=q[a+16>>2];if((h|0)>=1){o=q[a>>2]-g|0;e=q[a+24>>2];h=e+(h<<2)|0;while(1){m=q[e>>2];if(m){q[e>>2]=o+m}e=e+4|0;if(e>>>0>>0){continue}break}}if(g){n[q[l+8>>2]](l,g)}}q[a+8>>2]=f;e=k?j:-1;if((e|0)<0){break c}c=e+q[a>>2]|0}e=0;b=b<<2;f=q[a>>2];g=q[a+4>>2];q[b+q[a+24>>2]>>2]=f?f+g|0:0;q[b+q[a+28>>2]>>2]=d;Qa(g+q[a>>2]|0,c,d);q[a+4>>2]=q[a+4>>2]+d;break a}q[a>>2]=g}Da=i+16|0;return e|0}function Jm(a,b,c,d,e,f){var g=0;a:{if((b|0)!=1196445523){g=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;g=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[g+5|0]|r[g+4|0]<<8;b=a?g+a|0:271312;a=(r[b+1|0]|r[b|0]<<8)>>>0>c>>>0?(b+w(c,6)|0)+2|0:271312;a=r[a+4|0]<<8|r[a+5|0];b=a?a+b|0:271312;b:{if((d|0)==65535){c=b+1|0;a=b;break b}a=(r[b+3|0]|r[b+2|0]<<8)>>>0>d>>>0?(b+w(d,6)|0)+4|0:271312;c=a+5|0;a=a+4|0}a=r[c|0]|r[a|0]<<8;a=a?a+b|0:271698;b=r[a+2|0]<<8|r[a+3|0];if(e){q[e>>2]=b}if(f){if((b|0)!=65535){a=r[g+7|0]|r[g+6|0]<<8;a=a?a+g|0:271312;a=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}else{a=0}q[f>>2]=a}}function Ne(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}a:{b:{c:{d:{if((b|0)!=1970170211){if(q[a+36>>2]|b){break d}return 6}f=38;d=q[a+40>>2];if(!d){break a}c=d+(q[a+36>>2]<<2)|0;b=c+ -4|0;if(b>>>0>=d>>>0){while(1){e=q[b>>2];e:{if(q[e+4>>2]!=1970170211){break e}g=s[e+8>>1];if(g>>>0>3){break e}f:{switch(g-1|0){default:if(s[e+10>>1]!=4){break e}break c;case 2:break f;case 0:case 1:break e}}if(s[e+10>>1]==10){break c}}b=b+ -4|0;if(b>>>0>=d>>>0){continue}break}}while(1){c=c+ -4|0;if(c>>>0>>0){break a}b=q[c>>2];if(q[b+4>>2]!=1970170211){continue}break}q[a+92>>2]=b;break b}c=q[a+40>>2];if(!c){return 38}f=6;d=q[a+36>>2];if((d|0)<=0){break a}d=(d<<2)+c|0;while(1){e=q[c>>2];if(q[e+4>>2]!=(b|0)){c=c+4|0;if(c>>>0>>0){continue}break a}break}q[a+92>>2]=e;break b}q[a+92>>2]=e}f=0}return f}function AP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=1024;a:{if((c|0)<1){break a}h=b+c|0;while(1){c=a;b:{c:{d:{a=b;e=h-a|0;if(e>>>0>=2){i=r[a|0];f=r[a+1|0]|i<<8;b=a+2|0;d=b;if((i&252)!=216){break c}e=e+ -2|0;if(e>>>0>=2){break d}a=b}b=a+e|0;d=65533;break b}e=r[b|0];d=65533;if((e&252)!=220){break b}f=((r[a+3|0]|e<<8)+(f<<10)|0)+ -56613888|0;d=a+4|0}b=d;d=(f&-1024)==56320?65533:f}a=d;if(g>>>0<5){a=c;break a}e:{if(a>>>0<=127){o[c|0]=a;d=c+1|0;break e}if(a>>>0<=2047){o[c+1|0]=a&63|128;o[c|0]=a>>>6|192;d=c+2|0;break e}if(a>>>0<=65535){o[c+2|0]=a&63|128;o[c|0]=a>>>12|224;o[c+1|0]=a>>>6&63|128;d=c+3|0;break e}d=c;if(a>>>0>1114111){break e}o[c+3|0]=a&63|128;o[c|0]=a>>>18|240;o[c+2|0]=a>>>6&63|128;o[c+1|0]=a>>>12&63|128;d=c+4|0}a=d;o[a|0]=0;g=(c+g|0)-a|0;if(b>>>0>>0){continue}break}}o[a|0]=0}function hw(a,b){var c=0,d=0,e=0,f=0;d=Da-48|0;Da=d;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;c=e_(d+8|0,Jb(b,1196643650));q[a>>2]=c;b=c?c:271312;b=t[b+16>>2]<10?271312:q[b+12>>2];e=r[b+9|0]|r[b+8|0]<<8;b=e?b+e|0:271312;b=r[b|0]<<8|r[b+1|0];q[a+4>>2]=b;e=ab(b,24);q[a+8>>2]=e;a:{if(!e){q[a+4>>2]=0;break a}if(!b){break a}b=0;while(1){f=w(b,24)+e|0;c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){e=c;c=c+(b<<1)|0;c=r[c+2|0]<<8|r[c+3|0];e=c?e+c|0:271312}else{e=271312}zv(f,e);b=b+1|0;if(b>>>0>=t[a+4>>2]){break a}c=q[a>>2];e=q[a+8>>2];continue}}Da=d+48|0}function gw(a,b){var c=0,d=0,e=0,f=0;d=Da-48|0;Da=d;q[d+16>>2]=0;q[d+20>>2]=0;o[d+21|0]=0;o[d+22|0]=0;o[d+23|0]=0;o[d+24|0]=0;o[d+25|0]=0;o[d+26|0]=0;o[d+27|0]=0;o[d+28|0]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;c=Mb(b);o[d+44|0]=1;q[d+40>>2]=c;c=_Y(d+8|0,Jb(b,1196445523));q[a>>2]=c;b=c?c:271312;b=t[b+16>>2]<10?271312:q[b+12>>2];e=r[b+9|0]|r[b+8|0]<<8;b=e?b+e|0:271312;b=r[b|0]<<8|r[b+1|0];q[a+4>>2]=b;e=ab(b,24);q[a+8>>2]=e;a:{if(!e){q[a+4>>2]=0;break a}if(!b){break a}b=0;while(1){f=w(b,24)+e|0;c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){e=c;c=c+(b<<1)|0;c=r[c+2|0]<<8|r[c+3|0];e=c?e+c|0:271312}else{e=271312}ZY(f,e);b=b+1|0;if(b>>>0>=t[a+4>>2]){break a}c=q[a>>2];e=q[a+8>>2];continue}}Da=d+48|0}function KD(a,b){a=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=Da-272|0;Da=d;n[q[b+60>>2]](b,d+80|0,16,d+76|0);e=q[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}j=q[b+8>>2];k=q[b>>2];if((e|0)>=1){i=q[a+532>>2];e=0;while(1){c=(d+80|0)+w(g,12)|0;q[b>>2]=q[c>>2];q[b+8>>2]=q[c+4>>2];n[q[b+60>>2]](b,d+16|0,4,d+12|0);f=q[d+12>>2];b:{if(!g){c=3;if(f+ -1>>>0>3){break a}c=Bh(a,q[d+76>>2],f);if(c){break a}i=q[a+532>>2];c=q[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)+w(c,12)|0;q[b>>2]=q[h>>2];q[b+8>>2]=q[h+4>>2];h=n[q[b+40>>2]](b,0)|0;q[q[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}}q[b+8>>2]=j;q[b>>2]=k;c=0}q[b+12>>2]=c;Da=d+272|0}function pB(a,b,c){a=a|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,s=0,t=0,u=0;if(!b){return 1}f=a>>>16|0;a=a&65535;if(c){while(1){d=c>>>0<5552?c:5552;u=c-d|0;a:{if((d|0)>=16){while(1){c=r[b|0]+a|0;e=c+r[b+1|0]|0;g=e+r[b+2|0]|0;h=g+r[b+3|0]|0;i=h+r[b+4|0]|0;j=i+r[b+5|0]|0;k=j+r[b+6|0]|0;l=k+r[b+7|0]|0;m=l+r[b+8|0]|0;n=m+r[b+9|0]|0;o=n+r[b+10|0]|0;p=o+r[b+11|0]|0;q=p+r[b+12|0]|0;s=q+r[b+13|0]|0;t=s+r[b+14|0]|0;a=t+r[b+15|0]|0;f=a+(t+(s+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(c+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;e=(d|0)>31;c=d+ -16|0;d=c;if(e){continue}break}if(!c){break a}}d=b;e=c;while(1){a=r[d|0]+a|0;f=f+a|0;d=d+1|0;e=e+ -1|0;if(e){continue}break}b=b+c|0}f=(f>>>0)%65521|0;a=(a>>>0)%65521|0;c=u;if(c){continue}break}}return f<<16|a}function uS(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;f=q[e+12>>2];q[a+4>>2]=f;g=q[e+16>>2];q[a+8>>2]=g+f;a:{if((g|0)>-1){q[a+24>>2]=0;d=a;if(g>>>0>536870910){c=1073741823}else{c=g<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[d+12>>2]=c;q[a>>2]=0;if(!f){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}b:{c:{if(g>>>0<6){break c}q[a+12>>2]=c+ -1;d=r[f|0]|r[f+1|0]<<8;d=(d<<24|d<<8&16711680)>>>16|0;if(d>>>0>1){break c}if(!(d-1)){if(g+ -6>>>0<26){break c}q[a+12>>2]=c+ -2;Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;break a}c=r[f+3|0];d=r[f+2|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8)!=20480){break b}break a}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271724,271749,195,271766);F()}if(q[b+4>>2]){q[b+4>>2]=0}return b}function Wv(a,b,c,d,e){var f=0,g=0;a:{if((b|0)!=1196445523){f=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;f=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;f=t[a+16>>2]<10?271312:q[a+12>>2]}a=271312;b=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0>=65537){a=r[f+10|0]|r[f+11|0]<<8|(r[f+12|0]<<16|r[f+13|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?a+f|0:271312}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(g){b=0;while(1){f=(b<<3)+a|0;f=r[f+8|0]|r[f+9|0]<<8|(r[f+10|0]<<16|r[f+11|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(E$(f?f+a|0:271312,c,d)){q[e>>2]=b;return}b=b+1|0;if((g|0)!=(b|0)){continue}break}}q[e>>2]=-1}function Bx(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}e=c-a|0;if(e>>>0<4){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0<13|e>>>0>>0){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;e=q[d+16>>2];d=e+c|0;q[b+8>>2]=d;if((e|0)<=-1){break a}c:{if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=a;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d-a|0;q[b+8>>2]=(d>>>0>c>>>0?c:d)+a}f=Ax(a,b);a=q[b+28>>2];c=q[a+12>>2];q[b+4>>2]=c;a=q[a+16>>2];q[b+8>>2]=a+c;if((a|0)<=-1){break a}}return f}I(228416,228441,195,228458);F()}function uv(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;b:{if(!g){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}g=r[a+1|0]|r[a|0]<<8;if(!g){break b}c=c+g|0;c:{if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0<6){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}f=c+4|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break c}q[b+12>>2]=e+ -4;if((e|0)<4){break c}f=1;g=r[c+5|0]|r[c+4|0]<<8;if(!g){break b}c=c+6|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=e+ -5;if((e|0)>4){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function _I(a,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:{d:{e:{g=b+ -15|0;if(g>>>0>8){break e}f=33;f:{switch(g-1|0){case 2:b=23;if(n[q[e+24>>2]](e,c,d,496747)){break a}b=24;if(!n[q[e+24>>2]](e,c,d,496753)){break d}break a;case 0:case 1:case 3:case 4:case 5:case 6:break e;case 7:break f;default:break b}}q[a>>2]=945;return 33}if((b|0)!=28){break c}f=59;if(!q[a+16>>2]){break b}break c}b=25;if(n[q[e+24>>2]](e,c,d,496756)){break a}b=26;if(n[q[e+24>>2]](e,c,d,496762)){break a}b=27;if(n[q[e+24>>2]](e,c,d,496694)){break a}b=28;if(n[q[e+24>>2]](e,c,d,496769)){break a}b=29;if(n[q[e+24>>2]](e,c,d,496778)){break a}b=30;if(n[q[e+24>>2]](e,c,d,496786)){break a}if(!n[q[e+24>>2]](e,c,d,496717)){break c}q[a>>2]=946;return 33}q[a>>2]=911;f=-1}return f|0}q[a>>2]=947;return b|0}function NT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=ab(1,8);a:{if(d){h=d;c=q[a+44>>2];b=0;b:{if((c|0)<1){break b}f=q[a+48>>2];e=c+ -1|0;c:{while(1){c=e+g>>>1|0;b=q[w(c,36)+f>>2];d:{if(b>>>0>=1919969383){e=c+ -1|0;break d}if((b|0)==1919969382){break c}g=c+1|0}if((g|0)<=(e|0)){continue}break}b=0;break b}b=q[(w(c,36)+f|0)+28>>2]}q[h>>2]=b;b=q[a+4>>2];e:{if((b|0)<=1315663726){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074){break e}break a}e=b+ -1298230884|0;if(e>>>0>5){if((b|0)==1299148391){break e}break a}switch(e-1|0){case 0:case 1:case 2:case 3:break a;default:break e}}if((b|0)<=1349020783){if((b|0)==1315663727|(b|0)==1349017959){break e}break a}if((b|0)==1400468067){break e}if((b|0)!=1349020784){break a}}a=Nt(a);q[d+4>>2]=a;if(a){break a}La(d)}d=0}return d|0}function rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{j=r[a+1|0]|r[a|0]<<8;f=b+1|0;if(j>>>0>=f>>>0){e=r[a+2|0];if(e){i=e;h=(w(e,f)+a|0)+3|0;c=h;while(1){d=r[c|0]|d<<8;c=c+1|0;i=i+ -1|0;if(i){continue}break}if(j>>>0>>0){break a}f=e;i=(w(b,e)+a|0)+3|0;c=i;while(1){g=r[c|0]|g<<8;c=c+1|0;f=f+ -1|0;if(f){continue}break}c=0;b=0;if(d>>>0>>0){break b}g=e;d=h;while(1){c=r[d|0]|c<<8;d=d+1|0;g=g+ -1|0;if(g){continue}break}d=(w(e,j)+a|0)+3|0;g=0;f=e;while(1){g=r[d|0]|g<<8;d=d+1|0;f=f+ -1|0;if(f){continue}break}a=c>>>0>g>>>0;c=0;b=0;if(a){break b}d=e;while(1){c=r[h|0]|c<<8;h=h+1|0;d=d+ -1|0;if(d){continue}break}h=0;while(1){h=r[i|0]|h<<8;i=i+1|0;e=e+ -1|0;if(e){continue}break}break c}if(j>>>0>=b>>>0){break c}break a}break a}b=c-h|0}return b}I(242971,242986,251,243008);F()}function Ws(a,b,c){var d=0,e=0,f=0;a:{if(c?0:b){break a}if(!a){return}if(!(o[a+9|0]&1)){break a}f=q[a+128>>2];d=q[f+32>>2];e=d+2|0;b:{if(e>>>0>2){break b}c:{switch(e-1|0){case 0:break b;case 1:break c;default:break a}}d=q[a+96>>2];e=q[q[d>>2]+32>>2];d:{if(!e){d=0;break d}d=n[e](d,273151)|0;f=q[a+128>>2]}q[f+32>>2]=d?d:-2}if(!d){break a}d=q[d+20>>2];if(!d){break a}b=(n[d](a,b,c)|0)+1|0;if(b>>>0>1|b-1){break a}e:{if(!(o[a+9|0]&1)){break e}d=q[a+128>>2];b=q[d+36>>2];c=b+2|0;f:{if(c>>>0>2){break f}g:{switch(c-1|0){case 0:break f;case 1:break g;default:break e}}b=q[a+96>>2];c=q[q[b>>2]+32>>2];h:{if(!c){b=0;break h}b=n[c](b,273165)|0;d=q[a+128>>2]}q[d+36>>2]=b?b:-2}if(!b){break e}b=q[b+28>>2];if(!b){break e}n[b](a)}b=q[a+120>>2];if(!b){break a}n[b](q[a+116>>2]);q[a+116>>2]=0}}function Vr(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a>>2];b=q[f+16>>2];a:{if((b|0)<1){break a}while(1){c=q[f+24>>2]+w(e,52)|0;if(q[c+44>>2]==(a|0)){Wr(c);d=q[q[c+44>>2]+16>>2];if(d){n[d](q[c+48>>2])}q[c+44>>2]=0;b=q[f+16>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}e=0;if((b|0)<1){break a}while(1){c=q[f+24>>2];d=c+w(e,52)|0;if(q[d+44>>2]){if((e|0)!=(g|0)){b=w(g,52)+c|0;c=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=c;q[b+48>>2]=q[d+48>>2];c=q[d+44>>2];q[b+40>>2]=q[d+40>>2];q[b+44>>2]=c;c=q[d+36>>2];q[b+32>>2]=q[d+32>>2];q[b+36>>2]=c;c=q[d+28>>2];q[b+24>>2]=q[d+24>>2];q[b+28>>2]=c;c=q[d+20>>2];q[b+16>>2]=q[d+16>>2];q[b+20>>2]=c;c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;b=q[f+16>>2]}g=g+1|0}e=e+1|0;if((e|0)<(b|0)){continue}break}}q[f+16>>2]=g;d=q[a+20>>2];if(d){n[d](q[a+40>>2])}La(a)}function OG(a,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=Da-32|0;Da=e;g=q[a+28>>2];q[e+16>>2]=g;d=q[a+20>>2];q[e+28>>2]=c;q[e+24>>2]=b;b=d-g|0;q[e+20>>2]=b;g=b+c|0;i=2;b=e+16|0;a:{b:{f=S(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[160942]=f;d=-1}d:{if(!d){while(1){d=q[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=q[b+4>>2];f=d>>>0>h>>>0;b=f?b+8|0:b;h=d-(f?h:0)|0;q[b>>2]=h+q[b>>2];q[b+4>>2]=q[b+4>>2]-h;g=g-d|0;i=i-f|0;f=S(q[a+60>>2],b|0,i|0,e+12|0)|0;d=0;e:{if(!f){break e}q[160942]=f;d=-1}if(!d){continue}break}}q[e+12>>2]=-1;if((g|0)!=-1){break b}}b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];a=c;break a}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=q[a>>2]|32;a=0;if((i|0)==2){break a}a=c-q[b+4>>2]|0}Da=e+32|0;return a|0}function Ao(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=n[q[a+596>>2]](a)|0;g=q[b>>2];a:{if(!g){break a}h=a+36|0;f=1;while(1){b=q[a+28>>2];if((b|0)<=1){if(r[a+565|0]){q[a+12>>2]=129}q[a+28>>2]=0;break a}d=b+ -2|0;q[a+28>>2]=d;c=b<<2;b=q[a+24>>2];e=s[(c+b|0)+ -4>>1];b:{if(e>>>0>1]){d=q[b+(d<<2)>>2];b=d>>>4&15;i=r[a+372|0]+ -113|0;c=b;c:{if(i>>>0>1){break c}c=b|16;if(i-1){break c}c=b|32}if((c+s[a+336>>1]|0)!=(j|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-s[a+338>>1];if(!(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40)){if((r[a+617|0]?r[a+616|0]:0)|(r[q[a+60>>2]+e|0]&16?0:!(s[a+304>>1]?r[a+564|0]:0))){break b}n[q[a+588>>2]](a,h,e,b);break b}n[q[a+588>>2]](a,h,e,b);break b}if(!r[a+565|0]){break b}q[a+12>>2]=134}f=f+1|0;if(f>>>0<=g>>>0){continue}break}}q[a+32>>2]=q[a+28>>2]}function qi(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;o[e+15|0]=0;o[e+14|0]=b;c=b>>>8|0;o[e+13|0]=c;d=b>>>16|0;o[e+12|0]=d;f=b>>>24|0;o[e+11|0]=f;a:{if(((f+ -48&255)>>>0>9?!((f|0)==32|((f&223)+ -65&255)>>>0<26):0)|((d+ -48&255)>>>0>9?!((d&255)==32|((d&223)+ -65&255)>>>0<26):0)){break a}if(((c+ -48&255)>>>0>9?!((c&255)==32|((c&223)+ -65&255)>>>0<26):0)|((b+ -48&255)>>>0>9?!((b&255)==32|((b&223)+ -65&255)>>>0<26):0)){break a}if(r[a|0]){b=Wa(a)+a|0;o[b|0]=32;o[b+1|0]=0}c=Wa(a)+a|0;b=r[448793]|r[448794]<<8|(r[448795]<<16|r[448796]<<24);d=r[448789]|r[448790]<<8|(r[448791]<<16|r[448792]<<24);o[c|0]=d;o[c+1|0]=d>>>8;o[c+2|0]=d>>>16;o[c+3|0]=d>>>24;o[c+4|0]=b;o[c+5|0]=b>>>8;o[c+6|0]=b>>>16;o[c+7|0]=b>>>24;b=r[448797]|r[448798]<<8;o[c+8|0]=b;o[c+9|0]=b>>>8;Eg(a,e+11|0)}Da=e+16|0}function Qx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;g=r[a+11|0]|r[a+10|0]<<8;a:{if(!g){break a}a=(w(r[a+9|0]|r[a+8|0]<<8,12)+a|0)+12|0;while(1){d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}d=r[a+2|0];if(d>>>7^(q[q[b+12>>2]+48>>2]&-2)==6?!(d&32):0){break b}e=d&64;c:{if(d&16){d=(e|0)!=0;e=q[b+12>>2];break c}d=e>>>6|0;e=q[b+12>>2];d=(d|0)!=((q[e+48>>2]&-3)==5|0)}i=q[b+4>>2];q[f+16>>2]=q[b+60>>2];if(!jd(e,i,228471,f+16|0)){break b}d:{if(d){_c(q[b+12>>2]);Sm(a,b);_c(q[b+12>>2]);break d}Sm(a,b)}d=q[b+4>>2];e=q[b+12>>2];q[f>>2]=q[b+60>>2];jd(e,d,228495,f);if(r[q[b+12>>2]+68|0]!=1){break a}}d=r[a+1|0];e=r[a|0];q[b+60>>2]=q[b+60>>2]+1;a=(d|e<<8)+a|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Da=f+32|0}function id(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+36>>2];if(c){b=q[a>>2];a:{if(c+b>>>0>=t[a+40>>2]){break a}while(1){b=b+1|0;q[a>>2]=b;b:{d=q[a+8>>2];e=q[a+4>>2];b=q[q[e+96>>2]+88>>2]+w(b,20)|0;c=s[b+12>>1];if(d&c&14){break b}if(c&8){if(!mf(e,q[b>>2],c,d)){break b}}c=0;d=s[b+16>>1];if(!(r[b+12|0]&32|(d&96)!=32|(r[a+12|0]?0:(d&543)==513))){c=(d&287)==257?r[a+13|0]<<1:2}c:{d:{e:{if(!(q[a+16>>2]&q[b+4>>2])){break e}d=q[a+32>>2];e=r[a+20|0];if((e|0)!=r[b+15|0]?e:0){break e}e=q[a+24>>2];if(!e){break d}if(n[e](q[b>>2],d,q[a+28>>2])){d=q[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}q[a+36>>2]=q[a+36>>2]+ -1;f=1;if(!d){break a}q[a+32>>2]=d+2;return 1}b=q[a>>2];if(b+q[a+36>>2]>>>0>2]){continue}break}}return f}I(228789,228803,450,228830);F()}function Yo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}h=6;a:{if(!b){break a}d=q[b+4>>2];if((d|0)<0){break a}f=q[b+8>>2];if((f|0)<0){break a}e=q[b>>2];if(e>>>0>4){break a}i=q[a+88>>2];q[q[i+40>>2]+12>>2]=0;j=q[q[a+96>>2]+12>>2];c=q[j+88>>2];if(c){return n[c](i,b)|0}b:{if((q[a+8>>2]&3)==2){h=7;if(e){break a}c=d;g=f;h=23;e=q[b+12>>2];if(e){c=(w(d,e)+36|0)/72|0}e=c;b=q[b+16>>2];if(b){g=(w(b,f)+36|0)/72|0}b=f?g:c;f=(d?e:b)+32&-64;if(!f){break a}g=(d?b:g)+32&-64;if(!g){break a}d=q[a+28>>2];if((d|0)<1){break a}e=q[a+32>>2];b=0;while(1){c=e+(b<<4)|0;if(!((q[c+8>>2]+32&-64)==(f|0)?(g|0)==(q[c+12>>2]+32&-64):0)){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}h=6;if((d|0)<=(b|0)){break a}c=q[j+92>>2];if(c){return n[c](i,b)|0}Jd(a,b);break b}Rf(a,b)}h=0}return h}function Ie(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=x(0);e=r[a+9|0]|r[a+8|0]<<8;a:{if(!e){break a}j=r[a+7|0]|r[a+6|0]<<8;k=a+12|0;g=e+ -1|0;while(1){b:{h=g+i>>>1|0;e=w(j,h)+k|0;f=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h+ -1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((i|0)<=(g|0)){continue}break a}break}b=a;a=r[a+11|0]|r[a+10|0]<<8;a=a?b+a|0:271312;b=r[e+5|0]|r[e+4|0]<<8;if((r[a+6|0]<<8|r[a+7|0])>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=b?b+a|0:271312;b=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);l=Vi(f,r[e+7|0]|r[e+6|0]<<8,c,d,a?b+a|0:271312)}return l}function iX(a,b){var c=0,d=0,e=0;a:{b:{if(r[b+16|0]){break b}c=q[b+12>>2];d=q[b+4>>2];if(c+4>>>0>d>>>0){break b}c:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break c}c=c+q[b>>2]|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);e=c>>>8&65280|c>>>24;d=q[a+4>>2];d:{if(d>>>0>2]){q[a+4>>2]=d+1;a=q[a+16>>2]+(d<<5)|0;break d}o[a|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=+(c<<8&16711680|c<<24|e)*152587890625e-16;if(r[b+16|0]){a=q[b+4>>2];break a}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break a}c=c+4|0;if(c>>>0>a>>>0){break a}q[b+12>>2]=c}return}o[b+16|0]=1;q[b+12>>2]=a}function gF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;f=q[a+4>>2]&2147418112;a:{if(d&16){if(!(r[a+9|0]&128?0:!f)){f=7;if(!(r[a+740|0]&16)){break a}}if(!c){f=0;break a}d=0;while(1){b:{if(r[a+292|0]){n[q[q[a+540>>2]+140>>2]](a,1,b+d|0,g+14|0,g+12|0);f=s[g+12>>1];break b}i=g;c:{if(s[a+372>>1]!=65535){f=p[a+442>>1];p[g+14>>1]=f;f=f-p[a+444>>1]|0;h=f>>31;f=h^f+h;break c}f=p[a+220>>1];p[g+14>>1]=f;f=f-p[a+222>>1]|0;h=f>>31;f=h^f+h}p[i+12>>1]=f}q[(d<<2)+e>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}f=0;break a}if(!(r[a+9|0]&128?0:!f)){f=7;if(!(r[a+740|0]&2)){break a}}f=0;if(!c){break a}d=0;while(1){n[q[q[a+540>>2]+140>>2]](a,0,b+d|0,g+10|0,g+8|0);q[(d<<2)+e>>2]=s[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}Da=g+16|0;return f|0}function VR(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;a:{if(q[a+80>>2]!=583){break a}g=q[q[a+76>>2]+4>>2];b=g;c=s[b+68>>1];e=q[b+88>>2];b=q[e+16>>2];d=V$(c,0,b,b>>31)+32768|0;b=Ea;b=d>>>0<32768?b+1|0:b;h=(b&65535)<<16|d>>>16;b=q[e+20>>2];d=V$(b,b>>31,c,0)+32768|0;b=Ea;b=d>>>0<32768?b+1|0:b;$l(a,h,(b&65535)<<16|d>>>16);q[f+12>>2]=0;if(Pl(g,f+12|0)){break a}c=q[f+12>>2];b=ab(q[c>>2],4);d=ab(q[c>>2],4);b:{if(!b|!d){break b}if(_R(g,q[c>>2],b)){break b}c:{i=q[f+12>>2];if(!q[i>>2]){break c}c=0;while(1){j=c<<2;h=b+j|0;e=q[h>>2]>>2;q[h>>2]=e;q[d+j>>2]=e;k=(e|0)!=0|k;c=c+1|0;e=q[i>>2];if(c>>>0>>0){continue}break}if(!(k&1)){break c}Qt(a,d,e);break b}Qt(a,0,0)}La(d);La(b);a=q[f+12>>2];b=q[q[g+84>>2]>>2];if(b){b=q[b>>2];if(a){n[q[b+8>>2]](b,a)}}}Da=f+16|0}function Mr(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[a+712>>2]=0;q[a+716>>2]=0;l=q[a+692>>2];a:{if((l|0)<1){b=.0078125;c=0;break a}n=q[a+688>>2];b=.0078125;while(1){e=w(j,336)+n|0;if(r[e+112|0]){g=q[a+696>>2]+w(f,24)|0;c=b*+(d|0);v[g+8>>3]=c;b=b*+(h|0);v[g>>3]=b;k=b+c+k;v[a+712>>3]=k;h=0;d=0;f=f+1|0;b=.0078125}g=q[e+168>>2];o=(d|0)>(g|0);m=q[e+164>>2];p=(h|0)>(m|0);b:{c:{e=q[e>>2];if(e>>>0>10){break c}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;default:break b}}b=.015625}d=o?d:g;h=p?h:m;j=j+1|0;if((l|0)!=(j|0)){continue}break}i=+(d|0);c=+(h|0)}if((q[a+700>>2]+ -1|0)!=(f|0)){I(355970,355697,1513,356005);F()}d=q[a+696>>2]+w(f,24)|0;i=b*i;v[d+8>>3]=i;c=b*c;v[d>>3]=c;v[a+712>>3]=c+i+k+v[a+40>>3]*+(f|0)}function rV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>715827881){break a}h=w(d,6);if(h){d=a+4|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!d){return 1}f=q[c>>2];g=q[b+32>>2];b=0;while(1){c=w(b,6)+a|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=g>>>0|(r[c+9|0]|r[c+8|0]<<8)>>>0>=f>>>0){break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}return 1}return 0}function cC(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=q[q[a+96>>2]+8>>2];q[a+20>>2]=0;q[a+24>>2]=0;d=q[a+100>>2];b=d;c=q[a+368>>2];if(c){n[q[b+8>>2]](b,c)}q[a+368>>2]=0;b=d;c=q[a+372>>2];if(c){n[q[b+8>>2]](b,c)}q[a+372>>2]=0;c=q[a+376>>2];if(c){n[q[b+8>>2]](b,c)}q[a+376>>2]=0;c=q[a+364>>2];if(c){n[q[b+8>>2]](b,c)}q[a+360>>2]=0;q[a+364>>2]=0;q[a+348>>2]=0;q[a+352>>2]=0;c=q[a+388>>2];if(c){n[q[b+8>>2]](b,c)}q[a+380>>2]=0;q[a+384>>2]=0;q[a+388>>2]=0;c=q[a+416>>2];if(c){n[q[b+8>>2]](b,c)}q[a+408>>2]=0;q[a+412>>2]=0;q[a+416>>2]=0;b=q[a+396>>2];if(b){n[q[d+8>>2]](d,b)}q[a+392>>2]=0;q[a+396>>2]=0;b=q[a+424>>2];if(b){while(1){c=q[b>>2];if(b){n[q[d+8>>2]](d,b)}b=c;if(b){continue}break}}q[a+428>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;b=q[a+32>>2];if(b){n[q[e+8>>2]](e,b)}q[a+32>>2]=0}}function Kf(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+36>>2];if(c){b=q[a>>2];a:{if(b>>>0<=c+ -1>>>0){break a}while(1){b=b+ -1|0;q[a>>2]=b;b:{d=q[a+8>>2];e=q[a+4>>2];b=q[q[e+96>>2]+92>>2]+w(b,20)|0;c=s[b+12>>1];if(d&c&14){break b}if(c&8){if(!mf(e,q[b>>2],c,d)){break b}}c=0;d=s[b+16>>1];if(!(r[b+12|0]&32|(d&96)!=32|(r[a+12|0]?0:(d&543)==513))){c=(d&287)==257?r[a+13|0]<<1:2}c:{d:{e:{if(!(q[a+16>>2]&q[b+4>>2])){break e}d=q[a+32>>2];e=r[a+20|0];if((e|0)!=r[b+15|0]?e:0){break e}e=q[a+24>>2];if(!e){break d}if(n[e](q[b>>2],d,q[a+28>>2])){d=q[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}q[a+36>>2]=q[a+36>>2]+ -1;f=1;if(!d){break a}q[a+32>>2]=d+2;return 1}b=q[a>>2];if(b>>>0>q[a+36>>2]+ -1>>>0){continue}break}}return f}I(228789,228803,477,229080);F()}function sb(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}b:{if(b+c>>>0>a>>>0){e=a+c|0;if(e>>>0>b>>>0){break b}}return Qa(a,b,c)}d=(a^b)&3;c:{d:{if(a>>>0>>0){if(d){d=a;break c}if(!(a&3)){d=a;break d}d=a;while(1){if(!c){break a}o[d|0]=r[b|0];b=b+1|0;c=c+ -1|0;d=d+1|0;if(d&3){continue}break}break d}e:{if(d){break e}if(e&3){while(1){if(!c){break a}c=c+ -1|0;d=c+a|0;o[d|0]=r[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break e}while(1){c=c+ -4|0;q[c+a>>2]=q[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c+ -1|0;o[c+a|0]=r[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break c}while(1){q[d>>2]=q[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){o[d|0]=r[b|0];d=d+1|0;b=b+1|0;c=c+ -1|0;if(c){continue}break}}return a}function PI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>23){break b}c=39;c:{switch(d-1|0){case 8:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=45;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 45;case 20:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=46;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 46;case 19:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=47;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 47;case 21:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=48;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 48;case 22:q[a>>2]=953;return 50;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break b;case 5:break c;default:break a}}q[a>>2]=953;return 49}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function xK(a,b,c,d,e){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=q[b>>2];h=f>>>0>>0;g=q[d>>2];a:{b:{if(g>>>0>=e>>>0|f>>>0>=c>>>0){break b}i=a+72|0;while(1){h=r[f|0];a=r[h+i|0]+ -5|0;c:{if(a>>>0<=2){d:{switch(a-1|0){default:a=1;if((c-f|0)<2){break a}p[g>>1]=r[f+1|0]&63|(h&31)<<6;g=g+2|0;f=f+2|0;break c;case 0:a=1;if((c-f|0)<3){break a}p[g>>1]=r[f+2|0]&63|((r[f+1|0]&63)<<6|h<<12);g=g+2|0;f=f+3|0;break c;case 1:break d}}a=2;if((e-g|0)<4){break a}a=1;if((c-f|0)<4){break a}a=(r[f+3|0]&63|((r[f+1|0]&63)<<12|(h&7)<<18|(r[f+2|0]&63)<<6))+ -65536|0;p[g+2>>1]=a&1023|56320;p[g>>1]=a>>>10|55296;g=g+4|0;f=f+4|0;break c}p[g>>1]=h<<24>>24;g=g+2|0;f=f+1|0}h=f>>>0>>0;if(g>>>0>=e>>>0){break b}if(f>>>0>>0){continue}break}}a=h?2:0}q[b>>2]=f;q[d>>2]=g;return a|0}function hj(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=q[a+52>>2];c=r[a+32|0];a:{b:{c:{if(c){break c}b=q[a+24>>2];if(b>>>0>=t[a+28>>2]){break c}if(t[a+56>>2]>2]){break b}}if(t[a+56>>2]>=t[a+60>>2]){d=d+1|0;q[a+52>>2]=d;e=-1;if(d>>>0>16){break a}b=a;if(d>>>0>2]){e=(1<>2]+1|0}q[b+60>>2]=e}if(c){q[a+60>>2]=256;q[a+52>>2]=9;o[a+32|0]=0;d=9}e=-1;if(q[a+4>>2]){break a}b=0;c=Gj(q[a+164>>2],a+8|0,d);q[a+24>>2]=0;f=c<<3;q[a+28>>2]=f;q[a+36>>2]=c+q[a+36>>2];g=q[a+52>>2];q[a+4>>2]=c>>>0>>0;if(f>>>0<=g>>>0){break a}q[a+28>>2]=(f|1)-g;if(!c){break a}}q[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=r[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a+ -8|0;e=r[c+1|0]<>2];a:{if(h>>>0>e>>>0|h>>>0<1|e>>>0<=b>>>0){break a}f=0;e=q[q[q[a+96>>2]+12>>2]+84>>2];if(!(!e|((c&983040)!=65536?!(c&3):0))){e=n[e](a,b,1,c,d)|0;if(!e){if(c&1){break a}a=q[a+88>>2];if(!a){return 36}c=q[a+(c&16?20:16)>>2];a=0;while(1){b=(a<<2)+d|0;i=b,j=bb(q[b>>2],c,64),q[i>>2]=j;a=a+1|0;if((a|0)!=1){continue}break}break a}f=e;if((e&255)!=7){break a}}f=7;if(c&536870912){break a}h=c&1?1:1024;e=c|256;if(!(c&16)){while(1){f=Yc(a,b+g|0,e);if(f){break a}q[(g<<2)+d>>2]=w(h,q[q[a+84>>2]+64>>2]);f=0;g=g+1|0;if((g|0)!=1){continue}break a}}while(1){f=Yc(a,b+g|0,e);if(f){break a}q[(g<<2)+d>>2]=w(h,q[q[a+84>>2]+68>>2]);f=0;g=g+1|0;if((g|0)!=1){continue}break}}return f}function RC(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;k=-1;a=q[a+8>>2];a:{if(!a){break a}i=q[a+8>>2];if(!i){break a}d=(i|0)<1;b=b*1e3;b:{if(y(b)<0x8000000000000000){j=~~b>>>0;g=y(b)>=1?b>0?~~A(C(b/4294967296),4294967295)>>>0:~~D((b- +(~~b>>>0>>>0))/4294967296)>>>0:0;break b}g=-2147483648}c:{if(d){f=-1;d=-1;break c}a=q[a+20>>2];f=-1;d=-1;while(1){e=q[a>>2];c=q[a+4>>2];d:{if((c|0)<(g|0)?1:(c|0)<=(g|0)?e>>>0>=j>>>0?0:1:0){c=c+q[a+12>>2]|0;h=e+q[a+8>>2]|0;if(h>>>0>>0){c=c+1|0}if((c|0)<(g|0)?1:(c|0)<=(g|0)?h>>>0>=j>>>0?0:1:0){break d}f=j;d=g;break c}l=e;e=(c|0)<(d|0)?1:(c|0)<=(d|0)?e>>>0>=f>>>0?0:1:0;h=(f|0)==-1&(d|0)==-1;f=h?l:e?l:f;d=h?c:e?c:d}a=a+56|0;m=m+1|0;if((i|0)!=(m|0)){continue}break}}k=(+(f>>>0)+4294967296*+(d|0))/1e3}return+k}function Qv(a,b,c,d){var e=0,f=x(0),g=0,h=x(0),i=0,j=0,k=x(0),l=0,m=0,n=0;if((r[a+3|0]|r[a+2|0]<<8)>>>0<=b>>>0){return x(0)}f=x(1);j=r[a+1|0]|r[a|0]<<8;a:{if(!j){break a}l=(w(w(b,j),6)+a|0)+4|0;while(1){b=0;b=i>>>0>>0?q[(i<<2)+c>>2]:b;h=f;e=w(i,6)+l|0;a=r[e+2|0]|r[e+3|0]<<8;a=(a<<24|a<<8&16711680)>>16;g=r[e|0]|r[e+1|0]<<8;g=(g<<24|g<<8&16711680)>>16;f=h;b:{if((a|0)<(g|0)){break b}e=r[e+4|0]|r[e+5|0]<<8;e=(e<<24|e<<8&16711680)>>16;f=h;if((e|0)<(a|0)){break b}if(!(!a|(g|0)>-1|(e|0)<=0)){f=h;break b}f=h;if(!a){break b}f=h;if((a|0)==(b|0)){break b}if((b|0)<=(g|0)){return x(0)}if((b|0)>=(e|0)){return x(0)}f=x(0);m=b-g|0;n=e-b|0;b=(b|0)<(a|0);k=x(x((b?m:n)|0)/x((b?a-g|0:e-a|0)|0));if(k==x(0)){break a}f=x(h*k)}i=i+1|0;if((j|0)!=(i|0)){continue}break}}return f}function kB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=Da-16|0;Da=d;a:{b:{if(On(a,b,c)){uh(b);e=b+132|0;f=uB(e,a);if((f&255)==7){break b}if(f){f=oB(e,a);if(f|(f&255)==7){break b}}q[b+104>>2]=e;q[b+172>>2]=a;if(On(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){uh(b);a=6;break a}c:{d:{e:{f:{a=q[b+180>>2];g:{if(!a){break g}c=q[b+176>>2];if(!c|(r[a|0]|32)!=105|((r[a+1|0]|32)!=115|(r[a+2|0]|32)!=111)){break g}a=a+3|0;if(!Ta(a,25376)){break f}if(!Ta(a,25382)){if(!Ta(c,25387)){break f}}if(!Ta(a,25389)){break e}}q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;break c}q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;break d}a=Ta(c,25398);q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;if(a){break c}}q[d+4>>2]=1970170211;q[d+8>>2]=65539}a=md(25404,0,d,0);break a}uh(b);a=2}Da=d+16|0;return a|0}function XA(a,b,c,d){a=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=q[b>>2];if(!d){return 35}if(t[d+16>>2]>c>>>0){b=q[d+140>>2];f=s[b+96>>1];e=q[b+56>>2];if(c){b=c+ -1|0}else{b=q[d+148>>2]}b=e+w(b,36)|0;g=s[b+10>>1];c=p[b+20>>1];e=p[b+16>>1];h=q[b+24>>2];i=s[b+14>>1];j=s[b+12>>1];q[a+84>>2]=q[b+28>>2];q[a+80>>2]=j;q[a+76>>2]=i;ok(a,h);b=f+ -1|0;a:{if(b>>>0>7){break a}b:{switch(b-1|0){default:o[a+94|0]=1;break a;case 0:o[a+94|0]=3;break a;case 2:o[a+94|0]=4;break a;case 1:case 3:case 4:case 5:break a;case 6:break b}}p[a+92>>1]=256;o[a+94|0]=2}q[a+104>>2]=c;q[a+100>>2]=e;q[a+72>>2]=1651078259;q[a+40>>2]=g<<6;q[a+36>>2]=c<<6;q[a+32>>2]=e<<6;q[a+24>>2]=q[a+80>>2]<<6;q[a+28>>2]=q[a+76>>2]<<6;Sf(a+24|0,s[q[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0} -function Xs(a,b,c){var d=0,e=0,f=0;a:{if(c?0:b){break a}if(!a){return}if(!(o[a+9|0]&1)){break a}f=q[a+128>>2];d=q[f+32>>2];e=d+2|0;b:{if(e>>>0>2){break b}c:{switch(e-1|0){case 0:break b;case 1:break c;default:break a}}d=q[a+96>>2];e=q[q[d>>2]+32>>2];d:{if(!e){d=0;break d}d=n[e](d,273151)|0;f=q[a+128>>2]}q[f+32>>2]=d?d:-2}if(!d){break a}d=q[d+20>>2];if(!d){break a}b=(n[d](a,b,c)|0)+1|0;if(b>>>0>1|b-1){break a}e:{if(!(o[a+9|0]&1)){break e}d=q[a+128>>2];b=q[d+36>>2];c=b+2|0;f:{if(c>>>0>2){break f}g:{switch(c-1|0){case 0:break f;case 1:break g;default:break e}}b=q[a+96>>2];c=q[q[b>>2]+32>>2];h:{if(!c){b=0;break h}b=n[c](b,273165)|0;d=q[a+128>>2]}q[d+36>>2]=b?b:-2}if(!b){break e}b=q[b+28>>2];if(!b){break e}n[b](a)}b=q[a+120>>2];if(!b){break a}n[b](q[a+116>>2]);q[a+116>>2]=0}}function Wr(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=q[a>>2];b=q[f+16>>2];a:{if((b|0)<1){break a}while(1){c=q[f+24>>2]+w(e,52)|0;if(q[c+44>>2]==(a|0)){Xr(c);d=q[q[c+44>>2]+16>>2];if(d){n[d](q[c+48>>2])}q[c+44>>2]=0;b=q[f+16>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}e=0;if((b|0)<1){break a}while(1){c=q[f+24>>2];d=c+w(e,52)|0;if(q[d+44>>2]){if((e|0)!=(g|0)){b=w(g,52)+c|0;c=q[d+4>>2];q[b>>2]=q[d>>2];q[b+4>>2]=c;q[b+48>>2]=q[d+48>>2];c=q[d+44>>2];q[b+40>>2]=q[d+40>>2];q[b+44>>2]=c;c=q[d+36>>2];q[b+32>>2]=q[d+32>>2];q[b+36>>2]=c;c=q[d+28>>2];q[b+24>>2]=q[d+24>>2];q[b+28>>2]=c;c=q[d+20>>2];q[b+16>>2]=q[d+16>>2];q[b+20>>2]=c;c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;b=q[f+16>>2]}g=g+1|0}e=e+1|0;if((e|0)<(b|0)){continue}break}}q[f+16>>2]=g;d=q[a+20>>2];if(d){n[d](q[a+40>>2])}La(a)}function Nr(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[a+712>>2]=0;q[a+716>>2]=0;l=q[a+692>>2];a:{if((l|0)<1){b=.0078125;c=0;break a}n=q[a+688>>2];b=.0078125;while(1){e=w(j,336)+n|0;if(r[e+112|0]){g=q[a+696>>2]+w(f,24)|0;c=b*+(d|0);v[g+8>>3]=c;b=b*+(h|0);v[g>>3]=b;k=b+c+k;v[a+712>>3]=k;h=0;d=0;f=f+1|0;b=.0078125}g=q[e+168>>2];o=(d|0)>(g|0);m=q[e+164>>2];p=(h|0)>(m|0);b:{c:{e=q[e>>2];if(e>>>0>10){break c}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;default:break b}}b=.015625}d=o?d:g;h=p?h:m;j=j+1|0;if((l|0)!=(j|0)){continue}break}i=+(d|0);c=+(h|0)}if((q[a+700>>2]+ -1|0)!=(f|0)){I(355970,355697,1513,356005);F()}d=q[a+696>>2]+w(f,24)|0;i=b*i;v[d+8>>3]=i;c=b*c;v[d>>3]=c;v[a+712>>3]=c+i+k+v[a+40>>3]*+(f|0)} +function vA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(!Gn(d)){return-26}e=q[d+548>>2];a:{while(1){if(e>>>0>1){continue}b:{if(e-1){g=q[d+64>>2];f=q[d+52>>2];e=q[d+184>>2];i=q[d+12>>2];h=32-i|0;j=q[d+20>>2]+(h>>>3|0)|0;e=(j|0)>(e|0)?e:j;g=(e+f|0)>(g|0)?g-f|0:e;e=f+q[d+96>>2]|0;c:{if(h>>>0<8){f=g;break c}f=g;if(!f){break c}while(1){o[e|0]=q[d+8>>2]>>>i;h=q[d+12>>2];i=h+8|0;q[d+12>>2]=i;e=e+1|0;f=f+ -1|0;if(!f){break c}if(24-h>>>0>7){continue}break}}Qa(e,q[d+16>>2],f);q[d+20>>2]=q[d+20>>2]-f;q[d+16>>2]=q[d+16>>2]+f;f=g+q[d+52>>2]|0;q[d+52>>2]=f;g=q[d+184>>2]-g|0;q[d+184>>2]=g;if((f|0)<1<>2]){break b}q[d+548>>2]=1}e=sh(d,a,b,c,0);if((e|0)!=1){break a}if(q[d+64>>2]==1<>2]){q[d+60>>2]=q[d+56>>2]}e=0;q[d+548>>2]=0;continue}break}e=g?2:1}return e}function lW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-48|0;Da=c;h=a,i=Mi(b),q[h+8>>2]=i;d=If(b+60|0);d=t[d+16>>2]<36?271312:q[d+12>>2];q[a+4>>2]=r[d+34|0]<<8|r[d+35|0];Mb(b);d=Jb(b,1752003704);e=ub(d);if(q[e+16>>2]>-1){f=q[e+12>>2];Pa(e);if(f){if(q[d+4>>2]){q[d+4>>2]=0}}q[a+12>>2]=d;e=q[a+4>>2];f=e<<2;g=d?d:271312;d=q[g+16>>2];if(f>>>0>d>>>0){e=d>>>2|0;q[a+4>>2]=e;f=d&-4}q[a>>2]=(d-f>>>1|0)+e;if(!e){q[a>>2]=0;q[a+4>>2]=0;Pa(g);q[a+12>>2]=0;q[a+12>>2]=271312}q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;h=a,i=su(c+8|0,Jb(b,1213612370)),q[h+16>>2]=i;Da=c+48|0;return}I(242848,242873,195,242890);F()}function iW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-48|0;Da=c;h=a,i=Mi(b),q[h+8>>2]=i;d=Hf(b+88|0);d=t[d+16>>2]<36?271312:q[d+12>>2];q[a+4>>2]=r[d+34|0]<<8|r[d+35|0];Mb(b);d=Jb(b,1986884728);e=ub(d);if(q[e+16>>2]>-1){f=q[e+12>>2];Pa(e);if(f){if(q[d+4>>2]){q[d+4>>2]=0}}q[a+12>>2]=d;e=q[a+4>>2];f=e<<2;g=d?d:271312;d=q[g+16>>2];if(f>>>0>d>>>0){e=d>>>2|0;q[a+4>>2]=e;f=d&-4}q[a>>2]=(d-f>>>1|0)+e;if(!e){q[a>>2]=0;q[a+4>>2]=0;Pa(g);q[a+12>>2]=0;q[a+12>>2]=271312}q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;h=a,i=su(c+8|0,Jb(b,1448493394)),q[h+16>>2]=i;Da=c+48|0;return}I(242848,242873,195,242890);F()}function YM(a,b,c,d){a=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,q=0,r=0,s=0;a:{if(!c){break a}j=d+5>>>1|0;if(!j){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}f=d<<4;while(1){d=0;i=0;while(1){m=d>>>0>>0?(d<<1)+b|0:438160;e=d|16;n=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -16|0;o=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -32|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -48|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -64|0;s=e>>>0>>0?(e<<1)+b|0:438160;h=0;while(1){e=h<<1;k=p[e+o>>1]+p[e+q>>1]|0;l=p[e+m>>1]+p[e+r>>1]|0;p[a+e>>1]=((l+((p[e+n>>1]+(p[e+s>>1]+l|0)>>1)+k>>>1|0)>>>1|0)+k|0)+2>>>2;h=h+1|0;if((h|0)!=16){continue}break}d=d+32|0;a=a+32|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}b=(f<<1)+b|0;g=g+16|0;if(g>>>0>>0){continue}break}}}function GC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=3;d=q[a+32>>2];a:{if(!d){break a}b=q[d+364>>2];if(!b){break a}c=160;if(r[b+557|0]){break a}f=d;b:{c:{c=q[q[a+16>>2]>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,c,0,0)>>16;break b}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break b}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break b}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break b}b=0;if(t[a+8>>2]<=c+4>>>0){break b}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}a=q[a+8>>2];if(d>>>0<=250){b=0;if(a>>>0<=e>>>0){break b}b=(r[e|0]|d<<8)+ -63124|0;break b}b=0;if(a>>>0<=e>>>0){break b}b=64148-(r[e|0]|d<<8)|0}q[f+360>>2]=b;c=0}return c|0}function IY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=q[c+8>>2];d=r[a+1|0];f=r[a|0];i=d<<1|f<<9;if(4294967295/(h>>>0)>>>0<=i>>>0?h:0){break a}i=w(h,i);if(i){d=a+2|0;if(j>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}f=r[a|0];d=r[a+1|0]}g=f<<8|d;f=q[c>>2];if(!(!g|r[f+1|0]<16)){d=a+4|0;e=0;while(1){if(!ug(f,b,a,d)){break a}d=(h<<1)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}h=q[c+8>>2];f=q[c>>2]}k=1;if(!g|r[f+3|0]<16){break a}f=f+2|0;c=q[c+4>>2];d=(c|0)<0?271312:((c<<1)+a|0)+4|0;e=0;while(1){if(!ug(f,b,a,d)){return 0}d=(h<<1)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return k}function PN(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,p=0,s=0,t=0,u=0;a:{if((b|0)<1){break a}s=255;while(1){m=d+h|0;f=r[m|0];g=f&24;b:{if((g|0)==16){break b}i=255;i=q[(h<<2)+a>>2]&1052672?i:r[c+h|0];t=f&4;c:{d:{e:{f:{g:{if(j){e=s&255;k=(e|0)==255|(e|0)==(i|0)|(i|0)==255;e=k?j:0;k=k^1;if(g){break e}g=i&1?1:2;n=g;if(!e){break g}if(f&g){break f}k=1;break d}j=0;if(g){break c}k=0;n=i&1?1:2}e=n;j=0;if(!t){break d}o[m|0]=f&(e^-1);break d}f=p+1|0;if((f|0)>=(h|0)){break d}j=g|l;while(1){g=d+f|0;o[g|0]=j|r[g|0];f=f+1|0;if((f|0)!=(h|0)){continue}break}}j=e}if(!u|!k){break c}e=d+p|0;o[e|0]=r[e|0]&(l^-1)}e=r[m|0];if(e&24){break b}l=i&1?2:1;j=(e&l)!=0;u=t;s=i;p=h}h=h+1|0;if((h|0)!=(b|0)){continue}break}if(!u|!j){break a}a=d+p|0;o[a|0]=r[a|0]&(l^-1)}}function Hs(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=Za(65536e3,b<<16);if((g|0)>=655){m=q[a+52>>2];h=q[a+44>>2];f=q[a+40>>2];i=q[a+36>>2];j=q[a+32>>2];k=q[a+28>>2];n=q[a+24>>2];l=q[a+48>>2];a=l<<16;b=c<<16;e=(b|0)>262144?b:262144;c=z(e);if((d|0)<1){b=4915200}else{b=Ma(d<<16,g)}if((62-(c+z(b)|0)|0)<46){a=Ma(b,e)}c=n<<16;a:{if((a|0)<(c|0)){a=Za(k<<16,e);break a}b:{c:{d:{d=j<<16;e:{if((a|0)<(d|0)){a=Za(c,e);c=j-n|0;if(!c){break e}a=bb(b-a|0,i-k|0,c)+Za(k<<16,e)|0;break a}c=f<<16;if((a|0)>=(c|0)){break d}}a=Za(d,e);c=f-j|0;if(!c){c=f<<16;break c}a=bb(b-a|0,h-i|0,c)+Za(i<<16,e)|0;break a}if((a|0)>=l<<16){break b}}a=Za(c,e);c=l-f|0;if(!c){break b}a=bb(b-a|0,m-h|0,c)+Za(h<<16,e)|0;break a}a=Za(m<<16,e)}a=Za(a,g)+32768>>16}else{a=0}return a}function ff(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(q[a+188>>2]){break b}i=q[a+180>>2];if(q[a+184>>2]?0:!i){break b}f=q[a+156>>2];c:{g=q[a+192>>2]+(q[a+160>>2]-q[a+172>>2]<<2)|0;e=q[g>>2];d:{if(!e){break d}h=q[e>>2];if((h|0)>(f|0)){break d}while(1){d=e;if((f|0)==(h|0)){break c}e=q[d+12>>2];if(e){h=q[e>>2];if((h|0)<=(f|0)){continue}}break}g=d+12|0}d=q[a+204>>2];if((d|0)>=q[a+200>>2]){break a}q[a+204>>2]=d+1;d=q[a+196>>2]+(d<<4)|0;q[d+8>>2]=i;q[d>>2]=f;q[d+4>>2]=q[a+184>>2];q[d+12>>2]=q[g>>2];q[g>>2]=d;break b}q[d+8>>2]=q[d+8>>2]+i;q[d+4>>2]=q[d+4>>2]+q[a+184>>2]}q[a+180>>2]=0;q[a+184>>2]=0;q[a+160>>2]=c;d=q[a+164>>2];q[a+156>>2]=(d|0)>(b|0)?d+ -1|0:b;e=1;q[a+188>>2]=q[a+176>>2]<=(c|0)|q[a+172>>2]>(c|0)?e:q[a+168>>2]<=(b|0);return}P(a|0,1);F()}function Ex(a,b,c,d,e){var f=0,g=0,h=0,i=x(0),j=x(0),k=x(0);h=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);g=(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))+e|0;a=r[a+3|0]|r[a+2|0]<<8;h=a>>>0>b>>>0;f=h?g+(b<<2)|0:271312;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);j=x(x(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))*x(152587890625e-16));f=b+1|0;a=a>>>0>f>>>0;g=a?g+(f<<2)|0:271312;g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);k=x(x(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))*x(152587890625e-16));i=x(0);a:{if(j==k){break a}i=x(x(c-j)/x(k-j))}c=i;d=(r[d+7|0]|r[d+6|0]<<8)+e|0;a=a?d+(f<<1)|0:271312;a=r[a|0]|r[a+1|0]<<8;i=x(c*x((a<<24|a<<8&16711680)>>16));a=h?d+(b<<1)|0:271312;a=r[a|0]|r[a+1|0]<<8;return x(i+x(x(x(1)-c)*x((a<<24|a<<8&16711680)>>16)))}function nW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;f=q[a+4>>2];a:{b:{if((f|0)==65536){g=258;break b}if((f|0)!=131072){break a}f=q[a+8>>2];g=r[f|0]<<8|r[f+1|0];if(!g){break a}}if((c|0)<=-1){c=Wa(b)}if(!c){break a}f=q[a+28>>2];c:{if(f){break c}i=g<<1;while(1){e=0;f=Sa(i);if(!f){break a}while(1){p[(e<<1)+f>>1]=e;e=e+1|0;if((g|0)!=(e|0)){continue}break}cu(f,g,a);e=q[a+28>>2];q[a+28>>2]=e?e:f;if(!e){break c}La(f);f=q[a+28>>2];if(!f){continue}break}}e=0;q[h+8>>2]=0;q[h+4>>2]=c;q[h>>2]=b;if((g|0)<1){break a}e=g+ -1|0;c=0;d:{while(1){g=c+e|0;b=g>>>1|0;g=gV(h,(g&-2)+f|0,a);e:{if((g|0)<=-1){e=b+ -1|0;break e}if(!g){break d}c=b+1|0}if((c|0)<=(e|0)){continue}break}e=0;break a}e=1;a=(b<<1)+f|0;if(!a){e=0;break a}q[d>>2]=s[a>>1]}Da=h+16|0;return e}function vI(a,b,c,d){a=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=Da-16|0;Da=f;i=q[a+296>>2];a:{if(!i){e=23;break a}g=q[i+12>>2];j=q[g+8>>2];h=q[g+4>>2];e=h+q[g+12>>2]|0;q[f+12>>2]=e;j=j+h|0;b:{if(r[g+33|0]){h=q[a+224>>2];h=n[q[h>>2]](h,e,j,f+12|0)|0;e=_f(a,q[a+224>>2],e,j,h,q[f+12>>2],f+12|0,0,1);break b}e=We(a,q[i+16>>2],q[a+224>>2],e,j,f+12|0,0)}if(e){break a}e=q[f+12>>2];if(!((e|0)==(j|0)|q[a+476>>2]!=3)){q[g+12>>2]=e-q[g+4>>2];e=0;break a}o[g+32|0]=0;q[a+296>>2]=q[i+8>>2];q[i+8>>2]=q[a+300>>2];q[a+300>>2]=i;if(r[g+33|0]){q[a+276>>2]=965;e=q[a+144>>2];e=n[q[e>>2]](e,b,c,f+12|0)|0;e=_f(a,q[a+144>>2],b,c,e,q[f+12>>2],d,!r[a+480|0],1);break a}q[a+276>>2]=966;e=We(a,q[a+472>>2]!=0,q[a+144>>2],b,c,d,!r[a+480|0])}Da=f+16|0;return e|0}function gM(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return 0}b=q[a+4>>2];d=q[a>>2];if(!d){a=b>>31;return a+b^a}a=d>>31;a=a+d^a;if(b){c=a;a=b>>31;e=c|a+b^a;a=z(e);a:{if(e>>>0<=1073741823){e=a+ -2|0;a=b<>b;b=d>>b}d=0-b|0;b:{if((a|0)>(b|0)){c=(a|0)>(d|0);b=c?d:0-a|0;d=c?a:d;break b}c=(a|0)<(d|0);d=c?0-a|0:b;b=c?b:a}a=1;c=1;while(1){f=a+b>>c;c:{if((b|0)>=1){b=b-(a+d>>c)|0;d=d+f|0;break c}b=(a+d>>c)+b|0;d=d-f|0}a=a<<1;c=c+1|0;if((c|0)!=23){continue}break}a=d>>31;b=a+d^a;c=b&65535;a=w(c,56281);f=b>>>16|0;b=a+w(f,23318)|0;g=b<<16;c=g+w(c,23318)|0;a=(((w(f,56281)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(c>>>0>>0)|0)+(c>>>0>3221225471)|0;a=(d|0)<0?0-a|0:a;if((e|0)>=1){return a+(1<>e}a=a<<0-e}return a}function l_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=a+4|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0<2){break a}c=d+ -2|0;q[b+12>>2]=c;if((d|0)<2){break a}i=r[a+5|0];j=r[a+4|0];e=i|j<<8;if(e){c=a+6|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=d+ -3|0;q[b+12>>2]=c;if((d|0)<3){break a}i=r[a+5|0];j=r[a+4|0];g=i|j<<8}e=r[a+3|0]|r[a+2|0]<<8;if(e>>>0>g>>>0){return 0}e=g+e|0;d=r[a+1|0]|r[a|0]<<8;if(!(!e|4294967295/(e>>>0)>>>0>d>>>0)){return 0}g=1;d=w(d,e);if(!d){break a}a=((i<<1|j<<9)+a|0)+6|0;if(h>>>0>a>>>0){return 0}if(f>>>0>>0){return 0}g=0;if(f-a>>>0>>0){break a}q[b+12>>2]=c+ -1;g=(c|0)>0}return g}function PS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];h=g+ -1|0;q[b+12>>2]=h;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}h=g+ -2|0;q[b+12>>2]=h;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}g=e;e=1;a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=d+1|0;c:{if(a>>>0<=1){if(a-1){break c}break a}a=c+g|0;if(i>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0){break c}q[b+12>>2]=h+ -1;if((h|0)>0){break a}}e=0}return e}function PZ(a,b){var c=0,d=0,e=0,f=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;d=1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;b:{if(c>>>0>1){break b}if(c-1){if(!Tb(a+2|0,b,a)){break a}a=a+4|0;if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=0;if(c-a>>>0<2){break b}a=q[b+12>>2];q[b+12>>2]=a+ -1;return(a|0)>0}if(!Tb(a+2|0,b,a)){break a}e=q[b+4>>2];c=a+4|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+5|0]|r[a+4|0]<<8;if(f){a=a+6|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;d=0;if((c|0)<2){break b}}d=1}return d}return 0}function tx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e){if(f>>>0>>0|j>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=q[d>>2];if(d>>>0>1073741822){return 0}if(d){c=c+i|0;if(j>>>0>c>>>0){return 0}if(f>>>0>>0){return 0}i=0;if(f-c>>>0>>0){break a}q[b+12>>2]=g+ -1;if((g|0)<=0){break a}a=0;while(1){if(!Le(c+(a<<2)|0,b,c)){break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}i=1}return i}function SM(a,b,c,d){a=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,q=0,r=0;a:{if(!c){break a}k=d+4|0;if(!k){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}f=d<<4;while(1){d=0;j=0;while(1){l=d>>>0>>0?(d<<1)+b|0:438160;e=d+ -16|0;m=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -32|0;n=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -48|0;o=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -64|0;q=e>>>0>>0?(e<<1)+b|0:438160;i=0;while(1){e=i<<1;h=s[e+n>>1];r=a+e|0;h=h+((h+((s[e+l>>1]+s[e+q>>1]&65534)>>>1|0)&65534)>>>1|0)|0;e=s[e+m>>1]+s[e+o>>1]|0;p[r>>1]=(((h+e&65534)>>>1|e&h&32768)+1&65534)>>>1;i=i+1|0;if((i|0)!=16){continue}break}d=d+16|0;a=a+32|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}b=(f<<1)+b|0;g=g+16|0;if(g>>>0>>0){continue}break}}}function mY(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0,k=0,l=0;f=Da-16|0;Da=f;g=q[b+88>>2];j=q[g+52>>2];b=q[g+48>>2];q[f+4>>2]=0;q[f>>2]=0;k=d;a:{b:{i=0;c:{if(!(b|j)){break c}d=r[a+7|0];i=r[a+6|0];q[f+4>>2]=0;q[f>>2]=0;l=d|i<<8;d=q[g+72>>2];i=0;if(!n[q[d+204>>2]](g,q[g+76>>2],c,l,f+4|0,f,q[d+68>>2])){break c}Mf(g,c,f+12|0,f+8|0);c=q[f+4>>2]-q[f+12>>2]|0;q[f+4>>2]=c;q[f>>2]=q[f>>2]-q[f+8>>2];if(b){break b}i=1}d=i;b=r[a+2|0]|r[a+3|0]<<8;h=x(x(q[g+20>>2])*x((b<<24|b<<8&16711680)>>16));c=q[g+16>>2];b=q[c+28>>2];if(!b){b=xb(c)}h=x(h/x(b>>>0));break a}d=1;h=x(c|0)}u[k>>2]=h;if(!j|!d){a=r[a+4|0]|r[a+5|0]<<8;h=x(x(q[g+24>>2])*x((a<<24|a<<8&16711680)>>16));b=q[g+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}h=x(h/x(a>>>0))}else{h=x(q[f>>2])}u[e>>2]=h;Da=f+16|0}function Dv(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;b:{if(c>>>0>1){break b}if(c-1){c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)>=3){break b}break a}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)<3){break a}}g=1}return g}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,r=0,s=0,t=0;a:{if(b){d=q[b>>2];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return}e=q[b+8>>2];f=Sa(d<<3);q[a+16>>2]=f;g=Sa(e);q[a+20>>2]=g;if(!(g?f:0)){La(f);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+12>>2]=e;q[a+4>>2]=d;d=0;q[a+8>>2]=0;q[a>>2]=0;e=q[b>>2];if(e){k=q[b+16>>2];l=v[c+40>>3];m=v[c+32>>3];n=v[c+24>>3];o=v[c+16>>3];p=v[c+8>>3];r=v[c>>3];while(1){c=d<<3;h=c+f|0;c=c+k|0;i=+q[c>>2];j=+q[c+4>>2];s=h,t=gc(l+(n*i+m*j)),q[s+4>>2]=t;s=h,t=gc(o+(r*i+p*j)),q[s>>2]=t;d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(g,c,b);q[a+8>>2]=b;q[a>>2]=e}function yj(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,r=0;a:{if(b>>>0>c>>>0){break a}f=q[a+12>>2];if(f>>>0<=d>>>0|f>>>0<=e>>>0){break a}l=q[a+4>>2];f=q[a+8>>2];i=q[f+(d<<3)>>2];j=q[f+(e<<3)>>2];g=(i|0)>(j|0);k=(g?d:e)<<3;h=q[l+k>>2];f=q[a>>2];k=q[k+f>>2];n=h-k|0;e=(g?e:d)<<3;d=q[e+l>>2];m=q[e+f>>2];o=d-m|0;e=g?i:j;g=g?j:i;if(!((e|0)==(g|0)|(d|0)==(h|0))){p=e-g|0;r=h-d|0;i=0;j=0;while(1){h=b<<3;e=q[h+f>>2];b:{if((e|0)<=(m|0)){f=e+o|0;break b}if((e|0)>=(k|0)){f=e+n|0;break b}if(!i){j=Za(r,p);i=1}f=Ma(q[h+q[a+8>>2]>>2]-g|0,j)+d|0;l=q[a+4>>2]}q[h+l>>2]=f;b=b+1|0;if(b>>>0>c>>>0){break a}f=q[a>>2];continue}}while(1){e=b<<3;a=q[e+f>>2];q[e+l>>2]=(a|0)>(m|0)?(a|0)<(k|0)?d:a+n|0:a+o|0;b=b+1|0;if(b>>>0<=c>>>0){continue}break}}}function ut(a){var b=0,c=0,d=0,e=0;a:{if(!a|!q[a>>2]){break a}b:{if(q[a>>2]>0){b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+204>>2];if(!b){break b}while(1){c=q[b+4>>2];Wl(q[b>>2]);La(b);b=c;if(b){continue}break}break b}I(271220,271245,279,271280);F()}_x(a+48|0);b=q[a+20>>2];if(b){n[b](q[a+16>>2])}La(a)}}function ds(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,r=0;q[d>>2]=0;if(!(!(e|f)|(a|0)<655)){a:{if(!f){g=0;break a}n=q[g+28>>2];i=q[g+20>>2];h=q[g+16>>2];j=q[g+12>>2];k=q[g+8>>2];l=q[g+4>>2];o=q[g>>2];r=d;m=q[g+24>>2];f=m<<16;g=Ma(c+e|0,a);if((62-(z(b)+z(g)|0)|0)<46){f=Ma(g,b)}c=f;f=o<<16;b:{if((c|0)<(f|0)){b=Za(l<<16,b);break b}c:{d:{e:{p=k<<16;f:{if((c|0)<(p|0)){c=Za(f,b);f=k-o|0;if(!f){break f}b=bb(g-c|0,j-l|0,f)+Za(l<<16,b)|0;break b}f=h<<16;if((c|0)>=(f|0)){break e}}c=Za(p,b);f=h-k|0;if(!f){f=h<<16;break d}b=bb(g-c|0,i-j|0,f)+Za(j<<16,b)|0;break b}if((c|0)>=m<<16){break c}}c=Za(f,b);f=m-h|0;if(!f){break c}b=bb(g-c|0,n-i|0,f)+Za(i<<16,b)|0;break b}b=Za(n<<16,b)}q[r>>2]=b;g=Za(b,a<<1);q[d>>2]=g}q[d>>2]=((e|0)/2|0)+g}}function yb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=-1;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}c=c+ -1|0;while(1){d=c+f|0;e=d>>>1|0;d=(d&-2)+a|0;d=r[d+4|0]<<8|r[d+5|0];b:{if(d>>>0>b>>>0){c=e+ -1|0;break b}if((b|0)==(d|0)){break a}f=e+1|0}if((f|0)<=(c|0)){continue}break}return-1}d=271704;c=r[a+3|0]|r[a+2|0]<<8;c:{if(!c){break c}c=c+ -1|0;while(1){d:{g=c+f>>>1|0;h=w(g,6)+a|0;e:{if((r[h+4|0]<<8|r[h+5|0])>>>0>b>>>0){c=g+ -1|0;break e}if((r[h+7|0]|r[h+6|0]<<8)>>>0>=b>>>0){break d}f=g+1|0}if((f|0)<=(c|0)){continue}break c}break}d=(w(g,6)+a|0)+4|0}a=r[d+1|0]|r[d|0]<<8;if(a>>>0>(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}e=(b-a|0)+(r[d+5|0]|r[d+4|0]<<8)|0}return e}function Vv(a,b,c){var d=0;a:{c=c+ -1|0;b:{if(c>>>0>7){break b}c:{switch(c-1|0){default:return I_(a,b);case 0:if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}return H_(a,b);case 3:return G_(a,b);case 4:return F_(a,b);case 5:if((r[a+1|0]|r[a|0]<<8)!=1){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);return Vv(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8);case 6:break c}}if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}c=a;a=r[a+3|0]|r[a+2|0]<<8;d=(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}return d}c=a;a=r[a+3|0]|r[a+2|0]<<8;return(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}function ti(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=q[a+8>>2];g=h+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){f=c+d>>1;e=q[(f<<3)+g>>2]-b|0;if(!e){break a}i=(e|0)<0;c=i?f+1|0:c;d=i?d:f+ -1|0;if((c|0)<=(d|0)){continue}break}c=e>>>31|0}f=c+f^-1}if((f|0)<=-1){c=q[a+4>>2];c:{if(((a?q[a>>2]+1|0:1)|0)<(c|0)){break c}d=c+16|0;d:{e:{if(c){c=d<<3;e=db(g,c);if(e){break d}e=Sa(c);if(e){break e}return 0}e=Sa(d<<3);if(e){break d}return 0}Qa(e,g,q[a>>2]<<3)}h=e-a|0;q[a+8>>2]=h;c=q[a+4>>2];if((d|0)<=(c|0)){break c}Na((c<<3)+e|0,0,d-c<<3);while(1){c=c+1|0;if((d|0)!=(c|0)){continue}break}q[a+4>>2]=d}f=f^-1;c=(a+h|0)+(f<<3)|0;sb(c+8|0,c,q[a>>2]-f<<3);q[a>>2]=q[a>>2]+1;q[c+4>>2]=0;q[c>>2]=b;g=q[a+8>>2]+a|0}return g+(f<<3)|0}function qt(a){var b=0,c=0,d=0,e=0,f=0;d=q[a+40>>2];if(!d){return}q[a+40>>2]=q[d+20>>2];b=q[a+4>>2];q[d+20>>2]=0;q[d+4>>2]=b;c=q[d>>2];q[a+4>>2]=c;b=b-c|0;a:{if(!b){if(!q[d+12>>2]){break a}I(270917,270899,223,270936);F()}c=q[a+8>>2]-b|0;q[a+8>>2]=c;sb(c,q[d>>2],b);c=q[a+8>>2];q[d>>2]=c;q[d+4>>2]=b+c;b:{c:{c=q[a+44>>2];if((c|0)>=0){f=q[a+48>>2];b=f+1|0;e=(b|0)>0?b:0;if(c>>>0>=e>>>0){b=c;break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=e>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=db(q[a+52>>2],b<<2);if(c){break c}}q[a+44>>2]=-1}q[160744]=d;return}q[a+44>>2]=b;q[a+52>>2]=c;f=q[a+48>>2]}if(e>>>0>f>>>0){Na(q[a+52>>2]+(f<<2)|0,0,e-f<<2);b=q[a+44>>2]}q[a+48>>2]=e;q[(q[a+52>>2]+(e<<2)|0)+ -4>>2]=d;if((b|0)<0){break a}}}function mh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}if(j>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}d=q[d>>2];q[i+12>>2]=d;c=c+h|0;b:{if(j>>>0>c>>>0|f>>>0>>0|f-c>>>0<8){break b}q[b+12>>2]=g+ -3;if((g|0)<3){break b}f=d;d=c+2|0;if(!uw(c+4|0,b,f,d)){break b}if(tw(c+8|0,b,r[c+1|0]|r[c|0]<<8,i+12|0,d)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;e=1}Da=i+16|0;return e}function $v(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=b-q[a>>2]|0;a=q[c+24>>2];a:{b:{if((a|0)<1){break b}f=d>>>9|0;g=q[c+28>>2];a=a+ -1|0;b=0;while(1){c:{e=a+b>>>1|0;h=f-q[(e<<3)+g>>2]|0;d:{if((h|0)<=-1){a=e+ -1|0;break d}if(!h){break c}b=e+1|0}if((b|0)<=(a|0)){continue}break b}break}b=q[((e<<3)+g|0)+4>>2];a=271312;e:{if(t[c+36>>2]<=b>>>0){break e}a=q[c+40>>2];if(!a){break b}a=a+(b<<6)|0}b=1;a=a+(d>>>3&56)|0;g=q[a>>2];e=q[a+4>>2];f=d&63;a=f&31;if((32<=(f&63)>>>0?e>>>a|0:((1<>>a)&1){break a}}b=0;if((d|0)==-1|r[c+12|0]!=1){break a}q[c+16>>2]=-1;a=ac(c,d);if(!a){break a}c=a+(d>>>3&56)|0;a=c;e=q[a+4>>2];f=a;g=q[a>>2];d=d&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=g|c;q[a+4>>2]=d|e}return b}function vu(a,b,c,d){var e=0,f=0,g=0;e=Da-96|0;Da=e;f=0;a:{if(t[a+4>>2]<=c>>>0){break a}b:{f=q[b+60>>2];if(!f){break b}g=f;f=q[pm(q[a+16>>2]+120|0)>>2];f=f?f:271312;f=t[f+16>>2]<20?271312:q[f+12>>2];if((g|0)!=(r[f+4|0]<<8|r[f+5|0])){break b}q[e+88>>2]=-8388609;q[e+80>>2]=2139095039;q[e+84>>2]=-8388609;q[e+72>>2]=0;q[e+76>>2]=2139095039;q[e+68>>2]=d;q[e+64>>2]=b;if(d){q[e+84>>2]=-8388609;q[e+88>>2]=-8388609;q[e+76>>2]=2139095039;q[e+80>>2]=2139095039}q[e+32>>2]=q[e+88>>2];d=q[e+84>>2];q[e+24>>2]=q[e+80>>2];q[e+28>>2]=d;d=q[e+76>>2];q[e+16>>2]=q[e+72>>2];q[e+20>>2]=d;d=q[e+68>>2];q[e+8>>2]=q[e+64>>2];q[e+12>>2]=d;f=qm(a,b,c,e+8|0);break a}lm(e+40|0,a,c);f=1;if(!q[e+60>>2]){break a}f=hW(q[e+56>>2],b,q[e+52>>2],d)}Da=e+96|0;return f}function kV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;g=1;if((d|0)<1){break a}f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;b:{if(f>>>0>2){break b}c:{d:{switch(f-1|0){default:q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=c+1|0;if(c>>>0>1073741822){break a}if(!c){break c}a=a+8|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;g=0;if((d|0)>=3){break c}break b;case 0:break b;case 1:break d}}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=c+1|0;if(c>>>0>2147483646){break a}if(!c){break c}a=a+8|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;g=0;if((d|0)<3){break b}}g=1}return g}return 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,h=0;if(b>>>0>>0){if((c-b|0)<1){return-1}g=a+72|0;e=b;while(1){a:{b:{c:{h=r[r[e|0]+g|0]+ -2|0;if(h>>>0>19){break c}f=2;d:{switch(h-1|0){case 3:f=3;break b;case 4:f=4;break b;case 0:if((b|0)!=(e|0)){break a}return hi(a,b+1|0,c,d)|0;default:q[d>>2]=e;return 0;case 7:if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 7;case 6:if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7;case 2:break b;case 1:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 18:break d}}if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 39}f=1}e=e+f|0;if((c-e|0)>0){continue}}break}q[d>>2]=e;a=6}else{a=-4}return a|0}function JA(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;l=q[a+8>>2];e=l;m=q[a+12>>2];f=m;n=q[a>>2];g=n;a:{o=q[a+4>>2];i=o;if(32-i>>>0<=15){e=l;g=n;h=o;f=m;while(1){if(!f){break a}d=g>>>8|0;q[a>>2]=d;g=r[e|0];f=f+ -1|0;q[a+12>>2]=f;i=h+ -8|0;q[a+4>>2]=i;e=e+1|0;q[a+8>>2]=e;g=d|g<<24;q[a>>2]=g;d=40-h|0;h=i;if(d>>>0<16){continue}break}}h=i+16|0;q[a+4>>2]=h;j=b+ -16|0;b:{if(16-i>>>0>=j>>>0){d=h;b=g;break b}b=g;while(1){if(!f){break a}k=b>>>8|0;q[a>>2]=k;b=r[e|0];f=f+ -1|0;q[a+12>>2]=f;d=h+ -8|0;q[a+4>>2]=d;e=e+1|0;q[a+8>>2]=e;b=k|b<<24;q[a>>2]=b;k=40-h|0;h=d;if(k>>>0>>0){continue}break}}q[a+4>>2]=d+j;q[c>>2]=g>>>i&65535|(q[(j<<2)+29200>>2]&b>>>d)<<16;return 1}q[a+12>>2]=m;q[a+8>>2]=l;q[a>>2]=n;q[a+4>>2]=o;return 0}function rx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b+4>>2];c=a+4|0;a:{if(d>>>0>c>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<12|d>>>0>a>>>0|(e>>>0>>0|e-a>>>0>>0)){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+9|0]|r[a+8|0]<<8;g=0;b:{if(!c){break b}g=d;d=a+12|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -3;if((f|0)<3){break a}g=w(r[a+9|0]|r[a+8|0]<<8,12)}h=g;c=r[a+11|0]|r[a+10|0]<<8;if(!c){return 1}a=(a+h|0)+12|0;d=0;while(1){if(!px(a,b)){return 0}a=(r[a+1|0]|r[a|0]<<8)+a|0;h=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function $S(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!ct(a,b)){break a}e=q[a+24>>2];if((e|0)!=q[b+24>>2]){break a}if(e){g=q[b+20>>2];h=q[a+20>>2];while(1){c=f<<4;d=c+h|0;c=c+g|0;if(q[d>>2]!=q[c>>2]){return 0}if(q[d+4>>2]!=q[c+4>>2]){return 0}b:{c:{if(!q[d+8>>2]){d=q[d+12>>2];if(!q[c+8>>2]){break c}if((d|0)!=-1){break b}return 0}if(q[c+8>>2]|q[c+12>>2]!=-1){break b}return 0}if(!((d|0)==-1^q[c+12>>2]==-1)){break b}return 0}f=f+1|0;if((e|0)!=(f|0)){continue}break}}if((r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24))!=(r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24))|(r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24))!=(r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24))){break a}i=q[a+36>>2]==q[b+36>>2]}return i}function im(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=r[a|0];a:{if(d>>>0>2){break a}b:{switch(d-1|0){default:if(!b|c>>>0<2){break a}d=1;a=a+1|0;while(1){e=(a+(d<<1)|0)+ -2|0;if((r[e|0]<<8|r[e+1|0])==(b|0)){return d}d=d+1|0;if((d|0)!=(c|0)){continue}break}break a;case 0:if(!b|c>>>0<2){break a}d=1;g=a+1|0;while(1){a=g+w(e,3)|0;f=r[a+2|0];a=r[a+1|0]|r[a|0]<<8;if(!(a>>>0>b>>>0|a+f>>>0>>0)){return(b+d|0)-a|0}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}break a;case 1:break b}}if(!b|c>>>0<2){break a}f=1;while(1){d=(e<<2)+a|0;g=r[d+3|0];c:{h=r[d+2|0]|r[d+1|0]<<8;if(h>>>0>b>>>0){d=r[d+4|0]|g<<8;break c}d=r[d+4|0]|g<<8;if(h+d>>>0>>0){break c}i=(b+f|0)-h|0;break a}e=e+1|0;f=(d+f|0)+1|0;if(f>>>0>>0){continue}break}}return i}function n_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;g=1;if((c|0)<1){break a}b:{c:{e=r[a+4|0]|r[a+5|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;if(e+ -1>>>0>=3){if((e|0)!=32768){break b}if(f>>>0<=a>>>0){break c}break a}if(d>>>0>>0|f>>>0>a>>>0){break a}d=d-a|0;if(d>>>0<6){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}f=r[a+5|0]|r[a+4|0]<<8;d:{if(f+ -1>>>0>2){break d}e=r[a+3|0]|r[a+2|0]<<8;a=r[a+1|0]|r[a|0]<<8;if(e>>>0>>0){break d}a=(e-a>>>4-f<<1)+8|0;if(!a){break b}g=0;if(d>>>0>>0){break b}}q[b+12>>2]=c+ -3;return(c|0)>2}if(d>>>0>>0){break a}g=0;if(d-a>>>0<6){break b}q[b+12>>2]=c+ -2;g=(c|0)>1}return g}return 0}function IS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<3){break a}e=q[b+12>>2];f=e+ -1|0;q[b+12>>2]=f;if((e|0)<1){break a}k=g;i=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);h=0;b:{if(!i){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}f=e+ -2|0;q[b+12>>2]=f;if((e|0)<2){break a}h=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16)}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=f+ -1;j=1;if((f|0)<1){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c+1|0;if(e>>>0<=1){if(e-1){break c}break a}a=a+4|0;if(g>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=f+ -2;if((f|0)>1){break a}}j=0}return j}function $a(a,b,c,d){var e=0,f=0,g=0,h=0;if(b){f=q[a- -64>>2];a:{b:{c:{h=q[a+60>>2];if((h|0)>=0){e=f+1|0;g=(e|0)>0?e:0;if(h>>>0>=g>>>0){break b}e=h;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>153391688)){f=db(q[a+68>>2],w(e,28));if(f){break c}f=q[a+64>>2]}q[a+60>>2]=-1}q[160750]=q[67834];e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break a}q[a+60>>2]=e;q[a+68>>2]=f;f=q[a+64>>2]}if(g>>>0>f>>>0){Na(q[a+68>>2]+w(f,28)|0,0,w(g-f|0,28))}q[a+64>>2]=g;f=g;e=(q[a+68>>2]+w(f,28)|0)+ -28|0}q[e+12>>2]=c;q[e+8>>2]=d;q[e+4>>2]=f;q[e>>2]=b;q[e+16>>2]=0-(c&1)&d;q[e+20>>2]=q[a+52>>2];q[e+24>>2]=q[a+56>>2]}}function Hi(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,r=0;k=e>>8;if((d|0)==(f|0)){ff(a,k,b);return}p=e&255;g=c&255;l=c>>8;if((l|0)!=(k|0)){i=f-d|0;m=1;h=a;e=e-c|0;a:{if((e|0)>=1){n=256;c=256-g|0;break a}e=0-e|0;m=-1;c=g}j=w(c,i);c=(j|0)/(e|0)|0;r=h;j=j-w(c,e)|0;o=j>>31;h=c+o|0;q[r+184>>2]=h+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(h,g|n);c=l+m|0;ff(a,c,b);d=d+h|0;if((c|0)!=(k|0)){h=i<<8;g=(h|0)/(e|0)|0;h=h-w(e,g)|0;i=h>>31;l=(i&e)+h|0;i=g+i|0;g=(e&o)+j|0;while(1){g=g+l|0;h=i+((g|0)>=(e|0))|0;q[a+184>>2]=h+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+(h<<8);c=c+m|0;ff(a,c,b);g=g-((g|0)<(e|0)?0:e)|0;d=d+h|0;if((c|0)!=(k|0)){continue}break}}g=256-n|0}b=f-d|0;q[a+184>>2]=b+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(b,g+p|0)}function GI(a,b,c,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=Da-1040|0;Da=g;a:{b:{if(n[r[a+232|0]?961:962](a+148|0,a+144|0,q[a+228>>2])){f=q[a+144>>2];break b}h=18;f=q[a+124>>2];if(!f){break a}i=q[a+228>>2];e=Na(g,255,1024);q[e+1032>>2]=0;q[e+1024>>2]=0;q[e+1028>>2]=0;c:{if(n[f](q[a+244>>2],i,e)){f=n[q[a+12>>2]](1908)|0;q[a+236>>2]=f;if(!f){a=q[e+1032>>2];if(a){n[a](q[e+1024>>2])}h=1;break a}f=n[r[a+232|0]?963:964](f,e,q[e+1028>>2],q[e+1024>>2])|0;if(f){break c}}a=q[e+1032>>2];if(!a){break a}n[a](q[e+1024>>2]);break a}q[a+240>>2]=q[e+1024>>2];e=q[e+1032>>2];q[a+144>>2]=f;q[a+248>>2]=e}q[a+276>>2]=965;q[g>>2]=b;e=n[q[f>>2]](f,b,c,g)|0;h=_f(a,q[a+144>>2],b,c,e,q[g>>2],d,!r[a+480|0],1)}Da=g+1040|0;return h|0}function mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-32|0;Da=e;if(r[643740]&2){Ua(486128,0);Dk(a);Ua(486139,0);Dk(b);Gb(10)}f=1;c=q[a+4>>2];d=q[b+4>>2];c=c>>>0>>0?c:d;a:{if((c|0)>=1){c=(c|0)<8?c:8;i=(c|0)>1?c:1;c=0;while(1){d=c<<2;g=q[(d+b|0)+8>>2]&(q[(a+d|0)+8>>2]^-1);if(g){j=c<<5;d=0;while(1){b:{if(!(g>>>d&1)){break b}h=(r[(d+j|0)+485300|0]<<5)+449308|0;if(Iq(a,h)){break b}f=0;if(!(r[643740]&2)){break a}q[e+16>>2]=h;Ua(486150,e+16|0);break a}d=d+1|0;if((d|0)!=32){continue}break}}c=c+1|0;if((i|0)!=(c|0)){continue}break}}b=q[b>>2];if(!b){break a}b=Ic(b);if(!b){break a}c:{while(1){c=Qb(b);if(!c){break c}if(Iq(a,c)){continue}break}f=0;if(!(r[643740]&2)){break c}q[e>>2]=c;Ua(486170,e)}Zb(b)}Da=e+32|0;return f}function QH(a,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=Da-32|0;Da=e;pc(e+16|0,a);pc(e,b);d=-1;a=q[e+16>>2]+ -1|0;a:{if(a>>>0>8){break a}b:{c:{switch(a-1|0){default:f=+q[e+24>>2];h=f;break b;case 0:f=v[e+24>>3];h=f;break b;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break c}}a=q[e+24>>2];h=v[a+8>>3];f=v[a>>3]}a=q[e>>2]+ -1|0;if(a>>>0>8){break a}d:{e:{switch(a-1|0){default:d=+q[e+8>>2];g=d;break d;case 0:d=v[e+8>>3];g=d;break d;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break e}}a=q[e+8>>2];g=v[a+8>>3];d=v[a>>3]}i=d;f:{if(h>2]=2;v[c+8>>3]=((f>d?f:d)+(h>3]=i;q[c>>2]=2;i=y(d-h);d=y(f-g);d=i>2];i=b+1|0;d=q[a+4>>2];if(i>>>0>d>>>0){break b}if(b>>>0>=d>>>0){o[a+16|0]=1;g=k;break f}g=r[b+q[a>>2]|0];if(f){break f}q[a+12>>2]=i;f=0;break e}b=g&15;break d}o[a+16|0]=1;q[a+12>>2]=d;f=1}b=(g&240)>>>4|0}d=b+ -13|0;if(d>>>0>2){break c}g:{switch(d-1|0){case 1:break g;case 0:break c;default:break b}}q[c+12>>2]=c+16;if(!ey(c+12|0,(c+16|0)+e|0,c)){break b}j=v[c>>3];break a}o[(c+16|0)+e|0]=r[b+243018|0];h:{if((b|0)!=12){b=e;break h}b=e+1|0;if((b|0)==32){break b}o[(c+16|0)+b|0]=45}e=b+1|0;h=h+1|0;if(b>>>0<31){continue}}break}o[a+16|0]=1}j=0}Da=c+48|0;return j}function fv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=445;q[a>>2]=b;q[a+16>>2]=0;d=b;b=(b+2|0)+(r[b+3|0]<<1|r[b+2|0]<<9)|0;b=r[b+3|0]|r[b+2|0]<<8?b+4|0:271312;b=r[b|0]<<8|r[b+1|0];mc(b?d+b|0:271312,a+8|0)}function BL(a,b){var c=0,d=0,e=0,f=0,g=0;e=Da-32|0;Da=e;c=Wa(a);f=Wa(b);d=0;a:{if((c|0)<(f|0)){break a}d=1;while(1){g=c;b:{if(!d){break b}q[e+20>>2]=a;q[e+16>>2]=0;q[e+4>>2]=b;q[e>>2]=0;while(1){c:{c=Jc(e+16|0,0);d=Jc(e,0);if(!c){break c}if((c|0)==(d|0)){continue}}break}if(d?(c|0)!=(d|0):0){break b}d=a;if((f|0)==(g|0)){break a}c=r[a+f|0];d=a;if(c>>>0<48){break a}if(c>>>0<58){break b}d=a;if(c>>>0<65){break a}if(c>>>0<91){break b}d=a;if(c>>>0<97){break a}if((c+ -123&255)>>>0>=4){break b}d=a;break a}d=1;c=r[a|0];d:{if(c>>>0<48){break d}e:{if(c>>>0<58){break e}if(c>>>0<65){break d}if(c>>>0<91){break e}if(c>>>0<97|(c+ -123&255)>>>0<4){break d}}d=0}c=g+ -1|0;a=a+1|0;if((g|0)>(f|0)){continue}break}d=0}Da=e+32|0;return d}function Na(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;o[d+ -1|0]=b;o[a|0]=b;if(c>>>0<3){break a}o[d+ -2|0]=b;o[a+1|0]=b;o[d+ -3|0]=b;o[a+2|0]=b;if(c>>>0<7){break a}o[d+ -4|0]=b;o[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=w(b&255,16843009);q[e>>2]=b;c=c-d&-4;d=c+e|0;q[d+ -4>>2]=b;if(c>>>0<9){break a}q[e+8>>2]=b;q[e+4>>2]=b;q[d+ -8>>2]=b;q[d+ -12>>2]=b;if(c>>>0<25){break a}q[e+24>>2]=b;q[e+20>>2]=b;q[e+16>>2]=b;q[e+12>>2]=b;q[d+ -16>>2]=b;q[d+ -20>>2]=b;q[d+ -24>>2]=b;q[d+ -28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){q[b+24>>2]=f;q[b+28>>2]=d;q[b+16>>2]=f;q[b+20>>2]=d;q[b+8>>2]=f;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=d;b=b+32|0;c=c+ -32|0;if(c>>>0>31){continue}break}}return a}function Gd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+76>>2])}Gd(q[a+12>>2]);ut(q[a+16>>2]);hd(q[a+72>>2]);La(q[a+64>>2]);La(q[a+68>>2]);La(a)}return}I(250950,250975,279,251010);F()}function lR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{if(q[a+4>>2]){break a}d=6;b:{if(q[a+12>>2]!=1){break b}g=q[a>>2];c=q[a+28>>2];if(c){q[(q[a+36>>2]+(c<<4)|0)+ -4>>2]=b}h=c+1|0;d=q[a+32>>2];c:{if(h>>>0<=d>>>0){f=q[a+36>>2];break c}q[e+8>>2]=0;i=c+8&-8;f=Oa(g,16,d,i,q[a+36>>2],e+8|0);q[a+36>>2]=f;d=q[e+8>>2];if(d){break b}q[a+32>>2]=i}c=(c<<4)+f|0;q[c+12>>2]=0;q[c>>2]=0;q[a+28>>2]=h;c=q[a- -64>>2];if(c){q[(q[a+72>>2]+(c<<4)|0)+ -4>>2]=b}f=c+1|0;b=q[a+68>>2];d:{if(f>>>0<=b>>>0){b=q[a+72>>2];break d}q[e+12>>2]=0;d=g;g=c+8&-8;b=Oa(d,16,b,g,q[a+72>>2],e+12|0);q[a+72>>2]=b;d=q[e+12>>2];if(d){break b}q[a+68>>2]=g}b=(c<<4)+b|0;q[b+12>>2]=0;q[b>>2]=0;q[a+64>>2]=f;break a}q[a+4>>2]=d}Da=e+16|0}function cf(a){var b=0,c=0,d=0,e=0;Fe(a);a:{if(q[a+12>>2]>0){break a}c=q[a>>2];d=c+ -1|0;e=q[a+8>>2];b:{c:{while(1){b=c;if(b>>>0>=e>>>0){break b}c=b+1|0;q[a>>2]=c;b=r[b|0]+ -9|0;if(b>>>0>50){continue}d:{switch(b-1|0){case 16:break b;case 49:break c;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 17:case 18:case 19:case 20: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:continue;case 0:case 3:break d;default:break a}}break}q[a+12>>2]=2;return d}q[a+12>>2]=1;return d}q[a+12>>2]=3}return d}function eE(a,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=Da-1536|0;Da=f;a:{b:{if(d&16){if(!c){break b}d=0;Na(e,0,c<<2);break a}d=n[q[q[q[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,q[a+424>>2],q[a+532>>2],0,0,84)|0;if(d){break a}o[f+76|0]=0;o[f+78|0]=1;q[f+1372>>2]=q[a+404>>2];q[f+1376>>2]=q[a+408>>2];q[f+1380>>2]=q[a+412>>2];q[f+1384>>2]=q[a+416>>2];q[f+1504>>2]=q[a+548>>2];q[f+1508>>2]=q[a+544>>2];d=0;if(!c){break a}a=0;while(1){o[f+1527|0]=0;g=(a<<2)+e|0;c:{if(!Ch(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=q[q[q[f+12>>2]+128>>2]+52>>2];if(d){n[q[q[d>>2]+4>>2]](q[d+4>>2],f+1528|0)}d=q[f+48>>2];d=(((d>>31)+d|0)+32768&-65536)>>16;break c}d=0}q[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Da=f+1536|0;return d|0}function Ov(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=q[57211];q[e+8>>2]=q[57210];q[e+12>>2]=c;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=a+6|0;while(1){f=r[c+1|0]|r[c|0]<<8;Kv(f?f+a|0:271312,b,e+8|0);c=c+2|0;d=d+ -1|0;if(d){continue}break}break a;case 0:c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=r[a+5|0];d=r[a+4|0];q[e+8>>2]=433;c=c|d<<8;q[e+12>>2]=c?c+a|0:271312;d=r[a+7|0]|r[a+6|0]<<8;if(!d){break a}c=a+8|0;while(1){f=r[c+1|0]|r[c|0]<<8;Kv(f?f+a|0:271312,b,e+8|0);c=c+2|0;d=d+ -1|0;if(d){continue}break}break a;case 1:break b}}S_(a,b)}Da=e+16|0}function Jv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,p=0;g=r[a+1|0];h=r[a|0];l=(g<<1|h<<9)+a|0;d=l;e=r[d+3|0]|r[d+2|0]<<8;i=(d+2|0)+(e?e<<1:2)|0;j=r[i+1|0];m=r[i|0];k=(j<<1|m<<9)+i|0;o=r[k+2|0];p=r[k+3|0];f=q[c>>2];d=g|h<<8;if(d){g=q[c+4>>2];h=q[b+4>>2];a=a+2|0;while(1){n[f](h,a,g);a=a+2|0;d=d+ -1|0;if(d){continue}break}f=q[c>>2]}d=m<<8|j;a:{if(!e){break a}e=e+ -1|0;if(!e){break a}a=l+4|0;j=q[c+8>>2];g=q[b+8>>2];while(1){n[f](g,a,j);a=a+2|0;e=e+ -1|0;if(e){continue}break}f=q[c>>2]}if(d){a=i+2|0;c=q[c+12>>2];e=q[b+12>>2];while(1){n[f](e,a,c);a=a+2|0;d=d+ -1|0;if(d){continue}break}}c=o<<8|p;if(c){d=k+4|0;a=0;while(1){f=d+(a<<2)|0;Ui(b,r[f+2|0]<<8|r[f+3|0]);a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function yf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[a+4>>2];b=h>>31;b=b^b+h;i=q[a>>2];c=i>>31;d=c^c+i;if(!d){if(!b){return 0}q[a+4>>2]=(h|0)<0?-65536:65536;return b}if(!b){q[a>>2]=(i|0)<0?-65536:65536;return d}c=d>>>0>b>>>0?d+(b>>>1|0)|0:b+(d>>>1|0)|0;e=z(c);e=e-(c>>>0<-1431655766>>>e>>>0?15:16)|0;a:{if((e|0)>=1){d=d<>>0>b>>>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=(w(c,d)>>16)+d|0;g=(w(b,c)>>16)+b|0;j=w((w(f,f)+w(g,g)|0)/-512|0,c+65536>>8);c=((j|0)/65536|0)+c|0;if((j|0)>65535){continue}break}q[a+4>>2]=(h|0)<0?0-g|0:g;q[a>>2]=(i|0)<0?0-f|0:f;a=((w(d,f)+w(b,g)|0)/65536|0)+65536|0;if((e|0)>=1){return a+(1<>>e|0}return a<<0-e}function Kp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-48|0;Da=d;pc(d+32|0,a);pc(d+16|0,b);e=-1;a=q[d+32>>2]+ -3|0;a:{if(a>>>0>5){break a}b:{c:{switch(a-1|0){case 4:a=q[d+16>>2]+ -3|0;if(a>>>0>5){break a}d:{switch(a-1|0){case 4:a=HL(q[d+40>>2],q[d+24>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break d}}a=ni(q[d+40>>2],q[d+24>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break c}}a=q[d+16>>2]+ -3|0;if(a>>>0>5){break a}e:{switch(a-1|0){case 4:a=ni(q[d+24>>2],q[d+40>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break e}}a=Td(q[d+40>>2],q[d+24>>2])}pc(d,b);b=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=b;b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;e=a?(a|0)==1?1:2:0}Da=d+48|0;return+e}function tj(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=q[b+4>>2]+(c<<4)|0;c=q[j+4>>2];if(!c){return 0}n=q[j+12>>2]+(w(c,d)<<1)|0;while(1){a:{if(!s[b+8>>1]){d=65536;break a}c=q[q[b+16>>2]+(q[q[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){e=d;f=q[c+4>>2];h=q[c>>2];d=e;b:{if((f|0)<(h|0)){break b}i=q[c+8>>2];d=e;if((i|0)<(f|0)){break b}d=e;if(!f){break b}d=e;if((h|0)<0&(i|0)>0){break b}g=q[q[q[a+736>>2]+8>>2]+(l<<2)>>2];d=e;if((g|0)==(f|0)){break b}d=0;if((g|0)<=(h|0)|(i|0)<=(g|0)){break a}if((g|0)<(f|0)){d=bb(e,g-h|0,f-h|0);break b}d=bb(e,i-g|0,i-f|0)}c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=Ma(d,s[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}return m+32768>>16}function op(a,b,c,d,e,f){var g=0;g=Da-80|0;Da=g;a:{if((f|0)>=16384){Eb(g+32|0,b,c,d,e,0,0,0,2147352576);d=q[g+40>>2];e=q[g+44>>2];b=q[g+32>>2];c=q[g+36>>2];if((f|0)<32767){f=f+ -16383|0;break a}Eb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)+ -32766|0;d=q[g+24>>2];e=q[g+28>>2];b=q[g+16>>2];c=q[g+20>>2];break a}if((f|0)>-16383){break a}Eb(g- -64|0,b,c,d,e,0,0,0,65536);d=q[g+72>>2];e=q[g+76>>2];b=q[g+64>>2];c=q[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}Eb(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=q[g+56>>2];e=q[g+60>>2];b=q[g+48>>2];c=q[g+52>>2]}Eb(g,b,c,d,e,0,0,0,f+16383<<16);b=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=b;b=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=b;Da=g+80|0}function mc(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){f=r[a+3|0]|r[a+2|0]<<8;if(!f){return}d=q[b>>2];a=a+4|0;c=a;while(1){d=1<<((r[c+1|0]|r[c|0]<<8)>>>4&31)|d;q[b>>2]=d;c=c+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}d=q[b+4>>2];e=0;c=a;while(1){d=1<<(r[c+1|0]&31)|d;q[b+4>>2]=d;c=c+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=q[b+8>>2];d=0;while(1){c=1<<(r[a|0]>>>1&31)|c;q[b+8>>2]=c;a=a+2|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}d=r[a+3|0]|r[a+2|0]<<8;if(!d){return}if(!lv(a+4|0,b)){break a}c=1;while(1){if((c|0)==(d|0)){return}e=w(c,6);f=(r[a+3|0]|r[a+2|0]<<8)>>>0>c>>>0;c=c+1|0;if(lv(f?(a+e|0)+4|0:271704,b)){continue}break}}}function FF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Wa(c);f=b+18|0;a:{b:{if((b|0)<=-18){a=6;if(f){break a}a=0;break b}a=q[a>>2];a=n[q[a+4>>2]](a,f)|0;if(!a){return 64}Na(a,0,f)}f=Qa(a,c,b);b=f+b|0;a=r[4324]|r[4325]<<8;o[b+16|0]=a;o[b+17|0]=a>>>8;a=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);c=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[b+12|0]=a;o[b+13|0]=a>>>8;o[b+14|0]=a>>>16;o[b+15|0]=a>>>24;a=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);c=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;q[d>>2]=f;q[e>>2]=0;a=0}return a|0}function tS(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=d+f;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{b:{if(f>>>0<54){break b}q[a+12>>2]=c+ -1;if((r[d+1|0]|r[d|0]<<8)!=1){break b}c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))!=1594834165){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271724,271749,195,271766);F()}function MI(a,b,c){var d=0,e=0,f=0;c=c+ -3|0;if(c>>>0<=1){b=q[b>>2];if(c-1){c=q[b+180>>2];d=q[b+188>>2];f=(c|0)>(d|0)?c:d;e=q[b+196>>2];q[a>>2]=q[a>>2]-((f|0)>(e|0)?f:e);c=(c|0)<(d|0)?c:d;q[a+8>>2]=q[a+8>>2]-((c|0)<(e|0)?c:e);c=q[b+184>>2];d=q[b+192>>2];e=(c|0)>(d|0)?c:d;b=q[b+200>>2];q[a+4>>2]=q[a+4>>2]-((e|0)>(b|0)?e:b);e=a;f=q[a+12>>2];a=(c|0)<(d|0)?c:d;q[e+12>>2]=f-((a|0)<(b|0)?a:b);return}c=q[b+184>>2];d=q[b+192>>2];f=(c|0)>(d|0)?c:d;e=q[b+200>>2];q[a>>2]=q[a>>2]-((f|0)>(e|0)?f:e);c=(c|0)<(d|0)?c:d;q[a+8>>2]=q[a+8>>2]-((c|0)<(e|0)?c:e);c=q[b+180>>2];d=q[b+188>>2];e=(c|0)<(d|0)?c:d;b=q[b+196>>2];q[a+4>>2]=q[a+4>>2]+((e|0)<(b|0)?e:b);e=a;f=q[a+12>>2];a=(c|0)>(d|0)?c:d;q[e+12>>2]=f+((a|0)>(b|0)?a:b)}}function bb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(w(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}g=b>>>16|0;d=a&65535;h=w(g,d);i=a>>>16|0;a=b&65535;b=h+w(i,a)|0;f=b<<16;d=f+w(a,d)|0;a=d+(c>>>1|0)|0;b=(((w(g,i)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(d>>>0>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}f=z(b);d=32-f|0;b=a>>>d|b<>>0)/(c>>>0)|0;b=b-w(c,e)|0;a=a<>>31;b=f-(f>>>0>>0?0:c)|0;e=e<<1|f>>>0>=c>>>0;a=a<<1;d=d+ -1|0;if(d){continue}break}}return(j|0)<0?0-e|0:e}function Sv(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];a:{if(n[q[f+188>>2]](a,q[a+76>>2],b,c,d,q[f+52>>2])){break a}q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];if(!n[q[f+184>>2]](a,q[a+76>>2],b,c,d,q[f+48>>2])){break a}f=b;b=q[a+72>>2];b=n[q[b+168>>2]](a,q[a+76>>2],f,q[b+32>>2])|0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=(b|0)/2|0;b=q[a+72>>2];b:{if(n[q[b+148>>2]](a,q[a+76>>2],e,q[b+12>>2])){a=q[e>>2];break b}f=q[a+24>>2];q[e+8>>2]=0;b=e;g=+(f|0)*.8;c:{if(y(g)<2147483648){a=~~g;break c}a=-2147483648}q[b>>2]=a;q[e+4>>2]=a-f}q[c>>2]=h+q[c>>2];q[d>>2]=q[d>>2]+a}Da=e+48|0}function Mf(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];a:{if(n[q[f+184>>2]](a,q[a+76>>2],b,c,d,q[f+48>>2])){break a}q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];if(!n[q[f+188>>2]](a,q[a+76>>2],b,c,d,q[f+52>>2])){break a}f=b;b=q[a+72>>2];b=n[q[b+168>>2]](a,q[a+76>>2],f,q[b+32>>2])|0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=(b|0)/2|0;b=q[a+72>>2];b:{if(n[q[b+148>>2]](a,q[a+76>>2],e,q[b+12>>2])){a=q[e>>2];break b}f=q[a+24>>2];q[e+8>>2]=0;b=e;g=+(f|0)*.8;c:{if(y(g)<2147483648){a=~~g;break c}a=-2147483648}q[b>>2]=a;q[e+4>>2]=a-f}q[c>>2]=q[c>>2]-h;q[d>>2]=q[d>>2]-a}Da=e+48|0}function AI(a,b,c){var d=0,e=0,f=0;if(a){a:{d=q[a+476>>2];if(d>>>0>3){break a}b:{switch(d-1|0){case 2:q[a+280>>2]=33;return 0;case 1:q[a+280>>2]=36;return 0;case 0:break a;default:break b}}if(q[a+472>>2]){break a}if(DI(a)){break a}q[a+280>>2]=1;return 0}d=1;q[a+476>>2]=1;f=q[a+24>>2];q[a+292>>2]=f;o[a+480|0]=c;e=q[a+28>>2]+b|0;q[a+28>>2]=e;q[a+40>>2]=e;q[a+36>>2]=q[a+36>>2]+b;b=n[q[a+276>>2]](a,f,e,a+24|0)|0;q[a+280>>2]=b;if(b){q[a+276>>2]=968;q[a+288>>2]=q[a+284>>2];return 0}b=q[a+476>>2];c:{if(b>>>0>3){break c}d:{switch(b-2|0){default:if(!c){break c}q[a+476>>2]=2;return 1;case 0:break c;case 1:break d}}d=2}b=q[a+144>>2];n[q[b+48>>2]](b,q[a+292>>2],q[a+24>>2],a+404|0);q[a+292>>2]=q[a+24>>2]}return d}function nD(a,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=Da-16|0;Da=f;a:{b:{c=q[a>>2];if(r[c+8|0]&2){if(!n[q[q[c+540>>2]+104>>2]](c,b,f+12|0)){break b}q[a+44>>2]=-1;c=q[a>>2]}Rf(c,b);c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);if(!b|!c){break a}b=q[b>>2];if(!b){break a}g=n[b](c)|0;if(!g){break a}h=q[q[a>>2]+712>>2];c=q[h+1440>>2];i=q[q[a+40>>2]>>2];n[q[g+4>>2]](q[i>>2],q[a+16>>2],q[a+20>>2],0,0);e=q[h+2024>>2];if(!e){break a}while(1){b=q[a+16>>2];e=e+ -1|0;j=e<<2;d=q[q[(j+h|0)+2028>>2]+68>>2];c:{if((d|0)!=(c|0)){b=bb(b,c,d);d=bb(q[a+20>>2],c,d);break c}d=q[a+20>>2]}n[q[g+4>>2]](q[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}break a}eo(a,q[f+12>>2])}Da=f+16|0;return 0}function _r(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=o[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=h&-2;c=(r[c+297954|0]<<8|r[c+297955|0])+297952|0;d=r[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(i|0)<(g|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(f>>>0>>0){while(1){a=c+1|0;e=d<<24;d=r[c+1|0];g=o[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(r[a+1|0]|r[a|0]<<8)+297952|0;d=r[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}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|o[c+1|0]>-1){break a}return r[c+3|0]|r[c+2|0]<<8}return 0}function EU(a,b,c,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=q[a+12>>2];q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;e=b;f=q[b+76>>2];b=q[b+72>>2];h=n[q[b+200>>2]](e,f,c,d,q[b- -64>>2])|0;if(h){g=q[a+12>>2];a:{if(g){b=q[d>>2];c=d;e=q[g+20>>2];f=q[a+20>>2];if((e|0)!=(f|0)){b=W$(V$(f,f>>31,b,b>>31),Ea,e,e>>31)}q[c>>2]=b;b=q[d+4>>2];e=q[g+24>>2];f=q[a+24>>2];if((e|0)!=(f|0)){b=W$(V$(f,f>>31,b,b>>31),Ea,e,e>>31)}q[c+4>>2]=b;e=q[d+8>>2];b=q[g+20>>2];c=q[a+20>>2];if((b|0)!=(c|0)){e=W$(V$(c,c>>31,e,e>>31),Ea,b,b>>31)}b=d+12|0;q[d+8>>2]=e;d=q[d+12>>2];e=q[g+24>>2];a=q[a+24>>2];c=d;if((e|0)==(a|0)){break a}c=W$(V$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=d+12|0;c=q[d+12>>2]}q[b>>2]=c}return h|0}function xg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>1073741822){break c}if(!c){return 1}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -2;j=1;if((e|0)>1){break a}}j=0}return j}function uq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;a:{f=d-c|0;b:{if((f|0)<1){break b}i=b+72|0;while(1){j=d;c:{d:{g=r[r[c|0]+i|0];if(g>>>0>13){break d}e:{switch(g-2|0){case 3:if((f|0)<2){return-2}if(n[q[b+352>>2]](b,c)){break a}c=c+2|0;break c;case 4:if((f|0)<3){return-2}if(n[q[b+356>>2]](b,c)){break a}c=c+3|0;break c;case 5:if((f|0)<4){return-2}if(n[q[b+360>>2]](b,c)){break a}c=c+4|0;break c;case 0:case 1:case 2:case 7:case 8:case 9:break d;case 10:case 11:break e;default:break a}}f=c+1|0;c=f;if((a|0)!=(g|0)){break c}if((d-f|0)<1){return-27}q[e>>2]=f;a=r[r[f|0]+i|0];if(a>>>0<=30){h=27;if(1<0){continue}break}}return h}q[e>>2]=c;return 0}function zv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a;a:{c=r[b+5|0];f=r[b+4|0];g=c|f<<8;if(!g){break a}h=r[b+1|0]|r[b|0]<<8;i=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+i|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];mc(d_(c?c+b|0:271312,h),q[e+8>>2]);d=d+1|0;if((g|0)==(d|0)){break a}c=r[b+5|0];f=r[b+4|0];continue}}q[a+12>>2]=0;q[a+16>>2]=0;d=0;q[a+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a+12;b:{c=r[b+5|0];f=r[b+4|0];a=c|f<<8;if(!a){break b}g=r[b+1|0]|r[b|0]<<8;h=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?(h+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];c_(c?c+b|0:271312,e+8|0,g);d=d+1|0;if((a|0)==(d|0)){break b}c=r[b+5|0];f=r[b+4|0];continue}}Da=e+16|0}function vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=q[a+116>>2];c=b;a:{f=q[a+112>>2];b:{if(b|f){b=q[a+124>>2];if((b|0)>(c|0)?1:(b|0)>=(c|0)?t[a+120>>2]>>0?0:1:0){break b}}f=YG(a);if((f|0)>-1){break a}}q[a+104>>2]=0;return-1}b=q[a+8>>2];c=q[a+116>>2];d=c;c:{d:{e=q[a+112>>2];if(!(c|e)){break d}c=(q[a+124>>2]^-1)+d|0;d=q[a+120>>2]^-1;e=d+e|0;if(e>>>0>>0){c=c+1|0}d=e;e=q[a+4>>2];g=b-e|0;h=d>>>0>>0?0:1;g=g>>31;if((c|0)>(g|0)?1:(c|0)>=(g|0)?h:0){break d}q[a+104>>2]=d+e;break c}q[a+104>>2]=b}e:{if(!b){a=q[a+4>>2];break e}e=q[a+124>>2];c=a;d=q[a+120>>2];a=q[a+4>>2];b=(b-a|0)+1|0;g=b;d=d+b|0;b=(b>>31)+e|0;q[c+120>>2]=d;q[c+124>>2]=d>>>0>>0?b+1|0:b}a=a+ -1|0;if(r[a|0]!=(f|0)){o[a|0]=f}return f}function ZY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a;a:{c=r[b+5|0];f=r[b+4|0];g=c|f<<8;if(!g){break a}h=r[b+1|0]|r[b|0]<<8;i=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+i|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];mc(YY(c?c+b|0:271312,h),q[e+8>>2]);d=d+1|0;if((g|0)==(d|0)){break a}c=r[b+5|0];f=r[b+4|0];continue}}q[a+12>>2]=0;q[a+16>>2]=0;d=0;q[a+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a+12;b:{c=r[b+5|0];f=r[b+4|0];a=c|f<<8;if(!a){break b}g=r[b+1|0]|r[b|0]<<8;h=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?(h+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];XY(c?c+b|0:271312,e+8|0,g);d=d+1|0;if((a|0)==(d|0)){break b}c=r[b+5|0];f=r[b+4|0];continue}}Da=e+16|0}function ux(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;k=r[a+3|0]|r[a+2|0]<<8;if(j>>>0>>0){break a}e=a+4|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0<2){break a}g=f+ -2|0;q[b+12>>2]=g;if((f|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;i=0;b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}g=f+ -3|0;q[b+12>>2]=g;if((f|0)<3){break a}i=r[a+5|0]|r[a+4|0]<<8}e=i;a=(j-k|0)+1|0;c:{if(a>>>0>2147483646){break c}l=1;if(!a){break a}c=c+e|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=g+ -1;if((g|0)>0){break a}}l=0}return l}function Rw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;k=r[a+3|0]|r[a+2|0]<<8;if(j>>>0>>0){break a}e=a+4|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0<2){break a}g=f+ -2|0;q[b+12>>2]=g;if((f|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;i=0;b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}g=f+ -3|0;q[b+12>>2]=g;if((f|0)<3){break a}i=r[a+5|0]|r[a+4|0]<<8}e=i;a=(j-k|0)+1|0;c:{if(a>>>0>1073741822){break c}l=1;if(!a){break a}c=c+e|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=g+ -1;if((g|0)>0){break a}}l=0}return l}function DI(a){var b=0,c=0,d=0,e=0,f=0;b=Da-48|0;Da=b;a:{if(!q[a+492>>2]){b:{c:{d=Hg(498393,0,0);if((d|0)>=0){while(1){e=Uh(d,(b+36|0)+c|0,4-c|0);f=e+c|0;if(f>>>0>3?(e|0)>=1:0){break c}c=(e|0)>0?f:c;if(q[160942]==27){continue}break}bd(d)}if(Aa(b+40|0,0)){break a}c=q[b+44>>2]^R();q[b+36>>2]=c;c=w(c,2147483647);d=Kb(498418);if(!d){break b}if(Ta(d,498438)){break b}q[b+12>>2]=4;q[b+8>>2]=c;q[b+4>>2]=8;q[b>>2]=498406;Mc(q[126999],498440,b);break b}bd(d);c=q[b+36>>2];d=Kb(498418);if(!d){break b}if(Ta(d,498438)){break b}q[b+28>>2]=4;q[b+24>>2]=c;q[b+20>>2]=8;q[b+16>>2]=498393;Mc(q[126999],498440,b+16|0)}q[a+492>>2]=c}if(r[a+232|0]){c=FI(a)}else{c=1}Da=b+48|0;return c}I(498477,496835,800,498499);F()}function lC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-32|0;Da=c;e=q[b+96>>2];a:{if((e|0)<0|(e|0)>=q[a+300>>2]){break a}f=q[a+304>>2];if((n[q[b+52>>2]](b,6,c,3)|0)<6){break a}g=q[c+12>>2];d=g>>31;d=d^d+g;if(!d){break a}if((d|0)!=65536){h=a,i=Za(1e3,d),p[h+68>>1]=i;h=c,i=Za(q[c>>2],d),q[h>>2]=i;h=c,i=Za(q[c+4>>2],d),q[h+4>>2]=i;h=c,i=Za(q[c+8>>2],d),q[h+8>>2]=i;h=c,i=Za(q[c+16>>2],d),q[h+16>>2]=i;h=c,i=Za(q[c+20>>2],d),q[h+20>>2]=i;q[c+12>>2]=q[c+12>>2]<0?-65536:65536}d=(w(e,252)+f|0)+216|0;q[d>>2]=q[c>>2];a=w(e,252)+f|0;q[a+224>>2]=q[c+4>>2];q[a+220>>2]=q[c+8>>2];q[a+228>>2]=q[c+12>>2];if(!pi(d)){q[b+12>>2]=3;break a}q[a+232>>2]=q[c+16>>2]>>16;q[a+236>>2]=q[c+20>>2]>>16}Da=c+32|0}function eV(a,b){var c=0,d=0;q[a+16>>2]=b;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;o[a|0]=0;a:{b=ht(b+52|0);b=t[b+16>>2]<54?271312:q[b+12>>2];c=r[b+50|0]<<8|r[b+51|0];if(!(c>>>0>1|(r[b+53|0]|r[b+52|0]<<8))){o[a|0]=!c;b=q[a+16>>2];Mb(b);b=Jb(b,1819239265);c=ub(b);if(q[c+16>>2]<=-1){break a}d=q[c+12>>2];Pa(c);if(d){if(q[b+4>>2]){q[b+4>>2]=0}}q[a+8>>2]=b;b=q[a+16>>2];Mb(b);b=Jb(b,1735162214);c=ub(b);if(q[c+16>>2]<=-1){break a}d=q[c+12>>2];Pa(c);if(d){if(q[b+4>>2]){q[b+4>>2]=0}}q[a+12>>2]=b;b=q[a+8>>2];b=q[(b?b:271312)+16>>2]>>>(r[a|0]?1:2)|0;b=(b>>>0>1?b:1)+ -1|0;q[a+4>>2]=b;d=q[a+16>>2];c=q[d+32>>2];if((c|0)==-1){c=lc(d);b=q[a+4>>2]}q[a+4>>2]=b>>>0>c>>>0?c:b}return}I(242848,242873,195,242890);F()}function QL(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}while(1){e=c;c=Cd(a,b);if(!c){break a}b:{if(!e){f=c;break b}q[e>>2]=c-e|1}q[c>>2]=0;q[c+8>>2]=q[b+8>>2];d=q[b+8>>2]+ -1|0;c:{if(d>>>0>8){break c}e=c+8|0;d:{switch(d-1|0){default:q[c+16>>2]=q[b+16>>2];break c;case 0:e=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=e;break c;case 1:d=al(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 2:q[c+16>>2]=q[b+16>>2];break c;case 4:d=eM(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 6:d=GL(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 3:case 5:break c;case 7:break d}}d=CM(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1}b=q[b>>2];if(b){continue}break}return f}return 0}function UD(a,b,c){a=a|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=Da-16|0;Da=h;g=q[a+532>>2];d=6;a:{if(!g){break a}oj(q[g+136>>2],h,q[g+4>>2]);k=q[g+4>>2];i=k>>>0>>0?k:b;if(i){while(1){d=w(j,12)+g|0;e=q[d+96>>2];n=j<<2;l=q[n+h>>2];b:{if(q[e>>2]<(l|0)){a=1;f=r[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=q[e+m>>2];if((o|0)>=(l|0)){d=q[d+92>>2];f=m+ -4|0;a=q[d+f>>2];d=q[d+m>>2];e=q[e+f>>2];a=w(Za(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=q[(q[d+92>>2]+(f<<2)|0)+ -4>>2]<<16;break b}a=q[q[d+92>>2]>>2]<<16}q[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(k>>>0>=b>>>0){break a}Na((i<<2)+c|0,0,b-i<<2);d=0}Da=h+16|0;return d|0}function fh(a,b,c,d){var e=0,f=0,g=0,h=0;o[a+8|0]=d;a:{b:{c:{d=q[b+20>>2];if((d|0)>=1){f=q[b+24>>2];d=d+ -1|0;while(1){e=d+g>>>1|0;h=q[w(e,36)+f>>2];d:{if(h>>>0>c>>>0){d=e+ -1|0;break d}if(h>>>0>=c>>>0){break c}g=e+1|0}if((g|0)<=(d|0)){continue}break}}d=a+4|0;break b}d=a+4|0;e=q[(w(e,36)+f|0)+12>>2];if((e|0)!=-1){break a}}q[a>>2]=0;q[d>>2]=0;return}d=q[b+56>>2];if(d>>>0>=e>>>0){if(e){f=e+ -1|0;c=271312;e:{if(d>>>0<=f>>>0){break e}c=q[b+60>>2]+(f<<3)|0}c=q[c>>2]}else{c=0}if(d>>>0>e>>>0){f=q[b+60>>2]+(e<<3)|0}else{f=b+32|0}d=a;f=q[f>>2];e=0;f:{if((f|0)==(c|0)){break f}e=271312;if(t[b+32>>2]<=c>>>0){break f}e=q[b+36>>2]+(c<<3)|0}q[d>>2]=e;q[a+4>>2]=f-c;return}I(267732,267768,148,267783);F()}function aq(a,b,c){var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;a:{b:{d=q[a+300>>2];if(d){q[a+300>>2]=q[d+8>>2];break b}d=n[q[a+12>>2]](24)|0;if(d){break b}c=1;break a}q[b+12>>2]=0;o[b+32|0]=1;q[d+8>>2]=q[a+296>>2];q[a+296>>2]=d;q[d+12>>2]=b;f=q[a+308>>2];o[d+20|0]=c;q[d+16>>2]=f;q[d>>2]=0;q[d+4>>2]=0;c=q[b+8>>2];f=q[b+4>>2];q[e+12>>2]=f;g=c+f|0;c:{if(r[b+33|0]){c=q[a+224>>2];c=n[q[c>>2]](c,f,g,e+12|0)|0;c=_f(a,q[a+224>>2],f,g,c,q[e+12>>2],e+12|0,0,0);break c}c=We(a,q[a+308>>2],q[a+224>>2],f,g,e+12|0,0)}if(c){break a}c=q[e+12>>2];if(!((c|0)==(g|0)|q[a+476>>2]!=3)){q[b+12>>2]=c-f;q[a+276>>2]=973;c=0;break a}c=0;o[b+32|0]=0;q[a+296>>2]=q[d+8>>2];q[d+8>>2]=q[a+300>>2];q[a+300>>2]=d}Da=e+16|0;return c}function WM(a,b,c,d){a=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,q=0,r=0,t=0;a:{if(!c){break a}k=(d<<1)+4|0;if(!k){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}i=d<<4;while(1){j=0;d=0;while(1){o=d>>>0>>0?(d<<1)+b|0:438160;e=d+ -16|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -32|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=0;while(1){f=e<<1;l=f+a|0;m=s[f+q>>1];h=s[f+o>>1];n=s[f+r>>1];f=(m+((h+n&65534)>>>1|0)&65534)>>>1|0;t=(f+h&65534)>>>1|0;h=m+1|0;p[l+32>>1]=(t+h&65534)>>>1;p[l>>1]=(h+((f+n&65534)>>>1|0)&65534)>>>1;e=e+1|0;if((e|0)!=16){continue}break}d=d+16|0;a=a- -64|0;j=j+2|0;if(j>>>0>>0){continue}break}b=(i<<1)+b|0;g=g+16|0;if(g>>>0>>0){continue}break}}}function Ti(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}j=1;c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)>2){break a}}j=0}return j}function PR(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=Da-16|0;Da=j;while(1){h=q[b>>2];q[b>>2]=1;if(h){continue}break}m=q[b+8>>2];n=q[b+4>>2];k=q[a+20>>2];if((k|0)!=q[b+16>>2]){i=b+20|0;h=0;while(1){q[i+(h<<2)>>2]=-1;h=h+1|0;if((h|0)!=256){continue}break}q[b+16>>2]=q[a+20>>2]}if(c){o=b+20|0;a=0;while(1){q[j+12>>2]=0;i=q[d>>2];l=((i&255)<<2)+o|0;h=q[l>>2];a:{if(!((h|0)==-1|(h>>>24|0)!=(i>>>8|0))){h=h&16777215;q[j+12>>2]=h;break a}el(n,i,m,j+12|0);h=q[j+12>>2];if(i>>>0>65535|h>>>0>16777215){break a}q[l>>2]=i<<16&-16777216|h}q[f>>2]=((k|0)>-1?h:0-h|0)+512>>10;f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}q[b>>2]=0;Da=j+16|0}function In(a,b,c){var d=0,e=0,f=0,g=0;e=o[a|0];if((e|0)>=0){o[a|0]=c+e&127;return 1}d=1;f=e&255;a:{if(f>>>0<192){break a}c=((c&32767)-(c&32768)|0)+16777216|0;g=e&255;if(g>>>0<=223){if((b|0)<2){break a}b=r[a+1|0];c=c+(f<<6&1984|b&63)|0;o[a+1|0]=c&63|b&192;o[a|0]=c>>>6&31|192;return 2}if(g>>>0<=239){d=b;if((b|0)<3){break a}b=c;c=r[a+2|0];d=r[a+1|0];b=b+((c|f<<12)&61503|(d&63)<<6)|0;o[a+2|0]=b&63|c&192;o[a+1|0]=b>>>6&63|d&192;o[a|0]=b>>>12&15|224;return 3}if((e&255)>>>0>247){break a}d=b;if((b|0)<4){break a}b=c;c=r[a+3|0];d=r[a+2|0];e=r[a+1|0];b=b+((c|f<<18)&1835071|(d&63)<<6|(e&63)<<12)|0;o[a+3|0]=b&63|c&192;o[a+2|0]=b>>>6&63|d&192;o[a+1|0]=b>>>12&63|e&192;o[a|0]=b>>>18&7|240;d=4}return d}function cs(a){var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;while(1){a:{b:{c:{b=r[a|0];if(b>>>0>9){if((b|0)!=32){break c}break a}switch(b-1|0){case 8:break a;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break b}}b=Wa(a);c=b+a|0;d:{if((b|0)<1){break d}while(1){b=c+ -1|0;e=r[b|0];if((e|0)!=9?(e|0)!=32:0){break d}c=b;if(b>>>0>a>>>0){continue}break}}b=a;a=c-a|0;a=a>>>0<15?a:15;b=Qa(d,b,a);o[a+b|0]=0;if(!fb(b,3444)){c=2;break b}if(!fb(b,3449)){c=3;break b}if(!fb(b,3456)){c=4;break b}if(!fb(b,3463)){c=5;break b}if(!fb(b,3470)){c=6;break b}if(!fb(b,3477)){c=7;break b}if(!fb(b,3485)){c=8;break b}if(!fb(b,3493)){c=9;break b}c=fb(b,3500)?1:10}Da=d+16|0;return c}a=a+1|0;continue}}function Xd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}dh(q[a+12>>2]);La(q[a+88>>2]);La(q[a+96>>2]);b=q[a+160>>2];if(b){n[b](q[a+156>>2])}La(a)}return}I(272944,272969,279,272984);F()}function Fe(a){var b=0,c=0,d=0;a:{if(q[a+12>>2]>0){break a}b=q[a>>2];c=q[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;q[a>>2]=d;b=r[b|0]+ -9|0;if(b>>>0>50){break a}c:{switch(b-1|0){case 0:case 3:q[a+12>>2]=2;return;case 49:q[a+12>>2]=1;return;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 17:case 18:case 19:case 20: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:break a;case 16:break b;default:break c}}b=d;if(b>>>0>>0){continue}break}}q[a+12>>2]=3}}function vg(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}q[a+16>>2]=0;La(q[a+28>>2]);q[a+28>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;La(q[a+40>>2]);La(a)}return}I(228624,228649,279,228664);F()}function Av(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}j=1;c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)>2){break a}}j=0}return j}function FH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;d=q[a+4>>2];a:{if(!d){d=Pg();Qk(d,505287);Uq(d);Zh(q[a>>2],d,0);BM(d);aM(d);f=a,g=VH(q[a>>2],d,a+8|0,b+12|0),q[f+4>>2]=g;if(q[b+12>>2]){f=a,g=Cf(),q[f+4>>2]=g}ie(d);d=q[a+4>>2];if(!d){break a}}if(!q[d>>2]){break a}if(!c){q[b+12>>2]=0;if(pd(q[q[d+8>>2]>>2],505253,0,b+12|0)){break a}e=eb(q[b+12>>2]);break a}if(!ui(q[a+8>>2],c)){break a}d=q[a+4>>2];if(q[d>>2]<1){break a}while(1){b:{d=q[q[d+8>>2]+(e<<2)>>2];if(Nk(d,505245,b+12|0)){break b}if(!ui(q[b+12>>2],c)){break b}e=0;q[b+8>>2]=0;if(pd(d,505253,0,b+8|0)){break a}e=eb(q[b+8>>2]);break a}e=e+1|0;d=q[a+4>>2];if((e|0)>2]){continue}break}e=0}Da=b+16|0;return e|0}function Ev(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;b:{if(!f){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break b}c=c+f|0;c:{if(g>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}c=c+2|0;if(g>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=e+ -4;if((e|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function DT(a,b,c,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=Da-16|0;Da=g;a:{b:{c:{d:{if((b|0)<=2963){if(b+ -2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b+ -3548>>>0>2){break b}}e:{f=q[q[a>>2]+112>>2];if(r[f+5|0]){break e}e=q[a+8>>2];q[g+12>>2]=0;h=e;i=q[e+76>>2];e=q[e+72>>2];if(!n[q[e+156>>2]](h,i,b,g+12|0,q[e+20>>2])|!q[f+52>>2]){break b}h=q[q[a+8>>2]+16>>2];e=0;while(1){if(sd(h,s[q[f+48>>2]+(e<<3)>>1],g+12|0,1,r[f+56|0])){break e}e=e+1|0;if(e>>>0>2]){continue}break}break b}q[c>>2]=3545;q[d>>2]=b;f=1;break a}a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;f=(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0}Da=g+16|0;return f|0}function fW(a,b){var c=0,d=0,e=0,f=0,g=0;f=ub(b);o[a+20|0]=0;q[a+28>>2]=f;d=q[f+12>>2];q[a+4>>2]=d;e=q[f+16>>2];q[a+8>>2]=d+e;a:{if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}if(e>>>0<8){break a}q[a+12>>2]=c+ -1;if((e&-2)==6|(r[d+1|0]|r[d|0]<<8)!=1){break a}q[a+12>>2]=c+ -2;d=r[d+7|0]|r[d+6|0]<<8;if(d){if(e+ -8>>>0>>0){break a}q[a+12>>2]=c+ -3}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(q[b+4>>2]){q[b+4>>2]=0}return b}I(242848,242873,195,242890);F()}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;Pa(b);return 271312}function YH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Na(c,0,208);g=q[a>>2];a:{if((g|0)<1){break a}c=0;while(1){if((c|0)>=q[b>>2]){break a}j=(q[a+8>>2]+a|0)+(h<<3)|0;e=q[j>>2];k=(q[b+8>>2]+b|0)+(c<<3)|0;f=e-q[k>>2]|0;b:{if((f|0)>=1){c=c+1|0;break b}if((f|0)<=-1){h=h+1|0;break b}m=e;i=0;c:{if((e|0)>51){break c}g=e;f=e&31;i=0;if(!((32<=(e&63)>>>0?901422>>>f|0:((1<>>f)&1)){break c}f=(e<<4)+504240|0;e=g&31;i=(32<=(g&63)>>>0?147153>>>e|0:((1<>>e)&1?0:f}e=q[j+4>>2];g=e&1?(e&-2)+j|0:e;e=q[k+4>>2];e=ZH(m,i,g,e&1?(e&-2)+k|0:e,l,d);if(!e){return 0}e=(e|0)!=0;c=e+c|0;h=e+h|0;g=q[a>>2]}if((h|0)<(g|0)){continue}break}}return 1}function Ll(a){var b=0,c=0;a:{if(!a){break a}c=q[a>>2];if(!c){break a}q[a+44>>2]=0;q[a+48>>2]=0;b=q[a+52>>2];if((b|0)!=(a+72|0)){if(b){n[q[c+8>>2]](c,b)}q[a+52>>2]=0}q[a+56>>2]=0;q[a+60>>2]=0;b=q[a- -64>>2];if((b|0)!=(a+864|0)){if(b){n[q[c+8>>2]](c,b)}q[a+64>>2]=0}b=a+1392|0;q[b>>2]=0;q[b+4>>2]=0;b=q[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){n[q[c+8>>2]](c,b)}q[a+1400>>2]=0}b=a+1404|0;q[b>>2]=0;q[b+4>>2]=0;b=q[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){n[q[c+8>>2]](c,b)}q[a+1412>>2]=0}b=q[a+40>>2];if((b|0)!=(a+2760|0)){if(b){n[q[c+8>>2]](c,b)}q[a+40>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0;b=q[a+28>>2];if((b|0)!=(a+2792|0)){if(b){n[q[c+8>>2]](c,b)}q[a+28>>2]=0}q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0}}function nt(a){var b=0,c=0,d=0,e=0;c=q[a+52>>2];b=q[a+48>>2];d=(b|0)!=0;if((b|0)!=(d|0)){e=c+(b<<2)|0;b=b-d|0;c=c+(d<<2)|0;while(1){d=q[(b?c:271312)>>2];La(q[d+16>>2]);q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;d=(b|0)!=0;b=b-d|0;c=(d<<2)+c|0;if((e|0)!=(c|0)){continue}break}c=q[a+52>>2]}La(c);q[a+52>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;mt(a+56|0);b=q[a+40>>2];if(b){while(1){q[a+40>>2]=q[b+20>>2];La(q[b+16>>2]);q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=q[a+40>>2];if(b){continue}break}}q[a+24>>2]=0;c=q[a+36>>2];b=q[a+32>>2];if(b){d=(b<<2)+c|0;while(1){La(q[(b?c:271312)>>2]);e=(b|0)!=0;b=b-e|0;c=(e<<2)+c|0;if((d|0)!=(c|0)){continue}break}c=q[a+36>>2]}La(c);q[a+36>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0}function Xs(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Da-32|0;Da=g;if(!r[a+70|0]){e=b+1|0;if(e>>>0>>0){i=b;while(1){f=i;i=e;while(1){j=e;if(e>>>0>b>>>0){h=q[a+88>>2];e=j+ -1|0;if((n[d](h+w(e,20)|0,w(i,20)+h|0)|0)>0){continue}}break}if((i|0)!=(j|0)){e=f+2|0;if(e-j>>>0>=2){kc(a,j,e)}f=q[a+88>>2];h=f+w(i,20)|0;q[g+24>>2]=q[h+16>>2];e=q[h+12>>2];q[g+16>>2]=q[h+8>>2];q[g+20>>2]=e;e=q[h+4>>2];q[g+8>>2]=q[h>>2];q[g+12>>2]=e;e=f;f=w(j,20);e=e+f|0;sb(e+20|0,e,w(i-j|0,20));e=q[g+12>>2];f=f+q[a+88>>2]|0;q[f>>2]=q[g+8>>2];q[f+4>>2]=e;q[f+16>>2]=q[g+24>>2];e=q[g+20>>2];q[f+8>>2]=q[g+16>>2];q[f+12>>2]=e}e=i+1|0;if((e|0)!=(c|0)){continue}break}}Da=g+32|0;return}I(272923,272586,1849,272939);F()}function Ds(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=q[a>>2];if(f){d=q[a+8>>2];e=f;while(1){q[d+24>>2]=-1;q[d+16>>2]=q[d+16>>2]&-5;d=d+28|0;e=e+ -1|0;if(e){continue}break}}if(!b){q[a+4>>2]=0;return}d=0;e=0;while(1){if(!d){h=r[c|0];d=128;c=c+1|0}a:{if(!(d&h)){break a}j=q[a+8>>2]+w(e,28)|0;i=q[j+16>>2];if(i&4){break a}q[j+16>>2]=i|4;if(g>>>0>=f>>>0){break a}q[q[a+12>>2]+(g<<2)>>2]=j;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}q[a+4>>2]=g;if((g|0)>=2){h=q[a+12>>2];a=1;while(1){i=q[h+(a<<2)>>2];e=q[i>>2];d=a;while(1){b=d+ -1|0;f=h+(b<<2)|0;c=q[f>>2];if(q[c>>2]>=(e|0)){q[h+(d<<2)>>2]=c;q[f>>2]=i;c=(d|0)>1;d=b;if(c){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}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,j=0,k=0;a:{b=q[a+72>>2];h=q[b+172>>2];if((h|0)!=q[160399]){if(!c){break a}j=f,k=n[h](a,q[a+76>>2],q[d>>2],q[b+36>>2])|0,q[j>>2]=k;b=1;if((c|0)==1){break a}while(1){f=f+g|0;d=d+e|0;h=q[a+72>>2];j=f,k=n[q[h+172>>2]](a,q[a+76>>2],q[d>>2],q[h+36>>2])|0,q[j>>2]=k;b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}b=q[a+12>>2];h=q[b+72>>2];n[q[h+180>>2]](b,q[b+76>>2],c,d,e,f,g,q[h+44>>2]);if(!c){break a}e=q[a+12>>2];d=0;while(1){b=q[f>>2];b:{if(!e){break b}h=q[a+24>>2];i=q[e+24>>2];if((h|0)==(i|0)){break b}b=W$(V$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[f>>2]=b;f=f+g|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}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,j=0,k=0;a:{b=q[a+72>>2];h=q[b+168>>2];if((h|0)!=q[160398]){if(!c){break a}j=f,k=n[h](a,q[a+76>>2],q[d>>2],q[b+32>>2])|0,q[j>>2]=k;b=1;if((c|0)==1){break a}while(1){f=f+g|0;d=d+e|0;h=q[a+72>>2];j=f,k=n[q[h+168>>2]](a,q[a+76>>2],q[d>>2],q[h+32>>2])|0,q[j>>2]=k;b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}b=q[a+12>>2];h=q[b+72>>2];n[q[h+176>>2]](b,q[b+76>>2],c,d,e,f,g,q[h+40>>2]);if(!c){break a}e=q[a+12>>2];d=0;while(1){b=q[f>>2];b:{if(!e){break b}h=q[a+20>>2];i=q[e+20>>2];if((h|0)==(i|0)){break b}b=W$(V$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[f>>2]=b;f=f+g|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}function Td(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=r[a|0];f=(c+ -65&255)>>>0<26?c+32|0:c;a:{if((f|0)!=117){break a}c=r[a+1|0];if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=110){break a}c=r[a+2|0];if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=100){break a}e=1;c=r[a+3|0];if((c|0)==45){break a}e=!c}g=2;b:{c=r[b|0];d=(c+ -65&255)>>>0<26?c+32|0:c;c:{if((f&255)!=(d&255)){c=e;break c}h=a;while(1){c=f&255;if(!c){g=e?g:0;break b}g=e?g:(c|0)!=45?g:1;h=h+1|0;c=e?(h-a|0)==4?0:e:0;e=c;d=r[h|0];f=(d+ -65&255)>>>0<26?d+32|0:d;b=b+1|0;d=r[b|0];d=(d+ -65&255)>>>0<26?d+32|0:d;if((f&255)==(d&255)){continue}break}}if(c){break b}a=f&255;if(a?(a|0)!=45:0){break b}a=d&255;if(a?(a|0)!=45:0){break b}return 1}return g}function YV(a,b,c,d){var e=0,f=0,g=0;g=Da-16|0;Da=g;f=q[a>>2];e=q[a+4>>2];q[d+24>>2]=q[a+8>>2];q[d+20>>2]=e;q[d+16>>2]=f;q[d+8>>2]=b;b=0;q[d+4>>2]=0;q[d+12>>2]=0;a=e>>>0<4?271312:f;q[d>>2]=a;q[d+28>>2]=a+4;e=o[a|0];f=0;a:{b:{if((e|0)>-1){break b}e=a;a=r[a+3|0]|r[a+2|0]<<8;a=a?e+a|0:271312;q[g+12>>2]=a;if(!nu(g+12|0,c,d+16|0)){break a}q[d+12>>2]=q[g+12>>2]-a;a=q[d>>2];e=r[a|0];f=q[d+4>>2]}if(f>>>0>=(r[a+1|0]|e<<8&3840)>>>0){break a}c=q[d+16>>2];a=q[d+28>>2];if(c>>>0>a>>>0){break a}c=c+q[d+20>>2]|0;if(a>>>0>c>>>0){break a}c=c-a|0;if(c>>>0<4){break a}b=r[a+2|0];b=(w(q[d+8>>2],b>>>5&2|b>>>7)<<1)+4|0;a=r[a+1|0]|r[a|0]<<8;b=(b|0)!=0&c>>>0>=(a>>>0>>0?b:a)>>>0}Da=g+16|0;return b}function Rs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[(c?16:12)+b>>2];b=q[(c?8:4)+b>>2];f=w(c,7452)+a|0;g=f+7488|0;a:{if(q[f+7492>>2]==(h|0)?(b|0)==q[g>>2]:0){break a}q[g>>2]=b;q[f+48>>2]=h;q[f+44>>2]=b;q[f+7492>>2]=h;if(!q[f+260>>2]){break a}g=0;i=w(c,7452)+a|0;while(1){a=w(g,28)+i|0;c=a;d=Ma(q[a+264>>2],b)+h|0;q[a+272>>2]=d;q[a+268>>2]=d;d=Ma(q[a+276>>2],b)+h|0;q[a+284>>2]=d;q[a+280>>2]=d;q[a+288>>2]=q[a+288>>2]&-2;if(Ma(q[a+264>>2]-q[a+276>>2]|0,b)+48>>>0<=96){d=q[a+268>>2]+32&-64;q[c+272>>2]=d;d=Za(d,b)-q[a+276>>2]|0;e=d>>31;e=Ma(e^d+e,b);e=(e|0)<32?0:e+32&-64;q[a+284>>2]=q[c+272>>2]-((d|0)<0?0-e|0:e);q[a+288>>2]=q[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function QT(a,b,c){a=a|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:{i=q[q[a+112>>2]>>2];if(!i){break a}e=q[c+76>>2];if(!e){break a}b=e+ -1|0;a=0;f=q[c+88>>2];d=r[f+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((d|0)==r[(w(a,20)+f|0)+15|0]){continue}}break}d=0;g=e;h=f;while(1){b=a;c:{if(d>>>0>=a>>>0){break c}while(1){a=w(d,20)+f|0;if(!(q[a+4>>2]&i)){break c}if(r[a+12|0]&16){o[a+18|0]=18;g=q[c+76>>2];h=q[c+88>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=g>>>0>a>>>0?g:a;j=d+ -1|0;k=r[(w(b,20)+h|0)+15|0];a=b;while(1){d:{if((a|0)==(j|0)){a=d;break d}a=a+1|0;if(r[(w(a,20)+h|0)+15|0]==(k|0)){continue}}break}d=b;if(d>>>0>>0){continue}break}}}function Oi(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){d=q[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(f>>>0>=e>>>0){break b}d=f;while(1){d=((d>>>1|0)+d|0)+8|0;if(d>>>0<=e>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){f=db(q[a+12>>2],d<<4);if(f){break c}}q[a+4>>2]=-1}d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;g=642976;break a}q[a+4>>2]=d;q[a+12>>2]=f;d=q[a+8>>2]}if(e>>>0>d>>>0){Na(q[a+12>>2]+(d<<4)|0,0,e-d<<4)}q[a+8>>2]=e;g=(q[a+12>>2]+(e<<4)|0)+ -16|0}d=g;q[d>>2]=b;e=q[c+12>>2];f=q[c+4>>2];h=q[c>>2];b=q[a>>2];q[d+12>>2]=0;q[d+4>>2]=b+h;d=e-b|0;b=f-b|0;b=b>>>0>f>>>0?0:b;q[g+8>>2]=b>>>0>d>>>0?d:b;q[a>>2]=q[c+12>>2]}function Mx(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;e=bn(q[b+16>>2]+156|0);f=q[e+16>>2];g=q[e+12>>2];q[d+12>>2]=b;q[d+8>>2]=a;a=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=a;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;e=ub(e);o[d+44|0]=0;q[d+52>>2]=e;c=q[a+32>>2];if((c|0)==-1){c=lc(a)}o[d+60|0]=1;q[d+56>>2]=c;a=q[e+12>>2];q[d+28>>2]=a;c=a;a=q[e+16>>2];q[d+32>>2]=c+a;if((a|0)<=-1){I(228416,228441,195,228458);F()}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;a=Lx(q[b+16>>2]+160|0);q[d+64>>2]=t[a+16>>2]<12?271312:q[a+12>>2];Kx(f>>>0<8?271312:g,d+8|0);Pa(q[d+52>>2]);Da=d+80|0}function Ot(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=q[b+4>>2];b:{if(g>>>0>a>>>0){break b}e=q[b+8>>2];if(e>>>0>>0){break b}d=e-a|0;if(d>>>0<4){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1|d>>>0<8){break b}d=c+ -2|0;q[b+12>>2]=d;if((c|0)<2){break b}i=r[a+7|0]|r[a+6|0]<<8;if(!i){return 1}a=a+8|0;while(1){if(e>>>0>>0|g>>>0>a>>>0|e-a>>>0<2){break a}c=d+ -1|0;q[b+12>>2]=c;if((d|0)<1){break a}h=r[a+1|0];f=r[a|0];j=h|f<<8;if(j){c=a+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}c=d+ -2|0;q[b+12>>2]=c;if((d|0)<2){break a}h=r[a+1|0];f=r[a|0]}a=(f<<10|h<<2|2)+a|0;f=1;d=c;k=k+1|0;if((i|0)!=(k|0)){continue}break}}return f}return 0}function Fm(a,b,c){var d=0,e=0,f=0,g=x(0),h=0,i=0;a:{b:{e=r[a+5|0];d=r[a+4|0];f=e|d<<8;if(f+ -1>>>0>=3){if((f|0)!=32768){break a}g=x(Rv(a,b,c)*x(q[b+20>>2]));b=q[b+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}g=x(J(x(x(g/x(a>>>0)))));if(!(x(y(g))>2];if(!c){break a}d=e|d<<8;if(d+ -1>>>0>2){break a}e=r[a+1|0]|r[a|0]<<8;if(c>>>0>>0|(r[a+3|0]|r[a+2|0]<<8)>>>0>>0){break a}h=a;a=c-e|0;e=4-d|0;f=a>>>e|0;f=(f|0)<0?271312:(h+(f<<1)|0)+6|0;h=(r[f|0]<<8|r[f+1|0])>>>16-((a&(-1<>>16-(1<>>0>>1>>>0?0:a)|0;if(!a){break a}b=q[b+20>>2];return W$(V$(b,b>>31,a,a>>31),Ea,c,0)}i=-2147483648}return i}function Em(a,b,c){var d=0,e=0,f=0,g=x(0),h=0,i=0;a:{b:{e=r[a+5|0];d=r[a+4|0];f=e|d<<8;if(f+ -1>>>0>=3){if((f|0)!=32768){break a}g=x(Rv(a,b,c)*x(q[b+24>>2]));b=q[b+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}g=x(J(x(x(g/x(a>>>0)))));if(!(x(y(g))>2];if(!c){break a}d=e|d<<8;if(d+ -1>>>0>2){break a}e=r[a+1|0]|r[a|0]<<8;if(c>>>0>>0|(r[a+3|0]|r[a+2|0]<<8)>>>0>>0){break a}h=a;a=c-e|0;e=4-d|0;f=a>>>e|0;f=(f|0)<0?271312:(h+(f<<1)|0)+6|0;h=(r[f|0]<<8|r[f+1|0])>>>16-((a&(-1<>>16-(1<>>0>>1>>>0?0:a)|0;if(!a){break a}b=q[b+24>>2];return W$(V$(b,b>>31,a,a>>31),Ea,c,0)}i=-2147483648}return i}function du(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<32){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=1;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)==65536){break a}b:{if((c|0)!=131072){break b}c=a+32|0;if(d>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+33|0]|r[a+32|0]<<8;if(!c){break a}h=d;d=a+34|0;if(h>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break b}q[b+12>>2]=f+ -3;if((f|0)>2){break a}}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==196608}return g}function _S(a,b,c,d,e){var f=0;if(!q[c+76>>2]){return 1}a:{if(q[c+4>>2]){if(q[c+44>>2]==1){if(!q[a>>2]){return 0}if(q[a+12>>2]==q[b+16>>2]){if(ct(a+16|0,c+48|0)){f=q[a+52>>2];if((f|0)!=566){break a}b:{if(q[b+88>>2]){break b}while(1){if(!q[b+84>>2]){return 0}f=q[b+88>>2];q[b+88>>2]=f?f:1;if(!f){break b}if(!q[b+88>>2]){continue}break}}return(At(a,b,c,d,e)|0)!=0}I(270743,270556,395,270628);F()}I(270705,270556,394,270628);F()}I(270650,270556,389,270628);F()}I(270595,270556,388,270628);F()}if((f|0)!=567){return 0}c:{if(q[b+92>>2]){break c}while(1){if(!q[b+84>>2]){return 0}f=q[b+92>>2];q[b+92>>2]=f?f:1;if(!f){break c}if(!q[b+92>>2]){continue}break}}return(bu(a,b,c,d,e)|0)!=0}function qv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break b}if((r[a+1|0]|r[a|0]<<8)!=1){break a}if(!Tb(a+2|0,b,a)){break b}f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break b}g=r[a+5|0]|r[a+4|0]<<8;if(!g){break a}c=a+6|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break a}c=1;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=0;while(1){if(!Ev(((c<<1)+a|0)+6|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}c=0}return c}function NZ(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break b}if((r[a+1|0]|r[a|0]<<8)!=1){break a}if(!Tb(a+2|0,b,a)){break b}f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break b}g=r[a+5|0]|r[a+4|0]<<8;if(!g){break a}c=a+6|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break a}c=1;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=0;while(1){if(!KZ(((c<<1)+a|0)+6|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}c=0}return c}function tp(a,b,c,d){a:{b:{if(b>>>0>20){break b}b=b+ -9|0;if(b>>>0>9){break b}c:{switch(b-1|0){default:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];return;case 0:b=q[c>>2];q[c>>2]=b+4;b=q[b>>2];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 1:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];q[a+4>>2]=0;return;case 3:b=q[c>>2];q[c>>2]=b+4;b=p[b>>1];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 4:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=s[b>>1];q[a+4>>2]=0;return;case 5:b=q[c>>2];q[c>>2]=b+4;b=o[b|0];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 6:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=r[b|0];q[a+4>>2]=0;return;case 2:case 7:break a;case 8:break c}}n[d](a,c)}return}b=q[c>>2]+7&-8;q[c>>2]=b+8;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c}function tf(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&c>>>0>0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&g>>>0>0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0?(c&g)>>>0<0?0:1:0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>=g>>>0?0:1:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0<=g>>>0?0:1:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function jF(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;a:{b:{if(!a){break b}b=q[a+8>>2];a=gb(b,636,c+8|0);if(q[c+8>>2]){break b}q[a+436>>2]=32;q[a+8>>2]=b;f=a,g=Oa(b,16,0,32,0,c+12|0),q[f+440>>2]=g;if(!q[c+12>>2]){q[a+444>>2]=0;q[a+392>>2]=0;q[a+396>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[c+8>>2]=0;break a}q[a+444>>2]=0;b=q[a+8>>2];d=b;e=q[a+24>>2];if(e){n[q[d+8>>2]](d,e)}q[a+20>>2]=0;q[a+24>>2]=0;d=q[a+440>>2];if(d){n[q[b+8>>2]](b,d)}q[a+440>>2]=0;q[a+432>>2]=0;q[a+436>>2]=0;d=q[a+396>>2];if(d){n[q[b+8>>2]](b,d)}q[a+392>>2]=0;q[a+396>>2]=0;q[a>>2]=0;q[a+4>>2]=0;if(a){n[q[b+8>>2]](b,a)}b=q[c+12>>2];q[c+8>>2]=b;if(!b){break a}}a=0}Da=c+16|0;return a}function fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b+ -44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){q[c>>2]=b-e;q[d>>2]=e+4519;break b}b=(f>>>0)/588|0;q[c>>2]=b|4352;q[d>>2]=(((a-w(b,588)&65535)>>>0)/28|0)+4449;break b}e=0;if(b>>>0>195101){break a}a=s[(r[(b>>>6|0)+192844|0]<<7|(b&63)<<1)+208e3>>1];if(!a){break a}b=a+ -1|0;if(b>>>0<=934){if(b>>>0<=824){a=s[(b<<1)+224928>>1]}else{a=s[(a<<1)+224940>>1]|131072}q[c>>2]=a;q[d>>2]=0;break b}b=a+ -936|0;if(b>>>0<=637){a=q[(b<<2)+219264>>2];q[c>>2]=a>>>21;q[d>>2]=a>>>14&127|768;break b}a=(a<<3)+209232|0;b=q[a+4>>2];e=q[a>>2];q[c>>2]=b>>>10;q[d>>2]=((b&2097151)<<11|e>>>21)&2097151}e=1}return e|0}function ID(a,b){a=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=Da+ -64|0;Da=d;q[d+8>>2]=0;n[q[b+60>>2]](b,d+16|0,4,d+12|0);c=q[d+12>>2];a:{if((c|0)<=-1){c=162;q[d+8>>2]=162;break a}b:{if(!c|(c|0)>=5){break b}c=Bh(a,0,c);q[d+8>>2]=c;if(c){break a}if(q[d+12>>2]<1){c=0;break a}h=q[a+100>>2];i=q[a+532>>2];while(1){a=(d+16|0)+w(f,12)|0;c=q[a>>2];if(r[c|0]==47){c=c+1|0;q[a>>2]=c}g=q[a+4>>2]-c|0;if(!g){break b}e=(f<<2)+i|0;c=q[e+8>>2];if(c){if(c){n[q[h+8>>2]](h,c)}}c=e;e=gb(h,g+1|0,d+8|0);q[c+8>>2]=e;c=q[d+8>>2];if(c){break a}j=Qa(e,q[a>>2],g)+g|0,k=0,o[j|0]=k;f=f+1|0;if((f|0)>2]){continue}break}c=q[d+8>>2];break a}c=3;q[d+8>>2]=3}q[b+12>>2]=c;Da=d- -64|0}function Z_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da+ -64|0;Da=c;d=r[a+3|0]|r[a+2|0]<<8;if(Vb(d?d+a|0:271312,q[b+8>>2])){h=r[a+5|0]|r[a+4|0]<<8;d=a;a=r[a+3|0]|r[a+2|0]<<8;a=a?d+a|0:271312;g=r[a|0]<<8|r[a+1|0];d=g+ -1|0;a:{if(d>>>0>1){a=0;f=0;break a}f=0;if(d-1){break a}d=r[a+3|0]|r[a+2|0]<<8;e=d?a+4|0:271704;e=(r[e+1|0]|r[e|0]<<8)>>>0>(r[e+3|0]|r[e+2|0]<<8)>>>0?d:0;f=d?r[a+5|0]|r[a+4|0]<<8:0}d=f;q[c+52>>2]=0;q[c+48>>2]=e;q[c+56>>2]=d;q[c+44>>2]=a;q[c+40>>2]=g;q[c+60>>2]=h;b=q[b+16>>2];a=q[c+52>>2];q[c+16>>2]=q[c+48>>2];q[c+20>>2]=a;a=q[c+60>>2];q[c+24>>2]=q[c+56>>2];q[c+28>>2]=a;q[c+32>>2]=b;a=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=a;R_(c+32|0,c+8|0)}Da=c- -64|0}function Ys(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=o[a|0];g=f&255;if((f|0)>-1){q[c>>2]=g;return e}a:{if(g+ -194>>>0<=29){if(e>>>0>=b>>>0){break a}b=r[a+1|0]+ -128|0;if(b>>>0>=64){break a}q[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=r[e|0]+ -128|0;if(b>>>0>63){break a}f=r[a+2|0]+ -128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}q[c>>2]=b;return a+3|0}if((b-e|0)<3|g+ -240>>>0>4){break a}b=r[e|0]+ -128|0;if(b>>>0>63){break a}f=r[a+2|0]+ -128|0;if(f>>>0>63){break a}h=r[a+3|0]+ -128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b+ -65536>>>0>=1048576){break a}e=a+4|0;d=b}q[c>>2]=d;return e}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=q[a+760>>2];a:{if(h>>>0>b>>>0){g=q[a+764>>2];b:{if(s[a+210>>1]){e=g+(b<<2)|0;d=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[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=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=r[f|0]<<8|r[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f+ -2|0;d=r[d|0]<<8|r[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=q[a+724>>2];if(f>>>0>e>>>0){q[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}q[c>>2]=g;return a|0}function bW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];h=g+ -1|0;q[b+12>>2]=h;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}h=g+ -2|0;q[b+12>>2]=h;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}g=e;a=q[d>>2];c:{if(a>>>0>2147483646){break c}e=1;if(!a){break a}c=c+g|0;if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break c}q[b+12>>2]=h+ -1;if((h|0)>0){break a}}e=0}return e}function hh(a,b){var c=0,d=0,e=0,f=0;e=q[b+12>>2];d=q[b+4>>2];a:{if(e>>>0>=d>>>0){o[b+16|0]=1;c=271312;break a}c=q[b>>2]+e|0}f=r[c|0]<<24;c=e+1|0;b:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break b}c=c+q[b>>2]|0}f=f|r[c|0]<<16;c=e+2|0;c:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break c}c=c+q[b>>2]|0}f=f|r[c|0]<<8;c=e+3|0;d:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break d}c=c+q[b>>2]|0}f=f|r[c|0];c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;a=q[a+16>>2]+(c<<3)|0;break e}o[a|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;d=q[b+4>>2];a=642976}v[a>>3]=f|0;f:{if(r[b+16|0]|e>>>0>d>>>0){break f}a=e+4|0;if(a>>>0>d>>>0){break f}q[b+12>>2]=a;return}o[b+16|0]=1;q[b+12>>2]=d}function YZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>536870910){break a}if(e){i=f;f=a+4|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!g){break a}h=0;d=0;while(1){e=(d<<3)+a|0;f=q[c>>2];if(!BZ(e+4|0,b,f)){break a}if(!AZ(e+8|0,b,f)){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=1}return h}function Wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-16|0;Da=d;e=q[a+11724>>2];if(r[q[a+11676>>2]+5|0]){h=!r[a+11665|0]}else{h=0}f=q[a+11720>>2];if(!((c|0)==(e|0)?!(h|(f|0)!=(b|0)):0)){Cl(a,f,e,b,c,d+12|0,d+8|0);g=q[d+12>>2];i=g+q[a+11720>>2]|0;q[d>>2]=i;e=q[d+8>>2];f=e+q[a+11724>>2]|0;q[d+4>>2]=f;e=c+e|0;g=b+g|0;if(r[a+11667|0]){$r(a,i,f);o[a+11664|0]=1;o[a+11667|0]=0;q[a+11712>>2]=g;q[a+11716>>2]=e}if(r[a+11744|0]){Ee(a,a+8|0,d,g,e,0)}q[a+11748>>2]=2;o[a+11744|0]=1;f=q[d+4>>2];q[a+11752>>2]=q[d>>2];q[a+11756>>2]=f;q[a+11760>>2]=g;q[a+11764>>2]=e;if(h){De(a+8|0,q[a+11668>>2],q[a+11672>>2],q[a+11676>>2],q[a+11680>>2],0)}q[a+11724>>2]=c;q[a+11720>>2]=b}Da=d+16|0}function aI(){var a=0,b=0,c=0,d=0,e=0,f=0;d=Kb(503519);a:{if(!q[160548]){break a}if(d){return eb(d)}a=Kb(503475);if(a){e=Wa(a)}d=Sa(e+14|0);if(!d){break a}if(a){Qa(d,a,e)}c=r[503537]|r[503538]<<8|(r[503539]<<16|r[503540]<<24);b=d+e|0;a=b;f=r[503533]|r[503534]<<8|(r[503535]<<16|r[503536]<<24);o[a|0]=f;o[a+1|0]=f>>>8;o[a+2|0]=f>>>16;o[a+3|0]=f>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;a=r[503542]|r[503543]<<8|(r[503544]<<16|r[503545]<<24);c=r[503538]|r[503539]<<8|(r[503540]<<16|r[503541]<<24);o[b+5|0]=c;o[b+6|0]=c>>>8;o[b+7|0]=c>>>16;o[b+8|0]=c>>>24;o[b+9|0]=a;o[b+10|0]=a>>>8;o[b+11|0]=a>>>16;o[b+12|0]=a>>>24;o[d+(e+13|0)|0]=0;b=d}return b}function qf(a){var b=0,c=0,d=0,e=0;c=q[a+420>>2];a:{if(!c){break a}b=q[a+412>>2];if((b|0)<1){break a}b=w(b,24)+c|0;d=r[a+372|0];while(1){if(!(!r[c+16|0]|(d|0)!=r[c+12|0])){b=q[a+432>>2];if((b|0)>=q[a+436>>2]){q[a+12>>2]=130;return}q[a+432>>2]=b+1;b=q[a+440>>2]+(b<<4)|0;q[b>>2]=q[a+356>>2];d=q[a+364>>2];q[b+12>>2]=c;q[b+8>>2]=1;q[b+4>>2]=d+1;d=q[c>>2];b=d+ -1|0;b:{if(b>>>0>=3){q[a+12>>2]=132;break b}e=q[((b<<3)+a|0)+448>>2];if(!e){q[a+12>>2]=138;break b}b=q[((b<<3)+a|0)+452>>2];c=q[c+4>>2];if((b|0)<(c|0)){q[a+12>>2]=131;break b}q[a+368>>2]=b;q[a+360>>2]=e;q[a+364>>2]=c;q[a+356>>2]=d}o[a+380|0]=0;return}c=c+24|0;if(c>>>0>>0){continue}break}}q[a+12>>2]=128}function DW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=q[b+144>>2];a:{if(e){break a}f=b+144|0;while(1){if(!q[b>>2]){e=271312;break a}e=uW(f);g=q[f>>2];e=e?e:271312;q[f>>2]=g?g:e;if(!g){break a}if((e|0)!=271312){g=q[e>>2];Pa(g?g:271312);La(e)}e=q[f>>2];if(!e){continue}break}}g=1;b:{if(tW(e,a,c,d)){break b}if(vu(kh(b+48|0),a,c,d)){break b}if(JX(om(b+52|0),a,c,d)){break b}e=q[b+56>>2];c:{if(e){break c}while(1){e=q[b>>2];if(!e){e=271312;break c}f=ab(1,128);if(f){sW(f,e)}h=q[b+56>>2];e=f?f:271312;q[b+56>>2]=h?h:e;if(!h){break c}if(!(!f|!e)){Yd(e);La(e)}e=q[b+56>>2];if(!e){continue}break}}if(oX(e,a,c,d)){break b}g=pW(rW(b+140|0),a,c,d)}return g|0}function XO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Da-16|0;Da=g;a:{if(!a){e=37;break a}e=6;if(!b){break a}f=q[a>>2];if(!f){break a}b:{c=q[a+72>>2];d=354792;c:{if((c|0)==1651078259){break c}d=354824;if((c|0)==1869968492){break c}d=_F(f,c);if(!d){break b}d=d+20|0}c=gb(q[f>>2],q[d>>2],g+12|0);e=q[g+12>>2];if(e){break a}q[c+4>>2]=d;q[c>>2]=f;q[c+8>>2]=q[d+4>>2];e=6;d:{f=q[a+64>>2];e:{if(f+2097151>>>0>4194302){break e}h=q[a+68>>2];if(h+2097151>>>0>4194302){break e}q[c+16>>2]=h<<10;q[c+12>>2]=f<<10;e=n[q[d+8>>2]](c,a)|0;if(!e){break d}d=q[c+4>>2]}a=q[q[c>>2]>>2];b=q[d+12>>2];if(b){n[b](c)}if(c){n[q[a+8>>2]](a,c)}break a}q[b>>2]=c;e=0;break a}e=18}Da=g+16|0;return e}function qp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;f=d?d:644896;d=q[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=r[b|0];d=a<<24>>24;if((d|0)>=0){q[i>>2]=a;e=(d|0)!=0;break a}a=o[b|0];if(!q[q[160602]>>2]){q[i>>2]=a&57343;e=1;break a}a=(a&255)+ -194|0;if(a>>>0>50){break c}d=q[(a<<2)+508272>>2];a=c+ -1|0;if(!a){break b}b=b+1|0}g=r[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){q[f>>2]=0;q[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=r[b|0];if((g&192)==128){continue}break}}q[f>>2]=0;q[160942]=25;e=-1;break a}q[f>>2]=d}Da=h+16|0;return e}function jW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!Dm(a+2|0,b,a)){break a}f=q[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+7|0]|r[a+6|0]<<8;if(!g){return 1}h=f;f=a+8|0;if(h>>>0>f>>>0|c>>>0>>0|c-f>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=1;c=r[a+7|0]|r[a+6|0]<<8;if(!c){break a}e=0;b:{while(1){if(!Cm(((e<<2)+a|0)+8|0,b,a)){break b}e=e+1|0;if((c|0)!=(e|0)){continue}break}return 1}e=0}return e}function Lh(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=Da-240|0;Da=h;i=q[d>>2];q[h+232>>2]=i;d=q[d+4>>2];q[h>>2]=a;q[h+236>>2]=d;j=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-q[(e<<2)+g>>2]|0;if((n[c](i,a)|0)<1){break d}l=0-b|0;k=!f;while(1){e:{d=i;if(!(!k|(e|0)<2)){f=q[((e<<2)+g|0)+ -8>>2];i=a+l|0;if((n[c](i,d)|0)>-1){break e}if((n[c](i-f|0,d)|0)>-1){break e}}q[(j<<2)+h>>2]=d;f=h+232|0;a=T$(q[h+232>>2]+ -1|0);if(!a){a=T$(q[h+236>>2]);a=a?a+32|0:0}Mh(f,a);j=j+1|0;e=a+e|0;if(q[h+236>>2]?0:q[h+232>>2]==1){break b}f=0;k=1;a=d;i=a-q[(e<<2)+g>>2]|0;if((n[c](i,q[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}hp(b,h,j);Tj(d,b,c,e,g)}Da=h+240|0}function un(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+28>>2];a:{if((c|0)==-1){break a}d=q[a+36>>2];f=q[a+40>>2];if(d>>>0>=f>>>0){break a}g=q[a>>2];e=c+1|0;h=q[a+16>>2]+20|0;while(1){b:{c=w(d,12)+h|0;b=c+ -4|0;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=e>>>0>>0?b:e;b=c;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c|c>>>0>=t[g+16>>2]){break b}q[a+36>>2]=d;q[a+32>>2]=c;q[a+28>>2]=e;return}d=d+1|0;if(d>>>0>>0){continue}break}}o[a+24|0]=0}function tD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-208|0;Da=d;q[d+204>>2]=0;a:{b:{c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);c:{if(!b|!c){break c}b=q[b>>2];if(!b){break c}e=n[b](c)|0;if(!e){break c}b=q[a>>2];f=q[b+712>>2];g=gb(q[b+100>>2],1028,d+204|0);b=q[d+204>>2];if(b){break b}fo(f+1372|0,d+8|0);b=n[q[e>>2]](q[q[a>>2]+100>>2],d+8|0,g)|0;q[d+204>>2]=b;if(b){break b}i=g+4|0;b=q[f+2024>>2];d:{while(1){if(!b){break d}b=b+ -1|0;c=b<<2;fo(q[(c+f|0)+2028>>2],d+8|0);c=n[q[e>>2]](q[q[a>>2]+100>>2],d+8|0,c+i|0)|0;q[d+204>>2]=c;if(!c){continue}break}h=c;break a}q[q[a+40>>2]>>2]=g}q[a+44>>2]=-1;break a}h=b}Da=d+208|0;return h|0}function lV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;h=1;if((g|0)<1){break a}f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(e>>>0>>0|i>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!e){break b}if(kV(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function Pw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;h=1;if((g|0)<1){break a}f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(e>>>0>>0|i>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!e){break b}if(Ow(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function zl(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-32|0;Da=f;c=wd(a,3);d=wd(a,2);e=q[a+88>>2];g=1;a:{if(!d){break a}b:{if(c){c=p[c+4>>1]-p[c+6>>1]|0;if(c){break b}}c=p[d+70>>1]-p[d+72>>1]|0}if(!c){break a}d=p[d+78>>1]+p[d+76>>1]|0;if(!d){break a}g=+(c|0)/+(d|0)}q[f+8>>2]=1;q[f+12>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;c=f;b=g*b*64;c:{if(y(b)<2147483648){d=~~b;break c}d=-2147483648}q[c+16>>2]=d;Yo(a,f+8|0);a=e;b=+q[e+24>>2]/g;d:{if(y(b)<2147483648){c=~~b;break d}c=-2147483648}q[a+24>>2]=c;a=e;b=+q[e+28>>2]/g;e:{if(y(b)<2147483648){c=~~b;break e}c=-2147483648}q[a+28>>2]=c;a=e;b=+q[e+32>>2]/g;f:{if(y(b)<2147483648){e=~~b;break f}e=-2147483648}q[a+32>>2]=e;Da=f+32|0}function ZS(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=Da-48|0;Da=j;a:{b:{if(q[a>>2]){h=q[a+204>>2];while(1){if(!yt(j,0,a,b,c,d,e,f)){g=271312;break b}g=h;if(g){while(1){if($S(q[g>>2]+16|0,j)){g=q[g>>2];if(!g){g=0;break b}if(!q[g>>2]){break b}if(q[g>>2]<=0){break a}q[g>>2]=q[g>>2]+1;break b}g=q[g+4>>2];if(g){continue}break}}g=xt(a,b,c,d,e,f);i=ab(1,8);if(!i){break b}q[i+4>>2]=h;q[i>>2]=g;k=q[a+204>>2];q[a+204>>2]=(h|0)==(k|0)?i:k;if((h|0)==(k|0)){if(!g){g=0;break b}if(!q[g>>2]){break b}if(q[g>>2]<=0){break a}q[g>>2]=q[g>>2]+1;break b}Wl(g);La(i);h=q[a+204>>2];if(q[a>>2]){continue}break}}g=xt(a,b,c,d,e,f)}Da=j+48|0;return g}I(270812,270837,269,270852);F()}function UC(a,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=q[a+712>>2];a:{b:{if(!e){break b}f=q[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=q[e+3096>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f+ -391|0;g=0;if(t[e+1356>>2]<=f>>>0){break c}g=q[q[e+1360>>2]+(f<<2)>>2];break c}a=q[e+3084>>2];g=0;if(!a){break c}g=n[q[a+20>>2]](f)|0}a=g;q[h+3096>>2]=a}q[b>>2]=a}if(c){a=q[e+3100>>2];if(!a){a=0;b=q[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b+ -391|0;if(t[e+1356>>2]<=b>>>0){break d}a=q[q[e+1360>>2]+(b<<2)>>2];break d}f=q[e+3084>>2];if(!f){break d}a=n[q[f+20>>2]](b)|0}q[e+3100>>2]=a}q[c>>2]=a}if(!d){break b}q[d>>2]=q[e+1512>>2]}a=0}return a|0}function tb(a){var b=0;if(a){b=s[a>>1]+ -2|0;a:{if(b>>>0>38){break a}b:{switch(b-1|0){default:La(q[a+8>>2]);break a;case 0:b=q[a+8>>2];if(!b){break a}tb(q[b>>2]);tb(q[b+4>>2]);tb(q[b+8>>2]);tb(q[b+12>>2]);La(b);break a;case 1:La(q[a+8>>2]);break a;case 3:Xc(q[a+8>>2]);break a;case 4:Sd(q[a+8>>2]);break a;case 7:La(q[a+8>>2]);break a;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 33:tb(q[a+12>>2]);break;case 2:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 32:case 34:case 35:case 36:case 37:break b}}tb(q[a+8>>2])}q[a>>2]=8}}function vo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=q[a>>2];if(!f){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=i<<2;d=q[e+c>>2];b:{if(!d){break b}g=0;e=q[e+q[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=bb(b,e,d);f=q[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){f=g;h=i<<2;k=q[h+c>>2];b=f;c:{if(!k){break c}g=0;j=q[h+q[a+8>>2]>>2];if(!j){break a}b=f;if((j|0)==(k|0)){break c}b=q[d+h>>2];if((j|0)<=(b|0)){break a}h=q[e+h>>2];if((h|0)<=(j|0)){break a}if((j|0)<(k|0)){b=bb(f,j-b|0,k-b|0);break c}b=bb(f,h-j|0,h-k|0)}g=b;i=i+1|0;if(i>>>0>2]){continue}break}}return g}function SE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=p[a+302>>1];if(e){f=q[q[q[a>>2]+96>>2]+64>>2]+ -35|0;a:{if(f>>>0>5){break a}b:{switch(f-1|0){case 4:if(r[a+615|0]){break a}f=c<<3;g=q[f+q[b+16>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+16>>2]>>2]=e+g;break a;case 0:case 1:case 2:case 3:break a;default:break b}}f=c<<3;g=q[f+q[b+16>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+16>>2]>>2]=e+g}e=q[b+24>>2]+c|0;o[e|0]=r[e|0]|8}e=p[a+304>>1];if(e){c:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break c}}f=c<<3;g=q[(f+q[b+16>>2]|0)+4>>2];a=bb(d,e,q[a+568>>2]);q[(f+q[b+16>>2]|0)+4>>2]=a+g}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|16}}function R_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=b+4|0;while(1){a:{c=q[b>>2]+ -1|0;if(c>>>0>1){break a}b:{if(c-1){d=q[b+8>>2];c=q[b+4>>2];if(d>>>0>=(r[c+2|0]<<8|r[c+3|0])>>>0){break a}c=c+(d<<1)|0;c=r[c+4|0]<<8|r[c+5|0];break b}c=q[b+4>>2];if(t[b+8>>2]>=(r[c+2|0]<<8|r[c+3|0])>>>0){break a}c=q[b+16>>2]}d=q[a>>2];c:{if(r[d+12|0]!=1){break c}e=q[b+20>>2];q[d+16>>2]=-1;f=d;d=c+e|0;c=ac(f,d&65535);if(!c){break c}e=c+(d>>>3&56)|0;c=e;h=q[c+4>>2];f=c;i=q[c>>2];e=d&63;d=e&31;if(32<=(e&63)>>>0){e=1<>>32-d;d=1<>2]=i|d;q[c+4>>2]=e|h}c=q[b>>2]+ -1|0;if(c>>>0>1){continue}if(c-1){q[b+8>>2]=q[b+8>>2]+1}else{__(g)}continue}break}}function HV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+24>>2]=0;q[c+28>>2]=-1;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}FV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function Gq(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=w(a,d);b=w(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=w(h,a);d=w(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=w(j,k);m=c&65535;n=b>>>16|0;b=l+w(m,n)|0;c=b<<16;g=(w(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+w(a,f)|0;e=g+(d>>>0>>0)|0;a=(w(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+w(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(e>>>0>>0){break b}a=1;if(d>>>0>b>>>0){break b}a=d>>>0>>0?-1:0}return a}function Sk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=131071){e=(w(a,b)>>>0)/(c>>>0)|0;break a}d=b>>>16|0;f=a&65535;g=w(d,f);h=a>>>16|0;i=b&65535;a=g+w(h,i)|0;b=a<<16;d=(w(d,h)+(a>>>16|0)|0)+((a>>>0>>0)<<16)|0;a=b+w(f,i)|0;b=d+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=z(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-w(c,e)|0;a=a<>>31;b=d-(d>>>0>>0?0:c)|0;e=e<<1|d>>>0>=c>>>0;a=a<<1;f=f+ -1|0;if(f){continue}break}}return(j|0)<0?0-e|0:e}function AV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}vV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function IA(a){q[a+92>>2]=0;q[a+32>>2]=0;q[a+28>>2]=308;q[a+24>>2]=309;q[a+8>>2]=0;q[a+12>>2]=32;q[a>>2]=0;q[a+4>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+96>>2]=0;q[a+576>>2]=0;q[a+580>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;q[a+252>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+544>>2]=0;q[a+548>>2]=0;q[a+552>>2]=0;q[a+556>>2]=0;q[a+564>>2]=0;q[a+568>>2]=0;q[a+60>>2]=0;q[a+76>>2]=16;q[a+80>>2]=15;q[a+84>>2]=11;q[a+88>>2]=4;p[a+560>>1]=s[a+560>>1]&65472|16;q[a+280>>2]=63;q[a+168>>2]=0;q[a+172>>2]=0;q[a+72>>2]=0;q[a+584>>2]=29332;q[a+588>>2]=152288;return 1}function hs(a,b,c,d){var e=0,f=0,g=0,h=0;h=q[a>>2];if(h>>>0>>0){f=1;b=b-h|0;d=d<<1;d=d>>>0>b>>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=r[b+h|0];if(e>>>0>32){break d}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break d;default:break c}}if(e<<24>>24<0){break b}e=r[e+291616|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}o[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}o[c+g|0]=f<<4;g=g+1|0}q[a>>2]=b+h}return g}function Wn(a){var b=0,c=0,d=0,e=0;b=Da-16|0;Da=b;c=Xa(a,0);q[b+12>>2]=c;a:{if(c){break a}c=Wb(a,b+8|0,4);q[b+12>>2]=c;if(c){break a}e=b;b:{c:{if(!(r[b+8|0]!=31|r[b+9|0]!=139|r[b+10|0]!=8)){if(r[b+11|0]<32){break c}}c=3;break b}c=Ib(a,6);q[b+12>>2]=c;d=r[b+11|0];if(d&4){d=Mo(a,b+12|0);c=q[b+12>>2];if(c){break a}c=Ib(a,d);q[b+12>>2]=c;if(c){break a}d=r[b+11|0];c=0}if(d&8){while(1){d=Ob(a,b+12|0)?0:3;c=q[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=r[b+11|0]}if(d&16){while(1){d=Ob(a,b+12|0)?0:5;c=q[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=r[b+11|0]}if(!(d&2)){break a}c=Ib(a,2)}q[e+12>>2]=c}Da=b+16|0;return c}function zY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=452;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function yY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=453;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function xf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=q[a+16>>2];d=q[a+4>>2];if(i&1|(d|0)<1){break a}j=q[a+12>>2];while(1){b:{c=b;f=q[(e<<2)+j>>2];if((c|0)==(f|0)){break b}while(1){c:{g=r[c|0];h=r[f|0];if(!h){break c}f=f+1|0;c=c+1|0;if((g|0)==(h|0)){continue}}break}if((g|0)==(h|0)){break b}e=e+1|0;if((e|0)!=(d|0)){continue}break a}break}La(b);return 1}d:{if(q[a+8>>2]!=(d|0)){c=q[a+12>>2];break d}g=i&2?64:1;f=g+d|0;c=Sa((f<<2)+4|0);if(!c){return 0}e:{if(!d){e=q[a+12>>2];break e}e=q[a+12>>2];Qa(c,e,d<<2)}if(e){La(e);f=g+q[a+8>>2]|0;d=q[a+4>>2]}q[a+12>>2]=c;q[a+8>>2]=f}q[a+4>>2]=d+1;q[(d<<2)+c>>2]=b;q[q[a+12>>2]+(q[a+4>>2]<<2)>>2]=0;return 1}function xY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=454;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function wY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=455;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function vZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=435;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function vY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=456;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function uZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=436;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function tZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=437;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function sZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=438;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function rZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=439;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function pZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=446;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function kv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=440;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function jv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=441;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function iv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=442;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+7|0]|r[b+6|0]<<8;mc(b?d+b|0:271312,a+8|0)}function hv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=443;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function gv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=444;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function CY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=449;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function BY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=450;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function AY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=451;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function m_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(Dv(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function cq(a){var b=0,c=0,d=0,e=0;b=q[a+352>>2];if(!q[b+184>>2]){c=n[q[a+12>>2]](q[a+464>>2]<<2)|0;q[b+184>>2]=c;if(!c){return-1}q[c>>2]=0}c=q[b+164>>2];d=q[b+176>>2];e=q[b+172>>2];if(d>>>0>=e>>>0){a:{b:{if(c){c=n[q[a+16>>2]](c,w(e,56))|0;if(c){break b}return-1}c=n[q[a+12>>2]](896)|0;d=32;if(c){break a}return-1}d=q[b+172>>2]<<1}q[b+164>>2]=c;q[b+172>>2]=d;d=q[b+176>>2]}q[b+176>>2]=d+1;a=q[b+180>>2];if(a){b=q[(q[b+184>>2]+(a<<2)|0)+ -4>>2];a=w(b,28)+c|0;e=q[a+16>>2];if(e){q[(w(e,28)+c|0)+24>>2]=d}e=q[a+20>>2];if(!e){q[(w(b,28)+c|0)+12>>2]=d}q[a+16>>2]=d;q[a+20>>2]=e+1}a=w(d,28)+c|0;q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;return d}function ae(a,b){var c=0,d=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Da-16|0;Da=g;h(+b);d=e(1)|0;i=e(0)|0;m=d&-2147483648;f=d&2147483647;c=f;j=c+ -1048576|0;f=i;k=f;if(f>>>0<0){j=j+1|0}a:{if((j|0)==2145386495&k>>>0<=4294967295|j>>>0<2145386495){l=f<<28;d=(c&15)<<28|f>>>4;c=(c>>>4|0)+1006632960|0;c=d>>>0<0?c+1|0:c;break a}if((c|0)==2146435072&f>>>0>=0|c>>>0>2146435072){l=i<<28;c=d>>>4|0;d=(d&15)<<28|i>>>4;c=c|2147418112;break a}if(!(c|f)){d=0;c=0;break a}k=c;c=(c|0)==1&f>>>0>=0|c>>>0>1?z(c):z(i)+32|0;Fc(g,f,k,0,0,c+49|0);n=q[g>>2];l=q[g+4>>2];d=q[g+8>>2];c=q[g+12>>2]^65536|15372-c<<16}q[a>>2]=n;q[a+4>>2]=l;q[a+8>>2]=d|o;q[a+12>>2]=c|m;Da=g+16|0}function Cm(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(l_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function BS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(AS(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function qQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=q[b+16>>2];d=q[b+20>>2];q[a+40>>2]=b+48;q[a+36>>2]=b+40;q[a+32>>2]=b+32;q[a+28>>2]=b+28;q[a+24>>2]=b+24;q[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}g=r[b+64|0];e=65;f=67;d=66}e=r[b+e|0];d=r[b+d|0];b=r[b+f|0];f=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=f;o[a+48|0]=c;o[a+47|0]=b;o[a+46|0]=d;o[a+45|0]=e;o[a+44|0]=g}function YD(a,b,c){a=a|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;f=q[a+532>>2];if(!f){return 6}k=-1;a:{if(!q[f>>2]){break a}j=q[f+4>>2];l=j>>>0>>0?j:b;e=j;while(1){g=65536;i=0;d=0;b:{if(!e){break b}while(1){c:{if(i>>>0>=l>>>0){g=g>>1;break c}d=q[(i<<2)+c>>2];d=h>>>i&1?d:65536-d|0;if((d|0)<1){g=0;d=e;break b}if((d|0)>65535){break c}g=Ma(g,d);j=q[f+4>>2]}i=i+1|0;e=j;d=e;if(i>>>0>>0){continue}break}}e=q[f+136>>2]+(h<<2)|0;d:{if(q[e>>2]==(g|0)){e=d;h=h+1|0;if(h>>>0>2]){continue}if(!m){break a}break d}q[e>>2]=g;m=1;e=d;h=h+1|0;if(h>>>0>2]){continue}}break}c=a;a=q[a+8>>2];q[c+8>>2]=b?a|32768:a&-32769;k=0}return k|0}function PJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c=r[a|0];d=c+ -216|0;c:{if(d>>>0>39){if(c){break b}c=r[r[a+1|0]+e|0]+ -5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break c}c=q[(c<<24>>24<<2)+496572>>2];break a}c=4;d:{switch(d-4|0){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:break b;case 0:case 1:case 2:case 3:break c;case 35:break d;default:break a}}if(r[a+1|0]<=253){break b}}return a-b|0}a=a+2|0;continue}a=a+c|0;continue}}function px(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}d=c-a|0;if(d>>>0<2){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}e=r[a+1|0]|r[a|0]<<8;if(e>>>0<9|d>>>0>>0){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;e=q[d+16>>2];d=e+c|0;q[b+8>>2]=d;if((e|0)<=-1){break a}c:{if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=a;c=r[a+1|0]|r[a|0]<<8;d=d-a|0;q[b+8>>2]=(d>>>0>c>>>0?c:d)+a}f=ox(a,b);a=q[b+28>>2];c=q[a+12>>2];q[b+4>>2]=c;a=q[a+16>>2];q[b+8>>2]=a+c;if((a|0)<=-1){break a}}return f}I(228416,228441,195,228458);F()}function gK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c=r[a+1|0];d=c+ -216|0;c:{if(d>>>0>39){if(c){break b}c=r[r[a|0]+e|0]+ -5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break c}c=q[(c<<24>>24<<2)+496572>>2];break a}c=4;d:{switch(d-4|0){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:break b;case 0:case 1:case 2:case 3:break c;case 35:break d;default:break a}}if(r[a|0]<=253){break b}}return a-b|0}a=a+2|0;continue}a=a+c|0;continue}}function Pa(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+28>>2];if(b){n[b](q[a+24>>2])}La(a)}return}I(227120,227145,279,227180);F()}function hL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;a:{if(!a){e=1;if(!b){break a}}e=0;f=Sa(Wa(c)+4098|0);if(!f){break a}f=tc(f,c);g=Wa(f)+f|0;o[g|0]=47;o[g+1|0]=0;h=Wa(f);if(r[643740]&128){q[i>>2]=c;Ua(490064,i)}g=fk(c);b:{if(!g){e=q[160942]==44;break b}c=Gk(3);if(c){e=Xf(g);c:{if(e){h=f+h|0;while(1){d:{if(r[e+19|0]==46){break d}e=e+19|0;if(Wa(e)>>>0>4095){break d}tc(h,e);if(Ad(c,f)){break d}e=0;break c}e=Xf(g);if(e){continue}break}}Gc(q[c+12>>2],q[c+4>>2],4,836);e=1;if(q[c+4>>2]<1){break c}h=0;while(1){iL(a,b,q[q[c+12>>2]+(h<<2)>>2],d);h=h+1|0;if((h|0)>2]){continue}break}}Yb(c);Wh(g);break b}Wh(g)}La(f)}Da=i+16|0;return e}function $R(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{b:{if(d){h=HG(d);if((h|0)==-1){break b}hb(a,6,3274,0);q[e+12>>2]=c;q[e+8>>2]=c+ -1;d=0;f=Sa(c);c:{if(!f){break c}q[e>>2]=f;q[e+4>>2]=b;b=c;g=c;d=f;d:{e:{while(1){f:{if(b){if((Rj(h,e+4|0,e+12|0,e,e+8|0)|0)==-1){break f}if(i){break d}i=0;b=q[e+12>>2];continue}i=1;if((Rj(h,0,0,e,e+8|0)|0)!=-1){break d}}if(q[160942]==1){f=q[e>>2];g=c+g|0;b=db(d,g);if(!b){break e}q[e+8>>2]=q[e+8>>2]+c;q[e>>2]=b+(f-d|0);d=b;b=q[e+12>>2];continue}break}hb(a,2,3329,0)}La(d);d=0;break c}o[((q[e+8>>2]^-1)+g|0)+d|0]=0}hb(a,6,3349,0);break a}I(3254,1465,983,3263);F()}d=0;hb(a,1,3298,0)}Da=e+16|0;return d}function vl(a){var b=0,c=0;b=q[a+120>>2];a:{if(!b){break a}c=q[b+44>>2]+ -1|0;q[b+44>>2]=c;if(c){break a}while(1){c=q[b+28>>2];Cb(q[b+36>>2]);gd(q[b+40>>2]);La(b);b=c;if(b){continue}break}}b=q[a+124>>2];b:{if(!b){break b}c=q[b+44>>2]+ -1|0;q[b+44>>2]=c;if(c){break b}while(1){c=q[b+28>>2];Cb(q[b+36>>2]);gd(q[b+40>>2]);La(b);b=c;if(b){continue}break}}ng(q[a+748>>2]);ng(q[a+744>>2]);ng(q[a+740>>2]);KN(q[a+116>>2]);ng(q[a+736>>2]);La(q[a+788>>2]);La(q[a+792>>2]);gd(q[a+816>>2]);b=q[a+8>>2];if(b){Tr(b)}b=q[a+4>>2];if(b){Ci(b)}La(q[a+128>>2]);La(q[a+688>>2]);La(q[a+696>>2]);La(q[a+704>>2]);La(q[a+100>>2]);La(q[a+104>>2]);La(q[a+828>>2]);La(a)}function xZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}g=1;if(tv(c+d|0,b,0)){break a}c=q[b+24>>2];if(c>>>0>31){return 0}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}g=1}return g}function uw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}a=e;e=1;d=r[d+1|0]|r[d|0]<<8;if(!d){break a}a=a+c|0;if(!(i>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0)){q[b+12>>2]=g+ -1;if((g|0)>0){break a}}e=0}return e}function oV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i=0;b:{if(!e){break b}if(g>>>0>>0|j>>>0>c>>>0|g-c>>>0>>0){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);a=c+i|0;q[f+12>>2]=a;k=nV(a,b,d<<8&16711680|d<<24|(d>>>8&65280|d>>>24),f+12|0)}Da=f+16|0;return k}function nd(a){var b=0,c=0,d=0;b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){q[a+4>>2]=q[b>>2];c=q[b+8>>2]+ -1|0;a:{if(c>>>0>18){break a}b:{switch(c-1|0){default:La(q[b+16>>2]);break a;case 4:ie(q[b+16>>2]);break a;case 10:c=q[b+16>>2];if(!c){break a}La(c);break a;case 11:La(q[b+16>>2]);break a;case 13:Xc(q[b+16>>2]);break a;case 14:Sd(q[b+16>>2]);break a;case 15:c=q[b+16>>2];tb(q[c+16>>2]);La(c);break a;case 5:case 6:case 7:case 16:tb(q[b+16>>2]);break a;case 0:case 3:case 8:case 9:case 12:break a;case 17:break b}}c=q[b+16>>2];d=q[c+8>>2];if(d){tb(d)}La(c)}c=q[a+1312>>2]+ -1|0;if(((w(c,24)+a|0)+1320|0)==(b|0)){q[a+1312>>2]=c;return}La(b)}}function j_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=e-a|0;if(c>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(f>>>0<6|c>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=1;f=r[a+4|0];b:{if(f>>>0>2){break b}c:{switch(f-1|0){default:c=a+6|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<8){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+7|0]|r[a+6|0]<<8;if(c){a=a+14|0;if(g>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break b}}return 1;case 0:break b;case 1:break c}}c=i_(a,b)}return c}return 0}function TZ(a,b,c){var d=0,e=0,f=0,g=0;if((c|0)==1936292453){return SZ(a,b)}d=c&-65536;a:{if((d|0)!=1668677632){c=1;if((d|0)!=1936916480){break a}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;return(a|0)>0}c=0;g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}f=a+12|0;if(g>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}f=r[a+13|0]|r[a+12|0]<<8;if(f){a=a+14|0;if(g>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)<3){break a}}c=1}return c}function xV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[b+24>>2]=0;q[b+20>>2]=271312;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}sV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function yV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}tV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function DK(a,b,c){a=a|0;b=b|0;c=c|0;a=(c-b|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+1|0]!=116){break b}a=r[b|0];return((a|0)==108?60:(a|0)==103?62:0)|0;case 0:if(r[b|0]!=97|r[b+1|0]!=109){break b}c=38;if(r[b+2|0]!=112){break b}break a;case 1:break c}}a=o[b|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+1|0]!=117|r[b+2|0]!=111){break b}c=34;if(r[b+3|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+1|0]!=112|r[b+2|0]!=111){break b}c=39;if(r[b+3|0]==115){break a}}c=0}return c|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;var g=0,h=0;a:{b:{a=uu(b+24|0);f=q[a+4>>2];c:{if((f|0)!=131072){if((f|0)!=65536|c>>>0>257){break b}a=c<<2;f=q[a+248064>>2];a=q[a+248068>>2]+(f^-1)|0;f=f+249100|0;break c}f=q[a+8>>2];if((r[f|0]<<8|r[f+1|0])>>>0<=c>>>0){break b}f=f+(c<<1)|0;f=r[f+2|0]<<8|r[f+3|0];if(f>>>0<=257){a=f<<2;f=q[a+248064>>2];a=q[a+248068>>2]+(f^-1)|0;f=f+249100|0;break c}f=f+ -258|0;if(f>>>0>=t[a+16>>2]){break b}a=q[a+24>>2]+q[q[a+20>>2]+(f<<2)>>2]|0;f=a+1|0;a=r[a|0]}if(!a){break b}b=1;if(!e){break a}b=e+ -1|0;a=b>>>0>a>>>0?a:b;g=Md(d,f,a)+a|0,h=0,o[g|0]=h;return 1}b=oW(om(b+52|0),c,d,e)}return b|0}function oM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-144|0;Da=c;d=de(b);Xk(b,a,c+80|0);e=Ic(q[b+12>>2]);a:{if(!e){a=-1;break a}b:{c:{d:{if(!d){a=-1;while(1){b=Qb(e);if(!b){break c}q[c+20>>2]=0;q[c+16>>2]=c+80;d=_b(b,c+16|0);if(!d){break c}b=af(d,2,0);La(d);if((b|0)==-1){continue}break}break d}a=-1;while(1){b=Qb(e);if(!b){break c}q[c+40>>2]=0;q[c+32>>2]=b;q[c+36>>2]=c+80;f=_b(d,c+32|0);if(!f){break c}b=af(f,2,0);La(f);if((b|0)==-1){continue}break}}d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=1;g=c,h=R()|0,q[g+72>>2]=h;q[c>>2]=c+48;if((Jp(b,14,c)|0)==-1){break b}a=b}Zb(e);break a}Zb(e);bd(b)}Da=c+144|0;return a}function dv(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((c|0)==-1|c>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=1;a=(c<<1)+a|0;f=r[a+6|0]<<8|r[a+7|0];kf(b,f,0,0,0);a=q[b+96>>2];e=q[a+92>>2];b:{if((e|0)==q[a+88>>2]){c=q[a+80>>2];b=c;if(q[a+72>>2]==(c|0)){break b}}if(!Va(a,1,1)){break a}c=q[a+88>>2]+w(q[a+72>>2],20)|0;d=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+16>>2]=q[c+16>>2];d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;c=q[a+72>>2];b=q[a+80>>2];e=q[a+92>>2]}q[w(b,20)+e>>2]=f;d=1;q[a+80>>2]=b+1;q[a+72>>2]=c+1}return d}function bN(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;if((b|c)>>>0<64){h=q[a+20>>2];a:{if(!h){break a}l=q[a+16>>2];i=q[a+8>>2];j=q[a+12>>2];if(!(!b|(j|0)<1|(i|0)<2)){while(1){k=w(e,l);a=i;while(1){f=a+ -1|0;d=(f+k|0)+h|0;m=d+ -1|0;n=r[m|0];g=w(n,b)>>>6|0;o[m|0]=n-g;o[d|0]=g+r[d|0];d=(a|0)>2;a=f;if(d){continue}break}e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(!c|(i|0)<1|(j|0)<2){break a}f=0;while(1){a=j;while(1){b=a+ -1|0;d=w(b,l)+f|0;g=(d-l|0)+h|0;k=r[g|0];e=w(k,c)>>>6|0;o[g|0]=k-e;d=d+h|0;o[d|0]=e+r[d|0];e=(a|0)>2;a=b;if(e){continue}break}f=f+1|0;if((i|0)!=(f|0)){continue}break}}return}I(437960,438005,226,438018);F()}function UU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=q[a+12>>2];b=c;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=q[d+72>>2];g=n[q[b+148>>2]](d,q[d+76>>2],c,q[b+12>>2])|0;if(g){a:{b:{b=q[a+12>>2];if(b){b=q[b+24>>2];a=q[a+24>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=q[c+8>>2];break a}a=c+8|0;b=q[c+8>>2];break a}d=a;e=a>>31;a=q[c>>2];f=b;b=b>>31;h=c,i=W$(V$(d,e,a,a>>31),Ea,f,b),q[h>>2]=i;a=q[c+4>>2];h=c,i=W$(V$(d,e,a,a>>31),Ea,f,b),q[h+4>>2]=i;a=c+8|0;c=q[c+8>>2];b=W$(V$(d,e,c,c>>31),Ea,f,b)}q[a>>2]=b}return g|0}function SU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=q[a+12>>2];b=c;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=q[d+72>>2];g=n[q[b+152>>2]](d,q[d+76>>2],c,q[b+16>>2])|0;if(g){a:{b:{b=q[a+12>>2];if(b){b=q[b+20>>2];a=q[a+20>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=q[c+8>>2];break a}a=c+8|0;b=q[c+8>>2];break a}d=a;e=a>>31;a=q[c>>2];f=b;b=b>>31;h=c,i=W$(V$(d,e,a,a>>31),Ea,f,b),q[h>>2]=i;a=q[c+4>>2];h=c,i=W$(V$(d,e,a,a>>31),Ea,f,b),q[h+4>>2]=i;a=c+8|0;c=q[c+8>>2];b=W$(V$(d,e,c,c>>31),Ea,f,b)}q[a>>2]=b}return g|0}function lu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(e){i=g;g=a+4|0;if(i>>>0>g>>>0|d>>>0>>0|d-g>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!f){break a}h=0;d=0;while(1){if(!SV(((d<<2)+a|0)+4|0,b,q[c>>2])){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}}h=1}return h}function Wl(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}eT(a+60|0);La(q[a+36>>2]);La(a)}return}I(270812,270837,279,270872);F()}function SI(a,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=b+ -15|0;if(g>>>0>26){break c}f=39;d:{switch(g-1|0){case 4:if(!n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496828)){break b}q[a>>2]=952;return 43;case 7:q[a>>2]=953;q[a+4>>2]=2;return 44;case 2:case 25:q[a>>2]=954;return 51;case 14:q[a>>2]=954;return 53;case 15:q[a>>2]=954;return 52;case 0:case 1:case 3:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break c;case 16:break d;default:break a}}q[a>>2]=954;return 54}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function QS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(e){i=g;g=a+4|0;if(i>>>0>g>>>0|d>>>0>>0|d-g>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!f){break a}h=0;d=0;while(1){if(!NS(((d<<2)+a|0)+4|0,b,q[c>>2])){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}}h=1}return h}function Ms(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,r=0;i=w(c,1348)+a|0;f=q[i- -64>>2];a=q[i+56>>2];g=w(c,7452)+b|0;j=q[g+44>>2];b=Ma(t[b+40>>2]/40|0,j);if((a|0)>=1){n=(b|0)<32?b:32;r=w(a,44)+f|0;a=q[g+260>>2];b=a;while(1){if(b){b=0;c=n;h=0;while(1){e=w(b,28)+g|0;d=q[e+288>>2];if(!(!(d&1)|((d&2)>>>1|0)==(q[i+68>>2]==o[f+13|0]|0))){a=p[f>>1];k=a-q[e+264>>2]|0;d=k>>31;l=a-q[e+276>>2]|0;m=l>>31;e=(d^d+k)>(m^m+l)?e+276|0:e+264|0;d=a-q[e>>2]|0;a=d>>31;d=Ma(a^a+d,j);a=(d|0)<(c|0);c=a?d:c;h=a?e:h;a=q[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(h){q[f+20>>2]=h}b=a}else{b=0}f=f+44|0;if(f>>>0>>0){continue}break}}}function rk(a,b){var c=0,d=0,e=0,f=0;a:{c=q[a+4>>2];if(!c){break a}b:{c:{while(1){if(q[c+4>>2]==q[a>>2]){d:{if(q[c+8>>2]!=2){_a(a,1,501368,0);nd(a);break d}q[c+8>>2]=0;d=q[c+16>>2];nd(a);if(!e){e=d;break d}c=Hc(q[a+16>>2]);if(!c){break c}q[c+8>>2]=d;q[c>>2]=36;q[c+12>>2]=e;e=c}c=q[a+4>>2];if(c){continue}}break}if(!e){break a}break b}_a(a,2,499215,0);tb(d);tb(e)}e:{c=q[a+1312>>2];f:{if(c>>>0<=63){q[a+1312>>2]=c+1;c=(w(c,24)+a|0)+1320|0;break f}c=Sa(24);if(!c){break e}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];f=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[f+4>>2]=d;q[a+4>>2]=c;if(!c){break e}q[c+8>>2]=b;q[c+16>>2]=e;return}_a(a,2,499215,0);tb(e)}}function Go(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(o[a+741|0]&1){a:{g=q[a+736>>2];c=q[g+56>>2];e=s[c>>1];if(!e){break a}b=q[c+24>>2];i=b+w(e,12)|0;e=0;while(1){h=xo(a,q[b>>2]);d=tj(a,c+4|0,s[b+4>>1],s[b+6>>1]);b:{c:{if(!h){break c}p[h>>1]=s[b+8>>1]+d;c=q[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(b>>>0>=i>>>0){break a}c=q[g+56>>2];e=d;continue}}e=s[a+72>>1];f=e+f|0;p[a+72>>1]=f;b=d;d=s[a+70>>1];b=b+d|0;p[a+70>>1]=b;c=p[a+486>>1];p[a+82>>1]=c;p[a+80>>1]=s[a+484>>1]-((c|0)/2|0);p[a+74>>1]=(b+(e+((s[a+74>>1]+j|0)-d|0)|0)|0)-f;Ko(a+108|0,28)}}function cN(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,p=0;a:{k=q[a+20>>2];if(!k){break a}l=q[b+20>>2];if(!l){break a}f=q[a+4>>2];d=f+q[a+12>>2]|0;g=q[b+4>>2];e=g+q[b+12>>2]|0;h=(g|0)>(f|0)?g:f;m=((e|0)>(d|0)?d:e)-h|0;if((m|0)<1){break a}n=q[a+16>>2];d=q[a>>2];c=n+d|0;p=q[b+16>>2];e=q[b>>2];i=p+e|0;j=(i|0)>(c|0)?c:i;c=(e|0)>(d|0)?e:d;i=j-c|0;if((i|0)<1){break a}d=w(h-f|0,n)+k+(c-d)|0;g=w(h-g|0,p)+l+(c-e)|0;e=0;while(1){f=0;while(1){c=f+g|0;h=r[c|0];j=c;c=r[d+f|0];o[j|0]=h>>>0>c>>>0?h-(c>>>1|0)|0:0;f=f+1|0;if((i|0)!=(f|0)){continue}break}g=q[b+16>>2]+g|0;d=q[a+16>>2]+d|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}}}function sG(a){var b=0,c=0,d=0,f=0,g=0;a:{h(+a);c=e(1)|0;f=e(0)|0;b=c;c=b&2147483647;b:{if(c>>>0>=1083174912){if(!(c>>>0<1083179008|((b|0)<0?1:(b|0)<=0?f>>>0>=0?0:1:0))){return a*8.98846567431158e+307}if(c>>>0>=2146435072){return-1/a}if(!(a<=-1075)){break a}d=0;if((b|0)<-1?1:(b|0)<=-1?f>>>0>4294967295?0:1:0){break b}break a}if(c>>>0>1016070143){break a}d=a+1}return d}g=a+26388279066624;h(+g);e(1)|0;b=(e(0)|0)+128|0;f=b<<4&4080;d=v[f+637008>>3];a=a-(g+ -26388279066624)-v[(f|8)+637008>>3];return Kd(d+d*a*(a*(a*(a*(a*.0013333559164630223+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(b&-256)/256|0)}function pY(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,s=0,t=0;e=r[a+1|0]|r[a|0]<<8;if(!e){return 0}i=Z$(r[c+1|0]|r[c|0]<<8);j=r[c+3|0]|r[c+2|0]<<8;n=(i+Z$(j)<<1)+2|0;o=c+2|0;g=e+ -1|0;e=q[b+96>>2];k=q[q[e+88>>2]+w(d,20)>>2];a:{while(1){h=g+l>>>1|0;f=w(n,h)+a|0;m=f+2|0;f=r[m|0]<<8|r[f+3|0];b:{if(f>>>0>k>>>0){g=h+ -1|0;break b}if((f|0)==(k|0)){break a}l=h+1|0}if((l|0)<=(g|0)){continue}break}return 0}f=c;c=m+2|0;c:{if(p=0,s=!Jf(f,b,a,c,q[e+96>>2]+w(q[e+72>>2],20)|0),t=Jf(o,b,a,c+(i<<1)|0,q[e+96>>2]+w(d,20)|0),t?p:s){break c}a=d+1|0;b=q[e+72>>2];if(a-b>>>0<2){break c}rb(e,b,a)}q[e+72>>2]=((j|0)!=0)+d;return 1}function ec(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+12>>2];g=b;e=q[b+16>>2];j=e;f=e;h=q[a+48>>2];d=q[a+52>>2];if(h>>>0>d>>>0){d=q[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;q[g+16>>2]=j-e;q[b+20>>2]=e+q[b+20>>2];d=q[a+56>>2];if(d){d=n[d](q[a+60>>2],h,e)|0;q[a+60>>2]=d;q[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Qa(i,h,e)+e|0;f=e+h|0;if((f|0)==q[a+44>>2]){e=q[a+40>>2];d=q[a+52>>2];if((f|0)==(d|0)){q[a+52>>2]=e;d=e}f=q[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;q[b+16>>2]=f-d;q[b+20>>2]=d+q[b+20>>2];f=q[a+56>>2];if(f){f=n[f](q[a+60>>2],e,d)|0;q[a+60>>2]=f;q[b+48>>2]=f}f=d+e|0;g=Qa(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}q[b+12>>2]=g;q[a+48>>2]=f;return c}function PH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-32|0;Da=d;pc(d+16|0,a);pc(d,b);f=-1;a=q[d+16>>2]+ -1|0;a:{if(a>>>0>8){break a}b:{c:{switch(a-1|0){case 0:e=v[d+24>>3];break b;case 7:X();F();case 1:case 2:case 3:case 4:case 5:case 6:break a;default:break c}}e=+q[d+24>>2]}a=q[d>>2]+ -1|0;if(a>>>0>8){break a}d:{e:{switch(a-1|0){default:g=+q[d+8>>2];f=g;break d;case 0:g=v[d+8>>3];f=g;break d;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break e}}a=q[d+8>>2];f=v[a+8>>3];g=v[a>>3]}q[c>>2]=2;v[c+8>>3]=(e+e)*.5;if(!(f>2];if(c){g=-1;while(1){d:{e:{if(b>>>0>31){break e}if(Yc(a,c,515)){break d}c=q[a+84>>2];if(q[c+72>>2]!=1869968492){break e}if(!s[c+108>>1]){break d}}vi(d,b);c=b>>>8|0;if((c|0)!=(g|0)){g=c;h=gg(d,b);if(!h){break b}}c=(b>>>3&28)+h|0;q[c>>2]=q[c>>2]|1<<(b&31)}b=Qf(a,b,e+12|0);c=q[e+12>>2];if(c){continue}break}}if(!f){break a}b=61440;while(1){if(ui(d,b)){vi(d,b+ -61440|0)}b=b+1|0;if((b|0)!=61696){continue}break}break a}Xc(d);d=0}Da=e+16|0;return d}function jV(a,b,c,d){var e=0,f=0,g=0;e=a+8|0;g=b+1|0;g=(g|0)<0?271312:e+(g<<2)|0;f=g;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);e=(b|0)<0?271312:(b<<2)+e|0;b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0>b>>>0){a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[c>>2]=b+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));a=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[d>>2]=b-(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));a=1}else{a=0}return a}function ql(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;La(q[a+100>>2]);La(q[a+104>>2]);f=a;if(b){g=eb(b)}else{g=0}q[f+100>>2]=g;f=a;if(c){g=eb(c)}else{g=0}q[f+104>>2]=g;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);f=q[a+16>>2];q[a+136>>2]=f;g=q[a+20>>2];q[a+140>>2]=g;h=q[a- -64>>2];i=q[a+68>>2];q[a+148>>2]=(f-h|0)-i;j=q[a+56>>2];k=q[a+60>>2];q[a+144>>2]=(g-j|0)-k;q[a+156>>2]=(f+((h|0)>0?0-h|0:0)|0)+((i|0)>0?0-i|0:0);q[a+152>>2]=(((j|0)>0?0-j|0:0)+g|0)+((k|0)>0?0-k|0:0);Lb(q[a+736>>2]);f=q[a+116>>2];if(f){Lb(q[f+44>>2])}f=q[a+8>>2];if(f){Tr(f)}l=a,m=nP(q[a>>2],q[a+4>>2],c,b,e,d),q[l+8>>2]=m}function is(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;c=q[a>>2]+1|0;q[d+12>>2]=c;a:{if(c>>>0>=b>>>0){break a}while(1){$b(d+12|0,b);c=q[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=r[c|0];if((e+ -48&255)>>>0<=9){break b}e=e+ -65|0;if(e>>>0>37){break a}switch(e-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break a;default:break b}}c=c+1|0;q[d+12>>2]=c;if(c>>>0>>0){continue}break}}c:{if(c>>>0>>0){b=3;if(r[c|0]!=62){break c}}c=c+1|0;q[d+12>>2]=c;b=0}q[a>>2]=c;Da=d+16|0;return b}function jt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=q[a+20>>2];if((h|0)<1){return 0}j=q[a>>2];d=h+ -1|0;k=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+j|0;b:{if((r[i|0]<<8|r[i+1|0])>>>0>=b>>>0){d=i+k|0;if((r[d|0]<<8|r[d+1|0])>>>0<=b>>>0){break a}d=g+ -1|0;break b}f=g+1|0}if((f|0)<=(d|0)){continue}break}return 0}f=e>>1;d=e+q[a+12>>2]|0;g=r[d|0]<<8|r[d+1|0];c:{if(g){d=0;e=f+(b-h|0)+(g>>>1)|0;b=q[a+4>>2]+(f<<1)|0;b=e-(r[b|0]<<8|r[b+1|0])|0;if(b>>>0>=t[a+24>>2]){break c}b=q[a+16>>2]+(b<<1)|0;b=r[b|0]<<8|r[b+1|0];if(!b){break c}}a=q[a+8>>2]+(f<<1)|0;a=(r[a|0]<<8|r[a+1|0])+b&65535;if(!a){return 0}q[c>>2]=a;d=1}return d}function hu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}EV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function Jw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}k=r[a+1|0]|r[a|0]<<8;if(k){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}l=r[a+1|0]|r[a|0]<<8}d=q[d>>2];if(d>>>0>2147483646){return 0}j=1;if(!d){break a}c=c+l|0;if(i>>>0>c>>>0){return 0}if(f>>>0>>0){return 0}j=0;if(f-c>>>0>>0){break a}q[b+12>>2]=g+ -1;if((g|0)<=0){break a}a=0;while(1){if(!xg(c+(a<<1)|0,b,q[e>>2])){break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}j=1}return j}function ph(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}f=16;a:{b:{if(s[a+264>>1]<=b>>>0){break b}d=q[a+544>>2];if(!d){return 7}f=0;g=c,h=n[q[d+16>>2]](0)|0,q[g>>2]=h;e=q[a+476>>2];if((e|0)!=151552){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!r[a+632|0]){if(qn(a)){break b}}if(s[a+636>>1]<=b>>>0){break b}b=s[q[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){break a}q[c>>2]=q[(q[a+644>>2]+(b<<2)|0)+ -1032>>2];return 0}if(!r[a+632|0]){if(qn(a)){break b}}if(s[a+636>>1]<=b>>>0){break b}g=c,h=n[q[d+16>>2]](o[q[a+640>>2]+b|0]+b|0)|0,q[g>>2]=h}return f|0}g=c,h=n[q[d+16>>2]](b)|0,q[g>>2]=h;return 0}function _j(a,b,c,d,e){var f=0,g=0,h=0;f=Da-208|0;Da=f;q[f+204>>2]=c;c=0;Na(f+160|0,0,40);q[f+200>>2]=q[f+204>>2];a:{if((Zj(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}c=q[a+76>>2]>=0?1:c;g=q[a>>2];if(o[a+74|0]<=0){q[a>>2]=g&-33}h=g&32;b:{if(q[a+48>>2]){b=Zj(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}q[a+48>>2]=80;q[a+16>>2]=f+80;q[a+28>>2]=f;q[a+20>>2]=f;g=q[a+44>>2];q[a+44>>2]=f;d=Zj(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!g){break b}n[q[a+36>>2]](a,0,0)|0;q[a+48>>2]=0;q[a+44>>2]=g;q[a+28>>2]=0;q[a+16>>2]=0;b=q[a+20>>2];q[a+20>>2]=0;b=b?d:-1}d=a;a=q[a>>2];q[d>>2]=a|h;b=a&32?-1:b;if(!c){break a}}Da=f+208|0;return b}function jM(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}e=q[a+4>>2];c=-1;f=q[a+12>>2]+a|0;b:{if(f){b=e+ -1|0;c:{d:{if((e|0)<1){c=b;break d}while(1){c=b>>1;d=c;if(!s[(b&-2)+f>>1]){break c}d=(b|0)>1;c=c+ -1|0;b=c;if(d){continue}break}}d=(c>>>31|0)+c^-1}c=d;if((c|0)>-1){break b}}c=c^-1;if((e|0)==(c|0)){break a}}b=q[a+8>>2]+a|0;b=q[b+(c<<2)>>2]+b|0;if(!b){break a}while(1){g=Z$(q[b+28>>2])+(Z$(q[b+24>>2])+(Z$(q[b+20>>2])+(Z$(q[b+16>>2])+(Z$(q[b+12>>2])+(Z$(q[b+8>>2])+(Z$(q[b+4>>2])+(Z$(q[b>>2])+g|0)|0)|0)|0)|0)|0)|0)|0;c=c+1|0;if((c|0)>=(e|0)){break a}b=q[a+8>>2]+a|0;b=q[b+(c<<2)>>2]+b|0;if(b){continue}break}}return g}function xe(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{b=r[a|0];if((b+ -65&255)>>>0<=25){b=b+32|0;break b}if(b&255){break b}b=0;break a}d=r[a+1|0];d=(d+ -65&255)>>>0<26?d+32|0:d;c=b&255;if(c>>>0<97){c=0;break a}if(c>>>0>122){c=245;e=239;break a}c=c<<3;e=q[c+485416>>2];c=q[c+485420>>2];if((e|0)<=(c|0)){break a}return e^-1}g=a+2|0;h=d&255;i=b&255;c:{while(1){d=c+e>>1;f=d<<5;b=f+449308|0;d:{if(r[b|0]!=(i|0)){b=dd(b,a);break d}b=r[f+449309|0]-h|0;if(b){break d}b=f+449310|0;if(r[g|0]?0:!r[b|0]){break c}b=dd(b,g)}if(!b){break c}f=(b|0)<0;e=f?d+1|0:e;c=f?c:d+ -1|0;if((e|0)<=(c|0)){continue}break}d=(b>>>31|0)+d^-1}return d}function PD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Da-32|0;Da=c;a:{if((n[q[b+52>>2]](b,6,c,3)|0)<=5){q[b+12>>2]=3;break a}e=q[c+12>>2];d=e>>31;d=d^d+e;if((d|0)!=65536){if(!d){q[b+12>>2]=3;break a}f=a,g=Za(1e3,d),p[f+68>>1]=g;f=c,g=Za(q[c>>2],d),q[f>>2]=g;f=c,g=Za(q[c+4>>2],d),q[f+4>>2]=g;f=c,g=Za(q[c+8>>2],d),q[f+8>>2]=g;f=c,g=Za(q[c+16>>2],d),q[f+16>>2]=g;f=c,g=Za(q[c+20>>2],d),q[f+20>>2]=g;e=q[c+12>>2]<0?-65536:65536;q[c+12>>2]=e}q[a+440>>2]=q[c>>2];q[a+448>>2]=q[c+4>>2];d=q[c+8>>2];q[a+452>>2]=e;q[a+444>>2]=d;if(!pi(a+440|0)){q[b+12>>2]=3;break a}q[a+456>>2]=q[c+16>>2]>>16;q[a+460>>2]=q[c+20>>2]>>16}Da=c+32|0}function Lg(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=p[a+56>>1];p[a+20>>1]=b+s[a+20>>1];d=s[a+22>>1];p[a+22>>1]=d+s[a+58>>1];e=q[a+48>>2]+q[a+84>>2]|0;q[a+48>>2]=e;if((b|0)>=1){g=q[a+68>>2];while(1){f=(c<<1)+g|0;p[f>>1]=d+s[f>>1];c=c+1|0;if((b|0)!=(c|0)){continue}break}}q[a+84>>2]=0;q[a+56>>2]=0;b=a;c=q[a+24>>2];if(c){c=c+(p[a+22>>1]<<3)|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;b=a;d=q[a+32>>2];c=0;a:{if(!d){break a}c=d+(p[a+20>>1]<<1)|0}q[b+68>>2]=c;if(r[a+16|0]){b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2]}b=a;a=q[a+52>>2];q[b+88>>2]=a?a+(e<<5)|0:0}}function H_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);a:{b:{if((c|0)==-1){break b}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];d=a?d+a|0:271312;e=r[d|0]<<8|r[d+1|0];if(!e){break b}f=d+2|0;g=q[b+8>>2];while(1){c:{a=r[f+1|0]|r[f|0]<<8;h=a?a+d|0:271312;if((r[h+2|0]<<8|r[h+3|0])!=(g|0)){break c}if(g>>>0<2){return 1}i=q[b+4>>2];c=1;while(1){a=g>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;if(q[(c<<2)+i>>2]!=(r[a|0]<<8|r[a+1|0])){break c}a=1;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}f=f+2|0;e=e+ -1|0;if(e){continue}break}}a=0}return a}function yZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<6){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!xZ((w(e,6)+a|0)+4|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=(w(e,6)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function sh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;if(q[a+184>>2]<0){return-9}g=q[a+64>>2];f=q[a+52>>2];h=q[a+276>>2];j=(((f|0)>(g|0)?g:f)-h|0)+w(g,q[a+272>>2])|0;g=q[b>>2];i=g>>>0>j>>>0?j:g;k=b;f=g;a:{if(!c){break a}h=q[a+96>>2]+(h&q[a+68>>2])|0;f=q[c>>2];if(!f){q[c>>2]=h;f=g;break a}Qa(f,h,i);q[c>>2]=q[c>>2]+i;f=q[b>>2]}q[k>>2]=f-i;b=q[a+276>>2]+i|0;q[a+276>>2]=b;if(d){q[d>>2]=b}b=1<>2];c=q[a+64>>2];if(j>>>0>g>>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}b=q[a+52>>2];if((b|0)<(c|0)){break b}b=b-c|0;q[a+52>>2]=b;q[a+272>>2]=q[a+272>>2]+1;p[a+560>>1]=s[a+560>>1]&65527|((b|0)!=0)<<3}return 1}function Uz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=q[a+16>>2];c=r[a+8204|0]|r[a+8205|0]<<8|(r[a+8206|0]<<16|r[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){break a}a=a+8208|0;while(1){c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[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=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;return(a>>>0>(b^-1)>>>0?0:a+b|0)|0}return 0}function lQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(q[a+64>>2]!=3){q[a+64>>2]=3;e=q[a+20>>2];if(!e){break a}b:{if(r[a+68|0]){d=q[a+12>>2];if((p[d+20>>1]+p[d+56>>1]|0)+1>>>0>t[d+8>>2]){d=Xb(d,0,1);if(d){break a}}f=s[e>>1];d=f<<16>>16;if((d|0)<1){break b}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}d=s[e>>1]}p[e>>1]=d+1;d=q[a+12>>2];if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+68|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1}d=0}return d|0}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+12>>2];d=q[a>>2];e=n[q[f+24>>2]](f,d,q[f+56>>2])|0;i=a;if(d>>>0>=128){q[b+32>>2]=q[b+32>>2]|1;c=e;a:{if(!zt(d)){break a}g=q[b+32>>2];q[b+32>>2]=g|2;h=d+ -8204|0;if(h>>>0<=1){c=e|544;if(h-1){break a}c=e|288;break a}c=e|96;if(d+ -6155>>>0<=2){break a}c=e|96;if(d+ -917536>>>0<=95){break a}c=e|32;if((d|0)!=847){break a}q[b+32>>2]=g|34;c=e|96}b=c;if(e>>>0>31){p[a+16>>1]=b;return}if(!(1<>1]=b;return}a=65024;b:{if((d|0)==6752|(d|0)==4038){break b}a=32512;if((d|0)==3897){break b}a=r[(n[q[f+16>>2]](f,d,q[f+48>>2])|0)+271792|0]<<8}e=a|b|128}p[i+16>>1]=e}function sS(){var a=0,b=0,c=0;a=ab(1,112);if(!a){return 641848}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;if(q[160463]){q[160463]=0}a:{if(q[160462]){if(q[160462]<=0){break a}q[160462]=q[160462]+1}q[a+12>>2]=641848;b=q[160467];q[a+16>>2]=q[160466];q[a+20>>2]=b;b=q[160469];q[a+24>>2]=q[160468];q[a+28>>2]=b;b=q[160471];q[a+32>>2]=q[160470];q[a+36>>2]=b;b=q[160473];q[a+40>>2]=q[160472];q[a+44>>2]=b;b=q[160475];q[a+48>>2]=q[160474];q[a+52>>2]=b;b=q[160477];q[a+56>>2]=q[160476];q[a+60>>2]=b;c=q[160479];b=a- -64|0;q[b>>2]=q[160478];q[b+4>>2]=c;b=q[160481];q[a+72>>2]=q[160480];q[a+76>>2]=b;return a}I(272496,272521,269,272536);F()}function it(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<8){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!BS(((e<<3)+a|0)+6|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=((e<<3)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function GY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!Ri(((e<<2)+a|0)+4|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=((e<<2)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function ln(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=q[a+32>>2];if(f>>>0>b>>>0){i=f+ -1|0;g=f<<1;j=g+2|0;k=q[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=r[c|0]<<8|r[c+1|0];q[a+44>>2]=e;c=c+j|0;h=r[c|0]<<8|r[c+1|0];q[a+40>>2]=h;c=c+g|0;d=r[c|0]|r[c+1|0]<<8;q[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=r[d|0]<<8|r[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=q[a>>2];if((c+d|0)+2>>>0<=q[e+508>>2]+q[e+512>>2]>>>0){break c}q[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}q[a+36>>2]=b;q[a+52>>2]=c;return 0}function bk(a,b){var c=0,d=0;d=Da-32|0;Da=d;a:{b:{c:{if(!Pb(507292,o[b|0])){q[160942]=28;break c}c=Sa(1176);if(c){break b}}c=0;break a}Na(c,0,144);if(!Pb(b,43)){q[c>>2]=r[b|0]==114?8:4}d:{if(r[b|0]!=97){b=q[c>>2];break d}b=L(a|0,3,0)|0;if(!(b&1024)){q[d+16>>2]=b|1024;L(a|0,4,d+16|0)|0}b=q[c>>2]|128;q[c>>2]=b}o[c+75|0]=255;q[c+48>>2]=1024;q[c+60>>2]=a;q[c+44>>2]=c+152;e:{if(b&8){break e}q[d>>2]=d+24;if(ja(a|0,21523,d|0)){break e}o[c+75|0]=10}q[c+40>>2]=999;q[c+36>>2]=1e3;q[c+32>>2]=1001;q[c+12>>2]=1002;if(!q[160944]){q[c+76>>2]=-1}q[c+56>>2]=q[161227];a=q[161227];if(a){q[a+52>>2]=c}q[161227]=c}Da=d+32|0;return c}function JZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){break a}g=e;e=a+6|0;if(g>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<=1){break a}c=0;while(1){if(!Tb(((c<<1)+a|0)+6|0,b,a)){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}c=r[a+5|0]|r[a+4|0]<<8;if(!c){return 1}a=((r[a+3|0]<<1|r[a+2|0]<<9)+a|0)+6|0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;h=(a|0)>0}return h}function $q(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(b>>>0>16777215){break a}g=q[a+12>>2]+a|0;e=q[a+8>>2]+a|0;f=q[a+4>>2];if(!(f&f+ -1)){b:{if(!f){e=Sa(32);g=Sa(16);if(!(!e|!g)){f=0;break b}if(e){La(e)}if(!g){break a}La(g);return 0}h=db(e,f<<3);if(!h){break a}i=f<<2;g=db(g,i);if(!g){b=db(h,i);if(!b){break a}q[a+8>>2]=b-a;return 0}i=h-e|0;f=q[a+4>>2];if(!(!i|(f|0)<1)){while(1){e=h+(j<<2)|0;q[e>>2]=q[e>>2]-i;j=j+1|0;if((j|0)!=(f|0)){continue}break}}e=h}q[a+12>>2]=g-a;q[a+8>>2]=e-a}i=(d<<2)+e|0;sb(i+4|0,i,f-d<<2);j=1;h=(d<<1)+g|0;sb(h+2|0,h,q[a+4>>2]-d<<1);p[h>>1]=b>>>8;q[i>>2]=c-e;q[a+4>>2]=q[a+4>>2]+1}return j}function JN(a){if(q[a>>2]){La(q[a+80>>2]);Gd(q[a>>2]);hd(q[a+40>>2])}if(q[a+4>>2]){La(q[a+84>>2]);Gd(q[a+4>>2]);hd(q[a+44>>2])}if(q[a+8>>2]){La(q[a+88>>2]);Gd(q[a+8>>2]);hd(q[a+48>>2])}if(q[a+12>>2]){La(q[a+92>>2]);Gd(q[a+12>>2]);hd(q[a+52>>2])}if(q[a+16>>2]){La(q[a+96>>2]);Gd(q[a+16>>2]);hd(q[a+56>>2])}if(q[a+20>>2]){La(q[a+100>>2]);Gd(q[a+20>>2]);hd(q[a+60>>2])}if(q[a+24>>2]){La(q[a+104>>2]);Gd(q[a+24>>2]);hd(q[a- -64>>2])}if(q[a+28>>2]){La(q[a+108>>2]);Gd(q[a+28>>2]);hd(q[a+68>>2])}if(q[a+32>>2]){La(q[a+112>>2]);Gd(q[a+32>>2]);hd(q[a+72>>2])}if(q[a+36>>2]){La(q[a+116>>2]);Gd(q[a+36>>2]);hd(q[a+76>>2])}La(a)}function vW(a,b,c){var d=0,e=0,f=0,g=x(0);e=q[a+4>>2];a:{if(e>>>0>c>>>0){f=q[a>>2];d=q[a+12>>2];d=(c|0)<0?271312:q[(d?d:271312)+12>>2]+(c<<2)|0;d=r[d+2|0]|r[d+3|0]<<8;d=(d<<24|d<<8&16711680)>>16;break a}f=q[a>>2];d=0;if(f>>>0<=c>>>0){break a}d=q[a+12>>2];d=(c-e<<1)+((e|0)<0?271312:q[(d?d:271312)+12>>2]+(e<<2)|0)|0;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>16}b:{if(f>>>0<=c>>>0){break b}e=q[b+60>>2];if(!e){break b}a=q[a+16>>2];a=a?a:271312;f=q[a+16>>2];if(f){g=x(gW(f>>>0<20?271312:q[a+12>>2],c,q[b+64>>2],e)+x(d|0));if(x(y(g))>2]+96|0),b,c)}return d}function hn(a){var b=0,c=0,d=0,e=0,f=0;a:{while(1){f=q[160738];e=f;if(e){while(1){c=a;d=q[e+4>>2];b=r[d|0];b:{if(b){while(1){if(o[r[c|0]+226864|0]!=(b&255)){break b}c=c+1|0;b=r[d+1|0];d=d+1|0;if(b){continue}break}}b=0}if(o[r[c|0]+226864|0]==(b&255)){break a}e=q[e>>2];if(e){continue}break}}e=0;d=ab(1,8);if(!d){break a}q[d>>2]=f;c=Wa(a)+1|0;b=Sa(c);q[d+4>>2]=b;c:{if(b){c=r[Qa(b,a,c)|0];if(!c){break c}while(1){o[b|0]=r[(c&255)+226864|0];c=r[b+1|0];b=b+1|0;if(c){continue}break}b=q[d+4>>2]}if(b){break c}La(d);return 0}c=q[160738];b=(c|0)==(f|0);q[160738]=b?d:c;if(!b){La(q[d+4>>2]);La(d);continue}break}e=d}return e}function Hx(a,b,c){var d=0,e=0,f=0;d=Da-80|0;Da=d;e=an(q[b+16>>2]+164|0);f=q[e+12>>2];e=q[e+16>>2];q[d+12>>2]=b;q[d+8>>2]=a;a=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=a;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(271312);o[d+44|0]=0;q[d+52>>2]=b;c=q[a+32>>2];if((c|0)==-1){c=lc(a)}o[d+60|0]=1;q[d+56>>2]=c;a=q[b+12>>2];q[d+28>>2]=a;c=a;a=q[b+16>>2];q[d+32>>2]=c+a;if((a|0)<=-1){I(228416,228441,195,228458);F()}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;Gx(e>>>0<12?271312:f,d+8|0);Pa(q[d+52>>2]);Da=d+80|0}function CJ(a,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:{d:{f=b+4|0;if(f>>>0>38){break d}e:{switch(f-1|0){case 36:q[a>>2]=913;return 0;case 18:break a;case 29:break b;case 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:case 16:case 17:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:case 32:case 33:case 34:case 35:break d;case 37:break e;default:break c}}b=q[a+12>>2];if(!b){break b}q[a+12>>2]=b+ -1;return 0}return hq(a,b,c,d,e)|0}if(!q[a+12>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function Gz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=q[a+16>>2];a=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[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=w(e,12)+g|0;c=d+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[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=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[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(f>>>0>>0){continue}break}}return 0}a=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function IG(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=q[a>>2]+1794895138|0;e=uf(q[a+8>>2],f);g=uf(q[a+12>>2],f);d=uf(q[a+16>>2],f);a:{if(e>>>0>=b>>>2>>>0){break a}h=b-(e<<2)|0;if((d|g)&3|(g>>>0>=h>>>0|d>>>0>=h>>>0)){break a}l=d>>>2|0;m=g>>>2|0;g=0;while(1){h=e>>>1|0;i=h+g|0;j=i<<1;d=(j+m<<2)+a|0;k=uf(q[d>>2],f);d=uf(q[d+4>>2],f);if(b>>>0<=d>>>0|k>>>0>=b-d>>>0|r[(d+k|0)+a|0]){break a}d=Ta(c,a+d|0);if(!d){c=(l+j<<2)+a|0;e=uf(q[c>>2],f);c=uf(q[c+4>>2],f);if(b>>>0<=c>>>0|e>>>0>=b-c>>>0){break a}n=r[(c+e|0)+a|0]?0:a+c|0;break a}if((e|0)==1){break a}d=(d|0)<0;e=d?h:e-h|0;g=d?g:i;continue}}return n}function ey(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-48|0;Da=e;f=q[a>>2];d=b-f|0;d=d>>>0<31?d:31;f=Md(e+16|0,f,d);o[d+(e+16|0)|0]=0;q[e+12>>2]=f;q[160942]=0;a:{if(q[160735]){break a}while(1){d=KG();b:{if(d){g=q[160735];q[160735]=g?g:d;if(!g){break a}if((d|0)!=0&(d|0)!=508688&(d|0)!=508712){La(d)}break b}d=q[160735];q[160735]=d?d:0;if(!d){break a}}if(!q[160735]){continue}break}}i=c,j=Sj(f,e+12|0),v[i>>3]=j;c:{if(q[160942]){break c}c=q[e+12>>2];d=(c|0)==(f|0);d:{if(!d){c=c-(e+16|0)|0;d=b;b=q[a>>2];if((c|0)==(d-b|0)){break d}break c}if(d){break c}c=c-(e+16|0)|0;b=q[a>>2]}q[a>>2]=b+c;h=1}Da=e+48|0;return h}function KS(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;if(j){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}k=r[a+1|0]|r[a|0]<<8}b:{d=q[d>>2];if(d>>>0>357913940){break b}c=c+k|0;a=w(d,12);if(a){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break b}q[b+12>>2]=g+ -1;if((g|0)<1){break a}}if(!d){return 1}a=0;while(1){if(!JS(c+w(a,12)|0,b,q[e>>2])){break b}a=a+1|0;if((d|0)!=(a|0)){continue}break}return 1}}return 0}function xl(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=q[a+20>>2];if(e>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=q[a+8>>2];if(!c){break d}f=q[c+24>>2];if(!f){break b}q[a+8>>2]=q[c+16>>2];d=q[c+28>>2]+ -1|0;q[c+28>>2]=d;e:{if(d){q[c+20>>2]=0;break e}d=q[c+8>>2];if(d){q[d+12>>2]=q[c+12>>2]}q[q[c+12>>2]>>2]=d;q[a+20>>2]=e-f;q[a+32>>2]=q[a+32>>2]+ -1;e=q[a+16>>2];if((e|0)!=q[c+4>>2]){break a}d=c+32|0;n[q[e+16>>2]](d+(q[e+24>>2]+7&-8)|0,d);La(c);e=q[a+20>>2]}if(e>>>0>b>>>0){continue}break}b=q[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}q[a>>2]=g}return}I(355392,355403,478,355495);F()}I(355525,355403,433,355544);F()}function vy(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=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=r[b+1|0]|r[b|0]<<8;if((i<<2)+g>>>0>c>>>0){break a}b=q[a+12>>2];c=r[b+14|0];j=s[b+12>>1];k=s[b+10>>1];l=r[b+8|0];m=s[b+6>>1];n=s[b+4>>1];b:{if(!i){h=0;break b}f=f+1|0;b=0;while(1){h=rn(a,r[g+1|0]|r[g|0]<<8,o[g+2|0]+d|0,o[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}}break}b=q[a+12>>2]}p[b+14>>1]=c;p[b+8>>1]=l;p[b+12>>1]=j<<24>>24;p[b+10>>1]=k<<24>>24;p[b+6>>1]=m<<24>>24;p[b+4>>1]=n<<24>>24;a=q[a+8>>2];p[b+2>>1]=r[a+4|0];p[b>>1]=r[a|0]}return h|0} -function OG(a,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=Da-32|0;Da=e;g=q[a+28>>2];q[e+16>>2]=g;d=q[a+20>>2];q[e+28>>2]=c;q[e+24>>2]=b;b=d-g|0;q[e+20>>2]=b;g=b+c|0;i=2;b=e+16|0;a:{b:{f=S(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[160942]=f;d=-1}d:{if(!d){while(1){d=q[e+12>>2];if((d|0)==(g|0)){break d}if((d|0)<=-1){break b}h=q[b+4>>2];f=d>>>0>h>>>0;b=f?b+8|0:b;h=d-(f?h:0)|0;q[b>>2]=h+q[b>>2];q[b+4>>2]=q[b+4>>2]-h;g=g-d|0;i=i-f|0;f=S(q[a+60>>2],b|0,i|0,e+12|0)|0;d=0;e:{if(!f){break e}q[160942]=f;d=-1}if(!d){continue}break}}q[e+12>>2]=-1;if((g|0)!=-1){break b}}b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];a=c;break a}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a>>2]=q[a>>2]|32;a=0;if((i|0)==2){break a}a=c-q[b+4>>2]|0}Da=e+32|0;return a|0}function Bo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=n[q[a+596>>2]](a)|0;g=q[b>>2];a:{if(!g){break a}h=a+36|0;f=1;while(1){b=q[a+28>>2];if((b|0)<=1){if(r[a+565|0]){q[a+12>>2]=129}q[a+28>>2]=0;break a}d=b+ -2|0;q[a+28>>2]=d;c=b<<2;b=q[a+24>>2];e=s[(c+b|0)+ -4>>1];b:{if(e>>>0>1]){d=q[b+(d<<2)>>2];b=d>>>4&15;i=r[a+372|0]+ -113|0;c=b;c:{if(i>>>0>1){break c}c=b|16;if(i-1){break c}c=b|32}if((c+s[a+336>>1]|0)!=(j|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-s[a+338>>1];if(!(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40)){if((r[a+617|0]?r[a+616|0]:0)|(r[q[a+60>>2]+e|0]&16?0:!(s[a+304>>1]?r[a+564|0]:0))){break b}n[q[a+588>>2]](a,h,e,b);break b}n[q[a+588>>2]](a,h,e,b);break b}if(!r[a+565|0]){break b}q[a+12>>2]=134}f=f+1|0;if(f>>>0<=g>>>0){continue}break}}q[a+32>>2]=q[a+28>>2]}function Qx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-32|0;Da=f;g=r[a+11|0]|r[a+10|0]<<8;a:{if(!g){break a}a=(w(r[a+9|0]|r[a+8|0]<<8,12)+a|0)+12|0;while(1){d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b:{if(!((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))&c)){break b}d=r[a+2|0];if(d>>>7^(q[q[b+12>>2]+48>>2]&-2)==6?!(d&32):0){break b}e=d&64;c:{if(d&16){d=(e|0)!=0;e=q[b+12>>2];break c}d=e>>>6|0;e=q[b+12>>2];d=(d|0)!=((q[e+48>>2]&-3)==5|0)}i=q[b+4>>2];q[f+16>>2]=q[b+60>>2];if(!jd(e,i,228471,f+16|0)){break b}d:{if(d){_c(q[b+12>>2]);Sm(a,b);_c(q[b+12>>2]);break d}Sm(a,b)}d=q[b+4>>2];e=q[b+12>>2];q[f>>2]=q[b+60>>2];jd(e,d,228495,f);if(r[q[b+12>>2]+68|0]!=1){break a}}d=r[a+1|0];e=r[a|0];q[b+60>>2]=q[b+60>>2]+1;a=(d|e<<8)+a|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}Da=f+32|0}function id(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+36>>2];if(c){b=q[a>>2];a:{if(c+b>>>0>=t[a+40>>2]){break a}while(1){b=b+1|0;q[a>>2]=b;b:{d=q[a+8>>2];e=q[a+4>>2];b=q[q[e+96>>2]+88>>2]+w(b,20)|0;c=s[b+12>>1];if(d&c&14){break b}if(c&8){if(!mf(e,q[b>>2],c,d)){break b}}c=0;d=s[b+16>>1];if(!(r[b+12|0]&32|(d&96)!=32|(r[a+12|0]?0:(d&543)==513))){c=(d&287)==257?r[a+13|0]<<1:2}c:{d:{e:{if(!(q[a+16>>2]&q[b+4>>2])){break e}d=q[a+32>>2];e=r[a+20|0];if((e|0)!=r[b+15|0]?e:0){break e}e=q[a+24>>2];if(!e){break d}if(n[e](q[b>>2],d,q[a+28>>2])){d=q[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}q[a+36>>2]=q[a+36>>2]+ -1;f=1;if(!d){break a}q[a+32>>2]=d+2;return 1}b=q[a>>2];if(b+q[a+36>>2]>>>0>2]){continue}break}}return f}I(228789,228803,450,228830);F()}function Zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}h=6;a:{if(!b){break a}d=q[b+4>>2];if((d|0)<0){break a}f=q[b+8>>2];if((f|0)<0){break a}e=q[b>>2];if(e>>>0>4){break a}i=q[a+88>>2];q[q[i+40>>2]+12>>2]=0;j=q[q[a+96>>2]+12>>2];c=q[j+88>>2];if(c){return n[c](i,b)|0}b:{if((q[a+8>>2]&3)==2){h=7;if(e){break a}c=d;g=f;h=23;e=q[b+12>>2];if(e){c=(w(d,e)+36|0)/72|0}e=c;b=q[b+16>>2];if(b){g=(w(b,f)+36|0)/72|0}b=f?g:c;f=(d?e:b)+32&-64;if(!f){break a}g=(d?b:g)+32&-64;if(!g){break a}d=q[a+28>>2];if((d|0)<1){break a}e=q[a+32>>2];b=0;while(1){c=e+(b<<4)|0;if(!((q[c+8>>2]+32&-64)==(f|0)?(g|0)==(q[c+12>>2]+32&-64):0)){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}h=6;if((d|0)<=(b|0)){break a}c=q[j+92>>2];if(c){return n[c](i,b)|0}Jd(a,b);break b}Rf(a,b)}h=0}return h}function Ie(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=x(0);e=r[a+9|0]|r[a+8|0]<<8;a:{if(!e){break a}j=r[a+7|0]|r[a+6|0]<<8;k=a+12|0;g=e+ -1|0;while(1){b:{h=g+i>>>1|0;e=w(j,h)+k|0;f=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h+ -1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((i|0)<=(g|0)){continue}break a}break}b=a;a=r[a+11|0]|r[a+10|0]<<8;a=a?b+a|0:271312;b=r[e+5|0]|r[e+4|0]<<8;if((r[a+6|0]<<8|r[a+7|0])>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);f=b?b+a|0:271312;b=a;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);l=Vi(f,r[e+7|0]|r[e+6|0]<<8,c,d,a?b+a|0:271312)}return l}function hX(a,b){var c=0,d=0,e=0;a:{b:{if(r[b+16|0]){break b}c=q[b+12>>2];d=q[b+4>>2];if(c+4>>>0>d>>>0){break b}c:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break c}c=c+q[b>>2]|0}c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[c+3|0]<<24);e=c>>>8&65280|c>>>24;d=q[a+4>>2];d:{if(d>>>0>2]){q[a+4>>2]=d+1;a=q[a+16>>2]+(d<<5)|0;break d}o[a|0]=1;a=q[67835];q[160750]=q[67834];q[160751]=a;a=q[67833];q[160748]=q[67832];q[160749]=a;a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976}q[a+8>>2]=0;q[a+12>>2]=0;if(q[a+16>>2]>=0){q[a+20>>2]=0}v[a>>3]=+(c<<8&16711680|c<<24|e)*152587890625e-16;if(r[b+16|0]){a=q[b+4>>2];break a}c=q[b+12>>2];a=q[b+4>>2];if(c>>>0>a>>>0){break a}c=c+4|0;if(c>>>0>a>>>0){break a}q[b+12>>2]=c}return}o[b+16|0]=1;q[b+12>>2]=a}function gF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;f=q[a+4>>2]&2147418112;a:{if(d&16){if(!(r[a+9|0]&128?0:!f)){f=7;if(!(r[a+740|0]&16)){break a}}if(!c){f=0;break a}d=0;while(1){b:{if(r[a+292|0]){n[q[q[a+540>>2]+140>>2]](a,1,b+d|0,g+14|0,g+12|0);f=s[g+12>>1];break b}i=g;c:{if(s[a+372>>1]!=65535){f=p[a+442>>1];p[g+14>>1]=f;f=f-p[a+444>>1]|0;h=f>>31;f=h^f+h;break c}f=p[a+220>>1];p[g+14>>1]=f;f=f-p[a+222>>1]|0;h=f>>31;f=h^f+h}p[i+12>>1]=f}q[(d<<2)+e>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){continue}break}f=0;break a}if(!(r[a+9|0]&128?0:!f)){f=7;if(!(r[a+740|0]&2)){break a}}f=0;if(!c){break a}d=0;while(1){n[q[q[a+540>>2]+140>>2]](a,0,b+d|0,g+10|0,g+8|0);q[(d<<2)+e>>2]=s[g+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}Da=g+16|0;return f|0}function VR(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;a:{if(q[a+80>>2]!=583){break a}g=q[q[a+76>>2]+4>>2];b=g;c=s[b+68>>1];e=q[b+88>>2];b=q[e+16>>2];d=W$(c,0,b,b>>31)+32768|0;b=Ea;b=d>>>0<32768?b+1|0:b;h=(b&65535)<<16|d>>>16;b=q[e+20>>2];d=W$(b,b>>31,c,0)+32768|0;b=Ea;b=d>>>0<32768?b+1|0:b;$l(a,h,(b&65535)<<16|d>>>16);q[f+12>>2]=0;if(Pl(g,f+12|0)){break a}c=q[f+12>>2];b=ab(q[c>>2],4);d=ab(q[c>>2],4);b:{if(!b|!d){break b}if(_R(g,q[c>>2],b)){break b}c:{i=q[f+12>>2];if(!q[i>>2]){break c}c=0;while(1){j=c<<2;h=b+j|0;e=q[h>>2]>>2;q[h>>2]=e;q[d+j>>2]=e;k=(e|0)!=0|k;c=c+1|0;e=q[i>>2];if(c>>>0>>0){continue}break}if(!(k&1)){break c}Rt(a,d,e);break b}Rt(a,0,0)}La(d);La(b);a=q[f+12>>2];b=q[q[g+84>>2]>>2];if(b){b=q[b>>2];if(a){n[q[b+8>>2]](b,a)}}}Da=f+16|0}function rV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(d>>>0>715827881){break a}h=w(d,6);if(h){d=a+4|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!d){return 1}f=q[c>>2];g=q[b+32>>2];b=0;while(1){c=w(b,6)+a|0;e=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0>=g>>>0|(r[c+9|0]|r[c+8|0]<<8)>>>0>=f>>>0){break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}return 1}return 0}function cC(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=q[q[a+96>>2]+8>>2];q[a+20>>2]=0;q[a+24>>2]=0;d=q[a+100>>2];b=d;c=q[a+368>>2];if(c){n[q[b+8>>2]](b,c)}q[a+368>>2]=0;b=d;c=q[a+372>>2];if(c){n[q[b+8>>2]](b,c)}q[a+372>>2]=0;c=q[a+376>>2];if(c){n[q[b+8>>2]](b,c)}q[a+376>>2]=0;c=q[a+364>>2];if(c){n[q[b+8>>2]](b,c)}q[a+360>>2]=0;q[a+364>>2]=0;q[a+348>>2]=0;q[a+352>>2]=0;c=q[a+388>>2];if(c){n[q[b+8>>2]](b,c)}q[a+380>>2]=0;q[a+384>>2]=0;q[a+388>>2]=0;c=q[a+416>>2];if(c){n[q[b+8>>2]](b,c)}q[a+408>>2]=0;q[a+412>>2]=0;q[a+416>>2]=0;b=q[a+396>>2];if(b){n[q[d+8>>2]](d,b)}q[a+392>>2]=0;q[a+396>>2]=0;b=q[a+424>>2];if(b){while(1){c=q[b>>2];if(b){n[q[d+8>>2]](d,b)}b=c;if(b){continue}break}}q[a+428>>2]=0;q[a+420>>2]=0;q[a+424>>2]=0;b=q[a+32>>2];if(b){n[q[e+8>>2]](e,b)}q[a+32>>2]=0}}function Kf(a){var b=0,c=0,d=0,e=0,f=0;c=q[a+36>>2];if(c){b=q[a>>2];a:{if(b>>>0<=c+ -1>>>0){break a}while(1){b=b+ -1|0;q[a>>2]=b;b:{d=q[a+8>>2];e=q[a+4>>2];b=q[q[e+96>>2]+92>>2]+w(b,20)|0;c=s[b+12>>1];if(d&c&14){break b}if(c&8){if(!mf(e,q[b>>2],c,d)){break b}}c=0;d=s[b+16>>1];if(!(r[b+12|0]&32|(d&96)!=32|(r[a+12|0]?0:(d&543)==513))){c=(d&287)==257?r[a+13|0]<<1:2}c:{d:{e:{if(!(q[a+16>>2]&q[b+4>>2])){break e}d=q[a+32>>2];e=r[a+20|0];if((e|0)!=r[b+15|0]?e:0){break e}e=q[a+24>>2];if(!e){break d}if(n[e](q[b>>2],d,q[a+28>>2])){d=q[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}q[a+36>>2]=q[a+36>>2]+ -1;f=1;if(!d){break a}q[a+32>>2]=d+2;return 1}b=q[a>>2];if(b>>>0>q[a+36>>2]+ -1>>>0){continue}break}}return f}I(228789,228803,477,229080);F()}function sb(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}b:{if(b+c>>>0>a>>>0){e=a+c|0;if(e>>>0>b>>>0){break b}}return Qa(a,b,c)}d=(a^b)&3;c:{d:{if(a>>>0>>0){if(d){d=a;break c}if(!(a&3)){d=a;break d}d=a;while(1){if(!c){break a}o[d|0]=r[b|0];b=b+1|0;c=c+ -1|0;d=d+1|0;if(d&3){continue}break}break d}e:{if(d){break e}if(e&3){while(1){if(!c){break a}c=c+ -1|0;d=c+a|0;o[d|0]=r[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break e}while(1){c=c+ -4|0;q[c+a>>2]=q[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c+ -1|0;o[c+a|0]=r[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break c}while(1){q[d>>2]=q[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){o[d|0]=r[b|0];d=d+1|0;b=b+1|0;c=c+ -1|0;if(c){continue}break}}return a}function PI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>23){break b}c=39;c:{switch(d-1|0){case 8:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=45;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 45;case 20:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=46;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 46;case 19:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=47;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 47;case 21:b=q[a+4>>2]+ -1|0;q[a+4>>2]=b;c=48;if(b){break a}q[a+8>>2]=39;q[a>>2]=932;return 48;case 22:q[a>>2]=953;return 50;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break b;case 5:break c;default:break a}}q[a>>2]=953;return 49}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function xK(a,b,c,d,e){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=q[b>>2];h=f>>>0>>0;g=q[d>>2];a:{b:{if(g>>>0>=e>>>0|f>>>0>=c>>>0){break b}i=a+72|0;while(1){h=r[f|0];a=r[h+i|0]+ -5|0;c:{if(a>>>0<=2){d:{switch(a-1|0){default:a=1;if((c-f|0)<2){break a}p[g>>1]=r[f+1|0]&63|(h&31)<<6;g=g+2|0;f=f+2|0;break c;case 0:a=1;if((c-f|0)<3){break a}p[g>>1]=r[f+2|0]&63|((r[f+1|0]&63)<<6|h<<12);g=g+2|0;f=f+3|0;break c;case 1:break d}}a=2;if((e-g|0)<4){break a}a=1;if((c-f|0)<4){break a}a=(r[f+3|0]&63|((r[f+1|0]&63)<<12|(h&7)<<18|(r[f+2|0]&63)<<6))+ -65536|0;p[g+2>>1]=a&1023|56320;p[g>>1]=a>>>10|55296;g=g+4|0;f=f+4|0;break c}p[g>>1]=h<<24>>24;g=g+2|0;f=f+1|0}h=f>>>0>>0;if(g>>>0>=e>>>0){break b}if(f>>>0>>0){continue}break}}a=h?2:0}q[b>>2]=f;q[d>>2]=g;return a|0}function hj(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=q[a+52>>2];c=r[a+32|0];a:{b:{c:{if(c){break c}b=q[a+24>>2];if(b>>>0>=t[a+28>>2]){break c}if(t[a+56>>2]>2]){break b}}if(t[a+56>>2]>=t[a+60>>2]){d=d+1|0;q[a+52>>2]=d;e=-1;if(d>>>0>16){break a}b=a;if(d>>>0>2]){e=(1<>2]+1|0}q[b+60>>2]=e}if(c){q[a+60>>2]=256;q[a+52>>2]=9;o[a+32|0]=0;d=9}e=-1;if(q[a+4>>2]){break a}b=0;c=Gj(q[a+164>>2],a+8|0,d);q[a+24>>2]=0;f=c<<3;q[a+28>>2]=f;q[a+36>>2]=c+q[a+36>>2];g=q[a+52>>2];q[a+4>>2]=c>>>0>>0;if(f>>>0<=g>>>0){break a}q[a+28>>2]=(f|1)-g;if(!c){break a}}q[a+24>>2]=d+b;a=(b>>>3|0)+a|0;c=a+8|0;f=b&7;e=r[c|0]>>>f|0;g=a+9|0;b=8-f|0;a=d-b|0;if(a>>>0>=8){a=a+ -8|0;e=r[c+1|0]<>2];a:{if(h>>>0>e>>>0|h>>>0<1|e>>>0<=b>>>0){break a}f=0;e=q[q[q[a+96>>2]+12>>2]+84>>2];if(!(!e|((c&983040)!=65536?!(c&3):0))){e=n[e](a,b,1,c,d)|0;if(!e){if(c&1){break a}a=q[a+88>>2];if(!a){return 36}c=q[a+(c&16?20:16)>>2];a=0;while(1){b=(a<<2)+d|0;i=b,j=bb(q[b>>2],c,64),q[i>>2]=j;a=a+1|0;if((a|0)!=1){continue}break}break a}f=e;if((e&255)!=7){break a}}f=7;if(c&536870912){break a}h=c&1?1:1024;e=c|256;if(!(c&16)){while(1){f=Yc(a,b+g|0,e);if(f){break a}q[(g<<2)+d>>2]=w(h,q[q[a+84>>2]+64>>2]);f=0;g=g+1|0;if((g|0)!=1){continue}break a}}while(1){f=Yc(a,b+g|0,e);if(f){break a}q[(g<<2)+d>>2]=w(h,q[q[a+84>>2]+68>>2]);f=0;g=g+1|0;if((g|0)!=1){continue}break}}return f}function RC(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;k=-1;a=q[a+8>>2];a:{if(!a){break a}i=q[a+8>>2];if(!i){break a}d=(i|0)<1;b=b*1e3;b:{if(y(b)<0x8000000000000000){j=~~b>>>0;g=y(b)>=1?b>0?~~A(C(b/4294967296),4294967295)>>>0:~~D((b- +(~~b>>>0>>>0))/4294967296)>>>0:0;break b}g=-2147483648}c:{if(d){f=-1;d=-1;break c}a=q[a+20>>2];f=-1;d=-1;while(1){e=q[a>>2];c=q[a+4>>2];d:{if((c|0)<(g|0)?1:(c|0)<=(g|0)?e>>>0>=j>>>0?0:1:0){c=c+q[a+12>>2]|0;h=e+q[a+8>>2]|0;if(h>>>0>>0){c=c+1|0}if((c|0)<(g|0)?1:(c|0)<=(g|0)?h>>>0>=j>>>0?0:1:0){break d}f=j;d=g;break c}l=e;e=(c|0)<(d|0)?1:(c|0)<=(d|0)?e>>>0>=f>>>0?0:1:0;h=(f|0)==-1&(d|0)==-1;f=h?l:e?l:f;d=h?c:e?c:d}a=a+56|0;m=m+1|0;if((i|0)!=(m|0)){continue}break}}k=(+(f>>>0)+4294967296*+(d|0))/1e3}return+k}function Rv(a,b,c,d){var e=0,f=x(0),g=0,h=x(0),i=0,j=0,k=x(0),l=0,m=0,n=0;if((r[a+3|0]|r[a+2|0]<<8)>>>0<=b>>>0){return x(0)}f=x(1);j=r[a+1|0]|r[a|0]<<8;a:{if(!j){break a}l=(w(w(b,j),6)+a|0)+4|0;while(1){b=0;b=i>>>0>>0?q[(i<<2)+c>>2]:b;h=f;e=w(i,6)+l|0;a=r[e+2|0]|r[e+3|0]<<8;a=(a<<24|a<<8&16711680)>>16;g=r[e|0]|r[e+1|0]<<8;g=(g<<24|g<<8&16711680)>>16;f=h;b:{if((a|0)<(g|0)){break b}e=r[e+4|0]|r[e+5|0]<<8;e=(e<<24|e<<8&16711680)>>16;f=h;if((e|0)<(a|0)){break b}if(!(!a|(g|0)>-1|(e|0)<=0)){f=h;break b}f=h;if(!a){break b}f=h;if((a|0)==(b|0)){break b}if((b|0)<=(g|0)){return x(0)}if((b|0)>=(e|0)){return x(0)}f=x(0);m=b-g|0;n=e-b|0;b=(b|0)<(a|0);k=x(x((b?m:n)|0)/x((b?a-g|0:e-a|0)|0));if(k==x(0)){break a}f=x(h*k)}i=i+1|0;if((j|0)!=(i|0)){continue}break}}return f}function kB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=Da-16|0;Da=d;a:{b:{if(Pn(a,b,c)){uh(b);e=b+132|0;f=uB(e,a);if((f&255)==7){break b}if(f){f=oB(e,a);if(f|(f&255)==7){break b}}q[b+104>>2]=e;q[b+172>>2]=a;if(Pn(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){uh(b);a=6;break a}c:{d:{e:{f:{a=q[b+180>>2];g:{if(!a){break g}c=q[b+176>>2];if(!c|(r[a|0]|32)!=105|((r[a+1|0]|32)!=115|(r[a+2|0]|32)!=111)){break g}a=a+3|0;if(!Ta(a,25376)){break f}if(!Ta(a,25382)){if(!Ta(c,25387)){break f}}if(!Ta(a,25389)){break e}}q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;break c}q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;break d}a=Ta(c,25398);q[d+4>>2]=0;q[d+8>>2]=0;q[d>>2]=b;if(a){break c}}q[d+4>>2]=1970170211;q[d+8>>2]=65539}a=md(25404,0,d,0);break a}uh(b);a=2}Da=d+16|0;return a|0}function XA(a,b,c,d){a=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=q[b>>2];if(!d){return 35}if(t[d+16>>2]>c>>>0){b=q[d+140>>2];f=s[b+96>>1];b=q[b+56>>2];if(c){c=c+ -1|0}else{c=q[d+148>>2]}b=b+w(c,36)|0;g=s[b+10>>1];c=p[b+20>>1];e=p[b+16>>1];h=q[b+24>>2];i=s[b+14>>1];j=s[b+12>>1];q[a+84>>2]=q[b+28>>2];q[a+80>>2]=j;q[a+76>>2]=i;pk(a,h);b=f+ -1|0;a:{if(b>>>0>7){break a}b:{switch(b-1|0){default:o[a+94|0]=1;break a;case 0:o[a+94|0]=3;break a;case 2:o[a+94|0]=4;break a;case 1:case 3:case 4:case 5:break a;case 6:break b}}p[a+92>>1]=256;o[a+94|0]=2}q[a+104>>2]=c;q[a+100>>2]=e;q[a+72>>2]=1651078259;q[a+40>>2]=g<<6;q[a+36>>2]=c<<6;q[a+32>>2]=e<<6;q[a+24>>2]=q[a+80>>2]<<6;q[a+28>>2]=q[a+76>>2]<<6;Sf(a+24|0,s[q[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0} +function QY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}f=r[a+7|0]|r[a+6|0]<<8;d=r[a+5|0];c=d|r[a+4|0]<<8;g=Z$(c);e=g<<1;if(4294967295/(e>>>0)>>>0<=f>>>0?c:0){break a}c=a+8|0;e=w(e,f);if(e){if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0>>0){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a+5|0]}h=1;if(!f|d>>>0<16){break a}e=a+4|0;d=0;while(1){if(!ug(e,b,a,c)){return 0}c=(g<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}return h}function JS(a,b,c){var d=0,e=0,f=0,g=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<12){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!IS(a+5|0,b,c)){break a}f=q[b+4>>2];a=((r[a+7|0]|(r[a+6|0]<<8|r[a+5|0]<<16))+c|0)+4|0;if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+4|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<8){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;if(e){a=a+12|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}}g=1}return g}function Zx(a,b,c,d,e){q[a+4>>2]=c;q[a>>2]=b;b=q[c+16>>2];q[a+40>>2]=0;q[a+44>>2]=0;q[a+12>>2]=d;q[a+8>>2]=b;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+56>>2]=271312;o[a+52|0]=0;q[a+48>>2]=65536;c=ub(e);o[a+36|0]=0;q[a+44>>2]=c;b=q[a+8>>2];e=q[b+32>>2];if((e|0)==-1){e=lc(b);c=q[a+44>>2]}o[a+52|0]=1;q[a+48>>2]=e;b=q[c+12>>2];q[a+20>>2]=b;d=b;b=q[c+16>>2];q[a+24>>2]=d+b;if((b|0)<=-1){I(228416,228441,195,228458);F()}q[a+16>>2]=0;q[a+40>>2]=0;q[a+28>>2]=1073741823;return a}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;g=q[a+4>>2];b=0-g|0;f=b&(c+g|0)+ -1;b=b&d;if((s[e+12>>1]&7)!=2){b=(b|0)==(d|0)?b:(c|0)==(f|0)?b:((d-c|0)-g|0)>q[a+20>>2]?b:f}c=q[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=s[a+52>>1];if((c|0)>=(d|0)){break a}f=(b|0)<(d|0)?b:d+ -1|0;d=-128>>(f&7);g=q[a+140>>2];h=q[a+56>>2];a=(c|0)>0?c:0;c=a<<13>>16;b=(g+h|0)+c|0;e=255>>>(a&7)|0;f=f<<13>>16;a=f-c|0;if((a|0)>=1){o[b|0]=e|r[b|0];if((a|0)!=1){Na((h+(c+g|0)|0)+1|0,255,f+(c^-1)|0);while(1){b=b+1|0;c=(a|0)>2;a=a+ -1|0;if(c){continue}break}}o[b+1|0]=d|r[b+1|0];return}o[b|0]=r[b|0]|d&e}}function q_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if((r[a+1|0]|r[a|0]<<8)!=1){return 1}f=a+2|0;if(e>>>0>f>>>0|c>>>0>>0|c-f>>>0<2){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){return 1}h=e;e=a+4|0;if(h>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}g=1;d=r[a+3|0]|r[a+2|0]<<8;if(!d){break a}c=0;b:{while(1){if(!m_(((c<<2)+a|0)+4|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}g=0}return g}function nV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;a:{if(c>>>0>536870910){break a}if(!c){e=1;break a}if(t[b+4>>2]>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0>>0){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}f=0;b:{while(1){e=(f<<3)+a|0;if(t[b+4>>2]>e>>>0){break b}i=q[b+8>>2];if(i>>>0>>0|i-e>>>0<=7){break b}i=q[d>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break b}g=r[e+3|0]|r[e+2|0]<<8;j=r[e+1|0]|r[e|0]<<8;if(g>>>0>>0){break b}q[h+12>>2]=(g-j|0)+1;if(!lV(e+4|0,b,i,h+12|0)){break b}f=f+1|0;if((f|0)!=(c|0)){continue}break}e=1;break a}e=0}Da=h+16|0;return e}function lI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=q[a+28>>2];if(d>>>0<=7){q[a+28>>2]=d+1;f=(w(d,160)+a|0)+32|0;break a}f=Sa(160);if(f){break a}return 0}d=q[a>>2];q[f+4>>2]=b;q[f>>2]=d;i=f;d=0;b:{if(!c){break b}g=q[c>>2];if(!g){break b}d=f+96|0;b=0;while(1){b=(Wa(g)+b|0)+1|0;e=h;h=e+1|0;g=q[(h<<2)+c>>2];if(g){continue}break}c:{e=e+2<<2;b=e+b|0;if((b|0)<65){break c}d=Sa(b);if(d){break c}_a(0,2,499215,0);d=0;break b}h=d+e|0;g=0;b=d;e=c;while(1){q[b>>2]=h;b=tc(h,q[e>>2]);h=(Wa(b)+b|0)+1|0;g=g+1|0;e=g<<2;b=e+d|0;e=c+e|0;if(q[e>>2]){continue}break}q[b>>2]=0}q[i+8>>2]=d;cg(f+12|0,0,0);q[a>>2]=f;return 1}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;a:{e=q[b+8>>2];if(r[e+12|0]!=1){break a}b=r[a+1|0]|r[a|0]<<8;if(!b){break a}g=r[c+2|0];d=r[c+3|0];h=r[c|0];i=r[c+1|0];q[e+16>>2]=-1;c=r[a+3|0]|r[a+2|0]<<8;f=ac(e,c);if(!f){break a}h=(Z$(i|h<<8)+Z$(d|g<<8)<<1)+2|0;a=a+2|0;while(1){i=c&-512;j=c+512&-512;while(1){d=(c>>>3&56)+f|0;g=d;k=q[d+4>>2];l=d;m=q[d>>2];d=c&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=m|c;q[g+4>>2]=d|k;b=b+ -1|0;if(!b){break a}a=a+h|0;c=r[a|0]<<8|r[a+1|0];if(c>>>0>>0?i>>>0<=c>>>0:0){continue}break}f=ac(e,c);if(f){continue}break}}}function $b(a,b){var c=0,d=0;c=q[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){d=r[c|0];if(d>>>0>37){break a}b:{c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:break a;case 36:break c;default:break b}}while(1){d:{d=d+ -10|0;if(d>>>0>3){break d}switch(d-1|0){case 0:case 1:break d;default:break b}}c=c+1|0;if((c|0)!=(b|0)){d=r[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}q[a>>2]=c}function cR(a,b,c,d){a=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=Da-128|0;Da=g;if((c|0)>=1){l=(w((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;f=i<<1;h=(f|0)>1?f:1;b=0;while(1){j=b<<2;k=q[j+d>>2]+k|0;e=k;q[g+j>>2]=((e+(e>>31)|0)+32768&-65536)>>16;b=b+1|0;if((h|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+g|0;q[h>>2]=q[h>>2]-q[e+g>>2];b=b+2|0;if((b|0)<(f|0)){continue}break}a:{if(q[a+4>>2]){break a}b=g;f=i;while(1){e=_g(l,q[b>>2],q[b+4>>2],q[a>>2],0);if(e){q[a+4>>2]=e;break a}b=b+8|0;e=(f|0)>1;f=f+ -1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Da=g+128|0}function PT(a,b,c){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=q[c+76>>2];if(e){b=e+ -1|0;a=0;f=q[c+88>>2];d=r[f+15|0];while(1){a:{if((a|0)==(b|0)){a=e;break a}a=a+1|0;if((d|0)==r[(w(a,20)+f|0)+15|0]){continue}}break}d=0;g=e;h=f;while(1){b=a;b:{if(d>>>0>=a>>>0){break b}while(1){a=w(d,20)+f|0;if(r[a+12|0]&16){o[a+18|0]=22;g=q[c+76>>2];h=q[c+88>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=g>>>0>a>>>0?g:a;i=d+ -1|0;j=r[(w(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(i|0)){a=d;break c}a=a+1|0;if(r[(w(a,20)+h|0)+15|0]==(j|0)){continue}}break}d=b;if(d>>>0>>0){continue}break}}}function rv(a,b,c){var d=0;c=c+ -1|0;if(c>>>0>7){return 1}a:{b:{switch(c-1|0){default:return PZ(a,b);case 0:return qv(a,b);case 1:return qv(a,b);case 2:return NZ(a,b);case 3:return pv(a,b);case 4:return ov(a,b);case 5:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}return MZ(a,b);case 6:break b}}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=LZ(a,b)}return c}function _m(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if(!(r[a+1|0]|r[a|0]<<8)|(e|0)<1){break a}f=d;d=a+4|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){return 1}c=a+8|0;e=0;while(1){if(!Cx(c,b)){return 0}a=c;c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;g=1;e=e+1|0;if((d|0)!=(e|0)){continue}break}}return g}function Xy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[b+28>>2];c=n[q[a+516>>2]](a,1734439792,b,0)|0;q[d+12>>2]=c;a:{if(c){break a}c=lb(b,4);q[d+12>>2]=c;if(c){break a}g=a,h=ob(b),p[g+560>>1]=h;g=a,h=ob(b),p[g+562>>1]=h;jb(b);if(s[a+560>>1]>=2){p[a+562>>1]=0;c=8;q[d+12>>2]=8;break a}c=e;e=s[a+562>>1];g=a,h=Oa(c,4,0,e,0,d+12|0),q[g+564>>2]=h;c=q[d+12>>2];if(c){break a}c=lb(b,e<<2);q[d+12>>2]=c;if(c){break a}if(e){a=q[a+564>>2];c=0;while(1){f=a+(c<<2)|0;g=f,h=ob(b),p[g>>1]=h;g=f,h=ob(b),p[g+2>>1]=h;c=c+1|0;if((e|0)!=(c|0)){continue}break}}jb(b);c=q[d+12>>2]}Da=d+16|0;return c|0}function Xm(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if(!(r[a+1|0]|r[a|0]<<8)|(e|0)<1){break a}f=d;d=a+4|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){return 1}c=a+8|0;e=0;while(1){if(!rx(c,b)){return 0}a=c;c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;g=1;e=e+1|0;if((d|0)!=(e|0)){continue}break}}return g}function Pq(a){var b=0;if(!a){return 0}a:{if(cb(a,444432)){break a}b=1;if(cb(a,444444)){break a}b=2;if(cb(a,444456)){break a}b=3;if(cb(a,444476)){break a}b=4;if(cb(a,444488)){break a}b=5;if(cb(a,444494)){break a}b=6;if(cb(a,444517)){break a}b=7;if(cb(a,444529)){break a}b=8;if(cb(a,444537)){break a}b=9;if(cb(a,444576)){break a}b=10;if(cb(a,444594)){break a}b=11;if(cb(a,444608)){break a}b=12;if(cb(a,444628)){break a}b=13;if(cb(a,444646)){break a}b=14;if(cb(a,444658)){break a}b=15;if(cb(a,444678)){break a}b=16;if(cb(a,444686)){break a}b=17;if(cb(a,444702)){break a}return 0}return q[(b<<3)+444292>>2]}function He(){var a=0,b=0;a=ab(1,168);if(!a){return 641960}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;q[a+36>>2]=1073741823;q[a+40>>2]=536870911;dh(0);b=gt(bj());q[a+24>>2]=65533;q[a+28>>2]=0;q[a+16>>2]=0;q[a+12>>2]=b;if(q[a+4>>2]){q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}return a}function ku(a,b,c){var d=0;a:{if(b>>>0>=c>>>0){break a}c=r[a|0];if(c>>>0>2){break a}b:{switch(c-1|0){default:if(!b){break a}a=((b<<1)+a|0)+ -1|0;return r[a|0]<<8|r[a+1|0];case 0:if(!b){break a}d=a+1|0;c=0;b=b+ -1|0;a=r[a+3|0];if(b>>>0>a>>>0){while(1){b=(a^-1)+b|0;c=c+1|0;a=r[(d+w(c,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=d+w(c,3)|0;return(r[a|0]<<8|r[a+1|0])+b|0;case 1:break b}}if(!b){break a}c=0;b=b+ -1|0;d=r[a+4|0]|r[a+3|0]<<8;if(b>>>0>d>>>0){while(1){b=(d^-1)+b|0;c=c+1|0;d=(c<<2)+a|0;d=r[d+3|0]<<8|r[d+4|0];if(b>>>0>d>>>0){continue}break}}a=(c<<2)+a|0;d=(r[a+1|0]<<8|r[a+2|0])+b|0}return d}function hf(a){var b=0,c=0;b=q[a+88>>2];if(b){La(q[b+20>>2]);La(q[q[a+88>>2]+4>>2]);La(q[q[a+88>>2]+8>>2]);La(q[a+88>>2])}La(q[a+24>>2]);La(q[a+28>>2]);La(q[a+68>>2]);b=q[a+16>>2];a:{if(!b){break a}c=1;if(q[a>>2]<1){break a}La(q[b>>2]);La(q[b+4>>2]);if(q[a>>2]>=2){while(1){b=q[a+16>>2]+w(c,144)|0;La(q[b>>2]);La(q[b+4>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=q[a+16>>2]}La(b);c=q[a+20>>2];if(!(!c|q[a+8>>2]<1)){b=0;while(1){c=w(b,56)+c|0;La(q[c+28>>2]);La(q[c+44>>2]);La(q[c+48>>2]);La(q[c+52>>2]);b=b+1|0;if((b|0)>2]){c=q[a+20>>2];continue}break}c=q[a+20>>2]}La(c);La(q[a+80>>2]);La(a)}function ev(a,b){var c=0,d=0,e=0;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=q[q[c+88>>2]+w(q[c+72>>2],20)>>2];d=0;a:{if((yb(e,c)|0)==-1){break a}e=c+(r[a+5|0]|r[a+4|0]<<8)&65535;kf(b,e,0,0,0);a=q[b+96>>2];c=q[a+92>>2];b:{if((c|0)==q[a+88>>2]){d=q[a+80>>2];b=d;if(q[a+72>>2]==(b|0)){break b}}d=1;if(!Va(a,1,1)){break a}d=q[a+88>>2]+w(q[a+72>>2],20)|0;c=q[d+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[d>>2];q[b+4>>2]=c;q[b+16>>2]=q[d+16>>2];c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;d=q[a+72>>2];b=q[a+80>>2];c=q[a+92>>2]}q[w(b,20)+c>>2]=e;q[a+80>>2]=b+1;q[a+72>>2]=d+1;d=1}return d}function UL(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}a=q[a>>2];if(!a){break a}c=q[a+4>>2];a=c&1?a+(c&-2)|0:c;if(!a){break a}while(1){if(!d){b:{c:{d=q[a+8>>2];e=d+ -3|0;if(e>>>0>6){break c}c=a+8|0;d:{switch(e-1|0){default:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 2:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 4:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 0:case 1:case 3:break c;case 5:break d}}a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b}c=q[a+20>>2];f=q[a+12>>2];a=q[a+16>>2]}q[b+12>>2]=c;q[b+8>>2]=a;q[b+4>>2]=f;q[b>>2]=d;break a}d=d+ -1|0;c=a;a=q[a>>2];a=a&1?c+(a&-2)|0:a;if(a){continue}break}}}function cF(a,b,c){a=a|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,r=0,s=0;j=b<<2;r=q[j+q[a+388>>2]>>2];b=q[a+260>>2];if(!b){s=a;b=p[a+300>>1];d=q[a+248>>2];a:{if(!b){break a}e=p[a+298>>1];d=q[a+252>>2];if(!e){break a}h=q[a+248>>2];d=h>>31;g=d^d+h;d=e>>31;k=d+e^d;l=w(g>>>16|0,k);d=l<<16|8192;i=q[a+252>>2];f=i>>31;m=f^f+i;f=b>>31;n=f+b^f;o=w(m>>>16|0,n);f=o<<16|8192;g=d+w(k,g&65535)|0;d=(l>>>16|0)+(g>>>0>>0)<<18|g>>>14;d=(e^h)>-1?d:0-d|0;e=f+w(n,m&65535)|0;e=(o>>>16|0)+(e>>>0>>0)<<18|e>>>14;d=fg(d,(b^i)>-1?e:0-e|0)}b=d;q[s+260>>2]=b}b=Za(c,b);q[q[a+388>>2]+j>>2]=b+r}function hM(a){var b=0,c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;if(r[643740]&16){b=q[a+1584>>2];c=q[a+1592>>2];f=q[a+1580>>2];q[e+12>>2]=q[a+1588>>2];q[e+8>>2]=f;q[e+4>>2]=c;q[e>>2]=b;Ua(442351,e)}while(1){b=q[((d<<2)+a|0)+1036>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}d=0;while(1){b=q[((d<<2)+a|0)+1304>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}b=0;c=q[a+1028>>2];if(q[a+1032>>2]>0){while(1){La(q[(b<<2)+c>>2]);c=q[a+1028>>2];b=b+1|0;if((b|0)>2]){continue}break}}La(c);La(a);Da=e+16|0}function ow(a){var b=0,c=0,d=0,e=0;b=r[a|0]|r[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a:{if(b>>>0>1){break a}b:{if(b-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;b=0;d=1;while(1){if(r[a+4|0]==1){break a}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}break b}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break a}a=a+8|0;d=1;while(1){if(r[a+5|0]==1){break a}e=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}d=0}return d}function IB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Da-32|0;Da=c;a:{if((n[q[b+52>>2]](b,6,c,0)|0)<=5){q[b+12>>2]=3;break a}e=q[c+12>>2];d=e>>31;d=d^d+e;if((d|0)!=65536){if(!d){q[b+12>>2]=3;break a}f=c,g=Za(q[c>>2],d),q[f>>2]=g;f=c,g=Za(q[c+4>>2],d),q[f+4>>2]=g;f=c,g=Za(q[c+8>>2],d),q[f+8>>2]=g;f=c,g=Za(q[c+16>>2],d),q[f+16>>2]=g;f=c,g=Za(q[c+20>>2],d),q[f+20>>2]=g;e=q[c+12>>2]<0?-65536:65536;q[c+12>>2]=e}q[a+440>>2]=q[c>>2];q[a+448>>2]=q[c+4>>2];d=q[c+8>>2];q[a+452>>2]=e;q[a+444>>2]=d;if(!pi(a+440|0)){q[b+12>>2]=3;break a}q[a+456>>2]=q[c+16>>2]>>16;q[a+460>>2]=q[c+20>>2]>>16}Da=c+32|0}function qM(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-48|0;Da=c;b=Kb(442131);a:{if(!b){break a}q[160942]=0;e=Uj(b,c+44|0,10,-1,-1);d=Ea;f=q[c+44>>2];if((b|0)==(f|0)){Lc(442149,38,1,q[126999]);break a}b=d;g=e+1|0;if(g>>>0<1){b=b+1|0}if(!(!q[160942]|(e|d)?!(q[160942]==68?!b&g>>>0<=1|b>>>0<0:0):0)){b=Gg(q[160942]);q[c+8>>2]=e;q[c+12>>2]=d;q[c>>2]=b;Mc(q[126999],442188,c);break a}if(r[f|0]){Lc(442239,51,1,q[126999]);break a}if((d|0)==1&e>>>0>=0|d>>>0>1){q[c+24>>2]=e;q[c+28>>2]=d;q[c+16>>2]=-1;Mc(q[126999],442291,c+16|0);break a}b=a>>31;a=(b|0)==(d|0)&e>>>0>>0|d>>>0>>0?e:a}Da=c+48|0;return a}function pm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-48|0;Da=b;d=q[a>>2];a:{if(d){break a}e=a+ -72|0;while(1){c=q[e>>2];if(!c){d=271312;break a}d=ab(1,4);b:{if(!d){d=271312;c=q[a>>2];q[a>>2]=c?c:271312;if(c){break b}break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=Mb(c);o[b+44|0]=1;q[b+40>>2]=f;g=d,h=cW(b+8|0,Jb(c,1735811442)),q[g>>2]=h;c=q[a>>2];q[a>>2]=c?c:d;if(!c){break a}c=q[d>>2];Pa(c?c:271312);La(d)}d=q[a>>2];if(!d){continue}break}}Da=b+48|0;return d}function nw(a){var b=0,c=0,d=0,e=0;b=r[a|0]|r[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a:{if(b>>>0>1){break a}b:{if(b-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;b=0;d=1;while(1){if(r[a+5|0]&4){break a}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}break b}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break a}a=a+8|0;d=1;while(1){if(r[a+4|0]&64){break a}e=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}d=0}return d}function ks(a,b,c,d,e){var f=0,g=0;f=d>>9;a:{if(r[a+232|0]&2){d=f&511;d=d>>>0>255?d^511:d;break a}d=f^d>>31;d=(d|0)<255?d:255}f=q[a+312>>2];b:{if((f|0)>=0){g=f+1|0;q[a+312>>2]=g;f=w(f,6)+a|0;o[f+256|0]=d;p[f+254>>1]=e;p[f+252>>1]=b;if((g|0)!=10){break b}n[q[a+244>>2]](c,10,a+252|0,q[a+248>>2]);q[a+312>>2]=0;return}a=(q[a+236>>2]-w(q[a+240>>2],c)|0)+b|0;if(e>>>0<=7){c:{switch(e-1|0){case 6:o[a|0]=d;a=a+1|0;case 5:o[a|0]=d;a=a+1|0;case 4:o[a|0]=d;a=a+1|0;case 3:o[a|0]=d;a=a+1|0;case 2:o[a|0]=d;a=a+1|0;case 1:o[a|0]=d;a=a+1|0;break;case 0:break c;default:break b}}o[a|0]=d;return}Na(a,d,e)}}function XZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;if(uv(c,b,c)){q[f+12>>2]=c;if(WZ(c+2|0,b,f+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function xs(a,b){var c=0,d=0,e=0,f=0;c=q[a+32>>2];e=b;d=q[a+28>>2];if(d){while(1){f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;c=c+16|0;d=d+ -1|0;if(d){continue}break}c=q[a+32>>2]}if(c){n[q[e+8>>2]](e,c)}q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;c=q[a+20>>2];d=q[a+16>>2];if(d){while(1){f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;c=c+16|0;d=d+ -1|0;if(d){continue}break}c=q[a+20>>2]}if(c){n[q[e+8>>2]](e,c)}q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;e=q[a+8>>2];if(e){n[q[b+8>>2]](b,e)}q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}function dQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=q[a+28>>2];a=q[f+20>>2];a:{if(!a){break a}b:{c:{b=s[a>>1];d=b<<16>>16;if((d|0)>=2){e=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break c}if(d){break c}b=p[a+2>>1];break b}b=p[a+2>>1];if((e|0)!=(b|0)){break b}p[a>>1]=d+ -1;break a}d:{if((b|0)<2){break d}c=q[a+4>>2];g=c+(e<<3)|0;c=(c+(b<<3)|0)+ -8|0;if(q[g>>2]!=q[c>>2]|q[g+4>>2]!=q[c+4>>2]|r[(q[a+8>>2]+b|0)+ -1|0]!=1){break d}b=b+ -1|0;p[a+2>>1]=b}if((d|0)<1){break a}c=e;e=(b<<16>>16)+ -1|0;if((c|0)==(e|0)){p[a+2>>1]=b+ -1;p[a>>1]=d+ -1;break a}p[(q[a+12>>2]+(d<<1)|0)+ -2>>1]=e}o[f+44|0]=0}function CR(a,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=Da-48|0;Da=d;g=q[b+92>>2];q[a+40>>2]=s[b+68>>1];a:{if(Ne(b,1970170211)){q[b+92>>2]=0;break a}Ts(a,b);q[d+32>>2]=q[72328];c=q[72327];q[d+24>>2]=q[72326];q[d+28>>2]=c;c=q[72325];q[d+16>>2]=q[72324];q[d+20>>2]=c;f=d+16|0;e=He();b:{while(1){f=Ff(f,a,e,d+12|0);c:{if(t[d+12>>2]>1){break c}c=d+44|0;if(c){q[c>>2]=q[e+76>>2]}c=q[e+88>>2];h=Ge(e,d+44|0);if(!q[d+44>>2]|!q[c>>2]){break c}c=q[h>>2];if(!i){i=1;j=c;break c}if((c|0)==(j|0)){break c}c=0;break b}if(r[f|0]){continue}break}c=1}Xd(e);o[a+32|0]=c}$d(b,g);Da=d+48|0;return 0}function pV(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=f+d;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(f>>>0>=4){q[a+12>>2]=c+ -1;c=r[d+1|0];d=r[d|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8|1)!=3){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function IZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!Tb(a+2|0,b,a)){break a}if(!lf(a+4|0,b,a)){break a}if(!lf(a+6|0,b,a)){break a}if(!lf(a+8|0,b,a)){break a}e=q[b+4>>2];c=a+10|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+11|0]|r[a+10|0]<<8;if(!f){return 1}h=e;e=a+12|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}g=1;c=r[a+11|0]|r[a+10|0]<<8;if(!c){break a}d=0;while(1){if(mv(((d<<1)+a|0)+12|0,b,a)){d=d+1|0;if((c|0)!=(d|0)){continue}break a}break}g=0}return g}function Hm(a){var b=0,c=0,d=0,e=0;q[a>>2]=-57005;b=q[a+8>>2];if(b){a:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break a}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}q[a+16>>2]=0;La(q[a+28>>2]);q[a+28>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;La(q[a+40>>2]);q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0}function GD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-208|0;Da=d;f=q[a+532>>2];n[q[b+60>>2]](b,d+16|0,16,d+12|0);c=q[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=q[f>>2];if(g){break c}}e=Bh(a,c,0);if(e){break a}f=q[a+532>>2];c=q[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=q[b+8>>2];g=q[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+w(c,12)|0;q[b>>2]=q[a>>2];q[b+8>>2]=q[a+4>>2];a=n[q[b+40>>2]](b,0)|0;h=c<<2;q[h+q[f+136>>2]>>2]=a;q[q[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}q[b+8>>2]=e;q[b>>2]=g;e=0}q[b+12>>2]=e;Da=d+208|0}function ru(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=f+d;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(f>>>0>=36){q[a+12>>2]=c+ -1;c=r[d+1|0];d=r[d|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8)!=1){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function Pm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}f=c-a|0;if(f>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if(r[a+1|0]|r[a|0]<<8|(e|0)<1){break a}h=d;c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=0;d:{if(!g){break d}c=0;if(f>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}q[h+12>>2]=c+a;c=Pw(a+4|0,b,a,d+12|0)}Da=d+16|0;return c}function _P(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;p[a+64>>1]=256;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);q[a+68>>2]=0;q[a+72>>2]=0;if(!c|!e){break a}b=q[q[c+40>>2]>>2];if(!b){break a}q[a+72>>2]=q[b>>2];q[a+68>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72618];q[a+76>>2]=q[72617];q[a+80>>2]=b;b=q[72620];q[a+84>>2]=q[72619];q[a+88>>2]=b;b=q[72622];q[a+92>>2]=q[72621];q[a+96>>2]=b;b=q[72624];q[a+100>>2]=q[72623];q[a+104>>2]=b}function bq(a,b,c,d,e){var f=0,g=0,h=0;f=w(b,28);g=q[a+352>>2];h=q[f+q[g+164>>2]>>2];q[c>>2]=h;q[c+4>>2]=q[(f+q[g+164>>2]|0)+4>>2];if((h|0)==4){q[c+8>>2]=q[e>>2];f=q[(f+q[g+164>>2]|0)+8>>2];while(1){a=r[f|0];b=q[e>>2];q[e>>2]=b+1;o[b|0]=a;a=r[f|0];f=f+1|0;if(a){continue}break}q[c+12>>2]=0;q[c+16>>2]=0;return}f=q[(f+q[g+164>>2]|0)+20>>2];q[c+12>>2]=f;q[c+16>>2]=q[d>>2];q[d>>2]=q[d>>2]+w(f,20);if(q[c+12>>2]){b=(q[g+164>>2]+w(b,28)|0)+12|0;f=0;while(1){b=q[b>>2];bq(a,b,q[c+16>>2]+w(f,20)|0,d,e);b=(q[g+164>>2]+w(b,28)|0)+24|0;f=f+1|0;if(f>>>0>2]){continue}break}}q[c+8>>2]=0}function ym(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];a:{if((yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}c=r[a+5|0]|r[a+4|0]<<8;c=c?c+a|0:271312;d=q[b+96>>2];d=td(c,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);d=(r[a+7|0]|r[a+6|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+8|0:271312;e=r[d+1|0];g=r[d|0];q[f+12>>2]=c;q[f+8>>2]=434;d=0;c=a;a=e|g<<8;c=a?c+a|0:271312;e=r[c|0]<<8|r[c+1|0];if(!e){break a}a=c+2|0;while(1){g=r[a+1|0]|r[a|0]<<8;if(_u(g?c+g|0:271312,b,f+8|0)){d=1;break a}a=a+2|0;e=e+ -1|0;if(e){continue}break}}Da=f+16|0;return d}function ci(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+352>>2];d=1;f=q[b>>2];g=f;while(1){a:{e=r[g|0];b:{if(!e){break b}if((e|0)!=58){break a}e=q[c+92>>2];d=(e|0)==q[c+88>>2];h=c+80|0;if((g|0)!=(f|0)){while(1){if(d){if(!Ya(h)){return 0}e=q[c+92>>2]}d=r[f|0];q[c+92>>2]=e+1;o[e|0]=d;e=q[c+92>>2];d=(e|0)==q[c+88>>2];f=f+1|0;if((f|0)!=(g|0)){continue}break}}if(d){if(!Ya(h)){return 0}e=q[c+92>>2]}q[c+92>>2]=e+1;d=0;o[e|0]=0;a=ic(a,c+60|0,q[c+96>>2],8);if(!a){break b}d=q[c+96>>2];c:{if((d|0)==q[a>>2]){q[c+96>>2]=q[c+92>>2];break c}q[c+92>>2]=d}q[b+4>>2]=a;d=1}return d}g=g+1|0;continue}}function Fq(a,b){var c=0,d=0,e=0;c=Da+ -64|0;Da=c;a:{if(!a|!b){break a}if((a|0)==(b|0)){d=a;break a}q[c+48>>2]=0;q[c+52>>2]=a;q[c+36>>2]=b;q[c+32>>2]=0;e=Jc(c+32|0,0);b=Jc(c+48|0,0);if(!b){break a}while(1){b:{if((b&255)==(e|0)){b=q[c+60>>2];q[c+24>>2]=q[c+56>>2];q[c+28>>2]=b;b=q[c+52>>2];q[c+16>>2]=q[c+48>>2];q[c+20>>2]=b;b=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=b;b=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=b;while(1){b=Jc(c+16|0,0);d=Jc(c,0);if(!d){break b}if((b|0)==(d|0)){continue}break}}d=0;a=q[c+52>>2];b=Jc(c+48|0,0);if(b){continue}break a}break}d=a}Da=c- -64|0;return d}function Ek(a){var b=0,c=0,d=0,e=0,f=0;b=Da-144|0;Da=b;c=q[a+8>>2];d=q[a+12>>2];Gb(10);if(q[a+4>>2]>=1){f=a+d|0;e=a+c|0;d=0;while(1){c=q[(d<<2)+e>>2];Gb(9);q[b+128>>2]=s[(d<<1)+f>>1];Ua(489309,b+128|0);c=c+e|0;q[b+112>>2]=q[c>>2];Ua(489315,b+112|0);q[b+96>>2]=q[c+4>>2];Ua(489315,b+96|0);q[b+80>>2]=q[c+8>>2];Ua(489315,b+80|0);q[b+64>>2]=q[c+12>>2];Ua(489315,b- -64|0);q[b+48>>2]=q[c+16>>2];Ua(489315,b+48|0);q[b+32>>2]=q[c+20>>2];Ua(489315,b+32|0);q[b+16>>2]=q[c+24>>2];Ua(489315,b+16|0);q[b>>2]=q[c+28>>2];Ua(489315,b);Gb(10);d=d+1|0;if((d|0)>2]){continue}break}}Da=b+144|0}function Bu(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<78){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{if(!(r[a+1|0]|r[a|0]<<8)){break b}e=a+78|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<8){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}if((r[a+1|0]|r[a|0]<<8)>>>0<2){break b}e=a+86|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<10){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}if((r[a+1|0]|r[a|0]<<8)>>>0<5){break b}a=a+96|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0<4){break a}q[b+12>>2]=d+ -4;if((d|0)<4){break a}}g=1}return g}function ZV(a,b,c,d){var e=0,f=0;e=b+20|0;a:{if(o[b+15|0]&1){e=e+(d<<2)|0;d=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break a}e=e+(d<<1)|0;d=r[e+1|0]<<1|r[e|0]<<9;e=r[e+3|0]<<1|r[e+2|0]<<9}e=e-d|0;f=q[c+16>>2];b=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);d=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+d|0;b=f-d|0;b=b>>>0>f>>>0?0:b;b=b>>>0>e>>>0?e:b;b:{if(b>>>0<4){b=0;c=0;break b}c=d+q[c+12>>2]|0}q[a+8>>2]=0;q[a+4>>2]=b;q[a>>2]=c}function Us(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-16|0;Da=e;a:{b:{d=at(a,b,e+12|0);if(d){if(!c){g=d;break b}g=$R(a,d,q[e+12>>2],c);La(d);if(g){break b}}d=0;break a}d=0;c=ab(1,96);c:{if(!c){break c}q[c+60>>2]=1;q[c+84>>2]=a;f=ab(1,32);q[c+88>>2]=f;if(!f){La(c);break c}q[f+28>>2]=1;d=c}lt(d,g);f=q[d+8>>2];if((f|0)>=1){h=q[d+20>>2];c=0;while(1){q[(w(c,56)+h|0)+16>>2]=c;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!q[d+32>>2]){hf(d);La(g);d=0;break a}Ul(d);La(g);i=d,j=eb(b),q[i+80>>2]=j;c=q[d>>2];q[e+8>>2]=q[d+8>>2];q[e+4>>2]=c;q[e>>2]=b;hb(a,4,1988,e)}Da=e+16|0;return d}function Lb(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=q[a>>2];if(d){while(1){c=q[a+4>>2];g=e<<2;b=q[c+g>>2];if(b){while(1){if(!q[b+24>>2]){break b}c=q[b+28>>2];d=q[b+8>>2];if(q[b+20>>2]){c=c+ -1|0;q[b+28>>2]=c}c:{if(c){q[b>>2]=0;break c}f=q[a+16>>2];if((f|0)!=q[b+4>>2]){break a}c=b+32|0;n[q[f+16>>2]](c+(q[f+24>>2]+7&-8)|0,c);La(b)}b=d;if(b){continue}break}c=q[a+4>>2];d=q[a>>2]}q[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}q[a+20>>2]=0;q[a+24>>2]=0;q[a+8>>2]=0;q[a+12>>2]=a+8;q[a+28>>2]=0;q[a+32>>2]=0;return}I(355392,355403,518,355509);F()}I(355525,355403,433,355544);F()}function D$(a,b,c){var d=0,e=0,f=0;d=a;f=((b<<3)+a|0)+8|0;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?f:271312;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;b=r[a+4|0]<<8|r[a+5|0];if(b){a:{while(1){d=a+w(e,6)|0;if((r[d+6|0]<<8|r[d+7|0])==(c|0)){break a}e=e+1|0;if((b|0)!=(e|0)){continue}break}return 0}b=a;a=a+w(e,6)|0;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?b+a|0:271312}else{a=0}return a}function Q_(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=1;a:{if(r[b+12|0]!=1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){break a}q[b+16>>2]=-1;c=r[a+5|0]|r[a+4|0]<<8;g=ac(b,c);b:{if(!g){break b}e=a+4|0;a=c;while(1){k=c+512&-512;d=a;h=e;while(1){a=c;if(a>>>0>>0){break b}d=(a>>>3&56)+g|0;c=d;i=q[c+4>>2];l=c;m=q[c>>2];e=a&63;d=e&31;if(32<=(e&63)>>>0){e=1<>>32-d;d=1<>2]=m|d;q[c+4>>2]=e|i;f=f+ -1|0;if(!f){break a}c=r[h+2|0];i=r[h+3|0];d=a;e=h+2|0;h=e;c=c<<8|i;if(c>>>0>>0){continue}break}g=ac(b,c);if(g){continue}break}}j=0}return j}function Hv(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!lf(a+4|0,b,a)){break a}if(!w_(a+6|0,b,a)){break a}if(!v_(a+8|0,b,a)){break a}if(!lf(a+10|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65538){return 1}if(!u_(a+12|0,b,a)){break a}d=1;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65539){break a}d=Gv(a+14|0,b,a)}return d}function xv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if($Z(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function wv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if(_Z(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function sQ(a,b,c,d){a=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=Da-32|0;Da=e;q[d>>2]=-1;ef(a,e+16|0);if(q[e+24>>2]==3){i=q[a>>2];g=q[e+16>>2]+1|0;q[a>>2]=g;j=q[a+8>>2];h=q[e+20>>2]+ -1|0;q[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){ef(a,e);if(!q[e+8>>2]){break a}f=f+12|0;if(t[a>>2]>2]){continue}break}break a}c=w(c,12)+b|0;while(1){ef(a,e);if(!q[e+8>>2]){break a}if(f>>>0>>0){g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;q[f+8>>2]=q[e+8>>2]}f=f+12|0;if(t[a>>2]>2]){continue}break}}q[d>>2]=(f-b|0)/12;q[a+8>>2]=j;q[a>>2]=i}Da=e+32|0}function Su(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if(GY(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function MV(a,b){var c=0,d=0,e=0,f=0,g=0;d=ub(b);o[a+20|0]=0;q[a+28>>2]=d;f=q[d+12>>2];q[a+4>>2]=f;e=q[d+16>>2];q[a+8>>2]=e+f;if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!f){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(e>>>0>=4){q[a+12>>2]=c+ -1;c=r[f|0];Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|0)!=1){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function BV(a,b){var c=0,d=0,e=0,f=0,g=0;d=ub(b);o[a+20|0]=0;q[a+28>>2]=d;f=q[d+12>>2];q[a+4>>2]=f;e=q[d+16>>2];q[a+8>>2]=e+f;if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!f){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(e>>>0>=5){q[a+12>>2]=c+ -1;c=r[f|0];Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|0)!=2){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function Yd(a){var b=0,c=0,d=0;Pa(q[a+32>>2]);q[a+32>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;La(q[a+56>>2]);q[a+56>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;d=q[a+104>>2];if(d){while(1){b=q[a+108>>2]+w(c,28)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+108>>2]);c=0;q[a+108>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;d=q[a+116>>2];if(d){while(1){b=q[a+120>>2]+w(c,28)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+120>>2]);q[a+120>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;Pa(q[a>>2]);q[a>>2]=0}function nc(a){var b=0,c=0,d=0;Pa(q[a+32>>2]);q[a+32>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;La(q[a+96>>2]);q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;d=q[a+192>>2];if(d){while(1){b=q[a+196>>2]+(c<<5)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+196>>2]);c=0;q[a+196>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;d=q[a+204>>2];if(d){while(1){b=q[a+208>>2]+w(c,24)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+208>>2]);q[a+208>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;Pa(q[a>>2]);q[a>>2]=0}function eo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[a+44>>2]=b;Jd(q[a>>2],b);c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}e=n[b](c)|0;if(!e){break a}f=q[q[a>>2]+712>>2];c=q[f+1440>>2];h=q[q[a+40>>2]>>2];n[q[e+4>>2]](q[h>>2],q[a+16>>2],q[a+20>>2],0,0);b=q[f+2024>>2];if(!b){break a}while(1){g=q[a+16>>2];b=b+ -1|0;i=b<<2;d=q[q[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=bb(g,c,d);d=bb(q[a+20>>2],c,d);break b}d=q[a+20>>2]}n[q[e+4>>2]](q[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function aF(a,b,c){a=a|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,r=0;f=q[a+260>>2];if(!f){r=a;f=p[a+300>>1];d=q[a+248>>2];a:{if(!f){break a}e=p[a+298>>1];d=q[a+252>>2];if(!e){break a}i=q[a+248>>2];d=i>>31;h=d^d+i;d=e>>31;k=d+e^d;l=w(h>>>16|0,k);d=l<<16|8192;j=q[a+252>>2];g=j>>31;m=g^g+j;g=f>>31;n=g+f^g;o=w(m>>>16|0,n);g=o<<16|8192;h=d+w(k,h&65535)|0;d=(l>>>16|0)+(h>>>0>>0)<<18|h>>>14;d=(e^i)>-1?d:0-d|0;e=g+w(n,m&65535)|0;e=(o>>>16|0)+(e>>>0>>0)<<18|e>>>14;d=fg(d,(f^j)>-1?e:0-e|0)}f=d;q[r+260>>2]=f}c=Za(c,f);q[q[a+388>>2]+(b<<2)>>2]=c}function TT(a){a=a|0;a=a+24|0;Db(a,531);$a(a,1819239276,1,1);$a(a,1667460464,1,1);$a(a,1853188980,1,1);$a(a,1634429038,9,1);Db(a,532);$a(a,1919969382,8,1);Db(a,533);Db(a,532);$a(a,1886545254,9,1);Db(a,534);$a(a,1919644262,9,1);$a(a,1633842790,9,1);$a(a,1651275622,9,1);$a(a,1751215206,9,1);$a(a,1886614630,9,1);$a(a,1986098293,9,1);$a(a,1667916660,9,1);Db(a,535);Db(a,536);$a(a,1769172844,0,1);$a(a,1768843636,0,1);$a(a,1835361385,0,1);$a(a,1718185569,0,1);Db(a,0);$a(a,1633842803,9,1);$a(a,1651275635,9,1);$a(a,1751215214,9,1);$a(a,1886545267,9,1);$a(a,1886614643,9,1)}function Vo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-16|0;Da=g;a:{if(!a){break a}d=q[a+92>>2];if(!d|q[d+4>>2]!=1970170211){break a}d=q[a+40>>2];if(!d){break a}f=q[a+36>>2];if((f|0)<1){break a}i=(f<<2)+d|0;while(1){b:{f=q[d>>2];c:{if(s[f+8>>1]|s[f+10>>1]!=5){break c}e=q[f>>2];if(!e){break c}e=q[e+96>>2];h=q[q[e>>2]+32>>2];if(!h){break c}e=n[h](e,4096)|0;if(!e){break c}if(n[q[e>>2]](f,g+8|0)){break c}if(q[g+12>>2]==14){break b}}d=d+4|0;if(d>>>0>>0){continue}break a}break}d=q[d>>2];if(!d){break a}j=n[q[q[d+12>>2]+20>>2]](d,q[a+92>>2],b,c)|0}Da=g+16|0;return j}function qJ(){var a=0;a=cp(432);q[a>>2]=0;q[a+4>>2]=0;o[a+428|0]=0;q[a+424>>2]=0;q[a+416>>2]=0;q[a+408>>2]=0;q[a+412>>2]=-1;q[a+376>>2]=0;q[a+368>>2]=0;q[a+372>>2]=-1;q[a+336>>2]=0;q[a+328>>2]=0;q[a+332>>2]=-1;q[a+296>>2]=0;q[a+288>>2]=0;q[a+292>>2]=-1;q[a+256>>2]=0;q[a+248>>2]=0;q[a+252>>2]=-1;q[a+216>>2]=0;q[a+208>>2]=0;q[a+212>>2]=-1;q[a+176>>2]=0;q[a+168>>2]=0;q[a+172>>2]=-1;q[a+136>>2]=0;q[a+128>>2]=0;q[a+132>>2]=-1;q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=-1;q[a+32>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;return a|0}function nL(a){var b=0,c=0,d=0,e=0;a:{b:{b=q[a+4>>2];if(!(q[a+40>>2]|!b)){c=b<<1;if((c|0)<0){d=6;break a}if(c){d=10;if((c|0)>268435455){break a}d=q[a>>2];b=b<<4;d=n[q[d+4>>2]](d,b)|0;if(!d){break b}Na(d,0,b)}o[a+16|0]=1;q[a+40>>2]=d;e=(q[a+4>>2]<<3)+d|0;q[a+44>>2]=e;b=a;c=q[a+24>>2];if(c){c=(p[a+22>>1]<<3)+c|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;b=a;c=q[a+32>>2];if(c){c=c+(p[a+20>>1]<<1)|0}else{c=0}q[b+68>>2]=c;b=p[a+22>>1]<<3;q[a+80>>2]=b+e;q[a+76>>2]=d+b}return 0}q[a+40>>2]=d;return 64}q[a+40>>2]=0;return d}function fM(a,b){var c=0,d=0,e=0;a:{b:{if(q[b>>2]!=-1){d=q[a+4>>2];if(!d){d=ab(1,1596);q[a+4>>2]=d;if(!d){break b}}c=q[(((b>>>0)%67<<2)+d|0)+1304>>2];c:{if(!c){break c}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break c}break}e=1;if(q[c+8>>2]){break a}}b=iM(d,b)}c=q[b+12>>2];d=q[b+8>>2];e=0;if(!Dd(a,b,16)){break a}if(!Dd(a,b+d|0,q[b+4>>2]<<2)){break a}if(!Dd(a,b+c|0,q[b+4>>2]<<1)){break a}c=0;e=1;if(q[b+4>>2]<=0){break a}while(1){d=q[b+8>>2]+b|0;if(!Dd(a,q[d+(c<<2)>>2]+d|0,32)){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}e=0}return e}function zS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=c-a|0;if(d>>>0<14){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}c=r[a+3|0];f=r[a+2|0];g=c|f<<8;b:{if(!g){break b}c:{if(d>>>0>>0){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a+3|0];f=r[a+2|0];break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;if(!r[b+20|0]){break a}c=d>>>0<65535?d:65535;b=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=b;o[a+3|0]=b>>>8;f=(c&65280)>>>8|0}h=(r[a+7|0]<<2|r[a+6|0]<<10)+16>>>0<=(c&255|f<<8)>>>0}return h}function bK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{a=r[b+1|0];if(a+ -216>>>0<4){break e}if(a){break b}a=r[r[b|0]+e|0]+ -5|0;if(a>>>0>5){break b}f:{switch(a-1|0){case 4:break c;case 3:break d;case 1:break e;case 0:break f;default:break b}}b=b+3|0;break a}b=b+4|0;break a}q[d>>2]=q[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;q[d+4>>2]=-1;break a}if(r[b+3|0]){b=a;q[d+4>>2]=-1;break a}b=r[r[b+2|0]+e|0]==10?b+4|0:a;q[d+4>>2]=-1;break a}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+2|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>1){continue}break}}}function aU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!Nb(b,a,4)){break a}c=(c<<8&16711680|c<<24)>>>16|0;o[a|0]=c;o[a+1|0]=c>>>8;g=q[d+4>>2];d=q[d>>2];f=a+2|0;if(!Nb(b,f,2)){break a}c=g+1|0;e=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=e;o[a+3|0]=e>>>8;e=(c&65280)>>>8|0;h=b;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0;e=r[a+2|0];c=r[a+3|0]}b=c&255|e<<8;if(!Nb(h,f,b?b<<1:2)){break a}if(!g){return 1}b=0;c=g;while(1){i=1;e=(b<<1)+a|0;f=c?d:271312;f=r[f|0]|r[f+1|0]<<8;o[e+4|0]=f;o[e+5|0]=f>>>8;e=(c|0)!=0;c=c-e|0;d=(e<<1)+d|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}return i}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,j=0,k=0,l=0,m=0,n=0;m=q[q[a+388>>2]+(b<<2)>>2];b=q[a+260>>2];if(!b){n=a;b=p[a+300>>1];c=q[a+248>>2];a:{if(!b){break a}d=p[a+298>>1];c=q[a+252>>2];if(!d){break a}g=q[a+248>>2];c=g>>31;f=c^c+g;c=d>>31;h=c+d^c;i=w(f>>>16|0,h);c=i<<16|8192;a=q[a+252>>2];e=a>>31;j=e^a+e;e=b>>31;k=e+b^e;l=w(j>>>16|0,k);e=l<<16|8192;f=c+w(h,f&65535)|0;c=(i>>>16|0)+(f>>>0>>0)<<18|f>>>14;c=(d^g)>-1?c:0-c|0;d=e+w(k,j&65535)|0;d=(l>>>16|0)+(d>>>0>>0)<<18|d>>>14;c=fg(c,(a^b)>-1?d:0-d|0)}b=c;q[n+260>>2]=b}return Ma(m,b)|0}function JJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{a=r[b|0];if(a+ -216>>>0<4){break e}if(a){break b}a=r[r[b+1|0]+e|0]+ -5|0;if(a>>>0>5){break b}f:{switch(a-1|0){case 4:break c;case 3:break d;case 1:break e;case 0:break f;default:break b}}b=b+3|0;break a}b=b+4|0;break a}q[d>>2]=q[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;q[d+4>>2]=-1;break a}if(r[a|0]){b=a;q[d+4>>2]=-1;break a}b=r[r[b+3|0]+e|0]==10?b+4|0:a;q[d+4>>2]=-1;break a}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+2|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>1){continue}break}}}function D_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=a;c=r[a+5|0]|r[a+4|0]<<8;h=c?c+a|0:271312;c=td(h,q[q[b+4>>2]>>2]);a=(r[a+7|0]|r[a+6|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+8|0:271312;a=r[a|0]<<8|r[a+1|0];d=a?d+a|0:271312;e=r[d|0]<<8|r[d+1|0];if(e){a=d+2|0;while(1){a:{c=r[a+1|0]|r[a|0]<<8;f=c?c+d|0:271312;g=r[f|0]<<8|r[f+1|0];if((g|0)!=q[b+8>>2]){break a}c=1;if(g>>>0<=1){return 1}while(1){i=(c<<1)+f|0;if((td(h,q[q[b+4>>2]+(c<<2)>>2])|0)!=(r[i+2|0]<<8|r[i+3|0])){break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}return 1}a=a+2|0;e=e+ -1|0;if(e){continue}break}}return 0}function d$(a,b,c,d){var e=0,f=0,g=0,h=0;g=b;b=(r[a+11|0]|r[a+10|0]<<8)+a|0;e=g-(r[b|0]<<8|r[b+1|0])|0;if(e>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(e<<1)|0;f=r[b+4|0]<<8|r[b+5|0]}b=(r[a+13|0]|r[a+12|0]<<8)+a|0;c=c-(r[b|0]<<8|r[b+1|0])|0;if(c>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(c<<1)|0;h=r[b+4|0]<<8|r[b+5|0]}b=0;c=(r[a+15|0]|r[a+14|0]<<8)+a|0;e=((a+f|0)+h|0)-c>>>1|0;a=(e<<1)+c|0;a:{if(t[d+20>>2]>a>>>0){break a}f=q[d+24>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=d;d=q[d+28>>2];q[g+28>>2]=d+ -1;if((d|0)<1){break a}b=(r[(c+(e<<1)|0)+1|0]|r[a|0]<<8)<<16>>16}return b}function k$(a,b,c,d){var e=0,f=0,g=0,h=0;g=b;b=(r[a+9|0]|r[a+8|0]<<8)+a|0;e=g-(r[b|0]<<8|r[b+1|0])|0;if(e>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(e<<1)|0;f=r[b+4|0]<<8|r[b+5|0]}b=(r[a+11|0]|r[a+10|0]<<8)+a|0;c=c-(r[b|0]<<8|r[b+1|0])|0;if(c>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(c<<1)|0;h=r[b+4|0]<<8|r[b+5|0]}b=0;c=(r[a+13|0]|r[a+12|0]<<8)+a|0;e=((a+f|0)+h|0)-c>>>1|0;a=(e<<1)+c|0;a:{if(t[d+20>>2]>a>>>0){break a}f=q[d+24>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=d;d=q[d+28>>2];q[g+28>>2]=d+ -1;if((d|0)<1){break a}b=(r[(c+(e<<1)|0)+1|0]|r[a|0]<<8)<<16>>16}return b}function Lm(a,b,c,d){var e=0,f=0;a:{if((b|0)!=1196445523){e=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;e=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;e=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[e+7|0]|r[e+6|0]<<8;e=a?e+a|0:271312;f=r[e|0]<<8|r[e+1|0];b:{if(f){b=0;while(1){a=e+w(b,6)|0;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==(c|0)){a=1;if(!d){break b}q[d>>2]=b;return 1}b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=0;if(!d){break b}q[d>>2]=65535}return a}function pQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;o[a+68|0]=1;q[a+64>>2]=0;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);b=q[q[c+40>>2]>>2];q[a+72>>2]=0;q[a+76>>2]=b;if(!e){break a}q[a+72>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72559];q[a+80>>2]=q[72558];q[a+84>>2]=b;b=q[72561];q[a+88>>2]=q[72560];q[a+92>>2]=b;b=q[72563];q[a+96>>2]=q[72562];q[a+100>>2]=b;b=q[72565];q[a+104>>2]=q[72564];q[a+108>>2]=b}function at(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da+ -64|0;Da=d;e=yp(b,1833);a:{if(!e){q[d>>2]=b;hb(a,2,1836,d);break a}if((Qh(e,0,2)|0)==-1){q[d+16>>2]=b;hb(a,2,1868,d+16|0);Pe(e);break a}f=Ap(e);fH(e);q[d+48>>2]=f;hb(a,6,1900,d+48|0);b:{if((f|0)==-1){break b}g=Sa(f+1|0);if(!g){break b}b=0;while(1){h=wp(b+g|0,f-b|0,e);if((h|0)<=0){b=q[160942];i=d,j=Gg(q[160942]),q[i+36>>2]=j;q[d+32>>2]=b;hb(a,4,1915,d+32|0);Pe(e);La(g);g=0;break a}b=b+h|0;if((f|0)>(b|0)){continue}break}o[f+g|0]=0;Pe(e);if(!c){break a}q[c>>2]=f;break a}Pe(e);g=0}Da=d- -64|0;return g}function pn(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[d+12>>2]=0;e=Ob(a,d+12|0);c=q[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}f=b;b=e&127;c=b;b:{if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if(a&128){break a}c=a&127|b<<7}q[f>>2]=c;c=0}Da=d+16|0;return c}function XI(a,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=b+ -15|0;if(g>>>0>12){break c}f=33;d:{switch(g-1|0){case 4:if(n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496795)){q[a>>2]=926;return 35}if(n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496803)){q[a>>2]=926;return 36}if(!n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496812)){break b}q[a>>2]=950;return 33;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a>>2]=926;return 37}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function lY(a,b,c,d){var e=0,f=0,g=0,h=x(0),i=0;f=q[b+88>>2];e=r[a+2|0]|r[a+3|0]<<8;h=x(x(q[f+20>>2])*x((e<<24|e<<8&16711680)>>16));g=q[f+16>>2];e=q[g+28>>2];if(!e){e=xb(g);g=q[f+16>>2]}u[c>>2]=h/x(e>>>0);i=d;e=r[a+4|0]|r[a+5|0]<<8;h=x(x(q[f+24>>2])*x((e<<24|e<<8&16711680)>>16));e=q[g+28>>2];if(!e){e=xb(g)}u[i>>2]=h/x(e>>>0);if(!(q[f+60>>2]?0:!q[f+48>>2])){e=r[a+7|0]|r[a+6|0]<<8;e=Fm(e?e+a|0:271312,f,q[b+108>>2]);u[c>>2]=u[c>>2]+x(e|0)}if(!(q[f+60>>2]?0:!q[f+52>>2])){c=a;a=r[a+9|0]|r[a+8|0]<<8;a=Em(a?c+a|0:271312,f,q[b+108>>2]);u[d>>2]=u[d>>2]+x(a|0)}}function Au(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=c-a|0;if(d>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1|d>>>0<12){break a}q[b+12>>2]=c+ -2;if((c|0)<2|(r[a+7|0]|r[a+6|0]<<8)>>>0<8){break a}if(!KX(a+10|0,b,a)){break a}d=r[a+7|0]|r[a+6|0]<<8;c=r[a+9|0]|r[a+8|0]<<8;if(4294967295/(d>>>0)>>>0<=c>>>0?d:0){break a}c=w(c,d);if(!c){return 1}a=a+12|0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function gV(a,b,c){var d=0,e=0,f=0;b=s[b>>1];e=q[c+4>>2];a:{if((e|0)!=131072){d=0;if((e|0)!=65536|b>>>0>257){break a}b=b<<2;c=q[b+248064>>2];f=c+249100|0;d=q[b+248068>>2]+(c^-1)|0;break a}e=q[c+8>>2];d=0;if((r[e|0]<<8|r[e+1|0])>>>0<=b>>>0){break a}b=e+(b<<1)|0;b=r[b+2|0]<<8|r[b+3|0];if(b>>>0<=257){b=b<<2;c=q[b+248064>>2];f=c+249100|0;d=q[b+248068>>2]+(c^-1)|0;break a}b=b+ -258|0;d=0;if(b>>>0>=t[c+16>>2]){break a}b=q[c+24>>2]+q[q[c+20>>2]+(b<<2)>>2]|0;f=b+1|0;d=r[b|0]}b=d;c=q[a+4>>2];if((b|0)!=(c|0)){return c-b|0}if(!b){return 0}return Oc(q[a>>2],f,b)}function FJ(a,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:{f=b+ -11|0;if(f>>>0>18){break c}d:{switch(f-1|0){case 3:q[a>>2]=909;return 0;case 0:q[a>>2]=909;return 1;default:q[a>>2]=909;return 55;case 1:q[a>>2]=909;return 56;case 4:if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496672)){break b}q[a>>2]=910;return 3;case 2:break a;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break c;case 17:break d}}q[a>>2]=911;return 2}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function Hu(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];c=yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;c=r[d+1|0];d=r[d|0];f=q[57269];q[e+8>>2]=q[57268];q[e+12>>2]=f;f=q[57267];q[e>>2]=q[57266];q[e+4>>2]=f;f=a;a=c|d<<8;d=wm(a?f+a|0:271312,b,e);break a;case 0:d=Yu(a,b);break a;case 1:break b}}d=Xu(a,b)}Da=e+16|0;return d}function E_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=a;c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];d=a?d+a|0:271312;e=r[d|0]<<8|r[d+1|0];if(e){a=d+2|0;f=q[b+8>>2];while(1){a:{c=r[a+1|0]|r[a|0]<<8;g=c?c+d|0:271312;if((r[g|0]<<8|r[g+1|0])!=(f|0)){break a}if(f>>>0<2){return 1}i=q[b+4>>2];c=1;while(1){h=(c<<1)+g|0;if(q[(c<<2)+i>>2]!=(r[h+2|0]<<8|r[h+3|0])){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}return 1}a=a+2|0;e=e+ -1|0;if(e){continue}break}}return 0}function xM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!q[160933]){while(1){c=Sa(28);e=q[160933];q[160933]=e?e:c;if(!e){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}c=643664;f=q[160932];if((f|0)>=1){while(1){e=f;f=e+ -1|0;g=f<<2;d=q[g+c>>2];if(!(!d|q[d>>2]+q[d+8>>2]>>>0>a>>>0)){while(1){c=d;d=q[(c+g|0)+40>>2];if(q[d>>2]+q[d+8>>2]>>>0<=a>>>0?d:0){continue}break}c=c+40|0}if((e|0)>1){continue}break}}c=q[c>>2];if(!c|q[c>>2]+q[c+8>>2]>>>0<=a>>>0){break c}a=Sa(b+4|0);if(!a){break c}q[a>>2]=q[c+12>>2];q[c+12>>2]=a;h=a+4|0}return h}function es(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=q[a+20>>2];b:{if(!a){break b}c:{d:{b=s[a>>1];e=b<<16>>16;if((e|0)>=2){d=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break d}if(e){break d}b=p[a+2>>1];break c}b=p[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if((b|0)<2){break e}c=q[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)+ -8|0;if(q[f>>2]!=q[c>>2]|q[f+4>>2]!=q[c+4>>2]|r[(q[a+8>>2]+b|0)+ -1|0]!=1){break e}b=b+ -1|0;p[a+2>>1]=b}if((e|0)<1){break b}c=d;d=(b<<16>>16)+ -1|0;if((c|0)==(d|0)){p[a+2>>1]=b+ -1;break a}p[(q[a+12>>2]+(e<<1)|0)+ -2>>1]=d}return}p[a>>1]=e+ -1}function Mv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=r[a+5|0];d=r[a+7|0];g=r[a+4|0];h=r[a+6|0];f=r[a+9|0]|r[a+8|0]<<8;q[e+12>>2]=f?f+a|0:271312;d=d|h<<8;q[e+8>>2]=d?d+a|0:271312;q[e>>2]=433;c=c|g<<8;q[e+4>>2]=c?c+a|0:271312;h=r[a+11|0]|r[a+10|0]<<8;if(h){c=a+12|0;while(1){d=r[c+1|0]|r[c|0]<<8;g=d?d+a|0:271312;f=r[g|0]<<8|r[g+1|0];if(f){d=g+2|0;while(1){i=r[d+1|0]|r[d|0]<<8;Jv(i?g+i|0:271312,b,e);d=d+2|0;f=f+ -1|0;if(f){continue}break}}c=c+2|0;h=h+ -1|0;if(h){continue}break}}Da=e+16|0}function Io(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;c=q[b+28>>2];e=n[q[a+516>>2]](a,1668707360,b,d+8|0)|0;q[d+12>>2]=e;f=d;a:{b:{if(e){q[a+700>>2]=0;q[a+704>>2]=0;c=0;break b}e=q[d+8>>2]>>>1|0;q[a+700>>2]=e;g=a,h=Oa(c,4,0,e,0,d+12|0),q[g+704>>2]=h;c=q[d+12>>2];if(c){break a}c=lb(b,q[a+700>>2]<<1);q[d+12>>2]=c;if(c){break a}e=q[a+700>>2];if((e|0)>=1){c=q[a+704>>2];e=c+(e<<2)|0;while(1){g=c,h=ob(b)<<16>>16<<6,q[g>>2]=h;c=c+4|0;if(c>>>0>>0){continue}break}}jb(b);if(!r[a+733|0]){c=q[d+12>>2];break a}c=wo(a,b)}q[f+12>>2]=c}Da=d+16|0;return c}function nn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;q[f+12>>2]=0;h=gb(a,(s[c+8>>1]>>>1|0)+1|0,f+12|0);e=0;a:{if(q[f+12>>2]){break a}e=Xa(b,q[c+12>>2]);q[f+12>>2]=e;b:{if(e){break b}e=lb(b,s[c+8>>1]);q[f+12>>2]=e;if(e){break b}e=h;c:{i=s[c+8>>1]>>>1|0;if(i){g=q[b+32>>2];while(1){if(r[g|0]){break c}if(!n[d](o[g+1|0])){break c}o[e|0]=r[g+1|0];g=g+2|0;e=e+1|0;i=i+ -1|0;if(i){continue}break}}o[e|0]=0;jb(b);e=h;break a}jb(b)}if(h){n[q[a+8>>2]](a,h)}q[c+12>>2]=0;p[c+8>>1]=0;b=q[c+16>>2];if(b){n[q[a+8>>2]](a,b)}q[c+16>>2]=0;e=0}Da=f+16|0;return e}function Zy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[q[a+96>>2]+8>>2];b=q[a+356>>2];if(b){e=d;c=q[a+348>>2];if((c|0)>=1){c=w(c,20)+b|0;while(1){f=q[b+16>>2];if(f){n[q[d+8>>2]](d,f)}q[b+16>>2]=0;b=b+20|0;if(b>>>0>>0){continue}break}b=q[a+356>>2]}if(b){n[q[e+8>>2]](e,b)}q[a+356>>2]=0}b=q[a+364>>2];if(b){e=d;c=q[a+360>>2];if((c|0)>=1){c=w(c,12)+b|0;while(1){f=q[b+8>>2];if(f){n[q[d+8>>2]](d,f)}q[b+8>>2]=0;b=b+12|0;if(b>>>0>>0){continue}break}b=q[a+364>>2]}if(b){n[q[e+8>>2]](e,b)}q[a+364>>2]=0}p[a+344>>1]=0;q[a+360>>2]=0;q[a+348>>2]=0;q[a+352>>2]=0}function WP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(r[a+64|0]){break a}o[a+64|0]=1;e=q[a+20>>2];b:{if(r[a+65|0]){d=q[a+12>>2];if((p[d+20>>1]+p[d+56>>1]|0)+1>>>0>t[d+8>>2]){d=Xb(d,0,1);if(d){break a}}f=s[e>>1];d=f<<16>>16;if((d|0)<1){break b}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}d=s[e>>1]}p[e>>1]=d+1;d=q[a+12>>2];if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+65|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f+4>>2]=c>>10;q[f>>2]=b>>10;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function mU(a){a=a|0;var b=0;b=a+24|0;$a(b,1937007464,1,1);Db(b,517);$a(b,1667460464,1,1);$a(b,1819239276,1,1);Db(b,0);$a(b,1769172844,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1718185569,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1718185522,0,1);Db(b,0);$a(b,1718185523,0,1);Db(b,0);$a(b,1835361385,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1835361330,0,1);Db(b,0);$a(b,1768843636,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1919707495,11,1);if(q[a+8>>2]==1098015074){Db(b,518)}$a(b,1919118452,9,1);$a(b,1667329140,9,1);Db(b,0);$a(b,1836279156,1,1)}function lb(a,b){var c=0,d=0,e=0;a:{e=q[a+20>>2];b:{if(e){c=85;if(t[a+4>>2]>>0){break b}d=q[a+28>>2];c:{d:{if((b|0)>=1){c=n[q[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=q[a+20>>2]}q[a>>2]=c;e=n[e](a,q[a+8>>2],c,b)|0;c=q[a>>2];if(e>>>0>=b>>>0){d=0}else{if(c){n[q[d+8>>2]](d,c)}c=0;q[a>>2]=0;d=85}q[a+32>>2]=c;q[a+36>>2]=c?b+c|0:0;q[a+8>>2]=e+q[a+8>>2];return d}e=q[a+4>>2];d=q[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0>>0){break b}q[a+8>>2]=b+d;c=d+q[a>>2]|0;q[a+32>>2]=c;q[a+36>>2]=b+c;c=0}return c}q[a>>2]=0;return c}function yK(a,b,c,d,e){a=a|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=q[b>>2];i=q[d>>2];a=e-i|0;j=(c-g|0)>(a|0);h=j?a+g|0:c;a=h;a:{if(g>>>0>=a>>>0){break a}e=0;c=h;while(1){a=c;c=a+ -1|0;f=r[c|0];b:{if((f&248)==240){f=e+1|0;e=0;if(f>>>0<4){break b}a=a+3|0;break a}if((f&240)==224){f=e+1|0;e=0;if(f>>>0<3){break b}a=a+2|0;break a}if((f&224)==192){f=e+1|0;e=0;if(f>>>0<2){break b}a=a+1|0;break a}if(!(f&128)){break a}}e=e+1|0;a=c;if(a>>>0>g>>>0){continue}break}}c=a-g|0;Qa(i,g,c);q[b>>2]=c+q[b>>2];q[d>>2]=c+q[d>>2];return(j?2:a>>>0>>0)|0}function ep(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=q[a>>2];if(!b){return}f=q[b+96>>2];if(!f){return}c=q[b+108>>2];if(!c){break a}e=b+108|0;d=q[f+8>>2];while(1){if(q[c+8>>2]!=(a|0)){c=q[c+4>>2];if(c){continue}break a}break}g=q[c>>2];h=g?g+4|0:e;e=q[c+4>>2];q[h>>2]=e;q[(e?e:b+112|0)>>2]=g;n[q[d+8>>2]](d,c);b:{if(q[b+88>>2]!=(a|0)){break b}q[b+88>>2]=0;c=q[b+108>>2];if(!c){break b}q[b+88>>2]=q[c+8>>2]}b=q[a+8>>2];if(b){n[b](a)}b=q[q[f+12>>2]+60>>2];if(b){n[b](a)}b=q[a+40>>2];if(b){n[q[d+8>>2]](d,b)}q[a+40>>2]=0;n[q[d+8>>2]](d,a)}}function Oz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[b>>2];if((d|0)==-1){return 0}a=q[a+16>>2];c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[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=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){q[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=r[a+1|0]|r[a|0]<<8;if(g){q[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}q[b>>2]=f;return 0}function kx(a,b){var c=0,d=0;d=Da-304|0;Da=d;q[d+24>>2]=a;o[d+16|0]=0;q[d+20>>2]=b;c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);q[d+28>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);q[d+32>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);q[d+40>>2]=0;q[d+36>>2]=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a;c=q[b+8>>2];q[d+4>>2]=q[b+12>>2];q[d>>2]=a;b=d;a=q[c+32>>2];if((a|0)==-1){a=lc(c)}q[b+8>>2]=a;gx(d,d+16|0);Da=d+304|0}function Db(a,b){var c=0,d=0,e=0,f=0,g=0;g=a;f=a;a:{b:{c:{d=q[a+72>>2];if((d|0)>=0){c=q[g+76>>2];e=c+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=db(q[a+80>>2],c<<3);if(d){break c}}q[f+72>>2]=-1}f=q[67829];q[160744]=q[67828];q[160745]=f;d=642976;break a}q[a+80>>2]=d;q[f+72>>2]=c;c=q[g+76>>2]}if(e>>>0>c>>>0){Na(q[a+80>>2]+(c<<3)|0,0,e-c<<3)}q[g+76>>2]=e;d=(q[a+80>>2]+(e<<3)|0)+ -8|0}f=q[a+52>>2];q[d+4>>2]=b;q[d>>2]=f;q[a+52>>2]=q[a+52>>2]+1}function td(a,b){var c=0,d=0,e=0,f=0,g=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){return 0}a:{if(c-1){b=b-(r[a+3|0]|r[a+2|0]<<8)|0;c=(r[a+5|0]|r[a+4|0]<<8)>>>0>b>>>0?((b<<1)+a|0)+6|0:271312;a=c+1|0;break a}f=271704;c=r[a+3|0]|r[a+2|0]<<8;b:{if(!c){break b}c=c+ -1|0;while(1){c:{d=c+g>>>1|0;e=w(d,6)+a|0;d:{if((r[e+4|0]<<8|r[e+5|0])>>>0>b>>>0){c=d+ -1|0;break d}if((r[e+7|0]|r[e+6|0]<<8)>>>0>=b>>>0){break c}g=d+1|0}if((g|0)<=(c|0)){continue}break b}break}f=(w(d,6)+a|0)+4|0}c=f+4|0;a=f+5|0}return r[a|0]|r[c|0]<<8}function Yu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-16|0;Da=e;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){c=r[a+5|0];f=r[a+9|0];h=r[a+4|0];i=r[a+8|0];g=r[a+7|0]|r[a+6|0]<<8;g=g?g+a|0:271312;d=q[b+96>>2];d=td(g,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);d=(r[a+11|0]|r[a+10|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+12|0:271312;j=r[d+1|0];d=r[d|0];f=f|i<<8;q[e+12>>2]=f?f+a|0:271312;q[e+8>>2]=g;c=c|h<<8;q[e+4>>2]=c?c+a|0:271312;q[e>>2]=434;c=a;a=d<<8|j;f=wm(a?c+a|0:271312,b,e)}Da=e+16|0;return f}function XE(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=s[a+256>>1];b=q[a+260>>2];if(!b){n=a;f=p[a+300>>1];b=q[a+248>>2];a:{if(!f){break a}c=p[a+298>>1];b=q[a+252>>2];if(!c){break a}g=q[a+248>>2];b=g>>31;e=b^b+g;b=c>>31;h=b+c^b;i=w(e>>>16|0,h);b=i<<16|8192;a=q[a+252>>2];d=a>>31;j=d^a+d;d=f>>31;k=d+f^d;l=w(j>>>16|0,k);d=l<<16|8192;e=b+w(h,e&65535)|0;b=(i>>>16|0)+(e>>>0>>0)<<18|e>>>14;b=(c^g)>-1?b:0-b|0;c=d+w(k,j&65535)|0;c=(l>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=fg(b,(a^f)>-1?c:0-c|0)}q[n+260>>2]=b}return Ma(m,b)|0}function UP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[q[a+4>>2]+712>>2];a:{b:{if(!q[d+2024>>2]){d=d+1372|0;break b}e=n[q[q[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(t[d+2024>>2]<=e>>>0){break a}d=q[(d+(e<<2)|0)+2028>>2];if(!b|!q[a+68>>2]){break b}q[a+72>>2]=q[(q[q[b+40>>2]>>2]+(e<<2)|0)+4>>2]}b=q[d+620>>2];q[a+728>>2]=b;q[a+744>>2]=q[d+644>>2];c=0;e=a;f=0;c:{if(q[q[a+108>>2]+1416>>2]==1){break c}f=107;if(b>>>0<1240){break c}f=b>>>0<33900?1131:32768}q[e+736>>2]=f;q[a+584>>2]=q[d+540>>2];b=q[d+544>>2];q[a+768>>2]=d;q[a+588>>2]=b}return c|0}function wq(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[a+84>>2]+(q[a+48>>2]+b|0)|0;b=q[a+12>>2];a:{if(d>>>0<=b>>>0){break a}c=d+1|0;if((c|b)<0){return 6}f=q[a>>2];g=q[a+52>>2];b:{c:{e=c&-2;d:{if(!e){d=0;if(!g){break d}n[q[f+8>>2]](f,g);q[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!b){d=n[q[f+4>>2]](f,e<<5)|0;c=!d<<6;break e}c=n[q[f+12>>2]](f,b<<5,e<<5,g)|0;d=c?c:g;c=!c<<6}if(c|(e|0)<=(b|0)|!d){break c}Na((b<<5)+d|0,0,e-b<<5)}q[a+52>>2]=d;break b}q[a+52>>2]=d;if(c){break a}}q[a+12>>2]=e;c=0;q[a+88>>2]=d?(q[a+48>>2]<<5)+d|0:0}return c}function WS(a,b){var c=0,d=0,e=0;e=Da-48|0;Da=e;c=e;q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;o[c+44|0]=0;q[c+40>>2]=65536;c=YS(c+8|0,ub(a?a:271312));d=ab(1,8);a:{if(!d){a=641640;break a}q[d+4>>2]=b;q[d>>2]=c;a=ab(1,208);b:{if(a){q[a+8>>2]=0;c=a;q[c>>2]=1;q[c+4>>2]=1;q[c+32>>2]=-1;q[c+20>>2]=568;q[c+16>>2]=d;q[c+12>>2]=569;q[c+36>>2]=c;q[c+48>>2]=c;break b}Pa(c);La(d);a=641640}q[a+24>>2]=b}Da=e+48|0;return a}function P_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=q[b+16>>2];if(r[e+12|0]!=1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break a}q[e+16>>2]=-1;b=r[a+3|0]|r[a+2|0]<<8;g=ac(e,b);if(!g){break a}d=a+2|0;while(1){h=b&-512;i=b+512&-512;a=d;while(1){c=(b>>>3&56)+g|0;d=c;j=q[c+4>>2];k=c;l=q[c>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=l|b;q[d+4>>2]=c|j;f=f+ -1|0;if(!f){break a}d=a+2|0;b=r[a+3|0]|r[a+2|0]<<8;if(h>>>0<=b>>>0){a=d;if(b>>>0>>0){continue}}break}g=ac(e,b);if(g){continue}break}}}function hr(a){var b=0,c=0,d=0,e=0;b=Wa(a);e=b+5|0;c=Sa((e+b<<1)+32|0);if(!c){return 0}d=c+16|0;q[c>>2]=d;tc(d,a);b=(b+q[c>>2]|0)+1|0;q[c+4>>2]=b;tc(b,a);b=q[c+4>>2];b=Wa(b)+b|0;d=r[441546]|r[441547]<<8|(r[441548]<<16|r[441549]<<24);o[b|0]=d;o[b+1|0]=d>>>8;o[b+2|0]=d>>>16;o[b+3|0]=d>>>24;o[b+4|0]=r[441550];b=(q[c+4>>2]+e|0)+1|0;q[c+8>>2]=b;tc(b,a);a=q[c+8>>2];a=Wa(a)+a|0;b=r[441551]|r[441552]<<8|(r[441553]<<16|r[441554]<<24);o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=b>>>16;o[a+3|0]=b>>>24;o[a+4|0]=r[441555];q[c+12>>2]=(q[c+8>>2]+e|0)+1;return c}function as(a,b){var c=0,d=0,e=0,f=0;f=Da-16|0;Da=f;a:{b:{d=q[a+20>>2];if((d|0)!=q[a+12>>2]){e=q[a+28>>2];break b}c=q[a+16>>2];q[f+12>>2]=0;c:{e=q[a+8>>2];c=c+d|0;if(2147483647/(e>>>0)>>>0>>0){break c}d=w(c,e);e=Oa(q[a>>2],1,q[a+24>>2],d,q[a+28>>2],f+12|0);q[a+28>>2]=e;if(q[f+12>>2]){break c}q[a+24>>2]=d;q[a+12>>2]=c;d=q[a+20>>2];if(d>>>0<=c>>>0){break b}b=q[a+4>>2];if(!(!b|q[b>>2])){q[b>>2]=130}q[a+20>>2]=c;break a}a=q[a+4>>2];if(!a|q[a>>2]){break a}q[a>>2]=64;break a}c=q[a+8>>2];Qa(w(c,d)+e|0,b,c);q[a+20>>2]=q[a+20>>2]+1}Da=f+16|0}function MS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[e+12>>2]=c;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0){break a}h=g-a|0;if(h>>>0<=27){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}q[e+8>>2]=(r[a+25|0]|r[a+24|0]<<8)+a;f=d;d=a+24|0;if(f>>>0>d>>>0|g>>>0>>0|g-d>>>0<2){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}d=r[a+25|0]|r[a+24|0]<<8;f=0;b:{if(!d){break b}if(h>>>0>>0){break a}q[b+12>>2]=c+ -3;if((c|0)<3){break a}f=r[a+25|0]|r[a+24|0]<<8}i=LS(f+a|0,b,e+8|0,e+12|0)}Da=e+16|0;return i}function WK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-160|0;Da=d;q[d+156>>2]=b;q[d+12>>2]=d+16;n[q[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(q[d+156>>2]!=(c|0)){break a}o[q[d+12>>2]]=0;b=493066;c=d+16|0;b:{while(1){c:{f=r[b|0];e=r[c|0];b=b+1|0;c=c+1|0;e=((e+ -97&255)>>>0<26?e+ -32|0:e)&255;switch(((e|0)==(((f+ -97&255)>>>0<26?f+ -32|0:f)&255)?!e<<1:1)-1|0){case 0:break b;case 1:break c;default:continue}}break}b=a;if(q[a+64>>2]==2){break a}}a=ji(d+16|0);if((a|0)==-1){b=0;break a}b=q[(a<<2)+493104>>2]}Da=d+160|0;return b|0}function RK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-160|0;Da=d;q[d+156>>2]=b;q[d+12>>2]=d+16;n[q[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(q[d+156>>2]!=(c|0)){break a}o[q[d+12>>2]]=0;b=493066;c=d+16|0;b:{while(1){c:{f=r[b|0];e=r[c|0];b=b+1|0;c=c+1|0;e=((e+ -97&255)>>>0<26?e+ -32|0:e)&255;switch(((e|0)==(((f+ -97&255)>>>0<26?f+ -32|0:f)&255)?!e<<1:1)-1|0){case 0:break b;case 1:break c;default:continue}}break}b=a;if(q[a+64>>2]==2){break a}}a=ji(d+16|0);if((a|0)==-1){b=0;break a}b=q[(a<<2)+494624>>2]}Da=d+160|0;return b|0}function pe(a,b){var c=0,d=0,e=0,f=0,g=0;if(r[a+68|0]!=1){return 0}if(t[a+36>>2]>>0){o[a+68|0]=0;return 0}e=a+88|0;f=q[a+88>>2];g=q[a+92>>2];c=q[a+84>>2];a:{b:{if(b>>>0>214748363){break b}if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break b}d=w(c,20);b=db(q[a+96>>2],d);d=db(q[a+88>>2],d);c:{if(!(d?b:0)){o[a+68|0]=0;if(!b){break c}}q[a+96>>2]=b}if(!d){break a}q[e>>2]=d;break a}o[a+68|0]=0}q[a+92>>2]=q[((f|0)==(g|0)?e:a+96|0)>>2];b=r[a+68|0];if(b){q[a+84>>2]=c}return(b|0)!=0}function dY(a,b,c){var d=0,e=0,f=0;d=Da-32|0;Da=d;Na(a+4|0,0,92);q[a>>2]=b;b=q[c+4>>2];q[a+4>>2]=q[c>>2];q[a+8>>2]=b;b=q[c+12>>2];q[a+12>>2]=q[c+8>>2];q[a+16>>2]=b;q[a+20>>2]=q[c+16>>2];q[d+28>>2]=3;q[d+24>>2]=3;Fu(q[a+8>>2],q[a+12>>2],d+28|0,d+12|0,d+24|0,d);e=a,f=(Mm(q[a>>2],1196643650,q[d+28>>2],d+12|0,a+36|0,a+24|0)|0)!=0,o[e+32|0]=f;Km(q[a>>2],1196643650,q[a+36>>2],q[d+24>>2],d,a+44|0);e=a,f=(Mm(q[a>>2],1196445523,q[d+28>>2],d+12|0,a+40|0,a+28|0)|0)!=0,o[e+33|0]=f;Km(q[a>>2],1196445523,q[a+40>>2],q[d+24>>2],d,a+48|0);Da=d+32|0}function HY(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}f=c-a|0;if(f>>>0<2){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;d=1;if((c|0)<1){break b}e=r[a|0]|r[a+1|0]<<8;e=((e<<24|e<<8&16711680)>>>16|0)+ -1|0;c:{if(e>>>0>2){break c}d:{switch(e-1|0){default:d=0;if(f>>>0<6){break c}break a;case 0:d=0;if(f>>>0<8){break c}break a;case 1:break d}}if(f>>>0<10){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=0;if(!Lf(a+6|0,b,a)){break c}d=Lf(a+8|0,b,a)}return d}return 0}q[b+12>>2]=c+ -2;return(c|0)>1}function vh(a){var b=0,c=0,d=0;a:{if(!a){break a}c=q[a+28>>2];if(!c){break a}d=q[a+36>>2];if(!d){break a}b=q[c+20>>2];if(b){c=q[b>>2];if((c&-2)==4){n[d](q[a+40>>2],q[b+12>>2]);c=q[b>>2]}if((c|0)==6){n[q[a+36>>2]](q[a+40>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;d=q[b+40>>2];q[b+52>>2]=d;q[b+48>>2]=d;c=q[b+56>>2];if(c){c=n[c](0,0,0)|0;q[b+60>>2]=c;q[a+48>>2]=c;d=q[b+40>>2]}n[q[a+36>>2]](q[a+40>>2],d);n[q[a+36>>2]](q[a+40>>2],q[b+36>>2]);n[q[a+36>>2]](q[a+40>>2],b);d=q[a+36>>2];c=q[a+28>>2]}n[d](q[a+40>>2],c);q[a+28>>2]=0}}function QI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 7:q[a+4>>2]=q[a+4>>2]+1;return 44;case 2:case 25:q[a>>2]=954;return 51;case 14:q[a>>2]=954;return 53;case 15:q[a>>2]=954;return 52;case 0:case 1:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break b;case 16:break c;default:break a}}q[a>>2]=954;return 54}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function fF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;c=q[a>>2];a:{b:{if(r[c+8|0]&2){d=n[q[q[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=q[e+12>>2];q[a+116>>2]=c;b=q[a>>2];if(o[b+8|0]&1){Jd(b,c);d=0;zj(a);break a}d=n[q[q[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}q[a+116>>2]=-1;break a}q[a+116>>2]=-1;c=q[a>>2]}Rf(c,b);if(!(o[q[a>>2]+8|0]&1)){break a}d=zj(a);if(d){break a}c=a;d=s[a+84>>1];a=q[a+44>>2];a=q[(s[a>>1]>s[a+2>>1]?12:16)+b>>2];f=c,g=bb(d,4608,a?q[b>>2]!=4?a:72:72),q[f+120>>2]=g}d=0}Da=e+16|0;return d|0}function zV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=q[b+12>>2];e=d+ -1|0;q[b+12>>2]=e;if((d|0)<1){break a}d=r[a|0];if(d>>>0>4){break a}b:{switch(d-1|0){default:g=1;d=q[b+32>>2];if(!d){break a}i=a+1|0;a=0;while(1){g=0;c=a+i|0;if(h>>>0>c>>>0|f>>>0<=c>>>0){break a}c=e+ -1|0;q[b+12>>2]=c;if((e|0)<=0){break a}e=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 1;case 2:return iu(a+1|0,b,c);case 0:case 1:break a;case 3:break b}}g=uV(a+1|0,b,c)}return g}function UV(a,b,c,d,e){var f=0,g=0;q[e>>2]=r[a+3|0]|r[a+2|0]<<8;e=0;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;a:{if(f>>>0>2){break a}b:{switch(f-1|0){default:return jV(a,b,c,d);case 0:break a;case 1:break b}}g=a+8|0;f=b+1|0;f=(f|0)<0?271312:g+(f<<1)|0;b=(b|0)<0?271312:g+(b<<1)|0;g=r[b|0]<<8|r[b+1|0];if((r[f|0]<<8|r[f+1|0])>>>0<=g>>>0){break a}a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[c>>2]=g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));q[d>>2]=(r[f+1|0]|r[f|0]<<8)-(r[b+1|0]|r[b|0]<<8);e=1}return e}function Iv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=r[a+1|0]|r[a|0]<<8;if(g){h=a+2|0;while(1){d=r[h+1|0]|r[h|0]<<8;d=d?d+a|0:271312;i=r[d+1|0];j=r[d|0];e=(i<<1|j<<9)+d|0;f=e+2|0;d=r[f|0]<<8|r[e+3|0];a:{if(r[b+12|0]){f=f+(d?d<<1:2)|0;if(r[f+1|0]|(i|j<<8)|r[f|0]<<8){break a}}if((d|0)!=q[b+8>>2]){break a}if(d>>>0<=1){return 1}i=e+4|0;j=q[c+8>>2];f=q[c>>2];e=1;while(1){if(!n[f](q[q[b+4>>2]+(e<<2)>>2],(i+(e<<1)|0)+ -2|0,j)){break a}e=e+1|0;if((d|0)!=(e|0)){continue}break}return 1}h=h+2|0;g=g+ -1|0;if(g){continue}break}}return 0}function Gm(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(r[b+12|0]!=1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break a}q[b+16>>2]=-1;c=r[a+3|0]|r[a+2|0]<<8;g=ac(b,c);if(!g){break a}e=a+2|0;while(1){h=c&-512;i=c+512&-512;a=e;while(1){d=(c>>>3&56)+g|0;e=d;j=q[d+4>>2];k=d;l=q[d>>2];d=c&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=l|c;q[e+4>>2]=d|j;f=f+ -1|0;if(!f){break a}e=a+2|0;c=r[a+3|0]|r[a+2|0]<<8;if(h>>>0<=c>>>0){a=e;if(c>>>0>>0){continue}}break}g=ac(b,c);if(g){continue}break}}}function tt(a){var b=0,c=0,d=0;p[a+20>>1]=1;q[a+16>>2]=0;q[a+4>>2]=q[a>>2];q[a+8>>2]=q[a+12>>2];nt(a);a:{b:{c:{d=q[a+44>>2];if((d|0)>=0){b=q[a+48>>2];c=b+1|0;c=(c|0)>0?c:0;if(d>>>0>=c>>>0){break b}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){d=db(q[a+52>>2],b<<2);if(d){break c}}q[a+44>>2]=-1}q[160744]=q[67828];a=642976;break a}q[a+44>>2]=b;q[a+52>>2]=d;b=q[a+48>>2]}if(c>>>0>b>>>0){Na(q[a+52>>2]+(b<<2)|0,0,c-b<<2)}q[a+48>>2]=c;a=(q[a+52>>2]+(c<<2)|0)+ -4|0}q[a>>2]=0}function _X(a){var b=0,c=0,d=0;a:{b:{c:{c=q[a+72>>2];if((c|0)>=0){b=q[a+76>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+80>>2],b<<3);if(c){break c}}q[a+72>>2]=-1}c=q[67829];q[160744]=q[67828];q[160745]=c;b=642976;break a}q[a+72>>2]=b;q[a+80>>2]=c;b=q[a+76>>2]}if(d>>>0>b>>>0){Na(q[a+80>>2]+(b<<3)|0,0,d-b<<3)}q[a+76>>2]=d;b=(q[a+80>>2]+(d<<3)|0)+ -8|0}c=q[a+52>>2];q[b+4>>2]=0;q[b>>2]=c;q[a+52>>2]=q[a+52>>2]+1}function ZX(a){var b=0,c=0,d=0;a:{b:{c:{c=q[a+84>>2];if((c|0)>=0){b=q[a+88>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+92>>2],b<<3);if(c){break c}}q[a+84>>2]=-1}c=q[67829];q[160744]=q[67828];q[160745]=c;b=642976;break a}q[a+84>>2]=b;q[a+92>>2]=c;b=q[a+88>>2]}if(d>>>0>b>>>0){Na(q[a+92>>2]+(b<<3)|0,0,d-b<<3)}q[a+88>>2]=d;b=(q[a+92>>2]+(d<<3)|0)+ -8|0}c=q[a+56>>2];q[b+4>>2]=0;q[b>>2]=c;q[a+56>>2]=q[a+56>>2]+1}function cS(a){var b=0;a:{if(!q[a+4>>2]){break a}dh(q[a+12>>2]);b=gt(bj());q[a+24>>2]=65533;q[a+28>>2]=0;q[a+16>>2]=0;q[a+12>>2]=b;if(!q[a+4>>2]){break a}q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}}function DO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2])){break a}if(q[a+16>>2]!=q[b+16>>2]){break a}d=q[a+20>>2];if((d|0)!=q[b+20>>2]){break a}if(!d){return 1}f=q[b+24>>2];b=q[a+24>>2];while(1){b:{a=w(e,24);c=a+b|0;a=a+f|0;if(q[c>>2]!=q[a>>2]|q[c+4>>2]!=q[a+4>>2]|(q[c+8>>2]!=q[a+8>>2]|q[c+12>>2]!=q[a+12>>2])){break b}if(q[c+16>>2]!=q[a+16>>2]|q[c+20>>2]!=q[a+20>>2]){break b}c=1;e=e+1|0;if((d|0)!=(e|0)){continue}break a}break}c=0}return c|0}function uG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=35;a:{if(!(r[a+8|0]&2)){break a}h=7;if(q[b>>2]){break a}d=q[b+4>>2];f=d;i=q[b+8>>2];g=i;h=23;e=q[b+12>>2];if(e){f=(w(d,e)+36|0)/72|0}e=f;b=q[b+16>>2];if(b){g=(w(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=q[a+28>>2];if((d|0)<1){break a}a=q[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((f|0)==(q[g+8>>2]+32&-64)?(e|0)==(q[g+12>>2]+32&-64):0)){b=b+1|0;if((b|0)<(d|0)){continue}break a}break}h=0;if(!c){break a}q[c>>2]=b;return 0}return h}function Sr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[b+36>>2];if((e|0)<1){break a}i=q[b+40>>2];c=-1;while(1){b:{f=q[(d<<2)+i>>2];g=s[f+8>>1];if((g|0)!=3){break b}h=s[f+10>>1]+ -1|0;if(h>>>0>9){break b}c:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break b;default:break c}}$d(b,f);return}c=(c|0)<0?(g|0)==3?d:c:c;d=d+1|0;if((d|0)<(e|0)){continue}break}if((c|0)<0){break a}$d(b,q[q[b+40>>2]+(c<<2)>>2]);return}if(!q[b+92>>2]){if(!e){hb(a,2,354856,0);return}hb(a,2,354883,0);$d(b,q[q[b+40>>2]>>2])}}function Kq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=1;a:{c=q[b+4>>2];g=c>>>0<8?c:8;b:{if((g|0)>=1){c=0;while(1){h=q[((c<<2)+b|0)+8>>2];if(h){i=c<<5;d=0;while(1){if(h>>>d&1){c:{if(e){break c}if(Ng(a,124)){break c}return 0}e=0;f=0;if(!ge(a,(r[(d|i)+485300|0]<<5)+449308|0)){break b}}d=d+1|0;if((d|0)!=32){continue}break}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}b=q[b>>2];if(b){b=Ic(b);if(!b){return 0}while(1){c=Qb(b);if(c){if(!e){if(!Ng(a,124)){break a}}e=0;if(ge(a,c)){continue}break a}break}Zb(b)}f=1}return f}Zb(b);return 0}function Bf(a,b){var c=0;c=q[b>>2]+ -3|0;a:{if(c>>>0>6){break a}b:{switch(c-1|0){default:c=eb(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 1:c=IM(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 2:c=Qg(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 4:c=zf(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 0:case 3:break a;case 5:break b}}c=_k(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c}function uE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=q[a+8>>2];b=q[a>>2];a:{if(r[b+732|0]){break a}o[a+112|0]=0;c=q[a+16>>2];d=q[a+12>>2];q[a+48>>2]=d;q[a+52>>2]=c;c=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=c;e=q[a+32>>2];c=a- -64|0;q[c>>2]=q[a+28>>2];q[c+4>>2]=e;q[a+72>>2]=q[a+36>>2];if(!(d&65535)|!s[a+50>>1]){break a}if(r[b+176|0]&8){f=a,g=Ma(p[b+70>>1],q[a+56>>2])+32&-64,q[f+60>>2]=g;f=a- -64|0,g=Ma(p[b+72>>1],q[a+56>>2])+32&-64,q[f>>2]=g;f=a,g=Ma(p[b+74>>1],q[a+56>>2])+32&-64,q[f+68>>2]=g}o[a+112|0]=1}return 0}function Sn(a){var b=0,c=0,d=0,e=0,f=0;q[a+28>>2]=4096;b=a+4168|0;q[a+24>>2]=b;q[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!q[a+16>>2]){b=q[a>>2];c=q[b+20>>2];b:{if(c){c=n[c](b,q[b+8>>2],d,4096)|0;if(c){break b}break a}e=q[b+8>>2];c=q[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}Qa(d,q[b>>2]+e|0,c)}q[b+8>>2]=q[b+8>>2]+c;q[a+16>>2]=c;q[a+12>>2]=d}b=Rn(f,0);if(b){if((b|0)==1){b=q[a+24>>2];q[a+8272>>2]=b;return(b|0)==q[a+8268>>2]?85:0}break a}if(q[a+28>>2]){continue}break}return 0}q[a+8272>>2]=q[a+8268>>2];return 85}function SD(a,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=6;d=q[a+532>>2];a:{if(!d){break a}b:{if(!(b|c)){a=q[d>>2];if(!a){break b}b=q[d+136>>2];c=q[d+140>>2];e=0;while(1){d=f<<2;q[d+b>>2]=q[c+d>>2];f=f+1|0;if((a|0)!=(f|0)){continue}break}break a}if(!c){break a}e=q[d>>2];g=e>>>0>b>>>0?b:e;if(g){i=q[d+136>>2];while(1){h=f<<2;q[h+i>>2]=q[c+h>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(e>>>0>b>>>0){Na(q[d+136>>2]+(g<<2)|0,0,e-g<<2)}c=q[a+8>>2];if(b){q[a+8>>2]=c|32768;break b}q[a+8>>2]=c&-32769}e=0}return e|0}function dH(a,b,c,d){var e=0,f=0,g=0,h=0;f=Da-128|0;Da=f;g=85;a:{if(!b){break a}e=q[b+20>>2];if(e){if(n[e](b,0,0,0)){break a}}q[b+8>>2]=0;e=q[b+4>>2];if(!e){break a}h=q[b+20>>2];b:{if(h){e=n[h](b,0,f,128)|0;break b}e=e>>>0<128?e:128;Qa(f,q[b>>2],e)}q[b+8>>2]=e;if(e>>>0<128){break a}g=2;if(r[f+82|0]|(r[f|0]|r[f+74|0])){break a}e=r[f+1|0];if(r[f+63|0]|(e+ -1&255)>>>0>32|r[(f+e|0)+2|0]){break a}e=o[f+83|0];if((e|0)<0){break a}g=Xj(a,b,(r[f+86|0]|(r[f+84|0]<<16|(e&255)<<24|r[f+85|0]<<8))+255&-128,c,d)}Da=f+128|0;return g}function Vi(a,b,c,d,e){var f=0,g=0,h=0,i=x(0),j=0,k=x(0);if((r[a+1|0]|r[a|0]<<8)>>>0<=b>>>0){return x(0)}f=r[a+5|0];g=r[a+4|0];j=f|g<<8;f=(f<<1|g<<9)+a|0;g=r[a+3|0]|r[a+2|0]<<8;b=(f+w(j+g|0,b)|0)+6|0;if(g){f=0;while(1){h=(f<<1)+a|0;k=Qv(e,r[h+6|0]<<8|r[h+7|0],c,d);h=r[b|0]|r[b+1|0]<<8;i=x(i+x(k*x((h<<24|h<<8&16711680)>>16)));b=b+2|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(g>>>0>>0){while(1){f=(g<<1)+a|0;i=x(i+x(Qv(e,r[f+6|0]<<8|r[f+7|0],c,d)*x(o[b|0])));b=b+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}return i}function K_(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break a}c=a;a=r[a+11|0]|r[a+10|0]<<8;c=a?c+a|0:271312;a=r[c|0]|r[c+1|0]<<8;a=((a<<24|a<<8&16711680)>>>16|0)+ -1|0;if(a>>>0>1){break a}e=q[b+8>>2];if(!(a-1)){d=r[c+3|0];a=r[c+2|0];f=d|a<<8;if(!f){break a}b=0;while(1){a=((a&255)<<8|d)>>>0>b>>>0?(c+w(b,6)|0)+4|0:271704;if(r[a+4|0]<<8|r[a+5|0]){if(!eh(e,r[a+1|0]|r[a|0]<<8,r[a+3|0]|r[a+2|0]<<8)){break a}}b=b+1|0;if((f|0)==(b|0)){break a}d=r[c+3|0];a=r[c+2|0];continue}}J_(c,e)}}function mt(a){var b=0,c=0,d=0,e=0;q[a>>2]=-57005;b=q[a+8>>2];if(b){a:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break a}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}La(q[a+32>>2]);q[a+32>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0}function KO(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}La(q[b>>2]);return 1}function c$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=r[a+5|0];d=r[a+4|0];h=e|d<<8;if(!h){break a}while(1){e=(d<<8|e)>>>0>g>>>0?((g<<1)+a|0)+6|0:271312;b:{if((r[e|0]<<8|r[e+1|0])!=(c|0)|r[b+12|0]!=1){break b}d=(r[a+3|0]|r[a+2|0]<<8)+g|0;if((d|0)==-1){break b}q[b+16>>2]=-1;e=ac(b,d);if(!e){break b}f=e+(d>>>3&56)|0;e=f;i=q[e+4>>2];j=e;k=q[e>>2];f=d&63;d=f&31;if(32<=(f&63)>>>0){f=1<>>32-d;d=1<>2]=k|d;q[e+4>>2]=f|i}g=g+1|0;if((h|0)==(g|0)){break a}e=r[a+5|0];d=r[a+4|0];continue}}}function G$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=271312;c=q[q[q[a>>2]+136>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){b=c+(b<<1)|0;b=r[b+2|0]<<8|r[b+3|0];d=b?b+c|0:271312}a:{e=r[d+5|0];b=r[d+4|0];f=e|b<<8;if(!f){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;c=0;while(1){b=((b&255)<<8|e)>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];Xv(b?b+d|0:271312,a,g);c=c+1|0;if((f|0)==(c|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}}function EY(a,b,c){var d=0,e=0,f=0,g=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;if(4294967295/(c>>>0)>>>0<=d>>>0?c:0){break a}d=w(c,d);if(d>>>0>2147483646){break a}if(!d){return 1}c=a+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<=1){return 0}while(1){if(!Ri((c|0)<0?271312:((c<<1)+a|0)+2|0,b,a)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}return 0}function zO(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a>>2];a:{if((c|0)!=q[b>>2]){break a}if(c>>>0>2){return 1}b:{switch(c-1|0){default:if(q[a+8>>2]!=q[b+8>>2]|v[a+16>>3]!=v[b+16>>3]|(q[a+24>>2]!=q[b+24>>2]|q[a+28>>2]!=q[b+28>>2])){break a}if(q[a+32>>2]!=q[b+32>>2]|q[a+36>>2]!=q[b+36>>2]){break a}return q[a+40>>2]==q[b+40>>2]|0;case 0:return!Ta(q[a+8>>2],q[b+8>>2])|0;case 1:break b}}if(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]|(q[a+16>>2]!=q[b+16>>2]|q[a+20>>2]!=q[b+20>>2])){break a}d=q[a+24>>2]==q[b+24>>2]}return d|0}function Kr(a,b,c,d,e){var f=0,g=0;a:{if(!(q[a- -64>>2]!=(d|0)|q[a+68>>2]!=(e|0)|q[a+56>>2]!=(b|0))){if(q[a+60>>2]==(c|0)){break a}}q[a+64>>2]=d;q[a+68>>2]=e;q[a+60>>2]=c;q[a+56>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a+64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function kH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Da-32|0;Da=e;q[e+16>>2]=b;d=q[a+48>>2];q[e+20>>2]=c-((d|0)!=0);f=q[a+44>>2];q[e+28>>2]=d;q[e+24>>2]=f;a:{b:{f=ia(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[160942]=f;d=-1}d:{if(d){q[e+12>>2]=-1;c=-1;break d}d=q[e+12>>2];if((d|0)>0){break b}c=d}q[a>>2]=q[a>>2]|c&48^16;break a}g=q[e+20>>2];if(d>>>0<=g>>>0){c=d;break a}f=q[a+44>>2];q[a+4>>2]=f;q[a+8>>2]=f+(d-g|0);if(!q[a+48>>2]){break a}q[a+4>>2]=f+1;o[(b+c|0)+ -1|0]=r[f|0]}Da=e+32|0;return c|0}function Lp(a,b,c){var d=0,e=0,f=0,g=0;f=Da-32|0;Da=f;e=-1;a:{if(!a|c>>>0>2){break a}d=(c<<2)+a|0;Ve(q[d+20>>2],f+16|0);if(!Ue(q[d+20>>2],f+16|0,b)){break a}if(b){e=b;while(1){d=q[e+4>>2]+ -1|0;b:{if(d>>>0>1){break b}if(d-1){d=q[e+8>>2];if(!d){break b}if(q[d>>2]==-1){q[d>>2]=c;d=q[e+8>>2]}d=q[d+8>>2];g=(g|0)<(d|0)?d:g;break b}d=q[q[e+8>>2]>>2];g=(g|0)<(d|0)?d:g}e=q[e>>2];if(e){continue}break}}if(r[643740]&4){q[f+4>>2]=q[a+4>>2];q[f>>2]=c;Ua(503697,f);lL(b)}a=g&-1025;e=((a|0)>51?a:51)+ -51|0}Da=f+32|0;return e}function RL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+8>>2];d=Cd(a,b);a:{if(!d){break a}c=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=c;c=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=c;c=q[b>>2];q[d+12>>2]=-1;q[d+4>>2]=c;f=b+f|0;g=Cd(a,f);if(!g){break a}q[d+8>>2]=g-d;if(q[b>>2]>=1){while(1){c=h<<3;i=c+f|0;e=q[i+4>>2];e=QL(a,e&1?(e&-2)+i|0:e);if(!e){return 0}c=c+g|0;q[c>>2]=q[i>>2];q[c+4>>2]=e-c|1;h=h+1|0;if((h|0)>2]){continue}break}}e=d;if(!(r[643740]&32)){break a}Rb(442449);cd(b);Rb(442462);cd(e);Gb(10)}return e}function BG(a,b,c,d){var e=0,f=0,g=0,h=0;g=-1;e=d&2147483647;h=e;f=c;a:{if(!c&(e|0)==2147418112?a|b:(e|0)==2147418112&c>>>0>0|e>>>0>2147418112){break a}if(!(a|f|(h|1073610752|b))){return 0}f=d&1073610752;if((f|0)>0?1:(f|0)>=0?1:0){if(!c&(d|0)==1073610752?!b&a>>>0<0|b>>>0<0:(d|0)<1073610752?1:(d|0)<=1073610752?c>>>0>=0?0:1:0){break a}return(a|c)!=0|(d^1073610752|b)!=0}if(!c&(d|0)==1073610752?!b&a>>>0>0|b>>>0>0:(d|0)>1073610752?1:(d|0)>=1073610752?c>>>0<=0?0:1:0){break a}g=(a|c)!=0|(d^1073610752|b)!=0}return g}function Sy(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!r[a+632|0]){break a}c=q[a+100>>2];b=q[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=q[a+640>>2];if(b){n[q[c+8>>2]](c,b)}p[a+636>>1]=0;q[a+640>>2]=0;b=q[a+644>>2];if(s[a+638>>1]){while(1){d=b;b=e<<2;d=q[d+b>>2];if(d){n[q[c+8>>2]](c,d)}q[q[a+644>>2]+b>>2]=0;b=q[a+644>>2];e=e+1|0;if(e>>>0>1]){continue}break}}if(b){n[q[c+8>>2]](c,b)}p[a+638>>1]=0;q[a+644>>2]=0;break a}b=q[a+640>>2];if(b){n[q[c+8>>2]](c,b)}p[a+636>>1]=0;q[a+640>>2]=0}o[a+632|0]=0}function Om(a,b,c){var d=0,e=0;a:{if((r[a+1|0]|r[a|0]<<8)==10){b:{c=r[a+5|0]|r[a+4|0]<<8;if(c>>>0<=b>>>0){b=b-c|0;if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0){break b}}a=q[67828];return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=r[a+3|0]|r[a+2|0]<<8;if(!d){return 0}c=0;e=a;a=w(b,d);a=(a|0)<0?271312:(e+a|0)+8|0;b=0;while(1){b=r[a|0]|b<<8;a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}a=ww(a,b,c);a=a?a:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}return b}function Lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=q[a+20>>2];if(d){e=q[a+28>>2];if(b){c=n[q[e+4>>2]](e,b)|0;if(!c){break a}d=q[a+20>>2]}q[a>>2]=c;f=n[d](a,q[a+8>>2],c,b)|0;g=a;d=q[a>>2];c=d;b:{if(f>>>0>=b>>>0){break b}h=85;c=0;if(!d){break b}n[q[e+8>>2]](e,d);q[a>>2]=0;c=0}d=c;q[g+32>>2]=d;q[a+36>>2]=b+d;q[a+8>>2]=f+q[a+8>>2];return h}c=85;e=q[a+8>>2];d=q[a+4>>2];c:{if(e>>>0>=d>>>0){break c}f=b+e|0;if(f>>>0>d>>>0){break c}q[a+8>>2]=f;c=e+q[a>>2]|0;q[a+32>>2]=c;q[a+36>>2]=b+c;c=0}return c}q[a>>2]=0;return 64}function xx(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ym(a,b)){break a}b=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break a}b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break a}a=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);d=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return d}function tH(a,b,c){var d=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c+ -1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!r[b|0]){break a}if(c>>>0<4){break c}while(1){d=q[b>>2];if((d^-1)&d+ -16843009&-2139062144){break c}q[a>>2]=d;a=a+4|0;b=b+4|0;c=c+ -4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c+ -1|0;if(c){continue}break}}c=0}Na(a,0,c)}function kr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}f=1;a:{if(q[a>>2]<1){break a}while(1){c=(q[a+8>>2]+a|0)+(g<<3)|0;d=q[c>>2];b:{if((d|0)==42){break b}f=0;d=Af(b,d);if(!d){break a}h=c;c=q[c+4>>2];e=c&1?h+(c&-2)|0:c;if(!e){break b}c=q[d+4>>2];d=c&1?d+(c&-2)|0:c;if(!d){break a}while(1){i=e+8|0;c=d;while(1){if(!kk(c+8|0,65561,i)){h=c;c=q[c>>2];c=c&1?h+(c&-2)|0:c;if(c){continue}break a}break}c=q[e>>2];e=c&1?(c&-2)+e|0:c;if(e){continue}break}}f=1;g=g+1|0;if((g|0)>2]){continue}break}}return f}function fI(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;a=Se(a);a:{if(!a){break a}c=Ic(q[a+8>>2]);cc(a);if(!c){break a}b:{a=Qb(c);if(a){while(1){e=Wa(a);if(!Ra(b,a,e)){e=r[b+e|0];if(!e|(e|0)==47){break b}}a=Qb(c);if(a){continue}break}}Zb(c);break a}Zb(c);c=Wa(a)+a|0;c=r[c+1|0]?c+1|0:0;if(!c){break a}a=Wa(a)+b|0;while(1){b=a;a=a+1|0;if(r[b|0]==47){continue}break}q[d+4>>2]=0;q[d>>2]=b;b=_b(c,d);if(!b){break a}a=Wa(b);while(1){f=a;if(a){a=f+ -1|0;if(r[b+a|0]==47){continue}}break}o[b+f|0]=0;f=b}Da=d+16|0;return f}function eS(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+88>>2];b=q[a+72>>2];e=q[(d+w(b,20)|0)+8>>2];f=b+1|0;a:{b:{if(f>>>0>2]){if(q[(d+w(f,20)|0)+8>>2]==(e|0)){break a}c=q[a+80>>2];if(c){break b}kc(a,b,b+2|0);q[a+72>>2]=q[a+72>>2]+1;return}c=q[a+80>>2];if(!c){break a}}g=q[a+92>>2];h=q[(g+w(c,20)|0)+ -12>>2];if(e>>>0>=h>>>0){break a}d=q[(d+w(b,20)|0)+4>>2]&1;while(1){c=c+ -1|0;b=w(c,20)+g|0;if(q[b+8>>2]!=(h|0)){break a}i=q[b+4>>2];q[b+4>>2]=d?i|1:i&-2;q[b+8>>2]=e;if(c){continue}break}}q[a+72>>2]=f}function Uf(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(32<=(c&63)>>>0){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(32<=(j&63)>>>0){h=i<>>32-g|h<>>0){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(32<=(f&63)>>>0){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function BR(a,b){var c=0,d=0,e=0,f=0;c=Da+ -64|0;Da=c;d=q[b+40>>2];a:{b:{c:{e=q[b+36>>2];if((e|0)>=1){if((d|0)>0){break a}if((e|0)!=1280){break c}q[b+40>>2]=1024;q[c>>2]=1024;hb(a,2,2093,c);break a}if((d|0)>0){break b}hb(a,2,2037,0);q[b+36>>2]=384;q[b+40>>2]=288;break a}f=b;b=w(e,3);b=(b|0)<4?1:(b|0)/4|0;q[f+40>>2]=b;q[c+16>>2]=b;hb(a,2,2093,c+16|0);break a}if((d|0)==1024){q[b+36>>2]=1280;q[c+32>>2]=1280;hb(a,2,2127,c+32|0);break a}f=b;b=(d<<2)/3|0;q[f+36>>2]=b;q[c+48>>2]=b;hb(a,2,2127,c+48|0)}Da=c- -64|0}function mf(a,b,c,d){var e=0;a:{if(d&16){c=0;a=q[a+104>>2];e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<65538){break a}e=a;a=r[a+13|0]|r[a+12|0]<<8;a=a?e+a|0:271312;if((r[a|0]<<8|r[a+1|0])!=1){break a}e=a;c=d>>>16|0;a=(r[a+3|0]|r[a+2|0]<<8)>>>0>c>>>0?(a+(c<<2)|0)+4|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return(yb(a?e+a|0:271312,b)|0)!=-1}a=d&65280;if(!a){return 1}c=(a|0)==(c&65280)}return c}function Xu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Da-16|0;Da=d;c=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;e=c+2|0;c=r[c+3|0]|r[e|0]<<8?c+4|0:271312;c=r[c|0]<<8|r[c+1|0];f=c?c+a|0:271312;c=q[b+96>>2];if((yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){f=r[e+1|0];h=r[e|0];c=e+(f<<1|h<<9)|0;g=r[c+3|0];i=c+2|0;j=r[i|0];q[d+12>>2]=a;q[d+8>>2]=a;q[d+4>>2]=a;q[d>>2]=448;k=r[a+3|0]|r[a+2|0]<<8;l=a+4|0;a=(g<<1|j<<9)+i|0;g=Zu(b,k,l,h<<8|f,e+4|0,g|j<<8,c+4|0,r[a+2|0]<<8|r[a+3|0],a+4|0,d)}Da=d+16|0;return g}function OS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);h=0;b:{if(!e){break b}if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}j=MS(h+c|0,b,q[d>>2])}return j}function Kv(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=r[a+1|0]|r[a|0]<<8;if(g){h=a+2|0;while(1){d=r[h+1|0]|r[h|0]<<8;e=d?d+a|0:271312;j=r[e+2|0]<<8|r[e+3|0];f=r[e+1|0]|r[e|0]<<8;a:{if(!f){break a}i=f+ -1|0;if(!i){break a}k=q[c+4>>2];l=q[c>>2];m=q[b+8>>2];d=e+4|0;while(1){n[l](m,d,k);d=d+2|0;i=i+ -1|0;if(i){continue}break}}if(j){e=(e+(f?(f<<1)+ -2|0:0)|0)+4|0;d=0;while(1){f=e+(d<<2)|0;Ui(b,r[f+2|0]<<8|r[f+3|0]);d=d+1|0;if((j|0)!=(d|0)){continue}break}}h=h+2|0;g=g+ -1|0;if(g){continue}break}}}function Ho(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=q[a+736>>2];a:{if(!d){c=Nf(a,0);if(c){break a}d=q[a+736>>2]}c=6;if(s[a+14>>1]>>0){break a}b:{if(b){f=q[a+100>>2];g=q[d+12>>2];d=q[g+16>>2]+w(b,12)|0;c=n[q[q[a+540>>2]+144>>2]](a,s[d+ -8>>1],e+12|0)|0;if(c){break a}c=q[a+24>>2];if(c){n[q[f+8>>2]](f,c)}q[a+24>>2]=q[e+12>>2];c=wj(a,q[g>>2],q[d+ -12>>2]);d=c+1|0;if(d>>>0>1){break a}if(d-1){c=0;break a}c=0;break b}c=wj(a,0,0)}p[a+6>>1]=b;q[a+8>>2]=q[a+8>>2]&-32769}Da=e+16|0;return c|0}function yy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;q[c>>2]=-1;q[d>>2]=-1;e=s[a+340>>1];if(e){g=e>>>0>1?e:1;h=q[a+356>>2];a=0;while(1){e=w(a,20)+h|0;a:{if(s[e+6>>1]!=(b|0)|!s[e+8>>1]){break a}f=s[e>>1]+ -1|0;if(f>>>0>2){break a}b:{switch(f-1|0){case 1:if(s[e+2>>1]>1|(q[c>>2]!=-1?s[e+4>>1]!=1033:0)){break a}q[c>>2]=a;break a;case 0:break a;default:break b}}if(s[e+2>>1]|(q[d>>2]!=-1?s[e+4>>1]:0)){break a}q[d>>2]=a}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return(q[c>>2]<=-1?q[d>>2]>-1:1)|0}function E$(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=r[a+1|0]|r[a|0]<<8;if(!h){return 1}a:{while(1){d=(f<<2)+a|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:271312;if((r[d|0]<<8|r[d+1|0])!=1){return 0}g=0;e=r[d+3|0]|r[d+2|0]<<8;if(e>>>0>>0){g=q[(e<<2)+b>>2]}e=r[d+4|0]|r[d+5|0]<<8;if((g|0)<(e<<24|e<<8&16711680)>>16){break a}d=r[d+6|0]|r[d+7|0]<<8;if((g|0)>(d<<24|d<<8&16711680)>>16){break a}f=f+1|0;if((h|0)!=(f|0)){continue}break}return 1}return 0}function dS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{if(!b){break a}f=Sa(c+1|0);if(!f){break a}h=Qa(f,b,c)+c|0,i=0,o[h|0]=i;b=ab(1,96);b:{if(!b){break b}q[b+60>>2]=1;q[b+84>>2]=a;c=ab(1,32);q[b+88>>2]=c;if(!c){La(b);break b}q[c+28>>2]=1;d=b}lt(d,f);c=q[d+8>>2];if((c|0)>=1){g=q[d+20>>2];b=0;while(1){q[(w(b,56)+g|0)+16>>2]=b;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!q[d+32>>2]){hf(d);La(f);d=0;break a}Ul(d);La(f);b=q[d>>2];q[e+4>>2]=q[d+8>>2];q[e>>2]=b;hb(a,4,1935,e)}Da=e+16|0;return d}function dM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+8>>2];f=xM(b,(Wa(c)+(q[a>>2]<<3)|0)+49|0);b=q[a>>2];e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;q[f+8>>2]=16;h=f+16|0;e=h+(b<<3)|0;i=e+32|0;if(q[a>>2]){j=a+d|0;b=0;while(1){d=b<<3;g=d+h|0;d=d+j|0;q[g>>2]=q[d>>2];a:{if(q[d>>2]!=21){k=d;d=q[d+4>>2];q[g+4>>2]=d&1?k+(d&-2)|0:d;break a}q[g+4>>2]=e}b=b+1|0;if(b>>>0>2]){continue}break}}q[e+24>>2]=0;q[e+8>>2]=3;q[e>>2]=0;q[e+16>>2]=i;tc(i,c);return f}function bn(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -108|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Yw(b+8|0,Jb(c,1801810552));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function an(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -116|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=vw(b+8|0,Jb(c,1953653099));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function _i(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -104|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=sx(b+8|0,Jb(c,1836020340));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Lx(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -112|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Qw(b+8|0,Jb(c,1634626418));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Am(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((c|0)==-1){break a}c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;e=r[c+1|0];c=r[c|0];d=q[57265];q[f+8>>2]=q[57264];q[f+12>>2]=d;d=a;a=e|c<<8;c=a?d+a|0:271312;e=r[c|0]<<8|r[c+1|0];if(!e){break a}a=c+2|0;while(1){d=r[a+1|0]|r[a|0]<<8;if(_u(d?c+d|0:271312,b,f+8|0)){g=1;break a}a=a+2|0;e=e+ -1|0;if(e){continue}break}}Da=f+16|0;return g}function $i(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -100|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Dx(b+8|0,Jb(c,1836020344));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function yU(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -64|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=qU(b+8|0,Jb(c,1719034226));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function xU(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -68|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=pU(b+8|0,Jb(c,1635148146));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function wW(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -60|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=fW(b+8|0,Jb(c,1448038983));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function lh(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -80|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=k_(b+8|0,Jb(c,1801810542));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function av(a,b){var c=0,d=0,e=0,f=0,g=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);d=0;a:{if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=a?d+a|0:271312;c=r[a|0];f=r[a+1|0];g=f|c<<8;d=0;if(!g){break a}while(1){c=(c<<8|f)>>>0>e>>>0?(a+(e<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];if(!iZ(c?c+a|0:271312,b)){e=e+1|0;if((g|0)==(e|0)){return 0}else{f=r[a+1|0];c=r[a|0];continue}}break}d=1}return d}function Ke(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -20|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=NX(b+8|0,Jb(c,1330851634));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Je(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -76|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=MX(b+8|0,Jb(c,1297498450));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function If(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -12|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=ru(b+8|0,Jb(c,1751672161));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Hf(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -40|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=ru(b+8|0,Jb(c,1986553185));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function le(a,b){var c=0,d=0,e=0;c=q[a+20>>2];if(!(r[a+13|0]?c:0)){return Ma(b,q[a+16>>2])}d=q[a+24>>2];c=c+ -1|0;e=d>>>0>c>>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(q[(w(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=q[(w(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c+ -1|0;if(c){continue}break}}c=0;q[a+24>>2]=0;d=q[a+36>>2];if((d|0)<=(b|0)){break b}return Ma(b-d|0,q[a+16>>2])+q[a+40>>2]|0}q[a+24>>2]=c}a=w(c,20)+a|0;return Ma(b-d|0,q[a+44>>2])+q[a+40>>2]|0}function ht(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -4|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=tS(b+8|0,Jb(c,1751474532));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function vj(a,b){var c=0,d=0,e=0,f=0;c=q[b+4>>2];if(c){if(q[b>>2]){while(1){d=a;f=e<<4;c=q[(f+c|0)+8>>2];if(c){n[q[d+8>>2]](d,c)}d=q[b+4>>2]+f|0;q[d+8>>2]=0;d=q[d+12>>2];if(d){n[q[a+8>>2]](a,d)}c=q[b+4>>2];q[(f+c|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){n[q[a+8>>2]](a,c)}q[b+4>>2]=0}c=q[b+16>>2];if(c){if(q[b+12>>2]){e=0;while(1){d=e<<2;c=q[d+c>>2];if(c){n[q[a+8>>2]](a,c)}c=q[b+16>>2];q[d+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){n[q[a+8>>2]](a,c)}q[b+16>>2]=0}}function DM(a,b,c){var d=0;a=a+ -22|0;a:{if(a>>>0>8){break a}b:{switch(a-1|0){default:if(v[b>>3]!=v[c>>3]){break a}return v[b+8>>3]==v[c+8>>3];case 1:case 2:if(!(v[b>>3]>=v[c>>3])){break a}return v[b+8>>3]<=v[c+8>>3];case 0:d=1;if(v[b>>3]!=v[c>>3]){break a}return v[b+8>>3]!=v[c+8>>3];case 3:d=1;if(!(v[b>>3]>=v[c>>3])){break a}return v[b+8>>3]<=v[c+8>>3]^1;case 4:return v[b+8>>3]>3];case 5:return v[b+8>>3]<=v[c>>3];case 6:return v[b>>3]>v[c+8>>3];case 7:break b}}d=v[b>>3]>=v[c+8>>3]}return d}function Ax(a,b){var c=0,d=0,e=0;e=1;c=r[a+7|0];a:{if(c>>>0>5){break a}b:{switch(c-1|0){default:return zx(a+12|0,b);case 0:return yx(a+12|0,b);case 1:return xx(a+12|0,b);case 3:return Zi(a+12|0,b);case 2:break a;case 4:break b}}e=0;c=a+12|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Zm(c,b,0)){break a}a=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);e=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return e}function Up(a){var b=0,c=0,d=0;d=Da-16|0;Da=d;b=q[a>>2];a:{if(!b){_a(a,2,502501,0);break a}b:{if(!q[b+4>>2]){break b}b=q[b+8>>2];if(!b){break b}c=q[b>>2];if(!c){break b}while(1){if(r[c|0]){q[d>>2]=c;_a(a,2,502521,d)}c=q[b+8>>2];b=b+8|0;if(c){continue}break}}while(1){b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){nd(a);continue}break}b=q[a>>2];q[a>>2]=q[b>>2];uc(b+12|0);c=q[b+8>>2];if(!(!c|(c|0)==(b+96|0))){La(c)}c=q[a+28>>2]+ -1|0;if((b|0)==((w(c,160)+a|0)+32|0)){q[a+28>>2]=c;break a}La(b)}Da=d+16|0}function NY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g){i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;f=r[a+1|0]|r[a|0]<<8;if(!f){break a}h=0;e=0;while(1){d=(e<<2)+a|0;g=q[c>>2];if(!Ri(d+2|0,b,g)){break a}if(!Ri(d+4|0,b,g)){break a}e=e+1|0;if((f|0)!=(e|0)){continue}break}}h=1}return h}function Fc(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(32<=(e&63)>>>0){e=d<>>32-b|c<>>0){h=g<>>32-d|e<>>0){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(32<=(i&63)>>>0){h=f<>>32-b|c<>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function cw(a,b,c,d,e,f,g){var h=0;a:{if((b|0)!=1196445523){h=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2]}a=bw(h,c,d);b:{if(!f){break b}b=0;h=f;c=q[f>>2];d=r[a+3|0]|r[a+2|0]<<8;f=d-e|0;d=f>>>0>d>>>0?0:f;c=d>>>0>c>>>0?c:d;q[h>>2]=c;if(!c){break b}a=(a+(e<<1)|0)+4|0;while(1){d=a+(b<<1)|0;q[(b<<2)+g>>2]=r[d|0]<<8|r[d+1|0];b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Qm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=0;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}i=Tw(g+c|0,b)}return i}function Le(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=0;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}i=Zi(g+c|0,b)}return i}function LL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=q[a>>2];c=q[b>>2];if((e|0)!=(c|0)){return e-c|0}a:{c=q[a+4>>2];d=q[b+4>>2];if((c|0)!=(d|0)){break a}c=q[a+8>>2];d=q[b+8>>2];if((c|0)!=(d|0)){break a}b:{c=q[a+12>>2];d=q[b+12>>2];if((c|0)!=(d|0)){a=e+ -1|0;if(a>>>0>2){break a}c:{switch(a-1|0){case 0:break a;case 1:break b;default:break c}}if(!c){return-1}if(d){break a}return 1}return q[a+16>>2]-q[b+16>>2]|0}a=-1;d:{if((c|0)==1033){break d}a=1;if((d|0)==1033){break d}break a}return a|0}return c-d|0}function sv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(TZ(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function jr(a,b){var c=0,d=0;a:{c=a+ -1|0;if(c>>>0<=50){c=(c<<3)+439584|0;break a}c=or(a);if(c){break a}return 1}a=1;b:{c:{d:{c=q[c+4>>2];d=c+1|0;if(d>>>0>10){break d}e:{switch(d-1|0){case 1:case 2:if(b+ -1>>>0>=2){break c}break b;case 8:b=b+ -3|0;if(b>>>0>5){break c}switch(b-1|0){case 0:case 1:case 2:case 3:break c;default:break b};case 0:case 3:case 4:case 5:case 6:case 7:break d;case 9:break e;default:break b}}if(!(1<>>0>9){break c}break b}if((b|0)==(c|0)){break b}}a=0}return a}function Za(a,b){var c=0,d=0,e=0,f=0,g=0;d=(a|0)<0?-1:1;g=(b|0)<0?0-d|0:d;d=2147483647;c=b;b=b>>31;b=c+b^b;a:{if(!b){break a}c=a;a=a>>31;a=c+a^a;if(a>>>0<=(b>>>17^65535)>>>0){d=((a<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break a}e=a>>>16|0;c=b>>>1|0;a=c+(a<<16)|0;c=e+(a>>>0>>0)|0;if(c>>>0>=b>>>0){break a}e=z(c);f=32-e|0;c=a>>>f|c<>>0)/(b>>>0)|0;c=c-w(b,d)|0;a=a<>>31;c=e-(e>>>0>>0?0:b)|0;d=d<<1|e>>>0>=b>>>0;a=a<<1;f=f+ -1|0;if(f){continue}break}}return(g|0)<0?0-d|0:d}function UZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(tv(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function SY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(Uu(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function Ru(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(EY(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function QZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(rv(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function JY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(IY(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function be(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{d:{if(!c|!(a&3)){break d}e=b&255;while(1){if((e|0)==r[a|0]){break c}a=a+1|0;c=c+ -1|0;d=(c|0)!=0;if(!c){break d}if(a&3){continue}break}}if(!d){break b}}if(r[a|0]==(b&255)){break a}e:{if(c>>>0>=4){d=w(b&255,16843009);while(1){e=d^q[a>>2];if((e^-1)&e+ -16843009&-2139062144){break e}a=a+4|0;c=c+ -4|0;if(c>>>0>3){continue}break}}if(!c){break b}}b=b&255;while(1){if((b|0)==r[a|0]){break a}a=a+1|0;c=c+ -1|0;if(c){continue}break}}return 0}return a}function Qi(a,b,c,d,e){var f=0,g=x(0);q[e>>2]=0;q[d>>2]=0;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;if(f>>>0<=2){a:{switch(f-1|0){default:f=q[b+88>>2];b=r[a+2|0]|r[a+3|0]<<8;g=x(x(q[f+20>>2])*x((b<<24|b<<8&16711680)>>16));b=q[f+16>>2];c=q[b+28>>2];if(!c){c=xb(b);b=q[f+16>>2]}u[d>>2]=g/x(c>>>0);a=r[a+4|0]|r[a+5|0]<<8;g=x(x(q[f+24>>2])*x((a<<24|a<<8&16711680)>>16));a=q[b+28>>2];if(!a){a=xb(b)}u[e>>2]=g/x(a>>>0);return;case 0:mY(a,b,c,d,e);return;case 1:break a}}lY(a,b,d,e)}}function gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;a:{f=q[a+12>>2]+a|0;if(!f){break a}i=b>>>8|0;g=q[a+4>>2];c=g+ -1|0;b:{if((g|0)>=1){j=i&65535;while(1){d=c+h|0;e=d>>1;d=s[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0>>0;h=d?e+1|0:h;c=d?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(g|0)|s[(c<<1)+f>>1]>=(i&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)<0){break a}a=q[a+8>>2]+a|0;return q[a+(e<<2)>>2]+a|0}c=ab(1,32);c:{if(c){if($q(a,b,c,e^-1)){break c}La(c)}c=0}return c}function IW(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;a=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}h=ab(1,48);if(h){Vl(h,a)}i=q[b+8>>2];a=h?h:271312;q[b+8>>2]=i?i:a;if(!i){break a}if(!(!h|!a)){h=q[a+44>>2];Pa(h?h:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}h=q[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=q[a+12>>2];while(1){if(!n[h](a,q[d>>2],f)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}f=q[a+12>>2]+a|0;if(!f){break a}i=b>>>8|0;g=q[a+4>>2];c=g+ -1|0;b:{if((g|0)>=1){j=i&65535;while(1){d=c+h|0;e=d>>1;d=s[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0>>0;h=d?e+1|0:h;c=d?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(g|0)|s[(c<<1)+f>>1]>=(i&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}c=0;if((e|0)<0){break a}a=q[a+8>>2]+a|0;a=q[a+(e<<2)>>2]+a|0;if(!a){break a}c=q[a+(b>>>3&28)>>2]>>>(b&31)&1}return c}function WB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;q[d+12>>2]=0;a:{if(q[c+76>>2]){break a}b:{e=a+1|0;if(e>>>0>b>>>0){break b}a=r[a|0];h=a&15;f=h+(a>>>4|0)|0;if((f<<1)+e>>>0>b>>>0){break b}a=Oa(q[c>>2],4,0,f,0,d+12|0);g=q[d+12>>2];if(g){break a}q[c+76>>2]=a;q[c- -64>>2]=(h<<2)+a;g=0;if(!f){break a}while(1){b=r[e|0]|r[e+1|0]<<8;q[a>>2]=(b<<24|b<<8&16711680)>>16;a=a+4|0;e=e+2|0;f=f+ -1|0;if(f){continue}break}g=q[d+12>>2];break a}g=8;q[d+12>>2]=8}Da=d+16|0;return g|0}function lv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0];e=r[a+2|0];d=c|e<<8;f=d>>>4|0;h=r[a+1|0];a=r[a|0];i=h|a<<8;g=i>>>4|0;a:{if(f-g>>>0>=31){q[b>>2]=-1;break a}f=1<<(f&31);g=1<<(g&31);q[b>>2]=q[b>>2]|((f<<1)-g|0)-(f>>>0>>0)}b:{if(d-i>>>0>=31){q[b+4>>2]=-1;break b}c=1<<(c&31);d=1<<(h&31);q[b+4>>2]=q[b+4>>2]|((c<<1)-d|0)-(c>>>0>>0)}e=e>>>1|0;a=a>>>1|0;if(e-a>>>0>=31){q[b+8>>2]=-1;return 1}c=b;d=q[b+8>>2];b=1<<(e&31);a=1<<(a&31);q[c+8>>2]=d|((b<<1)-a|0)-(b>>>0>>0);return 1}function EJ(a,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:{f=b+ -11|0;if(f>>>0>18){break c}d:{switch(f-1|0){default:return 55;case 1:return 56;case 4:if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496672)){break b}q[a>>2]=910;return 3;case 2:case 3:break a;case 0:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break c;case 17:break d}}q[a>>2]=911;return 2}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function qb(a,b,c){var d=0,e=0,f=0,g=0;d=q[a>>2];e=q[a+4>>2];a:{if(d>>>0>=e>>>0){q[160942]=0;e=e<<1;f=a,g=qc(q[a+16>>2],e,8),q[f+16>>2]=g;d=0;if(q[160942]){break a}q[a+4>>2]=e;d=q[a>>2]}e=q[b+4>>2];d=q[a+16>>2]+(d<<3)|0;q[d>>2]=q[b>>2];q[d+4>>2]=e;q[a>>2]=q[a>>2]+1;d=1;if(!c){break a}b=q[a+8>>2];d=q[a+12>>2];if(b>>>0>=d>>>0){q[160942]=0;b=d<<1;f=a,g=qc(q[a+20>>2],b,1),q[f+20>>2]=g;d=0;if(q[160942]){break a}q[a+12>>2]=b;b=q[a+8>>2]}o[q[a+20>>2]+b|0]=c;q[a+8>>2]=q[a+8>>2]+1;d=1}return d}function oL(a,b){var c=0,d=0,e=0;c=Da-48|0;Da=c;if(a){e=q[126998];while(1){pc(c+16|0,a+8|0);d=q[c+28>>2];q[c+40>>2]=q[c+24>>2];q[c+44>>2]=d;d=q[c+20>>2];q[c+32>>2]=q[c+16>>2];q[c+36>>2]=d;a:{if((a|0)==(b|0)){Ua(489263,0);break a}Gb(32)}d=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=d;d=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=d;Fk(e,c);d=q[a+24>>2];if(d>>>0<=2){d=q[(d<<2)+490036>>2]}else{d=489989}Ua(d,0);d=a;a=q[a>>2];a=a&1?d+(a&-2)|0:a;if(a){continue}break}}if(!b){Ua(489274,0)}Da=c+48|0}function Vh(a,b){var c=0,d=0,e=0;c=Da-4304|0;Da=c;a:{if(!a){q[160942]=28;break a}a=T(a|0,2656256,0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}if((a|0)<0){break a}Ip(c+4096|0,a);b:{d=ek(c+4096|0,c,4095);c:{if((d|0)<0){break c}o[c+d|0]=0;hk(a,c+4216|0);d=gk(c,c+4128|0);if((d|0)<0){break c}if(q[c+4296>>2]==q[c+4208>>2]&q[c+4300>>2]==q[c+4212>>2]?q[c+4216>>2]==q[c+4128>>2]:0){break b}if(d){break c}q[160942]=32}O(a|0)|0;break a}O(a|0)|0;if(b){e=tc(b,c);break a}e=eb(c)}Da=c+4304|0;return e}function WC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a+712>>2];a:{if(r[c+24|0]==2){c=ld(bc(q[q[a+96>>2]+4>>2],9848),10048,0);if(!c){break a}c=q[c+4>>2];if(!c){break a}return n[c](a,b)|0}e=ld(q[a+96>>2],10164,1);if(!e|!q[c+20>>2]){break a}while(1){a=s[q[c+1188>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a+ -391|0;if(t[c+1356>>2]<=a>>>0){break b}a=q[q[c+1360>>2]+(a<<2)>>2];break c}a=n[q[e+20>>2]](a)|0}if(!a){break b}if(!Ta(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function Vm(a,b){var c=0,d=0,e=0;d=q[b+44>>2];c=q[d+12>>2];q[b+20>>2]=c;e=q[d+16>>2];d=c+e|0;q[b+24>>2]=d;if((e|0)>-1){a:{b:{if(!a){break b}if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break b}q[b+20>>2]=a;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d-a|0;q[b+24>>2]=(d>>>0>c>>>0?c:d)+a}nx(a,b);a=q[b+44>>2];c=q[a+12>>2];q[b+20>>2]=c;a=q[a+16>>2];q[b+24>>2]=a+c;if((a|0)<=-1){break a}return}}I(228416,228441,195,228458);F()}function yx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-16|0;Da=c;q[c+12>>2]=0;if(Zm(a,b,c+12|0)){q[c+8>>2]=0;h=q[c+12>>2];if(h){d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);i=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;d=0;while(1){f=(d<<3)+i|0;g=r[f+4|0]<<8|r[f+5|0];if((g|0)!=65535){e=e>>>0>g>>>0?e:g+1|0;q[c+8>>2]=e}f=r[f+7|0]|r[f+6|0]<<8;if((f|0)!=65535){e=e>>>0>f>>>0?e:f+1|0;q[c+8>>2]=e}d=d+1|0;if((h|0)!=(d|0)){continue}break}}e=tx(a+16|0,b,a,c+8|0)}Da=c+16|0;return e}function u_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(q_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function lf(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(s_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function __(a){var b=0,c=0,d=0,e=0;d=q[a+12>>2];c=q[a>>2];b=q[a+4>>2];e=(r[c+3|0]|r[c+2|0]<<8)>>>0>b>>>0?(c+w(b,6)|0)+4|0:271704;if(d>>>0>=(r[e+2|0]<<8|r[e+3|0])>>>0){b=b+1|0;q[a+4>>2]=b;a:{if(b>>>0>=(r[c+3|0]|r[c+2|0]<<8)>>>0){break a}d=(c+2|0)+w(b,6)|0;e=d+2|0;q[a+12>>2]=r[e|0]<<8|r[d+3|0];d=q[a+8>>2];b=(r[c+3|0]|r[c+2|0]<<8)>>>0>b>>>0?e:271704;b=r[b+4|0]<<8|r[b+5|0];q[a+8>>2]=b;if((b|0)==(d+1|0)){break a}q[a+4>>2]=r[c+3|0]|r[c+2|0]<<8}return}q[a+12>>2]=d+1;q[a+8>>2]=q[a+8>>2]+1}function ZZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(RZ(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function UY(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(TY(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Tb(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(Dv(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Ri(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(HY(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Lf(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(n_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function DZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(CZ(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function dr(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!q[160933]){while(1){c=Sa(28);d=q[160933];q[160933]=d?d:c;if(!d){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}c=643664;e=q[160932];if((e|0)>=1){while(1){d=e;e=d+ -1|0;f=e<<2;b=q[f+c>>2];if(!(!b|q[b>>2]+q[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=q[(b+f|0)+40>>2];if(q[b>>2]+q[b+8>>2]>>>0<=a>>>0?b:0){continue}break}c=c+40|0}if((d|0)>1){continue}break}}b=q[c>>2];if(q[b>>2]+q[b+8>>2]>>>0>a>>>0?b:0){break c}b=0}return b}function zL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}if((a|0)==500628){return a}e=r[500628];if(!e){break a}b:while(1){i=a;a=a+1|0;b=r[i|0];if((b|0)!=(e|0)?b:0){continue}if((b|0)!=(e|0)){break a}c=r[500629];f=!c;b=r[a|0];j=!b;c:{if(!(!b|(b|0)==(c|0))){d=500629;b=a;if(c){continue}break c}d=500629;b=a}while(1){if(!(f|j)){g=r[d+1|0];f=!g;b=b+1|0;h=r[b|0];j=!h;c=d+1|0;d=c;if((g|0)==(h|0)){continue}d=c;if(!h|!g){continue}continue b}break}break}k=f?i:0}return k}function Nz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>t[b+160>>2]){kb(b,8)}c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d+ -20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(!(!q[b+164>>2]|!c)){while(1){if((r[e+1|0]|r[e|0]<<8)>>>0>=t[b+172>>2]){kb(b,16)}e=e+2|0;c=c+ -1|0;if(c){continue}break}}return 0}function nh(a,b){var c=0,d=0,e=0,f=0,g=0;d=r[a+3|0]|r[a+2|0]<<8;a:{if(!d){f=r[a+1|0]|r[a|0]<<8;c=0;break a}f=r[a+1|0]|r[a|0]<<8;e=w(f,d+ -1|0)+a|0;c=0;if((r[e+10|0]<<8|r[e+11|0])!=65535){break a}c=(r[e+13|0]|r[e+12|0]<<8)==65535?-1:0}c=c+d|0;b:{if((c|0)>=1){g=a+10|0;c=c+ -1|0;e=q[b>>2];b=0;while(1){d=b+c>>>1|0;a=g+w(d,f)|0;c:{if((r[a+2|0]<<8|r[a+3|0])>>>0>e>>>0){c=d+ -1|0;break c}if((r[a+1|0]|r[a|0]<<8)>>>0>=e>>>0){break b}b=d+1|0}if((b|0)<=(c|0)){continue}break}}a=0}return a}function cr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-128|0;Da=d;a:{if(!c){a=de(a);c=q[b+12>>2]+b|0;b:{if(a){q[d+36>>2]=0;q[d+32>>2]=c;a=_b(a,d+32|0);break b}a=eb(c)}e=cl(a,d+40|0);La(a);c=d+40|0;a=0;if((e|0)<0){break a}}a=q[c+68>>2];f=a;g=a>>31;e=q[b+32>>2];h=q[b+36>>2];if(r[643740]&16){i=q[b+12>>2];j=q[b+28>>2];k=q[c+64>>2];q[d+16>>2]=a;q[d+12>>2]=k;q[d+8>>2]=e;q[d+4>>2]=j;q[d>>2]=b+i;Ua(442042,d)}a=(e|0)==(f|0)&(g|0)==(h|0)&q[b+28>>2]==q[c+64>>2]}Da=d+128|0;return a}function bz(a,b){a=a|0;b=b|0;var c=0,d=0;c=n[q[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=mb(b,162928,d);if(c){break a}p[a+290>>1]=0;p[a+282>>1]=0;p[a+284>>1]=0;p[a+286>>1]=0;p[a+288>>1]=0;p[a+274>>1]=0;p[a+276>>1]=0;p[a+278>>1]=0;p[a+280>>1]=0;p[a+266>>1]=0;p[a+268>>1]=0;p[a+270>>1]=0;p[a+272>>1]=0;b:{if(q[a+260>>2]<65536){break b}c=mb(b,162944,d);if(c){break a}if(s[a+280>>1]<=63){p[a+280>>1]=64}if(s[a+276>>1]<65532){break b}p[a+276>>1]=65531}c=0}return c|0}function pJ(a,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=b+ -15|0;if(g>>>0>12){break c}f=11;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=930;return 11}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=931;return 11;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 12}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function lJ(a,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=b+ -15|0;if(g>>>0>12){break c}f=11;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=938;return 11}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=939;return 11;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 12}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function ar(a){var b=0,c=0,d=0,e=0,f=0;b=Da+ -64|0;Da=b;a:{if(!a){break a}b:{if(!Re(a,2)){q[b+52>>2]=0;q[b+48>>2]=441849;e=_b(a,b+48|0);if(!e){break a}d=hr(e);if(d){if(Zk(d)){c=q[d+4>>2];q[b+32>>2]=420;c=af(c,66,b+32|0);c:{if((c|0)==-1){break c}c=bk(c,441862);if(!c){break c}Lc(441648,200,1,c);Pe(c);f=(gr(d)|0)!=0}Yk(d)}La(d)}La(e);if(!(r[643740]&16)){break a}if(!f){break b}q[b+16>>2]=a;Ua(441865,b+16|0);break a}if(!(r[643740]&16)){break a}}q[b>>2]=a;Ua(441893,b)}Da=b- -64|0}function DQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;q[a+32>>2]=c;e=a,f=Oa(c,4,0,b,0,d+12|0),q[e+24>>2]=f;a:{b:{if(q[d+12>>2]){break b}e=a,f=Oa(c,4,0,b,0,d+12|0),q[e+28>>2]=f;if(q[d+12>>2]){break b}q[a+20>>2]=0;q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=-559038737;q[a>>2]=0;q[a+4>>2]=0;b=q[72540];q[a+36>>2]=q[72539];q[a+40>>2]=b;b=q[72542];q[a+44>>2]=q[72541];q[a+48>>2]=b;a=0;break a}b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;a=q[d+12>>2]}Da=d+16|0;return a|0}function cV(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;b=0;h=q[a+72>>2];if(q[h+156>>2]!=q[160395]){a:{if(!c){break a}i=q[d>>2];q[f>>2]=0;if(!n[q[h+156>>2]](a,q[a+76>>2],i,f,q[h+20>>2])){break a}while(1){b=b+1|0;if((c|0)==(b|0)){return c|0}d=d+e|0;i=q[d>>2];h=q[a+72>>2];f=f+g|0;q[f>>2]=0;if(n[q[h+156>>2]](a,q[a+76>>2],i,f,q[h+20>>2])){continue}break}}return b|0}a=q[a+12>>2];b=q[a+72>>2];return n[q[b+160>>2]](a,q[a+76>>2],c,d,e,f,g,q[b+24>>2])|0}function $d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=q[a+40>>2];if(!d){break a}f=6;g=q[a+36>>2];if((g|0)<1){break a}g=(g<<2)+d|0;while(1){b:{if(q[d>>2]!=(b|0)){break b}c=q[b>>2];c:{if(!c){break c}c=q[c+96>>2];h=q[q[c>>2]+32>>2];if(!h){break c}c=n[h](c,4096)|0;if(!c){break c}if(n[q[c>>2]](b,e+8|0)){break c}if(q[e+12>>2]==14){break b}}q[a+92>>2]=q[d>>2];f=0;break a}d=d+4|0;if(d>>>0>>0){continue}break}}Da=e+16|0;return f}function PC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}d=r[a|0];if(d>>>0>3){break a}b:{switch(d-1|0){default:f=r[b+c|0];break a;case 0:case 1:break a;case 2:break b}}if(b-q[a+16>>2]>>>0>2]){f=r[a+24|0];break a}e=c+2|0;g=c+q[a+12>>2]|0;c=r[c+1|0]|r[c|0]<<8;while(1){if(c>>>0>b>>>0){break a}d=r[e+2|0]|r[e+1|0]<<8;if(d>>>0>b>>>0){f=r[e|0];o[a+24|0]=f;q[a+20>>2]=d-c;q[a+16>>2]=c;break a}c=d;e=e+3|0;if(e>>>0>>0){continue}break}}return f|0}function oJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 1:q[a>>2]=q[a+16>>2]?914:933;return 33;case 0: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=934;return 22}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function nJ(a,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=b+ -15|0;if(g>>>0>8){break c}f=39;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496818)){q[a+8>>2]=39;q[a>>2]=932;return 42}if(!n[q[e+24>>2]](e,c,d,496824)){break b}q[a+8>>2]=39;q[a>>2]=932;return 41;case 0:case 1:case 3:case 4:case 5:case 6:break c;case 7:break d;default:break a}}q[a+4>>2]=1;q[a>>2]=935;return 44}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function wO(a,b){a=a|0;b=b|0;return w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function aM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=qd(505298);c=q[a+8>>2]+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){b=e+d>>1;f=q[c+(b<<3)>>2]-h|0;if(!f){break a}g=(f|0)<0;e=g?b+1|0:e;d=g?d:b+ -1|0;if((e|0)<=(d|0)){continue}break}e=f>>>31|0}b=b+e^-1}if(!(!c|(b|0)<0)){_e(q[(c+(b<<3)|0)+4>>2]);c=c+(b<<3)|0;b=c+8|0;sb(c,b,((q[a+8>>2]+a|0)+((a?q[a>>2]:0)<<3)|0)-b|0);b=q[a>>2]+ -1|0;q[a>>2]=b;a=(q[a+8>>2]+a|0)+((a?b:0)<<3)|0;q[a>>2]=0;q[a+4>>2]=0}}function Er(a,b){var c=0,d=0,e=0;c=1;a:{if(t[a+4>>2]>=b>>>0){break a}q[160942]=0;d=a,e=qc(q[a+8>>2],b,4),q[d+8>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+12>>2],b,4),q[d+12>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+16>>2],b,4),q[d+16>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+20>>2],b,1),q[d+20>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+24>>2],b,4),q[d+24>>2]=e;c=0;if(q[160942]){break a}q[a+4>>2]=b;c=1}return c}function wN(){var a=0,b=0;a=ab(48,1);a:{if(a){q[a+28>>2]=64;b:{if(!Er(a,0)){break b}b=ab(16,5);q[a+36>>2]=b;if(!b){break b}q[a+32>>2]=5;q[b+76>>2]=-1;q[b+60>>2]=-1;q[b+64>>2]=1668049255;q[b+44>>2]=-1;q[b+48>>2]=1818847073;q[b+28>>2]=-1;q[b+32>>2]=1801810542;q[b+12>>2]=-1;q[b+16>>2]=1986752097;q[b>>2]=1986359924;b=pO();q[a+44>>2]=b;if(b){break a}}ng(q[a+44>>2]);La(q[a+36>>2]);La(q[a+8>>2]);La(q[a+12>>2]);La(q[a+16>>2]);La(q[a+20>>2]);La(q[a+24>>2]);La(a)}a=0}return a}function CE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+736>>2];a:{if(!e){d=Nf(a,0);if(d){break a}e=q[a+736>>2]}if(!q[e+4>>2]){d=Fh(a,0,0,1);if(d){break a}}g=q[e>>2];f=g>>>0>>0?g:b;b:{if(r[a+733|0]){if(!f){break b}e=q[e+8>>2];a=0;while(1){d=a<<2;q[d+c>>2]=q[e+d>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(!f){break b}a=0;Na(c,0,f<<2);while(1){a=a+1|0;if((f|0)!=(a|0)){continue}break}}d=0;if(g>>>0>=b>>>0){break a}Na((f<<2)+c|0,0,b-f<<2)}return d|0}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+736>>2];a:{if(!e){d=Nf(a,0);if(d){break a}e=q[a+736>>2]}if(!q[e+4>>2]){d=Fh(a,0,0,1);if(d){break a}}g=q[e>>2];f=g>>>0>>0?g:b;b:{if(r[a+733|0]){if(!f){break b}e=q[e+4>>2];a=0;while(1){d=a<<2;q[d+c>>2]=q[e+d>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(!f){break b}a=0;Na(c,0,f<<2);while(1){a=a+1|0;if((f|0)!=(a|0)){continue}break}}d=0;if(g>>>0>=b>>>0){break a}Na((f<<2)+c|0,0,b-f<<2)}return d|0}function RI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>21){break b}c=39;c:{switch(d-1|0){case 8:q[a+8>>2]=39;q[a>>2]=932;return 45;case 20:q[a+8>>2]=39;q[a>>2]=932;return 46;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break b;case 5:break c;default:break a}}q[a>>2]=955;return 39}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function PL(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=-1;b:{if(a>>>0>215){break b}b=+(a|0);a=1;while(1){c=a;a=a+1|0;f=q[(c<<3)+442500>>2];d=+(f|0);if(d>2];if(d==b){break b}g=f;f=q[a+442492>>2];g=g-f|0;if((g|0)<1){break a}a=q[a+442488>>2];c=q[c>>2]-a|0;if(d>=b^1|(c|0)<0){break a}d=+(f|0);if(!(d<=b)){break a}e=(b-d)*+(c|0)/+(g|0)+ +(a|0)}b=e+.5;if(y(b)<2147483648){return~~b}return-2147483648}I(442600,442640,48,442651);F()} -function vA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(!Hn(d)){return-26}e=q[d+548>>2];a:{while(1){if(e>>>0>1){continue}b:{if(e-1){g=q[d+64>>2];f=q[d+52>>2];e=q[d+184>>2];i=q[d+12>>2];h=32-i|0;j=q[d+20>>2]+(h>>>3|0)|0;e=(j|0)>(e|0)?e:j;g=(e+f|0)>(g|0)?g-f|0:e;e=f+q[d+96>>2]|0;c:{if(h>>>0<8){f=g;break c}f=g;if(!f){break c}while(1){o[e|0]=q[d+8>>2]>>>i;h=q[d+12>>2];i=h+8|0;q[d+12>>2]=i;e=e+1|0;f=f+ -1|0;if(!f){break c}if(24-h>>>0>7){continue}break}}Qa(e,q[d+16>>2],f);q[d+20>>2]=q[d+20>>2]-f;q[d+16>>2]=q[d+16>>2]+f;f=g+q[d+52>>2]|0;q[d+52>>2]=f;g=q[d+184>>2]-g|0;q[d+184>>2]=g;if((f|0)<1<>2]){break b}q[d+548>>2]=1}e=sh(d,a,b,c,0);if((e|0)!=1){break a}if(q[d+64>>2]==1<>2]){q[d+60>>2]=q[d+56>>2]}e=0;q[d+548>>2]=0;continue}break}e=g?2:1}return e}function lW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-48|0;Da=c;h=a,i=Mi(b),q[h+8>>2]=i;d=If(b+60|0);d=t[d+16>>2]<36?271312:q[d+12>>2];q[a+4>>2]=r[d+34|0]<<8|r[d+35|0];Mb(b);d=Jb(b,1752003704);e=ub(d);if(q[e+16>>2]>-1){f=q[e+12>>2];Pa(e);if(f){if(q[d+4>>2]){q[d+4>>2]=0}}q[a+12>>2]=d;e=q[a+4>>2];f=e<<2;g=d?d:271312;d=q[g+16>>2];if(f>>>0>d>>>0){e=d>>>2|0;q[a+4>>2]=e;f=d&-4}q[a>>2]=(d-f>>>1|0)+e;if(!e){q[a>>2]=0;q[a+4>>2]=0;Pa(g);q[a+12>>2]=0;q[a+12>>2]=271312}q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;h=a,i=tu(c+8|0,Jb(b,1213612370)),q[h+16>>2]=i;Da=c+48|0;return}I(242848,242873,195,242890);F()}function iW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-48|0;Da=c;h=a,i=Mi(b),q[h+8>>2]=i;d=Hf(b+88|0);d=t[d+16>>2]<36?271312:q[d+12>>2];q[a+4>>2]=r[d+34|0]<<8|r[d+35|0];Mb(b);d=Jb(b,1986884728);e=ub(d);if(q[e+16>>2]>-1){f=q[e+12>>2];Pa(e);if(f){if(q[d+4>>2]){q[d+4>>2]=0}}q[a+12>>2]=d;e=q[a+4>>2];f=e<<2;g=d?d:271312;d=q[g+16>>2];if(f>>>0>d>>>0){e=d>>>2|0;q[a+4>>2]=e;f=d&-4}q[a>>2]=(d-f>>>1|0)+e;if(!e){q[a>>2]=0;q[a+4>>2]=0;Pa(g);q[a+12>>2]=0;q[a+12>>2]=271312}q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;h=a,i=tu(c+8|0,Jb(b,1448493394)),q[h+16>>2]=i;Da=c+48|0;return}I(242848,242873,195,242890);F()}function GC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=3;d=q[a+32>>2];a:{if(!d){break a}b=q[d+364>>2];if(!b){break a}c=160;if(r[b+557|0]){break a}f=d;b:{c:{c=q[q[a+16>>2]>>2];d=r[c|0];if((d|0)!=255){if((d|0)!=30){break c}b=sc(a,c,0,0)>>16;break b}b=((r[c+3|0]|(r[c+2|0]<<8|r[c+1|0]<<16))<<8)+32768>>16;break b}e=c+1|0;b=d+ -28|0;if(b>>>0<=1){if(b-1){b=0;if(t[a+8>>2]<=c+2>>>0){break b}b=(r[c+2|0]|r[e|0]<<8)<<16>>16;break b}b=0;if(t[a+8>>2]<=c+4>>>0){break b}a=r[c+1|0]|r[c+2|0]<<8|(r[c+3|0]<<16|r[c+4|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b}b=d+ -139|0;if(d>>>0<=246){break b}a=q[a+8>>2];if(d>>>0<=250){b=0;if(a>>>0<=e>>>0){break b}b=(r[e|0]|d<<8)+ -63124|0;break b}b=0;if(a>>>0<=e>>>0){break b}b=64148-(r[e|0]|d<<8)|0}q[f+360>>2]=b;c=0}return c|0}function IY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}h=q[c+8>>2];d=r[a+1|0];f=r[a|0];i=d<<1|f<<9;if(4294967295/(h>>>0)>>>0<=i>>>0?h:0){break a}i=w(h,i);if(i){d=a+2|0;if(j>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}f=r[a|0];d=r[a+1|0]}g=f<<8|d;f=q[c>>2];if(!(!g|r[f+1|0]<16)){d=a+4|0;e=0;while(1){if(!ug(f,b,a,d)){break a}d=(h<<1)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}h=q[c+8>>2];f=q[c>>2]}k=1;if(!g|r[f+3|0]<16){break a}f=f+2|0;c=q[c+4>>2];d=(c|0)<0?271312:((c<<1)+a|0)+4|0;e=0;while(1){if(!ug(f,b,a,d)){return 0}d=(h<<1)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}return k}function PN(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,p=0,s=0,t=0,u=0;a:{if((b|0)<1){break a}s=255;while(1){m=d+h|0;f=r[m|0];g=f&24;b:{if((g|0)==16){break b}i=255;i=q[(h<<2)+a>>2]&1052672?i:r[c+h|0];t=f&4;c:{d:{e:{f:{g:{if(j){e=s&255;k=(e|0)==255|(e|0)==(i|0)|(i|0)==255;e=k?j:0;k=k^1;if(g){break e}g=i&1?1:2;n=g;if(!e){break g}if(f&g){break f}k=1;break d}j=0;if(g){break c}k=0;n=i&1?1:2}e=n;j=0;if(!t){break d}o[m|0]=f&(e^-1);break d}f=p+1|0;if((f|0)>=(h|0)){break d}j=g|l;while(1){g=d+f|0;o[g|0]=j|r[g|0];f=f+1|0;if((f|0)!=(h|0)){continue}break}}j=e}if(!u|!k){break c}e=d+p|0;o[e|0]=r[e|0]&(l^-1)}e=r[m|0];if(e&24){break b}l=i&1?2:1;j=(e&l)!=0;u=t;s=i;p=h}h=h+1|0;if((h|0)!=(b|0)){continue}break}if(!u|!j){break a}a=d+p|0;o[a|0]=r[a|0]&(l^-1)}}function Is(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=Za(65536e3,b<<16);if((g|0)>=655){m=q[a+52>>2];h=q[a+44>>2];f=q[a+40>>2];i=q[a+36>>2];j=q[a+32>>2];k=q[a+28>>2];n=q[a+24>>2];l=q[a+48>>2];a=l<<16;b=c<<16;e=(b|0)>262144?b:262144;c=z(e);if((d|0)<1){b=4915200}else{b=Ma(d<<16,g)}if((62-(c+z(b)|0)|0)<46){a=Ma(b,e)}c=n<<16;a:{if((a|0)<(c|0)){a=Za(k<<16,e);break a}b:{c:{d:{d=j<<16;e:{if((a|0)<(d|0)){a=Za(c,e);c=j-n|0;if(!c){break e}a=bb(b-a|0,i-k|0,c)+Za(k<<16,e)|0;break a}c=f<<16;if((a|0)>=(c|0)){break d}}a=Za(d,e);c=f-j|0;if(!c){c=f<<16;break c}a=bb(b-a|0,h-i|0,c)+Za(i<<16,e)|0;break a}if((a|0)>=l<<16){break b}}a=Za(c,e);c=l-f|0;if(!c){break b}a=bb(b-a|0,m-h|0,c)+Za(h<<16,e)|0;break a}a=Za(m<<16,e)}a=Za(a,g)+32768>>16}else{a=0}return a}function ff(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(q[a+188>>2]){break b}i=q[a+180>>2];if(q[a+184>>2]?0:!i){break b}f=q[a+156>>2];c:{g=q[a+192>>2]+(q[a+160>>2]-q[a+172>>2]<<2)|0;e=q[g>>2];d:{if(!e){break d}h=q[e>>2];if((h|0)>(f|0)){break d}while(1){d=e;if((f|0)==(h|0)){break c}e=q[d+12>>2];if(e){h=q[e>>2];if((h|0)<=(f|0)){continue}}break}g=d+12|0}d=q[a+204>>2];if((d|0)>=q[a+200>>2]){break a}q[a+204>>2]=d+1;d=q[a+196>>2]+(d<<4)|0;q[d+8>>2]=i;q[d>>2]=f;q[d+4>>2]=q[a+184>>2];q[d+12>>2]=q[g>>2];q[g>>2]=d;break b}q[d+8>>2]=q[d+8>>2]+i;q[d+4>>2]=q[d+4>>2]+q[a+184>>2]}q[a+180>>2]=0;q[a+184>>2]=0;q[a+160>>2]=c;d=q[a+164>>2];q[a+156>>2]=(d|0)>(b|0)?d+ -1|0:b;e=1;q[a+188>>2]=q[a+176>>2]<=(c|0)|q[a+172>>2]>(c|0)?e:q[a+168>>2]<=(b|0);return}P(a|0,1);F()}function Ex(a,b,c,d,e){var f=0,g=0,h=0,i=x(0),j=x(0),k=x(0);h=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);g=(h<<24|h<<8&16711680|(h>>>8&65280|h>>>24))+e|0;a=r[a+3|0]|r[a+2|0]<<8;h=a>>>0>b>>>0;f=h?g+(b<<2)|0:271312;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);j=x(x(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))*x(152587890625e-16));f=b+1|0;a=a>>>0>f>>>0;g=a?g+(f<<2)|0:271312;g=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);k=x(x(g<<24|g<<8&16711680|(g>>>8&65280|g>>>24))*x(152587890625e-16));i=x(0);a:{if(j==k){break a}i=x(x(c-j)/x(k-j))}c=i;d=(r[d+7|0]|r[d+6|0]<<8)+e|0;a=a?d+(f<<1)|0:271312;a=r[a|0]|r[a+1|0]<<8;i=x(c*x((a<<24|a<<8&16711680)>>16));a=h?d+(b<<1)|0:271312;a=r[a|0]|r[a+1|0]<<8;return x(i+x(x(x(1)-c)*x((a<<24|a<<8&16711680)>>16)))}function nW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Da-16|0;Da=h;f=q[a+4>>2];a:{b:{if((f|0)==65536){g=258;break b}if((f|0)!=131072){break a}f=q[a+8>>2];g=r[f|0]<<8|r[f+1|0];if(!g){break a}}if((c|0)<=-1){c=Wa(b)}if(!c){break a}f=q[a+28>>2];c:{if(f){break c}i=g<<1;while(1){e=0;f=Sa(i);if(!f){break a}while(1){p[(e<<1)+f>>1]=e;e=e+1|0;if((g|0)!=(e|0)){continue}break}du(f,g,a);e=q[a+28>>2];q[a+28>>2]=e?e:f;if(!e){break c}La(f);f=q[a+28>>2];if(!f){continue}break}}e=0;q[h+8>>2]=0;q[h+4>>2]=c;q[h>>2]=b;if((g|0)<1){break a}e=g+ -1|0;c=0;d:{while(1){g=c+e|0;b=g>>>1|0;g=gV(h,(g&-2)+f|0,a);e:{if((g|0)<=-1){e=b+ -1|0;break e}if(!g){break d}c=b+1|0}if((c|0)<=(e|0)){continue}break}e=0;break a}e=1;a=(b<<1)+f|0;if(!a){e=0;break a}q[d>>2]=s[a>>1]}Da=h+16|0;return e}function vI(a,b,c,d){a=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=Da-16|0;Da=f;i=q[a+296>>2];a:{if(!i){e=23;break a}g=q[i+12>>2];j=q[g+8>>2];h=q[g+4>>2];e=h+q[g+12>>2]|0;q[f+12>>2]=e;j=j+h|0;b:{if(r[g+33|0]){h=q[a+224>>2];h=n[q[h>>2]](h,e,j,f+12|0)|0;e=_f(a,q[a+224>>2],e,j,h,q[f+12>>2],f+12|0,0,1);break b}e=We(a,q[i+16>>2],q[a+224>>2],e,j,f+12|0,0)}if(e){break a}e=q[f+12>>2];if(!((e|0)==(j|0)|q[a+476>>2]!=3)){q[g+12>>2]=e-q[g+4>>2];e=0;break a}o[g+32|0]=0;q[a+296>>2]=q[i+8>>2];q[i+8>>2]=q[a+300>>2];q[a+300>>2]=i;if(r[g+33|0]){q[a+276>>2]=965;e=q[a+144>>2];e=n[q[e>>2]](e,b,c,f+12|0)|0;e=_f(a,q[a+144>>2],b,c,e,q[f+12>>2],d,!r[a+480|0],1);break a}q[a+276>>2]=966;e=We(a,q[a+472>>2]!=0,q[a+144>>2],b,c,d,!r[a+480|0])}Da=f+16|0;return e|0}function hM(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return 0}b=q[a+4>>2];d=q[a>>2];if(!d){a=b>>31;return a+b^a}a=d>>31;a=a+d^a;if(b){c=a;a=b>>31;e=c|a+b^a;a=z(e);a:{if(e>>>0<=1073741823){e=a+ -2|0;a=b<>b;b=d>>b}d=0-b|0;b:{if((a|0)>(b|0)){c=(a|0)>(d|0);b=c?d:0-a|0;d=c?a:d;break b}c=(a|0)<(d|0);d=c?0-a|0:b;b=c?b:a}a=1;c=1;while(1){f=a+b>>c;c:{if((b|0)>=1){b=b-(a+d>>c)|0;d=d+f|0;break c}b=(a+d>>c)+b|0;d=d-f|0}a=a<<1;c=c+1|0;if((c|0)!=23){continue}break}a=d>>31;b=a+d^a;c=b&65535;a=w(c,56281);f=b>>>16|0;b=a+w(f,23318)|0;g=b<<16;c=g+w(c,23318)|0;a=(((w(f,56281)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(c>>>0>>0)|0)+(c>>>0>3221225471)|0;a=(d|0)<0?0-a|0:a;if((e|0)>=1){return a+(1<>e}a=a<<0-e}return a}function l_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=a+4|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0<2){break a}c=d+ -2|0;q[b+12>>2]=c;if((d|0)<2){break a}i=r[a+5|0];j=r[a+4|0];e=i|j<<8;if(e){c=a+6|0;if(h>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break a}c=d+ -3|0;q[b+12>>2]=c;if((d|0)<3){break a}i=r[a+5|0];j=r[a+4|0];g=i|j<<8}e=r[a+3|0]|r[a+2|0]<<8;if(e>>>0>g>>>0){return 0}e=g+e|0;d=r[a+1|0]|r[a|0]<<8;if(!(!e|4294967295/(e>>>0)>>>0>d>>>0)){return 0}g=1;d=w(d,e);if(!d){break a}a=((i<<1|j<<9)+a|0)+6|0;if(h>>>0>a>>>0){return 0}if(f>>>0>>0){return 0}g=0;if(f-a>>>0>>0){break a}q[b+12>>2]=c+ -1;g=(c|0)>0}return g}function PS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];h=g+ -1|0;q[b+12>>2]=h;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}h=g+ -2|0;q[b+12>>2]=h;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}g=e;e=1;a=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=d+1|0;c:{if(a>>>0<=1){if(a-1){break c}break a}a=c+g|0;if(i>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0){break c}q[b+12>>2]=h+ -1;if((h|0)>0){break a}}e=0}return e}function PZ(a,b){var c=0,d=0,e=0,f=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;d=1;if((c|0)<1){break a}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;b:{if(c>>>0>1){break b}if(c-1){if(!Tb(a+2|0,b,a)){break a}a=a+4|0;if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=0;if(c-a>>>0<2){break b}a=q[b+12>>2];q[b+12>>2]=a+ -1;return(a|0)>0}if(!Tb(a+2|0,b,a)){break a}e=q[b+4>>2];c=a+4|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+5|0]|r[a+4|0]<<8;if(f){a=a+6|0;if(e>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=c+ -2;d=0;if((c|0)<2){break b}}d=1}return d}return 0}function tx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e){if(f>>>0>>0|j>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=q[d>>2];if(d>>>0>1073741822){return 0}if(d){c=c+i|0;if(j>>>0>c>>>0){return 0}if(f>>>0>>0){return 0}i=0;if(f-c>>>0>>0){break a}q[b+12>>2]=g+ -1;if((g|0)<=0){break a}a=0;while(1){if(!Le(c+(a<<2)|0,b,c)){break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}i=1}return i}function mY(a,b,c,d,e){var f=0,g=0,h=x(0),i=0,j=0,k=0,l=0;f=Da-16|0;Da=f;g=q[b+88>>2];j=q[g+52>>2];b=q[g+48>>2];q[f+4>>2]=0;q[f>>2]=0;k=d;a:{b:{i=0;c:{if(!(b|j)){break c}d=r[a+7|0];i=r[a+6|0];q[f+4>>2]=0;q[f>>2]=0;l=d|i<<8;d=q[g+72>>2];i=0;if(!n[q[d+204>>2]](g,q[g+76>>2],c,l,f+4|0,f,q[d+68>>2])){break c}Mf(g,c,f+12|0,f+8|0);c=q[f+4>>2]-q[f+12>>2]|0;q[f+4>>2]=c;q[f>>2]=q[f>>2]-q[f+8>>2];if(b){break b}i=1}d=i;b=r[a+2|0]|r[a+3|0]<<8;h=x(x(q[g+20>>2])*x((b<<24|b<<8&16711680)>>16));c=q[g+16>>2];b=q[c+28>>2];if(!b){b=xb(c)}h=x(h/x(b>>>0));break a}d=1;h=x(c|0)}u[k>>2]=h;if(!j|!d){a=r[a+4|0]|r[a+5|0]<<8;h=x(x(q[g+24>>2])*x((a<<24|a<<8&16711680)>>16));b=q[g+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}h=x(h/x(a>>>0))}else{h=x(q[f>>2])}u[e>>2]=h;Da=f+16|0}function Ev(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;b:{if(c>>>0>1){break b}if(c-1){c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)>=3){break b}break a}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+3|0]|r[a+2|0]<<8;if(!c){break b}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)<3){break a}}g=1}return g}function Cr(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,r=0,s=0,t=0;a:{if(b){d=q[b>>2];if(d){break a}}q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return}e=q[b+8>>2];f=Sa(d<<3);q[a+16>>2]=f;g=Sa(e);q[a+20>>2]=g;if(!(g?f:0)){La(f);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return}q[a+12>>2]=e;q[a+4>>2]=d;d=0;q[a+8>>2]=0;q[a>>2]=0;e=q[b>>2];if(e){k=q[b+16>>2];l=v[c+40>>3];m=v[c+32>>3];n=v[c+24>>3];o=v[c+16>>3];p=v[c+8>>3];r=v[c>>3];while(1){c=d<<3;h=c+f|0;c=c+k|0;i=+q[c>>2];j=+q[c+4>>2];s=h,t=gc(l+(n*i+m*j)),q[s+4>>2]=t;s=h,t=gc(o+(r*i+p*j)),q[s>>2]=t;d=d+1|0;if((e|0)!=(d|0)){continue}break}}c=q[b+20>>2];b=q[b+8>>2];Qa(g,c,b);q[a+8>>2]=b;q[a>>2]=e}function yj(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,r=0;a:{if(b>>>0>c>>>0){break a}f=q[a+12>>2];if(f>>>0<=d>>>0|f>>>0<=e>>>0){break a}l=q[a+4>>2];f=q[a+8>>2];i=q[f+(d<<3)>>2];j=q[f+(e<<3)>>2];g=(i|0)>(j|0);k=(g?d:e)<<3;h=q[l+k>>2];f=q[a>>2];k=q[k+f>>2];n=h-k|0;e=(g?e:d)<<3;d=q[e+l>>2];m=q[e+f>>2];o=d-m|0;e=g?i:j;g=g?j:i;if(!((e|0)==(g|0)|(d|0)==(h|0))){p=e-g|0;r=h-d|0;i=0;j=0;while(1){h=b<<3;e=q[h+f>>2];b:{if((e|0)<=(m|0)){f=e+o|0;break b}if((e|0)>=(k|0)){f=e+n|0;break b}if(!i){j=Za(r,p);i=1}f=Ma(q[h+q[a+8>>2]>>2]-g|0,j)+d|0;l=q[a+4>>2]}q[h+l>>2]=f;b=b+1|0;if(b>>>0>c>>>0){break a}f=q[a>>2];continue}}while(1){e=b<<3;a=q[e+f>>2];q[e+l>>2]=(a|0)>(m|0)?(a|0)<(k|0)?d:a+n|0:a+o|0;b=b+1|0;if(b>>>0<=c>>>0){continue}break}}}function vt(a){var b=0,c=0,d=0,e=0;a:{if(!a|!q[a>>2]){break a}b:{if(q[a>>2]>0){b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+204>>2];if(!b){break b}while(1){c=q[b+4>>2];Wl(q[b>>2]);La(b);b=c;if(b){continue}break}break b}I(271220,271245,279,271280);F()}_x(a+48|0);b=q[a+20>>2];if(b){n[b](q[a+16>>2])}La(a)}}function es(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,r=0;q[d>>2]=0;if(!(!(e|f)|(a|0)<655)){a:{if(!f){g=0;break a}n=q[g+28>>2];i=q[g+20>>2];h=q[g+16>>2];j=q[g+12>>2];k=q[g+8>>2];l=q[g+4>>2];o=q[g>>2];r=d;m=q[g+24>>2];f=m<<16;g=Ma(c+e|0,a);if((62-(z(b)+z(g)|0)|0)<46){f=Ma(g,b)}c=f;f=o<<16;b:{if((c|0)<(f|0)){b=Za(l<<16,b);break b}c:{d:{e:{p=k<<16;f:{if((c|0)<(p|0)){c=Za(f,b);f=k-o|0;if(!f){break f}b=bb(g-c|0,j-l|0,f)+Za(l<<16,b)|0;break b}f=h<<16;if((c|0)>=(f|0)){break e}}c=Za(p,b);f=h-k|0;if(!f){f=h<<16;break d}b=bb(g-c|0,i-j|0,f)+Za(j<<16,b)|0;break b}if((c|0)>=m<<16){break c}}c=Za(f,b);f=m-h|0;if(!f){break c}b=bb(g-c|0,n-i|0,f)+Za(i<<16,b)|0;break b}b=Za(n<<16,b)}q[r>>2]=b;g=Za(b,a<<1);q[d>>2]=g}q[d>>2]=((e|0)/2|0)+g}}function yb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=-1;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}c=c+ -1|0;while(1){d=c+f|0;e=d>>>1|0;d=(d&-2)+a|0;d=r[d+4|0]<<8|r[d+5|0];b:{if(d>>>0>b>>>0){c=e+ -1|0;break b}if((b|0)==(d|0)){break a}f=e+1|0}if((f|0)<=(c|0)){continue}break}return-1}d=271704;c=r[a+3|0]|r[a+2|0]<<8;c:{if(!c){break c}c=c+ -1|0;while(1){d:{g=c+f>>>1|0;h=w(g,6)+a|0;e:{if((r[h+4|0]<<8|r[h+5|0])>>>0>b>>>0){c=g+ -1|0;break e}if((r[h+7|0]|r[h+6|0]<<8)>>>0>=b>>>0){break d}f=g+1|0}if((f|0)<=(c|0)){continue}break c}break}d=(w(g,6)+a|0)+4|0}a=r[d+1|0]|r[d|0]<<8;if(a>>>0>(r[d+3|0]|r[d+2|0]<<8)>>>0){break a}e=(b-a|0)+(r[d+5|0]|r[d+4|0]<<8)|0}return e}function Wv(a,b,c){var d=0;a:{c=c+ -1|0;b:{if(c>>>0>7){break b}c:{switch(c-1|0){default:return I_(a,b);case 0:if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}break a;case 1:if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}break a;case 2:if((r[a+1|0]|r[a|0]<<8)!=1){break b}return H_(a,b);case 3:return G_(a,b);case 4:return F_(a,b);case 5:if((r[a+1|0]|r[a|0]<<8)!=1){break b}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);return Wv(c?c+a|0:271312,b,r[a+3|0]|r[a+2|0]<<8);case 6:break c}}if((r[a+1|0]|r[a|0]<<8)!=1|q[b+8>>2]!=1){break b}c=a;a=r[a+3|0]|r[a+2|0]<<8;d=(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}return d}c=a;a=r[a+3|0]|r[a+2|0]<<8;return(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}function rt(a){var b=0,c=0,d=0,e=0,f=0;d=q[a+40>>2];if(!d){return}q[a+40>>2]=q[d+20>>2];b=q[a+4>>2];q[d+20>>2]=0;q[d+4>>2]=b;c=q[d>>2];q[a+4>>2]=c;b=b-c|0;a:{if(!b){if(!q[d+12>>2]){break a}I(270917,270899,223,270936);F()}c=q[a+8>>2]-b|0;q[a+8>>2]=c;sb(c,q[d>>2],b);c=q[a+8>>2];q[d>>2]=c;q[d+4>>2]=b+c;b:{c:{c=q[a+44>>2];if((c|0)>=0){f=q[a+48>>2];b=f+1|0;e=(b|0)>0?b:0;if(c>>>0>=e>>>0){b=c;break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=e>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){c=db(q[a+52>>2],b<<2);if(c){break c}}q[a+44>>2]=-1}q[160744]=d;return}q[a+44>>2]=b;q[a+52>>2]=c;f=q[a+48>>2]}if(e>>>0>f>>>0){Na(q[a+52>>2]+(f<<2)|0,0,e-f<<2);b=q[a+44>>2]}q[a+48>>2]=e;q[(q[a+52>>2]+(e<<2)|0)+ -4>>2]=d;if((b|0)<0){break a}}}function mh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Da-16|0;Da=i;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;e=1;if((g|0)<1){e=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}if(j>>>0>c>>>0){e=0;break a}if(f>>>0>>0){e=0;break a}if(f-c>>>0>>0){e=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){e=0;break a}h=r[a+1|0]|r[a|0]<<8;if(!h){break a}d=q[d>>2];q[i+12>>2]=d;c=c+h|0;b:{if(j>>>0>c>>>0|f>>>0>>0|f-c>>>0<8){break b}q[b+12>>2]=g+ -3;if((g|0)<3){break b}f=d;d=c+2|0;if(!uw(c+4|0,b,f,d)){break b}if(sw(c+8|0,b,r[c+1|0]|r[c|0]<<8,i+12|0,d)){break a}}c=q[b+24>>2];if(c>>>0>31){e=0;break a}q[b+24>>2]=c+1;e=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;e=1}Da=i+16|0;return e}function aw(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=b-q[a>>2]|0;a=q[c+24>>2];a:{b:{if((a|0)<1){break b}f=d>>>9|0;g=q[c+28>>2];a=a+ -1|0;b=0;while(1){c:{e=a+b>>>1|0;h=f-q[(e<<3)+g>>2]|0;d:{if((h|0)<=-1){a=e+ -1|0;break d}if(!h){break c}b=e+1|0}if((b|0)<=(a|0)){continue}break b}break}b=q[((e<<3)+g|0)+4>>2];a=271312;e:{if(t[c+36>>2]<=b>>>0){break e}a=q[c+40>>2];if(!a){break b}a=a+(b<<6)|0}b=1;a=a+(d>>>3&56)|0;g=q[a>>2];e=q[a+4>>2];f=d&63;a=f&31;if((32<=(f&63)>>>0?e>>>a|0:((1<>>a)&1){break a}}b=0;if((d|0)==-1|r[c+12|0]!=1){break a}q[c+16>>2]=-1;a=ac(c,d);if(!a){break a}c=a+(d>>>3&56)|0;a=c;e=q[a+4>>2];g=a;f=q[a>>2];d=d&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=f|c;q[a+4>>2]=d|e}return b}function wu(a,b,c,d){var e=0,f=0,g=0;e=Da-96|0;Da=e;f=0;a:{if(t[a+4>>2]<=c>>>0){break a}b:{f=q[b+60>>2];if(!f){break b}g=f;f=q[pm(q[a+16>>2]+120|0)>>2];f=f?f:271312;f=t[f+16>>2]<20?271312:q[f+12>>2];if((g|0)!=(r[f+4|0]<<8|r[f+5|0])){break b}q[e+88>>2]=-8388609;q[e+80>>2]=2139095039;q[e+84>>2]=-8388609;q[e+72>>2]=0;q[e+76>>2]=2139095039;q[e+68>>2]=d;q[e+64>>2]=b;if(d){q[e+84>>2]=-8388609;q[e+88>>2]=-8388609;q[e+76>>2]=2139095039;q[e+80>>2]=2139095039}q[e+32>>2]=q[e+88>>2];d=q[e+84>>2];q[e+24>>2]=q[e+80>>2];q[e+28>>2]=d;d=q[e+76>>2];q[e+16>>2]=q[e+72>>2];q[e+20>>2]=d;d=q[e+68>>2];q[e+8>>2]=q[e+64>>2];q[e+12>>2]=d;f=qm(a,b,c,e+8|0);break a}lm(e+40|0,a,c);f=1;if(!q[e+60>>2]){break a}f=hW(q[e+56>>2],b,q[e+52>>2],d)}Da=e+96|0;return f}function kV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;g=1;if((d|0)<1){break a}f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;b:{if(f>>>0>2){break b}c:{d:{switch(f-1|0){default:q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=c+1|0;if(c>>>0>1073741822){break a}if(!c){break c}a=a+8|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;g=0;if((d|0)>=3){break c}break b;case 0:break b;case 1:break d}}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=c+1|0;if(c>>>0>2147483646){break a}if(!c){break c}a=a+8|0;if(h>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -3;g=0;if((d|0)<3){break b}}g=1}return g}return 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,h=0;if(b>>>0>>0){if((c-b|0)<1){return-1}g=a+72|0;e=b;while(1){a:{b:{c:{h=r[r[e|0]+g|0]+ -2|0;if(h>>>0>19){break c}f=2;d:{switch(h-1|0){case 3:f=3;break b;case 4:f=4;break b;case 0:if((b|0)!=(e|0)){break a}return hi(a,b+1|0,c,d)|0;default:q[d>>2]=e;return 0;case 7:if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 7;case 6:if((b|0)!=(e|0)){break a}a=b+1|0;if((c-a|0)<1){return-3}q[d>>2]=r[r[b+1|0]+g|0]==10?b+2|0:a;return 7;case 2:break b;case 1:case 5:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:break c;case 18:break d}}if((b|0)!=(e|0)){break a}q[d>>2]=b+1;return 39}f=1}e=e+f|0;if((c-e|0)>0){continue}}break}q[d>>2]=e;a=6}else{a=-4}return a|0}function JA(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;l=q[a+8>>2];e=l;m=q[a+12>>2];f=m;n=q[a>>2];g=n;a:{o=q[a+4>>2];i=o;if(32-i>>>0<=15){e=l;g=n;h=o;f=m;while(1){if(!f){break a}d=g>>>8|0;q[a>>2]=d;g=r[e|0];f=f+ -1|0;q[a+12>>2]=f;i=h+ -8|0;q[a+4>>2]=i;e=e+1|0;q[a+8>>2]=e;g=d|g<<24;q[a>>2]=g;d=40-h|0;h=i;if(d>>>0<16){continue}break}}h=i+16|0;q[a+4>>2]=h;j=b+ -16|0;b:{if(16-i>>>0>=j>>>0){d=h;b=g;break b}b=g;while(1){if(!f){break a}k=b>>>8|0;q[a>>2]=k;b=r[e|0];f=f+ -1|0;q[a+12>>2]=f;d=h+ -8|0;q[a+4>>2]=d;e=e+1|0;q[a+8>>2]=e;b=k|b<<24;q[a>>2]=b;k=40-h|0;h=d;if(k>>>0>>0){continue}break}}q[a+4>>2]=d+j;q[c>>2]=g>>>i&65535|(q[(j<<2)+29200>>2]&b>>>d)<<16;return 1}q[a+12>>2]=m;q[a+8>>2]=l;q[a>>2]=n;q[a+4>>2]=o;return 0}function qx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b+4>>2];c=a+4|0;a:{if(d>>>0>c>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-c>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0<12|d>>>0>a>>>0|(e>>>0>>0|e-a>>>0>>0)){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}c=r[a+9|0]|r[a+8|0]<<8;g=0;b:{if(!c){break b}g=d;d=a+12|0;if(g>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -3;if((f|0)<3){break a}g=w(r[a+9|0]|r[a+8|0]<<8,12)}h=g;c=r[a+11|0]|r[a+10|0]<<8;if(!c){return 1}a=(a+h|0)+12|0;d=0;while(1){if(!px(a,b)){return 0}a=(r[a+1|0]|r[a|0]<<8)+a|0;h=1;d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function $S(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!dt(a,b)){break a}e=q[a+24>>2];if((e|0)!=q[b+24>>2]){break a}if(e){g=q[b+20>>2];h=q[a+20>>2];while(1){c=f<<4;d=c+h|0;c=c+g|0;if(q[d>>2]!=q[c>>2]){return 0}if(q[d+4>>2]!=q[c+4>>2]){return 0}b:{c:{if(!q[d+8>>2]){d=q[d+12>>2];if(!q[c+8>>2]){break c}if((d|0)!=-1){break b}return 0}if(q[c+8>>2]|q[c+12>>2]!=-1){break b}return 0}if(!((d|0)==-1^q[c+12>>2]==-1)){break b}return 0}f=f+1|0;if((e|0)!=(f|0)){continue}break}}if((r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24))!=(r[b+28|0]|r[b+29|0]<<8|(r[b+30|0]<<16|r[b+31|0]<<24))|(r[a+32|0]|r[a+33|0]<<8|(r[a+34|0]<<16|r[a+35|0]<<24))!=(r[b+32|0]|r[b+33|0]<<8|(r[b+34|0]<<16|r[b+35|0]<<24))){break a}i=q[a+36>>2]==q[b+36>>2]}return i}function im(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=r[a|0];a:{if(d>>>0>2){break a}b:{switch(d-1|0){default:if(!b|c>>>0<2){break a}d=1;a=a+1|0;while(1){e=(a+(d<<1)|0)+ -2|0;if((r[e|0]<<8|r[e+1|0])==(b|0)){return d}d=d+1|0;if((d|0)!=(c|0)){continue}break}break a;case 0:if(!b|c>>>0<2){break a}d=1;g=a+1|0;while(1){a=g+w(e,3)|0;f=r[a+2|0];a=r[a+1|0]|r[a|0]<<8;if(!(a>>>0>b>>>0|a+f>>>0>>0)){return(b+d|0)-a|0}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}break a;case 1:break b}}if(!b|c>>>0<2){break a}f=1;while(1){d=(e<<2)+a|0;g=r[d+3|0];c:{h=r[d+2|0]|r[d+1|0]<<8;if(h>>>0>b>>>0){d=r[d+4|0]|g<<8;break c}d=r[d+4|0]|g<<8;if(h+d>>>0>>0){break c}i=(b+f|0)-h|0;break a}e=e+1|0;f=(d+f|0)+1|0;if(f>>>0>>0){continue}break}}return i}function n_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;g=1;if((c|0)<1){break a}b:{c:{e=r[a+4|0]|r[a+5|0]<<8;e=(e<<24|e<<8&16711680)>>>16|0;if(e+ -1>>>0>=3){if((e|0)!=32768){break b}if(f>>>0<=a>>>0){break c}break a}if(d>>>0>>0|f>>>0>a>>>0){break a}d=d-a|0;if(d>>>0<6){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}f=r[a+5|0]|r[a+4|0]<<8;d:{if(f+ -1>>>0>2){break d}e=r[a+3|0]|r[a+2|0]<<8;a=r[a+1|0]|r[a|0]<<8;if(e>>>0>>0){break d}a=(e-a>>>4-f<<1)+8|0;if(!a){break b}g=0;if(d>>>0>>0){break b}}q[b+12>>2]=c+ -3;return(c|0)>2}if(d>>>0>>0){break a}g=0;if(d-a>>>0<6){break b}q[b+12>>2]=c+ -2;g=(c|0)>1}return g}return 0}function IS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<3){break a}e=q[b+12>>2];f=e+ -1|0;q[b+12>>2]=f;if((e|0)<1){break a}k=g;i=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);h=0;b:{if(!i){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}f=e+ -2|0;q[b+12>>2]=f;if((e|0)<2){break a}h=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16)}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=f+ -1;j=1;if((f|0)<1){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c+1|0;if(e>>>0<=1){if(e-1){break c}break a}a=a+4|0;if(g>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=f+ -2;if((f|0)>1){break a}}j=0}return j}function $a(a,b,c,d){var e=0,f=0,g=0,h=0;if(b){f=q[a- -64>>2];a:{b:{c:{h=q[a+60>>2];if((h|0)>=0){e=f+1|0;g=(e|0)>0?e:0;if(h>>>0>=g>>>0){break b}e=h;while(1){e=((e>>>1|0)+e|0)+8|0;if(e>>>0<=g>>>0){continue}break}if(!(e>>>0>>0|e>>>0>153391688)){f=db(q[a+68>>2],w(e,28));if(f){break c}f=q[a+64>>2]}q[a+60>>2]=-1}q[160750]=q[67834];e=q[67833];q[160748]=q[67832];q[160749]=e;e=q[67831];q[160746]=q[67830];q[160747]=e;e=q[67829];q[160744]=q[67828];q[160745]=e;e=642976;break a}q[a+60>>2]=e;q[a+68>>2]=f;f=q[a+64>>2]}if(g>>>0>f>>>0){Na(q[a+68>>2]+w(f,28)|0,0,w(g-f|0,28))}q[a+64>>2]=g;f=g;e=(q[a+68>>2]+w(f,28)|0)+ -28|0}q[e+12>>2]=c;q[e+8>>2]=d;q[e+4>>2]=f;q[e>>2]=b;q[e+16>>2]=0-(c&1)&d;q[e+20>>2]=q[a+52>>2];q[e+24>>2]=q[a+56>>2]}}function Hi(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,r=0;k=e>>8;if((d|0)==(f|0)){ff(a,k,b);return}p=e&255;g=c&255;l=c>>8;if((l|0)!=(k|0)){i=f-d|0;m=1;h=a;e=e-c|0;a:{if((e|0)>=1){n=256;c=256-g|0;break a}e=0-e|0;m=-1;c=g}j=w(c,i);c=(j|0)/(e|0)|0;r=h;j=j-w(c,e)|0;o=j>>31;h=c+o|0;q[r+184>>2]=h+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(h,g|n);c=l+m|0;ff(a,c,b);d=d+h|0;if((c|0)!=(k|0)){h=i<<8;g=(h|0)/(e|0)|0;h=h-w(e,g)|0;i=h>>31;l=(i&e)+h|0;i=g+i|0;g=(e&o)+j|0;while(1){g=g+l|0;h=i+((g|0)>=(e|0))|0;q[a+184>>2]=h+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+(h<<8);c=c+m|0;ff(a,c,b);g=g-((g|0)<(e|0)?0:e)|0;d=d+h|0;if((c|0)!=(k|0)){continue}break}}g=256-n|0}b=f-d|0;q[a+184>>2]=b+q[a+184>>2];q[a+180>>2]=q[a+180>>2]+w(b,g+p|0)}function Ys(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Da-32|0;Da=g;if(!r[a+70|0]){e=b+1|0;if(e>>>0>>0){h=b;while(1){i=h;h=e;j=e>>>0>b>>>0?b:e;f=e;while(1){a:{e=f;if(e>>>0<=b>>>0){e=j;break a}k=q[a+88>>2];f=e+ -1|0;if((n[d](k+w(f,20)|0,w(h,20)+k|0)|0)>0){continue}}break}if((e|0)!=(h|0)){f=i+2|0;if(f-e>>>0>=2){kc(a,e,f)}i=q[a+88>>2];f=i+w(h,20)|0;q[g+24>>2]=q[f+16>>2];j=q[f+12>>2];q[g+16>>2]=q[f+8>>2];q[g+20>>2]=j;j=q[f+4>>2];q[g+8>>2]=q[f>>2];q[g+12>>2]=j;f=w(e,20);i=f+i|0;sb(i+20|0,i,w(h-e|0,20));e=f+q[a+88>>2]|0;f=q[g+12>>2];q[e>>2]=q[g+8>>2];q[e+4>>2]=f;q[e+16>>2]=q[g+24>>2];f=q[g+20>>2];q[e+8>>2]=q[g+16>>2];q[e+12>>2]=f}e=h+1|0;if((e|0)!=(c|0)){continue}break}}Da=g+32|0;return}I(272923,272586,1849,272939);F()}function GI(a,b,c,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=Da-1040|0;Da=g;a:{b:{if(n[r[a+232|0]?961:962](a+148|0,a+144|0,q[a+228>>2])){f=q[a+144>>2];break b}h=18;f=q[a+124>>2];if(!f){break a}i=q[a+228>>2];e=Na(g,255,1024);q[e+1032>>2]=0;q[e+1024>>2]=0;q[e+1028>>2]=0;c:{if(n[f](q[a+244>>2],i,e)){f=n[q[a+12>>2]](1908)|0;q[a+236>>2]=f;if(!f){a=q[e+1032>>2];if(a){n[a](q[e+1024>>2])}h=1;break a}f=n[r[a+232|0]?963:964](f,e,q[e+1028>>2],q[e+1024>>2])|0;if(f){break c}}a=q[e+1032>>2];if(!a){break a}n[a](q[e+1024>>2]);break a}q[a+240>>2]=q[e+1024>>2];e=q[e+1032>>2];q[a+144>>2]=f;q[a+248>>2]=e}q[a+276>>2]=965;q[g>>2]=b;e=n[q[f>>2]](f,b,c,g)|0;h=_f(a,q[a+144>>2],b,c,e,q[g>>2],d,!r[a+480|0],1)}Da=g+1040|0;return h|0}function mi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-32|0;Da=e;if(r[643740]&2){Ua(486128,0);Dk(a);Ua(486139,0);Dk(b);Gb(10)}f=1;c=q[a+4>>2];d=q[b+4>>2];c=c>>>0>>0?c:d;a:{if((c|0)>=1){c=(c|0)<8?c:8;i=(c|0)>1?c:1;c=0;while(1){d=c<<2;g=q[(d+b|0)+8>>2]&(q[(a+d|0)+8>>2]^-1);if(g){j=c<<5;d=0;while(1){b:{if(!(g>>>d&1)){break b}h=(r[(d+j|0)+485300|0]<<5)+449308|0;if(Jq(a,h)){break b}f=0;if(!(r[643740]&2)){break a}q[e+16>>2]=h;Ua(486150,e+16|0);break a}d=d+1|0;if((d|0)!=32){continue}break}}c=c+1|0;if((i|0)!=(c|0)){continue}break}}b=q[b>>2];if(!b){break a}b=Ic(b);if(!b){break a}c:{while(1){c=Qb(b);if(!c){break c}if(Jq(a,c)){continue}break}f=0;if(!(r[643740]&2)){break c}q[e>>2]=c;Ua(486170,e)}Zb(b)}Da=e+32|0;return f}function QH(a,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=Da-32|0;Da=e;pc(e+16|0,a);pc(e,b);d=-1;a=q[e+16>>2]+ -1|0;a:{if(a>>>0>8){break a}b:{c:{switch(a-1|0){default:f=+q[e+24>>2];h=f;break b;case 0:f=v[e+24>>3];h=f;break b;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break c}}a=q[e+24>>2];h=v[a+8>>3];f=v[a>>3]}a=q[e>>2]+ -1|0;if(a>>>0>8){break a}d:{e:{switch(a-1|0){default:d=+q[e+8>>2];g=d;break d;case 0:d=v[e+8>>3];g=d;break d;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break e}}a=q[e+8>>2];g=v[a+8>>3];d=v[a>>3]}i=d;f:{if(h>2]=2;v[c+8>>3]=((f>d?f:d)+(h>3]=i;q[c>>2]=2;i=y(d-h);d=y(f-g);d=i>2];i=b+1|0;d=q[a+4>>2];if(i>>>0>d>>>0){break b}if(b>>>0>=d>>>0){o[a+16|0]=1;g=k;break f}g=r[b+q[a>>2]|0];if(f){break f}q[a+12>>2]=i;f=0;break e}b=g&15;break d}o[a+16|0]=1;q[a+12>>2]=d;f=1}b=(g&240)>>>4|0}d=b+ -13|0;if(d>>>0>2){break c}g:{switch(d-1|0){case 1:break g;case 0:break c;default:break b}}q[c+12>>2]=c+16;if(!dy(c+12|0,(c+16|0)+e|0,c)){break b}j=v[c>>3];break a}o[(c+16|0)+e|0]=r[b+243018|0];h:{if((b|0)!=12){b=e;break h}b=e+1|0;if((b|0)==32){break b}o[(c+16|0)+b|0]=45}e=b+1|0;h=h+1|0;if(b>>>0<31){continue}}break}o[a+16|0]=1}j=0}Da=c+48|0;return j}function gv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=445;q[a>>2]=b;q[a+16>>2]=0;d=b;b=(b+2|0)+(r[b+3|0]<<1|r[b+2|0]<<9)|0;b=r[b+3|0]|r[b+2|0]<<8?b+4|0:271312;b=r[b|0]<<8|r[b+1|0];mc(b?d+b|0:271312,a+8|0)}function BL(a,b){var c=0,d=0,e=0,f=0,g=0;e=Da-32|0;Da=e;c=Wa(a);f=Wa(b);d=0;a:{if((c|0)<(f|0)){break a}d=1;while(1){g=c;b:{if(!d){break b}q[e+20>>2]=a;q[e+16>>2]=0;q[e+4>>2]=b;q[e>>2]=0;while(1){c:{c=Jc(e+16|0,0);d=Jc(e,0);if(!c){break c}if((c|0)==(d|0)){continue}}break}if(d?(c|0)!=(d|0):0){break b}d=a;if((f|0)==(g|0)){break a}c=r[a+f|0];d=a;if(c>>>0<48){break a}if(c>>>0<58){break b}d=a;if(c>>>0<65){break a}if(c>>>0<91){break b}d=a;if(c>>>0<97){break a}if((c+ -123&255)>>>0>=4){break b}d=a;break a}d=1;c=r[a|0];d:{if(c>>>0<48){break d}e:{if(c>>>0<58){break e}if(c>>>0<65){break d}if(c>>>0<91){break e}if(c>>>0<97|(c+ -123&255)>>>0<4){break d}}d=0}c=g+ -1|0;a=a+1|0;if((g|0)>(f|0)){continue}break}d=0}Da=e+32|0;return d}function Na(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}d=a+c|0;o[d+ -1|0]=b;o[a|0]=b;if(c>>>0<3){break a}o[d+ -2|0]=b;o[a+1|0]=b;o[d+ -3|0]=b;o[a+2|0]=b;if(c>>>0<7){break a}o[d+ -4|0]=b;o[a+3|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;b=w(b&255,16843009);q[e>>2]=b;c=c-d&-4;d=c+e|0;q[d+ -4>>2]=b;if(c>>>0<9){break a}q[e+8>>2]=b;q[e+4>>2]=b;q[d+ -8>>2]=b;q[d+ -12>>2]=b;if(c>>>0<25){break a}q[e+24>>2]=b;q[e+20>>2]=b;q[e+16>>2]=b;q[e+12>>2]=b;q[d+ -16>>2]=b;q[d+ -20>>2]=b;q[d+ -24>>2]=b;q[d+ -28>>2]=b;g=e&4|24;c=c-g|0;if(c>>>0<32){break a}d=b;f=b;b=e+g|0;while(1){q[b+24>>2]=f;q[b+28>>2]=d;q[b+16>>2]=f;q[b+20>>2]=d;q[b+8>>2]=f;q[b+12>>2]=d;q[b>>2]=f;q[b+4>>2]=d;b=b+32|0;c=c+ -32|0;if(c>>>0>31){continue}break}}return a}function Gd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+80>>2];if(b){n[b](q[a+76>>2])}Gd(q[a+12>>2]);vt(q[a+16>>2]);hd(q[a+72>>2]);La(q[a+64>>2]);La(q[a+68>>2]);La(a)}return}I(250950,250975,279,251010);F()}function lR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{if(q[a+4>>2]){break a}d=6;b:{if(q[a+12>>2]!=1){break b}g=q[a>>2];c=q[a+28>>2];if(c){q[(q[a+36>>2]+(c<<4)|0)+ -4>>2]=b}h=c+1|0;d=q[a+32>>2];c:{if(h>>>0<=d>>>0){f=q[a+36>>2];break c}q[e+8>>2]=0;i=c+8&-8;f=Oa(g,16,d,i,q[a+36>>2],e+8|0);q[a+36>>2]=f;d=q[e+8>>2];if(d){break b}q[a+32>>2]=i}c=(c<<4)+f|0;q[c+12>>2]=0;q[c>>2]=0;q[a+28>>2]=h;c=q[a- -64>>2];if(c){q[(q[a+72>>2]+(c<<4)|0)+ -4>>2]=b}f=c+1|0;b=q[a+68>>2];d:{if(f>>>0<=b>>>0){b=q[a+72>>2];break d}q[e+12>>2]=0;d=g;g=c+8&-8;b=Oa(d,16,b,g,q[a+72>>2],e+12|0);q[a+72>>2]=b;d=q[e+12>>2];if(d){break b}q[a+68>>2]=g}b=(c<<4)+b|0;q[b+12>>2]=0;q[b>>2]=0;q[a+64>>2]=f;break a}q[a+4>>2]=d}Da=e+16|0}function cf(a){var b=0,c=0,d=0,e=0;Fe(a);a:{if(q[a+12>>2]>0){break a}c=q[a>>2];d=c+ -1|0;e=q[a+8>>2];b:{c:{while(1){b=c;if(b>>>0>=e>>>0){break b}c=b+1|0;q[a>>2]=c;b=r[b|0]+ -9|0;if(b>>>0>50){continue}d:{switch(b-1|0){case 16:break b;case 49:break c;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 17:case 18:case 19:case 20: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:continue;case 0:case 3:break d;default:break a}}break}q[a+12>>2]=2;return d}q[a+12>>2]=1;return d}q[a+12>>2]=3}return d}function eE(a,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=Da-1536|0;Da=f;a:{b:{if(d&16){if(!c){break b}d=0;Na(e,0,c<<2);break a}d=n[q[q[q[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,q[a+424>>2],q[a+532>>2],0,0,84)|0;if(d){break a}o[f+76|0]=0;o[f+78|0]=1;q[f+1372>>2]=q[a+404>>2];q[f+1376>>2]=q[a+408>>2];q[f+1380>>2]=q[a+412>>2];q[f+1384>>2]=q[a+416>>2];q[f+1504>>2]=q[a+548>>2];q[f+1508>>2]=q[a+544>>2];d=0;if(!c){break a}a=0;while(1){o[f+1527|0]=0;g=(a<<2)+e|0;c:{if(!Ch(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=q[q[q[f+12>>2]+128>>2]+52>>2];if(d){n[q[q[d>>2]+4>>2]](q[d+4>>2],f+1528|0)}d=q[f+48>>2];d=(((d>>31)+d|0)+32768&-65536)>>16;break c}d=0}q[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}Da=f+1536|0;return d|0}function Pv(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=q[57211];q[e+8>>2]=q[57210];q[e+12>>2]=c;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=a+6|0;while(1){f=r[c+1|0]|r[c|0]<<8;Lv(f?f+a|0:271312,b,e+8|0);c=c+2|0;d=d+ -1|0;if(d){continue}break}break a;case 0:c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=r[a+5|0];d=r[a+4|0];q[e+8>>2]=433;c=c|d<<8;q[e+12>>2]=c?c+a|0:271312;d=r[a+7|0]|r[a+6|0]<<8;if(!d){break a}c=a+8|0;while(1){f=r[c+1|0]|r[c|0]<<8;Lv(f?f+a|0:271312,b,e+8|0);c=c+2|0;d=d+ -1|0;if(d){continue}break}break a;case 1:break b}}S_(a,b)}Da=e+16|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,m=0,o=0,p=0;g=r[a+1|0];h=r[a|0];l=(g<<1|h<<9)+a|0;d=l;e=r[d+3|0]|r[d+2|0]<<8;i=(d+2|0)+(e?e<<1:2)|0;j=r[i+1|0];m=r[i|0];k=(j<<1|m<<9)+i|0;o=r[k+2|0];p=r[k+3|0];f=q[c>>2];d=g|h<<8;if(d){g=q[c+4>>2];h=q[b+4>>2];a=a+2|0;while(1){n[f](h,a,g);a=a+2|0;d=d+ -1|0;if(d){continue}break}f=q[c>>2]}d=m<<8|j;a:{if(!e){break a}e=e+ -1|0;if(!e){break a}a=l+4|0;j=q[c+8>>2];g=q[b+8>>2];while(1){n[f](g,a,j);a=a+2|0;e=e+ -1|0;if(e){continue}break}f=q[c>>2]}if(d){a=i+2|0;c=q[c+12>>2];e=q[b+12>>2];while(1){n[f](e,a,c);a=a+2|0;d=d+ -1|0;if(d){continue}break}}c=o<<8|p;if(c){d=k+4|0;a=0;while(1){f=d+(a<<2)|0;Ui(b,r[f+2|0]<<8|r[f+3|0]);a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function yf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[a+4>>2];b=h>>31;b=b^b+h;i=q[a>>2];c=i>>31;d=c^c+i;if(!d){if(!b){return 0}q[a+4>>2]=(h|0)<0?-65536:65536;return b}if(!b){q[a>>2]=(i|0)<0?-65536:65536;return d}c=d>>>0>b>>>0?d+(b>>>1|0)|0:b+(d>>>1|0)|0;e=z(c);e=e-(c>>>0<-1431655766>>>e>>>0?15:16)|0;a:{if((e|0)>=1){d=d<>>0>b>>>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=(w(c,d)>>16)+d|0;g=(w(b,c)>>16)+b|0;j=w((w(f,f)+w(g,g)|0)/-512|0,c+65536>>8);c=((j|0)/65536|0)+c|0;if((j|0)>65535){continue}break}q[a+4>>2]=(h|0)<0?0-g|0:g;q[a>>2]=(i|0)<0?0-f|0:f;a=((w(d,f)+w(b,g)|0)/65536|0)+65536|0;if((e|0)>=1){return a+(1<>>e|0}return a<<0-e}function Lp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-48|0;Da=d;pc(d+32|0,a);pc(d+16|0,b);e=-1;a=q[d+32>>2]+ -3|0;a:{if(a>>>0>5){break a}b:{c:{switch(a-1|0){case 4:a=q[d+16>>2]+ -3|0;if(a>>>0>5){break a}d:{switch(a-1|0){case 4:a=HL(q[d+40>>2],q[d+24>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break d}}a=ni(q[d+40>>2],q[d+24>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break c}}a=q[d+16>>2]+ -3|0;if(a>>>0>5){break a}e:{switch(a-1|0){case 4:a=ni(q[d+24>>2],q[d+40>>2]);break b;case 0:case 1:case 2:case 3:break a;default:break e}}a=Td(q[d+40>>2],q[d+24>>2])}pc(d,b);b=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=b;b=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=b;e=a?(a|0)==1?1:2:0}Da=d+48|0;return+e}function tj(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=q[b+4>>2]+(c<<4)|0;c=q[j+4>>2];if(!c){return 0}n=q[j+12>>2]+(w(c,d)<<1)|0;while(1){a:{if(!s[b+8>>1]){d=65536;break a}c=q[q[b+16>>2]+(q[q[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){e=d;f=q[c+4>>2];h=q[c>>2];d=e;b:{if((f|0)<(h|0)){break b}i=q[c+8>>2];d=e;if((i|0)<(f|0)){break b}d=e;if(!f){break b}d=e;if((h|0)<0&(i|0)>0){break b}g=q[q[q[a+736>>2]+8>>2]+(l<<2)>>2];d=e;if((g|0)==(f|0)){break b}d=0;if((g|0)<=(h|0)|(i|0)<=(g|0)){break a}if((g|0)<(f|0)){d=bb(e,g-h|0,f-h|0);break b}d=bb(e,i-g|0,i-f|0)}c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=Ma(d,s[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}return m+32768>>16}function pp(a,b,c,d,e,f){var g=0;g=Da-80|0;Da=g;a:{if((f|0)>=16384){Eb(g+32|0,b,c,d,e,0,0,0,2147352576);d=q[g+40>>2];e=q[g+44>>2];b=q[g+32>>2];c=q[g+36>>2];if((f|0)<32767){f=f+ -16383|0;break a}Eb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)+ -32766|0;d=q[g+24>>2];e=q[g+28>>2];b=q[g+16>>2];c=q[g+20>>2];break a}if((f|0)>-16383){break a}Eb(g- -64|0,b,c,d,e,0,0,0,65536);d=q[g+72>>2];e=q[g+76>>2];b=q[g+64>>2];c=q[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}Eb(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=q[g+56>>2];e=q[g+60>>2];b=q[g+48>>2];c=q[g+52>>2]}Eb(g,b,c,d,e,0,0,0,f+16383<<16);b=q[g+12>>2];q[a+8>>2]=q[g+8>>2];q[a+12>>2]=b;b=q[g+4>>2];q[a>>2]=q[g>>2];q[a+4>>2]=b;Da=g+80|0}function mc(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){f=r[a+3|0]|r[a+2|0]<<8;if(!f){return}d=q[b>>2];a=a+4|0;c=a;while(1){d=1<<((r[c+1|0]|r[c|0]<<8)>>>4&31)|d;q[b>>2]=d;c=c+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}d=q[b+4>>2];e=0;c=a;while(1){d=1<<(r[c+1|0]&31)|d;q[b+4>>2]=d;c=c+2|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=q[b+8>>2];d=0;while(1){c=1<<(r[a|0]>>>1&31)|c;q[b+8>>2]=c;a=a+2|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}d=r[a+3|0]|r[a+2|0]<<8;if(!d){return}if(!mv(a+4|0,b)){break a}c=1;while(1){if((c|0)==(d|0)){return}e=w(c,6);f=(r[a+3|0]|r[a+2|0]<<8)>>>0>c>>>0;c=c+1|0;if(mv(f?(a+e|0)+4|0:271704,b)){continue}break}}}function FF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Wa(c);f=b+18|0;a:{b:{if((b|0)<=-18){a=6;if(f){break a}a=0;break b}a=q[a>>2];a=n[q[a+4>>2]](a,f)|0;if(!a){return 64}Na(a,0,f)}f=Qa(a,c,b);b=f+b|0;a=r[4324]|r[4325]<<8;o[b+16|0]=a;o[b+17|0]=a>>>8;a=r[4320]|r[4321]<<8|(r[4322]<<16|r[4323]<<24);c=r[4316]|r[4317]<<8|(r[4318]<<16|r[4319]<<24);o[b+8|0]=c;o[b+9|0]=c>>>8;o[b+10|0]=c>>>16;o[b+11|0]=c>>>24;o[b+12|0]=a;o[b+13|0]=a>>>8;o[b+14|0]=a>>>16;o[b+15|0]=a>>>24;a=r[4312]|r[4313]<<8|(r[4314]<<16|r[4315]<<24);c=r[4308]|r[4309]<<8|(r[4310]<<16|r[4311]<<24);o[b|0]=c;o[b+1|0]=c>>>8;o[b+2|0]=c>>>16;o[b+3|0]=c>>>24;o[b+4|0]=a;o[b+5|0]=a>>>8;o[b+6|0]=a>>>16;o[b+7|0]=a>>>24;q[d>>2]=f;q[e>>2]=0;a=0}return a|0}function tS(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=d+f;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{b:{if(f>>>0<54){break b}q[a+12>>2]=c+ -1;if((r[d+1|0]|r[d|0]<<8)!=1){break b}c=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[d+15|0]<<24);Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))!=1594834165){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(271724,271749,195,271766);F()}function NI(a,b,c){var d=0,e=0,f=0;c=c+ -3|0;if(c>>>0<=1){b=q[b>>2];if(c-1){c=q[b+180>>2];d=q[b+188>>2];f=(c|0)>(d|0)?c:d;e=q[b+196>>2];q[a>>2]=q[a>>2]-((f|0)>(e|0)?f:e);c=(c|0)<(d|0)?c:d;q[a+8>>2]=q[a+8>>2]-((c|0)<(e|0)?c:e);c=q[b+184>>2];d=q[b+192>>2];e=(c|0)>(d|0)?c:d;b=q[b+200>>2];q[a+4>>2]=q[a+4>>2]-((e|0)>(b|0)?e:b);e=a;f=q[a+12>>2];a=(c|0)<(d|0)?c:d;q[e+12>>2]=f-((a|0)<(b|0)?a:b);return}c=q[b+184>>2];d=q[b+192>>2];f=(c|0)>(d|0)?c:d;e=q[b+200>>2];q[a>>2]=q[a>>2]-((f|0)>(e|0)?f:e);c=(c|0)<(d|0)?c:d;q[a+8>>2]=q[a+8>>2]-((c|0)<(e|0)?c:e);c=q[b+180>>2];d=q[b+188>>2];e=(c|0)<(d|0)?c:d;b=q[b+196>>2];q[a+4>>2]=q[a+4>>2]+((e|0)<(b|0)?e:b);e=a;f=q[a+12>>2];a=(c|0)>(d|0)?c:d;q[e+12>>2]=f+((a|0)>(b|0)?a:b)}}function bb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=129894-(c>>>17|0)>>>0){e=(w(a,b)+(c>>>1|0)>>>0)/(c>>>0)|0;break a}g=b>>>16|0;f=a&65535;h=w(g,f);i=a>>>16|0;a=b&65535;b=h+w(i,a)|0;d=b<<16;f=d+w(a,f)|0;a=f+(c>>>1|0)|0;b=(((w(g,i)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(f>>>0>>0)|0)+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=z(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-w(c,e)|0;a=a<>>31;b=d-(d>>>0>>0?0:c)|0;e=e<<1|d>>>0>=c>>>0;a=a<<1;f=f+ -1|0;if(f){continue}break}}return(j|0)<0?0-e|0:e}function Tv(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];a:{if(n[q[f+188>>2]](a,q[a+76>>2],b,c,d,q[f+52>>2])){break a}q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];if(!n[q[f+184>>2]](a,q[a+76>>2],b,c,d,q[f+48>>2])){break a}f=b;b=q[a+72>>2];b=n[q[b+168>>2]](a,q[a+76>>2],f,q[b+32>>2])|0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=(b|0)/2|0;b=q[a+72>>2];b:{if(n[q[b+148>>2]](a,q[a+76>>2],e,q[b+12>>2])){a=q[e>>2];break b}f=q[a+24>>2];q[e+8>>2]=0;b=e;g=+(f|0)*.8;c:{if(y(g)<2147483648){a=~~g;break c}a=-2147483648}q[b>>2]=a;q[e+4>>2]=a-f}q[c>>2]=h+q[c>>2];q[d>>2]=q[d>>2]+a}Da=e+48|0}function Mf(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];a:{if(n[q[f+184>>2]](a,q[a+76>>2],b,c,d,q[f+48>>2])){break a}q[d>>2]=0;q[c>>2]=0;f=q[a+72>>2];if(!n[q[f+188>>2]](a,q[a+76>>2],b,c,d,q[f+52>>2])){break a}f=b;b=q[a+72>>2];b=n[q[b+168>>2]](a,q[a+76>>2],f,q[b+32>>2])|0;q[e+40>>2]=0;q[e+44>>2]=0;q[e+32>>2]=0;q[e+36>>2]=0;q[e+24>>2]=0;q[e+28>>2]=0;q[e+16>>2]=0;q[e+20>>2]=0;q[e+8>>2]=0;q[e+12>>2]=0;q[e>>2]=0;q[e+4>>2]=0;h=(b|0)/2|0;b=q[a+72>>2];b:{if(n[q[b+148>>2]](a,q[a+76>>2],e,q[b+12>>2])){a=q[e>>2];break b}f=q[a+24>>2];q[e+8>>2]=0;b=e;g=+(f|0)*.8;c:{if(y(g)<2147483648){a=~~g;break c}a=-2147483648}q[b>>2]=a;q[e+4>>2]=a-f}q[c>>2]=q[c>>2]-h;q[d>>2]=q[d>>2]-a}Da=e+48|0}function AI(a,b,c){var d=0,e=0,f=0;if(a){a:{d=q[a+476>>2];if(d>>>0>3){break a}b:{switch(d-1|0){case 2:q[a+280>>2]=33;return 0;case 1:q[a+280>>2]=36;return 0;case 0:break a;default:break b}}if(q[a+472>>2]){break a}if(DI(a)){break a}q[a+280>>2]=1;return 0}d=1;q[a+476>>2]=1;f=q[a+24>>2];q[a+292>>2]=f;o[a+480|0]=c;e=q[a+28>>2]+b|0;q[a+28>>2]=e;q[a+40>>2]=e;q[a+36>>2]=q[a+36>>2]+b;b=n[q[a+276>>2]](a,f,e,a+24|0)|0;q[a+280>>2]=b;if(b){q[a+276>>2]=968;q[a+288>>2]=q[a+284>>2];return 0}b=q[a+476>>2];c:{if(b>>>0>3){break c}d:{switch(b-2|0){default:if(!c){break c}q[a+476>>2]=2;return 1;case 0:break c;case 1:break d}}d=2}b=q[a+144>>2];n[q[b+48>>2]](b,q[a+292>>2],q[a+24>>2],a+404|0);q[a+292>>2]=q[a+24>>2]}return d}function nD(a,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=Da-16|0;Da=f;a:{b:{c=q[a>>2];if(r[c+8|0]&2){if(!n[q[q[c+540>>2]+104>>2]](c,b,f+12|0)){break b}q[a+44>>2]=-1;c=q[a>>2]}Rf(c,b);c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);if(!b|!c){break a}b=q[b>>2];if(!b){break a}g=n[b](c)|0;if(!g){break a}h=q[q[a>>2]+712>>2];c=q[h+1440>>2];i=q[q[a+40>>2]>>2];n[q[g+4>>2]](q[i>>2],q[a+16>>2],q[a+20>>2],0,0);e=q[h+2024>>2];if(!e){break a}while(1){b=q[a+16>>2];e=e+ -1|0;j=e<<2;d=q[q[(j+h|0)+2028>>2]+68>>2];c:{if((d|0)!=(c|0)){b=bb(b,c,d);d=bb(q[a+20>>2],c,d);break c}d=q[a+20>>2]}n[q[g+4>>2]](q[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}break a}fo(a,q[f+12>>2])}Da=f+16|0;return 0}function $r(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=o[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=h&-2;c=(r[c+297954|0]<<8|r[c+297955|0])+297952|0;d=r[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(i|0)<(g|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(f>>>0>>0){while(1){a=c+1|0;e=d<<24;d=r[c+1|0];g=o[f|0];c:{if(e>>24<=-1){c=a;if((g|0)==(d&127)){break c}return 0}e=d&127;if(!e){break a}a=a+(d&128?3:1)|0;while(1){c=(r[a+1|0]|r[a|0]<<8)+297952|0;d=r[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}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|o[c+1|0]>-1){break a}return r[c+3|0]|r[c+2|0]<<8}return 0}function EU(a,b,c,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=q[a+12>>2];q[d+8>>2]=0;q[d+12>>2]=0;q[d>>2]=0;q[d+4>>2]=0;e=b;f=q[b+76>>2];b=q[b+72>>2];h=n[q[b+200>>2]](e,f,c,d,q[b- -64>>2])|0;if(h){g=q[a+12>>2];a:{if(g){b=q[d>>2];c=d;e=q[g+20>>2];f=q[a+20>>2];if((e|0)!=(f|0)){b=X$(W$(f,f>>31,b,b>>31),Ea,e,e>>31)}q[c>>2]=b;b=q[d+4>>2];e=q[g+24>>2];f=q[a+24>>2];if((e|0)!=(f|0)){b=X$(W$(f,f>>31,b,b>>31),Ea,e,e>>31)}q[c+4>>2]=b;e=q[d+8>>2];b=q[g+20>>2];c=q[a+20>>2];if((b|0)!=(c|0)){e=X$(W$(c,c>>31,e,e>>31),Ea,b,b>>31)}b=d+12|0;q[d+8>>2]=e;d=q[d+12>>2];e=q[g+24>>2];a=q[a+24>>2];c=d;if((e|0)==(a|0)){break a}c=X$(W$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=d+12|0;c=q[d+12>>2]}q[b>>2]=c}return h|0}function xg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c>>>0>1073741822){break c}if(!c){return 1}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -2;j=1;if((e|0)>1){break a}}j=0}return j}function vq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=-1;a:{f=d-c|0;b:{if((f|0)<1){break b}i=b+72|0;while(1){j=d;c:{d:{g=r[r[c|0]+i|0];if(g>>>0>13){break d}e:{switch(g-2|0){case 3:if((f|0)<2){return-2}if(n[q[b+352>>2]](b,c)){break a}c=c+2|0;break c;case 4:if((f|0)<3){return-2}if(n[q[b+356>>2]](b,c)){break a}c=c+3|0;break c;case 5:if((f|0)<4){return-2}if(n[q[b+360>>2]](b,c)){break a}c=c+4|0;break c;case 0:case 1:case 2:case 7:case 8:case 9:break d;case 10:case 11:break e;default:break a}}f=c+1|0;c=f;if((a|0)!=(g|0)){break c}if((d-f|0)<1){return-27}q[e>>2]=f;a=r[r[f|0]+i|0];if(a>>>0<=30){h=27;if(1<0){continue}break}}return h}q[e>>2]=c;return 0}function vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=q[a+116>>2];c=b;a:{f=q[a+112>>2];b:{if(b|f){b=q[a+124>>2];if((b|0)>(c|0)?1:(b|0)>=(c|0)?t[a+120>>2]>>0?0:1:0){break b}}f=YG(a);if((f|0)>-1){break a}}q[a+104>>2]=0;return-1}b=q[a+8>>2];c=q[a+116>>2];d=c;c:{d:{e=q[a+112>>2];if(!(c|e)){break d}c=(q[a+124>>2]^-1)+d|0;d=q[a+120>>2]^-1;e=d+e|0;if(e>>>0>>0){c=c+1|0}d=e;e=q[a+4>>2];g=b-e|0;h=d>>>0>>0?0:1;g=g>>31;if((c|0)>(g|0)?1:(c|0)>=(g|0)?h:0){break d}q[a+104>>2]=d+e;break c}q[a+104>>2]=b}e:{if(!b){a=q[a+4>>2];break e}e=q[a+124>>2];c=a;d=q[a+120>>2];a=q[a+4>>2];b=(b-a|0)+1|0;g=b;d=d+b|0;b=(b>>31)+e|0;q[c+120>>2]=d;q[c+124>>2]=d>>>0>>0?b+1|0:b}a=a+ -1|0;if(r[a|0]!=(f|0)){o[a|0]=f}return f}function ZY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a;a:{c=r[b+5|0];f=r[b+4|0];g=c|f<<8;if(!g){break a}h=r[b+1|0]|r[b|0]<<8;i=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+i|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];mc(YY(c?c+b|0:271312,h),q[e+8>>2]);d=d+1|0;if((g|0)==(d|0)){break a}c=r[b+5|0];f=r[b+4|0];continue}}q[a+12>>2]=0;q[a+16>>2]=0;d=0;q[a+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a+12;b:{c=r[b+5|0];f=r[b+4|0];a=c|f<<8;if(!a){break b}g=r[b+1|0]|r[b|0]<<8;h=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?(h+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];XY(c?c+b|0:271312,e+8|0,g);d=d+1|0;if((a|0)==(d|0)){break b}c=r[b+5|0];f=r[b+4|0];continue}}Da=e+16|0}function Av(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a;a:{c=r[b+5|0];f=r[b+4|0];g=c|f<<8;if(!g){break a}h=r[b+1|0]|r[b|0]<<8;i=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?((d<<1)+i|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];mc(d_(c?c+b|0:271312,h),q[e+8>>2]);d=d+1|0;if((g|0)==(d|0)){break a}c=r[b+5|0];f=r[b+4|0];continue}}q[a+12>>2]=0;q[a+16>>2]=0;d=0;q[a+20>>2]=0;q[e+12>>2]=0;q[e+8>>2]=a+12;b:{c=r[b+5|0];f=r[b+4|0];a=c|f<<8;if(!a){break b}g=r[b+1|0]|r[b|0]<<8;h=b+4|0;while(1){c=(f<<8|c)>>>0>d>>>0?(h+(d<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];c_(c?c+b|0:271312,e+8|0,g);d=d+1|0;if((a|0)==(d|0)){break b}c=r[b+5|0];f=r[b+4|0];continue}}Da=e+16|0}function ux(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;k=r[a+3|0]|r[a+2|0]<<8;if(j>>>0>>0){break a}e=a+4|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0<2){break a}g=f+ -2|0;q[b+12>>2]=g;if((f|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;i=0;b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}g=f+ -3|0;q[b+12>>2]=g;if((f|0)<3){break a}i=r[a+5|0]|r[a+4|0]<<8}e=i;a=(j-k|0)+1|0;c:{if(a>>>0>2147483646){break c}l=1;if(!a){break a}c=c+e|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=g+ -1;if((g|0)>0){break a}}l=0}return l}function Rw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;k=r[a+3|0]|r[a+2|0]<<8;if(j>>>0>>0){break a}e=a+4|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0<2){break a}g=f+ -2|0;q[b+12>>2]=g;if((f|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;i=0;b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}g=f+ -3|0;q[b+12>>2]=g;if((f|0)<3){break a}i=r[a+5|0]|r[a+4|0]<<8}e=i;a=(j-k|0)+1|0;c:{if(a>>>0>1073741822){break c}l=1;if(!a){break a}c=c+e|0;if(h>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=g+ -1;if((g|0)>0){break a}}l=0}return l}function DI(a){var b=0,c=0,d=0,e=0,f=0;b=Da-48|0;Da=b;a:{if(!q[a+492>>2]){b:{c:{d=Hg(498393,0,0);if((d|0)>=0){while(1){e=Uh(d,(b+36|0)+c|0,4-c|0);f=e+c|0;if(f>>>0>3?(e|0)>=1:0){break c}c=(e|0)>0?f:c;if(q[160942]==27){continue}break}bd(d)}if(Aa(b+40|0,0)){break a}c=q[b+44>>2]^R();q[b+36>>2]=c;c=w(c,2147483647);d=Kb(498418);if(!d){break b}if(Ta(d,498438)){break b}q[b+12>>2]=4;q[b+8>>2]=c;q[b+4>>2]=8;q[b>>2]=498406;Mc(q[126999],498440,b);break b}bd(d);c=q[b+36>>2];d=Kb(498418);if(!d){break b}if(Ta(d,498438)){break b}q[b+28>>2]=4;q[b+24>>2]=c;q[b+20>>2]=8;q[b+16>>2]=498393;Mc(q[126999],498440,b+16|0)}q[a+492>>2]=c}if(r[a+232|0]){c=FI(a)}else{c=1}Da=b+48|0;return c}I(498477,496835,800,498499);F()}function lC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-32|0;Da=c;e=q[b+96>>2];a:{if((e|0)<0|(e|0)>=q[a+300>>2]){break a}f=q[a+304>>2];if((n[q[b+52>>2]](b,6,c,3)|0)<6){break a}g=q[c+12>>2];d=g>>31;d=d^d+g;if(!d){break a}if((d|0)!=65536){h=a,i=Za(1e3,d),p[h+68>>1]=i;h=c,i=Za(q[c>>2],d),q[h>>2]=i;h=c,i=Za(q[c+4>>2],d),q[h+4>>2]=i;h=c,i=Za(q[c+8>>2],d),q[h+8>>2]=i;h=c,i=Za(q[c+16>>2],d),q[h+16>>2]=i;h=c,i=Za(q[c+20>>2],d),q[h+20>>2]=i;q[c+12>>2]=q[c+12>>2]<0?-65536:65536}d=(w(e,252)+f|0)+216|0;q[d>>2]=q[c>>2];a=w(e,252)+f|0;q[a+224>>2]=q[c+4>>2];q[a+220>>2]=q[c+8>>2];q[a+228>>2]=q[c+12>>2];if(!qi(d)){q[b+12>>2]=3;break a}q[a+232>>2]=q[c+16>>2]>>16;q[a+236>>2]=q[c+20>>2]>>16}Da=c+32|0}function eV(a,b){var c=0,d=0;q[a+16>>2]=b;q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;o[a|0]=0;a:{b=it(b+52|0);b=t[b+16>>2]<54?271312:q[b+12>>2];c=r[b+50|0]<<8|r[b+51|0];if(!(c>>>0>1|(r[b+53|0]|r[b+52|0]<<8))){o[a|0]=!c;b=q[a+16>>2];Mb(b);b=Jb(b,1819239265);c=ub(b);if(q[c+16>>2]<=-1){break a}d=q[c+12>>2];Pa(c);if(d){if(q[b+4>>2]){q[b+4>>2]=0}}q[a+8>>2]=b;b=q[a+16>>2];Mb(b);b=Jb(b,1735162214);c=ub(b);if(q[c+16>>2]<=-1){break a}d=q[c+12>>2];Pa(c);if(d){if(q[b+4>>2]){q[b+4>>2]=0}}q[a+12>>2]=b;b=q[a+8>>2];b=q[(b?b:271312)+16>>2]>>>(r[a|0]?1:2)|0;b=(b>>>0>1?b:1)+ -1|0;q[a+4>>2]=b;d=q[a+16>>2];c=q[d+32>>2];if((c|0)==-1){c=lc(d);b=q[a+4>>2]}q[a+4>>2]=b>>>0>c>>>0?c:b}return}I(242848,242873,195,242890);F()}function QL(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}while(1){e=c;c=Cd(a,b);if(!c){break a}b:{if(!e){f=c;break b}q[e>>2]=c-e|1}q[c>>2]=0;q[c+8>>2]=q[b+8>>2];d=q[b+8>>2]+ -1|0;c:{if(d>>>0>8){break c}e=c+8|0;d:{switch(d-1|0){default:q[c+16>>2]=q[b+16>>2];break c;case 0:e=q[b+20>>2];q[c+16>>2]=q[b+16>>2];q[c+20>>2]=e;break c;case 1:d=al(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 2:q[c+16>>2]=q[b+16>>2];break c;case 4:d=eM(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 6:d=GL(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1;break c;case 3:case 5:break c;case 7:break d}}d=CM(a,q[b+16>>2]);if(!d){break a}q[c+16>>2]=d-e|1}b=q[b>>2];if(b){continue}break}return f}return 0}function UD(a,b,c){a=a|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=Da-16|0;Da=h;g=q[a+532>>2];d=6;a:{if(!g){break a}oj(q[g+136>>2],h,q[g+4>>2]);k=q[g+4>>2];i=k>>>0>>0?k:b;if(i){while(1){d=w(j,12)+g|0;e=q[d+96>>2];n=j<<2;l=q[n+h>>2];b:{if(q[e>>2]<(l|0)){a=1;f=r[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=q[e+m>>2];if((o|0)>=(l|0)){d=q[d+92>>2];f=m+ -4|0;a=q[d+f>>2];d=q[d+m>>2];e=q[e+f>>2];a=w(Za(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=q[(q[d+92>>2]+(f<<2)|0)+ -4>>2]<<16;break b}a=q[q[d+92>>2]>>2]<<16}q[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(k>>>0>=b>>>0){break a}Na((i<<2)+c|0,0,b-i<<2);d=0}Da=h+16|0;return d|0}function fh(a,b,c,d){var e=0,f=0,g=0,h=0;o[a+8|0]=d;a:{b:{c:{d=q[b+20>>2];if((d|0)>=1){f=q[b+24>>2];d=d+ -1|0;while(1){e=d+g>>>1|0;h=q[w(e,36)+f>>2];d:{if(h>>>0>c>>>0){d=e+ -1|0;break d}if(h>>>0>=c>>>0){break c}g=e+1|0}if((g|0)<=(d|0)){continue}break}}d=a+4|0;break b}d=a+4|0;e=q[(w(e,36)+f|0)+12>>2];if((e|0)!=-1){break a}}q[a>>2]=0;q[d>>2]=0;return}d=q[b+56>>2];if(d>>>0>=e>>>0){if(e){f=e+ -1|0;c=271312;e:{if(d>>>0<=f>>>0){break e}c=q[b+60>>2]+(f<<3)|0}c=q[c>>2]}else{c=0}if(d>>>0>e>>>0){f=q[b+60>>2]+(e<<3)|0}else{f=b+32|0}d=a;f=q[f>>2];e=0;f:{if((f|0)==(c|0)){break f}e=271312;if(t[b+32>>2]<=c>>>0){break f}e=q[b+36>>2]+(c<<3)|0}q[d>>2]=e;q[a+4>>2]=f-c;return}I(267732,267768,148,267783);F()}function bq(a,b,c){var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;a:{b:{d=q[a+300>>2];if(d){q[a+300>>2]=q[d+8>>2];break b}d=n[q[a+12>>2]](24)|0;if(d){break b}c=1;break a}q[b+12>>2]=0;o[b+32|0]=1;q[d+8>>2]=q[a+296>>2];q[a+296>>2]=d;q[d+12>>2]=b;f=q[a+308>>2];o[d+20|0]=c;q[d+16>>2]=f;q[d>>2]=0;q[d+4>>2]=0;c=q[b+8>>2];f=q[b+4>>2];q[e+12>>2]=f;g=c+f|0;c:{if(r[b+33|0]){c=q[a+224>>2];c=n[q[c>>2]](c,f,g,e+12|0)|0;c=_f(a,q[a+224>>2],f,g,c,q[e+12>>2],e+12|0,0,0);break c}c=We(a,q[a+308>>2],q[a+224>>2],f,g,e+12|0,0)}if(c){break a}c=q[e+12>>2];if(!((c|0)==(g|0)|q[a+476>>2]!=3)){q[b+12>>2]=c-f;q[a+276>>2]=973;c=0;break a}c=0;o[b+32|0]=0;q[a+296>>2]=q[d+8>>2];q[d+8>>2]=q[a+300>>2];q[a+300>>2]=d}Da=e+16|0;return c}function WM(a,b,c,d){a=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,q=0,r=0,t=0;a:{if(!c){break a}k=(d<<1)+4|0;if(!k){while(1){g=g+16|0;if(g>>>0>>0){continue}break a}}i=d<<4;while(1){j=0;d=0;while(1){o=d>>>0>>0?(d<<1)+b|0:438160;e=d+ -16|0;q=e>>>0>>0?(e<<1)+b|0:438160;e=d+ -32|0;r=e>>>0>>0?(e<<1)+b|0:438160;e=0;while(1){f=e<<1;l=f+a|0;m=s[f+q>>1];h=s[f+o>>1];n=s[f+r>>1];f=(m+((h+n&65534)>>>1|0)&65534)>>>1|0;t=(f+h&65534)>>>1|0;h=m+1|0;p[l+32>>1]=(t+h&65534)>>>1;p[l>>1]=(h+((f+n&65534)>>>1|0)&65534)>>>1;e=e+1|0;if((e|0)!=16){continue}break}d=d+16|0;a=a- -64|0;j=j+2|0;if(j>>>0>>0){continue}break}b=(i<<1)+b|0;g=g+16|0;if(g>>>0>>0){continue}break}}}function Ti(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}j=1;c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)>2){break a}}j=0}return j}function PR(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=Da-16|0;Da=j;while(1){h=q[b>>2];q[b>>2]=1;if(h){continue}break}m=q[b+8>>2];n=q[b+4>>2];k=q[a+20>>2];if((k|0)!=q[b+16>>2]){i=b+20|0;h=0;while(1){q[i+(h<<2)>>2]=-1;h=h+1|0;if((h|0)!=256){continue}break}q[b+16>>2]=q[a+20>>2]}if(c){o=b+20|0;a=0;while(1){q[j+12>>2]=0;i=q[d>>2];l=((i&255)<<2)+o|0;h=q[l>>2];a:{if(!((h|0)==-1|(h>>>24|0)!=(i>>>8|0))){h=h&16777215;q[j+12>>2]=h;break a}el(n,i,m,j+12|0);h=q[j+12>>2];if(i>>>0>65535|h>>>0>16777215){break a}q[l>>2]=i<<16&-16777216|h}q[f>>2]=((k|0)>-1?h:0-h|0)+512>>10;f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}q[b>>2]=0;Da=j+16|0}function Jn(a,b,c){var d=0,e=0,f=0,g=0;e=o[a|0];if((e|0)>=0){o[a|0]=c+e&127;return 1}d=1;f=e&255;a:{if(f>>>0<192){break a}c=((c&32767)-(c&32768)|0)+16777216|0;g=e&255;if(g>>>0<=223){if((b|0)<2){break a}b=r[a+1|0];c=c+(f<<6&1984|b&63)|0;o[a+1|0]=c&63|b&192;o[a|0]=c>>>6&31|192;return 2}if(g>>>0<=239){d=b;if((b|0)<3){break a}b=c;c=r[a+2|0];d=r[a+1|0];b=b+((c|f<<12)&61503|(d&63)<<6)|0;o[a+2|0]=b&63|c&192;o[a+1|0]=b>>>6&63|d&192;o[a|0]=b>>>12&15|224;return 3}if((e&255)>>>0>247){break a}d=b;if((b|0)<4){break a}b=c;c=r[a+3|0];d=r[a+2|0];e=r[a+1|0];b=b+((c|f<<18)&1835071|(d&63)<<6|(e&63)<<12)|0;o[a+3|0]=b&63|c&192;o[a+2|0]=b>>>6&63|d&192;o[a+1|0]=b>>>12&63|e&192;o[a|0]=b>>>18&7|240;d=4}return d}function ds(a){var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;while(1){a:{b:{c:{b=r[a|0];if(b>>>0>9){if((b|0)!=32){break c}break a}switch(b-1|0){case 8:break a;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break b}}b=Wa(a);c=b+a|0;d:{if((b|0)<1){break d}while(1){b=c+ -1|0;e=r[b|0];if((e|0)!=9?(e|0)!=32:0){break d}c=b;if(b>>>0>a>>>0){continue}break}}b=a;a=c-a|0;a=a>>>0<15?a:15;b=Qa(d,b,a);o[a+b|0]=0;if(!fb(b,3444)){c=2;break b}if(!fb(b,3449)){c=3;break b}if(!fb(b,3456)){c=4;break b}if(!fb(b,3463)){c=5;break b}if(!fb(b,3470)){c=6;break b}if(!fb(b,3477)){c=7;break b}if(!fb(b,3485)){c=8;break b}if(!fb(b,3493)){c=9;break b}c=fb(b,3500)?1:10}Da=d+16|0;return c}a=a+1|0;continue}}function Xd(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}dh(q[a+12>>2]);La(q[a+88>>2]);La(q[a+96>>2]);b=q[a+160>>2];if(b){n[b](q[a+156>>2])}La(a)}return}I(272944,272969,279,272984);F()}function Fe(a){var b=0,c=0,d=0;a:{if(q[a+12>>2]>0){break a}b=q[a>>2];c=q[a+8>>2];b:{if(b>>>0>=c>>>0){break b}while(1){d=b+1|0;q[a>>2]=d;b=r[b|0]+ -9|0;if(b>>>0>50){break a}c:{switch(b-1|0){case 0:case 3:q[a+12>>2]=2;return;case 49:q[a+12>>2]=1;return;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 17:case 18:case 19:case 20: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:break a;case 16:break b;default:break c}}b=d;if(b>>>0>>0){continue}break}}q[a+12>>2]=3}}function vg(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}q[a+16>>2]=0;La(q[a+28>>2]);q[a+28>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;La(q[a+40>>2]);La(a)}return}I(228624,228649,279,228664);F()}function Bv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}g=q[b+12>>2];e=g+ -1|0;q[b+12>>2]=e;if((g|0)<1){break a}k=f;i=r[a+1|0]|r[a|0]<<8;h=0;b:{if(!i){break b}if(d>>>0>>0|f>>>0>c>>>0|d-c>>>0>>0){break a}e=g+ -2|0;q[b+12>>2]=e;if((g|0)<2){break a}h=r[a+1|0]|r[a|0]<<8}a=h+c|0;c:{if(k>>>0>a>>>0|d>>>0>>0|d-a>>>0<4){break c}q[b+12>>2]=e+ -1;if((e|0)<1){break c}c=a+2|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}j=1;c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;if(f>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break c}q[b+12>>2]=e+ -3;if((e|0)>2){break a}}j=0}return j}function FH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;d=q[a+4>>2];a:{if(!d){d=Pg();Qk(d,505287);Vq(d);Zh(q[a>>2],d,0);BM(d);aM(d);f=a,g=UH(q[a>>2],d,a+8|0,b+12|0),q[f+4>>2]=g;if(q[b+12>>2]){f=a,g=Cf(),q[f+4>>2]=g}ie(d);d=q[a+4>>2];if(!d){break a}}if(!q[d>>2]){break a}if(!c){q[b+12>>2]=0;if(pd(q[q[d+8>>2]>>2],505253,0,b+12|0)){break a}e=eb(q[b+12>>2]);break a}if(!ui(q[a+8>>2],c)){break a}d=q[a+4>>2];if(q[d>>2]<1){break a}while(1){b:{d=q[q[d+8>>2]+(e<<2)>>2];if(Nk(d,505245,b+12|0)){break b}if(!ui(q[b+12>>2],c)){break b}e=0;q[b+8>>2]=0;if(pd(d,505253,0,b+8|0)){break a}e=eb(q[b+8>>2]);break a}e=e+1|0;d=q[a+4>>2];if((e|0)>2]){continue}break}e=0}Da=b+16|0;return e|0}function ti(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=q[a+8>>2];f=g+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){e=c+d>>1;h=q[(e<<3)+f>>2]-b|0;if(!h){break a}i=(h|0)<0;c=i?e+1|0:c;d=i?d:e+ -1|0;if((c|0)<=(d|0)){continue}break}c=h>>>31|0}e=c+e^-1}if((e|0)<=-1){c=q[a+4>>2];c:{if(((a?q[a>>2]+1|0:1)|0)<(c|0)){break c}d=c+16|0;d:{e:{if(c){g=d<<3;c=db(f,g);if(c){break d}c=Sa(g);if(c){break e}return 0}c=Sa(d<<3);if(c){break d}return 0}Qa(c,f,q[a>>2]<<3)}g=c-a|0;q[a+8>>2]=g;f=q[a+4>>2];if((d|0)<=(f|0)){break c}Na((f<<3)+c|0,0,d-f<<3);q[a+4>>2]=d}e=e^-1;c=(a+g|0)+(e<<3)|0;sb(c+8|0,c,q[a>>2]-e<<3);q[a>>2]=q[a>>2]+1;q[c+4>>2]=0;q[c>>2]=b;f=q[a+8>>2]+a|0}return f+(e<<3)|0}function Fv(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;h=1;if((e|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;b:{if(!f){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break b}c=c+f|0;c:{if(g>>>0>c>>>0|d>>>0>>0|d-c>>>0<2){break c}q[b+12>>2]=e+ -3;if((e|0)<3){break c}f=r[c+1|0]|r[c|0]<<8;if(!f){break b}c=c+2|0;if(g>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break c}q[b+12>>2]=e+ -4;if((e|0)>3){break b}}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;h=1}return h}return 0}function DT(a,b,c,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=Da-16|0;Da=g;a:{b:{c:{d:{if((b|0)<=2963){if(b+ -2524>>>0<2){break a}if((b|0)!=2353){break d}break a}if((b|0)==2964){break a}if((b|0)==3546){break c}}if(b+ -3548>>>0>2){break b}}e:{f=q[q[a>>2]+112>>2];if(r[f+5|0]){break e}e=q[a+8>>2];q[g+12>>2]=0;h=e;i=q[e+76>>2];e=q[e+72>>2];if(!n[q[e+156>>2]](h,i,b,g+12|0,q[e+20>>2])|!q[f+52>>2]){break b}h=q[q[a+8>>2]+16>>2];e=0;while(1){if(sd(h,s[q[f+48>>2]+(e<<3)>>1],g+12|0,1,r[f+56|0])){break e}e=e+1|0;if(e>>>0>2]){continue}break}break b}q[c>>2]=3545;q[d>>2]=b;f=1;break a}a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;f=(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0}Da=g+16|0;return f|0}function fW(a,b){var c=0,d=0,e=0,f=0,g=0;f=ub(b);o[a+20|0]=0;q[a+28>>2]=f;d=q[f+12>>2];q[a+4>>2]=d;e=q[f+16>>2];q[a+8>>2]=d+e;a:{if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}if(e>>>0<8){break a}q[a+12>>2]=c+ -1;if((e&-2)==6|(r[d+1|0]|r[d|0]<<8)!=1){break a}q[a+12>>2]=c+ -2;d=r[d+7|0]|r[d+6|0]<<8;if(d){if(e+ -8>>>0>>0){break a}q[a+12>>2]=c+ -3}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if(q[b+4>>2]){q[b+4>>2]=0}return b}I(242848,242873,195,242890);F()}Pa(f);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;Pa(b);return 271312}function YH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Na(c,0,208);g=q[a>>2];a:{if((g|0)<1){break a}c=0;while(1){if((c|0)>=q[b>>2]){break a}j=(q[a+8>>2]+a|0)+(h<<3)|0;e=q[j>>2];k=(q[b+8>>2]+b|0)+(c<<3)|0;f=e-q[k>>2]|0;b:{if((f|0)>=1){c=c+1|0;break b}if((f|0)<=-1){h=h+1|0;break b}m=e;i=0;c:{if((e|0)>51){break c}g=e;f=e&31;i=0;if(!((32<=(e&63)>>>0?901422>>>f|0:((1<>>f)&1)){break c}f=(e<<4)+504240|0;e=g&31;i=(32<=(g&63)>>>0?147153>>>e|0:((1<>>e)&1?0:f}e=q[j+4>>2];g=e&1?(e&-2)+j|0:e;e=q[k+4>>2];e=ZH(m,i,g,e&1?(e&-2)+k|0:e,l,d);if(!e){return 0}e=(e|0)!=0;c=e+c|0;h=e+h|0;g=q[a>>2]}if((h|0)<(g|0)){continue}break}}return 1}function Ll(a){var b=0,c=0;a:{if(!a){break a}c=q[a>>2];if(!c){break a}q[a+44>>2]=0;q[a+48>>2]=0;b=q[a+52>>2];if((b|0)!=(a+72|0)){if(b){n[q[c+8>>2]](c,b)}q[a+52>>2]=0}q[a+56>>2]=0;q[a+60>>2]=0;b=q[a- -64>>2];if((b|0)!=(a+864|0)){if(b){n[q[c+8>>2]](c,b)}q[a+64>>2]=0}b=a+1392|0;q[b>>2]=0;q[b+4>>2]=0;b=q[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){n[q[c+8>>2]](c,b)}q[a+1400>>2]=0}b=a+1404|0;q[b>>2]=0;q[b+4>>2]=0;b=q[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){n[q[c+8>>2]](c,b)}q[a+1412>>2]=0}b=q[a+40>>2];if((b|0)!=(a+2760|0)){if(b){n[q[c+8>>2]](c,b)}q[a+40>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0;b=q[a+28>>2];if((b|0)!=(a+2792|0)){if(b){n[q[c+8>>2]](c,b)}q[a+28>>2]=0}q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0}}function ot(a){var b=0,c=0,d=0,e=0;c=q[a+52>>2];b=q[a+48>>2];d=(b|0)!=0;if((b|0)!=(d|0)){e=c+(b<<2)|0;b=b-d|0;c=c+(d<<2)|0;while(1){d=q[(b?c:271312)>>2];La(q[d+16>>2]);q[d+16>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;d=(b|0)!=0;b=b-d|0;c=(d<<2)+c|0;if((e|0)!=(c|0)){continue}break}c=q[a+52>>2]}La(c);q[a+52>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;nt(a+56|0);b=q[a+40>>2];if(b){while(1){q[a+40>>2]=q[b+20>>2];La(q[b+16>>2]);q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;b=q[a+40>>2];if(b){continue}break}}q[a+24>>2]=0;c=q[a+36>>2];b=q[a+32>>2];if(b){d=(b<<2)+c|0;while(1){La(q[(b?c:271312)>>2]);e=(b|0)!=0;b=b-e|0;c=(e<<2)+c|0;if((d|0)!=(c|0)){continue}break}c=q[a+36>>2]}La(c);q[a+36>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0}function Es(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=q[a>>2];if(f){d=q[a+8>>2];e=f;while(1){q[d+24>>2]=-1;q[d+16>>2]=q[d+16>>2]&-5;d=d+28|0;e=e+ -1|0;if(e){continue}break}}if(!b){q[a+4>>2]=0;return}d=0;e=0;while(1){if(!d){h=r[c|0];d=128;c=c+1|0}a:{if(!(d&h)){break a}j=q[a+8>>2]+w(e,28)|0;i=q[j+16>>2];if(i&4){break a}q[j+16>>2]=i|4;if(g>>>0>=f>>>0){break a}q[q[a+12>>2]+(g<<2)>>2]=j;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}q[a+4>>2]=g;if((g|0)>=2){h=q[a+12>>2];a=1;while(1){i=q[h+(a<<2)>>2];e=q[i>>2];d=a;while(1){b=d+ -1|0;f=h+(b<<2)|0;c=q[f>>2];if(q[c>>2]>=(e|0)){q[h+(d<<2)>>2]=c;q[f>>2]=i;c=(d|0)>1;d=b;if(c){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}}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,j=0,k=0;a:{b=q[a+72>>2];h=q[b+172>>2];if((h|0)!=q[160399]){if(!c){break a}j=f,k=n[h](a,q[a+76>>2],q[d>>2],q[b+36>>2])|0,q[j>>2]=k;b=1;if((c|0)==1){break a}while(1){f=f+g|0;d=d+e|0;h=q[a+72>>2];j=f,k=n[q[h+172>>2]](a,q[a+76>>2],q[d>>2],q[h+36>>2])|0,q[j>>2]=k;b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}b=q[a+12>>2];h=q[b+72>>2];n[q[h+180>>2]](b,q[b+76>>2],c,d,e,f,g,q[h+44>>2]);if(!c){break a}e=q[a+12>>2];d=0;while(1){b=q[f>>2];b:{if(!e){break b}h=q[a+24>>2];i=q[e+24>>2];if((h|0)==(i|0)){break b}b=X$(W$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[f>>2]=b;f=f+g|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}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,j=0,k=0;a:{b=q[a+72>>2];h=q[b+168>>2];if((h|0)!=q[160398]){if(!c){break a}j=f,k=n[h](a,q[a+76>>2],q[d>>2],q[b+32>>2])|0,q[j>>2]=k;b=1;if((c|0)==1){break a}while(1){f=f+g|0;d=d+e|0;h=q[a+72>>2];j=f,k=n[q[h+168>>2]](a,q[a+76>>2],q[d>>2],q[h+32>>2])|0,q[j>>2]=k;b=b+1|0;if((c|0)!=(b|0)){continue}break}break a}b=q[a+12>>2];h=q[b+72>>2];n[q[h+176>>2]](b,q[b+76>>2],c,d,e,f,g,q[h+40>>2]);if(!c){break a}e=q[a+12>>2];d=0;while(1){b=q[f>>2];b:{if(!e){break b}h=q[a+20>>2];i=q[e+20>>2];if((h|0)==(i|0)){break b}b=X$(W$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[f>>2]=b;f=f+g|0;d=d+1|0;if((d|0)!=(c|0)){continue}break}}}function Td(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=r[a|0];f=(c+ -65&255)>>>0<26?c+32|0:c;a:{if((f|0)!=117){break a}c=r[a+1|0];if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=110){break a}c=r[a+2|0];if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=100){break a}e=1;c=r[a+3|0];if((c|0)==45){break a}e=!c}g=2;b:{c=r[b|0];d=(c+ -65&255)>>>0<26?c+32|0:c;c:{if((f&255)!=(d&255)){c=e;break c}h=a;while(1){c=f&255;if(!c){g=e?g:0;break b}g=e?g:(c|0)!=45?g:1;h=h+1|0;c=e?(h-a|0)==4?0:e:0;e=c;d=r[h|0];f=(d+ -65&255)>>>0<26?d+32|0:d;b=b+1|0;d=r[b|0];d=(d+ -65&255)>>>0<26?d+32|0:d;if((f&255)==(d&255)){continue}break}}if(c){break b}a=f&255;if(a?(a|0)!=45:0){break b}a=d&255;if(a?(a|0)!=45:0){break b}return 1}return g}function XV(a,b,c,d){var e=0,f=0,g=0;g=Da-16|0;Da=g;f=q[a>>2];e=q[a+4>>2];q[d+24>>2]=q[a+8>>2];q[d+20>>2]=e;q[d+16>>2]=f;q[d+8>>2]=b;b=0;q[d+4>>2]=0;q[d+12>>2]=0;a=e>>>0<4?271312:f;q[d>>2]=a;q[d+28>>2]=a+4;e=o[a|0];f=0;a:{b:{if((e|0)>-1){break b}e=a;a=r[a+3|0]|r[a+2|0]<<8;a=a?e+a|0:271312;q[g+12>>2]=a;if(!ou(g+12|0,c,d+16|0)){break a}q[d+12>>2]=q[g+12>>2]-a;a=q[d>>2];e=r[a|0];f=q[d+4>>2]}if(f>>>0>=(r[a+1|0]|e<<8&3840)>>>0){break a}c=q[d+16>>2];a=q[d+28>>2];if(c>>>0>a>>>0){break a}c=c+q[d+20>>2]|0;if(a>>>0>c>>>0){break a}c=c-a|0;if(c>>>0<4){break a}b=r[a+2|0];b=(w(q[d+8>>2],b>>>5&2|b>>>7)<<1)+4|0;a=r[a+1|0]|r[a|0]<<8;b=(b|0)!=0&c>>>0>=(a>>>0>>0?b:a)>>>0}Da=g+16|0;return b}function Ss(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[(c?16:12)+b>>2];b=q[(c?8:4)+b>>2];f=w(c,7452)+a|0;g=f+7488|0;a:{if(q[f+7492>>2]==(h|0)?(b|0)==q[g>>2]:0){break a}q[g>>2]=b;q[f+48>>2]=h;q[f+44>>2]=b;q[f+7492>>2]=h;if(!q[f+260>>2]){break a}g=0;i=w(c,7452)+a|0;while(1){a=w(g,28)+i|0;c=a;d=Ma(q[a+264>>2],b)+h|0;q[a+272>>2]=d;q[a+268>>2]=d;d=Ma(q[a+276>>2],b)+h|0;q[a+284>>2]=d;q[a+280>>2]=d;q[a+288>>2]=q[a+288>>2]&-2;if(Ma(q[a+264>>2]-q[a+276>>2]|0,b)+48>>>0<=96){d=q[a+268>>2]+32&-64;q[c+272>>2]=d;d=Za(d,b)-q[a+276>>2]|0;e=d>>31;e=Ma(e^d+e,b);e=(e|0)<32?0:e+32&-64;q[a+284>>2]=q[c+272>>2]-((d|0)<0?0-e|0:e);q[a+288>>2]=q[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function QT(a,b,c){a=a|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:{i=q[q[a+112>>2]>>2];if(!i){break a}e=q[c+76>>2];if(!e){break a}b=e+ -1|0;a=0;f=q[c+88>>2];d=r[f+15|0];while(1){b:{if((a|0)==(b|0)){a=e;break b}a=a+1|0;if((d|0)==r[(w(a,20)+f|0)+15|0]){continue}}break}d=0;g=e;h=f;while(1){b=a;c:{if(d>>>0>=a>>>0){break c}while(1){a=w(d,20)+f|0;if(!(q[a+4>>2]&i)){break c}if(r[a+12|0]&16){o[a+18|0]=18;g=q[c+76>>2];h=q[c+88>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=g>>>0>a>>>0?g:a;j=d+ -1|0;k=r[(w(b,20)+h|0)+15|0];a=b;while(1){d:{if((a|0)==(j|0)){a=d;break d}a=a+1|0;if(r[(w(a,20)+h|0)+15|0]==(k|0)){continue}}break}d=b;if(d>>>0>>0){continue}break}}}function Oi(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{f=q[a+4>>2];if((f|0)>=0){d=q[a+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(f>>>0>=e>>>0){break b}d=f;while(1){d=((d>>>1|0)+d|0)+8|0;if(d>>>0<=e>>>0){continue}break}if(!(d>>>0>>0|d>>>0>268435454)){f=db(q[a+12>>2],d<<4);if(f){break c}}q[a+4>>2]=-1}d=q[67831];q[160746]=q[67830];q[160747]=d;d=q[67829];q[160744]=q[67828];q[160745]=d;g=642976;break a}q[a+4>>2]=d;q[a+12>>2]=f;d=q[a+8>>2]}if(e>>>0>d>>>0){Na(q[a+12>>2]+(d<<4)|0,0,e-d<<4)}q[a+8>>2]=e;g=(q[a+12>>2]+(e<<4)|0)+ -16|0}d=g;q[d>>2]=b;e=q[c+12>>2];f=q[c+4>>2];h=q[c>>2];b=q[a>>2];q[d+12>>2]=0;q[d+4>>2]=b+h;d=e-b|0;b=f-b|0;b=b>>>0>f>>>0?0:b;q[g+8>>2]=b>>>0>d>>>0?d:b;q[a>>2]=q[c+12>>2]}function Mx(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;e=bn(q[b+16>>2]+156|0);f=q[e+16>>2];g=q[e+12>>2];q[d+12>>2]=b;q[d+8>>2]=a;a=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=a;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;e=ub(e);o[d+44|0]=0;q[d+52>>2]=e;c=q[a+32>>2];if((c|0)==-1){c=lc(a)}o[d+60|0]=1;q[d+56>>2]=c;a=q[e+12>>2];q[d+28>>2]=a;c=a;a=q[e+16>>2];q[d+32>>2]=c+a;if((a|0)<=-1){I(228416,228441,195,228458);F()}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;a=Lx(q[b+16>>2]+160|0);q[d+64>>2]=t[a+16>>2]<12?271312:q[a+12>>2];Kx(f>>>0<8?271312:g,d+8|0);Pa(q[d+52>>2]);Da=d+80|0}function Pt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=q[b+4>>2];b:{if(g>>>0>a>>>0){break b}e=q[b+8>>2];if(e>>>0>>0){break b}d=e-a|0;if(d>>>0<4){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1|d>>>0<8){break b}d=c+ -2|0;q[b+12>>2]=d;if((c|0)<2){break b}i=r[a+7|0]|r[a+6|0]<<8;if(!i){return 1}a=a+8|0;while(1){if(e>>>0>>0|g>>>0>a>>>0|e-a>>>0<2){break a}c=d+ -1|0;q[b+12>>2]=c;if((d|0)<1){break a}h=r[a+1|0];f=r[a|0];j=h|f<<8;if(j){c=a+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}c=d+ -2|0;q[b+12>>2]=c;if((d|0)<2){break a}h=r[a+1|0];f=r[a|0]}a=(f<<10|h<<2|2)+a|0;f=1;d=c;k=k+1|0;if((i|0)!=(k|0)){continue}break}}return f}return 0}function Fm(a,b,c){var d=0,e=0,f=0,g=x(0),h=0,i=0;a:{b:{e=r[a+5|0];d=r[a+4|0];f=e|d<<8;if(f+ -1>>>0>=3){if((f|0)!=32768){break a}g=x(Sv(a,b,c)*x(q[b+20>>2]));b=q[b+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}g=x(J(x(x(g/x(a>>>0)))));if(!(x(y(g))>2];if(!c){break a}d=e|d<<8;if(d+ -1>>>0>2){break a}e=r[a+1|0]|r[a|0]<<8;if(c>>>0>>0|(r[a+3|0]|r[a+2|0]<<8)>>>0>>0){break a}h=a;a=c-e|0;e=4-d|0;f=a>>>e|0;f=(f|0)<0?271312:(h+(f<<1)|0)+6|0;h=(r[f|0]<<8|r[f+1|0])>>>16-((a&(-1<>>16-(1<>>0>>1>>>0?0:a)|0;if(!a){break a}b=q[b+20>>2];return X$(W$(b,b>>31,a,a>>31),Ea,c,0)}i=-2147483648}return i}function Em(a,b,c){var d=0,e=0,f=0,g=x(0),h=0,i=0;a:{b:{e=r[a+5|0];d=r[a+4|0];f=e|d<<8;if(f+ -1>>>0>=3){if((f|0)!=32768){break a}g=x(Sv(a,b,c)*x(q[b+24>>2]));b=q[b+16>>2];a=q[b+28>>2];if(!a){a=xb(b)}g=x(J(x(x(g/x(a>>>0)))));if(!(x(y(g))>2];if(!c){break a}d=e|d<<8;if(d+ -1>>>0>2){break a}e=r[a+1|0]|r[a|0]<<8;if(c>>>0>>0|(r[a+3|0]|r[a+2|0]<<8)>>>0>>0){break a}h=a;a=c-e|0;e=4-d|0;f=a>>>e|0;f=(f|0)<0?271312:(h+(f<<1)|0)+6|0;h=(r[f|0]<<8|r[f+1|0])>>>16-((a&(-1<>>16-(1<>>0>>1>>>0?0:a)|0;if(!a){break a}b=q[b+24>>2];return X$(W$(b,b>>31,a,a>>31),Ea,c,0)}i=-2147483648}return i}function eu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<32){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=1;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)==65536){break a}b:{if((c|0)!=131072){break b}c=a+32|0;if(d>>>0>c>>>0|e>>>0>>0|e-c>>>0<2){break b}q[b+12>>2]=f+ -2;if((f|0)<2){break b}c=r[a+33|0]|r[a+32|0]<<8;if(!c){break a}h=d;d=a+34|0;if(h>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break b}q[b+12>>2]=f+ -3;if((f|0)>2){break a}}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==196608}return g}function _S(a,b,c,d,e){var f=0;if(!q[c+76>>2]){return 1}a:{if(q[c+4>>2]){if(q[c+44>>2]==1){if(!q[a>>2]){return 0}if(q[a+12>>2]==q[b+16>>2]){if(dt(a+16|0,c+48|0)){f=q[a+52>>2];if((f|0)!=566){break a}b:{if(q[b+88>>2]){break b}while(1){if(!q[b+84>>2]){return 0}f=q[b+88>>2];q[b+88>>2]=f?f:1;if(!f){break b}if(!q[b+88>>2]){continue}break}}return(Bt(a,b,c,d,e)|0)!=0}I(270743,270556,395,270628);F()}I(270705,270556,394,270628);F()}I(270650,270556,389,270628);F()}I(270595,270556,388,270628);F()}if((f|0)!=567){return 0}c:{if(q[b+92>>2]){break c}while(1){if(!q[b+84>>2]){return 0}f=q[b+92>>2];q[b+92>>2]=f?f:1;if(!f){break c}if(!q[b+92>>2]){continue}break}}return(cu(a,b,c,d,e)|0)!=0}function rv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break b}if((r[a+1|0]|r[a|0]<<8)!=1){break a}if(!Tb(a+2|0,b,a)){break b}f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break b}g=r[a+5|0]|r[a+4|0]<<8;if(!g){break a}c=a+6|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break a}c=1;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=0;while(1){if(!Fv(((c<<1)+a|0)+6|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}c=0}return c}function NZ(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break b}d=q[b+12>>2];q[b+12>>2]=d+ -1;c=1;if((d|0)<1){break b}if((r[a+1|0]|r[a|0]<<8)!=1){break a}if(!Tb(a+2|0,b,a)){break b}f=q[b+4>>2];c=a+4|0;if(f>>>0>c>>>0){break b}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break b}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=1;if((e|0)<1){break b}g=r[a+5|0]|r[a+4|0]<<8;if(!g){break a}c=a+6|0;if(f>>>0>c>>>0|d>>>0>>0|d-c>>>0>>0){break b}q[b+12>>2]=e+ -2;c=0;if((e|0)<2){break a}c=1;d=r[a+5|0]|r[a+4|0]<<8;if(!d){break a}c=0;while(1){if(!KZ(((c<<1)+a|0)+6|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}c=0}return c}function up(a,b,c,d){a:{b:{if(b>>>0>20){break b}b=b+ -9|0;if(b>>>0>9){break b}c:{switch(b-1|0){default:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];return;case 0:b=q[c>>2];q[c>>2]=b+4;b=q[b>>2];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 1:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=q[b>>2];q[a+4>>2]=0;return;case 3:b=q[c>>2];q[c>>2]=b+4;b=p[b>>1];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 4:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=s[b>>1];q[a+4>>2]=0;return;case 5:b=q[c>>2];q[c>>2]=b+4;b=o[b|0];q[a>>2]=b;q[a+4>>2]=b>>31;return;case 6:b=q[c>>2];q[c>>2]=b+4;q[a>>2]=r[b|0];q[a+4>>2]=0;return;case 2:case 7:break a;case 8:break c}}n[d](a,c)}return}b=q[c>>2]+7&-8;q[c>>2]=b+8;c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c}function tf(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=1;i=d&2147483647;m=i;k=c;a:{if(!c&(i|0)==2147418112?a|b:(i|0)==2147418112&c>>>0>0|i>>>0>2147418112){break a}l=h&2147483647;n=l;i=g;if(!g&(l|0)==2147418112?e|f:(l|0)==2147418112&g>>>0>0|l>>>0>2147418112){break a}if(!(a|e|(i|k)|(b|f|(m|n)))){return 0}k=d&h;if((k|0)>0?1:(k|0)>=0?(c&g)>>>0<0?0:1:0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:(d|0)<(h|0)?1:(d|0)<=(h|0)?c>>>0>=g>>>0?0:1:0){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:(d|0)>(h|0)?1:(d|0)>=(h|0)?c>>>0<=g>>>0?0:1:0){break a}j=(a^e|c^g)!=0|(b^f|d^h)!=0}return j}function jF(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;a:{b:{if(!a){break b}b=q[a+8>>2];a=gb(b,636,c+8|0);if(q[c+8>>2]){break b}q[a+436>>2]=32;q[a+8>>2]=b;f=a,g=Oa(b,16,0,32,0,c+12|0),q[f+440>>2]=g;if(!q[c+12>>2]){q[a+444>>2]=0;q[a+392>>2]=0;q[a+396>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[c+8>>2]=0;break a}q[a+444>>2]=0;b=q[a+8>>2];d=b;e=q[a+24>>2];if(e){n[q[d+8>>2]](d,e)}q[a+20>>2]=0;q[a+24>>2]=0;d=q[a+440>>2];if(d){n[q[b+8>>2]](b,d)}q[a+440>>2]=0;q[a+432>>2]=0;q[a+436>>2]=0;d=q[a+396>>2];if(d){n[q[b+8>>2]](b,d)}q[a+392>>2]=0;q[a+396>>2]=0;q[a>>2]=0;q[a+4>>2]=0;if(a){n[q[b+8>>2]](b,a)}b=q[c+12>>2];q[c+8>>2]=b;if(!b){break a}}a=0}Da=c+16|0;return a}function fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b+ -44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){q[c>>2]=b-e;q[d>>2]=e+4519;break b}b=(f>>>0)/588|0;q[c>>2]=b|4352;q[d>>2]=(((a-w(b,588)&65535)>>>0)/28|0)+4449;break b}e=0;if(b>>>0>195101){break a}a=s[(r[(b>>>6|0)+192844|0]<<7|(b&63)<<1)+208e3>>1];if(!a){break a}b=a+ -1|0;if(b>>>0<=934){if(b>>>0<=824){a=s[(b<<1)+224928>>1]}else{a=s[(a<<1)+224940>>1]|131072}q[c>>2]=a;q[d>>2]=0;break b}b=a+ -936|0;if(b>>>0<=637){a=q[(b<<2)+219264>>2];q[c>>2]=a>>>21;q[d>>2]=a>>>14&127|768;break b}a=(a<<3)+209232|0;b=q[a+4>>2];e=q[a>>2];q[c>>2]=b>>>10;q[d>>2]=((b&2097151)<<11|e>>>21)&2097151}e=1}return e|0}function ID(a,b){a=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=Da+ -64|0;Da=d;q[d+8>>2]=0;n[q[b+60>>2]](b,d+16|0,4,d+12|0);c=q[d+12>>2];a:{if((c|0)<=-1){c=162;q[d+8>>2]=162;break a}b:{if(!c|(c|0)>=5){break b}c=Bh(a,0,c);q[d+8>>2]=c;if(c){break a}if(q[d+12>>2]<1){c=0;break a}h=q[a+100>>2];i=q[a+532>>2];while(1){a=(d+16|0)+w(f,12)|0;c=q[a>>2];if(r[c|0]==47){c=c+1|0;q[a>>2]=c}g=q[a+4>>2]-c|0;if(!g){break b}e=(f<<2)+i|0;c=q[e+8>>2];if(c){if(c){n[q[h+8>>2]](h,c)}}c=e;e=gb(h,g+1|0,d+8|0);q[c+8>>2]=e;c=q[d+8>>2];if(c){break a}j=Qa(e,q[a>>2],g)+g|0,k=0,o[j|0]=k;f=f+1|0;if((f|0)>2]){continue}break}c=q[d+8>>2];break a}c=3;q[d+8>>2]=3}q[b+12>>2]=c;Da=d- -64|0}function Zs(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=o[a|0];g=f&255;if((f|0)>-1){q[c>>2]=g;return e}a:{if(g+ -194>>>0<=29){if(e>>>0>=b>>>0){break a}b=r[a+1|0]+ -128|0;if(b>>>0>=64){break a}q[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=r[e|0]+ -128|0;if(b>>>0>63){break a}f=r[a+2|0]+ -128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}q[c>>2]=b;return a+3|0}if((b-e|0)<3|g+ -240>>>0>4){break a}b=r[e|0]+ -128|0;if(b>>>0>63){break a}f=r[a+2|0]+ -128|0;if(f>>>0>63){break a}h=r[a+3|0]+ -128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b+ -65536>>>0>=1048576){break a}e=a+4|0;d=b}q[c>>2]=d;return e}function Y_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da+ -64|0;Da=c;d=r[a+3|0]|r[a+2|0]<<8;if(Vb(d?d+a|0:271312,q[b+8>>2])){h=r[a+5|0]|r[a+4|0]<<8;d=a;a=r[a+3|0]|r[a+2|0]<<8;a=a?d+a|0:271312;g=r[a|0]<<8|r[a+1|0];d=g+ -1|0;a:{if(d>>>0>1){a=0;f=0;break a}f=0;if(d-1){break a}d=r[a+3|0]|r[a+2|0]<<8;e=d?a+4|0:271704;e=(r[e+1|0]|r[e|0]<<8)>>>0>(r[e+3|0]|r[e+2|0]<<8)>>>0?d:0;f=d?r[a+5|0]|r[a+4|0]<<8:0}d=f;q[c+52>>2]=0;q[c+48>>2]=e;q[c+56>>2]=d;q[c+44>>2]=a;q[c+40>>2]=g;q[c+60>>2]=h;b=q[b+16>>2];a=q[c+52>>2];q[c+16>>2]=q[c+48>>2];q[c+20>>2]=a;a=q[c+60>>2];q[c+24>>2]=q[c+56>>2];q[c+28>>2]=a;q[c+32>>2]=b;a=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=a;R_(c+32|0,c+8|0)}Da=c- -64|0}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=q[a+760>>2];a:{if(h>>>0>b>>>0){g=q[a+764>>2];b:{if(s[a+210>>1]){e=g+(b<<2)|0;d=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[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=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=r[f|0]<<8|r[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f+ -2|0;d=r[d|0]<<8|r[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=q[a+724>>2];if(f>>>0>e>>>0){q[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}q[c>>2]=g;return a|0}function bW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];h=g+ -1|0;q[b+12>>2]=h;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}h=g+ -2|0;q[b+12>>2]=h;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}g=e;a=q[d>>2];c:{if(a>>>0>2147483646){break c}e=1;if(!a){break a}c=c+g|0;if(i>>>0>c>>>0|f>>>0>>0|f-c>>>0>>0){break c}q[b+12>>2]=h+ -1;if((h|0)>0){break a}}e=0}return e}function hh(a,b){var c=0,d=0,e=0,f=0;e=q[b+12>>2];d=q[b+4>>2];a:{if(e>>>0>=d>>>0){o[b+16|0]=1;c=271312;break a}c=q[b>>2]+e|0}f=r[c|0]<<24;c=e+1|0;b:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break b}c=c+q[b>>2]|0}f=f|r[c|0]<<16;c=e+2|0;c:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break c}c=c+q[b>>2]|0}f=f|r[c|0]<<8;c=e+3|0;d:{if(c>>>0>=d>>>0){o[b+16|0]=1;c=271312;break d}c=c+q[b>>2]|0}f=f|r[c|0];c=q[a+4>>2];e:{if(c>>>0>2]){q[a+4>>2]=c+1;a=q[a+16>>2]+(c<<3)|0;break e}o[a|0]=1;a=q[67829];q[160744]=q[67828];q[160745]=a;d=q[b+4>>2];a=642976}v[a>>3]=f|0;f:{if(r[b+16|0]|e>>>0>d>>>0){break f}a=e+4|0;if(a>>>0>d>>>0){break f}q[b+12>>2]=a;return}o[b+16|0]=1;q[b+12>>2]=d}function YZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>536870910){break a}if(e){i=f;f=a+4|0;if(i>>>0>f>>>0|d>>>0>>0|d-f>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!g){break a}h=0;d=0;while(1){e=(d<<3)+a|0;f=q[c>>2];if(!BZ(e+4|0,b,f)){break a}if(!AZ(e+8|0,b,f)){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}}h=1}return h}function Wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-16|0;Da=d;e=q[a+11724>>2];if(r[q[a+11676>>2]+5|0]){h=!r[a+11665|0]}else{h=0}f=q[a+11720>>2];if(!((c|0)==(e|0)?!(h|(f|0)!=(b|0)):0)){Cl(a,f,e,b,c,d+12|0,d+8|0);g=q[d+12>>2];i=g+q[a+11720>>2]|0;q[d>>2]=i;e=q[d+8>>2];f=e+q[a+11724>>2]|0;q[d+4>>2]=f;e=c+e|0;g=b+g|0;if(r[a+11667|0]){as(a,i,f);o[a+11664|0]=1;o[a+11667|0]=0;q[a+11712>>2]=g;q[a+11716>>2]=e}if(r[a+11744|0]){Ee(a,a+8|0,d,g,e,0)}q[a+11748>>2]=2;o[a+11744|0]=1;f=q[d+4>>2];q[a+11752>>2]=q[d>>2];q[a+11756>>2]=f;q[a+11760>>2]=g;q[a+11764>>2]=e;if(h){De(a+8|0,q[a+11668>>2],q[a+11672>>2],q[a+11676>>2],q[a+11680>>2],0)}q[a+11724>>2]=c;q[a+11720>>2]=b}Da=d+16|0}function aI(){var a=0,b=0,c=0,d=0,e=0,f=0;d=Kb(503519);a:{if(!q[160548]){break a}if(d){return eb(d)}a=Kb(503475);if(a){e=Wa(a)}d=Sa(e+14|0);if(!d){break a}if(a){Qa(d,a,e)}c=r[503537]|r[503538]<<8|(r[503539]<<16|r[503540]<<24);b=d+e|0;a=b;f=r[503533]|r[503534]<<8|(r[503535]<<16|r[503536]<<24);o[a|0]=f;o[a+1|0]=f>>>8;o[a+2|0]=f>>>16;o[a+3|0]=f>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;a=r[503542]|r[503543]<<8|(r[503544]<<16|r[503545]<<24);c=r[503538]|r[503539]<<8|(r[503540]<<16|r[503541]<<24);o[b+5|0]=c;o[b+6|0]=c>>>8;o[b+7|0]=c>>>16;o[b+8|0]=c>>>24;o[b+9|0]=a;o[b+10|0]=a>>>8;o[b+11|0]=a>>>16;o[b+12|0]=a>>>24;o[d+(e+13|0)|0]=0;b=d}return b}function qf(a){var b=0,c=0,d=0,e=0;c=q[a+420>>2];a:{if(!c){break a}b=q[a+412>>2];if((b|0)<1){break a}b=w(b,24)+c|0;d=r[a+372|0];while(1){if(!(!r[c+16|0]|(d|0)!=r[c+12|0])){b=q[a+432>>2];if((b|0)>=q[a+436>>2]){q[a+12>>2]=130;return}q[a+432>>2]=b+1;b=q[a+440>>2]+(b<<4)|0;q[b>>2]=q[a+356>>2];d=q[a+364>>2];q[b+12>>2]=c;q[b+8>>2]=1;q[b+4>>2]=d+1;d=q[c>>2];b=d+ -1|0;b:{if(b>>>0>=3){q[a+12>>2]=132;break b}e=q[((b<<3)+a|0)+448>>2];if(!e){q[a+12>>2]=138;break b}b=q[((b<<3)+a|0)+452>>2];c=q[c+4>>2];if((b|0)<(c|0)){q[a+12>>2]=131;break b}q[a+368>>2]=b;q[a+360>>2]=e;q[a+364>>2]=c;q[a+356>>2]=d}o[a+380|0]=0;return}c=c+24|0;if(c>>>0>>0){continue}break}}q[a+12>>2]=128}function DW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=q[b+144>>2];a:{if(e){break a}f=b+144|0;while(1){if(!q[b>>2]){e=271312;break a}e=uW(f);g=q[f>>2];e=e?e:271312;q[f>>2]=g?g:e;if(!g){break a}if((e|0)!=271312){g=q[e>>2];Pa(g?g:271312);La(e)}e=q[f>>2];if(!e){continue}break}}g=1;b:{if(tW(e,a,c,d)){break b}if(wu(kh(b+48|0),a,c,d)){break b}if(JX(om(b+52|0),a,c,d)){break b}e=q[b+56>>2];c:{if(e){break c}while(1){e=q[b>>2];if(!e){e=271312;break c}f=ab(1,128);if(f){sW(f,e)}h=q[b+56>>2];e=f?f:271312;q[b+56>>2]=h?h:e;if(!h){break c}if(!(!f|!e)){Yd(e);La(e)}e=q[b+56>>2];if(!e){continue}break}}if(oX(e,a,c,d)){break b}g=pW(qW(b+140|0),a,c,d)}return g|0}function XO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Da-16|0;Da=g;a:{if(!a){e=37;break a}e=6;if(!b){break a}f=q[a>>2];if(!f){break a}b:{c=q[a+72>>2];d=354792;c:{if((c|0)==1651078259){break c}d=354824;if((c|0)==1869968492){break c}d=_F(f,c);if(!d){break b}d=d+20|0}c=gb(q[f>>2],q[d>>2],g+12|0);e=q[g+12>>2];if(e){break a}q[c+4>>2]=d;q[c>>2]=f;q[c+8>>2]=q[d+4>>2];e=6;d:{f=q[a+64>>2];e:{if(f+2097151>>>0>4194302){break e}h=q[a+68>>2];if(h+2097151>>>0>4194302){break e}q[c+16>>2]=h<<10;q[c+12>>2]=f<<10;e=n[q[d+8>>2]](c,a)|0;if(!e){break d}d=q[c+4>>2]}a=q[q[c>>2]>>2];b=q[d+12>>2];if(b){n[b](c)}if(c){n[q[a+8>>2]](a,c)}break a}q[b>>2]=c;e=0;break a}e=18}Da=g+16|0;return e}function rp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;f=d?d:644896;d=q[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=r[b|0];d=a<<24>>24;if((d|0)>=0){q[i>>2]=a;e=(d|0)!=0;break a}a=o[b|0];if(!q[q[160602]>>2]){q[i>>2]=a&57343;e=1;break a}a=(a&255)+ -194|0;if(a>>>0>50){break c}d=q[(a<<2)+508272>>2];a=c+ -1|0;if(!a){break b}b=b+1|0}g=r[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){q[f>>2]=0;q[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=r[b|0];if((g&192)==128){continue}break}}q[f>>2]=0;q[160942]=25;e=-1;break a}q[f>>2]=d}Da=h+16|0;return e}function jW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!Dm(a+2|0,b,a)){break a}f=q[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}g=r[a+7|0]|r[a+6|0]<<8;if(!g){return 1}h=f;f=a+8|0;if(h>>>0>f>>>0|c>>>0>>0|c-f>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=1;c=r[a+7|0]|r[a+6|0]<<8;if(!c){break a}e=0;b:{while(1){if(!Cm(((e<<2)+a|0)+8|0,b,a)){break b}e=e+1|0;if((c|0)!=(e|0)){continue}break}return 1}e=0}return e}function Lh(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=Da-240|0;Da=h;i=q[d>>2];q[h+232>>2]=i;d=q[d+4>>2];q[h>>2]=a;q[h+236>>2]=d;j=1;a:{b:{c:{d:{if(d?0:(i|0)==1){break d}i=a-q[(e<<2)+g>>2]|0;if((n[c](i,a)|0)<1){break d}l=0-b|0;k=!f;while(1){e:{d=i;if(!(!k|(e|0)<2)){f=q[((e<<2)+g|0)+ -8>>2];i=a+l|0;if((n[c](i,d)|0)>-1){break e}if((n[c](i-f|0,d)|0)>-1){break e}}q[(j<<2)+h>>2]=d;f=h+232|0;a=U$(q[h+232>>2]+ -1|0);if(!a){a=U$(q[h+236>>2]);a=a?a+32|0:0}Mh(f,a);j=j+1|0;e=a+e|0;if(q[h+236>>2]?0:q[h+232>>2]==1){break b}f=0;k=1;a=d;i=a-q[(e<<2)+g>>2]|0;if((n[c](i,q[h>>2])|0)>0){continue}break c}break}d=a;break b}d=a}if(f){break a}}ip(b,h,j);Tj(d,b,c,e,g)}Da=h+240|0}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+28>>2];a:{if((c|0)==-1){break a}d=q[a+36>>2];f=q[a+40>>2];if(d>>>0>=f>>>0){break a}g=q[a>>2];e=c+1|0;h=q[a+16>>2]+20|0;while(1){b:{c=w(d,12)+h|0;b=c+ -4|0;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=e>>>0>>0?b:e;b=c;b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c|c>>>0>=t[g+16>>2]){break b}q[a+36>>2]=d;q[a+32>>2]=c;q[a+28>>2]=e;return}d=d+1|0;if(d>>>0>>0){continue}break}}o[a+24|0]=0}function tD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-208|0;Da=d;q[d+204>>2]=0;a:{b:{c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);c:{if(!b|!c){break c}b=q[b>>2];if(!b){break c}e=n[b](c)|0;if(!e){break c}b=q[a>>2];f=q[b+712>>2];g=gb(q[b+100>>2],1028,d+204|0);b=q[d+204>>2];if(b){break b}go(f+1372|0,d+8|0);b=n[q[e>>2]](q[q[a>>2]+100>>2],d+8|0,g)|0;q[d+204>>2]=b;if(b){break b}i=g+4|0;b=q[f+2024>>2];d:{while(1){if(!b){break d}b=b+ -1|0;c=b<<2;go(q[(c+f|0)+2028>>2],d+8|0);c=n[q[e>>2]](q[q[a>>2]+100>>2],d+8|0,c+i|0)|0;q[d+204>>2]=c;if(!c){continue}break}h=c;break a}q[q[a+40>>2]>>2]=g}q[a+44>>2]=-1;break a}h=b}Da=d+208|0;return h|0}function lV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;h=1;if((g|0)<1){break a}f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(e>>>0>>0|i>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!e){break b}if(kV(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function Pw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{i=q[b+4>>2];if(i>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;h=1;if((g|0)<1){break a}f=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(e>>>0>>0|i>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(!e){break b}if(Ow(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;h=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;h=1}return h}return 0}function zl(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-32|0;Da=f;c=wd(a,3);d=wd(a,2);e=q[a+88>>2];g=1;a:{if(!d){break a}b:{if(c){c=p[c+4>>1]-p[c+6>>1]|0;if(c){break b}}c=p[d+70>>1]-p[d+72>>1]|0}if(!c){break a}d=p[d+78>>1]+p[d+76>>1]|0;if(!d){break a}g=+(c|0)/+(d|0)}q[f+8>>2]=1;q[f+12>>2]=0;q[f+20>>2]=0;q[f+24>>2]=0;c=f;b=g*b*64;c:{if(y(b)<2147483648){d=~~b;break c}d=-2147483648}q[c+16>>2]=d;Zo(a,f+8|0);a=e;b=+q[e+24>>2]/g;d:{if(y(b)<2147483648){c=~~b;break d}c=-2147483648}q[a+24>>2]=c;a=e;b=+q[e+28>>2]/g;e:{if(y(b)<2147483648){c=~~b;break e}c=-2147483648}q[a+28>>2]=c;a=e;b=+q[e+32>>2]/g;f:{if(y(b)<2147483648){e=~~b;break f}e=-2147483648}q[a+32>>2]=e;Da=f+32|0}function ZS(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=Da-48|0;Da=j;a:{b:{if(q[a>>2]){h=q[a+204>>2];while(1){if(!zt(j,0,a,b,c,d,e,f)){g=271312;break b}g=h;if(g){while(1){if($S(q[g>>2]+16|0,j)){g=q[g>>2];if(!g){g=0;break b}if(!q[g>>2]){break b}if(q[g>>2]<=0){break a}q[g>>2]=q[g>>2]+1;break b}g=q[g+4>>2];if(g){continue}break}}g=yt(a,b,c,d,e,f);i=ab(1,8);if(!i){break b}q[i+4>>2]=h;q[i>>2]=g;k=q[a+204>>2];q[a+204>>2]=(h|0)==(k|0)?i:k;if((h|0)==(k|0)){if(!g){g=0;break b}if(!q[g>>2]){break b}if(q[g>>2]<=0){break a}q[g>>2]=q[g>>2]+1;break b}Wl(g);La(i);h=q[a+204>>2];if(q[a>>2]){continue}break}}g=yt(a,b,c,d,e,f)}Da=j+48|0;return g}I(270812,270837,269,270852);F()}function UC(a,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=q[a+712>>2];a:{b:{if(!e){break b}f=q[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=q[e+3096>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f+ -391|0;g=0;if(t[e+1356>>2]<=f>>>0){break c}g=q[q[e+1360>>2]+(f<<2)>>2];break c}a=q[e+3084>>2];g=0;if(!a){break c}g=n[q[a+20>>2]](f)|0}a=g;q[h+3096>>2]=a}q[b>>2]=a}if(c){a=q[e+3100>>2];if(!a){a=0;b=q[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b+ -391|0;if(t[e+1356>>2]<=b>>>0){break d}a=q[q[e+1360>>2]+(b<<2)>>2];break d}f=q[e+3084>>2];if(!f){break d}a=n[q[f+20>>2]](b)|0}q[e+3100>>2]=a}q[c>>2]=a}if(!d){break b}q[d>>2]=q[e+1512>>2]}a=0}return a|0}function tb(a){var b=0;if(a){b=s[a>>1]+ -2|0;a:{if(b>>>0>38){break a}b:{switch(b-1|0){default:La(q[a+8>>2]);break a;case 0:b=q[a+8>>2];if(!b){break a}tb(q[b>>2]);tb(q[b+4>>2]);tb(q[b+8>>2]);tb(q[b+12>>2]);La(b);break a;case 1:La(q[a+8>>2]);break a;case 3:Xc(q[a+8>>2]);break a;case 4:Sd(q[a+8>>2]);break a;case 7:La(q[a+8>>2]);break a;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 33:tb(q[a+12>>2]);break;case 2:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break a;case 32:case 34:case 35:case 36:case 37:break b}}tb(q[a+8>>2])}q[a>>2]=8}}function wo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=q[a>>2];if(!f){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=i<<2;d=q[e+c>>2];b:{if(!d){break b}g=0;e=q[e+q[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=bb(b,e,d);f=q[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){f=g;h=i<<2;k=q[h+c>>2];b=f;c:{if(!k){break c}g=0;j=q[h+q[a+8>>2]>>2];if(!j){break a}b=f;if((j|0)==(k|0)){break c}b=q[d+h>>2];if((j|0)<=(b|0)){break a}h=q[e+h>>2];if((h|0)<=(j|0)){break a}if((j|0)<(k|0)){b=bb(f,j-b|0,k-b|0);break c}b=bb(f,h-j|0,h-k|0)}g=b;i=i+1|0;if(i>>>0>2]){continue}break}}return g}function SE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=p[a+302>>1];if(e){f=q[q[q[a>>2]+96>>2]+64>>2]+ -35|0;a:{if(f>>>0>5){break a}b:{switch(f-1|0){case 4:if(r[a+615|0]){break a}f=c<<3;g=q[f+q[b+16>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+16>>2]>>2]=e+g;break a;case 0:case 1:case 2:case 3:break a;default:break b}}f=c<<3;g=q[f+q[b+16>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+16>>2]>>2]=e+g}e=q[b+24>>2]+c|0;o[e|0]=r[e|0]|8}e=p[a+304>>1];if(e){c:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break c}}f=c<<3;g=q[(f+q[b+16>>2]|0)+4>>2];a=bb(d,e,q[a+568>>2]);q[(f+q[b+16>>2]|0)+4>>2]=a+g}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|16}}function R_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=b+4|0;while(1){a:{c=q[b>>2]+ -1|0;if(c>>>0>1){break a}b:{if(c-1){d=q[b+8>>2];c=q[b+4>>2];if(d>>>0>=(r[c+2|0]<<8|r[c+3|0])>>>0){break a}c=c+(d<<1)|0;c=r[c+4|0]<<8|r[c+5|0];break b}c=q[b+4>>2];if(t[b+8>>2]>=(r[c+2|0]<<8|r[c+3|0])>>>0){break a}c=q[b+16>>2]}d=q[a>>2];c:{if(r[d+12|0]!=1){break c}e=q[b+20>>2];q[d+16>>2]=-1;f=d;d=c+e|0;c=ac(f,d&65535);if(!c){break c}e=c+(d>>>3&56)|0;c=e;h=q[c+4>>2];f=c;i=q[c>>2];e=d&63;d=e&31;if(32<=(e&63)>>>0){e=1<>>32-d;d=1<>2]=i|d;q[c+4>>2]=e|h}c=q[b>>2]+ -1|0;if(c>>>0>1){continue}if(c-1){q[b+8>>2]=q[b+8>>2]+1}else{__(g)}continue}break}}function Hq(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=w(a,d);b=w(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=w(h,a);d=w(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=w(j,k);m=c&65535;n=b>>>16|0;b=l+w(m,n)|0;c=b<<16;g=(w(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+w(a,f)|0;e=g+(d>>>0>>0)|0;a=(w(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+w(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(e>>>0>>0){break b}a=1;if(d>>>0>b>>>0){break b}a=d>>>0>>0?-1:0}return a}function HV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;q[c+24>>2]=0;q[c+28>>2]=-1;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}FV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function Sk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=(a|0)<0?-1:1;e=(b|0)<0?0-e|0:e;j=(c|0)<0?0-e|0:e;e=2147483647;d=c;c=c>>31;c=d+c^c;a:{if(!c){break a}d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=131071){e=(w(a,b)>>>0)/(c>>>0)|0;break a}d=b>>>16|0;f=a&65535;g=w(d,f);h=a>>>16|0;i=b&65535;a=g+w(h,i)|0;b=a<<16;d=(w(d,h)+(a>>>16|0)|0)+((a>>>0>>0)<<16)|0;a=b+w(f,i)|0;b=d+(a>>>0>>0)|0;if(!b){e=(a>>>0)/(c>>>0)|0;break a}if(b>>>0>=c>>>0){break a}d=z(b);f=32-d|0;b=a>>>f|b<>>0)/(c>>>0)|0;b=b-w(c,e)|0;a=a<>>31;b=d-(d>>>0>>0?0:c)|0;e=e<<1|d>>>0>=c>>>0;a=a<<1;f=f+ -1|0;if(f){continue}break}}return(j|0)<0?0-e|0:e}function AV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}vV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function IA(a){q[a+92>>2]=0;q[a+32>>2]=0;q[a+28>>2]=308;q[a+24>>2]=309;q[a+8>>2]=0;q[a+12>>2]=32;q[a>>2]=0;q[a+4>>2]=0;q[a+272>>2]=0;q[a+276>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+96>>2]=0;q[a+576>>2]=0;q[a+580>>2]=0;q[a+64>>2]=0;q[a+68>>2]=0;q[a+252>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+544>>2]=0;q[a+548>>2]=0;q[a+552>>2]=0;q[a+556>>2]=0;q[a+564>>2]=0;q[a+568>>2]=0;q[a+60>>2]=0;q[a+76>>2]=16;q[a+80>>2]=15;q[a+84>>2]=11;q[a+88>>2]=4;p[a+560>>1]=s[a+560>>1]&65472|16;q[a+280>>2]=63;q[a+168>>2]=0;q[a+172>>2]=0;q[a+72>>2]=0;q[a+584>>2]=29332;q[a+588>>2]=152288;return 1}function is(a,b,c,d){var e=0,f=0,g=0,h=0;h=q[a>>2];if(h>>>0>>0){f=1;b=b-h|0;d=d<<1;d=d>>>0>b>>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=r[b+h|0];if(e>>>0>32){break d}switch(e-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:break d;default:break c}}if(e<<24>>24<0){break b}e=r[e+291616|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}o[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}o[c+g|0]=f<<4;g=g+1|0}q[a>>2]=b+h}return g}function Xn(a){var b=0,c=0,d=0,e=0;b=Da-16|0;Da=b;c=Xa(a,0);q[b+12>>2]=c;a:{if(c){break a}c=Wb(a,b+8|0,4);q[b+12>>2]=c;if(c){break a}e=b;b:{c:{if(!(r[b+8|0]!=31|r[b+9|0]!=139|r[b+10|0]!=8)){if(r[b+11|0]<32){break c}}c=3;break b}c=Ib(a,6);q[b+12>>2]=c;d=r[b+11|0];if(d&4){d=No(a,b+12|0);c=q[b+12>>2];if(c){break a}c=Ib(a,d);q[b+12>>2]=c;if(c){break a}d=r[b+11|0];c=0}if(d&8){while(1){d=Ob(a,b+12|0)?0:3;c=q[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=3){break a}d=r[b+11|0]}if(d&16){while(1){d=Ob(a,b+12|0)?0:5;c=q[b+12>>2];d=c?2:d;if(!d){continue}break}if((d|0)!=5){break a}d=r[b+11|0]}if(!(d&2)){break a}c=Ib(a,2)}q[e+12>>2]=c}Da=b+16|0;return c}function zY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=452;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function yY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=453;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function xf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=q[a+16>>2];d=q[a+4>>2];if(i&1|(d|0)<1){break a}j=q[a+12>>2];while(1){b:{c=b;f=q[(e<<2)+j>>2];if((c|0)==(f|0)){break b}while(1){c:{g=r[c|0];h=r[f|0];if(!h){break c}f=f+1|0;c=c+1|0;if((g|0)==(h|0)){continue}}break}if((g|0)==(h|0)){break b}e=e+1|0;if((e|0)!=(d|0)){continue}break a}break}La(b);return 1}d:{if(q[a+8>>2]!=(d|0)){c=q[a+12>>2];break d}g=i&2?64:1;f=g+d|0;c=Sa((f<<2)+4|0);if(!c){return 0}e:{if(!d){e=q[a+12>>2];break e}e=q[a+12>>2];Qa(c,e,d<<2)}if(e){La(e);f=g+q[a+8>>2]|0;d=q[a+4>>2]}q[a+12>>2]=c;q[a+8>>2]=f}q[a+4>>2]=d+1;q[(d<<2)+c>>2]=b;q[q[a+12>>2]+(q[a+4>>2]<<2)>>2]=0;return 1}function xY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=454;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function wY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=455;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function vZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=435;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function uZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=436;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function uY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=456;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function tZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=437;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function sZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=438;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function rZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=439;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function pZ(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=446;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function lv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=440;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function kv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=441;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function jv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=442;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+7|0]|r[b+6|0]<<8;mc(b?d+b|0:271312,a+8|0)}function iv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=443;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function hv(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=444;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function CY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=449;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function BY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=450;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function AY(a,b){var c=0,d=0,e=0;a:{b:{c:{c=q[a>>2];d=q[c>>2];if((d|0)>=0){a=q[c+4>>2];e=a+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}a=d;while(1){a=((a>>>1|0)+a|0)+8|0;if(a>>>0<=e>>>0){continue}break}if(!(a>>>0>>0|a>>>0>214748363)){d=db(q[c+8>>2],w(a,20));if(d){break c}}q[c>>2]=-1}q[160748]=q[67832];a=q[67831];q[160746]=q[67830];q[160747]=a;a=q[67829];q[160744]=q[67828];q[160745]=a;a=642976;break a}q[c>>2]=a;q[c+8>>2]=d;a=q[c+4>>2]}if(e>>>0>a>>>0){Na(q[c+8>>2]+w(a,20)|0,0,w(e-a|0,20))}q[c+4>>2]=e;a=(q[c+8>>2]+w(e,20)|0)+ -20|0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=451;q[a>>2]=b;q[a+16>>2]=0;d=b;b=r[b+3|0]|r[b+2|0]<<8;mc(b?d+b|0:271312,a+8|0)}function m_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(Ev(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function dq(a){var b=0,c=0,d=0,e=0;b=q[a+352>>2];if(!q[b+184>>2]){c=n[q[a+12>>2]](q[a+464>>2]<<2)|0;q[b+184>>2]=c;if(!c){return-1}q[c>>2]=0}c=q[b+164>>2];d=q[b+176>>2];e=q[b+172>>2];if(d>>>0>=e>>>0){a:{b:{if(c){c=n[q[a+16>>2]](c,w(e,56))|0;if(c){break b}return-1}c=n[q[a+12>>2]](896)|0;d=32;if(c){break a}return-1}d=q[b+172>>2]<<1}q[b+164>>2]=c;q[b+172>>2]=d;d=q[b+176>>2]}q[b+176>>2]=d+1;a=q[b+180>>2];if(a){b=q[(q[b+184>>2]+(a<<2)|0)+ -4>>2];a=w(b,28)+c|0;e=q[a+16>>2];if(e){q[(w(e,28)+c|0)+24>>2]=d}e=q[a+20>>2];if(!e){q[(w(b,28)+c|0)+12>>2]=d}q[a+16>>2]=d;q[a+20>>2]=e+1}a=w(d,28)+c|0;q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;return d}function ae(a,b){var c=0,d=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Da-16|0;Da=g;h(+b);d=e(1)|0;i=e(0)|0;m=d&-2147483648;f=d&2147483647;c=f;j=c+ -1048576|0;f=i;k=f;if(f>>>0<0){j=j+1|0}a:{if((j|0)==2145386495&k>>>0<=4294967295|j>>>0<2145386495){l=f<<28;d=(c&15)<<28|f>>>4;c=(c>>>4|0)+1006632960|0;c=d>>>0<0?c+1|0:c;break a}if((c|0)==2146435072&f>>>0>=0|c>>>0>2146435072){l=i<<28;c=d>>>4|0;d=(d&15)<<28|i>>>4;c=c|2147418112;break a}if(!(c|f)){d=0;c=0;break a}k=c;c=(c|0)==1&f>>>0>=0|c>>>0>1?z(c):z(i)+32|0;Fc(g,f,k,0,0,c+49|0);n=q[g>>2];l=q[g+4>>2];d=q[g+8>>2];c=q[g+12>>2]^65536|15372-c<<16}q[a>>2]=n;q[a+4>>2]=l;q[a+8>>2]=d|o;q[a+12>>2]=c|m;Da=g+16|0}function Cm(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(l_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function BS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}if(AS(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0;g=1}return g}return 0}function qQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;q[a>>2]=0;q[a+4>>2]=0;q[a+56>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=q[b>>2];q[a+4>>2]=q[b+4>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=q[b+16>>2];d=q[b+20>>2];q[a+40>>2]=b+48;q[a+36>>2]=b+40;q[a+32>>2]=b+32;q[a+28>>2]=b+28;q[a+24>>2]=b+24;q[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}g=r[b+64|0];e=65;f=67;d=66}e=r[b+e|0];d=r[b+d|0];b=r[b+f|0];f=q[72557];q[a+52>>2]=q[72556];q[a+56>>2]=f;o[a+48|0]=c;o[a+47|0]=b;o[a+46|0]=d;o[a+45|0]=e;o[a+44|0]=g}function YD(a,b,c){a=a|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;f=q[a+532>>2];if(!f){return 6}k=-1;a:{if(!q[f>>2]){break a}j=q[f+4>>2];l=j>>>0>>0?j:b;e=j;while(1){g=65536;i=0;d=0;b:{if(!e){break b}while(1){c:{if(i>>>0>=l>>>0){g=g>>1;break c}d=q[(i<<2)+c>>2];d=h>>>i&1?d:65536-d|0;if((d|0)<1){g=0;d=e;break b}if((d|0)>65535){break c}g=Ma(g,d);j=q[f+4>>2]}i=i+1|0;e=j;d=e;if(i>>>0>>0){continue}break}}e=q[f+136>>2]+(h<<2)|0;d:{if(q[e>>2]==(g|0)){e=d;h=h+1|0;if(h>>>0>2]){continue}if(!m){break a}break d}q[e>>2]=g;m=1;e=d;h=h+1|0;if(h>>>0>2]){continue}}break}c=a;a=q[a+8>>2];q[c+8>>2]=b?a|32768:a&-32769;k=0}return k|0}function PJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c=r[a|0];d=c+ -216|0;c:{if(d>>>0>39){if(c){break b}c=r[r[a+1|0]+e|0]+ -5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break c}c=q[(c<<24>>24<<2)+496572>>2];break a}c=4;d:{switch(d-4|0){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:break b;case 0:case 1:case 2:case 3:break c;case 35:break d;default:break a}}if(r[a+1|0]<=253){break b}}return a-b|0}a=a+2|0;continue}a=a+c|0;continue}}function px(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}d=c-a|0;if(d>>>0<2){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break b}e=r[a+1|0]|r[a|0]<<8;if(e>>>0<9|d>>>0>>0){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=q[b+28>>2];c=q[d+12>>2];q[b+4>>2]=c;e=q[d+16>>2];d=e+c|0;q[b+8>>2]=d;if((e|0)<=-1){break a}c:{if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+4>>2]=0;q[b+8>>2]=0;break c}q[b+4>>2]=a;c=r[a+1|0]|r[a|0]<<8;d=d-a|0;q[b+8>>2]=(d>>>0>c>>>0?c:d)+a}f=ox(a,b);a=q[b+28>>2];c=q[a+12>>2];q[b+4>>2]=c;a=q[a+16>>2];q[b+8>>2]=a+c;if((a|0)<=-1){break a}}return f}I(228416,228441,195,228458);F()}function gK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){a:{b:{c=r[a+1|0];d=c+ -216|0;c:{if(d>>>0>39){if(c){break b}c=r[r[a|0]+e|0]+ -5|0;d=c&255;if(d>>>0>=25|!(25034759>>>d&1)){break c}c=q[(c<<24>>24<<2)+496572>>2];break a}c=4;d:{switch(d-4|0){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:break b;case 0:case 1:case 2:case 3:break c;case 35:break d;default:break a}}if(r[a|0]<=253){break b}}return a-b|0}a=a+2|0;continue}a=a+c|0;continue}}function Pa(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}b=q[a+28>>2];if(b){n[b](q[a+24>>2])}La(a)}return}I(227120,227145,279,227180);F()}function hL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;i=Da-16|0;Da=i;a:{if(!a){e=1;if(!b){break a}}e=0;f=Sa(Wa(c)+4098|0);if(!f){break a}f=tc(f,c);g=Wa(f)+f|0;o[g|0]=47;o[g+1|0]=0;h=Wa(f);if(r[643740]&128){q[i>>2]=c;Ua(490064,i)}g=fk(c);b:{if(!g){e=q[160942]==44;break b}c=Gk(3);if(c){e=Xf(g);c:{if(e){h=f+h|0;while(1){d:{if(r[e+19|0]==46){break d}e=e+19|0;if(Wa(e)>>>0>4095){break d}tc(h,e);if(Ad(c,f)){break d}e=0;break c}e=Xf(g);if(e){continue}break}}Gc(q[c+12>>2],q[c+4>>2],4,836);e=1;if(q[c+4>>2]<1){break c}h=0;while(1){iL(a,b,q[q[c+12>>2]+(h<<2)>>2],d);h=h+1|0;if((h|0)>2]){continue}break}}Yb(c);Wh(g);break b}Wh(g)}La(f)}Da=i+16|0;return e}function $R(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{b:{if(d){h=HG(d);if((h|0)==-1){break b}hb(a,6,3274,0);q[e+12>>2]=c;q[e+8>>2]=c+ -1;d=0;f=Sa(c);c:{if(!f){break c}q[e>>2]=f;q[e+4>>2]=b;b=c;g=c;d=f;d:{e:{while(1){f:{if(b){if((Rj(h,e+4|0,e+12|0,e,e+8|0)|0)==-1){break f}if(i){break d}i=0;b=q[e+12>>2];continue}i=1;if((Rj(h,0,0,e,e+8|0)|0)!=-1){break d}}if(q[160942]==1){f=q[e>>2];g=c+g|0;b=db(d,g);if(!b){break e}q[e+8>>2]=q[e+8>>2]+c;q[e>>2]=b+(f-d|0);d=b;b=q[e+12>>2];continue}break}hb(a,2,3329,0)}La(d);d=0;break c}o[((q[e+8>>2]^-1)+g|0)+d|0]=0}hb(a,6,3349,0);break a}I(3254,1465,983,3263);F()}d=0;hb(a,1,3298,0)}Da=e+16|0;return d}function vl(a){var b=0,c=0;b=q[a+120>>2];a:{if(!b){break a}c=q[b+44>>2]+ -1|0;q[b+44>>2]=c;if(c){break a}while(1){c=q[b+28>>2];Cb(q[b+36>>2]);gd(q[b+40>>2]);La(b);b=c;if(b){continue}break}}b=q[a+124>>2];b:{if(!b){break b}c=q[b+44>>2]+ -1|0;q[b+44>>2]=c;if(c){break b}while(1){c=q[b+28>>2];Cb(q[b+36>>2]);gd(q[b+40>>2]);La(b);b=c;if(b){continue}break}}ng(q[a+748>>2]);ng(q[a+744>>2]);ng(q[a+740>>2]);KN(q[a+116>>2]);ng(q[a+736>>2]);La(q[a+788>>2]);La(q[a+792>>2]);gd(q[a+816>>2]);b=q[a+8>>2];if(b){Ur(b)}b=q[a+4>>2];if(b){Ci(b)}La(q[a+128>>2]);La(q[a+688>>2]);La(q[a+696>>2]);La(q[a+704>>2]);La(q[a+100>>2]);La(q[a+104>>2]);La(q[a+828>>2]);La(a)}function wZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);b:{if(!e){break b}if(d>>>0>>0|h>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!d){break b}g=1;if(uv(c+d|0,b,0)){break a}c=q[b+24>>2];if(c>>>0>31){return 0}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;o[a+2|0]=0;o[a+3|0]=0}g=1}return g}function uw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);j=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=0;b:{if(!j){break b}e=0;if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}a=e;e=1;d=r[d+1|0]|r[d|0]<<8;if(!d){break a}a=a+c|0;if(!(i>>>0>a>>>0|f>>>0>>0|f-a>>>0>>0)){q[b+12>>2]=g+ -1;if((g|0)>0){break a}}e=0}return e}function oV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Da-16|0;Da=f;j=q[b+4>>2];a:{if(j>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}h=q[b+12>>2];q[b+12>>2]=h+ -1;if((h|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);i=0;b:{if(!e){break b}if(g>>>0>>0|j>>>0>c>>>0|g-c>>>0>>0){break a}q[b+12>>2]=h+ -2;if((h|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);i=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=r[d|0]|r[d+1|0]<<8|(r[d+2|0]<<16|r[d+3|0]<<24);a=c+i|0;q[f+12>>2]=a;k=mV(a,b,d<<8&16711680|d<<24|(d>>>8&65280|d>>>24),f+12|0)}Da=f+16|0;return k}function nd(a){var b=0,c=0,d=0;b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){q[a+4>>2]=q[b>>2];c=q[b+8>>2]+ -1|0;a:{if(c>>>0>18){break a}b:{switch(c-1|0){default:La(q[b+16>>2]);break a;case 4:ie(q[b+16>>2]);break a;case 10:c=q[b+16>>2];if(!c){break a}La(c);break a;case 11:La(q[b+16>>2]);break a;case 13:Xc(q[b+16>>2]);break a;case 14:Sd(q[b+16>>2]);break a;case 15:c=q[b+16>>2];tb(q[c+16>>2]);La(c);break a;case 5:case 6:case 7:case 16:tb(q[b+16>>2]);break a;case 0:case 3:case 8:case 9:case 12:break a;case 17:break b}}c=q[b+16>>2];d=q[c+8>>2];if(d){tb(d)}La(c)}c=q[a+1312>>2]+ -1|0;if(((w(c,24)+a|0)+1320|0)==(b|0)){q[a+1312>>2]=c;return}La(b)}}function j_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0){break a}c=e-a|0;if(c>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(f>>>0<6|c>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}c=1;f=r[a+4|0];b:{if(f>>>0>2){break b}c:{switch(f-1|0){default:c=a+6|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0<8){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}c=r[a+7|0]|r[a+6|0]<<8;if(c){a=a+14|0;if(g>>>0>a>>>0|e>>>0>>0|e-a>>>0>>0){break a}q[b+12>>2]=d+ -4;c=0;if((d|0)<4){break b}}return 1;case 0:break b;case 1:break c}}c=i_(a,b)}return c}return 0}function TZ(a,b,c){var d=0,e=0,f=0,g=0;if((c|0)==1936292453){return SZ(a,b)}d=c&-65536;a:{if((d|0)!=1668677632){c=1;if((d|0)!=1936916480){break a}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;return(a|0)>0}c=0;g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}f=a+12|0;if(g>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}f=r[a+13|0]|r[a+12|0]<<8;if(f){a=a+14|0;if(g>>>0>a>>>0|d>>>0>>0|d-a>>>0>>0){break a}q[b+12>>2]=e+ -3;if((e|0)<3){break a}}c=1}return c}function wV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[b+24>>2]=0;q[b+20>>2]=271312;q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}sV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function yV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=b;q[c>>2]=0;q[c+4>>2]=0;q[c+24>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}tV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function DK(a,b,c){a=a|0;b=b|0;c=c|0;a=(c-b|0)+ -2|0;a:{b:{if(a>>>0>2){break b}c:{switch(a-1|0){default:if(r[b+1|0]!=116){break b}a=r[b|0];return((a|0)==108?60:(a|0)==103?62:0)|0;case 0:if(r[b|0]!=97|r[b+1|0]!=109){break b}c=38;if(r[b+2|0]!=112){break b}break a;case 1:break c}}a=o[b|0]+ -97|0;if(a>>>0>16){break b}d:{switch(a-1|0){case 15:if(r[b+1|0]!=117|r[b+2|0]!=111){break b}c=34;if(r[b+3|0]!=116){break b}break a;case 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 b;default:break d}}if(r[b+1|0]!=112|r[b+2|0]!=111){break b}c=39;if(r[b+3|0]==115){break a}}c=0}return c|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;var g=0,h=0;a:{b:{a=vu(b+24|0);f=q[a+4>>2];c:{if((f|0)!=131072){if((f|0)!=65536|c>>>0>257){break b}a=c<<2;f=q[a+248064>>2];a=q[a+248068>>2]+(f^-1)|0;f=f+249100|0;break c}f=q[a+8>>2];if((r[f|0]<<8|r[f+1|0])>>>0<=c>>>0){break b}f=f+(c<<1)|0;f=r[f+2|0]<<8|r[f+3|0];if(f>>>0<=257){a=f<<2;f=q[a+248064>>2];a=q[a+248068>>2]+(f^-1)|0;f=f+249100|0;break c}f=f+ -258|0;if(f>>>0>=t[a+16>>2]){break b}a=q[a+24>>2]+q[q[a+20>>2]+(f<<2)>>2]|0;f=a+1|0;a=r[a|0]}if(!a){break b}b=1;if(!e){break a}b=e+ -1|0;a=b>>>0>a>>>0?a:b;g=Md(d,f,a)+a|0,h=0,o[g|0]=h;return 1}b=oW(om(b+52|0),c,d,e)}return b|0}function oM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-144|0;Da=c;d=de(b);Xk(b,a,c+80|0);e=Ic(q[b+12>>2]);a:{if(!e){a=-1;break a}b:{c:{d:{if(!d){a=-1;while(1){b=Qb(e);if(!b){break c}q[c+20>>2]=0;q[c+16>>2]=c+80;d=_b(b,c+16|0);if(!d){break c}b=af(d,2,0);La(d);if((b|0)==-1){continue}break}break d}a=-1;while(1){b=Qb(e);if(!b){break c}q[c+40>>2]=0;q[c+32>>2]=b;q[c+36>>2]=c+80;f=_b(d,c+32|0);if(!f){break c}b=af(f,2,0);La(f);if((b|0)==-1){continue}break}}d=c- -64|0;q[d>>2]=0;q[d+4>>2]=0;q[c+56>>2]=0;q[c+60>>2]=0;q[c+48>>2]=1;g=c,h=R()|0,q[g+72>>2]=h;q[c>>2]=c+48;if((Kp(b,14,c)|0)==-1){break b}a=b}Zb(e);break a}Zb(e);bd(b)}Da=c+144|0;return a}function ev(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((c|0)==-1|c>>>0>=(r[a+5|0]|r[a+4|0]<<8)>>>0){break a}d=1;a=(c<<1)+a|0;f=r[a+6|0]<<8|r[a+7|0];kf(b,f,0,0,0);a=q[b+96>>2];e=q[a+92>>2];b:{if((e|0)==q[a+88>>2]){c=q[a+80>>2];b=c;if(q[a+72>>2]==(c|0)){break b}}if(!Va(a,1,1)){break a}c=q[a+88>>2]+w(q[a+72>>2],20)|0;d=q[c+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[c>>2];q[b+4>>2]=d;q[b+16>>2]=q[c+16>>2];d=q[c+12>>2];q[b+8>>2]=q[c+8>>2];q[b+12>>2]=d;c=q[a+72>>2];b=q[a+80>>2];e=q[a+92>>2]}q[w(b,20)+e>>2]=f;d=1;q[a+80>>2]=b+1;q[a+72>>2]=c+1}return d}function bN(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;if((b|c)>>>0<64){h=q[a+20>>2];a:{if(!h){break a}l=q[a+16>>2];i=q[a+8>>2];j=q[a+12>>2];if(!(!b|(j|0)<1|(i|0)<2)){while(1){k=w(e,l);a=i;while(1){f=a+ -1|0;d=(f+k|0)+h|0;m=d+ -1|0;n=r[m|0];g=w(n,b)>>>6|0;o[m|0]=n-g;o[d|0]=g+r[d|0];d=(a|0)>2;a=f;if(d){continue}break}e=e+1|0;if((j|0)!=(e|0)){continue}break}}if(!c|(i|0)<1|(j|0)<2){break a}f=0;while(1){a=j;while(1){b=a+ -1|0;d=w(b,l)+f|0;g=(d-l|0)+h|0;k=r[g|0];e=w(k,c)>>>6|0;o[g|0]=k-e;d=d+h|0;o[d|0]=e+r[d|0];e=(a|0)>2;a=b;if(e){continue}break}f=f+1|0;if((i|0)!=(f|0)){continue}break}}return}I(437960,438005,226,438018);F()}function UU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=q[a+12>>2];b=c;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=q[d+72>>2];g=n[q[b+148>>2]](d,q[d+76>>2],c,q[b+12>>2])|0;if(g){a:{b:{b=q[a+12>>2];if(b){b=q[b+24>>2];a=q[a+24>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=q[c+8>>2];break a}a=c+8|0;b=q[c+8>>2];break a}d=a;e=a>>31;a=q[c>>2];f=b;b=b>>31;h=c,i=X$(W$(d,e,a,a>>31),Ea,f,b),q[h>>2]=i;a=q[c+4>>2];h=c,i=X$(W$(d,e,a,a>>31),Ea,f,b),q[h+4>>2]=i;a=c+8|0;c=q[c+8>>2];b=X$(W$(d,e,c,c>>31),Ea,f,b)}q[a>>2]=b}return g|0}function SU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=q[a+12>>2];b=c;q[b+40>>2]=0;q[b+44>>2]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0;b=q[d+72>>2];g=n[q[b+152>>2]](d,q[d+76>>2],c,q[b+16>>2])|0;if(g){a:{b:{b=q[a+12>>2];if(b){b=q[b+20>>2];a=q[a+20>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=q[c+8>>2];break a}a=c+8|0;b=q[c+8>>2];break a}d=a;e=a>>31;a=q[c>>2];f=b;b=b>>31;h=c,i=X$(W$(d,e,a,a>>31),Ea,f,b),q[h>>2]=i;a=q[c+4>>2];h=c,i=X$(W$(d,e,a,a>>31),Ea,f,b),q[h+4>>2]=i;a=c+8|0;c=q[c+8>>2];b=X$(W$(d,e,c,c>>31),Ea,f,b)}q[a>>2]=b}return g|0}function mu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(e){i=g;g=a+4|0;if(i>>>0>g>>>0|d>>>0>>0|d-g>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!f){break a}h=0;d=0;while(1){if(!SV(((d<<2)+a|0)+4|0,b,q[c>>2])){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}}h=1}return h}function Wl(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a|!q[a>>2]){break b}if(q[a>>2]<=0){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break b}q[a>>2]=-57005;b=q[a+8>>2];if(b){c:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break c}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}eT(a+60|0);La(q[a+36>>2]);La(a)}return}I(270812,270837,279,270872);F()}function SI(a,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=b+ -15|0;if(g>>>0>26){break c}f=39;d:{switch(g-1|0){case 4:if(!n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496828)){break b}q[a>>2]=952;return 43;case 7:q[a>>2]=953;q[a+4>>2]=2;return 44;case 2:case 25:q[a>>2]=954;return 51;case 14:q[a>>2]=954;return 53;case 15:q[a>>2]=954;return 52;case 0:case 1:case 3:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break c;case 16:break d;default:break a}}q[a>>2]=954;return 54}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function QS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=q[b+4>>2];a:{if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>1073741822){break a}if(e){i=g;g=a+4|0;if(i>>>0>g>>>0|d>>>0>>0|d-g>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!f){break a}h=0;d=0;while(1){if(!NS(((d<<2)+a|0)+4|0,b,q[c>>2])){break a}d=d+1|0;if((f|0)!=(d|0)){continue}break}}h=1}return h}function Ns(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,r=0;i=w(c,1348)+a|0;f=q[i- -64>>2];a=q[i+56>>2];g=w(c,7452)+b|0;j=q[g+44>>2];b=Ma(t[b+40>>2]/40|0,j);if((a|0)>=1){n=(b|0)<32?b:32;r=w(a,44)+f|0;a=q[g+260>>2];b=a;while(1){if(b){b=0;c=n;h=0;while(1){e=w(b,28)+g|0;d=q[e+288>>2];if(!(!(d&1)|((d&2)>>>1|0)==(q[i+68>>2]==o[f+13|0]|0))){a=p[f>>1];k=a-q[e+264>>2]|0;d=k>>31;l=a-q[e+276>>2]|0;m=l>>31;e=(d^d+k)>(m^m+l)?e+276|0:e+264|0;d=a-q[e>>2]|0;a=d>>31;d=Ma(a^a+d,j);a=(d|0)<(c|0);c=a?d:c;h=a?e:h;a=q[g+260>>2]}b=b+1|0;if(b>>>0>>0){continue}break}if(h){q[f+20>>2]=h}b=a}else{b=0}f=f+44|0;if(f>>>0>>0){continue}break}}}function rk(a,b){var c=0,d=0,e=0,f=0;a:{c=q[a+4>>2];if(!c){break a}b:{c:{while(1){if(q[c+4>>2]==q[a>>2]){d:{if(q[c+8>>2]!=2){_a(a,1,501368,0);nd(a);break d}q[c+8>>2]=0;d=q[c+16>>2];nd(a);if(!e){e=d;break d}c=Hc(q[a+16>>2]);if(!c){break c}q[c+8>>2]=d;q[c>>2]=36;q[c+12>>2]=e;e=c}c=q[a+4>>2];if(c){continue}}break}if(!e){break a}break b}_a(a,2,499215,0);tb(d);tb(e)}e:{c=q[a+1312>>2];f:{if(c>>>0<=63){q[a+1312>>2]=c+1;c=(w(c,24)+a|0)+1320|0;break f}c=Sa(24);if(!c){break e}}q[c+8>>2]=0;q[c>>2]=q[a+4>>2];f=c;d=q[a>>2];if(d){d=q[d>>2]}else{d=0}q[f+4>>2]=d;q[a+4>>2]=c;if(!c){break e}q[c+8>>2]=b;q[c+16>>2]=e;return}_a(a,2,499215,0);tb(e)}}function Ho(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(o[a+741|0]&1){a:{g=q[a+736>>2];c=q[g+56>>2];e=s[c>>1];if(!e){break a}b=q[c+24>>2];i=b+w(e,12)|0;e=0;while(1){h=yo(a,q[b>>2]);d=tj(a,c+4|0,s[b+4>>1],s[b+6>>1]);b:{c:{if(!h){break c}p[h>>1]=s[b+8>>1]+d;c=q[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(b>>>0>=i>>>0){break a}c=q[g+56>>2];e=d;continue}}e=s[a+72>>1];f=e+f|0;p[a+72>>1]=f;b=d;d=s[a+70>>1];b=b+d|0;p[a+70>>1]=b;c=p[a+486>>1];p[a+82>>1]=c;p[a+80>>1]=s[a+484>>1]-((c|0)/2|0);p[a+74>>1]=(b+(e+((s[a+74>>1]+j|0)-d|0)|0)|0)-f;Lo(a+108|0,28)}}function sG(a){var b=0,c=0,d=0,f=0,g=0;a:{h(+a);c=e(1)|0;f=e(0)|0;b=c;c=b&2147483647;b:{if(c>>>0>=1083174912){if(!(c>>>0<1083179008|((b|0)<0?1:(b|0)<=0?f>>>0>=0?0:1:0))){return a*8.98846567431158e+307}if(c>>>0>=2146435072){return-1/a}if(!(a<=-1075)){break a}d=0;if((b|0)<-1?1:(b|0)<=-1?f>>>0>4294967295?0:1:0){break b}break a}if(c>>>0>1016070143){break a}d=a+1}return d}g=a+26388279066624;h(+g);e(1)|0;b=(e(0)|0)+128|0;f=b<<4&4080;d=v[f+637008>>3];a=a-(g+ -26388279066624)-v[(f|8)+637008>>3];return Kd(d+d*a*(a*(a*(a*(a*.0013333559164630223+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(b&-256)/256|0)}function pY(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,s=0,t=0;e=r[a+1|0]|r[a|0]<<8;if(!e){return 0}i=_$(r[c+1|0]|r[c|0]<<8);j=r[c+3|0]|r[c+2|0]<<8;n=(i+_$(j)<<1)+2|0;o=c+2|0;f=e+ -1|0;e=q[b+96>>2];k=q[q[e+88>>2]+w(d,20)>>2];a:{while(1){h=f+l>>>1|0;g=w(n,h)+a|0;m=g+2|0;g=r[m|0]<<8|r[g+3|0];b:{if(g>>>0>k>>>0){f=h+ -1|0;break b}if((g|0)==(k|0)){break a}l=h+1|0}if((l|0)<=(f|0)){continue}break}return 0}f=c;c=m+2|0;c:{if(p=0,s=!Jf(f,b,a,c,q[e+96>>2]+w(q[e+72>>2],20)|0),t=Jf(o,b,a,c+(i<<1)|0,q[e+96>>2]+w(d,20)|0),t?p:s){break c}a=d+1|0;b=q[e+72>>2];if(a-b>>>0<2){break c}rb(e,b,a)}q[e+72>>2]=((j|0)!=0)+d;return 1}function ec(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+12>>2];g=b;e=q[b+16>>2];j=e;f=e;h=q[a+48>>2];d=q[a+52>>2];if(h>>>0>d>>>0){d=q[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;q[g+16>>2]=j-e;q[b+20>>2]=e+q[b+20>>2];d=q[a+56>>2];if(d){d=n[d](q[a+60>>2],h,e)|0;q[a+60>>2]=d;q[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;g=Qa(i,h,e)+e|0;f=e+h|0;if((f|0)==q[a+44>>2]){e=q[a+40>>2];d=q[a+52>>2];if((f|0)==(d|0)){q[a+52>>2]=e;d=e}f=q[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;q[b+16>>2]=f-d;q[b+20>>2]=d+q[b+20>>2];f=q[a+56>>2];if(f){f=n[f](q[a+60>>2],e,d)|0;q[a+60>>2]=f;q[b+48>>2]=f}f=d+e|0;g=Qa(g,e,d)+d|0;c=(c|0)==-5?d?0:c:c}q[b+12>>2]=g;q[a+48>>2]=f;return c}function PH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-32|0;Da=d;pc(d+16|0,a);pc(d,b);f=-1;a=q[d+16>>2]+ -1|0;a:{if(a>>>0>8){break a}b:{c:{switch(a-1|0){case 0:e=v[d+24>>3];break b;case 7:X();F();case 1:case 2:case 3:case 4:case 5:case 6:break a;default:break c}}e=+q[d+24>>2]}a=q[d>>2]+ -1|0;if(a>>>0>8){break a}d:{e:{switch(a-1|0){default:g=+q[d+8>>2];f=g;break d;case 0:g=v[d+8>>3];f=g;break d;case 1:case 2:case 3:case 4:case 5:case 6:break a;case 7:break e}}a=q[d+8>>2];f=v[a+8>>3];g=v[a>>3]}q[c>>2]=2;v[c+8>>3]=(e+e)*.5;if(!(f>2];if(c){g=-1;while(1){d:{e:{if(b>>>0>31){break e}if(Yc(a,c,515)){break d}c=q[a+84>>2];if(q[c+72>>2]!=1869968492){break e}if(!s[c+108>>1]){break d}}vi(d,b);c=b>>>8|0;if((c|0)!=(g|0)){g=c;h=gg(d,b);if(!h){break b}}c=(b>>>3&28)+h|0;q[c>>2]=q[c>>2]|1<<(b&31)}b=Qf(a,b,e+12|0);c=q[e+12>>2];if(c){continue}break}}if(!f){break a}b=61440;while(1){if(ui(d,b)){vi(d,b+ -61440|0)}b=b+1|0;if((b|0)!=61696){continue}break}break a}Xc(d);d=0}Da=e+16|0;return d}function jV(a,b,c,d){var e=0,f=0,g=0;e=a+8|0;g=b+1|0;g=(g|0)<0?271312:e+(g<<2)|0;f=g;f=r[f|0]|r[f+1|0]<<8|(r[f+2|0]<<16|r[f+3|0]<<24);e=(b|0)<0?271312:(b<<2)+e|0;b=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))>>>0>b>>>0){a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[c>>2]=b+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));a=r[g|0]|r[g+1|0]<<8|(r[g+2|0]<<16|r[g+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);q[d>>2]=b-(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));a=1}else{a=0}return a}function ql(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;La(q[a+100>>2]);La(q[a+104>>2]);f=a;if(b){g=eb(b)}else{g=0}q[f+100>>2]=g;f=a;if(c){g=eb(c)}else{g=0}q[f+104>>2]=g;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);f=q[a+16>>2];q[a+136>>2]=f;g=q[a+20>>2];q[a+140>>2]=g;h=q[a- -64>>2];i=q[a+68>>2];q[a+148>>2]=(f-h|0)-i;j=q[a+56>>2];k=q[a+60>>2];q[a+144>>2]=(g-j|0)-k;q[a+156>>2]=(f+((h|0)>0?0-h|0:0)|0)+((i|0)>0?0-i|0:0);q[a+152>>2]=(((j|0)>0?0-j|0:0)+g|0)+((k|0)>0?0-k|0:0);Lb(q[a+736>>2]);f=q[a+116>>2];if(f){Lb(q[f+44>>2])}f=q[a+8>>2];if(f){Ur(f)}l=a,m=mP(q[a>>2],q[a+4>>2],c,b,e,d),q[l+8>>2]=m}function js(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;c=q[a>>2]+1|0;q[d+12>>2]=c;a:{if(c>>>0>=b>>>0){break a}while(1){$b(d+12|0,b);c=q[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=r[c|0];if((e+ -48&255)>>>0<=9){break b}e=e+ -65|0;if(e>>>0>37){break a}switch(e-6|0){case 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:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break a;default:break b}}c=c+1|0;q[d+12>>2]=c;if(c>>>0>>0){continue}break}}c:{if(c>>>0>>0){b=3;if(r[c|0]!=62){break c}}c=c+1|0;q[d+12>>2]=c;b=0}q[a>>2]=c;Da=d+16|0;return b}function kt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=q[a+20>>2];if((h|0)<1){return 0}j=q[a>>2];d=h+ -1|0;k=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+j|0;b:{if((r[i|0]<<8|r[i+1|0])>>>0>=b>>>0){d=i+k|0;if((r[d|0]<<8|r[d+1|0])>>>0<=b>>>0){break a}d=g+ -1|0;break b}f=g+1|0}if((f|0)<=(d|0)){continue}break}return 0}f=e>>1;d=e+q[a+12>>2]|0;g=r[d|0]<<8|r[d+1|0];c:{if(g){d=0;e=f+(b-h|0)+(g>>>1)|0;b=q[a+4>>2]+(f<<1)|0;b=e-(r[b|0]<<8|r[b+1|0])|0;if(b>>>0>=t[a+24>>2]){break c}b=q[a+16>>2]+(b<<1)|0;b=r[b|0]<<8|r[b+1|0];if(!b){break c}}a=q[a+8>>2]+(f<<1)|0;a=(r[a|0]<<8|r[a+1|0])+b&65535;if(!a){return 0}q[c>>2]=a;d=1}return d}function iu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[b>>2]=0;q[b+4>>2]=0;q[b+20>>2]=271312;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=1;a:{if(r[a+16|0]){break a}g=r[271312];i=g|256;while(1){c=q[a+12>>2];f=c+1|0;d=q[a+4>>2];if(f>>>0>d>>>0){return 1}b:{c:{d:{if(c>>>0>>0){h=q[a>>2];e=r[h+c|0];if((e|0)==12){if(f>>>0>=d>>>0){break d}c=r[f+h|0];q[a+12>>2]=f;e=c|256;c=f}if(c>>>0>=d>>>0){c=e;break c}q[a+12>>2]=c+1;break b}o[a+16|0]=1;e=65535;c=g;if((c|0)==12){break b}break c}o[a+16|0]=1;q[a+12>>2]=d;c=i}o[a+16|0]=1;q[a+12>>2]=d;e=c}EV(e,a,b);c=0;if(r[a+20|0]|(r[a+40|0]|r[a+16|0])){break a}if(q[a+28>>2]>-1){continue}break}}return c}function cN(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;a:{j=q[a+20>>2];if(!j){break a}k=q[b+20>>2];if(!k){break a}f=q[a+4>>2];d=f+q[a+12>>2]|0;g=q[b+4>>2];e=g+q[b+12>>2]|0;i=(g|0)>(f|0)?g:f;l=((e|0)>(d|0)?d:e)-i|0;if((l|0)<1){break a}m=q[a+16>>2];d=q[a>>2];c=m+d|0;n=q[b+16>>2];e=q[b>>2];h=n+e|0;h=(h|0)>(c|0)?c:h;c=(e|0)>(d|0)?e:d;h=h-c|0;if((h|0)<1){break a}d=w(i-f|0,m)+j+(c-d)|0;g=w(i-g|0,n)+k+(c-e)|0;e=0;while(1){f=0;while(1){c=f+g|0;i=r[c|0];j=c;c=r[d+f|0];o[j|0]=i>>>0>c>>>0?i-(c>>>1|0)|0:0;f=f+1|0;if((h|0)!=(f|0)){continue}break}g=q[b+16>>2]+g|0;d=q[a+16>>2]+d|0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}}function Jw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}k=r[a+1|0]|r[a|0]<<8;if(k){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}l=r[a+1|0]|r[a|0]<<8}d=q[d>>2];if(d>>>0>2147483646){return 0}j=1;if(!d){break a}c=c+l|0;if(i>>>0>c>>>0){return 0}if(f>>>0>>0){return 0}j=0;if(f-c>>>0>>0){break a}q[b+12>>2]=g+ -1;if((g|0)<=0){break a}a=0;while(1){if(!xg(c+(a<<1)|0,b,q[e>>2])){break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}j=1}return j}function ph(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}f=16;a:{b:{if(s[a+264>>1]<=b>>>0){break b}d=q[a+544>>2];if(!d){return 7}f=0;g=c,h=n[q[d+16>>2]](0)|0,q[g>>2]=h;e=q[a+476>>2];if((e|0)!=151552){if((e|0)!=131072){if((e|0)!=65536|b>>>0>257){break b}break a}if(!r[a+632|0]){if(rn(a)){break b}}if(s[a+636>>1]<=b>>>0){break b}b=s[q[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){break a}q[c>>2]=q[(q[a+644>>2]+(b<<2)|0)+ -1032>>2];return 0}if(!r[a+632|0]){if(rn(a)){break b}}if(s[a+636>>1]<=b>>>0){break b}g=c,h=n[q[d+16>>2]](o[q[a+640>>2]+b|0]+b|0)|0,q[g>>2]=h}return f|0}g=c,h=n[q[d+16>>2]](b)|0,q[g>>2]=h;return 0}function _j(a,b,c,d,e){var f=0,g=0,h=0;f=Da-208|0;Da=f;q[f+204>>2]=c;c=0;Na(f+160|0,0,40);q[f+200>>2]=q[f+204>>2];a:{if((Zj(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}c=q[a+76>>2]>=0?1:c;g=q[a>>2];if(o[a+74|0]<=0){q[a>>2]=g&-33}h=g&32;b:{if(q[a+48>>2]){b=Zj(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}q[a+48>>2]=80;q[a+16>>2]=f+80;q[a+28>>2]=f;q[a+20>>2]=f;g=q[a+44>>2];q[a+44>>2]=f;d=Zj(a,b,f+200|0,f+80|0,f+160|0,d,e);b=d;if(!g){break b}n[q[a+36>>2]](a,0,0)|0;q[a+48>>2]=0;q[a+44>>2]=g;q[a+28>>2]=0;q[a+16>>2]=0;b=q[a+20>>2];q[a+20>>2]=0;b=b?d:-1}d=a;a=q[a>>2];q[d>>2]=a|h;b=a&32?-1:b;if(!c){break a}}Da=f+208|0;return b}function jM(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}e=q[a+4>>2];c=-1;f=q[a+12>>2]+a|0;b:{if(f){b=e+ -1|0;c:{d:{if((e|0)<1){c=b;break d}while(1){c=b>>1;d=c;if(!s[(b&-2)+f>>1]){break c}d=(b|0)>1;c=c+ -1|0;b=c;if(d){continue}break}}d=(c>>>31|0)+c^-1}c=d;if((c|0)>-1){break b}}c=c^-1;if((e|0)==(c|0)){break a}}b=q[a+8>>2]+a|0;b=q[b+(c<<2)>>2]+b|0;if(!b){break a}while(1){g=_$(q[b+28>>2])+(_$(q[b+24>>2])+(_$(q[b+20>>2])+(_$(q[b+16>>2])+(_$(q[b+12>>2])+(_$(q[b+8>>2])+(_$(q[b+4>>2])+(_$(q[b>>2])+g|0)|0)|0)|0)|0)|0)|0)|0;c=c+1|0;if((c|0)>=(e|0)){break a}b=q[a+8>>2]+a|0;b=q[b+(c<<2)>>2]+b|0;if(b){continue}break}}return g}function xe(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{b=r[a|0];if((b+ -65&255)>>>0<=25){b=b+32|0;break b}if(b&255){break b}b=0;break a}d=r[a+1|0];d=(d+ -65&255)>>>0<26?d+32|0:d;c=b&255;if(c>>>0<97){c=0;break a}if(c>>>0>122){c=245;e=239;break a}c=c<<3;e=q[c+485416>>2];c=q[c+485420>>2];if((e|0)<=(c|0)){break a}return e^-1}g=a+2|0;h=d&255;i=b&255;c:{while(1){d=c+e>>1;f=d<<5;b=f+449308|0;d:{if(r[b|0]!=(i|0)){b=dd(b,a);break d}b=r[f+449309|0]-h|0;if(b){break d}b=f+449310|0;if(r[g|0]?0:!r[b|0]){break c}b=dd(b,g)}if(!b){break c}f=(b|0)<0;e=f?d+1|0:e;c=f?c:d+ -1|0;if((e|0)<=(c|0)){continue}break}d=(b>>>31|0)+d^-1}return d}function PD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Da-32|0;Da=c;a:{if((n[q[b+52>>2]](b,6,c,3)|0)<=5){q[b+12>>2]=3;break a}e=q[c+12>>2];d=e>>31;d=d^d+e;if((d|0)!=65536){if(!d){q[b+12>>2]=3;break a}f=a,g=Za(1e3,d),p[f+68>>1]=g;f=c,g=Za(q[c>>2],d),q[f>>2]=g;f=c,g=Za(q[c+4>>2],d),q[f+4>>2]=g;f=c,g=Za(q[c+8>>2],d),q[f+8>>2]=g;f=c,g=Za(q[c+16>>2],d),q[f+16>>2]=g;f=c,g=Za(q[c+20>>2],d),q[f+20>>2]=g;e=q[c+12>>2]<0?-65536:65536;q[c+12>>2]=e}q[a+440>>2]=q[c>>2];q[a+448>>2]=q[c+4>>2];d=q[c+8>>2];q[a+452>>2]=e;q[a+444>>2]=d;if(!qi(a+440|0)){q[b+12>>2]=3;break a}q[a+456>>2]=q[c+16>>2]>>16;q[a+460>>2]=q[c+20>>2]>>16}Da=c+32|0}function Lg(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=p[a+56>>1];p[a+20>>1]=b+s[a+20>>1];d=s[a+22>>1];p[a+22>>1]=d+s[a+58>>1];e=q[a+48>>2]+q[a+84>>2]|0;q[a+48>>2]=e;if((b|0)>=1){g=q[a+68>>2];while(1){f=(c<<1)+g|0;p[f>>1]=d+s[f>>1];c=c+1|0;if((b|0)!=(c|0)){continue}break}}q[a+84>>2]=0;q[a+56>>2]=0;b=a;c=q[a+24>>2];if(c){c=c+(p[a+22>>1]<<3)|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;b=a;d=q[a+32>>2];c=0;a:{if(!d){break a}c=d+(p[a+20>>1]<<1)|0}q[b+68>>2]=c;if(r[a+16|0]){b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2]}b=a;a=q[a+52>>2];q[b+88>>2]=a?a+(e<<5)|0:0}}function H_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);a:{b:{if((c|0)==-1){break b}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];e=a?d+a|0:271312;f=r[e|0]<<8|r[e+1|0];if(!f){break b}d=e+2|0;g=q[b+8>>2];while(1){c:{a=r[d+1|0]|r[d|0]<<8;h=a?a+e|0:271312;if((r[h+2|0]<<8|r[h+3|0])!=(g|0)){break c}if(g>>>0<2){return 1}i=q[b+4>>2];c=1;while(1){a=g>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;if(q[(c<<2)+i>>2]!=(r[a|0]<<8|r[a+1|0])){break c}a=1;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}d=d+2|0;f=f+ -1|0;if(f){continue}break}}a=0}return a}function yZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<6){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!wZ((w(e,6)+a|0)+4|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=(w(e,6)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function sh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;if(q[a+184>>2]<0){return-9}g=q[a+64>>2];f=q[a+52>>2];h=q[a+276>>2];j=(((f|0)>(g|0)?g:f)-h|0)+w(g,q[a+272>>2])|0;g=q[b>>2];i=g>>>0>j>>>0?j:g;k=b;f=g;a:{if(!c){break a}h=q[a+96>>2]+(h&q[a+68>>2])|0;f=q[c>>2];if(!f){q[c>>2]=h;f=g;break a}Qa(f,h,i);q[c>>2]=q[c>>2]+i;f=q[b>>2]}q[k>>2]=f-i;b=q[a+276>>2]+i|0;q[a+276>>2]=b;if(d){q[d>>2]=b}b=1<>2];c=q[a+64>>2];if(j>>>0>g>>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}b=q[a+52>>2];if((b|0)<(c|0)){break b}b=b-c|0;q[a+52>>2]=b;q[a+272>>2]=q[a+272>>2]+1;p[a+560>>1]=s[a+560>>1]&65527|((b|0)!=0)<<3}return 1}function Uz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=q[a+16>>2];c=r[a+8204|0]|r[a+8205|0]<<8|(r[a+8206|0]<<16|r[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){break a}a=a+8208|0;while(1){c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[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=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;return(a>>>0>(b^-1)>>>0?0:a+b|0)|0}return 0}function lQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(q[a+64>>2]!=3){q[a+64>>2]=3;e=q[a+20>>2];if(!e){break a}b:{if(r[a+68|0]){d=q[a+12>>2];if((p[d+20>>1]+p[d+56>>1]|0)+1>>>0>t[d+8>>2]){d=Xb(d,0,1);if(d){break a}}f=s[e>>1];d=f<<16>>16;if((d|0)<1){break b}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}d=s[e>>1]}p[e>>1]=d+1;d=q[a+12>>2];if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+68|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1}d=0}return d|0}function Gf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+12>>2];d=q[a>>2];e=n[q[f+24>>2]](f,d,q[f+56>>2])|0;i=a;if(d>>>0>=128){q[b+32>>2]=q[b+32>>2]|1;c=e;a:{if(!At(d)){break a}g=q[b+32>>2];q[b+32>>2]=g|2;h=d+ -8204|0;if(h>>>0<=1){c=e|544;if(h-1){break a}c=e|288;break a}c=e|96;if(d+ -6155>>>0<=2){break a}c=e|96;if(d+ -917536>>>0<=95){break a}c=e|32;if((d|0)!=847){break a}q[b+32>>2]=g|34;c=e|96}b=c;if(e>>>0>31){p[a+16>>1]=b;return}if(!(1<>1]=b;return}a=65024;b:{if((d|0)==6752|(d|0)==4038){break b}a=32512;if((d|0)==3897){break b}a=r[(n[q[f+16>>2]](f,d,q[f+48>>2])|0)+271792|0]<<8}e=a|b|128}p[i+16>>1]=e}function sS(){var a=0,b=0,c=0;a=ab(1,112);if(!a){return 641848}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;if(q[160463]){q[160463]=0}a:{if(q[160462]){if(q[160462]<=0){break a}q[160462]=q[160462]+1}q[a+12>>2]=641848;b=q[160467];q[a+16>>2]=q[160466];q[a+20>>2]=b;b=q[160469];q[a+24>>2]=q[160468];q[a+28>>2]=b;b=q[160471];q[a+32>>2]=q[160470];q[a+36>>2]=b;b=q[160473];q[a+40>>2]=q[160472];q[a+44>>2]=b;b=q[160475];q[a+48>>2]=q[160474];q[a+52>>2]=b;b=q[160477];q[a+56>>2]=q[160476];q[a+60>>2]=b;c=q[160479];b=a- -64|0;q[b>>2]=q[160478];q[b+4>>2]=c;b=q[160481];q[a+72>>2]=q[160480];q[a+76>>2]=b;return a}I(272496,272521,269,272536);F()}function jt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<8){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!BS(((e<<3)+a|0)+6|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=((e<<3)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function FY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){return 1}i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}h=1;g=r[a+1|0]|r[a|0]<<8;if(!g){break a}h=0;e=0;while(1){f=q[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break a}d=q[c>>2];f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}if(!Ri(((e<<2)+a|0)+4|0,b,d)){break a}e=e+1|0;if((g|0)==(e|0)){return 1}d=((e<<2)+a|0)+2|0;if(t[b+4>>2]<=d>>>0){continue}break}}return h}function ln(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=q[a+32>>2];if(f>>>0>b>>>0){i=f+ -1|0;g=f<<1;j=g+2|0;k=q[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=r[c|0]<<8|r[c+1|0];q[a+44>>2]=e;c=c+j|0;h=r[c|0]<<8|r[c+1|0];q[a+40>>2]=h;c=c+g|0;d=r[c|0]|r[c+1|0]<<8;q[a+48>>2]=(d<<24|d<<8&16711680)>>16;d=c+g|0;c=r[d|0]<<8|r[d+1|0];c:{if((e|0)!=65535|b>>>0>>0|(h|0)!=65535){break c}if(!c){break b}e=q[a>>2];if((c+d|0)+2>>>0<=q[e+508>>2]+q[e+512>>2]>>>0){break c}q[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}q[a+36>>2]=b;q[a+52>>2]=c;return 0}function bk(a,b){var c=0,d=0;d=Da-32|0;Da=d;a:{b:{c:{if(!Pb(507292,o[b|0])){q[160942]=28;break c}c=Sa(1176);if(c){break b}}c=0;break a}Na(c,0,144);if(!Pb(b,43)){q[c>>2]=r[b|0]==114?8:4}d:{if(r[b|0]!=97){b=q[c>>2];break d}b=L(a|0,3,0)|0;if(!(b&1024)){q[d+16>>2]=b|1024;L(a|0,4,d+16|0)|0}b=q[c>>2]|128;q[c>>2]=b}o[c+75|0]=255;q[c+48>>2]=1024;q[c+60>>2]=a;q[c+44>>2]=c+152;e:{if(b&8){break e}q[d>>2]=d+24;if(ja(a|0,21523,d|0)){break e}o[c+75|0]=10}q[c+40>>2]=999;q[c+36>>2]=1e3;q[c+32>>2]=1001;q[c+12>>2]=1002;if(!q[160944]){q[c+76>>2]=-1}q[c+56>>2]=q[161227];a=q[161227];if(a){q[a+52>>2]=c}q[161227]=c}Da=d+32|0;return c}function ar(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(b>>>0>16777215){break a}g=q[a+12>>2]+a|0;e=q[a+8>>2]+a|0;f=q[a+4>>2];if(!(f&f+ -1)){b:{if(!f){e=Sa(32);g=Sa(16);if(!(!e|!g)){f=0;break b}if(e){La(e)}if(!g){break a}La(g);return 0}h=db(e,f<<3);if(!h){break a}i=f<<2;g=db(g,i);if(!g){b=db(h,i);if(!b){break a}q[a+8>>2]=b-a;return 0}i=h-e|0;f=q[a+4>>2];if(!(!i|(f|0)<1)){while(1){e=h+(j<<2)|0;q[e>>2]=q[e>>2]-i;j=j+1|0;if((j|0)!=(f|0)){continue}break}}e=h}q[a+12>>2]=g-a;q[a+8>>2]=e-a}i=(d<<2)+e|0;sb(i+4|0,i,f-d<<2);j=1;h=(d<<1)+g|0;sb(h+2|0,h,q[a+4>>2]-d<<1);p[h>>1]=b>>>8;q[i>>2]=c-e;q[a+4>>2]=q[a+4>>2]+1}return j}function JZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){break a}g=e;e=a+6|0;if(g>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=d+ -2;if((d|0)<=1){break a}c=0;while(1){if(!Tb(((c<<1)+a|0)+6|0,b,a)){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}c=r[a+5|0]|r[a+4|0]<<8;if(!c){return 1}a=((r[a+3|0]<<1|r[a+2|0]<<9)+a|0)+6|0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;h=(a|0)>0}return h}function JN(a){if(q[a>>2]){La(q[a+80>>2]);Gd(q[a>>2]);hd(q[a+40>>2])}if(q[a+4>>2]){La(q[a+84>>2]);Gd(q[a+4>>2]);hd(q[a+44>>2])}if(q[a+8>>2]){La(q[a+88>>2]);Gd(q[a+8>>2]);hd(q[a+48>>2])}if(q[a+12>>2]){La(q[a+92>>2]);Gd(q[a+12>>2]);hd(q[a+52>>2])}if(q[a+16>>2]){La(q[a+96>>2]);Gd(q[a+16>>2]);hd(q[a+56>>2])}if(q[a+20>>2]){La(q[a+100>>2]);Gd(q[a+20>>2]);hd(q[a+60>>2])}if(q[a+24>>2]){La(q[a+104>>2]);Gd(q[a+24>>2]);hd(q[a- -64>>2])}if(q[a+28>>2]){La(q[a+108>>2]);Gd(q[a+28>>2]);hd(q[a+68>>2])}if(q[a+32>>2]){La(q[a+112>>2]);Gd(q[a+32>>2]);hd(q[a+72>>2])}if(q[a+36>>2]){La(q[a+116>>2]);Gd(q[a+36>>2]);hd(q[a+76>>2])}La(a)}function vW(a,b,c){var d=0,e=0,f=0,g=x(0);e=q[a+4>>2];a:{if(e>>>0>c>>>0){f=q[a>>2];d=q[a+12>>2];d=(c|0)<0?271312:q[(d?d:271312)+12>>2]+(c<<2)|0;d=r[d+2|0]|r[d+3|0]<<8;d=(d<<24|d<<8&16711680)>>16;break a}f=q[a>>2];d=0;if(f>>>0<=c>>>0){break a}d=q[a+12>>2];d=(c-e<<1)+((e|0)<0?271312:q[(d?d:271312)+12>>2]+(e<<2)|0)|0;d=r[d|0]|r[d+1|0]<<8;d=(d<<24|d<<8&16711680)>>16}b:{if(f>>>0<=c>>>0){break b}e=q[b+60>>2];if(!e){break b}a=q[a+16>>2];a=a?a:271312;f=q[a+16>>2];if(f){g=x(gW(f>>>0<20?271312:q[a+12>>2],c,q[b+64>>2],e)+x(d|0));if(x(y(g))>2]+96|0),b,c)}return d}function hn(a){var b=0,c=0,d=0,e=0,f=0;a:{while(1){f=q[160738];e=f;if(e){while(1){c=a;d=q[e+4>>2];b=r[d|0];b:{if(b){while(1){if(o[r[c|0]+226864|0]!=(b&255)){break b}c=c+1|0;b=r[d+1|0];d=d+1|0;if(b){continue}break}}b=0}if(o[r[c|0]+226864|0]==(b&255)){break a}e=q[e>>2];if(e){continue}break}}e=0;d=ab(1,8);if(!d){break a}q[d>>2]=f;c=Wa(a)+1|0;b=Sa(c);q[d+4>>2]=b;c:{if(b){c=r[Qa(b,a,c)|0];if(!c){break c}while(1){o[b|0]=r[(c&255)+226864|0];c=r[b+1|0];b=b+1|0;if(c){continue}break}b=q[d+4>>2]}if(b){break c}La(d);return 0}c=q[160738];b=(c|0)==(f|0);q[160738]=b?d:c;if(!b){La(q[d+4>>2]);La(d);continue}break}e=d}return e}function Hx(a,b,c){var d=0,e=0,f=0;d=Da-80|0;Da=d;e=an(q[b+16>>2]+164|0);f=q[e+12>>2];e=q[e+16>>2];q[d+12>>2]=b;q[d+8>>2]=a;a=q[b+16>>2];q[d+48>>2]=0;q[d+32>>2]=0;q[d+36>>2]=0;q[d+40>>2]=0;o[d+60|0]=0;q[d+56>>2]=65536;q[d+20>>2]=c;q[d+16>>2]=a;q[d+24>>2]=0;q[d+28>>2]=0;q[d+68>>2]=0;q[d+72>>2]=0;q[d+64>>2]=271312;b=ub(271312);o[d+44|0]=0;q[d+52>>2]=b;c=q[a+32>>2];if((c|0)==-1){c=lc(a)}o[d+60|0]=1;q[d+56>>2]=c;a=q[b+12>>2];q[d+28>>2]=a;c=a;a=q[b+16>>2];q[d+32>>2]=c+a;if((a|0)<=-1){I(228416,228441,195,228458);F()}q[d+36>>2]=1073741823;q[d+24>>2]=0;q[d+48>>2]=0;Fx(e>>>0<12?271312:f,d+8|0);Pa(q[d+52>>2]);Da=d+80|0}function CJ(a,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:{d:{f=b+4|0;if(f>>>0>38){break d}e:{switch(f-1|0){case 36:q[a>>2]=913;return 0;case 18:break a;case 29:break b;case 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:case 16:case 17:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:case 32:case 33:case 34:case 35:break d;case 37:break e;default:break c}}b=q[a+12>>2];if(!b){break b}q[a+12>>2]=b+ -1;return 0}return iq(a,b,c,d,e)|0}if(!q[a+12>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function Gz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=q[a+16>>2];a=r[d+12|0]|r[d+13|0]<<8|(r[d+14|0]<<16|r[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=w(e,12)+g|0;c=d+ -4|0;c=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[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=r[c|0]|r[c+1|0]<<8|(r[c+2|0]<<16|r[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(f>>>0>>0){continue}break}}return 0}a=r[d+4|0]|r[d+5|0]<<8|(r[d+6|0]<<16|r[d+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function IG(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=q[a>>2]+1794895138|0;e=uf(q[a+8>>2],f);g=uf(q[a+12>>2],f);d=uf(q[a+16>>2],f);a:{if(e>>>0>=b>>>2>>>0){break a}h=b-(e<<2)|0;if((d|g)&3|(g>>>0>=h>>>0|d>>>0>=h>>>0)){break a}l=d>>>2|0;m=g>>>2|0;g=0;while(1){h=e>>>1|0;i=h+g|0;j=i<<1;d=(j+m<<2)+a|0;k=uf(q[d>>2],f);d=uf(q[d+4>>2],f);if(b>>>0<=d>>>0|k>>>0>=b-d>>>0|r[(d+k|0)+a|0]){break a}d=Ta(c,a+d|0);if(!d){c=(l+j<<2)+a|0;e=uf(q[c>>2],f);c=uf(q[c+4>>2],f);if(b>>>0<=c>>>0|e>>>0>=b-c>>>0){break a}n=r[(c+e|0)+a|0]?0:a+c|0;break a}if((e|0)==1){break a}d=(d|0)<0;e=d?h:e-h|0;g=d?g:i;continue}}return n}function dy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-48|0;Da=e;f=q[a>>2];d=b-f|0;d=d>>>0<31?d:31;f=Md(e+16|0,f,d);o[d+(e+16|0)|0]=0;q[e+12>>2]=f;q[160942]=0;a:{if(q[160735]){break a}while(1){d=KG();b:{if(d){g=q[160735];q[160735]=g?g:d;if(!g){break a}if((d|0)!=0&(d|0)!=508688&(d|0)!=508712){La(d)}break b}d=q[160735];q[160735]=d?d:0;if(!d){break a}}if(!q[160735]){continue}break}}i=c,j=Sj(f,e+12|0),v[i>>3]=j;c:{if(q[160942]){break c}c=q[e+12>>2];d=(c|0)==(f|0);d:{if(!d){c=c-(e+16|0)|0;d=b;b=q[a>>2];if((c|0)==(d-b|0)){break d}break c}if(d){break c}c=c-(e+16|0)|0;b=q[a>>2]}q[a>>2]=b+c;h=1}Da=e+48|0;return h}function KS(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}h=q[b+12>>2];g=h+ -1|0;q[b+12>>2]=g;if((h|0)<1){break a}j=r[a+1|0]|r[a|0]<<8;if(j){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}g=h+ -2|0;q[b+12>>2]=g;if((h|0)<2){break a}k=r[a+1|0]|r[a|0]<<8}b:{d=q[d>>2];if(d>>>0>357913940){break b}c=c+k|0;a=w(d,12);if(a){if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break b}q[b+12>>2]=g+ -1;if((g|0)<1){break a}}if(!d){return 1}a=0;while(1){if(!JS(c+w(a,12)|0,b,q[e>>2])){break b}a=a+1|0;if((d|0)!=(a|0)){continue}break}return 1}}return 0}function xl(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=q[a+20>>2];if(e>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=q[a+8>>2];if(!c){break d}f=q[c+24>>2];if(!f){break b}q[a+8>>2]=q[c+16>>2];d=q[c+28>>2]+ -1|0;q[c+28>>2]=d;e:{if(d){q[c+20>>2]=0;break e}d=q[c+8>>2];if(d){q[d+12>>2]=q[c+12>>2]}q[q[c+12>>2]>>2]=d;q[a+20>>2]=e-f;q[a+32>>2]=q[a+32>>2]+ -1;e=q[a+16>>2];if((e|0)!=q[c+4>>2]){break a}d=c+32|0;n[q[e+16>>2]](d+(q[e+24>>2]+7&-8)|0,d);La(c);e=q[a+20>>2]}if(e>>>0>b>>>0){continue}break}b=q[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}q[a>>2]=g}return}I(355392,355403,478,355495);F()}I(355525,355403,433,355544);F()}function QY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}f=r[a+7|0]|r[a+6|0]<<8;d=r[a+5|0];c=d|r[a+4|0]<<8;g=_$(c);e=g<<1;if(4294967295/(e>>>0)>>>0<=f>>>0?c:0){break a}c=a+8|0;e=w(e,f);if(e){if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0>>0){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a+5|0]}h=1;if(!f|d>>>0<16){break a}e=a+4|0;d=0;while(1){if(!ug(e,b,a,c)){return 0}c=(g<<1)+c|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}return h}function JS(a,b,c){var d=0,e=0,f=0,g=0;a:{if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<12){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!IS(a+5|0,b,c)){break a}f=q[b+4>>2];a=((r[a+7|0]|(r[a+6|0]<<8|r[a+5|0]<<16))+c|0)+4|0;if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}e=a+4|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<8){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}e=r[a+5|0]|r[a+4|0]<<8;if(e){a=a+12|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}}g=1}return g}function Zx(a,b,c,d,e){q[a+4>>2]=c;q[a>>2]=b;b=q[c+16>>2];q[a+40>>2]=0;q[a+44>>2]=0;q[a+12>>2]=d;q[a+8>>2]=b;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;o[a+29|0]=0;o[a+30|0]=0;o[a+31|0]=0;o[a+32|0]=0;o[a+33|0]=0;o[a+34|0]=0;o[a+35|0]=0;o[a+36|0]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+56>>2]=271312;o[a+52|0]=0;q[a+48>>2]=65536;c=ub(e);o[a+36|0]=0;q[a+44>>2]=c;b=q[a+8>>2];e=q[b+32>>2];if((e|0)==-1){e=lc(b);c=q[a+44>>2]}o[a+52|0]=1;q[a+48>>2]=e;b=q[c+12>>2];q[a+20>>2]=b;d=b;b=q[c+16>>2];q[a+24>>2]=d+b;if((b|0)<=-1){I(228416,228441,195,228458);F()}q[a+16>>2]=0;q[a+40>>2]=0;q[a+28>>2]=1073741823;return a}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;g=q[a+4>>2];b=0-g|0;f=b&(c+g|0)+ -1;b=b&d;if((s[e+12>>1]&7)!=2){b=(b|0)==(d|0)?b:(c|0)==(f|0)?b:((d-c|0)-g|0)>q[a+20>>2]?b:f}c=q[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=s[a+52>>1];if((c|0)>=(d|0)){break a}f=(b|0)<(d|0)?b:d+ -1|0;d=-128>>(f&7);g=q[a+140>>2];h=q[a+56>>2];a=(c|0)>0?c:0;c=a<<13>>16;b=(g+h|0)+c|0;e=255>>>(a&7)|0;f=f<<13>>16;a=f-c|0;if((a|0)>=1){o[b|0]=e|r[b|0];if((a|0)!=1){Na((h+(c+g|0)|0)+1|0,255,f+(c^-1)|0);while(1){b=b+1|0;c=(a|0)>2;a=a+ -1|0;if(c){continue}break}}o[b+1|0]=d|r[b+1|0];return}o[b|0]=r[b|0]|d&e}}function vy(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=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=r[b+1|0]|r[b|0]<<8;if((i<<2)+g>>>0>c>>>0){break a}b=q[a+12>>2];c=r[b+14|0];j=s[b+12>>1];k=s[b+10>>1];l=r[b+8|0];m=s[b+6>>1];n=s[b+4>>1];b:{if(!i){h=0;break b}f=f+1|0;b=0;while(1){h=sn(a,r[g+1|0]|r[g|0]<<8,o[g+2|0]+d|0,o[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}}break}b=q[a+12>>2]}p[b+14>>1]=c;p[b+8>>1]=l;p[b+12>>1]=j<<24>>24;p[b+10>>1]=k<<24>>24;p[b+6>>1]=m<<24>>24;p[b+4>>1]=n<<24>>24;a=q[a+8>>2];p[b+2>>1]=r[a+4|0];p[b>>1]=r[a|0]}return h|0}function q_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=q[b+4>>2];a:{if(e>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if((r[a+1|0]|r[a|0]<<8)!=1){return 1}f=a+2|0;if(e>>>0>f>>>0|c>>>0>>0|c-f>>>0<2){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){return 1}h=e;e=a+4|0;if(h>>>0>e>>>0|c>>>0>>0|c-e>>>0>>0){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}g=1;d=r[a+3|0]|r[a+2|0]<<8;if(!d){break a}c=0;b:{while(1){if(!m_(((c<<2)+a|0)+4|0,b,a)){break b}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}g=0}return g}function mV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Da-16|0;Da=h;a:{if(c>>>0>536870910){break a}if(!c){e=1;break a}if(t[b+4>>2]>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0>>0){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}f=0;b:{while(1){e=(f<<3)+a|0;if(t[b+4>>2]>e>>>0){break b}i=q[b+8>>2];if(i>>>0>>0|i-e>>>0<=7){break b}i=q[d>>2];g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break b}g=r[e+3|0]|r[e+2|0]<<8;j=r[e+1|0]|r[e|0]<<8;if(g>>>0>>0){break b}q[h+12>>2]=(g-j|0)+1;if(!lV(e+4|0,b,i,h+12|0)){break b}f=f+1|0;if((f|0)!=(c|0)){continue}break}e=1;break a}e=0}Da=h+16|0;return e}function lI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=q[a+28>>2];if(d>>>0<=7){q[a+28>>2]=d+1;f=(w(d,160)+a|0)+32|0;break a}f=Sa(160);if(f){break a}return 0}d=q[a>>2];q[f+4>>2]=b;q[f>>2]=d;i=f;d=0;b:{if(!c){break b}g=q[c>>2];if(!g){break b}d=f+96|0;b=0;while(1){b=(Wa(g)+b|0)+1|0;e=h;h=e+1|0;g=q[(h<<2)+c>>2];if(g){continue}break}c:{e=e+2<<2;b=e+b|0;if((b|0)<65){break c}d=Sa(b);if(d){break c}_a(0,2,499215,0);d=0;break b}h=d+e|0;g=0;b=d;e=c;while(1){q[b>>2]=h;b=tc(h,q[e>>2]);h=(Wa(b)+b|0)+1|0;g=g+1|0;e=g<<2;b=e+d|0;e=c+e|0;if(q[e>>2]){continue}break}q[b>>2]=0}q[i+8>>2]=d;cg(f+12|0,0,0);q[a>>2]=f;return 1}function L_(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:{e=q[b+8>>2];if(r[e+12|0]!=1){break a}b=r[a+1|0]|r[a|0]<<8;if(!b){break a}g=r[c+2|0];d=r[c+3|0];h=r[c|0];i=r[c+1|0];q[e+16>>2]=-1;c=r[a+3|0]|r[a+2|0]<<8;f=ac(e,c);if(!f){break a}h=(_$(i|h<<8)+_$(d|g<<8)<<1)+2|0;a=a+2|0;while(1){i=c&-512;j=c+512&-512;while(1){d=(c>>>3&56)+f|0;g=d;k=q[d+4>>2];l=d;m=q[d>>2];d=c&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=m|c;q[g+4>>2]=d|k;b=b+ -1|0;if(!b){break a}a=a+h|0;c=r[a|0]<<8|r[a+1|0];if(c>>>0>>0?i>>>0<=c>>>0:0){continue}break}f=ac(e,c);if(f){continue}break}}}function $b(a,b){var c=0,d=0;c=q[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){d=r[c|0];if(d>>>0>37){break a}b:{c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7: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:case 25:case 26:case 27:case 28:case 29:case 30:case 32:case 33:case 34:case 35:break a;case 36:break c;default:break b}}while(1){d:{d=d+ -10|0;if(d>>>0>3){break d}switch(d-1|0){case 0:case 1:break d;default:break b}}c=c+1|0;if((c|0)!=(b|0)){d=r[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}q[a>>2]=c}function cR(a,b,c,d){a=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=Da-128|0;Da=g;if((c|0)>=1){l=(w((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;f=i<<1;h=(f|0)>1?f:1;b=0;while(1){j=b<<2;k=q[j+d>>2]+k|0;e=k;q[g+j>>2]=((e+(e>>31)|0)+32768&-65536)>>16;b=b+1|0;if((h|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+g|0;q[h>>2]=q[h>>2]-q[e+g>>2];b=b+2|0;if((b|0)<(f|0)){continue}break}a:{if(q[a+4>>2]){break a}b=g;f=i;while(1){e=_g(l,q[b>>2],q[b+4>>2],q[a>>2],0);if(e){q[a+4>>2]=e;break a}b=b+8|0;e=(f|0)>1;f=f+ -1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Da=g+128|0}function PT(a,b,c){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=q[c+76>>2];if(e){b=e+ -1|0;a=0;f=q[c+88>>2];d=r[f+15|0];while(1){a:{if((a|0)==(b|0)){a=e;break a}a=a+1|0;if((d|0)==r[(w(a,20)+f|0)+15|0]){continue}}break}d=0;g=e;h=f;while(1){b=a;b:{if(d>>>0>=a>>>0){break b}while(1){a=w(d,20)+f|0;if(r[a+12|0]&16){o[a+18|0]=22;g=q[c+76>>2];h=q[c+88>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=g>>>0>a>>>0?g:a;i=d+ -1|0;j=r[(w(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(i|0)){a=d;break c}a=a+1|0;if(r[(w(a,20)+h|0)+15|0]==(j|0)){continue}}break}d=b;if(d>>>0>>0){continue}break}}}function sv(a,b,c){var d=0;c=c+ -1|0;if(c>>>0>7){return 1}a:{b:{switch(c-1|0){default:return PZ(a,b);case 0:return rv(a,b);case 1:return rv(a,b);case 2:return NZ(a,b);case 3:return qv(a,b);case 4:return pv(a,b);case 5:c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}return MZ(a,b);case 6:break b}}c=0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}c=1;if((r[a+1|0]|r[a|0]<<8)!=1){break a}c=LZ(a,b)}return c}function _m(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if(!(r[a+1|0]|r[a|0]<<8)|(e|0)<1){break a}f=d;d=a+4|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){return 1}c=a+8|0;e=0;while(1){if(!Cx(c,b)){return 0}a=c;c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;g=1;e=e+1|0;if((d|0)!=(e|0)){continue}break}}return g}function Xy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[b+28>>2];c=n[q[a+516>>2]](a,1734439792,b,0)|0;q[d+12>>2]=c;a:{if(c){break a}c=mb(b,4);q[d+12>>2]=c;if(c){break a}g=a,h=ob(b),p[g+560>>1]=h;g=a,h=ob(b),p[g+562>>1]=h;jb(b);if(s[a+560>>1]>=2){p[a+562>>1]=0;c=8;q[d+12>>2]=8;break a}c=e;e=s[a+562>>1];g=a,h=Oa(c,4,0,e,0,d+12|0),q[g+564>>2]=h;c=q[d+12>>2];if(c){break a}c=mb(b,e<<2);q[d+12>>2]=c;if(c){break a}if(e){a=q[a+564>>2];c=0;while(1){f=a+(c<<2)|0;g=f,h=ob(b),p[g>>1]=h;g=f,h=ob(b),p[g+2>>1]=h;c=c+1|0;if((e|0)!=(c|0)){continue}break}}jb(b);c=q[d+12>>2]}Da=d+16|0;return c|0}function Xm(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if(!(r[a+1|0]|r[a|0]<<8)|(e|0)<1){break a}f=d;d=a+4|0;if(f>>>0>d>>>0|c>>>0>>0|c-d>>>0<4){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!d){return 1}c=a+8|0;e=0;while(1){if(!qx(c,b)){return 0}a=c;c=r[c+4|0]|r[c+5|0]<<8|(r[c+6|0]<<16|r[c+7|0]<<24);c=a+(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))|0;g=1;e=e+1|0;if((d|0)!=(e|0)){continue}break}}return g}function Qq(a){var b=0;if(!a){return 0}a:{if(cb(a,444432)){break a}b=1;if(cb(a,444444)){break a}b=2;if(cb(a,444456)){break a}b=3;if(cb(a,444476)){break a}b=4;if(cb(a,444488)){break a}b=5;if(cb(a,444494)){break a}b=6;if(cb(a,444517)){break a}b=7;if(cb(a,444529)){break a}b=8;if(cb(a,444537)){break a}b=9;if(cb(a,444576)){break a}b=10;if(cb(a,444594)){break a}b=11;if(cb(a,444608)){break a}b=12;if(cb(a,444628)){break a}b=13;if(cb(a,444646)){break a}b=14;if(cb(a,444658)){break a}b=15;if(cb(a,444678)){break a}b=16;if(cb(a,444686)){break a}b=17;if(cb(a,444702)){break a}return 0}return q[(b<<3)+444292>>2]}function He(){var a=0,b=0;a=ab(1,168);if(!a){return 641960}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;q[a+36>>2]=1073741823;q[a+40>>2]=536870911;dh(0);b=ht(bj());q[a+24>>2]=65533;q[a+28>>2]=0;q[a+16>>2]=0;q[a+12>>2]=b;if(q[a+4>>2]){q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}return a}function lu(a,b,c){var d=0;a:{if(b>>>0>=c>>>0){break a}c=r[a|0];if(c>>>0>2){break a}b:{switch(c-1|0){default:if(!b){break a}a=((b<<1)+a|0)+ -1|0;return r[a|0]<<8|r[a+1|0];case 0:if(!b){break a}d=a+1|0;c=0;b=b+ -1|0;a=r[a+3|0];if(b>>>0>a>>>0){while(1){b=(a^-1)+b|0;c=c+1|0;a=r[(d+w(c,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=d+w(c,3)|0;return(r[a|0]<<8|r[a+1|0])+b|0;case 1:break b}}if(!b){break a}c=0;b=b+ -1|0;d=r[a+4|0]|r[a+3|0]<<8;if(b>>>0>d>>>0){while(1){b=(d^-1)+b|0;c=c+1|0;d=(c<<2)+a|0;d=r[d+3|0]<<8|r[d+4|0];if(b>>>0>d>>>0){continue}break}}a=(c<<2)+a|0;d=(r[a+1|0]<<8|r[a+2|0])+b|0}return d}function hf(a){var b=0,c=0;b=q[a+88>>2];if(b){La(q[b+20>>2]);La(q[q[a+88>>2]+4>>2]);La(q[q[a+88>>2]+8>>2]);La(q[a+88>>2])}La(q[a+24>>2]);La(q[a+28>>2]);La(q[a+68>>2]);b=q[a+16>>2];a:{if(!b){break a}c=1;if(q[a>>2]<1){break a}La(q[b>>2]);La(q[b+4>>2]);if(q[a>>2]>=2){while(1){b=q[a+16>>2]+w(c,144)|0;La(q[b>>2]);La(q[b+4>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=q[a+16>>2]}La(b);c=q[a+20>>2];if(!(!c|q[a+8>>2]<1)){b=0;while(1){c=w(b,56)+c|0;La(q[c+28>>2]);La(q[c+44>>2]);La(q[c+48>>2]);La(q[c+52>>2]);b=b+1|0;if((b|0)>2]){c=q[a+20>>2];continue}break}c=q[a+20>>2]}La(c);La(q[a+80>>2]);La(a)}function fv(a,b){var c=0,d=0,e=0;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=q[q[c+88>>2]+w(q[c+72>>2],20)>>2];d=0;a:{if((yb(e,c)|0)==-1){break a}e=c+(r[a+5|0]|r[a+4|0]<<8)&65535;kf(b,e,0,0,0);a=q[b+96>>2];c=q[a+92>>2];b:{if((c|0)==q[a+88>>2]){d=q[a+80>>2];b=d;if(q[a+72>>2]==(b|0)){break b}}d=1;if(!Va(a,1,1)){break a}d=q[a+88>>2]+w(q[a+72>>2],20)|0;c=q[d+4>>2];b=q[a+92>>2]+w(q[a+80>>2],20)|0;q[b>>2]=q[d>>2];q[b+4>>2]=c;q[b+16>>2]=q[d+16>>2];c=q[d+12>>2];q[b+8>>2]=q[d+8>>2];q[b+12>>2]=c;d=q[a+72>>2];b=q[a+80>>2];c=q[a+92>>2]}q[w(b,20)+c>>2]=e;q[a+80>>2]=b+1;q[a+72>>2]=d+1;d=1}return d}function UL(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}a=q[a>>2];if(!a){break a}c=q[a+4>>2];a=c&1?a+(c&-2)|0:c;if(!a){break a}while(1){if(!d){b:{c:{d=q[a+8>>2];e=d+ -3|0;if(e>>>0>6){break c}c=a+8|0;d:{switch(e-1|0){default:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 2:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 4:a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b;case 0:case 1:case 3:break c;case 5:break d}}a=q[a+16>>2];a=a&1?(a&-2)+c|0:a;break b}c=q[a+20>>2];f=q[a+12>>2];a=q[a+16>>2]}q[b+12>>2]=c;q[b+8>>2]=a;q[b+4>>2]=f;q[b>>2]=d;break a}d=d+ -1|0;c=a;a=q[a>>2];a=a&1?c+(a&-2)|0:a;if(a){continue}break}}}function cF(a,b,c){a=a|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,r=0,s=0;j=b<<2;r=q[j+q[a+388>>2]>>2];b=q[a+260>>2];if(!b){s=a;b=p[a+300>>1];d=q[a+248>>2];a:{if(!b){break a}e=p[a+298>>1];d=q[a+252>>2];if(!e){break a}h=q[a+248>>2];d=h>>31;g=d^d+h;d=e>>31;k=d+e^d;l=w(g>>>16|0,k);d=l<<16|8192;i=q[a+252>>2];f=i>>31;m=f^f+i;f=b>>31;n=f+b^f;o=w(m>>>16|0,n);f=o<<16|8192;g=d+w(k,g&65535)|0;d=(l>>>16|0)+(g>>>0>>0)<<18|g>>>14;d=(e^h)>-1?d:0-d|0;e=f+w(n,m&65535)|0;e=(o>>>16|0)+(e>>>0>>0)<<18|e>>>14;d=fg(d,(b^i)>-1?e:0-e|0)}b=d;q[s+260>>2]=b}b=Za(c,b);q[q[a+388>>2]+j>>2]=b+r}function gM(a){var b=0,c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;if(r[643740]&16){b=q[a+1584>>2];c=q[a+1592>>2];f=q[a+1580>>2];q[e+12>>2]=q[a+1588>>2];q[e+8>>2]=f;q[e+4>>2]=c;q[e>>2]=b;Ua(442351,e)}while(1){b=q[((d<<2)+a|0)+1036>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}d=0;while(1){b=q[((d<<2)+a|0)+1304>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=67){continue}break}b=0;c=q[a+1028>>2];if(q[a+1032>>2]>0){while(1){La(q[(b<<2)+c>>2]);c=q[a+1028>>2];b=b+1|0;if((b|0)>2]){continue}break}}La(c);La(a);Da=e+16|0}function ow(a){var b=0,c=0,d=0,e=0;b=r[a|0]|r[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a:{if(b>>>0>1){break a}b:{if(b-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;b=0;d=1;while(1){if(r[a+4|0]==1){break a}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}break b}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break a}a=a+8|0;d=1;while(1){if(r[a+5|0]==1){break a}e=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}d=0}return d}function IB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Da-32|0;Da=c;a:{if((n[q[b+52>>2]](b,6,c,0)|0)<=5){q[b+12>>2]=3;break a}e=q[c+12>>2];d=e>>31;d=d^d+e;if((d|0)!=65536){if(!d){q[b+12>>2]=3;break a}f=c,g=Za(q[c>>2],d),q[f>>2]=g;f=c,g=Za(q[c+4>>2],d),q[f+4>>2]=g;f=c,g=Za(q[c+8>>2],d),q[f+8>>2]=g;f=c,g=Za(q[c+16>>2],d),q[f+16>>2]=g;f=c,g=Za(q[c+20>>2],d),q[f+20>>2]=g;e=q[c+12>>2]<0?-65536:65536;q[c+12>>2]=e}q[a+440>>2]=q[c>>2];q[a+448>>2]=q[c+4>>2];d=q[c+8>>2];q[a+452>>2]=e;q[a+444>>2]=d;if(!qi(a+440|0)){q[b+12>>2]=3;break a}q[a+456>>2]=q[c+16>>2]>>16;q[a+460>>2]=q[c+20>>2]>>16}Da=c+32|0}function qM(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-48|0;Da=c;b=Kb(442131);a:{if(!b){break a}q[160942]=0;e=Uj(b,c+44|0,10,-1,-1);d=Ea;f=q[c+44>>2];if((b|0)==(f|0)){Lc(442149,38,1,q[126999]);break a}b=d;g=e+1|0;if(g>>>0<1){b=b+1|0}if(!(!q[160942]|(e|d)?!(q[160942]==68?!b&g>>>0<=1|b>>>0<0:0):0)){b=Gg(q[160942]);q[c+8>>2]=e;q[c+12>>2]=d;q[c>>2]=b;Mc(q[126999],442188,c);break a}if(r[f|0]){Lc(442239,51,1,q[126999]);break a}if((d|0)==1&e>>>0>=0|d>>>0>1){q[c+24>>2]=e;q[c+28>>2]=d;q[c+16>>2]=-1;Mc(q[126999],442291,c+16|0);break a}b=a>>31;a=(b|0)==(d|0)&e>>>0>>0|d>>>0>>0?e:a}Da=c+48|0;return a}function pm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Da-48|0;Da=b;d=q[a>>2];a:{if(d){break a}e=a+ -72|0;while(1){c=q[e>>2];if(!c){d=271312;break a}d=ab(1,4);b:{if(!d){d=271312;c=q[a>>2];q[a>>2]=c?c:271312;if(c){break b}break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;f=Mb(c);o[b+44|0]=1;q[b+40>>2]=f;g=d,h=cW(b+8|0,Jb(c,1735811442)),q[g>>2]=h;c=q[a>>2];q[a>>2]=c?c:d;if(!c){break a}c=q[d>>2];Pa(c?c:271312);La(d)}d=q[a>>2];if(!d){continue}break}}Da=b+48|0;return d}function mw(a){var b=0,c=0,d=0,e=0;b=r[a|0]|r[a+1|0]<<8;b=(b<<24|b<<8&16711680)>>>16|0;a:{if(b>>>0>1){break a}b:{if(b-1){c=r[a+3|0]|r[a+2|0]<<8;if(!c){break a}a=a+4|0;b=0;d=1;while(1){if(r[a+5|0]&4){break a}a=(r[a+3|0]|r[a+2|0]<<8)+a|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}break b}b=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break a}a=a+8|0;d=1;while(1){if(r[a+4|0]&64){break a}e=a;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=e+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}d=0}return d}function ls(a,b,c,d,e){var f=0,g=0;f=d>>9;a:{if(r[a+232|0]&2){d=f&511;d=d>>>0>255?d^511:d;break a}d=f^d>>31;d=(d|0)<255?d:255}f=q[a+312>>2];b:{if((f|0)>=0){g=f+1|0;q[a+312>>2]=g;f=w(f,6)+a|0;o[f+256|0]=d;p[f+254>>1]=e;p[f+252>>1]=b;if((g|0)!=10){break b}n[q[a+244>>2]](c,10,a+252|0,q[a+248>>2]);q[a+312>>2]=0;return}a=(q[a+236>>2]-w(q[a+240>>2],c)|0)+b|0;if(e>>>0<=7){c:{switch(e-1|0){case 6:o[a|0]=d;a=a+1|0;case 5:o[a|0]=d;a=a+1|0;case 4:o[a|0]=d;a=a+1|0;case 3:o[a|0]=d;a=a+1|0;case 2:o[a|0]=d;a=a+1|0;case 1:o[a|0]=d;a=a+1|0;break;case 0:break c;default:break b}}o[a|0]=d;return}Na(a,d,e)}}function XZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;if(vv(c,b,c)){q[f+12>>2]=c;if(VZ(c+2|0,b,f+12|0)){break a}}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function ys(a,b){var c=0,d=0,e=0,f=0;c=q[a+32>>2];e=b;d=q[a+28>>2];if(d){while(1){f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;c=c+16|0;d=d+ -1|0;if(d){continue}break}c=q[a+32>>2]}if(c){n[q[e+8>>2]](e,c)}q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;c=q[a+20>>2];d=q[a+16>>2];if(d){while(1){f=q[c+8>>2];if(f){n[q[b+8>>2]](b,f)}q[c+8>>2]=0;q[c+12>>2]=0;q[c>>2]=0;q[c+4>>2]=0;c=c+16|0;d=d+ -1|0;if(d){continue}break}c=q[a+20>>2]}if(c){n[q[e+8>>2]](e,c)}q[a+12>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;e=q[a+8>>2];if(e){n[q[b+8>>2]](b,e)}q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}function dQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=q[a+28>>2];a=q[f+20>>2];a:{if(!a){break a}b:{c:{b=s[a>>1];d=b<<16>>16;if((d|0)>=2){e=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break c}if(d){break c}b=p[a+2>>1];break b}b=p[a+2>>1];if((e|0)!=(b|0)){break b}p[a>>1]=d+ -1;break a}d:{if((b|0)<2){break d}c=q[a+4>>2];g=c+(e<<3)|0;c=(c+(b<<3)|0)+ -8|0;if(q[g>>2]!=q[c>>2]|q[g+4>>2]!=q[c+4>>2]|r[(q[a+8>>2]+b|0)+ -1|0]!=1){break d}b=b+ -1|0;p[a+2>>1]=b}if((d|0)<1){break a}c=e;e=(b<<16>>16)+ -1|0;if((c|0)==(e|0)){p[a+2>>1]=b+ -1;p[a>>1]=d+ -1;break a}p[(q[a+12>>2]+(d<<1)|0)+ -2>>1]=e}o[f+44|0]=0}function BR(a,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=Da-48|0;Da=d;g=q[b+92>>2];q[a+40>>2]=s[b+68>>1];a:{if(Ne(b,1970170211)){q[b+92>>2]=0;break a}Us(a,b);q[d+32>>2]=q[72328];c=q[72327];q[d+24>>2]=q[72326];q[d+28>>2]=c;c=q[72325];q[d+16>>2]=q[72324];q[d+20>>2]=c;f=d+16|0;e=He();b:{while(1){f=Ff(f,a,e,d+12|0);c:{if(t[d+12>>2]>1){break c}c=d+44|0;if(c){q[c>>2]=q[e+76>>2]}c=q[e+88>>2];h=Ge(e,d+44|0);if(!q[d+44>>2]|!q[c>>2]){break c}c=q[h>>2];if(!i){i=1;j=c;break c}if((c|0)==(j|0)){break c}c=0;break b}if(r[f|0]){continue}break}c=1}Xd(e);o[a+32|0]=c}$d(b,g);Da=d+48|0;return 0}function pV(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=f+d;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(f>>>0>=4){q[a+12>>2]=c+ -1;c=r[d+1|0];d=r[d|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8|1)!=3){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function Hm(a){var b=0,c=0,d=0,e=0;q[a>>2]=-57005;b=q[a+8>>2];if(b){a:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break a}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}q[a+16>>2]=0;La(q[a+28>>2]);q[a+28>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;La(q[a+40>>2]);q[a+40>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0}function HZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!Tb(a+2|0,b,a)){break a}if(!lf(a+4|0,b,a)){break a}if(!lf(a+6|0,b,a)){break a}if(!lf(a+8|0,b,a)){break a}e=q[b+4>>2];c=a+10|0;if(e>>>0>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}f=r[a+11|0]|r[a+10|0]<<8;if(!f){return 1}h=e;e=a+12|0;if(h>>>0>e>>>0|d>>>0>>0|d-e>>>0>>0){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}g=1;c=r[a+11|0]|r[a+10|0]<<8;if(!c){break a}d=0;while(1){if(nv(((d<<1)+a|0)+12|0,b,a)){d=d+1|0;if((c|0)!=(d|0)){continue}break a}break}g=0}return g}function GD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-208|0;Da=d;f=q[a+532>>2];n[q[b+60>>2]](b,d+16|0,16,d+12|0);c=q[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=q[f>>2];if(g){break c}}e=Bh(a,c,0);if(e){break a}f=q[a+532>>2];c=q[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=q[b+8>>2];g=q[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+w(c,12)|0;q[b>>2]=q[a>>2];q[b+8>>2]=q[a+4>>2];a=n[q[b+40>>2]](b,0)|0;h=c<<2;q[h+q[f+136>>2]>>2]=a;q[q[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}q[b+8>>2]=e;q[b>>2]=g;e=0}q[b+12>>2]=e;Da=d+208|0}function su(a,b){var c=0,d=0,e=0,f=0,g=0;e=ub(b);o[a+20|0]=0;q[a+28>>2]=e;d=q[e+12>>2];q[a+4>>2]=d;f=q[e+16>>2];q[a+8>>2]=f+d;if((f|0)>-1){q[a+24>>2]=0;g=a;if(f>>>0>536870910){c=1073741823}else{c=f<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!d){Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(f>>>0>=36){q[a+12>>2]=c+ -1;c=r[d+1|0];d=r[d|0];Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|d<<8)!=1){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(e);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function Pm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}f=c-a|0;if(f>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if(r[a+1|0]|r[a|0]<<8|(e|0)<1){break a}h=d;c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=0;d:{if(!g){break d}c=0;if(f>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}c=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}q[h+12>>2]=c+a;c=Pw(a+4|0,b,a,d+12|0)}Da=d+16|0;return c}function _P(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;p[a+64>>1]=256;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);q[a+68>>2]=0;q[a+72>>2]=0;if(!c|!e){break a}b=q[q[c+40>>2]>>2];if(!b){break a}q[a+72>>2]=q[b>>2];q[a+68>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72618];q[a+76>>2]=q[72617];q[a+80>>2]=b;b=q[72620];q[a+84>>2]=q[72619];q[a+88>>2]=b;b=q[72622];q[a+92>>2]=q[72621];q[a+96>>2]=b;b=q[72624];q[a+100>>2]=q[72623];q[a+104>>2]=b}function cq(a,b,c,d,e){var f=0,g=0,h=0;f=w(b,28);g=q[a+352>>2];h=q[f+q[g+164>>2]>>2];q[c>>2]=h;q[c+4>>2]=q[(f+q[g+164>>2]|0)+4>>2];if((h|0)==4){q[c+8>>2]=q[e>>2];f=q[(f+q[g+164>>2]|0)+8>>2];while(1){a=r[f|0];b=q[e>>2];q[e>>2]=b+1;o[b|0]=a;a=r[f|0];f=f+1|0;if(a){continue}break}q[c+12>>2]=0;q[c+16>>2]=0;return}f=q[(f+q[g+164>>2]|0)+20>>2];q[c+12>>2]=f;q[c+16>>2]=q[d>>2];q[d>>2]=q[d>>2]+w(f,20);if(q[c+12>>2]){b=(q[g+164>>2]+w(b,28)|0)+12|0;f=0;while(1){b=q[b>>2];cq(a,b,q[c+16>>2]+w(f,20)|0,d,e);b=(q[g+164>>2]+w(b,28)|0)+24|0;f=f+1|0;if(f>>>0>2]){continue}break}}q[c+8>>2]=0}function ym(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];a:{if((yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}c=r[a+5|0]|r[a+4|0]<<8;c=c?c+a|0:271312;d=q[b+96>>2];d=td(c,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);d=(r[a+7|0]|r[a+6|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+8|0:271312;e=r[d+1|0];g=r[d|0];q[f+12>>2]=c;q[f+8>>2]=434;d=0;c=a;a=e|g<<8;c=a?c+a|0:271312;e=r[c|0]<<8|r[c+1|0];if(!e){break a}a=c+2|0;while(1){g=r[a+1|0]|r[a|0]<<8;if($u(g?c+g|0:271312,b,f+8|0)){d=1;break a}a=a+2|0;e=e+ -1|0;if(e){continue}break}}Da=f+16|0;return d}function ci(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=q[a+352>>2];d=1;f=q[b>>2];g=f;while(1){a:{e=r[g|0];b:{if(!e){break b}if((e|0)!=58){break a}e=q[c+92>>2];d=(e|0)==q[c+88>>2];h=c+80|0;if((g|0)!=(f|0)){while(1){if(d){if(!Ya(h)){return 0}e=q[c+92>>2]}d=r[f|0];q[c+92>>2]=e+1;o[e|0]=d;e=q[c+92>>2];d=(e|0)==q[c+88>>2];f=f+1|0;if((f|0)!=(g|0)){continue}break}}if(d){if(!Ya(h)){return 0}e=q[c+92>>2]}q[c+92>>2]=e+1;d=0;o[e|0]=0;a=ic(a,c+60|0,q[c+96>>2],8);if(!a){break b}d=q[c+96>>2];c:{if((d|0)==q[a>>2]){q[c+96>>2]=q[c+92>>2];break c}q[c+92>>2]=d}q[b+4>>2]=a;d=1}return d}g=g+1|0;continue}}function Gq(a,b){var c=0,d=0,e=0;c=Da+ -64|0;Da=c;a:{if(!a|!b){break a}if((a|0)==(b|0)){d=a;break a}q[c+48>>2]=0;q[c+52>>2]=a;q[c+36>>2]=b;q[c+32>>2]=0;e=Jc(c+32|0,0);b=Jc(c+48|0,0);if(!b){break a}while(1){b:{if((b&255)==(e|0)){b=q[c+60>>2];q[c+24>>2]=q[c+56>>2];q[c+28>>2]=b;b=q[c+52>>2];q[c+16>>2]=q[c+48>>2];q[c+20>>2]=b;b=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=b;b=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=b;while(1){b=Jc(c+16|0,0);d=Jc(c,0);if(!d){break b}if((b|0)==(d|0)){continue}break}}d=0;a=q[c+52>>2];b=Jc(c+48|0,0);if(b){continue}break a}break}d=a}Da=c- -64|0;return d}function Ek(a){var b=0,c=0,d=0,e=0,f=0;b=Da-144|0;Da=b;c=q[a+8>>2];d=q[a+12>>2];Gb(10);if(q[a+4>>2]>=1){f=a+d|0;e=a+c|0;d=0;while(1){c=q[(d<<2)+e>>2];Gb(9);q[b+128>>2]=s[(d<<1)+f>>1];Ua(489309,b+128|0);c=c+e|0;q[b+112>>2]=q[c>>2];Ua(489315,b+112|0);q[b+96>>2]=q[c+4>>2];Ua(489315,b+96|0);q[b+80>>2]=q[c+8>>2];Ua(489315,b+80|0);q[b+64>>2]=q[c+12>>2];Ua(489315,b- -64|0);q[b+48>>2]=q[c+16>>2];Ua(489315,b+48|0);q[b+32>>2]=q[c+20>>2];Ua(489315,b+32|0);q[b+16>>2]=q[c+24>>2];Ua(489315,b+16|0);q[b>>2]=q[c+28>>2];Ua(489315,b);Gb(10);d=d+1|0;if((d|0)>2]){continue}break}}Da=b+144|0}function Cu(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[b+4>>2];a:{if(f>>>0>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<78){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}b:{if(!(r[a+1|0]|r[a|0]<<8)){break b}e=a+78|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<8){break a}q[b+12>>2]=d+ -2;if((d|0)<2){break a}if((r[a+1|0]|r[a|0]<<8)>>>0<2){break b}e=a+86|0;if(f>>>0>e>>>0|c>>>0>>0|c-e>>>0<10){break a}q[b+12>>2]=d+ -3;if((d|0)<3){break a}if((r[a+1|0]|r[a|0]<<8)>>>0<5){break b}a=a+96|0;if(f>>>0>a>>>0|c>>>0>>0|c-a>>>0<4){break a}q[b+12>>2]=d+ -4;if((d|0)<4){break a}}g=1}return g}function ZV(a,b,c,d){var e=0,f=0;e=b+20|0;a:{if(o[b+15|0]&1){e=e+(d<<2)|0;d=r[e|0]|r[e+1|0]<<8|(r[e+2|0]<<16|r[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[e+4|0]|r[e+5|0]<<8|(r[e+6|0]<<16|r[e+7|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break a}e=e+(d<<1)|0;d=r[e+1|0]<<1|r[e|0]<<9;e=r[e+3|0]<<1|r[e+2|0]<<9}e=e-d|0;f=q[c+16>>2];b=r[b+16|0]|r[b+17|0]<<8|(r[b+18|0]<<16|r[b+19|0]<<24);d=(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))+d|0;b=f-d|0;b=b>>>0>f>>>0?0:b;b=b>>>0>e>>>0?e:b;b:{if(b>>>0<4){b=0;c=0;break b}c=d+q[c+12>>2]|0}q[a+8>>2]=0;q[a+4>>2]=b;q[a>>2]=c}function Vs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-16|0;Da=e;a:{b:{d=bt(a,b,e+12|0);if(d){if(!c){g=d;break b}g=$R(a,d,q[e+12>>2],c);La(d);if(g){break b}}d=0;break a}d=0;c=ab(1,96);c:{if(!c){break c}q[c+60>>2]=1;q[c+84>>2]=a;f=ab(1,32);q[c+88>>2]=f;if(!f){La(c);break c}q[f+28>>2]=1;d=c}mt(d,g);f=q[d+8>>2];if((f|0)>=1){h=q[d+20>>2];c=0;while(1){q[(w(c,56)+h|0)+16>>2]=c;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!q[d+32>>2]){hf(d);La(g);d=0;break a}Ul(d);La(g);i=d,j=eb(b),q[i+80>>2]=j;c=q[d>>2];q[e+8>>2]=q[d+8>>2];q[e+4>>2]=c;q[e>>2]=b;hb(a,4,1988,e)}Da=e+16|0;return d}function Lb(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=q[a>>2];if(d){while(1){c=q[a+4>>2];g=e<<2;b=q[c+g>>2];if(b){while(1){if(!q[b+24>>2]){break b}c=q[b+28>>2];d=q[b+8>>2];if(q[b+20>>2]){c=c+ -1|0;q[b+28>>2]=c}c:{if(c){q[b>>2]=0;break c}f=q[a+16>>2];if((f|0)!=q[b+4>>2]){break a}c=b+32|0;n[q[f+16>>2]](c+(q[f+24>>2]+7&-8)|0,c);La(b)}b=d;if(b){continue}break}c=q[a+4>>2];d=q[a>>2]}q[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}q[a+20>>2]=0;q[a+24>>2]=0;q[a+8>>2]=0;q[a+12>>2]=a+8;q[a+28>>2]=0;q[a+32>>2]=0;return}I(355392,355403,518,355509);F()}I(355525,355403,433,355544);F()}function D$(a,b,c){var d=0,e=0,f=0;d=a;f=((b<<3)+a|0)+8|0;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0>b>>>0?f:271312;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?d+a|0:271312;b=r[a+4|0]<<8|r[a+5|0];if(b){a:{while(1){d=a+w(e,6)|0;if((r[d+6|0]<<8|r[d+7|0])==(c|0)){break a}e=e+1|0;if((b|0)!=(e|0)){continue}break}return 0}b=a;a=a+w(e,6)|0;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=a?b+a|0:271312}else{a=0}return a}function Q_(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=1;a:{if(r[b+12|0]!=1){break a}f=r[a+3|0]|r[a+2|0]<<8;if(!f){break a}q[b+16>>2]=-1;c=r[a+5|0]|r[a+4|0]<<8;g=ac(b,c);b:{if(!g){break b}e=a+4|0;a=c;while(1){k=c+512&-512;d=a;h=e;while(1){a=c;if(a>>>0>>0){break b}d=(a>>>3&56)+g|0;c=d;i=q[c+4>>2];l=c;m=q[c>>2];e=a&63;d=e&31;if(32<=(e&63)>>>0){e=1<>>32-d;d=1<>2]=m|d;q[c+4>>2]=e|i;f=f+ -1|0;if(!f){break a}c=r[h+2|0];i=r[h+3|0];d=a;e=h+2|0;h=e;c=c<<8|i;if(c>>>0>>0){continue}break}g=ac(b,c);if(g){continue}break}}j=0}return j}function Iv(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!lf(a+4|0,b,a)){break a}if(!w_(a+6|0,b,a)){break a}if(!v_(a+8|0,b,a)){break a}if(!lf(a+10|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65538){return 1}if(!u_(a+12|0,b,a)){break a}d=1;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0<65539){break a}d=Gv(a+14|0,b,a)}return d}function yv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if($Z(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function xv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if(_Z(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function sQ(a,b,c,d){a=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=Da-32|0;Da=e;q[d>>2]=-1;ef(a,e+16|0);if(q[e+24>>2]==3){i=q[a>>2];g=q[e+16>>2]+1|0;q[a>>2]=g;j=q[a+8>>2];h=q[e+20>>2]+ -1|0;q[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){ef(a,e);if(!q[e+8>>2]){break a}f=f+12|0;if(t[a>>2]>2]){continue}break}break a}c=w(c,12)+b|0;while(1){ef(a,e);if(!q[e+8>>2]){break a}if(f>>>0>>0){g=q[e+4>>2];q[f>>2]=q[e>>2];q[f+4>>2]=g;q[f+8>>2]=q[e+8>>2]}f=f+12|0;if(t[a>>2]>2]){continue}break}}q[d>>2]=(f-b|0)/12;q[a+8>>2]=j;q[a>>2]=i}Da=e+32|0}function Tu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Da-16|0;Da=f;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;d=1;if((g|0)<1){d=0;break a}i=r[a+1|0]|r[a|0]<<8;if(!i){break a}if(h>>>0>c>>>0){d=0;break a}if(e>>>0>>0){d=0;break a}if(e-c>>>0>>0){d=0;break a}q[b+12>>2]=g+ -2;if((g|0)<2){d=0;break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break a}c=c+e|0;q[f+12>>2]=c;if(FY(c,b,f+12|0)){break a}c=q[b+24>>2];if(c>>>0>31){d=0;break a}q[b+24>>2]=c+1;d=0;if(!r[b+20|0]){break a}o[a|0]=0;o[a+1|0]=0;d=1}Da=f+16|0;return d}function MV(a,b){var c=0,d=0,e=0,f=0,g=0;d=ub(b);o[a+20|0]=0;q[a+28>>2]=d;f=q[d+12>>2];q[a+4>>2]=f;e=q[d+16>>2];q[a+8>>2]=e+f;if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!f){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(e>>>0>=4){q[a+12>>2]=c+ -1;c=r[f|0];Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|0)!=1){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function BV(a,b){var c=0,d=0,e=0,f=0,g=0;d=ub(b);o[a+20|0]=0;q[a+28>>2]=d;f=q[d+12>>2];q[a+4>>2]=f;e=q[d+16>>2];q[a+8>>2]=e+f;if((e|0)>-1){q[a+24>>2]=0;g=a;if(e>>>0>536870910){c=1073741823}else{c=e<<3;c=c>>>0>16384?c:16384;c=c>>>0<1073741823?c:1073741823}q[g+12>>2]=c;q[a>>2]=0;if(!f){Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return b}a:{if(e>>>0>=5){q[a+12>>2]=c+ -1;c=r[f|0];Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;if((c|0)!=2){break a}if(q[b+4>>2]){q[b+4>>2]=0}return b}Pa(d);q[a+28>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0}Pa(b);return 271312}I(242848,242873,195,242890);F()}function Yd(a){var b=0,c=0,d=0;Pa(q[a+32>>2]);q[a+32>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;La(q[a+56>>2]);q[a+56>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;d=q[a+104>>2];if(d){while(1){b=q[a+108>>2]+w(c,28)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+108>>2]);c=0;q[a+108>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0;d=q[a+116>>2];if(d){while(1){b=q[a+120>>2]+w(c,28)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+120>>2]);q[a+120>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;Pa(q[a>>2]);q[a>>2]=0}function nc(a){var b=0,c=0,d=0;Pa(q[a+32>>2]);q[a+32>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;La(q[a+96>>2]);q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;d=q[a+192>>2];if(d){while(1){b=q[a+196>>2]+(c<<5)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+196>>2]);c=0;q[a+196>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;d=q[a+204>>2];if(d){while(1){b=q[a+208>>2]+w(c,24)|0;La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}La(q[a+208>>2]);q[a+208>>2]=0;q[a+200>>2]=0;q[a+204>>2]=0;Pa(q[a>>2]);q[a>>2]=0}function fo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;q[a+44>>2]=b;Jd(q[a>>2],b);c=q[a>>2];b=q[q[c+712>>2]+3080>>2];c=bc(q[q[c+96>>2]+4>>2],12904);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}e=n[b](c)|0;if(!e){break a}f=q[q[a>>2]+712>>2];c=q[f+1440>>2];h=q[q[a+40>>2]>>2];n[q[e+4>>2]](q[h>>2],q[a+16>>2],q[a+20>>2],0,0);b=q[f+2024>>2];if(!b){break a}while(1){g=q[a+16>>2];b=b+ -1|0;i=b<<2;d=q[q[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=bb(g,c,d);d=bb(q[a+20>>2],c,d);break b}d=q[a+20>>2]}n[q[e+4>>2]](q[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function aF(a,b,c){a=a|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,r=0;f=q[a+260>>2];if(!f){r=a;f=p[a+300>>1];d=q[a+248>>2];a:{if(!f){break a}e=p[a+298>>1];d=q[a+252>>2];if(!e){break a}i=q[a+248>>2];d=i>>31;h=d^d+i;d=e>>31;k=d+e^d;l=w(h>>>16|0,k);d=l<<16|8192;j=q[a+252>>2];g=j>>31;m=g^g+j;g=f>>31;n=g+f^g;o=w(m>>>16|0,n);g=o<<16|8192;h=d+w(k,h&65535)|0;d=(l>>>16|0)+(h>>>0>>0)<<18|h>>>14;d=(e^i)>-1?d:0-d|0;e=g+w(n,m&65535)|0;e=(o>>>16|0)+(e>>>0>>0)<<18|e>>>14;d=fg(d,(f^j)>-1?e:0-e|0)}f=d;q[r+260>>2]=f}c=Za(c,f);q[q[a+388>>2]+(b<<2)>>2]=c}function TT(a){a=a|0;a=a+24|0;Db(a,531);$a(a,1819239276,1,1);$a(a,1667460464,1,1);$a(a,1853188980,1,1);$a(a,1634429038,9,1);Db(a,532);$a(a,1919969382,8,1);Db(a,533);Db(a,532);$a(a,1886545254,9,1);Db(a,534);$a(a,1919644262,9,1);$a(a,1633842790,9,1);$a(a,1651275622,9,1);$a(a,1751215206,9,1);$a(a,1886614630,9,1);$a(a,1986098293,9,1);$a(a,1667916660,9,1);Db(a,535);Db(a,536);$a(a,1769172844,0,1);$a(a,1768843636,0,1);$a(a,1835361385,0,1);$a(a,1718185569,0,1);Db(a,0);$a(a,1633842803,9,1);$a(a,1651275635,9,1);$a(a,1751215214,9,1);$a(a,1886545267,9,1);$a(a,1886614643,9,1)}function on(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;q[f+12>>2]=0;g=gb(a,(s[c+8>>1]>>>1|0)+1|0,f+12|0);e=0;a:{if(q[f+12>>2]){break a}e=Xa(b,q[c+12>>2]);q[f+12>>2]=e;b:{if(e){break b}e=mb(b,s[c+8>>1]);q[f+12>>2]=e;if(e){break b}j=g;c:{h=s[c+8>>1]>>>1|0;if(h){j=g+h|0;i=q[b+32>>2];e=g;while(1){if(r[i|0]){break c}if(!n[d](o[i+1|0])){break c}o[e|0]=r[i+1|0];i=i+2|0;e=e+1|0;h=h+ -1|0;if(h){continue}break}}o[j|0]=0;jb(b);e=g;break a}jb(b)}if(g){n[q[a+8>>2]](a,g)}q[c+12>>2]=0;p[c+8>>1]=0;b=q[c+16>>2];if(b){n[q[a+8>>2]](a,b)}q[c+16>>2]=0;e=0}Da=f+16|0;return e}function Wo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Da-16|0;Da=g;a:{if(!a){break a}d=q[a+92>>2];if(!d|q[d+4>>2]!=1970170211){break a}d=q[a+40>>2];if(!d){break a}f=q[a+36>>2];if((f|0)<1){break a}i=(f<<2)+d|0;while(1){b:{f=q[d>>2];c:{if(s[f+8>>1]|s[f+10>>1]!=5){break c}e=q[f>>2];if(!e){break c}e=q[e+96>>2];h=q[q[e>>2]+32>>2];if(!h){break c}e=n[h](e,4096)|0;if(!e){break c}if(n[q[e>>2]](f,g+8|0)){break c}if(q[g+12>>2]==14){break b}}d=d+4|0;if(d>>>0>>0){continue}break a}break}d=q[d>>2];if(!d){break a}j=n[q[q[d+12>>2]+20>>2]](d,q[a+92>>2],b,c)|0}Da=g+16|0;return j}function rJ(){var a=0;a=dp(432);q[a>>2]=0;q[a+4>>2]=0;o[a+428|0]=0;q[a+424>>2]=0;q[a+416>>2]=0;q[a+408>>2]=0;q[a+412>>2]=-1;q[a+376>>2]=0;q[a+368>>2]=0;q[a+372>>2]=-1;q[a+336>>2]=0;q[a+328>>2]=0;q[a+332>>2]=-1;q[a+296>>2]=0;q[a+288>>2]=0;q[a+292>>2]=-1;q[a+256>>2]=0;q[a+248>>2]=0;q[a+252>>2]=-1;q[a+216>>2]=0;q[a+208>>2]=0;q[a+212>>2]=-1;q[a+176>>2]=0;q[a+168>>2]=0;q[a+172>>2]=-1;q[a+136>>2]=0;q[a+128>>2]=0;q[a+132>>2]=-1;q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=-1;q[a+32>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;return a|0}function oL(a){var b=0,c=0,d=0,e=0;a:{b:{b=q[a+4>>2];if(!(q[a+40>>2]|!b)){c=b<<1;if((c|0)<0){d=6;break a}if(c){d=10;if((c|0)>268435455){break a}d=q[a>>2];b=b<<4;d=n[q[d+4>>2]](d,b)|0;if(!d){break b}Na(d,0,b)}o[a+16|0]=1;q[a+40>>2]=d;e=(q[a+4>>2]<<3)+d|0;q[a+44>>2]=e;b=a;c=q[a+24>>2];if(c){c=(p[a+22>>1]<<3)+c|0}else{c=0}q[b+60>>2]=c;c=a- -64|0;b=q[a+28>>2];if(b){b=b+p[a+22>>1]|0}else{b=0}q[c>>2]=b;b=a;c=q[a+32>>2];if(c){c=c+(p[a+20>>1]<<1)|0}else{c=0}q[b+68>>2]=c;b=p[a+22>>1]<<3;q[a+80>>2]=b+e;q[a+76>>2]=d+b}return 0}q[a+40>>2]=d;return 64}q[a+40>>2]=0;return d}function fM(a,b){var c=0,d=0,e=0;a:{b:{if(q[b>>2]!=-1){d=q[a+4>>2];if(!d){d=ab(1,1596);q[a+4>>2]=d;if(!d){break b}}c=q[(((b>>>0)%67<<2)+d|0)+1304>>2];c:{if(!c){break c}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break c}break}e=1;if(q[c+8>>2]){break a}}b=iM(d,b)}c=q[b+12>>2];d=q[b+8>>2];e=0;if(!Dd(a,b,16)){break a}if(!Dd(a,b+d|0,q[b+4>>2]<<2)){break a}if(!Dd(a,b+c|0,q[b+4>>2]<<1)){break a}c=0;e=1;if(q[b+4>>2]<=0){break a}while(1){d=q[b+8>>2]+b|0;if(!Dd(a,q[d+(c<<2)>>2]+d|0,32)){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}e=0}return e}function zS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=c-a|0;if(d>>>0<14){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;if((e|0)<1){break a}c=r[a+3|0];f=r[a+2|0];g=c|f<<8;b:{if(!g){break b}c:{if(d>>>0>>0){break c}q[b+12>>2]=e+ -2;if((e|0)<2){break c}c=r[a+3|0];f=r[a+2|0];break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;if(!r[b+20|0]){break a}c=d>>>0<65535?d:65535;b=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=b;o[a+3|0]=b>>>8;f=(c&65280)>>>8|0}h=(r[a+7|0]<<2|r[a+6|0]<<10)+16>>>0<=(c&255|f<<8)>>>0}return h}function bK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{a=r[b+1|0];if(a+ -216>>>0<4){break e}if(a){break b}a=r[r[b|0]+e|0]+ -5|0;if(a>>>0>5){break b}f:{switch(a-1|0){case 4:break c;case 3:break d;case 1:break e;case 0:break f;default:break b}}b=b+3|0;break a}b=b+4|0;break a}q[d>>2]=q[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;q[d+4>>2]=-1;break a}if(r[b+3|0]){b=a;q[d+4>>2]=-1;break a}b=r[r[b+2|0]+e|0]==10?b+4|0:a;q[d+4>>2]=-1;break a}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+2|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>1){continue}break}}}function aU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(!Nb(b,a,4)){break a}c=(c<<8&16711680|c<<24)>>>16|0;o[a|0]=c;o[a+1|0]=c>>>8;g=q[d+4>>2];d=q[d>>2];f=a+2|0;if(!Nb(b,f,2)){break a}c=g+1|0;e=(c<<24|c<<8&16711680)>>>16|0;o[a+2|0]=e;o[a+3|0]=e>>>8;e=(c&65280)>>>8|0;h=b;if(!(!r[b+20|0]|c>>>0<65536)){o[b+20|0]=0;e=r[a+2|0];c=r[a+3|0]}b=c&255|e<<8;if(!Nb(h,f,b?b<<1:2)){break a}if(!g){return 1}b=0;c=g;while(1){i=1;e=(b<<1)+a|0;f=c?d:271312;f=r[f|0]|r[f+1|0]<<8;o[e+4|0]=f;o[e+5|0]=f>>>8;e=(c|0)!=0;c=c-e|0;d=(e<<1)+d|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}}return i}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,j=0,k=0,l=0,m=0,n=0;m=q[q[a+388>>2]+(b<<2)>>2];b=q[a+260>>2];if(!b){n=a;b=p[a+300>>1];c=q[a+248>>2];a:{if(!b){break a}d=p[a+298>>1];c=q[a+252>>2];if(!d){break a}g=q[a+248>>2];c=g>>31;f=c^c+g;c=d>>31;h=c+d^c;i=w(f>>>16|0,h);c=i<<16|8192;a=q[a+252>>2];e=a>>31;j=e^a+e;e=b>>31;k=e+b^e;l=w(j>>>16|0,k);e=l<<16|8192;f=c+w(h,f&65535)|0;c=(i>>>16|0)+(f>>>0>>0)<<18|f>>>14;c=(d^g)>-1?c:0-c|0;d=e+w(k,j&65535)|0;d=(l>>>16|0)+(d>>>0>>0)<<18|d>>>14;c=fg(c,(a^b)>-1?d:0-d|0)}b=c;q[n+260>>2]=b}return Ma(m,b)|0}function JJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{a=r[b|0];if(a+ -216>>>0<4){break e}if(a){break b}a=r[r[b+1|0]+e|0]+ -5|0;if(a>>>0>5){break b}f:{switch(a-1|0){case 4:break c;case 3:break d;case 1:break e;case 0:break f;default:break b}}b=b+3|0;break a}b=b+4|0;break a}q[d>>2]=q[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;q[d+4>>2]=-1;break a}if(r[a|0]){b=a;q[d+4>>2]=-1;break a}b=r[r[b+3|0]+e|0]==10?b+4|0:a;q[d+4>>2]=-1;break a}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+2|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>1){continue}break}}}function D_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=a;c=r[a+5|0]|r[a+4|0]<<8;h=c?c+a|0:271312;c=td(h,q[q[b+4>>2]>>2]);a=(r[a+7|0]|r[a+6|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+8|0:271312;a=r[a|0]<<8|r[a+1|0];d=a?d+a|0:271312;e=r[d|0]<<8|r[d+1|0];if(e){a=d+2|0;while(1){a:{c=r[a+1|0]|r[a|0]<<8;f=c?c+d|0:271312;g=r[f|0]<<8|r[f+1|0];if((g|0)!=q[b+8>>2]){break a}c=1;if(g>>>0<=1){return 1}while(1){i=(c<<1)+f|0;if((td(h,q[q[b+4>>2]+(c<<2)>>2])|0)!=(r[i+2|0]<<8|r[i+3|0])){break a}c=c+1|0;if((g|0)!=(c|0)){continue}break}return 1}a=a+2|0;e=e+ -1|0;if(e){continue}break}}return 0}function d$(a,b,c,d){var e=0,f=0,g=0,h=0;g=b;b=(r[a+11|0]|r[a+10|0]<<8)+a|0;e=g-(r[b|0]<<8|r[b+1|0])|0;if(e>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(e<<1)|0;f=r[b+4|0]<<8|r[b+5|0]}b=(r[a+13|0]|r[a+12|0]<<8)+a|0;c=c-(r[b|0]<<8|r[b+1|0])|0;if(c>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(c<<1)|0;h=r[b+4|0]<<8|r[b+5|0]}b=0;c=(r[a+15|0]|r[a+14|0]<<8)+a|0;e=((a+f|0)+h|0)-c>>>1|0;a=(e<<1)+c|0;a:{if(t[d+20>>2]>a>>>0){break a}f=q[d+24>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=d;d=q[d+28>>2];q[g+28>>2]=d+ -1;if((d|0)<1){break a}b=(r[(c+(e<<1)|0)+1|0]|r[a|0]<<8)<<16>>16}return b}function k$(a,b,c,d){var e=0,f=0,g=0,h=0;g=b;b=(r[a+9|0]|r[a+8|0]<<8)+a|0;e=g-(r[b|0]<<8|r[b+1|0])|0;if(e>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(e<<1)|0;f=r[b+4|0]<<8|r[b+5|0]}b=(r[a+11|0]|r[a+10|0]<<8)+a|0;c=c-(r[b|0]<<8|r[b+1|0])|0;if(c>>>0<(r[b+3|0]|r[b+2|0]<<8)>>>0){b=b+(c<<1)|0;h=r[b+4|0]<<8|r[b+5|0]}b=0;c=(r[a+13|0]|r[a+12|0]<<8)+a|0;e=((a+f|0)+h|0)-c>>>1|0;a=(e<<1)+c|0;a:{if(t[d+20>>2]>a>>>0){break a}f=q[d+24>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=d;d=q[d+28>>2];q[g+28>>2]=d+ -1;if((d|0)<1){break a}b=(r[(c+(e<<1)|0)+1|0]|r[a|0]<<8)<<16>>16}return b}function Lm(a,b,c,d){var e=0,f=0;a:{if((b|0)!=1196445523){e=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;e=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;e=t[a+16>>2]<10?271312:q[a+12>>2]}a=r[e+7|0]|r[e+6|0]<<8;e=a?e+a|0:271312;f=r[e|0]<<8|r[e+1|0];b:{if(f){b=0;while(1){a=e+w(b,6)|0;a=r[a+2|0]|r[a+3|0]<<8|(r[a+4|0]<<16|r[a+5|0]<<24);if((a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))==(c|0)){a=1;if(!d){break b}q[d>>2]=b;return 1}b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=0;if(!d){break b}q[d>>2]=65535}return a}function pQ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;o[a+68|0]=1;q[a+64>>2]=0;q[a+8>>2]=d;q[a+4>>2]=b;q[a>>2]=q[b+100>>2];a:{if(!d){break a}b=q[q[d+156>>2]>>2];q[a+12>>2]=b;q[a+20>>2]=b+56;q[a+16>>2]=b+20;Xe(b);b=q[q[c+40>>2]>>2];q[a+72>>2]=0;q[a+76>>2]=b;if(!e){break a}q[a+72>>2]=q[q[d+156>>2]+36>>2]}q[a+24>>2]=0;q[a+28>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;b=q[72559];q[a+80>>2]=q[72558];q[a+84>>2]=b;b=q[72561];q[a+88>>2]=q[72560];q[a+92>>2]=b;b=q[72563];q[a+96>>2]=q[72562];q[a+100>>2]=b;b=q[72565];q[a+104>>2]=q[72564];q[a+108>>2]=b}function bt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Da+ -64|0;Da=d;e=zp(b,1833);a:{if(!e){q[d>>2]=b;hb(a,2,1836,d);break a}if((Qh(e,0,2)|0)==-1){q[d+16>>2]=b;hb(a,2,1868,d+16|0);Pe(e);break a}f=Bp(e);fH(e);q[d+48>>2]=f;hb(a,6,1900,d+48|0);b:{if((f|0)==-1){break b}g=Sa(f+1|0);if(!g){break b}b=0;while(1){h=xp(b+g|0,f-b|0,e);if((h|0)<=0){b=q[160942];i=d,j=Gg(q[160942]),q[i+36>>2]=j;q[d+32>>2]=b;hb(a,4,1915,d+32|0);Pe(e);La(g);g=0;break a}b=b+h|0;if((f|0)>(b|0)){continue}break}o[f+g|0]=0;Pe(e);if(!c){break a}q[c>>2]=f;break a}Pe(e);g=0}Da=d- -64|0;return g}function qn(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[d+12>>2]=0;e=Ob(a,d+12|0);c=q[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}f=b;b=e&127;c=b;b:{if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}e=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}b=e&127|b<<7;c=b;if(!(e&128)){break b}a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if(a&128){break a}c=a&127|b<<7}q[f>>2]=c;c=0}Da=d+16|0;return c}function XI(a,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=b+ -15|0;if(g>>>0>12){break c}f=33;d:{switch(g-1|0){case 4:if(n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496795)){q[a>>2]=926;return 35}if(n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496803)){q[a>>2]=926;return 36}if(!n[q[e+24>>2]](e,q[e+64>>2]+c|0,d,496812)){break b}q[a>>2]=950;return 33;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a>>2]=926;return 37}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function lY(a,b,c,d){var e=0,f=0,g=0,h=x(0),i=0;f=q[b+88>>2];e=r[a+2|0]|r[a+3|0]<<8;h=x(x(q[f+20>>2])*x((e<<24|e<<8&16711680)>>16));g=q[f+16>>2];e=q[g+28>>2];if(!e){e=xb(g);g=q[f+16>>2]}u[c>>2]=h/x(e>>>0);i=d;e=r[a+4|0]|r[a+5|0]<<8;h=x(x(q[f+24>>2])*x((e<<24|e<<8&16711680)>>16));e=q[g+28>>2];if(!e){e=xb(g)}u[i>>2]=h/x(e>>>0);if(!(q[f+60>>2]?0:!q[f+48>>2])){e=r[a+7|0]|r[a+6|0]<<8;e=Fm(e?e+a|0:271312,f,q[b+108>>2]);u[c>>2]=u[c>>2]+x(e|0)}if(!(q[f+60>>2]?0:!q[f+52>>2])){c=a;a=r[a+9|0]|r[a+8|0]<<8;a=Em(a?c+a|0:271312,f,q[b+108>>2]);u[d>>2]=u[d>>2]+x(a|0)}}function Bu(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0){break a}d=c-a|0;if(d>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1|d>>>0<12){break a}q[b+12>>2]=c+ -2;if((c|0)<2|(r[a+7|0]|r[a+6|0]<<8)>>>0<8){break a}if(!KX(a+10|0,b,a)){break a}d=r[a+7|0]|r[a+6|0]<<8;c=r[a+9|0]|r[a+8|0]<<8;if(4294967295/(d>>>0)>>>0<=c>>>0?d:0){break a}c=w(c,d);if(!c){return 1}a=a+12|0;if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function gV(a,b,c){var d=0,e=0,f=0;b=s[b>>1];e=q[c+4>>2];a:{if((e|0)!=131072){d=0;if((e|0)!=65536|b>>>0>257){break a}b=b<<2;c=q[b+248064>>2];f=c+249100|0;d=q[b+248068>>2]+(c^-1)|0;break a}e=q[c+8>>2];d=0;if((r[e|0]<<8|r[e+1|0])>>>0<=b>>>0){break a}b=e+(b<<1)|0;b=r[b+2|0]<<8|r[b+3|0];if(b>>>0<=257){b=b<<2;c=q[b+248064>>2];f=c+249100|0;d=q[b+248068>>2]+(c^-1)|0;break a}b=b+ -258|0;d=0;if(b>>>0>=t[c+16>>2]){break a}b=q[c+24>>2]+q[q[c+20>>2]+(b<<2)>>2]|0;f=b+1|0;d=r[b|0]}b=d;c=q[a+4>>2];if((b|0)!=(c|0)){return c-b|0}if(!b){return 0}return Oc(q[a>>2],f,b)}function FJ(a,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:{f=b+ -11|0;if(f>>>0>18){break c}d:{switch(f-1|0){case 3:q[a>>2]=909;return 0;case 0:q[a>>2]=909;return 1;default:q[a>>2]=909;return 55;case 1:q[a>>2]=909;return 56;case 4:if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496672)){break b}q[a>>2]=910;return 3;case 2:break a;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break c;case 17:break d}}q[a>>2]=911;return 2}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function Iu(a,b){var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>2){break a}b:{switch(c-1|0){default:c=r[a+3|0]|r[a+2|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];c=yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)==-1){break a}d=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;c=r[d+1|0];d=r[d|0];f=q[57269];q[e+8>>2]=q[57268];q[e+12>>2]=f;f=q[57267];q[e>>2]=q[57266];q[e+4>>2]=f;f=a;a=c|d<<8;d=wm(a?f+a|0:271312,b,e);break a;case 0:d=Zu(a,b);break a;case 1:break b}}d=Yu(a,b)}Da=e+16|0;return d}function E_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=a;c=r[a+3|0]|r[a+2|0]<<8;c=yb(c?c+a|0:271312,q[q[b+4>>2]>>2]);a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];d=a?d+a|0:271312;e=r[d|0]<<8|r[d+1|0];if(e){a=d+2|0;f=q[b+8>>2];while(1){a:{c=r[a+1|0]|r[a|0]<<8;g=c?c+d|0:271312;if((r[g|0]<<8|r[g+1|0])!=(f|0)){break a}if(f>>>0<2){return 1}i=q[b+4>>2];c=1;while(1){h=(c<<1)+g|0;if(q[(c<<2)+i>>2]!=(r[h+2|0]<<8|r[h+3|0])){break a}c=c+1|0;if((f|0)!=(c|0)){continue}break}return 1}a=a+2|0;e=e+ -1|0;if(e){continue}break}}return 0}function xM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{if(!q[160933]){while(1){c=Sa(28);e=q[160933];q[160933]=e?e:c;if(!e){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}c=643664;f=q[160932];if((f|0)>=1){while(1){e=f;f=e+ -1|0;g=f<<2;d=q[g+c>>2];if(!(!d|q[d>>2]+q[d+8>>2]>>>0>a>>>0)){while(1){c=d;d=q[(c+g|0)+40>>2];if(q[d>>2]+q[d+8>>2]>>>0<=a>>>0?d:0){continue}break}c=c+40|0}if((e|0)>1){continue}break}}c=q[c>>2];if(!c|q[c>>2]+q[c+8>>2]>>>0<=a>>>0){break c}a=Sa(b+4|0);if(!a){break c}q[a>>2]=q[c+12>>2];q[c+12>>2]=a;h=a+4|0}return h}function fs(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=q[a+20>>2];b:{if(!a){break b}c:{d:{b=s[a>>1];e=b<<16>>16;if((e|0)>=2){d=p[(q[a+12>>2]+(b<<1)|0)+ -4>>1]+1|0;break d}if(e){break d}b=p[a+2>>1];break c}b=p[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if((b|0)<2){break e}c=q[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)+ -8|0;if(q[f>>2]!=q[c>>2]|q[f+4>>2]!=q[c+4>>2]|r[(q[a+8>>2]+b|0)+ -1|0]!=1){break e}b=b+ -1|0;p[a+2>>1]=b}if((e|0)<1){break b}c=d;d=(b<<16>>16)+ -1|0;if((c|0)==(d|0)){p[a+2>>1]=b+ -1;break a}p[(q[a+12>>2]+(e<<1)|0)+ -2>>1]=d}return}p[a>>1]=e+ -1}function Nv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=r[a+5|0];d=r[a+7|0];g=r[a+4|0];h=r[a+6|0];f=r[a+9|0]|r[a+8|0]<<8;q[e+12>>2]=f?f+a|0:271312;d=d|h<<8;q[e+8>>2]=d?d+a|0:271312;q[e>>2]=433;c=c|g<<8;q[e+4>>2]=c?c+a|0:271312;h=r[a+11|0]|r[a+10|0]<<8;if(h){c=a+12|0;while(1){d=r[c+1|0]|r[c|0]<<8;g=d?d+a|0:271312;f=r[g|0]<<8|r[g+1|0];if(f){d=g+2|0;while(1){i=r[d+1|0]|r[d|0]<<8;Kv(i?g+i|0:271312,b,e);d=d+2|0;f=f+ -1|0;if(f){continue}break}}c=c+2|0;h=h+ -1|0;if(h){continue}break}}Da=e+16|0}function Jo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;c=q[b+28>>2];e=n[q[a+516>>2]](a,1668707360,b,d+8|0)|0;q[d+12>>2]=e;f=d;a:{b:{if(e){q[a+700>>2]=0;q[a+704>>2]=0;c=0;break b}e=q[d+8>>2]>>>1|0;q[a+700>>2]=e;g=a,h=Oa(c,4,0,e,0,d+12|0),q[g+704>>2]=h;c=q[d+12>>2];if(c){break a}c=mb(b,q[a+700>>2]<<1);q[d+12>>2]=c;if(c){break a}e=q[a+700>>2];if((e|0)>=1){c=q[a+704>>2];e=c+(e<<2)|0;while(1){g=c,h=ob(b)<<16>>16<<6,q[g>>2]=h;c=c+4|0;if(c>>>0>>0){continue}break}}jb(b);if(!r[a+733|0]){c=q[d+12>>2];break a}c=xo(a,b)}q[f+12>>2]=c}Da=d+16|0;return c}function Zy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=q[q[a+96>>2]+8>>2];b=q[a+356>>2];if(b){e=d;c=q[a+348>>2];if((c|0)>=1){c=w(c,20)+b|0;while(1){f=q[b+16>>2];if(f){n[q[d+8>>2]](d,f)}q[b+16>>2]=0;b=b+20|0;if(b>>>0>>0){continue}break}b=q[a+356>>2]}if(b){n[q[e+8>>2]](e,b)}q[a+356>>2]=0}b=q[a+364>>2];if(b){e=d;c=q[a+360>>2];if((c|0)>=1){c=w(c,12)+b|0;while(1){f=q[b+8>>2];if(f){n[q[d+8>>2]](d,f)}q[b+8>>2]=0;b=b+12|0;if(b>>>0>>0){continue}break}b=q[a+364>>2]}if(b){n[q[e+8>>2]](e,b)}q[a+364>>2]=0}p[a+344>>1]=0;q[a+360>>2]=0;q[a+348>>2]=0;q[a+352>>2]=0}function WP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(r[a+64|0]){break a}o[a+64|0]=1;e=q[a+20>>2];b:{if(r[a+65|0]){d=q[a+12>>2];if((p[d+20>>1]+p[d+56>>1]|0)+1>>>0>t[d+8>>2]){d=Xb(d,0,1);if(d){break a}}f=s[e>>1];d=f<<16>>16;if((d|0)<1){break b}p[(q[e+12>>2]+(f<<1)|0)+ -2>>1]=s[e+2>>1]+ -1}d=s[e>>1]}p[e>>1]=d+1;d=q[a+12>>2];if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+65|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f+4>>2]=c>>10;q[f>>2]=b>>10;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function mb(a,b){var c=0,d=0,e=0;a:{e=q[a+20>>2];b:{if(e){c=85;if(t[a+4>>2]>>0){break b}d=q[a+28>>2];c:{d:{if((b|0)>=1){c=n[q[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=q[a+20>>2]}q[a>>2]=c;e=n[e](a,q[a+8>>2],c,b)|0;c=q[a>>2];if(e>>>0>=b>>>0){d=0}else{if(c){n[q[d+8>>2]](d,c)}c=0;q[a>>2]=0;d=85}q[a+32>>2]=c;q[a+36>>2]=c?b+c|0:0;q[a+8>>2]=e+q[a+8>>2];return d}e=q[a+4>>2];d=q[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0>>0){break b}q[a+8>>2]=b+d;c=d+q[a>>2]|0;q[a+32>>2]=c;q[a+36>>2]=b+c;c=0}return c}q[a>>2]=0;return c}function mU(a){a=a|0;var b=0;b=a+24|0;$a(b,1937007464,1,1);Db(b,517);$a(b,1667460464,1,1);$a(b,1819239276,1,1);Db(b,0);$a(b,1769172844,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1718185569,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1718185522,0,1);Db(b,0);$a(b,1718185523,0,1);Db(b,0);$a(b,1835361385,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1835361330,0,1);Db(b,0);$a(b,1768843636,(q[a+8>>2]==1098015074)<<1,1);Db(b,0);$a(b,1919707495,11,1);if(q[a+8>>2]==1098015074){Db(b,518)}$a(b,1919118452,9,1);$a(b,1667329140,9,1);Db(b,0);$a(b,1836279156,1,1)}function yK(a,b,c,d,e){a=a|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=q[b>>2];i=q[d>>2];a=e-i|0;j=(c-g|0)>(a|0);h=j?a+g|0:c;a=h;a:{if(g>>>0>=a>>>0){break a}e=0;c=h;while(1){a=c;c=a+ -1|0;f=r[c|0];b:{if((f&248)==240){f=e+1|0;e=0;if(f>>>0<4){break b}a=a+3|0;break a}if((f&240)==224){f=e+1|0;e=0;if(f>>>0<3){break b}a=a+2|0;break a}if((f&224)==192){f=e+1|0;e=0;if(f>>>0<2){break b}a=a+1|0;break a}if(!(f&128)){break a}}e=e+1|0;a=c;if(a>>>0>g>>>0){continue}break}}c=a-g|0;Qa(i,g,c);q[b>>2]=c+q[b>>2];q[d>>2]=c+q[d>>2];return(j?2:a>>>0>>0)|0}function gp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=q[a>>2];if(!b){return}f=q[b+96>>2];if(!f){return}c=q[b+108>>2];if(!c){break a}e=b+108|0;d=q[f+8>>2];while(1){if(q[c+8>>2]!=(a|0)){c=q[c+4>>2];if(c){continue}break a}break}g=q[c>>2];h=g?g+4|0:e;e=q[c+4>>2];q[h>>2]=e;q[(e?e:b+112|0)>>2]=g;n[q[d+8>>2]](d,c);b:{if(q[b+88>>2]!=(a|0)){break b}q[b+88>>2]=0;c=q[b+108>>2];if(!c){break b}q[b+88>>2]=q[c+8>>2]}b=q[a+8>>2];if(b){n[b](a)}b=q[q[f+12>>2]+60>>2];if(b){n[b](a)}b=q[a+40>>2];if(b){n[q[d+8>>2]](d,b)}q[a+40>>2]=0;n[q[d+8>>2]](d,a)}}function Oz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[b>>2];if((d|0)==-1){return 0}a=q[a+16>>2];c=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[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=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){q[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=r[a+1|0]|r[a|0]<<8;if(g){q[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}q[b>>2]=f;return 0}function kx(a,b){var c=0,d=0;d=Da-304|0;Da=d;q[d+24>>2]=a;o[d+16|0]=0;q[d+20>>2]=b;c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);q[d+28>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);q[d+32>>2]=(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))+a;c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);q[d+40>>2]=0;q[d+36>>2]=(c<<8&16711680|c<<24|(c>>>8&65280|c>>>24))+a;c=q[b+8>>2];q[d+4>>2]=q[b+12>>2];q[d>>2]=a;b=d;a=q[c+32>>2];if((a|0)==-1){a=lc(c)}q[b+8>>2]=a;gx(d,d+16|0);Da=d+304|0}function Db(a,b){var c=0,d=0,e=0,f=0,g=0;g=a;f=a;a:{b:{c:{d=q[a+72>>2];if((d|0)>=0){c=q[g+76>>2];e=c+1|0;e=(e|0)>0?e:0;if(d>>>0>=e>>>0){break b}c=d;while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=e>>>0){continue}break}if(!(c>>>0>>0|c>>>0>536870910)){d=db(q[a+80>>2],c<<3);if(d){break c}}q[f+72>>2]=-1}f=q[67829];q[160744]=q[67828];q[160745]=f;d=642976;break a}q[a+80>>2]=d;q[f+72>>2]=c;c=q[g+76>>2]}if(e>>>0>c>>>0){Na(q[a+80>>2]+(c<<3)|0,0,e-c<<3)}q[g+76>>2]=e;d=(q[a+80>>2]+(e<<3)|0)+ -8|0}f=q[a+52>>2];q[d+4>>2]=b;q[d>>2]=f;q[a+52>>2]=q[a+52>>2]+1}function td(a,b){var c=0,d=0,e=0,f=0,g=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){return 0}a:{if(c-1){b=b-(r[a+3|0]|r[a+2|0]<<8)|0;c=(r[a+5|0]|r[a+4|0]<<8)>>>0>b>>>0?((b<<1)+a|0)+6|0:271312;a=c+1|0;break a}f=271704;c=r[a+3|0]|r[a+2|0]<<8;b:{if(!c){break b}c=c+ -1|0;while(1){c:{d=c+g>>>1|0;e=w(d,6)+a|0;d:{if((r[e+4|0]<<8|r[e+5|0])>>>0>b>>>0){c=d+ -1|0;break d}if((r[e+7|0]|r[e+6|0]<<8)>>>0>=b>>>0){break c}g=d+1|0}if((g|0)<=(c|0)){continue}break b}break}f=(w(d,6)+a|0)+4|0}c=f+4|0;a=f+5|0}return r[a|0]|r[c|0]<<8}function Zu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Da-16|0;Da=e;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){c=r[a+5|0];f=r[a+9|0];h=r[a+4|0];i=r[a+8|0];g=r[a+7|0]|r[a+6|0]<<8;g=g?g+a|0:271312;d=q[b+96>>2];d=td(g,q[q[d+88>>2]+w(q[d+72>>2],20)>>2]);d=(r[a+11|0]|r[a+10|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+12|0:271312;j=r[d+1|0];d=r[d|0];f=f|i<<8;q[e+12>>2]=f?f+a|0:271312;q[e+8>>2]=g;c=c|h<<8;q[e+4>>2]=c?c+a|0:271312;q[e>>2]=434;c=a;a=d<<8|j;f=wm(a?c+a|0:271312,b,e)}Da=e+16|0;return f}function XE(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=s[a+256>>1];b=q[a+260>>2];if(!b){n=a;f=p[a+300>>1];b=q[a+248>>2];a:{if(!f){break a}c=p[a+298>>1];b=q[a+252>>2];if(!c){break a}g=q[a+248>>2];b=g>>31;e=b^b+g;b=c>>31;h=b+c^b;i=w(e>>>16|0,h);b=i<<16|8192;a=q[a+252>>2];d=a>>31;j=d^a+d;d=f>>31;k=d+f^d;l=w(j>>>16|0,k);d=l<<16|8192;e=b+w(h,e&65535)|0;b=(i>>>16|0)+(e>>>0>>0)<<18|e>>>14;b=(c^g)>-1?b:0-b|0;c=d+w(k,j&65535)|0;c=(l>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=fg(b,(a^f)>-1?c:0-c|0)}q[n+260>>2]=b}return Ma(m,b)|0}function UP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[q[a+4>>2]+712>>2];a:{b:{if(!q[d+2024>>2]){d=d+1372|0;break b}e=n[q[q[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(t[d+2024>>2]<=e>>>0){break a}d=q[(d+(e<<2)|0)+2028>>2];if(!b|!q[a+68>>2]){break b}q[a+72>>2]=q[(q[q[b+40>>2]>>2]+(e<<2)|0)+4>>2]}b=q[d+620>>2];q[a+728>>2]=b;q[a+744>>2]=q[d+644>>2];c=0;e=a;f=0;c:{if(q[q[a+108>>2]+1416>>2]==1){break c}f=107;if(b>>>0<1240){break c}f=b>>>0<33900?1131:32768}q[e+736>>2]=f;q[a+584>>2]=q[d+540>>2];b=q[d+544>>2];q[a+768>>2]=d;q[a+588>>2]=b}return c|0}function xq(a,b){var c=0,d=0,e=0,f=0,g=0;d=q[a+84>>2]+(q[a+48>>2]+b|0)|0;b=q[a+12>>2];a:{if(d>>>0<=b>>>0){break a}c=d+1|0;if((c|b)<0){return 6}f=q[a>>2];g=q[a+52>>2];b:{c:{e=c&-2;d:{if(!e){d=0;if(!g){break d}n[q[f+8>>2]](f,g);q[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!b){d=n[q[f+4>>2]](f,e<<5)|0;c=!d<<6;break e}c=n[q[f+12>>2]](f,b<<5,e<<5,g)|0;d=c?c:g;c=!c<<6}if(c|(e|0)<=(b|0)|!d){break c}Na((b<<5)+d|0,0,e-b<<5)}q[a+52>>2]=d;break b}q[a+52>>2]=d;if(c){break a}}q[a+12>>2]=e;c=0;q[a+88>>2]=d?(q[a+48>>2]<<5)+d|0:0}return c}function WS(a,b){var c=0,d=0,e=0;e=Da-48|0;Da=e;c=e;q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;o[c+44|0]=0;q[c+40>>2]=65536;c=YS(c+8|0,ub(a?a:271312));d=ab(1,8);a:{if(!d){a=641640;break a}q[d+4>>2]=b;q[d>>2]=c;a=ab(1,208);b:{if(a){q[a+8>>2]=0;c=a;q[c>>2]=1;q[c+4>>2]=1;q[c+32>>2]=-1;q[c+20>>2]=568;q[c+16>>2]=d;q[c+12>>2]=569;q[c+36>>2]=c;q[c+48>>2]=c;break b}Pa(c);La(d);a=641640}q[a+24>>2]=b}Da=e+48|0;return a}function P_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{e=q[b+16>>2];if(r[e+12|0]!=1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break a}q[e+16>>2]=-1;b=r[a+3|0]|r[a+2|0]<<8;g=ac(e,b);if(!g){break a}d=a+2|0;while(1){h=b&-512;i=b+512&-512;a=d;while(1){c=(b>>>3&56)+g|0;d=c;j=q[c+4>>2];k=c;l=q[c>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=l|b;q[d+4>>2]=c|j;f=f+ -1|0;if(!f){break a}d=a+2|0;b=r[a+3|0]|r[a+2|0]<<8;if(h>>>0<=b>>>0){a=d;if(b>>>0>>0){continue}}break}g=ac(e,b);if(g){continue}break}}}function ir(a){var b=0,c=0,d=0,e=0;b=Wa(a);e=b+5|0;c=Sa((e+b<<1)+32|0);if(!c){return 0}d=c+16|0;q[c>>2]=d;tc(d,a);b=(b+q[c>>2]|0)+1|0;q[c+4>>2]=b;tc(b,a);b=q[c+4>>2];b=Wa(b)+b|0;d=r[441546]|r[441547]<<8|(r[441548]<<16|r[441549]<<24);o[b|0]=d;o[b+1|0]=d>>>8;o[b+2|0]=d>>>16;o[b+3|0]=d>>>24;o[b+4|0]=r[441550];b=(q[c+4>>2]+e|0)+1|0;q[c+8>>2]=b;tc(b,a);a=q[c+8>>2];a=Wa(a)+a|0;b=r[441551]|r[441552]<<8|(r[441553]<<16|r[441554]<<24);o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=b>>>16;o[a+3|0]=b>>>24;o[a+4|0]=r[441555];q[c+12>>2]=(q[c+8>>2]+e|0)+1;return c}function bs(a,b){var c=0,d=0,e=0,f=0;f=Da-16|0;Da=f;a:{b:{d=q[a+20>>2];if((d|0)!=q[a+12>>2]){e=q[a+28>>2];break b}c=q[a+16>>2];q[f+12>>2]=0;c:{e=q[a+8>>2];c=c+d|0;if(2147483647/(e>>>0)>>>0>>0){break c}d=w(c,e);e=Oa(q[a>>2],1,q[a+24>>2],d,q[a+28>>2],f+12|0);q[a+28>>2]=e;if(q[f+12>>2]){break c}q[a+24>>2]=d;q[a+12>>2]=c;d=q[a+20>>2];if(d>>>0<=c>>>0){break b}b=q[a+4>>2];if(!(!b|q[b>>2])){q[b>>2]=130}q[a+20>>2]=c;break a}a=q[a+4>>2];if(!a|q[a>>2]){break a}q[a>>2]=64;break a}c=q[a+8>>2];Qa(w(c,d)+e|0,b,c);q[a+20>>2]=q[a+20>>2]+1}Da=f+16|0}function MS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;q[e+12>>2]=c;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}g=q[b+8>>2];if(g>>>0>>0){break a}h=g-a|0;if(h>>>0<=27){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}q[e+8>>2]=(r[a+25|0]|r[a+24|0]<<8)+a;f=d;d=a+24|0;if(f>>>0>d>>>0|g>>>0>>0|g-d>>>0<2){break a}q[b+12>>2]=c+ -2;if((c|0)<2){break a}d=r[a+25|0]|r[a+24|0]<<8;f=0;b:{if(!d){break b}if(h>>>0>>0){break a}q[b+12>>2]=c+ -3;if((c|0)<3){break a}f=r[a+25|0]|r[a+24|0]<<8}i=LS(f+a|0,b,e+8|0,e+12|0)}Da=e+16|0;return i}function WK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-160|0;Da=d;q[d+156>>2]=b;q[d+12>>2]=d+16;n[q[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(q[d+156>>2]!=(c|0)){break a}o[q[d+12>>2]]=0;b=493066;c=d+16|0;b:{while(1){c:{f=r[b|0];e=r[c|0];b=b+1|0;c=c+1|0;e=((e+ -97&255)>>>0<26?e+ -32|0:e)&255;switch(((e|0)==(((f+ -97&255)>>>0<26?f+ -32|0:f)&255)?!e<<1:1)-1|0){case 0:break b;case 1:break c;default:continue}}break}b=a;if(q[a+64>>2]==2){break a}}a=ji(d+16|0);if((a|0)==-1){b=0;break a}b=q[(a<<2)+493104>>2]}Da=d+160|0;return b|0}function QK(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-160|0;Da=d;q[d+156>>2]=b;q[d+12>>2]=d+16;n[q[a+56>>2]](a,d+156|0,c,d+12|0,d+143|0)|0;b=0;a:{if(q[d+156>>2]!=(c|0)){break a}o[q[d+12>>2]]=0;b=493066;c=d+16|0;b:{while(1){c:{f=r[b|0];e=r[c|0];b=b+1|0;c=c+1|0;e=((e+ -97&255)>>>0<26?e+ -32|0:e)&255;switch(((e|0)==(((f+ -97&255)>>>0<26?f+ -32|0:f)&255)?!e<<1:1)-1|0){case 0:break b;case 1:break c;default:continue}}break}b=a;if(q[a+64>>2]==2){break a}}a=ji(d+16|0);if((a|0)==-1){b=0;break a}b=q[(a<<2)+494624>>2]}Da=d+160|0;return b|0}function pe(a,b){var c=0,d=0,e=0,f=0,g=0;if(r[a+68|0]!=1){return 0}if(t[a+36>>2]>>0){o[a+68|0]=0;return 0}e=a+88|0;f=q[a+88>>2];g=q[a+92>>2];c=q[a+84>>2];a:{b:{if(b>>>0>214748363){break b}if(c>>>0<=b>>>0){while(1){c=((c>>>1|0)+c|0)+32|0;if(c>>>0<=b>>>0){continue}break}}if(c>>>0>214748363){break b}d=w(c,20);b=db(q[a+96>>2],d);d=db(q[a+88>>2],d);c:{if(!(d?b:0)){o[a+68|0]=0;if(!b){break c}}q[a+96>>2]=b}if(!d){break a}q[e>>2]=d;break a}o[a+68|0]=0}q[a+92>>2]=q[((f|0)==(g|0)?e:a+96|0)>>2];b=r[a+68|0];if(b){q[a+84>>2]=c}return(b|0)!=0}function cY(a,b,c){var d=0,e=0,f=0;d=Da-32|0;Da=d;Na(a+4|0,0,92);q[a>>2]=b;b=q[c+4>>2];q[a+4>>2]=q[c>>2];q[a+8>>2]=b;b=q[c+12>>2];q[a+12>>2]=q[c+8>>2];q[a+16>>2]=b;q[a+20>>2]=q[c+16>>2];q[d+28>>2]=3;q[d+24>>2]=3;Gu(q[a+8>>2],q[a+12>>2],d+28|0,d+12|0,d+24|0,d);e=a,f=(Mm(q[a>>2],1196643650,q[d+28>>2],d+12|0,a+36|0,a+24|0)|0)!=0,o[e+32|0]=f;Km(q[a>>2],1196643650,q[a+36>>2],q[d+24>>2],d,a+44|0);e=a,f=(Mm(q[a>>2],1196445523,q[d+28>>2],d+12|0,a+40|0,a+28|0)|0)!=0,o[e+33|0]=f;Km(q[a>>2],1196445523,q[a+40>>2],q[d+24>>2],d,a+48|0);Da=d+32|0}function HY(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(t[b+4>>2]>a>>>0){break b}c=q[b+8>>2];if(c>>>0>>0){break b}f=c-a|0;if(f>>>0<2){break b}c=q[b+12>>2];q[b+12>>2]=c+ -1;d=1;if((c|0)<1){break b}e=r[a|0]|r[a+1|0]<<8;e=((e<<24|e<<8&16711680)>>>16|0)+ -1|0;c:{if(e>>>0>2){break c}d:{switch(e-1|0){default:d=0;if(f>>>0<6){break c}break a;case 0:d=0;if(f>>>0<8){break c}break a;case 1:break d}}if(f>>>0<10){break b}q[b+12>>2]=c+ -2;if((c|0)<2){break b}d=0;if(!Lf(a+6|0,b,a)){break c}d=Lf(a+8|0,b,a)}return d}return 0}q[b+12>>2]=c+ -2;return(c|0)>1}function vh(a){var b=0,c=0,d=0;a:{if(!a){break a}c=q[a+28>>2];if(!c){break a}d=q[a+36>>2];if(!d){break a}b=q[c+20>>2];if(b){c=q[b>>2];if((c&-2)==4){n[d](q[a+40>>2],q[b+12>>2]);c=q[b>>2]}if((c|0)==6){n[q[a+36>>2]](q[a+40>>2],q[b+4>>2])}q[b+28>>2]=0;q[b+32>>2]=0;q[b>>2]=0;d=q[b+40>>2];q[b+52>>2]=d;q[b+48>>2]=d;c=q[b+56>>2];if(c){c=n[c](0,0,0)|0;q[b+60>>2]=c;q[a+48>>2]=c;d=q[b+40>>2]}n[q[a+36>>2]](q[a+40>>2],d);n[q[a+36>>2]](q[a+40>>2],q[b+36>>2]);n[q[a+36>>2]](q[a+40>>2],b);d=q[a+36>>2];c=q[a+28>>2]}n[d](q[a+40>>2],c);q[a+28>>2]=0}}function QI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 7:q[a+4>>2]=q[a+4>>2]+1;return 44;case 2:case 25:q[a>>2]=954;return 51;case 14:q[a>>2]=954;return 53;case 15:q[a>>2]=954;return 52;case 0:case 1:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break b;case 16:break c;default:break a}}q[a>>2]=954;return 54}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function fF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;c=q[a>>2];a:{b:{if(r[c+8|0]&2){d=n[q[q[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=q[e+12>>2];q[a+116>>2]=c;b=q[a>>2];if(o[b+8|0]&1){Jd(b,c);d=0;zj(a);break a}d=n[q[q[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}q[a+116>>2]=-1;break a}q[a+116>>2]=-1;c=q[a>>2]}Rf(c,b);if(!(o[q[a>>2]+8|0]&1)){break a}d=zj(a);if(d){break a}c=a;d=s[a+84>>1];a=q[a+44>>2];a=q[(s[a>>1]>s[a+2>>1]?12:16)+b>>2];f=c,g=bb(d,4608,a?q[b>>2]!=4?a:72:72),q[f+120>>2]=g}d=0}Da=e+16|0;return d|0}function zV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=q[b+12>>2];e=d+ -1|0;q[b+12>>2]=e;if((d|0)<1){break a}d=r[a|0];if(d>>>0>4){break a}b:{switch(d-1|0){default:g=1;d=q[b+32>>2];if(!d){break a}i=a+1|0;a=0;while(1){g=0;c=a+i|0;if(h>>>0>c>>>0|f>>>0<=c>>>0){break a}c=e+ -1|0;q[b+12>>2]=c;if((e|0)<=0){break a}e=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}return 1;case 2:return ju(a+1|0,b,c);case 0:case 1:break a;case 3:break b}}g=uV(a+1|0,b,c)}return g}function nn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;q[f+12>>2]=0;g=gb(a,s[c+8>>1]+1|0,f+12|0);e=0;a:{if(q[f+12>>2]){break a}e=Xa(b,q[c+12>>2]);q[f+12>>2]=e;b:{if(e){break b}e=mb(b,s[c+8>>1]);q[f+12>>2]=e;if(e){break b}j=g;c:{h=s[c+8>>1];if(h){j=g+h|0;i=q[b+32>>2];e=g;while(1){if(!n[d](o[i|0])){break c}o[e|0]=r[i|0];i=i+1|0;e=e+1|0;h=h+ -1|0;if(h){continue}break}}o[j|0]=0;jb(b);e=g;break a}jb(b)}if(g){n[q[a+8>>2]](a,g)}p[c+8>>1]=0;q[c+12>>2]=0;b=q[c+16>>2];if(b){n[q[a+8>>2]](a,b)}q[c+16>>2]=0;e=0}Da=f+16|0;return e}function UV(a,b,c,d,e){var f=0,g=0;q[e>>2]=r[a+3|0]|r[a+2|0]<<8;e=0;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;a:{if(f>>>0>2){break a}b:{switch(f-1|0){default:return jV(a,b,c,d);case 0:break a;case 1:break b}}g=a+8|0;f=b+1|0;f=(f|0)<0?271312:g+(f<<1)|0;b=(b|0)<0?271312:g+(b<<1)|0;g=r[b|0]<<8|r[b+1|0];if((r[f|0]<<8|r[f+1|0])>>>0<=g>>>0){break a}a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);q[c>>2]=g+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));q[d>>2]=(r[f+1|0]|r[f|0]<<8)-(r[b+1|0]|r[b|0]<<8);e=1}return e}function Jv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=r[a+1|0]|r[a|0]<<8;if(g){h=a+2|0;while(1){d=r[h+1|0]|r[h|0]<<8;d=d?d+a|0:271312;i=r[d+1|0];j=r[d|0];e=(i<<1|j<<9)+d|0;f=e+2|0;d=r[f|0]<<8|r[e+3|0];a:{if(r[b+12|0]){f=f+(d?d<<1:2)|0;if(r[f+1|0]|(i|j<<8)|r[f|0]<<8){break a}}if((d|0)!=q[b+8>>2]){break a}if(d>>>0<=1){return 1}i=e+4|0;j=q[c+8>>2];f=q[c>>2];e=1;while(1){if(!n[f](q[q[b+4>>2]+(e<<2)>>2],(i+(e<<1)|0)+ -2|0,j)){break a}e=e+1|0;if((d|0)!=(e|0)){continue}break}return 1}h=h+2|0;g=g+ -1|0;if(g){continue}break}}return 0}function Gm(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(r[b+12|0]!=1){break a}f=r[a+1|0]|r[a|0]<<8;if(!f){break a}q[b+16>>2]=-1;c=r[a+3|0]|r[a+2|0]<<8;g=ac(b,c);if(!g){break a}e=a+2|0;while(1){h=c&-512;i=c+512&-512;a=e;while(1){d=(c>>>3&56)+g|0;e=d;j=q[d+4>>2];k=d;l=q[d>>2];d=c&63;c=d&31;if(32<=(d&63)>>>0){d=1<>>32-c;c=1<>2]=l|c;q[e+4>>2]=d|j;f=f+ -1|0;if(!f){break a}e=a+2|0;c=r[a+3|0]|r[a+2|0]<<8;if(h>>>0<=c>>>0){a=e;if(c>>>0>>0){continue}}break}g=ac(b,c);if(g){continue}break}}}function ut(a){var b=0,c=0,d=0;p[a+20>>1]=1;q[a+16>>2]=0;q[a+4>>2]=q[a>>2];q[a+8>>2]=q[a+12>>2];ot(a);a:{b:{c:{d=q[a+44>>2];if((d|0)>=0){b=q[a+48>>2];c=b+1|0;c=(c|0)>0?c:0;if(d>>>0>=c>>>0){break b}b=d;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=c>>>0){continue}break}if(!(b>>>0>>0|b>>>0>1073741822)){d=db(q[a+52>>2],b<<2);if(d){break c}}q[a+44>>2]=-1}q[160744]=q[67828];a=642976;break a}q[a+44>>2]=b;q[a+52>>2]=d;b=q[a+48>>2]}if(c>>>0>b>>>0){Na(q[a+52>>2]+(b<<2)|0,0,c-b<<2)}q[a+48>>2]=c;a=(q[a+52>>2]+(c<<2)|0)+ -4|0}q[a>>2]=0}function _X(a){var b=0,c=0,d=0;a:{b:{c:{c=q[a+72>>2];if((c|0)>=0){b=q[a+76>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+80>>2],b<<3);if(c){break c}}q[a+72>>2]=-1}c=q[67829];q[160744]=q[67828];q[160745]=c;b=642976;break a}q[a+72>>2]=b;q[a+80>>2]=c;b=q[a+76>>2]}if(d>>>0>b>>>0){Na(q[a+80>>2]+(b<<3)|0,0,d-b<<3)}q[a+76>>2]=d;b=(q[a+80>>2]+(d<<3)|0)+ -8|0}c=q[a+52>>2];q[b+4>>2]=0;q[b>>2]=c;q[a+52>>2]=q[a+52>>2]+1}function ZX(a){var b=0,c=0,d=0;a:{b:{c:{c=q[a+84>>2];if((c|0)>=0){b=q[a+88>>2];d=b+1|0;d=(d|0)>0?d:0;if(c>>>0>=d>>>0){break b}b=c;while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=d>>>0){continue}break}if(!(b>>>0>>0|b>>>0>536870910)){c=db(q[a+92>>2],b<<3);if(c){break c}}q[a+84>>2]=-1}c=q[67829];q[160744]=q[67828];q[160745]=c;b=642976;break a}q[a+84>>2]=b;q[a+92>>2]=c;b=q[a+88>>2]}if(d>>>0>b>>>0){Na(q[a+92>>2]+(b<<3)|0,0,d-b<<3)}q[a+88>>2]=d;b=(q[a+92>>2]+(d<<3)|0)+ -8|0}c=q[a+56>>2];q[b+4>>2]=0;q[b>>2]=c;q[a+56>>2]=q[a+56>>2]+1}function cS(a){var b=0;a:{if(!q[a+4>>2]){break a}dh(q[a+12>>2]);b=ht(bj());q[a+24>>2]=65533;q[a+28>>2]=0;q[a+16>>2]=0;q[a+12>>2]=b;if(!q[a+4>>2]){break a}q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}}function DO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2])){break a}if(q[a+16>>2]!=q[b+16>>2]){break a}d=q[a+20>>2];if((d|0)!=q[b+20>>2]){break a}if(!d){return 1}f=q[b+24>>2];b=q[a+24>>2];while(1){b:{a=w(e,24);c=a+b|0;a=a+f|0;if(q[c>>2]!=q[a>>2]|q[c+4>>2]!=q[a+4>>2]|(q[c+8>>2]!=q[a+8>>2]|q[c+12>>2]!=q[a+12>>2])){break b}if(q[c+16>>2]!=q[a+16>>2]|q[c+20>>2]!=q[a+20>>2]){break b}c=1;e=e+1|0;if((d|0)!=(e|0)){continue}break a}break}c=0}return c|0}function uG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=35;a:{if(!(r[a+8|0]&2)){break a}h=7;if(q[b>>2]){break a}d=q[b+4>>2];f=d;i=q[b+8>>2];g=i;h=23;e=q[b+12>>2];if(e){f=(w(d,e)+36|0)/72|0}e=f;b=q[b+16>>2];if(b){g=(w(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=q[a+28>>2];if((d|0)<1){break a}a=q[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((f|0)==(q[g+8>>2]+32&-64)?(e|0)==(q[g+12>>2]+32&-64):0)){b=b+1|0;if((b|0)<(d|0)){continue}break a}break}h=0;if(!c){break a}q[c>>2]=b;return 0}return h}function tH(a,b,c){var d=0,e=0;a:{b:{c:{if((a^b)&3){break c}d=(c|0)!=0;d:{if(!c|!(b&3)){break d}while(1){d=r[b|0];o[a|0]=d;if(!d){break a}a=a+1|0;b=b+1|0;c=c+ -1|0;d=(c|0)!=0;if(!c){break d}if(b&3){continue}break}}if(!d){break b}if(!r[b|0]){break a}if(c>>>0<4){break c}while(1){d=q[b>>2];if((d^-1)&d+ -16843009&-2139062144){break c}q[a>>2]=d;a=a+4|0;b=b+4|0;c=c+ -4|0;if(c>>>0>3){continue}break}}if(!c){break b}d=a+c|0;while(1){e=r[b|0];o[a|0]=e;if(!e){break a}a=a+1|0;b=b+1|0;c=c+ -1|0;if(c){continue}break}a=d}c=0}Na(a,0,c)}function Tr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{e=q[b+36>>2];if((e|0)<1){break a}i=q[b+40>>2];c=-1;while(1){b:{f=q[(d<<2)+i>>2];g=s[f+8>>1];if((g|0)!=3){break b}h=s[f+10>>1]+ -1|0;if(h>>>0>9){break b}c:{switch(h-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:break b;default:break c}}$d(b,f);return}c=(c|0)<0?(g|0)==3?d:c:c;d=d+1|0;if((d|0)<(e|0)){continue}break}if((c|0)<0){break a}$d(b,q[q[b+40>>2]+(c<<2)>>2]);return}if(!q[b+92>>2]){if(!e){hb(a,2,354856,0);return}hb(a,2,354883,0);$d(b,q[q[b+40>>2]>>2])}}function Lq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=1;a:{c=q[b+4>>2];g=c>>>0<8?c:8;b:{if((g|0)>=1){c=0;while(1){h=q[((c<<2)+b|0)+8>>2];if(h){i=c<<5;d=0;while(1){if(h>>>d&1){c:{if(e){break c}if(Ng(a,124)){break c}return 0}e=0;f=0;if(!ge(a,(r[(d|i)+485300|0]<<5)+449308|0)){break b}}d=d+1|0;if((d|0)!=32){continue}break}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}b=q[b>>2];if(b){b=Ic(b);if(!b){return 0}while(1){c=Qb(b);if(c){if(!e){if(!Ng(a,124)){break a}}e=0;if(ge(a,c)){continue}break a}break}Zb(b)}f=1}return f}Zb(b);return 0}function Bf(a,b){var c=0;c=q[b>>2]+ -3|0;a:{if(c>>>0>6){break a}b:{switch(c-1|0){default:c=eb(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 1:c=IM(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 2:c=Qg(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 4:c=zf(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0;break a;case 0:case 3:break a;case 5:break b}}c=_k(q[b+8>>2]);q[b+8>>2]=c;if(c){break a}q[b>>2]=0}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c}function uE(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=q[a+8>>2];b=q[a>>2];a:{if(r[b+732|0]){break a}o[a+112|0]=0;c=q[a+16>>2];d=q[a+12>>2];q[a+48>>2]=d;q[a+52>>2]=c;c=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=c;e=q[a+32>>2];c=a- -64|0;q[c>>2]=q[a+28>>2];q[c+4>>2]=e;q[a+72>>2]=q[a+36>>2];if(!(d&65535)|!s[a+50>>1]){break a}if(r[b+176|0]&8){f=a,g=Ma(p[b+70>>1],q[a+56>>2])+32&-64,q[f+60>>2]=g;f=a- -64|0,g=Ma(p[b+72>>1],q[a+56>>2])+32&-64,q[f>>2]=g;f=a,g=Ma(p[b+74>>1],q[a+56>>2])+32&-64,q[f+68>>2]=g}o[a+112|0]=1}return 0}function Tn(a){var b=0,c=0,d=0,e=0,f=0;q[a+28>>2]=4096;b=a+4168|0;q[a+24>>2]=b;q[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!q[a+16>>2]){b=q[a>>2];c=q[b+20>>2];b:{if(c){c=n[c](b,q[b+8>>2],d,4096)|0;if(c){break b}break a}e=q[b+8>>2];c=q[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}Qa(d,q[b>>2]+e|0,c)}q[b+8>>2]=q[b+8>>2]+c;q[a+16>>2]=c;q[a+12>>2]=d}b=Sn(f,0);if(b){if((b|0)==1){b=q[a+24>>2];q[a+8272>>2]=b;return(b|0)==q[a+8268>>2]?85:0}break a}if(q[a+28>>2]){continue}break}return 0}q[a+8272>>2]=q[a+8268>>2];return 85}function SD(a,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=6;d=q[a+532>>2];a:{if(!d){break a}b:{if(!(b|c)){a=q[d>>2];if(!a){break b}b=q[d+136>>2];c=q[d+140>>2];e=0;while(1){d=f<<2;q[d+b>>2]=q[c+d>>2];f=f+1|0;if((a|0)!=(f|0)){continue}break}break a}if(!c){break a}e=q[d>>2];g=e>>>0>b>>>0?b:e;if(g){i=q[d+136>>2];while(1){h=f<<2;q[h+i>>2]=q[c+h>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(e>>>0>b>>>0){Na(q[d+136>>2]+(g<<2)|0,0,e-g<<2)}c=q[a+8>>2];if(b){q[a+8>>2]=c|32768;break b}q[a+8>>2]=c&-32769}e=0}return e|0}function dH(a,b,c,d){var e=0,f=0,g=0,h=0;f=Da-128|0;Da=f;g=85;a:{if(!b){break a}e=q[b+20>>2];if(e){if(n[e](b,0,0,0)){break a}}q[b+8>>2]=0;e=q[b+4>>2];if(!e){break a}h=q[b+20>>2];b:{if(h){e=n[h](b,0,f,128)|0;break b}e=e>>>0<128?e:128;Qa(f,q[b>>2],e)}q[b+8>>2]=e;if(e>>>0<128){break a}g=2;if(r[f+82|0]|(r[f|0]|r[f+74|0])){break a}e=r[f+1|0];if(r[f+63|0]|(e+ -1&255)>>>0>32|r[(f+e|0)+2|0]){break a}e=o[f+83|0];if((e|0)<0){break a}g=Xj(a,b,(r[f+86|0]|(r[f+84|0]<<16|(e&255)<<24|r[f+85|0]<<8))+255&-128,c,d)}Da=f+128|0;return g}function Vi(a,b,c,d,e){var f=0,g=0,h=0,i=x(0),j=0,k=x(0);if((r[a+1|0]|r[a|0]<<8)>>>0<=b>>>0){return x(0)}f=r[a+5|0];g=r[a+4|0];j=f|g<<8;f=(f<<1|g<<9)+a|0;g=r[a+3|0]|r[a+2|0]<<8;b=(f+w(j+g|0,b)|0)+6|0;if(g){f=0;while(1){h=(f<<1)+a|0;k=Rv(e,r[h+6|0]<<8|r[h+7|0],c,d);h=r[b|0]|r[b+1|0]<<8;i=x(i+x(k*x((h<<24|h<<8&16711680)>>16)));b=b+2|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(g>>>0>>0){while(1){f=(g<<1)+a|0;i=x(i+x(Rv(e,r[f+6|0]<<8|r[f+7|0],c,d)*x(o[b|0])));b=b+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}return i}function K_(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a+3|0]|r[a+2|0]<<8;if(!Vb(c?c+a|0:271312,q[b+8>>2])){break a}c=a;a=r[a+11|0]|r[a+10|0]<<8;c=a?c+a|0:271312;a=r[c|0]|r[c+1|0]<<8;a=((a<<24|a<<8&16711680)>>>16|0)+ -1|0;if(a>>>0>1){break a}e=q[b+8>>2];if(!(a-1)){d=r[c+3|0];a=r[c+2|0];f=d|a<<8;if(!f){break a}b=0;while(1){a=((a&255)<<8|d)>>>0>b>>>0?(c+w(b,6)|0)+4|0:271704;if(r[a+4|0]<<8|r[a+5|0]){if(!eh(e,r[a+1|0]|r[a|0]<<8,r[a+3|0]|r[a+2|0]<<8)){break a}}b=b+1|0;if((f|0)==(b|0)){break a}d=r[c+3|0];a=r[c+2|0];continue}}J_(c,e)}}function nt(a){var b=0,c=0,d=0,e=0;q[a>>2]=-57005;b=q[a+8>>2];if(b){a:{if(!q[b+8>>2]){La(q[b+12>>2]);q[b+12>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;break a}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){while(1){e=c+ -1|0;d=q[b+12>>2]+w(e,12)|0;c=q[d+8>>2];d=q[d+4>>2];q[b+8>>2]=e;q[b>>2]=0;if(c){n[c](d)}while(1){c=q[b>>2];q[b>>2]=1;if(c){continue}break}c=q[b+8>>2];if(c){continue}break}}La(q[b+12>>2]);q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}La(b)}La(q[a+32>>2]);q[a+32>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0}function KO(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=r[b+4|0]|r[b+5|0]<<8|(r[b+6|0]<<16|r[b+7|0]<<24);d=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);o[a|0]=d;o[a+1|0]=d>>>8;o[a+2|0]=d>>>16;o[a+3|0]=d>>>24;o[a+4|0]=c;o[a+5|0]=c>>>8;o[a+6|0]=c>>>16;o[a+7|0]=c>>>24;c=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);b=r[b+8|0]|r[b+9|0]<<8|(r[b+10|0]<<16|r[b+11|0]<<24);o[a+8|0]=b;o[a+9|0]=b>>>8;o[a+10|0]=b>>>16;o[a+11|0]=b>>>24;o[a+12|0]=c;o[a+13|0]=c>>>8;o[a+14|0]=c>>>16;o[a+15|0]=c>>>24;return 1}La(q[b>>2]);return 1}function c$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=r[a+5|0];d=r[a+4|0];h=e|d<<8;if(!h){break a}while(1){e=(d<<8|e)>>>0>g>>>0?((g<<1)+a|0)+6|0:271312;b:{if((r[e|0]<<8|r[e+1|0])!=(c|0)|r[b+12|0]!=1){break b}d=(r[a+3|0]|r[a+2|0]<<8)+g|0;if((d|0)==-1){break b}q[b+16>>2]=-1;e=ac(b,d);if(!e){break b}f=e+(d>>>3&56)|0;e=f;i=q[e+4>>2];j=e;k=q[e>>2];f=d&63;d=f&31;if(32<=(f&63)>>>0){f=1<>>32-d;d=1<>2]=k|d;q[e+4>>2]=f|i}g=g+1|0;if((h|0)==(g|0)){break a}e=r[a+5|0];d=r[a+4|0];continue}}}function G$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=271312;c=q[q[q[a>>2]+136>>2]>>2];c=c?c:271312;c=t[c+16>>2]<10?271312:q[c+12>>2];e=r[c+9|0]|r[c+8|0]<<8;c=e?c+e|0:271312;if((r[c|0]<<8|r[c+1|0])>>>0>b>>>0){b=c+(b<<1)|0;b=r[b+2|0]<<8|r[b+3|0];d=b?b+c|0:271312}a:{e=r[d+5|0];b=r[d+4|0];f=e|b<<8;if(!f){break a}g=r[d+1|0]|r[d|0]<<8;h=d+4|0;c=0;while(1){b=((b&255)<<8|e)>>>0>c>>>0?((c<<1)+h|0)+2|0:271312;b=r[b|0]<<8|r[b+1|0];Yv(b?b+d|0:271312,a,g);c=c+1|0;if((f|0)==(c|0)){break a}e=r[d+5|0];b=r[d+4|0];continue}}}function EY(a,b,c){var d=0,e=0,f=0,g=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a+1|0]|r[a|0]<<8;if(4294967295/(c>>>0)>>>0<=d>>>0?c:0){break a}d=w(c,d);if(d>>>0>2147483646){break a}if(!d){return 1}c=a+2|0;if(g>>>0>c>>>0|e>>>0>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;c=0;if((f|0)<=1){return 0}while(1){if(!Ri((c|0)<0?271312:((c<<1)+a|0)+2|0,b,a)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 1}return 0}function zO(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a>>2];a:{if((c|0)!=q[b>>2]){break a}if(c>>>0>2){return 1}b:{switch(c-1|0){default:if(q[a+8>>2]!=q[b+8>>2]|v[a+16>>3]!=v[b+16>>3]|(q[a+24>>2]!=q[b+24>>2]|q[a+28>>2]!=q[b+28>>2])){break a}if(q[a+32>>2]!=q[b+32>>2]|q[a+36>>2]!=q[b+36>>2]){break a}return q[a+40>>2]==q[b+40>>2]|0;case 0:return!Ta(q[a+8>>2],q[b+8>>2])|0;case 1:break b}}if(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]|(q[a+16>>2]!=q[b+16>>2]|q[a+20>>2]!=q[b+20>>2])){break a}d=q[a+24>>2]==q[b+24>>2]}return d|0}function Lr(a,b,c,d,e){var f=0,g=0;a:{if(!(q[a- -64>>2]!=(d|0)|q[a+68>>2]!=(e|0)|q[a+56>>2]!=(b|0))){if(q[a+60>>2]==(c|0)){break a}}q[a+64>>2]=d;q[a+68>>2]=e;q[a+60>>2]=c;q[a+56>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a+64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function kH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Da-32|0;Da=e;q[e+16>>2]=b;d=q[a+48>>2];q[e+20>>2]=c-((d|0)!=0);f=q[a+44>>2];q[e+28>>2]=d;q[e+24>>2]=f;a:{b:{f=ia(q[a+60>>2],e+16|0,2,e+12|0)|0;d=0;c:{if(!f){break c}q[160942]=f;d=-1}d:{if(d){q[e+12>>2]=-1;c=-1;break d}d=q[e+12>>2];if((d|0)>0){break b}c=d}q[a>>2]=q[a>>2]|c&48^16;break a}g=q[e+20>>2];if(d>>>0<=g>>>0){c=d;break a}f=q[a+44>>2];q[a+4>>2]=f;q[a+8>>2]=f+(d-g|0);if(!q[a+48>>2]){break a}q[a+4>>2]=f+1;o[(b+c|0)+ -1|0]=r[f|0]}Da=e+32|0;return c|0}function Mp(a,b,c){var d=0,e=0,f=0,g=0;f=Da-32|0;Da=f;e=-1;a:{if(!a|c>>>0>2){break a}d=(c<<2)+a|0;Ve(q[d+20>>2],f+16|0);if(!Ue(q[d+20>>2],f+16|0,b)){break a}if(b){e=b;while(1){d=q[e+4>>2]+ -1|0;b:{if(d>>>0>1){break b}if(d-1){d=q[e+8>>2];if(!d){break b}if(q[d>>2]==-1){q[d>>2]=c;d=q[e+8>>2]}d=q[d+8>>2];g=(g|0)<(d|0)?d:g;break b}d=q[q[e+8>>2]>>2];g=(g|0)<(d|0)?d:g}e=q[e>>2];if(e){continue}break}}if(r[643740]&4){q[f+4>>2]=q[a+4>>2];q[f>>2]=c;Ua(503697,f);lL(b)}a=g&-1025;e=((a|0)>51?a:51)+ -51|0}Da=f+32|0;return e}function RL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=q[b+8>>2];d=Cd(a,b);a:{if(!d){break a}c=q[b+4>>2];q[d>>2]=q[b>>2];q[d+4>>2]=c;c=q[b+12>>2];q[d+8>>2]=q[b+8>>2];q[d+12>>2]=c;c=q[b>>2];q[d+12>>2]=-1;q[d+4>>2]=c;f=b+f|0;g=Cd(a,f);if(!g){break a}q[d+8>>2]=g-d;if(q[b>>2]>=1){while(1){c=h<<3;i=c+f|0;e=q[i+4>>2];e=QL(a,e&1?(e&-2)+i|0:e);if(!e){return 0}c=c+g|0;q[c>>2]=q[i>>2];q[c+4>>2]=e-c|1;h=h+1|0;if((h|0)>2]){continue}break}}e=d;if(!(r[643740]&32)){break a}Rb(442449);cd(b);Rb(442462);cd(e);Gb(10)}return e}function BG(a,b,c,d){var e=0,f=0,g=0,h=0;g=-1;e=d&2147483647;h=e;f=c;a:{if(!c&(e|0)==2147418112?a|b:(e|0)==2147418112&c>>>0>0|e>>>0>2147418112){break a}if(!(a|f|(h|1073610752|b))){return 0}f=d&1073610752;if((f|0)>0?1:(f|0)>=0?1:0){if(!c&(d|0)==1073610752?!b&a>>>0<0|b>>>0<0:(d|0)<1073610752?1:(d|0)<=1073610752?c>>>0>=0?0:1:0){break a}return(a|c)!=0|(d^1073610752|b)!=0}if(!c&(d|0)==1073610752?!b&a>>>0>0|b>>>0>0:(d|0)>1073610752?1:(d|0)>=1073610752?c>>>0<=0?0:1:0){break a}g=(a|c)!=0|(d^1073610752|b)!=0}return g}function Sy(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!r[a+632|0]){break a}c=q[a+100>>2];b=q[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=q[a+640>>2];if(b){n[q[c+8>>2]](c,b)}p[a+636>>1]=0;q[a+640>>2]=0;b=q[a+644>>2];if(s[a+638>>1]){while(1){d=b;b=e<<2;d=q[d+b>>2];if(d){n[q[c+8>>2]](c,d)}q[q[a+644>>2]+b>>2]=0;b=q[a+644>>2];e=e+1|0;if(e>>>0>1]){continue}break}}if(b){n[q[c+8>>2]](c,b)}p[a+638>>1]=0;q[a+644>>2]=0;break a}b=q[a+640>>2];if(b){n[q[c+8>>2]](c,b)}p[a+636>>1]=0;q[a+640>>2]=0}o[a+632|0]=0}function Om(a,b,c){var d=0,e=0;a:{if((r[a+1|0]|r[a|0]<<8)==10){b:{c=r[a+5|0]|r[a+4|0]<<8;if(c>>>0<=b>>>0){b=b-c|0;if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0){break b}}a=q[67828];return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}d=r[a+3|0]|r[a+2|0]<<8;if(!d){return 0}c=0;e=a;a=w(b,d);a=(a|0)<0?271312:(e+a|0)+8|0;b=0;while(1){b=r[a|0]|b<<8;a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}a=ww(a,b,c);a=a?a:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}return b}function Lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=q[a+20>>2];if(d){e=q[a+28>>2];if(b){c=n[q[e+4>>2]](e,b)|0;if(!c){break a}d=q[a+20>>2]}q[a>>2]=c;f=n[d](a,q[a+8>>2],c,b)|0;g=a;d=q[a>>2];c=d;b:{if(f>>>0>=b>>>0){break b}h=85;c=0;if(!d){break b}n[q[e+8>>2]](e,d);q[a>>2]=0;c=0}d=c;q[g+32>>2]=d;q[a+36>>2]=b+d;q[a+8>>2]=f+q[a+8>>2];return h}c=85;e=q[a+8>>2];d=q[a+4>>2];c:{if(e>>>0>=d>>>0){break c}f=b+e|0;if(f>>>0>d>>>0){break c}q[a+8>>2]=f;c=e+q[a>>2]|0;q[a+32>>2]=c;q[a+36>>2]=b+c;c=0}return c}q[a>>2]=0;return 64}function wx(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ym(a,b)){break a}b=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break a}b=r[a+20|0]|r[a+21|0]<<8|(r[a+22|0]<<16|r[a+23|0]<<24);if(!(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))){break a}a=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);d=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return d}function lr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}f=1;a:{if(q[a>>2]<1){break a}while(1){c=(q[a+8>>2]+a|0)+(g<<3)|0;d=q[c>>2];b:{if((d|0)==42){break b}f=0;d=Af(b,d);if(!d){break a}h=c;c=q[c+4>>2];e=c&1?h+(c&-2)|0:c;if(!e){break b}c=q[d+4>>2];d=c&1?d+(c&-2)|0:c;if(!d){break a}while(1){i=e+8|0;c=d;while(1){if(!kk(c+8|0,65561,i)){h=c;c=q[c>>2];c=c&1?h+(c&-2)|0:c;if(c){continue}break a}break}c=q[e>>2];e=c&1?(c&-2)+e|0:c;if(e){continue}break}}f=1;g=g+1|0;if((g|0)>2]){continue}break}}return f}function fI(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;a=Se(a);a:{if(!a){break a}c=Ic(q[a+8>>2]);cc(a);if(!c){break a}b:{a=Qb(c);if(a){while(1){e=Wa(a);if(!Ra(b,a,e)){e=r[b+e|0];if(!e|(e|0)==47){break b}}a=Qb(c);if(a){continue}break}}Zb(c);break a}Zb(c);c=Wa(a)+a|0;c=r[c+1|0]?c+1|0:0;if(!c){break a}a=Wa(a)+b|0;while(1){b=a;a=a+1|0;if(r[b|0]==47){continue}break}q[d+4>>2]=0;q[d>>2]=b;b=_b(c,d);if(!b){break a}a=Wa(b);while(1){f=a;if(a){a=f+ -1|0;if(r[b+a|0]==47){continue}}break}o[b+f|0]=0;f=b}Da=d+16|0;return f}function eS(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=q[a+88>>2];b=q[a+72>>2];e=q[(d+w(b,20)|0)+8>>2];f=b+1|0;a:{b:{if(f>>>0>2]){if(q[(d+w(f,20)|0)+8>>2]==(e|0)){break a}c=q[a+80>>2];if(c){break b}kc(a,b,b+2|0);q[a+72>>2]=q[a+72>>2]+1;return}c=q[a+80>>2];if(!c){break a}}g=q[a+92>>2];h=q[(g+w(c,20)|0)+ -12>>2];if(e>>>0>=h>>>0){break a}d=q[(d+w(b,20)|0)+4>>2]&1;while(1){c=c+ -1|0;b=w(c,20)+g|0;if(q[b+8>>2]!=(h|0)){break a}i=q[b+4>>2];q[b+4>>2]=d?i|1:i&-2;q[b+8>>2]=e;if(c){continue}break}}q[a+72>>2]=f}function Uf(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(32<=(c&63)>>>0){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(32<=(j&63)>>>0){h=i<>>32-g|h<>>0){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(32<=(f&63)>>>0){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function CR(a,b){var c=0,d=0,e=0,f=0;c=Da+ -64|0;Da=c;d=q[b+40>>2];a:{b:{c:{e=q[b+36>>2];if((e|0)>=1){if((d|0)>0){break a}if((e|0)!=1280){break c}q[b+40>>2]=1024;q[c>>2]=1024;hb(a,2,2093,c);break a}if((d|0)>0){break b}hb(a,2,2037,0);q[b+36>>2]=384;q[b+40>>2]=288;break a}f=b;b=w(e,3);b=(b|0)<4?1:(b|0)/4|0;q[f+40>>2]=b;q[c+16>>2]=b;hb(a,2,2093,c+16|0);break a}if((d|0)==1024){q[b+36>>2]=1280;q[c+32>>2]=1280;hb(a,2,2127,c+32|0);break a}f=b;b=(d<<2)/3|0;q[f+36>>2]=b;q[c+48>>2]=b;hb(a,2,2127,c+48|0)}Da=c- -64|0}function mf(a,b,c,d){var e=0;a:{if(d&16){c=0;a=q[a+104>>2];e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<65538){break a}e=a;a=r[a+13|0]|r[a+12|0]<<8;a=a?e+a|0:271312;if((r[a|0]<<8|r[a+1|0])!=1){break a}e=a;c=d>>>16|0;a=(r[a+3|0]|r[a+2|0]<<8)>>>0>c>>>0?(a+(c<<2)|0)+4|0:271312;a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return(yb(a?e+a|0:271312,b)|0)!=-1}a=d&65280;if(!a){return 1}c=(a|0)==(c&65280)}return c}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;d=Da-16|0;Da=d;c=(a+2|0)+(r[a+3|0]<<1|r[a+2|0]<<9)|0;e=c+2|0;c=r[c+3|0]|r[e|0]<<8?c+4|0:271312;c=r[c|0]<<8|r[c+1|0];f=c?c+a|0:271312;c=q[b+96>>2];if((yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){h=r[e+1|0];i=r[e|0];c=e+(h<<1|i<<9)|0;g=r[c+3|0];j=c+2|0;f=r[j|0];q[d+12>>2]=a;q[d+8>>2]=a;q[d+4>>2]=a;q[d>>2]=448;k=r[a+3|0]|r[a+2|0]<<8;l=a+4|0;a=(g<<1|f<<9)+j|0;g=_u(b,k,l,i<<8|h,e+4|0,g|f<<8,c+4|0,r[a+2|0]<<8|r[a+3|0],a+4|0,d)}Da=d+16|0;return g}function OS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=q[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=q[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=q[b+12>>2];q[b+12>>2]=g+ -1;if((g|0)<1){break a}e=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);h=0;b:{if(!e){break b}if(f>>>0>>0|i>>>0>c>>>0|f-c>>>0>>0){break a}q[b+12>>2]=g+ -2;if((g|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);h=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}j=MS(h+c|0,b,q[d>>2])}return j}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;g=r[a+1|0]|r[a|0]<<8;if(g){h=a+2|0;while(1){d=r[h+1|0]|r[h|0]<<8;e=d?d+a|0:271312;j=r[e+2|0]<<8|r[e+3|0];f=r[e+1|0]|r[e|0]<<8;a:{if(!f){break a}i=f+ -1|0;if(!i){break a}k=q[c+4>>2];l=q[c>>2];m=q[b+8>>2];d=e+4|0;while(1){n[l](m,d,k);d=d+2|0;i=i+ -1|0;if(i){continue}break}}if(j){e=(e+(f?(f<<1)+ -2|0:0)|0)+4|0;d=0;while(1){f=e+(d<<2)|0;Ui(b,r[f+2|0]<<8|r[f+3|0]);d=d+1|0;if((j|0)!=(d|0)){continue}break}}h=h+2|0;g=g+ -1|0;if(g){continue}break}}}function Io(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=q[a+736>>2];a:{if(!d){c=Nf(a,0);if(c){break a}d=q[a+736>>2]}c=6;if(s[a+14>>1]>>0){break a}b:{if(b){f=q[a+100>>2];g=q[d+12>>2];d=q[g+16>>2]+w(b,12)|0;c=n[q[q[a+540>>2]+144>>2]](a,s[d+ -8>>1],e+12|0)|0;if(c){break a}c=q[a+24>>2];if(c){n[q[f+8>>2]](f,c)}q[a+24>>2]=q[e+12>>2];c=wj(a,q[g>>2],q[d+ -12>>2]);d=c+1|0;if(d>>>0>1){break a}if(d-1){c=0;break a}c=0;break b}c=wj(a,0,0)}p[a+6>>1]=b;q[a+8>>2]=q[a+8>>2]&-32769}Da=e+16|0;return c|0}function yy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;q[c>>2]=-1;q[d>>2]=-1;e=s[a+340>>1];if(e){g=e>>>0>1?e:1;h=q[a+356>>2];a=0;while(1){e=w(a,20)+h|0;a:{if(s[e+6>>1]!=(b|0)|!s[e+8>>1]){break a}f=s[e>>1]+ -1|0;if(f>>>0>2){break a}b:{switch(f-1|0){case 1:if(s[e+2>>1]>1|(q[c>>2]!=-1?s[e+4>>1]!=1033:0)){break a}q[c>>2]=a;break a;case 0:break a;default:break b}}if(s[e+2>>1]|(q[d>>2]!=-1?s[e+4>>1]:0)){break a}q[d>>2]=a}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return(q[c>>2]<=-1?q[d>>2]>-1:1)|0}function E$(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=r[a+1|0]|r[a|0]<<8;if(!h){return 1}a:{while(1){d=(f<<2)+a|0;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=d?d+a|0:271312;if((r[d|0]<<8|r[d+1|0])!=1){return 0}g=0;e=r[d+3|0]|r[d+2|0]<<8;if(e>>>0>>0){g=q[(e<<2)+b>>2]}e=r[d+4|0]|r[d+5|0]<<8;if((g|0)<(e<<24|e<<8&16711680)>>16){break a}d=r[d+6|0]|r[d+7|0]<<8;if((g|0)>(d<<24|d<<8&16711680)>>16){break a}f=f+1|0;if((h|0)!=(f|0)){continue}break}return 1}return 0}function dS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;a:{if(!b){break a}f=Sa(c+1|0);if(!f){break a}h=Qa(f,b,c)+c|0,i=0,o[h|0]=i;b=ab(1,96);b:{if(!b){break b}q[b+60>>2]=1;q[b+84>>2]=a;c=ab(1,32);q[b+88>>2]=c;if(!c){La(b);break b}q[c+28>>2]=1;d=b}mt(d,f);c=q[d+8>>2];if((c|0)>=1){g=q[d+20>>2];b=0;while(1){q[(w(b,56)+g|0)+16>>2]=b;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(!q[d+32>>2]){hf(d);La(f);d=0;break a}Ul(d);La(f);b=q[d>>2];q[e+4>>2]=q[d+8>>2];q[e>>2]=b;hb(a,4,1935,e)}Da=e+16|0;return d}function dM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=q[a+8>>2];f=xM(b,(Wa(c)+(q[a>>2]<<3)|0)+49|0);b=q[a>>2];e=q[a+12>>2];q[f+8>>2]=q[a+8>>2];q[f+12>>2]=e;e=q[a+4>>2];q[f>>2]=q[a>>2];q[f+4>>2]=e;q[f+8>>2]=16;h=f+16|0;e=h+(b<<3)|0;i=e+32|0;if(q[a>>2]){j=a+d|0;b=0;while(1){d=b<<3;g=d+h|0;d=d+j|0;q[g>>2]=q[d>>2];a:{if(q[d>>2]!=21){k=d;d=q[d+4>>2];q[g+4>>2]=d&1?k+(d&-2)|0:d;break a}q[g+4>>2]=e}b=b+1|0;if(b>>>0>2]){continue}break}}q[e+24>>2]=0;q[e+8>>2]=3;q[e>>2]=0;q[e+16>>2]=i;tc(i,c);return f}function bn(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -108|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Yw(b+8|0,Jb(c,1801810552));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function an(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -116|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=vw(b+8|0,Jb(c,1953653099));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function _i(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -104|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=sx(b+8|0,Jb(c,1836020340));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Lx(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -112|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Qw(b+8|0,Jb(c,1634626418));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Am(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((c|0)==-1){break a}c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;e=r[c+1|0];c=r[c|0];d=q[57265];q[f+8>>2]=q[57264];q[f+12>>2]=d;d=a;a=e|c<<8;c=a?d+a|0:271312;e=r[c|0]<<8|r[c+1|0];if(!e){break a}a=c+2|0;while(1){d=r[a+1|0]|r[a|0]<<8;if($u(d?c+d|0:271312,b,f+8|0)){g=1;break a}a=a+2|0;e=e+ -1|0;if(e){continue}break}}Da=f+16|0;return g}function $i(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -100|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=Dx(b+8|0,Jb(c,1836020344));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function yU(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -64|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=qU(b+8|0,Jb(c,1719034226));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function xU(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -68|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=pU(b+8|0,Jb(c,1635148146));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function wW(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -60|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=fW(b+8|0,Jb(c,1448038983));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function lh(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -80|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=k_(b+8|0,Jb(c,1801810542));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function bv(a,b){var c=0,d=0,e=0,f=0,g=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);e=0;a:{if((c|0)==-1){break a}d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=a?d+a|0:271312;c=r[a|0];d=r[a+1|0];g=d|c<<8;e=0;if(!g){break a}while(1){c=(c<<8|d)>>>0>f>>>0?(a+(f<<1)|0)+2|0:271312;c=r[c|0]<<8|r[c+1|0];if(!iZ(c?c+a|0:271312,b)){f=f+1|0;if((g|0)==(f|0)){return 0}else{d=r[a+1|0];c=r[a|0];continue}}break}e=1}return e}function Ke(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -20|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=NX(b+8|0,Jb(c,1330851634));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Je(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -76|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=MX(b+8|0,Jb(c,1297498450));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function If(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -12|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=su(b+8|0,Jb(c,1751672161));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function Hf(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -40|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=su(b+8|0,Jb(c,1986553185));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function le(a,b){var c=0,d=0,e=0;c=q[a+20>>2];if(!(r[a+13|0]?c:0)){return Ma(b,q[a+16>>2])}d=q[a+24>>2];c=c+ -1|0;e=d>>>0>c>>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(q[(w(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=q[(w(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c+ -1|0;if(c){continue}break}}c=0;q[a+24>>2]=0;d=q[a+36>>2];if((d|0)<=(b|0)){break b}return Ma(b-d|0,q[a+16>>2])+q[a+40>>2]|0}q[a+24>>2]=c}a=w(c,20)+a|0;return Ma(b-d|0,q[a+44>>2])+q[a+40>>2]|0}function it(a){var b=0,c=0,d=0,e=0;b=Da-48|0;Da=b;c=q[a>>2];a:{if(c){break a}e=a+ -4|0;while(1){c=q[e>>2];if(!c){c=271312;break a}q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;d=Mb(c);o[b+44|0]=1;q[b+40>>2]=d;c=tS(b+8|0,Jb(c,1751474532));if(!c){c=271312}d=q[a>>2];q[a>>2]=d?d:c;if(!d){break a}if(!(!c|(c|0)==271312)){Pa(c)}c=q[a>>2];if(!c){continue}break}}Da=b+48|0;return c}function vj(a,b){var c=0,d=0,e=0,f=0;c=q[b+4>>2];if(c){if(q[b>>2]){while(1){d=a;f=e<<4;c=q[(f+c|0)+8>>2];if(c){n[q[d+8>>2]](d,c)}d=q[b+4>>2]+f|0;q[d+8>>2]=0;d=q[d+12>>2];if(d){n[q[a+8>>2]](a,d)}c=q[b+4>>2];q[(f+c|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){n[q[a+8>>2]](a,c)}q[b+4>>2]=0}c=q[b+16>>2];if(c){if(q[b+12>>2]){e=0;while(1){d=e<<2;c=q[d+c>>2];if(c){n[q[a+8>>2]](a,c)}c=q[b+16>>2];q[d+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){n[q[a+8>>2]](a,c)}q[b+16>>2]=0}}function DM(a,b,c){var d=0;a=a+ -22|0;a:{if(a>>>0>8){break a}b:{switch(a-1|0){default:if(v[b>>3]!=v[c>>3]){break a}return v[b+8>>3]==v[c+8>>3];case 1:case 2:if(!(v[b>>3]>=v[c>>3])){break a}return v[b+8>>3]<=v[c+8>>3];case 0:d=1;if(v[b>>3]!=v[c>>3]){break a}return v[b+8>>3]!=v[c+8>>3];case 3:d=1;if(!(v[b>>3]>=v[c>>3])){break a}return v[b+8>>3]<=v[c+8>>3]^1;case 4:return v[b+8>>3]>3];case 5:return v[b+8>>3]<=v[c>>3];case 6:return v[b>>3]>v[c+8>>3];case 7:break b}}d=v[b>>3]>=v[c+8>>3]}return d}function Ax(a,b){var c=0,d=0,e=0;e=1;c=r[a+7|0];a:{if(c>>>0>5){break a}b:{switch(c-1|0){default:return zx(a+12|0,b);case 0:return yx(a+12|0,b);case 1:return wx(a+12|0,b);case 3:return Zi(a+12|0,b);case 2:break a;case 4:break b}}e=0;c=a+12|0;if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-c>>>0<20){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}if(!Zm(c,b,0)){break a}a=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);e=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}return e}function Vp(a){var b=0,c=0,d=0;d=Da-16|0;Da=d;b=q[a>>2];a:{if(!b){_a(a,2,502501,0);break a}b:{if(!q[b+4>>2]){break b}b=q[b+8>>2];if(!b){break b}c=q[b>>2];if(!c){break b}while(1){if(r[c|0]){q[d>>2]=c;_a(a,2,502521,d)}c=q[b+8>>2];b=b+8|0;if(c){continue}break}}while(1){b=q[a+4>>2];if(!(!b|q[b+4>>2]!=q[a>>2])){nd(a);continue}break}b=q[a>>2];q[a>>2]=q[b>>2];uc(b+12|0);c=q[b+8>>2];if(!(!c|(c|0)==(b+96|0))){La(c)}c=q[a+28>>2]+ -1|0;if((b|0)==((w(c,160)+a|0)+32|0)){q[a+28>>2]=c;break a}La(b)}Da=d+16|0}function NY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=q[b+4>>2];a:{if(d>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}g=r[a+1|0]|r[a|0]<<8;if(g){i=d;d=a+2|0;if(i>>>0>d>>>0|e>>>0>>0|e-d>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}h=1;f=r[a+1|0]|r[a|0]<<8;if(!f){break a}h=0;e=0;while(1){d=(e<<2)+a|0;g=q[c>>2];if(!Ri(d+2|0,b,g)){break a}if(!Ri(d+4|0,b,g)){break a}e=e+1|0;if((f|0)!=(e|0)){continue}break}}h=1}return h}function Fc(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(32<=(e&63)>>>0){e=d<>>32-b|c<>>0){h=g<>>32-d|e<>>0){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(32<=(i&63)>>>0){h=f<>>32-b|c<>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e}function cw(a,b,c,d,e,f,g){var h=0;a:{if((b|0)!=1196445523){h=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;h=t[a+16>>2]<10?271312:q[a+12>>2]}a=M$(h,c,d);b:{if(!f){break b}b=0;h=f;c=q[f>>2];d=r[a+3|0]|r[a+2|0]<<8;f=d-e|0;d=f>>>0>d>>>0?0:f;c=d>>>0>c>>>0?c:d;q[h>>2]=c;if(!c){break b}a=(a+(e<<1)|0)+4|0;while(1){d=a+(b<<1)|0;q[(b<<2)+g>>2]=r[d|0]<<8|r[d+1|0];b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function Qm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=0;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}i=Tw(g+c|0,b)}return i}function Le(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=q[b+4>>2];a:{if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;if((f|0)<1){break a}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=0;b:{if(!d){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}i=Zi(g+c|0,b)}return i}function LL(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=q[a>>2];c=q[b>>2];if((e|0)!=(c|0)){return e-c|0}a:{c=q[a+4>>2];d=q[b+4>>2];if((c|0)!=(d|0)){break a}c=q[a+8>>2];d=q[b+8>>2];if((c|0)!=(d|0)){break a}b:{c=q[a+12>>2];d=q[b+12>>2];if((c|0)!=(d|0)){a=e+ -1|0;if(a>>>0>2){break a}c:{switch(a-1|0){case 0:break a;case 1:break b;default:break c}}if(!c){return-1}if(d){break a}return 1}return q[a+16>>2]-q[b+16>>2]|0}a=-1;d:{if((c|0)==1033){break d}a=1;if((d|0)==1033){break d}break a}return a|0}return c-d|0}function tv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(TZ(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function kr(a,b){var c=0,d=0;a:{c=a+ -1|0;if(c>>>0<=50){c=(c<<3)+439584|0;break a}c=pr(a);if(c){break a}return 1}a=1;b:{c:{d:{c=q[c+4>>2];d=c+1|0;if(d>>>0>10){break d}e:{switch(d-1|0){case 1:case 2:if(b+ -1>>>0>=2){break c}break b;case 8:b=b+ -3|0;if(b>>>0>5){break c}switch(b-1|0){case 0:case 1:case 2:case 3:break c;default:break b};case 0:case 3:case 4:case 5:case 6:case 7:break d;case 9:break e;default:break b}}if(!(1<>>0>9){break c}break b}if((b|0)==(c|0)){break b}}a=0}return a}function Za(a,b){var c=0,d=0,e=0,f=0,g=0;d=(a|0)<0?-1:1;g=(b|0)<0?0-d|0:d;d=2147483647;c=b;b=b>>31;b=c+b^b;a:{if(!b){break a}c=a;a=a>>31;a=c+a^a;if(a>>>0<=(b>>>17^65535)>>>0){d=((a<<16)+(b>>>1|0)>>>0)/(b>>>0)|0;break a}e=a>>>16|0;c=b>>>1|0;a=c+(a<<16)|0;c=e+(a>>>0>>0)|0;if(c>>>0>=b>>>0){break a}e=z(c);f=32-e|0;c=a>>>f|c<>>0)/(b>>>0)|0;c=c-w(b,d)|0;a=a<>>31;c=e-(e>>>0>>0?0:b)|0;d=d<<1|e>>>0>=b>>>0;a=a<<1;f=f+ -1|0;if(f){continue}break}}return(g|0)<0?0-d|0:d}function UZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(uv(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function Su(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(EY(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function SY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(Vu(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function QZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(sv(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function JY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=q[b+4>>2];if(h>>>0>a>>>0){break a}e=q[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=q[b+12>>2];q[b+12>>2]=f+ -1;g=1;if((f|0)<1){break a}i=r[a+1|0]|r[a|0]<<8;b:{if(!i){break b}if(e>>>0>>0|h>>>0>c>>>0|e-c>>>0>>0){break a}q[b+12>>2]=f+ -2;if((f|0)<2){break a}e=r[a+1|0]|r[a|0]<<8;if(!e){break b}if(IY(c+e|0,b,q[d>>2])){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;g=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;g=1}return g}return 0}function be(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{d:{if(!c|!(a&3)){break d}e=b&255;while(1){if((e|0)==r[a|0]){break c}a=a+1|0;c=c+ -1|0;d=(c|0)!=0;if(!c){break d}if(a&3){continue}break}}if(!d){break b}}if(r[a|0]==(b&255)){break a}e:{if(c>>>0>=4){d=w(b&255,16843009);while(1){e=d^q[a>>2];if((e^-1)&e+ -16843009&-2139062144){break e}a=a+4|0;c=c+ -4|0;if(c>>>0>3){continue}break}}if(!c){break b}}b=b&255;while(1){if((b|0)==r[a|0]){break a}a=a+1|0;c=c+ -1|0;if(c){continue}break}}return 0}return a}function Qi(a,b,c,d,e){var f=0,g=x(0);q[e>>2]=0;q[d>>2]=0;f=r[a|0]|r[a+1|0]<<8;f=((f<<24|f<<8&16711680)>>>16|0)+ -1|0;if(f>>>0<=2){a:{switch(f-1|0){default:f=q[b+88>>2];b=r[a+2|0]|r[a+3|0]<<8;g=x(x(q[f+20>>2])*x((b<<24|b<<8&16711680)>>16));b=q[f+16>>2];c=q[b+28>>2];if(!c){c=xb(b);b=q[f+16>>2]}u[d>>2]=g/x(c>>>0);a=r[a+4|0]|r[a+5|0]<<8;g=x(x(q[f+24>>2])*x((a<<24|a<<8&16711680)>>16));a=q[b+28>>2];if(!a){a=xb(b)}u[e>>2]=g/x(a>>>0);return;case 0:mY(a,b,c,d,e);return;case 1:break a}}lY(a,b,d,e)}}function gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;a:{f=q[a+12>>2]+a|0;if(!f){break a}i=b>>>8|0;g=q[a+4>>2];c=g+ -1|0;b:{if((g|0)>=1){j=i&65535;while(1){d=c+h|0;e=d>>1;d=s[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0>>0;h=d?e+1|0:h;c=d?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(g|0)|s[(c<<1)+f>>1]>=(i&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}if((e|0)<0){break a}a=q[a+8>>2]+a|0;return q[a+(e<<2)>>2]+a|0}c=ab(1,32);c:{if(c){if(ar(a,b,c,e^-1)){break c}La(c)}c=0}return c}function IW(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;a=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}h=ab(1,48);if(h){Vl(h,a)}i=q[b+8>>2];a=h?h:271312;q[b+8>>2]=i?i:a;if(!i){break a}if(!(!h|!a)){h=q[a+44>>2];Pa(h?h:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}h=q[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=q[a+12>>2];while(1){if(!n[h](a,q[d>>2],f)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}f=q[a+12>>2]+a|0;if(!f){break a}i=b>>>8|0;g=q[a+4>>2];c=g+ -1|0;b:{if((g|0)>=1){j=i&65535;while(1){d=c+h|0;e=d>>1;d=s[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0>>0;h=d?e+1|0:h;c=d?c:e+ -1|0;if((h|0)<=(c|0)){continue}break}}if(!((c|0)>=(g|0)|s[(c<<1)+f>>1]>=(i&65535)>>>0?(c|0)>=0:0)){c=c+1|0}e=c^-1}c=0;if((e|0)<0){break a}a=q[a+8>>2]+a|0;a=q[a+(e<<2)>>2]+a|0;if(!a){break a}c=q[a+(b>>>3&28)>>2]>>>(b&31)&1}return c}function WB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;q[d+12>>2]=0;a:{if(q[c+76>>2]){break a}b:{e=a+1|0;if(e>>>0>b>>>0){break b}a=r[a|0];h=a&15;f=h+(a>>>4|0)|0;if((f<<1)+e>>>0>b>>>0){break b}a=Oa(q[c>>2],4,0,f,0,d+12|0);g=q[d+12>>2];if(g){break a}q[c+76>>2]=a;q[c- -64>>2]=(h<<2)+a;g=0;if(!f){break a}while(1){b=r[e|0]|r[e+1|0]<<8;q[a>>2]=(b<<24|b<<8&16711680)>>16;a=a+4|0;e=e+2|0;f=f+ -1|0;if(f){continue}break}g=q[d+12>>2];break a}g=8;q[d+12>>2]=8}Da=d+16|0;return g|0}function mv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=r[a+3|0];e=r[a+2|0];d=c|e<<8;f=d>>>4|0;h=r[a+1|0];a=r[a|0];i=h|a<<8;g=i>>>4|0;a:{if(f-g>>>0>=31){q[b>>2]=-1;break a}f=1<<(f&31);g=1<<(g&31);q[b>>2]=q[b>>2]|((f<<1)-g|0)-(f>>>0>>0)}b:{if(d-i>>>0>=31){q[b+4>>2]=-1;break b}c=1<<(c&31);d=1<<(h&31);q[b+4>>2]=q[b+4>>2]|((c<<1)-d|0)-(c>>>0>>0)}e=e>>>1|0;a=a>>>1|0;if(e-a>>>0>=31){q[b+8>>2]=-1;return 1}c=b;d=q[b+8>>2];b=1<<(e&31);a=1<<(a&31);q[c+8>>2]=d|((b<<1)-a|0)-(b>>>0>>0);return 1}function EJ(a,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:{f=b+ -11|0;if(f>>>0>18){break c}d:{switch(f-1|0){default:return 55;case 1:return 56;case 4:if(!n[q[e+24>>2]](e,(q[e+64>>2]<<1)+c|0,d,496672)){break b}q[a>>2]=910;return 3;case 2:case 3:break a;case 0:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:break c;case 17:break d}}q[a>>2]=911;return 2}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function qb(a,b,c){var d=0,e=0,f=0,g=0;d=q[a>>2];e=q[a+4>>2];a:{if(d>>>0>=e>>>0){q[160942]=0;e=e<<1;f=a,g=qc(q[a+16>>2],e,8),q[f+16>>2]=g;d=0;if(q[160942]){break a}q[a+4>>2]=e;d=q[a>>2]}e=q[b+4>>2];d=q[a+16>>2]+(d<<3)|0;q[d>>2]=q[b>>2];q[d+4>>2]=e;q[a>>2]=q[a>>2]+1;d=1;if(!c){break a}b=q[a+8>>2];d=q[a+12>>2];if(b>>>0>=d>>>0){q[160942]=0;b=d<<1;f=a,g=qc(q[a+20>>2],b,1),q[f+20>>2]=g;d=0;if(q[160942]){break a}q[a+12>>2]=b;b=q[a+8>>2]}o[q[a+20>>2]+b|0]=c;q[a+8>>2]=q[a+8>>2]+1;d=1}return d}function nL(a,b){var c=0,d=0,e=0;c=Da-48|0;Da=c;if(a){e=q[126998];while(1){pc(c+16|0,a+8|0);d=q[c+28>>2];q[c+40>>2]=q[c+24>>2];q[c+44>>2]=d;d=q[c+20>>2];q[c+32>>2]=q[c+16>>2];q[c+36>>2]=d;a:{if((a|0)==(b|0)){Ua(489263,0);break a}Gb(32)}d=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=d;d=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=d;Fk(e,c);d=q[a+24>>2];if(d>>>0<=2){d=q[(d<<2)+490036>>2]}else{d=489989}Ua(d,0);d=a;a=q[a>>2];a=a&1?d+(a&-2)|0:a;if(a){continue}break}}if(!b){Ua(489274,0)}Da=c+48|0}function Vh(a,b){var c=0,d=0,e=0;c=Da-4304|0;Da=c;a:{if(!a){q[160942]=28;break a}a=T(a|0,2656256,0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}if((a|0)<0){break a}Jp(c+4096|0,a);b:{d=ek(c+4096|0,c,4095);c:{if((d|0)<0){break c}o[c+d|0]=0;hk(a,c+4216|0);d=gk(c,c+4128|0);if((d|0)<0){break c}if(q[c+4296>>2]==q[c+4208>>2]&q[c+4300>>2]==q[c+4212>>2]?q[c+4216>>2]==q[c+4128>>2]:0){break b}if(d){break c}q[160942]=32}O(a|0)|0;break a}O(a|0)|0;if(b){e=tc(b,c);break a}e=eb(c)}Da=c+4304|0;return e}function WC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a+712>>2];a:{if(r[c+24|0]==2){c=ld(bc(q[q[a+96>>2]+4>>2],9848),10048,0);if(!c){break a}c=q[c+4>>2];if(!c){break a}return n[c](a,b)|0}e=ld(q[a+96>>2],10164,1);if(!e|!q[c+20>>2]){break a}while(1){a=s[q[c+1188>>2]+(d<<1)>>1];b:{c:{if(a>>>0>=391){a=a+ -391|0;if(t[c+1356>>2]<=a>>>0){break b}a=q[q[c+1360>>2]+(a<<2)>>2];break c}a=n[q[e+20>>2]](a)|0}if(!a){break b}if(!Ta(b,a)){break a}}d=d+1|0;if(d>>>0>2]){continue}break}d=0}return d|0}function Vm(a,b){var c=0,d=0,e=0;d=q[b+44>>2];c=q[d+12>>2];q[b+20>>2]=c;e=q[d+16>>2];d=c+e|0;q[b+24>>2]=d;if((e|0)>-1){a:{b:{if(!a){break b}if(!(d>>>0>a>>>0?a>>>0>=c>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break b}q[b+20>>2]=a;c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=d-a|0;q[b+24>>2]=(d>>>0>c>>>0?c:d)+a}nx(a,b);a=q[b+44>>2];c=q[a+12>>2];q[b+20>>2]=c;a=q[a+16>>2];q[b+24>>2]=a+c;if((a|0)<=-1){break a}return}}I(228416,228441,195,228458);F()}function yx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Da-16|0;Da=c;q[c+12>>2]=0;if(Zm(a,b,c+12|0)){q[c+8>>2]=0;h=q[c+12>>2];if(h){d=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);i=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+a|0;d=0;while(1){f=(d<<3)+i|0;g=r[f+4|0]<<8|r[f+5|0];if((g|0)!=65535){e=e>>>0>g>>>0?e:g+1|0;q[c+8>>2]=e}f=r[f+7|0]|r[f+6|0]<<8;if((f|0)!=65535){e=e>>>0>f>>>0?e:f+1|0;q[c+8>>2]=e}d=d+1|0;if((h|0)!=(d|0)){continue}break}}e=tx(a+16|0,b,a,c+8|0)}Da=c+16|0;return e}function u_(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(q_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function lf(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(s_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function __(a){var b=0,c=0,d=0,e=0;d=q[a+12>>2];c=q[a>>2];b=q[a+4>>2];e=(r[c+3|0]|r[c+2|0]<<8)>>>0>b>>>0?(c+w(b,6)|0)+4|0:271704;if(d>>>0>=(r[e+2|0]<<8|r[e+3|0])>>>0){b=b+1|0;q[a+4>>2]=b;a:{if(b>>>0>=(r[c+3|0]|r[c+2|0]<<8)>>>0){break a}d=(c+2|0)+w(b,6)|0;e=d+2|0;q[a+12>>2]=r[e|0]<<8|r[d+3|0];d=q[a+8>>2];b=(r[c+3|0]|r[c+2|0]<<8)>>>0>b>>>0?e:271704;b=r[b+4|0]<<8|r[b+5|0];q[a+8>>2]=b;if((b|0)==(d+1|0)){break a}q[a+4>>2]=r[c+3|0]|r[c+2|0]<<8}return}q[a+12>>2]=d+1;q[a+8>>2]=q[a+8>>2]+1}function ZZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(RZ(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function UY(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(TY(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Tb(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(Ev(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Ri(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(HY(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function Lf(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(n_(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function DZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{g=q[b+4>>2];if(g>>>0>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;f=1;if((e|0)<1){break a}h=r[a+1|0]|r[a|0]<<8;b:{if(!h){break b}if(d>>>0>>0|g>>>0>c>>>0|d-c>>>0>>0){break a}q[b+12>>2]=e+ -2;if((e|0)<2){break a}d=r[a+1|0]|r[a|0]<<8;if(!d){break b}if(CZ(c+d|0,b)){break b}c=q[b+24>>2];if(c>>>0>31){break a}q[b+24>>2]=c+1;f=0;if(!r[b+20|0]){break b}o[a|0]=0;o[a+1|0]=0;f=1}return f}return 0}function er(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!q[160933]){while(1){c=Sa(28);d=q[160933];q[160933]=d?d:c;if(!d){break b}if(!q[160933]){continue}break}}break a}Ud()}c:{if(!a){break c}c=643664;e=q[160932];if((e|0)>=1){while(1){d=e;e=d+ -1|0;f=e<<2;b=q[f+c>>2];if(!(!b|q[b>>2]+q[b+8>>2]>>>0>a>>>0)){while(1){c=b;b=q[(b+f|0)+40>>2];if(q[b>>2]+q[b+8>>2]>>>0<=a>>>0?b:0){continue}break}c=c+40|0}if((d|0)>1){continue}break}}b=q[c>>2];if(q[b>>2]+q[b+8>>2]>>>0>a>>>0?b:0){break c}b=0}return b}function zL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}if((a|0)==500628){return a}e=r[500628];if(!e){break a}b:while(1){i=a;a=a+1|0;b=r[i|0];if((b|0)!=(e|0)?b:0){continue}if((b|0)!=(e|0)){break a}c=r[500629];f=!c;b=r[a|0];j=!b;c:{if(!(!b|(b|0)==(c|0))){d=500629;b=a;if(c){continue}break c}d=500629;b=a}while(1){if(!(f|j)){g=r[d+1|0];f=!g;b=b+1|0;h=r[b|0];j=!h;c=d+1|0;d=c;if((g|0)==(h|0)){continue}d=c;if(!h|!g){continue}continue b}break}break}k=f?i:0}return k}function Nz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>t[b+160>>2]){kb(b,8)}c=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(d+ -20>>>1>>>0>=c>>>0?!(d>>>0<20|d>>>0>q[b+160>>2]-a>>>0):0)){kb(b,8)}if(!(!q[b+164>>2]|!c)){while(1){if((r[e+1|0]|r[e|0]<<8)>>>0>=t[b+172>>2]){kb(b,16)}e=e+2|0;c=c+ -1|0;if(c){continue}break}}return 0}function nh(a,b){var c=0,d=0,e=0,f=0,g=0;d=r[a+3|0]|r[a+2|0]<<8;a:{if(!d){f=r[a+1|0]|r[a|0]<<8;c=0;break a}f=r[a+1|0]|r[a|0]<<8;e=w(f,d+ -1|0)+a|0;c=0;if((r[e+10|0]<<8|r[e+11|0])!=65535){break a}c=(r[e+13|0]|r[e+12|0]<<8)==65535?-1:0}c=c+d|0;b:{if((c|0)>=1){g=a+10|0;c=c+ -1|0;e=q[b>>2];b=0;while(1){d=b+c>>>1|0;a=g+w(d,f)|0;c:{if((r[a+2|0]<<8|r[a+3|0])>>>0>e>>>0){c=d+ -1|0;break c}if((r[a+1|0]|r[a|0]<<8)>>>0>=e>>>0){break b}b=d+1|0}if((b|0)<=(c|0)){continue}break}}a=0}return a}function dr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-128|0;Da=d;a:{if(!c){a=de(a);c=q[b+12>>2]+b|0;b:{if(a){q[d+36>>2]=0;q[d+32>>2]=c;a=_b(a,d+32|0);break b}a=eb(c)}e=cl(a,d+40|0);La(a);c=d+40|0;a=0;if((e|0)<0){break a}}a=q[c+68>>2];f=a;g=a>>31;e=q[b+32>>2];h=q[b+36>>2];if(r[643740]&16){i=q[b+12>>2];j=q[b+28>>2];k=q[c+64>>2];q[d+16>>2]=a;q[d+12>>2]=k;q[d+8>>2]=e;q[d+4>>2]=j;q[d>>2]=b+i;Ua(442042,d)}a=(e|0)==(f|0)&(g|0)==(h|0)&q[b+28>>2]==q[c+64>>2]}Da=d+128|0;return a}function bz(a,b){a=a|0;b=b|0;var c=0,d=0;c=n[q[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=lb(b,162928,d);if(c){break a}p[a+290>>1]=0;p[a+282>>1]=0;p[a+284>>1]=0;p[a+286>>1]=0;p[a+288>>1]=0;p[a+274>>1]=0;p[a+276>>1]=0;p[a+278>>1]=0;p[a+280>>1]=0;p[a+266>>1]=0;p[a+268>>1]=0;p[a+270>>1]=0;p[a+272>>1]=0;b:{if(q[a+260>>2]<65536){break b}c=lb(b,162944,d);if(c){break a}if(s[a+280>>1]<=63){p[a+280>>1]=64}if(s[a+276>>1]<65532){break b}p[a+276>>1]=65531}c=0}return c|0}function pJ(a,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=b+ -15|0;if(g>>>0>12){break c}f=11;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=930;return 11}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=931;return 11;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 12}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function lJ(a,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=b+ -15|0;if(g>>>0>12){break c}f=11;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=938;return 11}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=939;return 11;case 0:case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 11:break d;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 12}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function br(a){var b=0,c=0,d=0,e=0,f=0;b=Da+ -64|0;Da=b;a:{if(!a){break a}b:{if(!Re(a,2)){q[b+52>>2]=0;q[b+48>>2]=441849;e=_b(a,b+48|0);if(!e){break a}d=ir(e);if(d){if(Zk(d)){c=q[d+4>>2];q[b+32>>2]=420;c=af(c,66,b+32|0);c:{if((c|0)==-1){break c}c=bk(c,441862);if(!c){break c}Lc(441648,200,1,c);Pe(c);f=(hr(d)|0)!=0}Yk(d)}La(d)}La(e);if(!(r[643740]&16)){break a}if(!f){break b}q[b+16>>2]=a;Ua(441865,b+16|0);break a}if(!(r[643740]&16)){break a}}q[b>>2]=a;Ua(441893,b)}Da=b- -64|0}function DQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;q[a+32>>2]=c;e=a,f=Oa(c,4,0,b,0,d+12|0),q[e+24>>2]=f;a:{b:{if(q[d+12>>2]){break b}e=a,f=Oa(c,4,0,b,0,d+12|0),q[e+28>>2]=f;if(q[d+12>>2]){break b}q[a+20>>2]=0;q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=-559038737;q[a>>2]=0;q[a+4>>2]=0;b=q[72540];q[a+36>>2]=q[72539];q[a+40>>2]=b;b=q[72542];q[a+44>>2]=q[72541];q[a+48>>2]=b;a=0;break a}b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;a=q[d+12>>2]}Da=d+16|0;return a|0}function cV(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;b=0;h=q[a+72>>2];if(q[h+156>>2]!=q[160395]){a:{if(!c){break a}i=q[d>>2];q[f>>2]=0;if(!n[q[h+156>>2]](a,q[a+76>>2],i,f,q[h+20>>2])){break a}while(1){b=b+1|0;if((c|0)==(b|0)){return c|0}d=d+e|0;i=q[d>>2];h=q[a+72>>2];f=f+g|0;q[f>>2]=0;if(n[q[h+156>>2]](a,q[a+76>>2],i,f,q[h+20>>2])){continue}break}}return b|0}a=q[a+12>>2];b=q[a+72>>2];return n[q[b+160>>2]](a,q[a+76>>2],c,d,e,f,g,q[b+24>>2])|0}function $d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=q[a+40>>2];if(!d){break a}f=6;g=q[a+36>>2];if((g|0)<1){break a}g=(g<<2)+d|0;while(1){b:{if(q[d>>2]!=(b|0)){break b}c=q[b>>2];c:{if(!c){break c}c=q[c+96>>2];h=q[q[c>>2]+32>>2];if(!h){break c}c=n[h](c,4096)|0;if(!c){break c}if(n[q[c>>2]](b,e+8|0)){break c}if(q[e+12>>2]==14){break b}}q[a+92>>2]=q[d>>2];f=0;break a}d=d+4|0;if(d>>>0>>0){continue}break}}Da=e+16|0;return f}function PC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}d=r[a|0];if(d>>>0>3){break a}b:{switch(d-1|0){default:f=r[b+c|0];break a;case 0:case 1:break a;case 2:break b}}if(b-q[a+16>>2]>>>0>2]){f=r[a+24|0];break a}e=c+2|0;g=c+q[a+12>>2]|0;c=r[c+1|0]|r[c|0]<<8;while(1){if(c>>>0>b>>>0){break a}d=r[e+2|0]|r[e+1|0]<<8;if(d>>>0>b>>>0){f=r[e|0];o[a+24|0]=f;q[a+20>>2]=d-c;q[a+16>>2]=c;break a}c=d;e=e+3|0;if(e>>>0>>0){continue}break}}return f|0}function oJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 1:q[a>>2]=q[a+16>>2]?914:933;return 33;case 0: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=934;return 22}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function nJ(a,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=b+ -15|0;if(g>>>0>8){break c}f=39;d:{switch(g-1|0){case 2:if(n[q[e+24>>2]](e,c,d,496818)){q[a+8>>2]=39;q[a>>2]=932;return 42}if(!n[q[e+24>>2]](e,c,d,496824)){break b}q[a+8>>2]=39;q[a>>2]=932;return 41;case 0:case 1:case 3:case 4:case 5:case 6:break c;case 7:break d;default:break a}}q[a+4>>2]=1;q[a>>2]=935;return 44}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function wO(a,b){a=a|0;b=b|0;return w(r[a+23|0]^w(r[a+22|0]^w(r[a+21|0]^w(r[a+20|0]^w(r[a+19|0]^w(r[a+18|0]^w(r[a+17|0]^w(r[a+16|0]^w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+3|0]^w(r[a+2|0]^w(r[a+1|0]^w(r[a|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function aM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=qd(505298);c=q[a+8>>2]+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){b=e+d>>1;f=q[c+(b<<3)>>2]-h|0;if(!f){break a}g=(f|0)<0;e=g?b+1|0:e;d=g?d:b+ -1|0;if((e|0)<=(d|0)){continue}break}e=f>>>31|0}b=b+e^-1}if(!(!c|(b|0)<0)){_e(q[(c+(b<<3)|0)+4>>2]);c=c+(b<<3)|0;b=c+8|0;sb(c,b,((q[a+8>>2]+a|0)+((a?q[a>>2]:0)<<3)|0)-b|0);b=q[a>>2]+ -1|0;q[a>>2]=b;a=(q[a+8>>2]+a|0)+((a?b:0)<<3)|0;q[a>>2]=0;q[a+4>>2]=0}}function Fr(a,b){var c=0,d=0,e=0;c=1;a:{if(t[a+4>>2]>=b>>>0){break a}q[160942]=0;d=a,e=qc(q[a+8>>2],b,4),q[d+8>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+12>>2],b,4),q[d+12>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+16>>2],b,4),q[d+16>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+20>>2],b,1),q[d+20>>2]=e;c=0;if(q[160942]){break a}q[160942]=0;d=a,e=qc(q[a+24>>2],b,4),q[d+24>>2]=e;c=0;if(q[160942]){break a}q[a+4>>2]=b;c=1}return c}function wN(){var a=0,b=0;a=ab(48,1);a:{if(a){q[a+28>>2]=64;b:{if(!Fr(a,0)){break b}b=ab(16,5);q[a+36>>2]=b;if(!b){break b}q[a+32>>2]=5;q[b+76>>2]=-1;q[b+60>>2]=-1;q[b+64>>2]=1668049255;q[b+44>>2]=-1;q[b+48>>2]=1818847073;q[b+28>>2]=-1;q[b+32>>2]=1801810542;q[b+12>>2]=-1;q[b+16>>2]=1986752097;q[b>>2]=1986359924;b=pO();q[a+44>>2]=b;if(b){break a}}ng(q[a+44>>2]);La(q[a+36>>2]);La(q[a+8>>2]);La(q[a+12>>2]);La(q[a+16>>2]);La(q[a+20>>2]);La(q[a+24>>2]);La(a)}a=0}return a}function RI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>21){break b}c=39;c:{switch(d-1|0){case 8:q[a+8>>2]=39;q[a>>2]=932;return 45;case 20:q[a+8>>2]=39;q[a>>2]=932;return 46;case 0:case 1:case 2:case 3:case 4:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:break b;case 5:break c;default:break a}}q[a>>2]=955;return 39}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function PL(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=-1;b:{if(a>>>0>215){break b}b=+(a|0);a=1;while(1){c=a;a=a+1|0;f=q[(c<<3)+442500>>2];d=+(f|0);if(d>2];if(d==b){break b}g=f;f=q[a+442492>>2];g=g-f|0;if((g|0)<1){break a}a=q[a+442488>>2];c=q[c>>2]-a|0;if(d>=b^1|(c|0)<0){break a}d=+(f|0);if(!(d<=b)){break a}e=(b-d)*+(c|0)/+(g|0)+ +(a|0)}b=e+.5;if(y(b)<2147483648){return~~b}return-2147483648}I(442600,442640,48,442651);F()} +function G_(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break b}c:{switch(c-1|0){default:return E_(a,b);case 0:return D_(a,b);case 1:break c}}e=r[a+3|0]|r[a+2|0]<<8;if((e|0)!=q[b+8>>2]){break b}d=1;if(e>>>0<2){break a}f=a+8|0;c=1;while(1){d=((c<<1)+f|0)+ -2|0;d=r[d|0]<<8|r[d+1|0];if((yb(d?d+a|0:271312,q[q[b+4>>2]+(c<<2)>>2])|0)==-1){break b}d=1;c=c+1|0;if((e|0)!=(c|0)){continue}break}break a}d=0}return d}function CK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=1){e=a+72|0;while(1){a=r[r[b|0]+e|0]+ -5|0;a:{b:{if(a>>>0>5){break b}c:{switch(a-1|0){default:b=b+2|0;break a;case 0:b=b+3|0;break a;case 1:b=b+4|0;break a;case 3:q[d>>2]=q[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;q[d+4>>2]=-1;break a}b=r[r[b+1|0]+e|0]==10?b+2|0:a;q[d+4>>2]=-1;break a;case 2:break b;case 4:break c}}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+1|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>0){continue}break}}}function BJ(a,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=b+ -15|0;if(g>>>0>10){break c}f=3;d:{switch(g-1|0){case 9:q[a>>2]=914;return 7;case 1:q[a>>2]=915;return 8;case 0:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=916;return 3}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=917;return 3}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function yL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!b){q[c>>2]=0;break a}b:{while(1){if((b|0)<2){break b}e=r[a|0];g=r[a+1|0]|e<<8;f=a+2|0;if((e&252)==216){if((b|0)<4){break b}e=r[f|0];if((e&252)!=220){break b}g=(r[f+1|0]|(e<<8&768|g<<10&1047552))+65536|0;f=a+4|0}e=f-a|0;if((e|0)<1){break b}h=g>>>0>h>>>0?g:h;i=i+1|0;a=f;b=b-e|0;if(b){continue}break}q[c>>2]=i;c:{if(h>>>0>=65536){q[d>>2]=4;break c}if(h>>>0<257){break a}q[d>>2]=2}j=1}return j}q[d>>2]=1;return 1}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,j=0,k=0;j=q[a+16>>2];a:{if(j){c=q[b>>2]+1|0;k=q[a+20>>2];g=j;while(1){h=(g-d>>>1|0)+d|0;e=(h<<3)+k|0;f=q[e>>2];if((f|0)==(c|0)){a=q[((h<<3)+k|0)+4>>2];q[b>>2]=c;return a|0}f=f&2147483647;if((f|0)==(c|0)){i=q[e+4>>2]}e=f>>>0>>0;g=e?g:h;d=e?h+1|0:d;if(g>>>0>d>>>0){continue}break}if(i){break a}}c=0;i=0;if(d>>>0>=j>>>0){break a}a=q[a+20>>2]+(d<<3)|0;c=q[a>>2]&2147483647;i=q[a+4>>2]}q[b>>2]=c;return i|0}function cc(a){var b=0,c=0;b=q[a+68>>2];q[a+68>>2]=b+ -1;if((b|0)==1){b=q[160940];q[160940]=(a|0)==(b|0)?0:b;Yb(q[a>>2]);Yb(q[a+4>>2]);Yb(q[a+8>>2]);Yb(q[a+12>>2]);Yb(q[a+16>>2]);Yb(q[a+36>>2]);Yb(q[a+40>>2]);je(q[a+44>>2]);je(q[a+48>>2]);Od(q[a+20>>2]);Od(q[a+24>>2]);Od(q[a+28>>2]);Od(q[a+84>>2]);Yb(q[a+80>>2]);b=q[a+52>>2];if(b){je(b)}b=q[a+56>>2];if(b){je(b)}c=q[a+72>>2];if(c){while(1){b=q[c>>2];La(c);c=b;if(b){continue}break}}b=q[a+76>>2];if(b){La(b)}La(a)}}function Qp(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;a:{if(!d){break a}h=Sa(32);if(!h){break a}f=h+8|0;b:{if(s[d>>1]==36){hc(g,a,b,c,q[d+8>>2]);i=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=i;i=q[g+4>>2];q[f>>2]=q[g>>2];q[f+4>>2]=i;a=Qp(a,b,c,q[d+12>>2],e);break b}hc(g,a,b,c,d);a=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=a;a=q[g+4>>2];q[f>>2]=q[g>>2];q[f+4>>2]=a;a=0}q[h+24>>2]=e;q[h>>2]=a;f=h;if(q[f+8>>2]){break a}La(f);f=a&1?(a&-2)+f|0:a}Da=g+16|0;return f}function Kj(a,b,c,d){var e=0,f=0,g=0,h=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}o[c|0]=0;f=16;a:{if(q[a+16>>2]<=(b|0)){break a}if(!(r[a+9|0]&2)){return 6}g=q[a+128>>2];e=q[g+40>>2];h=e+2|0;b:{if(h>>>0>2){break b}f=6;c:{switch(h-1|0){case 0:break b;case 1:break c;default:break a}}e=q[a+96>>2];f=q[q[e>>2]+32>>2];d:{if(!f){e=0;break d}e=n[f](e,4053)|0;g=q[a+128>>2]}q[g+40>>2]=e?e:-2}if(!e){return 6}f=6;e=q[e>>2];if(!e){break a}f=n[e](a,b,c,d)|0}return f}function $p(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=q[a+360>>2];if(!b){return 1}while(1){c=q[b+4>>2];f=q[b+24>>2]+1|0;d=q[b+36>>2];e=f+d|0;if((c|0)!=(e|0)){g=q[b+8>>2];h=g+f|0;if((h|0)>(q[b+40>>2]-d|0)){c=n[q[a+16>>2]](d,h)|0;if(!c){return 0}d=q[b+36>>2];if((d|0)==q[b+12>>2]){q[b+12>>2]=c}e=q[b+16>>2];if(e){q[b+16>>2]=c+(e-d|0)}q[b+36>>2]=c;q[b+40>>2]=c+h;e=c+f|0;g=q[b+8>>2];c=q[b+4>>2]}i=b,j=Qa(e,c,g),q[i+4>>2]=j;b=q[b>>2];if(b){continue}}break}return 1}function GH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Da-16|0;Da=e;d=Pg();if(d){Qk(d,b);Qk(d,505260);Uq(d);a:{if(!Zh(q[a>>2],d,0)){break a}q[c+16>>2]=0;a=ab(100,4);q[c+4>>2]=a;if(!a){break a}q[e+12>>2]=0;if(pd(d,505253,0,e+12|0)){break a}while(1){if(q[c+16>>2]>99){break a}a=q[e+12>>2];if(!Ta(a,505260)){break a}a=eb(a);q[e+12>>2]=a;if(!a){break a}b=q[c+16>>2];q[q[c+4>>2]+(b<<2)>>2]=a;a=b+1|0;q[c+16>>2]=a;if(!pd(d,505253,a,e+12|0)){continue}break}}ie(d)}Da=e+16|0}function aB(a,b){a=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=q[b>>2];d=q[a+16>>2];f=s[d+2>>1];g=f+(s[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=s[d>>1];j=(f-a|0)+1|0;h=s[d+4>>1];i=a+(h<<8)|0;k=q[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&c>>>0>=a>>>0)+(e>>>8|0)&65535;d=c>>>0>>0?a:d?a:c;c=(e<<8)+d|0;e=s[k+((d-a|0)+w(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}q[b>>2]=c;return e|0}function Nv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-16|0;Da=d;c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=q[57215];q[d+8>>2]=q[57214];q[d+12>>2]=c;c=q[57213];q[d>>2]=q[57212];q[d+4>>2]=c;f=r[a+5|0]|r[a+4|0]<<8;if(f){c=a+6|0;while(1){e=r[c+1|0]|r[c|0]<<8;g=e?e+a|0:271312;h=r[g|0]<<8|r[g+1|0];if(h){e=g+2|0;while(1){i=r[e+1|0]|r[e|0]<<8;Jv(i?i+g|0:271312,b,d);e=e+2|0;h=h+ -1|0;if(h){continue}break}}c=c+2|0;f=f+ -1|0;if(f){continue}break}}Da=d+16|0}function _K(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((c-b|0)>=1){while(1){a=r[r[b|0]+493204|0]+ -5|0;a:{b:{if(a>>>0>5){break b}c:{switch(a-1|0){default:b=b+2|0;break a;case 0:b=b+3|0;break a;case 1:b=b+4|0;break a;case 3:q[d>>2]=q[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;q[d+4>>2]=-1;break a}b=r[r[b+1|0]+493204|0]==10?b+2|0:a;q[d+4>>2]=-1;break a;case 2:break b;case 4:break c}}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+1|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>0){continue}break}}}function DU(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;b=q[a+12>>2];q[f>>2]=0;q[e>>2]=0;g=b;h=q[b+76>>2];b=q[b+72>>2];i=n[q[b+204>>2]](g,h,c,d,e,f,q[b+68>>2])|0;if(i){h=f;d=q[a+12>>2];a:{if(d){b=q[e>>2];g=q[d+20>>2];c=q[a+20>>2];if((g|0)!=(c|0)){b=W$(V$(c,c>>31,b,b>>31),Ea,g,g>>31)}q[e>>2]=b;e=q[f>>2];d=q[d+24>>2];a=q[a+24>>2];b=e;if((d|0)==(a|0)){break a}b=W$(V$(a,a>>31,e,e>>31),Ea,d,d>>31);break a}b=q[f>>2]}q[h>>2]=b}return i|0}function hA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=q[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(r[c|0]<<8|r[c+1|0])){break b}break a}c=c+(d<<1)|0;c=r[c|0]<<8|r[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(r[a+1|0]|r[a|0]<<8)|0;if(b>>>0>=(r[a+3|0]|r[a+2|0]<<8)>>>0){break a}c=r[a+7|0]|r[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=r[b|0]<<8|r[b+1|0];if(!b){break a}e=b+(r[a+5|0]|r[a+4|0]<<8)&65535}return e|0}function _s(a){var b=0,c=0,d=0,e=0;b=q[a+44>>2];if(!(b|q[a+76>>2]?(b|0)!=1:0)){a:{if(q[a+52>>2]|!q[a+76>>2]){break a}b=0;while(1){c=q[a+12>>2];c=n[q[c+32>>2]](c,q[q[a+88>>2]+w(b,20)>>2],q[c- -64>>2])|0;if(!((c|0)==1516858984|(c|0)==1517910393|(c|0)==1517976186)){q[a+52>>2]=c;break a}b=b+1|0;if(b>>>0>2]){continue}break}}if(!q[a+48>>2]){b=aj(q[a+52>>2]);q[a+48>>2]=b?b:4}if(!q[a+56>>2]){d=a,e=gn(),q[d+56>>2]=e}return}I(272791,272586,621,272898);F()}function Ww(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Le(a+16|0,b,a)){break a}if(!Le(a+20|0,b,a)){break a}c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function TD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=q[a+532>>2];if(!b){return 6}h=-1;g=q[b>>2];a:{if(!g){break a}e=q[b+4>>2];i=e>>>0>1?e:1;j=q[b+136>>2];c=e;while(1){f=65536;b=0;if(c){while(1){f=f>>1;b=b+1|0;if((i|0)!=(b|0)){continue}break}b=e}c=(d<<2)+j|0;b:{if(q[c>>2]==(f|0)){c=b;d=d+1|0;if(d>>>0>>0){continue}if(!k){break a}break b}q[c>>2]=f;k=1;c=b;d=d+1|0;if(d>>>0>>0){continue}}break}q[a+8>>2]=q[a+8>>2]&-32769;h=0}return h|0}function Se(a){var b=0,c=0;a:{b:{if(!a){if(!q[160941]){while(1){b=Sa(28);a=q[160941];q[160941]=a?a:b;if(!a){break b}if(!q[160941]){continue}break}}break a}q[a+68>>2]=q[a+68>>2]+1;return a}Ud()}a=q[160940];c:{if(a){break c}while(1){a=pk();if(a){d:{while(1){if(q[160941]){break d}c=Sa(28);b=q[160941];q[160941]=b?b:c;if(b){continue}break}Ud()}b=q[160940];q[160940]=b?b:a;if(!b){break c}cc(a)}a=q[160940];if(!a){continue}break}}q[a+68>>2]=q[a+68>>2]+1;return a}function vL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];a:{if((d|0)!=q[b+4>>2]){break a}c=1;if((d|0)<1){break a}i=q[b+12>>2];j=q[a+12>>2];while(1){b=q[(f<<2)+j>>2];e=0;b:{while(1){a=q[(e<<2)+i>>2];c=b;if((a|0)==(c|0)){break b}while(1){c:{h=r[c|0];g=r[a|0];if(!g){break c}a=a+1|0;c=c+1|0;if((h|0)==(g|0)){continue}}break}if((h|0)==(g|0)){break b}e=e+1|0;if((e|0)!=(d|0)){continue}break}return 0}c=1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}return c}function eg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+8>>2]+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){c=e+d>>1;g=q[(c<<3)+f>>2]-b|0;if(!g){break a}h=(g|0)<0;e=h?c+1|0:e;d=h?d:c+ -1|0;if((e|0)<=(d|0)){continue}break}e=g>>>31|0}c=c+e^-1}if(!(!f|(c|0)<0)){_e(q[((c<<3)+f|0)+4>>2]);c=(c<<3)+f|0;b=c+8|0;sb(c,b,((q[a+8>>2]+a|0)+((a?q[a>>2]:0)<<3)|0)-b|0);b=q[a>>2]+ -1|0;q[a>>2]=b;a=(q[a+8>>2]+a|0)+((a?b:0)<<3)|0;q[a>>2]=0;q[a+4>>2]=0}}function bw(a,b,c){var d=0;a:{b:{if((c|0)==-1){break b}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65537){break b}d=r[a+10|0]|r[a+11|0]<<8|(r[a+12|0]<<16|r[a+13|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=D$(d?d+a|0:271312,c,b);if(c){break a}}c=a;a=r[a+7|0]|r[a+6|0]<<8;a=a?c+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];c=b?a+b|0:271312}return c}function o$(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;d=r[a+4|0];a:{if(d>>>0>2){break a}b:{c:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+5|0];q[c+8>>2]=a;q[c+12>>2]=b;o[c+4|0]=e>>>2&1;q[c>>2]=c+8;n$(c,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 0:break a;case 1:break c}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+5|0];q[c+8>>2]=a;q[c+12>>2]=b;o[c+4|0]=e>>>2&1;q[c>>2]=c+8;m$(c,q[b+4>>2],q[b+12>>2],q[d+132>>2])}e=1}Da=c+16|0;return e}function gP(a,b){a=a|0;b=b|0;var c=0;if(q[b+72>>2]==1651078259){c=q[a>>2];q[a+20>>2]=q[b+100>>2];q[a+24>>2]=q[b+104>>2];a=a+28|0;if(o[q[b+156>>2]+4|0]&1){c=q[b+80>>2];q[a>>2]=q[b+76>>2];q[a+4>>2]=c;c=q[b+96>>2];q[a+16>>2]=q[b+92>>2];q[a+20>>2]=c;c=q[b+88>>2];q[a+8>>2]=q[b+84>>2];q[a+12>>2]=c;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2;return 0}if(a){q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}a=Ln(c,b+76|0,a)}else{a=18}return a|0}function Vc(a,b){var c=0,d=0,e=0;a:{d=yd(a);b:{if(!d){break b}while(1){if(e){c=Hc(q[a+16>>2]);if(!c){break a}q[c+8>>2]=d;q[c>>2]=b;q[c+12>>2]=e;d=c}e=d;d=yd(a);if(d){continue}break}b=q[a+1312>>2];c:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break c}b=Sa(24);if(!b){break b}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];d=b;c=q[a>>2];if(c){c=q[c>>2]}else{c=0}q[d+4>>2]=c;q[a+4>>2]=b;if(!b){break b}q[b+8>>2]=18;q[b+16>>2]=e}return}_a(a,2,499215,0);tb(d);tb(e)}function Nm(a,b,c){var d=0,e=0;a:{if((r[a+1|0]|r[a|0]<<8)==10){b:{c=r[a+5|0]|r[a+4|0]<<8;if(c>>>0<=b>>>0){b=b-c|0;if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0){break b}}b=r[271313]|r[271312]<<8;break a}d=r[a+3|0]|r[a+2|0]<<8;if(!d){b=0;break a}c=0;e=a;a=w(b,d);a=(a|0)<0?271312:(e+a|0)+8|0;b=0;while(1){b=r[a|0]|b<<8;a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}a=Sc(a,b,c);a=a?a:271312;a=r[a|0]|r[a+1|0]<<8;b=(a<<24|a<<8&16711680)>>>16|0}return b&65535}function XN(a){var b=0,c=0;a:while(1){b:{c:{b=r[a|0];if((b|0)!=92){if(b){break c}c=0;break b}a=r[a+1|0]?a+2|0:a+1|0;continue}a=a+1|0;if((b|0)!=123){continue}while(1){b=r[a|0];d:{if((b|0)!=92){if(!b|(b|0)==125){continue a}break d}c=1;b=a+1|0;if(!Ra(b,356209,3)){break b}if(!Ra(b,356175,4)){break b}if(!Ra(b,356326,4)){break b}if(!Ra(b,356138,5)){break b}if(!Ra(b,356276,3)){break b}if(!Ra(b,356369,3)|r[b|0]==112){break b}}a=a+1|0;continue}}break}return c}function mW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if((c|0)<=-1){c=Wa(b)}a:{if(!c){break a}e=q[a+220>>2];if((e|0)<1){break a}j=q[a+224>>2];f=e+ -1|0;e=0;b:{while(1){i=f+e>>>1|0;h=(i<<4)+j|0;g=q[h+4>>2];h=Ra(b,q[h>>2],c>>>0>g>>>0?g:c);g=h?h:c-g|0;c:{if((g|0)<=-1){f=i+ -1|0;break c}if(!g){break b}e=i+1|0}if((e|0)<=(f|0)){continue}break}return 0}b=(i<<4)+j|0;a=im(q[a+48>>2],s[b+12>>1],q[a+212>>2]);if(!a){f=0;if(s[b+12>>1]){break a}}q[d>>2]=a;f=1}return f}function KU(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;b=q[a+12>>2];q[e>>2]=0;q[d>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];f=n[q[b+184>>2]](f,g,c,d,e,q[b+48>>2])|0;if(f){c=e;g=q[a+12>>2];a:{if(g){b=q[d>>2];h=q[a+20>>2];i=q[g+20>>2];if((h|0)!=(i|0)){b=W$(V$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[d>>2]=b;d=q[e>>2];b=d;e=q[g+24>>2];a=q[a+24>>2];if((e|0)==(a|0)){break a}b=W$(V$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=q[e>>2]}q[c>>2]=b}return f|0}function JU(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;b=q[a+12>>2];q[e>>2]=0;q[d>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];f=n[q[b+188>>2]](f,g,c,d,e,q[b+52>>2])|0;if(f){c=e;g=q[a+12>>2];a:{if(g){b=q[d>>2];h=q[a+20>>2];i=q[g+20>>2];if((h|0)!=(i|0)){b=W$(V$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[d>>2]=b;d=q[e>>2];b=d;e=q[g+24>>2];a=q[a+24>>2];if((e|0)==(a|0)){break a}b=W$(V$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=q[e>>2]}q[c>>2]=b}return f|0}function vU(a,b){var c=0;a:{if(!q[a+4>>2]){break a}b:{c:{c=ab(1,16);if(c){q[c+12>>2]=797;q[c+8>>2]=1;q[c+4>>2]=0;q[c>>2]=b;if(q[a+4>>2]){break c}q[c+8>>2]=0;La(c);break b}break a}b=q[a+88>>2];if(b){n[b](q[a+20>>2])}q[a+88>>2]=499;q[a+20>>2]=c;q[a+156>>2]=500}b=q[c+8>>2];q[c+8>>2]=b+1;if(!q[a+4>>2]){q[c+8>>2]=b;if(b){break a}a=q[c+4>>2];if(a){n[a](q[c>>2])}La(c);return}b=q[a+96>>2];if(b){n[b](q[a+28>>2])}q[a+96>>2]=499;q[a+28>>2]=c;q[a+164>>2]=501}}function A_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=r[a+3|0];h=r[a+2|0];d=(a+2|0)+(g<<1|h<<9)|0;f=d+2|0;c=r[f|0];e=r[d+3|0];a:{b:{if(r[b+12|0]){f=f+(e<<1|c<<9)|0;if(r[f+3|0]|(g|h<<8)|r[f+2|0]<<8){break b}}e=e|c<<8;if((e|0)!=q[b+8>>2]){break b}c=1;if(e>>>0<2){break a}g=d+6|0;d=1;while(1){c=(g+(d<<1)|0)+ -2|0;c=r[c|0]<<8|r[c+1|0];if((yb(c?c+a|0:271312,q[q[b+4>>2]+(d<<2)>>2])|0)==-1){break b}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}c=0}return c}function zf(a){var b=0,c=0,d=0;a:{b:{if(!a){break b}b=Sa(40);if(!b){break b}q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=8;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=b+8|0;c=q[a+4>>2]<<2;c=c>>>0<32?c:32;Na(d+c|0,0,c>>>0>31?0:32-c|0);Qa(d,a+8|0,c);if(!q[a>>2]){return b}c=od();q[b>>2]=c;if(c){a=Ic(q[a>>2]);if(a){while(1){d=Qb(a);if(!d){break a}if(Ad(c,d)){continue}break}Zb(a)}Yb(c)}La(b)}return 0}Zb(a);return b}function ag(a){var b=0,c=0,d=0,e=0,f=0;d=Sa(Wa(a)+1|0);if(d){c=d;while(1){e=r[a|0];if(!(e?(e|0)!=47:0)){a:{if(!b){break a}f=(b^-1)+a|0;if(f>>>0>2){break a}b:{switch(f-1|0){default:c=c+ -1|0;break a;case 0:c=Ra(b,489256,2)?c:c+ -2|0;break a;case 1:break b}}if(Ra(b,489259,3)){break a}b=c+ -3|0;c=d>>>0>>0?d:b;while(1){if(b>>>0<=d>>>0){break a}b=b+ -1|0;if(r[b|0]!=47){continue}break}c=b}b=a}o[c|0]=e;c=c+1|0;a=a+1|0;if(e){continue}break}}return d}function yW(a,b,c){var d=0,e=0,f=x(0);e=q[a>>2];a:{if(e>>>0<=b>>>0){d=0;if(e){break a}return q[a+8>>2]}d=q[a+12>>2];e=q[(d?d:271312)+12>>2];d=q[a+4>>2]+ -1|0;d=d>>>0>>0?d:b;d=(d|0)<0?271312:e+(d<<2)|0;e=r[d|0]<<8|r[d+1|0];d=e;if(!q[c+60>>2]){break a}a=q[a+16>>2];a=a?a:271312;d=q[a+16>>2];if(d){f=x(x(J(x(tu(d>>>0<20?271312:q[a+12>>2],b,c))))+x(e>>>0));if(f=x(0)){return~~f>>>0}return 0}d=wu(kh(q[c+16>>2]+96|0),c,b,0)}return d}function xW(a,b,c){var d=0,e=0,f=x(0);e=q[a>>2];a:{if(e>>>0<=b>>>0){d=0;if(e){break a}return q[a+8>>2]}d=q[a+12>>2];e=q[(d?d:271312)+12>>2];d=q[a+4>>2]+ -1|0;d=d>>>0>>0?d:b;d=(d|0)<0?271312:e+(d<<2)|0;e=r[d|0]<<8|r[d+1|0];d=e;if(!q[c+60>>2]){break a}a=q[a+16>>2];a=a?a:271312;d=q[a+16>>2];if(d){f=x(x(J(x(tu(d>>>0<20?271312:q[a+12>>2],b,c))))+x(e>>>0));if(f=x(0)){return~~f>>>0}return 0}d=wu(kh(q[c+16>>2]+96|0),c,b,1)}return d}function mC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;d=q[b+72>>2];f=q[a+100>>2];q[e+12>>2]=0;c=n[q[b+36>>2]](b)|0;a:{if((c|0)<0|q[a+304>>2]){break a}b=0;d=t[d+4>>2]/100|0;c=c>>>0>d>>>0?d:c;d=Oa(f,252,0,c,0,e+12|0);q[a+304>>2]=d;if(q[e+12>>2]){break a}q[a+300>>2]=c;if((c|0)<1){break a}while(1){a=d+w(b,252)|0;q[a+116>>2]=1;q[a+108>>2]=2596864;q[a+112>>2]=7;q[a+180>>2]=3932;q[a+4>>2]=4;b=b+1|0;if((c|0)!=(b|0)){continue}break}}Da=e+16|0}function Pd(a){var b=0,c=0,d=0,e=0;b=Da-4144|0;Da=b;a:{b:{c=r[a|0];if((c|0)!=47){if((c|0)!=126){break b}c=0;d=Yh();if(!d){break a}e=Sa((Wa(d)+Wa(a)|0)+1|0);if(!e){break a}a=Eg(tc(e,d),a+1|0);if(r[a|0]==47){c=ag(a);La(a);break a}if(!dk(b+32|0)){La(a);break a}q[b+20>>2]=0;q[b+16>>2]=a;d=_b(b+32|0,b+16|0);c=ag(d);La(d);La(a);break a}c=ag(a);break a}if(!dk(b+32|0)){c=0;break a}q[b+4>>2]=0;q[b>>2]=a;a=_b(b+32|0,b);c=ag(a);La(a)}Da=b+4144|0;return c}function eH(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!q[q[160602]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){o[a+1|0]=b&63|128;o[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){o[a+2|0]=b&63|128;o[a|0]=b>>>12|224;o[a+1|0]=b>>>6&63|128;return 3}if(b+ -65536>>>0<=1048575){o[a+3|0]=b&63|128;o[a|0]=b>>>18|240;o[a+2|0]=b>>>6&63|128;o[a+1|0]=b>>>12&63|128;return 4}}q[160942]=25;a=-1}else{a=1}return a}o[a|0]=b;return 1}function LH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[a+8>>2];f=q[b+8>>2];pc(d,b);g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;a=e&1?(e&-2)+a|0:e;e=f&1?(f&-2)+b|0:f;b=r[e|0];a:{b:{if((b|0)==32){break b}c=r[a|0];if((c|0)==32){break b}h=1;if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=(((b+ -65&255)>>>0<26?b+32|0:b)|0)){break a}}b=AL(a,e);a=Wa(a);h=+(a-b>>>0)/+(a>>>0)}Da=d+16|0;return+h}function Ep(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=r[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=q[a>>2];b:{if((c^-1)&c+ -16843009&-2139062144){break b}d=w(d,16843009);while(1){c=c^d;if((c^-1)&c+ -16843009&-2139062144){break b}c=q[a+4>>2];a=a+4|0;if(!(c+ -16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=r[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Wa(a)+a|0}return a}function wz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;c=q[a+28>>2];g=q[a+16>>2];e=q[a+24>>2];q[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=q[a+32>>2];break c}q[a+36>>2]=b;b=Oa(b,4,c,f,q[a+32>>2],d+12|0);q[a+32>>2]=b;if(q[d+12>>2]){break b}q[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){q[(c<<2)+b>>2]=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[(e<<2)+b>>2]=0;break a}b=0}Da=d+16|0;return b|0}function rl(a,b,c){var d=0,e=0,f=0,g=0;if(!(q[a+20>>2]==(c|0)?q[a+16>>2]==(b|0):0)){q[a+16>>2]=b;q[a+20>>2]=c;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function pr(a,b){var c=0,d=0,e=0;a:{while(1){b:{d=q[160909];c=d;if(c){while(1){if(!Ta(q[c+4>>2],a)){break b}c=q[c>>2];if(c){continue}break}}c=Sa(16);if(!c){return 0}e=eb(a);q[c+8>>2]=-1;q[c+4>>2]=e;e=q[160547];q[160547]=e+1;q[c+12>>2]=e;if((e|0)<=1074){break a}q[c>>2]=d;e=q[160909];d=(e|0)==(d|0);q[160909]=d?c:e;if(d){break b}d=q[c+4>>2];if(d){La(d)}La(c);continue}break}if(b){q[b>>2]=q[c+12>>2]}return c+4|0}Lc(439488,41,1,q[126999]);X();F()}function gO(a,b,c){var d=0,e=0,f=0,g=0;if(!(q[a+28>>2]==(c|0)?q[a+24>>2]==(b|0):0)){q[a+24>>2]=b;q[a+28>>2]=c;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function gC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=q[a+16>>2];if(!e){q[b>>2]=0;return 0}i=q[a+20>>2];f=q[b>>2];a:{while(1){f=f+1|0;c=0;d=e;b:{while(1){g=(d-c>>>1|0)+c|0;h=q[(g<<4)+i>>2];if((h|0)==(f|0)){break b}h=h>>>0>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}d=0;if(c>>>0>>0){break a}q[b>>2]=0;return 0}if(!g){continue}break}q[b>>2]=f;return g+1|0}e=0;if(c){e=q[q[a+20>>2]+(c<<4)>>2];d=c+1|0}q[b>>2]=e;return d|0}function AG(a,b){var c=0,d=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;d=(k(b),e(0));h=d&-2147483648;c=d&2147483647;a:{if(c+ -8388608>>>0<=2130706431){d=c;c=c>>>7|0;d=d<<25;c=c+1065353216|0;g=d;c=d>>>0<0?c+1|0:c;break a}if(c>>>0>=2139095040){g=d<<25;c=d>>>7|2147418112;break a}if(!c){c=0;break a}d=c;c=z(c);Fc(f,d,0,0,0,c+81|0);i=q[f>>2];j=q[f+4>>2];g=q[f+8>>2];c=q[f+12>>2]^65536|16265-c<<16}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=c|h;Da=f+16|0}function lr(){var a=0,b=0,c=0,d=0,e=0;a:{b:{c:{a=q[160912];if(a){break c}while(1){a=4096;d:{while(1){e:{b=Sa(a);if(b){c=a+ -1|0;d=ek(439562,b,c);if((d|0)>-1){break e}La(b)}a=eb(439577);break d}if(d>>>0>=c>>>0){La(b);a=a<<1;continue}break}o[b+d|0]=0;a=ue(b,47);a=eb(a?a+1|0:b);if(!a){a=eb(439577)}La(b)}c=q[160912];q[160912]=c?c:a;if(c){La(a);a=q[160912];if(!a){continue}break c}break}if(a){break c}a=0;break b}if(!r[a|0]){break a}}e=a}return e}function As(a,b,c,d){var e=0,f=0,g=0,h=0;if(a){f=q[(w(d,204)+c|0)+200>>2];while(1){d=q[b+24>>2];if(d){h=b;c=q[b+16>>2];e=q[d+8>>2];a:{if(c&512){break a}e=q[d+12>>2]+q[d+8>>2]|0;if(c&1024){break a}c=q[b+28>>2]-q[d>>2]|0;if((c|0)<=0){e=q[d+8>>2]+Ma(c,f)|0;break a}e=q[d+12>>2];g=q[d+8>>2];d=q[d+4>>2];if((c|0)>=(d|0)){e=Ma(c-d|0,f)+(e+g|0)|0;break a}e=bb(c,e,d)+g|0}q[h+36>>2]=e;q[b+16>>2]=q[b+16>>2]|32}b=b+40|0;a=a+ -1|0;if(a){continue}break}}}function fn(a,b,c,d,e){var f=0;a:{b:{c:{if((b|0)<1){break c}f=ab(1,32);if(!f){break c}q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=1;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=c;q[f+16>>2]=b;q[f+12>>2]=a;if(c){break a}q[f+20>>2]=1;if(!q[f+4>>2]){break b}c=Sa(b);if(!c){break b}a=Qa(c,a,b);if(e){n[e](d);q[f+24>>2]=0;q[f+28>>2]=0}q[f+28>>2]=427;q[f+24>>2]=a;q[f+12>>2]=a;q[f+20>>2]=2;return f}f=271312;if(!e){break a}n[e](d);return 271312}Pa(f);f=271312}return f}function RS(a,b,c){var d=0,e=0,f=0,g=0;e=(r[a+25|0]|r[a+24|0]<<8)+a|0;g=r[e|0]<<8|r[e+1|0];a=0;a:{while(1){f=(a<<3)+e|0;d=f;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);if((r[f+7|0]|r[f+6|0]<<8)>>>0>=b>>>0?(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))==1936092788:0){break a}d=(a|0)==(g|0);a=a+1|0;if(!d){continue}break}return 271312}a=(a<<3)+e|0;a=((r[a+8|0]<<8|r[a+9|0])+e|0)+w(b,12)|0;return((r[a+6|0]<<8|r[a+5|0]<<16|r[a+7|0])+c|0)+4|0}function Pu(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];d=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((d|0)==-1){break a}c=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=c;e=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[e+76>>2];o[b+20|0]=(c|0)==q[e+72>>2]?r[(q[e+88>>2]+w(c,20)|0)+15|0]:0;if(!id(b)){break a}c=(r[a+9|0]|r[a+8|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+10|0:271312;c=r[c|0]<<8|r[c+1|0];f=pY(c?c+a|0:271312,b,a+4|0,q[b>>2])}return f}function qL(a,b){var c=0,d=0,e=0,f=0,g=0;d=Da-128|0;Da=d;d=Na(d,0,128);a:{if(!b){break a}c=Pb(b,58);if(c){while(1){g=b;b=c-b|0;f=b>>>0<127?b:127;b=Md(d,g,f);o[d+f|0]=0;b:{if(!r[b|0]){break b}b=Lq(b);if(!b){break b}e=eb(b);c:{if(!e){break c}if(xf(a,e)){break c}La(e)}La(b);e=1}b=c+1|0;c=Pb(b,58);if(c){continue}break}}if(!r[b|0]){break a}b=Lq(b);if(!b){break a}c=eb(b);d:{if(!c){break d}if(xf(a,c)){break d}La(c)}La(b);e=1}Da=d+128|0;return e}function RY(a,b){var c=0,d=0,e=0,f=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}c=a+6|0;d=r[a+5|0];e=d|r[a+4|0]<<8;if(e){if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0){break a}if(d-c>>>0>>0){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a+5|0]}f=1;if(d>>>0<16){break a}f=ug(a+4|0,b,a,c)}return f}function IJ(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=c+ -2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(r[a+2|0]){break a}c=r[a+3|0];a=c<<24>>24;c=r[c+g|0]+ -9|0;b:{c:{if(c>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}q[d>>2]=b;return 0}function ej(a){var b=0,c=0,d=0,e=0,f=0;d=q[a+4>>2];a:{if((d|0)!=32){b=q[a+8>>2];break a}b=q[a+12>>2];if(!b){return 0}c=q[a>>2]>>>8|0;q[a>>2]=c;e=q[a+8>>2];f=r[e|0];q[a+12>>2]=b+ -1;d=24;q[a+4>>2]=24;b=e+1|0;q[a+8>>2]=b;q[a>>2]=c|f<<24}if(!(b&1)){return 1}c=q[a+12>>2];while(1){if(!c){return 1}e=q[a>>2]>>>8|0;q[a>>2]=e;f=r[b|0];c=c+ -1|0;q[a+12>>2]=c;d=d+ -8|0;q[a+4>>2]=d;b=b+1|0;q[a+8>>2]=b;q[a>>2]=e|f<<24;if(b&1){continue}break}return 1}function XC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+712>>2];a:{if(r[e+24|0]==2){f=11;e=ld(bc(q[q[a+96>>2]+4>>2],9848),10048,0);if(!e){break a}e=q[e>>2];if(!e){break a}return n[e](a,b,c,d)|0}a=q[e+3084>>2];if(!a){return 11}b=s[q[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b+ -391|0;if(t[e+1356>>2]<=a>>>0){break a}a=q[q[e+1360>>2]+(a<<2)>>2];break b}a=n[q[a+20>>2]](b)|0}if(!a){break a}Ej(c,a,d)}return f|0}function Cq(a,b,c){var d=0,e=0,f=0,g=0;e=1;a:{b:{if((c|0)<1){break b}while(1){g=r[b|0];d=q[a+12>>2];c:{if((d|0)!=q[a+16>>2]){f=q[a>>2];break c}e=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=d- -64|0;f=Sa(e);if(!f){break a}q[a+4>>2]=1;Qa(f,q[a>>2],d);break d}e=d<<1;f=db(q[a>>2],e);if(!f){break a}d=q[a+12>>2]}q[a>>2]=f;q[a+16>>2]=e}b=b+1|0;e=1;q[a+12>>2]=d+1;o[d+f|0]=g;d=(c|0)>1;c=c+ -1|0;if(d){continue}break}}return e}q[a+8>>2]=1;return 0}function qd(a){var b=0,c=0,d=0;d=Da-16|0;Da=d;a:{b:{b=Wa(a);c=b+ -3|0;if(c>>>0>11){break b}if(c>>>0>=2){b=b+r[r[a+4|0]+439232|0]|0}b=r[r[a+2|0]+439232|0]+b|0;if(b>>>0>60){break b}c=b&31;if(!((32<=(b&63)>>>0?335544319>>>c|0:((1<>>c)&1)){break b}c=q[(b<<3)+438272>>2]+438760|0;if(r[a|0]!=r[c|0]){break b}if(Ta(a+1|0,c+1|0)){break b}a=q[(b<<3)+438276>>2];break a}a=pr(a,d+12|0);a=a?q[d+12>>2]:0}Da=d+16|0;return a}function aK(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=c+ -2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(r[a+3|0]){break a}c=r[b|0];a=c<<24>>24;c=r[c+g|0]+ -9|0;b:{c:{if(c>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}q[d>>2]=b;return 0}function wJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=926;return 34}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function vJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=927;return 40}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ZI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 3:case 25:break c;default:break a}}q[a>>2]=948;return 31}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function SZ(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}c=b;b=q[b+12>>2];q[c+12>>2]=b+ -1;if((b|0)<1){break a}b=r[a+1|0]|r[a|0]<<8;if(!b){break a}if(!(r[a+3|0]|r[a+2|0]<<8|(r[a+5|0]|r[a+4|0]<<8)|(r[a+7|0]|r[a+6|0]<<8|(r[a+9|0]|r[a+8|0]<<8)))){d=1;break a}if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0|b>>>0>(r[a+9|0]|r[a+8|0]<<8)>>>0){break a}return(r[a+5|0]|r[a+4|0]<<8)+ -256>>>0<32512}return d}function OI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=956;return 51}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Rc(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -92|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,12);if(c){gw(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=0;if(q[b+4>>2]){while(1){d=q[b+8>>2]+w(c,24)|0;La(q[d+20>>2]);q[d+20>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}La(q[b+8>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function QX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{e=b+ -6078|0;if(e>>>0>7){break a}b:{switch(e-1|0){default:q[c>>2]=6081;q[d>>2]=6078;return 1;case 0:q[c>>2]=6081;q[d>>2]=6079;return 1;case 1:q[c>>2]=6081;q[d>>2]=6080;return 1;case 5:q[c>>2]=6081;q[d>>2]=6084;return 1;case 2:case 3:case 4:break a;case 6:break b}}q[c>>2]=6081;q[d>>2]=6085;return 1}a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;return(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0|0}function Hw(a,b){var c=0,d=0,e=0;c=Da-80|0;Da=c;e=r[a+4|0];a:{if(!(o[q[b>>2]+140|0]&1)){d=0;if(!(e&64)){break a}}q[c+24>>2]=b;q[c+28>>2]=a;d=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);q[c+68>>2]=0;o[c+72|0]=e>>>6&1;a=a+12|0;q[c+32>>2]=a+(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24));d=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;Cw(c+8|0,c+24|0);d=1}Da=c+80|0;return d}function Ac(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -88|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,12);if(c){hw(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=0;if(q[b+4>>2]){while(1){d=q[b+8>>2]+w(c,24)|0;La(q[d+20>>2]);q[d+20>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}La(q[b+8>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function DJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=3;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=912;return 4}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ud(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[b+4>>2];f=32-e|0;a:{b:{if(!f){if(r[a|0]){break a}q[c>>2]=s[a+2>>1];break b}h=q[b>>2]>>>e|0;g=h&255;i=(g<<2)+a|0;d=r[i|0];if(d>>>0<=8){if(f>>>0>>0){break a}q[b+4>>2]=d+e;q[c>>2]=s[((g<<2)+a|0)+2>>1];break b}if(f>>>0<9){break a}a=(s[((g<<2)+a|0)+2>>1]+((q[(d<<2)+153552>>2]&h)>>>8|0)<<2)+i|0;d=r[a|0];if(24-e>>>0>>0){break a}q[b+4>>2]=(d+e|0)+8;q[c>>2]=s[a+2>>1]}j=1}return j}function NI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>21){break b}c=39;c:{switch(d-1|0){case 20:q[a+8>>2]=39;q[a>>2]=932;return 46;case 0: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:break b;case 5:break c;default:break a}}q[a>>2]=955;return 39}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function xi(a,b,c){var d=0,e=0,f=0;a:{if(!q[c+20>>2]){q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;break a}d=1<>2];e=0-d|0;a=q[c+8>>2];f=a>>>0>e>>>0?a:e&(a+d|0)+ -1;e=q[c+12>>2];if(f>>>0>2147483615/(((e|0)>1?e:1)>>>0)>>>0){break a}d=oe(d,w(e,f)+32|0,0);if(!d){break a}q[b+20>>2]=d;q[b+16>>2]=f;q[b+12>>2]=e;q[b+8>>2]=a;q[b>>2]=q[c>>2];q[b+4>>2]=q[c+4>>2];Qa(d,q[c+20>>2],w(q[c+12>>2],q[c+16>>2]))}}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,k=0;f=q[a+496>>2];if(!f){return 6}g=q[f+32>>2];if(g){a=0;while(1){e=q[f+28>>2]+w(a,20)|0;a:{if(q[e>>2]!=(c|0)){break a}h=q[e+4>>2];if((h|0)>(b|0)){q[d>>2]=q[e+8>>2];break a}i=q[e+12>>2];if((i|0)<(b|0)){q[d>>2]=q[e+16>>2];break a}j=d,k=bb(b-h|0,q[e+16>>2]-q[e+8>>2]|0,i-h|0)+q[e+8>>2]|0,q[j>>2]=k;g=q[f+32>>2]}a=a+1|0;if(a>>>0>>0){continue}break}}return 0}function J_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=r[a+5|0];g=r[a+4|0];f=d|g<<8;if(!f){break a}while(1){d=(g<<8|d)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;b:{if(r[d|0]<<8|r[d+1|0]){c=c+1|0;break b}c:{if((c|0)==(e|0)){break c}d=e;e=r[a+3|0]|r[a+2|0]<<8;if(eh(b,d+e|0,c+e|0)){break c}return}c=c+1|0;e=c}if((c|0)==(f|0)){break a}d=r[a+5|0];g=r[a+4|0];continue}}d:{if((e|0)==(f|0)){break d}a=r[a+3|0]|r[a+2|0]<<8;if(eh(b,a+e|0,a+f|0)){break d}}}function kM(a,b,c){a=a|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=q[b>>2]&(q[c>>2]^-1);q[a>>2]=d;e=q[b+4>>2]&(q[c+4>>2]^-1);q[a+4>>2]=e;f=q[b+8>>2]&(q[c+8>>2]^-1);q[a+8>>2]=f;g=q[b+12>>2]&(q[c+12>>2]^-1);q[a+12>>2]=g;h=q[b+16>>2]&(q[c+16>>2]^-1);q[a+16>>2]=h;i=q[b+20>>2]&(q[c+20>>2]^-1);q[a+20>>2]=i;j=q[b+24>>2]&(q[c+24>>2]^-1);q[a+24>>2]=j;k=a;a=q[b+28>>2]&(q[c+28>>2]^-1);q[k+28>>2]=a;return(a|(d|e|f|g|h|i|j))!=0|0}function FA(a){n[q[a+28>>2]](q[a+32>>2],q[a+580>>2]);q[a+580>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+576>>2]);q[a+576>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+252>>2]);q[a+252>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+120>>2]);q[a+120>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+136>>2]);q[a+136>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+152>>2]);q[a+152>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+96>>2]);q[a+96>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+168>>2]);q[a+168>>2]=0}function pF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=q[a+540>>2];d=q[a+104>>2];e=q[a+100>>2];c=q[a+716>>2];if(c){n[c](q[a+712>>2])}if(b){n[q[b+12>>2]](a)}zb(q[a+104>>2],a+764|0);q[a+760>>2]=0;c=q[a+104>>2];b=q[c+28>>2];f=q[a+784>>2];if(f){n[q[b+8>>2]](b,f)}q[a+784>>2]=0;zb(c,a+768|0);b=q[a+704>>2];if(b){n[q[e+8>>2]](e,b)}q[a+700>>2]=0;q[a+704>>2]=0;zb(d,a+688|0);zb(d,a+696|0);q[a+692>>2]=0;q[a+684>>2]=0;Fo(a);q[a+736>>2]=0}}function go(a,b){var c=0,d=0,e=0;c=q[a+16>>2];if(!(!c|!q[a+12>>2])){while(1){e=d<<2;c=q[e+c>>2];if(c){n[q[b+8>>2]](b,c)}c=q[a+16>>2];q[e+c>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){n[q[b+8>>2]](b,c)}d=0;q[a+16>>2]=0;c=q[a+4>>2];if(!(!c|!q[a>>2])){while(1){e=d<<3;c=q[(e+c|0)+4>>2];if(c){n[q[b+8>>2]](b,c)}c=q[a+4>>2];q[(e+c|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){n[q[b+8>>2]](b,c)}q[a+4>>2]=0}function fj(a){a=a|0;var b=0,c=0;if(a){c=q[a+100>>2];Mn(q[a+140>>2]);b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0}}function WR(a,b){var c=0,d=0,e=0;c=q[b+92>>2];if(c){e=q[c+4>>2]==1937337698}c=q[160840];a:{if(c){break a}while(1){c=UR();if(!c){c=641424}d=q[160840];q[160840]=d?d:c;if(!d){break a}if(!(!c|(c|0)==641424)){hd(c)}c=q[160840];if(!c){continue}break}}d=ab(1,1044);if(d){o[d+13|0]=0;o[d+12|0]=e;q[d+4>>2]=b;b=0;q[d>>2]=0;q[d+16>>2]=0;q[d+8>>2]=2;e=d+20|0;while(1){q[e+(b<<2)>>2]=-1;b=b+1|0;if((b|0)!=256){continue}break}}am(a,c,d,583)}function ki(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;if(a){d=q[126998];while(1){pc(b+16|0,a+8|0);c=q[b+28>>2];q[b+40>>2]=q[b+24>>2];q[b+44>>2]=c;c=q[b+20>>2];q[b+32>>2]=q[b+16>>2];q[b+36>>2]=c;Gb(32);c=q[b+44>>2];q[b+8>>2]=q[b+40>>2];q[b+12>>2]=c;c=q[b+36>>2];q[b>>2]=q[b+32>>2];q[b+4>>2]=c;Fk(d,b);c=q[a+24>>2];if(c>>>0<=2){c=q[(c<<2)+490036>>2]}else{c=489989}Ua(c,0);c=a;a=q[a>>2];a=a&1?c+(a&-2)|0:a;if(a){continue}break}}Da=b+48|0}function aL(a,b,c,d,e){a=a|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:{f=q[b>>2];if(f>>>0>=c>>>0){break a}i=a+72|0;j=a+372|0;while(1){g=q[d>>2];if(g>>>0>>0){g=b;h=s[(r[f|0]<<1)+j>>1];b:{if(!h){h=n[q[a+364>>2]](q[a+368>>2],f)|0;f=q[b>>2];f=(r[r[f|0]+i|0]+f|0)+ -3|0;break b}f=f+1|0}q[g>>2]=f;g=q[d>>2];q[d>>2]=g+2;p[g>>1]=h;f=q[b>>2];if(f>>>0>>0){continue}break a}break}if((e|0)!=(g|0)){break a}return 2}return 0}function xm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-272|0;Da=e;c=r[a+7|0]|r[a+6|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];d=0;a:{if((yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}c=r[a+3|0];h=r[a+5|0];f=r[a+2|0];i=r[a+4|0];q[e+268>>2]=0;c=c|f<<8;d=0;if(!Si(b,c,a+8|0,448,a,e+268|0,e,0)){break a}d=q[e+268>>2];if(d>>>0>=2){g=q[b+96>>2];f=q[g+72>>2];rb(g,f,f+d|0)}d=zm(b,c,e,i<<8|h,((c<<1)+a|0)+6|0,d)}Da=e+272|0;return d}function FO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;yi(b);a:{a=q[a>>2];b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);F()}function sA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=50462976;g=c+288|0;q[g>>2]=50462976;f=q[c+280>>2];d=1;while(1){e=e+67372036|0;q[(d<<2)+g>>2]=e;d=d+1|0;if(d>>>0<=f>>>0){continue}break}if(!b){q[c+280>>2]=0;return}j=g+ -1|0;while(1){f=a+h|0;e=r[f|0];d=r[e+g|0];o[f|0]=d;o[j|0]=d;d=e;while(1){f=d+ -1|0;o[d+g|0]=r[f+g|0];k=(d|0)>0;d=f;if(k){continue}break}i=e|i;h=h+1|0;if((h|0)!=(b|0)){continue}break}q[c+280>>2]=i>>>2}function hE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;q[d>>2]=0;q[d+4>>2]=0;e=q[a+496>>2];if(e){h=d;a=q[e+36>>2];e=(a+(q[e+40>>2]<<4)|0)+ -16|0;a:{if(e>>>0>=a>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=q[b>>2]<<16|q[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;q[d>>2]=q[a+8>>2];a=q[a+12>>2];break a}f=g>>>0>>0;a=f?b+16|0:a;e=f?e:b+ -16|0;if(a>>>0<=e>>>0){continue}break}}q[d>>2]=0;a=0}q[h+4>>2]=a}return 0}function en(a,b,c){var d=0,e=0;a:{b:{if(!a|!c){break b}d=q[a+16>>2];if(d>>>0<=b>>>0){break b}if(q[a+4>>2]){q[a+4>>2]=0}e=q[a+12>>2];if(q[a>>2]){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}c:{d=d-b|0;d=d>>>0>>0?d:c;if((d|0)<1){break c}c=ab(1,32);if(!c){break c}q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=1;q[c+28>>2]=428;q[c+24>>2]=a;q[c+20>>2]=1;q[c+16>>2]=d;q[c+12>>2]=b+e;return c}Pa(a)}return 271312}I(227120,227145,269,227160);F()}function Pp(){var a=0,b=0,c=0,d=0;c=Kb(503480);a:{if(!q[160548]){break a}if(c){return eb(c)}a=Kb(503475);if(a){d=Wa(a)}c=Sa(d+8|0);if(!c){break a}if(a){Qa(c,a,d)}b=c+d|0;a=r[503495]|r[503496]<<8|(r[503497]<<16|r[503498]<<24);o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;a=r[503498]|r[503499]<<8|(r[503500]<<16|r[503501]<<24);o[b+3|0]=a;o[b+4|0]=a>>>8;o[b+5|0]=a>>>16;o[b+6|0]=a>>>24;o[c+(d+7|0)|0]=0;b=c}return b}function nf(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;q[d+12>>2]=0;e=Ob(a,d+12|0);c=q[d+12>>2];a:{if(c){break a}c=e&255;e=c+ -253|0;b:{if(e>>>0<=2){c:{switch(e-1|0){default:a=ib(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=a;break b;case 1:a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=(a&255)+253;break b;case 0:break c}}a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=(a&255)+506;break b}p[b>>1]=c}c=0}Da=d+16|0;return c}function fO(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}d=q[c>>2];if(!d){break a}while(1){La(d);d=q[c+4>>2];c=c+4|0;if(d){continue}break}c=q[a+8>>2]}La(c);q[a+8>>2]=0;b:{if(!b){break b}d=1;if(q[b>>2]){c=b;while(1){d=d+1|0;e=q[c+4>>2];c=c+4|0;if(e){continue}break}}c=ab(d,4);q[a+8>>2]=c;if(!c){break b}d=q[b>>2];if(!d){break b}while(1){f=c,g=eb(d),q[f>>2]=g;c=c+4|0;d=q[b+4>>2];b=b+4|0;if(d){continue}break}}}function rt(a){var b=0,c=0;b=q[a+8>>2];c=q[a+12>>2];if((b|0)<=(c|0)){a:{if((b|0)!=(c|0)){c=q[a+20>>2];break a}b=b<<1|1;q[a+12>>2]=b;c=db(q[a+20>>2],w(b,56));q[a+20>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b+1;a=w(b,56)+c|0;q[a>>2]=0;q[a+4>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return b}I(1487,1465,126,1524);F()}function Wo(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=0;a:{if(!a){break a}d=q[a+92>>2];c=0;if(!d){break a}c=0;if(!q[a+16>>2]){break a}e=n[q[q[d+12>>2]+12>>2]](d,0)|0;g=q[a+16>>2];c=0;if(e>>>0>>0?e:0){break a}e=0;d=q[a+92>>2];c=0;if(!d){break a}c=0;if(!g){break a}q[f+12>>2]=0;while(1){e=n[q[q[d+12>>2]+16>>2]](d,f+12|0)|0;if(e>>>0>=t[a+16>>2]){continue}break}c=e?q[f+12>>2]:0}a=c;if(b){q[b>>2]=e}Da=f+16|0;return a}function Tp(a,b,c){var d=0;d=Da-32|0;Da=d;a:{b:{c:{if(c){if(!Rd(c,500402)){a=aI();if(a){break b}c=0;break a}if(!Rd(c,500406)){break c}if(!Rd(c,500414)){break c}if(Rd(c,500418)){break c}a=Mg(q[a+12>>2]);if(a){break b}c=0;break a}if(r[b|0]==47|r[b|0]==126){break c}c=q[q[a>>2]+4>>2]+ -1|0;q[d>>2]=c>>>0<54?w(c,20)+499232|0:0;_a(a,1,500427,d)}c=eb(b);break a}q[d+20>>2]=0;q[d+16>>2]=b;c=_b(a,d+16|0);La(a)}Da=d+32|0;return c}function zc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!a){break b}f=q[a>>2]+ -1|0;if((f|0)<0){break b}i=q[a+8>>2]+a|0;while(1){d=e+f>>1;g=q[(d<<3)+i>>2]-c|0;if(!g){break a}h=(g|0)<0;e=h?d+1|0:e;f=h?f:d+ -1|0;if((e|0)<=(f|0)){continue}break}e=g>>>31|0}d=d+e^-1}e=0;q[b>>2]=0;if((d|0)>=0){q[b+4>>2]=d;c:{if(!a){break c}c=q[a>>2];if((c|0)<1|(d|0)>=(c|0)){break c}e=(q[a+8>>2]+a|0)+(d<<3)|0}q[b>>2]=e;a=1}else{a=0}return a}function uF(a){a=a|0;var b=0,c=0,d=0;b=q[a+196>>2];d=b+10|0;if(d>>>0<=t[a+200>>2]){c=r[b|0]|r[b+1|0]<<8;p[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=r[b+2|0]|r[b+3|0]<<8;q[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=r[b+4|0]|r[b+5|0]<<8;q[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=r[b+6|0]|r[b+7|0]<<8;q[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=r[b+8|0]|r[b+9|0]<<8;q[a+196>>2]=d;q[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function Ye(a,b){var c=0,d=0,e=0;a:{while(1){b:{c=a+1|0;c:{d:{a=r[a|0];if((a|0)!=63){if(!a){break b}if((a|0)!=42){break d}if(!r[c|0]){return 1}if(!Pb(c,42)){a=0;d=Wa(b);e=Wa(c);if(d>>>0>>0){break a}b=(d-e|0)+b|0}a=0;if(!r[b|0]){break a}while(1){if(!Ye(c,b)){b=b+1|0;if(r[b|0]){continue}break a}break}return 1}if(r[b|0]){break c}return 0}if((a|0)==r[b|0]){break c}return 0}b=b+1|0;a=c;continue}break}a=!r[b|0]}return a}function TH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[a+8>>2];f=q[b+8>>2];pc(d,b);g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;c=e&1?(e&-2)+a|0:e;e=f&1?(f&-2)+b|0:f;a=r[e|0];a:{b:{if((a|0)==32){break b}b=r[c|0];if((b|0)==32){break b}h=1;if((((b+ -65&255)>>>0<26?b+32|0:b)|0)!=(((a+ -65&255)>>>0<26?a+32|0:a)|0)){break a}}h=wb(c,e)?1:0}Da=d+16|0;return+h}function sO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=q[a>>2];b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);F()}function ge(a,b){var c=0,d=0,e=0,f=0;f=r[b|0];if(!f){return 1}a:{while(1){b:{c=q[a+12>>2];c:{if((c|0)!=q[a+16>>2]){d=q[a>>2];break c}e=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=c- -64|0;d=Sa(e);if(!d){break a}q[a+4>>2]=1;Qa(d,q[a>>2],c);break d}e=c<<1;d=db(q[a>>2],e);if(!d){break a}c=q[a+12>>2]}q[a>>2]=d;q[a+16>>2]=e}e=1;q[a+12>>2]=c+1;o[c+d|0]=f;b=b+1|0;f=r[b|0];if(f){continue}}break}return e}q[a+8>>2]=1;return 0}function Sm(a,b){var c=0,d=0,e=0;c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;e=q[c+16>>2];c=d+e|0;q[b+24>>2]=c;if((e|0)>-1){a:{b:{if(!a){break b}if(!(c>>>0>a>>>0?a>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break b}q[b+20>>2]=a;d=r[a+1|0]|r[a|0]<<8;c=c-a|0;q[b+24>>2]=(c>>>0>d>>>0?d:c)+a}ex(a,b);a=q[b+44>>2];d=q[a+12>>2];q[b+20>>2]=d;a=q[a+16>>2];q[b+24>>2]=a+d;if((a|0)<=-1){break a}return}}I(228416,228441,195,228458);F()}function GJ(a,b,c,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=q[b>>2];c=c-a&-2;f=a+c|0;g=c;c=q[d>>2];if((g|0)>(e-c|0)){g=f+ -2|0;h=(r[g|0]&248)==216;f=h?g:f}a:{if(a>>>0>=f>>>0){break a}if(c>>>0>>0){while(1){a=r[a|0]|r[a+1|0]<<8;q[d>>2]=c+2;p[c>>1]=(a<<8&16711680|a<<24)>>>16;a=q[b>>2]+2|0;q[b>>2]=a;if(a>>>0>=f>>>0){break a}c=q[d>>2];if(c>>>0>>0){continue}break}}if((c|0)!=(e|0)){break a}h=2}return h|0}function wE(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(!r[a+733|0]){break a}d=q[a+736>>2];if(!d){break a}if(!r[d+32|0]){e=uo(a,0);d=q[a+736>>2];q[d+36>>2]=e}if(!r[d+33|0]){return q[d+36>>2]}d=q[d+40>>2];e=q[d+28>>2];b:{if(e){f=e;e=q[d+20>>2];e=(e>>>0>b>>>0?b:e+ -1|0)<<2;b=q[f+e>>2];f=q[e+q[d+24>>2]>>2];break b}e=6;if(t[q[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=tj(a,d,f,b)+q[c>>2]|0,q[g>>2]=h;e=0}return e|0}function vQ(a,b,c,d,e){a=a|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=Da-16|0;Da=f;$b(a,q[a+8>>2]);g=q[a>>2];q[f+12>>2]=g;h=q[a+8>>2];a:{if(g>>>0>=h>>>0){break a}if(e){i=3;if(r[g|0]!=60){break a}q[f+12>>2]=g+1;j=d,k=hs(f+12|0,h,b,c),q[j>>2]=k;b=q[f+12>>2];q[a>>2]=b;if(r[b|0]!=62?t[a+8>>2]>b>>>0:0){break a}q[a>>2]=b+1;i=0;break a}j=d,k=hs(f+12|0,h,b,c),q[j>>2]=k;q[a>>2]=q[f+12>>2]}Da=f+16|0;return i|0}function vE(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(!r[a+733|0]){break a}d=q[a+736>>2];if(!d){break a}if(!r[d+44|0]){e=uo(a,1);d=q[a+736>>2];q[d+48>>2]=e}if(!r[d+45|0]){return q[d+48>>2]}d=q[d+52>>2];e=q[d+28>>2];b:{if(e){f=e;e=q[d+20>>2];e=(e>>>0>b>>>0?b:e+ -1|0)<<2;b=q[f+e>>2];f=q[e+q[d+24>>2]>>2];break b}e=6;if(t[q[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=tj(a,d,f,b)+q[c>>2]|0,q[g>>2]=h;e=0}return e|0}function dw(a,b,c){var d=0,e=0,f=0,g=0;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){return}a:{if(!(d-1)){d=r[a+3|0];f=r[a+2|0];g=d|f<<8;if(!g){return}while(1){b:{d=(f<<8|d)>>>0>e>>>0?(w(e,6)+a|0)+4|0:271704;if((r[d+4|0]<<8|r[d+5|0])!=(c|0)){break b}if(eh(b,r[d+1|0]|r[d|0]<<8,r[d+3|0]|r[d+2|0]<<8)){break b}return}e=e+1|0;if((g|0)==(e|0)){break a}d=r[a+3|0];f=r[a+2|0];continue}}c$(a,b,c)}}function S_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=r[a+7|0]|r[a+6|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);f=r[a+5|0]|r[a+4|0]<<8;d=r[a+3|0]|r[a+2|0]<<8;a:{if(!d){break a}e=d+ -1|0;if(!e){break a}h=q[b+8>>2];c=a+8|0;while(1){g=r[c+1|0]|r[c|0]<<8;Vb(g?g+a|0:271312,h);c=c+2|0;e=e+ -1|0;if(e){continue}break}}if(f){a=(a+6|0)+(d<<1)|0;c=0;while(1){d=a+(c<<2)|0;Ui(b,r[d+2|0]<<8|r[d+3|0]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function Oj(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;h(+a);d=e(1)|0;e(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Dg(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}d=fp(a,b)&3;if(d>>>0<=2){b:{switch(d-1|0){default:c=Dg(v[b>>3],v[b+8>>3]);break a;case 0:c=-Cg(v[b>>3],v[b+8>>3],1);break a;case 1:break b}}c=-Dg(v[b>>3],v[b+8>>3]);break a}c=Cg(v[b>>3],v[b+8>>3],1)}a=c;Da=b+16|0;return a}function OQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+24>>2];q[a+48>>2]=b;d=q[a+28>>2];q[a+52>>2]=d;e=q[a+8>>2];f=e+q[a>>2]|0;q[a+8>>2]=f>>1;c=b;b=q[a+16>>2];c=c+b|0;q[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;q[a+16>>2]=e>>2;b=b+c|0;q[a+32>>2]=b>>2;c=d;d=q[a+20>>2];f=c+d|0;q[a+44>>2]=f>>1;c=q[a+12>>2];g=c+q[a+4>>2]|0;q[a+12>>2]=g>>1;q[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;q[a+36>>2]=d>>2;b=b+g|0;q[a+20>>2]=b>>2;q[a+28>>2]=b+d>>3}function wm(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=r[a+1|0]|r[a|0]<<8;a:{if(f){g=a+2|0;while(1){d=r[g+1|0]|r[g|0]<<8;d=d?d+a|0:271312;l=r[d|0];m=r[d+1|0];h=d+(m<<1|l<<9)|0;e=h+2|0;i=r[e|0]<<8|r[h+3|0];e=(i?i<<1:2)+e|0;n=r[e|0];o=r[e+1|0];j=e+(o<<1|n<<9)|0;k=1;if(Zu(b,m|l<<8,d+2|0,i,h+4|0,o|n<<8,e+2|0,r[j+3|0]|r[j+2|0]<<8,j+4|0,c)){break a}g=g+2|0;f=f+ -1|0;if(f){continue}break}}k=0}return k}function QK(a){var b=0,c=0,d=0;q[a+56>>2]=0;q[a+84>>2]=0;d=a;b=q[a+24>>2];if(b){b=(p[a+22>>1]<<3)+b|0}else{b=0}q[d+60>>2]=b;c=a- -64|0;b=q[a+28>>2];if(b){d=p[a+22>>1]+b|0}else{d=0}q[c>>2]=d;d=a;b=q[a+32>>2];c=0;a:{if(!b){break a}c=b+(p[a+20>>1]<<1)|0}q[d+68>>2]=c;if(r[a+16|0]){b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2]}d=a;b=q[a+52>>2];c=0;b:{if(!b){break b}c=b+(q[a+48>>2]<<5)|0}q[d+88>>2]=c}function Hk(a,b){var c=0,d=0,e=0,f=0,g=0;e=b;g=a;a:{b:{if(a>>>0>=128){if(a>>>0<2048){c=192;f=6;break a}if(a>>>0<65536){d=6;c=224;f=12;break a}if(a>>>0<2097152){d=12;c=240;f=18;break a}if(a>>>0<67108864){d=18;c=248;f=24;break a}if((a|0)>-1){break b}return 0}o[b|0]=a;return(b+1|0)-b|0}d=24;c=252;f=30}o[e|0]=g>>>f|c;e=b+1|0;while(1){o[e|0]=a>>>d&63|128;e=e+1|0;c=(d|0)>5;d=d+ -6|0;if(c){continue}break}return e-b|0}function HR(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=Da-128|0;Da=f;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}g=q[b+4>>2];h=e;a:{if((d|0)<=-1){a=Uo(g,c);break a}d=(d|0)<127?d:127;a=Md(f,c,d);o[d+f|0]=0;a=Uo(g,a)}q[h>>2]=a;b:{if(!a){c:{d:{if(!(Kj(g,0,f,128)|(d|0)>-1)){if(!Ta(f,c)){break d}break c}if(Ra(f,c,d)){break c}}a=1;break b}a=q[e>>2]}a=(a|0)!=0}q[b>>2]=0;Da=f+128|0;return a|0}function HA(a){q[a+576>>2]=0;q[a+580>>2]=0;q[a+216>>2]=1;q[a+220>>2]=0;q[a+192>>2]=16777216;q[a+196>>2]=16777216;q[a+184>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+232>>2]=1;q[a+236>>2]=0;q[a+224>>2]=1;q[a+228>>2]=0;q[a+208>>2]=1;q[a+212>>2]=1;q[a+200>>2]=16777216;q[a+204>>2]=1;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;o[a+260|0]=0}function eO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+32>>3]!=b){v[a+32>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function dO(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[a+88>>2]!=(b|0)){q[a+88>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(((f|0)>0?0-f|0:0)+c|0)+((g|0)>0?0-g|0:0)}}function cO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+48>>3]!=b){v[a+48>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function bO(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[a+96>>2]!=(b|0)){q[a+96>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(((f|0)>0?0-f|0:0)+c|0)+((g|0)>0?0-g|0:0)}}function Jr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+80>>3]!=b){v[a+80>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function BK(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=c+ -1|0;c=b+1|0;if((e-c|0)>=1){g=a+72|0;while(1){b=r[c|0];a=b<<24>>24;b=r[b+g|0]+ -9|0;b:{c:{if(b>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=c+1|0;if((e-c|0)>0){continue}break}}return 1}q[d>>2]=c;return 0}function yv(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!xv(a+4|0,b,a)){break a}if(!wv(a+6|0,b,a)){break a}if(!a_(a+8|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!vv(a+10|0,b,a)){break a}}d=1}return d}function aw(a,b,c){var d=0,e=0,f=0;a:{if(r[b+3|0]|r[b+2|0]<<8?0:!(r[b+1|0]|r[b|0]<<8)){break a}d=q[a+96>>2];q[a+96>>2]=d+1;if(d>>>0>500){break a}if($v(a,b,a+8|0)){break a}d=r[b+1|0]|r[b|0]<<8;if(d){_v(a,b+d|0,c)}f=r[b+3|0]|r[b+2|0]<<8;if(!f){break a}d=0;while(1){e=(r[b+3|0]|r[b+2|0]<<8)>>>0>d>>>0?(w(d,6)+b|0)+4|0:271312;e=r[e+4|0]<<8|r[e+5|0];_v(a,e?e+b|0:271698,c);d=d+1|0;if((f|0)!=(d|0)){continue}break}}}function Vu(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!xv(a+4|0,b,a)){break a}if(!wv(a+6|0,b,a)){break a}if(!WY(a+8|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!vv(a+10|0,b,a)){break a}}d=1}return d}function OU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Da-16|0;Da=b;q[b+12>>2]=c;d=q[a+72>>2];e=q[d+176>>2];a:{if((e|0)!=q[160400]){n[e](a,q[a+76>>2],1,b+12|0,0,b+8|0,0,q[d+40>>2]);c=q[b+8>>2];break a}d=q[a+12>>2];e=q[d+72>>2];c=n[q[e+168>>2]](d,q[d+76>>2],c,q[e+32>>2])|0;d=q[a+12>>2];if(!d){break a}d=q[d+20>>2];a=q[a+20>>2];if((d|0)==(a|0)){break a}c=W$(V$(a,a>>31,c,c>>31),Ea,d,d>>31)}Da=b+16|0;return c|0}function NU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Da-16|0;Da=b;q[b+12>>2]=c;d=q[a+72>>2];e=q[d+180>>2];a:{if((e|0)!=q[160401]){n[e](a,q[a+76>>2],1,b+12|0,0,b+8|0,0,q[d+44>>2]);c=q[b+8>>2];break a}d=q[a+12>>2];e=q[d+72>>2];c=n[q[e+172>>2]](d,q[d+76>>2],c,q[e+36>>2])|0;d=q[a+12>>2];if(!d){break a}d=q[d+24>>2];a=q[a+24>>2];if((d|0)==(a|0)){break a}c=W$(V$(a,a>>31,c,c>>31),Ea,d,d>>31)}Da=b+16|0;return c|0}function LG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-160|0;Da=d;Na(d+16|0,0,144);q[d+92>>2]=-1;q[d+60>>2]=b;q[d+24>>2]=-1;q[d+20>>2]=b;xd(d+16|0,0,0);np(d,d+16|0,1,1);f=q[d+8>>2];g=q[d+12>>2];h=q[d>>2];i=q[d+4>>2];if(c){j=c;e=b;b=q[d+20>>2]-q[d+24>>2]|0;k=b;c=b+q[d+136>>2]|0;b=q[d+140>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;q[j>>2]=!(b|c)?e:e+c|0}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=f;q[a+12>>2]=g;Da=d+160|0}function uW(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-48|0;Da=b;d=q[a+ -144>>2];a=ab(1,8);if(a){q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=Mb(d);o[b+44|0]=1;q[b+40>>2]=c;f=a,g=TV(b+8|0,Jb(d,1935829368)),q[f>>2]=g;e=a;c=q[d+32>>2];if((c|0)==-1){c=lc(d)}q[e+4>>2]=c}Da=b+48|0;return a}function Mk(a){var b=0,c=0,d=0,e=0,f=0;a:{if(a<0){a=-1}else{a=a<1e3?a:1e3;d=1;while(1){b=d;d=b+1|0;e=q[(b<<3)+442496>>2];c=+(e|0);if(a>c){continue}break}if(a==c){return+q[(b<<3)+442500>>2]}b=b<<3;d=q[b+442488>>2];e=e-d|0;if((e|0)<1){break a}f=q[b+442500>>2];b=q[b+442492>>2];f=f-b|0;if(a<=c^1|(f|0)<0){break a}c=+(d|0);if(!(a>=c)){break a}a=(a-c)*+(f|0)/+(e|0)+ +(b|0)}return a}I(442600,442640,48,442651);F()}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;i=q[a+20>>2];h=q[a+16>>2];a:{b:{if(h){e=q[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=q[(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=q[(c<<3)+i>>2]}j=s[((c<<3)+i|0)+4>>1]+1&65535}q[b>>2]=e;return j|0}function $$(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;d=f&31;if(32<=f>>>0){d=-1>>>d|0}else{e=-1>>>d|0;d=(1<>>d}f=d&a;d=b&e;e=g&31;if(32<=g>>>0){d=f<>>32-e|d<>>0){d=-1<>>32-c|-1<>>0){c=0;a=d>>>b|0}else{c=d>>>b|0;a=((1<>>b}a=a|g;Ea=c|f;return a} -function G_(a,b){var c=0,d=0,e=0,f=0;a:{b:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>2){break b}c:{switch(c-1|0){default:return E_(a,b);case 0:return D_(a,b);case 1:break c}}e=r[a+3|0]|r[a+2|0]<<8;if((e|0)!=q[b+8>>2]){break b}d=1;if(e>>>0<2){break a}f=a+8|0;c=1;while(1){d=((c<<1)+f|0)+ -2|0;d=r[d|0]<<8|r[d+1|0];if((yb(d?d+a|0:271312,q[q[b+4>>2]+(c<<2)>>2])|0)==-1){break b}d=1;c=c+1|0;if((e|0)!=(c|0)){continue}break}break a}d=0}return d}function CK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=1){e=a+72|0;while(1){a=r[r[b|0]+e|0]+ -5|0;a:{b:{if(a>>>0>5){break b}c:{switch(a-1|0){default:b=b+2|0;break a;case 0:b=b+3|0;break a;case 1:b=b+4|0;break a;case 3:q[d>>2]=q[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;q[d+4>>2]=-1;break a}b=r[r[b+1|0]+e|0]==10?b+2|0:a;q[d+4>>2]=-1;break a;case 2:break b;case 4:break c}}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+1|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>0){continue}break}}}function BJ(a,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=b+ -15|0;if(g>>>0>10){break c}f=3;d:{switch(g-1|0){case 9:q[a>>2]=914;return 7;case 1:q[a>>2]=915;return 8;case 0:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=916;return 3}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=917;return 3}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function yL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!b){q[c>>2]=0;break a}b:{while(1){if((b|0)<2){break b}e=r[a|0];g=r[a+1|0]|e<<8;f=a+2|0;if((e&252)==216){if((b|0)<4){break b}e=r[f|0];if((e&252)!=220){break b}g=(r[f+1|0]|(e<<8&768|g<<10&1047552))+65536|0;f=a+4|0}e=f-a|0;if((e|0)<1){break b}h=g>>>0>h>>>0?g:h;i=i+1|0;a=f;b=b-e|0;if(b){continue}break}q[c>>2]=i;c:{if(h>>>0>=65536){q[d>>2]=4;break c}if(h>>>0<257){break a}q[d>>2]=2}j=1}return j}q[d>>2]=1;return 1}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,j=0,k=0;j=q[a+16>>2];a:{if(j){c=q[b>>2]+1|0;k=q[a+20>>2];g=j;while(1){h=(g-d>>>1|0)+d|0;e=(h<<3)+k|0;f=q[e>>2];if((f|0)==(c|0)){a=q[((h<<3)+k|0)+4>>2];q[b>>2]=c;return a|0}f=f&2147483647;if((f|0)==(c|0)){i=q[e+4>>2]}e=f>>>0>>0;g=e?g:h;d=e?h+1|0:d;if(g>>>0>d>>>0){continue}break}if(i){break a}}c=0;i=0;if(d>>>0>=j>>>0){break a}a=q[a+20>>2]+(d<<3)|0;c=q[a>>2]&2147483647;i=q[a+4>>2]}q[b>>2]=c;return i|0}function cc(a){var b=0,c=0;b=q[a+68>>2];q[a+68>>2]=b+ -1;if((b|0)==1){b=q[160940];q[160940]=(a|0)==(b|0)?0:b;Yb(q[a>>2]);Yb(q[a+4>>2]);Yb(q[a+8>>2]);Yb(q[a+12>>2]);Yb(q[a+16>>2]);Yb(q[a+36>>2]);Yb(q[a+40>>2]);je(q[a+44>>2]);je(q[a+48>>2]);Od(q[a+20>>2]);Od(q[a+24>>2]);Od(q[a+28>>2]);Od(q[a+84>>2]);Yb(q[a+80>>2]);b=q[a+52>>2];if(b){je(b)}b=q[a+56>>2];if(b){je(b)}c=q[a+72>>2];if(c){while(1){b=q[c>>2];La(c);c=b;if(b){continue}break}}b=q[a+76>>2];if(b){La(b)}La(a)}}function Rp(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Da-16|0;Da=g;a:{if(!d){break a}h=Sa(32);if(!h){break a}f=h+8|0;b:{if(s[d>>1]==36){hc(g,a,b,c,q[d+8>>2]);i=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=i;i=q[g+4>>2];q[f>>2]=q[g>>2];q[f+4>>2]=i;a=Rp(a,b,c,q[d+12>>2],e);break b}hc(g,a,b,c,d);a=q[g+12>>2];q[f+8>>2]=q[g+8>>2];q[f+12>>2]=a;a=q[g+4>>2];q[f>>2]=q[g>>2];q[f+4>>2]=a;a=0}q[h+24>>2]=e;q[h>>2]=a;f=h;if(q[f+8>>2]){break a}La(f);f=a&1?(a&-2)+f|0:a}Da=g+16|0;return f}function Kj(a,b,c,d){var e=0,f=0,g=0,h=0;if(!a){return 35}if(!c){return 6}if(!d){return 6}o[c|0]=0;f=16;a:{if(q[a+16>>2]<=(b|0)){break a}if(!(r[a+9|0]&2)){return 6}g=q[a+128>>2];e=q[g+40>>2];h=e+2|0;b:{if(h>>>0>2){break b}f=6;c:{switch(h-1|0){case 0:break b;case 1:break c;default:break a}}e=q[a+96>>2];f=q[q[e>>2]+32>>2];d:{if(!f){e=0;break d}e=n[f](e,4053)|0;g=q[a+128>>2]}q[g+40>>2]=e?e:-2}if(!e){return 6}f=6;e=q[e>>2];if(!e){break a}f=n[e](a,b,c,d)|0}return f}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=q[a+360>>2];if(!b){return 1}while(1){c=q[b+4>>2];f=q[b+24>>2]+1|0;d=q[b+36>>2];e=f+d|0;if((c|0)!=(e|0)){g=q[b+8>>2];h=g+f|0;if((h|0)>(q[b+40>>2]-d|0)){c=n[q[a+16>>2]](d,h)|0;if(!c){return 0}d=q[b+36>>2];if((d|0)==q[b+12>>2]){q[b+12>>2]=c}e=q[b+16>>2];if(e){q[b+16>>2]=c+(e-d|0)}q[b+36>>2]=c;q[b+40>>2]=c+h;e=c+f|0;g=q[b+8>>2];c=q[b+4>>2]}i=b,j=Qa(e,c,g),q[i+4>>2]=j;b=q[b>>2];if(b){continue}}break}return 1}function GH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Da-16|0;Da=e;d=Pg();if(d){Qk(d,b);Qk(d,505260);Vq(d);a:{if(!Zh(q[a>>2],d,0)){break a}q[c+16>>2]=0;a=ab(100,4);q[c+4>>2]=a;if(!a){break a}q[e+12>>2]=0;if(pd(d,505253,0,e+12|0)){break a}while(1){if(q[c+16>>2]>99){break a}a=q[e+12>>2];if(!Ta(a,505260)){break a}a=eb(a);q[e+12>>2]=a;if(!a){break a}b=q[c+16>>2];q[q[c+4>>2]+(b<<2)>>2]=a;a=b+1|0;q[c+16>>2]=a;if(!pd(d,505253,a,e+12|0)){continue}break}}ie(d)}Da=e+16|0}function aB(a,b){a=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=q[b>>2];d=q[a+16>>2];f=s[d+2>>1];g=f+(s[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=s[d>>1];j=(f-a|0)+1|0;h=s[d+4>>1];i=a+(h<<8)|0;k=q[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&c>>>0>=a>>>0)+(e>>>8|0)&65535;d=c>>>0>>0?a:d?a:c;c=(e<<8)+d|0;e=s[k+((d-a|0)+w(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}q[b>>2]=c;return e|0}function Ov(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Da-16|0;Da=d;c=r[a+3|0]|r[a+2|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);c=q[57215];q[d+8>>2]=q[57214];q[d+12>>2]=c;c=q[57213];q[d>>2]=q[57212];q[d+4>>2]=c;f=r[a+5|0]|r[a+4|0]<<8;if(f){c=a+6|0;while(1){e=r[c+1|0]|r[c|0]<<8;g=e?e+a|0:271312;h=r[g|0]<<8|r[g+1|0];if(h){e=g+2|0;while(1){i=r[e+1|0]|r[e|0]<<8;Kv(i?i+g|0:271312,b,d);e=e+2|0;h=h+ -1|0;if(h){continue}break}}c=c+2|0;f=f+ -1|0;if(f){continue}break}}Da=d+16|0}function _K(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((c-b|0)>=1){while(1){a=r[r[b|0]+493204|0]+ -5|0;a:{b:{if(a>>>0>5){break b}c:{switch(a-1|0){default:b=b+2|0;break a;case 0:b=b+3|0;break a;case 1:b=b+4|0;break a;case 3:q[d>>2]=q[d>>2]+1;a=b+1|0;if((c-a|0)<1){b=a;q[d+4>>2]=-1;break a}b=r[r[b+1|0]+493204|0]==10?b+2|0:a;q[d+4>>2]=-1;break a;case 2:break b;case 4:break c}}q[d+4>>2]=-1;q[d>>2]=q[d>>2]+1}b=b+1|0}q[d+4>>2]=q[d+4>>2]+1;if((c-b|0)>0){continue}break}}}function DU(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;b=q[a+12>>2];q[f>>2]=0;q[e>>2]=0;g=b;h=q[b+76>>2];b=q[b+72>>2];i=n[q[b+204>>2]](g,h,c,d,e,f,q[b+68>>2])|0;if(i){h=f;d=q[a+12>>2];a:{if(d){b=q[e>>2];g=q[d+20>>2];c=q[a+20>>2];if((g|0)!=(c|0)){b=X$(W$(c,c>>31,b,b>>31),Ea,g,g>>31)}q[e>>2]=b;e=q[f>>2];d=q[d+24>>2];a=q[a+24>>2];b=e;if((d|0)==(a|0)){break a}b=X$(W$(a,a>>31,e,e>>31),Ea,d,d>>31);break a}b=q[f>>2]}q[h>>2]=b}return i|0}function hA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>65535){break a}c=q[a+16>>2];a=c+518|0;c=c+6|0;d=b>>>8|0;b:{if(!d){c=c+(b<<1&510)|0;if(!(r[c|0]<<8|r[c+1|0])){break b}break a}c=c+(d<<1)|0;c=r[c|0]<<8|r[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(r[a+1|0]|r[a|0]<<8)|0;if(b>>>0>=(r[a+3|0]|r[a+2|0]<<8)>>>0){break a}c=r[a+7|0]|r[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=r[b|0]<<8|r[b+1|0];if(!b){break a}e=b+(r[a+5|0]|r[a+4|0]<<8)&65535}return e|0}function Ww(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<28){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Le(a+16|0,b,a)){break a}if(!Le(a+20|0,b,a)){break a}c=r[a+24|0]|r[a+25|0]<<8|(r[a+26|0]<<16|r[a+27|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function TD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=q[a+532>>2];if(!b){return 6}h=-1;g=q[b>>2];a:{if(!g){break a}e=q[b+4>>2];i=e>>>0>1?e:1;j=q[b+136>>2];c=e;while(1){f=65536;b=0;if(c){while(1){f=f>>1;b=b+1|0;if((i|0)!=(b|0)){continue}break}b=e}c=(d<<2)+j|0;b:{if(q[c>>2]==(f|0)){c=b;d=d+1|0;if(d>>>0>>0){continue}if(!k){break a}break b}q[c>>2]=f;k=1;c=b;d=d+1|0;if(d>>>0>>0){continue}}break}q[a+8>>2]=q[a+8>>2]&-32769;h=0}return h|0}function Se(a){var b=0,c=0;a:{b:{if(!a){if(!q[160941]){while(1){b=Sa(28);a=q[160941];q[160941]=a?a:b;if(!a){break b}if(!q[160941]){continue}break}}break a}q[a+68>>2]=q[a+68>>2]+1;return a}Ud()}a=q[160940];c:{if(a){break c}while(1){a=ok();if(a){d:{while(1){if(q[160941]){break d}c=Sa(28);b=q[160941];q[160941]=b?b:c;if(b){continue}break}Ud()}b=q[160940];q[160940]=b?b:a;if(!b){break c}cc(a)}a=q[160940];if(!a){continue}break}}q[a+68>>2]=q[a+68>>2]+1;return a}function $s(a){var b=0,c=0,d=0,e=0;b=q[a+44>>2];if(!(b|q[a+76>>2]?(b|0)!=1:0)){a:{if(q[a+52>>2]|!q[a+76>>2]){break a}b=0;while(1){c=q[a+12>>2];c=n[q[c+32>>2]](c,q[q[a+88>>2]+w(b,20)>>2],q[c- -64>>2])|0;if(!((c|0)==1516858984|(c|0)==1517910393|(c|0)==1517976186)){q[a+52>>2]=c;break a}b=b+1|0;if(b>>>0>2]){continue}break}}if(!q[a+48>>2]){b=aj(q[a+52>>2]);q[a+48>>2]=b?b:4}if(!q[a+56>>2]){d=a,e=gn(),q[d+56>>2]=e}return}I(272791,272586,621,272898);F()}function vL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=q[a+4>>2];a:{if((d|0)!=q[b+4>>2]){break a}c=1;if((d|0)<1){break a}i=q[b+12>>2];j=q[a+12>>2];while(1){b=q[(f<<2)+j>>2];e=0;b:{while(1){a=q[(e<<2)+i>>2];c=b;if((a|0)==(c|0)){break b}while(1){c:{h=r[c|0];g=r[a|0];if(!g){break c}a=a+1|0;c=c+1|0;if((h|0)==(g|0)){continue}}break}if((h|0)==(g|0)){break b}e=e+1|0;if((e|0)!=(d|0)){continue}break}return 0}c=1;f=f+1|0;if((f|0)!=(d|0)){continue}break}}return c}function eg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+8>>2]+a|0;a:{b:{if(!a){break b}d=q[a>>2]+ -1|0;if((d|0)<0){break b}while(1){c=e+d>>1;g=q[(c<<3)+f>>2]-b|0;if(!g){break a}h=(g|0)<0;e=h?c+1|0:e;d=h?d:c+ -1|0;if((e|0)<=(d|0)){continue}break}e=g>>>31|0}c=c+e^-1}if(!(!f|(c|0)<0)){_e(q[((c<<3)+f|0)+4>>2]);c=(c<<3)+f|0;b=c+8|0;sb(c,b,((q[a+8>>2]+a|0)+((a?q[a>>2]:0)<<3)|0)-b|0);b=q[a>>2]+ -1|0;q[a>>2]=b;a=(q[a+8>>2]+a|0)+((a?b:0)<<3)|0;q[a>>2]=0;q[a+4>>2]=0}}function M$(a,b,c){var d=0;a:{b:{if((c|0)==-1){break b}d=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))>>>0<65537){break b}d=r[a+10|0]|r[a+11|0]<<8|(r[a+12|0]<<16|r[a+13|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=D$(d?d+a|0:271312,c,b);if(c){break a}}c=a;a=r[a+7|0]|r[a+6|0]<<8;a=a?c+a|0:271312;b=(r[a+1|0]|r[a|0]<<8)>>>0>b>>>0?(a+w(b,6)|0)+2|0:271312;b=r[b+4|0]<<8|r[b+5|0];c=b?a+b|0:271312}return c}function o$(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;d=r[a+4|0];a:{if(d>>>0>2){break a}b:{c:{switch(d-1|0){default:d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+5|0];q[c+8>>2]=a;q[c+12>>2]=b;o[c+4|0]=e>>>2&1;q[c>>2]=c+8;n$(c,q[b+4>>2],q[b+12>>2],q[d+132>>2]);break b;case 0:break a;case 1:break c}}d=q[b>>2];if(!(o[d+140|0]&1)){break a}e=r[a+5|0];q[c+8>>2]=a;q[c+12>>2]=b;o[c+4|0]=e>>>2&1;q[c>>2]=c+8;m$(c,q[b+4>>2],q[b+12>>2],q[d+132>>2])}e=1}Da=c+16|0;return e}function gP(a,b){a=a|0;b=b|0;var c=0;if(q[b+72>>2]==1651078259){c=q[a>>2];q[a+20>>2]=q[b+100>>2];q[a+24>>2]=q[b+104>>2];a=a+28|0;if(o[q[b+156>>2]+4|0]&1){c=q[b+80>>2];q[a>>2]=q[b+76>>2];q[a+4>>2]=c;c=q[b+96>>2];q[a+16>>2]=q[b+92>>2];q[a+20>>2]=c;c=q[b+88>>2];q[a+8>>2]=q[b+84>>2];q[a+12>>2]=c;a=q[b+156>>2];q[a+4>>2]=q[a+4>>2]&-2;return 0}if(a){q[a>>2]=0;q[a+4>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}a=Mn(c,b+76|0,a)}else{a=18}return a|0}function Vc(a,b){var c=0,d=0,e=0;a:{d=yd(a);b:{if(!d){break b}while(1){if(e){c=Hc(q[a+16>>2]);if(!c){break a}q[c+8>>2]=d;q[c>>2]=b;q[c+12>>2]=e;d=c}e=d;d=yd(a);if(d){continue}break}b=q[a+1312>>2];c:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break c}b=Sa(24);if(!b){break b}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];d=b;c=q[a>>2];if(c){c=q[c>>2]}else{c=0}q[d+4>>2]=c;q[a+4>>2]=b;if(!b){break b}q[b+8>>2]=18;q[b+16>>2]=e}return}_a(a,2,499215,0);tb(d);tb(e)}function Nm(a,b,c){var d=0,e=0;a:{if((r[a+1|0]|r[a|0]<<8)==10){b:{c=r[a+5|0]|r[a+4|0]<<8;if(c>>>0<=b>>>0){b=b-c|0;if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0){break b}}b=r[271313]|r[271312]<<8;break a}d=r[a+3|0]|r[a+2|0]<<8;if(!d){b=0;break a}c=0;e=a;a=w(b,d);a=(a|0)<0?271312:(e+a|0)+8|0;b=0;while(1){b=r[a|0]|b<<8;a=a+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}break a}a=Sc(a,b,c);a=a?a:271312;a=r[a|0]|r[a+1|0]<<8;b=(a<<24|a<<8&16711680)>>>16|0}return b&65535}function XN(a){var b=0,c=0;a:while(1){b:{c:{b=r[a|0];if((b|0)!=92){if(b){break c}c=0;break b}a=r[a+1|0]?a+2|0:a+1|0;continue}a=a+1|0;if((b|0)!=123){continue}while(1){b=r[a|0];d:{if((b|0)!=92){if(!b|(b|0)==125){continue a}break d}c=1;b=a+1|0;if(!Ra(b,356209,3)){break b}if(!Ra(b,356175,4)){break b}if(!Ra(b,356326,4)){break b}if(!Ra(b,356138,5)){break b}if(!Ra(b,356276,3)){break b}if(!Ra(b,356369,3)|r[b|0]==112){break b}}a=a+1|0;continue}}break}return c}function mW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if((c|0)<=-1){c=Wa(b)}a:{if(!c){break a}e=q[a+220>>2];if((e|0)<1){break a}j=q[a+224>>2];f=e+ -1|0;e=0;b:{while(1){i=f+e>>>1|0;h=(i<<4)+j|0;g=q[h+4>>2];h=Ra(b,q[h>>2],c>>>0>g>>>0?g:c);g=h?h:c-g|0;c:{if((g|0)<=-1){f=i+ -1|0;break c}if(!g){break b}e=i+1|0}if((e|0)<=(f|0)){continue}break}return 0}b=(i<<4)+j|0;a=im(q[a+48>>2],s[b+12>>1],q[a+212>>2]);if(!a){f=0;if(s[b+12>>1]){break a}}q[d>>2]=a;f=1}return f}function KU(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;b=q[a+12>>2];q[e>>2]=0;q[d>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];f=n[q[b+184>>2]](f,g,c,d,e,q[b+48>>2])|0;if(f){c=e;g=q[a+12>>2];a:{if(g){b=q[d>>2];h=q[a+20>>2];i=q[g+20>>2];if((h|0)!=(i|0)){b=X$(W$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[d>>2]=b;d=q[e>>2];b=d;e=q[g+24>>2];a=q[a+24>>2];if((e|0)==(a|0)){break a}b=X$(W$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=q[e>>2]}q[c>>2]=b}return f|0}function JU(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;b=q[a+12>>2];q[e>>2]=0;q[d>>2]=0;f=b;g=q[b+76>>2];b=q[b+72>>2];f=n[q[b+188>>2]](f,g,c,d,e,q[b+52>>2])|0;if(f){c=e;g=q[a+12>>2];a:{if(g){b=q[d>>2];h=q[a+20>>2];i=q[g+20>>2];if((h|0)!=(i|0)){b=X$(W$(h,h>>31,b,b>>31),Ea,i,i>>31)}q[d>>2]=b;d=q[e>>2];b=d;e=q[g+24>>2];a=q[a+24>>2];if((e|0)==(a|0)){break a}b=X$(W$(a,a>>31,d,d>>31),Ea,e,e>>31);break a}b=q[e>>2]}q[c>>2]=b}return f|0}function vU(a,b){var c=0;a:{if(!q[a+4>>2]){break a}b:{c:{c=ab(1,16);if(c){q[c+12>>2]=797;q[c+8>>2]=1;q[c+4>>2]=0;q[c>>2]=b;if(q[a+4>>2]){break c}q[c+8>>2]=0;La(c);break b}break a}b=q[a+88>>2];if(b){n[b](q[a+20>>2])}q[a+88>>2]=499;q[a+20>>2]=c;q[a+156>>2]=500}b=q[c+8>>2];q[c+8>>2]=b+1;if(!q[a+4>>2]){q[c+8>>2]=b;if(b){break a}a=q[c+4>>2];if(a){n[a](q[c>>2])}La(c);return}b=q[a+96>>2];if(b){n[b](q[a+28>>2])}q[a+96>>2]=499;q[a+28>>2]=c;q[a+164>>2]=501}}function A_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=r[a+3|0];h=r[a+2|0];d=(a+2|0)+(g<<1|h<<9)|0;f=d+2|0;c=r[f|0];e=r[d+3|0];a:{b:{if(r[b+12|0]){f=f+(e<<1|c<<9)|0;if(r[f+3|0]|(g|h<<8)|r[f+2|0]<<8){break b}}e=e|c<<8;if((e|0)!=q[b+8>>2]){break b}c=1;if(e>>>0<2){break a}g=d+6|0;d=1;while(1){c=(g+(d<<1)|0)+ -2|0;c=r[c|0]<<8|r[c+1|0];if((yb(c?c+a|0:271312,q[q[b+4>>2]+(d<<2)>>2])|0)==-1){break b}c=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}c=0}return c}function zf(a){var b=0,c=0,d=0;a:{b:{if(!a){break b}b=Sa(40);if(!b){break b}q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=8;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;d=b+8|0;c=q[a+4>>2]<<2;c=c>>>0<32?c:32;Na(d+c|0,0,c>>>0>31?0:32-c|0);Qa(d,a+8|0,c);if(!q[a>>2]){return b}c=od();q[b>>2]=c;if(c){a=Ic(q[a>>2]);if(a){while(1){d=Qb(a);if(!d){break a}if(Ad(c,d)){continue}break}Zb(a)}Yb(c)}La(b)}return 0}Zb(a);return b}function ag(a){var b=0,c=0,d=0,e=0,f=0;d=Sa(Wa(a)+1|0);if(d){c=d;while(1){e=r[a|0];if(!(e?(e|0)!=47:0)){a:{if(!b){break a}f=(b^-1)+a|0;if(f>>>0>2){break a}b:{switch(f-1|0){default:c=c+ -1|0;break a;case 0:c=Ra(b,489256,2)?c:c+ -2|0;break a;case 1:break b}}if(Ra(b,489259,3)){break a}b=c+ -3|0;c=d>>>0>>0?d:b;while(1){if(b>>>0<=d>>>0){break a}b=b+ -1|0;if(r[b|0]!=47){continue}break}c=b}b=a}o[c|0]=e;c=c+1|0;a=a+1|0;if(e){continue}break}}return d}function yW(a,b,c){var d=0,e=0,f=x(0);e=q[a>>2];a:{if(e>>>0<=b>>>0){d=0;if(e){break a}return q[a+8>>2]}d=q[a+12>>2];e=q[(d?d:271312)+12>>2];d=q[a+4>>2]+ -1|0;d=d>>>0>>0?d:b;d=(d|0)<0?271312:e+(d<<2)|0;e=r[d|0]<<8|r[d+1|0];d=e;if(!q[c+60>>2]){break a}a=q[a+16>>2];a=a?a:271312;d=q[a+16>>2];if(d){f=x(x(J(x(uu(d>>>0<20?271312:q[a+12>>2],b,c))))+x(e>>>0));if(f=x(0)){return~~f>>>0}return 0}d=xu(kh(q[c+16>>2]+96|0),c,b,0)}return d}function xW(a,b,c){var d=0,e=0,f=x(0);e=q[a>>2];a:{if(e>>>0<=b>>>0){d=0;if(e){break a}return q[a+8>>2]}d=q[a+12>>2];e=q[(d?d:271312)+12>>2];d=q[a+4>>2]+ -1|0;d=d>>>0>>0?d:b;d=(d|0)<0?271312:e+(d<<2)|0;e=r[d|0]<<8|r[d+1|0];d=e;if(!q[c+60>>2]){break a}a=q[a+16>>2];a=a?a:271312;d=q[a+16>>2];if(d){f=x(x(J(x(uu(d>>>0<20?271312:q[a+12>>2],b,c))))+x(e>>>0));if(f=x(0)){return~~f>>>0}return 0}d=xu(kh(q[c+16>>2]+96|0),c,b,1)}return d}function mC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Da-16|0;Da=e;d=q[b+72>>2];f=q[a+100>>2];q[e+12>>2]=0;c=n[q[b+36>>2]](b)|0;a:{if((c|0)<0|q[a+304>>2]){break a}b=0;d=t[d+4>>2]/100|0;c=c>>>0>d>>>0?d:c;d=Oa(f,252,0,c,0,e+12|0);q[a+304>>2]=d;if(q[e+12>>2]){break a}q[a+300>>2]=c;if((c|0)<1){break a}while(1){a=d+w(b,252)|0;q[a+116>>2]=1;q[a+108>>2]=2596864;q[a+112>>2]=7;q[a+180>>2]=3932;q[a+4>>2]=4;b=b+1|0;if((c|0)!=(b|0)){continue}break}}Da=e+16|0}function Pd(a){var b=0,c=0,d=0,e=0;b=Da-4144|0;Da=b;a:{b:{c=r[a|0];if((c|0)!=47){if((c|0)!=126){break b}c=0;d=Yh();if(!d){break a}e=Sa((Wa(d)+Wa(a)|0)+1|0);if(!e){break a}a=Eg(tc(e,d),a+1|0);if(r[a|0]==47){c=ag(a);La(a);break a}if(!dk(b+32|0)){La(a);break a}q[b+20>>2]=0;q[b+16>>2]=a;d=_b(b+32|0,b+16|0);c=ag(d);La(d);La(a);break a}c=ag(a);break a}if(!dk(b+32|0)){c=0;break a}q[b+4>>2]=0;q[b>>2]=a;a=_b(b+32|0,b);c=ag(a);La(a)}Da=b+4144|0;return c}function eH(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!q[q[160602]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){o[a+1|0]=b&63|128;o[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344?b>>>0>=55296:0)){o[a+2|0]=b&63|128;o[a|0]=b>>>12|224;o[a+1|0]=b>>>6&63|128;return 3}if(b+ -65536>>>0<=1048575){o[a+3|0]=b&63|128;o[a|0]=b>>>18|240;o[a+2|0]=b>>>6&63|128;o[a+1|0]=b>>>12&63|128;return 4}}q[160942]=25;a=-1}else{a=1}return a}o[a|0]=b;return 1}function LH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[a+8>>2];f=q[b+8>>2];pc(d,b);g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;a=e&1?(e&-2)+a|0:e;e=f&1?(f&-2)+b|0:f;b=r[e|0];a:{b:{if((b|0)==32){break b}c=r[a|0];if((c|0)==32){break b}h=1;if((((c+ -65&255)>>>0<26?c+32|0:c)|0)!=(((b+ -65&255)>>>0<26?b+32|0:b)|0)){break a}}b=AL(a,e);a=Wa(a);h=+(a-b>>>0)/+(a>>>0)}Da=d+16|0;return+h}function Fp(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=r[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=q[a>>2];b:{if((c^-1)&c+ -16843009&-2139062144){break b}d=w(d,16843009);while(1){c=c^d;if((c^-1)&c+ -16843009&-2139062144){break b}c=q[a+4>>2];a=a+4|0;if(!(c+ -16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=r[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Wa(a)+a|0}return a}function wz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;c=q[a+28>>2];g=q[a+16>>2];e=q[a+24>>2];q[d+12>>2]=0;a:{b:{f=e+1|0;c:{if(c>>>0>=f>>>0){b=q[a+32>>2];break c}q[a+36>>2]=b;b=Oa(b,4,c,f,q[a+32>>2],d+12|0);q[a+32>>2]=b;if(q[d+12>>2]){break b}q[a+28>>2]=f}if(e){a=g+10|0;c=0;while(1){q[(c<<2)+b>>2]=r[a+2|0]|(r[a+1|0]<<8|r[a|0]<<16);a=a+11|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}q[(e<<2)+b>>2]=0;break a}b=0}Da=d+16|0;return b|0}function rl(a,b,c){var d=0,e=0,f=0,g=0;if(!(q[a+20>>2]==(c|0)?q[a+16>>2]==(b|0):0)){q[a+16>>2]=b;q[a+20>>2]=c;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function qr(a,b){var c=0,d=0,e=0;a:{while(1){b:{d=q[160909];c=d;if(c){while(1){if(!Ta(q[c+4>>2],a)){break b}c=q[c>>2];if(c){continue}break}}c=Sa(16);if(!c){return 0}e=eb(a);q[c+8>>2]=-1;q[c+4>>2]=e;e=q[160547];q[160547]=e+1;q[c+12>>2]=e;if((e|0)<=1074){break a}q[c>>2]=d;e=q[160909];d=(e|0)==(d|0);q[160909]=d?c:e;if(d){break b}d=q[c+4>>2];if(d){La(d)}La(c);continue}break}if(b){q[b>>2]=q[c+12>>2]}return c+4|0}Lc(439488,41,1,q[126999]);X();F()}function gO(a,b,c){var d=0,e=0,f=0,g=0;if(!(q[a+28>>2]==(c|0)?q[a+24>>2]==(b|0):0)){q[a+24>>2]=b;q[a+28>>2]=c;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(c+((f|0)>0?0-f|0:0)|0)+((g|0)>0?0-g|0:0)}}function gC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=q[a+16>>2];if(!e){q[b>>2]=0;return 0}i=q[a+20>>2];f=q[b>>2];a:{while(1){f=f+1|0;c=0;d=e;b:{while(1){g=(d-c>>>1|0)+c|0;h=q[(g<<4)+i>>2];if((h|0)==(f|0)){break b}h=h>>>0>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}d=0;if(c>>>0>>0){break a}q[b>>2]=0;return 0}if(!g){continue}break}q[b>>2]=f;return g+1|0}e=0;if(c){e=q[q[a+20>>2]+(c<<4)>>2];d=c+1|0}q[b>>2]=e;return d|0}function AG(a,b){var c=0,d=0,f=0,g=0,h=0,i=0,j=0;f=Da-16|0;Da=f;d=(k(b),e(0));h=d&-2147483648;c=d&2147483647;a:{if(c+ -8388608>>>0<=2130706431){d=c;c=c>>>7|0;d=d<<25;c=c+1065353216|0;g=d;c=d>>>0<0?c+1|0:c;break a}if(c>>>0>=2139095040){g=d<<25;c=d>>>7|2147418112;break a}if(!c){c=0;break a}d=c;c=z(c);Fc(f,d,0,0,0,c+81|0);i=q[f>>2];j=q[f+4>>2];g=q[f+8>>2];c=q[f+12>>2]^65536|16265-c<<16}q[a>>2]=i;q[a+4>>2]=j;q[a+8>>2]=g;q[a+12>>2]=c|h;Da=f+16|0}function mr(){var a=0,b=0,c=0,d=0,e=0;a:{b:{c:{a=q[160912];if(a){break c}while(1){a=4096;d:{while(1){e:{b=Sa(a);if(b){c=a+ -1|0;d=ek(439562,b,c);if((d|0)>-1){break e}La(b)}a=eb(439577);break d}if(d>>>0>=c>>>0){La(b);a=a<<1;continue}break}o[b+d|0]=0;a=ue(b,47);a=eb(a?a+1|0:b);if(!a){a=eb(439577)}La(b)}c=q[160912];q[160912]=c?c:a;if(c){La(a);a=q[160912];if(!a){continue}break c}break}if(a){break c}a=0;break b}if(!r[a|0]){break a}}e=a}return e}function Bs(a,b,c,d){var e=0,f=0,g=0,h=0;if(a){f=q[(w(d,204)+c|0)+200>>2];while(1){d=q[b+24>>2];if(d){h=b;c=q[b+16>>2];e=q[d+8>>2];a:{if(c&512){break a}e=q[d+12>>2]+q[d+8>>2]|0;if(c&1024){break a}c=q[b+28>>2]-q[d>>2]|0;if((c|0)<=0){e=q[d+8>>2]+Ma(c,f)|0;break a}e=q[d+12>>2];g=q[d+8>>2];d=q[d+4>>2];if((c|0)>=(d|0)){e=Ma(c-d|0,f)+(e+g|0)|0;break a}e=bb(c,e,d)+g|0}q[h+36>>2]=e;q[b+16>>2]=q[b+16>>2]|32}b=b+40|0;a=a+ -1|0;if(a){continue}break}}}function fn(a,b,c,d,e){var f=0;a:{b:{c:{if((b|0)<1){break c}f=ab(1,32);if(!f){break c}q[f+8>>2]=0;q[f>>2]=1;q[f+4>>2]=1;q[f+28>>2]=e;q[f+24>>2]=d;q[f+20>>2]=c;q[f+16>>2]=b;q[f+12>>2]=a;if(c){break a}q[f+20>>2]=1;if(!q[f+4>>2]){break b}c=Sa(b);if(!c){break b}a=Qa(c,a,b);if(e){n[e](d);q[f+24>>2]=0;q[f+28>>2]=0}q[f+28>>2]=427;q[f+24>>2]=a;q[f+12>>2]=a;q[f+20>>2]=2;return f}f=271312;if(!e){break a}n[e](d);return 271312}Pa(f);f=271312}return f}function RS(a,b,c){var d=0,e=0,f=0,g=0;e=(r[a+25|0]|r[a+24|0]<<8)+a|0;g=r[e|0]<<8|r[e+1|0];a=0;a:{while(1){f=(a<<3)+e|0;d=f;d=r[d+2|0]|r[d+3|0]<<8|(r[d+4|0]<<16|r[d+5|0]<<24);if((r[f+7|0]|r[f+6|0]<<8)>>>0>=b>>>0?(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))==1936092788:0){break a}d=(a|0)==(g|0);a=a+1|0;if(!d){continue}break}return 271312}a=(a<<3)+e|0;a=((r[a+8|0]<<8|r[a+9|0])+e|0)+w(b,12)|0;return((r[a+6|0]<<8|r[a+5|0]<<16|r[a+7|0])+c|0)+4|0}function Qu(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];d=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);a:{if((d|0)==-1){break a}c=q[c+72>>2];q[b+36>>2]=1;q[b>>2]=c;e=q[q[b+4>>2]+96>>2];q[b+40>>2]=q[e+76>>2];o[b+20|0]=(c|0)==q[e+72>>2]?r[(q[e+88>>2]+w(c,20)|0)+15|0]:0;if(!id(b)){break a}c=(r[a+9|0]|r[a+8|0]<<8)>>>0>d>>>0?((d<<1)+a|0)+10|0:271312;c=r[c|0]<<8|r[c+1|0];f=pY(c?c+a|0:271312,b,a+4|0,q[b>>2])}return f}function qL(a,b){var c=0,d=0,e=0,f=0,g=0;d=Da-128|0;Da=d;d=Na(d,0,128);a:{if(!b){break a}c=Pb(b,58);if(c){while(1){g=b;b=c-b|0;f=b>>>0<127?b:127;b=Md(d,g,f);o[d+f|0]=0;b:{if(!r[b|0]){break b}b=Mq(b);if(!b){break b}e=eb(b);c:{if(!e){break c}if(xf(a,e)){break c}La(e)}La(b);e=1}b=c+1|0;c=Pb(b,58);if(c){continue}break}}if(!r[b|0]){break a}b=Mq(b);if(!b){break a}c=eb(b);d:{if(!c){break d}if(xf(a,c)){break d}La(c)}La(b);e=1}Da=d+128|0;return e}function RY(a,b){var c=0,d=0,e=0,f=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}c=a+6|0;d=r[a+5|0];e=d|r[a+4|0]<<8;if(e){if(t[b+4>>2]>c>>>0){break a}d=q[b+8>>2];if(d>>>0>>0){break a}if(d-c>>>0<_$(e)<<1>>>0){break a}d=q[b+12>>2];q[b+12>>2]=d+ -1;if((d|0)<1){break a}d=r[a+5|0]}f=1;if(d>>>0<16){break a}f=ug(a+4|0,b,a,c)}return f}function IJ(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=c+ -2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(r[a+2|0]){break a}c=r[a+3|0];a=c<<24>>24;c=r[c+g|0]+ -9|0;b:{c:{if(c>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}q[d>>2]=b;return 0}function ej(a){var b=0,c=0,d=0,e=0,f=0;d=q[a+4>>2];a:{if((d|0)!=32){b=q[a+8>>2];break a}b=q[a+12>>2];if(!b){return 0}c=q[a>>2]>>>8|0;q[a>>2]=c;e=q[a+8>>2];f=r[e|0];q[a+12>>2]=b+ -1;d=24;q[a+4>>2]=24;b=e+1|0;q[a+8>>2]=b;q[a>>2]=c|f<<24}if(!(b&1)){return 1}c=q[a+12>>2];while(1){if(!c){return 1}e=q[a>>2]>>>8|0;q[a>>2]=e;f=r[b|0];c=c+ -1|0;q[a+12>>2]=c;d=d+ -8|0;q[a+4>>2]=d;b=b+1|0;q[a+8>>2]=b;q[a>>2]=e|f<<24;if(b&1){continue}break}return 1}function XC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+712>>2];a:{if(r[e+24|0]==2){f=11;e=ld(bc(q[q[a+96>>2]+4>>2],9848),10048,0);if(!e){break a}e=q[e>>2];if(!e){break a}return n[e](a,b,c,d)|0}a=q[e+3084>>2];if(!a){return 11}b=s[q[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b+ -391|0;if(t[e+1356>>2]<=a>>>0){break a}a=q[q[e+1360>>2]+(a<<2)>>2];break b}a=n[q[a+20>>2]](b)|0}if(!a){break a}Ej(c,a,d)}return f|0}function Dq(a,b,c){var d=0,e=0,f=0,g=0;e=1;a:{b:{if((c|0)<1){break b}while(1){g=r[b|0];d=q[a+12>>2];c:{if((d|0)!=q[a+16>>2]){f=q[a>>2];break c}e=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=d- -64|0;f=Sa(e);if(!f){break a}q[a+4>>2]=1;Qa(f,q[a>>2],d);break d}e=d<<1;f=db(q[a>>2],e);if(!f){break a}d=q[a+12>>2]}q[a>>2]=f;q[a+16>>2]=e}b=b+1|0;e=1;q[a+12>>2]=d+1;o[d+f|0]=g;d=(c|0)>1;c=c+ -1|0;if(d){continue}break}}return e}q[a+8>>2]=1;return 0}function qd(a){var b=0,c=0,d=0;d=Da-16|0;Da=d;a:{b:{b=Wa(a);c=b+ -3|0;if(c>>>0>11){break b}if(c>>>0>=2){b=b+r[r[a+4|0]+439232|0]|0}b=r[r[a+2|0]+439232|0]+b|0;if(b>>>0>60){break b}c=b&31;if(!((32<=(b&63)>>>0?335544319>>>c|0:((1<>>c)&1)){break b}c=q[(b<<3)+438272>>2]+438760|0;if(r[a|0]!=r[c|0]){break b}if(Ta(a+1|0,c+1|0)){break b}a=q[(b<<3)+438276>>2];break a}a=qr(a,d+12|0);a=a?q[d+12>>2]:0}Da=d+16|0;return a}function $J(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=c+ -2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(r[a+3|0]){break a}c=r[b|0];a=c<<24>>24;c=r[c+g|0]+ -9|0;b:{c:{if(c>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}q[d>>2]=b;return 0}function wJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=926;return 34}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function vJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=927;return 40}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ZI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=33;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 3:case 25:break c;default:break a}}q[a>>2]=948;return 31}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function SZ(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}c=b;b=q[b+12>>2];q[c+12>>2]=b+ -1;if((b|0)<1){break a}b=r[a+1|0]|r[a|0]<<8;if(!b){break a}if(!(r[a+3|0]|r[a+2|0]<<8|(r[a+5|0]|r[a+4|0]<<8)|(r[a+7|0]|r[a+6|0]<<8|(r[a+9|0]|r[a+8|0]<<8)))){d=1;break a}if(b>>>0<(r[a+7|0]|r[a+6|0]<<8)>>>0|b>>>0>(r[a+9|0]|r[a+8|0]<<8)>>>0){break a}return(r[a+5|0]|r[a+4|0]<<8)+ -256>>>0<32512}return d}function OI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=39;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=956;return 51}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Rc(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -92|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,12);if(c){gw(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=0;if(q[b+4>>2]){while(1){d=q[b+8>>2]+w(c,24)|0;La(q[d+20>>2]);q[d+20>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}La(q[b+8>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function QX(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{e=b+ -6078|0;if(e>>>0>7){break a}b:{switch(e-1|0){default:q[c>>2]=6081;q[d>>2]=6078;return 1;case 0:q[c>>2]=6081;q[d>>2]=6079;return 1;case 1:q[c>>2]=6081;q[d>>2]=6080;return 1;case 5:q[c>>2]=6081;q[d>>2]=6084;return 1;case 2:case 3:case 4:break a;case 6:break b}}q[c>>2]=6081;q[d>>2]=6085;return 1}a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;return(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0|0}function Hw(a,b){var c=0,d=0,e=0;c=Da-80|0;Da=c;e=r[a+4|0];a:{if(!(o[q[b>>2]+140|0]&1)){d=0;if(!(e&64)){break a}}q[c+24>>2]=b;q[c+28>>2]=a;d=r[a+28|0]|r[a+29|0]<<8|(r[a+30|0]<<16|r[a+31|0]<<24);q[c+68>>2]=0;o[c+72|0]=e>>>6&1;a=a+12|0;q[c+32>>2]=a+(d<<8&16711680|d<<24|(d>>>8&65280|d>>>24));d=q[q[b+4>>2]+16>>2];q[c+12>>2]=q[b+12>>2];q[c+8>>2]=a;b=c;a=q[d+32>>2];if((a|0)==-1){a=lc(d)}q[b+16>>2]=a;Cw(c+8|0,c+24|0);d=1}Da=c+80|0;return d}function Ac(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -88|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,12);if(c){hw(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=0;if(q[b+4>>2]){while(1){d=q[b+8>>2]+w(c,24)|0;La(q[d+20>>2]);q[d+20>>2]=0;q[d+12>>2]=0;q[d+16>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}La(q[b+8>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function DJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>26){break b}c=3;c:{switch(d-1|0){case 0:case 1: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:break b;case 2:case 25:break c;default:break a}}q[a>>2]=912;return 4}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ud(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=q[b+4>>2];f=32-e|0;a:{b:{if(!f){if(r[a|0]){break a}q[c>>2]=s[a+2>>1];break b}h=q[b>>2]>>>e|0;g=h&255;i=(g<<2)+a|0;d=r[i|0];if(d>>>0<=8){if(f>>>0>>0){break a}q[b+4>>2]=d+e;q[c>>2]=s[((g<<2)+a|0)+2>>1];break b}if(f>>>0<9){break a}a=(s[((g<<2)+a|0)+2>>1]+((q[(d<<2)+153552>>2]&h)>>>8|0)<<2)+i|0;d=r[a|0];if(24-e>>>0>>0){break a}q[b+4>>2]=(d+e|0)+8;q[c>>2]=s[a+2>>1]}j=1}return j}function MI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>21){break b}c=39;c:{switch(d-1|0){case 20:q[a+8>>2]=39;q[a>>2]=932;return 46;case 0: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:break b;case 5:break c;default:break a}}q[a>>2]=955;return 39}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function xi(a,b,c){var d=0,e=0,f=0;a:{if(!q[c+20>>2]){q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;break a}d=1<>2];e=0-d|0;a=q[c+8>>2];f=a>>>0>e>>>0?a:e&(a+d|0)+ -1;e=q[c+12>>2];if(f>>>0>2147483615/(((e|0)>1?e:1)>>>0)>>>0){break a}d=oe(d,w(e,f)+32|0,0);if(!d){break a}q[b+20>>2]=d;q[b+16>>2]=f;q[b+12>>2]=e;q[b+8>>2]=a;q[b>>2]=q[c>>2];q[b+4>>2]=q[c+4>>2];Qa(d,q[c+20>>2],w(q[c+12>>2],q[c+16>>2]))}}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,k=0;f=q[a+496>>2];if(!f){return 6}g=q[f+32>>2];if(g){a=0;while(1){e=q[f+28>>2]+w(a,20)|0;a:{if(q[e>>2]!=(c|0)){break a}h=q[e+4>>2];if((h|0)>(b|0)){q[d>>2]=q[e+8>>2];break a}i=q[e+12>>2];if((i|0)<(b|0)){q[d>>2]=q[e+16>>2];break a}j=d,k=bb(b-h|0,q[e+16>>2]-q[e+8>>2]|0,i-h|0)+q[e+8>>2]|0,q[j>>2]=k;g=q[f+32>>2]}a=a+1|0;if(a>>>0>>0){continue}break}}return 0}function J_(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=r[a+5|0];g=r[a+4|0];f=d|g<<8;if(!f){break a}while(1){d=(g<<8|d)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;b:{if(r[d|0]<<8|r[d+1|0]){c=c+1|0;break b}c:{if((c|0)==(e|0)){break c}d=e;e=r[a+3|0]|r[a+2|0]<<8;if(eh(b,d+e|0,c+e|0)){break c}return}c=c+1|0;e=c}if((c|0)==(f|0)){break a}d=r[a+5|0];g=r[a+4|0];continue}}d:{if((e|0)==(f|0)){break d}a=r[a+3|0]|r[a+2|0]<<8;if(eh(b,a+e|0,a+f|0)){break d}}}function kM(a,b,c){a=a|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=q[b>>2]&(q[c>>2]^-1);q[a>>2]=d;e=q[b+4>>2]&(q[c+4>>2]^-1);q[a+4>>2]=e;f=q[b+8>>2]&(q[c+8>>2]^-1);q[a+8>>2]=f;g=q[b+12>>2]&(q[c+12>>2]^-1);q[a+12>>2]=g;h=q[b+16>>2]&(q[c+16>>2]^-1);q[a+16>>2]=h;i=q[b+20>>2]&(q[c+20>>2]^-1);q[a+20>>2]=i;j=q[b+24>>2]&(q[c+24>>2]^-1);q[a+24>>2]=j;k=a;a=q[b+28>>2]&(q[c+28>>2]^-1);q[k+28>>2]=a;return(a|(d|e|f|g|h|i|j))!=0|0}function FA(a){n[q[a+28>>2]](q[a+32>>2],q[a+580>>2]);q[a+580>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+576>>2]);q[a+576>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+252>>2]);q[a+252>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+120>>2]);q[a+120>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+136>>2]);q[a+136>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+152>>2]);q[a+152>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+96>>2]);q[a+96>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+168>>2]);q[a+168>>2]=0}function pF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=q[a+540>>2];d=q[a+104>>2];e=q[a+100>>2];c=q[a+716>>2];if(c){n[c](q[a+712>>2])}if(b){n[q[b+12>>2]](a)}zb(q[a+104>>2],a+764|0);q[a+760>>2]=0;c=q[a+104>>2];b=q[c+28>>2];f=q[a+784>>2];if(f){n[q[b+8>>2]](b,f)}q[a+784>>2]=0;zb(c,a+768|0);b=q[a+704>>2];if(b){n[q[e+8>>2]](e,b)}q[a+700>>2]=0;q[a+704>>2]=0;zb(d,a+688|0);zb(d,a+696|0);q[a+692>>2]=0;q[a+684>>2]=0;Go(a);q[a+736>>2]=0}}function ho(a,b){var c=0,d=0,e=0;c=q[a+16>>2];if(!(!c|!q[a+12>>2])){while(1){e=d<<2;c=q[e+c>>2];if(c){n[q[b+8>>2]](b,c)}c=q[a+16>>2];q[e+c>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){n[q[b+8>>2]](b,c)}d=0;q[a+16>>2]=0;c=q[a+4>>2];if(!(!c|!q[a>>2])){while(1){e=d<<3;c=q[(e+c|0)+4>>2];if(c){n[q[b+8>>2]](b,c)}c=q[a+4>>2];q[(e+c|0)+4>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}if(c){n[q[b+8>>2]](b,c)}q[a+4>>2]=0}function fj(a){a=a|0;var b=0,c=0;if(a){c=q[a+100>>2];Nn(q[a+140>>2]);b=q[a+144>>2];if(b){n[q[c+8>>2]](c,b)}q[a+144>>2]=0;b=q[a+132>>2];if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0;b=q[a+136>>2];if(b){n[q[c+8>>2]](c,b)}q[a+136>>2]=0;b=q[a+20>>2];if(b){n[q[c+8>>2]](c,b)}q[a+20>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+32>>2];if(b){n[q[c+8>>2]](c,b)}q[a+32>>2]=0;b=q[a+140>>2];if(b){n[q[c+8>>2]](c,b)}q[a+140>>2]=0}}function WR(a,b){var c=0,d=0,e=0;c=q[b+92>>2];if(c){e=q[c+4>>2]==1937337698}c=q[160840];a:{if(c){break a}while(1){c=UR();if(!c){c=641424}d=q[160840];q[160840]=d?d:c;if(!d){break a}if(!(!c|(c|0)==641424)){hd(c)}c=q[160840];if(!c){continue}break}}d=ab(1,1044);if(d){o[d+13|0]=0;o[d+12|0]=e;q[d+4>>2]=b;b=0;q[d>>2]=0;q[d+16>>2]=0;q[d+8>>2]=2;e=d+20|0;while(1){q[e+(b<<2)>>2]=-1;b=b+1|0;if((b|0)!=256){continue}break}}am(a,c,d,583)}function ki(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;if(a){d=q[126998];while(1){pc(b+16|0,a+8|0);c=q[b+28>>2];q[b+40>>2]=q[b+24>>2];q[b+44>>2]=c;c=q[b+20>>2];q[b+32>>2]=q[b+16>>2];q[b+36>>2]=c;Gb(32);c=q[b+44>>2];q[b+8>>2]=q[b+40>>2];q[b+12>>2]=c;c=q[b+36>>2];q[b>>2]=q[b+32>>2];q[b+4>>2]=c;Fk(d,b);c=q[a+24>>2];if(c>>>0<=2){c=q[(c<<2)+490036>>2]}else{c=489989}Ua(c,0);c=a;a=q[a>>2];a=a&1?c+(a&-2)|0:a;if(a){continue}break}}Da=b+48|0}function aL(a,b,c,d,e){a=a|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:{f=q[b>>2];if(f>>>0>=c>>>0){break a}i=a+72|0;j=a+372|0;while(1){g=q[d>>2];if(g>>>0>>0){g=b;h=s[(r[f|0]<<1)+j>>1];b:{if(!h){h=n[q[a+364>>2]](q[a+368>>2],f)|0;f=q[b>>2];f=(r[r[f|0]+i|0]+f|0)+ -3|0;break b}f=f+1|0}q[g>>2]=f;g=q[d>>2];q[d>>2]=g+2;p[g>>1]=h;f=q[b>>2];if(f>>>0>>0){continue}break a}break}if((e|0)!=(g|0)){break a}return 2}return 0}function xm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Da-272|0;Da=e;c=r[a+7|0]|r[a+6|0]<<8;f=c?c+a|0:271312;c=q[b+96>>2];d=0;a:{if((yb(f,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}c=r[a+3|0];h=r[a+5|0];f=r[a+2|0];i=r[a+4|0];q[e+268>>2]=0;c=c|f<<8;d=0;if(!Si(b,c,a+8|0,448,a,e+268|0,e,0)){break a}d=q[e+268>>2];if(d>>>0>=2){g=q[b+96>>2];f=q[g+72>>2];rb(g,f,f+d|0)}d=zm(b,c,e,i<<8|h,((c<<1)+a|0)+6|0,d)}Da=e+272|0;return d}function FO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;yi(b);a:{a=q[a>>2];b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);F()}function sA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=50462976;g=c+288|0;q[g>>2]=50462976;f=q[c+280>>2];d=1;while(1){e=e+67372036|0;q[(d<<2)+g>>2]=e;d=d+1|0;if(d>>>0<=f>>>0){continue}break}if(!b){q[c+280>>2]=0;return}j=g+ -1|0;while(1){f=a+h|0;e=r[f|0];d=r[e+g|0];o[f|0]=d;o[j|0]=d;d=e;while(1){f=d+ -1|0;o[d+g|0]=r[f+g|0];k=(d|0)>0;d=f;if(k){continue}break}i=e|i;h=h+1|0;if((h|0)!=(b|0)){continue}break}q[c+280>>2]=i>>>2}function hE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;q[d>>2]=0;q[d+4>>2]=0;e=q[a+496>>2];if(e){h=d;a=q[e+36>>2];e=(a+(q[e+40>>2]<<4)|0)+ -16|0;a:{if(e>>>0>=a>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=q[b>>2]<<16|q[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;q[d>>2]=q[a+8>>2];a=q[a+12>>2];break a}f=g>>>0>>0;a=f?b+16|0:a;e=f?e:b+ -16|0;if(a>>>0<=e>>>0){continue}break}}q[d>>2]=0;a=0}q[h+4>>2]=a}return 0}function en(a,b,c){var d=0,e=0;a:{b:{if(!a|!c){break b}d=q[a+16>>2];if(d>>>0<=b>>>0){break b}if(q[a+4>>2]){q[a+4>>2]=0}e=q[a+12>>2];if(q[a>>2]){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}c:{d=d-b|0;d=d>>>0>>0?d:c;if((d|0)<1){break c}c=ab(1,32);if(!c){break c}q[c+8>>2]=0;q[c>>2]=1;q[c+4>>2]=1;q[c+28>>2]=428;q[c+24>>2]=a;q[c+20>>2]=1;q[c+16>>2]=d;q[c+12>>2]=b+e;return c}Pa(a)}return 271312}I(227120,227145,269,227160);F()}function Qp(){var a=0,b=0,c=0,d=0;c=Kb(503480);a:{if(!q[160548]){break a}if(c){return eb(c)}a=Kb(503475);if(a){d=Wa(a)}c=Sa(d+8|0);if(!c){break a}if(a){Qa(c,a,d)}b=c+d|0;a=r[503495]|r[503496]<<8|(r[503497]<<16|r[503498]<<24);o[b|0]=a;o[b+1|0]=a>>>8;o[b+2|0]=a>>>16;o[b+3|0]=a>>>24;a=r[503498]|r[503499]<<8|(r[503500]<<16|r[503501]<<24);o[b+3|0]=a;o[b+4|0]=a>>>8;o[b+5|0]=a>>>16;o[b+6|0]=a>>>24;o[c+(d+7|0)|0]=0;b=c}return b}function nf(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;q[d+12>>2]=0;e=Ob(a,d+12|0);c=q[d+12>>2];a:{if(c){break a}c=e&255;e=c+ -253|0;b:{if(e>>>0<=2){c:{switch(e-1|0){default:a=ib(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=a;break b;case 1:a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=(a&255)+253;break b;case 0:break c}}a=Ob(a,d+12|0);c=q[d+12>>2];if(c){break a}p[b>>1]=(a&255)+506;break b}p[b>>1]=c}c=0}Da=d+16|0;return c}function fO(a,b){var c=0,d=0,e=0,f=0,g=0;c=q[a+8>>2];a:{if(!c){break a}d=q[c>>2];if(!d){break a}while(1){La(d);d=q[c+4>>2];c=c+4|0;if(d){continue}break}c=q[a+8>>2]}La(c);q[a+8>>2]=0;b:{if(!b){break b}d=1;if(q[b>>2]){c=b;while(1){d=d+1|0;e=q[c+4>>2];c=c+4|0;if(e){continue}break}}c=ab(d,4);q[a+8>>2]=c;if(!c){break b}d=q[b>>2];if(!d){break b}while(1){f=c,g=eb(d),q[f>>2]=g;c=c+4|0;d=q[b+4>>2];b=b+4|0;if(d){continue}break}}}function tt(a){var b=0,c=0;b=q[a+8>>2];c=q[a+12>>2];if((b|0)<=(c|0)){a:{if((b|0)!=(c|0)){c=q[a+20>>2];break a}b=b<<1|1;q[a+12>>2]=b;c=db(q[a+20>>2],w(b,56));q[a+20>>2]=c;b=q[a+8>>2]}q[a+8>>2]=b+1;a=w(b,56)+c|0;q[a>>2]=0;q[a+4>>2]=0;q[a+48>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;return b}I(1487,1465,126,1524);F()}function Xo(a,b){var c=0,d=0,e=0,f=0,g=0;f=Da-16|0;Da=f;c=0;a:{if(!a){break a}d=q[a+92>>2];c=0;if(!d){break a}c=0;if(!q[a+16>>2]){break a}e=n[q[q[d+12>>2]+12>>2]](d,0)|0;g=q[a+16>>2];c=0;if(e>>>0>>0?e:0){break a}e=0;d=q[a+92>>2];c=0;if(!d){break a}c=0;if(!g){break a}q[f+12>>2]=0;while(1){e=n[q[q[d+12>>2]+16>>2]](d,f+12|0)|0;if(e>>>0>=t[a+16>>2]){continue}break}c=e?q[f+12>>2]:0}a=c;if(b){q[b>>2]=e}Da=f+16|0;return a}function Up(a,b,c){var d=0;d=Da-32|0;Da=d;a:{b:{c:{if(c){if(!Rd(c,500402)){a=aI();if(a){break b}c=0;break a}if(!Rd(c,500406)){break c}if(!Rd(c,500414)){break c}if(Rd(c,500418)){break c}a=Mg(q[a+12>>2]);if(a){break b}c=0;break a}if(r[b|0]==47|r[b|0]==126){break c}c=q[q[a>>2]+4>>2]+ -1|0;q[d>>2]=c>>>0<54?w(c,20)+499232|0:0;_a(a,1,500427,d)}c=eb(b);break a}q[d+20>>2]=0;q[d+16>>2]=b;c=_b(a,d+16|0);La(a)}Da=d+32|0;return c}function zc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(!a){break b}f=q[a>>2]+ -1|0;if((f|0)<0){break b}i=q[a+8>>2]+a|0;while(1){d=e+f>>1;g=q[(d<<3)+i>>2]-c|0;if(!g){break a}h=(g|0)<0;e=h?d+1|0:e;f=h?f:d+ -1|0;if((e|0)<=(f|0)){continue}break}e=g>>>31|0}d=d+e^-1}e=0;q[b>>2]=0;if((d|0)>=0){q[b+4>>2]=d;c:{if(!a){break c}c=q[a>>2];if((c|0)<1|(d|0)>=(c|0)){break c}e=(q[a+8>>2]+a|0)+(d<<3)|0}q[b>>2]=e;a=1}else{a=0}return a}function uF(a){a=a|0;var b=0,c=0,d=0;b=q[a+196>>2];d=b+10|0;if(d>>>0<=t[a+200>>2]){c=r[b|0]|r[b+1|0]<<8;p[a+32>>1]=(c<<24|c<<8&16711680)>>>16;c=r[b+2|0]|r[b+3|0]<<8;q[a+36>>2]=(c<<24|c<<8&16711680)>>16;c=r[b+4|0]|r[b+5|0]<<8;q[a+40>>2]=(c<<24|c<<8&16711680)>>16;c=r[b+6|0]|r[b+7|0]<<8;q[a+44>>2]=(c<<24|c<<8&16711680)>>16;b=r[b+8|0]|r[b+9|0]<<8;q[a+196>>2]=d;q[a+48>>2]=(b<<8&16711680|b<<24)>>16;a=0}else{a=20}return a|0}function Ye(a,b){var c=0,d=0,e=0;a:{while(1){b:{c=a+1|0;c:{d:{a=r[a|0];if((a|0)!=63){if(!a){break b}if((a|0)!=42){break d}if(!r[c|0]){return 1}if(!Pb(c,42)){a=0;d=Wa(b);e=Wa(c);if(d>>>0>>0){break a}b=(d-e|0)+b|0}a=0;if(!r[b|0]){break a}while(1){if(!Ye(c,b)){b=b+1|0;if(r[b|0]){continue}break a}break}return 1}if(r[b|0]){break c}return 0}if((a|0)==r[b|0]){break c}return 0}b=b+1|0;a=c;continue}break}a=!r[b|0]}return a}function TH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;e=q[a+8>>2];f=q[b+8>>2];pc(d,b);g=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=g;g=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=g;c=e&1?(e&-2)+a|0:e;e=f&1?(f&-2)+b|0:f;a=r[e|0];a:{b:{if((a|0)==32){break b}b=r[c|0];if((b|0)==32){break b}h=1;if((((b+ -65&255)>>>0<26?b+32|0:b)|0)!=(((a+ -65&255)>>>0<26?a+32|0:a)|0)){break a}}h=wb(c,e)?1:0}Da=d+16|0;return+h}function sO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=q[a>>2];b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]](a+(q[b+24>>2]+7&-8)|0,a);La(d)}return}I(355429,355403,453,355477);F()}function ge(a,b){var c=0,d=0,e=0,f=0;f=r[b|0];if(!f){return 1}a:{while(1){b:{c=q[a+12>>2];c:{if((c|0)!=q[a+16>>2]){d=q[a>>2];break c}e=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=c- -64|0;d=Sa(e);if(!d){break a}q[a+4>>2]=1;Qa(d,q[a>>2],c);break d}e=c<<1;d=db(q[a>>2],e);if(!d){break a}c=q[a+12>>2]}q[a>>2]=d;q[a+16>>2]=e}e=1;q[a+12>>2]=c+1;o[c+d|0]=f;b=b+1|0;f=r[b|0];if(f){continue}}break}return e}q[a+8>>2]=1;return 0}function Sm(a,b){var c=0,d=0,e=0;c=q[b+44>>2];d=q[c+12>>2];q[b+20>>2]=d;e=q[c+16>>2];c=d+e|0;q[b+24>>2]=c;if((e|0)>-1){a:{b:{if(!a){break b}if(!(c>>>0>a>>>0?a>>>0>=d>>>0:0)){q[b+20>>2]=0;q[b+24>>2]=0;break b}q[b+20>>2]=a;d=r[a+1|0]|r[a|0]<<8;c=c-a|0;q[b+24>>2]=(c>>>0>d>>>0?d:c)+a}ex(a,b);a=q[b+44>>2];d=q[a+12>>2];q[b+20>>2]=d;a=q[a+16>>2];q[b+24>>2]=a+d;if((a|0)<=-1){break a}return}}I(228416,228441,195,228458);F()}function GJ(a,b,c,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=q[b>>2];c=c-a&-2;f=a+c|0;g=c;c=q[d>>2];if((g|0)>(e-c|0)){g=f+ -2|0;h=(r[g|0]&248)==216;f=h?g:f}a:{if(a>>>0>=f>>>0){break a}if(c>>>0>>0){while(1){a=r[a|0]|r[a+1|0]<<8;q[d>>2]=c+2;p[c>>1]=(a<<8&16711680|a<<24)>>>16;a=q[b>>2]+2|0;q[b>>2]=a;if(a>>>0>=f>>>0){break a}c=q[d>>2];if(c>>>0>>0){continue}break}}if((c|0)!=(e|0)){break a}h=2}return h|0}function wE(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(!r[a+733|0]){break a}d=q[a+736>>2];if(!d){break a}if(!r[d+32|0]){e=vo(a,0);d=q[a+736>>2];q[d+36>>2]=e}if(!r[d+33|0]){return q[d+36>>2]}d=q[d+40>>2];e=q[d+28>>2];b:{if(e){f=e;e=q[d+20>>2];e=(e>>>0>b>>>0?b:e+ -1|0)<<2;b=q[f+e>>2];f=q[e+q[d+24>>2]>>2];break b}e=6;if(t[q[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=tj(a,d,f,b)+q[c>>2]|0,q[g>>2]=h;e=0}return e|0}function vQ(a,b,c,d,e){a=a|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=Da-16|0;Da=f;$b(a,q[a+8>>2]);g=q[a>>2];q[f+12>>2]=g;h=q[a+8>>2];a:{if(g>>>0>=h>>>0){break a}if(e){i=3;if(r[g|0]!=60){break a}q[f+12>>2]=g+1;j=d,k=is(f+12|0,h,b,c),q[j>>2]=k;b=q[f+12>>2];q[a>>2]=b;if(r[b|0]!=62?t[a+8>>2]>b>>>0:0){break a}q[a>>2]=b+1;i=0;break a}j=d,k=is(f+12|0,h,b,c),q[j>>2]=k;q[a>>2]=q[f+12>>2]}Da=f+16|0;return i|0}function vE(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(!r[a+733|0]){break a}d=q[a+736>>2];if(!d){break a}if(!r[d+44|0]){e=vo(a,1);d=q[a+736>>2];q[d+48>>2]=e}if(!r[d+45|0]){return q[d+48>>2]}d=q[d+52>>2];e=q[d+28>>2];b:{if(e){f=e;e=q[d+20>>2];e=(e>>>0>b>>>0?b:e+ -1|0)<<2;b=q[f+e>>2];f=q[e+q[d+24>>2]>>2];break b}e=6;if(t[q[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=tj(a,d,f,b)+q[c>>2]|0,q[g>>2]=h;e=0}return e|0}function dw(a,b,c){var d=0,e=0,f=0,g=0;d=r[a|0]|r[a+1|0]<<8;d=((d<<24|d<<8&16711680)>>>16|0)+ -1|0;if(d>>>0>1){return}a:{if(!(d-1)){d=r[a+3|0];f=r[a+2|0];g=d|f<<8;if(!g){return}while(1){b:{d=(f<<8|d)>>>0>e>>>0?(w(e,6)+a|0)+4|0:271704;if((r[d+4|0]<<8|r[d+5|0])!=(c|0)){break b}if(eh(b,r[d+1|0]|r[d|0]<<8,r[d+3|0]|r[d+2|0]<<8)){break b}return}e=e+1|0;if((g|0)==(e|0)){break a}d=r[a+3|0];f=r[a+2|0];continue}}c$(a,b,c)}}function S_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=r[a+7|0]|r[a+6|0]<<8;Vb(c?c+a|0:271312,q[b+8>>2]);f=r[a+5|0]|r[a+4|0]<<8;d=r[a+3|0]|r[a+2|0]<<8;a:{if(!d){break a}e=d+ -1|0;if(!e){break a}h=q[b+8>>2];c=a+8|0;while(1){g=r[c+1|0]|r[c|0]<<8;Vb(g?g+a|0:271312,h);c=c+2|0;e=e+ -1|0;if(e){continue}break}}if(f){a=(a+6|0)+(d<<1)|0;c=0;while(1){d=a+(c<<2)|0;Ui(b,r[d+2|0]<<8|r[d+3|0]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function Oj(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;h(+a);d=e(1)|0;e(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=Dg(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}d=fp(a,b)&3;if(d>>>0<=2){b:{switch(d-1|0){default:c=Dg(v[b>>3],v[b+8>>3]);break a;case 0:c=-Cg(v[b>>3],v[b+8>>3],1);break a;case 1:break b}}c=-Dg(v[b>>3],v[b+8>>3]);break a}c=Cg(v[b>>3],v[b+8>>3],1)}a=c;Da=b+16|0;return a}function OQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=q[a+24>>2];q[a+48>>2]=b;d=q[a+28>>2];q[a+52>>2]=d;e=q[a+8>>2];f=e+q[a>>2]|0;q[a+8>>2]=f>>1;c=b;b=q[a+16>>2];c=c+b|0;q[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;q[a+16>>2]=e>>2;b=b+c|0;q[a+32>>2]=b>>2;c=d;d=q[a+20>>2];f=c+d|0;q[a+44>>2]=f>>1;c=q[a+12>>2];g=c+q[a+4>>2]|0;q[a+12>>2]=g>>1;q[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;q[a+36>>2]=d>>2;b=b+g|0;q[a+20>>2]=b>>2;q[a+28>>2]=b+d>>3}function wm(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=r[a+1|0]|r[a|0]<<8;a:{if(f){g=a+2|0;while(1){d=r[g+1|0]|r[g|0]<<8;d=d?d+a|0:271312;l=r[d|0];m=r[d+1|0];h=d+(m<<1|l<<9)|0;e=h+2|0;i=r[e|0]<<8|r[h+3|0];e=(i?i<<1:2)+e|0;n=r[e|0];o=r[e+1|0];j=e+(o<<1|n<<9)|0;k=1;if(_u(b,m|l<<8,d+2|0,i,h+4|0,o|n<<8,e+2|0,r[j+3|0]|r[j+2|0]<<8,j+4|0,c)){break a}g=g+2|0;f=f+ -1|0;if(f){continue}break}}k=0}return k}function RK(a){var b=0,c=0,d=0;q[a+56>>2]=0;q[a+84>>2]=0;c=a;b=q[a+24>>2];if(b){b=(p[a+22>>1]<<3)+b|0}else{b=0}q[c+60>>2]=b;c=a- -64|0;b=q[a+28>>2];if(b){b=p[a+22>>1]+b|0}else{b=0}q[c>>2]=b;c=a;b=q[a+32>>2];d=0;a:{if(!b){break a}d=b+(p[a+20>>1]<<1)|0}q[c+68>>2]=d;if(r[a+16|0]){b=p[a+22>>1]<<3;q[a+76>>2]=b+q[a+40>>2];q[a+80>>2]=b+q[a+44>>2]}c=a;b=q[a+52>>2];d=0;b:{if(!b){break b}d=b+(q[a+48>>2]<<5)|0}q[c+88>>2]=d}function CE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+736>>2];a:{if(!e){d=Nf(a,0);if(d){break a}e=q[a+736>>2]}if(!q[e+4>>2]){d=Fh(a,0,0,1);if(d){break a}}g=q[e>>2];f=g>>>0>>0?g:b;b:{if(r[a+733|0]){if(!f){break b}e=q[e+8>>2];a=0;while(1){d=a<<2;q[d+c>>2]=q[e+d>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(!f){break b}Na(c,0,f<<2)}d=0;if(g>>>0>=b>>>0){break a}Na((f<<2)+c|0,0,b-f<<2)}return d|0}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+736>>2];a:{if(!e){d=Nf(a,0);if(d){break a}e=q[a+736>>2]}if(!q[e+4>>2]){d=Fh(a,0,0,1);if(d){break a}}g=q[e>>2];f=g>>>0>>0?g:b;b:{if(r[a+733|0]){if(!f){break b}e=q[e+4>>2];a=0;while(1){d=a<<2;q[d+c>>2]=q[e+d>>2];a=a+1|0;if((f|0)!=(a|0)){continue}break}break b}if(!f){break b}Na(c,0,f<<2)}d=0;if(g>>>0>=b>>>0){break a}Na((f<<2)+c|0,0,b-f<<2)}return d|0}function Hk(a,b){var c=0,d=0,e=0,f=0,g=0;e=b;g=a;a:{b:{if(a>>>0>=128){if(a>>>0<2048){c=192;f=6;break a}if(a>>>0<65536){d=6;c=224;f=12;break a}if(a>>>0<2097152){d=12;c=240;f=18;break a}if(a>>>0<67108864){d=18;c=248;f=24;break a}if((a|0)>-1){break b}return 0}o[b|0]=a;return(b+1|0)-b|0}d=24;c=252;f=30}o[e|0]=g>>>f|c;e=b+1|0;while(1){o[e|0]=a>>>d&63|128;e=e+1|0;c=(d|0)>5;d=d+ -6|0;if(c){continue}break}return e-b|0}function HR(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=Da-128|0;Da=f;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}g=q[b+4>>2];h=e;a:{if((d|0)<=-1){a=Vo(g,c);break a}d=(d|0)<127?d:127;a=Md(f,c,d);o[d+f|0]=0;a=Vo(g,a)}q[h>>2]=a;b:{if(!a){c:{d:{if(!(Kj(g,0,f,128)|(d|0)>-1)){if(!Ta(f,c)){break d}break c}if(Ra(f,c,d)){break c}}a=1;break b}a=q[e>>2]}a=(a|0)!=0}q[b>>2]=0;Da=f+128|0;return a|0}function HA(a){q[a+576>>2]=0;q[a+580>>2]=0;q[a+216>>2]=1;q[a+220>>2]=0;q[a+192>>2]=16777216;q[a+196>>2]=16777216;q[a+184>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+152>>2]=0;q[a+156>>2]=0;q[a+108>>2]=0;q[a+112>>2]=0;q[a+252>>2]=0;q[a+256>>2]=0;q[a+232>>2]=1;q[a+236>>2]=0;q[a+224>>2]=1;q[a+228>>2]=0;q[a+208>>2]=1;q[a+212>>2]=1;q[a+200>>2]=16777216;q[a+204>>2]=1;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;o[a+260|0]=0}function eO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+32>>3]!=b){v[a+32>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function dO(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[a+88>>2]!=(b|0)){q[a+88>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(((f|0)>0?0-f|0:0)+c|0)+((g|0)>0?0-g|0:0)}}function cO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+48>>3]!=b){v[a+48>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function bO(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[a+96>>2]!=(b|0)){q[a+96>>2]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);b=q[a+16>>2];q[a+136>>2]=b;c=q[a+20>>2];q[a+140>>2]=c;d=q[a- -64>>2];e=q[a+68>>2];q[a+148>>2]=(b-d|0)-e;f=q[a+56>>2];g=q[a+60>>2];q[a+144>>2]=(c-f|0)-g;q[a+156>>2]=(b+((d|0)>0?0-d|0:0)|0)+((e|0)>0?0-e|0:0);q[a+152>>2]=(((f|0)>0?0-f|0:0)+c|0)+((g|0)>0?0-g|0:0)}}function Kr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+80>>3]!=b){v[a+80>>3]=b;q[a+112>>2]=q[a+112>>2]+1;Lb(q[a+748>>2]);Lb(q[a+744>>2]);Lb(q[a+740>>2]);c=q[a+16>>2];q[a+136>>2]=c;d=q[a+20>>2];q[a+140>>2]=d;e=q[a- -64>>2];f=q[a+68>>2];q[a+148>>2]=(c-e|0)-f;g=q[a+56>>2];h=q[a+60>>2];q[a+144>>2]=(d-g|0)-h;q[a+156>>2]=(((e|0)>0?0-e|0:0)+c|0)+((f|0)>0?0-f|0:0);q[a+152>>2]=(((g|0)>0?0-g|0:0)+d|0)+((h|0)>0?0-h|0:0)}}function BK(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=c+ -1|0;c=b+1|0;if((e-c|0)>=1){g=a+72|0;while(1){b=r[c|0];a=b<<24>>24;b=r[b+g|0]+ -9|0;b:{c:{if(b>>>0>26){break c}f=1<-1){break b}}if((a|0)==36){break b}if((a|0)!=64){break a}}c=c+1|0;if((e-c|0)>0){continue}break}}return 1}q[d>>2]=c;return 0}function zv(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!yv(a+4|0,b,a)){break a}if(!xv(a+6|0,b,a)){break a}if(!a_(a+8|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!wv(a+10|0,b,a)){break a}}d=1}return d}function bw(a,b,c){var d=0,e=0,f=0;a:{if(r[b+3|0]|r[b+2|0]<<8?0:!(r[b+1|0]|r[b|0]<<8)){break a}d=q[a+96>>2];q[a+96>>2]=d+1;if(d>>>0>500){break a}if(aw(a,b,a+8|0)){break a}d=r[b+1|0]|r[b|0]<<8;if(d){$v(a,b+d|0,c)}f=r[b+3|0]|r[b+2|0]<<8;if(!f){break a}d=0;while(1){e=(r[b+3|0]|r[b+2|0]<<8)>>>0>d>>>0?(w(d,6)+b|0)+4|0:271312;e=r[e+4|0]<<8|r[e+5|0];$v(a,e?e+b|0:271698,c);d=d+1|0;if((f|0)!=(d|0)){continue}break}}}function Wu(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!yv(a+4|0,b,a)){break a}if(!xv(a+6|0,b,a)){break a}if(!VY(a+8|0,b,a)){break a}c=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=65537){if(!wv(a+10|0,b,a)){break a}}d=1}return d}function OU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Da-16|0;Da=b;q[b+12>>2]=c;d=q[a+72>>2];e=q[d+176>>2];a:{if((e|0)!=q[160400]){n[e](a,q[a+76>>2],1,b+12|0,0,b+8|0,0,q[d+40>>2]);c=q[b+8>>2];break a}d=q[a+12>>2];e=q[d+72>>2];c=n[q[e+168>>2]](d,q[d+76>>2],c,q[e+32>>2])|0;d=q[a+12>>2];if(!d){break a}d=q[d+20>>2];a=q[a+20>>2];if((d|0)==(a|0)){break a}c=X$(W$(a,a>>31,c,c>>31),Ea,d,d>>31)}Da=b+16|0;return c|0}function NU(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Da-16|0;Da=b;q[b+12>>2]=c;d=q[a+72>>2];e=q[d+180>>2];a:{if((e|0)!=q[160401]){n[e](a,q[a+76>>2],1,b+12|0,0,b+8|0,0,q[d+44>>2]);c=q[b+8>>2];break a}d=q[a+12>>2];e=q[d+72>>2];c=n[q[e+172>>2]](d,q[d+76>>2],c,q[e+36>>2])|0;d=q[a+12>>2];if(!d){break a}d=q[d+24>>2];a=q[a+24>>2];if((d|0)==(a|0)){break a}c=X$(W$(a,a>>31,c,c>>31),Ea,d,d>>31)}Da=b+16|0;return c|0}function LG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-160|0;Da=d;Na(d+16|0,0,144);q[d+92>>2]=-1;q[d+60>>2]=b;q[d+24>>2]=-1;q[d+20>>2]=b;xd(d+16|0,0,0);op(d,d+16|0,1,1);f=q[d+8>>2];g=q[d+12>>2];h=q[d>>2];i=q[d+4>>2];if(c){j=c;e=b;b=q[d+20>>2]-q[d+24>>2]|0;k=b;c=b+q[d+136>>2]|0;b=q[d+140>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;q[j>>2]=!(b|c)?e:e+c|0}q[a>>2]=h;q[a+4>>2]=i;q[a+8>>2]=f;q[a+12>>2]=g;Da=d+160|0}function uW(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-48|0;Da=b;d=q[a+ -144>>2];a=ab(1,8);if(a){q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;c=Mb(d);o[b+44|0]=1;q[b+40>>2]=c;f=a,g=TV(b+8|0,Jb(d,1935829368)),q[f>>2]=g;e=a;c=q[d+32>>2];if((c|0)==-1){c=lc(d)}q[e+4>>2]=c}Da=b+48|0;return a}function Mk(a){var b=0,c=0,d=0,e=0,f=0;a:{if(a<0){a=-1}else{a=a<1e3?a:1e3;d=1;while(1){b=d;d=b+1|0;e=q[(b<<3)+442496>>2];c=+(e|0);if(a>c){continue}break}if(a==c){return+q[(b<<3)+442500>>2]}b=b<<3;d=q[b+442488>>2];e=e-d|0;if((e|0)<1){break a}f=q[b+442500>>2];b=q[b+442492>>2];f=f-b|0;if(a<=c^1|(f|0)<0){break a}c=+(d|0);if(!(a>=c)){break a}a=(a-c)*+(f|0)/+(e|0)+ +(b|0)}return a}I(442600,442640,48,442651);F()}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;i=q[a+20>>2];h=q[a+16>>2];a:{b:{if(h){e=q[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=q[(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=q[(c<<3)+i>>2]}j=s[((c<<3)+i|0)+4>>1]+1&65535}q[b>>2]=e;return j|0}function a0(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;d=f&31;if(32<=f>>>0){d=-1>>>d|0}else{e=-1>>>d|0;d=(1<>>d}f=d&a;d=b&e;e=g&31;if(32<=g>>>0){d=f<>>32-e|d<>>0){d=-1<>>32-c|-1<>>0){c=0;a=d>>>b|0}else{c=d>>>b|0;a=((1<>>b}a=a|g;Ea=c|f;return a} +function rL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[a+4>>2];if((h|0)>=1){j=q[a+12>>2];while(1){e=b;d=q[(c<<2)+j>>2];f=d;a:{b:{if((b|0)==(d|0)){d=b;break b}while(1){c:{i=r[e|0];g=r[f|0];if(!g){break c}f=f+1|0;e=e+1|0;if((i|0)==(g|0)){continue}}break}if((i|0)!=(g|0)){break a}}La(d);b=q[a+12>>2]+(c<<2)|0;sb(b,b+4|0,q[a+4>>2]-c<<2);q[a+4>>2]=q[a+4>>2]+ -1;return}c=c+1|0;if((c|0)<(h|0)){continue}break}}}function Nj(a){var b=0,c=0;b=Da-16|0;Da=b;h(+a);c=e(1)|0;e(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=Cg(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}c=fp(a,b)&3;if(c>>>0<=2){b:{switch(c-1|0){default:a=Cg(v[b>>3],v[b+8>>3],1);break a;case 0:a=Dg(v[b>>3],v[b+8>>3]);break a;case 1:break b}}a=-Cg(v[b>>3],v[b+8>>3],1);break a}a=-Dg(v[b>>3],v[b+8>>3])}Da=b+16|0;return a}function AK(a,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=q[b>>2];a:{if((c|0)!=(a|0)){while(1){f=q[d>>2];g=o[a|0];b:{if((g|0)<=-1){a=2;if((e-f|0)<2){break a}q[d>>2]=f+1;o[f|0]=(g&192)>>>6|192;a=q[d>>2];q[d>>2]=a+1;o[a|0]=g&63|128;a=q[b>>2]+1|0;q[b>>2]=a;break b}if((e|0)==(f|0)){return 2}q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+1;o[f|0]=a;a=q[b>>2]}if((a|0)!=(c|0)){continue}break}}a=0}return a|0}function eY(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=q[a+4>>2];if((d|0)<1){q[c>>2]=0;return 0}j=q[a>>2];f=d+ -1|0;d=q[b>>2];h=Pb(d,45);k=h-d|0;while(1){e=g+f>>>1|0;a=(e<<3)+j|0;b=k;if(!h){b=Wa(d)}l=d;m=a;i=Pb(a,45);a:{if(i){a=i-a|0;break a}a=Wa(a)}a=Ra(l,m,b>>>0>>0?a:b);b:{if((a|0)<=-1){f=e+ -1|0;break b}if(!a){q[c>>2]=e;return 1}g=e+1|0}if((g|0)<=(f|0)){continue}break}q[c>>2]=g;return 0}function eT(a){var b=0;b=q[q[a+20>>2]+12>>2];if(b){n[b](q[a+112>>2])}La(q[a+48>>2]);q[a+48>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;La(q[a+60>>2]);q[a+60>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;La(q[a+84>>2]);q[a+84>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;La(q[a+72>>2]);q[a+72>>2]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;La(q[a+96>>2]);q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;La(q[a+108>>2]);q[a+108>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0}function MO(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a>>2];d=r[c|0];if(d){while(1){b=w(b^d,16777619);d=r[c+1|0];c=c+1|0;if(d){continue}break}}return w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function gz(a,b,c,d,e){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=s[a+152>>1];if(!g){break b}f=q[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(q[f>>2]==(b|0)){g=q[f+12>>2];if(g){break d}}f=f+16|0;if(f>>>0>>0){continue}break b}break}c=q[f+8>>2]+c|0;break c}g=q[q[a+104>>2]+4>>2]}if(!e){f=g;break a}f=q[e>>2];if(f){break a}q[e>>2]=g;h=0}return h|0}return Gh(q[a+104>>2],c,d,f)|0}function Rl(a){if(q[a+4>>2]){q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}}function LR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;while(1){e=q[b>>2];q[b>>2]=1;if(e){continue}break}e=0;f=q[b+4>>2];a:{if(Yc(f,c,q[b+8>>2])){break a}c=q[f+84>>2];e=q[c+32>>2];q[d>>2]=e;f=q[c+36>>2];q[d+4>>2]=f;g=q[c+24>>2];q[d+8>>2]=g;c=q[c+28>>2];q[d+12>>2]=0-c;if(q[a+20>>2]<=-1){q[d+8>>2]=0-g;q[d>>2]=0-e}e=1;if(q[a+24>>2]>-1){break a}q[d+12>>2]=c;q[d+4>>2]=0-f}q[b>>2]=0;return e|0}function JT(a){a=a|0;var b=0,c=0;b=a+24|0;Db(b,543);$a(b,1819239276,1,1);$a(b,1667460464,1,1);Db(b,544);a=0;while(1){c=a<<3;$a(b,q[c+264240>>2],q[c+264244>>2],1);Db(b,0);a=a+1|0;if((a|0)!=11){continue}break}Db(b,545);$a(b,1768843636,12,1);$a(b,1886545267,13,1);$a(b,1633842803,13,1);$a(b,1651275635,13,1);$a(b,1886614643,13,1);$a(b,1751215214,13,1);$a(b,1667329140,1,1);$a(b,1668049255,1,1);Db(b,546)}function wR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=q[b+4>>2];q[a+2748>>2]=b;f=q[b+28>>2];q[a+2740>>2]=f;q[a+4>>2]=q[b+44>>2];q[a+8>>2]=q[b+48>>2];q[a+12>>2]=q[b+9560>>2];q[a+16>>2]=q[b+9564>>2];d=q[b+24>>2];e=(d|1)==3;c=e|2;h=(d|0)==4?c:e;e=(d|0)==2;c=e?c:h;d=(d|2)==3;c=d?c:c|4;e=e?c|8:c;f=(o[g+12|0]&1?0:!d)?f:f|1;b=r[q[q[b+36>>2]+392>>2]+20|0];q[a+2744>>2]=e;q[a+2740>>2]=b?f:f|8;return 0}function vH(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=r[b|0];o[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=q[b>>2];if((c^-1)&c+ -16843009&-2139062144){break b}while(1){q[a>>2]=c;c=q[b+4>>2];a=a+4|0;b=b+4|0;if(!(c+ -16843009&(c^-1)&-2139062144)){continue}break}}c=r[b|0];o[a|0]=c;if(!c){break a}while(1){c=r[b+1|0];o[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Cb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]]((q[b+24>>2]+7&-8)+a|0,a);La(d)}return}I(355429,355403,453,355477);F()}function _a(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[e+44>>2]=d;f=498928;f=b>>>0<=2?q[(b<<2)+502544>>2]:f;a:{if(a){d=q[126999];g=q[a+12>>2];h=zI(q[a+24>>2]);b:{if(g){q[e+40>>2]=h;q[e+36>>2]=g;q[e+32>>2]=f;Mc(d,498955,e+32|0);break b}q[e+20>>2]=h;q[e+16>>2]=f;Mc(d,498986,e+16|0)}if(b>>>0<2){break a}q[a+8>>2]=1;break a}q[e>>2]=f;d=q[126999];Mc(d,499011,e)}Nh(d,c,q[e+44>>2]);te(10,d);Da=e+48|0}function _R(a,b,c){var d=0,e=0,f=0,g=0;g=6;a:{if(!c){break a}if(!a){return 35}if(!(o[a+9|0]&1)){break a}f=q[a+128>>2];d=q[f+32>>2];e=d+2|0;b:{if(e>>>0>2){break b}c:{switch(e-1|0){case 0:break b;case 1:break c;default:break a}}d=q[a+96>>2];e=q[q[d>>2]+32>>2];d:{if(!e){d=0;break d}d=n[e](d,273151)|0;f=q[a+128>>2]}q[f+32>>2]=d?d:-2}if(!d){break a}d=q[d+12>>2];if(!d){break a}g=n[d](a,b,c)|0}return g}function HX(a,b,c){var d=0,e=0;a:{if((a|0)!=14){if((a|0)!=256){break a}q[b+148>>2]=0;q[b+24>>2]=0;return}a=q[b+24>>2];if(!r[b+144|0]){if(a&1){b:{if(!q[b+32>>2]){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;break b}d=q[b+36>>2];e=q[d>>2];d=q[d+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=e;q[b+156>>2]=d}o[b+144|0]=1}if(a>>>0>=4){GX(b,c)}o[b+72|0]=1;q[b+24>>2]=0;q[b+148>>2]=0;return}FX(a,b,c)} -function rL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=q[a+4>>2];if((h|0)>=1){j=q[a+12>>2];while(1){e=b;d=q[(c<<2)+j>>2];f=d;a:{b:{if((b|0)==(d|0)){d=b;break b}while(1){c:{i=r[e|0];g=r[f|0];if(!g){break c}f=f+1|0;e=e+1|0;if((i|0)==(g|0)){continue}}break}if((i|0)!=(g|0)){break a}}La(d);b=q[a+12>>2]+(c<<2)|0;sb(b,b+4|0,q[a+4>>2]-c<<2);q[a+4>>2]=q[a+4>>2]+ -1;return}c=c+1|0;if((c|0)<(h|0)){continue}break}}}function Nj(a){var b=0,c=0;b=Da-16|0;Da=b;h(+a);c=e(1)|0;e(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=Cg(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}c=fp(a,b)&3;if(c>>>0<=2){b:{switch(c-1|0){default:a=Cg(v[b>>3],v[b+8>>3],1);break a;case 0:a=Dg(v[b>>3],v[b+8>>3]);break a;case 1:break b}}a=-Cg(v[b>>3],v[b+8>>3],1);break a}a=-Dg(v[b>>3],v[b+8>>3])}Da=b+16|0;return a}function AK(a,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=q[b>>2];a:{if((c|0)!=(a|0)){while(1){f=q[d>>2];g=o[a|0];b:{if((g|0)<=-1){a=2;if((e-f|0)<2){break a}q[d>>2]=f+1;o[f|0]=(g&192)>>>6|192;a=q[d>>2];q[d>>2]=a+1;o[a|0]=g&63|128;a=q[b>>2]+1|0;q[b>>2]=a;break b}if((e|0)==(f|0)){return 2}q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+1;o[f|0]=a;a=q[b>>2]}if((a|0)!=(c|0)){continue}break}}a=0}return a|0}function eY(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=q[a+4>>2];if((d|0)<1){q[c>>2]=0;return 0}j=q[a>>2];f=d+ -1|0;d=q[b>>2];h=Pb(d,45);k=h-d|0;while(1){e=g+f>>>1|0;a=(e<<3)+j|0;b=k;if(!h){b=Wa(d)}l=d;m=a;i=Pb(a,45);a:{if(i){a=i-a|0;break a}a=Wa(a)}a=Ra(l,m,b>>>0>>0?a:b);b:{if((a|0)<=-1){f=e+ -1|0;break b}if(!a){q[c>>2]=e;return 1}g=e+1|0}if((g|0)<=(f|0)){continue}break}q[c>>2]=g;return 0}function eT(a){var b=0;b=q[q[a+20>>2]+12>>2];if(b){n[b](q[a+112>>2])}La(q[a+48>>2]);q[a+48>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;La(q[a+60>>2]);q[a+60>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;La(q[a+84>>2]);q[a+84>>2]=0;q[a+76>>2]=0;q[a+80>>2]=0;La(q[a+72>>2]);q[a+72>>2]=0;b=a- -64|0;q[b>>2]=0;q[b+4>>2]=0;La(q[a+96>>2]);q[a+96>>2]=0;q[a+88>>2]=0;q[a+92>>2]=0;La(q[a+108>>2]);q[a+108>>2]=0;q[a+100>>2]=0;q[a+104>>2]=0}function MO(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a>>2];d=r[c|0];if(d){while(1){b=w(b^d,16777619);d=r[c+1|0];c=c+1|0;if(d){continue}break}}return w(r[a+15|0]^w(r[a+14|0]^w(r[a+13|0]^w(r[a+12|0]^w(r[a+11|0]^w(r[a+10|0]^w(r[a+9|0]^w(r[a+8|0]^w(r[a+7|0]^w(r[a+6|0]^w(r[a+5|0]^w(r[a+4|0]^b,16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619),16777619)|0}function gz(a,b,c,d,e){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=s[a+152>>1];if(!g){break b}f=q[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(q[f>>2]==(b|0)){g=q[f+12>>2];if(g){break d}}f=f+16|0;if(f>>>0>>0){continue}break b}break}c=q[f+8>>2]+c|0;break c}g=q[q[a+104>>2]+4>>2]}if(!e){f=g;break a}f=q[e>>2];if(f){break a}q[e>>2]=g;h=0}return h|0}return Gh(q[a+104>>2],c,d,f)|0}function Rl(a){if(q[a+4>>2]){q[a+44>>2]=0;q[a+48>>2]=0;q[a+32>>2]=0;q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;o[a+70|0]=0;p[a+68>>1]=1;o[a+164|0]=0;q[a+100>>2]=0;q[a+104>>2]=0;q[a+52>>2]=0;q[a+56>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;q[a+92>>2]=q[a+88>>2];q[a+108>>2]=0;q[a+112>>2]=0;q[a+116>>2]=0;q[a+120>>2]=0;q[a+124>>2]=0;q[a+128>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0;q[a+140>>2]=0;q[a+144>>2]=0;q[a+148>>2]=0}}function LR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;while(1){e=q[b>>2];q[b>>2]=1;if(e){continue}break}e=0;f=q[b+4>>2];a:{if(Yc(f,c,q[b+8>>2])){break a}c=q[f+84>>2];e=q[c+32>>2];q[d>>2]=e;f=q[c+36>>2];q[d+4>>2]=f;g=q[c+24>>2];q[d+8>>2]=g;c=q[c+28>>2];q[d+12>>2]=0-c;if(q[a+20>>2]<=-1){q[d+8>>2]=0-g;q[d>>2]=0-e}e=1;if(q[a+24>>2]>-1){break a}q[d+12>>2]=c;q[d+4>>2]=0-f}q[b>>2]=0;return e|0}function JT(a){a=a|0;var b=0,c=0;b=a+24|0;Db(b,543);$a(b,1819239276,1,1);$a(b,1667460464,1,1);Db(b,544);a=0;while(1){c=a<<3;$a(b,q[c+264240>>2],q[c+264244>>2],1);Db(b,0);a=a+1|0;if((a|0)!=11){continue}break}Db(b,545);$a(b,1768843636,12,1);$a(b,1886545267,13,1);$a(b,1633842803,13,1);$a(b,1651275635,13,1);$a(b,1886614643,13,1);$a(b,1751215214,13,1);$a(b,1667329140,1,1);$a(b,1668049255,1,1);Db(b,546)}function wR(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=q[b+4>>2];q[a+2748>>2]=b;f=q[b+28>>2];q[a+2740>>2]=f;q[a+4>>2]=q[b+44>>2];q[a+8>>2]=q[b+48>>2];q[a+12>>2]=q[b+9560>>2];q[a+16>>2]=q[b+9564>>2];d=q[b+24>>2];e=(d|1)==3;c=e|2;h=(d|0)==4?c:e;e=(d|0)==2;c=e?c:h;d=(d|2)==3;c=d?c:c|4;e=e?c|8:c;f=(o[g+12|0]&1?0:!d)?f:f|1;b=r[q[q[b+36>>2]+392>>2]+20|0];q[a+2744>>2]=e;q[a+2740>>2]=b?f:f|8;return 0}function vH(a,b){var c=0;a:{b:{if((a^b)&3){break b}if(b&3){while(1){c=r[b|0];o[a|0]=c;if(!c){break a}a=a+1|0;b=b+1|0;if(b&3){continue}break}}c=q[b>>2];if((c^-1)&c+ -16843009&-2139062144){break b}while(1){q[a>>2]=c;c=q[b+4>>2];a=a+4|0;b=b+4|0;if(!(c+ -16843009&(c^-1)&-2139062144)){continue}break}}c=r[b|0];o[a|0]=c;if(!c){break a}while(1){c=r[b+1|0];o[a+1|0]=c;a=a+1|0;b=b+1|0;if(c){continue}break}}}function Cb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=q[a+ -8>>2];if(!e){break a}b=a+ -4|0;c=q[b>>2];if(!c){break a}d=b;b=c+ -1|0;q[d>>2]=b;if(b){break b}d=a+ -32|0;b=q[d>>2];if(b){c=q[a+ -24>>2];if(c){q[c+12>>2]=q[a+ -20>>2]}q[q[a+ -20>>2]>>2]=c;q[b+32>>2]=q[b+32>>2]+ -1;q[b+20>>2]=q[b+20>>2]-e}b=q[a+ -28>>2];n[q[b+16>>2]]((q[b+24>>2]+7&-8)+a|0,a);La(d)}return}I(355429,355403,453,355477);F()}function _a(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-48|0;Da=e;q[e+44>>2]=d;f=498928;f=b>>>0<=2?q[(b<<2)+502544>>2]:f;a:{if(a){d=q[126999];g=q[a+12>>2];h=zI(q[a+24>>2]);b:{if(g){q[e+40>>2]=h;q[e+36>>2]=g;q[e+32>>2]=f;Mc(d,498955,e+32|0);break b}q[e+20>>2]=h;q[e+16>>2]=f;Mc(d,498986,e+16|0)}if(b>>>0<2){break a}q[a+8>>2]=1;break a}q[e>>2]=f;d=q[126999];Mc(d,499011,e)}Nh(d,c,q[e+44>>2]);te(10,d);Da=e+48|0}function _R(a,b,c){var d=0,e=0,f=0,g=0;g=6;a:{if(!c){break a}if(!a){return 35}if(!(o[a+9|0]&1)){break a}f=q[a+128>>2];d=q[f+32>>2];e=d+2|0;b:{if(e>>>0>2){break b}c:{switch(e-1|0){case 0:break b;case 1:break c;default:break a}}d=q[a+96>>2];e=q[q[d>>2]+32>>2];d:{if(!e){d=0;break d}d=n[e](d,273151)|0;f=q[a+128>>2]}q[f+32>>2]=d?d:-2}if(!d){break a}d=q[d+12>>2];if(!d){break a}g=n[d](a,b,c)|0}return g}function HX(a,b,c){var d=0,e=0;a:{if((a|0)!=14){if((a|0)!=256){break a}q[b+148>>2]=0;q[b+24>>2]=0;return}a=q[b+24>>2];if(!r[b+144|0]){if(a&1){b:{if(!q[b+32>>2]){d=q[67829];e=q[67828];q[160744]=e;q[160745]=d;break b}d=q[b+36>>2];e=q[d>>2];d=q[d+4>>2]}q[b+148>>2]=1;o[b+145|0]=1;q[b+152>>2]=e;q[b+156>>2]=d}o[b+144|0]=1}if(a>>>0>=4){GX(b,c)}o[b+72|0]=1;q[b+24>>2]=0;q[b+148>>2]=0;return}FX(a,b,c)} +function kf(a,b,c,d,e){var f=0;f=q[a+96>>2];f=q[f+88>>2]+w(q[f+72>>2],20)|0;d=d?48:s[f+12>>1]&96|16;d=e?d|64:d;a:{b:{if(r[a+140|0]){c=q[a+104>>2];e=r[c+5|0]|r[c+4|0]<<8;e=td(e?c+e|0:271312,b)+ -1|0;a=d;if(e>>>0>2){break b}c:{switch(e-1|0){default:a=d|2;break b;case 0:a=d|4;break b;case 1:break c}}a=r[c+11|0]|r[c+10|0]<<8;a=d|(td(a?a+c|0:271312,b)<<8|8);break b}if(!c){break a}a=c|d}p[f+12>>1]=a}}function WA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];d=q[e+140>>2];c=q[b+8>>2];g=q[e+32>>2];f=q[b+16>>2];if(f){c=(w(c,f)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}c=c+32>>6;a:{b:{if(b-1){b=23;if((c|0)==q[g+12>>2]+32>>6){break b}break a}b=23;if((c|0)!=(q[d+44>>2]+q[d+40>>2]|0)){break a}}b=0;Jd(e,0);q[a+24>>2]=q[d+40>>2]<<6;q[a+28>>2]=0-(q[d+44>>2]<<6);q[a+36>>2]=s[d+4>>1]<<6}return b|0}function gI(a){var b=0,c=0;if(a){a:{if(q[a+52>>2]){break a}if($h(a)){break a}return}q[a+68>>2]=q[a+68>>2]+1}b:{c:{if(!q[160941]){while(1){c=Sa(28);b=q[160941];q[160941]=b?b:c;if(!b){break c}if(!q[160941]){continue}break}}break b}Ud()}d:{while(1){b=q[160940];if((b|0)==(a|0)){if(!a){break d}cc(a);return}c=q[160940];q[160940]=(b|0)==(c|0)?a:c;if((b|0)!=(c|0)){continue}break}if(!b){break d}cc(b)}}function Pl(a,b){var c=0,d=0,e=0,f=0;f=6;a:{if(!b){break a}if(!a){return 35}if(!(o[a+9|0]&1)){break a}e=q[a+128>>2];c=q[e+32>>2];d=c+2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}c=q[a+96>>2];d=q[q[c>>2]+32>>2];d:{if(!d){c=0;break d}c=n[d](c,273151)|0;e=q[a+128>>2]}q[e+32>>2]=c?c:-2}if(!c){break a}c=q[c+16>>2];if(!c){break a}f=n[c](a,b)|0}return f}function Hb(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+3>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+12|0,4)|0)!=4){break d}c=q[a+8>>2];b=d+12|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+4}Da=d+16|0;return f}function EF(a,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=Wa(c);f=b+6|0;a:{b:{if((b|0)<=-6){if(f){break a}a=0;break b}a=q[a>>2];a=n[q[a+4>>2]](a,f)|0;if(!a){return 64}Na(a,0,f)}g=0;c=Qa(a,c,b);a=c+b|0;b=r[4330]|r[4331]<<8;o[a+4|0]=b;o[a+5|0]=b>>>8;b=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=b>>>16;o[a+3|0]=b>>>24;q[d>>2]=c;q[e>>2]=0}return g|0}function dZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;f=r[c+1|0];c=r[c|0];e=q[57269];q[d+8>>2]=q[57268];q[d+12>>2]=e;e=q[57267];q[d>>2]=q[57266];q[d+4>>2]=e;e=a;a=f|c<<8;f=wm(a?e+a|0:271312,b,d)}Da=d+16|0;return f|0}function TR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;while(1){d=q[b>>2];q[b>>2]=1;if(d){continue}break}d=q[b+4>>2];g=c,h=Ma(p[d+70>>1],q[q[d+88>>2]+20>>2]),q[g>>2]=h;g=c,h=Ma(p[d+72>>1],q[q[d+88>>2]+20>>2]),q[g+4>>2]=h;e=Ma(p[d+74>>1],q[q[d+88>>2]+20>>2]);d=q[c+4>>2];f=q[c>>2];e=e+(d-f|0)|0;q[c+8>>2]=e;if(q[a+24>>2]<=-1){q[c+8>>2]=0-e;q[c+4>>2]=0-d;q[c>>2]=0-f}q[b>>2]=0;return 1}function DA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=q[c+4>>2];a=q[a+20>>2]+w(b,56)|0;q[a>>2]=q[c>>2];q[a+4>>2]=d;b=q[c+52>>2];q[a+48>>2]=q[c+48>>2];q[a+52>>2]=b;b=q[c+44>>2];q[a+40>>2]=q[c+40>>2];q[a+44>>2]=b;b=q[c+36>>2];q[a+32>>2]=q[c+32>>2];q[a+36>>2]=b;b=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=b;b=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b}function ZJ(a,b,c,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=q[b>>2];c=c-f&-2;a=c+f|0;h=c;c=q[d>>2];if((h|0)>(e-c|0)){g=(r[a+ -1|0]&248)==216;a=g?a+ -2|0:a}a:{if(f>>>0>=a>>>0){break a}if(c>>>0>>0){while(1){f=r[f|0]|r[f+1|0]<<8;q[d>>2]=c+2;p[c>>1]=f;f=q[b>>2]+2|0;q[b>>2]=f;if(f>>>0>=a>>>0){break a}c=q[d>>2];if(c>>>0>>0){continue}break}}if((c|0)!=(e|0)){break a}g=2}return g|0}function Rv(a,b,c){var d=0,e=0;d=r[a+1|0]|r[a|0]<<8;if((r[c+7|0]|r[c+6|0]<<8)>>>0<=d>>>0){return x(0)}d=(d<<2)+c|0;d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[a+3|0]|r[a+2|0]<<8;a=r[c+2|0]|r[c+3|0]<<8|(r[c+4|0]<<16|r[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Vi(d?d+c|0:271312,e,q[b+64>>2],q[b+60>>2],a?a+c|0:271312)}function Fy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=q[a+868>>2];a:{if(!d|s[a+648>>1]<=b>>>0){break a}e=8;b=q[d+8>>2]+(b<<1)|0;b=r[b|0]<<8|r[b+1|0];c=s[a+660>>1];if(b+c>>>0>s[d+2>>1]){break a}e=0;if(!c){break a}a=q[a+672>>2];c=a+(c<<2)|0;b=q[d+4>>2]+(b<<2)|0;while(1){o[a|0]=r[b|0];o[a+1|0]=r[b+1|0];o[a+2|0]=r[b+2|0];o[a+3|0]=r[b+3|0];b=b+4|0;a=a+4|0;if(a>>>0>>0){continue}break}}return e|0}function pc(a,b){var c=0;a:{b:{c=q[b>>2]+ -3|0;if(c>>>0>6){break b}c:{switch(c-1|0){default:c=q[b+8>>2];q[a>>2]=3;break a;case 2:c=q[b+8>>2];q[a>>2]=6;break a;case 4:c=q[b+8>>2];q[a>>2]=8;break a;case 0:case 1:case 3:break b;case 5:break c}}c=q[b+8>>2];q[a>>2]=9;break a}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;return}q[a+8>>2]=c&1?(c&-2)+b|0:c}function IN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;e=q[(q[a>>2]+(q[a+16>>2]<<2)|0)- -64>>2];a:{b:{if(Yc(e,q[a+20>>2],2560)){a=b;break b}d=q[e+84>>2];a=q[d+28>>2];q[b>>2]=q[d+24>>2];q[b+4>>2]=a;a=q[d+52>>2];q[b+24>>2]=q[d+48>>2];q[b+28>>2]=a;e=q[d+44>>2];a=b+16|0;q[a>>2]=q[d+40>>2];q[a+4>>2]=e;e=q[d+36>>2];q[b+8>>2]=q[d+32>>2];q[b+12>>2]=e;if(!c){break a}d=q[b+28>>2]}q[a>>2]=d}return 1}function zQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[a+8>>2]=c;q[a+4>>2]=b;q[a+12>>2]=0;q[a+16>>2]=d;q[a>>2]=b;b=q[72544];q[a+20>>2]=q[72543];q[a+24>>2]=b;b=q[72546];q[a+28>>2]=q[72545];q[a+32>>2]=b;b=q[72548];q[a+36>>2]=q[72547];q[a+40>>2]=b;b=q[72550];q[a+44>>2]=q[72549];q[a+48>>2]=b;b=q[72552];q[a+52>>2]=q[72551];q[a+56>>2]=b;b=q[72554];q[a+60>>2]=q[72553];q[a+64>>2]=b;q[a+68>>2]=q[72555]}function az(a,b){a=a|0;b=b|0;var c=0,d=0;c=n[q[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=mb(b,163008,d);if(c){break a}q[a+468>>2]=0;q[a+460>>2]=0;q[a+464>>2]=0;q[a+452>>2]=0;q[a+456>>2]=0;p[a+472>>1]=65535;if(!s[a+372>>1]){return 0}c=mb(b,163184,d);if(c){break a}if(s[d>>1]<2){return 0}c=mb(b,163200,d);if(c){break a}c=0;if(s[d>>1]<5){break a}c=mb(b,163232,d)}return c|0}function SL(a,b){var c=0,d=0;a:{if(b){while(1){if(!Dd(a,b,32)){break a}c=q[b+8>>2]+ -3|0;b:{if(c>>>0>6){break b}c:{switch(c-1|0){default:if(bl(a,q[b+16>>2])){break b}break a;case 2:if(fM(a,q[b+16>>2])){break b}break a;case 4:if(Dd(a,q[b+16>>2],40)){break b}break a;case 0:case 1:case 3:break b;case 5:break c}}if(!Dd(a,q[b+16>>2],16)){break a}}b=q[b>>2];if(b){continue}break}}d=1}return d}function Vb(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return Q_(a,b)}d=r[a+3|0];e=r[a+2|0];f=d|e<<8;if(!f){return 1}c=0;while(1){d=(e<<8|d)>>>0>c>>>0?(w(c,6)+a|0)+4|0:271704;if(!eh(b,r[d|0]<<8|r[d+1|0],r[d+3|0]|r[d+2|0]<<8)){break a}c=c+1|0;if((f|0)==(c|0)){return 1}else{d=r[a+3|0];e=r[a+2|0];continue}}}return 0}function Lj(a,b,c){var d=0,e=0,f=0,g=0;d=q[c+16>>2];a:{if(!d){if($o(c)){break a}d=q[c+16>>2]}f=q[c+20>>2];if(d-f>>>0>>0){return n[q[c+36>>2]](c,a,b)|0}b:{if(o[c+75|0]<0){break b}e=b;while(1){d=e;if(!d){break b}e=d+ -1|0;if(r[e+a|0]!=10){continue}break}e=n[q[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}b=b-d|0;a=a+d|0;f=q[c+20>>2];g=d}Qa(f,a,b);q[c+20>>2]=q[c+20>>2]+b;e=b+g|0}return e}function Kg(a,b){var c=0,d=0,e=0;a:{c=yd(a);if(!c){break a}d=Hc(q[a+16>>2]);if(!d){tb(c);_a(a,2,499215,0);return}q[d+8>>2]=c;q[d>>2]=b;q[d+12>>2]=0;b=q[a+1312>>2];b:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break b}b=Sa(24);if(!b){break a}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];e=b;c=q[a>>2];if(c){c=q[c>>2]}else{c=0}q[e+4>>2]=c;q[a+4>>2]=b;if(!b){break a}q[b+8>>2]=18;q[b+16>>2]=d}}function rK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=1;c=o[b+2|0];a:{if((c|0)>-1){break a}b:{c:{d:{d=r[b|0];if((d|0)==239){a=191;b=r[b+1|0];if((b|0)!=191){break d}if((c&255)>>>0<=189){break b}break a}if((c&255)>>>0>191){break a}a=r[b+1|0];if((d|0)!=224){break c}return(a&192)==192|a>>>0<160}a=b;if((c&255)>>>0>191){break a}}if(!(a&128)){break a}}e=(d|0)==237?a>>>0>159:(a&192)==192}return e|0}function Xz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=q[b>>2]+1|0;if(c>>>0<=65535){h=b;d=q[a+16>>2];a=r[d+6|0]<<8|r[d+7|0];c=c>>>0>>0?a:c;b=c-a|0;g=r[d+9|0]|r[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=r[a+1|0]|r[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}q[h>>2]=e}return f|0}function AB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[b+8>>2];e=q[a>>2];g=q[e+32>>2];d=q[e+132>>2];f=q[b+16>>2];if(f){c=(w(c,f)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}c=c+32>>6;a:{b:{if(b-1){b=23;if((c|0)==q[g+12>>2]+32>>6){break b}break a}b=23;if((c|0)!=s[d+96>>1]){break a}}b=0;Jd(e,0);c=s[d+80>>1];q[a+24>>2]=c<<6;q[a+28>>2]=c-s[d+96>>1]<<6;q[a+36>>2]=s[d+102>>1]<<6}return b|0}function iB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=q[b+8>>2];c=q[a>>2];f=q[c+32>>2];e=q[b+16>>2];if(e){d=(w(d,e)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}d=d+32>>6;a:{b:{if(b-1){b=23;if((d|0)==q[f+12>>2]+32>>6){break b}break a}b=23;if((d|0)!=(q[c+208>>2]+q[c+204>>2]|0)){break a}}b=0;Jd(c,0);q[a+24>>2]=q[c+204>>2]<<6;q[a+28>>2]=0-(q[c+208>>2]<<6);q[a+36>>2]=p[c+236>>1]<<6}return b|0}function Ze(a,b){var c=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=8;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;a:{if(!a){break a}c=xe(a);if((c|0)>=0){a=r[c+485054|0];c=a>>>5|0;if(c>>>0>=t[b+4>>2]){break a}c=(c<<2)+b|0;q[c+8>>2]=q[c+8>>2]|1<<(a&31);return b}q[b+52>>2]=b+60;q[b+48>>2]=1;q[b>>2]=b+40;q[b+60>>2]=a;q[b+40>>2]=1;q[b+44>>2]=1}return b}function $H(a,b){var c=0,d=0;c=Da-4192|0;Da=c;a=lk(a,b);a:{if(!a){a=0;break a}d=ek(a,c+96|0,4095);if((d|0)==-1){break a}o[d+(c+96|0)|0]=0;b:{if(b){break b}if(jg(a,c+8|0)){break b}if((q[c+20>>2]&61440)==4096){break a}}if(r[c+96|0]!=47){b=Mg(a);La(a);a=0;if(!b){break a}q[c+4>>2]=0;q[c>>2]=c+96;d=_b(b,c);La(b);if(!d){break a}a=xL(d);La(d);break a}La(a);a=eb(c+96|0)}Da=c+4192|0;return a}function f_(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ti(a+10|0,b,a)){break a}if(!Ti(a+12|0,b,a)){break a}c=r[a+15|0]|r[a+14|0]<<8;if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function CP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=128;e=q[a>>2];f=r[e|0];a:{b:{if(!(f&128)){break b}c=-1;while(1){d=c;c=c+1|0;b=b>>>1|0;if(f&b){continue}break}if(d>>>0>3){break b}g=r[e+1|0];if((g&192)!=128){break b}h=e+1|0;b=b+ -1&f;while(1){if((c|0)<1){break b}b=g&63|b<<6;c=c+ -1|0;g=r[h+1|0];d=h+1|0;h=d;if((g&192)==128){continue}break}if(!c){break a}}d=e+1|0;b=f}q[a>>2]=d;return b}function i_(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<14){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ti(a+8|0,b,a)){break a}if(!Ti(a+10|0,b,a)){break a}c=r[a+13|0]|r[a+12|0]<<8;if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function CQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;d=q[a>>2];a:{if(!d){break a}f=q[a+32>>2];b=gb(f,q[a+4>>2],e+12|0);q[a>>2]=b;if(q[e+12>>2]){break a}Qa(b,d,q[a+4>>2]);b=q[a+16>>2];if((b|0)>=1){g=q[a>>2]-d|0;c=q[a+24>>2];h=c+(b<<2)|0;while(1){b=q[c>>2];if(b){q[c>>2]=b+g}c=c+4|0;if(c>>>0>>0){continue}break}}q[a+8>>2]=q[a+4>>2];if(d){n[q[f+8>>2]](f,d)}}Da=e+16|0}function lL(a){var b=0,c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;if(a){while(1){b=q[a+4>>2];if((b|0)!=(d|0)){b=b+ -1|0;if(b>>>0<=1){Rb(b-1|0?490027:490020)}d=q[a+4>>2]}Gb(9);b=q[a+4>>2]+ -1|0;a:{if(b>>>0>1){break a}if(b-1){Aq(q[a+8>>2]);break a}b=q[a+8>>2];e=c,f=Qc(q[b>>2]),q[e>>2]=f;Ua(489842,c);Ck(q[b+4>>2]);Gb(32);fe(q[b+8>>2]);Rb(490018)}a=q[a>>2];if(a){continue}break}}Gb(10);Da=c+16|0}function gS(a,b){var c=0,d=0,e=0;if(r[a+69|0]){d=q[a+76>>2];c=d+b|0;if(!(!c|t[a+84>>2]>c>>>0)){if(!pe(a,c)){return 0}d=q[a+76>>2]}c=q[a+72>>2];e=q[a+88>>2]+w(c,20)|0;sb(e+w(b,20)|0,e,w(d-c|0,20));c=q[a+72>>2]+b|0;d=q[a+76>>2];if(c>>>0>d>>>0){Na(q[a+88>>2]+w(d,20)|0,0,w(c-d|0,20));c=q[a+72>>2]+b|0;d=q[a+76>>2]}q[a+72>>2]=c;q[a+76>>2]=b+d;return 1}I(272574,272586,179,272613);F()}function rD(a){a=a|0;var b=0,c=0,d=0,e=0;c=q[q[a+40>>2]>>2];if(c){b=q[a>>2];e=q[b+100>>2];d=q[b+712>>2];a=q[d+3080>>2];b=bc(q[q[b+96>>2]+4>>2],12904);a:{if(!a|!b){break a}a=q[a>>2];if(!a){break a}b=n[a](b)|0;if(!b){break a}n[q[b+8>>2]](q[c>>2]);a=q[d+2024>>2];if(!a){break a}d=c+4|0;while(1){a=a+ -1|0;n[q[b+8>>2]](q[d+(a<<2)>>2]);if(a){continue}break}}if(c){n[q[e+8>>2]](e,c)}}}function Te(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=p[a+2>>1];a:{if(!c){c=0;break a}a=q[a+4>>2];d=q[a+4>>2];e=q[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=q[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=q[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(g>>>0>>0){continue}break}}q[b+8>>2]=f;q[b>>2]=e;q[b+12>>2]=c;q[b+4>>2]=d}}function mJ(a,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=b+ -15|0;if(g>>>0>3){break c}f=17;d:{switch(g-1|0){case 0:case 1:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=936;return 17}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=937;return 17}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function Oa(a,b,c,d,e,f){var g=0;if((b|c|d)<0){q[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}n[q[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b|0)|0)<(d|0)){break b}c:{if(!c){e=n[q[a+4>>2]](a,w(b,d))|0;g=!e<<6;break c}a=n[q[a+12>>2]](a,w(b,c),w(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(d|0)<=(c|0)|!e){break b}g=0;Na(w(b,c)+e|0,0,w(d-c|0,b))}q[f>>2]=g;return e}q[f>>2]=0;return 0}function JI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 11:q[a+8>>2]=17;q[a>>2]=932;return 19;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 1:break c;default:break a}}q[a>>2]=q[a+16>>2]?914:933;return 20}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a=q[a+140>>2];a:{if(!a|!b|(!q[a+72>>2]|!r[b|0])){break a}b=dc(b,q[a+92>>2]);if(!b){break a}a=q[a+80>>2];if(!a){break a}b=q[b>>2];e=q[(a+(b<<4)|0)+4>>2]+ -1|0;if(e>>>0>2){break a}b:{c:{switch(e-1|0){default:q[c>>2]=1;break b;case 0:q[c>>2]=2;break b;case 1:break c}}q[c>>2]=3}q[c+4>>2]=q[(a+(b<<4)|0)+12>>2];d=0}return d|0}function mr(){var a=0,b=0;b=q[160910];a:{if(b){break a}while(1){b=od();a=Kb(439530);b:{c:{d:{if(r[a|0]?a:0){break d}a=Kb(439538);if(r[a|0]?a:0){break d}a=Kb(439545);if(r[a|0]?a:0){break d}a=Kb(439554);if(!a|!r[a|0]){break c}}if(qL(b,a)){break b}}Ad(b,439559)}q[b>>2]=-1;a=q[160910];q[160910]=a?a:b;if(!a){break a}q[b>>2]=1;Yb(b);b=q[160910];if(!b){continue}break}}return b}function Qd(a){var b=0,c=0,d=0;a:{c=q[a+12>>2];b:{c:{if((c|0)!=q[a+16>>2]){b=q[a>>2];break c}b=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){d=c- -64|0;b=Sa(d);if(!b){break a}q[a+4>>2]=1;Qa(b,q[a>>2],c);break d}d=c<<1;b=db(q[a>>2],d);if(!b){break a}c=q[a+12>>2]}q[a>>2]=b;q[a+16>>2]=d}q[a+12>>2]=c+1;o[c+b|0]=0;b=0;if(q[a+8>>2]){break b}b=q[a>>2]}return b}q[a+8>>2]=1;return 0}function fL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-112|0;Da=c;d=de(b);a:{if(d){q[c+20>>2]=0;q[c+16>>2]=a;d=_b(d,c+16|0);break a}d=eb(a)}if(r[643740]&8){q[c>>2]=d;Ua(490082,c)}b:{if((cl(d,c+24|0)|0)<0){break b}e=Cf();if(!e){break b}f=Gk(2);if(f){g=oM(a,b);c:{if(!hL(e,f,d,b)){break c}a=rM(e,a,c+24|0,f);if(!a){break c}pM(a,b);h=a}nM(g);Yb(f)}je(e)}La(d);Da=c+112|0;return h}function VE(a,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=p[a+298>>1];e=w(d,b>>16);b=w(d,b&65535);d=e<<16;f=b+d|0;a=p[a+300>>1];g=w(a,c&65535);c=w(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)+(f>>>0>>0)|0)+(a>>>0>>0)|0)+(i>>>0>>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 UE(a,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=p[a+294>>1];e=w(d,b>>16);b=w(d,b&65535);d=e<<16;f=b+d|0;a=p[a+296>>1];g=w(a,c&65535);c=w(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)+(f>>>0>>0)|0)+(a>>>0>>0)|0)+(i>>>0>>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 GM(a){var b=0,c=0,d=0;b=Wa(a);c=b+ -3|0;a:{if(c>>>0>11){break a}if(c>>>0>=2){b=b+r[r[a+4|0]+439232|0]|0}b=r[r[a+2|0]+439232|0]+b|0;if(b>>>0>60){break a}c=b&31;if(!((32<=(b&63)>>>0?335544319>>>c|0:((1<>>c)&1)){break a}c=q[(b<<3)+438272>>2]+438760|0;if(r[a|0]!=r[c|0]){break a}if(Ta(a+1|0,c+1|0)){break a}d=q[(b<<3)+438276>>2]}return d}function lc(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;o[b+44|0]=1;q[b+40>>2]=0;d=a;a=uS(b+8|0,Jb(a,1835104368));c=t[a+16>>2]<6?271312:q[a+12>>2];c=r[c+4|0]<<8|r[c+5|0];q[d+32>>2]=c;Pa(a);Da=b+48|0;return c}function dJ(a,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:{f=b+ -15|0;if(f>>>0>3){break c}d:{switch(f-1|0){case 0:case 1:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496726)){q[a>>2]=942;return 0}if(!n[q[e+24>>2]](e,c,d,496734)){break b}q[a>>2]=943;return 0}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function VN(a,b,c,d){var e=0,f=0,g=0,h=0;if((b|0)>=1){while(1){f=0;a:{if(q[c>>2]!=64){break a}e=q[a>>2];if(e>>>0>65535){break a}g=r[(s[(e>>>6&67108862)+392448>>1]+(e&127)|0)+395520|0];if(!g){break a}e=e+q[(s[(e>>>5&134217726)+393472>>1]+(e&63)<<2)+397312>>2]|0;f=g&2?e|-2147483648:e&2147483647}q[d>>2]=f;a=a+4|0;c=c+4|0;d=d+4|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function ZF(a,b,c,d){var e=0,f=0;if(!a){return}a:{if(!d|(!b|!c)){break a}e=a+20|0;f=q[a+16>>2];a=e+(f<<2)|0;b:{if((f|0)<1){break b}while(1){if(!Ta(q[q[q[e>>2]>>2]+8>>2],b)){break b}e=e+4|0;if(e>>>0>>0){continue}break}}if((a|0)==(e|0)){return}a=q[e>>2];b=q[q[a>>2]+32>>2];if(!b){break a}a=n[b](a,4294)|0;if(!a){break a}a=q[a>>2];if(!a){break a}n[a](q[e>>2],c,d,1)|0}}function wl(a){var b=0,c=0,d=0;if(a){La(q[a>>2]);q[a>>2]=0;b=q[a+8>>2];a:{if(!b){break a}c=q[b>>2];if(!c){break a}while(1){La(c);c=q[b+4>>2];b=b+4|0;if(c){continue}break}b=q[a+8>>2]}La(b);q[a+8>>2]=0;b=q[a+12>>2];if(q[a+16>>2]>=1){while(1){c=b;b=w(d,12);La(q[c+b>>2]);La(q[(b+q[a+12>>2]|0)+4>>2]);b=q[a+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}La(b);La(a)}}function Rh(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=q[a+8>>2]-q[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(t[a+20>>2]>t[a+28>>2]){n[q[a+36>>2]](a,0,0)|0;if(!q[a+20>>2]){break a}}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;c=n[q[a+40>>2]](a,b,c,d)>>>0>=0?0:1;b=Ea;if((b|0)<0?1:(b|0)<=0?c:0){break a}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=q[a>>2]&-17;return 0}return-1}function Qz(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+16>>2];a=c;a=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(a>>>0>b>>>0){break a}b=b-a|0;a=c;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(b>>>0>=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break a}a=(c+20|0)+(b<<1)|0;d=r[a|0]<<8|r[a+1|0]}return d|0}function Ld(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=e;e=0;k=e;h=c;c=0;g=V$(j,e,h,c);e=Ea;l=g;g=g>>>0<0?e+1|0:e;f=d;e=0;i=b;d=V$(f,e,b,0);b=Ea;f=V$(f,e,h,c);c=b+f|0;b=Ea;b=c>>>0>>0?b+1|0:b;h=b;f=b+l|0;b=g;b=f>>>0>>0?b+1|0:b;g=b;b=V$(i,m,j,k)+c|0;e=Ea;e=b>>>0>>0?e+1|0:e;i=e;f=e+f|0;e=g;q[a+8>>2]=f;q[a+12>>2]=f>>>0>>0?e+1|0:e;q[a>>2]=d;q[a+4>>2]=b}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;b=q[a+504>>2];a:{if(r[b|0]==64){q[c+12>>2]=1;b=b+1|0;break a}q[c+12>>2]=0}f=c,g=eb(b),q[f>>2]=g;d=c;b=q[a+508>>2];e=b+1|0;if(e>>>0<=2){b=q[(e<<2)+356488>>2]}q[d+4>>2]=b;e=c;d=q[a+512>>2];b:{if(d>>>0<=1){b=100;if(!(d-1)){break b}b=0;break b}b=d}q[e+8>>2]=b;Cb(q[a+220>>2]);f=a,g=WO(a,c),q[f+220>>2]=g;Da=c+16|0}function Uo(a,b){var c=0,d=0,e=0,f=0;a:{if(!(q[a+8>>2]&512)|(!a|!b)){break a}e=q[a+128>>2];c=q[e+40>>2];d=c+2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}c=q[a+96>>2];d=q[q[c>>2]+32>>2];d:{if(!d){c=0;break d}c=n[d](c,4053)|0;e=q[a+128>>2]}q[e+40>>2]=c?c:-2}if(!c){break a}c=q[c+4>>2];if(!c){break a}f=n[c](a,b)|0}return f}function Tu(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if((e|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!Tb(a+4|0,b,a)){break a}if(!Su(a+8|0,b,a)){break a}q[d+12>>2]=r[a+7|0]|r[a+6|0]<<8;c=Ru(a+10|0,b,a,d+12|0)}Da=d+16|0;return c}function Tj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-240|0;Da=f;q[f>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;g=a;while(1){h=g+k|0;j=d+ -2|0;g=h-q[(j<<2)+e>>2]|0;if((n[c](a,g)|0)>=0){if((n[c](a,h)|0)>-1){break a}}a=(i<<2)+f|0;b:{if((n[c](g,h)|0)>=0){q[a>>2]=g;j=d+ -1|0;break b}q[a>>2]=h;g=h}i=i+1|0;if((j|0)<2){break a}a=q[f>>2];d=j;continue}}hp(b,f,i);Da=f+240|0}function LY(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if((e|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!Tb(a+4|0,b,a)){break a}if(!Su(a+8|0,b,a)){break a}q[d+12>>2]=r[a+7|0]|r[a+6|0]<<8;c=DY(a+10|0,b,a,d+12|0)}Da=d+16|0;return c}function ld(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}e=q[q[a>>2]+32>>2];d=0;c:{if(!e){break c}d=n[e](a,b)|0}if(d|!c){break a}d=q[a+4>>2];c=q[d+16>>2];if((c|0)<1){break b}e=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){f=q[c>>2];d:{if((f|0)==(a|0)){break d}d=q[q[f>>2]+32>>2];if(!d){break d}d=n[d](f,b)|0;if(d){break a}}c=c+4|0;if(c>>>0>>0){continue}break}}d=0}return d}function se(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return}c=q[a+96>>2];if(!c){return}d=q[a+128>>2];b=q[d+64>>2];q[d+64>>2]=b+ -1;if((b|0)<=1){b=q[c+16>>2];if(!b){return}e=c+16|0;d=q[c+8>>2];a:{while(1){if(q[b+8>>2]==(a|0)){break a}b=q[b+4>>2];if(b){continue}break}return}f=q[b>>2];g=f?f+4|0:e;e=q[b+4>>2];q[g>>2]=e;q[(e?e:c+20|0)>>2]=f;n[q[d+8>>2]](d,b);vf(d,a,c)}}function rw(a){var b=0,c=0,d=0;c=q[a+36>>2];if(!c){return 1}d=q[a+40>>2];a:{while(1){a=(b<<6)+d|0;if(q[a>>2]|q[a+4>>2]|(q[a+8>>2]|q[a+12>>2])|(q[a+16>>2]|q[a+20>>2]|(q[a+24>>2]|q[a+28>>2]))){break a}if(q[a+32>>2]|q[a+36>>2]|(q[a+40>>2]|q[a+44>>2])|(q[a+56>>2]|q[a+60>>2]|(q[a+48>>2]|q[a+52>>2]))){break a}b=b+1|0;if((c|0)!=(b|0)){continue}break}return 1}return 0}function el(a,b,c,d){var e=0,f=0,g=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(t[a+16>>2]<=b>>>0){break a}e=q[q[q[a+96>>2]+12>>2]+84>>2];if(!(!e|((c&983040)!=65536?!(c&3):0))){e=n[e](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=q[a+88>>2];if(!a){return 36}f=d,g=bb(q[d>>2],q[a+(c&16?20:16)>>2],64),q[f>>2]=g;return 0}if((e&255)!=7){break a}}e=EM(a,b,c,d)}return e}function Bb(a){var b=0,c=0,d=0,e=0,f=0,g=0;while(1){b=a;a=b+1|0;c=o[b|0];if((c|0)==32|c+ -9>>>0<5){continue}break}c=o[b|0];e=c+ -43|0;a:{if(e>>>0>2){break a}b:{switch(e-1|0){case 1:f=1;break;case 0:break a;default:break b}}c=o[a|0];b=a;g=f}if(c+ -48>>>0<10){while(1){d=(w(d,10)-o[b|0]|0)+48|0;a=o[b+1|0];b=b+1|0;if(a+ -48>>>0<10){continue}break}}return g?d:0-d|0}function fw(a){var b=0,c=0,d=0;b=q[a+132>>2];a:{if(b){break a}while(1){b=q[a+48>>2];if(!b){b=271312;break a}c=ab(1,4);if(c){Xi(c,b)}d=q[a+132>>2];b=c?c:271312;q[a+132>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+132>>2];if(!b){continue}break}}a=q[b>>2];a=a?a:271312;a=t[a+16>>2]<12?271312:q[a+12>>2];return(r[a+4|0]<<8|r[a+5|0])!=0}function Gn(a){var b=0,c=0;c=q[a+568>>2];if((c|0)!=q[a+64>>2]){b=q[a+96>>2];c=n[q[a+24>>2]](q[a+32>>2],c+42|0)|0;q[a+96>>2]=c;if(!c){q[a+96>>2]=b;return 0}o[(c+q[a+568>>2]|0)+ -2|0]=0;o[(q[a+568>>2]+q[a+96>>2]|0)+ -1|0]=0;if(b){Qa(q[a+96>>2],b,q[a+52>>2]);n[q[a+28>>2]](q[a+32>>2],b)}b=q[a+568>>2];q[a+64>>2]=b;q[a+68>>2]=b+ -1;q[a+100>>2]=b+q[a+96>>2]}return 1}function vN(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[b+4>>2]>=1){d=q[a+24>>2];while(1){q[d+(c<<2)>>2]=c;c=c+1|0;if((c|0)>2]){continue}break}}a:{if(q[b+12>>2]>=1){d=0;c=0;while(1){e=q[b+8>>2]+w(c,24)|0;f=q[e+16>>2];g=f<<2;if(!RN(g+q[a+12>>2]|0,q[e+20>>2],q[a+20>>2]+f|0,q[a+24>>2]+g|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}d=q[a+24>>2]}return d}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;a:{b:{c:{g=b+ -15|0;if(g>>>0>3){break c}f=11;d:{switch(g-1|0){case 1:q[a>>2]=q[a+16>>2]?914:933;return 15;case 0:break c;case 2:break d;default:break a}}if(!n[q[e+24>>2]](e,c,d,496741)){break b}q[a>>2]=944;return 11}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function QP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b>>2];while(1){d=d+1|0;if(d>>>0>255){q[b>>2]=0;return 0}f=n[q[a+20>>2]](s[q[a+16>>2]+(d<<1)>>1])|0;g=q[a+24>>2];a:{if(g){h=q[a+28>>2];c=0;while(1){e=q[(c<<2)+h>>2];if(!(!e|r[e|0]!=r[f|0])){if(!Ta(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}q[b>>2]=d;return c|0}function xP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+20>>2];a=(c+(q[a+16>>2]<<3)|0)+ -8|0;if(c>>>0<=a>>>0){while(1){a:{e=(a-c>>4<<3)+c|0;d=q[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)){break a}d=d>>>0>>0;c=d?e+8|0:c;a=d?a:e+ -8|0;if(c>>>0<=a>>>0){continue}}break}if(!f){return 0}a=q[f+4>>2]}else{a=0}return a|0}function RH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;f=-1;g=q[a>>2]+ -1|0;a:{if(g>>>0>1){break a}if(g-1){e=+q[a+8>>2]}else{e=v[a+8>>3]}a=q[b>>2]+ -1|0;if(a>>>0>1){break a}if(a-1){f=+q[b+8>>2]}else{f=v[b+8>>3]}pc(d,b);a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;e=f-e;f=e<0?-e:e}Da=d+16|0;return+f}function Nb(a,b,c){var d=0;a:{b:{if(t[a>>2]<=b>>>0){d=q[a+4>>2];if(b>>>0>d>>>0){break b}c=b+c|0;if(c>>>0>>0){break a}if(r[a+20|0]==1){c=c-d|0;if((q[a+8>>2]-d|0)<(c|0)){p[a+20>>1]=256;return 0}Na(d,0,c);d=a;a=q[a+4>>2];q[d+4>>2]=a+c;a=a?b:0}else{a=0}return a}I(254947,254913,437,254975);F()}I(254987,254913,438,254975);F()}I(255014,254913,439,254975);F()}function yH(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=r[a+3|0];f=(c|0)!=0;e=c|(r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8);a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=r[d+1|0];f=(c|0)!=0;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?a+ -3|0:0}function mR(a){a=a|0;var b=0;b=q[a+8>>2];Na(a+16|0,0,84);q[a+136>>2]=620;q[a+132>>2]=621;q[a+128>>2]=622;q[a+124>>2]=623;q[a+120>>2]=624;q[a+116>>2]=625;q[a+108>>2]=626;q[a+104>>2]=627;q[a+100>>2]=628;q[a+12>>2]=b;q[a+164>>2]=620;q[a+160>>2]=629;q[a+156>>2]=630;q[a+152>>2]=631;q[a+148>>2]=624;q[a+144>>2]=632;b=a+12|0;q[a+112>>2]=b;q[a+140>>2]=b;return 0}function ib(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+1>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+14|0,2)|0)!=2){break d}c=q[a+8>>2];b=d+14|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}b=r[b|0]|r[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+2}Da=d+16|0;return f}function JW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}e=ab(1,48);if(e){Vl(e,a)}f=q[b+8>>2];a=e?e:271312;q[b+8>>2]=f?f:a;if(!f){break a}if(!(!e|!a)){e=q[a+44>>2];Pa(e?e:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}b=q[a+8>>2];if(!b){return 0}return n[b](q[a+12>>2],c,d)|0}function nB(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+12>>2];if(b){e=q[a+28>>2];q[b+104>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+44|0]=0;q[b+64>>2]=9;q[b+12>>2]=0;q[b+16>>2]=0;d=q[b+180>>2];c=q[b+100>>2];if((c|0)!=(b+112|0)){if(c){n[q[d+8>>2]](d,c)}q[b+100>>2]=0}c=q[b+88>>2];if(c){n[q[d+8>>2]](d,c)}b=Na(b,0,184);if(b){n[q[e+8>>2]](e,b)}q[a+12>>2]=0}}function Qk(a,b){var c=0,d=0;c=Da-48|0;Da=c;d=qd(505253);a:{if(!b){q[c+40>>2]=0;b=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=b;q[c+32>>2]=0;b=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=b;Dc(a,d,c,1);break a}q[c+40>>2]=b;b=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=b;q[c+32>>2]=3;b=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=b;Dc(a,d,c+16|0,1)}Da=c+48|0}function Ec(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+3>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+12|0,4)|0)!=4){break d}c=q[a+8>>2];b=d+12|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+4}Da=d+16|0;return f}function wc(a,b,c){var d=0;d=Da-48|0;Da=d;a:{if(!c){q[d+40>>2]=0;c=q[d+44>>2];q[d+8>>2]=q[d+40>>2];q[d+12>>2]=c;q[d+32>>2]=0;c=q[d+36>>2];q[d>>2]=q[d+32>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);break a}q[d+40>>2]=c;c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;q[d+32>>2]=3;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;a=Dc(a,b,d+16|0,1)}Da=d+48|0;return a}function SF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Ta(b,4121)){q[c>>2]=q[a+36>>2];q[c+4>>2]=q[a+40>>2];q[c+8>>2]=q[a+44>>2];q[c+12>>2]=q[a+48>>2];q[c+16>>2]=q[a+52>>2];q[c+20>>2]=q[a+56>>2];q[c+24>>2]=q[a+60>>2];q[c+28>>2]=q[a- -64>>2];break b}if(!Ta(b,4142)){q[c>>2]=q[a+28>>2];break b}d=12;if(Ta(b,4163)){break a}o[c|0]=r[a+32|0]}d=0}return d|0}function OL(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;if(!(!a|!b)){e=q[a>>2];g=q[b>>2];c=c<<16;i=bb(e,g,c);f=q[a+4>>2];h=q[b+8>>2];j=bb(f,h,c);d=e;e=q[b+4>>2];k=bb(d,e,c);d=f;f=q[b+12>>2];l=bb(d,f,c);d=q[a+8>>2];g=bb(d,g,c);a=q[a+12>>2];m=b,n=g+bb(a,h,c)|0,q[m+8>>2]=n;q[b+4>>2]=k+l;q[b>>2]=i+j;m=b,n=bb(d,e,c)+bb(a,f,c)|0,q[m+12>>2]=n}}function qj(a){a=a|0;var b=0,c=0;b=Da-16|0;q[b+12>>2]=a;q[a+60>>2]=2333;q[a+64>>2]=0;q[a+52>>2]=1667;q[a+56>>2]=275;q[a+44>>2]=1e3;q[a+48>>2]=275;q[a+36>>2]=500;q[a+40>>2]=400;o[a+32|0]=1;q[a+28>>2]=1;c=b;b=q[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;q[c+8>>2]=b;q[a+68>>2]=b;a:{if((b|0)<=-1){c=0-b|0}else{if(b){break a}c=123456789}q[a+68>>2]=c}return 0}function Ue(a,b,c){var d=0,e=0;a:{b:{if(q[b>>2]!=(a|0)){break b}d=Sa(8);if(!d){break b}q[d+4>>2]=c;c=q[b+4>>2];c:{if(c){q[d>>2]=q[c>>2];q[c>>2]=d;break c}q[d>>2]=0;c=q[b+8>>2];if(!c){break a}q[c>>2]=d;q[b+4>>2]=q[b+8>>2]}if(q[b>>2]!=(a|0)){break b}a=q[b+4>>2];q[b+8>>2]=a;a=q[a>>2];q[b+4>>2]=a;e=(a|0)!=0}return e}q[a+4>>2]=d;q[b+4>>2]=d;return 1}function NR(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;while(1){f=q[b>>2];q[b>>2]=1;if(f){continue}break}f=0;g=q[b+4>>2];a:{if(Yc(g,c,q[b+8>>2])){break a}c=q[g+84>>2];q[d>>2]=q[c+32>>2]-q[c+44>>2];q[e>>2]=q[c+48>>2]+q[c+36>>2];if(q[a+20>>2]<=-1){q[d>>2]=0-q[d>>2]}f=1;if(q[a+24>>2]>-1){break a}q[e>>2]=0-q[e>>2]}q[b>>2]=0;return f|0}function LB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a>>2];d=q[a+44>>2];if(d){e=q[d>>2];if(!(!e|!q[e+96>>2])){q[e+88>>2]=d}}d=Yo(q[c+504>>2],b);if(!d){b=q[q[c+504>>2]+88>>2];c=q[b+16>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=c;q[a+36>>2]=q[b+36>>2];c=q[b+32>>2];q[a+28>>2]=q[b+28>>2];q[a+32>>2]=c;c=q[b+24>>2];q[a+20>>2]=q[b+20>>2];q[a+24>>2]=c}return d|0}function KB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a>>2];d=q[a+44>>2];if(d){e=q[d>>2];if(!(!e|!q[e+96>>2])){q[e+88>>2]=d}}d=Zo(q[c+504>>2],b);if(!d){b=q[q[c+504>>2]+88>>2];c=q[b+16>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=c;q[a+36>>2]=q[b+36>>2];c=q[b+32>>2];q[a+28>>2]=q[b+28>>2];q[a+32>>2]=c;c=q[b+24>>2];q[a+20>>2]=q[b+20>>2];q[a+24>>2]=c}return d|0}function Gi(a){var b=0,c=0;b=Da-16|0;Da=b;while(1){q[b+12>>2]=a;c=r[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}a=jp(a,b+12|0);Da=b+16|0;c=a;b=a>>>0<=2147483648?0:1;a=Ea;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0>=2147483647?0:1:0;a=a?c:2147483647;return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function uL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(b){g=Wa(b)}h=1;if(c){j=Wa(c)}if(d){h=Wa(d)+1|0}i=g+1|0;k=j+1|0;l=i+k|0;e=Sa(l+h|0);f=0;a:{if(!e){break a}b:{if(b){Qa(e,b,i);break b}o[e|0]=0}c:{if(c){Qa((e+g|0)+1|0,c,k);break c}o[e+i|0]=0}d:{if(d){Qa(((e+g|0)+j|0)+2|0,d,h);break d}o[e+l|0]=0}f=1;if(xf(a,e)){break a}La(e);f=0}return f}function nQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+12>>2];a:{if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+68|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function XD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Da-16|0;Da=e;a=q[a+532>>2];a:{if(!a){d=6;break a}oj(q[a+136>>2],e,q[a+4>>2]);a=q[a+4>>2];f=a>>>0>>0;a=f?a:b;if(a){Qa(c,e,a<<2);while(1){d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=0;if(!f){break a}while(1){q[(a<<2)+c>>2]=32768;a=a+1|0;if((b|0)!=(a|0)){continue}break}}Da=e+16|0;return d|0}function Kd(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b+ -1023|0;break a}a=a*8.98846567431158e+307;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}f(0,0);f(1,b+1023<<20);return a*+g()}function uu(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -24|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,32);if(c){iV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;La(q[b+28>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function Aq(a){var b=0,c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;d=q[a>>2];a:{if(d>>>0<=3){b=489793;b:{c:{switch(d-1|0){case 0:b=489802;break b;case 2:break a;case 1:break c;default:break b}}b=489808}Ua(b,0)}b=q[a+4>>2];if(b>>>0<=3){Ua(q[(b<<2)+490048>>2],0)}e=c,f=Qc(q[a+8>>2]),q[e>>2]=f;Ua(489722,c);Ck(q[a+12>>2]);Gb(32);fe(q[a+16>>2]);Gb(10)}Da=c+16|0}function Ak(a,b){var c=0;a:{if((a|0)<0){break a}if((a|0)<=127){o[b|0]=a;return 1}if((a|0)<=2047){o[b+1|0]=a&63|128;o[b|0]=a>>>6|192;return 2}if((a|0)<=65535){o[b+2|0]=a&63|128;o[b|0]=a>>>12|224;o[b+1|0]=a>>>6&63|128;return 3}if((a|0)>1114111){break a}o[b+3|0]=a&63|128;o[b|0]=a>>>18|240;o[b+2|0]=a>>>6&63|128;o[b+1|0]=a>>>12&63|128;c=4}return c}function pl(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!d|(!b|!c)){break a}f=q[a+16>>2];if(!(f&31)){e=db(q[a+12>>2],w(f,12)+384|0);if(!e){break a}q[a+12>>2]=e}e=eb(b);g=q[a+12>>2];h=w(f,12);b=g+h|0;q[b>>2]=e;e=Sa(d);q[b+4>>2]=e;b=q[b>>2];if(!(!e|!b)){Qa(e,c,d);q[(w(f,12)+g|0)+8>>2]=d;q[a+16>>2]=q[a+16>>2]+1;return}La(b);La(q[(q[a+12>>2]+h|0)+4>>2])}}function cd(a){var b=0,c=0,d=0,e=0,f=0;b=Da-32|0;Da=b;a:{if(!a){Rb(489993);break a}d=a?q[a>>2]:0;q[b+20>>2]=q[a+4>>2];q[b+16>>2]=d;Ua(489321,b+16|0);Vq(a,b+24|0);while(1){d=0;c=b+24|0;b:{if(!c){break b}c=q[c>>2];if(!c){break b}d=q[c>>2]}e=b,f=Qc(d),q[e>>2]=f;Ua(489352,b);ki(Sq(b+24|0));Gb(10);if(cM(a,b+24|0)){continue}break}Gb(10)}Da=b+32|0}function Ng(a,b){var c=0,d=0,e=0;a:{d=q[a+12>>2];b:{c:{if((d|0)!=q[a+16>>2]){c=q[a>>2];break c}c=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=d- -64|0;c=Sa(e);if(!c){break a}q[a+4>>2]=1;Qa(c,q[a>>2],d);break d}e=d<<1;c=db(q[a>>2],e);if(!c){break a}d=q[a+12>>2]}q[a>>2]=c;q[a+16>>2]=e}q[a+12>>2]=d+1;o[d+c|0]=b;c=1}return c}q[a+8>>2]=1;return 0}function rP(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;while(1){d=b;b=b+1|0;if(r[d|0]==42){continue}break}d=fb(d,3507)?d:3507;b=q[a>>2];a:{while(1){if((b|0)>=1){b=b+ -1|0;if(Ta(q[q[a+16>>2]+w(b,144)>>2],d)){continue}break a}break}e=q[a+84>>2];b=q[a+76>>2];q[c+8>>2]=q[q[a+16>>2]+w(b,144)>>2];q[c+4>>2]=d;q[c>>2]=a;hb(e,2,3515,c)}Da=c+16|0;return b}function KR(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;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}g=q[b+4>>2];a=0;a:{if(Yc(g,c,q[b+8>>2])){break a}c=q[g+84>>2];a=0;if(q[c+72>>2]!=1869968492){break a}a=0;if(p[c+110>>1]>>>0<=d>>>0){break a}a=q[c+112>>2]+(d<<3)|0;q[e>>2]=q[a>>2];q[f>>2]=q[a+4>>2];a=1}q[b>>2]=0;return a|0}function mP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-16|0;Da=d;a:{b:{e=q[a>>2];if((e|0)>=1){h=q[a+16>>2];while(1){g=e+ -1|0;f=q[w(g,144)+h>>2];if(i=0,j=!Ra(f,b,c),k=r[c+f|0],k?i:j){break b}f=(e|0)>1;e=g;if(f){continue}break}}e=q[a+84>>2];q[d+8>>2]=b;q[d+4>>2]=c;q[d>>2]=a;hb(e,2,3568,d);a=0;break a}a=w(g,144)+h|0}Da=d+16|0;return a}function cy(a){var b=0,c=0,d=0;c=Da-16|0;Da=c;a:{if(!a){break a}d=r[a|0];if(!d){break a}while(1){b:{o[(c+12|0)+b|0]=d;b=b+1|0;if((b|0)==3){b=3;break b}d=r[a+b|0];if(d){continue}}break}if(b>>>0<=3){Na((c+12|0)+b|0,32,4-b|0)}a=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}Da=c+16|0;return b}function gY(a,b){var c=0,d=0,e=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}Jf(a+4|0,b,a,a+6|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;return 1}e=Qu(a,b)}return e}function gN(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;a:{h=w(d,h);if((h|0)<1){break a}i=c+h|0;if(g){while(1){h=0;while(1){o[a+h|0]=w(r[e+h|0],r[c+h|0])+255>>>8;h=h+1|0;if((h|0)!=(g|0)){continue}break}e=e+f|0;a=a+b|0;c=c+d|0;if(c>>>0>>0){continue}break a}}while(1){c=c+d|0;if(c>>>0>>0){continue}break}}}function LI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a+8>>2]=17;q[a>>2]=932;return 19}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function LF(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+2>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+13|0,3)|0)!=3){break d}c=q[a+8>>2];b=d+13|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b+2|0]|(r[b+1|0]<<8|r[b|0]<<16);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+3}Da=d+16|0;return f}function Kt(a,b,c){var d=0;if(!Nb(b,a,6)){return 0}o[a+1|0]=c;o[a+3|0]=8;o[a+2|0]=0;o[a|0]=c>>>8;d=a+4|0;if(!Nb(b,d,2)){return 0}o[a+4|0]=256;o[a+5|0]=1;c=1;if(!Nb(b,d,4)){return 0}a:{if(!(r[a+3|0]&16)){break a}c=0;if(!Nb(b,a,(r[a+5|0]<<1|r[a+4|0]<<9)+8|0)){break a}a=(a+4|0)+(r[a+5|0]<<1|r[a+4|0]<<9)|0;o[a+3|0]=0;o[a+2|0]=0;c=1}return c}function Jj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=q[a+128>>2];b=q[d+28>>2];c=b+2|0;b:{if(c>>>0>2){break b}c:{switch(c-1|0){case 0:break b;case 1:break c;default:break a}}b=q[a+96>>2];c=q[q[b>>2]+32>>2];d:{if(!c){b=0;break d}b=n[c](b,4064)|0;d=q[a+128>>2]}q[d+28>>2]=b?b:-2}if(!b){break a}b=q[b>>2];if(!b){break a}e=n[b](a)|0}return e}function zM(a,b){var c=0,d=0,e=0,f=0,g=0;c=Cd(a,b);a:{if(!c){break a}f=q[b+4>>2];d=q[b>>2];q[c>>2]=d;q[c+4>>2]=f;q[c+8>>2]=q[b+8>>2];q[c+4>>2]=d;g=Cd(a,q[b+8>>2]);if(!g){break a}q[c+8>>2]=g-c|1;if(q[b>>2]>=1){while(1){f=e<<2;d=RL(a,q[f+q[b+8>>2]>>2]);if(!d){return 0}q[f+g>>2]=d-c|1;e=e+1|0;if((e|0)>2]){continue}break}}e=c}return e}function Xi(a,b){var c=0,d=0;c=Da-48|0;Da=c;q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;d=x_(c+8|0,Jb(b,1195656518));q[a>>2]=d;if(iw(d,b)){Pa(q[a>>2]);q[a>>2]=271312}Da=c+48|0}function xr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[a>>2];if(i){d=q[b+12>>2];e=q[b+8>>2];f=q[b+4>>2];g=q[b>>2];j=q[a+16>>2];a=0;while(1){c=(a<<3)+j|0;h=q[c+4>>2];d=(d|0)>(h|0)?d:h;c=q[c>>2];e=(e|0)>(c|0)?e:c;f=(f|0)>(h|0)?h:f;g=(g|0)>(c|0)?c:g;a=a+1|0;if((i|0)!=(a|0)){continue}break}q[b+12>>2]=d;q[b+8>>2]=e;q[b+4>>2]=f;q[b>>2]=g}}function Ay(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;e=q[a+16>>2];d=b;b=s[a+8>>1]>>>1|0;d=Oa(d,1,0,b+1|0,0,c+12|0);Da=c+16|0;if(q[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=r[e+1|0];c=f|r[e|0]<<8;if(!c){break a}o[a+d|0]=c+ -32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}o[a+d|0]=0;a=d}return a|0}function iN(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:{e=w(b,e);if((e|0)<1){break a}g=a+e|0;if(f){while(1){e=0;while(1){h=a+e|0;i=r[c+e|0]+r[h|0]|0;o[h|0]=i>>>0<255?i:255;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=c+d|0;a=a+b|0;if(a>>>0>>0){continue}break a}}while(1){a=a+b|0;if(a>>>0>>0){continue}break}}}function Wr(a){var b=0,c=0;b=q[a+8>>2];if(b){if(q[a+16>>2]>=1){while(1){La(q[(c<<2)+b>>2]);b=q[a+8>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b)}b=q[a+4>>2];if(b){if(q[a+12>>2]>=1){c=0;while(1){La(q[(c<<2)+b>>2]);b=q[a+4>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b)}b=q[a+32>>2];if(b){La(b)}a=q[a+40>>2];if(a){La(a)}}function VH(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(b){if(!d){break a}q[d>>2]=1;f=Se(a);b:{if(!f){d=0;break b}g=q[f+52>>2];a=0;c:{if(!g){break c}q[e+8>>2]=g;a=1}g=e+8|0;h=q[f+56>>2];if(h){q[(e+8|0)+(a<<2)>>2]=h;a=a+1|0}d=XH(g,a,b,c,d);cc(f)}Da=e+16|0;return d}I(504091,504068,1187,504217);F()}I(504101,504068,1188,504217);F()}function Qu(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];f=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if(!((f|0)==-1|f>>>0>=(r[a+7|0]|r[a+6|0]<<8)>>>0)){e=a+4|0;d=a;a=w(Z$(r[a+5|0]|r[a+4|0]<<8),f);Jf(e,b,d,(a|0)<0?271312:(d+(a<<1)|0)+8|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;d=1}return d}function Mu(a,b,c,d){var e=0,f=0,g=0;a:{e=w(b,20)+a|0;g=r[e+18|0];f=s[e+16>>1];if((g>>>1^-1)&1|!f){break a}p[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Mu(a,e,c,d);b:{if((c&-2)==4){q[(w(e,20)+a|0)+12>>2]=0-q[(w(b,20)+a|0)+12>>2];break b}q[(w(e,20)+a|0)+8>>2]=0-q[(w(b,20)+a|0)+8>>2]}a=w(e,20)+a|0;p[a+16>>1]=0-f;o[a+18|0]=g}}function rc(a){var b=0,c=0;a:{if(!q[a+4>>2]){break a}b=q[a+20>>2]+ -2|0;b:{if(b>>>0<=1){if(b-1){break b}if(by(a)){break b}q[a+20>>2]=1}b=q[a+16>>2];c=Sa(b);if(!c){break a}b=Qa(c,q[a+12>>2],b);c=q[a+28>>2];if(c){n[c](q[a+24>>2]);q[a+24>>2]=0;q[a+28>>2]=0}q[a+28>>2]=427;q[a+24>>2]=b;q[a+12>>2]=b;q[a+20>>2]=2}return q[a+12>>2]}return 0}function Rp(a,b,c,d){var e=0;e=Da-48|0;Da=e;a:{if(!(r[643740]&16)){break a}if(c){q[e+32>>2]=d?503339:503338;q[e+20>>2]=c;q[e+16>>2]=b;q[e+28>>2]=d?d:503338;q[e+24>>2]=d?503329:503338;Ua(503313,e+16|0);break a}if(!d){break a}q[e+12>>2]=503339;q[e+8>>2]=d;q[e+4>>2]=503329;q[e>>2]=b;Ua(503341,e)}a=sL(q[a+8>>2],b,c,d);Da=e+48|0;return a}function CT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];a:{if(n[q[e+24>>2]](e,b,q[e+56>>2])>>>0<=31){e=q[a+12>>2];f=0;if(1<>2]](e,b,q[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){q[d>>2]=2527;return 1}a=q[a+12>>2];q[d>>2]=0;f=0;if(!b|!c){break a}f=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return f|0}function hp(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Da-256|0;Da=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;q[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Qa(d,q[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Qa(q[g>>2],q[(d<<2)+b>>2],f);q[g>>2]=q[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=q[h>>2];continue}}Da=e+256|0}function xp(a,b,c,d){var e=0,f=0;e=Da-160|0;Da=e;Qa(e+8|0,507304,144);a:{b:{if(b+ -1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}q[e+52>>2]=a;q[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;q[e+56>>2]=b;a=a+b|0;q[e+36>>2]=a;q[e+24>>2]=a;Nh(e+8|0,c,d);if(!b){break a}a=q[e+28>>2];o[a-((a|0)==q[e+24>>2])|0]=0;break a}q[160942]=61}Da=e+160|0}function hN(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:{e=w(b,e);if((e|0)<1){break a}g=a+e|0;if(f){while(1){e=0;while(1){h=a+e|0;i=r[h|0]-r[c+e|0]|0;o[h|0]=(i|0)>0?i:0;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=c+d|0;a=a+b|0;if(a>>>0>>0){continue}break a}}while(1){a=a+b|0;if(a>>>0>>0){continue}break}}}function cJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=0;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break a}}q[a>>2]=933;q[a+12>>2]=q[a+12>>2]+1;return 0}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function QE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=q[q[q[a>>2]+96>>2]+64>>2]+ -35|0;a:{if(e>>>0>5){break a}b:{switch(e-1|0){case 4:if(r[a+615|0]){break a}a=q[b+16>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d;break a;case 0:case 1:case 2:case 3:break a;default:break b}}a=q[b+16>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|8}function MZ(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+3|0]|r[a+2|0]<<8;if((c|0)==7){break a}d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=rv(a?d+a|0:271312,b,c)}return d}function KY(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+3|0]|r[a+2|0]<<8;if((c|0)==9){break a}d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=Uu(a?d+a|0:271312,b,c)}return d}function wp(a,b,c){var d=0,e=0,f=0;d=r[c+74|0];o[c+74|0]=d+ -1|d;d=q[c+4>>2];e=q[c+8>>2]-d|0;f=b;a:{if((e|0)<1){break a}f=d;d=e>>>0>>0?e:b;Qa(a,f,d);q[c+4>>2]=d+q[c+4>>2];a=a+d|0;f=b-d|0}d=f;if(d){while(1){b:{if(!vp(c)){e=n[q[c+32>>2]](c,a,d)|0;if(e+1>>>0>1){break b}}return b-d|0}a=a+e|0;d=d-e|0;if(d){continue}break}}return b}function AJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=_$(b+ -11|0,31);if(d>>>0>9){break b}c=0;c:{switch(d-1|0){default:return 55;case 0:return 56;case 1:break a;case 2:case 3:case 4:case 5:case 6:case 7:break b;case 8:break c}}q[a>>2]=911;return 2}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0} -function kf(a,b,c,d,e){var f=0;f=q[a+96>>2];f=q[f+88>>2]+w(q[f+72>>2],20)|0;d=d?48:s[f+12>>1]&96|16;d=e?d|64:d;a:{b:{if(r[a+140|0]){c=q[a+104>>2];e=r[c+5|0]|r[c+4|0]<<8;e=td(e?c+e|0:271312,b)+ -1|0;a=d;if(e>>>0>2){break b}c:{switch(e-1|0){default:a=d|2;break b;case 0:a=d|4;break b;case 1:break c}}a=r[c+11|0]|r[c+10|0]<<8;a=d|(td(a?a+c|0:271312,b)<<8|8);break b}if(!c){break a}a=c|d}p[f+12>>1]=a}}function WA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=q[a>>2];d=q[e+140>>2];c=q[b+8>>2];g=q[e+32>>2];f=q[b+16>>2];if(f){c=(w(c,f)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}c=c+32>>6;a:{b:{if(b-1){b=23;if((c|0)==q[g+12>>2]+32>>6){break b}break a}b=23;if((c|0)!=(q[d+44>>2]+q[d+40>>2]|0)){break a}}b=0;Jd(e,0);q[a+24>>2]=q[d+40>>2]<<6;q[a+28>>2]=0-(q[d+44>>2]<<6);q[a+36>>2]=s[d+4>>1]<<6}return b|0}function gI(a){var b=0,c=0;if(a){a:{if(q[a+52>>2]){break a}if($h(a)){break a}return}q[a+68>>2]=q[a+68>>2]+1}b:{c:{if(!q[160941]){while(1){c=Sa(28);b=q[160941];q[160941]=b?b:c;if(!b){break c}if(!q[160941]){continue}break}}break b}Ud()}d:{while(1){b=q[160940];if((b|0)==(a|0)){if(!a){break d}cc(a);return}c=q[160940];q[160940]=(b|0)==(c|0)?a:c;if((b|0)!=(c|0)){continue}break}if(!b){break d}cc(b)}}function Pl(a,b){var c=0,d=0,e=0,f=0;f=6;a:{if(!b){break a}if(!a){return 35}if(!(o[a+9|0]&1)){break a}e=q[a+128>>2];c=q[e+32>>2];d=c+2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}c=q[a+96>>2];d=q[q[c>>2]+32>>2];d:{if(!d){c=0;break d}c=n[d](c,273151)|0;e=q[a+128>>2]}q[e+32>>2]=c?c:-2}if(!c){break a}c=q[c+16>>2];if(!c){break a}f=n[c](a,b)|0}return f}function Hb(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+3>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+12|0,4)|0)!=4){break d}c=q[a+8>>2];b=d+12|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}b=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+4}Da=d+16|0;return f}function EF(a,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=Wa(c);f=b+6|0;a:{b:{if((b|0)<=-6){if(f){break a}a=0;break b}a=q[a>>2];a=n[q[a+4>>2]](a,f)|0;if(!a){return 64}Na(a,0,f)}g=0;c=Qa(a,c,b);a=c+b|0;b=r[4330]|r[4331]<<8;o[a+4|0]=b;o[a+5|0]=b>>>8;b=r[4326]|r[4327]<<8|(r[4328]<<16|r[4329]<<24);o[a|0]=b;o[a+1|0]=b>>>8;o[a+2|0]=b>>>16;o[a+3|0]=b>>>24;q[d>>2]=c;q[e>>2]=0}return g|0}function dZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;c=r[a+3|0]|r[a+2|0]<<8;e=c?c+a|0:271312;c=q[b+96>>2];c=yb(e,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){c=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;f=r[c+1|0];c=r[c|0];e=q[57269];q[d+8>>2]=q[57268];q[d+12>>2]=e;e=q[57267];q[d>>2]=q[57266];q[d+4>>2]=e;e=a;a=f|c<<8;f=wm(a?e+a|0:271312,b,d)}Da=d+16|0;return f|0}function TR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;while(1){d=q[b>>2];q[b>>2]=1;if(d){continue}break}d=q[b+4>>2];g=c,h=Ma(p[d+70>>1],q[q[d+88>>2]+20>>2]),q[g>>2]=h;g=c,h=Ma(p[d+72>>1],q[q[d+88>>2]+20>>2]),q[g+4>>2]=h;e=Ma(p[d+74>>1],q[q[d+88>>2]+20>>2]);d=q[c+4>>2];f=q[c>>2];e=e+(d-f|0)|0;q[c+8>>2]=e;if(q[a+24>>2]<=-1){q[c+8>>2]=0-e;q[c+4>>2]=0-d;q[c>>2]=0-f}q[b>>2]=0;return 1}function DA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=q[c+4>>2];a=q[a+20>>2]+w(b,56)|0;q[a>>2]=q[c>>2];q[a+4>>2]=d;b=q[c+52>>2];q[a+48>>2]=q[c+48>>2];q[a+52>>2]=b;b=q[c+44>>2];q[a+40>>2]=q[c+40>>2];q[a+44>>2]=b;b=q[c+36>>2];q[a+32>>2]=q[c+32>>2];q[a+36>>2]=b;b=q[c+28>>2];q[a+24>>2]=q[c+24>>2];q[a+28>>2]=b;b=q[c+20>>2];q[a+16>>2]=q[c+16>>2];q[a+20>>2]=b;b=q[c+12>>2];q[a+8>>2]=q[c+8>>2];q[a+12>>2]=b}function ZJ(a,b,c,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=q[b>>2];c=c-f&-2;a=c+f|0;h=c;c=q[d>>2];if((h|0)>(e-c|0)){g=(r[a+ -1|0]&248)==216;a=g?a+ -2|0:a}a:{if(f>>>0>=a>>>0){break a}if(c>>>0>>0){while(1){f=r[f|0]|r[f+1|0]<<8;q[d>>2]=c+2;p[c>>1]=f;f=q[b>>2]+2|0;q[b>>2]=f;if(f>>>0>=a>>>0){break a}c=q[d>>2];if(c>>>0>>0){continue}break}}if((c|0)!=(e|0)){break a}g=2}return g|0}function Sv(a,b,c){var d=0,e=0;d=r[a+1|0]|r[a|0]<<8;if((r[c+7|0]|r[c+6|0]<<8)>>>0<=d>>>0){return x(0)}d=(d<<2)+c|0;d=r[d+8|0]|r[d+9|0]<<8|(r[d+10|0]<<16|r[d+11|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);e=r[a+3|0]|r[a+2|0]<<8;a=r[c+2|0]|r[c+3|0]<<8|(r[c+4|0]<<16|r[c+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return Vi(d?d+c|0:271312,e,q[b+64>>2],q[b+60>>2],a?a+c|0:271312)}function Fy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=q[a+868>>2];a:{if(!d|s[a+648>>1]<=b>>>0){break a}e=8;b=q[d+8>>2]+(b<<1)|0;b=r[b|0]<<8|r[b+1|0];c=s[a+660>>1];if(b+c>>>0>s[d+2>>1]){break a}e=0;if(!c){break a}a=q[a+672>>2];c=a+(c<<2)|0;b=q[d+4>>2]+(b<<2)|0;while(1){o[a|0]=r[b|0];o[a+1|0]=r[b+1|0];o[a+2|0]=r[b+2|0];o[a+3|0]=r[b+3|0];b=b+4|0;a=a+4|0;if(a>>>0>>0){continue}break}}return e|0}function pc(a,b){var c=0;a:{b:{c=q[b>>2]+ -3|0;if(c>>>0>6){break b}c:{switch(c-1|0){default:c=q[b+8>>2];q[a>>2]=3;break a;case 2:c=q[b+8>>2];q[a>>2]=6;break a;case 4:c=q[b+8>>2];q[a>>2]=8;break a;case 0:case 1:case 3:break b;case 5:break c}}c=q[b+8>>2];q[a>>2]=9;break a}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;return}q[a+8>>2]=c&1?(c&-2)+b|0:c}function IN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;e=q[(q[a>>2]+(q[a+16>>2]<<2)|0)- -64>>2];a:{b:{if(Yc(e,q[a+20>>2],2560)){a=b;break b}d=q[e+84>>2];a=q[d+28>>2];q[b>>2]=q[d+24>>2];q[b+4>>2]=a;a=q[d+52>>2];q[b+24>>2]=q[d+48>>2];q[b+28>>2]=a;e=q[d+44>>2];a=b+16|0;q[a>>2]=q[d+40>>2];q[a+4>>2]=e;e=q[d+36>>2];q[b+8>>2]=q[d+32>>2];q[b+12>>2]=e;if(!c){break a}d=q[b+28>>2]}q[a>>2]=d}return 1}function zQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[a+8>>2]=c;q[a+4>>2]=b;q[a+12>>2]=0;q[a+16>>2]=d;q[a>>2]=b;b=q[72544];q[a+20>>2]=q[72543];q[a+24>>2]=b;b=q[72546];q[a+28>>2]=q[72545];q[a+32>>2]=b;b=q[72548];q[a+36>>2]=q[72547];q[a+40>>2]=b;b=q[72550];q[a+44>>2]=q[72549];q[a+48>>2]=b;b=q[72552];q[a+52>>2]=q[72551];q[a+56>>2]=b;b=q[72554];q[a+60>>2]=q[72553];q[a+64>>2]=b;q[a+68>>2]=q[72555]}function az(a,b){a=a|0;b=b|0;var c=0,d=0;c=n[q[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=lb(b,163008,d);if(c){break a}q[a+468>>2]=0;q[a+460>>2]=0;q[a+464>>2]=0;q[a+452>>2]=0;q[a+456>>2]=0;p[a+472>>1]=65535;if(!s[a+372>>1]){return 0}c=lb(b,163184,d);if(c){break a}if(s[d>>1]<2){return 0}c=lb(b,163200,d);if(c){break a}c=0;if(s[d>>1]<5){break a}c=lb(b,163232,d)}return c|0}function SL(a,b){var c=0,d=0;a:{if(b){while(1){if(!Dd(a,b,32)){break a}c=q[b+8>>2]+ -3|0;b:{if(c>>>0>6){break b}c:{switch(c-1|0){default:if(bl(a,q[b+16>>2])){break b}break a;case 2:if(fM(a,q[b+16>>2])){break b}break a;case 4:if(Dd(a,q[b+16>>2],40)){break b}break a;case 0:case 1:case 3:break b;case 5:break c}}if(!Dd(a,q[b+16>>2],16)){break a}}b=q[b>>2];if(b){continue}break}}d=1}return d}function Vb(a,b){var c=0,d=0,e=0,f=0;a:{c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;if(c>>>0>1){break a}if(c-1){return Q_(a,b)}d=r[a+3|0];e=r[a+2|0];f=d|e<<8;if(!f){return 1}c=0;while(1){d=(e<<8|d)>>>0>c>>>0?(w(c,6)+a|0)+4|0:271704;if(!eh(b,r[d|0]<<8|r[d+1|0],r[d+3|0]|r[d+2|0]<<8)){break a}c=c+1|0;if((f|0)==(c|0)){return 1}else{d=r[a+3|0];e=r[a+2|0];continue}}}return 0}function Lj(a,b,c){var d=0,e=0,f=0,g=0;d=q[c+16>>2];a:{if(!d){if(ap(c)){break a}d=q[c+16>>2]}f=q[c+20>>2];if(d-f>>>0>>0){return n[q[c+36>>2]](c,a,b)|0}b:{if(o[c+75|0]<0){break b}e=b;while(1){d=e;if(!d){break b}e=d+ -1|0;if(r[e+a|0]!=10){continue}break}e=n[q[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}b=b-d|0;a=a+d|0;f=q[c+20>>2];g=d}Qa(f,a,b);q[c+20>>2]=q[c+20>>2]+b;e=b+g|0}return e}function Kg(a,b){var c=0,d=0,e=0;a:{c=yd(a);if(!c){break a}d=Hc(q[a+16>>2]);if(!d){tb(c);_a(a,2,499215,0);return}q[d+8>>2]=c;q[d>>2]=b;q[d+12>>2]=0;b=q[a+1312>>2];b:{if(b>>>0<=63){q[a+1312>>2]=b+1;b=(w(b,24)+a|0)+1320|0;break b}b=Sa(24);if(!b){break a}}q[b+8>>2]=0;q[b>>2]=q[a+4>>2];e=b;c=q[a>>2];if(c){c=q[c>>2]}else{c=0}q[e+4>>2]=c;q[a+4>>2]=b;if(!b){break a}q[b+8>>2]=18;q[b+16>>2]=d}}function qK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=1;c=o[b+2|0];a:{if((c|0)>-1){break a}b:{c:{d:{d=r[b|0];if((d|0)==239){a=191;b=r[b+1|0];if((b|0)!=191){break d}if((c&255)>>>0<=189){break b}break a}if((c&255)>>>0>191){break a}a=r[b+1|0];if((d|0)!=224){break c}return(a&192)==192|a>>>0<160}a=b;if((c&255)>>>0>191){break a}}if(!(a&128)){break a}}e=(d|0)==237?a>>>0>159:(a&192)==192}return e|0}function Xz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=q[b>>2]+1|0;if(c>>>0<=65535){h=b;d=q[a+16>>2];a=r[d+6|0]<<8|r[d+7|0];c=c>>>0>>0?a:c;b=c-a|0;g=r[d+9|0]|r[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=r[a+1|0]|r[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}q[h>>2]=e}return f|0}function AB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[b+8>>2];e=q[a>>2];g=q[e+32>>2];d=q[e+132>>2];f=q[b+16>>2];if(f){c=(w(c,f)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}c=c+32>>6;a:{b:{if(b-1){b=23;if((c|0)==q[g+12>>2]+32>>6){break b}break a}b=23;if((c|0)!=s[d+96>>1]){break a}}b=0;Jd(e,0);c=s[d+80>>1];q[a+24>>2]=c<<6;q[a+28>>2]=c-s[d+96>>1]<<6;q[a+36>>2]=s[d+102>>1]<<6}return b|0}function iB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=q[b+8>>2];c=q[a>>2];f=q[c+32>>2];e=q[b+16>>2];if(e){d=(w(d,e)+36|0)/72|0}b=q[b>>2];if(b>>>0>1){return 7}d=d+32>>6;a:{b:{if(b-1){b=23;if((d|0)==q[f+12>>2]+32>>6){break b}break a}b=23;if((d|0)!=(q[c+208>>2]+q[c+204>>2]|0)){break a}}b=0;Jd(c,0);q[a+24>>2]=q[c+204>>2]<<6;q[a+28>>2]=0-(q[c+208>>2]<<6);q[a+36>>2]=p[c+236>>1]<<6}return b|0}function Ze(a,b){var c=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=8;q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=0;q[b+20>>2]=0;a:{if(!a){break a}c=xe(a);if((c|0)>=0){a=r[c+485054|0];c=a>>>5|0;if(c>>>0>=t[b+4>>2]){break a}c=(c<<2)+b|0;q[c+8>>2]=q[c+8>>2]|1<<(a&31);return b}q[b+52>>2]=b+60;q[b+48>>2]=1;q[b>>2]=b+40;q[b+60>>2]=a;q[b+40>>2]=1;q[b+44>>2]=1}return b}function $H(a,b){var c=0,d=0;c=Da-4192|0;Da=c;a=lk(a,b);a:{if(!a){a=0;break a}d=ek(a,c+96|0,4095);if((d|0)==-1){break a}o[d+(c+96|0)|0]=0;b:{if(b){break b}if(jg(a,c+8|0)){break b}if((q[c+20>>2]&61440)==4096){break a}}if(r[c+96|0]!=47){b=Mg(a);La(a);a=0;if(!b){break a}q[c+4>>2]=0;q[c>>2]=c+96;d=_b(b,c);La(b);if(!d){break a}a=xL(d);La(d);break a}La(a);a=eb(c+96|0)}Da=c+4192|0;return a}function f_(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<16){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ti(a+10|0,b,a)){break a}if(!Ti(a+12|0,b,a)){break a}c=r[a+15|0]|r[a+14|0]<<8;if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function CP(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=128;e=q[a>>2];f=r[e|0];a:{b:{if(!(f&128)){break b}c=-1;while(1){d=c;c=c+1|0;b=b>>>1|0;if(f&b){continue}break}if(d>>>0>3){break b}g=r[e+1|0];if((g&192)!=128){break b}h=e+1|0;b=b+ -1&f;while(1){if((c|0)<1){break b}b=g&63|b<<6;c=c+ -1|0;g=r[h+1|0];d=h+1|0;h=d;if((g&192)==128){continue}break}if(!c){break a}}d=e+1|0;b=f}q[a>>2]=d;return b}function i_(a,b){var c=0,d=0,e=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<14){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}if(!Ti(a+8|0,b,a)){break a}if(!Ti(a+10|0,b,a)){break a}c=r[a+13|0]|r[a+12|0]<<8;if(!c){return 1}if(t[b+4>>2]>a>>>0){break a}d=q[b+8>>2];if(d>>>0>>0|d-a>>>0>>0){break a}a=q[b+12>>2];q[b+12>>2]=a+ -1;e=(a|0)>0}return e}function CQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;d=q[a>>2];a:{if(!d){break a}f=q[a+32>>2];b=gb(f,q[a+4>>2],e+12|0);q[a>>2]=b;if(q[e+12>>2]){break a}Qa(b,d,q[a+4>>2]);b=q[a+16>>2];if((b|0)>=1){g=q[a>>2]-d|0;c=q[a+24>>2];h=c+(b<<2)|0;while(1){b=q[c>>2];if(b){q[c>>2]=b+g}c=c+4|0;if(c>>>0>>0){continue}break}}q[a+8>>2]=q[a+4>>2];if(d){n[q[f+8>>2]](f,d)}}Da=e+16|0}function lL(a){var b=0,c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;if(a){while(1){b=q[a+4>>2];if((b|0)!=(d|0)){b=b+ -1|0;if(b>>>0<=1){Rb(b-1|0?490027:490020)}d=q[a+4>>2]}Gb(9);b=q[a+4>>2]+ -1|0;a:{if(b>>>0>1){break a}if(b-1){Bq(q[a+8>>2]);break a}b=q[a+8>>2];e=c,f=Qc(q[b>>2]),q[e>>2]=f;Ua(489842,c);Ck(q[b+4>>2]);Gb(32);fe(q[b+8>>2]);Rb(490018)}a=q[a>>2];if(a){continue}break}}Gb(10);Da=c+16|0}function gS(a,b){var c=0,d=0,e=0;if(r[a+69|0]){d=q[a+76>>2];c=d+b|0;if(!(!c|t[a+84>>2]>c>>>0)){if(!pe(a,c)){return 0}d=q[a+76>>2]}c=q[a+72>>2];e=q[a+88>>2]+w(c,20)|0;sb(e+w(b,20)|0,e,w(d-c|0,20));c=q[a+72>>2]+b|0;d=q[a+76>>2];if(c>>>0>d>>>0){Na(q[a+88>>2]+w(d,20)|0,0,w(c-d|0,20));c=q[a+72>>2]+b|0;d=q[a+76>>2]}q[a+72>>2]=c;q[a+76>>2]=b+d;return 1}I(272574,272586,179,272613);F()}function rD(a){a=a|0;var b=0,c=0,d=0,e=0;c=q[q[a+40>>2]>>2];if(c){b=q[a>>2];e=q[b+100>>2];d=q[b+712>>2];a=q[d+3080>>2];b=bc(q[q[b+96>>2]+4>>2],12904);a:{if(!a|!b){break a}a=q[a>>2];if(!a){break a}b=n[a](b)|0;if(!b){break a}n[q[b+8>>2]](q[c>>2]);a=q[d+2024>>2];if(!a){break a}d=c+4|0;while(1){a=a+ -1|0;n[q[b+8>>2]](q[d+(a<<2)>>2]);if(a){continue}break}}if(c){n[q[e+8>>2]](e,c)}}}function Te(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=p[a+2>>1];a:{if(!c){c=0;break a}a=q[a+4>>2];d=q[a+4>>2];e=q[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=q[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=q[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(g>>>0>>0){continue}break}}q[b+8>>2]=f;q[b>>2]=e;q[b+12>>2]=c;q[b+4>>2]=d}}function mJ(a,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=b+ -15|0;if(g>>>0>3){break c}f=17;d:{switch(g-1|0){case 0:case 1:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496680)){q[a>>2]=936;return 17}if(!n[q[e+24>>2]](e,c,d,496687)){break b}q[a>>2]=937;return 17}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function Oa(a,b,c,d,e,f){var g=0;if((b|c|d)<0){q[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}n[q[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b|0)|0)<(d|0)){break b}c:{if(!c){e=n[q[a+4>>2]](a,w(b,d))|0;g=!e<<6;break c}a=n[q[a+12>>2]](a,w(b,c),w(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(d|0)<=(c|0)|!e){break b}g=0;Na(w(b,c)+e|0,0,w(d-c|0,b))}q[f>>2]=g;return e}q[f>>2]=0;return 0}function JI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 11:q[a+8>>2]=17;q[a>>2]=932;return 19;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 1:break c;default:break a}}q[a>>2]=q[a+16>>2]?914:933;return 20}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a=q[a+140>>2];a:{if(!a|!b|(!q[a+72>>2]|!r[b|0])){break a}b=dc(b,q[a+92>>2]);if(!b){break a}a=q[a+80>>2];if(!a){break a}b=q[b>>2];e=q[(a+(b<<4)|0)+4>>2]+ -1|0;if(e>>>0>2){break a}b:{c:{switch(e-1|0){default:q[c>>2]=1;break b;case 0:q[c>>2]=2;break b;case 1:break c}}q[c>>2]=3}q[c+4>>2]=q[(a+(b<<4)|0)+12>>2];d=0}return d|0}function nr(){var a=0,b=0;b=q[160910];a:{if(b){break a}while(1){b=od();a=Kb(439530);b:{c:{d:{if(r[a|0]?a:0){break d}a=Kb(439538);if(r[a|0]?a:0){break d}a=Kb(439545);if(r[a|0]?a:0){break d}a=Kb(439554);if(!a|!r[a|0]){break c}}if(qL(b,a)){break b}}Ad(b,439559)}q[b>>2]=-1;a=q[160910];q[160910]=a?a:b;if(!a){break a}q[b>>2]=1;Yb(b);b=q[160910];if(!b){continue}break}}return b}function Qd(a){var b=0,c=0,d=0;a:{c=q[a+12>>2];b:{c:{if((c|0)!=q[a+16>>2]){b=q[a>>2];break c}b=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){d=c- -64|0;b=Sa(d);if(!b){break a}q[a+4>>2]=1;Qa(b,q[a>>2],c);break d}d=c<<1;b=db(q[a>>2],d);if(!b){break a}c=q[a+12>>2]}q[a>>2]=b;q[a+16>>2]=d}q[a+12>>2]=c+1;o[c+b|0]=0;b=0;if(q[a+8>>2]){break b}b=q[a>>2]}return b}q[a+8>>2]=1;return 0}function fL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-112|0;Da=c;d=de(b);a:{if(d){q[c+20>>2]=0;q[c+16>>2]=a;d=_b(d,c+16|0);break a}d=eb(a)}if(r[643740]&8){q[c>>2]=d;Ua(490082,c)}b:{if((cl(d,c+24|0)|0)<0){break b}e=Cf();if(!e){break b}f=Gk(2);if(f){g=oM(a,b);c:{if(!hL(e,f,d,b)){break c}a=rM(e,a,c+24|0,f);if(!a){break c}pM(a,b);h=a}nM(g);Yb(f)}je(e)}La(d);Da=c+112|0;return h}function VE(a,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=p[a+298>>1];e=w(d,b>>16);b=w(d,b&65535);d=e<<16;f=b+d|0;a=p[a+300>>1];g=w(a,c&65535);c=w(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)+(f>>>0>>0)|0)+(a>>>0>>0)|0)+(i>>>0>>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 UE(a,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=p[a+294>>1];e=w(d,b>>16);b=w(d,b&65535);d=e<<16;f=b+d|0;a=p[a+296>>1];g=w(a,c&65535);c=w(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)+(f>>>0>>0)|0)+(a>>>0>>0)|0)+(i>>>0>>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 GM(a){var b=0,c=0,d=0;b=Wa(a);c=b+ -3|0;a:{if(c>>>0>11){break a}if(c>>>0>=2){b=b+r[r[a+4|0]+439232|0]|0}b=r[r[a+2|0]+439232|0]+b|0;if(b>>>0>60){break a}c=b&31;if(!((32<=(b&63)>>>0?335544319>>>c|0:((1<>>c)&1)){break a}c=q[(b<<3)+438272>>2]+438760|0;if(r[a|0]!=r[c|0]){break a}if(Ta(a+1|0,c+1|0)){break a}d=q[(b<<3)+438276>>2]}return d}function lc(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;q[b+16>>2]=0;q[b+20>>2]=0;o[b+21|0]=0;o[b+22|0]=0;o[b+23|0]=0;o[b+24|0]=0;o[b+25|0]=0;o[b+26|0]=0;o[b+27|0]=0;o[b+28|0]=0;q[b+32>>2]=0;q[b+36>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;o[b+44|0]=1;q[b+40>>2]=0;d=a;a=uS(b+8|0,Jb(a,1835104368));c=t[a+16>>2]<6?271312:q[a+12>>2];c=r[c+4|0]<<8|r[c+5|0];q[d+32>>2]=c;Pa(a);Da=b+48|0;return c}function dJ(a,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:{f=b+ -15|0;if(f>>>0>3){break c}d:{switch(f-1|0){case 0:case 1:break c;case 2:break d;default:break a}}if(n[q[e+24>>2]](e,c,d,496726)){q[a>>2]=942;return 0}if(!n[q[e+24>>2]](e,c,d,496734)){break b}q[a>>2]=943;return 0}if((b|0)!=28){break b}g=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;g=-1}return g|0}function VN(a,b,c,d){var e=0,f=0,g=0,h=0;if((b|0)>=1){while(1){f=0;a:{if(q[c>>2]!=64){break a}e=q[a>>2];if(e>>>0>65535){break a}g=r[(s[(e>>>6&67108862)+392448>>1]+(e&127)|0)+395520|0];if(!g){break a}e=e+q[(s[(e>>>5&134217726)+393472>>1]+(e&63)<<2)+397312>>2]|0;f=g&2?e|-2147483648:e&2147483647}q[d>>2]=f;a=a+4|0;c=c+4|0;d=d+4|0;h=h+1|0;if((h|0)!=(b|0)){continue}break}}}function ZF(a,b,c,d){var e=0,f=0;if(!a){return}a:{if(!d|(!b|!c)){break a}e=a+20|0;f=q[a+16>>2];a=e+(f<<2)|0;b:{if((f|0)<1){break b}while(1){if(!Ta(q[q[q[e>>2]>>2]+8>>2],b)){break b}e=e+4|0;if(e>>>0>>0){continue}break}}if((a|0)==(e|0)){return}a=q[e>>2];b=q[q[a>>2]+32>>2];if(!b){break a}a=n[b](a,4294)|0;if(!a){break a}a=q[a>>2];if(!a){break a}n[a](q[e>>2],c,d,1)|0}}function wl(a){var b=0,c=0,d=0;if(a){La(q[a>>2]);q[a>>2]=0;b=q[a+8>>2];a:{if(!b){break a}c=q[b>>2];if(!c){break a}while(1){La(c);c=q[b+4>>2];b=b+4|0;if(c){continue}break}b=q[a+8>>2]}La(b);q[a+8>>2]=0;b=q[a+12>>2];if(q[a+16>>2]>=1){while(1){c=b;b=w(d,12);La(q[c+b>>2]);La(q[(b+q[a+12>>2]|0)+4>>2]);b=q[a+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}La(b);La(a)}}function Rh(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=q[a+8>>2]-q[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(t[a+20>>2]>t[a+28>>2]){n[q[a+36>>2]](a,0,0)|0;if(!q[a+20>>2]){break a}}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;c=n[q[a+40>>2]](a,b,c,d)>>>0>=0?0:1;b=Ea;if((b|0)<0?1:(b|0)<=0?c:0){break a}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=q[a>>2]&-17;return 0}return-1}function Qz(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+16>>2];a=c;a=r[a+12|0]|r[a+13|0]<<8|(r[a+14|0]<<16|r[a+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(a>>>0>b>>>0){break a}b=b-a|0;a=c;a=r[a+16|0]|r[a+17|0]<<8|(r[a+18|0]<<16|r[a+19|0]<<24);if(b>>>0>=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))>>>0){break a}a=(c+20|0)+(b<<1)|0;d=r[a|0]<<8|r[a+1|0]}return d|0}function Ld(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=e;e=0;k=e;h=c;c=0;g=W$(j,e,h,c);e=Ea;l=g;g=g>>>0<0?e+1|0:e;f=d;e=0;i=b;d=W$(f,e,b,0);b=Ea;f=W$(f,e,h,c);c=b+f|0;b=Ea;b=c>>>0>>0?b+1|0:b;h=b;f=b+l|0;b=g;b=f>>>0>>0?b+1|0:b;g=b;b=W$(i,m,j,k)+c|0;e=Ea;e=b>>>0>>0?e+1|0:e;i=e;f=e+f|0;e=g;q[a+8>>2]=f;q[a+12>>2]=f>>>0>>0?e+1|0:e;q[a>>2]=d;q[a+4>>2]=b}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Da-16|0;Da=c;b=q[a+504>>2];a:{if(r[b|0]==64){q[c+12>>2]=1;b=b+1|0;break a}q[c+12>>2]=0}f=c,g=eb(b),q[f>>2]=g;e=c;b=q[a+508>>2];d=b+1|0;if(d>>>0<=2){b=q[(d<<2)+356488>>2]}q[e+4>>2]=b;b=c;e=q[a+512>>2];b:{if(e>>>0<=1){d=100;if(!(e-1)){break b}d=0;break b}d=e}q[b+8>>2]=d;Cb(q[a+220>>2]);f=a,g=WO(a,c),q[f+220>>2]=g;Da=c+16|0}function Vo(a,b){var c=0,d=0,e=0,f=0;a:{if(!(q[a+8>>2]&512)|(!a|!b)){break a}e=q[a+128>>2];c=q[e+40>>2];d=c+2|0;b:{if(d>>>0>2){break b}c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}c=q[a+96>>2];d=q[q[c>>2]+32>>2];d:{if(!d){c=0;break d}c=n[d](c,4053)|0;e=q[a+128>>2]}q[e+40>>2]=c?c:-2}if(!c){break a}c=q[c+4>>2];if(!c){break a}f=n[c](a,b)|0}return f}function Uu(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if((e|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!Tb(a+4|0,b,a)){break a}if(!Tu(a+8|0,b,a)){break a}q[d+12>>2]=r[a+7|0]|r[a+6|0]<<8;c=Su(a+10|0,b,a,d+12|0)}Da=d+16|0;return c}function Tj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Da-240|0;Da=f;q[f>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;g=a;while(1){h=g+k|0;j=d+ -2|0;g=h-q[(j<<2)+e>>2]|0;if((n[c](a,g)|0)>=0){if((n[c](a,h)|0)>-1){break a}}a=(i<<2)+f|0;b:{if((n[c](g,h)|0)>=0){q[a>>2]=g;j=d+ -1|0;break b}q[a>>2]=h;g=h}i=i+1|0;if((j|0)<2){break a}a=q[f>>2];d=j;continue}}ip(b,f,i);Da=f+240|0}function LY(a,b){var c=0,d=0,e=0;d=Da-16|0;Da=d;a:{b:{c:{if(t[b+4>>2]>a>>>0){break c}c=q[b+8>>2];if(c>>>0>>0){break c}if(c-a>>>0>11){break b}}c=0;break a}e=q[b+12>>2];q[b+12>>2]=e+ -1;c=0;if((e|0)<1){break a}if(!Tb(a+2|0,b,a)){break a}if(!Tb(a+4|0,b,a)){break a}if(!Tu(a+8|0,b,a)){break a}q[d+12>>2]=r[a+7|0]|r[a+6|0]<<8;c=DY(a+10|0,b,a,d+12|0)}Da=d+16|0;return c}function ld(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}e=q[q[a>>2]+32>>2];d=0;c:{if(!e){break c}d=n[e](a,b)|0}if(d|!c){break a}d=q[a+4>>2];c=q[d+16>>2];if((c|0)<1){break b}e=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){f=q[c>>2];d:{if((f|0)==(a|0)){break d}d=q[q[f>>2]+32>>2];if(!d){break d}d=n[d](f,b)|0;if(d){break a}}c=c+4|0;if(c>>>0>>0){continue}break}}d=0}return d}function se(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return}c=q[a+96>>2];if(!c){return}d=q[a+128>>2];b=q[d+64>>2];q[d+64>>2]=b+ -1;if((b|0)<=1){b=q[c+16>>2];if(!b){return}e=c+16|0;d=q[c+8>>2];a:{while(1){if(q[b+8>>2]==(a|0)){break a}b=q[b+4>>2];if(b){continue}break}return}f=q[b>>2];g=f?f+4|0:e;e=q[b+4>>2];q[g>>2]=e;q[(e?e:c+20|0)>>2]=f;n[q[d+8>>2]](d,b);vf(d,a,c)}}function rw(a){var b=0,c=0,d=0;c=q[a+36>>2];if(!c){return 1}d=q[a+40>>2];a:{while(1){a=(b<<6)+d|0;if(q[a>>2]|q[a+4>>2]|(q[a+8>>2]|q[a+12>>2])|(q[a+16>>2]|q[a+20>>2]|(q[a+24>>2]|q[a+28>>2]))){break a}if(q[a+32>>2]|q[a+36>>2]|(q[a+40>>2]|q[a+44>>2])|(q[a+56>>2]|q[a+60>>2]|(q[a+48>>2]|q[a+52>>2]))){break a}b=b+1|0;if((c|0)!=(b|0)){continue}break}return 1}return 0}function el(a,b,c,d){var e=0,f=0,g=0;if(!a){return 35}if(!d){return 6}e=16;a:{if(t[a+16>>2]<=b>>>0){break a}e=q[q[q[a+96>>2]+12>>2]+84>>2];if(!(!e|((c&983040)!=65536?!(c&3):0))){e=n[e](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=q[a+88>>2];if(!a){return 36}f=d,g=bb(q[d>>2],q[a+(c&16?20:16)>>2],64),q[f>>2]=g;return 0}if((e&255)!=7){break a}}e=EM(a,b,c,d)}return e}function Bb(a){var b=0,c=0,d=0,e=0,f=0,g=0;while(1){b=a;a=b+1|0;c=o[b|0];if((c|0)==32|c+ -9>>>0<5){continue}break}c=o[b|0];e=c+ -43|0;a:{if(e>>>0>2){break a}b:{switch(e-1|0){case 1:f=1;break;case 0:break a;default:break b}}c=o[a|0];b=a;g=f}if(c+ -48>>>0<10){while(1){d=(w(d,10)-o[b|0]|0)+48|0;a=o[b+1|0];b=b+1|0;if(a+ -48>>>0<10){continue}break}}return g?d:0-d|0}function fw(a){var b=0,c=0,d=0;b=q[a+132>>2];a:{if(b){break a}while(1){b=q[a+48>>2];if(!b){b=271312;break a}c=ab(1,4);if(c){Xi(c,b)}d=q[a+132>>2];b=c?c:271312;q[a+132>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a+132>>2];if(!b){continue}break}}a=q[b>>2];a=a?a:271312;a=t[a+16>>2]<12?271312:q[a+12>>2];return(r[a+4|0]<<8|r[a+5|0])!=0}function Hn(a){var b=0,c=0;c=q[a+568>>2];if((c|0)!=q[a+64>>2]){b=q[a+96>>2];c=n[q[a+24>>2]](q[a+32>>2],c+42|0)|0;q[a+96>>2]=c;if(!c){q[a+96>>2]=b;return 0}o[(c+q[a+568>>2]|0)+ -2|0]=0;o[(q[a+568>>2]+q[a+96>>2]|0)+ -1|0]=0;if(b){Qa(q[a+96>>2],b,q[a+52>>2]);n[q[a+28>>2]](q[a+32>>2],b)}b=q[a+568>>2];q[a+64>>2]=b;q[a+68>>2]=b+ -1;q[a+100>>2]=b+q[a+96>>2]}return 1}function vN(a,b){var c=0,d=0,e=0,f=0,g=0;if(q[b+4>>2]>=1){d=q[a+24>>2];while(1){q[d+(c<<2)>>2]=c;c=c+1|0;if((c|0)>2]){continue}break}}a:{if(q[b+12>>2]>=1){d=0;c=0;while(1){e=q[b+8>>2]+w(c,24)|0;f=q[e+16>>2];g=f<<2;if(!RN(g+q[a+12>>2]|0,q[e+20>>2],q[a+20>>2]+f|0,q[a+24>>2]+g|0)){break a}c=c+1|0;if((c|0)>2]){continue}break}}d=q[a+24>>2]}return d}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;a:{b:{c:{g=b+ -15|0;if(g>>>0>3){break c}f=11;d:{switch(g-1|0){case 1:q[a>>2]=q[a+16>>2]?914:933;return 15;case 0:break c;case 2:break d;default:break a}}if(!n[q[e+24>>2]](e,c,d,496741)){break b}q[a>>2]=944;return 11}if((b|0)!=28){break b}f=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;f=-1}return f|0}function QP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=q[b>>2];while(1){d=d+1|0;if(d>>>0>255){q[b>>2]=0;return 0}f=n[q[a+20>>2]](s[q[a+16>>2]+(d<<1)>>1])|0;g=q[a+24>>2];a:{if(g){h=q[a+28>>2];c=0;while(1){e=q[(c<<2)+h>>2];if(!(!e|r[e|0]!=r[f|0])){if(!Ta(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}q[b>>2]=d;return c|0}function xP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+20>>2];a=(c+(q[a+16>>2]<<3)|0)+ -8|0;if(c>>>0<=a>>>0){while(1){a:{e=(a-c>>4<<3)+c|0;d=q[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)){break a}d=d>>>0>>0;c=d?e+8|0:c;a=d?a:e+ -8|0;if(c>>>0<=a>>>0){continue}}break}if(!f){return 0}a=q[f+4>>2]}else{a=0}return a|0}function RH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;f=-1;g=q[a>>2]+ -1|0;a:{if(g>>>0>1){break a}if(g-1){e=+q[a+8>>2]}else{e=v[a+8>>3]}a=q[b>>2]+ -1|0;if(a>>>0>1){break a}if(a-1){f=+q[b+8>>2]}else{f=v[b+8>>3]}pc(d,b);a=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=a;a=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=a;e=f-e;f=e<0?-e:e}Da=d+16|0;return+f}function Nb(a,b,c){var d=0;a:{b:{if(t[a>>2]<=b>>>0){d=q[a+4>>2];if(b>>>0>d>>>0){break b}c=b+c|0;if(c>>>0>>0){break a}if(r[a+20|0]==1){c=c-d|0;if((q[a+8>>2]-d|0)<(c|0)){p[a+20>>1]=256;return 0}Na(d,0,c);d=a;a=q[a+4>>2];q[d+4>>2]=a+c;a=a?b:0}else{a=0}return a}I(254947,254913,437,254975);F()}I(254987,254913,438,254975);F()}I(255014,254913,439,254975);F()}function yH(a,b){var c=0,d=0,e=0,f=0;d=a+3|0;c=r[a+3|0];f=(c|0)!=0;e=c|(r[a+1|0]<<16|r[a|0]<<24|r[a+2|0]<<8);a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!(!c|(e|0)==(b|0))){while(1){a=d+1|0;c=r[d+1|0];f=(c|0)!=0;e=c|e<<8;if((b|0)==(e|0)){break a}d=a;if(c){continue}break}break a}a=d}return f?a+ -3|0:0}function mR(a){a=a|0;var b=0;b=q[a+8>>2];Na(a+16|0,0,84);q[a+136>>2]=620;q[a+132>>2]=621;q[a+128>>2]=622;q[a+124>>2]=623;q[a+120>>2]=624;q[a+116>>2]=625;q[a+108>>2]=626;q[a+104>>2]=627;q[a+100>>2]=628;q[a+12>>2]=b;q[a+164>>2]=620;q[a+160>>2]=629;q[a+156>>2]=630;q[a+152>>2]=631;q[a+148>>2]=624;q[a+144>>2]=632;b=a+12|0;q[a+112>>2]=b;q[a+140>>2]=b;return 0}function ib(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+1>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+14|0,2)|0)!=2){break d}c=q[a+8>>2];b=d+14|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}b=r[b|0]|r[b+1|0]<<8;f=(b<<24|b<<8&16711680)>>>16|0;break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+2}Da=d+16|0;return f}function JW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=q[b+8>>2];a:{if(a){break a}while(1){a=q[b>>2];if(!a){a=271312;break a}e=ab(1,48);if(e){Vl(e,a)}f=q[b+8>>2];a=e?e:271312;q[b+8>>2]=f?f:a;if(!f){break a}if(!(!e|!a)){e=q[a+44>>2];Pa(e?e:271312);La(a)}a=q[b+8>>2];if(!a){continue}break}}b=q[a+8>>2];if(!b){return 0}return n[b](q[a+12>>2],c,d)|0}function nB(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+12>>2];if(b){e=q[a+28>>2];q[b+104>>2]=0;q[b+48>>2]=0;q[b+36>>2]=0;q[b+40>>2]=0;o[b+44|0]=0;q[b+64>>2]=9;q[b+12>>2]=0;q[b+16>>2]=0;d=q[b+180>>2];c=q[b+100>>2];if((c|0)!=(b+112|0)){if(c){n[q[d+8>>2]](d,c)}q[b+100>>2]=0}c=q[b+88>>2];if(c){n[q[d+8>>2]](d,c)}b=Na(b,0,184);if(b){n[q[e+8>>2]](e,b)}q[a+12>>2]=0}}function Qk(a,b){var c=0,d=0;c=Da-48|0;Da=c;d=qd(505253);a:{if(!b){q[c+40>>2]=0;b=q[c+44>>2];q[c+8>>2]=q[c+40>>2];q[c+12>>2]=b;q[c+32>>2]=0;b=q[c+36>>2];q[c>>2]=q[c+32>>2];q[c+4>>2]=b;Dc(a,d,c,1);break a}q[c+40>>2]=b;b=q[c+44>>2];q[c+24>>2]=q[c+40>>2];q[c+28>>2]=b;q[c+32>>2]=3;b=q[c+36>>2];q[c+16>>2]=q[c+32>>2];q[c+20>>2]=b;Dc(a,d,c+16|0,1)}Da=c+48|0}function Ec(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+3>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+12|0,4)|0)!=4){break d}c=q[a+8>>2];b=d+12|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+4}Da=d+16|0;return f}function wc(a,b,c){var d=0;d=Da-48|0;Da=d;a:{if(!c){q[d+40>>2]=0;c=q[d+44>>2];q[d+8>>2]=q[d+40>>2];q[d+12>>2]=c;q[d+32>>2]=0;c=q[d+36>>2];q[d>>2]=q[d+32>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);break a}q[d+40>>2]=c;c=q[d+44>>2];q[d+24>>2]=q[d+40>>2];q[d+28>>2]=c;q[d+32>>2]=3;c=q[d+36>>2];q[d+16>>2]=q[d+32>>2];q[d+20>>2]=c;a=Dc(a,b,d+16|0,1)}Da=d+48|0;return a}function SF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!Ta(b,4121)){q[c>>2]=q[a+36>>2];q[c+4>>2]=q[a+40>>2];q[c+8>>2]=q[a+44>>2];q[c+12>>2]=q[a+48>>2];q[c+16>>2]=q[a+52>>2];q[c+20>>2]=q[a+56>>2];q[c+24>>2]=q[a+60>>2];q[c+28>>2]=q[a- -64>>2];break b}if(!Ta(b,4142)){q[c>>2]=q[a+28>>2];break b}d=12;if(Ta(b,4163)){break a}o[c|0]=r[a+32|0]}d=0}return d|0}function OL(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;if(!(!a|!b)){d=q[a>>2];g=q[b>>2];c=c<<16;j=bb(d,g,c);e=q[a+4>>2];h=q[b+8>>2];k=bb(e,h,c);f=d;d=q[b+4>>2];l=bb(f,d,c);f=e;e=q[b+12>>2];f=bb(f,e,c);i=q[a+8>>2];g=bb(i,g,c);a=q[a+12>>2];m=b,n=g+bb(a,h,c)|0,q[m+8>>2]=n;q[b+4>>2]=l+f;q[b>>2]=j+k;m=b,n=bb(i,d,c)+bb(a,e,c)|0,q[m+12>>2]=n}}function qj(a){a=a|0;var b=0,c=0;b=Da-16|0;q[b+12>>2]=a;q[a+60>>2]=2333;q[a+64>>2]=0;q[a+52>>2]=1667;q[a+56>>2]=275;q[a+44>>2]=1e3;q[a+48>>2]=275;q[a+36>>2]=500;q[a+40>>2]=400;o[a+32|0]=1;q[a+28>>2]=1;c=b;b=q[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;q[c+8>>2]=b;q[a+68>>2]=b;a:{if((b|0)<=-1){c=0-b|0}else{if(b){break a}c=123456789}q[a+68>>2]=c}return 0}function Ue(a,b,c){var d=0,e=0;a:{b:{if(q[b>>2]!=(a|0)){break b}d=Sa(8);if(!d){break b}q[d+4>>2]=c;c=q[b+4>>2];c:{if(c){q[d>>2]=q[c>>2];q[c>>2]=d;break c}q[d>>2]=0;c=q[b+8>>2];if(!c){break a}q[c>>2]=d;q[b+4>>2]=q[b+8>>2]}if(q[b>>2]!=(a|0)){break b}a=q[b+4>>2];q[b+8>>2]=a;a=q[a>>2];q[b+4>>2]=a;e=(a|0)!=0}return e}q[a+4>>2]=d;q[b+4>>2]=d;return 1}function NR(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;while(1){f=q[b>>2];q[b>>2]=1;if(f){continue}break}f=0;g=q[b+4>>2];a:{if(Yc(g,c,q[b+8>>2])){break a}c=q[g+84>>2];q[d>>2]=q[c+32>>2]-q[c+44>>2];q[e>>2]=q[c+48>>2]+q[c+36>>2];if(q[a+20>>2]<=-1){q[d>>2]=0-q[d>>2]}f=1;if(q[a+24>>2]>-1){break a}q[e>>2]=0-q[e>>2]}q[b>>2]=0;return f|0}function LB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a>>2];d=q[a+44>>2];if(d){e=q[d>>2];if(!(!e|!q[e+96>>2])){q[e+88>>2]=d}}d=Zo(q[c+504>>2],b);if(!d){b=q[q[c+504>>2]+88>>2];c=q[b+16>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=c;q[a+36>>2]=q[b+36>>2];c=q[b+32>>2];q[a+28>>2]=q[b+28>>2];q[a+32>>2]=c;c=q[b+24>>2];q[a+20>>2]=q[b+20>>2];q[a+24>>2]=c}return d|0}function KB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=q[a>>2];d=q[a+44>>2];if(d){e=q[d>>2];if(!(!e|!q[e+96>>2])){q[e+88>>2]=d}}d=_o(q[c+504>>2],b);if(!d){b=q[q[c+504>>2]+88>>2];c=q[b+16>>2];q[a+12>>2]=q[b+12>>2];q[a+16>>2]=c;q[a+36>>2]=q[b+36>>2];c=q[b+32>>2];q[a+28>>2]=q[b+28>>2];q[a+32>>2]=c;c=q[b+24>>2];q[a+20>>2]=q[b+20>>2];q[a+24>>2]=c}return d|0}function Gi(a){var b=0,c=0;b=Da-16|0;Da=b;while(1){q[b+12>>2]=a;c=r[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}a=kp(a,b+12|0);Da=b+16|0;c=a;b=a>>>0<=2147483648?0:1;a=Ea;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0>=2147483647?0:1:0;a=a?c:2147483647;return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function uL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(b){g=Wa(b)}h=1;if(c){j=Wa(c)}if(d){h=Wa(d)+1|0}i=g+1|0;k=j+1|0;l=i+k|0;e=Sa(l+h|0);f=0;a:{if(!e){break a}b:{if(b){Qa(e,b,i);break b}o[e|0]=0}c:{if(c){Qa((e+g|0)+1|0,c,k);break c}o[e+i|0]=0}d:{if(d){Qa(((e+g|0)+j|0)+2|0,d,h);break d}o[e+l|0]=0}f=1;if(xf(a,e)){break a}La(e);f=0}return f}function nQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+12>>2];a:{if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+68|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function Kd(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e+307;if((b|0)<2047){b=b+ -1023|0;break a}a=a*8.98846567431158e+307;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}f(0,0);f(1,b+1023<<20);return a*+g()}function vu(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -24|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,32);if(c){iV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){La(q[b+20>>2]);q[b+20>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;La(q[b+28>>2]);c=q[b>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function Bq(a){var b=0,c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;d=q[a>>2];a:{if(d>>>0<=3){b=489793;b:{c:{switch(d-1|0){case 0:b=489802;break b;case 2:break a;case 1:break c;default:break b}}b=489808}Ua(b,0)}b=q[a+4>>2];if(b>>>0<=3){Ua(q[(b<<2)+490048>>2],0)}e=c,f=Qc(q[a+8>>2]),q[e>>2]=f;Ua(489722,c);Ck(q[a+12>>2]);Gb(32);fe(q[a+16>>2]);Gb(10)}Da=c+16|0}function Ak(a,b){var c=0;a:{if((a|0)<0){break a}if((a|0)<=127){o[b|0]=a;return 1}if((a|0)<=2047){o[b+1|0]=a&63|128;o[b|0]=a>>>6|192;return 2}if((a|0)<=65535){o[b+2|0]=a&63|128;o[b|0]=a>>>12|224;o[b+1|0]=a>>>6&63|128;return 3}if((a|0)>1114111){break a}o[b+3|0]=a&63|128;o[b|0]=a>>>18|240;o[b+2|0]=a>>>6&63|128;o[b+1|0]=a>>>12&63|128;c=4}return c}function pl(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!d|(!b|!c)){break a}f=q[a+16>>2];if(!(f&31)){e=db(q[a+12>>2],w(f,12)+384|0);if(!e){break a}q[a+12>>2]=e}e=eb(b);g=q[a+12>>2];h=w(f,12);b=g+h|0;q[b>>2]=e;e=Sa(d);q[b+4>>2]=e;b=q[b>>2];if(!(!e|!b)){Qa(e,c,d);q[(w(f,12)+g|0)+8>>2]=d;q[a+16>>2]=q[a+16>>2]+1;return}La(b);La(q[(q[a+12>>2]+h|0)+4>>2])}}function cd(a){var b=0,c=0,d=0,e=0,f=0;b=Da-32|0;Da=b;a:{if(!a){Rb(489993);break a}d=a?q[a>>2]:0;q[b+20>>2]=q[a+4>>2];q[b+16>>2]=d;Ua(489321,b+16|0);Wq(a,b+24|0);while(1){d=0;c=b+24|0;b:{if(!c){break b}c=q[c>>2];if(!c){break b}d=q[c>>2]}e=b,f=Qc(d),q[e>>2]=f;Ua(489352,b);ki(Tq(b+24|0));Gb(10);if(cM(a,b+24|0)){continue}break}Gb(10)}Da=b+32|0}function Ng(a,b){var c=0,d=0,e=0;a:{d=q[a+12>>2];b:{c:{if((d|0)!=q[a+16>>2]){c=q[a>>2];break c}c=0;if(q[a+8>>2]){break b}d:{if(!q[a+4>>2]){e=d- -64|0;c=Sa(e);if(!c){break a}q[a+4>>2]=1;Qa(c,q[a>>2],d);break d}e=d<<1;c=db(q[a>>2],e);if(!c){break a}d=q[a+12>>2]}q[a>>2]=c;q[a+16>>2]=e}q[a+12>>2]=d+1;o[d+c|0]=b;c=1}return c}q[a+8>>2]=1;return 0}function rP(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;while(1){d=b;b=b+1|0;if(r[d|0]==42){continue}break}d=fb(d,3507)?d:3507;b=q[a>>2];a:{while(1){if((b|0)>=1){b=b+ -1|0;if(Ta(q[q[a+16>>2]+w(b,144)>>2],d)){continue}break a}break}e=q[a+84>>2];b=q[a+76>>2];q[c+8>>2]=q[q[a+16>>2]+w(b,144)>>2];q[c+4>>2]=d;q[c>>2]=a;hb(e,2,3515,c)}Da=c+16|0;return b}function KR(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;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}g=q[b+4>>2];a=0;a:{if(Yc(g,c,q[b+8>>2])){break a}c=q[g+84>>2];a=0;if(q[c+72>>2]!=1869968492){break a}a=0;if(p[c+110>>1]>>>0<=d>>>0){break a}a=q[c+112>>2]+(d<<3)|0;q[e>>2]=q[a>>2];q[f>>2]=q[a+4>>2];a=1}q[b>>2]=0;return a|0}function nP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Da-16|0;Da=d;a:{b:{e=q[a>>2];if((e|0)>=1){h=q[a+16>>2];while(1){g=e+ -1|0;f=q[w(g,144)+h>>2];if(i=0,j=!Ra(f,b,c),k=r[c+f|0],k?i:j){break b}f=(e|0)>1;e=g;if(f){continue}break}}e=q[a+84>>2];q[d+8>>2]=b;q[d+4>>2]=c;q[d>>2]=a;hb(e,2,3568,d);a=0;break a}a=w(g,144)+h|0}Da=d+16|0;return a}function cy(a){var b=0,c=0,d=0;c=Da-16|0;Da=c;a:{if(!a){break a}d=r[a|0];if(!d){break a}while(1){b:{o[(c+12|0)+b|0]=d;b=b+1|0;if((b|0)==3){b=3;break b}d=r[a+b|0];if(d){continue}}break}if(b>>>0<=3){Na((c+12|0)+b|0,32,4-b|0)}a=r[c+12|0]|r[c+13|0]<<8|(r[c+14|0]<<16|r[c+15|0]<<24);b=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}Da=c+16|0;return b}function gY(a,b){var c=0,d=0,e=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)==-1){break a}Jf(a+4|0,b,a,a+6|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;return 1}e=Ru(a,b)}return e}function gN(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;a:{h=w(d,h);if((h|0)<1){break a}i=c+h|0;if(g){while(1){h=0;while(1){o[a+h|0]=w(r[e+h|0],r[c+h|0])+255>>>8;h=h+1|0;if((h|0)!=(g|0)){continue}break}e=e+f|0;a=a+b|0;c=c+d|0;if(c>>>0>>0){continue}break a}}while(1){c=c+d|0;if(c>>>0>>0){continue}break}}}function Lt(a,b,c){var d=0;if(!Nb(b,a,6)){return 0}o[a+1|0]=c;o[a+3|0]=8;o[a+2|0]=0;o[a|0]=c>>>8;d=a+4|0;if(!Nb(b,d,2)){return 0}o[a+4|0]=256;o[a+5|0]=1;c=1;if(!Nb(b,d,4)){return 0}a:{if(!(r[a+3|0]&16)){break a}c=0;if(!Nb(b,a,(r[a+5|0]<<1|r[a+4|0]<<9)+8|0)){break a}a=(a+4|0)+(r[a+5|0]<<1|r[a+4|0]<<9)|0;o[a+3|0]=0;o[a+2|0]=0;c=1}return c}function LI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a+8>>2]=17;q[a>>2]=932;return 19}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function LF(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+2>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+13|0,3)|0)!=3){break d}c=q[a+8>>2];b=d+13|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b+2|0]|(r[b+1|0]<<8|r[b|0]<<16);break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+3}Da=d+16|0;return f}function Jj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}d=q[a+128>>2];b=q[d+28>>2];c=b+2|0;b:{if(c>>>0>2){break b}c:{switch(c-1|0){case 0:break b;case 1:break c;default:break a}}b=q[a+96>>2];c=q[q[b>>2]+32>>2];d:{if(!c){b=0;break d}b=n[c](b,4064)|0;d=q[a+128>>2]}q[d+28>>2]=b?b:-2}if(!b){break a}b=q[b>>2];if(!b){break a}e=n[b](a)|0}return e}function CT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];a:{if(n[q[e+24>>2]](e,b,q[e+56>>2])>>>0<=31){e=q[a+12>>2];f=0;if(1<>2]](e,b,q[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){q[d>>2]=2527;return 1}a=q[a+12>>2];q[d>>2]=0;f=0;if(!b|!c){break a}f=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return f|0} +function sJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=3;c:{switch(d-1|0){case 9:q[a>>2]=914;return 7;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 1:break c;default:break a}}q[a>>2]=915;return 8}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Wa(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!r[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(r[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=q[c>>2];if(!((d^-1)&d+ -16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=r[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Ps(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;q[a+2748>>2]=b;d=q[b+28>>2];q[a+4>>2]=q[b+44>>2];q[a+8>>2]=q[b+48>>2];q[a+12>>2]=q[b+7496>>2];q[a+16>>2]=q[b+7500>>2];c=q[b+24>>2];q[a+2740>>2]=(r[q[q[b+36>>2]+392>>2]+20|0]?4:12)|d;d=a;a=(c|1)==3;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|2)==3?b:b|4;q[d+2744>>2]=a?b|8:b;return 0}function bI(){var a=0,b=0,c=0,d=0;b=Kb(503503);a:{if(!q[160548]){break a}if(b){return eb(b)}c=Kb(503475);if(c){d=Wa(c)}b=Sa(d+9|0);if(!b){break a}if(c){Qa(b,c,d)}a=b+d|0;o[a|0]=1868770863;o[a+1|0]=7299886;o[a+2|0]=28515;o[a+3|0]=111;o[a+4|0]=1734960750;o[a+5|0]=6777190;o[a+6|0]=26473;o[a+7|0]=103;o[b+(d+8|0)|0]=0;a=b}return a}function _e(a){var b=0;if(a){while(1){b=q[a+8>>2]+ -3|0;a:{if(b>>>0>6){break a}b:{switch(b-1|0){default:La(q[a+16>>2]);break a;case 1:dl(q[a+16>>2]);break a;case 2:Xc(q[a+16>>2]);break a;case 4:Sd(q[a+16>>2]);break a;case 0:case 3:break a;case 5:break b}}La(q[a+16>>2])}b=q[a>>2];La(a);a=b&1?(b&-2)+a|0:b;if(a){continue}break}}}function I_(a,b){var c=0,d=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){if(q[b+8>>2]!=1){break a}c=a;a=r[a+3|0]|r[a+2|0]<<8;return(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}if(q[b+8>>2]!=1){break a}c=a;a=r[a+3|0]|r[a+2|0]<<8;d=(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}return d}function GA(a){n[q[a+28>>2]](q[a+32>>2],q[a+580>>2]);q[a+580>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+576>>2]);q[a+576>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+252>>2]);q[a+252>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+120>>2]);q[a+120>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+136>>2]);q[a+136>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+152>>2]);q[a+152>>2]=0}function wL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+4>>2];if((f|0)<1){return 0}h=q[a+12>>2];a:{while(1){a=b;c=q[(d<<2)+h>>2];if((a|0)==(c|0)){return 1}while(1){b:{g=r[a|0];e=r[c|0];if(!e){break b}c=c+1|0;a=a+1|0;if((g|0)==(e|0)){continue}}break}if((g|0)==(e|0)){break a}d=d+1|0;if((d|0)<(f|0)){continue}break}return 0}return 1}function oH(a){var b=0,c=0,d=0,e=0,f=0;b=q[160616];if(!b){q[q[160617]>>2]=a;return}q[160618]=(b|0)==31?3:(b|0)==7?3:1;q[160961]=0;a:{if((b|0)<=0){d=q[160617];break a}d=q[160617];while(1){a=V$(a,f,1284865837,1481765933)+1|0;c=Ea;c=a>>>0<1?c+1|0:c;f=c;q[(e<<2)+d>>2]=c;e=e+1|0;if((e|0)!=(b|0)){continue}break}}q[d>>2]=q[d>>2]|1}function kJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=940;return 13}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function jJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=930;return 14}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function hJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=941;return 13}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function gJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=938;return 14}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function WI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=33;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=926;return 38}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Va(a,b,c){var d=0,e=0;a:{d=q[a+80>>2]+c|0;if(!d|t[a+84>>2]>d>>>0){break a}if(pe(a,d)){break a}return 0}b:{d=q[a+88>>2];c:{if((d|0)!=q[a+92>>2]){break c}e=c;c=q[a+80>>2];if(e+c>>>0<=q[a+72>>2]+b>>>0){break c}if(!r[a+69|0]){break b}b=a;a=q[a+96>>2];q[b+92>>2]=a;Qa(a,d,w(c,20))}return 1}I(272574,272586,167,272599);F()}function KI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=957;return 21}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function so(a,b,c){var d=0,e=0,f=0;e=Da-16|0;Da=e;d=Xa(a,0);a:{if(d){break a}f=ib(a,e+12|0);d=q[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Ec(a,e+12|0);d=q[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Xa(a,0);if(d){break a}}d=lb(a,c);if(d){break a}b=Oc(q[a+32>>2],b,c);jb(a);d=((b|0)!=0)<<1}Da=e+16|0;return d}function Wz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>t[b+160>>2]){kb(b,8)}d=r[a+3|0]|r[a+2|0]<<8;e=d+a>>>0<=t[b+160>>2];a=r[a+9|0]|r[a+8|0]<<8;if(!(d>>>0>=(a<<1)+10>>>0?e:0)){kb(b,8)}if(!(!q[b+164>>2]|!a)){while(1){if((r[c+1|0]|r[c|0]<<8)>>>0>=t[b+172>>2]){kb(b,16)}c=c+2|0;a=a+ -1|0;if(a){continue}break}}return 0}function Nd(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;b=(b|0)==1?2:b;c=(c|0)==1?2:c;a:{if((b|0)==(c|0)|((c|0)==3?(b|0)==8:0)|((b|0)==-1|((c|0)==8?(b|0)==3:0))){break a}if((b|0)==2&(c|0)==9|(c|0)==-1){break a}e=498928;e=b>>>0<=9?q[(b<<2)+502556>>2]:e;q[d+4>>2]=c>>>0<=9?q[(c<<2)+502556>>2]:498928;q[d>>2]=e;_a(a,1,501100,d)}Da=d+16|0}function zJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=3;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=923;return 5}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function yJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=3;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=916;return 6}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ie(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}if(q[a+12>>2]==-1){b=q[a+8>>2]+a|0;a=q[b+4>>2];hg(a&1?(a&-2)+b|0:a);return}b=q[a+12>>2];q[a+12>>2]=b+ -1;if((b|0)!=1){break a}d=q[a+8>>2]+a|0;if(q[a>>2]>=1){b=0;while(1){e=(b<<3)+d|0;c=q[e+4>>2];_e(c&1?(c&-2)+e|0:c);b=b+1|0;if((b|0)>2]){continue}break}}La(d);La(a)}}function UI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>9){break b}c=33;c:{switch(d-1|0){case 8:q[a>>2]=947;return 33;case 0:case 1:case 2:case 3:case 4:case 6:case 7:break b;case 5:break c;default:break a}}q[a>>2]=945;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>9){break b}c=33;c:{switch(d-1|0){case 8:q[a>>2]=947;return 33;case 0:case 1:case 2:case 3:case 4:case 6:case 7:break b;case 5:break c;default:break a}}q[a>>2]=949;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Mo(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+1>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+14|0,2)|0)!=2){break d}c=q[a+8>>2];b=d+14|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b|0]|r[b+1|0]<<8;break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+2}Da=d+16|0;return f}function FN(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=q[b+92>>2];a:{if(a){a=q[a+4>>2]==1937337698?c|61440:c;break a}a=c}b:{if(d){a=Vo(b,a,d);break b}a=Ub(b,a)}q[e>>2]=a;if(!a){return 0}q[f+28>>2]=a;b=0;a=ed(q[f>>2],f+8|0,c>>>0>752?q[f+32>>2]?f:0:0);c:{if(!a){break c}if(q[a>>2]>-1){b=a;break c}Cb(a)}Cb(b);return 1}function yC(a){a=a|0;var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}c=n[b](c)|0;if(!c){break a}b=q[a>>2];e=n[q[c>>2]](q[b+100>>2],q[b+304>>2]+w(q[b+4>>2],252)|0,d+12|0)|0;if(e){break a}q[q[a+40>>2]>>2]=q[d+12>>2]}Da=d+16|0;return e|0}function tR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=q[q[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=q[f+24>>2];if(c){b=q[q[(q[q[b+284352>>2]+4>>2]<<2)+284080>>2]+16>>2];if(b){n[b](c);c=q[f+24>>2]}if(c){n[q[d+8>>2]](d,c)}q[f+24>>2]=0}e=e+1|0;if((e|0)!=86){continue}break}Gd(q[a+12>>2]);Xd(q[a+16>>2]);if(a){n[q[d+8>>2]](d,a)}}}function ZD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[a+532>>2];if(!c){return 6}e=q[c+4>>2];q[b>>2]=e;q[b+4>>2]=q[c>>2];if(e){a=0;while(1){d=w(a,12);f=d+b|0;q[f+8>>2]=q[((a<<2)+c|0)+8>>2];d=c+d|0;g=q[d+92>>2];q[f+12>>2]=q[g>>2];q[f+16>>2]=q[((r[d+88|0]<<2)+g|0)+ -4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Hq(a){var b=0,c=0,d=0,e=0;c=od();a:{if(!c){break a}while(1){d=r[b+485054|0];e=d>>>5|0;if(!(e>>>0>=t[a+4>>2]|!(q[((e<<2)+a|0)+8>>2]>>>(d&31)&1))){Ad(c,(b<<5)+449308|0)}b=b+1|0;if((b|0)!=246){continue}break}a=q[a>>2];if(!a){break a}a=Ic(a);if(!a){break a}while(1){b=Qb(a);if(b){Ad(c,b);continue}break}Zb(a)}return c}function fB(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=q[a+280>>2];a:{if((e|0)<1){break a}f=q[a+284>>2];a=0;while(1){b:{h=a;g=Ta(q[w(a,12)+f>>2],b);a=a+1|0;if((a|0)>=(e|0)){break b}if(g){continue}}break}if(g){break a}a=w(h,12)+f|0;c:{if(r[a+4|0]){q[c>>2]=1;break c}q[c>>2]=2}q[c+4>>2]=q[a+8>>2];d=0}return d|0}function Vf(a,b,c){var d=0,e=0,f=0;a:{if((b|0)==1&a>>>0<0|b>>>0<1){d=a;break a}while(1){d=X$(a,b,10,0);e=Ea;f=e;e=V$(d,e,10,0);c=c+ -1|0;o[c|0]=a-e|48;e=(b|0)==9&a>>>0>4294967295|b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c+ -1|0;a=(d>>>0)/10|0;o[c|0]=d-w(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function AU(a){var b=0,c=0;b=a?a:641640;a=ab(1,96);if(!a){xu(641328);return 641328}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;if(q[b+4>>2]){q[b+4>>2]=0}q[a+12>>2]=641328;c=SS(b);q[a+72>>2]=641424;q[a+16>>2]=c;q[a+84>>2]=a;b=Mi(b);q[a+40>>2]=65536;q[a+44>>2]=0;q[a+20>>2]=b;q[a+24>>2]=b;q[a+32>>2]=65536;q[a+36>>2]=0;xu(a);return a}function mQ(a){a=a|0;var b=0,c=0,d=0;b=q[a+20>>2];if(!b){return 3}a:{b:{if(!r[a+68|0]){p[b>>1]=s[b>>1]+1;break b}a=q[a+12>>2];if((p[a+20>>1]+p[a+56>>1]|0)+1>>>0>t[a+8>>2]){a=Xb(a,0,1);if(a){break a}}d=b;c=s[b>>1];a=c<<16>>16;if((a|0)>=1){p[(q[b+12>>2]+(c<<1)|0)+ -2>>1]=s[b+2>>1]+ -1;a=s[b>>1]}p[d>>1]=a+1}a=0}return a|0}function Ip(a,b){var c=0,d=0,e=0;while(1){d=a+c|0;o[d|0]=r[c+505364|0];e=(c|0)!=14;c=c+1|0;if(e){continue}break}if(b){c=14;d=b;while(1){c=c+1|0;e=d>>>0>9;d=(d>>>0)/10|0;if(e){continue}break}o[a+c|0]=0;while(1){c=c+ -1|0;d=(b>>>0)/10|0;o[c+a|0]=b-w(d,10)|48;e=b>>>0>9;b=d;if(e){continue}break}return}o[d|0]=48;o[a+15|0]=0}function sg(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -44|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){iW(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function jh(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -16|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){lW(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function GG(a,b){var c=0,d=0,e=0,f=0;c=r[a|0];a:{if(!c){break a}while(1){e=r[b|0];if(!e){f=c;break a}b:{c:{while(1){if(c+ -48>>>0<11|(c|32)+ -97>>>0<27){break c}c=r[a+1|0];d=a+1|0;a=d;if(c){continue}break}c=0;break b}d=a}if((c|32)!=(e|0)){return 1}b=b+1|0;a=d+1|0;c=r[d+1|0];if(c){continue}break}}return r[b|0]!=(f&255)}function ot(a){var b=0,c=0,d=0,e=0;nt(a);mt(a+56|0);La(q[a+52>>2]);q[a+52>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+24>>2]=0;b=q[a+36>>2];c=q[a+32>>2];if(c){e=(c<<2)+b|0;while(1){La(q[(c?b:271312)>>2]);d=(c|0)!=0;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=q[a+36>>2]}La(b);q[a+36>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0}function lj(a,b){var c=0,d=0;c=Xa(b,q[a>>2]);a:{if(c){break a}c=mb(b,19504,a+4|0);if(c){break a}c=2;d=s[a+4>>1];if((d|256)!=768|t[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){q[a+140>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0}if(o[a+72|0]&1){break a}c=Xa(b,q[a>>2]);if(c){break a}c=Bc(b,q[a+8>>2],a+160|0)}return c}function kh(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -48|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){eV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+8>>2];Pa(c?c:271312);q[b+8>>2]=0;c=q[b+12>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function NH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;f=q[a+8>>2];g=q[b+8>>2];pc(d,b);h=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=h;h=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=h;a=f&1?(f&-2)+a|0:f;b=g&1?(g&-2)+b|0:g;e=0;a:{if(!Rd(a,b)){break a}e=1;if(!dd(a,b)){break a}e=Ye(a,b)?2:3}Da=d+16|0;return+e}function xQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;$b(a,q[a+8>>2]);e=q[a+8>>2];d=q[a>>2];q[b+12>>2]=d;f=ne(b+12|0,e,10);c=q[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(r[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;q[b+12>>2]=d;f=ne(b+12|0,e,f);c=q[b+12>>2];if((d|0)==(c|0)){break a}}q[a>>2]=c;g=f}Da=b+16|0;return g|0}function dc(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;q[c+8>>2]=a;e=q[b+20>>2];a=e+((n[q[b+12>>2]](c+8|0)>>>0)%t[b+4>>2]<<2)|0;d=q[a>>2];a:{if(!d){break a}while(1){if(n[q[b+16>>2]](d,c+8|0)){break a}a=a+ -4|0;if(a>>>0>>0){a=((q[b+4>>2]<<2)+e|0)+ -4|0}d=q[a>>2];if(d){continue}break}}Da=c+16|0;a=q[a>>2];return a?a+4|0:0}function QD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+532>>2];if(!e){return 6}f=q[b>>2];d=q[e>>2];a=6;a:{if(f>>>0>>0){break a}if(d){e=q[e+136>>2];a=0;while(1){g=a<<2;q[g+c>>2]=q[e+g>>2];a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=0;if(f>>>0<=d>>>0){break a}Na((d<<2)+c|0,0,f-d<<2);a=0}q[b>>2]=d;return a|0}function DH(a){var b=0,c=0,d=0,e=0;c=Da-16|0;Da=c;a:{b:{c:{b=Wa(a);if(!(b>>>0<6|b+ -6>>>0<0)){b=(a+b|0)+ -6|0;if(!Oc(b,505357,6)){break c}}q[160942]=28;break b}d=100;while(1){EH(b);q[c>>2]=384;e=Hg(a,524482,c);if((e|0)>-1){break a}d=d+ -1|0;if(q[160942]==20?d:0){continue}break}Qa(b,505357,6)}e=-1}Da=c+16|0;return e}function wI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;q[e+8>>2]=b;b=dq(a,q[a+144>>2],e+8|0,c,d,!r[a+480|0]);a:{if(b){break a}f=q[e+8>>2];if(!f){break a}q[a+276>>2]=965;q[e+12>>2]=f;b=q[a+144>>2];b=n[q[b>>2]](b,f,c,e+12|0)|0;b=_f(a,q[a+144>>2],f,c,b,q[e+12>>2],d,!r[a+480|0],1)}Da=e+16|0;return b|0}function om(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -52|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,228);if(c){OV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){La(q[b+224>>2]);q[b+224>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;nc(b);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function Dq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>31;e=e+c^e;f=d>>31;f=f+d^f;i=(e|0)>(f|0);g=a>>31;g=g+a^g;h=b>>31;h=h+b^h;j=(g|0)>(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;a=a^a+c;b=b^b+d;c=(a|0)>(b|0);a=(w(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((w(i?f:e,3)>>>3|0)+(i?e:f)+((w(j?h:g,3)>>>3|0)+(j?g:h))|0)-a|0)<(a>>>4|0)}function DR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=bh(b,c);a:{if(d){break a}a=q[b+24>>2];if((a|0)<1){break a}b=q[b+28>>2];f=b+w(a,40)|0;a=q[c+4>>2];c=q[c+8>>2];while(1){q[a>>2]=q[b+16>>2];q[a+4>>2]=q[b+20>>2];e=s[b>>1];o[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(b>>>0>>0){continue}break}}return d|0}function Jq(a,b){var c=0,d=0,e=0,f=0;a:{c=q[a+4>>2];d=q[b+4>>2];c=c>>>0>>0?c:d;b:{if((c|0)>=1){c=(c|0)<8?c:8;f=(c|0)>1?c:1;d=0;c=0;while(1){e=c<<2;if(q[(e+a|0)+8>>2]!=q[(b+e|0)+8>>2]){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}}b=q[b>>2];a=q[a>>2];if(!a){break a}if(!b){return 0}d=vL(a,b)}return d}return!b}function FL(a,b){var c=0,d=0;c=zf(a);a=Hq(b);d=Ic(a);Yb(a);a=Qb(d);if(a){while(1){b=xe(a);a:{if((b|0)>=0){a=r[b+485054|0];b=a>>>5|0;if(b>>>0>=t[c+4>>2]){break a}b=(b<<2)+c|0;q[b+8>>2]=q[b+8>>2]|1<<(a&31);break a}b=q[c>>2];if(!b){b=od();q[c>>2]=b;if(!b){break a}}Ad(b,a)}a=Qb(d);if(a){continue}break}}Zb(d);return c}function EL(a,b){var c=0,d=0,e=0,f=0,g=0;d=zf(a);a=Hq(b);b=Ic(a);Yb(a);a=Qb(b);if(a){while(1){c=xe(a);a:{if((c|0)>=0){a=r[c+485054|0];c=a>>>5|0;if(c>>>0>=t[d+4>>2]){break a}c=(c<<2)+d|0;e=q[c+8>>2];f=c+8|0,g=_$(-2,a)&e,q[f>>2]=g;break a}c=q[d>>2];if(!c){break a}rL(c,a)}a=Qb(b);if(a){continue}break}}Zb(b);return d}function BH(a,b){var c=0,d=0,e=0;a:{b:{while(1){if(r[c+505392|0]!=(a|0)){d=87;c=c+1|0;if((c|0)!=87){continue}break b}break}d=c;if(c){break b}a=505488;break a}c=505488;while(1){e=r[c|0];a=c+1|0;c=a;if(e){continue}c=a;d=d+ -1|0;if(d){continue}break}}b=q[b+20>>2];if(b){b=IG(q[b>>2],q[b+4>>2],a)}else{b=0}return b?b:a}function lw(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;e=lh(q[b+16>>2]+128|0);f=q[e+16>>2];g=q[e+12>>2];a=Zx(d+8|0,a,b,c,e);b=f>>>0<4?271312:g;c=r[b|0]|r[b+1|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;a:{if(c>>>0>1){break a}if(c-1){kw(b,a);break a}jw(b,a)}Pa(q[a+44>>2]);q[a+44>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;Da=d+80|0}function Qo(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=s[a+2>>1];if((d|0)!=s[b+2>>1]){break a}c=s[a>>1];if((a|0)==(b|0)|(c|0)!=s[b>>1]){break a}if(d){Qa(q[b+4>>2],q[a+4>>2],d<<16>>16<<3);Qa(q[b+8>>2],q[a+8>>2],p[a+2>>1]);c=s[a>>1]}if(c){Qa(q[b+12>>2],q[a+12>>2],c<<16>>16<<1)}q[b+16>>2]=q[a+16>>2]&-2|q[b+16>>2]&1}}function x$(a){var b=0,c=0,d=0,e=0;c=Da-16|0;Da=c;b=r[a+164|0];if((b&3)==3){if(!(!(b&4)|!(b&8))){d=Ge(a,c+12|0);a:{if(!(r[a+32|0]&8)){break a}b=q[c+12>>2];if(!b){break a}e=q[a+48>>2];a=0;while(1){Tv(d,b,a,e);a=a+1|0;b=q[c+12>>2];if(a>>>0>>0){continue}break}}Da=c+16|0;return}}I(228890,228864,170,228879);F()}function _u(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-272|0;Da=d;h=r[a+3|0];e=r[a+1|0];f=r[a|0];i=r[a+2|0];q[d+268>>2]=0;e=e|f<<8;f=a+4|0;if(Si(b,e,f,q[c>>2],q[c+4>>2],d+268|0,d,0)){a=q[d+268>>2];if(a>>>0>=2){g=q[b+96>>2];c=q[g+72>>2];rb(g,c,a+c|0)}g=zm(b,e,d,i<<8|h,f+(e?(e<<1)+ -2|0:0)|0,a)}Da=d+272|0;return g}function $l(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(q[a+4>>2]){q[a+24>>2]=c;q[a+20>>2]=b;d=q[a+16>>2];e=q[d+28>>2];if(!e){e=xb(d);c=q[a+24>>2];b=q[a+20>>2]}d=c>>31;f=c<<16;g=d<<16|c>>>16;d=e;c=d>>31;h=a,i=W$(f,g,d,c),q[h+40>>2]=i;q[a+44>>2]=Ea;e=b>>31;h=a,i=W$(b<<16,e<<16|b>>>16,d,c),q[h+32>>2]=i;q[a+36>>2]=Ea}}function RU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Da-16|0;Da=b;q[b+12>>2]=c;e=q[a+72>>2];f=q[e+160>>2];a:{if((f|0)!=q[160396]){a=n[f](a,q[a+76>>2],1,b+12|0,0,d,0,q[e+24>>2])|0;break a}a=q[a+12>>2];q[d>>2]=0;e=a;f=q[a+76>>2];a=q[a+72>>2];a=n[q[a+156>>2]](e,f,c,d,q[a+20>>2])|0}Da=b+16|0;return a|0}function zy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Da-16|0;Da=c;e=q[a+16>>2];a=s[a+8>>1];b=Oa(b,1,0,a+1|0,0,c+12|0);Da=c+16|0;if(q[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=r[e|0];if(!c){break a}o[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}o[b+d|0]=0}return b|0}function xJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>7){break b}c=11;c:{switch(d-1|0){case 6:q[a>>2]=924;return 11;case 0:case 1:case 3:case 4:case 5:break b;case 2:break c;default:break a}}q[a>>2]=925;return 9}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function bJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=0;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break a}}q[a>>2]=933;return 58}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function KT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=q[q[a+112>>2]+4>>2];if(c){Lt(c,b,q[a+4>>2])}a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){d=c+w(b,20)|0;e=d,f=It(q[d>>2]),o[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}I(264137,264058,150,264124);F()}function ad(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=z(e);Fc(d,e,0,0,0,c+81|0);c=(q[d+12>>2]^65536)+(16414-c<<16)|0;e=0+q[d+8>>2]|0;if(e>>>0>>0){c=c+1|0}f=b&-2147483648|c;c=q[d+4>>2];b=q[d>>2]}q[h>>2]=b;q[g+4>>2]=c;q[a+8>>2]=e;q[a+12>>2]=f;Da=d+16|0}function NA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[a+16>>2];if(d){g=q[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=q[(c<<3)+g>>2];if((e|0)==(b|0)){return s[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=e>>>0>b>>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function ol(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;d=q[a>>2];a:{if(!d){break a}c=q[d+8>>2];if(!c){break a}e=d;while(1){c=q[c+8>>2];if(c){e=q[e+8>>2];c=q[c+8>>2];if(c){continue}}break}q[b+12>>2]=d;q[b+8>>2]=q[e+8>>2];q[e+8>>2]=0;ol(b+12|0);ol(b+8|0);f=a,g=nl(q[b+12>>2],q[b+8>>2]),q[f>>2]=g}Da=b+16|0}function oI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;f=a;a:{b:{c:{while(1){if(!Ta(b,w(e,20)+499232|0)){break c}e=e+1|0;if((e|0)!=54){continue}break}if(Ra(b,500312,4)){break b}b=0;break a}b=q[w(e,20)+499248>>2];break a}q[d>>2]=b;_a(a,1,499194,d);b=55}if(!lI(f,b,c)){_a(a,2,499215,0)}Da=d+16|0}function Sp(a,b){var c=0;c=0;a:{b:{if(!Ta(a,b)){break b}c=1;if(!Ta(a,b+20|0)){break b}c=2;if(!Ta(a,b+40|0)){break b}c=3;if(!Ta(a,b+60|0)){break b}c=4;if(!Ta(a,b+80|0)){break b}c=5;if(!Ta(a,b+100|0)){break b}c=6;if(!Ta(a,b+120|0)){break b}c=41;if(Ta(a,b+140|0)){break a}c=7}c=q[(w(c,20)+b|0)+16>>2]}return c}function vc(a,b){var c=0,d=0,e=0;c=Da-32|0;Da=c;a:{if(r[a|0]){while(1){q[c+20>>2]=a;q[c+16>>2]=0;q[c+4>>2]=b;q[c>>2]=0;while(1){b:{d=Jc(c+16|0,486400);e=Jc(c,486400);if(!d){break b}if((d|0)==(e|0)){continue}}break}if(!e|(d|0)==(e|0)){break a}d=r[a+1|0];a=a+1|0;if(d){continue}break}}a=0}Da=c+32|0;return a}function Yg(a){var b=0,c=0;b=Da-16|0;Da=b;while(1){q[b+12>>2]=a;c=r[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}a=jp(a,b+12|0);Da=b+16|0;c=a;b=a>>>0<=2147483648?0:1;a=Ea;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0>=2147483647?0:1:0;return a?c:2147483647}function qT(a,b,c,d){var e=0,f=0,g=0,h=0;e=r[c+164|0];if((e&3)==3){if(!(!(e&4)|!(e&8))){f=1;e=0;g=q[c+76>>2];if(g>>>0>1){h=q[c+88>>2];while(1){if(!(1<<(s[(w(f,20)+h|0)+16>>1]&31)&7168)){Ct(a,b,c,e,f,d);e=f}f=f+1|0;if((g|0)!=(f|0)){continue}break}}Ct(a,b,c,e,g,d);return}}I(270142,270116,170,270131);F()}function N_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(r[a+12|0]!=1){break a}c=r[b|0];b=r[b+1|0];q[a+16>>2]=-1;d=a;a=b|c<<8;c=ac(d,a);if(!c){break a}c=c+(a>>>3&56)|0;a=c;e=q[c+4>>2];d=c;f=q[c>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=f|b;q[a+4>>2]=c|e}}function Bp(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+40>>2];c=n[b](a,0,0,r[a|0]&128?t[a+20>>2]>t[a+28>>2]?2:1:1)|0;b=Ea;d=b;if((b|0)>0?1:(b|0)>=0?c>>>0<0?0:1:0){e=q[a+20>>2]-q[a+28>>2]|0;a=q[a+8>>2]-q[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}Ea=d;return c}function zT(a){a=a|0;a=a+24|0;Db(a,555);$a(a,1819239276,1,1);$a(a,1667460464,1,1);Db(a,556);$a(a,1919969382,9,1);Db(a,0);$a(a,1886545254,9,1);Db(a,0);$a(a,1651275622,9,1);Db(a,0);$a(a,1886614630,9,1);Db(a,0);Db(a,557);$a(a,1886545267,9,1);$a(a,1633842803,9,1);$a(a,1651275635,9,1);$a(a,1886614643,9,1)}function tA(a){var b=0,c=0,d=0,e=0;a:{d=1<>2];e=q[a+64>>2];if((d|0)==(e|0)){break a}c=s[a+560>>1];if(c&4){break a}if(q[a+96>>2]){b=q[a+52>>2]}else{b=0}b:{if(!(c&16)){b=d;break b}c=b+q[a+184>>2]|0;b=e?e:1024;c=(b|0)<(c|0)?c:b;while(1){b=d;d=b>>1;if((d|0)>=(c|0)){continue}break}}q[a+568>>2]=b}}function bl(a,b){var c=0,d=0,e=0,f=0;f=Wa(b);e=((b>>>0)%8191<<2)+a|0;d=q[e+12>>2];a:{if(d){c=d;while(1){if(q[c+4>>2]==(b|0)){break a}c=q[c>>2];if(c){continue}break}}c=Sa(12);if(!c){return 0}q[c+4>>2]=b;b=q[a>>2];q[c>>2]=d;q[c+8>>2]=b;q[e+12>>2]=c;d=a;a=f+1|0;c=a&7;q[d>>2]=b+((c?8-c|0:0)+a|0)}return 1}function VT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=q[a+112>>2];a:{if(!d){break a}e=q[b+76>>2];if(!e){break a}a=q[b+88>>2];c=0;while(1){q[a+4>>2]=q[a+4>>2]|q[(r[a+18|0]<<2)+d>>2];a=a+20|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}a=r[b+164|0];if(!(a&64)){I(255440,255364,160,255425);F()}o[b+164|0]=a&191}function Ob(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;o[c+15|0]=0;q[b>>2]=0;d=q[a+8>>2];a:{b:{e=q[a+20>>2];c:{if(e){if((n[e](a,d,c+15|0,1)|0)!=1){break b}d=q[a+8>>2];b=r[c+15|0];break c}if(d>>>0>=t[a+4>>2]){break b}b=r[q[a>>2]+d|0];o[c+15|0]=b}q[a+8>>2]=d+1;break a}q[b>>2]=85;b=0}Da=c+16|0;return b<<24>>24}function uM(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:{a=sM(a,b,c,d);if(a){b=q[c+68>>2]/1e3|0;d=q[e>>2];c=q[c+64>>2];b:{if((d|0)==(c|0)){if(q[e+4>>2]<(b|0)){break b}break a}if((d|0)>=(c|0)){break a}}d=q[f>>2];if(d){hg(d)}q[e+4>>2]=b;q[e>>2]=c;q[f>>2]=a;a=1}else{a=0}return a|0}hg(a);return 0}function rb(a,b,c){var d=0,e=0,f=0,g=0;if(b>>>0>>0){f=q[a+88>>2];e=-1;d=b;while(1){g=q[(w(d,20)+f|0)+8>>2];e=e>>>0>g>>>0?g:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}while(1){d=w(b,20)+f|0;if(q[d+8>>2]!=(e|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function L$(a,b){var c=0;a:{if((b|0)!=1196445523){c=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;c=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;c=t[a+16>>2]<10?271312:q[a+12>>2]}a=c;a=r[a+9|0]|r[a+8|0]<<8;a=a?c+a|0:271312;return r[a|0]<<8|r[a+1|0]}function VX(a){a=a|0;a=a+24|0;Db(a,461);Db(a,462);$a(a,1819239276,1,1);$a(a,1667460464,1,1);$a(a,1886545254,12,1);$a(a,1651275622,12,1);$a(a,1633842790,12,1);$a(a,1886614630,12,1);$a(a,1667654002,12,1);Db(a,463);$a(a,1886545267,13,1);$a(a,1633842803,13,1);$a(a,1651275635,13,1);$a(a,1886614643,13,1)}function Kb(a){var b=0,c=0,d=0,e=0,f=0;e=Wa(a);a:{b:{if(!q[161260]|!r[a|0]){break b}if(Pb(a,61)){break b}b=q[q[161260]>>2];if(!b){break b}while(1){c=Ra(a,b,e);b=q[161260];if(!c){c=q[b+(d<<2)>>2];f=c+e|0;if(r[f|0]==61){break a}}d=d+1|0;b=q[b+(d<<2)>>2];if(b){continue}break}}return 0}return c?f+1|0:0}function tB(a){a=a|0;var b=0,c=0;c=q[a+28>>2];b=q[a+12>>2];if(b){vh(b+12|0);q[b+52>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+12>>2]=0}if(!q[a+20>>2]){b=q[a>>2];if(b){n[q[c+8>>2]](c,b)}q[a>>2]=0}}function lE(a){a=a|0;var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;b=q[a>>2];c=q[b+552>>2];b=bc(q[q[b+96>>2]+4>>2],7201);a:{if(!c|!b){break a}c=q[c>>2];if(!c){break a}c=n[c](b)|0;if(!c){break a}b=q[a>>2];e=n[q[c>>2]](q[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}q[q[a+40>>2]>>2]=q[d+12>>2]}Da=d+16|0;return e|0}function UF(a,b){var c=0;if(!a){return}if(!b){return}a=q[a>>2];if(!a){return}if(o[b+16|0]&1){c=q[b+4>>2];if(c){n[q[a+8>>2]](a,c)}q[b+4>>2]=0;c=q[b+8>>2];if(c){n[q[a+8>>2]](a,c)}q[b+8>>2]=0;c=q[b+12>>2];if(c){n[q[a+8>>2]](a,c)}q[b+12>>2]=0}q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}function lH(){var a=0,b=0,c=0,d=0,e=0;a=q[160617];e=q[160616];a:{if(!e){d=a;a=w(q[a>>2],1103515245)+12345&2147483647;q[d>>2]=a;break a}b=q[160618];c=a+(b<<2)|0;d=q[160961];a=q[c>>2]+q[a+(d<<2)>>2]|0;q[c>>2]=a;c=d+1|0;q[160961]=(c|0)==(e|0)?0:c;b=b+1|0;q[160618]=(b|0)==(e|0)?0:b;a=a>>>1|0}return a}function Xc(a){var b=0,c=0;a:{if(!a){break a}if(q[a>>2]==-1){hg(a);return}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}c=q[a+4>>2];if((c|0)>=1){b=0;while(1){c=q[a+8>>2]+a|0;La(q[c+(b<<2)>>2]+c|0);b=b+1|0;c=q[a+4>>2];if((b|0)<(c|0)){continue}break}}if(c){La(q[a+8>>2]+a|0);La(q[a+12>>2]+a|0)}La(a)}}function UH(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=q[a+4>>2];b=q[c+84>>2];if(!b){break a}d=q[q[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=q[b+8>>2];if(!e){break a}f=b;b=e;if((b|0)!=(a|0)){continue}break}}q[(f?f+8|0:c+84|0)>>2]=q[a+8>>2];b=q[a+20>>2];if(b){n[b](a)}Yf(a);n[q[d+8>>2]](d,a)}}function So(a,b,c){var d=0;d=Pr();q[a>>2]=d;a:{if(d){q[d+24>>2]=0;q[d+20>>2]=1;d=Or(q[a>>2]);q[a+4>>2]=d;if(!d){break a}rl(d,b,c);q[a+12>>2]=b;q[a+16>>2]=c;ql(q[a+4>>2],1033,0,3,1055);La(q[a+24>>2]);q[a+424>>2]=0;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;return}Rb(1227);Q(2);F()}Rb(1252);Q(3);F()}function mM(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=q[c>>2]|q[b>>2];q[a+4>>2]=q[c+4>>2]|q[b+4>>2];q[a+8>>2]=q[c+8>>2]|q[b+8>>2];q[a+12>>2]=q[c+12>>2]|q[b+12>>2];q[a+16>>2]=q[c+16>>2]|q[b+16>>2];q[a+20>>2]=q[c+20>>2]|q[b+20>>2];q[a+24>>2]=q[c+24>>2]|q[b+24>>2];q[a+28>>2]=q[c+28>>2]|q[b+28>>2];return 1}function jQ(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[a+8>>2];if(b){c=q[a+16>>2];d=q[c+4>>2];q[b+108>>2]=q[c>>2];q[b+112>>2]=d;q[b+124>>2]=q[c+16>>2];d=q[c+12>>2];q[b+116>>2]=q[c+8>>2];q[b+120>>2]=d}b=q[a+1512>>2];if(b){n[b](q[a+1508>>2]);b=q[a+1508>>2];if(b){n[q[e+8>>2]](e,b)}q[a+1508>>2]=0}}function YI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>8){break b}c=33;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break b;case 7:break c;default:break a}}q[a>>2]=949;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function fE(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=q[c+288>>2];if((e|0)<1){break a}f=q[c+292>>2];while(1){c=q[(d<<2)+f>>2];b:{if(!c|r[c|0]!=r[a|0]){break b}if((Wa(c)|0)!=(b|0)){break b}if(!Ra(c,a,b)){break a}}d=d+1|0;if((d|0)<(e|0)){continue}break}d=0}return d|0}function Oe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-16|0;Da=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=z(b)^31;Fc(c,d,0,0,0,112-b|0);b=(q[c+12>>2]^65536)+(b+16383<<16)|0;d=0+q[c+8>>2]|0;if(d>>>0>>0){b=b+1|0}f=d;d=b;b=q[c+4>>2];e=q[c>>2]}q[h>>2]=e;q[g+4>>2]=b;q[a+8>>2]=f;q[a+12>>2]=d;Da=c+16|0}function zH(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=r[a+2|0];e=(c|0)!=0;a=r[a+1|0]<<16|r[a|0]<<24|c<<8;f=r[b+1|0]<<16|r[b|0]<<24|r[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=r[d+1|0];e=(c|0)!=0;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?b+ -2|0:0}function bB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=q[a+16>>2];d=s[a+2>>1];a:{if(d+(s[a+6>>1]<<8)>>>0>>0){break a}c=s[a>>1];f=s[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|e>>>0>>0){break a}g=s[q[a+12>>2]+((e-c|0)+w((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function KG(){var a=0,b=0,c=0,d=0;b=Da-32|0;Da=b;while(1){d=JG(a,1<>2]=d;c=((d|0)!=0)+c|0;a=a+1|0;if((a|0)!=6){continue}break}a:{b:{if(c>>>0>1){break b}a=508688;if(c-1){break a}if(q[b+8>>2]!=508660){break b}a=508712;break a}a=0}Da=b+32|0;return a}function YP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+12>>2];a:{if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+65|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f+4>>2]=c>>10;q[f>>2]=b>>10;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function xt(a,b,c,d,e,f){var g=0,h=0;if(q[b>>2]){g=ab(1,204);a:{if(g){q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=1;a=a?a:641640;h=a;if(q[a+4>>2]){q[h+4>>2]=0}q[g+12>>2]=a;h=g+16|0;if(yt(h,1,a,b,c,d,e,f)){if(fT(g+60|0,a,h)){break a}La(q[g+36>>2])}La(g)}g=271312}return g}I(270515,270556,208,270573);F()}function dt(a){var b=0,c=0;b=q[a+20>>2];if(b){a:{if(q[a+8>>2]<1){break a}while(1){b=w(c,56)+b|0;La(q[b+28>>2]);La(q[b+44>>2]);La(q[b+48>>2]);La(q[b+52>>2]);c=c+1|0;if((c|0)>=q[a+8>>2]){break a}b=q[a+20>>2];continue}}q[a+8>>2]=0}La(q[q[a+88>>2]+20>>2]);a=q[a+88>>2];q[a+20>>2]=0;q[a+24>>2]=0}function Af(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[a+8>>2]+a|0;a:{b:{if(!a){a=0;break b}c=q[a>>2]+ -1|0;if((c|0)<0){a=0;break b}while(1){a=d+c>>1;e=q[(a<<3)+f>>2]-b|0;if(!e){break a}g=(e|0)<0;d=g?a+1|0:d;c=g?c:a+ -1|0;if((d|0)<=(c|0)){continue}break}d=e>>>31|0}a=a+d^-1}return(a|0)<0?0:(a<<3)+f|0}function pT(a,b,c){var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;a:{b:{if((q[c+48>>2]&-2)==4){if(gh(b,11)){break b}break a}if(!gh(b,12)){break a}}g=d;e=q[c+48>>2];f=(e&-3)!=5;if(!f){_c(c);e=q[c+48>>2]}q[g+12>>2]=e;q[d+8>>2]=b;o[d+4|0]=0;q[d>>2]=d+8;oT(d,b,c,q[a+132>>2]);if(f){break a}_c(c)}Da=d+16|0}function lU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(r[q[a+112>>2]+36|0]&2)){break a}d=q[c+76>>2];if(!d){break a}e=q[c+88>>2];a=0;while(1){b=w(a,20)+e|0;if(r[b+12|0]&64){f=b;b=r[b+14|0];o[f+18|0]=b&16?8:b&1|8;q[c+32>>2]=q[c+32>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Lo(a,b,c,d,e){var f=0;if((b|1|c)<0){q[e>>2]=6;return d}a:{if(!(c?1:0)){if(!d){break a}n[q[a+8>>2]](a,d);break a}f=e;if(2147483647>=(c|0)){if(!b){a=n[q[a+4>>2]](a,c)|0;q[e>>2]=!a<<6;return a}a=n[q[a+12>>2]](a,b,c,d)|0;d=a?a:d;a=!a<<6}else{a=10}q[f>>2]=a;return d}q[e>>2]=0;return 0}function uy(a,b){a=a|0;b=b|0;if(b>>>0>6){return 0}a:{switch(b-1|0){default:return a+160|0;case 2:return a+216|0;case 3:return(r[a+292|0]?a+296|0:0)|0;case 1:return(s[a+372>>1]==65535?0:a+372|0)|0;case 4:return a+476|0;case 0:return a+260|0;case 5:break a}}return(q[a+568>>2]?a+568|0:0)|0}function qu(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!Gv(a+4|0,b,a)){break a}if(!mm(a+8|0,b,a)){break a}if(!mm(a+12|0,b,a)){break a}d=mm(a+16|0,b,a)}return d}function RR(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;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=0;a:{if(!c){break a}while(1){h=Ub(q[b+4>>2],q[d>>2]);q[f>>2]=h;if(!h){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}q[b>>2]=0;return a|0}function Qf(a,b,c){var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=0;a:{if(!a){break a}f=q[a+92>>2];d=0;if(!f){break a}d=0;if(!q[a+16>>2]){break a}q[e+12>>2]=b;while(1){g=n[q[q[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=t[a+16>>2]){continue}break}d=g?q[e+12>>2]:0}a=d;if(c){q[c>>2]=g}Da=e+16|0;return a}function qP(a,b){var c=0;c=ab(1,44);if(!c){return 0}q[c>>2]=a;a=q[160550];q[c+4>>2]=q[160549];q[c+8>>2]=a;a=q[160552];q[c+12>>2]=q[160551];q[c+16>>2]=a;a=q[160554];q[c+20>>2]=q[160553];q[c+24>>2]=a;a=q[160556];q[c+28>>2]=q[160555];q[c+32>>2]=a;q[c+36>>2]=q[160557];q[c+40>>2]=b;return c}function te(a,b){var c=0;if(q[b+76>>2]<0){a:{if(o[b+75|0]==(a&255)){break a}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break a}q[b+20>>2]=c+1;o[c|0]=a;return}Mj(b,a);return}b:{c:{if(o[b+75|0]==(a&255)){break c}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break c}q[b+20>>2]=c+1;o[c|0]=a;break b}Mj(b,a)}}function Xf(a){var b=0,c=0;c=q[a+16>>2];a:{if((c|0)>=q[a+20>>2]){c=0;b=ua(q[a>>2],a+32|0,2048)|0;if((b|0)<=0){a=0;if(!b|(b|0)==-44){break a}q[160942]=0-b;return 0}q[a+16>>2]=0;q[a+20>>2]=b}b=a+c|0;q[a+16>>2]=s[b+48>>1]+c;c=q[b+44>>2];q[a+8>>2]=q[b+40>>2];q[a+12>>2]=c;a=b+32|0}return a}function bY(a){La(q[a+68>>2]);q[a+68>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;La(q[a+80>>2]);q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;La(q[a+92>>2]);q[a+92>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;La(q[a+80>>2]);q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;La(q[a+68>>2]);q[a+68>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0}function Dd(a,b,c){var d=0,e=0,f=0;f=((b>>>0)%8191<<2)+a|0;e=q[f+12>>2];a:{if(e){d=e;while(1){if(q[d+4>>2]==(b|0)){break a}d=q[d>>2];if(d){continue}break}}d=Sa(12);if(!d){return 0}q[d+4>>2]=b;b=q[a>>2];q[d>>2]=e;q[d+8>>2]=b;q[f+12>>2]=d;e=a;a=c&7;q[e>>2]=b+((a?8-a|0:0)+c|0)}return 1}function zE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=q[a+736>>2];a:{if(f){if(b){q[b>>2]=q[f>>2]}if(c){q[c>>2]=q[f+4>>2]}if(d){q[d>>2]=q[q[a+736>>2]+8>>2]}if(!e){break a}q[e>>2]=q[q[a+736>>2]+12>>2];return 0}if(b){q[b>>2]=0}if(c){q[c>>2]=0}if(!e){break a}q[e>>2]=0}return 0}function ug(a,b,c,d){var e=0;a=r[a+1|0];d=a&1?d+2|0:d;d=a&2?d+2|0:d;d=a&4?d+2|0:d;d=a&8?d+2|0:d;a:{if(a&16){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&32){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&64){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&128){e=0;if(!Lf(d,b,c)){break a}}e=1}return e}function OH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;f=-1;if(!(q[b>>2]!=4|q[a>>2]!=4)){a:{if(q[b+8>>2]!=2){pc(d,b);break a}pc(d,a)}e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;f=(q[a+8>>2]^q[b+8>>2])==1?1:0}Da=d+16|0;return+f}function Du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];a:{if(n[q[e+24>>2]](e,b,q[e+56>>2])>>>0<=31){e=q[a+12>>2];f=0;if(1<>2]](e,b,q[e+56>>2])&7168){break a}}a=q[a+12>>2];q[d>>2]=0;f=0;if(!b|!c){break a}f=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return f|0}function RP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=n[q[a+20>>2]](s[q[a+16>>2]+(b<<1)>>1])|0;d=q[a+24>>2];if(!d){break a}e=q[a+28>>2];while(1){a=q[(c<<2)+e>>2];if(!(!a|r[a|0]!=r[b|0])){if(!Ta(a,b)){break a}}c=c+1|0;if(c>>>0>>0){continue}break}c=0}return c|0}function DG(){var a=0,b=0,c=0;a=Da-16|0;Da=a;a:{if(fa(a+12|0,a+8|0)){break a}b=Sa((q[a+12>>2]<<2)+4|0);q[161260]=b;if(!b){break a}b:{b=Sa(q[a+8>>2]);if(b){c=q[161260];if(c){break b}}q[161260]=0;break a}q[(q[a+12>>2]<<2)+c>>2]=0;if(!ea(q[161260],b|0)){break a}q[161260]=0}Da=a+16|0}function _h(a,b){var c=0,d=0,e=0;d=q[q[a+4>>2]+100>>2];c=q[a+156>>2];e=q[c+4>>2];a:{if(e&1){c=q[a+88>>2];if(c){n[q[d+8>>2]](d,c)}q[a+88>>2]=0;break a}q[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=n[q[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=Na(d,0,b);c=0}q[a+88>>2]=e;return c}function Mt(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+32>>2];if(!(!b|!q[b>>2])){while(1){e=(c<<2)+b|0;a:{if(!q[e+28>>2]){break a}d=w(c,24)+b|0;La(q[d+68>>2]);q[d+68>>2]=0;q[d+60>>2]=0;q[d+64>>2]=0;if(!r[b+4|0]){break a}La(q[e+28>>2])}c=c+1|0;if(c>>>0>2]){continue}break}La(b)}La(a)}function zK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=q[b>>2];if(a>>>0>=c>>>0){break a}while(1){f=q[d>>2];if(f>>>0>>0){q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+2;p[f>>1]=a;a=q[b>>2];if(a>>>0>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function iJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{c=b+ -15|0;if(c>>>0>2){break a}b:{switch(c-1|0){default:return q[a+8>>2];case 0:break a;case 1:break b}}q[a>>2]=q[a+16>>2]?914:933;return q[a+8>>2]}c:{if((b|0)==28){b=59;if(!q[a+16>>2]){break c}}q[a>>2]=911;b=-1}return b|0}function CB(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=q[a+100>>2];b=q[a+132>>2];if(b){if(q[b+160>>2]){zb(q[a+104>>2],b+160|0)}d=c;e=q[b+168>>2];if(e){n[q[d+8>>2]](d,e)}q[b+168>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0}d=q[a+32>>2];if(d){n[q[c+8>>2]](c,d)}q[a+28>>2]=0;q[a+32>>2]=0}}function nz(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=s[a+152>>1];a:{if(!e){break a}a=q[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(q[a>>2]==(b|0)){g=q[a+12>>2];if(g){break b}}a=a+16|0;if(a>>>0>>0){continue}break a}break}if(d){q[d>>2]=g}f=Xa(c,q[a+8>>2])}return f|0}function gp(a){var b=0,c=0;b=508864;c=r[a|0]?a:508864;while(1){if(!GG(c,b)){while(1){b=(Wa(b)+b|0)+1|0;if(r[b|0]){continue}break}return b+ -508863|0}b=(Wa(b)+b|0)+1|0;a=r[b|0];if(!a){a=r[b+1|0];b=(a>>>0>128?2:w(128-a>>>2|0,5)+2|0)+b|0;a=r[b|0]}if(a&255){continue}break}return-1}function YJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=q[b>>2];if(a>>>0>=c>>>0){break a}while(1){f=q[d>>2];if(f>>>0>>0){q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+1;o[f|0]=a;a=q[b>>2];if(a>>>0>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function HO(a,b){a=a|0;b=b|0;var c=0;a:{if(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2])){break a}if(q[a+16>>2]!=q[b+16>>2]|q[a+20>>2]!=q[b+20>>2]|(q[a+24>>2]!=q[b+24>>2]|q[a+28>>2]!=q[b+28>>2])){break a}c=q[a+32>>2]==q[b+32>>2]}return c|0}function mZ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=cv(a?d+a|0:271312,b)}else{a=0}return a|0}function kZ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=bv(a?d+a|0:271312,b)}else{a=0}return a|0}function cb(a,b){var c=0,d=0;c=o[b|0];if(!c){return a}a=Pb(a,c);a:{if(!a){break a}if(!r[b+1|0]){return a}if(!r[a+1|0]){break a}if(!r[b+2|0]){return AH(a,b)}if(!r[a+2|0]){break a}if(!r[b+3|0]){return zH(a,b)}if(!r[a+3|0]){break a}if(!r[b+4|0]){return yH(a,b)}d=xH(a,b)}return d}function XP(a){a=a|0;var b=0,c=0;b=q[a+20>>2];a:{b:{if(r[a+65|0]){a=q[a+12>>2];if((p[a+20>>1]+p[a+56>>1]|0)+1>>>0>t[a+8>>2]){a=Xb(a,0,1);if(a){break a}}c=s[b>>1];a=c<<16>>16;if((a|0)<1){break b}p[(q[b+12>>2]+(c<<1)|0)+ -2>>1]=s[b+2>>1]+ -1}a=s[b>>1]}p[b>>1]=a+1;a=0}return a|0}function TL(a,b){var c=0,d=0,e=0,f=0;c=q[b+8>>2];a:{if(!Dd(a,b,16)){break a}e=b+c|0;if(!Dd(a,e,q[b>>2]<<3)){break a}c=0;if(q[b>>2]<=0){return 1}b:{while(1){f=(c<<3)+e|0;d=q[f+4>>2];if(!SL(a,d&1?(d&-2)+f|0:d)){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}}return 0}function VO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;q[b+16>>2]=q[c>>2];d=q[c+4>>2];q[b+104>>2]=0;q[b+108>>2]=0;q[b+20>>2]=d;q[b>>2]=q[a>>2];q[b+4>>2]=q[a+4>>2];q[b+8>>2]=q[a+8>>2];a=q[a+12>>2];q[b+112>>2]=0;q[b+116>>2]=0;q[b+12>>2]=a;if((Rr(q[c+8>>2],b,0)|0)==-1){q[b>>2]=0}return 1}function am(a,b,c,d){var e=0;a:{b:{if(!q[a+4>>2]){if(!d){break b}n[d](c);return}e=q[a+80>>2];if(e){n[e](q[a+76>>2])}b=b?b:641424;if(q[b>>2]){if(q[b>>2]<=0){break a}q[b>>2]=q[b>>2]+1}hd(q[a+72>>2]);q[a+80>>2]=d;q[a+76>>2]=c;q[a+72>>2]=b}return}I(250950,250975,269,250990);F()}function wT(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){a:{a=a<<24>>24;o[b+164|0]=a|64;if((a|0)<=-1){break a}o[b+164|0]=a|192;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Et(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}I(270083,270004,150,270070);F()}function Xe(a){var b=0,c=0;q[a+20>>2]=0;q[a+48>>2]=0;b=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=b;c=q[a+32>>2];b=a- -64|0;q[b>>2]=q[a+28>>2];q[b+4>>2]=c;b=q[a+40>>2];q[a+72>>2]=q[a+36>>2];q[a+76>>2]=b;q[a+88>>2]=q[a+52>>2];b=q[a+48>>2];q[a+80>>2]=q[a+44>>2];q[a+84>>2]=b}function BT(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){a:{a=a<<24>>24;o[b+164|0]=a|64;if((a|0)<=-1){break a}o[b+164|0]=a|192;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Ft(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}I(267814,267357,150,267801);F()}function SQ(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:{e=q[a+4>>2];if((d-c|0)>=(e|0)){break a}f=0-e|0;c=f&(c+e|0)+ -1;if((c|0)!=(d&f)){break a}c=c>>q[a>>2];if((c|0)<0|c>>>0>=t[a+96>>2]){break a}a=(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0;o[a|0]=r[a|0]|128>>>(b&7)}}function FW(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;h=sg(b+44|0);if(c){b=0;while(1){i=0-(xW(h,q[d>>2],a)<<16)|0;i=V$(i>>16,i>>31,q[a+40>>2],q[a+44>>2]);q[f>>2]=(Ea&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function $I(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=11;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 16}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function eN(a,b,c,d){var e=0,f=0,g=0;e=1<>2];a=0-e|0;a=a>>>0>>0?c:a&(c+e|0)+ -1;f=0;a:{if(a>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}g=q[b+20>>2];e=oe(e,w(a,d)+32|0,0);f=0;if(!e){break a}q[b+20>>2]=e;q[b+16>>2]=a;q[b+12>>2]=d;q[b+8>>2]=c;gd(g);f=1}return f}function NN(a,b,c){var d=0,e=0,f=0,g=0;if(!(!c|(b|0)<1)){while(1){g=b;b=b+ -1|0;a:{if(!(o[b+a|0]&1)){break a}e=(b<<2)+c|0;d=q[e>>2];if(d>>>0>65535){break a}f=p[(s[(d>>>5&134217726)+431024>>1]+(d&63)<<1)+433072>>1];if(!f){break a}q[e>>2]=d+f}if((g|0)>1){continue}break}}}function JB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[a+420>>2];if((d|0)>=1){f=q[a+424>>2];g=r[b|0];while(1){a:{e=q[(c<<2)+f>>2];if(r[e|0]!=(g|0)){break a}if(Ta(b,e)){break a}return Sb(q[q[a+428>>2]+(c<<2)>>2],0,10)|0}c=c+1|0;if((c|0)<(d|0)){continue}break}}return 0}function Cg(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 Tc(a,b,c){var d=0,e=0,f=0,g=0;d=(Wa(b)+Wa(c)|0)+1|0;a:{b:{if((d|0)<=0){if(!d){break b}break a}a=n[q[a+4>>2]](a,d)|0;if(!a){break a}e=Na(a,0,d)}a=ue(b,47);c:{if(a){d=b;b=(a-b|0)+1|0;f=Md(e,d,b)+b|0,g=0,o[f|0]=g;b=a+1|0;break c}o[e|0]=0}e=Eg(Eg(e,c),b)}return e}function $j(a){var b=0,c=0;a:{if(t[a+20>>2]<=t[a+28>>2]){break a}n[q[a+36>>2]](a,0,0)|0;if(q[a+20>>2]){break a}return-1}b=q[a+4>>2];c=q[a+8>>2];if(b>>>0>>0){b=b-c|0;n[q[a+40>>2]](a,b,b>>31,1)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return 0}function eJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>2){break b}c=11;c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}q[a>>2]=q[a+16>>2]?914:933;return 15}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function jA(a,b){a=a|0;b=b|0;var c=0;if(a+4>>>0>t[b+160>>2]){kb(b,8)}c=r[a+3|0]|r[a+2|0]<<8;if(!(a+c>>>0<=t[b+160>>2]?c>>>0>=262:0)){kb(b,8)}if(q[b+164>>2]){a=a+6|0;c=0;while(1){if(t[b+172>>2]<=r[a|0]){kb(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function GW(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;h=jh(b+16|0);if(c){b=0;while(1){i=yW(h,q[d>>2],a)<<16;i=V$(i>>16,i>>31,q[a+32>>2],q[a+36>>2]);q[f>>2]=(Ea&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function pK(a,b){a=a|0;b=b|0;var c=0;c=1;a=r[b+3|0];a:{if(!(a&128)|(a&192)==192){break a}a=r[b+2|0];if(!(a&128)|(a&192)==192){break a}a=r[b+1|0];b=r[b|0];if((b|0)==240){return(a&192)==192|a>>>0<144}if(!(a&128)){break a}c=(b|0)==244?a>>>0>143:(a&192)==192}return c|0}function ZB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=q[a+88>>2];if(b){q[b>>2]=q[a+300>>2]}if(c){q[c>>2]=q[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=Za(s[f+12>>1]<<6,q[a+304>>2]);a=Za(s[f+14>>1]<<6,q[a+304>>2])}if(d){q[d>>2]=b}if(e){q[e>>2]=a}return 0}function Kc(a){var b=0,c=0;a:{if(r[a+68|0]==1){if(!r[a+69|0]){break a}o[a+69|0]=0;c=q[a+92>>2];b=q[a+88>>2];if((c|0)!=(b|0)){q[a+96>>2]=b;q[a+92>>2]=b;q[a+88>>2]=c}q[a+72>>2]=0;b=q[a+80>>2];q[a+80>>2]=q[a+76>>2];q[a+76>>2]=b}return}I(272574,272586,335,272627);F()}function IM(a){var b=0,c=0;a:{if(!a){break a}b=Sa(32);if(!b){break a}c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;c=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=c;c=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=b}return c}function AH(a,b){var c=0,d=0,e=0,f=0;c=r[a+1|0];e=(c|0)!=0;a:{if(!c){break a}c=c|r[a|0]<<8;f=r[b+1|0]|r[b|0]<<8;if((c|0)==(f|0)){break a}b=a+1|0;while(1){a=b;d=r[a+1|0];e=(d|0)!=0;if(!d){break a}b=a+1|0;c=c<<8&65280|d;if((f|0)!=(c|0)){continue}break}}return e?a:0}function PQ(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+16>>2];q[a+32>>2]=b;d=q[a+20>>2];q[a+36>>2]=d;c=q[a+8>>2];e=c+q[a>>2]|0;q[a+8>>2]=e>>1;b=b+c|0;q[a+24>>2]=b>>1;q[a+16>>2]=b+e>>2;b=q[a+12>>2];c=b+q[a+4>>2]|0;q[a+12>>2]=c>>1;b=b+d|0;q[a+28>>2]=b>>1;q[a+20>>2]=b+c>>2}function kn(){var a=0,b=0,c=0,d=0,e=0,f=0;a=Kb(226814);c=2;a:{if(!a){break a}b=2;c=2;if(!r[a|0]){break a}while(1){c=b;e=b|4;f=b;d=Pb(a,58);if(!d){d=Wa(a)+a|0}b=d-a|0;b=Ra(a,226825,b)?c:(b|0)==24?e:f;a=r[d|0]?d+1|0:d;if(r[a|0]){continue}break}c=b&255}q[160736]=c}function dz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=q[a+516>>2];e=b;a:{b:{if(c){c=n[d](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=n[d](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=mb(e,162848,a);if(c){break a}q[a+36>>2]=0;q[a+40>>2]=0;c=0}return c|0}function AD(a,b){a=a|0;b=b|0;var c=0;a=q[a+712>>2];b=s[q[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b+ -391|0;if(t[a+1356>>2]<=b>>>0){break a}return q[q[a+1360>>2]+(b<<2)>>2]}a=q[a+3084>>2];if(!a){break a}c=n[q[a+20>>2]](b)|0}return c|0}function uJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=17;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=928;return 18}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function rJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=11;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=929;return 10}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function db(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Sa(b)|0}if(b>>>0>=4294967232){q[160942]=48;return 0}c=tG(a+ -8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Sa(b);if(!c){return 0}d=q[a+ -4>>2];d=(d&-8)-(d&3?4:8)|0;Qa(c,a,d>>>0>>0?d:b);La(a);return c|0}function VI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=33;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=951;return 32}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=p[a+302>>1];if(e){f=c<<3;g=q[f+q[b+12>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+12>>2]>>2]=e+g}e=p[a+304>>1];if(e){c=c<<3;f=q[(c+q[b+12>>2]|0)+4>>2];a=bb(d,e,q[a+568>>2]);q[(c+q[b+12>>2]|0)+4>>2]=a+f}}function tE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(Ta(b,5487)){break a}e=7;b:{if(d){b=Sb(c,0,10);break b}b=q[c>>2]}c=b+ -35|0;if(c>>>0>5){break a}c:{switch(c-1|0){case 0:case 1:case 2:case 3:break a;default:break c}}q[a- -64>>2]=b;e=0}return e|0}function iC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=q[a>>2];c=q[b+408>>2];q[a+16>>2]=c;d=q[b+416>>2];q[a+20>>2]=d;a:{if(c>>>0<2){break a}b=q[d>>2];a=1;while(1){e=b;b=q[(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 OR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;while(1){d=q[b>>2];q[b>>2]=1;if(d){continue}break}d=0;if(!el(q[b+4>>2],c,q[b+8>>2]|16,e+12|0)){d=q[e+12>>2];if(q[a+24>>2]<=-1){d=0-d|0;q[e+12>>2]=d}d=512-d>>10}q[b>>2]=0;Da=e+16|0;return d|0}function yp(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;a:{b:{if(!Pb(507296,o[b|0])){q[160942]=28;break b}e=MG(b);q[c>>2]=438;a=T(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}if((a|0)<0){break a}d=bk(a,b);if(d){break a}O(a|0)|0}d=0}Da=c+16|0;return d}function Wf(a,b){var c=0,d=0,i=0;h(+a);c=e(1)|0;d=e(0)|0;i=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=Wf(a*0x10000000000000000,b);b=q[b>>2]+ -64|0}q[c>>2]=b;return a}q[b>>2]=c+ -1022;f(0,d|0);f(1,i&-2146435073|1071644672);a=+g()}return a}function hH(a,b){var c=0,d=0;c=Da-160|0;Da=c;Qa(c+8|0,507304,144);q[c+52>>2]=a;q[c+28>>2]=a;d=-2-a|0;d=2147483647>d>>>0?d:2147483647;q[c+56>>2]=d;a=a+d|0;q[c+36>>2]=a;q[c+24>>2]=a;Yj(c+8|0,27763,b);if(d){a=q[c+28>>2];o[a-((a|0)==q[c+24>>2])|0]=0}Da=c+160|0}function cE(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=q[a>>2];c=q[d+552>>2];d=bc(q[q[d+96>>2]+4>>2],7201);if(!(!c|!d)){c=q[c>>2];if(c){break a}}Rf(q[a>>2],b);return 0}c=n[c](d)|0;Rf(q[a>>2],b);if(c){n[q[c+4>>2]](q[q[a+40>>2]>>2],q[a+16>>2],q[a+20>>2],0,0)}return 0}function IU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=q[a+12>>2];e=q[b+72>>2];b=n[q[e+192>>2]](b,q[b+76>>2],c,d,q[e+56>>2])|0;c=q[a+12>>2];a:{if(!c){break a}c=q[c+20>>2];a=q[a+20>>2];if((c|0)==(a|0)){break a}b=W$(V$(a,a>>31,b,b>>31),Ea,c,c>>31)}return b|0}function GU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=q[a+12>>2];e=q[b+72>>2];b=n[q[e+196>>2]](b,q[b+76>>2],c,d,q[e+60>>2])|0;c=q[a+12>>2];a:{if(!c){break a}c=q[c+24>>2];a=q[a+24>>2];if((c|0)==(a|0)){break a}b=W$(V$(a,a>>31,b,b>>31),Ea,c,c>>31)}return b|0}function Vd(a,b){var c=0;if(!a){return 40}q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0;b=yp(b,4031);if(!b){return 1}Qh(b,0,2);c=Ap(b);q[a+4>>2]=c;if(!c){Pe(b);return 81}Qh(b,0,0);q[a+24>>2]=3;q[a+20>>2]=4;q[a+12>>2]=b;return 0}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;Xn(a,b,c,d);b=q[a+300>>2];c=q[a+304>>2];a:{if((b|0)==(c|0)){break a}e=q[d>>2];if(e){f=d,g=bb(e,b,c),q[f>>2]=g}b=q[d+4>>2];if(!b){break a}f=d,g=bb(b,q[a+300>>2],q[a+304>>2]),q[f+4>>2]=g}return 0}function SH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;pc(d,b);e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;c=a;a=q[a+8>>2];c=a&1?c+(a&-2)|0:a;a=q[b+8>>2];a=dd(c,a&1?(a&-2)+b|0:a);Da=d+16|0;return+(a?1:0)}function MH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;pc(d,b);e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;c=a;a=q[a+8>>2];c=a&1?c+(a&-2)|0:a;a=q[b+8>>2];a=Xq(c,a&1?(a&-2)+b|0:a);Da=d+16|0;return+(a>>>0)}function oQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+20>>2];if(r[a+68|0]){a=q[e+8>>2];f=p[e+2>>1];g=q[e+4>>2]+(f<<3)|0;q[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+f|0]=d?1:2}p[e+2>>1]=s[e+2>>1]+1}function dn(a){var b=0,c=0;b=q[a>>2];if(!(!b|(b|0)==271312)){if(q[b+4>>2]){a=0;while(1){c=q[b+8>>2]+w(a,24)|0;La(q[c+20>>2]);q[c+20>>2]=0;q[c+12>>2]=0;q[c+16>>2]=0;a=a+1|0;if(a>>>0>2]){continue}break}}La(q[b+8>>2]);a=q[b>>2];Pa(a?a:271312);La(b)}}function Mj(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;o[c+15|0]=b;d=q[a+16>>2];a:{if(!d){if($o(a)){break a}d=q[a+16>>2]}e=q[a+20>>2];if(!(o[a+75|0]==(b&255)|e>>>0>=d>>>0)){q[a+20>>2]=e+1;o[e|0]=b;break a}if((n[q[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Da=c+16|0}function AL(a,b){var c=0,d=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{b=Jc(c+16|0,505072);d=Jc(c,505072);if(!b){break a}if((b|0)==(d|0)){continue}}break}a=q[c+20>>2]+(a^-1)|0}Da=c+32|0;return a}function _d(a,b){var c=0,d=0,e=0,f=0;a:{if(!a|!b){break a}c=q[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=q[a>>2];e=q[d>>2];if(Ta(q[e+8>>2],b)){a=a+4|0;if(a>>>0>>0){continue}break a}break}if(!d){break a}f=q[e+20>>2]}return f}function vp(a){var b=0,c=0;b=r[a+74|0];o[a+74|0]=b+ -1|b;if(t[a+20>>2]>t[a+28>>2]){n[q[a+36>>2]](a,0,0)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=q[a>>2];if(b&4){q[a>>2]=b|32;return-1}c=q[a+44>>2]+q[a+48>>2]|0;q[a+8>>2]=c;q[a+4>>2]=c;return b<<27>>31}function fS(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{if(!c){break a}f=q[a+76>>2];if(!f){break a}b=b&c;h=c^-1;i=q[a+88>>2];c=0;while(1){a=w(c,20)+i|0;g=q[a+8>>2];if(!(g>>>0>>0|g>>>0>=e>>>0)){q[a+4>>2]=b|q[a+4>>2]&h}c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function Zb(a){var b=0,c=0,d=0;b=q[a>>2];a:{if(q[b>>2]==-1){break a}c=q[b>>2];q[b>>2]=c+ -1;if((c|0)!=1){break a}c=q[b+12>>2];if(q[b+4>>2]>=1){while(1){La(q[(d<<2)+c>>2]);c=q[b+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}if(c){La(c)}La(b)}La(a)}function R$(a,b,c,d){var e=0,f=0,g=0,h=0;e=b;f=e>>31;e=e>>31;a=a^e;g=a-e|0;h=(b^f)-((a>>>0>>0)+f|0)|0;e=d;f=e>>31;e=e>>31;a=c^e;e=X$(g,h,a-e|0,(d^f)-((a>>>0>>0)+f|0)|0);b=b^d;c=b>>31;a=b>>31;b=e^a;d=b-a|0;Ea=(c^Ea)-((b>>>0>>0)+c|0)|0;return d}function Pe(a){var b=0,c=0,d=0,e=0;d=q[a>>2]&1;if(!d){b=q[a+52>>2];if(b){q[b+56>>2]=q[a+56>>2]}c=q[a+56>>2];if(c){q[c+52>>2]=b}if(q[161227]==(a|0)){q[161227]=c}}b=ak(a);c=n[q[a+12>>2]](a)|0;e=q[a+96>>2];if(e){La(e)}b=b|c;if(!d){La(a);return b}return b}function tJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>2){break b}c=3;c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}q[a>>2]=915;return 8}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Ma(a,b){var c=0,d=0;d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=w(a,b)+32768>>>16|0;break a}c=a&65535;a=w(c,b>>>16|0)+w(b,a>>>16|0)+(w(c,b&65535)+32768>>>16)|0}return(d|0)<0?0-a|0:a}function Ik(a,b){var c=0,d=0;c=xe(b);a:{if((c|0)>=0){c=r[c+485054|0];b=c>>>5|0;d=1;if(b>>>0>=t[a+4>>2]){break a}a=(b<<2)+a|0;q[a+8>>2]=q[a+8>>2]|1<<(c&31);return 1}b:{c=q[a>>2];if(c){break b}c=od();q[a>>2]=c;if(c){break b}return 0}d=Ad(c,b)}return d}function GP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;e=d>>>0>>0?d:b;if(!e){break a}b=0;while(1){f=a+b|0;d=r[f|0];o[f|0]=d^c>>>8;c=w(c+d|0,52845)+22719&65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}}function si(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;a=ye(a,qd(b),0,d);a:{if(a){break a}a=q[d>>2]+ -1|0;if(a>>>0>1){a=2;break a}b:{if(!(a-1)){e=v[d+8>>3];if(y(e)<2147483648){a=~~e;break b}a=-2147483648;break b}a=q[d+8>>2]}q[c>>2]=a;a=0}Da=d+16|0;return a}function aC(a){a=a|0;var b=0,c=0,d=0;c=q[q[a+188>>2]>>2];b=c;d=q[a+168>>2];if(d){n[q[b+8>>2]](b,d)}q[a+172>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;b=q[a+184>>2];if(b){n[q[c+8>>2]](c,b)}o[a+192|0]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0}function LP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=q[a+16>>2];c=q[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+q[a+20>>2]|0;a:{if(c>>>0>>0){e=q[a+24>>2];while(1){a=s[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(c>>>0>>0){continue}break}}a=0;c=0}q[b>>2]=c;return a|0}function Cr(a,b,c){var d=0,e=0;d=Sa(b<<3);q[a+16>>2]=d;e=Sa(c);q[a+20>>2]=e;if(!(e?d:0)){La(d);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return 0}q[a+12>>2]=c;q[a+4>>2]=b;q[a+8>>2]=0;q[a>>2]=0;return 1}function vt(a){var b=0,c=0;b=q[a>>2];c=q[a+4>>2];if((b|0)<=(c|0)){a:{if((b|0)!=(c|0)){c=q[a+16>>2];break a}b=b+20|0;q[a+4>>2]=b;c=db(q[a+16>>2],w(b,144));q[a+16>>2]=c;b=q[a>>2]}q[a>>2]=b+1;Na(w(b,144)+c|0,0,144);return b}I(1428,1465,104,1471);F()}function Eq(a,b,c){var d=0,e=0,f=0,g=0;a:{if((c|0)<2){break a}f=r[a|0];e=r[a+1|0]|f<<8;d=a+2|0;if((f&252)==216){if((c|0)<4){break a}c=r[d|0];if((c&252)!=220){break a}e=(r[d+1|0]|(c<<8&768|e<<10&1047552))+65536|0;d=a+4|0}q[b>>2]=e;g=d-a|0}return g}function ok(a,b){var c=0,d=0,e=0;a:{b:{c=q[a+156>>2];if(!c){break b}d=q[c+4>>2];if(!(d&1)){break b}e=q[a+88>>2];if(e){c=q[q[a+4>>2]+100>>2];n[q[c+8>>2]](c,e);c=q[a+156>>2];d=q[c+4>>2]}q[a+88>>2]=0;q[c+4>>2]=d&-2;break a}q[a+88>>2]=0}q[a+88>>2]=b}function eI(a,b){var c=0,d=0;a=Se(a);a:{if(!a){break a}d=Ic(q[a+8>>2]);cc(a);if(!d){break a}b:{a=Qb(d);if(a){while(1){c=Wa(a);if(!Ra(b,a,c)){c=r[b+c|0];if(!c|(c|0)==47){break b}}a=Qb(d);if(a){continue}break}}Zb(d);return 0}Zb(d);c=tL(a)}return c}function XB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;q[d+12>>2]=0;a:{if(q[c+80>>2]){break a}b=b-a|0;f=gb(q[c>>2],b+1|0,d+12|0);q[c+80>>2]=f;e=q[d+12>>2];if(e){break a}Qa(f,a,b);o[b+q[c+80>>2]|0]=0;e=q[d+12>>2]}Da=d+16|0;return e|0}function uC(a,b){a=a|0;b=b|0;var c=0;Rf(q[a>>2],b);c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+4>>2]](q[q[a+40>>2]>>2],q[a+16>>2],q[a+20>>2],0,0)}return 0}function Wc(a){var b=0;a:{b=q[a>>2]+ -3|0;if(b>>>0>6){break a}b:{switch(b-1|0){default:La(q[a+8>>2]);return;case 1:dl(q[a+8>>2]);return;case 2:Xc(q[a+8>>2]);return;case 4:Sd(q[a+8>>2]);return;case 0:case 3:break a;case 5:break b}}La(q[a+8>>2])}}function SR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=Ub(q[b+4>>2],c);a:{if(!a){e=0;if(!r[b+12|0]|c>>>0>255){break a}a=Ub(q[b+4>>2],c+61440|0);if(!a){break a}}q[d>>2]=a;e=1}q[b>>2]=0;return e|0}function Dg(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 tY(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){Jf(a+4|0,b,a,a+6|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;a=1}else{a=0}return a|0}function Uj(a,b,c,d,e){var f=0;f=Da-144|0;Da=f;q[f+44>>2]=a;q[f+4>>2]=a;q[f>>2]=0;q[f+76>>2]=-1;q[f+8>>2]=(a|0)<0?-1:a+2147483647|0;xd(f,0,0);c=rp(f,c,1,d,e);d=Ea;if(b){q[b>>2]=((q[f+4>>2]+q[f+120>>2]|0)-q[f+8>>2]|0)+a}Da=f+144|0;Ea=d;return c}function zr(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2];c=q[a+12>>2];a:{if(b>>>0>=c>>>0){q[160942]=0;c=c<<1;d=a,e=qc(q[a+20>>2],c,1),q[d+20>>2]=e;b=0;if(q[160942]){break a}q[a+12>>2]=c;b=q[a+8>>2]}o[q[a+20>>2]+b|0]=1;q[a+8>>2]=q[a+8>>2]+1;b=1}return b}function Fd(a,b){var c=0,d=0;c=xc(q[a>>2],a);c=c+(c>0?.5:-.5);a:{if(y(c)<0x8000000000000000){a=~~c>>>0;d=y(c)>=1?c>0?~~A(C(c/4294967296),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))/4294967296)>>>0:0;break a}a=0;d=-2147483648}q[b>>2]=a;q[b+4>>2]=d}function DC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=q[q[a+128>>2]+52>>2];a:{if(e){a=q[b>>2];q[d+12>>2]=c;q[d+8>>2]=a;n[q[q[e>>2]+4>>2]](q[e+4>>2],d+8|0);break a}a=q[a+712>>2];if(q[a+1236>>2]){break a}zb(q[a+1204>>2],b)}Da=d+16|0}function AA(a,b,c,d){var e=0,f=0;e=Da-5040|0;Da=e;q[e+20>>2]=0;q[e+16>>2]=a;q[e+12>>2]=b;q[e+8>>2]=q[c>>2];q[e+4>>2]=d;if(IA(e+24|0)){a=zA(e+24|0,e+16|0,e+12|0,e+8|0,e+4|0,e+20|0);q[c>>2]=q[e+20>>2];FA(e+24|0);f=(a|0)==1}Da=e+5040|0;return f}function sr(a,b,c,d){var e=0,f=0;a=1<>2];e=0-a|0;e=e>>>0>>0?c:e&(a+c|0)+ -1;a:{if(e>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}a=oe(a,w(d,e)+32|0,1);if(!a){break a}q[b+20>>2]=a;q[b+16>>2]=e;q[b+12>>2]=d;q[b+8>>2]=c;f=1}return f}function sC(a,b){a=a|0;b=b|0;var c=0;c=q[a+192>>2];q[b+24>>2]=q[a+188>>2];q[b+28>>2]=c;c=q[a+184>>2];q[b+16>>2]=q[a+180>>2];q[b+20>>2]=c;c=q[a+176>>2];q[b+8>>2]=q[a+172>>2];q[b+12>>2]=c;c=q[a+168>>2];q[b>>2]=q[a+164>>2];q[b+4>>2]=c;return 0}function no(a,b){a=a|0;b=b|0;var c=0;c=q[a+136>>2];q[b>>2]=q[a+132>>2];q[b+4>>2]=c;c=q[a+160>>2];q[b+24>>2]=q[a+156>>2];q[b+28>>2]=c;c=q[a+152>>2];q[b+16>>2]=q[a+148>>2];q[b+20>>2]=c;c=q[a+144>>2];q[b+8>>2]=q[a+140>>2];q[b+12>>2]=c;return 0}function hk(a,b){var c=0,d=0;c=Da-32|0;Da=c;a:{b:{d=wa(a|0,b|0)|0;if((d|0)==-8){if(CG(a)){break b}}if(d>>>0>=4294963201){q[160942]=0-d;a=-1}else{a=d}break a}Ip(c,a);a=W(c|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}}Da=c+32|0;return a}function VD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=q[f+c>>2];q[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=jo(a,e,d);Da=d+16|0;return a|0}function EC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;f=q[q[a+128>>2]+52>>2];a:{if(f){a=n[q[q[f>>2]>>2]](q[f+4>>2],b,e+8|0)|0;q[c>>2]=q[e+8>>2];q[d>>2]=q[e+12>>2];break a}a=Ag(q[a+712>>2]+1204|0,b,c,d)}Da=e+16|0;return a|0}function AQ(a){a=a|0;var b=0,c=0,d=0;if(q[a+12>>2]==-559038737){c=q[a+32>>2];b=c;d=q[a>>2];if(d){n[q[b+8>>2]](b,d)}q[a>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+28>>2];if(b){n[q[c+8>>2]](c,b)}q[a+12>>2]=0;q[a+28>>2]=0}}function bc(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=q[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=q[a>>2];if(!Ta(q[q[d>>2]+8>>2],b)){break a}a=a+4|0;if(a>>>0>>0){continue}break}return 0}return d}function hO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a+28>>2];d=q[a+20>>2];b=q[b+28>>2];e=q[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=q[a+16>>2];b=q[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function hI(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;e=Ic(b);c=0;a:{if(!e){break a}c=Qb(e);if(c){while(1){if(r[643740]&8){q[d>>2]=c;Ua(503726,d)}f=eL(c,a);if(f){iI(a,f,b,c);hg(f)}c=Qb(e);if(c){continue}break}}Zb(e);c=1}Da=d+16|0;return c}function wb(a,b){var c=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{a=Jc(c+16|0,486400);b=Jc(c,486400);if(!a){break a}if((a|0)==(b|0)){continue}}break}a=a-b|0}Da=c+32|0;return a}function ty(a,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=s[a+152>>1];if(c){f=142;if(g>>>0<=b>>>0){break a}a=q[a+156>>2]+(b<<4)|0;q[c>>2]=q[a>>2];q[d>>2]=q[a+8>>2];g=q[a+12>>2]}q[e>>2]=g;f=0}return f|0}function dR(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(q[a+4>>2]){break a}e=c;g=a+52|0;f=q[g>>2];c=q[a+16>>2];if((e|0)!=(f+c|0)){break a}e=q[a>>2];c=Ji(a+16|0,d,f,c,b,e);if(!c){c=Ji(g,d,0,f,b,e);if(!c){break a}}q[a+4>>2]=c}}function Ig(a,b){var c=0;a=a?a:503338;c=Sa((Wa(a)+Wa(b)|0)+5&-4);if(c){a=tc(c,a);a:{if(r[a|0]){if(r[(Wa(a)+a|0)+ -1|0]==47){break a}}if(r[b|0]==47){break a}c=Wa(a)+a|0;o[c|0]=47;o[c+1|0]=0}a=Eg(a,b);if(!Re(a,4)){return a}La(a)}return 0}function tP(a){Cc(a,4384);Cc(a,6816);Cc(a,9656);Cc(a,14472);Cc(a,17372);Cc(a,17712);Cc(a,19028);Cc(a,25200);Cc(a,26028);Cc(a,161536);Cc(a,284728);Cc(a,289768);Cc(a,289836);Cc(a,289928);Cc(a,29e4);Cc(a,290072);Cc(a,290564);Cc(a,353992)}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=cj(a,163712,d);a:{if(e){break a}e=cj(a,163729,d+8|0);if(e){break a}e=6;if(q[d>>2]!=1|q[d+8>>2]!=1){break a}q[b>>2]=q[d+12>>2];q[c>>2]=q[d+4>>2];e=0}Da=d+16|0;return e|0}function Ra(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=r[a|0];a:{if(!d){break a}while(1){b:{e=r[b|0];if((e|0)!=(d|0)){break b}c=c+ -1|0;if(!c|!e){break b}b=b+1|0;d=r[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-r[b|0]|0}function kL(a){var b=0,c=0,d=0;b=Da-32|0;Da=b;d=q[a+4>>2];q[b+16>>2]=q[a>>2];q[b+20>>2]=d;Ua(489851,b+16|0);if(q[a>>2]>=1){while(1){q[b>>2]=c;Ua(489869,b);cd(q[q[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}Da=b+32|0}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+16>>2];if(c){f=q[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=q[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=d>>>0>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function GL(a,b){var c=0;a=Cd(a,b);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;c=b+8|0;b=q[b+4>>2]<<2;Qa(a+8|0,c,b>>>0<32?b:32);q[a>>2]=0;q[a+4>>2]=8;return a}function xd(a,b,c){var d=0,e=0,f=0,g=0;q[a+112>>2]=b;q[a+116>>2]=c;f=q[a+8>>2];g=q[a+4>>2];d=f-g|0;e=d>>31;q[a+120>>2]=d;q[a+124>>2]=e;if(!(!(b|c)|((e|0)<(c|0)?1:(e|0)<=(c|0)?d>>>0>b>>>0?0:1:0))){q[a+104>>2]=b+g;return}q[a+104>>2]=f}function xC(a){a=a|0;var b=0,c=0;if(q[q[a+40>>2]>>2]){c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+8>>2]](q[q[a+40>>2]>>2])}q[q[a+40>>2]>>2]=0}}function wi(a,b){var c=0,d=0;c=q[a>>2];a:{if((c|0)!=q[a+4>>2]){d=q[a+8>>2];break a}c=c+32|0;d=q[a+8>>2];b:{if(d){d=db(d,c<<2);break b}d=Sa(c<<2)}if(!d){return 0}q[a+8>>2]=d;q[a+4>>2]=c;c=q[a>>2]}q[a>>2]=c+1;q[(c<<2)+d>>2]=b;return 1}function dL(a,b){a=a|0;b=b|0;var c=0;c=1;a=n[q[a+364>>2]](q[a+368>>2],b)|0;a:{if(a>>>0>65535){break a}b=a>>>8|0;if(b+ -216>>>0<8){break a}b:{if((b|0)!=255){if(r[a+490220|0]|b){break b}break a}if((a|1)==65535){break a}}c=0}return c|0}function Yb(a){var b=0,c=0;a:{if(q[a>>2]==-1){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}b=q[a+12>>2];if(q[a+4>>2]>=1){while(1){La(q[(c<<2)+b>>2]);b=q[a+12>>2];c=c+1|0;if((c|0)>2]){continue}break}}if(b){La(b)}La(a)}}function kE(a){a=a|0;var b=0,c=0;if(q[q[a+40>>2]>>2]){c=q[a>>2];b=q[c+552>>2];c=bc(q[q[c+96>>2]+4>>2],7201);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+8>>2]](q[q[a+40>>2]>>2])}q[q[a+40>>2]>>2]=0}}function jR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=q[c>>2];d=((d>>31)+d|0)+32768&-65536;c=q[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(q[a+4>>2]){break a}b=_g((w((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,q[a>>2],0);if(!b){break a}q[a+4>>2]=b}}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=q[a+484>>2];d=d+(q[a+488>>2]-c|0)|0;if((b|0)>=0){b=b+d|0;a=c+(b-((b|0)%q[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d-b|0;a=(((b|0)%q[a+480>>2]|0)-b|0)-c|0;return((a|0)>0?0-c|0:a)|0}function oe(a,b,c){var d=0,e=0;e=a+ -1|0;if(!(e&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=(a+b|0)+3|0;b:{if(c){b=ab(b,1);break b}b=Sa(b)}if(!b){break a}d=a;a=b+4|0;c=a&e;d=c?(d-c|0)+a|0:a;q[d+ -4>>2]=b}return d}I(3373,3404,85,3416);F()}function AM(a,b){var c=0;a:{if(!Dd(a,b,12)){break a}if(!Dd(a,q[b+8>>2],q[b>>2]<<2)){break a}if(q[b>>2]<=0){return 1}b:{while(1){if(!TL(a,q[q[b+8>>2]+(c<<2)>>2])){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}}return 0}function cM(a,b){var c=0,d=0,e=0;d=q[b+4>>2];e=d+1|0;q[b+4>>2]=e;a:{b:{if(!a){c=0;if((d|0)>=-1){break a}c=0;break b}d=q[a>>2];c=0;if((e|0)>=(d|0)){break a}c=0;if((d|0)<1){break b}c=(q[a+8>>2]+a|0)+(e<<3)|0}q[b>>2]=c;c=1}return c}function bQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Da-16|0;Da=f;e=gb(b,16,f+12|0);g=q[f+12>>2];if(!g){q[e+12>>2]=2;q[e+8>>2]=d;q[e>>2]=c;q[e+4>>2]=c;q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=e;q[a>>2]=b}Da=f+16|0;return g|0}function CL(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;q[b>>2]=0;q[b+4>>2]=a;while(1){c=c+1|0;if(Jc(b,0)){continue}break}d=Sa(c);if(d){q[b>>2]=0;q[b+4>>2]=a;c=d;while(1){a=Jc(b,0);o[c|0]=a;c=c+1|0;if(a){continue}break}}Da=b+16|0;return d}function yP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a>>2];d=a&2147483647;b=q[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 eR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(q[a+4>>2]){break a}d=q[a+16>>2];e=a+52|0;f=q[e>>2];if((d+f|0)!=(b|0)){break a}g=q[a>>2];b=Ji(a+16|0,c,0,d,0,g);if(!b){b=Ji(e,c,d,f,0,g);if(!b){break a}}q[a+4>>2]=b}}function qI(a){var b=0,c=0,d=0;a:{b=q[a+156>>2];if(!b){break a}c=q[b+4>>2];if(!(c&1)){break a}d=q[a+88>>2];if(d){b=q[q[a+4>>2]+100>>2];n[q[b+8>>2]](b,d);b=q[a+156>>2];c=q[b+4>>2]}q[a+88>>2]=0;q[b+4>>2]=c&-2;return}q[a+88>>2]=0}function ei(a,b){var c=0,d=0,e=0,f=0;if(a){d=q[a+4>>2];if(d){c=q[a+20>>2];while(1){e=q[c>>2];if(e){n[q[b+8>>2]](b,e)}q[c>>2]=0;c=c+4|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}c=q[a+20>>2];if(c){n[q[b+8>>2]](b,c)}q[a+20>>2]=0}}function dd(a,b){var c=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{a=Jc(c+16|0,0);b=Jc(c,0);if(!a){break a}if((a|0)==(b|0)){continue}}break}a=a-b|0}Da=c+32|0;return a}function Wb(a,b,c){var d=0,e=0,f=0;f=q[a+4>>2];d=q[a+8>>2];if(f>>>0>d>>>0){e=q[a+20>>2];a:{if(e){b=n[e](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Qa(e,q[a>>2]+d|0,b)}q[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function bg(a){var b=0,c=0,d=0;a:{if(q[a+8>>2]){break a}b=q[a+12>>2];c=Sa(b+1|0);if(!c){break a}d=Qa(c,q[a>>2],b);o[b+d|0]=0}if(q[a+4>>2]){La(q[a>>2]);q[a>>2]=a+20;q[a+12>>2]=0;q[a+16>>2]=64;q[a+4>>2]=0;q[a+8>>2]=0}return d}function XR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Da-16|0;Da=a;q[a+12>>2]=0;a:{if(Ij(c,b,0,a+12|0)){break a}d=Sa(q[a+12>>2]);if(!d){break a}if(Ij(c,b,d,a+12|0)){La(d);break a}e=fn(d,q[a+12>>2],2,d,427)}Da=a+16|0;return e|0}function Q$(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=w(e,f);g=c&65535;h=a&65535;i=w(g,h);f=(i>>>16|0)+w(f,g)|0;e=(f&65535)+w(e,h)|0;a=(w(b,c)+j|0)+w(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;Ea=a;return b}function HM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[b>>3];e=v[b+8>>3];f=v[c>>3];g=v[c+16>>3];h=v[c+8>>3];i=v[b+16>>3];j=v[c+24>>3];k=v[b+24>>3];v[a+24>>3]=h*i+j*k;v[a+16>>3]=f*i+g*k;v[a+8>>3]=d*h+e*j;v[a>>3]=d*f+e*g}function aA(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];a:{if(c>>>0>65534){break a}if(o[a+20|0]&1){return An(a,b,1)|0}if((c|0)==q[a+24>>2]){yn(a);c=q[a+28>>2];if(!c){break a}q[b>>2]=q[a+24>>2];return c|0}d=zn(a,b,1)}return d|0}function xN(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=0;a:{if(Yc(b,c,2560)){break a}b=q[b+84>>2];if(p[b+110>>1]>>>0<=d>>>0){break a}a=q[b+112>>2]+(d<<3)|0;q[e>>2]=q[a>>2];q[f>>2]=q[a+4>>2];a=1}return a|0}function lP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[q[a>>2]+12>>2];f=q[a+8>>2];a=q[(e+w(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;Qa(b,q[(w(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function gn(){var a=0,b=0;a=q[160737];if(!a){a=Da-16|0;Da=a;Da=a+16|0;b=q[160953];b=b?b+8|0:634080;a=0;a:{if(!b){break a}a=0;if(!r[b|0]){break a}b=hn(b);a=0;if(!b){break a}a=q[b+4>>2]}b=q[160737];q[160737]=b?b:a}return a}function WN(a,b,c){var d=0,e=0;if(b){while(1){e=c;d=q[a>>2];if(d>>>0<=1114111){d=r[(s[(d>>>7&33554430)+383744>>1]+(d&255)|0)+356608|0]}else{d=0}q[e>>2]=q[(d<<2)+356512>>2];a=a+4|0;c=c+4|0;b=b+ -1|0;if(b){continue}break}}}function Tg(a){var b=0,c=0;a:{if(!r[a|0]){break a}b=Mg(a);if(!b){break a}b:{if(!Re(b,0)){if(ik(a,493)){break b}c=!Xh(a);break b}if((Re(b,0)|0)!=-1){break b}if(!Tg(b)){break b}if(ik(a,493)){break b}c=!Xh(a)}La(b)}return c}function Px(a){var b=0,c=0,d=0,e=0;c=q[a+76>>2];if(c){d=q[a+96>>2];e=q[a+88>>2];a=0;while(1){b=w(a,20);if(q[b+e>>2]==65535){b=b+d|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function yN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[e+28>>2]=c;c=0;a=ed(q[e>>2],e+8|0,0);if(a){b=q[a>>2];if((b|0)>=0){q[d>>2]=q[a+8>>2];c=q[a+12>>2];q[d+8>>2]=b;q[d+4>>2]=c;q[d+12>>2]=0-q[a+4>>2];c=1}Cb(a)}return c|0}function Yx(a){var b=0,c=0,d=0,e=0;c=75;a:{while(1){b=c+d>>>1|0;e=q[(b<<4)+227200>>2];b:{if(e>>>0>a>>>0){c=b+ -1|0;break b}if(e>>>0>=a>>>0){break a}d=b+1|0}if((d|0)<=(c|0)){continue}break}return 0}return(b<<4)+227200|0}function Rb(a){var b=0,c=0;b=q[126998];b;c=a;a=Wa(a);a:{if((((Lc(c,1,a,b)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(r[b+75|0]==10){break b}a=q[b+20>>2];if(a>>>0>=t[b+16>>2]){break b}q[b+20>>2]=a+1;o[a|0]=10;break a}Mj(b,10)}}function OX(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Cu(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}I(241938,241790,150,241925);F()}function YR(a){var b=0,c=0;b=q[a+104>>2];a:{if(!q[b+20>>2]){c=fn(q[b>>2],q[b+4>>2],1,a,0);b=WS(c,q[a+4>>2]);Pa(c);break a}b=XS(a)}c=q[a+4>>2];if(q[b+4>>2]){q[b+24>>2]=c}a=s[a+68>>1];if(q[b+4>>2]){q[b+28>>2]=a}return b}function Ge(a,b){var c=0;a:{if(r[a+70|0]|!q[a+4>>2]){break a}q[a+80>>2]=0;o[a+69|0]=256;o[a+70|0]=1;q[a+92>>2]=q[a+88>>2];c=w(q[a+76>>2],20);if(!c){break a}Na(q[a+96>>2],0,c)}if(b){q[b>>2]=q[a+76>>2]}return q[a+96>>2]}function $N(a){var b=0,c=0,d=0;b=q[a+12>>2];if(q[a+16>>2]>=1){while(1){d=b;b=w(c,12);La(q[d+b>>2]);La(q[(q[a+12>>2]+b|0)+4>>2]);b=q[a+12>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b);q[a+12>>2]=0;q[a+16>>2]=0}function lp(a,b,c,d){a:{if(!a){break a}b=b+2|0;if(b>>>0>5){break a}b:{switch(b-1|0){default:o[a|0]=c;return;case 0:p[a>>1]=c;return;case 1:case 2:q[a>>2]=c;return;case 3:break a;case 4:break b}}q[a>>2]=c;q[a+4>>2]=d}}function dg(a,b,c){var d=0,e=0,f=0;if(!a){return 35}e=6;a:{if(!c){break a}q[c>>2]=0;d=q[a+96>>2];f=q[q[d>>2]+32>>2];if(!f){break a}d=n[f](d,442656)|0;if(!d){break a}d=q[d+4>>2];if(!d){break a}e=n[d](a,b,c)|0}return e}function bC(a){a=a|0;var b=0;b=q[q[a+156>>2]>>2];q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+188>>2]=b;o[a+192|0]=0;Xe(b);return 0}function JH(a){a=a|0;var b=0,c=0;b=Da-16|0;Da=b;a:{if(pd(a,505204,0,b+12|0)){break a}c=1;a=q[b+12>>2];if(!Ta(a,505215)){break a}if(!Ta(a,505222)){break a}if(!Ta(a,505230)){break a}c=!Ta(a,505241)}Da=b+16|0;return c|0}function ZO(a,b){a=a|0;b=b|0;var c=0,d=0;q[b+72>>2]=1869968492;d=q[a+36>>2];q[b+124>>2]=d;c=q[a+24>>2];q[b+108>>2]=q[a+20>>2];q[b+112>>2]=c;c=q[a+32>>2];q[b+116>>2]=q[a+28>>2];q[b+120>>2]=c;q[b+124>>2]=d&-2;return 0}function VC(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=q[a+12>>2];a:{if((c|0)==9572|(c|0)==9612){break a}d=0;c=ld(bc(q[q[q[a>>2]+96>>2]+4>>2],9848),10068,0);if(!c){break a}c=q[c>>2];if(!c){break a}d=n[c](a,b)|0}return d|0}function Ss(a,b){a=a|0;b=b|0;var c=0;c=q[b+4>>2];q[a+4>>2]=q[b>>2];q[a+8>>2]=c;q[a+28>>2]=q[b+24>>2];c=q[b+20>>2];q[a+20>>2]=q[b+16>>2];q[a+24>>2]=c;c=q[b+12>>2];q[a+12>>2]=q[b+8>>2];q[a+16>>2]=c;Rs(a,b,0);Rs(a,b,1)}function IL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|!b)){f=q[b+8>>2];g=q[b+12>>2];d=q[a>>2];c=c<<16;h=bb(d,q[b>>2],c);e=q[a+4>>2];i=a,j=h+bb(e,q[b+4>>2],c)|0,q[i>>2]=j;i=a,j=bb(d,f,c)+bb(e,g,c)|0,q[i+4>>2]=j}}function oy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Da-16|0;Da=d;e=q[a+16>>2];a:{if((e|0)>=1){while(1){if(!ph(a,c,d+12|0)){if(!Ta(b,q[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Da=d+16|0;return c|0}function RO(a,b,c,d){var e=0,f=0,g=0;a=q[((b<<2)+a|0)- -64>>2];b=wd(a,2);a:{if(b){e=b+76|0;b=p[b+78>>1];break a}e=a+70|0;b=0-p[a+72>>1]|0}a=q[q[a+88>>2]+20>>2];f=c,g=Ma(p[e>>1],a),q[f>>2]=g;f=d,g=Ma(b,a),q[f>>2]=g}function xF(a,b){a=a|0;b=b|0;var c=0,d=0;d=zd(5072,b);a:{if(d){break a}d=0;if(!a){break a}c=q[a+4>>2];if(!c){break a}c=bc(c,5128);if(!c){break a}c=q[q[c>>2]+20>>2];if(!c){break a}d=n[q[c+16>>2]](a,b)|0}return d|0}function NE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break a}}a=q[b+16>>2]+(c<<3)|0;q[a+4>>2]=q[a+4>>2]+d}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|16}function Hc(a){var b=0,c=0,d=0;a:{b:{c=q[a+72>>2];if(!c){break b}d=q[c+4>>2];if((d|0)==(c+4088|0)){break b}b=c;break a}b=Sa(4104);if(!b){return 0}q[b>>2]=c;d=b+8|0;q[b+4>>2]=d;q[a+72>>2]=b}q[b+4>>2]=d+16;return d}function _D(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a+8>>2];c=q[a>>2];a:{if((c|0)>=1){e=q[a+16>>2];a=0;while(1){d=q[w(a,144)+e>>2];if(d){if(!Ta(d,b)){break a}}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function nk(a){var b=0;a:{if(!a){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}b=q[a+4>>2];if(b){La(b)}b=q[a+8>>2];if(b){La(b)}b=q[a+12>>2];if(b){La(b)}Od(q[a+20>>2]);Od(q[a+24>>2]);Od(q[a+28>>2]);La(a)}}function ak(a){var b=0;if(a){if(q[a+76>>2]<=-1){return $j(a)}return $j(a)}if(q[160688]){b=ak(q[160688])}a=q[161227];if(a){while(1){if(t[a+20>>2]>t[a+28>>2]){b=$j(a)|b}a=q[a+56>>2];if(a){continue}break}}return b}function Gh(a,b,c,d){var e=0,f=0;f=q[a+4>>2];if(f>>>0>b>>>0){e=q[a+20>>2];a:{if(e){c=n[e](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Qa(e,q[a>>2]+b|0,c)}q[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Dr(a){var b=0,c=0,d=0;b=q[a+4>>2];if((b|0)>=1){while(1){c=q[(q[a>>2]+w(d,336)|0)+332>>2];if(c){while(1){b=q[c+332>>2];La(c);c=b;if(c){continue}break}b=q[a+4>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}}function sI(a){var b=0,c=0,d=0;while(1){d=q[a>>2];b=q[a+4>>2]+ -1|0;if(b>>>0<=1){a:{if(b-1){b=q[a+8>>2];tb(q[b+16>>2]);break a}b=q[a+8>>2];c=q[b+8>>2];if(!c){break a}tb(c)}La(b)}La(a);a=d;if(a){continue}break}}function fK(a,b){a=a|0;b=b|0;var c=0,d=0;if(r[b+1|0]){return b|0}a=a+72|0;while(1){c=r[a+r[b|0]|0];if(c>>>0>21){return b|0}if(!(1<>>0>21){return b|0}if(!(1<>2]+136|0;f=q[Ac(g)>>2];f=f?f:271312;q[e+8>>2]=t[f+16>>2]<10?271312:q[f+12>>2];h=e,i=q[Ac(g)+8>>2],q[h+12>>2]=i;v$(a,e+8|0,b,c,d);Da=e+16|0}function s$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;g=q[c+16>>2]+140|0;f=q[Rc(g)>>2];f=f?f:271312;q[e+8>>2]=t[f+16>>2]<10?271312:q[f+12>>2];h=e,i=q[Rc(g)+8>>2],q[h+12>>2]=i;r$(a,e+8|0,b,c,d);Da=e+16|0}function oE(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;o[c+7|0]=0;b=Ch(a,b,c+8|0,c+7|0);a:{if(b){break a}a=q[q[q[a+4>>2]+128>>2]+52>>2];if(!a){break a}n[q[q[a>>2]+4>>2]](q[a+4>>2],c+8|0)}Da=c+16|0;return b|0} -function zM(a,b){var c=0,d=0,e=0,f=0,g=0;c=Cd(a,b);a:{if(!c){break a}f=q[b+4>>2];d=q[b>>2];q[c>>2]=d;q[c+4>>2]=f;q[c+8>>2]=q[b+8>>2];q[c+4>>2]=d;g=Cd(a,q[b+8>>2]);if(!g){break a}q[c+8>>2]=g-c|1;if(q[b>>2]>=1){while(1){f=e<<2;d=RL(a,q[f+q[b+8>>2]>>2]);if(!d){return 0}q[f+g>>2]=d-c|1;e=e+1|0;if((e|0)>2]){continue}break}}e=c}return e}function Xi(a,b){var c=0,d=0;c=Da-48|0;Da=c;q[c+16>>2]=0;q[c+20>>2]=0;o[c+21|0]=0;o[c+22|0]=0;o[c+23|0]=0;o[c+24|0]=0;o[c+25|0]=0;o[c+26|0]=0;o[c+27|0]=0;o[c+28|0]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;d=Mb(b);o[c+44|0]=1;q[c+40>>2]=d;d=x_(c+8|0,Jb(b,1195656518));q[a>>2]=d;if(iw(d,b)){Pa(q[a>>2]);q[a>>2]=271312}Da=c+48|0}function yr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=q[a>>2];if(i){d=q[b+12>>2];e=q[b+8>>2];f=q[b+4>>2];g=q[b>>2];j=q[a+16>>2];a=0;while(1){c=(a<<3)+j|0;h=q[c+4>>2];d=(d|0)>(h|0)?d:h;c=q[c>>2];e=(e|0)>(c|0)?e:c;f=(f|0)>(h|0)?h:f;g=(g|0)>(c|0)?c:g;a=a+1|0;if((i|0)!=(a|0)){continue}break}q[b+12>>2]=d;q[b+8>>2]=e;q[b+4>>2]=f;q[b>>2]=g}}function Ay(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Da-16|0;Da=c;e=q[a+16>>2];d=b;b=s[a+8>>1]>>>1|0;d=Oa(d,1,0,b+1|0,0,c+12|0);Da=c+16|0;if(q[c+12>>2]){a=f}else{a=0;a:{if(!b){break a}while(1){f=r[e+1|0];c=f|r[e|0]<<8;if(!c){break a}o[a+d|0]=c+ -32>>>0>95?63:f;e=e+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}o[a+d|0]=0;a=d}return a|0}function iN(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:{e=w(b,e);if((e|0)<1){break a}g=a+e|0;if(f){while(1){e=0;while(1){h=a+e|0;i=r[c+e|0]+r[h|0]|0;o[h|0]=i>>>0<255?i:255;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=c+d|0;a=a+b|0;if(a>>>0>>0){continue}break a}}while(1){a=a+b|0;if(a>>>0>>0){continue}break}}}function Xr(a){var b=0,c=0;b=q[a+8>>2];if(b){if(q[a+16>>2]>=1){while(1){La(q[(c<<2)+b>>2]);b=q[a+8>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b)}b=q[a+4>>2];if(b){if(q[a+12>>2]>=1){c=0;while(1){La(q[(c<<2)+b>>2]);b=q[a+4>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b)}b=q[a+32>>2];if(b){La(b)}a=q[a+40>>2];if(a){La(a)}}function UH(a,b,c,d){var e=0,f=0,g=0,h=0;e=Da-16|0;Da=e;a:{if(b){if(!d){break a}q[d>>2]=1;f=Se(a);b:{if(!f){d=0;break b}g=q[f+52>>2];a=0;c:{if(!g){break c}q[e+8>>2]=g;a=1}g=e+8|0;h=q[f+56>>2];if(h){q[(e+8|0)+(a<<2)>>2]=h;a=a+1|0}d=XH(g,a,b,c,d);cc(f)}Da=e+16|0;return d}I(504091,504068,1187,504217);F()}I(504101,504068,1188,504217);F()}function Ru(a,b){var c=0,d=0,e=0,f=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];d=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if(!((d|0)==-1|d>>>0>=(r[a+7|0]|r[a+6|0]<<8)>>>0)){f=a+4|0;e=a;a=w(_$(r[a+5|0]|r[a+4|0]<<8),d);Jf(f,b,e,(a|0)<0?271312:(e+(a<<1)|0)+8|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;e=1}return e}function Nu(a,b,c,d){var e=0,f=0,g=0;a:{e=w(b,20)+a|0;g=r[e+18|0];f=s[e+16>>1];if((g>>>1^-1)&1|!f){break a}p[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Nu(a,e,c,d);b:{if((c&-2)==4){q[(w(e,20)+a|0)+12>>2]=0-q[(w(b,20)+a|0)+12>>2];break b}q[(w(e,20)+a|0)+8>>2]=0-q[(w(b,20)+a|0)+8>>2]}a=w(e,20)+a|0;p[a+16>>1]=0-f;o[a+18|0]=g}}function rc(a){var b=0,c=0;a:{if(!q[a+4>>2]){break a}b=q[a+20>>2]+ -2|0;b:{if(b>>>0<=1){if(b-1){break b}if(by(a)){break b}q[a+20>>2]=1}b=q[a+16>>2];c=Sa(b);if(!c){break a}b=Qa(c,q[a+12>>2],b);c=q[a+28>>2];if(c){n[c](q[a+24>>2]);q[a+24>>2]=0;q[a+28>>2]=0}q[a+28>>2]=427;q[a+24>>2]=b;q[a+12>>2]=b;q[a+20>>2]=2}return q[a+12>>2]}return 0}function Sp(a,b,c,d){var e=0;e=Da-48|0;Da=e;a:{if(!(r[643740]&16)){break a}if(c){q[e+32>>2]=d?503339:503338;q[e+20>>2]=c;q[e+16>>2]=b;q[e+28>>2]=d?d:503338;q[e+24>>2]=d?503329:503338;Ua(503313,e+16|0);break a}if(!d){break a}q[e+12>>2]=503339;q[e+8>>2]=d;q[e+4>>2]=503329;q[e>>2]=b;Ua(503341,e)}a=sL(q[a+8>>2],b,c,d);Da=e+48|0;return a}function ip(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Da-256|0;Da=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;q[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;Qa(d,q[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Qa(q[g>>2],q[(d<<2)+b>>2],f);q[g>>2]=q[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=q[h>>2];continue}}Da=e+256|0}function yp(a,b,c,d){var e=0,f=0;e=Da-160|0;Da=e;Qa(e+8|0,507304,144);a:{b:{if(b+ -1>>>0>=2147483647){if(b){break b}b=1;a=e+159|0}q[e+52>>2]=a;q[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;q[e+56>>2]=b;a=a+b|0;q[e+36>>2]=a;q[e+24>>2]=a;Nh(e+8|0,c,d);if(!b){break a}a=q[e+28>>2];o[a-((a|0)==q[e+24>>2])|0]=0;break a}q[160942]=61}Da=e+160|0}function hN(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:{e=w(b,e);if((e|0)<1){break a}g=a+e|0;if(f){while(1){e=0;while(1){h=a+e|0;i=r[h|0]-r[c+e|0]|0;o[h|0]=(i|0)>0?i:0;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=c+d|0;a=a+b|0;if(a>>>0>>0){continue}break a}}while(1){a=a+b|0;if(a>>>0>>0){continue}break}}}function cJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=0;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break a}}q[a>>2]=933;q[a+12>>2]=q[a+12>>2]+1;return 0}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function QE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=q[q[q[a>>2]+96>>2]+64>>2]+ -35|0;a:{if(e>>>0>5){break a}b:{switch(e-1|0){case 4:if(r[a+615|0]){break a}a=q[b+16>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d;break a;case 0:case 1:case 2:case 3:break a;default:break b}}a=q[b+16>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|8}function MZ(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+3|0]|r[a+2|0]<<8;if((c|0)==7){break a}d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=sv(a?d+a|0:271312,b,c)}return d}function KY(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((c|0)<1){break a}c=r[a+3|0]|r[a+2|0]<<8;if((c|0)==9){break a}d=a;a=r[a+4|0]|r[a+5|0]<<8|(r[a+6|0]<<16|r[a+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=Vu(a?d+a|0:271312,b,c)}return d}function xp(a,b,c){var d=0,e=0,f=0;d=r[c+74|0];o[c+74|0]=d+ -1|d;d=q[c+4>>2];e=q[c+8>>2]-d|0;f=b;a:{if((e|0)<1){break a}f=d;d=e>>>0>>0?e:b;Qa(a,f,d);q[c+4>>2]=d+q[c+4>>2];a=a+d|0;f=b-d|0}d=f;if(d){while(1){b:{if(!wp(c)){e=n[q[c+32>>2]](c,a,d)|0;if(e+1>>>0>1){break b}}return b-d|0}a=a+e|0;d=d-e|0;if(d){continue}break}}return b}function AJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=$$(b+ -11|0,31);if(d>>>0>9){break b}c=0;c:{switch(d-1|0){default:return 55;case 0:return 56;case 1:break a;case 2:case 3:case 4:case 5:case 6:case 7:break b;case 8:break c}}q[a>>2]=911;return 2}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0} +function al(a,b){var c=0,d=0;c=q[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}c=q[c+8>>2];if(!c){break a}d=tc(c+q[a+8>>2]|0,b)}return d}function YC(a){a=a|0;var b=0,c=0;c=q[a+712>>2];a:{if(!q[a+540>>2]|!(q[a+8>>2]&8)){break a}b=ld(bc(q[q[a+96>>2]+4>>2],9848),10020,0);if(!b){break a}b=q[b>>2];if(!b){break a}return n[b](a)|0}return q[c+1348>>2]}function xu(a){var b=0,c=0;while(1){a:{b=q[160739];if(b){break a}b=OW();if(!b){b=641424}c=q[160739];q[160739]=c?c:b;if(!c){break a}if(!b|(b|0)==641424){continue}hd(b);continue}break}am(a,b,q[a+16>>2]+48|0,0)}function Py(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=n[q[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){q[(c?756:752)+a>>2]=q[d+12>>2];q[(c?856:852)+a>>2]=q[b+8>>2]}Da=d+16|0;return e|0}function Gj(a,b,c){var d=0,e=0,f=0,g=0;f=q[a+4>>2];e=q[a+8>>2];if(f>>>0>e>>>0){d=q[a+20>>2];a:{if(d){d=n[d](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Qa(g,q[a>>2]+e|0,d)}q[a+8>>2]=q[a+8>>2]+d}return d}function zI(a){var b=0,c=0,d=0;if(!a){return 0}b=q[a+284>>2];a:{if(!b){break a}c=q[a+292>>2];if(b>>>0>>0){break a}d=q[a+144>>2];n[q[d+48>>2]](d,c,b,a+404|0);q[a+292>>2]=q[a+284>>2]}return q[a+404>>2]+1|0}function oc(a,b,c){var d=0,e=0;a:{if(!a){break a}d=p[a+2>>1];if((d|0)<1){break a}a=q[a+4>>2];while(1){q[a>>2]=q[a>>2]+b;q[a+4>>2]=q[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function Dk(a){var b=0;b=Da-1136|0;Da=b;cg(b+1048|0,b+16|0,1024);a:{b:{if(!Kq(b+1048|0,a)){break b}if(!Ng(b+1048|0,0)){break b}q[b>>2]=q[b+1048>>2];Ua(489284,b);break a}Ua(489287,0)}uc(b+1048|0);Da=b+1136|0}function FE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=q[a+484>>2];d=d+(q[a+488>>2]-c|0)|0;if((b|0)>=0){a=c+(b+d&0-q[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d-b&0-q[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function $h(a){var b=0,c=0;a=Se(a);if(!a){return 0}c=Cf();if(!c){cc(a);return 0}b=q[a+52>>2];if(b){je(b)}q[a+52>>2]=c;b=0;a:{if(!hI(a,q[a+8>>2])){break a}b=1;if(!(r[643740]&8)){break a}kL(c)}cc(a);return b}function au(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;return 0}function by(a){var b=0,c=0,d=0,e=0;a:{b=Ca(30)|0;if((b|0)==-1){break a}c=q[a+12>>2];d=0-b|0;e=c&d;if((rH(e,((q[a+16>>2]+(b+c|0)|0)+ -1&d)-e|0)|0)==-1){break a}q[a+20>>2]=2;return 1}Gg(q[160942]);return 0}function Cd(a,b){var c=0,d=0;c=q[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}b=q[c+8>>2];if(!b){break a}d=b+q[a+8>>2]|0}return d}function QN(a,b,c){var d=0,e=0;if(b){while(1){e=c;d=q[a>>2];if(d>>>0<=1048575){d=r[(s[(d>>>7&33554430)+401664>>1]+(d&255)|0)+409856|0]}else{d=0}o[e|0]=d;a=a+4|0;c=c+1|0;b=b+ -1|0;if(b){continue}break}}}function Nc(a,b,c,d,e){var f=0;f=Da-256|0;Da=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Na(f,b,d?c:256);if(!d){while(1){yc(a,f,256);c=c+ -256|0;if(c>>>0>255){continue}break}}yc(a,f,c)}Da=f+256|0}function EI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;q[e+12>>2]=b;f=q[a+144>>2];f=n[q[f>>2]](f,b,c,e+12|0)|0;a=_f(a,q[a+144>>2],b,c,f,q[e+12>>2],d,!r[a+480|0],1);Da=e+16|0;return a|0}function Yr(a,b){var c=0,d=0,e=0;if(!a){return 35}d=6;a:{if(!b){break a}c=q[a+96>>2];e=q[q[c>>2]+32>>2];if(!e){break a}c=n[e](c,354181)|0;if(!c){break a}c=q[c>>2];if(!c){break a}d=n[c](a,b)|0}return d}function NO(a){var b=0,c=0,d=0;b=q[a+104>>2];if(b){JN(b)}c=q[a+108>>2];if((c|0)>=1){b=0;while(1){d=q[((b<<2)+a|0)- -64>>2];if(d){se(d);c=q[a+108>>2]}b=b+1|0;if((b|0)<(c|0)){continue}break}}La(q[a>>2])}function AN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[f+28>>2]=c;c=0;a=ed(q[f>>2],f+8|0,0);if(a){if(q[a>>2]>=0){q[d>>2]=q[a+8>>2]-q[a+20>>2];q[e>>2]=q[a+24>>2]+q[a+12>>2];c=1}Cb(a)}return c|0}function wg(){var a=0;a=ab(1,44);if(!a){return 271312}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;q[a+16>>2]=0;q[a+20>>2]=0;o[a+12|0]=1;q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;return a}function hK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b+1|0]|(c-b|0)<2|r[b|0]!=(a|0)){break a}b=b+2|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function ZP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+20>>2];if(r[a+65|0]){a=q[e+8>>2];f=p[e+2>>1];g=q[e+4>>2]+(f<<3)|0;q[g+4>>2]=c>>10;q[g>>2]=b>>10;o[a+f|0]=d?1:2}p[e+2>>1]=s[e+2>>1]+1}function QJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b|0]|(c-b|0)<2|r[b+1|0]!=(a|0)){break a}b=b+2|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function bE(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+420>>2];if((c|0)<1){return 0}d=q[a+424>>2];a=0;a:{while(1){if(!Ta(b,q[(a<<2)+d>>2])){break a}a=a+1|0;if((a|0)<(c|0)){continue}break}return 0}return a|0}function Uq(a){var b=0,c=0,d=0;b=Da-32|0;Da=b;d=qd(505279);q[b+24>>2]=1;c=q[b+28>>2];q[b+8>>2]=q[b+24>>2];q[b+12>>2]=c;q[b+16>>2]=4;c=q[b+20>>2];q[b>>2]=q[b+16>>2];q[b+4>>2]=c;Dc(a,d,b,1);Da=b+32|0}function SC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[a+712>>2];a:{b:{if(!a){break b}d=6;if(q[a+1504>>2]==65535|t[a+20>>2]<=b>>>0){break a}if(!c){break b}q[c>>2]=s[q[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function pL(a){var b=0,c=0,d=0;if(q[a>>2]==-1){return 0}b=q[a+4>>2];if((b|0)>=1){while(1){c=b+ -1|0;La(q[q[a+12>>2]+(c<<2)>>2]);q[a+4>>2]=q[a+4>>2]+ -1;d=(b|0)>1;b=c;if(d){continue}break}}return 1}function ze(a,b,c){var d=0,e=0;d=Da-32|0;Da=d;v[d+24>>3]=c;e=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=e;q[d+16>>2]=2;e=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=e;a=Dc(a,b,d,1);Da=d+32|0;return a}function Np(a){var b=0,c=0,d=0;b=Sa(32);if(b){a=eb(a?a:503338);q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=a;c=b,d=wf(982),q[c+20>>2]=d;c=b,d=wf(982),q[c+24>>2]=d;a=wf(982);q[b>>2]=1;q[b+28>>2]=a}return b}function dk(a){var b=0,c=0,d=0;b=Da-4096|0;Da=b;a=a?a:b;c=na(a|0,4096)|0;if(c>>>0>=4294963201){q[160942]=0-c;c=-1}a:{if((c|0)<0){break a}d=a;if((a|0)!=(b|0)){break a}d=eb(b)}Da=b+4096|0;return d}function bT(){var a=0,b=0;a=q[160740];a:{if(a){break a}while(1){a=aT();b=q[160740];a=a?a:270448;q[160740]=b?b:a;if(!b){break a}if((a|0)!=270448){La(a)}a=q[160740];if(!a){continue}break}}return a}function UR(){var a=0;a=gm();_t(a,584);Zt(a,585);Yt(a,586);Xt(a,587);Vt(a,588);Wt(a,589,0);cm(a,590,0);Ut(a,591,0);bm(a,592,0);Tt(a,593,0);St(a,594);Rt(a,595);if(q[a+4>>2]){q[a+4>>2]=0}return a}function HK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){c=r[r[a|0]+e|0]+ -5|0;d=c&255;if(!(d>>>0>=25|!(25034759>>>d&1))){a=q[(c<<24>>24<<2)+496472>>2]+a|0;continue}break}return a-b|0}function CD(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];q[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=s[q[a+16>>2]+(c<<1)>>1];if(!d){continue}break}q[b>>2]=c;return d|0}function sR(a){a=a|0;q[a+48>>2]=2333;q[a+52>>2]=0;q[a+24>>2]=500;q[a+28>>2]=400;q[a+12>>2]=85;q[a+16>>2]=30;q[a+40>>2]=1667;q[a+44>>2]=275;q[a+32>>2]=1e3;q[a+36>>2]=275;p[a+20>>1]=256;return 0}function fc(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+3>>>0>2]){a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b+4|0}q[c+32>>2]=b;return d}function sB(a){a=a|0;if(a){La(q[a+408>>2]);La(q[a+368>>2]);La(q[a+328>>2]);La(q[a+288>>2]);La(q[a+248>>2]);La(q[a+208>>2]);La(q[a+168>>2]);La(q[a+128>>2]);La(q[a+88>>2]);La(q[a+24>>2]);La(a)}}function nH(a){var b=0;b=q[160617]+ -4|0;q[b>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);q[160616]=63;q[160617]=643380;oH(a);q[q[160617]+ -4>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);return b}function he(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=1;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Tq(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=9;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Pc(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=4;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Ij(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(r[a+8|0]&8)){break a}f=7;e=q[a+96>>2];g=q[q[e>>2]+32>>2];if(!g){break a}e=n[g](e,4085)|0;if(!e){break a}f=n[q[e>>2]](a,b,0,c,d)|0}return f}function _L(a,b){var c=0;c=Da-32|0;Da=c;q[c+24>>2]=b;q[c+16>>2]=8;b=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=b;b=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=b;a=Dc(a,34,c,1);Da=c+32|0;return a}function IK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b|0]!=(a|0)|(c-b|0)<1){break a}b=b+1|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function Hg(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;e=d;if(b&4194368){q[d+12>>2]=c+4;c=q[c>>2]}else{c=0}q[e>>2]=c;a=T(a|0,b|32768,d|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}Da=d+16|0;return a}function $L(a,b){var c=0;c=Da-32|0;Da=c;q[c+24>>2]=b;b=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=b;q[c+16>>2]=6;b=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=b;a=Dc(a,33,c,1);Da=c+32|0;return a}function nr(a){var b=0,c=0,d=0;while(1){b=q[((d<<2)+a|0)+12>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=8191){continue}break}c=q[a+4>>2];if(c){hM(c)}La(a)}function nM(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;if((a|0)!=-1){q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=2;c=b,d=R()|0,q[c+40>>2]=d;q[b>>2]=b+16;Jp(a,13,b);bd(a)}Da=b+48|0}function bj(){var a=0,b=0;while(1){a:{a=q[160734];if(a){break a}a=ly();if(!a){a=641848}b=q[160734];q[160734]=b?b:a;if(!b){break a}if(!a|(a|0)==641848){continue}dh(a);continue}break}return a}function Zo(a,b){var c=0;c=35;a:{if(!a|!(r[a+8|0]&2)){break a}c=6;if((b|0)<0|q[a+28>>2]<=(b|0)){break a}c=q[q[q[a+96>>2]+12>>2]+92>>2];if(c){return n[c](q[a+88>>2],b)|0}Jd(a,b);c=0}return c}function $o(a){var b=0;b=r[a+74|0];o[a+74|0]=b+ -1|b;b=q[a>>2];if(b&8){q[a>>2]=b|32;return-1}q[a+4>>2]=0;q[a+8>>2]=0;b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];return 0}function dj(a,b,c,d,e){var f=0;f=e<<2;a=n[q[a+24>>2]](q[a+32>>2],f+w(s[(d+31>>>4&268435454)+153040>>1],f)|0)|0;p[b+12>>1]=e;p[b+10>>1]=d;p[b+8>>1]=c;q[b>>2]=a;q[b+4>>2]=a+f;return(a|0)!=0}function Ok(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;a=ye(a,b,0,d);a:{if(a){break a}a=q[d>>2]+ -1|0;if(a>>>0>1){a=2;break a}if(a-1){e=+q[d+8>>2]}else{e=v[d+8>>3]}v[c>>3]=e;a=0}Da=d+16|0;return a}function EH(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;va(0,b+8|0)|0;c=(b+8>>>4|0)+a^w(q[b+12>>2],65537);while(1){o[a+d|0]=(c&15|c<<1&32)+65;c=c>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}Da=b+16|0}function Ce(a,b,c){var d=0,e=0,f=0;f=a+c|0;while(1){a:{c=r[r[b|0]+3616|0];d=r[a|0];e=r[d+3616|0];a=a+1|0;if(!d|a>>>0>=f>>>0){break a}b=b+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function qD(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[q[b+712>>2]+3080>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],12904);if(!b){break a}b=n[q[c+8>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function Ta(a,b){var c=0,d=0;c=r[a|0];d=r[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=r[b+1|0];c=r[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 QB(a){a=a|0;var b=0,c=0,d=0;c=Da-16|0;Da=c;d=zp(q[q[a>>2]+504>>2],c+12|0);b=a;a=q[c+12>>2];q[b+44>>2]=a;if(a){b=q[a>>2];if(!(!b|!q[b+96>>2])){q[b+88>>2]=a}}Da=c+16|0;return d|0}function YF(a,b){var c=0;c=6;if(!(!a|!b)){c=n[q[a+4>>2]](a,208)|0;if(!c){return 64}Na(c+16|0,0,188);q[c+204>>2]=1;q[c+12>>2]=1;q[c+4>>2]=2;q[c+8>>2]=10;q[c>>2]=a;q[b>>2]=c;c=0}return c}function nl(a,b){var c=0,d=0;a:{if(a){if(!b){return a}if(q[q[a>>2]+8>>2]>2]+8>>2]){break a}c=b,d=nl(a,q[b+8>>2]),q[c+8>>2]=d}return b}c=a,d=nl(q[a+8>>2],b),q[c+8>>2]=d;return a}function Tx(a){var b=0;b=$i(a+148|0);b=t[b+16>>2]<8?271312:q[b+12>>2];if(r[b|0]<<8|r[b+1|0]){a=1}else{a=_i(a+152|0);a=t[a+16>>2]<8?271312:q[a+12>>2];a=(r[a|0]<<8|r[a+1|0])!=0}return a}function Pj(a,b,c,d,e,f,g,h,i){var j=0;j=Da-16|0;Da=j;Uc(j,b,c,d,e,f,g,h,i^-2147483648);b=q[j+4>>2];q[a>>2]=q[j>>2];q[a+4>>2]=b;b=q[j+12>>2];q[a+8>>2]=q[j+8>>2];q[a+12>>2]=b;Da=j+16|0}function LQ(a){a=a|0;var b=0;b=q[a+4>>2];q[b+180>>2]=-21;q[b+184>>2]=0;q[b+196>>2]=21;q[b+200>>2]=0;q[b+188>>2]=0;q[b+192>>2]=0;n[q[q[q[a+12>>2]+56>>2]+8>>2]](q[a+52>>2],0,0);return 0}function Ib(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=q[a+8>>2]+b|0;d=q[a+20>>2];b:{if(d){if(!n[d](a,b,0,0)){break b}break a}if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function z$(a){a=q[Rc(a+140|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function yr(a){var b=0;b=q[a+8>>2];a:{if(b){a=(b+q[a+20>>2]|0)+ -1|0;b=r[a|0];if(b>>>0>=4){break a}o[a|0]=b|4;return 1}I(436843,436863,335,436877);F()}I(436899,436863,336,436877);F()}function bA(a,b){a=a|0;b=b|0;var c=0,d=0;c=Da-16|0;Da=c;q[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(o[a+20|0]&1){d=An(a,c+12|0,0);break a}d=zn(a,c+12|0,0)}a=d;Da=c+16|0;return a|0}function OB(a){a=a|0;var b=0,c=0,d=0;d=Da-16|0;Da=d;b=q[a+4>>2];c=q[b+504>>2];a:{if(!q[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=jk(c,d+12|0)}q[a+160>>2]=q[b>>2];Da=d+16|0;return c|0}function Dl(a){a=a|0;var b=0,c=0;b=q[a+8>>2];if(b){a=q[a+16>>2];c=q[a+4>>2];q[b+108>>2]=q[a>>2];q[b+112>>2]=c;q[b+124>>2]=q[a+16>>2];c=q[a+12>>2];q[b+116>>2]=q[a+8>>2];q[b+120>>2]=c}}function C$(a){a=q[Ac(a+136|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function eF(a,b){a=a|0;b=b|0;var c=0;q[a+116>>2]=b;c=q[a>>2];if(o[c+8|0]&1){Jd(c,b);zj(a);return 0}b=n[q[q[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}q[a+116>>2]=-1;return b|0}function bm(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+132>>2];if(d){n[d](q[a- -64>>2])}if(b){q[a+132>>2]=0;q[a+200>>2]=b;q[a- -64>>2]=c;return}q[a+132>>2]=0;q[a+200>>2]=495;q[a- -64>>2]=0}}function BU(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=q[a+12>>2];q[e>>2]=0;if((d|0)==-1){d=Wa(c)}b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+212>>2]](b,f,c,d,e,q[a+76>>2])|0}function wD(a,b){a=a|0;b=b|0;var c=0;c=zd(9760,b);a:{if(c){break a}c=0;if(!a){break a}a=q[a+4>>2];if(!a){break a}a=bc(a,9848);if(!a){break a}c=n[q[q[a>>2]+32>>2]](a,b)|0}return c|0}function qr(a,b){var c=0;if((a|0)==(b|0)){return 1}a:{if(!a|!b|(v[a>>3]!=v[b>>3]|v[a+8>>3]!=v[b+8>>3])){break a}if(v[a+16>>3]!=v[b+16>>3]){break a}c=v[a+24>>3]==v[b+24>>3]}return c}function oi(){var a=0;a=Sa(40);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=8;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;return a}function Sf(a,b){var c=0,d=0;c=q[a+12>>2];d=q[a+4>>2];c=(c|0)<0?(d|0)<(c|0)?c:d:d-c|0;b=b?b:(w(c,12)|0)/10|0;q[a+28>>2]=b;q[a+24>>2]=(b-c|0)/2;q[a+20>>2]=q[a+8>>2]-(q[a+16>>2]/2|0)}function BD(a,b){a=a|0;b=b|0;var c=0,d=0;b=q[a>>2];c=q[b+712>>2];if(!q[c+1188>>2]){return 163}d=q[q[c+3084>>2]+4>>2];if(!d){return 7}return n[d](q[b+100>>2],a,q[c+20>>2],133,0,b)|0}function $X(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];d=q[a>>2];if((c|0)!=(d|0)){return(d>>>0>>0?-1:1)|0}a=q[a+4>>2];b=q[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function oN(a,b){var c=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=16;q[a+28>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;c=a;a=oe(32,1<<(b<<1),0);q[c+48>>2]=a;return(a|0)!=0}function Cz(a,b){a=a|0;b=b|0;q[a+16>>2]=b;b=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);q[a+28>>2]=0;q[a+32>>2]=0;q[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function XS(a){var b=0;b=ab(1,208);if(b){q[b+8>>2]=0;q[b>>2]=1;q[b+4>>2]=1;q[b+32>>2]=-1;q[b+20>>2]=0;q[b+16>>2]=a;q[b+12>>2]=582;q[b+36>>2]=b;q[b+48>>2]=b;return b}return 641640}function xL(a){var b=0,c=0;b=Da-4128|0;Da=b;a:{if(r[a|0]==47){a=ag(a);break a}if(!dk(b+16|0)){a=0;break a}q[b+4>>2]=0;q[b>>2]=a;c=_b(b+16|0,b);a=ag(c);La(c)}Da=b+4128|0;return a}function nb(a,b){var c=0,d=0,e=0;c=q[a>>2];a:{if(c>>>0<=b>>>0){break a}while(1){d=c+ -1|0;e=r[d|0];if((e|0)!=9?(e|0)!=32:0){break a}c=d;if(c>>>0>b>>>0){continue}break}}q[a>>2]=c}function JR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}c=Kj(q[b+4>>2],c,d,e);a=!c;a=c|!e?a:r[d|0]!=0;q[b>>2]=0;return a|0}function dT(a,b,c){var d=0;d=s[a+140>>1];a:{if(d&512){s$(a+24|0,a,b,c);break a}if(d&2048){Mx(a,b,c);break a}if(d&1024){lw(a,b,c);break a}pT(a,b,c)}if(r[a+141|0]&32){Hx(a,b,c)}}function cm(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+120>>2];if(d){n[d](q[a+52>>2])}if(b){q[a+120>>2]=0;q[a+188>>2]=b;q[a+52>>2]=c;return}q[a+120>>2]=0;q[a+188>>2]=492;q[a+52>>2]=0}}function ce(a,b){var c=0;a:{if(!a|!b){break a}c=q[a+4>>2];if(!c){break a}a=p[a+2>>1];if((a|0)<1){break a}a=(a<<3)+c|0;while(1){Rg(c,b);c=c+8|0;if(c>>>0>>0){continue}break}}}function cP(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(q[b+72>>2]!=1869968492){break a}c=q[a>>2];a=a+20|0;c=Ro(c,p[b+110>>1],p[b+108>>1],a);if(c){break a}Qo(b+108|0,a);c=0}return c|0}function Wt(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+104>>2];if(d){n[d](q[a+36>>2])}if(b){q[a+104>>2]=0;q[a+172>>2]=b;q[a+36>>2]=c;return}q[a+104>>2]=0;q[a+172>>2]=488;q[a+36>>2]=0}}function Ut(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+124>>2];if(d){n[d](q[a+56>>2])}if(b){q[a+124>>2]=0;q[a+192>>2]=b;q[a+56>>2]=c;return}q[a+124>>2]=0;q[a+192>>2]=493;q[a+56>>2]=0}}function U$(a,b){var c=0,d=0;if(a|b){d=b+ -1|0;c=a+ -1|0;if(c>>>0<4294967295){d=d+1|0}c=z(a^c)+32|0;a=z(b^d);a=(a|0)==32?c:a;b=63-a|0;Ea=0-(63>>0)|0;return b}Ea=0;return 64}function Tt(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+136>>2];if(d){n[d](q[a+68>>2])}if(b){q[a+136>>2]=0;q[a+204>>2]=b;q[a+68>>2]=c;return}q[a+136>>2]=0;q[a+204>>2]=496;q[a+68>>2]=0}}function QR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=0;c=Vo(q[b+4>>2],c,d);if(c){q[e>>2]=c;a=1}q[b>>2]=0;return a|0}function $c(a,b,c){var d=0,e=0;if(!b){q[c>>2]=0;return 0}d=Wa(b)+1|0;a:{if((d|0)>=1){e=n[q[a+4>>2]](a,d)|0;a=!e<<6;break a}a=d?6:0}if(!(a|!d)){Qa(e,b,d);a=0}q[c>>2]=a;return e}function wd(a,b){var c=0,d=0,e=0;a:{if(!a|!(r[a+8|0]&8)){break a}c=q[a+96>>2];d=q[q[c>>2]+32>>2];if(!d){break a}c=n[d](c,4085)|0;if(!c){break a}e=n[q[c+4>>2]](a,b)|0}return e}function wC(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[b+320>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],14750);if(!b){break a}b=n[q[c+4>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function rs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(q[b+72>>2]!=q[a+16>>2]){break a}if(c){ce(b+108|0,c)}e=0;if(!d){break a}oc(b+108|0,q[d>>2],q[d+4>>2])}return e|0}function de(a){var b=0;a:{if(a){break a}while(1){a=q[160940];if(a){break a}a=pk();if(!a){continue}b=q[160940];q[160940]=b?b:a;if(!b){break a}cc(a);continue}}return q[a+76>>2]}function dI(a){var b=0;a:{if(a){break a}while(1){a=q[160940];if(a){break a}a=pk();if(!a){continue}b=q[160940];q[160940]=b?b:a;if(!b){break a}cc(a);continue}}return q[a+52>>2]}function YB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;q[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b+ -1|0;if(b>>>0>=t[a+408>>2]){break a}q[c>>2]=q[(q[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function jE(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[b+552>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],7201);if(!b){break a}b=n[q[c+4>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function ZE(a){a=a|0;hf(q[a+8>>2]);vl(q[a+4>>2]);wl(q[a>>2]);La(q[a+24>>2]);q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;La(q[a+424>>2]);q[a+424>>2]=0;So(a,q[a+12>>2],q[a+16>>2])}function Vt(a,b){var c=0;if(q[a+4>>2]){c=q[a+108>>2];if(c){n[c](q[a+40>>2])}if(b){q[a+108>>2]=0;q[a+176>>2]=b;q[a+40>>2]=0;return}q[a+108>>2]=0;q[a+176>>2]=489;q[a+40>>2]=0}}function St(a,b){var c=0;if(q[a+4>>2]){c=q[a+140>>2];if(c){n[c](q[a+72>>2])}if(b){q[a+140>>2]=0;q[a+208>>2]=b;q[a+72>>2]=0;return}q[a+140>>2]=0;q[a+208>>2]=497;q[a+72>>2]=0}}function Rt(a,b){var c=0;if(q[a+4>>2]){c=q[a+144>>2];if(c){n[c](q[a+76>>2])}if(b){q[a+144>>2]=0;q[a+212>>2]=b;q[a+76>>2]=0;return}q[a+144>>2]=0;q[a+212>>2]=498;q[a+76>>2]=0}}function RT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+76>>2];if(a){b=q[c+88>>2];c=0;while(1){d=w(c,20)+b|0;p[d+12>>1]=s[d+12>>1]&65519;c=c+1|0;if((c|0)!=(a|0)){continue}break}}}function bM(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;b=qd(b);e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;a=Dc(a,b,d,1);Da=d+16|0;return a}function _F(a,b){var c=0;a:{b:{if(!a){break b}a=q[a+148>>2];if(!a){break b}while(1){c=q[a+8>>2];if(q[c+16>>2]==(b|0)){break a}a=q[a+4>>2];if(a){continue}break}}c=0}return c}function Od(a){var b=0,c=0;b=q[a+4>>2];while(1){if(b){c=q[b+4>>2];if(c){n[q[a>>2]](c)}if(q[a+4>>2]==(b|0)){q[a+4>>2]=q[b>>2]}c=q[b>>2];La(b);b=c;if(b){continue}}break}La(a)}function MG(a){var b=0;b=2;if(!Pb(a,43)){b=r[a|0]!=114}b=Pb(a,120)?b|128:b;b=Pb(a,101)?b|524288:b;a=r[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function Kn(a,b){var c=0;if(!a){return}if(!b){return}a=q[a>>2];c=q[b+12>>2];if(c){n[q[a+8>>2]](a,c)}q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}function kA(a,b){a=a|0;b=b|0;var c=0,d=0;d=q[a+16>>2]+6|0;a=q[b>>2];while(1){a=a+1|0;if(a>>>0>255){q[b>>2]=0;return 0}c=r[a+d|0];if(!c){continue}break}q[b>>2]=a;return c|0}function ab(a,b){var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=V$(a,0,b,0);e=Ea;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Sa(b);if(!(!a|!(r[a+ -4|0]&3))){Na(a,0,b)}return a}function Gp(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;q[d+8>>2]=b;a=S(a|0,d+8|0,1,d+4|0)|0;a:{if(a){if(a){q[160942]=a;a=-1}else{a=0}break a}a=q[d+4>>2]}Da=d+16|0;return a}function up(a){var b=0,c=0,d=0;if(o[q[a>>2]]+ -48>>>0<10){while(1){b=q[a>>2];d=o[b|0];q[a>>2]=b+1;c=(w(c,10)+d|0)+ -48|0;if(o[b+1|0]+ -48>>>0<10){continue}break}}return c}function fY(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=2;Fu(a,0,d+12|0,d+4|0,0,0);a=q[d+12>>2];q[b>>2]=a?q[d+4>>2]:1145457748;q[c>>2]=a>>>0>1?q[d+8>>2]:1145457748;Da=d+16|0}function _t(a,b){var c=0;if(q[a+4>>2]){c=q[a+80>>2];if(c){n[c](q[a+12>>2])}if(b){q[a+80>>2]=0;q[a+12>>2]=0;q[a+148>>2]=b;return}q[a+80>>2]=0;q[a+12>>2]=0;q[a+148>>2]=482}}function Zt(a,b){var c=0;if(q[a+4>>2]){c=q[a+88>>2];if(c){n[c](q[a+20>>2])}if(b){q[a+88>>2]=0;q[a+156>>2]=b;q[a+20>>2]=0;return}q[a+88>>2]=0;q[a+156>>2]=484;q[a+20>>2]=0}}function Yt(a,b){var c=0;if(q[a+4>>2]){c=q[a+92>>2];if(c){n[c](q[a+24>>2])}if(b){q[a+92>>2]=0;q[a+160>>2]=b;q[a+24>>2]=0;return}q[a+92>>2]=0;q[a+160>>2]=485;q[a+24>>2]=0}}function Xt(a,b){var c=0;if(q[a+4>>2]){c=q[a+96>>2];if(c){n[c](q[a+28>>2])}if(b){q[a+96>>2]=0;q[a+164>>2]=b;q[a+28>>2]=0;return}q[a+96>>2]=0;q[a+164>>2]=486;q[a+28>>2]=0}}function OC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!r[a|0]|q[a+8>>2]!=(b|0)|q[a+12>>2]!=(c|0)){break a}if(c){if(Oc(d,q[a+16>>2],c<<2)){break a}}e=0}return e|0}function Mh(a,b){var c=0,d=0,e=0;e=a;a:{if(b>>>0<=31){c=q[a>>2];d=q[a+4>>2];break a}c=q[a+4>>2];q[a+4>>2]=0;q[a>>2]=c;b=b+ -32|0;d=0}q[e+4>>2]=d>>>b;q[a>>2]=d<<32-b|c>>>b}function xn(a,b){a=a|0;b=b|0;q[a+16>>2]=b;b=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);o[a+24|0]=0;q[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function rF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=q[a+24>>2];c=Xa(b,c);a:{if(c){break a}c=lb(b,d);if(c){break a}q[a+196>>2]=q[b+32>>2];q[a+200>>2]=q[b+36>>2];c=0}return c|0}function OW(){var a=0;a=gm();_t(a,471);TU(a);Zt(a,473);Yt(a,474);Xt(a,475);Vt(a,476);MU(a);cm(a,478,0);bm(a,479,0);St(a,480);Rt(a,481);if(q[a+4>>2]){q[a+4>>2]=0}return a}function Oc(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=r[a|0];e=r[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}f=d-e|0}return f}function Kh(a,b){var c=0,d=0,e=0;e=a;a:{if(b>>>0<=31){c=q[a+4>>2];d=q[a>>2];break a}c=q[a>>2];q[a+4>>2]=c;q[a>>2]=0;b=b+ -32|0;d=0}q[e>>2]=d<>2]=c<>>32-b}function Kz(a,b){a=a|0;b=b|0;var c=0;if(!(!r[a+24|0]|q[a+28>>2]!=q[b>>2])){vn(a);if(!r[a+24|0]){return 0}c=q[a+32>>2];q[b>>2]=q[a+28>>2];return c|0}return wn(a,b,1)|0}function y$(a){var b=0,c=0,d=0;c=q[a+76>>2];if(c){while(1){d=w(b,20);o[(d+q[a+96>>2]|0)+18|0]=0;p[(q[a+96>>2]+d|0)+16>>1]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function pD(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(!(d&1?0:b)){return zh(a,0,c,d)|0}if(q[b>>2]==q[a+4>>2]){a=zh(a,b,c,d)}else{a=35}return a|0}function gH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;a=aa(q[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){q[160942]=a}Da=e+16|0;Ea=q[e+12>>2];return q[e+8>>2]}function Yz(a,b){a=a|0;b=b|0;a=q[a+16>>2];b=b-(r[a+6|0]<<8|r[a+7|0])|0;if(b>>>0<(r[a+9|0]|r[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=r[a+10|0]<<8|r[a+11|0]}else{a=0}return a|0}function SG(a,b,c){var d=0,e=0,f=0;e=q[a+84>>2];d=c+256|0;f=be(e,0,d);d=f?f-e|0:d;c=d>>>0>>0?d:c;Qa(b,e,c);b=e+d|0;q[a+84>>2]=b;q[a+8>>2]=b;q[a+4>>2]=c+e;return c}function Mz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=10;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Iz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=12;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Dz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=13;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function vK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+2|0];c=1<<(a&31);d=a>>>5&1;a=r[b+1|0];return c&q[((d|(r[(a>>>2&15|r[b|0]<<4&240)+492784|0]<<3|a<<1&6))<<2)+490512>>2]}function tK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+2|0];c=1<<(a&31);d=a>>>5&1;a=r[b+1|0];return c&q[((d|(r[(a>>>2&15|r[b|0]<<4&240)+492528|0]<<3|a<<1&6))<<2)+490512>>2]}function Rz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=8;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function CU(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=q[a+12>>2];if(e){o[d|0]=0}b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+208>>2]](b,f,c,d,e,q[a+72>>2])|0}function vB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=q[b>>2]+1|0;b=q[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}q[e>>2]=b;return d|0}function gh(a,b){var c=0;b=b<<2;c=q[b+641572>>2];while(1){if(q[(b+q[a+72>>2]|0)+148>>2]!=(c|0)){return 1}a=q[a+12>>2];if((a|0)!=641328?a:0){continue}break}return 0}function fb(a,b){var c=0,d=0,e=0;while(1){a:{c=r[r[b|0]+3616|0];d=r[a|0];e=r[d+3616|0];if(!d){break a}b=b+1|0;a=a+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function bt(a){var b=0;a:{if(!q[a+4>>2]){break a}q[a+80>>2]=0;o[a+69|0]=256;o[a+70|0]=1;q[a+92>>2]=q[a+88>>2];b=w(q[a+76>>2],20);if(!b){break a}Na(q[a+96>>2],0,b)}}function Ix(a){a=an(a+164|0);a=t[a+16>>2]<12?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function IH(a,b){a=a|0;b=b|0;var c=0,d=0;d=Da-16|0;Da=d;c=1;a:{if(!a|!b){break a}c=0;if(Nk(a,505245,d+12|0)){break a}c=(ui(q[d+12>>2],b)|0)==1}Da=d+16|0;return c|0}function uN(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(t[a+4>>2]>>0){break a}}e=q[a+12>>2];if(q[a+8>>2]!=(b|0)){Qh(e,b,0)}e=wp(c,d,e)}return e|0}function pw(a){a=lh(a+128|0);a=t[a+16>>2]<4?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function fQ(a){a=a|0;var b=0,c=0,d=0;if(a){c=q[a>>2];b=c;d=q[a+108>>2];if(d){n[q[b+8>>2]](b,d)}q[a+108>>2]=0;b=q[a+116>>2];if(b){n[q[c+8>>2]](c,b)}q[a+116>>2]=0}}function Rd(a,b){var c=0,d=0;if((a|0)==(b|0)){return 0}while(1){a:{d=r[b|0];c=r[a|0];if(!c){break a}a=a+1|0;b=b+1|0;if((d|0)==(c|0)){continue}}break}return c-d|0}function ER(a,b){a=a|0;b=b|0;q[a+2748>>2]=b;q[a+2740>>2]=q[b+28>>2];q[a+4>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+8>>2]=q[b+16>>2];q[a+16>>2]=q[b+20>>2];return 0}function $J(a,b){var c=0;q[a+16>>2]=10;q[a+12>>2]=11;q[a+8>>2]=0;q[a>>2]=80;q[a+4>>2]=241;b=n[q[b+4>>2]](b,964)|0;c=!b<<6;if(b){Na(b,0,964)}q[a+20>>2]=b;return c}function zd(a,b){var c=0;a:{if(!a|!b){break a}c=q[a>>2];if(!c){break a}while(1){if(!Ta(c,b)){return q[a+4>>2]}c=q[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function ri(a,b){var c=0,d=0;d=q[a+20>>2];a:{b:{if(d){c=85;if(!n[d](a,b,0,0)){break b}break a}c=85;if((b|0)<0|t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function kC(a,b){a=a|0;b=b|0;var c=0;c=q[b+96>>2];if(!((c|0)<0|(c|0)>=q[a+300>>2])){a=q[a+304>>2]+w(c,252)|0;b=n[q[b+40>>2]](b,0)|0;q[a+180>>2]=b;q[a+208>>2]=b}}function cL(a,b){a=a|0;b=b|0;a=n[q[a+364>>2]](q[a+368>>2],b)|0;if(a>>>0<=65535){a=q[(a>>>3&28|r[(a>>>8|0)+492528|0]<<5)+490512>>2]&1<<(a&31)}else{a=0}return a|0}function bL(a,b){a=a|0;b=b|0;a=n[q[a+364>>2]](q[a+368>>2],b)|0;if(a>>>0<=65535){a=q[(a>>>3&28|r[(a>>>8|0)+492784|0]<<5)+490512>>2]&1<<(a&31)}else{a=0}return a|0}function zB(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];b=q[c+132>>2];Jd(c,0);c=s[b+80>>1];q[a+24>>2]=c<<6;q[a+28>>2]=c-s[b+96>>1]<<6;q[a+36>>2]=s[b+102>>1]<<6;return 0}function qq(a,b){var c=0;q[a+16>>2]=8;q[a+12>>2]=9;q[a+8>>2]=0;q[a>>2]=80;q[a+4>>2]=241;b=n[q[b+4>>2]](b,964)|0;c=!b<<6;if(b){Na(b,0,964)}q[a+20>>2]=b;return c}function VA(a,b){a=a|0;b=b|0;var c=0,d=0;d=q[a>>2];c=q[d+140>>2];Jd(d,b);q[a+24>>2]=q[c+40>>2]<<6;q[a+28>>2]=0-(q[c+44>>2]<<6);q[a+36>>2]=s[c+4>>1]<<6;return 0}function TP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+488>>2];q[a+24>>2]=q[b+420>>2];q[a+28>>2]=q[b+424>>2];q[a+20>>2]=q[c+20>>2];q[a+16>>2]=q[c+24>>2];return 0}function QU(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=q[a+12>>2];q[e>>2]=0;b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+164>>2]](b,f,c,d,e,q[a+28>>2])|0}function PP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+488>>2];q[a+24>>2]=q[b+420>>2];q[a+28>>2]=q[b+424>>2];q[a+20>>2]=q[c+20>>2];q[a+16>>2]=q[c+28>>2];return 0}function HG(a){var b=0;a:{b=gp(3248);b:{if((b|0)==-1){break b}a=gp(a);if((a|0)==-1){break b}if(r[b+508864|0]<208){break a}}q[160942]=28;return-1}return a<<16|b}function ir(a,b){var c=0;a:{while(1){if(!dd(a,q[w(c,12)+44e4>>2])){break a}c=c+1|0;if((c|0)!=57){continue}break}return 0}q[b>>2]=q[w(c,12)+440008>>2];return 1}function No(a){var b=0,c=0;b=q[a+32>>2];if(b+3>>>0>=t[a+36>>2]){q[a+32>>2]=b;return 0}c=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+32>>2]=b+4;return c}function nF(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0;d=q[a+4>>2];e=q[a+8>>2];b=b*1e3;a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}return tl(d,e,a,a>>31,c)|0}function Bq(a,b){var c=0,d=0;c=Da-16|0;Da=c;te(32,a);d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;Fk(a,c);Da=c+16|0}function Bk(){var a=0,b=0;b=Da-16|0;Da=b;a:{if(q[160935]){break a}a=Kb(489878);if(!a){break a}q[b>>2]=a;Ua(489887,b);a=Bb(a);q[160935]=(a|0)>0?a:0}Da=b+16|0}function sf(a){var b=0,c=0;c=Fa();a:{b=q[161388];a=b+(a+3&-4)|0;if(a>>>0<=c<<16>>>0){break a}if(ca(a|0)){break a}q[160942]=48;return-1}q[161388]=a;return b}function cz(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Bc(b,q[a+512>>2],a+508|0);if(!c){return 0}q[a+512>>2]=0}return c|0}function NF(a,b){var c=0;c=q[a+8>>2];if(c){hf(c);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0;b=Us(q[a>>2],b,0);q[a+8>>2]=b;if(!b){Rb(1278);Q(4);F()}Jh(a)} -function sJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=3;c:{switch(d-1|0){case 9:q[a>>2]=914;return 7;case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 1:break c;default:break a}}q[a>>2]=915;return 8}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Wa(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!r[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(r[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=q[c>>2];if(!((d^-1)&d+ -16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=r[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function Qs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;q[a+2748>>2]=b;d=q[b+28>>2];q[a+4>>2]=q[b+44>>2];q[a+8>>2]=q[b+48>>2];q[a+12>>2]=q[b+7496>>2];q[a+16>>2]=q[b+7500>>2];c=q[b+24>>2];q[a+2740>>2]=(r[q[q[b+36>>2]+392>>2]+20|0]?4:12)|d;d=a;a=(c|1)==3;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c|2)==3?b:b|4;q[d+2744>>2]=a?b|8:b;return 0}function bI(){var a=0,b=0,c=0,d=0;b=Kb(503503);a:{if(!q[160548]){break a}if(b){return eb(b)}c=Kb(503475);if(c){d=Wa(c)}b=Sa(d+9|0);if(!b){break a}if(c){Qa(b,c,d)}a=b+d|0;o[a|0]=1868770863;o[a+1|0]=7299886;o[a+2|0]=28515;o[a+3|0]=111;o[a+4|0]=1734960750;o[a+5|0]=6777190;o[a+6|0]=26473;o[a+7|0]=103;o[b+(d+8|0)|0]=0;a=b}return a}function _e(a){var b=0;if(a){while(1){b=q[a+8>>2]+ -3|0;a:{if(b>>>0>6){break a}b:{switch(b-1|0){default:La(q[a+16>>2]);break a;case 1:dl(q[a+16>>2]);break a;case 2:Xc(q[a+16>>2]);break a;case 4:Sd(q[a+16>>2]);break a;case 0:case 3:break a;case 5:break b}}La(q[a+16>>2])}b=q[a>>2];La(a);a=b&1?(b&-2)+a|0:b;if(a){continue}break}}}function I_(a,b){var c=0,d=0;c=r[a|0]|r[a+1|0]<<8;c=((c<<24|c<<8&16711680)>>>16|0)+ -1|0;a:{if(c>>>0>1){break a}if(c-1){if(q[b+8>>2]!=1){break a}c=a;a=r[a+3|0]|r[a+2|0]<<8;return(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}if(q[b+8>>2]!=1){break a}c=a;a=r[a+3|0]|r[a+2|0]<<8;d=(yb(a?c+a|0:271312,q[q[b+4>>2]>>2])|0)!=-1}return d}function GA(a){n[q[a+28>>2]](q[a+32>>2],q[a+580>>2]);q[a+580>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+576>>2]);q[a+576>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+252>>2]);q[a+252>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+120>>2]);q[a+120>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+136>>2]);q[a+136>>2]=0;n[q[a+28>>2]](q[a+32>>2],q[a+152>>2]);q[a+152>>2]=0}function wL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=q[a+4>>2];if((f|0)<1){return 0}h=q[a+12>>2];a:{while(1){a=b;c=q[(d<<2)+h>>2];if((a|0)==(c|0)){return 1}while(1){b:{g=r[a|0];e=r[c|0];if(!e){break b}c=c+1|0;a=a+1|0;if((g|0)==(e|0)){continue}}break}if((g|0)==(e|0)){break a}d=d+1|0;if((d|0)<(f|0)){continue}break}return 0}return 1}function oH(a){var b=0,c=0,d=0,e=0,f=0;b=q[160616];if(!b){q[q[160617]>>2]=a;return}q[160618]=(b|0)==31?3:(b|0)==7?3:1;q[160961]=0;a:{if((b|0)<=0){d=q[160617];break a}d=q[160617];while(1){a=W$(a,f,1284865837,1481765933)+1|0;c=Ea;c=a>>>0<1?c+1|0:c;f=c;q[(e<<2)+d>>2]=c;e=e+1|0;if((e|0)!=(b|0)){continue}break}}q[d>>2]=q[d>>2]|1}function kJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=940;return 13}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function jJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=930;return 14}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function hJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=941;return 13}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function fJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=11;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=938;return 14}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function WI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=33;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=926;return 38}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Va(a,b,c){var d=0,e=0;a:{d=q[a+80>>2]+c|0;if(!d|t[a+84>>2]>d>>>0){break a}if(pe(a,d)){break a}return 0}b:{d=q[a+88>>2];c:{if((d|0)!=q[a+92>>2]){break c}e=c;c=q[a+80>>2];if(e+c>>>0<=q[a+72>>2]+b>>>0){break c}if(!r[a+69|0]){break b}b=a;a=q[a+96>>2];q[b+92>>2]=a;Qa(a,d,w(c,20))}return 1}I(272574,272586,167,272599);F()}function KI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=17;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=957;return 21}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function to(a,b,c){var d=0,e=0,f=0;e=Da-16|0;Da=e;d=Xa(a,0);a:{if(d){break a}f=ib(a,e+12|0);d=q[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){Ec(a,e+12|0);d=q[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Xa(a,0);if(d){break a}}d=mb(a,c);if(d){break a}b=Oc(q[a+32>>2],b,c);jb(a);d=((b|0)!=0)<<1}Da=e+16|0;return d}function Wz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>t[b+160>>2]){kb(b,8)}d=r[a+3|0]|r[a+2|0]<<8;e=d+a>>>0<=t[b+160>>2];a=r[a+9|0]|r[a+8|0]<<8;if(!(d>>>0>=(a<<1)+10>>>0?e:0)){kb(b,8)}if(!(!q[b+164>>2]|!a)){while(1){if((r[c+1|0]|r[c|0]<<8)>>>0>=t[b+172>>2]){kb(b,16)}c=c+2|0;a=a+ -1|0;if(a){continue}break}}return 0}function Nd(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;b=(b|0)==1?2:b;c=(c|0)==1?2:c;a:{if((b|0)==(c|0)|((c|0)==3?(b|0)==8:0)|((b|0)==-1|((c|0)==8?(b|0)==3:0))){break a}if((b|0)==2&(c|0)==9|(c|0)==-1){break a}e=498928;e=b>>>0<=9?q[(b<<2)+502556>>2]:e;q[d+4>>2]=c>>>0<=9?q[(c<<2)+502556>>2]:498928;q[d>>2]=e;_a(a,1,501100,d)}Da=d+16|0}function zJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=3;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=923;return 5}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function yJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>12){break b}c=3;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break b;case 11:break c;default:break a}}q[a>>2]=916;return 6}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function ie(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}if(q[a+12>>2]==-1){b=q[a+8>>2]+a|0;a=q[b+4>>2];hg(a&1?(a&-2)+b|0:a);return}b=q[a+12>>2];q[a+12>>2]=b+ -1;if((b|0)!=1){break a}d=q[a+8>>2]+a|0;if(q[a>>2]>=1){b=0;while(1){e=(b<<3)+d|0;c=q[e+4>>2];_e(c&1?(c&-2)+e|0:c);b=b+1|0;if((b|0)>2]){continue}break}}La(d);La(a)}}function UI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>9){break b}c=33;c:{switch(d-1|0){case 8:q[a>>2]=947;return 33;case 0:case 1:case 2:case 3:case 4:case 6:case 7:break b;case 5:break c;default:break a}}q[a>>2]=945;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>9){break b}c=33;c:{switch(d-1|0){case 8:q[a>>2]=947;return 33;case 0:case 1:case 2:case 3:case 4:case 6:case 7:break b;case 5:break c;default:break a}}q[a>>2]=949;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function No(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;q[b>>2]=0;a:{b:{c:{d:{c=q[a+8>>2];if(c+1>>>0>=t[a+4>>2]){break d}e=q[a+20>>2];e:{if(e){if((n[e](a,c,d+14|0,2)|0)!=2){break d}c=q[a+8>>2];b=d+14|0;break e}b=q[a>>2];if(!b){break c}b=b+c|0}f=r[b|0]|r[b+1|0]<<8;break b}q[b>>2]=85;break a}f=0}q[a+8>>2]=c+2}Da=d+16|0;return f}function FN(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=q[b+92>>2];a:{if(a){a=q[a+4>>2]==1937337698?c|61440:c;break a}a=c}b:{if(d){a=Wo(b,a,d);break b}a=Ub(b,a)}q[e>>2]=a;if(!a){return 0}q[f+28>>2]=a;b=0;a=ed(q[f>>2],f+8|0,c>>>0>752?q[f+32>>2]?f:0:0);c:{if(!a){break c}if(q[a>>2]>-1){b=a;break c}Cb(a)}Cb(b);return 1}function yC(a){a=a|0;var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}c=n[b](c)|0;if(!c){break a}b=q[a>>2];e=n[q[c>>2]](q[b+100>>2],q[b+304>>2]+w(q[b+4>>2],252)|0,d+12|0)|0;if(e){break a}q[q[a+40>>2]>>2]=q[d+12>>2]}Da=d+16|0;return e|0}function tR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=q[q[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=q[f+24>>2];if(c){b=q[q[(q[q[b+284352>>2]+4>>2]<<2)+284080>>2]+16>>2];if(b){n[b](c);c=q[f+24>>2]}if(c){n[q[d+8>>2]](d,c)}q[f+24>>2]=0}e=e+1|0;if((e|0)!=86){continue}break}Gd(q[a+12>>2]);Xd(q[a+16>>2]);if(a){n[q[d+8>>2]](d,a)}}}function ZD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=q[a+532>>2];if(!c){return 6}e=q[c+4>>2];q[b>>2]=e;q[b+4>>2]=q[c>>2];if(e){a=0;while(1){d=w(a,12);f=d+b|0;q[f+8>>2]=q[((a<<2)+c|0)+8>>2];d=c+d|0;g=q[d+92>>2];q[f+12>>2]=q[g>>2];q[f+16>>2]=q[((r[d+88|0]<<2)+g|0)+ -4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Iq(a){var b=0,c=0,d=0,e=0;c=od();a:{if(!c){break a}while(1){d=r[b+485054|0];e=d>>>5|0;if(!(e>>>0>=t[a+4>>2]|!(q[((e<<2)+a|0)+8>>2]>>>(d&31)&1))){Ad(c,(b<<5)+449308|0)}b=b+1|0;if((b|0)!=246){continue}break}a=q[a>>2];if(!a){break a}a=Ic(a);if(!a){break a}while(1){b=Qb(a);if(b){Ad(c,b);continue}break}Zb(a)}return c}function zU(a){var b=0,c=0;b=a?a:641640;a=ab(1,96);if(!a){yu(641328);return 641328}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;if(q[b+4>>2]){q[b+4>>2]=0}q[a+12>>2]=641328;c=SS(b);q[a+72>>2]=641424;q[a+16>>2]=c;q[a+84>>2]=a;b=Mi(b);q[a+40>>2]=65536;q[a+44>>2]=0;q[a+20>>2]=b;q[a+24>>2]=b;q[a+32>>2]=65536;q[a+36>>2]=0;yu(a);return a}function fB(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=q[a+280>>2];a:{if((e|0)<1){break a}f=q[a+284>>2];a=0;while(1){b:{h=a;g=Ta(q[w(a,12)+f>>2],b);a=a+1|0;if((a|0)>=(e|0)){break b}if(g){continue}}break}if(g){break a}a=w(h,12)+f|0;c:{if(r[a+4|0]){q[c>>2]=1;break c}q[c>>2]=2}q[c+4>>2]=q[a+8>>2];d=0}return d|0}function Vf(a,b,c){var d=0,e=0,f=0;a:{if((b|0)==1&a>>>0<0|b>>>0<1){d=a;break a}while(1){d=Y$(a,b,10,0);e=Ea;f=e;e=W$(d,e,10,0);c=c+ -1|0;o[c|0]=a-e|48;e=(b|0)==9&a>>>0>4294967295|b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c+ -1|0;a=(d>>>0)/10|0;o[c|0]=d-w(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function mQ(a){a=a|0;var b=0,c=0,d=0;b=q[a+20>>2];if(!b){return 3}a:{b:{if(!r[a+68|0]){p[b>>1]=s[b>>1]+1;break b}a=q[a+12>>2];if((p[a+20>>1]+p[a+56>>1]|0)+1>>>0>t[a+8>>2]){a=Xb(a,0,1);if(a){break a}}d=b;c=s[b>>1];a=c<<16>>16;if((a|0)>=1){p[(q[b+12>>2]+(c<<1)|0)+ -2>>1]=s[b+2>>1]+ -1;a=s[b>>1]}p[d>>1]=a+1}a=0}return a|0}function sg(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -44|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){iW(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function jh(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -16|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){lW(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+12>>2];Pa(c?c:271312);q[b+12>>2]=0;c=q[b+16>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function GG(a,b){var c=0,d=0,e=0,f=0;c=r[a|0];a:{if(!c){break a}while(1){e=r[b|0];if(!e){f=c;break a}b:{c:{while(1){if(c+ -48>>>0<11|(c|32)+ -97>>>0<27){break c}c=r[a+1|0];d=a+1|0;a=d;if(c){continue}break}c=0;break b}d=a}if((c|32)!=(e|0)){return 1}b=b+1|0;a=d+1|0;c=r[d+1|0];if(c){continue}break}}return r[b|0]!=(f&255)}function pt(a){var b=0,c=0,d=0,e=0;ot(a);nt(a+56|0);La(q[a+52>>2]);q[a+52>>2]=0;q[a+44>>2]=0;q[a+48>>2]=0;q[a+24>>2]=0;b=q[a+36>>2];c=q[a+32>>2];if(c){e=(c<<2)+b|0;while(1){La(q[(c?b:271312)>>2]);d=(c|0)!=0;c=c-d|0;b=(d<<2)+b|0;if((e|0)!=(b|0)){continue}break}b=q[a+36>>2]}La(b);q[a+36>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0}function lj(a,b){var c=0,d=0;c=Xa(b,q[a>>2]);a:{if(c){break a}c=lb(b,19504,a+4|0);if(c){break a}c=2;d=s[a+4>>1];if((d|256)!=768|t[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){q[a+140>>2]=0;q[a+132>>2]=0;q[a+136>>2]=0}if(o[a+72|0]&1){break a}c=Xa(b,q[a>>2]);if(c){break a}c=Bc(b,q[a+8>>2],a+160|0)}return c}function kh(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -48|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,20);if(c){eV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){c=q[b+8>>2];Pa(c?c:271312);q[b+8>>2]=0;c=q[b+12>>2];Pa(c?c:271312);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function NH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;f=q[a+8>>2];g=q[b+8>>2];pc(d,b);h=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=h;h=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=h;a=f&1?(f&-2)+a|0:f;b=g&1?(g&-2)+b|0:g;e=0;a:{if(!Rd(a,b)){break a}e=1;if(!dd(a,b)){break a}e=Ye(a,b)?2:3}Da=d+16|0;return+e}function Jp(a,b){var c=0,d=0,e=0;while(1){o[a+c|0]=r[c+505364|0];d=(c|0)!=14;c=c+1|0;if(d){continue}break}if(b){c=14;d=b;while(1){c=c+1|0;e=d>>>0>9;d=(d>>>0)/10|0;if(e){continue}break}o[a+c|0]=0;while(1){c=c+ -1|0;d=(b>>>0)/10|0;o[c+a|0]=b-w(d,10)|48;e=b>>>0>9;b=d;if(e){continue}break}return}o[a+14|0]=48;o[a+15|0]=0}function xQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;$b(a,q[a+8>>2]);e=q[a+8>>2];d=q[a>>2];q[b+12>>2]=d;f=ne(b+12|0,e,10);c=q[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(r[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;q[b+12>>2]=d;f=ne(b+12|0,e,f);c=q[b+12>>2];if((d|0)==(c|0)){break a}}q[a>>2]=c;g=f}Da=b+16|0;return g|0}function dc(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;q[c+8>>2]=a;e=q[b+20>>2];a=e+((n[q[b+12>>2]](c+8|0)>>>0)%t[b+4>>2]<<2)|0;d=q[a>>2];a:{if(!d){break a}while(1){if(n[q[b+16>>2]](d,c+8|0)){break a}a=a+ -4|0;if(a>>>0>>0){a=((q[b+4>>2]<<2)+e|0)+ -4|0}d=q[a>>2];if(d){continue}break}}Da=c+16|0;a=q[a>>2];return a?a+4|0:0}function QD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=q[a+532>>2];if(!e){return 6}f=q[b>>2];d=q[e>>2];a=6;a:{if(f>>>0>>0){break a}if(d){e=q[e+136>>2];a=0;while(1){g=a<<2;q[g+c>>2]=q[e+g>>2];a=a+1|0;if((d|0)!=(a|0)){continue}break}}a=0;if(f>>>0<=d>>>0){break a}Na((d<<2)+c|0,0,f-d<<2);a=0}q[b>>2]=d;return a|0}function DH(a){var b=0,c=0,d=0,e=0;c=Da-16|0;Da=c;a:{b:{c:{b=Wa(a);if(!(b>>>0<6|b+ -6>>>0<0)){b=(a+b|0)+ -6|0;if(!Oc(b,505357,6)){break c}}q[160942]=28;break b}d=100;while(1){EH(b);q[c>>2]=384;e=Hg(a,524482,c);if((e|0)>-1){break a}d=d+ -1|0;if(q[160942]==20?d:0){continue}break}Qa(b,505357,6)}e=-1}Da=c+16|0;return e}function wI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;q[e+8>>2]=b;b=eq(a,q[a+144>>2],e+8|0,c,d,!r[a+480|0]);a:{if(b){break a}f=q[e+8>>2];if(!f){break a}q[a+276>>2]=965;q[e+12>>2]=f;b=q[a+144>>2];b=n[q[b>>2]](b,f,c,e+12|0)|0;b=_f(a,q[a+144>>2],f,c,b,q[e+12>>2],d,!r[a+480|0],1)}Da=e+16|0;return b|0}function om(a){var b=0,c=0,d=0,e=0;b=q[a>>2];a:{if(b){break a}e=a+ -52|0;while(1){b=q[e>>2];if(!b){return 271312}c=ab(1,228);if(c){OV(c,b)}d=q[a>>2];b=c?c:271312;q[a>>2]=d?d:b;if(!d){break a}if(!(!c|!b)){La(q[b+224>>2]);q[b+224>>2]=0;q[b+216>>2]=0;q[b+220>>2]=0;nc(b);La(b)}b=q[a>>2];if(!b){continue}break}}return b}function Eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>31;e=e+c^e;f=d>>31;f=f+d^f;i=(e|0)>(f|0);g=a>>31;g=g+a^g;h=b>>31;h=h+b^h;j=(g|0)>(h|0);d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;a=a^a+c;b=b^b+d;c=(a|0)>(b|0);a=(w(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((w(i?f:e,3)>>>3|0)+(i?e:f)+((w(j?h:g,3)>>>3|0)+(j?g:h))|0)-a|0)<(a>>>4|0)}function DR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=bh(b,c);a:{if(d){break a}a=q[b+24>>2];if((a|0)<1){break a}b=q[b+28>>2];f=b+w(a,40)|0;a=q[c+4>>2];c=q[c+8>>2];while(1){q[a>>2]=q[b+16>>2];q[a+4>>2]=q[b+20>>2];e=s[b>>1];o[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(b>>>0>>0){continue}break}}return d|0}function Kq(a,b){var c=0,d=0,e=0,f=0;a:{c=q[a+4>>2];d=q[b+4>>2];c=c>>>0>>0?c:d;b:{if((c|0)>=1){c=(c|0)<8?c:8;f=(c|0)>1?c:1;d=0;c=0;while(1){e=c<<2;if(q[(e+a|0)+8>>2]!=q[(b+e|0)+8>>2]){break b}c=c+1|0;if((f|0)!=(c|0)){continue}break}}b=q[b>>2];a=q[a>>2];if(!a){break a}if(!b){return 0}d=vL(a,b)}return d}return!b}function FL(a,b){var c=0,d=0;c=zf(a);a=Iq(b);d=Ic(a);Yb(a);a=Qb(d);if(a){while(1){b=xe(a);a:{if((b|0)>=0){a=r[b+485054|0];b=a>>>5|0;if(b>>>0>=t[c+4>>2]){break a}b=(b<<2)+c|0;q[b+8>>2]=q[b+8>>2]|1<<(a&31);break a}b=q[c>>2];if(!b){b=od();q[c>>2]=b;if(!b){break a}}Ad(b,a)}a=Qb(d);if(a){continue}break}}Zb(d);return c}function EL(a,b){var c=0,d=0,e=0,f=0,g=0;d=zf(a);a=Iq(b);b=Ic(a);Yb(a);a=Qb(b);if(a){while(1){c=xe(a);a:{if((c|0)>=0){a=r[c+485054|0];c=a>>>5|0;if(c>>>0>=t[d+4>>2]){break a}c=(c<<2)+d|0;e=q[c+8>>2];f=c+8|0,g=$$(-2,a)&e,q[f>>2]=g;break a}c=q[d>>2];if(!c){break a}rL(c,a)}a=Qb(b);if(a){continue}break}}Zb(b);return d}function BH(a,b){var c=0,d=0,e=0;a:{b:{while(1){if(r[c+505392|0]!=(a|0)){d=87;c=c+1|0;if((c|0)!=87){continue}break b}break}d=c;if(c){break b}a=505488;break a}c=505488;while(1){e=r[c|0];a=c+1|0;c=a;if(e){continue}c=a;d=d+ -1|0;if(d){continue}break}}b=q[b+20>>2];if(b){b=IG(q[b>>2],q[b+4>>2],a)}else{b=0}return b?b:a}function lw(a,b,c){var d=0,e=0,f=0,g=0;d=Da-80|0;Da=d;e=lh(q[b+16>>2]+128|0);f=q[e+16>>2];g=q[e+12>>2];a=Zx(d+8|0,a,b,c,e);b=f>>>0<4?271312:g;c=r[b|0]|r[b+1|0]<<8;c=(c<<24|c<<8&16711680)>>>16|0;a:{if(c>>>0>1){break a}if(c-1){kw(b,a);break a}jw(b,a)}Pa(q[a+44>>2]);q[a+44>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;Da=d+80|0}function Ro(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=s[a+2>>1];if((d|0)!=s[b+2>>1]){break a}c=s[a>>1];if((a|0)==(b|0)|(c|0)!=s[b>>1]){break a}if(d){Qa(q[b+4>>2],q[a+4>>2],d<<16>>16<<3);Qa(q[b+8>>2],q[a+8>>2],p[a+2>>1]);c=s[a>>1]}if(c){Qa(q[b+12>>2],q[a+12>>2],c<<16>>16<<1)}q[b+16>>2]=q[a+16>>2]&-2|q[b+16>>2]&1}}function x$(a){var b=0,c=0,d=0,e=0;c=Da-16|0;Da=c;b=r[a+164|0];if((b&3)==3){if(!(!(b&4)|!(b&8))){d=Ge(a,c+12|0);a:{if(!(r[a+32|0]&8)){break a}b=q[c+12>>2];if(!b){break a}e=q[a+48>>2];a=0;while(1){Uv(d,b,a,e);a=a+1|0;b=q[c+12>>2];if(a>>>0>>0){continue}break}}Da=c+16|0;return}}I(228890,228864,170,228879);F()}function $u(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Da-272|0;Da=d;h=r[a+3|0];e=r[a+1|0];f=r[a|0];i=r[a+2|0];q[d+268>>2]=0;e=e|f<<8;f=a+4|0;if(Si(b,e,f,q[c>>2],q[c+4>>2],d+268|0,d,0)){a=q[d+268>>2];if(a>>>0>=2){g=q[b+96>>2];c=q[g+72>>2];rb(g,c,a+c|0)}g=zm(b,e,d,i<<8|h,f+(e?(e<<1)+ -2|0:0)|0,a)}Da=d+272|0;return g}function $l(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(q[a+4>>2]){q[a+24>>2]=c;q[a+20>>2]=b;d=q[a+16>>2];e=q[d+28>>2];if(!e){e=xb(d);c=q[a+24>>2];b=q[a+20>>2]}d=c>>31;f=c<<16;g=d<<16|c>>>16;d=e;c=d>>31;h=a,i=X$(f,g,d,c),q[h+40>>2]=i;q[a+44>>2]=Ea;e=b>>31;h=a,i=X$(b<<16,e<<16|b>>>16,d,c),q[h+32>>2]=i;q[a+36>>2]=Ea}}function RU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Da-16|0;Da=b;q[b+12>>2]=c;e=q[a+72>>2];f=q[e+160>>2];a:{if((f|0)!=q[160396]){a=n[f](a,q[a+76>>2],1,b+12|0,0,d,0,q[e+24>>2])|0;break a}a=q[a+12>>2];q[d>>2]=0;e=a;f=q[a+76>>2];a=q[a+72>>2];a=n[q[a+156>>2]](e,f,c,d,q[a+20>>2])|0}Da=b+16|0;return a|0}function zy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Da-16|0;Da=c;e=q[a+16>>2];a=s[a+8>>1];b=Oa(b,1,0,a+1|0,0,c+12|0);Da=c+16|0;if(q[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=r[e|0];if(!c){break a}o[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}o[b+d|0]=0}return b|0}function xJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>7){break b}c=11;c:{switch(d-1|0){case 6:q[a>>2]=924;return 11;case 0:case 1:case 3:case 4:case 5:break b;case 2:break c;default:break a}}q[a>>2]=925;return 9}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function bJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>10){break b}c=0;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break a}}q[a>>2]=933;return 58}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function KT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=q[q[a+112>>2]+4>>2];if(c){Mt(c,b,q[a+4>>2])}a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){d=c+w(b,20)|0;e=d,f=Jt(q[d>>2]),o[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}I(264137,264058,150,264124);F()}function ad(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Da-16|0;Da=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=z(e);Fc(d,e,0,0,0,c+81|0);c=(q[d+12>>2]^65536)+(16414-c<<16)|0;e=0+q[d+8>>2]|0;if(e>>>0>>0){c=c+1|0}f=b&-2147483648|c;c=q[d+4>>2];b=q[d>>2]}q[h>>2]=b;q[g+4>>2]=c;q[a+8>>2]=e;q[a+12>>2]=f;Da=d+16|0}function NA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[a+16>>2];if(d){g=q[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=q[(c<<3)+g>>2];if((e|0)==(b|0)){return s[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=e>>>0>b>>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function ol(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Da-16|0;Da=b;d=q[a>>2];a:{if(!d){break a}c=q[d+8>>2];if(!c){break a}e=d;while(1){c=q[c+8>>2];if(c){e=q[e+8>>2];c=q[c+8>>2];if(c){continue}}break}q[b+12>>2]=d;q[b+8>>2]=q[e+8>>2];q[e+8>>2]=0;ol(b+12|0);ol(b+8|0);f=a,g=nl(q[b+12>>2],q[b+8>>2]),q[f>>2]=g}Da=b+16|0}function oI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;f=a;a:{b:{c:{while(1){if(!Ta(b,w(e,20)+499232|0)){break c}e=e+1|0;if((e|0)!=54){continue}break}if(Ra(b,500312,4)){break b}b=0;break a}b=q[w(e,20)+499248>>2];break a}q[d>>2]=b;_a(a,1,499194,d);b=55}if(!lI(f,b,c)){_a(a,2,499215,0)}Da=d+16|0}function Tp(a,b){var c=0;c=0;a:{b:{if(!Ta(a,b)){break b}c=1;if(!Ta(a,b+20|0)){break b}c=2;if(!Ta(a,b+40|0)){break b}c=3;if(!Ta(a,b+60|0)){break b}c=4;if(!Ta(a,b+80|0)){break b}c=5;if(!Ta(a,b+100|0)){break b}c=6;if(!Ta(a,b+120|0)){break b}c=41;if(Ta(a,b+140|0)){break a}c=7}c=q[(w(c,20)+b|0)+16>>2]}return c}function vc(a,b){var c=0,d=0,e=0;c=Da-32|0;Da=c;a:{if(r[a|0]){while(1){q[c+20>>2]=a;q[c+16>>2]=0;q[c+4>>2]=b;q[c>>2]=0;while(1){b:{d=Jc(c+16|0,486400);e=Jc(c,486400);if(!d){break b}if((d|0)==(e|0)){continue}}break}if(!e|(d|0)==(e|0)){break a}d=r[a+1|0];a=a+1|0;if(d){continue}break}}a=0}Da=c+32|0;return a}function Yg(a){var b=0,c=0;b=Da-16|0;Da=b;while(1){q[b+12>>2]=a;c=r[a|0];if(!((c|0)!=38?(c|0)!=72:0)){a=a+1|0;continue}break}a=kp(a,b+12|0);Da=b+16|0;c=a;b=a>>>0<=2147483648?0:1;a=Ea;b=(a|0)>-1?1:(a|0)>=-1?b:0;c=b?c:-2147483648;a=b?a:-1;a=(a|0)<0?1:(a|0)<=0?c>>>0>=2147483647?0:1:0;return a?c:2147483647}function qT(a,b,c,d){var e=0,f=0,g=0,h=0;e=r[c+164|0];if((e&3)==3){if(!(!(e&4)|!(e&8))){f=1;e=0;g=q[c+76>>2];if(g>>>0>1){h=q[c+88>>2];while(1){if(!(1<<(s[(w(f,20)+h|0)+16>>1]&31)&7168)){Dt(a,b,c,e,f,d);e=f}f=f+1|0;if((g|0)!=(f|0)){continue}break}}Dt(a,b,c,e,g,d);return}}I(270142,270116,170,270131);F()}function N_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(r[a+12|0]!=1){break a}c=r[b|0];b=r[b+1|0];q[a+16>>2]=-1;d=a;a=b|c<<8;c=ac(d,a);if(!c){break a}c=c+(a>>>3&56)|0;a=c;e=q[c+4>>2];d=c;f=q[c>>2];c=b&63;b=c&31;if(32<=(c&63)>>>0){c=1<>>32-b;b=1<>2]=f|b;q[a+4>>2]=c|e}}function Cp(a){var b=0,c=0,d=0,e=0,f=0;b=q[a+40>>2];c=n[b](a,0,0,r[a|0]&128?t[a+20>>2]>t[a+28>>2]?2:1:1)|0;b=Ea;d=b;if((b|0)>0?1:(b|0)>=0?c>>>0<0?0:1:0){e=q[a+20>>2]-q[a+28>>2]|0;a=q[a+8>>2]-q[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}Ea=d;return c}function zT(a){a=a|0;a=a+24|0;Db(a,555);$a(a,1819239276,1,1);$a(a,1667460464,1,1);Db(a,556);$a(a,1919969382,9,1);Db(a,0);$a(a,1886545254,9,1);Db(a,0);$a(a,1651275622,9,1);Db(a,0);$a(a,1886614630,9,1);Db(a,0);Db(a,557);$a(a,1886545267,9,1);$a(a,1633842803,9,1);$a(a,1651275635,9,1);$a(a,1886614643,9,1)}function tA(a){var b=0,c=0,d=0,e=0;a:{d=1<>2];e=q[a+64>>2];if((d|0)==(e|0)){break a}c=s[a+560>>1];if(c&4){break a}if(q[a+96>>2]){b=q[a+52>>2]}else{b=0}b:{if(!(c&16)){b=d;break b}c=b+q[a+184>>2]|0;b=e?e:1024;c=(b|0)<(c|0)?c:b;while(1){b=d;d=b>>1;if((d|0)>=(c|0)){continue}break}}q[a+568>>2]=b}}function bl(a,b){var c=0,d=0,e=0,f=0;f=Wa(b);e=((b>>>0)%8191<<2)+a|0;d=q[e+12>>2];a:{if(d){c=d;while(1){if(q[c+4>>2]==(b|0)){break a}c=q[c>>2];if(c){continue}break}}c=Sa(12);if(!c){return 0}q[c+4>>2]=b;b=q[a>>2];q[c>>2]=d;q[c+8>>2]=b;q[e+12>>2]=c;d=a;a=f+1|0;c=a&7;q[d>>2]=b+((c?8-c|0:0)+a|0)}return 1}function VT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=q[a+112>>2];a:{if(!d){break a}e=q[b+76>>2];if(!e){break a}a=q[b+88>>2];c=0;while(1){q[a+4>>2]=q[a+4>>2]|q[(r[a+18|0]<<2)+d>>2];a=a+20|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}a=r[b+164|0];if(!(a&64)){I(255440,255364,160,255425);F()}o[b+164|0]=a&191}function Ob(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;o[c+15|0]=0;q[b>>2]=0;d=q[a+8>>2];a:{b:{e=q[a+20>>2];c:{if(e){if((n[e](a,d,c+15|0,1)|0)!=1){break b}d=q[a+8>>2];b=r[c+15|0];break c}if(d>>>0>=t[a+4>>2]){break b}b=r[q[a>>2]+d|0];o[c+15|0]=b}q[a+8>>2]=d+1;break a}q[b>>2]=85;b=0}Da=c+16|0;return b<<24>>24}function uM(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:{a=sM(a,b,c,d);if(a){b=q[c+68>>2]/1e3|0;d=q[e>>2];c=q[c+64>>2];b:{if((d|0)==(c|0)){if(q[e+4>>2]<(b|0)){break b}break a}if((d|0)>=(c|0)){break a}}d=q[f>>2];if(d){hg(d)}q[e+4>>2]=b;q[e>>2]=c;q[f>>2]=a;a=1}else{a=0}return a|0}hg(a);return 0}function rb(a,b,c){var d=0,e=0,f=0,g=0;if(b>>>0>>0){f=q[a+88>>2];e=-1;d=b;while(1){g=q[(w(d,20)+f|0)+8>>2];e=e>>>0>g>>>0?g:e;d=d+1|0;if((d|0)!=(c|0)){continue}break}while(1){d=w(b,20)+f|0;if(q[d+8>>2]!=(e|0)){q[a+32>>2]=q[a+32>>2]|16;q[d+4>>2]=q[d+4>>2]|1}b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function L$(a,b){var c=0;a:{if((b|0)!=1196445523){c=271312;if((b|0)!=1196643650){break a}a=q[Ac(a+136|0)>>2];a=a?a:271312;c=t[a+16>>2]<10?271312:q[a+12>>2];break a}a=q[Rc(a+140|0)>>2];a=a?a:271312;c=t[a+16>>2]<10?271312:q[a+12>>2]}a=c;a=r[a+9|0]|r[a+8|0]<<8;a=a?c+a|0:271312;return r[a|0]<<8|r[a+1|0]}function VX(a){a=a|0;a=a+24|0;Db(a,461);Db(a,462);$a(a,1819239276,1,1);$a(a,1667460464,1,1);$a(a,1886545254,12,1);$a(a,1651275622,12,1);$a(a,1633842790,12,1);$a(a,1886614630,12,1);$a(a,1667654002,12,1);Db(a,463);$a(a,1886545267,13,1);$a(a,1633842803,13,1);$a(a,1651275635,13,1);$a(a,1886614643,13,1)}function Kb(a){var b=0,c=0,d=0,e=0,f=0;e=Wa(a);a:{b:{if(!q[161260]|!r[a|0]){break b}if(Pb(a,61)){break b}b=q[q[161260]>>2];if(!b){break b}while(1){c=Ra(a,b,e);b=q[161260];if(!c){c=q[b+(d<<2)>>2];f=c+e|0;if(r[f|0]==61){break a}}d=d+1|0;b=q[b+(d<<2)>>2];if(b){continue}break}}return 0}return c?f+1|0:0}function tB(a){a=a|0;var b=0,c=0;c=q[a+28>>2];b=q[a+12>>2];if(b){vh(b+12|0);q[b+52>>2]=0;q[b+44>>2]=0;q[b+48>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b+16>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+12>>2]=0}if(!q[a+20>>2]){b=q[a>>2];if(b){n[q[c+8>>2]](c,b)}q[a>>2]=0}}function lE(a){a=a|0;var b=0,c=0,d=0,e=0;d=Da-16|0;Da=d;b=q[a>>2];c=q[b+552>>2];b=bc(q[q[b+96>>2]+4>>2],7201);a:{if(!c|!b){break a}c=q[c>>2];if(!c){break a}c=n[c](b)|0;if(!c){break a}b=q[a>>2];e=n[q[c>>2]](q[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}q[q[a+40>>2]>>2]=q[d+12>>2]}Da=d+16|0;return e|0}function UF(a,b){var c=0;if(!a){return}if(!b){return}a=q[a>>2];if(!a){return}if(o[b+16|0]&1){c=q[b+4>>2];if(c){n[q[a+8>>2]](a,c)}q[b+4>>2]=0;c=q[b+8>>2];if(c){n[q[a+8>>2]](a,c)}q[b+8>>2]=0;c=q[b+12>>2];if(c){n[q[a+8>>2]](a,c)}q[b+12>>2]=0}q[b>>2]=0;q[b+4>>2]=0;q[b+16>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}function lH(){var a=0,b=0,c=0,d=0,e=0;a=q[160617];e=q[160616];a:{if(!e){d=a;a=w(q[a>>2],1103515245)+12345&2147483647;q[d>>2]=a;break a}b=q[160618];c=a+(b<<2)|0;d=q[160961];a=q[c>>2]+q[a+(d<<2)>>2]|0;q[c>>2]=a;c=d+1|0;q[160961]=(c|0)==(e|0)?0:c;b=b+1|0;q[160618]=(b|0)==(e|0)?0:b;a=a>>>1|0}return a}function Xc(a){var b=0,c=0;a:{if(!a){break a}if(q[a>>2]==-1){hg(a);return}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}c=q[a+4>>2];if((c|0)>=1){b=0;while(1){c=q[a+8>>2]+a|0;La(q[c+(b<<2)>>2]+c|0);b=b+1|0;c=q[a+4>>2];if((b|0)<(c|0)){continue}break}}if(c){La(q[a+8>>2]+a|0);La(q[a+12>>2]+a|0)}La(a)}}function XD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;a=q[a+532>>2];a:{if(!a){f=6;break a}oj(q[a+136>>2],d,q[a+4>>2]);e=q[a+4>>2];a=e>>>0>>0?e:b;if(a){Qa(c,d,a<<2)}if(e>>>0>=b>>>0){break a}while(1){q[(a<<2)+c>>2]=32768;a=a+1|0;if((b|0)!=(a|0)){continue}break}}Da=d+16|0;return f|0}function VH(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=q[a+4>>2];b=q[c+84>>2];if(!b){break a}d=q[q[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=q[b+8>>2];if(!e){break a}f=b;b=e;if((b|0)!=(a|0)){continue}break}}q[(f?f+8|0:c+84|0)>>2]=q[a+8>>2];b=q[a+20>>2];if(b){n[b](a)}Yf(a);n[q[d+8>>2]](d,a)}}function To(a,b,c){var d=0;d=Qr();q[a>>2]=d;a:{if(d){q[d+24>>2]=0;q[d+20>>2]=1;d=Pr(q[a>>2]);q[a+4>>2]=d;if(!d){break a}rl(d,b,c);q[a+12>>2]=b;q[a+16>>2]=c;ql(q[a+4>>2],1033,0,3,1055);La(q[a+24>>2]);q[a+424>>2]=0;q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;return}Rb(1227);Q(2);F()}Rb(1252);Q(3);F()}function mM(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=q[c>>2]|q[b>>2];q[a+4>>2]=q[c+4>>2]|q[b+4>>2];q[a+8>>2]=q[c+8>>2]|q[b+8>>2];q[a+12>>2]=q[c+12>>2]|q[b+12>>2];q[a+16>>2]=q[c+16>>2]|q[b+16>>2];q[a+20>>2]=q[c+20>>2]|q[b+20>>2];q[a+24>>2]=q[c+24>>2]|q[b+24>>2];q[a+28>>2]=q[c+28>>2]|q[b+28>>2];return 1}function jQ(a){a=a|0;var b=0,c=0,d=0,e=0;e=q[a>>2];b=q[a+8>>2];if(b){c=q[a+16>>2];d=q[c+4>>2];q[b+108>>2]=q[c>>2];q[b+112>>2]=d;q[b+124>>2]=q[c+16>>2];d=q[c+12>>2];q[b+116>>2]=q[c+8>>2];q[b+120>>2]=d}b=q[a+1512>>2];if(b){n[b](q[a+1508>>2]);b=q[a+1508>>2];if(b){n[q[e+8>>2]](e,b)}q[a+1508>>2]=0}}function YI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>8){break b}c=33;c:{switch(d-1|0){case 0:case 1:case 2:case 3:case 4:case 5:case 6:break b;case 7:break c;default:break a}}q[a>>2]=949;return 33}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function fE(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=q[c+288>>2];if((e|0)<1){break a}f=q[c+292>>2];while(1){c=q[(d<<2)+f>>2];b:{if(!c|r[c|0]!=r[a|0]){break b}if((Wa(c)|0)!=(b|0)){break b}if(!Ra(c,a,b)){break a}}d=d+1|0;if((d|0)<(e|0)){continue}break}d=0}return d|0}function Oe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Da-16|0;Da=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=z(b)^31;Fc(c,d,0,0,0,112-b|0);b=(q[c+12>>2]^65536)+(b+16383<<16)|0;d=0+q[c+8>>2]|0;if(d>>>0>>0){b=b+1|0}f=d;d=b;b=q[c+4>>2];e=q[c>>2]}q[h>>2]=e;q[g+4>>2]=b;q[a+8>>2]=f;q[a+12>>2]=d;Da=c+16|0}function zH(a,b){var c=0,d=0,e=0,f=0;d=a+2|0;c=r[a+2|0];e=(c|0)!=0;a=r[a+1|0]<<16|r[a|0]<<24|c<<8;f=r[b+1|0]<<16|r[b|0]<<24|r[b+2|0]<<8;a:{if(!(!c|(a|0)==(f|0))){while(1){b=d+1|0;c=r[d+1|0];e=(c|0)!=0;a=(a|c)<<8;if((f|0)==(a|0)){break a}d=b;if(c){continue}break}break a}b=d}return e?b+ -2|0:0}function bB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=q[a+16>>2];d=s[a+2>>1];a:{if(d+(s[a+6>>1]<<8)>>>0>>0){break a}c=s[a>>1];f=s[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|e>>>0>>0){break a}g=s[q[a+12>>2]+((e-c|0)+w((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function KG(){var a=0,b=0,c=0,d=0;b=Da-32|0;Da=b;while(1){d=JG(a,1<>2]=d;c=((d|0)!=0)+c|0;a=a+1|0;if((a|0)!=6){continue}break}a:{b:{if(c>>>0>1){break b}a=508688;if(c-1){break a}if(q[b+8>>2]!=508660){break b}a=508712;break a}a=0}Da=b+32|0;return a}function YP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=q[a+12>>2];a:{if((p[d+22>>1]+p[d+58>>1]|0)+1>>>0>t[d+4>>2]){d=Xb(d,1,0);if(d){break a}}d=q[a+20>>2];if(r[a+65|0]){a=q[d+8>>2];e=p[d+2>>1];f=q[d+4>>2]+(e<<3)|0;q[f+4>>2]=c>>10;q[f>>2]=b>>10;o[a+e|0]=1}p[d+2>>1]=s[d+2>>1]+1;d=0}return d|0}function yt(a,b,c,d,e,f){var g=0,h=0;if(q[b>>2]){g=ab(1,204);a:{if(g){q[g+8>>2]=0;q[g>>2]=1;q[g+4>>2]=1;a=a?a:641640;h=a;if(q[a+4>>2]){q[h+4>>2]=0}q[g+12>>2]=a;h=g+16|0;if(zt(h,1,a,b,c,d,e,f)){if(fT(g+60|0,a,h)){break a}La(q[g+36>>2])}La(g)}g=271312}return g}I(270515,270556,208,270573);F()}function et(a){var b=0,c=0;b=q[a+20>>2];if(b){a:{if(q[a+8>>2]<1){break a}while(1){b=w(c,56)+b|0;La(q[b+28>>2]);La(q[b+44>>2]);La(q[b+48>>2]);La(q[b+52>>2]);c=c+1|0;if((c|0)>=q[a+8>>2]){break a}b=q[a+20>>2];continue}}q[a+8>>2]=0}La(q[q[a+88>>2]+20>>2]);a=q[a+88>>2];q[a+20>>2]=0;q[a+24>>2]=0}function Af(a,b){var c=0,d=0,e=0,f=0,g=0;f=q[a+8>>2]+a|0;a:{b:{if(!a){a=0;break b}c=q[a>>2]+ -1|0;if((c|0)<0){a=0;break b}while(1){a=d+c>>1;e=q[(a<<3)+f>>2]-b|0;if(!e){break a}g=(e|0)<0;d=g?a+1|0:d;c=g?c:a+ -1|0;if((d|0)<=(c|0)){continue}break}d=e>>>31|0}a=a+d^-1}return(a|0)<0?0:(a<<3)+f|0}function pT(a,b,c){var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;a:{b:{if((q[c+48>>2]&-2)==4){if(gh(b,11)){break b}break a}if(!gh(b,12)){break a}}g=d;e=q[c+48>>2];f=(e&-3)!=5;if(!f){_c(c);e=q[c+48>>2]}q[g+12>>2]=e;q[d+8>>2]=b;o[d+4|0]=0;q[d>>2]=d+8;oT(d,b,c,q[a+132>>2]);if(f){break a}_c(c)}Da=d+16|0}function lU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!(r[q[a+112>>2]+36|0]&2)){break a}d=q[c+76>>2];if(!d){break a}e=q[c+88>>2];a=0;while(1){b=w(a,20)+e|0;if(r[b+12|0]&64){f=b;b=r[b+14|0];o[f+18|0]=b&16?8:b&1|8;q[c+32>>2]=q[c+32>>2]|16777216}a=a+1|0;if((d|0)!=(a|0)){continue}break}}}function Mo(a,b,c,d,e){var f=0;if((b|1|c)<0){q[e>>2]=6;return d}a:{if(!(c?1:0)){if(!d){break a}n[q[a+8>>2]](a,d);break a}f=e;if(2147483647>=(c|0)){if(!b){a=n[q[a+4>>2]](a,c)|0;q[e>>2]=!a<<6;return a}a=n[q[a+12>>2]](a,b,c,d)|0;d=a?a:d;a=!a<<6}else{a=10}q[f>>2]=a;return d}q[e>>2]=0;return 0}function uy(a,b){a=a|0;b=b|0;if(b>>>0>6){return 0}a:{switch(b-1|0){default:return a+160|0;case 2:return a+216|0;case 3:return(r[a+292|0]?a+296|0:0)|0;case 1:return(s[a+372>>1]==65535?0:a+372|0)|0;case 4:return a+476|0;case 0:return a+260|0;case 5:break a}}return(q[a+568>>2]?a+568|0:0)|0}function ru(a,b){var c=0,d=0;a:{if(t[b+4>>2]>a>>>0){break a}c=q[b+8>>2];if(c>>>0>>0|c-a>>>0<4){break a}c=q[b+12>>2];q[b+12>>2]=c+ -1;if((r[a+1|0]|r[a|0]<<8)!=1|(c|0)<1){break a}if(!Gv(a+4|0,b,a)){break a}if(!mm(a+8|0,b,a)){break a}if(!mm(a+12|0,b,a)){break a}d=mm(a+16|0,b,a)}return d}function RR(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;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=0;a:{if(!c){break a}while(1){h=Ub(q[b+4>>2],q[d>>2]);q[f>>2]=h;if(!h){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}q[b>>2]=0;return a|0}function Qf(a,b,c){var d=0,e=0,f=0,g=0;e=Da-16|0;Da=e;d=0;a:{if(!a){break a}f=q[a+92>>2];d=0;if(!f){break a}d=0;if(!q[a+16>>2]){break a}q[e+12>>2]=b;while(1){g=n[q[q[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=t[a+16>>2]){continue}break}d=g?q[e+12>>2]:0}a=d;if(c){q[c>>2]=g}Da=e+16|0;return a}function qP(a,b){var c=0;c=ab(1,44);if(!c){return 0}q[c>>2]=a;a=q[160550];q[c+4>>2]=q[160549];q[c+8>>2]=a;a=q[160552];q[c+12>>2]=q[160551];q[c+16>>2]=a;a=q[160554];q[c+20>>2]=q[160553];q[c+24>>2]=a;a=q[160556];q[c+28>>2]=q[160555];q[c+32>>2]=a;q[c+36>>2]=q[160557];q[c+40>>2]=b;return c}function te(a,b){var c=0;if(q[b+76>>2]<0){a:{if(o[b+75|0]==(a&255)){break a}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break a}q[b+20>>2]=c+1;o[c|0]=a;return}Mj(b,a);return}b:{c:{if(o[b+75|0]==(a&255)){break c}c=q[b+20>>2];if(c>>>0>=t[b+16>>2]){break c}q[b+20>>2]=c+1;o[c|0]=a;break b}Mj(b,a)}}function Xf(a){var b=0,c=0;c=q[a+16>>2];a:{if((c|0)>=q[a+20>>2]){c=0;b=ua(q[a>>2],a+32|0,2048)|0;if((b|0)<=0){a=0;if(!b|(b|0)==-44){break a}q[160942]=0-b;return 0}q[a+16>>2]=0;q[a+20>>2]=b}b=a+c|0;q[a+16>>2]=s[b+48>>1]+c;c=q[b+44>>2];q[a+8>>2]=q[b+40>>2];q[a+12>>2]=c;a=b+32|0}return a}function bY(a){La(q[a+68>>2]);q[a+68>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0;La(q[a+80>>2]);q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;La(q[a+92>>2]);q[a+92>>2]=0;q[a+84>>2]=0;q[a+88>>2]=0;La(q[a+80>>2]);q[a+80>>2]=0;q[a+72>>2]=0;q[a+76>>2]=0;La(q[a+68>>2]);q[a+68>>2]=0;q[a+60>>2]=0;q[a+64>>2]=0}function Dd(a,b,c){var d=0,e=0,f=0;f=((b>>>0)%8191<<2)+a|0;e=q[f+12>>2];a:{if(e){d=e;while(1){if(q[d+4>>2]==(b|0)){break a}d=q[d>>2];if(d){continue}break}}d=Sa(12);if(!d){return 0}q[d+4>>2]=b;b=q[a>>2];q[d>>2]=e;q[d+8>>2]=b;q[f+12>>2]=d;e=a;a=c&7;q[e>>2]=b+((a?8-a|0:0)+c|0)}return 1}function zE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=q[a+736>>2];a:{if(f){if(b){q[b>>2]=q[f>>2]}if(c){q[c>>2]=q[f+4>>2]}if(d){q[d>>2]=q[q[a+736>>2]+8>>2]}if(!e){break a}q[e>>2]=q[q[a+736>>2]+12>>2];return 0}if(b){q[b>>2]=0}if(c){q[c>>2]=0}if(!e){break a}q[e>>2]=0}return 0}function ug(a,b,c,d){var e=0;a=r[a+1|0];d=a&1?d+2|0:d;d=a&2?d+2|0:d;d=a&4?d+2|0:d;d=a&8?d+2|0:d;a:{if(a&16){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&32){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&64){e=0;if(!Lf(d,b,c)){break a}d=d+2|0}if(a&128){e=0;if(!Lf(d,b,c)){break a}}e=1}return e}function OH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;f=-1;if(!(q[b>>2]!=4|q[a>>2]!=4)){a:{if(q[b+8>>2]!=2){pc(d,b);break a}pc(d,a)}e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;f=(q[a+8>>2]^q[b+8>>2])==1?1:0}Da=d+16|0;return+f}function Eu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=q[a+12>>2];a:{if(n[q[e+24>>2]](e,b,q[e+56>>2])>>>0<=31){e=q[a+12>>2];f=0;if(1<>2]](e,b,q[e+56>>2])&7168){break a}}a=q[a+12>>2];q[d>>2]=0;f=0;if(!b|!c){break a}f=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return f|0}function RP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=n[q[a+20>>2]](s[q[a+16>>2]+(b<<1)>>1])|0;d=q[a+24>>2];if(!d){break a}e=q[a+28>>2];while(1){a=q[(c<<2)+e>>2];if(!(!a|r[a|0]!=r[b|0])){if(!Ta(a,b)){break a}}c=c+1|0;if(c>>>0>>0){continue}break}c=0}return c|0}function DG(){var a=0,b=0,c=0;a=Da-16|0;Da=a;a:{if(fa(a+12|0,a+8|0)){break a}b=Sa((q[a+12>>2]<<2)+4|0);q[161260]=b;if(!b){break a}b:{b=Sa(q[a+8>>2]);if(b){c=q[161260];if(c){break b}}q[161260]=0;break a}q[(q[a+12>>2]<<2)+c>>2]=0;if(!ea(q[161260],b|0)){break a}q[161260]=0}Da=a+16|0}function _h(a,b){var c=0,d=0,e=0;d=q[q[a+4>>2]+100>>2];c=q[a+156>>2];e=q[c+4>>2];a:{if(e&1){c=q[a+88>>2];if(c){n[q[d+8>>2]](d,c)}q[a+88>>2]=0;break a}q[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=n[q[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=Na(d,0,b);c=0}q[a+88>>2]=e;return c}function Nt(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+32>>2];if(!(!b|!q[b>>2])){while(1){e=(c<<2)+b|0;a:{if(!q[e+28>>2]){break a}d=w(c,24)+b|0;La(q[d+68>>2]);q[d+68>>2]=0;q[d+60>>2]=0;q[d+64>>2]=0;if(!r[b+4|0]){break a}La(q[e+28>>2])}c=c+1|0;if(c>>>0>2]){continue}break}La(b)}La(a)}function zK(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=q[b>>2];if(a>>>0>=c>>>0){break a}while(1){f=q[d>>2];if(f>>>0>>0){q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+2;p[f>>1]=a;a=q[b>>2];if(a>>>0>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function iJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{c=b+ -15|0;if(c>>>0>2){break a}b:{switch(c-1|0){default:return q[a+8>>2];case 0:break a;case 1:break b}}q[a>>2]=q[a+16>>2]?914:933;return q[a+8>>2]}c:{if((b|0)==28){b=59;if(!q[a+16>>2]){break c}}q[a>>2]=911;b=-1}return b|0}function CB(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=q[a+100>>2];b=q[a+132>>2];if(b){if(q[b+160>>2]){zb(q[a+104>>2],b+160|0)}d=c;e=q[b+168>>2];if(e){n[q[d+8>>2]](d,e)}q[b+168>>2]=0;if(b){n[q[c+8>>2]](c,b)}q[a+132>>2]=0}d=q[a+32>>2];if(d){n[q[c+8>>2]](c,d)}q[a+28>>2]=0;q[a+32>>2]=0}}function nz(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=s[a+152>>1];a:{if(!e){break a}a=q[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(q[a>>2]==(b|0)){g=q[a+12>>2];if(g){break b}}a=a+16|0;if(a>>>0>>0){continue}break a}break}if(d){q[d>>2]=g}f=Xa(c,q[a+8>>2])}return f|0}function hp(a){var b=0,c=0;b=508864;c=r[a|0]?a:508864;while(1){if(!GG(c,b)){while(1){b=(Wa(b)+b|0)+1|0;if(r[b|0]){continue}break}return b+ -508863|0}b=(Wa(b)+b|0)+1|0;a=r[b|0];if(!a){a=r[b+1|0];b=(a>>>0>128?2:w(128-a>>>2|0,5)+2|0)+b|0;a=r[b|0]}if(a&255){continue}break}return-1}function YJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{a=q[b>>2];if(a>>>0>=c>>>0){break a}while(1){f=q[d>>2];if(f>>>0>>0){q[b>>2]=a+1;a=r[a|0];f=q[d>>2];q[d>>2]=f+1;o[f|0]=a;a=q[b>>2];if(a>>>0>>0){continue}break a}break}if((e|0)!=(f|0)){break a}return 2}return 0}function HO(a,b){a=a|0;b=b|0;var c=0;a:{if(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2])){break a}if(q[a+16>>2]!=q[b+16>>2]|q[a+20>>2]!=q[b+20>>2]|(q[a+24>>2]!=q[b+24>>2]|q[a+28>>2]!=q[b+28>>2])){break a}c=q[a+32>>2]==q[b+32>>2]}return c|0}function mZ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=dv(a?d+a|0:271312,b)}else{a=0}return a|0}function kZ(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];c=yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2]);if((c|0)!=-1){d=a;a=(r[a+5|0]|r[a+4|0]<<8)>>>0>c>>>0?((c<<1)+a|0)+6|0:271312;a=r[a|0]<<8|r[a+1|0];a=cv(a?d+a|0:271312,b)}else{a=0}return a|0}function cb(a,b){var c=0,d=0;c=o[b|0];if(!c){return a}a=Pb(a,c);a:{if(!a){break a}if(!r[b+1|0]){return a}if(!r[a+1|0]){break a}if(!r[b+2|0]){return AH(a,b)}if(!r[a+2|0]){break a}if(!r[b+3|0]){return zH(a,b)}if(!r[a+3|0]){break a}if(!r[b+4|0]){return yH(a,b)}d=xH(a,b)}return d}function XP(a){a=a|0;var b=0,c=0;b=q[a+20>>2];a:{b:{if(r[a+65|0]){a=q[a+12>>2];if((p[a+20>>1]+p[a+56>>1]|0)+1>>>0>t[a+8>>2]){a=Xb(a,0,1);if(a){break a}}c=s[b>>1];a=c<<16>>16;if((a|0)<1){break b}p[(q[b+12>>2]+(c<<1)|0)+ -2>>1]=s[b+2>>1]+ -1}a=s[b>>1]}p[b>>1]=a+1;a=0}return a|0}function TL(a,b){var c=0,d=0,e=0,f=0;c=q[b+8>>2];a:{if(!Dd(a,b,16)){break a}e=b+c|0;if(!Dd(a,e,q[b>>2]<<3)){break a}c=0;if(q[b>>2]<=0){return 1}b:{while(1){f=(c<<3)+e|0;d=q[f+4>>2];if(!SL(a,d&1?(d&-2)+f|0:d)){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}}return 0}function VO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;q[b+16>>2]=q[c>>2];d=q[c+4>>2];q[b+104>>2]=0;q[b+108>>2]=0;q[b+20>>2]=d;q[b>>2]=q[a>>2];q[b+4>>2]=q[a+4>>2];q[b+8>>2]=q[a+8>>2];a=q[a+12>>2];q[b+112>>2]=0;q[b+116>>2]=0;q[b+12>>2]=a;if((Sr(q[c+8>>2],b,0)|0)==-1){q[b>>2]=0}return 1}function am(a,b,c,d){var e=0;a:{b:{if(!q[a+4>>2]){if(!d){break b}n[d](c);return}e=q[a+80>>2];if(e){n[e](q[a+76>>2])}b=b?b:641424;if(q[b>>2]){if(q[b>>2]<=0){break a}q[b>>2]=q[b>>2]+1}hd(q[a+72>>2]);q[a+80>>2]=d;q[a+76>>2]=c;q[a+72>>2]=b}return}I(250950,250975,269,250990);F()}function wT(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){a:{a=a<<24>>24;o[b+164|0]=a|64;if((a|0)<=-1){break a}o[b+164|0]=a|192;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Ft(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}I(270083,270004,150,270070);F()}function Xe(a){var b=0,c=0;q[a+20>>2]=0;q[a+48>>2]=0;b=q[a+24>>2];q[a+56>>2]=q[a+20>>2];q[a+60>>2]=b;c=q[a+32>>2];b=a- -64|0;q[b>>2]=q[a+28>>2];q[b+4>>2]=c;b=q[a+40>>2];q[a+72>>2]=q[a+36>>2];q[a+76>>2]=b;q[a+88>>2]=q[a+52>>2];b=q[a+48>>2];q[a+80>>2]=q[a+44>>2];q[a+84>>2]=b}function BT(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){a:{a=a<<24>>24;o[b+164|0]=a|64;if((a|0)<=-1){break a}o[b+164|0]=a|192;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Gt(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}I(267814,267357,150,267801);F()}function SQ(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:{e=q[a+4>>2];if((d-c|0)>=(e|0)){break a}f=0-e|0;c=f&(c+e|0)+ -1;if((c|0)!=(d&f)){break a}c=c>>q[a>>2];if((c|0)<0|c>>>0>=t[a+96>>2]){break a}a=(q[a+56>>2]+(b>>3)|0)-w(c,q[a+104>>2])|0;o[a|0]=r[a|0]|128>>>(b&7)}}function FW(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;h=sg(b+44|0);if(c){b=0;while(1){i=0-(xW(h,q[d>>2],a)<<16)|0;i=W$(i>>16,i>>31,q[a+40>>2],q[a+44>>2]);q[f>>2]=(Ea&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function $I(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=11;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a+8>>2]=11;q[a>>2]=932;return 16}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function eN(a,b,c,d){var e=0,f=0,g=0;e=1<>2];a=0-e|0;a=a>>>0>>0?c:a&(c+e|0)+ -1;f=0;a:{if(a>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}g=q[b+20>>2];e=oe(e,w(a,d)+32|0,0);f=0;if(!e){break a}q[b+20>>2]=e;q[b+16>>2]=a;q[b+12>>2]=d;q[b+8>>2]=c;gd(g);f=1}return f}function NN(a,b,c){var d=0,e=0,f=0,g=0;if(!(!c|(b|0)<1)){while(1){g=b;b=b+ -1|0;a:{if(!(o[b+a|0]&1)){break a}e=(b<<2)+c|0;d=q[e>>2];if(d>>>0>65535){break a}f=p[(s[(d>>>5&134217726)+431024>>1]+(d&63)<<1)+433072>>1];if(!f){break a}q[e>>2]=d+f}if((g|0)>1){continue}break}}}function JB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=q[a+420>>2];if((d|0)>=1){f=q[a+424>>2];g=r[b|0];while(1){a:{e=q[(c<<2)+f>>2];if(r[e|0]!=(g|0)){break a}if(Ta(b,e)){break a}return Sb(q[q[a+428>>2]+(c<<2)>>2],0,10)|0}c=c+1|0;if((c|0)<(d|0)){continue}break}}return 0}function Cg(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 Tc(a,b,c){var d=0,e=0,f=0,g=0;d=(Wa(b)+Wa(c)|0)+1|0;a:{b:{if((d|0)<=0){if(!d){break b}break a}a=n[q[a+4>>2]](a,d)|0;if(!a){break a}e=Na(a,0,d)}a=ue(b,47);c:{if(a){d=b;b=(a-b|0)+1|0;f=Md(e,d,b)+b|0,g=0,o[f|0]=g;b=a+1|0;break c}o[e|0]=0}e=Eg(Eg(e,c),b)}return e}function $j(a){var b=0,c=0;a:{if(t[a+20>>2]<=t[a+28>>2]){break a}n[q[a+36>>2]](a,0,0)|0;if(q[a+20>>2]){break a}return-1}b=q[a+4>>2];c=q[a+8>>2];if(b>>>0>>0){b=b-c|0;n[q[a+40>>2]](a,b,b>>31,1)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;return 0}function eJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>2){break b}c=11;c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}q[a>>2]=q[a+16>>2]?914:933;return 15}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function jA(a,b){a=a|0;b=b|0;var c=0;if(a+4>>>0>t[b+160>>2]){kb(b,8)}c=r[a+3|0]|r[a+2|0]<<8;if(!(a+c>>>0<=t[b+160>>2]?c>>>0>=262:0)){kb(b,8)}if(q[b+164>>2]){a=a+6|0;c=0;while(1){if(t[b+172>>2]<=r[a|0]){kb(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function GW(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;h=jh(b+16|0);if(c){b=0;while(1){i=yW(h,q[d>>2],a)<<16;i=W$(i>>16,i>>31,q[a+32>>2],q[a+36>>2]);q[f>>2]=(Ea&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function pK(a,b){a=a|0;b=b|0;var c=0;c=1;a=r[b+3|0];a:{if(!(a&128)|(a&192)==192){break a}a=r[b+2|0];if(!(a&128)|(a&192)==192){break a}a=r[b+1|0];b=r[b|0];if((b|0)==240){return(a&192)==192|a>>>0<144}if(!(a&128)){break a}c=(b|0)==244?a>>>0>143:(a&192)==192}return c|0}function ZB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=q[a+88>>2];if(b){q[b>>2]=q[a+300>>2]}if(c){q[c>>2]=q[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=Za(s[f+12>>1]<<6,q[a+304>>2]);a=Za(s[f+14>>1]<<6,q[a+304>>2])}if(d){q[d>>2]=b}if(e){q[e>>2]=a}return 0}function Kc(a){var b=0,c=0;a:{if(r[a+68|0]==1){if(!r[a+69|0]){break a}o[a+69|0]=0;c=q[a+92>>2];b=q[a+88>>2];if((c|0)!=(b|0)){q[a+96>>2]=b;q[a+92>>2]=b;q[a+88>>2]=c}q[a+72>>2]=0;b=q[a+80>>2];q[a+80>>2]=q[a+76>>2];q[a+76>>2]=b}return}I(272574,272586,335,272627);F()}function IM(a){var b=0,c=0;a:{if(!a){break a}b=Sa(32);if(!b){break a}c=q[a+4>>2];q[b>>2]=q[a>>2];q[b+4>>2]=c;c=q[a+28>>2];q[b+24>>2]=q[a+24>>2];q[b+28>>2]=c;c=q[a+20>>2];q[b+16>>2]=q[a+16>>2];q[b+20>>2]=c;c=q[a+12>>2];q[b+8>>2]=q[a+8>>2];q[b+12>>2]=c;c=b}return c}function AH(a,b){var c=0,d=0,e=0,f=0;c=r[a+1|0];e=(c|0)!=0;a:{if(!c){break a}c=c|r[a|0]<<8;f=r[b+1|0]|r[b|0]<<8;if((c|0)==(f|0)){break a}b=a+1|0;while(1){a=b;d=r[a+1|0];e=(d|0)!=0;if(!d){break a}b=a+1|0;c=c<<8&65280|d;if((f|0)!=(c|0)){continue}break}}return e?a:0}function PQ(a){a=a|0;var b=0,c=0,d=0,e=0;b=q[a+16>>2];q[a+32>>2]=b;d=q[a+20>>2];q[a+36>>2]=d;c=q[a+8>>2];e=c+q[a>>2]|0;q[a+8>>2]=e>>1;b=b+c|0;q[a+24>>2]=b>>1;q[a+16>>2]=b+e>>2;b=q[a+12>>2];c=b+q[a+4>>2]|0;q[a+12>>2]=c>>1;b=b+d|0;q[a+28>>2]=b>>1;q[a+20>>2]=b+c>>2}function kn(){var a=0,b=0,c=0,d=0,e=0,f=0;a=Kb(226814);c=2;a:{if(!a){break a}b=2;c=2;if(!r[a|0]){break a}while(1){c=b;e=b|4;f=b;d=Pb(a,58);if(!d){d=Wa(a)+a|0}b=d-a|0;b=Ra(a,226825,b)?c:(b|0)==24?e:f;a=r[d|0]?d+1|0:d;if(r[a|0]){continue}break}c=b&255}q[160736]=c}function dz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=q[a+516>>2];e=b;a:{b:{if(c){c=n[d](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=n[d](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=lb(e,162848,a);if(c){break a}q[a+36>>2]=0;q[a+40>>2]=0;c=0}return c|0}function AD(a,b){a=a|0;b=b|0;var c=0;a=q[a+712>>2];b=s[q[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b+ -391|0;if(t[a+1356>>2]<=b>>>0){break a}return q[q[a+1360>>2]+(b<<2)>>2]}a=q[a+3084>>2];if(!a){break a}c=n[q[a+20>>2]](b)|0}return c|0}function uJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=17;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=928;return 18}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function qJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=11;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=929;return 10}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function db(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return Sa(b)|0}if(b>>>0>=4294967232){q[160942]=48;return 0}c=tG(a+ -8|0,b>>>0<11?16:b+11&-8);if(c){return c+8|0}c=Sa(b);if(!c){return 0}d=q[a+ -4>>2];d=(d&-8)-(d&3?4:8)|0;Qa(c,a,d>>>0>>0?d:b);La(a);return c|0}function VI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>3){break b}c=33;c:{switch(d-1|0){case 0:case 1:break b;case 2:break c;default:break a}}q[a>>2]=951;return 32}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function TE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=p[a+302>>1];if(e){f=c<<3;g=q[f+q[b+12>>2]>>2];e=bb(d,e,q[a+568>>2]);q[f+q[b+12>>2]>>2]=e+g}e=p[a+304>>1];if(e){c=c<<3;f=q[(c+q[b+12>>2]|0)+4>>2];a=bb(d,e,q[a+568>>2]);q[(c+q[b+12>>2]|0)+4>>2]=a+f}}function tE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(Ta(b,5487)){break a}e=7;b:{if(d){b=Sb(c,0,10);break b}b=q[c>>2]}c=b+ -35|0;if(c>>>0>5){break a}c:{switch(c-1|0){case 0:case 1:case 2:case 3:break a;default:break c}}q[a- -64>>2]=b;e=0}return e|0}function iC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=q[a>>2];c=q[b+408>>2];q[a+16>>2]=c;d=q[b+416>>2];q[a+20>>2]=d;a:{if(c>>>0<2){break a}b=q[d>>2];a=1;while(1){e=b;b=q[(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 OR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;while(1){d=q[b>>2];q[b>>2]=1;if(d){continue}break}d=0;if(!el(q[b+4>>2],c,q[b+8>>2]|16,e+12|0)){d=q[e+12>>2];if(q[a+24>>2]<=-1){d=0-d|0;q[e+12>>2]=d}d=512-d>>10}q[b>>2]=0;Da=e+16|0;return d|0}function zp(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;a:{b:{if(!Pb(507296,o[b|0])){q[160942]=28;break b}e=MG(b);q[c>>2]=438;a=T(a|0,e|32768,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}if((a|0)<0){break a}d=bk(a,b);if(d){break a}O(a|0)|0}d=0}Da=c+16|0;return d}function Wf(a,b){var c=0,d=0,i=0;h(+a);c=e(1)|0;d=e(0)|0;i=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=Wf(a*0x10000000000000000,b);b=q[b>>2]+ -64|0}q[c>>2]=b;return a}q[b>>2]=c+ -1022;f(0,d|0);f(1,i&-2146435073|1071644672);a=+g()}return a}function hH(a,b){var c=0,d=0;c=Da-160|0;Da=c;Qa(c+8|0,507304,144);q[c+52>>2]=a;q[c+28>>2]=a;d=-2-a|0;d=2147483647>d>>>0?d:2147483647;q[c+56>>2]=d;a=a+d|0;q[c+36>>2]=a;q[c+24>>2]=a;Yj(c+8|0,27763,b);if(d){a=q[c+28>>2];o[a-((a|0)==q[c+24>>2])|0]=0}Da=c+160|0}function cE(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=q[a>>2];c=q[d+552>>2];d=bc(q[q[d+96>>2]+4>>2],7201);if(!(!c|!d)){c=q[c>>2];if(c){break a}}Rf(q[a>>2],b);return 0}c=n[c](d)|0;Rf(q[a>>2],b);if(c){n[q[c+4>>2]](q[q[a+40>>2]>>2],q[a+16>>2],q[a+20>>2],0,0)}return 0}function IU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=q[a+12>>2];e=q[b+72>>2];b=n[q[e+192>>2]](b,q[b+76>>2],c,d,q[e+56>>2])|0;c=q[a+12>>2];a:{if(!c){break a}c=q[c+20>>2];a=q[a+20>>2];if((c|0)==(a|0)){break a}b=X$(W$(a,a>>31,b,b>>31),Ea,c,c>>31)}return b|0}function FU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=q[a+12>>2];e=q[b+72>>2];b=n[q[e+196>>2]](b,q[b+76>>2],c,d,q[e+60>>2])|0;c=q[a+12>>2];a:{if(!c){break a}c=q[c+24>>2];a=q[a+24>>2];if((c|0)==(a|0)){break a}b=X$(W$(a,a>>31,b,b>>31),Ea,c,c>>31)}return b|0}function Vd(a,b){var c=0;if(!a){return 40}q[a+16>>2]=b;q[a+8>>2]=0;q[a+12>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=0;b=zp(b,4031);if(!b){return 1}Qh(b,0,2);c=Bp(b);q[a+4>>2]=c;if(!c){Pe(b);return 81}Qh(b,0,0);q[a+24>>2]=3;q[a+20>>2]=4;q[a+12>>2]=b;return 0}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;Yn(a,b,c,d);b=q[a+300>>2];c=q[a+304>>2];a:{if((b|0)==(c|0)){break a}e=q[d>>2];if(e){f=d,g=bb(e,b,c),q[f>>2]=g}b=q[d+4>>2];if(!b){break a}f=d,g=bb(b,q[a+300>>2],q[a+304>>2]),q[f+4>>2]=g}return 0}function SH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;pc(d,b);e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;c=a;a=q[a+8>>2];c=a&1?c+(a&-2)|0:a;a=q[b+8>>2];a=dd(c,a&1?(a&-2)+b|0:a);Da=d+16|0;return+(a?1:0)}function MH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;pc(d,b);e=q[d+12>>2];q[c+8>>2]=q[d+8>>2];q[c+12>>2]=e;e=q[d+4>>2];q[c>>2]=q[d>>2];q[c+4>>2]=e;c=a;a=q[a+8>>2];c=a&1?c+(a&-2)|0:a;a=q[b+8>>2];a=Yq(c,a&1?(a&-2)+b|0:a);Da=d+16|0;return+(a>>>0)}function oQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+20>>2];if(r[a+68|0]){a=q[e+8>>2];f=p[e+2>>1];g=q[e+4>>2]+(f<<3)|0;q[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;q[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;o[a+f|0]=d?1:2}p[e+2>>1]=s[e+2>>1]+1}function dn(a){var b=0,c=0;b=q[a>>2];if(!(!b|(b|0)==271312)){if(q[b+4>>2]){a=0;while(1){c=q[b+8>>2]+w(a,24)|0;La(q[c+20>>2]);q[c+20>>2]=0;q[c+12>>2]=0;q[c+16>>2]=0;a=a+1|0;if(a>>>0>2]){continue}break}}La(q[b+8>>2]);a=q[b>>2];Pa(a?a:271312);La(b)}}function Mj(a,b){var c=0,d=0,e=0;c=Da-16|0;Da=c;o[c+15|0]=b;d=q[a+16>>2];a:{if(!d){if(ap(a)){break a}d=q[a+16>>2]}e=q[a+20>>2];if(!(o[a+75|0]==(b&255)|e>>>0>=d>>>0)){q[a+20>>2]=e+1;o[e|0]=b;break a}if((n[q[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}Da=c+16|0}function AL(a,b){var c=0,d=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{b=Jc(c+16|0,505072);d=Jc(c,505072);if(!b){break a}if((b|0)==(d|0)){continue}}break}a=q[c+20>>2]+(a^-1)|0}Da=c+32|0;return a}function _d(a,b){var c=0,d=0,e=0,f=0;a:{if(!a|!b){break a}c=q[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=q[a>>2];e=q[d>>2];if(Ta(q[e+8>>2],b)){a=a+4|0;if(a>>>0>>0){continue}break a}break}if(!d){break a}f=q[e+20>>2]}return f}function wp(a){var b=0,c=0;b=r[a+74|0];o[a+74|0]=b+ -1|b;if(t[a+20>>2]>t[a+28>>2]){n[q[a+36>>2]](a,0,0)|0}q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;b=q[a>>2];if(b&4){q[a>>2]=b|32;return-1}c=q[a+44>>2]+q[a+48>>2]|0;q[a+8>>2]=c;q[a+4>>2]=c;return b<<27>>31}function fS(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{if(!c){break a}f=q[a+76>>2];if(!f){break a}b=b&c;h=c^-1;i=q[a+88>>2];c=0;while(1){a=w(c,20)+i|0;g=q[a+8>>2];if(!(g>>>0>>0|g>>>0>=e>>>0)){q[a+4>>2]=b|q[a+4>>2]&h}c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function Zb(a){var b=0,c=0,d=0;b=q[a>>2];a:{if(q[b>>2]==-1){break a}c=q[b>>2];q[b>>2]=c+ -1;if((c|0)!=1){break a}c=q[b+12>>2];if(q[b+4>>2]>=1){while(1){La(q[(d<<2)+c>>2]);c=q[b+12>>2];d=d+1|0;if((d|0)>2]){continue}break}}if(c){La(c)}La(b)}La(a)}function S$(a,b,c,d){var e=0,f=0,g=0,h=0;e=b;f=e>>31;e=e>>31;a=a^e;g=a-e|0;h=(b^f)-((a>>>0>>0)+f|0)|0;e=d;f=e>>31;e=e>>31;a=c^e;e=Y$(g,h,a-e|0,(d^f)-((a>>>0>>0)+f|0)|0);b=b^d;c=b>>31;a=b>>31;b=e^a;d=b-a|0;Ea=(c^Ea)-((b>>>0>>0)+c|0)|0;return d}function Pe(a){var b=0,c=0,d=0,e=0;d=q[a>>2]&1;if(!d){b=q[a+52>>2];if(b){q[b+56>>2]=q[a+56>>2]}c=q[a+56>>2];if(c){q[c+52>>2]=b}if(q[161227]==(a|0)){q[161227]=c}}b=ak(a);c=n[q[a+12>>2]](a)|0;e=q[a+96>>2];if(e){La(e)}b=b|c;if(!d){La(a);return b}return b}function tJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{d=b+ -15|0;if(d>>>0>2){break b}c=3;c:{switch(d-1|0){case 0:break b;case 1:break c;default:break a}}q[a>>2]=915;return 8}if((b|0)==28){c=59;if(!q[a+16>>2]){break a}}q[a>>2]=911;c=-1}return c|0}function Ma(a,b){var c=0,d=0;d=(a|0)<0?-1:1;d=(b|0)<0?0-d|0:d;c=a;a=a>>31;a=c+a^a;c=b;b=b>>31;b=c+b^b;a:{if(a+(b>>>8|0)>>>0<=8190){a=w(a,b)+32768>>>16|0;break a}c=a&65535;a=w(c,b>>>16|0)+w(b,a>>>16|0)+(w(c,b&65535)+32768>>>16)|0}return(d|0)<0?0-a|0:a}function Ik(a,b){var c=0,d=0;c=xe(b);a:{if((c|0)>=0){c=r[c+485054|0];b=c>>>5|0;d=1;if(b>>>0>=t[a+4>>2]){break a}a=(b<<2)+a|0;q[a+8>>2]=q[a+8>>2]|1<<(c&31);return 1}b:{c=q[a>>2];if(c){break b}c=od();q[a>>2]=c;if(c){break b}return 0}d=Ad(c,b)}return d}function GP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;e=d>>>0>>0?d:b;if(!e){break a}b=0;while(1){f=a+b|0;d=r[f|0];o[f|0]=d^c>>>8;c=w(c+d|0,52845)+22719&65535;b=b+1|0;if((e|0)!=(b|0)){continue}break}}}function si(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;a=ye(a,qd(b),0,d);a:{if(a){break a}a=q[d>>2]+ -1|0;if(a>>>0>1){a=2;break a}b:{if(!(a-1)){e=v[d+8>>3];if(y(e)<2147483648){a=~~e;break b}a=-2147483648;break b}a=q[d+8>>2]}q[c>>2]=a;a=0}Da=d+16|0;return a}function aC(a){a=a|0;var b=0,c=0,d=0;c=q[q[a+188>>2]>>2];b=c;d=q[a+168>>2];if(d){n[q[b+8>>2]](b,d)}q[a+172>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;b=q[a+184>>2];if(b){n[q[c+8>>2]](c,b)}o[a+192|0]=0;q[a+184>>2]=0;q[a+188>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0}function LP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=q[a+16>>2];c=q[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+q[a+20>>2]|0;a:{if(c>>>0>>0){e=q[a+24>>2];while(1){a=s[(c<<1)+e>>1];if(a){break a}c=c+1|0;if(c>>>0>>0){continue}break}}a=0;c=0}q[b>>2]=c;return a|0}function Dr(a,b,c){var d=0,e=0;d=Sa(b<<3);q[a+16>>2]=d;e=Sa(c);q[a+20>>2]=e;if(!(e?d:0)){La(d);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return 0}q[a+12>>2]=c;q[a+4>>2]=b;q[a+8>>2]=0;q[a>>2]=0;return 1}function wt(a){var b=0,c=0;b=q[a>>2];c=q[a+4>>2];if((b|0)<=(c|0)){a:{if((b|0)!=(c|0)){c=q[a+16>>2];break a}b=b+20|0;q[a+4>>2]=b;c=db(q[a+16>>2],w(b,144));q[a+16>>2]=c;b=q[a>>2]}q[a>>2]=b+1;Na(w(b,144)+c|0,0,144);return b}I(1428,1465,104,1471);F()}function Fq(a,b,c){var d=0,e=0,f=0,g=0;a:{if((c|0)<2){break a}f=r[a|0];e=r[a+1|0]|f<<8;d=a+2|0;if((f&252)==216){if((c|0)<4){break a}c=r[d|0];if((c&252)!=220){break a}e=(r[d+1|0]|(c<<8&768|e<<10&1047552))+65536|0;d=a+4|0}q[b>>2]=e;g=d-a|0}return g}function pk(a,b){var c=0,d=0,e=0;a:{b:{c=q[a+156>>2];if(!c){break b}d=q[c+4>>2];if(!(d&1)){break b}e=q[a+88>>2];if(e){c=q[q[a+4>>2]+100>>2];n[q[c+8>>2]](c,e);c=q[a+156>>2];d=q[c+4>>2]}q[a+88>>2]=0;q[c+4>>2]=d&-2;break a}q[a+88>>2]=0}q[a+88>>2]=b}function eI(a,b){var c=0,d=0;a=Se(a);a:{if(!a){break a}d=Ic(q[a+8>>2]);cc(a);if(!d){break a}b:{a=Qb(d);if(a){while(1){c=Wa(a);if(!Ra(b,a,c)){c=r[b+c|0];if(!c|(c|0)==47){break b}}a=Qb(d);if(a){continue}break}}Zb(d);return 0}Zb(d);c=tL(a)}return c}function XB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Da-16|0;Da=d;q[d+12>>2]=0;a:{if(q[c+80>>2]){break a}b=b-a|0;f=gb(q[c>>2],b+1|0,d+12|0);q[c+80>>2]=f;e=q[d+12>>2];if(e){break a}Qa(f,a,b);o[b+q[c+80>>2]|0]=0;e=q[d+12>>2]}Da=d+16|0;return e|0}function uC(a,b){a=a|0;b=b|0;var c=0;Rf(q[a>>2],b);c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+4>>2]](q[q[a+40>>2]>>2],q[a+16>>2],q[a+20>>2],0,0)}return 0}function Wc(a){var b=0;a:{b=q[a>>2]+ -3|0;if(b>>>0>6){break a}b:{switch(b-1|0){default:La(q[a+8>>2]);return;case 1:dl(q[a+8>>2]);return;case 2:Xc(q[a+8>>2]);return;case 4:Sd(q[a+8>>2]);return;case 0:case 3:break a;case 5:break b}}La(q[a+8>>2])}}function SR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=Ub(q[b+4>>2],c);a:{if(!a){e=0;if(!r[b+12|0]|c>>>0>255){break a}a=Ub(q[b+4>>2],c+61440|0);if(!a){break a}}q[d>>2]=a;e=1}q[b>>2]=0;return e|0}function Dg(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 tY(a,b){a=a|0;b=b|0;var c=0,d=0;c=r[a+3|0]|r[a+2|0]<<8;d=c?c+a|0:271312;c=q[b+96>>2];if((yb(d,q[q[c+88>>2]+w(q[c+72>>2],20)>>2])|0)!=-1){Jf(a+4|0,b,a,a+6|0,q[c+96>>2]+w(q[c+72>>2],20)|0);q[c+72>>2]=q[c+72>>2]+1;a=1}else{a=0}return a|0}function Uj(a,b,c,d,e){var f=0;f=Da-144|0;Da=f;q[f+44>>2]=a;q[f+4>>2]=a;q[f>>2]=0;q[f+76>>2]=-1;q[f+8>>2]=(a|0)<0?-1:a+2147483647|0;xd(f,0,0);c=sp(f,c,1,d,e);d=Ea;if(b){q[b>>2]=((q[f+4>>2]+q[f+120>>2]|0)-q[f+8>>2]|0)+a}Da=f+144|0;Ea=d;return c}function Fd(a,b){var c=0,d=0;c=xc(q[a>>2],a);c=c+(c>0?.5:-.5);a:{if(y(c)<0x8000000000000000){a=~~c>>>0;d=y(c)>=1?c>0?~~A(C(c/4294967296),4294967295)>>>0:~~D((c- +(~~c>>>0>>>0))/4294967296)>>>0:0;break a}a=0;d=-2147483648}q[b>>2]=a;q[b+4>>2]=d}function DC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=q[q[a+128>>2]+52>>2];a:{if(e){a=q[b>>2];q[d+12>>2]=c;q[d+8>>2]=a;n[q[q[e>>2]+4>>2]](q[e+4>>2],d+8|0);break a}a=q[a+712>>2];if(q[a+1236>>2]){break a}zb(q[a+1204>>2],b)}Da=d+16|0}function Ar(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2];c=q[a+12>>2];a:{if(b>>>0>=c>>>0){q[160942]=0;c=c<<1;d=a,e=qc(q[a+20>>2],c,1),q[d+20>>2]=e;b=0;if(q[160942]){break a}q[a+12>>2]=c;b=q[a+8>>2]}o[q[a+20>>2]+b|0]=1;q[a+8>>2]=q[a+8>>2]+1;b=1}return b}function AA(a,b,c,d){var e=0,f=0;e=Da-5040|0;Da=e;q[e+20>>2]=0;q[e+16>>2]=a;q[e+12>>2]=b;q[e+8>>2]=q[c>>2];q[e+4>>2]=d;if(IA(e+24|0)){a=zA(e+24|0,e+16|0,e+12|0,e+8|0,e+4|0,e+20|0);q[c>>2]=q[e+20>>2];FA(e+24|0);f=(a|0)==1}Da=e+5040|0;return f}function tr(a,b,c,d){var e=0,f=0;a=1<>2];e=0-a|0;e=e>>>0>>0?c:e&(a+c|0)+ -1;a:{if(e>>>0>2147483615/(((d|0)>1?d:1)>>>0)>>>0){break a}a=oe(a,w(d,e)+32|0,1);if(!a){break a}q[b+20>>2]=a;q[b+16>>2]=e;q[b+12>>2]=d;q[b+8>>2]=c;f=1}return f}function sC(a,b){a=a|0;b=b|0;var c=0;c=q[a+192>>2];q[b+24>>2]=q[a+188>>2];q[b+28>>2]=c;c=q[a+184>>2];q[b+16>>2]=q[a+180>>2];q[b+20>>2]=c;c=q[a+176>>2];q[b+8>>2]=q[a+172>>2];q[b+12>>2]=c;c=q[a+168>>2];q[b>>2]=q[a+164>>2];q[b+4>>2]=c;return 0}function oo(a,b){a=a|0;b=b|0;var c=0;c=q[a+136>>2];q[b>>2]=q[a+132>>2];q[b+4>>2]=c;c=q[a+160>>2];q[b+24>>2]=q[a+156>>2];q[b+28>>2]=c;c=q[a+152>>2];q[b+16>>2]=q[a+148>>2];q[b+20>>2]=c;c=q[a+144>>2];q[b+8>>2]=q[a+140>>2];q[b+12>>2]=c;return 0}function hk(a,b){var c=0,d=0;c=Da-32|0;Da=c;a:{b:{d=wa(a|0,b|0)|0;if((d|0)==-8){if(CG(a)){break b}}if(d>>>0>=4294963201){q[160942]=0-d;a=-1}else{a=d}break a}Jp(c,a);a=W(c|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}}Da=c+32|0;return a}function VD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Da-16|0;Da=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=q[f+c>>2];q[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=ko(a,e,d);Da=d+16|0;return a|0}function EC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;f=q[q[a+128>>2]+52>>2];a:{if(f){a=n[q[q[f>>2]>>2]](q[f+4>>2],b,e+8|0)|0;q[c>>2]=q[e+8>>2];q[d>>2]=q[e+12>>2];break a}a=Ag(q[a+712>>2]+1204|0,b,c,d)}Da=e+16|0;return a|0}function AQ(a){a=a|0;var b=0,c=0,d=0;if(q[a+12>>2]==-559038737){c=q[a+32>>2];b=c;d=q[a>>2];if(d){n[q[b+8>>2]](b,d)}q[a>>2]=0;b=q[a+24>>2];if(b){n[q[c+8>>2]](c,b)}q[a+24>>2]=0;b=q[a+28>>2];if(b){n[q[c+8>>2]](c,b)}q[a+12>>2]=0;q[a+28>>2]=0}}function bc(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=q[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=q[a>>2];if(!Ta(q[q[d>>2]+8>>2],b)){break a}a=a+4|0;if(a>>>0>>0){continue}break}return 0}return d}function hO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a+28>>2];d=q[a+20>>2];b=q[b+28>>2];e=q[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=q[a+16>>2];b=q[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function hI(a,b){var c=0,d=0,e=0,f=0;d=Da-16|0;Da=d;e=Ic(b);c=0;a:{if(!e){break a}c=Qb(e);if(c){while(1){if(r[643740]&8){q[d>>2]=c;Ua(503726,d)}f=eL(c,a);if(f){iI(a,f,b,c);hg(f)}c=Qb(e);if(c){continue}break}}Zb(e);c=1}Da=d+16|0;return c}function wb(a,b){var c=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{a=Jc(c+16|0,486400);b=Jc(c,486400);if(!a){break a}if((a|0)==(b|0)){continue}}break}a=a-b|0}Da=c+32|0;return a}function ty(a,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=s[a+152>>1];if(c){f=142;if(g>>>0<=b>>>0){break a}a=q[a+156>>2]+(b<<4)|0;q[c>>2]=q[a>>2];q[d>>2]=q[a+8>>2];g=q[a+12>>2]}q[e>>2]=g;f=0}return f|0}function dR(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(q[a+4>>2]){break a}e=c;g=a+52|0;f=q[g>>2];c=q[a+16>>2];if((e|0)!=(f+c|0)){break a}e=q[a>>2];c=Ji(a+16|0,d,f,c,b,e);if(!c){c=Ji(g,d,0,f,b,e);if(!c){break a}}q[a+4>>2]=c}}function Ig(a,b){var c=0;a=a?a:503338;c=Sa((Wa(a)+Wa(b)|0)+5&-4);if(c){a=tc(c,a);a:{if(r[a|0]){if(r[(Wa(a)+a|0)+ -1|0]==47){break a}}if(r[b|0]==47){break a}c=Wa(a)+a|0;o[c|0]=47;o[c+1|0]=0}a=Eg(a,b);if(!Re(a,4)){return a}La(a)}return 0}function tP(a){Cc(a,4384);Cc(a,6816);Cc(a,9656);Cc(a,14472);Cc(a,17372);Cc(a,17712);Cc(a,19028);Cc(a,25200);Cc(a,26028);Cc(a,161536);Cc(a,284728);Cc(a,289768);Cc(a,289836);Cc(a,289928);Cc(a,29e4);Cc(a,290072);Cc(a,290564);Cc(a,353992)}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=cj(a,163712,d);a:{if(e){break a}e=cj(a,163729,d+8|0);if(e){break a}e=6;if(q[d>>2]!=1|q[d+8>>2]!=1){break a}q[b>>2]=q[d+12>>2];q[c>>2]=q[d+4>>2];e=0}Da=d+16|0;return e|0}function Ra(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=r[a|0];a:{if(!d){break a}while(1){b:{e=r[b|0];if((e|0)!=(d|0)){break b}c=c+ -1|0;if(!c|!e){break b}b=b+1|0;d=r[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-r[b|0]|0}function kL(a){var b=0,c=0,d=0;b=Da-32|0;Da=b;d=q[a+4>>2];q[b+16>>2]=q[a>>2];q[b+20>>2]=d;Ua(489851,b+16|0);if(q[a>>2]>=1){while(1){q[b>>2]=c;Ua(489869,b);cd(q[q[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}Da=b+32|0}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=q[a+16>>2];if(c){f=q[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=q[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=d>>>0>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function GL(a,b){var c=0;a=Cd(a,b);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;c=b+8|0;b=q[b+4>>2]<<2;Qa(a+8|0,c,b>>>0<32?b:32);q[a>>2]=0;q[a+4>>2]=8;return a}function xd(a,b,c){var d=0,e=0,f=0,g=0;q[a+112>>2]=b;q[a+116>>2]=c;f=q[a+8>>2];g=q[a+4>>2];d=f-g|0;e=d>>31;q[a+120>>2]=d;q[a+124>>2]=e;if(!(!(b|c)|((e|0)<(c|0)?1:(e|0)<=(c|0)?d>>>0>b>>>0?0:1:0))){q[a+104>>2]=b+g;return}q[a+104>>2]=f}function xC(a){a=a|0;var b=0,c=0;if(q[q[a+40>>2]>>2]){c=q[a>>2];b=q[c+320>>2];c=bc(q[q[c+96>>2]+4>>2],14750);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+8>>2]](q[q[a+40>>2]>>2])}q[q[a+40>>2]>>2]=0}}function wi(a,b){var c=0,d=0;c=q[a>>2];a:{if((c|0)!=q[a+4>>2]){d=q[a+8>>2];break a}c=c+32|0;d=q[a+8>>2];b:{if(d){d=db(d,c<<2);break b}d=Sa(c<<2)}if(!d){return 0}q[a+8>>2]=d;q[a+4>>2]=c;c=q[a>>2]}q[a>>2]=c+1;q[(c<<2)+d>>2]=b;return 1}function dL(a,b){a=a|0;b=b|0;var c=0;c=1;a=n[q[a+364>>2]](q[a+368>>2],b)|0;a:{if(a>>>0>65535){break a}b=a>>>8|0;if(b+ -216>>>0<8){break a}b:{if((b|0)!=255){if(r[a+490220|0]|b){break b}break a}if((a|1)==65535){break a}}c=0}return c|0}function Yb(a){var b=0,c=0;a:{if(q[a>>2]==-1){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}b=q[a+12>>2];if(q[a+4>>2]>=1){while(1){La(q[(c<<2)+b>>2]);b=q[a+12>>2];c=c+1|0;if((c|0)>2]){continue}break}}if(b){La(b)}La(a)}}function kE(a){a=a|0;var b=0,c=0;if(q[q[a+40>>2]>>2]){c=q[a>>2];b=q[c+552>>2];c=bc(q[q[c+96>>2]+4>>2],7201);a:{if(!b|!c){break a}b=q[b>>2];if(!b){break a}b=n[b](c)|0;if(!b){break a}n[q[b+8>>2]](q[q[a+40>>2]>>2])}q[q[a+40>>2]>>2]=0}}function jR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=q[c>>2];d=((d>>31)+d|0)+32768&-65536;c=q[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(q[a+4>>2]){break a}b=_g((w((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,q[a>>2],0);if(!b){break a}q[a+4>>2]=b}}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=q[a+484>>2];d=d+(q[a+488>>2]-c|0)|0;if((b|0)>=0){b=b+d|0;a=c+(b-((b|0)%q[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d-b|0;a=(((b|0)%q[a+480>>2]|0)-b|0)-c|0;return((a|0)>0?0-c|0:a)|0}function oe(a,b,c){var d=0,e=0;e=a+ -1|0;if(!(e&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=(a+b|0)+3|0;b:{if(c){b=ab(b,1);break b}b=Sa(b)}if(!b){break a}d=a;a=b+4|0;c=a&e;d=c?(d-c|0)+a|0:a;q[d+ -4>>2]=b}return d}I(3373,3404,85,3416);F()}function AM(a,b){var c=0;a:{if(!Dd(a,b,12)){break a}if(!Dd(a,q[b+8>>2],q[b>>2]<<2)){break a}if(q[b>>2]<=0){return 1}b:{while(1){if(!TL(a,q[q[b+8>>2]+(c<<2)>>2])){break b}c=c+1|0;if((c|0)>2]){continue}break}return 1}}return 0}function cM(a,b){var c=0,d=0,e=0;d=q[b+4>>2];e=d+1|0;q[b+4>>2]=e;a:{b:{if(!a){c=0;if((d|0)>=-1){break a}c=0;break b}d=q[a>>2];c=0;if((e|0)>=(d|0)){break a}c=0;if((d|0)<1){break b}c=(q[a+8>>2]+a|0)+(e<<3)|0}q[b>>2]=c;c=1}return c}function bQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Da-16|0;Da=f;e=gb(b,16,f+12|0);g=q[f+12>>2];if(!g){q[e+12>>2]=2;q[e+8>>2]=d;q[e>>2]=c;q[e+4>>2]=c;q[a+8>>2]=0;q[a+12>>2]=0;q[a+4>>2]=e;q[a>>2]=b}Da=f+16|0;return g|0}function CL(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;q[b>>2]=0;q[b+4>>2]=a;while(1){c=c+1|0;if(Jc(b,0)){continue}break}d=Sa(c);if(d){q[b>>2]=0;q[b+4>>2]=a;c=d;while(1){a=Jc(b,0);o[c|0]=a;c=c+1|0;if(a){continue}break}}Da=b+16|0;return d}function yP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a>>2];d=a&2147483647;b=q[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 eR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(q[a+4>>2]){break a}d=q[a+16>>2];e=a+52|0;f=q[e>>2];if((d+f|0)!=(b|0)){break a}g=q[a>>2];b=Ji(a+16|0,c,0,d,0,g);if(!b){b=Ji(e,c,d,f,0,g);if(!b){break a}}q[a+4>>2]=b}}function qI(a){var b=0,c=0,d=0;a:{b=q[a+156>>2];if(!b){break a}c=q[b+4>>2];if(!(c&1)){break a}d=q[a+88>>2];if(d){b=q[q[a+4>>2]+100>>2];n[q[b+8>>2]](b,d);b=q[a+156>>2];c=q[b+4>>2]}q[a+88>>2]=0;q[b+4>>2]=c&-2;return}q[a+88>>2]=0}function ei(a,b){var c=0,d=0,e=0,f=0;if(a){d=q[a+4>>2];if(d){c=q[a+20>>2];while(1){e=q[c>>2];if(e){n[q[b+8>>2]](b,e)}q[c>>2]=0;c=c+4|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}c=q[a+20>>2];if(c){n[q[b+8>>2]](b,c)}q[a+20>>2]=0}}function dd(a,b){var c=0;c=Da-32|0;Da=c;if((a|0)==(b|0)){a=0}else{q[c+16>>2]=0;q[c+20>>2]=a;q[c+4>>2]=b;q[c>>2]=0;while(1){a:{a=Jc(c+16|0,0);b=Jc(c,0);if(!a){break a}if((a|0)==(b|0)){continue}}break}a=a-b|0}Da=c+32|0;return a}function Wb(a,b,c){var d=0,e=0,f=0;f=q[a+4>>2];d=q[a+8>>2];if(f>>>0>d>>>0){e=q[a+20>>2];a:{if(e){b=n[e](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;Qa(e,q[a>>2]+d|0,b)}q[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function bg(a){var b=0,c=0,d=0;a:{if(q[a+8>>2]){break a}b=q[a+12>>2];c=Sa(b+1|0);if(!c){break a}d=Qa(c,q[a>>2],b);o[b+d|0]=0}if(q[a+4>>2]){La(q[a>>2]);q[a>>2]=a+20;q[a+12>>2]=0;q[a+16>>2]=64;q[a+4>>2]=0;q[a+8>>2]=0}return d}function XR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=Da-16|0;Da=a;q[a+12>>2]=0;a:{if(Ij(c,b,0,a+12|0)){break a}d=Sa(q[a+12>>2]);if(!d){break a}if(Ij(c,b,d,a+12|0)){La(d);break a}e=fn(d,q[a+12>>2],2,d,427)}Da=a+16|0;return e|0}function R$(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=w(e,f);g=c&65535;h=a&65535;i=w(g,h);f=(i>>>16|0)+w(f,g)|0;e=(f&65535)+w(e,h)|0;a=(w(b,c)+j|0)+w(a,d)+(f>>>16)+(e>>>16)|0;b=i&65535|e<<16;Ea=a;return b}function HM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[b>>3];e=v[b+8>>3];f=v[c>>3];g=v[c+16>>3];h=v[c+8>>3];i=v[b+16>>3];j=v[c+24>>3];k=v[b+24>>3];v[a+24>>3]=h*i+j*k;v[a+16>>3]=f*i+g*k;v[a+8>>3]=d*h+e*j;v[a>>3]=d*f+e*g}function aA(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];a:{if(c>>>0>65534){break a}if(o[a+20|0]&1){return Bn(a,b,1)|0}if((c|0)==q[a+24>>2]){zn(a);c=q[a+28>>2];if(!c){break a}q[b>>2]=q[a+24>>2];return c|0}d=An(a,b,1)}return d|0}function xN(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=0;a:{if(Yc(b,c,2560)){break a}b=q[b+84>>2];if(p[b+110>>1]>>>0<=d>>>0){break a}a=q[b+112>>2]+(d<<3)|0;q[e>>2]=q[a>>2];q[f>>2]=q[a+4>>2];a=1}return a|0}function lP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[q[a>>2]+12>>2];f=q[a+8>>2];a=q[(e+w(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;Qa(b,q[(w(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function gn(){var a=0,b=0;a=q[160737];if(!a){a=Da-16|0;Da=a;Da=a+16|0;b=q[160953];b=b?b+8|0:634080;a=0;a:{if(!b){break a}a=0;if(!r[b|0]){break a}b=hn(b);a=0;if(!b){break a}a=q[b+4>>2]}b=q[160737];q[160737]=b?b:a}return a}function WN(a,b,c){var d=0,e=0;if(b){while(1){e=c;d=q[a>>2];if(d>>>0<=1114111){d=r[(s[(d>>>7&33554430)+383744>>1]+(d&255)|0)+356608|0]}else{d=0}q[e>>2]=q[(d<<2)+356512>>2];a=a+4|0;c=c+4|0;b=b+ -1|0;if(b){continue}break}}}function Tg(a){var b=0,c=0;a:{if(!r[a|0]){break a}b=Mg(a);if(!b){break a}b:{if(!Re(b,0)){if(ik(a,493)){break b}c=!Xh(a);break b}if((Re(b,0)|0)!=-1){break b}if(!Tg(b)){break b}if(ik(a,493)){break b}c=!Xh(a)}La(b)}return c}function Px(a){var b=0,c=0,d=0,e=0;c=q[a+76>>2];if(c){d=q[a+96>>2];e=q[a+88>>2];a=0;while(1){b=w(a,20);if(q[b+e>>2]==65535){b=b+d|0;q[b>>2]=0;q[b+4>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0}a=a+1|0;if((c|0)!=(a|0)){continue}break}}}function yN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[e+28>>2]=c;c=0;a=ed(q[e>>2],e+8|0,0);if(a){b=q[a>>2];if((b|0)>=0){q[d>>2]=q[a+8>>2];c=q[a+12>>2];q[d+8>>2]=b;q[d+4>>2]=c;q[d+12>>2]=0-q[a+4>>2];c=1}Cb(a)}return c|0}function Yx(a){var b=0,c=0,d=0,e=0;c=75;a:{while(1){b=c+d>>>1|0;e=q[(b<<4)+227200>>2];b:{if(e>>>0>a>>>0){c=b+ -1|0;break b}if(e>>>0>=a>>>0){break a}d=b+1|0}if((d|0)<=(c|0)){continue}break}return 0}return(b<<4)+227200|0}function Rb(a){var b=0,c=0;b=q[126998];b;c=a;a=Wa(a);a:{if((((Lc(c,1,a,b)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(r[b+75|0]==10){break b}a=q[b+20>>2];if(a>>>0>=t[b+16>>2]){break b}q[b+20>>2]=a+1;o[a|0]=10;break a}Mj(b,10)}}function OX(a,b,c){a=a|0;b=b|0;c=c|0;a=r[b+164|0];if(!(a&64)){o[b+164|0]=a|64;a=q[b+76>>2];if(a){c=q[b+88>>2];b=0;while(1){Du(w(b,20)+c|0);b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}I(241938,241790,150,241925);F()}function YR(a){var b=0,c=0;b=q[a+104>>2];a:{if(!q[b+20>>2]){c=fn(q[b>>2],q[b+4>>2],1,a,0);b=WS(c,q[a+4>>2]);Pa(c);break a}b=XS(a)}c=q[a+4>>2];if(q[b+4>>2]){q[b+24>>2]=c}a=s[a+68>>1];if(q[b+4>>2]){q[b+28>>2]=a}return b}function Ge(a,b){var c=0;a:{if(r[a+70|0]|!q[a+4>>2]){break a}q[a+80>>2]=0;o[a+69|0]=256;o[a+70|0]=1;q[a+92>>2]=q[a+88>>2];c=w(q[a+76>>2],20);if(!c){break a}Na(q[a+96>>2],0,c)}if(b){q[b>>2]=q[a+76>>2]}return q[a+96>>2]}function $N(a){var b=0,c=0,d=0;b=q[a+12>>2];if(q[a+16>>2]>=1){while(1){d=b;b=w(c,12);La(q[d+b>>2]);La(q[(q[a+12>>2]+b|0)+4>>2]);b=q[a+12>>2];c=c+1|0;if((c|0)>2]){continue}break}}La(b);q[a+12>>2]=0;q[a+16>>2]=0}function mp(a,b,c,d){a:{if(!a){break a}b=b+2|0;if(b>>>0>5){break a}b:{switch(b-1|0){default:o[a|0]=c;return;case 0:p[a>>1]=c;return;case 1:case 2:q[a>>2]=c;return;case 3:break a;case 4:break b}}q[a>>2]=c;q[a+4>>2]=d}}function dg(a,b,c){var d=0,e=0,f=0;if(!a){return 35}e=6;a:{if(!c){break a}q[c>>2]=0;d=q[a+96>>2];f=q[q[d>>2]+32>>2];if(!f){break a}d=n[f](d,442656)|0;if(!d){break a}d=q[d+4>>2];if(!d){break a}e=n[d](a,b,c)|0}return e}function bC(a){a=a|0;var b=0;b=q[q[a+156>>2]>>2];q[a+184>>2]=0;q[a+188>>2]=0;q[a+192>>2]=0;q[a+160>>2]=0;q[a+164>>2]=0;q[a+168>>2]=0;q[a+172>>2]=0;q[a+176>>2]=0;q[a+180>>2]=0;q[a+188>>2]=b;o[a+192|0]=0;Xe(b);return 0}function JH(a){a=a|0;var b=0,c=0;b=Da-16|0;Da=b;a:{if(pd(a,505204,0,b+12|0)){break a}c=1;a=q[b+12>>2];if(!Ta(a,505215)){break a}if(!Ta(a,505222)){break a}if(!Ta(a,505230)){break a}c=!Ta(a,505241)}Da=b+16|0;return c|0}function ZO(a,b){a=a|0;b=b|0;var c=0,d=0;q[b+72>>2]=1869968492;d=q[a+36>>2];q[b+124>>2]=d;c=q[a+24>>2];q[b+108>>2]=q[a+20>>2];q[b+112>>2]=c;c=q[a+32>>2];q[b+116>>2]=q[a+28>>2];q[b+120>>2]=c;q[b+124>>2]=d&-2;return 0}function VC(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=q[a+12>>2];a:{if((c|0)==9572|(c|0)==9612){break a}d=0;c=ld(bc(q[q[q[a>>2]+96>>2]+4>>2],9848),10068,0);if(!c){break a}c=q[c>>2];if(!c){break a}d=n[c](a,b)|0}return d|0}function Ts(a,b){a=a|0;b=b|0;var c=0;c=q[b+4>>2];q[a+4>>2]=q[b>>2];q[a+8>>2]=c;q[a+28>>2]=q[b+24>>2];c=q[b+20>>2];q[a+20>>2]=q[b+16>>2];q[a+24>>2]=c;c=q[b+12>>2];q[a+12>>2]=q[b+8>>2];q[a+16>>2]=c;Ss(a,b,0);Ss(a,b,1)}function IL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|!b)){f=q[b+8>>2];g=q[b+12>>2];d=q[a>>2];c=c<<16;h=bb(d,q[b>>2],c);e=q[a+4>>2];i=a,j=h+bb(e,q[b+4>>2],c)|0,q[i>>2]=j;i=a,j=bb(d,f,c)+bb(e,g,c)|0,q[i+4>>2]=j}}function oy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Da-16|0;Da=d;e=q[a+16>>2];a:{if((e|0)>=1){while(1){if(!ph(a,c,d+12|0)){if(!Ta(b,q[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Da=d+16|0;return c|0}function RO(a,b,c,d){var e=0,f=0,g=0;a=q[((b<<2)+a|0)- -64>>2];b=wd(a,2);a:{if(b){e=b+76|0;b=p[b+78>>1];break a}e=a+70|0;b=0-p[a+72>>1]|0}a=q[q[a+88>>2]+20>>2];f=c,g=Ma(p[e>>1],a),q[f>>2]=g;f=d,g=Ma(b,a),q[f>>2]=g}function xF(a,b){a=a|0;b=b|0;var c=0,d=0;d=zd(5072,b);a:{if(d){break a}d=0;if(!a){break a}c=q[a+4>>2];if(!c){break a}c=bc(c,5128);if(!c){break a}c=q[q[c>>2]+20>>2];if(!c){break a}d=n[q[c+16>>2]](a,b)|0}return d|0}function NE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!r[a+616|0]|(!r[a+615|0]|q[q[q[a>>2]+96>>2]+64>>2]!=40))){if(r[a+617|0]){break a}}a=q[b+16>>2]+(c<<3)|0;q[a+4>>2]=q[a+4>>2]+d}a=q[b+24>>2]+c|0;o[a|0]=r[a|0]|16}function Hc(a){var b=0,c=0,d=0;a:{b:{c=q[a+72>>2];if(!c){break b}d=q[c+4>>2];if((d|0)==(c+4088|0)){break b}b=c;break a}b=Sa(4088);if(!b){return 0}q[b>>2]=c;d=b+8|0;q[b+4>>2]=d;q[a+72>>2]=b}q[b+4>>2]=d+16;return d}function _D(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=q[a+8>>2];c=q[a>>2];a:{if((c|0)>=1){e=q[a+16>>2];a=0;while(1){d=q[w(a,144)+e>>2];if(d){if(!Ta(d,b)){break a}}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function nk(a){var b=0;a:{if(!a){break a}b=q[a>>2];q[a>>2]=b+ -1;if((b|0)!=1){break a}b=q[a+4>>2];if(b){La(b)}b=q[a+8>>2];if(b){La(b)}b=q[a+12>>2];if(b){La(b)}Od(q[a+20>>2]);Od(q[a+24>>2]);Od(q[a+28>>2]);La(a)}}function ak(a){var b=0;if(a){if(q[a+76>>2]<=-1){return $j(a)}return $j(a)}if(q[160688]){b=ak(q[160688])}a=q[161227];if(a){while(1){if(t[a+20>>2]>t[a+28>>2]){b=$j(a)|b}a=q[a+56>>2];if(a){continue}break}}return b}function Gh(a,b,c,d){var e=0,f=0;f=q[a+4>>2];if(f>>>0>b>>>0){e=q[a+20>>2];a:{if(e){c=n[e](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Qa(e,q[a>>2]+b|0,c)}q[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Er(a){var b=0,c=0,d=0;b=q[a+4>>2];if((b|0)>=1){while(1){c=q[(q[a>>2]+w(d,336)|0)+332>>2];if(c){while(1){b=q[c+332>>2];La(c);c=b;if(c){continue}break}b=q[a+4>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}}function sI(a){var b=0,c=0,d=0;while(1){d=q[a>>2];b=q[a+4>>2]+ -1|0;if(b>>>0<=1){a:{if(b-1){b=q[a+8>>2];tb(q[b+16>>2]);break a}b=q[a+8>>2];c=q[b+8>>2];if(!c){break a}tb(c)}La(b)}La(a);a=d;if(a){continue}break}}function fK(a,b){a=a|0;b=b|0;var c=0,d=0;if(r[b+1|0]){return b|0}a=a+72|0;while(1){c=r[a+r[b|0]|0];if(c>>>0>21){return b|0}if(!(1<>>0>21){return b|0}if(!(1<>2]+136|0;f=q[Ac(g)>>2];f=f?f:271312;q[e+8>>2]=t[f+16>>2]<10?271312:q[f+12>>2];h=e,i=q[Ac(g)+8>>2],q[h+12>>2]=i;v$(a,e+8|0,b,c,d);Da=e+16|0}function s$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Da-16|0;Da=e;g=q[c+16>>2]+140|0;f=q[Rc(g)>>2];f=f?f:271312;q[e+8>>2]=t[f+16>>2]<10?271312:q[f+12>>2];h=e,i=q[Rc(g)+8>>2],q[h+12>>2]=i;r$(a,e+8|0,b,c,d);Da=e+16|0}function oE(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;o[c+7|0]=0;b=Ch(a,b,c+8|0,c+7|0);a:{if(b){break a}a=q[q[q[a+4>>2]+128>>2]+52>>2];if(!a){break a}n[q[q[a>>2]+4>>2]](q[a+4>>2],c+8|0)}Da=c+16|0;return b|0} +function MW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!tg(a,1751216995,c)){break a}if(!tg(a,1751413603,c+4|0)){break a}b=tg(a,1751934832,c+8|0)}return b|0}function LW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!tg(a,1986098019,c)){break a}if(!tg(a,1986294627,c+4|0)){break a}b=tg(a,1986815856,c+8|0)}return b|0}function Ap(a){var b=0;a:{if(q[a+76>>2]<=-1){a=Bp(a);b=Ea;break a}a=Bp(a);b=Ea}if((b|0)>0?1:(b|0)>=0?a>>>0<2147483648?0:1:0){q[160942]=61;return-1}return a}function iy(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?p[(r[(r[(b>>>9|0)+179834|0]>>>(b>>>6&4)<<6&960|b>>>2&63)+179962|0]<<3|(b&3)<<1)+218240>>1]:0)+b|0}function gR(a){a=a|0;var b=0;if(a){q[a+412>>2]=0;q[a+4>>2]=0;q[a+1960>>2]=0;q[a+1444>>2]=0;q[a+928>>2]=0;q[a+208>>2]=0;b=q[a>>2];if(a){n[q[b+8>>2]](b,a)}}}function Ej(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=r[b|0];if(!d){break a}o[a|0]=d;a=a+1|0;b=b+1|0;c=c+ -1|0;if(c>>>0>1){continue}break}}o[a|0]=0}function je(a){var b=0,c=0;b=q[a+8>>2];if(q[a>>2]>=1){while(1){ie(q[(c<<2)+b>>2]);b=q[a+8>>2];c=c+1|0;if((c|0)>2]){continue}break}}if(b){La(b)}La(a)}function hP(a){var b=0;b=Da-16|0;Da=b;if(!(!a|q[a+72>>2]!=1869968492)){q[b>>2]=65536;q[b+4>>2]=13930;q[b+8>>2]=0;q[b+12>>2]=65536;ce(a+108|0,b)}Da=b+16|0}function Rk(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;Dc(a,b,d,1);Da=d+16|0}function Lc(a,b,c,d){var e=0,f=0;e=w(b,c);f=e;a:{if(q[d+76>>2]<=-1){a=Lj(a,e,d);break a}a=Lj(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function KF(a,b,c){var d=0;d=q[a+8>>2];if(d){hf(d);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0;b=dS(q[a>>2],b,c);q[a+8>>2]=b;if(!b){Rb(1278);Q(4);F()}Jh(a)}function xq(a,b,c){a=a|0;b=b|0;c=c|0;c=ji(c);if((c|0)==-1){return 0}q[a+72>>2]=b;q[a+48>>2]=842;q[a+4>>2]=843;q[a>>2]=844;o[a+69|0]=c;q[b>>2]=a;return 1}function ob(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+1>>>0>2]){a=r[b|0]|r[b+1|0]<<8;d=(a<<24|a<<8&16711680)>>>16|0;b=b+2|0}q[c+32>>2]=b;return d}function _k(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2];c=q[a+12>>2];d=q[a>>2];e=q[a+4>>2];a=Sa(16);if(a){q[a+8>>2]=b;q[a+12>>2]=c;q[a>>2]=d;q[a+4>>2]=e}return a}function Xa(a,b){var c=0,d=0;d=q[a+20>>2];a:{b:{if(d){c=85;if(!n[d](a,b,0,0)){break b}break a}c=85;if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function VK(a,b,c){a=a|0;b=b|0;c=c|0;c=ji(c);if((c|0)==-1){return 0}q[a+72>>2]=b;q[a+48>>2]=842;q[a+4>>2]=846;q[a>>2]=847;o[a+69|0]=c;q[b>>2]=a;return 1}function rO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355252;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function qO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355336;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function pO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355364;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function oO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355280;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function nO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355308;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function hy(a,b,c){a=a|0;b=b|0;c=c|0;return q[((b>>>0<=917999?r[(b&15|s[(b>>>3&62|r[(b>>>9|0)+180922|0]<<6)+201920>>1]<<4)+182716|0]:2)<<2)+218640>>2]}function Mp(a,b,c){var d=0;d=q[a+12>>2];if(d){La(d)}d=q[a+8>>2];if(d){La(d)}d=a;if(b){b=eb(b)}else{b=0}q[d+12>>2]=b;if(c){b=eb(c)}else{b=0}q[a+8>>2]=b}function Gr(){var a=0;a=Sa(36);if(a){p[a+20>>1]=255;q[a+28>>2]=0;q[a+32>>2]=0;q[a+16>>2]=128;q[a+8>>2]=-1;q[a+12>>2]=-1;q[a+4>>2]=a;q[a>>2]=a}return a}function Co(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+540>>2];q[d>>2]=0;q[d+4>>2]=0;if(e){f=d,g=n[q[e+84>>2]](a,b,c)|0,q[f>>2]=g}return 0}function ct(a,b){var c=0;if(!(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]))){c=q[a+16>>2]==q[b+16>>2]}return c}function af(a,b,c){var d=0;d=Da-16|0;Da=d;a:{if(b&64){q[d+12>>2]=c+4;q[d>>2]=q[c>>2];a=Hg(a,b|557056,d);break a}a=Hg(a,b|557056,0)}Da=d+16|0;return a}function wK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+1|0];c=1<<(a&31);d=a>>>5&1;a=r[b|0];return c&q[((d|(r[(a>>>2&7)+492784|0]<<3|a<<1&6))<<2)+490512>>2]}function us(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Da-16|0;Da=c;q[b>>2]=0;d=gb(a,4,c+12|0);e=q[c+12>>2];if(!e){q[d>>2]=a;q[b>>2]=d}Da=c+16|0;return e|0}function uK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+1|0];c=1<<(a&31);d=a>>>5&1;a=r[b|0];return c&q[((d|(r[(a>>>2&7)+492528|0]<<3|a<<1&6))<<2)+490512>>2]}function dP(a,b){a=a|0;b=b|0;var c=0;c=q[a+20>>2]<<6;q[b>>2]=c;q[b+8>>2]=c+(q[a+32>>2]<<6);c=q[a+24>>2]<<6;q[b+12>>2]=c;q[b+4>>2]=c-(q[a+28>>2]<<6)}function ZL(a,b){var c=0;c=Da-16|0;Da=c;a=ye(a,qd(505279),0,c);a:{if(a){break a}a=2;if(q[c>>2]!=4){break a}q[b>>2]=q[c+8>>2];a=0}Da=c+16|0;return a}function Pi(a,b,c){a=a|0;b=b|0;c=c|0;a=q[c+76>>2];if(a){b=q[c+88>>2];c=0;while(1){o[(w(c,20)+b|0)+15|0]=0;c=c+1|0;if((c|0)!=(a|0)){continue}break}}}function pd(a,b,c,d){var e=0;e=Da-16|0;Da=e;a=ye(a,qd(b),c,e);a:{if(a){break a}a=2;if(q[e>>2]!=3){break a}q[d>>2]=q[e+8>>2];a=0}Da=e+16|0;return a}function iT(a,b){a=a|0;b=b|0;a=s[a+16>>1];a=1<<(a&31)&7168?a>>>8|0:0;b=s[b+16>>1];b=1<<(b&31)&7168?b>>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function xb(a){var b=0;b=a;a=ht(a+52|0);a=t[a+16>>2]<54?271312:q[a+12>>2];a=r[a+18|0]<<8|r[a+19|0];a=a+ -16>>>0<16369?a:1e3;q[b+28>>2]=a;return a}function hF(a){a=a|0;hf(q[a+8>>2]);vl(q[a+4>>2]);wl(q[a>>2]);La(q[a+24>>2]);q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;La(q[a+424>>2]);q[a+424>>2]=0}function hB(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];Jd(c,b);q[a+24>>2]=q[c+204>>2]<<6;q[a+28>>2]=0-(q[c+208>>2]<<6);q[a+36>>2]=p[c+236>>1]<<6;return 0}function fs(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=q[a+12>>2];if((p[a+22>>1]+b|0)+p[a+58>>1]>>>0<=t[a+4>>2]){break a}c=Xb(a,b,0)}return c|0}function Kk(a){var b=0,c=0;a:{if(!q[a+20>>2]){break a}b=q[a>>2];if(!b){break a}c=q[a+28>>2];n[q[c+8>>2]](c,b);q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}function Jo(a,b){var c=0,d=0;if(!(!a|!b)){c=q[a>>2];if(c){while(1){d=q[c+4>>2];n[q[b+8>>2]](b,c);c=d;if(c){continue}break}}q[a>>2]=0;q[a+4>>2]=0}}function CM(a,b){var c=0;a=Cd(a,b);if(!a){return 0}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;return a}function SX(a){a=a|0;var b=0;b=a+24|0;$a(b,1668049255,1,1);a=q[160736];if(!a){kn();a=q[160736]}if(a&4){$a(b,1801810542,1,0)}$a(b,1818847073,1,0)}function Nk(a,b,c){var d=0;d=Da-16|0;Da=d;b=ye(a,qd(b),0,d);a:{if(b){break a}b=2;if(q[d>>2]!=6){break a}q[c>>2]=q[d+8>>2];b=0}Da=d+16|0;return b}function YG(a){var b=0,c=0;b=Da-16|0;Da=b;c=-1;a:{if(vp(a)){break a}if((n[q[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=r[b+15|0]}Da=b+16|0;return c}function ke(a){var b=0;a:{if(a){if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return}I(355429,355403,444,355459);F()}function kK(a){a=a|0;var b=0,c=0;a=q[a>>2];b=r[a|0];if(b){while(1){c=w(c,31)+(b<<24>>24)|0;b=r[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function jT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=q[a+12>>2];q[d>>2]=0;if(!(!b|!c)){e=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return e|0}function hS(a){return a>>>0<=131068?r[((a&56|r[(r[(a>>>11|0)+272048|0]>>>(a>>>8&4)<<4&240|a>>>6&15)+272112|0]<<6)>>>3|0)+272240|0]>>>(a&7)&1:0}function QG(a,b,c,d,e){var f=0;f=Da-32|0;Da=f;if(b){q[f+16>>2]=0;q[f+8>>2]=c;q[f+4>>2]=b;q[f>>2]=1;a=Sh(a,f,d,e,1)}else{a=6}Da=f+32|0;return a}function FR(a){var b=0;b=ab(1,96);if(b){q[b+60>>2]=1;q[b+84>>2]=a;a=ab(1,32);q[b+88>>2]=a;if(!a){La(b);return 0}q[a+28>>2]=1}else{b=0}return b}function Bz(a){a=a|0;var b=0,c=0;q[a+28>>2]=0;b=q[a+36>>2];a:{if(!b){break a}c=q[a+32>>2];if(!c){break a}if(c){n[q[b+8>>2]](b,c)}q[a+32>>2]=0}}function Bd(a,b,c,d){var e=0;e=Da-16|0;Da=e;a=ye(a,b,c,e);a:{if(a){break a}a=2;if(q[e>>2]!=3){break a}q[d>>2]=q[e+8>>2];a=0}Da=e+16|0;return a}function wM(a,b){var c=0,d=0;c=Da-16|0;Da=c;q[c+12>>2]=0;b=Se(b);if(b){if(!tM(b,a,c+12|0)){q[c+12>>2]=0}cc(b);d=q[c+12>>2]}Da=c+16|0;return d}function tI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;b=We(a,1,q[a+144>>2],b,c,d,!r[a+480|0]);a:{if(!b){if(!$p(a)){break a}}e=b}return e|0}function jL(a){var b=0;b=Da-96|0;Da=b;a=xa(a|0,b+8|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}Da=b+96|0;return!a&(q[b+20>>2]&61440)==40960}function iH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=q[a+20>>2];d=q[a+16>>2]-e|0;d=d>>>0>c>>>0?c:d;Qa(e,b,d);q[a+20>>2]=d+q[a+20>>2];return c|0}function Qj(a,b){a:{if(!a){break a}a=q[a>>2];if(!a){break a}while(1){if(q[a+8>>2]==(b|0)){return a}a=q[a+4>>2];if(a){continue}break}}return 0}function LO(a,b){a=a|0;b=b|0;var c=0;if(!(Ta(q[a>>2],q[b>>2])|q[a+4>>2]!=q[b+4>>2]|q[a+8>>2]!=q[b+8>>2])){c=q[a+12>>2]==q[b+12>>2]}return c|0}function Fi(a){var b=0;while(1){b=r[a|0];if(!((b|0)!=9?(b|0)!=32:0)){a=a+1|0;continue}break}if(!Ce(a,3440,3)){return 1}return(Sb(a,0,10)|0)>0}function vO(a,b){a=a|0;b=b|0;var c=0;if(!(q[a>>2]!=q[b>>2]|v[a+8>>3]!=v[b+8>>3]|q[a+16>>2]!=q[b+16>>2])){c=q[a+20>>2]==q[b+20>>2]}return c|0}function rG(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function RG(a,b){var c=0;c=Da-144|0;Da=c;c=Na(c,0,144);q[c+76>>2]=-1;q[c+44>>2]=a;q[c+32>>2]=1008;q[c+84>>2]=a;a=UG(c,b);Da=c+144|0;return a}function YL(a,b){var c=0;c=Da-16|0;Da=c;a=ye(a,10,0,c);a:{if(a){break a}a=2;if(q[c>>2]!=9){break a}q[b>>2]=q[c+8>>2];a=0}Da=c+16|0;return a}function MR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=Da-16|0;Da=e;a=Xo(q[b+4>>2],c,d,!q[a+48>>2],e+8|0);Da=e+16|0;return(a?0:q[e+8>>2])|0}function iR(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+4>>2];a:{if(c){break a}d=q[a>>2];c=vs(a+16|0,b,d);if(c){break a}c=vs(a+52|0,b,d)}return c|0}function Ve(a,b){var c=0,d=0,e=0;c=a+4|0;d=c;while(1){e=d;d=c;c=q[c>>2];if(c){continue}break}q[b>>2]=a;q[b+4>>2]=q[d>>2];q[b+8>>2]=q[e>>2]}function Ub(a,b){var c=0,d=0;a:{if(!a){break a}c=q[a+92>>2];if(!c){break a}b=n[q[q[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d}function NG(){var a=0,b=0;b=Gg(q[160942]);a=q[126999];a;if(r[441620]){Lc(441620,Wa(441620),1,a);te(58,a);te(32,a)}Lc(b,Wa(b),1,a);te(10,a)}function qs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if(q[b+72>>2]==q[a+16>>2]){Te(b+108|0,c)}}function gb(a,b,c){if((b|0)<=0){q[c>>2]=b?6:0;return 0}a=n[q[a+4>>2]](a,b)|0;if(!a){q[c>>2]=!a<<6;return 0}a=Na(a,0,b);q[c>>2]=0;return a}function bH(a,b,c,d){if(a|b){while(1){c=c+ -1|0;o[c|0]=r[(a&15)+507936|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function Ir(a,b,c){q[a+752>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}q[a+760>>2]=b;q[a+756>>2]=c}function $G(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=q[b>>2]+15&-16;q[c>>2]=b+16;d=a,e=Tf(q[b>>2],q[b+4>>2],q[b+8>>2],q[b+12>>2]),v[d>>3]=e}function GK(a,b){a=a|0;b=b|0;var c=0;a=a+72|0;while(1){c=r[a+r[b|0]|0];if(!(c>>>0>21|!(1<>2]==-1){break a}a=gg(a,b);if(!a){break a}c=1;a=a+(b>>>3&28)|0;q[a>>2]=q[a>>2]|1<<(b&31)}return c}function yI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=We(a,0,q[a+144>>2],b,c,d,!r[a+480|0]);a:{if(b){break a}if($p(a)){break a}b=1}return b|0}function jy(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=1114109?r[(b&15|s[(b>>>3&62|r[(b>>>9|0)+163792|0]<<6)+195904>>1]<<4)+165968|0]:2)|0}function bs(a){var b=0;b=a>>31;b=(a|0)==-2147483648?2:b+a^b;a=((b+ -1|0)%3|0)+1|0;if((b|0)>=4){if((b|0)<=6){return a|8}a=a|4}return a}function XF(a,b,c,d){var e=0,f=0;if(a){e=q[a+12>>2];f=q[a+8>>2];a=q[a+4>>2]}else{a=0}if(b){q[b>>2]=a}if(c){q[c>>2]=f}if(d){q[d>>2]=e}}function MP(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+16>>2];if(!(c>>>0>b>>>0|q[a+20>>2]+c>>>0<=b>>>0)){d=s[q[a+24>>2]+(b<<1)>>1]}return d|0}function KP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[q[b+488>>2]+4>>2];if(!c){return 7}return n[c](q[b+100>>2],a,q[b+420>>2],683,0,b)|0}function yM(a){var b=0,c=0;a:{while(1){c=w(b,12)+44e4|0;if(!dd(a,q[c>>2])){break a}b=b+1|0;if((b|0)!=57){continue}break}c=0}return c}function rz(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[q[b+544>>2]+4>>2];if(!c){return 7}return n[c](q[b+100>>2],a,q[b+16>>2],310,0,b)|0}function ky(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?r[(b&15|r[(b>>>4&15|r[(b>>>8|0)+176336|0]<<4)+176826|0]<<4)+177818|0]:0)|0}function EN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+28>>2]=c;c=0;a=ed(q[d>>2],d+8|0,0);if(a){c=q[a>>2]>=0?q[a+16>>2]:c;Cb(a)}return c|0}function DN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+28>>2]=c;c=0;a=ed(q[d>>2],d+8|0,0);if(a){c=q[a>>2]>=0?q[a+28>>2]:c;Cb(a)}return c|0}function qC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){q[b>>2]=q[a+152>>2]}if(c){q[c>>2]=q[a+156>>2]}if(d){q[d>>2]=q[a+160>>2]}return 0}function py(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;a=ph(a,b,e+12|0);if(!a){Ej(c,q[e+12>>2],d)}Da=e+16|0;return a|0}function mL(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;c=b,d=Qc(q[a>>2]),q[c>>2]=d;Ua(489842,b);Ck(q[a+4>>2]);Gb(32);fe(q[a+8>>2]);Da=b+16|0}function cA(a,b){a=a|0;b=b|0;var c=0;q[a+16>>2]=b;c=r[b+7|0];b=r[b+6|0];q[a+24>>2]=-1;q[a+28>>2]=0;q[a+32>>2]=(b<<8|c)>>>1;return 0}function UN(){var a=0;a=Sa(36);if(a){p[a+20>>1]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}return a}function Jb(a,b){var c=0;a:{b:{if(!b){break b}c=q[a+12>>2];if(!c){break b}a=n[c](a,b,q[a+16>>2])|0;if(a){break a}}a=271312}return a}function HC(a){a=a|0;var b=0,c=0;b=q[a+32>>2];if(b){c=q[q[a+16>>2]>>2];if(r[c|0]==30){sc(a,c,0,0)}q[b+184>>2]=513;return 0}return 3}function Qb(a){var b=0,c=0;c=q[a+4>>2];b=q[a>>2];if((c|0)>2]){b=q[b+12>>2];q[a+4>>2]=c+1;a=q[(c<<2)+b>>2]}else{a=0}return a}function OP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+376>>2];q[a+16>>2]=c;q[a+20>>2]=q[b+380>>2]-c;q[a+24>>2]=q[b+384>>2];return 0}function Mg(a){var b=0,c=0;b=ue(a,47);if(!b){return eb(486402)}b=b-a|0;c=Sa(b+1|0);if(!c){return 0}a=Md(c,a,b);o[a+b|0]=0;return a}function FS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(Tl(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=Tl(a,b+61440|0,c)}return d|0}function aN(a){var b=0;b=4;if((a|0)<4){return a}a:{if((a|0)<8){break a}b=5;if((a|0)<124){break a}a=128-a|0;b=(a|0)>0?a:0}return b}function XK(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return vq(845,a,b,c,d,e,f,g,h,i,j)|0}function Th(a,b,c,d){var e=0;e=Da-32|0;Da=e;if(b){q[e+16>>2]=0;q[e+12>>2]=b;q[e>>2]=4;a=Sh(a,e,c,d,1)}else{a=6}Da=e+32|0;return a}function SK(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return vq(848,a,b,c,d,e,f,g,h,i,j)|0}function FM(a){var b=0;b=q[160909];if(b){while(1){if(q[b+12>>2]==(a|0)){return q[b+4>>2]}b=q[b>>2];if(b){continue}break}}return 0}function SO(a){var b=0;b=wd(a,2);a:{if(!(!b|s[b>>1]==65535)){b=s[b+4>>1];if(b){break a}}b=w(q[a+12>>2]>>>1&1,300)+400|0}return b}function Ko(a,b){var c=0,d=0;if(!(!a|!b)){a=q[a>>2];while(1){if(!a){return}c=q[a+4>>2];d=n[b](a,0)|0;a=c;if(!d){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;if(nW(uu(b+24|0),c,d,e)){a=1}else{a=mW(om(b+52|0),c,d,e)}return a|0}function rH(a,b){var c=0;c=a&-16384;a=la(c|0,((a+b|0)+16383&-16384)-c|0,3)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function kT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;return(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0|0}function cp(a){var b=0,c=0;a=a?a:1;while(1){a:{b=Sa(a);if(b){break a}c=q[161263];if(!c){break a}n[c]();continue}break}return b}function ME(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((c-b|0)+32&-64)|0;return a>>31&a}function LE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64|32;return((a|0)<0?-32:0-a|0)|0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((c-b|0)+63&-64)|0;return a>>31&a}function EE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((c-b|0)+16&-32)|0;return a>>31&a}function or(a){var b=0;b=q[160909];if(b){while(1){if(q[b+12>>2]==(a|0)){return b+4|0}b=q[b>>2];if(b){continue}break}}return 0}function jn(a){var b=0,c=0;b=Da+ -64|0;Da=b;a:{if(!a|!r[a|0]){break a}a=hn(a);if(!a){break a}c=q[a+4>>2]}Da=b- -64|0;return c}function hR(a){a=a|0;q[a+12>>2]=1;q[a+16>>2]=0;q[a+4>>2]=0;q[a+76>>2]=0;q[a- -64>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0}function bR(a){a=a|0;q[a+12>>2]=2;q[a+16>>2]=0;q[a+4>>2]=0;q[a+76>>2]=0;q[a- -64>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0}function jb(a){var b=0,c=0;if(q[a+20>>2]){b=q[a>>2];if(b){c=q[a+28>>2];n[q[c+8>>2]](c,b)}q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}function NL(a){a:{if(!Td(a,442673)){break a}if(!Td(a,442680)){break a}if(!Td(a,442687)){break a}return!Td(a,442694)}return 1}function KN(a){ng(q[a+44>>2]);La(q[a+36>>2]);La(q[a+8>>2]);La(q[a+12>>2]);La(q[a+16>>2]);La(q[a+20>>2]);La(q[a+24>>2]);La(a)}function Be(a){if(a){La(q[a+16>>2]);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}}function aR(a){a=a|0;var b=0;q[a+140>>2]=0;q[a+112>>2]=0;b=q[a+12>>2];xs(a+28|0,b);xs(a- -64|0,b);q[a+12>>2]=0;q[a+16>>2]=0}function aS(a,b,c,d){var e=0;e=Da-112|0;Da=e;xp(e,100,c,d);a=n[q[a+152>>2]](a,b,e,q[a+156>>2])|0;Da=e+112|0;return(a|0)!=0}function zN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Da-16|0;Da=a;b=Xo(b,c,d,0,a+8|0);Da=a+16|0;return(b?0:q[a+8>>2])|0}function xB(a,b){a=a|0;b=b|0;var c=0;b=q[q[a>>2]+132>>2];c=r[b+104|0];q[a+16>>2]=c;q[a+20>>2]=(r[b+105|0]-c|0)+1;return 0}function rf(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+1>>>0>2]){d=r[b|0]|r[b+1|0]<<8;b=b+2|0}q[c+32>>2]=b;return d}function pI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=Da-16|0;Da=c;if(Ta(b,499162)){q[c>>2]=b;_a(a,2,499173,c)}Da=c+16|0}function XL(a){var b=0;if(q[a+12>>2]!=-1){q[a+12>>2]=q[a+12>>2]+1;return}b=q[a+8>>2]+a|0;a=q[b+4>>2];er(a&1?(a&-2)+b|0:a)}function Tr(a){var b=0;b=q[a+28>>2];if(b){Vr(b)}b=q[a+32>>2];if(b){Vr(b)}La(q[a+24>>2]);La(q[a+8>>2]);La(q[a+4>>2]);La(a)}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Fh(a,b,c,1);if(!c){d=a;a=q[a+8>>2];q[d+8>>2]=b?a|32768:a&-32769}return c|0}function yD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Da-16|0;Da=d;q[d+4>>2]=c;q[d>>2]=b;Ua(1074,d);Ir(q[a+4>>2],b,c);Da=d+16|0}function gc(a){a=Y$(a);a:{if(a<-2147483648^1?!(a>2147483647):0){break a}}if(y(a)<2147483648){return~~a}return-2147483648}function cH(a,b,c){if(a|b){while(1){c=c+ -1|0;o[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function Ql(a,b,c,d){var e=0;e=ZS(q[a+16>>2],b+48|0,c,d,q[a+64>>2],q[a+60>>2]);a=_S(e,a,b,c,d);Wl(e);if(a){q[b+44>>2]=2}}function CG(a){var b=0,c=0;b=Da-32|0;Da=b;a=da(a|0,b+8|0)|0;c=1;a:{if(!a){break a}q[160942]=a;c=0}a=c;Da=b+32|0;return a}function wH(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c+ -1|0;d=c+a|0;if((b|0)!=r[d|0]){continue}break}return d}function gm(){var a=0;a=ab(1,216);if(!a){return 641424}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;Qa(a+148|0,641572,68);return a}function eP(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];q[b+20>>2]=q[a+20>>2];q[b+24>>2]=q[a+24>>2];return Ln(c,a+28|0,b+28|0)|0}function Yp(a,b){var c=0,d=0;a:{if(!a){break a}c=q[a+28>>2];d=q[a+24>>2];if(d){n[d](a)}if(b){break a}n[q[c+8>>2]](c,a)}}function PU(a,b){var c=0;if(q[a+4>>2]){c=q[a+100>>2];if(c){n[c](q[a+32>>2])}q[a+100>>2]=0;q[a+168>>2]=798;q[a+32>>2]=b}}function LU(a,b){var c=0;if(q[a+4>>2]){c=q[a+116>>2];if(c){n[c](q[a+48>>2])}q[a+116>>2]=0;q[a+184>>2]=800;q[a+48>>2]=b}}function HU(a,b){var c=0;if(q[a+4>>2]){c=q[a+128>>2];if(c){n[c](q[a+60>>2])}q[a+128>>2]=0;q[a+196>>2]=803;q[a+60>>2]=b}}function CF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Tc(q[a>>2],c,4332);if(!a){return 64}q[d>>2]=a;q[e>>2]=0;return 0}function BF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Tc(q[a>>2],c,4346);if(!a){return 64}q[d>>2]=a;q[e>>2]=0;return 0}function ub(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(227120,227145,269,227160);F()}function kS(a){var b=0;if(q[a+4>>2]){b=q[a+96>>2];if(b){n[b](q[a- -64>>2])}q[a- -64>>2]=0;q[a+32>>2]=424;q[a+96>>2]=0}}function jc(a,b){var c=0;c=xc(q[a>>2],a);c=c+(c>0?.5:-.5);a:{if(y(c)<2147483648){a=~~c;break a}a=-2147483648}q[b>>2]=a}function gt(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(272496,272521,269,272536);F()}function SS(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(271220,271245,269,271260);F()}function qo(a,b){a=a|0;b=b|0;a=q[a+4>>2]|q[a>>2]<<16;b=q[b+4>>2]|q[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function mI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=q[a>>2];if(!d){break a}if(Cq(d+12|0,b,c)){break a}_a(a,2,499215,0)}}function Sj(a,b){var c=0,d=0;c=Da-16|0;Da=c;LG(c,a,b);d=Tf(q[c>>2],q[c+4>>2],q[c+8>>2],q[c+12>>2]);Da=c+16|0;return d}function MU(a){var b=0;if(q[a+4>>2]){b=q[a+112>>2];if(b){n[b](q[a+44>>2])}q[a+112>>2]=0;q[a+180>>2]=477;q[a+44>>2]=0}}function HQ(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];a=q[a+4>>2];ff(b,c>>6,a>>6);q[b+212>>2]=a<<2;q[b+208>>2]=c<<2;return 0}function sK(a,b){a=a|0;b=b|0;a=1;a:{if(r[b|0]<194){break a}b=r[b+1|0];if(!(b&128)){break a}a=(b&192)==192}return a|0}function qK(a,b){a=a|0;b=b|0;a:{a=q[a>>2];b=q[b>>2];if(r[a|0]!=r[b|0]){break a}if(Ta(a,b)){break a}return 1}return 0}function jS(a){var b=0;if(q[a+4>>2]){b=q[a+100>>2];if(b){n[b](q[a+68>>2])}q[a+68>>2]=0;q[a+36>>2]=425;q[a+100>>2]=0}}function iS(a){var b=0;if(q[a+4>>2]){b=q[a+104>>2];if(b){n[b](q[a+72>>2])}q[a+72>>2]=0;q[a+40>>2]=426;q[a+104>>2]=0}}function Gk(a){var b=0;b=Sa(20);if(!b){return 0}q[b+16>>2]=a;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=1;q[b+4>>2]=0;return b}function sH(a,b){a=a|0;b=b|0;a:{b=(b|0)!=0;if((b|0)==r[a+428|0]){break a}o[a+428|0]=b;if(!q[a+8>>2]){break a}Jh(a)}}function pp(a,b,c,d,e,f,g,h,i){q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function od(){var a=0;a=Sa(20);if(!a){return 0}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=1;q[a+12>>2]=0;q[a+16>>2]=0;return a}function nj(a){a=a|0;var b=0,c=0;b=q[q[a>>2]+100>>2];c=q[a+20>>2];if(c){n[q[b+8>>2]](b,c)}q[a+16>>2]=0;q[a+20>>2]=0}function fd(a){var b=0,c=0;b=q[a>>2];while(1){c=r[b|0];if(!((c|0)!=9?(c|0)!=32:0)){b=b+1|0;continue}break}q[a>>2]=b}function Zr(a){var b=0,c=0;b=qN();if(!b){return 7}c=YF(b,a);a:{if(c){La(b);break a}tP(q[a>>2])}sP(q[a>>2]);return c}function TU(a){var b=0;if(q[a+4>>2]){b=q[a+84>>2];if(b){n[b](q[a+16>>2])}q[a+84>>2]=0;q[a+152>>2]=472;q[a+16>>2]=0}}function Qc(a){var b=0;b=a+ -1|0;if(b>>>0<=50){return q[(b<<3)+439584>>2]}b=or(a);if(b){return q[b>>2]}return FM(a)}function Hy(a){a=a|0;var b=0,c=0;b=q[a+868>>2];if(b){c=q[a+100>>2];zb(q[a+104>>2],b+12|0);if(b){n[q[c+8>>2]](c,b)}}}function Gy(a){a=a|0;var b=0,c=0;b=q[a+872>>2];if(b){c=q[a+100>>2];zb(q[a+104>>2],b+16|0);if(b){n[q[c+8>>2]](c,b)}}}function sn(a){a=a|0;var b=0,c=0;b=q[a+28>>2];c=q[a>>2];if(c){n[q[b+8>>2]](b,c)}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0}function nS(a){var b=0;if(q[a+4>>2]){b=q[a+80>>2];if(b){n[b](q[a+48>>2])}q[a+48>>2]=0;q[a+16>>2]=421;q[a+80>>2]=0}}function mS(a){var b=0;if(q[a+4>>2]){b=q[a+88>>2];if(b){n[b](q[a+56>>2])}q[a+56>>2]=0;q[a+24>>2]=422;q[a+88>>2]=0}}function lS(a){var b=0;if(q[a+4>>2]){b=q[a+92>>2];if(b){n[b](q[a+60>>2])}q[a+60>>2]=0;q[a+28>>2]=423;q[a+92>>2]=0}}function jd(a,b,c,d){var e=0;e=Da-16|0;Da=e;if(q[a+152>>2]){q[e+12>>2]=d;a=aS(a,b,c,d)}else{a=1}Da=e+16|0;return a}function fz(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=mb(b,162752,a+160|0)}return c|0}function aP(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Ro(q[a>>2],p[a+22>>1],p[a+20>>1],b);if(!c){Qo(a+20|0,b)}return c|0}function Wy(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=mb(b,163376,a+568|0)}return c|0}function Uy(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=mb(b,162752,a+160|0)}return c|0}function JF(a){a=a|0;var b=0,c=0;b=q[a>>2];if(b){c=q[a+28>>2];n[q[c+8>>2]](c,b)}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0}function $y(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=mb(b,163248,a+476|0)}return c|0}function zb(a,b){var c=0;if(!(!a|!q[a+20>>2])){c=q[b>>2];if(c){a=q[a+28>>2];n[q[a+8>>2]](a,c)}q[b>>2]=0}q[b>>2]=0}function Y$(a){var b=0,c=0;b=C(a);c=a-b;if(!(c<.5)){a=D(a);if(c>.5){return a}c=a;a=b*.5;b=a-C(a)==0?b:c}return b}function KE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=0-(c-b&-64)|0;return a>>31&a}function Ud(){var a=0,b=0;a:{if(!r[643632]){a=nH(U(0)|0);o[643632]=1;break a}a=Cp(643376)}b=lH();Cp(a);return b}function Ic(a){var b=0;b=Sa(8);if(!b){return 0}q[b>>2]=a;if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}q[b+4>>2]=0;return b}function yR(a,b){a=a|0;b=b|0;q[a+24>>2]=q[b+20>>2];q[a+4>>2]=q[b>>2];q[a+28>>2]=q[b+24>>2];Ks(a,b,0);Ks(a,b,1)}function fk(a){var b=0;a=Hg(a,589824,0);if((a|0)>=0){b=ab(1,2080);if(!b){O(a|0)|0;return 0}q[b>>2]=a}return b}function YO(a){var b=0,c=0;if(a){b=q[q[a>>2]>>2];c=q[q[a+4>>2]+12>>2];if(c){n[c](a)}if(a){n[q[b+8>>2]](b,a)}}}function TG(a,b){var c=0;c=Da-16|0;q[c+12>>2]=a;a=((b<<2)-(((b|0)!=0)<<2)|0)+a|0;q[c+8>>2]=a+4;return q[a>>2]}function Sq(a){var b=0;a:{if(!a){break a}a=q[a>>2];if(!a){break a}b=a;a=q[a+4>>2];b=a&1?b+(a&-2)|0:a}return b}function XU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;return 0}function qz(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;q[c+12>>2]=0;ph(a,b,c+12|0);Da=c+16|0;return q[c+12>>2]}function uc(a){if(q[a+4>>2]){La(q[a>>2]);q[a>>2]=a+20;q[a+12>>2]=0;q[a+16>>2]=64;q[a+4>>2]=0;q[a+8>>2]=0}}function tn(a,b){a=a|0;b=b|0;a=q[q[a>>2]+4>>2];b=q[q[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Qh(a,b,c){var d=0;d=b;b=b>>31;a:{if(q[a+76>>2]<=-1){a=Rh(a,d,b,c);break a}a=Rh(a,d,b,c)}return a}function zG(a,b){var c=0;if(!(!a|!b)){c=q[a+4>>2];q[b>>2]=c;q[b+4>>2]=0;q[(c?c+4|0:a)>>2]=b;q[a+4>>2]=b}}function uU(a){a=a|0;var b=0;b=q[a+8>>2]+ -1|0;q[a+8>>2]=b;if(!b){b=q[a+4>>2];if(b){n[b](q[a>>2])}La(a)}}function uH(a,b){var c=0;a=Gg(a);c=Wa(a);if(c>>>0>=1024){Qa(b,a,1023);o[b+1023|0]=0;return}Qa(b,a,c+1|0)}function tO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=4){a=q[126999];Lc(4024,6,1,a);Nh(a,b,c);te(10,a)}}function Pg(){var a=0;a=Sa(16);if(!a){return 0}q[a+12>>2]=1;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0-a;return a}function fH(a){if(q[a+76>>2]>=0){Rh(a,0,0,0);q[a>>2]=q[a>>2]&-33;return}Rh(a,0,0,0);q[a>>2]=q[a>>2]&-33}function KJ(a){a=a|0;a=q[a>>2];return w(w(w(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function IF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;if(!b){return 81}return kd(b,333319,e)|0}function HF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;if(!b){return 81}return kd(b,333312,e)|0}function rU(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 n[q[f+12>>2]](a,b,c,d,e,q[f>>2])|0}function Un(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Da-16|0;Da=d;a=gb(a,w(b,c),d+12|0);Da=d+16|0;return a|0}function Uk(){var a=0;a=Sa(16);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=1;q[a+4>>2]=0;return a}function OA(a,b){a=a|0;b=b|0;b=q[a>>2];q[a+16>>2]=q[q[b+140>>2]+52>>2];q[a+20>>2]=q[b+144>>2];return 0}function N$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(q[160276]>=(a|0)){Ua(1024,0);Nh(q[126998],b,c);Gb(10)}}function Lz(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;a=wn(a,c+12|0,0);Da=c+16|0;return a|0}function IE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c|0;return((a|0)>0?a:0)|0}a=b-c|0;return a>>31&a}function Cp(a){var b=0;b=q[160617]+ -4|0;q[b>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);mH(a);return b}function DL(a,b){var c=0,d=0,e=0;c=Wa(a);e=Wa(b)+1|0;d=Sa(c+e|0);if(d){Qa(Qa(d,a,c)+c|0,b,e)}return d}function zi(a){var b=0;if(a){q[q[a>>2]+4>>2]=0;while(1){b=q[a+4>>2];La(a);a=b;if(a){continue}break}}}function yA(a){if(r[a+560|0]&8){Qa(q[a+96>>2],q[a+100>>2],q[a+52>>2]);p[a+560>>1]=s[a+560>>1]&65527}}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[a+156>>2]=b;q[a+160>>2]=c;q[a+164>>2]=d;q[a+168>>2]=0}function qc(a,b,c){var d=0;V$(c,0,b,0);if(!Ea){b=w(b,c);d=db(a,b?b:1)}q[160942]=d?0:48;return d?d:a}function ly(){var a=0;a=sS();nS(a);mS(a);lS(a);kS(a);jS(a);iS(a);if(q[a+4>>2]){q[a+4>>2]=0}return a}function Xl(a,b){a=q[a+20>>2]+w(b,56)|0;La(q[a+28>>2]);La(q[a+44>>2]);La(q[a+48>>2]);La(q[a+52>>2])}function TC(a,b){a=a|0;b=b|0;a=q[a+712>>2];o[b|0]=0;if(!(!a|q[a+1504>>2]==65535)){o[b|0]=1}return 0}function Fj(a,b,c){if((b|0)>=1){a=n[q[a+4>>2]](a,b)|0;q[c>>2]=!a<<6;return a}q[c>>2]=b?6:0;return 0}function hb(a,b,c,d){var e=0;e=Da-16|0;Da=e;q[e+12>>2]=d;n[q[a+20>>2]](b,c,d,q[a+24>>2]);Da=e+16|0}function aO(a,b){var c=0,d=0;La(q[a+828>>2]);Qa(a+824|0,b,144);c=a,d=eb(q[a+828>>2]),q[c+828>>2]=d}function TO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+12>>2];n[q[a>>2]](q[a+4>>2],c,b,d)|0;return d|0}function sE(a,b,c){a=a|0;b=b|0;c=c|0;if(Ta(b,5487)){a=12}else{q[c>>2]=q[a- -64>>2];a=0}return a|0}function li(a,b){var c=0;b=Pd(b);c=0;a:{if(!b){break a}c=1;if(xf(a,b)){break a}La(b);c=0}return c}function WU(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;q[f>>2]=0;q[e>>2]=0;return 0}function Ad(a,b){var c=0;b=eb(b);c=0;a:{if(!b){break a}c=1;if(xf(a,b)){break a}La(b);c=0}return c}function zq(a){var b=0;b=Da-96|0;Da=b;a=jg(a,b+8|0);Da=b+96|0;return!a&(q[b+20>>2]&61440)==32768}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[q[q[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Fg(a,b){var c=0;c=be(a,0,b);c=c?c-a|0:b;b=Sa(c+1|0);if(b){Qa(b,a,c);o[b+c|0]=0}return b}function Ai(a,b){var c=0;c=+(b|0)+0*+r[a|0];if(c<4294967296&c>=0){o[a|0]=~~c>>>0;return}o[a|0]=0}function $f(a){var b=0;b=Da-96|0;Da=b;a=jg(a,b+8|0);Da=b+96|0;return!a&(q[b+20>>2]&61440)==16384}function my(a,b){a=a|0;b=b|0;var c=0;c=q[q[a+12>>2]+48>>2];if(!c){return 150}return n[c](a,b)|0}function fg(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;q[c+8>>2]=a;a=gM(c+8|0);Da=c+16|0;return a}function UB(a){a=a|0;var b=0;b=bc(q[a+4>>2],17983);if(!b){return 11}q[a+28>>2]=q[b>>2];return 0}function y_(a,b,c){a=a|0;b=b|0;c=c|0;b=r[b+1|0]|r[b|0]<<8;return(yb(b?b+c|0:271312,a)|0)!=-1|0}function tU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[q[e+12>>2]](a,b,c,0,d,q[e>>2])|0}function HH(a){a=a|0;var b=0;b=q[a+8>>2];if(b){Xc(b)}b=q[a+4>>2];if(b){je(b)}cc(q[a>>2]);La(a)}function EG(a,b,c){c=c&3;o[c+a|0]=b>>>24;o[(c^1)+a|0]=b>>>16;o[(c^2)+a|0]=b>>>8;o[(c^3)+a|0]=b}function DF(a){a=a|0;var b=0;b=q[a+8>>2];if(b){hf(b);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0}function ps(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[q[a+12>>2]+56>>2]+12>>2]](q[a+52>>2],b,c)|0}function UQ(a,b,c){a=a|0;b=b|0;c=c|0;c=q[a+104>>2];p[a+144>>1]=0-c;q[a+140>>2]=0-w(p[b>>1],c)}function qN(){var a=0;a=Sa(16);if(a){q[a+12>>2]=5;q[a+4>>2]=6;q[a>>2]=0;q[a+8>>2]=7}return a}function cg(a,b,c){q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+16>>2]=b?c:64;q[a>>2]=b?b:a+20|0}function _T(a){a=a|0;a=a+24|0;$a(a,1818914159,0,1);$a(a,1986686319,0,1);$a(a,1953131887,0,1)}function PB(a){a=a|0;if(Qj(q[q[a>>2]+504>>2]+108|0,q[a+44>>2])){ep(q[a+44>>2]);q[a+44>>2]=0}}function tQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$b(a,q[a+8>>2]);return Xg(a,q[a+8>>2],b,c,d)|0}function mH(a){q[160617]=a+4;a=q[a>>2];q[160616]=a>>>16;q[160961]=a&255;q[160618]=a>>>8&255}function iA(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=0;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function dA(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=2;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function cn(a){a=bn(a+156|0);a=t[a+16>>2]<8?271312:q[a+12>>2];return(r[a|0]<<8|r[a+1|0])!=0}function Zz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=4;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function Vz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=6;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function Fb(a,b){var c=0,d=0,e=0;c=b;b=q[a>>2];d=c,e=xc(b,a),v[d>>3]=e;return(b|0)!=q[a>>2]}function $O(a,b,c){a=a|0;b=b|0;c=c|0;if(b){ce(a+20|0,b)}if(c){oc(a+20|0,q[c>>2],q[c+4>>2])}}function xR(a,b,c){a=a|0;b=b|0;c=c|0;if(b){q[b>>2]=q[a+9768>>2]}if(c){q[c>>2]=q[a+252>>2]}}function uT(a,b){a=a|0;b=b|0;a=r[a+19|0];b=r[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function aQ(a){a=a|0;var b=0,c=0;b=q[a>>2];c=q[a+4>>2];if(c){n[q[b+8>>2]](b,c)}q[a+4>>2]=0}function Qs(a,b,c){a=a|0;b=b|0;c=c|0;if(b){q[b>>2]=q[a+7704>>2]}if(c){q[c>>2]=q[a+252>>2]}}function ZU(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;q[d>>2]=0;return 1}function YU(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;q[d>>2]=0;return 0}function PK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=yq(a,b,c,d);if(a){o[a+130|0]=23}return a|0}function PA(a,b){a=a|0;b=b|0;a=q[a+4>>2];b=q[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Cf(){var a=0;a=Sa(12);if(!a){return 0}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return a}function Bc(a,b,c){b=lb(a,b);if(!b){q[c>>2]=q[a+32>>2];q[a+32>>2]=0;q[a+36>>2]=0}return b}function ek(a,b,c){a=ra(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Uh(a,b,c){a=pa(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function OE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[b+12>>2]+(c<<3)|0;q[a+4>>2]=q[a+4>>2]+d}function FG(a,b){b=b&3;return r[(b^1)+a|0]<<16|r[a+b|0]<<24|r[(b^2)+a|0]<<8|r[(b^3)+a|0]}function oF(a){a=a|0;q[a+304>>2]=-1;q[a+308>>2]=-1;q[a+116>>2]=-1;o[a+112|0]=0;return 0}function _$(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function oo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ej(c,q[q[a+424>>2]+(b<<2)>>2],d);return 0}function iO(a,b){var c=0,d=0;La(q[a>>2]);if(!b){q[a>>2]=0;return}c=a,d=eb(b),q[c>>2]=d}function WO(a,b){a=ed(q[a+736>>2],b,a);a:{if(a){if(q[a>>2]){break a}Cb(a)}a=0}return a}function PV(a,b,c){a=a|0;b=b|0;c=c|0;a=q[b+16>>2]+w(c,144)|0;La(q[a>>2]);La(q[a+4>>2])}function My(a){a=a|0;zb(q[a+104>>2],a+788|0);q[a+800>>2]=0;q[a+792>>2]=0;q[a+796>>2]=0}function gB(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+176>>2];q[c>>2]=q[a+180>>2];return 0}function bG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=IR(b,c,d,e);K(Ea|0);return a|0}function Z$(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function YX(a,b){a=a|0;b=b|0;a=s[a>>1];b=s[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function UA(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+132>>2];q[c>>2]=q[a+136>>2];return 0}function PF(a,b){a=a|0;b=b|0;a=p[a>>1];b=p[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function Mc(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;a=Yj(a,b,c);Da=d+16|0;return a}function FD(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=n[q[b+52>>2]](b,0,0,0)|0,q[c+544>>2]=d}function VU(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){o[d|0]=0}return 0}function RE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[b+12>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d}function xD(a,b){a=a|0;b=b|0;return n[q[q[q[q[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function cG(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 tl(b,c,d,e,f)|0}function zD(a,b){a=a|0;b=b|0;return n[q[q[q[q[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function kP(a){a=a|0;var b=0;b=Da-32|0;Da=b;a=Yr(q[a+4>>2],b);Da=b+32|0;return!a|0}function jH(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;xp(a,4096,354652,b);Da=c+16|0}function ik(a,b){a=za(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function YW(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;ql(b,c,d,e,f)}function Vj(a,b){a=ha(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Re(a,b){a=qa(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Fp(a,b){a=oa(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function kp(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;a=RG(a,b);Da=c+16|0;return a}function gk(a,b){a=W(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function wB(a,b){a=a|0;b=b|0;b=b-q[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function vF(a,b,c){a=a|0;b=b|0;c=c|0;rl(q[a+4>>2],b,c);q[a+12>>2]=b;q[a+16>>2]=c}function Xh(a){a=ya(a|0,493)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Ua(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;Yj(q[126998],a,b);Da=c+16|0}function Ab(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;sp(q[126998],a,b);Da=c+16|0}function eb(a){var b=0,c=0;b=Wa(a)+1|0;c=Sa(b);if(!c){return 0}return Qa(c,a,b)}function LN(a){var b=0;b=Da-16|0;Da=b;q[b>>2]=226850;hb(a,4,436656,b);Da=b+16|0}function $t(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;return 0}function tC(a){a=a|0;a=q[a+140>>2];if(a){return(r[a|0]==47?a+1|0:a)|0}return 0}function Qg(a){if(a){if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1;return a}er(a)}return a}function KQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,(c|0)==1?0:c,d,0)|0}function C_(a,b,c){a=a|0;b=b|0;c=c|0;return(td(c,a)|0)==(r[b+1|0]|r[b|0]<<8)|0}function dF(a,b,c){a=a|0;b=b|0;c=c|0;a=q[a+388>>2]+(b<<2)|0;q[a>>2]=q[a>>2]+c}function ve(a){a=ma(a|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function lD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+12>>2]](a,b,c)|0}function iD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+20>>2]](a,b,c)|0}function hD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+24>>2]](a,b,c)|0}function fD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+32>>2]](a,b,c)|0}function eD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+36>>2]](a,b,c)|0}function RQ(a){a=a|0;n[q[q[q[a+12>>2]+56>>2]+8>>2]](q[a+52>>2],0,0);return 0}function Hp(a){a=ta(a|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function mG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[a](b,c,d,e)|0}function mD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+8>>2]](a,b,c)|0}function lA(a,b){a=a|0;b=b|0;return(b>>>0<=255?r[(q[a+16>>2]+b|0)+6|0]:0)|0}function jP(a,b){a=a|0;b=b|0;if(!b){return 1}return(Ub(q[a+4>>2],b)|0)!=0|0}function DD(a,b){a=a|0;b=b|0;return(b>>>0<=255?s[q[a+16>>2]+(b<<1)>>1]:0)|0}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return kj(q[a+12>>2],b,c,d)|0}function qy(a){a=a|0;return(a>>>0<=127?r[(a>>>3|0)+163696|0]&1<<(a&7):0)|0}function mE(a,b){a=a|0;b=b|0;La(q[a+424>>2]);q[a+424>>2]=0;Xl(q[a+8>>2],b)}function iY(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Kr(b,c,d,e,f)}function eL(a,b){var c=0;b=Se(b);c=wM(a,b);if(!c){c=fL(a,b)}cc(b);return c}function ZK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(493104,a,1,b,c,d)|0}function YK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(493104,a,0,b,c,d)|0}function Wj(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;sp(a,b,c);Da=d+16|0}function UK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(494624,a,1,b,c,d)|0}function TK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(494624,a,0,b,c,d)|0}function GE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Kr(q[a+4>>2],b,c,d,e)}function $e(a){var b=0;b=GM(a);if(!b){return pr(a,0)}return(b<<3)+439576|0}function yE(a){a=a|0;La(q[a+424>>2]);q[a+424>>2]=0;return rt(q[a+8>>2])|0}function nR(a){V$(a,0,16,0);if(Ea){a=0}else{a=a<<4;a=db(0,a?a:1)}return a}function bD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+552>>2]>>2]](a,b,c)|0}function Vq(a,b){var c=0;q[b+4>>2]=0;q[b>>2]=!a|q[a>>2]<1?c:q[a+8>>2]+a|0}function z_(a,b,c){a=a|0;b=b|0;c=c|0;return(r[b+1|0]|r[b|0]<<8)==(a|0)|0}function uP(a){a=a|0;return(a>>>0<=390?p[(a<<1)+296144>>1]+291920|0:0)|0}function oz(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+544>>2]+12>>2]](a,b)|0}function SP(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0}function HP(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+488>>2]+12>>2]](a,b)|0}function wQ(a,b){a=a|0;b=b|0;$b(a,q[a+8>>2]);return Ed(a,q[a+8>>2],b)|0}function pz(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+544>>2]+8>>2]](a,b)|0}function eG(a){a=a|0;var b=0;b=q[a+12>>2];a=q[a+8>>2];K(b|0);return a|0}function dV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;return 0}function Vs(a){var b=0,c=0;c=YR(a);b=AU(c);ut(c);WR(b,a);VR(b);return b}function IP(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+488>>2]+8>>2]](a,b)|0}function vP(a){a=a|0;return p[((a>>>0>257?0:a)<<1)+295616>>1]+291920|0}function Ph(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;hH(a,b);Da=c+16|0}function ED(a,b){a=a|0;b=b|0;q[a+16>>2]=q[q[a>>2]+712>>2]+668;return 0}function CN(a){a=a|0;Pe(q[a+12>>2]);q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function $k(a,b){var c=0;c=Sa(16);if(c){v[c+8>>3]=b;v[c>>3]=a}return c}function pk(){var a=0;a=qk(0);if(a){if($h(a)){return a}cc(a)}return 0}function BN(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 1}function xG(a,b){a=a|0;b=b|0;if(!q[161261]){q[161262]=b;q[161261]=a}}function uf(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function tL(a){a=(Wa(a)+a|0)+1|0;a=Wa(a)+a|0;return r[a+1|0]?a+1|0:0}function gG(a){a=a|0;var b=0;b=q[a+4>>2];a=q[a>>2];K(b|0);return a|0}function RA(a,b,c){a=a|0;b=b|0;c=c|0;Qa(q[a+16>>2]+w(b,144)|0,c,144)}function wf(a){var b=0;b=Sa(8);if(b){q[b+4>>2]=0;q[b>>2]=a}return b}function JQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,c,d,3)|0}function IQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,c,d,4)|0}function GQ(a,b){a=a|0;b=b|0;Gl(b,q[a>>2]<<2,q[a+4>>2]<<2);return 0}function jD(a,b){a=a|0;b=b|0;return n[q[q[a+548>>2]+16>>2]](a,b)|0}function gD(a,b){a=a|0;b=b|0;return n[q[q[a+548>>2]+28>>2]](a,b)|0}function cD(a){a=a|0;var b=0;b=q[a+548>>2];if(b){n[q[b+44>>2]](a)}}function Yh(){var a=0;if(q[160548]){a=Kb(503475)}else{a=0}return a}function Mb(a){var b=0;b=q[a+32>>2];if((b|0)==-1){b=lc(a)}return b}function nG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return n[a](b,c,d)|0}function AR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Os(a,b,c,d)|0}function mV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;pl(b,c,d,e)}function iU(a,b,c){a=a|0;b=b|0;c=c|0;Lt(q[a+112>>2],b,q[a+4>>2])}function HD(a){a=a|0;La(q[a+424>>2]);q[a+424>>2]=0;dt(q[a+8>>2])}function yB(a,b){a=a|0;b=b|0;Qa(b,q[a+132>>2]+4|0,156);return 0}function wV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Us(b,c,d)|0}function ss(a){a=a|0;var b=0;b=q[a>>2];if(a){n[q[b+8>>2]](b,a)}}function bF(a,b,c){a=a|0;b=b|0;c=c|0;q[q[a+388>>2]+(b<<2)>>2]=c}function T_(a,b,c){a=a|0;b=b|0;c=c|0;dw(c,a,r[b+1|0]|r[b|0]<<8)}function CI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+280>>2]}function bV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+20>>2]}function aV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+24>>2]}function QC(a){a=a|0;return(a>>>0<=255?s[(a<<1)+10192>>1]:0)|0}function MN(a,b,c,d){if(!(!b|!d)){if(c){ON(a,b,c,d)}NN(a,b,d)}}function Jg(a){a=qk(a);if(a){if($h(a)){return a}cc(a)}return 0}function sz(a,b){a=a|0;b=b|0;q[b>>2]=-1;q[b+4>>2]=14;return 0}function ry(a){a=a|0;return a+ -48>>>0<10|(a&-33)+ -65>>>0<26}function of(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function nN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return db(d,c)|0}function nC(a,b,c){a=a|0;b=b|0;c=c|0;if(c){q[c>>2]=b}return 0}function dG(a,b,c){a=a|0;b=b|0;c=c|0;q[a+8>>2]=b;q[a+12>>2]=c}function cT(a){a=a|0;return(r[a+16|0]&32?!(r[a+12|0]&32):0)|0}function xE(a,b){a=a|0;b=b|0;q[q[a+8>>2]+308>>2]=-1;return 0}function cB(a,b){a=a|0;b=b|0;q[a+16>>2]=q[a>>2]+296;return 0}function bd(a){a=O(a|0)|0;a=(a|0)==27?0:a;if(a){q[160942]=a}}function Pr(){var a=0;a=ab(1,28);if(a){q[a+20>>2]=2}return a}function JP(a,b){a=a|0;b=b|0;return q[q[a+424>>2]+(b<<2)>>2]}function $E(a,b){a=a|0;b=b|0;return q[q[a+388>>2]+(b<<2)>>2]}function NP(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0}function Mi(a){var b=0;b=q[a+28>>2];if(!b){b=xb(a)}return b}function fG(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=b;q[a+4>>2]=c}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ea=0;return 0}function LT(a){a=a|0;var b=0;b=q[a+4>>2];if(b){Mt(b)}La(a)}function Ci(a){var b=0;if(!a){return}b=q[a>>2];WF(a);La(b)}function rI(a,b){a=a|0;b=b|0;return Rd(q[a>>2],q[b>>2])|0}function rC(a,b){a=a|0;b=b|0;p[b>>1]=s[a+312>>1];return 0}function mo(a,b){a=a|0;b=b|0;p[b>>1]=s[a+164>>1];return 0}function gL(a,b){a=a|0;b=b|0;return Ta(q[a>>2],q[b>>2])|0}function ZA(a,b){a=a|0;b=b|0;return q[a+16>>2]+w(b,144)|0}function Sd(a){var b=0;if(a){b=q[a>>2];if(b){Yb(b)}La(a)}}function nY(a,b,c){a=a|0;b=b|0;c=c|0;q[b+92>>2]=(c|0)!=0}function XQ(a){a=a|0;q[a+140>>2]=q[a+140>>2]+p[a+144>>1]}function KA(a,b){a=a|0;b=b|0;return q[a+20>>2]+w(b,56)|0}function oG(a,b,c){a=a|0;b=b|0;c=c|0;return n[a](b,c)|0}function lZ(a,b,c){a=a|0;b=b|0;c=c|0;q[b+4>>2]=(c|0)!=0}function ko(a,b){a=a|0;b=b|0;Qa(b,a+168|0,196);return 0}function Yk(a){if((ve(q[a+8>>2])|0)==-1){Hp(q[a+8>>2])}}function PG(a,b,c){a=a|0;b=b|0;c=c|0;return SG(a,b,c)|0}function Ly(a,b,c){a=a|0;b=b|0;c=c|0;return uG(a,b,c)|0}function FP(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function ES(a,b,c){a=a|0;b=b|0;c=c|0;return Tl(a,b,c)|0}function DS(a,b,c){a=a|0;b=b|0;c=c|0;return kt(a,b,c)|0}function CS(a,b,c){a=a|0;b=b|0;c=c|0;return jt(a,b,c)|0}function zW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ir(b,c,d)}function uY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gO(b,c,d)}function sD(a,b,c){a=a|0;b=+b;c=c|0;return kD(a,b,c)|0}function pS(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function gr(a){return(Vj(q[a+4>>2],q[a>>2])^-1)>>>31|0}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function ZR(a){a=a|0;if(r[a+13|0]){se(q[a+4>>2])}La(a)}function VJ(a,b){a=a|0;b=b|0;return q[a>>2]==q[b>>2]|0}function LD(a,b){a=a|0;b=b|0;q[b+376>>2]=q[b+376>>2]|1}function FY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rl(b,c,d)}function oS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Vn(a,b){a=a|0;b=b|0;if(b){n[q[a+8>>2]](a,b)}}function T$(a){if(a){return 31-z(a+ -1^a)|0}return 32}function Pb(a,b){a=Ep(a,b);return r[a|0]==(b&255)?a:0}function Lr(a,b){a=a|0;b=b|0;return q[a>>2]-q[b>>2]|0}function oC(a,b){a=a|0;b=b|0;if(b){o[b|0]=1}return 0}function jp(a,b){a=Uj(a,b,16,0,-2147483648);return a}function PX(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;Jr(b,c/d)}function lF(a){a=a|0;return nL(q[q[a+156>>2]>>2])|0}function er(a){a=dr(a);if(a){q[a+4>>2]=q[a+4>>2]+1}}function rR(a,b){a=a|0;b=b|0;return zd(289344,b)|0}function nA(a,b){a=a|0;b=b|0;return zd(163520,b)|0}function mA(a,b){a=a|0;b=b|0;q[a+16>>2]=b;return 0}function BP(a,b){a=a|0;b=b|0;return zd(354128,b)|0}function lB(a,b){a=a|0;b=b|0;return zd(25296,b)|0}function fC(a,b){a=a|0;b=b|0;return zd(17472,b)|0}function cY(a,b,c){a=a|0;b=b|0;c=c|0;q[b+72>>2]=c}function TB(a,b){a=a|0;b=b|0;return zd(17808,b)|0}function Sl(a,b,c){a=a|0;b=b|0;c=c|0;return 0} -function al(a,b){var c=0,d=0;c=q[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}c=q[c+8>>2];if(!c){break a}d=tc(c+q[a+8>>2]|0,b)}return d}function YC(a){a=a|0;var b=0,c=0;c=q[a+712>>2];a:{if(!q[a+540>>2]|!(q[a+8>>2]&8)){break a}b=ld(bc(q[q[a+96>>2]+4>>2],9848),10020,0);if(!b){break a}b=q[b>>2];if(!b){break a}return n[b](a)|0}return q[c+1348>>2]}function yu(a){var b=0,c=0;while(1){a:{b=q[160739];if(b){break a}b=OW();if(!b){b=641424}c=q[160739];q[160739]=c?c:b;if(!c){break a}if(!b|(b|0)==641424){continue}hd(b);continue}break}am(a,b,q[a+16>>2]+48|0,0)}function Py(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Da-16|0;Da=d;e=n[q[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){q[(c?756:752)+a>>2]=q[d+12>>2];q[(c?856:852)+a>>2]=q[b+8>>2]}Da=d+16|0;return e|0}function Gj(a,b,c){var d=0,e=0,f=0,g=0;f=q[a+4>>2];e=q[a+8>>2];if(f>>>0>e>>>0){d=q[a+20>>2];a:{if(d){d=n[d](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;Qa(g,q[a>>2]+e|0,d)}q[a+8>>2]=q[a+8>>2]+d}return d}function zI(a){var b=0,c=0,d=0;if(!a){return 0}b=q[a+284>>2];a:{if(!b){break a}c=q[a+292>>2];if(b>>>0>>0){break a}d=q[a+144>>2];n[q[d+48>>2]](d,c,b,a+404|0);q[a+292>>2]=q[a+284>>2]}return q[a+404>>2]+1|0}function oc(a,b,c){var d=0,e=0;a:{if(!a){break a}d=p[a+2>>1];if((d|0)<1){break a}a=q[a+4>>2];while(1){q[a>>2]=q[a>>2]+b;q[a+4>>2]=q[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)>>>0<(d&65535)>>>0){continue}break}}}function Dk(a){var b=0;b=Da-1136|0;Da=b;cg(b+1048|0,b+16|0,1024);a:{b:{if(!Lq(b+1048|0,a)){break b}if(!Ng(b+1048|0,0)){break b}q[b>>2]=q[b+1048>>2];Ua(489284,b);break a}Ua(489287,0)}uc(b+1048|0);Da=b+1136|0}function FE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=q[a+484>>2];d=d+(q[a+488>>2]-c|0)|0;if((b|0)>=0){a=c+(b+d&0-q[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d-b&0-q[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function $h(a){var b=0,c=0;a=Se(a);if(!a){return 0}c=Cf();if(!c){cc(a);return 0}b=q[a+52>>2];if(b){je(b)}q[a+52>>2]=c;b=0;a:{if(!hI(a,q[a+8>>2])){break a}b=1;if(!(r[643740]&8)){break a}kL(c)}cc(a);return b}function bu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[c>>2]=0;q[c+4>>2]=0;q[c+40>>2]=0;q[c+44>>2]=0;q[c+32>>2]=0;q[c+36>>2]=0;q[c+24>>2]=0;q[c+28>>2]=0;q[c+16>>2]=0;q[c+20>>2]=0;q[c+8>>2]=0;q[c+12>>2]=0;return 0}function by(a){var b=0,c=0,d=0,e=0;a:{b=Ca(30)|0;if((b|0)==-1){break a}c=q[a+12>>2];d=0-b|0;e=c&d;if((rH(e,((q[a+16>>2]+(b+c|0)|0)+ -1&d)-e|0)|0)==-1){break a}q[a+20>>2]=2;return 1}Gg(q[160942]);return 0}function Cd(a,b){var c=0,d=0;c=q[(((b>>>0)%8191<<2)+a|0)+12>>2];a:{if(!c){break a}while(1){if(q[c+4>>2]!=(b|0)){c=q[c>>2];if(c){continue}break a}break}b=q[c+8>>2];if(!b){break a}d=b+q[a+8>>2]|0}return d}function QN(a,b,c){var d=0,e=0;if(b){while(1){e=c;d=q[a>>2];if(d>>>0<=1048575){d=r[(s[(d>>>7&33554430)+401664>>1]+(d&255)|0)+409856|0]}else{d=0}o[e|0]=d;a=a+4|0;c=c+1|0;b=b+ -1|0;if(b){continue}break}}}function Nc(a,b,c,d,e){var f=0;f=Da-256|0;Da=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;Na(f,b,d?c:256);if(!d){while(1){yc(a,f,256);c=c+ -256|0;if(c>>>0>255){continue}break}}yc(a,f,c)}Da=f+256|0}function EI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Da-16|0;Da=e;q[e+12>>2]=b;f=q[a+144>>2];f=n[q[f>>2]](f,b,c,e+12|0)|0;a=_f(a,q[a+144>>2],b,c,f,q[e+12>>2],d,!r[a+480|0],1);Da=e+16|0;return a|0}function Zr(a,b){var c=0,d=0,e=0;if(!a){return 35}d=6;a:{if(!b){break a}c=q[a+96>>2];e=q[q[c>>2]+32>>2];if(!e){break a}c=n[e](c,354181)|0;if(!c){break a}c=q[c>>2];if(!c){break a}d=n[c](a,b)|0}return d}function NO(a){var b=0,c=0,d=0;b=q[a+104>>2];if(b){JN(b)}c=q[a+108>>2];if((c|0)>=1){b=0;while(1){d=q[((b<<2)+a|0)- -64>>2];if(d){se(d);c=q[a+108>>2]}b=b+1|0;if((b|0)<(c|0)){continue}break}}La(q[a>>2])}function AN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[f+28>>2]=c;c=0;a=ed(q[f>>2],f+8|0,0);if(a){if(q[a>>2]>=0){q[d>>2]=q[a+8>>2]-q[a+20>>2];q[e>>2]=q[a+24>>2]+q[a+12>>2];c=1}Cb(a)}return c|0}function wg(){var a=0;a=ab(1,44);if(!a){return 271312}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;q[a+16>>2]=0;q[a+20>>2]=0;o[a+12|0]=1;q[a+24>>2]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;return a}function hK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b+1|0]|(c-b|0)<2|r[b|0]!=(a|0)){break a}b=b+2|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function ZP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+20>>2];if(r[a+65|0]){a=q[e+8>>2];f=p[e+2>>1];g=q[e+4>>2]+(f<<3)|0;q[g+4>>2]=c>>10;q[g>>2]=b>>10;o[a+f|0]=d?1:2}p[e+2>>1]=s[e+2>>1]+1}function QJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b|0]|(c-b|0)<2|r[b+1|0]!=(a|0)){break a}b=b+2|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function bE(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+420>>2];if((c|0)<1){return 0}d=q[a+424>>2];a=0;a:{while(1){if(!Ta(b,q[(a<<2)+d>>2])){break a}a=a+1|0;if((a|0)<(c|0)){continue}break}return 0}return a|0}function Vq(a){var b=0,c=0,d=0;b=Da-32|0;Da=b;d=qd(505279);q[b+24>>2]=1;c=q[b+28>>2];q[b+8>>2]=q[b+24>>2];q[b+12>>2]=c;q[b+16>>2]=4;c=q[b+20>>2];q[b>>2]=q[b+16>>2];q[b+4>>2]=c;Dc(a,d,b,1);Da=b+32|0}function SC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[a+712>>2];a:{b:{if(!a){break b}d=6;if(q[a+1504>>2]==65535|t[a+20>>2]<=b>>>0){break a}if(!c){break b}q[c>>2]=s[q[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function pL(a){var b=0,c=0,d=0;if(q[a>>2]==-1){return 0}b=q[a+4>>2];if((b|0)>=1){while(1){c=b+ -1|0;La(q[q[a+12>>2]+(c<<2)>>2]);q[a+4>>2]=q[a+4>>2]+ -1;d=(b|0)>1;b=c;if(d){continue}break}}return 1}function ze(a,b,c){var d=0,e=0;d=Da-32|0;Da=d;v[d+24>>3]=c;e=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=e;q[d+16>>2]=2;e=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=e;a=Dc(a,b,d,1);Da=d+32|0;return a}function Op(a){var b=0,c=0,d=0;b=Sa(32);if(b){a=eb(a?a:503338);q[b+8>>2]=0;q[b+12>>2]=0;q[b+4>>2]=a;c=b,d=wf(982),q[c+20>>2]=d;c=b,d=wf(982),q[c+24>>2]=d;a=wf(982);q[b>>2]=1;q[b+28>>2]=a}return b}function dk(a){var b=0,c=0,d=0;b=Da-4096|0;Da=b;a=a?a:b;c=na(a|0,4096)|0;if(c>>>0>=4294963201){q[160942]=0-c;c=-1}a:{if((c|0)<0){break a}d=a;if((a|0)!=(b|0)){break a}d=eb(b)}Da=b+4096|0;return d}function bT(){var a=0,b=0;a=q[160740];a:{if(a){break a}while(1){a=aT();b=q[160740];a=a?a:270448;q[160740]=b?b:a;if(!b){break a}if((a|0)!=270448){La(a)}a=q[160740];if(!a){continue}break}}return a}function UR(){var a=0;a=gm();$t(a,584);_t(a,585);Zt(a,586);Yt(a,587);Wt(a,588);Xt(a,589,0);cm(a,590,0);Vt(a,591,0);bm(a,592,0);Ut(a,593,0);Tt(a,594);St(a,595);if(q[a+4>>2]){q[a+4>>2]=0}return a}function HK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+72|0;a=b;while(1){c=r[r[a|0]+e|0]+ -5|0;d=c&255;if(!(d>>>0>=25|!(25034759>>>d&1))){a=q[(c<<24>>24<<2)+496472>>2]+a|0;continue}break}return a-b|0}function CD(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];q[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=s[q[a+16>>2]+(c<<1)>>1];if(!d){continue}break}q[b>>2]=c;return d|0}function sR(a){a=a|0;q[a+48>>2]=2333;q[a+52>>2]=0;q[a+24>>2]=500;q[a+28>>2]=400;q[a+12>>2]=85;q[a+16>>2]=30;q[a+40>>2]=1667;q[a+44>>2]=275;q[a+32>>2]=1e3;q[a+36>>2]=275;p[a+20>>1]=256;return 0}function fc(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+3>>>0>2]){a=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b+4|0}q[c+32>>2]=b;return d}function sB(a){a=a|0;if(a){La(q[a+408>>2]);La(q[a+368>>2]);La(q[a+328>>2]);La(q[a+288>>2]);La(q[a+248>>2]);La(q[a+208>>2]);La(q[a+168>>2]);La(q[a+128>>2]);La(q[a+88>>2]);La(q[a+24>>2]);La(a)}}function nH(a){var b=0;b=q[160617]+ -4|0;q[b>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);q[160616]=63;q[160617]=643380;oH(a);q[q[160617]+ -4>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);return b}function he(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=1;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Uq(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=9;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Pc(a,b,c){var d=0;d=Da-32|0;Da=d;q[d+24>>2]=c;c=q[d+28>>2];q[d+8>>2]=q[d+24>>2];q[d+12>>2]=c;q[d+16>>2]=4;c=q[d+20>>2];q[d>>2]=q[d+16>>2];q[d+4>>2]=c;a=Dc(a,b,d,1);Da=d+32|0;return a}function Ij(a,b,c,d){var e=0,f=0,g=0;f=35;a:{if(!a|!(r[a+8|0]&8)){break a}f=7;e=q[a+96>>2];g=q[q[e>>2]+32>>2];if(!g){break a}e=n[g](e,4085)|0;if(!e){break a}f=n[q[e>>2]](a,b,0,c,d)|0}return f}function _L(a,b){var c=0;c=Da-32|0;Da=c;q[c+24>>2]=b;q[c+16>>2]=8;b=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=b;b=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=b;a=Dc(a,34,c,1);Da=c+32|0;return a}function IK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=r[d|0];a:{if(a){while(1){if(r[b|0]!=(a|0)|(c-b|0)<1){break a}b=b+1|0;a=r[d+1|0];d=d+1|0;if(a){continue}break}}e=(b|0)==(c|0)}return e|0}function Hg(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;e=d;if(b&4194368){q[d+12>>2]=c+4;c=q[c>>2]}else{c=0}q[e>>2]=c;a=T(a|0,b|32768,d|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}Da=d+16|0;return a}function $L(a,b){var c=0;c=Da-32|0;Da=c;q[c+24>>2]=b;b=q[c+28>>2];q[c+8>>2]=q[c+24>>2];q[c+12>>2]=b;q[c+16>>2]=6;b=q[c+20>>2];q[c>>2]=q[c+16>>2];q[c+4>>2]=b;a=Dc(a,33,c,1);Da=c+32|0;return a}function or(a){var b=0,c=0,d=0;while(1){b=q[((d<<2)+a|0)+12>>2];if(b){while(1){c=q[b>>2];La(b);b=c;if(b){continue}break}}d=d+1|0;if((d|0)!=8191){continue}break}c=q[a+4>>2];if(c){gM(c)}La(a)}function nM(a){var b=0,c=0,d=0;b=Da-48|0;Da=b;if((a|0)!=-1){q[b+32>>2]=0;q[b+36>>2]=0;q[b+24>>2]=0;q[b+28>>2]=0;q[b+16>>2]=2;c=b,d=R()|0,q[c+40>>2]=d;q[b>>2]=b+16;Kp(a,13,b);bd(a)}Da=b+48|0}function bj(){var a=0,b=0;while(1){a:{a=q[160734];if(a){break a}a=ly();if(!a){a=641848}b=q[160734];q[160734]=b?b:a;if(!b){break a}if(!a|(a|0)==641848){continue}dh(a);continue}break}return a}function _o(a,b){var c=0;c=35;a:{if(!a|!(r[a+8|0]&2)){break a}c=6;if((b|0)<0|q[a+28>>2]<=(b|0)){break a}c=q[q[q[a+96>>2]+12>>2]+92>>2];if(c){return n[c](q[a+88>>2],b)|0}Jd(a,b);c=0}return c}function ap(a){var b=0;b=r[a+74|0];o[a+74|0]=b+ -1|b;b=q[a>>2];if(b&8){q[a>>2]=b|32;return-1}q[a+4>>2]=0;q[a+8>>2]=0;b=q[a+44>>2];q[a+28>>2]=b;q[a+20>>2]=b;q[a+16>>2]=b+q[a+48>>2];return 0}function dj(a,b,c,d,e){var f=0;f=e<<2;a=n[q[a+24>>2]](q[a+32>>2],f+w(s[(d+31>>>4&268435454)+153040>>1],f)|0)|0;p[b+12>>1]=e;p[b+10>>1]=d;p[b+8>>1]=c;q[b>>2]=a;q[b+4>>2]=a+f;return(a|0)!=0}function Pj(a,b,c,d,e,f,g,h,i){var j=0;j=Da-16|0;Da=j;Uc(j,b,c,d,e,f,g,h,i^-2147483648);d=q[j>>2];c=q[j+4>>2];b=q[j+12>>2];q[a+8>>2]=q[j+8>>2];q[a+12>>2]=b;q[a>>2]=d;q[a+4>>2]=c;Da=j+16|0}function Ok(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;a=ye(a,b,0,d);a:{if(a){break a}a=q[d>>2]+ -1|0;if(a>>>0>1){a=2;break a}if(a-1){e=+q[d+8>>2]}else{e=v[d+8>>3]}v[c>>3]=e;a=0}Da=d+16|0;return a}function EH(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;va(0,b+8|0)|0;c=(b+8>>>4|0)+a^w(q[b+12>>2],65537);while(1){o[a+d|0]=(c&15|c<<1&32)+65;c=c>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}Da=b+16|0}function Ce(a,b,c){var d=0,e=0,f=0;f=a+c|0;while(1){a:{c=r[r[b|0]+3616|0];d=r[a|0];e=r[d+3616|0];a=a+1|0;if(!d|a>>>0>=f>>>0){break a}b=b+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function qD(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[q[b+712>>2]+3080>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],12904);if(!b){break a}b=n[q[c+8>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function Ta(a,b){var c=0,d=0;c=r[a|0];d=r[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=r[b+1|0];c=r[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 QB(a){a=a|0;var b=0,c=0,d=0;c=Da-16|0;Da=c;d=Ap(q[q[a>>2]+504>>2],c+12|0);b=a;a=q[c+12>>2];q[b+44>>2]=a;if(a){b=q[a>>2];if(!(!b|!q[b+96>>2])){q[b+88>>2]=a}}Da=c+16|0;return d|0}function YF(a,b){var c=0;c=6;if(!(!a|!b)){c=n[q[a+4>>2]](a,208)|0;if(!c){return 64}Na(c+16|0,0,188);q[c+204>>2]=1;q[c+12>>2]=1;q[c+4>>2]=2;q[c+8>>2]=10;q[c>>2]=a;q[b>>2]=c;c=0}return c}function nl(a,b){var c=0,d=0;a:{if(a){if(!b){return a}if(q[q[a>>2]+8>>2]>2]+8>>2]){break a}c=b,d=nl(a,q[b+8>>2]),q[c+8>>2]=d}return b}c=a,d=nl(q[a+8>>2],b),q[c+8>>2]=d;return a}function Tx(a){var b=0;b=$i(a+148|0);b=t[b+16>>2]<8?271312:q[b+12>>2];if(r[b|0]<<8|r[b+1|0]){a=1}else{a=_i(a+152|0);a=t[a+16>>2]<8?271312:q[a+12>>2];a=(r[a|0]<<8|r[a+1|0])!=0}return a}function LQ(a){a=a|0;var b=0;b=q[a+4>>2];q[b+180>>2]=-21;q[b+184>>2]=0;q[b+196>>2]=21;q[b+200>>2]=0;q[b+188>>2]=0;q[b+192>>2]=0;n[q[q[q[a+12>>2]+56>>2]+8>>2]](q[a+52>>2],0,0);return 0}function Ib(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=q[a+8>>2]+b|0;d=q[a+20>>2];b:{if(d){if(!n[d](a,b,0,0)){break b}break a}if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function zr(a){var b=0;b=q[a+8>>2];a:{if(b){a=(b+q[a+20>>2]|0)+ -1|0;b=r[a|0];if(b>>>0>=4){break a}o[a|0]=b|4;return 1}I(436843,436863,335,436877);F()}I(436899,436863,336,436877);F()}function z$(a){a=q[Rc(a+140|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0;c=Da-16|0;Da=c;q[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(o[a+20|0]&1){d=Bn(a,c+12|0,0);break a}d=An(a,c+12|0,0)}a=d;Da=c+16|0;return a|0}function OB(a){a=a|0;var b=0,c=0,d=0;d=Da-16|0;Da=d;b=q[a+4>>2];c=q[b+504>>2];a:{if(!q[b+84>>2]){b=c+84|0;c=0;break a}b=d+12|0;c=jk(c,d+12|0)}q[a+160>>2]=q[b>>2];Da=d+16|0;return c|0}function Dl(a){a=a|0;var b=0,c=0;b=q[a+8>>2];if(b){a=q[a+16>>2];c=q[a+4>>2];q[b+108>>2]=q[a>>2];q[b+112>>2]=c;q[b+124>>2]=q[a+16>>2];c=q[a+12>>2];q[b+116>>2]=q[a+8>>2];q[b+120>>2]=c}}function C$(a){a=q[Ac(a+136|0)>>2];a=a?a:271312;a=t[a+16>>2]<10?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function eF(a,b){a=a|0;b=b|0;var c=0;q[a+116>>2]=b;c=q[a>>2];if(o[c+8|0]&1){Jd(c,b);zj(a);return 0}b=n[q[q[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}q[a+116>>2]=-1;return b|0}function bm(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+132>>2];if(d){n[d](q[a- -64>>2])}if(b){q[a+132>>2]=0;q[a+200>>2]=b;q[a- -64>>2]=c;return}q[a+132>>2]=0;q[a+200>>2]=495;q[a- -64>>2]=0}}function BU(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=q[a+12>>2];q[e>>2]=0;if((d|0)==-1){d=Wa(c)}b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+212>>2]](b,f,c,d,e,q[a+76>>2])|0}function wD(a,b){a=a|0;b=b|0;var c=0;c=zd(9760,b);a:{if(c){break a}c=0;if(!a){break a}a=q[a+4>>2];if(!a){break a}a=bc(a,9848);if(!a){break a}c=n[q[q[a>>2]+32>>2]](a,b)|0}return c|0}function rr(a,b){var c=0;if((a|0)==(b|0)){return 1}a:{if(!a|!b|(v[a>>3]!=v[b>>3]|v[a+8>>3]!=v[b+8>>3])){break a}if(v[a+16>>3]!=v[b+16>>3]){break a}c=v[a+24>>3]==v[b+24>>3]}return c}function oi(){var a=0;a=Sa(40);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=8;q[a+32>>2]=0;q[a+36>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0;q[a+16>>2]=0;q[a+20>>2]=0;return a}function Sf(a,b){var c=0,d=0;c=q[a+12>>2];d=q[a+4>>2];c=(c|0)<0?(d|0)<(c|0)?c:d:d-c|0;b=b?b:(w(c,12)|0)/10|0;q[a+28>>2]=b;q[a+24>>2]=(b-c|0)/2;q[a+20>>2]=q[a+8>>2]-(q[a+16>>2]/2|0)}function BD(a,b){a=a|0;b=b|0;var c=0,d=0;b=q[a>>2];c=q[b+712>>2];if(!q[c+1188>>2]){return 163}d=q[q[c+3084>>2]+4>>2];if(!d){return 7}return n[d](q[b+100>>2],a,q[c+20>>2],133,0,b)|0}function $X(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[b>>2];d=q[a>>2];if((c|0)!=(d|0)){return(d>>>0>>0?-1:1)|0}a=q[a+4>>2];b=q[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function oN(a,b){var c=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a>>2]=16;q[a+28>>2]=0;q[a+32>>2]=0;q[a+36>>2]=0;q[a+40>>2]=0;q[a+44>>2]=0;c=a;a=oe(32,1<<(b<<1),0);q[c+48>>2]=a;return(a|0)!=0}function Ej(a,b,c){var d=0,e=0;a:{if(c>>>0<2){break a}d=c+ -1|0;d=a+d|0;while(1){e=r[b|0];if(!e){break a}o[a|0]=e;a=a+1|0;b=b+1|0;c=c+ -1|0;if(c>>>0>1){continue}break}a=d}o[a|0]=0}function Cz(a,b){a=a|0;b=b|0;q[a+16>>2]=b;b=r[b+6|0]|r[b+7|0]<<8|(r[b+8|0]<<16|r[b+9|0]<<24);q[a+28>>2]=0;q[a+32>>2]=0;q[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function XS(a){var b=0;b=ab(1,208);if(b){q[b+8>>2]=0;q[b>>2]=1;q[b+4>>2]=1;q[b+32>>2]=-1;q[b+20>>2]=0;q[b+16>>2]=a;q[b+12>>2]=582;q[b+36>>2]=b;q[b+48>>2]=b;return b}return 641640}function xL(a){var b=0,c=0;b=Da-4128|0;Da=b;a:{if(r[a|0]==47){a=ag(a);break a}if(!dk(b+16|0)){a=0;break a}q[b+4>>2]=0;q[b>>2]=a;c=_b(b+16|0,b);a=ag(c);La(c)}Da=b+4128|0;return a}function nb(a,b){var c=0,d=0,e=0;c=q[a>>2];a:{if(c>>>0<=b>>>0){break a}while(1){d=c+ -1|0;e=r[d|0];if((e|0)!=9?(e|0)!=32:0){break a}c=d;if(c>>>0>b>>>0){continue}break}}q[a>>2]=c}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;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}c=Kj(q[b+4>>2],c,d,e);a=!c;a=c|!e?a:r[d|0]!=0;q[b>>2]=0;return a|0}function dT(a,b,c){var d=0;d=s[a+140>>1];a:{if(d&512){s$(a+24|0,a,b,c);break a}if(d&2048){Mx(a,b,c);break a}if(d&1024){lw(a,b,c);break a}pT(a,b,c)}if(r[a+141|0]&32){Hx(a,b,c)}}function cm(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+120>>2];if(d){n[d](q[a+52>>2])}if(b){q[a+120>>2]=0;q[a+188>>2]=b;q[a+52>>2]=c;return}q[a+120>>2]=0;q[a+188>>2]=492;q[a+52>>2]=0}}function ce(a,b){var c=0;a:{if(!a|!b){break a}c=q[a+4>>2];if(!c){break a}a=p[a+2>>1];if((a|0)<1){break a}a=(a<<3)+c|0;while(1){Rg(c,b);c=c+8|0;if(c>>>0>>0){continue}break}}}function cP(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(q[b+72>>2]!=1869968492){break a}c=q[a>>2];a=a+20|0;c=So(c,p[b+110>>1],p[b+108>>1],a);if(c){break a}Ro(b+108|0,a);c=0}return c|0}function Xt(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+104>>2];if(d){n[d](q[a+36>>2])}if(b){q[a+104>>2]=0;q[a+172>>2]=b;q[a+36>>2]=c;return}q[a+104>>2]=0;q[a+172>>2]=488;q[a+36>>2]=0}}function Vt(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+124>>2];if(d){n[d](q[a+56>>2])}if(b){q[a+124>>2]=0;q[a+192>>2]=b;q[a+56>>2]=c;return}q[a+124>>2]=0;q[a+192>>2]=493;q[a+56>>2]=0}}function V$(a,b){var c=0,d=0;if(a|b){d=b+ -1|0;c=a+ -1|0;if(c>>>0<4294967295){d=d+1|0}c=z(a^c)+32|0;a=z(b^d);a=(a|0)==32?c:a;b=63-a|0;Ea=0-(63>>0)|0;return b}Ea=0;return 64}function Ut(a,b,c){var d=0;if(q[a+4>>2]){d=q[a+136>>2];if(d){n[d](q[a+68>>2])}if(b){q[a+136>>2]=0;q[a+204>>2]=b;q[a+68>>2]=c;return}q[a+136>>2]=0;q[a+204>>2]=496;q[a+68>>2]=0}}function QR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){a=q[b>>2];q[b>>2]=1;if(a){continue}break}a=0;c=Wo(q[b+4>>2],c,d);if(c){q[e>>2]=c;a=1}q[b>>2]=0;return a|0}function $c(a,b,c){var d=0,e=0;if(!b){q[c>>2]=0;return 0}d=Wa(b)+1|0;a:{if((d|0)>=1){e=n[q[a+4>>2]](a,d)|0;a=!e<<6;break a}a=d?6:0}if(!(a|!d)){Qa(e,b,d);a=0}q[c>>2]=a;return e}function wd(a,b){var c=0,d=0,e=0;a:{if(!a|!(r[a+8|0]&8)){break a}c=q[a+96>>2];d=q[q[c>>2]+32>>2];if(!d){break a}c=n[d](c,4085)|0;if(!c){break a}e=n[q[c+4>>2]](a,b)|0}return e}function wC(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[b+320>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],14750);if(!b){break a}b=n[q[c+4>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function ss(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(q[b+72>>2]!=q[a+16>>2]){break a}if(c){ce(b+108|0,c)}e=0;if(!d){break a}oc(b+108|0,q[d>>2],q[d+4>>2])}return e|0}function de(a){var b=0;a:{if(a){break a}while(1){a=q[160940];if(a){break a}a=ok();if(!a){continue}b=q[160940];q[160940]=b?b:a;if(!b){break a}cc(a);continue}}return q[a+76>>2]}function dI(a){var b=0;a:{if(a){break a}while(1){a=q[160940];if(a){break a}a=ok();if(!a){continue}b=q[160940];q[160940]=b?b:a;if(!b){break a}cc(a);continue}}return q[a+52>>2]}function YB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;q[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b+ -1|0;if(b>>>0>=t[a+408>>2]){break a}q[c>>2]=q[(q[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function jE(a){a=a|0;var b=0,c=0;b=q[a+4>>2];c=q[b+552>>2];a:{if(!c){break a}b=bc(q[q[b+96>>2]+4>>2],7201);if(!b){break a}b=n[q[c+4>>2]](b)|0;q[q[a+156>>2]+36>>2]=b}return 0}function ZE(a){a=a|0;hf(q[a+8>>2]);vl(q[a+4>>2]);wl(q[a>>2]);La(q[a+24>>2]);q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;La(q[a+424>>2]);q[a+424>>2]=0;To(a,q[a+12>>2],q[a+16>>2])}function Wt(a,b){var c=0;if(q[a+4>>2]){c=q[a+108>>2];if(c){n[c](q[a+40>>2])}if(b){q[a+108>>2]=0;q[a+176>>2]=b;q[a+40>>2]=0;return}q[a+108>>2]=0;q[a+176>>2]=489;q[a+40>>2]=0}}function Tt(a,b){var c=0;if(q[a+4>>2]){c=q[a+140>>2];if(c){n[c](q[a+72>>2])}if(b){q[a+140>>2]=0;q[a+208>>2]=b;q[a+72>>2]=0;return}q[a+140>>2]=0;q[a+208>>2]=497;q[a+72>>2]=0}}function St(a,b){var c=0;if(q[a+4>>2]){c=q[a+144>>2];if(c){n[c](q[a+76>>2])}if(b){q[a+144>>2]=0;q[a+212>>2]=b;q[a+76>>2]=0;return}q[a+144>>2]=0;q[a+212>>2]=498;q[a+76>>2]=0}}function RT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=q[c+76>>2];if(a){b=q[c+88>>2];c=0;while(1){d=w(c,20)+b|0;p[d+12>>1]=s[d+12>>1]&65519;c=c+1|0;if((c|0)!=(a|0)){continue}break}}}function bM(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;b=qd(b);e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;a=Dc(a,b,d,1);Da=d+16|0;return a}function _F(a,b){var c=0;a:{b:{if(!a){break b}a=q[a+148>>2];if(!a){break b}while(1){c=q[a+8>>2];if(q[c+16>>2]==(b|0)){break a}a=q[a+4>>2];if(a){continue}break}}c=0}return c}function Od(a){var b=0,c=0;b=q[a+4>>2];while(1){if(b){c=q[b+4>>2];if(c){n[q[a>>2]](c)}if(q[a+4>>2]==(b|0)){q[a+4>>2]=q[b>>2]}c=q[b>>2];La(b);b=c;if(b){continue}}break}La(a)}function MG(a){var b=0;b=2;if(!Pb(a,43)){b=r[a|0]!=114}b=Pb(a,120)?b|128:b;b=Pb(a,101)?b|524288:b;a=r[a|0];b=(a|0)==114?b:b|64;b=(a|0)==119?b|512:b;return(a|0)==97?b|1024:b}function Ln(a,b){var c=0;if(!a){return}if(!b){return}a=q[a>>2];c=q[b+12>>2];if(c){n[q[a+8>>2]](a,c)}q[b+16>>2]=0;q[b+20>>2]=0;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=0;q[b+4>>2]=0}function kA(a,b){a=a|0;b=b|0;var c=0,d=0;d=q[a+16>>2]+6|0;a=q[b>>2];while(1){a=a+1|0;if(a>>>0>255){q[b>>2]=0;return 0}c=r[a+d|0];if(!c){continue}break}q[b>>2]=a;return c|0}function ab(a,b){var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=W$(a,0,b,0);e=Ea;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=Sa(b);if(!(!a|!(r[a+ -4|0]&3))){Na(a,0,b)}return a}function Hp(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;q[d+8>>2]=b;a=S(a|0,d+8|0,1,d+4|0)|0;a:{if(a){if(a){q[160942]=a;a=-1}else{a=0}break a}a=q[d+4>>2]}Da=d+16|0;return a}function vp(a){var b=0,c=0,d=0;if(o[q[a>>2]]+ -48>>>0<10){while(1){b=q[a>>2];d=o[b|0];q[a>>2]=b+1;c=(w(c,10)+d|0)+ -48|0;if(o[b+1|0]+ -48>>>0<10){continue}break}}return c}function fY(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=2;Gu(a,0,d+12|0,d+4|0,0,0);a=q[d+12>>2];q[b>>2]=a?q[d+4>>2]:1145457748;q[c>>2]=a>>>0>1?q[d+8>>2]:1145457748;Da=d+16|0}function _t(a,b){var c=0;if(q[a+4>>2]){c=q[a+88>>2];if(c){n[c](q[a+20>>2])}if(b){q[a+88>>2]=0;q[a+156>>2]=b;q[a+20>>2]=0;return}q[a+88>>2]=0;q[a+156>>2]=484;q[a+20>>2]=0}}function Zt(a,b){var c=0;if(q[a+4>>2]){c=q[a+92>>2];if(c){n[c](q[a+24>>2])}if(b){q[a+92>>2]=0;q[a+160>>2]=b;q[a+24>>2]=0;return}q[a+92>>2]=0;q[a+160>>2]=485;q[a+24>>2]=0}}function Yt(a,b){var c=0;if(q[a+4>>2]){c=q[a+96>>2];if(c){n[c](q[a+28>>2])}if(b){q[a+96>>2]=0;q[a+164>>2]=b;q[a+28>>2]=0;return}q[a+96>>2]=0;q[a+164>>2]=486;q[a+28>>2]=0}}function OC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!r[a|0]|q[a+8>>2]!=(b|0)|q[a+12>>2]!=(c|0)){break a}if(c){if(Oc(d,q[a+16>>2],c<<2)){break a}}e=0}return e|0}function Mh(a,b){var c=0,d=0,e=0;e=a;a:{if(b>>>0<=31){c=q[a>>2];d=q[a+4>>2];break a}c=q[a+4>>2];q[a+4>>2]=0;q[a>>2]=c;b=b+ -32|0;d=0}q[e+4>>2]=d>>>b;q[a>>2]=d<<32-b|c>>>b}function $t(a,b){var c=0;if(q[a+4>>2]){c=q[a+80>>2];if(c){n[c](q[a+12>>2])}if(b){q[a+80>>2]=0;q[a+12>>2]=0;q[a+148>>2]=b;return}q[a+80>>2]=0;q[a+12>>2]=0;q[a+148>>2]=482}}function yn(a,b){a=a|0;b=b|0;q[a+16>>2]=b;b=r[b+12|0]|r[b+13|0]<<8|(r[b+14|0]<<16|r[b+15|0]<<24);o[a+24|0]=0;q[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function rF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=q[a+24>>2];c=Xa(b,c);a:{if(c){break a}c=mb(b,d);if(c){break a}q[a+196>>2]=q[b+32>>2];q[a+200>>2]=q[b+36>>2];c=0}return c|0}function OW(){var a=0;a=gm();$t(a,471);TU(a);_t(a,473);Zt(a,474);Yt(a,475);Wt(a,476);MU(a);cm(a,478,0);bm(a,479,0);Tt(a,480);St(a,481);if(q[a+4>>2]){q[a+4>>2]=0}return a}function Oc(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=r[a|0];e=r[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}f=d-e|0}return f}function Kh(a,b){var c=0,d=0,e=0;e=a;a:{if(b>>>0<=31){c=q[a+4>>2];d=q[a>>2];break a}c=q[a>>2];q[a+4>>2]=c;q[a>>2]=0;b=b+ -32|0;d=0}q[e>>2]=d<>2]=c<>>32-b}function Kz(a,b){a=a|0;b=b|0;var c=0;if(!(!r[a+24|0]|q[a+28>>2]!=q[b>>2])){wn(a);if(!r[a+24|0]){return 0}c=q[a+32>>2];q[b>>2]=q[a+28>>2];return c|0}return xn(a,b,1)|0}function y$(a){var b=0,c=0,d=0;c=q[a+76>>2];if(c){while(1){d=w(b,20);o[(d+q[a+96>>2]|0)+18|0]=0;p[(q[a+96>>2]+d|0)+16>>1]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function pD(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(!(d&1?0:b)){return zh(a,0,c,d)|0}if(q[b>>2]==q[a+4>>2]){a=zh(a,b,c,d)}else{a=35}return a|0}function gH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;a=aa(q[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){q[160942]=a}Da=e+16|0;Ea=q[e+12>>2];return q[e+8>>2]}function Yz(a,b){a=a|0;b=b|0;a=q[a+16>>2];b=b-(r[a+6|0]<<8|r[a+7|0])|0;if(b>>>0<(r[a+9|0]|r[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=r[a+10|0]<<8|r[a+11|0]}else{a=0}return a|0}function SG(a,b,c){var d=0,e=0,f=0;e=q[a+84>>2];d=c+256|0;f=be(e,0,d);d=f?f-e|0:d;c=d>>>0>>0?d:c;Qa(b,e,c);b=e+d|0;q[a+84>>2]=b;q[a+8>>2]=b;q[a+4>>2]=c+e;return c}function Mz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=10;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Iz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=12;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Dz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=13;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function vK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+2|0];c=1<<(a&31);d=a>>>5&1;a=r[b+1|0];return c&q[((d|(r[(a>>>2&15|r[b|0]<<4&240)+492784|0]<<3|a<<1&6))<<2)+490512>>2]}function tK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+2|0];c=1<<(a&31);d=a>>>5&1;a=r[b+1|0];return c&q[((d|(r[(a>>>2&15|r[b|0]<<4&240)+492528|0]<<3|a<<1&6))<<2)+490512>>2]}function Rz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=8;a=r[a+8|0]|r[a+9|0]<<8|(r[a+10|0]<<16|r[a+11|0]<<24);q[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function CU(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=q[a+12>>2];if(e){o[d|0]=0}b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+208>>2]](b,f,c,d,e,q[a+72>>2])|0}function vB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=q[b>>2]+1|0;b=q[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}q[e>>2]=b;return d|0}function gh(a,b){var c=0;b=b<<2;c=q[b+641572>>2];while(1){if(q[(b+q[a+72>>2]|0)+148>>2]!=(c|0)){return 1}a=q[a+12>>2];if((a|0)!=641328?a:0){continue}break}return 0}function fb(a,b){var c=0,d=0,e=0;while(1){a:{c=r[r[b|0]+3616|0];d=r[a|0];e=r[d+3616|0];if(!d){break a}b=b+1|0;a=a+1|0;if((c|0)==(e|0)){continue}}break}return e-c|0}function ct(a){var b=0;a:{if(!q[a+4>>2]){break a}q[a+80>>2]=0;o[a+69|0]=256;o[a+70|0]=1;q[a+92>>2]=q[a+88>>2];b=w(q[a+76>>2],20);if(!b){break a}Na(q[a+96>>2],0,b)}}function Ix(a){a=an(a+164|0);a=t[a+16>>2]<12?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function IH(a,b){a=a|0;b=b|0;var c=0,d=0;d=Da-16|0;Da=d;c=1;a:{if(!a|!b){break a}c=0;if(Nk(a,505245,d+12|0)){break a}c=(ui(q[d+12>>2],b)|0)==1}Da=d+16|0;return c|0}function uN(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(t[a+4>>2]>>0){break a}}e=q[a+12>>2];if(q[a+8>>2]!=(b|0)){Qh(e,b,0)}e=xp(c,d,e)}return e|0}function pw(a){a=lh(a+128|0);a=t[a+16>>2]<4?271312:q[a+12>>2];a=r[a|0]|r[a+1|0]<<8|(r[a+2|0]<<16|r[a+3|0]<<24);return(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=0}function fQ(a){a=a|0;var b=0,c=0,d=0;if(a){c=q[a>>2];b=c;d=q[a+108>>2];if(d){n[q[b+8>>2]](b,d)}q[a+108>>2]=0;b=q[a+116>>2];if(b){n[q[c+8>>2]](c,b)}q[a+116>>2]=0}}function aK(a,b){var c=0;q[a+16>>2]=10;q[a+12>>2]=11;q[a+8>>2]=0;q[a>>2]=80;q[a+4>>2]=241;b=n[q[b+4>>2]](b,964)|0;c=!b<<6;if(b){Na(b,0,964)}q[a+20>>2]=b;return c}function Rd(a,b){var c=0,d=0;if((a|0)==(b|0)){return 0}while(1){a:{d=r[b|0];c=r[a|0];if(!c){break a}a=a+1|0;b=b+1|0;if((d|0)==(c|0)){continue}}break}return c-d|0}function ER(a,b){a=a|0;b=b|0;q[a+2748>>2]=b;q[a+2740>>2]=q[b+28>>2];q[a+4>>2]=q[b+8>>2];q[a+12>>2]=q[b+12>>2];q[a+8>>2]=q[b+16>>2];q[a+16>>2]=q[b+20>>2];return 0}function zd(a,b){var c=0;a:{if(!a|!b){break a}c=q[a>>2];if(!c){break a}while(1){if(!Ta(c,b)){return q[a+4>>2]}c=q[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function ri(a,b){var c=0,d=0;d=q[a+20>>2];a:{b:{if(d){c=85;if(!n[d](a,b,0,0)){break b}break a}c=85;if((b|0)<0|t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function kC(a,b){a=a|0;b=b|0;var c=0;c=q[b+96>>2];if(!((c|0)<0|(c|0)>=q[a+300>>2])){a=q[a+304>>2]+w(c,252)|0;b=n[q[b+40>>2]](b,0)|0;q[a+180>>2]=b;q[a+208>>2]=b}}function cL(a,b){a=a|0;b=b|0;a=n[q[a+364>>2]](q[a+368>>2],b)|0;if(a>>>0<=65535){a=q[(a>>>3&28|r[(a>>>8|0)+492528|0]<<5)+490512>>2]&1<<(a&31)}else{a=0}return a|0}function bL(a,b){a=a|0;b=b|0;a=n[q[a+364>>2]](q[a+368>>2],b)|0;if(a>>>0<=65535){a=q[(a>>>3&28|r[(a>>>8|0)+492784|0]<<5)+490512>>2]&1<<(a&31)}else{a=0}return a|0}function zB(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];b=q[c+132>>2];Jd(c,0);c=s[b+80>>1];q[a+24>>2]=c<<6;q[a+28>>2]=c-s[b+96>>1]<<6;q[a+36>>2]=s[b+102>>1]<<6;return 0}function rq(a,b){var c=0;q[a+16>>2]=8;q[a+12>>2]=9;q[a+8>>2]=0;q[a>>2]=80;q[a+4>>2]=241;b=n[q[b+4>>2]](b,964)|0;c=!b<<6;if(b){Na(b,0,964)}q[a+20>>2]=b;return c}function VA(a,b){a=a|0;b=b|0;var c=0,d=0;d=q[a>>2];c=q[d+140>>2];Jd(d,b);q[a+24>>2]=q[c+40>>2]<<6;q[a+28>>2]=0-(q[c+44>>2]<<6);q[a+36>>2]=s[c+4>>1]<<6;return 0}function TP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+488>>2];q[a+24>>2]=q[b+420>>2];q[a+28>>2]=q[b+424>>2];q[a+20>>2]=q[c+20>>2];q[a+16>>2]=q[c+24>>2];return 0}function QU(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=q[a+12>>2];q[e>>2]=0;b=a;f=q[a+76>>2];a=q[a+72>>2];return n[q[a+164>>2]](b,f,c,d,e,q[a+28>>2])|0}function PP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+488>>2];q[a+24>>2]=q[b+420>>2];q[a+28>>2]=q[b+424>>2];q[a+20>>2]=q[c+20>>2];q[a+16>>2]=q[c+28>>2];return 0}function HG(a){var b=0;a:{b=hp(3248);b:{if((b|0)==-1){break b}a=hp(a);if((a|0)==-1){break b}if(r[b+508864|0]<208){break a}}q[160942]=28;return-1}return a<<16|b}function jr(a,b){var c=0;a:{while(1){if(!dd(a,q[w(c,12)+44e4>>2])){break a}c=c+1|0;if((c|0)!=57){continue}break}return 0}q[b>>2]=q[w(c,12)+440008>>2];return 1}function Oo(a){var b=0,c=0;b=q[a+32>>2];if(b+3>>>0>=t[a+36>>2]){q[a+32>>2]=b;return 0}c=r[b|0]|r[b+1|0]<<8|(r[b+2|0]<<16|r[b+3|0]<<24);q[a+32>>2]=b+4;return c}function nF(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0;d=q[a+4>>2];e=q[a+8>>2];b=b*1e3;a:{if(y(b)<2147483648){a=~~b;break a}a=-2147483648}return tl(d,e,a,a>>31,c)|0}function Cq(a,b){var c=0,d=0;c=Da-16|0;Da=c;te(32,a);d=q[b+12>>2];q[c+8>>2]=q[b+8>>2];q[c+12>>2]=d;d=q[b+4>>2];q[c>>2]=q[b>>2];q[c+4>>2]=d;Fk(a,c);Da=c+16|0}function Bk(){var a=0,b=0;b=Da-16|0;Da=b;a:{if(q[160935]){break a}a=Kb(489878);if(!a){break a}q[b>>2]=a;Ua(489887,b);a=Bb(a);q[160935]=(a|0)>0?a:0}Da=b+16|0}function sf(a){var b=0,c=0;c=Fa();a:{b=q[161388];a=b+(a+3&-4)|0;if(a>>>0<=c<<16>>>0){break a}if(ca(a|0)){break a}q[160942]=48;return-1}q[161388]=a;return b}function cz(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Bc(b,q[a+512>>2],a+508|0);if(!c){return 0}q[a+512>>2]=0}return c|0}function NF(a,b){var c=0;c=q[a+8>>2];if(c){hf(c);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0;b=Vs(q[a>>2],b,0);q[a+8>>2]=b;if(!b){Rb(1278);Q(4);F()}Jh(a)} +function Sb(a,b,c){return Uj(a,b,c,-2147483648,0)}function EB(a,b){a=a|0;b=b|0;return zd(19136,b)|0}function CC(a,b){a=a|0;b=b|0;return zd(14576,b)|0}function $A(a,b){a=a|0;b=b|0;return zd(26128,b)|0}function qX(a,b,c){a=a|0;b=b|0;c=+c;v[b+40>>3]=c}function qE(a,b){a=a|0;b=b|0;return zd(6912,b)|0}function PE(a){a=a|0;ql(q[a+4>>2],1033,0,3,1055)}function kG(a){a=a|0;a=Da-a&-16;Da=a;return a|0}function aD(a){a=a|0;n[q[q[a+552>>2]+28>>2]](a)}function WE(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function Oh(a,b){if(!a){return 0}return eH(a,b)}function Bo(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function Az(a,b){a=a|0;b=b|0;q[b>>2]=0;return 0}function yc(a,b,c){if(!(r[a|0]&32)){Lj(b,c,a)}}function pG(a,b,c){a=a|0;b=b|0;c=c|0;n[a](b,c)}function dB(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function _n(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0}function ZT(a){a=a|0;$a(a+24|0,1667329140,1,0)}function Pk(a,b,c){return ye(a,qd(504136),b,c)}function MF(a,b,c){a=a|0;b=b|0;c=c|0;KF(a,b,c)}function Gt(a){a=a|0;$a(a+24|0,1818847073,1,0)}function $F(a,b,c){a=a|0;b=b|0;c=c|0;So(a,b,c)}function yF(a){a=a|0;q[a- -64>>2]=40;return 0}function sY(a,b){a=a|0;b=b|0;return Qu(a,b)|0}function rY(a,b){a=a|0;b=b|0;return Pu(a,b)|0}function rS(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function qY(a,b){a=a|0;b=b|0;return Ou(a,b)|0}function qS(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function oZ(a,b){a=a|0;b=b|0;return ev(a,b)|0}function oY(a,b){a=a|0;b=b|0;return Nu(a,b)|0}function nZ(a,b){a=a|0;b=b|0;return dv(a,b)|0}function kY(a,b){a=a|0;b=b|0;return Lu(a,b)|0}function jZ(a,b){a=a|0;b=b|0;return av(a,b)|0}function jY(a,b){a=a|0;b=b|0;return Ku(a,b)|0}function hZ(a,b){a=a|0;b=b|0;return Am(a,b)|0}function hY(a,b){a=a|0;b=b|0;return Ju(a,b)|0}function gZ(a,b){a=a|0;b=b|0;return ym(a,b)|0}function fZ(a,b){a=a|0;b=b|0;return xm(a,b)|0}function cZ(a,b){a=a|0;b=b|0;return Yu(a,b)|0}function bZ(a,b){a=a|0;b=b|0;return Xu(a,b)|0}function _O(a,b){a=a|0;b=b|0;Te(a+20|0,b)} -function MW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!tg(a,1751216995,c)){break a}if(!tg(a,1751413603,c+4|0)){break a}b=tg(a,1751934832,c+8|0)}return b|0}function KW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!tg(a,1986098019,c)){break a}if(!tg(a,1986294627,c+4|0)){break a}b=tg(a,1986815856,c+8|0)}return b|0}function Bp(a){var b=0;a:{if(q[a+76>>2]<=-1){a=Cp(a);b=Ea;break a}a=Cp(a);b=Ea}if((b|0)>0?1:(b|0)>=0?a>>>0<2147483648?0:1:0){q[160942]=61;return-1}return a}function iy(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?p[(r[(r[(b>>>9|0)+179834|0]>>>(b>>>6&4)<<6&960|b>>>2&63)+179962|0]<<3|(b&3)<<1)+218240>>1]:0)+b|0}function gR(a){a=a|0;var b=0;if(a){q[a+412>>2]=0;q[a+4>>2]=0;q[a+1960>>2]=0;q[a+1444>>2]=0;q[a+928>>2]=0;q[a+208>>2]=0;b=q[a>>2];if(a){n[q[b+8>>2]](b,a)}}}function je(a){var b=0,c=0;b=q[a+8>>2];if(q[a>>2]>=1){while(1){ie(q[(c<<2)+b>>2]);b=q[a+8>>2];c=c+1|0;if((c|0)>2]){continue}break}}if(b){La(b)}La(a)}function hP(a){var b=0;b=Da-16|0;Da=b;if(!(!a|q[a+72>>2]!=1869968492)){q[b>>2]=65536;q[b+4>>2]=13930;q[b+8>>2]=0;q[b+12>>2]=65536;ce(a+108|0,b)}Da=b+16|0}function Rk(a,b,c){var d=0,e=0;d=Da-16|0;Da=d;e=q[c+12>>2];q[d+8>>2]=q[c+8>>2];q[d+12>>2]=e;e=q[c+4>>2];q[d>>2]=q[c>>2];q[d+4>>2]=e;Dc(a,b,d,1);Da=d+16|0}function Lc(a,b,c,d){var e=0,f=0;e=w(b,c);f=e;a:{if(q[d+76>>2]<=-1){a=Lj(a,e,d);break a}a=Lj(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function KF(a,b,c){var d=0;d=q[a+8>>2];if(d){hf(d);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0;b=dS(q[a>>2],b,c);q[a+8>>2]=b;if(!b){Rb(1278);Q(4);F()}Jh(a)}function yq(a,b,c){a=a|0;b=b|0;c=c|0;c=ji(c);if((c|0)==-1){return 0}q[a+72>>2]=b;q[a+48>>2]=842;q[a+4>>2]=843;q[a>>2]=844;o[a+69|0]=c;q[b>>2]=a;return 1}function ob(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+1>>>0>2]){a=r[b|0]|r[b+1|0]<<8;d=(a<<24|a<<8&16711680)>>>16|0;b=b+2|0}q[c+32>>2]=b;return d}function _k(a){var b=0,c=0,d=0,e=0;b=q[a+8>>2];c=q[a+12>>2];d=q[a>>2];e=q[a+4>>2];a=Sa(16);if(a){q[a+8>>2]=b;q[a+12>>2]=c;q[a>>2]=d;q[a+4>>2]=e}return a}function Xa(a,b){var c=0,d=0;d=q[a+20>>2];a:{b:{if(d){c=85;if(!n[d](a,b,0,0)){break b}break a}c=85;if(t[a+4>>2]>>0){break a}}q[a+8>>2]=b;c=0}return c}function VK(a,b,c){a=a|0;b=b|0;c=c|0;c=ji(c);if((c|0)==-1){return 0}q[a+72>>2]=b;q[a+48>>2]=842;q[a+4>>2]=846;q[a>>2]=847;o[a+69|0]=c;q[b>>2]=a;return 1}function rO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355252;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function qO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355336;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function pO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355364;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function oO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355280;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function nO(){var a=0,b=0;a=ab(1,36);a:{if(a){q[a+16>>2]=355308;q[a>>2]=65535;q[a+12>>2]=a+8;b=ab(65535,4);q[a+4>>2]=b;if(b){break a}La(a)}a=0}return a}function hy(a,b,c){a=a|0;b=b|0;c=c|0;return q[((b>>>0<=917999?r[(b&15|s[(b>>>3&62|r[(b>>>9|0)+180922|0]<<6)+201920>>1]<<4)+182716|0]:2)<<2)+218640>>2]}function Np(a,b,c){var d=0;d=q[a+12>>2];if(d){La(d)}d=q[a+8>>2];if(d){La(d)}d=a;if(b){b=eb(b)}else{b=0}q[d+12>>2]=b;if(c){b=eb(c)}else{b=0}q[a+8>>2]=b}function Hr(){var a=0;a=Sa(36);if(a){p[a+20>>1]=255;q[a+28>>2]=0;q[a+32>>2]=0;q[a+16>>2]=128;q[a+8>>2]=-1;q[a+12>>2]=-1;q[a+4>>2]=a;q[a>>2]=a}return a}function Do(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=q[a+540>>2];q[d>>2]=0;q[d+4>>2]=0;if(e){f=d,g=n[q[e+84>>2]](a,b,c)|0,q[f>>2]=g}return 0}function dt(a,b){var c=0;if(!(q[a>>2]!=q[b>>2]|q[a+4>>2]!=q[b+4>>2]|(q[a+8>>2]!=q[b+8>>2]|q[a+12>>2]!=q[b+12>>2]))){c=q[a+16>>2]==q[b+16>>2]}return c}function af(a,b,c){var d=0;d=Da-16|0;Da=d;a:{if(b&64){q[d+12>>2]=c+4;q[d>>2]=q[c>>2];a=Hg(a,b|557056,d);break a}a=Hg(a,b|557056,0)}Da=d+16|0;return a}function wK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+1|0];c=1<<(a&31);d=a>>>5&1;a=r[b|0];return c&q[((d|(r[(a>>>2&7)+492784|0]<<3|a<<1&6))<<2)+490512>>2]}function vs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Da-16|0;Da=c;q[b>>2]=0;d=gb(a,4,c+12|0);e=q[c+12>>2];if(!e){q[d>>2]=a;q[b>>2]=d}Da=c+16|0;return e|0}function uK(a,b){a=a|0;b=b|0;var c=0,d=0;a=r[b+1|0];c=1<<(a&31);d=a>>>5&1;a=r[b|0];return c&q[((d|(r[(a>>>2&7)+492528|0]<<3|a<<1&6))<<2)+490512>>2]}function dP(a,b){a=a|0;b=b|0;var c=0;c=q[a+20>>2]<<6;q[b>>2]=c;q[b+8>>2]=c+(q[a+32>>2]<<6);c=q[a+24>>2]<<6;q[b+12>>2]=c;q[b+4>>2]=c-(q[a+28>>2]<<6)}function ZL(a,b){var c=0;c=Da-16|0;Da=c;a=ye(a,qd(505279),0,c);a:{if(a){break a}a=2;if(q[c>>2]!=4){break a}q[b>>2]=q[c+8>>2];a=0}Da=c+16|0;return a}function Pi(a,b,c){a=a|0;b=b|0;c=c|0;a=q[c+76>>2];if(a){b=q[c+88>>2];c=0;while(1){o[(w(c,20)+b|0)+15|0]=0;c=c+1|0;if((c|0)!=(a|0)){continue}break}}}function pd(a,b,c,d){var e=0;e=Da-16|0;Da=e;a=ye(a,qd(b),c,e);a:{if(a){break a}a=2;if(q[e>>2]!=3){break a}q[d>>2]=q[e+8>>2];a=0}Da=e+16|0;return a}function iT(a,b){a=a|0;b=b|0;a=s[a+16>>1];a=1<<(a&31)&7168?a>>>8|0:0;b=s[b+16>>1];b=1<<(b&31)&7168?b>>>8|0:0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function xb(a){var b=0;b=a;a=it(a+52|0);a=t[a+16>>2]<54?271312:q[a+12>>2];a=r[a+18|0]<<8|r[a+19|0];a=a+ -16>>>0<16369?a:1e3;q[b+28>>2]=a;return a}function hF(a){a=a|0;hf(q[a+8>>2]);vl(q[a+4>>2]);wl(q[a>>2]);La(q[a+24>>2]);q[a+32>>2]=0;q[a+24>>2]=0;q[a+28>>2]=-1;La(q[a+424>>2]);q[a+424>>2]=0}function hB(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];Jd(c,b);q[a+24>>2]=q[c+204>>2]<<6;q[a+28>>2]=0-(q[c+208>>2]<<6);q[a+36>>2]=p[c+236>>1]<<6;return 0}function gs(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=q[a+12>>2];if((p[a+22>>1]+b|0)+p[a+58>>1]>>>0<=t[a+4>>2]){break a}c=Xb(a,b,0)}return c|0}function Ko(a,b){var c=0,d=0;if(!(!a|!b)){c=q[a>>2];if(c){while(1){d=q[c+4>>2];n[q[b+8>>2]](b,c);c=d;if(c){continue}break}}q[a>>2]=0;q[a+4>>2]=0}}function Kk(a){var b=0,c=0;a:{if(!q[a+20>>2]){break a}b=q[a>>2];if(!b){break a}c=q[a+28>>2];n[q[c+8>>2]](c,b);q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}function CM(a,b){var c=0;a=Cd(a,b);if(!a){return 0}c=q[b+4>>2];q[a>>2]=q[b>>2];q[a+4>>2]=c;c=q[b+12>>2];q[a+8>>2]=q[b+8>>2];q[a+12>>2]=c;return a}function SX(a){a=a|0;var b=0;b=a+24|0;$a(b,1668049255,1,1);a=q[160736];if(!a){kn();a=q[160736]}if(a&4){$a(b,1801810542,1,0)}$a(b,1818847073,1,0)}function Nk(a,b,c){var d=0;d=Da-16|0;Da=d;b=ye(a,qd(b),0,d);a:{if(b){break a}b=2;if(q[d>>2]!=6){break a}q[c>>2]=q[d+8>>2];b=0}Da=d+16|0;return b}function YG(a){var b=0,c=0;b=Da-16|0;Da=b;c=-1;a:{if(wp(a)){break a}if((n[q[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=r[b+15|0]}Da=b+16|0;return c}function lK(a){a=a|0;var b=0,c=0;a=q[a>>2];b=r[a|0];if(b){while(1){c=w(c,31)+(b<<24>>24)|0;b=r[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function ke(a){var b=0;a:{if(a){if(!q[a+ -8>>2]){break a}a=a+ -4|0;b=q[a>>2];if(!b){break a}q[a>>2]=b+1}return}I(355429,355403,444,355459);F()}function jT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=q[a+12>>2];q[d>>2]=0;if(!(!b|!c)){e=(n[q[a+36>>2]](a,b,c,d,q[a+68>>2])|0)!=0}return e|0}function hS(a){return a>>>0<=131068?r[((a&56|r[(r[(a>>>11|0)+272048|0]>>>(a>>>8&4)<<4&240|a>>>6&15)+272112|0]<<6)>>>3|0)+272240|0]>>>(a&7)&1:0}function RG(a,b,c,d,e){var f=0;f=Da-32|0;Da=f;if(b){q[f+16>>2]=0;q[f+8>>2]=c;q[f+4>>2]=b;q[f>>2]=1;a=Sh(a,f,d,e,1)}else{a=6}Da=f+32|0;return a}function FR(a){var b=0;b=ab(1,96);if(b){q[b+60>>2]=1;q[b+84>>2]=a;a=ab(1,32);q[b+88>>2]=a;if(!a){La(b);return 0}q[a+28>>2]=1}else{b=0}return b}function Bz(a){a=a|0;var b=0,c=0;q[a+28>>2]=0;b=q[a+36>>2];a:{if(!b){break a}c=q[a+32>>2];if(!c){break a}if(c){n[q[b+8>>2]](b,c)}q[a+32>>2]=0}}function Bd(a,b,c,d){var e=0;e=Da-16|0;Da=e;a=ye(a,b,c,e);a:{if(a){break a}a=2;if(q[e>>2]!=3){break a}q[d>>2]=q[e+8>>2];a=0}Da=e+16|0;return a}function vM(a,b){var c=0,d=0;c=Da-16|0;Da=c;q[c+12>>2]=0;b=Se(b);if(b){if(!tM(b,a,c+12|0)){q[c+12>>2]=0}cc(b);d=q[c+12>>2]}Da=c+16|0;return d}function tI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;b=We(a,1,q[a+144>>2],b,c,d,!r[a+480|0]);a:{if(!b){if(!aq(a)){break a}}e=b}return e|0}function jL(a){var b=0;b=Da-96|0;Da=b;a=xa(a|0,b+8|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}Da=b+96|0;return!a&(q[b+20>>2]&61440)==40960}function iH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=q[a+20>>2];d=q[a+16>>2]-e|0;d=d>>>0>c>>>0?c:d;Qa(e,b,d);q[a+20>>2]=d+q[a+20>>2];return c|0}function Qj(a,b){a:{if(!a){break a}a=q[a>>2];if(!a){break a}while(1){if(q[a+8>>2]==(b|0)){return a}a=q[a+4>>2];if(a){continue}break}}return 0}function LO(a,b){a=a|0;b=b|0;var c=0;if(!(Ta(q[a>>2],q[b>>2])|q[a+4>>2]!=q[b+4>>2]|q[a+8>>2]!=q[b+8>>2])){c=q[a+12>>2]==q[b+12>>2]}return c|0}function Fi(a){var b=0;while(1){b=r[a|0];if(!((b|0)!=9?(b|0)!=32:0)){a=a+1|0;continue}break}if(!Ce(a,3440,3)){return 1}return(Sb(a,0,10)|0)>0}function vO(a,b){a=a|0;b=b|0;var c=0;if(!(q[a>>2]!=q[b>>2]|v[a+8>>3]!=v[b+8>>3]|q[a+16>>2]!=q[b+16>>2])){c=q[a+20>>2]==q[b+20>>2]}return c|0}function rG(a,b,c,d){var e=0,f=0;f=d&65535;d=d>>>16&32767;a:{if((d|0)!=32767){e=4;if(d){break a}return a|c|(b|f)?3:2}e=!(a|c|(b|f))}return e}function QG(a,b){var c=0;c=Da-144|0;Da=c;c=Na(c,0,144);q[c+76>>2]=-1;q[c+44>>2]=a;q[c+32>>2]=1008;q[c+84>>2]=a;a=UG(c,b);Da=c+144|0;return a}function YL(a,b){var c=0;c=Da-16|0;Da=c;a=ye(a,10,0,c);a:{if(a){break a}a=2;if(q[c>>2]!=9){break a}q[b>>2]=q[c+8>>2];a=0}Da=c+16|0;return a}function MR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=Da-16|0;Da=e;a=Yo(q[b+4>>2],c,d,!q[a+48>>2],e+8|0);Da=e+16|0;return(a?0:q[e+8>>2])|0}function iR(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+4>>2];a:{if(c){break a}d=q[a>>2];c=ws(a+16|0,b,d);if(c){break a}c=ws(a+52|0,b,d)}return c|0}function Ve(a,b){var c=0,d=0,e=0;c=a+4|0;d=c;while(1){e=d;d=c;c=q[c>>2];if(c){continue}break}q[b>>2]=a;q[b+4>>2]=q[d>>2];q[b+8>>2]=q[e>>2]}function Ub(a,b){var c=0,d=0;a:{if(!a){break a}c=q[a+92>>2];if(!c){break a}b=n[q[q[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d}function NG(){var a=0,b=0;b=Gg(q[160942]);a=q[126999];a;if(r[441620]){Lc(441620,Wa(441620),1,a);te(58,a);te(32,a)}Lc(b,Wa(b),1,a);te(10,a)}function rs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;if(q[b+72>>2]==q[a+16>>2]){Te(b+108|0,c)}}function gb(a,b,c){if((b|0)<=0){q[c>>2]=b?6:0;return 0}a=n[q[a+4>>2]](a,b)|0;if(!a){q[c>>2]=!a<<6;return 0}a=Na(a,0,b);q[c>>2]=0;return a}function bH(a,b,c,d){if(a|b){while(1){c=c+ -1|0;o[c|0]=r[(a&15)+507936|0]|d;a=(b&15)<<28|a>>>4;b=b>>>4|0;if(a|b){continue}break}}return c}function Jr(a,b,c){q[a+752>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}q[a+760>>2]=b;q[a+756>>2]=c}function $G(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=q[b>>2]+15&-16;q[c>>2]=b+16;d=a,e=Tf(q[b>>2],q[b+4>>2],q[b+8>>2],q[b+12>>2]),v[d>>3]=e}function GK(a,b){a=a|0;b=b|0;var c=0;a=a+72|0;while(1){c=r[a+r[b|0]|0];if(!(c>>>0>21|!(1<>2]==-1){break a}a=gg(a,b);if(!a){break a}c=1;a=a+(b>>>3&28)|0;q[a>>2]=q[a>>2]|1<<(b&31)}return c}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=We(a,0,q[a+144>>2],b,c,d,!r[a+480|0]);a:{if(b){break a}if(aq(a)){break a}b=1}return b|0}function jy(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=1114109?r[(b&15|s[(b>>>3&62|r[(b>>>9|0)+163792|0]<<6)+195904>>1]<<4)+165968|0]:2)|0}function cs(a){var b=0;b=a>>31;b=(a|0)==-2147483648?2:b+a^b;a=((b+ -1|0)%3|0)+1|0;if((b|0)>=4){if((b|0)<=6){return a|8}a=a|4}return a}function XF(a,b,c,d){var e=0,f=0;if(a){e=q[a+12>>2];f=q[a+8>>2];a=q[a+4>>2]}else{a=0}if(b){q[b>>2]=a}if(c){q[c>>2]=f}if(d){q[d>>2]=e}}function MP(a,b){a=a|0;b=b|0;var c=0,d=0;c=q[a+16>>2];if(!(c>>>0>b>>>0|q[a+20>>2]+c>>>0<=b>>>0)){d=s[q[a+24>>2]+(b<<1)>>1]}return d|0}function KP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[q[b+488>>2]+4>>2];if(!c){return 7}return n[c](q[b+100>>2],a,q[b+420>>2],683,0,b)|0}function yM(a){var b=0,c=0;a:{while(1){c=w(b,12)+44e4|0;if(!dd(a,q[c>>2])){break a}b=b+1|0;if((b|0)!=57){continue}break}c=0}return c}function rz(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[q[b+544>>2]+4>>2];if(!c){return 7}return n[c](q[b+100>>2],a,q[b+16>>2],310,0,b)|0}function ky(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?r[(b&15|r[(b>>>4&15|r[(b>>>8|0)+176336|0]<<4)+176826|0]<<4)+177818|0]:0)|0}function EN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+28>>2]=c;c=0;a=ed(q[d>>2],d+8|0,0);if(a){c=q[a>>2]>=0?q[a+16>>2]:c;Cb(a)}return c|0}function CN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[d+28>>2]=c;c=0;a=ed(q[d>>2],d+8|0,0);if(a){c=q[a>>2]>=0?q[a+28>>2]:c;Cb(a)}return c|0}function qC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){q[b>>2]=q[a+152>>2]}if(c){q[c>>2]=q[a+156>>2]}if(d){q[d>>2]=q[a+160>>2]}return 0}function py(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Da-16|0;Da=e;a=ph(a,b,e+12|0);if(!a){Ej(c,q[e+12>>2],d)}Da=e+16|0;return a|0}function mL(a){var b=0,c=0,d=0;b=Da-16|0;Da=b;c=b,d=Qc(q[a>>2]),q[c>>2]=d;Ua(489842,b);Ck(q[a+4>>2]);Gb(32);fe(q[a+8>>2]);Da=b+16|0}function cA(a,b){a=a|0;b=b|0;var c=0;q[a+16>>2]=b;c=r[b+7|0];b=r[b+6|0];q[a+24>>2]=-1;q[a+28>>2]=0;q[a+32>>2]=(b<<8|c)>>>1;return 0}function UN(){var a=0;a=Sa(36);if(a){p[a+20>>1]=0;q[a+28>>2]=0;q[a+32>>2]=0;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0}return a}function Jb(a,b){var c=0;a:{b:{if(!b){break b}c=q[a+12>>2];if(!c){break b}a=n[c](a,b,q[a+16>>2])|0;if(a){break a}}a=271312}return a}function HC(a){a=a|0;var b=0,c=0;b=q[a+32>>2];if(b){c=q[q[a+16>>2]>>2];if(r[c|0]==30){sc(a,c,0,0)}q[b+184>>2]=513;return 0}return 3}function Qb(a){var b=0,c=0;c=q[a+4>>2];b=q[a>>2];if((c|0)>2]){b=q[b+12>>2];q[a+4>>2]=c+1;a=q[(c<<2)+b>>2]}else{a=0}return a}function OP(a,b){a=a|0;b=b|0;var c=0;b=q[a>>2];c=q[b+376>>2];q[a+16>>2]=c;q[a+20>>2]=q[b+380>>2]-c;q[a+24>>2]=q[b+384>>2];return 0}function Mg(a){var b=0,c=0;b=ue(a,47);if(!b){return eb(486402)}b=b-a|0;c=Sa(b+1|0);if(!c){return 0}a=Md(c,a,b);o[a+b|0]=0;return a}function FS(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(Tl(a,b,c)){break a}d=0;if(b>>>0>255){break a}d=Tl(a,b+61440|0,c)}return d|0}function aN(a){var b=0;b=4;if((a|0)<4){return a}a:{if((a|0)<8){break a}b=5;if((a|0)<124){break a}a=128-a|0;b=(a|0)>0?a:0}return b}function XK(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return wq(845,a,b,c,d,e,f,g,h,i,j)|0}function Th(a,b,c,d){var e=0;e=Da-32|0;Da=e;if(b){q[e+16>>2]=0;q[e+12>>2]=b;q[e>>2]=4;a=Sh(a,e,c,d,1)}else{a=6}Da=e+32|0;return a}function SK(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;return wq(848,a,b,c,d,e,f,g,h,i,j)|0}function FM(a){var b=0;b=q[160909];if(b){while(1){if(q[b+12>>2]==(a|0)){return q[b+4>>2]}b=q[b>>2];if(b){continue}break}}return 0}function SO(a){var b=0;b=wd(a,2);a:{if(!(!b|s[b>>1]==65535)){b=s[b+4>>1];if(b){break a}}b=w(q[a+12>>2]>>>1&1,300)+400|0}return b}function Lo(a,b){var c=0,d=0;if(!(!a|!b)){a=q[a>>2];while(1){if(!a){return}c=q[a+4>>2];d=n[b](a,0)|0;a=c;if(!d){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;if(nW(vu(b+24|0),c,d,e)){a=1}else{a=mW(om(b+52|0),c,d,e)}return a|0}function rH(a,b){var c=0;c=a&-16384;a=la(c|0,((a+b|0)+16383&-16384)-c|0,3)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function kT(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+12>>2];q[c>>2]=b;q[d>>2]=0;return(n[q[a+40>>2]](a,b,c,d,q[a+72>>2])|0)!=0|0}function dp(a){var b=0,c=0;a=a?a:1;while(1){a:{b=Sa(a);if(b){break a}c=q[161263];if(!c){break a}n[c]();continue}break}return b}function ME(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((c-b|0)+32&-64)|0;return a>>31&a}function LE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64|32;return((a|0)<0?32:a)|0}a=c-b&-64|32;return((a|0)<0?-32:0-a|0)|0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((c-b|0)+63&-64)|0;return a>>31&a}function EE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=(b+c|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((c-b|0)+16&-32)|0;return a>>31&a}function pr(a){var b=0;b=q[160909];if(b){while(1){if(q[b+12>>2]==(a|0)){return b+4|0}b=q[b>>2];if(b){continue}break}}return 0}function jn(a){var b=0,c=0;b=Da+ -64|0;Da=b;a:{if(!a|!r[a|0]){break a}a=hn(a);if(!a){break a}c=q[a+4>>2]}Da=b- -64|0;return c}function hR(a){a=a|0;q[a+12>>2]=1;q[a+16>>2]=0;q[a+4>>2]=0;q[a+76>>2]=0;q[a- -64>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0}function bR(a){a=a|0;q[a+12>>2]=2;q[a+16>>2]=0;q[a+4>>2]=0;q[a+76>>2]=0;q[a- -64>>2]=0;q[a+52>>2]=0;q[a+40>>2]=0;q[a+28>>2]=0}function jb(a){var b=0,c=0;if(q[a+20>>2]){b=q[a>>2];if(b){c=q[a+28>>2];n[q[c+8>>2]](c,b)}q[a>>2]=0}q[a+32>>2]=0;q[a+36>>2]=0}function NL(a){a:{if(!Td(a,442673)){break a}if(!Td(a,442680)){break a}if(!Td(a,442687)){break a}return!Td(a,442694)}return 1}function KN(a){ng(q[a+44>>2]);La(q[a+36>>2]);La(q[a+8>>2]);La(q[a+12>>2]);La(q[a+16>>2]);La(q[a+20>>2]);La(q[a+24>>2]);La(a)}function Be(a){if(a){La(q[a+16>>2]);La(q[a+20>>2]);q[a+16>>2]=0;q[a+20>>2]=0;q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}}function aR(a){a=a|0;var b=0;q[a+140>>2]=0;q[a+112>>2]=0;b=q[a+12>>2];ys(a+28|0,b);ys(a- -64|0,b);q[a+12>>2]=0;q[a+16>>2]=0}function aS(a,b,c,d){var e=0;e=Da-112|0;Da=e;yp(e,100,c,d);a=n[q[a+152>>2]](a,b,e,q[a+156>>2])|0;Da=e+112|0;return(a|0)!=0}function zN(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Da-16|0;Da=a;b=Yo(b,c,d,0,a+8|0);Da=a+16|0;return(b?0:q[a+8>>2])|0}function xB(a,b){a=a|0;b=b|0;var c=0;b=q[q[a>>2]+132>>2];c=r[b+104|0];q[a+16>>2]=c;q[a+20>>2]=(r[b+105|0]-c|0)+1;return 0}function rf(a){var b=0,c=0,d=0;c=a;b=q[a+32>>2];if(b+1>>>0>2]){d=r[b|0]|r[b+1|0]<<8;b=b+2|0}q[c+32>>2]=b;return d}function pI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;c=Da-16|0;Da=c;if(Ta(b,499162)){q[c>>2]=b;_a(a,2,499173,c)}Da=c+16|0}function XL(a){var b=0;if(q[a+12>>2]!=-1){q[a+12>>2]=q[a+12>>2]+1;return}b=q[a+8>>2]+a|0;a=q[b+4>>2];fr(a&1?(a&-2)+b|0:a)}function Ur(a){var b=0;b=q[a+28>>2];if(b){Wr(b)}b=q[a+32>>2];if(b){Wr(b)}La(q[a+24>>2]);La(q[a+8>>2]);La(q[a+4>>2]);La(a)}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Fh(a,b,c,1);if(!c){d=a;a=q[a+8>>2];q[d+8>>2]=b?a|32768:a&-32769}return c|0}function yD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Da-16|0;Da=d;q[d+4>>2]=c;q[d>>2]=b;Ua(1074,d);Jr(q[a+4>>2],b,c);Da=d+16|0}function gc(a){a=Z$(a);a:{if(a<-2147483648^1?!(a>2147483647):0){break a}}if(y(a)<2147483648){return~~a}return-2147483648}function cH(a,b,c){if(a|b){while(1){c=c+ -1|0;o[c|0]=a&7|48;a=(b&7)<<29|a>>>3;b=b>>>3|0;if(a|b){continue}break}}return c}function Ql(a,b,c,d){var e=0;e=ZS(q[a+16>>2],b+48|0,c,d,q[a+64>>2],q[a+60>>2]);a=_S(e,a,b,c,d);Wl(e);if(a){q[b+44>>2]=2}}function CG(a){var b=0,c=0;b=Da-32|0;Da=b;a=da(a|0,b+8|0)|0;c=1;a:{if(!a){break a}q[160942]=a;c=0}a=c;Da=b+32|0;return a}function wH(a,b,c){var d=0;b=b&255;while(1){if(!c){return 0}c=c+ -1|0;d=c+a|0;if((b|0)!=r[d|0]){continue}break}return d}function gm(){var a=0;a=ab(1,216);if(!a){return 641424}q[a+8>>2]=0;q[a>>2]=1;q[a+4>>2]=1;Qa(a+148|0,641572,68);return a}function eP(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];q[b+20>>2]=q[a+20>>2];q[b+24>>2]=q[a+24>>2];return Mn(c,a+28|0,b+28|0)|0}function Zp(a,b){var c=0,d=0;a:{if(!a){break a}c=q[a+28>>2];d=q[a+24>>2];if(d){n[d](a)}if(b){break a}n[q[c+8>>2]](c,a)}}function PU(a,b){var c=0;if(q[a+4>>2]){c=q[a+100>>2];if(c){n[c](q[a+32>>2])}q[a+100>>2]=0;q[a+168>>2]=798;q[a+32>>2]=b}}function LU(a,b){var c=0;if(q[a+4>>2]){c=q[a+116>>2];if(c){n[c](q[a+48>>2])}q[a+116>>2]=0;q[a+184>>2]=800;q[a+48>>2]=b}}function HU(a,b){var c=0;if(q[a+4>>2]){c=q[a+128>>2];if(c){n[c](q[a+60>>2])}q[a+128>>2]=0;q[a+196>>2]=803;q[a+60>>2]=b}}function CF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Tc(q[a>>2],c,4332);if(!a){return 64}q[d>>2]=a;q[e>>2]=0;return 0}function BF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Tc(q[a>>2],c,4346);if(!a){return 64}q[d>>2]=a;q[e>>2]=0;return 0}function ub(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(227120,227145,269,227160);F()}function kS(a){var b=0;if(q[a+4>>2]){b=q[a+96>>2];if(b){n[b](q[a- -64>>2])}q[a- -64>>2]=0;q[a+32>>2]=424;q[a+96>>2]=0}}function jc(a,b){var c=0;c=xc(q[a>>2],a);c=c+(c>0?.5:-.5);a:{if(y(c)<2147483648){a=~~c;break a}a=-2147483648}q[b>>2]=a}function ht(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(272496,272521,269,272536);F()}function SS(a){a:{if(!(!a|!q[a>>2])){if(q[a>>2]<=0){break a}q[a>>2]=q[a>>2]+1}return a}I(271220,271245,269,271260);F()}function ro(a,b){a=a|0;b=b|0;a=q[a+4>>2]|q[a>>2]<<16;b=q[b+4>>2]|q[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function mI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=q[a>>2];if(!d){break a}if(Dq(d+12|0,b,c)){break a}_a(a,2,499215,0)}}function Sj(a,b){var c=0,d=0;c=Da-16|0;Da=c;LG(c,a,b);d=Tf(q[c>>2],q[c+4>>2],q[c+8>>2],q[c+12>>2]);Da=c+16|0;return d}function MU(a){var b=0;if(q[a+4>>2]){b=q[a+112>>2];if(b){n[b](q[a+44>>2])}q[a+112>>2]=0;q[a+180>>2]=477;q[a+44>>2]=0}}function HQ(a,b){a=a|0;b=b|0;var c=0;c=q[a>>2];a=q[a+4>>2];ff(b,c>>6,a>>6);q[b+212>>2]=a<<2;q[b+208>>2]=c<<2;return 0}function sK(a,b){a=a|0;b=b|0;a=1;a:{if(r[b|0]<194){break a}b=r[b+1|0];if(!(b&128)){break a}a=(b&192)==192}return a|0}function rK(a,b){a=a|0;b=b|0;a:{a=q[a>>2];b=q[b>>2];if(r[a|0]!=r[b|0]){break a}if(Ta(a,b)){break a}return 1}return 0}function jS(a){var b=0;if(q[a+4>>2]){b=q[a+100>>2];if(b){n[b](q[a+68>>2])}q[a+68>>2]=0;q[a+36>>2]=425;q[a+100>>2]=0}}function iS(a){var b=0;if(q[a+4>>2]){b=q[a+104>>2];if(b){n[b](q[a+72>>2])}q[a+72>>2]=0;q[a+40>>2]=426;q[a+104>>2]=0}}function Gk(a){var b=0;b=Sa(20);if(!b){return 0}q[b+16>>2]=a;q[b+8>>2]=0;q[b+12>>2]=0;q[b>>2]=1;q[b+4>>2]=0;return b}function sH(a,b){a=a|0;b=b|0;a:{b=(b|0)!=0;if((b|0)==r[a+428|0]){break a}o[a+428|0]=b;if(!q[a+8>>2]){break a}Jh(a)}}function qp(a,b,c,d,e,f,g,h,i){q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=d;q[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function od(){var a=0;a=Sa(20);if(!a){return 0}q[a+4>>2]=0;q[a+8>>2]=0;q[a>>2]=1;q[a+12>>2]=0;q[a+16>>2]=0;return a}function nj(a){a=a|0;var b=0,c=0;b=q[q[a>>2]+100>>2];c=q[a+20>>2];if(c){n[q[b+8>>2]](b,c)}q[a+16>>2]=0;q[a+20>>2]=0}function fd(a){var b=0,c=0;b=q[a>>2];while(1){c=r[b|0];if(!((c|0)!=9?(c|0)!=32:0)){b=b+1|0;continue}break}q[a>>2]=b}function _r(a){var b=0,c=0;b=qN();if(!b){return 7}c=YF(b,a);a:{if(c){La(b);break a}tP(q[a>>2])}sP(q[a>>2]);return c}function TU(a){var b=0;if(q[a+4>>2]){b=q[a+84>>2];if(b){n[b](q[a+16>>2])}q[a+84>>2]=0;q[a+152>>2]=472;q[a+16>>2]=0}}function Qc(a){var b=0;b=a+ -1|0;if(b>>>0<=50){return q[(b<<3)+439584>>2]}b=pr(a);if(b){return q[b>>2]}return FM(a)}function Hy(a){a=a|0;var b=0,c=0;b=q[a+868>>2];if(b){c=q[a+100>>2];zb(q[a+104>>2],b+12|0);if(b){n[q[c+8>>2]](c,b)}}}function Gy(a){a=a|0;var b=0,c=0;b=q[a+872>>2];if(b){c=q[a+100>>2];zb(q[a+104>>2],b+16|0);if(b){n[q[c+8>>2]](c,b)}}}function tn(a){a=a|0;var b=0,c=0;b=q[a+28>>2];c=q[a>>2];if(c){n[q[b+8>>2]](b,c)}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0}function nS(a){var b=0;if(q[a+4>>2]){b=q[a+80>>2];if(b){n[b](q[a+48>>2])}q[a+48>>2]=0;q[a+16>>2]=421;q[a+80>>2]=0}}function mS(a){var b=0;if(q[a+4>>2]){b=q[a+88>>2];if(b){n[b](q[a+56>>2])}q[a+56>>2]=0;q[a+24>>2]=422;q[a+88>>2]=0}}function lS(a){var b=0;if(q[a+4>>2]){b=q[a+92>>2];if(b){n[b](q[a+60>>2])}q[a+60>>2]=0;q[a+28>>2]=423;q[a+92>>2]=0}}function jd(a,b,c,d){var e=0;e=Da-16|0;Da=e;if(q[a+152>>2]){q[e+12>>2]=d;a=aS(a,b,c,d)}else{a=1}Da=e+16|0;return a}function fz(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=lb(b,162752,a+160|0)}return c|0}function aP(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=So(q[a>>2],p[a+22>>1],p[a+20>>1],b);if(!c){Ro(a+20|0,b)}return c|0}function Wy(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=lb(b,163376,a+568|0)}return c|0}function Uy(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=lb(b,162752,a+160|0)}return c|0}function JF(a){a=a|0;var b=0,c=0;b=q[a>>2];if(b){c=q[a+28>>2];n[q[c+8>>2]](c,b)}q[a>>2]=0;q[a+4>>2]=0;q[a+24>>2]=0}function $y(a,b){a=a|0;b=b|0;var c=0;c=n[q[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=lb(b,163248,a+476|0)}return c|0}function zb(a,b){var c=0;if(!(!a|!q[a+20>>2])){c=q[b>>2];if(c){a=q[a+28>>2];n[q[a+8>>2]](a,c)}q[b>>2]=0}q[b>>2]=0}function Z$(a){var b=0,c=0;b=C(a);c=a-b;if(!(c<.5)){a=D(a);if(c>.5){return a}c=a;a=b*.5;b=a-C(a)==0?b:c}return b}function KE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c&-64;return((a|0)>0?a:0)|0}a=0-(c-b&-64)|0;return a>>31&a}function Ud(){var a=0,b=0;a:{if(!r[643632]){a=nH(U(0)|0);o[643632]=1;break a}a=Dp(643376)}b=lH();Dp(a);return b}function Ic(a){var b=0;b=Sa(8);if(!b){return 0}q[b>>2]=a;if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1}q[b+4>>2]=0;return b}function yR(a,b){a=a|0;b=b|0;q[a+24>>2]=q[b+20>>2];q[a+4>>2]=q[b>>2];q[a+28>>2]=q[b+24>>2];Ls(a,b,0);Ls(a,b,1)}function fk(a){var b=0;a=Hg(a,589824,0);if((a|0)>=0){b=ab(1,2080);if(!b){O(a|0)|0;return 0}q[b>>2]=a}return b}function YO(a){var b=0,c=0;if(a){b=q[q[a>>2]>>2];c=q[q[a+4>>2]+12>>2];if(c){n[c](a)}if(a){n[q[b+8>>2]](b,a)}}}function Tq(a){var b=0;a:{if(!a){break a}a=q[a>>2];if(!a){break a}b=a;a=q[a+4>>2];b=a&1?b+(a&-2)|0:a}return b}function TG(a,b){var c=0;c=Da-16|0;q[c+12>>2]=a;a=((b<<2)-(((b|0)!=0)<<2)|0)+a|0;q[c+8>>2]=a+4;return q[a>>2]}function XU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;q[d+4>>2]=0;q[d+8>>2]=0;q[d+12>>2]=0;return 0}function qz(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;q[c+12>>2]=0;ph(a,b,c+12|0);Da=c+16|0;return q[c+12>>2]}function un(a,b){a=a|0;b=b|0;a=q[q[a>>2]+4>>2];b=q[q[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function uc(a){if(q[a+4>>2]){La(q[a>>2]);q[a>>2]=a+20;q[a+12>>2]=0;q[a+16>>2]=64;q[a+4>>2]=0;q[a+8>>2]=0}}function Qh(a,b,c){var d=0;d=b;b=b>>31;a:{if(q[a+76>>2]<=-1){a=Rh(a,d,b,c);break a}a=Rh(a,d,b,c)}return a}function zG(a,b){var c=0;if(!(!a|!b)){c=q[a+4>>2];q[b>>2]=c;q[b+4>>2]=0;q[(c?c+4|0:a)>>2]=b;q[a+4>>2]=b}}function uU(a){a=a|0;var b=0;b=q[a+8>>2]+ -1|0;q[a+8>>2]=b;if(!b){b=q[a+4>>2];if(b){n[b](q[a>>2])}La(a)}}function uO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=4){a=q[126999];Lc(4024,6,1,a);Nh(a,b,c);te(10,a)}}function uH(a,b){var c=0;a=Gg(a);c=Wa(a);if(c>>>0>=1024){Qa(b,a,1023);o[b+1023|0]=0;return}Qa(b,a,c+1|0)}function Pg(){var a=0;a=Sa(16);if(!a){return 0}q[a+12>>2]=1;q[a>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0-a;return a}function fH(a){if(q[a+76>>2]>=0){Rh(a,0,0,0);q[a>>2]=q[a>>2]&-33;return}Rh(a,0,0,0);q[a>>2]=q[a>>2]&-33}function LJ(a){a=a|0;a=q[a>>2];return w(w(w(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function IF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;if(!b){return 81}return kd(b,333319,e)|0}function HF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;if(!b){return 81}return kd(b,333312,e)|0}function rU(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 n[q[f+12>>2]](a,b,c,d,e,q[f>>2])|0}function Vn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Da-16|0;Da=d;a=gb(a,w(b,c),d+12|0);Da=d+16|0;return a|0}function Uk(){var a=0;a=Sa(16);if(!a){return 0}q[a+8>>2]=0;q[a+12>>2]=0;q[a>>2]=1;q[a+4>>2]=0;return a}function OA(a,b){a=a|0;b=b|0;b=q[a>>2];q[a+16>>2]=q[q[b+140>>2]+52>>2];q[a+20>>2]=q[b+144>>2];return 0}function O$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(q[160276]>=(a|0)){Ua(1024,0);Nh(q[126998],b,c);Gb(10)}}function Lz(a,b){a=a|0;b=b|0;var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;a=xn(a,c+12|0,0);Da=c+16|0;return a|0}function IE(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>=0){a=b+c|0;return((a|0)>0?a:0)|0}a=b-c|0;return a>>31&a}function Dp(a){var b=0;b=q[160617]+ -4|0;q[b>>2]=q[160961]|(q[160618]<<8|q[160616]<<16);mH(a);return b}function DL(a,b){var c=0,d=0,e=0;c=Wa(a);e=Wa(b)+1|0;d=Sa(c+e|0);if(d){Qa(Qa(d,a,c)+c|0,b,e)}return d}function zi(a){var b=0;if(a){q[q[a>>2]+4>>2]=0;while(1){b=q[a+4>>2];La(a);a=b;if(a){continue}break}}}function yI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;q[a+156>>2]=b;q[a+160>>2]=c;q[a+164>>2]=d;q[a+168>>2]=0}function wA(a){if(r[a+560|0]&8){Qa(q[a+96>>2],q[a+100>>2],q[a+52>>2]);p[a+560>>1]=s[a+560>>1]&65527}}function qc(a,b,c){var d=0;W$(c,0,b,0);if(!Ea){b=w(b,c);d=db(a,b?b:1)}q[160942]=d?0:48;return d?d:a}function ly(){var a=0;a=sS();nS(a);mS(a);lS(a);kS(a);jS(a);iS(a);if(q[a+4>>2]){q[a+4>>2]=0}return a}function Xl(a,b){a=q[a+20>>2]+w(b,56)|0;La(q[a+28>>2]);La(q[a+44>>2]);La(q[a+48>>2]);La(q[a+52>>2])}function TC(a,b){a=a|0;b=b|0;a=q[a+712>>2];o[b|0]=0;if(!(!a|q[a+1504>>2]==65535)){o[b|0]=1}return 0}function Fj(a,b,c){if((b|0)>=1){a=n[q[a+4>>2]](a,b)|0;q[c>>2]=!a<<6;return a}q[c>>2]=b?6:0;return 0}function hb(a,b,c,d){var e=0;e=Da-16|0;Da=e;q[e+12>>2]=d;n[q[a+20>>2]](b,c,d,q[a+24>>2]);Da=e+16|0}function aO(a,b){var c=0,d=0;La(q[a+828>>2]);Qa(a+824|0,b,144);c=a,d=eb(q[a+828>>2]),q[c+828>>2]=d}function TO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[a+12>>2];n[q[a>>2]](q[a+4>>2],c,b,d)|0;return d|0}function sE(a,b,c){a=a|0;b=b|0;c=c|0;if(Ta(b,5487)){a=12}else{q[c>>2]=q[a- -64>>2];a=0}return a|0}function li(a,b){var c=0;b=Pd(b);c=0;a:{if(!b){break a}c=1;if(xf(a,b)){break a}La(b);c=0}return c}function WU(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;q[f>>2]=0;q[e>>2]=0;return 0}function Ad(a,b){var c=0;b=eb(b);c=0;a:{if(!b){break a}c=1;if(xf(a,b)){break a}La(b);c=0}return c}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[q[q[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Fg(a,b){var c=0;c=be(a,0,b);c=c?c-a|0:b;b=Sa(c+1|0);if(b){Qa(b,a,c);o[b+c|0]=0}return b}function Aq(a){var b=0;b=Da-96|0;Da=b;a=jg(a,b+8|0);Da=b+96|0;return!a&(q[b+20>>2]&61440)==32768}function Ai(a,b){var c=0;c=+(b|0)+0*+r[a|0];if(c<4294967296&c>=0){o[a|0]=~~c>>>0;return}o[a|0]=0}function $f(a){var b=0;b=Da-96|0;Da=b;a=jg(a,b+8|0);Da=b+96|0;return!a&(q[b+20>>2]&61440)==16384}function my(a,b){a=a|0;b=b|0;var c=0;c=q[q[a+12>>2]+48>>2];if(!c){return 150}return n[c](a,b)|0}function fg(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;q[c+8>>2]=a;a=hM(c+8|0);Da=c+16|0;return a}function UB(a){a=a|0;var b=0;b=bc(q[a+4>>2],17983);if(!b){return 11}q[a+28>>2]=q[b>>2];return 0}function y_(a,b,c){a=a|0;b=b|0;c=c|0;b=r[b+1|0]|r[b|0]<<8;return(yb(b?b+c|0:271312,a)|0)!=-1|0}function sU(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[q[e+12>>2]](a,b,c,0,d,q[e>>2])|0}function HH(a){a=a|0;var b=0;b=q[a+8>>2];if(b){Xc(b)}b=q[a+4>>2];if(b){je(b)}cc(q[a>>2]);La(a)}function EG(a,b,c){c=c&3;o[c+a|0]=b>>>24;o[(c^1)+a|0]=b>>>16;o[(c^2)+a|0]=b>>>8;o[(c^3)+a|0]=b}function DF(a){a=a|0;var b=0;b=q[a+8>>2];if(b){hf(b);q[a+8>>2]=0}La(q[a+424>>2]);q[a+424>>2]=0}function qs(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[q[a+12>>2]+56>>2]+12>>2]](q[a+52>>2],b,c)|0}function UQ(a,b,c){a=a|0;b=b|0;c=c|0;c=q[a+104>>2];p[a+144>>1]=0-c;q[a+140>>2]=0-w(p[b>>1],c)}function qN(){var a=0;a=Sa(16);if(a){q[a+12>>2]=5;q[a+4>>2]=6;q[a>>2]=0;q[a+8>>2]=7}return a}function cg(a,b,c){q[a+12>>2]=0;q[a+4>>2]=0;q[a+8>>2]=0;q[a+16>>2]=b?c:64;q[a>>2]=b?b:a+20|0}function _T(a){a=a|0;a=a+24|0;$a(a,1818914159,0,1);$a(a,1986686319,0,1);$a(a,1953131887,0,1)}function PB(a){a=a|0;if(Qj(q[q[a>>2]+504>>2]+108|0,q[a+44>>2])){gp(q[a+44>>2]);q[a+44>>2]=0}}function tQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$b(a,q[a+8>>2]);return Xg(a,q[a+8>>2],b,c,d)|0}function mH(a){q[160617]=a+4;a=q[a>>2];q[160616]=a>>>16;q[160961]=a&255;q[160618]=a>>>8&255}function iA(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=0;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function dA(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=2;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function cn(a){a=bn(a+156|0);a=t[a+16>>2]<8?271312:q[a+12>>2];return(r[a|0]<<8|r[a+1|0])!=0}function Zz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=4;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function Vz(a,b){a=a|0;b=b|0;a=q[a+16>>2];q[b+4>>2]=6;q[b>>2]=r[a+5|0]|r[a+4|0]<<8;return 0}function Fb(a,b){var c=0,d=0,e=0;c=b;b=q[a>>2];d=c,e=xc(b,a),v[d>>3]=e;return(b|0)!=q[a>>2]}function $O(a,b,c){a=a|0;b=b|0;c=c|0;if(b){ce(a+20|0,b)}if(c){oc(a+20|0,q[c>>2],q[c+4>>2])}}function xR(a,b,c){a=a|0;b=b|0;c=c|0;if(b){q[b>>2]=q[a+9768>>2]}if(c){q[c>>2]=q[a+252>>2]}}function uT(a,b){a=a|0;b=b|0;a=r[a+19|0];b=r[b+19|0];return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function aQ(a){a=a|0;var b=0,c=0;b=q[a>>2];c=q[a+4>>2];if(c){n[q[b+8>>2]](b,c)}q[a+4>>2]=0}function WO(a,b){a=ed(q[a+736>>2],b,a);a:{if(a){if(q[a>>2]){break a}Cb(a)}a=0}return a} +function Vp(a){return Xp(a,498684,502960,0,1)}function BE(a){a=a|0;return q[q[a+8>>2]+8>>2]}function $Y(a,b){a=a|0;b=b|0;return Wu(a,b)|0}function qZ(a,b,c){a=a|0;b=b|0;c=c|0;iO(b,c)}function eZ(a,b,c){a=a|0;b=b|0;c=c|0;fO(b,c)}function RD(a,b){a=a|0;b=b|0;Xl(q[a+8>>2],b)}function PW(a,b,c){a=a|0;b=b|0;c=c|0;bO(b,c)}function Ox(a){a=a|0;return q[a>>2]==65535|0}function KW(a,b,c){a=a|0;b=b|0;c=c|0;aO(b,c)}function KC(a,b){a=a|0;b=+b;return zC(a,b)|0}function JV(a,b,c){a=a|0;b=b|0;c=c|0;Xl(b,c)}function BX(a,b,c){a=a|0;b=b|0;c=c|0;dO(b,c)}function ur(a,b){a=a|0;b=b|0;return Sa(b)|0}function rE(a){a=a|0;return vt(q[a+8>>2])|0}function qW(a,b){a=a|0;b=b|0;return FR(b)|0}function pj(a){a=a|0;q[q[a+156>>2]+36>>2]=0}function kb(a,b){q[a+168>>2]=b;P(a|0,1);F()}function hX(a,b,c){a=a|0;b=b|0;c=+c;cO(b,c)}function eW(a,b){a=a|0;b=b|0;return vt(b)|0}function dE(a){a=a|0;return q[q[a+8>>2]>>2]}function cl(a,b){return(gk(a,b)|0)==-1?-1:0}function _G(a){a=a|0;return O(q[a+60>>2])|0}function ZC(a){a=a|0;return q[a+8>>2]>>>9&1}function XX(a,b,c){a=a|0;b=b|0;c=+c;Jr(b,c)}function XV(a,b){a=a|0;b=b|0;return rt(b)|0}function X$(a,b,c,d){a=S$(a,b,c,d);return a}function W$(a,b,c,d){a=R$(a,b,c,d);return a}function VY(a,b){a=a|0;b=b|0;return Or(b)|0}function V$(a,b,c,d){a=Q$(a,b,c,d);return a}function LX(a,b,c){a=a|0;b=b|0;c=+c;eO(b,c)}function t_(a,b){a=a|0;b=b|0;q[a+136>>2]=b}function mw(a,b){a=a|0;b=b|0;q[a+108>>2]=b}function l$(a,b){a=a|0;b=b|0;q[a+120>>2]=b}function Y_(a,b){a=a|0;b=b|0;q[a+124>>2]=b}function M$(a,b){a=a|0;b=b|0;q[a+112>>2]=b}function Ht(a,b,c){a=a|0;b=b|0;c=c|0;UT(b)}function B$(a,b){a=a|0;b=b|0;q[a+116>>2]=b}function Aw(a,b){a=a|0;b=b|0;q[a+104>>2]=b}function yh(a,b){a=a|0;b=b|0;q[a+20>>2]=b}function ue(a,b){return wH(a,b,Wa(a)+1|0)}function qh(a,b){a=a|0;b=b|0;q[a+24>>2]=b}function nm(a,b){a=a|0;b=b|0;q[a+36>>2]=b}function mz(a,b){a=a|0;b=b|0;q[a+64>>2]=b}function mn(a,b){a=a|0;b=b|0;q[a+80>>2]=b}function ip(a,b,c,d){return Sh(a,b,c,d,1)}function gj(a,b){a=a|0;b=b|0;q[a+12>>2]=b}function _z(a,b){a=a|0;b=b|0;q[a+56>>2]=b}function Zl(a,b){a=a|0;b=b|0;q[a+40>>2]=b}function Wi(a,b){a=a|0;b=b|0;q[a+28>>2]=b}function Vy(a,b){a=a|0;b=b|0;q[a+68>>2]=b}function UO(a){a=a|0;La(q[a+12>>2]);La(a)}function Of(a,b){a=a|0;b=b|0;q[a+16>>2]=b}function OO(a,b){a=a|0;b=b|0;q[a+48>>2]=b}function L_(a,b){a=a|0;b=+b;v[a+128>>3]=b}function Hz(a,b){a=a|0;b=b|0;q[a+60>>2]=b}function Eg(a,b){tc(Wa(a)+a|0,b);return a}function Cy(a,b){a=a|0;b=b|0;q[a+76>>2]=b}function Bs(a,b){a=a|0;b=b|0;q[a+44>>2]=b}function $u(a,b){a=a|0;b=b|0;q[a+32>>2]=b}function yg(a,b){a=a|0;b=b|0;q[a+4>>2]=b}function wx(a,b){a=a|0;b=+b;v[a+72>>3]=b}function wh(a,b){a=a|0;b=b|0;q[a+8>>2]=b}function ng(a){Lb(a);La(q[a+4>>2]);La(a)}function mk(a,b){return li(q[a+12>>2],b)}function kI(a,b){a=a|0;b=b|0;q[160276]=b}function ix(a,b){a=a|0;b=+b;v[a+88>>3]=b}function iP(a){a=a|0;se(q[a+4>>2]);La(a)}function ay(a,b){a=a|0;b=+b;v[a+56>>3]=b}function Uw(a,b){a=a|0;b=+b;v[a+96>>3]=b}function Nx(a,b){a=a|0;b=+b;v[a+64>>3]=b}function Cn(a,b){a=a|0;b=+b;v[a+48>>3]=b}function zk(a,b){a=a|0;b=+b;v[a+8>>3]=b}function t$(a){a=a|0;return q[a+120>>2]}function sw(a){a=a|0;return q[a+108>>2]}function po(a){a=a|0;return q[a+364>>2]}function mF(a){a=a|0;Eo(a);o[a+112|0]=0}function fP(a){a=a|0;Kn(q[a>>2],a+28|0)}function ew(a){a=a|0;return q[a+112>>2]}function dl(a){if((a|0)!=438240){La(a)}}function di(a,b,c,d){return fJ(a,b,c,d)}function bP(a){a=a|0;UF(q[a>>2],a+20|0)}function b$(a){a=a|0;return q[a+124>>2]}function Yj(a,b,c){return _j(a,b,c,0,0)}function YE(a){a=a|0;return s[a+256>>1]}function U_(a){a=a|0;return+v[a+128>>3]}function Lw(a){a=a|0;return q[a+104>>2]}function H$(a){a=a|0;return q[a+116>>2]}function B_(a){a=a|0;return q[a+136>>2]}function xz(a){a=a|0;return q[a+64>>2]}function th(a){a=a|0;return q[a+24>>2]}function sm(a){a=a|0;return q[a+36>>2]}function qx(a){a=a|0;return+v[a+88>>3]}function on(a){a=a|0;return q[a+80>>2]}function oh(a){a=a|0;return q[a+28>>2]}function ij(a){a=a|0;return q[a+12>>2]}function ig(a,b){a=a|0;b=b|0;q[a>>2]=b}function gQ(a){a=a|0;return q[a+48>>2]}function gA(a){a=a|0;return q[a+56>>2]}function fm(a){a=a|0;return q[a+40>>2]}function ez(a){a=a|0;return q[a+68>>2]}function et(a){a=a|0;return q[a+44>>2]}function dy(a){a=a|0;return+v[a+56>>3]}function bx(a){a=a|0;return+v[a+96>>3]}function aG(a){a=a|0;return r[a+428|0]}function Wx(a){a=a|0;return+v[a+64>>3]}function VS(a){a=a|0;Pa(q[a>>2]);La(a)}function Pz(a){a=a|0;return q[a+60>>2]}function Pf(a){a=a|0;return q[a+16>>2]}function Ny(a){a=a|0;return q[a+76>>2]}function Nh(a,b,c){_j(a,b,c,1004,1005)}function Fx(a){a=a|0;return+v[a+72>>3]}function Fv(a){a=a|0;return q[a+32>>2]}function Fn(a){a=a|0;return+v[a+48>>3]}function Ah(a){a=a|0;return q[a+20>>2]}function zg(a){a=a|0;return q[a+4>>2]}function yl(a,b){a=a|0;b=b|0;return 0}function xh(a){a=a|0;return q[a+8>>2]}function iG(a){a=a|0;return Ga(a|0)|0}function h_(a,b){a=a|0;b=+b;v[a>>3]=b}function gd(a){if(a){La(q[a+ -4>>2])}}function Yq(a,b){return Zq(a,b,833,0)}function Og(a,b,c){return ye(a,b,0,c)}function Md(a,b,c){tH(a,b,c);return a}function Jk(a){a=a|0;return+v[a+8>>3]}function Gg(a){return BH(a,q[160602])}function yQ(a){a=a|0;$b(a,q[a+8>>2])}function hG(a,b){a=a|0;b=b|0;n[a](b)}function RF(a,b){a=a|0;b=b|0;NF(a,b)}function OZ(a){a=a|0;return 20971520}function NB(a){a=a|0;UH(q[a+160>>2])}function Il(a,b,c){a=a|0;b=b|0;c=c|0}function sp(a,b,c){_j(a,b,c,1004,0)}function qF(a){a=a|0;jb(q[a+24>>2])}function o_(a){a=a|0;return+v[a>>3]}function lg(a){a=a|0;return q[a>>2]}function _Q(a){a=a|0;return a+112|0}function Zh(a,b,c){return cI(a,b,c)}function ZQ(a){a=a|0;return a+140|0}function Wp(a,b){return ai(a,b,1,1)}function $Q(a){a=a|0;return a+100|0}function wZ(a,b){a=a|0;b=b|0;wl(b)}function rr(a,b){a=a|0;b=b|0;La(b)}function kW(a,b){a=a|0;b=b|0;hf(b)}function fV(a,b){a=a|0;b=b|0;$N(b)}function aZ(a,b){a=a|0;b=b|0;Ul(b)}function MY(a,b){a=a|0;b=b|0;vl(b)}function JO(a,b){a=a|0;b=b|0;NO(b)}function HZ(a){a=a|0;return Pr()|0}function CV(a,b){a=a|0;b=b|0;dt(b)}function tc(a,b){vH(a,b);return a}function io(a){a=a|0;q[a+16>>2]=0}function b_(a){a=a|0;if(a){La(a)}}function Wh(a){bd(q[a>>2]);La(a)}function qe(a,b){return I$(a,b)}function jg(a,b){return gk(a,b)}function Qe(a,b){return Kd(a,b)}function Gb(a){te(a,q[126998])}function yi(a){gd(q[a+20>>2])}function lo(a){a=a|0;return 1}function Pn(a){a=a|0;return 0}function jC(a,b){a=a|0;b=b|0}function VZ(){return cp(1)|0}function ET(){return 256} -function Rs(a,b,c){a=a|0;b=b|0;c=c|0;if(b){q[b>>2]=q[a+7704>>2]}if(c){q[c>>2]=q[a+252>>2]}}function ZU(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;q[d>>2]=0;return 1}function YU(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;q[d>>2]=0;return 0}function PK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=zq(a,b,c,d);if(a){o[a+130|0]=23}return a|0}function PA(a,b){a=a|0;b=b|0;a=q[a+4>>2];b=q[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Cf(){var a=0;a=Sa(12);if(!a){return 0}q[a+8>>2]=0;q[a>>2]=0;q[a+4>>2]=0;return a}function Bc(a,b,c){b=mb(a,b);if(!b){q[c>>2]=q[a+32>>2];q[a+32>>2]=0;q[a+36>>2]=0}return b}function ek(a,b,c){a=ra(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Uh(a,b,c){a=pa(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function OE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[b+12>>2]+(c<<3)|0;q[a+4>>2]=q[a+4>>2]+d}function FG(a,b){b=b&3;return r[(b^1)+a|0]<<16|r[a+b|0]<<24|r[(b^2)+a|0]<<8|r[(b^3)+a|0]}function oF(a){a=a|0;q[a+304>>2]=-1;q[a+308>>2]=-1;q[a+116>>2]=-1;o[a+112|0]=0;return 0}function $$(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function po(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ej(c,q[q[a+424>>2]+(b<<2)>>2],d);return 0}function jO(a,b){var c=0,d=0;La(q[a>>2]);if(!b){q[a>>2]=0;return}c=a,d=eb(b),q[c>>2]=d}function QV(a,b,c){a=a|0;b=b|0;c=c|0;a=q[b+16>>2]+w(c,144)|0;La(q[a>>2]);La(q[a+4>>2])}function My(a){a=a|0;zb(q[a+104>>2],a+788|0);q[a+800>>2]=0;q[a+792>>2]=0;q[a+796>>2]=0}function gB(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+176>>2];q[c>>2]=q[a+180>>2];return 0}function bG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=JR(b,c,d,e);K(Ea|0);return a|0}function _$(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function XX(a,b){a=a|0;b=b|0;a=s[a>>1];b=s[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function UA(a,b,c){a=a|0;b=b|0;c=c|0;q[b>>2]=q[a+132>>2];q[c>>2]=q[a+136>>2];return 0}function PF(a,b){a=a|0;b=b|0;a=p[a>>1];b=p[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function Mc(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;a=Yj(a,b,c);Da=d+16|0;return a}function FD(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=n[q[b+52>>2]](b,0,0,0)|0,q[c+544>>2]=d}function VU(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){o[d|0]=0}return 0}function RE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=q[b+12>>2]+(c<<3)|0;q[a>>2]=q[a>>2]+d}function xD(a,b){a=a|0;b=b|0;return n[q[q[q[q[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function cG(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 tl(b,c,d,e,f)|0}function zD(a,b){a=a|0;b=b|0;return n[q[q[q[q[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function kP(a){a=a|0;var b=0;b=Da-32|0;Da=b;a=Zr(q[a+4>>2],b);Da=b+32|0;return!a|0}function jH(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;yp(a,4096,354652,b);Da=c+16|0}function ik(a,b){a=za(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}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;ql(b,c,d,e,f)}function Vj(a,b){a=ha(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Re(a,b){a=qa(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Gp(a,b){a=oa(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function lp(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;a=QG(a,b);Da=c+16|0;return a}function gk(a,b){a=W(a|0,b|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function wB(a,b){a=a|0;b=b|0;b=b-q[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function vF(a,b,c){a=a|0;b=b|0;c=c|0;rl(q[a+4>>2],b,c);q[a+12>>2]=b;q[a+16>>2]=c}function Xh(a){a=ya(a|0,493)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function Ua(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;Yj(q[126998],a,b);Da=c+16|0}function Ab(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;tp(q[126998],a,b);Da=c+16|0}function eb(a){var b=0,c=0;b=Wa(a)+1|0;c=Sa(b);if(!c){return 0}return Qa(c,a,b)}function au(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;q[e>>2]=0;return 0}function LN(a){var b=0;b=Da-16|0;Da=b;q[b>>2]=226850;hb(a,4,436656,b);Da=b+16|0}function tC(a){a=a|0;a=q[a+140>>2];if(a){return(r[a|0]==47?a+1|0:a)|0}return 0}function Qg(a){if(a){if(q[a>>2]!=-1){q[a>>2]=q[a>>2]+1;return a}fr(a)}return a}function KQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,(c|0)==1?0:c,d,0)|0}function B_(a,b,c){a=a|0;b=b|0;c=c|0;return(td(c,a)|0)==(r[b+1|0]|r[b|0]<<8)|0}function dF(a,b,c){a=a|0;b=b|0;c=c|0;a=q[a+388>>2]+(b<<2)|0;q[a>>2]=q[a>>2]+c}function ve(a){a=ma(a|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function lD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+12>>2]](a,b,c)|0}function iD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+20>>2]](a,b,c)|0}function hD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+24>>2]](a,b,c)|0}function fD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+32>>2]](a,b,c)|0}function eD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+36>>2]](a,b,c)|0}function RQ(a){a=a|0;n[q[q[q[a+12>>2]+56>>2]+8>>2]](q[a+52>>2],0,0);return 0}function Ip(a){a=ta(a|0)|0;if(a>>>0>=4294963201){q[160942]=0-a;a=-1}return a}function mG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return n[a](b,c,d,e)|0}function mD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+548>>2]+8>>2]](a,b,c)|0}function lA(a,b){a=a|0;b=b|0;return(b>>>0<=255?r[(q[a+16>>2]+b|0)+6|0]:0)|0}function jP(a,b){a=a|0;b=b|0;if(!b){return 1}return(Ub(q[a+4>>2],b)|0)!=0|0}function DD(a,b){a=a|0;b=b|0;return(b>>>0<=255?s[q[a+16>>2]+(b<<1)>>1]:0)|0}function rB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return kj(q[a+12>>2],b,c,d)|0}function qy(a){a=a|0;return(a>>>0<=127?r[(a>>>3|0)+163696|0]&1<<(a&7):0)|0}function mE(a,b){a=a|0;b=b|0;La(q[a+424>>2]);q[a+424>>2]=0;Xl(q[a+8>>2],b)}function iY(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Lr(b,c,d,e,f)}function eL(a,b){var c=0;b=Se(b);c=vM(a,b);if(!c){c=fL(a,b)}cc(b);return c}function ZK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(493104,a,1,b,c,d)|0}function YK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(493104,a,0,b,c,d)|0}function Wj(a,b,c){var d=0;d=Da-16|0;Da=d;q[d+12>>2]=c;tp(a,b,c);Da=d+16|0}function UK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(494624,a,1,b,c,d)|0}function TK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ii(494624,a,0,b,c,d)|0}function GE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Lr(q[a+4>>2],b,c,d,e)}function $e(a){var b=0;b=GM(a);if(!b){return qr(a,0)}return(b<<3)+439576|0}function yE(a){a=a|0;La(q[a+424>>2]);q[a+424>>2]=0;return tt(q[a+8>>2])|0}function nR(a){W$(a,0,16,0);if(Ea){a=0}else{a=a<<4;a=db(0,a?a:1)}return a}function bD(a,b,c){a=a|0;b=b|0;c=c|0;return n[q[q[a+552>>2]>>2]](a,b,c)|0}function Wq(a,b){var c=0;q[b+4>>2]=0;q[b>>2]=!a|q[a>>2]<1?c:q[a+8>>2]+a|0}function z_(a,b,c){a=a|0;b=b|0;c=c|0;return(r[b+1|0]|r[b|0]<<8)==(a|0)|0}function uP(a){a=a|0;return(a>>>0<=390?p[(a<<1)+296144>>1]+291920|0:0)|0}function oz(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+544>>2]+12>>2]](a,b)|0}function SP(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0;q[a+28>>2]=0}function HP(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+488>>2]+12>>2]](a,b)|0}function wQ(a,b){a=a|0;b=b|0;$b(a,q[a+8>>2]);return Ed(a,q[a+8>>2],b)|0}function pz(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+544>>2]+8>>2]](a,b)|0}function eG(a){a=a|0;var b=0;b=q[a+12>>2];a=q[a+8>>2];K(b|0);return a|0}function dV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;q[d>>2]=0;return 0}function Ws(a){var b=0,c=0;c=YR(a);b=zU(c);vt(c);WR(b,a);VR(b);return b}function IP(a,b){a=a|0;b=b|0;return n[q[q[q[a>>2]+488>>2]+8>>2]](a,b)|0}function vP(a){a=a|0;return p[((a>>>0>257?0:a)<<1)+295616>>1]+291920|0}function Ph(a,b){var c=0;c=Da-16|0;Da=c;q[c+12>>2]=b;hH(a,b);Da=c+16|0}function ED(a,b){a=a|0;b=b|0;q[a+16>>2]=q[q[a>>2]+712>>2]+668;return 0}function DN(a){a=a|0;Pe(q[a+12>>2]);q[a+12>>2]=0;q[a>>2]=0;q[a+4>>2]=0}function $k(a,b){var c=0;c=Sa(16);if(c){v[c+8>>3]=b;v[c>>3]=a}return c}function ok(){var a=0;a=qk(0);if(a){if($h(a)){return a}cc(a)}return 0}function BN(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 1}function xG(a,b){a=a|0;b=b|0;if(!q[161261]){q[161262]=b;q[161261]=a}}function uf(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function tL(a){a=(Wa(a)+a|0)+1|0;a=Wa(a)+a|0;return r[a+1|0]?a+1|0:0}function gG(a){a=a|0;var b=0;b=q[a+4>>2];a=q[a>>2];K(b|0);return a|0}function RA(a,b,c){a=a|0;b=b|0;c=c|0;Qa(q[a+16>>2]+w(b,144)|0,c,144)}function wf(a){var b=0;b=Sa(8);if(b){q[b+4>>2]=0;q[b>>2]=a}return b}function JQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,c,d,3)|0}function IQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hl(a,b,c,d,4)|0}function GQ(a,b){a=a|0;b=b|0;Gl(b,q[a>>2]<<2,q[a+4>>2]<<2);return 0}function jD(a,b){a=a|0;b=b|0;return n[q[q[a+548>>2]+16>>2]](a,b)|0}function gD(a,b){a=a|0;b=b|0;return n[q[q[a+548>>2]+28>>2]](a,b)|0}function cD(a){a=a|0;var b=0;b=q[a+548>>2];if(b){n[q[b+44>>2]](a)}}function Yh(){var a=0;if(q[160548]){a=Kb(503475)}else{a=0}return a}function Mb(a){var b=0;b=q[a+32>>2];if((b|0)==-1){b=lc(a)}return b}function nG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return n[a](b,c,d)|0}function AR(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ps(a,b,c,d)|0}function nV(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;pl(b,c,d,e)}function iU(a,b,c){a=a|0;b=b|0;c=c|0;Mt(q[a+112>>2],b,q[a+4>>2])}function HD(a){a=a|0;La(q[a+424>>2]);q[a+424>>2]=0;et(q[a+8>>2])}function yB(a,b){a=a|0;b=b|0;Qa(b,q[a+132>>2]+4|0,156);return 0}function xV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Vs(b,c,d)|0}function ts(a){a=a|0;var b=0;b=q[a>>2];if(a){n[q[b+8>>2]](b,a)}}function bF(a,b,c){a=a|0;b=b|0;c=c|0;q[q[a+388>>2]+(b<<2)>>2]=c}function T_(a,b,c){a=a|0;b=b|0;c=c|0;dw(c,a,r[b+1|0]|r[b|0]<<8)}function CI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+280>>2]}function bV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+20>>2]}function aV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return q[a+24>>2]}function QC(a){a=a|0;return(a>>>0<=255?s[(a<<1)+10192>>1]:0)|0}function MN(a,b,c,d){if(!(!b|!d)){if(c){ON(a,b,c,d)}NN(a,b,d)}}function Jg(a){a=qk(a);if(a){if($h(a)){return a}cc(a)}return 0}function sz(a,b){a=a|0;b=b|0;q[b>>2]=-1;q[b+4>>2]=14;return 0}function ry(a){a=a|0;return a+ -48>>>0<10|(a&-33)+ -65>>>0<26}function of(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function nN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return db(d,c)|0}function nC(a,b,c){a=a|0;b=b|0;c=c|0;if(c){q[c>>2]=b}return 0}function dG(a,b,c){a=a|0;b=b|0;c=c|0;q[a+8>>2]=b;q[a+12>>2]=c}function cT(a){a=a|0;return(r[a+16|0]&32?!(r[a+12|0]&32):0)|0}function xE(a,b){a=a|0;b=b|0;q[q[a+8>>2]+308>>2]=-1;return 0}function cB(a,b){a=a|0;b=b|0;q[a+16>>2]=q[a>>2]+296;return 0}function bd(a){a=O(a|0)|0;a=(a|0)==27?0:a;if(a){q[160942]=a}}function Qr(){var a=0;a=ab(1,28);if(a){q[a+20>>2]=2}return a}function JP(a,b){a=a|0;b=b|0;return q[q[a+424>>2]+(b<<2)>>2]}function $E(a,b){a=a|0;b=b|0;return q[q[a+388>>2]+(b<<2)>>2]}function NP(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0;q[a+24>>2]=0}function Mi(a){var b=0;b=q[a+28>>2];if(!b){b=xb(a)}return b}function fG(a,b,c){a=a|0;b=b|0;c=c|0;q[a>>2]=b;q[a+4>>2]=c}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ea=0;return 0}function LT(a){a=a|0;var b=0;b=q[a+4>>2];if(b){Nt(b)}La(a)}function Ci(a){var b=0;if(!a){return}b=q[a>>2];WF(a);La(b)}function rI(a,b){a=a|0;b=b|0;return Rd(q[a>>2],q[b>>2])|0}function rC(a,b){a=a|0;b=b|0;p[b>>1]=s[a+312>>1];return 0}function no(a,b){a=a|0;b=b|0;p[b>>1]=s[a+164>>1];return 0}function gL(a,b){a=a|0;b=b|0;return Ta(q[a>>2],q[b>>2])|0}function ZA(a,b){a=a|0;b=b|0;return q[a+16>>2]+w(b,144)|0}function Sd(a){var b=0;if(a){b=q[a>>2];if(b){Yb(b)}La(a)}}function oY(a,b,c){a=a|0;b=b|0;c=c|0;q[b+92>>2]=(c|0)!=0}function XQ(a){a=a|0;q[a+140>>2]=q[a+140>>2]+p[a+144>>1]}function KA(a,b){a=a|0;b=b|0;return q[a+20>>2]+w(b,56)|0}function oG(a,b,c){a=a|0;b=b|0;c=c|0;return n[a](b,c)|0}function lo(a,b){a=a|0;b=b|0;Qa(b,a+168|0,196);return 0}function lZ(a,b,c){a=a|0;b=b|0;c=c|0;q[b+4>>2]=(c|0)!=0}function Yk(a){if((ve(q[a+8>>2])|0)==-1){Ip(q[a+8>>2])}}function PG(a,b,c){a=a|0;b=b|0;c=c|0;return SG(a,b,c)|0}function Ly(a,b,c){a=a|0;b=b|0;c=c|0;return uG(a,b,c)|0}function FP(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function ES(a,b,c){a=a|0;b=b|0;c=c|0;return Tl(a,b,c)|0}function DS(a,b,c){a=a|0;b=b|0;c=c|0;return lt(a,b,c)|0}function CS(a,b,c){a=a|0;b=b|0;c=c|0;return kt(a,b,c)|0}function vY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gO(b,c,d)}function sD(a,b,c){a=a|0;b=+b;c=c|0;return kD(a,b,c)|0}function pS(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function hr(a){return(Vj(q[a+4>>2],q[a>>2])^-1)>>>31|0}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function ZR(a){a=a|0;if(r[a+13|0]){se(q[a+4>>2])}La(a)}function VJ(a,b){a=a|0;b=b|0;return q[a>>2]==q[b>>2]|0}function LD(a,b){a=a|0;b=b|0;q[b+376>>2]=q[b+376>>2]|1}function GY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rl(b,c,d)}function AW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Jr(b,c,d)}function oS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Wn(a,b){a=a|0;b=b|0;if(b){n[q[a+8>>2]](a,b)}}function U$(a){if(a){return 31-z(a+ -1^a)|0}return 32}function Pb(a,b){a=Fp(a,b);return r[a|0]==(b&255)?a:0}function Mr(a,b){a=a|0;b=b|0;return q[a>>2]-q[b>>2]|0}function oC(a,b){a=a|0;b=b|0;if(b){o[b|0]=1}return 0}function kp(a,b){a=Uj(a,b,16,0,-2147483648);return a}function PX(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;Kr(b,c/d)}function lF(a){a=a|0;return oL(q[q[a+156>>2]>>2])|0}function fr(a){a=er(a);if(a){q[a+4>>2]=q[a+4>>2]+1}}function rR(a,b){a=a|0;b=b|0;return zd(289344,b)|0}function nA(a,b){a=a|0;b=b|0;return zd(163520,b)|0}function mA(a,b){a=a|0;b=b|0;q[a+16>>2]=b;return 0}function BP(a,b){a=a|0;b=b|0;return zd(354128,b)|0}function lB(a,b){a=a|0;b=b|0;return zd(25296,b)|0}function fC(a,b){a=a|0;b=b|0;return zd(17472,b)|0}function dY(a,b,c){a=a|0;b=b|0;c=c|0;q[b+72>>2]=c}function TB(a,b){a=a|0;b=b|0;return zd(17808,b)|0}function Sb(a,b,c){return Uj(a,b,c,-2147483648,0)}function EB(a,b){a=a|0;b=b|0;return zd(19136,b)|0}function CC(a,b){a=a|0;b=b|0;return zd(14576,b)|0}function $A(a,b){a=a|0;b=b|0;return zd(26128,b)|0}function rX(a,b,c){a=a|0;b=b|0;c=+c;v[b+40>>3]=c}function qE(a,b){a=a|0;b=b|0;return zd(6912,b)|0}function PE(a){a=a|0;ql(q[a+4>>2],1033,0,3,1055)}function kG(a){a=a|0;a=Da-a&-16;Da=a;return a|0}function aD(a){a=a|0;n[q[q[a+552>>2]+28>>2]](a)}function WE(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function Oh(a,b){if(!a){return 0}return eH(a,b)}function Co(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function Az(a,b){a=a|0;b=b|0;q[b>>2]=0;return 0}function yc(a,b,c){if(!(r[a|0]&32)){Lj(b,c,a)}}function pG(a,b,c){a=a|0;b=b|0;c=c|0;n[a](b,c)}function dB(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function ZT(a){a=a|0;$a(a+24|0,1667329140,1,0)}function Pk(a,b,c){return ye(a,qd(504136),b,c)}function MF(a,b,c){a=a|0;b=b|0;c=c|0;KF(a,b,c)}function Ht(a){a=a|0;$a(a+24|0,1818847073,1,0)}function $n(a){a=a|0;q[a+16>>2]=0;q[a+20>>2]=0}function $F(a,b,c){a=a|0;b=b|0;c=c|0;To(a,b,c)}function yF(a){a=a|0;q[a- -64>>2]=40;return 0}function sY(a,b){a=a|0;b=b|0;return Ru(a,b)|0}function rY(a,b){a=a|0;b=b|0;return Qu(a,b)|0}function rS(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function qY(a,b){a=a|0;b=b|0;return Pu(a,b)|0}function qS(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function oZ(a,b){a=a|0;b=b|0;return fv(a,b)|0}function nZ(a,b){a=a|0;b=b|0;return ev(a,b)|0}function nY(a,b){a=a|0;b=b|0;return Ou(a,b)|0}function kY(a,b){a=a|0;b=b|0;return Mu(a,b)|0}function jZ(a,b){a=a|0;b=b|0;return bv(a,b)|0}function jY(a,b){a=a|0;b=b|0;return Lu(a,b)|0}function hZ(a,b){a=a|0;b=b|0;return Am(a,b)|0}function hY(a,b){a=a|0;b=b|0;return Ku(a,b)|0}function gZ(a,b){a=a|0;b=b|0;return ym(a,b)|0}function fZ(a,b){a=a|0;b=b|0;return xm(a,b)|0}function cZ(a,b){a=a|0;b=b|0;return Zu(a,b)|0}function bZ(a,b){a=a|0;b=b|0;return Yu(a,b)|0}function Wp(a){return Yp(a,498684,502960,0,1)}function Sl(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function BE(a){a=a|0;return q[q[a+8>>2]+8>>2]}function $Y(a,b){a=a|0;b=b|0;return Xu(a,b)|0}function qZ(a,b,c){a=a|0;b=b|0;c=c|0;jO(b,c)}function eZ(a,b,c){a=a|0;b=b|0;c=c|0;fO(b,c)}function RD(a,b){a=a|0;b=b|0;Xl(q[a+8>>2],b)}function PW(a,b,c){a=a|0;b=b|0;c=c|0;bO(b,c)}function Nx(a){a=a|0;return q[a>>2]==65535|0}function LW(a,b,c){a=a|0;b=b|0;c=c|0;aO(b,c)}function KC(a,b){a=a|0;b=+b;return zC(a,b)|0}function JV(a,b,c){a=a|0;b=b|0;c=c|0;Xl(b,c)}function CX(a,b,c){a=a|0;b=b|0;c=c|0;dO(b,c)}function vr(a,b){a=a|0;b=b|0;return Sa(b)|0}function rW(a,b){a=a|0;b=b|0;return FR(b)|0}function rE(a){a=a|0;return wt(q[a+8>>2])|0}function pj(a){a=a|0;q[q[a+156>>2]+36>>2]=0}function kb(a,b){q[a+168>>2]=b;P(a|0,1);F()}function iX(a,b,c){a=a|0;b=b|0;c=+c;cO(b,c)}function eW(a,b){a=a|0;b=b|0;return wt(b)|0}function dE(a){a=a|0;return q[q[a+8>>2]>>2]}function cl(a,b){return(gk(a,b)|0)==-1?-1:0}function _G(a){a=a|0;return O(q[a+60>>2])|0}function ZC(a){a=a|0;return q[a+8>>2]>>>9&1}function YX(a,b,c){a=a|0;b=b|0;c=+c;Kr(b,c)}function YV(a,b){a=a|0;b=b|0;return tt(b)|0}function Y$(a,b,c,d){a=T$(a,b,c,d);return a}function X$(a,b,c,d){a=S$(a,b,c,d);return a}function WY(a,b){a=a|0;b=b|0;return Pr(b)|0}function W$(a,b,c,d){a=R$(a,b,c,d);return a}function LX(a,b,c){a=a|0;b=b|0;c=+c;eO(b,c)}function t_(a,b){a=a|0;b=b|0;q[a+136>>2]=b}function nw(a,b){a=a|0;b=b|0;q[a+108>>2]=b}function l$(a,b){a=a|0;b=b|0;q[a+120>>2]=b}function Z_(a,b){a=a|0;b=b|0;q[a+124>>2]=b}function N$(a,b){a=a|0;b=b|0;q[a+112>>2]=b}function It(a,b,c){a=a|0;b=b|0;c=c|0;UT(b)}function Bw(a,b){a=a|0;b=b|0;q[a+104>>2]=b}function B$(a,b){a=a|0;b=b|0;q[a+116>>2]=b}function yh(a,b){a=a|0;b=b|0;q[a+20>>2]=b}function ue(a,b){return wH(a,b,Wa(a)+1|0)}function qh(a,b){a=a|0;b=b|0;q[a+24>>2]=b}function nm(a,b){a=a|0;b=b|0;q[a+36>>2]=b}function mz(a,b){a=a|0;b=b|0;q[a+64>>2]=b}function mn(a,b){a=a|0;b=b|0;q[a+80>>2]=b}function jp(a,b,c,d){return Sh(a,b,c,d,1)}function gj(a,b){a=a|0;b=b|0;q[a+12>>2]=b}function av(a,b){a=a|0;b=b|0;q[a+32>>2]=b}function _z(a,b){a=a|0;b=b|0;q[a+56>>2]=b}function _O(a,b){a=a|0;b=b|0;Te(a+20|0,b)}function Zl(a,b){a=a|0;b=b|0;q[a+40>>2]=b}function Wi(a,b){a=a|0;b=b|0;q[a+28>>2]=b}function Vy(a,b){a=a|0;b=b|0;q[a+68>>2]=b}function UO(a){a=a|0;La(q[a+12>>2]);La(a)}function Of(a,b){a=a|0;b=b|0;q[a+16>>2]=b}function OO(a,b){a=a|0;b=b|0;q[a+48>>2]=b}function M_(a,b){a=a|0;b=+b;v[a+128>>3]=b}function Hz(a,b){a=a|0;b=b|0;q[a+60>>2]=b}function Eg(a,b){tc(Wa(a)+a|0,b);return a}function Ds(a,b){a=a|0;b=b|0;q[a+44>>2]=b}function Cy(a,b){a=a|0;b=b|0;q[a+76>>2]=b}function yg(a,b){a=a|0;b=b|0;q[a+4>>2]=b}function xx(a,b){a=a|0;b=+b;v[a+72>>3]=b}function wh(a,b){a=a|0;b=b|0;q[a+8>>2]=b}function ng(a){Lb(a);La(q[a+4>>2]);La(a)}function mk(a,b){return li(q[a+12>>2],b)}function kI(a,b){a=a|0;b=b|0;q[160276]=b}function jx(a,b){a=a|0;b=+b;v[a+88>>3]=b}function iP(a){a=a|0;se(q[a+4>>2]);La(a)}function ay(a,b){a=a|0;b=+b;v[a+56>>3]=b}function Uw(a,b){a=a|0;b=+b;v[a+96>>3]=b}function Ox(a,b){a=a|0;b=+b;v[a+64>>3]=b}function Dn(a,b){a=a|0;b=+b;v[a+48>>3]=b}function zk(a,b){a=a|0;b=+b;v[a+8>>3]=b}function u$(a){a=a|0;return q[a+120>>2]}function tw(a){a=a|0;return q[a+108>>2]}function qo(a){a=a|0;return q[a+364>>2]}function mF(a){a=a|0;Fo(a);o[a+112|0]=0}function fP(a){a=a|0;Ln(q[a>>2],a+28|0)}function ew(a){a=a|0;return q[a+112>>2]}function dl(a){if((a|0)!=438240){La(a)}}function di(a,b,c,d){return gJ(a,b,c,d)}function bP(a){a=a|0;UF(q[a>>2],a+20|0)}function b$(a){a=a|0;return q[a+124>>2]}function Yj(a,b,c){return _j(a,b,c,0,0)}function YE(a){a=a|0;return s[a+256>>1]}function U_(a){a=a|0;return+v[a+128>>3]}function Mw(a){a=a|0;return q[a+104>>2]}function I$(a){a=a|0;return q[a+116>>2]}function C_(a){a=a|0;return q[a+136>>2]}function xz(a){a=a|0;return q[a+64>>2]}function th(a){a=a|0;return q[a+24>>2]}function sm(a){a=a|0;return q[a+36>>2]}function rx(a){a=a|0;return+v[a+88>>3]}function pn(a){a=a|0;return q[a+80>>2]}function oh(a){a=a|0;return q[a+28>>2]}function ij(a){a=a|0;return q[a+12>>2]}function ig(a,b){a=a|0;b=b|0;q[a>>2]=b}function hQ(a){a=a|0;return q[a+48>>2]}function gA(a){a=a|0;return q[a+56>>2]}function ft(a){a=a|0;return q[a+44>>2]}function fm(a){a=a|0;return q[a+40>>2]}function ez(a){a=a|0;return q[a+68>>2]}function ey(a){a=a|0;return+v[a+56>>3]}function cx(a){a=a|0;return+v[a+96>>3]}function aG(a){a=a|0;return r[a+428|0]}function Xx(a){a=a|0;return+v[a+64>>3]}function VS(a){a=a|0;Pa(q[a>>2]);La(a)}function Pz(a){a=a|0;return q[a+60>>2]}function Pf(a){a=a|0;return q[a+16>>2]}function Ny(a){a=a|0;return q[a+76>>2]}function Nh(a,b,c){_j(a,b,c,1004,1005)}function Hv(a){a=a|0;return q[a+32>>2]}function Gx(a){a=a|0;return+v[a+72>>3]}function Gn(a){a=a|0;return+v[a+48>>3]}function Ah(a){a=a|0;return q[a+20>>2]}function zg(a){a=a|0;return q[a+4>>2]}function yl(a,b){a=a|0;b=b|0;return 0}function xh(a){a=a|0;return q[a+8>>2]}function iG(a){a=a|0;return Ga(a|0)|0}function h_(a,b){a=a|0;b=+b;v[a>>3]=b}function gd(a){if(a){La(q[a+ -4>>2])}}function Zq(a,b){return _q(a,b,833,0)}function Og(a,b,c){return ye(a,b,0,c)}function Md(a,b,c){tH(a,b,c);return a}function Jk(a){a=a|0;return+v[a+8>>3]}function Gg(a){return BH(a,q[160602])}function yQ(a){a=a|0;$b(a,q[a+8>>2])}function hG(a,b){a=a|0;b=b|0;n[a](b)}function RF(a,b){a=a|0;b=b|0;NF(a,b)}function OZ(a){a=a|0;return 20971520}function NB(a){a=a|0;VH(q[a+160>>2])}function Il(a,b,c){a=a|0;b=b|0;c=c|0}function tp(a,b,c){_j(a,b,c,1004,0)}function qF(a){a=a|0;jb(q[a+24>>2])}function o_(a){a=a|0;return+v[a>>3]}function lg(a){a=a|0;return q[a>>2]}function _Q(a){a=a|0;return a+112|0}function Zh(a,b,c){return cI(a,b,c)}function ZQ(a){a=a|0;return a+140|0}function Xp(a,b){return ai(a,b,1,1)}function $Q(a){a=a|0;return a+100|0}function xZ(a,b){a=a|0;b=b|0;wl(b)}function sr(a,b){a=a|0;b=b|0;La(b)}function kW(a,b){a=a|0;b=b|0;hf(b)}function fV(a,b){a=a|0;b=b|0;$N(b)}function aZ(a,b){a=a|0;b=b|0;Ul(b)}function MY(a,b){a=a|0;b=b|0;vl(b)}function JO(a,b){a=a|0;b=b|0;NO(b)}function IZ(a){a=a|0;return Qr()|0}function CV(a,b){a=a|0;b=b|0;et(b)}function tc(a,b){vH(a,b);return a}function jo(a){a=a|0;q[a+16>>2]=0}function b_(a){a=a|0;if(a){La(a)}}function Wh(a){bd(q[a>>2]);La(a)}function qe(a,b){return H$(a,b)}function jg(a,b){return gk(a,b)}function Qe(a,b){return Kd(a,b)}function Gb(a){te(a,q[126998])}function yi(a){gd(q[a+20>>2])}function mo(a){a=a|0;return 1}function Qn(a){a=a|0;return 0}function jC(a,b){a=a|0;b=b|0}function WZ(){return dp(1)|0}function qG(a){a=a|0;n[a]()}function Q$(a,b){i(a|0,b|0)}function CH(){return 643768}function pC(a){a=a|0;Jh(a)}function jI(a){a=a|0;nk(a)}function fl(a){a=a|0;La(a)}function _H(a){a=a|0;sI(a)}function $x(a){a=a|0;Pa(a)}function nT(){return 1024}function lG(){return Da|0}function jG(a){a=a|0;Da=a}function vT(){return 512}function NT(){return 128}function ET(){return 256}function nU(){return 16}function eU(){return 32}function XT(){return 64}function tU(){return 8}function hm(){return 0}function em(){return 1}function dm(){return 2}function GU(){return 3}function AU(){return 4}function Zd(a){a=a|0}function P$(){DG()}function ms(){} +function qG(a){a=a|0;n[a]()}function P$(a,b){i(a|0,b|0)}function CH(){return 643768}function pC(a){a=a|0;Jh(a)}function jI(a){a=a|0;nk(a)}function fl(a){a=a|0;La(a)}function _H(a){a=a|0;sI(a)}function $x(a){a=a|0;Pa(a)}function mT(){return 1024}function lG(){return Da|0}function jG(a){a=a|0;Da=a}function vT(){return 512}function MT(){return 128}function nU(){return 16}function eU(){return 32}function WT(){return 64}function zU(){return 4}function sU(){return 8}function hm(){return 0}function em(){return 1}function dm(){return 2}function FU(){return 3}function Zd(a){a=a|0}function O$(){DG()}function ls(){} // EMSCRIPTEN_END_FUNCS -n[1]=O$;n[2]=uO;n[3]=DN;n[4]=uN;n[5]=nN;n[6]=vr;n[7]=sr;n[8]=rK;n[9]=lK;n[10]=VJ;n[11]=LJ;n[12]=PF;n[13]=JF;n[14]=IF;n[15]=HF;n[16]=GF;n[17]=FF;n[18]=EF;n[19]=CF;n[20]=BF;n[21]=AF;n[22]=zF;n[23]=uF;n[24]=tF;n[25]=sF;n[26]=rF;n[27]=qF;n[28]=uE;n[29]=iF;n[30]=dF;n[31]=cF;n[32]=bF;n[33]=aF;n[34]=$E;n[35]=_E;n[36]=YE;n[37]=XE;n[38]=Co;n[39]=WE;n[40]=VE;n[41]=UE;n[42]=TE;n[43]=SE;n[44]=RE;n[45]=QE;n[46]=OE;n[47]=NE;n[48]=ME;n[49]=LE;n[50]=KE;n[51]=JE;n[52]=IE;n[53]=HE;n[54]=FE;n[55]=EE;n[56]=xE;n[57]=yF;n[58]=Zd;n[59]=xF;n[60]=wF;n[61]=pF;n[62]=oF;n[63]=mF;n[64]=lF;n[65]=kF;n[66]=Do;n[67]=gF;n[68]=fF;n[69]=eF;n[70]=DE;n[71]=CE;n[72]=Nf;n[73]=wj;n[74]=AE;n[75]=Io;n[76]=zE;n[77]=Go;n[78]=wE;n[79]=vE;n[80]=Ho;n[81]=Cj;n[82]=tE;n[83]=sE;n[84]=oE;n[85]=fE;n[86]=ro;n[87]=qj;n[88]=Zd;n[89]=qE;n[90]=pE;n[91]=nE;n[92]=lE;n[93]=kE;n[94]=jE;n[95]=pj;n[96]=iE;n[97]=hE;n[98]=gE;n[99]=eE;n[100]=cE;n[101]=qo;n[102]=po;n[103]=bE;n[104]=oo;n[105]=no;n[106]=mo;n[107]=lo;n[108]=aE;n[109]=TF;n[110]=SF;n[111]=$D;n[112]=ZD;n[113]=ko;n[114]=YD;n[115]=XD;n[116]=WD;n[117]=VD;n[118]=UD;n[119]=TD;n[120]=SD;n[121]=QD;n[122]=Bg;n[123]=PD;n[124]=OD;n[125]=ND;n[126]=MD;n[127]=LD;n[128]=KD;n[129]=JD;n[130]=ID;n[131]=GD;n[132]=FD;n[133]=AD;n[134]=EC;n[135]=DC;n[136]=ED;n[137]=jo;n[138]=DD;n[139]=CD;n[140]=BD;n[141]=nj;n[142]=zD;n[143]=xD;n[144]=qj;n[145]=Zd;n[146]=wD;n[147]=vD;n[148]=uD;n[149]=tD;n[150]=rD;n[151]=qD;n[152]=pj;n[153]=pD;n[154]=Do;n[155]=oD;n[156]=nD;n[157]=fo;n[158]=mD;n[159]=lD;n[160]=jD;n[161]=iD;n[162]=hD;n[163]=gD;n[164]=fD;n[165]=eD;n[166]=dD;n[167]=cD;n[168]=bD;n[169]=aD;n[170]=$C;n[171]=_C;n[172]=ZC;n[173]=YC;n[174]=XC;n[175]=WC;n[176]=VC;n[177]=UC;n[178]=TC;n[179]=SC;n[180]=QC;n[181]=eo;n[182]=PC;n[183]=OC;n[184]=bo;n[185]=NC;n[186]=MC;n[187]=LC;n[188]=JC;n[189]=IC;n[190]=HC;n[191]=GC;n[192]=FC;n[193]=ao;n[194]=qj;n[195]=Zd;n[196]=CC;n[197]=BC;n[198]=AC;n[199]=yC;n[200]=xC;n[201]=wC;n[202]=pj;n[203]=vC;n[204]=uC;n[205]=tC;n[206]=sC;n[207]=rC;n[208]=qC;n[209]=oC;n[210]=nC;n[211]=mC;n[212]=lC;n[213]=kC;n[214]=jC;n[215]=dC;n[216]=iC;n[217]=$n;n[218]=hC;n[219]=gC;n[220]=fC;n[221]=eC;n[222]=cC;n[223]=bC;n[224]=aC;n[225]=$B;n[226]=_B;n[227]=ZB;n[228]=Yn;n[229]=YB;n[230]=XB;n[231]=WB;n[232]=VB;n[233]=UB;n[234]=Zd;n[235]=TB;n[236]=SB;n[237]=RB;n[238]=QB;n[239]=PB;n[240]=OB;n[241]=NB;n[242]=MB;n[243]=LB;n[244]=KB;n[245]=po;n[246]=JB;n[247]=qo;n[248]=oo;n[249]=no;n[250]=mo;n[251]=lo;n[252]=IB;n[253]=HB;n[254]=GB;n[255]=FB;n[256]=EB;n[257]=DB;n[258]=CB;n[259]=BB;n[260]=AB;n[261]=zB;n[262]=yB;n[263]=xB;n[264]=wB;n[265]=vB;n[266]=Wn;n[267]=Vn;n[268]=tB;n[269]=rB;n[270]=Vn;n[271]=Wn;n[272]=pB;n[273]=nB;n[274]=mB;n[275]=Qn;n[276]=Zd;n[277]=lB;n[278]=kB;n[279]=uh;n[280]=jB;n[281]=iB;n[282]=hB;n[283]=gB;n[284]=fB;n[285]=eB;n[286]=dB;n[287]=cB;n[288]=jo;n[289]=bB;n[290]=aB;n[291]=YA;n[292]=SA;n[293]=QA;n[294]=PA;n[295]=of;n[296]=$A;n[297]=_A;n[298]=fj;n[299]=XA;n[300]=WA;n[301]=VA;n[302]=UA;n[303]=TA;n[304]=OA;n[305]=$n;n[306]=NA;n[307]=MA;n[308]=sr;n[309]=vr;n[310]=qz;n[311]=un;n[312]=tn;n[313]=un;n[314]=tn;n[315]=Ay;n[316]=zy;n[317]=yI;n[318]=md;n[319]=xy;n[320]=wy;n[321]=vy;n[322]=ry;n[323]=qy;n[324]=nz;n[325]=lz;n[326]=jz;n[327]=hz;n[328]=nA;n[329]=gz;n[330]=fz;n[331]=dz;n[332]=cz;n[333]=bz;n[334]=az;n[335]=$y;n[336]=_y;n[337]=Zy;n[338]=Yy;n[339]=Xy;n[340]=Wy;n[341]=Uy;n[342]=Ty;n[343]=ph;n[344]=Sy;n[345]=Ry;n[346]=Qy;n[347]=Py;n[348]=Oy;n[349]=My;n[350]=Ly;n[351]=Ky;n[352]=Jy;n[353]=Iy;n[354]=Hy;n[355]=Gy;n[356]=Fy;n[357]=Ey;n[358]=Dy;n[359]=By;n[360]=Id;n[361]=yy;n[362]=mA;n[363]=lA;n[364]=kA;n[365]=jA;n[366]=iA;n[367]=hA;n[368]=fA;n[369]=eA;n[370]=dA;n[371]=cA;n[372]=bA;n[373]=aA;n[374]=$z;n[375]=Zz;n[376]=Yz;n[377]=Xz;n[378]=Wz;n[379]=Vz;n[380]=Uz;n[381]=Tz;n[382]=Sz;n[383]=Rz;n[384]=Qz;n[385]=Oz;n[386]=Nz;n[387]=Mz;n[388]=yn;n[389]=Lz;n[390]=Kz;n[391]=Jz;n[392]=Iz;n[393]=yn;n[394]=Gz;n[395]=Fz;n[396]=Ez;n[397]=Dz;n[398]=Cz;n[399]=Bz;n[400]=yl;n[401]=Az;n[402]=zz;n[403]=yz;n[404]=wz;n[405]=vz;n[406]=uz;n[407]=tz;n[408]=sz;n[409]=rz;n[410]=nj;n[411]=pz;n[412]=oz;n[413]=uy;n[414]=ty;n[415]=sy;n[416]=py;n[417]=oy;n[418]=ny;n[419]=cj;n[420]=my;n[421]=ky;n[422]=jy;n[423]=iy;n[424]=hy;n[425]=gy;n[426]=fy;n[427]=La;n[428]=$x;n[429]=Nx;n[430]=G$;n[431]=t$;n[432]=q$;n[433]=T_;n[434]=B_;n[435]=oZ;n[436]=nZ;n[437]=mZ;n[438]=kZ;n[439]=jZ;n[440]=hZ;n[441]=gZ;n[442]=fZ;n[443]=dZ;n[444]=cZ;n[445]=bZ;n[446]=$Y;n[447]=z_;n[448]=y_;n[449]=sY;n[450]=rY;n[451]=qY;n[452]=nY;n[453]=kY;n[454]=jY;n[455]=hY;n[456]=tY;n[457]=N_;n[458]=$X;n[459]=XX;n[460]=WX;n[461]=UX;n[462]=TX;n[463]=Pi;n[464]=VX;n[465]=SX;n[466]=RX;n[467]=fl;n[468]=QX;n[469]=Eu;n[470]=OX;n[471]=MW;n[472]=KW;n[473]=JW;n[474]=IW;n[475]=HW;n[476]=GW;n[477]=FW;n[478]=EW;n[479]=DW;n[480]=CW;n[481]=BW;n[482]=UU;n[483]=SU;n[484]=RU;n[485]=cV;n[486]=QU;n[487]=OU;n[488]=NU;n[489]=$U;n[490]=_U;n[491]=KU;n[492]=JU;n[493]=IU;n[494]=FU;n[495]=EU;n[496]=DU;n[497]=CU;n[498]=BU;n[499]=uU;n[500]=sU;n[501]=rU;n[502]=bu;n[503]=bu;n[504]=dV;n[505]=au;n[506]=bV;n[507]=aV;n[508]=ZU;n[509]=YU;n[510]=of;n[511]=of;n[512]=XU;n[513]=WU;n[514]=VU;n[515]=au;n[516]=oU;n[517]=lU;n[518]=kU;n[519]=mU;n[520]=Ot;n[521]=Nt;n[522]=jU;n[523]=iU;n[524]=hU;n[525]=_T;n[526]=ZT;n[527]=YT;n[528]=fl;n[529]=WT;n[530]=VT;n[531]=ST;n[532]=RT;n[533]=QT;n[534]=PT;n[535]=OT;n[536]=Pi;n[537]=TT;n[538]=MT;n[539]=LT;n[540]=It;n[541]=Eu;n[542]=KT;n[543]=IT;n[544]=HT;n[545]=GT;n[546]=Pi;n[547]=JT;n[548]=Ht;n[549]=FT;n[550]=fl;n[551]=It;n[552]=DT;n[553]=CT;n[554]=BT;n[555]=yT;n[556]=xT;n[557]=Pi;n[558]=uT;n[559]=zT;n[560]=Ht;n[561]=wT;n[562]=kT;n[563]=jT;n[564]=iT;n[565]=cT;n[566]=Bt;n[567]=cu;n[568]=VS;n[569]=US;n[570]=FS;n[571]=ES;n[572]=DS;n[573]=CS;n[574]=Sl;n[575]=rS;n[576]=qS;n[577]=Co;n[578]=pS;n[579]=of;n[580]=of;n[581]=oS;n[582]=XR;n[583]=ZR;n[584]=TR;n[585]=SR;n[586]=RR;n[587]=QR;n[588]=PR;n[589]=OR;n[590]=NR;n[591]=MR;n[592]=LR;n[593]=KR;n[594]=IR;n[595]=HR;n[596]=tR;n[597]=GR;n[598]=Ts;n[599]=Rs;n[600]=Qs;n[601]=Ps;n[602]=ER;n[603]=DR;n[604]=zR;n[605]=yR;n[606]=xR;n[607]=wR;n[608]=vR;n[609]=BR;n[610]=Ts;n[611]=Rs;n[612]=Qs;n[613]=AR;n[614]=uR;n[615]=sR;n[616]=Zd;n[617]=rR;n[618]=qR;n[619]=pR;n[620]=oR;n[621]=lR;n[622]=kR;n[623]=jR;n[624]=iR;n[625]=hR;n[626]=gR;n[627]=Jl;n[628]=fR;n[629]=eR;n[630]=dR;n[631]=cR;n[632]=bR;n[633]=$Q;n[634]=_Q;n[635]=ZQ;n[636]=mR;n[637]=aR;n[638]=XQ;n[639]=WQ;n[640]=VQ;n[641]=UQ;n[642]=Zd;n[643]=TQ;n[644]=SQ;n[645]=Il;n[646]=PQ;n[647]=OQ;n[648]=vs;n[649]=Il;n[650]=Sl;n[651]=YQ;n[652]=ts;n[653]=RQ;n[654]=QQ;n[655]=ss;n[656]=rs;n[657]=qs;n[658]=VF;n[659]=ms;n[660]=ms;n[661]=P;n[662]=vs;n[663]=Il;n[664]=Sl;n[665]=NQ;n[666]=ts;n[667]=LQ;n[668]=KQ;n[669]=ss;n[670]=rs;n[671]=qs;n[672]=JQ;n[673]=IQ;n[674]=HQ;n[675]=GQ;n[676]=FQ;n[677]=EQ;n[678]=fQ;n[679]=eQ;n[680]=dQ;n[681]=cQ;n[682]=ro;n[683]=JP;n[684]=DQ;n[685]=CQ;n[686]=BQ;n[687]=AQ;n[688]=zQ;n[689]=Zd;n[690]=yQ;n[691]=Fl;n[692]=xQ;n[693]=wQ;n[694]=vQ;n[695]=uQ;n[696]=tQ;n[697]=ef;n[698]=sQ;n[699]=hs;n[700]=rQ;n[701]=qQ;n[702]=Dl;n[703]=pQ;n[704]=Dl;n[705]=gs;n[706]=oQ;n[707]=nQ;n[708]=mQ;n[709]=lQ;n[710]=fs;n[711]=kQ;n[712]=jQ;n[713]=iQ;n[714]=gQ;n[715]=bQ;n[716]=aQ;n[717]=$P;n[718]=TP;n[719]=SP;n[720]=RP;n[721]=QP;n[722]=PP;n[723]=OP;n[724]=NP;n[725]=MP;n[726]=LP;n[727]=KP;n[728]=nj;n[729]=IP;n[730]=HP;n[731]=_P;n[732]=Dl;n[733]=gs;n[734]=ZP;n[735]=YP;n[736]=XP;n[737]=WP;n[738]=fs;n[739]=VP;n[740]=UP;n[741]=GP;n[742]=FP;n[743]=EP;n[744]=DP;n[745]=yP;n[746]=Bl;n[747]=zP;n[748]=xP;n[749]=wP;n[750]=vP;n[751]=uP;n[752]=BP;n[753]=KH;n[754]=lP;n[755]=kP;n[756]=jP;n[757]=iP;n[758]=gP;n[759]=fP;n[760]=eP;n[761]=dP;n[762]=cP;n[763]=bP;n[764]=aP;n[765]=$O;n[766]=_O;n[767]=ZO;n[768]=UO;n[769]=TO;n[770]=MO;n[771]=LO;n[772]=KO;n[773]=VO;n[774]=JO;n[775]=IO;n[776]=HO;n[777]=GO;n[778]=lO;n[779]=FO;n[780]=EO;n[781]=DO;n[782]=CO;n[783]=kO;n[784]=BO;n[785]=AO;n[786]=zO;n[787]=yO;n[788]=mO;n[789]=xO;n[790]=wO;n[791]=vO;n[792]=tO;n[793]=IN;n[794]=sO;n[795]=hO;n[796]=Mr;n[797]=FN;n[798]=EN;n[799]=CN;n[800]=BN;n[801]=AN;n[802]=zN;n[803]=of;n[804]=yN;n[805]=xN;n[806]=lN;n[807]=kN;n[808]=jN;n[809]=iN;n[810]=hN;n[811]=gN;n[812]=fN;n[813]=$M;n[814]=_M;n[815]=ZM;n[816]=YM;n[817]=XM;n[818]=WM;n[819]=VM;n[820]=TM;n[821]=RM;n[822]=UM;n[823]=SM;n[824]=QM;n[825]=PM;n[826]=NM;n[827]=LM;n[828]=OM;n[829]=MM;n[830]=KM;n[831]=uM;n[832]=mM;n[833]=kM;n[834]=LL;n[835]=Mr;n[836]=gL;n[837]=dL;n[838]=cL;n[839]=bL;n[840]=aL;n[841]=$K;n[842]=_K;n[843]=ZK;n[844]=YK;n[845]=WK;n[846]=UK;n[847]=TK;n[848]=QK;n[849]=OK;n[850]=NK;n[851]=MK;n[852]=LK;n[853]=KK;n[854]=JK;n[855]=IK;n[856]=HK;n[857]=GK;n[858]=FK;n[859]=EK;n[860]=DK;n[861]=CK;n[862]=BK;n[863]=AK;n[864]=zK;n[865]=yK;n[866]=xK;n[867]=wK;n[868]=vK;n[869]=yl;n[870]=uK;n[871]=tK;n[872]=sK;n[873]=qK;n[874]=pK;n[875]=XJ;n[876]=WJ;n[877]=UJ;n[878]=TJ;n[879]=SJ;n[880]=RJ;n[881]=QJ;n[882]=PJ;n[883]=OJ;n[884]=NJ;n[885]=MJ;n[886]=KJ;n[887]=JJ;n[888]=IJ;n[889]=HJ;n[890]=GJ;n[891]=oK;n[892]=nK;n[893]=mK;n[894]=kK;n[895]=jK;n[896]=iK;n[897]=hK;n[898]=gK;n[899]=fK;n[900]=eK;n[901]=dK;n[902]=cK;n[903]=bK;n[904]=$J;n[905]=_J;n[906]=ZJ;n[907]=YJ;n[908]=FJ;n[909]=EJ;n[910]=DJ;n[911]=of;n[912]=BJ;n[913]=dJ;n[914]=iq;n[915]=AJ;n[916]=zJ;n[917]=yJ;n[918]=xJ;n[919]=wJ;n[920]=vJ;n[921]=uJ;n[922]=tJ;n[923]=sJ;n[924]=qJ;n[925]=pJ;n[926]=oJ;n[927]=nJ;n[928]=mJ;n[929]=lJ;n[930]=kJ;n[931]=jJ;n[932]=iJ;n[933]=CJ;n[934]=_I;n[935]=SI;n[936]=LI;n[937]=KI;n[938]=hJ;n[939]=fJ;n[940]=aJ;n[941]=eJ;n[942]=cJ;n[943]=bJ;n[944]=$I;n[945]=ZI;n[946]=YI;n[947]=XI;n[948]=UI;n[949]=VI;n[950]=WI;n[951]=TI;n[952]=RI;n[953]=QI;n[954]=PI;n[955]=OI;n[956]=MI;n[957]=JI;n[958]=db;n[959]=Sa;n[960]=GI;n[961]=VK;n[962]=yq;n[963]=PK;n[964]=zq;n[965]=EI;n[966]=xI;n[967]=wI;n[968]=CI;n[969]=SK;n[970]=XK;n[971]=sk;n[972]=uI;n[973]=vI;n[974]=tI;n[975]=rI;n[976]=pI;n[977]=Zd;n[978]=oI;n[979]=nI;n[980]=mI;n[981]=jI;n[982]=_H;n[983]=WH;n[984]=TH;n[985]=SH;n[986]=RH;n[987]=QH;n[988]=PH;n[989]=OH;n[990]=NH;n[991]=MH;n[992]=Lp;n[993]=LH;n[994]=JH;n[995]=IH;n[996]=HH;n[997]=GH;n[998]=FH;n[999]=gH;n[1e3]=OG;n[1001]=kH;n[1002]=_G;n[1003]=iH;n[1004]=aH;n[1005]=$G;n[1006]=Qn;n[1007]=ZG;n[1008]=PG;function Fa(){return buffer.byteLength/65536|0}function Ga(pagesToAdd){pagesToAdd=pagesToAdd|0;var Ha=Fa()|0;var Ia=Ha+pagesToAdd|0;if(Ha>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":1009,"maximum":1009+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=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)}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}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);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}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=5888592,DYNAMICTOP_PTR=645552;var INITIAL_INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_INITIAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_INITIAL_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(Module);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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;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 addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}if(!Math.imul||Math.imul(4294967295,5)!==-5)Math.imul=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};if(!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(x){froundBuffer[0]=x;return froundBuffer[0]}}if(!Math.clz32)Math.clz32=function(x){var n=32;var y=x>>16;if(y){n-=16;x=y}y=x>>8;if(y){n-=8;x=y}y=x>>4;if(y){n-=4;x=y}y=x>>2;if(y){n-=2;x=y}y=x>>1;if(y)return n-2;return n-x};if(!Math.trunc)Math.trunc=function(x){return x<0?Math.ceil(x):Math.floor(x)};var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};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 memoryInitializer="subtitles-octopus-worker-legacy.js.mem";var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var fileURIPrefix="file://";function isFileURI(filename){return String.prototype.startsWith?filename.startsWith(fileURIPrefix):filename.indexOf(fileURIPrefix)===0}var wasmBinaryFile="subtitles-octopus-worker-legacy.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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={"env":asmLibraryArg,"wasi_snapshot_preview1":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)&&!isFileURI(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{}}var tempDouble;var tempI64;__ATINIT__.push({func:function(){___wasm_call_ctors()}});function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";var Browser_setImmediate_messageHandler=function(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}};addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof performance!=="undefined"&&performance.now){_emscripten_get_now=function(){return performance.now()}}else{_emscripten_get_now=Date.now}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){noExitRuntime=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=function(){Module["dynCall_vi"](func,arg)}}else{browserIterationFunc=function(){Module["dynCall_v"](func)}}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;if(typeof window!=="undefined"){RAF=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||RAF}RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=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 ___map_file(pathname,size){___setErrNo(63);return-1}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 PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___syscall10(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall125(addr,len,size){return 0}function ___syscall15(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall183(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size>>0,(tempDouble=id,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall3(fd,buf,count){try{var stream=SYSCALLS.getStreamFromFD(fd);return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall33(path,amode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall38(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall39(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall40(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var 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(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall83(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall85(path,buf,bufsize){try{path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall9(oldpath,newpath){return-34}function syscallMunmap(addr,len){if(addr===-1||len===0){return-28}var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags,info.offset);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___syscall91(addr,len){try{return syscallMunmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}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)}var _emscripten_memcpy_big=Uint8Array.prototype.copyWithin?function(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}:function(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)};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 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 __getExecutableName(){return thisProgram||"./this.program"}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","_":__getExecutableName()};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{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;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{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(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 _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _roundf(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2*1024*1024*1024-65536;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(28);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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={"__assert_fail":___assert_fail,"__clock_gettime":___clock_gettime,"__map_file":___map_file,"__syscall10":___syscall10,"__syscall125":___syscall125,"__syscall15":___syscall15,"__syscall183":___syscall183,"__syscall195":___syscall195,"__syscall196":___syscall196,"__syscall197":___syscall197,"__syscall20":___syscall20,"__syscall220":___syscall220,"__syscall221":___syscall221,"__syscall3":___syscall3,"__syscall33":___syscall33,"__syscall38":___syscall38,"__syscall39":___syscall39,"__syscall40":___syscall40,"__syscall5":___syscall5,"__syscall54":___syscall54,"__syscall83":___syscall83,"__syscall85":___syscall85,"__syscall9":___syscall9,"__syscall91":___syscall91,"abort":_abort,"emscripten_get_now":_emscripten_get_now,"emscripten_longjmp":_emscripten_longjmp,"emscripten_memcpy_big":_emscripten_memcpy_big,"emscripten_resize_heap":_emscripten_resize_heap,"environ_get":_environ_get,"environ_sizes_get":_environ_sizes_get,"exit":_exit,"fd_close":_fd_close,"fd_fdstat_get":_fd_fdstat_get,"fd_read":_fd_read,"fd_seek":_fd_seek,"fd_write":_fd_write,"getTempRet0":getTempRet0,"gettimeofday":_gettimeofday,"invoke_iii":invoke_iii,"invoke_iiii":invoke_iiii,"invoke_iiiii":invoke_iiiii,"invoke_vii":invoke_vii,"memory":wasmMemory,"roundf":_roundf,"saveSetjmp":_saveSetjmp,"setTempRet0":setTempRet0,"sysconf":_sysconf,"table":wasmTable,"testSetjmp":_testSetjmp,"time":_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"]["__wasm_call_ctors"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["main"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=function(){return(_emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Start_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=function(){return(_emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Start_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=function(){return(_emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Duration_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=function(){return(_emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Duration_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=function(){return(_emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_ReadOrder_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=function(){return(_emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_ReadOrder_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=function(){return(_emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Layer_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=function(){return(_emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Layer_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=function(){return(_emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Style_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=function(){return(_emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Style_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=function(){return(_emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=function(){return(_emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginL_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginL_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginR_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginR_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginV_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginV_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=function(){return(_emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Effect_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=function(){return(_emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Effect_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=function(){return(_emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Text_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=function(){return(_emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Text_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_changed_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_changed_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_blend_time_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_blend_time_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_part_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_part_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=function(){return(_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setLogLevel_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setDropAnimations_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getDropAnimations_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=function(){return(_emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_initLibrary_2"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["free"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_createTrack_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_createTrackMem_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeTrack_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=function(){return(_emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_resizeCanvas_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_renderImage_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_quitLibrary_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_reloadLibrary_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_reloadFonts_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=function(){return(_emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setMargin_4"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getEventCount_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_allocEvent_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_allocStyle_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeEvent_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getStyleCount_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getStyleByName_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeStyle_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeAllEvents_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=function(){return(_emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_renderBlend_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_findNextEventStart_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["malloc"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_track_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_track_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_ass_library_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_ass_library_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=function(){return(_emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=Module["asm"]["emscripten_bind_SubtitleOctopus___destroy___0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_n_styles_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_n_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_max_styles_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_max_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_n_events_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_n_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_max_events_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_max_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=function(){return(_emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_get_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=function(){return(_emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=Module["asm"]["emscripten_bind_ASS_Track_set_styles_2"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=function(){return(_emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_get_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=function(){return(_emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=Module["asm"]["emscripten_bind_ASS_Track_set_events_2"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_style_format_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_style_format_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_event_format_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_event_format_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_PlayResX_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_PlayResX_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_PlayResY_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_PlayResY_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=function(){return(_emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Timer_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=function(){return(_emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Timer_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=function(){return(_emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_WrapStyle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=function(){return(_emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_WrapStyle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=function(){return(_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=function(){return(_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=function(){return(_emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Kerning_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=function(){return(_emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Kerning_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=function(){return(_emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Language_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=function(){return(_emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Language_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=function(){return(_emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_default_style_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=function(){return(_emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_default_style_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=function(){return(_emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=function(){return(_emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=function(){return(_emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=function(){return(_emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_FontName_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_FontName_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_FontSize_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_FontSize_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_PrimaryColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_PrimaryColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_SecondaryColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_SecondaryColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_OutlineColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_OutlineColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_BackColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_BackColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=function(){return(_emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Bold_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=function(){return(_emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Bold_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=function(){return(_emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Italic_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=function(){return(_emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Italic_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Underline_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Underline_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=function(){return(_emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_StrikeOut_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=function(){return(_emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_StrikeOut_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_ScaleX_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_ScaleX_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_ScaleY_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_ScaleY_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=function(){return(_emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Spacing_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=function(){return(_emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Spacing_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=function(){return(_emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Angle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=function(){return(_emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Angle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=function(){return(_emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_BorderStyle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=function(){return(_emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_BorderStyle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Outline_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Outline_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=function(){return(_emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Shadow_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=function(){return(_emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Shadow_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=function(){return(_emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Alignment_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=function(){return(_emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Alignment_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginL_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginL_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginR_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginR_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginV_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginV_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=function(){return(_emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Encoding_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=function(){return(_emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Encoding_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=function(){return(_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=function(){return(_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=function(){return(_emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Blur_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=function(){return(_emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Blur_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=function(){return(_emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Justify_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=function(){return(_emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Justify_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_eventFinish_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_eventFinish_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_is_animated_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_is_animated_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=function(){return(_emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_w_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=function(){return(_emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_w_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=function(){return(_emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_h_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=function(){return(_emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_h_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=function(){return(_emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_stride_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=function(){return(_emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_stride_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=function(){return(_emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_bitmap_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=function(){return(_emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_bitmap_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=function(){return(_emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_color_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=function(){return(_emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_color_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_dst_x_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_dst_x_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_dst_y_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_dst_y_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=function(){return(_emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_next_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=function(){return(_emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_next_1"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["emscripten_bind_VoidPtr___destroy___0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_x_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_x_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_y_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_y_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_width_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_width_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_height_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_height_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_image_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_image_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_next_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_next_1"]).apply(null,arguments)};var _emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=function(){return(_emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=Module["asm"]["emscripten_bind_libass_libass_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=function(){return(_emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=Module["asm"]["emscripten_bind_libass_oct_library_version_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=function(){return(_emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=Module["asm"]["emscripten_bind_libass_oct_library_init_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=function(){return(_emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=Module["asm"]["emscripten_bind_libass_oct_library_done_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=function(){return(_emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=Module["asm"]["emscripten_bind_libass_oct_set_fonts_dir_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=function(){return(_emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=Module["asm"]["emscripten_bind_libass_oct_set_extract_fonts_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=function(){return(_emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=Module["asm"]["emscripten_bind_libass_oct_set_style_overrides_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=function(){return(_emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=Module["asm"]["emscripten_bind_libass_oct_process_force_style_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=function(){return(_emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=Module["asm"]["emscripten_bind_libass_oct_renderer_init_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=function(){return(_emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=Module["asm"]["emscripten_bind_libass_oct_renderer_done_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=function(){return(_emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=Module["asm"]["emscripten_bind_libass_oct_set_frame_size_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=function(){return(_emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=Module["asm"]["emscripten_bind_libass_oct_set_storage_size_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=function(){return(_emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=Module["asm"]["emscripten_bind_libass_oct_set_shaper_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=function(){return(_emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=Module["asm"]["emscripten_bind_libass_oct_set_margins_5"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=function(){return(_emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=Module["asm"]["emscripten_bind_libass_oct_set_use_margins_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=function(){return(_emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=Module["asm"]["emscripten_bind_libass_oct_set_pixel_aspect_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=function(){return(_emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=Module["asm"]["emscripten_bind_libass_oct_set_aspect_ratio_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=function(){return(_emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=Module["asm"]["emscripten_bind_libass_oct_set_font_scale_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=function(){return(_emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=Module["asm"]["emscripten_bind_libass_oct_set_hinting_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=function(){return(_emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=Module["asm"]["emscripten_bind_libass_oct_set_line_spacing_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=function(){return(_emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=Module["asm"]["emscripten_bind_libass_oct_set_line_position_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=function(){return(_emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=Module["asm"]["emscripten_bind_libass_oct_set_fonts_6"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=Module["asm"]["emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=Module["asm"]["emscripten_bind_libass_oct_set_selective_style_override_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=function(){return(_emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=Module["asm"]["emscripten_bind_libass_oct_set_cache_limits_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=function(){return(_emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=Module["asm"]["emscripten_bind_libass_oct_render_frame_4"]).apply(null,arguments)};var _emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=function(){return(_emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=Module["asm"]["emscripten_bind_libass_oct_new_track_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=function(){return(_emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=Module["asm"]["emscripten_bind_libass_oct_free_track_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=function(){return(_emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=Module["asm"]["emscripten_bind_libass_oct_alloc_style_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=function(){return(_emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=Module["asm"]["emscripten_bind_libass_oct_alloc_event_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=function(){return(_emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=Module["asm"]["emscripten_bind_libass_oct_free_style_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=function(){return(_emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=Module["asm"]["emscripten_bind_libass_oct_free_event_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=function(){return(_emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=Module["asm"]["emscripten_bind_libass_oct_flush_events_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=function(){return(_emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=Module["asm"]["emscripten_bind_libass_oct_read_file_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=function(){return(_emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=Module["asm"]["emscripten_bind_libass_oct_add_font_4"]).apply(null,arguments)};var _emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=function(){return(_emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=Module["asm"]["emscripten_bind_libass_oct_clear_fonts_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=function(){return(_emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=Module["asm"]["emscripten_bind_libass_oct_step_sub_3"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=Module["asm"]["emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=Module["asm"]["emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["realloc"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["__errno_location"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["setThrew"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["dynCall_v"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["dynCall_vii"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["dynCall_iii"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["dynCall_iiii"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["dynCall_iiiii"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["stackSave"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["stackAlloc"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["stackRestore"]).apply(null,arguments)};var __growWasmMemory=Module["__growWasmMemory"]=function(){return(__growWasmMemory=Module["__growWasmMemory"]=Module["asm"]["__growWasmMemory"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["dynCall_vi"]).apply(null,arguments)};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_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_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_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)}}Module["asm"]=asm;Module["ccall"]=ccall;Module["cwrap"]=cwrap;Module["getValue"]=getValue;Module["getMemory"]=getMemory;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;if(memoryInitializer){if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=readBinary(memoryInitializer);HEAPU8.set(data,GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){readAsync(memoryInitializer,applyMemoryInitializer,function(){throw"could not load memory initializer "+memoryInitializer})};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}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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"]();if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&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()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i5){console.error("Didn't received currentTime > 5 seconds. Assuming video was paused.");self.setIsPaused(true)}return self.lastCurrentTime+diff*self.rate}};self.setCurrentTime=function(currentTime){self.lastCurrentTime=currentTime;self.lastCurrentTimeReceivedAt=Date.now();if(!self.rafId){if(self.nextIsRaf){if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}else{if(!self.renderOnDemand){self.getRenderMethod()()}setTimeout(function(){self.nextIsRaf=false},20)}}};self._isPaused=true;self.getIsPaused=function(){return self._isPaused};self.setIsPaused=function(isPaused){if(isPaused!=self._isPaused){self._isPaused=isPaused;if(isPaused){if(self.rafId){clearTimeout(self.rafId);self.rafId=null}}else{self.lastCurrentTimeReceivedAt=Date.now();if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}}};self.render=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var spentTime=performance.now()-startTime;postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:spentTime,canvases:result[0]},result[1])}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.render)}};self.blendRenderTiming=function(timing,force){var startTime=performance.now();var renderResult=self.octObj.renderBlend(timing,force);var blendTime=renderResult.blend_time;var canvases=[],buffers=[];if(renderResult.ptr!=0&&(renderResult.changed!=0||force)){for(var part=renderResult.part;part.ptr!=0;part=part.next){var result=new Uint8Array(HEAPU8.subarray(part.image,part.image+part.dest_width*part.dest_height*4));canvases.push({w:part.dest_width,h:part.dest_height,x:part.dest_x,y:part.dest_y,buffer:result.buffer});buffers.push(result.buffer)}}return{time:Date.now(),spentTime:performance.now()-startTime,blendTime:blendTime,canvases:canvases,buffers:buffers}};self.blendRender=function(force){self.rafId=0;self.renderPending=false;var rendered=self.blendRenderTiming(self.getCurrentTime()+self.delay,force);if(rendered.canvases.length>0){postMessage({target:"canvas",op:"renderCanvas",time:rendered.time,spentTime:rendered.spentTime,blendTime:rendered.blendTime,canvases:rendered.canvases},rendered.buffers)}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.blendRender)}};self.oneshotRender=function(lastRenderedTime,renderNow,iteration){var eventStart=renderNow?lastRenderedTime:self.octObj.findNextEventStart(lastRenderedTime);var eventFinish=-1,emptyFinish=-1,animated=false;var rendered={};if(eventStart>=0){eventTimes=self.octObj.findEventStopTimes(eventStart);eventFinish=eventTimes.eventFinish;emptyFinish=eventTimes.emptyFinish;animated=eventTimes.is_animated;rendered=self.blendRenderTiming(eventStart,true)}postMessage({target:"canvas",op:"oneshot-result",iteration:iteration,lastRenderedTime:lastRenderedTime,eventStart:eventStart,eventFinish:eventFinish,emptyFinish:emptyFinish,animated:animated,viewport:{width:self.width,height:self.height},spentTime:rendered.spentTime||0,blendTime:rendered.blendTime||0,canvases:rendered.canvases||[]},rendered.buffers||[])};self.fastRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var newTime=performance.now();var libassTime=newTime-startTime;var promises=[];for(var i=0;i>24&255,g=color>>16&255,b=color>>8&255,a=255-(color&255);var result=new Uint8ClampedArray(4*w*h);var bitmapPosition=0;var resultPosition=0;for(var y=0;yformat.length){lastPart=value.slice(format.length-1).join(",");value=value.slice(0,format.length-1);value.push(lastPart)}value=value.map(function(s){return s.trim()});if(format){tmp={};for(j=0;j=nextRAF){nextRAF+=1e3/self.targetFps}}var delay=Math.max(nextRAF-now,0);return setTimeout(func,delay)}}();var screen={width:0,height:0};Module.print=function Module_print(x){postMessage({target:"stdout",content:x})};Module.printErr=function Module_printErr(x){postMessage({target:"stderr",content:x})};var frameId=0;var clientFrameId=0;var commandBuffer=[];var postMainLoop=Module["postMainLoop"];Module["postMainLoop"]=function(){if(postMainLoop)postMainLoop();postMessage({target:"tick",id:frameId++});commandBuffer=[]};addRunDependency("worker-init");var messageBuffer=null;var messageResenderTimeout=null;function messageResender(){if(calledMain){assert(messageBuffer&&messageBuffer.length>0);messageResenderTimeout=null;messageBuffer.forEach(function(message){onmessage(message)});messageBuffer=null}else{messageResenderTimeout=setTimeout(messageResender,50)}}function onMessageFromMainEmscriptenThread(message){if(!calledMain&&!message.data.preMain){if(!messageBuffer){messageBuffer=[];messageResenderTimeout=setTimeout(messageResender,50)}messageBuffer.push(message);return}if(calledMain&&messageResenderTimeout){clearTimeout(messageResenderTimeout);messageResender()}switch(message.data.target){case"window":{self.fireEvent(message.data.event);break}case"canvas":{if(message.data.event){Module.canvas.fireEvent(message.data.event)}else if(message.data.width){if(Module.canvas&&message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}self.resize(message.data.width,message.data.height);if(!self.renderOnDemand){self.getRenderMethod()()}}else throw"ey?";break}case"video":{if(message.data.currentTime!==undefined){self.setCurrentTime(message.data.currentTime)}if(message.data.isPaused!==undefined){self.setIsPaused(message.data.isPaused)}if(message.data.rate){self.rate=message.data.rate}break}case"tock":{clientFrameId=message.data.id;break}case"worker-init":{screen.width=self.width=message.data.width;screen.height=self.height=message.data.height;self.subUrl=message.data.subUrl;self.subContent=message.data.subContent;self.fontFiles=message.data.fonts;self.renderMode=message.data.renderMode;self.availableFonts=message.data.availableFonts;self.debug=message.data.debug;if(!hasNativeConsole&&self.debug){console=makeCustomConsole();console.log("overridden console")}if(Module.canvas){Module.canvas.width_=message.data.width;Module.canvas.height_=message.data.height;if(message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}}self.targetFps=message.data.targetFps||self.targetFps;self.libassMemoryLimit=message.data.libassMemoryLimit||self.libassMemoryLimit;self.libassGlyphLimit=message.data.libassGlyphLimit||0;self.renderOnDemand=message.data.renderOnDemand||false;self.dropAllAnimations=message.data.dropAllAnimations||false;removeRunDependency("worker-init");break}case"oneshot-render":self.oneshotRender(message.data.lastRendered,message.data.renderNow||false,message.data.iteration);break;case"destroy":self.octObj.quitLibrary();break;case"free-track":self.freeTrack();break;case"set-track":self.setTrack(message.data.content);break;case"set-track-by-url":self.setTrackByUrl(message.data.url);break;case"create-event":var event=message.data.event;var i=self.octObj.allocEvent();var evnt_ptr=self.octObj.track.get_events(i);var vargs=Object.keys(event);for(const varg of vargs){evnt_ptr[varg]=event[varg]}break;case"get-events":var events=[];for(var i=0;ilongestFrame){longestFrame=diff}if(i>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":1009,"maximum":1009+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);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}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=5888592,DYNAMICTOP_PTR=645552;var INITIAL_INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_INITIAL_MEMORY/WASM_PAGE_SIZE,"maximum":2147483648/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_INITIAL_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(Module);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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;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 addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}if(!Math.imul||Math.imul(4294967295,5)!==-5)Math.imul=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};if(!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(x){froundBuffer[0]=x;return froundBuffer[0]}}if(!Math.clz32)Math.clz32=function(x){var n=32;var y=x>>16;if(y){n-=16;x=y}y=x>>8;if(y){n-=8;x=y}y=x>>4;if(y){n-=4;x=y}y=x>>2;if(y){n-=2;x=y}y=x>>1;if(y)return n-2;return n-x};if(!Math.trunc)Math.trunc=function(x){return x<0?Math.ceil(x):Math.floor(x)};var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};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 memoryInitializer="subtitles-octopus-worker-legacy.js.mem";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 fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="subtitles-octopus-worker-legacy.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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={"env":asmLibraryArg,"wasi_snapshot_preview1":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)&&!isFileURI(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{}}var tempDouble;var tempI64;__ATINIT__.push({func:function(){___wasm_call_ctors()}});function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";var Browser_setImmediate_messageHandler=function(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}};addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}var _emscripten_get_now;if(typeof performance!=="undefined"&&performance.now){_emscripten_get_now=function(){return performance.now()}}else{_emscripten_get_now=Date.now}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){noExitRuntime=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=function(){Module["dynCall_vi"](func,arg)}}else{browserIterationFunc=function(){Module["dynCall_v"](func)}}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;if(typeof window!=="undefined"){RAF=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||RAF}RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=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 ___map_file(pathname,size){setErrNo(63);return-1}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 PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys_access(path,amode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_chmod(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fstat64(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getcwd(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size>>0,(tempDouble=id,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getpid(){return 42}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_link(oldpath,newpath){return-34}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mprotect(addr,len,size){return 0}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){var stream=FS.getStream(info.fd);if(info.prot&2){SYSCALLS.doMsync(addr,stream,len,info.flags,info.offset)}FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){try{return syscallMunmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var 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 ___sys_read(fd,buf,count){try{var stream=SYSCALLS.getStreamFromFD(fd);return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_readlink(path,buf,bufsize){try{path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_symlink(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}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)}var _emscripten_memcpy_big=Uint8Array.prototype.copyWithin?function(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}:function(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)};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 PAGE_MULTIPLE=65536;var maxHeapSize=2147483648;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 __getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.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","_":__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){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;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{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(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 _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _roundf(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2147483648;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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={"__assert_fail":___assert_fail,"__clock_gettime":___clock_gettime,"__map_file":___map_file,"__sys_access":___sys_access,"__sys_chmod":___sys_chmod,"__sys_fcntl64":___sys_fcntl64,"__sys_fstat64":___sys_fstat64,"__sys_getcwd":___sys_getcwd,"__sys_getdents64":___sys_getdents64,"__sys_getpid":___sys_getpid,"__sys_ioctl":___sys_ioctl,"__sys_link":___sys_link,"__sys_lstat64":___sys_lstat64,"__sys_mkdir":___sys_mkdir,"__sys_mprotect":___sys_mprotect,"__sys_munmap":___sys_munmap,"__sys_open":___sys_open,"__sys_read":___sys_read,"__sys_readlink":___sys_readlink,"__sys_rename":___sys_rename,"__sys_rmdir":___sys_rmdir,"__sys_stat64":___sys_stat64,"__sys_symlink":___sys_symlink,"__sys_unlink":___sys_unlink,"abort":_abort,"emscripten_get_now":_emscripten_get_now,"emscripten_longjmp":_emscripten_longjmp,"emscripten_memcpy_big":_emscripten_memcpy_big,"emscripten_resize_heap":_emscripten_resize_heap,"environ_get":_environ_get,"environ_sizes_get":_environ_sizes_get,"exit":_exit,"fd_close":_fd_close,"fd_fdstat_get":_fd_fdstat_get,"fd_read":_fd_read,"fd_seek":_fd_seek,"fd_write":_fd_write,"getTempRet0":getTempRet0,"gettimeofday":_gettimeofday,"invoke_iii":invoke_iii,"invoke_iiii":invoke_iiii,"invoke_iiiii":invoke_iiiii,"invoke_vii":invoke_vii,"memory":wasmMemory,"roundf":_roundf,"saveSetjmp":_saveSetjmp,"setTempRet0":setTempRet0,"sysconf":_sysconf,"table":wasmTable,"testSetjmp":_testSetjmp,"time":_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"]["__wasm_call_ctors"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["main"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=function(){return(_emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Start_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=function(){return(_emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Start_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=function(){return(_emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Duration_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=function(){return(_emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Duration_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=function(){return(_emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_ReadOrder_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=function(){return(_emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_ReadOrder_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=function(){return(_emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Layer_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=function(){return(_emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Layer_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=function(){return(_emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Style_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=function(){return(_emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Style_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=function(){return(_emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=function(){return(_emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginL_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginL_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginR_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginR_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_MarginV_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_MarginV_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=function(){return(_emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Effect_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=function(){return(_emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Effect_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=function(){return(_emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=Module["asm"]["emscripten_bind_ASS_Event_get_Text_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=function(){return(_emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=Module["asm"]["emscripten_bind_ASS_Event_set_Text_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_changed_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_changed_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_blend_time_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_blend_time_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=Module["asm"]["emscripten_bind_RenderBlendResult_get_part_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=Module["asm"]["emscripten_bind_RenderBlendResult_set_part_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=function(){return(_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setLogLevel_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setDropAnimations_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getDropAnimations_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=function(){return(_emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_initLibrary_2"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["free"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_createTrack_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_createTrackMem_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeTrack_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=function(){return(_emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_resizeCanvas_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_renderImage_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_quitLibrary_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_reloadLibrary_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_reloadFonts_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=function(){return(_emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setMargin_4"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getEventCount_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_allocEvent_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_allocStyle_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeEvent_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getStyleCount_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_getStyleByName_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeStyle_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_removeAllEvents_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=function(){return(_emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=Module["asm"]["emscripten_bind_SubtitleOctopus_renderBlend_2"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_findNextEventStart_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["malloc"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_track_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_track_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=Module["asm"]["emscripten_bind_SubtitleOctopus_get_ass_library_0"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=Module["asm"]["emscripten_bind_SubtitleOctopus_set_ass_library_1"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=function(){return(_emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=Module["asm"]["emscripten_bind_SubtitleOctopus___destroy___0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_n_styles_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_n_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_max_styles_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_max_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_n_events_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_n_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_max_events_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_max_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=function(){return(_emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=Module["asm"]["emscripten_bind_ASS_Track_get_styles_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=function(){return(_emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=Module["asm"]["emscripten_bind_ASS_Track_set_styles_2"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=function(){return(_emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=Module["asm"]["emscripten_bind_ASS_Track_get_events_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=function(){return(_emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=Module["asm"]["emscripten_bind_ASS_Track_set_events_2"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_style_format_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_style_format_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_event_format_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_event_format_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_PlayResX_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_PlayResX_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_PlayResY_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_PlayResY_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=function(){return(_emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Timer_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=function(){return(_emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Timer_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=function(){return(_emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_WrapStyle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=function(){return(_emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_WrapStyle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=function(){return(_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=function(){return(_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=function(){return(_emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Kerning_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=function(){return(_emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Kerning_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=function(){return(_emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_Language_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=function(){return(_emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_Language_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=function(){return(_emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_default_style_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=function(){return(_emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_default_style_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=function(){return(_emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=Module["asm"]["emscripten_bind_ASS_Track_get_name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=function(){return(_emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=Module["asm"]["emscripten_bind_ASS_Track_set_name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=function(){return(_emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Name_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=function(){return(_emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Name_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_FontName_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_FontName_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_FontSize_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_FontSize_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_PrimaryColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_PrimaryColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_SecondaryColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_SecondaryColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_OutlineColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_OutlineColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_BackColour_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_BackColour_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=function(){return(_emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Bold_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=function(){return(_emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Bold_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=function(){return(_emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Italic_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=function(){return(_emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Italic_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Underline_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Underline_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=function(){return(_emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_StrikeOut_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=function(){return(_emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_StrikeOut_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_ScaleX_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_ScaleX_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_ScaleY_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_ScaleY_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=function(){return(_emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Spacing_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=function(){return(_emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Spacing_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=function(){return(_emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Angle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=function(){return(_emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Angle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=function(){return(_emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_BorderStyle_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=function(){return(_emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_BorderStyle_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Outline_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Outline_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=function(){return(_emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Shadow_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=function(){return(_emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Shadow_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=function(){return(_emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Alignment_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=function(){return(_emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Alignment_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginL_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginL_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginR_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginR_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_MarginV_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_MarginV_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=function(){return(_emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Encoding_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=function(){return(_emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Encoding_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=function(){return(_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=function(){return(_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=function(){return(_emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Blur_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=function(){return(_emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Blur_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=function(){return(_emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=Module["asm"]["emscripten_bind_ASS_Style_get_Justify_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=function(){return(_emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=Module["asm"]["emscripten_bind_ASS_Style_set_Justify_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_eventFinish_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_eventFinish_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=Module["asm"]["emscripten_bind_EventStopTimesResult_get_is_animated_0"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=Module["asm"]["emscripten_bind_EventStopTimesResult_set_is_animated_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=function(){return(_emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_w_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=function(){return(_emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_w_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=function(){return(_emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_h_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=function(){return(_emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_h_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=function(){return(_emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_stride_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=function(){return(_emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_stride_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=function(){return(_emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_bitmap_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=function(){return(_emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_bitmap_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=function(){return(_emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_color_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=function(){return(_emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_color_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_dst_x_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_dst_x_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_dst_y_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_dst_y_1"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=function(){return(_emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=Module["asm"]["emscripten_bind_ASS_Image_get_next_0"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=function(){return(_emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=Module["asm"]["emscripten_bind_ASS_Image_set_next_1"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["emscripten_bind_VoidPtr___destroy___0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_x_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_x_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_y_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_y_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_width_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_width_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_dest_height_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_dest_height_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_image_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_image_1"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=Module["asm"]["emscripten_bind_RenderBlendPart_get_next_0"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=Module["asm"]["emscripten_bind_RenderBlendPart_set_next_1"]).apply(null,arguments)};var _emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=function(){return(_emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=Module["asm"]["emscripten_bind_libass_libass_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=function(){return(_emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=Module["asm"]["emscripten_bind_libass_oct_library_version_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=function(){return(_emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=Module["asm"]["emscripten_bind_libass_oct_library_init_0"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=function(){return(_emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=Module["asm"]["emscripten_bind_libass_oct_library_done_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=function(){return(_emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=Module["asm"]["emscripten_bind_libass_oct_set_fonts_dir_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=function(){return(_emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=Module["asm"]["emscripten_bind_libass_oct_set_extract_fonts_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=function(){return(_emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=Module["asm"]["emscripten_bind_libass_oct_set_style_overrides_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=function(){return(_emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=Module["asm"]["emscripten_bind_libass_oct_process_force_style_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=function(){return(_emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=Module["asm"]["emscripten_bind_libass_oct_renderer_init_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=function(){return(_emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=Module["asm"]["emscripten_bind_libass_oct_renderer_done_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=function(){return(_emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=Module["asm"]["emscripten_bind_libass_oct_set_frame_size_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=function(){return(_emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=Module["asm"]["emscripten_bind_libass_oct_set_storage_size_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=function(){return(_emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=Module["asm"]["emscripten_bind_libass_oct_set_shaper_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=function(){return(_emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=Module["asm"]["emscripten_bind_libass_oct_set_margins_5"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=function(){return(_emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=Module["asm"]["emscripten_bind_libass_oct_set_use_margins_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=function(){return(_emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=Module["asm"]["emscripten_bind_libass_oct_set_pixel_aspect_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=function(){return(_emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=Module["asm"]["emscripten_bind_libass_oct_set_aspect_ratio_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=function(){return(_emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=Module["asm"]["emscripten_bind_libass_oct_set_font_scale_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=function(){return(_emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=Module["asm"]["emscripten_bind_libass_oct_set_hinting_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=function(){return(_emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=Module["asm"]["emscripten_bind_libass_oct_set_line_spacing_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=function(){return(_emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=Module["asm"]["emscripten_bind_libass_oct_set_line_position_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=function(){return(_emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=Module["asm"]["emscripten_bind_libass_oct_set_fonts_6"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=Module["asm"]["emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=Module["asm"]["emscripten_bind_libass_oct_set_selective_style_override_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=function(){return(_emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=Module["asm"]["emscripten_bind_libass_oct_set_cache_limits_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=function(){return(_emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=Module["asm"]["emscripten_bind_libass_oct_render_frame_4"]).apply(null,arguments)};var _emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=function(){return(_emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=Module["asm"]["emscripten_bind_libass_oct_new_track_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=function(){return(_emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=Module["asm"]["emscripten_bind_libass_oct_free_track_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=function(){return(_emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=Module["asm"]["emscripten_bind_libass_oct_alloc_style_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=function(){return(_emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=Module["asm"]["emscripten_bind_libass_oct_alloc_event_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=function(){return(_emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=Module["asm"]["emscripten_bind_libass_oct_free_style_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=function(){return(_emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=Module["asm"]["emscripten_bind_libass_oct_free_event_2"]).apply(null,arguments)};var _emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=function(){return(_emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=Module["asm"]["emscripten_bind_libass_oct_flush_events_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=function(){return(_emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=Module["asm"]["emscripten_bind_libass_oct_read_file_3"]).apply(null,arguments)};var _emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=function(){return(_emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=Module["asm"]["emscripten_bind_libass_oct_add_font_4"]).apply(null,arguments)};var _emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=function(){return(_emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=Module["asm"]["emscripten_bind_libass_oct_clear_fonts_1"]).apply(null,arguments)};var _emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=function(){return(_emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=Module["asm"]["emscripten_bind_libass_oct_step_sub_3"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=Module["asm"]["emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=Module["asm"]["emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=Module["asm"]["emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=Module["asm"]["emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["realloc"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["__errno_location"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["setThrew"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["dynCall_v"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["dynCall_vii"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["dynCall_iii"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["dynCall_iiii"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["dynCall_iiiii"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["stackSave"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["stackAlloc"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["stackRestore"]).apply(null,arguments)};var __growWasmMemory=Module["__growWasmMemory"]=function(){return(__growWasmMemory=Module["__growWasmMemory"]=Module["asm"]["__growWasmMemory"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["dynCall_vi"]).apply(null,arguments)};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_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_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_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)}}Module["asm"]=asm;Module["ccall"]=ccall;Module["cwrap"]=cwrap;Module["getValue"]=getValue;Module["getMemory"]=getMemory;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;if(memoryInitializer){if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=readBinary(memoryInitializer);HEAPU8.set(data,GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){readAsync(memoryInitializer,applyMemoryInitializer,function(){throw"could not load memory initializer "+memoryInitializer})};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}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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"]();if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&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()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i5){console.error("Didn't received currentTime > 5 seconds. Assuming video was paused.");self.setIsPaused(true)}return self.lastCurrentTime+diff*self.rate}};self.setCurrentTime=function(currentTime){self.lastCurrentTime=currentTime;self.lastCurrentTimeReceivedAt=Date.now();if(!self.rafId){if(self.nextIsRaf){if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}else{if(!self.renderOnDemand){self.getRenderMethod()()}setTimeout(function(){self.nextIsRaf=false},20)}}};self._isPaused=true;self.getIsPaused=function(){return self._isPaused};self.setIsPaused=function(isPaused){if(isPaused!=self._isPaused){self._isPaused=isPaused;if(isPaused){if(self.rafId){clearTimeout(self.rafId);self.rafId=null}}else{self.lastCurrentTimeReceivedAt=Date.now();if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}}};self.render=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var spentTime=performance.now()-startTime;postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:spentTime,canvases:result[0]},result[1])}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.render)}};self.blendRenderTiming=function(timing,force){var startTime=performance.now();var renderResult=self.octObj.renderBlend(timing,force);var blendTime=renderResult.blend_time;var canvases=[],buffers=[];if(renderResult.ptr!=0&&(renderResult.changed!=0||force)){for(var part=renderResult.part;part.ptr!=0;part=part.next){var result=new Uint8Array(HEAPU8.subarray(part.image,part.image+part.dest_width*part.dest_height*4));canvases.push({w:part.dest_width,h:part.dest_height,x:part.dest_x,y:part.dest_y,buffer:result.buffer});buffers.push(result.buffer)}}return{time:Date.now(),spentTime:performance.now()-startTime,blendTime:blendTime,canvases:canvases,buffers:buffers}};self.blendRender=function(force){self.rafId=0;self.renderPending=false;var rendered=self.blendRenderTiming(self.getCurrentTime()+self.delay,force);if(rendered.canvases.length>0){postMessage({target:"canvas",op:"renderCanvas",time:rendered.time,spentTime:rendered.spentTime,blendTime:rendered.blendTime,canvases:rendered.canvases},rendered.buffers)}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.blendRender)}};self.oneshotRender=function(lastRenderedTime,renderNow,iteration){var eventStart=renderNow?lastRenderedTime:self.octObj.findNextEventStart(lastRenderedTime);var eventFinish=-1,emptyFinish=-1,animated=false;var rendered={};if(eventStart>=0){eventTimes=self.octObj.findEventStopTimes(eventStart);eventFinish=eventTimes.eventFinish;emptyFinish=eventTimes.emptyFinish;animated=eventTimes.is_animated;rendered=self.blendRenderTiming(eventStart,true)}postMessage({target:"canvas",op:"oneshot-result",iteration:iteration,lastRenderedTime:lastRenderedTime,eventStart:eventStart,eventFinish:eventFinish,emptyFinish:emptyFinish,animated:animated,viewport:{width:self.width,height:self.height},spentTime:rendered.spentTime||0,blendTime:rendered.blendTime||0,canvases:rendered.canvases||[]},rendered.buffers||[])};self.fastRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var newTime=performance.now();var libassTime=newTime-startTime;var promises=[];for(var i=0;i>24&255,g=color>>16&255,b=color>>8&255,a=255-(color&255);var result=new Uint8ClampedArray(4*w*h);var bitmapPosition=0;var resultPosition=0;for(var y=0;yformat.length){lastPart=value.slice(format.length-1).join(",");value=value.slice(0,format.length-1);value.push(lastPart)}value=value.map(function(s){return s.trim()});if(format){tmp={};for(j=0;j=nextRAF){nextRAF+=1e3/self.targetFps}}var delay=Math.max(nextRAF-now,0);return setTimeout(func,delay)}}();var screen={width:0,height:0};Module.print=function Module_print(x){postMessage({target:"stdout",content:x})};Module.printErr=function Module_printErr(x){postMessage({target:"stderr",content:x})};var frameId=0;var clientFrameId=0;var commandBuffer=[];var postMainLoop=Module["postMainLoop"];Module["postMainLoop"]=function(){if(postMainLoop)postMainLoop();postMessage({target:"tick",id:frameId++});commandBuffer=[]};addRunDependency("worker-init");var messageBuffer=null;var messageResenderTimeout=null;function messageResender(){if(calledMain){assert(messageBuffer&&messageBuffer.length>0);messageResenderTimeout=null;messageBuffer.forEach(function(message){onmessage(message)});messageBuffer=null}else{messageResenderTimeout=setTimeout(messageResender,50)}}function _applyKeys(input,output){var vargs=Object.keys(input);for(var i=0;ilongestFrame){longestFrame=diff}if(ithis.length){this_len=this.length}return this.substring(this_len-search.length,this_len)===search}}var hasNativeConsole=typeof console!=="undefined";function makeCustomConsole(){var console=function(){function postConsoleMessage(prefix,args){postMessage({target:"console-"+prefix,content:JSON.stringify(Array.prototype.slice.call(args))})}return{log:function(){postConsoleMessage("log",arguments)},debug:function(){postConsoleMessage("debug",arguments)},info:function(){postConsoleMessage("info",arguments)},warn:function(){postConsoleMessage("warn",arguments)},error:function(){postConsoleMessage("error",arguments)}}}();return console}Module=Module||{};Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){var i;Module["FS_createFolder"]("/","fonts",true,true);if(!self.subContent){if(self.subUrl.endsWith(".br")){self.subContent=Module["BrotliDecode"](readBinary(self.subUrl))}else{self.subContent=read_(self.subUrl)}}if(self.availableFonts&&self.availableFonts.length!==0){var sections=parseAss(self.subContent);for(var i=0;i0||self.libassGlyphLimit>0){self.octObj.setMemoryLimits(self.libassGlyphLimit,self.libassMemoryLimit)}};Module["print"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.log(text)};Module["printErr"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.error(text)};if(!hasNativeConsole){var console={log:function(x){if(typeof dump==="function")dump("log: "+x+"\n")},debug:function(x){if(typeof dump==="function")dump("debug: "+x+"\n")},info:function(x){if(typeof dump==="function")dump("info: "+x+"\n")},warn:function(x){if(typeof dump==="function")dump("warn: "+x+"\n")},error:function(x){if(typeof dump==="function")dump("error: "+x+"\n")}}}if("performance"in self===false){self.performance={}}Date.now=Date.now||function(){return(new Date).getTime()};if("now"in self.performance===false){var nowOffset=Date.now();if(performance.timing&&performance.timing.navigationStart){nowOffset=performance.timing.navigationStart}self.performance.now=function now(){return Date.now()-nowOffset}}(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unbrotli=f()}})(function(){var exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i0};BrotliBitReader.prototype.readMoreInput=function(){if(this.bit_end_pos_>256){return}else if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var dst=this.buf_ptr_;var bytes_read=this.input_.read(this.buf_,dst,BROTLI_READ_SIZE);if(bytes_read<0){throw new Error("Unexpected end of input")}if(bytes_read=8){this.val_>>>=8;this.val_|=this.buf_[this.pos_&BROTLI_IBUF_MASK]<<24;++this.pos_;this.bit_pos_=this.bit_pos_-8>>>0;this.bit_end_pos_=this.bit_end_pos_-8>>>0}};BrotliBitReader.prototype.readBits=function(n_bits){if(32-this.bit_pos_>>this.bit_pos_&kBitMask[n_bits];this.bit_pos_+=n_bits;return val};module.exports=BrotliBitReader},{}],2:[function(require,module,exports){exports.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]);exports.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],3:[function(require,module,exports){var BrotliInput=require("./streams").BrotliInput;var BrotliOutput=require("./streams").BrotliOutput;var BrotliBitReader=require("./bit_reader");var BrotliDictionary=require("./dictionary");var HuffmanCode=require("./huffman").HuffmanCode;var BrotliBuildHuffmanTable=require("./huffman").BrotliBuildHuffmanTable;var Context=require("./context");var Prefix=require("./prefix");var Transform=require("./transform");var kDefaultCodeLength=8;var kCodeLengthRepeatCode=16;var kNumLiteralCodes=256;var kNumInsertAndCopyCodes=704;var kNumBlockLengthCodes=26;var kLiteralContextBits=6;var kDistanceContextBits=2;var HUFFMAN_TABLE_BITS=8;var HUFFMAN_TABLE_MASK=255;var HUFFMAN_MAX_TABLE_SIZE=1080;var CODE_LENGTH_CODES=18;var kCodeLengthCodeOrder=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var NUM_DISTANCE_SHORT_CODES=16;var kDistanceShortCodeIndexOffset=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]);var kDistanceShortCodeValueOffset=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var kMaxHuffmanTableSize=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function DecodeWindowBits(br){var n;if(br.readBits(1)===0){return 16}n=br.readBits(3);if(n>0){return 17+n}n=br.readBits(3);if(n>0){return 8+n}return 17}function DecodeVarLenUint8(br){if(br.readBits(1)){var nbits=br.readBits(3);if(nbits===0){return 1}else{return br.readBits(nbits)+(1<1&&next_byte===0)throw new Error("Invalid size byte");out.meta_block_length|=next_byte<4&&next_nibble===0)throw new Error("Invalid size nibble");out.meta_block_length|=next_nibble<>>br.bit_pos_&HUFFMAN_TABLE_MASK;nbits=table[index].bits-HUFFMAN_TABLE_BITS;if(nbits>0){br.bit_pos_+=HUFFMAN_TABLE_BITS;index+=table[index].value;index+=br.val_>>>br.bit_pos_&(1<0){var p=0;var code_len;br.readMoreInput();br.fillBitWindow();p+=br.val_>>>br.bit_pos_&31;br.bit_pos_+=table[p].bits;code_len=table[p].value&255;if(code_len>code_len}}else{var extra_bits=code_len-14;var old_repeat;var repeat_delta;var new_len=0;if(code_len===kCodeLengthRepeatCode){new_len=prev_code_len}if(repeat_code_len!==new_len){repeat=0;repeat_code_len=new_len}old_repeat=repeat;if(repeat>0){repeat-=2;repeat<<=extra_bits}repeat+=br.readBits(extra_bits)+3;repeat_delta=repeat-old_repeat;if(symbol+repeat_delta>num_symbols){throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols")}for(var x=0;x0;++i){var code_len_idx=kCodeLengthCodeOrder[i];var p=0;var v;br.fillBitWindow();p+=br.val_>>>br.bit_pos_&15;br.bit_pos_+=huff[p].bits;v=huff[p].value;code_length_code_lengths[code_len_idx]=v;if(v!==0){space-=32>>v;++num_codes}}if(!(num_codes===1||space===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");ReadHuffmanCodeLengths(code_length_code_lengths,alphabet_size,code_lengths,br)}table_size=BrotliBuildHuffmanTable(tables,table,HUFFMAN_TABLE_BITS,code_lengths,alphabet_size);if(table_size===0){throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ")}return table_size}function ReadBlockLength(table,index,br){var code;var nbits;code=ReadSymbol(table,index,br);nbits=Prefix.kBlockLengthPrefixCode[code].nbits;return Prefix.kBlockLengthPrefixCode[code].offset+br.readBits(nbits)}function TranslateShortCodes(code,ringbuffer,index){var val;if(code>>5]);this.htrees=new Uint32Array(num_htrees)}HuffmanTreeGroup.prototype.decode=function(br){var i;var table_size;var next=0;for(i=0;i=context_map_size){throw new Error("[DecodeContextMap] i >= context_map_size")}context_map[i]=0;++i}}else{context_map[i]=code-max_run_length_prefix;++i}}if(br.readBits(1)){InverseMoveToFrontTransform(context_map,context_map_size)}return out}function DecodeBlockType(max_block_type,trees,tree_type,block_types,ringbuffers,indexes,br){var ringbuffer=tree_type*2;var index=tree_type;var type_code=ReadSymbol(trees,tree_type*HUFFMAN_MAX_TABLE_SIZE,br);var block_type;if(type_code===0){block_type=ringbuffers[ringbuffer+(indexes[index]&1)]}else if(type_code===1){block_type=ringbuffers[ringbuffer+(indexes[index]-1&1)]+1}else{block_type=type_code-2}if(block_type>=max_block_type){block_type-=max_block_type}block_types[tree_type]=block_type;ringbuffers[ringbuffer+(indexes[index]&1)]=block_type;++indexes[index]}function CopyUncompressedBlockToOutput(output,len,pos,ringbuffer,ringbuffer_mask,br){var rb_size=ringbuffer_mask+1;var rb_pos=pos&ringbuffer_mask;var br_pos=br.pos_&BrotliBitReader.IBUF_MASK;var nbytes;if(len<8||br.bit_pos_+(len<<3)0){br.readMoreInput();ringbuffer[rb_pos++]=br.readBits(8);if(rb_pos===rb_size){output.write(ringbuffer,rb_size);rb_pos=0}}return}if(br.bit_end_pos_<32){throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32")}while(br.bit_pos_<32){ringbuffer[rb_pos]=br.val_>>>br.bit_pos_;br.bit_pos_+=8;++rb_pos;--len}nbytes=br.bit_end_pos_-br.bit_pos_>>3;if(br_pos+nbytes>BrotliBitReader.IBUF_MASK){var tail=BrotliBitReader.IBUF_MASK+1-br_pos;for(var x=0;x=rb_size){output.write(ringbuffer,rb_size);rb_pos-=rb_size;for(var x=0;x=rb_size){nbytes=rb_size-rb_pos;if(br.input_.read(ringbuffer,rb_pos,nbytes)output.buffer.length){var tmp=new Uint8Array(pos+meta_block_remaining_len);tmp.set(output.buffer);output.buffer=tmp}input_end=_out.input_end;is_uncompressed=_out.is_uncompressed;if(_out.is_metadata){JumpToByteBoundary(br);for(;meta_block_remaining_len>0;--meta_block_remaining_len){br.readMoreInput();br.readBits(8)}continue}if(meta_block_remaining_len===0){continue}if(is_uncompressed){br.bit_pos_=br.bit_pos_+7&~7;CopyUncompressedBlockToOutput(output,meta_block_remaining_len,pos,ringbuffer,ringbuffer_mask,br);pos+=meta_block_remaining_len;continue}for(i=0;i<3;++i){num_block_types[i]=DecodeVarLenUint8(br)+1;if(num_block_types[i]>=2){ReadHuffmanCode(num_block_types[i]+2,block_type_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);ReadHuffmanCode(kNumBlockLengthCodes,block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_length[i]=ReadBlockLength(block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_type_rb_index[i]=1}}br.readMoreInput();distance_postfix_bits=br.readBits(2);num_direct_distance_codes=NUM_DISTANCE_SHORT_CODES+(br.readBits(4)<0){var cmd_code;var range_idx;var insert_code;var copy_code;var insert_length;var copy_length;var distance_code;var distance;var context;var j;var copy_dst;br.readMoreInput();if(block_length[1]===0){DecodeBlockType(num_block_types[1],block_type_trees,1,block_type,block_type_rb,block_type_rb_index,br);block_length[1]=ReadBlockLength(block_len_trees,HUFFMAN_MAX_TABLE_SIZE,br);htree_command=hgroup[1].htrees[block_type[1]]}--block_length[1];cmd_code=ReadSymbol(hgroup[1].codes,htree_command,br);range_idx=cmd_code>>6;if(range_idx>=2){range_idx-=2;distance_code=-1}else{distance_code=0}insert_code=Prefix.kInsertRangeLut[range_idx]+(cmd_code>>3&7);copy_code=Prefix.kCopyRangeLut[range_idx]+(cmd_code&7);insert_length=Prefix.kInsertLengthPrefixCode[insert_code].offset+br.readBits(Prefix.kInsertLengthPrefixCode[insert_code].nbits);copy_length=Prefix.kCopyLengthPrefixCode[copy_code].offset+br.readBits(Prefix.kCopyLengthPrefixCode[copy_code].nbits);prev_byte1=ringbuffer[pos-1&ringbuffer_mask];prev_byte2=ringbuffer[pos-2&ringbuffer_mask];for(j=0;j4?3:copy_length-2)&255;dist_htree_index=dist_context_map[dist_context_map_slice+context];distance_code=ReadSymbol(hgroup[2].codes,hgroup[2].htrees[dist_htree_index],br);if(distance_code>=num_direct_distance_codes){var nbits;var postfix;var offset;distance_code-=num_direct_distance_codes;postfix=distance_code&distance_postfix_mask;distance_code>>=distance_postfix_bits;nbits=(distance_code>>1)+1;offset=(2+(distance_code&1)<max_distance){if(copy_length>=BrotliDictionary.minDictionaryWordLength&©_length<=BrotliDictionary.maxDictionaryWordLength){var offset=BrotliDictionary.offsetsByLength[copy_length];var word_id=distance-max_distance-1;var shift=BrotliDictionary.sizeBitsByLength[copy_length];var mask=(1<>shift;offset+=word_idx*copy_length;if(transform_idx=ringbuffer_end){output.write(ringbuffer,ringbuffer_size);for(var _x=0;_x0){dist_rb[dist_rb_idx&3]=distance;++dist_rb_idx}if(copy_length>meta_block_remaining_len){throw new Error("Invalid backward reference. pos: "+pos+" distance: "+distance+" len: "+copy_length+" bytes left: "+meta_block_remaining_len)}for(j=0;j>=1}return(key&step-1)+step}function ReplicateValue(table,i,step,end,code){do{end-=step;table[i+end]=new HuffmanCode(code.bits,code.value)}while(end>0)}function NextTableBitSize(count,len,root_bits){var left=1<0;--count[len]){code=new HuffmanCode(len&255,sorted[symbol++]&65535);ReplicateValue(root_table,table+key,step,table_size,code);key=GetNextKey(key,len)}}mask=total_size-1;low=-1;for(len=root_bits+1,step=2;len<=MAX_LENGTH;++len,step<<=1){for(;count[len]>0;--count[len]){if((key&mask)!==low){table+=table_size;table_bits=NextTableBitSize(count,len,root_bits);table_size=1<>root_bits),step,table_size,code);key=GetNextKey(key,len)}}return total_size}},{}],8:[function(require,module,exports){function PrefixCodeRange(offset,nbits){this.offset=offset;this.nbits=nbits}exports.kBlockLengthPrefixCode=[new PrefixCodeRange(1,2),new PrefixCodeRange(5,2),new PrefixCodeRange(9,2),new PrefixCodeRange(13,2),new PrefixCodeRange(17,3),new PrefixCodeRange(25,3),new PrefixCodeRange(33,3),new PrefixCodeRange(41,3),new PrefixCodeRange(49,4),new PrefixCodeRange(65,4),new PrefixCodeRange(81,4),new PrefixCodeRange(97,4),new PrefixCodeRange(113,5),new PrefixCodeRange(145,5),new PrefixCodeRange(177,5),new PrefixCodeRange(209,5),new PrefixCodeRange(241,6),new PrefixCodeRange(305,6),new PrefixCodeRange(369,7),new PrefixCodeRange(497,8),new PrefixCodeRange(753,9),new PrefixCodeRange(1265,10),new PrefixCodeRange(2289,11),new PrefixCodeRange(4337,12),new PrefixCodeRange(8433,13),new PrefixCodeRange(16625,24)];exports.kInsertLengthPrefixCode=[new PrefixCodeRange(0,0),new PrefixCodeRange(1,0),new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,1),new PrefixCodeRange(8,1),new PrefixCodeRange(10,2),new PrefixCodeRange(14,2),new PrefixCodeRange(18,3),new PrefixCodeRange(26,3),new PrefixCodeRange(34,4),new PrefixCodeRange(50,4),new PrefixCodeRange(66,5),new PrefixCodeRange(98,5),new PrefixCodeRange(130,6),new PrefixCodeRange(194,7),new PrefixCodeRange(322,8),new PrefixCodeRange(578,9),new PrefixCodeRange(1090,10),new PrefixCodeRange(2114,12),new PrefixCodeRange(6210,14),new PrefixCodeRange(22594,24)];exports.kCopyLengthPrefixCode=[new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,0),new PrefixCodeRange(7,0),new PrefixCodeRange(8,0),new PrefixCodeRange(9,0),new PrefixCodeRange(10,1),new PrefixCodeRange(12,1),new PrefixCodeRange(14,2),new PrefixCodeRange(18,2),new PrefixCodeRange(22,3),new PrefixCodeRange(30,3),new PrefixCodeRange(38,4),new PrefixCodeRange(54,4),new PrefixCodeRange(70,5),new PrefixCodeRange(102,5),new PrefixCodeRange(134,6),new PrefixCodeRange(198,7),new PrefixCodeRange(326,8),new PrefixCodeRange(582,9),new PrefixCodeRange(1094,10),new PrefixCodeRange(2118,24)];exports.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];exports.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],9:[function(require,module,exports){function BrotliInput(buffer){this.buffer=buffer;this.pos=0}BrotliInput.prototype.read=function(buf,i,count){if(this.pos+count>this.buffer.length){count=this.buffer.length-this.pos}for(var p=0;pthis.buffer.length)throw new Error("Output buffer is not large enough");this.buffer.set(buf.subarray(0,count),this.pos);this.pos+=count;return count};exports.BrotliOutput=BrotliOutput},{}],10:[function(require,module,exports){var BrotliDictionary=require("./dictionary");var kIdentity=0;var kOmitLast1=1;var kOmitLast2=2;var kOmitLast3=3;var kOmitLast4=4;var kOmitLast5=5;var kOmitLast6=6;var kOmitLast7=7;var kOmitLast8=8;var kOmitLast9=9;var kUppercaseFirst=10;var kUppercaseAll=11;var kOmitFirst1=12;var kOmitFirst2=13;var kOmitFirst3=14;var kOmitFirst4=15;var kOmitFirst5=16;var kOmitFirst6=17;var kOmitFirst7=18;var kOmitFirst9=20;function Transform(prefix,transform,suffix){this.prefix=new Uint8Array(prefix.length);this.transform=transform;this.suffix=new Uint8Array(suffix.length);for(var i=0;i'),new Transform("",kIdentity,"\n"),new Transform("",kOmitLast3,""),new Transform("",kIdentity,"]"),new Transform("",kIdentity," for "),new Transform("",kOmitFirst3,""),new Transform("",kOmitLast2,""),new Transform("",kIdentity," a "),new Transform("",kIdentity," that "),new Transform(" ",kUppercaseFirst,""),new Transform("",kIdentity,". "),new Transform(".",kIdentity,""),new Transform(" ",kIdentity,", "),new Transform("",kOmitFirst4,""),new Transform("",kIdentity," with "),new Transform("",kIdentity,"'"),new Transform("",kIdentity," from "),new Transform("",kIdentity," by "),new Transform("",kOmitFirst5,""),new Transform("",kOmitFirst6,""),new Transform(" the ",kIdentity,""),new Transform("",kOmitLast4,""),new Transform("",kIdentity,". The "),new Transform("",kUppercaseAll,""),new Transform("",kIdentity," on "),new Transform("",kIdentity," as "),new Transform("",kIdentity," is "),new Transform("",kOmitLast7,""),new Transform("",kOmitLast1,"ing "),new Transform("",kIdentity,"\n\t"),new Transform("",kIdentity,":"),new Transform(" ",kIdentity,". "),new Transform("",kIdentity,"ed "),new Transform("",kOmitFirst9,""),new Transform("",kOmitFirst7,""),new Transform("",kOmitLast6,""),new Transform("",kIdentity,"("),new Transform("",kUppercaseFirst,", "),new Transform("",kOmitLast8,""),new Transform("",kIdentity," at "),new Transform("",kIdentity,"ly "),new Transform(" the ",kIdentity," of "),new Transform("",kOmitLast5,""),new Transform("",kOmitLast9,""),new Transform(" ",kUppercaseFirst,", "),new Transform("",kUppercaseFirst,'"'),new Transform(".",kIdentity,"("),new Transform("",kUppercaseAll," "),new Transform("",kUppercaseFirst,'">'),new Transform("",kIdentity,'="'),new Transform(" ",kIdentity,"."),new Transform(".com/",kIdentity,""),new Transform(" the ",kIdentity," of the "),new Transform("",kUppercaseFirst,"'"),new Transform("",kIdentity,". This "),new Transform("",kIdentity,","),new Transform(".",kIdentity," "),new Transform("",kUppercaseFirst,"("),new Transform("",kUppercaseFirst,"."),new Transform("",kIdentity," not "),new Transform(" ",kIdentity,'="'),new Transform("",kIdentity,"er "),new Transform(" ",kUppercaseAll," "),new Transform("",kIdentity,"al "),new Transform(" ",kUppercaseAll,""),new Transform("",kIdentity,"='"),new Transform("",kUppercaseAll,'"'),new Transform("",kUppercaseFirst,". "),new Transform(" ",kIdentity,"("),new Transform("",kIdentity,"ful "),new Transform(" ",kUppercaseFirst,". "),new Transform("",kIdentity,"ive "),new Transform("",kIdentity,"less "),new Transform("",kUppercaseAll,"'"),new Transform("",kIdentity,"est "),new Transform(" ",kUppercaseFirst,"."),new Transform("",kUppercaseAll,'">'),new Transform(" ",kIdentity,"='"),new Transform("",kUppercaseFirst,","),new Transform("",kIdentity,"ize "),new Transform("",kUppercaseAll,"."),new Transform(" ",kIdentity,""),new Transform(" ",kIdentity,","),new Transform("",kUppercaseFirst,'="'),new Transform("",kUppercaseAll,'="'),new Transform("",kIdentity,"ous "),new Transform("",kUppercaseAll,", "),new Transform("",kUppercaseFirst,"='"),new Transform(" ",kUppercaseFirst,","),new Transform(" ",kUppercaseAll,'="'),new Transform(" ",kUppercaseAll,", "),new Transform("",kUppercaseAll,","),new Transform("",kUppercaseAll,"("),new Transform("",kUppercaseAll,". "),new Transform(" ",kUppercaseAll,"."),new Transform("",kUppercaseAll,"='"),new Transform(" ",kUppercaseAll,". "),new Transform(" ",kUppercaseFirst,'="'),new Transform(" ",kUppercaseAll,"='"),new Transform(" ",kUppercaseFirst,"='")];exports.kTransforms=kTransforms;exports.kNumTransforms=kTransforms.length;function ToUpperCase(p,i){if(p[i]<192){if(p[i]>=97&&p[i]<=122){p[i]^=32}return 1}if(p[i]<224){p[i+1]^=32;return 2}p[i+2]^=5;return 3}exports.transformDictionaryWord=function(dst,idx,word,len,transform){var prefix=kTransforms[transform].prefix;var suffix=kTransforms[transform].suffix;var t=kTransforms[transform].transform;var skip=tlen){skip=len}var prefix_pos=0;while(prefix_pos0){var step=ToUpperCase(dst,uppercase);uppercase+=step;len-=step}}var suffix_pos=0;while(suffix_pos0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}]},{},[11])(11)});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=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}read_=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);return nodeFS["readFileSync"](filename,binary?null:"utf8")};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else 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"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=Number(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var 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")}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":1009,"maximum":1009+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=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)}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}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);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}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=5888592,DYNAMICTOP_PTR=645552;var INITIAL_INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_INITIAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_INITIAL_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(Module);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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;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 addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};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 fileURIPrefix="file://";function isFileURI(filename){return String.prototype.startsWith?filename.startsWith(fileURIPrefix):filename.indexOf(fileURIPrefix)===0}var wasmBinaryFile="subtitles-octopus-worker.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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)&&!isFileURI(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{}}var tempDouble;var tempI64;__ATINIT__.push({func:function(){___wasm_call_ctors()}});function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";var Browser_setImmediate_messageHandler=function(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}};addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else _emscripten_get_now=function(){return performance.now()};function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){noExitRuntime=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=function(){Module["dynCall_vi"](func,arg)}}else{browserIterationFunc=function(){Module["dynCall_v"](func)}}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=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 ___map_file(pathname,size){___setErrNo(63);return-1}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 PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___syscall10(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall125(addr,len,size){return 0}function ___syscall15(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall183(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size>>0,(tempDouble=id,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:___setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall3(fd,buf,count){try{var stream=SYSCALLS.getStreamFromFD(fd);return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall33(path,amode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall38(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall39(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall40(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var 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(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall83(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall85(path,buf,bufsize){try{path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall9(oldpath,newpath){return-34}function syscallMunmap(addr,len){if(addr===-1||len===0){return-28}var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags,info.offset);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___syscall91(addr,len){try{return syscallMunmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}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.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 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 __getExecutableName(){return thisProgram||"./this.program"}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","_":__getExecutableName()};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{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;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{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(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 _getTempRet0(){return getTempRet0()|0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _roundf(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _setTempRet0($i){setTempRet0($i|0)}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2*1024*1024*1024-65536;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(28);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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,"P":___clock_gettime,"A":___map_file,"G":___syscall10,"F":___syscall125,"S":___syscall15,"H":___syscall183,"o":___syscall195,"R":___syscall196,"Q":___syscall197,"j":___syscall20,"O":___syscall220,"d":___syscall221,"J":___syscall3,"K":___syscall33,"B":___syscall38,"T":___syscall39,"N":___syscall40,"l":___syscall5,"D":___syscall54,"I":___syscall83,"L":___syscall85,"M":___syscall9,"E":___syscall91,"p":_abort,"r":_emscripten_get_now,"h":_emscripten_longjmp,"v":_emscripten_memcpy_big,"w":_emscripten_resize_heap,"y":_environ_get,"z":_environ_sizes_get,"i":_exit,"g":_fd_close,"x":_fd_fdstat_get,"C":_fd_read,"u":_fd_seek,"k":_fd_write,"e":_getTempRet0,"U":_gettimeofday,"t":invoke_iii,"q":invoke_iiii,"s":invoke_iiiii,"V":invoke_vii,"memory":wasmMemory,"b":_roundf,"n":_saveSetjmp,"c":_setTempRet0,"W":_sysconf,"table":wasmTable,"f":_testSetjmp,"m":_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"]["X"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["Y"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=function(){return(_emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=Module["asm"]["Z"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=function(){return(_emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=Module["asm"]["_"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=function(){return(_emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=Module["asm"]["$"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=function(){return(_emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=Module["asm"]["aa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=function(){return(_emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=Module["asm"]["ba"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=function(){return(_emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=Module["asm"]["ca"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=function(){return(_emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=Module["asm"]["da"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=function(){return(_emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=function(){return(_emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=Module["asm"]["fa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=function(){return(_emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=Module["asm"]["ga"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=function(){return(_emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=Module["asm"]["ha"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=function(){return(_emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=Module["asm"]["ia"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=Module["asm"]["ja"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=function(){return(_emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=function(){return(_emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=function(){return(_emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=function(){return(_emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=function(){return(_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=function(){return(_emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=Module["asm"]["Da"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=function(){return(_emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=function(){return(_emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=Module["asm"]["Ua"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=Module["asm"]["Va"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=function(){return(_emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=Module["asm"]["Wa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=Module["asm"]["Xa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=Module["asm"]["Ya"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=Module["asm"]["Za"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=Module["asm"]["_a"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["$a"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=Module["asm"]["ab"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=Module["asm"]["bb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=Module["asm"]["cb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=Module["asm"]["db"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=Module["asm"]["eb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=Module["asm"]["fb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=function(){return(_emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=Module["asm"]["gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=Module["asm"]["hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=Module["asm"]["ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=Module["asm"]["jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=Module["asm"]["kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=Module["asm"]["lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=Module["asm"]["mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=Module["asm"]["nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=Module["asm"]["ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=function(){return(_emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=Module["asm"]["pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=function(){return(_emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=Module["asm"]["qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=function(){return(_emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=Module["asm"]["rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=function(){return(_emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=Module["asm"]["sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=Module["asm"]["tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=Module["asm"]["ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=Module["asm"]["vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=Module["asm"]["wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=Module["asm"]["xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=Module["asm"]["yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=Module["asm"]["zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=Module["asm"]["Ab"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=function(){return(_emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=Module["asm"]["Bb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=function(){return(_emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=Module["asm"]["Cb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=function(){return(_emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=Module["asm"]["Db"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=function(){return(_emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=Module["asm"]["Eb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=function(){return(_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=Module["asm"]["Fb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=function(){return(_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=Module["asm"]["Gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=function(){return(_emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=Module["asm"]["Hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=function(){return(_emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=Module["asm"]["Ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=function(){return(_emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=Module["asm"]["Jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=function(){return(_emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=Module["asm"]["Kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=function(){return(_emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=Module["asm"]["Lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=function(){return(_emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=Module["asm"]["Mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=function(){return(_emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=Module["asm"]["Nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=function(){return(_emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=Module["asm"]["Ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=function(){return(_emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=Module["asm"]["Pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=function(){return(_emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=Module["asm"]["Qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=Module["asm"]["Rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=Module["asm"]["Sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=Module["asm"]["Tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=Module["asm"]["Ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=Module["asm"]["Vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=Module["asm"]["Wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=Module["asm"]["Xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=Module["asm"]["Yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=Module["asm"]["Zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=Module["asm"]["_b"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=Module["asm"]["$b"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=Module["asm"]["ac"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=function(){return(_emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=Module["asm"]["bc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=function(){return(_emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=Module["asm"]["cc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=function(){return(_emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=Module["asm"]["dc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=function(){return(_emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=Module["asm"]["ec"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=Module["asm"]["fc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=Module["asm"]["gc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=function(){return(_emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=Module["asm"]["hc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=function(){return(_emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=Module["asm"]["ic"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=Module["asm"]["jc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=Module["asm"]["kc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=Module["asm"]["lc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=Module["asm"]["mc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=function(){return(_emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=Module["asm"]["nc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=function(){return(_emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=Module["asm"]["oc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=function(){return(_emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=Module["asm"]["pc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=function(){return(_emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=Module["asm"]["qc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=function(){return(_emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=Module["asm"]["rc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=function(){return(_emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=Module["asm"]["sc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=Module["asm"]["tc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=Module["asm"]["uc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=function(){return(_emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=Module["asm"]["vc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=function(){return(_emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=Module["asm"]["wc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=function(){return(_emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=Module["asm"]["xc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=function(){return(_emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=Module["asm"]["yc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=Module["asm"]["zc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=Module["asm"]["Ac"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=Module["asm"]["Bc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=Module["asm"]["Cc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=Module["asm"]["Dc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=Module["asm"]["Ec"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=function(){return(_emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=Module["asm"]["Fc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=function(){return(_emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=Module["asm"]["Gc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=function(){return(_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=Module["asm"]["Hc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=function(){return(_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=Module["asm"]["Ic"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=function(){return(_emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=Module["asm"]["Jc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=function(){return(_emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=Module["asm"]["Kc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=function(){return(_emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=Module["asm"]["Lc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=function(){return(_emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=Module["asm"]["Mc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=Module["asm"]["Nc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=Module["asm"]["Oc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=Module["asm"]["Pc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=Module["asm"]["Qc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=Module["asm"]["Rc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=Module["asm"]["Sc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=function(){return(_emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=Module["asm"]["Tc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=function(){return(_emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=Module["asm"]["Uc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=function(){return(_emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=Module["asm"]["Vc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=function(){return(_emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=Module["asm"]["Wc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=function(){return(_emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=Module["asm"]["Xc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=function(){return(_emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=Module["asm"]["Yc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=function(){return(_emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=Module["asm"]["Zc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=function(){return(_emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=Module["asm"]["_c"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=function(){return(_emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=Module["asm"]["$c"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=function(){return(_emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=Module["asm"]["ad"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=Module["asm"]["bd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=Module["asm"]["cd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=Module["asm"]["dd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=Module["asm"]["ed"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=function(){return(_emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=Module["asm"]["fd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=function(){return(_emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=Module["asm"]["gd"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["hd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=Module["asm"]["id"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=Module["asm"]["jd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=Module["asm"]["kd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=Module["asm"]["ld"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=Module["asm"]["md"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=Module["asm"]["nd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=Module["asm"]["od"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=Module["asm"]["pd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=Module["asm"]["qd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=Module["asm"]["rd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=Module["asm"]["sd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=Module["asm"]["td"]).apply(null,arguments)};var _emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=function(){return(_emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=Module["asm"]["ud"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=function(){return(_emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=Module["asm"]["vd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=function(){return(_emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=Module["asm"]["wd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=function(){return(_emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=Module["asm"]["xd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=function(){return(_emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=Module["asm"]["yd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=function(){return(_emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=Module["asm"]["zd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=function(){return(_emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=Module["asm"]["Ad"]).apply(null,arguments)};var _emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=function(){return(_emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=Module["asm"]["Bd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=function(){return(_emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=Module["asm"]["Cd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=function(){return(_emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=Module["asm"]["Dd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=function(){return(_emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=Module["asm"]["Ed"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=function(){return(_emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=Module["asm"]["Fd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=function(){return(_emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=Module["asm"]["Gd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=function(){return(_emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=Module["asm"]["Hd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=function(){return(_emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=Module["asm"]["Id"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=function(){return(_emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=Module["asm"]["Jd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=function(){return(_emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=Module["asm"]["Kd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=function(){return(_emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=Module["asm"]["Ld"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=function(){return(_emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=Module["asm"]["Md"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=function(){return(_emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=Module["asm"]["Nd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=function(){return(_emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=Module["asm"]["Od"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=function(){return(_emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=Module["asm"]["Pd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=Module["asm"]["Qd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=Module["asm"]["Rd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=function(){return(_emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=Module["asm"]["Sd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=function(){return(_emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=Module["asm"]["Td"]).apply(null,arguments)};var _emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=function(){return(_emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=Module["asm"]["Ud"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=function(){return(_emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=Module["asm"]["Vd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=function(){return(_emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=Module["asm"]["Wd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=function(){return(_emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=Module["asm"]["Xd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=function(){return(_emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=Module["asm"]["Yd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=function(){return(_emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=Module["asm"]["Zd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=function(){return(_emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=Module["asm"]["_d"]).apply(null,arguments)};var _emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=function(){return(_emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=Module["asm"]["$d"]).apply(null,arguments)};var _emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=function(){return(_emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=Module["asm"]["ae"]).apply(null,arguments)};var _emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=function(){return(_emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=Module["asm"]["be"]).apply(null,arguments)};var _emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=function(){return(_emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=Module["asm"]["ce"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=Module["asm"]["de"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=Module["asm"]["ee"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=Module["asm"]["fe"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=Module["asm"]["ge"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=Module["asm"]["he"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=Module["asm"]["ie"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=Module["asm"]["je"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=Module["asm"]["ke"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=Module["asm"]["le"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=Module["asm"]["me"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=Module["asm"]["ne"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=Module["asm"]["oe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=Module["asm"]["pe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=Module["asm"]["qe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=Module["asm"]["re"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=Module["asm"]["se"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=Module["asm"]["te"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=Module["asm"]["ue"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=Module["asm"]["ve"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["we"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["xe"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["ye"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["ze"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["Ae"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["Be"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["Ce"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["De"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["Ee"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["Fe"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["Ge"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["He"]).apply(null,arguments)};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_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_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_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)}}Module["asm"]=asm;Module["ccall"]=ccall;Module["cwrap"]=cwrap;Module["getValue"]=getValue;Module["getMemory"]=getMemory;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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"]();if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&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()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i5){console.error("Didn't received currentTime > 5 seconds. Assuming video was paused.");self.setIsPaused(true)}return self.lastCurrentTime+diff*self.rate}};self.setCurrentTime=function(currentTime){self.lastCurrentTime=currentTime;self.lastCurrentTimeReceivedAt=Date.now();if(!self.rafId){if(self.nextIsRaf){if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}else{if(!self.renderOnDemand){self.getRenderMethod()()}setTimeout(function(){self.nextIsRaf=false},20)}}};self._isPaused=true;self.getIsPaused=function(){return self._isPaused};self.setIsPaused=function(isPaused){if(isPaused!=self._isPaused){self._isPaused=isPaused;if(isPaused){if(self.rafId){clearTimeout(self.rafId);self.rafId=null}}else{self.lastCurrentTimeReceivedAt=Date.now();if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}}};self.render=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var spentTime=performance.now()-startTime;postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:spentTime,canvases:result[0]},result[1])}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.render)}};self.blendRenderTiming=function(timing,force){var startTime=performance.now();var renderResult=self.octObj.renderBlend(timing,force);var blendTime=renderResult.blend_time;var canvases=[],buffers=[];if(renderResult.ptr!=0&&(renderResult.changed!=0||force)){for(var part=renderResult.part;part.ptr!=0;part=part.next){var result=new Uint8Array(HEAPU8.subarray(part.image,part.image+part.dest_width*part.dest_height*4));canvases.push({w:part.dest_width,h:part.dest_height,x:part.dest_x,y:part.dest_y,buffer:result.buffer});buffers.push(result.buffer)}}return{time:Date.now(),spentTime:performance.now()-startTime,blendTime:blendTime,canvases:canvases,buffers:buffers}};self.blendRender=function(force){self.rafId=0;self.renderPending=false;var rendered=self.blendRenderTiming(self.getCurrentTime()+self.delay,force);if(rendered.canvases.length>0){postMessage({target:"canvas",op:"renderCanvas",time:rendered.time,spentTime:rendered.spentTime,blendTime:rendered.blendTime,canvases:rendered.canvases},rendered.buffers)}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.blendRender)}};self.oneshotRender=function(lastRenderedTime,renderNow,iteration){var eventStart=renderNow?lastRenderedTime:self.octObj.findNextEventStart(lastRenderedTime);var eventFinish=-1,emptyFinish=-1,animated=false;var rendered={};if(eventStart>=0){eventTimes=self.octObj.findEventStopTimes(eventStart);eventFinish=eventTimes.eventFinish;emptyFinish=eventTimes.emptyFinish;animated=eventTimes.is_animated;rendered=self.blendRenderTiming(eventStart,true)}postMessage({target:"canvas",op:"oneshot-result",iteration:iteration,lastRenderedTime:lastRenderedTime,eventStart:eventStart,eventFinish:eventFinish,emptyFinish:emptyFinish,animated:animated,viewport:{width:self.width,height:self.height},spentTime:rendered.spentTime||0,blendTime:rendered.blendTime||0,canvases:rendered.canvases||[]},rendered.buffers||[])};self.fastRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var newTime=performance.now();var libassTime=newTime-startTime;var promises=[];for(var i=0;i>24&255,g=color>>16&255,b=color>>8&255,a=255-(color&255);var result=new Uint8ClampedArray(4*w*h);var bitmapPosition=0;var resultPosition=0;for(var y=0;yformat.length){lastPart=value.slice(format.length-1).join(",");value=value.slice(0,format.length-1);value.push(lastPart)}value=value.map(function(s){return s.trim()});if(format){tmp={};for(j=0;j=nextRAF){nextRAF+=1e3/self.targetFps}}var delay=Math.max(nextRAF-now,0);return setTimeout(func,delay)}}();var screen={width:0,height:0};Module.print=function Module_print(x){postMessage({target:"stdout",content:x})};Module.printErr=function Module_printErr(x){postMessage({target:"stderr",content:x})};var frameId=0;var clientFrameId=0;var commandBuffer=[];var postMainLoop=Module["postMainLoop"];Module["postMainLoop"]=function(){if(postMainLoop)postMainLoop();postMessage({target:"tick",id:frameId++});commandBuffer=[]};addRunDependency("worker-init");var messageBuffer=null;var messageResenderTimeout=null;function messageResender(){if(calledMain){assert(messageBuffer&&messageBuffer.length>0);messageResenderTimeout=null;messageBuffer.forEach(function(message){onmessage(message)});messageBuffer=null}else{messageResenderTimeout=setTimeout(messageResender,50)}}function onMessageFromMainEmscriptenThread(message){if(!calledMain&&!message.data.preMain){if(!messageBuffer){messageBuffer=[];messageResenderTimeout=setTimeout(messageResender,50)}messageBuffer.push(message);return}if(calledMain&&messageResenderTimeout){clearTimeout(messageResenderTimeout);messageResender()}switch(message.data.target){case"window":{self.fireEvent(message.data.event);break}case"canvas":{if(message.data.event){Module.canvas.fireEvent(message.data.event)}else if(message.data.width){if(Module.canvas&&message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}self.resize(message.data.width,message.data.height);if(!self.renderOnDemand){self.getRenderMethod()()}}else throw"ey?";break}case"video":{if(message.data.currentTime!==undefined){self.setCurrentTime(message.data.currentTime)}if(message.data.isPaused!==undefined){self.setIsPaused(message.data.isPaused)}if(message.data.rate){self.rate=message.data.rate}break}case"tock":{clientFrameId=message.data.id;break}case"worker-init":{screen.width=self.width=message.data.width;screen.height=self.height=message.data.height;self.subUrl=message.data.subUrl;self.subContent=message.data.subContent;self.fontFiles=message.data.fonts;self.renderMode=message.data.renderMode;self.availableFonts=message.data.availableFonts;self.debug=message.data.debug;if(!hasNativeConsole&&self.debug){console=makeCustomConsole();console.log("overridden console")}if(Module.canvas){Module.canvas.width_=message.data.width;Module.canvas.height_=message.data.height;if(message.data.boundingClientRect){Module.canvas.boundingClientRect=message.data.boundingClientRect}}self.targetFps=message.data.targetFps||self.targetFps;self.libassMemoryLimit=message.data.libassMemoryLimit||self.libassMemoryLimit;self.libassGlyphLimit=message.data.libassGlyphLimit||0;self.renderOnDemand=message.data.renderOnDemand||false;self.dropAllAnimations=message.data.dropAllAnimations||false;removeRunDependency("worker-init");break}case"oneshot-render":self.oneshotRender(message.data.lastRendered,message.data.renderNow||false,message.data.iteration);break;case"destroy":self.octObj.quitLibrary();break;case"free-track":self.freeTrack();break;case"set-track":self.setTrack(message.data.content);break;case"set-track-by-url":self.setTrackByUrl(message.data.url);break;case"create-event":var event=message.data.event;var i=self.octObj.allocEvent();var evnt_ptr=self.octObj.track.get_events(i);var vargs=Object.keys(event);for(const varg of vargs){evnt_ptr[varg]=event[varg]}break;case"get-events":var events=[];for(var i=0;ilongestFrame){longestFrame=diff}if(ithis.length){this_len=this.length}return this.substring(this_len-search.length,this_len)===search}}if(!Uint8Array.prototype.slice){Object.defineProperty(Uint8Array.prototype,"slice",{value:function(begin,end){return new Uint8Array(this.subarray(begin,end))}})}var hasNativeConsole=typeof console!=="undefined";function makeCustomConsole(){var console=function(){function postConsoleMessage(prefix,args){postMessage({target:"console-"+prefix,content:JSON.stringify(Array.prototype.slice.call(args))})}return{log:function(){postConsoleMessage("log",arguments)},debug:function(){postConsoleMessage("debug",arguments)},info:function(){postConsoleMessage("info",arguments)},warn:function(){postConsoleMessage("warn",arguments)},error:function(){postConsoleMessage("error",arguments)}}}();return console}Module=Module||{};Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){var i;Module["FS_createFolder"]("/","fonts",true,true);if(!self.subContent){if(self.subUrl.endsWith(".br")){self.subContent=Module["BrotliDecode"](readBinary(self.subUrl))}else{self.subContent=read_(self.subUrl)}}if(self.availableFonts&&self.availableFonts.length!==0){var sections=parseAss(self.subContent);for(var i=0;i0||self.libassGlyphLimit>0){self.octObj.setMemoryLimits(self.libassGlyphLimit,self.libassMemoryLimit)}};Module["print"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.log(text)};Module["printErr"]=function(text){if(arguments.length>1)text=Array.prototype.slice.call(arguments).join(" ");console.error(text)};if(!hasNativeConsole){var console={log:function(x){if(typeof dump==="function")dump("log: "+x+"\n")},debug:function(x){if(typeof dump==="function")dump("debug: "+x+"\n")},info:function(x){if(typeof dump==="function")dump("info: "+x+"\n")},warn:function(x){if(typeof dump==="function")dump("warn: "+x+"\n")},error:function(x){if(typeof dump==="function")dump("error: "+x+"\n")}}}if("performance"in self===false){self.performance={}}Date.now=Date.now||function(){return(new Date).getTime()};if("now"in self.performance===false){var nowOffset=Date.now();if(performance.timing&&performance.timing.navigationStart){nowOffset=performance.timing.navigationStart}self.performance.now=function now(){return Date.now()-nowOffset}}(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unbrotli=f()}})(function(){return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i0};BrotliBitReader.prototype.readMoreInput=function(){if(this.bit_end_pos_>256){return}else if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var dst=this.buf_ptr_;var bytes_read=this.input_.read(this.buf_,dst,BROTLI_READ_SIZE);if(bytes_read<0){throw new Error("Unexpected end of input")}if(bytes_read=8){this.val_>>>=8;this.val_|=this.buf_[this.pos_&BROTLI_IBUF_MASK]<<24;++this.pos_;this.bit_pos_=this.bit_pos_-8>>>0;this.bit_end_pos_=this.bit_end_pos_-8>>>0}};BrotliBitReader.prototype.readBits=function(n_bits){if(32-this.bit_pos_>>this.bit_pos_&kBitMask[n_bits];this.bit_pos_+=n_bits;return val};module.exports=BrotliBitReader},{}],2:[function(require,module,exports){exports.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]);exports.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],3:[function(require,module,exports){var BrotliInput=require("./streams").BrotliInput;var BrotliOutput=require("./streams").BrotliOutput;var BrotliBitReader=require("./bit_reader");var BrotliDictionary=require("./dictionary");var HuffmanCode=require("./huffman").HuffmanCode;var BrotliBuildHuffmanTable=require("./huffman").BrotliBuildHuffmanTable;var Context=require("./context");var Prefix=require("./prefix");var Transform=require("./transform");var kDefaultCodeLength=8;var kCodeLengthRepeatCode=16;var kNumLiteralCodes=256;var kNumInsertAndCopyCodes=704;var kNumBlockLengthCodes=26;var kLiteralContextBits=6;var kDistanceContextBits=2;var HUFFMAN_TABLE_BITS=8;var HUFFMAN_TABLE_MASK=255;var HUFFMAN_MAX_TABLE_SIZE=1080;var CODE_LENGTH_CODES=18;var kCodeLengthCodeOrder=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]);var NUM_DISTANCE_SHORT_CODES=16;var kDistanceShortCodeIndexOffset=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]);var kDistanceShortCodeValueOffset=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]);var kMaxHuffmanTableSize=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function DecodeWindowBits(br){var n;if(br.readBits(1)===0){return 16}n=br.readBits(3);if(n>0){return 17+n}n=br.readBits(3);if(n>0){return 8+n}return 17}function DecodeVarLenUint8(br){if(br.readBits(1)){var nbits=br.readBits(3);if(nbits===0){return 1}else{return br.readBits(nbits)+(1<1&&next_byte===0)throw new Error("Invalid size byte");out.meta_block_length|=next_byte<4&&next_nibble===0)throw new Error("Invalid size nibble");out.meta_block_length|=next_nibble<>>br.bit_pos_&HUFFMAN_TABLE_MASK;nbits=table[index].bits-HUFFMAN_TABLE_BITS;if(nbits>0){br.bit_pos_+=HUFFMAN_TABLE_BITS;index+=table[index].value;index+=br.val_>>>br.bit_pos_&(1<0){var p=0;var code_len;br.readMoreInput();br.fillBitWindow();p+=br.val_>>>br.bit_pos_&31;br.bit_pos_+=table[p].bits;code_len=table[p].value&255;if(code_len>code_len}}else{var extra_bits=code_len-14;var old_repeat;var repeat_delta;var new_len=0;if(code_len===kCodeLengthRepeatCode){new_len=prev_code_len}if(repeat_code_len!==new_len){repeat=0;repeat_code_len=new_len}old_repeat=repeat;if(repeat>0){repeat-=2;repeat<<=extra_bits}repeat+=br.readBits(extra_bits)+3;repeat_delta=repeat-old_repeat;if(symbol+repeat_delta>num_symbols){throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols")}for(var x=0;x0;++i){var code_len_idx=kCodeLengthCodeOrder[i];var p=0;var v;br.fillBitWindow();p+=br.val_>>>br.bit_pos_&15;br.bit_pos_+=huff[p].bits;v=huff[p].value;code_length_code_lengths[code_len_idx]=v;if(v!==0){space-=32>>v;++num_codes}}if(!(num_codes===1||space===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");ReadHuffmanCodeLengths(code_length_code_lengths,alphabet_size,code_lengths,br)}table_size=BrotliBuildHuffmanTable(tables,table,HUFFMAN_TABLE_BITS,code_lengths,alphabet_size);if(table_size===0){throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ")}return table_size}function ReadBlockLength(table,index,br){var code;var nbits;code=ReadSymbol(table,index,br);nbits=Prefix.kBlockLengthPrefixCode[code].nbits;return Prefix.kBlockLengthPrefixCode[code].offset+br.readBits(nbits)}function TranslateShortCodes(code,ringbuffer,index){var val;if(code>>5]);this.htrees=new Uint32Array(num_htrees)}HuffmanTreeGroup.prototype.decode=function(br){var i;var table_size;var next=0;for(i=0;i=context_map_size){throw new Error("[DecodeContextMap] i >= context_map_size")}context_map[i]=0;++i}}else{context_map[i]=code-max_run_length_prefix;++i}}if(br.readBits(1)){InverseMoveToFrontTransform(context_map,context_map_size)}return out}function DecodeBlockType(max_block_type,trees,tree_type,block_types,ringbuffers,indexes,br){var ringbuffer=tree_type*2;var index=tree_type;var type_code=ReadSymbol(trees,tree_type*HUFFMAN_MAX_TABLE_SIZE,br);var block_type;if(type_code===0){block_type=ringbuffers[ringbuffer+(indexes[index]&1)]}else if(type_code===1){block_type=ringbuffers[ringbuffer+(indexes[index]-1&1)]+1}else{block_type=type_code-2}if(block_type>=max_block_type){block_type-=max_block_type}block_types[tree_type]=block_type;ringbuffers[ringbuffer+(indexes[index]&1)]=block_type;++indexes[index]}function CopyUncompressedBlockToOutput(output,len,pos,ringbuffer,ringbuffer_mask,br){var rb_size=ringbuffer_mask+1;var rb_pos=pos&ringbuffer_mask;var br_pos=br.pos_&BrotliBitReader.IBUF_MASK;var nbytes;if(len<8||br.bit_pos_+(len<<3)0){br.readMoreInput();ringbuffer[rb_pos++]=br.readBits(8);if(rb_pos===rb_size){output.write(ringbuffer,rb_size);rb_pos=0}}return}if(br.bit_end_pos_<32){throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32")}while(br.bit_pos_<32){ringbuffer[rb_pos]=br.val_>>>br.bit_pos_;br.bit_pos_+=8;++rb_pos;--len}nbytes=br.bit_end_pos_-br.bit_pos_>>3;if(br_pos+nbytes>BrotliBitReader.IBUF_MASK){var tail=BrotliBitReader.IBUF_MASK+1-br_pos;for(var x=0;x=rb_size){output.write(ringbuffer,rb_size);rb_pos-=rb_size;for(var x=0;x=rb_size){nbytes=rb_size-rb_pos;if(br.input_.read(ringbuffer,rb_pos,nbytes)output.buffer.length){var tmp=new Uint8Array(pos+meta_block_remaining_len);tmp.set(output.buffer);output.buffer=tmp}input_end=_out.input_end;is_uncompressed=_out.is_uncompressed;if(_out.is_metadata){JumpToByteBoundary(br);for(;meta_block_remaining_len>0;--meta_block_remaining_len){br.readMoreInput();br.readBits(8)}continue}if(meta_block_remaining_len===0){continue}if(is_uncompressed){br.bit_pos_=br.bit_pos_+7&~7;CopyUncompressedBlockToOutput(output,meta_block_remaining_len,pos,ringbuffer,ringbuffer_mask,br);pos+=meta_block_remaining_len;continue}for(i=0;i<3;++i){num_block_types[i]=DecodeVarLenUint8(br)+1;if(num_block_types[i]>=2){ReadHuffmanCode(num_block_types[i]+2,block_type_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);ReadHuffmanCode(kNumBlockLengthCodes,block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_length[i]=ReadBlockLength(block_len_trees,i*HUFFMAN_MAX_TABLE_SIZE,br);block_type_rb_index[i]=1}}br.readMoreInput();distance_postfix_bits=br.readBits(2);num_direct_distance_codes=NUM_DISTANCE_SHORT_CODES+(br.readBits(4)<0){var cmd_code;var range_idx;var insert_code;var copy_code;var insert_length;var copy_length;var distance_code;var distance;var context;var j;var copy_dst;br.readMoreInput();if(block_length[1]===0){DecodeBlockType(num_block_types[1],block_type_trees,1,block_type,block_type_rb,block_type_rb_index,br);block_length[1]=ReadBlockLength(block_len_trees,HUFFMAN_MAX_TABLE_SIZE,br);htree_command=hgroup[1].htrees[block_type[1]]}--block_length[1];cmd_code=ReadSymbol(hgroup[1].codes,htree_command,br);range_idx=cmd_code>>6;if(range_idx>=2){range_idx-=2;distance_code=-1}else{distance_code=0}insert_code=Prefix.kInsertRangeLut[range_idx]+(cmd_code>>3&7);copy_code=Prefix.kCopyRangeLut[range_idx]+(cmd_code&7);insert_length=Prefix.kInsertLengthPrefixCode[insert_code].offset+br.readBits(Prefix.kInsertLengthPrefixCode[insert_code].nbits);copy_length=Prefix.kCopyLengthPrefixCode[copy_code].offset+br.readBits(Prefix.kCopyLengthPrefixCode[copy_code].nbits);prev_byte1=ringbuffer[pos-1&ringbuffer_mask];prev_byte2=ringbuffer[pos-2&ringbuffer_mask];for(j=0;j4?3:copy_length-2)&255;dist_htree_index=dist_context_map[dist_context_map_slice+context];distance_code=ReadSymbol(hgroup[2].codes,hgroup[2].htrees[dist_htree_index],br);if(distance_code>=num_direct_distance_codes){var nbits;var postfix;var offset;distance_code-=num_direct_distance_codes;postfix=distance_code&distance_postfix_mask;distance_code>>=distance_postfix_bits;nbits=(distance_code>>1)+1;offset=(2+(distance_code&1)<max_distance){if(copy_length>=BrotliDictionary.minDictionaryWordLength&©_length<=BrotliDictionary.maxDictionaryWordLength){var offset=BrotliDictionary.offsetsByLength[copy_length];var word_id=distance-max_distance-1;var shift=BrotliDictionary.sizeBitsByLength[copy_length];var mask=(1<>shift;offset+=word_idx*copy_length;if(transform_idx=ringbuffer_end){output.write(ringbuffer,ringbuffer_size);for(var _x=0;_x0){dist_rb[dist_rb_idx&3]=distance;++dist_rb_idx}if(copy_length>meta_block_remaining_len){throw new Error("Invalid backward reference. pos: "+pos+" distance: "+distance+" len: "+copy_length+" bytes left: "+meta_block_remaining_len)}for(j=0;j>=1}return(key&step-1)+step}function ReplicateValue(table,i,step,end,code){do{end-=step;table[i+end]=new HuffmanCode(code.bits,code.value)}while(end>0)}function NextTableBitSize(count,len,root_bits){var left=1<0;--count[len]){code=new HuffmanCode(len&255,sorted[symbol++]&65535);ReplicateValue(root_table,table+key,step,table_size,code);key=GetNextKey(key,len)}}mask=total_size-1;low=-1;for(len=root_bits+1,step=2;len<=MAX_LENGTH;++len,step<<=1){for(;count[len]>0;--count[len]){if((key&mask)!==low){table+=table_size;table_bits=NextTableBitSize(count,len,root_bits);table_size=1<>root_bits),step,table_size,code);key=GetNextKey(key,len)}}return total_size}},{}],8:[function(require,module,exports){function PrefixCodeRange(offset,nbits){this.offset=offset;this.nbits=nbits}exports.kBlockLengthPrefixCode=[new PrefixCodeRange(1,2),new PrefixCodeRange(5,2),new PrefixCodeRange(9,2),new PrefixCodeRange(13,2),new PrefixCodeRange(17,3),new PrefixCodeRange(25,3),new PrefixCodeRange(33,3),new PrefixCodeRange(41,3),new PrefixCodeRange(49,4),new PrefixCodeRange(65,4),new PrefixCodeRange(81,4),new PrefixCodeRange(97,4),new PrefixCodeRange(113,5),new PrefixCodeRange(145,5),new PrefixCodeRange(177,5),new PrefixCodeRange(209,5),new PrefixCodeRange(241,6),new PrefixCodeRange(305,6),new PrefixCodeRange(369,7),new PrefixCodeRange(497,8),new PrefixCodeRange(753,9),new PrefixCodeRange(1265,10),new PrefixCodeRange(2289,11),new PrefixCodeRange(4337,12),new PrefixCodeRange(8433,13),new PrefixCodeRange(16625,24)];exports.kInsertLengthPrefixCode=[new PrefixCodeRange(0,0),new PrefixCodeRange(1,0),new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,1),new PrefixCodeRange(8,1),new PrefixCodeRange(10,2),new PrefixCodeRange(14,2),new PrefixCodeRange(18,3),new PrefixCodeRange(26,3),new PrefixCodeRange(34,4),new PrefixCodeRange(50,4),new PrefixCodeRange(66,5),new PrefixCodeRange(98,5),new PrefixCodeRange(130,6),new PrefixCodeRange(194,7),new PrefixCodeRange(322,8),new PrefixCodeRange(578,9),new PrefixCodeRange(1090,10),new PrefixCodeRange(2114,12),new PrefixCodeRange(6210,14),new PrefixCodeRange(22594,24)];exports.kCopyLengthPrefixCode=[new PrefixCodeRange(2,0),new PrefixCodeRange(3,0),new PrefixCodeRange(4,0),new PrefixCodeRange(5,0),new PrefixCodeRange(6,0),new PrefixCodeRange(7,0),new PrefixCodeRange(8,0),new PrefixCodeRange(9,0),new PrefixCodeRange(10,1),new PrefixCodeRange(12,1),new PrefixCodeRange(14,2),new PrefixCodeRange(18,2),new PrefixCodeRange(22,3),new PrefixCodeRange(30,3),new PrefixCodeRange(38,4),new PrefixCodeRange(54,4),new PrefixCodeRange(70,5),new PrefixCodeRange(102,5),new PrefixCodeRange(134,6),new PrefixCodeRange(198,7),new PrefixCodeRange(326,8),new PrefixCodeRange(582,9),new PrefixCodeRange(1094,10),new PrefixCodeRange(2118,24)];exports.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];exports.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],9:[function(require,module,exports){function BrotliInput(buffer){this.buffer=buffer;this.pos=0}BrotliInput.prototype.read=function(buf,i,count){if(this.pos+count>this.buffer.length){count=this.buffer.length-this.pos}for(var p=0;pthis.buffer.length)throw new Error("Output buffer is not large enough");this.buffer.set(buf.subarray(0,count),this.pos);this.pos+=count;return count};exports.BrotliOutput=BrotliOutput},{}],10:[function(require,module,exports){var BrotliDictionary=require("./dictionary");var kIdentity=0;var kOmitLast1=1;var kOmitLast2=2;var kOmitLast3=3;var kOmitLast4=4;var kOmitLast5=5;var kOmitLast6=6;var kOmitLast7=7;var kOmitLast8=8;var kOmitLast9=9;var kUppercaseFirst=10;var kUppercaseAll=11;var kOmitFirst1=12;var kOmitFirst2=13;var kOmitFirst3=14;var kOmitFirst4=15;var kOmitFirst5=16;var kOmitFirst6=17;var kOmitFirst7=18;var kOmitFirst9=20;function Transform(prefix,transform,suffix){this.prefix=new Uint8Array(prefix.length);this.transform=transform;this.suffix=new Uint8Array(suffix.length);for(var i=0;i'),new Transform("",kIdentity,"\n"),new Transform("",kOmitLast3,""),new Transform("",kIdentity,"]"),new Transform("",kIdentity," for "),new Transform("",kOmitFirst3,""),new Transform("",kOmitLast2,""),new Transform("",kIdentity," a "),new Transform("",kIdentity," that "),new Transform(" ",kUppercaseFirst,""),new Transform("",kIdentity,". "),new Transform(".",kIdentity,""),new Transform(" ",kIdentity,", "),new Transform("",kOmitFirst4,""),new Transform("",kIdentity," with "),new Transform("",kIdentity,"'"),new Transform("",kIdentity," from "),new Transform("",kIdentity," by "),new Transform("",kOmitFirst5,""),new Transform("",kOmitFirst6,""),new Transform(" the ",kIdentity,""),new Transform("",kOmitLast4,""),new Transform("",kIdentity,". The "),new Transform("",kUppercaseAll,""),new Transform("",kIdentity," on "),new Transform("",kIdentity," as "),new Transform("",kIdentity," is "),new Transform("",kOmitLast7,""),new Transform("",kOmitLast1,"ing "),new Transform("",kIdentity,"\n\t"),new Transform("",kIdentity,":"),new Transform(" ",kIdentity,". "),new Transform("",kIdentity,"ed "),new Transform("",kOmitFirst9,""),new Transform("",kOmitFirst7,""),new Transform("",kOmitLast6,""),new Transform("",kIdentity,"("),new Transform("",kUppercaseFirst,", "),new Transform("",kOmitLast8,""),new Transform("",kIdentity," at "),new Transform("",kIdentity,"ly "),new Transform(" the ",kIdentity," of "),new Transform("",kOmitLast5,""),new Transform("",kOmitLast9,""),new Transform(" ",kUppercaseFirst,", "),new Transform("",kUppercaseFirst,'"'),new Transform(".",kIdentity,"("),new Transform("",kUppercaseAll," "),new Transform("",kUppercaseFirst,'">'),new Transform("",kIdentity,'="'),new Transform(" ",kIdentity,"."),new Transform(".com/",kIdentity,""),new Transform(" the ",kIdentity," of the "),new Transform("",kUppercaseFirst,"'"),new Transform("",kIdentity,". This "),new Transform("",kIdentity,","),new Transform(".",kIdentity," "),new Transform("",kUppercaseFirst,"("),new Transform("",kUppercaseFirst,"."),new Transform("",kIdentity," not "),new Transform(" ",kIdentity,'="'),new Transform("",kIdentity,"er "),new Transform(" ",kUppercaseAll," "),new Transform("",kIdentity,"al "),new Transform(" ",kUppercaseAll,""),new Transform("",kIdentity,"='"),new Transform("",kUppercaseAll,'"'),new Transform("",kUppercaseFirst,". "),new Transform(" ",kIdentity,"("),new Transform("",kIdentity,"ful "),new Transform(" ",kUppercaseFirst,". "),new Transform("",kIdentity,"ive "),new Transform("",kIdentity,"less "),new Transform("",kUppercaseAll,"'"),new Transform("",kIdentity,"est "),new Transform(" ",kUppercaseFirst,"."),new Transform("",kUppercaseAll,'">'),new Transform(" ",kIdentity,"='"),new Transform("",kUppercaseFirst,","),new Transform("",kIdentity,"ize "),new Transform("",kUppercaseAll,"."),new Transform(" ",kIdentity,""),new Transform(" ",kIdentity,","),new Transform("",kUppercaseFirst,'="'),new Transform("",kUppercaseAll,'="'),new Transform("",kIdentity,"ous "),new Transform("",kUppercaseAll,", "),new Transform("",kUppercaseFirst,"='"),new Transform(" ",kUppercaseFirst,","),new Transform(" ",kUppercaseAll,'="'),new Transform(" ",kUppercaseAll,", "),new Transform("",kUppercaseAll,","),new Transform("",kUppercaseAll,"("),new Transform("",kUppercaseAll,". "),new Transform(" ",kUppercaseAll,"."),new Transform("",kUppercaseAll,"='"),new Transform(" ",kUppercaseAll,". "),new Transform(" ",kUppercaseFirst,'="'),new Transform(" ",kUppercaseAll,"='"),new Transform(" ",kUppercaseFirst,"='")];exports.kTransforms=kTransforms;exports.kNumTransforms=kTransforms.length;function ToUpperCase(p,i){if(p[i]<192){if(p[i]>=97&&p[i]<=122){p[i]^=32}return 1}if(p[i]<224){p[i+1]^=32;return 2}p[i+2]^=5;return 3}exports.transformDictionaryWord=function(dst,idx,word,len,transform){var prefix=kTransforms[transform].prefix;var suffix=kTransforms[transform].suffix;var t=kTransforms[transform].transform;var skip=tlen){skip=len}var prefix_pos=0;while(prefix_pos0){var step=ToUpperCase(dst,uppercase);uppercase+=step;len-=step}}var suffix_pos=0;while(suffix_pos0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}]},{},[11])(11)});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=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}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"];function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}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")}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":1009,"maximum":1009+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i=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 stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);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}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=5888592,DYNAMICTOP_PTR=645552;var INITIAL_INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_INITIAL_MEMORY/WASM_PAGE_SIZE,"maximum":2147483648/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_INITIAL_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(Module);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;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;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 addOnPreMain(cb){__ATMAIN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};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)}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 fileURIPrefix="file://";function isFileURI(filename){return hasPrefix(filename,fileURIPrefix)}var wasmBinaryFile="subtitles-octopus-worker.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 getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"&&!isFileURI(wasmBinaryFile)){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)&&!isFileURI(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{}}var tempDouble;var tempI64;__ATINIT__.push({func:function(){___wasm_call_ctors()}});function _emscripten_set_main_loop_timing(mode,value){Browser.mainLoop.timingMode=mode;Browser.mainLoop.timingValue=value;if(!Browser.mainLoop.func){return 1}if(mode==0){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setTimeout(){var timeUntilNextTick=Math.max(0,Browser.mainLoop.tickStartTime+value-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,timeUntilNextTick)};Browser.mainLoop.method="timeout"}else if(mode==1){Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_rAF(){Browser.requestAnimationFrame(Browser.mainLoop.runner)};Browser.mainLoop.method="rAF"}else if(mode==2){if(typeof setImmediate==="undefined"){var setImmediates=[];var emscriptenMainLoopMessageId="setimmediate";var Browser_setImmediate_messageHandler=function(event){if(event.data===emscriptenMainLoopMessageId||event.data.target===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}};addEventListener("message",Browser_setImmediate_messageHandler,true);setImmediate=function Browser_emulated_setImmediate(func){setImmediates.push(func);if(ENVIRONMENT_IS_WORKER){if(Module["setImmediates"]===undefined)Module["setImmediates"]=[];Module["setImmediates"].push(func);postMessage({target:emscriptenMainLoopMessageId})}else postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){setImmediate(Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){noExitRuntime=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var browserIterationFunc;if(typeof arg!=="undefined"){browserIterationFunc=function(){Module["dynCall_vi"](func,arg)}}else{browserIterationFunc=function(){Module["dynCall_v"](func)}}var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else if(Browser.mainLoop.timingMode==0){Browser.mainLoop.tickStartTime=_emscripten_get_now()}Browser.mainLoop.runIter(browserIterationFunc);if(thisMainLoopId0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"unwind"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()},updateStatus:function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout(function(){finish(audio)},1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===Module["canvas"]||document["mozPointerLockElement"]===Module["canvas"]||document["webkitPointerLockElement"]===Module["canvas"]||document["msPointerLockElement"]===Module["canvas"]}var canvas=Module["canvas"];if(canvas){canvas.requestPointerLock=canvas["requestPointerLock"]||canvas["mozRequestPointerLock"]||canvas["webkitRequestPointerLock"]||canvas["msRequestPointerLock"]||function(){};canvas.exitPointerLock=document["exitPointerLock"]||document["mozExitPointerLock"]||document["webkitExitPointerLock"]||document["msExitPointerLock"]||function(){};canvas.exitPointerLock=canvas.exitPointerLock.bind(document);document.addEventListener("pointerlockchange",pointerLockChange,false);document.addEventListener("mozpointerlockchange",pointerLockChange,false);document.addEventListener("webkitpointerlockchange",pointerLockChange,false);document.addEventListener("mspointerlockchange",pointerLockChange,false);if(Module["elementPointerLock"]){canvas.addEventListener("click",function(ev){if(!Browser.pointerLock&&Module["canvas"].requestPointerLock){Module["canvas"].requestPointerLock();ev.preventDefault()}},false)}}},createContext:function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false,majorVersion:1};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}if(typeof GL!=="undefined"){contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}}}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach(function(callback){callback()});Browser.init()}return ctx},destroyContext:function(canvas,useWebGL,setInModule){},fullscreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullscreen:function(lockPointer,resizeCanvas){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;var canvas=Module["canvas"];function fullscreenChange(){Browser.isFullscreen=false;var canvasContainer=canvas.parentNode;if((document["fullscreenElement"]||document["mozFullScreenElement"]||document["msFullscreenElement"]||document["webkitFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.exitFullscreen=Browser.exitFullscreen;if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullscreen=true;if(Browser.resizeCanvas){Browser.setFullscreenCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas){Browser.setWindowedCanvasSize()}else{Browser.updateCanvasDimensions(canvas)}}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullscreen);if(Module["onFullscreen"])Module["onFullscreen"](Browser.isFullscreen)}if(!Browser.fullscreenHandlersInstalled){Browser.fullscreenHandlersInstalled=true;document.addEventListener("fullscreenchange",fullscreenChange,false);document.addEventListener("mozfullscreenchange",fullscreenChange,false);document.addEventListener("webkitfullscreenchange",fullscreenChange,false);document.addEventListener("MSFullscreenChange",fullscreenChange,false)}var canvasContainer=document.createElement("div");canvas.parentNode.insertBefore(canvasContainer,canvas);canvasContainer.appendChild(canvas);canvasContainer.requestFullscreen=canvasContainer["requestFullscreen"]||canvasContainer["mozRequestFullScreen"]||canvasContainer["msRequestFullscreen"]||(canvasContainer["webkitRequestFullscreen"]?function(){canvasContainer["webkitRequestFullscreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null)||(canvasContainer["webkitRequestFullScreen"]?function(){canvasContainer["webkitRequestFullScreen"](Element["ALLOW_KEYBOARD_INPUT"])}:null);canvasContainer.requestFullscreen()},exitFullscreen:function(){if(!Browser.isFullscreen){return false}var CFS=document["exitFullscreen"]||document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["msExitFullscreen"]||document["webkitCancelFullScreen"]||function(){};CFS.apply(document,[]);return true},nextRAF:0,fakeRequestAnimationFrame:function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)},requestAnimationFrame:function(func){if(typeof requestAnimationFrame==="function"){requestAnimationFrame(func);return}var RAF=Browser.fakeRequestAnimationFrame;RAF(func)},safeCallback:function(func){return function(){if(!ABORT)return func.apply(null,arguments)}},allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=false},resumeAsyncCallbacks:function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach(function(func){func()})}},safeRequestAnimationFrame:function(func){return Browser.requestAnimationFrame(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}})},safeSetTimeout:function(func,timeout){noExitRuntime=true;return setTimeout(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}},timeout)},safeSetInterval:function(func,timeout){noExitRuntime=true;return setInterval(function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}},timeout)},getMimetype:function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]},getUserMedia:function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)},getMovementX:function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0},getMovementY:function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0},getMouseWheelDelta:function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail/3;break;case"mousewheel":delta=event.wheelDelta/120;break;case"wheel":delta=event.deltaY;switch(event.deltaMode){case 0:delta/=100;break;case 1:delta/=3;break;case 2:delta*=80;break;default:throw"unrecognized mouse wheel delta mode: "+event.deltaMode}break;default:throw"unrecognized mouse wheel event: "+event.type}return delta},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}},asyncLoad:function(url,onload,onerror,noRunDep){var dep=!noRunDep?getUniqueRunDependency("al "+url):"";readAsync(url,function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)},resizeListeners:[],updateResizeListeners:function(){var canvas=Module["canvas"];Browser.resizeListeners.forEach(function(listener){listener(canvas.width,canvas.height)})},setCanvasSize:function(width,height,noUpdates){var canvas=Module["canvas"];Browser.updateCanvasDimensions(canvas,width,height);if(!noUpdates)Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags|8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen>>2];flags=flags&~8388608;HEAP32[SDL.screen>>2]=flags}Browser.updateCanvasDimensions(Module["canvas"]);Browser.updateResizeListeners()},updateCanvasDimensions:function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h>2]=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 ___map_file(pathname,size){setErrNo(63);return-1}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 PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 2}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 2}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 2}return 0},mayLookup:function(dir){var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:function(node,flags){if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}}}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(70)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(29)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-28;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-28}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;if(!node){return-44}var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-2}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream},get64:function(low,high){return low}};function ___sys_access(path,amode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_chmod(path,mode){try{path=SYSCALLS.getStr(path);FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_fstat64(fd,buf){try{var stream=SYSCALLS.getStreamFromFD(fd);return SYSCALLS.doStat(FS.stat,stream.path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getcwd(buf,size){try{if(size===0)return-28;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size>>0,(tempDouble=id,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos>>2]=tempI64[0],HEAP32[dirp+pos+4>>2]=tempI64[1];tempI64=[(idx+1)*struct_size>>>0,(tempDouble=(idx+1)*struct_size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[dirp+pos+8>>2]=tempI64[0],HEAP32[dirp+pos+12>>2]=tempI64[1];HEAP16[dirp+pos+16>>1]=280;HEAP8[dirp+pos+18>>0]=type;stringToUTF8(name,dirp+pos+19,256);pos+=struct_size;idx+=1}FS.llseek(stream,idx*struct_size,0);return pos}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_getpid(){return 42}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_link(oldpath,newpath){return-34}function ___sys_lstat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.lstat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mkdir(path,mode){try{path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_mprotect(addr,len,size){return 0}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){var stream=FS.getStream(info.fd);if(info.prot&2){SYSCALLS.doMsync(addr,stream,len,info.flags,info.offset)}FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){try{return syscallMunmap(addr,len)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(path);var 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 ___sys_read(fd,buf,count){try{var stream=SYSCALLS.getStreamFromFD(fd);return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_readlink(path,buf,bufsize){try{path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rename(old_path,new_path){try{old_path=SYSCALLS.getStr(old_path);new_path=SYSCALLS.getStr(new_path);FS.rename(old_path,new_path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_rmdir(path){try{path=SYSCALLS.getStr(path);FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_stat64(path,buf){try{path=SYSCALLS.getStr(path);return SYSCALLS.doStat(FS.stat,path,buf)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_symlink(target,linkpath){try{target=SYSCALLS.getStr(target);linkpath=SYSCALLS.getStr(linkpath);FS.symlink(target,linkpath);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___sys_unlink(path){try{path=SYSCALLS.getStr(path);FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function _abort(){abort()}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.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 PAGE_MULTIPLE=65536;var maxHeapSize=2147483648;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 __getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.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","_":__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){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_fdstat_get(fd,pbuf){try{var stream=SYSCALLS.getStreamFromFD(fd);var type=stream.tty?2:FS.isDir(stream.mode)?3:FS.isLink(stream.mode)?7:4;HEAP8[pbuf>>0]=type;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{var stream=SYSCALLS.getStreamFromFD(fd);var HIGH_OFFSET=4294967296;var offset=offset_high*HIGH_OFFSET+(offset_low>>>0);var DOUBLE_LIMIT=9007199254740992;if(offset<=-DOUBLE_LIMIT||offset>=DOUBLE_LIMIT){return-61}FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doWritev(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 _getTempRet0(){return getTempRet0()|0}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _roundf(d){d=+d;return d>=+0?+Math_floor(d+ +.5):+Math_ceil(d-+.5)}function _setTempRet0($i){setTempRet0($i|0)}function _sysconf(name){switch(name){case 30:return 16384;case 85:var maxHeapSize=2147483648;return maxHeapSize/16384;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}setErrNo(28);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}Module["requestFullscreen"]=function Module_requestFullscreen(lockPointer,resizeCanvas){Browser.requestFullscreen(lockPointer,resizeCanvas)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;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,"P":___clock_gettime,"A":___map_file,"K":___sys_access,"S":___sys_chmod,"d":___sys_fcntl64,"Q":___sys_fstat64,"H":___sys_getcwd,"O":___sys_getdents64,"j":___sys_getpid,"D":___sys_ioctl,"M":___sys_link,"R":___sys_lstat64,"T":___sys_mkdir,"F":___sys_mprotect,"E":___sys_munmap,"l":___sys_open,"J":___sys_read,"L":___sys_readlink,"B":___sys_rename,"N":___sys_rmdir,"o":___sys_stat64,"I":___sys_symlink,"G":___sys_unlink,"p":_abort,"r":_emscripten_get_now,"h":_emscripten_longjmp,"v":_emscripten_memcpy_big,"w":_emscripten_resize_heap,"y":_environ_get,"z":_environ_sizes_get,"i":_exit,"g":_fd_close,"x":_fd_fdstat_get,"C":_fd_read,"u":_fd_seek,"k":_fd_write,"e":_getTempRet0,"U":_gettimeofday,"t":invoke_iii,"q":invoke_iiii,"s":invoke_iiiii,"V":invoke_vii,"memory":wasmMemory,"b":_roundf,"n":_saveSetjmp,"c":_setTempRet0,"W":_sysconf,"table":wasmTable,"f":_testSetjmp,"m":_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"]["X"]).apply(null,arguments)};var _main=Module["_main"]=function(){return(_main=Module["_main"]=Module["asm"]["Y"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=function(){return(_emscripten_bind_ASS_Event_get_Start_0=Module["_emscripten_bind_ASS_Event_get_Start_0"]=Module["asm"]["Z"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=function(){return(_emscripten_bind_ASS_Event_set_Start_1=Module["_emscripten_bind_ASS_Event_set_Start_1"]=Module["asm"]["_"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=function(){return(_emscripten_bind_ASS_Event_get_Duration_0=Module["_emscripten_bind_ASS_Event_get_Duration_0"]=Module["asm"]["$"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=function(){return(_emscripten_bind_ASS_Event_set_Duration_1=Module["_emscripten_bind_ASS_Event_set_Duration_1"]=Module["asm"]["aa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=function(){return(_emscripten_bind_ASS_Event_get_ReadOrder_0=Module["_emscripten_bind_ASS_Event_get_ReadOrder_0"]=Module["asm"]["ba"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=function(){return(_emscripten_bind_ASS_Event_set_ReadOrder_1=Module["_emscripten_bind_ASS_Event_set_ReadOrder_1"]=Module["asm"]["ca"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=function(){return(_emscripten_bind_ASS_Event_get_Layer_0=Module["_emscripten_bind_ASS_Event_get_Layer_0"]=Module["asm"]["da"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=function(){return(_emscripten_bind_ASS_Event_set_Layer_1=Module["_emscripten_bind_ASS_Event_set_Layer_1"]=Module["asm"]["ea"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=function(){return(_emscripten_bind_ASS_Event_get_Style_0=Module["_emscripten_bind_ASS_Event_get_Style_0"]=Module["asm"]["fa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=function(){return(_emscripten_bind_ASS_Event_set_Style_1=Module["_emscripten_bind_ASS_Event_set_Style_1"]=Module["asm"]["ga"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=function(){return(_emscripten_bind_ASS_Event_get_Name_0=Module["_emscripten_bind_ASS_Event_get_Name_0"]=Module["asm"]["ha"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=function(){return(_emscripten_bind_ASS_Event_set_Name_1=Module["_emscripten_bind_ASS_Event_set_Name_1"]=Module["asm"]["ia"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginL_0=Module["_emscripten_bind_ASS_Event_get_MarginL_0"]=Module["asm"]["ja"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginL_1=Module["_emscripten_bind_ASS_Event_set_MarginL_1"]=Module["asm"]["ka"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginR_0=Module["_emscripten_bind_ASS_Event_get_MarginR_0"]=Module["asm"]["la"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginR_1=Module["_emscripten_bind_ASS_Event_set_MarginR_1"]=Module["asm"]["ma"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Event_get_MarginV_0=Module["_emscripten_bind_ASS_Event_get_MarginV_0"]=Module["asm"]["na"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Event_set_MarginV_1=Module["_emscripten_bind_ASS_Event_set_MarginV_1"]=Module["asm"]["oa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=function(){return(_emscripten_bind_ASS_Event_get_Effect_0=Module["_emscripten_bind_ASS_Event_get_Effect_0"]=Module["asm"]["pa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=function(){return(_emscripten_bind_ASS_Event_set_Effect_1=Module["_emscripten_bind_ASS_Event_set_Effect_1"]=Module["asm"]["qa"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=function(){return(_emscripten_bind_ASS_Event_get_Text_0=Module["_emscripten_bind_ASS_Event_get_Text_0"]=Module["asm"]["ra"]).apply(null,arguments)};var _emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=function(){return(_emscripten_bind_ASS_Event_set_Text_1=Module["_emscripten_bind_ASS_Event_set_Text_1"]=Module["asm"]["sa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_changed_0=Module["_emscripten_bind_RenderBlendResult_get_changed_0"]=Module["asm"]["ta"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_changed_1=Module["_emscripten_bind_RenderBlendResult_set_changed_1"]=Module["asm"]["ua"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_blend_time_0=Module["_emscripten_bind_RenderBlendResult_get_blend_time_0"]=Module["asm"]["va"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_blend_time_1=Module["_emscripten_bind_RenderBlendResult_set_blend_time_1"]=Module["asm"]["wa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=function(){return(_emscripten_bind_RenderBlendResult_get_part_0=Module["_emscripten_bind_RenderBlendResult_get_part_0"]=Module["asm"]["xa"]).apply(null,arguments)};var _emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=function(){return(_emscripten_bind_RenderBlendResult_set_part_1=Module["_emscripten_bind_RenderBlendResult_set_part_1"]=Module["asm"]["ya"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=function(){return(_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0=Module["_emscripten_bind_SubtitleOctopus_SubtitleOctopus_0"]=Module["asm"]["za"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setLogLevel_1=Module["_emscripten_bind_SubtitleOctopus_setLogLevel_1"]=Module["asm"]["Aa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=function(){return(_emscripten_bind_SubtitleOctopus_setDropAnimations_1=Module["_emscripten_bind_SubtitleOctopus_setDropAnimations_1"]=Module["asm"]["Ba"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getDropAnimations_0=Module["_emscripten_bind_SubtitleOctopus_getDropAnimations_0"]=Module["asm"]["Ca"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=function(){return(_emscripten_bind_SubtitleOctopus_initLibrary_2=Module["_emscripten_bind_SubtitleOctopus_initLibrary_2"]=Module["asm"]["Da"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Ea"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrack_1=Module["_emscripten_bind_SubtitleOctopus_createTrack_1"]=Module["asm"]["Fa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=function(){return(_emscripten_bind_SubtitleOctopus_createTrackMem_2=Module["_emscripten_bind_SubtitleOctopus_createTrackMem_2"]=Module["asm"]["Ga"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeTrack_0=Module["_emscripten_bind_SubtitleOctopus_removeTrack_0"]=Module["asm"]["Ha"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=function(){return(_emscripten_bind_SubtitleOctopus_resizeCanvas_2=Module["_emscripten_bind_SubtitleOctopus_resizeCanvas_2"]=Module["asm"]["Ia"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderImage_2=Module["_emscripten_bind_SubtitleOctopus_renderImage_2"]=Module["asm"]["Ja"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_quitLibrary_0=Module["_emscripten_bind_SubtitleOctopus_quitLibrary_0"]=Module["asm"]["Ka"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadLibrary_0=Module["_emscripten_bind_SubtitleOctopus_reloadLibrary_0"]=Module["asm"]["La"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=function(){return(_emscripten_bind_SubtitleOctopus_reloadFonts_0=Module["_emscripten_bind_SubtitleOctopus_reloadFonts_0"]=Module["asm"]["Ma"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=function(){return(_emscripten_bind_SubtitleOctopus_setMargin_4=Module["_emscripten_bind_SubtitleOctopus_setMargin_4"]=Module["asm"]["Na"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getEventCount_0=Module["_emscripten_bind_SubtitleOctopus_getEventCount_0"]=Module["asm"]["Oa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocEvent_0=Module["_emscripten_bind_SubtitleOctopus_allocEvent_0"]=Module["asm"]["Pa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=function(){return(_emscripten_bind_SubtitleOctopus_allocStyle_0=Module["_emscripten_bind_SubtitleOctopus_allocStyle_0"]=Module["asm"]["Qa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeEvent_1=Module["_emscripten_bind_SubtitleOctopus_removeEvent_1"]=Module["asm"]["Ra"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleCount_0=Module["_emscripten_bind_SubtitleOctopus_getStyleCount_0"]=Module["asm"]["Sa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=function(){return(_emscripten_bind_SubtitleOctopus_getStyleByName_1=Module["_emscripten_bind_SubtitleOctopus_getStyleByName_1"]=Module["asm"]["Ta"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=function(){return(_emscripten_bind_SubtitleOctopus_removeStyle_1=Module["_emscripten_bind_SubtitleOctopus_removeStyle_1"]=Module["asm"]["Ua"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=function(){return(_emscripten_bind_SubtitleOctopus_removeAllEvents_0=Module["_emscripten_bind_SubtitleOctopus_removeAllEvents_0"]=Module["asm"]["Va"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=function(){return(_emscripten_bind_SubtitleOctopus_setMemoryLimits_2=Module["_emscripten_bind_SubtitleOctopus_setMemoryLimits_2"]=Module["asm"]["Wa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=function(){return(_emscripten_bind_SubtitleOctopus_renderBlend_2=Module["_emscripten_bind_SubtitleOctopus_renderBlend_2"]=Module["asm"]["Xa"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findNextEventStart_1=Module["_emscripten_bind_SubtitleOctopus_findNextEventStart_1"]=Module["asm"]["Ya"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=function(){return(_emscripten_bind_SubtitleOctopus_findEventStopTimes_1=Module["_emscripten_bind_SubtitleOctopus_findEventStopTimes_1"]=Module["asm"]["Za"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=function(){return(_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0=Module["_emscripten_bind_SubtitleOctopus_rescanAllAnimations_0"]=Module["asm"]["_a"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["$a"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_track_0=Module["_emscripten_bind_SubtitleOctopus_get_track_0"]=Module["asm"]["ab"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_track_1=Module["_emscripten_bind_SubtitleOctopus_set_track_1"]=Module["asm"]["bb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_renderer_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_renderer_0"]=Module["asm"]["cb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_renderer_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_renderer_1"]=Module["asm"]["db"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=function(){return(_emscripten_bind_SubtitleOctopus_get_ass_library_0=Module["_emscripten_bind_SubtitleOctopus_get_ass_library_0"]=Module["asm"]["eb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=function(){return(_emscripten_bind_SubtitleOctopus_set_ass_library_1=Module["_emscripten_bind_SubtitleOctopus_set_ass_library_1"]=Module["asm"]["fb"]).apply(null,arguments)};var _emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=function(){return(_emscripten_bind_SubtitleOctopus___destroy___0=Module["_emscripten_bind_SubtitleOctopus___destroy___0"]=Module["asm"]["gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_styles_0=Module["_emscripten_bind_ASS_Track_get_n_styles_0"]=Module["asm"]["hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_styles_1=Module["_emscripten_bind_ASS_Track_set_n_styles_1"]=Module["asm"]["ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_styles_0=Module["_emscripten_bind_ASS_Track_get_max_styles_0"]=Module["asm"]["jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_styles_1=Module["_emscripten_bind_ASS_Track_set_max_styles_1"]=Module["asm"]["kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_n_events_0=Module["_emscripten_bind_ASS_Track_get_n_events_0"]=Module["asm"]["lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_n_events_1=Module["_emscripten_bind_ASS_Track_set_n_events_1"]=Module["asm"]["mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=function(){return(_emscripten_bind_ASS_Track_get_max_events_0=Module["_emscripten_bind_ASS_Track_get_max_events_0"]=Module["asm"]["nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=function(){return(_emscripten_bind_ASS_Track_set_max_events_1=Module["_emscripten_bind_ASS_Track_set_max_events_1"]=Module["asm"]["ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=function(){return(_emscripten_bind_ASS_Track_get_styles_1=Module["_emscripten_bind_ASS_Track_get_styles_1"]=Module["asm"]["pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=function(){return(_emscripten_bind_ASS_Track_set_styles_2=Module["_emscripten_bind_ASS_Track_set_styles_2"]=Module["asm"]["qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=function(){return(_emscripten_bind_ASS_Track_get_events_1=Module["_emscripten_bind_ASS_Track_get_events_1"]=Module["asm"]["rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=function(){return(_emscripten_bind_ASS_Track_set_events_2=Module["_emscripten_bind_ASS_Track_set_events_2"]=Module["asm"]["sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_style_format_0=Module["_emscripten_bind_ASS_Track_get_style_format_0"]=Module["asm"]["tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_style_format_1=Module["_emscripten_bind_ASS_Track_set_style_format_1"]=Module["asm"]["ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=function(){return(_emscripten_bind_ASS_Track_get_event_format_0=Module["_emscripten_bind_ASS_Track_get_event_format_0"]=Module["asm"]["vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=function(){return(_emscripten_bind_ASS_Track_set_event_format_1=Module["_emscripten_bind_ASS_Track_set_event_format_1"]=Module["asm"]["wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResX_0=Module["_emscripten_bind_ASS_Track_get_PlayResX_0"]=Module["asm"]["xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResX_1=Module["_emscripten_bind_ASS_Track_set_PlayResX_1"]=Module["asm"]["yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=function(){return(_emscripten_bind_ASS_Track_get_PlayResY_0=Module["_emscripten_bind_ASS_Track_get_PlayResY_0"]=Module["asm"]["zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=function(){return(_emscripten_bind_ASS_Track_set_PlayResY_1=Module["_emscripten_bind_ASS_Track_set_PlayResY_1"]=Module["asm"]["Ab"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=function(){return(_emscripten_bind_ASS_Track_get_Timer_0=Module["_emscripten_bind_ASS_Track_get_Timer_0"]=Module["asm"]["Bb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=function(){return(_emscripten_bind_ASS_Track_set_Timer_1=Module["_emscripten_bind_ASS_Track_set_Timer_1"]=Module["asm"]["Cb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=function(){return(_emscripten_bind_ASS_Track_get_WrapStyle_0=Module["_emscripten_bind_ASS_Track_get_WrapStyle_0"]=Module["asm"]["Db"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=function(){return(_emscripten_bind_ASS_Track_set_WrapStyle_1=Module["_emscripten_bind_ASS_Track_set_WrapStyle_1"]=Module["asm"]["Eb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=function(){return(_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0=Module["_emscripten_bind_ASS_Track_get_ScaledBorderAndShadow_0"]=Module["asm"]["Fb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=function(){return(_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1=Module["_emscripten_bind_ASS_Track_set_ScaledBorderAndShadow_1"]=Module["asm"]["Gb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=function(){return(_emscripten_bind_ASS_Track_get_Kerning_0=Module["_emscripten_bind_ASS_Track_get_Kerning_0"]=Module["asm"]["Hb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=function(){return(_emscripten_bind_ASS_Track_set_Kerning_1=Module["_emscripten_bind_ASS_Track_set_Kerning_1"]=Module["asm"]["Ib"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=function(){return(_emscripten_bind_ASS_Track_get_Language_0=Module["_emscripten_bind_ASS_Track_get_Language_0"]=Module["asm"]["Jb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=function(){return(_emscripten_bind_ASS_Track_set_Language_1=Module["_emscripten_bind_ASS_Track_set_Language_1"]=Module["asm"]["Kb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=function(){return(_emscripten_bind_ASS_Track_get_default_style_0=Module["_emscripten_bind_ASS_Track_get_default_style_0"]=Module["asm"]["Lb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=function(){return(_emscripten_bind_ASS_Track_set_default_style_1=Module["_emscripten_bind_ASS_Track_set_default_style_1"]=Module["asm"]["Mb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=function(){return(_emscripten_bind_ASS_Track_get_name_0=Module["_emscripten_bind_ASS_Track_get_name_0"]=Module["asm"]["Nb"]).apply(null,arguments)};var _emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=function(){return(_emscripten_bind_ASS_Track_set_name_1=Module["_emscripten_bind_ASS_Track_set_name_1"]=Module["asm"]["Ob"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=function(){return(_emscripten_bind_ASS_Style_get_Name_0=Module["_emscripten_bind_ASS_Style_get_Name_0"]=Module["asm"]["Pb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=function(){return(_emscripten_bind_ASS_Style_set_Name_1=Module["_emscripten_bind_ASS_Style_set_Name_1"]=Module["asm"]["Qb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontName_0=Module["_emscripten_bind_ASS_Style_get_FontName_0"]=Module["asm"]["Rb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontName_1=Module["_emscripten_bind_ASS_Style_set_FontName_1"]=Module["asm"]["Sb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=function(){return(_emscripten_bind_ASS_Style_get_FontSize_0=Module["_emscripten_bind_ASS_Style_get_FontSize_0"]=Module["asm"]["Tb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=function(){return(_emscripten_bind_ASS_Style_set_FontSize_1=Module["_emscripten_bind_ASS_Style_set_FontSize_1"]=Module["asm"]["Ub"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_PrimaryColour_0=Module["_emscripten_bind_ASS_Style_get_PrimaryColour_0"]=Module["asm"]["Vb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_PrimaryColour_1=Module["_emscripten_bind_ASS_Style_set_PrimaryColour_1"]=Module["asm"]["Wb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_SecondaryColour_0=Module["_emscripten_bind_ASS_Style_get_SecondaryColour_0"]=Module["asm"]["Xb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_SecondaryColour_1=Module["_emscripten_bind_ASS_Style_set_SecondaryColour_1"]=Module["asm"]["Yb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_OutlineColour_0=Module["_emscripten_bind_ASS_Style_get_OutlineColour_0"]=Module["asm"]["Zb"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_OutlineColour_1=Module["_emscripten_bind_ASS_Style_set_OutlineColour_1"]=Module["asm"]["_b"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=function(){return(_emscripten_bind_ASS_Style_get_BackColour_0=Module["_emscripten_bind_ASS_Style_get_BackColour_0"]=Module["asm"]["$b"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=function(){return(_emscripten_bind_ASS_Style_set_BackColour_1=Module["_emscripten_bind_ASS_Style_set_BackColour_1"]=Module["asm"]["ac"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=function(){return(_emscripten_bind_ASS_Style_get_Bold_0=Module["_emscripten_bind_ASS_Style_get_Bold_0"]=Module["asm"]["bc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=function(){return(_emscripten_bind_ASS_Style_set_Bold_1=Module["_emscripten_bind_ASS_Style_set_Bold_1"]=Module["asm"]["cc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=function(){return(_emscripten_bind_ASS_Style_get_Italic_0=Module["_emscripten_bind_ASS_Style_get_Italic_0"]=Module["asm"]["dc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=function(){return(_emscripten_bind_ASS_Style_set_Italic_1=Module["_emscripten_bind_ASS_Style_set_Italic_1"]=Module["asm"]["ec"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Underline_0=Module["_emscripten_bind_ASS_Style_get_Underline_0"]=Module["asm"]["fc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Underline_1=Module["_emscripten_bind_ASS_Style_set_Underline_1"]=Module["asm"]["gc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=function(){return(_emscripten_bind_ASS_Style_get_StrikeOut_0=Module["_emscripten_bind_ASS_Style_get_StrikeOut_0"]=Module["asm"]["hc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=function(){return(_emscripten_bind_ASS_Style_set_StrikeOut_1=Module["_emscripten_bind_ASS_Style_set_StrikeOut_1"]=Module["asm"]["ic"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleX_0=Module["_emscripten_bind_ASS_Style_get_ScaleX_0"]=Module["asm"]["jc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleX_1=Module["_emscripten_bind_ASS_Style_set_ScaleX_1"]=Module["asm"]["kc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=function(){return(_emscripten_bind_ASS_Style_get_ScaleY_0=Module["_emscripten_bind_ASS_Style_get_ScaleY_0"]=Module["asm"]["lc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=function(){return(_emscripten_bind_ASS_Style_set_ScaleY_1=Module["_emscripten_bind_ASS_Style_set_ScaleY_1"]=Module["asm"]["mc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=function(){return(_emscripten_bind_ASS_Style_get_Spacing_0=Module["_emscripten_bind_ASS_Style_get_Spacing_0"]=Module["asm"]["nc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=function(){return(_emscripten_bind_ASS_Style_set_Spacing_1=Module["_emscripten_bind_ASS_Style_set_Spacing_1"]=Module["asm"]["oc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=function(){return(_emscripten_bind_ASS_Style_get_Angle_0=Module["_emscripten_bind_ASS_Style_get_Angle_0"]=Module["asm"]["pc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=function(){return(_emscripten_bind_ASS_Style_set_Angle_1=Module["_emscripten_bind_ASS_Style_set_Angle_1"]=Module["asm"]["qc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=function(){return(_emscripten_bind_ASS_Style_get_BorderStyle_0=Module["_emscripten_bind_ASS_Style_get_BorderStyle_0"]=Module["asm"]["rc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=function(){return(_emscripten_bind_ASS_Style_set_BorderStyle_1=Module["_emscripten_bind_ASS_Style_set_BorderStyle_1"]=Module["asm"]["sc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=function(){return(_emscripten_bind_ASS_Style_get_Outline_0=Module["_emscripten_bind_ASS_Style_get_Outline_0"]=Module["asm"]["tc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=function(){return(_emscripten_bind_ASS_Style_set_Outline_1=Module["_emscripten_bind_ASS_Style_set_Outline_1"]=Module["asm"]["uc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=function(){return(_emscripten_bind_ASS_Style_get_Shadow_0=Module["_emscripten_bind_ASS_Style_get_Shadow_0"]=Module["asm"]["vc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=function(){return(_emscripten_bind_ASS_Style_set_Shadow_1=Module["_emscripten_bind_ASS_Style_set_Shadow_1"]=Module["asm"]["wc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=function(){return(_emscripten_bind_ASS_Style_get_Alignment_0=Module["_emscripten_bind_ASS_Style_get_Alignment_0"]=Module["asm"]["xc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=function(){return(_emscripten_bind_ASS_Style_set_Alignment_1=Module["_emscripten_bind_ASS_Style_set_Alignment_1"]=Module["asm"]["yc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginL_0=Module["_emscripten_bind_ASS_Style_get_MarginL_0"]=Module["asm"]["zc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginL_1=Module["_emscripten_bind_ASS_Style_set_MarginL_1"]=Module["asm"]["Ac"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginR_0=Module["_emscripten_bind_ASS_Style_get_MarginR_0"]=Module["asm"]["Bc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginR_1=Module["_emscripten_bind_ASS_Style_set_MarginR_1"]=Module["asm"]["Cc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=function(){return(_emscripten_bind_ASS_Style_get_MarginV_0=Module["_emscripten_bind_ASS_Style_get_MarginV_0"]=Module["asm"]["Dc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=function(){return(_emscripten_bind_ASS_Style_set_MarginV_1=Module["_emscripten_bind_ASS_Style_set_MarginV_1"]=Module["asm"]["Ec"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=function(){return(_emscripten_bind_ASS_Style_get_Encoding_0=Module["_emscripten_bind_ASS_Style_get_Encoding_0"]=Module["asm"]["Fc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=function(){return(_emscripten_bind_ASS_Style_set_Encoding_1=Module["_emscripten_bind_ASS_Style_set_Encoding_1"]=Module["asm"]["Gc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=function(){return(_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0=Module["_emscripten_bind_ASS_Style_get_treat_fontname_as_pattern_0"]=Module["asm"]["Hc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=function(){return(_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1=Module["_emscripten_bind_ASS_Style_set_treat_fontname_as_pattern_1"]=Module["asm"]["Ic"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=function(){return(_emscripten_bind_ASS_Style_get_Blur_0=Module["_emscripten_bind_ASS_Style_get_Blur_0"]=Module["asm"]["Jc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=function(){return(_emscripten_bind_ASS_Style_set_Blur_1=Module["_emscripten_bind_ASS_Style_set_Blur_1"]=Module["asm"]["Kc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=function(){return(_emscripten_bind_ASS_Style_get_Justify_0=Module["_emscripten_bind_ASS_Style_get_Justify_0"]=Module["asm"]["Lc"]).apply(null,arguments)};var _emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=function(){return(_emscripten_bind_ASS_Style_set_Justify_1=Module["_emscripten_bind_ASS_Style_set_Justify_1"]=Module["asm"]["Mc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_eventFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_eventFinish_0"]=Module["asm"]["Nc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_eventFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_eventFinish_1"]=Module["asm"]["Oc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_emptyFinish_0=Module["_emscripten_bind_EventStopTimesResult_get_emptyFinish_0"]=Module["asm"]["Pc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_emptyFinish_1=Module["_emscripten_bind_EventStopTimesResult_set_emptyFinish_1"]=Module["asm"]["Qc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=function(){return(_emscripten_bind_EventStopTimesResult_get_is_animated_0=Module["_emscripten_bind_EventStopTimesResult_get_is_animated_0"]=Module["asm"]["Rc"]).apply(null,arguments)};var _emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=function(){return(_emscripten_bind_EventStopTimesResult_set_is_animated_1=Module["_emscripten_bind_EventStopTimesResult_set_is_animated_1"]=Module["asm"]["Sc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=function(){return(_emscripten_bind_ASS_Image_get_w_0=Module["_emscripten_bind_ASS_Image_get_w_0"]=Module["asm"]["Tc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=function(){return(_emscripten_bind_ASS_Image_set_w_1=Module["_emscripten_bind_ASS_Image_set_w_1"]=Module["asm"]["Uc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=function(){return(_emscripten_bind_ASS_Image_get_h_0=Module["_emscripten_bind_ASS_Image_get_h_0"]=Module["asm"]["Vc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=function(){return(_emscripten_bind_ASS_Image_set_h_1=Module["_emscripten_bind_ASS_Image_set_h_1"]=Module["asm"]["Wc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=function(){return(_emscripten_bind_ASS_Image_get_stride_0=Module["_emscripten_bind_ASS_Image_get_stride_0"]=Module["asm"]["Xc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=function(){return(_emscripten_bind_ASS_Image_set_stride_1=Module["_emscripten_bind_ASS_Image_set_stride_1"]=Module["asm"]["Yc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=function(){return(_emscripten_bind_ASS_Image_get_bitmap_0=Module["_emscripten_bind_ASS_Image_get_bitmap_0"]=Module["asm"]["Zc"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=function(){return(_emscripten_bind_ASS_Image_set_bitmap_1=Module["_emscripten_bind_ASS_Image_set_bitmap_1"]=Module["asm"]["_c"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=function(){return(_emscripten_bind_ASS_Image_get_color_0=Module["_emscripten_bind_ASS_Image_get_color_0"]=Module["asm"]["$c"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=function(){return(_emscripten_bind_ASS_Image_set_color_1=Module["_emscripten_bind_ASS_Image_set_color_1"]=Module["asm"]["ad"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_x_0=Module["_emscripten_bind_ASS_Image_get_dst_x_0"]=Module["asm"]["bd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_x_1=Module["_emscripten_bind_ASS_Image_set_dst_x_1"]=Module["asm"]["cd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=function(){return(_emscripten_bind_ASS_Image_get_dst_y_0=Module["_emscripten_bind_ASS_Image_get_dst_y_0"]=Module["asm"]["dd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=function(){return(_emscripten_bind_ASS_Image_set_dst_y_1=Module["_emscripten_bind_ASS_Image_set_dst_y_1"]=Module["asm"]["ed"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=function(){return(_emscripten_bind_ASS_Image_get_next_0=Module["_emscripten_bind_ASS_Image_get_next_0"]=Module["asm"]["fd"]).apply(null,arguments)};var _emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=function(){return(_emscripten_bind_ASS_Image_set_next_1=Module["_emscripten_bind_ASS_Image_set_next_1"]=Module["asm"]["gd"]).apply(null,arguments)};var _emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=function(){return(_emscripten_bind_VoidPtr___destroy___0=Module["_emscripten_bind_VoidPtr___destroy___0"]=Module["asm"]["hd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_x_0=Module["_emscripten_bind_RenderBlendPart_get_dest_x_0"]=Module["asm"]["id"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_x_1=Module["_emscripten_bind_RenderBlendPart_set_dest_x_1"]=Module["asm"]["jd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_y_0=Module["_emscripten_bind_RenderBlendPart_get_dest_y_0"]=Module["asm"]["kd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_y_1=Module["_emscripten_bind_RenderBlendPart_set_dest_y_1"]=Module["asm"]["ld"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_width_0=Module["_emscripten_bind_RenderBlendPart_get_dest_width_0"]=Module["asm"]["md"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_width_1=Module["_emscripten_bind_RenderBlendPart_set_dest_width_1"]=Module["asm"]["nd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_dest_height_0=Module["_emscripten_bind_RenderBlendPart_get_dest_height_0"]=Module["asm"]["od"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_dest_height_1=Module["_emscripten_bind_RenderBlendPart_set_dest_height_1"]=Module["asm"]["pd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_image_0=Module["_emscripten_bind_RenderBlendPart_get_image_0"]=Module["asm"]["qd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_image_1=Module["_emscripten_bind_RenderBlendPart_set_image_1"]=Module["asm"]["rd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=function(){return(_emscripten_bind_RenderBlendPart_get_next_0=Module["_emscripten_bind_RenderBlendPart_get_next_0"]=Module["asm"]["sd"]).apply(null,arguments)};var _emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=function(){return(_emscripten_bind_RenderBlendPart_set_next_1=Module["_emscripten_bind_RenderBlendPart_set_next_1"]=Module["asm"]["td"]).apply(null,arguments)};var _emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=function(){return(_emscripten_bind_libass_libass_0=Module["_emscripten_bind_libass_libass_0"]=Module["asm"]["ud"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=function(){return(_emscripten_bind_libass_oct_library_version_0=Module["_emscripten_bind_libass_oct_library_version_0"]=Module["asm"]["vd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=function(){return(_emscripten_bind_libass_oct_library_init_0=Module["_emscripten_bind_libass_oct_library_init_0"]=Module["asm"]["wd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=function(){return(_emscripten_bind_libass_oct_library_done_1=Module["_emscripten_bind_libass_oct_library_done_1"]=Module["asm"]["xd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=function(){return(_emscripten_bind_libass_oct_set_fonts_dir_2=Module["_emscripten_bind_libass_oct_set_fonts_dir_2"]=Module["asm"]["yd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=function(){return(_emscripten_bind_libass_oct_set_extract_fonts_2=Module["_emscripten_bind_libass_oct_set_extract_fonts_2"]=Module["asm"]["zd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=function(){return(_emscripten_bind_libass_oct_set_style_overrides_2=Module["_emscripten_bind_libass_oct_set_style_overrides_2"]=Module["asm"]["Ad"]).apply(null,arguments)};var _emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=function(){return(_emscripten_bind_libass_oct_process_force_style_1=Module["_emscripten_bind_libass_oct_process_force_style_1"]=Module["asm"]["Bd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=function(){return(_emscripten_bind_libass_oct_renderer_init_1=Module["_emscripten_bind_libass_oct_renderer_init_1"]=Module["asm"]["Cd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=function(){return(_emscripten_bind_libass_oct_renderer_done_1=Module["_emscripten_bind_libass_oct_renderer_done_1"]=Module["asm"]["Dd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=function(){return(_emscripten_bind_libass_oct_set_frame_size_3=Module["_emscripten_bind_libass_oct_set_frame_size_3"]=Module["asm"]["Ed"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=function(){return(_emscripten_bind_libass_oct_set_storage_size_3=Module["_emscripten_bind_libass_oct_set_storage_size_3"]=Module["asm"]["Fd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=function(){return(_emscripten_bind_libass_oct_set_shaper_2=Module["_emscripten_bind_libass_oct_set_shaper_2"]=Module["asm"]["Gd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=function(){return(_emscripten_bind_libass_oct_set_margins_5=Module["_emscripten_bind_libass_oct_set_margins_5"]=Module["asm"]["Hd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=function(){return(_emscripten_bind_libass_oct_set_use_margins_2=Module["_emscripten_bind_libass_oct_set_use_margins_2"]=Module["asm"]["Id"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=function(){return(_emscripten_bind_libass_oct_set_pixel_aspect_2=Module["_emscripten_bind_libass_oct_set_pixel_aspect_2"]=Module["asm"]["Jd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=function(){return(_emscripten_bind_libass_oct_set_aspect_ratio_3=Module["_emscripten_bind_libass_oct_set_aspect_ratio_3"]=Module["asm"]["Kd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=function(){return(_emscripten_bind_libass_oct_set_font_scale_2=Module["_emscripten_bind_libass_oct_set_font_scale_2"]=Module["asm"]["Ld"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=function(){return(_emscripten_bind_libass_oct_set_hinting_2=Module["_emscripten_bind_libass_oct_set_hinting_2"]=Module["asm"]["Md"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=function(){return(_emscripten_bind_libass_oct_set_line_spacing_2=Module["_emscripten_bind_libass_oct_set_line_spacing_2"]=Module["asm"]["Nd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=function(){return(_emscripten_bind_libass_oct_set_line_position_2=Module["_emscripten_bind_libass_oct_set_line_position_2"]=Module["asm"]["Od"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=function(){return(_emscripten_bind_libass_oct_set_fonts_6=Module["_emscripten_bind_libass_oct_set_fonts_6"]=Module["asm"]["Pd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_enabled_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_enabled_2"]=Module["asm"]["Qd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=function(){return(_emscripten_bind_libass_oct_set_selective_style_override_2=Module["_emscripten_bind_libass_oct_set_selective_style_override_2"]=Module["asm"]["Rd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=function(){return(_emscripten_bind_libass_oct_set_cache_limits_3=Module["_emscripten_bind_libass_oct_set_cache_limits_3"]=Module["asm"]["Sd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=function(){return(_emscripten_bind_libass_oct_render_frame_4=Module["_emscripten_bind_libass_oct_render_frame_4"]=Module["asm"]["Td"]).apply(null,arguments)};var _emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=function(){return(_emscripten_bind_libass_oct_new_track_1=Module["_emscripten_bind_libass_oct_new_track_1"]=Module["asm"]["Ud"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=function(){return(_emscripten_bind_libass_oct_free_track_1=Module["_emscripten_bind_libass_oct_free_track_1"]=Module["asm"]["Vd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=function(){return(_emscripten_bind_libass_oct_alloc_style_1=Module["_emscripten_bind_libass_oct_alloc_style_1"]=Module["asm"]["Wd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=function(){return(_emscripten_bind_libass_oct_alloc_event_1=Module["_emscripten_bind_libass_oct_alloc_event_1"]=Module["asm"]["Xd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=function(){return(_emscripten_bind_libass_oct_free_style_2=Module["_emscripten_bind_libass_oct_free_style_2"]=Module["asm"]["Yd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=function(){return(_emscripten_bind_libass_oct_free_event_2=Module["_emscripten_bind_libass_oct_free_event_2"]=Module["asm"]["Zd"]).apply(null,arguments)};var _emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=function(){return(_emscripten_bind_libass_oct_flush_events_1=Module["_emscripten_bind_libass_oct_flush_events_1"]=Module["asm"]["_d"]).apply(null,arguments)};var _emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=function(){return(_emscripten_bind_libass_oct_read_file_3=Module["_emscripten_bind_libass_oct_read_file_3"]=Module["asm"]["$d"]).apply(null,arguments)};var _emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=function(){return(_emscripten_bind_libass_oct_add_font_4=Module["_emscripten_bind_libass_oct_add_font_4"]=Module["asm"]["ae"]).apply(null,arguments)};var _emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=function(){return(_emscripten_bind_libass_oct_clear_fonts_1=Module["_emscripten_bind_libass_oct_clear_fonts_1"]=Module["asm"]["be"]).apply(null,arguments)};var _emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=function(){return(_emscripten_bind_libass_oct_step_sub_3=Module["_emscripten_bind_libass_oct_step_sub_3"]=Module["asm"]["ce"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NONE"]=Module["asm"]["de"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_LIGHT"]=Module["asm"]["ee"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NORMAL"]=Module["asm"]["fe"]).apply(null,arguments)};var _emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=function(){return(_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE=Module["_emscripten_enum_ASS_Hinting_ASS_HINTING_NATIVE"]=Module["asm"]["ge"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_SIMPLE"]=Module["asm"]["he"]).apply(null,arguments)};var _emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=function(){return(_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX=Module["_emscripten_enum_ASS_ShapingLevel_ASS_SHAPING_COMPLEX"]=Module["asm"]["ie"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_DEFAULT"]=Module["asm"]["je"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_STYLE"]=Module["asm"]["ke"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE"]=Module["asm"]["le"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE"]=Module["asm"]["me"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS"]=Module["asm"]["ne"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_FONT_NAME"]=Module["asm"]["oe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_COLORS"]=Module["asm"]["pe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ATTRIBUTES"]=Module["asm"]["qe"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_BORDER"]=Module["asm"]["re"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_ALIGNMENT"]=Module["asm"]["se"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_MARGINS"]=Module["asm"]["te"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_FULL_STYLE"]=Module["asm"]["ue"]).apply(null,arguments)};var _emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=function(){return(_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY=Module["_emscripten_enum_ASS_OverrideBits_ASS_OVERRIDE_BIT_JUSTIFY"]=Module["asm"]["ve"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["we"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["xe"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["ye"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["ze"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["Ae"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["Be"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["Ce"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["De"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["Ee"]).apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return(stackAlloc=Module["stackAlloc"]=Module["asm"]["Fe"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["Ge"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["He"]).apply(null,arguments)};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_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_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_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)}}Module["asm"]=asm;Module["ccall"]=ccall;Module["cwrap"]=cwrap;Module["getValue"]=getValue;Module["getMemory"]=getMemory;Module["addRunDependency"]=addRunDependency;Module["removeRunDependency"]=removeRunDependency;Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}var calledMain=false;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function callMain(args){var entryFunction=Module["_main"];args=args||[];var argc=args.length+1;var argv=stackAlloc((argc+1)*4);HEAP32[argv>>2]=allocateUTF8OnStack(thisProgram);for(var i=1;i>2)+i]=allocateUTF8OnStack(args[i-1])}HEAP32[(argv>>2)+argc]=0;try{var ret=entryFunction(argc,argv);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="unwind"){noExitRuntime=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}err("exception thrown: "+toLog);quit_(1,e)}}finally{calledMain=true}}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"]();if(shouldRunNow)callMain(args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&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()()}}var shouldRunNow=true;if(Module["noInitialRun"])shouldRunNow=false;noExitRuntime=true;run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};Module["WrapperObject"]=WrapperObject;function getCache(__class__){return(__class__||WrapperObject).__cache__}Module["getCache"]=getCache;function wrapPointer(ptr,__class__){var cache=getCache(__class__);var ret=cache[ptr];if(ret)return ret;ret=Object.create((__class__||WrapperObject).prototype);ret.ptr=ptr;return cache[ptr]=ret}Module["wrapPointer"]=wrapPointer;function castObject(obj,__class__){return wrapPointer(obj.ptr,__class__)}Module["castObject"]=castObject;Module["NULL"]=wrapPointer(0);function destroy(obj){if(!obj["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";obj["__destroy__"]();delete getCache(obj.__class__)[obj.ptr]}Module["destroy"]=destroy;function compare(obj1,obj2){return obj1.ptr===obj2.ptr}Module["compare"]=compare;function getPointer(obj){return obj.ptr}Module["getPointer"]=getPointer;function getClass(obj){return obj.__class__}Module["getClass"]=getClass;var ensureCache={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(ensureCache.needed){for(var i=0;i=ensureCache.size){assert(len>0);ensureCache.needed+=len;ret=Module["_malloc"](len);ensureCache.temps.push(ret)}else{ret=ensureCache.buffer+ensureCache.pos;ensureCache.pos+=len}return ret},copy:function(array,view,offset){var offsetShifted=offset;var bytes=view.BYTES_PER_ELEMENT;switch(bytes){case 2:offsetShifted>>=1;break;case 4:offsetShifted>>=2;break;case 8:offsetShifted>>=3;break}for(var i=0;i5){console.error("Didn't received currentTime > 5 seconds. Assuming video was paused.");self.setIsPaused(true)}return self.lastCurrentTime+diff*self.rate}};self.setCurrentTime=function(currentTime){self.lastCurrentTime=currentTime;self.lastCurrentTimeReceivedAt=Date.now();if(!self.rafId){if(self.nextIsRaf){if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}else{if(!self.renderOnDemand){self.getRenderMethod()()}setTimeout(function(){self.nextIsRaf=false},20)}}};self._isPaused=true;self.getIsPaused=function(){return self._isPaused};self.setIsPaused=function(isPaused){if(isPaused!=self._isPaused){self._isPaused=isPaused;if(isPaused){if(self.rafId){clearTimeout(self.rafId);self.rafId=null}}else{self.lastCurrentTimeReceivedAt=Date.now();if(!self.renderOnDemand){self.rafId=self.requestAnimationFrame(self.getRenderMethod())}}}};self.render=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var spentTime=performance.now()-startTime;postMessage({target:"canvas",op:"renderCanvas",time:Date.now(),spentTime:spentTime,canvases:result[0]},result[1])}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.render)}};self.blendRenderTiming=function(timing,force){var startTime=performance.now();var renderResult=self.octObj.renderBlend(timing,force);var blendTime=renderResult.blend_time;var canvases=[],buffers=[];if(renderResult.ptr!=0&&(renderResult.changed!=0||force)){for(var part=renderResult.part;part.ptr!=0;part=part.next){var result=new Uint8Array(HEAPU8.subarray(part.image,part.image+part.dest_width*part.dest_height*4));canvases.push({w:part.dest_width,h:part.dest_height,x:part.dest_x,y:part.dest_y,buffer:result.buffer});buffers.push(result.buffer)}}return{time:Date.now(),spentTime:performance.now()-startTime,blendTime:blendTime,canvases:canvases,buffers:buffers}};self.blendRender=function(force){self.rafId=0;self.renderPending=false;var rendered=self.blendRenderTiming(self.getCurrentTime()+self.delay,force);if(rendered.canvases.length>0){postMessage({target:"canvas",op:"renderCanvas",time:rendered.time,spentTime:rendered.spentTime,blendTime:rendered.blendTime,canvases:rendered.canvases},rendered.buffers)}if(!self._isPaused){self.rafId=self.requestAnimationFrame(self.blendRender)}};self.oneshotRender=function(lastRenderedTime,renderNow,iteration){var eventStart=renderNow?lastRenderedTime:self.octObj.findNextEventStart(lastRenderedTime);var eventFinish=-1,emptyFinish=-1,animated=false;var rendered={};if(eventStart>=0){eventTimes=self.octObj.findEventStopTimes(eventStart);eventFinish=eventTimes.eventFinish;emptyFinish=eventTimes.emptyFinish;animated=eventTimes.is_animated;rendered=self.blendRenderTiming(eventStart,true)}postMessage({target:"canvas",op:"oneshot-result",iteration:iteration,lastRenderedTime:lastRenderedTime,eventStart:eventStart,eventFinish:eventFinish,emptyFinish:emptyFinish,animated:animated,viewport:{width:self.width,height:self.height},spentTime:rendered.spentTime||0,blendTime:rendered.blendTime||0,canvases:rendered.canvases||[]},rendered.buffers||[])};self.fastRender=function(force){self.rafId=0;self.renderPending=false;var startTime=performance.now();var renderResult=self.octObj.renderImage(self.getCurrentTime()+self.delay,self.changed);var changed=Module.getValue(self.changed,"i32");if(changed!=0||force){var result=self.buildResult(renderResult);var newTime=performance.now();var libassTime=newTime-startTime;var promises=[];for(var i=0;i>24&255,g=color>>16&255,b=color>>8&255,a=255-(color&255);var result=new Uint8ClampedArray(4*w*h);var bitmapPosition=0;var resultPosition=0;for(var y=0;yformat.length){lastPart=value.slice(format.length-1).join(",");value=value.slice(0,format.length-1);value.push(lastPart)}value=value.map(function(s){return s.trim()});if(format){tmp={};for(j=0;j=nextRAF){nextRAF+=1e3/self.targetFps}}var delay=Math.max(nextRAF-now,0);return setTimeout(func,delay)}}();var screen={width:0,height:0};Module.print=function Module_print(x){postMessage({target:"stdout",content:x})};Module.printErr=function Module_printErr(x){postMessage({target:"stderr",content:x})};var frameId=0;var clientFrameId=0;var commandBuffer=[];var postMainLoop=Module["postMainLoop"];Module["postMainLoop"]=function(){if(postMainLoop)postMainLoop();postMessage({target:"tick",id:frameId++});commandBuffer=[]};addRunDependency("worker-init");var messageBuffer=null;var messageResenderTimeout=null;function messageResender(){if(calledMain){assert(messageBuffer&&messageBuffer.length>0);messageResenderTimeout=null;messageBuffer.forEach(function(message){onmessage(message)});messageBuffer=null}else{messageResenderTimeout=setTimeout(messageResender,50)}}function _applyKeys(input,output){var vargs=Object.keys(input);for(var i=0;ilongestFrame){longestFrame=diff}if(i 0.01) { + _cleanPastRendered(currentTime); tryRequestOneshot(currentTime, true); } } else if (_cleanPastRendered(currentTime) && finishTime >= 0) { @@ -405,7 +408,7 @@ var SubtitlesOctopus = function (options) { } } - function resetRenderAheadCache(isResizing) { + self.resetRenderAheadCache = function (isResizing) { if (self.renderAhead > 0) { var newCache = []; if (isResizing && self.oneshotState.prevHeight && self.oneshotState.prevWidth) { @@ -769,7 +772,7 @@ var SubtitlesOctopus = function (options) { width: self.canvas.width, height: self.canvas.height }); - resetRenderAheadCache(true); + self.resetRenderAheadCache(true); } }; @@ -805,7 +808,7 @@ var SubtitlesOctopus = function (options) { target: 'set-track-by-url', url: url }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); }; self.setTrack = function (content) { @@ -813,14 +816,14 @@ var SubtitlesOctopus = function (options) { target: 'set-track', content: content }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); }; self.freeTrack = function (content) { self.worker.postMessage({ target: 'free-track' }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); }; diff --git a/src/post-worker.js b/src/post-worker.js index bafddc30..cb6a6308 100644 --- a/src/post-worker.js +++ b/src/post-worker.js @@ -529,6 +529,14 @@ function messageResender() { } } +function _applyKeys(input, output) { + var vargs = Object.keys(input); + + for (var i = 0; i < vargs.length; i++) { + output[vargs[i]] = input[vargs[i]]; + } +} + function onMessageFromMainEmscriptenThread(message) { if (!calledMain && !message.data.preMain) { if (!messageBuffer) { @@ -628,11 +636,7 @@ function onMessageFromMainEmscriptenThread(message) { var event = message.data.event; var i = self.octObj.allocEvent(); var evnt_ptr = self.octObj.track.get_events(i); - var vargs = Object.keys(event); - - for (const varg of vargs) { - evnt_ptr[varg] = event[varg]; - } + _applyKeys(event, evnt_ptr); break; case 'get-events': var events = []; @@ -664,12 +668,7 @@ function onMessageFromMainEmscriptenThread(message) { var event = message.data.event; var i = message.data.index; var evnt_ptr = self.octObj.track.get_events(i); - - var vargs = Object.keys(event); - - for (const varg of vargs) { - evnt_ptr[varg] = event[varg]; - } + _applyKeys(event, evnt_ptr); break; case 'remove-event': var i = message.data.index; @@ -679,11 +678,7 @@ function onMessageFromMainEmscriptenThread(message) { var style = message.data.style; var i = self.octObj.allocStyle(); var styl_ptr = self.octObj.track.get_styles(i); - var vargs = Object.keys(style); - - for (const varg of vargs) { - styl_ptr[varg] = style[varg]; - } + _applyKeys(style, styl_ptr); break; case 'get-styles': var styles = []; @@ -729,11 +724,7 @@ function onMessageFromMainEmscriptenThread(message) { var style = message.data.style; var i = message.data.index; var styl_ptr = self.octObj.track.get_styles(i); - var vargs = Object.keys(style); - - for (const varg of vargs) { - styl_ptr[varg] = style[varg]; - } + _applyKeys(style, styl_ptr); break; case 'remove-style': var i = message.data.index; diff --git a/src/pre-worker.js b/src/pre-worker.js index a7b531e8..a6a6c041 100644 --- a/src/pre-worker.js +++ b/src/pre-worker.js @@ -7,6 +7,16 @@ if (!String.prototype.endsWith) { }; } +if (!Uint8Array.prototype.slice) { + Object.defineProperty(Uint8Array.prototype, 'slice', { + value: function (begin, end) + { + return new Uint8Array(this.subarray(begin, end)); + } + }); +} + + var hasNativeConsole = typeof console !== "undefined"; // implement console methods if they're missing diff --git a/src/subtitles-octopus.js b/src/subtitles-octopus.js index cf5e92dc..d62b7adc 100644 --- a/src/subtitles-octopus.js +++ b/src/subtitles-octopus.js @@ -338,7 +338,9 @@ var SubtitlesOctopus = function (options) { iteration: self.oneshotState.iteration }); } else { - console.info('worker busy, requesting to seek'); + if (self.workerActive) { + console.info('worker busy, requesting to seek'); + } self.oneshotState.requestNextTimestamp = lastRendered; } } @@ -398,6 +400,7 @@ var SubtitlesOctopus = function (options) { if (!eventShown) { if (Math.abs(self.oneshotState.requestNextTimestamp - currentTime) > 0.01) { + _cleanPastRendered(currentTime); tryRequestOneshot(currentTime, true); } } else if (_cleanPastRendered(currentTime) && finishTime >= 0) { @@ -405,7 +408,7 @@ var SubtitlesOctopus = function (options) { } } - function resetRenderAheadCache(isResizing) { + self.resetRenderAheadCache = function (isResizing) { if (self.renderAhead > 0) { var newCache = []; if (isResizing && self.oneshotState.prevHeight && self.oneshotState.prevWidth) { @@ -769,7 +772,7 @@ var SubtitlesOctopus = function (options) { width: self.canvas.width, height: self.canvas.height }); - resetRenderAheadCache(true); + self.resetRenderAheadCache(true); } }; @@ -805,7 +808,7 @@ var SubtitlesOctopus = function (options) { target: 'set-track-by-url', url: url }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); }; self.setTrack = function (content) { @@ -813,14 +816,14 @@ var SubtitlesOctopus = function (options) { target: 'set-track', content: content }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); }; self.freeTrack = function (content) { self.worker.postMessage({ target: 'free-track' }); - resetRenderAheadCache(false); + self.resetRenderAheadCache(false); };

>>0?j+1|0:j;p=e;e=j;j=(k|0)==(j|0)&p>>>0>>0|j>>>0>>0;k=(d|0)==(w|0)&k>>>0>>0|d>>>0>>0;h=d;d=W$(u,s,t,l)+d|0;l=k+Ea|0;l=d>>>0>>0?l+1|0:l;h=d;d=j+d|0;j=l;B=d;h=d>>>0>>0?j+1|0:j;d=g;y=(d&131071)<<15|f>>>17;t=W$(i,x,y,0);d=Ea;A=d;k=f;v=k<<15&-32768;m=W$(u,s,v,0);j=m+t|0;k=Ea+d|0;k=j>>>0>>0?k+1|0:k;d=k;C=W$(i,x,v,C);v=0+C|0;k=j+Ea|0;k=v>>>0>>0?k+1|0:k;k=(j|0)==(k|0)&v>>>0>>0|k>>>0>>0;j=(d|0)==(A|0)&j>>>0>>0|d>>>0>>0;m=d;d=W$(u,s,y,G)+d|0;l=j+Ea|0;l=d>>>0>>0?l+1|0:l;j=d;d=k+j|0;m=d>>>0>>0?l+1|0:l;k=d;d=p+d|0;j=m+e|0;j=d>>>0>>0?j+1|0:j;w=d;k=h;t=j;d=(e|0)==(j|0)&d>>>0