This repository has been archived by the owner on Sep 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
lichessBot.js
167 lines (143 loc) · 1010 KB
/
lichessBot.js
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
// ==UserScript==
// @name Lichess Bot
// @description Fully automated lichess bot
// @author You
// @include *lichess*
// @run-at document-start
// @grant none
// ==/UserScript==
/******** (https://github.com/JacobPox/LichessBot) ********/
var STOCKFISH=(function(){function load_stockfish(console){if(typeof navigator!=="undefined"&&(/MSIE|Trident|Edge/i.test(navigator.userAgent)||/Safari/i.test(navigator.userAgent)&&!/Chrome|CriOS/i.test(navigator.userAgent))){var dateNow=Date.now}var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available (jsc?)"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){if(!args.splice)args=Array.prototype.slice.call(args);args.splice(0,0,ptr);return Module["dynCall_"+sig].apply(null,args)}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,arguments)}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+size|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=DYNAMICTOP;DYNAMICTOP=DYNAMICTOP+size|0;DYNAMICTOP=DYNAMICTOP+15&-16;if(DYNAMICTOP>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){DYNAMICTOP=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){ret=Runtime.stackAlloc((str.length<<2)+1);writeStringToMemory(str,ret)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){ensureJSsource();funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"=("+convertCode.returnValue+");"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){ensureJSsource();funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["ccall"]=ccall;Module["cwrap"]=cwrap;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(typeof _sbrk!=="undefined"&&!_sbrk.called||!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;function UTF8ArrayToString(u8Array,idx){var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;function demangle(func){var hasLibcxxabi=!!Module["___cxa_demangle"];if(hasLibcxxabi){try{var buf=_malloc(func.length);writeStringToMemory(func.substr(1),buf);var status=_malloc(4);var ret=Module["___cxa_demangle"](buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){return func}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");return func}function demangleAll(text){return text.replace(/__Z[\w\d_]+/g,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module["stackTrace"]=stackTrace;var PAGE_SIZE=4096;function alignMemoryPage(x){if(x%4096>0){x+=4096-x%4096}return x}var HEAP;var buffer;var HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE=0,STATICTOP=0,staticSealed=false;var STACK_BASE=0,STACKTOP=0,STACK_MAX=0;var DYNAMIC_BASE=0,DYNAMICTOP=0;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||67108864;var totalMemory=64*1024;while(totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK){if(totalMemory<16*1024*1024){totalMemory*=2}else{totalMemory+=16*1024*1024}}if(totalMemory!==TOTAL_MEMORY){TOTAL_MEMORY=totalMemory}if(Module["buffer"]){buffer=Module["buffer"]}else{buffer=new ArrayBuffer(TOTAL_MEMORY)}updateGlobalBufferViews();HEAP32[0]=255;if(HEAPU8[0]!==255||HEAPU8[3]!==0)throw"Typed arrays 2 must be run on a little-endian system";Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Runtime.dynCall("v",func)}else{Runtime.dynCall("vi",func,[callback.arg])}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){var array=intArrayFromString(string,dontAddNull);var i=0;while(i<array.length){var chr=array[i];HEAP8[buffer+i>>0]=chr;i=i+1}}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){for(var i=0;i<array.length;i++){HEAP8[buffer++>>0]=array[i]}}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_min=Math.min;var Math_clz32=Math.clz32;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=8;STATICTOP=STATIC_BASE+1280960;__ATINIT__.push({func:(function(){__GLOBAL__I_000101()})},{func:(function(){__GLOBAL__sub_I_position_cpp()})},{func:(function(){__GLOBAL__sub_I_iostream_cpp()})},{func:(function(){__GLOBAL__sub_I_ucioption_cpp()})},{func:(function(){__GLOBAL__sub_I_uci_cpp()})},{func:(function(){__GLOBAL__sub_I_tt_cpp()})},{func:(function(){__GLOBAL__sub_I_timeman_cpp()})},{func:(function(){__GLOBAL__sub_I_thread_cpp()})},{func:(function(){__GLOBAL__sub_I_search_cpp()})},{func:(function(){__GLOBAL__sub_I_psqt_cpp()})},{func:(function(){__GLOBAL__sub_I_bitbase_cpp()})},{func:(function(){__GLOBAL__sub_I_pawns_cpp()})},{func:(function(){__GLOBAL__sub_I_movepick_cpp()})},{func:(function(){__GLOBAL__sub_I_movegen_cpp()})},{func:(function(){__GLOBAL__sub_I_misc_cpp()})},{func:(function(){__GLOBAL__sub_I_material_cpp()})},{func:(function(){__GLOBAL__sub_I_main_cpp()})},{func:(function(){__GLOBAL__sub_I_evaluate_cpp()})},{func:(function(){__GLOBAL__sub_I_endgame_cpp()})},{func:(function(){__GLOBAL__sub_I_bitboard_cpp()})});allocate([15,15,15,15,15,0,0,0,15,15,15,15,15,0,0,0,15,15,15,15,15,0,0,0,60,60,60,60,60,0,0,0,60,60,60,60,60,0,0,0,240,240,240,240,240,0,0,0,240,240,240,240,240,0,0,0,240,240,240,240,240,0,0,0,0,0,0,15,15,15,15,15,0,0,0,15,15,15,15,15,0,0,0,15,15,15,15,15,0,0,0,60,60,60,60,60,0,0,0,60,60,60,60,60,0,0,0,240,240,240,240,240,0,0,0,240,240,240,240,240,0,0,0,240,240,240,240,240,188,51,0,0,205,74,0,0,240,0,0,0,0,0,0,0,188,51,0,0,11,75,0,0,240,0,0,0,0,0,0,0,188,51,0,0,36,75,0,0,248,0,0,0,0,0,0,0,188,51,0,0,60,75,0,0,248,0,0,0,0,0,0,0,188,51,0,0,140,76,0,0,216,0,0,0,0,0,0,0,148,51,0,0,182,76,0,0,188,51,0,0,200,76,0,0,216,0,0,0,0,0,0,0,148,51,0,0,242,76,0,0,148,51,0,0,35,77,0,0,248,51,0,0,84,77,0,0,0,0,0,0,1,0,0,0,200,0,0,0,3,244,255,255,248,51,0,0,131,77,0,0,0,0,0,0,1,0,0,0,224,0,0,0,3,244,255,255,248,51,0,0,178,77,0,0,0,0,0,0,1,0,0,0,200,0,0,0,3,244,255,255,248,51,0,0,225,77,0,0,0,0,0,0,1,0,0,0,224,0,0,0,3,244,255,255,188,51,0,0,16,78,0,0,112,1,0,0,0,0,0,0,188,51,0,0,36,78,0,0,192,5,0,0,0,0,0,0,188,51,0,0,58,78,0,0,112,1,0,0,0,0,0,0,248,51,0,0,78,78,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,176,1,0,0,0,0,0,0,248,51,0,0,146,78,0,0,0,0,0,0,1,0,0,0,200,1,0,0,0,0,0,0,148,51,0,0,168,78,0,0,248,51,0,0,231,78,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,240,1,0,0,0,0,0,0,248,51,0,0,43,79,0,0,0,0,0,0,1,0,0,0,200,1,0,0,0,0,0,0,248,51,0,0,65,79,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,40,2,0,0,0,0,0,0,248,51,0,0,133,79,0,0,0,0,0,0,1,0,0,0,64,2,0,0,0,0,0,0,148,51,0,0,155,79,0,0,248,51,0,0,199,79,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,104,2,0,0,0,0,0,0,248,51,0,0,11,80,0,0,0,0,0,0,1,0,0,0,64,2,0,0,0,0,0,0,248,51,0,0,33,80,0,0,0,0,0,0,3,0,0,0,112,1,0,0,2,0,0,0,168,2,0,0,2,0,0,0,176,2,0,0,0,8,0,0,148,51,0,0,102,80,0,0,148,51,0,0,121,80,0,0,248,51,0,0,219,81,0,0,0,0,0,0,3,0,0,0,112,1,0,0,2,0,0,0,168,2,0,0,2,0,0,0,224,2,0,0,0,8,0,0,148,51,0,0,32,82,0,0,248,51,0,0,66,82,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,8,3,0,0,0,8,0,0,148,51,0,0,135,82,0,0,248,51,0,0,156,82,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,8,3,0,0,0,8,0,0,248,51,0,0,225,82,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,80,3,0,0,2,0,0,0,148,51,0,0,253,82,0,0,248,51,0,0,18,83,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,80,3,0,0,2,0,0,0,248,51,0,0,46,83,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,80,3,0,0,2,0,0,0,248,51,0,0,74,83,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,80,3,0,0,2,0,0,0,248,51,0,0,102,83,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,216,3,0,0,0,0,0,0,148,51,0,0,172,83,0,0,248,51,0,0,212,83,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,0,4,0,0,0,0,0,0,148,51,0,0,26,84,0,0,248,51,0,0,62,84,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,40,4,0,0,0,0,0,0,148,51,0,0,132,84,0,0,248,51,0,0,163,84,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,80,4,0,0,0,0,0,0,148,51,0,0,233,84,0,0,248,51,0,0,2,85,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,120,4,0,0,2,0,0,0,148,51,0,0,23,85,0,0,248,51,0,0,47,85,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,120,4,0,0,2,0,0,0,188,51,0,0,68,85,0,0,176,4,0,0,0,0,0,0,248,51,0,0,102,85,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,208,4,0,0,2,0,0,0,148,51,0,0,137,85,0,0,188,51,0,0,160,85,0,0,176,4,0,0,0,0,0,0,248,51,0,0,195,85,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,208,4,0,0,2,0,0,0,248,51,0,0,229,85,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,208,4,0,0,2,0,0,0,248,51,0,0,7,86,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,208,4,0,0,2,0,0,0,188,51,0,0,42,86,0,0,112,1,0,0,0,0,0,0,248,51,0,0,64,86,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,120,5,0,0,2,0,0,0,148,51,0,0,82,86,0,0,248,51,0,0,103,86,0,0,0,0,0,0,2,0,0,0,112,1,0,0,2,0,0,0,120,5,0,0,2,0,0,0,188,51,0,0,121,86,0,0,112,1,0,0,0,0,0,0,188,51,0,0,153,86,0,0,112,1,0,0,0,0,0,0,148,51,0,0,78,87,0,0,148,51,0,0,116,88,0,0,188,51,0,0,82,88,0,0,240,5,0,0,0,0,0,0,188,51,0,0,255,87,0,0,208,5,0,0,0,0,0,0,188,51,0,0,36,88,0,0,0,6,0,0,0,0,0,0,148,51,0,0,69,88,0,0,188,51,0,0,58,89,0,0,200,5,0,0,0,0,0,0,188,51,0,0,86,89,0,0,208,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,15,0,0,0,10,0,0,0,6,0,0,0,250,255,255,255,246,255,255,255,241,255,255,255,239,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,7,0,0,0,249,255,255,255,247,255,255,255,8,0,0,0,1,0,0,0,255,255,255,255,248,255,255,255,0,0,0,0,8,0,0,0,1,0,0,0,248,255,255,255,255,255,255,255,9,0,0,0,249,255,255,255,247,255,255,255,7,0,0,0,17,35,0,0,16,174,0,0,71,212,0,0,86,152,0,0,99,22,0,0,229,115,1,0,208,153,1,0,124,66,0,0,216,2,0,0,76,40,0,0,229,214,0,0,35,128,0,0,249,47,0,0,252,58,0,0,5,65,0,0,255,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,3,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,100,0,0,0,80,0,0,0,60,0,0,0,40,0,0,0,20,0,0,0,10,0,0,0,200,0,0,0,190,0,0,0,180,0,0,0,170,0,0,0,160,0,0,0,150,0,0,0,140,0,0,0,130,0,0,0,190,0,0,0,180,0,0,0,170,0,0,0,160,0,0,0,150,0,0,0,140,0,0,0,130,0,0,0,140,0,0,0,180,0,0,0,170,0,0,0,155,0,0,0,140,0,0,0,140,0,0,0,125,0,0,0,140,0,0,0,150,0,0,0,170,0,0,0,160,0,0,0,140,0,0,0,120,0,0,0,110,0,0,0,140,0,0,0,150,0,0,0,160,0,0,0,160,0,0,0,150,0,0,0,140,0,0,0,110,0,0,0,120,0,0,0,140,0,0,0,160,0,0,0,170,0,0,0,150,0,0,0,140,0,0,0,125,0,0,0,140,0,0,0,140,0,0,0,155,0,0,0,170,0,0,0,180,0,0,0,140,0,0,0,130,0,0,0,140,0,0,0,150,0,0,0,160,0,0,0,170,0,0,0,180,0,0,0,190,0,0,0,130,0,0,0,140,0,0,0,150,0,0,0,160,0,0,0,170,0,0,0,180,0,0,0,190,0,0,0,200,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,5,0,0,0,4,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,6,0,0,0,5,0,0,0,5,0,0,0,100,0,0,0,90,0,0,0,80,0,0,0,70,0,0,0,70,0,0,0,80,0,0,0,90,0,0,0,100,0,0,0,90,0,0,0,70,0,0,0,60,0,0,0,50,0,0,0,50,0,0,0,60,0,0,0,70,0,0,0,90,0,0,0,80,0,0,0,60,0,0,0,40,0,0,0,30,0,0,0,30,0,0,0,40,0,0,0,60,0,0,0,80,0,0,0,70,0,0,0,50,0,0,0,30,0,0,0,20,0,0,0,20,0,0,0,30,0,0,0,50,0,0,0,70,0,0,0,70,0,0,0,50,0,0,0,30,0,0,0,20,0,0,0,20,0,0,0,30,0,0,0,50,0,0,0,70,0,0,0,80,0,0,0,60,0,0,0,40,0,0,0,30,0,0,0,30,0,0,0,40,0,0,0,60,0,0,0,80,0,0,0,90,0,0,0,70,0,0,0,60,0,0,0,50,0,0,0,50,0,0,0,60,0,0,0,70,0,0,0,90,0,0,0,100,0,0,0,90,0,0,0,80,0,0,0,70,0,0,0,70,0,0,0,80,0,0,0,90,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,7,0,0,0,6,0,0,0,6,0,0,0,0,0,0,0,5,0,0,0,20,0,0,0,40,0,0,0,60,0,0,0,80,0,0,0,90,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,0,7,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,9,0,0,0,8,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,11,0,0,0,9,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,12,0,0,0,10,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,13,0,0,0,11,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,14,0,0,0,12,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,15,0,0,0,13,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,16,0,0,0,14,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,17,0,0,0,15,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,18,0,0,0,16,0,0,0,16,0,0,0,0,0,0,0,9,0,0,0,10,0,0,0,14,0,0,0,21,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,106,0,0,0,124,0,0,0,147,0,0,0,165,0,0,0,169,0,0,0,177,0,0,0,0,0,0,0,0,0,0,0,103,0,0,0,118,0,0,0,148,0,0,0,155,0,0,0,142,0,0,0,153,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,5,0,0,0,31,0,0,0,73,0,0,0,166,0,0,0,252,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,14,0,0,0,38,0,0,0,73,0,0,0,166,0,0,0,252,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,27,0,0,0,35,0,0,0,36,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,19,0,0,0,20,0,0,0,56,0,0,0,248,255,255,255,0,0,0,0,21,0,0,0,22,0,0,0,192,255,255,255,192,255,255,255,0,0,0,0,23,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,26,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,17,0,0,0,18,0,0,0,2,0,0,0,19,0,0,0,20,0,0,0,17,0,0,0,3,0,0,0,18,0,0,0,0,12,0,0,164,12,0,0,224,12,0,0,244,12,0,0,128,17,0,0,148,17,0,0,204,12,0,0,184,12,0,0,40,12,0,0,20,12,0,0,64,0,0,0,0,0,0,0,0,0,0,0,27,0,0,0,28,0,0,0,56,0,0,0,248,255,255,255,0,0,0,0,29,0,0,0,30,0,0,0,192,255,255,255,192,255,255,255,0,0,0,0,31,0,0,0,32,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,33,0,0,0,34,0,0,0,192,255,255,255,192,255,255,255,0,0,0,0,35,0,0,0,36,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,37,0,0,0,21,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,38,0,0,0,22,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,39,0,0,0,23,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,40,0,0,0,24,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,41,0,0,0,25,0,0,0,23,0,0,0,131,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,255,0,0,0,253,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,230,255,255,255,254,255,255,255,47,0,0,0,105,0,0,0,107,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,71,255,255,255,24,0,0,0,122,0,0,0,137,0,0,0,122,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,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,59,0,0,0,65,0,0,0,42,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0,0,39,0,0,0,24,0,0,0,232,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,101,0,0,0,100,0,0,0,219,255,255,255,141,0,0,0,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0,0,21,0,0,0,26,0,0,0,51,0,0,0,87,0,0,0,89,0,0,0,99,0,0,0,0,0,0,0,120,0,0,0,0,0,0,0,28,0,0,0,76,0,0,0,88,0,0,0,103,0,0,0,104,0,0,0,0,0,0,0,101,0,0,0,7,0,0,0,54,0,0,0,78,0,0,0,77,0,0,0,92,0,0,0,101,0,0,0,0,0,0,0,80,0,0,0,11,0,0,0,44,0,0,0,68,0,0,0,87,0,0,0,90,0,0,0,119,0,0,0,0,0,0,0,0,0,0,0,67,0,0,0,134,0,0,0,38,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,0,0,0,139,0,0,0,37,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,0,0,0,115,0,0,0,43,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,0,0,0,124,0,0,0,57,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,43,0,0,0,100,0,0,0,56,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,0,20,0,0,0,98,0,0,0,40,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,0,39,0,0,0,103,0,0,0,36,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,19,0,0,0,108,0,0,0,42,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,75,0,0,0,14,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,150,0,0,0,30,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,0,0,0,22,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,166,0,0,0,24,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,229,254,255,255,231,254,255,255,57,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,58,0,0,0,141,0,0,0,39,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65,0,0,0,142,0,0,0,48,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,60,0,0,0,126,0,0,0,51,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,42,0,0,0,43,0,0,0,200,255,255,255,200,255,255,255,0,0,0,0,44,0,0,0,45,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,46,0,0,0,47,0,0,0,200,255,255,255,200,255,255,255,0,0,0,0,48,0,0,0,49,0,0,0,168,17,0,0,128,17,0,0,148,17,0,0,188,17,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,60,0,0,0,0,0,0,0,0,0,0,0,33,0,0,0,34,0,0,0,196,255,255,255,196,255,255,255,0,0,0,0,35,0,0,0,36,0,0,0,60,0,0,0,0,0,0,0,0,0,0,0,50,0,0,0,51,0,0,0,196,255,255,255,196,255,255,255,0,0,0,0,52,0,0,0,53,0,0,0,56,18,0,0,16,18,0,0,36,18,0,0,76,18,0,0,0,0,0,0,188,0,0,0,241,2,0,0,58,3,0,0,5,5,0,0,209,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,0,0,0,64,3,0,0,129,3,0,0,91,5,0,0,90,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,255,255,255,129,255,255,255,0,255,255,255,51,254,255,255,26,255,255,255,205,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162,254,255,255,119,255,255,255,157,255,255,255,76,255,255,255,185,254,255,255,191,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,1,0,0,222,1,0,0,102,2,0,0,189,3,0,0,112,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,182,1,0,0,224,2,0,0,55,3,0,0,254,4,0,0,102,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,174,0,0,0,189,1,0,0,1,2,0,0,187,2,0,0,168,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,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,0,0,155,2,0,0,178,2,0,0,22,3,0,0,198,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,150,1,0,0,196,2,0,0,224,2,0,0,61,5,0,0,217,10,0,0,249,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,171,1,0,0,83,3,0,0,91,3,0,0,151,4,0,0,110,12,0,0,207,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,0,0,0,0,0,0,0,0,0,188,0,0,0,241,2,0,0,58,3,0,0,5,5,0,0,209,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,0,0,0,64,3,0,0,129,3,0,0,91,5,0,0,90,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,2,0,0,136,3,0,0,241,4,0,0,150,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33,3,0,0,161,3,0,0,195,6,0,0,178,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,188,0,0,0,241,2,0,0,58,3,0,0,5,5,0,0,209,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,0,0,0,64,3,0,0,129,3,0,0,91,5,0,0,90,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,181,0,0,0,179,2,0,0,61,3,0,0,198,4,0,0,226,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,0,0,0,82,3,0,0,77,3,0,0,106,5,0,0,13,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,150,0,0,0,88,2,0,0,48,2,0,0,150,0,0,0,150,0,0,0,150,0,0,0,109,1,0,0,150,0,0,0,44,1,0,0,227,1,0,0,58,2,0,0,91,2,0,0,42,2,0,0,140,7,0,0,232,8,0,0,108,9,0,0,168,8,0,0,75,7,0,0,37,9,0,0,197,9,0,0,170,8,0,0,226,1,0,0,95,2,0,0,144,2,0,0,91,2,0,0,227,1,0,0,58,2,0,0,91,2,0,0,42,2,0,0,227,1,0,0,58,2,0,0,91,2,0,0,42,2,0,0,249,3,0,0,218,3,0,0,249,3,0,0,222,3,0,0,227,1,0,0,58,2,0,0,91,2,0,0,42,2,0,0,208,7,0,0,208,7,0,0,208,7,0,0,208,7,0,0,0,0,0,0,0,0,0,0,54,0,0,0,57,0,0,0,58,0,0,0,50,0,0,0,200,23,0,0,5,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,5,0,0,0,172,131,19,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200,23,0,0,64,24,0,0,5,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,5,0,0,0,180,135,19,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,180,24,0,0,9,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,5,0,0,0,188,135,19,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,192,3,0,0,192,4,0,0,192,5,0,0,192,6,0,0,192,7,0,0,192,8,0,0,192,9,0,0,192,10,0,0,192,11,0,0,192,12,0,0,192,13,0,0,192,14,0,0,192,15,0,0,192,16,0,0,192,17,0,0,192,18,0,0,192,19,0,0,192,20,0,0,192,21,0,0,192,22,0,0,192,23,0,0,192,24,0,0,192,25,0,0,192,26,0,0,192,27,0,0,192,28,0,0,192,29,0,0,192,30,0,0,192,31,0,0,192,0,0,0,179,1,0,0,195,2,0,0,195,3,0,0,195,4,0,0,195,5,0,0,195,6,0,0,195,7,0,0,195,8,0,0,195,9,0,0,195,10,0,0,195,11,0,0,195,12,0,0,195,13,0,0,211,14,0,0,195,15,0,0,195,0,0,12,187,1,0,12,195,2,0,12,195,3,0,12,195,4,0,12,211,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,100,0,0,0,232,3,0,0,16,39,0,0,160,134,1,0,64,66,15,0,128,150,152,0,0,225,245,5,132,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,136,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,53,0,0,0,0,0,0,136,0,0,0,59,0,0,0,60,0,0,0,2,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,17,0,0,0,18,0,0,0,2,0,0,0,27,0,0,0,28,0,0,0,24,0,0,0,3,0,0,0,25,0,0,0,0,0,0,0,152,0,0,0,59,0,0,0,61,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,29,0,0,0,18,0,0,0,2,0,0,0,30,0,0,0,20,0,0,0,26,0,0,0,9,0,0,0,27,0,0,0,0,0,0,0,168,0,0,0,62,0,0,0,63,0,0,0,4,0,0,0,10,0,0,0,3,0,0,0,3,0,0,0,31,0,0,0,32,0,0,0,11,0,0,0,33,0,0,0,34,0,0,0,28,0,0,0,12,0,0,0,29,0,0,0,0,0,0,0,184,0,0,0,62,0,0,0,64,0,0,0,5,0,0,0,10,0,0,0,3,0,0,0,3,0,0,0,35,0,0,0,32,0,0,0,11,0,0,0,36,0,0,0,37,0,0,0,30,0,0,0,13,0,0,0,31,0,0,0,0,0,0,0,216,0,0,0,65,0,0,0,66,0,0,0,0,0,0,0,240,0,0,0,59,0,0,0,67,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,17,0,0,0,18,0,0,0,2,0,0,0,30,0,0,0,20,0,0,0,26,0,0,0,3,0,0,0,25,0,0,0,0,0,0,0,248,0,0,0,62,0,0,0,68,0,0,0,6,0,0,0,10,0,0,0,3,0,0,0,3,0,0,0,31,0,0,0,32,0,0,0,11],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([36,0,0,0,37,0,0,0,30,0,0,0,12,0,0,0,29,0,0,0,8,0,0,0,0,0,0,0,0,1,0,0,33,0,0,0,34,0,0,0,248,255,255,255,248,255,255,255,0,1,0,0,35,0,0,0,36,0,0,0,8,0,0,0,0,0,0,0,24,1,0,0,69,0,0,0,70,0,0,0,248,255,255,255,248,255,255,255,24,1,0,0,71,0,0,0,72,0,0,0,4,0,0,0,0,0,0,0,48,1,0,0,42,0,0,0,43,0,0,0,252,255,255,255,252,255,255,255,48,1,0,0,44,0,0,0,45,0,0,0,4,0,0,0,0,0,0,0,72,1,0,0,73,0,0,0,74,0,0,0,252,255,255,255,252,255,255,255,72,1,0,0,75,0,0,0,76,0,0,0,0,0,0,0,96,1,0,0,77,0,0,0,78,0,0,0,79,0,0,0,1,0,0,0,4,0,0,0,14,0,0,0,0,0,0,0,128,1,0,0,80,0,0,0,81,0,0,0,79,0,0,0,2,0,0,0,5,0,0,0,15,0,0,0,0,0,0,0,144,1,0,0,82,0,0,0,83,0,0,0,79,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,0,0,0,0,208,1,0,0,84,0,0,0,85,0,0,0,79,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,0,0,0,0,8,2,0,0,86,0,0,0,87,0,0,0,79,0,0,0,3,0,0,0,4,0,0,0,23,0,0,0,5,0,0,0,24,0,0,0,1,0,0,0,2,0,0,0,6,0,0,0,0,0,0,0,72,2,0,0,88,0,0,0,89,0,0,0,79,0,0,0,7,0,0,0,8,0,0,0,25,0,0,0,9,0,0,0,26,0,0,0,3,0,0,0,4,0,0,0,10,0,0,0,0,0,0,0,128,2,0,0,90,0,0,0,91,0,0,0,79,0,0,0,38,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,1,0,0,0,248,255,255,255,128,2,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,0,0,0,0,184,2,0,0,92,0,0,0,93,0,0,0,79,0,0,0,46,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,2,0,0,0,248,255,255,255,184,2,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,37,0,0,0,89,0,0,0,45,0,0,0,37,0,0,0,109,0,0,0,45,0,0,0,37,0,0,0,100,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,110,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,114,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,117,0,0,0,114,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,114,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,99,0,0,0,104,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,105,0,0,0,108,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,101,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,121,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,117,0,0,0,115,0,0,0,116,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,116,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,111,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,0,0,0,0,65,0,0,0,77,0,0,0,0,0,0,0,80,0,0,0,77,0,0,0,0,0,0,0,37,0,0,0,97,0,0,0,32,0,0,0,37,0,0,0,98,0,0,0,32,0,0,0,37,0,0,0,100,0,0,0,32,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,89,0,0,0,0,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,0,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,0,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0,0,0,0,0,232,2,0,0,94,0,0,0,95,0,0,0,79,0,0,0,1,0,0,0,0,0,0,0,16,3,0,0,96,0,0,0,97,0,0,0,79,0,0,0,2,0,0,0,0,0,0,0,48,3,0,0,98,0,0,0,99,0,0,0,79,0,0,0,54,0,0,0,55,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,56,0,0,0,11,0,0,0,12,0,0,0,0,0,0,0,88,3,0,0,100,0,0,0,101,0,0,0,79,0,0,0,57,0,0,0,58,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,59,0,0,0,17,0,0,0,18,0,0,0,0,0,0,0,120,3,0,0,102,0,0,0,103,0,0,0,79,0,0,0,60,0,0,0,61,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,62,0,0,0,23,0,0,0,24,0,0,0,0,0,0,0,152,3,0,0,104,0,0,0,105,0,0,0,79,0,0,0,63,0,0,0,64,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,65,0,0,0,29,0,0,0,30,0,0,0,0,0,0,0,184,3,0,0,106,0,0,0,107,0,0,0,79,0,0,0,3,0,0,0,4,0,0,0,0,0,0,0,224,3,0,0,108,0,0,0,109,0,0,0,79,0,0,0,5,0,0,0,6,0,0,0,0,0,0,0,8,4,0,0,110,0,0,0,111,0,0,0,79,0,0,0,1,0,0,0,37,0,0,0,0,0,0,0,48,4,0,0,112,0,0,0,113,0,0,0,79,0,0,0,2,0,0,0,38,0,0,0,0,0,0,0,88,4,0,0,114,0,0,0,115,0,0,0,79,0,0,0,16,0,0,0,4,0,0,0,31,0,0,0,0,0,0,0,128,4,0,0,116,0,0,0,117,0,0,0,79,0,0,0,17,0,0,0,5,0,0,0,32,0,0,0,0,0,0,0,160,4,0,0,118,0,0,0,119,0,0,0,79,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,66,0,0,0,67,0,0,0,12,0,0,0,68,0,0,0,0,0,0,0,216,4,0,0,118,0,0,0,120,0,0,0,79,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,66,0,0,0,67,0,0,0,12,0,0,0,68,0,0,0,0,0,0,0,8,5,0,0,121,0,0,0,122,0,0,0,79,0,0,0,5,0,0,0,6,0,0,0,13,0,0,0,69,0,0,0,70,0,0,0,14,0,0,0,71,0,0,0,0,0,0,0,72,5,0,0,123,0,0,0,124,0,0,0,79,0,0,0,0,0,0,0,88,5,0,0,125,0,0,0,126,0,0,0,79,0,0,0,32,0,0,0,18,0,0,0,33,0,0,0,19,0,0,0,34,0,0,0,1,0,0,0,20,0,0,0,15,0,0,0,0,0,0,0,160,5,0,0,127,0,0,0,128,0,0,0,79,0,0,0,72,0,0,0,73,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,0,0,0,0,176,5,0,0,129,0,0,0,130,0,0,0,79,0,0,0,74,0,0,0,75,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,116,0,0,0,114,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,102,0,0,0,97,0,0,0,108,0,0,0,115,0,0,0,101,0,0,0,0,0,0,0,0,0,0,0,112,1,0,0,118,0,0,0,131,0,0,0,79,0,0,0,0,0,0,0,128,5,0,0,118,0,0,0,132,0,0,0,79,0,0,0,21,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,35,0,0,0,22,0,0,0,36,0,0,0,23,0,0,0,37,0,0,0,5,0,0,0,24,0,0,0,16,0,0,0,0,0,0,0,232,4,0,0,118,0,0,0,133,0,0,0,79,0,0,0,7,0,0,0,8,0,0,0,17,0,0,0,76,0,0,0,77,0,0,0,18,0,0,0,78,0,0,0,0,0,0,0,40,5,0,0,118,0,0,0,134,0,0,0,79,0,0,0,9,0,0,0,10,0,0,0,19,0,0,0,79,0,0,0,80,0,0,0,20,0,0,0,81,0,0,0,0,0,0,0,176,4,0,0,118,0,0,0,135,0,0,0,79,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,66,0,0,0,67,0,0,0,12,0,0,0,68,0,0,0,1,0,0,0,0,0,0,0,208,5,0,0,136,0,0,0,137,0,0,0,138,0,0,0,139,0,0,0,25,0,0,0,6,0,0,0,1,0,0,0,6,0,0,0,0,0,0,0,224,5,0,0,136,0,0,0,140,0,0,0,138,0,0,0,139,0,0,0,25,0,0,0,7,0,0,0,2,0,0,0,7,0,0,0,0,0,0,0,8,6,0,0,141,0,0,0,142,0,0,0,82,0,0,0,0,0,0,0,24,6,0,0,136,0,0,0,143,0,0,0,138,0,0,0,139,0,0,0,25,0,0,0,8,0,0,0,3,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,32,2,32,2,32,2,32,2,32,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,1,96,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,213,8,213,8,213,8,213,8,213,8,213,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,4,192,4,192,4,192,4,192,4,192,4,192,8,214,8,214,8,214,8,214,8,214,8,214,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,4,192,4,192,4,192,4,192,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,75,80,75,0,75,78,78,75,0,75,66,78,75,0,75,82,75,80,0,75,82,75,66,0,75,82,75,78,0,75,81,75,80,0,75,81,75,82,0,75,78,80,75,0,75,78,80,75,66,0,75,82,80,75,82,0,75,82,80,75,66,0,75,66,80,75,66,0,75,66,80,75,78,0,75,66,80,80,75,66,0,75,82,80,80,75,82,80,0,32,32,32,32,32,32,69,118,97,108,32,116,101,114,109,32,124,32,32,32,32,87,104,105,116,101,32,32,32,32,124,32,32,32,32,66,108,97,99,107,32,32,32,32,124,32,32,32,32,84,111,116,97,108,32,32,32,32,10,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,124,32,32,32,77,71,32,32,32,32,69,71,32,32,124,32,32,32,77,71,32,32,32,32,69,71,32,32,124,32,32,32,77,71,32,32,32,32,69,71,32,32,10,0,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,43,45,45,45,45,45,45,45,45,45,45,45,45,45,43,45,45,45,45,45,45,45,45,45,45,45,45,45,43,45,45,45,45,45,45,45,45,45,45,45,45,45,10,0,32,32,32,32,32,32,32,77,97,116,101,114,105,97,108,32,124,32,0,32,32,45,45,45,32,32,32,45,45,45,32,124,32,32,32,45,45,45,32,32,32,45,45,45,32,124,32,0,32,10,0,32,32,32,32,32,32,73,109,98,97,108,97,110,99,101,32,124,32,0,32,32,32,32,32,32,32,32,32,32,80,97,119,110,115,32,124,32,0,32,32,32,32,32,32,32,32,75,110,105,103,104,116,115,32,124,32,0,32,32,32,32,32,32,32,32,32,66,105,115,104,111,112,32,124,32,0,32,32,32,32,32,32,32,32,32,32,82,111,111,107,115,32,124,32,0,32,32,32,32,32,32,32,32,32,81,117,101,101,110,115,32,124,32,0,32,32,32,32,32,32,32,77,111,98,105,108,105,116,121,32,124,32,0,32,32,32,32,75,105,110,103,32,115,97,102,101,116,121,32,124,32,0,32,32,32,32,32,32,32,32,84,104,114,101,97,116,115,32,124,32,0,32,32,32,80,97,115,115,101,100,32,112,97,119,110,115,32,124,32,0,32,32,32,32,32,32,32,32,32,32,83,112,97,99,101,32,124,32,0,32,32,32,32,32,32,32,32,32,32,84,111,116,97,108,32,124,32,0,10,84,111,116,97,108,32,69,118,97,108,117,97,116,105,111,110,58,32,0,32,40,119,104,105,116,101,32,115,105,100,101,41,10,0,56,0,74,97,110,32,70,101,98,32,77,97,114,32,65,112,114,32,77,97,121,32,74,117,110,32,74,117,108,32,65,117,103,32,83,101,112,32,79,99,116,32,78,111,118,32,68,101,99,0,74,117,108,32,32,53,32,50,48,49,55,0,83,116,111,99,107,102,105,115,104,46,106,115,32,0,10,105,100,32,97,117,116,104,111,114,32,0,32,98,121,32,0,84,46,32,82,111,109,115,116,97,100,44,32,77,46,32,67,111,115,116,97,108,98,97,44,32,74,46,32,75,105,105,115,107,105,44,32,71,46,32,76,105,110,115,99,111,116,116,0,32,80,78,66,82,81,75,32,32,112,110,98,114,113,107,0,10,32,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,10,0,10,70,101,110,58,32,0,126,0,32,119,32,0,32,98,32,0,32,45,32,0,10,75,101,121,58,32,0,10,67,104,101,99,107,101,114,115,58,32,0,32,124,10,32,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,45,45,45,43,10,0,32,124,32,0,10,76,101,103,97,108,32,109,111,118,101,115,58,32,0,10,76,101,103,97,108,32,117,99,105,32,109,111,118,101,115,58,32,0,47,56,47,56,47,56,47,56,47,56,47,56,47,0,32,119,32,45,32,45,32,48,32,49,48,0,66,32,0,87,32,0,45,0,47,0,54,0,51,0,105,110,102,111,32,100,101,112,116,104,32,48,32,115,99,111,114,101,32,0,32,98,97,115,101,84,117,114,110,32,0,119,0,98,0,105,110,102,111,0,32,100,101,112,116,104,32,0,32,115,101,108,100,101,112,116,104,32,0,32,109,117,108,116,105,112,118,32,0,32,115,99,111,114,101,32,0,32,117,112,112,101,114,98,111,117,110,100,0,32,108,111,119,101,114,98,111,117,110,100,0,32,110,111,100,101,115,32,0,32,110,112,115,32,0,32,104,97,115,104,102,117,108,108,32,0,32,116,105,109,101,32,0,32,112,118,0,32,112,118,83,97,110,32,0,32,98,109,99,32,0,98,101,115,116,109,111,118,101,32,0,32,98,101,115,116,109,111,118,101,83,97,110,32,0,32,112,111,110,100,101,114,32,0,32,112,111,110,100,101,114,83,97,110,32,0,105,110,102,111,32,100,101,112,116,104,32,0,32,99,117,114,114,109,111,118,101,32,0,32,99,117,114,114,109,111,118,101,110,117,109,98,101,114,32,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,0,77,66,32,102,111,114,32,116,114,97,110,115,112,111,115,105,116,105,111,110,32,116,97,98,108,101,46,0,32,80,78,66,82,81,75,0,32,112,110,98,114,113,107,0,114,110,98,113,107,98,110,114,47,112,112,112,112,112,112,112,112,47,56,47,56,47,56,47,56,47,80,80,80,80,80,80,80,80,47,82,78,66,81,75,66,78,82,32,119,32,75,81,107,113,32,45,32,48,32,49,0,114,110,98,113,107,98,110,114,47,112,112,112,112,112,112,112,112,47,56,47,56,47,56,47,56,47,80,80,80,80,80,80,80,80,47,82,78,66,81,75,66,78,82,91,93,32,119,32,75,81,107,113,32,45,32,48,32,49,0,114,110,98,113,107,98,110,114,47,112,112,112,112,112,112,112,112,47,56,47,49,80,80,50,80,80,49,47,80,80,80,80,80,80,80,80,47,80,80,80,80,80,80,80,80,47,80,80,80,80,80,80,80,80,47,80,80,80,80,80,80,80,80,32,119,32,107,113,32,45,32,48,32,49,0,56,47,56,47,56,47,56,47,56,47,56,47,107,114,98,110,78,66,82,75,47,113,114,98,110,78,66,82,81,32,119,32,45,32,45,32,48,32,49,0,114,110,98,113,107,98,110,114,47,112,112,112,112,112,112,112,112,47,56,47,56,47,56,47,56,47,80,80,80,80,80,80,80,80,47,82,78,66,81,75,66,78,82,32,119,32,75,81,107,113,32,45,32,51,43,51,32,48,32,49,0,113,117,105,116,0,115,116,111,112,0,112,111,110,100,101,114,104,105,116,0,117,99,105,0,105,100,32,110,97,109,101,32,0,10,0,10,117,99,105,111,107,0,117,99,105,110,101,119,103,97,109,101,0,105,115,114,101,97,100,121,0,114,101,97,100,121,111,107,0,103,111,0,115,101,97,114,99,104,109,111,118,101,115,0,40,110,111,110,101,41,0,48,48,48,48,0,32,80,78,66,82,81,75,32,32,80,78,66,82,81,75,32,0,109,105,110,100,101,112,116,104,0,109,97,120,100,101,112,116,104,0,115,104,97,108,108,111,119,0,109,105,110,116,105,109,101,0,109,97,120,116,105,109,101,0,99,111,110,102,105,100,101,110,99,101,0,119,116,105,109,101,0,98,116,105,109,101,0,119,105,110,99,0,98,105,110,99,0,109,111,118,101,115,116,111,103,111,0,100,101,112,116,104,0,110,111,100,101,115,0,109,111,118,101,116,105,109,101,0,109,97,116,101,0,105,110,102,105,110,105,116,101,0,112,111,110,100,101,114,0,112,111,115,105,116,105,111,110,0,115,116,97,114,116,112,111,115,0,102,101,110,0,109,111,118,101,115,0,32,0,115,101,116,111,112,116,105,111,110,0,118,97,108,117,101,0,105,110,102,111,32,115,116,114,105,110,103,32,118,97,114,105,97,110,116,32,0,32,115,116,97,114,116,112,111,115,32,0,78,111,32,115,117,99,104,32,111,112,116,105,111,110,58,32,0,102,108,105,112,0,100,0,101,118,97,108,0,85,110,107,110,111,119,110,32,99,111,109,109,97,110,100,58,32,0,79,45,79,0,79,45,79,45,79,0,61,0,43,0,35,0,99,112,32,0,109,97,116,101,32,0,99,104,101,115,115,0,103,105,118,101,97,119,97,121,0,97,116,111,109,105,99,0,99,114,97,122,121,104,111,117,115,101,0,104,111,114,100,101,0,107,105,110,103,111,102,116,104,101,104,105,108,108,0,114,97,99,105,110,103,107,105,110,103,115,0,114,101,108,97,121,0,116,104,114,101,101,99,104,101,99,107,0,115,112,105,110,0,67,111,110,116,101,109,112,116,0,84,104,114,101,97,100,115,0,72,97,115,104,0,67,108,101,97,114,32,72,97,115,104,0,98,117,116,116,111,110,0,80,111,110,100,101,114,0,99,104,101,99,107,0,77,117,108,116,105,80,86,0,83,107,105,108,108,32,76,101,118,101,108,0,77,111,118,101,32,79,118,101,114,104,101,97,100,0,77,105,110,105,109,117,109,32,84,104,105,110,107,105,110,103,32,84,105,109,101,0,83,108,111,119,32,77,111,118,101,114,0,110,111,100,101,115,116,105,109,101,0,85,67,73,95,67,104,101,115,115,57,54,48,0,85,67,73,95,86,97,114,105,97,110,116,0,99,111,109,98,111,0,83,107,105,108,108,32,76,101,118,101,108,32,77,97,120,105,109,117,109,32,69,114,114,111,114,0,83,107,105,108,108,32,76,101,118,101,108,32,80,114,111,98,97,98,105,108,105,116,121,0,10,111,112,116,105,111,110,32,110,97,109,101,32,0,32,116,121,112,101,32,0,32,100,101,102,97,117,108,116,32,0,32,118,97,114,32,0,32,109,105,110,32,0,32,109,97,120,32,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,255,255,255,255,255,255,255,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,255,255,255,255,255,255,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,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,4,7,3,6,5,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,45,43,32,32,32,48,88,48,120,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,78,65,78,0,46,0,105,110,102,105,110,105,116,121,0,110,97,110,0,80,79,83,73,88,0,99,111,110,100,105,116,105,111,110,95,118,97,114,105,97,98,108,101,58,58,119,97,105,116,58,32,109,117,116,101,120,32,110,111,116,32,108,111,99,107,101,100,0,99,111,110,100,105,116,105,111,110,95,118,97,114,105,97,98,108,101,32,119,97,105,116,32,102,97,105,108,101,100,0,78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,99,69,69,0,117,110,115,117,112,112,111,114,116,101,100,32,108,111,99,97,108,101,32,102,111,114,32,115,116,97,110,100,97,114,100,32,105,110,112,117,116,0,78,83,116,51,95,95,49,49,49,95,95,115,116,100,111,117,116,98,117,102,73,99,69,69,0,78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,119,69,69,0,78,83,116,51,95,95,49,49,49,95,95,115,116,100,111,117,116,98,117,102,73,119,69,69,0,109,117,116,101,120,32,108,111,99,107,32,102,97,105,108,101,100,0,101,99,32,61,61,32,48,0,47,112,114,111,103,114,97,109,115,47,101,109,115,100,107,95,112,111,114,116,97,98,108,101,47,101,109,115,99,114,105,112,116,101,110,47,109,97,115,116,101,114,47,115,121,115,116,101,109,47,108,105,98,47,108,105,98,99,120,120,47,109,117,116,101,120,46,99,112,112,0,117,110,108,111,99,107,0,33,34,98,97,115,105,99,95,115,116,114,105,110,103,32,108,101,110,103,116,104,95,101,114,114,111,114,34,0,47,112,114,111,103,114,97,109,115,47,101,109,115,100,107,95,112,111,114,116,97,98,108,101,47,101,109,115,99,114,105,112,116,101,110,47,109,97,115,116,101,114,47,115,121,115,116,101,109,47,105,110,99,108,117,100,101,47,108,105,98,99,120,120,47,115,116,114,105,110,103,0,33,34,98,97,115,105,99,95,115,116,114,105,110,103,32,111,117,116,95,111,102,95,114,97,110,103,101,34,0,115,116,111,105,0,58,32,111,117,116,32,111,102,32,114,97,110,103,101,0,58,32,110,111,32,99,111,110,118,101,114,115,105,111,110,0,37,100,0,99,108,111,99,107,95,103,101,116,116,105,109,101,40,67,76,79,67,75,95,77,79,78,79,84,79,78,73,67,41,32,102,97,105,108,101,100,0,78,83,116,51,95,95,49,57,98,97,115,105,99,95,105,111,115,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,49,56,105,111,115,95,98,97,115,101,69,0,78,83,116,51,95,95,49,57,98,97,115,105,99,95,105,111,115,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0,78,83,116,51,95,95,49,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,49,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0,78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,105,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,105,115,116,114,101,97,109,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0,78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0,78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,99,69,69,0,78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,102,97,99,101,116,69,0,78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,119,69,69,0,78,83,116,51,95,95,49,55,110,117,109,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,99,69,69,0,78,83,116,51,95,95,49,49,52,95,95,110,117,109,95,103,101,116,95,98,97,115,101,69,0,48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,65,66,67,68,69,70,120,88,43,45,112,80,105,73,110,78,0,67,0,37,112,0,78,83,116,51,95,95,49,55,110,117,109,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,119,69,69,0,78,83,116,51,95,95,49,55,110,117,109,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,99,69,69,0,78,83,116,51,95,95,49,49,52,95,95,110,117,109,95,112,117,116,95,98,97,115,101,69,0,37,0,0,0,0,0,108,0,108,108,0,76,0,37,112,0,0,0,0,78,83,116,51,95,95,49,55,110,117,109,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+10240);allocate([69,69,0,78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,119,69,69,0,78,83,116,51,95,95,49,56,116,105,109,101,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,57,116,105,109,101,95,98,97,115,101,69,0,78,83,116,51,95,95,49,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,99,69,69,0,37,72,58,37,77,58,37,83,37,109,47,37,100,47,37,121,37,89,45,37,109,45,37,100,37,73,58,37,77,58,37,83,32,37,112,37,72,58,37,77,37,72,58,37,77,58,37,83,83,117,110,100,97,121,0,77,111,110,100,97,121,0,84,117,101,115,100,97,121,0,87,101,100,110,101,115,100,97,121,0,84,104,117,114,115,100,97,121,0,70,114,105,100,97,121,0,83,97,116,117,114,100,97,121,0,83,117,110,0,77,111,110,0,84,117,101,0,87,101,100,0,84,104,117,0,70,114,105,0,83,97,116,0,74,97,110,117,97,114,121,0,70,101,98,114,117,97,114,121,0,77,97,114,99,104,0,65,112,114,105,108,0,77,97,121,0,74,117,110,101,0,74,117,108,121,0,65,117,103,117,115,116,0,83,101,112,116,101,109,98,101,114,0,79,99,116,111,98,101,114,0,78,111,118,101,109,98,101,114,0,68,101,99,101,109,98,101,114,0,74,97,110,0,70,101,98,0,77,97,114,0,65,112,114,0,74,117,110,0,74,117,108,0,65,117,103,0,83,101,112,0,79,99,116,0,78,111,118,0,68,101,99,0,65,77,0,80,77,0,37,97,32,37,98,32,37,100,32,37,72,58,37,77,58,37,83,32,37,89,0,37,73,58,37,77,58,37,83,32,37,112,0,37,109,47,37,100,47,37,121,0,37,72,58,37,77,58,37,83,0,78,83,116,51,95,95,49,56,116,105,109,101,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,49,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,119,69,69,0,78,83,116,51,95,95,49,56,116,105,109,101,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,48,95,95,116,105,109,101,95,112,117,116,69,0,78,83,116,51,95,95,49,56,116,105,109,101,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,48,69,69,69,0,78,83,116,51,95,95,49,49,48,109,111,110,101,121,95,98,97,115,101,69,0,78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,49,69,69,69,0,78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,48,69,69,69,0,78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,49,69,69,69,0,78,83,116,51,95,95,49,57,109,111,110,101,121,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,103,101,116,73,99,69,69,0,48,49,50,51,52,53,54,55,56,57,0,37,76,102,0,78,83,116,51,95,95,49,57,109,111,110,101,121,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,103,101,116,73,119,69,69,0,48,49,50,51,52,53,54,55,56,57,0,78,83,116,51,95,95,49,57,109,111,110,101,121,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,112,117,116,73,99,69,69,0,37,46,48,76,102,0,78,83,116,51,95,95,49,57,109,111,110,101,121,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,112,117,116,73,119,69,69,0,78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,99,69,69,0,78,83,116,51,95,95,49,49,51,109,101,115,115,97,103,101,115,95,98,97,115,101,69,0,78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,119,69,69,0,78,83,116,51,95,95,49,49,54,95,95,110,97,114,114,111,119,95,116,111,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,105,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,49,49,50,99,111,100,101,99,118,116,95,98,97,115,101,69,0,78,83,116,51,95,95,49,49,55,95,95,119,105,100,101,110,95,102,114,111,109,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,99,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,119,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,115,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,95,95,105,109,112,69,0,78,83,116,51,95,95,49,53,99,116,121,112,101,73,99,69,69,0,78,83,116,51,95,95,49,49,48,99,116,121,112,101,95,98,97,115,101,69,0,78,83,116,51,95,95,49,53,99,116,121,112,101,73,119,69,69,0,78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,99,69,69,0,116,114,117,101,0,102,97,108,115,101,0,78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,119,69,69,0,33,34,118,101,99,116,111,114,32,108,101,110,103,116,104,95,101,114,114,111,114,34,0,47,112,114,111,103,114,97,109,115,47,101,109,115,100,107,95,112,111,114,116,97,98,108,101,47,101,109,115,99,114,105,112,116,101,110,47,109,97,115,116,101,114,47,115,121,115,116,101,109,47,105,110,99,108,117,100,101,47,108,105,98,99,120,120,47,118,101,99,116,111,114,0,95,95,116,104,114,111,119,95,108,101,110,103,116,104,95,101,114,114,111,114,0,33,34,118,101,99,116,111,114,32,111,117,116,95,111,102,95,114,97,110,103,101,34,0,95,95,116,104,114,111,119,95,111,117,116,95,111,102,95,114,97,110,103,101,0,78,83,116,51,95,95,49,49,52,95,95,115,104,97,114,101,100,95,99,111,117,110,116,69,0,99,97,110,110,111,116,32,122,101,114,111,32,111,117,116,32,116,104,114,101,97,100,32,118,97,108,117,101,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,112,116,104,114,101,97,100,32,107,101,121,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,112,116,104,114,101,97,100,95,111,110,99,101,32,102,97,105,108,117,114,101,32,105,110,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,95,102,97,115,116,40,41,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,116,121,112,101,95,105,110,102,111,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,101,120,99,101,112,116,105,111,110,0,117,110,99,97,117,103,104,116,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,58,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,102,111,114,101,105,103,110,32,101,120,99,101,112,116,105,111,110,0,116,101,114,109,105,110,97,116,105,110,103,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,114,101,116,117,114,110,101,100,0,83,116,57,98,97,100,95,97,108,108,111,99,0,115,116,100,58,58,98,97,100,95,97,108,108,111,99,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,49,95,95,118,109,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+20480);var tempDoublePtr=STATICTOP;STATICTOP+=16;function _emscripten_get_now(){if(!_emscripten_get_now.actual){if(ENVIRONMENT_IS_NODE){_emscripten_get_now.actual=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now.actual=dateNow}else if(typeof self==="object"&&self["performance"]&&typeof self["performance"]["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return self["performance"]["now"]()}}else if(typeof performance==="object"&&typeof performance["now"]==="function"){_emscripten_get_now.actual=function _emscripten_get_now_actual(){return performance["now"]()}}else{_emscripten_get_now.actual=Date.now}}return _emscripten_get_now.actual()}function _emscripten_get_now_is_monotonic(){return ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]}var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(ERRNO_CODES.EINVAL);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}Module["_i64Subtract"]=_i64Subtract;function _sysconf(name){switch(name){case 30:return PAGE_SIZE;case 85:return totalMemory/PAGE_SIZE;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:return 200809;case 79:return 0;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(ERRNO_CODES.EINVAL);return-1}function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var ptr in EXCEPTIONS.infos){var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}return adjusted}),addRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount++}),decRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];assert(info.refcount>0);info.refcount--;if(info.refcount===0){if(info.destructor){Runtime.dynCall("vi",info.destructor,[ptr])}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}EXCEPTIONS.clearRef(EXCEPTIONS.deAdjust(ptr));throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(asm["setTempRet0"](0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(asm["setTempRet0"](0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i<typeArray.length;i++){if(typeArray[i]&&Module["___cxa_can_catch"](typeArray[i],throwntype,thrown)){thrown=HEAP32[thrown>>2];info.adjusted=thrown;return(asm["setTempRet0"](typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(asm["setTempRet0"](throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:ptr,type:type,destructor:destructor,refcount:0};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}Module["_memset"]=_memset;function _pthread_mutex_lock(){}function _pthread_cond_signal(){}function _abort(){Module["abort"]()}function _pthread_cond_destroy(){}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Runtime.dynCall("v",func);_pthread_once.seen[ptr]=1}function ___lock(){}function ___unlock(){}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}var _llvm_fabs_f64=Math_abs;function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}var PTHREAD_SPECIFIC_NEXT_KEY=1;function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?Pointer_stringify(tm_zone):""};var pattern=Pointer_stringify(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length<digits){str=character[0]+str}return str}function leadingNulls(value,digits){return leadingSomething(value,digits,"0")}function compareByDay(date1,date2){function sgn(value){return value<0?-1:value>0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":(function(date){return WEEKDAYS[date.tm_wday].substring(0,3)}),"%A":(function(date){return WEEKDAYS[date.tm_wday]}),"%b":(function(date){return MONTHS[date.tm_mon].substring(0,3)}),"%B":(function(date){return MONTHS[date.tm_mon]}),"%C":(function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)}),"%d":(function(date){return leadingNulls(date.tm_mday,2)}),"%e":(function(date){return leadingSomething(date.tm_mday,2," ")}),"%g":(function(date){return getWeekBasedYear(date).toString().substring(2)}),"%G":(function(date){return getWeekBasedYear(date)}),"%H":(function(date){return leadingNulls(date.tm_hour,2)}),"%I":(function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)}),"%j":(function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)}),"%m":(function(date){return leadingNulls(date.tm_mon+1,2)}),"%M":(function(date){return leadingNulls(date.tm_min,2)}),"%n":(function(){return"\n"}),"%p":(function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}}),"%S":(function(date){return leadingNulls(date.tm_sec,2)}),"%t":(function(){return"\t"}),"%u":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7}),"%U":(function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"}),"%V":(function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()<date.tm_year+1900){daysDifference=date.tm_yday+32-firstWeekStartThisYear.getDate()}else{daysDifference=date.tm_yday+1-firstWeekStartThisYear.getDate()}return leadingNulls(Math.ceil(daysDifference/7),2)}),"%w":(function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()}),"%W":(function(date){var janFirst=new Date(date.tm_year,0,1);var firstMonday=janFirst.getDay()===1?janFirst:__addDays(janFirst,janFirst.getDay()===0?1:7-janFirst.getDay()+1);var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstMonday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstMondayUntilEndJanuary=31-firstMonday.getDate();var days=firstMondayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstMonday,janFirst)===0?"01":"00"}),"%y":(function(date){return(date.tm_year+1900).toString().substring(2)}),"%Y":(function(date){return date.tm_year+1900}),"%z":(function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)}),"%Z":(function(date){return date.tm_zone}),"%%":(function(){return"%"})};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function __exit(status){Module["exit"](status)}function _exit(status){__exit(status)}function _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}function _malloc(bytes){var ptr=Runtime.dynamicAlloc(bytes+8);return ptr+8&4294967288}Module["_malloc"]=_malloc;function ___cxa_allocate_exception(size){return _malloc(size)}var SYSCALLS={varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}Module["_i64Add"]=_i64Add;Module["_bitshift64Lshr"]=_bitshift64Lshr;function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function _pthread_cleanup_push(routine,arg){__ATEXIT__.push((function(){Runtime.dynCall("vi",routine,[arg])}));_pthread_cleanup_push.level=__ATEXIT__.length}function _pthread_cond_broadcast(){return 0}function ___cxa_guard_acquire(variable){if(!HEAP8[variable>>0]){HEAP8[variable>>0]=1;return 1}return 0}function _pthread_cleanup_pop(){assert(_pthread_cleanup_push.level==__ATEXIT__.length,"cannot pop if something else added meanwhile!");__ATEXIT__.pop();_pthread_cleanup_push.level=__ATEXIT__.length}function _pthread_join(){}Module["_bitshift64Shl"]=_bitshift64Shl;function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var _llvm_pow_f64=Math_pow;var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;function _llvm_cttz_i64(l,h){var ret=_llvm_cttz_i32(l);if(ret==32)ret+=_llvm_cttz_i32(h);return(asm["setTempRet0"](0),ret)|0}Module["_memmove"]=_memmove;function ___cxa_begin_catch(ptr){__ZSt18uncaught_exceptionv.uncaught_exception--;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function ___gxx_personality_v0(){}function _pthread_mutex_destroy(){}function _pthread_cond_wait(){return 0}function _pthread_mutex_unlock(){}function _sbrk(bytes){var self=_sbrk;if(!self.called){DYNAMICTOP=alignMemoryPage(DYNAMICTOP);self.called=true;assert(Runtime.dynamicAlloc);self.alloc=Runtime.dynamicAlloc;Runtime.dynamicAlloc=(function(){abort("cannot dynamically allocate, sbrk now has control")})}var ret=DYNAMICTOP;if(bytes!=0){var success=self.alloc(bytes);if(!success)return-1>>>0}return ret}function ___cxa_guard_release(){}function _pthread_self(){return 0}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.get(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();var ret=0;if(!___syscall146.buffer){___syscall146.buffers=[null,[],[]];___syscall146.printChar=(function(stream,curr){var buffer=___syscall146.buffers[stream];assert(buffer);if(curr===0||curr===10){(stream===1?Module["print"]:Module["printErr"])(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}})}for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j<len;j++){___syscall146.printChar(stream,HEAPU8[ptr+j])}ret+=len}return ret}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}Module["_round"]=_round;Module["_llvm_ctlz_i64"]=_llvm_ctlz_i64;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(){setTimeout(Browser.mainLoop.runner,value)};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(!window["setImmediate"]){var setImmediates=[];var emscriptenMainLoopMessageId="__emcc";function Browser_setImmediate_messageHandler(event){if(event.source===window&&event.data===emscriptenMainLoopMessageId){event.stopPropagation();setImmediates.shift()()}}window.addEventListener("message",Browser_setImmediate_messageHandler,true);window["setImmediate"]=function Browser_emulated_setImmediate(func){setImmediates.push(func);window.postMessage(emscriptenMainLoopMessageId,"*")}}Browser.mainLoop.scheduler=function Browser_mainLoop_scheduler_setImmediate(){window["setImmediate"](Browser.mainLoop.runner)};Browser.mainLoop.method="immediate"}return 0}function _emscripten_set_main_loop(func,fps,simulateInfiniteLoop,arg,noSetTiming){Module["noExitRuntime"]=true;assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters.");Browser.mainLoop.func=func;Browser.mainLoop.arg=arg;var thisMainLoopId=Browser.mainLoop.currentlyRunningMainloop;Browser.mainLoop.runner=function Browser_mainLoop_runner(){if(ABORT)return;if(Browser.mainLoop.queue.length>0){var start=Date.now();var blocker=Browser.mainLoop.queue.shift();blocker.func(blocker.arg);if(Browser.mainLoop.remainingBlockers){var remaining=Browser.mainLoop.remainingBlockers;var next=remaining%1==0?remaining-1:Math.floor(remaining);if(blocker.counted){Browser.mainLoop.remainingBlockers=next}else{next=next+.5;Browser.mainLoop.remainingBlockers=(8*remaining+next)/9}}console.log('main loop blocker "'+blocker.name+'" took '+(Date.now()-start)+" ms");Browser.mainLoop.updateStatus();if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;setTimeout(Browser.mainLoop.runner,0);return}if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0;if(Browser.mainLoop.timingMode==1&&Browser.mainLoop.timingValue>1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}if(Browser.mainLoop.method==="timeout"&&Module.ctx){Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!");Browser.mainLoop.method=""}Browser.mainLoop.runIter((function(){if(typeof arg!=="undefined"){Runtime.dynCall("vi",func,[arg])}else{Runtime.dynCall("v",func)}}));if(thisMainLoopId<Browser.mainLoop.currentlyRunningMainloop)return;if(typeof SDL==="object"&&SDL.audio&&SDL.audio.queueNewAudioData)SDL.audio.queueNewAudioData();Browser.mainLoop.scheduler()};if(!noSetTiming){if(fps&&fps>0)_emscripten_set_main_loop_timing(0,1e3/fps);else _emscripten_set_main_loop_timing(1,1);Browser.mainLoop.scheduler()}if(simulateInfiniteLoop){throw"SimulateInfiniteLoop"}}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:(function(){Browser.mainLoop.scheduler=null;Browser.mainLoop.currentlyRunningMainloop++}),resume:(function(){Browser.mainLoop.currentlyRunningMainloop++;var timingMode=Browser.mainLoop.timingMode;var timingValue=Browser.mainLoop.timingValue;var func=Browser.mainLoop.func;Browser.mainLoop.func=null;_emscripten_set_main_loop(func,0,false,Browser.mainLoop.arg,true);_emscripten_set_main_loop_timing(timingMode,timingValue);Browser.mainLoop.scheduler()}),updateStatus:(function(){if(Module["setStatus"]){var message=Module["statusMessage"]||"Please wait...";var remaining=Browser.mainLoop.remainingBlockers;var expected=Browser.mainLoop.expectedBlockers;if(remaining){if(remaining<expected){Module["setStatus"](message+" ("+(expected-remaining)+"/"+expected+")")}else{Module["setStatus"](message)}}else{Module["setStatus"]("")}}}),runIter:(function(func){if(ABORT)return;if(Module["preMainLoop"]){var preRet=Module["preMainLoop"]();if(preRet===false){return}}try{func()}catch(e){if(e instanceof ExitStatus){return}else{if(e&&typeof e==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throw e}}if(Module["postMainLoop"])Module["postMainLoop"]()})},isFullScreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:(function(){if(!Module["preloadPlugins"])Module["preloadPlugins"]=[];if(Browser.initted)return;Browser.initted=true;try{new Blob;Browser.hasBlobConstructor=true}catch(e){Browser.hasBlobConstructor=false;console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Browser.BlobBuilder=typeof MozBlobBuilder!="undefined"?MozBlobBuilder:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:!Browser.hasBlobConstructor?console.log("warning: no BlobBuilder"):null;Browser.URLObject=typeof window!="undefined"?window.URL?window.URL:window.webkitURL:undefined;if(!Module.noImageDecoding&&typeof Browser.URLObject==="undefined"){console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");Module.noImageDecoding=true}var imagePlugin={};imagePlugin["canHandle"]=function imagePlugin_canHandle(name){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(name)};imagePlugin["handle"]=function imagePlugin_handle(byteArray,name,onload,onerror){var b=null;if(Browser.hasBlobConstructor){try{b=new Blob([byteArray],{type:Browser.getMimetype(name)});if(b.size!==byteArray.length){b=new Blob([(new Uint8Array(byteArray)).buffer],{type:Browser.getMimetype(name)})}}catch(e){Runtime.warnOnce("Blob constructor present but fails: "+e+"; falling back to blob builder")}}if(!b){var bb=new Browser.BlobBuilder;bb.append((new Uint8Array(byteArray)).buffer);b=bb.getBlob()}var url=Browser.URLObject.createObjectURL(b);var img=new Image;img.onload=function img_onload(){assert(img.complete,"Image "+name+" could not be decoded");var canvas=document.createElement("canvas");canvas.width=img.width;canvas.height=img.height;var ctx=canvas.getContext("2d");ctx.drawImage(img,0,0);Module["preloadedImages"][name]=canvas;Browser.URLObject.revokeObjectURL(url);if(onload)onload(byteArray)};img.onerror=function img_onerror(event){console.log("Image "+url+" could not be decoded");if(onerror)onerror()};img.src=url};Module["preloadPlugins"].push(imagePlugin);var audioPlugin={};audioPlugin["canHandle"]=function audioPlugin_canHandle(name){return!Module.noAudioDecoding&&name.substr(-4)in{".ogg":1,".wav":1,".mp3":1}};audioPlugin["handle"]=function audioPlugin_handle(byteArray,name,onload,onerror){var done=false;function finish(audio){if(done)return;done=true;Module["preloadedAudios"][name]=audio;if(onload)onload(byteArray)}function fail(){if(done)return;done=true;Module["preloadedAudios"][name]=new Audio;if(onerror)onerror()}if(Browser.hasBlobConstructor){try{var b=new Blob([byteArray],{type:Browser.getMimetype(name)})}catch(e){return fail()}var url=Browser.URLObject.createObjectURL(b);var audio=new Audio;audio.addEventListener("canplaythrough",(function(){finish(audio)}),false);audio.onerror=function audio_onerror(event){if(done)return;console.log("warning: browser could not fully decode audio "+name+", trying slower base64 approach");function encode64(data){var BASE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var PAD="=";var ret="";var leftchar=0;var leftbits=0;for(var i=0;i<data.length;i++){leftchar=leftchar<<8|data[i];leftbits+=8;while(leftbits>=6){var curr=leftchar>>leftbits-6&63;leftbits-=6;ret+=BASE[curr]}}if(leftbits==2){ret+=BASE[(leftchar&3)<<4];ret+=PAD+PAD}else if(leftbits==4){ret+=BASE[(leftchar&15)<<2];ret+=PAD}return ret}audio.src="data:audio/x-"+name.substr(-3)+";base64,"+encode64(byteArray);finish(audio)};audio.src=url;Browser.safeSetTimeout((function(){finish(audio)}),1e4)}else{return fail()}};Module["preloadPlugins"].push(audioPlugin);var canvas=Module["canvas"];function pointerLockChange(){Browser.pointerLock=document["pointerLockElement"]===canvas||document["mozPointerLockElement"]===canvas||document["webkitPointerLockElement"]===canvas||document["msPointerLockElement"]===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&&canvas.requestPointerLock){canvas.requestPointerLock();ev.preventDefault()}}),false)}}}),createContext:(function(canvas,useWebGL,setInModule,webGLContextAttributes){if(useWebGL&&Module.ctx&&canvas==Module.canvas)return Module.ctx;var ctx;var contextHandle;if(useWebGL){var contextAttributes={antialias:false,alpha:false};if(webGLContextAttributes){for(var attribute in webGLContextAttributes){contextAttributes[attribute]=webGLContextAttributes[attribute]}}contextHandle=GL.createContext(canvas,contextAttributes);if(contextHandle){ctx=GL.getContext(contextHandle).GLctx}canvas.style.backgroundColor="black"}else{ctx=canvas.getContext("2d")}if(!ctx)return null;if(setInModule){if(!useWebGL)assert(typeof GLctx==="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it");Module.ctx=ctx;if(useWebGL)GL.makeContextCurrent(contextHandle);Module.useWebGL=useWebGL;Browser.moduleContextCreatedCallbacks.forEach((function(callback){callback()}));Browser.init()}return ctx}),destroyContext:(function(canvas,useWebGL,setInModule){}),fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:(function(lockPointer,resizeCanvas,vrDevice){Browser.lockPointer=lockPointer;Browser.resizeCanvas=resizeCanvas;Browser.vrDevice=vrDevice;if(typeof Browser.lockPointer==="undefined")Browser.lockPointer=true;if(typeof Browser.resizeCanvas==="undefined")Browser.resizeCanvas=false;if(typeof Browser.vrDevice==="undefined")Browser.vrDevice=null;var canvas=Module["canvas"];function fullScreenChange(){Browser.isFullScreen=false;var canvasContainer=canvas.parentNode;if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvasContainer){canvas.cancelFullScreen=document["cancelFullScreen"]||document["mozCancelFullScreen"]||document["webkitCancelFullScreen"]||document["msExitFullscreen"]||document["exitFullscreen"]||(function(){});canvas.cancelFullScreen=canvas.cancelFullScreen.bind(document);if(Browser.lockPointer)canvas.requestPointerLock();Browser.isFullScreen=true;if(Browser.resizeCanvas)Browser.setFullScreenCanvasSize()}else{canvasContainer.parentNode.insertBefore(canvas,canvasContainer);canvasContainer.parentNode.removeChild(canvasContainer);if(Browser.resizeCanvas)Browser.setWindowedCanvasSize()}if(Module["onFullScreen"])Module["onFullScreen"](Browser.isFullScreen);Browser.updateCanvasDimensions(canvas)}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);if(vrDevice){canvasContainer.requestFullScreen({vrDisplay:vrDevice})}else{canvasContainer.requestFullScreen()}}),nextRAF:0,fakeRequestAnimationFrame:(function(func){var now=Date.now();if(Browser.nextRAF===0){Browser.nextRAF=now+1e3/60}else{while(now+2>=Browser.nextRAF){Browser.nextRAF+=1e3/60}}var delay=Math.max(Browser.nextRAF-now,0);setTimeout(func,delay)}),requestAnimationFrame:function requestAnimationFrame(func){if(typeof window==="undefined"){Browser.fakeRequestAnimationFrame(func)}else{if(!window.requestAnimationFrame){window.requestAnimationFrame=window["requestAnimationFrame"]||window["mozRequestAnimationFrame"]||window["webkitRequestAnimationFrame"]||window["msRequestAnimationFrame"]||window["oRequestAnimationFrame"]||Browser.fakeRequestAnimationFrame}window.requestAnimationFrame(func)}},safeCallback:(function(func){return(function(){if(!ABORT)return func.apply(null,arguments)})}),allowAsyncCallbacks:true,queuedAsyncCallbacks:[],pauseAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=false}),resumeAsyncCallbacks:(function(){Browser.allowAsyncCallbacks=true;if(Browser.queuedAsyncCallbacks.length>0){var callbacks=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[];callbacks.forEach((function(func){func()}))}}),safeRequestAnimationFrame:(function(func){return Browser.requestAnimationFrame((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}))}),safeSetTimeout:(function(func,timeout){Module["noExitRuntime"]=true;return setTimeout((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}else{Browser.queuedAsyncCallbacks.push(func)}}),timeout)}),safeSetInterval:(function(func,timeout){Module["noExitRuntime"]=true;return setInterval((function(){if(ABORT)return;if(Browser.allowAsyncCallbacks){func()}}),timeout)}),getMimetype:(function(name){return{"jpg":"image/jpeg","jpeg":"image/jpeg","png":"image/png","bmp":"image/bmp","ogg":"audio/ogg","wav":"audio/wav","mp3":"audio/mpeg"}[name.substr(name.lastIndexOf(".")+1)]}),getUserMedia:(function(func){if(!window.getUserMedia){window.getUserMedia=navigator["getUserMedia"]||navigator["mozGetUserMedia"]}window.getUserMedia(func)}),getMovementX:(function(event){return event["movementX"]||event["mozMovementX"]||event["webkitMovementX"]||0}),getMovementY:(function(event){return event["movementY"]||event["mozMovementY"]||event["webkitMovementY"]||0}),getMouseWheelDelta:(function(event){var delta=0;switch(event.type){case"DOMMouseScroll":delta=event.detail;break;case"mousewheel":delta=event.wheelDelta;break;case"wheel":delta=event["deltaY"];break;default:throw"unrecognized mouse wheel event: "+event.type}return delta}),mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:(function(event){if(Browser.pointerLock){if(event.type!="mousemove"&&"mozMovementX"in event){Browser.mouseMovementX=Browser.mouseMovementY=0}else{Browser.mouseMovementX=Browser.getMovementX(event);Browser.mouseMovementY=Browser.getMovementY(event)}if(typeof SDL!="undefined"){Browser.mouseX=SDL.mouseX+Browser.mouseMovementX;Browser.mouseY=SDL.mouseY+Browser.mouseMovementY}else{Browser.mouseX+=Browser.mouseMovementX;Browser.mouseY+=Browser.mouseMovementY}}else{var rect=Module["canvas"].getBoundingClientRect();var cw=Module["canvas"].width;var ch=Module["canvas"].height;var scrollX=typeof window.scrollX!=="undefined"?window.scrollX:window.pageXOffset;var scrollY=typeof window.scrollY!=="undefined"?window.scrollY:window.pageYOffset;if(event.type==="touchstart"||event.type==="touchend"||event.type==="touchmove"){var touch=event.touch;if(touch===undefined){return}var adjustedX=touch.pageX-(scrollX+rect.left);var adjustedY=touch.pageY-(scrollY+rect.top);adjustedX=adjustedX*(cw/rect.width);adjustedY=adjustedY*(ch/rect.height);var coords={x:adjustedX,y:adjustedY};if(event.type==="touchstart"){Browser.lastTouches[touch.identifier]=coords;Browser.touches[touch.identifier]=coords}else if(event.type==="touchend"||event.type==="touchmove"){var last=Browser.touches[touch.identifier];if(!last)last=coords;Browser.lastTouches[touch.identifier]=last;Browser.touches[touch.identifier]=coords}return}var x=event.pageX-(scrollX+rect.left);var y=event.pageY-(scrollY+rect.top);x=x*(cw/rect.width);y=y*(ch/rect.height);Browser.mouseMovementX=x-Browser.mouseX;Browser.mouseMovementY=y-Browser.mouseY;Browser.mouseX=x;Browser.mouseY=y}}),asyncLoad:(function(url,onload,onerror,noRunDep){Module["readAsync"](url,(function(arrayBuffer){assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(!noRunDep)removeRunDependency("al "+url)}),(function(event){if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}}));if(!noRunDep)addRunDependency("al "+url)}),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+Runtime.QUANTUM_SIZE*0>>2];flags=flags|8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),setWindowedCanvasSize:(function(){if(typeof SDL!="undefined"){var flags=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];flags=flags&~8388608;HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=flags}Browser.updateResizeListeners()}),updateCanvasDimensions:(function(canvas,wNative,hNative){if(wNative&&hNative){canvas.widthNative=wNative;canvas.heightNative=hNative}else{wNative=canvas.widthNative;hNative=canvas.heightNative}var w=wNative;var h=hNative;if(Module["forcedAspectRatio"]&&Module["forcedAspectRatio"]>0){if(w/h<Module["forcedAspectRatio"]){w=Math.round(h*Module["forcedAspectRatio"])}else{h=Math.round(w/Module["forcedAspectRatio"])}}if((document["webkitFullScreenElement"]||document["webkitFullscreenElement"]||document["mozFullScreenElement"]||document["mozFullscreenElement"]||document["fullScreenElement"]||document["fullscreenElement"]||document["msFullScreenElement"]||document["msFullscreenElement"]||document["webkitCurrentFullScreenElement"])===canvas.parentNode&&typeof screen!="undefined"){var factor=Math.min(screen.width/w,screen.height/h);w=Math.round(w*factor);h=Math.round(h*factor)}if(Browser.resizeCanvas){if(canvas.width!=w)canvas.width=w;if(canvas.height!=h)canvas.height=h;if(typeof canvas.style!="undefined"){canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}else{if(canvas.width!=wNative)canvas.width=wNative;if(canvas.height!=hNative)canvas.height=hNative;if(typeof canvas.style!="undefined"){if(w!=wNative||h!=hNative){canvas.style.setProperty("width",w+"px","important");canvas.style.setProperty("height",h+"px","important")}else{canvas.style.removeProperty("width");canvas.style.removeProperty("height")}}}}),wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:(function(){var handle=Browser.nextWgetRequestHandle;Browser.nextWgetRequestHandle++;return handle})};function _emscripten_async_call(func,arg,millis){Module["noExitRuntime"]=true;function wrapper(){Runtime.getFuncWrapper(func,"vi")(arg)}if(millis>=0){Browser.safeSetTimeout(wrapper,millis)}else{Browser.safeRequestAnimationFrame(wrapper)}}__ATEXIT__.push((function(){var fflush=Module["_fflush"];if(fflush)fflush(0);var printChar=___syscall146.printChar;if(!printChar)return;var buffers=___syscall146.buffers;if(buffers[1].length)printChar(1,10);if(buffers[2].length)printChar(2,10)}));Module["requestFullScreen"]=function Module_requestFullScreen(lockPointer,resizeCanvas,vrDevice){Browser.requestFullScreen(lockPointer,resizeCanvas,vrDevice)};Module["requestAnimationFrame"]=function Module_requestAnimationFrame(func){Browser.requestAnimationFrame(func)};Module["setCanvasSize"]=function Module_setCanvasSize(width,height,noUpdates){Browser.setCanvasSize(width,height,noUpdates)};Module["pauseMainLoop"]=function Module_pauseMainLoop(){Browser.mainLoop.pause()};Module["resumeMainLoop"]=function Module_resumeMainLoop(){Browser.mainLoop.resume()};Module["getUserMedia"]=function Module_getUserMedia(){Browser.getUserMedia()};Module["createContext"]=function Module_createContext(canvas,useWebGL,setInModule,webGLContextAttributes){return Browser.createContext(canvas,useWebGL,setInModule,webGLContextAttributes)};STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);staticSealed=true;STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX);function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;asm["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiii":invoke_iiii,"invoke_viiiii":invoke_viiiii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_vi":invoke_vi,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_iiiiid":invoke_iiiiid,"invoke_ii":invoke_ii,"invoke_viii":invoke_viii,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_iiiii":invoke_iiiii,"invoke_viiiiii":invoke_viiiiii,"invoke_iii":invoke_iii,"invoke_iiiiii":invoke_iiiiii,"invoke_viiii":invoke_viiii,"_pthread_cleanup_pop":_pthread_cleanup_pop,"_pthread_getspecific":_pthread_getspecific,"_pthread_cond_wait":_pthread_cond_wait,"_pthread_join":_pthread_join,"_llvm_pow_f64":_llvm_pow_f64,"_pthread_key_create":_pthread_key_create,"_abort":_abort,"___cxa_guard_acquire":___cxa_guard_acquire,"___setErrNo":___setErrNo,"___gxx_personality_v0":___gxx_personality_v0,"___assert_fail":___assert_fail,"___cxa_allocate_exception":___cxa_allocate_exception,"_emscripten_get_now_is_monotonic":_emscripten_get_now_is_monotonic,"__isLeapYear":__isLeapYear,"___cxa_guard_release":___cxa_guard_release,"__addDays":__addDays,"_strftime_l":_strftime_l,"_pthread_cond_destroy":_pthread_cond_destroy,"_emscripten_set_main_loop_timing":_emscripten_set_main_loop_timing,"_sbrk":_sbrk,"_llvm_fabs_f64":_llvm_fabs_f64,"___cxa_begin_catch":___cxa_begin_catch,"_emscripten_memcpy_big":_emscripten_memcpy_big,"___resumeException":___resumeException,"__ZSt18uncaught_exceptionv":__ZSt18uncaught_exceptionv,"_sysconf":_sysconf,"_strftime":_strftime,"__arraySum":__arraySum,"_pthread_cond_signal":_pthread_cond_signal,"_pthread_self":_pthread_self,"_pthread_mutex_destroy":_pthread_mutex_destroy,"_pthread_mutex_unlock":_pthread_mutex_unlock,"_pthread_once":_pthread_once,"_clock_gettime":_clock_gettime,"___syscall54":___syscall54,"___unlock":___unlock,"_pthread_cond_broadcast":_pthread_cond_broadcast,"_emscripten_set_main_loop":_emscripten_set_main_loop,"_emscripten_get_now":_emscripten_get_now,"_llvm_cttz_i64":_llvm_cttz_i64,"_pthread_setspecific":_pthread_setspecific,"___cxa_throw":___cxa_throw,"__exit":__exit,"___lock":___lock,"___syscall6":___syscall6,"_pthread_cleanup_push":_pthread_cleanup_push,"___syscall145":___syscall145,"_time":_time,"_pthread_mutex_lock":_pthread_mutex_lock,"___syscall140":___syscall140,"_exit":_exit,"___cxa_find_matching_catch":___cxa_find_matching_catch,"_emscripten_async_call":_emscripten_async_call,"___syscall146":___syscall146,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.invoke_iiiiiiii;var ea=env.invoke_iiii;var fa=env.invoke_viiiii;var ga=env.invoke_iiiiiid;var ha=env.invoke_vi;var ia=env.invoke_vii;var ja=env.invoke_iiiiiii;var ka=env.invoke_iiiiid;var la=env.invoke_ii;var ma=env.invoke_viii;var na=env.invoke_v;var oa=env.invoke_iiiiiiiii;var pa=env.invoke_iiiii;var qa=env.invoke_viiiiii;var ra=env.invoke_iii;var sa=env.invoke_iiiiii;var ta=env.invoke_viiii;var ua=env._pthread_cleanup_pop;var va=env._pthread_getspecific;var wa=env._pthread_cond_wait;var xa=env._pthread_join;var ya=env._llvm_pow_f64;var za=env._pthread_key_create;var Aa=env._abort;var Ba=env.___cxa_guard_acquire;var Ca=env.___setErrNo;var Da=env.___gxx_personality_v0;var Ea=env.___assert_fail;var Fa=env.___cxa_allocate_exception;var Ga=env._emscripten_get_now_is_monotonic;var Ha=env.__isLeapYear;var Ia=env.___cxa_guard_release;var Ja=env.__addDays;var Ka=env._strftime_l;var La=env._pthread_cond_destroy;var Ma=env._emscripten_set_main_loop_timing;var Na=env._sbrk;var Oa=env._llvm_fabs_f64;var Pa=env.___cxa_begin_catch;var Qa=env._emscripten_memcpy_big;var Ra=env.___resumeException;var Sa=env.__ZSt18uncaught_exceptionv;var Ta=env._sysconf;var Ua=env._strftime;var Va=env.__arraySum;var Wa=env._pthread_cond_signal;var Xa=env._pthread_self;var Ya=env._pthread_mutex_destroy;var Za=env._pthread_mutex_unlock;var _a=env._pthread_once;var $a=env._clock_gettime;var ab=env.___syscall54;var bb=env.___unlock;var cb=env._pthread_cond_broadcast;var db=env._emscripten_set_main_loop;var eb=env._emscripten_get_now;var fb=env._llvm_cttz_i64;var gb=env._pthread_setspecific;var hb=env.___cxa_throw;var ib=env.__exit;var jb=env.___lock;var kb=env.___syscall6;var lb=env._pthread_cleanup_push;var mb=env.___syscall145;var nb=env._time;var ob=env._pthread_mutex_lock;var pb=env.___syscall140;var qb=env._exit;var rb=env.___cxa_find_matching_catch;var sb=env._emscripten_async_call;var tb=env.___syscall146;var ub=0.0;
// EMSCRIPTEN_START_FUNCS
function Rm(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+224|0;s=A+198|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}zm(z,g,s,k);b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}if(!(a[y>>0]&1))b=10;else b=(c[y>>2]&-2)+-1|0;ek(y,b,0);p=y+8|0;q=y+1|0;n=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=n;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=a[k>>0]|0;b=c[e>>2]|0;k=n;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;B=20;break}}else B=20;while(0);if((B|0)==20){B=0;if(g){l=0;break}else l=0}m=a[y>>0]|0;m=(m&1)==0?(m&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(k+m|0)){ek(y,m<<1,0);if(!(a[y>>0]&1))g=10;else g=(c[y>>2]&-2)+-1|0;ek(y,g,0);k=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Am(g&255,v,k,w,t,o,z,x,u,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}s=a[z>>0]|0;g=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(g-x|0)<160:0){s=c[t>>2]|0;t=g+4|0;c[u>>2]=t;c[g>>2]=s;g=t}w=Sm(k,c[w>>2]|0,h,v)|0;c[j>>2]=w;c[j+4>>2]=C;Dm(z,x,g,h);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;B=45;break}if(!b)B=46}else B=45;while(0);if((B|0)==45?b:0)B=46;if((B|0)==46)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function Sm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;k=l;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;f=0;b=0;break}h=qh()|0;j=c[h>>2]|0;c[h>>2]=0;b=ui(b,k,f,Cm()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;if((c[k>>2]|0)==(d|0)){if((g|0)==34){c[e>>2]=4;b=-1;f=-1}}else{c[e>>2]=4;b=0;f=0}}while(0);C=f;i=l;return b|0}function Tm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Um(a,k,j,e,f,g)|0;i=h;return a|0}function Um(b,e,f,h,j,k){b=b|0;e=e|0;f=f|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=i;i=i+240|0;u=D+200|0;l=D+199|0;m=D+198|0;C=D+184|0;B=D+172|0;z=D+168|0;A=D+8|0;x=D+4|0;w=D;y=D+197|0;v=D+196|0;Vm(C,h,u,l,m);b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}if(!(a[B>>0]&1))b=10;else b=(c[B>>2]&-2)+-1|0;ek(B,b,0);r=B+8|0;s=B+1|0;o=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=o;c[x>>2]=A;c[w>>2]=0;a[y>>0]=1;a[v>>0]=69;t=B+4|0;q=a[l>>0]|0;p=a[m>>0]|0;b=c[e>>2]|0;l=o;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;h=(b|0)==0;m=c[f>>2]|0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(h)break;else break a;if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(h)break;else break a;else{c[f>>2]=0;E=16;break}}else E=16;while(0);if((E|0)==16){E=0;if(h){m=0;break}else m=0}n=a[B>>0]|0;n=(n&1)==0?(n&255)>>>1:c[t>>2]|0;if((c[z>>2]|0)==(l+n|0)){ek(B,n<<1,0);if(!(a[B>>0]&1))h=10;else h=(c[B>>2]&-2)+-1|0;ek(B,h,0);l=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=l+n}n=b+12|0;h=c[n>>2]|0;o=b+16|0;if((h|0)==(c[o>>2]|0))h=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else h=d[h>>0]|0;if(Wm(h&255,y,v,l,z,q,p,C,A,x,w,u)|0)break;h=c[n>>2]|0;if((h|0)==(c[o>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[n>>2]=h+1;continue}}v=a[C>>0]|0;h=c[x>>2]|0;if(!((a[y>>0]|0)==0?1:(((v&1)==0?(v&255)>>>1:c[C+4>>2]|0)|0)==0)?(h-A|0)<160:0){w=c[w>>2]|0;y=h+4|0;c[x>>2]=y;c[h>>2]=w;h=y}g[k>>2]=+Xm(l,c[z>>2]|0,j);Dm(C,A,h,j);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[f>>2]=0;E=41;break}if(!b)E=42}else E=41;while(0);if((E|0)==41?b:0)E=42;if((E|0)==42)c[j>>2]=c[j>>2]|2;E=c[e>>2]|0;Zj(B);Zj(C);i=D;return E|0}function Vm(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h;d=Nl(d)|0;c[j>>2]=d;k=sm(j,1211488)|0;Hb[c[(c[k>>2]|0)+32>>2]&7](k,20161,20193,e)|0;e=sm(j,1211500)|0;a[f>>0]=Db[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[g>>0]=Db[c[(c[e>>2]|0)+16>>2]&127](e)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](b,e);Ht(d)|0;i=h;return}function Wm(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0;a:do if(b<<24>>24==i<<24>>24)if(a[e>>0]|0){a[e>>0]=0;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=46;f=a[k>>0]|0;if((((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0)!=0?(p=c[m>>2]|0,(p-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;p=0}else p=0}else p=-1;else{if(b<<24>>24==j<<24>>24?(j=a[k>>0]|0,((j&1)==0?(j&255)>>>1:c[k+4>>2]|0)|0):0){if(!(a[e>>0]|0)){p=-1;break}p=c[m>>2]|0;if((p-l|0)>=160){p=0;break}l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;c[n>>2]=0;p=0;break}i=o+32|0;p=o;while(1){if((p|0)==(i|0)){p=i;break}if((a[p>>0]|0)==b<<24>>24)break;p=p+1|0}i=p-o|0;if((i|0)>31)p=-1;else{j=a[20161+i>>0]|0;switch(i|0){case 24:case 25:{p=c[h>>2]|0;if((p|0)!=(g|0)?(d[p+-1>>0]&95|0)!=(d[f>>0]&127|0):0){p=-1;break a}c[h>>2]=p+1;a[p>>0]=j;p=0;break a}case 23:case 22:{a[f>>0]=80;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=j;p=0;break a}default:{p=j&95;if((((p|0)==(a[f>>0]|0)?(a[f>>0]=p|128,a[e>>0]|0):0)?(a[e>>0]=0,f=a[k>>0]|0,((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0):0)?(q=c[m>>2]|0,(q-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=q+4;c[q>>2]=l}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=j;if((i|0)>21){p=0;break a}c[n>>2]=(c[n>>2]|0)+1;p=0;break a}}}}while(0);return p|0}function Xm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=j;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=qh()|0;g=c[f>>2]|0;c[f>>2]=0;e=+ti(a,h,Cm()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=j;return +e}function Ym(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Zm(a,k,j,e,f,g)|0;i=h;return a|0}function Zm(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=i;i=i+240|0;u=D+200|0;l=D+199|0;m=D+198|0;C=D+184|0;B=D+172|0;z=D+168|0;A=D+8|0;x=D+4|0;w=D;y=D+197|0;v=D+196|0;Vm(C,g,u,l,m);b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}if(!(a[B>>0]&1))b=10;else b=(c[B>>2]&-2)+-1|0;ek(B,b,0);r=B+8|0;s=B+1|0;o=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=o;c[x>>2]=A;c[w>>2]=0;a[y>>0]=1;a[v>>0]=69;t=B+4|0;q=a[l>>0]|0;p=a[m>>0]|0;b=c[e>>2]|0;l=o;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;m=c[f>>2]|0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(g)break;else break a;if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;E=16;break}}else E=16;while(0);if((E|0)==16){E=0;if(g){m=0;break}else m=0}n=a[B>>0]|0;n=(n&1)==0?(n&255)>>>1:c[t>>2]|0;if((c[z>>2]|0)==(l+n|0)){ek(B,n<<1,0);if(!(a[B>>0]&1))g=10;else g=(c[B>>2]&-2)+-1|0;ek(B,g,0);l=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=l+n}n=b+12|0;g=c[n>>2]|0;o=b+16|0;if((g|0)==(c[o>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Wm(g&255,y,v,l,z,q,p,C,A,x,w,u)|0)break;g=c[n>>2]|0;if((g|0)==(c[o>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[n>>2]=g+1;continue}}v=a[C>>0]|0;g=c[x>>2]|0;if(!((a[y>>0]|0)==0?1:(((v&1)==0?(v&255)>>>1:c[C+4>>2]|0)|0)==0)?(g-A|0)<160:0){w=c[w>>2]|0;y=g+4|0;c[x>>2]=y;c[g>>2]=w;g=y}h[k>>3]=+_m(l,c[z>>2]|0,j);Dm(C,A,g,j);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[f>>2]=0;E=41;break}if(!b)E=42}else E=41;while(0);if((E|0)==41?b:0)E=42;if((E|0)==42)c[j>>2]=c[j>>2]|2;E=c[e>>2]|0;Zj(B);Zj(C);i=D;return E|0}function _m(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=j;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=qh()|0;g=c[f>>2]|0;c[f>>2]=0;e=+ti(a,h,Cm()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=j;return +e}function $m(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=an(a,k,j,e,f,g)|0;i=h;return a|0}function an(b,e,f,g,j,k){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=i;i=i+240|0;u=D+200|0;l=D+199|0;m=D+198|0;C=D+184|0;B=D+172|0;z=D+168|0;A=D+8|0;x=D+4|0;w=D;y=D+197|0;v=D+196|0;Vm(C,g,u,l,m);b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}if(!(a[B>>0]&1))b=10;else b=(c[B>>2]&-2)+-1|0;ek(B,b,0);r=B+8|0;s=B+1|0;o=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=o;c[x>>2]=A;c[w>>2]=0;a[y>>0]=1;a[v>>0]=69;t=B+4|0;q=a[l>>0]|0;p=a[m>>0]|0;b=c[e>>2]|0;l=o;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;m=c[f>>2]|0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(g)break;else break a;if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;E=16;break}}else E=16;while(0);if((E|0)==16){E=0;if(g){m=0;break}else m=0}n=a[B>>0]|0;n=(n&1)==0?(n&255)>>>1:c[t>>2]|0;if((c[z>>2]|0)==(l+n|0)){ek(B,n<<1,0);if(!(a[B>>0]&1))g=10;else g=(c[B>>2]&-2)+-1|0;ek(B,g,0);l=(a[B>>0]&1)==0?s:c[r>>2]|0;c[z>>2]=l+n}n=b+12|0;g=c[n>>2]|0;o=b+16|0;if((g|0)==(c[o>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Wm(g&255,y,v,l,z,q,p,C,A,x,w,u)|0)break;g=c[n>>2]|0;if((g|0)==(c[o>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[n>>2]=g+1;continue}}v=a[C>>0]|0;g=c[x>>2]|0;if(!((a[y>>0]|0)==0?1:(((v&1)==0?(v&255)>>>1:c[C+4>>2]|0)|0)==0)?(g-A|0)<160:0){w=c[w>>2]|0;y=g+4|0;c[x>>2]=y;c[g>>2]=w;g=y}h[k>>3]=+bn(l,c[z>>2]|0,j);Dm(C,A,g,j);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[f>>2]=0;E=41;break}if(!b)E=42}else E=41;while(0);if((E|0)==41?b:0)E=42;if((E|0)==42)c[j>>2]=c[j>>2]|2;E=c[e>>2]|0;Zj(B);Zj(C);i=D;return E|0}function bn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=j;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{f=qh()|0;g=c[f>>2]|0;c[f>>2]=0;e=+ti(a,h,Cm()|0);a=c[f>>2]|0;if(!a)c[f>>2]=g;if((c[h>>2]|0)==(b|0)){if((a|0)==34)c[d>>2]=4}else{c[d>>2]=4;e=0.0}}i=j;return +e}function cn(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+240|0;w=z;r=z+208|0;y=z+196|0;b=z+180|0;x=z+184|0;v=z+176|0;t=z+16|0;u=z+8|0;s=z+4|0;k=0;while(1){if((k|0)==3)break;c[y+(k<<2)>>2]=0;k=k+1|0}q=Nl(g)|0;c[b>>2]=q;b=sm(b,1211488)|0;Hb[c[(c[b>>2]|0)+32>>2]&7](b,20161,20187,r)|0;Ht(q)|0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);p=x+8|0;q=x+1|0;k=(a[x>>0]&1)==0?q:c[p>>2]|0;c[v>>2]=k;c[u>>2]=t;c[s>>2]=0;o=x+4|0;b=c[e>>2]|0;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;l=(b|0)==0;g=c[f>>2]|0;do if(g){if((c[g+12>>2]|0)!=(c[g+16>>2]|0))if(l)break;else break a;if((Db[c[(c[g>>2]|0)+36>>2]&127](g)|0)!=-1)if(l)break;else break a;else{c[f>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(l){g=0;break}else g=0}l=a[x>>0]|0;l=(l&1)==0?(l&255)>>>1:c[o>>2]|0;if((c[v>>2]|0)==(k+l|0)){ek(x,l<<1,0);if(!(a[x>>0]&1))k=10;else k=(c[x>>2]&-2)+-1|0;ek(x,k,0);k=(a[x>>0]&1)==0?q:c[p>>2]|0;c[v>>2]=k+l}m=b+12|0;l=c[m>>2]|0;n=b+16|0;if((l|0)==(c[n>>2]|0))l=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else l=d[l>>0]|0;if(Am(l&255,16,k,v,s,0,y,t,u,r)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}ek(x,(c[v>>2]|0)-k|0,0);u=(a[x>>0]&1)==0?q:c[p>>2]|0;v=Cm()|0;c[w>>2]=j;if((dn(u,v,20196,w)|0)!=1)c[h>>2]=4;if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(g){if((c[g+12>>2]|0)==(c[g+16>>2]|0)?(Db[c[(c[g>>2]|0)+36>>2]&127](g)|0)==-1:0){c[f>>2]=0;A=43;break}if(!b)A=44}else A=43;while(0);if((A|0)==43?b:0)A=44;if((A|0)==44)c[h>>2]=c[h>>2]|2;A=c[e>>2]|0;Zj(x);Zj(y);i=z;return A|0}function dn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;g=f;c[g>>2]=e;e=Pi(b)|0;b=_h(a,d,g)|0;if(e|0)Pi(e)|0;i=f;return b|0}function en(a){a=a|0;return}function fn(a){a=a|0;Qt(a);return}function gn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;k=r+48|0;j=r+24|0;q=r+16|0;l=r+20|0;m=r+12|0;n=r+8|0;o=r+4|0;p=r;if(!(c[f+4>>2]&1)){c[q>>2]=-1;p=c[(c[b>>2]|0)+16>>2]|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];j=Bb[p&63](b,j,k,f,g,q)|0;c[d>>2]=j;switch(c[q>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}}else{b=Nl(f)|0;c[n>>2]=b;q=sm(n,1211520)|0;Ht(b)|0;f=Nl(f)|0;c[o>>2]=f;b=sm(o,1211528)|0;Ht(f)|0;Ab[c[(c[b>>2]|0)+24>>2]&63](j,b);Ab[c[(c[b>>2]|0)+28>>2]&63](j+12|0,b);c[p>>2]=c[e>>2];c[k>>2]=c[p>>2];a[h>>0]=(hn(d,k,j,j+24|0,q,g,1)|0)==(j|0)&1;h=c[d>>2]|0;vk(j+12|0);vk(j);j=h}i=r;return j|0}function hn(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+112|0;l=y;m=(f-e|0)/12|0;if(m>>>0>100){l=bj(m)|0;if(!l)uu();else{w=l;k=l}}else{w=0;k=l}p=e;l=0;o=k;while(1){if((p|0)==(f|0))break;n=a[p>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[p+4>>2]|0;if(!n){a[o>>0]=2;l=l+1|0;m=m+-1|0}else a[o>>0]=1;p=p+12|0;o=o+1|0}v=0;s=l;q=m;a:while(1){l=c[b>>2]|0;do if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))l=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else l=c[m>>2]|0;if((l|0)==-1){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);n=c[d>>2]|0;if(n){l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Db[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=c[l>>2]|0;if((l|0)==-1){c[d>>2]=0;n=0;l=1}else l=0}else{n=0;l=1}m=c[b>>2]|0;if(!((q|0)!=0&(o^l)))break;l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))l=Db[c[(c[m>>2]|0)+36>>2]&127](m)|0;else l=c[l>>2]|0;if(!j)l=Jb[c[(c[g>>2]|0)+28>>2]&63](g,l)|0;u=v+1|0;p=0;r=e;t=q;q=k;while(1){if((r|0)==(f|0))break;do if((a[q>>0]|0)==1){if(!(a[r>>0]&1))m=r+4|0;else m=c[r+8>>2]|0;m=c[m+(v<<2)>>2]|0;if(!j)m=Jb[c[(c[g>>2]|0)+28>>2]&63](g,m)|0;if((l|0)!=(m|0)){a[q>>0]=0;m=p;n=s;o=t+-1|0;break}m=a[r>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[r+4>>2]|0;if((m|0)==(u|0)){a[q>>0]=2;m=1;n=s+1|0;o=t+-1|0}else{m=1;n=s;o=t}}else{m=p;n=s;o=t}while(0);p=m;r=r+12|0;s=n;t=o;q=q+1|0}if(!p){v=u;q=t;continue}l=c[b>>2]|0;m=l+12|0;n=c[m>>2]|0;if((n|0)==(c[l+16>>2]|0))Db[c[(c[l>>2]|0)+40>>2]&127](l)|0;else c[m>>2]=n+4;if((s+t|0)>>>0>1){o=e;l=s;n=k}else{v=u;q=t;continue}while(1){if((o|0)==(f|0)){v=u;s=l;q=t;continue a}if((a[n>>0]|0)==2){m=a[o>>0]|0;if(!(m&1))m=(m&255)>>>1;else m=c[o+4>>2]|0;if((m|0)!=(u|0)){a[n>>0]=0;l=l+-1|0}}o=o+12|0;n=n+1|0}}do if(m){l=c[m+12>>2]|0;if((l|0)==(c[m+16>>2]|0))l=Db[c[(c[m>>2]|0)+36>>2]&127](m)|0;else l=c[l>>2]|0;if((l|0)==-1){c[b>>2]=0;m=1;break}else{m=(c[b>>2]|0)==0;break}}else m=1;while(0);do if(n){l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Db[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=c[l>>2]|0;if((l|0)!=-1)if(m)break;else{x=77;break}else{c[d>>2]=0;x=41;break}}else x=41;while(0);if((x|0)==41)if(m)x=77;if((x|0)==77)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){x=81;break}if((a[k>>0]|0)==2)break;e=e+12|0;k=k+1|0}if((x|0)==81){c[h>>2]=c[h>>2]|4;e=f}cj(w);i=y;return e|0}function jn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=kn(a,k,j,e,f,g)|0;i=h;return a|0}function kn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+304|0;r=z+200|0;j=z+196|0;y=z+184|0;x=z+172|0;v=z+168|0;w=z+8|0;t=z+4|0;s=z;switch(c[f+4>>2]&74|0){case 64:{u=8;break}case 8:{u=16;break}case 0:{u=0;break}default:u=10}ln(y,f,r,j);b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);o=x+8|0;p=x+1|0;f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f;c[t>>2]=w;c[s>>2]=0;q=x+4|0;n=c[j>>2]|0;j=c[d>>2]|0;a:while(1){if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}k=c[e>>2]|0;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(l){m=k;break}else break a;else{c[e>>2]=0;A=23;break}}else A=23;while(0);if((A|0)==23){A=0;if(l){k=0;break}else m=0}k=a[x>>0]|0;k=(k&1)==0?(k&255)>>>1:c[q>>2]|0;if((c[v>>2]|0)==(f+k|0)){ek(x,k<<1,0);if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f+k}k=j+12|0;b=c[k>>2]|0;l=j+16|0;if((b|0)==(c[l>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if(mn(b,u,f,v,s,n,y,w,t,r)|0){k=m;break}b=c[k>>2]|0;if((b|0)==(c[l>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;continue}else{c[k>>2]=b+4;continue}}r=a[y>>0]|0;b=c[t>>2]|0;if((((r&1)==0?(r&255)>>>1:c[y+4>>2]|0)|0)!=0?(b-w|0)<160:0){r=c[s>>2]|0;s=b+4|0;c[t>>2]=s;c[b>>2]=r;b=s}c[h>>2]=Bm(f,c[v>>2]|0,g,u)|0;Dm(y,w,b,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{A=53;break}else{c[e>>2]=0;A=51;break}}else A=51;while(0);if((A|0)==51?f:0)A=53;if((A|0)==53)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;Zj(x);Zj(y);i=z;return A|0}function ln(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;g=f;b=Nl(b)|0;c[g>>2]=b;h=sm(g,1211520)|0;Hb[c[(c[h>>2]|0)+48>>2]&7](h,20161,20187,d)|0;d=sm(g,1211528)|0;c[e>>2]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](a,d);Ht(b)|0;i=f;return}function mn(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i>>0]|0;if((b|0)==(h|0)?(((n&1)==0?(n&255)>>>1:c[i+4>>2]|0)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}i=l+104|0;m=l;while(1){if((m|0)==(i|0)){m=i;break}if((c[m>>2]|0)==(b|0))break;m=m+4|0}m=m-l|0;i=m>>2;if((m|0)>92)m=-1;else{switch(d|0){case 10:case 8:{if((i|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[20161+i>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[20161+i>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function nn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=on(a,k,j,e,f,g)|0;i=h;return a|0}function on(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+304|0;r=z+200|0;j=z+196|0;y=z+184|0;x=z+172|0;v=z+168|0;w=z+8|0;t=z+4|0;s=z;switch(c[f+4>>2]&74|0){case 64:{u=8;break}case 8:{u=16;break}case 0:{u=0;break}default:u=10}ln(y,f,r,j);b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);o=x+8|0;p=x+1|0;f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f;c[t>>2]=w;c[s>>2]=0;q=x+4|0;n=c[j>>2]|0;j=c[d>>2]|0;a:while(1){if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}k=c[e>>2]|0;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(l){m=k;break}else break a;else{c[e>>2]=0;A=23;break}}else A=23;while(0);if((A|0)==23){A=0;if(l){k=0;break}else m=0}k=a[x>>0]|0;k=(k&1)==0?(k&255)>>>1:c[q>>2]|0;if((c[v>>2]|0)==(f+k|0)){ek(x,k<<1,0);if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f+k}k=j+12|0;b=c[k>>2]|0;l=j+16|0;if((b|0)==(c[l>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if(mn(b,u,f,v,s,n,y,w,t,r)|0){k=m;break}b=c[k>>2]|0;if((b|0)==(c[l>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;continue}else{c[k>>2]=b+4;continue}}r=a[y>>0]|0;b=c[t>>2]|0;if((((r&1)==0?(r&255)>>>1:c[y+4>>2]|0)|0)!=0?(b-w|0)<160:0){r=c[s>>2]|0;s=b+4|0;c[t>>2]=s;c[b>>2]=r;b=s}v=Gm(f,c[v>>2]|0,g,u)|0;c[h>>2]=v;c[h+4>>2]=C;Dm(y,w,b,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{A=53;break}else{c[e>>2]=0;A=51;break}}else A=51;while(0);if((A|0)==51?f:0)A=53;if((A|0)==53)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;Zj(x);Zj(y);i=z;return A|0}function pn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=qn(a,k,j,e,f,g)|0;i=h;return a|0}function qn(d,e,f,g,h,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+304|0;s=A+200|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}ln(z,g,s,k);d=0;while(1){if((d|0)==3)break;c[y+(d<<2)>>2]=0;d=d+1|0}if(!(a[y>>0]&1))d=10;else d=(c[y>>2]&-2)+-1|0;ek(y,d,0);p=y+8|0;q=y+1|0;g=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=g;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=c[k>>2]|0;k=c[e>>2]|0;a:while(1){if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else d=c[d>>2]|0;if((d|0)==-1){c[e>>2]=0;k=0;m=1}else m=0}else{k=0;m=1}l=c[f>>2]|0;do if(l){d=c[l+12>>2]|0;if((d|0)==(c[l+16>>2]|0))d=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else d=c[d>>2]|0;if((d|0)!=-1)if(m){n=l;break}else break a;else{c[f>>2]=0;B=23;break}}else B=23;while(0);if((B|0)==23){B=0;if(m){l=0;break}else n=0}l=a[y>>0]|0;l=(l&1)==0?(l&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(g+l|0)){ek(y,l<<1,0);if(!(a[y>>0]&1))d=10;else d=(c[y>>2]&-2)+-1|0;ek(y,d,0);g=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=g+l}l=k+12|0;d=c[l>>2]|0;m=k+16|0;if((d|0)==(c[m>>2]|0))d=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else d=c[d>>2]|0;if(mn(d,v,g,w,t,o,z,x,u,s)|0){l=n;break}d=c[l>>2]|0;if((d|0)==(c[m>>2]|0)){Db[c[(c[k>>2]|0)+40>>2]&127](k)|0;continue}else{c[l>>2]=d+4;continue}}s=a[z>>0]|0;d=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(d-x|0)<160:0){s=c[t>>2]|0;t=d+4|0;c[u>>2]=t;c[d>>2]=s;d=t}b[j>>1]=Jm(g,c[w>>2]|0,h,v)|0;Dm(z,x,d,h);if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else d=c[d>>2]|0;if((d|0)==-1){c[e>>2]=0;g=1}else g=0}else g=1;do if(l){d=c[l+12>>2]|0;if((d|0)==(c[l+16>>2]|0))d=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else d=c[d>>2]|0;if((d|0)!=-1)if(g)break;else{B=53;break}else{c[f>>2]=0;B=51;break}}else B=51;while(0);if((B|0)==51?g:0)B=53;if((B|0)==53)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function rn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=sn(a,k,j,e,f,g)|0;i=h;return a|0}function sn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+304|0;r=z+200|0;j=z+196|0;y=z+184|0;x=z+172|0;v=z+168|0;w=z+8|0;t=z+4|0;s=z;switch(c[f+4>>2]&74|0){case 64:{u=8;break}case 8:{u=16;break}case 0:{u=0;break}default:u=10}ln(y,f,r,j);b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);o=x+8|0;p=x+1|0;f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f;c[t>>2]=w;c[s>>2]=0;q=x+4|0;n=c[j>>2]|0;j=c[d>>2]|0;a:while(1){if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}k=c[e>>2]|0;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(l){m=k;break}else break a;else{c[e>>2]=0;A=23;break}}else A=23;while(0);if((A|0)==23){A=0;if(l){k=0;break}else m=0}k=a[x>>0]|0;k=(k&1)==0?(k&255)>>>1:c[q>>2]|0;if((c[v>>2]|0)==(f+k|0)){ek(x,k<<1,0);if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f+k}k=j+12|0;b=c[k>>2]|0;l=j+16|0;if((b|0)==(c[l>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if(mn(b,u,f,v,s,n,y,w,t,r)|0){k=m;break}b=c[k>>2]|0;if((b|0)==(c[l>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;continue}else{c[k>>2]=b+4;continue}}r=a[y>>0]|0;b=c[t>>2]|0;if((((r&1)==0?(r&255)>>>1:c[y+4>>2]|0)|0)!=0?(b-w|0)<160:0){r=c[s>>2]|0;s=b+4|0;c[t>>2]=s;c[b>>2]=r;b=s}c[h>>2]=Mm(f,c[v>>2]|0,g,u)|0;Dm(y,w,b,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{A=53;break}else{c[e>>2]=0;A=51;break}}else A=51;while(0);if((A|0)==51?f:0)A=53;if((A|0)==53)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;Zj(x);Zj(y);i=z;return A|0}function tn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=un(a,k,j,e,f,g)|0;i=h;return a|0}function un(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+304|0;r=z+200|0;j=z+196|0;y=z+184|0;x=z+172|0;v=z+168|0;w=z+8|0;t=z+4|0;s=z;switch(c[f+4>>2]&74|0){case 64:{u=8;break}case 8:{u=16;break}case 0:{u=0;break}default:u=10}ln(y,f,r,j);b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);o=x+8|0;p=x+1|0;f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f;c[t>>2]=w;c[s>>2]=0;q=x+4|0;n=c[j>>2]|0;j=c[d>>2]|0;a:while(1){if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}k=c[e>>2]|0;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(l){m=k;break}else break a;else{c[e>>2]=0;A=23;break}}else A=23;while(0);if((A|0)==23){A=0;if(l){k=0;break}else m=0}k=a[x>>0]|0;k=(k&1)==0?(k&255)>>>1:c[q>>2]|0;if((c[v>>2]|0)==(f+k|0)){ek(x,k<<1,0);if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f+k}k=j+12|0;b=c[k>>2]|0;l=j+16|0;if((b|0)==(c[l>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if(mn(b,u,f,v,s,n,y,w,t,r)|0){k=m;break}b=c[k>>2]|0;if((b|0)==(c[l>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;continue}else{c[k>>2]=b+4;continue}}r=a[y>>0]|0;b=c[t>>2]|0;if((((r&1)==0?(r&255)>>>1:c[y+4>>2]|0)|0)!=0?(b-w|0)<160:0){r=c[s>>2]|0;s=b+4|0;c[t>>2]=s;c[b>>2]=r;b=s}c[h>>2]=Pm(f,c[v>>2]|0,g,u)|0;Dm(y,w,b,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{A=53;break}else{c[e>>2]=0;A=51;break}}else A=51;while(0);if((A|0)==51?f:0)A=53;if((A|0)==53)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;Zj(x);Zj(y);i=z;return A|0}function vn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=wn(a,k,j,e,f,g)|0;i=h;return a|0}function wn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=i;i=i+304|0;r=z+200|0;j=z+196|0;y=z+184|0;x=z+172|0;v=z+168|0;w=z+8|0;t=z+4|0;s=z;switch(c[f+4>>2]&74|0){case 64:{u=8;break}case 8:{u=16;break}case 0:{u=0;break}default:u=10}ln(y,f,r,j);b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);o=x+8|0;p=x+1|0;f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f;c[t>>2]=w;c[s>>2]=0;q=x+4|0;n=c[j>>2]|0;j=c[d>>2]|0;a:while(1){if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}k=c[e>>2]|0;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(l){m=k;break}else break a;else{c[e>>2]=0;A=23;break}}else A=23;while(0);if((A|0)==23){A=0;if(l){k=0;break}else m=0}k=a[x>>0]|0;k=(k&1)==0?(k&255)>>>1:c[q>>2]|0;if((c[v>>2]|0)==(f+k|0)){ek(x,k<<1,0);if(!(a[x>>0]&1))b=10;else b=(c[x>>2]&-2)+-1|0;ek(x,b,0);f=(a[x>>0]&1)==0?p:c[o>>2]|0;c[v>>2]=f+k}k=j+12|0;b=c[k>>2]|0;l=j+16|0;if((b|0)==(c[l>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if(mn(b,u,f,v,s,n,y,w,t,r)|0){k=m;break}b=c[k>>2]|0;if((b|0)==(c[l>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;continue}else{c[k>>2]=b+4;continue}}r=a[y>>0]|0;b=c[t>>2]|0;if((((r&1)==0?(r&255)>>>1:c[y+4>>2]|0)|0)!=0?(b-w|0)<160:0){r=c[s>>2]|0;s=b+4|0;c[t>>2]=s;c[b>>2]=r;b=s}v=Sm(f,c[v>>2]|0,g,u)|0;c[h>>2]=v;c[h+4>>2]=C;Dm(y,w,b,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{A=53;break}else{c[e>>2]=0;A=51;break}}else A=51;while(0);if((A|0)==51?f:0)A=53;if((A|0)==53)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;Zj(x);Zj(y);i=z;return A|0}function xn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=yn(a,k,j,e,f,g)|0;i=h;return a|0}function yn(b,d,e,f,h,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+352|0;t=C+208|0;k=C+200|0;l=C+196|0;B=C+184|0;A=C+172|0;y=C+168|0;z=C+8|0;w=C+4|0;v=C;x=C+337|0;u=C+336|0;zn(B,f,t,k,l);b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);q=A+8|0;r=A+1|0;f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f;c[w>>2]=z;c[v>>2]=0;a[x>>0]=1;a[u>>0]=69;s=A+4|0;p=c[k>>2]|0;o=c[l>>2]|0;k=c[d>>2]|0;a:while(1){if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;m=1}else m=0}else{k=0;m=1}l=c[e>>2]|0;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(m)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(m){l=0;break}else l=0}m=a[A>>0]|0;m=(m&1)==0?(m&255)>>>1:c[s>>2]|0;if((c[y>>2]|0)==(f+m|0)){ek(A,m<<1,0);if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f+m}m=k+12|0;b=c[m>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if(An(b,x,u,f,y,p,o,B,z,w,v,t)|0)break;b=c[m>>2]|0;if((b|0)==(c[n>>2]|0)){Db[c[(c[k>>2]|0)+40>>2]&127](k)|0;continue}else{c[m>>2]=b+4;continue}}u=a[B>>0]|0;b=c[w>>2]|0;if(!((a[x>>0]|0)==0?1:(((u&1)==0?(u&255)>>>1:c[B+4>>2]|0)|0)==0)?(b-z|0)<160:0){v=c[v>>2]|0;x=b+4|0;c[w>>2]=x;c[b>>2]=v;b=x}g[j>>2]=+Xm(f,c[y>>2]|0,h);Dm(B,z,b,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[h>>2]=c[h>>2]|2;D=c[d>>2]|0;Zj(A);Zj(B);i=C;return D|0}function zn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+16|0;h=g;b=Nl(b)|0;c[h>>2]=b;j=sm(h,1211520)|0;Hb[c[(c[j>>2]|0)+48>>2]&7](j,20161,20193,d)|0;d=sm(h,1211528)|0;c[e>>2]=Db[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[f>>2]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](a,d);Ht(b)|0;i=g;return}function An(b,e,f,g,h,i,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0;a:do if((b|0)==(i|0))if(a[e>>0]|0){a[e>>0]=0;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=46;f=a[k>>0]|0;if((((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0)!=0?(p=c[m>>2]|0,(p-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;p=0}else p=0}else p=-1;else{if((b|0)==(j|0)?(j=a[k>>0]|0,((j&1)==0?(j&255)>>>1:c[k+4>>2]|0)|0):0){if(!(a[e>>0]|0)){p=-1;break}p=c[m>>2]|0;if((p-l|0)>=160){p=0;break}l=c[n>>2]|0;c[m>>2]=p+4;c[p>>2]=l;c[n>>2]=0;p=0;break}i=o+128|0;p=o;while(1){if((p|0)==(i|0)){p=i;break}if((c[p>>2]|0)==(b|0))break;p=p+4|0}i=p-o|0;p=i>>2;if((i|0)<=124){j=a[20161+p>>0]|0;switch(p|0){case 24:case 25:{p=c[h>>2]|0;if((p|0)!=(g|0)?(d[p+-1>>0]&95|0)!=(d[f>>0]&127|0):0){p=-1;break a}c[h>>2]=p+1;a[p>>0]=j;p=0;break a}case 23:case 22:{a[f>>0]=80;break}default:{p=j&95;if((((p|0)==(a[f>>0]|0)?(a[f>>0]=p|128,a[e>>0]|0):0)?(a[e>>0]=0,f=a[k>>0]|0,((f&1)==0?(f&255)>>>1:c[k+4>>2]|0)|0):0)?(q=c[m>>2]|0,(q-l|0)<160):0){l=c[n>>2]|0;c[m>>2]=q+4;c[q>>2]=l}}}m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=j;if((i|0)>84)p=0;else{c[n>>2]=(c[n>>2]|0)+1;p=0}}else p=-1}while(0);return p|0}function Bn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Cn(a,k,j,e,f,g)|0;i=h;return a|0}function Cn(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+352|0;t=C+208|0;k=C+200|0;l=C+196|0;B=C+184|0;A=C+172|0;y=C+168|0;z=C+8|0;w=C+4|0;v=C;x=C+337|0;u=C+336|0;zn(B,f,t,k,l);b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);q=A+8|0;r=A+1|0;f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f;c[w>>2]=z;c[v>>2]=0;a[x>>0]=1;a[u>>0]=69;s=A+4|0;p=c[k>>2]|0;o=c[l>>2]|0;k=c[d>>2]|0;a:while(1){if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;m=1}else m=0}else{k=0;m=1}l=c[e>>2]|0;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(m)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(m){l=0;break}else l=0}m=a[A>>0]|0;m=(m&1)==0?(m&255)>>>1:c[s>>2]|0;if((c[y>>2]|0)==(f+m|0)){ek(A,m<<1,0);if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f+m}m=k+12|0;b=c[m>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if(An(b,x,u,f,y,p,o,B,z,w,v,t)|0)break;b=c[m>>2]|0;if((b|0)==(c[n>>2]|0)){Db[c[(c[k>>2]|0)+40>>2]&127](k)|0;continue}else{c[m>>2]=b+4;continue}}u=a[B>>0]|0;b=c[w>>2]|0;if(!((a[x>>0]|0)==0?1:(((u&1)==0?(u&255)>>>1:c[B+4>>2]|0)|0)==0)?(b-z|0)<160:0){v=c[v>>2]|0;x=b+4|0;c[w>>2]=x;c[b>>2]=v;b=x}h[j>>3]=+_m(f,c[y>>2]|0,g);Dm(B,z,b,g);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;Zj(A);Zj(B);i=C;return D|0}function Dn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=En(a,k,j,e,f,g)|0;i=h;return a|0}function En(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=i;i=i+352|0;t=C+208|0;k=C+200|0;l=C+196|0;B=C+184|0;A=C+172|0;y=C+168|0;z=C+8|0;w=C+4|0;v=C;x=C+337|0;u=C+336|0;zn(B,f,t,k,l);b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);q=A+8|0;r=A+1|0;f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f;c[w>>2]=z;c[v>>2]=0;a[x>>0]=1;a[u>>0]=69;s=A+4|0;p=c[k>>2]|0;o=c[l>>2]|0;k=c[d>>2]|0;a:while(1){if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;k=0;m=1}else m=0}else{k=0;m=1}l=c[e>>2]|0;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(m)break;else break a;else{c[e>>2]=0;D=19;break}}else D=19;while(0);if((D|0)==19){D=0;if(m){l=0;break}else l=0}m=a[A>>0]|0;m=(m&1)==0?(m&255)>>>1:c[s>>2]|0;if((c[y>>2]|0)==(f+m|0)){ek(A,m<<1,0);if(!(a[A>>0]&1))b=10;else b=(c[A>>2]&-2)+-1|0;ek(A,b,0);f=(a[A>>0]&1)==0?r:c[q>>2]|0;c[y>>2]=f+m}m=k+12|0;b=c[m>>2]|0;n=k+16|0;if((b|0)==(c[n>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if(An(b,x,u,f,y,p,o,B,z,w,v,t)|0)break;b=c[m>>2]|0;if((b|0)==(c[n>>2]|0)){Db[c[(c[k>>2]|0)+40>>2]&127](k)|0;continue}else{c[m>>2]=b+4;continue}}u=a[B>>0]|0;b=c[w>>2]|0;if(!((a[x>>0]|0)==0?1:(((u&1)==0?(u&255)>>>1:c[B+4>>2]|0)|0)==0)?(b-z|0)<160:0){v=c[v>>2]|0;x=b+4|0;c[w>>2]=x;c[b>>2]=v;b=x}h[j>>3]=+bn(f,c[y>>2]|0,g);Dm(B,z,b,g);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;f=1}else f=0}else f=1;do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))b=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(f)break;else{D=49;break}else{c[e>>2]=0;D=47;break}}else D=47;while(0);if((D|0)==47?f:0)D=49;if((D|0)==49)c[g>>2]=c[g>>2]|2;D=c[d>>2]|0;Zj(A);Zj(B);i=C;return D|0}function Fn(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=i;i=i+320|0;v=y;q=y+208|0;x=y+196|0;b=y+180|0;w=y+184|0;u=y+176|0;s=y+16|0;t=y+8|0;r=y+4|0;j=0;while(1){if((j|0)==3)break;c[x+(j<<2)>>2]=0;j=j+1|0}p=Nl(f)|0;c[b>>2]=p;b=sm(b,1211520)|0;Hb[c[(c[b>>2]|0)+48>>2]&7](b,20161,20187,q)|0;Ht(p)|0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}if(!(a[w>>0]&1))b=10;else b=(c[w>>2]&-2)+-1|0;ek(w,b,0);o=w+8|0;p=w+1|0;b=(a[w>>0]&1)==0?p:c[o>>2]|0;c[u>>2]=b;c[t>>2]=s;c[r>>2]=0;n=w+4|0;f=c[d>>2]|0;a:while(1){if(f){j=c[f+12>>2]|0;if((j|0)==(c[f+16>>2]|0))j=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else j=c[j>>2]|0;if((j|0)==-1){c[d>>2]=0;j=0;l=1}else{j=f;l=0}}else{j=0;l=1}f=c[e>>2]|0;do if(f){k=c[f+12>>2]|0;if((k|0)==(c[f+16>>2]|0))k=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else k=c[k>>2]|0;if((k|0)!=-1)if(l)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(l){f=0;break}else f=0}k=a[w>>0]|0;k=(k&1)==0?(k&255)>>>1:c[n>>2]|0;if((c[u>>2]|0)==(b+k|0)){ek(w,k<<1,0);if(!(a[w>>0]&1))b=10;else b=(c[w>>2]&-2)+-1|0;ek(w,b,0);b=(a[w>>0]&1)==0?p:c[o>>2]|0;c[u>>2]=b+k}l=j+12|0;k=c[l>>2]|0;m=j+16|0;if((k|0)==(c[m>>2]|0))k=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=c[k>>2]|0;if(mn(k,16,b,u,r,0,x,s,t,q)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;f=j;continue}else{c[l>>2]=f+4;f=j;continue}}ek(w,(c[u>>2]|0)-b|0,0);t=(a[w>>0]&1)==0?p:c[o>>2]|0;u=Cm()|0;c[v>>2]=h;if((dn(t,u,20196,v)|0)!=1)c[g>>2]=4;if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=c[b>>2]|0;if((b|0)==-1){c[d>>2]=0;j=1}else j=0}else j=1;do if(f){b=c[f+12>>2]|0;if((b|0)==(c[f+16>>2]|0))b=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(j)break;else{z=51;break}else{c[e>>2]=0;z=49;break}}else z=49;while(0);if((z|0)==49?j:0)z=51;if((z|0)==51)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;Zj(w);Zj(x);i=y;return z|0}function Gn(a){a=a|0;return}function Hn(a){a=a|0;Qt(a);return}function In(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;m=n+8|0;h=n+4|0;j=n;if(!(c[e+4>>2]&1)){l=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[m>>2]=c[h>>2];h=Kb[l&31](b,m,e,f,g&1)|0}else{l=Nl(e)|0;c[j>>2]=l;h=sm(j,1211500)|0;Ht(l)|0;j=c[h>>2]|0;if(g)Ab[c[j+24>>2]&63](m,h);else Ab[c[j+28>>2]&63](m,h);e=a[m>>0]|0;b=m+1|0;g=m+8|0;l=c[g>>2]|0;k=m+4|0;h=e;j=l;l=(e&1)==0?b:l;while(1){e=(h&1)==0;if((l|0)==((e?b:j)+(e?(h&255)>>>1:c[k>>2]|0)|0))break;h=a[l>>0]|0;j=c[d>>2]|0;do if(j|0){f=j+24|0;e=c[f>>2]|0;if((e|0)!=(c[j+28>>2]|0)){c[f>>2]=e+1;a[e>>0]=h;break}if((Jb[c[(c[j>>2]|0)+52>>2]&63](j,h&255)|0)==-1)c[d>>2]=0}while(0);h=a[m>>0]|0;j=c[g>>2]|0;l=l+1|0}h=c[d>>2]|0;Zj(m)}i=n;return h|0}function Jn(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;i=i+64|0;k=h;o=h+56|0;q=h+44|0;j=h+20|0;m=h+16|0;b=h+8|0;n=h+12|0;l=h+4|0;a[o>>0]=a[20404]|0;a[o+1>>0]=a[20405]|0;a[o+2>>0]=a[20406]|0;a[o+3>>0]=a[20407]|0;a[o+4>>0]=a[20408]|0;a[o+5>>0]=a[20409]|0;Kn(o+1|0,20410,1,c[e+4>>2]|0);p=Cm()|0;c[k>>2]=g;o=q+(Ln(q,12,p,o,k)|0)|0;p=Mn(q,o,e)|0;g=Nl(e)|0;c[n>>2]=g;Nn(q,p,o,j,m,b,n);Ht(g)|0;c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=Ud(k,j,g,b,e,f)|0;i=h;return b|0}function Kn(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(!(e&512))f=c;else{a[b>>0]=35;f=c;b=b+1|0}while(1){c=a[f>>0]|0;if(!(c<<24>>24))break;a[b>>0]=c;f=f+1|0;b=b+1|0}a:do switch(e&74|0){case 64:{a[b>>0]=111;break}case 8:if(!(e&16384)){a[b>>0]=120;break a}else{a[b>>0]=88;break a}default:if(d){a[b>>0]=100;break a}else{a[b>>0]=117;break a}}while(0);return}function Ln(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;i=i+16|0;h=g;c[h>>2]=f;f=Pi(d)|0;d=Hh(a,b,e,h)|0;if(f|0)Pi(f)|0;i=g;return d|0}function Mn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do switch(c[e+4>>2]&176|0){case 16:{e=a[b>>0]|0;switch(e<<24>>24){case 43:case 45:{b=b+1|0;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{f=7;break a}}b=b+2|0}else f=7;break}case 32:{b=d;break}default:f=7}while(0);return b|0}function Nn(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+16|0;s=t;r=sm(j,1211488)|0;m=sm(j,1211500)|0;Ab[c[(c[m>>2]|0)+20>>2]&63](s,m);p=a[s>>0]|0;q=s+4|0;if(((p&1)==0?(p&255)>>>1:c[q>>2]|0)|0){c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{p=Jb[c[(c[r>>2]|0)+28>>2]&63](r,j)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=p;k=b+1|0;break}default:k=b}a:do if((e-k|0)>1?(a[k>>0]|0)==48:0){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}p=Jb[c[(c[r>>2]|0)+28>>2]&63](r,48)|0;o=c[h>>2]|0;c[h>>2]=o+1;a[o>>0]=p;o=Jb[c[(c[r>>2]|0)+28>>2]&63](r,a[j>>0]|0)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=o;k=k+2|0}while(0);b:do if((k|0)!=(e|0)){j=e;l=k;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break b;p=a[l>>0]|0;a[l>>0]=a[j>>0]|0;a[j>>0]=p;l=l+1|0}}while(0);m=Db[c[(c[m>>2]|0)+16>>2]&127](m)|0;n=s+8|0;o=s+1|0;j=0;l=0;p=k;while(1){if(p>>>0>=e>>>0)break;u=a[((a[s>>0]&1)==0?o:c[n>>2]|0)+l>>0]|0;if(u<<24>>24!=0&(j|0)==(u<<24>>24|0)){u=c[h>>2]|0;c[h>>2]=u+1;a[u>>0]=m;u=a[s>>0]|0;j=0;l=(l>>>0<(((u&1)==0?(u&255)>>>1:c[q>>2]|0)+-1|0)>>>0&1)+l|0}v=Jb[c[(c[r>>2]|0)+28>>2]&63](r,a[p>>0]|0)|0;u=c[h>>2]|0;c[h>>2]=u+1;a[u>>0]=v;j=j+1|0;p=p+1|0}j=f+(k-b)|0;k=c[h>>2]|0;if((j|0)!=(k|0)){while(1){k=k+-1|0;if(j>>>0>=k>>>0)break;v=a[j>>0]|0;a[j>>0]=a[k>>0]|0;a[k>>0]=v;j=j+1|0}j=c[h>>2]|0}}else{Hb[c[(c[r>>2]|0)+32>>2]&7](r,b,e,f)|0;j=f+(e-b)|0;c[h>>2]=j}c[g>>2]=(d|0)==(e|0)?j:f+(d-b)|0;Zj(s);i=t;return}function On(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;i=i+96|0;k=h+8|0;o=h;p=h+74|0;j=h+32|0;m=h+28|0;a=h+20|0;n=h+24|0;l=h+16|0;q=o;c[q>>2]=37;c[q+4>>2]=0;Kn(o+1|0,20412,1,c[d+4>>2]|0);q=Cm()|0;r=k;c[r>>2]=f;c[r+4>>2]=g;f=p+(Ln(p,22,q,o,k)|0)|0;o=Mn(p,f,d)|0;g=Nl(d)|0;c[n>>2]=g;Nn(p,o,f,j,m,a,n);Ht(g)|0;c[l>>2]=c[b>>2];b=c[m>>2]|0;a=c[a>>2]|0;c[k>>2]=c[l>>2];a=Ud(k,j,b,a,d,e)|0;i=h;return a|0}function Pn(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;i=i+64|0;k=h;o=h+56|0;q=h+44|0;j=h+20|0;m=h+16|0;b=h+8|0;n=h+12|0;l=h+4|0;a[o>>0]=a[20404]|0;a[o+1>>0]=a[20405]|0;a[o+2>>0]=a[20406]|0;a[o+3>>0]=a[20407]|0;a[o+4>>0]=a[20408]|0;a[o+5>>0]=a[20409]|0;Kn(o+1|0,20410,0,c[e+4>>2]|0);p=Cm()|0;c[k>>2]=g;o=q+(Ln(q,12,p,o,k)|0)|0;p=Mn(q,o,e)|0;g=Nl(e)|0;c[n>>2]=g;Nn(q,p,o,j,m,b,n);Ht(g)|0;c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=Ud(k,j,g,b,e,f)|0;i=h;return b|0}function Qn(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;i=i+112|0;k=h+8|0;o=h;p=h+75|0;j=h+32|0;m=h+28|0;a=h+20|0;n=h+24|0;l=h+16|0;q=o;c[q>>2]=37;c[q+4>>2]=0;Kn(o+1|0,20412,0,c[d+4>>2]|0);q=Cm()|0;r=k;c[r>>2]=f;c[r+4>>2]=g;f=p+(Ln(p,23,q,o,k)|0)|0;o=Mn(p,f,d)|0;g=Nl(d)|0;c[n>>2]=g;Nn(p,o,f,j,m,a,n);Ht(g)|0;c[l>>2]=c[b>>2];b=c[m>>2]|0;a=c[a>>2]|0;c[k>>2]=c[l>>2];a=Ud(k,j,b,a,d,e)|0;i=h;return a|0}function Rn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;v=i;i=i+160|0;p=v+68|0;l=v+32|0;j=v+24|0;g=v+8|0;k=v;n=v+130|0;m=v+64|0;o=v+72|0;u=v+60|0;t=v+56|0;q=v+52|0;r=v+48|0;B=k;c[B>>2]=37;c[B+4>>2]=0;B=Sn(k+1|0,1280956,c[d+4>>2]|0)|0;c[m>>2]=n;a=Cm()|0;if(B){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=Ln(n,30,a,k,g)|0}else{h[j>>3]=f;a=Ln(n,30,a,k,j)|0}if((a|0)>29){g=Cm()|0;c[l>>2]=c[d+8>>2];h[l+8>>3]=f;g=Tn(m,g,k,l)|0;a=c[m>>2]|0;if(!a)uu();else{w=a;y=a;s=g}}else{w=c[m>>2]|0;y=0;s=a}g=w+s|0;j=Mn(w,g,d)|0;if((w|0)!=(n|0)){a=bj(s<<1)|0;if(!a)uu();else{x=w;z=a;A=a}}else{x=n;z=o;A=0}B=Nl(d)|0;c[q>>2]=B;Un(x,j,g,z,u,t,q);Ht(B)|0;c[r>>2]=c[b>>2];b=c[u>>2]|0;B=c[t>>2]|0;c[p>>2]=c[r>>2];B=Ud(p,z,b,B,d,e)|0;cj(A);cj(y);i=v;return B|0}function Sn(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}g=d&260;e=d>>>14;h=(g|0)==260;if(h)f=0;else{a[b>>0]=46;a[b+1>>0]=42;b=b+2|0;f=1}while(1){d=a[c>>0]|0;if(!(d<<24>>24))break;a[b>>0]=d;c=c+1|0;b=b+1|0}a:do switch(g|0){case 4:if(!(e&1)){a[b>>0]=102;break a}else{a[b>>0]=70;break a}case 256:if(!(e&1)){a[b>>0]=101;break a}else{a[b>>0]=69;break a}default:{d=(e&1|0)!=0;if(h)if(d){a[b>>0]=65;break a}else{a[b>>0]=97;break a}else if(d){a[b>>0]=71;break a}else{a[b>>0]=103;break a}}}while(0);return f|0}function Tn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;g=f;c[g>>2]=e;e=Pi(b)|0;b=Li(a,d,g)|0;if(e|0)Pi(e)|0;i=f;return b|0}function Un(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;x=i;i=i+16|0;v=x;u=sm(j,1211488)|0;s=sm(j,1211500)|0;Ab[c[(c[s>>2]|0)+20>>2]&63](v,s);c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{t=Jb[c[(c[u>>2]|0)+28>>2]&63](u,j)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=t;k=b+1|0;break}default:k=b}t=e;a:do if((t-k|0)>1?(a[k>>0]|0)==48:0){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{j=k;w=10;break a}}q=Jb[c[(c[u>>2]|0)+28>>2]&63](u,48)|0;r=c[h>>2]|0;c[h>>2]=r+1;a[r>>0]=q;k=k+2|0;r=Jb[c[(c[u>>2]|0)+28>>2]&63](u,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=r;j=k;while(1){if(j>>>0>=e>>>0)break a;r=a[j>>0]|0;if(!(Ui(r,Cm()|0)|0))break a;j=j+1|0}}else{j=k;w=10}while(0);b:do if((w|0)==10)while(1){w=0;if(j>>>0>=e>>>0)break b;r=a[j>>0]|0;if(!(Qi(r,Cm()|0)|0))break b;j=j+1|0;w=10}while(0);q=a[v>>0]|0;r=v+4|0;c:do if(((q&1)==0?(q&255)>>>1:c[r>>2]|0)|0){d:do if((k|0)!=(j|0)){l=j;m=k;while(1){l=l+-1|0;if(m>>>0>=l>>>0)break d;q=a[m>>0]|0;a[m>>0]=a[l>>0]|0;a[l>>0]=q;m=m+1|0}}while(0);n=Db[c[(c[s>>2]|0)+16>>2]&127](s)|0;o=v+8|0;p=v+1|0;l=0;m=0;q=k;while(1){if(q>>>0>=j>>>0)break;y=a[((a[v>>0]&1)==0?p:c[o>>2]|0)+m>>0]|0;if(y<<24>>24>0&(l|0)==(y<<24>>24|0)){y=c[h>>2]|0;c[h>>2]=y+1;a[y>>0]=n;y=a[v>>0]|0;l=0;m=(m>>>0<(((y&1)==0?(y&255)>>>1:c[r>>2]|0)+-1|0)>>>0&1)+m|0}z=Jb[c[(c[u>>2]|0)+28>>2]&63](u,a[q>>0]|0)|0;y=c[h>>2]|0;c[h>>2]=y+1;a[y>>0]=z;l=l+1|0;q=q+1|0}l=f+(k-b)|0;k=c[h>>2]|0;if((l|0)==(k|0))l=u;else while(1){k=k+-1|0;if(l>>>0>=k>>>0){l=u;break c}z=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=z;l=l+1|0}}else{Hb[c[(c[u>>2]|0)+32>>2]&7](u,k,j,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(j-k);l=u}while(0);while(1){if(j>>>0>=e>>>0)break;k=a[j>>0]|0;if(k<<24>>24==46){w=29;break}y=Jb[c[(c[l>>2]|0)+28>>2]&63](u,k)|0;z=c[h>>2]|0;c[h>>2]=z+1;a[z>>0]=y;j=j+1|0}if((w|0)==29){y=Db[c[(c[s>>2]|0)+12>>2]&127](s)|0;z=c[h>>2]|0;c[h>>2]=z+1;a[z>>0]=y;j=j+1|0}Hb[c[(c[u>>2]|0)+32>>2]&7](u,j,e,c[h>>2]|0)|0;z=(c[h>>2]|0)+(t-j)|0;c[h>>2]=z;c[g>>2]=(d|0)==(e|0)?z:f+(d-b)|0;Zj(v);i=x;return}function Vn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;x=i;i=i+176|0;r=x+76|0;n=x+48|0;m=x+32|0;j=x+24|0;g=x+8|0;l=x;p=x+138|0;o=x+72|0;q=x+80|0;w=x+68|0;v=x+64|0;s=x+60|0;t=x+56|0;k=l;c[k>>2]=37;c[k+4>>2]=0;k=Sn(l+1|0,20415,c[d+4>>2]|0)|0;c[o>>2]=p;a=Cm()|0;if(k){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=Ln(p,30,a,l,g)|0}else{h[j>>3]=f;a=Ln(p,30,a,l,j)|0}if((a|0)>29){a=Cm()|0;if(k){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=Tn(o,a,l,m)|0}else{h[n>>3]=f;g=Tn(o,a,l,n)|0}a=c[o>>2]|0;if(!a)uu();else{y=a;A=a;u=g}}else{y=c[o>>2]|0;A=0;u=a}g=y+u|0;j=Mn(y,g,d)|0;if((y|0)!=(p|0)){a=bj(u<<1)|0;if(!a)uu();else{z=y;B=a;C=a}}else{z=p;B=q;C=0}y=Nl(d)|0;c[s>>2]=y;Un(z,j,g,B,w,v,s);Ht(y)|0;c[t>>2]=c[b>>2];z=c[w>>2]|0;b=c[v>>2]|0;c[r>>2]=c[t>>2];b=Ud(r,B,z,b,d,e)|0;cj(C);cj(A);i=x;return b|0}function Wn(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=i;i=i+80|0;m=h;b=h+72|0;j=h+52|0;k=h+12|0;o=h+8|0;n=h+4|0;a[b>>0]=a[20417]|0;a[b+1>>0]=a[20418]|0;a[b+2>>0]=a[20419]|0;a[b+3>>0]=a[20420]|0;a[b+4>>0]=a[20421]|0;a[b+5>>0]=a[20422]|0;l=Cm()|0;c[m>>2]=g;b=Ln(j,20,l,b,m)|0;l=j+b|0;g=Mn(j,l,e)|0;p=Nl(e)|0;c[o>>2]=p;o=sm(o,1211488)|0;Ht(p)|0;Hb[c[(c[o>>2]|0)+32>>2]&7](o,j,l,k)|0;b=k+b|0;c[n>>2]=c[d>>2];c[m>>2]=c[n>>2];b=Ud(m,k,(g|0)==(l|0)?b:k+(g-j)|0,b,e,f)|0;i=h;return b|0}function Xn(a){a=a|0;return}function Yn(a){a=a|0;Qt(a);return}function Zn(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;m=i;i=i+32|0;l=m+8|0;h=m+4|0;j=m;if(!(c[e+4>>2]&1)){k=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[l>>2]=c[h>>2];h=Kb[k&31](b,l,e,f,g&1)|0}else{k=Nl(e)|0;c[j>>2]=k;h=sm(j,1211528)|0;Ht(k)|0;j=c[h>>2]|0;if(g)Ab[c[j+24>>2]&63](l,h);else Ab[c[j+28>>2]&63](l,h);e=a[l>>0]|0;b=l+4|0;g=l+8|0;k=c[g>>2]|0;h=e;j=k;k=(e&1)==0?b:k;while(1){e=(h&1)==0;if((k|0)==((e?b:j)+((e?(h&255)>>>1:c[b>>2]|0)<<2)|0))break;h=c[k>>2]|0;j=c[d>>2]|0;if(j|0){f=j+24|0;e=c[f>>2]|0;if((e|0)==(c[j+28>>2]|0))h=Jb[c[(c[j>>2]|0)+52>>2]&63](j,h)|0;else{c[f>>2]=e+4;c[e>>2]=h}if((h|0)==-1)c[d>>2]=0}h=a[l>>0]|0;j=c[g>>2]|0;k=k+4|0}h=c[d>>2]|0;vk(l)}i=m;return h|0}function _n(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;i=i+128|0;k=h;o=h+116|0;q=h+104|0;j=h+20|0;m=h+16|0;b=h+8|0;n=h+12|0;l=h+4|0;a[o>>0]=a[20404]|0;a[o+1>>0]=a[20405]|0;a[o+2>>0]=a[20406]|0;a[o+3>>0]=a[20407]|0;a[o+4>>0]=a[20408]|0;a[o+5>>0]=a[20409]|0;Kn(o+1|0,20410,1,c[e+4>>2]|0);p=Cm()|0;c[k>>2]=g;o=q+(Ln(q,12,p,o,k)|0)|0;p=Mn(q,o,e)|0;g=Nl(e)|0;c[n>>2]=g;$n(q,p,o,j,m,b,n);Ht(g)|0;c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=ao(k,j,g,b,e,f)|0;i=h;return b|0}function $n(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+16|0;s=t;r=sm(j,1211520)|0;m=sm(j,1211528)|0;Ab[c[(c[m>>2]|0)+20>>2]&63](s,m);p=a[s>>0]|0;q=s+4|0;a:do if(((p&1)==0?(p&255)>>>1:c[q>>2]|0)|0){c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{p=Jb[c[(c[r>>2]|0)+44>>2]&63](r,j)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=p;k=b+1|0;break}default:k=b}b:do if((e-k|0)>1?(a[k>>0]|0)==48:0){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break b}p=Jb[c[(c[r>>2]|0)+44>>2]&63](r,48)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=p;o=Jb[c[(c[r>>2]|0)+44>>2]&63](r,a[j>>0]|0)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=o;k=k+2|0}while(0);c:do if((k|0)!=(e|0)){j=e;l=k;while(1){j=j+-1|0;if(l>>>0>=j>>>0)break c;p=a[l>>0]|0;a[l>>0]=a[j>>0]|0;a[j>>0]=p;l=l+1|0}}while(0);m=Db[c[(c[m>>2]|0)+16>>2]&127](m)|0;n=s+8|0;o=s+1|0;j=0;l=0;p=k;while(1){if(p>>>0>=e>>>0)break;u=a[((a[s>>0]&1)==0?o:c[n>>2]|0)+l>>0]|0;if(u<<24>>24!=0&(j|0)==(u<<24>>24|0)){u=c[h>>2]|0;c[h>>2]=u+4;c[u>>2]=m;u=a[s>>0]|0;j=0;l=(l>>>0<(((u&1)==0?(u&255)>>>1:c[q>>2]|0)+-1|0)>>>0&1)+l|0}v=Jb[c[(c[r>>2]|0)+44>>2]&63](r,a[p>>0]|0)|0;u=c[h>>2]|0;c[h>>2]=u+4;c[u>>2]=v;j=j+1|0;p=p+1|0}j=f+(k-b<<2)|0;l=c[h>>2]|0;if((j|0)!=(l|0)){k=l;while(1){k=k+-4|0;if(j>>>0>=k>>>0){j=l;break a}v=c[j>>2]|0;c[j>>2]=c[k>>2];c[k>>2]=v;j=j+4|0}}}else{Hb[c[(c[r>>2]|0)+48>>2]&7](r,b,e,f)|0;j=f+(e-b<<2)|0;c[h>>2]=j}while(0);c[g>>2]=(d|0)==(e|0)?j:f+(d-b<<2)|0;Zj(s);i=t;return}function ao(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;n=o;j=c[b>>2]|0;a:do if(!j)j=0;else{p=d;l=f-p>>2;m=g+12|0;g=c[m>>2]|0;l=(g|0)>(l|0)?g-l|0:0;g=e;p=g-p|0;k=p>>2;if((p|0)>0?(wb[c[(c[j>>2]|0)+48>>2]&31](j,d,k)|0)!=(k|0):0){c[b>>2]=0;j=0;break}do if((l|0)>0){tk(n,l,h);if((wb[c[(c[j>>2]|0)+48>>2]&31](j,(a[n>>0]&1)==0?n+4|0:c[n+8>>2]|0,l)|0)==(l|0)){vk(n);break}else{c[b>>2]=0;vk(n);j=0;break a}}while(0);p=f-g|0;f=p>>2;if((p|0)>0?(wb[c[(c[j>>2]|0)+48>>2]&31](j,e,f)|0)!=(f|0):0){c[b>>2]=0;j=0;break}c[m>>2]=0}while(0);i=o;return j|0}function bo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;i=i+224|0;k=h+8|0;o=h;p=h+196|0;j=h+32|0;m=h+28|0;a=h+20|0;n=h+24|0;l=h+16|0;q=o;c[q>>2]=37;c[q+4>>2]=0;Kn(o+1|0,20412,1,c[d+4>>2]|0);q=Cm()|0;r=k;c[r>>2]=f;c[r+4>>2]=g;f=p+(Ln(p,22,q,o,k)|0)|0;o=Mn(p,f,d)|0;g=Nl(d)|0;c[n>>2]=g;$n(p,o,f,j,m,a,n);Ht(g)|0;c[l>>2]=c[b>>2];b=c[m>>2]|0;a=c[a>>2]|0;c[k>>2]=c[l>>2];a=ao(k,j,b,a,d,e)|0;i=h;return a|0}function co(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=i;i=i+128|0;k=h;o=h+116|0;q=h+104|0;j=h+20|0;m=h+16|0;b=h+8|0;n=h+12|0;l=h+4|0;a[o>>0]=a[20404]|0;a[o+1>>0]=a[20405]|0;a[o+2>>0]=a[20406]|0;a[o+3>>0]=a[20407]|0;a[o+4>>0]=a[20408]|0;a[o+5>>0]=a[20409]|0;Kn(o+1|0,20410,0,c[e+4>>2]|0);p=Cm()|0;c[k>>2]=g;o=q+(Ln(q,12,p,o,k)|0)|0;p=Mn(q,o,e)|0;g=Nl(e)|0;c[n>>2]=g;$n(q,p,o,j,m,b,n);Ht(g)|0;c[l>>2]=c[d>>2];g=c[m>>2]|0;b=c[b>>2]|0;c[k>>2]=c[l>>2];b=ao(k,j,g,b,e,f)|0;i=h;return b|0}function eo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=i;i=i+240|0;k=h+8|0;o=h;p=h+204|0;j=h+32|0;m=h+28|0;a=h+20|0;n=h+24|0;l=h+16|0;q=o;c[q>>2]=37;c[q+4>>2]=0;Kn(o+1|0,20412,0,c[d+4>>2]|0);q=Cm()|0;r=k;c[r>>2]=f;c[r+4>>2]=g;f=p+(Ln(p,23,q,o,k)|0)|0;o=Mn(p,f,d)|0;g=Nl(d)|0;c[n>>2]=g;$n(p,o,f,j,m,a,n);Ht(g)|0;c[l>>2]=c[b>>2];b=c[m>>2]|0;a=c[a>>2]|0;c[k>>2]=c[l>>2];a=ao(k,j,b,a,d,e)|0;i=h;return a|0}function fo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;y=i;i=i+336|0;p=y+296|0;l=y+32|0;j=y+24|0;g=y+8|0;k=y;n=y+300|0;m=y+292|0;o=y+64|0;u=y+60|0;t=y+56|0;q=y+52|0;r=y+48|0;B=k;c[B>>2]=37;c[B+4>>2]=0;B=Sn(k+1|0,1280956,c[d+4>>2]|0)|0;c[m>>2]=n;a=Cm()|0;if(B){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=Ln(n,30,a,k,g)|0}else{h[j>>3]=f;a=Ln(n,30,a,k,j)|0}if((a|0)>29){g=Cm()|0;c[l>>2]=c[d+8>>2];h[l+8>>3]=f;g=Tn(m,g,k,l)|0;a=c[m>>2]|0;if(!a)uu();else{v=a;z=a;s=g}}else{v=c[m>>2]|0;z=0;s=a}g=v+s|0;j=Mn(v,g,d)|0;if((v|0)!=(n|0)){a=bj(s<<3)|0;if(!a)uu();else{w=v;x=a;A=a}}else{w=n;x=o;A=0}B=Nl(d)|0;c[q>>2]=B;go(w,j,g,x,u,t,q);Ht(B)|0;c[r>>2]=c[b>>2];B=c[u>>2]|0;a=c[t>>2]|0;c[p>>2]=c[r>>2];a=ao(p,x,B,a,d,e)|0;c[b>>2]=a;if(A|0)cj(A);cj(z);i=y;return a|0}function go(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;x=i;i=i+16|0;v=x;u=sm(j,1211520)|0;s=sm(j,1211528)|0;Ab[c[(c[s>>2]|0)+20>>2]&63](v,s);c[h>>2]=f;j=a[b>>0]|0;switch(j<<24>>24){case 43:case 45:{t=Jb[c[(c[u>>2]|0)+44>>2]&63](u,j)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=t;k=b+1|0;break}default:k=b}t=e;a:do if((t-k|0)>1?(a[k>>0]|0)==48:0){j=k+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{j=k;w=10;break a}}q=Jb[c[(c[u>>2]|0)+44>>2]&63](u,48)|0;r=c[h>>2]|0;c[h>>2]=r+4;c[r>>2]=q;k=k+2|0;r=Jb[c[(c[u>>2]|0)+44>>2]&63](u,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=r;j=k;while(1){if(j>>>0>=e>>>0)break a;r=a[j>>0]|0;if(!(Ui(r,Cm()|0)|0))break a;j=j+1|0}}else{j=k;w=10}while(0);b:do if((w|0)==10)while(1){w=0;if(j>>>0>=e>>>0)break b;r=a[j>>0]|0;if(!(Qi(r,Cm()|0)|0))break b;j=j+1|0;w=10}while(0);q=a[v>>0]|0;r=v+4|0;c:do if(((q&1)==0?(q&255)>>>1:c[r>>2]|0)|0){d:do if((k|0)!=(j|0)){l=j;m=k;while(1){l=l+-1|0;if(m>>>0>=l>>>0)break d;q=a[m>>0]|0;a[m>>0]=a[l>>0]|0;a[l>>0]=q;m=m+1|0}}while(0);n=Db[c[(c[s>>2]|0)+16>>2]&127](s)|0;o=v+8|0;p=v+1|0;l=0;m=0;q=k;while(1){if(q>>>0>=j>>>0)break;y=a[((a[v>>0]&1)==0?p:c[o>>2]|0)+m>>0]|0;if(y<<24>>24>0&(l|0)==(y<<24>>24|0)){y=c[h>>2]|0;c[h>>2]=y+4;c[y>>2]=n;y=a[v>>0]|0;l=0;m=(m>>>0<(((y&1)==0?(y&255)>>>1:c[r>>2]|0)+-1|0)>>>0&1)+m|0}z=Jb[c[(c[u>>2]|0)+44>>2]&63](u,a[q>>0]|0)|0;y=c[h>>2]|0;c[h>>2]=y+4;c[y>>2]=z;l=l+1|0;q=q+1|0}k=f+(k-b<<2)|0;m=c[h>>2]|0;if((k|0)==(m|0))l=u;else{l=m;while(1){l=l+-4|0;if(k>>>0>=l>>>0){l=u;k=m;break c}z=c[k>>2]|0;c[k>>2]=c[l>>2];c[l>>2]=z;k=k+4|0}}}else{Hb[c[(c[u>>2]|0)+48>>2]&7](u,k,j,c[h>>2]|0)|0;k=(c[h>>2]|0)+(j-k<<2)|0;c[h>>2]=k;l=u}while(0);while(1){if(j>>>0>=e>>>0)break;k=a[j>>0]|0;if(k<<24>>24==46){w=29;break}y=Jb[c[(c[l>>2]|0)+44>>2]&63](u,k)|0;z=c[h>>2]|0;k=z+4|0;c[h>>2]=k;c[z>>2]=y;j=j+1|0}if((w|0)==29){y=Db[c[(c[s>>2]|0)+12>>2]&127](s)|0;z=c[h>>2]|0;k=z+4|0;c[h>>2]=k;c[z>>2]=y;j=j+1|0}Hb[c[(c[u>>2]|0)+48>>2]&7](u,j,e,k)|0;z=(c[h>>2]|0)+(t-j<<2)|0;c[h>>2]=z;c[g>>2]=(d|0)==(e|0)?z:f+(d-b<<2)|0;Zj(v);i=x;return}function ho(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;A=i;i=i+352|0;r=A+304|0;n=A+48|0;m=A+32|0;j=A+24|0;g=A+8|0;l=A;p=A+308|0;o=A+300|0;q=A+72|0;w=A+68|0;v=A+64|0;s=A+60|0;t=A+56|0;k=l;c[k>>2]=37;c[k+4>>2]=0;k=Sn(l+1|0,20415,c[d+4>>2]|0)|0;c[o>>2]=p;a=Cm()|0;if(k){c[g>>2]=c[d+8>>2];h[g+8>>3]=f;a=Ln(p,30,a,l,g)|0}else{h[j>>3]=f;a=Ln(p,30,a,l,j)|0}if((a|0)>29){a=Cm()|0;if(k){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;g=Tn(o,a,l,m)|0}else{h[n>>3]=f;g=Tn(o,a,l,n)|0}a=c[o>>2]|0;if(!a)uu();else{x=a;B=a;u=g}}else{x=c[o>>2]|0;B=0;u=a}g=x+u|0;j=Mn(x,g,d)|0;if((x|0)!=(p|0)){a=bj(u<<3)|0;if(!a)uu();else{y=x;z=a;C=a}}else{y=p;z=q;C=0}a=Nl(d)|0;c[s>>2]=a;go(y,j,g,z,w,v,s);Ht(a)|0;c[t>>2]=c[b>>2];y=c[w>>2]|0;a=c[v>>2]|0;c[r>>2]=c[t>>2];a=ao(r,z,y,a,d,e)|0;c[b>>2]=a;if(C|0)cj(C);cj(B);i=A;return a|0}function io(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=i;i=i+192|0;m=h;b=h+180|0;j=h+160|0;k=h+8|0;o=h+156|0;n=h+4|0;a[b>>0]=a[20417]|0;a[b+1>>0]=a[20418]|0;a[b+2>>0]=a[20419]|0;a[b+3>>0]=a[20420]|0;a[b+4>>0]=a[20421]|0;a[b+5>>0]=a[20422]|0;l=Cm()|0;c[m>>2]=g;b=Ln(j,20,l,b,m)|0;l=j+b|0;g=Mn(j,l,e)|0;p=Nl(e)|0;c[o>>2]=p;o=sm(o,1211520)|0;Ht(p)|0;Hb[c[(c[o>>2]|0)+48>>2]&7](o,j,l,k)|0;b=k+(b<<2)|0;c[n>>2]=c[d>>2];c[m>>2]=c[n>>2];b=ao(m,k,(g|0)==(l|0)?b:k+(g-j<<2)|0,b,e,f)|0;i=h;return b|0}function jo(a){a=a|0;return}function ko(a){a=a|0;Qt(a);return}function lo(a){a=a|0;return 2}function mo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=no(a,k,j,e,f,g,20635,20643)|0;i=h;return a|0}function no(e,f,g,h,j,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=i;i=i+32|0;u=B+16|0;t=B+12|0;x=B+8|0;v=B+4|0;w=B;y=Nl(h)|0;c[x>>2]=y;x=sm(x,1211488)|0;Ht(y)|0;c[j>>2]=0;y=x+8|0;n=l;l=0;a:while(1){s=(n|0)!=(m|0);o=l;while(1){l=c[f>>2]|0;if(!(s&(o|0)==0))break a;o=l;if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;o=0;l=0}}else l=0;r=(l|0)==0;q=c[g>>2]|0;p=q;do if(q){if((c[q+12>>2]|0)==(c[q+16>>2]|0)?(Db[c[(c[q>>2]|0)+36>>2]&127](q)|0)==-1:0){c[g>>2]=0;p=0;A=13;break}if(!r){A=14;break a}}else A=13;while(0);if((A|0)==13){A=0;if(r){A=14;break a}else q=0}if((wb[c[(c[x>>2]|0)+36>>2]&31](x,a[n>>0]|0,0)|0)<<24>>24==37){s=p;A=16;break}o=a[n>>0]|0;if(o<<24>>24>-1?(z=c[y>>2]|0,b[z+(o<<24>>24<<1)>>1]&8192):0){p=z;A=25;break}q=l+12|0;p=c[q>>2]|0;o=l+16|0;if((p|0)==(c[o>>2]|0))p=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else p=d[p>>0]|0;r=Jb[c[(c[x>>2]|0)+12>>2]&63](x,p&255)|0;if(r<<24>>24==(Jb[c[(c[x>>2]|0)+12>>2]&63](x,a[n>>0]|0)|0)<<24>>24){A=53;break}c[j>>2]=4;o=4}b:do if((A|0)==16){A=0;p=n+1|0;if((p|0)==(m|0)){A=17;break a}r=wb[c[(c[x>>2]|0)+36>>2]&31](x,a[p>>0]|0,0)|0;switch(r<<24>>24){case 48:case 69:{q=n+2|0;if((q|0)==(m|0)){A=22;break a}n=p;p=wb[c[(c[x>>2]|0)+36>>2]&31](x,a[q>>0]|0,0)|0;l=r;break}default:{p=r;l=0}}r=c[(c[e>>2]|0)+36>>2]|0;c[v>>2]=o;c[w>>2]=s;c[t>>2]=c[v>>2];c[u>>2]=c[w>>2];c[f>>2]=Gb[r&15](e,t,u,h,j,k,p,l)|0;l=n+2|0}else if((A|0)==25){A=0;do{n=n+1|0;if((n|0)==(m|0)){n=m;break}o=a[n>>0]|0;if(o<<24>>24<=-1)break}while((b[p+(o<<24>>24<<1)>>1]&8192)!=0);o=q;while(1){if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;l=0}}else l=0;p=(l|0)==0;do if(q){if((c[q+12>>2]|0)!=(c[q+16>>2]|0))if(p){s=o;break}else{l=n;break b}if((Db[c[(c[q>>2]|0)+36>>2]&127](q)|0)!=-1)if(p^(o|0)==0){s=o;q=o;break}else{l=n;break b}else{c[g>>2]=0;o=0;A=39;break}}else A=39;while(0);if((A|0)==39){A=0;if(p){l=n;break b}else{s=o;q=0}}p=l+12|0;o=c[p>>2]|0;r=l+16|0;if((o|0)==(c[r>>2]|0))o=Db[c[(c[l>>2]|0)+36>>2]&127](l)|0;else o=d[o>>0]|0;if((o&255)<<24>>24<=-1){l=n;break b}if(!(b[(c[y>>2]|0)+(o<<24>>24<<1)>>1]&8192)){l=n;break b}o=c[p>>2]|0;if((o|0)==(c[r>>2]|0)){Db[c[(c[l>>2]|0)+40>>2]&127](l)|0;o=s;continue}else{c[p>>2]=o+1;o=s;continue}}}else if((A|0)==53){A=0;p=c[q>>2]|0;if((p|0)==(c[o>>2]|0))Db[c[(c[l>>2]|0)+40>>2]&127](l)|0;else c[q>>2]=p+1;l=n+1|0}while(0);n=l;l=c[j>>2]|0}if((A|0)==14)c[j>>2]=4;else if((A|0)==17)c[j>>2]=4;else if((A|0)==22)c[j>>2]=4;if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;l=0}}else l=0;n=(l|0)==0;o=c[g>>2]|0;do if(o){if((c[o+12>>2]|0)==(c[o+16>>2]|0)?(Db[c[(c[o>>2]|0)+36>>2]&127](o)|0)==-1:0){c[g>>2]=0;A=68;break}if(!n)A=69}else A=68;while(0);if((A|0)==68?n:0)A=69;if((A|0)==69)c[j>>2]=c[j>>2]|2;i=B;return l|0}function oo(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=i;i=i+16|0;k=j+12|0;l=j+8|0;n=j+4|0;m=j;o=b+8|0;o=Db[c[(c[o>>2]|0)+20>>2]&127](o)|0;c[n>>2]=c[d>>2];c[m>>2]=c[e>>2];e=a[o>>0]|0;p=(e&1)==0;d=p?o+1|0:c[o+8>>2]|0;e=d+(p?(e&255)>>>1:c[o+4>>2]|0)|0;c[l>>2]=c[n>>2];c[k>>2]=c[m>>2];b=no(b,l,k,f,g,h,d,e)|0;i=j;return b|0}function po(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211488)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];qo(a,g+24|0,b,j,f,e);i=h;return c[b>>2]|0}function qo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h+4|0;k=h;a=a+8|0;a=Db[c[c[a>>2]>>2]&127](a)|0;c[k>>2]=c[e>>2];c[j>>2]=c[k>>2];d=(wm(d,j,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;i=h;return}function ro(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211488)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];so(a,g+16|0,b,j,f,e);i=h;return c[b>>2]|0}function so(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h+4|0;k=h;a=a+8|0;a=Db[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[k>>2]=c[e>>2];c[j>>2]=c[k>>2];d=(wm(d,j,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;i=h;return}function to(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211488)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];uo(a,g+20|0,b,j,f,e);i=h;return c[b>>2]|0}function uo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;c[b>>2]=a+-1900}i=h;return}function vo(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=c[a>>2]|0;do if(i){if((c[i+12>>2]|0)==(c[i+16>>2]|0))if((Db[c[(c[i>>2]|0)+36>>2]&127](i)|0)==-1){c[a>>2]=0;i=0;break}else{i=c[a>>2]|0;break}}else i=0;while(0);j=(i|0)==0;i=c[e>>2]|0;do if(i){if((c[i+12>>2]|0)==(c[i+16>>2]|0)?(Db[c[(c[i>>2]|0)+36>>2]&127](i)|0)==-1:0){c[e>>2]=0;r=11;break}if(j)r=13;else r=12}else r=11;while(0);if((r|0)==11)if(j)r=12;else{i=0;r=13}a:do if((r|0)==12){c[f>>2]=c[f>>2]|6;i=0}else if((r|0)==13){j=c[a>>2]|0;k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=d[k>>0]|0;k=j&255;if(k<<24>>24>-1?(q=g+8|0,b[(c[q>>2]|0)+(j<<24>>24<<1)>>1]&2048):0){m=(wb[c[(c[g>>2]|0)+36>>2]&31](g,k,0)|0)<<24>>24;j=c[a>>2]|0;k=j+12|0;l=c[k>>2]|0;if((l|0)==(c[j+16>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;o=h;n=i;h=i;i=m}else{c[k>>2]=l+1;o=h;n=i;h=i;i=m}while(1){i=i+-48|0;p=o+-1|0;j=c[a>>2]|0;do if(j){if((c[j+12>>2]|0)==(c[j+16>>2]|0))if((Db[c[(c[j>>2]|0)+36>>2]&127](j)|0)==-1){c[a>>2]=0;j=0;break}else{j=c[a>>2]|0;break}}else j=0;while(0);l=(j|0)==0;if(h)if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Db[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;k=0;h=0}else{k=n;h=n}else k=n;else{k=n;h=0}j=c[a>>2]|0;if(!((o|0)>1&(l^(h|0)==0)))break;l=c[j+12>>2]|0;if((l|0)==(c[j+16>>2]|0))j=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=d[l>>0]|0;l=j&255;if(l<<24>>24<=-1)break a;if(!(b[(c[q>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=((wb[c[(c[g>>2]|0)+36>>2]&31](g,l,0)|0)<<24>>24)+(i*10|0)|0;j=c[a>>2]|0;l=j+12|0;m=c[l>>2]|0;if((m|0)==(c[j+16>>2]|0)){Db[c[(c[j>>2]|0)+40>>2]&127](j)|0;o=p;n=k;continue}else{c[l>>2]=m+1;o=p;n=k;continue}}do if(j){if((c[j+12>>2]|0)==(c[j+16>>2]|0))if((Db[c[(c[j>>2]|0)+36>>2]&127](j)|0)==-1){c[a>>2]=0;j=0;break}else{j=c[a>>2]|0;break}}else j=0;while(0);j=(j|0)==0;do if(k){if((c[k+12>>2]|0)==(c[k+16>>2]|0)?(Db[c[(c[k>>2]|0)+36>>2]&127](k)|0)==-1:0){c[e>>2]=0;r=50;break}if(j)break a}else r=50;while(0);if((r|0)==50?!j:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function wo(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;S=i;i=i+144|0;l=S+132|0;k=S+116|0;L=S+128|0;w=S+124|0;H=S+120|0;M=S+112|0;N=S+108|0;O=S+104|0;P=S+100|0;Q=S+96|0;R=S+92|0;m=S+88|0;n=S+84|0;o=S+80|0;p=S+76|0;q=S+72|0;r=S+68|0;s=S+64|0;t=S+60|0;u=S+56|0;v=S+52|0;x=S+48|0;y=S+44|0;z=S+40|0;A=S+36|0;B=S+32|0;C=S+28|0;D=S+24|0;E=S+20|0;F=S+16|0;G=S+12|0;I=S+8|0;J=S+4|0;K=S;c[g>>2]=0;U=Nl(f)|0;c[L>>2]=U;L=sm(L,1211488)|0;Ht(U)|0;do switch(j<<24>>24|0){case 65:case 97:{c[w>>2]=c[e>>2];c[l>>2]=c[w>>2];qo(b,h+24|0,d,l,g,L);T=26;break}case 104:case 66:case 98:{c[H>>2]=c[e>>2];c[l>>2]=c[H>>2];so(b,h+16|0,d,l,g,L);T=26;break}case 99:{T=b+8|0;T=Db[c[(c[T>>2]|0)+12>>2]&127](T)|0;c[M>>2]=c[d>>2];c[N>>2]=c[e>>2];j=a[T>>0]|0;e=(j&1)==0;U=e?T+1|0:c[T+8>>2]|0;T=U+(e?(j&255)>>>1:c[T+4>>2]|0)|0;c[k>>2]=c[M>>2];c[l>>2]=c[N>>2];c[d>>2]=no(b,k,l,f,g,h,U,T)|0;T=26;break}case 101:case 100:{c[O>>2]=c[e>>2];c[l>>2]=c[O>>2];xo(b,h+12|0,d,l,g,L);T=26;break}case 68:{c[P>>2]=c[d>>2];c[Q>>2]=c[e>>2];c[k>>2]=c[P>>2];c[l>>2]=c[Q>>2];c[d>>2]=no(b,k,l,f,g,h,20643,20651)|0;T=26;break}case 70:{c[R>>2]=c[d>>2];c[m>>2]=c[e>>2];c[k>>2]=c[R>>2];c[l>>2]=c[m>>2];c[d>>2]=no(b,k,l,f,g,h,20651,20659)|0;T=26;break}case 72:{c[n>>2]=c[e>>2];c[l>>2]=c[n>>2];yo(b,h+8|0,d,l,g,L);T=26;break}case 73:{c[o>>2]=c[e>>2];c[l>>2]=c[o>>2];zo(b,h+8|0,d,l,g,L);T=26;break}case 106:{c[p>>2]=c[e>>2];c[l>>2]=c[p>>2];Ao(b,h+28|0,d,l,g,L);T=26;break}case 109:{c[q>>2]=c[e>>2];c[l>>2]=c[q>>2];Bo(b,h+16|0,d,l,g,L);T=26;break}case 77:{c[r>>2]=c[e>>2];c[l>>2]=c[r>>2];Co(b,h+4|0,d,l,g,L);T=26;break}case 116:case 110:{c[s>>2]=c[e>>2];c[l>>2]=c[s>>2];Do(b,d,l,g,L);T=26;break}case 112:{c[t>>2]=c[e>>2];c[l>>2]=c[t>>2];Eo(b,h+8|0,d,l,g,L);T=26;break}case 114:{c[u>>2]=c[d>>2];c[v>>2]=c[e>>2];c[k>>2]=c[u>>2];c[l>>2]=c[v>>2];c[d>>2]=no(b,k,l,f,g,h,20659,20670)|0;T=26;break}case 82:{c[x>>2]=c[d>>2];c[y>>2]=c[e>>2];c[k>>2]=c[x>>2];c[l>>2]=c[y>>2];c[d>>2]=no(b,k,l,f,g,h,20670,20675)|0;T=26;break}case 83:{c[z>>2]=c[e>>2];c[l>>2]=c[z>>2];Fo(b,h,d,l,g,L);T=26;break}case 84:{c[A>>2]=c[d>>2];c[B>>2]=c[e>>2];c[k>>2]=c[A>>2];c[l>>2]=c[B>>2];c[d>>2]=no(b,k,l,f,g,h,20675,20683)|0;T=26;break}case 119:{c[C>>2]=c[e>>2];c[l>>2]=c[C>>2];Go(b,h+24|0,d,l,g,L);T=26;break}case 120:{U=c[(c[b>>2]|0)+20>>2]|0;c[D>>2]=c[d>>2];c[E>>2]=c[e>>2];c[k>>2]=c[D>>2];c[l>>2]=c[E>>2];k=Bb[U&63](b,k,l,f,g,h)|0;break}case 88:{T=b+8|0;T=Db[c[(c[T>>2]|0)+24>>2]&127](T)|0;c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];j=a[T>>0]|0;e=(j&1)==0;U=e?T+1|0:c[T+8>>2]|0;T=U+(e?(j&255)>>>1:c[T+4>>2]|0)|0;c[k>>2]=c[F>>2];c[l>>2]=c[G>>2];c[d>>2]=no(b,k,l,f,g,h,U,T)|0;T=26;break}case 121:{c[I>>2]=c[e>>2];c[l>>2]=c[I>>2];uo(b,h+20|0,d,l,g,L);T=26;break}case 89:{c[J>>2]=c[e>>2];c[l>>2]=c[J>>2];Ho(b,h+20|0,d,l,g,L);T=26;break}case 37:{c[K>>2]=c[e>>2];c[l>>2]=c[K>>2];Io(b,d,l,g,L);T=26;break}default:{c[g>>2]=c[g>>2]|4;T=26}}while(0);if((T|0)==26)k=c[d>>2]|0;i=S;return k|0}function xo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function yo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function zo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Ao(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Bo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;i=h;return}function Co(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Do(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=h+8|0;a:while(1){h=c[e>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Db[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}}else h=0;while(0);h=(h|0)==0;a=c[f>>2]|0;do if(a){if((c[a+12>>2]|0)!=(c[a+16>>2]|0))if(h)break;else break a;if((Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)!=-1)if(h)break;else break a;else{c[f>>2]=0;k=12;break}}else k=12;while(0);if((k|0)==12){k=0;if(h){a=0;break}else a=0}h=c[e>>2]|0;i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=d[i>>0]|0;if((h&255)<<24>>24<=-1)break;if(!(b[(c[j>>2]|0)+(h<<24>>24<<1)>>1]&8192))break;h=c[e>>2]|0;a=h+12|0;i=c[a>>2]|0;if((i|0)==(c[h+16>>2]|0)){Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;continue}else{c[a>>2]=i+1;continue}}h=c[e>>2]|0;do if(h){if((c[h+12>>2]|0)==(c[h+16>>2]|0))if((Db[c[(c[h>>2]|0)+36>>2]&127](h)|0)==-1){c[e>>2]=0;h=0;break}else{h=c[e>>2]|0;break}}else h=0;while(0);h=(h|0)==0;do if(a){if((c[a+12>>2]|0)==(c[a+16>>2]|0)?(Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1:0){c[f>>2]=0;k=32;break}if(!h)k=33}else k=32;while(0);if((k|0)==32?h:0)k=33;if((k|0)==33)c[g>>2]=c[g>>2]|2;return}function Eo(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;k=n+4|0;l=n;m=b+8|0;m=Db[c[(c[m>>2]|0)+8>>2]&127](m)|0;b=a[m>>0]|0;if(!(b&1))j=(b&255)>>>1;else j=c[m+4>>2]|0;b=a[m+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[m+16>>2]|0;do if((j|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=wm(e,k,m,m+24|0,h,g,0)|0;j=c[d>>2]|0;if((b|0)==(m|0)&(j|0)==12){c[d>>2]=0;break}if((j|0)<12&(b-m|0)==12)c[d>>2]=j+12}else c[g>>2]=c[g>>2]|4;while(0);i=n;return}function Fo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Go(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function Ho(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=vo(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;i=h;return}function Io(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a=c[b>>2]|0;do if(a){if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1){c[b>>2]=0;a=0;break}else{a=c[b>>2]|0;break}}else a=0;while(0);h=(a|0)==0;a=c[e>>2]|0;do if(a){if((c[a+12>>2]|0)==(c[a+16>>2]|0)?(Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1:0){c[e>>2]=0;j=11;break}if(h){i=a;j=13}else j=12}else j=11;while(0);if((j|0)==11)if(h)j=12;else{i=0;j=13}a:do if((j|0)==12)c[f>>2]=c[f>>2]|6;else if((j|0)==13){a=c[b>>2]|0;h=c[a+12>>2]|0;if((h|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=d[h>>0]|0;if((wb[c[(c[g>>2]|0)+36>>2]&31](g,a&255,0)|0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;break}a=c[b>>2]|0;h=a+12|0;g=c[h>>2]|0;if((g|0)==(c[a+16>>2]|0)){Db[c[(c[a>>2]|0)+40>>2]&127](a)|0;a=c[b>>2]|0;if(!a)a=0;else j=21}else{c[h>>2]=g+1;j=21}do if((j|0)==21)if((c[a+12>>2]|0)==(c[a+16>>2]|0))if((Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1){c[b>>2]=0;a=0;break}else{a=c[b>>2]|0;break}while(0);a=(a|0)==0;do if(i){if((c[i+12>>2]|0)==(c[i+16>>2]|0)?(Db[c[(c[i>>2]|0)+36>>2]&127](i)|0)==-1:0){c[e>>2]=0;j=30;break}if(a)break a}else j=30;while(0);if((j|0)==30?!a:0)break;c[f>>2]=c[f>>2]|2}while(0);return}function Jo(b){b=b|0;var d=0;if((a[1054184]|0)==0?Ba(1054184)|0:0){if((a[1054192]|0)==0?Ba(1054192)|0:0){b=1211560;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1211728);Ia(1054192)}ck(1211560,20683)|0;ck(1211572,20690)|0;ck(1211584,20697)|0;ck(1211596,20705)|0;ck(1211608,20715)|0;ck(1211620,20724)|0;ck(1211632,20731)|0;ck(1211644,20740)|0;ck(1211656,20744)|0;ck(1211668,20748)|0;ck(1211680,20752)|0;ck(1211692,20756)|0;ck(1211704,20760)|0;ck(1211716,20764)|0;c[302932]=1211560;Ia(1054184)}return c[302932]|0}function Ko(b){b=b|0;var d=0;if((a[1054200]|0)==0?Ba(1054200)|0:0){if((a[1054208]|0)==0?Ba(1054208)|0:0){b=1211732;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1212020);Ia(1054208)}ck(1211732,20768)|0;ck(1211744,20776)|0;ck(1211756,20785)|0;ck(1211768,20791)|0;ck(1211780,20797)|0;ck(1211792,20801)|0;ck(1211804,20806)|0;ck(1211816,20811)|0;ck(1211828,20818)|0;ck(1211840,20828)|0;ck(1211852,20836)|0;ck(1211864,20845)|0;ck(1211876,20854)|0;ck(1211888,20858)|0;ck(1211900,20862)|0;ck(1211912,20866)|0;ck(1211924,20797)|0;ck(1211936,20870)|0;ck(1211948,20874)|0;ck(1211960,20878)|0;ck(1211972,20882)|0;ck(1211984,20886)|0;ck(1211996,20890)|0;ck(1212008,20894)|0;c[303005]=1211732;Ia(1054200)}return c[303005]|0}function Lo(b){b=b|0;var d=0;if((a[1054216]|0)==0?Ba(1054216)|0:0){if((a[1054224]|0)==0?Ba(1054224)|0:0){b=1212024;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1212312);Ia(1054224)}ck(1212024,20898)|0;ck(1212036,20901)|0;c[303078]=1212024;Ia(1054216)}return c[303078]|0}function Mo(b){b=b|0;if((a[1054232]|0)==0?Ba(1054232)|0:0){Vj(1212316,20904,20);Ia(1054232)}return 1212316}function No(b){b=b|0;if((a[1054240]|0)==0?Ba(1054240)|0:0){Vj(1212328,20925,11);Ia(1054240)}return 1212328}function Oo(b){b=b|0;if((a[1054248]|0)==0?Ba(1054248)|0:0){Vj(1212340,20937,8);Ia(1054248)}return 1212340}function Po(b){b=b|0;if((a[1054256]|0)==0?Ba(1054256)|0:0){Vj(1212352,20946,8);Ia(1054256)}return 1212352}function Qo(a){a=a|0;return}function Ro(a){a=a|0;Qt(a);return}function So(a){a=a|0;return 2}function To(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Uo(a,k,j,e,f,g,10892,10924)|0;i=h;return a|0}function Uo(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+32|0;s=x+16|0;r=x+12|0;v=x+8|0;t=x+4|0;u=x;k=Nl(e)|0;c[v>>2]=k;v=sm(v,1211520)|0;Ht(k)|0;c[f>>2]=0;k=h;h=0;a:while(1){q=(k|0)!=(j|0);l=h;while(1){h=c[b>>2]|0;if(!(q&(l|0)==0))break a;m=h;if(h){l=c[h+12>>2]|0;if((l|0)==(c[h+16>>2]|0))l=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else l=c[l>>2]|0;if((l|0)==-1){c[b>>2]=0;h=0;m=0;p=1}else p=0}else{h=0;p=1}o=c[d>>2]|0;l=o;do if(o){n=c[o+12>>2]|0;if((n|0)==(c[o+16>>2]|0))n=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else n=c[n>>2]|0;if((n|0)!=-1)if(p){n=o;break}else{w=18;break a}else{c[d>>2]=0;l=0;w=16;break}}else w=16;while(0);if((w|0)==16){w=0;if(p){w=18;break a}else n=0}if((wb[c[(c[v>>2]|0)+52>>2]&31](v,c[k>>2]|0,0)|0)<<24>>24==37){p=l;w=20;break}if(wb[c[(c[v>>2]|0)+12>>2]&31](v,8192,c[k>>2]|0)|0){m=n;w=28;break}n=h+12|0;m=c[n>>2]|0;l=h+16|0;if((m|0)==(c[l>>2]|0))m=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else m=c[m>>2]|0;p=Jb[c[(c[v>>2]|0)+28>>2]&63](v,m)|0;if((p|0)==(Jb[c[(c[v>>2]|0)+28>>2]&63](v,c[k>>2]|0)|0)){w=57;break}c[f>>2]=4;l=4}b:do if((w|0)==20){w=0;l=k+4|0;if((l|0)==(j|0)){w=21;break a}o=wb[c[(c[v>>2]|0)+52>>2]&31](v,c[l>>2]|0,0)|0;switch(o<<24>>24){case 48:case 69:{n=k+8|0;if((n|0)==(j|0)){w=26;break a}k=l;l=wb[c[(c[v>>2]|0)+52>>2]&31](v,c[n>>2]|0,0)|0;h=o;break}default:{l=o;h=0}}q=c[(c[a>>2]|0)+36>>2]|0;c[t>>2]=m;c[u>>2]=p;c[r>>2]=c[t>>2];c[s>>2]=c[u>>2];c[b>>2]=Gb[q&15](a,r,s,e,f,g,l,h)|0;h=k+8|0}else if((w|0)==28){w=0;do{k=k+4|0;if((k|0)==(j|0)){k=j;break}}while(wb[c[(c[v>>2]|0)+12>>2]&31](v,8192,c[k>>2]|0)|0);l=m;o=m;while(1){if(h){m=c[h+12>>2]|0;if((m|0)==(c[h+16>>2]|0))m=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else m=c[m>>2]|0;if((m|0)==-1){c[b>>2]=0;h=0;n=1}else n=0}else{h=0;n=1}do if(o){m=c[o+12>>2]|0;if((m|0)==(c[o+16>>2]|0))m=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else m=c[m>>2]|0;if((m|0)!=-1)if(n^(l|0)==0){p=l;o=l;break}else{h=k;break b}else{c[d>>2]=0;l=0;w=44;break}}else w=44;while(0);if((w|0)==44){w=0;if(n){h=k;break b}else{p=l;o=0}}n=h+12|0;l=c[n>>2]|0;m=h+16|0;if((l|0)==(c[m>>2]|0))l=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else l=c[l>>2]|0;if(!(wb[c[(c[v>>2]|0)+12>>2]&31](v,8192,l)|0)){h=k;break b}l=c[n>>2]|0;if((l|0)==(c[m>>2]|0)){Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;l=p;continue}else{c[n>>2]=l+4;l=p;continue}}}else if((w|0)==57){w=0;m=c[n>>2]|0;if((m|0)==(c[l>>2]|0))Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;else c[n>>2]=m+4;h=k+4|0}while(0);k=h;h=c[f>>2]|0}if((w|0)==18)c[f>>2]=4;else if((w|0)==21)c[f>>2]=4;else if((w|0)==26)c[f>>2]=4;if(h){k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0))k=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else k=c[k>>2]|0;if((k|0)==-1){c[b>>2]=0;h=0;m=1}else m=0}else{h=0;m=1}k=c[d>>2]|0;do if(k){l=c[k+12>>2]|0;if((l|0)==(c[k+16>>2]|0))k=Db[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=c[l>>2]|0;if((k|0)!=-1)if(m)break;else{w=77;break}else{c[d>>2]=0;w=75;break}}else w=75;while(0);if((w|0)==75?m:0)w=77;if((w|0)==77)c[f>>2]=c[f>>2]|2;i=x;return h|0}function Vo(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=i;i=i+16|0;k=j+12|0;l=j+8|0;n=j+4|0;m=j;q=b+8|0;q=Db[c[(c[q>>2]|0)+20>>2]&127](q)|0;c[n>>2]=c[d>>2];c[m>>2]=c[e>>2];o=a[q>>0]|0;p=(o&1)==0;e=q+4|0;d=p?e:c[q+8>>2]|0;e=d+((p?(o&255)>>>1:c[e>>2]|0)<<2)|0;c[l>>2]=c[n>>2];c[k>>2]=c[m>>2];b=Uo(b,l,k,f,g,h,d,e)|0;i=j;return b|0}function Wo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211520)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];Xo(a,g+24|0,b,j,f,e);i=h;return c[b>>2]|0}function Xo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h+4|0;k=h;a=a+8|0;a=Db[c[c[a>>2]>>2]&127](a)|0;c[k>>2]=c[e>>2];c[j>>2]=c[k>>2];d=(hn(d,j,a,a+168|0,g,f,0)|0)-a|0;if((d|0)<168)c[b>>2]=((d|0)/12|0|0)%7|0;i=h;return}function Yo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211520)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];Zo(a,g+16|0,b,j,f,e);i=h;return c[b>>2]|0}function Zo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0;h=i;i=i+16|0;j=h+4|0;k=h;a=a+8|0;a=Db[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[k>>2]=c[e>>2];c[j>>2]=c[k>>2];d=(hn(d,j,a,a+288|0,g,f,0)|0)-a|0;if((d|0)<288)c[b>>2]=((d|0)/12|0|0)%12|0;i=h;return}function _o(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+8|0;m=h+4|0;k=h;l=Nl(e)|0;c[m>>2]=l;e=sm(m,1211520)|0;Ht(l)|0;c[k>>2]=c[d>>2];c[j>>2]=c[k>>2];$o(a,g+20|0,b,j,f,e);i=h;return c[b>>2]|0}function $o(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a+-69|0)>>>0<31?a+1900|0:a;c[b>>2]=a+-1900}i=h;return}function ap(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=c[h>>2]|0;if((g|0)==-1){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);h=c[b>>2]|0;do if(h){g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else g=c[g>>2]|0;if((g|0)!=-1)if(i){o=17;break}else{o=16;break}else{c[b>>2]=0;o=14;break}}else o=14;while(0);if((o|0)==14)if(i)o=16;else{h=0;o=17}a:do if((o|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((o|0)==17){g=c[a>>2]|0;i=c[g+12>>2]|0;if((i|0)==(c[g+16>>2]|0))g=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=c[i>>2]|0;if(!(wb[c[(c[e>>2]|0)+12>>2]&31](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(wb[c[(c[e>>2]|0)+52>>2]&31](e,g,0)|0)<<24>>24;i=c[a>>2]|0;j=i+12|0;k=c[j>>2]|0;if((k|0)==(c[i+16>>2]|0)){Db[c[(c[i>>2]|0)+40>>2]&127](i)|0;m=f;l=h;j=h}else{c[j>>2]=k+4;m=f;l=h;j=h}while(1){g=g+-48|0;n=m+-1|0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=c[i>>2]|0;if((h|0)==-1){c[a>>2]=0;k=1;break}else{k=(c[a>>2]|0)==0;break}}else k=1;while(0);do if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else h=c[h>>2]|0;if((h|0)==-1){c[b>>2]=0;j=0;f=0;h=1;break}else{j=l;f=l;h=(l|0)==0;break}}else{j=l;f=0;h=1}while(0);i=c[a>>2]|0;if(!((m|0)>1&(k^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Db[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=c[h>>2]|0;if(!(wb[c[(c[e>>2]|0)+12>>2]&31](e,2048,h)|0))break a;g=((wb[c[(c[e>>2]|0)+52>>2]&31](e,h,0)|0)<<24>>24)+(g*10|0)|0;h=c[a>>2]|0;i=h+12|0;k=c[i>>2]|0;if((k|0)==(c[h+16>>2]|0)){Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;m=n;l=j;j=f;continue}else{c[i>>2]=k+4;m=n;l=j;j=f;continue}}do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Db[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=c[h>>2]|0;if((h|0)==-1){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);do if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Db[c[(c[j>>2]|0)+36>>2]&127](j)|0;else h=c[h>>2]|0;if((h|0)!=-1)if(i)break a;else break;else{c[b>>2]=0;o=60;break}}else o=60;while(0);if((o|0)==60?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function bp(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;S=i;i=i+144|0;l=S+132|0;k=S+116|0;L=S+128|0;w=S+124|0;H=S+120|0;M=S+112|0;N=S+108|0;O=S+104|0;P=S+100|0;Q=S+96|0;R=S+92|0;m=S+88|0;n=S+84|0;o=S+80|0;p=S+76|0;q=S+72|0;r=S+68|0;s=S+64|0;t=S+60|0;u=S+56|0;v=S+52|0;x=S+48|0;y=S+44|0;z=S+40|0;A=S+36|0;B=S+32|0;C=S+28|0;D=S+24|0;E=S+20|0;F=S+16|0;G=S+12|0;I=S+8|0;J=S+4|0;K=S;c[g>>2]=0;U=Nl(f)|0;c[L>>2]=U;L=sm(L,1211520)|0;Ht(U)|0;do switch(j<<24>>24|0){case 65:case 97:{c[w>>2]=c[e>>2];c[l>>2]=c[w>>2];Xo(b,h+24|0,d,l,g,L);T=26;break}case 104:case 66:case 98:{c[H>>2]=c[e>>2];c[l>>2]=c[H>>2];Zo(b,h+16|0,d,l,g,L);T=26;break}case 99:{U=b+8|0;U=Db[c[(c[U>>2]|0)+12>>2]&127](U)|0;c[M>>2]=c[d>>2];c[N>>2]=c[e>>2];j=a[U>>0]|0;e=(j&1)==0;T=U+4|0;U=e?T:c[U+8>>2]|0;T=U+((e?(j&255)>>>1:c[T>>2]|0)<<2)|0;c[k>>2]=c[M>>2];c[l>>2]=c[N>>2];c[d>>2]=Uo(b,k,l,f,g,h,U,T)|0;T=26;break}case 101:case 100:{c[O>>2]=c[e>>2];c[l>>2]=c[O>>2];cp(b,h+12|0,d,l,g,L);T=26;break}case 68:{c[P>>2]=c[d>>2];c[Q>>2]=c[e>>2];c[k>>2]=c[P>>2];c[l>>2]=c[Q>>2];c[d>>2]=Uo(b,k,l,f,g,h,10924,10956)|0;T=26;break}case 70:{c[R>>2]=c[d>>2];c[m>>2]=c[e>>2];c[k>>2]=c[R>>2];c[l>>2]=c[m>>2];c[d>>2]=Uo(b,k,l,f,g,h,10956,10988)|0;T=26;break}case 72:{c[n>>2]=c[e>>2];c[l>>2]=c[n>>2];dp(b,h+8|0,d,l,g,L);T=26;break}case 73:{c[o>>2]=c[e>>2];c[l>>2]=c[o>>2];ep(b,h+8|0,d,l,g,L);T=26;break}case 106:{c[p>>2]=c[e>>2];c[l>>2]=c[p>>2];fp(b,h+28|0,d,l,g,L);T=26;break}case 109:{c[q>>2]=c[e>>2];c[l>>2]=c[q>>2];gp(b,h+16|0,d,l,g,L);T=26;break}case 77:{c[r>>2]=c[e>>2];c[l>>2]=c[r>>2];hp(b,h+4|0,d,l,g,L);T=26;break}case 116:case 110:{c[s>>2]=c[e>>2];c[l>>2]=c[s>>2];ip(b,d,l,g,L);T=26;break}case 112:{c[t>>2]=c[e>>2];c[l>>2]=c[t>>2];jp(b,h+8|0,d,l,g,L);T=26;break}case 114:{c[u>>2]=c[d>>2];c[v>>2]=c[e>>2];c[k>>2]=c[u>>2];c[l>>2]=c[v>>2];c[d>>2]=Uo(b,k,l,f,g,h,10988,11032)|0;T=26;break}case 82:{c[x>>2]=c[d>>2];c[y>>2]=c[e>>2];c[k>>2]=c[x>>2];c[l>>2]=c[y>>2];c[d>>2]=Uo(b,k,l,f,g,h,11032,11052)|0;T=26;break}case 83:{c[z>>2]=c[e>>2];c[l>>2]=c[z>>2];kp(b,h,d,l,g,L);T=26;break}case 84:{c[A>>2]=c[d>>2];c[B>>2]=c[e>>2];c[k>>2]=c[A>>2];c[l>>2]=c[B>>2];c[d>>2]=Uo(b,k,l,f,g,h,11052,11084)|0;T=26;break}case 119:{c[C>>2]=c[e>>2];c[l>>2]=c[C>>2];lp(b,h+24|0,d,l,g,L);T=26;break}case 120:{U=c[(c[b>>2]|0)+20>>2]|0;c[D>>2]=c[d>>2];c[E>>2]=c[e>>2];c[k>>2]=c[D>>2];c[l>>2]=c[E>>2];k=Bb[U&63](b,k,l,f,g,h)|0;break}case 88:{U=b+8|0;U=Db[c[(c[U>>2]|0)+24>>2]&127](U)|0;c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];j=a[U>>0]|0;e=(j&1)==0;T=U+4|0;U=e?T:c[U+8>>2]|0;T=U+((e?(j&255)>>>1:c[T>>2]|0)<<2)|0;c[k>>2]=c[F>>2];c[l>>2]=c[G>>2];c[d>>2]=Uo(b,k,l,f,g,h,U,T)|0;T=26;break}case 121:{c[I>>2]=c[e>>2];c[l>>2]=c[I>>2];$o(b,h+20|0,d,l,g,L);T=26;break}case 89:{c[J>>2]=c[e>>2];c[l>>2]=c[J>>2];mp(b,h+20|0,d,l,g,L);T=26;break}case 37:{c[K>>2]=c[e>>2];c[l>>2]=c[K>>2];np(b,d,l,g,L);T=26;break}default:{c[g>>2]=c[g>>2]|4;T=26}}while(0);if((T|0)==26)k=c[d>>2]|0;i=S;return k|0}function cp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function dp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function ep(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function fp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function gp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;i=h;return}function hp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function ip(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:while(1){a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=c[a>>2]|0;if((a|0)!=-1)if(h){h=g;break}else{h=g;break a}else{c[d>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if(!(wb[c[(c[f>>2]|0)+12>>2]&31](f,8192,a)|0))break;a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0)){Db[c[(c[a>>2]|0)+40>>2]&127](a)|0;continue}else{c[g>>2]=h+4;continue}}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else a=c[a>>2]|0;if((a|0)!=-1)if(g)break;else{i=39;break}else{c[d>>2]=0;i=37;break}}else i=37;while(0);if((i|0)==37?g:0)i=39;if((i|0)==39)c[e>>2]=c[e>>2]|2;return}function jp(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;k=n+4|0;l=n;m=b+8|0;m=Db[c[(c[m>>2]|0)+8>>2]&127](m)|0;b=a[m>>0]|0;if(!(b&1))j=(b&255)>>>1;else j=c[m+4>>2]|0;b=a[m+12>>0]|0;if(!(b&1))b=(b&255)>>>1;else b=c[m+16>>2]|0;do if((j|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=hn(e,k,m,m+24|0,h,g,0)|0;j=c[d>>2]|0;if((b|0)==(m|0)&(j|0)==12){c[d>>2]=0;break}if((j|0)<12&(b-m|0)==12)c[d>>2]=j+12}else c[g>>2]=c[g>>2]|4;while(0);i=n;return}function kp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function lp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;i=h;return}function mp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;i=i+16|0;a=h+4|0;j=h;c[j>>2]=c[e>>2];c[a>>2]=c[j>>2];a=ap(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;i=h;return}function np(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=c[a>>2]|0;if((a|0)!=-1)if(h){i=g;j=17;break}else{j=16;break}else{c[d>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h)j=16;else{i=0;j=17}a:do if((j|0)==16)c[e>>2]=c[e>>2]|6;else if((j|0)==17){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if((wb[c[(c[f>>2]|0)+52>>2]&31](f,a,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0)){Db[c[(c[a>>2]|0)+40>>2]&127](a)|0;a=c[b>>2]|0;if(!a)g=1;else j=25}else{c[g>>2]=h+4;j=25}do if((j|0)==25){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Db[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=c[g>>2]|0;if((a|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}while(0);do if(i){a=c[i+12>>2]|0;if((a|0)==(c[i+16>>2]|0))a=Db[c[(c[i>>2]|0)+36>>2]&127](i)|0;else a=c[a>>2]|0;if((a|0)!=-1)if(g)break a;else break;else{c[d>>2]=0;j=37;break}}else j=37;while(0);if((j|0)==37?!g:0)break;c[e>>2]=c[e>>2]|2}while(0);return}function op(b){b=b|0;var d=0;if((a[1054264]|0)==0?Ba(1054264)|0:0){if((a[1054272]|0)==0?Ba(1054272)|0:0){b=1212372;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1212540);Ia(1054272)}zk(1212372,11084)|0;zk(1212384,11112)|0;zk(1212396,11140)|0;zk(1212408,11172)|0;zk(1212420,11212)|0;zk(1212432,11248)|0;zk(1212444,11276)|0;zk(1212456,11312)|0;zk(1212468,11328)|0;zk(1212480,11344)|0;zk(1212492,11360)|0;zk(1212504,11376)|0;zk(1212516,11392)|0;zk(1212528,11408)|0;c[303135]=1212372;Ia(1054264)}return c[303135]|0}function pp(b){b=b|0;var d=0;if((a[1054280]|0)==0?Ba(1054280)|0:0){if((a[1054288]|0)==0?Ba(1054288)|0:0){b=1212544;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1212832);Ia(1054288)}zk(1212544,11424)|0;zk(1212556,11456)|0;zk(1212568,11492)|0;zk(1212580,11516)|0;zk(1212592,11540)|0;zk(1212604,11556)|0;zk(1212616,11576)|0;zk(1212628,11596)|0;zk(1212640,11624)|0;zk(1212652,11664)|0;zk(1212664,11696)|0;zk(1212676,11732)|0;zk(1212688,11768)|0;zk(1212700,11784)|0;zk(1212712,11800)|0;zk(1212724,11816)|0;zk(1212736,11540)|0;zk(1212748,11832)|0;zk(1212760,11848)|0;zk(1212772,11864)|0;zk(1212784,11880)|0;zk(1212796,11896)|0;zk(1212808,11912)|0;zk(1212820,11928)|0;c[303208]=1212544;Ia(1054280)}return c[303208]|0}function qp(b){b=b|0;var d=0;if((a[1054296]|0)==0?Ba(1054296)|0:0){if((a[1054304]|0)==0?Ba(1054304)|0:0){b=1212836;do{d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}b=b+12|0}while((b|0)!=1213124);Ia(1054304)}zk(1212836,11944)|0;zk(1212848,11956)|0;c[303281]=1212836;Ia(1054296)}return c[303281]|0}function rp(b){b=b|0;if((a[1054312]|0)==0?Ba(1054312)|0:0){sk(1213128,11968,oi(11968)|0);Ia(1054312)}return 1213128}function sp(b){b=b|0;if((a[1054320]|0)==0?Ba(1054320)|0:0){sk(1213140,12052,oi(12052)|0);Ia(1054320)}return 1213140}function tp(b){b=b|0;if((a[1054328]|0)==0?Ba(1054328)|0:0){sk(1213152,12100,oi(12100)|0);Ia(1054328)}return 1213152}function up(b){b=b|0;if((a[1054336]|0)==0?Ba(1054336)|0:0){sk(1213164,12136,oi(12136)|0);Ia(1054336)}return 1213164}function vp(a){a=a|0;wp(a+8|0);return}function wp(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(Cm()|0))Ri(c[a>>2]|0);return}function xp(a){a=a|0;wp(a+8|0);Qt(a);return}function yp(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;k=i;i=i+112|0;e=k+4|0;f=k;c[f>>2]=e+100;zp(b+8|0,e,f,g,h,j);b=c[f>>2]|0;g=e;e=c[d>>2]|0;while(1){if((g|0)==(b|0))break;h=a[g>>0]|0;do if(e){j=e+24|0;f=c[j>>2]|0;if((f|0)==(c[e+28>>2]|0)){d=(Jb[c[(c[e>>2]|0)+52>>2]&63](e,h&255)|0)==-1;e=d?0:e;break}else{c[j>>2]=f+1;a[f>>0]=h;break}}else e=0;while(0);g=g+1|0}i=k;return e|0}function zp(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=m;a[l>>0]=37;j=l+1|0;a[j>>0]=g;k=l+2|0;a[k>>0]=h;a[l+3>>0]=0;if(h<<24>>24){a[j>>0]=h;a[k>>0]=g}c[e>>2]=d+(Ka(d|0,(c[e>>2]|0)-d|0,l|0,f|0,c[b>>2]|0)|0);i=m;return}function Ap(a){a=a|0;wp(a+8|0);return}function Bp(a){a=a|0;wp(a+8|0);Qt(a);return}function Cp(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0;j=i;i=i+416|0;d=j+8|0;e=j;c[e>>2]=d+400;Dp(a+8|0,d,e,f,g,h);a=c[e>>2]|0;f=d;d=c[b>>2]|0;while(1){if((f|0)==(a|0))break;e=c[f>>2]|0;if(!d)d=0;else{h=d+24|0;g=c[h>>2]|0;if((g|0)==(c[d+28>>2]|0))e=Jb[c[(c[d>>2]|0)+52>>2]&63](d,e)|0;else{c[h>>2]=g+4;c[g>>2]=e}d=(e|0)==-1?0:d}f=f+4|0}i=j;return d|0}function Dp(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+128|0;l=h+16|0;m=h+12|0;j=h;k=h+8|0;c[m>>2]=l+100;zp(a,l,m,e,f,g);g=j;c[g>>2]=0;c[g+4>>2]=0;c[k>>2]=l;g=(c[d>>2]|0)-b>>2;f=Pi(c[a>>2]|0)|0;g=Ii(b,k,g,j)|0;if(f|0)Pi(f)|0;c[d>>2]=b+(g<<2);i=h;return}function Ep(a){a=a|0;return}function Fp(a){a=a|0;Qt(a);return}function Gp(a){a=a|0;return 127}function Hp(a){a=a|0;return 127}function Ip(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Jp(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Kp(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Lp(a,b){a=a|0;b=b|0;Wj(a,1,45);return}function Mp(a){a=a|0;return 0}function Np(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Op(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Pp(a){a=a|0;return}function Qp(a){a=a|0;Qt(a);return}function Rp(a){a=a|0;return 127}function Sp(a){a=a|0;return 127}function Tp(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Up(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Vp(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function Wp(a,b){a=a|0;b=b|0;Wj(a,1,45);return}function Xp(a){a=a|0;return 0}function Yp(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function Zp(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function _p(a){a=a|0;return}function $p(a){a=a|0;Qt(a);return}function aq(a){a=a|0;return 2147483647}function bq(a){a=a|0;return 2147483647}function cq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function dq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function eq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function fq(a,b){a=a|0;b=b|0;tk(a,1,45);return}function gq(a){a=a|0;return 0}function hq(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function iq(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function jq(a){a=a|0;return}function kq(a){a=a|0;Qt(a);return}function lq(a){a=a|0;return 2147483647}function mq(a){a=a|0;return 2147483647}function nq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function oq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function pq(a,b){a=a|0;b=b|0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function qq(a,b){a=a|0;b=b|0;tk(a,1,45);return}function rq(a){a=a|0;return 0}function sq(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function tq(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function uq(a){a=a|0;return}function vq(a){a=a|0;Qt(a);return}function wq(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=i;i=i+240|0;n=w+24|0;q=w;k=w+140|0;v=w+16|0;o=w+12|0;s=w+8|0;l=w+136|0;x=w+4|0;p=w+36|0;c[v>>2]=k;u=v+4|0;c[u>>2]=153;c[s>>2]=Nl(g)|0;b=sm(s,1211488)|0;a[l>>0]=0;c[x>>2]=c[e>>2];g=c[g+4>>2]|0;c[n>>2]=c[x>>2];if(yq(d,n,f,s,g,h,l,b,v,o,k+100|0)|0){Hb[c[(c[b>>2]|0)+32>>2]&7](b,21445,21455,n)|0;f=c[o>>2]|0;k=c[v>>2]|0;b=f-k|0;if((b|0)>98){b=bj(b+2|0)|0;if(!b)uu();else{r=b;m=b}}else{r=0;m=p}if(!(a[l>>0]|0))b=m;else{a[m>>0]=45;b=m+1|0}l=n+10|0;m=n;while(1){if(k>>>0>=f>>>0)break;g=a[k>>0]|0;f=n;while(1){if((f|0)==(l|0)){f=l;break}if((a[f>>0]|0)==g<<24>>24)break;f=f+1|0}a[b>>0]=a[21445+(f-m)>>0]|0;f=c[o>>2]|0;b=b+1|0;k=k+1|0}a[b>>0]=0;c[q>>2]=j;Zh(p,21456,q)|0;if(r|0)cj(r)}b=c[d>>2]|0;do if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1){c[d>>2]=0;b=0;break}else{b=c[d>>2]|0;break}}else b=0;while(0);b=(b|0)==0;f=c[e>>2]|0;do if(f){if((c[f+12>>2]|0)==(c[f+16>>2]|0)?(Db[c[(c[f>>2]|0)+36>>2]&127](f)|0)==-1:0){c[e>>2]=0;t=27;break}if(!b)t=28}else t=27;while(0);if((t|0)==27?b:0)t=28;if((t|0)==28)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;Ht(c[s>>2]|0)|0;b=c[v>>2]|0;c[v>>2]=0;if(b|0)zb[c[u>>2]&255](b);i=w;return f|0}function xq(a){a=a|0;return}function yq(e,f,g,h,j,k,l,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;ba=i;i=i+512|0;N=ba+88|0;t=ba+96|0;aa=ba+80|0;R=ba+72|0;Q=ba+68|0;S=ba+500|0;O=ba+497|0;T=ba+496|0;X=ba+56|0;$=ba+44|0;Z=ba+32|0;Y=ba+20|0;_=ba+8|0;P=ba+4|0;V=ba;c[N>>2]=p;c[aa>>2]=t;W=aa+4|0;c[W>>2]=153;c[R>>2]=t;c[Q>>2]=t+400;p=0;while(1){if((p|0)==3)break;c[X+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[$+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[Z+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[Y+(p<<2)>>2]=0;p=p+1|0}p=0;while(1){if((p|0)==3)break;c[_+(p<<2)>>2]=0;p=p+1|0}zq(g,h,S,O,T,X,$,Z,Y,P);c[o>>2]=c[n>>2];G=m+8|0;H=Z+4|0;I=Y+4|0;J=Y+8|0;K=Y+1|0;L=Z+8|0;M=Z+1|0;x=(j&512|0)!=0;y=$+8|0;z=$+1|0;A=$+4|0;B=_+4|0;C=_+8|0;D=_+1|0;E=S+3|0;F=X+4|0;w=0;s=0;a:while(1){if(w>>>0>=4){U=218;break}p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Db[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;m=c[f>>2]|0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(p)break;else{U=218;break a}if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(p)break;else{U=218;break a}else{c[f>>2]=0;U=28;break}}else U=28;while(0);if((U|0)==28){U=0;if(p){U=218;break}else m=0}b:do switch(a[S+w>>0]|0){case 1:{if((w|0)!=3){p=c[e>>2]|0;g=c[p+12>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[g>>0]|0;if((p&255)<<24>>24<=-1){U=42;break a}if(!(b[(c[G>>2]|0)+(p<<24>>24<<1)>>1]&8192)){U=42;break a}p=c[e>>2]|0;g=p+12|0;h=c[g>>2]|0;if((h|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;else{c[g>>2]=h+1;p=d[h>>0]|0}jk(_,p&255);p=m;g=m;U=44}break}case 0:{if((w|0)!=3){p=m;g=m;U=44}break}case 3:{h=a[Z>>0]|0;p=(h&1)==0?(h&255)>>>1:c[H>>2]|0;g=a[Y>>0]|0;g=(g&1)==0?(g&255)>>>1:c[I>>2]|0;if((p|0)!=(0-g|0)){j=(p|0)==0;q=c[e>>2]|0;r=c[q+12>>2]|0;p=c[q+16>>2]|0;m=(r|0)==(p|0);if(j|(g|0)==0){if(m)p=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;else p=d[r>>0]|0;p=p&255;if(j){if(p<<24>>24!=(a[((a[Y>>0]&1)==0?K:c[J>>2]|0)>>0]|0))break b;p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0))Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[m>>2]=g+1;a[l>>0]=1;v=a[Y>>0]|0;s=((v&1)==0?(v&255)>>>1:c[I>>2]|0)>>>0>1?Y:s;break b}if(p<<24>>24!=(a[((a[Z>>0]&1)==0?M:c[L>>2]|0)>>0]|0)){a[l>>0]=1;break b}p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0))Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[m>>2]=g+1;v=a[Z>>0]|0;s=((v&1)==0?(v&255)>>>1:c[H>>2]|0)>>>0>1?Z:s;break b}if(m){j=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;p=c[e>>2]|0;h=a[Z>>0]|0;q=p;g=c[p+12>>2]|0;p=c[p+16>>2]|0}else{j=d[r>>0]|0;g=r}m=q+12|0;p=(g|0)==(p|0);if((j&255)<<24>>24==(a[((h&1)==0?M:c[L>>2]|0)>>0]|0)){if(p)Db[c[(c[q>>2]|0)+40>>2]&127](q)|0;else c[m>>2]=g+1;v=a[Z>>0]|0;s=((v&1)==0?(v&255)>>>1:c[H>>2]|0)>>>0>1?Z:s;break b}if(p)p=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;else p=d[g>>0]|0;if((p&255)<<24>>24!=(a[((a[Y>>0]&1)==0?K:c[J>>2]|0)>>0]|0)){U=98;break a}p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0))Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;else c[m>>2]=g+1;a[l>>0]=1;v=a[Y>>0]|0;s=((v&1)==0?(v&255)>>>1:c[I>>2]|0)>>>0>1?Y:s}break}case 2:{if(!(w>>>0<2|(s|0)!=0)?!(x|(w|0)==2&(a[E>>0]|0)!=0):0){s=0;break b}r=a[$>>0]|0;p=(r&1)==0;u=c[y>>2]|0;g=p?z:u;v=g;c:do if((w|0)!=0?(d[S+(w+-1)>>0]|0)<2:0){p=g+(p?(r&255)>>>1:c[A>>2]|0)|0;q=v;while(1){h=q;if((h|0)==(p|0))break;j=a[h>>0]|0;if(j<<24>>24<=-1)break;if(!(b[(c[G>>2]|0)+(j<<24>>24<<1)>>1]&8192))break;q=h+1|0}j=q-v|0;h=a[_>>0]|0;p=(h&1)==0;h=p?(h&255)>>>1:c[B>>2]|0;if(j>>>0<=h>>>0){h=(p?D:c[C>>2]|0)+h|0;p=h+(0-j)|0;while(1){if((p|0)==(h|0)){h=m;g=r;p=u;j=m;m=q;break c}if((a[p>>0]|0)!=(a[g>>0]|0)){h=m;g=r;p=u;j=m;m=v;break c}g=g+1|0;p=p+1|0}}else{h=m;g=r;p=u;j=m;m=v}}else{h=m;g=r;p=u;j=m;m=v}while(0);d:while(1){q=(g&1)==0;p=(q?z:p)+(q?(g&255)>>>1:c[A>>2]|0)|0;q=m;if((q|0)==(p|0))break;p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Db[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);m=(p|0)==0;do if(j){if((c[j+12>>2]|0)!=(c[j+16>>2]|0))if(m){p=h;break}else{p=q;break d}if((Db[c[(c[j>>2]|0)+36>>2]&127](j)|0)!=-1)if(m^(h|0)==0){p=h;j=h;break}else{p=q;break d}else{c[f>>2]=0;p=0;U=124;break}}else{p=h;U=124}while(0);if((U|0)==124){U=0;if(m){p=q;break}else j=0}m=c[e>>2]|0;g=c[m+12>>2]|0;if((g|0)==(c[m+16>>2]|0))m=Db[c[(c[m>>2]|0)+36>>2]&127](m)|0;else m=d[g>>0]|0;if((m&255)<<24>>24!=(a[q>>0]|0)){p=q;break}m=c[e>>2]|0;g=m+12|0;h=c[g>>2]|0;if((h|0)==(c[m+16>>2]|0))Db[c[(c[m>>2]|0)+40>>2]&127](m)|0;else c[g>>2]=h+1;h=p;g=a[$>>0]|0;p=c[y>>2]|0;m=q+1|0}if(x?(v=a[$>>0]|0,u=(v&1)==0,(p|0)!=((u?z:c[y>>2]|0)+(u?(v&255)>>>1:c[A>>2]|0)|0)):0){U=136;break a}break}case 4:{r=a[T>>0]|0;j=m;h=m;p=0;e:while(1){m=c[e>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[e>>2]=0;m=0;break}else{m=c[e>>2]|0;break}}else m=0;while(0);g=(m|0)==0;do if(h){if((c[h+12>>2]|0)!=(c[h+16>>2]|0))if(g){m=j;q=h;break}else{m=j;break e}if((Db[c[(c[h>>2]|0)+36>>2]&127](h)|0)!=-1)if(g^(j|0)==0){m=j;q=j;break}else{m=j;break e}else{c[f>>2]=0;m=0;U=147;break}}else{m=j;U=147}while(0);if((U|0)==147){U=0;if(g)break;else q=0}g=c[e>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=d[h>>0]|0;h=g&255;if(h<<24>>24>-1?(b[(c[G>>2]|0)+(g<<24>>24<<1)>>1]&2048)!=0:0){g=c[o>>2]|0;if((g|0)==(c[N>>2]|0)){Aq(n,o,N);g=c[o>>2]|0}c[o>>2]=g+1;a[g>>0]=h;p=p+1|0}else{v=a[X>>0]|0;if(!(h<<24>>24==r<<24>>24&(p|0?(((v&1)==0?(v&255)>>>1:c[F>>2]|0)|0)!=0:0)))break;if((t|0)==(c[Q>>2]|0)){Bq(aa,R,Q);t=c[R>>2]|0}v=t+4|0;c[R>>2]=v;c[t>>2]=p;t=v;p=0}g=c[e>>2]|0;h=g+12|0;j=c[h>>2]|0;if((j|0)==(c[g+16>>2]|0)){Db[c[(c[g>>2]|0)+40>>2]&127](g)|0;j=m;h=q;continue}else{c[h>>2]=j+1;j=m;h=q;continue}}if(p|0?(c[aa>>2]|0)!=(t|0):0){if((t|0)==(c[Q>>2]|0)){Bq(aa,R,Q);t=c[R>>2]|0}v=t+4|0;c[R>>2]=v;c[t>>2]=p;t=v}h=c[P>>2]|0;f:do if((h|0)>0){p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Db[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[f>>2]=0;U=179;break}if(p)j=m;else{U=184;break a}}else U=179;while(0);if((U|0)==179){U=0;if(p){U=184;break a}else j=0}p=c[e>>2]|0;m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[m>>0]|0;if((p&255)<<24>>24!=(a[O>>0]|0)){U=184;break a}p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0)){Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;p=j;g=j}else{c[m>>2]=g+1;p=j;g=j}while(1){if((h|0)<=0)break f;m=c[e>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[e>>2]=0;m=0;break}else{m=c[e>>2]|0;break}}else m=0;while(0);m=(m|0)==0;do if(g){if((c[g+12>>2]|0)!=(c[g+16>>2]|0))if(m){q=p;j=g;break}else{U=206;break a}if((Db[c[(c[g>>2]|0)+36>>2]&127](g)|0)!=-1)if(m^(p|0)==0){q=p;j=p;break}else{U=206;break a}else{c[f>>2]=0;p=0;U=199;break}}else U=199;while(0);if((U|0)==199){U=0;if(m){U=206;break a}else{q=p;j=0}}p=c[e>>2]|0;m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[m>>0]|0;if((p&255)<<24>>24<=-1){U=206;break a}if(!(b[(c[G>>2]|0)+(p<<24>>24<<1)>>1]&2048)){U=206;break a}if((c[o>>2]|0)==(c[N>>2]|0))Aq(n,o,N);p=c[e>>2]|0;m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[m>>0]|0;m=c[o>>2]|0;c[o>>2]=m+1;a[m>>0]=p;h=h+-1|0;c[P>>2]=h;p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0)){Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;p=q;g=j;continue}else{c[m>>2]=g+1;p=q;g=j;continue}}}while(0);if((c[o>>2]|0)==(c[n>>2]|0)){U=216;break a}break}default:{}}while(0);g:do if((U|0)==44)while(1){U=0;m=c[e>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[e>>2]=0;m=0;break}else{m=c[e>>2]|0;break}}else m=0;while(0);m=(m|0)==0;do if(g){if((c[g+12>>2]|0)!=(c[g+16>>2]|0))if(m){j=p;h=g;break}else break g;if((Db[c[(c[g>>2]|0)+36>>2]&127](g)|0)!=-1)if(m^(p|0)==0){j=p;h=p;break}else break g;else{c[f>>2]=0;p=0;U=54;break}}else U=54;while(0);if((U|0)==54){U=0;if(m)break g;else{j=p;h=0}}p=c[e>>2]|0;m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[m>>0]|0;if((p&255)<<24>>24<=-1)break g;if(!(b[(c[G>>2]|0)+(p<<24>>24<<1)>>1]&8192))break g;p=c[e>>2]|0;m=p+12|0;g=c[m>>2]|0;if((g|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+40>>2]&127](p)|0;else{c[m>>2]=g+1;p=d[g>>0]|0}jk(_,p&255);p=j;g=h;U=44}while(0);w=w+1|0}h:do if((U|0)==42){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==98){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==136){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==184){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==206){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==216){c[k>>2]=c[k>>2]|4;m=0}else if((U|0)==218){i:do if(s|0){j=s+1|0;q=s+8|0;r=s+4|0;g=1;j:while(1){p=a[s>>0]|0;if(!(p&1))p=(p&255)>>>1;else p=c[r>>2]|0;if(g>>>0>=p>>>0)break i;p=c[e>>2]|0;do if(p){if((c[p+12>>2]|0)==(c[p+16>>2]|0))if((Db[c[(c[p>>2]|0)+36>>2]&127](p)|0)==-1){c[e>>2]=0;p=0;break}else{p=c[e>>2]|0;break}}else p=0;while(0);p=(p|0)==0;m=c[f>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[f>>2]=0;U=234;break}if(!p)break j}else U=234;while(0);if((U|0)==234?(U=0,p):0)break;p=c[e>>2]|0;m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))p=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else p=d[m>>0]|0;if(!(a[s>>0]&1))m=j;else m=c[q>>2]|0;if((p&255)<<24>>24!=(a[m+g>>0]|0))break;p=g+1|0;m=c[e>>2]|0;g=m+12|0;h=c[g>>2]|0;if((h|0)==(c[m+16>>2]|0)){Db[c[(c[m>>2]|0)+40>>2]&127](m)|0;g=p;continue}else{c[g>>2]=h+1;g=p;continue}}c[k>>2]=c[k>>2]|4;m=0;break h}while(0);p=c[aa>>2]|0;if((p|0)!=(t|0)){c[V>>2]=0;Dm(X,p,t,V);if(!(c[V>>2]|0)){m=1;break}else{c[k>>2]=c[k>>2]|4;m=0;break}}else m=1}while(0);Zj(_);Zj(Y);Zj(Z);Zj($);Zj(X);p=c[aa>>2]|0;c[aa>>2]=0;if(p|0)zb[c[W>>2]&255](p);i=ba;return m|0}function zq(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+112|0;n=x+100|0;p=x+88|0;r=x+76|0;t=x+64|0;v=x+52|0;o=x+48|0;q=x+36|0;s=x+24|0;u=x+12|0;w=x;if(b){d=sm(d,1213208)|0;Ab[c[(c[d>>2]|0)+44>>2]&63](n,d);w=c[n>>2]|0;a[e>>0]=w;a[e+1>>0]=w>>8;a[e+2>>0]=w>>16;a[e+3>>0]=w>>24;Ab[c[(c[d>>2]|0)+32>>2]&63](p,d);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[p>>2];c[l+4>>2]=c[p+4>>2];c[l+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}Zj(p);Ab[c[(c[d>>2]|0)+28>>2]&63](r,d);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}bk(k,0);c[k>>2]=c[r>>2];c[k+4>>2]=c[r+4>>2];c[k+8>>2]=c[r+8>>2];b=0;while(1){if((b|0)==3)break;c[r+(b<<2)>>2]=0;b=b+1|0}Zj(r);a[f>>0]=Db[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](t,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}bk(h,0);c[h>>2]=c[t>>2];c[h+4>>2]=c[t+4>>2];c[h+8>>2]=c[t+8>>2];b=0;while(1){if((b|0)==3)break;c[t+(b<<2)>>2]=0;b=b+1|0}Zj(t);Ab[c[(c[d>>2]|0)+24>>2]&63](v,d);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[v>>2];c[j+4>>2]=c[v+4>>2];c[j+8>>2]=c[v+8>>2];b=0;while(1){if((b|0)==3)break;c[v+(b<<2)>>2]=0;b=b+1|0}Zj(v);b=Db[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=sm(d,1213200)|0;Ab[c[(c[d>>2]|0)+44>>2]&63](o,d);v=c[o>>2]|0;a[e>>0]=v;a[e+1>>0]=v>>8;a[e+2>>0]=v>>16;a[e+3>>0]=v>>24;Ab[c[(c[d>>2]|0)+32>>2]&63](q,d);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[q>>2];c[l+4>>2]=c[q+4>>2];c[l+8>>2]=c[q+8>>2];b=0;while(1){if((b|0)==3)break;c[q+(b<<2)>>2]=0;b=b+1|0}Zj(q);Ab[c[(c[d>>2]|0)+28>>2]&63](s,d);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}bk(k,0);c[k>>2]=c[s>>2];c[k+4>>2]=c[s+4>>2];c[k+8>>2]=c[s+8>>2];b=0;while(1){if((b|0)==3)break;c[s+(b<<2)>>2]=0;b=b+1|0}Zj(s);a[f>>0]=Db[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](u,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}bk(h,0);c[h>>2]=c[u>>2];c[h+4>>2]=c[u+4>>2];c[h+8>>2]=c[u+8>>2];b=0;while(1){if((b|0)==3)break;c[u+(b<<2)>>2]=0;b=b+1|0}Zj(u);Ab[c[(c[d>>2]|0)+24>>2]&63](w,d);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[w>>2];c[j+4>>2]=c[w+4>>2];c[j+8>>2]=c[w+8>>2];b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}Zj(w);b=Db[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[m>>2]=b;i=x;return}
function bi(e,f,j){e=e|0;f=f|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=i;i=i+304|0;H=P+16|0;J=P+8|0;I=P+33|0;K=P;y=P+32|0;if((c[e+76>>2]|0)>-1)O=Vh(e)|0;else O=0;k=a[f>>0]|0;a:do if(k<<24>>24){L=e+4|0;M=e+100|0;G=e+108|0;z=e+8|0;A=I+10|0;B=I+33|0;D=J+4|0;E=I+46|0;F=I+94|0;m=k;k=0;n=f;s=0;l=0;f=0;b:while(1){c:do if(!(Gh(m&255)|0)){m=(a[n>>0]|0)==37;d:do if(m){q=n+1|0;o=a[q>>0]|0;e:do switch(o<<24>>24){case 37:break d;case 42:{x=0;o=n+2|0;break}default:{o=(o&255)+-48|0;if(o>>>0<10?(a[n+2>>0]|0)==36:0){c[H>>2]=c[j>>2];while(1){x=(c[H>>2]|0)+(4-1)&~(4-1);m=c[x>>2]|0;c[H>>2]=x+4;if(o>>>0>1)o=o+-1|0;else break}x=m;o=n+3|0;break e}o=(c[j>>2]|0)+(4-1)&~(4-1);x=c[o>>2]|0;c[j>>2]=o+4;o=q}}while(0);m=a[o>>0]|0;n=m&255;if((n+-48|0)>>>0<10){m=0;while(1){q=(m*10|0)+-48+n|0;o=o+1|0;m=a[o>>0]|0;n=m&255;if((n+-48|0)>>>0>=10)break;else m=q}}else q=0;if(m<<24>>24==109){o=o+1|0;r=a[o>>0]|0;m=(x|0)!=0&1;l=0;f=0}else{r=m;m=0}n=o+1|0;switch(r&255|0){case 104:{w=(a[n>>0]|0)==104;n=w?o+2|0:n;o=w?-2:-1;break}case 108:{w=(a[n>>0]|0)==108;n=w?o+2|0:n;o=w?3:1;break}case 106:{o=3;break}case 116:case 122:{o=1;break}case 76:{o=2;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{n=o;o=0;break}default:{N=154;break b}}r=d[n>>0]|0;t=(r&47|0)==3;r=t?r|32:r;t=t?1:o;switch(r|0){case 99:{w=s;v=(q|0)<1?1:q;break}case 91:{w=s;v=q;break}case 110:{if(!x){o=s;break c}switch(t|0){case -2:{a[x>>0]=s;o=s;break c}case -1:{b[x>>1]=s;o=s;break c}case 0:{c[x>>2]=s;o=s;break c}case 1:{c[x>>2]=s;o=s;break c}case 3:{o=x;c[o>>2]=s;c[o+4>>2]=((s|0)<0)<<31>>31;o=s;break c}default:{o=s;break c}}}default:{Bh(e,0);do{o=c[L>>2]|0;if(o>>>0<(c[M>>2]|0)>>>0){c[L>>2]=o+1;o=d[o>>0]|0}else o=Dh(e)|0}while((Gh(o)|0)!=0);if(!(c[M>>2]|0))o=c[L>>2]|0;else{o=(c[L>>2]|0)+-1|0;c[L>>2]=o}w=(c[G>>2]|0)+s+o-(c[z>>2]|0)|0;v=q}}Bh(e,v);o=c[L>>2]|0;q=c[M>>2]|0;if(o>>>0<q>>>0)c[L>>2]=o+1;else{if((Dh(e)|0)<0){N=154;break b}q=c[M>>2]|0}if(q|0)c[L>>2]=(c[L>>2]|0)+-1;f:do switch(r|0){case 91:case 99:case 115:{u=(r|0)==99;g:do if((r|16|0)==115){xu(I|0,-1,257)|0;a[I>>0]=0;if((r|0)==115){a[B>>0]=0;a[A>>0]=0;a[A+1>>0]=0;a[A+2>>0]=0;a[A+3>>0]=0;a[A+4>>0]=0}}else{r=n+1|0;s=(a[r>>0]|0)==94;o=s&1;n=s?n+2|0:r;xu(I|0,s&1|0,257)|0;a[I>>0]=0;switch(a[n>>0]|0){case 45:{s=(o^1)&255;a[E>>0]=s;n=n+1|0;break}case 93:{s=(o^1)&255;a[F>>0]=s;n=n+1|0;break}default:s=(o^1)&255}while(1){o=a[n>>0]|0;h:do switch(o<<24>>24){case 0:{N=154;break b}case 93:break g;case 45:{r=n+1|0;o=a[r>>0]|0;switch(o<<24>>24){case 93:case 0:{o=45;break h}default:{}}n=a[n+-1>>0]|0;if((n&255)<(o&255)){n=n&255;do{n=n+1|0;a[I+n>>0]=s;o=a[r>>0]|0}while((n|0)<(o&255|0));n=r}else n=r;break}default:{}}while(0);a[I+((o&255)+1)>>0]=s;n=n+1|0}}while(0);r=u?v+1|0:31;s=(t|0)==1;t=(m|0)!=0;i:do if(s){if(t){f=bj(r<<2)|0;if(!f){l=0;N=154;break b}}else f=x;c[J>>2]=0;c[D>>2]=0;l=0;j:while(1){q=(f|0)==0;do{k:while(1){o=c[L>>2]|0;if(o>>>0<(c[M>>2]|0)>>>0){c[L>>2]=o+1;o=d[o>>0]|0}else o=Dh(e)|0;if(!(a[I+(o+1)>>0]|0))break j;a[y>>0]=o;switch(ci(K,y,1,J)|0){case -1:{l=0;N=154;break b}case -2:break;default:break k}}if(!q){c[f+(l<<2)>>2]=c[K>>2];l=l+1|0}}while(!(t&(l|0)==(r|0)));l=r<<1|1;o=ej(f,l<<2)|0;if(!o){l=0;N=154;break b}else{q=r;r=l;f=o;l=q}}if(!(di(J)|0)){l=0;N=154;break b}else{q=l;l=0}}else{if(t){l=bj(r)|0;if(!l){l=0;f=0;N=154;break b}else o=0;while(1){do{f=c[L>>2]|0;if(f>>>0<(c[M>>2]|0)>>>0){c[L>>2]=f+1;f=d[f>>0]|0}else f=Dh(e)|0;if(!(a[I+(f+1)>>0]|0)){q=o;f=0;break i}a[l+o>>0]=f;o=o+1|0}while((o|0)!=(r|0));f=r<<1|1;o=ej(l,f)|0;if(!o){f=0;N=154;break b}else{q=r;r=f;l=o;o=q}}}if(!x){l=q;while(1){f=c[L>>2]|0;if(f>>>0<l>>>0){c[L>>2]=f+1;f=d[f>>0]|0}else f=Dh(e)|0;if(!(a[I+(f+1)>>0]|0)){q=0;l=0;f=0;break i}l=c[M>>2]|0}}else{l=0;while(1){f=c[L>>2]|0;if(f>>>0<q>>>0){c[L>>2]=f+1;f=d[f>>0]|0}else f=Dh(e)|0;if(!(a[I+(f+1)>>0]|0)){q=l;l=x;f=0;break i}a[x+l>>0]=f;q=c[M>>2]|0;l=l+1|0}}}while(0);if(!(c[M>>2]|0))o=c[L>>2]|0;else{o=(c[L>>2]|0)+-1|0;c[L>>2]=o}o=o-(c[z>>2]|0)+(c[G>>2]|0)|0;if(!o)break b;if(!((o|0)==(v|0)|u^1))break b;do if(t)if(s){c[x>>2]=f;break}else{c[x>>2]=l;break}while(0);if(!u){if(f|0)c[f+(q<<2)>>2]=0;if(!l){l=0;break f}a[l+q>>0]=0}break}case 120:case 88:case 112:{o=16;N=136;break}case 111:{o=8;N=136;break}case 117:case 100:{o=10;N=136;break}case 105:{o=0;N=136;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{p=+ei(e,t,0);if((c[G>>2]|0)==((c[z>>2]|0)-(c[L>>2]|0)|0))break b;if(x)switch(t|0){case 0:{g[x>>2]=p;break f}case 1:{h[x>>3]=p;break f}case 2:{h[x>>3]=p;break f}default:break f}break}default:{}}while(0);l:do if((N|0)==136){N=0;o=Ch(e,o,0,-1,-1)|0;if((c[G>>2]|0)==((c[z>>2]|0)-(c[L>>2]|0)|0))break b;if((x|0)!=0&(r|0)==112){c[x>>2]=o;break}if(x)switch(t|0){case -2:{a[x>>0]=o;break l}case -1:{b[x>>1]=o;break l}case 0:{c[x>>2]=o;break l}case 1:{c[x>>2]=o;break l}case 3:{v=x;c[v>>2]=o;c[v+4>>2]=C;break l}default:break l}}while(0);k=((x|0)!=0&1)+k|0;o=(c[G>>2]|0)+w+(c[L>>2]|0)-(c[z>>2]|0)|0;break c}while(0);n=n+(m&1)|0;Bh(e,0);m=c[L>>2]|0;if(m>>>0<(c[M>>2]|0)>>>0){c[L>>2]=m+1;m=d[m>>0]|0}else m=Dh(e)|0;if((m|0)!=(d[n>>0]|0)){N=22;break b}o=s+1|0}else{while(1){m=n+1|0;if(!(Gh(d[m>>0]|0)|0))break;else n=m}Bh(e,0);do{m=c[L>>2]|0;if(m>>>0<(c[M>>2]|0)>>>0){c[L>>2]=m+1;m=d[m>>0]|0}else m=Dh(e)|0}while((Gh(m)|0)!=0);if(!(c[M>>2]|0))m=c[L>>2]|0;else{m=(c[L>>2]|0)+-1|0;c[L>>2]=m}o=(c[G>>2]|0)+s+m-(c[z>>2]|0)|0}while(0);n=n+1|0;m=a[n>>0]|0;if(!(m<<24>>24))break a;else s=o}if((N|0)==22){if(c[M>>2]|0)c[L>>2]=(c[L>>2]|0)+-1;if((k|0)!=0|(m|0)>-1)break;else{k=0;N=155}}else if((N|0)==154)if(!k){k=m;N=155}if((N|0)==155){m=k;k=-1}if(m){cj(l);cj(f)}}else k=0;while(0);if(O|0)uh(e);i=P;return k|0}function ci(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;g=l;j=(f|0)==0?1209860:f;f=c[j>>2]|0;a:do if(!d)if(!f)f=0;else k=15;else{h=(b|0)==0?g:b;if(!e)f=-2;else{if(!f){f=a[d>>0]|0;g=f&255;if(f<<24>>24>-1){c[h>>2]=g;f=f<<24>>24!=0&1;break}f=g+-194|0;if(f>>>0>50){k=15;break}f=c[6436+(f<<2)>>2]|0;g=e+-1|0;if(g){d=d+1|0;k=9}}else{g=e;k=9}b:do if((k|0)==9){b=a[d>>0]|0;m=(b&255)>>>3;if((m+-16|m+(f>>26))>>>0>7){k=15;break a}while(1){d=d+1|0;f=(b&255)+-128|f<<6;g=g+-1|0;if((f|0)>=0)break;if(!g)break b;b=a[d>>0]|0;if((b&-64)<<24>>24!=-128){k=15;break a}}c[j>>2]=0;c[h>>2]=f;f=e-g|0;break a}while(0);c[j>>2]=f;f=-2}}while(0);if((k|0)==15){c[j>>2]=0;c[(qh()|0)>>2]=84;f=-1}i=l;return f|0}function di(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0;return a&1|0}function ei(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0;L=i;i=i+512|0;H=L;switch(e|0){case 0:{K=24;J=-149;A=4;break}case 1:{K=53;J=-1074;A=4;break}case 2:{K=53;J=-1074;A=4;break}default:g=0.0}a:do if((A|0)==4){E=b+4|0;D=b+100|0;do{e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0}while((Gh(e)|0)!=0);b:do switch(e|0){case 43:case 45:{h=1-(((e|0)==45&1)<<1)|0;e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0;I=h;break b}else{e=Dh(b)|0;I=h;break b}}default:I=1}while(0);h=e;e=0;do{if((h|32|0)!=(a[19056+e>>0]|0))break;do if(e>>>0<7){h=c[E>>2]|0;if(h>>>0<(c[D>>2]|0)>>>0){c[E>>2]=h+1;h=d[h>>0]|0;break}else{h=Dh(b)|0;break}}while(0);e=e+1|0}while(e>>>0<8);c:do switch(e|0){case 8:break;case 3:{A=23;break}default:{k=(f|0)!=0;if(k&e>>>0>3)if((e|0)==8)break c;else{A=23;break c}d:do if(!e){e=0;do{if((h|32|0)!=(a[19065+e>>0]|0))break d;do if(e>>>0<2){h=c[E>>2]|0;if(h>>>0<(c[D>>2]|0)>>>0){c[E>>2]=h+1;h=d[h>>0]|0;break}else{h=Dh(b)|0;break}}while(0);e=e+1|0}while(e>>>0<3)}while(0);switch(e|0){case 3:{e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;if((e|0)==40)e=1;else{if(!(c[D>>2]|0)){g=r;break a}c[E>>2]=(c[E>>2]|0)+-1;g=r;break a}while(1){h=c[E>>2]|0;if(h>>>0<(c[D>>2]|0)>>>0){c[E>>2]=h+1;h=d[h>>0]|0}else h=Dh(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=r;break a}h=(c[D>>2]|0)==0;if(!h)c[E>>2]=(c[E>>2]|0)+-1;if(!k){c[(qh()|0)>>2]=22;Bh(b,0);g=0.0;break a}if(!e){g=r;break a}while(1){e=e+-1|0;if(!h)c[E>>2]=(c[E>>2]|0)+-1;if(!e){g=r;break a}}}case 0:{do if((h|0)==48){e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;if((e|32|0)!=120){if(!(c[D>>2]|0)){e=48;break}c[E>>2]=(c[E>>2]|0)+-1;e=48;break}e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0;k=0}else{e=Dh(b)|0;k=0}e:while(1){switch(e|0){case 46:{A=74;break e}case 48:break;default:{y=0;l=0;x=0;h=0;n=k;o=0;w=0;m=1.0;k=0;g=0.0;break e}}e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0;k=1;continue}else{e=Dh(b)|0;k=1;continue}}if((A|0)==74){e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;if((e|0)==48){k=0;h=0;do{e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;k=yu(k|0,h|0,-1,-1)|0;h=C}while((e|0)==48);y=0;l=0;x=k;n=1;o=1;w=0;m=1.0;k=0;g=0.0}else{y=0;l=0;x=0;h=0;n=k;o=1;w=0;m=1.0;k=0;g=0.0}}while(1){u=e+-48|0;p=e|32;if(u>>>0>=10){v=(e|0)==46;if(!(v|(p+-97|0)>>>0<6)){p=x;u=y;break}if(v)if(!o){v=l;h=y;u=y;o=1;p=w;j=m}else{p=x;u=y;e=46;break}else A=86}else A=86;if((A|0)==86){A=0;e=(e|0)>57?p+-87|0:u;do if(!((y|0)<0|(y|0)==0&l>>>0<8)){if((y|0)<0|(y|0)==0&l>>>0<14){t=m*.0625;p=w;j=t;g=g+t*+(e|0);break}if((w|0)!=0|(e|0)==0){p=w;j=m}else{p=1;j=m;g=g+m*.5}}else{p=w;j=m;k=e+(k<<4)|0}while(0);l=yu(l|0,y|0,1,0)|0;v=x;u=C;n=1}e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;y=u;x=v;e=d[e>>0]|0;w=p;m=j;continue}else{y=u;x=v;e=Dh(b)|0;w=p;m=j;continue}}if(!n){e=(c[D>>2]|0)==0;if(!e)c[E>>2]=(c[E>>2]|0)+-1;if(f){if(!e?(z=c[E>>2]|0,c[E>>2]=z+-1,o|0):0)c[E>>2]=z+-2}else Bh(b,0);g=+(I|0)*0.0;break a}n=(o|0)==0;o=n?l:p;n=n?u:h;if((u|0)<0|(u|0)==0&l>>>0<8){h=u;do{k=k<<4;l=yu(l|0,h|0,1,0)|0;h=C}while((h|0)<0|(h|0)==0&l>>>0<8)}if((e|32|0)==112){h=fi(b,f)|0;e=C;if((h|0)==0&(e|0)==-2147483648){if(!f){Bh(b,0);g=0.0;break a}if(!(c[D>>2]|0)){h=0;e=0}else{c[E>>2]=(c[E>>2]|0)+-1;h=0;e=0}}}else if(!(c[D>>2]|0)){h=0;e=0}else{c[E>>2]=(c[E>>2]|0)+-1;h=0;e=0}H=Au(o|0,n|0,2)|0;H=yu(H|0,C|0,-32,-1)|0;e=yu(H|0,C|0,h|0,e|0)|0;h=C;if(!k){g=+(I|0)*0.0;break a}if((h|0)>0|(h|0)==0&e>>>0>(0-J|0)>>>0){c[(qh()|0)>>2]=34;g=+(I|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break a}H=J+-106|0;G=((H|0)<0)<<31>>31;if((h|0)<(G|0)|(h|0)==(G|0)&e>>>0<H>>>0){c[(qh()|0)>>2]=34;g=+(I|0)*2.2250738585072014e-308*2.2250738585072014e-308;break a}if((k|0)>-1){do{G=!(g>=.5);H=G&1|k<<1;k=H^1;g=g+(G?g:g+-1.0);e=yu(e|0,h|0,-1,-1)|0;h=C}while((H|0)>-1);l=e;m=g}else{l=e;m=g}e=wu(32,0,J|0,((J|0)<0)<<31>>31|0)|0;e=yu(l|0,h|0,e|0,C|0)|0;J=C;if(0>(J|0)|0==(J|0)&K>>>0>e>>>0)if((e|0)<0){e=0;A=127}else A=125;else{e=K;A=125}if((A|0)==125)if((e|0)<53)A=127;else{h=e;j=+(I|0);g=0.0}if((A|0)==127){g=+(I|0);h=e;j=g;g=+hi(+gi(1.0,84-e|0),g)}K=(k&1|0)==0&(m!=0.0&(h|0)<32);g=j*(K?0.0:m)+(g+j*+(((K&1)+k|0)>>>0))-g;if(!(g!=0.0))c[(qh()|0)>>2]=34;g=+ji(g,l);break a}else e=h;while(0);F=J+K|0;G=0-F|0;k=0;f:while(1){switch(e|0){case 46:{A=138;break f}case 48:break;default:{h=0;p=0;o=0;break f}}e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0;k=1;continue}else{e=Dh(b)|0;k=1;continue}}if((A|0)==138){e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;if((e|0)==48){h=0;e=0;while(1){h=yu(h|0,e|0,-1,-1)|0;k=C;e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;if((e|0)==48)e=k;else{p=k;k=1;o=1;break}}}else{h=0;p=0;o=1}}c[H>>2]=0;n=e+-48|0;l=(e|0)==46;g:do if(l|n>>>0<10){B=H+496|0;y=0;v=0;w=l;A=p;u=k;z=o;k=0;l=0;o=0;h:while(1){do if(w)if(!z){h=y;p=v;z=1}else{p=A;e=y;n=v;break h}else{w=yu(y|0,v|0,1,0)|0;v=C;x=(e|0)!=48;if((l|0)>=125){if(!x){p=A;y=w;break}c[B>>2]=c[B>>2]|1;p=A;y=w;break}p=H+(l<<2)|0;if(k)n=e+-48+((c[p>>2]|0)*10|0)|0;c[p>>2]=n;k=k+1|0;n=(k|0)==9;p=A;y=w;u=1;k=n?0:k;l=(n&1)+l|0;o=x?w:o}while(0);e=c[E>>2]|0;if(e>>>0<(c[D>>2]|0)>>>0){c[E>>2]=e+1;e=d[e>>0]|0}else e=Dh(b)|0;n=e+-48|0;w=(e|0)==46;if(!(w|n>>>0<10)){n=z;A=161;break g}else A=p}u=(u|0)!=0;A=169}else{y=0;v=0;u=k;n=o;k=0;l=0;o=0;A=161}while(0);do if((A|0)==161){B=(n|0)==0;h=B?y:h;p=B?v:p;u=(u|0)!=0;if(!((e|32|0)==101&u))if((e|0)>-1){e=y;n=v;A=169;break}else{e=y;n=v;A=171;break}n=fi(b,f)|0;e=C;if((n|0)==0&(e|0)==-2147483648){if(!f){Bh(b,0);g=0.0;break}if(!(c[D>>2]|0)){n=0;e=0}else{c[E>>2]=(c[E>>2]|0)+-1;n=0;e=0}}h=yu(n|0,e|0,h|0,p|0)|0;u=y;p=C;n=v;A=173}while(0);if((A|0)==169)if(c[D>>2]|0){c[E>>2]=(c[E>>2]|0)+-1;if(u){u=e;A=173}else A=172}else A=171;if((A|0)==171)if(u){u=e;A=173}else A=172;do if((A|0)==172){c[(qh()|0)>>2]=22;Bh(b,0);g=0.0}else if((A|0)==173){e=c[H>>2]|0;if(!e){g=+(I|0)*0.0;break}if(((n|0)<0|(n|0)==0&u>>>0<10)&((h|0)==(u|0)&(p|0)==(n|0))?K>>>0>30|(e>>>K|0)==0:0){g=+(I|0)*+(e>>>0);break}b=(J|0)/-2|0;E=((b|0)<0)<<31>>31;if((p|0)>(E|0)|(p|0)==(E|0)&h>>>0>b>>>0){c[(qh()|0)>>2]=34;g=+(I|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}b=J+-106|0;E=((b|0)<0)<<31>>31;if((p|0)<(E|0)|(p|0)==(E|0)&h>>>0<b>>>0){c[(qh()|0)>>2]=34;g=+(I|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(k){if((k|0)<9){n=H+(l<<2)|0;e=c[n>>2]|0;do{e=e*10|0;k=k+1|0}while((k|0)!=9);c[n>>2]=e}l=l+1|0}if((o|0)<9?(o|0)<=(h|0)&(h|0)<18:0){if((h|0)==9){g=+(I|0)*+((c[H>>2]|0)>>>0);break}if((h|0)<9){g=+(I|0)*+((c[H>>2]|0)>>>0)/+(c[6752+(8-h<<2)>>2]|0);break}b=K+27+(_(h,-3)|0)|0;e=c[H>>2]|0;if((b|0)>30|(e>>>b|0)==0){g=+(I|0)*+(e>>>0)*+(c[6752+(h+-10<<2)>>2]|0);break}}e=(h|0)%9|0;if(!e){k=0;e=0}else{u=(h|0)>-1?e:e+9|0;n=c[6752+(8-u<<2)>>2]|0;if(l){o=1e9/(n|0)|0;k=0;e=0;p=0;do{D=H+(p<<2)|0;E=c[D>>2]|0;b=((E>>>0)/(n>>>0)|0)+e|0;c[D>>2]=b;e=_((E>>>0)%(n>>>0)|0,o)|0;b=(p|0)==(k|0)&(b|0)==0;p=p+1|0;h=b?h+-9|0:h;k=b?p&127:k}while((p|0)!=(l|0));if(e){c[H+(l<<2)>>2]=e;l=l+1|0}}else{k=0;l=0}e=0;h=9-u+h|0}i:while(1){v=(h|0)<18;w=(h|0)==18;x=H+(k<<2)|0;do{if(!v){if(!w){y=l;break i}if((c[x>>2]|0)>>>0>=9007199){h=18;y=l;break i}}n=0;o=l+127|0;while(1){u=o&127;p=H+(u<<2)|0;o=Au(c[p>>2]|0,0,29)|0;o=yu(o|0,C|0,n|0,0)|0;n=C;if(n>>>0>0|(n|0)==0&o>>>0>1e9){b=Lu(o|0,n|0,1e9,0)|0;o=Mu(o|0,n|0,1e9,0)|0;n=b}else n=0;c[p>>2]=o;b=(u|0)==(k|0);l=(u|0)!=(l+127&127|0)|b?l:(o|0)==0?u:l;if(b)break;else o=u+-1|0}e=e+-29|0}while((n|0)==0);k=k+127&127;if((k|0)==(l|0)){b=l+127&127;l=H+((l+126&127)<<2)|0;c[l>>2]=c[l>>2]|c[H+(b<<2)>>2];l=b}c[H+(k<<2)>>2]=n;h=h+9|0}j:while(1){l=y+1&127;x=H+((y+127&127)<<2)|0;while(1){v=(h|0)==18;w=(h|0)>27?9:1;u=v^1;while(1){o=k&127;p=(o|0)==(y|0);do if(!p){n=c[H+(o<<2)>>2]|0;if(n>>>0<9007199){A=219;break}if(n>>>0>9007199)break;n=k+1&127;if((n|0)==(y|0)){A=219;break}n=c[H+(n<<2)>>2]|0;if(n>>>0<254740991){A=219;break}if(!(n>>>0>254740991|u)){h=o;l=y;break j}}else A=219;while(0);if((A|0)==219?(A=0,v):0){A=220;break j}e=e+w|0;if((k|0)==(y|0))k=y;else break}u=(1<<w)+-1|0;v=1e9>>>w;o=k;n=0;p=k;while(1){E=H+(p<<2)|0;b=c[E>>2]|0;k=(b>>>w)+n|0;c[E>>2]=k;n=_(b&u,v)|0;k=(p|0)==(o|0)&(k|0)==0;p=p+1&127;h=k?h+-9|0:h;k=k?p:o;if((p|0)==(y|0))break;else o=k}if(!n)continue;if((l|0)!=(k|0))break;c[x>>2]=c[x>>2]|1}c[H+(y<<2)>>2]=n;y=l}if((A|0)==220)if(p){c[H+(l+-1<<2)>>2]=0;h=y}else{h=o;l=y}g=+((c[H+(h<<2)>>2]|0)>>>0);h=k+1&127;if((h|0)==(l|0)){l=k+2&127;c[H+(l+-1<<2)>>2]=0}t=+(I|0);j=t*(g*1.0e9+ +((c[H+(h<<2)>>2]|0)>>>0));v=e+53|0;p=v-J|0;u=(p|0)<(K|0);h=u&1;o=u?((p|0)<0?0:p):K;if((o|0)<53){M=+hi(+gi(1.0,105-o|0),j);m=+ki(j,+gi(1.0,53-o|0));q=M;g=m;m=M+(j-m)}else{q=0.0;g=0.0;m=j}n=k+2&127;do if((n|0)==(l|0))j=g;else{n=c[H+(n<<2)>>2]|0;do if(n>>>0>=5e8){if(n>>>0>5e8){g=t*.75+g;break}if((k+3&127|0)==(l|0)){g=t*.5+g;break}else{g=t*.75+g;break}}else{if((n|0)==0?(k+3&127|0)==(l|0):0)break;g=t*.25+g}while(0);if((53-o|0)<=1){j=g;break}if(+ki(g,1.0)!=0.0){j=g;break}j=g+1.0}while(0);g=m+j-q;do if((v&2147483647|0)>(-2-F|0)){if(+N(+g)>=9007199254740992.0){h=u&(o|0)==(p|0)?0:h;e=e+1|0;g=g*.5}if((e+50|0)<=(G|0)?!(j!=0.0&(h|0)!=0):0)break;c[(qh()|0)>>2]=34}while(0);g=+ji(g,e)}while(0);break a}default:{if(c[D>>2]|0)c[E>>2]=(c[E>>2]|0)+-1;c[(qh()|0)>>2]=22;Bh(b,0);g=0.0;break a}}}}while(0);if((A|0)==23){h=(c[D>>2]|0)==0;if(!h)c[E>>2]=(c[E>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[E>>2]=(c[E>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(I|0)*s}while(0);i=L;return +g}function fi(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=a+4|0;e=c[i>>2]|0;j=a+100|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Dh(a)|0;switch(e|0){case 43:case 45:{f=(e|0)==45&1;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Dh(a)|0;if((b|0)!=0&(e+-48|0)>>>0>9?(c[j>>2]|0)!=0:0){c[i>>2]=(c[i>>2]|0)+-1;h=f}else h=f;break}default:h=0}if((e+-48|0)>>>0>9)if(!(c[j>>2]|0)){f=-2147483648;e=0}else{c[i>>2]=(c[i>>2]|0)+-1;f=-2147483648;e=0}else{f=0;do{f=e+-48+(f*10|0)|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Dh(a)|0}while((e+-48|0)>>>0<10&(f|0)<214748364);b=((f|0)<0)<<31>>31;if((e+-48|0)>>>0<10){do{b=Ku(f|0,b|0,10,0)|0;f=C;e=yu(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;f=yu(e|0,C|0,b|0,f|0)|0;b=C;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Dh(a)|0}while((e+-48|0)>>>0<10&((b|0)<21474836|(b|0)==21474836&f>>>0<2061584302));g=f}else g=f;if((e+-48|0)>>>0<10)do{e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=Dh(a)|0}while((e+-48|0)>>>0<10);if(c[j>>2]|0)c[i>>2]=(c[i>>2]|0)+-1;a=(h|0)!=0;e=wu(0,0,g|0,b|0)|0;f=a?C:b;e=a?e:g}C=f;return e|0}function gi(a,b){a=+a;b=b|0;var d=0;if((b|0)>1023){a=a*8988465674311579538646525.0e283;d=b+-1023|0;if((d|0)>1023){d=b+-2046|0;d=(d|0)>1023?1023:d;a=a*8988465674311579538646525.0e283}}else if((b|0)<-1022){a=a*2.2250738585072014e-308;d=b+1022|0;if((d|0)<-1022){d=b+2044|0;d=(d|0)<-1022?-1022:d;a=a*2.2250738585072014e-308}}else d=b;d=Au(d+1023|0,0,52)|0;b=C;c[k>>2]=d;c[k+4>>2]=b;return +(a*+h[k>>3])}function hi(a,b){a=+a;b=+b;return +(+ii(a,b))}function ii(a,b){a=+a;b=+b;var d=0;h[k>>3]=b;d=c[k+4>>2]|0;b=+N(+a);h[k>>3]=b;d=d&-2147483648|c[k+4>>2];c[k>>2]=c[k>>2];c[k+4>>2]=d;return +(+h[k>>3])}function ji(a,b){a=+a;b=b|0;return +(+gi(a,b))}function ki(a,b){a=+a;b=+b;return +(+li(a,b))}function li(a,b){a=+a;b=+b;var d=0,e=0,f=0,g=0,i=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0;h[k>>3]=a;d=c[k>>2]|0;m=c[k+4>>2]|0;h[k>>3]=b;n=c[k>>2]|0;o=c[k+4>>2]|0;e=zu(d|0,m|0,52)|0;e=e&2047;j=zu(n|0,o|0,52)|0;j=j&2047;p=m&-2147483648;i=Au(n|0,o|0,1)|0;l=C;a:do if(!((i|0)==0&(l|0)==0)?(r=+N(+b),h[k>>3]=r,g=c[k+4>>2]|0,!(g>>>0>2146435072|(g|0)==2146435072&(c[k>>2]|0)>>>0>0|(e|0)==2047)):0){f=Au(d|0,m|0,1)|0;g=C;if(!(g>>>0>l>>>0|(g|0)==(l|0)&f>>>0>i>>>0))return +((f|0)==(i|0)&(g|0)==(l|0)?a*0.0:a);if(!e){e=Au(d|0,m|0,12)|0;f=C;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){g=e;e=0;do{e=e+-1|0;g=Au(g|0,f|0,1)|0;f=C}while((f|0)>-1|(f|0)==-1&g>>>0>4294967295)}else e=0;d=Au(d|0,m|0,1-e|0)|0;f=C}else f=m&1048575|1048576;if(!j){g=Au(n|0,o|0,12)|0;i=C;if((i|0)>-1|(i|0)==-1&g>>>0>4294967295){j=0;do{j=j+-1|0;g=Au(g|0,i|0,1)|0;i=C}while((i|0)>-1|(i|0)==-1&g>>>0>4294967295)}else j=0;n=Au(n|0,o|0,1-j|0)|0;m=C}else m=o&1048575|1048576;l=wu(d|0,f|0,n|0,m|0)|0;i=C;g=(i|0)>-1|(i|0)==-1&l>>>0>4294967295;b:do if((e|0)>(j|0)){while(1){if(g)if((d|0)==(n|0)&(f|0)==(m|0))break;else{d=l;f=i}d=Au(d|0,f|0,1)|0;f=C;e=e+-1|0;l=wu(d|0,f|0,n|0,m|0)|0;i=C;g=(i|0)>-1|(i|0)==-1&l>>>0>4294967295;if((e|0)<=(j|0))break b}b=a*0.0;break a}while(0);if(g)if((d|0)==(n|0)&(f|0)==(m|0)){b=a*0.0;break}else{f=i;d=l}if(f>>>0<1048576|(f|0)==1048576&d>>>0<0)do{d=Au(d|0,f|0,1)|0;f=C;e=e+-1|0}while(f>>>0<1048576|(f|0)==1048576&d>>>0<0);if((e|0)>0){o=yu(d|0,f|0,0,-1048576)|0;d=C;e=Au(e|0,0,52)|0;d=d|C;e=o|e}else{e=zu(d|0,f|0,1-e|0)|0;d=C}c[k>>2]=e;c[k+4>>2]=d|p;b=+h[k>>3]}else q=3;while(0);if((q|0)==3){b=a*b;b=b/b}return +b}function mi(a){a=a|0;var b=0,d=0;do if(a){if((c[a+76>>2]|0)<=-1){b=ni(a)|0;break}d=(Vh(a)|0)==0;b=ni(a)|0;if(!d)uh(a)}else{if(!(c[1550]|0))b=0;else b=mi(c[1550]|0)|0;jb(1209840);a=c[302459]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=Vh(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=ni(a)|0|b;if(d|0)uh(a);a=c[a+56>>2]|0}while((a|0)!=0);bb(1209840)}while(0);return b|0}function ni(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+20|0;g=a+28|0;if((c[b>>2]|0)>>>0>(c[g>>2]|0)>>>0?(wb[c[a+36>>2]&31](a,0,0)|0,(c[b>>2]|0)==0):0)b=-1;else{h=a+4|0;d=c[h>>2]|0;e=a+8|0;f=c[e>>2]|0;if(d>>>0<f>>>0)wb[c[a+40>>2]&31](a,d-f|0,1)|0;c[a+16>>2]=0;c[g>>2]=0;c[b>>2]=0;c[e>>2]=0;c[h>>2]=0;b=0}return b|0}function oi(a){a=a|0;var b=0;b=a;while(1)if(!(c[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function pi(a,b,c){a=a|0;b=b|0;c=c|0;a=Ah(a,b,c,-1,-1)|0;return a|0}function qi(a,b,c){a=a|0;b=b|0;c=c|0;a=Ah(a,b,c,0,-2147483648)|0;return a|0}function ri(a,b,c){a=a|0;b=b|0;c=c|0;a=Ah(a,b,c,-2147483648,0)|0;return a|0}function si(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,j=0;j=i;i=i+112|0;h=j;f=h;g=f+112|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));f=h+4|0;c[f>>2]=a;g=h+8|0;c[g>>2]=-1;c[h+44>>2]=a;c[h+76>>2]=-1;Bh(h,0);e=+ei(h,d,1);d=(c[f>>2]|0)-(c[g>>2]|0)+(c[h+108>>2]|0)|0;if(b|0)c[b>>2]=d|0?a+d|0:a;i=j;return +e}function ti(a,b,c){a=a|0;b=b|0;c=c|0;return +(+si(a,b,2))}function ui(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=pi(a,b,c)|0;return a|0}function vi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qi(a,b,c)|0;return a|0}function wi(a){a=a|0;var b=0;b=(xi(a)|0)==0;return (b?a:a&95)|0}function xi(a){a=a|0;return (a+-97|0)>>>0<26|0}function yi(a){a=a|0;var b=0;b=(zi(a)|0)==0;return (b?a:a|32)|0}function zi(a){a=a|0;return (a+-65|0)>>>0<26|0}function Ai(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;g=k;a:do if(!e)g=0;else{do if(f|0){j=(b|0)==0?g:b;g=a[e>>0]|0;b=g&255;if(g<<24>>24>-1){c[j>>2]=b;g=g<<24>>24!=0&1;break a}g=b+-194|0;if(g>>>0<=50){b=e+1|0;h=c[6436+(g<<2)>>2]|0;if(f>>>0<4?h&-2147483648>>>((f*6|0)+-6|0)|0:0)break;g=d[b>>0]|0;f=g>>>3;if((f+-16|f+(h>>26))>>>0<=7){g=g+-128|h<<6;if((g|0)>=0){c[j>>2]=g;g=2;break a}b=d[e+2>>0]|0;if((b&192|0)==128){b=b+-128|g<<6;if((b|0)>=0){c[j>>2]=b;g=3;break a}g=d[e+3>>0]|0;if((g&192|0)==128){c[j>>2]=g+-128|b<<6;g=4;break a}}}}}while(0);c[(qh()|0)>>2]=84;g=-1}while(0);i=k;return g|0}function Bi(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=m;k=e&255;a[l>>0]=k;g=b+16|0;h=c[g>>2]|0;if(!h)if(!(Mh(b)|0)){h=c[g>>2]|0;j=4}else f=-1;else j=4;do if((j|0)==4){g=b+20|0;j=c[g>>2]|0;if(j>>>0<h>>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[g>>2]=j+1;a[j>>0]=k;break}if((wb[c[b+36>>2]&31](b,l,1)|0)==1)f=d[l>>0]|0;else f=-1}while(0);i=m;return f|0}function Ci(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=k;a:do if(!b){b=c[d>>2]|0;f=c[b>>2]|0;if(!f)e=0;else{e=0;do{if(f>>>0>127){f=Sh(j,f,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;f=c[b>>2]|0}while((f|0)!=0)}}else{b:do if(e>>>0>3){f=e;g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=Sh(b,h,0)|0;if((h|0)==-1){e=-1;break a}b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(f>>>0<=3)break b}a[b>>0]=0;c[d>>2]=0;e=e-f|0;break a}else f=e;while(0);if(f){g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=19;break}h=Sh(j,h,0)|0;if((h|0)==-1){e=-1;break a}if(f>>>0<h>>>0){g=22;break}Sh(b,c[g>>2]|0,0)|0;b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(!f)break a}if((g|0)==19){a[b>>0]=0;c[d>>2]=0;e=e-f|0;break}else if((g|0)==22){e=e-f|0;break}}}while(0);i=k;return e|0}function Di(a,b){a=a|0;b=b|0;return (Ei(a,Xh(a)|0,1,b)|0)+-1|0}function Ei(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=_(d,b)|0;if((c[e+76>>2]|0)>-1){g=(Vh(e)|0)==0;a=Lh(a,f,e)|0;if(!g)uh(e)}else a=Lh(a,f,e)|0;if((a|0)!=(f|0))d=(a>>>0)/(b>>>0)|0;return d|0}function Fi(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if((c[d+76>>2]|0)>=0?(Vh(d)|0)!=0:0){if((a[d+75>>0]|0)!=(b|0)?(f=d+20|0,g=c[f>>2]|0,g>>>0<(c[d+16>>2]|0)>>>0):0){c[f>>2]=g+1;a[g>>0]=b;e=b&255}else e=Bi(d,b)|0;uh(d)}else i=3;do if((i|0)==3){if((a[d+75>>0]|0)!=(b|0)?(h=d+20|0,e=c[h>>2]|0,e>>>0<(c[d+16>>2]|0)>>>0):0){c[h>>2]=e+1;a[e>>0]=b;e=b&255;break}e=Bi(d,b)|0}while(0);return e|0}function Gi(a){a=a|0;var b=0,e=0,f=0;if((c[a+76>>2]|0)>=0?(Vh(a)|0)!=0:0){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0}else b=Eh(a)|0;uh(a)}else f=3;do if((f|0)==3){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0;break}else{b=Eh(a)|0;break}}while(0);return b|0}function Hi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+1040|0;l=o+8|0;n=o;k=c[b>>2]|0;c[n>>2]=k;m=(a|0)!=0;e=m?e:256;a=m?a:l;g=k;a:do if((e|0)!=0&(k|0)!=0){j=e;k=g;e=0;while(1){g=d>>>2;h=g>>>0>=j>>>0;if(!(d>>>0>131|h)){g=k;break a}g=h?j:g;d=d-g|0;g=Ii(a,n,g,f)|0;if((g|0)==-1){e=d;break}p=(a|0)==(l|0);k=p?0:g;h=j-k|0;a=p?a:a+(g<<2)|0;e=g+e|0;g=c[n>>2]|0;if((j|0)!=(k|0)&(g|0)!=0){j=h;k=g}else{j=h;break a}}d=e;j=0;g=c[n>>2]|0;e=-1}else{j=e;e=0}while(0);b:do if((g|0)!=0?(j|0)!=0&(d|0)!=0:0){h=g;g=a;while(1){a=ci(g,h,d,f)|0;if((a+2|0)>>>0<3)break;h=(c[n>>2]|0)+a|0;c[n>>2]=h;j=j+-1|0;e=e+1|0;if(!((j|0)!=0&(d|0)!=(a|0)))break b;else{d=d-a|0;g=g+4|0}}switch(a|0){case -1:{e=-1;break b}case 0:{c[n>>2]=0;break b}default:{c[f>>2]=0;break b}}}while(0);if(m)c[b>>2]=c[n>>2];i=o;return e|0}function Ii(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){g=f;j=h;m=16}else{c[g>>2]=0;l=b;g=f;k=i;m=37}else if(!b){g=f;m=7}else{i=b;g=f;m=6}a:while(1)if((m|0)==6){if(!g){m=26;break}else b=i;while(1){i=a[h>>0]|0;do if(((i&255)+-1|0)>>>0<127?g>>>0>4&(h&3|0)==0:0){j=h;while(1){h=c[j>>2]|0;if((h+-16843009|h)&-2139062144|0){i=h;h=j;m=32;break}c[b>>2]=h&255;c[b+4>>2]=d[j+1>>0];c[b+8>>2]=d[j+2>>0];h=j+4|0;i=b+16|0;c[b+12>>2]=d[j+3>>0];g=g+-4|0;if(g>>>0>4){b=i;j=h}else{m=31;break}}if((m|0)==31){b=i;i=a[h>>0]|0;break}else if((m|0)==32){i=i&255;break}}while(0);i=i&255;if((i+-1|0)>>>0>=127)break;h=h+1|0;c[b>>2]=i;g=g+-1|0;if(!g){m=26;break a}else b=b+4|0}i=i+-194|0;if(i>>>0>50){m=48;break}l=b;k=c[6436+(i<<2)>>2]|0;h=h+1|0;m=37;continue}else if((m|0)==7){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){m=c[h>>2]|0;i=m&255;if(!((m+-16843009|m)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(((i+-16843009|i)&-2139062144|0)==0);i=i&255}}i=i&255;if((i+-1|0)>>>0<127){g=g+-1|0;h=h+1|0;m=7;continue}i=i+-194|0;if(i>>>0>50){m=48;break}i=c[6436+(i<<2)>>2]|0;j=h+1|0;m=16;continue}else if((m|0)==16){m=(d[j>>0]|0)>>>3;if((m+-16|m+(i>>26))>>>0>7){m=17;break}h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){m=20;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){m=23;break}h=j+3|0}}g=g+-1|0;m=7;continue}else if((m|0)==37){i=d[h>>0]|0;m=i>>>3;if((m+-16|m+(k>>26))>>>0>7){m=38;break}j=h+1|0;b=i+-128|k<<6;if((b|0)<0){i=d[j>>0]|0;if((i&192|0)!=128){m=41;break}j=h+2|0;b=i+-128|b<<6;if((b|0)<0){i=d[j>>0]|0;if((i&192|0)!=128){m=44;break}b=i+-128|b<<6;h=h+3|0}else h=j}else h=j;c[l>>2]=b;i=l+4|0;g=g+-1|0;m=6;continue}if((m|0)==17){h=j+-1|0;m=47}else if((m|0)==20){h=j+-1|0;m=47}else if((m|0)==23){h=j+-1|0;m=47}else if((m|0)==26)c[e>>2]=h;else if((m|0)==38){b=l;i=k;h=h+-1|0;m=47}else if((m|0)==41){g=l;f=h+-1|0;m=52}else if((m|0)==44){g=l;f=h+-1|0;m=52}if((m|0)==47)if(!i)m=48;else{g=b;f=h;m=52}if((m|0)==48)if(!(a[h>>0]|0)){if(b|0){c[b>>2]=0;c[e>>2]=0}f=f-g|0}else{g=b;f=h;m=52}if((m|0)==52){c[(qh()|0)>>2]=84;if(!g)f=-1;else{c[e>>2]=f;f=-1}}return f|0}function Ji(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if((b|0)!=-1){if((c[d+76>>2]|0)>-1)g=Vh(d)|0;else g=0;if(!((c[d+8>>2]|0)==0?(Fh(d)|0)!=0:0))h=6;if((h|0)==6?(e=d+4|0,f=c[e>>2]|0,f>>>0>((c[d+44>>2]|0)+-8|0)>>>0):0){h=f+-1|0;c[e>>2]=h;a[h>>0]=b;c[d>>2]=c[d>>2]&-17;if(!g)break;uh(d);break}if(g){uh(d);b=-1}else b=-1}else b=-1;while(0);return b|0}function Ki(b){b=b|0;var d=0,e=0,f=0,g=0;f=c[1521]|0;if((c[f+76>>2]|0)>-1)g=Vh(f)|0;else g=0;do if((Di(b,f)|0)<0)d=1;else{if((a[f+75>>0]|0)!=10?(d=f+20|0,e=c[d>>2]|0,e>>>0<(c[f+16>>2]|0)>>>0):0){c[d>>2]=e+1;a[e>>0]=10;d=0;break}d=(Bi(f,10)|0)<0}while(0);if(g|0)uh(f);return d<<31>>31|0}function Li(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;e=j;f=bj(240)|0;do if(f){c[e>>2]=c[d>>2];e=Hh(f,240,b,e)|0;if(e>>>0<240){b=ej(f,e+1|0)|0;c[a>>2]=b|0?b:f;break}cj(f);if((e|0)>=0?(h=e+1|0,g=bj(h)|0,c[a>>2]=g,(g|0)!=0):0)e=Hh(g,h,b,d)|0;else e=-1}else e=-1;while(0);i=j;return e|0}function Mi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function Ni(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function Oi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=(d|0)==0;if(a-b>>2>>>0<d>>>0){if(!e)do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0)}else if(!e){e=b;b=a;while(1){d=d+-1|0;c[b>>2]=c[e>>2];if(!d)break;else{e=e+4|0;b=b+4|0}}}return a|0}function Pi(a){a=a|0;var b=0,d=0;b=(Xa()|0)+180|0;d=c[b>>2]|0;if(a|0)c[b>>2]=a;return d|0}function Qi(a,b){a=a|0;b=b|0;return (a+-48|0)>>>0<10|0}function Ri(a){a=a|0;cj(a);return}function Si(a){a=a|0;return 0}function Ti(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function Ui(a,b){a=a|0;b=b|0;return Vi(a)|0}function Vi(a){a=a|0;if((a+-48|0)>>>0<10)a=1;else a=((a|32)+-97|0)>>>0<6;return a&1|0}function Wi(a,b){a=a|0;b=b|0;return -1|0}function Xi(b,c,d){b=b|0;c=c|0;d=d|0;if(((a[c>>0]|0)!=0?(Wh(c,20194)|0)!=0:0)?(Wh(c,19069)|0)!=0:0)d=0;else if(!d)d=dj(1,4)|0;return d|0}function Yi(a,b,c){a=a|0;b=b|0;c=c|0;return ci(0,a,b,c|0?c:1209864)|0}function Zi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;m=i;i=i+272|0;j=m+8|0;l=m;h=c[b>>2]|0;c[l>>2]=h;k=(a|0)!=0;f=k?e:256;e=k?a:j;a=h;a:do if((f|0)!=0&(h|0)!=0){h=f;g=a;f=0;while(1){a=d>>>0>=h>>>0;if(!(a|d>>>0>32)){a=g;break a}a=a?h:d;d=d-a|0;a=Ci(e,l,a,0)|0;if((a|0)==-1){f=d;break}o=(e|0)==(j|0);n=o?0:a;g=h-n|0;e=o?e:e+a|0;f=a+f|0;a=c[l>>2]|0;if((h|0)!=(n|0)&(a|0)!=0){h=g;g=a}else{h=g;break a}}d=f;h=0;a=c[l>>2]|0;f=-1}else{h=f;f=0}while(0);b:do if((a|0)!=0?(h|0)!=0&(d|0)!=0:0){g=a;a=e;while(1){e=Sh(a,c[g>>2]|0,0)|0;if((e+1|0)>>>0<2)break;g=(c[l>>2]|0)+4|0;c[l>>2]=g;d=d+-1|0;f=f+1|0;if(!((h|0)!=(e|0)&(d|0)!=0))break b;else{h=h-e|0;a=a+e|0}}if(!e)c[l>>2]=0;else f=-1}while(0);if(k)c[b>>2]=c[l>>2];i=m;return f|0}function _i(){return 6784}function $i(){return 8324}function aj(){return 9864}function bj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;do if(a>>>0<245){o=a>>>0<11?16:a+11&-8;a=o>>>3;j=c[302467]|0;b=j>>>a;if(b&3|0){b=(b&1^1)+a|0;d=1209908+(b<<1<<2)|0;e=d+8|0;f=c[e>>2]|0;g=f+8|0;h=c[g>>2]|0;do if((d|0)!=(h|0)){if(h>>>0<(c[302471]|0)>>>0)Aa();a=h+12|0;if((c[a>>2]|0)==(f|0)){c[a>>2]=d;c[e>>2]=h;break}else Aa()}else c[302467]=j&~(1<<b);while(0);L=b<<3;c[f+4>>2]=L|3;L=f+L+4|0;c[L>>2]=c[L>>2]|1;L=g;return L|0}h=c[302469]|0;if(o>>>0>h>>>0){if(b|0){d=2<<a;d=b<<a&(d|0-d);d=(d&0-d)+-1|0;i=d>>>12&16;d=d>>>i;f=d>>>5&8;d=d>>>f;g=d>>>2&4;d=d>>>g;e=d>>>1&2;d=d>>>e;b=d>>>1&1;b=(f|i|g|e|b)+(d>>>b)|0;d=1209908+(b<<1<<2)|0;e=d+8|0;g=c[e>>2]|0;i=g+8|0;f=c[i>>2]|0;do if((d|0)!=(f|0)){if(f>>>0<(c[302471]|0)>>>0)Aa();a=f+12|0;if((c[a>>2]|0)==(g|0)){c[a>>2]=d;c[e>>2]=f;k=c[302469]|0;break}else Aa()}else{c[302467]=j&~(1<<b);k=h}while(0);h=(b<<3)-o|0;c[g+4>>2]=o|3;e=g+o|0;c[e+4>>2]=h|1;c[e+h>>2]=h;if(k|0){f=c[302472]|0;b=k>>>3;d=1209908+(b<<1<<2)|0;a=c[302467]|0;b=1<<b;if(a&b){a=d+8|0;b=c[a>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();else{l=a;m=b}}else{c[302467]=a|b;l=d+8|0;m=d}c[l>>2]=f;c[m+12>>2]=f;c[f+8>>2]=m;c[f+12>>2]=d}c[302469]=h;c[302472]=e;L=i;return L|0}a=c[302468]|0;if(a){d=(a&0-a)+-1|0;K=d>>>12&16;d=d>>>K;J=d>>>5&8;d=d>>>J;L=d>>>2&4;d=d>>>L;b=d>>>1&2;d=d>>>b;e=d>>>1&1;e=c[1210172+((J|K|L|b|e)+(d>>>e)<<2)>>2]|0;d=(c[e+4>>2]&-8)-o|0;b=e;while(1){a=c[b+16>>2]|0;if(!a){a=c[b+20>>2]|0;if(!a){j=e;break}}b=(c[a+4>>2]&-8)-o|0;L=b>>>0<d>>>0;d=L?b:d;b=a;e=L?a:e}g=c[302471]|0;if(j>>>0<g>>>0)Aa();i=j+o|0;if(j>>>0>=i>>>0)Aa();h=c[j+24>>2]|0;e=c[j+12>>2]|0;do if((e|0)==(j|0)){b=j+20|0;a=c[b>>2]|0;if(!a){b=j+16|0;a=c[b>>2]|0;if(!a){n=0;break}}while(1){e=a+20|0;f=c[e>>2]|0;if(f|0){a=f;b=e;continue}e=a+16|0;f=c[e>>2]|0;if(!f)break;else{a=f;b=e}}if(b>>>0<g>>>0)Aa();else{c[b>>2]=0;n=a;break}}else{f=c[j+8>>2]|0;if(f>>>0<g>>>0)Aa();a=f+12|0;if((c[a>>2]|0)!=(j|0))Aa();b=e+8|0;if((c[b>>2]|0)==(j|0)){c[a>>2]=e;c[b>>2]=f;n=e;break}else Aa()}while(0);do if(h|0){a=c[j+28>>2]|0;b=1210172+(a<<2)|0;if((j|0)==(c[b>>2]|0)){c[b>>2]=n;if(!n){c[302468]=c[302468]&~(1<<a);break}}else{if(h>>>0<(c[302471]|0)>>>0)Aa();a=h+16|0;if((c[a>>2]|0)==(j|0))c[a>>2]=n;else c[h+20>>2]=n;if(!n)break}b=c[302471]|0;if(n>>>0<b>>>0)Aa();c[n+24>>2]=h;a=c[j+16>>2]|0;do if(a|0)if(a>>>0<b>>>0)Aa();else{c[n+16>>2]=a;c[a+24>>2]=n;break}while(0);a=c[j+20>>2]|0;if(a|0)if(a>>>0<(c[302471]|0)>>>0)Aa();else{c[n+20>>2]=a;c[a+24>>2]=n;break}}while(0);if(d>>>0<16){L=d+o|0;c[j+4>>2]=L|3;L=j+L+4|0;c[L>>2]=c[L>>2]|1}else{c[j+4>>2]=o|3;c[i+4>>2]=d|1;c[i+d>>2]=d;a=c[302469]|0;if(a|0){f=c[302472]|0;b=a>>>3;e=1209908+(b<<1<<2)|0;a=c[302467]|0;b=1<<b;if(a&b){a=e+8|0;b=c[a>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();else{p=a;q=b}}else{c[302467]=a|b;p=e+8|0;q=e}c[p>>2]=f;c[q+12>>2]=f;c[f+8>>2]=q;c[f+12>>2]=e}c[302469]=d;c[302472]=i}L=j+8|0;return L|0}}}else if(a>>>0<=4294967231){a=a+11|0;o=a&-8;j=c[302468]|0;if(j){d=0-o|0;a=a>>>8;if(a)if(o>>>0>16777215)i=31;else{q=(a+1048320|0)>>>16&8;E=a<<q;p=(E+520192|0)>>>16&4;E=E<<p;i=(E+245760|0)>>>16&2;i=14-(p|q|i)+(E<<i>>>15)|0;i=o>>>(i+7|0)&1|i<<1}else i=0;b=c[1210172+(i<<2)>>2]|0;a:do if(!b){a=0;b=0;E=86}else{f=d;a=0;g=o<<((i|0)==31?0:25-(i>>>1)|0);h=b;b=0;while(1){e=c[h+4>>2]&-8;d=e-o|0;if(d>>>0<f>>>0)if((e|0)==(o|0)){a=h;b=h;E=90;break a}else b=h;else d=f;e=c[h+20>>2]|0;h=c[h+16+(g>>>31<<2)>>2]|0;a=(e|0)==0|(e|0)==(h|0)?a:e;e=(h|0)==0;if(e){E=86;break}else{f=d;g=g<<(e&1^1)}}}while(0);if((E|0)==86){if((a|0)==0&(b|0)==0){a=2<<i;a=j&(a|0-a);if(!a)break;q=(a&0-a)+-1|0;m=q>>>12&16;q=q>>>m;l=q>>>5&8;q=q>>>l;n=q>>>2&4;q=q>>>n;p=q>>>1&2;q=q>>>p;a=q>>>1&1;a=c[1210172+((l|m|n|p|a)+(q>>>a)<<2)>>2]|0}if(!a){i=d;j=b}else E=90}if((E|0)==90)while(1){E=0;q=(c[a+4>>2]&-8)-o|0;e=q>>>0<d>>>0;d=e?q:d;b=e?a:b;e=c[a+16>>2]|0;if(e|0){a=e;E=90;continue}a=c[a+20>>2]|0;if(!a){i=d;j=b;break}else E=90}if((j|0)!=0?i>>>0<((c[302469]|0)-o|0)>>>0:0){f=c[302471]|0;if(j>>>0<f>>>0)Aa();h=j+o|0;if(j>>>0>=h>>>0)Aa();g=c[j+24>>2]|0;d=c[j+12>>2]|0;do if((d|0)==(j|0)){b=j+20|0;a=c[b>>2]|0;if(!a){b=j+16|0;a=c[b>>2]|0;if(!a){s=0;break}}while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0<f>>>0)Aa();else{c[b>>2]=0;s=a;break}}else{e=c[j+8>>2]|0;if(e>>>0<f>>>0)Aa();a=e+12|0;if((c[a>>2]|0)!=(j|0))Aa();b=d+8|0;if((c[b>>2]|0)==(j|0)){c[a>>2]=d;c[b>>2]=e;s=d;break}else Aa()}while(0);do if(g|0){a=c[j+28>>2]|0;b=1210172+(a<<2)|0;if((j|0)==(c[b>>2]|0)){c[b>>2]=s;if(!s){c[302468]=c[302468]&~(1<<a);break}}else{if(g>>>0<(c[302471]|0)>>>0)Aa();a=g+16|0;if((c[a>>2]|0)==(j|0))c[a>>2]=s;else c[g+20>>2]=s;if(!s)break}b=c[302471]|0;if(s>>>0<b>>>0)Aa();c[s+24>>2]=g;a=c[j+16>>2]|0;do if(a|0)if(a>>>0<b>>>0)Aa();else{c[s+16>>2]=a;c[a+24>>2]=s;break}while(0);a=c[j+20>>2]|0;if(a|0)if(a>>>0<(c[302471]|0)>>>0)Aa();else{c[s+20>>2]=a;c[a+24>>2]=s;break}}while(0);do if(i>>>0>=16){c[j+4>>2]=o|3;c[h+4>>2]=i|1;c[h+i>>2]=i;a=i>>>3;if(i>>>0<256){d=1209908+(a<<1<<2)|0;b=c[302467]|0;a=1<<a;if(b&a){a=d+8|0;b=c[a>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();else{u=a;v=b}}else{c[302467]=b|a;u=d+8|0;v=d}c[u>>2]=h;c[v+12>>2]=h;c[h+8>>2]=v;c[h+12>>2]=d;break}a=i>>>8;if(a)if(i>>>0>16777215)d=31;else{K=(a+1048320|0)>>>16&8;L=a<<K;J=(L+520192|0)>>>16&4;L=L<<J;d=(L+245760|0)>>>16&2;d=14-(J|K|d)+(L<<d>>>15)|0;d=i>>>(d+7|0)&1|d<<1}else d=0;e=1210172+(d<<2)|0;c[h+28>>2]=d;a=h+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[302468]|0;b=1<<d;if(!(a&b)){c[302468]=a|b;c[e>>2]=h;c[h+24>>2]=e;c[h+12>>2]=h;c[h+8>>2]=h;break}f=i<<((d|0)==31?0:25-(d>>>1)|0);a=c[e>>2]|0;while(1){if((c[a+4>>2]&-8|0)==(i|0)){d=a;E=148;break}b=a+16+(f>>>31<<2)|0;d=c[b>>2]|0;if(!d){E=145;break}else{f=f<<1;a=d}}if((E|0)==145)if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[b>>2]=h;c[h+24>>2]=a;c[h+12>>2]=h;c[h+8>>2]=h;break}else if((E|0)==148){a=d+8|0;b=c[a>>2]|0;L=c[302471]|0;if(b>>>0>=L>>>0&d>>>0>=L>>>0){c[b+12>>2]=h;c[a>>2]=h;c[h+8>>2]=b;c[h+12>>2]=d;c[h+24>>2]=0;break}else Aa()}}else{L=i+o|0;c[j+4>>2]=L|3;L=j+L+4|0;c[L>>2]=c[L>>2]|1}while(0);L=j+8|0;return L|0}}}else o=-1;while(0);d=c[302469]|0;if(d>>>0>=o>>>0){a=d-o|0;b=c[302472]|0;if(a>>>0>15){L=b+o|0;c[302472]=L;c[302469]=a;c[L+4>>2]=a|1;c[L+a>>2]=a;c[b+4>>2]=o|3}else{c[302469]=0;c[302472]=0;c[b+4>>2]=d|3;L=b+d+4|0;c[L>>2]=c[L>>2]|1}L=b+8|0;return L|0}a=c[302470]|0;if(a>>>0>o>>>0){J=a-o|0;c[302470]=J;L=c[302473]|0;K=L+o|0;c[302473]=K;c[K+4>>2]=J|1;c[L+4>>2]=o|3;L=L+8|0;return L|0}do if(!(c[302585]|0)){a=Ta(30)|0;if(!(a+-1&a)){c[302587]=a;c[302586]=a;c[302588]=-1;c[302589]=-1;c[302590]=0;c[302578]=0;c[302585]=(nb(0)|0)&-16^1431655768;break}else Aa()}while(0);h=o+48|0;g=c[302587]|0;i=o+47|0;f=g+i|0;g=0-g|0;j=f&g;if(j>>>0<=o>>>0){L=0;return L|0}a=c[302577]|0;if(a|0?(u=c[302575]|0,v=u+j|0,v>>>0<=u>>>0|v>>>0>a>>>0):0){L=0;return L|0}b:do if(!(c[302578]&4)){a=c[302473]|0;c:do if(a){d=1210316;while(1){b=c[d>>2]|0;if(b>>>0<=a>>>0?(r=d+4|0,(b+(c[r>>2]|0)|0)>>>0>a>>>0):0){e=d;d=r;break}d=c[d+8>>2]|0;if(!d){E=173;break c}}a=f-(c[302470]|0)&g;if(a>>>0<2147483647){b=Na(a|0)|0;if((b|0)==((c[e>>2]|0)+(c[d>>2]|0)|0)){if((b|0)!=(-1|0)){h=b;f=a;E=193;break b}}else E=183}}else E=173;while(0);do if((E|0)==173?(t=Na(0)|0,(t|0)!=(-1|0)):0){a=t;b=c[302586]|0;d=b+-1|0;if(!(d&a))a=j;else a=j-a+(d+a&0-b)|0;b=c[302575]|0;d=b+a|0;if(a>>>0>o>>>0&a>>>0<2147483647){v=c[302577]|0;if(v|0?d>>>0<=b>>>0|d>>>0>v>>>0:0)break;b=Na(a|0)|0;if((b|0)==(t|0)){h=t;f=a;E=193;break b}else E=183}}while(0);d:do if((E|0)==183){d=0-a|0;do if(h>>>0>a>>>0&(a>>>0<2147483647&(b|0)!=(-1|0))?(w=c[302587]|0,w=i-a+w&0-w,w>>>0<2147483647):0)if((Na(w|0)|0)==(-1|0)){Na(d|0)|0;break d}else{a=w+a|0;break}while(0);if((b|0)!=(-1|0)){h=b;f=a;E=193;break b}}while(0);c[302578]=c[302578]|4;E=190}else E=190;while(0);if((((E|0)==190?j>>>0<2147483647:0)?(x=Na(j|0)|0,y=Na(0)|0,x>>>0<y>>>0&((x|0)!=(-1|0)&(y|0)!=(-1|0))):0)?(z=y-x|0,z>>>0>(o+40|0)>>>0):0){h=x;f=z;E=193}if((E|0)==193){a=(c[302575]|0)+f|0;c[302575]=a;if(a>>>0>(c[302576]|0)>>>0)c[302576]=a;i=c[302473]|0;do if(i){e=1210316;do{a=c[e>>2]|0;b=e+4|0;d=c[b>>2]|0;if((h|0)==(a+d|0)){A=a;B=b;C=d;D=e;E=203;break}e=c[e+8>>2]|0}while((e|0)!=0);if(((E|0)==203?(c[D+12>>2]&8|0)==0:0)?i>>>0<h>>>0&i>>>0>=A>>>0:0){c[B>>2]=C+f;L=i+8|0;L=(L&7|0)==0?0:0-L&7;K=i+L|0;L=f-L+(c[302470]|0)|0;c[302473]=K;c[302470]=L;c[K+4>>2]=L|1;c[K+L+4>>2]=40;c[302474]=c[302589];break}a=c[302471]|0;if(h>>>0<a>>>0){c[302471]=h;j=h}else j=a;d=h+f|0;a=1210316;while(1){if((c[a>>2]|0)==(d|0)){b=a;E=211;break}a=c[a+8>>2]|0;if(!a){b=1210316;break}}if((E|0)==211)if(!(c[a+12>>2]&8)){c[b>>2]=h;l=a+4|0;c[l>>2]=(c[l>>2]|0)+f;l=h+8|0;l=h+((l&7|0)==0?0:0-l&7)|0;a=d+8|0;a=d+((a&7|0)==0?0:0-a&7)|0;k=l+o|0;g=a-l-o|0;c[l+4>>2]=o|3;do if((a|0)!=(i|0)){if((a|0)==(c[302472]|0)){L=(c[302469]|0)+g|0;c[302469]=L;c[302472]=k;c[k+4>>2]=L|1;c[k+L>>2]=L;break}b=c[a+4>>2]|0;if((b&3|0)==1){i=b&-8;f=b>>>3;e:do if(b>>>0>=256){h=c[a+24>>2]|0;e=c[a+12>>2]|0;do if((e|0)==(a|0)){d=a+16|0;e=d+4|0;b=c[e>>2]|0;if(!b){b=c[d>>2]|0;if(!b){J=0;break}}else d=e;while(1){e=b+20|0;f=c[e>>2]|0;if(f|0){b=f;d=e;continue}e=b+16|0;f=c[e>>2]|0;if(!f)break;else{b=f;d=e}}if(d>>>0<j>>>0)Aa();else{c[d>>2]=0;J=b;break}}else{f=c[a+8>>2]|0;if(f>>>0<j>>>0)Aa();b=f+12|0;if((c[b>>2]|0)!=(a|0))Aa();d=e+8|0;if((c[d>>2]|0)==(a|0)){c[b>>2]=e;c[d>>2]=f;J=e;break}else Aa()}while(0);if(!h)break;b=c[a+28>>2]|0;d=1210172+(b<<2)|0;do if((a|0)!=(c[d>>2]|0)){if(h>>>0<(c[302471]|0)>>>0)Aa();b=h+16|0;if((c[b>>2]|0)==(a|0))c[b>>2]=J;else c[h+20>>2]=J;if(!J)break e}else{c[d>>2]=J;if(J|0)break;c[302468]=c[302468]&~(1<<b);break e}while(0);e=c[302471]|0;if(J>>>0<e>>>0)Aa();c[J+24>>2]=h;b=a+16|0;d=c[b>>2]|0;do if(d|0)if(d>>>0<e>>>0)Aa();else{c[J+16>>2]=d;c[d+24>>2]=J;break}while(0);b=c[b+4>>2]|0;if(!b)break;if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[J+20>>2]=b;c[b+24>>2]=J;break}}else{d=c[a+8>>2]|0;e=c[a+12>>2]|0;b=1209908+(f<<1<<2)|0;do if((d|0)!=(b|0)){if(d>>>0<j>>>0)Aa();if((c[d+12>>2]|0)==(a|0))break;Aa()}while(0);if((e|0)==(d|0)){c[302467]=c[302467]&~(1<<f);break}do if((e|0)==(b|0))G=e+8|0;else{if(e>>>0<j>>>0)Aa();b=e+8|0;if((c[b>>2]|0)==(a|0)){G=b;break}Aa()}while(0);c[d+12>>2]=e;c[G>>2]=d}while(0);a=a+i|0;g=i+g|0}a=a+4|0;c[a>>2]=c[a>>2]&-2;c[k+4>>2]=g|1;c[k+g>>2]=g;a=g>>>3;if(g>>>0<256){d=1209908+(a<<1<<2)|0;b=c[302467]|0;a=1<<a;do if(!(b&a)){c[302467]=b|a;K=d+8|0;L=d}else{a=d+8|0;b=c[a>>2]|0;if(b>>>0>=(c[302471]|0)>>>0){K=a;L=b;break}Aa()}while(0);c[K>>2]=k;c[L+12>>2]=k;c[k+8>>2]=L;c[k+12>>2]=d;break}a=g>>>8;do if(!a)d=0;else{if(g>>>0>16777215){d=31;break}K=(a+1048320|0)>>>16&8;L=a<<K;J=(L+520192|0)>>>16&4;L=L<<J;d=(L+245760|0)>>>16&2;d=14-(J|K|d)+(L<<d>>>15)|0;d=g>>>(d+7|0)&1|d<<1}while(0);e=1210172+(d<<2)|0;c[k+28>>2]=d;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[302468]|0;b=1<<d;if(!(a&b)){c[302468]=a|b;c[e>>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break}f=g<<((d|0)==31?0:25-(d>>>1)|0);a=c[e>>2]|0;while(1){if((c[a+4>>2]&-8|0)==(g|0)){d=a;E=281;break}b=a+16+(f>>>31<<2)|0;d=c[b>>2]|0;if(!d){E=278;break}else{f=f<<1;a=d}}if((E|0)==278)if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[b>>2]=k;c[k+24>>2]=a;c[k+12>>2]=k;c[k+8>>2]=k;break}else if((E|0)==281){a=d+8|0;b=c[a>>2]|0;L=c[302471]|0;if(b>>>0>=L>>>0&d>>>0>=L>>>0){c[b+12>>2]=k;c[a>>2]=k;c[k+8>>2]=b;c[k+12>>2]=d;c[k+24>>2]=0;break}else Aa()}}else{L=(c[302470]|0)+g|0;c[302470]=L;c[302473]=k;c[k+4>>2]=L|1}while(0);L=l+8|0;return L|0}else b=1210316;while(1){a=c[b>>2]|0;if(a>>>0<=i>>>0?(F=a+(c[b+4>>2]|0)|0,F>>>0>i>>>0):0){b=F;break}b=c[b+8>>2]|0}g=b+-47|0;d=g+8|0;d=g+((d&7|0)==0?0:0-d&7)|0;g=i+16|0;d=d>>>0<g>>>0?i:d;a=d+8|0;e=h+8|0;e=(e&7|0)==0?0:0-e&7;L=h+e|0;e=f+-40-e|0;c[302473]=L;c[302470]=e;c[L+4>>2]=e|1;c[L+e+4>>2]=40;c[302474]=c[302589];e=d+4|0;c[e>>2]=27;c[a>>2]=c[302579];c[a+4>>2]=c[302580];c[a+8>>2]=c[302581];c[a+12>>2]=c[302582];c[302579]=h;c[302580]=f;c[302582]=0;c[302581]=a;a=d+24|0;do{a=a+4|0;c[a>>2]=7}while((a+4|0)>>>0<b>>>0);if((d|0)!=(i|0)){h=d-i|0;c[e>>2]=c[e>>2]&-2;c[i+4>>2]=h|1;c[d>>2]=h;a=h>>>3;if(h>>>0<256){d=1209908+(a<<1<<2)|0;b=c[302467]|0;a=1<<a;if(b&a){a=d+8|0;b=c[a>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();else{H=a;I=b}}else{c[302467]=b|a;H=d+8|0;I=d}c[H>>2]=i;c[I+12>>2]=i;c[i+8>>2]=I;c[i+12>>2]=d;break}a=h>>>8;if(a)if(h>>>0>16777215)d=31;else{K=(a+1048320|0)>>>16&8;L=a<<K;J=(L+520192|0)>>>16&4;L=L<<J;d=(L+245760|0)>>>16&2;d=14-(J|K|d)+(L<<d>>>15)|0;d=h>>>(d+7|0)&1|d<<1}else d=0;f=1210172+(d<<2)|0;c[i+28>>2]=d;c[i+20>>2]=0;c[g>>2]=0;a=c[302468]|0;b=1<<d;if(!(a&b)){c[302468]=a|b;c[f>>2]=i;c[i+24>>2]=f;c[i+12>>2]=i;c[i+8>>2]=i;break}e=h<<((d|0)==31?0:25-(d>>>1)|0);a=c[f>>2]|0;while(1){if((c[a+4>>2]&-8|0)==(h|0)){d=a;E=307;break}b=a+16+(e>>>31<<2)|0;d=c[b>>2]|0;if(!d){E=304;break}else{e=e<<1;a=d}}if((E|0)==304)if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[b>>2]=i;c[i+24>>2]=a;c[i+12>>2]=i;c[i+8>>2]=i;break}else if((E|0)==307){a=d+8|0;b=c[a>>2]|0;L=c[302471]|0;if(b>>>0>=L>>>0&d>>>0>=L>>>0){c[b+12>>2]=i;c[a>>2]=i;c[i+8>>2]=b;c[i+12>>2]=d;c[i+24>>2]=0;break}else Aa()}}}else{L=c[302471]|0;if((L|0)==0|h>>>0<L>>>0)c[302471]=h;c[302579]=h;c[302580]=f;c[302582]=0;c[302476]=c[302585];c[302475]=-1;a=0;do{L=1209908+(a<<1<<2)|0;c[L+12>>2]=L;c[L+8>>2]=L;a=a+1|0}while((a|0)!=32);L=h+8|0;L=(L&7|0)==0?0:0-L&7;K=h+L|0;L=f+-40-L|0;c[302473]=K;c[302470]=L;c[K+4>>2]=L|1;c[K+L+4>>2]=40;c[302474]=c[302589]}while(0);a=c[302470]|0;if(a>>>0>o>>>0){J=a-o|0;c[302470]=J;L=c[302473]|0;K=L+o|0;c[302473]=K;c[K+4>>2]=J|1;c[L+4>>2]=o|3;L=L+8|0;return L|0}}c[(qh()|0)>>2]=12;L=0;return L|0}function cj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(!a)return;d=a+-8|0;h=c[302471]|0;if(d>>>0<h>>>0)Aa();a=c[a+-4>>2]|0;b=a&3;if((b|0)==1)Aa();e=a&-8;m=d+e|0;do if(!(a&1)){a=c[d>>2]|0;if(!b)return;k=d+(0-a)|0;j=a+e|0;if(k>>>0<h>>>0)Aa();if((k|0)==(c[302472]|0)){a=m+4|0;b=c[a>>2]|0;if((b&3|0)!=3){q=k;g=j;break}c[302469]=j;c[a>>2]=b&-2;c[k+4>>2]=j|1;c[k+j>>2]=j;return}e=a>>>3;if(a>>>0<256){b=c[k+8>>2]|0;d=c[k+12>>2]|0;a=1209908+(e<<1<<2)|0;if((b|0)!=(a|0)){if(b>>>0<h>>>0)Aa();if((c[b+12>>2]|0)!=(k|0))Aa()}if((d|0)==(b|0)){c[302467]=c[302467]&~(1<<e);q=k;g=j;break}if((d|0)!=(a|0)){if(d>>>0<h>>>0)Aa();a=d+8|0;if((c[a>>2]|0)==(k|0))f=a;else Aa()}else f=d+8|0;c[b+12>>2]=d;c[f>>2]=b;q=k;g=j;break}f=c[k+24>>2]|0;d=c[k+12>>2]|0;do if((d|0)==(k|0)){b=k+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){i=0;break}}else b=d;while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0<h>>>0)Aa();else{c[b>>2]=0;i=a;break}}else{e=c[k+8>>2]|0;if(e>>>0<h>>>0)Aa();a=e+12|0;if((c[a>>2]|0)!=(k|0))Aa();b=d+8|0;if((c[b>>2]|0)==(k|0)){c[a>>2]=d;c[b>>2]=e;i=d;break}else Aa()}while(0);if(f){a=c[k+28>>2]|0;b=1210172+(a<<2)|0;if((k|0)==(c[b>>2]|0)){c[b>>2]=i;if(!i){c[302468]=c[302468]&~(1<<a);q=k;g=j;break}}else{if(f>>>0<(c[302471]|0)>>>0)Aa();a=f+16|0;if((c[a>>2]|0)==(k|0))c[a>>2]=i;else c[f+20>>2]=i;if(!i){q=k;g=j;break}}d=c[302471]|0;if(i>>>0<d>>>0)Aa();c[i+24>>2]=f;a=k+16|0;b=c[a>>2]|0;do if(b|0)if(b>>>0<d>>>0)Aa();else{c[i+16>>2]=b;c[b+24>>2]=i;break}while(0);a=c[a+4>>2]|0;if(a)if(a>>>0<(c[302471]|0)>>>0)Aa();else{c[i+20>>2]=a;c[a+24>>2]=i;q=k;g=j;break}else{q=k;g=j}}else{q=k;g=j}}else{q=d;g=e}while(0);if(q>>>0>=m>>>0)Aa();a=m+4|0;b=c[a>>2]|0;if(!(b&1))Aa();if(!(b&2)){if((m|0)==(c[302473]|0)){p=(c[302470]|0)+g|0;c[302470]=p;c[302473]=q;c[q+4>>2]=p|1;if((q|0)!=(c[302472]|0))return;c[302472]=0;c[302469]=0;return}if((m|0)==(c[302472]|0)){p=(c[302469]|0)+g|0;c[302469]=p;c[302472]=q;c[q+4>>2]=p|1;c[q+p>>2]=p;return}g=(b&-8)+g|0;e=b>>>3;do if(b>>>0>=256){f=c[m+24>>2]|0;a=c[m+12>>2]|0;do if((a|0)==(m|0)){b=m+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){n=0;break}}else b=d;while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[b>>2]=0;n=a;break}}else{b=c[m+8>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();d=b+12|0;if((c[d>>2]|0)!=(m|0))Aa();e=a+8|0;if((c[e>>2]|0)==(m|0)){c[d>>2]=a;c[e>>2]=b;n=a;break}else Aa()}while(0);if(f|0){a=c[m+28>>2]|0;b=1210172+(a<<2)|0;if((m|0)==(c[b>>2]|0)){c[b>>2]=n;if(!n){c[302468]=c[302468]&~(1<<a);break}}else{if(f>>>0<(c[302471]|0)>>>0)Aa();a=f+16|0;if((c[a>>2]|0)==(m|0))c[a>>2]=n;else c[f+20>>2]=n;if(!n)break}d=c[302471]|0;if(n>>>0<d>>>0)Aa();c[n+24>>2]=f;a=m+16|0;b=c[a>>2]|0;do if(b|0)if(b>>>0<d>>>0)Aa();else{c[n+16>>2]=b;c[b+24>>2]=n;break}while(0);a=c[a+4>>2]|0;if(a|0)if(a>>>0<(c[302471]|0)>>>0)Aa();else{c[n+20>>2]=a;c[a+24>>2]=n;break}}}else{b=c[m+8>>2]|0;d=c[m+12>>2]|0;a=1209908+(e<<1<<2)|0;if((b|0)!=(a|0)){if(b>>>0<(c[302471]|0)>>>0)Aa();if((c[b+12>>2]|0)!=(m|0))Aa()}if((d|0)==(b|0)){c[302467]=c[302467]&~(1<<e);break}if((d|0)!=(a|0)){if(d>>>0<(c[302471]|0)>>>0)Aa();a=d+8|0;if((c[a>>2]|0)==(m|0))l=a;else Aa()}else l=d+8|0;c[b+12>>2]=d;c[l>>2]=b}while(0);c[q+4>>2]=g|1;c[q+g>>2]=g;if((q|0)==(c[302472]|0)){c[302469]=g;return}}else{c[a>>2]=b&-2;c[q+4>>2]=g|1;c[q+g>>2]=g}a=g>>>3;if(g>>>0<256){d=1209908+(a<<1<<2)|0;b=c[302467]|0;a=1<<a;if(b&a){a=d+8|0;b=c[a>>2]|0;if(b>>>0<(c[302471]|0)>>>0)Aa();else{o=a;p=b}}else{c[302467]=b|a;o=d+8|0;p=d}c[o>>2]=q;c[p+12>>2]=q;c[q+8>>2]=p;c[q+12>>2]=d;return}a=g>>>8;if(a)if(g>>>0>16777215)d=31;else{o=(a+1048320|0)>>>16&8;p=a<<o;n=(p+520192|0)>>>16&4;p=p<<n;d=(p+245760|0)>>>16&2;d=14-(n|o|d)+(p<<d>>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;e=1210172+(d<<2)|0;c[q+28>>2]=d;c[q+20>>2]=0;c[q+16>>2]=0;a=c[302468]|0;b=1<<d;do if(a&b){f=g<<((d|0)==31?0:25-(d>>>1)|0);a=c[e>>2]|0;while(1){if((c[a+4>>2]&-8|0)==(g|0)){d=a;e=130;break}b=a+16+(f>>>31<<2)|0;d=c[b>>2]|0;if(!d){e=127;break}else{f=f<<1;a=d}}if((e|0)==127)if(b>>>0<(c[302471]|0)>>>0)Aa();else{c[b>>2]=q;c[q+24>>2]=a;c[q+12>>2]=q;c[q+8>>2]=q;break}else if((e|0)==130){a=d+8|0;b=c[a>>2]|0;p=c[302471]|0;if(b>>>0>=p>>>0&d>>>0>=p>>>0){c[b+12>>2]=q;c[a>>2]=q;c[q+8>>2]=b;c[q+12>>2]=d;c[q+24>>2]=0;break}else Aa()}}else{c[302468]=a|b;c[e>>2]=q;c[q+24>>2]=e;c[q+12>>2]=q;c[q+8>>2]=q}while(0);q=(c[302475]|0)+-1|0;c[302475]=q;if(!q)a=1210324;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[302475]=-1;return}function dj(a,b){a=a|0;b=b|0;var d=0;if(a){d=_(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;b=bj(d)|0;if(!b)return b|0;if(!(c[b+-4>>2]&3))return b|0;xu(b|0,0,d|0)|0;return b|0}function ej(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){a=bj(b)|0;return a|0}if(b>>>0>4294967231){c[(qh()|0)>>2]=12;a=0;return a|0}d=fj(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){a=d+8|0;return a|0}d=bj(b)|0;if(!d){a=0;return a|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;Bu(d|0,a|0,(e>>>0<b>>>0?e:b)|0)|0;cj(a);a=d;return a|0}function fj(a,b){a=a|0;b=b|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;n=a+4|0;o=c[n>>2]|0;d=o&-8;k=a+d|0;i=c[302471]|0;e=o&3;if(!((e|0)!=1&a>>>0>=i>>>0&a>>>0<k>>>0))Aa();f=c[k+4>>2]|0;if(!(f&1))Aa();if(!e){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[302587]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;m=a+b|0;c[n>>2]=o&1|b|2;c[m+4>>2]=d|3;b=m+d+4|0;c[b>>2]=c[b>>2]|1;gj(m,d);return a|0}if((k|0)==(c[302473]|0)){d=(c[302470]|0)+d|0;if(d>>>0<=b>>>0){a=0;return a|0}m=d-b|0;l=a+b|0;c[n>>2]=o&1|b|2;c[l+4>>2]=m|1;c[302473]=l;c[302470]=m;return a|0}if((k|0)==(c[302472]|0)){e=(c[302469]|0)+d|0;if(e>>>0<b>>>0){a=0;return a|0}d=e-b|0;if(d>>>0>15){e=a+b|0;m=e+d|0;c[n>>2]=o&1|b|2;c[e+4>>2]=d|1;c[m>>2]=d;b=m+4|0;c[b>>2]=c[b>>2]&-2}else{c[n>>2]=o&1|e|2;e=a+e+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[302469]=d;c[302472]=e;return a|0}if(f&2|0){a=0;return a|0}l=(f&-8)+d|0;if(l>>>0<b>>>0){a=0;return a|0}m=l-b|0;g=f>>>3;do if(f>>>0>=256){h=c[k+24>>2]|0;f=c[k+12>>2]|0;do if((f|0)==(k|0)){e=k+16|0;f=e+4|0;d=c[f>>2]|0;if(!d){d=c[e>>2]|0;if(!d){j=0;break}}else e=f;while(1){f=d+20|0;g=c[f>>2]|0;if(g|0){d=g;e=f;continue}f=d+16|0;g=c[f>>2]|0;if(!g)break;else{d=g;e=f}}if(e>>>0<i>>>0)Aa();else{c[e>>2]=0;j=d;break}}else{g=c[k+8>>2]|0;if(g>>>0<i>>>0)Aa();d=g+12|0;if((c[d>>2]|0)!=(k|0))Aa();e=f+8|0;if((c[e>>2]|0)==(k|0)){c[d>>2]=f;c[e>>2]=g;j=f;break}else Aa()}while(0);if(h|0){d=c[k+28>>2]|0;e=1210172+(d<<2)|0;if((k|0)==(c[e>>2]|0)){c[e>>2]=j;if(!j){c[302468]=c[302468]&~(1<<d);break}}else{if(h>>>0<(c[302471]|0)>>>0)Aa();d=h+16|0;if((c[d>>2]|0)==(k|0))c[d>>2]=j;else c[h+20>>2]=j;if(!j)break}f=c[302471]|0;if(j>>>0<f>>>0)Aa();c[j+24>>2]=h;d=k+16|0;e=c[d>>2]|0;do if(e|0)if(e>>>0<f>>>0)Aa();else{c[j+16>>2]=e;c[e+24>>2]=j;break}while(0);d=c[d+4>>2]|0;if(d|0)if(d>>>0<(c[302471]|0)>>>0)Aa();else{c[j+20>>2]=d;c[d+24>>2]=j;break}}}else{e=c[k+8>>2]|0;f=c[k+12>>2]|0;d=1209908+(g<<1<<2)|0;if((e|0)!=(d|0)){if(e>>>0<i>>>0)Aa();if((c[e+12>>2]|0)!=(k|0))Aa()}if((f|0)==(e|0)){c[302467]=c[302467]&~(1<<g);break}if((f|0)!=(d|0)){if(f>>>0<i>>>0)Aa();d=f+8|0;if((c[d>>2]|0)==(k|0))h=d;else Aa()}else h=f+8|0;c[e+12>>2]=f;c[h>>2]=e}while(0);if(m>>>0<16){c[n>>2]=l|o&1|2;b=a+l+4|0;c[b>>2]=c[b>>2]|1;return a|0}else{l=a+b|0;c[n>>2]=o&1|b|2;c[l+4>>2]=m|3;b=l+m+4|0;c[b>>2]=c[b>>2]|1;gj(l,m);return a|0}return 0}function gj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){f=c[a>>2]|0;if(!(d&3))return;l=a+(0-f)|0;k=f+b|0;i=c[302471]|0;if(l>>>0<i>>>0)Aa();if((l|0)==(c[302472]|0)){a=o+4|0;d=c[a>>2]|0;if((d&3|0)!=3){r=l;g=k;break}c[302469]=k;c[a>>2]=d&-2;c[l+4>>2]=k|1;c[l+k>>2]=k;return}e=f>>>3;if(f>>>0<256){a=c[l+8>>2]|0;b=c[l+12>>2]|0;d=1209908+(e<<1<<2)|0;if((a|0)!=(d|0)){if(a>>>0<i>>>0)Aa();if((c[a+12>>2]|0)!=(l|0))Aa()}if((b|0)==(a|0)){c[302467]=c[302467]&~(1<<e);r=l;g=k;break}if((b|0)!=(d|0)){if(b>>>0<i>>>0)Aa();d=b+8|0;if((c[d>>2]|0)==(l|0))h=d;else Aa()}else h=b+8|0;c[a+12>>2]=b;c[h>>2]=a;r=l;g=k;break}f=c[l+24>>2]|0;b=c[l+12>>2]|0;do if((b|0)==(l|0)){a=l+16|0;b=a+4|0;d=c[b>>2]|0;if(!d){d=c[a>>2]|0;if(!d){j=0;break}}else a=b;while(1){b=d+20|0;e=c[b>>2]|0;if(e|0){d=e;a=b;continue}b=d+16|0;e=c[b>>2]|0;if(!e)break;else{d=e;a=b}}if(a>>>0<i>>>0)Aa();else{c[a>>2]=0;j=d;break}}else{e=c[l+8>>2]|0;if(e>>>0<i>>>0)Aa();d=e+12|0;if((c[d>>2]|0)!=(l|0))Aa();a=b+8|0;if((c[a>>2]|0)==(l|0)){c[d>>2]=b;c[a>>2]=e;j=b;break}else Aa()}while(0);if(f){d=c[l+28>>2]|0;a=1210172+(d<<2)|0;if((l|0)==(c[a>>2]|0)){c[a>>2]=j;if(!j){c[302468]=c[302468]&~(1<<d);r=l;g=k;break}}else{if(f>>>0<(c[302471]|0)>>>0)Aa();d=f+16|0;if((c[d>>2]|0)==(l|0))c[d>>2]=j;else c[f+20>>2]=j;if(!j){r=l;g=k;break}}b=c[302471]|0;if(j>>>0<b>>>0)Aa();c[j+24>>2]=f;d=l+16|0;a=c[d>>2]|0;do if(a|0)if(a>>>0<b>>>0)Aa();else{c[j+16>>2]=a;c[a+24>>2]=j;break}while(0);d=c[d+4>>2]|0;if(d)if(d>>>0<(c[302471]|0)>>>0)Aa();else{c[j+20>>2]=d;c[d+24>>2]=j;r=l;g=k;break}else{r=l;g=k}}else{r=l;g=k}}else{r=a;g=b}while(0);h=c[302471]|0;if(o>>>0<h>>>0)Aa();d=o+4|0;a=c[d>>2]|0;if(!(a&2)){if((o|0)==(c[302473]|0)){q=(c[302470]|0)+g|0;c[302470]=q;c[302473]=r;c[r+4>>2]=q|1;if((r|0)!=(c[302472]|0))return;c[302472]=0;c[302469]=0;return}if((o|0)==(c[302472]|0)){q=(c[302469]|0)+g|0;c[302469]=q;c[302472]=r;c[r+4>>2]=q|1;c[r+q>>2]=q;return}g=(a&-8)+g|0;e=a>>>3;do if(a>>>0>=256){f=c[o+24>>2]|0;b=c[o+12>>2]|0;do if((b|0)==(o|0)){a=o+16|0;b=a+4|0;d=c[b>>2]|0;if(!d){d=c[a>>2]|0;if(!d){n=0;break}}else a=b;while(1){b=d+20|0;e=c[b>>2]|0;if(e|0){d=e;a=b;continue}b=d+16|0;e=c[b>>2]|0;if(!e)break;else{d=e;a=b}}if(a>>>0<h>>>0)Aa();else{c[a>>2]=0;n=d;break}}else{e=c[o+8>>2]|0;if(e>>>0<h>>>0)Aa();d=e+12|0;if((c[d>>2]|0)!=(o|0))Aa();a=b+8|0;if((c[a>>2]|0)==(o|0)){c[d>>2]=b;c[a>>2]=e;n=b;break}else Aa()}while(0);if(f|0){d=c[o+28>>2]|0;a=1210172+(d<<2)|0;if((o|0)==(c[a>>2]|0)){c[a>>2]=n;if(!n){c[302468]=c[302468]&~(1<<d);break}}else{if(f>>>0<(c[302471]|0)>>>0)Aa();d=f+16|0;if((c[d>>2]|0)==(o|0))c[d>>2]=n;else c[f+20>>2]=n;if(!n)break}b=c[302471]|0;if(n>>>0<b>>>0)Aa();c[n+24>>2]=f;d=o+16|0;a=c[d>>2]|0;do if(a|0)if(a>>>0<b>>>0)Aa();else{c[n+16>>2]=a;c[a+24>>2]=n;break}while(0);d=c[d+4>>2]|0;if(d|0)if(d>>>0<(c[302471]|0)>>>0)Aa();else{c[n+20>>2]=d;c[d+24>>2]=n;break}}}else{a=c[o+8>>2]|0;b=c[o+12>>2]|0;d=1209908+(e<<1<<2)|0;if((a|0)!=(d|0)){if(a>>>0<h>>>0)Aa();if((c[a+12>>2]|0)!=(o|0))Aa()}if((b|0)==(a|0)){c[302467]=c[302467]&~(1<<e);break}if((b|0)!=(d|0)){if(b>>>0<h>>>0)Aa();d=b+8|0;if((c[d>>2]|0)==(o|0))m=d;else Aa()}else m=b+8|0;c[a+12>>2]=b;c[m>>2]=a}while(0);c[r+4>>2]=g|1;c[r+g>>2]=g;if((r|0)==(c[302472]|0)){c[302469]=g;return}}else{c[d>>2]=a&-2;c[r+4>>2]=g|1;c[r+g>>2]=g}d=g>>>3;if(g>>>0<256){b=1209908+(d<<1<<2)|0;a=c[302467]|0;d=1<<d;if(a&d){d=b+8|0;a=c[d>>2]|0;if(a>>>0<(c[302471]|0)>>>0)Aa();else{p=d;q=a}}else{c[302467]=a|d;p=b+8|0;q=b}c[p>>2]=r;c[q+12>>2]=r;c[r+8>>2]=q;c[r+12>>2]=b;return}d=g>>>8;if(d)if(g>>>0>16777215)b=31;else{p=(d+1048320|0)>>>16&8;q=d<<p;o=(q+520192|0)>>>16&4;q=q<<o;b=(q+245760|0)>>>16&2;b=14-(o|p|b)+(q<<b>>>15)|0;b=g>>>(b+7|0)&1|b<<1}else b=0;e=1210172+(b<<2)|0;c[r+28>>2]=b;c[r+20>>2]=0;c[r+16>>2]=0;d=c[302468]|0;a=1<<b;if(!(d&a)){c[302468]=d|a;c[e>>2]=r;c[r+24>>2]=e;c[r+12>>2]=r;c[r+8>>2]=r;return}f=g<<((b|0)==31?0:25-(b>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(g|0)){b=d;e=127;break}a=d+16+(f>>>31<<2)|0;b=c[a>>2]|0;if(!b){e=124;break}else{f=f<<1;d=b}}if((e|0)==124){if(a>>>0<(c[302471]|0)>>>0)Aa();c[a>>2]=r;c[r+24>>2]=d;c[r+12>>2]=r;c[r+8>>2]=r;return}else if((e|0)==127){d=b+8|0;a=c[d>>2]|0;q=c[302471]|0;if(!(a>>>0>=q>>>0&b>>>0>=q>>>0))Aa();c[a+12>>2]=r;c[d>>2]=r;c[r+8>>2]=a;c[r+12>>2]=b;c[r+24>>2]=0;return}}function hj(a){a=a|0;La(a|0)|0;return}function ij(a){a=a|0;Wa(a|0)|0;return}function jj(a,b){a=a|0;b=b|0;wa(a|0,c[b>>2]|0)|0;return}function kj(){lj(0);return}function lj(a){a=a|0;var b=0,d=0,e=0;d=c[1580]|0;mj(1211044,d,1211100);c[302591]=10280;c[302593]=10300;c[302592]=0;Ml(1210372,1211044);c[302611]=0;c[302612]=-1;b=c[1521]|0;tj(1211148,b,1211108);c[302613]=10360;c[302614]=10380;Ml(1210456,1211148);c[302632]=0;c[302633]=-1;a=c[1551]|0;tj(1211196,a,1211116);c[302634]=10360;c[302635]=10380;Ml(1210540,1211196);c[302653]=0;c[302654]=-1;e=c[1210536+(c[(c[302634]|0)+-12>>2]|0)+24>>2]|0;c[302655]=10360;c[302656]=10380;Ml(1210624,e);c[302674]=0;c[302675]=-1;c[1210364+(c[(c[302591]|0)+-12>>2]|0)+72>>2]=1210452;e=1210536+(c[(c[302634]|0)+-12>>2]|0)+4|0;c[e>>2]=c[e>>2]|8192;c[1210536+(c[(c[302634]|0)+-12>>2]|0)+72>>2]=1210452;zj(1211244,d,1211124);c[302676]=10320;c[302678]=10340;c[302677]=0;Ml(1210712,1211244);c[302696]=0;c[302697]=-1;Gj(1211300,b,1211132);c[302698]=10400;c[302699]=10420;Ml(1210796,1211300);c[302717]=0;c[302718]=-1;Gj(1211348,a,1211140);c[302719]=10400;c[302720]=10420;Ml(1210880,1211348);c[302738]=0;c[302739]=-1;a=c[1210876+(c[(c[302719]|0)+-12>>2]|0)+24>>2]|0;c[302740]=10400;c[302741]=10420;Ml(1210964,a);c[302759]=0;c[302760]=-1;c[1210704+(c[(c[302676]|0)+-12>>2]|0)+72>>2]=1210792;a=1210876+(c[(c[302719]|0)+-12>>2]|0)+4|0;c[a>>2]=c[a>>2]|8192;c[1210876+(c[(c[302719]|0)+-12>>2]|0)+72>>2]=1210792;return}function mj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;h=f+4|0;g=f;Ol(b);c[b>>2]=9876;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52>>0]=0;Dt(h,b+4|0);c[g>>2]=c[h>>2];oj(b,g);Et(g);i=f;return}function nj(a){a=a|0;Pk(a);Qt(a);return}function oj(b,d){b=b|0;d=d|0;var e=0,f=0;f=sm(d,1213280)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Db[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Db[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;return}function pj(a){a=a|0;return qj(a,0)|0}function qj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+32|0;r=t+16|0;q=t+8|0;n=t+4|0;o=t;h=b+52|0;if(a[h>>0]|0){g=b+48|0;f=c[g>>2]|0;if(e){c[g>>2]=-1;a[h>>0]=0}}else{f=c[b+44>>2]|0;f=(f|0)>1?f:1;p=b+32|0;h=0;while(1){if((h|0)>=(f|0)){s=8;break}g=Gi(c[p>>2]|0)|0;if((g|0)==-1){f=-1;break}a[r+h>>0]=g;h=h+1|0}if((s|0)==8){do if(!(a[b+53>>0]|0)){k=b+40|0;l=b+36|0;m=q+1|0;a:while(1){u=c[k>>2]|0;h=u;g=c[h>>2]|0;h=c[h+4>>2]|0;v=c[l>>2]|0;j=r+f|0;switch(Gb[c[(c[v>>2]|0)+16>>2]&15](v,u,r,j,n,q,m,o)|0){case 3:{s=15;break a}case 2:{s=17;break a}case 1:break;default:break a}v=c[k>>2]|0;c[v>>2]=g;c[v+4>>2]=h;if((f|0)==8){s=17;break}g=Gi(c[p>>2]|0)|0;if((g|0)==-1){s=17;break}a[j>>0]=g;f=f+1|0}if((s|0)==15)a[q>>0]=a[r>>0]|0;else if((s|0)==17){f=-1;break}s=18}else{a[q>>0]=a[r>>0]|0;s=18}while(0);b:do if((s|0)==18){if(e){f=a[q>>0]|0;c[b+48>>2]=f&255}else{while(1){if((f|0)<=0)break;f=f+-1|0;if((Ji(d[r+f>>0]|0,c[p>>2]|0)|0)==-1){f=-1;break b}}f=a[q>>0]|0}f=f&255}while(0)}}i=t;return f|0}function rj(a){a=a|0;return qj(a,1)|0}function sj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+32|0;j=l+16|0;h=l+4|0;f=l+8|0;g=l;k=b+52|0;e=(a[k>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[k>>0]=(d|0)!=-1&1}else{do if(e){e=b+48|0;a[f>>0]=c[e>>2];m=c[b+36>>2]|0;switch(Gb[c[(c[m>>2]|0)+12>>2]&15](m,c[b+40>>2]|0,f,f+1|0,g,j,j+8|0,h)|0){case 1:case 2:{d=-1;break a}case 3:{a[j>>0]=c[e>>2];c[h>>2]=j+1;break}default:{}}f=b+32|0;while(1){g=c[h>>2]|0;if(g>>>0<=j>>>0){f=13;break}m=g+-1|0;c[h>>2]=m;if((Ji(a[m>>0]|0,c[f>>2]|0)|0)==-1){f=12;break}}if((f|0)==12){d=-1;break a}else if((f|0)==13)break}else e=b+48|0;while(0);c[e>>2]=d;a[k>>0]=1}while(0);i=l;return d|0}function tj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;h=f+4|0;g=f;Ol(b);c[b>>2]=9940;c[b+32>>2]=d;Dt(h,b+4|0);c[g>>2]=c[h>>2];d=sm(g,1213280)|0;Et(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Db[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;i=f;return}function uj(a){a=a|0;Pk(a);Qt(a);return}function vj(b,d){b=b|0;d=d|0;Db[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=sm(d,1213280)|0;c[b+36>>2]=d;a[b+44>>0]=(Db[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function wj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;j=l+8|0;h=l;d=a+36|0;e=a+40|0;f=j+8|0;g=j;b=a+32|0;a:while(1){a=c[d>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[e>>2]|0,j,f,h)|0;m=(c[h>>2]|0)-g|0;if((Ei(j,1,m,c[b>>2]|0)|0)!=(m|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{k=4;break a}}}if((k|0)==4)a=((mi(c[b>>2]|0)|0)!=0)<<31>>31;i=l;return a|0}function xj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0;a:do if(!(a[b+44>>0]|0)){g=e;e=0;while(1){if((e|0)>=(f|0))break a;if((Jb[c[(c[b>>2]|0)+52>>2]&63](b,d[g>>0]|0)|0)==-1)break a;g=g+1|0;e=e+1|0}}else e=Ei(e,1,f,c[b+32>>2]|0)|0;while(0);return e|0}function yj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;o=q+16|0;e=q+8|0;n=q+4|0;m=q;p=(d|0)==-1;do if(!p){a[e>>0]=d;if(a[b+44>>0]|0)if((Ei(e,1,1,c[b+32>>2]|0)|0)==1){f=14;break}else{e=-1;break}c[n>>2]=o;l=e+1|0;g=b+36|0;h=b+40|0;j=o+8|0;k=o;b=b+32|0;while(1){f=c[g>>2]|0;f=Gb[c[(c[f>>2]|0)+12>>2]&15](f,c[h>>2]|0,e,l,m,o,j,n)|0;if((c[m>>2]|0)==(e|0)){f=13;break}if((f|0)==3){f=7;break}if((f|1|0)!=1){f=13;break}e=(c[n>>2]|0)-k|0;if((Ei(o,1,e,c[b>>2]|0)|0)!=(e|0)){f=13;break}if((f|0)==1)e=c[m>>2]|0;else{f=12;break}}if((f|0)==7)if((Ei(e,1,1,c[b>>2]|0)|0)==1)f=12;else f=13;if((f|0)==12){f=14;break}else if((f|0)==13){e=-1;break}}else f=14;while(0);if((f|0)==14)e=p?0:d;i=q;return e|0}function zj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;h=f+4|0;g=f;Pl(b);c[b>>2]=10004;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=-1;a[b+52>>0]=0;Dt(h,b+4|0);c[g>>2]=c[h>>2];Bj(b,g);Et(g);i=f;return}function Aj(a){a=a|0;bl(a);Qt(a);return}function Bj(b,d){b=b|0;d=d|0;var e=0,f=0;f=sm(d,1213288)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Db[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Db[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;return}function Cj(a){a=a|0;return Dj(a,0)|0}function Dj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=i;i=i+32|0;q=s+16|0;p=s+8|0;m=s+4|0;n=s;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=-1;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;g=0;while(1){if((g|0)>=(e|0)){r=8;break}f=Gi(c[o>>2]|0)|0;if((f|0)==-1){e=-1;break}a[q+g>>0]=f;g=g+1|0}if((r|0)==8){do if(!(a[b+53>>0]|0)){j=b+40|0;k=b+36|0;l=p+4|0;a:while(1){t=c[j>>2]|0;g=t;f=c[g>>2]|0;g=c[g+4>>2]|0;u=c[k>>2]|0;h=q+e|0;switch(Gb[c[(c[u>>2]|0)+16>>2]&15](u,t,q,h,m,p,l,n)|0){case 3:{r=15;break a}case 2:{r=17;break a}case 1:break;default:break a}u=c[j>>2]|0;c[u>>2]=f;c[u+4>>2]=g;if((e|0)==8){r=17;break}f=Gi(c[o>>2]|0)|0;if((f|0)==-1){r=17;break}a[h>>0]=f;e=e+1|0}if((r|0)==15)c[p>>2]=a[q>>0];else if((r|0)==17){e=-1;break}r=18}else{c[p>>2]=a[q>>0];r=18}while(0);b:do if((r|0)==18){if(d){e=c[p>>2]|0;c[b+48>>2]=e;break}while(1){if((e|0)<=0)break;e=e+-1|0;if((Ji(a[q+e>>0]|0,c[o>>2]|0)|0)==-1){e=-1;break b}}e=c[p>>2]|0}while(0)}}i=s;return e|0}function Ej(a){a=a|0;return Dj(a,1)|0}function Fj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+32|0;j=l+16|0;h=l+8|0;f=l+4|0;g=l;k=b+52|0;e=(a[k>>0]|0)!=0;a:do if((d|0)==-1)if(e)d=-1;else{d=c[b+48>>2]|0;a[k>>0]=(d|0)!=-1&1}else{do if(e){e=b+48|0;c[f>>2]=c[e>>2];m=c[b+36>>2]|0;switch(Gb[c[(c[m>>2]|0)+12>>2]&15](m,c[b+40>>2]|0,f,f+4|0,g,j,j+8|0,h)|0){case 1:case 2:{d=-1;break a}case 3:{a[j>>0]=c[e>>2];c[h>>2]=j+1;break}default:{}}f=b+32|0;while(1){g=c[h>>2]|0;if(g>>>0<=j>>>0){f=13;break}m=g+-1|0;c[h>>2]=m;if((Ji(a[m>>0]|0,c[f>>2]|0)|0)==-1){f=12;break}}if((f|0)==12){d=-1;break a}else if((f|0)==13)break}else e=b+48|0;while(0);c[e>>2]=d;a[k>>0]=1}while(0);i=l;return d|0}function Gj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+16|0;h=f+4|0;g=f;Pl(b);c[b>>2]=10068;c[b+32>>2]=d;Dt(h,b+4|0);c[g>>2]=c[h>>2];d=sm(g,1213288)|0;Et(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Db[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;i=f;return}function Hj(a){a=a|0;bl(a);Qt(a);return}function Ij(b,d){b=b|0;d=d|0;Db[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=sm(d,1213288)|0;c[b+36>>2]=d;a[b+44>>0]=(Db[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function Jj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;l=i;i=i+16|0;j=l+8|0;h=l;d=a+36|0;e=a+40|0;f=j+8|0;g=j;b=a+32|0;a:while(1){a=c[d>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[e>>2]|0,j,f,h)|0;m=(c[h>>2]|0)-g|0;if((Ei(j,1,m,c[b>>2]|0)|0)!=(m|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{k=4;break a}}}if((k|0)==4)a=((mi(c[b>>2]|0)|0)!=0)<<31>>31;i=l;return a|0}function Kj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do if(!(a[b+44>>0]|0)){f=d;d=0;while(1){if((d|0)>=(e|0))break a;if((Jb[c[(c[b>>2]|0)+52>>2]&63](b,c[f>>2]|0)|0)==-1)break a;f=f+4|0;d=d+1|0}}else d=Ei(d,4,e,c[b+32>>2]|0)|0;while(0);return d|0}function Lj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+32|0;o=q+16|0;e=q+8|0;n=q+4|0;m=q;p=(d|0)==-1;do if(!p){c[e>>2]=d;if(a[b+44>>0]|0)if((Ei(e,4,1,c[b+32>>2]|0)|0)==1){f=14;break}else{e=-1;break}c[n>>2]=o;k=e+4|0;l=b+36|0;g=b+40|0;h=o+8|0;j=o;b=b+32|0;while(1){f=c[l>>2]|0;f=Gb[c[(c[f>>2]|0)+12>>2]&15](f,c[g>>2]|0,e,k,m,o,h,n)|0;if((c[m>>2]|0)==(e|0)){f=13;break}if((f|0)==3){f=7;break}if((f|1|0)!=1){f=13;break}e=(c[n>>2]|0)-j|0;if((Ei(o,1,e,c[b>>2]|0)|0)!=(e|0)){f=13;break}if((f|0)==1)e=c[m>>2]|0;else{f=12;break}}if((f|0)==7)if((Ei(e,1,1,c[b>>2]|0)|0)==1)f=12;else f=13;if((f|0)==12){f=14;break}else if((f|0)==13){e=-1;break}}else f=14;while(0);if((f|0)==14)e=p?0:d;i=q;return e|0}function Mj(){return}function Nj(a,b){a=a|0;b=b|0;return}function Oj(a){a=a|0;Ya(a|0)|0;return}function Pj(a){a=a|0;ob(a|0)|0;return}function Qj(a){a=a|0;if(!(Za(a|0)|0))return;else Ea(19303,19311,47,19382)}function Rj(a,b,d){a=a|0;b=b|0;d=d|0;ob(1211396)|0;while(1){if((c[a>>2]|0)!=1)break;wa(1211424,1211396)|0}if(!(c[a>>2]|0)){c[a>>2]=1;Za(1211396)|0;zb[d&255](b);ob(1211396)|0;c[a>>2]=-1;Za(1211396)|0;cb(1211424)|0}else Za(1211396)|0;return}function Sj(a){a=a|0;Ea(19389,19418,1164,22285)}function Tj(a){a=a|0;Ea(19490,19418,1175,22329)}function Uj(b,d){b=b|0;d=d|0;if(!(a[d>>0]&1)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}else Vj(b,c[d+8>>2]|0,c[d+4>>2]|0);return}function Vj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(e>>>0>4294967279)Sj(b);if(e>>>0<11){a[b>>0]=e<<1;b=b+1|0}else{g=e+16&-16;f=pu(g)|0;c[b+8>>2]=f;c[b>>2]=g|1;c[b+4>>2]=e;b=f}Bu(b|0,d|0,e|0)|0;a[b+e>>0]=0;return}function Wj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(d>>>0>4294967279)Sj(b);if(d>>>0<11){a[b>>0]=d<<1;b=b+1|0}else{g=d+16&-16;f=pu(g)|0;c[b+8>>2]=f;c[b>>2]=g|1;c[b+4>>2]=d;b=f}xu(b|0,e|0,d|0)|0;a[b+d>>0]=0;return}function Xj(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=a[d>>0]|0;g=(h&1)==0;h=g?(h&255)>>>1:c[d+4>>2]|0;if(h>>>0<e>>>0)Tj(b);else{h=h-e|0;Vj(b,(g?d+1|0:c[d+8>>2]|0)+e|0,h>>>0<f>>>0?h:f);return}}function Yj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=d;f=e-g|0;if(f>>>0>4294967279)Sj(b);if(f>>>0<11){a[b>>0]=f<<1;h=b+1|0}else{i=f+16&-16;h=pu(i)|0;c[b+8>>2]=h;c[b>>2]=i|1;c[b+4>>2]=f}b=e-g|0;f=h;while(1){if((d|0)==(e|0))break;a[f>>0]=a[d>>0]|0;d=d+1|0;f=f+1|0}a[h+b>>0]=0;return}function Zj(b){b=b|0;if(a[b>>0]&1)Qt(c[b+8>>2]|0);return}function _j(b,d){b=b|0;d=d|0;var e=0,f=0;if((b|0)!=(d|0)){e=a[d>>0]|0;f=(e&1)==0;$j(b,f?d+1|0:c[d+8>>2]|0,f?(e&255)>>>1:c[d+4>>2]|0)|0}return b|0}function $j(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=10;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>=e>>>0){if(g)f=b+1|0;else f=c[b+8>>2]|0;Du(f|0,d|0,e|0)|0;a[f+e>>0]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}else{if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;ak(b,h,e-h|0,f,0,f,e,d)}while(0);return b|0}function ak(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;if((-18-d|0)>>>0<e>>>0)Sj(b);if(!(a[b>>0]&1))m=b+1|0;else m=c[b+8>>2]|0;if(d>>>0<2147483623){k=e+d|0;l=d<<1;k=k>>>0<l>>>0?l:k;k=k>>>0<11?11:k+16&-16}else k=-17;l=pu(k)|0;if(g|0)Bu(l|0,m|0,g|0)|0;if(i|0)Bu(l+g|0,j|0,i|0)|0;e=f-h|0;if((e|0)!=(g|0))Bu(l+g+i|0,m+g+h|0,e-g|0)|0;if((d|0)!=10)Qt(m);c[b+8>>2]=l;c[b>>2]=k|1;d=e+i|0;c[b+4>>2]=d;a[l+d>>0]=0;return}function bk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d>>>0>4294967279)Sj(b);e=a[b>>0]|0;if(!(e&1))f=10;else{e=c[b>>2]|0;f=(e&-2)+-1|0;e=e&255}if(!(e&1))j=(e&255)>>>1;else j=c[b+4>>2]|0;d=j>>>0>d>>>0?j:d;if(d>>>0<11)i=10;else i=(d+16&-16)+-1|0;do if((i|0)!=(f|0)){do if((i|0)!=10){d=pu(i+1|0)|0;if(!(e&1)){f=1;g=b+1|0;h=0;break}else{f=1;g=c[b+8>>2]|0;h=1;break}}else{d=b+1|0;f=0;g=c[b+8>>2]|0;h=1}while(0);if(!(e&1))e=(e&255)>>>1;else e=c[b+4>>2]|0;Bu(d|0,g|0,e+1|0)|0;if(h)Qt(g);if(f){c[b>>2]=i+1|1;c[b+4>>2]=j;c[b+8>>2]=d;break}else{a[b>>0]=j<<1;break}}while(0);return}function ck(a,b){a=a|0;b=b|0;return $j(a,b,Xh(b)|0)|0}function dk(b,d){b=b|0;d=d|0;var e=0;if(!(a[b>>0]&1)){a[b>>0]=2;e=b+1|0}else{e=c[b+8>>2]|0;c[b+4>>2]=1}a[e>>0]=d;a[e+1>>0]=0;return b|0}function ek(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[b>>0]|0;g=(f&1)==0;if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;do if(f>>>0>=d>>>0)if(g){a[b+1+d>>0]=0;a[b>>0]=d<<1;break}else{a[(c[b+8>>2]|0)+d>>0]=0;c[b+4>>2]=d;break}else fk(b,d-f|0,e)|0;while(0);return}function fk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(d|0){f=a[b>>0]|0;if(!(f&1))g=10;else{f=c[b>>2]|0;g=(f&-2)+-1|0;f=f&255}if(!(f&1))h=(f&255)>>>1;else h=c[b+4>>2]|0;if((g-h|0)>>>0<d>>>0){gk(b,g,d-g+h|0,h,h,0,0);f=a[b>>0]|0}if(!(f&1))g=b+1|0;else g=c[b+8>>2]|0;xu(g+h|0,e|0,d|0)|0;f=h+d|0;if(!(a[b>>0]&1))a[b>>0]=f<<1;else c[b+4>>2]=f;a[g+f>>0]=0}return b|0}function gk(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;if((-17-d|0)>>>0<e>>>0)Sj(b);if(!(a[b>>0]&1))l=b+1|0;else l=c[b+8>>2]|0;if(d>>>0<2147483623){j=e+d|0;k=d<<1;j=j>>>0<k>>>0?k:j;j=j>>>0<11?11:j+16&-16}else j=-17;k=pu(j)|0;if(g|0)Bu(k|0,l|0,g|0)|0;e=f-h|0;if((e|0)!=(g|0))Bu(k+g+i|0,l+g+h|0,e-g|0)|0;if((d|0)!=10)Qt(l);c[b+8>>2]=k;c[b>>2]=j|1;return}function hk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))g=10;else{f=c[b>>2]|0;g=(f&-2)+-1|0;f=f&255}if(!(f&1))h=(f&255)>>>1;else h=c[b+4>>2]|0;if((g-h|0)>>>0>=e>>>0){if(e|0){if(!(f&1))g=b+1|0;else g=c[b+8>>2]|0;Bu(g+h|0,d|0,e|0)|0;f=h+e|0;if(!(a[b>>0]&1))a[b>>0]=f<<1;else c[b+4>>2]=f;a[g+f>>0]=0}}else ak(b,g,e-g+h|0,h,h,0,e,d);return b|0}function ik(a,b){a=a|0;b=b|0;return hk(a,b,Xh(b)|0)|0}function jk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a[b>>0]|0;f=(e&1)!=0;if(f){g=(c[b>>2]&-2)+-1|0;h=c[b+4>>2]|0}else{g=10;h=(e&255)>>>1}if((h|0)==(g|0)){gk(b,g,1,g,g,0,0);if(!(a[b>>0]&1))f=7;else f=8}else if(f)f=8;else f=7;if((f|0)==7){a[b>>0]=(h<<1)+2;e=b+1|0}else if((f|0)==8){e=c[b+8>>2]|0;c[b+4>>2]=h+1}b=e+h|0;a[b>>0]=d;a[b+1>>0]=0;return}function kk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=a[b>>0]|0;h=(g&1)==0;if(h)i=(g&255)>>>1;else i=c[b+4>>2]|0;if(i>>>0<d>>>0)Tj(b);if(h)h=10;else{g=c[b>>2]|0;h=(g&-2)+-1|0;g=g&255}if((h-i|0)>>>0>=f>>>0){if(f|0){if(!(g&1))h=b+1|0;else h=c[b+8>>2]|0;if((i|0)==(d|0))g=h+d|0;else{g=h+d|0;Du(g+f|0,g|0,i-d|0)|0;e=g>>>0<=e>>>0&(h+i|0)>>>0>e>>>0?e+f|0:e}Du(g|0,e|0,f|0)|0;g=i+f|0;if(!(a[b>>0]&1))a[b>>0]=g<<1;else c[b+4>>2]=g;a[h+g>>0]=0}}else ak(b,h,i+f-h|0,i,d,0,f,e);return b|0}function lk(a,b,c){a=a|0;b=b|0;c=c|0;return kk(a,b,c,Xh(c)|0)|0}function mk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;i=a[b>>0]|0;j=(i&1)==0;if(j)m=(i&255)>>>1;else m=c[b+4>>2]|0;if(m>>>0<d>>>0)Tj(b);h=m-d|0;k=h>>>0<e>>>0?h:e;if(j)e=10;else{i=c[b>>2]|0;e=(i&-2)+-1|0;i=i&255}if((k-m+e|0)>>>0<g>>>0)ak(b,e,m+g-k-e|0,m,d,k,g,f);else{if(!(i&1))j=b+1|0;else j=c[b+8>>2]|0;do if((k|0)!=(g|0)){e=h-k|0;if((h|0)==(k|0)){i=d;l=21}else{h=j+d|0;if(k>>>0>g>>>0){Du(h|0,f|0,g|0)|0;Du(h+g|0,h+k|0,e|0)|0;h=k;break}do if(h>>>0<f>>>0&(j+m|0)>>>0>f>>>0)if((h+k|0)>>>0>f>>>0){Du(h|0,f|0,k|0)|0;i=k+d|0;h=0;f=f+g|0;g=g-k|0;break}else{i=d;h=k;f=f+(g-k)|0;break}else{i=d;h=k}while(0);l=j+i|0;Du(l+g|0,l+h|0,e|0)|0;l=21}}else{h=g;i=d;l=21}while(0);if((l|0)==21)Du(j+i|0,f|0,g|0)|0;g=g-h+m|0;if(!(a[b>>0]&1))a[b>>0]=g<<1;else c[b+4>>2]=g;a[j+g>>0]=0}return b|0}function nk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return mk(a,b,c,d,Xh(d)|0)|0}function ok(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=a[b>>0]|0;if(!(f&1)){g=(f&255)>>>1;f=b+1|0}else{g=c[b+4>>2]|0;f=c[b+8>>2]|0}if(g>>>0>e>>>0){e=yh(f+e|0,d&255,g-e|0)|0;f=(e|0)==0?-1:e-f|0}else f=-1;return f|0}function pk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=a[b>>0]|0;j=(h&1)==0;if(j)h=(h&255)>>>1;else h=c[b+4>>2]|0;if((g|0)==-1|h>>>0<d>>>0)Tj(b);i=h-d|0;i=i>>>0<e>>>0?i:e;if(j)h=b+1|0;else h=c[b+8>>2]|0;e=i>>>0>g>>>0;h=zh(h+d|0,f,e?g:i)|0;if(!h)return (i>>>0<g>>>0?-1:e&1)|0;else return h|0;return 0}function qk(a,b){a=a|0;b=b|0;return pk(a,0,-1,b,Xh(b)|0)|0}function rk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if(f>>>0>4294967279)Sj(b);if(f>>>0<11){a[b>>0]=e<<1;f=b+1|0}else{g=f+16&-16;f=pu(g)|0;c[b+8>>2]=f;c[b>>2]=g|1;c[b+4>>2]=e}Bu(f|0,d|0,e|0)|0;a[f+e>>0]=0;return}function sk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(e>>>0>1073741807)Sj(b);if(e>>>0<2){a[b>>0]=e<<1;b=b+4|0}else{g=e+4&-4;f=pu(g<<2)|0;c[b+8>>2]=f;c[b>>2]=g|1;c[b+4>>2]=e;b=f}Mi(b,d,e)|0;c[b+(e<<2)>>2]=0;return}function tk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;if(d>>>0>1073741807)Sj(b);if(d>>>0<2){a[b>>0]=d<<1;b=b+4|0}else{g=d+4&-4;f=pu(g<<2)|0;c[b+8>>2]=f;c[b>>2]=g|1;c[b+4>>2]=d;b=f}Ni(b,e,d)|0;c[b+(d<<2)>>2]=0;return}function uk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d;f=e-h|0;g=f>>2;if(g>>>0>1073741807)Sj(b);if(g>>>0<2){a[b>>0]=f>>>1;b=b+4|0}else{i=g+4&-4;f=pu(i<<2)|0;c[b+8>>2]=f;c[b>>2]=i|1;c[b+4>>2]=g;b=f}g=(e-h|0)>>>2;f=b;while(1){if((d|0)==(e|0))break;c[f>>2]=c[d>>2];d=d+4|0;f=f+4|0}c[b+(g<<2)>>2]=0;return}function vk(b){b=b|0;if(a[b>>0]&1)Qt(c[b+8>>2]|0);return}function wk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=a[b>>0]|0;if(!(f&1))h=1;else{f=c[b>>2]|0;h=(f&-2)+-1|0;f=f&255}g=(f&1)==0;do if(h>>>0>=e>>>0){if(g)f=b+4|0;else f=c[b+8>>2]|0;Oi(f,d,e)|0;c[f+(e<<2)>>2]=0;if(!(a[b>>0]&1)){a[b>>0]=e<<1;break}else{c[b+4>>2]=e;break}}else{if(g)f=(f&255)>>>1;else f=c[b+4>>2]|0;xk(b,h,e-h|0,f,0,f,e,d)}while(0);return b|0}function xk(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;if((1073741806-d|0)>>>0<e>>>0)Sj(b);if(!(a[b>>0]&1))m=b+4|0;else m=c[b+8>>2]|0;if(d>>>0<536870887){k=e+d|0;l=d<<1;k=k>>>0<l>>>0?l:k;k=k>>>0<2?2:k+4&-4}else k=1073741807;l=pu(k<<2)|0;if(g|0)Mi(l,m,g)|0;if(i|0)Mi(l+(g<<2)|0,j,i)|0;e=f-h|0;if((e|0)!=(g|0))Mi(l+(g<<2)+(i<<2)|0,m+(g<<2)+(h<<2)|0,e-g|0)|0;if((d|0)!=1)Qt(m);c[b+8>>2]=l;c[b>>2]=k|1;d=e+i|0;c[b+4>>2]=d;c[l+(d<<2)>>2]=0;return}function yk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d>>>0>1073741807)Sj(b);e=a[b>>0]|0;if(!(e&1))f=1;else{e=c[b>>2]|0;f=(e&-2)+-1|0;e=e&255}if(!(e&1))j=(e&255)>>>1;else j=c[b+4>>2]|0;d=j>>>0>d>>>0?j:d;if(d>>>0<2)i=1;else i=(d+4&-4)+-1|0;do if((i|0)!=(f|0)){do if((i|0)!=1){d=pu((i<<2)+4|0)|0;if(!(e&1)){f=1;g=b+4|0;h=0;break}else{f=1;g=c[b+8>>2]|0;h=1;break}}else{d=b+4|0;f=0;g=c[b+8>>2]|0;h=1}while(0);if(!(e&1))e=(e&255)>>>1;else e=c[b+4>>2]|0;Mi(d,g,e+1|0)|0;if(h)Qt(g);if(f){c[b>>2]=i+1|1;c[b+4>>2]=j;c[b+8>>2]=d;break}else{a[b>>0]=j<<1;break}}while(0);return}function zk(a,b){a=a|0;b=b|0;return wk(a,b,oi(b)|0)|0}function Ak(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;if((1073741807-d|0)>>>0<e>>>0)Sj(b);if(!(a[b>>0]&1))l=b+4|0;else l=c[b+8>>2]|0;if(d>>>0<536870887){j=e+d|0;k=d<<1;j=j>>>0<k>>>0?k:j;j=j>>>0<2?2:j+4&-4}else j=1073741807;k=pu(j<<2)|0;if(g|0)Mi(k,l,g)|0;e=f-h|0;if((e|0)!=(g|0))Mi(k+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,e-g|0)|0;if((d|0)!=1)Qt(l);c[b+8>>2]=k;c[b>>2]=j|1;return}function Bk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a[b>>0]|0;f=(e&1)!=0;if(f){g=(c[b>>2]&-2)+-1|0;h=c[b+4>>2]|0}else{g=1;h=(e&255)>>>1}if((h|0)==(g|0)){Ak(b,g,1,g,g,0,0);if(!(a[b>>0]&1))f=7;else f=8}else if(f)f=8;else f=7;if((f|0)==7){a[b>>0]=(h<<1)+2;e=b+4|0}else if((f|0)==8){e=c[b+8>>2]|0;c[b+4>>2]=h+1}b=e+(h<<2)|0;c[b>>2]=d;c[b+4>>2]=0;return}function Ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;e=d;Vj(e,19519,4);a=Dk(e,a,b,c)|0;Zj(e);i=d;return a|0}function Dk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;j=i;i=i+16|0;h=j;g=(a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0;k=qh()|0;l=c[k>>2]|0;c[k>>2]=0;f=ri(g,h,f)|0;d=c[k>>2]|0;c[k>>2]=l;if((d|0)==34)Ek(b);d=c[h>>2]|0;if((d|0)==(g|0))Gk(b);if(e|0)c[e>>2]=d-g;i=j;return f|0}function Ek(b){b=b|0;var d=0;d=i;i=i+16|0;Fk(d,b,19524);Ki((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0)|0;Aa()}function Fk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=0;while(1){if((f|0)==3)break;c[b+(f<<2)>>2]=0;f=f+1|0}g=a[d>>0]|0;h=(g&1)==0;g=h?(g&255)>>>1:c[d+4>>2]|0;f=Xh(e)|0;rk(b,h?d+1|0:c[d+8>>2]|0,g,g+f|0);hk(b,e,f)|0;return}function Gk(b){b=b|0;var d=0;d=i;i=i+16|0;Fk(d,b,19539);Ki((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0)|0;Aa()}function Hk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;k=m;l=m+4|0;e=0;while(1){if((e|0)==3)break;c[l+(e<<2)>>2]=0;e=e+1|0}if(!(a[l>>0]&1))e=10;else e=(c[l>>2]&-2)+-1|0;ek(l,e,0);g=a[l>>0]|0;h=l+1|0;j=l+8|0;f=g;g=(g&1)==0?(g&255)>>>1:c[l+4>>2]|0;while(1){e=(f&1)==0?h:c[j>>2]|0;c[k>>2]=d;e=Yh(e,g+1|0,19555,k)|0;if((e|0)>-1){if(e>>>0<=g>>>0)break}else e=g<<1|1;ek(l,e,0);f=a[l>>0]|0;g=e}ek(l,e,0);c[b>>2]=c[l>>2];c[b+4>>2]=c[l+4>>2];c[b+8>>2]=c[l+8>>2];e=0;while(1){if((e|0)==3)break;c[l+(e<<2)>>2]=0;e=e+1|0}Zj(l);i=m;return}function Ik(a){a=a|0;if(!(c[a>>2]|0))return;else cu()}function Jk(a){a=a|0;xa(c[a>>2]|0,0)|0;c[a>>2]=0;return}function Kk(){var a=0,b=0,d=0;b=i;i=i+16|0;a=b;$a(1,a|0)|0;d=c[a>>2]|0;a=c[a+4>>2]|0;d=Ku(d|0,((d|0)<0)<<31>>31|0,1e9,0)|0;a=yu(d|0,C|0,a|0,((a|0)<0)<<31>>31|0)|0;i=b;return a|0}function Lk(a){a=a|0;Mk(a);return}function Mk(a){a=a|0;c[a>>2]=10132;Ok(a,0);Et(a+28|0);cj(c[a+32>>2]|0);cj(c[a+36>>2]|0);cj(c[a+48>>2]|0);cj(c[a+60>>2]|0);return}function Nk(a){a=a|0;Mk(a);Qt(a);return}function Ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=a+32|0;e=a+36|0;f=c[a+40>>2]|0;while(1){if(!f)break;g=f+-1|0;Eb[c[(c[d>>2]|0)+(g<<2)>>2]&0](b,a,c[(c[e>>2]|0)+(g<<2)>>2]|0);f=g}return}function Pk(a){a=a|0;c[a>>2]=10148;Et(a+4|0);return}function Qk(a){a=a|0;c[a>>2]=10148;Et(a+4|0);Qt(a);return}function Rk(a,b){a=a|0;b=b|0;return}function Sk(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Tk(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function Uk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function Vk(a){a=a|0;return 0}function Wk(a){a=a|0;return 0}function Xk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+12|0;i=b+16|0;g=d;d=0;while(1){if((d|0)>=(e|0))break;f=c[h>>2]|0;if(f>>>0<(c[i>>2]|0)>>>0){c[h>>2]=f+1;f=a[f>>0]|0}else{f=Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((f|0)==-1)break;f=f&255}a[g>>0]=f;g=g+1|0;d=d+1|0}return d|0}function Yk(a){a=a|0;return -1}function Zk(a){a=a|0;var b=0;if((Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1)a=-1;else{b=a+12|0;a=c[b>>2]|0;c[b>>2]=a+1;a=d[a>>0]|0}return a|0}function _k(a,b){a=a|0;b=b|0;return -1}function $k(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=b+24|0;j=b+28|0;g=e;e=0;while(1){if((e|0)>=(f|0))break;h=c[i>>2]|0;if(h>>>0>=(c[j>>2]|0)>>>0){if((Jb[c[(c[b>>2]|0)+52>>2]&63](b,d[g>>0]|0)|0)==-1)break}else{k=a[g>>0]|0;c[i>>2]=h+1;a[h>>0]=k}g=g+1|0;e=e+1|0}return e|0}function al(a,b){a=a|0;b=b|0;return -1}function bl(a){a=a|0;c[a>>2]=10212;Et(a+4|0);return}function cl(a){a=a|0;c[a>>2]=10212;Et(a+4|0);Qt(a);return}function dl(a,b){a=a|0;b=b|0;return}function el(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function fl(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function gl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=a;c[b>>2]=0;c[b+4>>2]=0;b=a+8|0;c[b>>2]=-1;c[b+4>>2]=-1;return}function hl(a){a=a|0;return 0}function il(a){a=a|0;return 0}function jl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=a+12|0;h=a+16|0;f=b;b=0;while(1){if((b|0)>=(d|0))break;e=c[g>>2]|0;if(e>>>0>=(c[h>>2]|0)>>>0){e=Db[c[(c[a>>2]|0)+40>>2]&127](a)|0;if((e|0)==-1)break}else{c[g>>2]=e+4;e=c[e>>2]|0}c[f>>2]=e;f=f+4|0;b=b+1|0}return b|0}function kl(a){a=a|0;return -1}function ll(a){a=a|0;var b=0;if((Db[c[(c[a>>2]|0)+36>>2]&127](a)|0)==-1)a=-1;else{b=a+12|0;a=c[b>>2]|0;c[b>>2]=a+4;a=c[a>>2]|0}return a|0}function ml(a,b){a=a|0;b=b|0;return -1}function nl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=a+24|0;h=a+28|0;e=b;b=0;while(1){if((b|0)>=(d|0))break;f=c[g>>2]|0;if(f>>>0>=(c[h>>2]|0)>>>0){if((Jb[c[(c[a>>2]|0)+52>>2]&63](a,c[e>>2]|0)|0)==-1)break}else{i=c[e>>2]|0;c[g>>2]=f+4;c[f>>2]=i}e=e+4|0;b=b+1|0}return b|0}function ol(a,b){a=a|0;b=b|0;return -1}function pl(a){a=a|0;Mk(a+8|0);return}function ql(a){a=a|0;Mk(a+8|0);Qt(a);return}function rl(a){a=a|0;Mk(a+(c[(c[a>>2]|0)+-12>>2]|0)+8|0);return}function sl(a){a=a|0;ql(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function tl(a){a=a|0;Mk(a+8|0);return}function ul(a){a=a|0;Mk(a+8|0);Qt(a);return}function vl(a){a=a|0;Mk(a+(c[(c[a>>2]|0)+-12>>2]|0)+8|0);return}function wl(a){a=a|0;ul(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function xl(a){a=a|0;Mk(a+4|0);return}function yl(a){a=a|0;Mk(a+4|0);Qt(a);return}function zl(a){a=a|0;Mk(a+(c[(c[a>>2]|0)+-12>>2]|0)+4|0);return}function Al(a){a=a|0;yl(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Bl(a){a=a|0;Mk(a+4|0);return}function Cl(a){a=a|0;Mk(a+4|0);Qt(a);return}function Dl(a){a=a|0;Mk(a+(c[(c[a>>2]|0)+-12>>2]|0)+4|0);return}function El(a){a=a|0;Cl(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Fl(a){a=a|0;Mk(a+12|0);return}function Gl(a){a=a|0;Mk(a+12|0);Qt(a);return}function Hl(a){a=a|0;Mk(a+-8+12|0);return}function Il(a){a=a|0;Gl(a+-8|0);return}function Jl(a){a=a|0;Mk(a+(c[(c[a>>2]|0)+-12>>2]|0)+12|0);return}function Kl(a){a=a|0;Gl(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Ll(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function Ml(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;d=a+28|0;b=a+32|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));Ct(d);return}function Nl(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=d;Dt(b,a+28|0);i=d;return c[b>>2]|0}function Ol(a){a=a|0;c[a>>2]=10148;Ct(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function Pl(a){a=a|0;c[a>>2]=10212;Ct(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function Ql(a,b){a=a|0;b=b|0;return}function Rl(e,f,g){e=e|0;f=f|0;g=g|0;var 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;u=i;i=i+16|0;l=u;a[e>>0]=0;h=f+(c[(c[f>>2]|0)+-12>>2]|0)|0;j=h+16|0;k=c[j>>2]|0;if(!k){h=c[h+72>>2]|0;if(h|0)Sl(h)|0;do if(!g?(m=f+(c[(c[f>>2]|0)+-12>>2]|0)|0,c[m+4>>2]&4096|0):0){c[l>>2]=Nl(m)|0;m=sm(l,1211488)|0;Et(l);h=c[f+(c[(c[f>>2]|0)+-12>>2]|0)+24>>2]|0;l=m+8|0;m=h;g=(h|0)==0;n=m+12|0;o=m+16|0;p=h;j=h;q=j+12|0;r=j+16|0;s=h;t=h;while(1){if(g){j=0;h=0;break}if((c[n>>2]|0)==(c[o>>2]|0)?(Db[c[(c[p>>2]|0)+36>>2]&127](m)|0)==-1:0){j=0;h=0;break}k=c[q>>2]|0;if((k|0)==(c[r>>2]|0))k=Db[c[(c[s>>2]|0)+36>>2]&127](j)|0;else k=d[k>>0]|0;if((k&255)<<24>>24<=-1)break;if(!(b[(c[l>>2]|0)+(k<<24>>24<<1)>>1]&8192))break;k=c[q>>2]|0;if((k|0)==(c[r>>2]|0)){Db[c[(c[t>>2]|0)+40>>2]&127](j)|0;continue}else{c[q>>2]=k+1;continue}}if(h|0){if((c[j+12>>2]|0)!=(c[j+16>>2]|0))break;if((Db[c[(c[h>>2]|0)+36>>2]&127](j)|0)!=-1)break}s=f+(c[(c[f>>2]|0)+-12>>2]|0)|0;t=s+16|0;c[t>>2]=c[t>>2]|(c[s+24>>2]|0)==0|6}while(0);a[e>>0]=(c[f+(c[(c[f>>2]|0)+-12>>2]|0)+16>>2]|0)==0&1}else c[j>>2]=k|(c[h+24>>2]|0)==0|4;i=u;return}function Sl(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;d=e;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){Tl(d,b);if(a[d>>0]|0?(f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Db[c[(c[f>>2]|0)+24>>2]&127](f)|0)==-1):0){f=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[f>>2]=c[f>>2]|1}Ul(d)}i=e;return b|0}function Tl(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)Sl(d)|0;a[b>>0]=1}return}function Ul(a){a=a|0;var b=0;a=a+4|0;b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if((((c[b+24>>2]|0?(c[b+16>>2]|0)==0:0)?c[b+4>>2]&8192|0:0)?!(Sa()|0):0)?(b=c[a>>2]|0,b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Db[c[(c[b>>2]|0)+24>>2]&127](b)|0)==-1):0){b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[b>>2]=c[b>>2]|1}return}function Vl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=i;i=i+32|0;f=m+24|0;e=m+20|0;g=m+16|0;h=m+12|0;n=m+28|0;k=m+8|0;l=m+4|0;j=m;Rl(n,b,0);if(a[n>>0]|0){c[k>>2]=0;c[j>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;o=sm(j,1211512)|0;n=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;p=c[(c[o>>2]|0)+16>>2]|0;c[g>>2]=c[n+24>>2];c[h>>2]=0;c[e>>2]=c[g>>2];c[f>>2]=c[h>>2];Bb[p&63](o,e,f,n,k,l)|0;Et(j);c[d>>2]=c[l>>2];l=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;n=l+16|0;c[n>>2]=c[n>>2]|c[k>>2]|(c[l+24>>2]|0)==0}i=m;return b|0}function Wl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;l=i;i=i+32|0;f=l+20|0;e=l+16|0;g=l+12|0;h=l+8|0;m=l+24|0;k=l+4|0;j=l;Rl(m,b,0);if(a[m>>0]|0){c[k>>2]=0;c[j>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;n=sm(j,1211512)|0;m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;o=c[(c[n>>2]|0)+20>>2]|0;c[g>>2]=c[m+24>>2];c[h>>2]=0;c[e>>2]=c[g>>2];c[f>>2]=c[h>>2];Bb[o&63](n,e,f,m,k,d)|0;Et(j);d=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;m=d+16|0;c[m>>2]=c[m>>2]|c[k>>2]|(c[d+24>>2]|0)==0}i=l;return b|0}function Xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;l=i;i=i+32|0;f=l+20|0;e=l+16|0;g=l+12|0;h=l+8|0;m=l+24|0;k=l+4|0;j=l;Rl(m,b,0);if(a[m>>0]|0){c[k>>2]=0;c[j>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;n=sm(j,1211512)|0;m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;o=c[(c[n>>2]|0)+44>>2]|0;c[g>>2]=c[m+24>>2];c[h>>2]=0;c[e>>2]=c[g>>2];c[f>>2]=c[h>>2];Bb[o&63](n,e,f,m,k,d)|0;Et(j);d=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;m=d+16|0;c[m>>2]=c[m>>2]|c[k>>2]|(c[d+24>>2]|0)==0}i=l;return b|0}function Yl(a,b){a=a|0;b=b|0;return}function Zl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;j=n+16|0;k=n+12|0;m=n;e=n+8|0;Tl(m,b);if(a[m>>0]|0){c[e>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;l=sm(e,1211544)|0;Et(e);g=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;h=c[g+24>>2]|0;f=g+76|0;e=c[f>>2]|0;if((e|0)==-1){c[j>>2]=Nl(g)|0;e=sm(j,1211488)|0;e=Jb[c[(c[e>>2]|0)+28>>2]&63](e,32)|0;Et(j);e=e<<24>>24;c[f>>2]=e}f=c[(c[l>>2]|0)+16>>2]|0;c[k>>2]=h;c[j>>2]=c[k>>2];if(!(Kb[f&31](l,j,g,e&255,d)|0)){d=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[d>>2]=c[d>>2]|5}}Ul(m);i=n;return b|0}function _l(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;j=n+16|0;k=n+12|0;m=n;e=n+8|0;Tl(m,b);if(a[m>>0]|0){c[e>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;l=sm(e,1211544)|0;Et(e);g=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;h=c[g+24>>2]|0;f=g+76|0;e=c[f>>2]|0;if((e|0)==-1){c[j>>2]=Nl(g)|0;e=sm(j,1211488)|0;e=Jb[c[(c[e>>2]|0)+28>>2]&63](e,32)|0;Et(j);e=e<<24>>24;c[f>>2]=e}f=c[(c[l>>2]|0)+24>>2]|0;c[k>>2]=h;c[j>>2]=c[k>>2];if(!(Kb[f&31](l,j,g,e&255,d)|0)){d=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[d>>2]=c[d>>2]|5}}Ul(m);i=n;return b|0}function $l(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;k=o+16|0;m=o+12|0;n=o;f=o+8|0;Tl(n,b);if(a[n>>0]|0){c[f>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;l=sm(f,1211544)|0;Et(f);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;j=c[h+24>>2]|0;g=h+76|0;f=c[g>>2]|0;if((f|0)==-1){c[k>>2]=Nl(h)|0;f=sm(k,1211488)|0;f=Jb[c[(c[f>>2]|0)+28>>2]&63](f,32)|0;Et(k);f=f<<24>>24;c[g>>2]=f}g=c[(c[l>>2]|0)+20>>2]|0;c[m>>2]=j;c[k>>2]=c[m>>2];if(!(Bb[g&63](l,k,h,f&255,d,e)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[m>>2]=c[m>>2]|5}}Ul(n);i=o;return b|0}function am(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;k=o+16|0;m=o+12|0;n=o;f=o+8|0;Tl(n,b);if(a[n>>0]|0){c[f>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;l=sm(f,1211544)|0;Et(f);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;j=c[h+24>>2]|0;g=h+76|0;f=c[g>>2]|0;if((f|0)==-1){c[k>>2]=Nl(h)|0;f=sm(k,1211488)|0;f=Jb[c[(c[f>>2]|0)+28>>2]&63](f,32)|0;Et(k);f=f<<24>>24;c[g>>2]=f}g=c[(c[l>>2]|0)+28>>2]|0;c[m>>2]=j;c[k>>2]=c[m>>2];if(!(Bb[g&63](l,k,h,f&255,d,e)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[m>>2]=c[m>>2]|5}}Ul(n);i=o;return b|0}function bm(b,d){b=b|0;d=+d;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;j=n+16|0;k=n+12|0;m=n;e=n+8|0;Tl(m,b);if(a[m>>0]|0){c[e>>2]=Nl(b+(c[(c[b>>2]|0)+-12>>2]|0)|0)|0;l=sm(e,1211544)|0;Et(e);g=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;h=c[g+24>>2]|0;f=g+76|0;e=c[f>>2]|0;if((e|0)==-1){c[j>>2]=Nl(g)|0;e=sm(j,1211488)|0;e=Jb[c[(c[e>>2]|0)+28>>2]&63](e,32)|0;Et(j);e=e<<24>>24;c[f>>2]=e}f=c[(c[l>>2]|0)+32>>2]|0;c[k>>2]=h;c[j>>2]=c[k>>2];if(!(Cb[f&7](l,j,g,e&255,d)|0)){l=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[l>>2]=c[l>>2]|5}}Ul(m);i=n;return b|0}function cm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=k;Tl(j,b);a:do if(a[j>>0]|0){g=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;h=g;do if(g|0){e=h+24|0;f=c[e>>2]|0;if((f|0)==(c[h+28>>2]|0))if((Jb[c[(c[g>>2]|0)+52>>2]&63](h,d&255)|0)==-1)break;else break a;else{c[e>>2]=f+1;a[f>>0]=d;break a}}while(0);d=b+(c[(c[b>>2]|0)+-12>>2]|0)+16|0;c[d>>2]=c[d>>2]|1}while(0);Ul(j);i=k;return b|0}function dm(a,b){a=a|0;b=b|0;return}function em(a){a=a|0;return}function fm(a){a=a|0;Qt(a);return}function gm(a){a=a|0;if(a|0)zb[c[(c[a>>2]|0)+4>>2]&255](a);return}function hm(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;while(1){if((e|0)==(f|0)){h=7;break}if((c|0)==(d|0)){c=-1;break}b=a[c>>0]|0;g=a[e>>0]|0;if(b<<24>>24<g<<24>>24){c=-1;break}if(g<<24>>24<b<<24>>24){c=1;break}e=e+1|0;c=c+1|0}if((h|0)==7)c=(c|0)!=(d|0)&1;return c|0}function im(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Yj(a,c,d);return}function jm(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;while(1){if((c|0)==(d|0))break;e=(a[c>>0]|0)+(b<<4)|0;f=e&-268435456;b=(f>>>24|f)^e;c=c+1|0}return b|0}function km(a){a=a|0;return}function lm(a){a=a|0;Qt(a);return}function mm(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;while(1){if((e|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}a=c[b>>2]|0;g=c[e>>2]|0;if((a|0)<(g|0)){b=-1;break}if((g|0)<(a|0)){b=1;break}e=e+4|0;b=b+4|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function nm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;uk(a,c,d);return}function om(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;f=e&-268435456;a=(f>>>24|f)^e;b=b+4|0}return a|0}function pm(a){a=a|0;return}function qm(a){a=a|0;Qt(a);return}function rm(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;k=r+48|0;j=r+24|0;q=r+16|0;l=r+20|0;m=r+12|0;n=r+8|0;o=r+4|0;p=r;if(!(c[f+4>>2]&1)){c[q>>2]=-1;p=c[(c[b>>2]|0)+16>>2]|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];j=Bb[p&63](b,j,k,f,g,q)|0;c[d>>2]=j;switch(c[q>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}}else{b=Nl(f)|0;c[n>>2]=b;q=sm(n,1211488)|0;Ht(b)|0;f=Nl(f)|0;c[o>>2]=f;b=sm(o,1211500)|0;Ht(f)|0;Ab[c[(c[b>>2]|0)+24>>2]&63](j,b);Ab[c[(c[b>>2]|0)+28>>2]&63](j+12|0,b);c[p>>2]=c[e>>2];c[k>>2]=c[p>>2];a[h>>0]=(wm(d,k,j,j+24|0,q,g,1)|0)==(j|0)&1;h=c[d>>2]|0;Zj(j+12|0);Zj(j);j=h}i=r;return j|0}function sm(a,b){a=a|0;b=b|0;a=c[a>>2]|0;b=tm(b)|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function tm(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;b=d;if((c[a>>2]|0)!=-1){c[b>>2]=a;c[b+4>>2]=151;c[b+8>>2]=0;Rj(a,b,152)}i=d;return (c[a+4>>2]|0)+-1|0}function um(a){a=a|0;var b=0;b=c[302874]|0;c[302874]=b+1;c[a+4>>2]=b+1;return}function vm(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;d=c[a+8>>2]|0;a=(c[a>>2]|0)+(d>>1)|0;if(d&1)b=c[(c[a>>2]|0)+b>>2]|0;zb[b&255](a);return}function wm(b,e,f,g,h,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+112|0;m=z;n=(g-f|0)/12|0;if(n>>>0>100){m=bj(n)|0;if(!m)uu();else{x=m;l=m}}else{x=0;l=m}q=f;m=0;p=l;while(1){if((q|0)==(g|0))break;o=a[q>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[q+4>>2]|0;if(!o){a[p>>0]=2;m=m+1|0;n=n+-1|0}else a[p>>0]=1;q=q+12|0;p=p+1|0}w=0;t=m;r=n;a:while(1){m=c[b>>2]|0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}}else m=0;while(0);p=(m|0)==0;n=c[e>>2]|0;if(n){if((c[n+12>>2]|0)==(c[n+16>>2]|0)?(Db[c[(c[n>>2]|0)+36>>2]&127](n)|0)==-1:0){c[e>>2]=0;n=0}}else n=0;o=(n|0)==0;m=c[b>>2]|0;if(!((r|0)!=0&(p^o)))break;n=c[m+12>>2]|0;if((n|0)==(c[m+16>>2]|0))m=Db[c[(c[m>>2]|0)+36>>2]&127](m)|0;else m=d[n>>0]|0;m=m&255;if(!k)m=Jb[c[(c[h>>2]|0)+12>>2]&63](h,m)|0;v=w+1|0;q=0;s=f;u=r;r=l;while(1){if((s|0)==(g|0))break;do if((a[r>>0]|0)==1){if(!(a[s>>0]&1))n=s+1|0;else n=c[s+8>>2]|0;n=a[n+w>>0]|0;if(!k)n=Jb[c[(c[h>>2]|0)+12>>2]&63](h,n)|0;if(m<<24>>24!=n<<24>>24){a[r>>0]=0;n=q;o=t;p=u+-1|0;break}n=a[s>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[s+4>>2]|0;if((n|0)==(v|0)){a[r>>0]=2;n=1;o=t+1|0;p=u+-1|0}else{n=1;o=t;p=u}}else{n=q;o=t;p=u}while(0);q=n;s=s+12|0;t=o;u=p;r=r+1|0}if(!q){w=v;r=u;continue}m=c[b>>2]|0;n=m+12|0;o=c[n>>2]|0;if((o|0)==(c[m+16>>2]|0))Db[c[(c[m>>2]|0)+40>>2]&127](m)|0;else c[n>>2]=o+1;if((t+u|0)>>>0>1){p=f;m=t;o=l}else{w=v;r=u;continue}while(1){if((p|0)==(g|0)){w=v;t=m;r=u;continue a}if((a[o>>0]|0)==2){n=a[p>>0]|0;if(!(n&1))n=(n&255)>>>1;else n=c[p+4>>2]|0;if((n|0)!=(v|0)){a[o>>0]=0;m=m+-1|0}}p=p+12|0;o=o+1|0}}do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0))if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1){c[b>>2]=0;m=0;break}else{m=c[b>>2]|0;break}}else m=0;while(0);m=(m|0)==0;do if(!o){if((c[n+12>>2]|0)==(c[n+16>>2]|0)?(Db[c[(c[n>>2]|0)+36>>2]&127](n)|0)==-1:0){c[e>>2]=0;y=34;break}if(!m)y=69}else y=34;while(0);if((y|0)==34)if(m)y=69;if((y|0)==69)c[j>>2]=c[j>>2]|2;while(1){if((f|0)==(g|0)){y=73;break}if((a[l>>0]|0)==2)break;f=f+12|0;l=l+1|0}if((y|0)==73){c[j>>2]=c[j>>2]|4;f=g}cj(x);i=z;return f|0}function xm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=ym(a,k,j,e,f,g)|0;i=h;return a|0}function ym(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+224|0;s=A+198|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}zm(z,g,s,k);b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}if(!(a[y>>0]&1))b=10;else b=(c[y>>2]&-2)+-1|0;ek(y,b,0);p=y+8|0;q=y+1|0;n=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=n;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=a[k>>0]|0;b=c[e>>2]|0;k=n;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;B=20;break}}else B=20;while(0);if((B|0)==20){B=0;if(g){l=0;break}else l=0}m=a[y>>0]|0;m=(m&1)==0?(m&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(k+m|0)){ek(y,m<<1,0);if(!(a[y>>0]&1))g=10;else g=(c[y>>2]&-2)+-1|0;ek(y,g,0);k=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Am(g&255,v,k,w,t,o,z,x,u,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}s=a[z>>0]|0;g=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(g-x|0)<160:0){s=c[t>>2]|0;t=g+4|0;c[u>>2]=t;c[g>>2]=s;g=t}c[j>>2]=Bm(k,c[w>>2]|0,h,v)|0;Dm(z,x,g,h);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;B=45;break}if(!b)B=46}else B=45;while(0);if((B|0)==45?b:0)B=46;if((B|0)==46)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function zm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;g=i;i=i+16|0;h=g;d=Nl(d)|0;c[h>>2]=d;j=sm(h,1211488)|0;Hb[c[(c[j>>2]|0)+32>>2]&7](j,20161,20187,e)|0;e=sm(h,1211500)|0;a[f>>0]=Db[c[(c[e>>2]|0)+16>>2]&127](e)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](b,e);Ht(d)|0;i=g;return}function Am(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i>>0]|0;if(b<<24>>24==h<<24>>24?(((n&1)==0?(n&255)>>>1:c[i+4>>2]|0)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}d=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=d;c[g>>2]=0;m=0;break}i=l+26|0;m=l;while(1){if((m|0)==(i|0)){m=i;break}if((a[m>>0]|0)==b<<24>>24)break;m=m+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(d|0){case 10:case 8:{if((m|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[20161+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[20161+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function Bm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=k;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{g=qh()|0;h=c[g>>2]|0;c[g>>2]=0;a=vi(a,j,e,Cm()|0)|0;e=C;f=c[g>>2]|0;if(!f)c[g>>2]=h;a:do if((c[j>>2]|0)==(b|0)){do if((f|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}i=k;return a|0}function Cm(){if((a[1054176]|0)==0?Ba(1054176)|0:0){c[302877]=Xi(2147483647,20194,0)|0;Ia(1054176)}return c[302877]|0}function Dm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=a[b>>0]|0;i=b+4|0;h=c[i>>2]|0;do if(((g&1)==0?(g&255)>>>1:h)|0){if((d|0)!=(e|0)){g=e;h=d;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;j=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=j;h=h+4|0}g=a[b>>0]|0;h=c[i>>2]|0}i=(g&1)==0;b=i?b+1|0:c[b+8>>2]|0;j=e+-4|0;e=b+(i?(g&255)>>>1:h)|0;h=d;while(1){g=a[b>>0]|0;i=g<<24>>24<1|g<<24>>24==127;if(h>>>0>=j>>>0)break;if(!i?(g<<24>>24|0)!=(c[h>>2]|0):0){k=10;break}b=(e-b|0)>1?b+1|0:b;h=h+4|0}if((k|0)==10){c[f>>2]=4;break}if(!i?((c[j>>2]|0)+-1|0)>>>0>=g<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function Em(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Fm(a,k,j,e,f,g)|0;i=h;return a|0}function Fm(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+224|0;s=A+198|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}zm(z,g,s,k);b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}if(!(a[y>>0]&1))b=10;else b=(c[y>>2]&-2)+-1|0;ek(y,b,0);p=y+8|0;q=y+1|0;n=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=n;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=a[k>>0]|0;b=c[e>>2]|0;k=n;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;B=20;break}}else B=20;while(0);if((B|0)==20){B=0;if(g){l=0;break}else l=0}m=a[y>>0]|0;m=(m&1)==0?(m&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(k+m|0)){ek(y,m<<1,0);if(!(a[y>>0]&1))g=10;else g=(c[y>>2]&-2)+-1|0;ek(y,g,0);k=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Am(g&255,v,k,w,t,o,z,x,u,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}s=a[z>>0]|0;g=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(g-x|0)<160:0){s=c[t>>2]|0;t=g+4|0;c[u>>2]=t;c[g>>2]=s;g=t}w=Gm(k,c[w>>2]|0,h,v)|0;c[j>>2]=w;c[j+4>>2]=C;Dm(z,x,g,h);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;B=45;break}if(!b)B=46}else B=45;while(0);if((B|0)==45?b:0)B=46;if((B|0)==46)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function Gm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;j=k;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{g=qh()|0;h=c[g>>2]|0;c[g>>2]=0;a=vi(a,j,e,Cm()|0)|0;e=C;f=c[g>>2]|0;if(!f)c[g>>2]=h;if((c[j>>2]|0)==(b|0)){if((f|0)==34){c[d>>2]=4;e=(e|0)>0|(e|0)==0&a>>>0>0;a=e?-1:0;e=e?2147483647:-2147483648}}else{c[d>>2]=4;a=0;e=0}}C=e;i=k;return a|0}function Hm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Im(a,k,j,e,f,g)|0;i=h;return a|0}function Im(e,f,g,h,j,k){e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=i;i=i+224|0;t=B+198|0;l=B+196|0;A=B+184|0;z=B+172|0;x=B+168|0;y=B+8|0;v=B+4|0;u=B;switch(c[h+4>>2]&74|0){case 64:{w=8;break}case 8:{w=16;break}case 0:{w=0;break}default:w=10}zm(A,h,t,l);e=0;while(1){if((e|0)==3)break;c[z+(e<<2)>>2]=0;e=e+1|0}if(!(a[z>>0]&1))e=10;else e=(c[z>>2]&-2)+-1|0;ek(z,e,0);q=z+8|0;r=z+1|0;o=(a[z>>0]&1)==0?r:c[q>>2]|0;c[x>>2]=o;c[v>>2]=y;c[u>>2]=0;s=z+4|0;p=a[l>>0]|0;e=c[f>>2]|0;l=o;a:while(1){if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)?(Db[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1:0){c[f>>2]=0;e=0}}else e=0;h=(e|0)==0;m=c[g>>2]|0;do if(m){if((c[m+12>>2]|0)!=(c[m+16>>2]|0))if(h)break;else break a;if((Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)!=-1)if(h)break;else break a;else{c[g>>2]=0;C=20;break}}else C=20;while(0);if((C|0)==20){C=0;if(h){m=0;break}else m=0}n=a[z>>0]|0;n=(n&1)==0?(n&255)>>>1:c[s>>2]|0;if((c[x>>2]|0)==(l+n|0)){ek(z,n<<1,0);if(!(a[z>>0]&1))h=10;else h=(c[z>>2]&-2)+-1|0;ek(z,h,0);l=(a[z>>0]&1)==0?r:c[q>>2]|0;c[x>>2]=l+n}n=e+12|0;h=c[n>>2]|0;o=e+16|0;if((h|0)==(c[o>>2]|0))h=Db[c[(c[e>>2]|0)+36>>2]&127](e)|0;else h=d[h>>0]|0;if(Am(h&255,w,l,x,u,p,A,y,v,t)|0)break;h=c[n>>2]|0;if((h|0)==(c[o>>2]|0)){Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;continue}else{c[n>>2]=h+1;continue}}t=a[A>>0]|0;h=c[v>>2]|0;if((((t&1)==0?(t&255)>>>1:c[A+4>>2]|0)|0)!=0?(h-y|0)<160:0){t=c[u>>2]|0;u=h+4|0;c[v>>2]=u;c[h>>2]=t;h=u}b[k>>1]=Jm(l,c[x>>2]|0,j,w)|0;Dm(A,y,h,j);if(e){if((c[e+12>>2]|0)==(c[e+16>>2]|0)?(Db[c[(c[e>>2]|0)+36>>2]&127](e)|0)==-1:0){c[f>>2]=0;e=0}}else e=0;e=(e|0)==0;do if(m){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[m>>2]|0)+36>>2]&127](m)|0)==-1:0){c[g>>2]=0;C=45;break}if(!e)C=46}else C=45;while(0);if((C|0)==45?e:0)C=46;if((C|0)==46)c[j>>2]=c[j>>2]|2;C=c[f>>2]|0;Zj(z);Zj(A);i=B;return C|0}function Jm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;k=l;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=qh()|0;j=c[h>>2]|0;c[h>>2]=0;b=ui(b,k,f,Cm()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==34){c[e>>2]=4;b=-1;break}else{b=b&65535;break}else{c[e>>2]=4;b=0}while(0)}while(0);i=l;return b|0}function Km(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Lm(a,k,j,e,f,g)|0;i=h;return a|0}function Lm(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+224|0;s=A+198|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}zm(z,g,s,k);b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}if(!(a[y>>0]&1))b=10;else b=(c[y>>2]&-2)+-1|0;ek(y,b,0);p=y+8|0;q=y+1|0;n=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=n;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=a[k>>0]|0;b=c[e>>2]|0;k=n;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;B=20;break}}else B=20;while(0);if((B|0)==20){B=0;if(g){l=0;break}else l=0}m=a[y>>0]|0;m=(m&1)==0?(m&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(k+m|0)){ek(y,m<<1,0);if(!(a[y>>0]&1))g=10;else g=(c[y>>2]&-2)+-1|0;ek(y,g,0);k=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Am(g&255,v,k,w,t,o,z,x,u,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}s=a[z>>0]|0;g=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(g-x|0)<160:0){s=c[t>>2]|0;t=g+4|0;c[u>>2]=t;c[g>>2]=s;g=t}c[j>>2]=Mm(k,c[w>>2]|0,h,v)|0;Dm(z,x,g,h);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;B=45;break}if(!b)B=46}else B=45;while(0);if((B|0)==45?b:0)B=46;if((B|0)==46)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function Mm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;k=l;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=qh()|0;j=c[h>>2]|0;c[h>>2]=0;b=ui(b,k,f,Cm()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);i=l;return b|0}function Nm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Om(a,k,j,e,f,g)|0;i=h;return a|0}function Om(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+224|0;s=A+198|0;k=A+196|0;z=A+184|0;y=A+172|0;w=A+168|0;x=A+8|0;u=A+4|0;t=A;switch(c[g+4>>2]&74|0){case 64:{v=8;break}case 8:{v=16;break}case 0:{v=0;break}default:v=10}zm(z,g,s,k);b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}if(!(a[y>>0]&1))b=10;else b=(c[y>>2]&-2)+-1|0;ek(y,b,0);p=y+8|0;q=y+1|0;n=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=n;c[u>>2]=x;c[t>>2]=0;r=y+4|0;o=a[k>>0]|0;b=c[e>>2]|0;k=n;a:while(1){if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;g=(b|0)==0;l=c[f>>2]|0;do if(l){if((c[l+12>>2]|0)!=(c[l+16>>2]|0))if(g)break;else break a;if((Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)!=-1)if(g)break;else break a;else{c[f>>2]=0;B=20;break}}else B=20;while(0);if((B|0)==20){B=0;if(g){l=0;break}else l=0}m=a[y>>0]|0;m=(m&1)==0?(m&255)>>>1:c[r>>2]|0;if((c[w>>2]|0)==(k+m|0)){ek(y,m<<1,0);if(!(a[y>>0]&1))g=10;else g=(c[y>>2]&-2)+-1|0;ek(y,g,0);k=(a[y>>0]&1)==0?q:c[p>>2]|0;c[w>>2]=k+m}m=b+12|0;g=c[m>>2]|0;n=b+16|0;if((g|0)==(c[n>>2]|0))g=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else g=d[g>>0]|0;if(Am(g&255,v,k,w,t,o,z,x,u,s)|0)break;g=c[m>>2]|0;if((g|0)==(c[n>>2]|0)){Db[c[(c[b>>2]|0)+40>>2]&127](b)|0;continue}else{c[m>>2]=g+1;continue}}s=a[z>>0]|0;g=c[u>>2]|0;if((((s&1)==0?(s&255)>>>1:c[z+4>>2]|0)|0)!=0?(g-x|0)<160:0){s=c[t>>2]|0;t=g+4|0;c[u>>2]=t;c[g>>2]=s;g=t}c[j>>2]=Pm(k,c[w>>2]|0,h,v)|0;Dm(z,x,g,h);if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0)?(Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1:0){c[e>>2]=0;b=0}}else b=0;b=(b|0)==0;do if(l){if((c[l+12>>2]|0)==(c[l+16>>2]|0)?(Db[c[(c[l>>2]|0)+36>>2]&127](l)|0)==-1:0){c[f>>2]=0;B=45;break}if(!b)B=46}else B=45;while(0);if((B|0)==45?b:0)B=46;if((B|0)==46)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;Zj(y);Zj(z);i=A;return B|0}function Pm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0;l=i;i=i+16|0;k=l;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}h=qh()|0;j=c[h>>2]|0;c[h>>2]=0;b=ui(b,k,f,Cm()|0)|0;f=C;g=c[h>>2]|0;if(!g)c[h>>2]=j;do if((c[k>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);i=l;return b|0}function Qm(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0;h=i;i=i+16|0;j=h+12|0;k=h+8|0;m=h+4|0;l=h;c[m>>2]=c[b>>2];c[l>>2]=c[d>>2];c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];a=Rm(a,k,j,e,f,g)|0;i=h;return a|0}
function ig(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=c[a>>2]|0;f=c[b>>2]|0;if((e|0)==(f|0))return;l=e;g=c[l+4>>2]|0;m=d;c[m>>2]=c[l>>2];c[m+4>>2]=g;m=d+8|0;g=e+8|0;c[m>>2]=0;l=d+12|0;c[l>>2]=0;c[d+16>>2]=0;c[m>>2]=c[g>>2];m=e+12|0;c[l>>2]=c[m>>2];l=e+16|0;c[d+16>>2]=c[l>>2];c[l>>2]=0;c[m>>2]=0;c[g>>2]=0;g=e+20|0;c[a>>2]=g;if((g|0)==(f|0))return;else m=d;do{f=m;m=m+20|0;if((c[f>>2]|0)<(c[g>>2]|0)){j=f;k=c[j+4>>2]|0;l=m;c[l>>2]=c[j>>2];c[l+4>>2]=k;l=f+8|0;c[f+28>>2]=c[l>>2];k=f+12|0;c[f+32>>2]=c[k>>2];j=f+16|0;c[f+36>>2]=c[j>>2];c[j>>2]=0;c[k>>2]=0;c[l>>2]=0;a:do if((f|0)==(d|0))h=d;else while(1){l=f;f=f+-20|0;if((c[f>>2]|0)>=(c[c[a>>2]>>2]|0)){h=l;break a}e=f;k=c[e+4>>2]|0;j=l;c[j>>2]=c[e>>2];c[j+4>>2]=k;j=l+8|0;k=l+-12|0;e=c[j>>2]|0;g=e;i=l+12|0;if(!e)e=l+16|0;else{h=c[i>>2]|0;if((h|0)!=(e|0))c[i>>2]=h+(~((h+-4-g|0)>>>2)<<2);Qt(e);e=l+16|0;c[e>>2]=0;c[i>>2]=0;c[j>>2]=0}c[j>>2]=c[k>>2];j=l+-8|0;c[i>>2]=c[j>>2];l=l+-4|0;c[e>>2]=c[l>>2];c[l>>2]=0;c[j>>2]=0;c[k>>2]=0;if((f|0)==(d|0)){h=d;break}}while(0);j=c[a>>2]|0;e=j;l=c[e+4>>2]|0;k=h;c[k>>2]=c[e>>2];c[k+4>>2]=l;k=h+8|0;l=j+8|0;e=c[k>>2]|0;f=e;i=h+12|0;if(!e)e=h+16|0;else{g=c[i>>2]|0;if((g|0)!=(e|0))c[i>>2]=g+(~((g+-4-f|0)>>>2)<<2);Qt(e);e=h+16|0;c[e>>2]=0;c[i>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];k=j+12|0;c[i>>2]=c[k>>2];j=j+16|0;c[e>>2]=c[j>>2];c[j>>2]=0;c[k>>2]=0;c[l>>2]=0}else{j=g;l=c[j+4>>2]|0;k=m;c[k>>2]=c[j>>2];c[k+4>>2]=l;k=f+28|0;l=e+28|0;c[k>>2]=0;j=f+32|0;c[j>>2]=0;c[f+36>>2]=0;c[k>>2]=c[l>>2];k=e+32|0;c[j>>2]=c[k>>2];j=e+36|0;c[f+36>>2]=c[j>>2];c[j>>2]=0;c[k>>2]=0;c[l>>2]=0}e=c[a>>2]|0;g=e+20|0;c[a>>2]=g}while((g|0)!=(c[b>>2]|0));return}function jg(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;g=c[a>>2]|0;h=c[b>>2]|0;a:do if((g|0)!=(h|0)){while(1){i=c[d>>2]|0;if((i|0)==(c[e>>2]|0))break;if((c[g>>2]|0)<(c[i>>2]|0)){j=i;g=c[j+4>>2]|0;h=f;c[h>>2]=c[j>>2];c[h+4>>2]=g;h=f+8|0;g=i+8|0;c[h>>2]=0;j=f+12|0;c[j>>2]=0;c[f+16>>2]=0;c[h>>2]=c[g>>2];h=i+12|0;c[j>>2]=c[h>>2];i=i+16|0;c[f+16>>2]=c[i>>2];c[i>>2]=0;c[h>>2]=0;c[g>>2]=0;c[d>>2]=(c[d>>2]|0)+20;g=c[a>>2]|0}else{h=g;j=c[h+4>>2]|0;i=f;c[i>>2]=c[h>>2];c[i+4>>2]=j;i=f+8|0;j=g+8|0;c[i>>2]=0;h=f+12|0;c[h>>2]=0;c[f+16>>2]=0;c[i>>2]=c[j>>2];i=g+12|0;c[h>>2]=c[i>>2];g=g+16|0;c[f+16>>2]=c[g>>2];c[g>>2]=0;c[i>>2]=0;c[j>>2]=0;g=(c[a>>2]|0)+20|0;c[a>>2]=g}f=f+20|0;h=c[b>>2]|0;if((g|0)==(h|0))break a}if((g|0)==(h|0))return;while(1){d=g;j=c[d+4>>2]|0;e=f;c[e>>2]=c[d>>2];c[e+4>>2]=j;e=f+8|0;j=g+8|0;c[e>>2]=0;d=f+12|0;c[d>>2]=0;c[f+16>>2]=0;c[e>>2]=c[j>>2];e=g+12|0;c[d>>2]=c[e>>2];d=g+16|0;c[f+16>>2]=c[d>>2];c[d>>2]=0;c[e>>2]=0;c[j>>2]=0;g=(c[a>>2]|0)+20|0;c[a>>2]=g;if((g|0)==(c[b>>2]|0))break;else f=f+20|0}return}while(0);g=c[d>>2]|0;if((g|0)==(c[e>>2]|0))return;while(1){a=g;j=c[a+4>>2]|0;b=f;c[b>>2]=c[a>>2];c[b+4>>2]=j;b=f+8|0;j=g+8|0;c[b>>2]=0;a=f+12|0;c[a>>2]=0;c[f+16>>2]=0;c[b>>2]=c[j>>2];b=g+12|0;c[a>>2]=c[b>>2];a=g+16|0;c[f+16>>2]=c[a>>2];c[a>>2]=0;c[b>>2]=0;c[j>>2]=0;g=(c[d>>2]|0)+20|0;c[d>>2]=g;if((g|0)==(c[e>>2]|0))break;else f=f+20|0}return}function kg(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;a:do if((a|0)!=(b|0)){while(1){if((d|0)==(e|0)){d=a;break}m=c[f>>2]|0;if((c[a>>2]|0)<(c[d>>2]|0)){g=d;l=c[g+4>>2]|0;k=m;c[k>>2]=c[g>>2];c[k+4>>2]=l;k=m+8|0;l=d+8|0;g=c[k>>2]|0;h=g;j=m+12|0;if(!g)g=m+16|0;else{i=c[j>>2]|0;if((i|0)!=(g|0))c[j>>2]=i+(~((i+-4-h|0)>>>2)<<2);Qt(g);g=m+16|0;c[g>>2]=0;c[j>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];m=d+12|0;c[j>>2]=c[m>>2];k=d+16|0;c[g>>2]=c[k>>2];c[k>>2]=0;c[m>>2]=0;c[l>>2]=0;d=d+20|0}else{g=a;l=c[g+4>>2]|0;k=m;c[k>>2]=c[g>>2];c[k+4>>2]=l;k=m+8|0;l=a+8|0;g=c[k>>2]|0;h=g;j=m+12|0;if(!g)g=m+16|0;else{i=c[j>>2]|0;if((i|0)!=(g|0))c[j>>2]=i+(~((i+-4-h|0)>>>2)<<2);Qt(g);g=m+16|0;c[g>>2]=0;c[j>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];m=a+12|0;c[j>>2]=c[m>>2];k=a+16|0;c[g>>2]=c[k>>2];c[k>>2]=0;c[m>>2]=0;c[l>>2]=0;a=a+20|0}c[f>>2]=(c[f>>2]|0)+20;if((a|0)==(b|0))break a}if((d|0)==(b|0))return;a=c[f>>2]|0;do{g=d;l=c[g+4>>2]|0;k=a;c[k>>2]=c[g>>2];c[k+4>>2]=l;k=a+8|0;l=d+8|0;g=c[k>>2]|0;h=g;j=a+12|0;if(!g)a=a+16|0;else{i=c[j>>2]|0;if((i|0)!=(g|0))c[j>>2]=i+(~((i+-4-h|0)>>>2)<<2);Qt(g);a=a+16|0;c[a>>2]=0;c[j>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];e=d+12|0;c[j>>2]=c[e>>2];m=d+16|0;c[a>>2]=c[m>>2];c[m>>2]=0;c[e>>2]=0;c[l>>2]=0;d=d+20|0;a=(c[f>>2]|0)+20|0;c[f>>2]=a}while((d|0)!=(b|0));return}while(0);if((d|0)==(e|0))return;a=c[f>>2]|0;do{g=d;l=c[g+4>>2]|0;k=a;c[k>>2]=c[g>>2];c[k+4>>2]=l;k=a+8|0;l=d+8|0;g=c[k>>2]|0;h=g;j=a+12|0;if(!g)a=a+16|0;else{i=c[j>>2]|0;if((i|0)!=(g|0))c[j>>2]=i+(~((i+-4-h|0)>>>2)<<2);Qt(g);a=a+16|0;c[a>>2]=0;c[j>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];b=d+12|0;c[j>>2]=c[b>>2];m=d+16|0;c[a>>2]=c[m>>2];c[m>>2]=0;c[b>>2]=0;c[l>>2]=0;d=d+20|0;a=(c[f>>2]|0)+20|0;c[f>>2]=a}while((d|0)!=(e|0));return}function lg(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;I=i;i=i+48|0;E=I+44|0;D=I+40|0;C=I+36|0;F=I+32|0;G=I+28|0;H=I+24|0;w=I+20|0;x=I+16|0;y=I+12|0;z=I+8|0;A=I+4|0;B=I;if((f|0)==0|(g|0)==0){i=I;return}u=c[b>>2]|0;k=u;a:while(1){m=c[k>>2]|0;l=c[a>>2]|0;while(1){if((c[l>>2]|0)<(m|0))break;l=l+20|0;c[a>>2]=l;f=f+-1|0;if(!f){m=32;break a}}t=l;if(!((g|0)>(j|0)&(f|0)>(j|0))){l=t;k=u;m=7;break}if((f|0)<(g|0)){s=(g|0)/2|0;n=u+(s*20|0)|0;m=n;if((u|0)!=(t|0)){q=c[n>>2]|0;r=l;p=(u-t|0)/20|0;while(1){v=(p|0)/2|0;o=r+(v*20|0)|0;n=(c[o>>2]|0)<(q|0);o=o+20|0;l=n?l:o;p=n?v:p+-1-v|0;if(!p)break;else r=n?r:o}}v=(l-t|0)/20|0}else{if((f|0)==1){m=14;break}s=(f|0)/2|0;n=l+(s*20|0)|0;l=n;o=c[d>>2]|0;m=u;if((o|0)!=(u|0)){q=c[n>>2]|0;r=m;p=(o-u|0)/20|0;while(1){v=(p|0)/2|0;o=r+(v*20|0)|0;n=(q|0)<(c[o>>2]|0);o=o+20|0;m=n?o:m;p=n?p+-1-v|0:v;if(!p)break;else r=n?o:r}}v=s;s=(m-u|0)/20|0}f=f-v|0;g=g-s|0;n=l;u=m;o=k;b:do if((n|0)!=(k|0))if((k|0)!=(u|0)){q=l;r=o;k=n;n=o;while(1){t=n;M=k;N=c[M>>2]|0;M=c[M+4>>2]|0;Q=k+8|0;K=c[Q>>2]|0;P=k+12|0;p=c[P>>2]|0;O=k+16|0;o=c[O>>2]|0;c[O>>2]=0;c[P>>2]=0;c[Q>>2]=0;L=n;R=L;n=c[R+4>>2]|0;J=k;c[J>>2]=c[R>>2];c[J+4>>2]=n;J=t+8|0;c[Q>>2]=c[J>>2];n=t+12|0;c[P>>2]=c[n>>2];k=t+16|0;c[O>>2]=c[k>>2];c[L>>2]=N;c[L+4>>2]=M;c[J>>2]=K;c[n>>2]=p;c[k>>2]=o;k=q+20|0;o=k;t=t+20|0;n=t;p=(k|0)==(r|0);if((t|0)==(u|0))break;q=o;r=p?n:r}if(!p){q=k;t=r;n=r;while(1){r=t;while(1){p=n;L=q;K=c[L>>2]|0;L=c[L+4>>2]|0;Q=q+8|0;N=c[Q>>2]|0;S=q+12|0;P=c[S>>2]|0;J=q+16|0;R=c[J>>2]|0;c[J>>2]=0;c[S>>2]=0;c[Q>>2]=0;M=n;T=M;n=c[T+4>>2]|0;O=q;c[O>>2]=c[T>>2];c[O+4>>2]=n;O=p+8|0;c[Q>>2]=c[O>>2];Q=p+12|0;c[S>>2]=c[Q>>2];n=p+16|0;c[J>>2]=c[n>>2];c[M>>2]=K;c[M+4>>2]=L;c[O>>2]=N;c[Q>>2]=P;c[n>>2]=R;q=o+20|0;o=q;n=p+20|0;p=(q|0)==(r|0);if((n|0)!=(u|0))break;if(p)break b;else n=t}t=p?n:t}}}else k=n;else k=u;while(0);c[b>>2]=k;if((v+s|0)<(f+g|0)){c[w>>2]=c[a>>2];c[x>>2]=l;c[y>>2]=k;c[C>>2]=c[w>>2];c[D>>2]=c[x>>2];c[E>>2]=c[y>>2];lg(C,D,E,e,v,s,h,j);c[a>>2]=k;l=m}else{c[z>>2]=k;c[A>>2]=m;c[B>>2]=c[d>>2];c[C>>2]=c[z>>2];c[D>>2]=c[A>>2];c[E>>2]=c[B>>2];lg(C,D,E,e,f,g,h,j);c[d>>2]=k;f=v;g=s}c[b>>2]=l;if((g|0)==0|(f|0)==0){m=32;break}else{k=l;u=l}}if((m|0)==7){c[F>>2]=l;c[G>>2]=k;c[H>>2]=c[d>>2];c[C>>2]=c[F>>2];c[D>>2]=c[G>>2];c[E>>2]=c[H>>2];mg(C,D,E,e,f,g,h);i=I;return}else if((m|0)==14){M=l;L=c[M>>2]|0;M=c[M+4>>2]|0;R=l+8|0;O=c[R>>2]|0;T=l+12|0;Q=c[T>>2]|0;N=l+16|0;S=c[N>>2]|0;c[N>>2]=0;c[T>>2]=0;c[R>>2]=0;J=k;K=c[J+4>>2]|0;P=l;c[P>>2]=c[J>>2];c[P+4>>2]=K;P=k+8|0;c[R>>2]=c[P>>2];R=k+12|0;c[T>>2]=c[R>>2];T=k+16|0;c[N>>2]=c[T>>2];N=k;c[N>>2]=L;c[N+4>>2]=M;c[P>>2]=O;c[R>>2]=Q;c[T>>2]=S;i=I;return}else if((m|0)==32){i=I;return}}function mg(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=i;i=i+128|0;C=E+120|0;B=E+112|0;A=E+104|0;z=E+96|0;D=E+88|0;y=E+80|0;k=E+72|0;l=E+68|0;q=E+64|0;r=E+60|0;s=E+56|0;t=E+8|0;u=E;v=E+40|0;w=E+32|0;x=E+24|0;n=E+16|0;o=E+48|0;p=h;if((f|0)>(g|0)){j=c[b>>2]|0;g=j;f=c[d>>2]|0;if((g|0)==(f|0)){m=0;g=h}else{f=g;m=0;g=h;while(1){r=j;j=c[r+4>>2]|0;s=g;c[s>>2]=c[r>>2];c[s+4>>2]=j;s=g+8|0;j=f+8|0;c[s>>2]=0;r=g+12|0;c[r>>2]=0;c[g+16>>2]=0;c[s>>2]=c[j>>2];s=f+12|0;c[r>>2]=c[s>>2];r=f+16|0;c[g+16>>2]=c[r>>2];c[r>>2]=0;c[s>>2]=0;c[j>>2]=0;m=m+1|0;j=f+20|0;g=g+20|0;f=c[d>>2]|0;if((j|0)==(f|0))break;else f=j}j=c[b>>2]|0}d=f;b=t;c[b>>2]=j;c[b+4>>2]=j;b=c[a>>2]|0;a=u;c[a>>2]=b;c[a+4>>2]=b;a=g;c[v>>2]=a;c[v+4>>2]=a;c[w>>2]=p;c[w+4>>2]=p;c[x>>2]=d;c[x+4>>2]=d;c[n>>2]=e;c[y>>2]=c[t>>2];c[y+4>>2]=c[t+4>>2];c[D>>2]=c[u>>2];c[D+4>>2]=c[u+4>>2];c[z>>2]=c[v>>2];c[z+4>>2]=c[v+4>>2];c[A>>2]=c[w>>2];c[A+4>>2]=c[w+4>>2];c[B>>2]=c[x>>2];c[B+4>>2]=c[x+4>>2];c[C>>2]=c[n>>2];og(o,y,D,z,A,B,C)}else{j=c[a>>2]|0;g=j;f=c[b>>2]|0;if((g|0)==(f|0)){m=0;g=h}else{f=g;m=0;g=h;while(1){x=j;j=c[x+4>>2]|0;y=g;c[y>>2]=c[x>>2];c[y+4>>2]=j;y=g+8|0;j=f+8|0;c[y>>2]=0;x=g+12|0;c[x>>2]=0;c[g+16>>2]=0;c[y>>2]=c[j>>2];y=f+12|0;c[x>>2]=c[y>>2];x=f+16|0;c[g+16>>2]=c[x>>2];c[x>>2]=0;c[y>>2]=0;c[j>>2]=0;m=m+1|0;j=f+20|0;g=g+20|0;f=c[b>>2]|0;if((j|0)==(f|0))break;else f=j}j=c[a>>2]|0}c[k>>2]=h;c[l>>2]=g;c[q>>2]=f;c[r>>2]=c[d>>2];c[s>>2]=j;c[D>>2]=c[k>>2];c[z>>2]=c[l>>2];c[A>>2]=c[q>>2];c[B>>2]=c[r>>2];c[C>>2]=c[s>>2];ng(D,z,A,B,C,e)|0}if((h|0)==0|(m|0)==0){i=E;return}else{f=m;l=0}while(1){k=c[h+8>>2]|0;j=k;if(k){f=h+12|0;g=c[f>>2]|0;if((g|0)!=(k|0))c[f>>2]=g+(~((g+-4-j|0)>>>2)<<2);Qt(k);f=m}l=l+1|0;if(l>>>0>=f>>>0)break;else h=h+20|0}i=E;return}function ng(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=c[a>>2]|0;o=c[b>>2]|0;h=c[d>>2]|0;p=c[e>>2]|0;a:do if((g|0)==(o|0))g=c[f>>2]|0;else{while(1){if((h|0)==(p|0))break;n=c[f>>2]|0;if((c[g>>2]|0)<(c[h>>2]|0)){e=h;m=c[e+4>>2]|0;l=n;c[l>>2]=c[e>>2];c[l+4>>2]=m;l=n+8|0;m=h+8|0;e=c[l>>2]|0;i=e;k=n+12|0;if(!e)e=n+16|0;else{j=c[k>>2]|0;if((j|0)!=(e|0))c[k>>2]=j+(~((j+-4-i|0)>>>2)<<2);Qt(e);e=n+16|0;c[e>>2]=0;c[k>>2]=0;c[l>>2]=0}c[l>>2]=c[m>>2];l=h+12|0;c[k>>2]=c[l>>2];k=h+16|0;c[e>>2]=c[k>>2];c[k>>2]=0;c[l>>2]=0;c[m>>2]=0;h=h+20|0;c[d>>2]=h;e=g}else{h=g;l=c[h+4>>2]|0;k=n;c[k>>2]=c[h>>2];c[k+4>>2]=l;k=n+8|0;l=g+8|0;h=c[k>>2]|0;e=h;j=n+12|0;if(!h)h=n+16|0;else{i=c[j>>2]|0;if((i|0)!=(h|0))c[j>>2]=i+(~((i+-4-e|0)>>>2)<<2);Qt(h);h=n+16|0;c[h>>2]=0;c[j>>2]=0;c[k>>2]=0}c[k>>2]=c[l>>2];e=g+12|0;c[j>>2]=c[e>>2];m=g+16|0;c[h>>2]=c[m>>2];c[m>>2]=0;c[e>>2]=0;c[l>>2]=0;e=g+20|0;c[a>>2]=e;h=c[d>>2]|0}g=n+20|0;c[f>>2]=g;if((e|0)==(o|0))break a;else g=e}h=c[a>>2]|0;n=c[b>>2]|0;g=c[f>>2]|0;if((h|0)==(n|0)){p=g;return p|0}do{e=h;m=c[e+4>>2]|0;l=g;c[l>>2]=c[e>>2];c[l+4>>2]=m;l=g+8|0;m=h+8|0;e=c[l>>2]|0;i=e;k=g+12|0;if(!e)e=g+16|0;else{j=c[k>>2]|0;if((j|0)!=(e|0))c[k>>2]=j+(~((j+-4-i|0)>>>2)<<2);Qt(e);e=g+16|0;c[e>>2]=0;c[k>>2]=0;c[l>>2]=0}c[l>>2]=c[m>>2];p=h+12|0;c[k>>2]=c[p>>2];f=h+16|0;c[e>>2]=c[f>>2];c[f>>2]=0;c[p>>2]=0;c[m>>2]=0;h=h+20|0;g=g+20|0}while((h|0)!=(n|0));return g|0}while(0);if((h|0)==(p|0)){p=g;return p|0}do{e=h;m=c[e+4>>2]|0;l=g;c[l>>2]=c[e>>2];c[l+4>>2]=m;l=g+8|0;m=h+8|0;e=c[l>>2]|0;i=e;k=g+12|0;if(!e)e=g+16|0;else{j=c[k>>2]|0;if((j|0)!=(e|0))c[k>>2]=j+(~((j+-4-i|0)>>>2)<<2);Qt(e);e=g+16|0;c[e>>2]=0;c[k>>2]=0;c[l>>2]=0}c[l>>2]=c[m>>2];f=h+12|0;c[k>>2]=c[f>>2];b=h+16|0;c[e>>2]=c[b>>2];c[b>>2]=0;c[f>>2]=0;c[m>>2]=0;h=h+20|0;g=g+20|0}while((h|0)!=(p|0));return g|0}function og(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;r=b+4|0;h=c[r>>2]|0;s=c[d+4>>2]|0;a:do if((h|0)!=(s|0)){t=e+4|0;u=c[f+4>>2]|0;v=g+4|0;i=c[t>>2]|0;while(1){if((i|0)==(u|0))break;k=i+-20|0;q=h+-20|0;j=c[v>>2]|0;l=j+-20|0;if((c[q>>2]|0)<(c[k>>2]|0)){k=q;p=c[k+4>>2]|0;o=l;c[o>>2]=c[k>>2];c[o+4>>2]=p;o=j+-12|0;p=h+-12|0;k=c[o>>2]|0;l=k;n=j+-8|0;if(!k)k=j+-4|0;else{m=c[n>>2]|0;if((m|0)!=(k|0))c[n>>2]=m+(~((m+-4-l|0)>>>2)<<2);Qt(k);k=j+-4|0;c[k>>2]=0;c[n>>2]=0;c[o>>2]=0}c[o>>2]=c[p>>2];o=h+-8|0;c[n>>2]=c[o>>2];h=h+-4|0;c[k>>2]=c[h>>2];c[h>>2]=0;c[o>>2]=0;c[p>>2]=0;c[r>>2]=q;h=q}else{h=k;o=c[h+4>>2]|0;n=l;c[n>>2]=c[h>>2];c[n+4>>2]=o;n=j+-12|0;o=i+-12|0;h=c[n>>2]|0;k=h;m=j+-8|0;if(!h)h=j+-4|0;else{l=c[m>>2]|0;if((l|0)!=(h|0))c[m>>2]=l+(~((l+-4-k|0)>>>2)<<2);Qt(h);h=j+-4|0;c[h>>2]=0;c[m>>2]=0;c[n>>2]=0}c[n>>2]=c[o>>2];j=i+-8|0;c[m>>2]=c[j>>2];i=i+-4|0;c[h>>2]=c[i>>2];c[i>>2]=0;c[j>>2]=0;c[o>>2]=0;i=(c[t>>2]|0)+-20|0;c[t>>2]=i;j=c[v>>2]|0;h=c[r>>2]|0}c[v>>2]=j+-20;if((h|0)==(s|0))break a}h=g;s=c[h>>2]|0;h=c[h+4>>2]|0;i=c[b+4>>2]|0;r=c[d+4>>2]|0;if((i|0)!=(r|0))while(1){n=h+-20|0;o=i;i=i+-20|0;j=i;q=c[j+4>>2]|0;p=n;c[p>>2]=c[j>>2];c[p+4>>2]=q;p=h+-12|0;q=o+-12|0;j=c[p>>2]|0;k=j;m=h+-8|0;if(!j)h=h+-4|0;else{l=c[m>>2]|0;if((l|0)!=(j|0))c[m>>2]=l+(~((l+-4-k|0)>>>2)<<2);Qt(j);h=h+-4|0;c[h>>2]=0;c[m>>2]=0;c[p>>2]=0}c[p>>2]=c[q>>2];f=o+-8|0;c[m>>2]=c[f>>2];d=o+-4|0;c[h>>2]=c[d>>2];c[d>>2]=0;c[f>>2]=0;c[q>>2]=0;if((i|0)==(r|0)){h=n;break}else h=n}c[a>>2]=s;c[a+4>>2]=h;return}while(0);h=g;s=c[h>>2]|0;h=c[h+4>>2]|0;i=c[e+4>>2]|0;r=c[f+4>>2]|0;if((i|0)!=(r|0))while(1){n=h+-20|0;o=i;i=i+-20|0;j=i;q=c[j+4>>2]|0;p=n;c[p>>2]=c[j>>2];c[p+4>>2]=q;p=h+-12|0;q=o+-12|0;j=c[p>>2]|0;k=j;m=h+-8|0;if(!j)h=h+-4|0;else{l=c[m>>2]|0;if((l|0)!=(j|0))c[m>>2]=l+(~((l+-4-k|0)>>>2)<<2);Qt(j);h=h+-4|0;c[h>>2]=0;c[m>>2]=0;c[p>>2]=0}c[p>>2]=c[q>>2];f=o+-8|0;c[m>>2]=c[f>>2];d=o+-4|0;c[h>>2]=c[d>>2];c[d>>2]=0;c[f>>2]=0;c[q>>2]=0;if((i|0)==(r|0)){h=n;break}else h=n}c[a>>2]=s;c[a+4>>2]=h;return}function pg(a){a=a|0;Xf(a);return}function qg(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;b=i;i=i+112|0;a=b;Vj(a,16021,5);d=a+12|0;Vj(d,16027,8);e=a+24|0;Vj(e,16036,6);f=a+36|0;Vj(f,16043,10);g=a+48|0;Vj(g,16054,5);h=a+60|0;Vj(h,16060,13);j=a+72|0;Vj(j,16074,11);k=a+84|0;Vj(k,16086,5);l=a+96|0;Vj(l,16092,10);m=pu(108)|0;c[302396]=m;c[302395]=m;c[302397]=m+108;Uj(m,a);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,d);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,e);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,f);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,g);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,h);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,j);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,k);m=(c[302396]|0)+12|0;c[302396]=m;Uj(m,l);c[302396]=(c[302396]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(a);c[262172]=0;a=1048616;d=a+64|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));c[262175]=0;c[262176]=0;c[262177]=0;c[262178]=0;c[262179]=0;c[262180]=0;c[262181]=0;c[262174]=128;c[262173]=128;i=b;return}function rg(){var a=0,b=0.0,d=0,e=0,f=0,g=0;e=1;do{b=+Y(+(+(e|0)));f=1;do{a=~~+Eu(+(b*+Y(+(+(f|0)))*.5));d=1144044+(e<<8)+(f<<2)|0;c[d>>2]=a;g=a+-1|0;c[1176812+(e<<8)+(f<<2)>>2]=(g|0)<0?0:g;if((a|0)>1)c[d>>2]=a+1;f=f+1|0}while((f|0)!=64);e=e+1|0}while((e|0)!=64);a=1;do{b=+Y(+(+(a|0)));d=1;do{g=~~+Eu(+(b*+Y(+(+(d|0)))*.5));c[1160428+(a<<8)+(d<<2)>>2]=g;g=g+-1|0;c[1193196+(a<<8)+(d<<2)>>2]=(g|0)<0?0:g;d=d+1|0}while((d|0)!=64);a=a+1|0}while((a|0)!=64);a=0;do{b=+(a|0);c[1143916+(a<<2)>>2]=~~(+P(+b,1.8)*.773+2.4);c[1143980+(a<<2)>>2]=~~(+P(+(b+.49),1.8)*1.045+2.9);a=a+1|0}while((a|0)!=16);return}function sg(){var b=0,d=0,e=0;Lg(1209632);b=c[302398]|0;d=c[302399]|0;if((b|0)!=(d|0)){do{e=c[b>>2]|0;xu(e+5552|0,0,4235264)|0;a[e+5548>>0]=1;b=b+4|0}while((b|0)!=(d|0));d=c[302399]|0;b=c[302398]|0}if((d|0)==(b|0))Ms(1209592);else{c[(c[b>>2]|0)+4240832>>2]=32001;return}}function tg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c[b>>2]=6068;k=b+8|0;Pj(k);a[b+84>>0]=1;l=b+36|0;ij(l);Qj(k);m=b+4|0;Jk(m);i=b+5528|0;d=c[i>>2]|0;if(d|0){j=b+5532|0;e=c[j>>2]|0;if((e|0)!=(d|0)){f=e;while(1){e=f+-20|0;c[j>>2]=e;g=c[f+-12>>2]|0;h=g;if(g){e=f+-8|0;f=c[e>>2]|0;if((f|0)!=(g|0))c[e>>2]=f+(~((f+-4-h|0)>>>2)<<2);Qt(g);e=c[j>>2]|0}if((e|0)==(d|0))break;else f=e}d=c[i>>2]|0}Qt(d)}ug(b+124|0,c[b+128>>2]|0);vg(b+112|0,c[b+116>>2]|0);d=c[b+100>>2]|0;e=d;if(d|0){f=b+104|0;g=c[f>>2]|0;if((g|0)!=(d|0))c[f>>2]=g+(~((g+-32-e|0)>>>5)<<5);Qt(d)}f=c[b+88>>2]|0;if(!f){hj(l);Oj(k);Ik(m);return}d=b+92|0;e=c[d>>2]|0;if((e|0)!=(f|0))c[d>>2]=e+(~(((e+-120-f|0)>>>0)/120|0)*120|0);Qt(f);hj(l);Oj(k);Ik(m);return}function ug(a,b){a=a|0;b=b|0;var d=0;if(!b)return;ug(a,c[b>>2]|0);ug(a,c[b+4>>2]|0);d=b+24|0;a=c[d>>2]|0;c[d>>2]=0;if(a|0)zb[c[(c[a>>2]|0)+4>>2]&255](a);Qt(b);return}function vg(a,b){a=a|0;b=b|0;var d=0;if(!b)return;vg(a,c[b>>2]|0);vg(a,c[b+4>>2]|0);d=b+24|0;a=c[d>>2]|0;c[d>>2]=0;if(a|0)zb[c[(c[a>>2]|0)+4>>2]&255](a);Qt(b);return}function wg(a){a=a|0;tg(a);Qt(a);return}function xg(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[302403]=m;c[302402]=m;c[302404]=m+108;Uj(m,b);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,d);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,e);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,f);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,g);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,h);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,j);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,k);m=(c[302403]|0)+12|0;c[302403]=m;Uj(m,l);c[302403]=(c[302403]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);c[302398]=0;c[302399]=0;c[302400]=0;c[302401]=0;i=a;return}function yg(b){b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;f=g;e=b+8|0;c[f>>2]=e;d=f+4|0;a[d>>0]=1;Pj(e);e=b+36|0;b=b+85|0;if(a[b>>0]|0){do jj(e,f);while((a[b>>0]|0)!=0);if(!(a[d>>0]|0)){i=g;return}}Qj(c[f>>2]|0);i=g;return}function zg(b,c){b=b|0;c=c|0;var d=0;d=b+8|0;Pj(d);if(!c)a[b+85>>0]=1;ij(b+36|0);Qj(d);return}function Ag(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+16|0;h=k;j=pu(4240840)|0;c[j>>2]=6068;e=j+88|0;g=j+92|0;d=j+4|0;f=d+80|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));d=pu(1966080)|0;c[g>>2]=d;c[e>>2]=d;c[j+96>>2]=d+1966080;e=16384;do{f=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));d=(c[g>>2]|0)+120|0;c[g>>2]=d;e=e+-1|0}while((e|0)!=0);e=j+104|0;f=pu(262144)|0;c[e>>2]=f;c[j+100>>2]=f;c[j+108>>2]=f+262144;d=8192;do{c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;f=(c[e>>2]|0)+32|0;c[e>>2]=f;d=d+-1|0}while((d|0)!=0);ec(j+112|0);c[j+5528>>2]=0;c[j+5532>>2]=0;c[j+5536>>2]=0;a[j+84>>0]=0;a[j+5548>>0]=0;c[j+148>>2]=0;c[j+144>>2]=0;xu(j+5552|0,0,8192)|0;c[j+136>>2]=(c[302399]|0)-(c[302398]|0)>>2;a[j+85>>0]=0;c[j>>2]=5868;c[h>>2]=j;d=b+4|0;e=c[d>>2]|0;if(e>>>0<(c[b+8>>2]|0)>>>0){c[e>>2]=j;c[d>>2]=(c[d>>2]|0)+4;Cg(b);i=k;return}else{Bg(b,h);Cg(b);i=k;return}}function Bg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;j=c[a>>2]|0;d=((c[i>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)Ls(a);k=a+8|0;e=(c[k>>2]|0)-j|0;if(e>>2>>>0<536870911){f=e>>1;d=f>>>0<d>>>0?d:f;f=c[i>>2]|0;e=f-j>>2;if(!d){h=0;g=0;d=f}else l=6}else{e=c[i>>2]|0;d=1073741823;f=e;e=e-j>>2;l=6}if((l|0)==6){h=d;g=pu(d<<2)|0;d=f}l=g+(e<<2)|0;c[l>>2]=c[b>>2];f=d-j|0;b=l+(0-(f>>2)<<2)|0;Bu(b|0,j|0,f|0)|0;c[a>>2]=b;c[i>>2]=l+4;c[k>>2]=g+(h<<2);if(!j)return;Qt(j);return}function Cg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;m=n+4|0;k=n;Vj(m,16117,7);l=eh(Zd(1209784,m)|0)|0;Zj(m);m=b+4|0;f=c[m>>2]|0;e=c[b>>2]|0;d=f;if(f-e>>2>>>0<l>>>0){j=b+8|0;do{h=pu(4240816)|0;c[h>>2]=6068;e=h+88|0;g=h+92|0;d=h+4|0;f=d+80|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));d=pu(1966080)|0;c[g>>2]=d;c[e>>2]=d;c[h+96>>2]=d+1966080;e=16384;do{f=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));d=(c[g>>2]|0)+120|0;c[g>>2]=d;e=e+-1|0}while((e|0)!=0);e=h+104|0;f=pu(262144)|0;c[e>>2]=f;c[h+100>>2]=f;c[h+108>>2]=f+262144;d=8192;do{c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;f=(c[e>>2]|0)+32|0;c[e>>2]=f;d=d+-1|0}while((d|0)!=0);ec(h+112|0);c[h+5528>>2]=0;c[h+5532>>2]=0;c[h+5536>>2]=0;a[h+84>>0]=0;a[h+5548>>0]=0;c[h+148>>2]=0;c[h+144>>2]=0;xu(h+5552|0,0,8192)|0;c[h+136>>2]=(c[302399]|0)-(c[302398]|0)>>2;a[h+85>>0]=0;c[k>>2]=h;d=c[m>>2]|0;if(d>>>0<(c[j>>2]|0)>>>0){c[d>>2]=h;d=(c[m>>2]|0)+4|0;c[m>>2]=d;f=d}else{Bg(b,k);d=c[m>>2]|0;f=d}e=c[b>>2]|0}while(f-e>>2>>>0<l>>>0)}if(f-e>>2>>>0>l>>>0)f=d;else{i=n;return}do{d=c[f+-4>>2]|0;if(!d)d=f;else{zb[c[(c[d>>2]|0)+4>>2]&255](d);d=c[m>>2]|0;e=c[b>>2]|0}f=d+-4|0;c[m>>2]=f}while(f-e>>2>>>0>l>>>0);i=n;return}function Dg(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;e=c[a+4>>2]|0;if((d|0)==(e|0)){d=0;e=0;C=d;return e|0}else{a=0;b=0}do{f=(c[d>>2]|0)+5496|0;a=yu(c[f>>2]|0,c[f+4>>2]|0,a|0,b|0)|0;b=C;d=d+4|0}while((d|0)!=(e|0));C=b;return a|0}function Eg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;B=i;i=i+5680|0;A=B+5664|0;k=B+1564|0;u=B;y=B+24|0;x=B+1552|0;a[1213340]=0;a[1213344]=0;if((f|0)!=1048616)Fg(1048616,c[f>>2]|0,c[f+4>>2]|0);g=1048628;h=f+12|0;j=g+100|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));c[A>>2]=0;z=A+4|0;c[z>>2]=0;c[A+8>>2]=0;m=Qe(d,k)|0;c[k+4096>>2]=m;if((k|0)!=(m|0)){n=f+4|0;o=u+4|0;p=u+8|0;q=u+12|0;r=u+16|0;s=A+8|0;t=u+8|0;do{g=c[f>>2]|0;j=c[n>>2]|0;l=c[k>>2]|0;if((g|0)!=(j|0)){h=g;g=0;do{g=((c[h>>2]|0)==(l|0)&1)+g|0;h=h+4|0}while((h|0)!=(j|0));if(g|0)v=9}else v=9;do if((v|0)==9){v=0;c[u>>2]=-32001;c[o>>2]=-32001;j=pu(4)|0;c[p>>2]=j;h=j+4|0;c[r>>2]=h;c[j>>2]=l;c[q>>2]=h;g=c[z>>2]|0;if(g>>>0<(c[s>>2]|0)>>>0){D=u;C=c[D+4>>2]|0;l=g;c[l>>2]=c[D>>2];c[l+4>>2]=C;c[g+8>>2]=j;c[g+12>>2]=h;c[g+16>>2]=h;c[r>>2]=0;c[q>>2]=0;c[p>>2]=0;c[z>>2]=(c[z>>2]|0)+20;break}Qf(A,u);g=c[t>>2]|0;h=g;if(g|0){j=c[q>>2]|0;if((j|0)!=(g|0))c[q>>2]=j+(~((j+-4-h|0)>>>2)<<2);Qt(g)}}while(0);k=k+8|0}while((k|0)!=(m|0))}g=c[e>>2]|0;if(g|0?(D=b+12|0,c[e>>2]=0,w=c[D>>2]|0,c[D>>2]=g,w|0):0){p=w+4|0;h=c[p>>2]|0;o=w+16|0;g=c[o>>2]|0;j=h+(g>>>4<<2)|0;q=w+8|0;D=c[q>>2]|0;m=D;n=h;if((D|0)==(h|0)){g=0;k=0;l=w+20|0}else{l=w+20|0;k=(c[l>>2]|0)+g|0;g=(c[j>>2]|0)+((g&15)*1528|0)|0;k=(c[h+(k>>>4<<2)>>2]|0)+((k&15)*1528|0)|0}a:while(1){do{if((g|0)==(k|0))break a;g=g+1528|0}while((g-(c[j>>2]|0)|0)!=24448);g=j+4|0;j=g;g=c[g>>2]|0}c[l>>2]=0;g=m-n>>2;if(g>>>0>2)do{Qt(c[h>>2]|0);h=(c[p>>2]|0)+4|0;c[p>>2]=h;g=(c[q>>2]|0)-h>>2}while(g>>>0>2);switch(g|0){case 1:{c[o>>2]=8;break}case 2:{c[o>>2]=16;break}default:{}}g=c[p>>2]|0;h=c[q>>2]|0;if((g|0)!=(h|0)){do{Qt(c[g>>2]|0);g=g+4|0}while((g|0)!=(h|0));g=c[p>>2]|0;h=c[q>>2]|0;if((h|0)!=(g|0))c[q>>2]=h+(~((h+-4-g|0)>>>2)<<2)}g=c[w>>2]|0;if(g|0)Qt(g);Qt(w)}n=b+12|0;g=c[n>>2]|0;j=c[g+20>>2]|0;h=c[g+16>>2]|0;k=j+-1+h|0;g=c[g+4>>2]|0;Bu(y|0,(c[g+(k>>>4<<2)>>2]|0)+((k&15)*1528|0)|0,1528)|0;k=c[302398]|0;o=c[302399]|0;if((k|0)!=(o|0)){l=d+5360|0;m=d+5364|0;j=k;do{g=c[j>>2]|0;c[g+144>>2]=0;c[g+5540>>2]=0;h=g+5528|0;if((h|0)!=(A|0))Gg(h,c[A>>2]|0,c[z>>2]|0);ef(x,d);C=c[n>>2]|0;D=(c[C+20>>2]|0)+-1+(c[C+16>>2]|0)|0;lf(g+160|0,x,(a[l>>0]|0)!=0,c[m>>2]|0,(c[(c[C+4>>2]|0)+(D>>>4<<2)>>2]|0)+((D&15)*1528|0)|0,g)|0;Zj(x);j=j+4|0}while((j|0)!=(o|0));g=c[n>>2]|0;j=c[g+20>>2]|0;h=c[g+16>>2]|0;g=c[g+4>>2]|0}D=j+-1+h|0;Bu((c[g+(D>>>4<<2)>>2]|0)+((D&15)*1528|0)|0,y|0,1528)|0;g=c[b>>2]|0;if((c[b+4>>2]|0)==(g|0))Ms(b);g=c[g>>2]|0;zb[c[(c[g>>2]|0)+8>>2]&255](g);g=c[A>>2]|0;if(!g){i=B;return}h=c[z>>2]|0;if((h|0)!=(g|0)){do{j=h+-20|0;c[z>>2]=j;k=c[h+-12>>2]|0;l=k;if(!k)h=j;else{h=h+-8|0;j=c[h>>2]|0;if((j|0)!=(k|0))c[h>>2]=j+(~((j+-4-l|0)>>>2)<<2);Qt(k);h=c[z>>2]|0}}while((h|0)!=(g|0));g=c[A>>2]|0}Qt(g);i=B;return}function Fg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=b;h=d-m>>2;j=a+8|0;e=c[j>>2]|0;l=c[a>>2]|0;k=l;if(h>>>0<=e-l>>2>>>0){j=a+4|0;i=(c[j>>2]|0)-l>>2;a=h>>>0>i>>>0;i=b+(i<<2)|0;f=a?i:d;h=f;e=h-m|0;Du(l|0,b|0,e|0)|0;e=k+(e>>2<<2)|0;if(!a){b=c[j>>2]|0;if((b|0)==(e|0))return;c[j>>2]=b+(~((b+-4-e|0)>>>2)<<2);return}if((f|0)==(d|0))return;g=c[j>>2]|0;f=(d+-4-h|0)>>>2;b=i;e=g;while(1){c[e>>2]=c[b>>2];b=b+4|0;if((b|0)==(d|0))break;else e=e+4|0}c[j>>2]=g+(f+1<<2);return}g=l;if(l){e=a+4|0;f=c[e>>2]|0;if((f|0)!=(k|0))c[e>>2]=f+(~((f+-4-l|0)>>>2)<<2);Qt(g);c[j>>2]=0;c[e>>2]=0;c[a>>2]=0;e=0}if(h>>>0>1073741823)Ls(a);e=e-0|0;if(e>>2>>>0<536870911){e=e>>1;e=e>>>0<h>>>0?h:e;if(e>>>0>1073741823)Ls(a);else i=e}else i=1073741823;g=pu(i<<2)|0;h=a+4|0;c[h>>2]=g;c[a>>2]=g;c[j>>2]=g+(i<<2);if((b|0)==(d|0))return;f=(d+-4-m|0)>>>2;e=g;while(1){c[e>>2]=c[b>>2];b=b+4|0;if((b|0)==(d|0))break;else e=e+4|0}c[h>>2]=g+(f+1<<2);return}function Gg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=(d-b|0)/20|0;t=a+8|0;o=c[t>>2]|0;e=c[a>>2]|0;q=e;if(r>>>0<=((o-e|0)/20|0)>>>0){p=a+4|0;j=((c[p>>2]|0)-e|0)/20|0;i=r>>>0>j>>>0;j=b+(j*20|0)|0;h=i?j:d;if((h|0)==(b|0))k=q;else{g=b;f=q;do{l=g;m=c[l+4>>2]|0;n=f;c[n>>2]=c[l>>2];c[n+4>>2]=m;if((f|0)!=(g|0))Fg(f+8|0,c[g+8>>2]|0,c[g+12>>2]|0);g=g+20|0;f=f+20|0}while((g|0)!=(h|0));k=f}if(!i){e=c[p>>2]|0;if((e|0)==(k|0))return;do{f=e+-20|0;c[p>>2]=f;g=c[e+-12>>2]|0;h=g;if(!g)e=f;else{e=e+-8|0;f=c[e>>2]|0;if((f|0)!=(g|0))c[e>>2]=f+(~((f+-4-h|0)>>>2)<<2);Qt(g);e=c[p>>2]|0}}while((e|0)!=(k|0));return}if((h|0)==(d|0))return;g=c[p>>2]|0;while(1){m=j;h=c[m+4>>2]|0;n=g;c[n>>2]=c[m>>2];c[n+4>>2]=h;n=g+8|0;h=j+8|0;c[n>>2]=0;m=g+12|0;c[m>>2]=0;c[g+16>>2]=0;k=j+12|0;f=(c[k>>2]|0)-(c[h>>2]|0)|0;i=f>>2;if(i|0){if(i>>>0>1073741823){f=11;break}l=pu(f)|0;c[m>>2]=l;c[n>>2]=l;c[g+16>>2]=l+(i<<2);i=c[h>>2]|0;g=c[k>>2]|0;if((i|0)!=(g|0)){f=i;h=l;while(1){c[h>>2]=c[f>>2];f=f+4|0;if((f|0)==(g|0))break;else h=h+4|0}c[m>>2]=l+(((g+-4-i|0)>>>2)+1<<2)}}g=(c[p>>2]|0)+20|0;c[p>>2]=g;j=j+20|0;if((j|0)==(d|0)){f=45;break}}if((f|0)==11)Ls(n);else if((f|0)==45)return}if(!e)e=o;else{i=a+4|0;f=c[i>>2]|0;if((f|0)!=(q|0)){while(1){e=f+-20|0;c[i>>2]=e;g=c[f+-12>>2]|0;h=g;if(g){e=f+-8|0;f=c[e>>2]|0;if((f|0)!=(g|0))c[e>>2]=f+(~((f+-4-h|0)>>>2)<<2);Qt(g);e=c[i>>2]|0}if((e|0)==(q|0))break;else f=e}e=c[a>>2]|0}Qt(e);c[t>>2]=0;c[i>>2]=0;c[a>>2]=0;e=0}g=r>>>0>214748364;if(g)Ls(a);e=(e-0|0)/20|0;if(e>>>0<107374182){f=e<<1;e=f>>>0>=r>>>0;if(e|g^1)s=e?f:r;else Ls(a)}else s=214748364;e=pu(s*20|0)|0;m=a+4|0;c[m>>2]=e;c[a>>2]=e;c[t>>2]=e+(s*20|0);if((b|0)==(d|0))return;while(1){k=b;g=c[k+4>>2]|0;l=e;c[l>>2]=c[k>>2];c[l+4>>2]=g;l=e+8|0;g=b+8|0;c[l>>2]=0;k=e+12|0;c[k>>2]=0;c[e+16>>2]=0;i=b+12|0;f=(c[i>>2]|0)-(c[g>>2]|0)|0;h=f>>2;if(h|0){if(h>>>0>1073741823){f=40;break}j=pu(f)|0;c[k>>2]=j;c[l>>2]=j;c[e+16>>2]=j+(h<<2);h=c[g>>2]|0;f=c[i>>2]|0;if((h|0)!=(f|0)){e=h;g=j;while(1){c[g>>2]=c[e>>2];e=e+4|0;if((e|0)==(f|0))break;else g=g+4|0}c[k>>2]=j+(((f+-4-h|0)>>>2)+1<<2)}}e=(c[m>>2]|0)+20|0;c[m>>2]=e;b=b+20|0;if((b|0)==(d|0)){f=45;break}}if((f|0)==40)Ls(l);else if((f|0)==45)return}function Hg(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[302406]=m;c[302405]=m;c[302407]=m+108;Uj(m,b);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,d);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,e);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,f);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,g);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,h);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,j);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,k);m=(c[302406]|0)+12|0;c[302406]=m;Uj(m,l);c[302406]=(c[302406]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Ig(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0.0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0;w=i;i=i+64|0;v=w+48|0;n=w+36|0;g=w+24|0;s=w+12|0;t=w;Vj(v,16195,21);u=eh(Zd(1209784,v)|0)|0;Zj(v);Vj(n,16181,13);v=eh(Zd(1209784,n)|0)|0;Zj(n);Vj(g,16217,10);n=eh(Zd(1209784,g)|0)|0;Zj(g);Vj(s,16228,9);g=eh(Zd(1209784,s)|0)|0;Zj(s);if(!g)h=b+12+(d<<2)|0;else{s=a;f=c[s>>2]|0;h=b+12+(d<<2)|0;if((f|0)==0&(c[s+4>>2]|0)==0){f=_(c[h>>2]|0,g)|0;s=a;c[s>>2]=f;c[s+4>>2]=((f|0)<0)<<31>>31}c[h>>2]=f;s=b+20+(d<<2)|0;c[s>>2]=_(c[s>>2]|0,g)|0;c[b+28>>2]=g}r=b+64|0;s=c[r+4>>2]|0;l=a+8|0;c[l>>2]=c[r>>2];c[l+4>>2]=s;l=c[h>>2]|0;l=(l|0)<(u|0)?u:l;s=a+20|0;c[s>>2]=l;r=a+16|0;c[r>>2]=l;f=b+32|0;g=c[f>>2]|0;if(g){f=c[((g|0)>50?6080:f)>>2]|0;if((f|0)>=1)m=9}else{f=50;m=9}if((m|0)==9){q=b+20+(d<<2)|0;o=+(n|0)*(+P(+(+X(+((+(e|0)+-58.4)/7.64))+1.0),-.183)+2.2250738585072014e-308)/100.0;p=o*7.09;m=l;b=l;d=1;while(1){a=_(c[q>>2]|0,d+-1|0)|0;a=(c[h>>2]|0)-(_(((d|0)>40?40:d)+2|0,v)|0)+a|0;a=(a|0)<0?0:a;l=(d|0)>1;if(l){g=1;j=0.0;do{j=j+(+P(+(+X(+((+((g<<1)+e|0)+-58.4)/7.64))+1.0),-.183)+2.2250738585072014e-308);g=g+1|0}while((g|0)!=(d|0))}else j=0.0;k=o+j;x=o/k;j=(o+j*0.0)/k;k=+(a|0);a=~~(k*(j<x?j:x))+u|0;if(l){g=1;j=0.0;do{j=j+(+P(+(+X(+((+((g<<1)+e|0)+-58.4)/7.64))+1.0),-.183)+2.2250738585072014e-308);g=g+1|0}while((g|0)!=(d|0))}else j=0.0;x=p/(p+j);j=(o+j*.35)/(o+j);n=~~(k*(j<x?j:x))+u|0;m=(m|0)<(a|0)?m:a;c[r>>2]=m;b=(b|0)<(n|0)?b:n;c[s>>2]=b;if((d|0)==(f|0))break;else d=d+1|0}}Vj(t,16148,6);e=(eh(Zd(1209784,t)|0)|0)==0;Zj(t);if(e){i=w;return}e=c[r>>2]|0;c[r>>2]=((e|0)/4|0)+e;i=w;return}function Jg(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[302413]=m;c[302412]=m;c[302414]=m+108;Uj(m,b);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,d);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,e);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,f);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,g);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,h);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,j);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,k);m=(c[302413]|0)+12|0;c[302413]=m;Uj(m,l);c[302413]=(c[302413]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Kg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=i;i=i+16|0;e=f;d=Fu(b<<15&134184960|0,0,0)|0;d=1<<63-d;if((d|0)==(c[a>>2]|0)){i=f;return}c[a>>2]=d;g=a+8|0;cj(c[g>>2]|0);d=dj((c[a>>2]<<5)+63|0,1)|0;c[g>>2]=d;if(!d){g=Td(_l(Td(1210536,15274,19)|0,b)|0,15294,27)|0;c[e>>2]=Nl(g+(c[(c[g>>2]|0)+-12>>2]|0)|0)|0;b=sm(e,1211488)|0;b=Jb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;Et(e);cm(g,b)|0;Sl(g)|0;qb(1)}c[a+4>>2]=d+63&-64;i=f;return}function Lg(a){a=a|0;xu(c[a+4>>2]|0,0,c[a>>2]<<5|0)|0;return}function Mg(e,f,g,h){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;m=(c[e>>2]|0)+-1&f;n=c[e+4>>2]|0;l=n+(m<<5)|0;k=zu(f|0,g|0,48)|0;f=b[l>>1]|0;g=f<<16>>16==0;if(!(g|(f&65535|0)==(k|0))){j=n+(m<<5)+10|0;f=b[j>>1]|0;g=f<<16>>16==0;if(!(g|(f&65535|0)==(k|0))){g=n+(m<<5)+20|0;f=b[g>>1]|0;i=f<<16>>16==0;if(i|(f&65535|0)==(k|0)){o=g;l=g;k=i;g=2}else{o=(d[e+12>>0]|0)+259|0;e=((a[n+(m<<5)+9>>0]|0)-(o-(d[n+(m<<5)+8>>0]|0)<<1&504)|0)>((a[n+(m<<5)+19>>0]|0)-(o-(d[n+(m<<5)+18>>0]|0)<<1&504)|0)?j:l;e=((a[e+9>>0]|0)-(o-(d[e+8>>0]|0)<<1&504)|0)>((a[n+(m<<5)+29>>0]|0)-(o-(d[n+(m<<5)+28>>0]|0)<<1&504)|0)?g:e;o=0;a[h>>0]=o;return e|0}}else{o=j;l=j;k=g;g=1}}else{o=l;k=g;g=0}i=n+(m<<5)+(g*10|0)+8|0;j=d[i>>0]|0;g=d[e+12>>0]|0;if(!(k|(j&252|0)==(g|0))){a[i>>0]=j&3|g;f=b[l>>1]|0}e=o;o=f<<16>>16!=0&1;a[h>>0]=o;return e|0}function Ng(a){a=a|0;var b=0,e=0,f=0;f=c[a+4>>2]|0;b=d[a+12>>0]|0;a=0;e=0;do{a=(((d[f+(e<<5)+28>>0]|0)&252|0)==(b|0)&1)+((((d[f+(e<<5)+18>>0]|0)&252|0)==(b|0)&1)+((((d[f+(e<<5)+8>>0]|0)&252|0)==(b|0)&1)+a))|0;e=e+1|0}while((e|0)!=333);return a|0}function Og(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;g=i;i=i+112|0;d=g;Vj(d,16021,5);e=d+12|0;Vj(e,16027,8);a=d+24|0;Vj(a,16036,6);b=d+36|0;Vj(b,16043,10);f=d+48|0;Vj(f,16054,5);h=d+60|0;Vj(h,16060,13);j=d+72|0;Vj(j,16074,11);k=d+84|0;Vj(k,16086,5);l=d+96|0;Vj(l,16092,10);m=pu(108)|0;c[302416]=m;c[302415]=m;c[302417]=m+108;Uj(m,d);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,e);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,a);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,b);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,f);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,h);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,j);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,k);m=(c[302416]|0)+12|0;c[302416]=m;Uj(m,l);c[302416]=(c[302416]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(f);Zj(b);Zj(a);Zj(e);Zj(d);Vj(1209672,15338,56);Vj(1209684,15338,56);Vj(1209696,15338,56);Vj(1209708,15395,58);Vj(1209720,15454,74);Vj(1209732,15338,56);Vj(1209744,15529,39);Vj(1209756,15338,56);Vj(1209768,15569,60);d=pu(24)|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;e=d+20|0;Pg(d,1);a=c[e>>2]|0;b=c[d+4>>2]|0;f=(c[d+16>>2]|0)+a|0;if((c[d+8>>2]|0)==(b|0)){m=0;xu(m|0,0,1528)|0;m=a+1|0;c[e>>2]=m;m=d;c[302445]=m;i=g;return}m=(c[b+(f>>>4<<2)>>2]|0)+((f&15)*1528|0)|0;xu(m|0,0,1528)|0;m=a+1|0;c[e>>2]=m;m=d;c[302445]=m;i=g;return}function Pg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;h=t+4|0;k=t;r=a+8|0;d=c[r>>2]|0;s=a+4|0;e=c[s>>2]|0;b=((d|0)==(e|0)&1)+b|0;b=((b&15|0)!=0&1)+(b>>>4)|0;p=a+16|0;f=c[p>>2]|0;l=f>>>4;l=b>>>0<l>>>0?b:l;j=b-l|0;g=d;if((b|0)==(l|0)){c[p>>2]=f-(b<<4);if(!b){i=t;return}o=a+12|0;while(1){n=c[e>>2]|0;j=e+4|0;c[s>>2]=j;q=c[o>>2]|0;e=q;f=d;do if((d|0)==(q|0)){h=c[a>>2]|0;g=h;if(j>>>0>h>>>0){d=j;q=((d-g>>2)+1|0)/-2|0;p=j+(q<<2)|0;d=f-d|0;Du(p|0,j|0,d|0)|0;d=p+(d>>2<<2)|0;c[r>>2]=d;c[s>>2]=(c[s>>2]|0)+(q<<2);break}m=e-g>>1;m=(m|0)==0?1:m;q=pu(m<<2)|0;k=q;e=q+(m>>>2<<2)|0;l=e;m=q+(m<<2)|0;if((j|0)==(d|0)){e=h;d=l}else{g=j;f=l;do{c[e>>2]=c[g>>2];e=f+4|0;f=e;g=g+4|0}while((g|0)!=(d|0));d=f;e=c[a>>2]|0}c[a>>2]=k;c[s>>2]=l;c[r>>2]=d;c[o>>2]=m;if(e){Qt(e);d=c[r>>2]|0}}while(0);c[d>>2]=n;d=(c[r>>2]|0)+4|0;c[r>>2]=d;b=b+-1|0;if(!b)break;e=c[s>>2]|0}i=t;return}q=a+12|0;d=c[q>>2]|0;b=d-(c[a>>2]|0)|0;e=g-e>>2;if(j>>>0<=((b>>2)-e|0)>>>0){a:do if((d|0)==(g|0)){d=j;f=16}else{d=j;while(1){c[h>>2]=pu(24448)|0;Qg(a,h);d=d+-1|0;if(!d){f=17;break a}if((c[q>>2]|0)==(c[r>>2]|0)){f=16;break}}}while(0);if((f|0)==16)if(!d)f=17;else{b=l;do{c[k>>2]=pu(24448)|0;Rg(a,k);d=d+-1|0;b=b+1|0;e=(c[p>>2]|0)+16+((((c[r>>2]|0)-(c[s>>2]|0)|0)==4)<<31>>31)|0;c[p>>2]=e}while((d|0)!=0)}if((f|0)==17){e=c[p>>2]|0;b=l}c[p>>2]=e-(b<<4);if(!b){i=t;return}d=c[r>>2]|0;do{j=c[s>>2]|0;n=c[j>>2]|0;j=j+4|0;c[s>>2]=j;p=c[q>>2]|0;e=p;f=d;do if((d|0)==(p|0)){h=c[a>>2]|0;g=h;if(j>>>0>h>>>0){d=j;p=((d-g>>2)+1|0)/-2|0;o=j+(p<<2)|0;d=f-d|0;Du(o|0,j|0,d|0)|0;d=o+(d>>2<<2)|0;c[r>>2]=d;c[s>>2]=(c[s>>2]|0)+(p<<2);break}m=e-g>>1;m=(m|0)==0?1:m;p=pu(m<<2)|0;k=p;e=p+(m>>>2<<2)|0;l=e;m=p+(m<<2)|0;if((j|0)==(d|0)){e=h;d=l}else{g=j;f=l;do{c[e>>2]=c[g>>2];e=f+4|0;f=e;g=g+4|0}while((g|0)!=(d|0));d=f;e=c[a>>2]|0}c[a>>2]=k;c[s>>2]=l;c[r>>2]=d;c[q>>2]=m;if(e){Qt(e);d=c[r>>2]|0}}while(0);c[d>>2]=n;d=(c[r>>2]|0)+4|0;c[r>>2]=d;b=b+-1|0}while((b|0)!=0);i=t;return}o=l<<4;d=b>>1;n=e+j|0;d=d>>>0<n>>>0?n:d;if(!d)b=0;else b=pu(d<<2)|0;e=b+(e-l<<2)|0;n=b;g=e;b=b+(d<<2)|0;m=j;while(1){k=pu(24448)|0;j=e;d=e;do if((j|0)==(b|0)){h=g;if(h>>>0>n>>>0){j=h+((((g-n>>2)+1|0)/-2|0)<<2)|0;e=e-g|0;Du(j|0,g|0,e|0)|0;e=j+(e>>2<<2)|0;d=e;f=n;g=j;break}b=b-n>>1;b=(b|0)==0?1:b;e=pu(b<<2)|0;f=e;d=e+(b>>>2<<2)|0;g=d;b=e+(b<<2)|0;if((h|0)==(j|0))e=g;else{e=g;do{c[d>>2]=c[h>>2];d=e+4|0;e=d;h=h+4|0}while((h|0)!=(j|0))}d=e;if(n)Qt(n)}else f=n;while(0);c[d>>2]=k;e=e+4|0;m=m+-1|0;if(!m)break;else n=f}if(!l)d=c[s>>2]|0;else{d=c[s>>2]|0;m=f;while(1){k=e;f=e;do if((k|0)==(b|0)){f=g;if(f>>>0>m>>>0){n=f+((((g-m>>2)+1|0)/-2|0)<<2)|0;e=e-g|0;Du(n|0,g|0,e|0)|0;e=n+(e>>2<<2)|0;f=e;j=m;g=n;break}b=b-m>>1;b=(b|0)==0?1:b;n=pu(b<<2)|0;j=n;e=n+(b>>>2<<2)|0;g=e;b=n+(b<<2)|0;if((f|0)==(k|0))e=g;else{h=e;e=g;do{c[h>>2]=c[f>>2];h=e+4|0;e=h;f=f+4|0}while((f|0)!=(k|0))}f=e;if(m)Qt(m)}else j=m;while(0);c[f>>2]=c[d>>2];e=e+4|0;d=(c[s>>2]|0)+4|0;c[s>>2]=d;l=l+-1|0;if(!l){f=j;break}else m=j}}h=c[r>>2]|0;if((h|0)!=(d|0)){d=g;do{h=h+-4|0;g=d;do if((g|0)==(f|0)){l=e;if(l>>>0<b>>>0){n=l+((((b-e>>2)+1|0)/2|0)<<2)|0;g=e-d|0;e=n+(0-(g>>2)<<2)|0;Du(e|0,d|0,g|0)|0;g=e;d=e;e=n;break}b=b-f>>1;b=(b|0)==0?1:b;n=pu(b<<2)|0;f=n;k=n+((b+3|0)>>>2<<2)|0;m=k;b=n+(b<<2)|0;if((g|0)==(l|0))e=m;else{j=k;e=m;do{c[j>>2]=c[g>>2];j=e+4|0;e=j;g=g+4|0}while((g|0)!=(l|0))}if(!d){g=k;d=m}else{Qt(d);g=k;d=m}}while(0);c[g+-4>>2]=c[h>>2];d=d+-4|0}while((h|0)!=(c[s>>2]|0));g=d}d=c[a>>2]|0;c[a>>2]=f;c[s>>2]=g;c[r>>2]=e;c[q>>2]=b;c[p>>2]=(c[p>>2]|0)-o;if(!d){i=t;return}Qt(d);i=t;return}function Qg(a,b){a=a|0;b=b|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;o=a+8|0;d=c[o>>2]|0;m=a+12|0;n=c[m>>2]|0;f=n;g=d;do if((d|0)==(n|0)){n=a+4|0;i=c[n>>2]|0;h=c[a>>2]|0;e=h;if(i>>>0>h>>>0){d=i;a=((d-e>>2)+1|0)/-2|0;m=i+(a<<2)|0;d=g-d|0;Du(m|0,i|0,d|0)|0;d=m+(d>>2<<2)|0;c[o>>2]=d;c[n>>2]=(c[n>>2]|0)+(a<<2);break}l=f-e>>1;l=(l|0)==0?1:l;g=pu(l<<2)|0;j=g;e=g+(l>>>2<<2)|0;k=e;l=g+(l<<2)|0;if((i|0)==(d|0)){e=h;d=k}else{g=i;f=k;do{c[e>>2]=c[g>>2];e=f+4|0;f=e;g=g+4|0}while((g|0)!=(d|0));d=f;e=c[a>>2]|0}c[a>>2]=j;c[n>>2]=k;c[o>>2]=d;c[m>>2]=l;if(e){Qt(e);d=c[o>>2]|0}}while(0);c[d>>2]=c[b>>2];c[o>>2]=(c[o>>2]|0)+4;return}function Rg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=a+4|0;d=c[n>>2]|0;m=c[a>>2]|0;f=m;do if((d|0)==(m|0)){l=a+8|0;g=c[l>>2]|0;m=a+12|0;k=c[m>>2]|0;e=k;if(g>>>0<k>>>0){k=g;m=((e-k>>2)+1|0)/2|0;k=k-d|0;a=g+(m<<2)+(0-(k>>2)<<2)|0;Du(a|0,d|0,k|0)|0;c[n>>2]=a;c[l>>2]=(c[l>>2]|0)+(m<<2);d=a;break}k=e-f>>1;k=(k|0)==0?1:k;f=pu(k<<2)|0;h=f;i=f+((k+3|0)>>>2<<2)|0;j=i;k=f+(k<<2)|0;if((d|0)==(g|0))e=j;else{f=i;e=j;do{c[f>>2]=c[d>>2];f=e+4|0;e=f;d=d+4|0}while((d|0)!=(g|0));d=c[a>>2]|0}c[a>>2]=h;c[n>>2]=j;c[l>>2]=e;c[m>>2]=k;if(!d)d=i;else{Qt(d);d=c[n>>2]|0}}while(0);c[d+-4>>2]=c[b>>2];c[n>>2]=(c[n>>2]|0)+-4;return}function Sg(){var a=0,b=0,d=0,e=0;e=i;i=i+32|0;a=e+12|0;b=e;Vj(b,16251,11);fh(a,Zd(1209784,b)|0);d=Tg(a)|0;Zj(a);Zj(b);b=c[302445]|0;a=(c[b+20>>2]|0)+-1+(c[b+16>>2]|0)|0;a=(c[(c[b+4>>2]|0)+(a>>>4<<2)>>2]|0)+((a&15)*1528|0)|0;b=c[302398]|0;if((c[302399]|0)==(b|0))Ms(1209592);else{lf(1048808,1209672+(d*12|0)|0,0,d,a,c[b>>2]|0)|0;i=e;return}}function Tg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[302415]|0;m=a[d>>0]|0;h=(m&1)==0;m=h?(m&255)>>>1:c[d+4>>2]|0;j=d+8|0;i=d+1|0;k=(m|0)==0;if(h){d=0;a:while(1){h=l+(d*12|0)|0;g=b[h>>1]|0;e=(g&1)==0;f=(g&254)>>>1;g=(g&65535)>>>8&255;do if(((e?f:c[l+(d*12|0)+4>>2]|0)|0)==(m|0)){if(!e)if(!(zh(c[l+(d*12|0)+8>>2]|0,i,m)|0)){e=20;break a}else break;if(k){e=20;break a}if(g<<24>>24==(a[i>>0]|0)){g=f;e=h+1|0;f=i;do{g=g+-1|0;e=e+1|0;if(!g){e=20;break a}f=f+1|0}while((a[e>>0]|0)==(a[f>>0]|0))}}while(0);d=d+1|0;if((d|0)>=9){d=0;e=20;break}}if((e|0)==20)return d|0}else{d=0;b:while(1){i=l+(d*12|0)|0;h=b[i>>1]|0;f=(h&1)==0;g=(h&254)>>>1;h=(h&65535)>>>8&255;do if(((f?g:c[l+(d*12|0)+4>>2]|0)|0)==(m|0)){e=c[j>>2]|0;if(!f)if(!(zh(c[l+(d*12|0)+8>>2]|0,e,m)|0)){e=20;break b}else break;if(k){e=20;break b}if(h<<24>>24==(a[e>>0]|0)){f=i+1|0;do{g=g+-1|0;f=f+1|0;if(!g){e=20;break b}e=e+1|0}while((a[f>>0]|0)==(a[e>>0]|0))}}while(0);d=d+1|0;if((d|0)>=9){d=0;e=20;break}}if((e|0)==20)return d|0}return 0}function Ug(b){b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=i;i=i+1936|0;E=K+1528|0;D=K+1924|0;B=K+1912|0;s=K+1900|0;l=K+1888|0;u=K+1876|0;v=K;m=K+1864|0;n=K+1840|0;p=K+1816|0;q=K+1804|0;r=K+1792|0;J=K+1780|0;I=K+1640|0;d=K+1852|0;e=K+1828|0;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=0;F=I+8|0;c[I>>2]=4624;G=I+60|0;c[G>>2]=4644;c[I+4>>2]=0;Ml(I+60|0,F);c[I+132>>2]=0;c[I+136>>2]=-1;c[I>>2]=4664;c[I+60>>2]=4684;Ol(F);c[F>>2]=3128;H=I+40|0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=0;c[H+12>>2]=0;c[I+56>>2]=8;Sd(F,b);a[J+1>>0]=0;a[J>>0]=0;A=I+(c[(c[I>>2]|0)+-12>>2]|0)+4|0;c[A>>2]=c[A>>2]|4096;oe(I,J)|0;do if(qk(J,15630)|0?qk(J,15635)|0:0){if((qk(J,15640)|0)==0?a[1213344]&1:0)break;if(!(qk(J,15640)|0)){c[262167]=0;c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(!(qk(J,15650)|0)){A=Td(qe(1210452,0)|0,15654,8)|0;ne(d,1);D=a[d>>0]|0;B=(D&1)==0;D=Td(lh(Td(Td(A,B?d+1|0:c[d+8>>2]|0,B?(D&255)>>>1:c[d+4>>2]|0)|0,15663,1)|0,1209784)|0,15665,6)|0;c[E>>2]=Nl(D+(c[(c[D>>2]|0)+-12>>2]|0)|0)|0;B=sm(E,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(E);cm(D,B)|0;Sl(D)|0;Zj(d);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(!(qk(J,15672)|0)){sg();E=1048784;c[E>>2]=0;c[E+4>>2]=0;c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(!(qk(J,15683)|0)){D=Td(qe(1210452,0)|0,15691,7)|0;c[E>>2]=Nl(D+(c[(c[D>>2]|0)+-12>>2]|0)|0)|0;B=sm(E,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(E);cm(D,B)|0;Sl(D)|0;c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(!(qk(J,15699)|0)){y=E+84|0;z=E+72|0;c[z>>2]=0;A=E+80|0;d=E;e=d+64|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;c[y+12>>2]=0;c[y+16>>2]=0;c[y+20>>2]=0;c[y+24>>2]=0;c[A>>2]=128;x=E+76|0;c[x>>2]=128;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;v=Kk()|0;v=Iu(v|0,C|0,1e6,0)|0;w=E+64|0;c[w>>2]=v;c[w+4>>2]=C;w=oe(I,D)|0;if(!(c[w+(c[(c[w>>2]|0)+-12>>2]|0)+16>>2]&5)){b=E+96|0;f=E+88|0;g=E+104|0;j=E+12|0;k=E+16|0;l=E+20|0;m=E+24|0;n=E+32|0;p=E+36|0;q=E+56|0;r=E+40|0;s=E+44|0;t=E+48|0;u=E+52|0;v=E+4|0;w=E+8|0;do{do if(!(qk(D,15702)|0)){e=oe(I,D)|0;if(!(c[e+(c[(c[e>>2]|0)+-12>>2]|0)+16>>2]&5))do{d=Vg(1048808,D)|0;c[B>>2]=d;e=c[v>>2]|0;if(e>>>0<(c[w>>2]|0)>>>0){c[e>>2]=d;c[v>>2]=e+4}else Xg(E,B);e=oe(I,D)|0}while(!(c[e+(c[(c[e>>2]|0)+-12>>2]|0)+16>>2]&5|0))}else{if(!(qk(D,15743)|0)){Vl(I,z)|0;break}if(!(qk(D,15752)|0)){Vl(I,x)|0;break}if(!(qk(D,15761)|0)){Vl(I,A)|0;break}if(!(qk(D,15769)|0)){Xl(I,b)|0;break}if(!(qk(D,15777)|0)){Xl(I,f)|0;break}if(!(qk(D,15785)|0)){c[y>>2]=1;Xl(I,g)|0;o=+h[g>>3];if(o<.1){h[g>>3]=1.0;break}else{h[g>>3]=1.0/(o*10.0);break}}if(!(qk(D,15796)|0)){Vl(I,j)|0;break}if(!(qk(D,15802)|0)){Vl(I,k)|0;break}if(!(qk(D,15808)|0)){Vl(I,l)|0;break}if(!(qk(D,15813)|0)){Vl(I,m)|0;break}if(!(qk(D,15818)|0)){Vl(I,n)|0;break}if(!(qk(D,15828)|0)){Vl(I,p)|0;break}if(!(qk(D,15834)|0)){Wl(I,q)|0;break}if(!(qk(D,15840)|0)){Vl(I,r)|0;break}if(!(qk(D,15849)|0)){Vl(I,s)|0;break}if(!(qk(D,15854)|0)){c[t>>2]=1;break}if(qk(D,15863)|0)break;c[u>>2]=1}while(0);e=oe(I,D)|0}while(!(c[e+(c[(c[e>>2]|0)+-12>>2]|0)+16>>2]&5|0))}Eg(1209592,1048808,1209780,E);Zj(D);b=c[E>>2]|0;f=b;if(b|0){d=E+4|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-4-f|0)>>>2)<<2);Qt(b)}c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(qk(J,15870)|0){if(qk(J,15900)|0){if(!(qk(J,15965)|0)){Kf(1048808);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}if(!(qk(J,15970)|0)){D=df(qe(1210452,0)|0,1048808)|0;c[E>>2]=Nl(D+(c[(c[D>>2]|0)+-12>>2]|0)|0)|0;B=sm(E,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(E);cm(D,B)|0;Sl(D)|0;c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}D=(qk(J,15972)|0)==0;d=qe(1210452,0)|0;if(D){Ed(e,1048808);D=a[e>>0]|0;B=(D&1)==0;D=Td(d,B?e+1|0:c[e+8>>2]|0,B?(D&255)>>>1:c[e+4>>2]|0)|0;c[E>>2]=Nl(D+(c[(c[D>>2]|0)+-12>>2]|0)|0)|0;B=sm(E,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(E);cm(D,B)|0;Sl(D)|0;Zj(e);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}else{A=Td(d,15977,17)|0;D=a[b>>0]|0;B=(D&1)==0;D=Td(A,B?b+1|0:c[b+8>>2]|0,B?(D&255)>>>1:c[b+4>>2]|0)|0;c[E>>2]=Nl(D+(c[(c[D>>2]|0)+-12>>2]|0)|0)|0;B=sm(E,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(E);cm(D,B)|0;Sl(D)|0;c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}};c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;oe(I,D)|0;A=oe(I,D)|0;a:do if(!(c[A+(c[(c[A>>2]|0)+-12>>2]|0)+16>>2]&5)){d=B+4|0;e=D+8|0;b=D+1|0;f=D+4|0;g=l+8|0;j=l+1|0;k=l+4|0;do{if(!(qk(D,15910)|0))break a;A=a[B>>0]|0;Vj(u,15898,(((A&1)==0?(A&255)>>>1:c[d>>2]|0)|0)!=0&1);A=a[D>>0]|0;z=(A&1)==0;A=hk(u,z?b:c[e>>2]|0,z?(A&255)>>>1:c[f>>2]|0)|0;c[l>>2]=c[A>>2];c[l+4>>2]=c[A+4>>2];c[l+8>>2]=c[A+8>>2];c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;A=a[l>>0]|0;z=(A&1)==0;hk(B,z?j:c[g>>2]|0,z?(A&255)>>>1:c[k>>2]|0)|0;Zj(l);Zj(u);A=oe(I,D)|0}while(!(c[A+(c[(c[A>>2]|0)+-12>>2]|0)+16>>2]&5|0))}while(0);A=oe(I,D)|0;if(!(c[A+(c[(c[A>>2]|0)+-12>>2]|0)+16>>2]&5)){d=s+4|0;e=D+8|0;b=D+1|0;f=D+4|0;g=v+8|0;j=v+1|0;k=v+4|0;do{A=a[s>>0]|0;Vj(m,15898,(((A&1)==0?(A&255)>>>1:c[d>>2]|0)|0)!=0&1);A=a[D>>0]|0;z=(A&1)==0;A=hk(m,z?b:c[e>>2]|0,z?(A&255)>>>1:c[f>>2]|0)|0;c[v>>2]=c[A>>2];c[v+4>>2]=c[A+4>>2];c[v+8>>2]=c[A+8>>2];c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;A=a[v>>0]|0;z=(A&1)==0;hk(s,z?j:c[g>>2]|0,z?(A&255)>>>1:c[k>>2]|0)|0;Zj(v);Zj(m);A=oe(I,D)|0}while(!(c[A+(c[(c[A>>2]|0)+-12>>2]|0)+16>>2]&5|0))}d=c[302447]|0;b:do if(d){while(1){e=d+16|0;if(!(hh(1209792,B,e)|0)){if(!(hh(1209792,e,B)|0))break;d=d+4|0}d=c[d>>2]|0;if(!d){t=124;break b}}nh(Zg(1209784,B)|0,s)|0;if(!(qk(B,16251)|0)){x=Td(qe(1210452,0)|0,15916,20)|0;Vj(p,16251,11);fh(n,Zd(1209784,p)|0);w=a[n>>0]|0;A=(w&1)==0;w=Td(Td(x,A?n+1|0:c[n+8>>2]|0,A?(w&255)>>>1:c[n+4>>2]|0)|0,15937,10)|0;Vj(r,16251,11);fh(q,Zd(1209784,r)|0);A=Tg(q)|0;x=1209672+(A*12|0)|0;z=a[x>>0]|0;y=(z&1)==0;A=Td(w,y?x+1|0:c[1209672+(A*12|0)+8>>2]|0,y?(z&255)>>>1:c[1209672+(A*12|0)+4>>2]|0)|0;c[E>>2]=Nl(A+(c[(c[A>>2]|0)+-12>>2]|0)|0)|0;z=sm(E,1211488)|0;z=Jb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;Et(E);cm(A,z)|0;Sl(A)|0;Zj(q);Zj(r);Zj(n);Zj(p)}}else t=124;while(0);if((t|0)==124){y=Td(qe(1210452,0)|0,15948,16)|0;A=a[B>>0]|0;z=(A&1)==0;A=Td(y,z?B+1|0:c[B+8>>2]|0,z?(A&255)>>>1:c[B+4>>2]|0)|0;c[E>>2]=Nl(A+(c[(c[A>>2]|0)+-12>>2]|0)|0)|0;z=sm(E,1211488)|0;z=Jb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;Et(E);cm(A,z)|0;Sl(A)|0}Zj(s);Zj(B);Zj(D);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return};c[E>>2]=0;c[E+4>>2]=0;c[E+8>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;Vj(s,16251,11);fh(B,Zd(1209784,s)|0);q=Tg(B)|0;Zj(B);Zj(s);oe(I,E)|0;c:do if(qk(E,15879)|0){if(!(qk(E,15888)|0)){B=oe(I,E)|0;if(!(c[B+(c[(c[B>>2]|0)+-12>>2]|0)+16>>2]&5)){d=E+4|0;e=E+8|0;b=E+1|0;f=l+8|0;g=l+1|0;j=l+4|0;while(1){if(!(qk(E,15892)|0)){t=75;break c};c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;B=a[E>>0]|0;A=(B&1)==0;B=A?(B&255)>>>1:c[d>>2]|0;rk(l,A?b:c[e>>2]|0,B,B+1|0);hk(l,15898,1)|0;B=a[l>>0]|0;A=(B&1)==0;hk(D,A?g:c[f>>2]|0,A?(B&255)>>>1:c[j>>2]|0)|0;Zj(l);B=oe(I,E)|0;if(c[B+(c[(c[B>>2]|0)+-12>>2]|0)+16>>2]&5|0){t=75;break}}}else t=75}}else{_j(D,1209672+(q*12|0)|0)|0;oe(I,E)|0;t=75}while(0);d:do if((t|0)==75){g=pu(24)|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;f=g+20|0;Pg(g,1);b=c[f>>2]|0;d=c[g+4>>2]|0;e=(c[g+16>>2]|0)+b|0;if((c[g+8>>2]|0)==(d|0))d=0;else d=(c[d+(e>>>4<<2)>>2]|0)+((e&15)*1528|0)|0;xu(d|0,0,1528)|0;c[f>>2]=b+1;p=c[302445]|0;c[302445]=g;if(p|0){m=p+4|0;e=c[m>>2]|0;l=p+16|0;d=c[l>>2]|0;b=e+(d>>>4<<2)|0;n=p+8|0;B=c[n>>2]|0;f=B;g=e;if((B|0)==(e|0)){j=0;k=p+20|0;d=0}else{k=p+20|0;j=(c[k>>2]|0)+d|0;j=(c[e+(j>>>4<<2)>>2]|0)+((j&15)*1528|0)|0;d=(c[b>>2]|0)+((d&15)*1528|0)|0}e:while(1){do{if((d|0)==(j|0))break e;d=d+1528|0}while((d-(c[b>>2]|0)|0)!=24448);d=b+4|0;b=d;d=c[d>>2]|0}c[k>>2]=0;d=f-g>>2;if(d>>>0>2)do{Qt(c[e>>2]|0);e=(c[m>>2]|0)+4|0;c[m>>2]=e;d=(c[n>>2]|0)-e>>2}while(d>>>0>2);switch(d|0){case 1:{c[l>>2]=8;break}case 2:{c[l>>2]=16;break}default:{}}d=c[m>>2]|0;e=c[n>>2]|0;if((d|0)!=(e|0)){do{Qt(c[d>>2]|0);d=d+4|0}while((d|0)!=(e|0));d=c[m>>2]|0;e=c[n>>2]|0;if((e|0)!=(d|0))c[n>>2]=e+(~((e+-4-d|0)>>>2)<<2)}d=c[p>>2]|0;if(d|0)Qt(d);Qt(p)}Vj(u,16238,12);d=(eh(Zd(1209784,u)|0)|0)!=0;b=c[302445]|0;e=(c[b+20>>2]|0)+-1+(c[b+16>>2]|0)|0;e=(c[(c[b+4>>2]|0)+(e>>>4<<2)>>2]|0)+((e&15)*1528|0)|0;b=c[302398]|0;if((c[302399]|0)==(b|0))Ms(1209592);lf(1048808,D,d,q,e,c[b>>2]|0)|0;Zj(u);B=oe(I,E)|0;if(!(c[B+(c[(c[B>>2]|0)+-12>>2]|0)+16>>2]&5))do{m=Vg(1048808,E)|0;if(!m)break d;d=c[302445]|0;xu(v|0,0,1528)|0;k=d+8|0;b=c[k>>2]|0;l=d+4|0;e=c[l>>2]|0;f=d+16|0;g=c[f>>2]|0;n=d+20|0;j=c[n>>2]|0;if((((b|0)==(e|0)?0:(b-e<<2)+-1|0)|0)==(j+g|0)){Yg(d);g=c[f>>2]|0;d=c[n>>2]|0;b=c[k>>2]|0;e=c[l>>2]|0}else d=j;d=d+g|0;if((b|0)==(e|0))d=0;else d=(c[e+(d>>>4<<2)>>2]|0)+((d&15)*1528|0)|0;Bu(d|0,v|0,1528)|0;c[n>>2]=(c[n>>2]|0)+1;A=c[302445]|0;B=(c[A+20>>2]|0)+-1+(c[A+16>>2]|0)|0;B=(c[(c[A+4>>2]|0)+(B>>>4<<2)>>2]|0)+((B&15)*1528|0)|0;zf(1048808,m,B,xf(1048808,m)|0);B=oe(I,E)|0}while(!(c[B+(c[(c[B>>2]|0)+-12>>2]|0)+16>>2]&5|0))}while(0);Zj(D);Zj(E);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}while(0);a[1213340]=1;d=c[302398]|0;if((c[302399]|0)==(d|0))Ms(1209592);zg(c[d>>2]|0,1);c[I>>2]=4664;c[G>>2]=4684;c[F>>2]=3128;Zj(H);Pk(F);Lk(G);Zj(J);i=K;return}function Vg(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=i;i=i+4112|0;f=v+12|0;u=v;r=a[e>>0]|0;g=(r&1)==0;s=e+4|0;if(((g?(r&255)>>>1:c[s>>2]|0)|0)==5){r=e+8|0;q=e+1|0;p=(yi(a[(g?q:c[r>>2]|0)+4>>0]|0)|0)&255;a[((a[e>>0]&1)==0?q:c[r>>2]|0)+4>>0]=p}r=Qe(d,f)|0;c[f+4096>>2]=r;if((f|0)==(r|0)){u=0;i=v;return u|0}l=d+5360|0;m=u+4|0;n=u+8|0;o=u+1|0;p=e+1|0;q=e+8|0;a:while(1){Wg(u,c[f>>2]|0,(a[l>>0]|0)!=0);k=b[e>>1]|0;h=(k&1)==0;d=(k&254)>>>1;j=h?d:c[s>>2]|0;w=a[u>>0]|0;g=(w&1)==0;k=(k&65535)>>>8&255;do if((j|0)==((g?(w&255)>>>1:c[m>>2]|0)|0)){g=g?o:c[n>>2]|0;if(!h){w=(zh(c[q>>2]|0,g,j)|0)==0;Zj(u);if(w)break a;else break}if(!j){t=11;break a}if(k<<24>>24==(a[g>>0]|0)){h=p;while(1){d=d+-1|0;h=h+1|0;if(!d){t=11;break a}g=g+1|0;if((a[h>>0]|0)!=(a[g>>0]|0)){t=12;break}}}else t=12}else t=12;while(0);if((t|0)==12){t=0;Zj(u)}f=f+8|0;if((f|0)==(r|0)){f=0;t=16;break}}if((t|0)==11)Zj(u);else if((t|0)==16){i=v;return f|0}w=c[f>>2]|0;i=v;return w|0}function Wg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+48|0;l=m+24|0;j=m+12|0;k=m;g=(d&131072|0)==0;h=g?d>>>6&63:64;f=d&63;switch(d|0){case 0:{Vj(b,15714,6);i=m;return}case 65:{Vj(b,15721,4);i=m;return}default:{g=g?d&49152:131072;if(!((g|0)!=49152|e))f=(f>>>0>h>>>0?6:2)|h&120;if((g|0)==131072){h=a[15726+(d>>>18&15)>>0]|0;a[j>>0]=4;a[j+1>>0]=h;a[j+2>>0]=64;a[j+3>>0]=0}else{a[j>>0]=4;a[j+1>>0]=(h&7)+97;a[j+2>>0]=(h>>>3)+49;a[j+3>>0]=0}a[k>>0]=4;h=k+1|0;a[h>>0]=(f&7)+97;a[k+2>>0]=(f>>>3)+49;a[k+3>>0]=0;h=hk(j,h,2)|0;c[l>>2]=c[h>>2];c[l+4>>2]=c[h+4>>2];c[l+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;Zj(k);Zj(j);if((g|0)==16384){if(!(d&65536))f=(d>>>12&3)+2|0;else f=6;jk(l,a[15330+f>>0]|0)};c[b>>2]=c[l>>2];c[b+4>>2]=c[l+4>>2];c[b+8>>2]=c[l+8>>2];c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;Zj(l);i=m;return}}}function Xg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;j=c[a>>2]|0;d=((c[i>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)Ls(a);k=a+8|0;e=(c[k>>2]|0)-j|0;if(e>>2>>>0<536870911){f=e>>1;d=f>>>0<d>>>0?d:f;f=c[i>>2]|0;e=f-j>>2;if(!d){h=0;g=0;d=f}else l=6}else{e=c[i>>2]|0;d=1073741823;f=e;e=e-j>>2;l=6}if((l|0)==6){h=d;g=pu(d<<2)|0;d=f}l=g+(e<<2)|0;c[l>>2]=c[b>>2];f=d-j|0;b=l+(0-(f>>2)<<2)|0;Bu(b|0,j|0,f|0)|0;c[a>>2]=b;c[i>>2]=l+4;c[k>>2]=g+(h<<2);if(!j)return;Qt(j);return}function Yg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;f=q+4|0;g=q;b=a+16|0;d=c[b>>2]|0;if(d>>>0>15){c[b>>2]=d+-16;n=a+4|0;h=c[n>>2]|0;p=c[h>>2]|0;h=h+4|0;c[n>>2]=h;o=a+8|0;b=c[o>>2]|0;m=a+12|0;l=c[m>>2]|0;d=l;e=b;do if((b|0)==(l|0)){g=c[a>>2]|0;f=g;if(h>>>0>g>>>0){b=h;a=((b-f>>2)+1|0)/-2|0;m=h+(a<<2)|0;b=e-b|0;Du(m|0,h|0,b|0)|0;b=m+(b>>2<<2)|0;c[o>>2]=b;c[n>>2]=(c[n>>2]|0)+(a<<2);break}l=d-f>>1;l=(l|0)==0?1:l;f=pu(l<<2)|0;j=f;d=f+(l>>>2<<2)|0;k=d;l=f+(l<<2)|0;if((h|0)==(b|0)){d=g;b=k}else{f=h;e=k;do{c[d>>2]=c[f>>2];d=e+4|0;e=d;f=f+4|0}while((f|0)!=(b|0));b=e;d=c[a>>2]|0}c[a>>2]=j;c[n>>2]=k;c[o>>2]=b;c[m>>2]=l;if(d){Qt(d);b=c[o>>2]|0}}while(0);c[b>>2]=p;c[o>>2]=(c[o>>2]|0)+4;i=q;return}p=a+8|0;d=c[p>>2]|0;n=a+4|0;l=c[n>>2]|0;h=d-l|0;m=h>>2;o=a+12|0;e=c[o>>2]|0;b=e-(c[a>>2]|0)|0;j=d;if(m>>>0<b>>2>>>0){b=pu(24448)|0;if((e|0)!=(d|0)){c[f>>2]=b;Qg(a,f);i=q;return}c[g>>2]=b;Rg(a,g);h=c[n>>2]|0;l=c[h>>2]|0;h=h+4|0;c[n>>2]=h;b=c[p>>2]|0;m=c[o>>2]|0;e=m;f=b;do if((b|0)==(m|0)){d=c[a>>2]|0;g=d;if(h>>>0>d>>>0){b=h;a=((b-g>>2)+1|0)/-2|0;o=h+(a<<2)|0;b=f-b|0;Du(o|0,h|0,b|0)|0;b=o+(b>>2<<2)|0;c[p>>2]=b;c[n>>2]=(c[n>>2]|0)+(a<<2);break}k=e-g>>1;k=(k|0)==0?1:k;m=pu(k<<2)|0;g=m;e=m+(k>>>2<<2)|0;j=e;k=m+(k<<2)|0;if((h|0)==(b|0))b=j;else{f=h;d=j;do{c[e>>2]=c[f>>2];e=d+4|0;d=e;f=f+4|0}while((f|0)!=(b|0));b=d;d=c[a>>2]|0}c[a>>2]=g;c[n>>2]=j;c[p>>2]=b;c[o>>2]=k;if(d){Qt(d);b=c[p>>2]|0}}while(0);c[b>>2]=l;c[p>>2]=(c[p>>2]|0)+4;i=q;return}g=b>>1;g=(g|0)==0?1:g;b=pu(g<<2)|0;f=b;e=b+(m<<2)|0;d=b+(g<<2)|0;k=pu(24448)|0;do if((m|0)==(g|0))if((h|0)>0){g=l;e=e+(((m+1|0)/-2|0)<<2)|0;break}else{d=h>>1;d=(d|0)==0?1:d;m=pu(d<<2)|0;Qt(b);j=c[p>>2]|0;g=c[n>>2]|0;f=m;e=m+(d>>>2<<2)|0;d=m+(d<<2)|0;break}else g=l;while(0);b=e;c[e>>2]=k;e=e+4|0;if((j|0)==(g|0)){g=f;f=b}else{m=j;do{m=m+-4|0;g=b;do if((g|0)==(f|0)){k=e;if(k>>>0<d>>>0){l=k+((((d-e>>2)+1|0)/2|0)<<2)|0;g=e-b|0;e=l+(0-(g>>2)<<2)|0;Du(e|0,b|0,g|0)|0;g=e;b=e;e=l;break}d=d-f>>1;d=(d|0)==0?1:d;h=pu(d<<2)|0;f=h;j=h+((d+3|0)>>>2<<2)|0;l=j;d=h+(d<<2)|0;if((g|0)==(k|0))e=l;else{h=j;e=l;do{c[h>>2]=c[g>>2];h=e+4|0;e=h;g=g+4|0}while((g|0)!=(k|0))}if(!b){g=j;b=l}else{Qt(b);g=j;b=l}}while(0);c[g+-4>>2]=c[m>>2];b=b+-4|0}while((m|0)!=(c[n>>2]|0));g=f;f=b}b=c[a>>2]|0;c[a>>2]=g;c[n>>2]=f;c[p>>2]=e;c[o>>2]=d;if(!b){i=q;return}Qt(b);i=q;return}function Zg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=j;d=a+4|0;f=c[d>>2]|0;do if(f){g=a+8|0;while(1){d=f+16|0;if(hh(g,b,d)|0){d=c[f>>2]|0;if(!d){e=f;d=f;g=5;break}}else{if(!(hh(g,d,b)|0)){d=f;g=10;break}e=f+4|0;d=c[e>>2]|0;if(!d){d=f;g=9;break}}f=d}if((g|0)==5){c[h>>2]=d;break}else if((g|0)==9){c[h>>2]=d;break}else if((g|0)==10){c[h>>2]=d;e=h;f=d;g=12;break}}else{c[h>>2]=d;e=d;g=12}while(0);if((g|0)==12)if(f){a=f;a=a+28|0;i=j;return a|0}f=pu(92)|0;Uj(f+16|0,b);mh(f+28|0,0);c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1;a=f;a=a+28|0;i=j;return a|0}function _g(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=i;i=i+5696|0;t=v+5676|0;n=v+5664|0;o=v+5652|0;q=v+5640|0;r=v+5628|0;u=v;s=v+1528|0;switch(e|0){case 0:{Vj(b,15714,6);i=v;return}case 65:{Vj(b,19016,6);i=v;return}default:{c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;h=c[d+5348>>2]|0;m=(e&131072|0)==0;l=m?e>>>6&63:64;p=e&63;f=c[d+(l<<2)>>2]|0;g=f&7;m=m?e&49152:131072;if((m|0)!=49152){do if((g|0)==1){n=e&180224;if((n|0)==32768|((n|0)!=49152?(c[d+(p<<2)>>2]|0)!=0:0))dk(t,(l&7)+97&255)|0}else{dk(t,a[15322+g>>0]|0)|0;j=d+256|0;j=_b(f,p,c[j>>2]|0,c[j+4>>2]|0)|0;h=d+320+(h<<3)|0;f=d+256+(g<<3)|0;g=24960+(l<<3)|0;j=c[h>>2]&j&c[f>>2]^c[g>>2];g=c[h+4>>2]&C&c[f+4>>2]^c[g+4>>2];f=j;h=g;a:while(1){do{if((f|0)==0&(h|0)==0)break a;k=fb(f|0,h|0,0)|0;w=yu(f|0,h|0,-1,-1)|0;f=w&f;h=C&h}while(wf(d,k<<6|p)|0);w=24960+(k<<3)|0;j=c[w>>2]^j;g=c[w+4>>2]^g}if(!((j|0)==0&(g|0)==0)){h=l&7;w=25472+(h<<3)|0;if((c[w>>2]&j|0)==0?(c[w+4>>2]&g|0)==0:0){jk(t,h+97&255);break}f=l>>>3;w=25536+(f<<3)|0;if((c[w>>2]&j|0)==0?(c[w+4>>2]&g|0)==0:0){jk(t,f+49&255);break}else{a[n>>0]=4;w=n+1|0;a[w>>0]=h+97;a[n+2>>0]=f+49;a[n+3>>0]=0;hk(t,w,2)|0;Zj(n);break}}}while(0);w=e&180224;if((w|0)==32768|((w|0)!=49152?(c[d+(p<<2)>>2]|0)!=0:0))jk(t,120);a[o>>0]=4;w=o+1|0;a[w>>0]=(e&7)+97;a[o+2>>0]=(p>>>3)+49;a[o+3>>0]=0;hk(t,w,2)|0;Zj(o);if((m|0)==16384){Vj(r,16005,1);if(!(e&65536))f=(e>>>12&3)+2|0;else f=6;jk(r,a[15322+f>>0]|0);c[q>>2]=c[r>>2];c[q+4>>2]=c[r+4>>2];c[q+8>>2]=c[r+8>>2];c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;w=a[q>>0]|0;p=(w&1)==0;hk(t,p?q+1|0:c[q+8>>2]|0,p?(w&255)>>>1:c[q+4>>2]|0)|0;Zj(q);Zj(r)}}else ck(t,p>>>0>l>>>0?15995:15999)|0;if(xf(d,e)|0){zf(d,e,u,xf(d,e)|0);w=Qe(d,s)|0;c[s+4096>>2]=w;ik(t,(w|0)!=(s|0)?16007:16009)|0;Bf(d,e)};c[b>>2]=c[t>>2];c[b+4>>2]=c[t+4>>2];c[b+8>>2]=c[t+8>>2];c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;Zj(t);i=v;return}}}function $g(b,c){b=b|0;c=c|0;a[b>>0]=4;a[b+1>>0]=(c&7)+97;a[b+2>>0]=(c>>>3)+49;a[b+3>>0]=0;return}function ah(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;j=i;i=i+160|0;d=j+144|0;h=j;g=h+8|0;c[g>>2]=3092;e=h+12|0;c[h>>2]=3296;f=h+64|0;c[f>>2]=3316;c[h+4>>2]=0;Ml(h+64|0,e);c[h+136>>2]=0;c[h+140>>2]=-1;c[h>>2]=3072;c[h+64>>2]=3112;c[g>>2]=3092;Ol(e);c[e>>2]=3128;g=h+44|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[h+60>>2]=24;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;Sd(e,d);Zj(d);d=h+8|0;if((((b|0)>-1?b:0-b|0)|0)<31872)Zl(Td(d,16011,3)|0,(b*100|0)/248|0)|0;else{k=Td(d,16015,5)|0;Zl(k,(((b|0)>0?32001:-32e3)-b|0)/2|0)|0}Wd(a,e);c[h>>2]=3072;c[f>>2]=3112;c[d>>2]=3092;c[e>>2]=3128;Zj(g);Pk(e);Lk(f);i=j;return}function bh(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[302450]=m;c[302449]=m;c[302451]=m+108;Uj(m,b);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,d);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,e);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,f);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,g);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,h);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,j);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,k);m=(c[302450]|0)+12|0;c[302450]=m;Uj(m,l);c[302450]=(c[302450]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);c[302447]=0;c[302448]=0;c[302446]=1209788;i=a;return}function ch(a){a=a|0;sg();return}function dh(a){a=a|0;var b=0;b=a+12|0;if(!(qk(a+24|0,16103)|0)){a=Ck(b,0,10)|0;Kg(1209632,a);return}else{a=(qk(b,22158)|0)==0&1;Kg(1209632,a);return}}function eh(a){a=a|0;var b=0;b=a+12|0;if(!(qk(a+24|0,16103)|0)){a=Ck(b,0,10)|0;return a|0}else{a=(qk(b,22158)|0)==0&1;return a|0}return 0}function fh(a,b){a=a|0;b=b|0;Uj(a,b+12|0);return}function gh(a){a=a|0;Cg(1209592);return}function hh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=a[d>>0]|0;h=(g&1)==0;f=h?d+1|0:c[d+8>>2]|0;g=f+(h?(g&255)>>>1:c[d+4>>2]|0)|0;d=a[e>>0]|0;h=(d&1)==0;b=h?e+1|0:c[e+8>>2]|0;d=h?(d&255)>>>1:c[e+4>>2]|0;e=b+d|0;if(!d){h=0;return h|0}else d=f;while(1){if((d|0)==(g|0)){b=1;d=6;break}h=a[b>>0]|0;f=yi(a[d>>0]|0)|0;if((f|0)<(yi(h<<24>>24)|0)){b=1;d=6;break}h=a[d>>0]|0;f=yi(a[b>>0]|0)|0;if((f|0)<(yi(h<<24>>24)|0)){b=0;d=6;break}b=b+1|0;if((b|0)==(e|0)){b=0;d=6;break}else d=d+1|0}if((d|0)==6)return b|0;return 0}function ih(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;P=i;i=i+1216|0;M=P+1196|0;h=P+1184|0;j=P+1120|0;m=P+1104|0;n=P+1040|0;o=P+1024|0;p=P+960|0;q=P+944|0;r=P+880|0;t=P+864|0;s=P+800|0;u=P+784|0;v=P+720|0;w=P+704|0;x=P+640|0;y=P+624|0;z=P+560|0;A=P+544|0;B=P+480|0;C=P+464|0;D=P+400|0;E=P+384|0;F=P+320|0;G=P+304|0;H=P+240|0;I=P+224|0;J=P+160|0;K=P+144|0;L=P+80|0;N=P+64|0;O=P;Vj(h,16108,8);d=Zd(b,h)|0;k=j+12|0;l=j+24|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;Vj(l,16103,4);e=j+36|0;c[e>>2]=-100;c[j+40>>2]=100;f=j+44|0;c[f>>2]=0;g=j+48|0;c[g>>2]=0;c[j+52>>2]=0;c[j+60>>2]=0;Hk(M,0);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[j+20>>2]>>0]=0;c[j+16>>2]=0}bk(k,0);c[k>>2]=c[M>>2];c[k+4>>2]=c[M+4>>2];c[k+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(j,k)|0;Zj(M);_j(d,j)|0;_j(d+12|0,k)|0;_j(d+24|0,l)|0;R=e;Q=c[R+4>>2]|0;e=d+36|0;c[e>>2]=c[R>>2];c[e+4>>2]=Q;if((d|0)!=(j|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=j+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=j+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(l);Zj(k);Zj(j);Zj(h);Vj(m,16117,7);d=Zd(b,m)|0;h=n+12|0;j=n+24|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;c[n+16>>2]=0;c[n+20>>2]=0;Vj(j,16103,4);e=n+36|0;c[e>>2]=1;c[n+40>>2]=1;f=n+44|0;c[f>>2]=0;g=n+48|0;c[g>>2]=0;c[n+52>>2]=0;c[n+60>>2]=146;Hk(M,1);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[n+20>>2]>>0]=0;c[n+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(n,h)|0;Zj(M);_j(d,n)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;l=e;Q=c[l+4>>2]|0;R=d+36|0;c[R>>2]=c[l>>2];c[R+4>>2]=Q;if((d|0)!=(n|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=n+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=n+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(n);Zj(m);Vj(o,16125,4);d=Zd(b,o)|0;h=p+12|0;j=p+24|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;c[p+20>>2]=0;Vj(j,16103,4);e=p+36|0;c[e>>2]=1;c[p+40>>2]=2048;f=p+44|0;c[f>>2]=0;g=p+48|0;c[g>>2]=0;c[p+52>>2]=0;c[p+60>>2]=147;Hk(M,16);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[p+20>>2]>>0]=0;c[p+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(p,h)|0;Zj(M);_j(d,p)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;n=e;Q=c[n+4>>2]|0;R=d+36|0;c[R>>2]=c[n>>2];c[R+4>>2]=Q;if((d|0)!=(p|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=p+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=p+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(p);Zj(o);Vj(q,16130,10);d=Zd(b,q)|0;h=r+24|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;c[r+16>>2]=0;c[r+20>>2]=0;Vj(h,16141,6);p=r+36|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;c[r+60>>2]=148;_j(d,r)|0;j=r+12|0;_j(d+12|0,j)|0;_j(d+24|0,h)|0;Q=c[p+4>>2]|0;R=d+36|0;c[R>>2]=c[p>>2];c[R+4>>2]=Q;if((d|0)!=(r|0))jh(d+44|0,c[r+44>>2]|0,c[r+48>>2]|0);f=d+56|0;Q=r+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=r+44|0;d=c[f>>2]|0;if(d|0){g=r+48|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(h);Zj(j);Zj(r);Zj(q);Vj(t,16148,6);d=Zd(b,t)|0;h=s+12|0;j=s+24|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[s+12>>2]=0;c[s+16>>2]=0;c[s+20>>2]=0;Vj(j,16155,5);r=s+36|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;c[r+16>>2]=0;c[s+60>>2]=0;_j(s,ck(h,22163)|0)|0;_j(d,s)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;Q=c[r+4>>2]|0;R=d+36|0;c[R>>2]=c[r>>2];c[R+4>>2]=Q;if((d|0)!=(s|0))jh(d+44|0,c[s+44>>2]|0,c[s+48>>2]|0);f=d+56|0;Q=s+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=s+44|0;d=c[f>>2]|0;if(d|0){g=s+48|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(s);Zj(t);Vj(u,16161,7);d=Zd(b,u)|0;h=v+12|0;j=v+24|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;c[v+12>>2]=0;c[v+16>>2]=0;c[v+20>>2]=0;Vj(j,16103,4);e=v+36|0;c[e>>2]=1;c[v+40>>2]=500;f=v+44|0;c[f>>2]=0;g=v+48|0;c[g>>2]=0;c[v+52>>2]=0;c[v+60>>2]=0;Hk(M,1);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[v+20>>2]>>0]=0;c[v+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(v,h)|0;Zj(M);_j(d,v)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;t=e;Q=c[t+4>>2]|0;R=d+36|0;c[R>>2]=c[t>>2];c[R+4>>2]=Q;if((d|0)!=(v|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=v+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=v+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(v);Zj(u);Vj(w,16169,11);d=Zd(b,w)|0;h=x+12|0;j=x+24|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;c[x+16>>2]=0;c[x+20>>2]=0;Vj(j,16103,4);e=x+36|0;c[e>>2]=0;c[x+40>>2]=20;f=x+44|0;c[f>>2]=0;g=x+48|0;c[g>>2]=0;c[x+52>>2]=0;c[x+60>>2]=0;Hk(M,20);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[x+20>>2]>>0]=0;c[x+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(x,h)|0;Zj(M);_j(d,x)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;v=e;Q=c[v+4>>2]|0;R=d+36|0;c[R>>2]=c[v>>2];c[R+4>>2]=Q;if((d|0)!=(x|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=x+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=x+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(x);Zj(w);Vj(y,16181,13);d=Zd(b,y)|0;h=z+12|0;j=z+24|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[z+12>>2]=0;c[z+16>>2]=0;c[z+20>>2]=0;Vj(j,16103,4);e=z+36|0;c[e>>2]=0;c[z+40>>2]=5e3;f=z+44|0;c[f>>2]=0;g=z+48|0;c[g>>2]=0;c[z+52>>2]=0;c[z+60>>2]=0;Hk(M,30);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[z+20>>2]>>0]=0;c[z+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(z,h)|0;Zj(M);_j(d,z)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;x=e;Q=c[x+4>>2]|0;R=d+36|0;c[R>>2]=c[x>>2];c[R+4>>2]=Q;if((d|0)!=(z|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=z+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=z+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(z);Zj(y);Vj(A,16195,21);d=Zd(b,A)|0;h=B+12|0;j=B+24|0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;c[B+12>>2]=0;c[B+16>>2]=0;c[B+20>>2]=0;Vj(j,16103,4);e=B+36|0;c[e>>2]=0;c[B+40>>2]=5e3;f=B+44|0;c[f>>2]=0;g=B+48|0;c[g>>2]=0;c[B+52>>2]=0;c[B+60>>2]=0;Hk(M,20);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[B+20>>2]>>0]=0;c[B+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(B,h)|0;Zj(M);_j(d,B)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;z=e;Q=c[z+4>>2]|0;R=d+36|0;c[R>>2]=c[z>>2];c[R+4>>2]=Q;if((d|0)!=(B|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=B+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=B+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(B);Zj(A);Vj(C,16217,10);d=Zd(b,C)|0;h=D+12|0;j=D+24|0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;c[D+12>>2]=0;c[D+16>>2]=0;c[D+20>>2]=0;Vj(j,16103,4);e=D+36|0;c[e>>2]=10;c[D+40>>2]=1e3;f=D+44|0;c[f>>2]=0;g=D+48|0;c[g>>2]=0;c[D+52>>2]=0;c[D+60>>2]=0;Hk(M,89);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[D+20>>2]>>0]=0;c[D+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(D,h)|0;Zj(M);_j(d,D)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;B=e;Q=c[B+4>>2]|0;R=d+36|0;c[R>>2]=c[B>>2];c[R+4>>2]=Q;if((d|0)!=(D|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=D+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=D+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(D);Zj(C);Vj(E,16228,9);d=Zd(b,E)|0;h=F+12|0;j=F+24|0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=0;c[F+12>>2]=0;c[F+16>>2]=0;c[F+20>>2]=0;Vj(j,16103,4);e=F+36|0;c[e>>2]=0;c[F+40>>2]=1e4;f=F+44|0;c[f>>2]=0;g=F+48|0;c[g>>2]=0;c[F+52>>2]=0;c[F+60>>2]=0;Hk(M,0);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[F+20>>2]>>0]=0;c[F+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(F,h)|0;Zj(M);_j(d,F)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;D=e;Q=c[D+4>>2]|0;R=d+36|0;c[R>>2]=c[D>>2];c[R+4>>2]=Q;if((d|0)!=(F|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=F+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=F+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(F);Zj(E);Vj(G,16238,12);d=Zd(b,G)|0;h=H+12|0;j=H+24|0;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=0;c[H+12>>2]=0;c[H+16>>2]=0;c[H+20>>2]=0;Vj(j,16155,5);F=H+36|0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=0;c[F+12>>2]=0;c[F+16>>2]=0;c[H+60>>2]=0;_j(H,ck(h,22163)|0)|0;_j(d,H)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;Q=c[F+4>>2]|0;R=d+36|0;c[R>>2]=c[F>>2];c[R+4>>2]=Q;if((d|0)!=(H|0))jh(d+44|0,c[H+44>>2]|0,c[H+48>>2]|0);f=d+56|0;Q=H+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=H+44|0;d=c[f>>2]|0;if(d|0){g=H+48|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(H);Zj(G);Vj(I,16251,11);e=Zd(b,I)|0;d=c[302449]|0;if(!(a[d>>0]&1))d=d+1|0;else d=c[d+8>>2]|0;kh(J,d,1209796,0);_j(e,J)|0;h=J+12|0;_j(e+12|0,h)|0;j=J+24|0;_j(e+24|0,j)|0;H=J+36|0;Q=c[H+4>>2]|0;R=e+36|0;c[R>>2]=c[H>>2];c[R+4>>2]=Q;if((e|0)!=(J|0))jh(e+44|0,c[J+44>>2]|0,c[J+48>>2]|0);f=e+56|0;Q=J+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=J+44|0;d=c[f>>2]|0;if(d|0){g=J+48|0;e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(J);Zj(I);Vj(K,16269,25);d=Zd(b,K)|0;h=L+12|0;j=L+24|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;c[L+16>>2]=0;c[L+20>>2]=0;Vj(j,16103,4);e=L+36|0;c[e>>2]=0;c[L+40>>2]=5e3;f=L+44|0;c[f>>2]=0;g=L+48|0;c[g>>2]=0;c[L+52>>2]=0;c[L+60>>2]=0;Hk(M,200);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[L+20>>2]>>0]=0;c[L+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(L,h)|0;Zj(M);_j(d,L)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;J=e;Q=c[J+4>>2]|0;R=d+36|0;c[R>>2]=c[J>>2];c[R+4>>2]=Q;if((d|0)!=(L|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=L+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=L+44|0;d=c[f>>2]|0;if(d|0){e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d)}Zj(j);Zj(h);Zj(L);Zj(K);Vj(N,16295,23);d=Zd(b,N)|0;h=O+12|0;j=O+24|0;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[O+12>>2]=0;c[O+16>>2]=0;c[O+20>>2]=0;Vj(j,16103,4);e=O+36|0;c[e>>2]=1;c[O+40>>2]=1e3;f=O+44|0;c[f>>2]=0;g=O+48|0;c[g>>2]=0;c[O+52>>2]=0;c[O+60>>2]=0;Hk(M,128);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[O+20>>2]>>0]=0;c[O+16>>2]=0}bk(h,0);c[h>>2]=c[M>>2];c[h+4>>2]=c[M+4>>2];c[h+8>>2]=c[M+8>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;_j(O,h)|0;Zj(M);_j(d,O)|0;_j(d+12|0,h)|0;_j(d+24|0,j)|0;M=e;Q=c[M+4>>2]|0;R=d+36|0;c[R>>2]=c[M>>2];c[R+4>>2]=Q;if((d|0)!=(O|0))jh(d+44|0,c[f>>2]|0,c[g>>2]|0);f=d+56|0;Q=O+56|0;R=c[Q+4>>2]|0;d=f;c[d>>2]=c[Q>>2];c[d+4>>2]=R;d=c[302452]|0;c[302452]=d+1;c[f>>2]=d;f=O+44|0;d=c[f>>2]|0;if(!d){Zj(j);Zj(h);Zj(O);Zj(N);i=P;return}e=c[g>>2]|0;if((e|0)!=(d|0)){do{R=e+-12|0;c[g>>2]=R;Zj(R);e=c[g>>2]|0}while((e|0)!=(d|0));d=c[f>>2]|0}Qt(d);Zj(j);Zj(h);Zj(O);Zj(N);i=P;return}function jh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=(d-b|0)/12|0;k=a+8|0;g=c[k>>2]|0;e=c[a>>2]|0;f=e;if(j>>>0<=((g-e|0)/12|0)>>>0){i=a+4|0;e=((c[i>>2]|0)-e|0)/12|0;h=j>>>0>e>>>0;e=b+(e*12|0)|0;g=h?e:d;if((g|0)!=(b|0))do{_j(f,b)|0;b=b+12|0;f=f+12|0}while((b|0)!=(g|0));if(!h){e=c[i>>2]|0;if((e|0)==(f|0))return;do{d=e+-12|0;c[i>>2]=d;Zj(d);e=c[i>>2]|0}while((e|0)!=(f|0));return}if((g|0)==(d|0))return;b=c[i>>2]|0;do{Uj(b,e);b=(c[i>>2]|0)+12|0;c[i>>2]=b;e=e+12|0}while((e|0)!=(d|0));return}if(!e)e=g;else{h=a+4|0;g=c[h>>2]|0;if((g|0)!=(f|0)){e=g;do{g=e+-12|0;c[h>>2]=g;Zj(g);e=c[h>>2]|0}while((e|0)!=(f|0));e=c[a>>2]|0}Qt(e);c[k>>2]=0;c[h>>2]=0;c[a>>2]=0;e=0}g=j>>>0>357913941;if(g)Ls(a);e=(e-0|0)/12|0;if(e>>>0<178956970){f=e<<1;e=f>>>0>=j>>>0;if(e|g^1)i=e?f:j;else Ls(a)}else i=357913941;e=pu(i*12|0)|0;f=a+4|0;c[f>>2]=e;c[a>>2]=e;c[k>>2]=e+(i*12|0);if((b|0)==(d|0))return;do{Uj(e,b);e=(c[f>>2]|0)+12|0;c[f>>2]=e;b=b+12|0}while((b|0)!=(d|0));return}function kh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=a+12|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;Vj(a+24|0,16263,5);m=a+36|0;g=a+44|0;k=a+48|0;i=d+4|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;m=c[i>>2]|0;l=c[d>>2]|0;f=m-l|0;h=(f|0)/12|0;if((m|0)!=(l|0)){if(h>>>0>357913941)Ls(g);f=pu(f)|0;c[k>>2]=f;c[g>>2]=f;c[a+52>>2]=f+(h*12|0);g=c[d>>2]|0;h=c[i>>2]|0;if((g|0)!=(h|0))do{Uj(f,g);f=(c[k>>2]|0)+12|0;c[k>>2]=f;g=g+12|0}while((g|0)!=(h|0))}c[a+60>>2]=e;_j(a,ck(j,b)|0)|0;return}function lh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=i;i=i+16|0;q=r;h=d+8|0;if(!(c[h>>2]|0)){i=r;return b|0}j=d+4|0;k=q+8|0;l=q+1|0;m=q+4|0;p=0;do{e=c[d>>2]|0;a:do if((e|0)!=(j|0)){f=e;while(1){if((c[f+84>>2]|0)==(p|0))break;e=c[f+4>>2]|0;if(!e)while(1){e=c[f+8>>2]|0;if((c[e>>2]|0)==(f|0))break;else f=e}else while(1){f=c[e>>2]|0;if(!f)break;else e=f}if((e|0)==(j|0))break a;else f=e}g=f+16|0;s=Td(b,16319,13)|0;t=a[g>>0]|0;e=(t&1)==0;t=Td(Td(s,e?g+1|0:c[f+24>>2]|0,e?(t&255)>>>1:c[f+20>>2]|0)|0,16333,6)|0;e=f+52|0;g=a[e>>0]|0;s=(g&1)==0;Td(t,s?e+1|0:c[f+60>>2]|0,s?(g&255)>>>1:c[f+56>>2]|0)|0;if(qk(e,16141)|0){u=Td(b,16340,9)|0;g=f+28|0;t=a[g>>0]|0;s=(t&1)==0;Td(u,s?g+1|0:c[f+36>>2]|0,s?(t&255)>>>1:c[f+32>>2]|0)|0}if((qk(e,16263)|0)==0?(n=c[f+72>>2]|0,o=c[f+76>>2]|0,(n|0)!=(o|0)):0){g=n;do{Uj(q,g);s=Td(b,16350,5)|0;u=a[q>>0]|0;t=(u&1)==0;Td(s,t?l:c[k>>2]|0,t?(u&255)>>>1:c[m>>2]|0)|0;Zj(q);g=g+12|0}while((g|0)!=(o|0))}if(!(qk(e,16103)|0)){u=Td(b,16356,5)|0;u=Td(Zl(u,c[f+64>>2]|0)|0,16362,5)|0;Zl(u,c[f+68>>2]|0)|0}}while(0);p=p+1|0}while(p>>>0<(c[h>>2]|0)>>>0);i=r;return b|0}function mh(a,b){a=a|0;b=b|0;var d=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;Vj(a+24|0,16141,6);d=a+36|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[a+60>>2]=b;return}function nh(d,e){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;m=d+24|0;if(qk(m,16141)|0?(n=a[e>>0]|0,(((n&1)==0?(n&255)>>>1:c[e+4>>2]|0)|0)==0):0)return d|0;if(((qk(m,16155)|0)==0?qk(e,22158)|0:0)?qk(e,22163)|0:0)return d|0;if(!(qk(m,16263)|0)){f=c[d+44>>2]|0;n=c[d+48>>2]|0;a:do if((f|0)!=(n|0)){j=a[e>>0]|0;k=(j&1)==0;j=k?(j&255)>>>1:c[e+4>>2]|0;k=k?e+1|0:c[e+8>>2]|0;l=(j|0)==0;do{i=b[f>>1]|0;g=(i&1)==0;h=(i&254)>>>1;i=(i&65535)>>>8&255;do if(((g?h:c[f+4>>2]|0)|0)==(j|0)){if(!g)if(!(zh(c[f+8>>2]|0,k,j)|0))break a;else break;if(l)break a;if(i<<24>>24==(a[k>>0]|0)){g=f+1|0;i=k;do{h=h+-1|0;g=g+1|0;if(!h)break a;i=i+1|0}while((a[g>>0]|0)==(a[i>>0]|0))}}while(0);f=f+12|0}while((f|0)!=(n|0));return d|0}while(0);if((f|0)==(n|0))return d|0}if(!(qk(m,16103)|0)){n=Ck(e,0,10)|0;if((n|0)<(c[d+36>>2]|0))return d|0;n=Ck(e,0,10)|0;if((n|0)>(c[d+40>>2]|0))return d|0}if(qk(m,16141)|0)_j(d+12|0,e)|0;f=c[d+60>>2]|0;if(!f)return d|0;zb[f&255](d);return d|0}function oh(a){a=a|0;var b=0,d=0;b=i;i=i+16|0;d=b;c[d>>2]=c[a+60>>2];a=ph(kb(6,d|0)|0)|0;i=b;return a|0}function ph(a){a=a|0;if(a>>>0>4294963200){c[(qh()|0)>>2]=0-a;a=-1}return a|0}function qh(){var a=0;if(!(c[302453]|0))a=1209856;else a=c[(Xa()|0)+64>>2]|0;return a|0}function rh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+80|0;f=g;c[b+36>>2]=6;if((c[b>>2]&64|0)==0?(c[f>>2]=c[b+60>>2],c[f+4>>2]=21505,c[f+8>>2]=g+12,ab(54,f|0)|0):0)a[b+75>>0]=-1;f=sh(b,d,e)|0;i=g;return f|0}function sh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+48|0;n=q+16|0;m=q;e=q+32|0;o=a+28|0;f=c[o>>2]|0;c[e>>2]=f;p=a+20|0;f=(c[p>>2]|0)-f|0;c[e+4>>2]=f;c[e+8>>2]=b;c[e+12>>2]=d;k=a+60|0;l=a+44|0;b=2;f=f+d|0;while(1){if(!(c[302453]|0)){c[n>>2]=c[k>>2];c[n+4>>2]=e;c[n+8>>2]=b;h=ph(tb(146,n|0)|0)|0}else{lb(149,a|0);c[m>>2]=c[k>>2];c[m+4>>2]=e;c[m+8>>2]=b;h=ph(tb(146,m|0)|0)|0;ua(0)}if((f|0)==(h|0)){f=6;break}if((h|0)<0){f=8;break}f=f-h|0;g=c[e+4>>2]|0;if(h>>>0<=g>>>0)if((b|0)==2){c[o>>2]=(c[o>>2]|0)+h;j=g;b=2}else j=g;else{j=c[l>>2]|0;c[o>>2]=j;c[p>>2]=j;j=c[e+12>>2]|0;h=h-g|0;e=e+8|0;b=b+-1|0}c[e>>2]=(c[e>>2]|0)+h;c[e+4>>2]=j-h}if((f|0)==6){n=c[l>>2]|0;c[a+16>>2]=n+(c[a+48>>2]|0);a=n;c[o>>2]=a;c[p>>2]=a}else if((f|0)==8){c[a+16>>2]=0;c[o>>2]=0;c[p>>2]=0;c[a>>2]=c[a>>2]|32;if((b|0)==2)d=0;else d=d-(c[e+4>>2]|0)|0}i=q;return d|0}function th(a){a=a|0;if(!(c[a+68>>2]|0))uh(a);return}function uh(a){a=a|0;return}function vh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+32|0;g=f;e=f+20|0;c[g>>2]=c[a+60>>2];c[g+4>>2]=0;c[g+8>>2]=b;c[g+12>>2]=e;c[g+16>>2]=d;if((ph(pb(140,g|0)|0)|0)<0){c[e>>2]=-1;a=-1}else a=c[e>>2]|0;i=f;return a|0}function wh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;m=i;i=i+48|0;h=m+16|0;g=m;f=m+32|0;c[f>>2]=d;j=f+4|0;l=b+48|0;n=c[l>>2]|0;c[j>>2]=e-((n|0)!=0&1);k=b+44|0;c[f+8>>2]=c[k>>2];c[f+12>>2]=n;if(!(c[302453]|0)){c[h>>2]=c[b+60>>2];c[h+4>>2]=f;c[h+8>>2]=2;f=ph(mb(145,h|0)|0)|0}else{lb(150,b|0);c[g>>2]=c[b+60>>2];c[g+4>>2]=f;c[g+8>>2]=2;f=ph(mb(145,g|0)|0)|0;ua(0)}if((f|0)>=1){j=c[j>>2]|0;if(f>>>0>j>>>0){g=c[k>>2]|0;h=b+4|0;c[h>>2]=g;c[b+8>>2]=g+(f-j);if(!(c[l>>2]|0))f=e;else{c[h>>2]=g+1;a[d+(e+-1)>>0]=a[g>>0]|0;f=e}}}else{c[b>>2]=c[b>>2]|f&48^16;c[b+8>>2]=0;c[b+4>>2]=0}i=m;return f|0}function xh(a){a=a|0;if(!(c[a+68>>2]|0))uh(a);return}function yh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d&255;f=(e|0)!=0;a:do if(f&(b&3|0)!=0){g=d&255;while(1){if((a[b>>0]|0)==g<<24>>24){i=6;break a}b=b+1|0;e=e+-1|0;f=(e|0)!=0;if(!(f&(b&3|0)!=0)){i=5;break}}}else i=5;while(0);if((i|0)==5)if(f)i=6;else e=0;b:do if((i|0)==6){g=d&255;if((a[b>>0]|0)!=g<<24>>24){f=_(h,16843009)|0;c:do if(e>>>0>3)while(1){h=c[b>>2]^f;if((h&-2139062144^-2139062144)&h+-16843009|0)break;b=b+4|0;e=e+-4|0;if(e>>>0<=3){i=11;break c}}else i=11;while(0);if((i|0)==11)if(!e){e=0;break}while(1){if((a[b>>0]|0)==g<<24>>24)break b;b=b+1|0;e=e+-1|0;if(!e){e=0;break}}}}while(0);return (e|0?b:0)|0}function zh(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if(!d)d=0;else{f=d;e=b;while(1){b=a[e>>0]|0;d=a[c>>0]|0;if(b<<24>>24!=d<<24>>24)break;f=f+-1|0;if(!f){d=0;break a}else{e=e+1|0;c=c+1|0}}d=(b&255)-(d&255)|0}while(0);return d|0}function Ah(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0;k=i;i=i+112|0;j=k;c[j>>2]=0;g=j+4|0;c[g>>2]=a;c[j+44>>2]=a;h=j+8|0;c[h>>2]=(a|0)<0?-1:a+2147483647|0;c[j+76>>2]=-1;Bh(j,0);e=Ch(j,d,1,e,f)|0;if(b|0)c[b>>2]=a+((c[g>>2]|0)+(c[j+108>>2]|0)-(c[h>>2]|0));i=k;return e|0}function Bh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a+104>>2]=b;d=c[a+8>>2]|0;e=c[a+4>>2]|0;f=d-e|0;c[a+108>>2]=f;if((b|0)!=0&(f|0)>(b|0))c[a+100>>2]=e+b;else c[a+100>>2]=d;return}function Ch(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:do if(e>>>0>36){c[(qh()|0)>>2]=22;h=0;g=0}else{r=b+4|0;q=b+100|0;do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0}while((Gh(i)|0)!=0);b:do switch(i|0){case 43:case 45:{j=((i|0)==45)<<31>>31;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0;p=j;break b}else{i=Dh(b)|0;p=j;break b}}default:p=0}while(0);j=(e|0)==0;do if((e|16|0)==16&(i|0)==48){i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;if((i|32|0)!=120)if(j){e=8;n=46;break}else{n=32;break}e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;i=d[e>>0]|0}else i=Dh(b)|0;if((d[16369+i>>0]|0)>15){g=(c[q>>2]|0)==0;if(!g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){Bh(b,0);h=0;g=0;break a}if(g){h=0;g=0;break a}c[r>>2]=(c[r>>2]|0)+-1;h=0;g=0;break a}else{e=16;n=46}}else{e=j?10:e;if((d[16369+i>>0]|0)>>>0<e>>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;Bh(b,0);c[(qh()|0)>>2]=22;h=0;g=0;break a}}while(0);if((n|0)==32)if((e|0)==10){e=i+-48|0;if(e>>>0<10){i=0;while(1){j=(i*10|0)+e|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;i=d[e>>0]|0}else i=Dh(b)|0;e=i+-48|0;if(!(e>>>0<10&j>>>0<429496729)){e=j;break}else i=j}j=0}else{e=0;j=0}f=i+-48|0;if(f>>>0<10){while(1){k=Ku(e|0,j|0,10,0)|0;l=C;m=((f|0)<0)<<31>>31;o=~m;if(l>>>0>o>>>0|(l|0)==(o|0)&k>>>0>~f>>>0){k=e;break}e=yu(k|0,l|0,f|0,m|0)|0;j=C;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;f=i+-48|0;if(!(f>>>0<10&(j>>>0<429496729|(j|0)==429496729&e>>>0<2576980378))){k=e;break}}if(f>>>0>9){i=k;e=p}else{e=10;n=72}}else{i=e;e=p}}else n=46;c:do if((n|0)==46){if(!(e+-1&e)){n=a[16625+((e*23|0)>>>5&7)>>0]|0;j=a[16369+i>>0]|0;f=j&255;if(f>>>0<e>>>0){i=0;while(1){k=f|i<<n;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;j=a[16369+i>>0]|0;f=j&255;if(!(k>>>0<134217728&f>>>0<e>>>0))break;else i=k}f=0}else{f=0;k=0}l=zu(-1,-1,n|0)|0;m=C;if((j&255)>>>0>=e>>>0|(f>>>0>m>>>0|(f|0)==(m|0)&k>>>0>l>>>0)){j=f;n=72;break}else i=f;while(1){k=Au(k|0,i|0,n|0)|0;f=C;k=j&255|k;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;j=a[16369+i>>0]|0;if((j&255)>>>0>=e>>>0|(f>>>0>m>>>0|(f|0)==(m|0)&k>>>0>l>>>0)){j=f;n=72;break c}else i=f}}j=a[16369+i>>0]|0;f=j&255;if(f>>>0<e>>>0){i=0;while(1){k=f+(_(i,e)|0)|0;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;j=a[16369+i>>0]|0;f=j&255;if(!(k>>>0<119304647&f>>>0<e>>>0))break;else i=k}f=0}else{k=0;f=0}if((j&255)>>>0<e>>>0){n=Lu(-1,-1,e|0,0)|0;o=C;m=f;while(1){if(m>>>0>o>>>0|(m|0)==(o|0)&k>>>0>n>>>0){j=m;n=72;break c}f=Ku(k|0,m|0,e|0,0)|0;l=C;j=j&255;if(l>>>0>4294967295|(l|0)==-1&f>>>0>~j>>>0){j=m;n=72;break c}k=yu(j|0,0,f|0,l|0)|0;f=C;i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0;j=a[16369+i>>0]|0;if((j&255)>>>0>=e>>>0){j=f;n=72;break}else m=f}}else{j=f;n=72}}while(0);if((n|0)==72)if((d[16369+i>>0]|0)>>>0<e>>>0){do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=Dh(b)|0}while((d[16369+i>>0]|0)>>>0<e>>>0);c[(qh()|0)>>2]=34;j=h;i=g;e=(g&1|0)==0&0==0?p:0}else{i=k;e=p}if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;if(!(j>>>0<h>>>0|(j|0)==(h|0)&i>>>0<g>>>0)){if(!((g&1|0)!=0|0!=0|(e|0)!=0)){c[(qh()|0)>>2]=34;g=yu(g|0,h|0,-1,-1)|0;h=C;break}if(j>>>0>h>>>0|(j|0)==(h|0)&i>>>0>g>>>0){c[(qh()|0)>>2]=34;break}}g=((e|0)<0)<<31>>31;g=wu(i^e|0,j^g|0,e|0,g|0)|0;h=C}while(0);C=h;return g|0}function Dh(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=b+104|0;i=c[f>>2]|0;if((i|0)!=0?(c[b+108>>2]|0)>=(i|0):0)j=4;else{e=Eh(b)|0;if((e|0)>=0){f=c[f>>2]|0;i=c[b+8>>2]|0;if(f){h=c[b+4>>2]|0;f=f-(c[b+108>>2]|0)|0;g=i;if((i-h|0)<(f|0))j=9;else c[b+100>>2]=h+(f+-1)}else{g=i;j=9}if((j|0)==9)c[b+100>>2]=i;f=b+4|0;if(!g)f=c[f>>2]|0;else{f=c[f>>2]|0;b=b+108|0;c[b>>2]=g+1-f+(c[b>>2]|0)}f=f+-1|0;if((d[f>>0]|0|0)!=(e|0))a[f>>0]=e}else j=4}if((j|0)==4){c[b+100>>2]=0;e=-1}return e|0}function Eh(a){a=a|0;var b=0,e=0;e=i;i=i+16|0;b=e;if((c[a+8>>2]|0)==0?(Fh(a)|0)!=0:0)b=-1;else if((wb[c[a+32>>2]&31](a,b,1)|0)==1)b=d[b>>0]|0;else b=-1;i=e;return b|0}function Fh(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=b+20|0;e=b+44|0;if((c[d>>2]|0)>>>0>(c[e>>2]|0)>>>0)wb[c[b+36>>2]&31](b,0,0)|0;c[b+16>>2]=0;c[b+28>>2]=0;c[d>>2]=0;d=c[b>>2]|0;if(d&20)if(!(d&4))d=-1;else{c[b>>2]=d|32;d=-1}else{d=c[e>>2]|0;c[b+8>>2]=d;c[b+4>>2]=d;d=0}return d|0}function Gh(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function Hh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+128|0;g=n+112|0;m=n;h=m;j=6640;k=h+112|0;do{c[h>>2]=c[j>>2];h=h+4|0;j=j+4|0}while((h|0)<(k|0));if((d+-1|0)>>>0>2147483646)if(!d){d=1;l=4}else{c[(qh()|0)>>2]=75;d=-1}else{g=b;l=4}if((l|0)==4){l=-2-g|0;l=d>>>0>l>>>0?l:d;c[m+48>>2]=l;b=m+20|0;c[b>>2]=g;c[m+44>>2]=g;d=g+l|0;g=m+16|0;c[g>>2]=d;c[m+28>>2]=d;d=Jh(m,e,f)|0;if(l){e=c[b>>2]|0;a[e+(((e|0)==(c[g>>2]|0))<<31>>31)>>0]=0}}i=n;return d|0}function Ih(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+20|0;f=c[e>>2]|0;a=(c[a+16>>2]|0)-f|0;a=a>>>0>d>>>0?d:a;Bu(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function Jh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+224|0;o=s+120|0;r=s+80|0;q=s;p=s+136|0;f=r;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[o>>2]=c[e>>2];if((Kh(0,d,o,q,r)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)m=Vh(b)|0;else m=0;e=c[b>>2]|0;n=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){g=b+44|0;h=c[g>>2]|0;c[g>>2]=p;j=b+28|0;c[j>>2]=p;k=b+20|0;c[k>>2]=p;c[e>>2]=80;l=b+16|0;c[l>>2]=p+80;f=Kh(b,d,o,q,r)|0;if(h){wb[c[b+36>>2]&31](b,0,0)|0;f=(c[k>>2]|0)==0?-1:f;c[g>>2]=h;c[e>>2]=0;c[l>>2]=0;c[j>>2]=0;c[k>>2]=0}}else f=Kh(b,d,o,q,r)|0;e=c[b>>2]|0;c[b>>2]=e|n;if(m|0)uh(b);e=(e&32|0)==0?f:-1}i=s;return e|0}function Kh(e,f,g,j,l){e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;var m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;ia=i;i=i+624|0;da=ia+24|0;fa=ia+16|0;ea=ia+588|0;aa=ia+576|0;ca=ia;W=ia+536|0;ha=ia+8|0;ga=ia+528|0;M=(e|0)!=0;N=W+40|0;V=N;W=W+39|0;X=ha+4|0;Y=ea;Z=0-Y|0;$=aa+12|0;aa=aa+11|0;ba=$;O=ba-Y|0;P=-2-Y|0;Q=ba+2|0;R=da+288|0;S=ea+9|0;T=S;U=ea+8|0;m=0;o=0;n=0;y=f;a:while(1){do if((m|0)>-1)if((o|0)>(2147483647-m|0)){c[(qh()|0)>>2]=75;m=-1;break}else{m=o+m|0;break}while(0);f=a[y>>0]|0;if(!(f<<24>>24)){L=244;break}else o=y;b:while(1){switch(f<<24>>24){case 37:{f=o;L=9;break b}case 0:{f=o;break b}default:{}}K=o+1|0;f=a[K>>0]|0;o=K}c:do if((L|0)==9)while(1){L=0;if((a[f+1>>0]|0)!=37)break c;o=o+1|0;f=f+2|0;if((a[f>>0]|0)==37)L=9;else break}while(0);w=o-y|0;if(M?(c[e>>2]&32|0)==0:0)Lh(y,w,e)|0;if((o|0)!=(y|0)){o=w;y=f;continue}r=f+1|0;o=a[r>>0]|0;p=(o<<24>>24)+-48|0;if(p>>>0<10){K=(a[f+2>>0]|0)==36;r=K?f+3|0:r;o=a[r>>0]|0;u=K?p:-1;n=K?1:n}else u=-1;f=o<<24>>24;d:do if((f&-32|0)==32){p=0;while(1){if(!(1<<f+-32&75913)){s=p;break d}p=1<<(o<<24>>24)+-32|p;r=r+1|0;o=a[r>>0]|0;f=o<<24>>24;if((f&-32|0)!=32){s=p;break}}}else s=0;while(0);do if(o<<24>>24==42){o=r+1|0;f=(a[o>>0]|0)+-48|0;if(f>>>0<10?(a[r+2>>0]|0)==36:0){c[l+(f<<2)>>2]=10;n=1;r=r+3|0;f=c[j+((a[o>>0]|0)+-48<<3)>>2]|0}else{if(n|0){m=-1;break a}if(!M){v=s;n=0;r=o;K=0;break}n=(c[g>>2]|0)+(4-1)&~(4-1);f=c[n>>2]|0;c[g>>2]=n+4;n=0;r=o}if((f|0)<0){v=s|8192;K=0-f|0}else{v=s;K=f}}else{p=(o<<24>>24)+-48|0;if(p>>>0<10){f=r;o=0;do{o=(o*10|0)+p|0;f=f+1|0;p=(a[f>>0]|0)+-48|0}while(p>>>0<10);if((o|0)<0){m=-1;break a}else{v=s;r=f;K=o}}else{v=s;K=0}}while(0);e:do if((a[r>>0]|0)==46){f=r+1|0;o=a[f>>0]|0;if(o<<24>>24!=42){p=(o<<24>>24)+-48|0;if(p>>>0<10)o=0;else{s=0;break}while(1){o=(o*10|0)+p|0;f=f+1|0;p=(a[f>>0]|0)+-48|0;if(p>>>0>=10){s=o;break e}}}f=r+2|0;o=(a[f>>0]|0)+-48|0;if(o>>>0<10?(a[r+3>>0]|0)==36:0){c[l+(o<<2)>>2]=10;s=c[j+((a[f>>0]|0)+-48<<3)>>2]|0;f=r+4|0;break}if(n|0){m=-1;break a}if(M){J=(c[g>>2]|0)+(4-1)&~(4-1);s=c[J>>2]|0;c[g>>2]=J+4}else s=0}else{s=-1;f=r}while(0);t=0;while(1){o=(a[f>>0]|0)+-65|0;if(o>>>0>57){m=-1;break a}p=f+1|0;o=a[16634+(t*58|0)+o>>0]|0;r=o&255;if((r+-1|0)>>>0<8){f=p;t=r}else{J=p;break}}if(!(o<<24>>24)){m=-1;break}p=(u|0)>-1;do if(o<<24>>24==19)if(p){m=-1;break a}else L=52;else{if(p){c[l+(u<<2)>>2]=r;H=j+(u<<3)|0;I=c[H+4>>2]|0;L=ca;c[L>>2]=c[H>>2];c[L+4>>2]=I;L=52;break}if(!M){m=0;break a}Nh(ca,r,g)}while(0);if((L|0)==52?(L=0,!M):0){o=w;y=J;continue}u=a[f>>0]|0;u=(t|0)!=0&(u&15|0)==3?u&-33:u;p=v&-65537;I=(v&8192|0)==0?v:p;f:do switch(u|0){case 110:switch(t|0){case 0:{c[c[ca>>2]>>2]=m;o=w;y=J;continue a}case 1:{c[c[ca>>2]>>2]=m;o=w;y=J;continue a}case 2:{o=c[ca>>2]|0;c[o>>2]=m;c[o+4>>2]=((m|0)<0)<<31>>31;o=w;y=J;continue a}case 3:{b[c[ca>>2]>>1]=m;o=w;y=J;continue a}case 4:{a[c[ca>>2]>>0]=m;o=w;y=J;continue a}case 6:{c[c[ca>>2]>>2]=m;o=w;y=J;continue a}case 7:{o=c[ca>>2]|0;c[o>>2]=m;c[o+4>>2]=((m|0)<0)<<31>>31;o=w;y=J;continue a}default:{o=w;y=J;continue a}}case 112:{t=I|8;s=s>>>0>8?s:8;u=120;L=64;break}case 88:case 120:{t=I;L=64;break}case 111:{p=ca;o=c[p>>2]|0;p=c[p+4>>2]|0;if((o|0)==0&(p|0)==0)f=N;else{f=N;do{f=f+-1|0;a[f>>0]=o&7|48;o=zu(o|0,p|0,3)|0;p=C}while(!((o|0)==0&(p|0)==0))}if(!(I&8)){o=I;t=0;r=17114;L=77}else{t=V-f|0;o=I;s=(s|0)>(t|0)?s:t+1|0;t=0;r=17114;L=77}break}case 105:case 100:{o=ca;f=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)<0){f=wu(0,0,f|0,o|0)|0;o=C;p=ca;c[p>>2]=f;c[p+4>>2]=o;p=1;r=17114;L=76;break f}if(!(I&2048)){r=I&1;p=r;r=(r|0)==0?17114:17116;L=76}else{p=1;r=17115;L=76}break}case 117:{o=ca;f=c[o>>2]|0;o=c[o+4>>2]|0;p=0;r=17114;L=76;break}case 99:{a[W>>0]=c[ca>>2];f=W;u=1;w=0;v=17114;o=N;break}case 109:{o=Ph(c[(qh()|0)>>2]|0)|0;L=82;break}case 115:{o=c[ca>>2]|0;o=o|0?o:19016;L=82;break}case 67:{c[ha>>2]=c[ca>>2];c[X>>2]=0;c[ca>>2]=ha;f=ha;s=-1;L=86;break}case 83:{f=c[ca>>2]|0;if(!s){Qh(e,32,K,0,I);f=0;L=97}else L=86;break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{q=+h[ca>>3];c[fa>>2]=0;h[k>>3]=q;if((c[k+4>>2]|0)>=0)if(!(I&2048)){H=I&1;G=H;H=(H|0)==0?19024:19029}else{G=1;H=19026}else{q=-q;G=1;H=19023}h[k>>3]=q;F=c[k+4>>2]&2146435072;do if(F>>>0<2146435072|(F|0)==2146435072&0<0){x=+Th(q,fa)*2.0;o=x!=0.0;if(o)c[fa>>2]=(c[fa>>2]|0)+-1;D=u|32;if((D|0)==97){v=u&32;y=(v|0)==0?H:H+9|0;w=G|2;f=12-s|0;do if(!(s>>>0>11|(f|0)==0)){q=8.0;do{f=f+-1|0;q=q*16.0}while((f|0)!=0);if((a[y>>0]|0)==45){q=-(q+(-x-q));break}else{q=x+q-q;break}}else q=x;while(0);o=c[fa>>2]|0;f=(o|0)<0?0-o|0:o;f=Oh(f,((f|0)<0)<<31>>31,$)|0;if((f|0)==($|0)){a[aa>>0]=48;f=aa}a[f+-1>>0]=(o>>31&2)+43;t=f+-2|0;a[t>>0]=u+15;r=(s|0)<1;p=(I&8|0)==0;o=ea;while(1){H=~~q;f=o+1|0;a[o>>0]=d[17098+H>>0]|v;q=(q-+(H|0))*16.0;do if((f-Y|0)==1){if(p&(r&q==0.0))break;a[f>>0]=46;f=o+2|0}while(0);if(!(q!=0.0))break;else o=f}p=t;s=(s|0)!=0&(P+f|0)<(s|0)?Q+s-p|0:O-p+f|0;r=s+w|0;Qh(e,32,K,r,I);if(!(c[e>>2]&32))Lh(y,w,e)|0;Qh(e,48,K,r,I^65536);o=f-Y|0;if(!(c[e>>2]&32))Lh(ea,o,e)|0;f=ba-p|0;Qh(e,48,s-(o+f)|0,0,0);if(!(c[e>>2]&32))Lh(t,f,e)|0;Qh(e,32,K,r,I^8192);f=(r|0)<(K|0)?K:r;break}f=(s|0)<0?6:s;if(o){o=(c[fa>>2]|0)+-28|0;c[fa>>2]=o;q=x*268435456.0}else{q=x;o=c[fa>>2]|0}F=(o|0)<0?da:R;E=F;o=F;do{B=~~q>>>0;c[o>>2]=B;o=o+4|0;q=(q-+(B>>>0))*1.0e9}while(q!=0.0);p=o;o=c[fa>>2]|0;if((o|0)>0){s=F;while(1){t=(o|0)>29?29:o;r=p+-4|0;do if(r>>>0<s>>>0)r=s;else{o=0;do{B=Au(c[r>>2]|0,0,t|0)|0;B=yu(B|0,C|0,o|0,0)|0;o=C;A=Mu(B|0,o|0,1e9,0)|0;c[r>>2]=A;o=Lu(B|0,o|0,1e9,0)|0;r=r+-4|0}while(r>>>0>=s>>>0);if(!o){r=s;break}r=s+-4|0;c[r>>2]=o}while(0);while(1){if(p>>>0<=r>>>0)break;o=p+-4|0;if(!(c[o>>2]|0))p=o;else break}o=(c[fa>>2]|0)-t|0;c[fa>>2]=o;if((o|0)>0)s=r;else break}}else r=F;if((o|0)<0){y=((f+25|0)/9|0)+1|0;z=(D|0)==102;v=r;while(1){w=0-o|0;w=(w|0)>9?9:w;do if(v>>>0<p>>>0){o=(1<<w)+-1|0;s=1e9>>>w;r=0;t=v;do{B=c[t>>2]|0;c[t>>2]=(B>>>w)+r;r=_(B&o,s)|0;t=t+4|0}while(t>>>0<p>>>0);o=(c[v>>2]|0)==0?v+4|0:v;if(!r){r=o;break}c[p>>2]=r;r=o;p=p+4|0}else r=(c[v>>2]|0)==0?v+4|0:v;while(0);o=z?F:r;p=(p-o>>2|0)>(y|0)?o+(y<<2)|0:p;o=(c[fa>>2]|0)+w|0;c[fa>>2]=o;if((o|0)>=0){z=r;break}else v=r}}else z=r;do if(z>>>0<p>>>0){o=(E-z>>2)*9|0;s=c[z>>2]|0;if(s>>>0<10)break;else r=10;do{r=r*10|0;o=o+1|0}while(s>>>0>=r>>>0)}else o=0;while(0);A=(D|0)==103;B=(f|0)!=0;r=f-((D|0)!=102?o:0)+((B&A)<<31>>31)|0;if((r|0)<(((p-E>>2)*9|0)+-9|0)){t=r+9216|0;r=F+4+(((t|0)/9|0)+-1024<<2)|0;t=((t|0)%9|0)+1|0;if((t|0)<9){s=10;do{s=s*10|0;t=t+1|0}while((t|0)!=9)}else s=10;w=c[r>>2]|0;y=(w>>>0)%(s>>>0)|0;t=(r+4|0)==(p|0);do if(t&(y|0)==0)s=z;else{x=(((w>>>0)/(s>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;v=(s|0)/2|0;if(y>>>0<v>>>0)q=.5;else q=t&(y|0)==(v|0)?1.0:1.5;do if(G){if((a[H>>0]|0)!=45)break;x=-x;q=-q}while(0);t=w-y|0;c[r>>2]=t;if(!(x+q!=x)){s=z;break}D=t+s|0;c[r>>2]=D;if(D>>>0>999999999){o=z;while(1){s=r+-4|0;c[r>>2]=0;if(s>>>0<o>>>0){o=o+-4|0;c[o>>2]=0}D=(c[s>>2]|0)+1|0;c[s>>2]=D;if(D>>>0>999999999)r=s;else{v=o;r=s;break}}}else v=z;o=(E-v>>2)*9|0;t=c[v>>2]|0;if(t>>>0<10){s=v;break}else s=10;do{s=s*10|0;o=o+1|0}while(t>>>0>=s>>>0);s=v}while(0);D=r+4|0;z=s;p=p>>>0>D>>>0?D:p}w=0-o|0;while(1){if(p>>>0<=z>>>0){y=0;D=p;break}r=p+-4|0;if(!(c[r>>2]|0))p=r;else{y=1;D=p;break}}do if(A){f=(B&1^1)+f|0;if((f|0)>(o|0)&(o|0)>-5){u=u+-1|0;f=f+-1-o|0}else{u=u+-2|0;f=f+-1|0}p=I&8;if(p|0)break;do if(y){p=c[D+-4>>2]|0;if(!p){r=9;break}if(!((p>>>0)%10|0)){s=10;r=0}else{r=0;break}do{s=s*10|0;r=r+1|0}while(!((p>>>0)%(s>>>0)|0|0))}else r=9;while(0);p=((D-E>>2)*9|0)+-9|0;if((u|32|0)==102){p=p-r|0;p=(p|0)<0?0:p;f=(f|0)<(p|0)?f:p;p=0;break}else{p=p+o-r|0;p=(p|0)<0?0:p;f=(f|0)<(p|0)?f:p;p=0;break}}else p=I&8;while(0);v=f|p;s=(v|0)!=0&1;t=(u|32|0)==102;if(t){o=(o|0)>0?o:0;u=0}else{r=(o|0)<0?w:o;r=Oh(r,((r|0)<0)<<31>>31,$)|0;if((ba-r|0)<2)do{r=r+-1|0;a[r>>0]=48}while((ba-r|0)<2);a[r+-1>>0]=(o>>31&2)+43;E=r+-2|0;a[E>>0]=u;o=ba-E|0;u=E}w=G+1+f+s+o|0;Qh(e,32,K,w,I);if(!(c[e>>2]&32))Lh(H,G,e)|0;Qh(e,48,K,w,I^65536);do if(t){r=z>>>0>F>>>0?F:z;o=r;do{p=Oh(c[o>>2]|0,0,S)|0;do if((o|0)==(r|0)){if((p|0)!=(S|0))break;a[U>>0]=48;p=U}else{if(p>>>0<=ea>>>0)break;xu(ea|0,48,p-Y|0)|0;do p=p+-1|0;while(p>>>0>ea>>>0)}while(0);if(!(c[e>>2]&32))Lh(p,T-p|0,e)|0;o=o+4|0}while(o>>>0<=F>>>0);do if(v|0){if(c[e>>2]&32|0)break;Lh(19054,1,e)|0}while(0);if((f|0)>0&o>>>0<D>>>0){p=o;while(1){o=Oh(c[p>>2]|0,0,S)|0;if(o>>>0>ea>>>0){xu(ea|0,48,o-Y|0)|0;do o=o+-1|0;while(o>>>0>ea>>>0)}if(!(c[e>>2]&32))Lh(o,(f|0)>9?9:f,e)|0;p=p+4|0;o=f+-9|0;if(!((f|0)>9&p>>>0<D>>>0)){f=o;break}else f=o}}Qh(e,48,f+9|0,9,0)}else{t=y?D:z+4|0;if((f|0)>-1){s=(p|0)==0;r=z;do{o=Oh(c[r>>2]|0,0,S)|0;if((o|0)==(S|0)){a[U>>0]=48;o=U}do if((r|0)==(z|0)){p=o+1|0;if(!(c[e>>2]&32))Lh(o,1,e)|0;if(s&(f|0)<1){o=p;break}if(c[e>>2]&32|0){o=p;break}Lh(19054,1,e)|0;o=p}else{if(o>>>0<=ea>>>0)break;xu(ea|0,48,o+Z|0)|0;do o=o+-1|0;while(o>>>0>ea>>>0)}while(0);p=T-o|0;if(!(c[e>>2]&32))Lh(o,(f|0)>(p|0)?p:f,e)|0;f=f-p|0;r=r+4|0}while(r>>>0<t>>>0&(f|0)>-1)}Qh(e,48,f+18|0,18,0);if(c[e>>2]&32|0)break;Lh(u,ba-u|0,e)|0}while(0);Qh(e,32,K,w,I^8192);f=(w|0)<(K|0)?K:w}else{t=(u&32|0)!=0;s=q!=q|0.0!=0.0;o=s?0:G;r=o+3|0;Qh(e,32,K,r,p);f=c[e>>2]|0;if(!(f&32)){Lh(H,o,e)|0;f=c[e>>2]|0}if(!(f&32))Lh(s?(t?19065:19050):t?19042:19046,3,e)|0;Qh(e,32,K,r,I^8192);f=(r|0)<(K|0)?K:r}while(0);o=f;y=J;continue a}default:{f=y;p=I;u=s;w=0;v=17114;o=N}}while(0);g:do if((L|0)==64){p=ca;o=c[p>>2]|0;p=c[p+4>>2]|0;r=u&32;if(!((o|0)==0&(p|0)==0)){f=N;do{f=f+-1|0;a[f>>0]=d[17098+(o&15)>>0]|r;o=zu(o|0,p|0,4)|0;p=C}while(!((o|0)==0&(p|0)==0));L=ca;if((t&8|0)==0|(c[L>>2]|0)==0&(c[L+4>>2]|0)==0){o=t;t=0;r=17114;L=77}else{o=t;t=2;r=17114+(u>>4)|0;L=77}}else{f=N;o=t;t=0;r=17114;L=77}}else if((L|0)==76){f=Oh(f,o,N)|0;o=I;t=p;L=77}else if((L|0)==82){L=0;I=yh(o,0,s)|0;H=(I|0)==0;f=o;u=H?s:I-o|0;w=0;v=17114;o=H?o+s|0:I}else if((L|0)==86){L=0;p=0;o=0;t=f;while(1){r=c[t>>2]|0;if(!r)break;o=Rh(ga,r)|0;if((o|0)<0|o>>>0>(s-p|0)>>>0)break;p=o+p|0;if(s>>>0>p>>>0)t=t+4|0;else break}if((o|0)<0){m=-1;break a}Qh(e,32,K,p,I);if(!p){f=0;L=97}else{r=0;while(1){o=c[f>>2]|0;if(!o){f=p;L=97;break g}o=Rh(ga,o)|0;r=o+r|0;if((r|0)>(p|0)){f=p;L=97;break g}if(!(c[e>>2]&32))Lh(ga,o,e)|0;if(r>>>0>=p>>>0){f=p;L=97;break}else f=f+4|0}}}while(0);if((L|0)==97){L=0;Qh(e,32,K,f,I^8192);o=(K|0)>(f|0)?K:f;y=J;continue}if((L|0)==77){L=0;p=(s|0)>-1?o&-65537:o;o=ca;o=(c[o>>2]|0)!=0|(c[o+4>>2]|0)!=0;if((s|0)!=0|o){u=(o&1^1)+(V-f)|0;u=(s|0)>(u|0)?s:u;w=t;v=r;o=N}else{f=N;u=0;w=t;v=r;o=N}}t=o-f|0;r=(u|0)<(t|0)?t:u;s=w+r|0;o=(K|0)<(s|0)?s:K;Qh(e,32,o,s,p);if(!(c[e>>2]&32))Lh(v,w,e)|0;Qh(e,48,o,s,p^65536);Qh(e,48,r,t,0);if(!(c[e>>2]&32))Lh(f,t,e)|0;Qh(e,32,o,s,p^8192);y=J}h:do if((L|0)==244)if(!e)if(n){m=1;while(1){n=c[l+(m<<2)>>2]|0;if(!n)break;Nh(j+(m<<3)|0,n,g);m=m+1|0;if((m|0)>=10){m=1;break h}}if((m|0)<10)while(1){if(c[l+(m<<2)>>2]|0){m=-1;break h}m=m+1|0;if((m|0)>=10){m=1;break}}else m=1}else m=0;while(0);i=ia;return m|0}function Lh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(Mh(e)|0)){g=c[f>>2]|0;h=5}else f=0;else h=5;a:do if((h|0)==5){i=e+20|0;f=c[i>>2]|0;h=f;if((g-f|0)>>>0<d>>>0){f=wb[c[e+36>>2]&31](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){g=h;f=0;break b}g=f+-1|0;if((a[b+g>>0]|0)==10)break;else f=g}if((wb[c[e+36>>2]&31](e,b,f)|0)>>>0<f>>>0)break a;d=d-f|0;b=b+f|0;g=c[i>>2]|0}else{g=h;f=0}while(0);Bu(g|0,b|0,d|0)|0;c[i>>2]=(c[i>>2]|0)+d;f=f+d|0}while(0);return f|0}function Mh(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);d=0}else{c[b>>2]=d|32;d=-1}return d|0}function Nh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=b;break a}case 10:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;break a}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=0;break a}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);b=e;f=c[b>>2]|0;b=c[b+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=f;c[e+4>>2]=b;break a}case 13:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&65535)<<16>>16;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 14:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&65535;c[f+4>>2]=0;break a}case 15:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&255)<<24>>24;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 16:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&255;c[f+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}case 18:{f=(c[d>>2]|0)+(8-1)&~(8-1);g=+h[f>>3];c[d>>2]=f+8;h[a>>3]=g;break a}default:break a}while(0);while(0);return}function Oh(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295)while(1){e=Mu(b|0,c|0,10,0)|0;d=d+-1|0;a[d>>0]=e|48;e=Lu(b|0,c|0,10,0)|0;if(c>>>0>9|(c|0)==9&b>>>0>4294967295){b=e;c=C}else{b=e;break}}if(b)while(1){d=d+-1|0;a[d>>0]=(b>>>0)%10|0|48;if(b>>>0<10)break;else b=(b>>>0)/10|0}return d|0}function Ph(b){b=b|0;var c=0,e=0;c=0;while(1){if((d[17124+c>>0]|0)==(b|0)){e=2;break}c=c+1|0;if((c|0)==87){c=87;b=17212;e=5;break}}if((e|0)==2)if(!c)b=17212;else{b=17212;e=5}if((e|0)==5)while(1){e=b;while(1){b=e+1|0;if(!(a[e>>0]|0))break;else e=b}c=c+-1|0;if(!c)break;else e=5}return b|0}function Qh(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0;j=i;i=i+256|0;h=j;do if((d|0)>(e|0)&(f&73728|0)==0){f=d-e|0;xu(h|0,b|0,(f>>>0>256?256:f)|0)|0;b=c[a>>2]|0;g=(b&32|0)==0;if(f>>>0>255){e=d-e|0;do{if(g){Lh(h,256,a)|0;b=c[a>>2]|0}f=f+-256|0;g=(b&32|0)==0}while(f>>>0>255);if(g)f=e&255;else break}else if(!g)break;Lh(h,f,a)|0}while(0);i=j;return}function Rh(a,b){a=a|0;b=b|0;if(!a)a=0;else a=Sh(a,b,0)|0;return a|0}function Sh(b,d,e){b=b|0;d=d|0;e=e|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[(qh()|0)>>2]=84;b=-1;break}}else b=1;while(0);return b|0}function Th(a,b){a=+a;b=b|0;return +(+Uh(a,b))}function Uh(a,b){a=+a;b=b|0;var d=0,e=0,f=0;h[k>>3]=a;d=c[k>>2]|0;e=c[k+4>>2]|0;f=zu(d|0,e|0,52)|0;f=f&2047;switch(f|0){case 0:{if(a!=0.0){a=+Uh(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=f+-1022;c[k>>2]=d;c[k+4>>2]=e&-2146435073|1071644672;a=+h[k>>3]}}return +a}function Vh(a){a=a|0;return 0}function Wh(b,c){b=b|0;c=c|0;var d=0,e=0;e=a[b>>0]|0;d=a[c>>0]|0;if(e<<24>>24==0?1:e<<24>>24!=d<<24>>24)c=e;else{do{b=b+1|0;c=c+1|0;e=a[b>>0]|0;d=a[c>>0]|0}while(!(e<<24>>24==0?1:e<<24>>24!=d<<24>>24));c=e}return (c&255)-(d&255)|0}function Xh(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3))e=4;else{d=b;b=f;while(1){if(!(a[d>>0]|0))break a;d=d+1|0;b=d;if(!(b&3)){b=d;e=4;break}}}while(0);if((e|0)==4){while(1){d=c[b>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))b=b+4|0;else break}if((d&255)<<24>>24)do b=b+1|0;while((a[b>>0]|0)!=0)}return b-f|0}function Yh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;g=f;c[g>>2]=e;e=Hh(a,b,d,g)|0;i=f;return e|0}function Zh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;f=e;c[f>>2]=d;d=_h(a,b,f)|0;i=e;return d|0}function _h(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+112|0;e=g;f=e;h=f+112|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));c[e+32>>2]=28;c[e+44>>2]=a;c[e+76>>2]=-1;c[e+84>>2]=a;h=bi(e,b,d)|0;i=g;return h|0}function $h(a,b,c){a=a|0;b=b|0;c=c|0;return ai(a,b,c)|0}function ai(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a+84|0;g=c[e>>2]|0;h=d+256|0;f=yh(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0<d>>>0?f:d;Bu(b|0,g|0,d|0)|0;c[a+4>>2]=g+d;b=g+f|0;c[a+8>>2]=b;c[e>>2]=b;return d|0}
function Gf(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,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;X=i;i=i+16|0;O=X+8|0;M=X;W=a+5364|0;p=c[W>>2]|0;if((p|0)==8?xf(a,b)|0:0){a=1;i=X;return a|0}V=(b&131072|0)==0;h=V?b&49152:131072;if((h|0)==49152){a=(e|0)<1;i=X;return a|0}E=b>>>6&63;o=V?E:64;T=b&63;n=(h|0)==131072;if(n)f=b>>>18&15;else f=c[a+(o<<2)>>2]|0;j=f&7;g=f>>3;a:do if((p|0)==2){U=c[a+(o<<2)>>2]>>3;D=a+(T<<2)|0;S=b&180224;if((S|0)==32768|(S|0)!=49152&(c[D>>2]|0)!=0){T=28864+(T<<3)|0;S=a+256|0;R=a+264|0;l=24960+(o<<3)|0;k=(c[R>>2]^c[S>>2])&c[T>>2]&~c[l>>2];l=(c[R+4>>2]^c[S+4>>2])&c[T+4>>2]&~c[l+4>>2];T=a+320+((U^1)<<3)|0;S=a+304|0;if(!((c[S>>2]&c[T>>2]&k|0)==0?(c[S+4>>2]&c[T+4>>2]&l|0)==0:0)){f=1;break}m=a+272|0;n=c[1243]|0;o=a+280|0;p=c[1244]|0;q=a+288|0;r=c[1245]|0;s=a+296|0;t=c[1246]|0;u=a+272|0;v=c[1243]|0;w=a+280|0;x=c[1244]|0;y=a+288|0;z=c[1245]|0;A=a+296|0;j=c[1246]|0;h=0;B=0;do{g=a+320+(B<<3)|0;f=c[g>>2]&k;g=c[g+4>>2]&l;if((B|0)==(U|0)){T=m;S=f&c[T>>2];T=g&c[T+4>>2];R=zu(S|0,T|0,16)|0;Q=zu(S|0,T|0,48)|0;Q=h-(_(n,(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+Q>>0]|0)|0)|0)|0;T=o;S=f&c[T>>2];T=g&c[T+4>>2];R=zu(S|0,T|0,16)|0;h=zu(S|0,T|0,48)|0;h=Q-(_(p,(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+h>>0]|0)|0)|0)|0;T=q;S=f&c[T>>2];T=g&c[T+4>>2];R=zu(S|0,T|0,16)|0;Q=zu(S|0,T|0,48)|0;Q=h-(_(r,(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+Q>>0]|0)|0)|0)|0;T=s;S=f&c[T>>2];T=g&c[T+4>>2];R=zu(S|0,T|0,16)|0;h=zu(S|0,T|0,48)|0;h=Q-(_(t,(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+h>>0]|0)|0)|0)|0}else{T=u;S=f&c[T>>2];T=g&c[T+4>>2];R=zu(S|0,T|0,16)|0;Q=zu(S|0,T|0,48)|0;h=(_(v,(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+Q>>0]|0)|0)|0)+h|0;Q=w;T=f&c[Q>>2];Q=g&c[Q+4>>2];S=zu(T|0,Q|0,16)|0;R=zu(T|0,Q|0,48)|0;h=(_(x,(d[1213348+(S&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+(Q&65535)>>0]|0)+(d[1213348+R>>0]|0)|0)|0)+h|0;R=y;Q=f&c[R>>2];R=g&c[R+4>>2];T=zu(Q|0,R|0,16)|0;S=zu(Q|0,R|0,48)|0;h=(_(z,(d[1213348+(T&65535)>>0]|0)+(d[1213348+(Q&65535)>>0]|0)+(d[1213348+(R&65535)>>0]|0)+(d[1213348+S>>0]|0)|0)|0)+h|0;S=A;R=f&c[S>>2];S=g&c[S+4>>2];Q=zu(R|0,S|0,16)|0;T=zu(R|0,S|0,48)|0;h=(_(j,(d[1213348+(Q&65535)>>0]|0)+(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+T>>0]|0)|0)|0)+h|0}B=B+1|0}while((B|0)!=2);g=c[W>>2]|0;if(V)f=c[a+(E<<2)>>2]|0;else f=b>>>18&15;f=((c[4708+(g<<7)+(c[D>>2]<<2)>>2]|0)+h-(c[4708+(g<<7)+(f<<2)>>2]|0)|0)>=(e|0);break}if((e|0)<=0){r=a+256|0;p=c[r>>2]|0;r=c[r+4>>2]|0;o=24960+(o<<3)|0;l=c[o>>2]|0;o=c[o+4>>2]|0;w=l^p;F=o^r;J=O;c[J>>2]=w;c[J+4>>2]=F;J=30400+(T<<3)|0;I=a+320|0;m=a+264|0;g=c[m>>2]|0;m=c[m+4>>2]|0;G=26304+(T<<3)|0;H=a+328|0;L=26816+(T<<3)|0;P=a+272|0;K=P;Q=22912+(T<<3)|0;O=23424+(T<<3)|0;O=(_(c[Q+4>>2]&F,c[O+4>>2]|0)|0)^(_(c[Q>>2]&w,c[O>>2]|0)|0);O=(c[1095812+(T<<2)>>2]|0)+(O>>>(c[1096068+(T<<2)>>2]|0)<<3)|0;Q=a+288|0;t=Q;s=c[t>>2]|0;t=c[t+4>>2]|0;R=a+296|0;j=R;h=c[j>>2]|0;j=c[j+4>>2]|0;S=23936+(T<<3)|0;x=24448+(T<<3)|0;x=(_(c[S+4>>2]&F,c[x+4>>2]|0)|0)^(_(c[S>>2]&w,c[x>>2]|0)|0);x=(c[1096324+(T<<2)>>2]|0)+(x>>>(c[1096580+(T<<2)>>2]|0)<<3)|0;S=a+280|0;v=S;u=c[v>>2]|0;v=c[v+4>>2]|0;k=28864+(T<<3)|0;f=c[k>>2]|0;k=c[k+4>>2]|0;N=a+304|0;M=c[N>>2]|0;N=c[N+4>>2]|0;q=a+320+((U^1)<<3)|0;n=c[q>>2]|0;q=c[q+4>>2]|0;w=w&~M&n&(c[G>>2]&g&c[H>>2]|c[I>>2]&c[J>>2]&g|c[K>>2]&c[L>>2]|(h|s)&c[O>>2]|(u|h)&c[x>>2]|M&f);x=F&~N&q&(c[G+4>>2]&m&c[H+4>>2]|c[I+4>>2]&c[J+4>>2]&m|c[K+4>>2]&c[L+4>>2]|(j|t)&c[O+4>>2]|(v|j)&c[x+4>>2]|N&k);O=a+320+(U<<3)|0;if((w|0)==0&(x|0)==0)f=1;else{L=(g^p)&f&~l;K=(m^r)&k&~o;J=M&n;I=N&q;H=a+(E<<2)|0;G=b>>>18&15;m=s;l=t;k=u;g=v;f=2;while(1){F=fb(w|0,x|0,0)|0;v=yu(w|0,x|0,-1,-1)|0;w=v&w;x=C&x;v=24960+(F<<3)|0;u=L&~c[v>>2];v=K&~c[v+4>>2];if((J&u|0)==0&(I&v|0)==0){T=O;if(!((u&M&c[T>>2]|0)==0?(v&N&c[T+4>>2]|0)==0:0)){f=0;break a}y=4708+(f<<7)+8|0;z=4708+(f<<7)+12|0;A=4708+(f<<7)+16|0;B=4708+(f<<7)+20|0;D=4708+(f<<7)+8|0;E=4708+(f<<7)+12|0;b=4708+(f<<7)+16|0;r=4708+(f<<7)+20|0;t=P;s=c[t>>2]|0;t=c[t+4>>2]|0;o=g;g=0;q=0;do{n=a+320+(q<<3)|0;f=c[n>>2]&u;n=c[n+4>>2]&v;Y=f&s;T=n&t;Z=zu(Y|0,T|0,16)|0;p=zu(Y|0,T|0,48)|0;p=(d[1213348+(Z&65535)>>0]|0)+(d[1213348+(Y&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+p>>0]|0)|0;if((q|0)==(U|0)){j=g-(_(c[y>>2]|0,p)|0)|0;o=S;k=c[o>>2]|0;o=c[o+4>>2]|0;m=f&k;l=n&o;h=zu(m|0,l|0,16)|0;Z=zu(m|0,l|0,48)|0;Z=j-(_(c[z>>2]|0,(d[1213348+(h&65535)>>0]|0)+(d[1213348+(m&65535)>>0]|0)+(d[1213348+(l&65535)>>0]|0)+(d[1213348+Z>>0]|0)|0)|0)|0;l=Q;m=c[l>>2]|0;l=c[l+4>>2]|0;h=f&m;j=n&l;Y=zu(h|0,j|0,16)|0;p=zu(h|0,j|0,48)|0;p=Z-(_(c[A>>2]|0,(d[1213348+(Y&65535)>>0]|0)+(d[1213348+(h&65535)>>0]|0)+(d[1213348+(j&65535)>>0]|0)+(d[1213348+p>>0]|0)|0)|0)|0;j=R;h=c[j>>2]|0;j=c[j+4>>2]|0;Y=f&h;Z=n&j;T=zu(Y|0,Z|0,16)|0;g=zu(Y|0,Z|0,48)|0;g=p-(_(c[B>>2]|0,(d[1213348+(T&65535)>>0]|0)+(d[1213348+(Y&65535)>>0]|0)+(d[1213348+(Z&65535)>>0]|0)+(d[1213348+g>>0]|0)|0)|0)|0}else{g=(_(c[D>>2]|0,p)|0)+g|0;Z=f&k;Y=n&o;T=zu(Z|0,Y|0,16)|0;p=zu(Z|0,Y|0,48)|0;g=(_(c[E>>2]|0,(d[1213348+(T&65535)>>0]|0)+(d[1213348+(Z&65535)>>0]|0)+(d[1213348+(Y&65535)>>0]|0)+(d[1213348+p>>0]|0)|0)|0)+g|0;p=f&m;Y=n&l;Z=zu(p|0,Y|0,16)|0;T=zu(p|0,Y|0,48)|0;g=(_(c[b>>2]|0,(d[1213348+(Z&65535)>>0]|0)+(d[1213348+(p&65535)>>0]|0)+(d[1213348+(Y&65535)>>0]|0)+(d[1213348+T>>0]|0)|0)|0)+g|0;T=f&h;Y=n&j;p=zu(T|0,Y|0,16)|0;Z=zu(T|0,Y|0,48)|0;g=(_(c[r>>2]|0,(d[1213348+(p&65535)>>0]|0)+(d[1213348+(T&65535)>>0]|0)+(d[1213348+(Y&65535)>>0]|0)+(d[1213348+Z>>0]|0)|0)|0)+g|0}q=q+1|0}while((q|0)!=2);n=c[W>>2]|0;if(V)f=c[H>>2]|0;else f=G;if(((c[4708+(n<<7)+(c[a+(F<<2)>>2]<<2)>>2]|0)+g-(c[4708+(n<<7)+(f<<2)>>2]|0)|0)<(e|0)){f=0;break a}else{g=o;f=n}}if((w|0)==0&(x|0)==0){f=1;break}}}}else f=0}else{if((h|0)==32768){m=24960+(T-((g|0)==0?8:-8)<<3)|0;l=c[m>>2]|0;m=c[m+4>>2]|0;f=O;c[f>>2]=l;c[f+4>>2]=m;f=c[4708+(p<<7)+4>>2]|0}else{f=c[4708+(p<<7)+(c[a+(T<<2)>>2]<<2)>>2]|0;l=O;c[l>>2]=0;c[l+4>>2]=0;l=0;m=0}if((f|0)>=(e|0))if(!((j|0)==6&(p|0)!=1)?(q=f-(c[4708+(p<<7)+(j<<2)>>2]|0)|0,(q|0)<(e|0)):0){K=a+256|0;j=K;f=c[j>>2]|0;j=c[j+4>>2]|0;k=24960+(T<<3)|0;h=c[k>>2]|0;k=c[k+4>>2]|0;if(n){h=h^f;f=k^j}else{Z=24960+(o<<3)|0;h=c[Z>>2]^f^h;f=c[Z+4>>2]^j^k}s=h^l;t=f^m;Q=O;c[Q>>2]=s;c[Q+4>>2]=t;Q=30400+(T<<3)|0;P=a+320|0;J=a+264|0;R=J;n=c[R>>2]|0;R=c[R+4>>2]|0;r=26304+(T<<3)|0;v=a+328|0;U=26816+(T<<3)|0;w=a+272|0;S=w;x=22912+(T<<3)|0;z=x;y=23424+(T<<3)|0;Y=y;Y=(_(c[z+4>>2]&t,c[Y+4>>2]|0)|0)^(_(c[z>>2]&s,c[Y>>2]|0)|0);z=1096068+(T<<2)|0;A=1095812+(T<<2)|0;Y=(c[A>>2]|0)+(Y>>>(c[z>>2]|0)<<3)|0;B=a+288|0;V=B;D=a+296|0;f=D;o=c[f>>2]|0;f=c[f+4>>2]|0;E=23936+(T<<3)|0;F=E;b=24448+(T<<3)|0;u=b;u=(_(c[F+4>>2]&t,c[u+4>>2]|0)|0)^(_(c[F>>2]&s,c[u>>2]|0)|0);F=1096580+(T<<2)|0;G=1096324+(T<<2)|0;u=(c[G>>2]|0)+(u>>>(c[F>>2]|0)<<3)|0;H=a+280|0;Z=H;I=28864+(T<<3)|0;h=a+304|0;s=(c[r>>2]&n&c[v>>2]|c[P>>2]&c[Q>>2]&n|c[S>>2]&c[U>>2]|(o|c[V>>2])&c[Y>>2]|(c[Z>>2]|o)&c[u>>2]|c[h>>2]&c[I>>2])&s;t=(c[r+4>>2]&R&c[v+4>>2]|c[P+4>>2]&c[Q+4>>2]&R|c[S+4>>2]&c[U+4>>2]|(f|c[V+4>>2])&c[Y+4>>2]|(c[Z+4>>2]|f)&c[u+4>>2]|c[h+4>>2]&c[I+4>>2])&t;I=M;c[I>>2]=s;c[I+4>>2]=t;I=a+5356|0;h=p;u=q;f=1;while(1){v=g^1;k=a+320+(v<<3)|0;j=c[k>>2]&s;k=c[k+4>>2]&t;l=(h|0)==1;if(!l?(L=c[I>>2]|0,Y=L+360+(v<<3)|0,Z=O,(c[Y>>2]&~c[Z>>2]|0)==0?(c[Y+4>>2]&~c[Z+4>>2]|0)==0:0):0){Z=L+344+(v<<3)|0;j=j&~c[Z>>2];k=k&~c[Z+4>>2]}if((j|0)==0&(k|0)==0)break;do if(!l){m=J;l=c[m>>2]&j;m=c[m+4>>2]&k;if(!((l|0)==0&(m|0)==0)){Y=wu(0,0,l|0,m|0)|0;Z=O;Y=c[Z>>2]^l&Y;Z=c[Z+4>>2]^m&C;U=O;c[U>>2]=Y;c[U+4>>2]=Z;U=E;V=b;V=(_(c[U+4>>2]&Z,c[V+4>>2]|0)|0)^(_(c[U>>2]&Y,c[V>>2]|0)|0);V=(c[G>>2]|0)+(V>>>(c[F>>2]|0)<<3)|0;U=H;S=D;Z=((c[S+4>>2]|c[U+4>>2])&c[V+4>>2]|t)&Z;g=M;c[g>>2]=((c[S>>2]|c[U>>2])&c[V>>2]|s)&Y;c[g+4>>2]=Z;g=1;break}m=w;l=c[m>>2]&j;m=c[m+4>>2]&k;if(!((l|0)==0&(m|0)==0)){Y=wu(0,0,l|0,m|0)|0;Z=O;Y=c[Z>>2]^l&Y;Z=c[Z+4>>2]^m&C;g=O;c[g>>2]=Y;c[g+4>>2]=Z;g=M;c[g>>2]=s&Y;c[g+4>>2]=t&Z;g=2;break}r=H;q=c[r>>2]|0;r=c[r+4>>2]|0;l=q&j;m=r&k;if(!((l|0)==0&(m|0)==0)){Y=wu(0,0,l|0,m|0)|0;Z=O;Y=c[Z>>2]^l&Y;Z=c[Z+4>>2]^m&C;U=O;c[U>>2]=Y;c[U+4>>2]=Z;U=E;V=b;V=(_(c[U+4>>2]&Z,c[V+4>>2]|0)|0)^(_(c[U>>2]&Y,c[V>>2]|0)|0);V=(c[G>>2]|0)+(V>>>(c[F>>2]|0)<<3)|0;U=D;Z=((c[U+4>>2]|r)&c[V+4>>2]|t)&Z;g=M;c[g>>2]=((c[U>>2]|q)&c[V>>2]|s)&Y;c[g+4>>2]=Z;g=3;break}p=B;o=c[p>>2]|0;p=c[p+4>>2]|0;l=o&j;m=p&k;if(!((l|0)==0&(m|0)==0)){Y=wu(0,0,l|0,m|0)|0;Z=O;Y=c[Z>>2]^l&Y;Z=c[Z+4>>2]^m&C;U=O;c[U>>2]=Y;c[U+4>>2]=Z;U=x;V=y;V=(_(c[U+4>>2]&Z,c[V+4>>2]|0)|0)^(_(c[U>>2]&Y,c[V>>2]|0)|0);V=(c[A>>2]|0)+(V>>>(c[z>>2]|0)<<3)|0;U=D;Z=((c[U+4>>2]|p)&c[V+4>>2]|t)&Z;g=M;c[g>>2]=((c[U>>2]|o)&c[V>>2]|s)&Y;c[g+4>>2]=Z;g=4;break}n=D;m=c[n>>2]|0;n=c[n+4>>2]|0;l=m&j;j=n&k;if((l|0)==0&(j|0)==0){j=6;N=60}else{Y=wu(0,0,l|0,j|0)|0;Z=O;Y=c[Z>>2]^l&Y;Z=c[Z+4>>2]^j&C;g=O;c[g>>2]=Y;c[g+4>>2]=Z;g=E;V=b;V=(_(c[g+4>>2]&Z,c[V+4>>2]|0)|0)^(_(c[g>>2]&Y,c[V>>2]|0)|0);V=(c[G>>2]|0)+(V>>>(c[F>>2]|0)<<3)|0;g=x;U=y;U=(_(c[g+4>>2]&Z,c[U+4>>2]|0)|0)^(_(c[g>>2]&Y,c[U>>2]|0)|0);U=(c[A>>2]|0)+(U>>>(c[z>>2]|0)<<3)|0;Z=((n|p)&c[U+4>>2]|((n|r)&c[V+4>>2]|t))&Z;g=M;c[g>>2]=((m|o)&c[U>>2]|((m|q)&c[V>>2]|s))&Y;c[g+4>>2]=Z;g=5}}else{j=Hf(K,T,j,k,O,M)|0;h=c[W>>2]|0;N=60}while(0);if((N|0)==60){N=0;if((j|0)==6&(h|0)!=1){N=61;break}else g=j}g=c[4708+(h<<7)+(g<<2)>>2]|0;if(f){f=g+u|0;if((f|0)<(e|0)){f=0;break}else{g=f;f=0}}else{f=u-g|0;if((f|0)<(e|0)){g=f;f=1}else{f=1;break}}t=M;s=c[t>>2]|0;t=c[t+4>>2]|0;u=g;g=v}if((N|0)==61){Z=M;Y=a+320+(g<<3)|0;f=f^(c[Y>>2]&c[Z>>2]|0?1:(c[Y+4>>2]&c[Z+4>>2]|0)!=0)^1}}else f=1;else f=0}while(0);Z=f;i=X;return Z|0}function Hf(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;k=a+40|0;h=k;i=c[h>>2]&d;h=c[h+4>>2]&e;if(!((i|0)==0&(h|0)==0)){d=wu(0,0,i|0,h|0)|0;e=f;d=c[e>>2]^i&d;e=c[e+4>>2]^h&C;h=f;c[h>>2]=d;c[h+4>>2]=e;h=23936+(b<<3)|0;i=24448+(b<<3)|0;i=(_(c[h+4>>2]&e,c[i+4>>2]|0)|0)^(_(c[h>>2]&d,c[i>>2]|0)|0);i=(c[1096324+(b<<2)>>2]|0)+(i>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;h=a+24|0;d=k;e=g;j=(c[d>>2]|c[h>>2])&c[i>>2]|c[e>>2];e=(c[d+4>>2]|c[h+4>>2])&c[i+4>>2]|c[e+4>>2];i=g;c[i>>2]=j;c[i+4>>2]=e;i=f;h=22912+(b<<3)|0;d=23424+(b<<3)|0;d=(_(c[h+4>>2]&c[i+4>>2],c[d+4>>2]|0)|0)^(_(c[h>>2]&c[i>>2],c[d>>2]|0)|0);b=(c[1095812+(b<<2)>>2]|0)+(d>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;a=a+32|0;d=k;k=(c[d>>2]|c[a>>2])&c[b>>2]|j;b=(c[d+4>>2]|c[a+4>>2])&c[b+4>>2]|e;a=g;c[a>>2]=k;c[a+4>>2]=b;a=f;f=b&c[a+4>>2];b=g;c[b>>2]=k&c[a>>2];c[b+4>>2]=f;b=5;return b|0}h=a+32|0;j=h;i=c[j>>2]&d;j=c[j+4>>2]&e;if(!((i|0)==0&(j|0)==0)){e=wu(0,0,i|0,j|0)|0;d=f;e=c[d>>2]^i&e;j=c[d+4>>2]^j&C;d=f;c[d>>2]=e;c[d+4>>2]=j;d=22912+(b<<3)|0;a=23424+(b<<3)|0;a=(_(c[d+4>>2]&j,c[a+4>>2]|0)|0)^(_(c[d>>2]&e,c[a>>2]|0)|0);a=(c[1095812+(b<<2)>>2]|0)+(a>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;e=h;d=k;b=g;k=(c[d>>2]|c[e>>2])&c[a>>2]|c[b>>2];b=(c[d+4>>2]|c[e+4>>2])&c[a+4>>2]|c[b+4>>2];a=g;c[a>>2]=k;c[a+4>>2]=b;a=f;f=b&c[a+4>>2];b=g;c[b>>2]=k&c[a>>2];c[b+4>>2]=f;b=4;return b|0}j=a+24|0;i=j;h=c[i>>2]&d;i=c[i+4>>2]&e;if(!((h|0)==0&(i|0)==0)){e=wu(0,0,h|0,i|0)|0;d=f;e=c[d>>2]^h&e;i=c[d+4>>2]^i&C;d=f;c[d>>2]=e;c[d+4>>2]=i;d=23936+(b<<3)|0;a=24448+(b<<3)|0;a=(_(c[d+4>>2]&i,c[a+4>>2]|0)|0)^(_(c[d>>2]&e,c[a>>2]|0)|0);a=(c[1096324+(b<<2)>>2]|0)+(a>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;e=j;d=k;b=g;k=(c[d>>2]|c[e>>2])&c[a>>2]|c[b>>2];b=(c[d+4>>2]|c[e+4>>2])&c[a+4>>2]|c[b+4>>2];a=g;c[a>>2]=k;c[a+4>>2]=b;a=f;f=b&c[a+4>>2];b=g;c[b>>2]=k&c[a>>2];c[b+4>>2]=f;b=3;return b|0}i=a+16|0;h=c[i>>2]&d;i=c[i+4>>2]&e;if(!((h|0)==0&(i|0)==0)){a=wu(0,0,h|0,i|0)|0;b=f;a=c[b>>2]^h&a;b=c[b+4>>2]^i&C;k=f;c[k>>2]=a;c[k+4>>2]=b;k=g;f=c[k+4>>2]&b;b=g;c[b>>2]=c[k>>2]&a;c[b+4>>2]=f;b=2;return b|0}i=a+8|0;h=c[i>>2]&d;i=c[i+4>>2]&e;if(!((h|0)==0&(i|0)==0)){e=wu(0,0,h|0,i|0)|0;d=f;e=c[d>>2]^h&e;i=c[d+4>>2]^i&C;d=f;c[d>>2]=e;c[d+4>>2]=i;d=23936+(b<<3)|0;a=24448+(b<<3)|0;a=(_(c[d+4>>2]&i,c[a+4>>2]|0)|0)^(_(c[d>>2]&e,c[a>>2]|0)|0);a=(c[1096324+(b<<2)>>2]|0)+(a>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;e=j;d=k;b=g;k=(c[d>>2]|c[e>>2])&c[a>>2]|c[b>>2];b=(c[d+4>>2]|c[e+4>>2])&c[a+4>>2]|c[b+4>>2];a=g;c[a>>2]=k;c[a+4>>2]=b;a=f;f=b&c[a+4>>2];b=g;c[b>>2]=k&c[a>>2];c[b+4>>2]=f;b=1;return b|0}k=a+48|0;if((c[k>>2]&d|0)==0?(c[k+4>>2]&e|0)==0:0){b=0;return b|0}b=If(a,b,d,e,f,g)|0;return b|0}function If(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=a+48|0;i=c[h>>2]&d;h=c[h+4>>2]&e;if((i|0)==0&(h|0)==0){b=Hf(a,b,d,e,f,g)|0;return b|0}else{k=wu(0,0,i|0,h|0)|0;d=f;k=c[d>>2]^i&k;d=c[d+4>>2]^h&C;e=f;c[e>>2]=k;c[e+4>>2]=d;e=23936+(b<<3)|0;j=24448+(b<<3)|0;j=(_(c[e+4>>2]&d,c[j+4>>2]|0)|0)^(_(c[e>>2]&k,c[j>>2]|0)|0);j=(c[1096324+(b<<2)>>2]|0)+(j>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;k=a+24|0;e=a+40|0;d=e;h=g;i=(c[d>>2]|c[k>>2])&c[j>>2]|c[h>>2];h=(c[d+4>>2]|c[k+4>>2])&c[j+4>>2]|c[h+4>>2];j=g;c[j>>2]=i;c[j+4>>2]=h;j=f;k=22912+(b<<3)|0;d=23424+(b<<3)|0;d=(_(c[k+4>>2]&c[j+4>>2],c[d+4>>2]|0)|0)^(_(c[k>>2]&c[j>>2],c[d>>2]|0)|0);b=(c[1095812+(b<<2)>>2]|0)+(d>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;a=a+32|0;i=(c[e>>2]|c[a>>2])&c[b>>2]|i;b=(c[e+4>>2]|c[a+4>>2])&c[b+4>>2]|h;a=g;c[a>>2]=i;c[a+4>>2]=b;a=f;f=b&c[a+4>>2];b=g;c[b>>2]=i&c[a>>2];c[b+4>>2]=f;b=6;return b|0}return 0}function Jf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+4112|0;d=g;e=a+5356|0;f=c[e>>2]|0;b=c[f+28>>2]|0;do if((b|0)>99){f=f+64|0;if((c[f>>2]|0)==0&(c[f+4>>2]|0)==0){a=1;i=g;return a|0}a=Qe(a,d)|0;c[d+4096>>2]=a;if((a|0)==(d|0)){b=c[e>>2]|0;f=b;b=c[b+28>>2]|0;break}else{a=1;i=g;return a|0}}while(0);a=c[f+32>>2]|0;b=(a|0)<(b|0)?a:b;if((b|0)<=1){a=0;i=g;return a|0}e=f+56|0;d=0;while(1){f=c[(c[f+336>>2]|0)+336>>2]|0;if(!f){b=0;d=11;break}h=f+56|0;a=e;if((c[h>>2]|0)==(c[a>>2]|0)?(c[h+4>>2]|0)==(c[a+4>>2]|0):0){d=d+1|0;if((d|0)==2){b=1;d=11;break}}b=b+-2|0;if((b|0)<=1){b=0;d=11;break}}if((d|0)==11){i=g;return b|0}return 0}function Kf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;v=i;i=i+224|0;l=v+208|0;s=v+196|0;u=v+184|0;t=v+40|0;k=v+24|0;f=v+12|0;h=v;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;ef(k,b);m=t+8|0;c[m>>2]=3092;q=t+12|0;c[t>>2]=3296;r=t+64|0;c[r>>2]=3316;c[t+4>>2]=0;Ml(t+64|0,q);c[t+136>>2]=0;c[t+140>>2]=-1;c[t>>2]=3072;c[t+64>>2]=3112;c[m>>2]=3092;Ol(q);c[q>>2]=3128;m=t+44|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[t+60>>2]=24;Sd(q,k);Zj(k);k=s+4|0;n=u+4|0;o=u+8|0;p=u+1|0;d=f+8|0;e=f+1|0;g=f+4|0;j=7;while(1){w=(j|0)>0;Lf(t,u,w?47:32)|0;x=a[s>>0]|0;x=(((x&1)==0?(x&255)>>>1:c[k>>2]|0)|0)==0?15898:15032;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;y=a[u>>0]|0;z=(y&1)==0;y=z?(y&255)>>>1:c[n>>2]|0;rk(f,z?p:c[o>>2]|0,y,y+1|0);hk(f,x,1)|0;x=a[f>>0]|0;y=(x&1)==0;kk(s,0,y?e:c[d>>2]|0,y?(x&255)>>>1:c[g>>2]|0)|0;Zj(f);if(w)j=j+-1|0;else break}oe(t,u)|0;z=(qk(u,15069)|0)==0;ik(s,z?15024:15027)|0;oe(t,u)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;z=a[u>>0]|0;f=(z&1)==0;z=f?(z&255)>>>1:c[n>>2]|0;rk(h,f?p:c[o>>2]|0,z,z+1|0);hk(h,15898,1)|0;z=a[h>>0]|0;f=(z&1)==0;hk(s,f?h+1|0:c[h+8>>2]|0,f?(z&255)>>>1:c[h+4>>2]|0)|0;Zj(h);z=a[s>>0]|0;f=(z&1)==0;d=f?s+1|0:c[s+8>>2]|0;z=f?(z&255)>>>1:c[k>>2]|0;f=d+z|0;if(z|0){g=d;e=d;while(1){d=a[g>>0]|0;if(!(xi(d)|0))d=yi(d)|0;else d=wi(d)|0;a[e>>0]=d;g=g+1|0;if((g|0)==(f|0))break;else e=e+1|0}}oe(t,u)|0;if(!(qk(u,15030)|0))d=u;else d=nk(u,1,1,(a[((a[u>>0]&1)==0?p:c[o>>2]|0)+1>>0]|0)==51?15034:15036)|0;z=a[d>>0]|0;y=(z&1)==0;hk(s,y?d+1|0:c[d+8>>2]|0,y?(z&255)>>>1:c[d+4>>2]|0)|0;c[l>>2]=Nl(t+(c[(c[t>>2]|0)+-12>>2]|0)|0)|0;z=sm(l,1211488)|0;z=Jb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;Et(l);Lf(t,u,z)|0;z=a[u>>0]|0;y=(z&1)==0;hk(s,y?p:c[o>>2]|0,y?(z&255)>>>1:c[n>>2]|0)|0;lf(b,s,(a[b+5360>>0]|0)!=0,c[b+5364>>2]|0,c[b+5356>>2]|0,c[b+5352>>2]|0)|0;c[t>>2]=3072;c[r>>2]=3112;c[t+8>>2]=3092;c[q>>2]=3128;Zj(m);Pk(q);Lk(r);Zj(u);Zj(s);i=v;return}function Lf(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+16|0;l=m;Rl(l,b,1);if(!(a[l>>0]|0)){i=m;return b|0}if(!(a[e>>0]&1)){a[e+1>>0]=0;a[e>>0]=0;l=e+4|0}else{a[c[e+8>>2]>>0]=0;l=e+4|0;c[l>>2]=0}g=0;while(1){h=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;j=h+12|0;k=c[j>>2]|0;if((k|0)==(c[h+16>>2]|0)){h=Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;if((h|0)==-1){h=2;break}}else{c[j>>2]=k+1;h=d[k>>0]|0}g=g+1|0;h=h&255;if(h<<24>>24==f<<24>>24){h=0;break}jk(e,h);if((a[e>>0]&1)!=0&(c[l>>2]|0)==-17){h=4;break}}e=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;Ll(e,c[e+16>>2]|((g|0)==0?h|4:h));i=m;return b|0}function Mf(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[284247]=m;c[284246]=m;c[284248]=m+108;Uj(m,b);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,d);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,e);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,f);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,g);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,h);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,j);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,k);m=(c[284247]|0)+12|0;c[284247]=m;Uj(m,l);c[284247]=(c[284247]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);xu(1136996,0,144)|0;c[284285]=458736;c[284286]=-262143;c[284287]=524295;c[284288]=-131069;c[284289]=-262167;c[284290]=-327687;c[284291]=327699;c[284292]=262168;c[284293]=196586;c[284294]=196594;c[284295]=-524268;c[284296]=-196573;c[284297]=524277;c[284298]=589824;c[284299]=458755;c[284300]=-393195;c[284301]=524277;c[284302]=-327693;c[284303]=131066;c[284304]=262142;c[284305]=196599;c[284306]=-589809;c[284307]=65528;c[284308]=1179644;c[284309]=0;c[284310]=0;c[284311]=0;c[284312]=0;c[284313]=-6357135;c[284314]=-5374048;c[284315]=-3014736;c[284316]=-917577;c[284317]=-4522067;c[284318]=-3604523;c[284319]=-1114133;c[284320]=589814;c[284321]=-3276871;c[284322]=-2555926;c[284323]=-524288;c[284324]=1835017;c[284325]=-2687001;c[284326]=-1638382;c[284327]=458795;c[284328]=2490415;c[284329]=-3014682;c[284330]=-1638384;c[284331]=131110;c[284332]=2687026;c[284333]=-3604491;c[284334]=-2490331;c[284335]=-524232;c[284336]=1769543;c[284337]=-4194366;c[284338]=-3276817;c[284339]=-1572859;c[284340]=851982;c[284341]=-7209155;c[284342]=-5898306;c[284343]=-3276842;c[284344]=-851997;c[284345]=-4456502;c[284346]=-2621463;c[284347]=-3014691;c[284348]=-1835052;c[284349]=-2818078;c[284350]=-1114102;c[284351]=-1507326;c[284352]=-327689;c[284353]=-2097171;c[284354]=-589807;c[284355]=-851957;c[284356]=524289;c[284357]=-2359317;c[284358]=-851950;c[284359]=-983029;c[284360]=458752;c[284361]=-2359317;c[284362]=-917490;c[284363]=-1114106;c[284364]=196607;c[284365]=-2293787;c[284366]=-851962;c[284367]=-655358;c[284368]=65528;c[284369]=-2883617;c[284370]=-1376249;c[284371]=-1441796;c[284372]=-262156;c[284373]=-4259885;c[284374]=-2752533;c[284375]=-3014685;c[284376]=-1769511;c[284377]=-25;c[284378]=-16;c[284379]=-16;c[284380]=-9;c[284381]=-21;c[284382]=-8;c[284383]=-3;c[284384]=0;c[284385]=-21;c[284386]=-9;c[284387]=-4;c[284388]=2;c[284389]=-22;c[284390]=-6;c[284391]=-1;c[284392]=2;c[284393]=-22;c[284394]=-7;c[284395]=0;c[284396]=1;c[284397]=-21;c[284398]=-7;c[284399]=0;c[284400]=2;c[284401]=-12;c[284402]=4;c[284403]=8;c[284404]=12;c[284405]=-23;c[284406]=-15;c[284407]=-11;c[284408]=-5;c[284409]=-4587520;c[284410]=-3735555;c[284411]=-2686980;c[284412]=-1900545;c[284413]=-3801092;c[284414]=-1966074;c[284415]=-1376247;c[284416]=-262136;c[284417]=-2555906;c[284418]=-1114106;c[284419]=-458743;c[284420]=327689;c[284421]=-1900545;c[284422]=-327672;c[284423]=589834;c[284424]=1114119;c[284425]=-1769475;c[284426]=-327671;c[284427]=655368;c[284428]=1507335;c[284429]=-2621442;c[284430]=-1048570;c[284431]=-720888;c[284432]=196618;c[284433]=-3538946;c[284434]=-1966073;c[284435]=-1376249;c[284436]=-458746;c[284437]=-4915201;c[284438]=-3538948;c[284439]=-2883585;c[284440]=-1966080;c[284441]=1835299;c[284442]=4981080;c[284443]=6750502;c[284444]=7340251;c[284445]=4587809;c[284446]=7799113;c[284447]=11141383;c[284448]=10420429;c[284449]=7143650;c[284450]=10748175;c[284451]=12779722;c[284452]=12517512;c[284453]=8585420;c[284454]=12714196;c[284455]=12714159;c[284456]=13369481;c[284457]=8650929;c[284458]=12255437;c[284459]=14680207;c[284460]=14876766;c[284461]=7733395;c[284462]=11665596;c[284463]=13041777;c[284464]=12910662;c[284465]=4718708;c[284466]=7930014;c[284467]=9306205;c[284468]=10551344;c[284469]=1966174;c[284470]=4980856;c[284471]=6619214;c[284472]=7274527;c[284473]=0;c[284474]=1179692;c[284475]=2031657;c[284476]=131083;c[284477]=14;c[284478]=983065;b=1137916;c[b>>2]=0;c[b+4>>2]=0;i=a;return}function Nf(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0;f=0;do{d=1;do{a=4708+(f<<7)+(d<<2)|0;b=d^8;c[4708+(f<<7)+(b<<2)>>2]=c[a>>2];e=4708+(f<<7)+64+(d<<2)|0;c[4708+(f<<7)+64+(b<<2)>>2]=c[e>>2];a=(c[e>>2]<<16)+(c[a>>2]|0)|0;e=0;do{g=e&7;h=g^7;g=(c[1136996+(d<<7)+(e>>3<<4)+((h>>>0<g>>>0?h:g)<<2)>>2]|0)+a|0;c[1099544+(f*4160|0)+(d*260|0)+(e<<2)>>2]=g;c[1099544+(f*4160|0)+(b*260|0)+((e^56)<<2)>>2]=0-g;e=e+1|0}while((e|0)!=64);h=(c[1137892+(d<<2)>>2]|0)+a|0;c[1099544+(f*4160|0)+(d*260|0)+256>>2]=h;c[1099544+(f*4160|0)+(b*260|0)+256>>2]=0-h;d=d+1|0}while((d|0)!=7);f=f+1|0}while((f|0)!=9);return}function Of(a){a=a|0;tg(a);Qt(a);return}function Pf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+48|0;o=r+44|0;f=r+32|0;g=r;p=r+20|0;q=b+5508|0;d=c[q>>2]|0;c[284482]=d;Ig(1048784,1048616,d,c[b+5504>>2]|0);Vj(f,16108,8);e=((eh(Zd(1209784,f)|0)|0)*248|0)/100|0;Zj(f);c[1143904+(d<<2)>>2]=0-e;c[1143904+((d^1)<<2)>>2]=e;d=b+5528|0;e=c[d>>2]|0;f=b+5532|0;if((e|0)!=(c[f>>2]|0)){d=c[302398]|0;f=c[302399]|0;if((d|0)!=(f|0))do{e=c[d>>2]|0;if((e|0)!=(b|0))zg(e,0);d=d+4|0}while((d|0)!=(f|0));Wf(b);i=r;return}c[g>>2]=-32001;c[g+4>>2]=-32001;h=g+8|0;m=g+12|0;j=pu(4)|0;c[h>>2]=j;l=j+4|0;k=g+16|0;c[k>>2]=l;c[j>>2]=0;c[m>>2]=l;if(e>>>0>=(c[b+5536>>2]|0)>>>0){Qf(d,g);d=c[g+8>>2]|0;e=d;if(d|0){f=c[m>>2]|0;if((f|0)!=(d|0))c[m>>2]=f+(~((f+-4-e|0)>>>2)<<2);Qt(d)}}else{s=g;d=c[s+4>>2]|0;g=e;c[g>>2]=c[s>>2];c[g+4>>2]=d;c[e+8>>2]=j;c[e+12>>2]=l;c[e+16>>2]=l;c[k>>2]=0;c[m>>2]=0;c[h>>2]=0;c[f>>2]=(c[f>>2]|0)+20}d=(c[b+5516>>2]|0)+64|0;d=(c[d>>2]|0)==0&(c[d+4>>2]|0)==0?0:-32e3;f=c[b+5524>>2]|0;a:do switch(f|0){case 5:{e=c[b+560+((c[q>>2]<<3^14)<<8)>>2]|0;if(((e>>3)+-3|0)>>>0<2)d=((e&7)+-3|0)>>>0<2?-32e3:d;break}case 6:{d=c[q>>2]|0;s=d<<3;e=c[b+560+((s|6)<<8)>>2]|0;if((e&-8|0)==56?(c[b+560+((s^14)<<8)>>2]&-8|0)==56:0){d=0;n=15;break a}if((c[b+560+((d<<3^14)<<8)>>2]&-8|0)==56){d=(e>>3|0)<(((d|0)==0?7:6)|0)?-32e3:32e3;n=15}else{d=32e3;n=15}break}default:n=15}while(0);b:do if((n|0)==15)switch(f|0){case 4:{d=(c[b+496+(((c[b+520>>2]|0)!=0&1)<<3<<2)>>2]|0)==0?-32e3:d;break b}case 2:{d=(c[b+496+((c[q>>2]<<3|6)<<2)>>2]|0)==0?-32e3:d;break b}case 1:{d=(c[b+496+((c[q>>2]<<3^8)<<2)>>2]|0)==0?-32e3:32e3;break b}default:break b}while(0);m=Td(qe(1210452,0)|0,15038,19)|0;ah(p,d);s=a[p>>0]|0;n=(s&1)==0;s=Td(Td(m,n?p+1|0:c[p+8>>2]|0,n?(s&255)>>>1:c[p+4>>2]|0)|0,15058,10)|0;s=Td(s,(c[q>>2]|0)==0?15069:15071,1)|0;c[o>>2]=Nl(s+(c[(c[s>>2]|0)+-12>>2]|0)|0)|0;q=sm(o,1211488)|0;q=Jb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;Et(o);cm(s,q)|0;Sl(s)|0;Zj(p);Rf(b);i=r;return}function Qf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=a+4|0;f=c[a>>2]|0;e=(((c[j>>2]|0)-f|0)/20|0)+1|0;if(e>>>0>214748364)Ls(a);k=a+8|0;d=((c[k>>2]|0)-f|0)/20|0;if(d>>>0<107374182){d=d<<1;d=d>>>0<e>>>0?e:d;e=((c[j>>2]|0)-f|0)/20|0;if(!d){g=0;h=0}else i=6}else{d=214748364;e=((c[j>>2]|0)-f|0)/20|0;i=6}if((i|0)==6){g=d;h=pu(d*20|0)|0}f=h+(e*20|0)|0;d=f;i=h+(g*20|0)|0;m=b;l=c[m+4>>2]|0;g=f;c[g>>2]=c[m>>2];c[g+4>>2]=l;g=b+8|0;c[h+(e*20|0)+16>>2]=0;c[h+(e*20|0)+8>>2]=c[g>>2];l=b+12|0;c[h+(e*20|0)+12>>2]=c[l>>2];b=b+16|0;c[h+(e*20|0)+16>>2]=c[b>>2];c[b>>2]=0;c[l>>2]=0;c[g>>2]=0;h=f+20|0;g=c[a>>2]|0;e=c[j>>2]|0;if((e|0)==(g|0)){b=g;e=g}else{do{b=e;e=e+-20|0;n=e;m=c[n+4>>2]|0;l=f+-20|0;c[l>>2]=c[n>>2];c[l+4>>2]=m;l=f+-12|0;m=b+-12|0;c[l>>2]=0;n=f+-8|0;c[n>>2]=0;c[f+-4>>2]=0;c[l>>2]=c[m>>2];l=b+-8|0;c[n>>2]=c[l>>2];b=b+-4|0;c[f+-4>>2]=c[b>>2];c[b>>2]=0;c[l>>2]=0;c[m>>2]=0;f=d+-20|0;d=f}while((e|0)!=(g|0));b=c[a>>2]|0;e=c[j>>2]|0}c[a>>2]=d;c[j>>2]=h;c[k>>2]=i;i=b;if((e|0)!=(i|0)){d=e;do{e=c[d+-12>>2]|0;f=e;if(e|0){g=d+-8|0;h=c[g>>2]|0;if((h|0)!=(e|0))c[g>>2]=h+(~((h+-4-f|0)>>>2)<<2);Qt(e)}d=d+-20|0}while((d|0)!=(i|0))}if(!b)return;Qt(b);return}function Rf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+7008|0;s=u+5368|0;g=u+6992|0;h=u+6980|0;l=u+6968|0;m=u+6956|0;n=u+6944|0;o=u+6932|0;q=u;p=u+6920|0;t=u+6908|0;r=u+6896|0;if(c[262161]|0){e=c[1048636+(c[284482]<<2)>>2]|0;j=Dg(1209592)|0;j=wu(e|0,((e|0)<0)<<31>>31|0,j|0,C|0)|0;e=1048784;e=yu(j|0,C|0,c[e>>2]|0,c[e+4>>2]|0)|0;j=1048784;c[j>>2]=e;c[j+4>>2]=C}if((a[1213340]&1)==0?c[262166]|c[262167]|0:0){a[1213344]=1;sb(144,b|0,30);i=u;return}a[1213340]=1;d=c[302398]|0;j=c[302399]|0;if((d|0)!=(j|0))do{e=c[d>>2]|0;if((e|0)!=(b|0))yg(e);d=d+4|0}while((d|0)!=(j|0));do if(!(a[b+4240816>>0]|0)){Vj(g,16161,7);j=(eh(Zd(1209784,g)|0)|0)!=1;if(j|(c[262163]|0)!=0){Zj(g);d=b;break}Vj(h,16169,11);if((eh(Zd(1209784,h)|0)|0)<20){Zj(h);Zj(g);d=b;break}j=(c[c[(c[b+5528>>2]|0)+8>>2]>>2]|0)==0;Zj(h);Zj(g);if(!j?(f=c[302398]|0,k=c[302399]|0,(f|0)!=(k|0)):0){d=b;do{e=c[f>>2]|0;if((c[e+5544>>2]|0)>(c[d+5544>>2]|0))d=(c[c[e+5528>>2]>>2]|0)>(c[c[d+5528>>2]>>2]|0)?e:d;f=f+4|0}while((f|0)!=(k|0))}else d=b}else d=b;while(0);g=d+5528|0;c[b+4240832>>2]=c[c[g>>2]>>2];if((d|0)!=(b|0)){h=qe(1210452,0)|0;Tf(l,d+160|0,c[d+5544>>2]|0,-32001,32001);k=a[l>>0]|0;j=(k&1)==0;k=Td(h,j?l+1|0:c[l+8>>2]|0,j?(k&255)>>>1:c[l+4>>2]|0)|0;c[s>>2]=Nl(k+(c[(c[k>>2]|0)+-12>>2]|0)|0)|0;j=sm(s,1211488)|0;j=Jb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;Et(s);cm(k,j)|0;Sl(k)|0;Zj(l)}k=Td(qe(1210452,0)|0,15189,9)|0;e=b+160|0;f=b+5520|0;Wg(m,c[c[(c[g>>2]|0)+8>>2]>>2]|0,(a[f>>0]|0)!=0);l=a[m>>0]|0;d=(l&1)==0;Td(k,d?m+1|0:c[m+8>>2]|0,d?(l&255)>>>1:c[m+4>>2]|0)|0;Zj(m);l=Td(1210452,15199,13)|0;_g(n,e,c[c[(c[g>>2]|0)+8>>2]>>2]|0);d=a[n>>0]|0;m=(d&1)==0;Td(l,m?n+1|0:c[n+8>>2]|0,m?(d&255)>>>1:c[n+4>>2]|0)|0;Zj(n);d=c[g>>2]|0;if(!((c[d+12>>2]|0)-(c[d+8>>2]|0)>>2>>>0<=1?!(Uf(d,e)|0):0)){l=Td(1210452,15213,8)|0;Wg(o,c[(c[(c[g>>2]|0)+8>>2]|0)+4>>2]|0,(a[f>>0]|0)!=0);n=a[o>>0]|0;m=(n&1)==0;Td(l,m?o+1|0:c[o+8>>2]|0,m?(n&255)>>>1:c[o+4>>2]|0)|0;Zj(o);Bu(q|0,e|0,5368)|0;n=c[c[(c[g>>2]|0)+8>>2]>>2]|0;zf(q,n,s,xf(q,n)|0);n=Td(1210452,15222,11)|0;_g(p,q,c[(c[(c[g>>2]|0)+8>>2]|0)+4>>2]|0);q=a[p>>0]|0;o=(q&1)==0;Td(n,o?p+1|0:c[p+8>>2]|0,o?(q&255)>>>1:c[p+4>>2]|0)|0;Zj(p)}q=Td(1210452,15058,10)|0;Td(q,(c[b+5508>>2]|0)==0?15069:15071,1)|0;q=(c[c[(c[g>>2]|0)+8>>2]>>2]|0)==0;e=Td(1210452,15107,7)|0;if(q){b=(c[b+5516>>2]|0)+64|0;if((c[b>>2]|0)==0&(c[b+4>>2]|0)==0)d=0;else d=c[c[g>>2]>>2]|0;ah(t,d);b=a[t>>0]|0;r=(b&1)==0;Td(e,r?t+1|0:c[t+8>>2]|0,r?(b&255)>>>1:c[t+4>>2]|0)|0;Zj(t)}else{ah(r,c[c[g>>2]>>2]|0);t=a[r>>0]|0;b=(t&1)==0;Td(e,b?r+1|0:c[r+8>>2]|0,b?(t&255)>>>1:c[r+4>>2]|0)|0;Zj(r)}c[s>>2]=Nl(1210452+(c[(c[302613]|0)+-12>>2]|0)|0)|0;t=sm(s,1211488)|0;t=Jb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;Et(s);cm(1210452,t)|0;Sl(1210452)|0;i=u;return}function Sf(a){a=a|0;Rf(a);return}function Tf(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,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;$=i;i=i+7104|0;M=$+5368|0;_=$+6960|0;j=$+6944|0;N=$+6932|0;O=$+6920|0;W=$;T=$+6908|0;V=$+6896|0;X=_+8|0;c[X>>2]=3092;Y=_+12|0;c[_>>2]=3296;Z=_+64|0;c[Z>>2]=3316;c[_+4>>2]=0;Ml(_+64|0,Y);c[_+136>>2]=0;c[_+140>>2]=-1;c[_>>2]=3072;c[_+64>>2]=3112;c[X>>2]=3092;Ol(Y);c[Y>>2]=3128;X=_+44|0;c[X>>2]=0;c[X+4>>2]=0;c[X+8>>2]=0;c[X+12>>2]=0;c[_+60>>2]=24;c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;Sd(Y,M);Zj(M);if(!(c[262161]|0)){U=Kk()|0;U=Iu(U|0,C|0,1e6,0)|0;k=1048792;k=wu(U|0,C|0,c[k>>2]|0,c[k+4>>2]|0)|0}else k=Dg(1209592)|0;P=k+1|0;Q=d+5352|0;A=c[Q>>2]|0;R=A+5528|0;S=c[A+140>>2]|0;Vj(j,16161,7);U=eh(Zd(1209784,j)|0)|0;A=((c[A+5532>>2]|0)-(c[R>>2]|0)|0)/20|0;U=A>>>0<U>>>0?A:U;Zj(j);A=Dg(1209592)|0;B=C;if(!U){W=_+8|0;Wd(b,Y);c[_>>2]=3072;c[Z>>2]=3112;c[W>>2]=3092;c[Y>>2]=3128;Zj(X);Pk(Y);Lk(Z);i=$;return}z=(e|0)!=1;D=_+24|0;E=_+28|0;j=_+8|0;F=d+5348|0;G=N+8|0;H=N+1|0;I=N+4|0;J=Ku(A|0,B|0,1e3,0)|0;K=C;L=((P|0)<0)<<31>>31;s=(k|0)>999;t=T+8|0;u=T+1|0;v=T+4|0;w=V+8|0;x=V+1|0;y=V+4|0;o=d+5360|0;p=O+8|0;q=O+1|0;r=O+4|0;n=0;while(1){l=n>>>0<=S>>>0;if(z|l){m=c[R>>2]|0;m=l?c[m+(n*20|0)>>2]|0:c[m+(n*20|0)+4>>2]|0;k=c[D>>2]|0;d=c[E>>2]|0;if(k>>>0<d>>>0)k=d-k|0;else k=Db[c[(c[Y>>2]|0)+28>>2]&127](Y)|0;if(k|0)Td(j,15663,1)|0;aa=Td(Zl(Td(Td(j,15073,4)|0,15078,7)|0,((l^1)<<31>>31)+e|0)|0,15086,10)|0;k=n+1|0;aa=Td(_l(Td(Zl(aa,c[(c[Q>>2]|0)+144>>2]|0)|0,15097,9)|0,k)|0,15058,10)|0;aa=Td(Td(aa,(c[F>>2]|0)==0?15069:15071,1)|0,15107,7)|0;ah(N,m);l=a[N>>0]|0;d=(l&1)==0;Td(aa,d?H:c[G>>2]|0,d?(l&255)>>>1:c[I>>2]|0)|0;Zj(N);if((n|0)==(S|0)){aa=(m|0)<(g|0)?((m|0)<=(f|0)?15115:1280956):15127;Td(j,aa,Xh(aa)|0)|0}m=Td(am(Td(j,15139,7)|0,A,B)|0,15147,5)|0;aa=Lu(J|0,K|0,P|0,L|0)|0;am(m,aa,C)|0;if(s){aa=Td(j,15153,10)|0;Zl(aa,Ng(1209632)|0)|0}Td(Zl(Td(j,15164,6)|0,P)|0,15171,3)|0;l=c[R>>2]|0;d=c[l+(n*20|0)+8>>2]|0;l=c[l+(n*20|0)+12>>2]|0;if((d|0)!=(l|0))do{aa=c[d>>2]|0;ba=Td(j,15898,1)|0;Wg(O,aa,(a[o>>0]|0)!=0);aa=a[O>>0]|0;m=(aa&1)==0;Td(ba,m?q:c[p>>2]|0,m?(aa&255)>>>1:c[r>>2]|0)|0;Zj(O);d=d+4|0}while((d|0)!=(l|0));Bu(W|0,(c[Q>>2]|0)+160|0,5368)|0;aa=Td(j,15175,7)|0;_g(T,W,c[c[(c[R>>2]|0)+(n*20|0)+8>>2]>>2]|0);d=a[T>>0]|0;ba=(d&1)==0;Td(aa,ba?u:c[t>>2]|0,ba?(d&255)>>>1:c[v>>2]|0)|0;Zj(T);d=c[R>>2]|0;if((c[d+(n*20|0)+12>>2]|0)-(c[d+(n*20|0)+8>>2]|0)>>2>>>0>1){l=1;do{m=c[(c[d+(n*20|0)+8>>2]|0)+(l+-1<<2)>>2]|0;zf(W,m,M,xf(W,m)|0);m=Td(j,15898,1)|0;_g(V,W,c[(c[(c[R>>2]|0)+(n*20|0)+8>>2]|0)+(l<<2)>>2]|0);ba=a[V>>0]|0;aa=(ba&1)==0;Td(m,aa?x:c[w>>2]|0,aa?(ba&255)>>>1:c[y>>2]|0)|0;Zj(V);l=l+1|0;d=c[R>>2]|0}while(l>>>0<(c[d+(n*20|0)+12>>2]|0)-(c[d+(n*20|0)+8>>2]|0)>>2>>>0)}d=Td(j,15183,5)|0;l=c[302398]|0;if((c[302399]|0)==(l|0)){k=24;break}bm(d,+h[(c[l>>2]|0)+4240824>>3])|0}else k=n+1|0;if(k>>>0<U>>>0)n=k;else{k=7;break}}if((k|0)==7){Wd(b,Y);c[_>>2]=3072;c[Z>>2]=3112;c[j>>2]=3092;c[Y>>2]=3128;Zj(X);Pk(Y);Lk(Z);i=$;return}else if((k|0)==24)Ms(1209592)}function Uf(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0;m=i;i=i+5648|0;g=m+5632|0;l=m+5628|0;h=m+1528|0;k=b+8|0;f=c[c[k>>2]>>2]|0;if(!f){b=0;i=m;return b|0}zf(d,f,m,xf(d,f)|0);f=(c[d+5356>>2]|0)+56|0;f=Mg(1209632,c[f>>2]|0,c[f+4>>2]|0,g)|0;if(a[g>>0]|0){j=e[f+2>>1]|0;c[l>>2]=j;g=Qe(d,h)|0;c[h+4096>>2]=g;a:do if((h|0)!=(g|0)){f=h;while(1){if((c[f>>2]|0)==(j|0))break;f=f+8|0;if((f|0)==(g|0))break a}f=b+12|0;g=c[f>>2]|0;if((g|0)==(c[b+16>>2]|0)){Vf(k,l);break}else{c[g>>2]=j;c[f>>2]=g+4;break}}while(0)}Bf(d,c[c[k>>2]>>2]|0);b=(c[b+12>>2]|0)-(c[k>>2]|0)>>2>>>0>1;i=m;return b|0}function Vf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+4|0;j=c[a>>2]|0;d=((c[i>>2]|0)-j>>2)+1|0;if(d>>>0>1073741823)Ls(a);k=a+8|0;e=(c[k>>2]|0)-j|0;if(e>>2>>>0<536870911){f=e>>1;d=f>>>0<d>>>0?d:f;f=c[i>>2]|0;e=f-j>>2;if(!d){h=0;g=0;d=f}else l=6}else{e=c[i>>2]|0;d=1073741823;f=e;e=e-j>>2;l=6}if((l|0)==6){h=d;g=pu(d<<2)|0;d=f}l=g+(e<<2)|0;c[l>>2]=c[b>>2];f=d-j|0;b=l+(0-(f>>2)<<2)|0;Bu(b|0,j|0,f|0)|0;c[a>>2]=b;c[i>>2]=l+4;c[k>>2]=g+(h<<2);if(!j)return;Qt(j);return}function Wf(b){b=b|0;var e=0,f=0,g=0,j=0,k=0,l=0,m=0;l=i;i=i+32|0;f=l+12|0;k=l+24|0;g=l;e=c[302398]|0;if((c[302399]|0)==(e|0))Ms(1209592);do if((c[e>>2]|0)==(b|0))if((c[302399]|0)==(e|0))Ms(1209592);else{j=c[e>>2]|0;break}else j=0;while(0);if(c[262175]|0){e=c[262172]|0;c[284481]=(e|0)<6?6:e}xu(1137932,0,352)|0;c[b+5544>>2]=0;if(!j)e=0;else{e=(c[b+5516>>2]|0)+56|0;m=1048736;e=((c[m>>2]|0)==(c[e>>2]|0)?(c[m+4>>2]|0)==(c[e+4>>2]|0):0)?c[262188]|0:0;c[262182]=0;c[262184]=0;c[262185]=0;c[262186]=0;c[262187]=0;c[262188]=0;a[j+4240817>>0]=0;a[j+4240816>>0]=0;h[j+4240824>>3]=0.0;a[1209644]=(d[1209644]|0)+4}Vj(f,16161,7);m=eh(Zd(1209784,f)|0)|0;Zj(f);Vj(g,16169,11);f=eh(Zd(1209784,g)|0)|0;c[k>>2]=f;c[k+4>>2]=0;Zj(g);m=m>>>0<5&(f|0)<20?5:m;g=((c[b+5532>>2]|0)-(c[b+5528>>2]|0)|0)/20|0;c[285969]=-32001;c[285970]=-32001;c[285971]=32001;c[285972]=-32001;c[285973]=e;c[285974]=j;c[285968]=1138152;c[285975]=g>>>0<m>>>0?g:m;c[285978]=k;Xf(b);i=l;return}function Xf(b){b=b|0;var e=0,f=0,g=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0.0;T=i;i=i+3120|0;Q=T+16|0;L=T+3104|0;D=T+3100|0;E=T+3084|0;F=T+8|0;P=T;G=T+3088|0;H=T+3072|0;p=c[285969]|0;k=c[285970]|0;g=c[285971]|0;n=c[285972]|0;O=c[285973]|0;S=c[285974]|0;N=c[285968]|0;J=c[285978]|0;K=c[J+4>>2]|0;R=P;c[R>>2]=c[J>>2];c[R+4>>2]=K;R=c[285975]|0;K=b+5540|0;J=c[K>>2]|0;c[K>>2]=J+1;a:do if(!((J|0)>126|(J|0)>=(c[262173]|0))?(a[1213340]&1)==0:0){e=c[262163]|0;do if(e|0){f=c[302398]|0;if((c[302399]|0)!=(f|0))if((c[(c[f>>2]|0)+5540>>2]|0)>(e|0))break a;else break;else Ms(1209592)}while(0);B=(S|0)!=0;if(B){J=S+4240824|0;h[J>>3]=+h[J>>3]*.505;a[S+4240817>>0]=0}J=b+5528|0;e=c[J>>2]|0;I=b+5532|0;f=c[I>>2]|0;if((e|0)!=(f|0))do{c[e+4>>2]=c[e>>2];e=e+20|0}while((e|0)!=(f|0));r=b+140|0;c[r>>2]=0;b:do if(!R){q=k;o=g}else{s=b+160|0;A=B&(R|0)==1;t=G+8|0;u=G+1|0;v=G+4|0;w=S+4240817|0;x=H+8|0;y=H+1|0;z=H+4|0;e=k;while(1){if(a[1213340]&1){q=e;o=g;break b}f=c[K>>2]|0;if((f|0)>=5){g=c[(c[J>>2]|0)+((c[r>>2]|0)*20|0)+4>>2]|0;e=g+-18|0;g=g+18|0;e=(e|0)<-32001?-32001:e;g=(g|0)>32001?32001:g;n=18}while(1){p=Yf(s,N,e,g,f)|0;m=c[I>>2]|0;o=(c[J>>2]|0)+((c[r>>2]|0)*20|0)|0;l=m-o|0;q=(l|0)/20|0;if((l|0)>0){f=q;while(1){k=ru(f*20|0,1280957)|0;if(k|0){M=18;break}if((f|0)>1)f=(f|0)/2|0;else{k=0;f=0;break}}if((M|0)==18)M=0;l=k}else{l=0;f=0;k=0}c[D>>2]=o;c[E>>2]=m;c[L>>2]=c[D>>2];c[Q>>2]=c[E>>2];fg(L,Q,F,q,l,f);if(k|0)Qt(k);if(a[1213340]&1)break;if(A?!((p|0)>(e|0)&(p|0)<(g|0)):0){if(!(c[262161]|0)){q=Kk()|0;q=Iu(q|0,C|0,1e6,0)|0;f=1048792;f=wu(q|0,C|0,c[f>>2]|0,c[f+4>>2]|0)|0}else f=Dg(1209592)|0;if((f|0)>3e3){m=qe(1210452,0)|0;Tf(G,s,c[K>>2]|0,e,g);q=a[G>>0]|0;o=(q&1)==0;q=Td(m,o?u:c[t>>2]|0,o?(q&255)>>>1:c[v>>2]|0)|0;c[Q>>2]=Nl(q+(c[(c[q>>2]|0)+-12>>2]|0)|0)|0;o=sm(Q,1211488)|0;o=Jb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;Et(Q);cm(q,o)|0;Sl(q)|0;Zj(G)}}if((p|0)<=(e|0)){f=(e+g|0)/2|0;e=p-n|0;e=(e|0)<-32001?-32001:e;if(B){a[w>>0]=1;a[1213344]=0;g=f}else g=f}else{if((p|0)<(g|0))break;q=p+n|0;e=(e+g|0)/2|0;g=(q|0)>32001?32001:q}f=c[K>>2]|0;n=n+5+((n|0)/4|0)|0}o=c[J>>2]|0;m=o+((c[r>>2]|0)*20|0)+20|0;l=m-o|0;q=(l|0)/20|0;if((l|0)>0){f=q;while(1){k=ru(f*20|0,1280957)|0;if(k|0){M=39;break}if((f|0)>1)f=(f|0)/2|0;else{k=0;f=0;break}}if((M|0)==39)M=0;l=k}else{l=0;f=0;k=0}c[D>>2]=o;c[E>>2]=m;c[L>>2]=c[D>>2];c[Q>>2]=c[E>>2];fg(L,Q,F,q,l,f);if(k|0)Qt(k);do if(B){if((a[1213340]&1)==0?((c[r>>2]|0)+1|0)!=(R|0):0){if(!(c[262161]|0)){q=Kk()|0;q=Iu(q|0,C|0,1e6,0)|0;f=1048792;f=wu(q|0,C|0,c[f>>2]|0,c[f+4>>2]|0)|0}else f=Dg(1209592)|0;if((f|0)<=3e3)break}m=qe(1210452,0)|0;Tf(H,s,c[K>>2]|0,e,g);q=a[H>>0]|0;o=(q&1)==0;q=Td(m,o?y:c[x>>2]|0,o?(q&255)>>>1:c[z>>2]|0)|0;c[Q>>2]=Nl(q+(c[(c[q>>2]|0)+-12>>2]|0)|0)|0;o=sm(Q,1211488)|0;o=Jb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;Et(Q);cm(q,o)|0;Sl(q)|0;Zj(H)}while(0);q=(c[r>>2]|0)+1|0;c[r>>2]=q;if(q>>>0>=R>>>0){q=e;o=g;break}}}while(0);if(!(a[1213340]&1))c[b+5544>>2]=c[K>>2];M=c[262165]|0;if((p|0)>31743&(M|0)!=0?(32e3-p|0)<=(M<<1|0):0)a[1213340]=1;if(c[262175]|0?(c[K>>2]|0)>=(c[284481]|0):0){if(!(c[262161]|0)){M=Kk()|0;M=Iu(M|0,C|0,1e6,0)|0;e=1048792;e=wu(M|0,C|0,c[e>>2]|0,c[e+4>>2]|0)|0}else e=Dg(1209592)|0;if(+(e|0)>=+h[131089]?(U=+h[131090],j=U*10.0,M=(c[K>>2]|0)-(c[284481]|0)|0,U=U*+(((M|0)>1?M:1)|0),+h[S+4240824>>3]<(U<j?U:j)):0)a[1213340]=1}H=c[262164]|c[262165]|c[262163];L=1048672;M=c[262166]|0;do if((H|c[L>>2]|M|0)==0?(((H|0)<0)<<31>>31|c[L+4>>2]|((M|0)<0)<<31>>31|0)==0:0){do if((a[1213340]&1)==0?(a[1213344]&1)==0:0){g=(0-(d[S+4240817>>0]|0)&119)+357+(_(p-(c[S+4240832>>2]|0)|0,-6)|0)|0;g=(g|0)<715?g:715;g=(g|0)>229?g:229;U=+h[S+4240824>>3];j=U+1.0;e=c[J>>2]|0;if(U<.03?(c[c[e+8>>2]>>2]|0)==(O|0):0){if(!(c[262161]|0)){M=Kk()|0;M=Iu(M|0,C|0,1e6,0)|0;f=1048792;f=wu(M|0,C|0,c[f>>2]|0,c[f+4>>2]|0)|0}else f=Dg(1209592)|0;e=c[J>>2]|0;f=(f|0)>(((c[262200]|0)*5|0)/42|0|0)}else f=0;if(((c[I>>2]|0)-e|0)!=20){if(!(c[262161]|0)){M=Kk()|0;M=Iu(M|0,C|0,1e6,0)|0;e=1048792;e=wu(M|0,C|0,c[e>>2]|0,c[e+4>>2]|0)|0}else e=Dg(1209592)|0;if(!(+(e|0)>+(g|0)*(j*+(c[262200]|0))/628.0)?(a[S+4240816>>0]=f&1,!f):0)break}if((c[K>>2]|0)>=(c[262172]|0)){if(!(c[262161]|0)){M=Kk()|0;M=Iu(M|0,C|0,1e6,0)|0;e=1048792;e=wu(M|0,C|0,c[e>>2]|0,c[e+4>>2]|0)|0}else e=Dg(1209592)|0;if(+(e|0)>=+h[131089])if(!(c[262167]|0)){a[1213340]=1;break}else{a[1213344]=1;break}}}while(0);L=c[J>>2]|0;e=L+8|0;M=c[e>>2]|0;f=M;if((c[L+12>>2]|0)-M>>2>>>0<=2){c[262182]=0;c[262184]=0;c[262185]=0;c[262186]=0;c[262187]=0;c[262188]=0;break}g=b+160|0;k=f+8|0;M=(c[k>>2]|0)==(c[262188]|0);c[262182]=M?(c[262182]|0)+1|0:0;l=c[f>>2]|0;m=f+4|0;if((l|0)==(c[262186]|0)?!((c[m>>2]|0)!=(c[262187]|0)|M^1):0)break;c[262186]=l;c[262187]=c[m>>2];c[262188]=c[k>>2];L=c[f>>2]|0;zf(g,L,Q,xf(g,L)|0);L=c[(c[e>>2]|0)+4>>2]|0;zf(g,L,Q+1528|0,xf(g,L)|0);L=(c[b+5516>>2]|0)+56|0;M=c[L+4>>2]|0;Q=1048736;c[Q>>2]=c[L>>2];c[Q+4>>2]=M;Bf(g,c[(c[e>>2]|0)+4>>2]|0);Bf(g,c[c[e>>2]>>2]|0)}while(0);j=+h[131088];do if(j>0.0){if(!(c[262161]|0)){Q=Kk()|0;Q=Iu(Q|0,C|0,1e6,0)|0;e=1048792;e=wu(Q|0,C|0,c[e>>2]|0,c[e+4>>2]|0)|0}else e=Dg(1209592)|0;if(j<+(e|0))if(!(c[262167]|0)){a[1213340]=1;break}else{a[1213344]=1;break}}while(0);c[285969]=p;c[285970]=q;c[285971]=o;c[285972]=n;c[285973]=O;c[285974]=S;c[285968]=N;c[285975]=R;c[285978]=P;sb(145,b|0,-1);i=T;return}while(0);if(!((c[262182]|0)>=6?!(a[S+4240816>>0]|0):0)){c[262182]=0;c[262184]=0;c[262185]=0;c[262186]=0;c[262187]=0;c[262188]=0}if((c[P>>2]|0)<20){r=c[b+5528>>2]|0;e=c[b+5532>>2]|0;f=c[302398]|0;if((c[302399]|0)==(f|0))Ms(1209592);f=c[f>>2]|0;if((a[1048776]|0)==0?Ba(1048776)|0:0){O=Kk()|0;O=Iu(O|0,C|0,1e6,0)|0;b=1054832;c[b>>2]=O;c[b+4>>2]=C;Ia(1048776)}n=f+5528|0;f=c[n>>2]|0;o=c[f>>2]|0;p=o-(c[f+((R+-1|0)*20|0)>>2]|0)|0;p=(p|0)>188?188:p;q=120-(c[P>>2]<<1)|0;m=P+4|0;c:do if(R|0){l=o;g=0;k=-32001;while(1){if((l|0)<32001)switch(l|0){case -32001:break;default:M=114}else switch(l|0){case 32001:break;default:M=114}if((M|0)==114){M=0;if(g|0?(P=c[f+((g+-1|0)*20|0)>>2]|0,Vj(Q,16269,25),P=(P|0)>((((eh(Zd(1209784,Q)|0)|0)*188|0)/100|0)+l|0),Zj(Q),P):0)break c;f=_(o-l|0,q)|0;P=1054832;b=c[P>>2]|0;P=c[P+4>>2]|0;O=zu(b|0,P|0,12)|0;b=O^b;P=C^P;O=Au(b|0,P|0,25)|0;b=O^b;P=C^P;O=zu(b|0,P|0,27)|0;b=O^b;P=C^P;O=1054832;c[O>>2]=b;c[O+4>>2]=P;P=Ku(b|0,P|0,1332534557,625341585)|0;f=(_((P>>>0)%(q>>>0)|0,p)|0)+f|0;Vj(L,16295,23);f=((f>>>0)/((eh(Zd(1209784,L)|0)|0)>>>0)|0)+l|0;Zj(L);if((f|0)>(k|0)){c[m>>2]=c[c[(c[n>>2]|0)+(g*20|0)+8>>2]>>2];k=f}}g=g+1|0;if(g>>>0>=R>>>0)break c;f=c[n>>2]|0;l=c[f+(g*20|0)>>2]|0}}while(0);f=c[m>>2]|0;d:do if((r|0)==(e|0))e=r;else{g=r;do{if((c[c[g+8>>2]>>2]|0)==(f|0)){e=g;break d}g=g+20|0}while((g|0)!=(e|0))}while(0);L=r;K=c[L>>2]|0;L=c[L+4>>2]|0;P=r+8|0;N=c[P>>2]|0;R=r+12|0;b=c[R>>2]|0;M=r+16|0;Q=c[M>>2]|0;c[M>>2]=0;c[R>>2]=0;c[P>>2]=0;I=e;J=c[I+4>>2]|0;O=r;c[O>>2]=c[I>>2];c[O+4>>2]=J;O=e+8|0;c[P>>2]=c[O>>2];P=e+12|0;c[R>>2]=c[P>>2];R=e+16|0;c[M>>2]=c[R>>2];M=e;c[M>>2]=K;c[M+4>>2]=L;c[O>>2]=N;c[P>>2]=b;c[R>>2]=Q}Rf(S);i=T;return}function Yf(f,g,j,k,l){f=f|0;g=g|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,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,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0;Sa=i;i=i+6464|0;wa=Sa+6452|0;Da=Sa+5936|0;Ha=Sa+5680|0;Ea=Sa;w=Sa+6456|0;Ca=Sa+1540|0;xa=Sa+1528|0;n=c[g+-40>>2]|0;Aa=(n|0)==0;Ba=c[f+5352>>2]|0;Ga=f+5356|0;Ka=(c[Ga>>2]|0)+64|0;Ka=(c[Ka>>2]|0)!=0|(c[Ka+4>>2]|0)!=0;ya=g+36|0;c[ya>>2]=0;za=g+28|0;c[za>>2]=0;Ra=g+4|0;c[Ra>>2]=n+1;n=Ba+5548|0;if(!(a[n>>0]&1)){Na=Ba+148|0;Oa=c[Na>>2]|0;c[Na>>2]=Oa+1;if((Oa|0)>4095){n=c[302398]|0;o=c[302399]|0;if((n|0)!=(o|0))do{a[(c[n>>2]|0)+5548>>0]=1;n=n+4|0}while((n|0)!=(o|0));Zf()}}else{a[n>>0]=0;c[Ba+148>>2]=1}n=Ba+144|0;r=c[Ra>>2]|0;if((c[n>>2]|0)<(r|0))c[n>>2]=r;do if(!Aa){q=c[f+5364>>2]|0;switch(q|0){case 5:{n=c[f+5348>>2]|0;Oa=c[f+400+((n<<3|6)<<8)>>2]|0;if(((Oa>>3)+-3|0)>>>0<2?((Oa&7)+-3|0)>>>0<2:0){l=31999-r|0;i=Sa;return l|0}Oa=c[f+400+((n<<3^14)<<8)>>2]|0;if(((Oa>>3)+-3|0)>>>0<2?((Oa&7)+-3|0)>>>0<2:0){l=r+-32e3|0;i=Sa;return l|0}switch(q|0){case 6:{Pa=18;break}case 8:{Pa=27;break}case 4:{Pa=31;break}case 1:{Pa=33;break}case 2:{Pa=37;break}default:{}}break}case 6:{Pa=18;break}case 8:{Pa=27;break}case 4:{Pa=31;break}case 1:{Pa=33;break}case 2:{Pa=37;break}default:{}}if((Pa|0)==18){o=c[f+5348>>2]|0;n=o<<3;p=c[f+400+((n|6)<<8)>>2]|0;if((p&-8|0)==56){if((c[f+400+((n^14)<<8)>>2]&-8|0)==56){l=c[1143904+(o<<2)>>2]|0;i=Sa;return l|0}if((c[f+400+((o<<3^14)<<8)>>2]>>3|0)<7){l=31999-r|0;i=Sa;return l|0}}if((c[f+400+((o<<3^14)<<8)>>2]&-8|0)==56?(p>>3|0)<(((o|0)==0?7:6)|0):0){l=r+-32e3|0;i=Sa;return l|0}switch(q|0){case 8:{Pa=27;break}case 4:{Pa=31;break}case 1:{Pa=33;break}case 2:{Pa=37;break}default:{}}}if((Pa|0)==27){n=c[f+5348>>2]|0;o=c[Ga>>2]|0;if((c[o+36+(n<<2)>>2]|0)==3){l=31999-r|0;i=Sa;return l|0}if((c[o+36+((n^1)<<2)>>2]|0)==3){l=r+-32e3|0;i=Sa;return l|0}}else if((Pa|0)==31){if(!(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){l=r+-32e3|0;i=Sa;return l|0}}else if((Pa|0)==33){n=c[f+5348>>2]<<3;if(!(c[f+336+(n<<2)>>2]|0)){l=31999-r|0;i=Sa;return l|0}if(!(c[f+336+((n^8)<<2)>>2]|0)){l=r+-32e3|0;i=Sa;return l|0}}else if((Pa|0)==37?(c[f+336+((c[f+5348>>2]<<3|6)<<2)>>2]|0)==0:0){l=r+-32e3|0;i=Sa;return l|0}if(((a[1213340]&1)==0?!(Jf(f)|0):0)?(s=c[Ra>>2]|0,(s|0)<128&(s|0)<(c[262173]|0)):0){n=c[302398]|0;if((c[302399]|0)==(n|0))Ms(1209592);if((s|0)<((c[262174]|0)+(c[(c[n>>2]|0)+5540>>2]|0)|0)){n=c[Ra>>2]|0;m=n+-32e3|0;m=(m|0)<(j|0)?j:m;n=31999-n|0;n=(n|0)>(k|0)?k:n;if((m|0)<(n|0)){Qa=n;break}i=Sa;return m|0}}n=c[Ra>>2]|0;do if((n|0)<128&(n|0)<(c[262173]|0)){o=c[302398]|0;if((c[302399]|0)!=(o|0))if(Ka|(n|0)<((c[262174]|0)+(c[(c[o>>2]|0)+5540>>2]|0)|0)){Pa=51;break}else{Pa=50;break}else Ms(1209592)}else if(Ka)Pa=51;else Pa=50;while(0);if((Pa|0)==50){l=Dd(f)|0;i=Sa;return l|0}else if((Pa|0)==51){l=c[1143904+(c[f+5348>>2]<<2)>>2]|0;i=Sa;return l|0}}else{m=j;Qa=k}while(0);oa=g+44|0;c[g+56>>2]=0;pa=g+8|0;c[pa>>2]=0;qa=g+40|0;c[qa>>2]=0;a[g+76>>0]=0;c[g+108>>2]=0;c[g+104>>2]=0;ra=g+12|0;ua=c[ra>>2]|0;Oa=(c[Ga>>2]|0)+56|0;Na=c[Oa>>2]^ua;Oa=c[Oa+4>>2]^((ua|0)<0)<<31>>31;k=Mg(1209632,Na,Oa,w)|0;n=(a[w>>0]|0)==0;do if(!n?(t=b[k+4>>1]|0,u=t<<16>>16,v=c[Ra>>2]|0,t<<16>>16!=32002):0)if(t<<16>>16>31743){t=u-v|0;break}else{t=(t<<16>>16<-31743?v:0)+u|0;break}else t=32002;while(0);if(!Aa)if(n)j=0;else j=e[k+2>>1]|0;else j=c[c[(c[Ba+5528>>2]|0)+((c[Ba+140>>2]|0)*20|0)+8>>2]>>2]|0;sa=f+5364|0;a:do switch(c[sa>>2]|0){case 3:case 1:case 2:case 4:case 8:case 6:case 5:{n=0;Pa=77;break}default:{if(Ka){c[g+24>>2]=32002;Fa=k;break a}if(!n){Pa=b[k+6>>1]|0;n=Pa<<16>>16;o=g+24|0;c[o>>2]=n;if(Pa<<16>>16==32002){n=Dd(f)|0;c[o>>2]=n}if((t|0)==32002){Pa=77;break a}n=(d[k+8>>0]&((t|0)>(n|0)?2:1)|0)==0?n:t;Pa=77;break a}if((c[g+-36>>2]|0)==65)n=40-(c[g+-20>>2]|0)|0;else n=Dd(f)|0;c[g+24>>2]=n;p=a[1209644]|0;q=zu(Na|0,Oa|0,48)|0;if((C|0)==0?(q|0)==(e[k>>1]|0):0){o=k+9|0;if(((a[o>>0]|0)+-4|0)>=-6){Pa=77;break a}}else{b[k+2>>1]=0;o=k+9|0}b[k>>1]=q;b[k+4>>1]=32002;b[k+6>>1]=n;a[k+8>>0]=p;a[o>>0]=-6;Pa=77}}while(0);if((Pa|0)==77){s=g+32|0;if(!(a[s>>0]|0)){o=c[sa>>2]|0;if(((l|0)<7&(Aa^1)?((n|0)<1e4?(n-(_(c[5880+(o<<2)>>2]|0,l)|0)|0)>=(Qa|0):0):0)?c[(c[Ga>>2]|0)+16+(c[f+5348>>2]<<2)>>2]|0:0){l=n;i=Sa;return l|0}b:do if((o|0)==1){n=c[(c[Ga>>2]|0)+48>>2]|0;if((n|0)!=64){o=f+256|0;ta=o;ta=vf(f,n,c[ta>>2]|0,c[ta+4>>2]|0)|0;n=c[f+5348>>2]|0;q=f+320+(n<<3)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;Fa=f+264|0;if(!((p&ta&c[Fa>>2]|0)==0?(q&C&c[Fa+4>>2]|0)==0:0))break}else{n=c[f+5348>>2]|0;q=f+320+(n<<3)|0;o=f+256|0;p=c[q>>2]|0;q=c[q+4>>2]|0}r=f+320+((n^1)<<3)|0;n=q;while(1){if((p|0)==0&(n|0)==0)break b;Fa=fb(p|0,n|0,0)|0;q=yu(p|0,n|0,-1,-1)|0;n=C&n;ta=o;ta=_b(c[f+(Fa<<2)>>2]|0,Fa,c[ta>>2]|0,c[ta+4>>2]|0)|0;Fa=r;if(!((c[Fa>>2]&ta|0)==0?(c[Fa+4>>2]&C|0)==0:0))break;else p=q&p}}while(0);if(!((l|0)<6|(j|0)!=0)){a[s>>0]=1;Yf(f,g,m,Qa,((l*3|0)/4|0)+-2|0)|0;a[s>>0]=0;n=Mg(1209632,Na,Oa,w)|0;if(!(a[w>>0]|0)){j=0;Fa=n}else{j=e[n+2>>1]|0;Fa=n}}else Fa=k}else Fa=k}ka=c[g+-4>>2]|0;na=g+-48|0;la=c[na>>2]|0;ma=c[g+-136>>2]|0;Se(Ca,f,j,l,g);ta=g+24|0;n=c[g+-64>>2]|0;n=(n|0)==32002?1:(c[ta>>2]|0)>=(n|0);if((!Aa?!((ua|0)!=0|(t|0)!=32002&((l|0)>7&(j|0)!=0)^1):0)?(x=b[Fa+8>>1]|0,(x&2)!=0):0)aa=(((x&65535)>>>8&65535)<<24>>24|0)>=(l+-3|0);else aa=0;u=We(Ca)|0;c:do if(u){ba=Ba+5528|0;ca=Ba+140|0;da=Ba+5532|0;ea=f+5360|0;fa=xa+8|0;ga=xa+1|0;ha=xa+4|0;ia=f+5348|0;ja=(l|0)<16;Z=n&1;$=1143916+(Z<<6)+(l<<2)|0;H=t-(l<<1)|0;H=(H|0)<-32e3?-32e3:H;I=(l|0)/2|0;J=g+32|0;K=H+-1|0;L=l+-1|0;M=(l|0)>2;N=(l|0)>63?63:l;O=(ka|0)==0;P=(la|0)==0;Q=(ma|0)==0;R=g+-16|0;S=0-Qa|0;T=Ba+4240824|0;G=Aa^1;U=(l|0)>6;V=_(_(l,-35)|0,l)|0;W=(ka|0)!=0;X=(la|0)!=0;Y=W&X;F=0;k=-32001;D=0;o=0;s=-32001;d:while(1){e:do if((u|0)==(ua|0)){p=F;n=D;q=s}else{if(Aa){n=(c[ba>>2]|0)+((c[ca>>2]|0)*20|0)|0;q=c[da>>2]|0;if((n|0)==(q|0)){p=F;n=D;q=s;break}else{p=n;n=0}do{n=((c[c[p+8>>2]>>2]|0)==(u|0)&1)+n|0;p=p+20|0}while((p|0)!=(q|0));if(!n){p=F;n=D;q=s;break}n=D+1|0;c[ya>>2]=n;p=c[302398]|0;if((c[302399]|0)==(p|0)){Pa=105;break d}if((Ba|0)==(c[p>>2]|0)){if(!(c[262161]|0)){E=Kk()|0;E=Iu(E|0,C|0,1e6,0)|0;p=1048792;p=wu(E|0,C|0,c[p>>2]|0,c[p+4>>2]|0)|0}else p=Dg(1209592)|0;if((p|0)>3e3){A=Td(Zl(Td(qe(1210452,0)|0,15234,11)|0,l)|0,15246,10)|0;Wg(xa,u,(a[ea>>0]|0)!=0);E=a[xa>>0]|0;B=(E&1)==0;E=Td(Td(A,B?ga:c[fa>>2]|0,B?(E&255)>>>1:c[ha>>2]|0)|0,15257,16)|0;E=_l(E,(c[ca>>2]|0)+n|0)|0;c[wa>>2]=Nl(E+(c[(c[E>>2]|0)+-12>>2]|0)|0)|0;B=sm(wa,1211488)|0;B=Jb[c[(c[B>>2]|0)+28>>2]&63](B,10)|0;Et(wa);cm(E,B)|0;Sl(E)|0;Zj(xa)}}}else{n=D+1|0;c[ya>>2]=n}c[oa>>2]=0;r=c[sa>>2]|0;y=(u&131072|0)==0;f:do if((r|0)==6){E=y?u>>>6&63:64;p=u&63;if((c[f+(E<<2)>>2]&7|0)==6?p>>>3>>>0>=E>>>3>>>0:0){E=1;break}E=(c[f+(p<<2)>>2]|0)!=0}else{p=y?u&49152:131072;g:do if((p|0)>=49152)if((p|0)<131072)switch(p|0){case 49152:{E=0;break f}default:break g}else switch(p|0){case 131072:{E=0;break f}default:break g}else{switch(p|0){case 0:break;default:break g}E=(c[f+((u&63)<<2)>>2]|0)!=0;break f}while(0);E=1}while(0);if(y){p=c[f+((u>>>6&63)<<2)>>2]|0;if(!(u&49152)){A=c[ia>>2]|0;q=c[Ga>>2]|0;B=q+344+((A^1)<<3)|0;A=f+320+(A<<3)|0;if((c[A>>2]&c[B>>2]|0?1:(c[A+4>>2]&c[B+4>>2]|0)!=0)|(r+-1|0)>>>0<2){q=1;Pa=123}else{r=q+1464+((p&7)<<3)|0;B=24960+((u&63)<<3)|0;x=1;q=c[B>>2]&c[r>>2];r=c[B+4>>2]&c[r+4>>2]}}else{q=0;Pa=123}}else{p=u>>>18&15;q=0;Pa=123}if((Pa|0)==123){Pa=0;x=q;q=(xf(f,u)|0)&1;r=0}A=(q|0)!=0|(r|0)!=0;if(ja)w=(n|0)>=(c[$>>2]|0);else w=0;if(w|A^1)q=0;else q=(Gf(f,u,0)|0)&1;if(aa?!((u|0)!=(j|0)|(q|0)!=0):0)if(wf(f,j)|0){c[ra>>2]=j;a[J>>0]=1;q=_f(f,g,K,H,I,0)|0;a[J>>0]=0;c[ra>>2]=0;v=(q|0)<(H|0)&1}else{v=0;q=s}else{v=q;q=s}z=L+v|0;t=c[sa>>2]|0;s=(t|0)==6;if((p&7|0)==6&s){if((u>>>3&7)>>>0<=(y?u>>>9&7:8)>>>0&((k|0)>-31744&G))Pa=135}else if((k|0)>-31744&G)Pa=135;h:do if((Pa|0)==135){Pa=0;i:do if(!(E|A)){if(y)r=c[f+((u>>>6&63)<<2)>>2]|0;else r=u>>>18&15;r=r&7;do if(s){if((r|0)!=6)break;if((u&2048)>>>0>1536|y^1)break i}else{if((r|0)!=1)break;if(((c[ia>>2]|0)*7^(y?u>>>9&7:8)|0)>3)break i}while(0);if(w){p=F;break e}r=z-(c[1176812+(Z<<14)+(N<<8)+(((n|0)>63?63:n)<<2)>>2]|0)|0;r=(r|0)<0?0:r;do if((r|0)<3){if(W?(c[ka+(p<<8)+((u&63)<<2)>>2]|0)>=0:0)break;if(X?(c[la+(p<<8)+((u&63)<<2)>>2]|0)>=0:0)break;if(Q){p=F;break e}if(Y|(c[ma+(p<<8)+((u&63)<<2)>>2]|0)<0){p=F;break e}}while(0);if(!(Ka|(r|0)>6)?((r*200|0)+256+(c[ta>>2]|0)|0)<=(m|0):0){p=F;break e}if((t|0)==1)break h;if(!((r|0)<8&(t|0)!=6))break h;if(Gf(f,u,_(_(r,-35)|0,r)|0)|0)break h;else{p=F;break e}}while(0);if(U|(v|0)!=0)break;if(!(Gf(f,u,V)|0)){p=F;break e}}while(0);do if(!Aa){if(wf(f,u)|0)break;c[ya>>2]=D;p=F;n=D;break e}while(0);c[pa>>2]=u;v=u&63;c[qa>>2]=Ba+46512+(p<<18)+(v<<12);zf(f,u,Ea,A);B=(D|0)>0;do if(M&B&(w|E^1)){q=c[1176812+(Z<<14)+(N<<8)+(((n|0)>63?63:n)<<2)>>2]|0;if(E)p=q-((q|0)!=0&1)|0;else{do if(x){if((c[f+(v<<2)>>2]&7|0)==1){t=q;break}t=Gf(f,(y?u>>>6&63:64)+(v<<6)|0,0)|0;t=t?q:q+-2|0}else t=q;while(0);if(O)q=0;else q=c[ka+(p<<8)+(v<<2)>>2]|0;if(P)r=0;else r=c[la+(p<<8)+(v<<2)>>2]|0;if(Q)s=0;else s=c[ma+(p<<8)+(v<<2)>>2]|0;p=q+(c[Ba+5552+(p<<8)+(v<<2)>>2]|0)+r+s+(c[Ba+13744+((c[ia>>2]^1)<<14)+((y?u>>>6&63:64)<<8)+(v<<2)>>2]|0)|0;q=p+-8e3|0;c[za>>2]=q;do if((p|0)>8e3)p=t+(c[R>>2]>>31)|0;else{if((p|0)>=8e3){p=t;break}p=((c[R>>2]|0)>0&1)+t|0}while(0);p=p-((q|0)/2e4|0)|0;p=(p|0)>0?p:0}y=z-p|0;y=(y|0)<1?1:y;r=~m;p=0-m|0;q=0-(_f(f,oa,r,p,y,1)|0)|0;if((m|0)<(q|0)&(y|0)!=(z|0)){q=r;Pa=183}}else{if(!B)break;q=~m;p=0-m|0;Pa=183}while(0);do if((Pa|0)==183){Pa=0;if((z|0)>=1){q=0-(_f(f,oa,q,p,z,1)|0)|0;break}if(A){q=0-(bg(f,oa,q,p,0)|0)|0;break}else{q=0-(ag(f,oa,q,p,0)|0)|0;break}}while(0);r=(D|0)==0;if(!r?!((q|0)>(m|0)&(Aa|(q|0)<(Qa|0))):0)w=q;else Pa=190;do if((Pa|0)==190){Pa=0;c[oa>>2]=Da;c[Da>>2]=0;p=0-m|0;if((z|0)>=1){w=0-(Yf(f,oa,S,p,z)|0)|0;break}if(A){w=0-(cg(f,oa,S,p,0)|0)|0;break}else{w=0-(dg(f,oa,S,p,0)|0)|0;break}}while(0);Bf(f,u);if(a[1213340]&1){va=0;break c}do if(Aa){p=c[ba>>2]|0;q=c[da>>2]|0;j:do if((p|0)!=(q|0))while(1){if((c[c[p+8>>2]>>2]|0)==(u|0))break j;p=p+20|0;if((p|0)==(q|0)){p=q;break}}while(0);if(!(r|(w|0)>(m|0))){c[p>>2]=-32001;break}c[p>>2]=w;t=p+8|0;v=p+12|0;s=c[v>>2]|0;r=c[t>>2]|0;q=s-r>>2;do if(!q)eg(t,1);else{if(q>>>0<=1)break;q=r+4|0;if((s|0)==(q|0))break;c[v>>2]=s+(~((s+-4-q|0)>>>2)<<2)}while(0);r=c[oa>>2]|0;q=c[r>>2]|0;if(q|0){s=p+16|0;do{p=c[v>>2]|0;if((p|0)==(c[s>>2]|0))Vf(t,r);else{c[p>>2]=q;c[v>>2]=p+4}r=r+4|0;q=c[r>>2]|0}while((q|0)!=0)}if(!B)break;p=c[302398]|0;if((c[302399]|0)==(p|0)){Pa=215;break d}if((Ba|0)!=(c[p>>2]|0))break;h[T>>3]=+h[T>>3]+1.0}while(0);do if((w|0)>(k|0)){if((w|0)<=(m|0)){p=F;k=w;break}p=c[302398]|0;if((c[302399]|0)==(p|0)){Pa=222;break d}do if((Ba|0)==(c[p>>2]|0)){F=(c[Ga>>2]|0)+56|0;D=1048736;F=((c[D>>2]|0)==(c[F>>2]|0)?(c[D+4>>2]|0)==(c[F+4>>2]|0):0)?c[262188]|0:0;if(!((F|0)!=0&(B|(u|0)!=(F|0))))break;c[262182]=0;c[262184]=0;c[262185]=0;c[262186]=0;c[262187]=0;c[262188]=0}while(0);if(!Aa){p=c[g>>2]|0;q=c[oa>>2]|0;c[p>>2]=u;p=p+4|0;do if(q){r=c[q>>2]|0;if(!r)break;do{q=q+4|0;c[p>>2]=r;p=p+4|0;r=c[q>>2]|0}while((r|0)!=0)}while(0);c[p>>2]=0}if((w|0)<(Qa|0)){m=w;p=u;k=w}else{k=w;Pa=234;break d}}else p=F;while(0);if(E){q=w;break}if(!((o|0)<64&(u|0)!=(p|0))){q=w;break}c[Ha+(o<<2)>>2]=u;o=o+1|0;q=w}while(0);u=We(Ca)|0;if(!u){u=p;Pa=234;break}else{F=p;D=n;s=q}}if((Pa|0)==105)Ms(1209592);else if((Pa|0)==215)Ms(1209592);else if((Pa|0)==222)Ms(1209592);else if((Pa|0)==234){if(!n){s=u;Pa=235;break}if(!u){if((l|0)<3){u=0;m=k;Pa=294;break}if(c[(c[Ga>>2]|0)+72>>2]|0){u=0;m=k;Pa=294;break}Pa=c[g+-36>>2]|0;r=Pa&63;if((((Pa&131072|0)==0?Pa>>>6&63:64)|0)==(r|0)){m=k;Pa=294;break}p=_(l+2|0,l)|0;s=p+-2|0;q=c[f+(r<<2)>>2]|0;o=c[g+-180>>2]|0;n=c[g+-92>>2]|0;m=c[na>>2]|0;if(m|0?(Ia=(s|0)>-1?s:2-p|0,(Ia|0)<=323):0){Pa=m+(q<<8)+(r<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,Ia)|0)/-936|0)}if(n|0?(Ja=(s|0)>-1?s:2-p|0,(Ja|0)<=323):0){Pa=n+(q<<8)+(r<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,Ja)|0)/-936|0)}if(!o){m=k;Pa=294;break}m=(s|0)>-1?s:2-p|0;if((m|0)>323){m=k;Pa=294;break}Pa=o+(q<<8)+(r<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,m)|0)/-936|0);m=k;Pa=294;break}m=(u&131072|0)==0;k:do if((c[sa>>2]|0)==6){Ka=m?u>>>6&63:64;m=u&63;if((c[f+(Ka<<2)>>2]&7|0)==6?m>>>3>>>0>=Ka>>>3>>>0:0)break;if(!(c[f+(m<<2)>>2]|0))Pa=270}else{m=m?u&49152:131072;if((m|0)<49152){switch(m|0){case 0:break;default:break k}if(!(c[f+((u&63)<<2)>>2]|0)){Pa=270;break}else break}if((m|0)<131072)switch(m|0){case 49152:{Pa=270;break k}default:break k}else switch(m|0){case 131072:{Pa=270;break k}default:break k}}while(0);if((Pa|0)==270)$f(f,g,u,Ha,o,(_(l+2|0,l)|0)+-2|0);if((c[g+-8>>2]|0)!=1){m=k;Pa=294;break}if(c[(c[Ga>>2]|0)+72>>2]|0){m=k;Pa=294;break}p=_(l+4|0,l)|0;q=p+1|0;j=c[g+-36>>2]&63;r=c[f+(j<<2)>>2]|0;s=~p;o=c[g+-180>>2]|0;n=c[g+-92>>2]|0;m=c[na>>2]|0;if(m|0?(La=(p|0)<0?s:q,(La|0)<=323):0){Pa=m+(r<<8)+(j<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,La)|0)/-936|0)}if(n|0?(Ma=(p|0)<0?s:q,(Ma|0)<=323):0){Pa=n+(r<<8)+(j<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,Ma)|0)/-936|0)}if(!o){m=k;Pa=294;break}m=(p|0)<0?s:q;if((m|0)>323){m=k;Pa=294;break}Pa=o+(r<<8)+(j<<2)|0;f=c[Pa>>2]|0;c[Pa>>2]=f+(s<<5)+((_(f,m)|0)/-936|0);m=k;Pa=294;break}}else{s=0;Pa=235}while(0);l:do if((Pa|0)==235){p=c[sa>>2]|0;m:do switch(p|0){case 6:{r=c[f+5348>>2]|0;g=r<<3;q=c[f+400+((g|6)<<8)>>2]|0;o=(q&-8|0)==56;if(!(o?(c[f+400+((g^14)<<8)>>2]&-8|0)==56:0))Pa=238;do if((Pa|0)==238){n=r^1;if((c[f+400+((n<<3|6)<<8)>>2]&-8|0)==56?(q>>3|0)<(((r|0)==0?7:6)|0):0)break;if(o?(c[f+400+((n<<3|6)<<8)>>2]>>3|0)<7:0)break;if((p|0)==4){Pa=252;break m}else{Pa=256;break m}}while(0);if(ua|0){u=s;Pa=294;break l}if(o?(c[f+400+((r<<3^14)<<8)>>2]&-8|0)==56:0){u=s;m=c[1143904+(r<<2)>>2]|0;Pa=294;break l}if((c[f+400+((r<<3^14)<<8)>>2]&-8|0)==56){m=c[Ra>>2]|0;if((q>>3|0)<(((r|0)==0?7:6)|0)){u=s;m=m+-32e3|0;Pa=294;break l}}else m=c[Ra>>2]|0;u=s;m=31999-m|0;Pa=294;break l}case 4:{Pa=252;break}default:Pa=256}while(0);do if((Pa|0)==252){n=(ua|0)==0;if(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)if(n)break;else{u=s;Pa=294;break l}if(!n){u=s;Pa=294;break l}u=s;m=(c[Ra>>2]|0)+-32e3|0;Pa=294;break l}else if((Pa|0)==256){n=(ua|0)!=0;if((p|0)!=1)if(n){u=s;Pa=294;break l}else break;if(n){u=s;Pa=294;break l}u=s;m=31999-(c[Ra>>2]|0)|0;Pa=294;break l}while(0);if(Ka){u=s;m=(c[Ra>>2]|0)+-32e3|0;Pa=294;break}else{u=s;m=c[1143904+(c[f+5348>>2]<<2)>>2]|0;Pa=294;break}}while(0);do if((Pa|0)==294){n=c[Ra>>2]|0;if((m|0)>31743)t=n+m|0;else t=m-((m|0)<-31743?n:0)|0;k=(m|0)<(Qa|0)?(u|0?3:1):2;s=c[ta>>2]|0;j=a[1209644]|0;if(!u){p=zu(Na|0,Oa|0,48)|0;o=C;n=b[Fa>>1]|0;if((p|0)==(n&65535|0)&(o|0)==0){q=Fa;r=n}else{q=Fa;Pa=300}}else{n=b[Fa>>1]|0;p=zu(Na|0,Oa|0,48)|0;q=Fa;o=C;Pa=300}if((Pa|0)==300){b[Fa+2>>1]=u;r=n}n=Fa+9|0;if((p|0)==(r&65535|0)&(o|0)==0?!((k|0)==3?1:((a[n>>0]|0)+-4|0)<(l|0)):0){va=m;break}b[q>>1]=p;b[Fa+4>>1]=t;b[Fa+6>>1]=s;a[Fa+8>>0]=j&255|k;a[n>>0]=l;va=m}while(0);l=va;i=Sa;return l|0}function Zf(){var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0.0;if((a[1048760]|0)==0?Ba(1048760)|0:0){e=Kk()|0;e=Iu(e|0,C|0,1e6,0)|0;g=1048768;c[g>>2]=e;c[g+4>>2]=C;Ia(1048760)}if(!(c[262161]|0)){e=Kk()|0;e=Iu(e|0,C|0,1e6,0)|0;g=1048792;g=wu(e|0,C|0,c[g>>2]|0,c[g+4>>2]|0)|0}else g=Dg(1209592)|0;b=1048680;b=yu(g|0,((g|0)<0)<<31>>31|0,c[b>>2]|0,c[b+4>>2]|0)|0;d=C;e=1048768;e=wu(b|0,d|0,c[e>>2]|0,c[e+4>>2]|0)|0;i=C;if((i|0)>0|(i|0)==0&e>>>0>999){i=1048768;c[i>>2]=b;c[i+4>>2]=d;pe()}if(c[262167]|0)return;b=c[262164]|0;j=b|c[262165]|c[262163];e=1048672;d=c[e>>2]|0;e=c[e+4>>2]|0;i=c[262166]|0;if(((j|d|i|0)==0?(((j|0)<0)<<31>>31|e|((i|0)<0)<<31>>31|0)==0:0)?(g|0)>((c[262201]|0)+-10|0):0)f=15;else if((b|0)==0|(g|0)<(b|0)){if(!((d|0)==0&(e|0)==0)?(i=Dg(1209592)|0,d=C,j=1048672,e=c[j+4>>2]|0,!(d>>>0<e>>>0|((d|0)==(e|0)?i>>>0<(c[j>>2]|0)>>>0:0))):0)f=15}else f=15;if((f|0)==15){b=c[302398]|0;if((c[302399]|0)==(b|0))Ms(1209592);if((c[(c[b>>2]|0)+5540>>2]|0)>=(c[262172]|0)){if(!(c[262161]|0)){j=Kk()|0;j=Iu(j|0,C|0,1e6,0)|0;b=1048792;b=wu(j|0,C|0,c[b>>2]|0,c[b+4>>2]|0)|0}else b=Dg(1209592)|0;if(+(b|0)>=+h[131089])a[1213340]=1}}k=+h[131088];if(!(k>0.0&k<+(g|0)))return;a[1213340]=1;return}function _f(f,g,h,j,k,l){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,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,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0;Ca=i;i=i+5936|0;ta=Ca+5672|0;ra=Ca;x=Ca+5928|0;qa=Ca+1528|0;na=c[f+5352>>2]|0;ua=f+5356|0;va=(c[ua>>2]|0)+64|0;va=(c[va>>2]|0)!=0|(c[va+4>>2]|0)!=0;oa=g+36|0;c[oa>>2]=0;pa=g+28|0;c[pa>>2]=0;Ba=g+4|0;c[Ba>>2]=(c[g+-40>>2]|0)+1;m=na+5548|0;if(!(a[m>>0]&1)){ya=na+148|0;za=c[ya>>2]|0;c[ya>>2]=za+1;if((za|0)>4095){m=c[302398]|0;n=c[302399]|0;if((m|0)!=(n|0))do{a[(c[m>>2]|0)+5548>>0]=1;m=m+4|0}while((m|0)!=(n|0));Zf()}}else{a[m>>0]=0;c[na+148>>2]=1}sa=f+5364|0;p=c[sa>>2]|0;switch(p|0){case 5:{m=c[f+5348>>2]|0;za=c[f+400+((m<<3|6)<<8)>>2]|0;if(((za>>3)+-3|0)>>>0<2?((za&7)+-3|0)>>>0<2:0){k=31999-(c[Ba>>2]|0)|0;i=Ca;return k|0}za=c[f+400+((m<<3^14)<<8)>>2]|0;if(((za>>3)+-3|0)>>>0<2?((za&7)+-3|0)>>>0<2:0){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}switch(p|0){case 6:{Aa=15;break}case 8:{Aa=24;break}case 4:{Aa=28;break}case 1:{Aa=30;break}case 2:{Aa=34;break}default:{}}break}case 6:{Aa=15;break}case 8:{Aa=24;break}case 4:{Aa=28;break}case 1:{Aa=30;break}case 2:{Aa=34;break}default:{}}if((Aa|0)==15){n=c[f+5348>>2]|0;m=n<<3;o=c[f+400+((m|6)<<8)>>2]|0;if((o&-8|0)==56){if((c[f+400+((m^14)<<8)>>2]&-8|0)==56){k=c[1143904+(n<<2)>>2]|0;i=Ca;return k|0}if((c[f+400+((n<<3^14)<<8)>>2]>>3|0)<7){k=31999-(c[Ba>>2]|0)|0;i=Ca;return k|0}}if((c[f+400+((n<<3^14)<<8)>>2]&-8|0)==56?(o>>3|0)<(((n|0)==0?7:6)|0):0){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}switch(p|0){case 8:{Aa=24;break}case 4:{Aa=28;break}case 1:{Aa=30;break}case 2:{Aa=34;break}default:{}}}if((Aa|0)==24){m=c[f+5348>>2]|0;n=c[ua>>2]|0;if((c[n+36+(m<<2)>>2]|0)==3){k=31999-(c[Ba>>2]|0)|0;i=Ca;return k|0}if((c[n+36+((m^1)<<2)>>2]|0)==3){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}}else if((Aa|0)==28){if(!(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}}else if((Aa|0)==30){m=c[f+5348>>2]<<3;if(!(c[f+336+(m<<2)>>2]|0)){k=31999-(c[Ba>>2]|0)|0;i=Ca;return k|0}if(!(c[f+336+((m^8)<<2)>>2]|0)){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}}else if((Aa|0)==34?(c[f+336+((c[f+5348>>2]<<3|6)<<2)>>2]|0)==0:0){k=(c[Ba>>2]|0)+-32e3|0;i=Ca;return k|0}if(((a[1213340]&1)==0?!(Jf(f)|0):0)?(q=c[Ba>>2]|0,(q|0)<128&(q|0)<(c[262173]|0)):0){m=c[302398]|0;if((c[302399]|0)==(m|0))Ms(1209592);if((q|0)<((c[262174]|0)+(c[(c[m>>2]|0)+5540>>2]|0)|0)){xa=c[Ba>>2]|0;ma=xa+-32e3|0;ma=(ma|0)<(h|0)?h:ma;xa=31999-xa|0;xa=(xa|0)>(j|0)?j:xa;if((ma|0)>=(xa|0)){k=ma;i=Ca;return k|0}ha=g+44|0;c[g+56>>2]=0;ia=g+8|0;c[ia>>2]=0;ja=g+40|0;c[ja>>2]=0;j=g+76|0;a[j>>0]=0;c[g+108>>2]=0;c[g+104>>2]=0;ka=g+12|0;la=c[ka>>2]|0;za=(c[ua>>2]|0)+56|0;ya=c[za>>2]^la;za=c[za+4>>2]^((la|0)<0)<<31>>31;w=Mg(1209632,ya,za,x)|0;p=(a[x>>0]|0)==0;if(!p){m=b[w+4>>1]|0;n=m<<16>>16;o=c[Ba>>2]|0;do if(m<<16>>16!=32002)if(m<<16>>16>31743){s=n-o|0;break}else{s=(m<<16>>16<-31743?o:0)+n|0;break}else s=32002;while(0);m=b[w+2>>1]|0;n=m&65535;if(((s|0)!=32002?(a[w+9>>0]|0)>=(k|0):0)?(r=(s|0)>=(xa|0),(d[w+8>>0]&(r?2:1)|0)!=0):0){if(!(r&m<<16>>16!=0)){k=s;i=Ca;return k|0}a:do if((c[sa>>2]|0)==6){Ba=n>>>6&63;m=n&63;if((c[f+(Ba<<2)>>2]&7|0)==6?m>>>3>>>0>=Ba>>>3>>>0:0)break;if(!(c[f+(m<<2)>>2]|0))Aa=64}else{m=n&49152;if((m|0)>=49152)switch(m|0){case 49152:{Aa=64;break a}default:break a}switch(m|0){case 0:break;default:break a}if(!(c[f+((n&63)<<2)>>2]|0))Aa=64}while(0);if((Aa|0)==64)$f(f,g,n,0,0,(_(k+2|0,k)|0)+-2|0);if((c[g+-8>>2]|0)!=1){k=s;i=Ca;return k|0}if(c[(c[ua>>2]|0)+72>>2]|0){k=s;i=Ca;return k|0}p=_(k+4|0,k)|0;q=p+1|0;r=c[g+-36>>2]&63;h=c[f+(r<<2)>>2]|0;j=~p;o=c[g+-180>>2]|0;n=c[g+-92>>2]|0;m=c[g+-48>>2]|0;if(m|0?(t=(p|0)<0?j:q,(t|0)<=323):0){k=m+(h<<8)+(r<<2)|0;Ba=c[k>>2]|0;c[k>>2]=Ba+(j<<5)+((_(Ba,t)|0)/-936|0)}do if(n|0){m=(p|0)<0?j:q;if((m|0)>323)break;k=n+(h<<8)+(r<<2)|0;Ba=c[k>>2]|0;c[k>>2]=Ba+(j<<5)+((_(Ba,m)|0)/-936|0)}while(0);if(!o){k=s;i=Ca;return k|0}m=(p|0)<0?j:q;if((m|0)>323){k=s;i=Ca;return k|0}k=o+(h<<8)+(r<<2)|0;Ba=c[k>>2]|0;c[k>>2]=Ba+(j<<5)+((_(Ba,m)|0)/-936|0);k=s;i=Ca;return k|0}else t=n}else{s=32002;t=0}b:do switch(c[sa>>2]|0){case 3:case 1:case 2:case 4:case 8:case 6:case 5:{n=0;Aa=91;break}default:{if(va){c[g+24>>2]=32002;ca=t;ga=w;break b}if(!p){Aa=b[w+6>>1]|0;m=Aa<<16>>16;n=g+24|0;c[n>>2]=m;if(Aa<<16>>16==32002){m=Dd(f)|0;c[n>>2]=m}if((s|0)==32002){n=m;Aa=91;break b}n=(d[w+8>>0]&((s|0)>(m|0)?2:1)|0)==0?m:s;Aa=91;break b}if((c[g+-36>>2]|0)==65)n=40-(c[g+-20>>2]|0)|0;else n=Dd(f)|0;c[g+24>>2]=n;o=a[1209644]|0;p=zu(ya|0,za|0,48)|0;if((C|0)==0?(p|0)==(e[w>>1]|0):0){m=w+9|0;if(((a[m>>0]|0)+-4|0)>=-6){Aa=91;break b}}else{b[w+2>>1]=0;m=w+9|0}b[w>>1]=p;b[w+4>>1]=32002;b[w+6>>1]=n;a[w+8>>0]=o;a[m>>0]=-6;Aa=91}}while(0);if((Aa|0)==91){r=g+32|0;if(!(a[r>>0]|0)){do if((k|0)<4&(t|0)==0?(u=c[5916+(c[sa>>2]<<4)+(k<<2)>>2]|0,(u+n|0)<=(ma|0)):0)if((k|0)<2){k=ag(f,g,ma,xa,0)|0;i=Ca;return k|0}else{ga=ma-u|0;m=ag(f,g,ga,ga+1|0,0)|0;if((m|0)>(ga|0))break;i=Ca;return m|0}while(0);m=c[sa>>2]|0;if(((k|0)<7?((n|0)<1e4?(n-(_(c[5880+(m<<2)>>2]|0,k)|0)|0)>=(xa|0):0):0)?c[(c[ua>>2]|0)+16+(c[f+5348>>2]<<2)>>2]|0:0){k=n;i=Ca;return k|0}c:do if((m|0)==1){m=c[(c[ua>>2]|0)+48>>2]|0;if((m|0)!=64){o=f+256|0;fa=o;fa=vf(f,m,c[fa>>2]|0,c[fa+4>>2]|0)|0;m=c[f+5348>>2]|0;q=f+320+(m<<3)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;ga=f+264|0;if(!((p&fa&c[ga>>2]|0)==0?(q&C&c[ga+4>>2]|0)==0:0))break}else{m=c[f+5348>>2]|0;q=f+320+(m<<3)|0;o=f+256|0;p=c[q>>2]|0;q=c[q+4>>2]|0}h=f+320+((m^1)<<3)|0;m=q;while(1){if((p|0)==0&(m|0)==0)break;ga=fb(p|0,m|0,0)|0;q=yu(p|0,m|0,-1,-1)|0;m=C&m;fa=o;fa=_b(c[f+(ga<<2)>>2]|0,ga,c[fa>>2]|0,c[fa+4>>2]|0)|0;ga=h;if(!((c[ga>>2]&fa|0)==0?(c[ga+4>>2]&C|0)==0:0))break c;else p=q&p}v=c[sa>>2]|0;Aa=108}else{v=m;Aa=108}while(0);do if((((Aa|0)==108?!((n|0)<(xa|0)|(v|0)==4):0)?!((k|0)<13?(c[g+24>>2]|0)<((_(k,-35)|0)+210+xa|0):0):0)?c[(c[ua>>2]|0)+16+(c[f+5348>>2]<<2)>>2]|0:0){c[ia>>2]=65;c[ja>>2]=0;p=(n-xa|0)/188|0;Df(f,ra);a[j>>0]=1;p=(((k*67|0)+823|0)/-256|0)+k-((p|0)>3?3:p)|0;q=(p|0)<1;o=0-xa|0;m=1-xa|0;if(q)m=ag(f,ha,o,m,0)|0;else m=_f(f,ha,o,m,p,l^1)|0;n=0-m|0;a[j>>0]=0;Ef(f);if((xa|0)<=(n|0)){m=(m|0)<-31743?xa:n;do if((k|0)<12){if((((xa|0)>-1?xa:o)|0)>=1e4)break;i=Ca;return m|0}while(0);a[r>>0]=1;n=xa+-1|0;if(q)n=ag(f,g,n,xa,0)|0;else n=_f(f,g,n,xa,p,0)|0;a[r>>0]=0;if((n|0)<(xa|0))break;i=Ca;return m|0}}while(0);if(!((k|0)<5|(c[sa>>2]|0)==1)?(((xa|0)>-1?xa:0-xa|0)|0)<31744:0){o=xa+200|0;o=(o|0)>32001?32001:o;p=k+-4|0;Ue(qa,f,t,o-(c[g+24>>2]|0)|0);m=We(qa)|0;d:do if(m|0){q=0-o|0;h=1-o|0;j=l^1;n=m;while(1){if(wf(f,n)|0){c[ia>>2]=n;if(!(n&131072))m=c[f+((n>>>6&63)<<2)>>2]|0;else m=n>>>18&15;c[ja>>2]=na+46512+(m<<18)+((n&63)<<12);zf(f,n,ra,xf(f,n)|0);m=0-(_f(f,ha,q,h,p,j)|0)|0;Bf(f,n);if((o|0)<=(m|0))break}n=We(qa)|0;if(!n)break d}k=m;i=Ca;return k|0}while(0)}if(!((k|0)<6|(t|0)!=0))if(((c[g+24>>2]|0)+256|0)>=(xa|0)){a[r>>0]=1;_f(f,g,ma,xa,((k*3|0)/4|0)+-2|0,l)|0;a[r>>0]=0;m=Mg(1209632,ya,za,x)|0;if(!(a[x>>0]|0)){ca=0;ga=m}else{ca=e[m+2>>1]|0;ga=m}}else{ca=0;ga=w}else{ca=t;ga=w}}else{ca=t;ga=w}}$=c[g+-4>>2]|0;ea=g+-48|0;aa=c[ea>>2]|0;ba=c[g+-136>>2]|0;Se(qa,f,ca,k,g);fa=g+24|0;m=c[g+-64>>2]|0;m=(m|0)==32002?1:(c[fa>>2]|0)>=(m|0);da=(la|0)!=0;if(!(da|(s|0)!=32002&((k|0)>7&(ca|0)!=0)^1)?(y=b[ga+8>>1]|0,(y&2)!=0):0)X=(((y&65535)>>>8&65535)<<24>>24|0)>=(k+-3|0);else X=0;t=We(qa)|0;e:do if(t){Y=f+5348|0;Z=(k|0)<16;V=m&1;W=1143916+(V<<6)+(k<<2)|0;B=s-(k<<1)|0;B=(B|0)<-32e3?-32e3:B;D=(k|0)/2|0;E=g+32|0;F=B+-1|0;G=k+-1|0;H=(k|0)>6;I=_(_(k,-35)|0,k)|0;J=(k|0)>63?63:k;K=($|0)!=0;L=(aa|0)!=0;M=(ba|0)==0;U=K&L;N=(k|0)>2;O=~ma;P=0-ma|0;Q=($|0)==0;R=(aa|0)==0;S=g+-16|0;T=l^1;m=-32001;z=0;o=0;f:while(1){g:do if((t|0)==(la|0))n=z;else{n=z+1|0;c[oa>>2]=n;h=c[sa>>2]|0;A=(t&131072|0)==0;h:do if((h|0)==6){y=A?t>>>6&63:64;p=t&63;if((c[f+(y<<2)>>2]&7|0)==6?p>>>3>>>0>=y>>>3>>>0:0){w=1;break}w=(c[f+(p<<2)>>2]|0)!=0}else{p=A?t&49152:131072;i:do if((p|0)>=49152)if((p|0)<131072)switch(p|0){case 49152:{w=0;break h}default:break i}else switch(p|0){case 131072:{w=0;break h}default:break i}else{switch(p|0){case 0:break;default:break i}w=(c[f+((t&63)<<2)>>2]|0)!=0;break h}while(0);w=1}while(0);if(A){p=c[f+((t>>>6&63)<<2)>>2]|0;if(!(t&49152)){x=c[Y>>2]|0;q=c[ua>>2]|0;y=q+344+((x^1)<<3)|0;x=f+320+(x<<3)|0;if((c[x>>2]&c[y>>2]|0?1:(c[x+4>>2]&c[y+4>>2]|0)!=0)|(h+-1|0)>>>0<2){q=1;Aa=155}else{j=q+1464+((p&7)<<3)|0;y=24960+((t&63)<<3)|0;q=1;h=c[y>>2]&c[j>>2];j=c[y+4>>2]&c[j+4>>2]}}else{q=0;Aa=155}}else{p=t>>>18&15;q=0;Aa=155}if((Aa|0)==155){Aa=0;h=(xf(f,t)|0)&1;j=0}y=(h|0)!=0|(j|0)!=0;if(Z)u=(n|0)>=(c[W>>2]|0);else u=0;if(u|y^1)h=0;else h=(Gf(f,t,0)|0)&1;do if(X){if((t|0)!=(ca|0)|(h|0)!=0)break;if(!(wf(f,ca)|0)){h=0;break}c[ka>>2]=ca;a[E>>0]=1;h=_f(f,g,F,B,D,l)|0;a[E>>0]=0;c[ka>>2]=0;h=(h|0)<(B|0)&1}while(0);x=G+h|0;s=c[sa>>2]|0;r=(s|0)==6;if((p&7|0)==6&r){if((m|0)>-31744?(t>>>3&7)>>>0<=(A?t>>>9&7:8)>>>0:0)Aa=167}else if((m|0)>-31744)Aa=167;j:do if((Aa|0)==167){Aa=0;k:do if(!(w|y)){if(A)j=c[f+((t>>>6&63)<<2)>>2]|0;else j=t>>>18&15;j=j&7;do if(r){if((j|0)!=6)break;if((t&2048)>>>0>1536|A^1)break k}else{if((j|0)!=1)break;if(((c[Y>>2]|0)*7^(A?t>>>9&7:8)|0)>3)break k}while(0);if(u)break g;h=x-(c[1144044+(V<<14)+(J<<8)+(((n|0)>63?63:n)<<2)>>2]|0)|0;h=(h|0)<0?0:h;do if((h|0)<3){if(K?(c[$+(p<<8)+((t&63)<<2)>>2]|0)>=0:0)break;if(L?(c[aa+(p<<8)+((t&63)<<2)>>2]|0)>=0:0)break;if(M)break g;if(U|(c[ba+(p<<8)+((t&63)<<2)>>2]|0)<0)break g}while(0);if(!(va|(h|0)>6)?((h*200|0)+256+(c[fa>>2]|0)|0)<=(ma|0):0)break g;if((s|0)==1)break j;if(!((h|0)<8&(s|0)!=6))break j;if(Gf(f,t,_(_(h,-35)|0,h)|0)|0)break j;else break g}while(0);if(H|(h|0)!=0)break;if(!(Gf(f,t,I)|0))break g}while(0);if(!(wf(f,t)|0)){c[oa>>2]=z;n=z;break}c[ia>>2]=t;s=t&63;c[ja>>2]=na+46512+(p<<18)+(s<<12);zf(f,t,ra,y);v=w^1;if(N&(z|0)>0&(u|v)){h=c[1144044+(V<<14)+(J<<8)+(((n|0)>63?63:n)<<2)>>2]|0;if(w)p=h-((h|0)!=0&1)|0;else{do if(l)h=h+2|0;else{if(!q)break;if((c[f+(s<<2)>>2]&7|0)==1)break;z=Gf(f,(A?t>>>6&63:64)+(s<<6)|0,0)|0;h=z?h:h+-2|0}while(0);if(Q)q=0;else q=c[$+(p<<8)+(s<<2)>>2]|0;if(R)j=0;else j=c[aa+(p<<8)+(s<<2)>>2]|0;if(M)r=0;else r=c[ba+(p<<8)+(s<<2)>>2]|0;p=q+(c[na+5552+(p<<8)+(s<<2)>>2]|0)+j+r+(c[na+13744+((c[Y>>2]^1)<<14)+((A?t>>>6&63:64)<<8)+(s<<2)>>2]|0)|0;q=p+-8e3|0;c[pa>>2]=q;do if((p|0)>8e3)p=h+(c[S>>2]>>31)|0;else{if((p|0)>=8e3){p=h;break}p=((c[S>>2]|0)>0&1)+h|0}while(0);p=p-((q|0)/2e4|0)|0;p=(p|0)>0?p:0}A=x-p|0;A=(A|0)<1?1:A;p=0-(_f(f,ha,O,P,A,1)|0)|0;if((ma|0)<(p|0)&(A|0)!=(x|0))Aa=214}else Aa=214;do if((Aa|0)==214){Aa=0;if((x|0)>=1){p=0-(_f(f,ha,O,P,x,T)|0)|0;break}if(y){p=0-(bg(f,ha,O,P,0)|0)|0;break}else{p=0-(ag(f,ha,O,P,0)|0)|0;break}}while(0);Bf(f,t);if(a[1213340]&1){m=0;break e}if((p|0)>(m|0))if((p|0)>(ma|0)){m=p;break f}else m=p;if(!((o|0)<64&v))break;c[ta+(o<<2)>>2]=t;o=o+1|0}while(0);t=We(qa)|0;if(!t){t=0;break}else z=n}if(n){if(!t){if((k|0)<3){h=0;Aa=282;break}if(c[(c[ua>>2]|0)+72>>2]|0){h=0;Aa=282;break}Aa=c[g+-36>>2]|0;r=Aa&63;if((((Aa&131072|0)==0?Aa>>>6&63:64)|0)==(r|0)){h=t;Aa=282;break}h=_(k+2|0,k)|0;s=h+-2|0;j=c[f+(r<<2)>>2]|0;q=c[g+-180>>2]|0;p=c[g+-92>>2]|0;n=c[ea>>2]|0;do if(n|0){o=(s|0)>-1?s:2-h|0;if((o|0)>323)break;Aa=n+(j<<8)+(r<<2)|0;g=c[Aa>>2]|0;c[Aa>>2]=g+(s<<5)+((_(g,o)|0)/-936|0)}while(0);do if(p|0){n=(s|0)>-1?s:2-h|0;if((n|0)>323)break;Aa=p+(j<<8)+(r<<2)|0;g=c[Aa>>2]|0;c[Aa>>2]=g+(s<<5)+((_(g,n)|0)/-936|0)}while(0);if(!q){h=t;Aa=282;break}n=(s|0)>-1?s:2-h|0;if((n|0)>323){h=t;Aa=282;break}h=q+(j<<8)+(r<<2)|0;Aa=c[h>>2]|0;c[h>>2]=Aa+(s<<5)+((_(Aa,n)|0)/-936|0);h=t;Aa=282;break}n=(t&131072|0)==0;l:do if((c[sa>>2]|0)==6){va=n?t>>>6&63:64;n=t&63;if((c[f+(va<<2)>>2]&7|0)==6?n>>>3>>>0>=va>>>3>>>0:0)break;if(!(c[f+(n<<2)>>2]|0))Aa=258}else{n=n?t&49152:131072;if((n|0)<49152){switch(n|0){case 0:break;default:break l}if(!(c[f+((t&63)<<2)>>2]|0)){Aa=258;break}else break}if((n|0)<131072)switch(n|0){case 49152:{Aa=258;break l}default:break l}else switch(n|0){case 131072:{Aa=258;break l}default:break l}}while(0);if((Aa|0)==258)$f(f,g,t,ta,o,(_(k+2|0,k)|0)+-2|0);if((c[g+-8>>2]|0)==1?(c[(c[ua>>2]|0)+72>>2]|0)==0:0){q=_(k+4|0,k)|0;h=q+1|0;s=c[g+-36>>2]&63;j=c[f+(s<<2)>>2]|0;r=~q;p=c[g+-180>>2]|0;o=c[g+-92>>2]|0;n=c[ea>>2]|0;if(n|0?(wa=(q|0)<0?r:h,(wa|0)<=323):0){Aa=n+(j<<8)+(s<<2)|0;g=c[Aa>>2]|0;c[Aa>>2]=g+(r<<5)+((_(g,wa)|0)/-936|0)}do if(o|0){n=(q|0)<0?r:h;if((n|0)>323)break;Aa=o+(j<<8)+(s<<2)|0;g=c[Aa>>2]|0;c[Aa>>2]=g+(r<<5)+((_(g,n)|0)/-936|0)}while(0);if(p){n=(q|0)<0?r:h;if((n|0)>323){h=t;Aa=282;break}h=p+(j<<8)+(s<<2)|0;Aa=c[h>>2]|0;c[h>>2]=Aa+(r<<5)+((_(Aa,n)|0)/-936|0);h=t;Aa=282}else{h=t;Aa=282}}else{h=t;Aa=282}}else{h=t;Aa=225}}else{h=0;Aa=225}while(0);m:do if((Aa|0)==225){m=c[sa>>2]|0;n:do switch(m|0){case 6:{q=c[f+5348>>2]|0;g=q<<3;p=c[f+400+((g|6)<<8)>>2]|0;n=(p&-8|0)==56;if(!(n?(c[f+400+((g^14)<<8)>>2]&-8|0)==56:0))Aa=228;do if((Aa|0)==228){o=q^1;if((c[f+400+((o<<3|6)<<8)>>2]&-8|0)==56?(p>>3|0)<(((q|0)==0?7:6)|0):0)break;if(n?(c[f+400+((o<<3|6)<<8)>>2]>>3|0)<7:0)break;switch(m|0){case 4:{Aa=242;break n}case 1:{Aa=245;break n}default:break n}}while(0);if(da){m=ma;Aa=282;break m}if(n?(c[f+400+((q<<3^14)<<8)>>2]&-8|0)==56:0){m=c[1143904+(q<<2)>>2]|0;Aa=282;break m}if((c[f+400+((q<<3^14)<<8)>>2]&-8|0)==56){m=c[Ba>>2]|0;if((p>>3|0)<(((q|0)==0?7:6)|0)){m=m+-32e3|0;Aa=282;break m}}else m=c[Ba>>2]|0;m=31999-m|0;Aa=282;break m}case 4:{Aa=242;break}case 1:{Aa=245;break}default:{}}while(0);if((Aa|0)==245){if(da){m=ma;Aa=282;break}m=31999-(c[Ba>>2]|0)|0;Aa=282;break}if((Aa|0)==242?(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)==0:0){if(da){m=ma;Aa=282;break}m=(c[Ba>>2]|0)+-32e3|0;Aa=282;break}if(!da)if(va){m=(c[Ba>>2]|0)+-32e3|0;Aa=282;break}else{m=c[1143904+(c[f+5348>>2]<<2)>>2]|0;Aa=282;break}else{m=ma;Aa=282}}while(0);do if((Aa|0)==282){n=c[Ba>>2]|0;if((m|0)>31743)t=n+m|0;else t=m-((m|0)<-31743?n:0)|0;s=(m|0)>=(xa|0)?2:1;j=c[fa>>2]|0;r=a[1209644]|0;if(!h){p=zu(ya|0,za|0,48)|0;o=C;n=b[ga>>1]|0;if((p|0)==(n&65535|0)&(o|0)==0){q=ga;h=n}else{q=ga;Aa=288}}else{n=b[ga>>1]|0;p=zu(ya|0,za|0,48)|0;q=ga;o=C;Aa=288}if((Aa|0)==288){b[ga+2>>1]=h;h=n}n=ga+9|0;if((p|0)==(h&65535|0)&(o|0)==0?((a[n>>0]|0)+-4|0)>=(k|0):0)break;b[q>>1]=p;b[ga+4>>1]=t;b[ga+6>>1]=j;a[ga+8>>0]=r&255|s;a[n>>0]=k}while(0);k=m;i=Ca;return k|0}}m=c[Ba>>2]|0;do if((m|0)<128&(m|0)<(c[262173]|0)){n=c[302398]|0;if((c[302399]|0)!=(n|0))if(va|(m|0)<((c[262174]|0)+(c[(c[n>>2]|0)+5540>>2]|0)|0)){Aa=48;break}else{Aa=47;break}else Ms(1209592)}else if(va)Aa=48;else Aa=47;while(0);if((Aa|0)==47){k=Dd(f)|0;i=Ca;return k|0}else if((Aa|0)==48){k=c[1143904+(c[f+5348>>2]<<2)>>2]|0;i=Ca;return k|0}return 0}function $f(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=b+16|0;i=c[h>>2]|0;if((i|0)!=(d|0)){c[b+20>>2]=i;c[h>>2]=d}t=c[a+5348>>2]|0;u=c[a+5352>>2]|0;s=0-g|0;p=(g|0)>-1?g:s;q=(p|0)>323;h=d&131072;if(!q){r=u+13744+(t<<14)+(((h|0)==0?d>>>6&63:64)<<8)+((d&63)<<2)|0;o=c[r>>2]|0;c[r>>2]=o+(g<<5)+((_(o,p)|0)/-324|0)}i=(h|0)==0;if(i)h=c[a+((d>>>6&63)<<2)>>2]|0;else h=d>>>18&15;n=d&63;if(!q){r=u+5552+(h<<8)+(n<<2)|0;o=c[r>>2]|0;c[r>>2]=o+(g<<5)+((_(o,p)|0)/-324|0)}if(i)h=c[a+((d>>>6&63)<<2)>>2]|0;else h=d>>>18&15;m=b+-136|0;j=c[m>>2]|0;o=b+-48|0;k=c[o>>2]|0;r=b+-4|0;l=c[r>>2]|0;i=(l|0)==0;if(!(q|i)){l=l+(h<<8)+(n<<2)|0;v=c[l>>2]|0;c[l>>2]=v+(g<<5)+((_(v,p)|0)/-936|0)}if(!(q|(k|0)==0)){v=k+(h<<8)+(n<<2)|0;l=c[v>>2]|0;c[v>>2]=l+(g<<5)+((_(l,p)|0)/-936|0)}if(!(q|(j|0)==0)){v=j+(h<<8)+(n<<2)|0;q=c[v>>2]|0;c[v>>2]=q+(g<<5)+((_(q,p)|0)/-936|0)}if(!i){v=c[b+-36>>2]&63;c[u+9648+(c[a+(v<<2)>>2]<<8)+(v<<2)>>2]=d}if((f|0)<=0)return;b=(g|0)<1?s:g;v=(b|0)>323;d=c[m>>2]|0;g=c[o>>2]|0;r=c[r>>2]|0;o=v|(r|0)==0;p=v|(g|0)==0;q=v|(d|0)==0;n=s<<5;if(v){j=0;do{h=c[e+(j<<2)>>2]|0;if(!(h&131072))i=c[a+((h>>>6&63)<<2)>>2]|0;else i=h>>>18&15;h=h&63;if(!o){v=r+(i<<8)+(h<<2)|0;u=c[v>>2]|0;c[v>>2]=u+n+((_(u,b)|0)/-936|0)}if(!p){v=g+(i<<8)+(h<<2)|0;u=c[v>>2]|0;c[v>>2]=u+n+((_(u,b)|0)/-936|0)}if(!q){v=d+(i<<8)+(h<<2)|0;u=c[v>>2]|0;c[v>>2]=u+n+((_(u,b)|0)/-936|0)}j=j+1|0}while((j|0)!=(f|0));return}else m=0;do{i=c[e+(m<<2)>>2]|0;j=(i&131072|0)==0;k=i>>>6&63;l=i&63;v=u+13744+(t<<14)+((j?k:64)<<8)+(l<<2)|0;s=c[v>>2]|0;c[v>>2]=s+n+((_(s,b)|0)/-324|0);if(j)h=c[a+(k<<2)>>2]|0;else h=i>>>18&15;v=u+5552+(h<<8)+(l<<2)|0;s=c[v>>2]|0;c[v>>2]=s+n+((_(s,b)|0)/-324|0);if(j)h=c[a+(k<<2)>>2]|0;else h=i>>>18&15;if(!o){v=r+(h<<8)+(l<<2)|0;s=c[v>>2]|0;c[v>>2]=s+n+((_(s,b)|0)/-936|0)}if(!p){v=g+(h<<8)+(l<<2)|0;s=c[v>>2]|0;c[v>>2]=s+n+((_(s,b)|0)/-936|0)}if(!q){v=d+(h<<8)+(l<<2)|0;s=c[v>>2]|0;c[v>>2]=s+n+((_(s,b)|0)/-936|0)}m=m+1|0}while((m|0)!=(f|0));return}function ag(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;K=i;i=i+5680|0;F=K;r=K+5668|0;E=K+1528|0;y=g+8|0;c[y>>2]=0;p=c[g+-40>>2]|0;G=g+4|0;c[G>>2]=p+1;D=f+5364|0;o=c[D>>2]|0;switch(o|0){case 5:{l=c[f+5348>>2]|0;J=c[f+400+((l<<3|6)<<8)>>2]|0;if(((J>>3)+-3|0)>>>0<2?((J&7)+-3|0)>>>0<2:0){J=31998-p|0;i=K;return J|0}J=c[f+400+((l<<3^14)<<8)>>2]|0;if(((J>>3)+-3|0)>>>0<2?((J&7)+-3|0)>>>0<2:0){J=p+-31999|0;i=K;return J|0}switch(o|0){case 6:{I=9;break}case 8:{I=18;break}case 4:{I=22;break}case 2:{I=24;break}case 1:{I=28;break}default:{}}break}case 6:{I=9;break}case 8:{I=18;break}case 4:{I=22;break}case 2:{I=24;break}case 1:{I=28;break}default:{}}if((I|0)==9){m=c[f+5348>>2]|0;l=m<<3;n=c[f+400+((l|6)<<8)>>2]|0;if((n&-8|0)==56){if((c[f+400+((l^14)<<8)>>2]&-8|0)==56){J=c[1143904+(m<<2)>>2]|0;i=K;return J|0}if((c[f+400+((m<<3^14)<<8)>>2]>>3|0)<7){J=31998-p|0;i=K;return J|0}}if((c[f+400+((m<<3^14)<<8)>>2]&-8|0)==56?(n>>3|0)<(((m|0)==0?7:6)|0):0){J=p+-31999|0;i=K;return J|0}switch(o|0){case 8:{I=18;break}case 4:{I=22;break}case 2:{I=24;break}case 1:{I=28;break}default:{}}}if((I|0)==18){l=c[f+5348>>2]|0;m=c[f+5356>>2]|0;if((c[m+36+(l<<2)>>2]|0)==3){J=31998-p|0;i=K;return J|0}if((c[m+36+((l^1)<<2)>>2]|0)==3){J=p+-31999|0;i=K;return J|0}}else if((I|0)==22){if(!(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){J=p+-31999|0;i=K;return J|0}}else if((I|0)==24){l=c[f+5348>>2]<<3;if(!(c[f+336+((l^14)<<2)>>2]|0)){J=31998-p|0;i=K;return J|0}if(!(c[f+336+((l|6)<<2)>>2]|0)){J=p+-31999|0;i=K;return J|0}}else if((I|0)==28){l=c[f+5348>>2]<<3;if(!(c[f+336+(l<<2)>>2]|0)){J=31998-p|0;i=K;return J|0}if(!(c[f+336+((l^8)<<2)>>2]|0)){J=p+-31999|0;i=K;return J|0}}if(!(Jf(f)|0)?(q=c[G>>2]|0,(q|0)<128&(q|0)<(c[262173]|0)):0){l=c[302398]|0;if((c[302399]|0)==(l|0))Ms(1209592);if((q|0)<((c[262174]|0)+(c[(c[l>>2]|0)+5540>>2]|0)|0)){H=k>>31;x=f+5356|0;A=(c[x>>2]|0)+56|0;z=c[A>>2]|0;A=c[A+4>>2]|0;J=Mg(1209632,z,A,r)|0;if(a[r>>0]|0){o=e[J+2>>1]|0;l=b[J+4>>1]|0;m=l<<16>>16;n=c[G>>2]|0;if(l<<16>>16!=32002){if(l<<16>>16>31743)l=m-n|0;else l=(l<<16>>16<-31743?n:0)+m|0;if(((l|0)!=32002?(a[J+9>>0]|0)>=(H|0):0)?(d[J+8>>0]&((l|0)>=(j|0)?2:1)|0)!=0:0){J=l;i=K;return J|0}}else l=32002;w=b[J+6>>1]|0;m=w<<16>>16;n=g+24|0;c[n>>2]=m;if(w<<16>>16==32002){m=Dd(f)|0;c[n>>2]=m}if((l|0)==32002){q=m;n=o;l=m}else{q=m;n=o;l=(d[J+8>>0]&((l|0)>(m|0)?2:1)|0)==0?m:l}}else{if((c[g+-36>>2]|0)==65)l=40-(c[g+-20>>2]|0)|0;else l=Dd(f)|0;c[g+24>>2]=l;q=l;n=0}if((l|0)>=(j|0)){if(a[r>>0]|0){J=l;i=K;return J|0}n=(c[x>>2]|0)+56|0;m=c[G>>2]|0;if((l|0)>31743)p=m+l|0;else p=l-((l|0)<-31743?m:0)|0;o=a[1209644]|0;n=zu(c[n>>2]|0,c[n+4>>2]|0,48)|0;if((C|0)==0?(n|0)==(e[J>>1]|0):0){m=J+9|0;if(((a[m>>0]|0)+-4|0)>=-6){J=l;i=K;return J|0}}else{b[J+2>>1]=0;m=J+9|0}b[J>>1]=n;b[J+4>>1]=p;b[J+6>>1]=q;a[J+8>>0]=o&255|2;a[m>>0]=-6;J=l;i=K;return J|0}w=l+128|0;Te(E,f,n,k,c[g+-36>>2]&63);r=We(E)|0;a:do if(!r)I=107;else{v=g+44|0;t=0-j|0;u=0-h|0;j=k+-1|0;p=(w|0)>-1e4;k=(w|0)>(h|0);s=f+5348|0;q=p^1;p=p^1;o=l;while(1){b:while(1){l=c[D>>2]|0;n=(r&131072|0)==0;if((l|0)==6){l=(r&56|0)==56?(c[f+((n?r>>>6&63:64)<<2)>>2]&7|0)==6:0;if(!(l|q)){m=6;I=78}}else{if((r&180224|0)==0?(L=c[s>>2]|0,B=c[x>>2]|0,m=B+344+((L^1)<<3)|0,L=f+320+(L<<3)|0,!((l+-1|0)>>>0<2|(c[L>>2]&c[m>>2]|0?1:(c[L+4>>2]&c[m+4>>2]|0)!=0))):0){m=B+1464+((c[f+((n?r>>>6&63:64)<<2)>>2]&7)<<3)|0;L=24960+((r&63)<<3)|0;l=c[L>>2]&c[m>>2];m=c[L+4>>2]&c[m+4>>2]}else{l=(xf(f,r)|0)&1;m=0}l=(l|0)!=0|(m|0)!=0;if(!(l|p)){m=c[D>>2]|0;I=78}}do if((I|0)==78){I=0;if(n)l=c[f+((r>>>6&63)<<2)>>2]|0;else l=r>>>18&15;l=l&7;if((m|0)==6){if((l|0)==6?(r&2048)>>>0>1536|n^1:0){l=0;break}}else if((l|0)==1?((c[s>>2]|0)*7^(n?r>>>9&7:8)|0)>3:0){l=0;break}l=(c[4708+(m<<7)+64+(c[f+((r&63)<<2)>>2]<<2)>>2]|0)+w|0;if((l|0)<=(h|0)){I=87;break b}if(!k?!(Gf(f,r,1)|0):0){I=90;break b}else l=0}while(0);if(!((r&180224|0)!=16384?!(Gf(f,r,0)|0):0))I=94;if((I|0)==94?(I=0,wf(f,r)|0):0){c[y>>2]=r;zf(f,r,F,l);if(l)n=bg(f,v,t,u,j)|0;else n=ag(f,v,t,u,j)|0;l=0-n|0;Bf(f,r);if((o|0)<(l|0)){I=99;break}}r=We(E)|0;if(!r){l=o;I=107;break a}}if((I|0)==87){I=0;l=(o|0)<(l|0)?l:o}else if((I|0)==90){I=0;l=(o|0)<(w|0)?w:o}else if((I|0)==99){I=0;if((l|0)>(h|0))break}r=We(E)|0;if(!r){I=107;break a}else o=l}m=c[G>>2]|0;if((n|0)<-31743)q=m-n|0;else q=l-((n|0)>31743?m:0)|0;o=c[g+24>>2]|0;p=a[1209644]|0;L=b[J>>1]|0;n=zu(z|0,A|0,48)|0;b[J+2>>1]=r;m=J+9|0;if((n|0)==(L&65535|0)&(C|0)==0?((a[m>>0]|0)+-4|0)>=(H|0):0)break;b[J>>1]=n;b[J+4>>1]=q;b[J+6>>1]=o;a[J+8>>0]=p&255|2;a[m>>0]=H}while(0);do if((I|0)==107){m=c[G>>2]|0;if((l|0)>31743)q=m+l|0;else q=l-((l|0)<-31743?m:0)|0;o=c[g+24>>2]|0;p=a[1209644]|0;n=zu(z|0,A|0,48)|0;if((C|0)==0?(n|0)==(e[J>>1]|0):0){m=J+9|0;if(((a[m>>0]|0)+-4|0)>=(H|0))break}else{b[J+2>>1]=0;m=J+9|0}b[J>>1]=n;b[J+4>>1]=q;b[J+6>>1]=o;a[J+8>>0]=p&255|1;a[m>>0]=H}while(0);L=l;i=K;return L|0}}l=c[G>>2]|0;if((l|0)<128&(l|0)<(c[262173]|0)){m=c[302398]|0;if((c[302399]|0)==(m|0))Ms(1209592);if((l|0)<((c[262174]|0)+(c[(c[m>>2]|0)+5540>>2]|0)|0)){L=c[1143904+(c[f+5348>>2]<<2)>>2]|0;i=K;return L|0}}L=Dd(f)|0;i=K;return L|0}function bg(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0;I=i;i=i+5680|0;E=I;r=I+5668|0;D=I+1528|0;w=g+8|0;c[w>>2]=0;p=c[g+-40>>2]|0;F=g+4|0;c[F>>2]=p+1;B=f+5364|0;o=c[B>>2]|0;switch(o|0){case 5:{l=c[f+5348>>2]|0;G=c[f+400+((l<<3|6)<<8)>>2]|0;if(((G>>3)+-3|0)>>>0<2?((G&7)+-3|0)>>>0<2:0){H=31998-p|0;i=I;return H|0}G=c[f+400+((l<<3^14)<<8)>>2]|0;if(((G>>3)+-3|0)>>>0<2?((G&7)+-3|0)>>>0<2:0){H=p+-31999|0;i=I;return H|0}switch(o|0){case 6:{H=9;break}case 8:{H=18;break}case 4:{H=22;break}case 2:{H=24;break}case 1:{H=28;break}default:{}}break}case 6:{H=9;break}case 8:{H=18;break}case 4:{H=22;break}case 2:{H=24;break}case 1:{H=28;break}default:{}}if((H|0)==9){m=c[f+5348>>2]|0;l=m<<3;n=c[f+400+((l|6)<<8)>>2]|0;if((n&-8|0)==56){if((c[f+400+((l^14)<<8)>>2]&-8|0)==56){H=c[1143904+(m<<2)>>2]|0;i=I;return H|0}if((c[f+400+((m<<3^14)<<8)>>2]>>3|0)<7){H=31998-p|0;i=I;return H|0}}if((c[f+400+((m<<3^14)<<8)>>2]&-8|0)==56?(n>>3|0)<(((m|0)==0?7:6)|0):0){H=p+-31999|0;i=I;return H|0}switch(o|0){case 8:{H=18;break}case 4:{H=22;break}case 2:{H=24;break}case 1:{H=28;break}default:{}}}if((H|0)==18){l=c[f+5348>>2]|0;m=c[f+5356>>2]|0;if((c[m+36+(l<<2)>>2]|0)==3){H=31998-p|0;i=I;return H|0}if((c[m+36+((l^1)<<2)>>2]|0)==3){H=p+-31999|0;i=I;return H|0}}else if((H|0)==22){if(!(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){H=p+-31999|0;i=I;return H|0}}else if((H|0)==24){l=c[f+5348>>2]<<3;if(!(c[f+336+((l^14)<<2)>>2]|0)){H=31998-p|0;i=I;return H|0}if(!(c[f+336+((l|6)<<2)>>2]|0)){H=p+-31999|0;i=I;return H|0}}else if((H|0)==28){l=c[f+5348>>2]<<3;if(!(c[f+336+(l<<2)>>2]|0)){H=31998-p|0;i=I;return H|0}if(!(c[f+336+((l^8)<<2)>>2]|0)){H=p+-31999|0;i=I;return H|0}}if(!(Jf(f)|0)?(q=c[F>>2]|0,(q|0)<128&(q|0)<(c[262173]|0)):0){l=c[302398]|0;if((c[302399]|0)==(l|0))Ms(1209592);if((q|0)<((c[262174]|0)+(c[(c[l>>2]|0)+5540>>2]|0)|0)){u=f+5356|0;y=(c[u>>2]|0)+56|0;x=c[y>>2]|0;y=c[y+4>>2]|0;G=Mg(1209632,x,y,r)|0;if(a[r>>0]|0){o=e[G+2>>1]|0;l=b[G+4>>1]|0;m=l<<16>>16;n=c[F>>2]|0;if(l<<16>>16!=32002){if(l<<16>>16>31743)l=m-n|0;else l=(l<<16>>16<-31743?n:0)+m|0;if((l|0)!=32002&(a[G+9>>0]|0)>-1?(d[G+8>>0]&((l|0)>=(j|0)?2:1)|0)!=0:0){H=l;i=I;return H|0}else l=o}else l=o}else l=0;v=g+24|0;c[v>>2]=32002;Te(D,f,l,k,c[g+-36>>2]&63);t=g+44|0;j=0-j|0;s=0-h|0;q=k+-1|0;g=f+5348|0;p=-32001;a:while(1){r=We(D)|0;if(!r){l=p;H=76;break}o=(p|0)>-31744;while(1){l=c[B>>2]|0;m=(r&131072|0)==0;if((l|0)==6)if((c[f+((m?r>>>6&63:64)<<2)>>2]&7|0)==6)l=(r&56|0)==56;else l=0;else{if((r&180224|0)==0?(n=c[g>>2]|0,z=c[u>>2]|0,k=z+344+((n^1)<<3)|0,n=f+320+(n<<3)|0,!((l+-1|0)>>>0<2|(c[n>>2]&c[k>>2]|0?1:(c[n+4>>2]&c[k+4>>2]|0)!=0))):0){m=z+1464+((c[f+((m?r>>>6&63:64)<<2)>>2]&7)<<3)|0;k=24960+((r&63)<<3)|0;l=c[k>>2]&c[m>>2];m=c[k+4>>2]&c[m+4>>2]}else{l=(xf(f,r)|0)&1;m=0}l=(l|0)!=0|(m|0)!=0}b:do if(o?(A=r&180224,!((A|0)!=49152?(c[f+((r&63)<<2)>>2]|0)!=0:0)):0){if((A|0)<32768)switch(A|0){case 16384:{H=64;break b}default:{}}else switch(A|0){case 32768:{H=64;break b}default:{}}if(Gf(f,r,0)|0)H=64}else H=64;while(0);if((H|0)==64?(H=0,wf(f,r)|0):0){c[w>>2]=r;zf(f,r,E,l);if(l)n=bg(f,t,j,s,q)|0;else n=ag(f,t,j,s,q)|0;l=0-n|0;Bf(f,r);if((p|0)<(l|0))break}r=We(D)|0;if(!r){l=p;H=76;break a}}if((l|0)>(h|0)){H=70;break}else p=l}do if((H|0)==70){m=c[F>>2]|0;if((n|0)<-31743)q=m-n|0;else q=l-((n|0)>31743?m:0)|0;o=c[v>>2]|0;p=a[1209644]|0;H=b[G>>1]|0;n=zu(x|0,y|0,48)|0;b[G+2>>1]=r;m=G+9|0;if((n|0)==(H&65535|0)&(C|0)==0?(a[m>>0]|0)>=4:0)break;b[G>>1]=n;b[G+4>>1]=q;b[G+6>>1]=o;a[G+8>>0]=p&255|2;a[m>>0]=0}else if((H|0)==76){m=c[F>>2]|0;if((l|0)==-32001){l=m+-32e3|0;break}if((l|0)>31743)q=m+l|0;else q=l-((l|0)<-31743?m:0)|0;o=c[v>>2]|0;p=a[1209644]|0;n=zu(x|0,y|0,48)|0;if((C|0)==0?(n|0)==(e[G>>1]|0):0){m=G+9|0;if((a[m>>0]|0)>=4)break}else{b[G+2>>1]=0;m=G+9|0}b[G>>1]=n;b[G+4>>1]=q;b[G+6>>1]=o;a[G+8>>0]=p&255|1;a[m>>0]=0}while(0);H=l;i=I;return H|0}}H=c[F>>2]|0;if((H|0)<128&(H|0)<(c[262173]|0)?(c[302399]|0)==(c[302398]|0):0)Ms(1209592);H=c[1143904+(c[f+5348>>2]<<2)>>2]|0;i=I;return H|0}function cg(d,f,g,h,j){d=d|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;L=i;i=i+6192|0;F=L;q=L+6184|0;E=L+1528|0;x=f+44|0;c[x>>2]=L+5668;c[c[f>>2]>>2]=0;z=f+8|0;c[z>>2]=0;o=c[f+-40>>2]|0;I=f+4|0;c[I>>2]=o+1;D=d+5364|0;n=c[D>>2]|0;switch(n|0){case 5:{k=c[d+5348>>2]|0;J=c[d+400+((k<<3|6)<<8)>>2]|0;if(((J>>3)+-3|0)>>>0<2?((J&7)+-3|0)>>>0<2:0){K=31998-o|0;i=L;return K|0}J=c[d+400+((k<<3^14)<<8)>>2]|0;if(((J>>3)+-3|0)>>>0<2?((J&7)+-3|0)>>>0<2:0){K=o+-31999|0;i=L;return K|0}switch(n|0){case 6:{K=9;break}case 8:{K=18;break}case 4:{K=22;break}case 2:{K=24;break}case 1:{K=28;break}default:{}}break}case 6:{K=9;break}case 8:{K=18;break}case 4:{K=22;break}case 2:{K=24;break}case 1:{K=28;break}default:{}}if((K|0)==9){l=c[d+5348>>2]|0;k=l<<3;m=c[d+400+((k|6)<<8)>>2]|0;if((m&-8|0)==56){if((c[d+400+((k^14)<<8)>>2]&-8|0)==56){K=c[1143904+(l<<2)>>2]|0;i=L;return K|0}if((c[d+400+((l<<3^14)<<8)>>2]>>3|0)<7){K=31998-o|0;i=L;return K|0}}if((c[d+400+((l<<3^14)<<8)>>2]&-8|0)==56?(m>>3|0)<(((l|0)==0?7:6)|0):0){K=o+-31999|0;i=L;return K|0}switch(n|0){case 8:{K=18;break}case 4:{K=22;break}case 2:{K=24;break}case 1:{K=28;break}default:{}}}if((K|0)==18){k=c[d+5348>>2]|0;l=c[d+5356>>2]|0;if((c[l+36+(k<<2)>>2]|0)==3){K=31998-o|0;i=L;return K|0}if((c[l+36+((k^1)<<2)>>2]|0)==3){K=o+-31999|0;i=L;return K|0}}else if((K|0)==22){if(!(c[d+336+(((c[d+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){K=o+-31999|0;i=L;return K|0}}else if((K|0)==24){k=c[d+5348>>2]<<3;if(!(c[d+336+((k^14)<<2)>>2]|0)){K=31998-o|0;i=L;return K|0}if(!(c[d+336+((k|6)<<2)>>2]|0)){K=o+-31999|0;i=L;return K|0}}else if((K|0)==28){k=c[d+5348>>2]<<3;if(!(c[d+336+(k<<2)>>2]|0)){K=31998-o|0;i=L;return K|0}if(!(c[d+336+((k^8)<<2)>>2]|0)){K=o+-31999|0;i=L;return K|0}}if(!(Jf(d)|0)?(p=c[I>>2]|0,(p|0)<128&(p|0)<(c[262173]|0)):0){k=c[302398]|0;if((c[302399]|0)==(k|0))Ms(1209592);if((p|0)<((c[262174]|0)+(c[(c[k>>2]|0)+5540>>2]|0)|0)){v=d+5356|0;H=(c[v>>2]|0)+56|0;G=c[H>>2]|0;H=c[H+4>>2]|0;J=Mg(1209632,G,H,q)|0;if(!(a[q>>0]|0))k=0;else k=e[J+2>>1]|0;w=f+24|0;c[w>>2]=32002;Te(E,d,k,j,c[f+-36>>2]&63);u=0-h|0;s=j+-1|0;t=d+5348|0;r=g;p=0;k=-32001;a:while(1){j=0-r|0;o=k;while(1){q=We(E)|0;if(!q){k=o;K=76;break a}n=(o|0)>-31744;while(1){k=c[D>>2]|0;l=(q&131072|0)==0;if((k|0)==6)if((c[d+((l?q>>>6&63:64)<<2)>>2]&7|0)==6)k=(q&56|0)==56;else k=0;else{if((q&180224|0)==0?(M=c[t>>2]|0,y=c[v>>2]|0,m=y+344+((M^1)<<3)|0,M=d+320+(M<<3)|0,!((k+-1|0)>>>0<2|(c[M>>2]&c[m>>2]|0?1:(c[M+4>>2]&c[m+4>>2]|0)!=0))):0){l=y+1464+((c[d+((l?q>>>6&63:64)<<2)>>2]&7)<<3)|0;M=24960+((q&63)<<3)|0;k=c[M>>2]&c[l>>2];l=c[M+4>>2]&c[l+4>>2]}else{k=(xf(d,q)|0)&1;l=0}k=(k|0)!=0|(l|0)!=0}b:do if(n?(A=q&180224,!((A|0)!=49152?(c[d+((q&63)<<2)>>2]|0)!=0:0)):0){if((A|0)<32768)switch(A|0){case 16384:{K=60;break b}default:{}}else switch(A|0){case 32768:{K=60;break b}default:{}}if(Gf(d,q,0)|0)K=60}else K=60;while(0);if((K|0)==60?(K=0,wf(d,q)|0):0){c[z>>2]=q;zf(d,q,F,k);if(k)m=cg(d,x,u,j,s)|0;else m=dg(d,x,u,j,s)|0;k=0-m|0;Bf(d,q);if((o|0)<(k|0))break}q=We(E)|0;if(!q){k=o;K=76;break a}}if((r|0)<(k|0))break;else o=k}l=c[f>>2]|0;n=c[x>>2]|0;c[l>>2]=q;l=l+4|0;if((n|0)!=0?(B=c[n>>2]|0,(B|0)!=0):0){o=B;do{n=n+4|0;c[l>>2]=o;l=l+4|0;o=c[n>>2]|0}while((o|0)!=0)}c[l>>2]=0;if((k|0)<(h|0)){r=k;p=q}else{K=70;break}}do if((K|0)==70){l=c[I>>2]|0;if((m|0)<-31743)p=l-m|0;else p=k-((m|0)>31743?l:0)|0;n=c[w>>2]|0;o=a[1209644]|0;M=b[J>>1]|0;m=zu(G|0,H|0,48)|0;b[J+2>>1]=q;l=J+9|0;if((m|0)==(M&65535|0)&(C|0)==0?(a[l>>0]|0)>=4:0)break;b[J>>1]=m;b[J+4>>1]=p;b[J+6>>1]=n;a[J+8>>0]=o&255|2;a[l>>0]=0}else if((K|0)==76){l=c[I>>2]|0;if((k|0)==-32001){k=l+-32e3|0;break}if((k|0)>31743)t=l+k|0;else t=k-((k|0)<-31743?l:0)|0;r=(k|0)>(g|0);s=r?3:1;q=c[w>>2]|0;j=a[1209644]|0;if(!p){n=zu(G|0,H|0,48)|0;m=C;l=b[J>>1]|0;if((n|0)==(l&65535|0)&(m|0)==0){o=J;p=l}else{o=J;K=84}}else{l=b[J>>1]|0;n=zu(G|0,H|0,48)|0;o=J;m=C;K=84}if((K|0)==84){b[J+2>>1]=p;p=l}l=J+9|0;if((n|0)==(p&65535|0)&(m|0)==0?!(r|(a[l>>0]|0)<4):0)break;b[o>>1]=n;b[J+4>>1]=t;b[J+6>>1]=q;a[J+8>>0]=j&255|s;a[l>>0]=0}while(0);M=k;i=L;return M|0}}M=c[I>>2]|0;if((M|0)<128&(M|0)<(c[262173]|0)?(c[302399]|0)==(c[302398]|0):0)Ms(1209592);M=c[1143904+(c[d+5348>>2]<<2)>>2]|0;i=L;return M|0}function dg(f,g,h,j,k){f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;O=i;i=i+6192|0;H=O;r=O+6184|0;G=O+1528|0;A=g+44|0;c[A>>2]=O+5668;c[c[g>>2]>>2]=0;B=g+8|0;c[B>>2]=0;p=c[g+-40>>2]|0;K=g+4|0;c[K>>2]=p+1;F=f+5364|0;o=c[F>>2]|0;switch(o|0){case 5:{l=c[f+5348>>2]|0;N=c[f+400+((l<<3|6)<<8)>>2]|0;if(((N>>3)+-3|0)>>>0<2?((N&7)+-3|0)>>>0<2:0){N=31998-p|0;i=O;return N|0}N=c[f+400+((l<<3^14)<<8)>>2]|0;if(((N>>3)+-3|0)>>>0<2?((N&7)+-3|0)>>>0<2:0){N=p+-31999|0;i=O;return N|0}switch(o|0){case 6:{M=9;break}case 8:{M=18;break}case 4:{M=22;break}case 2:{M=24;break}case 1:{M=28;break}default:{}}break}case 6:{M=9;break}case 8:{M=18;break}case 4:{M=22;break}case 2:{M=24;break}case 1:{M=28;break}default:{}}if((M|0)==9){m=c[f+5348>>2]|0;l=m<<3;n=c[f+400+((l|6)<<8)>>2]|0;if((n&-8|0)==56){if((c[f+400+((l^14)<<8)>>2]&-8|0)==56){N=c[1143904+(m<<2)>>2]|0;i=O;return N|0}if((c[f+400+((m<<3^14)<<8)>>2]>>3|0)<7){N=31998-p|0;i=O;return N|0}}if((c[f+400+((m<<3^14)<<8)>>2]&-8|0)==56?(n>>3|0)<(((m|0)==0?7:6)|0):0){N=p+-31999|0;i=O;return N|0}switch(o|0){case 8:{M=18;break}case 4:{M=22;break}case 2:{M=24;break}case 1:{M=28;break}default:{}}}if((M|0)==18){l=c[f+5348>>2]|0;m=c[f+5356>>2]|0;if((c[m+36+(l<<2)>>2]|0)==3){N=31998-p|0;i=O;return N|0}if((c[m+36+((l^1)<<2)>>2]|0)==3){N=p+-31999|0;i=O;return N|0}}else if((M|0)==22){if(!(c[f+336+(((c[f+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){N=p+-31999|0;i=O;return N|0}}else if((M|0)==24){l=c[f+5348>>2]<<3;if(!(c[f+336+((l^14)<<2)>>2]|0)){N=31998-p|0;i=O;return N|0}if(!(c[f+336+((l|6)<<2)>>2]|0)){N=p+-31999|0;i=O;return N|0}}else if((M|0)==28){l=c[f+5348>>2]<<3;if(!(c[f+336+(l<<2)>>2]|0)){N=31998-p|0;i=O;return N|0}if(!(c[f+336+((l^8)<<2)>>2]|0)){N=p+-31999|0;i=O;return N|0}}if(!(Jf(f)|0)?(q=c[K>>2]|0,(q|0)<128&(q|0)<(c[262173]|0)):0){l=c[302398]|0;if((c[302399]|0)==(l|0))Ms(1209592);if((q|0)<((c[262174]|0)+(c[(c[l>>2]|0)+5540>>2]|0)|0)){L=k>>31;z=f+5356|0;J=(c[z>>2]|0)+56|0;I=c[J>>2]|0;J=c[J+4>>2]|0;N=Mg(1209632,I,J,r)|0;if(a[r>>0]|0){o=e[N+2>>1]|0;l=b[N+4>>1]|0;m=l<<16>>16;n=c[K>>2]|0;do if(l<<16>>16!=32002)if(l<<16>>16>31743){n=m-n|0;break}else{n=(l<<16>>16<-31743?n:0)+m|0;break}else n=32002;while(0);y=b[N+6>>1]|0;l=y<<16>>16;m=g+24|0;c[m>>2]=l;if(y<<16>>16==32002){l=Dd(f)|0;c[m>>2]=l}if((n|0)==32002){q=l;m=o}else{q=l;m=o;l=(d[N+8>>0]&((n|0)>(l|0)?2:1)|0)==0?l:n}}else{if((c[g+-36>>2]|0)==65)l=40-(c[g+-20>>2]|0)|0;else l=Dd(f)|0;c[g+24>>2]=l;q=l;m=0}if((l|0)>=(j|0)){if(a[r>>0]|0){N=l;i=O;return N|0}n=(c[z>>2]|0)+56|0;m=c[K>>2]|0;if((l|0)>31743)p=m+l|0;else p=l-((l|0)<-31743?m:0)|0;o=a[1209644]|0;n=zu(c[n>>2]|0,c[n+4>>2]|0,48)|0;if((C|0)==0?(n|0)==(e[N>>1]|0):0){m=N+9|0;if(((a[m>>0]|0)+-4|0)>=-6){N=l;i=O;return N|0}}else{b[N+2>>1]=0;m=N+9|0}b[N>>1]=n;b[N+4>>1]=p;b[N+6>>1]=q;a[N+8>>0]=o&255|2;a[m>>0]=-6;N=l;i=O;return N|0}y=l+128|0;Te(G,f,m,k,c[g+-36>>2]&63);x=0-j|0;v=k+-1|0;t=(y|0)>-1e4;w=f+5348|0;u=t^1;t=t^1;s=(l|0)>(h|0)?l:h;q=0;a:while(1){r=We(G)|0;if(!r){M=110;break}p=0-s|0;k=(y|0)>(s|0);o=l;while(1){b:while(1){l=c[F>>2]|0;n=(r&131072|0)==0;if((l|0)==6){l=(r&56|0)==56?(c[f+((n?r>>>6&63:64)<<2)>>2]&7|0)==6:0;if(!(l|u)){m=6;M=77}}else{if((r&180224|0)==0?(P=c[w>>2]|0,D=c[z>>2]|0,m=D+344+((P^1)<<3)|0,P=f+320+(P<<3)|0,!((l+-1|0)>>>0<2|(c[P>>2]&c[m>>2]|0?1:(c[P+4>>2]&c[m+4>>2]|0)!=0))):0){m=D+1464+((c[f+((n?r>>>6&63:64)<<2)>>2]&7)<<3)|0;P=24960+((r&63)<<3)|0;l=c[P>>2]&c[m>>2];m=c[P+4>>2]&c[m+4>>2]}else{l=(xf(f,r)|0)&1;m=0}l=(l|0)!=0|(m|0)!=0;if(!(l|t)){m=c[F>>2]|0;M=77}}do if((M|0)==77){M=0;if(n)l=c[f+((r>>>6&63)<<2)>>2]|0;else l=r>>>18&15;l=l&7;if((m|0)==6){if((l|0)==6?(r&2048)>>>0>1536|n^1:0){l=0;break}}else if((l|0)==1?((c[w>>2]|0)*7^(n?r>>>9&7:8)|0)>3:0){l=0;break}l=(c[4708+(m<<7)+64+(c[f+((r&63)<<2)>>2]<<2)>>2]|0)+y|0;if((l|0)<=(s|0)){M=86;break b}if(!k?!(Gf(f,r,1)|0):0){M=89;break b}else l=0}while(0);if(!((r&180224|0)!=16384?!(Gf(f,r,0)|0):0))M=93;if((M|0)==93?(M=0,wf(f,r)|0):0){c[B>>2]=r;zf(f,r,H,l);if(l)n=cg(f,A,x,p,v)|0;else n=dg(f,A,x,p,v)|0;l=0-n|0;Bf(f,r);if((o|0)<(l|0)){M=98;break}}r=We(G)|0;if(!r){l=o;M=110;break a}}if((M|0)==86){M=0;l=(o|0)<(l|0)?l:o}else if((M|0)==89){M=0;l=(o|0)<(y|0)?y:o}else if((M|0)==98){M=0;if((s|0)<(l|0))break}r=We(G)|0;if(!r){M=110;break a}else o=l}m=c[g>>2]|0;o=c[A>>2]|0;c[m>>2]=r;m=m+4|0;if((o|0)!=0?(E=c[o>>2]|0,(E|0)!=0):0){p=E;do{o=o+4|0;c[m>>2]=p;m=m+4|0;p=c[o>>2]|0}while((p|0)!=0)}c[m>>2]=0;if((l|0)<(j|0)){s=l;q=r}else{M=104;break}}do if((M|0)==104){m=c[K>>2]|0;if((n|0)<-31743)q=m-n|0;else q=l-((n|0)>31743?m:0)|0;o=c[g+24>>2]|0;p=a[1209644]|0;P=b[N>>1]|0;n=zu(I|0,J|0,48)|0;b[N+2>>1]=r;m=N+9|0;if((n|0)==(P&65535|0)&(C|0)==0?((a[m>>0]|0)+-4|0)>=(L|0):0)break;b[N>>1]=n;b[N+4>>1]=q;b[N+6>>1]=o;a[N+8>>0]=p&255|2;a[m>>0]=L}else if((M|0)==110){m=c[K>>2]|0;if((l|0)>31743)u=m+l|0;else u=l-((l|0)<-31743?m:0)|0;s=(l|0)>(h|0);t=s?3:1;r=c[g+24>>2]|0;k=a[1209644]|0;if(!q){o=zu(I|0,J|0,48)|0;n=C;m=b[N>>1]|0;if((o|0)==(m&65535|0)&(n|0)==0){p=N;q=m}else{p=N;M=116}}else{m=b[N>>1]|0;o=zu(I|0,J|0,48)|0;p=N;n=C;M=116}if((M|0)==116){b[N+2>>1]=q;q=m}m=N+9|0;if((o|0)==(q&65535|0)&(n|0)==0?!(s|((a[m>>0]|0)+-4|0)<(L|0)):0)break;b[p>>1]=o;b[N+4>>1]=u;b[N+6>>1]=r;a[N+8>>0]=k&255|t;a[m>>0]=L}while(0);P=l;i=O;return P|0}}l=c[K>>2]|0;if((l|0)<128&(l|0)<(c[262173]|0)){m=c[302398]|0;if((c[302399]|0)==(m|0))Ms(1209592);if((l|0)<((c[262174]|0)+(c[(c[m>>2]|0)+5540>>2]|0)|0)){P=c[1143904+(c[f+5348>>2]<<2)>>2]|0;i=O;return P|0}}P=Dd(f)|0;i=O;return P|0}function eg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=a+8|0;e=c[i>>2]|0;j=a+4|0;d=c[j>>2]|0;if(e-d>>2>>>0>=b>>>0){xu(d|0,0,b<<2|0)|0;c[j>>2]=d+(b<<2);return}k=c[a>>2]|0;f=(d-k>>2)+b|0;if(f>>>0>1073741823)Ls(a);d=e-k|0;if(d>>2>>>0<536870911){d=d>>1;d=d>>>0<f>>>0?f:d;f=c[j>>2]|0;e=f-k>>2;if(!d){h=0;g=0;d=f}else l=8}else{e=c[j>>2]|0;d=1073741823;f=e;e=e-k>>2;l=8}if((l|0)==8){h=d;g=pu(d<<2)|0;d=f}l=g+(e<<2)|0;xu(l|0,0,b<<2|0)|0;e=d-k|0;f=l+(0-(e>>2)<<2)|0;Bu(f|0,k|0,e|0)|0;c[a>>2]=f;c[j>>2]=l+(b<<2);c[i>>2]=g+(h<<2);if(!k)return;Qt(k);return}function fg(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+80|0;n=A+64|0;m=A+60|0;l=A+56|0;h=A+52|0;j=A+48|0;s=A+44|0;t=A+40|0;u=A+36|0;v=A+32|0;w=A+28|0;x=A+24|0;y=A+20|0;z=A+16|0;o=A+12|0;p=A+8|0;q=A+4|0;r=A;switch(e|0){case 2:{h=c[b>>2]|0;j=h+-20|0;c[b>>2]=j;f=c[a>>2]|0;if((c[f>>2]|0)>=(c[j>>2]|0)){i=A;return}x=f;w=c[x>>2]|0;x=c[x+4>>2]|0;a=f+8|0;z=c[a>>2]|0;e=f+12|0;d=c[e>>2]|0;y=f+16|0;b=c[y>>2]|0;c[y>>2]=0;c[e>>2]=0;c[a>>2]=0;u=j;v=c[u+4>>2]|0;g=f;c[g>>2]=c[u>>2];c[g+4>>2]=v;g=h+-12|0;c[a>>2]=c[g>>2];a=h+-8|0;c[e>>2]=c[a>>2];e=h+-4|0;c[y>>2]=c[e>>2];y=j;c[y>>2]=w;c[y+4>>2]=x;c[g>>2]=z;c[a>>2]=d;c[e>>2]=b;i=A;return}case 1:case 0:{i=A;return}default:{if((e|0)<1){c[h>>2]=c[a>>2];c[j>>2]=c[b>>2];c[m>>2]=c[h>>2];c[n>>2]=c[j>>2];gg(m,n,d);i=A;return}k=(e|0)/2|0;h=c[a>>2]|0;j=h+(k*20|0)|0;if((e|0)>(g|0)){c[x>>2]=h;c[y>>2]=j;c[m>>2]=c[x>>2];c[n>>2]=c[y>>2];fg(m,n,d,k,f,g);c[z>>2]=j;b=c[b>>2]|0;c[o>>2]=b;e=e-k|0;c[m>>2]=c[z>>2];c[n>>2]=c[o>>2];fg(m,n,d,e,f,g);c[p>>2]=h;c[q>>2]=j;c[r>>2]=b;c[l>>2]=c[p>>2];c[m>>2]=c[q>>2];c[n>>2]=c[r>>2];lg(l,m,n,d,k,e,f,g);i=A;return}c[s>>2]=h;c[t>>2]=j;c[m>>2]=c[s>>2];c[n>>2]=c[t>>2];hg(m,n,d,k,f);c[u>>2]=j;c[v>>2]=c[b>>2];b=f+(k*20|0)|0;c[m>>2]=c[u>>2];c[n>>2]=c[v>>2];hg(m,n,d,e-k|0,b);c[w>>2]=h;c[n>>2]=c[w>>2];kg(f,b,b,f+(e*20|0)|0,n,d);if(!f){i=A;return}else m=0;while(1){h=c[f+8>>2]|0;j=h;if(h|0){k=f+12|0;l=c[k>>2]|0;if((l|0)!=(h|0))c[k>>2]=l+(~((l+-4-j|0)>>>2)<<2);Qt(h)}m=m+1|0;if((m|0)==(e|0))break;else f=f+20|0}i=A;return}}}function gg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=c[a>>2]|0;e=c[b>>2]|0;if((d|0)==(e|0))return;f=d+20|0;if((f|0)==(e|0))return;while(1){e=f;n=f;o=c[n>>2]|0;n=c[n+4>>2]|0;m=d+28|0;q=c[m>>2]|0;l=d+32|0;r=c[l>>2]|0;k=d+36|0;p=c[k>>2]|0;c[k>>2]=0;c[l>>2]=0;c[m>>2]=0;a:do if((f|0)==(c[a>>2]|0))d=e;else{m=f;d=e;do{k=m;m=m+-20|0;if((c[m>>2]|0)>=(o|0))break a;l=d;e=m;j=c[e+4>>2]|0;i=d;c[i>>2]=c[e>>2];c[i+4>>2]=j;i=l+8|0;j=k+-12|0;d=c[i>>2]|0;e=d;h=l+12|0;if(!d)d=l+16|0;else{g=c[h>>2]|0;if((g|0)!=(d|0))c[h>>2]=g+(~((g+-4-e|0)>>>2)<<2);Qt(d);d=l+16|0;c[d>>2]=0;c[h>>2]=0;c[i>>2]=0}c[i>>2]=c[j>>2];i=k+-8|0;c[h>>2]=c[i>>2];k=k+-4|0;c[d>>2]=c[k>>2];c[k>>2]=0;c[i>>2]=0;c[j>>2]=0;d=l+-20|0}while((m|0)!=(c[a>>2]|0))}while(0);j=d;i=d;c[i>>2]=o;c[i+4>>2]=n;i=j+8|0;d=c[i>>2]|0;e=d;h=j+12|0;if(!d)d=j+16|0;else{g=c[h>>2]|0;if((g|0)!=(d|0))c[h>>2]=g+(~((g+-4-e|0)>>>2)<<2);Qt(d);d=j+16|0;c[d>>2]=0;c[h>>2]=0;c[i>>2]=0}c[i>>2]=q;c[h>>2]=r;c[d>>2]=p;d=f+20|0;if((d|0)==(c[b>>2]|0))break;else{r=f;f=d;d=r}}return}function hg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+64|0;k=v+52|0;j=v+48|0;h=v+44|0;g=v+40|0;l=v+36|0;m=v+32|0;n=v+28|0;o=v+24|0;p=v+20|0;q=v+16|0;r=v+12|0;s=v+8|0;t=v+4|0;u=v;switch(e|0){case 1:{e=c[a>>2]|0;d=e;b=c[d+4>>2]|0;a=f;c[a>>2]=c[d>>2];c[a+4>>2]=b;a=f+8|0;b=e+8|0;c[a>>2]=0;d=f+12|0;c[d>>2]=0;c[f+16>>2]=0;c[a>>2]=c[b>>2];a=e+12|0;c[d>>2]=c[a>>2];e=e+16|0;c[f+16>>2]=c[e>>2];c[e>>2]=0;c[a>>2]=0;c[b>>2]=0;i=v;return}case 2:{h=c[b>>2]|0;j=h+-20|0;c[b>>2]=j;g=c[a>>2]|0;if((c[g>>2]|0)<(c[j>>2]|0)){a=j;e=c[a+4>>2]|0;b=f;c[b>>2]=c[a>>2];c[b+4>>2]=e;b=f+8|0;e=h+-12|0;c[b>>2]=0;a=f+12|0;c[a>>2]=0;c[f+16>>2]=0;c[b>>2]=c[e>>2];b=h+-8|0;c[a>>2]=c[b>>2];a=h+-4|0;c[f+16>>2]=c[a>>2];c[a>>2]=0;c[b>>2]=0;c[e>>2]=0;e=g;b=c[e+4>>2]|0;a=f+20|0;c[a>>2]=c[e>>2];c[a+4>>2]=b;a=f+28|0;b=g+8|0;c[a>>2]=0;e=f+32|0;c[e>>2]=0;c[f+36>>2]=0;c[a>>2]=c[b>>2];a=g+12|0;c[e>>2]=c[a>>2];e=g+16|0;c[f+36>>2]=c[e>>2];c[e>>2]=0;c[a>>2]=0;c[b>>2]=0;i=v;return}else{a=g;e=c[a+4>>2]|0;b=f;c[b>>2]=c[a>>2];c[b+4>>2]=e;b=f+8|0;e=g+8|0;c[b>>2]=0;a=f+12|0;c[a>>2]=0;c[f+16>>2]=0;c[b>>2]=c[e>>2];b=g+12|0;c[a>>2]=c[b>>2];a=g+16|0;c[f+16>>2]=c[a>>2];c[a>>2]=0;c[b>>2]=0;c[e>>2]=0;e=j;b=c[e+4>>2]|0;a=f+20|0;c[a>>2]=c[e>>2];c[a+4>>2]=b;a=f+28|0;b=h+-12|0;c[a>>2]=0;e=f+32|0;c[e>>2]=0;c[f+36>>2]=0;c[a>>2]=c[b>>2];a=h+-8|0;c[e>>2]=c[a>>2];e=h+-4|0;c[f+36>>2]=c[e>>2];c[e>>2]=0;c[a>>2]=0;c[b>>2]=0;i=v;return}}case 0:{i=v;return}default:if((e|0)<9){c[l>>2]=c[a>>2];c[m>>2]=c[b>>2];c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];ig(j,k,f,d);i=v;return}else{l=(e|0)/2|0;m=c[a>>2]|0;a=m+(l*20|0)|0;c[n>>2]=m;c[o>>2]=a;c[j>>2]=c[n>>2];c[k>>2]=c[o>>2];fg(j,k,d,l,f,l);c[p>>2]=a;b=c[b>>2]|0;c[q>>2]=b;e=e-l|0;c[j>>2]=c[p>>2];c[k>>2]=c[q>>2];fg(j,k,d,e,f+(l*20|0)|0,e);c[r>>2]=m;c[s>>2]=a;c[t>>2]=a;c[u>>2]=b;c[g>>2]=c[r>>2];c[h>>2]=c[s>>2];c[j>>2]=c[t>>2];c[k>>2]=c[u>>2];jg(g,h,j,k,f,d);i=v;return}}}
function Ae(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;r=b+5348|0;m=c[r>>2]|0;v=b+256|0;i=v;h=c[i>>2]|0;i=c[i+4>>2]|0;k=~h;l=~i;q=b+5364|0;a:do if((c[q>>2]|0)==1){e=c[(c[b+5356>>2]|0)+48>>2]|0;if((e|0)!=64){s=vf(b,e,h,i)|0;g=c[r>>2]|0;f=b+320+(g<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;t=b+264|0;if((e&s&c[t>>2]|0)==0?(f&C&c[t+4>>2]|0)==0:0){i=v;h=c[i>>2]|0;i=c[i+4>>2]|0;u=6}}else{f=b+320+(m<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;g=m;u=6}if((u|0)==6){j=b+320+((g^1)<<3)|0;while(1){if((e|0)==0&(f|0)==0){s=k;t=l;break a}s=fb(e|0,f|0,0)|0;g=yu(e|0,f|0,-1,-1)|0;f=C&f;s=_b(c[b+(s<<2)>>2]|0,s,h,i)|0;t=j;if(!((c[t>>2]&s|0)==0?(c[t+4>>2]&C|0)==0:0))break;else e=g&e}}t=b+320+((m^1)<<3)|0;s=c[t>>2]&k;t=c[t+4>>2]&l}else{s=k;t=l}while(0);if(!m){o=b+320|0;h=o;p=b+264|0;j=p;g=c[j+4>>2]&c[h+4>>2];m=g&16711680;l=b+328|0;k=c[l>>2]|0;l=c[l+4>>2]|0;g=Au(c[j>>2]&c[h>>2]|0,g|0,8)|0;h=s&-256;j=t&16777215;g=g&h;f=C&j;e=Au(g|0,f|0,8)|0;n=c[q>>2]|0;w=(n|0)==4;i=w?-65536:-16777216;e=i&s&e;if((n|0)==3?((h|0)!=0|(j|0)!=0)&(c[b+4500>>2]|0)!=0:0)while(1){i=d+8|0;w=fb(h|0,j|0,0)|0;x=yu(h|0,j|0,-1,-1)|0;h=x&h;j=C&j;c[d>>2]=w|393216;if((h|0)==0&(j|0)==0){d=i;break}else d=i}if(!((g|0)==0&(f|0)==0)){h=d;while(1){x=fb(g|0,f|0,0)|0;d=yu(g|0,f|0,-1,-1)|0;g=d&g;f=C&f;d=h+8|0;c[h>>2]=(x|-512)+(x<<6);if((g|0)==0&(f|0)==0)break;else h=d}}if(!((e|0)==0&0==0)){g=d;f=0;while(1){x=fb(e|0,f|0,0)|0;d=yu(e|0,f|0,-1,-1)|0;e=d&e;f=C&f;d=g+8|0;c[g>>2]=(x|-1024)+(x<<6);if((e|0)==0&(f|0)==0)break;else g=d}}if(!(0==0&(m|0)==0)){e=Au(0,m|0,9)|0;e=e&k;f=C&l;Au(0,m|0,7)|0;i=l&2130706432&C;k=Au(0,m|0,8)|0;k=k&s;j=C&t;b:do if(!((e|0)==0&(f|0)==0)){m=d;d=f;g=n;while(1){f=fb(e|0,d|0,0)|0;h=yu(e|0,d|0,-1,-1)|0;h=h&e;l=C&d;d=f<<6;e=f+7616+d|0;if((g|0)==1){c[m+24>>2]=e+8192;c[m+32>>2]=f+15808+d|65536;d=m+40|0;f=e+12288|0;g=e|16384;e=e+20480|0}else{d=m+24|0;f=e+8192|0;g=e+12288|0;e=e|16384}c[m>>2]=e;c[m+8>>2]=g;c[m+16>>2]=f;if((h|0)==0&(l|0)==0)break b;m=d;e=h;d=l;g=c[q>>2]|0}}while(0);if(!(0==0&(i|0)==0)){l=d;m=0;while(1){d=fb(m|0,i|0,0)|0;e=yu(m|0,i|0,-1,-1)|0;m=e&m;i=C&i;e=d<<6;h=d+7744+e|0;if((c[q>>2]|0)==1){c[l+24>>2]=h+8192;c[l+32>>2]=d+15936+e|65536;d=l+40|0;f=h+12288|0;g=h|16384;e=h+20480|0}else{d=l+24|0;f=h+8192|0;g=h+12288|0;e=h|16384}c[l>>2]=e;c[l+8>>2]=g;c[l+16>>2]=f;if((m|0)==0&(i|0)==0)break;else l=d}}if(!((k|0)==0&(j|0)==0))while(1){e=fb(k|0,j|0,0)|0;f=yu(k|0,j|0,-1,-1)|0;k=f&k;j=C&j;f=e<<6;i=(e|7680)+f|0;if((c[q>>2]|0)==1){c[d+24>>2]=i+8192;c[d+32>>2]=(e|15872)+f|65536;f=d+40|0;g=i+12288|0;h=i|16384;e=i+20480|0}else{f=d+24|0;g=i+8192|0;h=i+12288|0;e=i|16384}c[d>>2]=e;c[d+8>>2]=h;c[d+16>>2]=g;if((k|0)==0&(j|0)==0){d=f;break}else d=f}}if((c[q>>2]|0)==3){h=(s|0)!=0|(t|0)!=0;if(h&(c[b+4504>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|655360;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4508>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|917504;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4512>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|1179648;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4516>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|1441792;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}}d=ye(b,xe(b,we(b,ve(b,d,0,s,t)|0,0,s,t)|0,0,s,t)|0,0,s,t)|0;h=c[q>>2]|0;c:do switch(h|0){case 1:{f=o;x=b+304|0;e=c[x>>2]&c[f>>2];f=c[x+4>>2]&c[f+4>>2];if(!((e|0)==0&(f|0)==0))do{g=fb(e|0,f|0,0)|0;h=yu(e|0,f|0,-1,-1)|0;e=h&e;f=C&f;h=28864+(g<<3)|0;i=c[h>>2]&s;h=c[h+4>>2]&t;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=d+8|0;x=fb(i|0,h|0,0)|0;w=yu(i|0,h|0,-1,-1)|0;i=w&i;h=C&h;c[d>>2]=x+j;if((i|0)==0&(h|0)==0){d=g;break}else d=g}}}while(!((e|0)==0&(f|0)==0));e=c[(c[b+5356>>2]|0)+48>>2]|0;if((e|0)!=64){w=v;w=vf(b,e,c[w>>2]|0,c[w+4>>2]|0)|0;e=c[r>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;x=p;if(!((f&w&c[x>>2]|0)==0?(g&C&c[x+4>>2]|0)==0:0)){x=d;return x|0}}else{e=c[r>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0}j=b+320+((e^1)<<3)|0;i=v;h=c[i>>2]|0;i=c[i+4>>2]|0;while(1){if((f|0)==0&(g|0)==0)break c;w=fb(f|0,g|0,0)|0;e=yu(f|0,g|0,-1,-1)|0;g=C&g;w=_b(c[b+(w<<2)>>2]|0,w,h,i)|0;x=j;if(!((c[x>>2]&w|0)==0?(c[x+4>>2]&C|0)==0:0))break;else f=e&f}return d|0}case 4:{if(!(c[b+360>>2]|0))u=58;else u=59;break}case 2:{if(!(c[b+360>>2]|0))u=58;else u=59;break}default:{e=c[b+1936>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&s;f=c[f+4>>2]&t;if((h|0)==7){j=v;j=vf(b,e,c[j>>2]|0,c[j+4>>2]|0)|0;k=o;j=c[k>>2]&j;k=c[k+4>>2]&C;x=b+272|0;if(!((j&c[x>>2]|0)==0?(k&c[x+4>>2]|0)==0:0)){x=26816+(e<<3)|0;g=c[x>>2]&s|g;f=c[x+4>>2]&t|f}i=b+296|0;h=c[i>>2]|0;i=c[i+4>>2]|0;x=b+280|0;if(!(((c[x>>2]|h)&j|0)==0?((c[x+4>>2]|i)&k|0)==0:0)){w=v;u=23936+(e<<3)|0;x=24448+(e<<3)|0;x=(_(c[u+4>>2]&c[w+4>>2],c[x+4>>2]|0)|0)^(_(c[u>>2]&c[w>>2],c[x>>2]|0)|0);x=(c[1096324+(e<<2)>>2]|0)+(x>>>(c[1096580+(e<<2)>>2]|0)<<3)|0;g=c[x>>2]&s|g;f=c[x+4>>2]&t|f}x=b+288|0;if(((c[x>>2]|h)&j|0)==0?((c[x+4>>2]|i)&k|0)==0:0)u=67;else{x=v;w=22912+(e<<3)|0;u=23424+(e<<3)|0;u=(_(c[w+4>>2]&c[x+4>>2],c[u+4>>2]|0)|0)^(_(c[w>>2]&c[x>>2],c[u>>2]|0)|0);u=(c[1095812+(e<<2)>>2]|0)+(u>>>(c[1096068+(e<<2)>>2]|0)<<3)|0;g=c[u>>2]&s|g;f=c[u+4>>2]&t|f;u=67}}else u=67}}while(0);if((u|0)==58){f=29376;e=64;g=c[f>>2]&s;f=c[f+4>>2]&t;u=67}else if((u|0)==59){e=c[b+1936>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&s;f=c[f+4>>2]&t;u=67}if((u|0)==67)if(!((g|0)==0&(f|0)==0)){h=e<<6;while(1){e=d+8|0;x=fb(g|0,f|0,0)|0;w=yu(g|0,f|0,-1,-1)|0;g=w&g;f=C&f;c[d>>2]=x+h;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if(!(c[(c[b+5356>>2]|0)+24>>2]&3)){x=d;return x|0}if(!(a[b+5360>>0]|0)){x=Ee(b,De(b,d)|0)|0;return x|0}else{x=Ce(b,Be(b,d)|0)|0;return x|0}}else{o=b+328|0;h=o;p=b+264|0;g=p;i=c[g>>2]&c[h>>2];m=i&65280;k=b+320|0;l=c[k>>2]|0;k=c[k+4>>2]|0;h=zu(i|0,c[g+4>>2]&c[h+4>>2]|0,8)|0;g=s&-256;i=t&16777215;h=h&g;f=C&i;zu(h|0,f|0,8)|0;e=C;n=c[q>>2]|0;x=(n|0)==4;e=(x?65535:255)&t&e;if((n|0)==3?((g|0)!=0|(i|0)!=0)&(c[b+4532>>2]|0)!=0:0){j=d;while(1){d=j+8|0;x=fb(g|0,i|0,0)|0;w=yu(g|0,i|0,-1,-1)|0;g=w&g;i=C&i;c[j>>2]=x|2490368;if((g|0)==0&(i|0)==0)break;else j=d}}if(!((h|0)==0&(f|0)==0))while(1){x=fb(h|0,f|0,0)|0;g=yu(h|0,f|0,-1,-1)|0;h=g&h;f=C&f;g=d+8|0;c[d>>2]=(x|512)+(x<<6);if((h|0)==0&(f|0)==0){d=g;break}else d=g}if(!(0==0&(e|0)==0)){g=0;while(1){x=fb(g|0,e|0,0)|0;f=yu(g|0,e|0,-1,-1)|0;g=f&g;e=C&e;f=d+8|0;c[d>>2]=(x|1024)+(x<<6);if((g|0)==0&(e|0)==0){d=f;break}else d=f}}if(!((m|0)==0&0==0)){e=zu(m|0,0,9)|0;e=e&l;f=C&k;k=zu(m|0,0,7)|0;k=l&254&k;j=zu(m|0,0,8)|0;j=j&s;i=C&t;d:do if(!((e|0)==0&(f|0)==0)){m=d;d=f;g=n;while(1){f=fb(e|0,d|0,0)|0;h=yu(e|0,d|0,-1,-1)|0;h=h&e;l=C&d;d=f<<6;e=f+8768+d|0;if((g|0)==1){c[m+24>>2]=e+8192;c[m+32>>2]=f+16960+d|65536;d=m+40|0;f=e+12288|0;g=e+16384|0;e=e+20480|0}else{d=m+24|0;f=e+8192|0;g=e+12288|0;e=e+16384|0}c[m>>2]=e;c[m+8>>2]=g;c[m+16>>2]=f;if((h|0)==0&(l|0)==0)break d;m=d;e=h;d=l;g=c[q>>2]|0}}while(0);if(!((k|0)==0&0==0)){m=d;l=0;while(1){d=fb(k|0,l|0,0)|0;e=yu(k|0,l|0,-1,-1)|0;k=e&k;l=C&l;e=d<<6;h=d+8640+e|0;if((c[q>>2]|0)==1){c[m+24>>2]=h+8192;c[m+32>>2]=d+16832+e|65536;d=m+40|0;f=h+12288|0;g=h+16384|0;e=h+20480|0}else{d=m+24|0;f=h+8192|0;g=h+12288|0;e=h+16384|0}c[m>>2]=e;c[m+8>>2]=g;c[m+16>>2]=f;if((k|0)==0&(l|0)==0)break;else m=d}}if(!((j|0)==0&(i|0)==0)){k=d;while(1){d=fb(j|0,i|0,0)|0;e=yu(j|0,i|0,-1,-1)|0;j=e&j;i=C&i;e=d<<6;h=(d|8704)+e|0;if((c[q>>2]|0)==1){c[k+24>>2]=h+8192;c[k+32>>2]=(d|16896)+e|65536;d=k+40|0;f=h+12288|0;g=h+16384|0;e=h+20480|0}else{d=k+24|0;f=h+8192|0;g=h+12288|0;e=h+16384|0}c[k>>2]=e;c[k+8>>2]=g;c[k+16>>2]=f;if((j|0)==0&(i|0)==0)break;else k=d}}}if((c[q>>2]|0)==3){h=(s|0)!=0|(t|0)!=0;if(h&(c[b+4536>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|2752512;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4540>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|3014656;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4544>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|3276800;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}if(h&(c[b+4548>>2]|0)!=0){f=s;g=t;while(1){e=d+8|0;x=fb(f|0,g|0,0)|0;w=yu(f|0,g|0,-1,-1)|0;f=w&f;g=C&g;c[d>>2]=x|3538944;if((f|0)==0&(g|0)==0){d=e;break}else d=e}}}d=ye(b,xe(b,we(b,ve(b,d,1,s,t)|0,1,s,t)|0,1,s,t)|0,1,s,t)|0;h=c[q>>2]|0;e:do switch(h|0){case 1:{f=o;x=b+304|0;e=c[x>>2]&c[f>>2];f=c[x+4>>2]&c[f+4>>2];if(!((e|0)==0&(f|0)==0))do{g=fb(e|0,f|0,0)|0;h=yu(e|0,f|0,-1,-1)|0;e=h&e;f=C&f;h=28864+(g<<3)|0;i=c[h>>2]&s;h=c[h+4>>2]&t;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=d+8|0;x=fb(i|0,h|0,0)|0;w=yu(i|0,h|0,-1,-1)|0;i=w&i;h=C&h;c[d>>2]=x+j;if((i|0)==0&(h|0)==0){d=g;break}else d=g}}}while(!((e|0)==0&(f|0)==0));e=c[(c[b+5356>>2]|0)+48>>2]|0;if((e|0)!=64){w=v;w=vf(b,e,c[w>>2]|0,c[w+4>>2]|0)|0;e=c[r>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;x=p;if(!((f&w&c[x>>2]|0)==0?(g&C&c[x+4>>2]|0)==0:0)){x=d;return x|0}}else{e=c[r>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0}j=b+320+((e^1)<<3)|0;i=v;h=c[i>>2]|0;i=c[i+4>>2]|0;e=g;while(1){if((f|0)==0&(e|0)==0)break e;w=fb(f|0,e|0,0)|0;g=yu(f|0,e|0,-1,-1)|0;e=C&e;w=_b(c[b+(w<<2)>>2]|0,w,h,i)|0;x=j;if(!((c[x>>2]&w|0)==0?(c[x+4>>2]&C|0)==0:0))break;else f=g&f}return d|0}case 4:{if(!(c[b+392>>2]|0))u=121;else u=122;break}case 2:{if(!(c[b+392>>2]|0))u=121;else u=122;break}default:{e=c[b+3984>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&s;f=c[f+4>>2]&t;if((h|0)==7){j=v;j=vf(b,e,c[j>>2]|0,c[j+4>>2]|0)|0;k=o;j=c[k>>2]&j;k=c[k+4>>2]&C;x=b+272|0;if(!((j&c[x>>2]|0)==0?(k&c[x+4>>2]|0)==0:0)){x=26816+(e<<3)|0;g=c[x>>2]&s|g;f=c[x+4>>2]&t|f}i=b+296|0;h=c[i>>2]|0;i=c[i+4>>2]|0;x=b+280|0;if(!(((c[x>>2]|h)&j|0)==0?((c[x+4>>2]|i)&k|0)==0:0)){w=v;u=23936+(e<<3)|0;x=24448+(e<<3)|0;x=(_(c[u+4>>2]&c[w+4>>2],c[x+4>>2]|0)|0)^(_(c[u>>2]&c[w>>2],c[x>>2]|0)|0);x=(c[1096324+(e<<2)>>2]|0)+(x>>>(c[1096580+(e<<2)>>2]|0)<<3)|0;g=c[x>>2]&s|g;f=c[x+4>>2]&t|f}x=b+288|0;if(((c[x>>2]|h)&j|0)==0?((c[x+4>>2]|i)&k|0)==0:0)u=130;else{x=v;w=22912+(e<<3)|0;u=23424+(e<<3)|0;u=(_(c[w+4>>2]&c[x+4>>2],c[u+4>>2]|0)|0)^(_(c[w>>2]&c[x>>2],c[u>>2]|0)|0);u=(c[1095812+(e<<2)>>2]|0)+(u>>>(c[1096068+(e<<2)>>2]|0)<<3)|0;g=c[u>>2]&s|g;f=c[u+4>>2]&t|f;u=130}}else u=130}}while(0);if((u|0)==121){f=29376;e=64;g=c[f>>2]&s;f=c[f+4>>2]&t;u=130}else if((u|0)==122){e=c[b+3984>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&s;f=c[f+4>>2]&t;u=130}if((u|0)==130)if(!((g|0)==0&(f|0)==0)){h=e<<6;while(1){e=d+8|0;x=fb(g|0,f|0,0)|0;w=yu(g|0,f|0,-1,-1)|0;g=w&g;f=C&f;c[d>>2]=x+h;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if(!(c[(c[b+5356>>2]|0)+24>>2]&12)){x=d;return x|0}if(!(a[b+5360>>0]|0)){x=Ie(b,He(b,d)|0)|0;return x|0}else{x=Ge(b,Fe(b,d)|0)|0;return x|0}}return 0}function Be(a,b){a=a|0;b=b|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=a+256|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;p=a+5216|0;if(!((c[p>>2]&g|0)==0?(c[p+4>>2]&e|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&1)){a=b;return a|0}m=a+5364|0;h=c[m>>2]|0;switch(h|0){case 4:{if(!(c[a+360>>2]|0))p=64;else i=6;break}case 2:{if(!(c[a+360>>2]|0))p=64;else i=6;break}case 1:{p=c[a+5084>>2]|0;break}default:i=6}if((i|0)==6)p=c[a+1936>>2]|0;o=c[a+5148>>2]|0;n=a+328|0;d=n;f=c[d>>2]|0;d=c[d+4>>2]|0;k=(p|0)<6?-1:1;if((h|0)!=1){do if((p|0)!=6){i=a+392|0;j=a+3984|0;h=6;while(1){g=vf(a,h,g,e)|0;if(!((g&f|0)==0&(C&d|0)==0)){if((c[m>>2]|0)!=2){i=18;break}g=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;e=24960+(h<<3)|0;if((c[e>>2]&c[g>>2]|0)==0?(c[e+4>>2]&c[g+4>>2]|0)==0:0){i=18;break}}h=h+k|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;if((h|0)==(p|0)){d=g;i=15;break}}if((i|0)==15){g=d;f=c[n>>2]|0;d=c[n+4>>2]|0;break}else if((i|0)==18)return b|0}while(0);n=24960+(o<<3)|0;l=22960;m=23472;m=(_(c[l+4>>2]&(c[n+4>>2]^e),c[m+4>>2]|0)|0)^(_(c[l>>2]&(c[n>>2]^g),c[m>>2]|0)|0);m=(c[273959]|0)+(m>>>(c[274023]|0)<<3)|0;n=a+288|0;a=a+296|0;if(!((f&c[m>>2]&(c[a>>2]|c[n>>2])|0)==0?(d&c[m+4>>2]&(c[a+4>>2]|c[n+4>>2])|0)==0:0)){a=b;return a|0}}c[b>>2]=(p<<6)+49152+o;a=b+8|0;return a|0}function Ce(a,b){a=a|0;b=b|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=a+256|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;p=a+5224|0;if(!((c[p>>2]&g|0)==0?(c[p+4>>2]&e|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&2)){a=b;return a|0}m=a+5364|0;h=c[m>>2]|0;switch(h|0){case 4:{if(!(c[a+360>>2]|0))p=64;else i=6;break}case 2:{if(!(c[a+360>>2]|0))p=64;else i=6;break}case 1:{p=c[a+5088>>2]|0;break}default:i=6}if((i|0)==6)p=c[a+1936>>2]|0;o=c[a+5152>>2]|0;n=a+328|0;d=n;f=c[d>>2]|0;d=c[d+4>>2]|0;k=(p|0)<2?-1:1;if((h|0)!=1){do if((p|0)!=2){i=a+392|0;j=a+3984|0;h=2;while(1){g=vf(a,h,g,e)|0;if(!((g&f|0)==0&(C&d|0)==0)){if((c[m>>2]|0)!=2){i=18;break}g=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;e=24960+(h<<3)|0;if((c[e>>2]&c[g>>2]|0)==0?(c[e+4>>2]&c[g+4>>2]|0)==0:0){i=18;break}}h=h+k|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;if((h|0)==(p|0)){d=g;i=15;break}}if((i|0)==15){g=d;f=c[n>>2]|0;d=c[n+4>>2]|0;break}else if((i|0)==18)return b|0}while(0);n=24960+(o<<3)|0;l=22928;m=23440;m=(_(c[l+4>>2]&(c[n+4>>2]^e),c[m+4>>2]|0)|0)^(_(c[l>>2]&(c[n>>2]^g),c[m>>2]|0)|0);m=(c[273955]|0)+(m>>>(c[274019]|0)<<3)|0;n=a+288|0;a=a+296|0;if(!((f&c[m>>2]&(c[a>>2]|c[n>>2])|0)==0?(d&c[m+4>>2]&(c[a+4>>2]|c[n+4>>2])|0)==0:0)){a=b;return a|0}}c[b>>2]=(p<<6)+49152+o;a=b+8|0;return a|0}function De(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+256|0;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0;n=a+5216|0;if(!((c[n>>2]&h|0)==0?(c[n+4>>2]&g|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&1)){a=b;return a|0}n=a+5364|0;switch(c[n>>2]|0){case 4:{if(!(c[a+360>>2]|0))f=7;else f=8;break}case 2:{if(!(c[a+360>>2]|0))f=7;else f=8;break}case 1:{e=c[a+5148>>2]|0;d=c[a+5084>>2]|0;break}default:f=8}if((f|0)==7){d=64;e=c[a+5148>>2]|0;f=9}else if((f|0)==8){d=c[a+1936>>2]|0;e=c[a+5148>>2]|0;if((d|0)==6)d=6;else f=9}a:do if((f|0)==9){j=a+328|0;i=c[j>>2]|0;j=c[j+4>>2]|0;k=a+392|0;l=a+3984|0;f=6;while(1){h=vf(a,f,h,g)|0;if(!((h&i|0)==0&(C&j|0)==0)){if((c[n>>2]|0)!=2){f=16;break}h=28864+(((c[k>>2]|0)==0?64:c[l>>2]|0)<<3)|0;g=24960+(f<<3)|0;if((c[g>>2]&c[h>>2]|0)==0?(c[g+4>>2]&c[h+4>>2]|0)==0:0){f=16;break}}f=f+-1|0;if((f|0)==(d|0))break a;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0}if((f|0)==16)return b|0}while(0);c[b>>2]=e+49152+(d<<6);a=b+8|0;return a|0}function Ee(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+256|0;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0;n=a+5224|0;if(!((c[n>>2]&h|0)==0?(c[n+4>>2]&g|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&2)){a=b;return a|0}n=a+5364|0;switch(c[n>>2]|0){case 4:{if(!(c[a+360>>2]|0))f=7;else f=8;break}case 2:{if(!(c[a+360>>2]|0))f=7;else f=8;break}case 1:{e=c[a+5152>>2]|0;d=c[a+5088>>2]|0;break}default:f=8}if((f|0)==7){d=64;e=c[a+5152>>2]|0;f=9}else if((f|0)==8){d=c[a+1936>>2]|0;e=c[a+5152>>2]|0;if((d|0)==2)d=2;else f=9}a:do if((f|0)==9){j=a+328|0;i=c[j>>2]|0;j=c[j+4>>2]|0;k=a+392|0;l=a+3984|0;f=2;while(1){h=vf(a,f,h,g)|0;if(!((h&i|0)==0&(C&j|0)==0)){if((c[n>>2]|0)!=2){f=16;break}h=28864+(((c[k>>2]|0)==0?64:c[l>>2]|0)<<3)|0;g=24960+(f<<3)|0;if((c[g>>2]&c[h>>2]|0)==0?(c[g+4>>2]&c[h+4>>2]|0)==0:0){f=16;break}}f=f+1|0;if((f|0)==(d|0))break a;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0}if((f|0)==16)return b|0}while(0);c[b>>2]=e+49152+(d<<6);a=b+8|0;return a|0}function Fe(a,b){a=a|0;b=b|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=a+256|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;p=a+5240|0;if(!((c[p>>2]&g|0)==0?(c[p+4>>2]&e|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&4)){a=b;return a|0}m=a+5364|0;h=c[m>>2]|0;switch(h|0){case 4:{if(!(c[a+392>>2]|0))p=64;else i=6;break}case 2:{if(!(c[a+392>>2]|0))p=64;else i=6;break}case 1:{p=c[a+5096>>2]|0;break}default:i=6}if((i|0)==6)p=c[a+3984>>2]|0;o=c[a+5160>>2]|0;n=a+320|0;d=n;f=c[d>>2]|0;d=c[d+4>>2]|0;k=(p|0)<62?-1:1;if((h|0)!=1){do if((p|0)!=62){i=a+360|0;j=a+1936|0;h=62;while(1){g=vf(a,h,g,e)|0;if(!((g&f|0)==0&(C&d|0)==0)){if((c[m>>2]|0)!=2){i=18;break}g=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;e=24960+(h<<3)|0;if((c[e>>2]&c[g>>2]|0)==0?(c[e+4>>2]&c[g+4>>2]|0)==0:0){i=18;break}}h=h+k|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;if((h|0)==(p|0)){d=g;i=15;break}}if((i|0)==15){g=d;f=c[n>>2]|0;d=c[n+4>>2]|0;break}else if((i|0)==18)return b|0}while(0);n=24960+(o<<3)|0;l=23408;m=23920;m=(_(c[l+4>>2]&(c[n+4>>2]^e),c[m+4>>2]|0)|0)^(_(c[l>>2]&(c[n>>2]^g),c[m>>2]|0)|0);m=(c[274015]|0)+(m>>>(c[274079]|0)<<3)|0;n=a+288|0;a=a+296|0;if(!((f&c[m>>2]&(c[a>>2]|c[n>>2])|0)==0?(d&c[m+4>>2]&(c[a+4>>2]|c[n+4>>2])|0)==0:0)){a=b;return a|0}}c[b>>2]=(p<<6)+49152+o;a=b+8|0;return a|0}function Ge(a,b){a=a|0;b=b|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=a+256|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;p=a+5272|0;if(!((c[p>>2]&g|0)==0?(c[p+4>>2]&e|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&8)){a=b;return a|0}m=a+5364|0;h=c[m>>2]|0;switch(h|0){case 4:{if(!(c[a+392>>2]|0))p=64;else i=6;break}case 2:{if(!(c[a+392>>2]|0))p=64;else i=6;break}case 1:{p=c[a+5112>>2]|0;break}default:i=6}if((i|0)==6)p=c[a+3984>>2]|0;o=c[a+5176>>2]|0;n=a+320|0;d=n;f=c[d>>2]|0;d=c[d+4>>2]|0;k=(p|0)<58?-1:1;if((h|0)!=1){do if((p|0)!=58){i=a+360|0;j=a+1936|0;h=58;while(1){g=vf(a,h,g,e)|0;if(!((g&f|0)==0&(C&d|0)==0)){if((c[m>>2]|0)!=2){i=18;break}g=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;e=24960+(h<<3)|0;if((c[e>>2]&c[g>>2]|0)==0?(c[e+4>>2]&c[g+4>>2]|0)==0:0){i=18;break}}h=h+k|0;e=l;g=c[e>>2]|0;e=c[e+4>>2]|0;if((h|0)==(p|0)){d=g;i=15;break}}if((i|0)==15){g=d;f=c[n>>2]|0;d=c[n+4>>2]|0;break}else if((i|0)==18)return b|0}while(0);n=24960+(o<<3)|0;l=23376;m=23888;m=(_(c[l+4>>2]&(c[n+4>>2]^e),c[m+4>>2]|0)|0)^(_(c[l>>2]&(c[n>>2]^g),c[m>>2]|0)|0);m=(c[274011]|0)+(m>>>(c[274075]|0)<<3)|0;n=a+288|0;a=a+296|0;if(!((f&c[m>>2]&(c[a>>2]|c[n>>2])|0)==0?(d&c[m+4>>2]&(c[a+4>>2]|c[n+4>>2])|0)==0:0)){a=b;return a|0}}c[b>>2]=(p<<6)+49152+o;a=b+8|0;return a|0}function He(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+256|0;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0;n=a+5240|0;if(!((c[n>>2]&h|0)==0?(c[n+4>>2]&g|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&4)){a=b;return a|0}n=a+5364|0;switch(c[n>>2]|0){case 4:{if(!(c[a+392>>2]|0))f=7;else f=8;break}case 2:{if(!(c[a+392>>2]|0))f=7;else f=8;break}case 1:{e=c[a+5160>>2]|0;d=c[a+5096>>2]|0;break}default:f=8}if((f|0)==7){d=64;e=c[a+5160>>2]|0;f=9}else if((f|0)==8){d=c[a+3984>>2]|0;e=c[a+5160>>2]|0;if((d|0)==62)d=62;else f=9}a:do if((f|0)==9){j=a+320|0;i=c[j>>2]|0;j=c[j+4>>2]|0;k=a+360|0;l=a+1936|0;f=62;while(1){h=vf(a,f,h,g)|0;if(!((h&i|0)==0&(C&j|0)==0)){if((c[n>>2]|0)!=2){f=16;break}h=28864+(((c[k>>2]|0)==0?64:c[l>>2]|0)<<3)|0;g=24960+(f<<3)|0;if((c[g>>2]&c[h>>2]|0)==0?(c[g+4>>2]&c[h+4>>2]|0)==0:0){f=16;break}}f=f+-1|0;if((f|0)==(d|0))break a;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0}if((f|0)==16)return b|0}while(0);c[b>>2]=e+49152+(d<<6);a=b+8|0;return a|0}function Ie(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=a+256|0;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0;n=a+5272|0;if(!((c[n>>2]&h|0)==0?(c[n+4>>2]&g|0)==0:0)){a=b;return a|0}if(!(c[(c[a+5356>>2]|0)+24>>2]&8)){a=b;return a|0}n=a+5364|0;switch(c[n>>2]|0){case 4:{if(!(c[a+392>>2]|0))f=7;else f=8;break}case 2:{if(!(c[a+392>>2]|0))f=7;else f=8;break}case 1:{e=c[a+5176>>2]|0;d=c[a+5112>>2]|0;break}default:f=8}if((f|0)==7){d=64;e=c[a+5176>>2]|0;f=9}else if((f|0)==8){d=c[a+3984>>2]|0;e=c[a+5176>>2]|0;if((d|0)==58)d=58;else f=9}a:do if((f|0)==9){j=a+320|0;i=c[j>>2]|0;j=c[j+4>>2]|0;k=a+360|0;l=a+1936|0;f=58;while(1){h=vf(a,f,h,g)|0;if(!((h&i|0)==0&(C&j|0)==0)){if((c[n>>2]|0)!=2){f=16;break}h=28864+(((c[k>>2]|0)==0?64:c[l>>2]|0)<<3)|0;g=24960+(f<<3)|0;if((c[g>>2]&c[h>>2]|0)==0?(c[g+4>>2]&c[h+4>>2]|0)==0:0){f=16;break}}f=f+1|0;if((f|0)==(d|0))break a;g=m;h=c[g>>2]|0;g=c[g+4>>2]|0}if((f|0)==16)return b|0}while(0);c[b>>2]=e+49152+(d<<6);a=b+8|0;return a|0}function Je(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;D=b+5348|0;o=c[D>>2]|0;i=b+320+(o<<3)|0;h=c[i>>2]|0;i=c[i+4>>2]|0;m=~h;n=~i;B=b+5364|0;a:do if((c[B>>2]|0)==1){e=c[(c[b+5356>>2]|0)+48>>2]|0;j=b+256|0;if((e|0)!=64){z=j;z=vf(b,e,c[z>>2]|0,c[z+4>>2]|0)|0;h=c[D>>2]|0;i=b+320+(h<<3)|0;e=c[i>>2]|0;i=c[i+4>>2]|0;A=b+264|0;if((e&z&c[A>>2]|0)==0?(i&C&c[A+4>>2]|0)==0:0)E=4}else{e=h;h=o;E=4}if((E|0)==4){l=b+320+((h^1)<<3)|0;k=j;j=c[k>>2]|0;k=c[k+4>>2]|0;while(1){if((e|0)==0&(i|0)==0)break a;z=fb(e|0,i|0,0)|0;h=yu(e|0,i|0,-1,-1)|0;i=C&i;z=_b(c[b+(z<<2)>>2]|0,z,j,k)|0;A=l;if(!((c[A>>2]&z|0)==0?(c[A+4>>2]&C|0)==0:0))break;else e=h&e}}A=b+320+((o^1)<<3)|0;m=c[A>>2]&m;n=c[A+4>>2]&n}while(0);if(!o){y=b+320|0;r=y;z=b+264|0;k=z;s=c[k>>2]&c[r>>2];r=c[k+4>>2]&c[r+4>>2];k=r&16711680;t=r&-16711681;v=b+328|0;u=c[v>>2]|0;v=c[v+4>>2]|0;A=b+256|0;o=A;j=c[B>>2]|0;g=(j|0)==1;l=(g?m:-1)&~c[o>>2];o=(g?n:-1)&~c[o+4>>2];g=Au(s|0,t|0,8)|0;g=l&g;f=o&C;e=Au(g|0,f|0,8)|0;h=(j|0)==4;i=h?-65536:-16777216;e=l&i&e;if((j|0)==3?(p=l&-256,q=o&16777215,((p|0)!=0|(q|0)!=0)&(c[b+4500>>2]|0)!=0):0){j=p;i=q;while(1){h=d+8|0;q=fb(j|0,i|0,0)|0;p=yu(j|0,i|0,-1,-1)|0;j=p&j;i=C&i;c[d>>2]=q|393216;if((j|0)==0&(i|0)==0){d=h;break}else d=h}}if(!((g|0)==0&(f|0)==0)){h=d;while(1){q=fb(g|0,f|0,0)|0;d=yu(g|0,f|0,-1,-1)|0;g=d&g;f=C&f;d=h+8|0;c[h>>2]=(q|-512)+(q<<6);if((g|0)==0&(f|0)==0)break;else h=d}}if(!((e|0)==0&0==0)){g=d;f=0;while(1){q=fb(e|0,f|0,0)|0;d=yu(e|0,f|0,-1,-1)|0;e=d&e;f=C&f;d=g+8|0;c[g>>2]=(q|-1024)+(q<<6);if((e|0)==0&(f|0)==0)break;else g=d}}if(!(0==0&(k|0)==0)){i=Au(0,k|0,9)|0;i=i&u;h=C&v;Au(0,k|0,7)|0;f=v&2130706432&C;g=Au(0,k|0,8)|0;g=l&g;e=o&C;if(!((i|0)==0&(h|0)==0))if((c[B>>2]|0)==1){j=d;while(1){p=fb(i|0,h|0,0)|0;q=yu(i|0,h|0,-1,-1)|0;i=q&i;h=C&h;q=p<<6;d=p+7616+q|0;c[j>>2]=d+20480;c[j+8>>2]=d|16384;c[j+16>>2]=d+12288;c[j+24>>2]=d+8192;d=j+40|0;c[j+32>>2]=p+15808+q|65536;if((i|0)==0&(h|0)==0)break;else j=d}}else{j=d;while(1){q=fb(i|0,h|0,0)|0;d=yu(i|0,h|0,-1,-1)|0;i=d&i;h=C&h;q=q+7616+(q<<6)|0;c[j>>2]=q+20480;c[j+8>>2]=q|16384;c[j+16>>2]=q+12288;d=j+32|0;c[j+24>>2]=q+8192;if((i|0)==0&(h|0)==0)break;else j=d}}if(!(0==0&(f|0)==0))if((c[B>>2]|0)==1){h=d;i=0;while(1){p=fb(i|0,f|0,0)|0;q=yu(i|0,f|0,-1,-1)|0;i=q&i;f=C&f;q=p<<6;d=p+7744+q|0;c[h>>2]=d+20480;c[h+8>>2]=d|16384;c[h+16>>2]=d+12288;c[h+24>>2]=d+8192;d=h+40|0;c[h+32>>2]=p+15936+q|65536;if((i|0)==0&(f|0)==0)break;else h=d}}else{h=d;i=0;while(1){q=fb(i|0,f|0,0)|0;d=yu(i|0,f|0,-1,-1)|0;i=d&i;f=C&f;q=q+7744+(q<<6)|0;c[h>>2]=q+20480;c[h+8>>2]=q|16384;c[h+16>>2]=q+12288;d=h+32|0;c[h+24>>2]=q+8192;if((i|0)==0&(f|0)==0)break;else h=d}}if(!((g|0)==0&(e|0)==0))if((c[B>>2]|0)==1)while(1){p=fb(g|0,e|0,0)|0;q=yu(g|0,e|0,-1,-1)|0;g=q&g;e=C&e;q=p<<6;f=(p|7680)+q|0;c[d>>2]=f+20480;c[d+8>>2]=f|16384;c[d+16>>2]=f+12288;c[d+24>>2]=f+8192;f=d+40|0;c[d+32>>2]=(p|15872)+q|65536;if((g|0)==0&(e|0)==0){d=f;break}else d=f}else while(1){q=fb(g|0,e|0,0)|0;f=yu(g|0,e|0,-1,-1)|0;g=f&g;e=C&e;q=(q|7680)+(q<<6)|0;c[d>>2]=q+20480;c[d+8>>2]=q|16384;c[d+16>>2]=q+12288;f=d+32|0;c[d+24>>2]=q+8192;if((g|0)==0&(e|0)==0){d=f;break}else d=f}}h=Au(s|0,r|0,9)|0;h=u&-16843264&h;g=v&16711422&C;f=Au(s|0,r|0,7)|0;f=u&2139062016&f;e=v&8355711&C;if(!((h|0)==0&(g|0)==0)){i=d;while(1){r=fb(h|0,g|0,0)|0;d=yu(h|0,g|0,-1,-1)|0;h=d&h;g=C&g;d=i+8|0;c[i>>2]=r+-576+(r<<6);if((h|0)==0&(g|0)==0)break;else i=d}}if(!((f|0)==0&(e|0)==0)){g=d;while(1){r=fb(f|0,e|0,0)|0;d=yu(f|0,e|0,-1,-1)|0;f=d&f;e=C&e;d=g+8|0;c[g>>2]=r+-448+(r<<6);if((f|0)==0&(e|0)==0)break;else g=d}}l=b+5356|0;e=c[(c[l>>2]|0)+48>>2]|0;if((e|0)!=64?(x=30400+(e<<3)|0,w=c[x>>2]&s,x=c[x+4>>2]&t,!((w|0)==0&(x|0)==0)):0){h=e+8192|0;g=w;f=x;while(1){e=d+8|0;x=fb(g|0,f|0,0)|0;w=yu(g|0,f|0,-1,-1)|0;g=w&g;f=C&f;c[d>>2]=h+(x<<6|24576);if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if((c[B>>2]|0)==3){g=u^m;f=v^n;j=(u|0)!=(m|0)|(v|0)!=(n|0);if(j&(c[b+4504>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|655360;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4508>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|917504;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4512>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|1179648;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4516>>2]|0)!=0)while(1){e=d+8|0;x=fb(g|0,f|0,0)|0;w=yu(g|0,f|0,-1,-1)|0;g=w&g;f=C&f;c[d>>2]=x|1441792;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}d=ye(b,xe(b,we(b,ve(b,d,0,m,n)|0,0,m,n)|0,0,m,n)|0,0,m,n)|0;h=c[B>>2]|0;b:do switch(h|0){case 1:{f=y;B=b+304|0;e=c[B>>2]&c[f>>2];f=c[B+4>>2]&c[f+4>>2];if(!((e|0)==0&(f|0)==0))do{g=fb(e|0,f|0,0)|0;h=yu(e|0,f|0,-1,-1)|0;e=h&e;f=C&f;h=28864+(g<<3)|0;i=c[h>>2]&m;h=c[h+4>>2]&n;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=d+8|0;B=fb(i|0,h|0,0)|0;y=yu(i|0,h|0,-1,-1)|0;i=y&i;h=C&h;c[d>>2]=B+j;if((i|0)==0&(h|0)==0){d=g;break}else d=g}}}while(!((e|0)==0&(f|0)==0));e=c[(c[l>>2]|0)+48>>2]|0;if((e|0)!=64){B=A;B=vf(b,e,c[B>>2]|0,c[B+4>>2]|0)|0;e=c[D>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;D=z;if(!((f&B&c[D>>2]|0)==0?(g&C&c[D+4>>2]|0)==0:0)){b=d;return b|0}}else{e=c[D>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0}j=b+320+((e^1)<<3)|0;i=A;h=c[i>>2]|0;i=c[i+4>>2]|0;while(1){if((f|0)==0&(g|0)==0)break b;B=fb(f|0,g|0,0)|0;e=yu(f|0,g|0,-1,-1)|0;g=C&g;B=_b(c[b+(B<<2)>>2]|0,B,h,i)|0;D=j;if(!((c[D>>2]&B|0)==0?(c[D+4>>2]&C|0)==0:0))break;else f=e&f}return d|0}case 4:{if(!(c[b+360>>2]|0))E=60;else E=61;break}case 2:{if(!(c[b+360>>2]|0))E=60;else E=61;break}default:{e=c[b+1936>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&m;f=c[f+4>>2]&n;if((h|0)==7){j=A;j=vf(b,e,c[j>>2]|0,c[j+4>>2]|0)|0;k=y;j=c[k>>2]&j;k=c[k+4>>2]&C;E=b+272|0;if(!((j&c[E>>2]|0)==0?(k&c[E+4>>2]|0)==0:0)){E=26816+(e<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f}i=b+296|0;h=c[i>>2]|0;i=c[i+4>>2]|0;E=b+280|0;if(!(((c[E>>2]|h)&j|0)==0?((c[E+4>>2]|i)&k|0)==0:0)){D=A;B=23936+(e<<3)|0;E=24448+(e<<3)|0;E=(_(c[B+4>>2]&c[D+4>>2],c[E+4>>2]|0)|0)^(_(c[B>>2]&c[D>>2],c[E>>2]|0)|0);E=(c[1096324+(e<<2)>>2]|0)+(E>>>(c[1096580+(e<<2)>>2]|0)<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f}E=b+288|0;if(((c[E>>2]|h)&j|0)==0?((c[E+4>>2]|i)&k|0)==0:0)E=69;else{D=A;B=22912+(e<<3)|0;E=23424+(e<<3)|0;E=(_(c[B+4>>2]&c[D+4>>2],c[E+4>>2]|0)|0)^(_(c[B>>2]&c[D>>2],c[E>>2]|0)|0);E=(c[1095812+(e<<2)>>2]|0)+(E>>>(c[1096068+(e<<2)>>2]|0)<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f;E=69}}else E=69}}while(0);if((E|0)==60){f=29376;e=64;g=c[f>>2]&m;f=c[f+4>>2]&n;E=69}else if((E|0)==61){e=c[b+1936>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&m;f=c[f+4>>2]&n;E=69}if((E|0)==69)if(!((g|0)==0&(f|0)==0)){h=e<<6;while(1){e=d+8|0;E=fb(g|0,f|0,0)|0;D=yu(g|0,f|0,-1,-1)|0;g=D&g;f=C&f;c[d>>2]=E+h;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if(!(c[(c[l>>2]|0)+24>>2]&3)){b=d;return b|0}if(!(a[b+5360>>0]|0)){b=Ee(b,De(b,d)|0)|0;return b|0}else{b=Ce(b,Be(b,d)|0)|0;return b|0}}else{y=b+328|0;u=y;z=b+264|0;o=z;t=c[o>>2]&c[u>>2];u=c[o+4>>2]&c[u+4>>2];o=t&65280;v=t&-65281;x=b+320|0;w=c[x>>2]|0;x=c[x+4>>2]|0;A=b+256|0;q=A;l=c[B>>2]|0;j=(l|0)==1;p=(j?m:-1)&~c[q>>2];q=(j?n:-1)&~c[q+4>>2];j=zu(v|0,u|0,8)|0;j=p&j;h=q&C;zu(j|0,h|0,8)|0;e=C;k=(l|0)==4;e=q&(k?65535:255)&e;if((l|0)==3?(r=p&-256,s=q&16777215,((r|0)!=0|(s|0)!=0)&(c[b+4532>>2]|0)!=0):0){l=d;k=r;i=s;while(1){d=l+8|0;s=fb(k|0,i|0,0)|0;r=yu(k|0,i|0,-1,-1)|0;k=r&k;i=C&i;c[l>>2]=s|2490368;if((k|0)==0&(i|0)==0)break;else l=d}}if(!((j|0)==0&(h|0)==0))while(1){s=fb(j|0,h|0,0)|0;i=yu(j|0,h|0,-1,-1)|0;j=i&j;h=C&h;i=d+8|0;c[d>>2]=(s|512)+(s<<6);if((j|0)==0&(h|0)==0){d=i;break}else d=i}if(!(0==0&(e|0)==0)){i=0;while(1){s=fb(i|0,e|0,0)|0;h=yu(i|0,e|0,-1,-1)|0;i=h&i;e=C&e;h=d+8|0;c[d>>2]=(s|1024)+(s<<6);if((i|0)==0&(e|0)==0){d=h;break}else d=h}}if(!((o|0)==0&0==0)){k=zu(o|0,0,9)|0;k=k&w;j=C&x;h=zu(o|0,0,7)|0;h=w&254&h;i=zu(o|0,0,8)|0;i=p&i;e=q&C;if(!((k|0)==0&(j|0)==0))if((c[B>>2]|0)==1){l=d;while(1){r=fb(k|0,j|0,0)|0;s=yu(k|0,j|0,-1,-1)|0;k=s&k;j=C&j;s=r<<6;d=r+8768+s|0;c[l>>2]=d+20480;c[l+8>>2]=d+16384;c[l+16>>2]=d+12288;c[l+24>>2]=d+8192;d=l+40|0;c[l+32>>2]=r+16960+s|65536;if((k|0)==0&(j|0)==0)break;else l=d}}else{l=d;while(1){s=fb(k|0,j|0,0)|0;d=yu(k|0,j|0,-1,-1)|0;k=d&k;j=C&j;s=s+8768+(s<<6)|0;c[l>>2]=s+20480;c[l+8>>2]=s+16384;c[l+16>>2]=s+12288;d=l+32|0;c[l+24>>2]=s+8192;if((k|0)==0&(j|0)==0)break;else l=d}}if(!((h|0)==0&0==0))if((c[B>>2]|0)==1){k=d;j=0;while(1){r=fb(h|0,j|0,0)|0;s=yu(h|0,j|0,-1,-1)|0;h=s&h;j=C&j;s=r<<6;d=r+8640+s|0;c[k>>2]=d+20480;c[k+8>>2]=d+16384;c[k+16>>2]=d+12288;c[k+24>>2]=d+8192;d=k+40|0;c[k+32>>2]=r+16832+s|65536;if((h|0)==0&(j|0)==0)break;else k=d}}else{k=d;j=0;while(1){s=fb(h|0,j|0,0)|0;d=yu(h|0,j|0,-1,-1)|0;h=d&h;j=C&j;s=s+8640+(s<<6)|0;c[k>>2]=s+20480;c[k+8>>2]=s+16384;c[k+16>>2]=s+12288;d=k+32|0;c[k+24>>2]=s+8192;if((h|0)==0&(j|0)==0)break;else k=d}}if(!((i|0)==0&(e|0)==0))if((c[B>>2]|0)==1)while(1){r=fb(i|0,e|0,0)|0;s=yu(i|0,e|0,-1,-1)|0;i=s&i;e=C&e;s=r<<6;h=(r|8704)+s|0;c[d>>2]=h+20480;c[d+8>>2]=h+16384;c[d+16>>2]=h+12288;c[d+24>>2]=h+8192;h=d+40|0;c[d+32>>2]=(r|16896)+s|65536;if((i|0)==0&(e|0)==0){d=h;break}else d=h}else while(1){s=fb(i|0,e|0,0)|0;h=yu(i|0,e|0,-1,-1)|0;i=h&i;e=C&e;s=(s|8704)+(s<<6)|0;c[d>>2]=s+20480;c[d+8>>2]=s+16384;c[d+16>>2]=s+12288;h=d+32|0;c[d+24>>2]=s+8192;if((i|0)==0&(e|0)==0){d=h;break}else d=h}}j=zu(t|0,u|0,9)|0;j=w&2139062016&j;h=x&8355711&C;i=zu(t|0,u|0,7)|0;i=w&-16843264&i;e=x&16711422&C;if(!((j|0)==0&(h|0)==0)){k=j;while(1){t=fb(k|0,h|0,0)|0;j=yu(k|0,h|0,-1,-1)|0;k=j&k;h=C&h;j=d+8|0;c[d>>2]=t+576+(t<<6);if((k|0)==0&(h|0)==0){d=j;break}else d=j}}if(!((i|0)==0&(e|0)==0))while(1){t=fb(i|0,e|0,0)|0;h=yu(i|0,e|0,-1,-1)|0;i=h&i;e=C&e;h=d+8|0;c[d>>2]=t+448+(t<<6);if((i|0)==0&(e|0)==0){d=h;break}else d=h}l=b+5356|0;e=c[(c[l>>2]|0)+48>>2]|0;if((e|0)!=64?(f=26304+(e<<3)|0,g=c[f>>2]&v,f=c[f+4>>2]&u,!((g|0)==0&(f|0)==0)):0){h=e+8192|0;while(1){e=d+8|0;v=fb(g|0,f|0,0)|0;u=yu(g|0,f|0,-1,-1)|0;g=u&g;f=C&f;c[d>>2]=h+(v<<6|24576);if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if((c[B>>2]|0)==3){g=w^m;f=x^n;j=(w|0)!=(m|0)|(x|0)!=(n|0);if(j&(c[b+4536>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|2752512;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4540>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|3014656;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4544>>2]|0)!=0){h=g;i=f;while(1){e=d+8|0;x=fb(h|0,i|0,0)|0;w=yu(h|0,i|0,-1,-1)|0;h=w&h;i=C&i;c[d>>2]=x|3276800;if((h|0)==0&(i|0)==0){d=e;break}else d=e}}if(j&(c[b+4548>>2]|0)!=0)while(1){e=d+8|0;x=fb(g|0,f|0,0)|0;w=yu(g|0,f|0,-1,-1)|0;g=w&g;f=C&f;c[d>>2]=x|3538944;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}d=ye(b,xe(b,we(b,ve(b,d,1,m,n)|0,1,m,n)|0,1,m,n)|0,1,m,n)|0;h=c[B>>2]|0;c:do switch(h|0){case 1:{f=y;B=b+304|0;e=c[B>>2]&c[f>>2];f=c[B+4>>2]&c[f+4>>2];if(!((e|0)==0&(f|0)==0))do{g=fb(e|0,f|0,0)|0;h=yu(e|0,f|0,-1,-1)|0;e=h&e;f=C&f;h=28864+(g<<3)|0;i=c[h>>2]&m;h=c[h+4>>2]&n;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=d+8|0;B=fb(i|0,h|0,0)|0;y=yu(i|0,h|0,-1,-1)|0;i=y&i;h=C&h;c[d>>2]=B+j;if((i|0)==0&(h|0)==0){d=g;break}else d=g}}}while(!((e|0)==0&(f|0)==0));e=c[(c[l>>2]|0)+48>>2]|0;if((e|0)!=64){B=A;B=vf(b,e,c[B>>2]|0,c[B+4>>2]|0)|0;e=c[D>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;D=z;if(!((f&B&c[D>>2]|0)==0?(g&C&c[D+4>>2]|0)==0:0)){b=d;return b|0}}else{e=c[D>>2]|0;g=b+320+(e<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0}j=b+320+((e^1)<<3)|0;i=A;h=c[i>>2]|0;i=c[i+4>>2]|0;e=g;while(1){if((f|0)==0&(e|0)==0)break c;B=fb(f|0,e|0,0)|0;g=yu(f|0,e|0,-1,-1)|0;e=C&e;B=_b(c[b+(B<<2)>>2]|0,B,h,i)|0;D=j;if(!((c[D>>2]&B|0)==0?(c[D+4>>2]&C|0)==0:0))break;else f=g&f}return d|0}case 4:{if(!(c[b+392>>2]|0))E=127;else E=128;break}case 2:{if(!(c[b+392>>2]|0))E=127;else E=128;break}default:{e=c[b+3984>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&m;f=c[f+4>>2]&n;if((h|0)==7){j=A;j=vf(b,e,c[j>>2]|0,c[j+4>>2]|0)|0;k=y;j=c[k>>2]&j;k=c[k+4>>2]&C;E=b+272|0;if(!((j&c[E>>2]|0)==0?(k&c[E+4>>2]|0)==0:0)){E=26816+(e<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f}i=b+296|0;h=c[i>>2]|0;i=c[i+4>>2]|0;E=b+280|0;if(!(((c[E>>2]|h)&j|0)==0?((c[E+4>>2]|i)&k|0)==0:0)){D=A;B=23936+(e<<3)|0;E=24448+(e<<3)|0;E=(_(c[B+4>>2]&c[D+4>>2],c[E+4>>2]|0)|0)^(_(c[B>>2]&c[D>>2],c[E>>2]|0)|0);E=(c[1096324+(e<<2)>>2]|0)+(E>>>(c[1096580+(e<<2)>>2]|0)<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f}E=b+288|0;if(((c[E>>2]|h)&j|0)==0?((c[E+4>>2]|i)&k|0)==0:0)E=136;else{D=A;B=22912+(e<<3)|0;E=23424+(e<<3)|0;E=(_(c[B+4>>2]&c[D+4>>2],c[E+4>>2]|0)|0)^(_(c[B>>2]&c[D>>2],c[E>>2]|0)|0);E=(c[1095812+(e<<2)>>2]|0)+(E>>>(c[1096068+(e<<2)>>2]|0)<<3)|0;g=c[E>>2]&m|g;f=c[E+4>>2]&n|f;E=136}}else E=136}}while(0);if((E|0)==127){f=29376;e=64;g=c[f>>2]&m;f=c[f+4>>2]&n;E=136}else if((E|0)==128){e=c[b+3984>>2]|0;f=28864+(e<<3)|0;g=c[f>>2]&m;f=c[f+4>>2]&n;E=136}if((E|0)==136)if(!((g|0)==0&(f|0)==0)){h=e<<6;while(1){e=d+8|0;E=fb(g|0,f|0,0)|0;D=yu(g|0,f|0,-1,-1)|0;g=D&g;f=C&f;c[d>>2]=E+h;if((g|0)==0&(f|0)==0){d=e;break}else d=e}}if(!(c[(c[l>>2]|0)+24>>2]&12)){b=d;return b|0}if(!(a[b+5360>>0]|0)){b=Ie(b,He(b,d)|0)|0;return b|0}else{b=Ge(b,Fe(b,d)|0)|0;return b|0}}return 0}function Ke(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0;vb=b+5364|0;N=c[vb>>2]|0;if((N|0)==1){b=d;return b|0}rb=b+5348|0;E=c[rb>>2]|0;D=E^1;ub=b+5356|0;ob=c[ub>>2]|0;L=ob+344+(D<<3)|0;J=c[L>>2]|0;L=c[L+4>>2]|0;M=b+320+(E<<3)|0;K=c[M>>2]|0;M=c[M+4>>2]|0;o=K&J;p=M&L;wb=b+256|0;D=D<<3|6;B=b+400+(D<<8)|0;D=b+336+(D<<2)|0;a:do if(!((o|0)==0&(p|0)==0))do{x=wb;w=c[x>>2]|0;x=c[x+4>>2]|0;y=~w;z=~x;while(1){q=fb(o|0,p|0,0)|0;v=yu(o|0,p|0,-1,-1)|0;o=v&o;p=C&p;v=c[b+(q<<2)>>2]&7;if((v|0)!=1){u=_b(v,q,w,x)|0;u=u&y;r=C&z;if((v|0)==6){switch(N|0){case 4:{if(!(c[D>>2]|0))A=64;else sb=11;break}case 2:{if(!(c[D>>2]|0))A=64;else sb=11;break}case 1:{A=64;break}default:sb=11}if((sb|0)==11){sb=0;A=c[B>>2]|0}qb=109248+(A<<3)|0;u=u&~c[qb>>2];r=r&~c[qb+4>>2]}if(!((u|0)==0&(r|0)==0))break}if((o|0)==0&(p|0)==0)break a}v=q<<6;while(1){q=d+8|0;qb=fb(u|0,r|0,0)|0;pb=yu(u|0,r|0,-1,-1)|0;u=pb&u;r=C&r;c[d>>2]=qb+v;if((u|0)==0&(r|0)==0){d=q;break}else d=q}}while(!((o|0)==0&(p|0)==0));while(0);qb=wb;pb=~c[qb>>2];qb=~c[qb+4>>2];if(!E){A=b+320|0;v=A;B=b+264|0;y=B;u=c[y>>2]&c[v>>2];v=c[y+4>>2]&c[v+4>>2];y=v&16711680;v=v&-16711681;D=b+328|0;x=D;w=c[x>>2]|0;x=c[x+4>>2]|0;f=Au(u|0,v|0,8)|0;f=f&pb;o=C&qb;p=Au(f|0,o|0,8)|0;z=c[vb>>2]|0;Za=(z|0)==4;q=Za?-65536:-16777216;switch(z|0){case 4:{if(!(c[b+392>>2]|0))G=64;else sb=20;break}case 2:{if(!(c[b+392>>2]|0))G=64;else sb=20;break}case 1:{G=64;break}default:sb=20}if((sb|0)==20)G=c[b+3984>>2]|0;Ya=30400+(G<<3)|0;Za=c[Ya>>2]|0;r=Za&f;o=c[Ya+4>>2]&o;p=q&pb&p&Za;q=J&u&K;f=L&v&M;if((q|0)==0&(f|0)==0)f=0;else{Ya=Au(q|0,f|0,8)|0;Za=25472+((G&7)<<3)|0;Ya=Ya&pb&~c[Za>>2];Za=C&qb&~c[Za+4>>2];f=Au(Ya|0,Za|0,8)|0;r=Ya|r;o=Za|o;p=pb&-16777216&f|p;f=0}if((z|0)==3?(t=pb&-256,s=qb&16777215,((t|0)!=0|(s|0)!=0)&(c[b+4500>>2]|0)!=0):0)while(1){q=d+8|0;Za=fb(t|0,s|0,0)|0;Ya=yu(t|0,s|0,-1,-1)|0;t=Ya&t;s=C&s;c[d>>2]=Za|393216;if((t|0)==0&(s|0)==0){d=q;break}else d=q}if(!((r|0)==0&(o|0)==0))while(1){Za=fb(r|0,o|0,0)|0;q=yu(r|0,o|0,-1,-1)|0;r=q&r;o=C&o;q=d+8|0;c[d>>2]=(Za|-512)+(Za<<6);if((r|0)==0&(o|0)==0){d=q;break}else d=q}if(!((p|0)==0&(f|0)==0))while(1){Za=fb(p|0,f|0,0)|0;o=yu(p|0,f|0,-1,-1)|0;p=o&p;f=C&f;o=d+8|0;c[d>>2]=(Za|-1024)+(Za<<6);if((p|0)==0&(f|0)==0){d=o;break}else d=o}b:do if(!(0==0&(y|0)==0)){r=Au(0,y|0,9)|0;r=r&w;q=C&x;Au(0,y|0,7)|0;p=x&2130706432&C;o=Au(0,y|0,8)|0;o=o&pb;f=C&qb;switch(z|0){case 4:{if(!(c[b+392>>2]|0))P=64;else sb=34;break}case 2:{if(!(c[b+392>>2]|0))P=64;else sb=34;break}case 1:{P=64;break}default:sb=34}if((sb|0)==34)P=c[b+3984>>2]|0;c:do if(!((r|0)==0&(q|0)==0)){v=24960+(P<<3)|0;while(1){if((c[vb>>2]|0)==1)break;u=v;t=c[u>>2]|0;u=c[u+4>>2]|0;while(1){s=fb(r|0,q|0,0)|0;Za=yu(r|0,q|0,-1,-1)|0;r=Za&r;q=C&q;Za=26816+(s<<3)|0;if(!((c[Za>>2]&t|0)==0?(c[Za+4>>2]&u|0)==0:0)){t=s;break}if((r|0)==0&(q|0)==0)break c}s=d+8|0;c[d>>2]=t+15808+(t<<6);if((r|0)==0&(q|0)==0){d=s;break c}else d=s}do{Za=yu(r|0,q|0,-1,-1)|0;r=Za&r;q=C&q}while(!((r|0)==0&(q|0)==0))}while(0);d:do if(!(0==0&(p|0)==0)){u=24960+(P<<3)|0;q=0;while(1){if((c[vb>>2]|0)==1)break;t=u;s=c[t>>2]|0;t=c[t+4>>2]|0;while(1){r=fb(q|0,p|0,0)|0;Za=yu(q|0,p|0,-1,-1)|0;q=Za&q;p=C&p;Za=26816+(r<<3)|0;if(!((c[Za>>2]&s|0)==0?(c[Za+4>>2]&t|0)==0:0)){s=r;break}if((q|0)==0&(p|0)==0)break d}r=d+8|0;c[d>>2]=s+15936+(s<<6);if((q|0)==0&(p|0)==0){d=r;break d}else d=r}do{Za=yu(q|0,p|0,-1,-1)|0;q=Za&q;p=C&p}while(!((q|0)==0&(p|0)==0))}while(0);if(!((o|0)==0&(f|0)==0)){s=24960+(P<<3)|0;while(1){if((c[vb>>2]|0)==1)break;r=s;q=c[r>>2]|0;r=c[r+4>>2]|0;while(1){p=fb(o|0,f|0,0)|0;Za=yu(o|0,f|0,-1,-1)|0;o=Za&o;f=C&f;Za=26816+(p<<3)|0;if(!((c[Za>>2]&q|0)==0?(c[Za+4>>2]&r|0)==0:0)){q=p;break}if((o|0)==0&(f|0)==0)break b}p=d+8|0;c[d>>2]=(q|15872)+(q<<6);if((o|0)==0&(f|0)==0){d=p;break b}else d=p}do{Za=yu(o|0,f|0,-1,-1)|0;o=Za&o;f=C&f}while(!((o|0)==0&(f|0)==0))}}while(0);if((c[vb>>2]|0)==3){if((c[b+4504>>2]|0)!=0?(m=ob+1480|0,n=c[m>>2]&pb,m=c[m+4>>2]&qb,!((n|0)==0&(m|0)==0)):0)while(1){f=d+8|0;Za=fb(n|0,m|0,0)|0;Ya=yu(n|0,m|0,-1,-1)|0;n=Ya&n;m=C&m;c[d>>2]=Za|655360;if((n|0)==0&(m|0)==0){d=f;break}else d=f}if((c[b+4508>>2]|0)!=0?(k=ob+1488|0,l=c[k>>2]&pb,k=c[k+4>>2]&qb,!((l|0)==0&(k|0)==0)):0)while(1){f=d+8|0;Za=fb(l|0,k|0,0)|0;Ya=yu(l|0,k|0,-1,-1)|0;l=Ya&l;k=C&k;c[d>>2]=Za|917504;if((l|0)==0&(k|0)==0){d=f;break}else d=f}if((c[b+4512>>2]|0)!=0?(i=ob+1496|0,j=c[i>>2]&pb,i=c[i+4>>2]&qb,!((j|0)==0&(i|0)==0)):0)while(1){f=d+8|0;Za=fb(j|0,i|0,0)|0;Ya=yu(j|0,i|0,-1,-1)|0;j=Ya&j;i=C&i;c[d>>2]=Za|1179648;if((j|0)==0&(i|0)==0){d=f;break}else d=f}if((c[b+4516>>2]|0)!=0?(g=ob+1504|0,h=c[g>>2]&pb,g=c[g+4>>2]&qb,!((h|0)==0&(g|0)==0)):0)while(1){f=d+8|0;ob=fb(h|0,g|0,0)|0;Za=yu(h|0,g|0,-1,-1)|0;h=Za&h;g=C&g;c[d>>2]=ob|1441792;if((h|0)==0&(g|0)==0){d=f;break}else d=f}}l=Oe(b,Ne(b,Me(b,Le(b,d,0,pb,qb)|0,0,pb,qb)|0,0,pb,qb)|0,0,pb,qb)|0;e:do if((c[vb>>2]|0)==1){f=A;ob=b+304|0;d=c[ob>>2]&c[f>>2];f=c[ob+4>>2]&c[f+4>>2];if(!((d|0)==0&(f|0)==0))do{g=fb(d|0,f|0,0)|0;h=yu(d|0,f|0,-1,-1)|0;d=h&d;f=C&f;h=28864+(g<<3)|0;i=c[h>>2]&pb;h=c[h+4>>2]&qb;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=l+8|0;ob=fb(i|0,h|0,0)|0;Za=yu(i|0,h|0,-1,-1)|0;i=Za&i;h=C&h;c[l>>2]=ob+j;if((i|0)==0&(h|0)==0){l=g;break}else l=g}}}while(!((d|0)==0&(f|0)==0));d=c[(c[ub>>2]|0)+48>>2]|0;if((d|0)!=64){qb=wb;qb=vf(b,d,c[qb>>2]|0,c[qb+4>>2]|0)|0;d=c[rb>>2]|0;g=b+320+(d<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;rb=B;if(!((f&qb&c[rb>>2]|0)==0?(g&C&c[rb+4>>2]|0)==0:0)){b=l;return b|0}}else{d=c[rb>>2]|0;g=b+320+(d<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0}h=b+320+((d^1)<<3)|0;j=wb;i=c[j>>2]|0;j=c[j+4>>2]|0;while(1){if((f|0)==0&(g|0)==0)break e;qb=fb(f|0,g|0,0)|0;d=yu(f|0,g|0,-1,-1)|0;g=C&g;qb=_b(c[b+(qb<<2)>>2]|0,qb,i,j)|0;rb=h;if(!((c[rb>>2]&qb|0)==0?(c[rb+4>>2]&C|0)==0:0)){tb=l;break}else f=d&f}return tb|0}while(0);d=c[(c[ub>>2]|0)+24>>2]|0;if(!(d&3)){b=l;return b|0}k=wb;f=c[k>>2]|0;k=c[k+4>>2]|0;rb=b+5216|0;d=(d&1|0)==0|(c[rb>>2]&f|0?1:(c[rb+4>>2]&k|0)!=0);if(!(a[b+5360>>0]|0)){f:do if(!d){switch(c[vb>>2]|0){case 4:{if(!(c[b+360>>2]|0))sb=127;else sb=128;break}case 2:{if(!(c[b+360>>2]|0))sb=127;else sb=128;break}case 1:{Z=c[b+5148>>2]|0;$=c[b+5084>>2]|0;break}default:sb=128}if((sb|0)==127){na=64;ra=c[b+5148>>2]|0;sb=129}else if((sb|0)==128){e=c[b+1936>>2]|0;d=c[b+5148>>2]|0;if((e|0)==6){Z=d;$=6}else{na=e;ra=d;sb=129}}g:do if((sb|0)==129){h=D;g=c[h>>2]|0;h=c[h+4>>2]|0;i=b+392|0;j=b+3984|0;d=k;e=6;while(1){tb=vf(b,e,f,d)|0;if(!((tb&g|0)==0&(C&h|0)==0)){if((c[vb>>2]|0)!=2)break f;tb=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;rb=24960+(e<<3)|0;if((c[rb>>2]&c[tb>>2]|0)==0?(c[rb+4>>2]&c[tb+4>>2]|0)==0:0)break f}e=e+-1|0;if((e|0)==(na|0)){Z=ra;$=na;break g}d=wb;f=c[d>>2]|0;d=c[d+4>>2]|0}}while(0);e=Z+49152+($<<6)|0;if(xf(b,e)|0){c[l>>2]=e;l=l+8|0}}while(0);k=wb;f=c[k>>2]|0;k=c[k+4>>2]|0;tb=b+5224|0;if(!((c[tb>>2]&f|0)==0?(c[tb+4>>2]&k|0)==0:0)){b=l;return b|0}if(!(c[(c[ub>>2]|0)+24>>2]&2)){b=l;return b|0}switch(c[vb>>2]|0){case 4:{if(!(c[b+360>>2]|0))sb=143;else sb=144;break}case 2:{if(!(c[b+360>>2]|0))sb=143;else sb=144;break}case 1:{Ia=c[b+5152>>2]|0;Ka=c[b+5088>>2]|0;break}default:sb=144}if((sb|0)==143){Ha=64;Ja=c[b+5152>>2]|0;sb=145}else if((sb|0)==144){e=c[b+1936>>2]|0;d=c[b+5152>>2]|0;if((e|0)==2){Ia=d;Ka=2}else{Ha=e;Ja=d;sb=145}}h:do if((sb|0)==145){h=D;g=c[h>>2]|0;h=c[h+4>>2]|0;i=b+392|0;j=b+3984|0;d=k;e=2;while(1){ub=vf(b,e,f,d)|0;if(!((ub&g|0)==0&(C&h|0)==0)){if((c[vb>>2]|0)!=2){tb=l;sb=289;break}ub=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;tb=24960+(e<<3)|0;if((c[tb>>2]&c[ub>>2]|0)==0?(c[tb+4>>2]&c[ub+4>>2]|0)==0:0){tb=l;sb=289;break}}e=e+1|0;if((e|0)==(Ha|0)){Ia=Ja;Ka=Ha;break h}d=wb;f=c[d>>2]|0;d=c[d+4>>2]|0}if((sb|0)==289)return tb|0}while(0);e=Ia+49152+(Ka<<6)|0;if(!(xf(b,e)|0)){b=l;return b|0}c[l>>2]=e;b=l+8|0;return b|0}i:do if(!d){switch(c[vb>>2]|0){case 4:{if(!(c[b+360>>2]|0))sb=94;else sb=95;break}case 2:{if(!(c[b+360>>2]|0))sb=94;else sb=95;break}case 1:{Aa=c[b+5148>>2]|0;Ca=c[b+5084>>2]|0;break}default:sb=95}if((sb|0)==94){ta=D;za=c[b+5148>>2]|0;sa=c[ta>>2]|0;ta=c[ta+4>>2]|0;ua=1;Ba=64;sb=96}else if((sb|0)==95){d=c[b+1936>>2]|0;g=c[b+5148>>2]|0;i=D;h=c[i>>2]|0;i=c[i+4>>2]|0;if((d|0)==6){ka=g;ja=f;e=k;fa=h;ga=i;ha=6;sb=102}else{za=g;sa=h;ta=i;ua=(d|0)<6?-1:1;Ba=d;sb=96}}if((sb|0)==96){g=b+392|0;h=b+3984|0;e=k;d=6;do{rb=vf(b,d,f,e)|0;if(!((rb&sa|0)==0&(C&ta|0)==0)){if((c[vb>>2]|0)!=2)break i;rb=28864+(((c[g>>2]|0)==0?64:c[h>>2]|0)<<3)|0;qb=24960+(d<<3)|0;if((c[qb>>2]&c[rb>>2]|0)==0?(c[qb+4>>2]&c[rb+4>>2]|0)==0:0)break i}d=d+ua|0;e=wb;f=c[e>>2]|0;e=c[e+4>>2]|0}while((d|0)!=(Ba|0));ga=D;ka=za;ja=f;fa=c[ga>>2]|0;ga=c[ga+4>>2]|0;ha=Ba;sb=102}if((sb|0)==102){rb=24960+(ka<<3)|0;qb=22960;pb=23472;pb=(_(c[qb+4>>2]&(c[rb+4>>2]^e),c[pb+4>>2]|0)|0)^(_(c[qb>>2]&(c[rb>>2]^ja),c[pb>>2]|0)|0);pb=(c[273959]|0)+(pb>>>(c[274023]|0)<<3)|0;rb=b+288|0;qb=b+296|0;if((c[pb>>2]&fa&(c[qb>>2]|c[rb>>2])|0)==0?(c[pb+4>>2]&ga&(c[qb+4>>2]|c[rb+4>>2])|0)==0:0){Aa=ka;Ca=ha}else break}e=Aa+49152+(Ca<<6)|0;if(xf(b,e)|0){c[l>>2]=e;l=l+8|0}}while(0);e=wb;d=c[e>>2]|0;e=c[e+4>>2]|0;rb=b+5224|0;if(!((c[rb>>2]&d|0)==0?(c[rb+4>>2]&e|0)==0:0)){b=l;return b|0}if(!(c[(c[ub>>2]|0)+24>>2]&2)){b=l;return b|0}switch(c[vb>>2]|0){case 4:{if(!(c[b+360>>2]|0))sb=111;else sb=112;break}case 2:{if(!(c[b+360>>2]|0))sb=111;else sb=112;break}case 1:{ab=c[b+5152>>2]|0;mb=c[b+5088>>2]|0;break}default:sb=112}if((sb|0)==111){gb=D;bb=c[b+5152>>2]|0;eb=c[gb>>2]|0;gb=c[gb+4>>2]|0;hb=1;lb=64;sb=113}else if((sb|0)==112){f=c[b+1936>>2]|0;g=c[b+5152>>2]|0;i=D;h=c[i>>2]|0;i=c[i+4>>2]|0;if((f|0)==2){_a=h;$a=i;ib=g;jb=d;kb=e;nb=2;sb=119}else{bb=g;eb=h;gb=i;hb=(f|0)<2?-1:1;lb=f;sb=113}}do if((sb|0)==113){g=b+392|0;h=b+3984|0;f=2;while(1){ub=vf(b,f,d,e)|0;if(!((ub&eb|0)==0&(C&gb|0)==0)){if((c[vb>>2]|0)!=2){tb=l;sb=289;break}ub=28864+(((c[g>>2]|0)==0?64:c[h>>2]|0)<<3)|0;sb=24960+(f<<3)|0;if((c[sb>>2]&c[ub>>2]|0)==0?(c[sb+4>>2]&c[ub+4>>2]|0)==0:0){tb=l;sb=289;break}}f=f+hb|0;e=wb;d=c[e>>2]|0;e=c[e+4>>2]|0;if((f|0)==(lb|0)){cb=d;db=e;sb=118;break}}if((sb|0)==118){$a=D;_a=c[$a>>2]|0;$a=c[$a+4>>2]|0;ib=bb;jb=cb;kb=db;nb=lb;sb=119;break}else if((sb|0)==289)return tb|0}while(0);if((sb|0)==119){wb=24960+(ib<<3)|0;vb=22928;ub=23440;ub=(_(c[vb+4>>2]&(c[wb+4>>2]^kb),c[ub+4>>2]|0)|0)^(_(c[vb>>2]&(c[wb>>2]^jb),c[ub>>2]|0)|0);ub=(c[273955]|0)+(ub>>>(c[274019]|0)<<3)|0;wb=b+288|0;vb=b+296|0;if((c[ub>>2]&_a&(c[vb>>2]|c[wb>>2])|0)==0?(c[ub+4>>2]&$a&(c[vb+4>>2]|c[wb+4>>2])|0)==0:0){ab=ib;mb=nb}else{b=l;return b|0}}e=ab+49152+(mb<<6)|0;if(!(xf(b,e)|0)){b=l;return b|0}c[l>>2]=e;b=l+8|0;return b|0}else{q=b+328|0;m=q;r=b+264|0;p=r;l=c[p>>2]&c[m>>2];m=c[p+4>>2]&c[m+4>>2];p=l&65280;l=l&-65281;s=b+320|0;n=s;o=c[n>>2]|0;n=c[n+4>>2]|0;e=zu(l|0,m|0,8)|0;e=e&pb;g=C&qb;zu(e|0,g|0,8)|0;h=C;j=(N|0)==4;j=j?65535:255;switch(N|0){case 4:{if(!(c[b+360>>2]|0))F=64;else sb=156;break}case 2:{if(!(c[b+360>>2]|0))F=64;else sb=156;break}case 1:{F=64;break}default:sb=156}if((sb|0)==156)F=c[b+1936>>2]|0;i=26304+(F<<3)|0;nb=c[i+4>>2]|0;i=c[i>>2]&e;k=nb&g;j=j&qb&h&nb;g=J&l&K;e=L&m&M;if((g|0)==0&(e|0)==0){h=0;l=j}else{l=zu(g|0,e|0,8)|0;h=25472+((F&7)<<3)|0;l=l&pb&~c[h>>2];h=C&qb&~c[h+4>>2];zu(l|0,h|0,8)|0;i=l|i;k=h|k;h=0;l=qb&255&C|j}if((N|0)==3?(H=pb&-256,I=qb&16777215,((H|0)!=0|(I|0)!=0)&(c[b+4532>>2]|0)!=0):0){j=H;g=I;while(1){e=d+8|0;nb=fb(j|0,g|0,0)|0;mb=yu(j|0,g|0,-1,-1)|0;j=mb&j;g=C&g;c[d>>2]=nb|2490368;if((j|0)==0&(g|0)==0)break;else d=e}}else e=d;if(!((i|0)==0&(k|0)==0)){d=k;while(1){nb=fb(i|0,d|0,0)|0;g=yu(i|0,d|0,-1,-1)|0;i=g&i;d=C&d;g=e+8|0;c[e>>2]=(nb|512)+(nb<<6);if((i|0)==0&(d|0)==0){e=g;break}else e=g}}if(!((h|0)==0&(l|0)==0)){d=l;while(1){nb=fb(h|0,d|0,0)|0;g=yu(h|0,d|0,-1,-1)|0;h=g&h;d=C&d;g=e+8|0;c[e>>2]=(nb|1024)+(nb<<6);if((h|0)==0&(d|0)==0){e=g;break}else e=g}}j:do if(!((p|0)==0&0==0)){j=zu(p|0,0,9)|0;j=j&o;h=C&n;i=zu(p|0,0,7)|0;i=o&254&i;g=zu(p|0,0,8)|0;g=g&pb;d=C&qb;switch(N|0){case 4:{if(!(c[b+360>>2]|0))O=64;else sb=170;break}case 2:{if(!(c[b+360>>2]|0))O=64;else sb=170;break}case 1:{O=64;break}default:sb=170}if((sb|0)==170)O=c[b+1936>>2]|0;k:do if(!((j|0)==0&(h|0)==0)){n=24960+(O<<3)|0;while(1){if((c[vb>>2]|0)==1)break;m=n;l=c[m>>2]|0;m=c[m+4>>2]|0;while(1){k=fb(j|0,h|0,0)|0;nb=yu(j|0,h|0,-1,-1)|0;j=nb&j;h=C&h;nb=26816+(k<<3)|0;if(!((c[nb>>2]&l|0)==0?(c[nb+4>>2]&m|0)==0:0)){l=k;break}if((j|0)==0&(h|0)==0)break k}k=e+8|0;c[e>>2]=l+16960+(l<<6);if((j|0)==0&(h|0)==0){e=k;break k}else e=k}do{nb=yu(j|0,h|0,-1,-1)|0;j=nb&j;h=C&h}while(!((j|0)==0&(h|0)==0))}while(0);l:do if(!((i|0)==0&0==0)){m=24960+(O<<3)|0;h=0;while(1){if((c[vb>>2]|0)==1)break;l=m;k=c[l>>2]|0;l=c[l+4>>2]|0;while(1){j=fb(i|0,h|0,0)|0;nb=yu(i|0,h|0,-1,-1)|0;i=nb&i;h=C&h;nb=26816+(j<<3)|0;if(!((c[nb>>2]&k|0)==0?(c[nb+4>>2]&l|0)==0:0)){k=j;break}if((i|0)==0&(h|0)==0)break l}j=e+8|0;c[e>>2]=k+16832+(k<<6);if((i|0)==0&(h|0)==0){e=j;break l}else e=j}do{nb=yu(i|0,h|0,-1,-1)|0;i=nb&i;h=C&h}while(!((i|0)==0&(h|0)==0))}while(0);if(!((g|0)==0&(d|0)==0)){k=24960+(O<<3)|0;while(1){if((c[vb>>2]|0)==1)break;j=k;i=c[j>>2]|0;j=c[j+4>>2]|0;while(1){h=fb(g|0,d|0,0)|0;nb=yu(g|0,d|0,-1,-1)|0;g=nb&g;d=C&d;nb=26816+(h<<3)|0;if(!((c[nb>>2]&i|0)==0?(c[nb+4>>2]&j|0)==0:0)){i=h;break}if((g|0)==0&(d|0)==0)break j}h=e+8|0;c[e>>2]=(i|16896)+(i<<6);if((g|0)==0&(d|0)==0){e=h;break j}else e=h}do{nb=yu(g|0,d|0,-1,-1)|0;g=nb&g;d=C&d}while(!((g|0)==0&(d|0)==0))}}while(0);if((c[vb>>2]|0)==3){if((c[b+4536>>2]|0)!=0?(R=ob+1480|0,Q=c[R>>2]&pb,R=c[R+4>>2]&qb,!((Q|0)==0&(R|0)==0)):0){h=Q;g=R;while(1){d=e+8|0;nb=fb(h|0,g|0,0)|0;mb=yu(h|0,g|0,-1,-1)|0;h=mb&h;g=C&g;c[e>>2]=nb|2752512;if((h|0)==0&(g|0)==0){e=d;break}else e=d}}if((c[b+4540>>2]|0)!=0?(T=ob+1488|0,S=c[T>>2]&pb,T=c[T+4>>2]&qb,!((S|0)==0&(T|0)==0)):0){h=S;g=T;while(1){d=e+8|0;nb=fb(h|0,g|0,0)|0;mb=yu(h|0,g|0,-1,-1)|0;h=mb&h;g=C&g;c[e>>2]=nb|3014656;if((h|0)==0&(g|0)==0){e=d;break}else e=d}}if((c[b+4544>>2]|0)!=0?(V=ob+1496|0,U=c[V>>2]&pb,V=c[V+4>>2]&qb,!((U|0)==0&(V|0)==0)):0){h=U;g=V;while(1){d=e+8|0;nb=fb(h|0,g|0,0)|0;mb=yu(h|0,g|0,-1,-1)|0;h=mb&h;g=C&g;c[e>>2]=nb|3276800;if((h|0)==0&(g|0)==0){e=d;break}else e=d}}if((c[b+4548>>2]|0)!=0?(f=ob+1504|0,W=c[f>>2]&pb,f=c[f+4>>2]&qb,!((W|0)==0&(f|0)==0)):0){g=W;while(1){d=e+8|0;ob=fb(g|0,f|0,0)|0;nb=yu(g|0,f|0,-1,-1)|0;g=nb&g;f=C&f;c[e>>2]=ob|3538944;if((g|0)==0&(f|0)==0){e=d;break}else e=d}}}l=Oe(b,Ne(b,Me(b,Le(b,e,1,pb,qb)|0,1,pb,qb)|0,1,pb,qb)|0,1,pb,qb)|0;m:do if((c[vb>>2]|0)==1){d=q;ob=b+304|0;e=c[ob>>2]&c[d>>2];d=c[ob+4>>2]&c[d+4>>2];if(!((e|0)==0&(d|0)==0))do{f=fb(e|0,d|0,0)|0;g=yu(e|0,d|0,-1,-1)|0;e=g&e;d=C&d;g=28864+(f<<3)|0;h=c[g>>2]&pb;g=c[g+4>>2]&qb;if(!((h|0)==0&(g|0)==0)){i=f<<6;while(1){f=l+8|0;ob=fb(h|0,g|0,0)|0;nb=yu(h|0,g|0,-1,-1)|0;h=nb&h;g=C&g;c[l>>2]=ob+i;if((h|0)==0&(g|0)==0){l=f;break}else l=f}}}while(!((e|0)==0&(d|0)==0));e=c[(c[ub>>2]|0)+48>>2]|0;if((e|0)!=64){qb=wb;qb=vf(b,e,c[qb>>2]|0,c[qb+4>>2]|0)|0;e=c[rb>>2]|0;f=b+320+(e<<3)|0;d=c[f>>2]|0;f=c[f+4>>2]|0;rb=r;if(!((d&qb&c[rb>>2]|0)==0?(f&C&c[rb+4>>2]|0)==0:0)){b=l;return b|0}}else{e=c[rb>>2]|0;f=b+320+(e<<3)|0;d=c[f>>2]|0;f=c[f+4>>2]|0}g=b+320+((e^1)<<3)|0;i=wb;h=c[i>>2]|0;i=c[i+4>>2]|0;while(1){if((d|0)==0&(f|0)==0)break m;qb=fb(d|0,f|0,0)|0;e=yu(d|0,f|0,-1,-1)|0;f=C&f;qb=_b(c[b+(qb<<2)>>2]|0,qb,h,i)|0;rb=g;if(!((c[rb>>2]&qb|0)==0?(c[rb+4>>2]&C|0)==0:0)){tb=l;break}else d=e&d}return tb|0}while(0);e=c[(c[ub>>2]|0)+24>>2]|0;if(!(e&12)){b=l;return b|0}k=wb;f=c[k>>2]|0;k=c[k+4>>2]|0;rb=b+5240|0;e=(e&4|0)==0|(c[rb>>2]&f|0?1:(c[rb+4>>2]&k|0)!=0);if(!(a[b+5360>>0]|0)){n:do if(!e){switch(c[vb>>2]|0){case 4:{if(!(c[b+392>>2]|0))sb=263;else sb=264;break}case 2:{if(!(c[b+392>>2]|0))sb=263;else sb=264;break}case 1:{X=c[b+5160>>2]|0;Y=c[b+5096>>2]|0;break}default:sb=264}if((sb|0)==263){la=64;ma=c[b+5160>>2]|0;sb=265}else if((sb|0)==264){e=c[b+3984>>2]|0;d=c[b+5160>>2]|0;if((e|0)==62){X=d;Y=62}else{la=e;ma=d;sb=265}}o:do if((sb|0)==265){h=s;g=c[h>>2]|0;h=c[h+4>>2]|0;i=b+360|0;j=b+1936|0;d=k;e=62;while(1){tb=vf(b,e,f,d)|0;if(!((tb&g|0)==0&(C&h|0)==0)){if((c[vb>>2]|0)!=2)break n;tb=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;rb=24960+(e<<3)|0;if((c[rb>>2]&c[tb>>2]|0)==0?(c[rb+4>>2]&c[tb+4>>2]|0)==0:0)break n}e=e+-1|0;if((e|0)==(la|0)){X=ma;Y=la;break o}d=wb;f=c[d>>2]|0;d=c[d+4>>2]|0}}while(0);e=X+49152+(Y<<6)|0;if(xf(b,e)|0){c[l>>2]=e;l=l+8|0}}while(0);k=wb;f=c[k>>2]|0;k=c[k+4>>2]|0;tb=b+5272|0;if(!((c[tb>>2]&f|0)==0?(c[tb+4>>2]&k|0)==0:0)){b=l;return b|0}if(!(c[(c[ub>>2]|0)+24>>2]&8)){b=l;return b|0}switch(c[vb>>2]|0){case 4:{if(!(c[b+392>>2]|0))sb=279;else sb=280;break}case 2:{if(!(c[b+392>>2]|0))sb=279;else sb=280;break}case 1:{Ea=c[b+5176>>2]|0;Ga=c[b+5112>>2]|0;break}default:sb=280}if((sb|0)==279){Da=64;Fa=c[b+5176>>2]|0;sb=281}else if((sb|0)==280){e=c[b+3984>>2]|0;d=c[b+5176>>2]|0;if((e|0)==58){Ea=d;Ga=58}else{Da=e;Fa=d;sb=281}}p:do if((sb|0)==281){h=s;g=c[h>>2]|0;h=c[h+4>>2]|0;i=b+360|0;j=b+1936|0;d=k;e=58;while(1){ub=vf(b,e,f,d)|0;if(!((ub&g|0)==0&(C&h|0)==0)){if((c[vb>>2]|0)!=2){tb=l;sb=289;break}ub=28864+(((c[i>>2]|0)==0?64:c[j>>2]|0)<<3)|0;tb=24960+(e<<3)|0;if((c[tb>>2]&c[ub>>2]|0)==0?(c[tb+4>>2]&c[ub+4>>2]|0)==0:0){tb=l;sb=289;break}}e=e+1|0;if((e|0)==(Da|0)){Ea=Fa;Ga=Da;break p}d=wb;f=c[d>>2]|0;d=c[d+4>>2]|0}if((sb|0)==289)return tb|0}while(0);e=Ea+49152+(Ga<<6)|0;if(!(xf(b,e)|0)){b=l;return b|0}c[l>>2]=e;b=l+8|0;return b|0}q:do if(!e){switch(c[vb>>2]|0){case 4:{if(!(c[b+392>>2]|0))sb=230;else sb=231;break}case 2:{if(!(c[b+392>>2]|0))sb=230;else sb=231;break}case 1:{va=c[b+5160>>2]|0;ya=c[b+5096>>2]|0;break}default:sb=231}if((sb|0)==230){pa=s;oa=c[pa>>2]|0;pa=c[pa+4>>2]|0;qa=1;wa=c[b+5160>>2]|0;xa=64;sb=232}else if((sb|0)==231){e=c[b+3984>>2]|0;d=c[b+5160>>2]|0;h=s;g=c[h>>2]|0;h=c[h+4>>2]|0;if((e|0)==62){ia=d;ea=f;aa=k;ba=g;ca=h;da=62;sb=238}else{oa=g;pa=h;qa=(e|0)<62?-1:1;wa=d;xa=e;sb=232}}if((sb|0)==232){g=b+360|0;h=b+1936|0;e=k;d=62;do{rb=vf(b,d,f,e)|0;if(!((rb&oa|0)==0&(C&pa|0)==0)){if((c[vb>>2]|0)!=2)break q;rb=28864+(((c[g>>2]|0)==0?64:c[h>>2]|0)<<3)|0;qb=24960+(d<<3)|0;if((c[qb>>2]&c[rb>>2]|0)==0?(c[qb+4>>2]&c[rb+4>>2]|0)==0:0)break q}d=d+qa|0;e=wb;f=c[e>>2]|0;e=c[e+4>>2]|0}while((d|0)!=(xa|0));ca=s;ia=wa;ea=f;aa=e;ba=c[ca>>2]|0;ca=c[ca+4>>2]|0;da=xa;sb=238}if((sb|0)==238){rb=24960+(ia<<3)|0;qb=23408;pb=23920;pb=(_(c[qb+4>>2]&(c[rb+4>>2]^aa),c[pb+4>>2]|0)|0)^(_(c[qb>>2]&(c[rb>>2]^ea),c[pb>>2]|0)|0);pb=(c[274015]|0)+(pb>>>(c[274079]|0)<<3)|0;rb=b+288|0;qb=b+296|0;if((c[pb>>2]&ba&(c[qb>>2]|c[rb>>2])|0)==0?(c[pb+4>>2]&ca&(c[qb+4>>2]|c[rb+4>>2])|0)==0:0){va=ia;ya=da}else break}e=va+49152+(ya<<6)|0;if(xf(b,e)|0){c[l>>2]=e;l=l+8|0}}while(0);e=wb;d=c[e>>2]|0;e=c[e+4>>2]|0;rb=b+5272|0;if(!((c[rb>>2]&d|0)==0?(c[rb+4>>2]&e|0)==0:0)){b=l;return b|0}if(!(c[(c[ub>>2]|0)+24>>2]&8)){b=l;return b|0}switch(c[vb>>2]|0){case 4:{if(!(c[b+392>>2]|0))sb=247;else sb=248;break}case 2:{if(!(c[b+392>>2]|0))sb=247;else sb=248;break}case 1:{Ta=c[b+5176>>2]|0;Ya=c[b+5112>>2]|0;break}default:sb=248}if((sb|0)==247){Ma=s;La=c[Ma>>2]|0;Ma=c[Ma+4>>2]|0;Na=1;Ua=c[b+5176>>2]|0;Xa=64;sb=249}else if((sb|0)==248){f=c[b+3984>>2]|0;g=c[b+5176>>2]|0;i=s;h=c[i>>2]|0;i=c[i+4>>2]|0;if((f|0)==58){Oa=g;Pa=d;Qa=e;Ra=h;Sa=i;Za=58;sb=255}else{La=h;Ma=i;Na=(f|0)<58?-1:1;Ua=g;Xa=f;sb=249}}do if((sb|0)==249){g=b+360|0;h=b+1936|0;f=58;while(1){ub=vf(b,f,d,e)|0;if(!((ub&La|0)==0&(C&Ma|0)==0)){if((c[vb>>2]|0)!=2){tb=l;sb=289;break}ub=28864+(((c[g>>2]|0)==0?64:c[h>>2]|0)<<3)|0;sb=24960+(f<<3)|0;if((c[sb>>2]&c[ub>>2]|0)==0?(c[sb+4>>2]&c[ub+4>>2]|0)==0:0){tb=l;sb=289;break}}f=f+Na|0;e=wb;d=c[e>>2]|0;e=c[e+4>>2]|0;if((f|0)==(Xa|0)){Va=d;Wa=e;sb=254;break}}if((sb|0)==254){Sa=s;Oa=Ua;Pa=Va;Qa=Wa;Ra=c[Sa>>2]|0;Sa=c[Sa+4>>2]|0;Za=Xa;sb=255;break}else if((sb|0)==289)return tb|0}while(0);if((sb|0)==255){wb=24960+(Oa<<3)|0;vb=23376;ub=23888;ub=(_(c[vb+4>>2]&(c[wb+4>>2]^Qa),c[ub+4>>2]|0)|0)^(_(c[vb>>2]&(c[wb>>2]^Pa),c[ub>>2]|0)|0);ub=(c[274011]|0)+(ub>>>(c[274075]|0)<<3)|0;wb=b+288|0;vb=b+296|0;if((c[ub>>2]&Ra&(c[vb>>2]|c[wb>>2])|0)==0?(c[ub+4>>2]&Sa&(c[vb+4>>2]|c[wb+4>>2])|0)==0:0){Ta=Oa;Ya=Za}else{b=l;return b|0}}e=Ta+49152+(Ya<<6)|0;if(!(xf(b,e)|0)){b=l;return b|0}c[l>>2]=e;b=l+8|0;return b|0}return 0}function Le(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=a+400+((d<<3|2)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}t=a+5348|0;u=a+5356|0;v=a+5364|0;w=a+256|0;n=a+320+(d<<3)|0;o=a+272|0;p=a+296|0;q=a+280|0;r=a+288|0;s=a+304|0;d=c[u>>2]|0;m=h;do{j=c[t>>2]|0;k=d+344+((j^1)<<3)|0;j=a+320+(j<<3)|0;l=24960+(g<<3)|0;if((c[j>>2]&c[k>>2]&c[l>>2]|0)==0?(c[j+4>>2]&c[k+4>>2]&c[l+4>>2]|0)==0:0){i=26816+(g<<3)|0;h=i;d=c[h>>2]&e;h=c[h+4>>2]&f;if((c[v>>2]|0)==7){k=w;k=vf(a,g,c[k>>2]|0,c[k+4>>2]|0)|0;l=n;k=c[l>>2]&k;l=c[l+4>>2]&C;j=o;if(!((k&c[j>>2]|0)==0?(l&c[j+4>>2]|0)==0:0)){j=i;d=c[j>>2]&e|d;h=c[j+4>>2]&f|h}i=p;j=c[i>>2]|0;i=c[i+4>>2]|0;x=q;if(!(((c[x>>2]|j)&k|0)==0?((c[x+4>>2]|i)&l|0)==0:0)){y=w;z=23936+(g<<3)|0;x=24448+(g<<3)|0;x=(_(c[z+4>>2]&c[y+4>>2],c[x+4>>2]|0)|0)^(_(c[z>>2]&c[y>>2],c[x>>2]|0)|0);x=(c[1096324+(g<<2)>>2]|0)+(x>>>(c[1096580+(g<<2)>>2]|0)<<3)|0;d=c[x>>2]&e|d;h=c[x+4>>2]&f|h}z=r;if(!(((c[z>>2]|j)&k|0)==0?((c[z+4>>2]|i)&l|0)==0:0)){y=w;x=22912+(g<<3)|0;z=23424+(g<<3)|0;z=(_(c[x+4>>2]&c[y+4>>2],c[z+4>>2]|0)|0)^(_(c[x>>2]&c[y>>2],c[z>>2]|0)|0);z=(c[1095812+(g<<2)>>2]|0)+(z>>>(c[1096068+(g<<2)>>2]|0)<<3)|0;d=c[z>>2]&e|d;h=c[z+4>>2]&f|h}z=s;if((c[z>>2]&k|0)==0?(c[z+4>>2]&l|0)==0:0)i=d;else{z=28864+(g<<3)|0;i=c[z>>2]&e|d;h=c[z+4>>2]&f|h}}else i=d;d=c[u>>2]|0;z=d+1480|0;i=c[z>>2]&i;h=c[z+4>>2]&h;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=b+8|0;z=fb(i|0,h|0,0)|0;y=yu(i|0,h|0,-1,-1)|0;i=y&i;h=C&h;c[b>>2]=z+j;if((i|0)==0&(h|0)==0){b=g;break}else b=g}}}m=m+4|0;g=c[m>>2]|0}while((g|0)!=64);return b|0}function Me(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;h=a+400+((d<<3|3)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}x=a+5356|0;y=a+5348|0;z=a+256|0;A=a+5364|0;r=a+320+(d<<3)|0;s=a+272|0;t=a+296|0;u=a+280|0;v=a+288|0;w=a+304|0;d=c[x>>2]|0;q=h;do{o=108224+(g<<3)|0;p=d+1488|0;if(!((c[o>>2]&e&c[p>>2]|0)==0?(c[o+4>>2]&f&c[p+4>>2]|0)==0:0)?(n=c[y>>2]|0,o=d+344+((n^1)<<3)|0,n=a+320+(n<<3)|0,p=24960+(g<<3)|0,(c[n>>2]&c[o>>2]&c[p>>2]|0)==0?(c[n+4>>2]&c[o+4>>2]&c[p+4>>2]|0)==0:0):0){j=z;i=c[j>>2]|0;j=c[j+4>>2]|0;k=23936+(g<<3)|0;m=k;l=24448+(g<<3)|0;h=l;h=(_(c[m+4>>2]&j,c[h+4>>2]|0)|0)^(_(c[m>>2]&i,c[h>>2]|0)|0);m=1096580+(g<<2)|0;n=1096324+(g<<2)|0;h=(c[n>>2]|0)+(h>>>(c[m>>2]|0)<<3)|0;d=c[h>>2]&e;h=c[h+4>>2]&f;if((c[A>>2]|0)==7){o=vf(a,g,i,j)|0;p=r;o=c[p>>2]&o;p=c[p+4>>2]&C;j=s;if(!((o&c[j>>2]|0)==0?(p&c[j+4>>2]|0)==0:0)){j=26816+(g<<3)|0;d=c[j>>2]&e|d;h=c[j+4>>2]&f|h}j=t;i=c[j>>2]|0;j=c[j+4>>2]|0;B=u;if(!(((c[B>>2]|i)&o|0)==0?((c[B+4>>2]|j)&p|0)==0:0)){D=z;B=l;B=(_(c[k+4>>2]&c[D+4>>2],c[B+4>>2]|0)|0)^(_(c[k>>2]&c[D>>2],c[B>>2]|0)|0);B=(c[n>>2]|0)+(B>>>(c[m>>2]|0)<<3)|0;d=c[B>>2]&e|d;h=c[B+4>>2]&f|h}D=v;if(!(((c[D>>2]|i)&o|0)==0?((c[D+4>>2]|j)&p|0)==0:0)){B=z;n=22912+(g<<3)|0;D=23424+(g<<3)|0;D=(_(c[n+4>>2]&c[B+4>>2],c[D+4>>2]|0)|0)^(_(c[n>>2]&c[B>>2],c[D>>2]|0)|0);D=(c[1095812+(g<<2)>>2]|0)+(D>>>(c[1096068+(g<<2)>>2]|0)<<3)|0;d=c[D>>2]&e|d;h=c[D+4>>2]&f|h}D=w;if((c[D>>2]&o|0)==0?(c[D+4>>2]&p|0)==0:0)i=d;else{D=28864+(g<<3)|0;i=c[D>>2]&e|d;h=c[D+4>>2]&f|h}}else i=d;d=c[x>>2]|0;D=d+1488|0;i=c[D>>2]&i;h=c[D+4>>2]&h;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=b+8|0;D=fb(i|0,h|0,0)|0;B=yu(i|0,h|0,-1,-1)|0;i=B&i;h=C&h;c[b>>2]=D+j;if((i|0)==0&(h|0)==0){b=g;break}else b=g}}}q=q+4|0;g=c[q>>2]|0}while((g|0)!=64);return b|0}function Ne(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;h=a+400+((d<<3|4)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}x=a+5356|0;y=a+5348|0;z=a+256|0;A=a+5364|0;r=a+320+(d<<3)|0;s=a+272|0;t=a+296|0;u=a+280|0;v=a+288|0;w=a+304|0;d=c[x>>2]|0;q=h;do{o=108736+(g<<3)|0;p=d+1496|0;if(!((c[o>>2]&e&c[p>>2]|0)==0?(c[o+4>>2]&f&c[p+4>>2]|0)==0:0)?(n=c[y>>2]|0,o=d+344+((n^1)<<3)|0,n=a+320+(n<<3)|0,p=24960+(g<<3)|0,(c[n>>2]&c[o>>2]&c[p>>2]|0)==0?(c[n+4>>2]&c[o+4>>2]&c[p+4>>2]|0)==0:0):0){j=z;i=c[j>>2]|0;j=c[j+4>>2]|0;m=22912+(g<<3)|0;o=m;n=23424+(g<<3)|0;h=n;h=(_(c[o+4>>2]&j,c[h+4>>2]|0)|0)^(_(c[o>>2]&i,c[h>>2]|0)|0);o=1096068+(g<<2)|0;p=1095812+(g<<2)|0;h=(c[p>>2]|0)+(h>>>(c[o>>2]|0)<<3)|0;d=c[h>>2]&e;h=c[h+4>>2]&f;if((c[A>>2]|0)==7){k=vf(a,g,i,j)|0;l=r;k=c[l>>2]&k;l=c[l+4>>2]&C;j=s;if(!((k&c[j>>2]|0)==0?(l&c[j+4>>2]|0)==0:0)){j=26816+(g<<3)|0;d=c[j>>2]&e|d;h=c[j+4>>2]&f|h}j=t;i=c[j>>2]|0;j=c[j+4>>2]|0;B=u;if(!(((c[B>>2]|i)&k|0)==0?((c[B+4>>2]|j)&l|0)==0:0)){D=z;E=23936+(g<<3)|0;B=24448+(g<<3)|0;B=(_(c[E+4>>2]&c[D+4>>2],c[B+4>>2]|0)|0)^(_(c[E>>2]&c[D>>2],c[B>>2]|0)|0);B=(c[1096324+(g<<2)>>2]|0)+(B>>>(c[1096580+(g<<2)>>2]|0)<<3)|0;d=c[B>>2]&e|d;h=c[B+4>>2]&f|h}E=v;if(!(((c[E>>2]|i)&k|0)==0?((c[E+4>>2]|j)&l|0)==0:0)){D=z;B=m;E=n;E=(_(c[B+4>>2]&c[D+4>>2],c[E+4>>2]|0)|0)^(_(c[B>>2]&c[D>>2],c[E>>2]|0)|0);E=(c[p>>2]|0)+(E>>>(c[o>>2]|0)<<3)|0;d=c[E>>2]&e|d;h=c[E+4>>2]&f|h}E=w;if((c[E>>2]&k|0)==0?(c[E+4>>2]&l|0)==0:0)i=d;else{E=28864+(g<<3)|0;i=c[E>>2]&e|d;h=c[E+4>>2]&f|h}}else i=d;d=c[x>>2]|0;E=d+1496|0;i=c[E>>2]&i;h=c[E+4>>2]&h;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=b+8|0;E=fb(i|0,h|0,0)|0;D=yu(i|0,h|0,-1,-1)|0;i=D&i;h=C&h;c[b>>2]=E+j;if((i|0)==0&(h|0)==0){b=g;break}else b=g}}}q=q+4|0;g=c[q>>2]|0}while((g|0)!=64);return b|0}function Oe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0;h=a+400+((d<<3|5)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}B=a+5356|0;D=a+5348|0;E=a+256|0;F=a+5364|0;v=a+320+(d<<3)|0;w=a+272|0;x=a+296|0;y=a+280|0;z=a+288|0;A=a+304|0;d=c[B>>2]|0;u=h;do{s=109248+(g<<3)|0;t=d+1504|0;if(!((c[s>>2]&e&c[t>>2]|0)==0?(c[s+4>>2]&f&c[t+4>>2]|0)==0:0)?(r=c[D>>2]|0,s=d+344+((r^1)<<3)|0,r=a+320+(r<<3)|0,t=24960+(g<<3)|0,(c[r>>2]&c[s>>2]&c[t>>2]|0)==0?(c[r+4>>2]&c[s+4>>2]&c[t+4>>2]|0)==0:0):0){j=E;i=c[j>>2]|0;j=c[j+4>>2]|0;q=22912+(g<<3)|0;s=q;r=23424+(g<<3)|0;h=r;h=(_(c[s+4>>2]&j,c[h+4>>2]|0)|0)^(_(c[s>>2]&i,c[h>>2]|0)|0);s=1096068+(g<<2)|0;t=1095812+(g<<2)|0;h=(c[t>>2]|0)+(h>>>(c[s>>2]|0)<<3)|0;k=23936+(g<<3)|0;m=k;l=24448+(g<<3)|0;p=l;p=(_(c[m+4>>2]&j,c[p+4>>2]|0)|0)^(_(c[m>>2]&i,c[p>>2]|0)|0);m=1096580+(g<<2)|0;n=1096324+(g<<2)|0;p=(c[n>>2]|0)+(p>>>(c[m>>2]|0)<<3)|0;d=(c[p>>2]|c[h>>2])&e;h=(c[p+4>>2]|c[h+4>>2])&f;if((c[F>>2]|0)==7){o=vf(a,g,i,j)|0;p=v;o=c[p>>2]&o;p=c[p+4>>2]&C;j=w;if(!((o&c[j>>2]|0)==0?(p&c[j+4>>2]|0)==0:0)){j=26816+(g<<3)|0;d=c[j>>2]&e|d;h=c[j+4>>2]&f|h}j=x;i=c[j>>2]|0;j=c[j+4>>2]|0;G=y;if(!(((c[G>>2]|i)&o|0)==0?((c[G+4>>2]|j)&p|0)==0:0)){H=E;G=l;G=(_(c[k+4>>2]&c[H+4>>2],c[G+4>>2]|0)|0)^(_(c[k>>2]&c[H>>2],c[G>>2]|0)|0);G=(c[n>>2]|0)+(G>>>(c[m>>2]|0)<<3)|0;d=c[G>>2]&e|d;h=c[G+4>>2]&f|h}H=z;if(!(((c[H>>2]|i)&o|0)==0?((c[H+4>>2]|j)&p|0)==0:0)){G=E;H=r;H=(_(c[q+4>>2]&c[G+4>>2],c[H+4>>2]|0)|0)^(_(c[q>>2]&c[G>>2],c[H>>2]|0)|0);H=(c[t>>2]|0)+(H>>>(c[s>>2]|0)<<3)|0;d=c[H>>2]&e|d;h=c[H+4>>2]&f|h}H=A;if((c[H>>2]&o|0)==0?(c[H+4>>2]&p|0)==0:0)i=d;else{H=28864+(g<<3)|0;i=c[H>>2]&e|d;h=c[H+4>>2]&f|h}}else i=d;d=c[B>>2]|0;H=d+1504|0;i=c[H>>2]&i;h=c[H+4>>2]&h;if(!((i|0)==0&(h|0)==0)){j=g<<6;while(1){g=b+8|0;H=fb(i|0,h|0,0)|0;G=yu(i|0,h|0,-1,-1)|0;i=G&i;h=C&h;c[b>>2]=H+j;if((i|0)==0&(h|0)==0){b=g;break}else b=g}}}u=u+4|0;g=c[u>>2]|0}while((g|0)!=64);return b|0}function Pe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;W=a+5364|0;k=c[W>>2]|0;if((k|0)==1){a=b;return a|0}Y=a+5348|0;v=c[Y>>2]|0;switch(k|0){case 4:{i=v<<3|6;if(!(c[a+336+(i<<2)>>2]|0))u=64;else{j=i;R=6}break}case 2:{i=v<<3|6;if(!(c[a+336+(i<<2)>>2]|0))u=64;else{j=i;R=6}break}default:{j=v<<3|6;R=6}}if((R|0)==6)u=c[a+400+(j<<8)>>2]|0;X=a+5356|0;o=(c[X>>2]|0)+64|0;j=c[o>>2]|0;o=c[o+4>>2]|0;t=a+272|0;Z=a+264|0;V=Z;l=j&~(c[V>>2]|c[t>>2]);t=o&~(c[V+4>>2]|c[t+4>>2]);do if((k|0)==2){i=v<<3^14;if(!(c[a+336+(i<<2)>>2]|0))i=64;else i=c[a+400+(i<<8)>>2]|0;s=28864+(i<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;q=a+320+((v^1)<<3)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;if((j|0)==0&(o|0)==0){i=p;k=q}else{i=p;k=q;do{U=fb(j|0,o|0,0)|0;V=yu(j|0,o|0,-1,-1)|0;j=V&j;o=C&o;V=28864+(U<<3)|0;U=24960+(U<<3)|0;i=(c[U>>2]|c[V>>2])&i;k=(c[U+4>>2]|c[V+4>>2])&k}while(!((j|0)==0&(o|0)==0))}V=28864+(u<<3)|0;j=p&(i|r)&~c[V>>2];i=q&(k|s)&~c[V+4>>2];if(!v){b=ue(a,b,j,i)|0;o=r;p=s;break}else{b=ze(a,b,j,i)|0;o=r;p=s;break}}else{o=0;p=0}while(0);if((l|0)==0&(t|0)==0){i=0;j=0}else{k=t;i=0;j=0;do{U=fb(l|0,k|0,0)|0;V=yu(l|0,k|0,-1,-1)|0;l=V&l;k=C&k;V=66752+(U<<9)+(u<<3)|0;U=24960+(U<<3)|0;i=c[U>>2]^c[V>>2]|i;j=c[U+4>>2]^c[V+4>>2]|j}while(!((l|0)==0&(k|0)==0))}r=c[W>>2]|0;q=(r|0)==2;l=28864+(u<<3)|0;k=c[l>>2]|0;l=c[l+4>>2]|0;if(q){V=a+256|0;k=k&(o|~i)&~c[V>>2];j=l&(p|~j)&~c[V+4>>2]}else{V=a+320+(v<<3)|0;k=k&~i&~c[V>>2];j=l&~j&~c[V+4>>2]}if(!((k|0)==0&(j|0)==0)){l=u<<6;while(1){i=b+8|0;V=fb(k|0,j|0,0)|0;U=yu(k|0,j|0,-1,-1)|0;k=U&k;j=C&j;c[b>>2]=V+l;if((k|0)==0&(j|0)==0){b=i;break}else b=i}}Q=c[X>>2]|0;T=Q+64|0;S=c[T>>2]|0;T=c[T+4>>2]|0;V=yu(S|0,T|0,-1,-1)|0;if(!((V&S|0)==0&(C&T|0)==0)){a=b;return a|0}j=fb(S|0,T|0,0)|0;k=33984+(j<<9)+(u<<3)|0;i=c[k>>2]|0;k=c[k+4>>2]|0;if(q){V=i;U=k}else{U=24960+(j<<3)|0;V=c[U>>2]|i;U=c[U+4>>2]|k}if(!v){r=a+320|0;m=r;j=Z;p=c[j>>2]&c[m>>2];m=c[j+4>>2]&c[m+4>>2];j=m&16711680;q=m&-16711681;o=a+328|0;n=c[o>>2]&V;o=c[o+4>>2]&U;s=a+256|0;d=s;K=~c[d>>2];d=~c[d+4>>2];M=c[W>>2]|0;J=(M|0)==1;k=V&K;l=U&d;f=Au(p|0,q|0,8)|0;e=C;d=Au((J?k:K)&f|0,(J?l:d)&e|0,8)|0;J=(M|0)==4;K=J?-65536:-16777216;f=f&k;e=e&l;d=K&k&d;if((M|0)==3?(w=k&-256,x=l&16777215,((w|0)!=0|(x|0)!=0)&(c[a+4500>>2]|0)!=0):0){i=w;h=x;while(1){g=b+8|0;M=fb(i|0,h|0,0)|0;K=yu(i|0,h|0,-1,-1)|0;i=K&i;h=C&h;c[b>>2]=M|393216;if((i|0)==0&(h|0)==0){b=g;break}else b=g}}if(!((f|0)==0&(e|0)==0)){g=b;while(1){M=fb(f|0,e|0,0)|0;b=yu(f|0,e|0,-1,-1)|0;f=b&f;e=C&e;b=g+8|0;c[g>>2]=(M|-512)+(M<<6);if((f|0)==0&(e|0)==0)break;else g=b}}if(!((d|0)==0&0==0)){f=b;e=0;while(1){M=fb(d|0,e|0,0)|0;b=yu(d|0,e|0,-1,-1)|0;d=b&d;e=C&e;b=f+8|0;c[f>>2]=(M|-1024)+(M<<6);if((d|0)==0&(e|0)==0)break;else f=b}}a:do if((U>>>0>16777215|(U|0)==16777215&V>>>0>4294967295)&(0!=0|(j|0)!=0)){e=Au(0,j|0,9)|0;e=e&n;d=C&o;Au(0,j|0,7)|0;i=o&2130706432&C;j=Au(0,j|0,8)|0;j=j&k;h=C&l;b:do if((c[W>>2]|0)==1){L=b;D=e;G=d;R=36}else{while(1){if((e|0)==0&(d|0)==0){d=0;e=i;break}f=yu(e|0,d|0,-1,-1)|0;f=f&e;g=C&d;M=fb(e|0,d|0,0)|0;M=M+7616+(M<<6)|0;c[b>>2]=M+20480;c[b+8>>2]=M|16384;c[b+16>>2]=M+12288;d=b+32|0;c[b+24>>2]=M+8192;if((c[W>>2]|0)==1){L=d;D=f;G=g;R=36;break b}else{b=d;e=f;d=g}}while(1){if((d|0)==0&(e|0)==0){d=j;e=h;break}f=yu(d|0,e|0,-1,-1)|0;f=f&d;g=C&e;M=fb(d|0,e|0,0)|0;M=M+7744+(M<<6)|0;c[b>>2]=M+20480;c[b+8>>2]=M|16384;c[b+16>>2]=M+12288;d=b+32|0;c[b+24>>2]=M+8192;if((c[W>>2]|0)==1){N=d;E=f;H=g;R=41;break b}else{b=d;d=f;e=g}}while(1){if((d|0)==0&(e|0)==0)break a;f=yu(d|0,e|0,-1,-1)|0;f=f&d;g=C&e;M=fb(d|0,e|0,0)|0;M=(M|7680)+(M<<6)|0;c[b>>2]=M+20480;c[b+8>>2]=M|16384;c[b+16>>2]=M+12288;d=b+32|0;c[b+24>>2]=M+8192;if((c[W>>2]|0)==1){B=d;z=f;A=g;break}else{b=d;d=f;e=g}}}while(0);if((R|0)==36)if((D|0)==0&(G|0)==0){N=L;E=0;H=i;R=41}else{d=D;b=G;do{R=yu(d|0,b|0,-1,-1)|0;d=R&d;b=C&b}while(!((d|0)==0&(b|0)==0));N=L;E=0;H=i;R=41}if((R|0)==41)if((E|0)==0&(H|0)==0){B=N;z=j;A=h}else{d=E;b=H;do{R=yu(d|0,b|0,-1,-1)|0;d=R&d;b=C&b}while(!((d|0)==0&(b|0)==0));B=N;z=j;A=h}if((z|0)==0&(A|0)==0)b=B;else{d=z;b=A;do{R=yu(d|0,b|0,-1,-1)|0;d=R&d;b=C&b}while(!((d|0)==0&(b|0)==0));b=B}}while(0);g=Au(p|0,m|0,9)|0;g=g&-16843264&n;f=C&16711422&o;e=Au(p|0,m|0,7)|0;e=e&2139062016&n;d=C&8355711&o;if(!((g|0)==0&(f|0)==0)){h=b;while(1){R=fb(g|0,f|0,0)|0;b=yu(g|0,f|0,-1,-1)|0;g=b&g;f=C&f;b=h+8|0;c[h>>2]=R+-576+(R<<6);if((g|0)==0&(f|0)==0)break;else h=b}}if(!((e|0)==0&(d|0)==0)){f=b;while(1){R=fb(e|0,d|0,0)|0;b=yu(e|0,d|0,-1,-1)|0;e=b&e;d=C&d;b=f+8|0;c[f>>2]=R+-448+(R<<6);if((e|0)==0&(d|0)==0)break;else f=b}}d=c[Q+48>>2]|0;if(((d|0)!=64?(R=24960+(d+-8<<3)|0,!((c[R>>2]&V|0)==0?(c[R+4>>2]&U|0)==0:0)):0)?(P=30400+(d<<3)|0,O=c[P>>2]&p,P=c[P+4>>2]&q,!((O|0)==0&(P|0)==0)):0){g=d+8192|0;f=O;e=P;while(1){d=b+8|0;R=fb(f|0,e|0,0)|0;Q=yu(f|0,e|0,-1,-1)|0;f=Q&f;e=C&e;c[b>>2]=g+(R<<6|24576);if((f|0)==0&(e|0)==0){b=d;break}else b=d}}do if((c[W>>2]|0)==3){f=S^V;e=T^U;i=(S|0)!=(V|0)|(T|0)!=(U|0);if(i&(c[a+4504>>2]|0)!=0){g=f;h=e;while(1){d=b+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[b>>2]=T|655360;if((g|0)==0&(h|0)==0){b=d;break}else b=d}}if(i&(c[a+4508>>2]|0)!=0){g=f;h=e;while(1){d=b+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[b>>2]=T|917504;if((g|0)==0&(h|0)==0){b=d;break}else b=d}}if(i&(c[a+4512>>2]|0)!=0){g=f;h=e;while(1){d=b+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[b>>2]=T|1179648;if((g|0)==0&(h|0)==0){b=d;break}else b=d}}if(!(i&(c[a+4516>>2]|0)!=0))break;while(1){d=b+8|0;T=fb(f|0,e|0,0)|0;S=yu(f|0,e|0,-1,-1)|0;f=S&f;e=C&e;c[b>>2]=T|1441792;if((f|0)==0&(e|0)==0){b=d;break}else b=d}}while(0);b=ye(a,xe(a,we(a,ve(a,b,0,V,U)|0,0,V,U)|0,0,V,U)|0,0,V,U)|0;if((c[W>>2]|0)!=1){a=b;return a|0}e=r;W=a+304|0;d=c[W>>2]&c[e>>2];e=c[W+4>>2]&c[e+4>>2];if(!((d|0)==0&(e|0)==0))do{f=fb(d|0,e|0,0)|0;g=yu(d|0,e|0,-1,-1)|0;d=g&d;e=C&e;g=28864+(f<<3)|0;h=c[g>>2]&V;g=c[g+4>>2]&U;if(!((h|0)==0&(g|0)==0)){i=f<<6;while(1){f=b+8|0;W=fb(h|0,g|0,0)|0;T=yu(h|0,g|0,-1,-1)|0;h=T&h;g=C&g;c[b>>2]=W+i;if((h|0)==0&(g|0)==0){b=f;break}else b=f}}}while(!((d|0)==0&(e|0)==0));d=c[(c[X>>2]|0)+48>>2]|0;do if((d|0)==64){d=c[Y>>2]|0;f=a+320+(d<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0}else{X=s;X=vf(a,d,c[X>>2]|0,c[X+4>>2]|0)|0;d=c[Y>>2]|0;f=a+320+(d<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if((e&X&c[Z>>2]|0)==0?(f&C&c[Z+4>>2]|0)==0:0)break;return b|0}while(0);i=a+320+((d^1)<<3)|0;h=s;g=c[h>>2]|0;h=c[h+4>>2]|0;while(1){if((e|0)==0&(f|0)==0){R=129;break}Y=fb(e|0,f|0,0)|0;d=yu(e|0,f|0,-1,-1)|0;f=C&f;Y=_b(c[a+(Y<<2)>>2]|0,Y,g,h)|0;Z=i;if(!((c[Z>>2]&Y|0)==0?(c[Z+4>>2]&C|0)==0:0)){R=129;break}else e=d&e}if((R|0)==129)return b|0}else{x=a+328|0;v=x;o=Z;s=c[o>>2]&c[v>>2];v=c[o+4>>2]&c[v+4>>2];o=s&65280;w=s&-65281;u=a+320|0;t=c[u>>2]&V;u=c[u+4>>2]&U;z=a+256|0;i=z;O=~c[i>>2];i=~c[i+4>>2];P=(r|0)==1;p=V&O;q=U&i;l=zu(w|0,v|0,8)|0;j=C;zu((P?p:O)&l|0,(P?q:i)&j|0,8)|0;i=C;P=(r|0)==4;l=l&p;j=j&q;i=(P?65535:255)&q&i;if((r|0)==3?(n=p&-256,m=q&16777215,((n|0)!=0|(m|0)!=0)&(c[a+4532>>2]|0)!=0):0)while(1){k=b+8|0;P=fb(n|0,m|0,0)|0;O=yu(n|0,m|0,-1,-1)|0;n=O&n;m=C&m;c[b>>2]=P|2490368;if((n|0)==0&(m|0)==0){b=k;break}else b=k}if(!((l|0)==0&(j|0)==0))while(1){P=fb(l|0,j|0,0)|0;k=yu(l|0,j|0,-1,-1)|0;l=k&l;j=C&j;k=b+8|0;c[b>>2]=(P|512)+(P<<6);if((l|0)==0&(j|0)==0){b=k;break}else b=k}if(!(0==0&(i|0)==0)){k=0;while(1){P=fb(k|0,i|0,0)|0;j=yu(k|0,i|0,-1,-1)|0;k=j&k;i=C&i;j=b+8|0;c[b>>2]=(P|1024)+(P<<6);if((k|0)==0&(i|0)==0){b=j;break}else b=j}}c:do if(!((V&255|0)==0&0==0|(o|0)==0&0==0)){j=zu(o|0,0,9)|0;j=j&t;i=C&u;n=zu(o|0,0,7)|0;n=t&254&n;o=zu(o|0,0,8)|0;o=o&p;m=C&q;d:do if((c[W>>2]|0)==1){K=b;g=j;I=i;R=87}else{while(1){if((j|0)==0&(i|0)==0){i=n;j=0;break}k=yu(j|0,i|0,-1,-1)|0;k=k&j;l=C&i;P=fb(j|0,i|0,0)|0;P=P+8768+(P<<6)|0;c[b>>2]=P+20480;c[b+8>>2]=P+16384;c[b+16>>2]=P+12288;i=b+32|0;c[b+24>>2]=P+8192;if((c[W>>2]|0)==1){K=i;g=k;I=l;R=87;break d}else{b=i;j=k;i=l}}while(1){if((i|0)==0&(j|0)==0){h=o;i=m;break}k=yu(i|0,j|0,-1,-1)|0;k=k&i;l=C&j;P=fb(i|0,j|0,0)|0;P=P+8640+(P<<6)|0;c[b>>2]=P+20480;c[b+8>>2]=P+16384;c[b+16>>2]=P+12288;i=b+32|0;c[b+24>>2]=P+8192;if((c[W>>2]|0)==1){M=i;F=k;J=l;R=92;break d}else{b=i;i=k;j=l}}while(1){if((h|0)==0&(i|0)==0)break c;d=yu(h|0,i|0,-1,-1)|0;d=d&h;j=C&i;P=fb(h|0,i|0,0)|0;P=(P|8704)+(P<<6)|0;c[b>>2]=P+20480;c[b+8>>2]=P+16384;c[b+16>>2]=P+12288;h=b+32|0;c[b+24>>2]=P+8192;if((c[W>>2]|0)==1){y=j;break}else{b=h;h=d;i=j}}}while(0);if((R|0)==87)if((g|0)==0&(I|0)==0){M=K;F=n;J=0;R=92}else{b=I;do{R=yu(g|0,b|0,-1,-1)|0;g=R&g;b=C&b}while(!((g|0)==0&(b|0)==0));M=K;F=n;J=0;R=92}if((R|0)==92)if((F|0)==0&(J|0)==0){h=M;d=o;y=m}else{d=F;b=J;do{R=yu(d|0,b|0,-1,-1)|0;d=R&d;b=C&b}while(!((d|0)==0&(b|0)==0));h=M;d=o;y=m}if((d|0)==0&(y|0)==0)b=h;else{b=y;do{R=yu(d|0,b|0,-1,-1)|0;d=R&d;b=C&b}while(!((d|0)==0&(b|0)==0));b=h}}while(0);j=zu(s|0,v|0,9)|0;j=j&2139062016&t;g=C&8355711&u;h=zu(s|0,v|0,7)|0;h=h&-16843264&t;d=C&16711422&u;if(!((j|0)==0&(g|0)==0))while(1){R=fb(j|0,g|0,0)|0;i=yu(j|0,g|0,-1,-1)|0;j=i&j;g=C&g;i=b+8|0;c[b>>2]=R+576+(R<<6);if((j|0)==0&(g|0)==0){b=i;break}else b=i}if(!((h|0)==0&(d|0)==0))while(1){R=fb(h|0,d|0,0)|0;g=yu(h|0,d|0,-1,-1)|0;h=g&h;d=C&d;g=b+8|0;c[b>>2]=R+448+(R<<6);if((h|0)==0&(d|0)==0){b=g;break}else b=g}d=c[Q+48>>2]|0;if(((d|0)!=64?(R=24960+(d+8<<3)|0,!((c[R>>2]&V|0)==0?(c[R+4>>2]&U|0)==0:0)):0)?(e=26304+(d<<3)|0,f=c[e>>2]&w,e=c[e+4>>2]&v,!((f|0)==0&(e|0)==0)):0){g=d+8192|0;while(1){d=b+8|0;R=fb(f|0,e|0,0)|0;Q=yu(f|0,e|0,-1,-1)|0;f=Q&f;e=C&e;c[b>>2]=g+(R<<6|24576);if((f|0)==0&(e|0)==0){b=d;break}else b=d}}do if((c[W>>2]|0)==3){f=S^V;e=T^U;i=(S|0)!=(V|0)|(T|0)!=(U|0);if(i&(c[a+4536>>2]|0)!=0){d=b;g=f;h=e;while(1){b=d+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[d>>2]=T|2752512;if((g|0)==0&(h|0)==0)break;else d=b}}if(i&(c[a+4540>>2]|0)!=0){g=f;h=e;while(1){d=b+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[b>>2]=T|3014656;if((g|0)==0&(h|0)==0){b=d;break}else b=d}}if(i&(c[a+4544>>2]|0)!=0){g=f;h=e;while(1){d=b+8|0;T=fb(g|0,h|0,0)|0;S=yu(g|0,h|0,-1,-1)|0;g=S&g;h=C&h;c[b>>2]=T|3276800;if((g|0)==0&(h|0)==0){b=d;break}else b=d}}if(!(i&(c[a+4548>>2]|0)!=0))break;while(1){d=b+8|0;T=fb(f|0,e|0,0)|0;S=yu(f|0,e|0,-1,-1)|0;f=S&f;e=C&e;c[b>>2]=T|3538944;if((f|0)==0&(e|0)==0){b=d;break}else b=d}}while(0);b=ye(a,xe(a,we(a,ve(a,b,1,V,U)|0,1,V,U)|0,1,V,U)|0,1,V,U)|0;if((c[W>>2]|0)!=1){a=b;return a|0}e=x;W=a+304|0;d=c[W>>2]&c[e>>2];e=c[W+4>>2]&c[e+4>>2];if(!((d|0)==0&(e|0)==0))do{f=fb(d|0,e|0,0)|0;g=yu(d|0,e|0,-1,-1)|0;d=g&d;e=C&e;g=28864+(f<<3)|0;h=c[g>>2]&V;g=c[g+4>>2]&U;if(!((h|0)==0&(g|0)==0)){i=f<<6;while(1){f=b+8|0;W=fb(h|0,g|0,0)|0;T=yu(h|0,g|0,-1,-1)|0;h=T&h;g=C&g;c[b>>2]=W+i;if((h|0)==0&(g|0)==0){b=f;break}else b=f}}}while(!((d|0)==0&(e|0)==0));d=c[(c[X>>2]|0)+48>>2]|0;do if((d|0)==64){d=c[Y>>2]|0;f=a+320+(d<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0}else{X=z;X=vf(a,d,c[X>>2]|0,c[X+4>>2]|0)|0;d=c[Y>>2]|0;f=a+320+(d<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if((e&X&c[Z>>2]|0)==0?(f&C&c[Z+4>>2]|0)==0:0)break;return b|0}while(0);i=a+320+((d^1)<<3)|0;h=z;g=c[h>>2]|0;h=c[h+4>>2]|0;d=f;while(1){if((e|0)==0&(d|0)==0){R=129;break}Y=fb(e|0,d|0,0)|0;f=yu(e|0,d|0,-1,-1)|0;d=C&d;Y=_b(c[a+(Y<<2)>>2]|0,Y,g,h)|0;Z=i;if(!((c[Z>>2]&Y|0)==0?(c[Z+4>>2]&C|0)==0:0)){R=129;break}else e=f&e}if((R|0)==129)return b|0}return 0}function Qe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=a+5364|0;l=c[v>>2]|0;switch(l|0){case 2:{d=c[a+5348>>2]<<3;if(!(c[a+336+((d^14)<<2)>>2]|0)){a=b;return a|0}if(!(c[a+336+((d|6)<<2)>>2]|0)){a=b;return a|0}else{h=0;i=22}break}case 4:{if(!(c[a+336+(((c[a+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){a=b;return a|0}else{h=0;i=22}break}case 5:{d=c[a+5348>>2]|0;i=c[a+400+((d<<3|6)<<8)>>2]|0;if(((i>>3)+-3|0)>>>0<2?((i&7)+-3|0)>>>0<2:0){a=b;return a|0}i=c[a+400+((d<<3^14)<<8)>>2]|0;if(((i>>3)+-3|0)>>>0<2?((i&7)+-3|0)>>>0<2:0){a=b;return a|0}else i=9;break}default:i=9}a:do if((i|0)==9){e=(l|0)==6;if(e){f=c[a+5348>>2]|0;d=f<<3;g=c[a+400+((d|6)<<8)>>2]|0;if((g&-8|0)==56){if((c[a+400+((d^14)<<8)>>2]&-8|0)==56){a=b;return a|0}if((c[a+400+((f<<3^14)<<8)>>2]>>3|0)<7){a=b;return a|0}}if((c[a+400+((f<<3^14)<<8)>>2]&-8|0)==56?(g>>3|0)<(((f|0)==0?7:6)|0):0){a=b;return a|0}else f=e}else f=0;switch(l|0){case 8:{d=c[a+5348>>2]|0;e=c[a+5356>>2]|0;if((c[e+36+(d<<2)>>2]|0)==3){a=b;return a|0}if((c[e+36+((d^1)<<2)>>2]|0)==3){a=b;return a|0}else{k=c[a+5348>>2]|0;n=c[a+5356>>2]|0;j=n+344+(k<<3)|0;i=a+320+(k<<3)|0;j=f|(c[i>>2]&c[j>>2]|0?1:(c[i+4>>2]&c[j+4>>2]|0)!=0);i=23;break a}}case 1:{d=c[a+5348>>2]|0;e=d<<3;if(!(c[a+336+(e<<2)>>2]|0)){a=b;return a|0}if(!(c[a+336+((e^8)<<2)>>2]|0)){a=b;return a|0}else{m=c[a+5356>>2]|0;o=m+344+(d<<3)|0;g=a+320+(d<<3)|0;s=64;o=f|(c[g>>2]&c[o>>2]|0?1:(c[g+4>>2]&c[o+4>>2]|0)!=0);break a}}default:{h=f;i=22;break a}}}while(0);b:do if((i|0)==22){d=c[a+5348>>2]|0;f=c[a+5356>>2]|0;e=f+344+(d<<3)|0;g=a+320+(d<<3)|0;e=h|(c[g>>2]&c[e>>2]|0?1:(c[g+4>>2]&c[e+4>>2]|0)!=0);switch(l|0){case 1:{s=64;o=e;m=f;break b}case 4:{d=d<<3|6;if(!(c[a+336+(d<<2)>>2]|0)){s=64;o=e;m=f;break b}else{p=e;q=d;r=f;i=26;break b}}case 2:{d=d<<3|6;if(!(c[a+336+(d<<2)>>2]|0)){s=64;o=e;m=f;break b}else{p=e;q=d;r=f;i=26;break b}}default:{j=e;k=d;n=f;i=23;break b}}}while(0);if((i|0)==23){p=j;q=k<<3|6;r=n;i=26}if((i|0)==26){s=c[a+400+(q<<8)>>2]|0;o=p;m=r}r=m+64|0;if((c[r>>2]|0)==0&(c[r+4>>2]|0)==0)d=Je(a,b)|0;else d=Pe(a,b)|0;if((d|0)==(b|0)){a=b;return a|0}if(o){c:while(1){while(1){e=c[b>>2]|0;if((e&131072|0)==0?!(wf(a,e)|0):0){e=b;break}if(((c[v>>2]|0)==2?(t=c[b>>2]|0,u=t&180224,(u|0)==32768|((u|0)!=49152?(c[a+((t&63)<<2)>>2]|0)!=0:0)):0)?!(wf(a,t)|0):0){e=b;break}b=b+8|0;if((b|0)==(d|0)){i=48;break c}}c[e>>2]=c[d+-8>>2];d=d+-8|0;if((b|0)==(d|0)){d=b;i=48;break}}if((i|0)==48)return d|0}else{d:while(1){while(1){e=c[b>>2]|0;t=(e&131072|0)==0;if(!(((e&180224|0)!=32768?((t?e>>>6&63:64)|0)!=(s|0):0)|t^1)?!(wf(a,e)|0):0){e=b;break}if(((c[v>>2]|0)==2?(u=c[b>>2]|0,t=u&180224,(t|0)==32768|((t|0)!=49152?(c[a+((u&63)<<2)>>2]|0)!=0:0)):0)?!(wf(a,u)|0):0){e=b;break}b=b+8|0;if((b|0)==(d|0)){i=48;break d}}c[e>>2]=c[d+-8>>2];d=d+-8|0;if((b|0)==(d|0)){d=b;i=48;break}}if((i|0)==48)return d|0}return 0}function Re(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274797]=m;c[274796]=m;c[274798]=m+108;Uj(m,b);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,d);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,e);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,f);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,g);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,h);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,j);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,k);m=(c[274797]|0)+12|0;c[274797]=m;Uj(m,l);c[274797]=(c[274797]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Se(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[a>>2]=b;c[a+4>>2]=f;c[a+12>>2]=e;e=c[f+-36>>2]&63;c[a+8>>2]=c[(c[b+5352>>2]|0)+9648+(c[b+(e<<2)>>2]<<8)+(e<<2)>>2];e=(c[b+5356>>2]|0)+64|0;e=(c[e>>2]|0)!=0|(c[e+4>>2]|0)!=0?8:0;f=a+28|0;c[f>>2]=e;if(!d){d=0;b=e;a=a+16|0;c[a>>2]=d;d=(d|0)==0;d=d&1;d=b+d|0;c[f>>2]=d;return}b=yf(b,d)|0;d=b?d:0;b=c[f>>2]|0;a=a+16|0;c[a>>2]=d;d=(d|0)==0;d=d&1;d=b+d|0;c[f>>2]=d;return}function Te(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;c[a>>2]=b;g=(c[b+5356>>2]|0)+64|0;do if((c[g>>2]|0)==0&(c[g+4>>2]|0)==0){if((e|0)>-1){c[a+28>>2]=14;g=14;break}g=a+28|0;if((e|0)>-5){c[g>>2]=18;g=18;break}c[g>>2]=21;c[a+20>>2]=f;return}else{c[a+28>>2]=8;g=8}while(0);if(!d){f=a+28|0;e=0}else{e=yf(b,d)|0;g=a+28|0;f=g;e=e?d:0;g=c[g>>2]|0}c[a+16>>2]=e;c[f>>2]=g+((e|0)==0&1);return}function Ue(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;c[a>>2]=b;f=a+24|0;c[f>>2]=e;g=a+28|0;c[g>>2]=11;if(((d|0)!=0?yf(b,d)|0:0)?(h=c[a>>2]|0,b=d&180224,(b|0)==32768|((b|0)!=49152?(c[h+((d&63)<<2)>>2]|0)!=0:0)):0){e=Gf(h,d,(c[f>>2]|0)+1|0)|0;e=e?d:0}else e=0;c[a+16>>2]=e;c[g>>2]=(c[g>>2]|0)+((e|0)==0&1);return}function Ve(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=c[a>>2]|0;n=c[k+5352>>2]|0;j=c[a+4>>2]|0;i=c[j+-4>>2]|0;p=c[j+-48>>2]|0;j=c[j+-136>>2]|0;k=c[k+5348>>2]|0;b=c[a+32>>2]|0;l=c[a+36>>2]|0;if((b|0)==(l|0))return;m=(p|0)==0;o=(j|0)==0;if(!i){do{f=c[b>>2]|0;g=f&63;h=(f&131072|0)==0;if(h)d=c[(c[a>>2]|0)+((f>>>6&63)<<2)>>2]|0;else d=f>>>18&15;e=c[n+5552+(d<<8)+(g<<2)>>2]|0;if(m)d=0;else{if(h)d=c[(c[a>>2]|0)+((f>>>6&63)<<2)>>2]|0;else d=f>>>18&15;d=c[p+(d<<8)+(g<<2)>>2]|0}e=e+d|0;if(o)d=0;else{if(h)d=c[(c[a>>2]|0)+((f>>>6&63)<<2)>>2]|0;else d=f>>>18&15;d=c[j+(d<<8)+(g<<2)>>2]|0}c[b+4>>2]=e+d+(c[n+13744+(k<<14)+((h?f>>>6&63:64)<<8)+(g<<2)>>2]|0);b=b+8|0}while((b|0)!=(l|0));return}else{do{f=c[b>>2]|0;g=f&63;h=(f&131072|0)==0;if(h){e=c[a>>2]|0;d=c[e+((f>>>6&63)<<2)>>2]|0;e=c[e+((f>>>6&63)<<2)>>2]|0}else{d=f>>>18&15;e=f>>>18&15}e=(c[i+(d<<8)+(g<<2)>>2]|0)+(c[n+5552+(e<<8)+(g<<2)>>2]|0)|0;if(m)d=0;else{if(h)d=c[(c[a>>2]|0)+((f>>>6&63)<<2)>>2]|0;else d=f>>>18&15;d=c[p+(d<<8)+(g<<2)>>2]|0}e=e+d|0;if(o)d=0;else{if(h)d=c[(c[a>>2]|0)+((f>>>6&63)<<2)>>2]|0;else d=f>>>18&15;d=c[j+(d<<8)+(g<<2)>>2]|0}c[b+4>>2]=e+d+(c[n+13744+(k<<14)+((h?f>>>6&63:64)<<8)+(g<<2)>>2]|0);b=b+8|0}while((b|0)!=(l|0));return}}function We(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=a+28|0;e=c[J>>2]|0;do switch(e|0){case 11:case 18:case 14:case 8:case 0:{c[J>>2]=e+1;a=c[a+16>>2]|0;return a|0}case 1:{m=a+44|0;k=a+32|0;c[k>>2]=m;c[a+40>>2]=m;m=te(c[a>>2]|0,m)|0;n=a+36|0;c[n>>2]=m;e=c[k>>2]|0;if((e|0)!=(m|0))do{g=c[a>>2]|0;h=c[g+5364>>2]|0;i=c[e>>2]&63;if((h|0)==6)f=i>>>3^7;else f=(c[g+5348>>2]|0)*7^i>>>3;c[e+4>>2]=(_(f,-200)|0)+(c[4708+(h<<7)+(c[g+(i<<2)>>2]<<2)>>2]|0);e=e+8|0}while((e|0)!=(m|0));u=(c[J>>2]|0)+1|0;c[J>>2]=u;w=k;m=17;break}case 2:{w=a+32|0;n=a+36|0;u=2;m=17;break}case 3:{b=a+4|0;m=30;break}case 4:{m=34;break}case 5:{m=40;break}case 6:{D=a+32|0;B=a+36|0;C=7;m=60;break}case 7:{F=a+32|0;E=F;F=c[F>>2]|0;break}case 9:{q=a+44|0;m=a+32|0;c[m>>2]=q;q=Pe(c[a>>2]|0,q)|0;t=a+36|0;c[t>>2]=q;e=c[a>>2]|0;r=c[e+5352>>2]|0;s=c[e+5348>>2]|0;f=c[m>>2]|0;a:do if((f|0)!=(q|0))while(1){i=c[f>>2]|0;k=i&63;h=c[e+(k<<2)>>2]|0;g=i&180224;if((g|0)==32768|(h|0)!=0&(g|0)!=49152){if(!(i&131072))g=c[e+((i>>>6&63)<<2)>>2]|0;else g=i>>>18&15;c[f+4>>2]=(c[4708+(c[e+5364>>2]<<7)+(h<<2)>>2]|0)+268435456-(g&7)}else{h=(i&131072|0)==0;if(h){i=i>>>6&63;g=c[e+(i<<2)>>2]|0;e=i}else{g=i>>>18&15;e=i>>>6&63}c[f+4>>2]=(c[r+13744+(s<<14)+((h?e:64)<<8)+(k<<2)>>2]|0)+(c[r+5552+(g<<8)+(k<<2)>>2]|0)}f=f+8|0;if((f|0)==(q|0))break a;e=c[a>>2]|0}while(0);c[J>>2]=(c[J>>2]|0)+1;q=m;m=84;break}case 10:{q=a+32|0;t=a+36|0;m=84;break}case 12:{m=a+44|0;k=a+32|0;c[k>>2]=m;m=te(c[a>>2]|0,m)|0;o=a+36|0;c[o>>2]=m;e=c[k>>2]|0;if((e|0)!=(m|0))do{g=c[a>>2]|0;h=c[g+5364>>2]|0;i=c[e>>2]&63;if((h|0)==6)f=i>>>3^7;else f=(c[g+5348>>2]|0)*7^i>>>3;c[e+4>>2]=(_(f,-200)|0)+(c[4708+(h<<7)+(c[g+(i<<2)>>2]<<2)>>2]|0);e=e+8|0}while((e|0)!=(m|0));c[J>>2]=(c[J>>2]|0)+1;x=k;m=95;break}case 13:{x=a+32|0;o=a+36|0;m=95;break}case 19:case 15:{k=a+44|0;e=a+32|0;c[e>>2]=k;k=te(c[a>>2]|0,k)|0;c[a+36>>2]=k;e=c[e>>2]|0;if((e|0)!=(k|0))do{g=c[a>>2]|0;h=c[g+5364>>2]|0;i=c[e>>2]&63;if((h|0)==6)f=i>>>3^7;else f=(c[g+5348>>2]|0)*7^i>>>3;c[e+4>>2]=(_(f,-200)|0)+(c[4708+(h<<7)+(c[g+(i<<2)>>2]<<2)>>2]|0);e=e+8|0}while((e|0)!=(k|0));c[J>>2]=(c[J>>2]|0)+1;m=108;break}case 20:case 16:{m=108;break}case 17:{j=a+32|0;l=a+16|0;z=c[a+36>>2]|0;m=115;break}case 21:{m=a+44|0;k=a+32|0;c[k>>2]=m;m=te(c[a>>2]|0,m)|0;p=a+36|0;c[p>>2]=m;e=c[k>>2]|0;if((e|0)!=(m|0))do{g=c[a>>2]|0;h=c[g+5364>>2]|0;i=c[e>>2]&63;if((h|0)==6)f=i>>>3^7;else f=(c[g+5348>>2]|0)*7^i>>>3;c[e+4>>2]=(_(f,-200)|0)+(c[4708+(h<<7)+(c[g+(i<<2)>>2]<<2)>>2]|0);e=e+8|0}while((e|0)!=(m|0));c[J>>2]=(c[J>>2]|0)+1;v=k;m=124;break}case 22:{v=a+32|0;p=a+36|0;m=124;break}default:{a=0;return a|0}}while(0);do if((m|0)==17){b=c[w>>2]|0;e=c[n>>2]|0;do if(b>>>0<e>>>0){i=a+16|0;k=a+40|0;h=b;while(1){f=h+8|0;c[w>>2]=f;if((h|0)==(e|0)|(f|0)==(e|0))b=h;else{b=h;g=h;while(1){b=(c[b+4>>2]|0)<(c[g+12>>2]|0)?f:b;g=f+8|0;if((g|0)==(e|0))break;else{x=f;f=g;g=x}}}x=h;v=c[x>>2]|0;x=c[x+4>>2]|0;s=b;t=c[s+4>>2]|0;u=h;c[u>>2]=c[s>>2];c[u+4>>2]=t;c[b>>2]=v;c[b+4>>2]=x;b=c[h>>2]|0;if((b|0)!=(c[i>>2]|0)){if(Gf(c[a>>2]|0,b,0)|0){d=b;m=130;break}x=c[k>>2]|0;c[k>>2]=x+8;c[x>>2]=b}h=c[w>>2]|0;e=c[n>>2]|0;if(h>>>0>=e>>>0){m=25;break}}if((m|0)==25){y=c[J>>2]|0;break}else if((m|0)==130)return d|0}else y=u;while(0);c[J>>2]=y+1;b=a+4|0;d=c[(c[b>>2]|0)+16>>2]|0;if((((d|0)!=0?(d|0)!=(c[a+16>>2]|0):0)?yf(c[a>>2]|0,d)|0:0)?(y=d&180224,!((y|0)==32768|((y|0)!=49152?(c[(c[a>>2]|0)+((d&63)<<2)>>2]|0)!=0:0))):0){a=d;return a|0}else m=30}else if((m|0)==84){i=a+16|0;while(1){h=c[q>>2]|0;g=c[t>>2]|0;if(h>>>0>=g>>>0){d=0;m=130;break}e=h+8|0;c[q>>2]=e;if((h|0)==(g|0)|(e|0)==(g|0))d=h;else{d=h;f=h;while(1){d=(c[d+4>>2]|0)<(c[f+12>>2]|0)?e:d;f=e+8|0;if((f|0)==(g|0))break;else{y=e;e=f;f=y}}}y=h;x=c[y>>2]|0;y=c[y+4>>2]|0;u=d;v=c[u+4>>2]|0;w=h;c[w>>2]=c[u>>2];c[w+4>>2]=v;c[d>>2]=x;c[d+4>>2]=y;d=c[h>>2]|0;if((d|0)!=(c[i>>2]|0)){m=130;break}}if((m|0)==130)return d|0}else if((m|0)==95){d=c[x>>2]|0;e=c[o>>2]|0;if(d>>>0>=e>>>0){a=0;return a|0}i=a+16|0;k=a+24|0;h=d;while(1){f=h+8|0;c[x>>2]=f;if((h|0)==(e|0)|(f|0)==(e|0))d=h;else{d=h;g=h;while(1){d=(c[d+4>>2]|0)<(c[g+12>>2]|0)?f:d;g=f+8|0;if((g|0)==(e|0))break;else{y=f;f=g;g=y}}}y=h;w=c[y>>2]|0;y=c[y+4>>2]|0;t=d;u=c[t+4>>2]|0;v=h;c[v>>2]=c[t>>2];c[v+4>>2]=u;c[d>>2]=w;c[d+4>>2]=y;d=c[h>>2]|0;if((d|0)!=(c[i>>2]|0)?Gf(c[a>>2]|0,d,(c[k>>2]|0)+1|0)|0:0){m=130;break}h=c[x>>2]|0;e=c[o>>2]|0;if(h>>>0>=e>>>0){d=0;m=130;break}}if((m|0)==130)return d|0}else if((m|0)==108){j=a+32|0;k=a+36|0;l=a+16|0;while(1){i=c[j>>2]|0;h=c[k>>2]|0;if(i>>>0>=h>>>0)break;f=i+8|0;c[j>>2]=f;if((i|0)==(h|0)|(f|0)==(h|0))e=i;else{e=i;g=i;while(1){e=(c[e+4>>2]|0)<(c[g+12>>2]|0)?f:e;g=f+8|0;if((g|0)==(h|0))break;else{z=f;f=g;g=z}}}z=i;y=c[z>>2]|0;z=c[z+4>>2]|0;v=e;w=c[v+4>>2]|0;x=i;c[x>>2]=c[v>>2];c[x+4>>2]=w;c[e>>2]=y;c[e+4>>2]=z;e=c[i>>2]|0;if((e|0)!=(c[l>>2]|0)){d=e;m=130;break}}if((m|0)==130)return d|0;if((c[J>>2]|0)==20){a=0;return a|0}else{z=a+44|0;c[j>>2]=z;z=Ke(c[a>>2]|0,z)|0;c[k>>2]=z;c[J>>2]=(c[J>>2]|0)+1;m=115;break}}else if((m|0)==124){i=a+20|0;while(1){h=c[v>>2]|0;g=c[p>>2]|0;if(h>>>0>=g>>>0){d=0;m=130;break}e=h+8|0;c[v>>2]=e;if((h|0)==(g|0)|(e|0)==(g|0))d=h;else{d=h;f=h;while(1){d=(c[d+4>>2]|0)<(c[f+12>>2]|0)?e:d;f=e+8|0;if((f|0)==(g|0))break;else{y=e;e=f;f=y}}}y=h;x=c[y>>2]|0;y=c[y+4>>2]|0;t=d;u=c[t+4>>2]|0;w=h;c[w>>2]=c[t>>2];c[w+4>>2]=u;c[d>>2]=x;c[d+4>>2]=y;d=c[h>>2]|0;if((d&63|0)==(c[i>>2]|0)){m=130;break}}if((m|0)==130)return d|0}while(0);if((m|0)==30){c[J>>2]=(c[J>>2]|0)+1;b=c[(c[b>>2]|0)+20>>2]|0;if((((b|0)!=0?(b|0)!=(c[a+16>>2]|0):0)?yf(c[a>>2]|0,b)|0:0)?(z=b&180224,!((z|0)==32768|((z|0)!=49152?(c[(c[a>>2]|0)+((b&63)<<2)>>2]|0)!=0:0))):0){a=b;return a|0}else m=34}else if((m|0)==115){b=c[j>>2]|0;while(1){if(b>>>0>=z>>>0){d=0;m=130;break}d=b;b=b+8|0;c[j>>2]=b;d=c[d>>2]|0;if((d|0)!=(c[l>>2]|0)){m=130;break}}if((m|0)==130)return d|0}if((m|0)==34){c[J>>2]=(c[J>>2]|0)+1;b=c[a+8>>2]|0;if((((((b|0)!=0?(b|0)!=(c[a+16>>2]|0):0)?(A=c[a+4>>2]|0,(b|0)!=(c[A+16>>2]|0)):0)?(b|0)!=(c[A+20>>2]|0):0)?yf(c[a>>2]|0,b)|0:0)?(A=b&180224,!((A|0)==32768|((A|0)!=49152?(c[(c[a>>2]|0)+((b&63)<<2)>>2]|0)!=0:0))):0){a=b;return a|0}else m=40}if((m|0)==40){b=c[a+40>>2]|0;j=a+32|0;c[j>>2]=b;k=a+36|0;c[k>>2]=Ae(c[a>>2]|0,b)|0;Ve(a);b=c[j>>2]|0;d=c[k>>2]|0;if((c[a+12>>2]|0)<3){b:do if((b|0)!=(d|0))while(1){while(1){if((c[b+4>>2]|0)<=0)break;b=b+8|0;if((b|0)==(d|0)){b=d;break b}}while(1){e=d+-8|0;if((b|0)==(e|0))break b;if((c[d+-4>>2]|0)>0){d=e;break}else d=e}C=b;B=c[C>>2]|0;C=c[C+4>>2]|0;z=d;A=c[z+4>>2]|0;D=b;c[D>>2]=c[z>>2];c[D+4>>2]=A;D=d;c[D>>2]=B;c[D+4>>2]=C;b=b+8|0;if((b|0)==(d|0)){b=d;break}}while(0);i=c[j>>2]|0;d=i+8|0;if(d>>>0<b>>>0)do{h=d;g=c[h>>2]|0;h=c[h+4>>2]|0;c:do if((d|0)==(i|0))e=i;else{f=d;while(1){e=f;f=f+-8|0;if((c[e+-4>>2]|0)>=(h|0))break c;B=f;C=c[B+4>>2]|0;D=e;c[D>>2]=c[B>>2];c[D+4>>2]=C;if((f|0)==(i|0)){e=i;break}}}while(0);D=e;c[D>>2]=g;c[D+4>>2]=h;d=d+8|0}while(d>>>0<b>>>0)}else{e=b+8|0;if(e>>>0<d>>>0)do{i=e;h=c[i>>2]|0;i=c[i+4>>2]|0;d:do if((e|0)==(b|0))f=b;else{g=e;while(1){f=g;g=g+-8|0;if((c[f+-4>>2]|0)>=(i|0))break d;B=g;C=c[B+4>>2]|0;D=f;c[D>>2]=c[B>>2];c[D+4>>2]=C;if((g|0)==(b|0)){f=b;break}}}while(0);D=f;c[D>>2]=h;c[D+4>>2]=i;e=e+8|0}while(e>>>0<d>>>0)}C=c[J>>2]|0;c[J>>2]=C+1;D=j;B=k;C=C+2|0;m=60}if((m|0)==60){b=c[D>>2]|0;e=c[B>>2]|0;do if(b>>>0<e>>>0){f=c[a+16>>2]|0;g=a+4|0;h=a+8|0;while(1){d=b+8|0;b=c[b>>2]|0;if((((b|0)!=(f|0)?(K=c[g>>2]|0,(b|0)!=(c[K+16>>2]|0)):0)?(b|0)!=(c[K+20>>2]|0):0)?(b|0)!=(c[h>>2]|0):0){G=d;I=b;break}if(d>>>0<e>>>0)b=d;else{H=d;m=67;break}}if((m|0)==67){c[D>>2]=H;break}c[D>>2]=G;a=I;return a|0}while(0);c[J>>2]=C;F=a+44|0;c[D>>2]=F;E=D}if(F>>>0>=(c[a+40>>2]|0)>>>0){a=0;return a|0}c[E>>2]=F+8;a=c[F>>2]|0;return a|0}function Xe(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274800]=m;c[274799]=m;c[274801]=m+108;Uj(m,b);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,d);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,e);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,f);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,g);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,h);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,j);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,k);m=(c[274800]|0)+12|0;c[274800]=m;Uj(m,l);c[274800]=(c[274800]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);c[274802]=2621485;c[274803]=1769502;c[274804]=2162744;c[274805]=1245225;c[274806]=524305;c[274807]=2490386;c[274808]=0;c[274809]=0;c[274810]=0;c[274811]=0;c[274812]=1048593;c[274813]=2097185;c[274814]=0;c[274815]=0;i=a;return}function Ye(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;c[a+64>>2]=d;e=c[b+5356>>2]|0;i=e+24|0;c[a+80>>2]=c[i>>2]&3;if((c[b+5364>>2]|0)==8)j=_(c[e+40>>2]|0,-2)|0;else j=0;g=b+320|0;h=b+264|0;f=c[h>>2]&c[g>>2];g=c[h+4>>2]&c[g+4>>2];if((f|0)==0&(g|0)==0)g=0;else{h=0;while(1){e=h+1|0;h=99520+(d<<6)+(h<<3)|0;if((c[h>>2]&f|0)==0?(c[h+4>>2]&g|0)==0:0)h=e;else break}g=_(e,-16)|0}e=Ze(a,b,d)|0;f=c[i>>2]|0;if(f&1){i=Ze(a,b,6)|0;e=(e|0)<(i|0)?i:e}if(!(f&2)){b=e;a=g+j|0;a=a<<16;a=b+a|0;return a|0}b=Ze(a,b,2)|0;b=(e|0)<(b|0)?b:e;a=g+j|0;a=a<<16;a=b+a|0;return a|0}
function Ze(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=b+264|0;m=d>>3;h=25664+(m<<3)|0;g=25536+(m<<3)|0;i=(c[g>>2]|c[h>>2])&c[l>>2];l=(c[g+4>>2]|c[h+4>>2])&c[l+4>>2];h=b+320|0;g=i&c[h>>2];h=l&c[h+4>>2];j=b+328|0;i=i&c[j>>2];j=l&c[j+4>>2];l=d&7;k=l>>>0<6?l:6;k=(k|0)>1?k:1;f=k+-1|0;m=m+1|0;d=25472+(f<<3)|0;e=c[d>>2]|0;d=c[d+4>>2]|0;n=g&e;b=h&d;a=fb(n|0,b|0,0)|0;a=(n|0)==0&(b|0)==0?0:a>>>3;e=i&e;d=j&d;b=fb(e|0,d|0,0)|0;b=(e|0)==0&(d|0)==0?0:b>>>3;d=8-k|0;d=(d|0)<(f|0)?d:f;e=c[3828+(d<<5)+(a<<2)>>2]|0;if(!((f|0)==(l|0)&(b|0)==(m|0)))if(!a)a=0;else a=(b|0)==(a+1|0)?2:1;else a=3;f=258-e-(c[3956+(a<<7)+(d<<5)+(b<<2)>>2]|0)|0;d=25472+(k<<3)|0;e=c[d>>2]|0;d=c[d+4>>2]|0;n=g&e;b=h&d;a=fb(n|0,b|0,0)|0;a=(n|0)==0&(b|0)==0?0:a>>>3;e=i&e;d=j&d;b=fb(e|0,d|0,0)|0;b=(e|0)==0&(d|0)==0?0:b>>>3;d=k^7;d=(d|0)<(k|0)?d:k;e=c[3828+(d<<5)+(a<<2)>>2]|0;if(!((k|0)==(l|0)&(b|0)==(m|0)))if(!a)a=0;else a=(b|0)==(a+1|0)?2:1;else a=3;f=f-e-(c[3956+(a<<7)+(d<<5)+(b<<2)>>2]|0)|0;n=k+1|0;a=25472+(n<<3)|0;b=c[a>>2]|0;a=c[a+4>>2]|0;g=g&b;d=h&a;e=fb(g|0,d|0,0)|0;e=(g|0)==0&(d|0)==0?0:e>>>3;b=i&b;a=j&a;d=fb(b|0,a|0,0)|0;d=(b|0)==0&(a|0)==0?0:d>>>3;a=6-k|0;a=(a|0)<(n|0)?a:n;b=c[3828+(a<<5)+(e<<2)>>2]|0;if((n|0)==(l|0)&(d|0)==(m|0)){n=3;n=3956+(n<<7)+(a<<5)+(d<<2)|0;n=c[n>>2]|0;m=f-b|0;n=m-n|0;return n|0}if(!e){n=0;n=3956+(n<<7)+(a<<5)+(d<<2)|0;n=c[n>>2]|0;m=f-b|0;n=m-n|0;return n|0}n=(d|0)==(e+1|0)?2:1;n=3956+(n<<7)+(a<<5)+(d<<2)|0;n=c[n>>2]|0;m=f-b|0;n=m-n|0;return n|0}function _e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;c[a+68>>2]=d;e=c[b+5356>>2]|0;i=e+24|0;c[a+84>>2]=c[i>>2]&12;if((c[b+5364>>2]|0)==8)j=_(c[e+36>>2]|0,-2)|0;else j=0;g=b+328|0;h=b+264|0;f=c[h>>2]&c[g>>2];g=c[h+4>>2]&c[g+4>>2];if((f|0)==0&(g|0)==0)g=0;else{h=0;while(1){e=h+1|0;h=99520+(d<<6)+(h<<3)|0;if((c[h>>2]&f|0)==0?(c[h+4>>2]&g|0)==0:0)h=e;else break}g=_(e,-16)|0}e=$e(a,b,d)|0;f=c[i>>2]|0;if(f&4){i=$e(a,b,62)|0;e=(e|0)<(i|0)?i:e}if(!(f&8)){b=e;a=g+j|0;a=a<<16;a=b+a|0;return a|0}b=$e(a,b,58)|0;b=(e|0)<(b|0)?b:e;a=g+j|0;a=a<<16;a=b+a|0;return a|0}function $e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=b+264|0;o=d>>3;j=25728+(o<<3)|0;i=25536+(o<<3)|0;k=(c[i>>2]|c[j>>2])&c[n>>2];n=(c[i+4>>2]|c[j+4>>2])&c[n+4>>2];j=b+328|0;i=k&c[j>>2];j=n&c[j+4>>2];l=b+320|0;k=k&c[l>>2];l=n&c[l+4>>2];n=d&7;m=n>>>0<6?n:6;m=(m|0)>1?m:1;g=m+-1|0;o=(o^7)+1|0;e=25472+(g<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;a=i&d;b=j&e;if((a|0)==0&(b|0)==0)f=0;else{f=Fu(a|0,b|0,0)|0;f=63-f>>3^7}b=k&d;a=l&e;if((b|0)==0&(a|0)==0)e=0;else{e=Fu(b|0,a|0,0)|0;e=63-e>>3^7}b=8-m|0;b=(b|0)<(g|0)?b:g;d=c[3828+(b<<5)+(f<<2)>>2]|0;if(!((g|0)==(n|0)&(e|0)==(o|0)))if(!f)a=0;else a=(e|0)==(f+1|0)?2:1;else a=3;g=258-d-(c[3956+(a<<7)+(b<<5)+(e<<2)>>2]|0)|0;e=25472+(m<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;a=i&d;b=j&e;if((a|0)==0&(b|0)==0)f=0;else{f=Fu(a|0,b|0,0)|0;f=63-f>>3^7}b=k&d;a=l&e;if((b|0)==0&(a|0)==0)e=0;else{e=Fu(b|0,a|0,0)|0;e=63-e>>3^7}b=m^7;b=(b|0)<(m|0)?b:m;d=c[3828+(b<<5)+(f<<2)>>2]|0;if(!((m|0)==(n|0)&(e|0)==(o|0)))if(!f)a=0;else a=(e|0)==(f+1|0)?2:1;else a=3;g=g-d-(c[3956+(a<<7)+(b<<5)+(e<<2)>>2]|0)|0;h=m+1|0;e=25472+(h<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;b=i&d;a=j&e;if((b|0)==0&(a|0)==0)f=0;else{f=Fu(b|0,a|0,0)|0;f=63-f>>3^7}b=k&d;a=l&e;if((b|0)==0&(a|0)==0)d=0;else{d=Fu(b|0,a|0,0)|0;d=63-d>>3^7}a=6-m|0;a=(a|0)<(h|0)?a:h;b=c[3828+(a<<5)+(f<<2)>>2]|0;if((h|0)==(n|0)&(d|0)==(o|0)){o=3;o=3956+(o<<7)+(a<<5)+(d<<2)|0;o=c[o>>2]|0;n=g-b|0;o=n-o|0;return o|0}if(!f){o=0;o=3956+(o<<7)+(a<<5)+(d<<2)|0;o=c[o>>2]|0;n=g-b|0;o=n-o|0;return o|0}o=(d|0)==(f+1|0)?2:1;o=3956+(o<<7)+(a<<5)+(d<<2)|0;o=c[o>>2]|0;n=g-b|0;o=n-o|0;return o|0}function af(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;O=0;while(1){B=8>>>O;B=(((B*5|0)/8|0)<<16)+B|0;E=1099264+(O<<7)+4|0;a=19>>>O;a=(((a*5|0)/8|0)<<16)+a|0;e=1099264+(O<<7)+8|0;t=13>>>O;t=(((t*5|0)/8|0)<<16)+t|0;u=1099264+(O<<7)+12|0;v=71>>>O;v=(((v*5|0)/8|0)<<16)+v|0;w=1099264+(O<<7)+16|0;x=94>>>O;x=(((x*5|0)/8|0)<<16)+x|0;y=1099264+(O<<7)+20|0;z=169>>>O;z=(((z*5|0)/8|0)<<16)+z|0;A=1099264+(O<<7)+24|0;C=8>>>O;C=((C|0)/2|0)+C|0;C=(((C*5|0)/8|0)<<16)+C|0;D=19>>>O;D=((D|0)/2|0)+D|0;D=(((D*5|0)/8|0)<<16)+D|0;F=13>>>O;F=((F|0)/2|0)+F|0;F=(((F*5|0)/8|0)<<16)+F|0;G=71>>>O;G=((G|0)/2|0)+G|0;G=(((G*5|0)/8|0)<<16)+G|0;H=94>>>O;H=((H|0)/2|0)+H|0;H=(((H*5|0)/8|0)<<16)+H|0;I=169>>>O;I=((I|0)/2|0)+I|0;I=(((I*5|0)/8|0)<<16)+I|0;J=13>>>O;J=(((J*5|0)/8|0)<<16)+J|0;K=16>>>O;K=(((K*5|0)/8|0)<<16)+K|0;L=42>>>O;L=(((L*5|0)/8|0)<<16)+L|0;M=82>>>O;M=(((M*5|0)/8|0)<<16)+M|0;b=131>>>O;b=(((b*5|0)/8|0)<<16)+b|0;d=246>>>O;d=(((d*5|0)/8|0)<<16)+d|0;f=13>>>O;f=((f|0)/2|0)+f|0;f=(((f*5|0)/8|0)<<16)+f|0;g=16>>>O;g=((g|0)/2|0)+g|0;g=(((g*5|0)/8|0)<<16)+g|0;h=42>>>O;h=((h|0)/2|0)+h|0;h=(((h*5|0)/8|0)<<16)+h|0;i=82>>>O;i=((i|0)/2|0)+i|0;i=(((i*5|0)/8|0)<<16)+i|0;j=131>>>O;j=((j|0)/2|0)+j|0;j=(((j*5|0)/8|0)<<16)+j|0;k=246>>>O;k=((k|0)/2|0)+k|0;k=(((k*5|0)/8|0)<<16)+k|0;P=0;while(1){l=(P|0)==0;m=1099264+(O<<7)+(P<<6)+4|0;n=1099264+(O<<7)+(P<<6)+8|0;o=1099264+(O<<7)+(P<<6)+12|0;p=1099264+(O<<7)+(P<<6)+16|0;q=1099264+(O<<7)+(P<<6)+20|0;r=1099264+(O<<7)+(P<<6)+24|0;N=0;a:while(1){s=(N|0)==0;do if(l)if(s){c[E>>2]=B;c[e>>2]=a;c[u>>2]=t;c[w>>2]=v;c[y>>2]=x;c[A>>2]=z;N=1;continue a}else{c[1099264+(O<<7)+(N<<5)+4>>2]=C;c[1099264+(O<<7)+(N<<5)+8>>2]=D;c[1099264+(O<<7)+(N<<5)+12>>2]=F;c[1099264+(O<<7)+(N<<5)+16>>2]=G;c[1099264+(O<<7)+(N<<5)+20>>2]=H;c[1099264+(O<<7)+(N<<5)+24>>2]=I;break}else if(s){c[m>>2]=J;c[n>>2]=K;c[o>>2]=L;c[p>>2]=M;c[q>>2]=b;c[r>>2]=d;N=1;continue a}else{c[1099264+(O<<7)+(P<<6)+(N<<5)+4>>2]=f;c[1099264+(O<<7)+(P<<6)+(N<<5)+8>>2]=g;c[1099264+(O<<7)+(P<<6)+(N<<5)+12>>2]=h;c[1099264+(O<<7)+(P<<6)+(N<<5)+16>>2]=i;c[1099264+(O<<7)+(P<<6)+(N<<5)+20>>2]=j;c[1099264+(O<<7)+(P<<6)+(N<<5)+24>>2]=k;break}while(0);N=N+1|0;if((N|0)==2)break}P=P+1|0;if((P|0)==2)break}O=O+1|0;if((O|0)==2)break}return}function bf(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;e=c[a+5356>>2]|0;b=c[e>>2]|0;e=c[e+4>>2]|0;T=b&16383;U=c[(c[a+5352>>2]|0)+88>>2]|0;V=U+(T*120|0)|0;S=V;if((c[S>>2]|0)==(b|0)?(c[S+4>>2]|0)==(e|0):0)return V|0;Q=V;c[Q>>2]=b;c[Q+4>>2]=e;Q=a+320|0;I=Q;O=a+264|0;K=O;J=c[K>>2]|0;K=c[K+4>>2]|0;H=J&c[I>>2];I=K&c[I+4>>2];P=a+328|0;L=P;J=c[L>>2]&J;K=c[L+4>>2]&K;L=U+(T*120|0)+48|0;M=L;c[M>>2]=0;c[M+4>>2]=0;M=U+(T*120|0)+16|0;N=M;c[N>>2]=0;c[N+4>>2]=0;N=U+(T*120|0)+88|0;c[N>>2]=255;c[U+(T*120|0)+64>>2]=64;G=Au(H|0,I|0,9)|0;b=C&-16843010;R=Au(H|0,I|0,7)|0;S=U+(T*120|0)+32|0;c[S>>2]=G&-16843264|R&2139062016;c[S+4>>2]=b|C&2139062143;S=zu(H|0,I|0,16)|0;b=zu(H|0,I|0,48)|0;b=(d[1213348+(S&43605)>>0]|0)+(d[1213348+(H&43605)>>0]|0)+(d[1213348+(I&43605)>>0]|0)+(d[1213348+(b&43605)>>0]|0)|0;c[U+(T*120|0)+100>>2]=b;c[U+(T*120|0)+96>>2]=(c[a+340>>2]|0)-b;b=c[a+656>>2]|0;if((b|0)==64){S=255;R=0}else{F=c[274806]|0;G=c[274807]|0;q=b;b=255;B=0;D=0;o=0;p=0;E=a+660|0;e=0;while(1){g=q&7;b=b&~(1<<g);k=105664+(q<<3)|0;B=c[k>>2]|B;D=c[k+4>>2]|D;k=L;c[k>>2]=B;c[k+4>>2]=D;k=103616+(q<<3)|0;j=c[k>>2]|0;k=c[k+4>>2]|0;r=(j&J|0)!=0|(k&K|0)!=0;m=104640+(q<<3)|0;l=c[m>>2]&J;m=c[m+4>>2]&K;z=26304+(q<<3)|0;z=c[z>>2]&J|0?1:(c[z+4>>2]&K|0)!=0;y=24960+(q+8<<3)|0;x=c[y>>2]&H;y=c[y+4>>2]&I;g=25600+(g<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;h=f&H;i=g&I;A=q>>3;t=25536+(A<<3)|0;s=h&c[t>>2];t=i&c[t+4>>2];v=25536+(q+-8>>3<<3)|0;u=c[v>>2]&h;v=c[v+4>>2]&i;w=(u|s|0)==0&(v|t|0)==0;n=(h|0)!=0|(i|0)!=0;if((A|0)>3|(z|n^1))f=0;else{S=fb(h|l|0,i|m|0,0)|0;S=25536+(S>>>3<<3)|0;R=c[S>>2]|0;S=c[S+4>>2]|0;f=Au(R&f|0,S&g|0,8)|0;f=((f|R)&l|0)!=0|((C|S)&m|0)!=0}if((l|j&H|0)==0&(m|k&I|0)==0){h=24960+(q<<3)|0;g=c[h>>2]|o;h=c[h+4>>2]|p;S=M;c[S>>2]=g;c[S+4>>2]=h}else{g=o;h=p}do if(n)if(f){f=c[1099216+((r&1)<<2)>>2]|0;break}else{f=(u|0)==0&(v|0)==0?F:0;break}else f=c[1099208+((r&1)<<2)>>2]|0;while(0);e=e-f|0;if(!w){S=yu(u|0,v|0,-1,-1)|0;e=(c[1099264+((r&1)<<7)+((((s|0)!=0|(t|0)!=0)&1)<<6)+((((S&u|0)!=0|(C&v|0)!=0)&1)<<5)+(A<<2)>>2]|0)+e|0}e=e-((x|0)==0&(y|0)==0?0:G)|0;if(z)e=(c[1099232+(A<<2)>>2]|0)+e|0;q=c[E>>2]|0;if((q|0)==64)break;else{o=g;p=h;E=E+4|0}}c[N>>2]=b;S=b;R=e}M=P;G=O;F=c[G>>2]|0;G=c[G+4>>2]|0;L=F&c[M>>2];M=G&c[M+4>>2];H=Q;F=c[H>>2]&F;G=c[H+4>>2]&G;H=U+(T*120|0)+56|0;I=H;c[I>>2]=0;c[I+4>>2]=0;I=U+(T*120|0)+24|0;N=I;c[N>>2]=0;c[N+4>>2]=0;N=U+(T*120|0)+92|0;c[N>>2]=255;c[U+(T*120|0)+68>>2]=64;O=zu(L|0,M|0,9)|0;b=C&8355711;P=zu(L|0,M|0,7)|0;Q=U+(T*120|0)+40|0;c[Q>>2]=O&2139062143|P&-16843010;c[Q+4>>2]=b|C&16711422;Q=zu(L|0,M|0,16)|0;b=zu(L|0,M|0,48)|0;b=(d[1213348+(Q&43605)>>0]|0)+(d[1213348+(L&43605)>>0]|0)+(d[1213348+(M&43605)>>0]|0)+(d[1213348+(b&43605)>>0]|0)|0;c[U+(T*120|0)+108>>2]=b;c[U+(T*120|0)+104>>2]=(c[a+372>>2]|0)-b;b=c[a+2704>>2]|0;if((b|0)==64){e=255;b=0}else{J=c[274806]|0;K=c[274807]|0;w=b;e=255;D=0;E=0;u=0;v=0;B=a+2708|0;b=0;while(1){g=w&7;e=e&~(1<<g);k=106176+(w<<3)|0;D=c[k>>2]|D;E=c[k+4>>2]|E;k=H;c[k>>2]=D;c[k+4>>2]=E;k=104128+(w<<3)|0;j=c[k>>2]|0;k=c[k+4>>2]|0;o=(j&F|0)!=0|(k&G|0)!=0;m=105152+(w<<3)|0;l=c[m>>2]&F;m=c[m+4>>2]&G;z=30400+(w<<3)|0;z=c[z>>2]&F|0?1:(c[z+4>>2]&G|0)!=0;y=24960+(w+-8<<3)|0;x=c[y>>2]&L;y=c[y+4>>2]&M;g=25600+(g<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;h=f&L;i=g&M;A=w>>3;q=25536+(A<<3)|0;p=h&c[q>>2];q=i&c[q+4>>2];s=25536+(w+8>>3<<3)|0;r=c[s>>2]&h;s=c[s+4>>2]&i;t=(r|p|0)==0&(s|q|0)==0;n=(h|0)!=0|(i|0)!=0;A=A^7;if((A|0)>3|(z|n^1))f=0;else{a=Fu(h|l|0,i|m|0,0)|0;a=25536+(63-a>>3<<3)|0;Q=c[a>>2]|0;a=c[a+4>>2]|0;f=zu(Q&f|0,a&g|0,8)|0;f=((f|Q)&l|0)!=0|((C|a)&m|0)!=0}if((l|j&L|0)==0&(m|k&M|0)==0){h=24960+(w<<3)|0;g=c[h>>2]|u;h=c[h+4>>2]|v;a=I;c[a>>2]=g;c[a+4>>2]=h}else{g=u;h=v}do if(n)if(f){f=c[1099216+((o&1)<<2)>>2]|0;break}else{f=(r|0)==0&(s|0)==0?J:0;break}else f=c[1099208+((o&1)<<2)>>2]|0;while(0);b=b-f|0;if(!t){a=yu(r|0,s|0,-1,-1)|0;b=(c[1099264+((o&1)<<7)+((((p|0)!=0|(q|0)!=0)&1)<<6)+((((a&r|0)!=0|(C&s|0)!=0)&1)<<5)+(A<<2)>>2]|0)+b|0}b=b-((x|0)==0&(y|0)==0?0:K)|0;if(z)b=(c[1099232+(A<<2)>>2]|0)+b|0;w=c[B>>2]|0;if((w|0)==64)break;else{u=g;v=h;B=B+4|0}}c[N>>2]=e}c[U+(T*120|0)+8>>2]=R-b;a=e^S;Q=((a|0)<0)<<31>>31;P=zu(a|0,Q|0,16)|0;R=zu(a|0,Q|0,48)|0;c[U+(T*120|0)+112>>2]=(d[1213348+(P&65535)>>0]|0)+(d[1213348+(a&65535)>>0]|0)+(d[1213348+(Q&65535)>>0]|0)+(d[1213348+R>>0]|0);R=e&S;S=((R|0)<0)<<31>>31;Q=zu(R|0,S|0,16)|0;a=zu(R|0,S|0,48)|0;c[U+(T*120|0)+116>>2]=(d[1213348+(Q&65535)>>0]|0)+(d[1213348+(R&65535)>>0]|0)+(d[1213348+(S&65535)>>0]|0)+(d[1213348+a>>0]|0);return V|0}function cf(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274881]=m;c[274880]=m;c[274882]=m+108;Uj(m,b);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,d);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,e);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,f);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,g);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,h);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,j);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,k);m=(c[274881]|0)+12|0;c[274881]=m;Uj(m,l);c[274881]=(c[274881]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);Vj(1099532,14828,15);i=a;return}function df(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+8256|0;g=p+8248|0;h=p+8236|0;m=p+8224|0;f=p+4124|0;n=p+4112|0;e=p+12|0;o=p;Td(b,14844,36)|0;l=7;while(1){j=l<<3;k=0;do{q=Td(b,14960,3)|0;a[g>>0]=a[((a[1099532]&1)==0?1099533:c[274885]|0)+(c[d+(k+j<<2)>>2]|0)>>0]|0;Td(q,g,1)|0;k=k+1|0}while((k|0)!=8);Td(b,14921,38)|0;if((l|0)>0)l=l+-1|0;else break}q=Td(b,14881,6)|0;ef(h,d);l=a[h>>0]|0;g=(l&1)==0;l=Td(Td(q,g?h+1|0:c[h+8>>2]|0,g?(l&255)>>>1:c[h+4>>2]|0)|0,14902,6)|0;g=l+(c[(c[l>>2]|0)+-12>>2]|0)+4|0;c[g>>2]=c[g>>2]&-75|8;g=l+(c[(c[l>>2]|0)+-12>>2]|0)+4|0;c[g>>2]=c[g>>2]|16384;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+76>>2]=48;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=16;g=d+5356|0;q=(c[g>>2]|0)+56|0;q=am(l,c[q>>2]|0,c[q+4>>2]|0)|0;c[q+(c[(c[q>>2]|0)+-12>>2]|0)+76>>2]=32;l=q+(c[(c[q>>2]|0)+-12>>2]|0)+4|0;c[l>>2]=c[l>>2]&-75|2;Td(q,14909,11)|0;Zj(h);g=(c[g>>2]|0)+64|0;h=c[g>>2]|0;g=c[g+4>>2]|0;if(!((h|0)==0&(g|0)==0)){j=m+8|0;k=m+1|0;l=m+4|0;do{q=fb(h|0,g|0,0)|0;r=yu(h|0,g|0,-1,-1)|0;h=r&h;g=C&g;$g(m,q);q=a[m>>0]|0;r=(q&1)==0;Td(Td(b,r?k:c[j>>2]|0,r?(q&255)>>>1:c[l>>2]|0)|0,15898,1)|0;Zj(m)}while(!((h|0)==0&(g|0)==0))}Td(b,14964,14)|0;g=Qe(d,f)|0;c[f+4096>>2]=g;if((f|0)!=(g|0)){h=n+8|0;j=n+1|0;k=n+4|0;do{_g(n,d,c[f>>2]|0);r=a[n>>0]|0;q=(r&1)==0;Td(Td(b,q?j:c[h>>2]|0,q?(r&255)>>>1:c[k>>2]|0)|0,15898,1)|0;Zj(n);f=f+8|0}while((f|0)!=(g|0))}Td(b,14979,18)|0;k=Qe(d,e)|0;c[e+4096>>2]=k;if((e|0)==(k|0)){i=p;return b|0}f=d+5360|0;g=o+8|0;h=o+1|0;j=o+4|0;do{Wg(o,c[e>>2]|0,(a[f>>0]|0)!=0);r=a[o>>0]|0;q=(r&1)==0;Td(Td(b,q?h:c[g>>2]|0,q?(r&255)>>>1:c[j>>2]|0)|0,15898,1)|0;Zj(o);e=e+8|0}while((e|0)!=(k|0));i=p;return b|0}function ef(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;u=i;i=i+208|0;l=u+184|0;t=u;k=u+172|0;o=u+160|0;p=u+148|0;q=u+136|0;r=t+4|0;c[t>>2]=4480;s=t+56|0;c[s>>2]=4500;Ml(t+56|0,r);c[t+128>>2]=0;c[t+132>>2]=-1;c[t>>2]=4520;c[t+56>>2]=4540;Ol(r);c[r>>2]=3128;m=t+36|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[t+52>>2]=16;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;Sd(r,l);Zj(l);n=d+5364|0;g=d+4560|0;j=7;while(1){h=j<<3;f=0;e=0;while(1){if(c[d+(e+h<<2)>>2]|0){if(f|0)Zl(t,f)|0;f=e+h|0;a[l>>0]=a[((a[1099532]&1)==0?1099533:c[274885]|0)+(c[d+(f<<2)>>2]|0)>>0]|0;Td(t,l,1)|0;if((c[n>>2]|0)==3?(v=g,f=24960+(f<<3)|0,!((c[f>>2]&c[v>>2]|0)==0?(c[f+4>>2]&c[v+4>>2]|0)==0:0)):0)Td(t,14888,1)|0}else{f=f+1|0;e=e+1|0;if((e|0)<8)continue;Zl(t,f)|0}e=e+1|0;if((e|0)>=8)break;else f=0}if((j|0)<=0)break;a[l>>0]=47;Td(t,l,1)|0;j=j+-1|0}if((c[n>>2]|0)==3){a[l>>0]=91;Td(t,l,1)|0;e=k+8|0;f=k+1|0;g=k+4|0;h=0;do{v=h<<3;Wj(k,c[d+4496+(h<<5)+20>>2]|0,a[((a[1099532]&1)==0?1099533:c[274885]|0)+(v|5)>>0]|0);j=a[k>>0]|0;w=(j&1)==0;Td(t,w?f:c[e>>2]|0,w?(j&255)>>>1:c[g>>2]|0)|0;Zj(k);Wj(k,c[d+4496+(h<<5)+16>>2]|0,a[((a[1099532]&1)==0?1099533:c[274885]|0)+(v|4)>>0]|0);j=a[k>>0]|0;w=(j&1)==0;Td(t,w?f:c[e>>2]|0,w?(j&255)>>>1:c[g>>2]|0)|0;Zj(k);Wj(k,c[d+4496+(h<<5)+12>>2]|0,a[((a[1099532]&1)==0?1099533:c[274885]|0)+(v|3)>>0]|0);j=a[k>>0]|0;w=(j&1)==0;Td(t,w?f:c[e>>2]|0,w?(j&255)>>>1:c[g>>2]|0)|0;Zj(k);Wj(k,c[d+4496+(h<<5)+8>>2]|0,a[((a[1099532]&1)==0?1099533:c[274885]|0)+(v|2)>>0]|0);j=a[k>>0]|0;w=(j&1)==0;Td(t,w?f:c[e>>2]|0,w?(j&255)>>>1:c[g>>2]|0)|0;Zj(k);Wj(k,c[d+4496+(h<<5)+4>>2]|0,a[((a[1099532]&1)==0?1099533:c[274885]|0)+(v|1)>>0]|0);v=a[k>>0]|0;j=(v&1)==0;Td(t,j?f:c[e>>2]|0,j?(v&255)>>>1:c[g>>2]|0)|0;Zj(k);h=h+1|0}while((h|0)!=2);a[l>>0]=93;Td(t,l,1)|0}g=d+5348|0;Td(t,(c[g>>2]|0)==0?14890:14894,3)|0;h=d+5356|0;e=c[h>>2]|0;f=c[e+24>>2]|0;if(f&1){if(!(a[d+5360>>0]|0))e=75;else e=(c[d+5148>>2]&7)+65&255;a[l>>0]=e;Td(t,l,1)|0;e=c[h>>2]|0;f=c[e+24>>2]|0}if(f&2){if(!(a[d+5360>>0]|0))e=81;else e=(c[d+5152>>2]&7)+65&255;a[l>>0]=e;Td(t,l,1)|0;e=c[h>>2]|0;f=c[e+24>>2]|0}if(f&4){if(!(a[d+5360>>0]|0))e=107;else e=(c[d+5160>>2]&7)+97&255;a[l>>0]=e;Td(t,l,1)|0;e=c[h>>2]|0;f=c[e+24>>2]|0}if(f&8){if(!(a[d+5360>>0]|0))e=113;else e=(c[d+5176>>2]&7)+97&255;a[l>>0]=e;Td(t,l,1)|0;e=c[h>>2]|0;f=c[e+24>>2]|0}if(!(f&15)){a[l>>0]=45;Td(t,l,1)|0;e=c[h>>2]|0}e=c[e+48>>2]|0;if((e|0)==64){Vj(o,14898,3);w=a[o>>0]|0;v=(w&1)==0;Td(t,v?o+1|0:c[o+8>>2]|0,v?(w&255)>>>1:c[o+4>>2]|0)|0;Zj(o)}else{$g(q,e);w=lk(q,0,15898)|0;c[p>>2]=c[w>>2];c[p+4>>2]=c[w+4>>2];c[p+8>>2]=c[w+8>>2];c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;w=ik(p,15898)|0;c[o>>2]=c[w>>2];c[o+4>>2]=c[w+4>>2];c[o+8>>2]=c[w+8>>2];c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;w=a[o>>0]|0;v=(w&1)==0;Td(t,v?o+1|0:c[o+8>>2]|0,v?(w&255)>>>1:c[o+4>>2]|0)|0;Zj(o);Zj(p);Zj(q)}if((c[n>>2]|0)!=8){v=c[h>>2]|0;v=v+28|0;v=c[v>>2]|0;v=Zl(t,v)|0;v=Td(v,15898,1)|0;d=d+5344|0;d=c[d>>2]|0;w=c[g>>2]|0;w=(w|0)==1;w=w&1;w=d-w|0;w=(w|0)/2|0;w=w+1|0;Zl(v,w)|0;Wd(b,r);c[t>>2]=4520;c[s>>2]=4540;c[r>>2]=3128;Zj(m);Pk(r);Lk(s);i=u;return}v=Td(Zl(t,3-(c[(c[h>>2]|0)+36>>2]|0)|0)|0,16007,1)|0;Td(Zl(v,3-(c[(c[h>>2]|0)+40>>2]|0)|0)|0,15898,1)|0;v=c[h>>2]|0;v=v+28|0;v=c[v>>2]|0;v=Zl(t,v)|0;v=Td(v,15898,1)|0;d=d+5344|0;d=c[d>>2]|0;w=c[g>>2]|0;w=(w|0)==1;w=w&1;w=d-w|0;w=(w|0)/2|0;w=w+1|0;Zl(v,w)|0;Wd(b,r);c[t>>2]=4520;c[s>>2]=4540;c[r>>2]=3128;Zj(m);Pk(r);Lk(s);i=u;return}function ff(a){a=a|0;var b=0,d=0;c[a>>2]=4520;b=a+56|0;c[b>>2]=4540;d=a+4|0;c[d>>2]=3128;Zj(a+36|0);Pk(d);Lk(b);return}function gf(a){a=a|0;var b=0,d=0;c[a>>2]=4520;b=a+56|0;c[b>>2]=4540;d=a+4|0;c[d>>2]=3128;Zj(a+36|0);Pk(d);Lk(b);Qt(a);return}function hf(a){a=a|0;var b=0,d=0;d=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[d>>2]=4520;a=d+56|0;c[a>>2]=4540;b=d+4|0;c[b>>2]=3128;Zj(d+36|0);Pk(b);Lk(a);return}function jf(a){a=a|0;var b=0,d=0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=4520;b=a+56|0;c[b>>2]=4540;d=a+4|0;c[d>>2]=3128;Zj(a+36|0);Pk(d);Lk(b);Qt(a);return}function kf(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=1070372;a=0;f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=972448+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);e=zu(b|0,a|0,12)|0;b=e^b;a=C^a;e=Au(b|0,a|0,25)|0;b=e^b;a=C^a;e=zu(b|0,a|0,27)|0;b=e^b;a=C^a;e=Ku(b|0,a|0,1332534557,625341585)|0;k=1046176;c[k>>2]=e;c[k+4>>2]=C;k=zu(b|0,a|0,12)|0;b=k^b;a=C^a;k=Au(b|0,a|0,25)|0;b=k^b;a=C^a;k=zu(b|0,a|0,27)|0;b=k^b;a=C^a;k=Ku(b|0,a|0,1332534557,625341585)|0;e=1046184;c[e>>2]=k;c[e+4>>2]=C;e=zu(b|0,a|0,12)|0;b=e^b;a=C^a;e=Au(b|0,a|0,25)|0;b=e^b;a=C^a;e=zu(b|0,a|0,27)|0;b=e^b;a=C^a;e=Ku(b|0,a|0,1332534557,625341585)|0;k=1046192;c[k>>2]=e;c[k+4>>2]=C;k=zu(b|0,a|0,12)|0;b=k^b;a=C^a;k=Au(b|0,a|0,25)|0;b=k^b;a=C^a;k=zu(b|0,a|0,27)|0;b=k^b;a=C^a;k=Ku(b|0,a|0,1332534557,625341585)|0;e=1046200;c[e>>2]=k;c[e+4>>2]=C;e=zu(b|0,a|0,12)|0;b=e^b;a=C^a;e=Au(b|0,a|0,25)|0;b=e^b;a=C^a;e=zu(b|0,a|0,27)|0;b=e^b;a=C^a;e=Ku(b|0,a|0,1332534557,625341585)|0;k=1046208;c[k>>2]=e;c[k+4>>2]=C;k=zu(b|0,a|0,12)|0;b=k^b;a=C^a;k=Au(b|0,a|0,25)|0;b=k^b;a=C^a;k=zu(b|0,a|0,27)|0;b=k^b;a=C^a;k=Ku(b|0,a|0,1332534557,625341585)|0;e=1046216;c[e>>2]=k;c[e+4>>2]=C;e=zu(b|0,a|0,12)|0;b=e^b;a=C^a;e=Au(b|0,a|0,25)|0;b=e^b;a=C^a;e=zu(b|0,a|0,27)|0;b=e^b;a=C^a;e=Ku(b|0,a|0,1332534557,625341585)|0;k=1046224;c[k>>2]=e;c[k+4>>2]=C;k=zu(b|0,a|0,12)|0;b=k^b;a=C^a;k=Au(b|0,a|0,25)|0;b=k^b;a=C^a;k=zu(b|0,a|0,27)|0;b=k^b;a=C^a;k=Ku(b|0,a|0,1332534557,625341585)|0;e=1046232;c[e>>2]=k;c[e+4>>2]=C;e=0;do{while(1){d=1046240+(e<<3)|0;k=d;c[k>>2]=0;c[k+4>>2]=0;if(!e)e=1;else break}j=e;k=((e|0)<0)<<31>>31;h=0;i=0;do{g=fb(j|0,k|0,0)|0;f=yu(j|0,k|0,-1,-1)|0;j=f&j;k=C&k;g=Au(1,0,g|0)|0;g=1046240+(g<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((f|0)==0&(g|0)==0){f=zu(b|0,a|0,12)|0;b=f^b;a=C^a;f=Au(b|0,a|0,25)|0;b=f^b;a=C^a;f=zu(b|0,a|0,27)|0;b=f^b;a=C^a;f=Ku(b|0,a|0,1332534557,625341585)|0;g=C}h=h^f;i=i^g;g=d;c[g>>2]=h;c[g+4>>2]=i}while(!((j|0)==0&(k|0)==0));e=e+1|0}while((e|0)!=16);k=zu(b|0,a|0,12)|0;b=k^b;a=C^a;k=Au(b|0,a|0,25)|0;b=k^b;a=C^a;k=zu(b|0,a|0,27)|0;b=k^b;a=C^a;k=Ku(b|0,a|0,1332534557,625341585)|0;f=1046368;c[f>>2]=k;c[f+4>>2]=C;f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=980640+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=988832+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=997024+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=1005216+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=1013408+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=1021600+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=1029792+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);f=4564;do{e=c[f>>2]|0;d=0;do{j=zu(b|0,a|0,12)|0;b=j^b;a=C^a;j=Au(b|0,a|0,25)|0;b=j^b;a=C^a;j=zu(b|0,a|0,27)|0;b=j^b;a=C^a;j=Ku(b|0,a|0,1332534557,625341585)|0;k=1037984+(e<<9)+(d<<3)|0;c[k>>2]=j;c[k+4>>2]=C;d=d+1|0}while((d|0)!=64);f=f+4|0}while((f|0)!=4612);d=zu(b|0,a|0,12)|0;d=d^b;b=C^a;a=Au(d|0,b|0,25)|0;d=a^d;b=C^b;a=zu(d|0,b|0,27)|0;d=a^d;b=C^b;a=Ku(d|0,b|0,1332534557,625341585)|0;k=1048552;c[k>>2]=a;c[k+4>>2]=C;k=zu(d|0,b|0,12)|0;d=k^d;b=C^b;k=Au(d|0,b|0,25)|0;d=k^d;b=C^b;k=zu(d|0,b|0,27)|0;d=k^d;b=C^b;k=Ku(d|0,b|0,1332534557,625341585)|0;a=1048560;c[a>>2]=k;c[a+4>>2]=C;a=zu(d|0,b|0,12)|0;d=a^d;b=C^b;a=Au(d|0,b|0,25)|0;d=a^d;b=C^b;a=zu(d|0,b|0,27)|0;d=a^d;b=C^b;a=Ku(d|0,b|0,1332534557,625341585)|0;k=1048568;c[k>>2]=a;c[k+4>>2]=C;k=zu(d|0,b|0,12)|0;d=k^d;b=C^b;k=Au(d|0,b|0,25)|0;d=k^d;b=C^b;k=zu(d|0,b|0,27)|0;d=k^d;b=C^b;k=Ku(d|0,b|0,1332534557,625341585)|0;a=1048576;c[a>>2]=k;c[a+4>>2]=C;a=zu(d|0,b|0,12)|0;d=a^d;b=C^b;a=Au(d|0,b|0,25)|0;d=a^d;b=C^b;a=zu(d|0,b|0,27)|0;d=a^d;b=C^b;a=Ku(d|0,b|0,1332534557,625341585)|0;k=1048584;c[k>>2]=a;c[k+4>>2]=C;k=zu(d|0,b|0,12)|0;d=k^d;b=C^b;k=Au(d|0,b|0,25)|0;d=k^d;b=C^b;k=zu(d|0,b|0,27)|0;d=k^d;b=C^b;k=Ku(d|0,b|0,1332534557,625341585)|0;a=1048592;c[a>>2]=k;c[a+4>>2]=C;a=zu(d|0,b|0,12)|0;d=a^d;b=C^b;a=Au(d|0,b|0,25)|0;d=a^d;b=C^b;a=zu(d|0,b|0,27)|0;d=a^d;b=C^b;a=Ku(d|0,b|0,1332534557,625341585)|0;k=1048600;c[k>>2]=a;c[k+4>>2]=C;k=zu(d|0,b|0,12)|0;d=k^d;b=C^b;k=Au(d|0,b|0,25)|0;d=k^d;b=C^b;k=zu(d|0,b|0,27)|0;d=k^d;b=C^b;k=Ku(d|0,b|0,1332534557,625341585)|0;a=1048608;c[a>>2]=k;c[a+4>>2]=C;a=4564;do{f=c[a>>2]|0;e=0;do{j=zu(d|0,b|0,12)|0;d=j^d;b=C^b;j=Au(d|0,b|0,25)|0;d=j^d;b=C^b;j=zu(d|0,b|0,27)|0;d=j^d;b=C^b;j=Ku(d|0,b|0,1332534557,625341585)|0;k=1046376+(f*136|0)+(e<<3)|0;c[k>>2]=j;c[k+4>>2]=C;e=e+1|0}while((e|0)!=17);a=a+4|0}while((a|0)!=4612);return}function lf(b,e,f,g,h,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;H=i;i=i+144|0;A=H+140|0;G=H;D=G+8|0;c[G>>2]=4624;E=G+60|0;c[E>>2]=4644;c[G+4>>2]=0;Ml(G+60|0,D);c[G+132>>2]=0;c[G+136>>2]=-1;c[G>>2]=4664;c[G+60>>2]=4684;Ol(D);c[D>>2]=3128;F=G+40|0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=0;c[F+12>>2]=0;c[G+56>>2]=8;Sd(D,e);xu(b|0,0,5368)|0;xu(h|0,0,1528)|0;e=1024;k=b+400|0;while(1){c[k>>2]=64;e=e+-1|0;if(!e)break;else k=k+4|0}B=b+5356|0;c[B>>2]=h;y=b+5364|0;c[y>>2]=g;m=G+(c[(c[G>>2]|0)+-12>>2]|0)+4|0;c[m>>2]=c[m>>2]&-4097;m=b+4560|0;q=b+256|0;n=56;e=0;a:while(1){l=24960+(n+-1<<3)|0;while(1){Rl(A,G,0);do if(a[A>>0]|0){k=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;h=k+12|0;g=c[h>>2]|0;if((g|0)==(c[k+16>>2]|0)){k=Db[c[(c[k>>2]|0)+40>>2]&127](k)|0;if((k|0)==-1){x=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(x,c[x+16>>2]|6);break}else e=k}else{c[h>>2]=g+1;e=d[g>>0]|0}e=e&255}while(0);if(c[G+(c[(c[G>>2]|0)+-12>>2]|0)+16>>2]&5|0)break a;k=e&255;if(Gh(k)|0)break a;k=k+-48|0;if(k>>>0<10){z=14;break}if(e<<24>>24==47){z=16;break}k=ok(1099532,e,0)|0;if((k|0)!=-1){z=18;break}k=(c[y>>2]|0)==3;if(!(e<<24>>24==126&k))if(e<<24>>24==91&k){e=91;break a}else continue;else{v=l;u=m;w=c[u+4>>2]|c[v+4>>2];x=m;c[x>>2]=c[u>>2]|c[v>>2];c[x+4>>2]=w;continue}}if((z|0)==14){z=0;n=k+n|0;continue}else if((z|0)==16){z=0;n=n+-16|0;e=47;continue}else if((z|0)==18){z=0;c[b+(n<<2)>>2]=k;u=24960+(n<<3)|0;w=u;v=q;t=c[v+4>>2]|c[w+4>>2];x=q;c[x>>2]=c[v>>2]|c[w>>2];c[x+4>>2]=t;x=b+256+((k&7)<<3)|0;t=u;w=x;v=c[w+4>>2]|c[t+4>>2];c[x>>2]=c[w>>2]|c[t>>2];c[x+4>>2]=v;x=k>>3;v=b+320+(x<<3)|0;t=v;w=c[t+4>>2]|c[u+4>>2];c[v>>2]=c[t>>2]|c[u>>2];c[v+4>>2]=w;v=b+336+(k<<2)|0;w=c[v>>2]|0;c[v>>2]=w+1;c[b+4568+(n<<2)>>2]=w;c[b+400+(k<<8)+(w<<2)>>2]=n;x=b+336+(x<<3<<2)|0;c[x>>2]=(c[x>>2]|0)+1;n=n+1|0;continue}}b:do if((c[y>>2]|0)==3){k=e;while(1){Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;h=e+12|0;g=c[h>>2]|0;if((g|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){x=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(x,c[x+16>>2]|6);break}}else{c[h>>2]=g+1;e=d[g>>0]|0}k=e&255}while(0);if(c[G+(c[(c[G>>2]|0)+-12>>2]|0)+16>>2]&5|0)break b;if(Gh(k&255)|0)break b;if(k<<24>>24==93){k=93;continue}e=ok(1099532,k,0)|0;if((e|0)==-1)continue;x=b+4496+(e>>3<<5)+((e&7)<<2)|0;c[x>>2]=(c[x>>2]|0)+1}}else k=e;while(0);Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;h=e+12|0;g=c[h>>2]|0;if((g|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){x=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(x,c[x+16>>2]|6);break}}else{c[h>>2]=g+1;e=d[g>>0]|0}k=e&255}while(0);x=b+5348|0;c[x>>2]=k<<24>>24!=119&1;Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;h=e+12|0;g=c[h>>2]|0;if((g|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){w=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(w,c[w+16>>2]|6);break}}else{c[h>>2]=g+1;e=d[g>>0]|0}k=e&255}while(0);c:while(1){Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;h=e+12|0;g=c[h>>2]|0;if((g|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){w=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(w,c[w+16>>2]|6);break}}else{c[h>>2]=g+1;e=d[g>>0]|0}k=e&255}while(0);if(c[G+(c[(c[G>>2]|0)+-12>>2]|0)+16>>2]&5|0){g=k;break}g=k&255;if(Gh(g)|0){g=k;break}n=(xi(g)|0)!=0;o=n&1;l=n?7:0;d:do switch(c[y>>2]|0){case 4:{e=o<<3|6;if(!(c[b+336+(e<<2)>>2]|0))p=64;else z=60;break}case 2:{e=o<<3|6;if(!(c[b+336+(e<<2)>>2]|0))p=64;else z=60;break}case 1:{h=b+400+((o<<3|6)<<8)|0;while(1){e=c[h>>2]|0;if((e|0)==64){p=64;break d}if((e>>3|0)==(l|0)){p=e;break}else h=h+4|0}break}default:{e=o<<3|6;z=60}}while(0);if((z|0)==60){z=0;p=c[b+400+(e<<8)>>2]|0}if((p>>3|0)!=(l|0))continue;h=o<<3|4;e=wi(g)|0;k=e&255;e=e&255;e:do switch(e|0){case 75:{e=n?63:7;if((e|0)==(p|0))continue c;while(1){if((c[b+(e<<2)>>2]|0)==(h|0))break e;e=e+-1|0;if((e|0)==(p|0))continue c}}case 81:{e=n?56:0;if((e|0)==(p|0))continue c;while(1){if((c[b+(e<<2)>>2]|0)==(h|0))break e;e=e+1|0;if((e|0)==(p|0))continue c}}default:{if((e+-65|0)>>>0>=8)continue c;e=(l<<3)+-65+e|0}}while(0);if((e|0)==(p|0))continue;m=(p|0)<(e|0);w=1<<((m&1|o<<1)^1);h=(c[B>>2]|0)+24|0;c[h>>2]=c[h>>2]|w;h=b+4824+(p<<2)|0;c[h>>2]=c[h>>2]|w;h=b+4824+(e<<2)|0;c[h>>2]=c[h>>2]|w;c[b+5080+(w<<2)>>2]=p;c[b+5144+(w<<2)>>2]=e;h=n?56:0;l=(m?5:3)|h;g=(l|0)>(e|0)?l:e;n=b+5208+(w<<3)|0;l=(l|0)<(e|0)?l:e;while(1){if(!((l|0)==(p|0)|(l|0)==(e|0))){u=24960+(l<<3)|0;t=n;v=c[t+4>>2]|c[u+4>>2];w=n;c[w>>2]=c[t>>2]|c[u>>2];c[w+4>>2]=v}if((l|0)<(g|0))l=l+1|0;else break}g=(m?6:2)|h;h=(g|0)>(p|0)?g:p;g=(g|0)<(p|0)?g:p;while(1){if(!((g|0)==(p|0)|(g|0)==(e|0))){u=24960+(g<<3)|0;t=n;v=c[t+4>>2]|c[u+4>>2];w=n;c[w>>2]=c[t>>2]|c[u>>2];c[w+4>>2]=v}if((g|0)<(h|0))g=g+1|0;else continue c}}Rl(A,G,0);do if(!(a[A>>0]|0))l=0;else{e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;k=e+12|0;h=c[k>>2]|0;if((h|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){l=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(l,c[l+16>>2]|6);l=0;break}}else{c[k>>2]=h+1;e=d[h>>0]|0}l=e&255}while(0);k=c[G>>2]|0;do if((l+-97&255)<8?(c[G+(c[k+-12>>2]|0)+16>>2]&5|0)==0:0){Rl(A,G,0);do if(!(a[A>>0]|0))e=0;else{e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;k=e+12|0;h=c[k>>2]|0;if((h|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){e=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(e,c[e+16>>2]|6);e=0;break}}else{c[k>>2]=h+1;e=d[h>>0]|0}e=e&255}while(0);k=c[G>>2]|0;if(!(c[G+(c[k+-12>>2]|0)+16>>2]&5)){v=c[x>>2]|0;w=(v|0)==0;if(w){if(e<<24>>24!=54){z=114;break}}else if(e<<24>>24!=51){z=114;break}h=(l&255)+-489+((e&255)<<3)|0;e=c[B>>2]|0;u=e+48|0;c[u>>2]=h;n=q;m=c[n>>2]|0;n=c[n+4>>2]|0;Q=30400+(h<<3)|0;p=b+320|0;o=c[p>>2]|0;p=c[p+4>>2]|0;r=b+264|0;q=c[r>>2]|0;r=c[r+4>>2]|0;R=26304+(h<<3)|0;t=b+328|0;s=c[t>>2]|0;t=c[t+4>>2]|0;O=26816+(h<<3)|0;P=b+272|0;N=22912+(h<<3)|0;M=23424+(h<<3)|0;M=(_(c[N+4>>2]&n,c[M+4>>2]|0)|0)^(_(c[N>>2]&m,c[M>>2]|0)|0);M=(c[1095812+(h<<2)>>2]|0)+(M>>>(c[1096068+(h<<2)>>2]|0)<<3)|0;N=b+288|0;K=b+296|0;T=c[K>>2]|0;K=c[K+4>>2]|0;L=23936+(h<<3)|0;J=24448+(h<<3)|0;J=(_(c[L+4>>2]&n,c[J+4>>2]|0)|0)^(_(c[L>>2]&m,c[J>>2]|0)|0);J=(c[1096324+(h<<2)>>2]|0)+(J>>>(c[1096580+(h<<2)>>2]|0)<<3)|0;L=b+280|0;l=28864+(h<<3)|0;I=b+304|0;S=b+320+(v<<3)|0;if((c[S>>2]&q&(c[R>>2]&q&s|o&c[Q>>2]&q|c[P>>2]&c[O>>2]|(T|c[N>>2])&c[M>>2]|(c[L>>2]|T)&c[J>>2]|c[I>>2]&c[l>>2])|0)==0?(c[S+4>>2]&r&(c[R+4>>2]&r&t|p&c[Q+4>>2]&r|c[P+4>>2]&c[O+4>>2]|(K|c[N+4>>2])&c[M+4>>2]|(c[L+4>>2]|K)&c[J+4>>2]|c[I+4>>2]&c[l+4>>2])|0)==0:0){c[u>>2]=64;break}l=24960+(h<<3)|0;h=c[l>>2]|0;l=c[l+4>>2]|0;if(!((h&m|0)==0&(l&n|0)==0)){c[u>>2]=64;break}if(w){T=Au(h|0,l|0,8)|0;if(!((T&m|0)==0&(C&n|0)==0)){c[u>>2]=64;break}T=zu(h|0,l|0,8)|0;if(!((T&s&q|0)==0&(C&t&r|0)==0))break;c[u>>2]=64;break}if((v|0)==1){T=zu(h|0,l|0,8)|0;if(!((T&m|0)==0&(C&n|0)==0)){c[u>>2]=64;break}T=Au(h|0,l|0,8)|0;if((T&o&q|0)==0&(C&p&r|0)==0)c[u>>2]=64}}else z=114}else z=114;while(0);if((z|0)==114){e=c[B>>2]|0;c[e+48>>2]=64}c[e+36>>2]=0;c[e+40>>2]=0;f:do if((c[y>>2]|0)==8){T=G+(c[k+-12>>2]|0)+4|0;c[T>>2]=c[T>>2]|4096;Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;k=e+12|0;h=c[k>>2]|0;if((h|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){T=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(T,c[T+16>>2]|6);break}}else{c[k>>2]=h+1;e=d[h>>0]|0}g=e&255}while(0);if(c[G+(c[(c[G>>2]|0)+-12>>2]|0)+16>>2]&5|0){e=c[B>>2]|0;break}switch(51-(g&255)|0){case 0:{c[(c[B>>2]|0)+36>>2]=0;break}case 1:{c[(c[B>>2]|0)+36>>2]=1;break}case 2:{c[(c[B>>2]|0)+36>>2]=2;break}case 3:{c[(c[B>>2]|0)+36>>2]=3;break}default:c[(c[B>>2]|0)+36>>2]=4}Rl(A,G,0);do if(a[A>>0]|0){e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;k=e+12|0;h=c[k>>2]|0;if((h|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){T=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(T,c[T+16>>2]|6);break}}else{c[k>>2]=h+1;e=d[h>>0]|0}g=e&255}while(0);Rl(A,G,0);do if(!(a[A>>0]|0))e=g;else{e=c[G+(c[(c[G>>2]|0)+-12>>2]|0)+24>>2]|0;k=e+12|0;h=c[k>>2]|0;if((h|0)==(c[e+16>>2]|0)){e=Db[c[(c[e>>2]|0)+40>>2]&127](e)|0;if((e|0)==-1){e=G+(c[(c[G>>2]|0)+-12>>2]|0)|0;Ll(e,c[e+16>>2]|6);e=g;break}}else{c[k>>2]=h+1;e=d[h>>0]|0}e=e&255}while(0);switch(51-(e&255)|0){case 0:{e=c[B>>2]|0;c[e+40>>2]=0;break f}case 1:{e=c[B>>2]|0;c[e+40>>2]=1;break f}case 2:{e=c[B>>2]|0;c[e+40>>2]=2;break f}case 3:{e=c[B>>2]|0;c[e+40>>2]=3;break f}default:{e=c[B>>2]|0;c[e+40>>2]=4;break f}}}while(0);T=G+(c[(c[G>>2]|0)+-12>>2]|0)+4|0;c[T>>2]=c[T>>2]|4096;T=b+5344|0;Vl(Vl(G,e+28|0)|0,T)|0;S=(c[T>>2]<<1)+-2|0;c[T>>2]=((S|0)<0?0:S)|(c[x>>2]|0)==1;a[b+5360>>0]=f&1;c[b+5352>>2]=j;qf(b,c[B>>2]|0);c[G>>2]=4664;c[E>>2]=4684;c[D>>2]=3128;Zj(F);Pk(D);Lk(E);i=H;return b|0}function mf(a){a=a|0;var b=0,d=0;c[a>>2]=4664;b=a+60|0;c[b>>2]=4684;d=a+8|0;c[d>>2]=3128;Zj(a+40|0);Pk(d);Lk(b);return}function nf(a){a=a|0;var b=0,d=0;c[a>>2]=4664;b=a+60|0;c[b>>2]=4684;d=a+8|0;c[d>>2]=3128;Zj(a+40|0);Pk(d);Lk(b);Qt(a);return}function of(a){a=a|0;var b=0,d=0;d=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[d>>2]=4664;a=d+60|0;c[a>>2]=4684;b=d+8|0;c[b>>2]=3128;Zj(d+40|0);Pk(b);Lk(a);return}function pf(a){a=a|0;var b=0,d=0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=4664;b=a+60|0;c[b>>2]=4684;d=a+8|0;c[d>>2]=3128;Zj(a+40|0);Pk(d);Lk(b);Qt(a);return}function qf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;n=a+5364|0;g=c[n>>2]|0;p=b+8|0;o=p;c[o>>2]=g;c[o+4>>2]=0;o=b;c[o>>2]=g;c[o+4>>2]=0;o=b+56|0;j=o;c[j>>2]=g;c[j+4>>2]=0;c[b+20>>2]=0;c[b+16>>2]=0;j=b+44|0;c[j>>2]=0;rf(a,b);g=c[n>>2]|0;a:do switch(g|0){case 6:{d=c[a+5348>>2]<<3;if((c[a+400+((d|6)<<8)>>2]&-8|0)==56){e=0;d=0}else{e=0;d=c[24960+(c[a+400+((d^14)<<8)>>2]<<3)+4>>2]&-16777216}m=b+64|0;c[m>>2]=e;c[m+4>>2]=d;break}case 4:{if(!(c[a+336+((c[a+5348>>2]<<3|6)<<2)>>2]|0)){m=b+64|0;c[m>>2]=0;c[m+4>>2]=0}else h=7;break}case 1:{m=b+64|0;c[m>>2]=0;c[m+4>>2]=0;break}case 2:{f=c[a+5348>>2]|0;d=f<<3|6;if(c[a+336+(d<<2)>>2]|0?(e=c[a+400+(d<<8)>>2]|0,(e|0)!=64):0){e=28864+(e<<3)|0;d=f<<3^14;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;m=24960+(d<<3)|0;if((c[m>>2]&c[e>>2]|0)==0?(c[m+4>>2]&c[e+4>>2]|0)==0:0){e=f;h=15;break a}}m=b+64|0;c[m>>2]=0;c[m+4>>2]=0;break}default:h=7}while(0);if((h|0)==7){e=c[a+5348>>2]|0;h=15}if((h|0)==15){switch(g|0){case 4:{d=e<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else h=19;break}case 2:{d=e<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else h=19;break}case 1:{d=64;break}default:{d=e<<3|6;h=19}}if((h|0)==19)d=c[a+400+(d<<8)>>2]|0;h=a+256|0;q=c[h>>2]|0;h=c[h+4>>2]|0;w=30400+(d<<3)|0;x=a+320|0;m=a+264|0;v=c[m>>2]|0;m=c[m+4>>2]|0;z=26304+(d<<3)|0;y=a+328|0;t=26816+(d<<3)|0;u=a+272|0;s=22912+(d<<3)|0;r=23424+(d<<3)|0;r=(_(c[s+4>>2]&h,c[r+4>>2]|0)|0)^(_(c[s>>2]&q,c[r>>2]|0)|0);r=(c[1095812+(d<<2)>>2]|0)+(r>>>(c[1096068+(d<<2)>>2]|0)<<3)|0;s=a+288|0;l=a+296|0;f=c[l>>2]|0;l=c[l+4>>2]|0;i=23936+(d<<3)|0;g=24448+(d<<3)|0;g=(_(c[i+4>>2]&h,c[g+4>>2]|0)|0)^(_(c[i>>2]&q,c[g>>2]|0)|0);g=(c[1096324+(d<<2)>>2]|0)+(g>>>(c[1096580+(d<<2)>>2]|0)<<3)|0;q=a+280|0;i=28864+(d<<3)|0;h=a+304|0;k=a+320+((e^1)<<3)|0;l=(c[z+4>>2]&m&c[y+4>>2]|c[x+4>>2]&c[w+4>>2]&m|c[u+4>>2]&c[t+4>>2]|(l|c[s+4>>2])&c[r+4>>2]|(c[q+4>>2]|l)&c[g+4>>2]|c[h+4>>2]&c[i+4>>2])&c[k+4>>2];m=b+64|0;c[m>>2]=(c[z>>2]&v&c[y>>2]|c[x>>2]&c[w>>2]&v|c[u>>2]&c[t>>2]|(f|c[s>>2])&c[r>>2]|(c[q>>2]|f)&c[g>>2]|c[h>>2]&c[i>>2])&c[k>>2];c[m+4>>2]=l}e=a+256|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if(!((d|0)==0&(e|0)==0)){i=c[n>>2]|0;g=o;f=c[g>>2]|0;g=c[g+4>>2]|0;h=c[j>>2]|0;do{z=fb(d|0,e|0,0)|0;y=yu(d|0,e|0,-1,-1)|0;d=y&d;e=C&e;y=c[a+(z<<2)>>2]|0;x=972448+(i<<13)+(y<<9)+(z<<3)|0;f=f^c[x>>2];g=g^c[x+4>>2];x=o;c[x>>2]=f;c[x+4>>2]=g;h=h+(c[1099544+(i*4160|0)+(y*260|0)+(z<<2)>>2]|0)|0;c[j>>2]=h}while(!((d|0)==0&(e|0)==0))}if((c[n>>2]|0)==3){z=_(c[278135]|0,c[a+4500>>2]|0)|0;z=(c[j>>2]|0)+z|0;c[j>>2]=z;z=z+(_(c[278200]|0,c[a+4504>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278265]|0,c[a+4508>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278330]|0,c[a+4512>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278395]|0,c[a+4516>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278460]|0,c[a+4520>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278655]|0,c[a+4532>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278720]|0,c[a+4536>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278785]|0,c[a+4540>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278850]|0,c[a+4544>>2]|0)|0)|0;c[j>>2]=z;z=z+(_(c[278915]|0,c[a+4548>>2]|0)|0)|0;c[j>>2]=z;c[j>>2]=z+(_(c[278980]|0,c[a+4552>>2]|0)|0)}d=c[b+48>>2]|0;if((d|0)!=64){x=1046176+((d&7)<<3)|0;w=o;y=c[w+4>>2]^c[x+4>>2];z=o;c[z>>2]=c[w>>2]^c[x>>2];c[z+4>>2]=y}if((c[a+5348>>2]|0)==1){e=1046368;z=o;d=c[z>>2]^c[e>>2];e=c[z+4>>2]^c[e+4>>2];z=o;c[z>>2]=d;c[z+4>>2]=e}else{e=o;d=c[e>>2]|0;e=c[e+4>>2]|0}y=1046240+(c[b+24>>2]<<3)|0;z=e^c[y+4>>2];e=o;c[e>>2]=d^c[y>>2];c[e+4>>2]=z;e=a+264|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if(!((d|0)==0&(e|0)==0)){h=c[n>>2]|0;g=b;f=c[g>>2]|0;g=c[g+4>>2]|0;do{z=fb(d|0,e|0,0)|0;y=yu(d|0,e|0,-1,-1)|0;d=y&d;e=C&e;z=972448+(h<<13)+(c[a+(z<<2)>>2]<<9)+(z<<3)|0;f=f^c[z>>2];g=g^c[z+4>>2];z=b;c[z>>2]=f;c[z+4>>2]=g}while(!((d|0)==0&(e|0)==0))}j=c[n>>2]|0;m=4564;do{k=c[m>>2]|0;l=k&7;switch(l|0){case 6:case 1:break;default:{z=b+16+(k>>3<<2)|0;c[z>>2]=(_(c[4708+(k<<2)>>2]|0,c[a+336+(k<<2)>>2]|0)|0)+(c[z>>2]|0)}}e=c[a+336+(k<<2)>>2]|0;if((e|0)>0){d=c[n>>2]|0;h=p;f=j;g=c[h>>2]|0;h=c[h+4>>2]|0;i=0;while(1){z=972448+(f<<13)+(k<<9)+(i<<3)|0;g=g^c[z>>2];h=h^c[z+4>>2];z=p;c[z>>2]=g;c[z+4>>2]=h;i=i+1|0;if((i|0)>=(e|0))break;else f=d}}else d=j;if((d|0)==3){x=1046376+(k*136|0)+(c[a+4496+(k>>3<<5)+(l<<2)>>2]<<3)|0;w=o;y=c[w+4>>2]^c[x+4>>2];z=o;c[z>>2]=c[w>>2]^c[x>>2];c[z+4>>2]=y}m=m+4|0}while((m|0)!=4612);if((c[n>>2]|0)!=8)return;y=1048552+(c[b+36>>2]<<3)|0;x=o;w=c[x>>2]^c[y>>2];y=c[x+4>>2]^c[y+4>>2];x=o;c[x>>2]=w;c[x+4>>2]=y;x=1048584+(c[b+40>>2]<<3)|0;y=y^c[x+4>>2];z=o;c[z>>2]=w^c[x>>2];c[z+4>>2]=y;return}function rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=c[a+5364>>2]|0;a:do if((s|0)==1){a=b+344|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0}else{e=a+328|0;d=c[e>>2]|0;e=c[e+4>>2]|0;switch(s|0){case 4:{if(!(c[a+360>>2]|0))k=64;else q=6;break}case 2:{if(!(c[a+360>>2]|0))k=64;else q=6;break}default:q=6}if((q|0)==6)k=c[a+1936>>2]|0;n=b+360|0;r=n;c[r>>2]=0;c[r+4>>2]=0;r=(s|0)==4|(s|0)==2;b:do if((k|0)==64&r){e=0;d=0}else{f=108736+(k<<3)|0;j=a+296|0;g=c[j>>2]|0;j=c[j+4>>2]|0;i=a+288|0;h=108224+(k<<3)|0;t=a+280|0;o=a+256|0;p=a+(k<<2)|0;l=0;m=0;g=((c[t>>2]|g)&c[h>>2]|(c[i>>2]|g)&c[f>>2])&d;f=((c[t+4>>2]|j)&c[h+4>>2]|(c[i+4>>2]|j)&c[f+4>>2])&e;e=0;d=0;while(1){while(1){do{if((g|0)==0&(f|0)==0)break b;j=fb(g|0,f|0,0)|0;i=yu(g|0,f|0,-1,-1)|0;g=i&g;f=C&f;i=33984+(k<<9)+(j<<3)|0;t=o;h=c[t>>2]&c[i>>2];i=c[t+4>>2]&c[i+4>>2];t=yu(h|0,i|0,-1,-1)|0}while(!((t&h|0)==0&(C&i|0)==0));e=h|e;d=i|d;t=a+320+(c[p>>2]>>3<<3)|0;if(!((c[t>>2]&h|0)==0?(c[t+4>>2]&i|0)==0:0)){h=j;break}}t=24960+(h<<3)|0;j=c[t>>2]|l;t=c[t+4>>2]|m;i=n;c[i>>2]=j;c[i+4>>2]=t;l=j;m=t}}while(0);t=b+344|0;c[t>>2]=e;c[t+4>>2]=d;e=a+320|0;d=c[e>>2]|0;e=c[e+4>>2]|0;switch(s|0){case 4:{if(!(c[a+392>>2]|0))p=64;else q=18;break}case 2:{if(!(c[a+392>>2]|0))p=64;else q=18;break}case 1:{p=64;break}default:q=18}if((q|0)==18)p=c[a+3984>>2]|0;o=b+368|0;t=o;c[t>>2]=0;c[t+4>>2]=0;c:do if((p|0)==64&r){e=0;d=0}else{f=108736+(p<<3)|0;t=a+296|0;g=c[t>>2]|0;t=c[t+4>>2]|0;r=a+288|0;q=108224+(p<<3)|0;j=a+280|0;k=a+256|0;l=a+(p<<2)|0;m=0;n=0;g=((c[j>>2]|g)&c[q>>2]|(c[r>>2]|g)&c[f>>2])&d;f=((c[j+4>>2]|t)&c[q+4>>2]|(c[r+4>>2]|t)&c[f+4>>2])&e;e=0;d=0;while(1){while(1){do{if((g|0)==0&(f|0)==0)break c;i=fb(g|0,f|0,0)|0;j=yu(g|0,f|0,-1,-1)|0;g=j&g;f=C&f;j=33984+(p<<9)+(i<<3)|0;t=k;h=c[t>>2]&c[j>>2];j=c[t+4>>2]&c[j+4>>2];t=yu(h|0,j|0,-1,-1)|0}while(!((t&h|0)==0&(C&j|0)==0));e=h|e;d=j|d;t=a+320+(c[l>>2]>>3<<3)|0;if(!((c[t>>2]&h|0)==0?(c[t+4>>2]&j|0)==0:0)){h=i;break}}t=24960+(h<<3)|0;r=c[t>>2]|m;t=c[t+4>>2]|n;q=o;c[q>>2]=r;c[q+4>>2]=t;m=r;n=t}}while(0);t=b+352|0;c[t>>2]=e;c[t+4>>2]=d;e=c[a+5348>>2]|0;d=e^1;switch(s|0){case 1:break a;case 4:{d=d<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;if(!(c[a+336+((e<<3^14)<<2)>>2]|0)){d=b+1472|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));return}break}case 2:{d=d<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;if((d|0)==64){d=b+1472|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));return}break}default:d=c[a+400+((d<<3|6)<<8)>>2]|0}r=25792+((e<<3^9)<<9)+(d<<3)|0;q=c[r+4>>2]|0;t=b+1472|0;c[t>>2]=c[r>>2];c[t+4>>2]=q;t=26816+(d<<3)|0;q=c[t+4>>2]|0;r=b+1480|0;c[r>>2]=c[t>>2];c[r+4>>2]=q;r=a+256|0;q=r;t=23936+(d<<3)|0;s=24448+(d<<3)|0;s=(_(c[t+4>>2]&c[q+4>>2],c[s+4>>2]|0)|0)^(_(c[t>>2]&c[q>>2],c[s>>2]|0)|0);s=(c[1096324+(d<<2)>>2]|0)+(s>>>(c[1096580+(d<<2)>>2]|0)<<3)|0;q=c[s>>2]|0;s=c[s+4>>2]|0;t=b+1488|0;c[t>>2]=q;c[t+4>>2]=s;t=22912+(d<<3)|0;a=23424+(d<<3)|0;a=(_(c[t+4>>2]&c[r+4>>2],c[a+4>>2]|0)|0)^(_(c[t>>2]&c[r>>2],c[a>>2]|0)|0);a=(c[1095812+(d<<2)>>2]|0)+(a>>>(c[1096068+(d<<2)>>2]|0)<<3)|0;r=c[a>>2]|0;a=c[a+4>>2]|0;t=b+1496|0;c[t>>2]=r;c[t+4>>2]=a;t=b+1504|0;c[t>>2]=q|r;c[t+4>>2]=s|a;t=b+1512|0;c[t>>2]=0;c[t+4>>2]=0;return}while(0);d=b+1472|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));return}function sf(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=f;c[o>>2]=0;c[o+4>>2]=0;o=c[a+5364>>2]|0;if((e|0)==64&((o|0)==4|(o|0)==2)){e=0;a=0;C=e;return a|0}h=108736+(e<<3)|0;k=a+296|0;g=c[k>>2]|0;k=c[k+4>>2]|0;j=a+288|0;i=108224+(e<<3)|0;p=a+280|0;n=a+256|0;o=a+(e<<2)|0;l=0;m=0;g=((c[p>>2]|g)&c[i>>2]|(c[j>>2]|g)&c[h>>2])&b;h=((c[p+4>>2]|k)&c[i+4>>2]|(c[j+4>>2]|k)&c[h+4>>2])&d;b=0;d=0;a:while(1){do{do{if((g|0)==0&(h|0)==0)break a;i=fb(g|0,h|0,0)|0;j=yu(g|0,h|0,-1,-1)|0;g=j&g;h=C&h;j=33984+(e<<9)+(i<<3)|0;p=n;k=c[p>>2]&c[j>>2];j=c[p+4>>2]&c[j+4>>2];p=yu(k|0,j|0,-1,-1)|0}while(!((p&k|0)==0&(C&j|0)==0));b=k|b;d=j|d;p=a+320+(c[o>>2]>>3<<3)|0}while((c[p>>2]&k|0)==0?(c[p+4>>2]&j|0)==0:0);p=24960+(i<<3)|0;k=l|c[p>>2];p=m|c[p+4>>2];j=f;c[j>>2]=k;c[j+4>>2]=p;l=k;m=p}C=d;return b|0}function tf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+96|0;p=q+64|0;o=q+48|0;j=q+36|0;k=q+24|0;l=q+12|0;m=q;Xj(p,d,ok(d,75,1)|0,-1,d);n=p+12|0;Xj(n,d,0,ok(d,75,1)|0,d);h=p+(e*12|0)|0;d=a[h>>0]|0;if(!(d&1)){g=h+1|0;e=((d&255)>>>1)+(h+1)|0;d=h+1|0}else{d=c[p+(e*12|0)+8>>2]|0;g=d;e=d+(c[p+(e*12|0)+4>>2]|0)|0}if((g|0)!=(e|0))while(1){a[d>>0]=yi(a[g>>0]|0)|0;g=g+1|0;if((g|0)==(e|0))break;else d=d+1|0}h=a[p>>0]|0;g=(h&1)==0;h=g?(h&255)>>>1:c[p+4>>2]|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;rk(m,g?p+1|0:c[p+8>>2]|0,h,h+1|0);jk(m,56-h&255);h=ik(m,14998)|0;c[l>>2]=c[h>>2];c[l+4>>2]=c[h+4>>2];c[l+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;h=a[n>>0]|0;g=(h&1)==0;e=p+16|0;h=hk(l,g?n+1|0:c[p+20>>2]|0,g?(h&255)>>>1:c[e>>2]|0)|0;c[k>>2]=c[h>>2];c[k+4>>2]=c[h+4>>2];c[k+8>>2]=c[h+8>>2];c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;n=a[n>>0]|0;jk(k,56-((n&1)==0?(n&255)>>>1:c[e>>2]|0)&255);c[j>>2]=c[k>>2];c[j+4>>2]=c[k+4>>2];c[j+8>>2]=c[k+8>>2];c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;n=ik(j,15012)|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;Zj(j);Zj(k);Zj(l);Zj(m);b=lf(b,o,0,0,f,0)|0;Zj(o);Zj(p+12|0);Zj(p);i=q;return b|0}function uf(a){a=a|0;var b=0;b=c[a+5356>>2]|0;if((c[a+5364>>2]|0)==4)b=c[b+16+(((c[a+360>>2]|0)==0&1)<<2)>>2]<<1;else b=(c[b+20>>2]|0)+(c[b+16>>2]|0)|0;a=(b|0)>15258?15258:b;return ((((a|0)>3915?a:3915)<<7)+-501120|0)/11343|0|0}function vf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=30400+(b<<3)|0;m=a+320|0;q=a+264|0;k=c[q>>2]|0;q=c[q+4>>2]|0;o=26304+(b<<3)|0;n=a+328|0;i=26816+(b<<3)|0;j=a+272|0;h=22912+(b<<3)|0;g=23424+(b<<3)|0;g=(_(c[h+4>>2]&e,c[g+4>>2]|0)|0)^(_(c[h>>2]&d,c[g>>2]|0)|0);g=(c[1095812+(b<<2)>>2]|0)+(g>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;h=a+288|0;p=a+296|0;f=c[p>>2]|0;p=c[p+4>>2]|0;s=23936+(b<<3)|0;r=24448+(b<<3)|0;e=(_(c[s+4>>2]&e,c[r+4>>2]|0)|0)^(_(c[s>>2]&d,c[r>>2]|0)|0);e=(c[1096324+(b<<2)>>2]|0)+(e>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;d=a+280|0;b=28864+(b<<3)|0;a=a+304|0;C=c[o+4>>2]&q&c[n+4>>2]|c[m+4>>2]&c[l+4>>2]&q|c[j+4>>2]&c[i+4>>2]|(p|c[h+4>>2])&c[g+4>>2]|(c[d+4>>2]|p)&c[e+4>>2]|c[a+4>>2]&c[b+4>>2];return c[o>>2]&k&c[n>>2]|c[m>>2]&c[l>>2]&k|c[j>>2]&c[i>>2]|(f|c[h>>2])&c[g>>2]|(c[d>>2]|f)&c[e>>2]|c[a>>2]&c[b>>2]|0}function wf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,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=c[a+5348>>2]|0;j=(b&131072|0)==0;k=b>>>6&63;q=j?k:64;n=c[a+5364>>2]|0;a:do switch(n|0){case 6:{if(xf(a,b)|0){a=0;return a|0}else d=0;break}case 4:{if(!(c[a+336+((o<<3|6)<<2)>>2]|0)){a=1;return a|0}else d=0;break}case 1:{a=1;return a|0}default:{h=(n|0)==2;if(h){d=o<<3|6;if(!(c[a+336+(d<<2)>>2]|0))m=64;else m=c[a+400+(d<<8)>>2]|0;i=b&63;f=b&180224;g=(f|0)==32768;f=g|((f|0)!=49152?(c[a+(i<<2)>>2]|0)!=0:0);if(f?(A=28864+(i<<3)|0,z=24960+(m<<3)|0,!((c[z>>2]&c[A>>2]|0)==0?(c[z+4>>2]&c[A+4>>2]|0)==0:0)):0){a=0;return a|0}l=o^1;d=l<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;e=28864+(d<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if((c[a+(q<<2)>>2]&7|0)==6){A=24960+(i<<3)|0;if((c[A>>2]&d|0)==0?(c[A+4>>2]&e|0)==0:0){d=h;break a}else d=1;return d|0}A=24960+(m<<3)|0;if(!((c[A>>2]&d|0)==0?(c[A+4>>2]&e|0)==0:0)){a=1;return a|0}if(f){if(g)h=q&120|b&7;else h=i;g=28864+(i<<3)|0;j=a+256|0;f=c[j>>2]|0;j=c[j+4>>2]|0;d=a+264|0;e=(c[d>>2]^f)&c[g>>2];g=(c[d+4>>2]^j)&c[g+4>>2];d=l<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;C=24960+(d<<3)|0;if(!((c[C>>2]&e|0)==0?(c[C+4>>2]&g|0)==0:0)){a=1;return a|0}C=24960+(h<<3)|0;h=24960+(q<<3)|0;i=(c[C>>2]|e|c[h>>2])^f;h=(c[C+4>>2]|g|c[h+4>>2])^j;C=(c[a+5356>>2]|0)+64|0;if(!((c[C>>2]&i|0)==0?(c[C+4>>2]&h|0)==0:0)){a=0;return a|0}e=22912+(m<<3)|0;B=23424+(m<<3)|0;B=(_(c[e+4>>2]&h,c[B+4>>2]|0)|0)^(_(c[e>>2]&i,c[B>>2]|0)|0);B=(c[1095812+(m<<2)>>2]|0)+(B>>>(c[1096068+(m<<2)>>2]|0)<<3)|0;e=a+320+(l<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;g=a+296|0;f=c[g>>2]|0;g=c[g+4>>2]|0;C=a+288|0;if(!((c[B>>2]&i&d&(c[C>>2]|f)|0)==0?(c[B+4>>2]&h&e&(c[C+4>>2]|g)|0)==0:0)){a=0;return a|0}B=23936+(m<<3)|0;C=24448+(m<<3)|0;C=(_(c[B+4>>2]&h,c[C+4>>2]|0)|0)^(_(c[B>>2]&i,c[C>>2]|0)|0);C=(c[1096324+(m<<2)>>2]|0)+(C>>>(c[1096580+(m<<2)>>2]|0)<<3)|0;a=a+280|0;a=(d&i&c[C>>2]&(c[a>>2]|f)|0)==0?(e&h&c[C+4>>2]&(c[a+4>>2]|g)|0)==0:0;return a|0}else d=h}else d=0}}while(0);g=j?b&49152:131072;b:do if((g|0)<131072){switch(g|0){case 32768:break;default:break b}switch(n|0){case 4:{d=o<<3|6;if(!(c[a+336+(d<<2)>>2]|0))j=64;else p=28;break}case 2:{d=o<<3|6;if(!(c[a+336+(d<<2)>>2]|0))j=64;else p=28;break}case 1:{j=64;break}default:{d=o<<3|6;p=28}}if((p|0)==28)j=c[a+400+(d<<8)>>2]|0;d=b&63;e=a+256|0;B=24960+(q<<3)|0;i=24960+(d-((o|0)==0?8:-8)<<3)|0;d=24960+(d<<3)|0;h=c[d>>2]|c[B>>2]^c[e>>2]^c[i>>2];i=c[d+4>>2]|c[B+4>>2]^c[e+4>>2]^c[i+4>>2];e=22912+(j<<3)|0;B=23424+(j<<3)|0;B=(_(c[e+4>>2]&i,c[B+4>>2]|0)|0)^(_(c[e>>2]&h,c[B>>2]|0)|0);B=(c[1095812+(j<<2)>>2]|0)+(B>>>(c[1096068+(j<<2)>>2]|0)<<3)|0;e=a+320+((o^1)<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;g=a+296|0;f=c[g>>2]|0;g=c[g+4>>2]|0;C=a+288|0;if(!((d&c[B>>2]&(c[C>>2]|f)|0)==0?(e&c[B+4>>2]&(c[C+4>>2]|g)|0)==0:0)){a=0;return a|0}B=23936+(j<<3)|0;C=24448+(j<<3)|0;C=(_(c[B+4>>2]&i,c[C+4>>2]|0)|0)^(_(c[B>>2]&h,c[C>>2]|0)|0);C=(c[1096324+(j<<2)>>2]|0)+(C>>>(c[1096580+(j<<2)>>2]|0)<<3)|0;a=a+280|0;a=(c[C>>2]&d&(c[a>>2]|f)|0)==0?(c[C+4>>2]&e&(c[a+4>>2]|g)|0)==0:0;return a|0}else{switch(g|0){case 131072:break;default:break b}if(j)d=c[a+(k<<2)>>2]|0;else d=b>>>18&15;if(!(c[a+4496+(o<<5)+((d&7)<<2)>>2]|0)){a=0;return a|0}a=(c[a+((b&63)<<2)>>2]|0)==0;return a|0}while(0);f=c[a+(q<<2)>>2]|0;if(d?!((g|0)==49152|(f&7|0)!=6):0){y=o^1;d=y<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;x=b&63;e=28864+(d<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;A=24960+(q<<3)|0;z=c[A>>2]|0;A=c[A+4>>2]|0;if(!((z&d|0)==0&(A&e|0)==0)?(C=24960+(x<<3)|0,B=c[C>>2]|0,C=c[C+4>>2]|0,(B&d|0)==0&(C&e|0)==0):0){h=a+256|0;d=c[h>>2]|0;h=c[h+4>>2]|0;I=30400+(x<<3)|0;J=a+320|0;H=a+264|0;N=c[H>>2]|0;H=c[H+4>>2]|0;L=26304+(x<<3)|0;K=a+328|0;F=26816+(x<<3)|0;G=a+272|0;M=c[G>>2]|0;G=c[G+4>>2]|0;j=22912+(x<<3)|0;i=c[j>>2]|0;j=c[j+4>>2]|0;l=23424+(x<<3)|0;k=c[l>>2]|0;l=c[l+4>>2]|0;E=(_(j&h,l)|0)^(_(i&d,k)|0);m=c[1096068+(x<<2)>>2]|0;n=c[1095812+(x<<2)>>2]|0;E=n+(E>>>m<<3)|0;o=a+288|0;w=a+296|0;v=c[w>>2]|0;w=c[w+4>>2]|0;b=v|c[o>>2];o=w|c[o+4>>2];q=23936+(x<<3)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;s=24448+(x<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;D=(_(q&h,s)|0)^(_(p&d,r)|0);t=c[1096580+(x<<2)>>2]|0;u=c[1096324+(x<<2)>>2]|0;D=u+(D>>>t<<3)|0;e=a+280|0;v=c[e>>2]|v;w=c[e+4>>2]|w;x=28864+(x<<3)|0;e=a+304|0;g=a+320+(y<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if(!((f&(M|N)&(c[L>>2]&N&c[K>>2]|c[J>>2]&c[I>>2]&N|M&c[F>>2]|b&c[E>>2]|v&c[D>>2]|c[e>>2]&c[x>>2])|0)==0?(g&(G|H)&(c[L+4>>2]&H&c[K+4>>2]|c[J+4>>2]&c[I+4>>2]&H|G&c[F+4>>2]|o&c[E+4>>2]|w&c[D+4>>2]|c[e+4>>2]&c[x+4>>2])|0)==0:0)){N=0;return N|0}e=d^z|B;d=h^A|C;N=n+(((_(j&d,l)|0)^(_(i&e,k)|0))>>>m<<3)|0;if(!((f&b&c[N>>2]|0)==0?(g&o&c[N+4>>2]|0)==0:0)){N=0;return N|0}N=u+(((_(q&d,s)|0)^(_(p&e,r)|0))>>>t<<3)|0;N=(f&v&c[N>>2]|0)==0?(g&w&c[N+4>>2]|0)==0:0;return N|0}}if((f&7|0)==6){if((g|0)==49152){N=1;return N|0}M=b&63;N=a+256|0;I=c[N>>2]|0;N=c[N+4>>2]|0;C=30400+(M<<3)|0;B=a+320|0;D=a+264|0;x=c[D>>2]|0;D=c[D+4>>2]|0;z=26304+(M<<3)|0;A=a+328|0;F=26816+(M<<3)|0;E=a+272|0;G=22912+(M<<3)|0;H=23424+(M<<3)|0;H=(_(c[G+4>>2]&N,c[H+4>>2]|0)|0)^(_(c[G>>2]&I,c[H>>2]|0)|0);H=(c[1095812+(M<<2)>>2]|0)+(H>>>(c[1096068+(M<<2)>>2]|0)<<3)|0;G=a+288|0;J=a+296|0;y=c[J>>2]|0;J=c[J+4>>2]|0;L=23936+(M<<3)|0;K=24448+(M<<3)|0;K=(_(c[L+4>>2]&N,c[K+4>>2]|0)|0)^(_(c[L>>2]&I,c[K>>2]|0)|0);K=(c[1096324+(M<<2)>>2]|0)+(K>>>(c[1096580+(M<<2)>>2]|0)<<3)|0;I=a+280|0;M=28864+(M<<3)|0;L=a+304|0;N=a+320+((o^1)<<3)|0;N=((c[z>>2]&x&c[A>>2]|c[B>>2]&c[C>>2]&x|c[E>>2]&c[F>>2]|(y|c[G>>2])&c[H>>2]|(c[I>>2]|y)&c[K>>2]|c[L>>2]&c[M>>2])&c[N>>2]|0)==0?((c[z+4>>2]&D&c[A+4>>2]|c[B+4>>2]&c[C+4>>2]&D|c[E+4>>2]&c[F+4>>2]|(J|c[G+4>>2])&c[H+4>>2]|(c[I+4>>2]|J)&c[K+4>>2]|c[L+4>>2]&c[M+4>>2])&c[N+4>>2]|0)==0:0;return N|0}M=(c[a+5356>>2]|0)+344+(o<<3)|0;L=a+320+(o<<3)|0;N=24960+(q<<3)|0;if((c[L>>2]&c[M>>2]&c[N>>2]|0)==0?(c[L+4>>2]&c[M+4>>2]&c[N+4>>2]|0)==0:0){N=1;return N|0}e=b&63;switch(n|0){case 4:{d=o<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else p=53;break}case 2:{d=o<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else p=53;break}case 1:{d=64;break}default:{d=o<<3|6;p=53}}if((p|0)==53)d=c[a+400+(d<<8)>>2]|0;N=66752+(q<<9)+(e<<3)|0;M=24960+(d<<3)|0;N=c[M>>2]&c[N>>2]|0?1:(c[M+4>>2]&c[N+4>>2]|0)!=0;return N|0}function xf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;D=(b&131072|0)==0;o=D?b>>>6&63:64;n=b&63;g=b&49152;if(!D){a=(c[a+5356>>2]|0)+1464+((b>>>18&7)<<3)|0;D=24960+(n<<3)|0;a=c[D>>2]&c[a>>2]|0?1:(c[D+4>>2]&c[a+4>>2]|0)!=0;return a|0}q=c[a+5364>>2]|0;switch(q|0){case 4:{if(!(c[a+336+((c[a+5348>>2]<<3^14)<<2)>>2]|0)){a=0;return a|0}else r=5;break}case 2:{D=c[a+5348>>2]|0;d=D<<3^14;if(!(c[a+336+(d<<2)>>2]|0)){a=0;return a|0}i=c[a+400+(d<<8)>>2]|0;if((i|0)==64){a=0;return a|0}d=c[a+(o<<2)>>2]|0;B=28864+(i<<3)|0;A=c[B>>2]|0;B=c[B+4>>2]|0;if((d&7|0)==6){y=24960+(n<<3)|0;e=c[y>>2]|0;y=c[y+4>>2]|0;if(!((e&A|0)==0&(y&B|0)==0)){a=0;return a|0}z=24960+(o<<3)|0;x=c[z>>2]|0;z=c[z+4>>2]|0;if(!((x&A|0)==0&(z&B|0)==0)){j=a+256|0;d=c[j>>2]|0;j=c[j+4>>2]|0;K=30400+(i<<3)|0;L=a+320|0;J=a+264|0;P=c[J>>2]|0;J=c[J+4>>2]|0;N=26304+(i<<3)|0;M=a+328|0;H=26816+(i<<3)|0;I=a+272|0;O=c[I>>2]|0;I=c[I+4>>2]|0;l=22912+(i<<3)|0;k=c[l>>2]|0;l=c[l+4>>2]|0;n=23424+(i<<3)|0;m=c[n>>2]|0;n=c[n+4>>2]|0;G=(_(l&j,n)|0)^(_(k&d,m)|0);o=c[1096068+(i<<2)>>2]|0;p=c[1095812+(i<<2)>>2]|0;G=p+(G>>>o<<3)|0;r=a+288|0;E=a+296|0;h=c[E>>2]|0;E=c[E+4>>2]|0;q=h|c[r>>2];r=E|c[r+4>>2];t=23936+(i<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;v=24448+(i<<3)|0;u=c[v>>2]|0;v=c[v+4>>2]|0;F=(_(t&j,v)|0)^(_(s&d,u)|0);w=c[1096580+(i<<2)>>2]|0;b=c[1096324+(i<<2)>>2]|0;F=b+(F>>>w<<3)|0;i=a+280|0;h=c[i>>2]|h;i=c[i+4>>2]|E;E=a+304|0;g=a+320+(D<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if(!((f&(O|P)&(c[N>>2]&P&c[M>>2]|c[L>>2]&c[K>>2]&P|O&c[H>>2]|q&c[G>>2]|h&c[F>>2]|c[E>>2]&A)|0)==0?(g&(I|J)&(c[N+4>>2]&J&c[M+4>>2]|c[L+4>>2]&c[K+4>>2]&J|I&c[H+4>>2]|r&c[G+4>>2]|i&c[F+4>>2]|c[E+4>>2]&B)|0)==0:0)){P=1;return P|0}e=d^x|e;d=j^z|y;P=p+(((_(l&d,n)|0)^(_(k&e,m)|0))>>>o<<3)|0;if(!((f&q&c[P>>2]|0)==0?(g&r&c[P+4>>2]|0)==0:0)){P=1;return P|0}P=b+(((_(t&d,v)|0)^(_(s&e,u)|0))>>>w<<3)|0;P=f&h&c[P>>2]|0?1:(g&i&c[P+4>>2]|0)!=0;return P|0}}else{e=D<<3|6;if(!(c[a+336+(e<<2)>>2]|0))e=64;else e=c[a+400+(e<<8)>>2]|0;P=24960+(e<<3)|0;if(!((c[P>>2]&A|0)==0?(c[P+4>>2]&B|0)==0:0)){P=0;return P|0}}P=b&180224;if((P|0)==32768|((P|0)!=49152?(c[a+(n<<2)>>2]|0)!=0:0)){if((g|0)==32768)b=o&120|b&7;else b=n;g=28864+(n<<3)|0;f=a+256|0;d=c[f>>2]|0;f=c[f+4>>2]|0;P=a+264|0;e=(c[P>>2]^d)&c[g>>2];g=(c[P+4>>2]^f)&c[g+4>>2];P=24960+(i<<3)|0;if(!((e&c[P>>2]|0)==0?(g&c[P+4>>2]|0)==0:0)){P=0;return P|0}O=24960+(b<<3)|0;b=24960+(o<<3)|0;h=(c[O>>2]|e|c[b>>2])^d;b=(c[O+4>>2]|g|c[b+4>>2])^f;e=22912+(i<<3)|0;O=23424+(i<<3)|0;O=(_(b&c[e+4>>2],c[O+4>>2]|0)|0)^(_(h&c[e>>2],c[O>>2]|0)|0);O=(c[1095812+(i<<2)>>2]|0)+(O>>>(c[1096068+(i<<2)>>2]|0)<<3)|0;e=a+320+(D<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;g=a+296|0;f=c[g>>2]|0;g=c[g+4>>2]|0;P=a+288|0;if(!((c[O>>2]&h&d&(c[P>>2]|f)|0)==0?(c[O+4>>2]&b&e&(c[P+4>>2]|g)|0)==0:0)){P=1;return P|0}P=23936+(i<<3)|0;O=24448+(i<<3)|0;O=(_(c[P+4>>2]&b,c[O+4>>2]|0)|0)^(_(c[P>>2]&h,c[O>>2]|0)|0);O=(c[1096324+(i<<2)>>2]|0)+(O>>>(c[1096580+(i<<2)>>2]|0)<<3)|0;P=a+280|0;P=d&h&c[O>>2]&(c[P>>2]|f)|0?1:(e&b&c[O+4>>2]&(c[P+4>>2]|g)|0)!=0;return P|0}break}case 1:{P=0;return P|0}default:r=5}if((r|0)==5)d=c[a+(o<<2)>>2]|0;e=c[a+5356>>2]|0;P=e+1464+((d&7)<<3)|0;j=24960+(n<<3)|0;h=c[j>>2]|0;j=c[j+4>>2]|0;if(!((h&c[P>>2]|0)==0?(j&c[P+4>>2]|0)==0:0)){P=1;return P|0}f=c[a+5348>>2]|0;p=f^1;P=e+344+(p<<3)|0;m=a+320+(f<<3)|0;l=c[m>>2]|0;m=c[m+4>>2]|0;k=24960+(o<<3)|0;i=c[k>>2]|0;k=c[k+4>>2]|0;if(!((l&c[P>>2]&i|0)==0?(m&c[P+4>>2]&k|0)==0:0)){switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=29;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=29;break}case 1:{d=64;break}default:{d=p<<3|6;r=29}}if((r|0)==29)d=c[a+400+(d<<8)>>2]|0;P=66752+(o<<9)+(n<<3)|0;O=24960+(d<<3)|0;if((c[O>>2]&c[P>>2]|0)==0?(c[O+4>>2]&c[P+4>>2]|0)==0:0){P=1;return P|0}}if((g|0)<32768){switch(g|0){case 16384:break;default:{P=0;return P|0}}if(!(b&65536))d=(b>>>12&3)+2|0;else d=6;e=a+256|0;e=_b(d,n,i^c[e>>2],k^c[e+4>>2])|0;f=C;switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=38;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=38;break}case 1:{d=64;break}default:{d=p<<3|6;r=38}}if((r|0)==38)d=c[a+400+(d<<8)>>2]|0;P=24960+(d<<3)|0;P=c[P>>2]&e|0?1:(c[P+4>>2]&f|0)!=0;return P|0}if((g|0)<49152){switch(g|0){case 32768:break;default:{P=0;return P|0}}O=a+256|0;P=24960+((o&120|b&7)<<3)|0;i=h|i^c[O>>2]^c[P>>2];h=j|k^c[O+4>>2]^c[P+4>>2];switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=44;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=44;break}case 1:{d=64;break}default:{d=p<<3|6;r=44}}if((r|0)==44)d=c[a+400+(d<<8)>>2]|0;f=22912+(d<<3)|0;P=23424+(d<<3)|0;P=(_(c[f+4>>2]&h,c[P+4>>2]|0)|0)^(_(c[f>>2]&i,c[P>>2]|0)|0);P=(c[1095812+(d<<2)>>2]|0)+(P>>>(c[1096068+(d<<2)>>2]|0)<<3)|0;f=a+296|0;e=c[f>>2]|0;f=c[f+4>>2]|0;b=a+288|0;g=l&c[P>>2]&(c[b>>2]|e);b=m&c[P+4>>2]&(c[b+4>>2]|f);switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=49;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=49;break}case 1:{d=64;break}default:{d=p<<3|6;r=49}}if((r|0)==49)d=c[a+400+(d<<8)>>2]|0;P=23936+(d<<3)|0;O=24448+(d<<3)|0;O=(_(c[P+4>>2]&h,c[O+4>>2]|0)|0)^(_(c[P>>2]&i,c[O>>2]|0)|0);O=(c[1096324+(d<<2)>>2]|0)+(O>>>(c[1096580+(d<<2)>>2]|0)<<3)|0;P=a+280|0;P=l&c[O>>2]&(c[P>>2]|e)|g|0?1:(m&c[O+4>>2]&(c[P+4>>2]|f)|b|0)!=0;return P|0}switch(g|0){case 49152:break;default:{P=0;return P|0}}b=n>>>0>o>>>0;f=f*56|0;e=f|(b?6:2);f=f|(b?5:3);b=108736+(f<<3)|0;g=c[b>>2]|0;b=c[b+4>>2]|0;switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=55;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=55;break}case 1:{d=64;break}default:{d=p<<3|6;r=55}}if((r|0)==55)d=c[a+400+(d<<8)>>2]|0;P=24960+(d<<3)|0;if((c[P>>2]&g|0)==0?(c[P+4>>2]&b|0)==0:0){P=0;return P|0}O=a+256|0;N=24960+(f<<3)|0;P=24960+(e<<3)|0;M=22912+(f<<3)|0;e=23424+(f<<3)|0;e=(_(c[M+4>>2]&(c[N+4>>2]|k^c[O+4>>2]^j|c[P+4>>2]),c[e+4>>2]|0)|0)^(_(c[M>>2]&(c[N>>2]|i^c[O>>2]^h|c[P>>2]),c[e>>2]|0)|0);f=(c[1095812+(f<<2)>>2]|0)+(e>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;switch(q|0){case 4:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=61;break}case 2:{d=p<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else r=61;break}case 1:{d=64;break}default:{d=p<<3|6;r=61}}if((r|0)==61)d=c[a+400+(d<<8)>>2]|0;P=24960+(d<<3)|0;P=c[P>>2]&e|0?1:(c[P+4>>2]&f|0)!=0;return P|0}function yf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0;v=i;i=i+4112|0;d=v;u=c[a+5348>>2]|0;p=(b&131072|0)==0;e=b>>>6&63;r=p?e:64;t=b&63;if(p)q=c[a+(e<<2)>>2]|0;else q=b>>>18&15;s=c[a+5364>>2]|0;switch(s|0){case 5:{o=c[a+400+((u<<3|6)<<8)>>2]|0;if(((o>>3)+-3|0)>>>0<2?((o&7)+-3|0)>>>0<2:0){a=0;i=v;return a|0}o=c[a+400+((u<<3^14)<<8)>>2]|0;if(((o>>3)+-3|0)>>>0<2?((o&7)+-3|0)>>>0<2:0){a=0;i=v;return a|0}switch(s|0){case 6:{l=10;break}case 4:{l=16;break}case 1:{l=17;break}default:l=19}break}case 6:{l=10;break}case 4:{l=16;break}case 1:{l=17;break}default:l=19}if((l|0)==10){e=u<<3;f=c[a+400+((e|6)<<8)>>2]|0;if((f&-8|0)==56){if((c[a+400+((e^14)<<8)>>2]&-8|0)==56){a=0;i=v;return a|0}if((c[a+400+((u<<3^14)<<8)>>2]>>3|0)<7){a=0;i=v;return a|0}}if((c[a+400+((u<<3^14)<<8)>>2]&-8|0)==56?(f>>3|0)<(((u|0)==0?7:6)|0):0){a=0;i=v;return a|0}switch(s|0){case 4:{l=16;break}case 1:{l=17;break}default:l=19}}if((l|0)==16)if(!(c[a+336+(((c[a+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){a=0;i=v;return a|0}else{k=0;l=39}else if((l|0)==17){e=u<<3;if(!(c[a+336+(e<<2)>>2]|0)){a=0;i=v;return a|0}if(!(c[a+336+((e^8)<<2)>>2]|0)){a=0;i=v;return a|0}else{k=0;l=39}}else if((l|0)==19){o=(s|0)==2;if(o){e=u<<3;if(!(c[a+336+((e^14)<<2)>>2]|0)){a=0;i=v;return a|0}e=e|6;if(!((q>>3|0)==(u|0)&(q|0?(c[a+336+(e<<2)>>2]|0)!=0:0))){a=0;i=v;return a|0}n=b&180224;h=(n|0)==32768;if(h|((n|0)!=49152?(c[a+(t<<2)>>2]|0)!=0:0)){g=q&7;if((g|0)==6){a=0;i=v;return a|0}n=c[a+400+(e<<8)>>2]|0;m=a+320+(u<<3)|0;f=24960+(t<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((e&c[m>>2]|0)==0?(f&c[m+4>>2]|0)==0:0)){a=0;i=v;return a|0}m=28864+(n<<3)|0;if(!((c[m>>2]&e|0)==0?(c[m+4>>2]&f|0)==0:0)){a=0;i=v;return a|0}m=u^1;e=m<<3|6;if(!(c[a+336+(e<<2)>>2]|0))e=64;else e=c[a+400+(e<<8)>>2]|0;l=28864+(e<<3)|0;k=24960+(n<<3)|0;if((c[k>>2]&c[l>>2]|0)==0?(c[k+4>>2]&c[l+4>>2]|0)==0:0){if((g|0)==1?((r^b)&7|0)==0:0){a=0;i=v;return a|0}if(h)h=r&120|b&7;else h=t;k=28864+(t<<3)|0;j=a+256|0;f=c[j>>2]|0;j=c[j+4>>2]|0;e=a+264|0;g=(c[e>>2]^f)&c[k>>2];k=(c[e+4>>2]^j)&c[k+4>>2];e=m<<3|6;if(!(c[a+336+(e<<2)>>2]|0))e=64;else e=c[a+400+(e<<8)>>2]|0;l=24960+(e<<3)|0;if(!((c[l>>2]&g|0)==0?(c[l+4>>2]&k|0)==0:0)){a=1;i=v;return a|0}e=24960+(h<<3)|0;h=24960+(r<<3)|0;l=(c[e>>2]|g|c[h>>2])^f;j=(c[e+4>>2]|k|c[h+4>>2])^j;k=(c[a+5356>>2]|0)+64|0;if(!((c[k>>2]&l|0)==0?(c[k+4>>2]&j|0)==0:0)){a=0;i=v;return a|0}f=22912+(n<<3)|0;k=23424+(n<<3)|0;k=(_(c[f+4>>2]&j,c[k+4>>2]|0)|0)^(_(c[f>>2]&l,c[k>>2]|0)|0);k=(c[1095812+(n<<2)>>2]|0)+(k>>>(c[1096068+(n<<2)>>2]|0)<<3)|0;f=a+320+(m<<3)|0;e=c[f>>2]|0;f=c[f+4>>2]|0;h=a+296|0;g=c[h>>2]|0;h=c[h+4>>2]|0;m=a+288|0;if(!((c[k>>2]&l&e&(c[m>>2]|g)|0)==0?(c[k+4>>2]&j&f&(c[m+4>>2]|h)|0)==0:0)){a=0;i=v;return a|0}k=23936+(n<<3)|0;m=24448+(n<<3)|0;m=(_(c[k+4>>2]&j,c[m+4>>2]|0)|0)^(_(c[k>>2]&l,c[m>>2]|0)|0);m=(c[1096324+(n<<2)>>2]|0)+(m>>>(c[1096580+(n<<2)>>2]|0)<<3)|0;n=a+280|0;if(!((e&l&c[m>>2]&(c[n>>2]|g)|0)==0?(f&j&c[m+4>>2]&(c[n+4>>2]|h)|0)==0:0)){a=0;i=v;return a|0}else{k=o;l=39}}else{k=o;l=39}}else f=1}else{k=0;l=39}}a:do if((l|0)==39)if((s|0)==1?(o=b&180224,!((o|0)==32768|((o|0)!=49152?(c[a+(t<<2)>>2]|0)!=0:0))):0){e=c[(c[a+5356>>2]|0)+48>>2]|0;if((e|0)!=64){f=a+256|0;m=f;w=c[m>>2]|0;m=c[m+4>>2]|0;B=30400+(e<<3)|0;D=a+320|0;o=a+264|0;G=c[o>>2]|0;o=c[o+4>>2]|0;F=26304+(e<<3)|0;E=a+328|0;z=26816+(e<<3)|0;A=a+272|0;y=22912+(e<<3)|0;x=23424+(e<<3)|0;x=(_(c[y+4>>2]&m,c[x+4>>2]|0)|0)^(_(c[y>>2]&w,c[x>>2]|0)|0);x=(c[1095812+(e<<2)>>2]|0)+(x>>>(c[1096068+(e<<2)>>2]|0)<<3)|0;y=a+288|0;h=a+296|0;H=c[h>>2]|0;h=c[h+4>>2]|0;n=23936+(e<<3)|0;j=24448+(e<<3)|0;j=(_(c[n+4>>2]&m,c[j+4>>2]|0)|0)^(_(c[n>>2]&w,c[j>>2]|0)|0);j=(c[1096324+(e<<2)>>2]|0)+(j>>>(c[1096580+(e<<2)>>2]|0)<<3)|0;w=a+280|0;n=28864+(e<<3)|0;m=a+304|0;g=a+320+(u<<3)|0;e=c[g>>2]|0;g=c[g+4>>2]|0;if(!(((c[F>>2]&G&c[E>>2]|c[D>>2]&c[B>>2]&G|c[A>>2]&c[z>>2]|(H|c[y>>2])&c[x>>2]|(c[w>>2]|H)&c[j>>2]|c[m>>2]&c[n>>2])&G&e|0)==0?((c[F+4>>2]&o&c[E+4>>2]|c[D+4>>2]&c[B+4>>2]&o|c[A+4>>2]&c[z+4>>2]|(h|c[y+4>>2])&c[x+4>>2]|(c[w+4>>2]|h)&c[j+4>>2]|c[m+4>>2]&c[n+4>>2])&o&g|0)==0:0)){H=0;i=v;return H|0}}else{g=a+320+(u<<3)|0;f=a+256|0;e=c[g>>2]|0;g=c[g+4>>2]|0}j=a+320+((u^1)<<3)|0;while(1){if((e|0)==0&(g|0)==0){f=k;break a}H=fb(e|0,g|0,0)|0;h=yu(e|0,g|0,-1,-1)|0;g=C&g;G=f;G=_b(c[a+(H<<2)>>2]|0,H,c[G>>2]|0,c[G+4>>2]|0)|0;H=j;if(!((c[H>>2]&G|0)==0?(c[H+4>>2]&C|0)==0:0)){d=0;break}else e=h&e}i=v;return d|0}else f=k;while(0);e=p?b&49152:131072;if((e|0)<131072)switch(e|0){case 0:break;default:l=48}else switch(e|0){case 131072:break;default:l=48}if((l|0)==48){e=Qe(a,d)|0;c[d+4096>>2]=e;if((d|0)==(e|0)){H=0;i=v;return H|0}while(1){if((c[d>>2]|0)==(b|0)){d=1;l=86;break}d=d+8|0;if((d|0)==(e|0)){d=0;l=86;break}}if((l|0)==86){i=v;return d|0}}if(b&65536|0){H=0;i=v;return H|0}if(!((b&12288|0)==0&(q|0)!=0&(q>>3|0)==(u|0))){H=0;i=v;return H|0}d=(e|0)==131072;if(d){if(!(c[a+4496+(u<<5)+((q&7)<<2)>>2]|0)){H=0;i=v;return H|0}if(c[a+(t<<2)>>2]|0){H=0;i=v;return H|0}}H=a+320+(u<<3)|0;j=24960+(t<<3)|0;h=c[j>>2]|0;j=c[j+4>>2]|0;if(!((h&c[H>>2]|0)==0?(j&c[H+4>>2]|0)==0:0)){H=0;i=v;return H|0}do if(!d){if((q&7|0)!=1){H=a+256|0;H=_b(q,r,c[H>>2]|0,c[H+4>>2]|0)|0;if((H&h|0)==0&(C&j|0)==0)d=0;else break;i=v;return d|0}d=u*7|0;if((t>>>3|0)==(d^7|0)){H=0;i=v;return H|0}G=25792+((u<<3|1)<<9)+(r<<3)|0;H=a+320+((u^1)<<3)|0;if((c[G>>2]&h&c[H>>2]|0)==0?(c[G+4>>2]&j&c[H+4>>2]|0)==0:0){e=(u|0)==0?8:-8;if((e+r|0)==(t|0)?(c[a+(t<<2)>>2]|0)==0:0)break;if(((e<<1)+r|0)!=(t|0)){H=0;i=v;return H|0}if((r>>>3|0)!=(d^1|0)){H=0;i=v;return H|0}if(c[a+(t<<2)>>2]|0){H=0;i=v;return H|0}if(c[a+(t-e<<2)>>2]|0){H=0;i=v;return H|0}}}while(0);if(f){e=u<<3;d=e^14;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0;g=28864+(d<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((q&7|0)!=6){d=e|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else d=c[a+400+(d<<8)>>2]|0}else d=t;H=24960+(d<<3)|0;if(!((c[H>>2]&f|0)==0?(c[H+4>>2]&g|0)==0:0)){H=1;i=v;return H|0}}g=(c[a+5356>>2]|0)+64|0;f=c[g>>2]|0;g=c[g+4>>2]|0;do if(!((f|0)==0&(g|0)==0)){if((q&7|0)==6){F=a+256|0;s=24960+(r<<3)|0;B=c[s>>2]^c[F>>2];F=c[s+4>>2]^c[F+4>>2];s=30400+(t<<3)|0;r=a+320|0;w=a+264|0;o=c[w>>2]|0;w=c[w+4>>2]|0;b=26304+(t<<3)|0;q=a+328|0;y=26816+(t<<3)|0;x=a+272|0;z=22912+(t<<3)|0;A=23424+(t<<3)|0;A=(_(c[z+4>>2]&F,c[A+4>>2]|0)|0)^(_(c[z>>2]&B,c[A>>2]|0)|0);A=(c[1095812+(t<<2)>>2]|0)+(A>>>(c[1096068+(t<<2)>>2]|0)<<3)|0;z=a+288|0;D=a+296|0;p=c[D>>2]|0;D=c[D+4>>2]|0;G=23936+(t<<3)|0;E=24448+(t<<3)|0;E=(_(c[G+4>>2]&F,c[E+4>>2]|0)|0)^(_(c[G>>2]&B,c[E>>2]|0)|0);E=(c[1096324+(t<<2)>>2]|0)+(E>>>(c[1096580+(t<<2)>>2]|0)<<3)|0;B=a+280|0;G=28864+(t<<3)|0;F=a+304|0;H=a+320+((u^1)<<3)|0;if(((c[b>>2]&o&c[q>>2]|c[r>>2]&c[s>>2]&o|c[x>>2]&c[y>>2]|(p|c[z>>2])&c[A>>2]|(c[B>>2]|p)&c[E>>2]|c[F>>2]&c[G>>2])&c[H>>2]|0)==0?((c[b+4>>2]&w&c[q+4>>2]|c[r+4>>2]&c[s+4>>2]&w|c[x+4>>2]&c[y+4>>2]|(D|c[z+4>>2])&c[A+4>>2]|(c[B+4>>2]|D)&c[E+4>>2]|c[F+4>>2]&c[G+4>>2])&c[H+4>>2]|0)==0:0)break;else d=0;i=v;return d|0}H=yu(f|0,g|0,-1,-1)|0;if(!((H&f|0)==0&(C&g|0)==0)){H=0;i=v;return H|0}e=fb(f|0,g|0,0)|0;switch(s|0){case 4:{d=u<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else l=82;break}case 2:{d=u<<3|6;if(!(c[a+336+(d<<2)>>2]|0))d=64;else l=82;break}case 1:{d=64;break}default:{d=u<<3|6;l=82}}if((l|0)==82)d=c[a+400+(d<<8)>>2]|0;H=33984+(e<<9)+(d<<3)|0;if((h&(f|c[H>>2])|0)==0?(j&(g|c[H+4>>2])|0)==0:0){H=0;i=v;return H|0}}while(0);H=1;i=v;return H|0}function zf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;L=i;i=i+16|0;K=L+8|0;k=L+4|0;l=L;E=b+5336|0;h=E;h=yu(c[h>>2]|0,c[h+4>>2]|0,1,0)|0;c[E>>2]=h;c[E+4>>2]=C;E=b+5356|0;h=c[E>>2]|0;r=h+56|0;g=1046368;p=c[g>>2]^c[r>>2];r=c[g+4>>2]^c[r+4>>2];g=e;j=g+56|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(j|0));c[e+336>>2]=c[E>>2];c[E>>2]=e;J=b+5344|0;c[J>>2]=(c[J>>2]|0)+1;J=e+28|0;c[J>>2]=(c[J>>2]|0)+1;J=e+32|0;c[J>>2]=(c[J>>2]|0)+1;J=b+5348|0;G=c[J>>2]|0;F=G^1;B=(d&131072|0)==0;I=B?d>>>6&63:64;n=d&63;c[K>>2]=n;B=B?d&49152:131072;H=(B|0)==131072;do if(!H){m=c[b+(I<<2)>>2]|0;if((B|0)==32768){h=1;t=m;x=F<<3|1;D=9;break}g=c[b+(n<<2)>>2]|0;if((B|0)==49152){Af(b,G,I,K,k,l);e=c[E>>2]|0;o=e+44|0;h=c[l>>2]|0;l=b+5364|0;j=c[l>>2]|0;k=c[k>>2]|0;c[o>>2]=(c[1099544+(j*4160|0)+(g*260|0)+(h<<2)>>2]|0)-(c[1099544+(j*4160|0)+(g*260|0)+(k<<2)>>2]|0)+(c[o>>2]|0);k=972448+(j<<13)+(g<<9)+(k<<3)|0;h=972448+(j<<13)+(g<<9)+(h<<3)|0;o=0;n=1;g=c[k>>2]^p^c[h>>2];h=c[k+4>>2]^r^c[h+4>>2];k=l;l=m;m=0;D=37}else{l=m;D=7}}else{l=d>>>18&15;g=c[b+(n<<2)>>2]|0;D=7}while(0);if((D|0)==7)if(!g){j=b+5364|0;k=j;g=p;h=r;o=0;j=c[j>>2]|0;m=0;D=35}else{h=0;t=l;x=g;D=9}if((D|0)==9){j=x&7;if((j|0)==1){if(h){h=n-((G|0)==0?8:-8)|0;c[b+(h<<2)>>2]=0;g=c[E>>2]|0}else{g=e;h=n}k=b+5364|0;m=972448+(c[k>>2]<<13)+(x<<9)+(h<<3)|0;l=g;s=c[l+4>>2]^c[m+4>>2];u=g;c[u>>2]=c[l>>2]^c[m>>2];c[u+4>>2]=s;u=h}else{k=e+16+(F<<2)|0;c[k>>2]=(c[k>>2]|0)-(c[4708+(x<<2)>>2]|0);k=b+5364|0;u=n}s=b+256|0;e=24960+(u<<3)|0;m=e;h=s;l=c[h+4>>2]^c[m+4>>2];g=s;c[g>>2]=c[h>>2]^c[m>>2];c[g+4>>2]=l;g=b+256+(j<<3)|0;j=e;l=g;m=c[l+4>>2]^c[j+4>>2];c[g>>2]=c[l>>2]^c[j>>2];c[g+4>>2]=m;g=x>>3;m=b+320+(g<<3)|0;j=m;l=c[j+4>>2]^c[e+4>>2];c[m>>2]=c[j>>2]^c[e>>2];c[m+4>>2]=l;if((c[k>>2]|0)==2)c[b+(u<<2)>>2]=0;l=b+336+(x<<2)|0;m=(c[l>>2]|0)+-1|0;c[l>>2]=m;m=c[b+400+(x<<8)+(m<<2)>>2]|0;h=c[b+4568+(u<<2)>>2]|0;c[b+4568+(m<<2)>>2]=h;c[b+400+(x<<8)+(h<<2)>>2]=m;c[b+400+(x<<8)+(c[l>>2]<<2)>>2]=64;g=g<<3;h=b+336+(g<<2)|0;c[h>>2]=(c[h>>2]|0)+-1;h=c[k>>2]|0;if((h|0)==3){N=b+4560|0;e=N;O=24960+(n<<3)|0;m=c[O>>2]|0;O=c[O+4>>2]|0;M=m&c[e>>2];e=O&c[e+4>>2];a[(c[E>>2]|0)+332>>0]=((M|0)!=0|(e|0)!=0)&1;e=(M|0)==0&(e|0)==0?x:g|1;g=e^8;e=b+4496+(g>>3<<5)+((e&7)<<2)|0;M=c[e>>2]|0;h=M+1|0;c[e>>2]=h;e=c[E>>2]|0;P=e+44|0;j=c[k>>2]|0;c[P>>2]=(c[P>>2]|0)+(c[1099544+(j*4160|0)+(g*260|0)+256>>2]|0);M=1046376+(g*136|0)+(M<<3)|0;h=1046376+(g*136|0)+(h<<3)|0;g=c[M>>2]^p^c[h>>2];h=c[M+4>>2]^r^c[h+4>>2];M=N;p=c[M+4>>2]&~O;r=N;c[r>>2]=c[M>>2]&~m;c[r+4>>2]=p}else{j=h;g=p;h=r;e=c[E>>2]|0}N=972448+(j<<13)+(x<<9)+(u<<3)|0;g=c[N>>2]^g;h=c[N+4>>2]^h;N=972448+(j<<13)+(x<<9)+(c[l>>2]<<3)|0;P=e+8|0;M=P;O=c[M+4>>2]^c[N+4>>2];c[P>>2]=c[M>>2]^c[N>>2];c[P+4>>2]=O;a:do if((j|0)==2?(P=28864+(n<<3)|0,q=24960+(I<<3)|0,o=c[P>>2]&~c[q>>2],q=c[P+4>>2]&~c[q+4>>2],!((o|0)==0&(q|0)==0)):0){l=o;j=q;q=e;while(1){m=l;o=j;while(1){j=fb(m|0,o|0,0)|0;e=yu(m|0,o|0,-1,-1)|0;m=e&m;o=C&o;e=b+(j<<2)|0;l=c[e>>2]|0;c[q+76+(j<<2)>>2]=l;if(l|0?(v=l&7,(v|0)!=1):0){n=v;p=m;break}if((m|0)==0&(o|0)==0)break a}m=l>>3;N=q+16+(m<<2)|0;c[N>>2]=(c[N>>2]|0)-(c[4708+(n<<2)>>2]|0);N=24960+(j<<3)|0;r=N;M=s;O=c[M+4>>2]^c[r+4>>2];P=s;c[P>>2]=c[M>>2]^c[r>>2];c[P+4>>2]=O;P=b+256+(n<<3)|0;O=N;r=P;M=c[r+4>>2]^c[O+4>>2];c[P>>2]=c[r>>2]^c[O>>2];c[P+4>>2]=M;P=b+320+(m<<3)|0;M=P;O=c[M+4>>2]^c[N+4>>2];c[P>>2]=c[M>>2]^c[N>>2];c[P+4>>2]=O;if((c[k>>2]|0)==2)c[e>>2]=0;N=b+336+(l<<2)|0;e=(c[N>>2]|0)+-1|0;c[N>>2]=e;e=c[b+400+(l<<8)+(e<<2)>>2]|0;P=c[b+4568+(j<<2)>>2]|0;c[b+4568+(e<<2)>>2]=P;c[b+400+(l<<8)+(P<<2)>>2]=e;c[b+400+(l<<8)+(c[N>>2]<<2)>>2]=64;P=b+336+(m<<3<<2)|0;c[P>>2]=(c[P>>2]|0)+-1;P=c[k>>2]|0;m=972448+(P<<13)+(l<<9)+(j<<3)|0;g=c[m>>2]^g;h=c[m+4>>2]^h;N=972448+(P<<13)+(l<<9)+(c[N>>2]<<3)|0;m=c[E>>2]|0;e=m+8|0;M=e;O=c[M+4>>2]^c[N+4>>2];c[e>>2]=c[M>>2]^c[N>>2];c[e+4>>2]=O;e=m+44|0;c[e>>2]=(c[e>>2]|0)-(c[1099544+(P*4160|0)+(l*260|0)+(j<<2)>>2]|0);e=m+24|0;l=c[e>>2]|0;if((l|0)!=0?(w=c[b+4824+(j<<2)>>2]|0,(w|0)!=0):0){P=1046240+((w&l)<<3)|0;g=c[P>>2]^g;h=c[P+4>>2]^h;c[e>>2]=l&~w}if((p|0)==0&(o|0)==0)break;else{l=p;j=o;q=m}}}while(0);e=c[E>>2]|0;P=e+44|0;j=c[k>>2]|0;c[P>>2]=(c[P>>2]|0)-(c[1099544+(j*4160|0)+(x*260|0)+(u<<2)>>2]|0);c[e+28>>2]=0;if((j|0)==2){p=988832+(t<<9)+(I<<3)|0;v=k;n=0;q=c[p>>2]|0;k=h;p=c[p+4>>2]|0;r=2;u=1;s=x}else{o=1;l=t;m=x;D=35}}if((D|0)==35)if(H){r=972448+(j<<13)+(l<<9)+(c[K>>2]<<3)|0;p=c[b+4496+(l>>3<<5)+((l&7)<<2)>>2]|0;u=1046376+(l*136|0)+(p<<3)|0;p=1046376+(l*136|0)+(p+1<<3)|0;v=k;n=0;q=c[u>>2]^c[r>>2]^c[p>>2];k=h;p=c[u+4>>2]^c[r+4>>2]^c[p+4>>2];r=j;u=o;t=l;s=m}else{n=0;D=37}if((D|0)==37){p=972448+(j<<13)+(l<<9)+(I<<3)|0;r=972448+(j<<13)+(l<<9)+(c[K>>2]<<3)|0;v=k;q=c[r>>2]^c[p>>2];k=h;p=c[r+4>>2]^c[p+4>>2];r=j;u=o;t=l;s=m}h=q^g;g=p^k;j=e+48|0;k=c[j>>2]|0;if((k|0)!=64){P=1046176+((k&7)<<3)|0;h=c[P>>2]^h;g=c[P+4>>2]^g;c[j>>2]=64}if((!H?(y=e+24|0,z=c[y>>2]|0,(z|0)!=0):0)?(A=c[b+4824+(c[K>>2]<<2)>>2]|c[b+4824+(I<<2)>>2],(A|0)!=0):0){P=1046240+((A&z)<<3)|0;h=c[P>>2]^h;g=c[P+4>>2]^g;c[y>>2]=z&~A}if(!((r|0)!=8|f^1)){O=e+36+(G<<2)|0;N=c[O>>2]|0;P=1048552+(G<<5)+(N<<3)|0;h=c[P>>2]^h;P=c[P+4>>2]^g;g=N+1|0;c[O>>2]=g;g=1048552+(G<<5)+(g<<3)|0;h=h^c[g>>2];g=P^c[g+4>>2]}p=(r|0)==2;q=u&p;if(q){N=b+(I<<2)|0;c[e+76+(I<<2)>>2]=c[N>>2];j=b+256|0;O=24960+(I<<3)|0;D=O;P=j;k=c[P+4>>2]^c[D+4>>2];c[j>>2]=c[P>>2]^c[D>>2];c[j+4>>2]=k;j=t&7;k=b+256+(j<<3)|0;D=O;P=k;M=c[P+4>>2]^c[D+4>>2];c[k>>2]=c[P>>2]^c[D>>2];c[k+4>>2]=M;k=t>>3;M=b+320+(k<<3)|0;D=M;P=c[D+4>>2]^c[O+4>>2];c[M>>2]=c[D>>2]^c[O>>2];c[M+4>>2]=P;c[N>>2]=0;N=b+336+(t<<2)|0;M=(c[N>>2]|0)+-1|0;c[N>>2]=M;M=c[b+400+(t<<8)+(M<<2)>>2]|0;P=c[b+4568+(I<<2)>>2]|0;c[b+4568+(M<<2)>>2]=P;c[b+400+(t<<8)+(P<<2)>>2]=M;c[b+400+(t<<8)+(c[N>>2]<<2)>>2]=64;k=b+336+(k<<3<<2)|0;c[k>>2]=(c[k>>2]|0)+-1;N=988832+(t<<9)+(c[N>>2]<<3)|0;k=c[E>>2]|0;P=k+8|0;M=P;O=c[M+4>>2]^c[N+4>>2];c[P>>2]=c[M>>2]^c[N>>2];c[P+4>>2]=O;if((j|0)==1)D=56;else{D=k+16+(G<<2)|0;c[D>>2]=(c[D>>2]|0)-(c[4708+(j<<2)>>2]|0);D=55}}else{do if(!H)if(n){j=t&7;break}else{O=c[K>>2]|0;N=24960+(I<<3)|0;j=24960+(O<<3)|0;M=c[j>>2]^c[N>>2];N=c[j+4>>2]^c[N+4>>2];j=b+256|0;A=j;P=c[A+4>>2]^N;c[j>>2]=c[A>>2]^M;c[j+4>>2]=P;j=t&7;P=b+256+(j<<3)|0;A=P;D=c[A+4>>2]^N;c[P>>2]=c[A>>2]^M;c[P+4>>2]=D;P=b+320+(t>>3<<3)|0;D=P;N=c[D+4>>2]^N;c[P>>2]=c[D>>2]^M;c[P+4>>2]=N;c[b+(I<<2)>>2]=0;c[b+(O<<2)>>2]=t;P=c[b+4568+(I<<2)>>2]|0;c[b+4568+(O<<2)>>2]=P;c[b+400+(t<<8)+(P<<2)>>2]=O;break}else{N=c[K>>2]|0;c[b+(N<<2)>>2]=t;j=b+256|0;D=24960+(N<<3)|0;A=D;O=j;P=c[O+4>>2]|c[A+4>>2];c[j>>2]=c[O>>2]|c[A>>2];c[j+4>>2]=P;j=t&7;P=b+256+(j<<3)|0;A=D;O=P;M=c[O+4>>2]|c[A+4>>2];c[P>>2]=c[O>>2]|c[A>>2];c[P+4>>2]=M;P=t>>3;M=b+320+(P<<3)|0;A=M;O=c[A+4>>2]|c[D+4>>2];c[M>>2]=c[A>>2]|c[D>>2];c[M+4>>2]=O;M=b+336+(t<<2)|0;O=c[M>>2]|0;c[M>>2]=O+1;c[b+4568+(N<<2)>>2]=O;c[b+400+(t<<8)+(O<<2)>>2]=N;O=b+336+(P<<3<<2)|0;c[O>>2]=(c[O>>2]|0)+1;P=b+4496+(P<<5)+(j<<2)|0;c[P>>2]=(c[P>>2]|0)+-1}while(0);if((j|0)==1)D=56;else D=55}if((D|0)==55){l=r;m=c[E>>2]|0}else if((D|0)==56){if((r|0)==4?(I>>>3|0)==(G*7|0):0)D=70;else D=58;do if((D|0)==58)if(!q){o=c[K>>2]|0;if((o^I|0)==16?(O=25792+((G<<3|1)<<9)+(o-((G|0)==0?8:-8)<<3)|0,N=b+320+(F<<3)|0,P=b+264|0,!((c[N>>2]&c[O>>2]&c[P>>2]|0)==0?(c[N+4>>2]&c[O+4>>2]&c[P+4>>2]|0)==0:0)):0){D=(o+I|0)/2|0;c[(c[E>>2]|0)+48>>2]=D;D=1046176+((D&7)<<3)|0;h=c[D>>2]^h;g=c[D+4>>2]^g;D=72;break}if((B|0)==16384){if(!(d&65536))j=(d>>>12&3)+2|0;else j=6;m=j+(G<<3)|0;e=b+256|0;n=24960+(o<<3)|0;N=n;j=e;O=c[j+4>>2]^c[N+4>>2];l=e;c[l>>2]=c[j>>2]^c[N>>2];c[l+4>>2]=O;l=b+264|0;O=n;N=l;j=c[N+4>>2]^c[O+4>>2];c[l>>2]=c[N>>2]^c[O>>2];c[l+4>>2]=j;l=t>>3;j=b+320+(l<<3)|0;O=n;N=j;P=c[N+4>>2]^c[O+4>>2];c[j>>2]=c[N>>2]^c[O>>2];c[j+4>>2]=P;j=b+(o<<2)|0;if(p)c[j>>2]=0;k=b+336+(t<<2)|0;M=(c[k>>2]|0)+-1|0;c[k>>2]=M;M=c[b+400+(t<<8)+(M<<2)>>2]|0;N=b+4568+(o<<2)|0;D=c[N>>2]|0;c[b+4568+(M<<2)>>2]=D;c[b+400+(t<<8)+(D<<2)>>2]=M;c[b+400+(t<<8)+(c[k>>2]<<2)>>2]=64;D=b+336+(l<<3<<2)|0;c[D>>2]=(c[D>>2]|0)+-1;c[j>>2]=m;D=n;j=e;M=c[j+4>>2]|c[D+4>>2];P=e;c[P>>2]=c[j>>2]|c[D>>2];c[P+4>>2]=M;P=b+256+((m&7)<<3)|0;M=n;D=P;j=c[D+4>>2]|c[M+4>>2];c[P>>2]=c[D>>2]|c[M>>2];c[P+4>>2]=j;P=m>>3;j=b+320+(P<<3)|0;M=n;D=j;O=c[D+4>>2]|c[M+4>>2];c[j>>2]=c[D>>2]|c[M>>2];c[j+4>>2]=O;j=b+336+(m<<2)|0;O=c[j>>2]|0;c[j>>2]=O+1;c[N>>2]=O;c[b+400+(m<<8)+(O<<2)>>2]=o;P=b+336+(P<<3<<2)|0;c[P>>2]=(c[P>>2]|0)+1;if((r|0)==3){P=b+4560|0;N=P;M=n;O=c[M+4>>2]|c[N+4>>2];c[P>>2]=c[M>>2]|c[N>>2];c[P+4>>2]=O}d=972448+(r<<13)+(t<<9)+(o<<3)|0;P=c[d>>2]|0;d=c[d+4>>2]|0;D=972448+(r<<13)+(m<<9)+(o<<3)|0;h=P^h^c[D>>2];g=d^g^c[D+4>>2];D=c[E>>2]|0;N=D;d=c[N+4>>2]^d;M=D;c[M>>2]=c[N>>2]^P;c[M+4>>2]=d;M=972448+(r<<13)+(m<<9)+((c[j>>2]|0)+-1<<3)|0;d=972448+(r<<13)+(t<<9)+(c[k>>2]<<3)|0;P=D+8|0;N=P;O=c[d+4>>2]^c[M+4>>2]^c[N+4>>2];c[P>>2]=c[d>>2]^c[M>>2]^c[N>>2];c[P+4>>2]=O;P=D+44|0;c[P>>2]=(c[1099544+(r*4160|0)+(m*260|0)+(o<<2)>>2]|0)-(c[1099544+(r*4160|0)+(t*260|0)+(o<<2)>>2]|0)+(c[P>>2]|0);D=D+16+(G<<2)|0;c[D>>2]=(c[D>>2]|0)+(c[4708+(m<<2)>>2]|0);D=70}else D=72}else D=71;while(0);if((D|0)==70)if(q)D=71;else D=72;do if((D|0)==71){N=988832+((G<<3|1)<<9)+(I<<3)|0;P=c[E>>2]|0;M=P;O=c[M+4>>2]^c[N+4>>2];c[P>>2]=c[M>>2]^c[N>>2];c[P+4>>2]=O}else if((D|0)==72)if(H){N=972448+(r<<13)+(t<<9)+(c[K>>2]<<3)|0;P=c[E>>2]|0;M=P;O=c[M+4>>2]^c[N+4>>2];c[P>>2]=c[M>>2]^c[N>>2];c[P+4>>2]=O;break}else{M=972448+(r<<13)+(t<<9)+(I<<3)|0;d=972448+(r<<13)+(t<<9)+(c[K>>2]<<3)|0;P=c[E>>2]|0;N=P;O=c[d+4>>2]^c[M+4>>2]^c[N+4>>2];c[P>>2]=c[d>>2]^c[M>>2]^c[N>>2];c[P+4>>2]=O;break}while(0);m=c[E>>2]|0;c[m+28>>2]=0;l=c[v>>2]|0}e=u&(l|0)==2;k=m+44|0;j=c[1099544+(l*4160|0)+(t*260|0)+(I<<2)>>2]|0;if(e)j=(c[k>>2]|0)-j|0;else j=(c[1099544+(l*4160|0)+(t*260|0)+(c[K>>2]<<2)>>2]|0)-j+(c[k>>2]|0)|0;c[k>>2]=j;c[m+72>>2]=s;j=(l|0)!=3;if(!(u|j))a[m+332>>0]=0;P=m+56|0;c[P>>2]=h;c[P+4>>2]=g;if(e)f=(c[b+336+((c[J>>2]<<3^14)<<2)>>2]|0)!=0&f;switch(l|0){case 6:{O=c[24960+(c[b+400+((G<<3|6)<<8)>>2]<<3)+4>>2]&-16777216;P=m+64|0;c[P>>2]=0;c[P+4>>2]=O;break}case 1:{P=m+64|0;c[P>>2]=0;c[P+4>>2]=0;break}default:{if(f){switch(l|0){case 4:{f=F<<3|6;if(!(c[b+336+(f<<2)>>2]|0))f=64;else D=91;break}case 2:{f=F<<3|6;if(!(c[b+336+(f<<2)>>2]|0))f=64;else D=91;break}default:{f=F<<3|6;D=91}}if((D|0)==91)f=c[b+400+(f<<8)>>2]|0;O=b+256|0;F=c[O>>2]|0;O=c[O+4>>2]|0;z=30400+(f<<3)|0;y=b+320|0;A=b+264|0;u=c[A>>2]|0;A=c[A+4>>2]|0;w=26304+(f<<3)|0;x=b+328|0;d=26816+(f<<3)|0;B=b+272|0;D=22912+(f<<3)|0;E=23424+(f<<3)|0;E=(_(c[D+4>>2]&O,c[E+4>>2]|0)|0)^(_(c[D>>2]&F,c[E>>2]|0)|0);E=(c[1095812+(f<<2)>>2]|0)+(E>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;D=b+288|0;M=b+296|0;v=c[M>>2]|0;M=c[M+4>>2]|0;P=23936+(f<<3)|0;N=24448+(f<<3)|0;N=(_(c[P+4>>2]&O,c[N+4>>2]|0)|0)^(_(c[P>>2]&F,c[N>>2]|0)|0);N=(c[1096324+(f<<2)>>2]|0)+(N>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;F=b+280|0;P=28864+(f<<3)|0;O=b+304|0;g=b+320+(G<<3)|0;f=(c[w>>2]&u&c[x>>2]|c[y>>2]&c[z>>2]&u|c[B>>2]&c[d>>2]|(v|c[D>>2])&c[E>>2]|(c[F>>2]|v)&c[N>>2]|c[O>>2]&c[P>>2])&c[g>>2];g=(c[w+4>>2]&A&c[x+4>>2]|c[y+4>>2]&c[z+4>>2]&A|c[B+4>>2]&c[d+4>>2]|(M|c[D+4>>2])&c[E+4>>2]|(c[F+4>>2]|M)&c[N+4>>2]|c[O+4>>2]&c[P+4>>2])&c[g+4>>2]}else{f=0;g=0}P=m+64|0;c[P>>2]=f;c[P+4>>2]=g}}if(H|j){P=c[J>>2]|0;P=P^1;c[J>>2]=P;rf(b,m);i=L;return}h=b+4560|0;k=h;j=c[k>>2]|0;k=c[k+4>>2]|0;g=24960+(I<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((f&j|0)==0&(g&k|0)==0){P=c[J>>2]|0;P=P^1;c[J>>2]=P;rf(b,m);i=L;return}N=24960+(c[K>>2]<<3)|0;O=c[N+4>>2]|k&~g;P=h;c[P>>2]=c[N>>2]|j&~f;c[P+4>>2]=O;P=c[J>>2]|0;P=P^1;c[J>>2]=P;rf(b,m);i=L;return}function Af(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=c[e>>2]|0;p=(n|0)>(d|0);c[f>>2]=n;n=b*56|0;c[g>>2]=(p?5:3)|n;c[e>>2]=(p?6:2)|n;b=b<<3;n=b|6;p=a+256|0;m=24960+(d<<3)|0;l=m;i=p;o=c[i+4>>2]^c[l+4>>2];j=p;c[j>>2]=c[i>>2]^c[l>>2];c[j+4>>2]=o;j=a+304|0;o=m;l=j;i=c[l+4>>2]^c[o+4>>2];k=j;c[k>>2]=c[l>>2]^c[o>>2];c[k+4>>2]=i;k=a+320+(b>>3<<3)|0;i=k;o=c[i+4>>2]^c[m+4>>2];l=k;c[l>>2]=c[i>>2]^c[m>>2];c[l+4>>2]=o;l=a+5364|0;if((c[l>>2]|0)==2)c[a+(d<<2)>>2]=0;m=a+336+(n<<2)|0;h=(c[m>>2]|0)+-1|0;c[m>>2]=h;h=c[a+400+(n<<8)+(h<<2)>>2]|0;o=c[a+4568+(d<<2)>>2]|0;c[a+4568+(h<<2)>>2]=o;c[a+400+(n<<8)+(o<<2)>>2]=h;c[a+400+(n<<8)+(c[m>>2]<<2)>>2]=64;o=a+336+(b<<2)|0;c[o>>2]=(c[o>>2]|0)+-1;h=b|4;i=c[f>>2]|0;s=24960+(i<<3)|0;u=s;r=p;q=c[r+4>>2]^c[u+4>>2];b=p;c[b>>2]=c[r>>2]^c[u>>2];c[b+4>>2]=q;b=a+288|0;q=s;u=b;r=c[u+4>>2]^c[q+4>>2];t=b;c[t>>2]=c[u>>2]^c[q>>2];c[t+4>>2]=r;t=k;r=c[t+4>>2]^c[s+4>>2];q=k;c[q>>2]=c[t>>2]^c[s>>2];c[q+4>>2]=r;if((c[l>>2]|0)==2)c[a+(i<<2)>>2]=0;s=a+336+(h<<2)|0;r=(c[s>>2]|0)+-1|0;c[s>>2]=r;r=c[a+400+(h<<8)+(r<<2)>>2]|0;q=c[a+4568+(i<<2)>>2]|0;c[a+4568+(r<<2)>>2]=q;c[a+400+(h<<8)+(q<<2)>>2]=r;c[a+400+(h<<8)+(c[s>>2]<<2)>>2]=64;c[o>>2]=(c[o>>2]|0)+-1;c[a+(c[f>>2]<<2)>>2]=0;c[a+(d<<2)>>2]=0;q=c[e>>2]|0;c[a+(q<<2)>>2]=n;e=24960+(q<<3)|0;r=e;u=p;f=c[u+4>>2]|c[r+4>>2];t=p;c[t>>2]=c[u>>2]|c[r>>2];c[t+4>>2]=f;t=e;f=j;r=c[f+4>>2]|c[t+4>>2];u=j;c[u>>2]=c[f>>2]|c[t>>2];c[u+4>>2]=r;u=k;r=c[u+4>>2]|c[e+4>>2];t=k;c[t>>2]=c[u>>2]|c[e>>2];c[t+4>>2]=r;t=c[m>>2]|0;c[m>>2]=t+1;c[a+4568+(q<<2)>>2]=t;c[a+400+(n<<8)+(t<<2)>>2]=q;c[o>>2]=(c[o>>2]|0)+1;t=c[g>>2]|0;c[a+(t<<2)>>2]=h;q=24960+(t<<3)|0;r=q;e=p;g=c[e+4>>2]|c[r+4>>2];u=p;c[u>>2]=c[e>>2]|c[r>>2];c[u+4>>2]=g;u=q;g=b;r=c[g+4>>2]|c[u+4>>2];e=b;c[e>>2]=c[g>>2]|c[u>>2];c[e+4>>2]=r;e=k;r=c[e+4>>2]|c[q+4>>2];u=k;c[u>>2]=c[e>>2]|c[q>>2];c[u+4>>2]=r;u=c[s>>2]|0;c[s>>2]=u+1;c[a+4568+(t<<2)>>2]=u;c[a+400+(h<<8)+(u<<2)>>2]=t;c[o>>2]=(c[o>>2]|0)+1;return}function Bf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0;E=i;i=i+16|0;o=E+8|0;m=E+4|0;n=E;j=b+5348|0;w=c[j>>2]|0;l=w^1;c[j>>2]=l;j=(d&131072|0)==0;y=j?d>>>6&63:64;D=d&63;c[o>>2]=D;q=b+(D<<2)|0;e=c[q>>2]|0;B=b+5364|0;f=c[B>>2]|0;k=(f|0)==2;if(k?(h=c[b+5356>>2]|0,(c[h+72>>2]|0)!=0):0)e=c[h+76+(y<<2)>>2]|0;p=j?d&49152:131072;do if((p|0)==16384){if(k?c[(c[b+5356>>2]|0)+72>>2]|0:0){h=14;break}h=b+256|0;j=24960+(D<<3)|0;G=j;k=h;F=c[k+4>>2]^c[G+4>>2];f=h;c[f>>2]=c[k>>2]^c[G>>2];c[f+4>>2]=F;f=b+256+((e&7)<<3)|0;F=j;G=f;k=c[G+4>>2]^c[F+4>>2];c[f>>2]=c[G>>2]^c[F>>2];c[f+4>>2]=k;f=e>>3;k=b+320+(f<<3)|0;F=j;G=k;d=c[G+4>>2]^c[F+4>>2];c[k>>2]=c[G>>2]^c[F>>2];c[k+4>>2]=d;if((c[B>>2]|0)==2)c[q>>2]=0;d=b+336+(e<<2)|0;G=(c[d>>2]|0)+-1|0;c[d>>2]=G;G=c[b+400+(e<<8)+(G<<2)>>2]|0;F=b+4568+(D<<2)|0;H=c[F>>2]|0;c[b+4568+(G<<2)>>2]=H;c[b+400+(e<<8)+(H<<2)>>2]=G;c[b+400+(e<<8)+(c[d>>2]<<2)>>2]=64;f=b+336+(f<<3<<2)|0;c[f>>2]=(c[f>>2]|0)+-1;f=l<<3;e=f|1;c[q>>2]=e;d=j;H=h;G=c[H+4>>2]|c[d+4>>2];k=h;c[k>>2]=c[H>>2]|c[d>>2];c[k+4>>2]=G;k=b+264|0;h=j;G=k;d=c[G+4>>2]|c[h+4>>2];c[k>>2]=c[G>>2]|c[h>>2];c[k+4>>2]=d;k=b+320+(f>>3<<3)|0;d=j;h=k;G=c[h+4>>2]|c[d+4>>2];c[k>>2]=c[h>>2]|c[d>>2];c[k+4>>2]=G;k=b+336+(e<<2)|0;G=c[k>>2]|0;c[k>>2]=G+1;c[F>>2]=G;c[b+400+(e<<8)+(G<<2)>>2]=D;f=b+336+(f<<2)|0;c[f>>2]=(c[f>>2]|0)+1;f=c[B>>2]|0;if((f|0)==3){f=b+4560|0;H=j;G=f;h=c[G+4>>2]&~c[H+4>>2];c[f>>2]=c[G>>2]&~c[H>>2];c[f+4>>2]=h;f=3;h=11}else h=11}else h=11;while(0);do if((h|0)==11){if((p|0)!=49152)if((f|0)==2){h=14;break}else{h=16;break}Cf(b,l,y,o,m,n);H=b+5356|0;G=c[H>>2]|0;G=G+336|0;G=c[G>>2]|0;c[H>>2]=G;H=b+5344|0;G=c[H>>2]|0;G=G+-1|0;c[H>>2]=G;i=E;return}while(0);if((h|0)==14)if(!(c[(c[b+5356>>2]|0)+72>>2]|0))h=16;else{c[b+(y<<2)>>2]=e;H=b+256|0;q=24960+(y<<3)|0;G=q;F=H;o=c[F+4>>2]|c[G+4>>2];c[H>>2]=c[F>>2]|c[G>>2];c[H+4>>2]=o;H=b+256+((e&7)<<3)|0;o=q;G=H;F=c[G+4>>2]|c[o+4>>2];c[H>>2]=c[G>>2]|c[o>>2];c[H+4>>2]=F;H=e>>3;F=b+320+(H<<3)|0;o=F;G=c[o+4>>2]|c[q+4>>2];c[F>>2]=c[o>>2]|c[q>>2];c[F+4>>2]=G;F=b+336+(e<<2)|0;G=c[F>>2]|0;c[F>>2]=G+1;c[b+4568+(y<<2)>>2]=G;c[b+400+(e<<8)+(G<<2)>>2]=y;H=b+336+(H<<3<<2)|0;c[H>>2]=(c[H>>2]|0)+1}do if((h|0)==16){if((p|0)!=131072){G=24960+(D<<3)|0;H=24960+(y<<3)|0;F=c[H>>2]^c[G>>2];G=c[H+4>>2]^c[G+4>>2];H=b+256|0;o=H;n=c[o+4>>2]^G;c[H>>2]=c[o>>2]^F;c[H+4>>2]=n;H=b+256+((e&7)<<3)|0;n=H;o=c[n+4>>2]^G;c[H>>2]=c[n>>2]^F;c[H+4>>2]=o;H=b+320+(e>>3<<3)|0;o=H;G=c[o+4>>2]^G;c[H>>2]=c[o>>2]^F;c[H+4>>2]=G;c[q>>2]=0;c[b+(y<<2)>>2]=e;H=c[b+4568+(D<<2)>>2]|0;c[b+4568+(y<<2)>>2]=H;c[b+400+(e<<8)+(H<<2)>>2]=y;break}f=b+256|0;F=24960+(D<<3)|0;o=F;G=f;h=c[G+4>>2]^c[o+4>>2];c[f>>2]=c[G>>2]^c[o>>2];c[f+4>>2]=h;f=e&7;h=b+256+(f<<3)|0;o=F;G=h;H=c[G+4>>2]^c[o+4>>2];c[h>>2]=c[G>>2]^c[o>>2];c[h+4>>2]=H;h=e>>3;H=b+320+(h<<3)|0;o=H;G=c[o+4>>2]^c[F+4>>2];c[H>>2]=c[o>>2]^c[F>>2];c[H+4>>2]=G;if((c[B>>2]|0)==2)c[q>>2]=0;H=b+336+(e<<2)|0;F=(c[H>>2]|0)+-1|0;c[H>>2]=F;F=c[b+400+(e<<8)+(F<<2)>>2]|0;G=c[b+4568+(D<<2)>>2]|0;c[b+4568+(F<<2)>>2]=G;c[b+400+(e<<8)+(G<<2)>>2]=F;c[b+400+(e<<8)+(c[H>>2]<<2)>>2]=64;H=b+336+(h<<3<<2)|0;c[H>>2]=(c[H>>2]|0)+-1;c[q>>2]=0;H=b+4496+(h<<5)+(f<<2)|0;c[H>>2]=(c[H>>2]|0)+1}while(0);f=c[B>>2]|0;if((f|0)==3?(r=b+4560|0,t=r,s=c[t>>2]|0,t=c[t+4>>2]|0,v=24960+(D<<3)|0,u=c[v>>2]|0,v=c[v+4>>2]|0,!((u&s|0)==0&(v&t|0)==0)):0){F=24960+(y<<3)|0;G=c[F+4>>2]|t&~v;H=r;c[H>>2]=c[F>>2]|s&~u;c[H+4>>2]=G}d=b+5356|0;e=c[(c[d>>2]|0)+72>>2]|0;if(!e){H=d;G=c[H>>2]|0;G=G+336|0;G=c[G>>2]|0;c[H>>2]=G;H=b+5344|0;G=c[H>>2]|0;G=G+-1|0;c[H>>2]=G;i=E;return}if((p|0)==32768)j=D-((w|0)==1?8:-8)|0;else j=D;if((f|0)==2?(x=28864+(D<<3)|0,g=c[x>>2]|0,x=c[x+4>>2]|0,!((g|0)==0&(x|0)==0)):0){h=b+256|0;e=x;do{f=fb(g|0,e|0,0)|0;H=yu(g|0,e|0,-1,-1)|0;g=H&g;e=C&e;if(((f|0)!=(y|0)?(z=c[(c[d>>2]|0)+76+(f<<2)>>2]|0,z|0):0)?(A=z&7,(A|0)!=1):0){c[b+(f<<2)>>2]=z;x=24960+(f<<3)|0;G=x;F=h;w=c[F+4>>2]|c[G+4>>2];H=h;c[H>>2]=c[F>>2]|c[G>>2];c[H+4>>2]=w;H=b+256+(A<<3)|0;w=x;G=H;F=c[G+4>>2]|c[w+4>>2];c[H>>2]=c[G>>2]|c[w>>2];c[H+4>>2]=F;H=z>>3;F=b+320+(H<<3)|0;w=F;G=c[w+4>>2]|c[x+4>>2];c[F>>2]=c[w>>2]|c[x>>2];c[F+4>>2]=G;F=b+336+(z<<2)|0;G=c[F>>2]|0;c[F>>2]=G+1;c[b+4568+(f<<2)>>2]=G;c[b+400+(z<<8)+(G<<2)>>2]=f;H=b+336+(H<<3<<2)|0;c[H>>2]=(c[H>>2]|0)+1}}while(!((g|0)==0&(e|0)==0));e=c[(c[d>>2]|0)+72>>2]|0}c[b+(j<<2)>>2]=e;H=b+256|0;A=24960+(j<<3)|0;G=A;F=H;z=c[F+4>>2]|c[G+4>>2];c[H>>2]=c[F>>2]|c[G>>2];c[H+4>>2]=z;H=b+256+((e&7)<<3)|0;z=A;G=H;F=c[G+4>>2]|c[z+4>>2];c[H>>2]=c[G>>2]|c[z>>2];c[H+4>>2]=F;H=e>>3;F=b+320+(H<<3)|0;z=F;G=c[z+4>>2]|c[A+4>>2];c[F>>2]=c[z>>2]|c[A>>2];c[F+4>>2]=G;F=b+336+(e<<2)|0;G=c[F>>2]|0;c[F>>2]=G+1;c[b+4568+(j<<2)>>2]=G;c[b+400+(e<<8)+(G<<2)>>2]=j;H=b+336+(H<<3<<2)|0;c[H>>2]=(c[H>>2]|0)+1;if((c[B>>2]|0)!=3){H=d;G=c[H>>2]|0;G=G+336|0;G=c[G>>2]|0;c[H>>2]=G;H=b+5344|0;G=c[H>>2]|0;G=G+-1|0;c[H>>2]=G;i=E;return}G=c[d>>2]|0;H=c[G+72>>2]|0;H=b+4496+((H>>3^1)<<5)+(((a[G+332>>0]|0)==0?H&7:1)<<2)|0;c[H>>2]=(c[H>>2]|0)+-1;if(!(a[(c[d>>2]|0)+332>>0]|0)){H=d;G=c[H>>2]|0;G=G+336|0;G=c[G>>2]|0;c[H>>2]=G;H=b+5344|0;G=c[H>>2]|0;G=G+-1|0;c[H>>2]=G;i=E;return}H=b+4560|0;F=24960+(D<<3)|0;D=H;G=c[D+4>>2]|c[F+4>>2];c[H>>2]=c[D>>2]|c[F>>2];c[H+4>>2]=G;H=d;G=c[H>>2]|0;G=G+336|0;G=c[G>>2]|0;c[H>>2]=G;H=b+5344|0;G=c[H>>2]|0;G=G+-1|0;c[H>>2]=G;i=E;return}function Cf(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=c[e>>2]|0;o=(h|0)>(d|0);c[f>>2]=h;h=b*56|0;c[g>>2]=(o?5:3)|h;h=(o?6:2)|h;c[e>>2]=h;b=b<<3;o=b|6;p=a+256|0;j=24960+(h<<3)|0;m=j;i=p;n=c[i+4>>2]^c[m+4>>2];k=p;c[k>>2]=c[i>>2]^c[m>>2];c[k+4>>2]=n;k=a+304|0;n=j;m=k;i=c[m+4>>2]^c[n+4>>2];l=k;c[l>>2]=c[m>>2]^c[n>>2];c[l+4>>2]=i;l=a+320+(b>>3<<3)|0;i=l;n=c[i+4>>2]^c[j+4>>2];m=l;c[m>>2]=c[i>>2]^c[j>>2];c[m+4>>2]=n;m=a+5364|0;if((c[m>>2]|0)==2)c[a+(h<<2)>>2]=0;n=a+336+(o<<2)|0;i=(c[n>>2]|0)+-1|0;c[n>>2]=i;i=c[a+400+(o<<8)+(i<<2)>>2]|0;j=c[a+4568+(h<<2)>>2]|0;c[a+4568+(i<<2)>>2]=j;c[a+400+(o<<8)+(j<<2)>>2]=i;c[a+400+(o<<8)+(c[n>>2]<<2)>>2]=64;j=a+336+(b<<2)|0;c[j>>2]=(c[j>>2]|0)+-1;h=b|4;i=c[g>>2]|0;s=24960+(i<<3)|0;u=s;r=p;q=c[r+4>>2]^c[u+4>>2];b=p;c[b>>2]=c[r>>2]^c[u>>2];c[b+4>>2]=q;b=a+288|0;q=s;u=b;r=c[u+4>>2]^c[q+4>>2];t=b;c[t>>2]=c[u>>2]^c[q>>2];c[t+4>>2]=r;t=l;r=c[t+4>>2]^c[s+4>>2];q=l;c[q>>2]=c[t>>2]^c[s>>2];c[q+4>>2]=r;if((c[m>>2]|0)==2)c[a+(i<<2)>>2]=0;s=a+336+(h<<2)|0;q=(c[s>>2]|0)+-1|0;c[s>>2]=q;q=c[a+400+(h<<8)+(q<<2)>>2]|0;r=c[a+4568+(i<<2)>>2]|0;c[a+4568+(q<<2)>>2]=r;c[a+400+(h<<8)+(r<<2)>>2]=q;c[a+400+(h<<8)+(c[s>>2]<<2)>>2]=64;c[j>>2]=(c[j>>2]|0)+-1;c[a+(c[g>>2]<<2)>>2]=0;c[a+(c[e>>2]<<2)>>2]=0;c[a+(d<<2)>>2]=o;r=24960+(d<<3)|0;q=r;e=p;g=c[e+4>>2]|c[q+4>>2];t=p;c[t>>2]=c[e>>2]|c[q>>2];c[t+4>>2]=g;t=r;g=k;q=c[g+4>>2]|c[t+4>>2];e=k;c[e>>2]=c[g>>2]|c[t>>2];c[e+4>>2]=q;e=l;q=c[e+4>>2]|c[r+4>>2];t=l;c[t>>2]=c[e>>2]|c[r>>2];c[t+4>>2]=q;t=c[n>>2]|0;c[n>>2]=t+1;c[a+4568+(d<<2)>>2]=t;c[a+400+(o<<8)+(t<<2)>>2]=d;c[j>>2]=(c[j>>2]|0)+1;t=c[f>>2]|0;c[a+(t<<2)>>2]=h;q=24960+(t<<3)|0;r=q;e=p;g=c[e+4>>2]|c[r+4>>2];u=p;c[u>>2]=c[e>>2]|c[r>>2];c[u+4>>2]=g;u=q;g=b;r=c[g+4>>2]|c[u+4>>2];e=b;c[e>>2]=c[g>>2]|c[u>>2];c[e+4>>2]=r;e=l;r=c[e+4>>2]|c[q+4>>2];u=l;c[u>>2]=c[e>>2]|c[q>>2];c[u+4>>2]=r;u=c[s>>2]|0;c[s>>2]=u+1;c[a+4568+(t<<2)>>2]=u;c[a+400+(h<<8)+(u<<2)>>2]=t;c[j>>2]=(c[j>>2]|0)+1;return}function Df(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+5356|0;Bu(b|0,c[f>>2]|0,1528)|0;c[b+336>>2]=c[f>>2];c[f>>2]=b;d=b+48|0;e=c[d>>2]|0;if((e|0)==64){d=b+56|0;b=d;e=c[b>>2]|0;b=c[b+4>>2]|0}else{h=1046176+((e&7)<<3)|0;g=b+56|0;b=g;e=c[b>>2]^c[h>>2];b=c[b+4>>2]^c[h+4>>2];h=g;c[h>>2]=e;c[h+4>>2]=b;c[d>>2]=64;d=g}i=1046368;g=b^c[i+4>>2];h=d;c[h>>2]=e^c[i>>2];c[h+4>>2]=g;h=c[f>>2]|0;g=h+28|0;c[g>>2]=(c[g>>2]|0)+1;c[h+32>>2]=0;g=a+5348|0;c[g>>2]=c[g>>2]^1;rf(a,h);return}function Ef(a){a=a|0;var b=0;b=a+5356|0;c[b>>2]=c[(c[b>>2]|0)+336>>2];a=a+5348|0;c[a>>2]=c[a>>2]^1;return}function Ff(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=(b&131072|0)==0;j=h?b>>>6&63:64;g=b&63;if(h)i=c[a+(j<<2)>>2]|0;else i=b>>>18&15;f=c[a+(g<<2)>>2]|0;b=(c[a+5356>>2]|0)+56|0;e=1046368;d=c[e>>2]^c[b>>2];b=c[e+4>>2]^c[b+4>>2];e=c[a+5364>>2]|0;a:do if(f){k=972448+(e<<13)+(f<<9)+(g<<3)|0;d=c[k>>2]^d;b=c[k+4>>2]^b;switch(e|0){case 2:break;case 3:{k=a+4560|0;e=24960+(g<<3)|0;k=((c[e>>2]&c[k>>2]|0)==0?(c[e+4>>2]&c[k+4>>2]|0)==0:0)?f:f&-8|1;e=k^8;k=c[a+4496+(e>>3<<5)+((k&7)<<2)>>2]|0;f=1046376+(e*136|0)+(k+1<<3)|0;k=1046376+(e*136|0)+(k<<3)|0;e=3;d=c[f>>2]^d^c[k>>2];b=c[f+4>>2]^b^c[k+4>>2];break a}default:break a}k=28864+(g<<3)|0;h=a+256|0;g=a+264|0;f=24960+(j<<3)|0;e=(c[g>>2]^c[h>>2])&c[k>>2]&~c[f>>2];f=(c[g+4>>2]^c[h+4>>2])&c[k+4>>2]&~c[f+4>>2];if(!((e|0)==0&(f|0)==0))do{k=fb(e|0,f|0,0)|0;h=yu(e|0,f|0,-1,-1)|0;e=h&e;f=C&f;k=988832+(c[a+(k<<2)>>2]<<9)+(k<<3)|0;d=c[k>>2]^d;b=c[k+4>>2]^b}while(!((e|0)==0&(f|0)==0));k=988832+(i<<9)+(j<<3)|0;j=c[k+4>>2]^b;k=c[k>>2]^d;C=j;return k|0}while(0);k=972448+(e<<13)+(i<<9)+(g<<3)|0;d=c[k>>2]^d;b=c[k+4>>2]^b;if(h){k=972448+(e<<13)+(i<<9)+(j<<3)|0;j=c[k+4>>2]^b;k=c[k>>2]^d;C=j;return k|0}else{k=c[a+4496+(i>>3<<5)+((i&7)<<2)>>2]|0;a=1046376+(i*136|0)+(k<<3)|0;k=1046376+(i*136|0)+(k+-1<<3)|0;j=c[a+4>>2]^b^c[k+4>>2];k=c[a>>2]^d^c[k>>2];C=j;return k|0}return 0}
function Dd(e){e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0;jb=i;i=i+224|0;Na=jb+208|0;ib=jb;hb=e+5364|0;j=c[hb>>2]|0;switch(j|0){case 5:{f=c[e+5348>>2]|0;gb=c[e+400+((f<<3|6)<<8)>>2]|0;if(((gb>>3)+-3|0)>>>0<2?((gb&7)+-3|0)>>>0<2:0){e=32e3;i=jb;return e|0}gb=c[e+400+((f<<3^14)<<8)>>2]|0;if(((gb>>3)+-3|0)>>>0<2?((gb&7)+-3|0)>>>0<2:0){e=-32e3;i=jb;return e|0}switch(j|0){case 6:{_a=7;break}case 8:{_a=13;break}case 4:{_a=15;break}case 2:{_a=16;break}case 1:{_a=18;break}default:{}}break}case 6:{_a=7;break}case 8:{_a=13;break}case 4:{_a=15;break}case 2:{_a=16;break}case 1:{_a=18;break}default:{}}if((_a|0)==7){g=c[e+5348>>2]|0;f=g<<3;h=c[e+400+((f|6)<<8)>>2]|0;if((h&-8|0)==56){if((c[e+400+((f^14)<<8)>>2]&-8|0)==56){e=0;i=jb;return e|0}if((c[e+400+((g<<3^14)<<8)>>2]>>3|0)<7){e=32e3;i=jb;return e|0}}if((c[e+400+((g<<3^14)<<8)>>2]&-8|0)==56?(h>>3|0)<(((g|0)==0?7:6)|0):0){e=-32e3;i=jb;return e|0}switch(j|0){case 8:{_a=13;break}case 4:{_a=15;break}case 2:{_a=16;break}case 1:{_a=18;break}default:{}}}if((_a|0)==13){f=c[e+5348>>2]|0;g=c[e+5356>>2]|0;if((c[g+36+(f<<2)>>2]|0)==3){e=32e3;i=jb;return e|0}if((c[g+36+((f^1)<<2)>>2]|0)==3){e=-32e3;i=jb;return e|0}}else if((_a|0)==15){if(!(c[e+336+(((c[e+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){e=-32e3;i=jb;return e|0}}else if((_a|0)==16){f=c[e+5348>>2]<<3;if(!(c[e+336+((f^14)<<2)>>2]|0)){e=32e3;i=jb;return e|0}if(!(c[e+336+((f|6)<<2)>>2]|0)){e=-32e3;i=jb;return e|0}}else if((_a|0)==18){f=c[e+5348>>2]<<3;if(!(c[e+336+(f<<2)>>2]|0)){e=32e3;i=jb;return e|0}if(!(c[e+336+((f^8)<<2)>>2]|0)){e=-32e3;i=jb;return e|0}}g=le(e)|0;gb=ib+200|0;c[gb>>2]=g;switch(c[hb>>2]|0){case 3:case 1:case 2:case 4:case 8:case 6:case 5:break;default:{f=c[g+12>>2]|0;if(f|0){e=Jb[c[(c[f>>2]|0)+12>>2]&63](f,e)|0;i=jb;return e|0}}}db=e+5356|0;La=c[(c[db>>2]|0)+44>>2]|0;Ja=(b[g+8>>1]|0)*65537|0;wa=bf(e)|0;eb=ib+204|0;c[eb>>2]=wa;Ka=c[wa+8>>2]|0;cb=ib+64|0;xa=cb;c[xa>>2]=0;c[xa+4>>2]=0;xa=ib;c[xa>>2]=0;c[xa+4>>2]=0;xa=c[hb>>2]|0;switch(xa|0){case 4:{if(!(c[e+360>>2]|0)){g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;bb=h;c[bb>>2]=f;c[bb+4>>2]=g}else{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;bb=h;c[bb>>2]=f;c[bb+4>>2]=g}if(!(c[e+392>>2]|0))j=64;else _a=34;break}case 2:{if(!(c[e+360>>2]|0)){g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;bb=h;c[bb>>2]=f;c[bb+4>>2]=g}else{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;bb=h;c[bb>>2]=f;c[bb+4>>2]=g}if(!(c[e+392>>2]|0))j=64;else _a=34;break}case 1:{g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;j=h;c[j>>2]=f;c[j+4>>2]=g;j=64;break}default:{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;h=ib+48|0;_a=h;c[_a>>2]=f;c[_a+4>>2]=g;_a=34}}if((_a|0)==34)j=c[e+3984>>2]|0;qa=28864+(j<<3)|0;pa=c[qa>>2]|0;qa=c[qa+4>>2]|0;Za=ib+112|0;$a=Za;c[$a>>2]=pa;c[$a+4>>2]=qa;$a=e+320|0;la=$a;ka=c[la>>2]|0;la=c[la+4>>2]|0;va=c[db>>2]|0;m=va+344|0;o=c[m>>2]&ka;m=c[m+4>>2]&la;Ma=ib+184|0;fa=Ma;c[fa>>2]=o;c[fa+4>>2]=m;fa=cb;c[fa>>2]=pa;c[fa+4>>2]=qa;fa=wa+32|0;ea=c[fa>>2]|0;fa=c[fa+4>>2]|0;Va=ib+8|0;x=Va;c[x>>2]=ea;c[x+4>>2]=fa;x=ib;c[x>>2]=ea;c[x+4>>2]=fa;x=f&ea;u=g&fa;Qa=ib+128|0;j=Qa;c[j>>2]=x;c[j+4>>2]=u;j=(xa|0)==1;if(!j?(c[va+16>>2]|0)>2512:0){ra=zu(pa|0,qa|0,8)|0;ra=ra|pa;sa=C|qa;ab=ib+152|0;c[ab>>2]=ra;c[ab+4>>2]=sa;ab=ea&pa;bb=fa&qa;Ya=zu(ab|0,bb|0,16)|0;y=zu(ab|0,bb|0,48)|0;y=(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(ab&65535)>>0]|0)+(d[1213348+(bb&65535)>>0]|0)+(d[1213348+y>>0]|0)|0;c[ib+160>>2]=y;c[ib+168>>2]=0;c[ib+176>>2]=0}else{c[ib+160>>2]=0;ra=ib+152|0;c[ra>>2]=0;c[ra+4>>2]=0;ra=0;sa=0;y=0}ab=e+328|0;ua=ab;ta=c[ua>>2]|0;ua=c[ua+4>>2]|0;Ea=va+352|0;Da=c[Ea>>2]&ta;Ea=c[Ea+4>>2]&ua;Pa=ib+192|0;t=Pa;c[t>>2]=Da;c[t+4>>2]=Ea;t=ea|f;E=fa|g;ja=ib;c[ja>>2]=t;c[ja+4>>2]=E;ja=wa+40|0;ia=c[ja>>2]|0;ja=c[ja+4>>2]|0;Ya=ib+72|0;I=Ya;c[I>>2]=ia;c[I+4>>2]=ja;I=pa|ia;H=qa|ja;G=cb;c[G>>2]=I;c[G+4>>2]=H;G=pa&ia;D=qa&ja;Ua=ib+136|0;bb=Ua;c[bb>>2]=G;c[bb+4>>2]=D;if(!j?(c[va+20>>2]|0)>2512:0){Ba=Au(f|0,g|0,8)|0;Ba=Ba|f;Ca=C|g;Ta=ib+144|0;c[Ta>>2]=Ba;c[Ta+4>>2]=Ca;Ta=ia&f;bb=ja&g;Sa=zu(Ta|0,bb|0,16)|0;w=zu(Ta|0,bb|0,48)|0;w=(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+(bb&65535)>>0]|0)+(d[1213348+w>>0]|0)|0;c[ib+164>>2]=w;c[ib+172>>2]=0;c[ib+180>>2]=0}else{c[ib+164>>2]=0;w=ib+144|0;c[w>>2]=0;c[w+4>>2]=0;w=0;Ba=0;Ca=0}Ra=e+264|0;ha=Ra;ga=c[ha>>2]|0;ha=c[ha+4>>2]|0;za=ga&ka;Aa=ha&la;bb=e+256|0;l=bb;n=c[l>>2]|0;l=c[l+4>>2]|0;p=zu(n|0,l|0,8)|0;r=Aa&C;na=ta&ga;oa=ua&ha;j=Au(n|0,l|0,8)|0;j=na&j;k=oa&(C|16776960);p=za&(p|16776960)|ia;r=r|ja;switch(xa|0){case 4:{Ta=(c[e+360>>2]|0)==0?25472:24960+(c[e+1936>>2]<<3)|0;q=~(p|c[Ta>>2]);p=~(r|c[Ta+4>>2]);j=ea|j;k=fa|k;if(!(c[e+392>>2]|0)){s=64;Ga=q;Fa=p}else _a=48;break}case 2:{Ta=(c[e+360>>2]|0)==0?25472:24960+(c[e+1936>>2]<<3)|0;q=~(p|c[Ta>>2]);p=~(r|c[Ta+4>>2]);j=ea|j;k=fa|k;if(!(c[e+392>>2]|0)){s=64;Ga=q;Fa=p}else _a=48;break}case 1:{Fa=25472;s=64;j=ea|j;k=fa|k;Ga=~(p|c[Fa>>2]);Fa=~(r|c[Fa+4>>2]);break}default:{_a=24960+(c[e+1936>>2]<<3)|0;j=ea|j;k=fa|k;q=~(p|c[_a>>2]);p=~(r|c[_a+4>>2]);_a=48}}if((_a|0)==48){s=c[e+3984>>2]|0;Ga=q;Fa=p}Ha=24960+(s<<3)|0;Ia=~(j|c[Ha>>2]);Ha=~(k|c[Ha+4>>2]);Sa=ib+16|0;j=Sa;c[j>>2]=0;c[j+4>>2]=0;j=c[e+912>>2]|0;if((j|0)==64){B=0;z=0;P=x;da=u;F=t;p=0;ya=0}else{M=ib+160|0;N=ib+168|0;O=ib+176|0;P=e+1936|0;Q=e+360|0;R=wa+56|0;S=c[274735]|0;T=~ka;U=~la;F=t;K=0;L=0;v=0;t=0;J=e+916|0;p=0;k=0;while(1){s=26816+(j<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;A=24960+(j<<3)|0;z=c[A>>2]|0;A=c[A+4>>2]|0;if(!((z&o|0)==0&(A&m|0)==0)){switch(xa|0){case 4:{if(!(c[Q>>2]|0))q=64;else _a=55;break}case 2:{if(!(c[Q>>2]|0))q=64;else _a=55;break}case 1:{q=64;break}default:_a=55}if((_a|0)==55){_a=0;q=c[P>>2]|0}Ta=66752+(q<<9)+(j<<3)|0;r=c[Ta>>2]&r;s=c[Ta+4>>2]&s}x=x|F&r;u=u|E&s;Ta=Qa;c[Ta>>2]=x;c[Ta+4>>2]=u;K=r|K;L=s|L;Ta=Sa;c[Ta>>2]=K;c[Ta+4>>2]=L;F=F|K;E=E|L;Ta=ib;c[Ta>>2]=F;c[Ta+4>>2]=E;if((ra&r|0)==0&(sa&s|0)==0)B=t;else{y=y+1|0;c[M>>2]=y;v=v+78|0;c[N>>2]=v;Oa=pa&r;Ta=qa&s;ya=zu(Oa|0,Ta|0,16)|0;B=zu(Oa|0,Ta|0,48)|0;B=(d[1213348+(ya&65535)>>0]|0)+(d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+B>>0]|0)+t|0;c[O>>2]=B}Ta=r&Ga;q=s&Fa;Oa=zu(Ta|0,q|0,16)|0;t=zu(Ta|0,q|0,48)|0;p=(c[1098152+((d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+(q&65535)>>0]|0)+(d[1213348+t>>0]|0)<<2)>>2]|0)+p|0;t=R;q=c[t>>2]&-16777216^-16777216;t=c[t+4>>2]&65535^65535;if((q&z|0)==0&(t&A|0)==0){r=q&r&T;q=t&s&U;if(!((r|0)==0&(q|0)==0))k=(c[1098680+((((ea&r|0)!=0|(fa&q|0)!=0)&1)<<2)>>2]|0)+k|0}else k=(c[1098664+((((ea&z|0)!=0|(fa&A|0)!=0)&1)<<2)>>2]|0)+k|0;if((j>>3|0)<4){Ta=24960+(j+8<<3)|0;k=k+(((c[Ta>>2]&ga|0)==0?(c[Ta+4>>2]&ha|0)==0:0)?0:S)|0}j=c[J>>2]|0;if((j|0)==64){z=v;P=x;da=u;ya=k;break}else{t=B;J=J+4|0}}}Ta=ib+80|0;j=Ta;c[j>>2]=0;c[j+4>>2]=0;j=c[e+2960>>2]|0;if((j|0)==64){t=0;u=0;x=0;ma=0}else{N=ib+164|0;O=ib+172|0;Q=ib+180|0;R=e+3984|0;S=e+392|0;T=wa+48|0;U=c[274735]|0;V=~ta;W=~ua;L=0;M=0;u=0;t=0;K=e+2964|0;x=0;k=0;while(1){s=26816+(j<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;J=24960+(j<<3)|0;A=c[J>>2]|0;J=c[J+4>>2]|0;if(!((A&Da|0)==0&(J&Ea|0)==0)){switch(xa|0){case 4:{if(!(c[S>>2]|0))q=64;else _a=72;break}case 2:{if(!(c[S>>2]|0))q=64;else _a=72;break}case 1:{q=64;break}default:_a=72}if((_a|0)==72){_a=0;q=c[R>>2]|0}Oa=66752+(q<<9)+(j<<3)|0;r=c[Oa>>2]&r;s=c[Oa+4>>2]&s}G=G|I&r;D=D|H&s;Oa=Ua;c[Oa>>2]=G;c[Oa+4>>2]=D;L=r|L;M=s|M;Oa=Ta;c[Oa>>2]=L;c[Oa+4>>2]=M;I=I|L;H=H|M;Oa=cb;c[Oa>>2]=I;c[Oa+4>>2]=H;if(!((Ba&r|0)==0&(Ca&s|0)==0)){w=w+1|0;c[N>>2]=w;u=u+78|0;c[O>>2]=u;ca=f&r;ma=g&s;ba=zu(ca|0,ma|0,16)|0;Oa=zu(ca|0,ma|0,48)|0;t=(d[1213348+(ba&65535)>>0]|0)+(d[1213348+(ca&65535)>>0]|0)+(d[1213348+(ma&65535)>>0]|0)+(d[1213348+Oa>>0]|0)+t|0;c[Q>>2]=t}Oa=r&Ia;q=s&Ha;ma=zu(Oa|0,q|0,16)|0;v=zu(Oa|0,q|0,48)|0;x=(c[1098152+((d[1213348+(ma&65535)>>0]|0)+(d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(q&65535)>>0]|0)+(d[1213348+v>>0]|0)<<2)>>2]|0)+x|0;v=T;q=c[v>>2]&-65536^-65536;v=c[v+4>>2]&255^255;if((q&A|0)==0&(v&J|0)==0){r=q&r&V;q=v&s&W;if(!((r|0)==0&(q|0)==0))k=(c[1098680+((((ia&r|0)!=0|(ja&q|0)!=0)&1)<<2)>>2]|0)+k|0}else k=(c[1098664+((((ia&A|0)!=0|(ja&J|0)!=0)&1)<<2)>>2]|0)+k|0;if((j>>3^7|0)<4){Oa=24960+(j+-8<<3)|0;k=k+(((c[Oa>>2]&ga|0)==0?(c[Oa+4>>2]&ha|0)==0:0)?0:U)|0}j=c[K>>2]|0;if((j|0)==64){ma=k;break}else K=K+4|0}}Oa=ib+24|0;j=Oa;c[j>>2]=0;c[j+4>>2]=0;j=c[e+1168>>2]|0;if((j|0)==64){v=B;M=da;ca=0}else{Q=e+5360|0;R=ib+160|0;S=ib+168|0;T=ib+176|0;U=e+1936|0;V=e+360|0;W=wa+56|0;X=c[274735]|0;Y=c[274736]|0;Z=c[274750]|0;aa=e+296|0;$=c[aa>>2]&ka^n;aa=c[aa+4>>2]&la^l;ba=~ka;ca=~la;A=P;s=da;N=0;O=0;v=B;L=e+1172|0;K=j;j=0;while(1){q=23936+(K<<3)|0;r=24448+(K<<3)|0;r=(_(aa&c[q+4>>2],c[r+4>>2]|0)|0)^(_($&c[q>>2],c[r>>2]|0)|0);r=(c[1096324+(K<<2)>>2]|0)+(r>>>(c[1096580+(K<<2)>>2]|0)<<3)|0;q=c[r>>2]|0;r=c[r+4>>2]|0;J=24960+(K<<3)|0;B=c[J>>2]|0;J=c[J+4>>2]|0;if(!((B&o|0)==0&(J&m|0)==0)){switch(xa|0){case 4:{if(!(c[V>>2]|0))k=64;else _a=89;break}case 2:{if(!(c[V>>2]|0))k=64;else _a=89;break}case 1:{k=64;break}default:_a=89}if((_a|0)==89){_a=0;k=c[U>>2]|0}da=66752+(k<<9)+(K<<3)|0;q=c[da>>2]&q;r=c[da+4>>2]&r}A=A|F&q;M=s|E&r;da=Qa;c[da>>2]=A;c[da+4>>2]=M;N=q|N;O=r|O;da=Oa;c[da>>2]=N;c[da+4>>2]=O;F=F|N;E=E|O;da=ib;c[da>>2]=F;c[da+4>>2]=E;if(!((ra&q|0)==0&(sa&r|0)==0)){y=y+1|0;c[R>>2]=y;z=z+56|0;c[S>>2]=z;s=pa&q;P=qa&r;k=zu(s|0,P|0,16)|0;da=zu(s|0,P|0,48)|0;v=(d[1213348+(k&65535)>>0]|0)+(d[1213348+(s&65535)>>0]|0)+(d[1213348+(P&65535)>>0]|0)+(d[1213348+da>>0]|0)+v|0;c[T>>2]=v}da=q&Ga;k=r&Fa;P=zu(da|0,k|0,16)|0;s=zu(da|0,k|0,48)|0;p=(c[1098280+((d[1213348+(P&65535)>>0]|0)+(d[1213348+(da&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+s>>0]|0)<<2)>>2]|0)+p|0;s=W;k=c[s>>2]&-16777216^-16777216;s=c[s+4>>2]&65535^65535;if((k&B|0)==0&(s&J|0)==0){q=k&q&ba;k=s&r&ca;if(!((q|0)==0&(k|0)==0))j=(c[1098688+((((ea&q|0)!=0|(fa&k|0)!=0)&1)<<2)>>2]|0)+j|0}else j=(c[1098672+((((ea&B|0)!=0|(fa&J|0)!=0)&1)<<2)>>2]|0)+j|0;if((K>>3|0)<4){da=24960+(K+8<<3)|0;j=j+(((c[da>>2]&ga|0)==0?(c[da+4>>2]&ha|0)==0:0)?0:X)|0}q=j-(_(c[wa+96+((((B&-1437226411|0)!=0|(J&-1437226411|0)!=0)&1)<<2)>>2]|0,Y)|0)|0;a:do if(a[Q>>0]|0){switch(K|0){case 7:case 0:break;default:{j=q;break a}}k=(K&7|0)==0?9:7;j=k+K|0;if((c[e+(j<<2)>>2]|0)==1){if(!(c[e+(j+8<<2)>>2]|0))j=(c[e+(j+k<<2)>>2]|0)==1&1;else j=2;j=q-(Z<<j)|0}else j=q}else j=q;while(0);K=c[L>>2]|0;if((K|0)==64){P=A;ca=j;break}else{s=M;L=L+4|0}}}ea=ib+88|0;j=ea;c[j>>2]=0;c[j+4>>2]=0;j=c[e+3216>>2]|0;if((j|0)==64)ba=0;else{O=e+5360|0;Q=ib+164|0;R=ib+172|0;S=ib+180|0;T=e+3984|0;U=e+392|0;V=wa+48|0;W=c[274735]|0;X=c[274736]|0;Y=c[274750]|0;$=e+296|0;Z=c[$>>2]&ta^n;$=c[$+4>>2]&ua^l;aa=~ta;ba=~ua;L=0;N=0;K=e+3220|0;k=0;while(1){r=23936+(j<<3)|0;s=24448+(j<<3)|0;s=(_($&c[r+4>>2],c[s+4>>2]|0)|0)^(_(Z&c[r>>2],c[s>>2]|0)|0);s=(c[1096324+(j<<2)>>2]|0)+(s>>>(c[1096580+(j<<2)>>2]|0)<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;J=24960+(j<<3)|0;B=c[J>>2]|0;J=c[J+4>>2]|0;if(!((B&Da|0)==0&(J&Ea|0)==0)){switch(xa|0){case 4:{if(!(c[U>>2]|0))q=64;else _a=112;break}case 2:{if(!(c[U>>2]|0))q=64;else _a=112;break}case 1:{q=64;break}default:_a=112}if((_a|0)==112){_a=0;q=c[T>>2]|0}fa=66752+(q<<9)+(j<<3)|0;r=c[fa>>2]&r;s=c[fa+4>>2]&s}G=G|I&r;D=D|H&s;fa=Ua;c[fa>>2]=G;c[fa+4>>2]=D;L=r|L;N=s|N;fa=ea;c[fa>>2]=L;c[fa+4>>2]=N;I=I|L;H=H|N;fa=cb;c[fa>>2]=I;c[fa+4>>2]=H;if(!((Ba&r|0)==0&(Ca&s|0)==0)){w=w+1|0;c[Q>>2]=w;u=u+56|0;c[R>>2]=u;A=f&r;da=g&s;q=zu(A|0,da|0,16)|0;fa=zu(A|0,da|0,48)|0;t=(d[1213348+(q&65535)>>0]|0)+(d[1213348+(A&65535)>>0]|0)+(d[1213348+(da&65535)>>0]|0)+(d[1213348+fa>>0]|0)+t|0;c[S>>2]=t}fa=r&Ia;q=s&Ha;da=zu(fa|0,q|0,16)|0;A=zu(fa|0,q|0,48)|0;x=(c[1098280+((d[1213348+(da&65535)>>0]|0)+(d[1213348+(fa&65535)>>0]|0)+(d[1213348+(q&65535)>>0]|0)+(d[1213348+A>>0]|0)<<2)>>2]|0)+x|0;A=V;q=c[A>>2]&-65536^-65536;A=c[A+4>>2]&255^255;if((q&B|0)==0&(A&J|0)==0){r=q&r&aa;q=A&s&ba;if(!((r|0)==0&(q|0)==0))k=(c[1098688+((((ia&r|0)!=0|(ja&q|0)!=0)&1)<<2)>>2]|0)+k|0}else k=(c[1098672+((((ia&B|0)!=0|(ja&J|0)!=0)&1)<<2)>>2]|0)+k|0;if((j>>3^7|0)<4){fa=24960+(j+-8<<3)|0;k=k+(((c[fa>>2]&ga|0)==0?(c[fa+4>>2]&ha|0)==0:0)?0:W)|0}q=k-(_(c[wa+104+((((B&-1437226411|0)!=0|(J&-1437226411|0)!=0)&1)<<2)>>2]|0,X)|0)|0;b:do if(a[O>>0]|0){switch(j|0){case 63:case 56:break;default:{k=q;break b}}k=(j&7|0)==0?-7:-9;j=k+j|0;if((c[e+(j<<2)>>2]|0)==9){if(!(c[e+(j+-8<<2)>>2]|0))j=(c[e+(j+k<<2)>>2]|0)==9&1;else j=2;k=q-(Y<<j)|0}else k=q}else k=q;while(0);j=c[K>>2]|0;if((j|0)==64){ba=k;break}else K=K+4|0}}da=ib+32|0;j=da;c[j>>2]=0;c[j+4>>2]=0;j=c[e+1424>>2]|0;if((j|0)==64)V=0;else{T=e+1936|0;U=e+360|0;V=ib+160|0;W=ib+168|0;X=ib+176|0;Y=c[274737]|0;Z=wa+88|0;$=c[274738]|0;aa=wa+92|0;Q=e+288|0;R=e+296|0;S=(c[R>>2]|c[Q>>2])&ka^n;Q=(c[R+4>>2]|c[Q+4>>2])&la^l;R=va+24|0;k=xa;N=0;O=0;L=e+1428|0;A=0;while(1){r=22912+(j<<3)|0;s=23424+(j<<3)|0;s=(_(Q&c[r+4>>2],c[s+4>>2]|0)|0)^(_(S&c[r>>2],c[s>>2]|0)|0);s=(c[1095812+(j<<2)>>2]|0)+(s>>>(c[1096068+(j<<2)>>2]|0)<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;la=24960+(j<<3)|0;if(!((c[la>>2]&o|0)==0?(c[la+4>>2]&m|0)==0:0)){switch(k|0){case 4:{if(!(c[U>>2]|0))q=64;else _a=135;break}case 2:{if(!(c[U>>2]|0))q=64;else _a=135;break}case 1:{q=64;break}default:_a=135}if((_a|0)==135){_a=0;q=c[T>>2]|0}la=66752+(q<<9)+(j<<3)|0;r=c[la>>2]&r;s=c[la+4>>2]&s}P=P|F&r;M=M|E&s;la=Qa;c[la>>2]=P;c[la+4>>2]=M;N=r|N;O=s|O;la=da;c[la>>2]=N;c[la+4>>2]=O;F=F|N;E=E|O;la=ib;c[la>>2]=F;c[la+4>>2]=E;if((ra&r|0)==0&(sa&s|0)==0){K=v;J=z}else{y=y+1|0;c[V>>2]=y;J=z+45|0;c[W>>2]=J;ka=pa&r;la=qa&s;ja=zu(ka|0,la|0,16)|0;K=zu(ka|0,la|0,48)|0;K=(d[1213348+(ja&65535)>>0]|0)+(d[1213348+(ka&65535)>>0]|0)+(d[1213348+(la&65535)>>0]|0)+(d[1213348+K>>0]|0)+v|0;c[X>>2]=K}la=r&Ga;z=s&Fa;ka=zu(la|0,z|0,16)|0;B=zu(la|0,z|0,48)|0;B=(d[1213348+(ka&65535)>>0]|0)+(d[1213348+(la&65535)>>0]|0)+(d[1213348+(z&65535)>>0]|0)+(d[1213348+B>>0]|0)|0;p=(c[1098408+(B<<2)>>2]|0)+p|0;z=j>>3;if((z|0)>3){ka=108736+(j<<3)|0;ja=na&c[ka>>2];ka=oa&c[ka+4>>2];ia=zu(ja|0,ka|0,16)|0;la=zu(ja|0,ka|0,48)|0;A=(_((d[1213348+(ia&65535)>>0]|0)+(d[1213348+(ja&65535)>>0]|0)+(d[1213348+(ka&65535)>>0]|0)+(d[1213348+la>>0]|0)|0,Y)|0)+A|0}q=j&7;v=c[Z>>2]|0;j=1<<q;c:do if(!(v&j))if(B>>>0<4){switch(k|0){case 1:{k=1;q=A;break c}case 4:{if(!(c[U>>2]|0)){k=4;q=A;break c}break}case 2:{if(!(c[U>>2]|0)){k=2;q=A;break c}break}default:{}}r=c[T>>2]|0;s=r&7;j=q>>>0<s>>>0;if((!(s>>>0<4^j)?(la=r>>3,(la|0)==(z|0)|(la|0)==0):0)?((j?(1<<s)+-1|0:-1<<s+1)&v|0)==0:0){q=$+(_(B,-22)|0)|0;q=A-(_((c[R>>2]&3|0)==0?2:1,q)|0)|0}else q=A}else q=A;else q=(c[1098696+(((c[aa>>2]&j|0)!=0&1)<<2)>>2]|0)+A|0;while(0);j=c[L>>2]|0;if((j|0)==64){V=q;break}else{z=J;v=K;L=L+4|0;A=q}}}W=ib+96|0;j=W;c[j>>2]=0;c[j+4>>2]=0;j=c[e+3472>>2]|0;if((j|0)==64){g=x;A=0}else{N=e+3984|0;O=e+392|0;P=ib+164|0;Q=ib+172|0;R=ib+180|0;S=c[274737]|0;T=wa+92|0;U=c[274738]|0;M=wa+88|0;K=e+288|0;J=e+296|0;L=(c[J>>2]|c[K>>2])&ta^n;K=(c[J+4>>2]|c[K+4>>2])&ua^l;J=va+24|0;k=xa;E=0;F=0;B=e+3476|0;v=0;while(1){r=22912+(j<<3)|0;s=23424+(j<<3)|0;s=(_(K&c[r+4>>2],c[s+4>>2]|0)|0)^(_(L&c[r>>2],c[s>>2]|0)|0);s=(c[1095812+(j<<2)>>2]|0)+(s>>>(c[1096068+(j<<2)>>2]|0)<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;xa=24960+(j<<3)|0;if(!((c[xa>>2]&Da|0)==0?(c[xa+4>>2]&Ea|0)==0:0)){switch(k|0){case 4:{if(!(c[O>>2]|0))q=64;else _a=158;break}case 2:{if(!(c[O>>2]|0))q=64;else _a=158;break}case 1:{q=64;break}default:_a=158}if((_a|0)==158){_a=0;q=c[N>>2]|0}xa=66752+(q<<9)+(j<<3)|0;r=c[xa>>2]&r;s=c[xa+4>>2]&s}G=G|I&r;D=D|H&s;xa=Ua;c[xa>>2]=G;c[xa+4>>2]=D;E=r|E;F=s|F;xa=W;c[xa>>2]=E;c[xa+4>>2]=F;I=I|E;H=H|F;xa=cb;c[xa>>2]=I;c[xa+4>>2]=H;if((Ba&r|0)==0&(Ca&s|0)==0){A=t;z=u;y=w}else{y=w+1|0;c[P>>2]=y;z=u+45|0;c[Q>>2]=z;wa=f&r;xa=g&s;va=zu(wa|0,xa|0,16)|0;A=zu(wa|0,xa|0,48)|0;A=(d[1213348+(va&65535)>>0]|0)+(d[1213348+(wa&65535)>>0]|0)+(d[1213348+(xa&65535)>>0]|0)+(d[1213348+A>>0]|0)+t|0;c[R>>2]=A}xa=r&Ia;u=s&Ha;wa=zu(xa|0,u|0,16)|0;w=zu(xa|0,u|0,48)|0;w=(d[1213348+(wa&65535)>>0]|0)+(d[1213348+(xa&65535)>>0]|0)+(d[1213348+(u&65535)>>0]|0)+(d[1213348+w>>0]|0)|0;x=(c[1098408+(w<<2)>>2]|0)+x|0;u=j>>3;if((u^7|0)>3){wa=108736+(j<<3)|0;va=za&c[wa>>2];wa=Aa&c[wa+4>>2];ua=zu(va|0,wa|0,16)|0;xa=zu(va|0,wa|0,48)|0;v=(_((d[1213348+(ua&65535)>>0]|0)+(d[1213348+(va&65535)>>0]|0)+(d[1213348+(wa&65535)>>0]|0)+(d[1213348+xa>>0]|0)|0,S)|0)+v|0}q=j&7;t=c[T>>2]|0;j=1<<q;d:do if(!(t&j))if(w>>>0<4){switch(k|0){case 1:{k=1;q=v;break d}case 4:{if(!(c[O>>2]|0)){k=4;q=v;break d}break}case 2:{if(!(c[O>>2]|0)){k=2;q=v;break d}break}default:{}}r=c[N>>2]|0;s=r&7;j=q>>>0<s>>>0;if((!(s>>>0<4^j)?(xa=r>>3,(xa|0)==(u|0)|(xa|0)==7):0)?((j?(1<<s)+-1|0:-1<<s+1)&t|0)==0:0){q=U+(_(w,-22)|0)|0;q=v-(_((c[J>>2]&12|0)==0?2:1,q)|0)|0}else q=v}else q=v;else q=(c[1098696+(((c[M>>2]&j|0)!=0&1)<<2)>>2]|0)+v|0;while(0);j=c[B>>2]|0;if((j|0)==64){g=x;A=q;break}else{w=y;u=z;t=A;B=B+4|0;v=q}}}P=ib+40|0;f=P;c[f>>2]=0;c[f+4>>2]=0;f=c[e+1680>>2]|0;e:do if((f|0)==64){x=p;w=0}else{s=ib+152|0;t=e+288|0;u=e+280|0;v=ib+160|0;w=ib+168|0;x=ib+176|0;y=e+1936|0;z=e+360|0;r=e+1684|0;q=0;while(1){Da=22912+(f<<3)|0;j=23424+(f<<3)|0;j=(_(c[Da+4>>2]&l,c[j+4>>2]|0)|0)^(_(c[Da>>2]&n,c[j>>2]|0)|0);j=(c[1095812+(f<<2)>>2]|0)+(j>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;Da=23936+(f<<3)|0;Ea=24448+(f<<3)|0;Ea=(_(c[Da+4>>2]&l,c[Ea+4>>2]|0)|0)^(_(c[Da>>2]&n,c[Ea>>2]|0)|0);Ea=(c[1096324+(f<<2)>>2]|0)+(Ea>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;l=c[Ea>>2]|c[j>>2];j=c[Ea+4>>2]|c[j+4>>2];Ea=24960+(f<<3)|0;if((c[Ea>>2]&o|0)==0?(c[Ea+4>>2]&m|0)==0:0)k=l;else{switch(c[hb>>2]|0){case 4:{if(!(c[z>>2]|0))k=64;else _a=181;break}case 2:{if(!(c[z>>2]|0))k=64;else _a=181;break}case 1:{k=64;break}default:_a=181}if((_a|0)==181){_a=0;k=c[y>>2]|0}Ea=66752+(k<<9)+(f<<3)|0;k=c[Ea>>2]&l;j=c[Ea+4>>2]&j}Da=ib;Ba=c[Da>>2]|0;Da=c[Da+4>>2]|0;Ea=Qa;Aa=c[Ea+4>>2]|Da&j;Ca=Qa;c[Ca>>2]=c[Ea>>2]|Ba&k;c[Ca+4>>2]=Aa;Ca=P;Aa=c[Ca>>2]|k;Ca=c[Ca+4>>2]|j;Ea=P;c[Ea>>2]=Aa;c[Ea+4>>2]=Ca;Ea=ib;c[Ea>>2]=Aa|Ba;c[Ea+4>>2]=Ca|Da;Ea=s;if(!((c[Ea>>2]&k|0)==0?(c[Ea+4>>2]&j|0)==0:0)){c[v>>2]=(c[v>>2]|0)+1;c[w>>2]=(c[w>>2]|0)+11;Da=Za;Ca=c[Da>>2]&k;Da=c[Da+4>>2]&j;Ba=zu(Ca|0,Da|0,16)|0;Ea=zu(Ca|0,Da|0,48)|0;c[x>>2]=(d[1213348+(Ba&65535)>>0]|0)+(d[1213348+(Ca&65535)>>0]|0)+(d[1213348+(Da&65535)>>0]|0)+(d[1213348+Ea>>0]|0)+(c[x>>2]|0)}Ca=Ta;Ba=ea;Da=W;Ea=k&Ga&~(c[Ba>>2]|c[Ca>>2]|c[Da>>2]);k=j&Fa&~(c[Ba+4>>2]|c[Ca+4>>2]|c[Da+4>>2]);Da=zu(Ea|0,k|0,16)|0;j=zu(Ea|0,k|0,48)|0;j=(c[1098536+((d[1213348+(Da&65535)>>0]|0)+(d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+j>>0]|0)<<2)>>2]|0)+p|0;k=ab;Ea=t;Da=u;k=sf(e,(c[Da>>2]|c[Ea>>2])&c[k>>2],(c[Da+4>>2]|c[Ea+4>>2])&c[k+4>>2],f,Na)|0;k=q-((k|0)==0&(C|0)==0?0:c[274744]|0)|0;f=c[r>>2]|0;if((f|0)==64){x=j;w=k;break e}l=bb;m=Ma;n=c[l>>2]|0;l=c[l+4>>2]|0;o=c[m>>2]|0;m=c[m+4>>2]|0;r=r+4|0;p=j;q=k}}while(0);Q=ib+104|0;f=Q;c[f>>2]=0;c[f+4>>2]=0;f=c[e+3728>>2]|0;if((f|0)==64)f=0;else{o=ib+144|0;p=e+288|0;q=e+280|0;r=ib+164|0;s=ib+172|0;t=ib+180|0;u=e+3984|0;v=e+392|0;m=f;n=e+3732|0;f=0;while(1){Ea=bb;l=c[Ea>>2]|0;Ea=c[Ea+4>>2]|0;Fa=22912+(m<<3)|0;j=23424+(m<<3)|0;j=(_(c[Fa+4>>2]&Ea,c[j+4>>2]|0)|0)^(_(c[Fa>>2]&l,c[j>>2]|0)|0);j=(c[1095812+(m<<2)>>2]|0)+(j>>>(c[1096068+(m<<2)>>2]|0)<<3)|0;Fa=23936+(m<<3)|0;Ga=24448+(m<<3)|0;Ga=(_(c[Fa+4>>2]&Ea,c[Ga+4>>2]|0)|0)^(_(c[Fa>>2]&l,c[Ga>>2]|0)|0);Ga=(c[1096324+(m<<2)>>2]|0)+(Ga>>>(c[1096580+(m<<2)>>2]|0)<<3)|0;l=c[Ga>>2]|c[j>>2];j=c[Ga+4>>2]|c[j+4>>2];Ga=Pa;Fa=24960+(m<<3)|0;if(!((c[Fa>>2]&c[Ga>>2]|0)==0?(c[Fa+4>>2]&c[Ga+4>>2]|0)==0:0)){switch(c[hb>>2]|0){case 4:{if(!(c[v>>2]|0))k=64;else _a=193;break}case 2:{if(!(c[v>>2]|0))k=64;else _a=193;break}case 1:{k=64;break}default:_a=193}if((_a|0)==193){_a=0;k=c[u>>2]|0}Ga=66752+(k<<9)+(m<<3)|0;l=c[Ga>>2]&l;j=c[Ga+4>>2]&j}Fa=cb;Da=c[Fa>>2]|0;Fa=c[Fa+4>>2]|0;Ga=Ua;Ca=c[Ga+4>>2]|Fa&j;Ea=Ua;c[Ea>>2]=c[Ga>>2]|Da&l;c[Ea+4>>2]=Ca;Ea=Q;Ca=c[Ea>>2]|l;Ea=c[Ea+4>>2]|j;Ga=Q;c[Ga>>2]=Ca;c[Ga+4>>2]=Ea;Ga=cb;c[Ga>>2]=Ca|Da;c[Ga+4>>2]=Ea|Fa;Ga=o;if(!((c[Ga>>2]&l|0)==0?(c[Ga+4>>2]&j|0)==0:0)){c[r>>2]=(c[r>>2]|0)+1;c[s>>2]=(c[s>>2]|0)+11;Fa=h;Ea=c[Fa>>2]&l;Fa=c[Fa+4>>2]&j;Da=zu(Ea|0,Fa|0,16)|0;Ga=zu(Ea|0,Fa|0,48)|0;c[t>>2]=(d[1213348+(Da&65535)>>0]|0)+(d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(Fa&65535)>>0]|0)+(d[1213348+Ga>>0]|0)+(c[t>>2]|0)}Da=Sa;Ga=Oa;Fa=da;Ea=l&Ia&~(c[Ga>>2]|c[Da>>2]|c[Fa>>2]);Fa=j&Ha&~(c[Ga+4>>2]|c[Da+4>>2]|c[Fa+4>>2]);Da=zu(Ea|0,Fa|0,16)|0;Ga=zu(Ea|0,Fa|0,48)|0;g=(c[1098536+((d[1213348+(Da&65535)>>0]|0)+(d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(Fa&65535)>>0]|0)+(d[1213348+Ga>>0]|0)<<2)>>2]|0)+g|0;Ga=$a;Fa=p;Ea=q;Ga=sf(e,(c[Ea>>2]|c[Fa>>2])&c[Ga>>2],(c[Ea+4>>2]|c[Fa+4>>2])&c[Ga+4>>2],m,Na)|0;f=f-((Ga|0)==0&(C|0)==0?0:c[274744]|0)|0;m=c[n>>2]|0;if((m|0)==64)break;else n=n+4|0}}k=Ja+La+Ka+ya-ma+ca-ba+V-A+w-f+(x-g)|0;switch(c[hb>>2]|0){case 1:{_a=277;break}case 6:{w=6;_a=282;break}case 4:{if(!(c[e+360>>2]|0)){N=64;_a=202}else _a=201;break}case 2:{if(!(c[e+360>>2]|0)){N=64;_a=202}else _a=201;break}default:_a=201}if((_a|0)==201){N=c[e+1936>>2]|0;_a=202}f:do if((_a|0)==202){f=c[eb>>2]|0;if((c[f+64>>2]|0)==(N|0)?(c[f+80>>2]|0)==(c[(c[db>>2]|0)+24>>2]&3|0):0)n=c[f+72>>2]|0;else{n=Ye(f,e,N)|0;c[f+72>>2]=n}f=c[ib+164>>2]|0;do if(!f){o=Ua;p=Va;r=cb;s=c[r>>2]|0;r=c[r+4>>2]|0;g=c[p>>2]|0;p=c[p+4>>2]|0;f=c[o>>2]|0;o=c[o+4>>2]|0;q=c[hb>>2]|0}else{r=cb;s=c[r>>2]|0;r=c[r+4>>2]|0;L=h;K=c[L>>2]|0;L=c[L+4>>2]|0;G=Qa;A=c[G>>2]|0;G=c[G+4>>2]|0;g=K&s&~A;j=L&r&~G;m=ib;l=c[m>>2]|0;m=c[m+4>>2]|0;Na=ib+144|0;H=ab;B=c[H>>2]|0;H=c[H+4>>2]|0;t=~B;v=~H;La=s&~l&c[Na>>2]&t;Na=r&~m&c[Na+4>>2]&v;Ia=_(c[ib+172>>2]|0,f)|0;Ha=(c[ib+180>>2]|0)*101|0;Ka=zu(g|0,j|0,16)|0;Ja=zu(g|0,j|0,48)|0;Ja=((d[1213348+(Ka&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(j&65535)>>0]|0)+(d[1213348+Ja>>0]|0)|0)*235|0;Ka=zu(La|0,Na|0,16)|0;q=zu(La|0,Na|0,48)|0;f=Ma;f=(((n<<16>>16)*7|0)/-5|0)+-5+Ha+((Ia|0)<807?Ia:807)+Ja+((c[e+388>>2]|0)==0?-717:0)+(((d[1213348+(Ka&65535)>>0]|0)+(d[1213348+(La&65535)>>0]|0)+(d[1213348+(Na&65535)>>0]|0)+(d[1213348+q>>0]|0)+(((c[f>>2]|0)!=0|(c[f+4>>2]|0)!=0)&1)|0)*134|0)|0;q=c[hb>>2]|0;if((q|0)==3)f=((c[e+4532>>2]|0)*124|0)+f+((c[e+4536>>2]|0)*129|0)+((c[e+4540>>2]|0)*27|0)+((c[e+4544>>2]|0)*73|0)+((c[e+4548>>2]|0)*71|0)|0;z=Q;y=c[z>>2]|0;z=c[z+4>>2]|0;J=(q|0)==2;I=J?K:0;p=J?L:0;o=Ua;M=c[o>>2]|0;o=c[o+4>>2]|0;g=(g&t&y|I)&M;j=(j&v&z|p)&o;Na=zu(g|0,j|0,16)|0;w=zu(g|0,j|0,48)|0;w=(((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(j&65535)>>0]|0)+(d[1213348+w>>0]|0)|0)*997|0)+f|0;f=I|~(B|l);j=p|~(H|m);p=Va;g=c[p>>2]|0;p=c[p+4>>2]|0;m=Ra;I=c[m>>2]|0;m=c[m+4>>2]|0;l=Au(I|0,m|0,8)|0;l=~(I&B&l|g);m=~(m&H&C|p);I=(q|0)==8;if(I){Na=(c[(c[db>>2]|0)+40>>2]|0)==0;u=Na?f:t;j=Na?j:v;F=Na?l:t;m=Na?m:v}else{u=f;F=l}E=bb;D=c[E>>2]|0;E=c[E+4>>2]|0;Ma=22912+(N<<3)|0;l=23424+(N<<3)|0;l=(_(c[Ma+4>>2]&E,c[l+4>>2]|0)|0)^(_(c[Ma>>2]&D,c[l>>2]|0)|0);l=(c[1095812+(N<<2)>>2]|0)+(l>>>(c[1096068+(N<<2)>>2]|0)<<3)|0;Ma=c[l>>2]|0;l=c[l+4>>2]|0;v=23936+(N<<3)|0;x=24448+(N<<3)|0;x=(_(c[v+4>>2]&E,c[x+4>>2]|0)|0)^(_(c[v>>2]&D,c[x>>2]|0)|0);x=(c[1096324+(N<<2)>>2]|0)+(x>>>(c[1096580+(N<<2)>>2]|0)<<3)|0;v=c[x>>2]|0;x=c[x+4>>2]|0;f=(u&y&(v|Ma)|0)==0?(j&z&(x|l)|0)==0:0;y=c[274740]|0;n=n-(f?0:y)|0;f=f?w:w+695|0;t=P;u=M&~(B|A)&c[t>>2]|u;t=o&~(H|G)&c[t+4>>2]|j;Na=W;j=c[Na>>2]&Ma;l=c[Na+4>>2]&l;if((u&j|0)==0&(t&l|0)==0){if(!((j&F|0)==0&(l&m|0)==0))n=n-(c[274741]|0)|0}else{f=f+638|0;n=n-y|0}j=ea;l=c[j>>2]&v;j=c[j+4>>2]&x;if((l&u|0)==0&(j&t|0)==0){if(!((l&F|0)==0&(j&m|0)==0))n=n-(c[274741]|0)|0}else{f=f+538|0;n=n-y|0}l=26816+(N<<3)|0;Na=Ta;j=c[Na>>2]&c[l>>2];l=c[Na+4>>2]&c[l+4>>2];do if((j&u|0)==0&(l&t|0)==0){if((j&F|0)==0&(l&m|0)==0)break;n=n-(c[274741]|0)|0}else{f=f+874|0;n=n-y|0}while(0);if(J){La=D&K;Ma=E&L;Ka=zu(La|0,Ma|0,16)|0;Na=zu(La|0,Ma|0,48)|0;n=(_((d[1213348+(Ka&65535)>>0]|0)+(d[1213348+(La&65535)>>0]|0)+(d[1213348+(Ma&65535)>>0]|0)+(d[1213348+Na>>0]|0)|0,-6553700)|0)+n|0}if((f|0)<=0){f=M;break}g:do if(I)switch(c[(c[db>>2]|0)+40>>2]|0){case 2:case 3:case 4:{f=f*3|0;break g}case 1:{f=f<<1;break g}case 0:{f=((f|0)/2|0)+f|0;break g}default:break g}while(0);Na=(_(f,f)|0)>>>12;f=M;n=n-(Na>>>0>1652?1652:Na)|0}while(0);j=N&7;m=8+(j<<3)|0;l=c[m>>2]|0;m=c[m+4>>2]|0;La=l&s;Na=m&r;Ma=Au(La|0,Na|0,4)|0;g=f&~g&La|Ma;f=o&~p&Na|C;switch(q|0){case 2:{Na=c[274717]|0;La=zu(g|0,f|0,16)|0;Ma=zu(g|0,f|0,48)|0;f=_((d[1213348+(La&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Ma>>0]|0)|0,Na)|0;break}case 3:{Na=c[274718]|0;La=zu(g|0,f|0,16)|0;Ma=zu(g|0,f|0,48)|0;f=_((d[1213348+(La&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Ma>>0]|0)|0,Na)|0;break}default:{Na=c[274739]|0;La=zu(g|0,f|0,16)|0;Ma=zu(g|0,f|0,48)|0;f=_((d[1213348+(La&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Ma>>0]|0)|0,Na)|0}}O=Ra;Na=72+(j<<3)|0;O=n-f+((((c[Na>>2]|l)&c[O>>2]|0)==0?((c[Na+4>>2]|m)&c[O+4>>2]|0)==0:0)?0-(c[274748]|0)|0:0)<<((q|0)==3&1);switch(q|0){case 4:{if(!(c[e+392>>2]|0))N=64;else _a=240;break}case 2:{if(!(c[e+392>>2]|0))N=64;else _a=240;break}case 1:{N=64;break}default:_a=240}if((_a|0)==240)N=c[e+3984>>2]|0;f=c[eb>>2]|0;if((c[f+68>>2]|0)==(N|0)?(c[f+84>>2]|0)==(c[(c[db>>2]|0)+24>>2]&12|0):0)n=c[f+76>>2]|0;else{n=_e(f,e,N)|0;c[f+76>>2]=n}f=c[ib+160>>2]|0;do if(!f){o=Qa;p=Ya;r=ib;s=c[r>>2]|0;r=c[r+4>>2]|0;g=c[p>>2]|0;p=c[p+4>>2]|0;f=c[o>>2]|0;o=c[o+4>>2]|0;q=c[hb>>2]|0}else{r=ib;s=c[r>>2]|0;r=c[r+4>>2]|0;L=Za;K=c[L>>2]|0;L=c[L+4>>2]|0;G=Ua;A=c[G>>2]|0;G=c[G+4>>2]|0;g=K&s&~A;j=L&r&~G;m=cb;l=c[m>>2]|0;m=c[m+4>>2]|0;_a=ib+152|0;H=$a;B=c[H>>2]|0;H=c[H+4>>2]|0;t=~B;v=~H;Na=s&~l&c[_a>>2]&t;_a=r&~m&c[_a+4>>2]&v;Ka=_(c[ib+168>>2]|0,f)|0;Ja=(c[ib+176>>2]|0)*101|0;Ma=zu(g|0,j|0,16)|0;La=zu(g|0,j|0,48)|0;La=((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(j&65535)>>0]|0)+(d[1213348+La>>0]|0)|0)*235|0;Ma=zu(Na|0,_a|0,16)|0;q=zu(Na|0,_a|0,48)|0;f=Pa;f=(((n<<16>>16)*7|0)/-5|0)+-5+Ja+((Ka|0)<807?Ka:807)+La+((c[e+356>>2]|0)==0?-717:0)+(((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(Na&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+q>>0]|0)+(((c[f>>2]|0)!=0|(c[f+4>>2]|0)!=0)&1)|0)*134|0)|0;q=c[hb>>2]|0;if((q|0)==3)f=((c[e+4500>>2]|0)*124|0)+f+((c[e+4504>>2]|0)*129|0)+((c[e+4508>>2]|0)*27|0)+((c[e+4512>>2]|0)*73|0)+((c[e+4516>>2]|0)*71|0)|0;z=P;y=c[z>>2]|0;z=c[z+4>>2]|0;J=(q|0)==2;I=J?K:0;p=J?L:0;o=Qa;M=c[o>>2]|0;o=c[o+4>>2]|0;g=(g&t&y|I)&M;j=(j&v&z|p)&o;_a=zu(g|0,j|0,16)|0;w=zu(g|0,j|0,48)|0;w=(((d[1213348+(_a&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(j&65535)>>0]|0)+(d[1213348+w>>0]|0)|0)*997|0)+f|0;f=I|~(B|l);j=p|~(H|m);p=Ya;g=c[p>>2]|0;p=c[p+4>>2]|0;m=Ra;I=c[m>>2]|0;m=c[m+4>>2]|0;l=zu(I|0,m|0,8)|0;l=~(I&B&l|g);m=~(m&H&C|p);I=(q|0)==8;if(I){_a=(c[(c[db>>2]|0)+36>>2]|0)==0;u=_a?f:t;j=_a?j:v;F=_a?l:t;m=_a?m:v}else{u=f;F=l}E=bb;D=c[E>>2]|0;E=c[E+4>>2]|0;Pa=22912+(N<<3)|0;l=23424+(N<<3)|0;l=(_(c[Pa+4>>2]&E,c[l+4>>2]|0)|0)^(_(c[Pa>>2]&D,c[l>>2]|0)|0);l=(c[1095812+(N<<2)>>2]|0)+(l>>>(c[1096068+(N<<2)>>2]|0)<<3)|0;Pa=c[l>>2]|0;l=c[l+4>>2]|0;v=23936+(N<<3)|0;x=24448+(N<<3)|0;x=(_(c[v+4>>2]&E,c[x+4>>2]|0)|0)^(_(c[v>>2]&D,c[x>>2]|0)|0);x=(c[1096324+(N<<2)>>2]|0)+(x>>>(c[1096580+(N<<2)>>2]|0)<<3)|0;v=c[x>>2]|0;x=c[x+4>>2]|0;f=(u&y&(v|Pa)|0)==0?(j&z&(x|l)|0)==0:0;y=c[274740]|0;n=n-(f?0:y)|0;f=f?w:w+695|0;t=Q;u=M&~(B|A)&c[t>>2]|u;t=o&~(H|G)&c[t+4>>2]|j;_a=da;j=c[_a>>2]&Pa;l=c[_a+4>>2]&l;do if((u&j|0)==0&(t&l|0)==0){if((j&F|0)==0&(l&m|0)==0)break;n=n-(c[274741]|0)|0}else{f=f+638|0;n=n-y|0}while(0);j=Oa;l=c[j>>2]&v;j=c[j+4>>2]&x;do if((l&u|0)==0&(j&t|0)==0){if((l&F|0)==0&(j&m|0)==0)break;n=n-(c[274741]|0)|0}else{f=f+538|0;n=n-y|0}while(0);l=26816+(N<<3)|0;_a=Sa;j=c[_a>>2]&c[l>>2];l=c[_a+4>>2]&c[l+4>>2];do if((j&u|0)==0&(l&t|0)==0){if((j&F|0)==0&(l&m|0)==0)break;n=n-(c[274741]|0)|0}else{f=f+874|0;n=n-y|0}while(0);if(J){Na=D&K;Pa=E&L;Ma=zu(Na|0,Pa|0,16)|0;_a=zu(Na|0,Pa|0,48)|0;n=(_((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(Na&65535)>>0]|0)+(d[1213348+(Pa&65535)>>0]|0)+(d[1213348+_a>>0]|0)|0,-6553700)|0)+n|0}if((f|0)<=0){f=M;break}h:do if(I)switch(c[(c[db>>2]|0)+36>>2]|0){case 2:case 3:case 4:{f=f*3|0;break h}case 1:{f=f<<1;break h}case 0:{f=((f|0)/2|0)+f|0;break h}default:break h}while(0);_a=(_(f,f)|0)>>>12;f=M;n=n-(_a>>>0>1652?1652:_a)|0}while(0);j=N&7;m=72+(j<<3)|0;l=c[m>>2]|0;m=c[m+4>>2]|0;Na=l&s;_a=m&r;Pa=zu(Na|0,_a|0,4)|0;g=f&~g&Na|Pa;f=o&~p&_a|C;switch(q|0){case 2:{_a=c[274717]|0;Na=zu(g|0,f|0,16)|0;Pa=zu(g|0,f|0,48)|0;f=_((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Pa>>0]|0)|0,_a)|0;break}case 3:{_a=c[274718]|0;Na=zu(g|0,f|0,16)|0;Pa=zu(g|0,f|0,48)|0;f=_((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Pa>>0]|0)|0,_a)|0;break}default:{_a=c[274739]|0;Na=zu(g|0,f|0,16)|0;Pa=zu(g|0,f|0,48)|0;f=_((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Pa>>0]|0)|0,_a)|0}}_a=Ra;Pa=8+(j<<3)|0;k=O+k-(n-f+((((c[Pa>>2]|l)&c[_a>>2]|0)==0?((c[Pa+4>>2]|m)&c[_a+4>>2]|0)==0:0)?0-(c[274748]|0)|0:0)<<((q|0)==3&1))|0;switch(q|0){case 1:{_a=277;break f}case 2:break;default:{w=q;_a=282;break f}}q=ab;y=c[q>>2]|0;q=c[q+4>>2]|0;u=Ra;v=c[u>>2]|0;u=c[u+4>>2]|0;p=Ya;w=2;g=y&~v;m=0;j=q&~u;l=0;n=c[p>>2]|0;p=c[p+4>>2]|0;o=1;z=k;f=0;_a=287}while(0);if((_a|0)==277){n=ib;j=c[n>>2]|0;n=c[n+4>>2]|0;q=ab;l=c[q>>2]|0;q=c[q+4>>2]|0;f=l&j;g=q&n;r=cb;p=c[r>>2]|0;r=c[r+4>>2]|0;o=$a;m=c[o>>2]|0;o=c[o+4>>2]|0;if(!((p&(f|m)|0)==0&(r&(g|o)|0)==0&((f&~p|0)!=0|(g&~r|0)!=0)))if((f|0)==0&(g|0)==0|(m&p|0)==0&(o&r|0)==0)f=0;else f=_(c[274714]|0,0-(c[e+336>>2]|0)|0)|0;else f=0-(c[274713]|0)|0;u=Ra;v=c[u>>2]|0;u=c[u+4>>2]|0;Xa=v&m;g=u&o;Va=bb;t=c[Va>>2]|0;Va=c[Va+4>>2]|0;Na=~t;Wa=~Va;Pa=Au(Xa|0,g|0,8)|0;g=Au(Na&16711680&Pa|Xa|0,g|0,8)|0;g=g&Na;Xa=C&Wa;Pa=Sa;Ra=da;Ya=P;_a=h;Sa=(c[Oa>>2]|c[Pa>>2]|c[Ra>>2]|c[Ya>>2]|c[_a>>2])&Na;Wa=(c[Oa+4>>2]|c[Pa+4>>2]|c[Ra+4>>2]|c[Ya+4>>2]|c[_a+4>>2])&Wa;_a=Qa;Ya=Sa&~c[_a>>2]|g&~j;_a=Wa&~c[_a+4>>2]|Xa&~n;g=(Sa|g)&p;Xa=(Wa|Xa)&r;j=zu(g|0,Xa|0,16)|0;Wa=zu(g|0,Xa|0,48)|0;Wa=(_((d[1213348+(j&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+Wa>>0]|0)|0,c[274715]|0)|0)+f|0;Ya=Ya&p;_a=_a&r;Xa=zu(Ya|0,_a|0,16)|0;g=zu(Ya|0,_a|0,48)|0;j=Va;g=Wa+(_((d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+g>>0]|0)|0,c[274716]|0)|0)|0;_a=308}else if((_a|0)==282){q=ab;s=c[q>>2]|0;q=c[q+4>>2]|0;f=e+296|0;u=e+304|0;r=ib;o=c[r>>2]|0;r=c[r+4>>2]|0;j=cb;g=c[j>>2]|0;j=c[j+4>>2]|0;f=((s&~(c[u>>2]|c[f>>2])&~(g|o)|0)==0?(q&~(c[u+4>>2]|c[f+4>>2])&~(j|r)|0)==0:0)?0:c[274743]|0;u=Ra;v=c[u>>2]|0;u=c[u+4>>2]|0;n=s&~v;p=q&~u;m=Va;l=n&c[m>>2];m=p&c[m+4>>2];if(!((l|0)==0&(m|0)==0)){_a=$a;Ra=v&(o|~g)&c[_a>>2];j=u&(r|~j)&c[_a+4>>2];_a=Au(Ra|0,j|0,9)|0;g=C&-16843010;j=Au(Ra|0,j|0,7)|0;j=(_a&-16843264|j&2139062016)&l;g=(g|C&2139062143)&m;f=((l|0)==(j|0)&(m|0)==(g|0)?0:c[274742]|0)+f|0;if(!((j|0)==0&(g|0)==0))do{_a=fb(j|0,g|0,0)|0;Ra=yu(j|0,g|0,-1,-1)|0;j=Ra&j;g=C&g;f=(c[1098704+((c[e+(_a<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((j|0)==0&(g|0)==0))}z=Ya;_a=c[z>>2]|0;z=c[z+4>>2]|0;g=_a&n;m=s&~_a&o;j=z&p;l=q&~z&r;y=s;n=_a;p=z;o=0;z=k;_a=287}i:do if((_a|0)==287){g=m|g;j=l|j;if(!((g|0)==0&(j|0)==0)){Ra=Oa;g=(c[Ra>>2]|c[Sa>>2])&g;j=(c[Ra+4>>2]|c[Sa+4>>2])&j;if(!((g|0)==0&(j|0)==0))do{Sa=fb(g|0,j|0,0)|0;Ra=yu(g|0,j|0,-1,-1)|0;g=Ra&g;j=C&j;f=(c[1098736+((c[e+(Sa<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((g|0)==0&(j|0)==0));Sa=e+296|0;j=da;g=(c[Sa>>2]&y|m)&c[j>>2];j=(c[Sa+4>>2]&q|l)&c[j+4>>2];if(!((g|0)==0&(j|0)==0))do{Sa=fb(g|0,j|0,0)|0;Ra=yu(g|0,j|0,-1,-1)|0;g=Ra&g;j=C&j;f=(c[1098768+((c[e+(Sa<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((g|0)==0&(j|0)==0));j=c[274745]|0;Sa=cb;Ra=m&~c[Sa>>2];Sa=l&~c[Sa+4>>2];Qa=zu(Ra|0,Sa|0,16)|0;g=zu(Ra|0,Sa|0,48)|0;j=(_((d[1213348+(Qa&65535)>>0]|0)+(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+g>>0]|0)|0,j)|0)+f|0;f=h;g=c[f>>2]&m;f=c[f+4>>2]&l;if((w|0)!=2&((g|0)!=0|(f|0)!=0)){Sa=yu(g|0,f|0,-1,-1)|0;f=(c[1098800+((((Sa&g|0)!=0|(C&f|0)!=0)&1)<<2)>>2]|0)+j|0}else f=j}x=$a;m=c[x>>2]|0;x=c[x+4>>2]|0;Sa=m&v;l=x&u;Ra=Au(Sa|0,l|0,8)|0;j=bb;k=c[j>>2]|0;j=c[j+4>>2]|0;h=~k;g=~j;l=Au(h&16711680&Ra|Sa|0,l&65535|0,8)|0;if(!o){Ra=ib;Sa=cb;h=h&~n&(c[Ra>>2]|~c[Sa>>2]);g=g&~p&(c[Ra+4>>2]|~c[Sa+4>>2])}Pa=h&l;Sa=g&C;Qa=Au(Pa|0,Sa|0,7)|0;Ra=C&2139062143;Sa=Au(Pa|0,Sa|0,9)|0;g=Va;Sa=(c[g>>2]^-65536)&y&(Qa&2139029504|Sa&-16908288);Ra=~c[g+4>>2]&q&(Ra|C&-16843010);g=c[274746]|0;Qa=zu(Sa|0,Ra|0,16)|0;Sa=zu(Sa|0,Ra|0,48)|0;g=(_((d[1213348+(Qa&65535)>>0]|0)+(d[1213348]|0)+(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+Sa>>0]|0)|0,g)|0)+f|0;switch(w|0){case 1:{o=x;l=y;t=k;k=z;_a=308;break i}case 8:{w=8;g=(c[1098808+(c[(c[db>>2]|0)+36>>2]<<2)>>2]|0)+g|0;_a=313;break}case 4:{if((c[e+392>>2]|0)==0?(_a=e+288|0,Xa=e+296|0,Wa=c[Xa>>2]|0,Xa=c[Xa+4>>2]|0,!(((Wa|c[_a>>2])&m|0)==0?((Xa|c[_a+4>>2])&x|0)==0:0)):0){Ua=P;Sa=da;_a=25536;if(((c[Sa>>2]|c[Ua>>2])&c[_a>>2]|0)==0?((c[Sa+4>>2]|c[Ua+4>>2])&c[_a+4>>2]|0)==0:0){o=v&y;p=u&q;h=0;f=8;j:while(1){_a=25472+(h<<3)|0;Ua=c[_a>>2]&o;_a=c[_a+4>>2]&p;Sa=zu(Ua|0,_a|0,16)|0;n=zu(Ua|0,_a|0,48)|0;n=(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+(Ua&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+n>>0]|0)|0;do if((h|0)>0){_a=25472+(h+-1<<3)|0;Ua=c[_a>>2]&o;_a=c[_a+4>>2]&p;Sa=zu(Ua|0,_a|0,16)|0;l=zu(Ua|0,_a|0,48)|0;l=(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+(Ua&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+l>>0]|0)|0;l=n>>>0<l>>>0?n:l;if((h|0)<7)break;h=h+1|0;f=(l|0)<(f|0)?l:f;if((h|0)==8)break j;else continue j}else l=0;while(0);Ua=h+1|0;Sa=25472+(Ua<<3)|0;Ra=c[Sa>>2]&o;Sa=c[Sa+4>>2]&p;Qa=zu(Ra|0,Sa|0,16)|0;_a=zu(Ra|0,Sa|0,48)|0;_a=(d[1213348+(Qa&65535)>>0]|0)+(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+_a>>0]|0)|0;_a=(n>>>0<_a>>>0?n:_a)+l|0;h=Ua;f=(_a|0)<(f|0)?_a:f}f=f+1|0}else f=1;Ua=_(c[e+372>>2]|0,c[274742]|0)|0;Ua=(((Ua+32768>>16|0)/(f|0)|0)<<16)+((Ua<<16>>16|0)/(f|0)|0)|0;_a=(Wa&m|0)!=0|(Xa&x|0)!=0?2:4;w=4;g=((Ua<<16>>16|0)/(_a|0)|0)+g+(((Ua+32768>>16|0)/(_a|0)|0)<<16)|0;_a=313}else{w=4;_a=313}break}case 2:{s=Va;h=m&~v;o=0;l=x&~u;n=0;w=2;p=c[s>>2]|0;s=c[s+4>>2]|0;r=1;f=0;break}default:_a=313}if((_a|0)==313){f=e+296|0;p=e+304|0;t=cb;r=c[t>>2]|0;t=c[t+4>>2]|0;l=ib;h=c[l>>2]|0;l=c[l+4>>2]|0;f=((m&~(c[p>>2]|c[f>>2])&~(h|r)|0)==0?(x&~(c[p+4>>2]|c[f+4>>2])&~(l|t)|0)==0:0)?0:c[274743]|0;p=m&~v;s=x&~u;o=Ya;n=p&c[o>>2];o=s&c[o+4>>2];if(!((n|0)==0&(o|0)==0)){Wa=v&(r|~h)&y;l=u&(t|~l)&q;Xa=zu(Wa|0,l|0,9)|0;h=C&8355711;l=zu(Wa|0,l|0,7)|0;l=(Xa&2139062143|l&-16843010)&n;h=(h|C&16711422)&o;f=((n|0)==(l|0)&(o|0)==(h|0)?0:c[274742]|0)+f|0;if(!((l|0)==0&(h|0)==0))do{Xa=fb(l|0,h|0,0)|0;Wa=yu(l|0,h|0,-1,-1)|0;l=Wa&l;h=C&h;f=(c[1098704+((c[e+(Xa<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((l|0)==0&(h|0)==0))}Xa=Va;Wa=c[Xa>>2]|0;Xa=c[Xa+4>>2]|0;h=Wa&p;o=m&~Wa&r;l=Xa&s;n=x&~Xa&t;p=Wa;s=Xa;r=0}h=o|h;l=n|l;if(!((h|0)==0&(l|0)==0)){Xa=Ta;Wa=ea;h=(c[Wa>>2]|c[Xa>>2])&h;l=(c[Wa+4>>2]|c[Xa+4>>2])&l;if(!((h|0)==0&(l|0)==0))do{Xa=fb(h|0,l|0,0)|0;Wa=yu(h|0,l|0,-1,-1)|0;h=Wa&h;l=C&l;f=(c[1098736+((c[e+(Xa<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((h|0)==0&(l|0)==0));Xa=e+296|0;l=W;h=(c[Xa>>2]&m|o)&c[l>>2];l=(c[Xa+4>>2]&x|n)&c[l+4>>2];if(!((h|0)==0&(l|0)==0))do{Xa=fb(h|0,l|0,0)|0;Wa=yu(h|0,l|0,-1,-1)|0;h=Wa&h;l=C&l;f=(c[1098768+((c[e+(Xa<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((h|0)==0&(l|0)==0));l=c[274745]|0;Xa=ib;Wa=o&~c[Xa>>2];Xa=n&~c[Xa+4>>2];Va=zu(Wa|0,Xa|0,16)|0;h=zu(Wa|0,Xa|0,48)|0;l=(_((d[1213348+(Va&65535)>>0]|0)+(d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+h>>0]|0)|0,l)|0)+f|0;f=Za;h=c[f>>2]&o;f=c[f+4>>2]&n;if((w|0)!=2&((h|0)!=0|(f|0)!=0)){Za=yu(h|0,f|0,-1,-1)|0;l=(c[1098800+((((Za&h|0)!=0|(C&f|0)!=0)&1)<<2)>>2]|0)+l|0}}else l=f;Za=y&v;n=q&u;zu(Za|0,n|0,8)|0;h=~k;f=~j;n=zu(Za&-65536|0,f&65280&C|n|0,8)|0;if(!r){Xa=cb;Za=ib;h=h&~p&(c[Xa>>2]|~c[Za>>2]);f=f&~s&(c[Xa+4>>2]|~c[Za+4>>2])}Va=h&n;Xa=f&C;Wa=zu(Va|0,Xa|0,7)|0;Za=C&65278;Xa=zu(Va|0,Xa|0,9)|0;f=Ya;Ya=~c[f>>2]&m&(Wa&-16843010|Xa&2139062143);Za=(c[f+4>>2]^65535)&x&(Za|C&32639);f=c[274746]|0;Xa=zu(Ya|0,Za|0,16)|0;f=(_((d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+Za>>0]|0)+(d[1213348]|0)|0,f)|0)+l|0;switch(w|0){case 8:{l=y;o=x;k=z;f=(c[1098808+(c[(c[db>>2]|0)+40>>2]<<2)>>2]|0)+f|0;_a=344;break i}case 4:{_a=329;break}default:{}}if((_a|0)==329){if(c[e+360>>2]|0){l=y;o=x;k=z;_a=344;break}_a=e+288|0;t=e+296|0;s=c[t>>2]|0;t=c[t+4>>2]|0;if(((s|c[_a>>2])&y|0)==0?((t|c[_a+4>>2])&q|0)==0:0){l=y;o=x;k=z;_a=344;break}Za=Q;Ya=W;_a=25536;if(((c[Ya>>2]|c[Za>>2])&c[_a>>2]|0)==0?((c[Ya+4>>2]|c[Za+4>>2])&c[_a+4>>2]|0)==0:0){r=v&m;p=u&x;l=0;h=8;k:while(1){_a=25472+(l<<3)|0;Za=c[_a>>2]&r;_a=c[_a+4>>2]&p;Ya=zu(Za|0,_a|0,16)|0;o=zu(Za|0,_a|0,48)|0;o=(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+o>>0]|0)|0;do if((l|0)>0){_a=25472+(l+-1<<3)|0;Za=c[_a>>2]&r;_a=c[_a+4>>2]&p;Ya=zu(Za|0,_a|0,16)|0;n=zu(Za|0,_a|0,48)|0;n=(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+n>>0]|0)|0;n=o>>>0<n>>>0?o:n;if((l|0)<7)break;l=l+1|0;h=(n|0)<(h|0)?n:h;if((l|0)==8)break k;else continue k}else n=0;while(0);Za=l+1|0;Ya=25472+(Za<<3)|0;Xa=c[Ya>>2]&r;Ya=c[Ya+4>>2]&p;Wa=zu(Xa|0,Ya|0,16)|0;_a=zu(Xa|0,Ya|0,48)|0;_a=(d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+_a>>0]|0)|0;_a=(o>>>0<_a>>>0?o:_a)+n|0;l=Za;h=(_a|0)<(h|0)?_a:h}h=h+1|0}else h=1;Za=_(c[e+340>>2]|0,c[274742]|0)|0;Za=(((Za+32768>>16|0)/(h|0)|0)<<16)+((Za<<16>>16|0)/(h|0)|0)|0;_a=(s&y|0)!=0|(t&q|0)!=0?2:4;f=((Za<<16>>16|0)/(_a|0)|0)+f+(((Za+32768>>16|0)/(_a|0)|0)<<16)|0}if((w|0)==6){n=c[e+1936>>2]|0;o=n>>3;h=o^7;k=o+1|0;if((k|0)<8){l=cb;m=~(m|c[l>>2]);l=~(x|c[l+4>>2]);j=o;while(1){cb=25536+(k<<3)|0;j=99520+(n<<6)+(j-o<<3)|0;h=(((c[cb>>2]&m&c[j>>2]|0)==0?(c[cb+4>>2]&l&c[j+4>>2]|0)==0:0)&1)+h|0;j=k+1|0;if((j|0)==8)break;else{cb=k;k=j;j=cb}}}l=y;j=q;q=z;h=c[1098876+(((h|0)>7?7:h)<<2)>>2]|0;p=f;_a=377;break}else{r=(c[eb>>2]|0)+16|0;p=c[r>>2]|0;r=c[r+4>>2]|0;if((w|0)!=5){l=y;o=x;k=z;h=0;_a=347;break}n=c[e+1936>>2]|0;l=0;h=0;while(1){Za=c[3044+(l<<2)>>2]|0;Sa=c[1079428+(n<<8)+(Za<<2)>>2]|0;Ta=vf(e,Za,k,j)|0;k=ab;j=c[k>>2]|0;k=c[k+4>>2]|0;Ta=j&Ta;Va=k&C;Ua=zu(Ta|0,Va|0,16)|0;Wa=zu(Ta|0,Va|0,48)|0;Ta=d[1213348+(Ta&65535)>>0]|0;Ua=d[1213348+(Ua&65535)>>0]|0;Va=d[1213348+(Va&65535)>>0]|0;Wa=d[1213348+Wa>>0]|0;o=$a;m=c[o>>2]|0;o=c[o+4>>2]|0;Za=24960+(Za<<3)|0;Xa=c[Za>>2]&m;Za=c[Za+4>>2]&o;Ya=zu(Xa|0,Za|0,16)|0;_a=zu(Xa|0,Za|0,48)|0;_a=Sa+-1+Ta+Ua+Va+Wa+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+_a>>0]|0)|0;h=(c[1098824+(((_a|0)>5?5:_a)<<2)>>2]|0)+h|0;l=l+1|0;if((l|0)==4){l=j;q=k;k=z;_a=347;break i}j=bb;k=c[j>>2]|0;j=c[j+4>>2]|0}}}while(0);if((_a|0)==308){p=cb;n=c[p>>2]|0;p=c[p+4>>2]|0;f=m&n;h=o&p;s=ib;r=c[s>>2]|0;s=c[s+4>>2]|0;if(!((r&(f|l)|0)==0&(s&(h|q)|0)==0&((f&~r|0)!=0|(h&~s|0)!=0)))if((f|0)==0&(h|0)==0|(l&r|0)==0&(q&s|0)==0)f=0;else f=_(c[274714]|0,0-(c[e+368>>2]|0)|0)|0;else f=0-(c[274713]|0)|0;Ya=v&l;Wa=u&q;Xa=~t;Va=~j;zu(Ya|0,Wa|0,8)|0;Wa=zu(Ya|0,Va&65280&C|Wa|0,8)|0;Wa=Wa&Xa;Ya=C&Va;Ra=Ta;Qa=ea;Sa=W;Ta=Q;_a=Za;Xa=(c[Qa>>2]|c[Ra>>2]|c[Sa>>2]|c[Ta>>2]|c[_a>>2])&Xa;Va=(c[Qa+4>>2]|c[Ra+4>>2]|c[Sa+4>>2]|c[Ta+4>>2]|c[_a+4>>2])&Va;_a=Ua;Za=Xa&~c[_a>>2]|Wa&~n;_a=Va&~c[_a+4>>2]|Ya&~p;Wa=(Xa|Wa)&r;Ya=(Va|Ya)&s;Va=zu(Wa|0,Ya|0,16)|0;Xa=zu(Wa|0,Ya|0,48)|0;Xa=(_((d[1213348+(Va&65535)>>0]|0)+(d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+Xa>>0]|0)|0,c[274715]|0)|0)+f|0;Za=Za&r;_a=_a&s;Ya=zu(Za|0,_a|0,16)|0;f=zu(Za|0,_a|0,48)|0;f=Xa+(_((d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+f>>0]|0)|0,c[274716]|0)|0)|0;_a=344}if((_a|0)==344){r=(c[eb>>2]|0)+16|0;p=c[r>>2]|0;r=c[r+4>>2]|0;h=0;_a=347}if((_a|0)==347){if((p|0)==0&(r|0)==0)j=c[hb>>2]|0;else{G=cb;F=l|c[G>>2];G=q|c[G+4>>2];H=c[274749]|0;j=c[hb>>2]|0;S=(j|0)==2?2916:2980;I=c[e+3984>>2]|0;J=c[e+1936>>2]|0;K=(c[e+360>>2]|0)==0;M=e+288|0;O=e+296|0;L=c[O>>2]|c[M>>2];M=c[O+4>>2]|c[M+4>>2];O=bb;N=c[O>>2]|0;O=c[O+4>>2]|0;Q=ib;P=c[Q>>2]|0;Q=c[Q+4>>2]|0;R=(c[e+392>>2]|0)==0;E=R?64:I;do{B=fb(p|0,r|0,0)|0;y=yu(p|0,r|0,-1,-1)|0;p=y&p;r=C&r;y=103616+(B<<3)|0;x=c[y>>2]|0;y=c[y+4>>2]|0;w=x&F;v=y&G;A=zu(w|0,v|0,16)|0;D=zu(w|0,v|0,48)|0;D=_((d[1213348+(A&65535)>>0]|0)+(d[1213348+(w&65535)>>0]|0)+(d[1213348+(v&65535)>>0]|0)+(d[1213348+D>>0]|0)|0,H)|0;v=B>>>3;w=v+-1|0;A=_(w,v+-2|0)|0;s=c[S+32+(w<<2)>>2]|0;n=c[S+(w<<2)>>2]|0;do if(A){z=B+8|0;l:do switch(j|0){case 4:if(K){s=(_(((c[1079428+(E<<8)+(z<<2)>>2]|0)*5|0)+-10|0,A)|0)+s|0;break l}else{s=(_(25-(c[1079428+(J<<8)+(z<<2)>>2]<<1)|0,A)|0)+s|0;break l}case 1:break;case 2:{t=(c[(R?1095812+(z<<2)|0:1079428+(I<<8)+(z<<2)|0)>>2]|0)*5|0;if(K){u=64;_a=360}else _a=359;break}default:{t=(c[1079428+(I<<8)+(z<<2)>>2]|0)*5|0;_a=359}}while(0);if((_a|0)==359){u=J;_a=360}if((_a|0)==360){_a=0;s=(_(t-(c[1079428+(u<<8)+(z<<2)>>2]<<1)|0,A)|0)+s|0;if((z&248|0)!=56){switch(j|0){case 4:{if(K)t=64;else _a=364;break}case 2:{if(K)t=64;else _a=364;break}default:_a=364}if((_a|0)==364){_a=0;t=J}s=s-(_(c[1079428+(t<<8)+(B+16<<2)>>2]|0,A)|0)|0}}if(c[e+(z<<2)>>2]|0){Za=24960+(z<<3)|0;if((c[Za>>2]&m|0)==0?(c[Za+4>>2]&o|0)==0:0)break;Za=_(w,v)|0;s=s+Za|0;n=n+Za|0;break}w=104128+(B<<3)|0;t=22912+(B<<3)|0;u=23424+(B<<3)|0;u=(_(c[t+4>>2]&O,c[u+4>>2]|0)|0)^(_(c[t>>2]&N,c[u>>2]|0)|0);u=(c[1095812+(B<<2)>>2]|0)+(u>>>(c[1096068+(B<<2)>>2]|0)<<3)|0;t=c[w>>2]&L&c[u>>2];u=c[w+4>>2]&M&c[u+4>>2];w=(t&m|0)==0&(u&o|0)==0;v=(w?P:-1)&x;w=(w?Q:-1)&y;u=(t&l|0)==0&(u&q|0)==0;t=(u?F:-1)&x;u=(u?G:-1)&y;if((t|0)==0&(u|0)==0)t=18;else{Za=24960+(z<<3)|0;t=((c[Za>>2]&t|0)==0?(c[Za+4>>2]&u|0)==0:0)?8:0}if((v|0)==(x|0)&(w|0)==(y|0))t=t+6|0;else{Za=24960+(z<<3)|0;t=((c[Za>>2]&v|0)==0?(c[Za+4>>2]&w|0)==0:0)?t:t|4}Za=_(t,A)|0;s=Za+s|0;n=Za+n|0}while(0);h=h-D+n+(s<<16)+(c[1098908+((B&7)<<2)>>2]|0)|0}while(!((p|0)==0&(r|0)==0))}if((j|0)!=6){s=(c[eb>>2]|0)+24|0;r=c[s>>2]|0;s=c[s+4>>2]|0;if((j|0)==5){l=c[e+3984>>2]|0;n=0;j=0;do{Ya=c[3044+(n<<2)>>2]|0;Ra=c[1079428+(l<<8)+(Ya<<2)>>2]|0;Sa=bb;Sa=vf(e,Ya,c[Sa>>2]|0,c[Sa+4>>2]|0)|0;o=$a;m=c[o>>2]|0;o=c[o+4>>2]|0;Sa=m&Sa;Ua=o&C;Ta=zu(Sa|0,Ua|0,16)|0;Va=zu(Sa|0,Ua|0,48)|0;Sa=d[1213348+(Sa&65535)>>0]|0;Ta=d[1213348+(Ta&65535)>>0]|0;Ua=d[1213348+(Ua&65535)>>0]|0;Va=d[1213348+Va>>0]|0;q=ab;p=c[q>>2]|0;q=c[q+4>>2]|0;Ya=24960+(Ya<<3)|0;Wa=c[Ya>>2]&p;Ya=c[Ya+4>>2]&q;Xa=zu(Wa|0,Ya|0,16)|0;Za=zu(Wa|0,Ya|0,48)|0;Za=Ra+-1+Sa+Ta+Ua+Va+(d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+Za>>0]|0)|0;j=(c[1098824+(((Za|0)>5?5:Za)<<2)>>2]|0)+j|0;n=n+1|0}while((n|0)!=4);l=p}else j=0;if(!((r|0)==0&(s|0)==0)){L=ib;K=m|c[L>>2];L=o|c[L+4>>2];M=c[274749]|0;N=c[hb>>2]|0;T=(N|0)==2?2916:2980;O=c[e+1936>>2]|0;P=c[e+3984>>2]|0;Q=(c[e+392>>2]|0)==0;S=e+288|0;J=e+296|0;R=c[J>>2]|c[S>>2];S=c[J+4>>2]|c[S+4>>2];J=bb;I=c[J>>2]|0;J=c[J+4>>2]|0;G=cb;F=c[G>>2]|0;G=c[G+4>>2]|0;H=(c[e+360>>2]|0)==0;E=H?64:O;D=r;B=s;do{z=fb(D|0,B|0,0)|0;w=yu(D|0,B|0,-1,-1)|0;D=w&D;B=C&B;w=104128+(z<<3)|0;v=c[w>>2]|0;w=c[w+4>>2]|0;u=v&K;t=w&L;y=zu(u|0,t|0,16)|0;A=zu(u|0,t|0,48)|0;A=_((d[1213348+(y&65535)>>0]|0)+(d[1213348+(u&65535)>>0]|0)+(d[1213348+(t&65535)>>0]|0)+(d[1213348+A>>0]|0)|0,M)|0;t=z>>>3^7;u=t+-1|0;y=_(u,t+-2|0)|0;p=c[T+32+(u<<2)>>2]|0;n=c[T+(u<<2)>>2]|0;do if(y){x=z+-8|0;m:do switch(N|0){case 4:if(Q){p=(_(((c[1079428+(E<<8)+(x<<2)>>2]|0)*5|0)+-10|0,y)|0)+p|0;break m}else{p=(_(25-(c[1079428+(P<<8)+(x<<2)>>2]<<1)|0,y)|0)+p|0;break m}case 1:break;case 2:{r=(c[(H?1095812+(x<<2)|0:1079428+(O<<8)+(x<<2)|0)>>2]|0)*5|0;if(Q){s=64;_a=394}else _a=393;break}default:{r=(c[1079428+(O<<8)+(x<<2)>>2]|0)*5|0;_a=393}}while(0);if((_a|0)==393){s=P;_a=394}if((_a|0)==394){_a=0;p=(_(r-(c[1079428+(s<<8)+(x<<2)>>2]<<1)|0,y)|0)+p|0;if(x>>>0>=8){switch(N|0){case 4:{if(Q)r=64;else _a=398;break}case 2:{if(Q)r=64;else _a=398;break}default:_a=398}if((_a|0)==398){_a=0;r=P}p=p-(_(c[1079428+(r<<8)+(z+-16<<2)>>2]|0,y)|0)|0}}if(c[e+(x<<2)>>2]|0){cb=24960+(x<<3)|0;if((c[cb>>2]&l|0)==0?(c[cb+4>>2]&q|0)==0:0)break;cb=_(u,t)|0;p=p+cb|0;n=n+cb|0;break}u=103616+(z<<3)|0;r=22912+(z<<3)|0;s=23424+(z<<3)|0;s=(_(c[r+4>>2]&J,c[s+4>>2]|0)|0)^(_(c[r>>2]&I,c[s>>2]|0)|0);s=(c[1095812+(z<<2)>>2]|0)+(s>>>(c[1096068+(z<<2)>>2]|0)<<3)|0;r=c[u>>2]&R&c[s>>2];s=c[u+4>>2]&S&c[s+4>>2];u=(r&l|0)==0&(s&q|0)==0;t=(u?F:-1)&v;u=(u?G:-1)&w;s=(r&m|0)==0&(s&o|0)==0;r=(s?K:-1)&v;s=(s?L:-1)&w;if((r|0)==0&(s|0)==0)r=18;else{cb=24960+(x<<3)|0;r=((c[cb>>2]&r|0)==0?(c[cb+4>>2]&s|0)==0:0)?8:0}if((t|0)==(v|0)&(u|0)==(w|0))r=r+6|0;else{cb=24960+(x<<3)|0;r=((c[cb>>2]&t|0)==0?(c[cb+4>>2]&u|0)==0:0)?r:r|4}cb=_(r,y)|0;p=cb+p|0;n=cb+n|0}while(0);j=j-A+n+(p<<16)+(c[1098908+((z&7)<<2)>>2]|0)|0}while(!((D|0)==0&(B|0)==0))}}else{j=q;q=k;p=f;_a=377}}if((_a|0)==377){n=c[e+3984>>2]|0;o=n>>3;f=o^7;k=o+1|0;if((k|0)<8){cb=ib;m=~(l|c[cb>>2]);l=~(j|c[cb+4>>2]);j=o;while(1){cb=25536+(k<<3)|0;j=99520+(n<<6)+(j-o<<3)|0;f=(((c[cb>>2]&m&c[j>>2]|0)==0?(c[cb+4>>2]&l&c[j+4>>2]|0)==0:0)&1)+f|0;j=k+1|0;if((j|0)==8)break;else{cb=k;k=j;j=cb}}}k=q;j=c[1098876+(((f|0)>7?7:f)<<2)>>2]|0;f=p}f=g+k-f+(h-j)|0;k=c[db>>2]|0;l=c[k+16>>2]|0;if((l|0)==0?(c[k+20>>2]|0)==0:0){j=c[eb>>2]|0;h=j+16|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if(!((g|0)==0&(h|0)==0)){cb=c[274747]|0;db=Fu(g|0,h|0,0)|0;f=(_(cb,63-db>>3)|0)+f|0}h=j+24|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if(!((g|0)==0&(h|0)==0)){cb=c[274747]|0;db=fb(g|0,h|0,0)|0;f=f-(_(cb,db>>>3^7)|0)|0}}if((c[hb>>2]|0)==4){hb=zd(e,ib)|0;f=hb+f-(Ad(e,ib)|0)|0}else{if(((c[k+20>>2]|0)+l|0)>12221){hb=zd(e,ib)|0;f=hb+f-(Ad(e,ib)|0)|0}f=(Bd(e,c[(c[eb>>2]|0)+112>>2]|0,f+32768>>16)|0)+f|0}eb=f+32768>>16;hb=Cd(e,ib,eb)|0;ib=c[(c[gb>>2]|0)+24>>2]|0;ib=(((_(_(eb,hb)|0,128-ib|0)|0)/64|0)+(_(ib,f<<16>>16)|0)|0)/128|0;e=((c[e+5348>>2]|0)==0?ib:0-ib|0)+20|0;i=jb;return e|0}function Ed(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,j=0,k=0,l=0,m=0;d=i;i=i+160|0;g=d+144|0;j=d;xu(971968,0,480)|0;k=yd(b)|0;k=(c[b+5348>>2]|0)==0?k:0-k|0;f=j+8|0;c[f>>2]=3092;e=j+12|0;c[j>>2]=3296;b=j+64|0;c[b>>2]=3316;c[j+4>>2]=0;Ml(j+64|0,e);c[j+136>>2]=0;c[j+140>>2]=-1;c[j>>2]=3072;c[j+64>>2]=3112;c[f>>2]=3092;Ol(e);c[e>>2]=3128;f=j+44|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[j+60>>2]=24;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;Sd(e,g);Zj(g);g=j+8|0;l=g+(c[(c[g>>2]|0)+-12>>2]|0)+4|0;c[l>>2]=c[l>>2]|1024;l=g+(c[(c[g>>2]|0)+-12>>2]|0)+4|0;c[l>>2]=c[l>>2]&-2049;l=g+(c[(c[g>>2]|0)+-12>>2]|0)+4|0;c[l>>2]=c[l>>2]&-261|4;c[g+(c[(c[g>>2]|0)+-12>>2]|0)+8>>2]=2;l=Td(Td(Td(Td(g,14193,59)|0,14253,59)|0,14313,59)|0,14373,18)|0;Td(l,14392,28)|0;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=5;m=Td(bm(l,+h[121528]-+h[121530])|0,15898,1)|0;c[m+(c[(c[m>>2]|0)+-12>>2]|0)+12>>2]=5;Td(bm(m,+h[121529]-+h[121531])|0,14421,2)|0;l=Td(l,14424,18)|0;Td(l,14392,28)|0;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=5;m=Td(bm(l,+h[121532]-+h[121534])|0,15898,1)|0;c[m+(c[(c[m>>2]|0)+-12>>2]|0)+12>>2]=5;Td(bm(m,+h[121533]-+h[121535])|0,14421,2)|0;l=Td(l,14443,18)|0;Td(l,14392,28)|0;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=5;m=Td(bm(l,+h[121500]-+h[121502])|0,15898,1)|0;c[m+(c[(c[m>>2]|0)+-12>>2]|0)+12>>2]=5;Td(bm(m,+h[121501]-+h[121503])|0,14421,2)|0;l=Td(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(Vd(Td(l,14462,18)|0,2)|0,14481,18)|0,3)|0,14500,18)|0,4)|0,14519,18)|0,5)|0,14538,18)|0,10)|0,14557,18)|0,6)|0,14576,18)|0,11)|0,14595,18)|0,12)|0,14614,18)|0,13)|0,14313,59)|0,14633,18)|0;Td(l,14392,28)|0;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=5;l=Td(bm(l,+h[121552]-+h[121554])|0,15898,1)|0;c[l+(c[(c[l>>2]|0)+-12>>2]|0)+12>>2]=5;Td(bm(l,+h[121553]-+h[121555])|0,14421,2)|0;Td(bm(Td(g,14652,19)|0,+(k|0)/248.0)|0,14672,14)|0;Wd(a,e);c[j>>2]=3072;c[b>>2]=3112;c[g>>2]=3092;c[e>>2]=3128;Zj(f);Pk(e);Lk(b);i=d;return}function Fd(a){a=a|0;var b=0,d=0;c[a>>2]=3072;b=a+64|0;c[b>>2]=3112;c[a+8>>2]=3092;d=a+12|0;c[d>>2]=3128;Zj(a+44|0);Pk(d);Lk(b);return}function Gd(a){a=a|0;c[a>>2]=3128;Zj(a+32|0);Pk(a);return}function Hd(a){a=a|0;c[a>>2]=3128;Zj(a+32|0);Pk(a);Qt(a);return}function Id(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;i=d+44|0;j=c[i>>2]|0;m=d+24|0;n=c[m>>2]|0;k=n;if(j>>>0<n>>>0){c[i>>2]=n;l=k}else l=j;i=h&24;if(!i){d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}if((g|0)==1&(i|0)==24){d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}a:do switch(g|0){case 0:{i=0;j=0;break}case 1:if(!(h&8)){j=k-(c[d+20>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break a}else{j=(c[d+12>>2]|0)-(c[d+8>>2]|0)|0;i=j;j=((j|0)<0)<<31>>31;break a}case 2:{i=d+32|0;if(!(a[i>>0]&1))i=i+1|0;else i=c[d+40>>2]|0;j=l-i|0;i=j;j=((j|0)<0)<<31>>31;break}default:{d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}}while(0);j=yu(i|0,j|0,e|0,f|0)|0;k=C;if((k|0)>=0){i=d+32|0;if(!(a[i>>0]&1))i=i+1|0;else i=c[d+40>>2]|0;f=l-i|0;e=((f|0)<0)<<31>>31;if(!((e|0)<(k|0)|(e|0)==(k|0)&f>>>0<j>>>0)){i=h&8;if(!((j|0)==0&(k|0)==0)){if(i|0?(c[d+12>>2]|0)==0:0){d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}if((h&16|0)!=0&(n|0)==0){d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}}if(i|0){c[d+12>>2]=(c[d+8>>2]|0)+j;c[d+16>>2]=l}if(h&16|0)c[m>>2]=(c[d+20>>2]|0)+j;d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=j;c[d+4>>2]=k;return}}d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=-1;c[d+4>>2]=-1;return}function Jd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;d=d+8|0;Ib[c[(c[b>>2]|0)+16>>2]&15](a,b,c[d>>2]|0,c[d+4>>2]|0,0,e);return}function Kd(a){a=a|0;var b=0,e=0,f=0;b=a+44|0;e=c[b>>2]|0;f=c[a+24>>2]|0;if(e>>>0<f>>>0){c[b>>2]=f;b=f}else b=e;if(!(c[a+48>>2]&8)){a=-1;return a|0}f=a+16|0;e=c[f>>2]|0;if(e>>>0<b>>>0){c[f>>2]=b;e=b}b=c[a+12>>2]|0;if(b>>>0>=e>>>0){a=-1;return a|0}a=d[b>>0]|0;return a|0}function Ld(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=b+44|0;e=c[f>>2]|0;g=c[b+24>>2]|0;if(e>>>0<g>>>0){c[f>>2]=g;e=g}h=b+12|0;f=c[h>>2]|0;if((c[b+8>>2]|0)>>>0>=f>>>0){b=-1;return b|0}if((d|0)==-1){c[h>>2]=f+-1;c[b+16>>2]=e;b=0;return b|0}if(!(c[b+48>>2]&16)){g=d&255;f=f+-1|0;if(g<<24>>24!=(a[f>>0]|0)){b=-1;return b|0}}else{g=d&255;f=f+-1|0}c[h>>2]=f;c[b+16>>2]=e;a[f>>0]=g;b=d;return b|0}function Md(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;o=t;if((d|0)==-1){b=0;i=t;return b|0}p=b+12|0;q=b+8|0;r=(c[p>>2]|0)-(c[q>>2]|0)|0;s=b+24|0;l=c[s>>2]|0;m=b+28|0;e=c[m>>2]|0;if((l|0)==(e|0)){k=b+48|0;if(!(c[k>>2]&16)){b=-1;i=t;return b|0}g=b+20|0;h=c[g>>2]|0;n=b+44|0;j=(c[n>>2]|0)-h|0;f=b+32|0;jk(f,0);if(!(a[f>>0]&1))e=10;else e=(c[f>>2]&-2)+-1|0;ek(f,e,0);e=a[f>>0]|0;if(!(e&1)){f=f+1|0;e=(e&255)>>>1}else{f=c[b+40>>2]|0;e=c[b+36>>2]|0}e=f+e|0;c[g>>2]=f;c[m>>2]=e;l=f+(l-h)|0;c[s>>2]=l;f=f+j|0;c[n>>2]=f;m=n;g=n;j=e}else{f=b+44|0;m=f;k=b+48|0;g=f;f=c[f>>2]|0;j=e}h=l+1|0;c[o>>2]=h;f=c[(h>>>0<f>>>0?g:o)>>2]|0;c[m>>2]=f;if(c[k>>2]&8|0){e=b+32|0;if(!(a[e>>0]&1))e=e+1|0;else e=c[b+40>>2]|0;c[q>>2]=e;c[p>>2]=e+r;c[b+16>>2]=f}if((l|0)==(j|0)){b=Jb[c[(c[b>>2]|0)+52>>2]&63](b,d&255)|0;i=t;return b|0}else{c[s>>2]=h;a[l>>0]=d;b=d&255;i=t;return b|0}return 0}function Nd(a){a=a|0;var b=0,d=0;c[a>>2]=3072;b=a+64|0;c[b>>2]=3112;c[a+8>>2]=3092;d=a+12|0;c[d>>2]=3128;Zj(a+44|0);Pk(d);Lk(b);Qt(a);return}function Od(a){a=a|0;var b=0,d=0;d=a+-8|0;c[d>>2]=3072;a=d+64|0;c[a>>2]=3112;c[d+8>>2]=3092;b=d+12|0;c[b>>2]=3128;Zj(d+44|0);Pk(b);Lk(a);return}function Pd(a){a=a|0;var b=0,d=0;a=a+-8|0;c[a>>2]=3072;b=a+64|0;c[b>>2]=3112;c[a+8>>2]=3092;d=a+12|0;c[d>>2]=3128;Zj(a+44|0);Pk(d);Lk(b);Qt(a);return}function Qd(a){a=a|0;var b=0,d=0;d=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[d>>2]=3072;a=d+64|0;c[a>>2]=3112;c[d+8>>2]=3092;b=d+12|0;c[b>>2]=3128;Zj(d+44|0);Pk(b);Lk(a);return}function Rd(a){a=a|0;var b=0,d=0;a=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;c[a>>2]=3072;b=a+64|0;c[b>>2]=3112;c[a+8>>2]=3092;d=a+12|0;c[d>>2]=3128;Zj(a+44|0);Pk(d);Lk(b);Qt(a);return}function Sd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=b+32|0;_j(i,d)|0;h=b+44|0;c[h>>2]=0;j=b+48|0;g=c[j>>2]|0;if(g&8|0){d=a[i>>0]|0;if(!(d&1)){d=((d&255)>>>1)+(i+1)|0;c[h>>2]=d;e=i+1|0;f=i+1|0}else{f=c[b+40>>2]|0;d=f+(c[b+36>>2]|0)|0;c[h>>2]=d;e=f}c[b+8>>2]=e;c[b+12>>2]=f;c[b+16>>2]=d}if(!(g&16))return;d=a[i>>0]|0;if(!(d&1)){g=(d&255)>>>1;c[h>>2]=i+1+g;d=10;h=g}else{g=c[b+36>>2]|0;c[h>>2]=(c[b+40>>2]|0)+g;d=(c[i>>2]&-2)+-1|0;h=g}ek(i,d,0);d=a[i>>0]|0;if(!(d&1)){g=i+1|0;f=(d&255)>>>1;e=i+1|0}else{e=c[b+40>>2]|0;g=e;f=c[b+36>>2]|0}d=b+24|0;c[d>>2]=e;c[b+20>>2]=e;c[b+28>>2]=g+f;if(!(c[j>>2]&3))return;c[d>>2]=e+h;return}function Td(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;j=n+12|0;m=n;k=n+8|0;Tl(m,b);if(!(a[m>>0]|0)){Ul(m);i=n;return b|0}l=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;c[k>>2]=c[l+24>>2];g=d+e|0;h=(c[l+4>>2]&176|0)==32?g:d;f=l+76|0;e=c[f>>2]|0;if((e|0)==-1){c[j>>2]=Nl(l)|0;e=sm(j,1211488)|0;e=Jb[c[(c[e>>2]|0)+28>>2]&63](e,32)|0;Et(j);e=e<<24>>24;c[f>>2]=e}c[j>>2]=c[k>>2];if(Ud(j,d,h,g,l,e&255)|0){Ul(m);i=n;return b|0}d=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;Ll(d,c[d+16>>2]|5);Ul(m);i=n;return b|0}function Ud(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;m=o;n=c[b>>2]|0;if(!n){b=0;i=o;return b|0}p=d;k=f-p|0;l=g+12|0;j=c[l>>2]|0;k=(j|0)>(k|0)?j-k|0:0;j=e;g=j-p|0;if((g|0)>0?(wb[c[(c[n>>2]|0)+48>>2]&31](n,d,g)|0)!=(g|0):0){c[b>>2]=0;p=0;i=o;return p|0}do if((k|0)>0){Wj(m,k,h);if((wb[c[(c[n>>2]|0)+48>>2]&31](n,(a[m>>0]&1)==0?m+1|0:c[m+8>>2]|0,k)|0)==(k|0)){Zj(m);break}c[b>>2]=0;Zj(m);p=0;i=o;return p|0}while(0);f=f-j|0;if((f|0)>0?(wb[c[(c[n>>2]|0)+48>>2]&31](n,e,f)|0)!=(f|0):0){c[b>>2]=0;p=0;i=o;return p|0}c[l>>2]=0;p=n;i=o;return p|0}function Vd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0;a:do if((b|1|0)==9)j=3;else{switch(b|0){case 1:case 14:{j=3;break a}default:{}}c[a+(c[(c[a>>2]|0)+-12>>2]|0)+12>>2]=5;f=971968+(b<<5)|0;e=Td(bm(a,+h[f>>3])|0,15898,1)|0;c[e+(c[(c[e>>2]|0)+-12>>2]|0)+12>>2]=5;i=971968+(b<<5)+8|0;e=Td(bm(e,+h[i>>3])|0,14960,3)|0;c[e+(c[(c[e>>2]|0)+-12>>2]|0)+12>>2]=5;g=971968+(b<<5)+16|0;e=Td(bm(e,+h[g>>3])|0,15898,1)|0;c[e+(c[(c[e>>2]|0)+-12>>2]|0)+12>>2]=5;b=971968+(b<<5)+24|0;Td(bm(e,+h[b>>3])|0,14960,3)|0;e=a;d=a}while(0);if((j|0)==3){Td(a,14392,28)|0;e=a;f=971968+(b<<5)|0;g=971968+(b<<5)+16|0;i=971968+(b<<5)+8|0;b=971968+(b<<5)+24|0;d=a}c[e+(c[(c[d>>2]|0)+-12>>2]|0)+12>>2]=5;j=Td(bm(a,+h[f>>3]-+h[g>>3])|0,15898,1)|0;c[j+(c[(c[j>>2]|0)+-12>>2]|0)+12>>2]=5;Td(bm(j,+h[i>>3]-+h[b>>3])|0,14421,2)|0;return a|0}function Wd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[d+48>>2]|0;if(e&16|0){e=d+44|0;f=c[e>>2]|0;g=c[d+24>>2]|0;if(f>>>0<g>>>0)c[e>>2]=g;else g=f;f=c[d+20>>2]|0;h=g-f|0;if(h>>>0>4294967279)Sj(b);if(h>>>0<11){a[b>>0]=h<<1;e=b+1|0}else{d=h+16&-16;e=pu(d)|0;c[b+8>>2]=e;c[b>>2]=d|1;c[b+4>>2]=h}if((f|0)!=(g|0)){d=e;while(1){a[d>>0]=a[f>>0]|0;f=f+1|0;if((f|0)==(g|0))break;else d=d+1|0}e=e+h|0}a[e>>0]=0;return}if(!(e&8)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}f=c[d+8>>2]|0;d=c[d+16>>2]|0;h=d-f|0;if(h>>>0>4294967279)Sj(b);if(h>>>0<11){a[b>>0]=h<<1;e=b+1|0}else{g=h+16&-16;e=pu(g)|0;c[b+8>>2]=e;c[b>>2]=g|1;c[b+4>>2]=h}if((f|0)!=(d|0)){g=e;while(1){a[g>>0]=a[f>>0]|0;f=f+1|0;if((f|0)==(d|0))break;else g=g+1|0}e=e+h|0}a[e>>0]=0;return}function Xd(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274752]=m;c[274751]=m;c[274753]=m+108;Uj(m,b);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,d);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,e);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,f);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,g);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,h);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,j);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,k);m=(c[274752]|0)+12|0;c[274752]=m;Uj(m,l);c[274752]=(c[274752]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Yd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;d=i;i=i+32|0;h=d+24|0;e=d+12|0;b=d;ne(e,0);f=a[e>>0]|0;g=(f&1)==0;f=Td(1210452,g?e+1|0:c[e+8>>2]|0,g?(f&255)>>>1:c[e+4>>2]|0)|0;c[h>>2]=Nl(f+(c[(c[f>>2]|0)+-12>>2]|0)|0)|0;g=sm(h,1211488)|0;g=Jb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;Et(h);cm(f,g)|0;Sl(f)|0;Zj(e);ih(1209784);Nf();Zb();kf();Wb();rg();af();Ag(1209592);Vj(b,16125,4);Kg(1209632,eh(Zd(1209784,b)|0)|0);Zj(b);i=d;return 0}function Zd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+16|0;h=j;d=a+4|0;f=c[d>>2]|0;do if(f){g=a+8|0;while(1){d=f+16|0;if(hh(g,b,d)|0){d=c[f>>2]|0;if(!d){e=f;d=f;g=5;break}}else{if(!(hh(g,d,b)|0)){d=f;g=10;break}e=f+4|0;d=c[e>>2]|0;if(!d){d=f;g=9;break}}f=d}if((g|0)==5){c[h>>2]=d;break}else if((g|0)==9){c[h>>2]=d;break}else if((g|0)==10){c[h>>2]=d;e=h;f=d;g=12;break}}else{c[h>>2]=d;e=d;g=12}while(0);if((g|0)==12)if(f){a=f;a=a+28|0;i=j;return a|0}f=pu(92)|0;h=f+16|0;c[h>>2]=c[b>>2];c[h+4>>2]=c[b+4>>2];c[h+8>>2]=c[b+8>>2];c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;mh(f+28|0,0);c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1;a=f;a=a+28|0;i=j;return a|0}function _d(a){a=a|0;var b=0,c=0;b=i;i=i+16|0;c=b;Vj(c,a,Xh(a)|0);Ug(c);Zj(c);i=b;return}function $d(a,b){a=a|0;b=b|0;Yd(0,0)|0;Sg();return}function ae(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274755]=m;c[274754]=m;c[274756]=m+108;Uj(m,b);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,d);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,e);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,f);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,g);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,h);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,j);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,k);m=(c[274755]|0)+12|0;c[274755]=m;Uj(m,l);c[274755]=(c[274755]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);c[274757]=3332;c[274758]=0;c[274759]=1;c[274760]=3332;c[274761]=1;c[274762]=0;c[274763]=3356;c[274764]=0;c[274765]=1;c[274766]=3356;c[274767]=1;c[274768]=0;c[274769]=3380;c[274770]=0;c[274771]=1;c[274772]=3380;c[274773]=1;c[274774]=0;c[274775]=3404;c[274776]=0;c[274777]=1;c[274778]=3404;c[274779]=1;c[274780]=0;c[274781]=3428;c[274782]=0;c[274783]=1;c[274784]=3428;c[274785]=1;c[274786]=0;i=a;return}function be(a){a=a|0;Qt(a);return}function ce(a){a=a|0;return c[a+4>>2]|0}function de(a){a=a|0;Qt(a);return}function ee(a){a=a|0;return c[a+4>>2]|0}function fe(a){a=a|0;Qt(a);return}function ge(a){a=a|0;return c[a+4>>2]|0}function he(a){a=a|0;Qt(a);return}function ie(a){a=a|0;return c[a+4>>2]|0}function je(a){a=a|0;Qt(a);return}function ke(a){a=a|0;return c[a+4>>2]|0}function le(d){d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+64|0;u=y;r=d+5356|0;o=(c[r>>2]|0)+8|0;n=c[o>>2]|0;o=c[o+4>>2]|0;m=d+5352|0;v=n&8191;w=c[(c[m>>2]|0)+100>>2]|0;x=w+(v<<5)|0;t=x;if((c[t>>2]|0)==(n|0)?(c[t+4>>2]|0)==(o|0):0){i=y;return x|0};c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;c[x+16>>2]=0;c[x+20>>2]=0;c[x+24>>2]=0;c[x+28>>2]=0;t=x;c[t>>2]=n;c[t+4>>2]=o;t=w+(v<<5)+11|0;a[t>>0]=64;s=w+(v<<5)+10|0;a[s>>0]=64;c[w+(v<<5)+24>>2]=uf(d)|0;l=c[m>>2]|0;k=l+112|0;e=c[l+116>>2]|0;a:do if(e){g=e;while(1){j=g+16|0;h=c[j>>2]|0;j=c[j+4>>2]|0;if(!(j>>>0>o>>>0|(j|0)==(o|0)&h>>>0>n>>>0)){if(!(j>>>0<o>>>0|(j|0)==(o|0)&h>>>0<n>>>0))break;g=g+4|0}g=c[g>>2]|0;if(!g){p=20;break a}}while(1){h=e+16|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if(o>>>0<h>>>0|(o|0)==(h|0)&n>>>0<g>>>0){g=c[e>>2]|0;if(!g){g=e;p=11;break}else e=g}else{if(!(h>>>0<o>>>0|(h|0)==(o|0)&g>>>0<n>>>0)){p=16;break}g=e+4|0;h=c[g>>2]|0;if(!h){p=15;break}else e=h}}if((p|0)==11){c[u>>2]=e;h=e;p=17}else if((p|0)==15){c[u>>2]=e;h=e;p=17}else if((p|0)==16){c[u>>2]=e;if(!e){g=u;h=e;p=17}}if((p|0)==17){e=pu(32)|0;j=e+16|0;c[j>>2]=n;c[j+4>>2]=o;c[e+24>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=h;c[g>>2]=e;h=c[c[k>>2]>>2]|0;if(!h)g=e;else{c[k>>2]=h;g=c[g>>2]|0}gc(c[l+116>>2]|0,g);l=l+120|0;c[l>>2]=(c[l>>2]|0)+1}l=c[e+24>>2]|0;e=w+(v<<5)+12|0;c[e>>2]=l;if(!l)g=e;else{i=y;return x|0}}else p=20;while(0);if((p|0)==20){g=w+(v<<5)+12|0;c[g>>2]=0}e=c[r>>2]|0;l=d+328|0;k=c[l>>2]|0;l=c[l+4>>2]|0;j=yu(k|0,l|0,-1,-1)|0;if((j&k|0)==0&(C&l|0)==0?(c[e+16>>2]|0)>1284:0)e=0;else p=25;do if((p|0)==25){l=d+320|0;k=c[l>>2]|0;l=c[l+4>>2]|0;j=yu(k|0,l|0,-1,-1)|0;if((j&k|0)==0&(C&l|0)==0?(c[e+20>>2]|0)>1284:0){e=1;break}m=c[m>>2]|0;l=m+124|0;k=c[m+128>>2]|0;b:do if(k){g=k;while(1){j=g+16|0;h=c[j>>2]|0;j=c[j+4>>2]|0;if(!(j>>>0>o>>>0|(j|0)==(o|0)&h>>>0>n>>>0)){if(!(j>>>0<o>>>0|(j|0)==(o|0)&h>>>0<n>>>0))break;g=g+4|0}g=c[g>>2]|0;if(!g)break b}e=k;while(1){h=e+16|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if(o>>>0<h>>>0|(o|0)==(h|0)&n>>>0<g>>>0){g=c[e>>2]|0;if(!g){g=e;p=35;break}else e=g}else{if(!(h>>>0<o>>>0|(h|0)==(o|0)&g>>>0<n>>>0)){p=40;break}g=e+4|0;h=c[g>>2]|0;if(!h){p=39;break}else e=h}}if((p|0)==35){c[u>>2]=e;h=g;g=e;p=41}else if((p|0)==39){c[u>>2]=e;h=g;g=e;p=41}else if((p|0)==40){c[u>>2]=e;if(!e){h=u;g=e;p=41}}if((p|0)==41){e=pu(32)|0;k=e+16|0;c[k>>2]=n;c[k+4>>2]=o;c[e+24>>2]=0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=g;c[h>>2]=e;g=c[c[l>>2]>>2]|0;if(!g)g=e;else{c[l>>2]=g;g=c[h>>2]|0}gc(c[m+128>>2]|0,g);o=m+132|0;c[o>>2]=(c[o>>2]|0)+1}e=c[e+24>>2]|0;if(!e){e=c[r>>2]|0;break}c[w+(v<<5)+16+((Db[c[(c[e>>2]|0)+8>>2]&127](e)|0)<<2)>>2]=e;i=y;return x|0}while(0);g=c[e+16>>2]|0;if(((g|0)==826?(c[d+348>>2]|0)==1:0)?(q=c[d+340>>2]|0,(q|0)>0):0){c[w+(v<<5)+16>>2]=1099052;e=q}else{e=c[d+340>>2]|0;if(!e)if((((g|0)==2513?(c[d+356>>2]|0)==1:0)?(c[d+384>>2]|0)==1:0)?(c[d+372>>2]|0)>0:0){c[w+(v<<5)+16>>2]=1099076;e=0}else e=0}g=c[(c[r>>2]|0)+20>>2]|0;if(((g|0)==826?(c[d+380>>2]|0)==1:0)?(f=c[d+372>>2]|0,(f|0)>0):0)c[w+(v<<5)+20>>2]=1099064;else{f=c[d+372>>2]|0;if(!f)if(((g|0)==2513?(c[d+388>>2]|0)==1:0)?((e|0)>0?(c[d+352>>2]|0)==1:0):0){c[w+(v<<5)+20>>2]=1099088;f=0}else f=0}l=c[r>>2]|0;m=c[l+16>>2]|0;l=c[l+20>>2]|0;c:do if((l|0)==(0-m|0)?(r=d+264|0,!((c[r>>2]|0)==0&(c[r+4>>2]|0)==0)):0){if(!f){c[w+(v<<5)+16>>2]=1099100;p=65;break}switch(e|0){case 0:{c[w+(v<<5)+20>>2]=1099112;p=65;break c}case 1:{p=62;break}default:{}}if((p|0)==62?(f|0)==1:0){c[w+(v<<5)+16>>2]=1099124;c[w+(v<<5)+20>>2]=1099136}e=(m-l|0)<827;g=d+340|0;p=66}else p=65;while(0);if((p|0)==65){g=d+340|0;h=(m-l|0)<827;if(h&(e|0)==0){a[s>>0]=(m|0)<1285?0:(l|0)<827?4:14;f=d+372|0;k=f;f=c[f>>2]|0;j=g;e=h}else{e=h;p=66}}if((p|0)==66){k=d+372|0;j=g}g=(l-m|0)<827;if(g&(f|0)==0)a[t>>0]=(l|0)<1285?0:(m|0)<827?4:14;if(e&(c[j>>2]|0)==1)a[s>>0]=48;e=c[k>>2]|0;if(g&(e|0)==1){a[t>>0]=48;e=c[k>>2]|0}k=c[d+348>>2]|0;f=(k|0)>1&1;c[u>>2]=f;c[u+4>>2]=c[j>>2];c[u+8>>2]=c[d+344>>2];c[u+12>>2]=k;c[u+16>>2]=c[d+352>>2];c[u+20>>2]=c[d+356>>2];j=u+24|0;c[j>>2]=0;c[j+4>>2]=0;j=c[d+380>>2]|0;c[u+32>>2]=(j|0)>1&1;c[u+36>>2]=e;c[u+40>>2]=c[d+376>>2];c[u+44>>2]=j;c[u+48>>2]=c[d+384>>2];c[u+52>>2]=c[d+388>>2];j=u+56|0;c[j>>2]=0;c[j+4>>2]=0;j=f;f=0;k=1;h=0;while(1){if(j){g=0;e=0;do{d=_(c[u+(g<<2)>>2]|0,c[3444+(h<<5)+(g<<2)>>2]|0)|0;e=d+e+(_(c[u+32+(g<<2)>>2]|0,c[3636+(h<<5)+(g<<2)>>2]|0)|0)|0;g=g+1|0}while((g|0)!=(k|0));f=(_(e,j)|0)+f|0}e=h+1|0;if((e|0)==6)break;j=c[u+(e<<2)>>2]|0;k=k+1|0;h=e}e=0;k=1;l=0;while(1){j=c[u+32+(l<<2)>>2]|0;if(j){h=0;g=0;do{d=_(c[u+32+(h<<2)>>2]|0,c[3444+(l<<5)+(h<<2)>>2]|0)|0;g=d+g+(_(c[u+(h<<2)>>2]|0,c[3636+(l<<5)+(h<<2)>>2]|0)|0)|0;h=h+1|0}while((h|0)!=(k|0));e=(_(g,j)|0)+e|0}l=l+1|0;if((l|0)==6)break;else k=k+1|0}b[w+(v<<5)+8>>1]=(f-e|0)/16|0;i=y;return x|0}while(0);c[g>>2]=1099028+(e*12|0);i=y;return x|0}function me(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274788]=m;c[274787]=m;c[274789]=m+108;Uj(m,b);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,d);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,e);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,f);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,g);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,h);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,j);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,k);m=(c[274788]|0)+12|0;c[274788]=m;Uj(m,l);c[274788]=(c[274788]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);Vj(1099160,14687,1);i=a;return}function ne(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+368|0;o=D+216|0;A=D+204|0;z=D+192|0;y=D+180|0;C=D+168|0;B=D+24|0;u=D+12|0;s=D;Vj(A,14689,47);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;p=B+8|0;c[p>>2]=3092;v=B+12|0;c[B>>2]=3296;w=B+64|0;c[w>>2]=3316;c[B+4>>2]=0;Ml(B+64|0,v);c[B+136>>2]=0;c[B+140>>2]=-1;c[B>>2]=3072;c[B+64>>2]=3112;c[p>>2]=3092;Ol(v);c[v>>2]=3128;p=B+44|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[B+60>>2]=24;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;Sd(v,o);Zj(o);Vj(u,14737,11);t=o+8|0;c[t>>2]=3092;q=o+12|0;c[o>>2]=3296;r=o+64|0;c[r>>2]=3316;c[o+4>>2]=0;Ml(o+64|0,q);c[o+136>>2]=0;c[o+140>>2]=-1;c[o>>2]=3072;c[o+64>>2]=3112;c[t>>2]=3092;Ol(q);c[q>>2]=3128;t=o+44|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[o+60>>2]=24;Sd(q,u);Zj(u);u=B+8|0;m=Td(u,14749,13)|0;x=a[1099160]|0;n=(x&1)==0;x=Td(m,n?1099161:c[274792]|0,n?(x&255)>>>1:c[274791]|0)|0;c[x+(c[(c[x>>2]|0)+-12>>2]|0)+76>>2]=48;x=a[1099160]|0;if(!(((x&1)==0?(x&255)>>>1:c[274791]|0)|0)){oe(oe(oe(o,z)|0,y)|0,C)|0;c[u+(c[(c[u>>2]|0)+-12>>2]|0)+12>>2]=2;x=a[y>>0]|0;f=(x&1)==0;x=Td(u,f?y+1|0:c[y+8>>2]|0,f?(x&255)>>>1:c[y+4>>2]|0)|0;c[x+(c[(c[x>>2]|0)+-12>>2]|0)+12>>2]=2;f=a[A>>0]|0;g=(f&1)==0;e=g?A+1|0:c[A+8>>2]|0;f=g?(f&255)>>>1:c[A+4>>2]|0;g=a[z>>0]|0;n=(g&1)==0;l=n?z+1|0:c[z+8>>2]|0;g=n?(g&255)>>>1:c[z+4>>2]|0;if(f>>>0>=g>>>0)if(!g)e=1;else{n=e+f|0;j=l+g|0;m=e;a:do if((f|0)>=(g|0)?(k=n+(1-g)|0,(k|0)!=(e|0)):0){h=a[l>>0]|0;while(1){if((a[e>>0]|0)==h<<24>>24){f=e;g=l;do{g=g+1|0;if((g|0)==(j|0))break a;f=f+1|0}while((a[f>>0]|0)==(a[g>>0]|0))}e=e+1|0;if((e|0)==(k|0)){e=n;break}}}else e=n;while(0);e=(e|0)==(n|0)?1073741824:((e-m|0)>>>2)+1|0}else e=1073741824;m=_l(x,e)|0;Xj(s,C,2,-1,C);x=a[s>>0]|0;n=(x&1)==0;Td(m,n?s+1|0:c[s+8>>2]|0,n?(x&255)>>>1:c[s+4>>2]|0)|0;Zj(s)}x=Td(Td(u,1280956,0)|0,1280956,0)|0;Td(Td(x,d?14763:14775,d?11:4)|0,14780,47)|0;Wd(b,v);c[o>>2]=3072;c[r>>2]=3112;c[o+8>>2]=3092;c[q>>2]=3128;Zj(t);Pk(q);Lk(r);c[B>>2]=3072;c[w>>2]=3112;c[u>>2]=3092;c[v>>2]=3128;Zj(p);Pk(v);Lk(w);Zj(C);Zj(y);Zj(z);Zj(A);i=D;return}function oe(e,f){e=e|0;f=f|0;var g=0,h=0,j=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;m=n+4|0;g=n;Rl(m,e,0);if(!(a[m>>0]|0)){f=e+(c[(c[e>>2]|0)+-12>>2]|0)|0;Ll(f,c[f+16>>2]|4);i=n;return e|0}if(!(a[f>>0]&1)){a[f+1>>0]=0;a[f>>0]=0}else{a[c[f+8>>2]>>0]=0;c[f+4>>2]=0}h=e+(c[(c[e>>2]|0)+-12>>2]|0)|0;m=c[h+12>>2]|0;m=(m|0)<1?2147483647:m;c[g>>2]=Nl(h)|0;h=sm(g,1211488)|0;Et(g);a:do if((m|0)>0){l=h+8|0;g=0;while(1){h=c[e+(c[(c[e>>2]|0)+-12>>2]|0)+24>>2]|0;j=c[h+12>>2]|0;if((j|0)==(c[h+16>>2]|0)){h=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;if((h|0)==-1){h=2;break a}}else h=d[j>>0]|0;j=h&255;if(j<<24>>24>-1?b[(c[l>>2]|0)+(h<<24>>24<<1)>>1]&8192:0){h=0;break a}jk(f,j);g=g+1|0;h=c[e+(c[(c[e>>2]|0)+-12>>2]|0)+24>>2]|0;j=h+12|0;k=c[j>>2]|0;if((k|0)==(c[h+16>>2]|0))Db[c[(c[h>>2]|0)+40>>2]&127](h)|0;else c[j>>2]=k+1;if((g|0)>=(m|0)){h=0;break}}}else{g=0;h=0}while(0);c[e+(c[(c[e>>2]|0)+-12>>2]|0)+12>>2]=0;f=e+(c[(c[e>>2]|0)+-12>>2]|0)|0;Ll(f,c[f+16>>2]|((g|0)==0?h|4:h));i=n;return e|0}function pe(){return}function qe(a,b){a=a|0;b=b|0;return a|0}function re(a){a=a|0;return}function se(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274794]=m;c[274793]=m;c[274795]=m+108;Uj(m,b);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,d);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,e);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,f);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,g);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,h);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,j);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,k);m=(c[274794]|0)+12|0;c[274794]=m;Uj(m,l);c[274794]=(c[274794]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function te(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=a+5348|0;n=c[f>>2]|0;k=a+320+((n^1)<<3)|0;d=k;l=c[d>>2]|0;d=c[d+4>>2]|0;m=a+5364|0;e=c[m>>2]|0;if((e|0)==1){e=c[(c[a+5356>>2]|0)+48>>2]|0;if((e|0)!=64){g=a+256|0;i=g;i=vf(a,e,c[i>>2]|0,c[i+4>>2]|0)|0;f=c[f>>2]|0;h=a+320+(f<<3)|0;e=c[h>>2]|0;h=c[h+4>>2]|0;j=a+264|0;if((e&i&c[j>>2]|0)==0?(h&C&c[j+4>>2]|0)==0:0)j=5;else j=8}else{h=a+320+(n<<3)|0;g=a+256|0;e=c[h>>2]|0;h=c[h+4>>2]|0;f=n;j=5}a:do if((j|0)==5){i=a+320+((f^1)<<3)|0;while(1){if((e|0)==0&(h|0)==0){e=l;break a}o=fb(e|0,h|0,0)|0;f=yu(e|0,h|0,-1,-1)|0;h=C&h;p=g;p=_b(c[a+(o<<2)>>2]|0,o,c[p>>2]|0,c[p+4>>2]|0)|0;o=i;if(!((c[o>>2]&p|0)==0?(c[o+4>>2]&C|0)==0:0)){j=8;break}else e=f&e}}while(0);if((j|0)==8){p=k;e=c[p>>2]&l;d=c[p+4>>2]&d}f=e;e=c[m>>2]|0}else f=l;if((e|0)==2){e=n<<3|6;if(!(c[a+336+(e<<2)>>2]|0))e=64;else e=c[a+400+(e<<8)>>2]|0;p=28864+(e<<3)|0;e=f&~c[p>>2];d=d&~c[p+4>>2]}else e=f;if(!n){p=ue(a,b,e,d)|0;return p|0}else{p=ze(a,b,e,d)|0;return p|0}return 0}function ue(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=a+320|0;q=t;v=a+264|0;o=v;r=c[o>>2]&c[q>>2];q=c[o+4>>2]&c[q+4>>2];o=q&16711680;s=q&-16711681;if(!(0==0&(o|0)==0)){i=a+256|0;f=~c[i>>2];i=~c[i+4>>2];p=a+5364|0;j=c[p>>2]|0;if((j|0)==2){n=(c[a+5356>>2]|0)+64|0;n=(c[n>>2]|0)==0&(c[n+4>>2]|0)==0;f=(n?-1:d)&f;n=(n?-1:e)&i}else n=i;m=(j|0)==1;l=Au(0,o|0,9)|0;l=l&d;k=C&e;Au(0,o|0,7)|0;i=e&2130706432&C;j=Au(0,o|0,8)|0;j=(m?d:0)&j&f;f=(m?e:-16777216)&C&n;if(!((l|0)==0&(k|0)==0))if(m){m=b;while(1){n=fb(l|0,k|0,0)|0;o=yu(l|0,k|0,-1,-1)|0;l=o&l;k=C&k;o=n<<6;b=n+7616+o|0;c[m>>2]=b+20480;c[m+8>>2]=b|16384;c[m+16>>2]=b+12288;c[m+24>>2]=b+8192;b=m+40|0;c[m+32>>2]=n+15808+o|65536;if((l|0)==0&(k|0)==0)break;else m=b}}else{m=b;while(1){o=fb(l|0,k|0,0)|0;b=yu(l|0,k|0,-1,-1)|0;l=b&l;k=C&k;b=m+8|0;c[m>>2]=o+28096+(o<<6);if((l|0)==0&(k|0)==0)break;else m=b}}if(!(0==0&(i|0)==0))if((c[p>>2]|0)==1){l=0;while(1){n=fb(l|0,i|0,0)|0;o=yu(l|0,i|0,-1,-1)|0;l=o&l;i=C&i;o=n<<6;k=n+7744+o|0;c[b>>2]=k+20480;c[b+8>>2]=k|16384;c[b+16>>2]=k+12288;c[b+24>>2]=k+8192;k=b+40|0;c[b+32>>2]=n+15936+o|65536;if((l|0)==0&(i|0)==0){b=k;break}else b=k}}else{l=0;while(1){o=fb(l|0,i|0,0)|0;k=yu(l|0,i|0,-1,-1)|0;l=k&l;i=C&i;k=b+8|0;c[b>>2]=o+28224+(o<<6);if((l|0)==0&(i|0)==0){b=k;break}else b=k}}if(!((j|0)==0&(f|0)==0))if((c[p>>2]|0)==1)while(1){o=fb(j|0,f|0,0)|0;p=yu(j|0,f|0,-1,-1)|0;j=p&j;f=C&f;p=o<<6;i=(o|7680)+p|0;c[b>>2]=i+20480;c[b+8>>2]=i|16384;c[b+16>>2]=i+12288;c[b+24>>2]=i+8192;i=b+40|0;c[b+32>>2]=(o|15872)+p|65536;if((j|0)==0&(f|0)==0){b=i;break}else b=i}else while(1){p=fb(j|0,f|0,0)|0;i=yu(j|0,f|0,-1,-1)|0;j=i&j;f=C&f;i=b+8|0;c[b>>2]=(p<<6)+20480+(p|7680);if((j|0)==0&(f|0)==0){b=i;break}else b=i}}k=Au(r|0,q|0,9)|0;k=d&-16843264&k;i=e&16711422&C;j=Au(r|0,q|0,7)|0;j=d&2139062016&j;f=e&8355711&C;if(!((k|0)==0&(i|0)==0)){l=k;while(1){q=fb(l|0,i|0,0)|0;k=yu(l|0,i|0,-1,-1)|0;l=k&l;i=C&i;k=b+8|0;c[b>>2]=q+-576+(q<<6);if((l|0)==0&(i|0)==0){b=k;break}else b=k}}if(!((j|0)==0&(f|0)==0))while(1){q=fb(j|0,f|0,0)|0;i=yu(j|0,f|0,-1,-1)|0;j=i&j;f=C&f;i=b+8|0;c[b>>2]=q+-448+(q<<6);if((j|0)==0&(f|0)==0){b=i;break}else b=i}l=a+5356|0;f=c[(c[l>>2]|0)+48>>2]|0;if((f|0)!=64?(g=30400+(f<<3)|0,h=r&c[g>>2],g=s&c[g+4>>2],!((h|0)==0&(g|0)==0)):0){i=f+8192|0;while(1){f=b+8|0;s=fb(h|0,g|0,0)|0;r=yu(h|0,g|0,-1,-1)|0;h=r&h;g=C&g;c[b>>2]=i+(s<<6|24576);if((h|0)==0&(g|0)==0){b=f;break}else b=f}}b=ye(a,xe(a,we(a,ve(a,b,0,d,e)|0,0,d,e)|0,0,d,e)|0,0,d,e)|0;i=c[a+5364>>2]|0;switch(i|0){case 1:{g=t;u=a+304|0;f=c[u>>2]&c[g>>2];g=c[u+4>>2]&c[g+4>>2];if(!((f|0)==0&(g|0)==0))do{h=fb(f|0,g|0,0)|0;i=yu(f|0,g|0,-1,-1)|0;f=i&f;g=C&g;i=28864+(h<<3)|0;j=c[i>>2]&d;i=c[i+4>>2]&e;if(!((j|0)==0&(i|0)==0)){k=h<<6;while(1){h=b+8|0;u=fb(j|0,i|0,0)|0;t=yu(j|0,i|0,-1,-1)|0;j=t&j;i=C&i;c[b>>2]=u+k;if((j|0)==0&(i|0)==0){b=h;break}else b=h}}}while(!((f|0)==0&(g|0)==0));f=c[(c[l>>2]|0)+48>>2]|0;if((f|0)!=64){g=a+256|0;d=g;d=vf(a,f,c[d>>2]|0,c[d+4>>2]|0)|0;h=c[a+5348>>2]|0;f=a+320+(h<<3)|0;i=c[f>>2]|0;f=c[f+4>>2]|0;e=v;if((i&d&c[e>>2]|0)==0?(f&C&c[e+4>>2]|0)==0:0){j=g;g=i}else{a=b;return a|0}}else{h=c[a+5348>>2]|0;f=a+320+(h<<3)|0;j=a+256|0;g=c[f>>2]|0;f=c[f+4>>2]|0}i=a+320+((h^1)<<3)|0;h=g;while(1){if((h|0)==0&(f|0)==0){u=36;break}e=fb(h|0,f|0,0)|0;g=yu(h|0,f|0,-1,-1)|0;f=C&f;d=j;d=_b(c[a+(e<<2)>>2]|0,e,c[d>>2]|0,c[d+4>>2]|0)|0;e=i;if(!((c[e>>2]&d|0)==0?(c[e+4>>2]&C|0)==0:0)){u=36;break}else h=g&h}if((u|0)==36)return b|0;break}case 4:{if(!(c[a+360>>2]|0))u=39;else u=40;break}case 2:{if(!(c[a+360>>2]|0))u=39;else u=40;break}default:{f=c[a+1936>>2]|0;g=28864+(f<<3)|0;h=c[g>>2]&d;g=c[g+4>>2]&e;if((i|0)==7){m=a+256|0;k=m;k=vf(a,f,c[k>>2]|0,c[k+4>>2]|0)|0;l=t;k=c[l>>2]&k;l=c[l+4>>2]&C;v=a+272|0;if(!((k&c[v>>2]|0)==0?(l&c[v+4>>2]|0)==0:0)){v=26816+(f<<3)|0;h=c[v>>2]&d|h;g=c[v+4>>2]&e|g}j=a+296|0;i=c[j>>2]|0;j=c[j+4>>2]|0;v=a+280|0;if(!(((c[v>>2]|i)&k|0)==0?((c[v+4>>2]|j)&l|0)==0:0)){t=m;s=23936+(f<<3)|0;v=24448+(f<<3)|0;v=(_(c[s+4>>2]&c[t+4>>2],c[v+4>>2]|0)|0)^(_(c[s>>2]&c[t>>2],c[v>>2]|0)|0);v=(c[1096324+(f<<2)>>2]|0)+(v>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;h=c[v>>2]&d|h;g=c[v+4>>2]&e|g}a=a+288|0;if(!(((c[a>>2]|i)&k|0)==0?((c[a+4>>2]|j)&l|0)==0:0)){v=m;t=22912+(f<<3)|0;a=23424+(f<<3)|0;a=(_(c[t+4>>2]&c[v+4>>2],c[a+4>>2]|0)|0)^(_(c[t>>2]&c[v>>2],c[a>>2]|0)|0);a=(c[1095812+(f<<2)>>2]|0)+(a>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;h=c[a>>2]&d|h;g=c[a+4>>2]&e|g}}}}if((u|0)==39){g=29376;f=64;h=c[g>>2]&d;g=c[g+4>>2]&e}else if((u|0)==40){f=c[a+1936>>2]|0;g=28864+(f<<3)|0;h=c[g>>2]&d;g=c[g+4>>2]&e}if((h|0)==0&(g|0)==0){a=b;return a|0}i=f<<6;while(1){f=b+8|0;a=fb(h|0,g|0,0)|0;e=yu(h|0,g|0,-1,-1)|0;h=e&h;g=C&g;c[b>>2]=a+i;if((h|0)==0&(g|0)==0){b=f;break}else b=f}return b|0}function ve(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=a+400+((d<<3|2)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}t=a+5364|0;u=a+256|0;r=a+320+(d<<3)|0;s=a+272|0;n=a+296|0;o=a+280|0;p=a+288|0;q=a+304|0;do{d=26816+(g<<3)|0;j=d;i=c[j>>2]&e;j=c[j+4>>2]&f;if((c[t>>2]|0)==7){l=u;l=vf(a,g,c[l>>2]|0,c[l+4>>2]|0)|0;m=r;l=c[m>>2]&l;m=c[m+4>>2]&C;k=s;if((l&c[k>>2]|0)==0?(m&c[k+4>>2]|0)==0:0)d=j;else{i=c[d>>2]&e|i;d=c[d+4>>2]&f|j}k=n;j=c[k>>2]|0;k=c[k+4>>2]|0;v=o;if(!(((c[v>>2]|j)&l|0)==0?((c[v+4>>2]|k)&m|0)==0:0)){w=u;x=23936+(g<<3)|0;v=24448+(g<<3)|0;v=(_(c[x+4>>2]&c[w+4>>2],c[v+4>>2]|0)|0)^(_(c[x>>2]&c[w>>2],c[v>>2]|0)|0);v=(c[1096324+(g<<2)>>2]|0)+(v>>>(c[1096580+(g<<2)>>2]|0)<<3)|0;i=c[v>>2]&e|i;d=c[v+4>>2]&f|d}x=p;if(!(((c[x>>2]|j)&l|0)==0?((c[x+4>>2]|k)&m|0)==0:0)){w=u;v=22912+(g<<3)|0;x=23424+(g<<3)|0;x=(_(c[v+4>>2]&c[w+4>>2],c[x+4>>2]|0)|0)^(_(c[v>>2]&c[w>>2],c[x>>2]|0)|0);x=(c[1095812+(g<<2)>>2]|0)+(x>>>(c[1096068+(g<<2)>>2]|0)<<3)|0;i=c[x>>2]&e|i;d=c[x+4>>2]&f|d}x=q;if(!((c[x>>2]&l|0)==0?(c[x+4>>2]&m|0)==0:0)){x=28864+(g<<3)|0;i=c[x>>2]&e|i;d=c[x+4>>2]&f|d}}else d=j;if(!((i|0)==0&(d|0)==0)){j=g<<6;g=d;while(1){d=b+8|0;x=fb(i|0,g|0,0)|0;w=yu(i|0,g|0,-1,-1)|0;i=w&i;g=C&g;c[b>>2]=x+j;if((i|0)==0&(g|0)==0){b=d;break}else b=d}}h=h+4|0;g=c[h>>2]|0}while((g|0)!=64);return b|0}function we(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=a+400+((d<<3|3)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}x=a+256|0;y=a+5364|0;v=a+320+(d<<3)|0;w=a+272|0;r=a+296|0;s=a+280|0;t=a+288|0;u=a+304|0;do{k=x;j=c[k>>2]|0;k=c[k+4>>2]|0;l=23936+(g<<3)|0;n=l;m=24448+(g<<3)|0;d=m;d=(_(c[n+4>>2]&k,c[d+4>>2]|0)|0)^(_(c[n>>2]&j,c[d>>2]|0)|0);n=1096580+(g<<2)|0;o=1096324+(g<<2)|0;d=(c[o>>2]|0)+(d>>>(c[n>>2]|0)<<3)|0;i=c[d>>2]&e;d=c[d+4>>2]&f;if((c[y>>2]|0)==7){p=vf(a,g,j,k)|0;q=v;p=c[q>>2]&p;q=c[q+4>>2]&C;k=w;if(!((p&c[k>>2]|0)==0?(q&c[k+4>>2]|0)==0:0)){k=26816+(g<<3)|0;i=c[k>>2]&e|i;d=c[k+4>>2]&f|d}k=r;j=c[k>>2]|0;k=c[k+4>>2]|0;z=s;if(!(((c[z>>2]|j)&p|0)==0?((c[z+4>>2]|k)&q|0)==0:0)){A=x;z=m;z=(_(c[l+4>>2]&c[A+4>>2],c[z+4>>2]|0)|0)^(_(c[l>>2]&c[A>>2],c[z>>2]|0)|0);z=(c[o>>2]|0)+(z>>>(c[n>>2]|0)<<3)|0;i=c[z>>2]&e|i;d=c[z+4>>2]&f|d}A=t;if(!(((c[A>>2]|j)&p|0)==0?((c[A+4>>2]|k)&q|0)==0:0)){z=x;o=22912+(g<<3)|0;A=23424+(g<<3)|0;A=(_(c[o+4>>2]&c[z+4>>2],c[A+4>>2]|0)|0)^(_(c[o>>2]&c[z>>2],c[A>>2]|0)|0);A=(c[1095812+(g<<2)>>2]|0)+(A>>>(c[1096068+(g<<2)>>2]|0)<<3)|0;i=c[A>>2]&e|i;d=c[A+4>>2]&f|d}A=u;if(!((c[A>>2]&p|0)==0?(c[A+4>>2]&q|0)==0:0)){A=28864+(g<<3)|0;i=c[A>>2]&e|i;d=c[A+4>>2]&f|d}}if(!((i|0)==0&(d|0)==0)){j=g<<6;g=d;while(1){d=b+8|0;A=fb(i|0,g|0,0)|0;z=yu(i|0,g|0,-1,-1)|0;i=z&i;g=C&g;c[b>>2]=A+j;if((i|0)==0&(g|0)==0){b=d;break}else b=d}}h=h+4|0;g=c[h>>2]|0}while((g|0)!=64);return b|0}function xe(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;h=a+400+((d<<3|4)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}x=a+256|0;y=a+5364|0;v=a+320+(d<<3)|0;w=a+272|0;r=a+296|0;s=a+280|0;t=a+288|0;u=a+304|0;do{k=x;j=c[k>>2]|0;k=c[k+4>>2]|0;l=22912+(g<<3)|0;n=l;m=23424+(g<<3)|0;d=m;d=(_(c[n+4>>2]&k,c[d+4>>2]|0)|0)^(_(c[n>>2]&j,c[d>>2]|0)|0);n=1096068+(g<<2)|0;o=1095812+(g<<2)|0;d=(c[o>>2]|0)+(d>>>(c[n>>2]|0)<<3)|0;i=c[d>>2]&e;d=c[d+4>>2]&f;if((c[y>>2]|0)==7){p=vf(a,g,j,k)|0;q=v;p=c[q>>2]&p;q=c[q+4>>2]&C;k=w;if(!((p&c[k>>2]|0)==0?(q&c[k+4>>2]|0)==0:0)){k=26816+(g<<3)|0;i=c[k>>2]&e|i;d=c[k+4>>2]&f|d}k=r;j=c[k>>2]|0;k=c[k+4>>2]|0;z=s;if(!(((c[z>>2]|j)&p|0)==0?((c[z+4>>2]|k)&q|0)==0:0)){A=x;B=23936+(g<<3)|0;z=24448+(g<<3)|0;z=(_(c[B+4>>2]&c[A+4>>2],c[z+4>>2]|0)|0)^(_(c[B>>2]&c[A>>2],c[z>>2]|0)|0);z=(c[1096324+(g<<2)>>2]|0)+(z>>>(c[1096580+(g<<2)>>2]|0)<<3)|0;i=c[z>>2]&e|i;d=c[z+4>>2]&f|d}B=t;if(!(((c[B>>2]|j)&p|0)==0?((c[B+4>>2]|k)&q|0)==0:0)){A=x;z=l;B=m;B=(_(c[z+4>>2]&c[A+4>>2],c[B+4>>2]|0)|0)^(_(c[z>>2]&c[A>>2],c[B>>2]|0)|0);B=(c[o>>2]|0)+(B>>>(c[n>>2]|0)<<3)|0;i=c[B>>2]&e|i;d=c[B+4>>2]&f|d}B=u;if(!((c[B>>2]&p|0)==0?(c[B+4>>2]&q|0)==0:0)){B=28864+(g<<3)|0;i=c[B>>2]&e|i;d=c[B+4>>2]&f|d}}if(!((i|0)==0&(d|0)==0)){j=g<<6;g=d;while(1){d=b+8|0;B=fb(i|0,g|0,0)|0;A=yu(i|0,g|0,-1,-1)|0;i=A&i;g=C&g;c[b>>2]=B+j;if((i|0)==0&(g|0)==0){b=d;break}else b=d}}h=h+4|0;g=c[h>>2]|0}while((g|0)!=64);return b|0}function ye(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;h=a+400+((d<<3|5)<<8)|0;g=c[h>>2]|0;if((g|0)==64){a=b;return a|0}B=a+256|0;D=a+5364|0;z=a+320+(d<<3)|0;A=a+272|0;v=a+296|0;w=a+280|0;x=a+288|0;y=a+304|0;do{k=B;j=c[k>>2]|0;k=c[k+4>>2]|0;p=22912+(g<<3)|0;r=p;q=23424+(g<<3)|0;d=q;d=(_(c[r+4>>2]&k,c[d+4>>2]|0)|0)^(_(c[r>>2]&j,c[d>>2]|0)|0);r=1096068+(g<<2)|0;s=1095812+(g<<2)|0;d=(c[s>>2]|0)+(d>>>(c[r>>2]|0)<<3)|0;l=23936+(g<<3)|0;n=l;m=24448+(g<<3)|0;u=m;u=(_(c[n+4>>2]&k,c[u+4>>2]|0)|0)^(_(c[n>>2]&j,c[u>>2]|0)|0);n=1096580+(g<<2)|0;o=1096324+(g<<2)|0;u=(c[o>>2]|0)+(u>>>(c[n>>2]|0)<<3)|0;i=(c[u>>2]|c[d>>2])&e;d=(c[u+4>>2]|c[d+4>>2])&f;if((c[D>>2]|0)==7){t=vf(a,g,j,k)|0;u=z;t=c[u>>2]&t;u=c[u+4>>2]&C;k=A;if(!((t&c[k>>2]|0)==0?(u&c[k+4>>2]|0)==0:0)){k=26816+(g<<3)|0;i=c[k>>2]&e|i;d=c[k+4>>2]&f|d}k=v;j=c[k>>2]|0;k=c[k+4>>2]|0;E=w;if(!(((c[E>>2]|j)&t|0)==0?((c[E+4>>2]|k)&u|0)==0:0)){F=B;E=m;E=(_(c[l+4>>2]&c[F+4>>2],c[E+4>>2]|0)|0)^(_(c[l>>2]&c[F>>2],c[E>>2]|0)|0);E=(c[o>>2]|0)+(E>>>(c[n>>2]|0)<<3)|0;i=c[E>>2]&e|i;d=c[E+4>>2]&f|d}F=x;if(!(((c[F>>2]|j)&t|0)==0?((c[F+4>>2]|k)&u|0)==0:0)){E=B;F=q;F=(_(c[p+4>>2]&c[E+4>>2],c[F+4>>2]|0)|0)^(_(c[p>>2]&c[E>>2],c[F>>2]|0)|0);F=(c[s>>2]|0)+(F>>>(c[r>>2]|0)<<3)|0;i=c[F>>2]&e|i;d=c[F+4>>2]&f|d}F=y;if(!((c[F>>2]&t|0)==0?(c[F+4>>2]&u|0)==0:0)){F=28864+(g<<3)|0;i=c[F>>2]&e|i;d=c[F+4>>2]&f|d}}if(!((i|0)==0&(d|0)==0)){j=g<<6;g=d;while(1){d=b+8|0;F=fb(i|0,g|0,0)|0;E=yu(i|0,g|0,-1,-1)|0;i=E&i;g=C&g;c[b>>2]=F+j;if((i|0)==0&(g|0)==0){b=d;break}else b=d}}h=h+4|0;g=c[h>>2]|0}while((g|0)!=64);return b|0}function ze(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=a+328|0;r=t;v=a+264|0;o=v;q=c[o>>2]&c[r>>2];r=c[o+4>>2]&c[r+4>>2];o=q&65280;s=q&-65281;if(!((o|0)==0&0==0)){i=a+256|0;f=~c[i>>2];i=~c[i+4>>2];p=a+5364|0;j=c[p>>2]|0;if((j|0)==2){n=(c[a+5356>>2]|0)+64|0;n=(c[n>>2]|0)==0&(c[n+4>>2]|0)==0;f=(n?-1:d)&f;n=(n?-1:e)&i}else n=i;m=(j|0)==1;l=zu(o|0,0,9)|0;l=l&d;k=C&e;i=zu(o|0,0,7)|0;i=d&254&i;j=zu(o|0,0,8)|0;j=(m?d:255)&j&f;f=(m?e:0)&C&n;if(!((l|0)==0&(k|0)==0))if(m){m=b;while(1){n=fb(l|0,k|0,0)|0;o=yu(l|0,k|0,-1,-1)|0;l=o&l;k=C&k;o=n<<6;b=n+8768+o|0;c[m>>2]=b+20480;c[m+8>>2]=b+16384;c[m+16>>2]=b+12288;c[m+24>>2]=b+8192;b=m+40|0;c[m+32>>2]=n+16960+o|65536;if((l|0)==0&(k|0)==0)break;else m=b}}else{m=b;while(1){o=fb(l|0,k|0,0)|0;b=yu(l|0,k|0,-1,-1)|0;l=b&l;k=C&k;b=m+8|0;c[m>>2]=o+29248+(o<<6);if((l|0)==0&(k|0)==0)break;else m=b}}if(!((i|0)==0&0==0))if((c[p>>2]|0)==1){k=0;while(1){n=fb(i|0,k|0,0)|0;o=yu(i|0,k|0,-1,-1)|0;i=o&i;k=C&k;o=n<<6;l=n+8640+o|0;c[b>>2]=l+20480;c[b+8>>2]=l+16384;c[b+16>>2]=l+12288;c[b+24>>2]=l+8192;l=b+40|0;c[b+32>>2]=n+16832+o|65536;if((i|0)==0&(k|0)==0){b=l;break}else b=l}}else{k=0;while(1){o=fb(i|0,k|0,0)|0;l=yu(i|0,k|0,-1,-1)|0;i=l&i;k=C&k;l=b+8|0;c[b>>2]=o+29120+(o<<6);if((i|0)==0&(k|0)==0){b=l;break}else b=l}}if(!((j|0)==0&(f|0)==0))if((c[p>>2]|0)==1)while(1){o=fb(j|0,f|0,0)|0;p=yu(j|0,f|0,-1,-1)|0;j=p&j;f=C&f;p=o<<6;i=(o|8704)+p|0;c[b>>2]=i+20480;c[b+8>>2]=i+16384;c[b+16>>2]=i+12288;c[b+24>>2]=i+8192;i=b+40|0;c[b+32>>2]=(o|16896)+p|65536;if((j|0)==0&(f|0)==0){b=i;break}else b=i}else while(1){p=fb(j|0,f|0,0)|0;i=yu(j|0,f|0,-1,-1)|0;j=i&j;f=C&f;i=b+8|0;c[b>>2]=(p<<6)+20480+(p|8704);if((j|0)==0&(f|0)==0){b=i;break}else b=i}}k=zu(q|0,r|0,9)|0;k=d&2139062016&k;i=e&8355711&C;j=zu(q|0,r|0,7)|0;j=d&-16843264&j;f=e&16711422&C;if(!((k|0)==0&(i|0)==0)){l=k;while(1){q=fb(l|0,i|0,0)|0;k=yu(l|0,i|0,-1,-1)|0;l=k&l;i=C&i;k=b+8|0;c[b>>2]=q+576+(q<<6);if((l|0)==0&(i|0)==0){b=k;break}else b=k}}if(!((j|0)==0&(f|0)==0))while(1){q=fb(j|0,f|0,0)|0;i=yu(j|0,f|0,-1,-1)|0;j=i&j;f=C&f;i=b+8|0;c[b>>2]=q+448+(q<<6);if((j|0)==0&(f|0)==0){b=i;break}else b=i}l=a+5356|0;f=c[(c[l>>2]|0)+48>>2]|0;if((f|0)!=64?(g=26304+(f<<3)|0,h=s&c[g>>2],g=r&c[g+4>>2],!((h|0)==0&(g|0)==0)):0){i=f+8192|0;while(1){f=b+8|0;s=fb(h|0,g|0,0)|0;r=yu(h|0,g|0,-1,-1)|0;h=r&h;g=C&g;c[b>>2]=i+(s<<6|24576);if((h|0)==0&(g|0)==0){b=f;break}else b=f}}b=ye(a,xe(a,we(a,ve(a,b,1,d,e)|0,1,d,e)|0,1,d,e)|0,1,d,e)|0;i=c[a+5364>>2]|0;switch(i|0){case 1:{g=t;u=a+304|0;f=c[u>>2]&c[g>>2];g=c[u+4>>2]&c[g+4>>2];if(!((f|0)==0&(g|0)==0))do{h=fb(f|0,g|0,0)|0;i=yu(f|0,g|0,-1,-1)|0;f=i&f;g=C&g;i=28864+(h<<3)|0;j=c[i>>2]&d;i=c[i+4>>2]&e;if(!((j|0)==0&(i|0)==0)){k=h<<6;while(1){h=b+8|0;u=fb(j|0,i|0,0)|0;t=yu(j|0,i|0,-1,-1)|0;j=t&j;i=C&i;c[b>>2]=u+k;if((j|0)==0&(i|0)==0){b=h;break}else b=h}}}while(!((f|0)==0&(g|0)==0));f=c[(c[l>>2]|0)+48>>2]|0;if((f|0)!=64){g=a+256|0;d=g;d=vf(a,f,c[d>>2]|0,c[d+4>>2]|0)|0;h=c[a+5348>>2]|0;f=a+320+(h<<3)|0;i=c[f>>2]|0;f=c[f+4>>2]|0;e=v;if((i&d&c[e>>2]|0)==0?(f&C&c[e+4>>2]|0)==0:0){j=g;g=i}else{a=b;return a|0}}else{h=c[a+5348>>2]|0;f=a+320+(h<<3)|0;j=a+256|0;g=c[f>>2]|0;f=c[f+4>>2]|0}i=a+320+((h^1)<<3)|0;h=g;while(1){if((h|0)==0&(f|0)==0){u=36;break}e=fb(h|0,f|0,0)|0;g=yu(h|0,f|0,-1,-1)|0;f=C&f;d=j;d=_b(c[a+(e<<2)>>2]|0,e,c[d>>2]|0,c[d+4>>2]|0)|0;e=i;if(!((c[e>>2]&d|0)==0?(c[e+4>>2]&C|0)==0:0)){u=36;break}else h=g&h}if((u|0)==36)return b|0;break}case 4:{if(!(c[a+392>>2]|0))u=39;else u=40;break}case 2:{if(!(c[a+392>>2]|0))u=39;else u=40;break}default:{f=c[a+3984>>2]|0;g=28864+(f<<3)|0;h=c[g>>2]&d;g=c[g+4>>2]&e;if((i|0)==7){m=a+256|0;k=m;k=vf(a,f,c[k>>2]|0,c[k+4>>2]|0)|0;l=t;k=c[l>>2]&k;l=c[l+4>>2]&C;v=a+272|0;if(!((k&c[v>>2]|0)==0?(l&c[v+4>>2]|0)==0:0)){v=26816+(f<<3)|0;h=c[v>>2]&d|h;g=c[v+4>>2]&e|g}j=a+296|0;i=c[j>>2]|0;j=c[j+4>>2]|0;v=a+280|0;if(!(((c[v>>2]|i)&k|0)==0?((c[v+4>>2]|j)&l|0)==0:0)){t=m;s=23936+(f<<3)|0;v=24448+(f<<3)|0;v=(_(c[s+4>>2]&c[t+4>>2],c[v+4>>2]|0)|0)^(_(c[s>>2]&c[t>>2],c[v>>2]|0)|0);v=(c[1096324+(f<<2)>>2]|0)+(v>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;h=c[v>>2]&d|h;g=c[v+4>>2]&e|g}a=a+288|0;if(!(((c[a>>2]|i)&k|0)==0?((c[a+4>>2]|j)&l|0)==0:0)){v=m;t=22912+(f<<3)|0;a=23424+(f<<3)|0;a=(_(c[t+4>>2]&c[v+4>>2],c[a+4>>2]|0)|0)^(_(c[t>>2]&c[v>>2],c[a>>2]|0)|0);a=(c[1095812+(f<<2)>>2]|0)+(a>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;h=c[a>>2]&d|h;g=c[a+4>>2]&e|g}}}}if((u|0)==39){g=29376;f=64;h=c[g>>2]&d;g=c[g+4>>2]&e}else if((u|0)==40){f=c[a+3984>>2]|0;g=28864+(f<<3)|0;h=c[g>>2]&d;g=c[g+4>>2]&e}if((h|0)==0&(g|0)==0){a=b;return a|0}i=f<<6;while(1){f=b+8|0;a=fb(h|0,g|0,0)|0;e=yu(h|0,g|0,-1,-1)|0;h=e&h;g=C&g;c[b>>2]=a+i;if((h|0)==0&(g|0)==0){b=f;break}else b=f}return b|0}
function Mb(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;return b|0}function Nb(){return i|0}function Ob(a){a=a|0;i=a}function Pb(a,b){a=a|0;b=b|0;i=a;j=b}function Qb(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function Rb(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function Sb(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function Tb(a){a=a|0;C=a}function Ub(){return C|0}function Vb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return (c[1054852+((d<<6|a|b<<13&57344|e<<12|6-(b>>>3)<<15)>>>5<<2)>>2]&1<<(a&31)|0)!=0|0}function Wb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=pu(3932160)|0;xu(n|0,0,3932160)|0;k=0;do{f=k&63;h=k>>>6&63;j=k>>>12&1;a=6-(k>>>15&7)<<3;g=a|k>>>13&3;do if((h|0)==(g|0)|((f|0)==(g|0)?1:(c[1079428+(f<<8)+(h<<2)>>2]|0)<2))a=0;else{if(!j){e=26304+(g<<3)|0;d=24960+(h<<3)|0;if(!((c[d>>2]&c[e>>2]|0)==0?(c[d+4>>2]&c[e+4>>2]|0)==0:0)){a=0;break}if((a|0)==48?(i=g+8|0,(f|0)!=(i|0)):0){if((c[1079428+(h<<8)+(i<<2)>>2]|0)>1){a=4;break}e=28864+(f<<3)|0;d=24960+(i<<3)|0;if(!((c[d>>2]&c[e>>2]|0)==0?(c[d+4>>2]&c[e+4>>2]|0)==0:0)){a=4;break}}}else{b=28864+(h<<3)|0;a=c[b>>2]|0;b=c[b+4>>2]|0;e=28864+(f<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;o=26304+(g<<3)|0;if((a&~(c[o>>2]|d)|0)==0?(b&~(c[o+4>>2]|e)|0)==0:0){a=2;break}o=24960+(g<<3)|0;if(!((a&~d&c[o>>2]|0)==0?(b&~e&c[o+4>>2]|0)==0:0)){a=2;break}}a=1}while(0);c[n+(k*20|0)>>2]=j;c[n+(k*20|0)+4>>2]=f;c[n+(k*20|0)+8>>2]=h;c[n+(k*20|0)+12>>2]=g;c[n+(k*20|0)+16>>2]=a;k=k+1|0}while((k|0)!=196608);a=0;b=0;while(1){j=n+(a*20|0)+16|0;if((c[j>>2]|0)==1){do if(!(c[n+(a*20|0)>>2]|0)){i=c[n+(a*20|0)+4>>2]|0;f=28864+(i<<3)|0;d=c[f>>2]|0;f=c[f+4>>2]|0;if((d|0)==0&(f|0)==0){e=c[n+(a*20|0)+12>>2]|0;d=0}else{e=c[n+(a*20|0)+12>>2]|0;h=c[n+(a*20|0)+8>>2]<<6|e<<13&57344|6-(e>>>3)<<15;g=d;d=0;do{o=fb(g|0,f|0,0)|0;k=yu(g|0,f|0,-1,-1)|0;g=k&g;f=C&f;d=c[n+((h|o|4096)*20|0)+16>>2]|d}while(!((g|0)==0&(f|0)==0))}if((e>>3|0)<6){o=e+8|0;d=c[n+((i|o<<13&57344|6-(o>>>3)<<15|c[n+(a*20|0)+8>>2]<<6|4096)*20|0)+16>>2]|d}if(((e&-8|0)==8?(l=e+8|0,(l|0)!=(i|0)):0)?(m=c[n+(a*20|0)+8>>2]|0,(l|0)!=(m|0)):0){o=e+16|0;d=c[n+((i|o<<13&57344|6-(o>>>3)<<15|m<<6|4096)*20|0)+16>>2]|d}d=(d&4|0)==0?2-(d&1)|0:4}else{e=28864+(c[n+(a*20|0)+8>>2]<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if(!((d|0)==0&(e|0)==0)){g=c[n+(a*20|0)+12>>2]|0;g=g<<13&57344|c[n+(a*20|0)+4>>2]|6-(g>>>3)<<15;f=d;d=0;do{o=fb(f|0,e|0,0)|0;k=yu(f|0,e|0,-1,-1)|0;f=k&f;e=C&e;d=c[n+((g|o<<6)*20|0)+16>>2]|d}while(!((f|0)==0&(e|0)==0));if(d&2){d=2;break}}else d=0;d=d&1|0?1:4}while(0);c[j>>2]=d;d=(d|0)!=1}else d=0;b=d&1|b;a=a+1|0;if(a>>>0<196608)continue;if(!b){a=0;break}else{a=0;b=0}}do{if((c[n+(a*20|0)+16>>2]|0)==4){o=1054852+(a>>>5<<2)|0;c[o>>2]=c[o>>2]|1<<(a&31)}a=a+1|0}while((a|0)!=196608);Qt(n);return}function Xb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[263711]=m;c[263710]=m;c[263712]=m+108;Uj(m,b);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,d);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,e);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,f);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,g);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,h);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,j);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,k);m=(c[263711]|0)+12|0;c[263711]=m;Uj(m,l);c[263711]=(c[263711]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Yb(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274210]=m;c[274209]=m;c[274211]=m+108;Uj(m,b);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,d);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,e);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,f);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,g);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,h);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,j);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,k);m=(c[274210]|0)+12|0;c[274210]=m;Uj(m,l);c[274210]=(c[274210]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function Zb(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=i;i=i+32|0;l=s+16|0;k=s;b=0;do{r=b-(b>>>1&21845)|0;r=(r>>>2&13107)+(r&13107)|0;a[1213348+b>>0]=(((r>>>4)+r&3855)*257|0)>>>8;b=b+1|0}while((b|0)!=65536);b=0;do{q=Au(1,0,b|0)|0;r=24960+(b<<3)|0;c[r>>2]=q;c[r+4>>2]=C;b=b+1|0}while((b|0)!=64);b=2;d=0;do{q=yu(b|0,d|0,-1,0)|0;q=c[1096848+(q<<2)>>2]|0;r=yu(b|0,d|0,-1,-1)|0;c[1096848+(b<<2)>>2]=q+((r&b|0)==0&(C&d|0)==0&1);b=yu(b|0,d|0,1,0)|0;d=C}while(d>>>0<0|(d|0)==0&b>>>0<256);r=25472;c[r>>2]=16843009;c[r+4>>2]=16843009;r=25480;c[r>>2]=33686018;c[r+4>>2]=33686018;r=25488;c[r>>2]=67372036;c[r+4>>2]=67372036;r=25496;c[r>>2]=134744072;c[r+4>>2]=134744072;r=25504;c[r>>2]=269488144;c[r+4>>2]=269488144;r=25512;c[r>>2]=538976288;c[r+4>>2]=538976288;r=25520;c[r>>2]=1077952576;c[r+4>>2]=1077952576;r=25528;c[r>>2]=-2139062144;c[r+4>>2]=-2139062144;r=25536;c[r>>2]=255;c[r+4>>2]=0;r=25544;c[r>>2]=65280;c[r+4>>2]=0;r=25552;c[r>>2]=16711680;c[r+4>>2]=0;r=25560;c[r>>2]=-16777216;c[r+4>>2]=0;r=25568;c[r>>2]=0;c[r+4>>2]=255;r=25576;c[r>>2]=0;c[r+4>>2]=65280;r=25584;c[r>>2]=0;c[r+4>>2]=16711680;r=25592;c[r>>2]=0;c[r+4>>2]=-16777216;r=25600;c[r>>2]=33686018;c[r+4>>2]=33686018;r=25608;c[r>>2]=84215045;c[r+4>>2]=84215045;r=25616;c[r>>2]=168430090;c[r+4>>2]=168430090;r=25624;c[r>>2]=336860180;c[r+4>>2]=336860180;r=25632;c[r>>2]=673720360;c[r+4>>2]=673720360;r=25640;c[r>>2]=1347440720;c[r+4>>2]=1347440720;r=25648;c[r>>2]=-1600085856;c[r+4>>2]=-1600085856;r=25656;c[r>>2]=1077952576;c[r+4>>2]=1077952576;r=25728;q=c[r>>2]|0;r=c[r+4>>2]|0;b=25736;c[b>>2]=q|255;c[b+4>>2]=r;b=25664;c[b>>2]=q&-256^-256;c[b+4>>2]=~r;b=25744;c[b>>2]=q|65535;c[b+4>>2]=r;b=25672;c[b>>2]=q&-65536^-65536;c[b+4>>2]=~r;b=25752;c[b>>2]=q|16777215;c[b+4>>2]=r;b=25680;c[b>>2]=q&-16777216^-16777216;c[b+4>>2]=~r;b=25760;c[b>>2]=-1;c[b+4>>2]=r;b=25688;c[b>>2]=0;c[b+4>>2]=~r;b=25768;c[b>>2]=-1;c[b+4>>2]=r|255;b=25696;c[b>>2]=0;c[b+4>>2]=r&-256^-256;b=25776;c[b>>2]=-1;c[b+4>>2]=r|65535;b=25704;c[b>>2]=0;c[b+4>>2]=r&-65536^-65536;b=25784;c[b>>2]=-1;c[b+4>>2]=r|16777215;b=25712;c[b>>2]=0;c[b+4>>2]=r&-16777216^-16777216;b=0;do{q=25664+(b>>3<<3)|0;o=c[q>>2]|0;q=c[q+4>>2]|0;r=b&7;p=25472+(r<<3)|0;n=c[p>>2]&o;p=c[p+4>>2]&q;m=103616+(b<<3)|0;c[m>>2]=n;c[m+4>>2]=p;r=25600+(r<<3)|0;o=c[r>>2]&o;q=c[r+4>>2]&q;r=105664+(b<<3)|0;c[r>>2]=o;c[r+4>>2]=q;r=104640+(b<<3)|0;c[r>>2]=n|o;c[r+4>>2]=p|q;b=b+1|0}while((b|0)!=64);b=0;do{q=25728+(b>>3<<3)|0;o=c[q>>2]|0;q=c[q+4>>2]|0;r=b&7;p=25472+(r<<3)|0;n=c[p>>2]&o;p=c[p+4>>2]&q;m=104128+(b<<3)|0;c[m>>2]=n;c[m+4>>2]=p;r=25600+(r<<3)|0;o=c[r>>2]&o;q=c[r+4>>2]&q;r=106176+(b<<3)|0;c[r>>2]=o;c[r+4>>2]=q;r=105152+(b<<3)|0;c[r>>2]=n|o;c[r+4>>2]=p|q;b=b+1|0}while((b|0)!=64);e=0;do{b=e&7;d=e>>3;f=0;do{if((e|0)!=(f|0)){r=f&7;r=b>>>0<r>>>0?r-b|0:b-r|0;p=f>>3;p=(d|0)<(p|0)?p-d|0:d-p|0;r=(r|0)<(p|0)?p:r;c[1079428+(e<<8)+(f<<2)>>2]=r;r=99520+(e<<6)+(r+-1<<3)|0;p=24960+(f<<3)|0;o=r;q=c[o+4>>2]|c[p+4>>2];c[r>>2]=c[o>>2]|c[p>>2];c[r+4>>2]=q}f=f+1|0}while((f|0)!=64);e=e+1|0}while((e|0)!=64);g=1;do{d=c[1576+(g*36|0)>>2]|0;if(!(57>>>g&1)){h=0;do{e=25792+(g<<9)+(h<<3)|0;b=d;f=0;do{b=b+h|0;if(b>>>0<64?(c[1079428+(h<<8)+(b<<2)>>2]|0)<3:0){p=24960+(b<<3)|0;o=e;q=c[o+4>>2]|c[p+4>>2];r=e;c[r>>2]=c[o>>2]|c[p>>2];c[r+4>>2]=q}f=f+1|0;b=c[1576+(g*36|0)+(f<<2)>>2]|0}while((b|0)!=0);h=h+1|0}while((h|0)!=64)}g=g+1|0}while((g|0)!=7);h=1;do{d=c[1576+(h*36|0)>>2]|0;e=h+8|0;if(!(57>>>h&1)){j=0;do{f=25792+(e<<9)+(j<<3)|0;b=d;g=0;do{b=j-b|0;if(b>>>0<64?(c[1079428+(j<<8)+(b<<2)>>2]|0)<3:0){p=24960+(b<<3)|0;o=f;q=c[o+4>>2]|c[p+4>>2];r=f;c[r>>2]=c[o>>2]|c[p>>2];c[r+4>>2]=q}g=g+1|0;b=c[1576+(h*36|0)+(g<<2)>>2]|0}while((b|0)!=0);j=j+1|0}while((j|0)!=64)}h=h+1|0}while((h|0)!=7);c[l>>2]=c[457];c[l+4>>2]=c[458];c[l+8>>2]=c[459];c[l+12>>2]=c[460];c[k>>2]=c[461];c[k+4>>2]=c[462];c[k+8>>2]=c[463];c[k+12>>2]=c[464];ac(110784,1095812,23424,22912,1096068,l,26);ac(929984,1096324,24448,23936,1096580,k,27);r=0;do{l=c[1096324+(r<<2)>>2]|0;q=l;o=c[q>>2]|0;q=c[q+4>>2]|0;n=108224+(r<<3)|0;c[n>>2]=o;c[n+4>>2]=q;n=109248+(r<<3)|0;m=n;c[m>>2]=o;c[m+4>>2]=q;m=c[1095812+(r<<2)>>2]|0;p=m;k=c[p>>2]|0;p=c[p+4>>2]|0;j=108736+(r<<3)|0;c[j>>2]=k;c[j+4>>2]=p;c[n>>2]=k|o;c[n+4>>2]=p|q;n=24960+(r<<3)|0;q=3;do{b=25792+(q<<9)+(r<<3)|0;p=106688+(q<<9)+(r<<3)|0;o=c[p>>2]|0;p=c[p+4>>2]|0;if((q|0)==3){e=0;do{d=24960+(e<<3)|0;b=c[d>>2]|0;d=c[d+4>>2]|0;if(!((b&o|0)==0&(d&p|0)==0)){f=l;t=c[1096324+(e<<2)>>2]|0;g=n;k=c[g>>2]|0;g=c[g+4>>2]|0;j=g|c[t+4>>2]&c[f+4>>2]|d;h=66752+(r<<9)+(e<<3)|0;c[h>>2]=k|c[t>>2]&c[f>>2]|b;c[h+4>>2]=j;h=_b(3,r,b,d)|0;j=C;g=_b(3,e,k,g)|0;k=33984+(r<<9)+(e<<3)|0;c[k>>2]=g&h;c[k+4>>2]=C&j}e=e+1|0}while((e|0)!=64)}else{k=0;do{e=24960+(k<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;if(!((d&o|0)==0&(e&p|0)==0)){switch(q|0){case 5:{h=l;u=m;j=c[1096324+(k<<2)>>2]|0;t=c[1095812+(k<<2)>>2]|0;f=c[u>>2]|c[h>>2];g=c[t>>2]|c[j>>2];h=c[u+4>>2]|c[h+4>>2];j=c[t+4>>2]|c[j+4>>2];break}case 4:{h=m;j=c[1095812+(k<<2)>>2]|0;f=c[h>>2]|0;g=c[j>>2]|0;h=c[h+4>>2]|0;j=c[j+4>>2]|0;break}default:{h=b;j=25792+(q<<9)+(k<<3)|0;f=c[h>>2]|0;g=c[j>>2]|0;h=c[h+4>>2]|0;j=c[j+4>>2]|0}}u=n;v=c[u>>2]|0;u=c[u+4>>2]|0;t=66752+(r<<9)+(k<<3)|0;c[t>>2]=v|g&f|d;c[t+4>>2]=u|j&h|e;j=_b(q,r,d,e)|0;t=C;h=_b(q,k,v,u)|0;u=33984+(r<<9)+(k<<3)|0;c[u>>2]=h&j;c[u+4>>2]=C&t}k=k+1|0}while((k|0)!=64)}q=q+1|0}while((q|0)!=5);r=r+1|0}while((r|0)!=64);i=s;return}function _b(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;switch(a&7|0){case 3:{f=23936+(b<<3)|0;a=24448+(b<<3)|0;a=(_(c[f+4>>2]&e,c[a+4>>2]|0)|0)^(_(c[f>>2]&d,c[a>>2]|0)|0);b=(c[1096324+(b<<2)>>2]|0)+(a>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;a=c[b+4>>2]|0;b=c[b>>2]|0;C=a;return b|0}case 4:{a=22912+(b<<3)|0;f=23424+(b<<3)|0;f=(_(c[a+4>>2]&e,c[f+4>>2]|0)|0)^(_(c[a>>2]&d,c[f>>2]|0)|0);f=(c[1095812+(b<<2)>>2]|0)+(f>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;b=c[f+4>>2]|0;f=c[f>>2]|0;C=b;return f|0}case 5:{g=23936+(b<<3)|0;f=24448+(b<<3)|0;f=(_(c[g+4>>2]&e,c[f+4>>2]|0)|0)^(_(c[g>>2]&d,c[f>>2]|0)|0);f=(c[1096324+(b<<2)>>2]|0)+(f>>>(c[1096580+(b<<2)>>2]|0)<<3)|0;g=22912+(b<<3)|0;a=23424+(b<<3)|0;a=(_(c[g+4>>2]&e,c[a+4>>2]|0)|0)^(_(c[g>>2]&d,c[a>>2]|0)|0);a=(c[1095812+(b<<2)>>2]|0)+(a>>>(c[1096068+(b<<2)>>2]|0)<<3)|0;b=c[a+4>>2]|c[f+4>>2];f=c[a>>2]|c[f>>2];C=b;return f|0}default:{g=25792+(a<<9)+(b<<3)|0;f=c[g+4>>2]|0;g=c[g>>2]|0;C=f;return g|0}}return 0}function $b(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=22912+(a<<3)|0;e=23424+(a<<3)|0;d=(_(c[f+4>>2]&d,c[e+4>>2]|0)|0)^(_(c[f>>2]&b,c[e>>2]|0)|0);return d>>>(c[1096068+(a<<2)>>2]|0)|0}function ac(a,b,e,f,g,h,j){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=i;i=i+81920|0;w=y+32768|0;x=y;v=y+65536|0;xu(v|0,0,16384)|0;c[b>>2]=a;a=0;u=0;while(1){q=u>>3;l=25536+(q<<3)|0;t=25472+((u&7)<<3)|0;o=c[t>>2]&-2122219135^-2122219135|c[l>>2]&255^255;l=c[t+4>>2]&-2122219135^-2122219135|c[l+4>>2]&-16777216^-16777216;t=bc(h,u,0,0)|0;o=t&~o;l=C&~l;t=f+(u<<3)|0;n=t;c[n>>2]=o;c[n+4>>2]=l;n=zu(o|0,l|0,16)|0;m=zu(o|0,l|0,48)|0;c[g+(u<<2)>>2]=32-(d[1213348+(o&65535)>>0]|0)-(d[1213348+(n&65535)>>0]|0)-(d[1213348+(l&65535)>>0]|0)-(d[1213348+m>>0]|0);m=t;l=c[m>>2]|0;m=c[m+4>>2]|0;n=0;o=0;p=0;while(1){s=w+(p<<3)|0;c[s>>2]=n;c[s+4>>2]=o;s=bc(h,u,n,o)|0;k=x+(p<<3)|0;c[k>>2]=s;c[k+4>>2]=C;k=p+1|0;s=wu(n|0,o|0,l|0,m|0)|0;n=s&l;o=C&m;if((n|0)==0&(o|0)==0)break;else p=k}r=b+(u<<2)|0;if((u|0)<63)c[b+(u+1<<2)>>2]=(c[r>>2]|0)+(k<<3);k=c[1860+(q<<2)>>2]|0;l=((k|0)<0)<<31>>31;s=e+(u<<3)|0;a:do if((p|0)<0){do{n=zu(k|0,l|0,12)|0;n=n^k;p=C^l;r=Au(n|0,p|0,25)|0;n=r^n;p=C^p;r=zu(n|0,p|0,27)|0;n=r^n;p=C^p;r=Ku(n|0,p|0,1332534557,625341585)|0;q=C;o=zu(n|0,p|0,12)|0;n=o^n;p=C^p;o=Au(n|0,p|0,25)|0;n=o^n;p=C^p;o=zu(n|0,p|0,27)|0;n=o^n;p=C^p;o=Ku(n|0,p|0,1332534557,625341585)|0;q=C&q;m=zu(n|0,p|0,12)|0;n=m^n;p=C^p;m=Au(n|0,p|0,25)|0;n=m^n;p=C^p;m=zu(n|0,p|0,27)|0;k=m^n;l=C^p;p=Ku(k|0,l|0,1332534557,625341585)|0;p=o&r&p;q=q&C;r=s;c[r>>2]=p;c[r+4>>2]=q;r=t;r=Ku(p|0,q|0,c[r>>2]|0,c[r+4>>2]|0)|0;r=zu(r|0,C|0,56)|0}while((((d[1213348]|0)*3|0)+(d[1213348+r>>0]|0)|0)>>>0<6);a=a+1|0}else{q=a;b:while(1){do{o=zu(k|0,l|0,12)|0;k=o^k;l=C^l;o=Au(k|0,l|0,25)|0;k=o^k;l=C^l;o=zu(k|0,l|0,27)|0;k=o^k;l=C^l;o=Ku(k|0,l|0,1332534557,625341585)|0;n=C;a=zu(k|0,l|0,12)|0;k=a^k;l=C^l;a=Au(k|0,l|0,25)|0;k=a^k;l=C^l;a=zu(k|0,l|0,27)|0;k=a^k;l=C^l;a=Ku(k|0,l|0,1332534557,625341585)|0;n=C&n;m=zu(k|0,l|0,12)|0;k=m^k;l=C^l;m=Au(k|0,l|0,25)|0;k=m^k;l=C^l;m=zu(k|0,l|0,27)|0;k=m^k;l=C^l;m=Ku(k|0,l|0,1332534557,625341585)|0;m=a&o&m;n=n&C;o=s;c[o>>2]=m;c[o+4>>2]=n;o=t;o=Ku(m|0,n|0,c[o>>2]|0,c[o+4>>2]|0)|0;o=zu(o|0,C|0,56)|0}while((((d[1213348]|0)*3|0)+(d[1213348+o>>0]|0)|0)>>>0<6);a=q+1|0;o=0;while(1){m=w+(o<<3)|0;m=wb[j&31](u,c[m>>2]|0,c[m+4>>2]|0)|0;n=v+(m<<2)|0;if((c[n>>2]|0)>(q|0)){m=(c[r>>2]|0)+(m<<3)|0;n=x+(o<<3)|0;if(!((c[m>>2]|0)==(c[n>>2]|0)?(c[m+4>>2]|0)==(c[n+4>>2]|0):0)){q=a;continue b}}else{c[n>>2]=a;A=x+(o<<3)|0;z=c[A+4>>2]|0;n=(c[r>>2]|0)+(m<<3)|0;c[n>>2]=c[A>>2];c[n+4>>2]=z}if((o|0)<(p|0))o=o+1|0;else break a}}}while(0);u=u+1|0;if((u|0)==64)break}i=y;return}function bc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=c[a>>2]|0;g=i+b|0;a:do if(g>>>0<64){f=0;h=0;do{if((c[1079428+(g<<8)+(g-i<<2)>>2]|0)!=1)break a;j=24960+(g<<3)|0;k=c[j>>2]|0;j=c[j+4>>2]|0;f=k|f;h=j|h;g=i+g|0}while((k&d|0)==0&(j&e|0)==0&g>>>0<64)}else{f=0;h=0}while(0);i=c[a+4>>2]|0;g=i+b|0;b:do if(g>>>0<64)do{if((c[1079428+(g<<8)+(g-i<<2)>>2]|0)!=1)break b;k=24960+(g<<3)|0;j=c[k>>2]|0;k=c[k+4>>2]|0;f=j|f;h=k|h;g=i+g|0}while((j&d|0)==0&(k&e|0)==0&g>>>0<64);while(0);i=c[a+8>>2]|0;g=i+b|0;c:do if(g>>>0<64)do{if((c[1079428+(g<<8)+(g-i<<2)>>2]|0)!=1)break c;k=24960+(g<<3)|0;j=c[k>>2]|0;k=c[k+4>>2]|0;f=j|f;h=k|h;g=i+g|0}while((j&d|0)==0&(k&e|0)==0&g>>>0<64);while(0);i=c[a+12>>2]|0;g=i+b|0;if(g>>>0>=64){j=h;k=f;C=j;return k|0}while(1){if((c[1079428+(g<<8)+(g-i<<2)>>2]|0)!=1){g=13;break}k=24960+(g<<3)|0;j=c[k>>2]|0;k=c[k+4>>2]|0;f=j|f;h=k|h;g=i+g|0;if(!((j&d|0)==0&(k&e|0)==0&g>>>0<64)){g=13;break}}if((g|0)==13){C=h;return f|0}return 0}function cc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=23936+(a<<3)|0;e=24448+(a<<3)|0;d=(_(c[f+4>>2]&d,c[e+4>>2]|0)|0)^(_(c[f>>2]&b,c[e>>2]|0)|0);return d>>>(c[1096580+(a<<2)>>2]|0)|0}function dc(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;a=i;i=i+112|0;b=a;Vj(b,16021,5);d=b+12|0;Vj(d,16027,8);e=b+24|0;Vj(e,16036,6);f=b+36|0;Vj(f,16043,10);g=b+48|0;Vj(g,16054,5);h=b+60|0;Vj(h,16060,13);j=b+72|0;Vj(j,16074,11);k=b+84|0;Vj(k,16086,5);l=b+96|0;Vj(l,16092,10);m=pu(108)|0;c[274469]=m;c[274468]=m;c[274470]=m+108;Uj(m,b);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,d);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,e);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,f);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,g);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,h);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,j);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,k);m=(c[274469]|0)+12|0;c[274469]=m;Uj(m,l);c[274469]=(c[274469]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(b);i=a;return}function ec(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;b=i;i=i+192|0;t=b+180|0;s=b+168|0;r=b+156|0;q=b+144|0;p=b+132|0;o=b+120|0;n=b+108|0;m=b+96|0;l=b+84|0;k=b+72|0;j=b+60|0;h=b+48|0;g=b+36|0;f=b+24|0;e=b+12|0;d=b;c[a+4>>2]=0;c[a+8>>2]=0;c[a>>2]=a+4;c[a+16>>2]=0;c[a+20>>2]=0;c[a+12>>2]=a+16;Vj(t,14104,3);fc(a,t);Zj(t);Vj(s,14108,4);lc(a,s);Zj(s);Vj(r,14113,4);pc(a,r);Zj(r);Vj(q,14118,4);tc(a,q);Zj(q);Vj(p,14123,4);xc(a,p);Zj(p);Vj(o,14128,4);Bc(a,o);Zj(o);Vj(n,14133,4);Fc(a,n);Zj(n);Vj(m,14138,4);Jc(a,m);Zj(m);Vj(l,14143,4);Nc(a,l);Zj(l);Vj(k,14148,5);Sc(a,k);Zj(k);Vj(j,14154,5);Wc(a,j);Zj(j);Vj(h,14160,5);_c(a,h);Zj(h);Vj(g,14166,5);cd(a,g);Zj(g);Vj(f,14172,5);gd(a,f);Zj(f);Vj(e,14178,6);kd(a,e);Zj(e);Vj(d,14185,7);od(a,d);Zj(d);i=b;return}function fc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=1932;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=1932;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function gc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=(d|0)==(b|0);a[d+12>>0]=j&1;if(j)return;while(1){h=c[d+8>>2]|0;g=h+12|0;if(a[g>>0]|0){d=37;break}j=h+8|0;f=d;d=c[j>>2]|0;e=c[d>>2]|0;if((e|0)==(h|0)){e=c[d+4>>2]|0;if(!e){e=f;i=j;g=j;f=d;b=d;d=8;break}e=e+12|0;if(a[e>>0]|0){e=f;i=j;g=j;f=d;b=d;d=8;break}a[g>>0]=1;a[d+12>>0]=(d|0)==(b|0)&1;a[e>>0]=1}else{if(!e){e=f;i=j;b=j;f=d;g=d;d=24;break}e=e+12|0;if(a[e>>0]|0){e=f;i=j;b=j;f=d;g=d;d=24;break}a[g>>0]=1;a[d+12>>0]=(d|0)==(b|0)&1;a[e>>0]=1}if((d|0)==(b|0)){d=37;break}}if((d|0)==8){if((c[h>>2]|0)==(e|0))d=h;else{j=h+4|0;d=c[j>>2]|0;e=c[d>>2]|0;c[j>>2]=e;if(!e)e=f;else{c[e+8>>2]=h;e=c[i>>2]|0}f=d+8|0;c[f>>2]=e;e=c[g>>2]|0;if((c[e>>2]|0)==(h|0))c[e>>2]=d;else c[e+4>>2]=d;c[d>>2]=h;c[i>>2]=d;b=c[f>>2]|0}a[d+12>>0]=1;a[b+12>>0]=0;f=c[b>>2]|0;g=f+4|0;d=c[g>>2]|0;c[b>>2]=d;if(d|0)c[d+8>>2]=b;d=b+8|0;c[f+8>>2]=c[d>>2];e=c[d>>2]|0;if((c[e>>2]|0)==(b|0))c[e>>2]=f;else c[e+4>>2]=f;c[g>>2]=b;c[d>>2]=f;return}else if((d|0)==24){if((c[h>>2]|0)==(e|0)){d=c[h>>2]|0;g=d+4|0;e=c[g>>2]|0;c[h>>2]=e;if(!e)e=f;else{c[e+8>>2]=h;e=c[i>>2]|0}f=d+8|0;c[f>>2]=e;e=c[b>>2]|0;if((c[e>>2]|0)==(h|0))c[e>>2]=d;else c[e+4>>2]=d;c[g>>2]=h;c[i>>2]=d;g=c[f>>2]|0}else d=h;a[d+12>>0]=1;a[g+12>>0]=0;j=g+4|0;f=c[j>>2]|0;d=c[f>>2]|0;c[j>>2]=d;if(d|0)c[d+8>>2]=g;d=g+8|0;c[f+8>>2]=c[d>>2];e=c[d>>2]|0;if((c[e>>2]|0)==(g|0))c[e>>2]=f;else c[e+4>>2]=f;c[f>>2]=g;c[d>>2]=f;return}else if((d|0)==37)return}function hc(a){a=a|0;return}function ic(a){a=a|0;Qt(a);return}function jc(a){a=a|0;return c[a+4>>2]|0}function kc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+4|0;l=c[k>>2]|0;g=c[b+5364>>2]|0;a:do switch(g|0){case 4:{d=l<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){i=(l|0)==1;f=i?d^56:d;d=c[a+8>>2]|0;j=15;break a}else{f=c[b+400+(e<<8)>>2]&4|0?d^7:d;i=(l|0)==1;f=i?f^56:f;d=c[a+8>>2]|0;j=15;break a}}case 2:{d=l<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){i=(l|0)==1;f=i?d^56:d}else{f=c[b+400+(e<<8)>>2]&4|0?d^7:d;i=(l|0)==1;f=i?f^56:f}d=c[a+8>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0))d=i?d^56:d;else{d=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=i?d^56:d}e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0))g=64;else g=c[b+400+(e<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){h=f;f=g;e=i}else{a=e;e=i;j=33}break}case 1:{d=64;j=13;break}default:{d=c[b+400+((l<<3|6)<<8)>>2]|0;j=13}}while(0);b:do if((j|0)==13){f=c[b+400+((l<<3|1)<<8)>>2]&4|0?d^7:d;e=(l|0)==1;f=e?f^56:f;d=c[a+8>>2]|0;switch(g|0){case 4:{i=e;j=15;break b}case 1:{d=c[b+400+((l<<3|1)<<8)>>2]&4|0?71:64;d=e?d|56:d;break}default:{d=c[b+400+((d<<3|6)<<8)>>2]|0;d=c[b+400+((l<<3|1)<<8)>>2]&4|0?d^7:d;d=e?d^56:d}}g=c[b+400+((l<<3|1)<<8)>>2]|0;a=l<<3|1;j=33}while(0);if((j|0)==15){d=d<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0))d=i?d^56:d;else{d=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=i?d^56:d}e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0))g=64;else g=c[b+400+(e<<8)>>2]|0;e=l<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){h=f;f=g;e=i}else{a=e;e=i;j=33}}if((j|0)==33){h=f;f=c[b+400+(a<<8)>>2]&4|0?g^7:g}f=e?f^56:f;e=b+5348|0;if(Vb(h,f,d,(l|0)!=(c[e>>2]|0)&1)|0){l=f>>3;return ((c[k>>2]|0)==(c[e>>2]|0)?l+10248|0:-10248-l|0)|0}else return 0;return 0}function lc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=1956;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=1956;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function mc(a){a=a|0;Qt(a);return}function nc(a){a=a|0;return c[a+4>>2]|0}function oc(a,b){a=a|0;b=b|0;return 0}function pc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=1980;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=1980;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function qc(a){a=a|0;Qt(a);return}function rc(a){a=a|0;return c[a+4>>2]|0}function sc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+4>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=f<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;d=c[a+8>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;if(!(c[b+336+((f<<3|3)<<2)>>2]|0))a=64;else g=12;break}case 2:{d=f<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;d=c[a+8>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;a=f<<3|3;if(!(c[b+336+(a<<2)>>2]|0))a=64;else g=14;break}case 1:{d=64;e=64;g=12;break}default:{d=c[b+400+((c[a+8>>2]<<3|6)<<8)>>2]|0;e=c[b+400+((f<<3|6)<<8)>>2]|0;g=12}}if((g|0)==12){a=f<<3|3;g=14}if((g|0)==14)a=c[b+400+(a<<8)>>2]|0;a=((a>>>3^a)&1|0)!=0;g=a?d^56:d;g=(c[1996+(c[1079428+((a?e^56:e)<<8)+(g<<2)>>2]<<2)>>2]|0)+1e4+(c[2028+(g<<2)>>2]|0)|0;return ((f|0)==(c[b+5348>>2]|0)?g:0-g|0)|0}function tc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2292;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=2292;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function uc(a){a=a|0;Qt(a);return}function vc(a){a=a|0;return c[a+4>>2]|0}function wc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[a+4>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=l<<3|6;if(!(c[b+336+(d<<2)>>2]|0)){e=l*56|0;f=e^64}else{e=l*56|0;f=c[b+400+(d<<8)>>2]^e}h=a+8|0;d=c[h>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;g=d^e;d=l<<3|4;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;a=d^e;h=c[h>>2]|0;d=h<<3|1;if(!(c[b+336+(d<<2)>>2]|0)){d=64;j=f;i=h;h=a}else k=21;break}case 2:{d=l<<3|6;if(!(c[b+336+(d<<2)>>2]|0)){e=l*56|0;f=e^64}else{e=l*56|0;f=c[b+400+(d<<8)>>2]^e}h=a+8|0;d=c[h>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;g=d^e;d=l<<3|4;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;a=d^e;h=c[h>>2]|0;d=h<<3|1;if(!(c[b+336+(d<<2)>>2]|0)){d=64;j=f;i=h;h=a}else k=21;break}case 1:{g=l*56|0;d=a+8|0;e=g;a=c[b+400+((l<<3|4)<<8)>>2]^g;f=g^64;g=g^64;k=18;break}default:{g=l*56|0;k=a+8|0;d=k;e=g;a=c[b+400+((l<<3|4)<<8)>>2]^g;f=c[b+400+((l<<3|6)<<8)>>2]^g;g=c[b+400+((c[k>>2]<<3|6)<<8)>>2]^g;k=18}}if((k|0)==18){h=c[d>>2]|0;d=h<<3|1;k=21}if((k|0)==21){d=c[b+400+(d<<8)>>2]|0;j=f;i=h;h=a}f=d^e;a=d&7;if((j|0)<(f|0)&(j&7|0)==(a|0)){m=c[b+5348>>2]|0;b=1371-(c[1079428+(j<<8)+(f<<2)>>2]|0)|0;l=(l|0)==(m|0);m=0-b|0;m=l?b:m;return m|0}e=c[1079428+(g<<8)+(f<<2)>>2]|0;d=c[b+5348>>2]|0;if((e|0)>=(((d|0)==(i|0)?4:3)|0)?(c[1079428+(g<<8)+(h<<2)>>2]|0)>2:0){m=d;b=1371-(c[1079428+(j<<8)+(f<<2)>>2]|0)|0;l=(l|0)==(m|0);m=0-b|0;m=l?b:m;return m|0}if(((g>>3|0)<3?(j>>3|0)>2&(e|0)==1:0)?(m=c[1079428+(j<<8)+(f<<2)>>2]|0,(m|0)>(((d|0)==(l|0)?3:2)|0)):0){k=d;b=80-(m<<3)|0;l=(l|0)==(k|0);m=0-b|0;m=l?b:m;return m|0}b=f+-8|0;m=d;b=200-((c[1079428+(j<<8)+(b<<2)>>2]|0)-(c[1079428+(g<<8)+(b<<2)>>2]|0)-(c[1079428+(f<<8)+(a<<2)>>2]|0)<<3)|0;l=(l|0)==(m|0);m=0-b|0;m=l?b:m;return m|0}function xc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2316;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=2316;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function yc(a){a=a|0;Qt(a);return}function zc(a){a=a|0;return c[a+4>>2]|0}function Ac(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+8>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=d<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else e=5;break}case 2:{d=d<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else e=5;break}case 1:{d=64;break}default:{d=d<<3|6;e=5}}if((e|0)==5)d=c[b+400+(d<<8)>>2]|0;e=c[2332+(d<<2)>>2]|0;return ((c[a+4>>2]|0)==(c[b+5348>>2]|0)?e:0-e|0)|0}function Bc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2596;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=2596;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function Cc(a){a=a|0;Qt(a);return}function Dc(a){a=a|0;return c[a+4>>2]|0}function Ec(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+8>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;if(!(c[b+336+((e<<3|2)<<2)>>2]|0))e=64;else f=8;break}case 2:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=e<<3|2;if(!(c[b+336+(e<<2)>>2]|0))e=64;else f=10;break}case 1:{d=64;f=8;break}default:{d=c[b+400+((e<<3|6)<<8)>>2]|0;f=8}}if((f|0)==8){e=e<<3|2;f=10}if((f|0)==10)e=c[b+400+(e<<8)>>2]|0;f=(c[2612+(c[1079428+(d<<8)+(e<<2)>>2]<<2)>>2]|0)+(c[2332+(d<<2)>>2]|0)|0;return ((c[a+4>>2]|0)==(c[b+5348>>2]|0)?f:0-f|0)|0}function Fc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2652;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=2652;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function Gc(a){a=a|0;Qt(a);return}function Hc(a){a=a|0;return c[a+4>>2]|0}function Ic(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=c[a+4>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=i<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]|0;d=a<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;if(!(c[b+336+((a<<3|1)<<2)>>2]|0)){g=64;f=d}else h=13;break}case 2:{d=i<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]|0;d=a<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;f=a<<3|1;if(!(c[b+336+(f<<2)>>2]|0)){g=64;f=d}else h=15;break}case 1:{d=64;e=64;a=c[a+8>>2]|0;h=13;break}default:{a=c[a+8>>2]|0;d=c[b+400+((a<<3|6)<<8)>>2]|0;e=c[b+400+((i<<3|6)<<8)>>2]|0;h=13}}if((h|0)==13){f=a<<3|1;h=15}if((h|0)==15){g=c[b+400+(f<<8)>>2]|0;f=d}d=c[1996+(c[1079428+(e<<8)+(f<<2)>>2]<<2)>>2]|0;if(((a*7^g>>3|0)==6?(c[1079428+(f<<8)+(g<<2)>>2]|0)==1:0)?(h=24960+(g<<3)|0,!((c[h>>2]&-1515870811|0)==0?(c[h+4>>2]&-1515870811|0)==0:0)):0){h=d;b=b+5348|0;b=c[b>>2]|0;i=(i|0)==(b|0);b=0-h|0;b=i?h:b;return b|0}h=d+2402|0;b=b+5348|0;b=c[b>>2]|0;i=(i|0)==(b|0);b=0-h|0;b=i?h:b;return b|0}function Jc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+12272|0;n=o+12264|0;l=o+5368|0;g=o+6896|0;k=o;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+4|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[a>>2]>>2]|0;if(!d)d=f;else{c[a>>2]=d;d=c[e>>2]|0}gc(c[a+4>>2]|0,d);d=a+8|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2676;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[a>>2]>>2]|0;if(!e)e=d;else{c[a>>2]=e;e=c[f>>2]|0}gc(c[a+4>>2]|0,e);a=a+8|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;n=pu(12)|0;c[n>>2]=2676;c[n+4>>2]=1;c[n+8>>2]=0;d=c[a>>2]|0;c[a>>2]=n;if(!d){i=o;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=o;return}function Kc(a){a=a|0;Qt(a);return}function Lc(a){a=a|0;return c[a+4>>2]|0}function Mc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+4>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]<<3|6;if(!(c[b+336+(a<<2)>>2]|0))a=64;else f=9;break}case 2:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]<<3|6;if(!(c[b+336+(a<<2)>>2]|0))a=64;else f=9;break}case 1:{a=64;d=64;break}default:{d=c[b+400+((e<<3|6)<<8)>>2]|0;a=c[a+8>>2]<<3|6;f=9}}if((f|0)==9)a=c[b+400+(a<<8)>>2]|0;f=(c[2332+(a<<2)>>2]|0)+1279+(c[1996+(c[1079428+(d<<8)+(a<<2)>>2]<<2)>>2]|0)|0;return ((e|0)==(c[b+5348>>2]|0)?f:0-f|0)|0}function Nc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2700;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2700;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function Oc(a){a=a|0;return}function Pc(a){a=a|0;Qt(a);return}function Qc(a){a=a|0;return c[a+4>>2]|0}function Rc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=c[a+4>>2]|0;e=c[b+5364>>2]|0;switch(e|0){case 4:{d=h<<3|1;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=h<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){f=(h|0)==1;g=f?d^56:d;d=f}else{g=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=(h|0)==1;g=d?g^56:g}e=c[a+8>>2]<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else e=c[b+400+(e<<8)>>2]|0;f=h<<3|1;if(c[b+336+(f<<2)>>2]|0)i=21;break}case 2:{d=h<<3|1;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=h<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){f=(h|0)==1;g=f?d^56:d;d=f}else{g=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=(h|0)==1;g=d?g^56:g}e=c[a+8>>2]<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else e=c[b+400+(e<<8)>>2]|0;f=h<<3|1;if(c[b+336+(f<<2)>>2]|0)i=21;break}default:{f=c[b+400+((h<<3|1)<<8)>>2]|0;f=c[b+400+((h<<3|1)<<8)>>2]&4|0?f^7:f;d=(h|0)==1;if((e|0)==1)e=64;else e=c[b+400+((c[a+8>>2]<<3|6)<<8)>>2]|0;g=d?f^56:f;f=h<<3|1;i=21}}if((i|0)==21)e=c[b+400+(f<<8)>>2]&4|0?e^7:e;if((g|0)==48?(c[1093764+((d?e^56:e)<<2)>>2]|0)<2:0){b=0;return b|0}b=255;return b|0}function Sc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2724;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2724;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function Tc(a){a=a|0;Qt(a);return}function Uc(a){a=a|0;return c[a+4>>2]|0}function Vc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;e=c[b+5364>>2]|0;switch(e|0){case 4:{d=g<<3|1;if(!(c[b+336+(d<<2)>>2]|0))f=64;else f=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]|0;d=e<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=e<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else h=14;break}case 2:{d=g<<3|1;if(!(c[b+336+(d<<2)>>2]|0))f=64;else f=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]|0;d=e<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=e<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else h=14;break}default:{f=c[b+400+((g<<3|1)<<8)>>2]|0;a=c[a+8>>2]|0;d=c[b+400+((a<<3|3)<<8)>>2]|0;if((e|0)==1)e=64;else{e=a<<3|6;h=14}}}if((h|0)==14)e=c[b+400+(e<<8)>>2]|0;h=103616+(g<<9)+(f<<3)|0;g=b+256|0;a=23936+(d<<3)|0;b=24448+(d<<3)|0;b=(_(c[a+4>>2]&c[g+4>>2],c[b+4>>2]|0)|0)^(_(c[a>>2]&c[g>>2],c[b>>2]|0)|0);b=(c[1096324+(d<<2)>>2]|0)+(b>>>(c[1096580+(d<<2)>>2]|0)<<3)|0;if((c[b>>2]&c[h>>2]|0)==0?(c[b+4>>2]&c[h+4>>2]|0)==0:0){h=255;return h|0}h=c[1079428+(e<<8)+(f<<2)>>2]|0;return h|0}function Wc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2748;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2748;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function Xc(a){a=a|0;Qt(a);return}function Yc(a){a=a|0;return c[a+4>>2]|0}function Zc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=c[a+4>>2]|0;e=c[b+5364>>2]|0;a:do switch(e|0){case 4:{d=o<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){j=(o|0)==1;i=j?d^56:d;h=c[a+8>>2]|0;n=15;break a}else{i=c[b+400+(e<<8)>>2]&4|0?d^7:d;j=(o|0)==1;i=j?i^56:i;h=c[a+8>>2]|0;n=15;break a}}case 2:{d=o<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){j=(o|0)==1;i=j?d^56:d}else{i=c[b+400+(e<<8)>>2]&4|0?d^7:d;j=(o|0)==1;i=j?i^56:i}g=c[a+8>>2]|0;d=g<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0))a=j?d^56:d;else{a=c[b+400+(e<<8)>>2]&4|0?d^7:d;a=j?a^56:a}d=o<<3|4;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0))e=j?d^56:d;else{e=c[b+400+(e<<8)>>2]&4|0?d^7:d;e=j?e^56:e}d=o<<3|1;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;f=o<<3|1;if(!(c[b+336+(f<<2)>>2]|0))d=j?d^56:d;else{d=c[b+400+(f<<8)>>2]&4|0?d^7:d;d=j?d^56:d}f=g<<3|4;if(!(c[b+336+(f<<2)>>2]|0))g=64;else g=c[b+400+(f<<8)>>2]|0;f=o<<3|1;if(!(c[b+336+(f<<2)>>2]|0)){m=i;f=j}else{h=f;f=j;n=53}break}case 1:{d=64;n=13;break}default:{d=c[b+400+((o<<3|6)<<8)>>2]|0;n=13}}while(0);b:do if((n|0)==13){g=c[b+400+((o<<3|1)<<8)>>2]&4|0?d^7:d;f=(o|0)==1;g=f?g^56:g;h=c[a+8>>2]|0;switch(e|0){case 4:{i=g;j=f;n=15;break b}case 1:{a=c[b+400+((o<<3|1)<<8)>>2]&4|0?71:64;e=c[b+400+((o<<3|4)<<8)>>2]|0;e=c[b+400+((o<<3|1)<<8)>>2]&4|0?e^7:e;d=c[b+400+((o<<3|1)<<8)>>2]|0;d=c[b+400+((o<<3|1)<<8)>>2]&4|0?d^7:d;d=f?d^56:d;e=f?e^56:e;a=f?a|56:a;break}default:{a=c[b+400+((h<<3|6)<<8)>>2]|0;a=c[b+400+((o<<3|1)<<8)>>2]&4|0?a^7:a;e=c[b+400+((o<<3|4)<<8)>>2]|0;e=c[b+400+((o<<3|1)<<8)>>2]&4|0?e^7:e;d=c[b+400+((o<<3|1)<<8)>>2]|0;d=c[b+400+((o<<3|1)<<8)>>2]&4|0?d^7:d;d=f?d^56:d;e=f?e^56:e;a=f?a^56:a}}i=g;g=c[b+400+((h<<3|4)<<8)>>2]|0;h=o<<3|1;n=53}while(0);if((n|0)==15){d=h<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0))a=j?d^56:d;else{a=c[b+400+(e<<8)>>2]&4|0?d^7:d;a=j?a^56:a}d=o<<3|4;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=o<<3|1;if(!(c[b+336+(e<<2)>>2]|0))e=j?d^56:d;else{e=c[b+400+(e<<8)>>2]&4|0?d^7:d;e=j?e^56:e}d=o<<3|1;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;f=o<<3|1;if(!(c[b+336+(f<<2)>>2]|0))d=j?d^56:d;else{d=c[b+400+(f<<8)>>2]&4|0?d^7:d;d=j?d^56:d}f=h<<3|4;if(!(c[b+336+(f<<2)>>2]|0))g=64;else g=c[b+400+(f<<8)>>2]|0;f=o<<3|1;if(!(c[b+336+(f<<2)>>2]|0)){m=i;f=j}else{h=f;f=j;n=53}}if((n|0)==53){m=i;g=c[b+400+(h<<8)>>2]&4|0?g^7:g}i=f?g^56:g;l=d&7;j=d>>3;k=l|56;g=(c[b+5348>>2]|0)==(o|0);h=g&1;f=(j|0)<5;do if(f){if((m|0)<40?(c[1079428+(a<<8)+(k<<2)>>2]|0)<2:0){if((i&-8|0)==40){s=0;return s|0}if(!((e&-8|0)==40|(j|0)>2)){s=0;return s|0}}}else{if(((j|0)==5?(c[1079428+(a<<8)+(k<<2)>>2]|0)<2:0)?(h+(m>>3)|0)<6:0){if(i>>>0<8){s=0;return s|0}if(g)break;b=i&7;if(((b>>>0<l>>>0?l-b|0:b-l|0)|0)>2)d=0;else break;return d|0}if((a|0)==(k|0)&i>>>0<8){if(!g){s=0;return s|0}if((c[1079428+(m<<8)+(d<<2)>>2]|0)>1){s=0;return s|0}}}while(0);if((a|1|0)==55&((e|0)==56&(d|0)==48)&(i&7|0)==0?(m>>3|0)<5|((m&7)>>>0>2|(i>>3|0)<3):0){s=0;return s|0}if(f){if(((a|0)==(d+8|0)?((c[1079428+(m<<8)+(d<<2)>>2]|0)-h|0)>1:0)?((c[1079428+(m<<8)+(i<<2)>>2]|0)-h|0)>1:0){s=0;return s|0}if(l|0)n=80}else{f=(l|0)!=0;if((((j|0)==6&f?!((e&7|0)!=(l|0)|(e|0)==(k|0)):0)?(p=c[1079428+(m<<8)+(k<<2)>>2]|0,(p|0)<((g?-1:-2)+(c[1079428+(a<<8)+(k<<2)>>2]|0)|0)):0)?(p|0)<((c[1079428+(a<<8)+(e<<2)>>2]|0)+h|0):0){s=128-(p<<1)|0;return s|0}if(f)n=80}do if((((n|0)==80?(e|0)<(d|0)&(e&7|0)==(l|0):0)?(q=c[1079428+(m<<8)+(k<<2)>>2]|0,r=g?-1:-2,(q|0)<(r+(c[1079428+(a<<8)+(k<<2)>>2]|0)|0)):0)?(p=d+8|0,s=c[1079428+(m<<8)+(p<<2)>>2]|0,(s|0)<(r+(c[1079428+(a<<8)+(p<<2)>>2]|0)|0)):0){r=(c[1079428+(a<<8)+(e<<2)>>2]|0)+h|0;if((r|0)<=2?!((q|0)<(r|0)&(s|0)<(r|0)):0)break;s=128-(c[1079428+(d<<8)+(k<<2)>>2]<<3)-(q<<1)|0;return s|0}while(0);if(!((a|0)>(d|0)&(j|0)<4)){s=255;return s|0}d=a&7;if((d|0)==(l|0)){s=10;return s|0}if(((d>>>0<l>>>0?l-d|0:d-l|0)|0)!=1){s=255;return s|0}d=c[1079428+(m<<8)+(a<<2)>>2]|0;if((d|0)<=2){s=255;return s|0}s=24-(d<<1)|0;return s|0}function _c(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2772;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2772;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function $c(a){a=a|0;Qt(a);return}function ad(a){a=a|0;return c[a+4>>2]|0}function bd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=b+264|0;if((c[i>>2]&-2122219135|0)==0?(c[i+4>>2]&-2122219135|0)==0:0){j=255;return j|0}e=c[a+8>>2]|0;i=c[b+5364>>2]|0;switch(i|0){case 4:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=e<<3|3;if(!(c[b+336+(e<<2)>>2]|0))f=64;else f=c[b+400+(e<<8)>>2]|0;a=c[a+4>>2]|0;e=a<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){h=d;g=64;d=f;e=a}else j=15;break}case 2:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=e<<3|3;if(!(c[b+336+(e<<2)>>2]|0))f=64;else f=c[b+400+(e<<8)>>2]|0;a=c[a+4>>2]|0;e=a<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){h=d;g=64;d=f;e=a}else j=15;break}case 1:{d=64;j=12;break}default:{d=c[b+400+((e<<3|6)<<8)>>2]|0;j=12}}if((j|0)==12){a=c[a+4>>2]|0;f=c[b+400+((e<<3|3)<<8)>>2]|0;e=a<<3|1;j=15}if((j|0)==15){h=d;g=c[b+400+(e<<8)>>2]|0;d=f;e=a}a=(e|0)==0?8:-8;a:do switch(e*7^g>>3|0){case 4:{f=g^d;if((f>>>3^f)&1|0){j=255;return j|0}d=c[1079428+((a*3|0)+g<<8)+(h<<2)>>2]|0;if((d|0)<3){if(d|0){d=24;break a}switch(i|0){case 4:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else j=24;break}case 2:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else j=24;break}case 1:{d=64;break}default:{d=e<<3|6;j=24}}if((j|0)==24)d=c[b+400+(d<<8)>>2]|0;if((h|0)!=(d+(a<<1)|0)){d=24;break a}}d=48;break}case 5:{if((c[1079428+((a<<1)+g<<8)+(h<<2)>>2]|0)>=2){j=255;return j|0}j=108224+(d<<3)|0;b=24960+(a+g<<3)|0;if((c[b>>2]&c[j>>2]|0)==0?(c[b+4>>2]&c[j+4>>2]|0)==0:0){j=255;return j|0}b=d&7;j=g&7;if(((b>>>0<j>>>0?j-b|0:b-j|0)|0)>1)d=8;else{j=255;return j|0}break}default:{j=255;return j|0}}while(0);j=d;return j|0}function cd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2796;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2796;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function dd(a){a=a|0;Qt(a);return}function ed(a){a=a|0;return c[a+4>>2]|0}function fd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=c[a+4>>2]|0;e=c[b+5364>>2]|0;switch(e|0){case 4:{d=i<<3|1;if(!(c[b+336+(d<<2)>>2]|0))h=64;else h=c[b+400+(d<<8)>>2]|0;d=i<<3|3;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]|0;d=a<<3|3;if(!(c[b+336+(d<<2)>>2]|0))g=64;else g=c[b+400+(d<<8)>>2]|0;f=a<<3|6;if(!(c[b+336+(f<<2)>>2]|0)){d=e;e=64;f=h}else{d=e;k=18}break}case 2:{d=i<<3|1;if(!(c[b+336+(d<<2)>>2]|0))h=64;else h=c[b+400+(d<<8)>>2]|0;d=i<<3|3;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;a=c[a+8>>2]|0;d=a<<3|3;if(!(c[b+336+(d<<2)>>2]|0))g=64;else g=c[b+400+(d<<8)>>2]|0;f=a<<3|6;if(!(c[b+336+(f<<2)>>2]|0)){d=e;e=64;f=h}else{d=e;k=18}break}default:{f=c[b+400+((i<<3|1)<<8)>>2]|0;d=c[b+400+((i<<3|3)<<8)>>2]|0;a=c[a+8>>2]|0;g=c[b+400+((a<<3|3)<<8)>>2]|0;if((e|0)==1)e=64;else{h=f;f=a<<3|6;k=18}}}if((k|0)==18){e=c[b+400+(f<<8)>>2]|0;f=h}if((((e^f)&7|0)==0?(k=i*7|0,j=k^e>>3,(k^f>>3|0)<(j|0)):0)?(k=e^d,((k>>>3^k)&1|0)!=0|(j|0)<6):0){b=0;return b|0}k=g^d;if(!((k>>>3^k)&1)){b=255;return b|0}if((i*7^f>>3|0)<5){b=0;return b|0}e=103616+(i<<9)+(f<<3)|0;d=c[e>>2]|0;e=c[e+4>>2]|0;j=b+320+(a<<3)|0;k=b+304|0;if(!((c[j>>2]&d&c[k>>2]|0)==0?(c[j+4>>2]&e&c[k+4>>2]|0)==0:0)){b=0;return b|0}k=b+256|0;j=23936+(g<<3)|0;b=24448+(g<<3)|0;b=(_(c[j+4>>2]&c[k+4>>2],c[b+4>>2]|0)|0)^(_(c[j>>2]&c[k>>2],c[b>>2]|0)|0);b=(c[1096324+(g<<2)>>2]|0)+(b>>>(c[1096580+(g<<2)>>2]|0)<<3)|0;if(!((c[b>>2]&d|0)==0?(c[b+4>>2]&e|0)==0:0)?(c[1079428+(g<<8)+(f<<2)>>2]|0)>2:0){b=0;return b|0}b=255;return b|0}function gd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2820;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2820;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function hd(a){a=a|0;Qt(a);return}function id(a){a=a|0;return c[a+4>>2]|0}function jd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=c[a+4>>2]|0;e=c[b+5364>>2]|0;switch(e|0){case 4:{d=g<<3|1;if(!(c[b+336+(d<<2)>>2]|0))f=64;else f=c[b+400+(d<<8)>>2]|0;d=g<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else i=14;break}case 2:{d=g<<3|1;if(!(c[b+336+(d<<2)>>2]|0))f=64;else f=c[b+400+(d<<8)>>2]|0;d=g<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=64;else i=14;break}default:{f=c[b+400+((g<<3|1)<<8)>>2]|0;d=c[b+400+((g<<3|3)<<8)>>2]|0;if((e|0)==1)e=64;else{e=c[a+8>>2]<<3|6;i=14}}}if((i|0)==14)e=c[b+400+(e<<8)>>2]|0;if((((e^f)&7|0)==0?(i=g*7|0,h=i^e>>3,(i^f>>3|0)<(h|0)):0)?(i=e^d,((i>>>3^i)&1|0)!=0|(h|0)<6):0){i=0;return i|0}i=255;return i|0}function kd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2844;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2844;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function ld(a){a=a|0;Qt(a);return}function md(a){a=a|0;return c[a+4>>2]|0}function nd(a,b){a=a|0;b=b|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;o=c[a+4>>2]|0;f=c[b+5364>>2]|0;switch(f|0){case 4:{d=o<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]|0;a=e<<3|3;if(!(c[b+336+(a<<2)>>2]|0)){n=d;m=64}else g=9;break}case 2:{d=o<<3|3;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=c[a+8>>2]|0;a=e<<3|3;if(!(c[b+336+(a<<2)>>2]|0)){n=d;m=64}else g=9;break}default:{e=c[a+8>>2]|0;d=c[b+400+((o<<3|3)<<8)>>2]|0;a=e<<3|3;g=9}}if((g|0)==9){n=d;m=c[b+400+(a<<8)>>2]|0}l=m^n;if(!((l>>>3^l)&1)){b=255;return b|0}switch(f|0){case 4:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))l=64;else g=15;break}case 2:{d=e<<3|6;if(!(c[b+336+(d<<2)>>2]|0))l=64;else g=15;break}case 1:{l=64;break}default:{d=e<<3|6;g=15}}if((g|0)==15)l=c[b+400+(d<<8)>>2]|0;d=o<<3|1;a=c[b+400+(d<<8)>>2]|0;d=c[b+400+(d<<8)+4>>2]|0;i=a>>3;j=d>>3;k=o*7|0;if((i^k|0)>(j^k|0)){f=d&7;g=a;h=f;a=a&7;f=i<<3|f}else{f=a&7;g=d;h=d&7;a=f;f=j<<3|f}d=g+((o|0)==0?8:-8)|0;switch((a>>>0<h>>>0?h-a|0:a-h|0)|0){case 0:{if((((d^l)&7|0)==0?(k^l>>3|0)>=(k^d>>3|0):0)?(b=l^n,(b>>>3^b)&1|0):0){b=0;return b|0}b=255;return b|0}case 1:{if((l|0)==(d|0)?(o=l^n,(o>>>3^o)&1|0):0){if((m|0)==(f|0)){b=0;return b|0}h=b+256|0;o=23936+(f<<3)|0;k=24448+(f<<3)|0;k=(_(c[o+4>>2]&c[h+4>>2],c[k+4>>2]|0)|0)^(_(c[o>>2]&c[h>>2],c[k>>2]|0)|0);k=(c[1096324+(f<<2)>>2]|0)+(k>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;h=b+320+(e<<3)|0;o=b+280|0;if(!((c[h>>2]&c[k>>2]&c[o>>2]|0)==0?(c[h+4>>2]&c[k+4>>2]&c[o+4>>2]|0)==0:0)){b=0;return b|0}if((((i|0)<(j|0)?j-i|0:i-j|0)|0)>1){b=0;return b|0}}if((l|0)==(f|0)?(o=l^n,(o>>>3^o)&1|0):0){if((m|0)==(d|0)){b=0;return b|0}n=b+256|0;m=23936+(d<<3)|0;o=24448+(d<<3)|0;o=(_(c[m+4>>2]&c[n+4>>2],c[o+4>>2]|0)|0)^(_(c[m>>2]&c[n>>2],c[o>>2]|0)|0);o=(c[1096324+(d<<2)>>2]|0)+(o>>>(c[1096580+(d<<2)>>2]|0)<<3)|0;n=b+320+(e<<3)|0;b=b+280|0;if(!((c[n>>2]&c[o>>2]&c[b>>2]|0)==0?(c[n+4>>2]&c[o+4>>2]&c[b+4>>2]|0)==0:0)){b=0;return b|0}}b=255;return b|0}default:{b=255;return b|0}}return 0}function od(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+12272|0;n=p+12264|0;l=p+5368|0;g=p+6896|0;k=p;o=a+12|0;xu(g|0,0,5368)|0;g=(c[(tf(g,b,0,l)|0)+5356>>2]|0)+8|0;h=c[g>>2]|0;g=c[g+4>>2]|0;m=a+16|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(g>>>0<f>>>0|(g|0)==(f|0)&h>>>0<e>>>0){e=c[d>>2]|0;if(!e){e=d;j=4;break}else d=e}else{if(!(f>>>0<g>>>0|(f|0)==(g|0)&e>>>0<h>>>0)){j=10;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=8;break}else d=f}}if((j|0)==4){c[n>>2]=d;j=11;break}else if((j|0)==8){c[n>>2]=d;j=11;break}else if((j|0)==10){c[n>>2]=d;if(!d){e=n;j=11;break}else break}}else{c[n>>2]=m;e=m;d=m;j=11}while(0);if((j|0)==11){f=pu(32)|0;j=f+16|0;c[j>>2]=h;c[j+4>>2]=g;c[f+24>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=d;c[e>>2]=f;d=c[c[o>>2]>>2]|0;if(!d)d=f;else{c[o>>2]=d;d=c[e>>2]|0}gc(c[a+16>>2]|0,d);d=a+20|0;c[d>>2]=(c[d>>2]|0)+1;d=f}j=d+24|0;h=pu(12)|0;c[h>>2]=2868;c[h+4>>2]=0;c[h+8>>2]=1;d=c[j>>2]|0;c[j>>2]=h;if(d|0)zb[c[(c[d>>2]|0)+4>>2]&255](d);xu(k|0,0,5368)|0;h=(c[(tf(k,b,1,l)|0)+5356>>2]|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[m>>2]|0;do if(d){while(1){f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(h>>>0<f>>>0|(h|0)==(f|0)&g>>>0<e>>>0){e=c[d>>2]|0;if(!e){f=d;e=d;j=19;break}else d=e}else{if(!(f>>>0<h>>>0|(f|0)==(h|0)&e>>>0<g>>>0)){j=25;break}e=d+4|0;f=c[e>>2]|0;if(!f){j=23;break}else d=f}}if((j|0)==19){c[n>>2]=e;j=26;break}else if((j|0)==23){c[n>>2]=d;f=e;e=d;j=26;break}else if((j|0)==25){c[n>>2]=d;if(!d){f=n;e=d;j=26;break}else break}}else{c[n>>2]=m;f=m;e=m;j=26}while(0);if((j|0)==26){d=pu(32)|0;n=d+16|0;c[n>>2]=g;c[n+4>>2]=h;c[d+24>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=e;c[f>>2]=d;e=c[c[o>>2]>>2]|0;if(!e)e=d;else{c[o>>2]=e;e=c[f>>2]|0}gc(c[a+16>>2]|0,e);a=a+20|0;c[a>>2]=(c[a>>2]|0)+1}a=d+24|0;o=pu(12)|0;c[o>>2]=2868;c[o+4>>2]=1;c[o+8>>2]=0;d=c[a>>2]|0;c[a>>2]=o;if(!d){i=p;return}zb[c[(c[d>>2]|0)+4>>2]&255](d);i=p;return}function pd(a){a=a|0;Qt(a);return}function qd(a){a=a|0;return c[a+4>>2]|0}function rd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[a+4>>2]|0;h=i<<3;k=h|1;j=c[b+400+(k<<8)>>2]|0;k=c[b+400+(k<<8)+4>>2]|0;a=c[a+8>>2]|0;e=c[b+5364>>2]|0;switch(e|0){case 4:{a=a<<3|6;if(!(c[b+336+(a<<2)>>2]|0))f=64;else f=c[b+400+(a<<8)>>2]|0;if(!(c[b+336+((h|6)<<2)>>2]|0)){e=b+320+((i^1)<<3)|0;a=b+264|0;d=c[a>>2]|0;a=c[a+4>>2]|0;g=103616+(i<<9)+(j<<3)|0;if((d&c[e>>2]&c[g>>2]|0)==0?(a&c[e+4>>2]&c[g+4>>2]|0)==0:0){k=255;return k|0}else g=11}else g=9;break}case 2:{a=a<<3|6;if(!(c[b+336+(a<<2)>>2]|0)){f=64;g=9}else{f=c[b+400+(a<<8)>>2]|0;g=9}break}case 1:{f=64;g=9;break}default:if((e|0)==6){k=255;return k|0}else{f=c[b+400+((a<<3|6)<<8)>>2]|0;g=9}}a:do if((g|0)==9){l=b+320+((i^1)<<3)|0;a=b+264|0;d=c[a>>2]|0;a=c[a+4>>2]|0;g=104640+(i<<9)+(j<<3)|0;if((d&c[l>>2]&c[g>>2]|0)==0?(a&c[l+4>>2]&c[g+4>>2]|0)==0:0){l=255;return l|0}switch(e|0){case 4:{g=11;break a}case 6:{a=255;break}default:{g=13;break a}}return a|0}while(0);if((g|0)==11)if(!(c[b+336+((h|6)<<2)>>2]|0)){b=b+320+((i^1)<<3)|0;l=103616+(i<<9)+(k<<3)|0;if((d&c[b>>2]&c[l>>2]|0)==0?(a&c[b+4>>2]&c[l+4>>2]|0)==0:0){l=255;return l|0}}else g=13;if((g|0)==13){b=b+320+((i^1)<<3)|0;l=104640+(i<<9)+(k<<3)|0;if((d&c[b>>2]&c[l>>2]|0)==0?(a&c[b+4>>2]&c[l+4>>2]|0)==0:0){l=255;return l|0}}a=i*7|0;d=a^j>>3;e=a^k>>3;d=(d|0)<(e|0)?e:d;e=f&7;l=j&7;if(((e>>>0<l>>>0?l-e|0:e-l|0)|0)>=2){l=255;return l|0}l=k&7;if(((e>>>0<l>>>0?l-e|0:e-l|0)|0)>=2){l=255;return l|0}if((a^f>>3|0)<=(d|0)){l=255;return l|0}l=c[2884+(d<<2)>>2]|0;return l|0}function sd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0;j=i;i=i+4112|0;d=j;h=b+5348|0;e=a+8|0;if((c[h>>2]|0)==(c[e>>2]|0)?(g=Qe(b,d)|0,c[d+4096>>2]=g,(g|0)==(d|0)):0){i=j;return 0}g=c[a+4>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=g<<3|6;if(!(c[b+336+(d<<2)>>2]|0))a=64;else a=c[b+400+(d<<8)>>2]|0;d=c[e>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0)){e=64;d=a}else f=11;break}case 2:{d=g<<3|6;if(!(c[b+336+(d<<2)>>2]|0))a=64;else a=c[b+400+(d<<8)>>2]|0;d=c[e>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0)){e=64;d=a}else f=11;break}case 1:{e=64;d=64;break}default:{a=c[b+400+((g<<3|6)<<8)>>2]|0;d=c[e>>2]<<3|6;f=11}}if((f|0)==11){e=c[b+400+(d<<8)>>2]|0;d=a}f=g<<3;d=((c[b+336+((f|1)<<2)>>2]|0)*248|0)+(c[(c[b+5356>>2]|0)+16+(g<<2)>>2]|0)+(c[2332+(e<<2)>>2]|0)+(c[1996+(c[1079428+(d<<8)+(e<<2)>>2]<<2)>>2]|0)|0;if((c[b+336+((f|5)<<2)>>2]|0)==0?(c[b+336+((f|4)<<2)>>2]|0)==0:0){a=f|3;e=c[b+336+(a<<2)>>2]|0;if(!e){f=d;h=c[h>>2]|0;h=(g|0)==(h|0);b=0-f|0;b=h?f:b;i=j;return b|0}if(!(c[b+336+((f|2)<<2)>>2]|0)){if((e|0)<=1){f=d;h=c[h>>2]|0;h=(g|0)==(h|0);b=0-f|0;b=h?f:b;i=j;return b|0}b=c[b+400+(a<<8)+4>>2]^c[b+400+(a<<8)>>2];if(!((b>>>3^b)&1)){f=d;h=c[h>>2]|0;h=(g|0)==(h|0);b=0-f|0;b=h?f:b;i=j;return b|0}}}f=d+1e4|0;f=(f|0)>31743?31743:f;h=c[h>>2]|0;h=(g|0)==(h|0);b=0-f|0;b=h?f:b;i=j;return b|0}function td(a,b){a=a|0;b=b|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;n=c[a+4>>2]|0;p=b+320+(n<<3)|0;j=b+264|0;i=c[j>>2]|0;j=c[j+4>>2]|0;o=i&c[p>>2];p=j&c[p+4>>2];k=fb(o|0,p|0,0)|0;k=k&7;switch(k|0){case 0:case 7:{g=25472+(k<<3)|0;if((o&~c[g>>2]|0)==0?(p&~c[g+4>>2]|0)==0:0){d=c[b+5364>>2]|0;switch(d|0){case 4:{d=n<<3|3;if(!(c[b+336+(d<<2)>>2]|0)){e=64;d=n*56^(k|56)}else{e=c[b+400+(d<<8)>>2]|0;d=n*56^(k|56)}f=c[a+8>>2]<<3|6;if(!(c[b+336+(f<<2)>>2]|0))f=64;else m=14;break}case 2:{d=n<<3|3;if(!(c[b+336+(d<<2)>>2]|0)){e=64;d=n*56^(k|56)}else{e=c[b+400+(d<<8)>>2]|0;d=n*56^(k|56)}f=c[a+8>>2]<<3|6;if(!(c[b+336+(f<<2)>>2]|0))f=64;else m=14;break}default:{e=c[b+400+((n<<3|3)<<8)>>2]|0;g=n*56^(k|56);if((d|0)==1){f=64;d=g}else{f=c[a+8>>2]<<3|6;d=g;m=14}}}if((m|0)==14)f=c[b+400+(f<<8)>>2]|0;g=d^e;if((g>>>3^g)&1|0?(c[1079428+(d<<8)+(f<<2)>>2]|0)<2:0){b=0;return b|0}}switch(k|0){case 1:case 6:{m=18;break}default:{}}break}case 1:case 6:{m=18;break}default:{}}do if((((m|0)==18?(k=25472+(k<<3)|0,(i&~c[k>>2]|0)==0?(j&~c[k+4>>2]|0)==0:0):0)?(h=c[a+8>>2]|0,(c[(c[b+5356>>2]|0)+16+(h<<2)>>2]|0)==0):0)?(l=h<<3,(c[b+336+((l|1)<<2)>>2]|0)>0):0){a=b+320+(h<<3)|0;k=c[a>>2]&i;i=c[a+4>>2]&j;h=(h|0)==0;a=fb(k|0,i|0,0)|0;i=Fu(k|0,i|0,0)|0;i=h?a:63-i|0;switch(c[b+5364>>2]|0){case 4:{d=n<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;d=l|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;if(!(c[b+336+((n<<3|3)<<2)>>2]|0))g=64;else m=32;break}case 2:{d=n<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else e=c[b+400+(d<<8)>>2]|0;d=l|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;f=n<<3|3;if(!(c[b+336+(f<<2)>>2]|0))g=64;else m=34;break}case 1:{d=64;e=64;m=32;break}default:{d=c[b+400+((l|6)<<8)>>2]|0;e=c[b+400+((n<<3|6)<<8)>>2]|0;m=32}}if((m|0)==32){f=n<<3|3;m=34}if((m|0)==34)g=c[b+400+(f<<8)>>2]|0;f=n*7|0;if((f^i>>3|0)==6?(m=24960+((h?8:-8)+i<<3)|0,!((o&c[m>>2]|0)==0?(p&c[m+4>>2]|0)==0:0)):0){p=g^i;if(((p>>>3^p)&1|0)==0?(c[b+336+((n<<3|1)<<2)>>2]|0)!=1:0)break;b=c[1079428+(i<<8)+(d<<2)>>2]|0;if(!((b|0)>(c[1079428+(i<<8)+(e<<2)>>2]|0)|((b|0)>2|(f^d>>3|0)<6))){b=0;return b|0}}}while(0);b=255;return b|0}function ud(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c[a+8>>2]|0;h=c[b+5364>>2]|0;switch(h|0){case 4:{d=i<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;if(!(c[b+336+((i<<3|4)<<2)>>2]|0))g=64;else j=8;break}case 2:{d=i<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=i<<3|4;if(!(c[b+336+(e<<2)>>2]|0))g=64;else j=10;break}case 1:{d=64;j=8;break}default:{d=c[b+400+((i<<3|6)<<8)>>2]|0;j=8}}if((j|0)==8){e=i<<3|4;j=10}if((j|0)==10)g=c[b+400+(e<<8)>>2]|0;f=i*7|0;if((f^d>>3|0)<2){a=c[a+4>>2]|0;switch(h|0){case 4:{e=a<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=8;else j=16;break}case 2:{e=a<<3|6;if(!(c[b+336+(e<<2)>>2]|0))e=8;else j=16;break}case 1:{e=8;break}default:{e=a<<3|6;j=16}}if((j|0)==16)e=c[b+400+(e<<8)>>2]>>3;if(((e^f|0)>2?(f^g>>3|0)==2:0)?(i=b+320+(i<<3)|0,h=b+264|0,b=28864+(d<<3)|0,j=25792+((a<<3|1)<<9)+(g<<3)|0,!((c[h>>2]&c[i>>2]&c[b>>2]&c[j>>2]|0)==0?(c[h+4>>2]&c[i+4>>2]&c[b+4>>2]&c[j+4>>2]|0)==0:0)):0){j=0;return j|0}}j=255;return j|0}function vd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a+8>>2]|0;switch(c[b+5364>>2]|0){case 4:{d=g<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else f=5;break}case 2:{d=g<<3|6;if(!(c[b+336+(d<<2)>>2]|0))e=64;else f=5;break}case 1:{e=64;break}default:{d=g<<3|6;f=5}}if((f|0)==5)e=c[b+400+(d<<8)>>2]|0;f=b+320+(c[a+4>>2]<<3)|0;b=b+264|0;d=c[b>>2]&c[f>>2];b=c[b+4>>2]&c[f+4>>2];g=25664+(g<<6)+(e>>3<<3)|0;if((((d&~c[g>>2]|0)==0?(b&~c[g+4>>2]|0)==0:0)?(d&-16843010|0)==0&(b&-16843010|0)==0|(d&2139062143|0)==0&(b&2139062143|0)==0:0)?(g=fb(d|0,b|0,0)|0,f=e&7,g=g&7,((f>>>0<g>>>0?g-f|0:f-g|0)|0)<2):0){g=0;return g|0}g=255;return g|0}function wd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[a+4>>2]|0;f=c[b+5364>>2]|0;a:do switch(f|0){case 4:{d=k<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){g=(k|0)==1;h=g?d^56:d;d=c[a+8>>2]|0;j=15;break a}else{h=c[b+400+(e<<8)>>2]&4|0?d^7:d;g=(k|0)==1;h=g?h^56:h;d=c[a+8>>2]|0;j=15;break a}}case 2:{d=k<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0)){g=(k|0)==1;h=g?d^56:d}else{h=c[b+400+(e<<8)>>2]&4|0?d^7:d;g=(k|0)==1;h=g?h^56:h}d=c[a+8>>2]<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0))d=g?d^56:d;else{d=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=g?d^56:d}e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0))f=64;else f=c[b+400+(e<<8)>>2]|0;a=k<<3|1;if(!(c[b+336+(a<<2)>>2]|0)){i=d;e=h;d=g}else{e=h;j=33}break}case 1:{d=64;j=13;break}default:{d=c[b+400+((k<<3|6)<<8)>>2]|0;j=13}}while(0);b:do if((j|0)==13){e=c[b+400+((k<<3|1)<<8)>>2]&4|0?d^7:d;g=(k|0)==1;e=g?e^56:e;d=c[a+8>>2]|0;switch(f|0){case 4:{h=e;j=15;break b}case 1:{d=c[b+400+((k<<3|1)<<8)>>2]&4|0?71:64;d=g?d|56:d;break}default:{d=c[b+400+((d<<3|6)<<8)>>2]|0;d=c[b+400+((k<<3|1)<<8)>>2]&4|0?d^7:d;d=g?d^56:d}}f=c[b+400+((k<<3|1)<<8)>>2]|0;a=k<<3|1;j=33}while(0);if((j|0)==15){d=d<<3|6;if(!(c[b+336+(d<<2)>>2]|0))d=64;else d=c[b+400+(d<<8)>>2]|0;e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0))d=g?d^56:d;else{d=c[b+400+(e<<8)>>2]&4|0?d^7:d;d=g?d^56:d}e=k<<3|1;if(!(c[b+336+(e<<2)>>2]|0))f=64;else f=c[b+400+(e<<8)>>2]|0;a=k<<3|1;if(!(c[b+336+(a<<2)>>2]|0)){i=d;e=h;d=g}else{e=h;j=33}}if((j|0)==33){i=d;f=c[b+400+(a<<8)>>2]&4|0?f^7:f;d=g}d=d?f^56:f;if(!((d>>3|0)<4|(d&7|0)==0)){b=255;return b|0}b=Vb(e,d,i,(k|0)!=(c[b+5348>>2]|0)&1)|0;b=b?255:0;return b|0}function xd(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0;b=i;i=i+112|0;a=b;Vj(a,16021,5);d=a+12|0;Vj(d,16027,8);e=a+24|0;Vj(e,16036,6);f=a+36|0;Vj(f,16043,10);g=a+48|0;Vj(g,16054,5);h=a+60|0;Vj(h,16060,13);j=a+72|0;Vj(j,16074,11);k=a+84|0;Vj(k,16086,5);l=a+96|0;Vj(l,16092,10);m=pu(108)|0;c[274472]=m;c[274471]=m;c[274473]=m+108;Uj(m,a);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,d);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,e);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,f);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,g);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,h);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,j);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,k);m=(c[274472]|0)+12|0;c[274472]=m;Uj(m,l);c[274472]=(c[274472]|0)+12;Zj(l);Zj(k);Zj(j);Zj(h);Zj(g);Zj(f);Zj(e);Zj(d);Zj(a);xu(1097896,0,256)|0;c[274538]=-4980811;c[274539]=-3539e3;c[274540]=-1703945;c[274541]=-655362;c[274542]=327686;c[274543]=720911;c[274544]=1703958;c[274545]=1835038;c[274546]=1900580;a=1098188;d=a+92|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));c[274570]=-3801136;c[274571]=-1245205;c[274572]=-131056;c[274573]=786458;c[274574]=1441829;c[274575]=2752563;c[274576]=3538998;c[274577]=3801151;c[274578]=4128833;c[274579]=4587591;c[274580]=4849743;c[274581]=5636177;c[274582]=5898332;c[274583]=6160481;a=1098336;d=a+72|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));c[274602]=-5111864;c[274603]=-1179673;c[274604]=1703925;c[274605]=3604475;c[274606]=4587516;c[274607]=5308415;c[274608]=7143432;c[274609]=7864334;c[274610]=8388629;c[274611]=9371671;c[274612]=10092575;c[274613]=10485792;c[274614]=10813483;c[274615]=11010097;c[274616]=11075643;a=1098468;d=a+68|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));c[274634]=-2293800;c[274635]=-786457;c[274636]=458754;c[274637]=1245188;c[274638]=2424846;c[274639]=3604504;c[274640]=4063257;c[274641]=4980776;c[274642]=5177387;c[274643]=5701679;c[274644]=6160438;c[274645]=6684728;c[274646]=7274556;c[274647]=7602246;c[274648]=7733320;c[274649]=7995465;c[274650]=8388683;c[274651]=8519757;c[274652]=8716373;c[274653]=8912990;c[274654]=9175139;c[274655]=10289260;c[274656]=10354800;c[274657]=10551409;c[274658]=11403382;c[274659]=11599991;c[274660]=12517499;c[274661]=13041792;c[274662]=0;c[274663]=0;c[274664]=0;c[274665]=0;c[274666]=720939;c[274667]=1310785;c[274668]=196628;c[274669]=524317;c[274670]=327701;c[274671]=524323;c[274672]=8;c[274673]=262158;c[274674]=458772;c[274675]=1310765;c[274676]=0;c[274677]=0;c[274678]=9109680;c[274679]=8323203;c[274680]=14287065;c[274681]=14090443;m=1098728;c[m>>2]=0;c[m+4>>2]=0;c[274684]=0;c[274685]=2162688;c[274686]=2818093;c[274687]=3080238;c[274688]=7012424;c[274689]=7733296;c[274690]=0;c[274691]=0;c[274692]=0;c[274693]=1638400;c[274694]=4063272;c[274695]=3866664;c[274696]=2228224;c[274697]=3145763;m=1098792;c[m>>2]=0;c[m+4>>2]=0;c[274700]=4063235;c[274701]=9043977;c[274702]=0;c[274703]=24183256;c[274704]=75958204;c[274705]=0;c[274706]=101779042;c[274707]=25166224;c[274708]=11403429;c[274709]=5701715;c[274710]=3276849;c[274711]=0;c[274712]=13828255;c[274713]=102630593;c[274714]=7995515;c[274715]=18677992;c[274716]=24445383;c[274717]=17;c[274718]=655365;c[274719]=945567624;c[274720]=351541035;c[274721]=249041172;c[274722]=161679990;c[274723]=99288617;c[274724]=59900864;c[274725]=31457798;c[274726]=0;c[274727]=655369;c[274728]=655362;c[274729]=-524287;c[274730]=-786452;c[274731]=-786452;c[274732]=-524287;c[274733]=655362;c[274734]=655369;c[274735]=16;c[274736]=786440;c[274737]=1572872;c[274738]=92;c[274739]=7;c[274740]=1310740;c[274741]=655370;c[274742]=3997767;c[274743]=1638400;c[274744]=35;c[274745]=1769520;c[274746]=1441830;c[274747]=1310720;c[274748]=5242900;c[274749]=7;c[274750]=3276850;i=b;return}
function Aq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=a+4|0;f=(c[h>>2]|0)!=153;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;i=(c[b>>2]|0)-e|0;e=ej(f?e:0,g)|0;if(!e)uu();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){zb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=154;c[b>>2]=e+i;c[d>>2]=(c[a>>2]|0)+g;return}function Bq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=a+4|0;f=(c[h>>2]|0)!=153;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;i=(c[b>>2]|0)-e>>2;e=ej(f?e:0,g)|0;if(!e)uu();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){zb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=154;c[b>>2]=e+(i<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function Cq(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=i;i=i+144|0;v=s+24|0;t=s+32|0;r=s+16|0;l=s+8|0;u=s+4|0;k=s+28|0;m=s;c[r>>2]=t;q=r+4|0;c[q>>2]=153;o=Nl(g)|0;c[u>>2]=o;b=sm(u,1211488)|0;a[k>>0]=0;n=c[e>>2]|0;c[m>>2]=n;g=c[g+4>>2]|0;c[v>>2]=c[m>>2];m=n;if(yq(d,v,f,u,g,h,k,b,r,l,t+100|0)|0){if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}if(a[k>>0]|0)jk(j,Jb[c[(c[b>>2]|0)+28>>2]&63](b,45)|0);k=Jb[c[(c[b>>2]|0)+28>>2]&63](b,48)|0;f=c[l>>2]|0;g=f+-1|0;b=c[r>>2]|0;while(1){if(b>>>0>=g>>>0)break;if((a[b>>0]|0)!=k<<24>>24)break;b=b+1|0}Dq(j,b,f)|0}b=c[d>>2]|0;do if(b){if((c[b+12>>2]|0)==(c[b+16>>2]|0))if((Db[c[(c[b>>2]|0)+36>>2]&127](b)|0)==-1){c[d>>2]=0;b=0;break}else{b=c[d>>2]|0;break}}else b=0;while(0);b=(b|0)==0;do if(n){if((c[m+12>>2]|0)==(c[m+16>>2]|0)?(Db[c[(c[n>>2]|0)+36>>2]&127](m)|0)==-1:0){c[e>>2]=0;p=22;break}if(!b)p=23}else p=22;while(0);if((p|0)==22?b:0)p=23;if((p|0)==23)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;Ht(o)|0;b=c[r>>2]|0;c[r>>2]=0;if(b|0)zb[c[q>>2]&255](b);i=s;return g|0}function Dq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=d;f=a[b>>0]|0;if(!(f&1)){k=(f&255)>>>1;g=10}else{f=c[b>>2]|0;k=c[b+4>>2]|0;g=(f&-2)+-1|0;f=f&255}j=e-h|0;do if((e|0)!=(d|0)){if((g-k|0)>>>0<j>>>0){gk(b,g,k+j-g|0,k,k,0,0);f=a[b>>0]|0}if(!(f&1))i=b+1|0;else i=c[b+8>>2]|0;h=e+(k-h)|0;f=d;g=i+k|0;while(1){if((f|0)==(e|0))break;a[g>>0]=a[f>>0]|0;f=f+1|0;g=g+1|0}a[i+h>>0]=0;f=k+j|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return b|0}function Eq(a){a=a|0;return}function Fq(a){a=a|0;Qt(a);return}function Gq(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=i;i=i+576|0;n=w+424|0;q=w;k=w+24|0;v=w+16|0;o=w+12|0;s=w+8|0;l=w+564|0;x=w+4|0;p=w+464|0;c[v>>2]=k;u=v+4|0;c[u>>2]=153;c[s>>2]=Nl(g)|0;b=sm(s,1211520)|0;a[l>>0]=0;c[x>>2]=c[e>>2];g=c[g+4>>2]|0;c[n>>2]=c[x>>2];if(Hq(d,n,f,s,g,h,l,b,v,o,k+400|0)|0){Hb[c[(c[b>>2]|0)+48>>2]&7](b,21555,21565,n)|0;f=c[o>>2]|0;k=c[v>>2]|0;b=f-k|0;if((b|0)>392){b=bj((b>>2)+2|0)|0;if(!b)uu();else{r=b;m=b}}else{r=0;m=p}if(!(a[l>>0]|0))b=m;else{a[m>>0]=45;b=m+1|0}l=n+40|0;m=n;while(1){if(k>>>0>=f>>>0)break;g=c[k>>2]|0;f=n;while(1){if((f|0)==(l|0)){f=l;break}if((c[f>>2]|0)==(g|0))break;f=f+4|0}a[b>>0]=a[21555+(f-m>>2)>>0]|0;f=c[o>>2]|0;b=b+1|0;k=k+4|0}a[b>>0]=0;c[q>>2]=j;Zh(p,21456,q)|0;if(r|0)cj(r)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=c[f>>2]|0;if((b|0)==-1){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=c[f>>2]|0;if((b|0)!=-1)if(g)break;else{t=32;break}else{c[e>>2]=0;t=30;break}}else t=30;while(0);if((t|0)==30?g:0)t=32;if((t|0)==32)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;Ht(c[s>>2]|0)|0;b=c[v>>2]|0;c[v>>2]=0;if(b|0)zb[c[u>>2]&255](b);i=w;return f|0}function Hq(b,e,f,g,h,j,k,l,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+512|0;I=Y+96|0;s=Y+104|0;X=Y+88|0;M=Y+80|0;L=Y+76|0;N=Y+504|0;J=Y+72|0;O=Y+68|0;S=Y+56|0;W=Y+44|0;U=Y+32|0;T=Y+20|0;V=Y+8|0;K=Y+4|0;Q=Y;c[I>>2]=o;c[X>>2]=s;R=X+4|0;c[R>>2]=153;c[M>>2]=s;c[L>>2]=s+400;o=0;while(1){if((o|0)==3)break;c[S+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[W+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[U+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[T+(o<<2)>>2]=0;o=o+1|0}o=0;while(1){if((o|0)==3)break;c[V+(o<<2)>>2]=0;o=o+1|0}Iq(f,g,N,J,O,S,W,U,T,K);c[n>>2]=c[m>>2];E=U+4|0;F=T+4|0;G=T+8|0;H=U+8|0;x=(h&512|0)!=0;y=W+8|0;z=W+4|0;A=V+4|0;B=V+8|0;C=N+3|0;D=S+4|0;w=0;r=0;a:while(1){if(w>>>0>=4){P=232;break}o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);f=c[e>>2]|0;do if(f){o=c[f+12>>2]|0;if((o|0)==(c[f+16>>2]|0))o=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else o=c[o>>2]|0;if((o|0)!=-1)if(g){v=f;break}else{P=232;break a}else{c[e>>2]=0;P=31;break}}else P=31;while(0);if((P|0)==31){P=0;if(g){P=232;break}else v=0}b:do switch(a[N+w>>0]|0){case 1:{if((w|0)!=3){o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(wb[c[(c[l>>2]|0)+12>>2]&31](l,8192,o)|0)){P=44;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[f>>2]=g+4;o=c[g>>2]|0}Bk(V,o);o=v;h=v;P=46}break}case 0:{if((w|0)!=3){o=v;h=v;P=46}break}case 3:{p=a[U>>0]|0;o=(p&1)==0?(p&255)>>>1:c[E>>2]|0;g=a[T>>0]|0;g=(g&1)==0?(g&255)>>>1:c[F>>2]|0;if((o|0)!=(0-g|0)){h=(o|0)==0;q=c[b>>2]|0;t=c[q+12>>2]|0;o=c[q+16>>2]|0;f=(t|0)==(o|0);if(h|(g|0)==0){if(f)o=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;else o=c[t>>2]|0;if(h){if((o|0)!=(c[((a[T>>0]&1)==0?F:c[G>>2]|0)>>2]|0))break b;o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[f>>2]=g+4;a[k>>0]=1;v=a[T>>0]|0;r=((v&1)==0?(v&255)>>>1:c[F>>2]|0)>>>0>1?T:r;break b}if((o|0)!=(c[((a[U>>0]&1)==0?E:c[H>>2]|0)>>2]|0)){a[k>>0]=1;break b}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[f>>2]=g+4;v=a[U>>0]|0;r=((v&1)==0?(v&255)>>>1:c[E>>2]|0)>>>0>1?U:r;break b}if(f){h=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;o=c[b>>2]|0;p=a[U>>0]|0;q=o;g=c[o+12>>2]|0;o=c[o+16>>2]|0}else{h=c[t>>2]|0;g=t}f=q+12|0;o=(g|0)==(o|0);if((h|0)==(c[((p&1)==0?E:c[H>>2]|0)>>2]|0)){if(o)Db[c[(c[q>>2]|0)+40>>2]&127](q)|0;else c[f>>2]=g+4;v=a[U>>0]|0;r=((v&1)==0?(v&255)>>>1:c[E>>2]|0)>>>0>1?U:r;break b}if(o)o=Db[c[(c[q>>2]|0)+36>>2]&127](q)|0;else o=c[g>>2]|0;if((o|0)!=(c[((a[T>>0]&1)==0?F:c[G>>2]|0)>>2]|0)){P=102;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;else c[f>>2]=g+4;a[k>>0]=1;v=a[T>>0]|0;r=((v&1)==0?(v&255)>>>1:c[F>>2]|0)>>>0>1?T:r}break}case 2:{if(!(w>>>0<2|(r|0)!=0)?!(x|(w|0)==2&(a[C>>0]|0)!=0):0){r=0;break b}f=a[W>>0]|0;g=c[y>>2]|0;o=(f&1)==0?z:g;c:do if((w|0)!=0?(d[N+(w+-1)>>0]|0)<2:0){h=g;while(1){u=(f&1)==0;g=o;if((g|0)==((u?z:h)+((u?(f&255)>>>1:c[z>>2]|0)<<2)|0))break;if(!(wb[c[(c[l>>2]|0)+12>>2]&31](l,8192,c[g>>2]|0)|0)){P=109;break}f=a[W>>0]|0;h=c[y>>2]|0;o=g+4|0}if((P|0)==109){P=0;f=a[W>>0]|0;h=c[y>>2]|0}q=(f&1)==0?z:h;g=q;u=o-g>>2;t=a[V>>0]|0;p=(t&1)==0;t=p?(t&255)>>>1:c[A>>2]|0;if(u>>>0>t>>>0){t=v;p=v}else{t=(p?A:c[B>>2]|0)+(t<<2)|0;p=t+(0-u<<2)|0;while(1){if((p|0)==(t|0)){t=v;p=v;g=o;break c}if((c[p>>2]|0)!=(c[q>>2]|0)){t=v;p=v;break c}q=q+4|0;p=p+4|0}}}else{t=v;h=g;p=v;g=o}while(0);d:while(1){o=(f&1)==0;o=(o?z:h)+((o?(f&255)>>>1:c[z>>2]|0)<<2)|0;q=g;if((q|0)==(o|0))break;o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else o=c[o>>2]|0;if((o|0)!=-1)if(f^(t|0)==0){o=t;p=t;break}else{o=q;break d}else{c[e>>2]=0;o=0;P=130;break}}else{o=t;P=130}while(0);if((P|0)==130){P=0;if(f){o=q;break}else p=0}f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)!=(c[q>>2]|0)){o=q;break}f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;if((h|0)==(c[f+16>>2]|0))Db[c[(c[f>>2]|0)+40>>2]&127](f)|0;else c[g>>2]=h+4;t=o;f=a[W>>0]|0;h=c[y>>2]|0;g=q+4|0}if(x?(v=a[W>>0]|0,u=(v&1)==0,(o|0)!=((u?z:c[y>>2]|0)+((u?(v&255)>>>1:c[z>>2]|0)<<2)|0)):0){P=142;break a}break}case 4:{t=c[O>>2]|0;p=v;h=v;o=0;e:while(1){f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else f=c[f>>2]|0;if((f|0)!=-1)if(g^(p|0)==0){f=p;q=p;break}else break e;else{c[e>>2]=0;f=0;P=156;break}}else{f=p;P=156}while(0);if((P|0)==156){P=0;if(g){p=f;break}else q=0}g=c[b>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))h=Db[c[(c[g>>2]|0)+36>>2]&127](g)|0;else h=c[h>>2]|0;if(wb[c[(c[l>>2]|0)+12>>2]&31](l,2048,h)|0){g=c[n>>2]|0;if((g|0)==(c[I>>2]|0)){Jq(m,n,I);g=c[n>>2]|0}c[n>>2]=g+4;c[g>>2]=h;o=o+1|0}else{v=a[S>>0]|0;if(!((h|0)==(t|0)&(o|0?(((v&1)==0?(v&255)>>>1:c[D>>2]|0)|0)!=0:0))){p=f;break}if((s|0)==(c[L>>2]|0)){Bq(X,M,L);s=c[M>>2]|0}v=s+4|0;c[M>>2]=v;c[s>>2]=o;s=v;o=0}g=c[b>>2]|0;h=g+12|0;p=c[h>>2]|0;if((p|0)==(c[g+16>>2]|0)){Db[c[(c[g>>2]|0)+40>>2]&127](g)|0;p=f;h=q;continue}else{c[h>>2]=p+4;p=f;h=q;continue}}if(o|0?(c[X>>2]|0)!=(s|0):0){if((s|0)==(c[L>>2]|0)){Bq(X,M,L);s=c[M>>2]|0}v=s+4|0;c[M>>2]=v;c[s>>2]=o;s=v}h=c[K>>2]|0;f:do if((h|0)>0){o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(p){o=c[p+12>>2]|0;if((o|0)==(c[p+16>>2]|0))o=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else o=c[o>>2]|0;if((o|0)!=-1)if(f)break;else{P=196;break a}else{c[e>>2]=0;P=190;break}}else P=190;while(0);if((P|0)==190){P=0;if(f){P=196;break a}else p=0}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)!=(c[J>>2]|0)){P=196;break a}o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0)){Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;o=p}else{c[f>>2]=g+4;o=p}while(1){if((h|0)<=0)break f;f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(p){f=c[p+12>>2]|0;if((f|0)==(c[p+16>>2]|0))f=Db[c[(c[p>>2]|0)+36>>2]&127](p)|0;else f=c[f>>2]|0;if((f|0)!=-1)if(g^(o|0)==0){q=o;p=o;break}else{P=220;break a}else{c[e>>2]=0;o=0;P=214;break}}else P=214;while(0);if((P|0)==214){P=0;if(g){P=220;break a}else{q=o;p=0}}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(wb[c[(c[l>>2]|0)+12>>2]&31](l,2048,o)|0)){P=220;break a}if((c[n>>2]|0)==(c[I>>2]|0))Jq(m,n,I);o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;f=c[n>>2]|0;c[n>>2]=f+4;c[f>>2]=o;h=h+-1|0;c[K>>2]=h;o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0)){Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;o=q;continue}else{c[f>>2]=g+4;o=q;continue}}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){P=230;break a}break}default:{}}while(0);g:do if((P|0)==46)while(1){P=0;f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Db[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=c[g>>2]|0;if((f|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Db[c[(c[h>>2]|0)+36>>2]&127](h)|0;else f=c[f>>2]|0;if((f|0)!=-1)if(g^(o|0)==0){p=o;h=o;break}else break g;else{c[e>>2]=0;o=0;P=59;break}}else P=59;while(0);if((P|0)==59){P=0;if(g)break g;else{p=o;h=0}}o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(wb[c[(c[l>>2]|0)+12>>2]&31](l,8192,o)|0))break g;o=c[b>>2]|0;f=o+12|0;g=c[f>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[f>>2]=g+4;o=c[g>>2]|0}Bk(V,o);o=p;P=46}while(0);w=w+1|0}h:do if((P|0)==44){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==102){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==142){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==196){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==220){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==230){c[j>>2]=c[j>>2]|4;f=0}else if((P|0)==232){i:do if(r|0){p=r+4|0;q=r+8|0;h=1;j:while(1){o=a[r>>0]|0;if(!(o&1))o=(o&255)>>>1;else o=c[p>>2]|0;if(h>>>0>=o>>>0)break i;o=c[b>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)==-1){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);o=c[e>>2]|0;do if(o){f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if((o|0)!=-1)if(g)break;else break j;else{c[e>>2]=0;P=251;break}}else P=251;while(0);if((P|0)==251?(P=0,g):0)break;o=c[b>>2]|0;f=c[o+12>>2]|0;if((f|0)==(c[o+16>>2]|0))o=Db[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=c[f>>2]|0;if(!(a[r>>0]&1))f=p;else f=c[q>>2]|0;if((o|0)!=(c[f+(h<<2)>>2]|0))break;o=h+1|0;f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;if((h|0)==(c[f+16>>2]|0)){Db[c[(c[f>>2]|0)+40>>2]&127](f)|0;h=o;continue}else{c[g>>2]=h+4;h=o;continue}}c[j>>2]=c[j>>2]|4;f=0;break h}while(0);o=c[X>>2]|0;if((o|0)!=(s|0)){c[Q>>2]=0;Dm(S,o,s,Q);if(!(c[Q>>2]|0)){f=1;break}else{c[j>>2]=c[j>>2]|4;f=0;break}}else f=1}while(0);vk(V);vk(T);vk(U);vk(W);Zj(S);o=c[X>>2]|0;c[X>>2]=0;if(o|0)zb[c[R>>2]&255](o);i=Y;return f|0}function Iq(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+112|0;n=x+100|0;p=x+88|0;r=x+76|0;t=x+64|0;v=x+52|0;o=x+48|0;q=x+36|0;s=x+24|0;u=x+12|0;w=x;if(b){d=sm(d,1213224)|0;Ab[c[(c[d>>2]|0)+44>>2]&63](n,d);w=c[n>>2]|0;a[e>>0]=w;a[e+1>>0]=w>>8;a[e+2>>0]=w>>16;a[e+3>>0]=w>>24;Ab[c[(c[d>>2]|0)+32>>2]&63](p,d);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[p>>2];c[l+4>>2]=c[p+4>>2];c[l+8>>2]=c[p+8>>2];b=0;while(1){if((b|0)==3)break;c[p+(b<<2)>>2]=0;b=b+1|0}vk(p);Ab[c[(c[d>>2]|0)+28>>2]&63](r,d);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;yk(k,0);c[k>>2]=c[r>>2];c[k+4>>2]=c[r+4>>2];c[k+8>>2]=c[r+8>>2];b=0;while(1){if((b|0)==3)break;c[r+(b<<2)>>2]=0;b=b+1|0}vk(r);c[f>>2]=Db[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[g>>2]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](t,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}bk(h,0);c[h>>2]=c[t>>2];c[h+4>>2]=c[t+4>>2];c[h+8>>2]=c[t+8>>2];b=0;while(1){if((b|0)==3)break;c[t+(b<<2)>>2]=0;b=b+1|0}Zj(t);Ab[c[(c[d>>2]|0)+24>>2]&63](v,d);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;yk(j,0);c[j>>2]=c[v>>2];c[j+4>>2]=c[v+4>>2];c[j+8>>2]=c[v+8>>2];b=0;while(1){if((b|0)==3)break;c[v+(b<<2)>>2]=0;b=b+1|0}vk(v);b=Db[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=sm(d,1213216)|0;Ab[c[(c[d>>2]|0)+44>>2]&63](o,d);v=c[o>>2]|0;a[e>>0]=v;a[e+1>>0]=v>>8;a[e+2>>0]=v>>16;a[e+3>>0]=v>>24;Ab[c[(c[d>>2]|0)+32>>2]&63](q,d);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[q>>2];c[l+4>>2]=c[q+4>>2];c[l+8>>2]=c[q+8>>2];b=0;while(1){if((b|0)==3)break;c[q+(b<<2)>>2]=0;b=b+1|0}vk(q);Ab[c[(c[d>>2]|0)+28>>2]&63](s,d);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;yk(k,0);c[k>>2]=c[s>>2];c[k+4>>2]=c[s+4>>2];c[k+8>>2]=c[s+8>>2];b=0;while(1){if((b|0)==3)break;c[s+(b<<2)>>2]=0;b=b+1|0}vk(s);c[f>>2]=Db[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[g>>2]=Db[c[(c[d>>2]|0)+16>>2]&127](d)|0;Ab[c[(c[d>>2]|0)+20>>2]&63](u,d);if(!(a[h>>0]&1)){a[h+1>>0]=0;a[h>>0]=0}else{a[c[h+8>>2]>>0]=0;c[h+4>>2]=0}bk(h,0);c[h>>2]=c[u>>2];c[h+4>>2]=c[u+4>>2];c[h+8>>2]=c[u+8>>2];b=0;while(1){if((b|0)==3)break;c[u+(b<<2)>>2]=0;b=b+1|0}Zj(u);Ab[c[(c[d>>2]|0)+24>>2]&63](w,d);if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;yk(j,0);c[j>>2]=c[w>>2];c[j+4>>2]=c[w+4>>2];c[j+8>>2]=c[w+8>>2];b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}vk(w);b=Db[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[m>>2]=b;i=x;return}function Jq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=a+4|0;f=(c[h>>2]|0)!=153;e=c[a>>2]|0;g=(c[d>>2]|0)-e|0;g=g>>>0<2147483647?g<<1:-1;i=(c[b>>2]|0)-e>>2;e=ej(f?e:0,g)|0;if(!e)uu();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){zb[c[h>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[h>>2]=154;c[b>>2]=e+(i<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function Kq(b,d,e,f,g,h,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=i;i=i+432|0;v=s+424|0;t=s+24|0;r=s+16|0;l=s+8|0;u=s+4|0;k=s+428|0;m=s;c[r>>2]=t;q=r+4|0;c[q>>2]=153;o=Nl(g)|0;c[u>>2]=o;b=sm(u,1211520)|0;a[k>>0]=0;n=c[e>>2]|0;c[m>>2]=n;g=c[g+4>>2]|0;c[v>>2]=c[m>>2];m=n;if(Hq(d,v,f,u,g,h,k,b,r,l,t+400|0)|0){if(!(a[j>>0]&1))a[j>>0]=0;else c[c[j+8>>2]>>2]=0;c[j+4>>2]=0;if(a[k>>0]|0)Bk(j,Jb[c[(c[b>>2]|0)+44>>2]&63](b,45)|0);k=Jb[c[(c[b>>2]|0)+44>>2]&63](b,48)|0;f=c[l>>2]|0;g=f+-4|0;b=c[r>>2]|0;while(1){if(b>>>0>=g>>>0)break;if((c[b>>2]|0)!=(k|0))break;b=b+4|0}Lq(j,b,f)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Db[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=c[g>>2]|0;if((b|0)==-1){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(n){b=c[m+12>>2]|0;if((b|0)==(c[m+16>>2]|0))b=Db[c[(c[n>>2]|0)+36>>2]&127](m)|0;else b=c[b>>2]|0;if((b|0)!=-1)if(g)break;else{p=27;break}else{c[e>>2]=0;p=25;break}}else p=25;while(0);if((p|0)==25?g:0)p=27;if((p|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;Ht(o)|0;b=c[r>>2]|0;c[r>>2]=0;if(b|0)zb[c[q>>2]&255](b);i=s;return g|0}function Lq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=d;f=a[b>>0]|0;if(!(f&1)){k=(f&255)>>>1;g=1}else{f=c[b>>2]|0;k=c[b+4>>2]|0;g=(f&-2)+-1|0;f=f&255}j=e-h>>2;do if(j|0){if((g-k|0)>>>0<j>>>0){Ak(b,g,k+j-g|0,k,k,0,0);f=a[b>>0]|0}if(!(f&1))i=b+4|0;else i=c[b+8>>2]|0;h=k+((e-h|0)>>>2)|0;f=d;g=i+(k<<2)|0;while(1){if((f|0)==(e|0))break;c[g>>2]=c[f>>2];f=f+4|0;g=g+4|0}c[i+(h<<2)>>2]=0;f=k+j|0;if(!(a[b>>0]&1)){a[b>>0]=f<<1;break}else{c[b+4>>2]=f;break}}while(0);return b|0}function Mq(a){a=a|0;return}function Nq(a){a=a|0;Qt(a);return}function Oq(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;F=i;i=i+384|0;q=F+8|0;l=F;b=F+284|0;m=F+72|0;k=F+184|0;y=F+68|0;v=F+180|0;s=F+177|0;w=F+176|0;B=F+56|0;E=F+44|0;D=F+32|0;o=F+28|0;p=F+76|0;u=F+24|0;t=F+16|0;r=F+20|0;c[m>>2]=b;h[q>>3]=j;b=Yh(b,100,21661,q)|0;if(b>>>0>99){b=Cm()|0;h[l>>3]=j;b=Tn(m,b,21661,l)|0;k=c[m>>2]|0;if(!k)uu();l=bj(b)|0;if(!l)uu();else{x=l;G=l;H=k;A=b}}else{x=k;G=0;H=0;A=b}b=Nl(f)|0;c[y>>2]=b;n=sm(y,1211488)|0;l=c[m>>2]|0;Hb[c[(c[n>>2]|0)+32>>2]&7](n,l,l+A|0,x)|0;if(!A)m=0;else m=(a[c[m>>2]>>0]|0)==45;k=0;while(1){if((k|0)==3)break;c[B+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[E+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[D+(k<<2)>>2]=0;k=k+1|0}Pq(e,m,y,v,s,w,B,E,D,o);l=c[o>>2]|0;if((A|0)>(l|0)){e=a[D>>0]|0;k=a[E>>0]|0;k=(A-l<<1|1)+l+((e&1)==0?(e&255)>>>1:c[D+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[E+4>>2]|0)|0}else{e=a[D>>0]|0;k=a[E>>0]|0;k=l+2+((e&1)==0?(e&255)>>>1:c[D+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[E+4>>2]|0)|0}if(k>>>0>100){k=bj(k)|0;if(!k)uu();else{C=k;z=k}}else{C=0;z=p}Qq(z,u,t,c[f+4>>2]|0,x,x+A|0,n,m,v,a[s>>0]|0,a[w>>0]|0,B,E,D,l);c[r>>2]=c[d>>2];d=c[u>>2]|0;k=c[t>>2]|0;c[q>>2]=c[r>>2];k=Ud(q,z,d,k,f,g)|0;if(C){cj(C);b=c[y>>2]|0}Zj(D);Zj(E);Zj(B);Ht(b)|0;if(G|0)cj(G);if(H|0)cj(H);i=F;return k|0}function Pq(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+112|0;o=A+108|0;s=A+96|0;p=A+92|0;t=A+80|0;x=A+68|0;z=A+56|0;q=A+52|0;u=A+40|0;r=A+36|0;v=A+24|0;w=A+12|0;y=A;if(b){n=sm(e,1213208)|0;b=c[n>>2]|0;if(d){Ab[c[b+44>>2]&63](o,n);y=c[o>>2]|0;a[f>>0]=y;a[f+1>>0]=y>>8;a[f+2>>0]=y>>16;a[f+3>>0]=y>>24;Ab[c[(c[n>>2]|0)+32>>2]&63](s,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[s>>2];c[l+4>>2]=c[s+4>>2];c[l+8>>2]=c[s+8>>2];b=0;while(1){if((b|0)==3)break;c[s+(b<<2)>>2]=0;b=b+1|0}Zj(s);e=n}else{Ab[c[b+40>>2]&63](p,n);y=c[p>>2]|0;a[f>>0]=y;a[f+1>>0]=y>>8;a[f+2>>0]=y>>16;a[f+3>>0]=y>>24;Ab[c[(c[n>>2]|0)+28>>2]&63](t,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[t>>2];c[l+4>>2]=c[t+4>>2];c[l+8>>2]=c[t+8>>2];b=0;while(1){if((b|0)==3)break;c[t+(b<<2)>>2]=0;b=b+1|0}Zj(t);e=n}a[g>>0]=Db[c[(c[n>>2]|0)+12>>2]&127](n)|0;a[h>>0]=Db[c[(c[n>>2]|0)+16>>2]&127](n)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](x,n);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[x>>2];c[j+4>>2]=c[x+4>>2];c[j+8>>2]=c[x+8>>2];b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}Zj(x);Ab[c[(c[e>>2]|0)+24>>2]&63](z,n);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}bk(k,0);c[k>>2]=c[z>>2];c[k+4>>2]=c[z+4>>2];c[k+8>>2]=c[z+8>>2];b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}Zj(z);b=Db[c[(c[n>>2]|0)+36>>2]&127](n)|0}else{n=sm(e,1213200)|0;b=c[n>>2]|0;if(d){Ab[c[b+44>>2]&63](q,n);z=c[q>>2]|0;a[f>>0]=z;a[f+1>>0]=z>>8;a[f+2>>0]=z>>16;a[f+3>>0]=z>>24;Ab[c[(c[n>>2]|0)+32>>2]&63](u,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[u>>2];c[l+4>>2]=c[u+4>>2];c[l+8>>2]=c[u+8>>2];b=0;while(1){if((b|0)==3)break;c[u+(b<<2)>>2]=0;b=b+1|0}Zj(u);e=n}else{Ab[c[b+40>>2]&63](r,n);z=c[r>>2]|0;a[f>>0]=z;a[f+1>>0]=z>>8;a[f+2>>0]=z>>16;a[f+3>>0]=z>>24;Ab[c[(c[n>>2]|0)+28>>2]&63](v,n);if(!(a[l>>0]&1)){a[l+1>>0]=0;a[l>>0]=0}else{a[c[l+8>>2]>>0]=0;c[l+4>>2]=0}bk(l,0);c[l>>2]=c[v>>2];c[l+4>>2]=c[v+4>>2];c[l+8>>2]=c[v+8>>2];b=0;while(1){if((b|0)==3)break;c[v+(b<<2)>>2]=0;b=b+1|0}Zj(v);e=n}a[g>>0]=Db[c[(c[n>>2]|0)+12>>2]&127](n)|0;a[h>>0]=Db[c[(c[n>>2]|0)+16>>2]&127](n)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](w,n);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[w>>2];c[j+4>>2]=c[w+4>>2];c[j+8>>2]=c[w+8>>2];b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}Zj(w);Ab[c[(c[e>>2]|0)+24>>2]&63](y,n);if(!(a[k>>0]&1)){a[k+1>>0]=0;a[k>>0]=0}else{a[c[k+8>>2]>>0]=0;c[k+4>>2]=0}bk(k,0);c[k>>2]=c[y>>2];c[k+4>>2]=c[y+4>>2];c[k+8>>2]=c[y+8>>2];b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}Zj(y);b=Db[c[(c[n>>2]|0)+36>>2]&127](n)|0}c[m>>2]=b;i=A;return}function Qq(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;c[f>>2]=d;H=q+4|0;I=q+8|0;J=q+1|0;B=p+4|0;C=(g&512|0)==0;D=p+8|0;E=p+1|0;F=j+8|0;G=(r|0)>0;y=o+4|0;z=o+8|0;A=o+1|0;x=0;while(1){if((x|0)==4)break;a:do switch(a[l+x>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];v=Jb[c[(c[j>>2]|0)+28>>2]&63](j,32)|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v;break}case 3:{w=a[q>>0]|0;s=(w&1)==0;if((s?(w&255)>>>1:c[H>>2]|0)|0){v=a[(s?J:c[I>>2]|0)>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v}break}case 2:{t=a[p>>0]|0;s=(t&1)==0;t=s?(t&255)>>>1:c[B>>2]|0;if(!(C|(t|0)==0)){w=s?E:c[D>>2]|0;u=w+t|0;s=c[f>>2]|0;t=w;while(1){if((t|0)==(u|0))break;a[s>>0]=a[t>>0]|0;s=s+1|0;t=t+1|0}c[f>>2]=s}break}case 4:{t=c[f>>2]|0;h=k?h+1|0:h;s=h;while(1){if(s>>>0>=i>>>0)break;u=a[s>>0]|0;if(u<<24>>24<=-1)break;if(!(b[(c[F>>2]|0)+(u<<24>>24<<1)>>1]&2048))break;s=s+1|0}if(G){v=r;while(1){u=(v|0)>0;if(!(s>>>0>h>>>0&u))break;w=s+-1|0;K=a[w>>0]|0;u=c[f>>2]|0;c[f>>2]=u+1;a[u>>0]=K;s=w;v=v+-1|0}if(u)w=Jb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;else w=0;while(1){u=c[f>>2]|0;c[f>>2]=u+1;if((v|0)<=0)break;a[u>>0]=w;v=v+-1|0}a[u>>0]=m}b:do if((s|0)==(h|0)){w=Jb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;K=c[f>>2]|0;c[f>>2]=K+1;a[K>>0]=w}else{K=a[o>>0]|0;u=(K&1)==0;if(!((u?(K&255)>>>1:c[y>>2]|0)|0)){u=-1;v=0;w=0}else{u=a[(u?A:c[z>>2]|0)>>0]|0;v=0;w=0}while(1){if((s|0)==(h|0))break b;if((w|0)==(u|0)){K=c[f>>2]|0;c[f>>2]=K+1;a[K>>0]=n;v=v+1|0;K=a[o>>0]|0;u=(K&1)==0;if(v>>>0<(u?(K&255)>>>1:c[y>>2]|0)>>>0){u=a[(u?A:c[z>>2]|0)+v>>0]|0;u=u<<24>>24==127?-1:u<<24>>24;w=0}else{u=w;w=0}}K=s+-1|0;M=a[K>>0]|0;L=c[f>>2]|0;c[f>>2]=L+1;a[L>>0]=M;s=K;w=w+1|0}}while(0);s=c[f>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;M=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=M;t=t+1|0}break}default:{}}while(0);x=x+1|0}h=a[q>>0]|0;s=(h&1)==0;h=s?(h&255)>>>1:c[H>>2]|0;if(h>>>0>1){s=s?J:c[I>>2]|0;t=s+h|0;h=c[f>>2]|0;while(1){s=s+1|0;if((s|0)==(t|0))break;a[h>>0]=a[s>>0]|0;h=h+1|0}c[f>>2]=h}switch(g&176|0){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function Rq(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=i;i=i+176|0;p=D+56|0;x=D+52|0;v=D+164|0;s=D+161|0;w=D+160|0;z=D+40|0;C=D+28|0;B=D+16|0;m=D+12|0;o=D+60|0;u=D+8|0;t=D+4|0;q=D;b=Nl(f)|0;c[x>>2]=b;r=sm(x,1211488)|0;n=a[h>>0]|0;j=(n&1)==0;k=h+4|0;if(!((j?(n&255)>>>1:c[k>>2]|0)|0))n=0;else{n=a[(j?h+1|0:c[h+8>>2]|0)>>0]|0;n=n<<24>>24==(Jb[c[(c[r>>2]|0)+28>>2]&63](r,45)|0)<<24>>24}j=0;while(1){if((j|0)==3)break;c[z+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[C+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[B+(j<<2)>>2]=0;j=j+1|0}Pq(e,n,x,v,s,w,z,C,B,m);l=a[h>>0]|0;e=c[k>>2]|0;j=(l&1)==0?(l&255)>>>1:e;k=c[m>>2]|0;if((j|0)>(k|0)){E=a[B>>0]|0;m=a[C>>0]|0;j=(j-k<<1|1)+k+((E&1)==0?(E&255)>>>1:c[B+4>>2]|0)+((m&1)==0?(m&255)>>>1:c[C+4>>2]|0)|0}else{E=a[B>>0]|0;j=a[C>>0]|0;j=k+2+((E&1)==0?(E&255)>>>1:c[B+4>>2]|0)+((j&1)==0?(j&255)>>>1:c[C+4>>2]|0)|0}if(j>>>0>100){j=bj(j)|0;if(!j)uu();else{A=j;y=j}}else{A=0;y=o}E=(l&1)==0;j=E?h+1|0:c[h+8>>2]|0;Qq(y,u,t,c[f+4>>2]|0,j,j+(E?(l&255)>>>1:e)|0,r,n,v,a[s>>0]|0,a[w>>0]|0,z,C,B,k);c[q>>2]=c[d>>2];E=c[u>>2]|0;j=c[t>>2]|0;c[p>>2]=c[q>>2];j=Ud(p,y,E,j,f,g)|0;if(A){cj(A);b=c[x>>2]|0}Zj(B);Zj(C);Zj(z);Ht(b)|0;i=D;return j|0}function Sq(a){a=a|0;return}function Tq(a){a=a|0;Qt(a);return}function Uq(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;F=i;i=i+1008|0;q=F+8|0;l=F;b=F+896|0;m=F+888|0;k=F+488|0;y=F+480|0;v=F+892|0;s=F+476|0;w=F+472|0;B=F+460|0;E=F+448|0;D=F+436|0;o=F+432|0;p=F+32|0;u=F+24|0;t=F+16|0;r=F+20|0;c[m>>2]=b;h[q>>3]=j;b=Yh(b,100,21661,q)|0;if(b>>>0>99){b=Cm()|0;h[l>>3]=j;b=Tn(m,b,21661,l)|0;k=c[m>>2]|0;if(!k)uu();l=bj(b<<2)|0;if(!l)uu();else{x=l;G=l;H=k;A=b}}else{x=k;G=0;H=0;A=b}b=Nl(f)|0;c[y>>2]=b;n=sm(y,1211520)|0;l=c[m>>2]|0;Hb[c[(c[n>>2]|0)+48>>2]&7](n,l,l+A|0,x)|0;if(!A)m=0;else m=(a[c[m>>2]>>0]|0)==45;k=0;while(1){if((k|0)==3)break;c[B+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[E+(k<<2)>>2]=0;k=k+1|0}k=0;while(1){if((k|0)==3)break;c[D+(k<<2)>>2]=0;k=k+1|0}Vq(e,m,y,v,s,w,B,E,D,o);l=c[o>>2]|0;if((A|0)>(l|0)){e=a[D>>0]|0;k=a[E>>0]|0;k=(A-l<<1|1)+l+((e&1)==0?(e&255)>>>1:c[D+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[E+4>>2]|0)|0}else{e=a[D>>0]|0;k=a[E>>0]|0;k=l+2+((e&1)==0?(e&255)>>>1:c[D+4>>2]|0)+((k&1)==0?(k&255)>>>1:c[E+4>>2]|0)|0}if(k>>>0>100){k=bj(k<<2)|0;if(!k)uu();else{C=k;z=k}}else{C=0;z=p}Wq(z,u,t,c[f+4>>2]|0,x,x+(A<<2)|0,n,m,v,c[s>>2]|0,c[w>>2]|0,B,E,D,l);c[r>>2]=c[d>>2];d=c[u>>2]|0;k=c[t>>2]|0;c[q>>2]=c[r>>2];k=ao(q,z,d,k,f,g)|0;if(C){cj(C);b=c[y>>2]|0}vk(D);vk(E);Zj(B);Ht(b)|0;if(G|0)cj(G);if(H|0)cj(H);i=F;return k|0}function Vq(b,d,e,f,g,h,j,k,l,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+112|0;n=z+108|0;r=z+96|0;o=z+92|0;s=z+80|0;w=z+68|0;y=z+56|0;p=z+52|0;t=z+40|0;q=z+36|0;u=z+24|0;v=z+12|0;x=z;if(b){e=sm(e,1213224)|0;b=c[e>>2]|0;if(d){Ab[c[b+44>>2]&63](n,e);x=c[n>>2]|0;a[f>>0]=x;a[f+1>>0]=x>>8;a[f+2>>0]=x>>16;a[f+3>>0]=x>>24;Ab[c[(c[e>>2]|0)+32>>2]&63](r,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[r>>2];c[l+4>>2]=c[r+4>>2];c[l+8>>2]=c[r+8>>2];b=0;while(1){if((b|0)==3)break;c[r+(b<<2)>>2]=0;b=b+1|0}vk(r)}else{Ab[c[b+40>>2]&63](o,e);x=c[o>>2]|0;a[f>>0]=x;a[f+1>>0]=x>>8;a[f+2>>0]=x>>16;a[f+3>>0]=x>>24;Ab[c[(c[e>>2]|0)+28>>2]&63](s,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[s>>2];c[l+4>>2]=c[s+4>>2];c[l+8>>2]=c[s+8>>2];b=0;while(1){if((b|0)==3)break;c[s+(b<<2)>>2]=0;b=b+1|0}vk(s)}c[g>>2]=Db[c[(c[e>>2]|0)+12>>2]&127](e)|0;c[h>>2]=Db[c[(c[e>>2]|0)+16>>2]&127](e)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](w,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[w>>2];c[j+4>>2]=c[w+4>>2];c[j+8>>2]=c[w+8>>2];b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}Zj(w);Ab[c[(c[e>>2]|0)+24>>2]&63](y,e);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;yk(k,0);c[k>>2]=c[y>>2];c[k+4>>2]=c[y+4>>2];c[k+8>>2]=c[y+8>>2];b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}vk(y);b=Db[c[(c[e>>2]|0)+36>>2]&127](e)|0}else{e=sm(e,1213216)|0;b=c[e>>2]|0;if(d){Ab[c[b+44>>2]&63](p,e);y=c[p>>2]|0;a[f>>0]=y;a[f+1>>0]=y>>8;a[f+2>>0]=y>>16;a[f+3>>0]=y>>24;Ab[c[(c[e>>2]|0)+32>>2]&63](t,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[t>>2];c[l+4>>2]=c[t+4>>2];c[l+8>>2]=c[t+8>>2];b=0;while(1){if((b|0)==3)break;c[t+(b<<2)>>2]=0;b=b+1|0}vk(t)}else{Ab[c[b+40>>2]&63](q,e);y=c[q>>2]|0;a[f>>0]=y;a[f+1>>0]=y>>8;a[f+2>>0]=y>>16;a[f+3>>0]=y>>24;Ab[c[(c[e>>2]|0)+28>>2]&63](u,e);if(!(a[l>>0]&1))a[l>>0]=0;else c[c[l+8>>2]>>2]=0;c[l+4>>2]=0;yk(l,0);c[l>>2]=c[u>>2];c[l+4>>2]=c[u+4>>2];c[l+8>>2]=c[u+8>>2];b=0;while(1){if((b|0)==3)break;c[u+(b<<2)>>2]=0;b=b+1|0}vk(u)}c[g>>2]=Db[c[(c[e>>2]|0)+12>>2]&127](e)|0;c[h>>2]=Db[c[(c[e>>2]|0)+16>>2]&127](e)|0;Ab[c[(c[e>>2]|0)+20>>2]&63](v,e);if(!(a[j>>0]&1)){a[j+1>>0]=0;a[j>>0]=0}else{a[c[j+8>>2]>>0]=0;c[j+4>>2]=0}bk(j,0);c[j>>2]=c[v>>2];c[j+4>>2]=c[v+4>>2];c[j+8>>2]=c[v+8>>2];b=0;while(1){if((b|0)==3)break;c[v+(b<<2)>>2]=0;b=b+1|0}Zj(v);Ab[c[(c[e>>2]|0)+24>>2]&63](x,e);if(!(a[k>>0]&1))a[k>>0]=0;else c[c[k+8>>2]>>2]=0;c[k+4>>2]=0;yk(k,0);c[k>>2]=c[x>>2];c[k+4>>2]=c[x+4>>2];c[k+8>>2]=c[x+8>>2];b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}vk(x);b=Db[c[(c[e>>2]|0)+36>>2]&127](e)|0}c[m>>2]=b;i=z;return}function Wq(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;c[e>>2]=b;H=p+4|0;I=p+8|0;A=o+4|0;B=(f&512|0)==0;C=o+8|0;D=(q|0)>0;E=n+4|0;F=n+8|0;G=n+1|0;z=0;while(1){if((z|0)==4)break;a:do switch(a[k+z>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];x=Jb[c[(c[i>>2]|0)+44>>2]&63](i,32)|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x;break}case 3:{y=a[p>>0]|0;r=(y&1)==0;if((r?(y&255)>>>1:c[H>>2]|0)|0){x=c[(r?H:c[I>>2]|0)>>2]|0;y=c[e>>2]|0;c[e>>2]=y+4;c[y>>2]=x}break}case 2:{v=a[o>>0]|0;r=(v&1)==0;v=r?(v&255)>>>1:c[A>>2]|0;if(!(B|(v|0)==0)){u=r?A:c[C>>2]|0;s=u+(v<<2)|0;t=c[e>>2]|0;r=t;while(1){if((u|0)==(s|0))break;c[r>>2]=c[u>>2];r=r+4|0;u=u+4|0}c[e>>2]=t+(v<<2)}break}case 4:{s=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(wb[c[(c[i>>2]|0)+12>>2]&31](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if(D){v=q;while(1){t=(v|0)>0;if(!(r>>>0>g>>>0&t))break;y=r+-4|0;w=c[y>>2]|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w;r=y;v=v+-1|0}if(t)w=Jb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;else w=0;u=c[e>>2]|0;while(1){t=u+4|0;if((v|0)<=0)break;c[u>>2]=w;u=t;v=v+-1|0}c[e>>2]=t;c[u>>2]=l}if((r|0)==(g|0)){x=Jb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;y=c[e>>2]|0;r=y+4|0;c[e>>2]=r;c[y>>2]=x}else{x=a[n>>0]|0;t=(x&1)==0;y=c[E>>2]|0;if(!((t?(x&255)>>>1:y)|0)){w=-1;v=0;x=0}else{w=a[(t?G:c[F>>2]|0)>>0]|0;v=0;x=0}while(1){if((r|0)==(g|0))break;t=c[e>>2]|0;if((x|0)==(w|0)){u=t+4|0;c[e>>2]=u;c[t>>2]=m;v=v+1|0;w=a[n>>0]|0;t=(w&1)==0;if(v>>>0<(t?(w&255)>>>1:y)>>>0){w=a[(t?G:c[F>>2]|0)+v>>0]|0;t=u;w=w<<24>>24==127?-1:w<<24>>24;u=0}else{t=u;w=x;u=0}}else u=x;x=r+-4|0;J=c[x>>2]|0;c[e>>2]=t+4;c[t>>2]=J;r=x;x=u+1|0}r=c[e>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;J=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=J;s=s+4|0}break}default:{}}while(0);z=z+1|0}r=a[p>>0]|0;g=(r&1)==0;r=g?(r&255)>>>1:c[H>>2]|0;if(r>>>0>1){s=g?H:c[I>>2]|0;u=s+4|0;r=s+(r<<2)|0;s=c[e>>2]|0;t=r-u|0;g=s;while(1){if((u|0)==(r|0))break;c[g>>2]=c[u>>2];g=g+4|0;u=u+4|0}c[e>>2]=s+(t>>>2<<2)}switch(f&176|0){case 32:{c[d>>2]=c[e>>2];break}case 16:break;default:c[d>>2]=b}return}function Xq(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=i;i=i+480|0;p=E+468|0;y=E+464|0;w=E+472|0;t=E+460|0;x=E+456|0;A=E+444|0;D=E+432|0;C=E+420|0;m=E+416|0;o=E+16|0;v=E+8|0;u=E+4|0;q=E;b=Nl(f)|0;c[y>>2]=b;r=sm(y,1211520)|0;n=a[h>>0]|0;j=(n&1)==0;s=h+4|0;if(!((j?(n&255)>>>1:c[s>>2]|0)|0))n=0;else{n=c[(j?s:c[h+8>>2]|0)>>2]|0;n=(n|0)==(Jb[c[(c[r>>2]|0)+44>>2]&63](r,45)|0)}j=0;while(1){if((j|0)==3)break;c[A+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[D+(j<<2)>>2]=0;j=j+1|0}j=0;while(1){if((j|0)==3)break;c[C+(j<<2)>>2]=0;j=j+1|0}Vq(e,n,y,w,t,x,A,D,C,m);k=a[h>>0]|0;l=c[s>>2]|0;j=(k&1)==0?(k&255)>>>1:l;e=c[m>>2]|0;if((j|0)>(e|0)){F=a[C>>0]|0;m=a[D>>0]|0;j=(j-e<<1|1)+e+((F&1)==0?(F&255)>>>1:c[C+4>>2]|0)+((m&1)==0?(m&255)>>>1:c[D+4>>2]|0)|0}else{F=a[C>>0]|0;j=a[D>>0]|0;j=e+2+((F&1)==0?(F&255)>>>1:c[C+4>>2]|0)+((j&1)==0?(j&255)>>>1:c[D+4>>2]|0)|0}if(j>>>0>100){j=bj(j<<2)|0;if(!j)uu();else{B=j;z=j}}else{B=0;z=o}F=(k&1)==0;j=F?s:c[h+8>>2]|0;Wq(z,v,u,c[f+4>>2]|0,j,j+((F?(k&255)>>>1:l)<<2)|0,r,n,w,c[t>>2]|0,c[x>>2]|0,A,D,C,e);c[q>>2]=c[d>>2];F=c[v>>2]|0;j=c[u>>2]|0;c[p>>2]=c[q>>2];j=ao(p,z,F,j,f,g)|0;if(B){cj(B);b=c[y>>2]|0}vk(C);vk(D);Zj(A);Ht(b)|0;i=E;return j|0}function Yq(a){a=a|0;return}function Zq(a){a=a|0;Qt(a);return}function _q(b,d,e){b=b|0;d=d|0;e=e|0;b=Wi((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function $q(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0;k=i;i=i+16|0;j=k;d=0;while(1){if((d|0)==3)break;c[j+(d<<2)>>2]=0;d=d+1|0}l=a[h>>0]|0;m=(l&1)==0;d=m?h+1|0:c[h+8>>2]|0;h=d+(m?(l&255)>>>1:c[h+4>>2]|0)|0;while(1){if(d>>>0>=h>>>0)break;jk(j,a[d>>0]|0);d=d+1|0}d=Ti((e|0)==-1?-1:e<<1,f,g,(a[j>>0]&1)==0?j+1|0:c[j+8>>2]|0)|0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(Xh(d)|0)|0;while(1){if(d>>>0>=h>>>0)break;jk(b,a[d>>0]|0);d=d+1|0}Zj(j);i=k;return}function ar(a,b){a=a|0;b=b|0;return}function br(a){a=a|0;return}function cr(a){a=a|0;Qt(a);return}function dr(b,d,e){b=b|0;d=d|0;e=e|0;b=Wi((a[d>>0]&1)==0?d+1|0:c[d+8>>2]|0,1)|0;return b>>>((b|0)!=(-1|0)&1)|0}function er(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+176|0;q=t+168|0;p=t+40|0;o=t+36|0;s=t+32|0;r=t;m=t+24|0;n=t+16|0;d=0;while(1){if((d|0)==3)break;c[r+(d<<2)>>2]=0;d=d+1|0}c[m+4>>2]=0;c[m>>2]=12628;l=a[h>>0]|0;d=(l&1)==0;k=h+4|0;h=d?k:c[h+8>>2]|0;k=h+((d?(l&255)>>>1:c[k>>2]|0)<<2)|0;l=p+32|0;d=0;while(1){if(!((d|0)!=2&h>>>0<k>>>0))break;c[s>>2]=h;j=Gb[c[(c[m>>2]|0)+12>>2]&15](m,q,h,k,s,p,l,o)|0;d=p;while(1){if(d>>>0>=(c[o>>2]|0)>>>0)break;jk(r,a[d>>0]|0);d=d+1|0}h=c[s>>2]|0;d=j}h=Ti((e|0)==-1?-1:e<<1,f,g,(a[r>>0]&1)==0?r+1|0:c[r+8>>2]|0)|0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[n+4>>2]=0;c[n>>2]=12676;k=h+(Xh(h)|0)|0;l=k;m=p+128|0;d=0;while(1){if(!((d|0)!=2&h>>>0<k>>>0))break;c[s>>2]=h;j=Gb[c[(c[n>>2]|0)+16>>2]&15](n,q,h,(l-h|0)>32?h+32|0:k,s,p,m,o)|0;d=p;while(1){if(d>>>0>=(c[o>>2]|0)>>>0)break;Bk(b,c[d>>2]|0);d=d+4|0}h=c[s>>2]|0;d=j}Zj(r);i=t;return}function fr(a){a=a|0;return}function gr(a){a=a|0;Qt(a);return}function hr(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;a=i;i=i+16|0;k=a+4|0;b=a;c[k>>2]=d;c[b>>2]=g;h=ir(d,e,k,g,h,b,1114111,0)|0;c[f>>2]=c[k>>2];c[j>>2]=c[b>>2];i=a;return h|0}function ir(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;c[e>>2]=b;c[h>>2]=f;l=g;if(j&2)if((l-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}j=c[b>>2]|0;if(j>>>0>i>>>0|(j&-2048|0)==55296){b=2;break a}do if(j>>>0>=128){if(j>>>0<2048){b=c[h>>2]|0;if((l-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}b=c[h>>2]|0;g=l-b|0;if(j>>>0<65536){if((g|0)<3){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}else{if((g|0)<4){b=1;break a}c[h>>2]=b+1;a[b>>0]=j>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=j&63|128;break}}else{b=c[h>>2]|0;if((l-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=j}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function jr(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;a=i;i=i+16|0;k=a+4|0;b=a;c[k>>2]=d;c[b>>2]=g;h=kr(d,e,k,g,h,b,1114111,0)|0;c[f>>2]=c[k>>2];c[j>>2]=c[b>>2];i=a;return h|0}function kr(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;c[f>>2]=b;c[i>>2]=g;if(k&4){b=c[f>>2]|0;k=e;if((((k-b|0)>2?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)?(a[b+2>>0]|0)==-65:0)c[f>>2]=b+3}else k=e;a:while(1){o=c[f>>2]|0;b=o>>>0<e>>>0;if(!b){q=40;break}p=c[i>>2]|0;if(p>>>0>=h>>>0){q=40;break}b=a[o>>0]|0;n=b&255;do if(b<<24>>24>-1){if(n>>>0>j>>>0){b=2;break a}c[p>>2]=n;c[f>>2]=o+1}else{if((b&255)<194){b=2;break a}if((b&255)<224){if((k-o|0)<2){b=1;break a}b=d[o+1>>0]|0;if((b&192|0)!=128){b=2;break a}b=b&63|n<<6&1984;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;c[f>>2]=o+2;break}if((b&255)<240){if((k-o|0)<3){b=1;break a}g=a[o+1>>0]|0;b=a[o+2>>0]|0;switch(n|0){case 224:{if((g&-32)<<24>>24!=-96){b=2;break a}break}case 237:{if((g&-32)<<24>>24!=-128){b=2;break a}break}default:if((g&-64)<<24>>24!=-128){b=2;break a}}b=b&255;if((b&192|0)!=128){b=2;break a}b=(g&255)<<6&4032|n<<12&61440|b&63;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;c[f>>2]=o+3;break}if((b&255)>=245){b=2;break a}if((k-o|0)<4){b=1;break a}m=a[o+1>>0]|0;b=a[o+2>>0]|0;g=a[o+3>>0]|0;switch(n|0){case 240:{if((m+112&255)>=48){b=2;break a}break}case 244:{if((m&-16)<<24>>24!=-128){b=2;break a}break}default:if((m&-64)<<24>>24!=-128){b=2;break a}}l=b&255;if((l&192|0)!=128){b=2;break a}b=g&255;if((b&192|0)!=128){b=2;break a}b=(m&255)<<12&258048|n<<18&1835008|l<<6&4032|b&63;if(b>>>0>j>>>0){b=2;break a}c[p>>2]=b;c[f>>2]=o+4}while(0);c[i>>2]=(c[i>>2]|0)+4}if((q|0)==40)b=b&1;return b|0}function lr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function mr(a){a=a|0;return 0}function nr(a){a=a|0;return 0}function or(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return pr(c,d,e,1114111,0)|0}function pr(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c;if((((g&4|0)!=0?(n-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){l=(a[b+2>>0]|0)==-65?b+3|0:b;m=0}else{l=b;m=0}a:while(1){if(!(m>>>0<e>>>0&l>>>0<c>>>0)){g=l;h=40;break}g=a[l>>0]|0;k=g&255;do if(g<<24>>24<=-1){if((g&255)<194){g=l;h=40;break a}if((g&255)<224){if((n-l|0)<2){g=l;h=40;break a}g=d[l+1>>0]|0;if((g&192|0)!=128){g=l;h=40;break a}if((g&63|k<<6&1984)>>>0>f>>>0){g=l;h=40;break a}g=l+2|0;break}if((g&255)<240){g=l;if((n-g|0)<3){g=l;h=40;break a}i=a[l+1>>0]|0;h=a[l+2>>0]|0;switch(k|0){case 224:{if((i&-32)<<24>>24!=-96){h=20;break a}break}case 237:{if((i&-32)<<24>>24!=-128){h=22;break a}break}default:if((i&-64)<<24>>24!=-128){h=24;break a}}g=h&255;if((g&192|0)!=128){g=l;h=40;break a}if(((i&255)<<6&4032|k<<12&61440|g&63)>>>0>f>>>0){g=l;h=40;break a}else{g=l+3|0;break}}if((g&255)>=245){g=l;h=40;break a}g=l;if((n-g|0)<4){g=l;h=40;break a}j=a[l+1>>0]|0;h=a[l+2>>0]|0;i=a[l+3>>0]|0;switch(k|0){case 240:{if((j+112&255)>=48){h=31;break a}break}case 244:{if((j&-16)<<24>>24!=-128){h=33;break a}break}default:if((j&-64)<<24>>24!=-128){h=35;break a}}h=h&255;if((h&192|0)!=128){g=l;h=40;break a}g=i&255;if((g&192|0)!=128){g=l;h=40;break a}if(((j&255)<<12&258048|k<<18&1835008|h<<6&4032|g&63)>>>0>f>>>0){g=l;h=40;break a}else g=l+4|0}else{if(k>>>0>f>>>0){g=l;h=40;break a}g=l+1|0}while(0);l=g;m=m+1|0}if((h|0)==20)g=g-b|0;else if((h|0)==22)g=g-b|0;else if((h|0)==24)g=g-b|0;else if((h|0)==31)g=g-b|0;else if((h|0)==33)g=g-b|0;else if((h|0)==35)g=g-b|0;else if((h|0)==40)g=g-b|0;return g|0}function qr(a){a=a|0;return 4}function rr(a){a=a|0;Qt(a);return}function sr(a,b){a=a|0;b=b|0;return}function tr(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function ur(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function vr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function wr(a){a=a|0;return 1}function xr(a){a=a|0;return 1}function yr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=d-c|0;return (a>>>0<e>>>0?a:e)|0}function zr(a){a=a|0;return 1}function Ar(a){a=a|0;var b=0;c[a>>2]=12724;a=a+8|0;b=c[a>>2]|0;if((b|0)!=(Cm()|0))Ri(c[a>>2]|0);return}function Br(a){a=a|0;Ar(a);Qt(a);return}function Cr(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=i;i=i+16|0;q=r;o=r+8|0;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(c[l>>2]|0))break;l=l+4|0}c[k>>2]=h;c[g>>2]=e;n=j;p=b+8|0;a:while(1){if((h|0)==(j|0)|(e|0)==(f|0)){l=35;break}s=d;m=c[s+4>>2]|0;b=q;c[b>>2]=c[s>>2];c[b+4>>2]=m;b=Pi(c[p>>2]|0)|0;m=Zi(h,g,l-e>>2,n-h|0,d)|0;if(b|0)Pi(b)|0;switch(m|0){case -1:{l=10;break a}case 0:{e=1;l=32;break a}default:{}}h=(c[k>>2]|0)+m|0;c[k>>2]=h;if((h|0)==(j|0)){l=33;break}if((l|0)==(f|0)){e=c[g>>2]|0;l=f}else{e=Pi(c[p>>2]|0)|0;h=Sh(o,0,d)|0;if(e|0)Pi(e)|0;if((h|0)==-1){e=2;l=31;break}if(h>>>0>(n-(c[k>>2]|0)|0)>>>0){e=1;l=31;break}else e=o;while(1){if(!h)break;m=a[e>>0]|0;s=c[k>>2]|0;c[k>>2]=s+1;a[s>>0]=m;h=h+-1|0;e=e+1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(c[l>>2]|0))break;l=l+4|0}h=c[k>>2]|0}}if((l|0)==10){c[k>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;s=c[e>>2]|0;l=Pi(c[p>>2]|0)|0;h=Sh(h,s,q)|0;if(l|0)Pi(l)|0;if((h|0)==-1)break;h=(c[k>>2]|0)+h|0;c[k>>2]=h;e=e+4|0}c[g>>2]=e;e=2;l=32}else if((l|0)==31)l=32;else if((l|0)==33){e=c[g>>2]|0;l=35}if((l|0)!=32)if((l|0)==35)e=(e|0)!=(f|0)&1;i=r;return e|0}function Dr(b,d,e,f,g,h,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;q=r;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(a[l>>0]|0))break;l=l+1|0}c[k>>2]=h;c[g>>2]=e;o=j;p=b+8|0;a:while(1){if((h|0)==(j|0)|(e|0)==(f|0)){l=34;break}n=d;m=c[n+4>>2]|0;b=q;c[b>>2]=c[n>>2];c[b+4>>2]=m;b=l;m=Pi(c[p>>2]|0)|0;n=Hi(h,g,b-e|0,o-h>>2,d)|0;if(m|0)Pi(m)|0;switch(n|0){case -1:{l=10;break a}case 0:{e=2;l=30;break a}default:{}}h=(c[k>>2]|0)+(n<<2)|0;c[k>>2]=h;if((h|0)==(j|0)){l=31;break}e=c[g>>2]|0;if((l|0)==(f|0))l=f;else{l=Pi(c[p>>2]|0)|0;e=ci(h,e,1,d)|0;if(l|0)Pi(l)|0;if(e|0){e=2;l=30;break}c[k>>2]=(c[k>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;l=e;while(1){if((l|0)==(f|0)){l=f;break}if(!(a[l>>0]|0))break;l=l+1|0}h=c[k>>2]|0}}do if((l|0)==10){b:while(1){c[k>>2]=h;if((e|0)==(c[g>>2]|0)){l=20;break}l=Pi(c[p>>2]|0)|0;h=ci(h,e,b-e|0,q)|0;if(l|0)Pi(l)|0;switch(h|0){case -1:{l=16;break b}case -2:{l=17;break b}case 0:{e=e+1|0;break}default:e=e+h|0}h=(c[k>>2]|0)+4|0}if((l|0)==16){c[g>>2]=e;e=2;l=30;break}else if((l|0)==17){c[g>>2]=e;e=1;l=30;break}else if((l|0)==20){c[g>>2]=e;e=(e|0)!=(f|0)&1;l=30;break}}else if((l|0)==31){e=c[g>>2]|0;l=34}while(0);if((l|0)!=30)if((l|0)==34)e=(e|0)!=(f|0)&1;i=r;return e|0}function Er(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;j=i;i=i+16|0;h=j;c[g>>2]=e;e=Pi(c[b+8>>2]|0)|0;b=Sh(h,0,d)|0;if(e|0)Pi(e)|0;a:do switch(b|0){case 0:case -1:{h=2;break}default:{b=b+-1|0;if(b>>>0>(f-(c[g>>2]|0)|0)>>>0)h=1;else while(1){if(!b){h=0;break a}d=a[h>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;b=b+-1|0;h=h+1|0}}}while(0);i=j;return h|0}function Fr(a){a=a|0;var b=0,d=0;a=a+8|0;b=Pi(c[a>>2]|0)|0;d=Ai(0,0,4)|0;if(b|0)Pi(b)|0;if(!d){a=c[a>>2]|0;if(a){a=Pi(a)|0;if(!a)a=0;else{Pi(a)|0;a=0}}else a=1}else a=-1;return a|0}function Gr(a){a=a|0;return 0}function Hr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=e;j=a+8|0;a=0;i=0;a:while(1){if((d|0)==(e|0)|i>>>0>=f>>>0)break;h=Pi(c[j>>2]|0)|0;g=Yi(d,k-d|0,b)|0;if(h|0)Pi(h)|0;switch(g|0){case -2:case -1:break a;case 0:{d=d+1|0;g=1;break}default:d=d+g|0}a=g+a|0;i=i+1|0}return a|0}function Ir(a){a=a|0;a=c[a+8>>2]|0;if(a){a=Pi(a)|0;if(!a)a=4;else{Pi(a)|0;a=4}}else a=1;return a|0}function Jr(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;a=i;i=i+16|0;k=a+4|0;b=a;c[k>>2]=d;c[b>>2]=g;h=Kr(d,e,k,g,h,b,1114111,0)|0;c[f>>2]=c[k>>2];c[j>>2]=c[b>>2];i=a;return h|0}function Kr(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){n=f;d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}l=b[d>>1]|0;m=l&65535;if(m>>>0>k>>>0){d=2;break a}do if((l&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=l}else{if((l&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>6|192;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((l&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((l&65535)>=56320){if((l&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m>>>6&63|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m&63|128;break}if((n-d|0)<4){d=1;break a}d=d+2|0;l=e[d>>1]|0;if((l&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}h=m&960;if(((h<<10)+65536|m<<10&64512|l&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=d;d=(h>>>6)+1|0;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=d>>>2|240;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m>>>2&15|d<<4&48|128;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=m<<4&48|l>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=l&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function Lr(a,b,d,e,f,g,h,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var k=0;a=i;i=i+16|0;k=a+4|0;b=a;c[k>>2]=d;c[b>>2]=g;h=Mr(d,e,k,g,h,b,1114111,0)|0;c[f>>2]=c[k>>2];c[j>>2]=c[b>>2];i=a;return h|0}function Mr(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;c[g>>2]=e;c[j>>2]=h;if(l&4){e=c[g>>2]|0;l=f;if((((l-e|0)>2?(a[e>>0]|0)==-17:0)?(a[e+1>>0]|0)==-69:0)?(a[e+2>>0]|0)==-65:0)c[g>>2]=e+3}else l=f;q=i;a:while(1){n=c[g>>2]|0;e=n>>>0<f>>>0;if(!e){s=41;break}r=c[j>>2]|0;if(r>>>0>=i>>>0){s=41;break}e=a[n>>0]|0;p=e&255;if(p>>>0>k>>>0){e=2;break}do if(e<<24>>24>-1){b[r>>1]=e&255;c[g>>2]=n+1}else{if((e&255)<194){e=2;break a}if((e&255)<224){if((l-n|0)<2){e=1;break a}e=d[n+1>>0]|0;if((e&192|0)!=128){e=2;break a}e=e&63|p<<6&1984;if(e>>>0>k>>>0){e=2;break a}b[r>>1]=e;c[g>>2]=n+2;break}if((e&255)<240){if((l-n|0)<3){e=1;break a}h=a[n+1>>0]|0;e=a[n+2>>0]|0;switch(p|0){case 224:{if((h&-32)<<24>>24!=-96){e=2;break a}break}case 237:{if((h&-32)<<24>>24!=-128){e=2;break a}break}default:if((h&-64)<<24>>24!=-128){e=2;break a}}e=e&255;if((e&192|0)!=128){e=2;break a}e=(h&255)<<6&4032|p<<12|e&63;if((e&65535)>>>0>k>>>0){e=2;break a}b[r>>1]=e;c[g>>2]=n+3;break}if((e&255)>=245){e=2;break a}if((l-n|0)<4){e=1;break a}m=a[n+1>>0]|0;e=a[n+2>>0]|0;h=a[n+3>>0]|0;switch(p|0){case 240:{if((m+112&255)>=48){e=2;break a}break}case 244:{if((m&-16)<<24>>24!=-128){e=2;break a}break}default:if((m&-64)<<24>>24!=-128){e=2;break a}}o=e&255;if((o&192|0)!=128){e=2;break a}e=h&255;if((e&192|0)!=128){e=2;break a}if((q-r|0)<4){e=1;break a}n=p&7;m=m&255;h=o<<6;e=e&63;if((m<<12&258048|n<<18|h&4032|e)>>>0>k>>>0){e=2;break a}b[r>>1]=m<<2&60|o>>>4&3|((m>>>4&3|n<<2)<<6)+16320|55296;r=r+2|0;c[j>>2]=r;b[r>>1]=e|h&960|56320;c[g>>2]=(c[g>>2]|0)+4}while(0);c[j>>2]=(c[j>>2]|0)+2}if((s|0)==41)e=e&1;return e|0}function Nr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function Or(a){a=a|0;return 0}function Pr(a){a=a|0;return 0}function Qr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Rr(c,d,e,1114111,0)|0}function Rr(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c;if((((g&4|0)!=0?(n-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){m=(a[b+2>>0]|0)==-65?b+3|0:b;h=0}else{m=b;h=0}a:while(1){if(!(h>>>0<e>>>0&m>>>0<c>>>0)){g=m;h=40;break}g=a[m>>0]|0;l=g&255;if(l>>>0>f>>>0){g=m;h=40;break}do if(g<<24>>24>-1)g=m+1|0;else{if((g&255)<194){g=m;h=40;break a}if((g&255)<224){if((n-m|0)<2){g=m;h=40;break a}g=d[m+1>>0]|0;if((g&192|0)!=128){g=m;h=40;break a}if((g&63|l<<6&1984)>>>0>f>>>0){g=m;h=40;break a}else{g=m+2|0;break}}if((g&255)<240){g=m;if((n-g|0)<3){g=m;h=40;break a}j=a[m+1>>0]|0;i=a[m+2>>0]|0;switch(l|0){case 224:{if((j&-32)<<24>>24!=-96){h=19;break a}break}case 237:{if((j&-32)<<24>>24!=-128){h=21;break a}break}default:if((j&-64)<<24>>24!=-128){h=23;break a}}g=i&255;if((g&192|0)!=128){g=m;h=40;break a}if(((j&255)<<6&4032|l<<12&61440|g&63)>>>0>f>>>0){g=m;h=40;break a}else{g=m+3|0;break}}if((g&255)>=245){g=m;h=40;break a}g=m;if((e-h|0)>>>0<2|(n-g|0)<4){g=m;h=40;break a}k=a[m+1>>0]|0;i=a[m+2>>0]|0;j=a[m+3>>0]|0;switch(l|0){case 240:{if((k+112&255)>=48){h=30;break a}break}case 244:{if((k&-16)<<24>>24!=-128){h=32;break a}break}default:if((k&-64)<<24>>24!=-128){h=34;break a}}i=i&255;if((i&192|0)!=128){g=m;h=40;break a}g=j&255;if((g&192|0)!=128){g=m;h=40;break a}if(((k&255)<<12&258048|l<<18&1835008|i<<6&4032|g&63)>>>0>f>>>0){g=m;h=40;break a}g=m+4|0;h=h+1|0}while(0);m=g;h=h+1|0}if((h|0)==19)g=g-b|0;else if((h|0)==21)g=g-b|0;else if((h|0)==23)g=g-b|0;else if((h|0)==30)g=g-b|0;else if((h|0)==32)g=g-b|0;else if((h|0)==34)g=g-b|0;else if((h|0)==40)g=g-b|0;return g|0}function Sr(a){a=a|0;return 4}function Tr(a){a=a|0;var b=0,d=0,e=0,f=0;c[a>>2]=12772;d=a+8|0;e=a+12|0;f=0;while(1){b=c[d>>2]|0;if(f>>>0>=(c[e>>2]|0)-b>>2>>>0)break;b=c[b+(f<<2)>>2]|0;if(b|0)Ht(b)|0;f=f+1|0}Zj(a+144|0);Ur(d);return}function Ur(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b>>2]|0;do if(d|0){e=b+4|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}if((b+16|0)==(d|0)){a[b+128>>0]=0;break}else{Qt(d);break}}while(0);return}function Vr(a){a=a|0;Tr(a);Qt(a);return}function Wr(b){b=b|0;var d=0;c[b>>2]=12792;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)su(d);return}function Xr(a){a=a|0;Wr(a);Qt(a);return}function Yr(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(c[($i()|0)>>2]|0)+((b&255)<<2)>>2]&255;return b|0}function Zr(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(c[($i()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}return e|0}function _r(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(c[(_i()|0)>>2]|0)+(b<<24>>24<<2)>>2]&255;return b|0}function $r(b,d,e){b=b|0;d=d|0;e=e|0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1)d=c[(c[(_i()|0)>>2]|0)+(d<<24>>24<<2)>>2]&255;a[b>>0]=d;b=b+1|0}return e|0}function as(a,b){a=a|0;b=b|0;return b|0}function bs(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function cs(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function ds(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function es(a){a=a|0;c[a>>2]=12844;Zj(a+12|0);return}function fs(a){a=a|0;es(a);Qt(a);return}function gs(b){b=b|0;return a[b+8>>0]|0}function hs(b){b=b|0;return a[b+9>>0]|0}function is(a,b){a=a|0;b=b|0;Uj(a,b+12|0);return}function js(a,b){a=a|0;b=b|0;Vj(a,22158,4);return}function ks(a,b){a=a|0;b=b|0;Vj(a,22163,5);return}function ls(a){a=a|0;c[a>>2]=12884;Zj(a+16|0);return}function ms(a){a=a|0;ls(a);Qt(a);return}function ns(a){a=a|0;return c[a+8>>2]|0}function os(a){a=a|0;return c[a+12>>2]|0}function ps(a,b){a=a|0;b=b|0;Uj(a,b+16|0);return}function qs(a,b){a=a|0;b=b|0;sk(a,12916,oi(12916)|0);return}function rs(a,b){a=a|0;b=b|0;sk(a,12936,oi(12936)|0);return}function ss(a){a=a|0;Qt(a);return}function ts(a){a=a|0;Qt(a);return}function us(a,d,e){a=a|0;d=d|0;e=e|0;if(e>>>0<128)e=(b[(c[(aj()|0)>>2]|0)+(e<<1)>>1]&d)<<16>>16!=0;else e=0;return e|0}function vs(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0;i=(f-d|0)>>>2;h=d;while(1){if((h|0)==(f|0))break;a=c[h>>2]|0;if(a>>>0<128)a=e[(c[(aj()|0)>>2]|0)+(a<<1)>>1]|0;else a=0;b[g>>1]=a;g=g+2|0;h=h+4|0}return d+(i<<2)|0}function ws(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}a=c[e>>2]|0;if(a>>>0<128?(b[(c[(aj()|0)>>2]|0)+(a<<1)>>1]&d)<<16>>16:0)break;e=e+4|0}return e|0}function xs(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}a=c[e>>2]|0;if(a>>>0>=128)break;if(!((b[(c[(aj()|0)>>2]|0)+(a<<1)>>1]&d)<<16>>16))break;e=e+4|0}return e|0}function ys(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(c[($i()|0)>>2]|0)+(b<<2)>>2]|0;return b|0}function zs(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=(d-b|0)>>>2;e=b;while(1){if((e|0)==(d|0))break;a=c[e>>2]|0;if(a>>>0<128)a=c[(c[($i()|0)>>2]|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}return b+(f<<2)|0}function As(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(c[(_i()|0)>>2]|0)+(b<<2)>>2]|0;return b|0}function Bs(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=(d-b|0)>>>2;e=b;while(1){if((e|0)==(d|0))break;a=c[e>>2]|0;if(a>>>0<128)a=c[(c[(_i()|0)>>2]|0)+(a<<2)>>2]|0;c[e>>2]=a;e=e+4|0}return b+(f<<2)|0}function Cs(a,b){a=a|0;b=b|0;return b<<24>>24|0}function Ds(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function Es(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function Fs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=(e-d|0)>>>2;b=g;g=d;while(1){if((g|0)==(e|0))break;i=c[g>>2]|0;a[b>>0]=i>>>0<128?i&255:f;b=b+1|0;g=g+4|0}return d+(h<<2)|0}function Gs(a){a=a|0;Qt(a);return}function Hs(a){a=a|0;Qt(a);return}function Is(a){a=a|0;Qt(a);return}function Js(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+4>>2]=f+-1;c[b>>2]=12792;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=c[(aj()|0)>>2];return}function Ks(a){a=a|0;return}function Ls(a){a=a|0;Ea(22190,22213,303,22285)}function Ms(a){a=a|0;Ea(22306,22213,314,22329)}function Ns(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a+4>>2]=b+-1;c[a>>2]=12772;b=a+8|0;Os(b,28);Vj(a+144|0,20194,1);b=c[b>>2]|0;d=a+12|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}c[263587]=0;c[263586]=10436;Qs(a,1054344);c[263589]=0;c[263588]=10468;Xs(a,1054352);Js(1054360,0,0,1);Ys(a,1054360);c[263595]=0;c[263594]=12988;Zs(a,1054376);c[263597]=0;c[263596]=13056;_s(a,1054384);c[263599]=0;c[263598]=12724;c[263600]=Cm()|0;$s(a,1054392);c[263603]=0;c[263602]=13104;at(a,1054408);c[263605]=0;c[263604]=13152;bt(a,1054416);ct(1054424,1);dt(a,1054424);et(1054448,1);ft(a,1054448);c[263621]=0;c[263620]=10500;gt(a,1054480);c[263623]=0;c[263622]=10564;ht(a,1054488);c[263625]=0;c[263624]=10628;it(a,1054496);c[263627]=0;c[263626]=10680;jt(a,1054504);c[263629]=0;c[263628]=12228;kt(a,1054512);c[263631]=0;c[263630]=12284;lt(a,1054520);c[263633]=0;c[263632]=12340;mt(a,1054528);c[263635]=0;c[263634]=12396;nt(a,1054536);c[263637]=0;c[263636]=12452;ot(a,1054544);c[263639]=0;c[263638]=12480;pt(a,1054552);c[263641]=0;c[263640]=12508;qt(a,1054560);c[263643]=0;c[263642]=12536;rt(a,1054568);c[263645]=0;c[263644]=10732;c[263646]=10780;st(a,1054576);c[263649]=0;c[263648]=10816;c[263650]=10864;tt(a,1054592);c[263653]=0;c[263652]=12968;c[263654]=Cm()|0;c[263652]=12180;ut(a,1054608);c[263657]=0;c[263656]=12968;c[263658]=Cm()|0;c[263656]=12204;vt(a,1054624);c[263661]=0;c[263660]=12564;wt(a,1054640);c[263663]=0;c[263662]=12596;xt(a,1054648);return}function Os(b,d){b=b|0;d=d|0;var e=0;c[b>>2]=0;e=b+4|0;c[e>>2]=0;c[b+8>>2]=0;a[b+128>>0]=0;if(d|0){Ps(b,d);b=c[e>>2]|0;do{c[b>>2]=0;b=(c[e>>2]|0)+4|0;c[e>>2]=b;d=d+-1|0}while((d|0)!=0)}return}function Ps(b,d){b=b|0;d=d|0;var e=0;if(d>>>0>1073741823)Ls(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;e=b+16|0}else e=pu(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function Qs(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211472)|0);return}function Rs(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;Gt(b);f=a+8|0;e=c[f>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0>d>>>0)a=f;else{Ss(f,d+1|0);a=f;e=c[f>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0)Ht(e)|0;c[(c[a>>2]|0)+(d<<2)>>2]=b;return}function Ss(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=d-f>>2;a:do if(e>>>0>=b>>>0){if(e>>>0>b>>>0){e=f+(b<<2)|0;while(1){if((d|0)==(e|0))break a;a=d+-4|0;c[g>>2]=a;d=a}}}else Ts(a,b-e|0);while(0);return}function Ts(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;k=i;i=i+32|0;j=k;g=c[a+8>>2]|0;e=a+4|0;d=c[e>>2]|0;if(g-d>>2>>>0<b>>>0){e=c[a>>2]|0;h=d-e>>2;f=h+b|0;if(f>>>0>1073741823)Ls(a);d=g-e|0;if(d>>2>>>0<536870911){d=d>>1;d=d>>>0<f>>>0?f:d}else d=1073741823;Us(j,d,h,a+16|0);h=j+8|0;g=c[h>>2]|0;xu(g|0,0,b<<2|0)|0;c[h>>2]=g+(b<<2);Vs(a,j);Ws(j)}else do{c[d>>2]=0;d=(c[e>>2]|0)+4|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);i=k;return}function Us(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;c[b+12>>2]=0;c[b+16>>2]=f;do if(d){g=f+112|0;if(d>>>0<29&(a[g>>0]|0)==0){a[g>>0]=1;break}else{f=pu(d<<2)|0;break}}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[b+12>>2]=f+(d<<2);return}function Vs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;g=a+4|0;d=b+4|0;f=(c[g>>2]|0)-e|0;h=(c[d>>2]|0)+(0-(f>>2)<<2)|0;c[d>>2]=h;Bu(h|0,e|0,f|0)|0;f=c[a>>2]|0;c[a>>2]=c[d>>2];c[d>>2]=f;f=b+8|0;e=c[g>>2]|0;c[g>>2]=c[f>>2];c[f>>2]=e;f=a+8|0;a=b+12|0;e=c[f>>2]|0;c[f>>2]=c[a>>2];c[a>>2]=e;c[b>>2]=c[d>>2];return}function Ws(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+4>>2]|0;e=b+8|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}e=c[b>>2]|0;do if(e|0){d=c[b+16>>2]|0;if((d|0)==(e|0)){a[d+112>>0]=0;break}else{Qt(e);break}}while(0);return}function Xs(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211480)|0);return}function Ys(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211488)|0);return}function Zs(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211520)|0);return}function _s(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213280)|0);return}function $s(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213288)|0);return}function at(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213296)|0);return}function bt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213304)|0);return}function ct(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=12844;a[b+8>>0]=46;a[b+9>>0]=44;d=b+12|0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}return}function dt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211500)|0);return}function et(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=12884;c[a+8>>2]=46;c[a+12>>2]=44;b=a+16|0;a=0;while(1){if((a|0)==3)break;c[b+(a<<2)>>2]=0;a=a+1|0}return}function ft(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211528)|0);return}function gt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211512)|0);return}function ht(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211536)|0);return}function it(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211544)|0);return}function jt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1211552)|0);return}function kt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213200)|0);return}function lt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213208)|0);return}function mt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213216)|0);return}function nt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213224)|0);return}function ot(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213232)|0);return}function pt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213240)|0);return}function qt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213248)|0);return}function rt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213256)|0);return}function st(a,b){a=a|0;b=b|0;Rs(a,b,tm(1212364)|0);return}function tt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213176)|0);return}function ut(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213184)|0);return}function vt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213192)|0);return}function wt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213264)|0);return}function xt(a,b){a=a|0;b=b|0;Rs(a,b,tm(1213272)|0);return}function yt(){if((a[1054656]|0)==0?Ba(1054656)|0:0){zt()|0;c[303329]=1213312;Ia(1054656)}return c[303329]|0}function zt(){Ns(1054664,1);c[303328]=1054664;return 1213312}function At(){var a=0;a=c[(yt()|0)>>2]|0;c[303330]=a;Gt(a);return 1213320}function Bt(){if((a[1054824]|0)==0?Ba(1054824)|0:0){At()|0;c[303331]=1213320;Ia(1054824)}return c[303331]|0}function Ct(a){a=a|0;var b=0;b=c[(Bt()|0)>>2]|0;c[a>>2]=b;Gt(b);return}function Dt(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;Gt(b);return}function Et(a){a=a|0;Ht(c[a>>2]|0)|0;return}function Ft(a){a=a|0;return}function Gt(a){a=a|0;a=a+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function Ht(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if(!b){zb[c[(c[a>>2]|0)+8>>2]&255](a);a=1}else a=0;return a|0}function It(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,j=0;f=i;i=i+48|0;h=f+32|0;d=f+24|0;j=f+16|0;g=f;f=f+36|0;a=Jt()|0;if(a|0?(e=c[a>>2]|0,e|0):0){a=e+48|0;b=c[a>>2]|0;a=c[a+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[d>>2]=22657;Mt(22752,d)}if((b|0)==1126902529&(a|0)==1129074247)a=c[e+44>>2]|0;else a=e+80|0;c[f>>2]=a;e=c[e>>2]|0;a=c[e+4>>2]|0;if(wb[c[(c[370]|0)+16>>2]&31](1480,e,f)|0){j=c[f>>2]|0;j=Db[c[(c[j>>2]|0)+8>>2]&127](j)|0;c[g>>2]=22657;c[g+4>>2]=a;c[g+8>>2]=j;Mt(22666,g)}else{c[j>>2]=22657;c[j+4>>2]=a;Mt(22711,j)}}Mt(22790,h)}function Jt(){var a=0,b=0;a=i;i=i+16|0;if(!(_a(1213328,2)|0)){b=va(c[303333]|0)|0;i=a;return b|0}else Mt(22478,a);return 0}function Kt(){var a=0;a=i;i=i+16|0;if(!(za(1213332,155)|0)){i=a;return}else Mt(22428,a)}function Lt(a){a=a|0;var b=0;b=i;i=i+16|0;cj(a);if(!(gb(c[303333]|0,0)|0)){i=b;return}else Mt(22375,b)}function Mt(a,b){a=a|0;b=b|0;var d=0;d=i;i=i+16|0;c[d>>2]=b;b=c[1551]|0;Jh(b,a,d)|0;Fi(10,b)|0;Aa()}function Nt(a){a=a|0;return}function Ot(a){a=a|0;return}function Pt(a){a=a|0;Qt(a);return}function Qt(a){a=a|0;cj(a);return}function Rt(a){a=a|0;return}function St(a){a=a|0;return}function Tt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+64|0;g=h;if((a|0)!=(b|0))if((b|0)!=0?(f=Ut(b,1520,1488,0)|0,(f|0)!=0):0){b=g;e=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));c[g>>2]=f;c[g+8>>2]=a;c[g+12>>2]=-1;c[g+48>>2]=1;Lb[c[(c[f>>2]|0)+28>>2]&15](f,g,c[d>>2]|0,1);if((c[g+24>>2]|0)==1){c[d>>2]=c[g+16>>2];b=1}else b=0}else b=0;else b=1;i=h;return b|0}function Ut(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+64|0;q=r;p=c[d>>2]|0;o=d+(c[p+-8>>2]|0)|0;p=c[p+-4>>2]|0;c[q>>2]=f;c[q+4>>2]=d;c[q+8>>2]=e;c[q+12>>2]=g;l=q+16|0;g=q+20|0;d=q+24|0;e=q+28|0;h=q+32|0;j=q+40|0;k=(p|0)==(f|0);m=l;n=m+36|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));b[l+36>>1]=0;a[l+38>>0]=0;a:do if(k){c[q+48>>2]=1;Ib[c[(c[f>>2]|0)+20>>2]&15](f,q,o,o,1,0);g=(c[d>>2]|0)==1?o:0}else{xb[c[(c[p>>2]|0)+24>>2]&3](p,q,o,1,0);switch(c[q+36>>2]|0){case 0:{g=(c[j>>2]|0)==1&(c[e>>2]|0)==1&(c[h>>2]|0)==1?c[g>>2]|0:0;break a}case 1:break;default:{g=0;break a}}if((c[d>>2]|0)!=1?!((c[j>>2]|0)==0&(c[e>>2]|0)==1&(c[h>>2]|0)==1):0){g=0;break}g=c[l>>2]|0}while(0);i=r;return g|0}function Vt(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((a|0)==(c[b+8>>2]|0))Wt(0,b,d,e,f);else{a=c[a+8>>2]|0;Ib[c[(c[a>>2]|0)+20>>2]&15](a,b,d,e,f,g)}return}function Wt(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;f=d+16|0;b=c[f>>2]|0;if(!b){c[f>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((g|0)==1?(c[d+48>>2]|0)==1:0))break;a[d+54>>0]=1;break}if((b|0)!=(e|0)){g=d+36|0;c[g>>2]=(c[g>>2]|0)+1;a[d+54>>0]=1;break}b=d+24|0;f=c[b>>2]|0;if((f|0)==2){c[b>>2]=g;f=g}if((f|0)==1?(c[d+48>>2]|0)==1:0)a[d+54>>0]=1}while(0);return}function Xt(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0)?(h=d+28|0,(c[h>>2]|0)!=1):0)c[h>>2]=f}else{if((b|0)!=(c[d>>2]|0)){j=c[b+8>>2]|0;xb[c[(c[j>>2]|0)+24>>2]&3](j,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(j=d+20|0,(c[j>>2]|0)!=(e|0)):0){c[d+32>>2]=f;i=d+44|0;if((c[i>>2]|0)==4)break;h=d+52|0;a[h>>0]=0;f=d+53|0;a[f>>0]=0;b=c[b+8>>2]|0;Ib[c[(c[b>>2]|0)+20>>2]&15](b,d,e,e,1,g);if(a[f>>0]|0)if(!(a[h>>0]|0)){h=1;f=13}else f=17;else{h=0;f=13}do if((f|0)==13){c[j>>2]=e;e=d+40|0;c[e>>2]=(c[e>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(h){f=17;break}else{h=4;break}}if(h)f=17;else h=4}while(0);if((f|0)==17)h=3;c[i>>2]=h;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function Yt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)==(c[b+8>>2]|0))Zt(0,b,d,e);else{a=c[a+8>>2]|0;Lb[c[(c[a>>2]|0)+28>>2]&15](a,b,d,e)}return}function Zt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;b=d+16|0;g=c[b>>2]|0;do if(g){if((g|0)!=(e|0)){f=d+36|0;c[f>>2]=(c[f>>2]|0)+1;c[d+24>>2]=2;a[d+54>>0]=1;break}b=d+24|0;if((c[b>>2]|0)==2)c[b>>2]=f}else{c[b>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1}while(0);return}function _t(a){a=a|0;Qt(a);return}function $t(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((a|0)==(c[b+8>>2]|0))Wt(0,b,d,e,f);return}function au(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0)?(i=d+28|0,(c[i>>2]|0)!=1):0)c[i>>2]=f}else if((b|0)==(c[d>>2]|0)){if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[d+32>>2]=f;c[h>>2]=e;g=d+40|0;c[g>>2]=(c[g>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function bu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)==(c[b+8>>2]|0))Zt(0,b,d,e);return}function cu(){var a=0,b=0,d=0,e=0;d=i;i=i+16|0;e=d+8|0;a=Jt()|0;if((a|0?(b=c[a>>2]|0,b|0):0)?(a=b+48|0,(c[a>>2]&-256|0)==1126902528?(c[a+4>>2]|0)==1129074247:0):0){Fb[c[b+12>>2]&3]();Mt(22802,d)}d=c[3298]|0;c[3298]=d+0;Fb[d&3]();Mt(22802,e)}function du(a){a=a|0;Pa(a|0)|0;cu()}function eu(a){a=a|0;return}function fu(a){a=a|0;return}function gu(a){a=a|0;Qt(a);return}function hu(a){a=a|0;return 22855}function iu(a){a=a|0;Qt(a);return}function ju(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if((d|0)==(c[e+8>>2]|0))Wt(0,e,f,g,h);else{o=e+52|0;r=b[o>>1]|0;p=r&255;q=e+53|0;r=(r&65535)>>>8&255;n=c[d+12>>2]|0;k=d+16+(n<<3)|0;a[o>>0]=0;a[q>>0]=0;ku(d+16|0,e,f,g,h,i);a:do if((n|0)>1){l=e+24|0;m=d+8|0;n=e+54|0;j=d+24|0;do{if(a[n>>0]|0)break a;d=b[o>>1]|0;if(!((d&255)<<24>>24)){if((d&65535)>=256?(c[m>>2]&1|0)==0:0)break a}else{if((c[l>>2]|0)==1)break a;if(!(c[m>>2]&2))break a}a[o>>0]=0;a[q>>0]=0;ku(j,e,f,g,h,i);j=j+8|0}while(j>>>0<k>>>0)}while(0);a[o>>0]=p;a[q>>0]=r}return}function ku(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=c[a+4>>2]|0;h=i>>8;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;Ib[c[(c[a>>2]|0)+20>>2]&15](a,b,d,e+h|0,i&2|0?f:2,g);return}function lu(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if((b|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)==(e|0)?(h=d+28|0,(c[h>>2]|0)!=1):0)c[h>>2]=f}else{if((b|0)!=(c[d>>2]|0)){p=c[b+12>>2]|0;j=b+16+(p<<3)|0;mu(b+16|0,d,e,f,g);h=b+24|0;if((p|0)<=1)break;i=c[b+8>>2]|0;if((i&2|0)==0?(k=d+36|0,(c[k>>2]|0)!=1):0){if(!(i&1)){i=d+54|0;while(1){if(a[i>>0]|0)break a;if((c[k>>2]|0)==1)break a;mu(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}}i=d+24|0;b=d+54|0;while(1){if(a[b>>0]|0)break a;if((c[k>>2]|0)==1?(c[i>>2]|0)==1:0)break a;mu(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}}i=d+54|0;while(1){if(a[i>>0]|0)break a;mu(h,d,e,f,g);h=h+8|0;if(h>>>0>=j>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(p=d+20|0,(c[p>>2]|0)!=(e|0)):0){c[d+32>>2]=f;o=d+44|0;if((c[o>>2]|0)==4)break;j=b+16+(c[b+12>>2]<<3)|0;k=d+52|0;f=d+53|0;m=d+54|0;l=b+8|0;n=d+24|0;i=0;h=0;b=b+16|0;b:while(1){if(b>>>0>=j>>>0){b=20;break}a[k>>0]=0;a[f>>0]=0;ku(b,d,e,e,1,g);if(a[m>>0]|0){b=20;break}do if(a[f>>0]|0){if(!(a[k>>0]|0))if(!(c[l>>2]&1)){h=1;b=20;break b}else{h=1;break}if((c[n>>2]|0)==1){b=25;break b}if(!(c[l>>2]&2)){b=25;break b}else{i=1;h=1}}while(0);b=b+8|0}do if((b|0)==20){if((!i?(c[p>>2]=e,e=d+40|0,c[e>>2]=(c[e>>2]|0)+1,(c[d+36>>2]|0)==1):0)?(c[n>>2]|0)==2:0){a[m>>0]=1;if(h){b=25;break}else{h=4;break}}if(h)b=25;else h=4}while(0);if((b|0)==25)h=3;c[o>>2]=h;break}if((f|0)==1)c[d+32>>2]=1}while(0);return}function mu(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;g=h>>8;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;xb[c[(c[a>>2]|0)+24>>2]&3](a,b,d+g|0,h&2|0?e:2,f);return}function nu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if((b|0)!=(c[d+8>>2]|0)){h=c[b+12>>2]|0;g=b+16+(h<<3)|0;ou(b+16|0,d,e,f);if((h|0)>1){h=d+54|0;b=b+24|0;do{ou(b,d,e,f);if(a[h>>0]|0)break a;b=b+8|0}while(b>>>0<g>>>0)}}else Zt(0,d,e,f);while(0);return}function ou(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;f=g>>8;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0;a=c[a>>2]|0;Lb[c[(c[a>>2]|0)+28>>2]&15](a,b,d+f|0,g&2|0?e:2);return}function pu(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=bj(b)|0;if(a|0){b=6;break}a=qu()|0;if(!a){b=5;break}Fb[a&3]()}if((b|0)==5){b=Fa(4)|0;c[b>>2]=13284;hb(b|0,1544,141)}else if((b|0)==6)return a|0;return 0}function qu(){var a=0;a=c[303334]|0;c[303334]=a+0;return a|0}function ru(a,b){a=a|0;b=b|0;return pu(a)|0}function su(a){a=a|0;Qt(a);return}function tu(a){a=a|0;c[a>>2]=13284;return}function uu(){var a=0;a=Fa(4)|0;tu(a);hb(a|0,1544,141)}function vu(){}function wu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (C=d,a-c>>>0|0)|0}function xu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;if((e|0)>=20){d=d&255;h=b&3;i=d|d<<8|d<<16|d<<24;g=f&~3;if(h){h=b+4-h|0;while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}}while((b|0)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return b-e|0}function yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (C=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function zu(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=0;return b>>>c-32|0}function Au(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}C=a<<c-32;return 0}function Bu(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return Qa(b|0,d|0,e|0)|0;f=b|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function Cu(b){b=b|0;var c=0;c=a[m+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[m+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[m+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[m+(b>>>24)>>0]|0)+24|0}function Du(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else Bu(b,c,d)|0;return b|0}function Eu(a){a=+a;return a>=0.0?+M(a+.5):+Z(a-.5)}function Fu(a,b,c){a=a|0;b=b|0;c=c|0;b=aa(b)|0;if((b|0)==32)b=b+(aa(a)|0)|0;C=0;return b|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=(b|0)<0?-1:0;return b>>c-32|0}function Hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=_(e,f)|0;d=a>>>16;a=(c>>>16)+(_(e,d)|0)|0;e=b>>>16;b=_(e,f)|0;return (C=(a>>>16)+(_(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function Iu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=wu(j^a|0,i^b|0,j|0,i|0)|0;g=C;a=f^j;b=e^i;return wu((Nu(h,g,wu(f^c|0,e^d|0,f|0,e|0)|0,C,0)|0)^a|0,C^b|0,a|0,b|0)|0}function Ju(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0;f=i;i=i+16|0;j=f|0;h=b>>31|((b|0)<0?-1:0)<<1;g=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;l=e>>31|((e|0)<0?-1:0)<<1;k=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=wu(h^a|0,g^b|0,h|0,g|0)|0;b=C;Nu(a,b,wu(l^d|0,k^e|0,l|0,k|0)|0,C,j)|0;e=wu(c[j>>2]^h|0,c[j+4>>2]^g|0,h|0,g|0)|0;d=C;i=f;return (C=d,e)|0}function Ku(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=Hu(e,f)|0;a=C;return (C=(_(b,f)|0)+(_(d,e)|0)+a|a&0,c|0|0)|0}function Lu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Nu(a,b,c,d,0)|0}function Mu(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;f=g|0;Nu(a,b,d,e,f)|0;i=g;return (C=c[f+4>>2]|0,c[f>>2]|0)|0}function Nu(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (C=n,f)|0}else{if(!g){n=0;f=0;return (C=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (C=n,f)|0}}g=(i|0)==0;do if(h){if(!g){g=(aa(i|0)|0)-(aa(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<<i;b=k>>>(m>>>0)&b;g=0;i=l<<i;break}if(!f){n=0;f=0;return (C=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (C=n,f)|0}g=h-1|0;if(g&h|0){i=(aa(h|0)|0)+33-(aa(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<<m|l>>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<<p&j;i=(k<<p|l>>>(o>>>0))&j|l<<m&i-33>>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (C=o,p)|0}else{p=Cu(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (C=o,p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (C=o,p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (C=o,p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((Cu(i|0)|0)>>>0);return (C=o,p)|0}g=(aa(i|0)|0)-(aa(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<<i|l>>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<<i;break}if(!f){o=0;p=0;return (C=o,p)|0}c[f>>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (C=o,p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=yu(m|0,l|0,-1,-1)|0;d=C;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;wu(k|0,d|0,e|0,n|0)|0;p=C;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=wu(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=C;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (C=o,p)|0}function Ou(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;return vb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function Pu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return wb[a&31](b|0,c|0,d|0)|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;xb[a&3](b|0,c|0,d|0,e|0,f|0)}function Ru(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return yb[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function Su(a,b){a=a|0;b=b|0;zb[a&255](b|0)}function Tu(a,b,c){a=a|0;b=b|0;c=c|0;Ab[a&63](b|0,c|0)}function Uu(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return Bb[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}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;return Cb[a&7](b|0,c|0,d|0,e|0,+f)|0}function Wu(a,b){a=a|0;b=b|0;return Db[a&127](b|0)|0}function Xu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Eb[a&0](b|0,c|0,d|0)}function Yu(a){a=a|0;Fb[a&3]()}function Zu(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return Gb[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function _u(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Hb[a&7](b|0,c|0,d|0,e|0)|0}function $u(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;Ib[a&15](b|0,c|0,d|0,e|0,f|0,g|0)}function av(a,b,c){a=a|0;b=b|0;c=c|0;return Jb[a&63](b|0,c|0)|0}function bv(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 Kb[a&31](b|0,c|0,d|0,e|0,f|0)|0}function cv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Lb[a&15](b|0,c|0,d|0,e|0)}function dv(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;ba(0);return 0}function ev(a,b,c){a=a|0;b=b|0;c=c|0;ba(1);return 0}function fv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ba(2)}function gv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;ba(3);return 0}function hv(a){a=a|0;ba(4)}function iv(a,b){a=a|0;b=b|0;ba(5)}function jv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ba(6);return 0}function kv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;ba(7);return 0}function lv(a){a=a|0;ba(8);return 0}function mv(a,b,c){a=a|0;b=b|0;c=c|0;ba(9)}function nv(){ba(10)}function ov(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;ba(11);return 0}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ba(12);return 0}function qv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ba(13)}function rv(a,b){a=a|0;b=b|0;ba(14);return 0}function sv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ba(15);return 0}function tv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ba(16)}
function yd(e){e=e|0;var f=0,g=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0;mb=i;i=i+224|0;Oa=mb+208|0;lb=mb;kb=e+5364|0;k=c[kb>>2]|0;switch(k|0){case 5:{f=c[e+5348>>2]|0;jb=c[e+400+((f<<3|6)<<8)>>2]|0;if(((jb>>3)+-3|0)>>>0<2?((jb&7)+-3|0)>>>0<2:0){e=32e3;i=mb;return e|0}jb=c[e+400+((f<<3^14)<<8)>>2]|0;if(((jb>>3)+-3|0)>>>0<2?((jb&7)+-3|0)>>>0<2:0){e=-32e3;i=mb;return e|0}switch(k|0){case 6:{bb=7;break}case 8:{bb=13;break}case 4:{bb=15;break}case 2:{bb=16;break}case 1:{bb=18;break}default:{}}break}case 6:{bb=7;break}case 8:{bb=13;break}case 4:{bb=15;break}case 2:{bb=16;break}case 1:{bb=18;break}default:{}}if((bb|0)==7){g=c[e+5348>>2]|0;f=g<<3;j=c[e+400+((f|6)<<8)>>2]|0;if((j&-8|0)==56){if((c[e+400+((f^14)<<8)>>2]&-8|0)==56){e=0;i=mb;return e|0}if((c[e+400+((g<<3^14)<<8)>>2]>>3|0)<7){e=32e3;i=mb;return e|0}}if((c[e+400+((g<<3^14)<<8)>>2]&-8|0)==56?(j>>3|0)<(((g|0)==0?7:6)|0):0){e=-32e3;i=mb;return e|0}switch(k|0){case 8:{bb=13;break}case 4:{bb=15;break}case 2:{bb=16;break}case 1:{bb=18;break}default:{}}}if((bb|0)==13){f=c[e+5348>>2]|0;g=c[e+5356>>2]|0;if((c[g+36+(f<<2)>>2]|0)==3){e=32e3;i=mb;return e|0}if((c[g+36+((f^1)<<2)>>2]|0)==3){e=-32e3;i=mb;return e|0}}else if((bb|0)==15){if(!(c[e+336+(((c[e+360>>2]|0)!=0&1)<<3<<2)>>2]|0)){e=-32e3;i=mb;return e|0}}else if((bb|0)==16){f=c[e+5348>>2]<<3;if(!(c[e+336+((f^14)<<2)>>2]|0)){e=32e3;i=mb;return e|0}if(!(c[e+336+((f|6)<<2)>>2]|0)){e=-32e3;i=mb;return e|0}}else if((bb|0)==18){f=c[e+5348>>2]<<3;if(!(c[e+336+(f<<2)>>2]|0)){e=32e3;i=mb;return e|0}if(!(c[e+336+((f^8)<<2)>>2]|0)){e=-32e3;i=mb;return e|0}}g=le(e)|0;jb=lb+200|0;c[jb>>2]=g;switch(c[kb>>2]|0){case 3:case 1:case 2:case 4:case 8:case 6:case 5:break;default:{f=c[g+12>>2]|0;if(f|0){e=Jb[c[(c[f>>2]|0)+12>>2]&63](f,e)|0;i=mb;return e|0}}}ib=e+5356|0;Ma=c[(c[ib>>2]|0)+44>>2]|0;Ka=(b[g+8>>1]|0)*65537|0;xa=bf(e)|0;hb=lb+204|0;c[hb>>2]=xa;La=c[xa+8>>2]|0;gb=lb+64|0;ya=gb;c[ya>>2]=0;c[ya+4>>2]=0;ya=lb;c[ya>>2]=0;c[ya+4>>2]=0;ya=c[kb>>2]|0;switch(ya|0){case 4:{if(!(c[e+360>>2]|0)){g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;eb=j;c[eb>>2]=f;c[eb+4>>2]=g}else{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;eb=j;c[eb>>2]=f;c[eb+4>>2]=g}if(!(c[e+392>>2]|0))k=64;else bb=34;break}case 2:{if(!(c[e+360>>2]|0)){g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;eb=j;c[eb>>2]=f;c[eb+4>>2]=g}else{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;eb=j;c[eb>>2]=f;c[eb+4>>2]=g}if(!(c[e+392>>2]|0))k=64;else bb=34;break}case 1:{g=29376;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;k=j;c[k>>2]=f;c[k+4>>2]=g;k=64;break}default:{g=28864+(c[e+1936>>2]<<3)|0;f=c[g>>2]|0;g=c[g+4>>2]|0;j=lb+48|0;bb=j;c[bb>>2]=f;c[bb+4>>2]=g;bb=34}}if((bb|0)==34)k=c[e+3984>>2]|0;ra=28864+(k<<3)|0;qa=c[ra>>2]|0;ra=c[ra+4>>2]|0;_a=lb+112|0;cb=_a;c[cb>>2]=qa;c[cb+4>>2]=ra;cb=e+320|0;ma=cb;la=c[ma>>2]|0;ma=c[ma+4>>2]|0;wa=c[ib>>2]|0;n=wa+344|0;p=c[n>>2]&la;n=c[n+4>>2]&ma;Na=lb+184|0;ga=Na;c[ga>>2]=p;c[ga+4>>2]=n;ga=gb;c[ga>>2]=qa;c[ga+4>>2]=ra;ga=xa+32|0;fa=c[ga>>2]|0;ga=c[ga+4>>2]|0;Wa=lb+8|0;y=Wa;c[y>>2]=fa;c[y+4>>2]=ga;y=lb;c[y>>2]=fa;c[y+4>>2]=ga;y=f&fa;v=g&ga;Ra=lb+128|0;k=Ra;c[k>>2]=y;c[k+4>>2]=v;k=(ya|0)==1;if(!k?(c[wa+16>>2]|0)>2512:0){sa=zu(qa|0,ra|0,8)|0;sa=sa|qa;ta=C|ra;db=lb+152|0;c[db>>2]=sa;c[db+4>>2]=ta;db=fa&qa;eb=ga&ra;Za=zu(db|0,eb|0,16)|0;z=zu(db|0,eb|0,48)|0;z=(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(db&65535)>>0]|0)+(d[1213348+(eb&65535)>>0]|0)+(d[1213348+z>>0]|0)|0;c[lb+160>>2]=z;c[lb+168>>2]=0;c[lb+176>>2]=0}else{c[lb+160>>2]=0;sa=lb+152|0;c[sa>>2]=0;c[sa+4>>2]=0;sa=0;ta=0;z=0}eb=e+328|0;va=eb;ua=c[va>>2]|0;va=c[va+4>>2]|0;Fa=wa+352|0;Ea=c[Fa>>2]&ua;Fa=c[Fa+4>>2]&va;Qa=lb+192|0;u=Qa;c[u>>2]=Ea;c[u+4>>2]=Fa;u=fa|f;F=ga|g;ka=lb;c[ka>>2]=u;c[ka+4>>2]=F;ka=xa+40|0;ja=c[ka>>2]|0;ka=c[ka+4>>2]|0;Za=lb+72|0;J=Za;c[J>>2]=ja;c[J+4>>2]=ka;J=qa|ja;I=ra|ka;H=gb;c[H>>2]=J;c[H+4>>2]=I;H=qa&ja;E=ra&ka;Va=lb+136|0;db=Va;c[db>>2]=H;c[db+4>>2]=E;if(!k?(c[wa+20>>2]|0)>2512:0){Ca=Au(f|0,g|0,8)|0;Ca=Ca|f;Da=C|g;Ua=lb+144|0;c[Ua>>2]=Ca;c[Ua+4>>2]=Da;Ua=ja&f;db=ka&g;Ta=zu(Ua|0,db|0,16)|0;x=zu(Ua|0,db|0,48)|0;x=(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+(Ua&65535)>>0]|0)+(d[1213348+(db&65535)>>0]|0)+(d[1213348+x>>0]|0)|0;c[lb+164>>2]=x;c[lb+172>>2]=0;c[lb+180>>2]=0}else{c[lb+164>>2]=0;x=lb+144|0;c[x>>2]=0;c[x+4>>2]=0;x=0;Ca=0;Da=0}Sa=e+264|0;ia=Sa;ha=c[ia>>2]|0;ia=c[ia+4>>2]|0;Aa=ha&la;Ba=ia&ma;db=e+256|0;m=db;o=c[m>>2]|0;m=c[m+4>>2]|0;q=zu(o|0,m|0,8)|0;s=Ba&C;oa=ua&ha;pa=va&ia;k=Au(o|0,m|0,8)|0;k=oa&k;l=pa&(C|16776960);q=Aa&(q|16776960)|ja;s=s|ka;switch(ya|0){case 4:{Ua=(c[e+360>>2]|0)==0?25472:24960+(c[e+1936>>2]<<3)|0;r=~(q|c[Ua>>2]);q=~(s|c[Ua+4>>2]);k=fa|k;l=ga|l;if(!(c[e+392>>2]|0)){t=64;Ha=r;Ga=q}else bb=48;break}case 2:{Ua=(c[e+360>>2]|0)==0?25472:24960+(c[e+1936>>2]<<3)|0;r=~(q|c[Ua>>2]);q=~(s|c[Ua+4>>2]);k=fa|k;l=ga|l;if(!(c[e+392>>2]|0)){t=64;Ha=r;Ga=q}else bb=48;break}case 1:{Ga=25472;t=64;k=fa|k;l=ga|l;Ha=~(q|c[Ga>>2]);Ga=~(s|c[Ga+4>>2]);break}default:{bb=24960+(c[e+1936>>2]<<3)|0;k=fa|k;l=ga|l;r=~(q|c[bb>>2]);q=~(s|c[bb+4>>2]);bb=48}}if((bb|0)==48){t=c[e+3984>>2]|0;Ha=r;Ga=q}Ia=24960+(t<<3)|0;Ja=~(k|c[Ia>>2]);Ia=~(l|c[Ia+4>>2]);Ta=lb+16|0;k=Ta;c[k>>2]=0;c[k+4>>2]=0;k=c[e+912>>2]|0;if((k|0)==64){D=0;A=0;Q=y;ea=v;G=u;q=0;za=0}else{N=lb+160|0;O=lb+168|0;P=lb+176|0;Q=e+1936|0;R=e+360|0;S=xa+56|0;T=c[274735]|0;U=~la;V=~ma;G=u;L=0;M=0;w=0;u=0;K=e+916|0;q=0;l=0;while(1){t=26816+(k<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;B=24960+(k<<3)|0;A=c[B>>2]|0;B=c[B+4>>2]|0;if(!((A&p|0)==0&(B&n|0)==0)){switch(ya|0){case 4:{if(!(c[R>>2]|0))r=64;else bb=55;break}case 2:{if(!(c[R>>2]|0))r=64;else bb=55;break}case 1:{r=64;break}default:bb=55}if((bb|0)==55){bb=0;r=c[Q>>2]|0}Ua=66752+(r<<9)+(k<<3)|0;s=c[Ua>>2]&s;t=c[Ua+4>>2]&t}y=y|G&s;v=v|F&t;Ua=Ra;c[Ua>>2]=y;c[Ua+4>>2]=v;L=s|L;M=t|M;Ua=Ta;c[Ua>>2]=L;c[Ua+4>>2]=M;G=G|L;F=F|M;Ua=lb;c[Ua>>2]=G;c[Ua+4>>2]=F;if((sa&s|0)==0&(ta&t|0)==0)D=u;else{z=z+1|0;c[N>>2]=z;w=w+78|0;c[O>>2]=w;Pa=qa&s;Ua=ra&t;za=zu(Pa|0,Ua|0,16)|0;D=zu(Pa|0,Ua|0,48)|0;D=(d[1213348+(za&65535)>>0]|0)+(d[1213348+(Pa&65535)>>0]|0)+(d[1213348+(Ua&65535)>>0]|0)+(d[1213348+D>>0]|0)+u|0;c[P>>2]=D}Ua=s&Ha;r=t&Ga;Pa=zu(Ua|0,r|0,16)|0;u=zu(Ua|0,r|0,48)|0;q=(c[1098152+((d[1213348+(Pa&65535)>>0]|0)+(d[1213348+(Ua&65535)>>0]|0)+(d[1213348+(r&65535)>>0]|0)+(d[1213348+u>>0]|0)<<2)>>2]|0)+q|0;u=S;r=c[u>>2]&-16777216^-16777216;u=c[u+4>>2]&65535^65535;if((r&A|0)==0&(u&B|0)==0){s=r&s&U;r=u&t&V;if(!((s|0)==0&(r|0)==0))l=(c[1098680+((((fa&s|0)!=0|(ga&r|0)!=0)&1)<<2)>>2]|0)+l|0}else l=(c[1098664+((((fa&A|0)!=0|(ga&B|0)!=0)&1)<<2)>>2]|0)+l|0;if((k>>3|0)<4){Ua=24960+(k+8<<3)|0;l=l+(((c[Ua>>2]&ha|0)==0?(c[Ua+4>>2]&ia|0)==0:0)?0:T)|0}k=c[K>>2]|0;if((k|0)==64){A=w;Q=y;ea=v;za=l;break}else{u=D;K=K+4|0}}}h[121504]=+(za<<16>>16|0)/248.0;h[121505]=+(za+32768>>16|0)/248.0;Ua=lb+80|0;k=Ua;c[k>>2]=0;c[k+4>>2]=0;k=c[e+2960>>2]|0;if((k|0)==64){u=0;v=0;y=0;na=0}else{O=lb+164|0;P=lb+172|0;R=lb+180|0;S=e+3984|0;T=e+392|0;U=xa+48|0;V=c[274735]|0;W=~ua;X=~va;M=0;N=0;v=0;u=0;L=e+2964|0;y=0;l=0;while(1){t=26816+(k<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;K=24960+(k<<3)|0;B=c[K>>2]|0;K=c[K+4>>2]|0;if(!((B&Ea|0)==0&(K&Fa|0)==0)){switch(ya|0){case 4:{if(!(c[T>>2]|0))r=64;else bb=72;break}case 2:{if(!(c[T>>2]|0))r=64;else bb=72;break}case 1:{r=64;break}default:bb=72}if((bb|0)==72){bb=0;r=c[S>>2]|0}Pa=66752+(r<<9)+(k<<3)|0;s=c[Pa>>2]&s;t=c[Pa+4>>2]&t}H=H|J&s;E=E|I&t;Pa=Va;c[Pa>>2]=H;c[Pa+4>>2]=E;M=s|M;N=t|N;Pa=Ua;c[Pa>>2]=M;c[Pa+4>>2]=N;J=J|M;I=I|N;Pa=gb;c[Pa>>2]=J;c[Pa+4>>2]=I;if(!((Ca&s|0)==0&(Da&t|0)==0)){x=x+1|0;c[O>>2]=x;v=v+78|0;c[P>>2]=v;da=f&s;na=g&t;ca=zu(da|0,na|0,16)|0;Pa=zu(da|0,na|0,48)|0;u=(d[1213348+(ca&65535)>>0]|0)+(d[1213348+(da&65535)>>0]|0)+(d[1213348+(na&65535)>>0]|0)+(d[1213348+Pa>>0]|0)+u|0;c[R>>2]=u}Pa=s&Ja;r=t&Ia;na=zu(Pa|0,r|0,16)|0;w=zu(Pa|0,r|0,48)|0;y=(c[1098152+((d[1213348+(na&65535)>>0]|0)+(d[1213348+(Pa&65535)>>0]|0)+(d[1213348+(r&65535)>>0]|0)+(d[1213348+w>>0]|0)<<2)>>2]|0)+y|0;w=U;r=c[w>>2]&-65536^-65536;w=c[w+4>>2]&255^255;if((r&B|0)==0&(w&K|0)==0){s=r&s&W;r=w&t&X;if(!((s|0)==0&(r|0)==0))l=(c[1098680+((((ja&s|0)!=0|(ka&r|0)!=0)&1)<<2)>>2]|0)+l|0}else l=(c[1098664+((((ja&B|0)!=0|(ka&K|0)!=0)&1)<<2)>>2]|0)+l|0;if((k>>3^7|0)<4){Pa=24960+(k+-8<<3)|0;l=l+(((c[Pa>>2]&ha|0)==0?(c[Pa+4>>2]&ia|0)==0:0)?0:V)|0}k=c[L>>2]|0;if((k|0)==64){na=l;break}else L=L+4|0}}h[121506]=+(na<<16>>16|0)/248.0;h[121507]=+(na+32768>>16|0)/248.0;Pa=lb+24|0;k=Pa;c[k>>2]=0;c[k+4>>2]=0;k=c[e+1168>>2]|0;if((k|0)==64){w=D;N=ea;da=0}else{R=e+5360|0;S=lb+160|0;T=lb+168|0;U=lb+176|0;V=e+1936|0;W=e+360|0;X=xa+56|0;Y=c[274735]|0;Z=c[274736]|0;$=c[274750]|0;ba=e+296|0;aa=c[ba>>2]&la^o;ba=c[ba+4>>2]&ma^m;ca=~la;da=~ma;B=Q;t=ea;O=0;P=0;w=D;M=e+1172|0;L=k;k=0;while(1){r=23936+(L<<3)|0;s=24448+(L<<3)|0;s=(_(ba&c[r+4>>2],c[s+4>>2]|0)|0)^(_(aa&c[r>>2],c[s>>2]|0)|0);s=(c[1096324+(L<<2)>>2]|0)+(s>>>(c[1096580+(L<<2)>>2]|0)<<3)|0;r=c[s>>2]|0;s=c[s+4>>2]|0;K=24960+(L<<3)|0;D=c[K>>2]|0;K=c[K+4>>2]|0;if(!((D&p|0)==0&(K&n|0)==0)){switch(ya|0){case 4:{if(!(c[W>>2]|0))l=64;else bb=89;break}case 2:{if(!(c[W>>2]|0))l=64;else bb=89;break}case 1:{l=64;break}default:bb=89}if((bb|0)==89){bb=0;l=c[V>>2]|0}ea=66752+(l<<9)+(L<<3)|0;r=c[ea>>2]&r;s=c[ea+4>>2]&s}B=B|G&r;N=t|F&s;ea=Ra;c[ea>>2]=B;c[ea+4>>2]=N;O=r|O;P=s|P;ea=Pa;c[ea>>2]=O;c[ea+4>>2]=P;G=G|O;F=F|P;ea=lb;c[ea>>2]=G;c[ea+4>>2]=F;if(!((sa&r|0)==0&(ta&s|0)==0)){z=z+1|0;c[S>>2]=z;A=A+56|0;c[T>>2]=A;t=qa&r;Q=ra&s;l=zu(t|0,Q|0,16)|0;ea=zu(t|0,Q|0,48)|0;w=(d[1213348+(l&65535)>>0]|0)+(d[1213348+(t&65535)>>0]|0)+(d[1213348+(Q&65535)>>0]|0)+(d[1213348+ea>>0]|0)+w|0;c[U>>2]=w}ea=r&Ha;l=s&Ga;Q=zu(ea|0,l|0,16)|0;t=zu(ea|0,l|0,48)|0;q=(c[1098280+((d[1213348+(Q&65535)>>0]|0)+(d[1213348+(ea&65535)>>0]|0)+(d[1213348+(l&65535)>>0]|0)+(d[1213348+t>>0]|0)<<2)>>2]|0)+q|0;t=X;l=c[t>>2]&-16777216^-16777216;t=c[t+4>>2]&65535^65535;if((l&D|0)==0&(t&K|0)==0){r=l&r&ca;l=t&s&da;if(!((r|0)==0&(l|0)==0))k=(c[1098688+((((fa&r|0)!=0|(ga&l|0)!=0)&1)<<2)>>2]|0)+k|0}else k=(c[1098672+((((fa&D|0)!=0|(ga&K|0)!=0)&1)<<2)>>2]|0)+k|0;if((L>>3|0)<4){ea=24960+(L+8<<3)|0;k=k+(((c[ea>>2]&ha|0)==0?(c[ea+4>>2]&ia|0)==0:0)?0:Y)|0}r=k-(_(c[xa+96+((((D&-1437226411|0)!=0|(K&-1437226411|0)!=0)&1)<<2)>>2]|0,Z)|0)|0;a:do if(a[R>>0]|0){switch(L|0){case 7:case 0:break;default:{k=r;break a}}l=(L&7|0)==0?9:7;k=l+L|0;if((c[e+(k<<2)>>2]|0)==1){if(!(c[e+(k+8<<2)>>2]|0))k=(c[e+(k+l<<2)>>2]|0)==1&1;else k=2;k=r-($<<k)|0}else k=r}else k=r;while(0);L=c[M>>2]|0;if((L|0)==64){Q=B;da=k;break}else{t=N;M=M+4|0}}}h[121508]=+(da<<16>>16|0)/248.0;h[121509]=+(da+32768>>16|0)/248.0;fa=lb+88|0;k=fa;c[k>>2]=0;c[k+4>>2]=0;k=c[e+3216>>2]|0;if((k|0)==64)ca=0;else{P=e+5360|0;R=lb+164|0;S=lb+172|0;T=lb+180|0;U=e+3984|0;V=e+392|0;W=xa+48|0;X=c[274735]|0;Y=c[274736]|0;Z=c[274750]|0;aa=e+296|0;$=c[aa>>2]&ua^o;aa=c[aa+4>>2]&va^m;ba=~ua;ca=~va;M=0;O=0;L=e+3220|0;l=0;while(1){s=23936+(k<<3)|0;t=24448+(k<<3)|0;t=(_(aa&c[s+4>>2],c[t+4>>2]|0)|0)^(_($&c[s>>2],c[t>>2]|0)|0);t=(c[1096324+(k<<2)>>2]|0)+(t>>>(c[1096580+(k<<2)>>2]|0)<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;K=24960+(k<<3)|0;D=c[K>>2]|0;K=c[K+4>>2]|0;if(!((D&Ea|0)==0&(K&Fa|0)==0)){switch(ya|0){case 4:{if(!(c[V>>2]|0))r=64;else bb=112;break}case 2:{if(!(c[V>>2]|0))r=64;else bb=112;break}case 1:{r=64;break}default:bb=112}if((bb|0)==112){bb=0;r=c[U>>2]|0}ga=66752+(r<<9)+(k<<3)|0;s=c[ga>>2]&s;t=c[ga+4>>2]&t}H=H|J&s;E=E|I&t;ga=Va;c[ga>>2]=H;c[ga+4>>2]=E;M=s|M;O=t|O;ga=fa;c[ga>>2]=M;c[ga+4>>2]=O;J=J|M;I=I|O;ga=gb;c[ga>>2]=J;c[ga+4>>2]=I;if(!((Ca&s|0)==0&(Da&t|0)==0)){x=x+1|0;c[R>>2]=x;v=v+56|0;c[S>>2]=v;B=f&s;ea=g&t;r=zu(B|0,ea|0,16)|0;ga=zu(B|0,ea|0,48)|0;u=(d[1213348+(r&65535)>>0]|0)+(d[1213348+(B&65535)>>0]|0)+(d[1213348+(ea&65535)>>0]|0)+(d[1213348+ga>>0]|0)+u|0;c[T>>2]=u}ga=s&Ja;r=t&Ia;ea=zu(ga|0,r|0,16)|0;B=zu(ga|0,r|0,48)|0;y=(c[1098280+((d[1213348+(ea&65535)>>0]|0)+(d[1213348+(ga&65535)>>0]|0)+(d[1213348+(r&65535)>>0]|0)+(d[1213348+B>>0]|0)<<2)>>2]|0)+y|0;B=W;r=c[B>>2]&-65536^-65536;B=c[B+4>>2]&255^255;if((r&D|0)==0&(B&K|0)==0){s=r&s&ba;r=B&t&ca;if(!((s|0)==0&(r|0)==0))l=(c[1098688+((((ja&s|0)!=0|(ka&r|0)!=0)&1)<<2)>>2]|0)+l|0}else l=(c[1098672+((((ja&D|0)!=0|(ka&K|0)!=0)&1)<<2)>>2]|0)+l|0;if((k>>3^7|0)<4){ga=24960+(k+-8<<3)|0;l=l+(((c[ga>>2]&ha|0)==0?(c[ga+4>>2]&ia|0)==0:0)?0:X)|0}r=l-(_(c[xa+104+((((D&-1437226411|0)!=0|(K&-1437226411|0)!=0)&1)<<2)>>2]|0,Y)|0)|0;b:do if(a[P>>0]|0){switch(k|0){case 63:case 56:break;default:{l=r;break b}}l=(k&7|0)==0?-7:-9;k=l+k|0;if((c[e+(k<<2)>>2]|0)==9){if(!(c[e+(k+-8<<2)>>2]|0))k=(c[e+(k+l<<2)>>2]|0)==9&1;else k=2;l=r-(Z<<k)|0}else l=r}else l=r;while(0);k=c[L>>2]|0;if((k|0)==64){ca=l;break}else L=L+4|0}}h[121510]=+(ca<<16>>16|0)/248.0;h[121511]=+(ca+32768>>16|0)/248.0;ea=lb+32|0;k=ea;c[k>>2]=0;c[k+4>>2]=0;k=c[e+1424>>2]|0;if((k|0)==64)W=0;else{U=e+1936|0;V=e+360|0;W=lb+160|0;X=lb+168|0;Y=lb+176|0;Z=c[274737]|0;$=xa+88|0;aa=c[274738]|0;ba=xa+92|0;R=e+288|0;S=e+296|0;T=(c[S>>2]|c[R>>2])&la^o;R=(c[S+4>>2]|c[R+4>>2])&ma^m;S=wa+24|0;l=ya;O=0;P=0;M=e+1428|0;B=0;while(1){s=22912+(k<<3)|0;t=23424+(k<<3)|0;t=(_(R&c[s+4>>2],c[t+4>>2]|0)|0)^(_(T&c[s>>2],c[t>>2]|0)|0);t=(c[1095812+(k<<2)>>2]|0)+(t>>>(c[1096068+(k<<2)>>2]|0)<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;ma=24960+(k<<3)|0;if(!((c[ma>>2]&p|0)==0?(c[ma+4>>2]&n|0)==0:0)){switch(l|0){case 4:{if(!(c[V>>2]|0))r=64;else bb=135;break}case 2:{if(!(c[V>>2]|0))r=64;else bb=135;break}case 1:{r=64;break}default:bb=135}if((bb|0)==135){bb=0;r=c[U>>2]|0}ma=66752+(r<<9)+(k<<3)|0;s=c[ma>>2]&s;t=c[ma+4>>2]&t}Q=Q|G&s;N=N|F&t;ma=Ra;c[ma>>2]=Q;c[ma+4>>2]=N;O=s|O;P=t|P;ma=ea;c[ma>>2]=O;c[ma+4>>2]=P;G=G|O;F=F|P;ma=lb;c[ma>>2]=G;c[ma+4>>2]=F;if((sa&s|0)==0&(ta&t|0)==0){L=w;K=A}else{z=z+1|0;c[W>>2]=z;K=A+45|0;c[X>>2]=K;la=qa&s;ma=ra&t;ka=zu(la|0,ma|0,16)|0;L=zu(la|0,ma|0,48)|0;L=(d[1213348+(ka&65535)>>0]|0)+(d[1213348+(la&65535)>>0]|0)+(d[1213348+(ma&65535)>>0]|0)+(d[1213348+L>>0]|0)+w|0;c[Y>>2]=L}ma=s&Ha;A=t&Ga;la=zu(ma|0,A|0,16)|0;D=zu(ma|0,A|0,48)|0;D=(d[1213348+(la&65535)>>0]|0)+(d[1213348+(ma&65535)>>0]|0)+(d[1213348+(A&65535)>>0]|0)+(d[1213348+D>>0]|0)|0;q=(c[1098408+(D<<2)>>2]|0)+q|0;A=k>>3;if((A|0)>3){la=108736+(k<<3)|0;ka=oa&c[la>>2];la=pa&c[la+4>>2];ja=zu(ka|0,la|0,16)|0;ma=zu(ka|0,la|0,48)|0;B=(_((d[1213348+(ja&65535)>>0]|0)+(d[1213348+(ka&65535)>>0]|0)+(d[1213348+(la&65535)>>0]|0)+(d[1213348+ma>>0]|0)|0,Z)|0)+B|0}r=k&7;w=c[$>>2]|0;k=1<<r;c:do if(!(w&k))if(D>>>0<4){switch(l|0){case 1:{l=1;r=B;break c}case 4:{if(!(c[V>>2]|0)){l=4;r=B;break c}break}case 2:{if(!(c[V>>2]|0)){l=2;r=B;break c}break}default:{}}s=c[U>>2]|0;t=s&7;k=r>>>0<t>>>0;if((!(t>>>0<4^k)?(ma=s>>3,(ma|0)==(A|0)|(ma|0)==0):0)?((k?(1<<t)+-1|0:-1<<t+1)&w|0)==0:0){r=aa+(_(D,-22)|0)|0;r=B-(_((c[S>>2]&3|0)==0?2:1,r)|0)|0}else r=B}else r=B;else r=(c[1098696+(((c[ba>>2]&k|0)!=0&1)<<2)>>2]|0)+B|0;while(0);k=c[M>>2]|0;if((k|0)==64){W=r;break}else{A=K;w=L;M=M+4|0;B=r}}}h[121512]=+(W<<16>>16|0)/248.0;h[121513]=+(W+32768>>16|0)/248.0;X=lb+96|0;k=X;c[k>>2]=0;c[k+4>>2]=0;k=c[e+3472>>2]|0;if((k|0)==64){g=y;B=0}else{O=e+3984|0;P=e+392|0;Q=lb+164|0;R=lb+172|0;S=lb+180|0;T=c[274737]|0;U=xa+92|0;V=c[274738]|0;N=xa+88|0;L=e+288|0;K=e+296|0;M=(c[K>>2]|c[L>>2])&ua^o;L=(c[K+4>>2]|c[L+4>>2])&va^m;K=wa+24|0;l=ya;F=0;G=0;D=e+3476|0;w=0;while(1){s=22912+(k<<3)|0;t=23424+(k<<3)|0;t=(_(L&c[s+4>>2],c[t+4>>2]|0)|0)^(_(M&c[s>>2],c[t>>2]|0)|0);t=(c[1095812+(k<<2)>>2]|0)+(t>>>(c[1096068+(k<<2)>>2]|0)<<3)|0;s=c[t>>2]|0;t=c[t+4>>2]|0;ya=24960+(k<<3)|0;if(!((c[ya>>2]&Ea|0)==0?(c[ya+4>>2]&Fa|0)==0:0)){switch(l|0){case 4:{if(!(c[P>>2]|0))r=64;else bb=158;break}case 2:{if(!(c[P>>2]|0))r=64;else bb=158;break}case 1:{r=64;break}default:bb=158}if((bb|0)==158){bb=0;r=c[O>>2]|0}ya=66752+(r<<9)+(k<<3)|0;s=c[ya>>2]&s;t=c[ya+4>>2]&t}H=H|J&s;E=E|I&t;ya=Va;c[ya>>2]=H;c[ya+4>>2]=E;F=s|F;G=t|G;ya=X;c[ya>>2]=F;c[ya+4>>2]=G;J=J|F;I=I|G;ya=gb;c[ya>>2]=J;c[ya+4>>2]=I;if((Ca&s|0)==0&(Da&t|0)==0){B=u;A=v;z=x}else{z=x+1|0;c[Q>>2]=z;A=v+45|0;c[R>>2]=A;xa=f&s;ya=g&t;wa=zu(xa|0,ya|0,16)|0;B=zu(xa|0,ya|0,48)|0;B=(d[1213348+(wa&65535)>>0]|0)+(d[1213348+(xa&65535)>>0]|0)+(d[1213348+(ya&65535)>>0]|0)+(d[1213348+B>>0]|0)+u|0;c[S>>2]=B}ya=s&Ja;v=t&Ia;xa=zu(ya|0,v|0,16)|0;x=zu(ya|0,v|0,48)|0;x=(d[1213348+(xa&65535)>>0]|0)+(d[1213348+(ya&65535)>>0]|0)+(d[1213348+(v&65535)>>0]|0)+(d[1213348+x>>0]|0)|0;y=(c[1098408+(x<<2)>>2]|0)+y|0;v=k>>3;if((v^7|0)>3){xa=108736+(k<<3)|0;wa=Aa&c[xa>>2];xa=Ba&c[xa+4>>2];va=zu(wa|0,xa|0,16)|0;ya=zu(wa|0,xa|0,48)|0;w=(_((d[1213348+(va&65535)>>0]|0)+(d[1213348+(wa&65535)>>0]|0)+(d[1213348+(xa&65535)>>0]|0)+(d[1213348+ya>>0]|0)|0,T)|0)+w|0}r=k&7;u=c[U>>2]|0;k=1<<r;d:do if(!(u&k))if(x>>>0<4){switch(l|0){case 1:{l=1;r=w;break d}case 4:{if(!(c[P>>2]|0)){l=4;r=w;break d}break}case 2:{if(!(c[P>>2]|0)){l=2;r=w;break d}break}default:{}}s=c[O>>2]|0;t=s&7;k=r>>>0<t>>>0;if((!(t>>>0<4^k)?(ya=s>>3,(ya|0)==(v|0)|(ya|0)==7):0)?((k?(1<<t)+-1|0:-1<<t+1)&u|0)==0:0){r=V+(_(x,-22)|0)|0;r=w-(_((c[K>>2]&12|0)==0?2:1,r)|0)|0}else r=w}else r=w;else r=(c[1098696+(((c[N>>2]&k|0)!=0&1)<<2)>>2]|0)+w|0;while(0);k=c[D>>2]|0;if((k|0)==64){g=y;B=r;break}else{x=z;v=A;u=B;D=D+4|0;w=r}}}h[121514]=+(B<<16>>16|0)/248.0;h[121515]=+(B+32768>>16|0)/248.0;Q=lb+40|0;f=Q;c[f>>2]=0;c[f+4>>2]=0;f=c[e+1680>>2]|0;e:do if((f|0)==64){Y=q;x=0}else{t=lb+152|0;u=e+288|0;v=e+280|0;w=lb+160|0;x=lb+168|0;y=lb+176|0;z=e+1936|0;A=e+360|0;s=e+1684|0;r=0;while(1){Ea=22912+(f<<3)|0;k=23424+(f<<3)|0;k=(_(c[Ea+4>>2]&m,c[k+4>>2]|0)|0)^(_(c[Ea>>2]&o,c[k>>2]|0)|0);k=(c[1095812+(f<<2)>>2]|0)+(k>>>(c[1096068+(f<<2)>>2]|0)<<3)|0;Ea=23936+(f<<3)|0;Fa=24448+(f<<3)|0;Fa=(_(c[Ea+4>>2]&m,c[Fa+4>>2]|0)|0)^(_(c[Ea>>2]&o,c[Fa>>2]|0)|0);Fa=(c[1096324+(f<<2)>>2]|0)+(Fa>>>(c[1096580+(f<<2)>>2]|0)<<3)|0;m=c[Fa>>2]|c[k>>2];k=c[Fa+4>>2]|c[k+4>>2];Fa=24960+(f<<3)|0;if((c[Fa>>2]&p|0)==0?(c[Fa+4>>2]&n|0)==0:0)l=m;else{switch(c[kb>>2]|0){case 4:{if(!(c[A>>2]|0))l=64;else bb=181;break}case 2:{if(!(c[A>>2]|0))l=64;else bb=181;break}case 1:{l=64;break}default:bb=181}if((bb|0)==181){bb=0;l=c[z>>2]|0}Fa=66752+(l<<9)+(f<<3)|0;l=c[Fa>>2]&m;k=c[Fa+4>>2]&k}Ea=lb;Ca=c[Ea>>2]|0;Ea=c[Ea+4>>2]|0;Fa=Ra;Ba=c[Fa+4>>2]|Ea&k;Da=Ra;c[Da>>2]=c[Fa>>2]|Ca&l;c[Da+4>>2]=Ba;Da=Q;Ba=c[Da>>2]|l;Da=c[Da+4>>2]|k;Fa=Q;c[Fa>>2]=Ba;c[Fa+4>>2]=Da;Fa=lb;c[Fa>>2]=Ba|Ca;c[Fa+4>>2]=Da|Ea;Fa=t;if(!((c[Fa>>2]&l|0)==0?(c[Fa+4>>2]&k|0)==0:0)){c[w>>2]=(c[w>>2]|0)+1;c[x>>2]=(c[x>>2]|0)+11;Ea=_a;Da=c[Ea>>2]&l;Ea=c[Ea+4>>2]&k;Ca=zu(Da|0,Ea|0,16)|0;Fa=zu(Da|0,Ea|0,48)|0;c[y>>2]=(d[1213348+(Ca&65535)>>0]|0)+(d[1213348+(Da&65535)>>0]|0)+(d[1213348+(Ea&65535)>>0]|0)+(d[1213348+Fa>>0]|0)+(c[y>>2]|0)}Da=Ua;Ca=fa;Ea=X;Fa=l&Ha&~(c[Ca>>2]|c[Da>>2]|c[Ea>>2]);l=k&Ga&~(c[Ca+4>>2]|c[Da+4>>2]|c[Ea+4>>2]);Ea=zu(Fa|0,l|0,16)|0;k=zu(Fa|0,l|0,48)|0;k=(c[1098536+((d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(Fa&65535)>>0]|0)+(d[1213348+(l&65535)>>0]|0)+(d[1213348+k>>0]|0)<<2)>>2]|0)+q|0;l=eb;Fa=u;Ea=v;l=sf(e,(c[Ea>>2]|c[Fa>>2])&c[l>>2],(c[Ea+4>>2]|c[Fa+4>>2])&c[l+4>>2],f,Oa)|0;l=r-((l|0)==0&(C|0)==0?0:c[274744]|0)|0;f=c[s>>2]|0;if((f|0)==64){Y=k;x=l;break e}m=db;n=Na;o=c[m>>2]|0;m=c[m+4>>2]|0;p=c[n>>2]|0;n=c[n+4>>2]|0;s=s+4|0;q=k;r=l}}while(0);h[121516]=+(x<<16>>16|0)/248.0;h[121517]=+(x+32768>>16|0)/248.0;R=lb+104|0;f=R;c[f>>2]=0;c[f+4>>2]=0;f=c[e+3728>>2]|0;if((f|0)==64){V=g;f=0}else{p=lb+144|0;q=e+288|0;r=e+280|0;s=lb+164|0;t=lb+172|0;u=lb+180|0;v=e+3984|0;w=e+392|0;n=f;o=e+3732|0;f=0;while(1){Fa=db;m=c[Fa>>2]|0;Fa=c[Fa+4>>2]|0;Ga=22912+(n<<3)|0;k=23424+(n<<3)|0;k=(_(c[Ga+4>>2]&Fa,c[k+4>>2]|0)|0)^(_(c[Ga>>2]&m,c[k>>2]|0)|0);k=(c[1095812+(n<<2)>>2]|0)+(k>>>(c[1096068+(n<<2)>>2]|0)<<3)|0;Ga=23936+(n<<3)|0;Ha=24448+(n<<3)|0;Ha=(_(c[Ga+4>>2]&Fa,c[Ha+4>>2]|0)|0)^(_(c[Ga>>2]&m,c[Ha>>2]|0)|0);Ha=(c[1096324+(n<<2)>>2]|0)+(Ha>>>(c[1096580+(n<<2)>>2]|0)<<3)|0;m=c[Ha>>2]|c[k>>2];k=c[Ha+4>>2]|c[k+4>>2];Ha=Qa;Ga=24960+(n<<3)|0;if(!((c[Ga>>2]&c[Ha>>2]|0)==0?(c[Ga+4>>2]&c[Ha+4>>2]|0)==0:0)){switch(c[kb>>2]|0){case 4:{if(!(c[w>>2]|0))l=64;else bb=193;break}case 2:{if(!(c[w>>2]|0))l=64;else bb=193;break}case 1:{l=64;break}default:bb=193}if((bb|0)==193){bb=0;l=c[v>>2]|0}Ha=66752+(l<<9)+(n<<3)|0;m=c[Ha>>2]&m;k=c[Ha+4>>2]&k}Ga=gb;Ea=c[Ga>>2]|0;Ga=c[Ga+4>>2]|0;Ha=Va;Da=c[Ha+4>>2]|Ga&k;Fa=Va;c[Fa>>2]=c[Ha>>2]|Ea&m;c[Fa+4>>2]=Da;Fa=R;Da=c[Fa>>2]|m;Fa=c[Fa+4>>2]|k;Ha=R;c[Ha>>2]=Da;c[Ha+4>>2]=Fa;Ha=gb;c[Ha>>2]=Da|Ea;c[Ha+4>>2]=Fa|Ga;Ha=p;if(!((c[Ha>>2]&m|0)==0?(c[Ha+4>>2]&k|0)==0:0)){c[s>>2]=(c[s>>2]|0)+1;c[t>>2]=(c[t>>2]|0)+11;Ga=j;Fa=c[Ga>>2]&m;Ga=c[Ga+4>>2]&k;Ea=zu(Fa|0,Ga|0,16)|0;Ha=zu(Fa|0,Ga|0,48)|0;c[u>>2]=(d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(Fa&65535)>>0]|0)+(d[1213348+(Ga&65535)>>0]|0)+(d[1213348+Ha>>0]|0)+(c[u>>2]|0)}Ea=Ta;Ha=Pa;Ga=ea;Fa=m&Ja&~(c[Ha>>2]|c[Ea>>2]|c[Ga>>2]);Ga=k&Ia&~(c[Ha+4>>2]|c[Ea+4>>2]|c[Ga+4>>2]);Ea=zu(Fa|0,Ga|0,16)|0;Ha=zu(Fa|0,Ga|0,48)|0;g=(c[1098536+((d[1213348+(Ea&65535)>>0]|0)+(d[1213348+(Fa&65535)>>0]|0)+(d[1213348+(Ga&65535)>>0]|0)+(d[1213348+Ha>>0]|0)<<2)>>2]|0)+g|0;Ha=cb;Ga=q;Fa=r;Ha=sf(e,(c[Fa>>2]|c[Ga>>2])&c[Ha>>2],(c[Fa+4>>2]|c[Ga+4>>2])&c[Ha+4>>2],n,Oa)|0;f=f-((Ha|0)==0&(C|0)==0?0:c[274744]|0)|0;n=c[o>>2]|0;if((n|0)==64){V=g;break}else o=o+4|0}}h[121518]=+(f<<16>>16|0)/248.0;h[121519]=+(f+32768>>16|0)/248.0;s=Ka+Ma+La+za-na+da-ca+W-B+x-f+(Y-V)|0;switch(c[kb>>2]|0){case 1:{bb=277;break}case 6:{f=6;bb=282;break}case 4:{if(!(c[e+360>>2]|0)){O=64;bb=202}else bb=201;break}case 2:{if(!(c[e+360>>2]|0)){O=64;bb=202}else bb=201;break}default:bb=201}if((bb|0)==201){O=c[e+1936>>2]|0;bb=202}f:do if((bb|0)==202){f=c[hb>>2]|0;if((c[f+64>>2]|0)==(O|0)?(c[f+80>>2]|0)==(c[(c[ib>>2]|0)+24>>2]&3|0):0)n=c[f+72>>2]|0;else{n=Ye(f,e,O)|0;c[f+72>>2]=n}f=c[lb+164>>2]|0;do if(!f){o=Va;p=Wa;r=gb;t=c[r>>2]|0;r=c[r+4>>2]|0;g=c[p>>2]|0;p=c[p+4>>2]|0;f=c[o>>2]|0;o=c[o+4>>2]|0;q=c[kb>>2]|0}else{r=gb;t=c[r>>2]|0;r=c[r+4>>2]|0;M=j;L=c[M>>2]|0;M=c[M+4>>2]|0;H=Ra;B=c[H>>2]|0;H=c[H+4>>2]|0;g=L&t&~B;k=M&r&~H;m=lb;l=c[m>>2]|0;m=c[m+4>>2]|0;Oa=lb+144|0;I=eb;D=c[I>>2]|0;I=c[I+4>>2]|0;u=~D;w=~I;Ma=t&~l&c[Oa>>2]&u;Oa=r&~m&c[Oa+4>>2]&w;Ja=_(c[lb+172>>2]|0,f)|0;Ia=(c[lb+180>>2]|0)*101|0;La=zu(g|0,k|0,16)|0;Ka=zu(g|0,k|0,48)|0;Ka=((d[1213348+(La&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+Ka>>0]|0)|0)*235|0;La=zu(Ma|0,Oa|0,16)|0;q=zu(Ma|0,Oa|0,48)|0;f=Na;f=(((n<<16>>16)*7|0)/-5|0)+-5+Ia+((Ja|0)<807?Ja:807)+Ka+((c[e+388>>2]|0)==0?-717:0)+(((d[1213348+(La&65535)>>0]|0)+(d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(Oa&65535)>>0]|0)+(d[1213348+q>>0]|0)+(((c[f>>2]|0)!=0|(c[f+4>>2]|0)!=0)&1)|0)*134|0)|0;q=c[kb>>2]|0;if((q|0)==3)f=((c[e+4532>>2]|0)*124|0)+f+((c[e+4536>>2]|0)*129|0)+((c[e+4540>>2]|0)*27|0)+((c[e+4544>>2]|0)*73|0)+((c[e+4548>>2]|0)*71|0)|0;A=R;z=c[A>>2]|0;A=c[A+4>>2]|0;K=(q|0)==2;J=K?L:0;p=K?M:0;o=Va;N=c[o>>2]|0;o=c[o+4>>2]|0;g=(g&u&z|J)&N;k=(k&w&A|p)&o;Oa=zu(g|0,k|0,16)|0;x=zu(g|0,k|0,48)|0;x=(((d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+x>>0]|0)|0)*997|0)+f|0;f=J|~(D|l);k=p|~(I|m);p=Wa;g=c[p>>2]|0;p=c[p+4>>2]|0;m=Sa;J=c[m>>2]|0;m=c[m+4>>2]|0;l=Au(J|0,m|0,8)|0;l=~(J&D&l|g);m=~(m&I&C|p);J=(q|0)==8;if(J){Oa=(c[(c[ib>>2]|0)+40>>2]|0)==0;v=Oa?f:u;k=Oa?k:w;G=Oa?l:u;m=Oa?m:w}else{v=f;G=l}F=db;E=c[F>>2]|0;F=c[F+4>>2]|0;Na=22912+(O<<3)|0;l=23424+(O<<3)|0;l=(_(c[Na+4>>2]&F,c[l+4>>2]|0)|0)^(_(c[Na>>2]&E,c[l>>2]|0)|0);l=(c[1095812+(O<<2)>>2]|0)+(l>>>(c[1096068+(O<<2)>>2]|0)<<3)|0;Na=c[l>>2]|0;l=c[l+4>>2]|0;w=23936+(O<<3)|0;y=24448+(O<<3)|0;y=(_(c[w+4>>2]&F,c[y+4>>2]|0)|0)^(_(c[w>>2]&E,c[y>>2]|0)|0);y=(c[1096324+(O<<2)>>2]|0)+(y>>>(c[1096580+(O<<2)>>2]|0)<<3)|0;w=c[y>>2]|0;y=c[y+4>>2]|0;f=(v&z&(w|Na)|0)==0?(k&A&(y|l)|0)==0:0;z=c[274740]|0;n=n-(f?0:z)|0;f=f?x:x+695|0;u=Q;v=N&~(D|B)&c[u>>2]|v;u=o&~(I|H)&c[u+4>>2]|k;Oa=X;k=c[Oa>>2]&Na;l=c[Oa+4>>2]&l;if((v&k|0)==0&(u&l|0)==0){if(!((k&G|0)==0&(l&m|0)==0))n=n-(c[274741]|0)|0}else{f=f+638|0;n=n-z|0}k=fa;l=c[k>>2]&w;k=c[k+4>>2]&y;if((l&v|0)==0&(k&u|0)==0){if(!((l&G|0)==0&(k&m|0)==0))n=n-(c[274741]|0)|0}else{f=f+538|0;n=n-z|0}l=26816+(O<<3)|0;Oa=Ua;k=c[Oa>>2]&c[l>>2];l=c[Oa+4>>2]&c[l+4>>2];do if((k&v|0)==0&(l&u|0)==0){if((k&G|0)==0&(l&m|0)==0)break;n=n-(c[274741]|0)|0}else{f=f+874|0;n=n-z|0}while(0);if(K){Ma=E&L;Na=F&M;La=zu(Ma|0,Na|0,16)|0;Oa=zu(Ma|0,Na|0,48)|0;n=(_((d[1213348+(La&65535)>>0]|0)+(d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(Na&65535)>>0]|0)+(d[1213348+Oa>>0]|0)|0,-6553700)|0)+n|0}if((f|0)<=0){f=N;break}g:do if(J)switch(c[(c[ib>>2]|0)+40>>2]|0){case 2:case 3:case 4:{f=f*3|0;break g}case 1:{f=f<<1;break g}case 0:{f=((f|0)/2|0)+f|0;break g}default:break g}while(0);Oa=(_(f,f)|0)>>>12;f=N;n=n-(Oa>>>0>1652?1652:Oa)|0}while(0);k=O&7;m=8+(k<<3)|0;l=c[m>>2]|0;m=c[m+4>>2]|0;Ma=l&t;Oa=m&r;Na=Au(Ma|0,Oa|0,4)|0;g=f&~g&Ma|Na;f=o&~p&Oa|C;switch(q|0){case 2:{Oa=c[274717]|0;Ma=zu(g|0,f|0,16)|0;Na=zu(g|0,f|0,48)|0;f=_((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Na>>0]|0)|0,Oa)|0;break}case 3:{Oa=c[274718]|0;Ma=zu(g|0,f|0,16)|0;Na=zu(g|0,f|0,48)|0;f=_((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Na>>0]|0)|0,Oa)|0;break}default:{Oa=c[274739]|0;Ma=zu(g|0,f|0,16)|0;Na=zu(g|0,f|0,48)|0;f=_((d[1213348+(Ma&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+Na>>0]|0)|0,Oa)|0}}P=Sa;Oa=72+(k<<3)|0;P=n-f+((((c[Oa>>2]|l)&c[P>>2]|0)==0?((c[Oa+4>>2]|m)&c[P+4>>2]|0)==0:0)?0-(c[274748]|0)|0:0)<<((q|0)==3&1);h[121520]=+(P<<16>>16|0)/248.0;h[121521]=+(P+32768>>16|0)/248.0;switch(q|0){case 4:{if(!(c[e+392>>2]|0))O=64;else bb=240;break}case 2:{if(!(c[e+392>>2]|0))O=64;else bb=240;break}case 1:{O=64;break}default:bb=240}if((bb|0)==240)O=c[e+3984>>2]|0;f=c[hb>>2]|0;if((c[f+68>>2]|0)==(O|0)?(c[f+84>>2]|0)==(c[(c[ib>>2]|0)+24>>2]&12|0):0)o=c[f+76>>2]|0;else{o=_e(f,e,O)|0;c[f+76>>2]=o}f=c[lb+160>>2]|0;do if(!f){p=Ra;q=Za;r=lb;t=c[r>>2]|0;r=c[r+4>>2]|0;k=c[q>>2]|0;q=c[q+4>>2]|0;g=c[p>>2]|0;p=c[p+4>>2]|0;f=c[kb>>2]|0}else{r=lb;t=c[r>>2]|0;r=c[r+4>>2]|0;M=_a;L=c[M>>2]|0;M=c[M+4>>2]|0;H=Va;B=c[H>>2]|0;H=c[H+4>>2]|0;k=L&t&~B;l=M&r&~H;n=gb;m=c[n>>2]|0;n=c[n+4>>2]|0;bb=lb+152|0;I=cb;D=c[I>>2]|0;I=c[I+4>>2]|0;u=~D;w=~I;Oa=t&~m&c[bb>>2]&u;bb=r&~n&c[bb+4>>2]&w;La=_(c[lb+168>>2]|0,f)|0;Ka=(c[lb+176>>2]|0)*101|0;Na=zu(k|0,l|0,16)|0;Ma=zu(k|0,l|0,48)|0;Ma=((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(l&65535)>>0]|0)+(d[1213348+Ma>>0]|0)|0)*235|0;Na=zu(Oa|0,bb|0,16)|0;f=zu(Oa|0,bb|0,48)|0;g=Qa;g=(((o<<16>>16)*7|0)/-5|0)+-5+Ka+((La|0)<807?La:807)+Ma+((c[e+356>>2]|0)==0?-717:0)+(((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(bb&65535)>>0]|0)+(d[1213348+f>>0]|0)+(((c[g>>2]|0)!=0|(c[g+4>>2]|0)!=0)&1)|0)*134|0)|0;f=c[kb>>2]|0;if((f|0)==3)g=((c[e+4500>>2]|0)*124|0)+g+((c[e+4504>>2]|0)*129|0)+((c[e+4508>>2]|0)*27|0)+((c[e+4512>>2]|0)*73|0)+((c[e+4516>>2]|0)*71|0)|0;A=Q;z=c[A>>2]|0;A=c[A+4>>2]|0;K=(f|0)==2;J=K?L:0;q=K?M:0;p=Ra;N=c[p>>2]|0;p=c[p+4>>2]|0;k=(k&u&z|J)&N;l=(l&w&A|q)&p;bb=zu(k|0,l|0,16)|0;x=zu(k|0,l|0,48)|0;x=(((d[1213348+(bb&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(l&65535)>>0]|0)+(d[1213348+x>>0]|0)|0)*997|0)+g|0;g=J|~(D|m);l=q|~(I|n);q=Za;k=c[q>>2]|0;q=c[q+4>>2]|0;n=Sa;J=c[n>>2]|0;n=c[n+4>>2]|0;m=zu(J|0,n|0,8)|0;m=~(J&D&m|k);n=~(n&I&C|q);J=(f|0)==8;if(J){bb=(c[(c[ib>>2]|0)+36>>2]|0)==0;v=bb?g:u;l=bb?l:w;G=bb?m:u;n=bb?n:w}else{v=g;G=m}F=db;E=c[F>>2]|0;F=c[F+4>>2]|0;Qa=22912+(O<<3)|0;m=23424+(O<<3)|0;m=(_(c[Qa+4>>2]&F,c[m+4>>2]|0)|0)^(_(c[Qa>>2]&E,c[m>>2]|0)|0);m=(c[1095812+(O<<2)>>2]|0)+(m>>>(c[1096068+(O<<2)>>2]|0)<<3)|0;Qa=c[m>>2]|0;m=c[m+4>>2]|0;w=23936+(O<<3)|0;y=24448+(O<<3)|0;y=(_(c[w+4>>2]&F,c[y+4>>2]|0)|0)^(_(c[w>>2]&E,c[y>>2]|0)|0);y=(c[1096324+(O<<2)>>2]|0)+(y>>>(c[1096580+(O<<2)>>2]|0)<<3)|0;w=c[y>>2]|0;y=c[y+4>>2]|0;g=(v&z&(w|Qa)|0)==0?(l&A&(y|m)|0)==0:0;z=c[274740]|0;o=o-(g?0:z)|0;g=g?x:x+695|0;u=R;v=N&~(D|B)&c[u>>2]|v;u=p&~(I|H)&c[u+4>>2]|l;bb=ea;l=c[bb>>2]&Qa;m=c[bb+4>>2]&m;do if((v&l|0)==0&(u&m|0)==0){if((l&G|0)==0&(m&n|0)==0)break;o=o-(c[274741]|0)|0}else{g=g+638|0;o=o-z|0}while(0);l=Pa;m=c[l>>2]&w;l=c[l+4>>2]&y;do if((m&v|0)==0&(l&u|0)==0){if((m&G|0)==0&(l&n|0)==0)break;o=o-(c[274741]|0)|0}else{g=g+538|0;o=o-z|0}while(0);m=26816+(O<<3)|0;bb=Ta;l=c[bb>>2]&c[m>>2];m=c[bb+4>>2]&c[m+4>>2];do if((l&v|0)==0&(m&u|0)==0){if((l&G|0)==0&(m&n|0)==0)break;o=o-(c[274741]|0)|0}else{g=g+874|0;o=o-z|0}while(0);if(K){Oa=E&L;Qa=F&M;Na=zu(Oa|0,Qa|0,16)|0;bb=zu(Oa|0,Qa|0,48)|0;o=(_((d[1213348+(Na&65535)>>0]|0)+(d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(Qa&65535)>>0]|0)+(d[1213348+bb>>0]|0)|0,-6553700)|0)+o|0}if((g|0)<=0){g=N;break}h:do if(J)switch(c[(c[ib>>2]|0)+36>>2]|0){case 2:case 3:case 4:{g=g*3|0;break h}case 1:{g=g<<1;break h}case 0:{g=((g|0)/2|0)+g|0;break h}default:break h}while(0);bb=(_(g,g)|0)>>>12;g=N;o=o-(bb>>>0>1652?1652:bb)|0}while(0);l=O&7;n=72+(l<<3)|0;m=c[n>>2]|0;n=c[n+4>>2]|0;Oa=m&t;bb=n&r;Qa=zu(Oa|0,bb|0,4)|0;k=g&~k&Oa|Qa;g=p&~q&bb|C;switch(f|0){case 2:{bb=c[274717]|0;Oa=zu(k|0,g|0,16)|0;Qa=zu(k|0,g|0,48)|0;g=_((d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+Qa>>0]|0)|0,bb)|0;break}case 3:{bb=c[274718]|0;Oa=zu(k|0,g|0,16)|0;Qa=zu(k|0,g|0,48)|0;g=_((d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+Qa>>0]|0)|0,bb)|0;break}default:{bb=c[274739]|0;Oa=zu(k|0,g|0,16)|0;Qa=zu(k|0,g|0,48)|0;g=_((d[1213348+(Oa&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(g&65535)>>0]|0)+(d[1213348+Qa>>0]|0)|0,bb)|0}}bb=Sa;Qa=8+(l<<3)|0;bb=o-g+((((c[Qa>>2]|m)&c[bb>>2]|0)==0?((c[Qa+4>>2]|n)&c[bb+4>>2]|0)==0:0)?0-(c[274748]|0)|0:0)<<((f|0)==3&1);h[121522]=+(bb<<16>>16|0)/248.0;h[121523]=+(bb+32768>>16|0)/248.0;s=P+s-bb|0;switch(f|0){case 1:{bb=277;break f}case 2:break;default:{bb=282;break f}}r=eb;q=c[r>>2]|0;r=c[r+4>>2]|0;t=Sa;v=c[t>>2]|0;t=c[t+4>>2]|0;w=Za;f=2;k=q&~v;n=0;l=r&~t;m=0;o=c[w>>2]|0;w=c[w+4>>2]|0;u=1;g=0;bb=287}while(0);if((bb|0)==277){l=lb;k=c[l>>2]|0;l=c[l+4>>2]|0;r=eb;q=c[r>>2]|0;r=c[r+4>>2]|0;f=q&k;g=r&l;n=gb;m=c[n>>2]|0;n=c[n+4>>2]|0;p=cb;o=c[p>>2]|0;p=c[p+4>>2]|0;if(!((m&(f|o)|0)==0&(n&(g|p)|0)==0&((f&~m|0)!=0|(g&~n|0)!=0)))if((f|0)==0&(g|0)==0|(o&m|0)==0&(p&n|0)==0)f=0;else f=_(c[274714]|0,0-(c[e+336>>2]|0)|0)|0;else f=0-(c[274713]|0)|0;t=Sa;v=c[t>>2]|0;t=c[t+4>>2]|0;u=v&o;Za=t&p;bb=db;ab=c[bb>>2]|0;bb=c[bb+4>>2]|0;$a=~ab;Ya=~bb;Sa=Au(u|0,Za|0,8)|0;Za=Au($a&16711680&Sa|u|0,Za|0,8)|0;Za=Za&$a;u=C&Ya;Sa=Pa;Wa=ea;Xa=Q;$a=(c[Sa>>2]|c[Ta>>2]|c[Wa>>2]|c[Xa>>2]|c[j>>2])&$a;Ya=(c[Sa+4>>2]|c[Ta+4>>2]|c[Wa+4>>2]|c[Xa+4>>2]|c[j+4>>2])&Ya;j=Ra;k=$a&~c[j>>2]|Za&~k;j=Ya&~c[j+4>>2]|u&~l;Za=($a|Za)&m;u=(Ya|u)&n;Ya=zu(Za|0,u|0,16)|0;$a=zu(Za|0,u|0,48)|0;$a=(_((d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(u&65535)>>0]|0)+(d[1213348+$a>>0]|0)|0,c[274715]|0)|0)+f|0;k=k&m;f=j&n;j=zu(k|0,f|0,16)|0;u=zu(k|0,f|0,48)|0;u=$a+(_((d[1213348+(j&65535)>>0]|0)+(d[1213348+(k&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+(d[1213348+u>>0]|0)|0,c[274716]|0)|0)|0;h[121540]=+(u<<16>>16|0)/248.0;h[121541]=+(u+32768>>16|0)/248.0;f=o;k=ab;j=bb;bb=310}else if((bb|0)==282){r=eb;q=c[r>>2]|0;r=c[r+4>>2]|0;g=e+296|0;t=e+304|0;w=lb;p=c[w>>2]|0;w=c[w+4>>2]|0;l=gb;k=c[l>>2]|0;l=c[l+4>>2]|0;g=((q&~(c[t>>2]|c[g>>2])&~(k|p)|0)==0?(r&~(c[t+4>>2]|c[g+4>>2])&~(l|w)|0)==0:0)?0:c[274743]|0;t=Sa;v=c[t>>2]|0;t=c[t+4>>2]|0;o=q&~v;u=r&~t;n=Wa;m=o&c[n>>2];n=u&c[n+4>>2];if(!((m|0)==0&(n|0)==0)){bb=cb;Sa=v&(p|~k)&c[bb>>2];l=t&(w|~l)&c[bb+4>>2];bb=Au(Sa|0,l|0,9)|0;k=C&-16843010;l=Au(Sa|0,l|0,7)|0;l=(bb&-16843264|l&2139062016)&m;k=(k|C&2139062143)&n;g=((m|0)==(l|0)&(n|0)==(k|0)?0:c[274742]|0)+g|0;if(!((l|0)==0&(k|0)==0))do{bb=fb(l|0,k|0,0)|0;Sa=yu(l|0,k|0,-1,-1)|0;l=Sa&l;k=C&k;g=(c[1098704+((c[e+(bb<<2)>>2]&7)<<2)>>2]|0)+g|0}while(!((l|0)==0&(k|0)==0))}bb=Za;Sa=c[bb>>2]|0;bb=c[bb+4>>2]|0;k=Sa&o;n=q&~Sa&p;l=bb&u;m=r&~bb&w;o=Sa;w=bb;u=0;bb=287}i:do if((bb|0)==287){k=n|k;l=m|l;if(!((k|0)==0&(l|0)==0)){Sa=Pa;k=(c[Sa>>2]|c[Ta>>2])&k;l=(c[Sa+4>>2]|c[Ta+4>>2])&l;if(!((k|0)==0&(l|0)==0))do{Ta=fb(k|0,l|0,0)|0;Sa=yu(k|0,l|0,-1,-1)|0;k=Sa&k;l=C&l;g=(c[1098736+((c[e+(Ta<<2)>>2]&7)<<2)>>2]|0)+g|0}while(!((k|0)==0&(l|0)==0));Ta=e+296|0;l=ea;k=(c[Ta>>2]&q|n)&c[l>>2];l=(c[Ta+4>>2]&r|m)&c[l+4>>2];if(!((k|0)==0&(l|0)==0))do{Ta=fb(k|0,l|0,0)|0;Sa=yu(k|0,l|0,-1,-1)|0;k=Sa&k;l=C&l;g=(c[1098768+((c[e+(Ta<<2)>>2]&7)<<2)>>2]|0)+g|0}while(!((k|0)==0&(l|0)==0));k=c[274745]|0;Sa=gb;Ra=n&~c[Sa>>2];Sa=m&~c[Sa+4>>2];Qa=zu(Ra|0,Sa|0,16)|0;Ta=zu(Ra|0,Sa|0,48)|0;k=(_((d[1213348+(Qa&65535)>>0]|0)+(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+Ta>>0]|0)|0,k)|0)+g|0;g=j;j=c[g>>2]&n;g=c[g+4>>2]&m;if((f|0)!=2&((j|0)!=0|(g|0)!=0)){Ta=yu(j|0,g|0,-1,-1)|0;g=(c[1098800+((((Ta&j|0)!=0|(C&g|0)!=0)&1)<<2)>>2]|0)+k|0}else g=k}p=cb;B=c[p>>2]|0;p=c[p+4>>2]|0;Ta=B&v;n=p&t;Sa=Au(Ta|0,n|0,8)|0;j=db;k=c[j>>2]|0;j=c[j+4>>2]|0;m=~k;l=~j;n=Au(m&16711680&Sa|Ta|0,n&65535|0,8)|0;if(!u){Sa=lb;Ta=gb;m=m&~o&(c[Sa>>2]|~c[Ta>>2]);l=l&~w&(c[Sa+4>>2]|~c[Ta+4>>2])}Ta=m&n;Sa=l&C;Qa=Au(Ta|0,Sa|0,7)|0;Ra=C&2139062143;Sa=Au(Ta|0,Sa|0,9)|0;Ta=Wa;Sa=(c[Ta>>2]^-65536)&q&(Qa&2139029504|Sa&-16908288);Ra=~c[Ta+4>>2]&r&(Ra|C&-16843010);Ta=c[274746]|0;Qa=zu(Sa|0,Ra|0,16)|0;Sa=zu(Sa|0,Ra|0,48)|0;g=(_((d[1213348+(Qa&65535)>>0]|0)+(d[1213348]|0)+(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+Sa>>0]|0)|0,Ta)|0)+g|0;j:do switch(f|0){case 8:{f=8;g=(c[1098808+(c[(c[ib>>2]|0)+36>>2]<<2)>>2]|0)+g|0;bb=308;break}case 4:{if((c[e+392>>2]|0)==0?(bb=e+288|0,Ya=e+296|0,Xa=c[Ya>>2]|0,Ya=c[Ya+4>>2]|0,!(((Xa|c[bb>>2])&B|0)==0?((Ya|c[bb+4>>2])&p|0)==0:0)):0){Va=Q;Ta=ea;bb=25536;if(((c[Ta>>2]|c[Va>>2])&c[bb>>2]|0)==0?((c[Ta+4>>2]|c[Va+4>>2])&c[bb+4>>2]|0)==0:0){o=v&q;u=t&r;l=0;f=8;k:while(1){bb=25472+(l<<3)|0;Va=c[bb>>2]&o;bb=c[bb+4>>2]&u;Ta=zu(Va|0,bb|0,16)|0;n=zu(Va|0,bb|0,48)|0;n=(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+(Va&65535)>>0]|0)+(d[1213348+(bb&65535)>>0]|0)+(d[1213348+n>>0]|0)|0;do if((l|0)>0){bb=25472+(l+-1<<3)|0;Va=c[bb>>2]&o;bb=c[bb+4>>2]&u;Ta=zu(Va|0,bb|0,16)|0;m=zu(Va|0,bb|0,48)|0;m=(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+(Va&65535)>>0]|0)+(d[1213348+(bb&65535)>>0]|0)+(d[1213348+m>>0]|0)|0;m=n>>>0<m>>>0?n:m;if((l|0)<7)break;l=l+1|0;f=(m|0)<(f|0)?m:f;if((l|0)==8)break k;else continue k}else m=0;while(0);Va=l+1|0;Ta=25472+(Va<<3)|0;Sa=c[Ta>>2]&o;Ta=c[Ta+4>>2]&u;Ra=zu(Sa|0,Ta|0,16)|0;bb=zu(Sa|0,Ta|0,48)|0;bb=(d[1213348+(Ra&65535)>>0]|0)+(d[1213348+(Sa&65535)>>0]|0)+(d[1213348+(Ta&65535)>>0]|0)+(d[1213348+bb>>0]|0)|0;bb=(n>>>0<bb>>>0?n:bb)+m|0;l=Va;f=(bb|0)<(f|0)?bb:f}f=f+1|0}else f=1;Va=_(c[e+372>>2]|0,c[274742]|0)|0;Va=(((Va+32768>>16|0)/(f|0)|0)<<16)+((Va<<16>>16|0)/(f|0)|0)|0;bb=(Xa&B|0)!=0|(Ya&p|0)!=0?2:4;f=4;g=((Va<<16>>16|0)/(bb|0)|0)+g+(((Va+32768>>16|0)/(bb|0)|0)<<16)|0;bb=308}else{f=4;bb=308}break}default:{h[121540]=+(g<<16>>16|0)/248.0;h[121541]=+(g+32768>>16|0)/248.0;switch(f|0){case 1:{f=B;u=g;bb=310;break i}case 2:break;default:{bb=315;break j}}z=Wa;n=B&~v;w=0;m=p&~t;o=0;A=2;x=c[z>>2]|0;z=c[z+4>>2]|0;y=1;f=0;u=g}}while(0);if((bb|0)==308){h[121540]=+(g<<16>>16|0)/248.0;h[121541]=+(g+32768>>16|0)/248.0;bb=315}if((bb|0)==315){l=e+296|0;w=e+304|0;z=gb;x=c[z>>2]|0;z=c[z+4>>2]|0;n=lb;m=c[n>>2]|0;n=c[n+4>>2]|0;l=((B&~(c[w>>2]|c[l>>2])&~(m|x)|0)==0?(p&~(c[w+4>>2]|c[l+4>>2])&~(n|z)|0)==0:0)?0:c[274743]|0;w=B&~v;y=p&~t;u=Za;o=w&c[u>>2];u=y&c[u+4>>2];if(!((o|0)==0&(u|0)==0)){Xa=v&(x|~m)&q;n=t&(z|~n)&r;Ya=zu(Xa|0,n|0,9)|0;m=C&8355711;n=zu(Xa|0,n|0,7)|0;n=(Ya&2139062143|n&-16843010)&o;m=(m|C&16711422)&u;l=((o|0)==(n|0)&(u|0)==(m|0)?0:c[274742]|0)+l|0;if(!((n|0)==0&(m|0)==0))do{Ya=fb(n|0,m|0,0)|0;Xa=yu(n|0,m|0,-1,-1)|0;n=Xa&n;m=C&m;l=(c[1098704+((c[e+(Ya<<2)>>2]&7)<<2)>>2]|0)+l|0}while(!((n|0)==0&(m|0)==0))}u=Wa;Ya=c[u>>2]|0;u=c[u+4>>2]|0;n=Ya&w;w=B&~Ya&x;m=u&y;o=p&~u&z;A=f;x=Ya;z=u;y=0;f=l;u=g}g=w|n;l=o|m;if(!((g|0)==0&(l|0)==0)){Ya=Ua;Xa=fa;g=(c[Xa>>2]|c[Ya>>2])&g;l=(c[Xa+4>>2]|c[Ya+4>>2])&l;if(!((g|0)==0&(l|0)==0))do{Ya=fb(g|0,l|0,0)|0;Xa=yu(g|0,l|0,-1,-1)|0;g=Xa&g;l=C&l;f=(c[1098736+((c[e+(Ya<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((g|0)==0&(l|0)==0));Ya=e+296|0;l=X;g=(c[Ya>>2]&B|w)&c[l>>2];l=(c[Ya+4>>2]&p|o)&c[l+4>>2];if(!((g|0)==0&(l|0)==0))do{Ya=fb(g|0,l|0,0)|0;Xa=yu(g|0,l|0,-1,-1)|0;g=Xa&g;l=C&l;f=(c[1098768+((c[e+(Ya<<2)>>2]&7)<<2)>>2]|0)+f|0}while(!((g|0)==0&(l|0)==0));l=c[274745]|0;Ya=lb;Xa=w&~c[Ya>>2];Ya=o&~c[Ya+4>>2];Wa=zu(Xa|0,Ya|0,16)|0;g=zu(Xa|0,Ya|0,48)|0;l=(_((d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+g>>0]|0)|0,l)|0)+f|0;f=_a;g=c[f>>2]&w;f=c[f+4>>2]&o;if((A|0)!=2&((g|0)!=0|(f|0)!=0)){_a=yu(g|0,f|0,-1,-1)|0;l=(c[1098800+((((_a&g|0)!=0|(C&f|0)!=0)&1)<<2)>>2]|0)+l|0}}else l=f;_a=q&v;m=r&t;zu(_a|0,m|0,8)|0;g=~k;f=~j;m=zu(_a&-65536|0,f&65280&C|m|0,8)|0;if(!y){Ya=gb;_a=lb;g=g&~x&(c[Ya>>2]|~c[_a>>2]);f=f&~z&(c[Ya+4>>2]|~c[_a+4>>2])}w=g&m;Ya=f&C;Xa=zu(w|0,Ya|0,7)|0;_a=C&65278;Ya=zu(w|0,Ya|0,9)|0;w=Za;Za=~c[w>>2]&B&(Xa&-16843010|Ya&2139062143);_a=(c[w+4>>2]^65535)&p&(_a|C&32639);w=c[274746]|0;Ya=zu(Za|0,_a|0,16)|0;w=(_((d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+_a>>0]|0)+(d[1213348]|0)|0,w)|0)+l|0;switch(A|0){case 8:{f=8;w=(c[1098808+(c[(c[ib>>2]|0)+40>>2]<<2)>>2]|0)+w|0;break i}case 4:break;default:{f=A;break i}}if((c[e+360>>2]|0)==0?(_a=e+288|0,ab=e+296|0,$a=c[ab>>2]|0,ab=c[ab+4>>2]|0,!((($a|c[_a>>2])&q|0)==0?((ab|c[_a+4>>2])&r|0)==0:0)):0){Za=R;Ya=X;_a=25536;if(((c[Ya>>2]|c[Za>>2])&c[_a>>2]|0)==0?((c[Ya+4>>2]|c[Za+4>>2])&c[_a+4>>2]|0)==0:0){o=v&B;n=t&p;g=0;f=8;l:while(1){_a=25472+(g<<3)|0;Za=c[_a>>2]&o;_a=c[_a+4>>2]&n;Ya=zu(Za|0,_a|0,16)|0;m=zu(Za|0,_a|0,48)|0;m=(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+m>>0]|0)|0;do if((g|0)>0){_a=25472+(g+-1<<3)|0;Za=c[_a>>2]&o;_a=c[_a+4>>2]&n;Ya=zu(Za|0,_a|0,16)|0;l=zu(Za|0,_a|0,48)|0;l=(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+l>>0]|0)|0;l=m>>>0<l>>>0?m:l;if((g|0)<7)break;g=g+1|0;f=(l|0)<(f|0)?l:f;if((g|0)==8)break l;else continue l}else l=0;while(0);Za=g+1|0;Ya=25472+(Za<<3)|0;Xa=c[Ya>>2]&o;Ya=c[Ya+4>>2]&n;Wa=zu(Xa|0,Ya|0,16)|0;_a=zu(Xa|0,Ya|0,48)|0;_a=(d[1213348+(Wa&65535)>>0]|0)+(d[1213348+(Xa&65535)>>0]|0)+(d[1213348+(Ya&65535)>>0]|0)+(d[1213348+_a>>0]|0)|0;_a=(m>>>0<_a>>>0?m:_a)+l|0;g=Za;f=(_a|0)<(f|0)?_a:f}f=f+1|0}else f=1;_a=_(c[e+340>>2]|0,c[274742]|0)|0;_a=(((_a+32768>>16|0)/(f|0)|0)<<16)+((_a<<16>>16|0)/(f|0)|0)|0;ab=($a&q|0)!=0|(ab&r|0)!=0?2:4;f=A;w=((_a<<16>>16|0)/(ab|0)|0)+w+(((_a+32768>>16|0)/(ab|0)|0)<<16)|0}else f=4}while(0);if((bb|0)==310){o=gb;n=c[o>>2]|0;o=c[o+4>>2]|0;g=f&n;f=p&o;m=lb;l=c[m>>2]|0;m=c[m+4>>2]|0;if(!((l&(g|q)|0)==0&(m&(f|r)|0)==0&((g&~l|0)!=0|(f&~m|0)!=0)))if((g|0)==0&(f|0)==0|(q&l|0)==0&(r&m|0)==0)f=0;else f=_(c[274714]|0,0-(c[e+368>>2]|0)|0)|0;else f=0-(c[274713]|0)|0;Ya=v&q;w=t&r;Za=~k;ab=~j;zu(Ya|0,w|0,8)|0;w=zu(Ya|0,ab&65280&C|w|0,8)|0;w=w&Za;Ya=C&ab;Wa=Ua;Ua=fa;Xa=X;$a=R;Za=(c[Ua>>2]|c[Wa>>2]|c[Xa>>2]|c[$a>>2]|c[_a>>2])&Za;_a=(c[Ua+4>>2]|c[Wa+4>>2]|c[Xa+4>>2]|c[$a+4>>2]|c[_a+4>>2])&ab;ab=Va;$a=Za&~c[ab>>2]|w&~n;ab=_a&~c[ab+4>>2]|Ya&~o;w=(Za|w)&l;_a=(_a|Ya)&m;Ya=zu(w|0,_a|0,16)|0;Za=zu(w|0,_a|0,48)|0;Za=(_((d[1213348+(Ya&65535)>>0]|0)+(d[1213348+(w&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+Za>>0]|0)|0,c[274715]|0)|0)+f|0;$a=$a&l;ab=ab&m;_a=zu($a|0,ab|0,16)|0;w=zu($a|0,ab|0,48)|0;f=1;w=Za+(_((d[1213348+(_a&65535)>>0]|0)+(d[1213348+($a&65535)>>0]|0)+(d[1213348+(ab&65535)>>0]|0)+(d[1213348+w>>0]|0)|0,c[274716]|0)|0)|0}h[121542]=+(w<<16>>16|0)/248.0;h[121543]=+(w+32768>>16|0)/248.0;if((f|0)!=6){n=(c[hb>>2]|0)+16|0;m=c[n>>2]|0;n=c[n+4>>2]|0;m:do if((f|0)==5){l=c[e+1936>>2]|0;f=0;g=0;while(1){_a=c[3044+(f<<2)>>2]|0;Ua=c[1079428+(l<<8)+(_a<<2)>>2]|0;Va=vf(e,_a,k,j)|0;Xa=eb;Va=c[Xa>>2]&Va;Xa=c[Xa+4>>2]&C;Wa=zu(Va|0,Xa|0,16)|0;Ya=zu(Va|0,Xa|0,48)|0;Va=d[1213348+(Va&65535)>>0]|0;Wa=d[1213348+(Wa&65535)>>0]|0;Xa=d[1213348+(Xa&65535)>>0]|0;Ya=d[1213348+Ya>>0]|0;$a=cb;_a=24960+(_a<<3)|0;Za=c[_a>>2]&c[$a>>2];$a=c[_a+4>>2]&c[$a+4>>2];_a=zu(Za|0,$a|0,16)|0;ab=zu(Za|0,$a|0,48)|0;ab=Ua+-1+Va+Wa+Xa+Ya+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+($a&65535)>>0]|0)+(d[1213348+ab>>0]|0)|0;g=(c[1098824+(((ab|0)>5?5:ab)<<2)>>2]|0)+g|0;f=f+1|0;if((f|0)==4)break m;j=db;k=c[j>>2]|0;j=c[j+4>>2]|0}}else g=0;while(0);if((m|0)==0&(n|0)==0)U=g;else{E=gb;B=eb;A=c[B>>2]|0;B=c[B+4>>2]|0;D=A|c[E>>2];E=B|c[E+4>>2];F=c[274749]|0;G=c[kb>>2]|0;T=(G|0)==2?2916:2980;H=c[e+3984>>2]|0;I=c[e+1936>>2]|0;J=(c[e+360>>2]|0)==0;L=e+288|0;N=e+296|0;K=c[N>>2]|c[L>>2];L=c[N+4>>2]|c[L+4>>2];N=db;M=c[N>>2]|0;N=c[N+4>>2]|0;P=cb;O=c[P>>2]|0;P=c[P+4>>2]|0;R=lb;Q=c[R>>2]|0;R=c[R+4>>2]|0;S=(c[e+392>>2]|0)==0;z=S?64:H;while(1){x=fb(m|0,n|0,0)|0;r=yu(m|0,n|0,-1,-1)|0;m=r&m;n=C&n;r=103616+(x<<3)|0;q=c[r>>2]|0;r=c[r+4>>2]|0;p=q&D;o=r&E;v=zu(p|0,o|0,16)|0;y=zu(p|0,o|0,48)|0;y=_((d[1213348+(v&65535)>>0]|0)+(d[1213348+(p&65535)>>0]|0)+(d[1213348+(o&65535)>>0]|0)+(d[1213348+y>>0]|0)|0,F)|0;o=x>>>3;p=o+-1|0;v=_(p,o+-2|0)|0;j=c[T+32+(p<<2)>>2]|0;f=c[T+(p<<2)>>2]|0;do if(v){t=x+8|0;n:do switch(G|0){case 4:if(J){j=(_(((c[1079428+(z<<8)+(t<<2)>>2]|0)*5|0)+-10|0,v)|0)+j|0;break n}else{j=(_(25-(c[1079428+(I<<8)+(t<<2)>>2]<<1)|0,v)|0)+j|0;break n}case 1:break;case 2:{k=(c[(S?1095812+(t<<2)|0:1079428+(H<<8)+(t<<2)|0)>>2]|0)*5|0;if(J){l=64;bb=360}else bb=359;break}default:{k=(c[1079428+(H<<8)+(t<<2)>>2]|0)*5|0;bb=359}}while(0);if((bb|0)==359){l=I;bb=360}if((bb|0)==360){bb=0;j=(_(k-(c[1079428+(l<<8)+(t<<2)>>2]<<1)|0,v)|0)+j|0;if((t&248|0)!=56){switch(G|0){case 4:{if(J)k=64;else bb=364;break}case 2:{if(J)k=64;else bb=364;break}default:bb=364}if((bb|0)==364){bb=0;k=I}j=j-(_(c[1079428+(k<<8)+(x+16<<2)>>2]|0,v)|0)|0}}if(c[e+(t<<2)>>2]|0){ab=24960+(t<<3)|0;if((c[ab>>2]&O|0)==0?(c[ab+4>>2]&P|0)==0:0)break;ab=_(p,o)|0;j=j+ab|0;f=f+ab|0;break}p=104128+(x<<3)|0;k=22912+(x<<3)|0;l=23424+(x<<3)|0;l=(_(c[k+4>>2]&N,c[l+4>>2]|0)|0)^(_(c[k>>2]&M,c[l>>2]|0)|0);l=(c[1095812+(x<<2)>>2]|0)+(l>>>(c[1096068+(x<<2)>>2]|0)<<3)|0;k=c[p>>2]&K&c[l>>2];l=c[p+4>>2]&L&c[l+4>>2];p=(k&O|0)==0&(l&P|0)==0;o=(p?Q:-1)&q;p=(p?R:-1)&r;l=(k&A|0)==0&(l&B|0)==0;k=(l?D:-1)&q;l=(l?E:-1)&r;if((k|0)==0&(l|0)==0)k=18;else{ab=24960+(t<<3)|0;k=((c[ab>>2]&k|0)==0?(c[ab+4>>2]&l|0)==0:0)?8:0}if((o|0)==(q|0)&(p|0)==(r|0))k=k+6|0;else{ab=24960+(t<<3)|0;k=((c[ab>>2]&o|0)==0?(c[ab+4>>2]&p|0)==0:0)?k:k|4}ab=_(k,v)|0;j=ab+j|0;f=ab+f|0}while(0);g=g-y+f+(j<<16)+(c[1098908+((x&7)<<2)>>2]|0)|0;if((m|0)==0&(n|0)==0){U=g;break}}}}else{k=c[e+1936>>2]|0;l=k>>3;f=l^7;g=l+1|0;if((g|0)<8){n=gb;j=cb;m=~(c[j>>2]|c[n>>2]);n=~(c[j+4>>2]|c[n+4>>2]);j=l;while(1){ab=25536+(g<<3)|0;j=99520+(k<<6)+(j-l<<3)|0;f=(((c[ab>>2]&m&c[j>>2]|0)==0?(c[ab+4>>2]&n&c[j+4>>2]|0)==0:0)&1)+f|0;j=g+1|0;if((j|0)==8)break;else{ab=g;g=j;j=ab}}}U=c[1098876+(((f|0)>7?7:f)<<2)>>2]|0}h[121544]=+(U<<16>>16|0)/248.0;h[121545]=+(U+32768>>16|0)/248.0;f=c[kb>>2]|0;if((f|0)!=6){l=(c[hb>>2]|0)+24|0;k=c[l>>2]|0;l=c[l+4>>2]|0;if((f|0)==5){g=c[e+3984>>2]|0;j=0;f=0;do{_a=c[3044+(j<<2)>>2]|0;Ua=c[1079428+(g<<8)+(_a<<2)>>2]|0;Va=db;Va=vf(e,_a,c[Va>>2]|0,c[Va+4>>2]|0)|0;Xa=cb;Va=c[Xa>>2]&Va;Xa=c[Xa+4>>2]&C;Wa=zu(Va|0,Xa|0,16)|0;Ya=zu(Va|0,Xa|0,48)|0;Va=d[1213348+(Va&65535)>>0]|0;Wa=d[1213348+(Wa&65535)>>0]|0;Xa=d[1213348+(Xa&65535)>>0]|0;Ya=d[1213348+Ya>>0]|0;$a=eb;_a=24960+(_a<<3)|0;Za=c[_a>>2]&c[$a>>2];$a=c[_a+4>>2]&c[$a+4>>2];_a=zu(Za|0,$a|0,16)|0;ab=zu(Za|0,$a|0,48)|0;ab=Ua+-1+Va+Wa+Xa+Ya+(d[1213348+(Za&65535)>>0]|0)+(d[1213348+(_a&65535)>>0]|0)+(d[1213348+($a&65535)>>0]|0)+(d[1213348+ab>>0]|0)|0;f=(c[1098824+(((ab|0)>5?5:ab)<<2)>>2]|0)+f|0;j=j+1|0}while((j|0)!=4)}else f=0;if(!((k|0)==0&(l|0)==0)){L=lb;J=cb;I=c[J>>2]|0;J=c[J+4>>2]|0;K=I|c[L>>2];L=J|c[L+4>>2];M=c[274749]|0;N=c[kb>>2]|0;T=(N|0)==2?2916:2980;O=c[e+1936>>2]|0;P=c[e+3984>>2]|0;Q=(c[e+392>>2]|0)==0;S=e+288|0;H=e+296|0;R=c[H>>2]|c[S>>2];S=c[H+4>>2]|c[S+4>>2];H=db;G=c[H>>2]|0;H=c[H+4>>2]|0;F=eb;E=c[F>>2]|0;F=c[F+4>>2]|0;B=gb;A=c[B>>2]|0;B=c[B+4>>2]|0;D=(c[e+360>>2]|0)==0;z=D?64:O;y=k;do{v=fb(y|0,l|0,0)|0;q=yu(y|0,l|0,-1,-1)|0;y=q&y;l=C&l;q=104128+(v<<3)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;o=p&K;n=q&L;t=zu(o|0,n|0,16)|0;x=zu(o|0,n|0,48)|0;x=_((d[1213348+(t&65535)>>0]|0)+(d[1213348+(o&65535)>>0]|0)+(d[1213348+(n&65535)>>0]|0)+(d[1213348+x>>0]|0)|0,M)|0;n=v>>>3^7;o=n+-1|0;t=_(o,n+-2|0)|0;j=c[T+32+(o<<2)>>2]|0;g=c[T+(o<<2)>>2]|0;do if(t){r=v+-8|0;o:do switch(N|0){case 4:if(Q){j=(_(((c[1079428+(z<<8)+(r<<2)>>2]|0)*5|0)+-10|0,t)|0)+j|0;break o}else{j=(_(25-(c[1079428+(P<<8)+(r<<2)>>2]<<1)|0,t)|0)+j|0;break o}case 1:break;case 2:{k=(c[(D?1095812+(r<<2)|0:1079428+(O<<8)+(r<<2)|0)>>2]|0)*5|0;if(Q){m=64;bb=394}else bb=393;break}default:{k=(c[1079428+(O<<8)+(r<<2)>>2]|0)*5|0;bb=393}}while(0);if((bb|0)==393){m=P;bb=394}if((bb|0)==394){bb=0;j=(_(k-(c[1079428+(m<<8)+(r<<2)>>2]<<1)|0,t)|0)+j|0;if(r>>>0>=8){switch(N|0){case 4:{if(Q)k=64;else bb=398;break}case 2:{if(Q)k=64;else bb=398;break}default:bb=398}if((bb|0)==398){bb=0;k=P}j=j-(_(c[1079428+(k<<8)+(v+-16<<2)>>2]|0,t)|0)|0}}if(c[e+(r<<2)>>2]|0){gb=24960+(r<<3)|0;if((c[gb>>2]&E|0)==0?(c[gb+4>>2]&F|0)==0:0)break;gb=_(o,n)|0;j=j+gb|0;g=g+gb|0;break}o=103616+(v<<3)|0;k=22912+(v<<3)|0;m=23424+(v<<3)|0;m=(_(c[k+4>>2]&H,c[m+4>>2]|0)|0)^(_(c[k>>2]&G,c[m>>2]|0)|0);m=(c[1095812+(v<<2)>>2]|0)+(m>>>(c[1096068+(v<<2)>>2]|0)<<3)|0;k=c[o>>2]&R&c[m>>2];m=c[o+4>>2]&S&c[m+4>>2];o=(k&E|0)==0&(m&F|0)==0;n=(o?A:-1)&p;o=(o?B:-1)&q;m=(k&I|0)==0&(m&J|0)==0;k=(m?K:-1)&p;m=(m?L:-1)&q;if((k|0)==0&(m|0)==0)k=18;else{gb=24960+(r<<3)|0;k=((c[gb>>2]&k|0)==0?(c[gb+4>>2]&m|0)==0:0)?8:0}if((n|0)==(p|0)&(o|0)==(q|0))k=k+6|0;else{gb=24960+(r<<3)|0;k=((c[gb>>2]&n|0)==0?(c[gb+4>>2]&o|0)==0:0)?k:k|4}gb=_(k,t)|0;j=gb+j|0;g=gb+g|0}while(0);f=f-x+g+(j<<16)+(c[1098908+((v&7)<<2)>>2]|0)|0}while(!((y|0)==0&(l|0)==0))}}else{n=c[e+3984>>2]|0;o=n>>3;f=o^7;g=o+1|0;if((g|0)<8){m=lb;j=eb;l=~(c[j>>2]|c[m>>2]);m=~(c[j+4>>2]|c[m+4>>2]);j=o;k=g;while(1){gb=25536+(k<<3)|0;g=99520+(n<<6)+(j-o<<3)|0;f=(((c[gb>>2]&l&c[g>>2]|0)==0?(c[gb+4>>2]&m&c[g+4>>2]|0)==0:0)&1)+f|0;g=k+1|0;if((g|0)==8)break;else{j=k;k=g}}}f=c[1098876+(((f|0)>7?7:f)<<2)>>2]|0}h[121546]=+(f<<16>>16|0)/248.0;h[121547]=+(f+32768>>16|0)/248.0;f=u+s-w+(U-f)|0;l=c[ib>>2]|0;m=c[l+16>>2]|0;if((m|0)==0?(c[l+20>>2]|0)==0:0){k=c[hb>>2]|0;j=k+16|0;g=c[j>>2]|0;j=c[j+4>>2]|0;if(!((g|0)==0&(j|0)==0)){eb=c[274747]|0;gb=Fu(g|0,j|0,0)|0;f=(_(eb,63-gb>>3)|0)+f|0}j=k+24|0;g=c[j>>2]|0;j=c[j+4>>2]|0;if(!((g|0)==0&(j|0)==0)){eb=c[274747]|0;gb=fb(g|0,j|0,0)|0;f=f-(_(eb,gb>>>3^7)|0)|0}}if((c[kb>>2]|0)==4){kb=zd(e,lb)|0;f=kb+f-(Ad(e,lb)|0)|0}else{if(((c[l+20>>2]|0)+m|0)>12221){kb=zd(e,lb)|0;f=kb+f-(Ad(e,lb)|0)|0}f=(Bd(e,c[(c[hb>>2]|0)+112>>2]|0,f+32768>>16)|0)+f|0}gb=f+32768>>16;db=Cd(e,lb,gb)|0;eb=f<<16>>16;jb=c[jb>>2]|0;kb=c[jb+24>>2]|0;kb=(((_(_(gb,db)|0,128-kb|0)|0)/64|0)+(_(kb,eb)|0)|0)/128|0;ib=c[(c[ib>>2]|0)+44>>2]|0;h[121528]=+(ib<<16>>16|0)/248.0;h[121529]=+(ib+32768>>16|0)/248.0;c[243060]=0;c[243061]=0;c[243062]=0;c[243063]=0;jb=b[jb+8>>1]|0;h[121532]=+(jb<<16>>16)/248.0;h[121533]=+(((jb<<16>>16)*65537|0)+32768>>16|0)/248.0;c[243068]=0;c[243069]=0;c[243070]=0;c[243071]=0;jb=c[(c[hb>>2]|0)+8>>2]|0;h[121500]=+(jb<<16>>16|0)/248.0;h[121501]=+(jb+32768>>16|0)/248.0;c[243004]=0;c[243005]=0;c[243006]=0;c[243007]=0;h[121536]=+(Y<<16>>16|0)/248.0;h[121537]=+(Y+32768>>16|0)/248.0;h[121538]=+(V<<16>>16|0)/248.0;h[121539]=+(V+32768>>16|0)/248.0;jb=zd(e,lb)|0;lb=Ad(e,lb)|0;h[121548]=+(jb<<16>>16|0)/248.0;h[121549]=+(jb+32768>>16|0)/248.0;h[121550]=+(lb<<16>>16|0)/248.0;h[121551]=+(lb+32768>>16|0)/248.0;h[121552]=+(eb|0)/248.0;h[121553]=+(gb|0)/248.0;c[243108]=0;c[243109]=0;c[243110]=0;c[243111]=0;e=((c[e+5348>>2]|0)==0?kb:0-kb|0)+20|0;i=mb;return e|0}function zd(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=a+320|0;l=c[m>>2]|0;n=a+264|0;h=c[n>>2]|0;f=b+72|0;g=b;i=b+64|0;k=c[a+5364>>2]|0;j=(k|0)==4;e=(c[g>>2]|~c[i>>2])&~c[f>>2]&(j?-1:l&1010580480&h^1010580480);f=(c[g+4>>2]|~c[i+4>>2])&~c[f+4>>2]&(j?-1:0);l=h&l;m=c[n+4>>2]&c[m+4>>2];n=zu(l|0,m|0,8)|0;l=n|l;m=C|m;n=zu(l|0,m|0,16)|0;l=n|l;m=C|m;n=zu(l|0,m|0,24)|0;l=((j?n:0)|l)&e;m=((j?C:0)|m)&f;n=m|e;h=zu(l|0,m|0,16)|0;i=zu(l|0,n|0,48)|0;g=d[1213348+(l&65535)>>0]|0;h=d[1213348+(h&65535)>>0]|0;i=h+g+(d[1213348+(n&65535)>>0]|0)+(d[1213348+i>>0]|0)|0;if(j){o=zu(e|0,f|0,16)|0;n=zu(e|0,f|0,48)|0;e=d[1213348+(e&65535)>>0]|0;o=d[1213348+(o&65535)>>0]|0;i=d[1213348+(f&65535)>>0]|0;n=d[1213348+n>>0]|0;f=zu(l|0,m|0,48)|0;f=o+e+i+n+g+h+(d[1213348+(m&65535)>>0]|0)+(d[1213348+f>>0]|0)|0}else f=i>>>0<16?i:16;e=(c[a+336>>2]|0)-(c[(c[b+204>>2]|0)+116>>2]<<1)|0;if((k|0)==8){o=c[a+5356>>2]|0;e=e-(c[o+36>>2]|0)-(c[o+40>>2]|0)|0}if(j){e=_(_(e,f)|0,e)|0;if(!(c[a+360>>2]|0)){o=(e|0)/200|0;return o|0}}else{e=_(_(e,f)|0,e)|0;if((k|0)==5){o=c[274712]|0;n=m&24;a=zu(l&402653184|0,n|0,16)|0;o=(_(((d[1213348]|0)<<1)+(d[1213348+(a&6144)>>0]|0)+(d[1213348+n>>0]|0)|0,o)|0)+((e|0)/22|0)|0;return o|0}}o=(e|0)/18|0;return o|0}function Ad(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=a+328|0;m=c[l+4>>2]|0;n=a+264|0;i=c[n+4>>2]|0;f=b+8|0;g=b+64|0;h=b;k=c[a+5364>>2]|0;j=(k|0)==4;e=(c[g>>2]|~c[h>>2])&~c[f>>2]&(j?-1:0);f=(c[g+4>>2]|~c[h+4>>2])&~c[f+4>>2]&(j?-1:m&3947580&i^3947580);l=c[n>>2]&c[l>>2];m=i&m;i=Au(l|0,m|0,8)|0;l=i|l;m=C|m;i=Au(l|0,m|0,16)|0;l=i|l;m=C|m;i=Au(l|0,m|0,24)|0;l=((j?i:0)|l)&e;m=((j?C:0)|m)&f;i=l|f;n=zu(i|0,m|0,16)|0;h=zu(l|0,m|0,48)|0;g=d[1213348+(m&65535)>>0]|0;h=d[1213348+h>>0]|0;i=(d[1213348+(n&65535)>>0]|0)+(d[1213348+(i&65535)>>0]|0)+g+h|0;if(j){o=zu(e|0,f|0,16)|0;n=zu(e|0,f|0,48)|0;e=d[1213348+(e&65535)>>0]|0;o=d[1213348+(o&65535)>>0]|0;i=d[1213348+(f&65535)>>0]|0;n=d[1213348+n>>0]|0;f=zu(l|0,m|0,16)|0;f=o+e+i+n+(d[1213348+(l&65535)>>0]|0)+(d[1213348+(f&65535)>>0]|0)+g+h|0}else f=i>>>0<16?i:16;e=(c[a+368>>2]|0)-(c[(c[b+204>>2]|0)+116>>2]<<1)|0;if((k|0)==8){o=c[a+5356>>2]|0;e=e-(c[o+36>>2]|0)-(c[o+40>>2]|0)|0}if(j){e=_(_(e,f)|0,e)|0;if(!(c[a+392>>2]|0)){o=(e|0)/200|0;return o|0}}else{e=_(_(e,f)|0,e)|0;if((k|0)==5){o=c[274712]|0;n=m&24;a=zu(l&402653184|0,n|0,16)|0;o=(_(((d[1213348]|0)<<1)+(d[1213348+(a&6144)>>0]|0)+(d[1213348+n>>0]|0)|0,o)|0)+((e|0)/22|0)|0;return o|0}}o=(e|0)/18|0;return o|0}function Bd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;switch(c[a+5364>>2]|0){case 1:{e=5;break}case 4:{e=(c[a+360>>2]|0)==0?0:c[a+1936>>2]&7;if(c[a+392>>2]|0){h=c[a+3984>>2]&7;e=e>>>0<h>>>0?h-e|0:e-h|0}f=(c[a+360>>2]|0)==0?64:c[a+1936>>2]|0;if(!(c[a+392>>2]|0)){h=8;g=10}else g=9;break}case 2:{e=(c[a+360>>2]|0)==0?0:c[a+1936>>2]&7;if(c[a+392>>2]|0){h=c[a+3984>>2]&7;e=e>>>0<h>>>0?h-e|0:e-h|0}f=(c[a+360>>2]|0)==0?64:c[a+1936>>2]|0;if(!(c[a+392>>2]|0)){h=8;g=10}else g=9;break}default:{g=c[a+1936>>2]&7;e=c[a+3984>>2]&7;f=c[a+1936>>2]|0;e=g>>>0<e>>>0?e-g|0:g-e|0;g=9}}if((g|0)==9){h=c[a+3984>>2]>>3;g=10}if((g|0)==10){g=f>>3;e=e-((g|0)<(h|0)?h-g|0:g-h|0)|0}a=(e+b<<3)+-120+(((c[a+372>>2]|0)+(c[a+340>>2]|0)|0)*12|0)|0;b=(d|0)/2|0;b=0-((d|0)>-2?b:0-b|0)|0;return _(((d|0)>0&1)-(d>>>31)<<16,(a|0)<(b|0)?b:a)|0}function Cd(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=(e|0)<1&1;g=b+200|0;b=c[g>>2]|0;i=a+5364|0;a:do switch(c[i>>2]|0){case 3:case 1:case 2:case 4:case 8:case 6:case 5:{h=64;break}default:{f=c[b+16+(l<<2)>>2]|0;if(f|0?(h=Jb[c[(c[f>>2]|0)+12>>2]&63](f,a)|0,(h|0)!=255):0)break a;h=d[b+10+l>>0]|0}}while(0);if((c[(c[g>>2]|0)+24>>2]|0)>=128){a=h;return a|0}switch(h|0){case 48:case 64:break;default:{a=h;return a|0}}if(((c[a+348>>2]|0)==1?(c[a+380>>2]|0)==1:0)?(g=c[a+3216>>2]^c[a+1168>>2],(g>>>3^g)&1|0):0){b=c[a+5356>>2]|0;if((c[b+16>>2]|0)!=826){a=46;return a|0}if((c[b+20>>2]|0)!=826){a=46;return a|0}a=a+264|0;l=c[a>>2]|0;a=c[a+4>>2]|0;k=yu(l|0,a|0,-1,-1)|0;a=(k&l|0)!=0|(C&a|0)!=0?31:9;return a|0}if((((e|0)>-1?e:0-e|0)|0)>=898){a=h;return a|0}f=c[a+336+((l<<3|1)<<2)>>2]|0;if((f|0)>=3){a=h;return a|0}g=l^1;b=c[i>>2]|0;switch(b|0){case 4:{b=g<<3|6;if(!(c[a+336+(b<<2)>>2]|0))b=64;else b=c[a+400+(b<<8)>>2]|0;if(!(c[a+336+((g<<3|6)<<2)>>2]|0)){e=a+320+(l<<3)|0;m=a+264|0;i=103616+(g<<9)+(b<<3)|0;if((c[m>>2]&c[e>>2]&c[i>>2]|0)==0?(c[m+4>>2]&c[e+4>>2]&c[i+4>>2]|0)==0:0){m=h;return m|0}}else{j=b;k=23}break}case 2:{b=g<<3|6;if(!(c[a+336+(b<<2)>>2]|0)){j=64;k=23}else{j=c[a+400+(b<<8)>>2]|0;k=23}break}case 1:{j=64;k=23;break}default:if((b|0)==6){m=h;return m|0}else{j=c[a+400+((g<<3|6)<<8)>>2]|0;k=23}}if((k|0)==23?(l=a+320+(l<<3)|0,a=a+264|0,m=104640+(g<<9)+(j<<3)|0,(c[a>>2]&c[l>>2]&c[m>>2]|0)==0?(c[a+4>>2]&c[l+4>>2]&c[m+4>>2]|0)==0:0):0){m=h;return m|0}m=(f*7|0)+37|0;return m|0}
// EMSCRIPTEN_END_FUNCS
var vb=[dv,yp,Cp,wq,Cq,Gq,Kq,dv];var wb=[ev,Sk,Xk,$k,rh,vh,sh,wh,Ih,xj,el,jl,nl,Kj,jm,om,_q,dr,Zr,$r,cs,us,zs,Bs,Es,Tt,$b,cc,$h,ev,ev,ev];var xb=[fv,au,Xt,lu];var yb=[gv,Oq,Uq,gv];var zb=[hv,hc,ic,mc,qc,uc,yc,Cc,Gc,Kc,Oc,Pc,Tc,Xc,$c,dd,hd,ld,pd,Fd,Nd,Od,Pd,Qd,Rd,Gd,Hd,Fl,Gl,Hl,Il,Jl,Kl,pl,ql,rl,sl,be,de,fe,he,je,xl,yl,zl,Al,ff,gf,hf,jf,mf,nf,of,pf,tg,Of,Pf,wg,Wf,Pk,nj,uj,bl,Aj,Hj,Mk,Nk,Qk,cl,tl,ul,vl,wl,Bl,Cl,Dl,El,em,fm,gm,km,lm,pm,qm,en,fn,Gn,Hn,Xn,Yn,jo,ko,Qo,Ro,vp,xp,Ap,Bp,Ep,Fp,Pp,Qp,_p,$p,jq,kq,uq,vq,Eq,Fq,Mq,Nq,Sq,Tq,Yq,Zq,br,cr,fr,gr,rr,Ar,Br,Tr,Vr,Wr,Xr,es,fs,ls,ms,ss,ts,Gs,Hs,Is,Nt,_t,Rt,St,Pt,eu,gu,iu,Sf,pg,gh,dh,ch,th,xh,um,vm,xq,cj,Lt,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv,hv];var Ab=[iv,Rk,oj,vj,Bj,Ij,dl,Ip,Jp,Kp,Lp,Np,Op,Tp,Up,Vp,Wp,Yp,Zp,cq,dq,eq,fq,hq,iq,nq,oq,pq,qq,sq,tq,ar,sr,is,js,ks,ps,qs,rs,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv,iv];var Bb=[jv,rm,xm,Em,Hm,Km,Nm,Qm,Tm,Ym,$m,cn,gn,jn,nn,pn,rn,tn,vn,xn,Bn,Dn,Fn,On,Qn,bo,eo,mo,oo,po,ro,to,To,Vo,Wo,Yo,_o,Rq,Xq,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv,jv];var Cb=[kv,Rn,Vn,fo,ho,kv,kv,kv];var Db=[lv,jc,nc,rc,vc,zc,Dc,Hc,Lc,Qc,Uc,Yc,ad,ed,id,md,qd,Vk,Wk,Kd,Zk,ce,ee,ge,ie,ke,oh,pj,rj,wj,Yk,hl,il,Cj,Ej,Jj,kl,ll,lo,Jo,Ko,Lo,Mo,No,Oo,Po,So,op,pp,qp,rp,sp,tp,up,Gp,Hp,Mp,Rp,Sp,Xp,aq,bq,gq,lq,mq,rq,mr,nr,qr,Fr,Gr,Ir,gs,hs,ns,os,wr,xr,zr,Or,Pr,Sr,hu,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv,lv];var Eb=[mv];var Fb=[nv,It,Kt,nv];var Gb=[ov,wo,bp,hr,jr,Cr,Dr,tr,ur,Jr,Lr,ov,ov,ov,ov,ov];var Hb=[pv,bs,vs,ws,xs,Ds,pv,pv];var Ib=[qv,Id,Tk,fl,$q,er,$t,Vt,ju,qv,qv,qv,qv,qv,qv,qv];var Jb=[rv,kc,oc,sc,wc,Ac,Ec,Ic,Mc,Rc,Vc,Zc,bd,fd,jd,nd,rd,Ld,Md,sd,td,ud,vd,wd,sj,al,_k,yj,Fj,ol,ml,Lj,Yr,_r,as,ys,As,Cs,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv,rv];var Kb=[sv,hm,mm,In,Jn,Pn,Wn,Zn,_n,co,io,lr,or,Er,Hr,ds,Fs,vr,yr,Nr,Qr,sv,sv,sv,sv,sv,sv,sv,sv,sv,sv,sv];var Lb=[tv,Jd,Uk,gl,im,nm,bu,Yt,nu,tv,tv,tv,tv,tv,tv,tv];return{_i64Subtract:wu,_free:cj,_round:Eu,_i64Add:yu,_memmove:Du,_uci_command:_d,_init:$d,_memset:xu,_llvm_cttz_i32:Cu,_malloc:bj,_llvm_ctlz_i64:Fu,_memcpy:Bu,_bitshift64Lshr:zu,_bitshift64Shl:Au,__GLOBAL__I_000101:kj,__GLOBAL__sub_I_position_cpp:cf,__GLOBAL__sub_I_iostream_cpp:Mj,__GLOBAL__sub_I_ucioption_cpp:bh,__GLOBAL__sub_I_uci_cpp:Og,__GLOBAL__sub_I_tt_cpp:Jg,__GLOBAL__sub_I_timeman_cpp:Hg,__GLOBAL__sub_I_thread_cpp:xg,__GLOBAL__sub_I_search_cpp:qg,__GLOBAL__sub_I_psqt_cpp:Mf,__GLOBAL__sub_I_bitbase_cpp:Xb,__GLOBAL__sub_I_pawns_cpp:Xe,__GLOBAL__sub_I_movepick_cpp:Re,__GLOBAL__sub_I_movegen_cpp:se,__GLOBAL__sub_I_misc_cpp:me,__GLOBAL__sub_I_material_cpp:ae,__GLOBAL__sub_I_main_cpp:Xd,__GLOBAL__sub_I_evaluate_cpp:xd,__GLOBAL__sub_I_endgame_cpp:dc,__GLOBAL__sub_I_bitboard_cpp:Yb,runPostSets:vu,stackAlloc:Mb,stackSave:Nb,stackRestore:Ob,establishStackSpace:Pb,setThrew:Qb,setTempRet0:Tb,getTempRet0:Ub,dynCall_iiiiiiii:Ou,dynCall_iiii:Pu,dynCall_viiiii:Qu,dynCall_iiiiiid:Ru,dynCall_vi:Su,dynCall_vii:Tu,dynCall_iiiiiii:Uu,dynCall_iiiiid:Vu,dynCall_ii:Wu,dynCall_viii:Xu,dynCall_v:Yu,dynCall_iiiiiiiii:Zu,dynCall_iiiii:_u,dynCall_viiiiii:$u,dynCall_iii:av,dynCall_iiiiii:bv,dynCall_viiii:cv}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__sub_I_misc_cpp=Module["__GLOBAL__sub_I_misc_cpp"]=asm["__GLOBAL__sub_I_misc_cpp"];var _uci_command=Module["_uci_command"]=asm["_uci_command"];var _init=Module["_init"]=asm["_init"];var __GLOBAL__sub_I_main_cpp=Module["__GLOBAL__sub_I_main_cpp"]=asm["__GLOBAL__sub_I_main_cpp"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var __GLOBAL__sub_I_endgame_cpp=Module["__GLOBAL__sub_I_endgame_cpp"]=asm["__GLOBAL__sub_I_endgame_cpp"];var _llvm_ctlz_i64=Module["_llvm_ctlz_i64"]=asm["_llvm_ctlz_i64"];var __GLOBAL__sub_I_bitbase_cpp=Module["__GLOBAL__sub_I_bitbase_cpp"]=asm["__GLOBAL__sub_I_bitbase_cpp"];var _memset=Module["_memset"]=asm["_memset"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var __GLOBAL__sub_I_position_cpp=Module["__GLOBAL__sub_I_position_cpp"]=asm["__GLOBAL__sub_I_position_cpp"];var __GLOBAL__sub_I_pawns_cpp=Module["__GLOBAL__sub_I_pawns_cpp"]=asm["__GLOBAL__sub_I_pawns_cpp"];var __GLOBAL__sub_I_ucioption_cpp=Module["__GLOBAL__sub_I_ucioption_cpp"]=asm["__GLOBAL__sub_I_ucioption_cpp"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var __GLOBAL__sub_I_bitboard_cpp=Module["__GLOBAL__sub_I_bitboard_cpp"]=asm["__GLOBAL__sub_I_bitboard_cpp"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var __GLOBAL__sub_I_thread_cpp=Module["__GLOBAL__sub_I_thread_cpp"]=asm["__GLOBAL__sub_I_thread_cpp"];var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_psqt_cpp=Module["__GLOBAL__sub_I_psqt_cpp"]=asm["__GLOBAL__sub_I_psqt_cpp"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var __GLOBAL__sub_I_timeman_cpp=Module["__GLOBAL__sub_I_timeman_cpp"]=asm["__GLOBAL__sub_I_timeman_cpp"];var __GLOBAL__sub_I_material_cpp=Module["__GLOBAL__sub_I_material_cpp"]=asm["__GLOBAL__sub_I_material_cpp"];var __GLOBAL__sub_I_movegen_cpp=Module["__GLOBAL__sub_I_movegen_cpp"]=asm["__GLOBAL__sub_I_movegen_cpp"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _round=Module["_round"]=asm["_round"];var __GLOBAL__sub_I_tt_cpp=Module["__GLOBAL__sub_I_tt_cpp"]=asm["__GLOBAL__sub_I_tt_cpp"];var _memmove=Module["_memmove"]=asm["_memmove"];var __GLOBAL__sub_I_evaluate_cpp=Module["__GLOBAL__sub_I_evaluate_cpp"]=asm["__GLOBAL__sub_I_evaluate_cpp"];var _malloc=Module["_malloc"]=asm["_malloc"];var __GLOBAL__sub_I_search_cpp=Module["__GLOBAL__sub_I_search_cpp"]=asm["__GLOBAL__sub_I_search_cpp"];var __GLOBAL__sub_I_movepick_cpp=Module["__GLOBAL__sub_I_movepick_cpp"]=asm["__GLOBAL__sub_I_movepick_cpp"];var __GLOBAL__sub_I_uci_cpp=Module["__GLOBAL__sub_I_uci_cpp"]=asm["__GLOBAL__sub_I_uci_cpp"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=asm["stackAlloc"];Runtime.stackSave=asm["stackSave"];Runtime.stackRestore=asm["stackRestore"];Runtime.establishStackSpace=asm["establishStackSpace"];Runtime.setTempRet0=asm["setTempRet0"];Runtime.getTempRet0=asm["getTempRet0"];function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{if(e&&typeof e==="object"&&e.stack)Module.printErr("exception thrown: "+[e,e.stack]);throw e}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}else if(ENVIRONMENT_IS_SHELL&&typeof quit==="function"){quit(status)}throw new ExitStatus(status)}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();var ourSetImmediate=(function(global,undefined){"use strict";if(global.setImmediate){try{return global.setImmediate.bind(global)}catch(e){return global.setImmediate}}var nextHandle=1;var tasksByHandle={};var currentlyRunningATask=false;var doc=global.document;var setImmediate;function addFromSetImmediateArguments(args){tasksByHandle[nextHandle]=partiallyApplied.apply(undefined,args);return nextHandle++}function partiallyApplied(handler){var args=[].slice.call(arguments,1);return(function(){if(typeof handler==="function"){handler.apply(undefined,args)}else{(new Function(""+handler))()}})}function runIfPresent(handle){if(currentlyRunningATask){setTimeout(partiallyApplied(runIfPresent,handle),0)}else{var task=tasksByHandle[handle];if(task){currentlyRunningATask=true;try{task()}finally{clearImmediate(handle);currentlyRunningATask=false}}}}function clearImmediate(handle){delete tasksByHandle[handle]}function installNextTickImplementation(){setImmediate=(function(){var handle=addFromSetImmediateArguments(arguments);process.nextTick(partiallyApplied(runIfPresent,handle));return handle})}function canUsePostMessage(){if(global.postMessage&&!global.importScripts){var postMessageIsAsynchronous=true;var oldOnMessage=global.onmessage;global.onmessage=(function(){postMessageIsAsynchronous=false});global.postMessage("","*");global.onmessage=oldOnMessage;return postMessageIsAsynchronous}}function installPostMessageImplementation(){var messagePrefix="setImmediate$"+Math.random()+"$";var onGlobalMessage=(function(event){if(event.source===global&&typeof event.data==="string"&&event.data.indexOf(messagePrefix)===0){runIfPresent(+event.data.slice(messagePrefix.length))}});if(global.addEventListener){global.addEventListener("message",onGlobalMessage,false)}else{global.attachEvent("onmessage",onGlobalMessage)}setImmediate=(function(){var handle=addFromSetImmediateArguments(arguments);global.postMessage(messagePrefix+handle,"*");return handle})}function installMessageChannelImplementation(){var channel=new MessageChannel;channel.port1.onmessage=(function(event){var handle=event.data;runIfPresent(handle)});setImmediate=(function(){var handle=addFromSetImmediateArguments(arguments);channel.port2.postMessage(handle);return handle})}function installReadyStateChangeImplementation(){var html=doc.documentElement;setImmediate=(function(){var handle=addFromSetImmediateArguments(arguments);var script=doc.createElement("script");script.onreadystatechange=(function(){runIfPresent(handle);script.onreadystatechange=null;html.removeChild(script);script=null});html.appendChild(script);return handle})}function installSetTimeoutImplementation(){setImmediate=(function(){var handle=addFromSetImmediateArguments(arguments);setTimeout(partiallyApplied(runIfPresent,handle),0);return handle})}if({}.toString.call(global.process)==="[object process]"){installNextTickImplementation()}else if(canUsePostMessage()){installPostMessageImplementation()}else if(global.MessageChannel){installMessageChannelImplementation()}else if(doc&&"onreadystatechange"in doc.createElement("script")){installReadyStateChangeImplementation()}else{installSetTimeoutImplementation()}return setImmediate})(typeof self==="undefined"?typeof global==="undefined"?this:global:self);Browser.requestAnimationFrame=ourSetImmediate;return Module}return(function(){var my_console,Module,return_val,cmds=[],wait=typeof setImmediate==="function"?setImmediate:setTimeout;my_console={log:function log(line){if(return_val.onmessage){return_val.onmessage(line)}else{console.error("You must set onmessage");console.info(line)}},time:function time(s){if(typeof console!=="undefined"&&console.time)console.time(s)},timeEnd:function timeEnd(s){if(typeof console!=="undefined"&&console.timeEnd)console.timeEnd(s)}};return_val={postMessage:function send_message(str,sync){function ccall(){if(Module){Module.ccall("uci_command","number",["string"],[cmds.shift()])}else{setTimeout(ccall,100)}}cmds.push(str);if(sync){ccall()}else{wait(ccall,1)}}};wait((function(){Module=load_stockfish(my_console);if(Module.print){Module.print=my_console.log}if(Module.printErr){Module.printErr=my_console.log}Module.ccall("init","number",[],[])}),1);return return_val})})();((function(){var is_node,stockfish;function completer(line){var completions=["d","eval","exit","flip","go","isready","ponderhit","position fen ","position startpos","position startpos moves","quit","setoption name Clear Hash value ","setoption name Contempt value ","setoption name Hash value ","setoption name Minimum Thinking Time value ","setoption name Move Overhead value ","setoption name MultiPV value ","setoption name Ponder value ","setoption name Skill Level Maximum Error value ","setoption name Skill Level Probability value ","setoption name Skill Level value ","setoption name Slow Mover value ","setoption name Threads value ","setoption name UCI_Chess960 value false","setoption name UCI_Chess960 value true","setoption name UCI_Variant value chess","setoption name UCI_Variant value atomic","setoption name UCI_Variant value crazyhouse","setoption name UCI_Variant value giveaway","setoption name UCI_Variant value horde","setoption name UCI_Variant value kingofthehill","setoption name UCI_Variant value racingkings","setoption name UCI_Variant value relay","setoption name UCI_Variant value threecheck","setoption name nodestime value ","stop","uci","ucinewgame"];var completions_mid=["binc ","btime ","confidence ","depth ","infinite ","mate ","maxdepth ","maxtime ","mindepth ","mintime ","moves ","movestogo ","movetime ","ponder ","searchmoves ","shallow ","winc ","wtime "];function filter(c){return c.indexOf(line)===0}var hits=completions.filter(filter);if(!hits.length){line=line.replace(/^.*\s/,"");if(line){hits=completions_mid.filter(filter)}else{hits=completions_mid}}return[hits,line]}is_node=typeof global!=="undefined"&&Object.prototype.toString.call(global.process)==="[object process]";if(is_node){if(require.main===module){stockfish=STOCKFISH();stockfish.onmessage=function onlog(line){console.log(line)};require("readline").createInterface({input:process.stdin,output:process.stdout,completer:completer,historySize:100}).on("line",function online(line){if(line){if(line==="quit"||line==="exit"){process.exit()}stockfish.postMessage(line,true)}}).setPrompt("");process.stdin.on("end",function onend(){process.exit()})}else{module.exports=STOCKFISH}}else if(typeof onmessage!=="undefined"&&(typeof window==="undefined"||typeof window.document==="undefined")){stockfish=STOCKFISH();onmessage=(function(event){stockfish.postMessage(event.data,true)});stockfish.onmessage=function onlog(line){postMessage(line)}}}))()
/******** https://github.com/JacobPox/LichessBot ********/
var stockfish = STOCKFISH();
var score = 0;
var isWhite = false;
var fen = "";
var gameStarted = false;
initialise();
async function initialise()
{
while (!gameStarted || typeof lichess.socket == 'undefined')
{
await sleep(1000);
// Get color information and initial FEN from html
var documentPlayerString = document.documentElement.innerHTML.split("player\":{\"color\":\"")[1].split("\"")[0];
gameStarted = documentPlayerString == "white" || documentPlayerString == "black";
isWhite = documentPlayerString == "white";
}
getInitialFen();
if (isMyTurn())
{
makeMove();
}
}
function replaceAll(str, find, replace)
{
return str.replace(new RegExp(find, 'g'), replace);
}
function findNewOpponent()
{
var buttons = document.getElementsByClassName("button");
var i;
for (i = 0; i < buttons.length; i++)
{
if (buttons[i].outerHTML.includes("hook")) // hook or pool
{
buttons[i].click();
return true;
}
}
return false;
}
function isMyTurn()
{
return (isWhite && fen.includes(" w")) || (!isWhite && fen.includes(" b"));
}
// Extract FEN from html
function getInitialFen()
{
var fensHtml = document.documentElement.innerHTML.split("fen");
fen = fensHtml[fensHtml.length - 1].split("\"}]")[0].substring(3).split("\"")[0];
}
// Intercept inputs from websockets
var ws = window.WebSocket;
window.WebSocket = function (a, b)
{
var that = b ? new ws(a, b) : new ws(a);
that.addEventListener("message", function (e)
{
// If game is over then search for new game
//findNewOpponent();
var message = JSON.parse(e.data);
if (typeof message.d != 'undefined' && typeof message.v != 'undefined' && typeof message.d.fen != 'undefined')
{
// Note : this fen is not complete, it only contains the first field
fen = message.d.fen;
// add player to move to fen
var isWhitesTurn = message.v % 2 == 0;
if (isWhitesTurn)
{
fen += " w";
}
else
{
fen += " b";
}
if (isMyTurn())
{
makeMove();
}
return;
}
});
return that;
};
window.WebSocket.prototype = ws.prototype;
// Send request to stockfish
function makeMove()
{
// Look at stockfish.js documentation to add more nerfs / customisations to stockfish here
stockfish.postMessage("position fen " + fen);
stockfish.postMessage("setoption name Skill Level " + 20);
stockfish.postMessage("go wtime 0"); // stockfish response will trigger a move
}
function sleep(ms)
{
return new Promise(resolve => setTimeout(resolve, ms));
}
// Response from stockfish js -> move
stockfish.onmessage = async function(event) {
if (event && event.includes("bestmove"))
{
var newScore = parseInt(event.split("score")[1].split("cp ")[1]);
var bestMove = replaceAll(event.split("bestmove")[1], " ", "");
var moveTime = "0"; // "0" means each move is a pre-move
score = newScore;
// Send websocket move request to lichess server
lichess.socket.send("move",{"u":bestMove});
lichess.socket.send("move",{"u":bestMove,"s":moveTime});
}
};
WebSocket.prototype.send = function (send) {
return function (data) {
console.log("S : " + data);
return send.apply(this, arguments);
};
}(WebSocket.prototype.send);