Last active
December 15, 2015 10:49
-
-
Save charltoons/5248664 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code | |
// Note: Some Emscripten settings may limit the speed of the generated code. | |
try { | |
this['Module'] = Module; | |
} catch(e) { | |
this['Module'] = Module = {}; | |
} | |
// The environment setup code below is customized to use Module. | |
// *** Environment setup code *** | |
var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; | |
var ENVIRONMENT_IS_WEB = typeof window === 'object'; | |
var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function'; | |
var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; | |
if (ENVIRONMENT_IS_NODE) { | |
// Expose functionality in the same simple way that the shells work | |
// Note that we pollute the global namespace here, otherwise we break in node | |
Module['print'] = function(x) { | |
process['stdout'].write(x + '\n'); | |
}; | |
Module['printErr'] = function(x) { | |
process['stderr'].write(x + '\n'); | |
}; | |
var nodeFS = require('fs'); | |
var nodePath = require('path'); | |
Module['read'] = function(filename) { | |
filename = nodePath['normalize'](filename); | |
var ret = nodeFS['readFileSync'](filename).toString(); | |
// The path is absolute if the normalized version is the same as the resolved. | |
if (!ret && filename != nodePath['resolve'](filename)) { | |
filename = path.join(__dirname, '..', 'src', filename); | |
ret = nodeFS['readFileSync'](filename).toString(); | |
} | |
return ret; | |
}; | |
Module['load'] = function(f) { | |
globalEval(read(f)); | |
}; | |
if (!Module['arguments']) { | |
Module['arguments'] = process['argv'].slice(2); | |
} | |
} | |
if (ENVIRONMENT_IS_SHELL) { | |
Module['print'] = print; | |
if (typeof printErr != 'undefined') Module['printErr'] = printErr; // not present in v8 or older sm | |
// Polyfill over SpiderMonkey/V8 differences | |
if (typeof read != 'undefined') { | |
Module['read'] = read; | |
} else { | |
Module['read'] = function(f) { snarf(f) }; | |
} | |
if (!Module['arguments']) { | |
if (typeof scriptArgs != 'undefined') { | |
Module['arguments'] = scriptArgs; | |
} else if (typeof arguments != 'undefined') { | |
Module['arguments'] = arguments; | |
} | |
} | |
} | |
if (ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_WORKER) { | |
if (!Module['print']) { | |
Module['print'] = function(x) { | |
console.log(x); | |
}; | |
} | |
if (!Module['printErr']) { | |
Module['printErr'] = function(x) { | |
console.log(x); | |
}; | |
} | |
} | |
if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { | |
Module['read'] = function(url) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, false); | |
xhr.send(null); | |
return xhr.responseText; | |
}; | |
if (!Module['arguments']) { | |
if (typeof arguments != 'undefined') { | |
Module['arguments'] = arguments; | |
} | |
} | |
} | |
if (ENVIRONMENT_IS_WORKER) { | |
// We can do very little here... | |
var TRY_USE_DUMP = false; | |
if (!Module['print']) { | |
Module['print'] = (TRY_USE_DUMP && (typeof(dump) !== "undefined") ? (function(x) { | |
dump(x); | |
}) : (function(x) { | |
// self.postMessage(x); // enable this if you want stdout to be sent as messages | |
})); | |
} | |
Module['load'] = importScripts; | |
} | |
if (!ENVIRONMENT_IS_WORKER && !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_SHELL) { | |
// Unreachable because SHELL is dependant on the others | |
throw 'Unknown runtime environment. Where are we?'; | |
} | |
function globalEval(x) { | |
eval.call(null, x); | |
} | |
if (!Module['load'] == 'undefined' && Module['read']) { | |
Module['load'] = function(f) { | |
globalEval(Module['read'](f)); | |
}; | |
} | |
if (!Module['print']) { | |
Module['print'] = function(){}; | |
} | |
if (!Module['printErr']) { | |
Module['printErr'] = Module['print']; | |
} | |
if (!Module['arguments']) { | |
Module['arguments'] = []; | |
} | |
// *** Environment setup code *** | |
// Closure helpers | |
Module.print = Module['print']; | |
Module.printErr = Module['printErr']; | |
// Callbacks | |
if (!Module['preRun']) Module['preRun'] = []; | |
if (!Module['postRun']) Module['postRun'] = []; | |
// === Auto-generated preamble library stuff === | |
//======================================== | |
// Runtime code shared with compiler | |
//======================================== | |
var Runtime = { | |
stackSave: function () { | |
return STACKTOP; | |
}, | |
stackRestore: function (stackTop) { | |
STACKTOP = stackTop; | |
}, | |
forceAlign: function (target, quantum) { | |
quantum = quantum || 4; | |
if (quantum == 1) return target; | |
if (isNumber(target) && isNumber(quantum)) { | |
return Math.ceil(target/quantum)*quantum; | |
} else if (isNumber(quantum) && isPowerOfTwo(quantum)) { | |
var logg = log2(quantum); | |
return '((((' +target + ')+' + (quantum-1) + ')>>' + logg + ')<<' + logg + ')'; | |
} | |
return 'Math.ceil((' + target + ')/' + quantum + ')*' + quantum; | |
}, | |
isNumberType: function (type) { | |
return type in Runtime.INT_TYPES || type in Runtime.FLOAT_TYPES; | |
}, | |
isPointerType: function isPointerType(type) { | |
return type[type.length-1] == '*'; | |
}, | |
isStructType: function isStructType(type) { | |
if (isPointerType(type)) return false; | |
if (/^\[\d+\ x\ (.*)\]/.test(type)) return true; // [15 x ?] blocks. Like structs | |
if (/<?{ ?[^}]* ?}>?/.test(type)) return true; // { i32, i8 } etc. - anonymous struct types | |
// See comment in isStructPointerType() | |
return type[0] == '%'; | |
}, | |
INT_TYPES: {"i1":0,"i8":0,"i16":0,"i32":0,"i64":0}, | |
FLOAT_TYPES: {"float":0,"double":0}, | |
or64: function (x, y) { | |
var l = (x | 0) | (y | 0); | |
var h = (Math.round(x / 4294967296) | Math.round(y / 4294967296)) * 4294967296; | |
return l + h; | |
}, | |
and64: function (x, y) { | |
var l = (x | 0) & (y | 0); | |
var h = (Math.round(x / 4294967296) & Math.round(y / 4294967296)) * 4294967296; | |
return l + h; | |
}, | |
xor64: function (x, y) { | |
var l = (x | 0) ^ (y | 0); | |
var h = (Math.round(x / 4294967296) ^ Math.round(y / 4294967296)) * 4294967296; | |
return l + h; | |
}, | |
getNativeTypeSize: function (type, quantumSize) { | |
if (Runtime.QUANTUM_SIZE == 1) return 1; | |
var size = { | |
'%i1': 1, | |
'%i8': 1, | |
'%i16': 2, | |
'%i32': 4, | |
'%i64': 8, | |
"%float": 4, | |
"%double": 8 | |
}['%'+type]; // add '%' since float and double confuse Closure compiler as keys, and also spidermonkey as a compiler will remove 's from '_i8' etc | |
if (!size) { | |
if (type.charAt(type.length-1) == '*') { | |
size = Runtime.QUANTUM_SIZE; // A pointer | |
} else if (type[0] == 'i') { | |
var bits = parseInt(type.substr(1)); | |
assert(bits % 8 == 0); | |
size = bits/8; | |
} | |
} | |
return size; | |
}, | |
getNativeFieldSize: function (type) { | |
return Math.max(Runtime.getNativeTypeSize(type), Runtime.QUANTUM_SIZE); | |
}, | |
dedup: function dedup(items, ident) { | |
var seen = {}; | |
if (ident) { | |
return items.filter(function(item) { | |
if (seen[item[ident]]) return false; | |
seen[item[ident]] = true; | |
return true; | |
}); | |
} else { | |
return items.filter(function(item) { | |
if (seen[item]) return false; | |
seen[item] = true; | |
return true; | |
}); | |
} | |
}, | |
set: function set() { | |
var args = typeof arguments[0] === 'object' ? arguments[0] : arguments; | |
var ret = {}; | |
for (var i = 0; i < args.length; i++) { | |
ret[args[i]] = 0; | |
} | |
return ret; | |
}, | |
calculateStructAlignment: function calculateStructAlignment(type) { | |
type.flatSize = 0; | |
type.alignSize = 0; | |
var diffs = []; | |
var prev = -1; | |
type.flatIndexes = type.fields.map(function(field) { | |
var size, alignSize; | |
if (Runtime.isNumberType(field) || Runtime.isPointerType(field)) { | |
size = Runtime.getNativeTypeSize(field); // pack char; char; in structs, also char[X]s. | |
alignSize = size; | |
} else if (Runtime.isStructType(field)) { | |
size = Types.types[field].flatSize; | |
alignSize = Types.types[field].alignSize; | |
} else if (field[0] == 'b') { | |
// bN, large number field, like a [N x i8] | |
size = field.substr(1)|0; | |
alignSize = 1; | |
} else { | |
throw 'Unclear type in struct: ' + field + ', in ' + type.name_ + ' :: ' + dump(Types.types[type.name_]); | |
} | |
alignSize = type.packed ? 1 : Math.min(alignSize, Runtime.QUANTUM_SIZE); | |
type.alignSize = Math.max(type.alignSize, alignSize); | |
var curr = Runtime.alignMemory(type.flatSize, alignSize); // if necessary, place this on aligned memory | |
type.flatSize = curr + size; | |
if (prev >= 0) { | |
diffs.push(curr-prev); | |
} | |
prev = curr; | |
return curr; | |
}); | |
type.flatSize = Runtime.alignMemory(type.flatSize, type.alignSize); | |
if (diffs.length == 0) { | |
type.flatFactor = type.flatSize; | |
} else if (Runtime.dedup(diffs).length == 1) { | |
type.flatFactor = diffs[0]; | |
} | |
type.needsFlattening = (type.flatFactor != 1); | |
return type.flatIndexes; | |
}, | |
generateStructInfo: function (struct, typeName, offset) { | |
var type, alignment; | |
if (typeName) { | |
offset = offset || 0; | |
type = (typeof Types === 'undefined' ? Runtime.typeInfo : Types.types)[typeName]; | |
if (!type) return null; | |
if (type.fields.length != struct.length) { | |
printErr('Number of named fields must match the type for ' + typeName + ': possibly duplicate struct names. Cannot return structInfo'); | |
return null; | |
} | |
alignment = type.flatIndexes; | |
} else { | |
var type = { fields: struct.map(function(item) { return item[0] }) }; | |
alignment = Runtime.calculateStructAlignment(type); | |
} | |
var ret = { | |
__size__: type.flatSize | |
}; | |
if (typeName) { | |
struct.forEach(function(item, i) { | |
if (typeof item === 'string') { | |
ret[item] = alignment[i] + offset; | |
} else { | |
// embedded struct | |
var key; | |
for (var k in item) key = k; | |
ret[key] = Runtime.generateStructInfo(item[key], type.fields[i], alignment[i]); | |
} | |
}); | |
} else { | |
struct.forEach(function(item, i) { | |
ret[item[1]] = alignment[i]; | |
}); | |
} | |
return ret; | |
}, | |
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); | |
} | |
}, | |
addFunction: function (func, sig) { | |
//assert(sig); // TODO: support asm | |
var table = FUNCTION_TABLE; // TODO: support asm | |
var ret = table.length; | |
table.push(func); | |
table.push(0); | |
return ret; | |
}, | |
removeFunction: function (index) { | |
var table = FUNCTION_TABLE; // TODO: support asm | |
table[index] = 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[func]) { | |
Runtime.funcWrappers[func] = function() { | |
Runtime.dynCall(sig, func, arguments); | |
}; | |
} | |
return Runtime.funcWrappers[func]; | |
}, | |
UTF8Processor: function () { | |
var buffer = []; | |
var needed = 0; | |
this.processCChar = function (code) { | |
code = code & 0xff; | |
if (needed) { | |
buffer.push(code); | |
needed--; | |
} | |
if (buffer.length == 0) { | |
if (code < 128) return String.fromCharCode(code); | |
buffer.push(code); | |
if (code > 191 && code < 224) { | |
needed = 1; | |
} else { | |
needed = 2; | |
} | |
return ''; | |
} | |
if (needed > 0) return ''; | |
var c1 = buffer[0]; | |
var c2 = buffer[1]; | |
var c3 = buffer[2]; | |
var ret; | |
if (c1 > 191 && c1 < 224) { | |
ret = String.fromCharCode(((c1 & 31) << 6) | (c2 & 63)); | |
} else { | |
ret = String.fromCharCode(((c1 & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); | |
} | |
buffer.length = 0; | |
return ret; | |
} | |
this.processJSString = function(string) { | |
string = unescape(encodeURIComponent(string)); | |
var ret = []; | |
for (var i = 0; i < string.length; i++) { | |
ret.push(string.charCodeAt(i)); | |
} | |
return ret; | |
} | |
}, | |
stackAlloc: function (size) { var ret = STACKTOP;STACKTOP = (STACKTOP + size)|0;STACKTOP = ((((STACKTOP)+3)>>2)<<2); return ret; }, | |
staticAlloc: function (size) { var ret = STATICTOP;STATICTOP = (STATICTOP + size)|0;STATICTOP = ((((STATICTOP)+3)>>2)<<2); if (STATICTOP >= TOTAL_MEMORY) enlargeMemory();; return ret; }, | |
alignMemory: function (size,quantum) { var ret = size = Math.ceil((size)/(quantum ? quantum : 4))*(quantum ? quantum : 4); return ret; }, | |
makeBigInt: function (low,high,unsigned) { var ret = (unsigned ? ((+(((low)>>>(0))))+((+(((high)>>>(0))))*(+(4294967296)))) : ((+(((low)>>>(0))))+((+(((high)|(0))))*(+(4294967296))))); return ret; }, | |
QUANTUM_SIZE: 4, | |
__dummy__: 0 | |
} | |
//======================================== | |
// Runtime essentials | |
//======================================== | |
var __THREW__ = 0; // Used in checking for thrown exceptions. | |
var setjmpId = 1; // Used in setjmp/longjmp | |
var setjmpLabels = {}; | |
var ABORT = false; | |
var undef = 0; | |
// tempInt is used for 32-bit signed values or smaller. tempBigInt is used | |
// for 32-bit unsigned values or more than 32 bits. TODO: audit all uses of tempInt | |
var tempValue, tempInt, tempBigInt, tempInt2, tempBigInt2, tempPair, tempBigIntI, tempBigIntR, tempBigIntS, tempBigIntP, tempBigIntD; | |
var tempI64, tempI64b; | |
var tempRet0, tempRet1, tempRet2, tempRet3, tempRet4, tempRet5, tempRet6, tempRet7, tempRet8, tempRet9; | |
function abort(text) { | |
Module.print(text + ':\n' + (new Error).stack); | |
ABORT = true; | |
throw "Assertion: " + text; | |
} | |
function assert(condition, text) { | |
if (!condition) { | |
abort('Assertion failed: ' + text); | |
} | |
} | |
var globalScope = this; | |
// C calling interface. A convenient way to call C functions (in C files, or | |
// defined with extern "C"). | |
// | |
// Note: LLVM optimizations can inline and remove functions, after which you will not be | |
// able to call them. Closure can also do so. To avoid that, add your function to | |
// the exports using something like | |
// | |
// -s EXPORTED_FUNCTIONS='["_main", "_myfunc"]' | |
// | |
// @param ident The name of the C function (note that C++ functions will be name-mangled - use extern "C") | |
// @param returnType The return type of the function, one of the JS types 'number', 'string' or 'array' (use 'number' for any C pointer, and | |
// 'array' for JavaScript arrays and typed arrays). | |
// @param argTypes An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType, | |
// except that 'array' is not possible (there is no way for us to know the length of the array) | |
// @param args An array of the arguments to the function, as native JS values (as in returnType) | |
// Note that string arguments will be stored on the stack (the JS string will become a C string on the stack). | |
// @return The return value, as a native JS value (as in returnType) | |
function ccall(ident, returnType, argTypes, args) { | |
return ccallFunc(getCFunc(ident), returnType, argTypes, args); | |
} | |
Module["ccall"] = ccall; | |
// Returns the C function with a specified identifier (for C++, you need to do manual name mangling) | |
function getCFunc(ident) { | |
try { | |
var func = globalScope['Module']['_' + ident]; // closure exported function | |
if (!func) func = eval('_' + ident); // explicit lookup | |
} catch(e) { | |
} | |
assert(func, 'Cannot call unknown function ' + ident + ' (perhaps LLVM optimizations or closure removed it?)'); | |
return func; | |
} | |
// Internal function that does a C call using a function, not an identifier | |
function ccallFunc(func, returnType, argTypes, args) { | |
var stack = 0; | |
function toC(value, type) { | |
if (type == 'string') { | |
if (value === null || value === undefined || value === 0) return 0; // null string | |
if (!stack) stack = Runtime.stackSave(); | |
var ret = Runtime.stackAlloc(value.length+1); | |
writeStringToMemory(value, ret); | |
return ret; | |
} else if (type == 'array') { | |
if (!stack) stack = Runtime.stackSave(); | |
var ret = Runtime.stackAlloc(value.length); | |
writeArrayToMemory(value, ret); | |
return ret; | |
} | |
return value; | |
} | |
function fromC(value, type) { | |
if (type == 'string') { | |
return Pointer_stringify(value); | |
} | |
assert(type != 'array'); | |
return value; | |
} | |
var i = 0; | |
var cArgs = args ? args.map(function(arg) { | |
return toC(arg, argTypes[i++]); | |
}) : []; | |
var ret = fromC(func.apply(null, cArgs), returnType); | |
if (stack) Runtime.stackRestore(stack); | |
return ret; | |
} | |
// Returns a native JS wrapper for a C function. This is similar to ccall, but | |
// returns a function you can call repeatedly in a normal way. For example: | |
// | |
// var my_function = cwrap('my_c_function', 'number', ['number', 'number']); | |
// alert(my_function(5, 22)); | |
// alert(my_function(99, 12)); | |
// | |
function cwrap(ident, returnType, argTypes) { | |
var func = getCFunc(ident); | |
return function() { | |
return ccallFunc(func, returnType, argTypes, Array.prototype.slice.call(arguments)); | |
} | |
} | |
Module["cwrap"] = cwrap; | |
// Sets a value in memory in a dynamic way at run-time. Uses the | |
// type data. This is the same as makeSetValue, except that | |
// makeSetValue is done at compile-time and generates the needed | |
// code then, whereas this function picks the right code at | |
// run-time. | |
// Note that setValue and getValue only do *aligned* writes and reads! | |
// Note that ccall uses JS types as for defining types, while setValue and | |
// getValue need LLVM types ('i8', 'i32') - this is a lower-level operation | |
function setValue(ptr, value, type, noSafe) { | |
type = type || 'i8'; | |
if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit | |
switch(type) { | |
case 'i1': HEAP8[(ptr)]=value; break; | |
case 'i8': HEAP8[(ptr)]=value; break; | |
case 'i16': HEAP16[((ptr)>>1)]=value; break; | |
case 'i32': HEAP32[((ptr)>>2)]=value; break; | |
case 'i64': (tempI64 = [value>>>0,Math.min(Math.floor((value)/(+(4294967296))), (+(4294967295)))>>>0],HEAP32[((ptr)>>2)]=tempI64[0],HEAP32[(((ptr)+(4))>>2)]=tempI64[1]); break; | |
case 'float': HEAPF32[((ptr)>>2)]=value; break; | |
case 'double': (HEAPF64[(tempDoublePtr)>>3]=value,HEAP32[((ptr)>>2)]=((HEAP32[((tempDoublePtr)>>2)])|0),HEAP32[(((ptr)+(4))>>2)]=((HEAP32[(((tempDoublePtr)+(4))>>2)])|0)); break; | |
default: abort('invalid type for setValue: ' + type); | |
} | |
} | |
Module['setValue'] = setValue; | |
// Parallel to setValue. | |
function getValue(ptr, type, noSafe) { | |
type = type || 'i8'; | |
if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit | |
switch(type) { | |
case 'i1': return HEAP8[(ptr)]; | |
case 'i8': return HEAP8[(ptr)]; | |
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 (HEAP32[((tempDoublePtr)>>2)]=HEAP32[((ptr)>>2)],HEAP32[(((tempDoublePtr)+(4))>>2)]=HEAP32[(((ptr)+(4))>>2)],(+(HEAPF64[(tempDoublePtr)>>3]))); | |
default: abort('invalid type for setValue: ' + type); | |
} | |
return null; | |
} | |
Module['getValue'] = getValue; | |
var ALLOC_NORMAL = 0; // Tries to use _malloc() | |
var ALLOC_STACK = 1; // Lives for the duration of the current function call | |
var ALLOC_STATIC = 2; // Cannot be freed | |
var ALLOC_NONE = 3; // Do not allocate | |
Module['ALLOC_NORMAL'] = ALLOC_NORMAL; | |
Module['ALLOC_STACK'] = ALLOC_STACK; | |
Module['ALLOC_STATIC'] = ALLOC_STATIC; | |
Module['ALLOC_NONE'] = ALLOC_NONE; | |
// allocate(): This is for internal use. You can use it yourself as well, but the interface | |
// is a little tricky (see docs right below). The reason is that it is optimized | |
// for multiple syntaxes to save space in generated code. So you should | |
// normally not use allocate(), and instead allocate memory using _malloc(), | |
// initialize it with setValue(), and so forth. | |
// @slab: An array of data, or a number. If a number, then the size of the block to allocate, | |
// in *bytes* (note that this is sometimes confusing: the next parameter does not | |
// affect this!) | |
// @types: Either an array of types, one for each byte (or 0 if no type at that position), | |
// or a single type which is used for the entire block. This only matters if there | |
// is initial data - if @slab is a number, then this does not matter at all and is | |
// ignored. | |
// @allocator: How to allocate memory, see ALLOC_* | |
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 = [_malloc, Runtime.stackAlloc, Runtime.staticAlloc][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') { | |
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'; // special case: we have one i32 here, and one i32 later | |
setValue(ret+i, curr, type); | |
// no need to look up size unless type changes, so cache it | |
if (previousType !== type) { | |
typeSize = Runtime.getNativeTypeSize(type); | |
previousType = type; | |
} | |
i += typeSize; | |
} | |
return ret; | |
} | |
Module['allocate'] = allocate; | |
function Pointer_stringify(ptr, /* optional */ length) { | |
// Find the length, and check for UTF while doing so | |
var hasUtf = false; | |
var t; | |
var i = 0; | |
while (1) { | |
t = HEAPU8[(((ptr)+(i))|0)]; | |
if (t >= 128) hasUtf = true; | |
else if (t == 0 && !length) break; | |
i++; | |
if (length && i == length) break; | |
} | |
if (!length) length = i; | |
var ret = ''; | |
if (!hasUtf) { | |
var MAX_CHUNK = 1024; // split up into chunks, because .apply on a huge string can overflow the stack | |
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; | |
} | |
var utf8 = new Runtime.UTF8Processor(); | |
for (i = 0; i < length; i++) { | |
t = HEAPU8[(((ptr)+(i))|0)]; | |
ret += utf8.processCChar(t); | |
} | |
return ret; | |
} | |
Module['Pointer_stringify'] = Pointer_stringify; | |
// Memory management | |
var PAGE_SIZE = 4096; | |
function alignMemoryPage(x) { | |
return ((x+4095)>>12)<<12; | |
} | |
var HEAP; | |
var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; | |
var STACK_ROOT, STACKTOP, STACK_MAX; | |
var STATICTOP; | |
function enlargeMemory() { | |
abort('Cannot enlarge memory arrays in asm.js. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, or (2) set Module.TOTAL_MEMORY before the program runs.'); | |
} | |
var TOTAL_STACK = Module['TOTAL_STACK'] || 5242880; | |
var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || 16777216; | |
var FAST_MEMORY = Module['FAST_MEMORY'] || 2097152; | |
// Initialize the runtime's memory | |
// check for full engine support (use string 'subarray' to avoid closure compiler confusion) | |
assert(!!Int32Array && !!Float64Array && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']), | |
'Cannot fallback to non-typed array case: Code is too specialized'); | |
var buffer = new ArrayBuffer(TOTAL_MEMORY); | |
HEAP8 = new Int8Array(buffer); | |
HEAP16 = new Int16Array(buffer); | |
HEAP32 = new Int32Array(buffer); | |
HEAPU8 = new Uint8Array(buffer); | |
HEAPU16 = new Uint16Array(buffer); | |
HEAPU32 = new Uint32Array(buffer); | |
HEAPF32 = new Float32Array(buffer); | |
HEAPF64 = new Float64Array(buffer); | |
// Endianness check (note: assumes compiler arch was little-endian) | |
HEAP32[0] = 255; | |
assert(HEAPU8[0] === 255 && HEAPU8[3] === 0, 'Typed arrays 2 must be run on a little-endian system'); | |
Module['HEAP'] = HEAP; | |
Module['HEAP8'] = HEAP8; | |
Module['HEAP16'] = HEAP16; | |
Module['HEAP32'] = HEAP32; | |
Module['HEAPU8'] = HEAPU8; | |
Module['HEAPU16'] = HEAPU16; | |
Module['HEAPU32'] = HEAPU32; | |
Module['HEAPF32'] = HEAPF32; | |
Module['HEAPF64'] = HEAPF64; | |
STACK_ROOT = STACKTOP = Runtime.alignMemory(1); | |
STACK_MAX = TOTAL_STACK; // we lose a little stack here, but TOTAL_STACK is nice and round so use that as the max | |
var tempDoublePtr = Runtime.alignMemory(allocate(12, 'i8', ALLOC_STACK), 8); | |
assert(tempDoublePtr % 8 == 0); | |
function copyTempFloat(ptr) { // functions, because inlining this code increases code size too much | |
HEAP8[tempDoublePtr] = HEAP8[ptr]; | |
HEAP8[tempDoublePtr+1] = HEAP8[ptr+1]; | |
HEAP8[tempDoublePtr+2] = HEAP8[ptr+2]; | |
HEAP8[tempDoublePtr+3] = HEAP8[ptr+3]; | |
} | |
function copyTempDouble(ptr) { | |
HEAP8[tempDoublePtr] = HEAP8[ptr]; | |
HEAP8[tempDoublePtr+1] = HEAP8[ptr+1]; | |
HEAP8[tempDoublePtr+2] = HEAP8[ptr+2]; | |
HEAP8[tempDoublePtr+3] = HEAP8[ptr+3]; | |
HEAP8[tempDoublePtr+4] = HEAP8[ptr+4]; | |
HEAP8[tempDoublePtr+5] = HEAP8[ptr+5]; | |
HEAP8[tempDoublePtr+6] = HEAP8[ptr+6]; | |
HEAP8[tempDoublePtr+7] = HEAP8[ptr+7]; | |
} | |
STATICTOP = STACK_MAX; | |
assert(STATICTOP < TOTAL_MEMORY); // Stack must fit in TOTAL_MEMORY; allocations from here on may enlarge TOTAL_MEMORY | |
var nullString = allocate(intArrayFromString('(null)'), 'i8', ALLOC_STACK); | |
function callRuntimeCallbacks(callbacks) { | |
while(callbacks.length > 0) { | |
var callback = callbacks.shift(); | |
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 __ATINIT__ = []; // functions called during startup | |
var __ATMAIN__ = []; // functions called when main() is to be run | |
var __ATEXIT__ = []; // functions called during shutdown | |
function initRuntime() { | |
callRuntimeCallbacks(__ATINIT__); | |
} | |
function preMain() { | |
callRuntimeCallbacks(__ATMAIN__); | |
} | |
function exitRuntime() { | |
callRuntimeCallbacks(__ATEXIT__); | |
} | |
// Tools | |
// This processes a JS string into a C-line array of numbers, 0-terminated. | |
// For LLVM-originating strings, see parser.js:parseLLVMString function | |
function intArrayFromString(stringy, dontAddNull, length /* optional */) { | |
var ret = (new Runtime.UTF8Processor()).processJSString(stringy); | |
if (length) { | |
ret.length = length; | |
} | |
if (!dontAddNull) { | |
ret.push(0); | |
} | |
return ret; | |
} | |
Module['intArrayFromString'] = intArrayFromString; | |
function intArrayToString(array) { | |
var ret = []; | |
for (var i = 0; i < array.length; i++) { | |
var chr = array[i]; | |
if (chr > 0xFF) { | |
chr &= 0xFF; | |
} | |
ret.push(String.fromCharCode(chr)); | |
} | |
return ret.join(''); | |
} | |
Module['intArrayToString'] = intArrayToString; | |
// Write a Javascript array to somewhere in the heap | |
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)+(i))|0)]=array[i]; | |
} | |
} | |
Module['writeArrayToMemory'] = writeArrayToMemory; | |
function unSign(value, bits, ignore, sig) { | |
if (value >= 0) { | |
return value; | |
} | |
return bits <= 32 ? 2*Math.abs(1 << (bits-1)) + value // Need some trickery, since if bits == 32, we are right at the limit of the bits JS uses in bitshifts | |
: Math.pow(2, bits) + value; | |
} | |
function reSign(value, bits, ignore, sig) { | |
if (value <= 0) { | |
return value; | |
} | |
var half = bits <= 32 ? Math.abs(1 << (bits-1)) // abs is needed if bits == 32 | |
: Math.pow(2, bits-1); | |
if (value >= half && (bits <= 32 || value > half)) { // for huge values, we can hit the precision limit and always get true here. so don't do that | |
// but, in general there is no perfect solution here. With 64-bit ints, we get rounding and errors | |
// TODO: In i64 mode 1, resign the two parts separately and safely | |
value = -2*half + value; // Cannot bitshift half, as it may be at the limit of the bits JS uses in bitshifts | |
} | |
return value; | |
} | |
if (!Math.imul) Math.imul = function(a, b) { | |
var ah = a >>> 16; | |
var al = a & 0xffff; | |
var bh = b >>> 16; | |
var bl = b & 0xffff; | |
return (al*bl + ((ah*bl + al*bh) << 16))|0; | |
}; | |
// A counter of dependencies for calling run(). If we need to | |
// do asynchronous work before running, increment this and | |
// decrement it. Incrementing must happen in a place like | |
// PRE_RUN_ADDITIONS (used by emcc to add file preloading). | |
// Note that you can add dependencies in preRun, even though | |
// it happens right before run - run will be postponed until | |
// the dependencies are met. | |
var runDependencies = 0; | |
var runDependencyTracking = {}; | |
var calledRun = false; | |
var runDependencyWatcher = null; | |
function addRunDependency(id) { | |
runDependencies++; | |
if (Module['monitorRunDependencies']) { | |
Module['monitorRunDependencies'](runDependencies); | |
} | |
if (id) { | |
assert(!runDependencyTracking[id]); | |
runDependencyTracking[id] = 1; | |
if (runDependencyWatcher === null && typeof setInterval !== 'undefined') { | |
// Check for missing dependencies every few seconds | |
runDependencyWatcher = setInterval(function() { | |
var shown = false; | |
for (var dep in runDependencyTracking) { | |
if (!shown) { | |
shown = true; | |
Module.printErr('still waiting on run dependencies:'); | |
} | |
Module.printErr('dependency: ' + dep); | |
} | |
if (shown) { | |
Module.printErr('(end of list)'); | |
} | |
}, 6000); | |
} | |
} else { | |
Module.printErr('warning: run dependency added without ID'); | |
} | |
} | |
Module['addRunDependency'] = addRunDependency; | |
function removeRunDependency(id) { | |
runDependencies--; | |
if (Module['monitorRunDependencies']) { | |
Module['monitorRunDependencies'](runDependencies); | |
} | |
if (id) { | |
assert(runDependencyTracking[id]); | |
delete runDependencyTracking[id]; | |
} else { | |
Module.printErr('warning: run dependency removed without ID'); | |
} | |
if (runDependencies == 0) { | |
if (runDependencyWatcher !== null) { | |
clearInterval(runDependencyWatcher); | |
runDependencyWatcher = null; | |
} | |
// If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false) | |
if (!calledRun && shouldRunNow) run(); | |
} | |
} | |
Module['removeRunDependency'] = removeRunDependency; | |
Module["preloadedImages"] = {}; // maps url to image data | |
Module["preloadedAudios"] = {}; // maps url to audio data | |
// === Body === | |
assert(STATICTOP == STACK_MAX); assert(STACK_MAX == TOTAL_STACK); | |
STATICTOP += 12948; | |
assert(STATICTOP < TOTAL_MEMORY); | |
var _stdout; | |
var _stdin; | |
var _stderr; | |
__ATINIT__ = __ATINIT__.concat([ | |
{ func: function() { __GLOBAL__I_a() } }, | |
{ func: function() { __GLOBAL__I_a285() } } | |
]); | |
var ___dso_handle; | |
var __ZTVN10__cxxabiv120__si_class_type_infoE; | |
var __ZTVN10__cxxabiv117__class_type_infoE; | |
var _stdout = _stdout=allocate(4, "i8", ALLOC_STATIC); | |
var _stdin = _stdin=allocate(4, "i8", ALLOC_STATIC); | |
var _stderr = _stderr=allocate(4, "i8", ALLOC_STATIC); | |
allocate([0,0,0,0,0,0,36,64,0,0,0,0,0,0,89,64,0,0,0,0,0,136,195,64,0,0,0,0,132,215,151,65,0,128,224,55,121,195,65,67,23,110,5,181,181,184,147,70,245,249,63,233,3,79,56,77,50,29,48,249,72,119,130,90,60,191,115,127,221,79,21,117], "i8", ALLOC_NONE, 5242880); | |
allocate(24, "i8", ALLOC_NONE, 5242952); | |
allocate([65,0,0,0,112,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5242976); | |
allocate([77,0,0,0,97,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5242992); | |
allocate([70,0,0,0,101,0,0,0,98,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243008); | |
allocate([74,0,0,0,97,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243024); | |
allocate([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], "i8", ALLOC_NONE, 5243040); | |
allocate([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], "i8", ALLOC_NONE, 5243076); | |
allocate([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], "i8", ALLOC_NONE, 5243112); | |
allocate([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], "i8", ALLOC_NONE, 5243144); | |
allocate([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], "i8", ALLOC_NONE, 5243184); | |
allocate([74,0,0,0,117,0,0,0,108,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243212); | |
allocate([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] /* unsupported locale f */, "i8", ALLOC_NONE, 5243232); | |
allocate([74,0,0,0,117,0,0,0,110,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243272); | |
allocate([65,0,0,0,112,0,0,0,114,0,0,0,105,0,0,0,108,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243292); | |
allocate([77,0,0,0,97,0,0,0,114,0,0,0,99,0,0,0,104,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243316); | |
allocate([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], "i8", ALLOC_NONE, 5243340); | |
allocate([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], "i8", ALLOC_NONE, 5243376); | |
allocate([80,77,0] /* PM\00 */, "i8", ALLOC_NONE, 5243408); | |
allocate([65,77,0] /* AM\00 */, "i8", ALLOC_NONE, 5243412); | |
allocate([98,97,115,105,99,95,115,116,114,105,110,103,0] /* basic_string\00 */, "i8", ALLOC_NONE, 5243416); | |
allocate([80,0,0,0,77,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243432); | |
allocate([65,0,0,0,77,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243444); | |
allocate([108,111,99,97,108,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0] /* locale not supported */, "i8", ALLOC_NONE, 5243456); | |
allocate([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], "i8", ALLOC_NONE, 5243480); | |
allocate([37,73,58,37,77,58,37,83,32,37,112,0] /* %I:%M:%S %p\00 */, "i8", ALLOC_NONE, 5243528); | |
allocate([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], "i8", ALLOC_NONE, 5243540); | |
allocate([37,97,32,37,98,32,37,100,32,37,72,58,37,77,58,37,83,32,37,89,0] /* %a %b %d %H:%M:%S %Y */, "i8", ALLOC_NONE, 5243624); | |
allocate([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], "i8", ALLOC_NONE, 5243648); | |
allocate([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], "i8", ALLOC_NONE, 5243684); | |
allocate([102,0,0,0,97,0,0,0,108,0,0,0,115,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243720); | |
allocate([102,97,108,115,101,0] /* false\00 */, "i8", ALLOC_NONE, 5243744); | |
allocate([116,0,0,0,114,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243752); | |
allocate([118,101,99,116,111,114,0] /* vector\00 */, "i8", ALLOC_NONE, 5243772); | |
allocate([115,116,100,58,58,98,97,100,95,97,108,108,111,99,0] /* std::bad_alloc\00 */, "i8", ALLOC_NONE, 5243780); | |
allocate([37,46,48,76,102,0] /* %.0Lf\00 */, "i8", ALLOC_NONE, 5243796); | |
allocate([109,111,110,101,121,95,103,101,116,32,101,114,114,111,114,0] /* money_get error\00 */, "i8", ALLOC_NONE, 5243804); | |
allocate([37,76,102,0] /* %Lf\00 */, "i8", ALLOC_NONE, 5243820); | |
allocate([37,112,0] /* %p\00 */, "i8", ALLOC_NONE, 5243824); | |
allocate([105,111,115,95,98,97,115,101,58,58,99,108,101,97,114,0] /* ios_base::clear\00 */, "i8", ALLOC_NONE, 5243828); | |
allocate([84,105,109,101,32,69,108,112,97,115,101,100,58,32,0] /* Time Elpased: \00 */, "i8", ALLOC_NONE, 5243844); | |
allocate([67,0] /* C\00 */, "i8", ALLOC_NONE, 5243860); | |
allocate([83,97,116,0] /* Sat\00 */, "i8", ALLOC_NONE, 5243864); | |
allocate([70,114,105,0] /* Fri\00 */, "i8", ALLOC_NONE, 5243868); | |
allocate([84,104,117,0] /* Thu\00 */, "i8", ALLOC_NONE, 5243872); | |
allocate([87,101,100,0] /* Wed\00 */, "i8", ALLOC_NONE, 5243876); | |
allocate([84,117,101,0] /* Tue\00 */, "i8", ALLOC_NONE, 5243880); | |
allocate([77,111,110,0] /* Mon\00 */, "i8", ALLOC_NONE, 5243884); | |
allocate([83,117,110,0] /* Sun\00 */, "i8", ALLOC_NONE, 5243888); | |
allocate([83,97,116,117,114,100,97,121,0] /* Saturday\00 */, "i8", ALLOC_NONE, 5243892); | |
allocate([105,111,115,116,114,101,97,109,0] /* iostream\00 */, "i8", ALLOC_NONE, 5243904); | |
allocate([70,114,105,100,97,121,0] /* Friday\00 */, "i8", ALLOC_NONE, 5243916); | |
allocate([84,104,117,114,115,100,97,121,0] /* Thursday\00 */, "i8", ALLOC_NONE, 5243924); | |
allocate([87,101,100,110,101,115,100,97,121,0] /* Wednesday\00 */, "i8", ALLOC_NONE, 5243936); | |
allocate([84,117,101,115,100,97,121,0] /* Tuesday\00 */, "i8", ALLOC_NONE, 5243948); | |
allocate([77,111,110,100,97,121,0] /* Monday\00 */, "i8", ALLOC_NONE, 5243956); | |
allocate([83,117,110,100,97,121,0] /* Sunday\00 */, "i8", ALLOC_NONE, 5243964); | |
allocate([115,116,100,58,58,98,97,100,95,99,97,115,116,0] /* std::bad_cast\00 */, "i8", ALLOC_NONE, 5243972); | |
allocate([83,0,0,0,97,0,0,0,116,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243988); | |
allocate([70,0,0,0,114,0,0,0,105,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244004); | |
allocate([84,0,0,0,104,0,0,0,117,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244020); | |
allocate([87,0,0,0,101,0,0,0,100,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244036); | |
allocate([84,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244052); | |
allocate([77,0,0,0,111,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244068); | |
allocate([83,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244084); | |
allocate([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], "i8", ALLOC_NONE, 5244100); | |
allocate([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], "i8", ALLOC_NONE, 5244136); | |
allocate([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], "i8", ALLOC_NONE, 5244164); | |
allocate([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], "i8", ALLOC_NONE, 5244200); | |
allocate([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], "i8", ALLOC_NONE, 5244240); | |
allocate([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], "i8", ALLOC_NONE, 5244272); | |
allocate([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], "i8", ALLOC_NONE, 5244300); | |
allocate([68,101,99,0] /* Dec\00 */, "i8", ALLOC_NONE, 5244328); | |
allocate([78,111,118,0] /* Nov\00 */, "i8", ALLOC_NONE, 5244332); | |
allocate([79,99,116,0] /* Oct\00 */, "i8", ALLOC_NONE, 5244336); | |
allocate([83,101,112,0] /* Sep\00 */, "i8", ALLOC_NONE, 5244340); | |
allocate([65,117,103,0] /* Aug\00 */, "i8", ALLOC_NONE, 5244344); | |
allocate([74,117,108,0] /* Jul\00 */, "i8", ALLOC_NONE, 5244348); | |
allocate([74,117,110,0] /* Jun\00 */, "i8", ALLOC_NONE, 5244352); | |
allocate([65,112,114,0] /* Apr\00 */, "i8", ALLOC_NONE, 5244356); | |
allocate([77,97,114,0] /* Mar\00 */, "i8", ALLOC_NONE, 5244360); | |
allocate([70,101,98,0] /* Feb\00 */, "i8", ALLOC_NONE, 5244364); | |
allocate([74,97,110,0] /* Jan\00 */, "i8", ALLOC_NONE, 5244368); | |
allocate([58,32,0] /* : \00 */, "i8", ALLOC_NONE, 5244372); | |
allocate([68,101,99,101,109,98,101,114,0] /* December\00 */, "i8", ALLOC_NONE, 5244376); | |
allocate([78,111,118,101,109,98,101,114,0] /* November\00 */, "i8", ALLOC_NONE, 5244388); | |
allocate([79,99,116,111,98,101,114,0] /* October\00 */, "i8", ALLOC_NONE, 5244400); | |
allocate([83,101,112,116,101,109,98,101,114,0] /* September\00 */, "i8", ALLOC_NONE, 5244408); | |
allocate([65,117,103,117,115,116,0] /* August\00 */, "i8", ALLOC_NONE, 5244420); | |
allocate([117,110,115,112,101,99,105,102,105,101,100,32,105,111,115,116,114,101,97,109,95,99,97,116,101,103,111,114,121,32,101,114,114,111,114,0] /* unspecified iostream */, "i8", ALLOC_NONE, 5244428); | |
allocate([74,117,108,121,0] /* July\00 */, "i8", ALLOC_NONE, 5244464); | |
allocate([74,117,110,101,0] /* June\00 */, "i8", ALLOC_NONE, 5244472); | |
allocate([77,97,121,0] /* May\00 */, "i8", ALLOC_NONE, 5244480); | |
allocate([65,112,114,105,108,0] /* April\00 */, "i8", ALLOC_NONE, 5244484); | |
allocate([77,97,114,99,104,0] /* March\00 */, "i8", ALLOC_NONE, 5244492); | |
allocate([70,101,98,114,117,97,114,121,0] /* February\00 */, "i8", ALLOC_NONE, 5244500); | |
allocate([74,97,110,117,97,114,121,0] /* January\00 */, "i8", ALLOC_NONE, 5244512); | |
allocate([68,0,0,0,101,0,0,0,99,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244520); | |
allocate([78,0,0,0,111,0,0,0,118,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244536); | |
allocate([79,0,0,0,99,0,0,0,116,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244552); | |
allocate([83,0,0,0,101,0,0,0,112,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244568); | |
allocate([65,0,0,0,117,0,0,0,103,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244584); | |
allocate([74,0,0,0,117,0,0,0,108,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244600); | |
allocate([74,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244616); | |
allocate([77,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244632); | |
allocate([69,110,100,0] /* End\00 */, "i8", ALLOC_NONE, 5244648); | |
allocate([66,101,103,105,110,0] /* Begin\00 */, "i8", ALLOC_NONE, 5244652); | |
allocate(472, "i8", ALLOC_NONE, 5244660); | |
var ___dso_handle = ___dso_handle=allocate(4, "i8", ALLOC_STATIC); | |
allocate(288, "i8", ALLOC_NONE, 5245132); | |
allocate(168, "i8", ALLOC_NONE, 5245420); | |
allocate(288, "i8", ALLOC_NONE, 5245588); | |
allocate(288, "i8", ALLOC_NONE, 5245876); | |
allocate(168, "i8", ALLOC_NONE, 5246164); | |
allocate(288, "i8", ALLOC_NONE, 5246332); | |
allocate(4, "i8", ALLOC_NONE, 5246620); | |
allocate(4, "i8", ALLOC_NONE, 5246624); | |
allocate(4, "i8", ALLOC_NONE, 5246628); | |
allocate(4, "i8", ALLOC_NONE, 5246632); | |
allocate(4, "i8", ALLOC_NONE, 5246636); | |
allocate(4, "i8", ALLOC_NONE, 5246640); | |
allocate(8, "i8", ALLOC_NONE, 5246644); | |
allocate(8, "i8", ALLOC_NONE, 5246652); | |
allocate(8, "i8", ALLOC_NONE, 5246660); | |
allocate(8, "i8", ALLOC_NONE, 5246668); | |
allocate(12, "i8", ALLOC_NONE, 5246676); | |
allocate(12, "i8", ALLOC_NONE, 5246688); | |
allocate(12, "i8", ALLOC_NONE, 5246700); | |
allocate(12, "i8", ALLOC_NONE, 5246712); | |
allocate(28, "i8", ALLOC_NONE, 5246724); | |
allocate(24, "i8", ALLOC_NONE, 5246752); | |
allocate(8, "i8", ALLOC_NONE, 5246776); | |
allocate(8, "i8", ALLOC_NONE, 5246784); | |
allocate(8, "i8", ALLOC_NONE, 5246792); | |
allocate(8, "i8", ALLOC_NONE, 5246800); | |
allocate(8, "i8", ALLOC_NONE, 5246808); | |
allocate(8, "i8", ALLOC_NONE, 5246816); | |
allocate(8, "i8", ALLOC_NONE, 5246824); | |
allocate(8, "i8", ALLOC_NONE, 5246832); | |
allocate(12, "i8", ALLOC_NONE, 5246840); | |
allocate(8, "i8", ALLOC_NONE, 5246852); | |
allocate(8, "i8", ALLOC_NONE, 5246860); | |
allocate(8, "i8", ALLOC_NONE, 5246868); | |
allocate(148, "i8", ALLOC_NONE, 5246876); | |
allocate(8, "i8", ALLOC_NONE, 5247024); | |
allocate(16, "i8", ALLOC_NONE, 5247032); | |
allocate(8, "i8", ALLOC_NONE, 5247048); | |
allocate(8, "i8", ALLOC_NONE, 5247056); | |
allocate(8, "i8", ALLOC_NONE, 5247064); | |
allocate(8, "i8", ALLOC_NONE, 5247072); | |
allocate([48,49,50,51,52,53,54,55,56,57,0] /* 0123456789\00 */, "i8", ALLOC_NONE, 5247080); | |
allocate([48,49,50,51,52,53,54,55,56,57,0] /* 0123456789\00 */, "i8", ALLOC_NONE, 5247092); | |
allocate([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], "i8", ALLOC_NONE, 5247104); | |
allocate([37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0], "i8", ALLOC_NONE, 5247136); | |
allocate([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], "i8", ALLOC_NONE, 5247156); | |
allocate([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], "i8", ALLOC_NONE, 5247200); | |
allocate([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], "i8", ALLOC_NONE, 5247232); | |
allocate([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], "i8", ALLOC_NONE, 5247264); | |
allocate([37,72,58,37,77,58,37,83] /* %H:%M:%S */, "i8", ALLOC_NONE, 5247296); | |
allocate([37,72,58,37,77] /* %H:%M */, "i8", ALLOC_NONE, 5247304); | |
allocate([37,73,58,37,77,58,37,83,32,37,112] /* %I:%M:%S %p */, "i8", ALLOC_NONE, 5247312); | |
allocate([37,89,45,37,109,45,37,100] /* %Y-%m-%d */, "i8", ALLOC_NONE, 5247324); | |
allocate([37,109,47,37,100,47,37,121] /* %m/%d/%y */, "i8", ALLOC_NONE, 5247332); | |
allocate([37,72,58,37,77,58,37,83] /* %H:%M:%S */, "i8", ALLOC_NONE, 5247340); | |
allocate([37,0,0,0,0,0] /* %\00\00\00\00\00 */, "i8", ALLOC_NONE, 5247348); | |
allocate([37,112,0,0,0,0] /* %p\00\00\00\00 */, "i8", ALLOC_NONE, 5247356); | |
allocate(4, "i8", ALLOC_NONE, 5247364); | |
allocate(4, "i8", ALLOC_NONE, 5247368); | |
allocate(4, "i8", ALLOC_NONE, 5247372); | |
allocate(12, "i8", ALLOC_NONE, 5247376); | |
allocate(12, "i8", ALLOC_NONE, 5247388); | |
allocate(12, "i8", ALLOC_NONE, 5247400); | |
allocate(12, "i8", ALLOC_NONE, 5247412); | |
allocate(4, "i8", ALLOC_NONE, 5247424); | |
allocate(4, "i8", ALLOC_NONE, 5247428); | |
allocate(4, "i8", ALLOC_NONE, 5247432); | |
allocate(12, "i8", ALLOC_NONE, 5247436); | |
allocate(12, "i8", ALLOC_NONE, 5247448); | |
allocate(12, "i8", ALLOC_NONE, 5247460); | |
allocate(12, "i8", ALLOC_NONE, 5247472); | |
allocate([0,0,0,0,132,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247484); | |
allocate(1, "i8", ALLOC_NONE, 5247504); | |
allocate([0,0,0,0,144,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247508); | |
allocate(1, "i8", ALLOC_NONE, 5247528); | |
allocate([0,0,0,0,156,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247532); | |
allocate(1, "i8", ALLOC_NONE, 5247552); | |
allocate([0,0,0,0,168,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247556); | |
allocate(1, "i8", ALLOC_NONE, 5247576); | |
allocate([0,0,0,0,180,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247580); | |
allocate(1, "i8", ALLOC_NONE, 5247600); | |
allocate([0,0,0,0,200,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247604); | |
allocate(1, "i8", ALLOC_NONE, 5247632); | |
allocate([0,0,0,0,232,38,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247636); | |
allocate(1, "i8", ALLOC_NONE, 5247664); | |
allocate([0,0,0,0,8,39,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247668); | |
allocate(1, "i8", ALLOC_NONE, 5247696); | |
allocate([0,0,0,0,40,39,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247700); | |
allocate(1, "i8", ALLOC_NONE, 5247728); | |
allocate([0,0,0,0,192,39,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247732); | |
allocate(1, "i8", ALLOC_NONE, 5247756); | |
allocate([0,0,0,0,224,39,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247760); | |
allocate(1, "i8", ALLOC_NONE, 5247784); | |
allocate([0,0,0,0,0,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,255,255,255,0,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247788); | |
allocate(1, "i8", ALLOC_NONE, 5247872); | |
allocate([0,0,0,0,40,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,255,255,255,40,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247876); | |
allocate(1, "i8", ALLOC_NONE, 5247960); | |
allocate([0,0,0,0,80,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5247964); | |
allocate(1, "i8", ALLOC_NONE, 5248004); | |
allocate([0,0,0,0,92,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248008); | |
allocate(1, "i8", ALLOC_NONE, 5248048); | |
allocate([0,0,0,0,104,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248052); | |
allocate(1, "i8", ALLOC_NONE, 5248084); | |
allocate([0,0,0,0,136,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248088); | |
allocate(1, "i8", ALLOC_NONE, 5248120); | |
allocate([0,0,0,0,168,40,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248124); | |
allocate(1, "i8", ALLOC_NONE, 5248140); | |
allocate([0,0,0,0,176,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248144); | |
allocate(1, "i8", ALLOC_NONE, 5248164); | |
allocate([0,0,0,0,188,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248168); | |
allocate(1, "i8", ALLOC_NONE, 5248220); | |
allocate([0,0,0,0,220,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248224); | |
allocate(1, "i8", ALLOC_NONE, 5248276); | |
allocate([0,0,0,0,252,40,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248280); | |
allocate(1, "i8", ALLOC_NONE, 5248344); | |
allocate([0,0,0,0,28,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248348); | |
allocate(1, "i8", ALLOC_NONE, 5248412); | |
allocate([0,0,0,0,60,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248416); | |
allocate(1, "i8", ALLOC_NONE, 5248448); | |
allocate([0,0,0,0,72,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248452); | |
allocate(1, "i8", ALLOC_NONE, 5248484); | |
allocate([0,0,0,0,84,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248488); | |
allocate(1, "i8", ALLOC_NONE, 5248536); | |
allocate([0,0,0,0,116,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248540); | |
allocate(1, "i8", ALLOC_NONE, 5248588); | |
allocate([0,0,0,0,148,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248592); | |
allocate(1, "i8", ALLOC_NONE, 5248640); | |
allocate([0,0,0,0,180,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248644); | |
allocate(1, "i8", ALLOC_NONE, 5248692); | |
allocate([0,0,0,0,212,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248696); | |
allocate(1, "i8", ALLOC_NONE, 5248716); | |
allocate([0,0,0,0,224,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248720); | |
allocate(1, "i8", ALLOC_NONE, 5248740); | |
allocate([0,0,0,0,236,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248744); | |
allocate(1, "i8", ALLOC_NONE, 5248812); | |
allocate([0,0,0,0,12,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248816); | |
allocate(1, "i8", ALLOC_NONE, 5248868); | |
allocate([0,0,0,0,60,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248872); | |
allocate(1, "i8", ALLOC_NONE, 5248908); | |
allocate([0,0,0,0,72,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248912); | |
allocate(1, "i8", ALLOC_NONE, 5248960); | |
allocate([0,0,0,0,84,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5248964); | |
allocate(1, "i8", ALLOC_NONE, 5249012); | |
allocate([0,0,0,0,96,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249016); | |
allocate(1, "i8", ALLOC_NONE, 5249080); | |
allocate([0,0,0,0,104,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249084); | |
allocate(1, "i8", ALLOC_NONE, 5249148); | |
allocate([4,0,0,0,0,0,0,0,152,42,80,0,0,0,0,0,0,0,0,0,252,255,255,255,252,255,255,255,152,42,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249152); | |
allocate(1, "i8", ALLOC_NONE, 5249192); | |
allocate([4,0,0,0,0,0,0,0,176,42,80,0,0,0,0,0,0,0,0,0,252,255,255,255,252,255,255,255,176,42,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249196); | |
allocate(1, "i8", ALLOC_NONE, 5249236); | |
allocate([8,0,0,0,0,0,0,0,200,42,80,0,0,0,0,0,0,0,0,0,248,255,255,255,248,255,255,255,200,42,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249240); | |
allocate(1, "i8", ALLOC_NONE, 5249280); | |
allocate([8,0,0,0,0,0,0,0,224,42,80,0,0,0,0,0,0,0,0,0,248,255,255,255,248,255,255,255,224,42,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249284); | |
allocate(1, "i8", ALLOC_NONE, 5249324); | |
allocate([0,0,0,0,248,42,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249328); | |
allocate(1, "i8", ALLOC_NONE, 5249348); | |
allocate([0,0,0,0,24,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249352); | |
allocate(1, "i8", ALLOC_NONE, 5249416); | |
allocate([0,0,0,0,36,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249420); | |
allocate(1, "i8", ALLOC_NONE, 5249484); | |
allocate([0,0,0,0,80,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249488); | |
allocate(1, "i8", ALLOC_NONE, 5249544); | |
allocate([0,0,0,0,112,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249548); | |
allocate(1, "i8", ALLOC_NONE, 5249604); | |
allocate([0,0,0,0,144,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249608); | |
allocate(1, "i8", ALLOC_NONE, 5249664); | |
allocate([0,0,0,0,176,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249668); | |
allocate(1, "i8", ALLOC_NONE, 5249724); | |
allocate([0,0,0,0,232,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249728); | |
allocate(1, "i8", ALLOC_NONE, 5249792); | |
allocate([0,0,0,0,244,43,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249796); | |
allocate(1, "i8", ALLOC_NONE, 5249860); | |
allocate([0,0,0,0,0,44,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5249864); | |
allocate(1, "i8", ALLOC_NONE, 5249904); | |
__ZTVN10__cxxabiv120__si_class_type_infoE=allocate([0,0,0,0,12,44,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC); | |
allocate(1, "i8", ALLOC_STATIC); | |
__ZTVN10__cxxabiv117__class_type_infoE=allocate([0,0,0,0,24,44,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC); | |
allocate(1, "i8", ALLOC_STATIC); | |
allocate([83,116,57,116,121,112,101,95,105,110,102,111,0] /* St9type_info\00 */, "i8", ALLOC_NONE, 5249908); | |
allocate([83,116,57,101,120,99,101,112,116,105,111,110,0] /* St9exception\00 */, "i8", ALLOC_NONE, 5249924); | |
allocate([83,116,57,98,97,100,95,97,108,108,111,99,0] /* St9bad_alloc\00 */, "i8", ALLOC_NONE, 5249940); | |
allocate([83,116,56,98,97,100,95,99,97,115,116,0] /* St8bad_cast\00 */, "i8", ALLOC_NONE, 5249956); | |
allocate([83,116,49,51,114,117,110,116,105,109,101,95,101,114,114,111,114,0] /* St13runtime_error\00 */, "i8", ALLOC_NONE, 5249968); | |
allocate([83,116,49,50,108,101,110,103,116,104,95,101,114,114,111,114,0] /* St12length_error\00 */, "i8", ALLOC_NONE, 5249988); | |
allocate([83,116,49,49,108,111,103,105,99,95,101,114,114,111,114,0] /* St11logic_error\00 */, "i8", ALLOC_NONE, 5250008); | |
allocate([78,83,116,51,95,95,49,57,116,105,109,101,95,98,97,115,101,69,0] /* NSt3__19time_baseE\0 */, "i8", ALLOC_NONE, 5250024); | |
allocate([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] /* NSt3__19money_putIwN */, "i8", ALLOC_NONE, 5250044); | |
allocate([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] /* NSt3__19money_putIcN */, "i8", ALLOC_NONE, 5250116); | |
allocate([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] /* NSt3__19money_getIwN */, "i8", ALLOC_NONE, 5250188); | |
allocate([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] /* NSt3__19money_getIcN */, "i8", ALLOC_NONE, 5250260); | |
allocate([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] /* NSt3__19basic_iosIwN */, "i8", ALLOC_NONE, 5250332); | |
allocate([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] /* NSt3__19basic_iosIcN */, "i8", ALLOC_NONE, 5250376); | |
allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,119,69,69,0] /* NSt3__19__num_putIwE */, "i8", ALLOC_NONE, 5250420); | |
allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,99,69,69,0] /* NSt3__19__num_putIcE */, "i8", ALLOC_NONE, 5250444); | |
allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,119,69,69,0] /* NSt3__19__num_getIwE */, "i8", ALLOC_NONE, 5250468); | |
allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,99,69,69,0] /* NSt3__19__num_getIcE */, "i8", ALLOC_NONE, 5250492); | |
allocate([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] /* NSt3__18time_putIwNS */, "i8", ALLOC_NONE, 5250516); | |
allocate([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] /* NSt3__18time_putIcNS */, "i8", ALLOC_NONE, 5250588); | |
allocate([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] /* NSt3__18time_getIwNS */, "i8", ALLOC_NONE, 5250660); | |
allocate([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] /* NSt3__18time_getIcNS */, "i8", ALLOC_NONE, 5250732); | |
allocate([78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,119,69,69,0] /* NSt3__18numpunctIwEE */, "i8", ALLOC_NONE, 5250804); | |
allocate([78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,99,69,69,0] /* NSt3__18numpunctIcEE */, "i8", ALLOC_NONE, 5250828); | |
allocate([78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,119,69,69,0] /* NSt3__18messagesIwEE */, "i8", ALLOC_NONE, 5250852); | |
allocate([78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,99,69,69,0] /* NSt3__18messagesIcEE */, "i8", ALLOC_NONE, 5250876); | |
allocate([78,83,116,51,95,95,49,56,105,111,115,95,98,97,115,101,69,0] /* NSt3__18ios_baseE\00 */, "i8", ALLOC_NONE, 5250900); | |
allocate([78,83,116,51,95,95,49,56,105,111,115,95,98,97,115,101,55,102,97,105,108,117,114,101,69,0] /* NSt3__18ios_base7fai */, "i8", ALLOC_NONE, 5250920); | |
allocate([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,69,69,0] /* NSt3__17num_putIwNS_ */, "i8", ALLOC_NONE, 5250948); | |
allocate([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] /* NSt3__17num_putIcNS_ */, "i8", ALLOC_NONE, 5251016); | |
allocate([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] /* NSt3__17num_getIwNS_ */, "i8", ALLOC_NONE, 5251084); | |
allocate([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] /* NSt3__17num_getIcNS_ */, "i8", ALLOC_NONE, 5251152); | |
allocate([78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,119,69,69,0] /* NSt3__17collateIwEE\ */, "i8", ALLOC_NONE, 5251220); | |
allocate([78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,99,69,69,0] /* NSt3__17collateIcEE\ */, "i8", ALLOC_NONE, 5251240); | |
allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,119,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIwc10 */, "i8", ALLOC_NONE, 5251260); | |
allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,99,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIcc10 */, "i8", ALLOC_NONE, 5251296); | |
allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,115,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIDsc1 */, "i8", ALLOC_NONE, 5251332); | |
allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,105,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIDic1 */, "i8", ALLOC_NONE, 5251368); | |
allocate([78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,102,97,99,101,116,69,0] /* NSt3__16locale5facet */, "i8", ALLOC_NONE, 5251404); | |
allocate([78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,95,95,105,109,112,69,0] /* NSt3__16locale5__imp */, "i8", ALLOC_NONE, 5251428); | |
allocate([78,83,116,51,95,95,49,53,99,116,121,112,101,73,119,69,69,0] /* NSt3__15ctypeIwEE\00 */, "i8", ALLOC_NONE, 5251452); | |
allocate([78,83,116,51,95,95,49,53,99,116,121,112,101,73,99,69,69,0] /* NSt3__15ctypeIcEE\00 */, "i8", ALLOC_NONE, 5251472); | |
allocate([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] /* NSt3__120__time_get_ */, "i8", ALLOC_NONE, 5251492); | |
allocate([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] /* NSt3__120__time_get_ */, "i8", ALLOC_NONE, 5251528); | |
allocate([78,83,116,51,95,95,49,49,57,95,95,105,111,115,116,114,101,97,109,95,99,97,116,101,103,111,114,121,69,0] /* NSt3__119__iostream_ */, "i8", ALLOC_NONE, 5251564); | |
allocate([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] /* NSt3__117__widen_fro */, "i8", ALLOC_NONE, 5251596); | |
allocate([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] /* NSt3__116__narrow_to */, "i8", ALLOC_NONE, 5251632); | |
allocate([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] /* NSt3__115basic_strea */, "i8", ALLOC_NONE, 5251668); | |
allocate([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] /* NSt3__115basic_strea */, "i8", ALLOC_NONE, 5251720); | |
allocate([78,83,116,51,95,95,49,49,52,101,114,114,111,114,95,99,97,116,101,103,111,114,121,69,0] /* NSt3__114error_categ */, "i8", ALLOC_NONE, 5251772); | |
allocate([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] /* NSt3__114__shared_co */, "i8", ALLOC_NONE, 5251800); | |
allocate([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] /* NSt3__114__num_put_b */, "i8", ALLOC_NONE, 5251828); | |
allocate([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] /* NSt3__114__num_get_b */, "i8", ALLOC_NONE, 5251856); | |
allocate([78,83,116,51,95,95,49,49,51,109,101,115,115,97,103,101,115,95,98,97,115,101,69,0] /* NSt3__113messages_ba */, "i8", ALLOC_NONE, 5251884); | |
allocate([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] /* NSt3__113basic_ostre */, "i8", ALLOC_NONE, 5251908); | |
allocate([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] /* NSt3__113basic_ostre */, "i8", ALLOC_NONE, 5251956); | |
allocate([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] /* NSt3__113basic_istre */, "i8", ALLOC_NONE, 5252004); | |
allocate([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] /* NSt3__113basic_istre */, "i8", ALLOC_NONE, 5252052); | |
allocate([78,83,116,51,95,95,49,49,50,115,121,115,116,101,109,95,101,114,114,111,114,69,0] /* NSt3__112system_erro */, "i8", ALLOC_NONE, 5252100); | |
allocate([78,83,116,51,95,95,49,49,50,99,111,100,101,99,118,116,95,98,97,115,101,69,0] /* NSt3__112codecvt_bas */, "i8", ALLOC_NONE, 5252124); | |
allocate([78,83,116,51,95,95,49,49,50,95,95,100,111,95,109,101,115,115,97,103,101,69,0] /* NSt3__112__do_messag */, "i8", ALLOC_NONE, 5252148); | |
allocate([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] /* NSt3__111__stdoutbuf */, "i8", ALLOC_NONE, 5252172); | |
allocate([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] /* NSt3__111__stdoutbuf */, "i8", ALLOC_NONE, 5252200); | |
allocate([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] /* NSt3__111__money_put */, "i8", ALLOC_NONE, 5252228); | |
allocate([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] /* NSt3__111__money_put */, "i8", ALLOC_NONE, 5252256); | |
allocate([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] /* NSt3__111__money_get */, "i8", ALLOC_NONE, 5252284); | |
allocate([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] /* NSt3__111__money_get */, "i8", ALLOC_NONE, 5252312); | |
allocate([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] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5252340); | |
allocate([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] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5252368); | |
allocate([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] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5252396); | |
allocate([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] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5252424); | |
allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,95,98,97,115,101,69,0] /* NSt3__110money_baseE */, "i8", ALLOC_NONE, 5252452); | |
allocate([78,83,116,51,95,95,49,49,48,99,116,121,112,101,95,98,97,115,101,69,0] /* NSt3__110ctype_baseE */, "i8", ALLOC_NONE, 5252476); | |
allocate([78,83,116,51,95,95,49,49,48,95,95,116,105,109,101,95,112,117,116,69,0] /* NSt3__110__time_putE */, "i8", ALLOC_NONE, 5252500); | |
allocate([78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,119,69,69,0] /* NSt3__110__stdinbufI */, "i8", ALLOC_NONE, 5252524); | |
allocate([78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,99,69,69,0] /* NSt3__110__stdinbufI */, "i8", ALLOC_NONE, 5252548); | |
allocate([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] /* N10__cxxabiv121__vmi */, "i8", ALLOC_NONE, 5252572); | |
allocate([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] /* N10__cxxabiv120__si_ */, "i8", ALLOC_NONE, 5252612); | |
allocate([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] /* N10__cxxabiv117__cla */, "i8", ALLOC_NONE, 5252652); | |
allocate([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] /* N10__cxxabiv116__shi */, "i8", ALLOC_NONE, 5252688); | |
allocate(8, "i8", ALLOC_NONE, 5252724); | |
allocate(8, "i8", ALLOC_NONE, 5252732); | |
allocate([0,0,0,0,0,0,0,0,124,38,80,0], "i8", ALLOC_NONE, 5252740); | |
allocate([0,0,0,0,0,0,0,0,124,38,80,0], "i8", ALLOC_NONE, 5252752); | |
allocate([0,0,0,0,0,0,0,0,124,38,80,0], "i8", ALLOC_NONE, 5252764); | |
allocate([0,0,0,0,0,0,0,0,180,38,80,0], "i8", ALLOC_NONE, 5252776); | |
allocate([0,0,0,0,0,0,0,0,124,38,80,0], "i8", ALLOC_NONE, 5252788); | |
allocate(8, "i8", ALLOC_NONE, 5252800); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,48,43,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252808); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,56,43,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252840); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,64,43,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252872); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,72,43,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252904); | |
allocate([0,0,0,0,0,0,0,0,168,40,80,0], "i8", ALLOC_NONE, 5252936); | |
allocate([0,0,0,0,0,0,0,0,168,40,80,0], "i8", ALLOC_NONE, 5252948); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,128,42,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252960); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,128,42,80,0,0,0,0,0], "i8", ALLOC_NONE, 5252984); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,136,42,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253008); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,136,42,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253032); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,224,43,80,0,0,8,0,0], "i8", ALLOC_NONE, 5253056); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,224,43,80,0,0,8,0,0], "i8", ALLOC_NONE, 5253088); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,212,41,80,0,2,0,0,0,192,38,80,0,2,0,0,0,44,42,80,0,0,8,0,0], "i8", ALLOC_NONE, 5253120); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,212,41,80,0,2,0,0,0,192,38,80,0,2,0,0,0,52,42,80,0,0,8,0,0], "i8", ALLOC_NONE, 5253160); | |
allocate([0,0,0,0,0,0,0,0,212,41,80,0], "i8", ALLOC_NONE, 5253200); | |
allocate([0,0,0,0,0,0,0,0,212,41,80,0], "i8", ALLOC_NONE, 5253212); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,144,42,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253224); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,144,42,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253256); | |
allocate(8, "i8", ALLOC_NONE, 5253288); | |
allocate([0,0,0,0,0,0,0,0,248,42,80,0], "i8", ALLOC_NONE, 5253296); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,96,39,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253308); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,120,39,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253340); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,144,39,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253372); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,168,39,80,0,0,0,0,0], "i8", ALLOC_NONE, 5253404); | |
allocate([0,0,0,0,0,0,0,0,212,41,80,0], "i8", ALLOC_NONE, 5253436); | |
allocate([0,0,0,0,0,0,0,0,212,41,80,0], "i8", ALLOC_NONE, 5253448); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,4,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253460); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,4,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253492); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,4,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253524); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,4,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253556); | |
allocate([0,0,0,0,0,0,0,0,120,42,80,0], "i8", ALLOC_NONE, 5253588); | |
allocate([0,0,0,0,0,0,0,0,212,41,80,0], "i8", ALLOC_NONE, 5253600); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,216,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253612); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,216,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253644); | |
allocate(8, "i8", ALLOC_NONE, 5253676); | |
allocate(8, "i8", ALLOC_NONE, 5253684); | |
allocate([0,0,0,0,0,0,0,0,12,43,80,0], "i8", ALLOC_NONE, 5253692); | |
allocate([0,0,0,0,0,0,0,0,180,41,80,0], "i8", ALLOC_NONE, 5253704); | |
allocate([0,0,0,0,0,0,0,0,180,41,80,0], "i8", ALLOC_NONE, 5253716); | |
allocate(8, "i8", ALLOC_NONE, 5253728); | |
allocate(8, "i8", ALLOC_NONE, 5253736); | |
allocate(8, "i8", ALLOC_NONE, 5253744); | |
allocate(8, "i8", ALLOC_NONE, 5253752); | |
allocate(8, "i8", ALLOC_NONE, 5253760); | |
allocate(8, "i8", ALLOC_NONE, 5253768); | |
allocate(8, "i8", ALLOC_NONE, 5253776); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,72,39,80,0,3,244,255,255], "i8", ALLOC_NONE, 5253784); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,84,39,80,0,3,244,255,255], "i8", ALLOC_NONE, 5253808); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,72,39,80,0,3,244,255,255], "i8", ALLOC_NONE, 5253832); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,84,39,80,0,3,244,255,255], "i8", ALLOC_NONE, 5253856); | |
allocate([0,0,0,0,0,0,0,0,156,38,80,0], "i8", ALLOC_NONE, 5253880); | |
allocate(8, "i8", ALLOC_NONE, 5253892); | |
allocate([0,0,0,0,0,0,0,0,112,42,80,0], "i8", ALLOC_NONE, 5253900); | |
allocate([0,0,0,0,0,0,0,0,96,42,80,0], "i8", ALLOC_NONE, 5253912); | |
allocate([0,0,0,0,0,0,0,0,104,42,80,0], "i8", ALLOC_NONE, 5253924); | |
allocate(8, "i8", ALLOC_NONE, 5253936); | |
allocate(8, "i8", ALLOC_NONE, 5253944); | |
allocate(8, "i8", ALLOC_NONE, 5253952); | |
allocate(8, "i8", ALLOC_NONE, 5253960); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,208,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5253968); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,208,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5254000); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,208,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5254032); | |
allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,212,41,80,0,2,0,0,0,208,43,80,0,2,0,0,0], "i8", ALLOC_NONE, 5254064); | |
allocate(8, "i8", ALLOC_NONE, 5254096); | |
allocate(8, "i8", ALLOC_NONE, 5254104); | |
allocate(8, "i8", ALLOC_NONE, 5254112); | |
allocate([0,0,0,0,0,0,0,0,96,42,80,0], "i8", ALLOC_NONE, 5254120); | |
allocate([0,0,0,0,0,0,0,0,104,42,80,0], "i8", ALLOC_NONE, 5254132); | |
allocate([0,0,0,0,0,0,0,0,24,44,80,0], "i8", ALLOC_NONE, 5254144); | |
allocate([0,0,0,0,0,0,0,0,24,44,80,0], "i8", ALLOC_NONE, 5254156); | |
allocate([0,0,0,0,0,0,0,0,36,44,80,0], "i8", ALLOC_NONE, 5254168); | |
allocate([0,0,0,0,0,0,0,0,116,38,80,0], "i8", ALLOC_NONE, 5254180); | |
allocate(52, "i8", ALLOC_NONE, 5254192); | |
allocate(52, "i8", ALLOC_NONE, 5254244); | |
allocate(56, "i8", ALLOC_NONE, 5254296); | |
allocate(52, "i8", ALLOC_NONE, 5254352); | |
allocate(52, "i8", ALLOC_NONE, 5254404); | |
allocate(56, "i8", ALLOC_NONE, 5254456); | |
allocate([255,255,255,255], "i8", ALLOC_NONE, 5254512); | |
allocate([255,255,255,255], "i8", ALLOC_NONE, 5254516); | |
allocate(8, "i8", ALLOC_NONE, 5254520); | |
allocate(8, "i8", ALLOC_NONE, 5254528); | |
allocate(8, "i8", ALLOC_NONE, 5254536); | |
allocate(8, "i8", ALLOC_NONE, 5254544); | |
allocate(8, "i8", ALLOC_NONE, 5254552); | |
allocate(8, "i8", ALLOC_NONE, 5254560); | |
allocate(8, "i8", ALLOC_NONE, 5254568); | |
allocate(8, "i8", ALLOC_NONE, 5254576); | |
allocate(8, "i8", ALLOC_NONE, 5254584); | |
allocate(8, "i8", ALLOC_NONE, 5254592); | |
allocate(8, "i8", ALLOC_NONE, 5254600); | |
allocate(8, "i8", ALLOC_NONE, 5254608); | |
allocate(8, "i8", ALLOC_NONE, 5254616); | |
allocate(8, "i8", ALLOC_NONE, 5254624); | |
allocate(8, "i8", ALLOC_NONE, 5254632); | |
allocate(8, "i8", ALLOC_NONE, 5254640); | |
allocate(8, "i8", ALLOC_NONE, 5254648); | |
allocate(8, "i8", ALLOC_NONE, 5254656); | |
allocate(8, "i8", ALLOC_NONE, 5254664); | |
allocate(8, "i8", ALLOC_NONE, 5254672); | |
allocate(8, "i8", ALLOC_NONE, 5254680); | |
allocate(8, "i8", ALLOC_NONE, 5254688); | |
allocate(4, "i8", ALLOC_NONE, 5254696); | |
allocate(84, "i8", ALLOC_NONE, 5254700); | |
allocate(84, "i8", ALLOC_NONE, 5254784); | |
allocate(84, "i8", ALLOC_NONE, 5254868); | |
allocate(8, "i8", ALLOC_NONE, 5254952); | |
allocate(8, "i8", ALLOC_NONE, 5254960); | |
allocate(88, "i8", ALLOC_NONE, 5254968); | |
allocate(84, "i8", ALLOC_NONE, 5255056); | |
allocate(84, "i8", ALLOC_NONE, 5255140); | |
allocate(84, "i8", ALLOC_NONE, 5255224); | |
allocate(88, "i8", ALLOC_NONE, 5255308); | |
allocate(1, "i8", ALLOC_NONE, 5255396); | |
allocate([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] /* 0123456789abcdefABCD */, "i8", ALLOC_NONE, 5255400); | |
allocate(8, "i8", ALLOC_NONE, 5255436); | |
allocate(8, "i8", ALLOC_NONE, 5255444); | |
allocate(8, "i8", ALLOC_NONE, 5255452); | |
allocate(8, "i8", ALLOC_NONE, 5255460); | |
allocate(4, "i8", ALLOC_NONE, 5255468); | |
allocate(4, "i8", ALLOC_NONE, 5255472); | |
allocate(8, "i8", ALLOC_NONE, 5255476); | |
allocate(8, "i8", ALLOC_NONE, 5255484); | |
allocate(8, "i8", ALLOC_NONE, 5255492); | |
allocate(8, "i8", ALLOC_NONE, 5255500); | |
allocate(8, "i8", ALLOC_NONE, 5255508); | |
allocate(8, "i8", ALLOC_NONE, 5255516); | |
allocate(8, "i8", ALLOC_NONE, 5255524); | |
allocate(8, "i8", ALLOC_NONE, 5255532); | |
allocate(8, "i8", ALLOC_NONE, 5255540); | |
allocate(8, "i8", ALLOC_NONE, 5255548); | |
allocate(8, "i8", ALLOC_NONE, 5255556); | |
allocate(8, "i8", ALLOC_NONE, 5255564); | |
allocate(8, "i8", ALLOC_NONE, 5255572); | |
allocate(8, "i8", ALLOC_NONE, 5255580); | |
allocate(8, "i8", ALLOC_NONE, 5255588); | |
allocate(8, "i8", ALLOC_NONE, 5255596); | |
allocate(8, "i8", ALLOC_NONE, 5255604); | |
allocate(8, "i8", ALLOC_NONE, 5255612); | |
allocate(8, "i8", ALLOC_NONE, 5255620); | |
allocate(8, "i8", ALLOC_NONE, 5255628); | |
allocate(8, "i8", ALLOC_NONE, 5255636); | |
allocate(8, "i8", ALLOC_NONE, 5255644); | |
allocate(8, "i8", ALLOC_NONE, 5255652); | |
allocate(8, "i8", ALLOC_NONE, 5255660); | |
allocate(8, "i8", ALLOC_NONE, 5255668); | |
allocate(8, "i8", ALLOC_NONE, 5255676); | |
allocate(8, "i8", ALLOC_NONE, 5255684); | |
allocate(8, "i8", ALLOC_NONE, 5255692); | |
allocate(8, "i8", ALLOC_NONE, 5255700); | |
allocate(8, "i8", ALLOC_NONE, 5255708); | |
allocate(8, "i8", ALLOC_NONE, 5255716); | |
allocate(8, "i8", ALLOC_NONE, 5255724); | |
allocate(8, "i8", ALLOC_NONE, 5255732); | |
allocate(8, "i8", ALLOC_NONE, 5255740); | |
allocate(8, "i8", ALLOC_NONE, 5255748); | |
allocate(8, "i8", ALLOC_NONE, 5255756); | |
allocate(8, "i8", ALLOC_NONE, 5255764); | |
allocate(8, "i8", ALLOC_NONE, 5255772); | |
allocate(8, "i8", ALLOC_NONE, 5255780); | |
allocate(8, "i8", ALLOC_NONE, 5255788); | |
allocate(8, "i8", ALLOC_NONE, 5255796); | |
allocate(8, "i8", ALLOC_NONE, 5255804); | |
allocate(8, "i8", ALLOC_NONE, 5255812); | |
allocate(8, "i8", ALLOC_NONE, 5255820); | |
HEAP32[((5247492)>>2)]=(66); | |
HEAP32[((5247496)>>2)]=(306); | |
HEAP32[((5247500)>>2)]=(542); | |
HEAP32[((5247516)>>2)]=(514); | |
HEAP32[((5247520)>>2)]=(408); | |
HEAP32[((5247524)>>2)]=(204); | |
HEAP32[((5247540)>>2)]=(186); | |
HEAP32[((5247544)>>2)]=(722); | |
HEAP32[((5247548)>>2)]=(216); | |
HEAP32[((5247564)>>2)]=(248); | |
HEAP32[((5247568)>>2)]=(16); | |
HEAP32[((5247572)>>2)]=(582); | |
HEAP32[((5247588)>>2)]=(248); | |
HEAP32[((5247592)>>2)]=(40); | |
HEAP32[((5247596)>>2)]=(582); | |
HEAP32[((5247612)>>2)]=(416); | |
HEAP32[((5247616)>>2)]=(220); | |
HEAP32[((5247620)>>2)]=(116); | |
HEAP32[((5247624)>>2)]=(456); | |
HEAP32[((5247628)>>2)]=(48); | |
HEAP32[((5247644)>>2)]=(650); | |
HEAP32[((5247648)>>2)]=(464); | |
HEAP32[((5247652)>>2)]=(116); | |
HEAP32[((5247656)>>2)]=(676); | |
HEAP32[((5247660)>>2)]=(100); | |
HEAP32[((5247676)>>2)]=(474); | |
HEAP32[((5247680)>>2)]=(468); | |
HEAP32[((5247684)>>2)]=(116); | |
HEAP32[((5247688)>>2)]=(458); | |
HEAP32[((5247692)>>2)]=(696); | |
HEAP32[((5247708)>>2)]=(714); | |
HEAP32[((5247712)>>2)]=(360); | |
HEAP32[((5247716)>>2)]=(116); | |
HEAP32[((5247720)>>2)]=(444); | |
HEAP32[((5247724)>>2)]=(522); | |
HEAP32[((5247740)>>2)]=(704); | |
HEAP32[((5247744)>>2)]=(36); | |
HEAP32[((5247748)>>2)]=(116); | |
HEAP32[((5247752)>>2)]=(120); | |
HEAP32[((5247768)>>2)]=(404); | |
HEAP32[((5247772)>>2)]=(288); | |
HEAP32[((5247776)>>2)]=(116); | |
HEAP32[((5247780)>>2)]=(170); | |
HEAP32[((5247796)>>2)]=(84); | |
HEAP32[((5247800)>>2)]=(290); | |
HEAP32[((5247804)>>2)]=(116); | |
HEAP32[((5247808)>>2)]=(620); | |
HEAP32[((5247812)>>2)]=(20); | |
HEAP32[((5247816)>>2)]=(470); | |
HEAP32[((5247820)>>2)]=(28); | |
HEAP32[((5247824)>>2)]=(200); | |
HEAP32[((5247828)>>2)]=(622); | |
HEAP32[((5247832)>>2)]=(226); | |
HEAP32[((5247844)>>2)]=(112); | |
HEAP32[((5247848)>>2)]=(44); | |
HEAP32[((5247852)>>2)]=(178); | |
HEAP32[((5247856)>>2)]=(72); | |
HEAP32[((5247860)>>2)]=(8); | |
HEAP32[((5247864)>>2)]=(164); | |
HEAP32[((5247868)>>2)]=(652); | |
HEAP32[((5247884)>>2)]=(688); | |
HEAP32[((5247888)>>2)]=(632); | |
HEAP32[((5247892)>>2)]=(116); | |
HEAP32[((5247896)>>2)]=(108); | |
HEAP32[((5247900)>>2)]=(126); | |
HEAP32[((5247904)>>2)]=(654); | |
HEAP32[((5247908)>>2)]=(372); | |
HEAP32[((5247912)>>2)]=(162); | |
HEAP32[((5247916)>>2)]=(14); | |
HEAP32[((5247920)>>2)]=(602); | |
HEAP32[((5247932)>>2)]=(350); | |
HEAP32[((5247936)>>2)]=(556); | |
HEAP32[((5247940)>>2)]=(604); | |
HEAP32[((5247944)>>2)]=(640); | |
HEAP32[((5247948)>>2)]=(312); | |
HEAP32[((5247952)>>2)]=(238); | |
HEAP32[((5247956)>>2)]=(270); | |
HEAP32[((5247972)>>2)]=(210); | |
HEAP32[((5247976)>>2)]=(476); | |
HEAP32[((5247980)>>2)]=(116); | |
HEAP32[((5247984)>>2)]=(254); | |
HEAP32[((5247988)>>2)]=(224); | |
HEAP32[((5247992)>>2)]=(114); | |
HEAP32[((5247996)>>2)]=(352); | |
HEAP32[((5248000)>>2)]=(428); | |
HEAP32[((5248016)>>2)]=(152); | |
HEAP32[((5248020)>>2)]=(172); | |
HEAP32[((5248024)>>2)]=(116); | |
HEAP32[((5248028)>>2)]=(232); | |
HEAP32[((5248032)>>2)]=(462); | |
HEAP32[((5248036)>>2)]=(158); | |
HEAP32[((5248040)>>2)]=(450); | |
HEAP32[((5248044)>>2)]=(6); | |
HEAP32[((5248060)>>2)]=(692); | |
HEAP32[((5248064)>>2)]=(2); | |
HEAP32[((5248068)>>2)]=(116); | |
HEAP32[((5248072)>>2)]=(384); | |
HEAP32[((5248076)>>2)]=(708); | |
HEAP32[((5248080)>>2)]=(538); | |
HEAP32[((5248096)>>2)]=(110); | |
HEAP32[((5248100)>>2)]=(598); | |
HEAP32[((5248104)>>2)]=(116); | |
HEAP32[((5248108)>>2)]=(630); | |
HEAP32[((5248112)>>2)]=(208); | |
HEAP32[((5248116)>>2)]=(182); | |
HEAP32[((5248132)>>2)]=(614); | |
HEAP32[((5248136)>>2)]=(302); | |
HEAP32[((5248152)>>2)]=(62); | |
HEAP32[((5248156)>>2)]=(358); | |
HEAP32[((5248160)>>2)]=(216); | |
HEAP32[((5248176)>>2)]=(12); | |
HEAP32[((5248180)>>2)]=(424); | |
HEAP32[((5248184)>>2)]=(116); | |
HEAP32[((5248188)>>2)]=(96); | |
HEAP32[((5248192)>>2)]=(82); | |
HEAP32[((5248196)>>2)]=(76); | |
HEAP32[((5248200)>>2)]=(80); | |
HEAP32[((5248204)>>2)]=(74); | |
HEAP32[((5248208)>>2)]=(90); | |
HEAP32[((5248212)>>2)]=(88); | |
HEAP32[((5248216)>>2)]=(150); | |
HEAP32[((5248232)>>2)]=(252); | |
HEAP32[((5248236)>>2)]=(38); | |
HEAP32[((5248240)>>2)]=(116); | |
HEAP32[((5248244)>>2)]=(508); | |
HEAP32[((5248248)>>2)]=(512); | |
HEAP32[((5248252)>>2)]=(502); | |
HEAP32[((5248256)>>2)]=(510); | |
HEAP32[((5248260)>>2)]=(500); | |
HEAP32[((5248264)>>2)]=(506); | |
HEAP32[((5248268)>>2)]=(504); | |
HEAP32[((5248272)>>2)]=(426); | |
HEAP32[((5248288)>>2)]=(86); | |
HEAP32[((5248292)>>2)]=(46); | |
HEAP32[((5248296)>>2)]=(116); | |
HEAP32[((5248300)>>2)]=(566); | |
HEAP32[((5248304)>>2)]=(564); | |
HEAP32[((5248308)>>2)]=(554); | |
HEAP32[((5248312)>>2)]=(558); | |
HEAP32[((5248316)>>2)]=(460); | |
HEAP32[((5248320)>>2)]=(562); | |
HEAP32[((5248324)>>2)]=(552); | |
HEAP32[((5248328)>>2)]=(572); | |
HEAP32[((5248332)>>2)]=(570); | |
HEAP32[((5248336)>>2)]=(568); | |
HEAP32[((5248340)>>2)]=(336); | |
HEAP32[((5248356)>>2)]=(130); | |
HEAP32[((5248360)>>2)]=(4); | |
HEAP32[((5248364)>>2)]=(116); | |
HEAP32[((5248368)>>2)]=(684); | |
HEAP32[((5248372)>>2)]=(674); | |
HEAP32[((5248376)>>2)]=(668); | |
HEAP32[((5248380)>>2)]=(670); | |
HEAP32[((5248384)>>2)]=(648); | |
HEAP32[((5248388)>>2)]=(672); | |
HEAP32[((5248392)>>2)]=(666); | |
HEAP32[((5248396)>>2)]=(412); | |
HEAP32[((5248400)>>2)]=(680); | |
HEAP32[((5248404)>>2)]=(678); | |
HEAP32[((5248408)>>2)]=(560); | |
HEAP32[((5248424)>>2)]=(198); | |
HEAP32[((5248428)>>2)]=(240); | |
HEAP32[((5248432)>>2)]=(116); | |
HEAP32[((5248436)>>2)]=(332); | |
HEAP32[((5248440)>>2)]=(498); | |
HEAP32[((5248444)>>2)]=(292); | |
HEAP32[((5248460)>>2)]=(60); | |
HEAP32[((5248464)>>2)]=(430); | |
HEAP32[((5248468)>>2)]=(116); | |
HEAP32[((5248472)>>2)]=(490); | |
HEAP32[((5248476)>>2)]=(592); | |
HEAP32[((5248480)>>2)]=(42); | |
HEAP32[((5248496)>>2)]=(642); | |
HEAP32[((5248500)>>2)]=(344); | |
HEAP32[((5248504)>>2)]=(116); | |
HEAP32[((5248508)>>2)]=(494); | |
HEAP32[((5248512)>>2)]=(136); | |
HEAP32[((5248516)>>2)]=(488); | |
HEAP32[((5248520)>>2)]=(94); | |
HEAP32[((5248524)>>2)]=(310); | |
HEAP32[((5248528)>>2)]=(106); | |
HEAP32[((5248532)>>2)]=(376); | |
HEAP32[((5248548)>>2)]=(438); | |
HEAP32[((5248552)>>2)]=(156); | |
HEAP32[((5248556)>>2)]=(116); | |
HEAP32[((5248560)>>2)]=(52); | |
HEAP32[((5248564)>>2)]=(284); | |
HEAP32[((5248568)>>2)]=(166); | |
HEAP32[((5248572)>>2)]=(574); | |
HEAP32[((5248576)>>2)]=(536); | |
HEAP32[((5248580)>>2)]=(446); | |
HEAP32[((5248584)>>2)]=(532); | |
HEAP32[((5248600)>>2)]=(438); | |
HEAP32[((5248604)>>2)]=(348); | |
HEAP32[((5248608)>>2)]=(116); | |
HEAP32[((5248612)>>2)]=(706); | |
HEAP32[((5248616)>>2)]=(138); | |
HEAP32[((5248620)>>2)]=(68); | |
HEAP32[((5248624)>>2)]=(710); | |
HEAP32[((5248628)>>2)]=(244); | |
HEAP32[((5248632)>>2)]=(246); | |
HEAP32[((5248636)>>2)]=(104); | |
HEAP32[((5248652)>>2)]=(438); | |
HEAP32[((5248656)>>2)]=(386); | |
HEAP32[((5248660)>>2)]=(116); | |
HEAP32[((5248664)>>2)]=(320); | |
HEAP32[((5248668)>>2)]=(324); | |
HEAP32[((5248672)>>2)]=(520); | |
HEAP32[((5248676)>>2)]=(192); | |
HEAP32[((5248680)>>2)]=(374); | |
HEAP32[((5248684)>>2)]=(144); | |
HEAP32[((5248688)>>2)]=(322); | |
HEAP32[((5248704)>>2)]=(438); | |
HEAP32[((5248708)>>2)]=(70); | |
HEAP32[((5248712)>>2)]=(116); | |
HEAP32[((5248728)>>2)]=(146); | |
HEAP32[((5248732)>>2)]=(392); | |
HEAP32[((5248736)>>2)]=(116); | |
HEAP32[((5248752)>>2)]=(438); | |
HEAP32[((5248756)>>2)]=(214); | |
HEAP32[((5248760)>>2)]=(116); | |
HEAP32[((5248764)>>2)]=(364); | |
HEAP32[((5248768)>>2)]=(184); | |
HEAP32[((5248772)>>2)]=(318); | |
HEAP32[((5248776)>>2)]=(700); | |
HEAP32[((5248780)>>2)]=(188); | |
HEAP32[((5248784)>>2)]=(524); | |
HEAP32[((5248788)>>2)]=(480); | |
HEAP32[((5248792)>>2)]=(56); | |
HEAP32[((5248796)>>2)]=(118); | |
HEAP32[((5248800)>>2)]=(608); | |
HEAP32[((5248804)>>2)]=(272); | |
HEAP32[((5248808)>>2)]=(190); | |
HEAP32[((5248824)>>2)]=(720); | |
HEAP32[((5248828)>>2)]=(78); | |
HEAP32[((5248832)>>2)]=(116); | |
HEAP32[((5248836)>>2)]=(22); | |
HEAP32[((5248840)>>2)]=(50); | |
HEAP32[((5248844)>>2)]=(338); | |
HEAP32[((5248848)>>2)]=(600); | |
HEAP32[((5248852)>>2)]=(140); | |
HEAP32[((5248856)>>2)]=(342); | |
HEAP32[((5248860)>>2)]=(410); | |
HEAP32[((5248864)>>2)]=(370); | |
HEAP32[((5248880)>>2)]=(176); | |
HEAP32[((5248884)>>2)]=(624); | |
HEAP32[((5248888)>>2)]=(396); | |
HEAP32[((5248892)>>2)]=(530); | |
HEAP32[((5248896)>>2)]=(314); | |
HEAP32[((5248900)>>2)]=(594); | |
HEAP32[((5248904)>>2)]=(584); | |
HEAP32[((5248920)>>2)]=(438); | |
HEAP32[((5248924)>>2)]=(222); | |
HEAP32[((5248928)>>2)]=(116); | |
HEAP32[((5248932)>>2)]=(320); | |
HEAP32[((5248936)>>2)]=(324); | |
HEAP32[((5248940)>>2)]=(520); | |
HEAP32[((5248944)>>2)]=(192); | |
HEAP32[((5248948)>>2)]=(374); | |
HEAP32[((5248952)>>2)]=(144); | |
HEAP32[((5248956)>>2)]=(322); | |
HEAP32[((5248972)>>2)]=(438); | |
HEAP32[((5248976)>>2)]=(682); | |
HEAP32[((5248980)>>2)]=(116); | |
HEAP32[((5248984)>>2)]=(320); | |
HEAP32[((5248988)>>2)]=(324); | |
HEAP32[((5248992)>>2)]=(520); | |
HEAP32[((5248996)>>2)]=(192); | |
HEAP32[((5249000)>>2)]=(374); | |
HEAP32[((5249004)>>2)]=(144); | |
HEAP32[((5249008)>>2)]=(322); | |
HEAP32[((5249024)>>2)]=(328); | |
HEAP32[((5249028)>>2)]=(658); | |
HEAP32[((5249032)>>2)]=(194); | |
HEAP32[((5249036)>>2)]=(380); | |
HEAP32[((5249040)>>2)]=(250); | |
HEAP32[((5249044)>>2)]=(454); | |
HEAP32[((5249048)>>2)]=(482); | |
HEAP32[((5249052)>>2)]=(546); | |
HEAP32[((5249056)>>2)]=(578); | |
HEAP32[((5249060)>>2)]=(148); | |
HEAP32[((5249064)>>2)]=(132); | |
HEAP32[((5249068)>>2)]=(124); | |
HEAP32[((5249072)>>2)]=(716); | |
HEAP32[((5249076)>>2)]=(472); | |
HEAP32[((5249092)>>2)]=(18); | |
HEAP32[((5249096)>>2)]=(308); | |
HEAP32[((5249100)>>2)]=(478); | |
HEAP32[((5249104)>>2)]=(644); | |
HEAP32[((5249108)>>2)]=(638); | |
HEAP32[((5249112)>>2)]=(294); | |
HEAP32[((5249116)>>2)]=(256); | |
HEAP32[((5249120)>>2)]=(466); | |
HEAP32[((5249124)>>2)]=(334); | |
HEAP32[((5249128)>>2)]=(32); | |
HEAP32[((5249132)>>2)]=(58); | |
HEAP32[((5249136)>>2)]=(660); | |
HEAP32[((5249140)>>2)]=(316); | |
HEAP32[((5249144)>>2)]=(154); | |
HEAP32[((5249164)>>2)]=(102); | |
HEAP32[((5249168)>>2)]=(588); | |
HEAP32[((5249184)>>2)]=(368); | |
HEAP32[((5249188)>>2)]=(326); | |
HEAP32[((5249208)>>2)]=(616); | |
HEAP32[((5249212)>>2)]=(662); | |
HEAP32[((5249228)>>2)]=(286); | |
HEAP32[((5249232)>>2)]=(526); | |
HEAP32[((5249252)>>2)]=(228); | |
HEAP32[((5249256)>>2)]=(724); | |
HEAP32[((5249272)>>2)]=(440); | |
HEAP32[((5249276)>>2)]=(656); | |
HEAP32[((5249296)>>2)]=(282); | |
HEAP32[((5249300)>>2)]=(550); | |
HEAP32[((5249316)>>2)]=(354); | |
HEAP32[((5249320)>>2)]=(128); | |
HEAP32[((5249336)>>2)]=(540); | |
HEAP32[((5249340)>>2)]=(442); | |
HEAP32[((5249344)>>2)]=(216); | |
HEAP32[((5249360)>>2)]=(694); | |
HEAP32[((5249364)>>2)]=(636); | |
HEAP32[((5249368)>>2)]=(34); | |
HEAP32[((5249372)>>2)]=(380); | |
HEAP32[((5249376)>>2)]=(250); | |
HEAP32[((5249380)>>2)]=(454); | |
HEAP32[((5249384)>>2)]=(276); | |
HEAP32[((5249388)>>2)]=(546); | |
HEAP32[((5249392)>>2)]=(578); | |
HEAP32[((5249396)>>2)]=(148); | |
HEAP32[((5249400)>>2)]=(132); | |
HEAP32[((5249404)>>2)]=(124); | |
HEAP32[((5249408)>>2)]=(716); | |
HEAP32[((5249412)>>2)]=(664); | |
HEAP32[((5249428)>>2)]=(388); | |
HEAP32[((5249432)>>2)]=(436); | |
HEAP32[((5249436)>>2)]=(296); | |
HEAP32[((5249440)>>2)]=(644); | |
HEAP32[((5249444)>>2)]=(638); | |
HEAP32[((5249448)>>2)]=(294); | |
HEAP32[((5249452)>>2)]=(484); | |
HEAP32[((5249456)>>2)]=(466); | |
HEAP32[((5249460)>>2)]=(334); | |
HEAP32[((5249464)>>2)]=(32); | |
HEAP32[((5249468)>>2)]=(58); | |
HEAP32[((5249472)>>2)]=(660); | |
HEAP32[((5249476)>>2)]=(316); | |
HEAP32[((5249480)>>2)]=(174); | |
HEAP32[((5249496)>>2)]=(626); | |
HEAP32[((5249500)>>2)]=(366); | |
HEAP32[((5249504)>>2)]=(116); | |
HEAP32[((5249508)>>2)]=(346); | |
HEAP32[((5249512)>>2)]=(610); | |
HEAP32[((5249516)>>2)]=(400); | |
HEAP32[((5249520)>>2)]=(702); | |
HEAP32[((5249524)>>2)]=(54); | |
HEAP32[((5249528)>>2)]=(266); | |
HEAP32[((5249532)>>2)]=(264); | |
HEAP32[((5249536)>>2)]=(212); | |
HEAP32[((5249540)>>2)]=(340); | |
HEAP32[((5249556)>>2)]=(278); | |
HEAP32[((5249560)>>2)]=(142); | |
HEAP32[((5249564)>>2)]=(116); | |
HEAP32[((5249568)>>2)]=(590); | |
HEAP32[((5249572)>>2)]=(10); | |
HEAP32[((5249576)>>2)]=(544); | |
HEAP32[((5249580)>>2)]=(628); | |
HEAP32[((5249584)>>2)]=(646); | |
HEAP32[((5249588)>>2)]=(234); | |
HEAP32[((5249592)>>2)]=(596); | |
HEAP32[((5249596)>>2)]=(432); | |
HEAP32[((5249600)>>2)]=(134); | |
HEAP32[((5249616)>>2)]=(634); | |
HEAP32[((5249620)>>2)]=(304); | |
HEAP32[((5249624)>>2)]=(116); | |
HEAP32[((5249628)>>2)]=(92); | |
HEAP32[((5249632)>>2)]=(300); | |
HEAP32[((5249636)>>2)]=(402); | |
HEAP32[((5249640)>>2)]=(390); | |
HEAP32[((5249644)>>2)]=(712); | |
HEAP32[((5249648)>>2)]=(434); | |
HEAP32[((5249652)>>2)]=(518); | |
HEAP32[((5249656)>>2)]=(452); | |
HEAP32[((5249660)>>2)]=(280); | |
HEAP32[((5249676)>>2)]=(206); | |
HEAP32[((5249680)>>2)]=(422); | |
HEAP32[((5249684)>>2)]=(116); | |
HEAP32[((5249688)>>2)]=(548); | |
HEAP32[((5249692)>>2)]=(576); | |
HEAP32[((5249696)>>2)]=(260); | |
HEAP32[((5249700)>>2)]=(606); | |
HEAP32[((5249704)>>2)]=(242); | |
HEAP32[((5249708)>>2)]=(196); | |
HEAP32[((5249712)>>2)]=(398); | |
HEAP32[((5249716)>>2)]=(586); | |
HEAP32[((5249720)>>2)]=(580); | |
HEAP32[((5249736)>>2)]=(230); | |
HEAP32[((5249740)>>2)]=(180); | |
HEAP32[((5249744)>>2)]=(528); | |
HEAP32[((5249748)>>2)]=(380); | |
HEAP32[((5249752)>>2)]=(250); | |
HEAP32[((5249756)>>2)]=(454); | |
HEAP32[((5249760)>>2)]=(482); | |
HEAP32[((5249764)>>2)]=(546); | |
HEAP32[((5249768)>>2)]=(578); | |
HEAP32[((5249772)>>2)]=(356); | |
HEAP32[((5249776)>>2)]=(448); | |
HEAP32[((5249780)>>2)]=(168); | |
HEAP32[((5249784)>>2)]=(716); | |
HEAP32[((5249788)>>2)]=(472); | |
HEAP32[((5249804)>>2)]=(26); | |
HEAP32[((5249808)>>2)]=(618); | |
HEAP32[((5249812)>>2)]=(496); | |
HEAP32[((5249816)>>2)]=(644); | |
HEAP32[((5249820)>>2)]=(638); | |
HEAP32[((5249824)>>2)]=(294); | |
HEAP32[((5249828)>>2)]=(256); | |
HEAP32[((5249832)>>2)]=(466); | |
HEAP32[((5249836)>>2)]=(334); | |
HEAP32[((5249840)>>2)]=(274); | |
HEAP32[((5249844)>>2)]=(122); | |
HEAP32[((5249848)>>2)]=(30); | |
HEAP32[((5249852)>>2)]=(316); | |
HEAP32[((5249856)>>2)]=(154); | |
HEAP32[((5249872)>>2)]=(698); | |
HEAP32[((5249876)>>2)]=(516); | |
HEAP32[((5249880)>>2)]=(160); | |
HEAP32[((5249884)>>2)]=(378); | |
HEAP32[((5249888)>>2)]=(202); | |
HEAP32[((5249892)>>2)]=(64); | |
HEAP32[((5249896)>>2)]=(612); | |
HEAP32[((5249900)>>2)]=(268); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(8))>>2)]=(698); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(12))>>2)]=(330); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(16))>>2)]=(160); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(20))>>2)]=(378); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(24))>>2)]=(202); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(28))>>2)]=(98); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(32))>>2)]=(236); | |
HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(36))>>2)]=(262); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(8))>>2)]=(698); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(12))>>2)]=(690); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(16))>>2)]=(160); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(20))>>2)]=(378); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(24))>>2)]=(202); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(28))>>2)]=(534); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(32))>>2)]=(258); | |
HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(36))>>2)]=(394); | |
HEAP32[((5252724)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5252728)>>2)]=((5249908)|0); | |
HEAP32[((5252732)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5252736)>>2)]=((5249924)|0); | |
HEAP32[((5252740)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252744)>>2)]=((5249940)|0); | |
HEAP32[((5252752)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252756)>>2)]=((5249956)|0); | |
HEAP32[((5252764)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252768)>>2)]=((5249968)|0); | |
HEAP32[((5252776)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252780)>>2)]=((5249988)|0); | |
HEAP32[((5252788)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252792)>>2)]=((5250008)|0); | |
HEAP32[((5252800)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5252804)>>2)]=((5250024)|0); | |
HEAP32[((5252808)>>2)]=(((5249872)|0)); | |
HEAP32[((5252812)>>2)]=((5250044)|0); | |
HEAP32[((5252840)>>2)]=(((5249872)|0)); | |
HEAP32[((5252844)>>2)]=((5250116)|0); | |
HEAP32[((5252872)>>2)]=(((5249872)|0)); | |
HEAP32[((5252876)>>2)]=((5250188)|0); | |
HEAP32[((5252904)>>2)]=(((5249872)|0)); | |
HEAP32[((5252908)>>2)]=((5250260)|0); | |
HEAP32[((5252936)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252940)>>2)]=((5250332)|0); | |
HEAP32[((5252948)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5252952)>>2)]=((5250376)|0); | |
HEAP32[((5252960)>>2)]=(((5249872)|0)); | |
HEAP32[((5252964)>>2)]=((5250420)|0); | |
HEAP32[((5252984)>>2)]=(((5249872)|0)); | |
HEAP32[((5252988)>>2)]=((5250444)|0); | |
HEAP32[((5253008)>>2)]=(((5249872)|0)); | |
HEAP32[((5253012)>>2)]=((5250468)|0); | |
HEAP32[((5253032)>>2)]=(((5249872)|0)); | |
HEAP32[((5253036)>>2)]=((5250492)|0); | |
HEAP32[((5253056)>>2)]=(((5249872)|0)); | |
HEAP32[((5253060)>>2)]=((5250516)|0); | |
HEAP32[((5253088)>>2)]=(((5249872)|0)); | |
HEAP32[((5253092)>>2)]=((5250588)|0); | |
HEAP32[((5253120)>>2)]=(((5249872)|0)); | |
HEAP32[((5253124)>>2)]=((5250660)|0); | |
HEAP32[((5253160)>>2)]=(((5249872)|0)); | |
HEAP32[((5253164)>>2)]=((5250732)|0); | |
HEAP32[((5253200)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253204)>>2)]=((5250804)|0); | |
HEAP32[((5253212)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253216)>>2)]=((5250828)|0); | |
HEAP32[((5253224)>>2)]=(((5249872)|0)); | |
HEAP32[((5253228)>>2)]=((5250852)|0); | |
HEAP32[((5253256)>>2)]=(((5249872)|0)); | |
HEAP32[((5253260)>>2)]=((5250876)|0); | |
HEAP32[((5253288)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253292)>>2)]=((5250900)|0); | |
HEAP32[((5253296)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253300)>>2)]=((5250920)|0); | |
HEAP32[((5253308)>>2)]=(((5249872)|0)); | |
HEAP32[((5253312)>>2)]=((5250948)|0); | |
HEAP32[((5253340)>>2)]=(((5249872)|0)); | |
HEAP32[((5253344)>>2)]=((5251016)|0); | |
HEAP32[((5253372)>>2)]=(((5249872)|0)); | |
HEAP32[((5253376)>>2)]=((5251084)|0); | |
HEAP32[((5253404)>>2)]=(((5249872)|0)); | |
HEAP32[((5253408)>>2)]=((5251152)|0); | |
HEAP32[((5253436)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253440)>>2)]=((5251220)|0); | |
HEAP32[((5253448)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253452)>>2)]=((5251240)|0); | |
HEAP32[((5253460)>>2)]=(((5249872)|0)); | |
HEAP32[((5253464)>>2)]=((5251260)|0); | |
HEAP32[((5253492)>>2)]=(((5249872)|0)); | |
HEAP32[((5253496)>>2)]=((5251296)|0); | |
HEAP32[((5253524)>>2)]=(((5249872)|0)); | |
HEAP32[((5253528)>>2)]=((5251332)|0); | |
HEAP32[((5253556)>>2)]=(((5249872)|0)); | |
HEAP32[((5253560)>>2)]=((5251368)|0); | |
HEAP32[((5253588)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253592)>>2)]=((5251404)|0); | |
HEAP32[((5253600)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253604)>>2)]=((5251428)|0); | |
HEAP32[((5253612)>>2)]=(((5249872)|0)); | |
HEAP32[((5253616)>>2)]=((5251452)|0); | |
HEAP32[((5253644)>>2)]=(((5249872)|0)); | |
HEAP32[((5253648)>>2)]=((5251472)|0); | |
HEAP32[((5253676)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253680)>>2)]=((5251492)|0); | |
HEAP32[((5253684)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253688)>>2)]=((5251528)|0); | |
HEAP32[((5253692)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253696)>>2)]=((5251564)|0); | |
HEAP32[((5253704)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253708)>>2)]=((5251596)|0); | |
HEAP32[((5253716)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253720)>>2)]=((5251632)|0); | |
HEAP32[((5253728)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253732)>>2)]=((5251668)|0); | |
HEAP32[((5253736)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253740)>>2)]=((5251720)|0); | |
HEAP32[((5253744)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253748)>>2)]=((5251772)|0); | |
HEAP32[((5253752)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253756)>>2)]=((5251800)|0); | |
HEAP32[((5253760)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253764)>>2)]=((5251828)|0); | |
HEAP32[((5253768)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253772)>>2)]=((5251856)|0); | |
HEAP32[((5253776)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253780)>>2)]=((5251884)|0); | |
HEAP32[((5253784)>>2)]=(((5249872)|0)); | |
HEAP32[((5253788)>>2)]=((5251908)|0); | |
HEAP32[((5253808)>>2)]=(((5249872)|0)); | |
HEAP32[((5253812)>>2)]=((5251956)|0); | |
HEAP32[((5253832)>>2)]=(((5249872)|0)); | |
HEAP32[((5253836)>>2)]=((5252004)|0); | |
HEAP32[((5253856)>>2)]=(((5249872)|0)); | |
HEAP32[((5253860)>>2)]=((5252052)|0); | |
HEAP32[((5253880)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253884)>>2)]=((5252100)|0); | |
HEAP32[((5253892)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253896)>>2)]=((5252124)|0); | |
HEAP32[((5253900)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253904)>>2)]=((5252148)|0); | |
HEAP32[((5253912)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253916)>>2)]=((5252172)|0); | |
HEAP32[((5253924)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5253928)>>2)]=((5252200)|0); | |
HEAP32[((5253936)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253940)>>2)]=((5252228)|0); | |
HEAP32[((5253944)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253948)>>2)]=((5252256)|0); | |
HEAP32[((5253952)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253956)>>2)]=((5252284)|0); | |
HEAP32[((5253960)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5253964)>>2)]=((5252312)|0); | |
HEAP32[((5253968)>>2)]=(((5249872)|0)); | |
HEAP32[((5253972)>>2)]=((5252340)|0); | |
HEAP32[((5254000)>>2)]=(((5249872)|0)); | |
HEAP32[((5254004)>>2)]=((5252368)|0); | |
HEAP32[((5254032)>>2)]=(((5249872)|0)); | |
HEAP32[((5254036)>>2)]=((5252396)|0); | |
HEAP32[((5254064)>>2)]=(((5249872)|0)); | |
HEAP32[((5254068)>>2)]=((5252424)|0); | |
HEAP32[((5254096)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5254100)>>2)]=((5252452)|0); | |
HEAP32[((5254104)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5254108)>>2)]=((5252476)|0); | |
HEAP32[((5254112)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); | |
HEAP32[((5254116)>>2)]=((5252500)|0); | |
HEAP32[((5254120)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254124)>>2)]=((5252524)|0); | |
HEAP32[((5254132)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254136)>>2)]=((5252548)|0); | |
HEAP32[((5254144)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254148)>>2)]=((5252572)|0); | |
HEAP32[((5254156)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254160)>>2)]=((5252612)|0); | |
HEAP32[((5254168)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254172)>>2)]=((5252652)|0); | |
HEAP32[((5254180)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); | |
HEAP32[((5254184)>>2)]=((5252688)|0); | |
function _srand(seed) {} | |
function _time(ptr) { | |
var ret = Math.floor(Date.now()/1000); | |
if (ptr) { | |
HEAP32[((ptr)>>2)]=ret | |
} | |
return ret; | |
} | |
function _clock() { | |
if (_clock.start === undefined) _clock.start = Date.now(); | |
return Math.floor((Date.now() - _clock.start) * (1000/1000)); | |
} | |
function _rand() { | |
return Math.floor(Math.random()*0x80000000); | |
} | |
function ___gxx_personality_v0() { | |
} | |
function __ZSt18uncaught_exceptionv() { // std::uncaught_exception() | |
return !!__ZSt18uncaught_exceptionv.uncaught_exception; | |
}function ___cxa_begin_catch(ptr) { | |
__ZSt18uncaught_exceptionv.uncaught_exception--; | |
return ptr; | |
} | |
function _llvm_eh_exception() { | |
return HEAP32[((_llvm_eh_exception.buf)>>2)]; | |
} | |
function ___cxa_free_exception(ptr) { | |
return _free(ptr); | |
}function ___cxa_end_catch() { | |
if (___cxa_end_catch.rethrown) { | |
___cxa_end_catch.rethrown = false; | |
return; | |
} | |
// Clear state flag. | |
asm.setThrew(0); | |
// Clear type. | |
HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)]=0 | |
// Call destructor if one is registered then clear it. | |
var ptr = HEAP32[((_llvm_eh_exception.buf)>>2)]; | |
var destructor = HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]; | |
if (destructor) { | |
Runtime.dynCall('vi', destructor, [ptr]); | |
HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]=0 | |
} | |
// Free ptr if it isn't null. | |
if (ptr) { | |
___cxa_free_exception(ptr); | |
HEAP32[((_llvm_eh_exception.buf)>>2)]=0 | |
} | |
} | |
function ___cxa_call_unexpected(exception) { | |
Module.printErr('Unexpected exception thrown, this is not properly supported - aborting'); | |
ABORT = true; | |
throw exception; | |
} | |
Module["_memcpy"] = _memcpy;var _llvm_memcpy_p0i8_p0i8_i32=_memcpy; | |
Module["_strlen"] = _strlen; | |
function _pthread_mutex_lock() {} | |
function _pthread_mutex_unlock() {} | |
function ___cxa_guard_acquire(variable) { | |
if (!HEAP8[(variable)]) { // ignore SAFE_HEAP stuff because llvm mixes i64 and i8 here | |
HEAP8[(variable)]=1; | |
return 1; | |
} | |
return 0; | |
} | |
function ___cxa_guard_abort() {} | |
function ___cxa_guard_release() {} | |
function _pthread_cond_broadcast() { | |
return 0; | |
} | |
function _pthread_cond_wait() { | |
return 0; | |
} | |
function _atexit(func, arg) { | |
__ATEXIT__.unshift({ func: func, arg: arg }); | |
}var ___cxa_atexit=_atexit; | |
function ___cxa_allocate_exception(size) { | |
return _malloc(size); | |
} | |
function ___cxa_is_number_type(type) { | |
var isNumber = false; | |
try { if (type == __ZTIi) isNumber = true } catch(e){} | |
try { if (type == __ZTIj) isNumber = true } catch(e){} | |
try { if (type == __ZTIl) isNumber = true } catch(e){} | |
try { if (type == __ZTIm) isNumber = true } catch(e){} | |
try { if (type == __ZTIx) isNumber = true } catch(e){} | |
try { if (type == __ZTIy) isNumber = true } catch(e){} | |
try { if (type == __ZTIf) isNumber = true } catch(e){} | |
try { if (type == __ZTId) isNumber = true } catch(e){} | |
try { if (type == __ZTIe) isNumber = true } catch(e){} | |
try { if (type == __ZTIc) isNumber = true } catch(e){} | |
try { if (type == __ZTIa) isNumber = true } catch(e){} | |
try { if (type == __ZTIh) isNumber = true } catch(e){} | |
try { if (type == __ZTIs) isNumber = true } catch(e){} | |
try { if (type == __ZTIt) isNumber = true } catch(e){} | |
return isNumber; | |
}function ___cxa_does_inherit(definiteType, possibilityType, possibility) { | |
if (possibility == 0) return false; | |
if (possibilityType == 0 || possibilityType == definiteType) | |
return true; | |
var possibility_type_info; | |
if (___cxa_is_number_type(possibilityType)) { | |
possibility_type_info = possibilityType; | |
} else { | |
var possibility_type_infoAddr = HEAP32[((possibilityType)>>2)] - 8; | |
possibility_type_info = HEAP32[((possibility_type_infoAddr)>>2)]; | |
} | |
switch (possibility_type_info) { | |
case 0: // possibility is a pointer | |
// See if definite type is a pointer | |
var definite_type_infoAddr = HEAP32[((definiteType)>>2)] - 8; | |
var definite_type_info = HEAP32[((definite_type_infoAddr)>>2)]; | |
if (definite_type_info == 0) { | |
// Also a pointer; compare base types of pointers | |
var defPointerBaseAddr = definiteType+8; | |
var defPointerBaseType = HEAP32[((defPointerBaseAddr)>>2)]; | |
var possPointerBaseAddr = possibilityType+8; | |
var possPointerBaseType = HEAP32[((possPointerBaseAddr)>>2)]; | |
return ___cxa_does_inherit(defPointerBaseType, possPointerBaseType, possibility); | |
} else | |
return false; // one pointer and one non-pointer | |
case 1: // class with no base class | |
return false; | |
case 2: // class with base class | |
var parentTypeAddr = possibilityType + 8; | |
var parentType = HEAP32[((parentTypeAddr)>>2)]; | |
return ___cxa_does_inherit(definiteType, parentType, possibility); | |
default: | |
return false; // some unencountered type | |
} | |
}function ___cxa_find_matching_catch(thrown, throwntype, typeArray) { | |
// If throwntype is a pointer, this means a pointer has been | |
// thrown. When a pointer is thrown, actually what's thrown | |
// is a pointer to the pointer. We'll dereference it. | |
if (throwntype != 0 && !___cxa_is_number_type(throwntype)) { | |
var throwntypeInfoAddr= HEAP32[((throwntype)>>2)] - 8; | |
var throwntypeInfo= HEAP32[((throwntypeInfoAddr)>>2)]; | |
if (throwntypeInfo == 0) | |
thrown = HEAP32[((thrown)>>2)]; | |
} | |
// The different catch blocks are denoted by different types. | |
// Due to inheritance, those types may not precisely match the | |
// type of the thrown object. Find one which matches, and | |
// return the type of the catch block which should be called. | |
for (var i = 0; i < typeArray.length; i++) { | |
if (___cxa_does_inherit(typeArray[i], throwntype, thrown)) | |
return ((asm.setTempRet0(typeArray[i]),thrown)|0); | |
} | |
// Shouldn't happen unless we have bogus data in typeArray | |
// or encounter a type for which emscripten doesn't have suitable | |
// typeinfo defined. Best-efforts match just in case. | |
return ((asm.setTempRet0(throwntype),thrown)|0); | |
}function ___cxa_throw(ptr, type, destructor) { | |
if (!___cxa_throw.initialized) { | |
try { | |
HEAP32[((__ZTVN10__cxxabiv119__pointer_type_infoE)>>2)]=0; // Workaround for libcxxabi integration bug | |
} catch(e){} | |
try { | |
HEAP32[((__ZTVN10__cxxabiv117__class_type_infoE)>>2)]=1; // Workaround for libcxxabi integration bug | |
} catch(e){} | |
try { | |
HEAP32[((__ZTVN10__cxxabiv120__si_class_type_infoE)>>2)]=2; // Workaround for libcxxabi integration bug | |
} catch(e){} | |
___cxa_throw.initialized = true; | |
} | |
HEAP32[((_llvm_eh_exception.buf)>>2)]=ptr | |
HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)]=type | |
HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]=destructor | |
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;var _llvm_memset_p0i8_i32=_memset; | |
var ERRNO_CODES={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTRECOVERABLE:131,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOVERFLOW:75,EOWNERDEAD:130,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18}; | |
function ___setErrNo(value) { | |
// For convenient setting and returning of errno. | |
if (!___setErrNo.ret) ___setErrNo.ret = allocate([0], 'i32', ALLOC_STATIC); | |
HEAP32[((___setErrNo.ret)>>2)]=value | |
return value; | |
} | |
var _stdin=allocate(1, "i32*", ALLOC_STACK); | |
var _stdout=allocate(1, "i32*", ALLOC_STACK); | |
var _stderr=allocate(1, "i32*", ALLOC_STACK); | |
var __impure_ptr=allocate(1, "i32*", ALLOC_STACK);var FS={currentPath:"/",nextInode:2,streams:[null],ignorePermissions:true,joinPath:function (parts, forceRelative) { | |
var ret = parts[0]; | |
for (var i = 1; i < parts.length; i++) { | |
if (ret[ret.length-1] != '/') ret += '/'; | |
ret += parts[i]; | |
} | |
if (forceRelative && ret[0] == '/') ret = ret.substr(1); | |
return ret; | |
},absolutePath:function (relative, base) { | |
if (typeof relative !== 'string') return null; | |
if (base === undefined) base = FS.currentPath; | |
if (relative && relative[0] == '/') base = ''; | |
var full = base + '/' + relative; | |
var parts = full.split('/').reverse(); | |
var absolute = ['']; | |
while (parts.length) { | |
var part = parts.pop(); | |
if (part == '' || part == '.') { | |
// Nothing. | |
} else if (part == '..') { | |
if (absolute.length > 1) absolute.pop(); | |
} else { | |
absolute.push(part); | |
} | |
} | |
return absolute.length == 1 ? '/' : absolute.join('/'); | |
},analyzePath:function (path, dontResolveLastLink, linksVisited) { | |
var ret = { | |
isRoot: false, | |
exists: false, | |
error: 0, | |
name: null, | |
path: null, | |
object: null, | |
parentExists: false, | |
parentPath: null, | |
parentObject: null | |
}; | |
path = FS.absolutePath(path); | |
if (path == '/') { | |
ret.isRoot = true; | |
ret.exists = ret.parentExists = true; | |
ret.name = '/'; | |
ret.path = ret.parentPath = '/'; | |
ret.object = ret.parentObject = FS.root; | |
} else if (path !== null) { | |
linksVisited = linksVisited || 0; | |
path = path.slice(1).split('/'); | |
var current = FS.root; | |
var traversed = ['']; | |
while (path.length) { | |
if (path.length == 1 && current.isFolder) { | |
ret.parentExists = true; | |
ret.parentPath = traversed.length == 1 ? '/' : traversed.join('/'); | |
ret.parentObject = current; | |
ret.name = path[0]; | |
} | |
var target = path.shift(); | |
if (!current.isFolder) { | |
ret.error = ERRNO_CODES.ENOTDIR; | |
break; | |
} else if (!current.read) { | |
ret.error = ERRNO_CODES.EACCES; | |
break; | |
} else if (!current.contents.hasOwnProperty(target)) { | |
ret.error = ERRNO_CODES.ENOENT; | |
break; | |
} | |
current = current.contents[target]; | |
if (current.link && !(dontResolveLastLink && path.length == 0)) { | |
if (linksVisited > 40) { // Usual Linux SYMLOOP_MAX. | |
ret.error = ERRNO_CODES.ELOOP; | |
break; | |
} | |
var link = FS.absolutePath(current.link, traversed.join('/')); | |
ret = FS.analyzePath([link].concat(path).join('/'), | |
dontResolveLastLink, linksVisited + 1); | |
return ret; | |
} | |
traversed.push(target); | |
if (path.length == 0) { | |
ret.exists = true; | |
ret.path = traversed.join('/'); | |
ret.object = current; | |
} | |
} | |
} | |
return ret; | |
},findObject:function (path, dontResolveLastLink) { | |
FS.ensureRoot(); | |
var ret = FS.analyzePath(path, dontResolveLastLink); | |
if (ret.exists) { | |
return ret.object; | |
} else { | |
___setErrNo(ret.error); | |
return null; | |
} | |
},createObject:function (parent, name, properties, canRead, canWrite) { | |
if (!parent) parent = '/'; | |
if (typeof parent === 'string') parent = FS.findObject(parent); | |
if (!parent) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
throw new Error('Parent path must exist.'); | |
} | |
if (!parent.isFolder) { | |
___setErrNo(ERRNO_CODES.ENOTDIR); | |
throw new Error('Parent must be a folder.'); | |
} | |
if (!parent.write && !FS.ignorePermissions) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
throw new Error('Parent folder must be writeable.'); | |
} | |
if (!name || name == '.' || name == '..') { | |
___setErrNo(ERRNO_CODES.ENOENT); | |
throw new Error('Name must not be empty.'); | |
} | |
if (parent.contents.hasOwnProperty(name)) { | |
___setErrNo(ERRNO_CODES.EEXIST); | |
throw new Error("Can't overwrite object."); | |
} | |
parent.contents[name] = { | |
read: canRead === undefined ? true : canRead, | |
write: canWrite === undefined ? false : canWrite, | |
timestamp: Date.now(), | |
inodeNumber: FS.nextInode++ | |
}; | |
for (var key in properties) { | |
if (properties.hasOwnProperty(key)) { | |
parent.contents[name][key] = properties[key]; | |
} | |
} | |
return parent.contents[name]; | |
},createFolder:function (parent, name, canRead, canWrite) { | |
var properties = {isFolder: true, isDevice: false, contents: {}}; | |
return FS.createObject(parent, name, properties, canRead, canWrite); | |
},createPath:function (parent, path, canRead, canWrite) { | |
var current = FS.findObject(parent); | |
if (current === null) throw new Error('Invalid parent.'); | |
path = path.split('/').reverse(); | |
while (path.length) { | |
var part = path.pop(); | |
if (!part) continue; | |
if (!current.contents.hasOwnProperty(part)) { | |
FS.createFolder(current, part, canRead, canWrite); | |
} | |
current = current.contents[part]; | |
} | |
return current; | |
},createFile:function (parent, name, properties, canRead, canWrite) { | |
properties.isFolder = false; | |
return FS.createObject(parent, name, properties, canRead, canWrite); | |
},createDataFile:function (parent, name, data, canRead, canWrite) { | |
if (typeof data === 'string') { | |
var dataArray = new Array(data.length); | |
for (var i = 0, len = data.length; i < len; ++i) dataArray[i] = data.charCodeAt(i); | |
data = dataArray; | |
} | |
var properties = { | |
isDevice: false, | |
contents: data.subarray ? data.subarray(0) : data // as an optimization, create a new array wrapper (not buffer) here, to help JS engines understand this object | |
}; | |
return FS.createFile(parent, name, properties, canRead, canWrite); | |
},createLazyFile:function (parent, name, url, canRead, canWrite) { | |
if (typeof XMLHttpRequest !== 'undefined') { | |
if (!ENVIRONMENT_IS_WORKER) throw 'Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc'; | |
// Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. | |
var LazyUint8Array = function(chunkSize, length) { | |
this.length = length; | |
this.chunkSize = chunkSize; | |
this.chunks = []; // Loaded chunks. Index is the chunk number | |
} | |
LazyUint8Array.prototype.get = function(idx) { | |
if (idx > this.length-1 || idx < 0) { | |
return undefined; | |
} | |
var chunkOffset = idx % chunkSize; | |
var chunkNum = Math.floor(idx / chunkSize); | |
return this.getter(chunkNum)[chunkOffset]; | |
} | |
LazyUint8Array.prototype.setDataGetter = function(getter) { | |
this.getter = getter; | |
} | |
// Find length | |
var xhr = new XMLHttpRequest(); | |
xhr.open('HEAD', url, false); | |
xhr.send(null); | |
if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); | |
var datalength = Number(xhr.getResponseHeader("Content-length")); | |
var header; | |
var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes"; | |
var chunkSize = 1024*1024; // Chunk size in bytes | |
if (!hasByteServing) chunkSize = datalength; | |
// Function to get a range from the remote URL. | |
var doXHR = (function(from, to) { | |
if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!"); | |
if (to > datalength-1) throw new Error("only " + datalength + " bytes available! programmer error!"); | |
// TODO: Use mozResponseArrayBuffer, responseStream, etc. if available. | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, false); | |
if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to); | |
// Some hints to the browser that we want binary data. | |
if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer'; | |
if (xhr.overrideMimeType) { | |
xhr.overrideMimeType('text/plain; charset=x-user-defined'); | |
} | |
xhr.send(null); | |
if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); | |
if (xhr.response !== undefined) { | |
return new Uint8Array(xhr.response || []); | |
} else { | |
return intArrayFromString(xhr.responseText || '', true); | |
} | |
}); | |
var lazyArray = new LazyUint8Array(chunkSize, datalength); | |
lazyArray.setDataGetter(function(chunkNum) { | |
var start = chunkNum * lazyArray.chunkSize; | |
var end = (chunkNum+1) * lazyArray.chunkSize - 1; // including this byte | |
end = Math.min(end, datalength-1); // if datalength-1 is selected, this is the last block | |
if (typeof(lazyArray.chunks[chunkNum]) === "undefined") { | |
lazyArray.chunks[chunkNum] = doXHR(start, end); | |
} | |
if (typeof(lazyArray.chunks[chunkNum]) === "undefined") throw new Error("doXHR failed!"); | |
return lazyArray.chunks[chunkNum]; | |
}); | |
var properties = { isDevice: false, contents: lazyArray }; | |
} else { | |
var properties = { isDevice: false, url: url }; | |
} | |
return FS.createFile(parent, name, properties, canRead, canWrite); | |
},createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile) { | |
Browser.init(); | |
var fullname = FS.joinPath([parent, name], true); | |
function processData(byteArray) { | |
function finish(byteArray) { | |
if (!dontCreateFile) { | |
FS.createDataFile(parent, name, byteArray, canRead, canWrite); | |
} | |
if (onload) onload(); | |
removeRunDependency('cp ' + fullname); | |
} | |
var handled = false; | |
Module['preloadPlugins'].forEach(function(plugin) { | |
if (handled) return; | |
if (plugin['canHandle'](fullname)) { | |
plugin['handle'](byteArray, fullname, finish, function() { | |
if (onerror) onerror(); | |
removeRunDependency('cp ' + fullname); | |
}); | |
handled = true; | |
} | |
}); | |
if (!handled) finish(byteArray); | |
} | |
addRunDependency('cp ' + fullname); | |
if (typeof url == 'string') { | |
Browser.asyncLoad(url, function(byteArray) { | |
processData(byteArray); | |
}, onerror); | |
} else { | |
processData(url); | |
} | |
},createLink:function (parent, name, target, canRead, canWrite) { | |
var properties = {isDevice: false, link: target}; | |
return FS.createFile(parent, name, properties, canRead, canWrite); | |
},createDevice:function (parent, name, input, output) { | |
if (!(input || output)) { | |
throw new Error('A device must have at least one callback defined.'); | |
} | |
var ops = {isDevice: true, input: input, output: output}; | |
return FS.createFile(parent, name, ops, Boolean(input), Boolean(output)); | |
},forceLoadFile:function (obj) { | |
if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true; | |
var success = true; | |
if (typeof XMLHttpRequest !== 'undefined') { | |
throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread."); | |
} else if (Module['read']) { | |
// Command-line. | |
try { | |
// WARNING: Can't read binary files in V8's d8 or tracemonkey's js, as | |
// read() will try to parse UTF8. | |
obj.contents = intArrayFromString(Module['read'](obj.url), true); | |
} catch (e) { | |
success = false; | |
} | |
} else { | |
throw new Error('Cannot load without read() or XMLHttpRequest.'); | |
} | |
if (!success) ___setErrNo(ERRNO_CODES.EIO); | |
return success; | |
},ensureRoot:function () { | |
if (FS.root) return; | |
// The main file system tree. All the contents are inside this. | |
FS.root = { | |
read: true, | |
write: true, | |
isFolder: true, | |
isDevice: false, | |
timestamp: Date.now(), | |
inodeNumber: 1, | |
contents: {} | |
}; | |
},init:function (input, output, error) { | |
// Make sure we initialize only once. | |
assert(!FS.init.initialized, 'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)'); | |
FS.init.initialized = true; | |
FS.ensureRoot(); | |
// Allow Module.stdin etc. to provide defaults, if none explicitly passed to us here | |
input = input || Module['stdin']; | |
output = output || Module['stdout']; | |
error = error || Module['stderr']; | |
// Default handlers. | |
var stdinOverridden = true, stdoutOverridden = true, stderrOverridden = true; | |
if (!input) { | |
stdinOverridden = false; | |
input = function() { | |
if (!input.cache || !input.cache.length) { | |
var result; | |
if (typeof window != 'undefined' && | |
typeof window.prompt == 'function') { | |
// Browser. | |
result = window.prompt('Input: '); | |
if (result === null) result = String.fromCharCode(0); // cancel ==> EOF | |
} else if (typeof readline == 'function') { | |
// Command line. | |
result = readline(); | |
} | |
if (!result) result = ''; | |
input.cache = intArrayFromString(result + '\n', true); | |
} | |
return input.cache.shift(); | |
}; | |
} | |
var utf8 = new Runtime.UTF8Processor(); | |
function simpleOutput(val) { | |
if (val === null || val === 10) { | |
output.printer(output.buffer.join('')); | |
output.buffer = []; | |
} else { | |
output.buffer.push(utf8.processCChar(val)); | |
} | |
} | |
if (!output) { | |
stdoutOverridden = false; | |
output = simpleOutput; | |
} | |
if (!output.printer) output.printer = Module['print']; | |
if (!output.buffer) output.buffer = []; | |
if (!error) { | |
stderrOverridden = false; | |
error = simpleOutput; | |
} | |
if (!error.printer) error.printer = Module['print']; | |
if (!error.buffer) error.buffer = []; | |
// Create the temporary folder, if not already created | |
try { | |
FS.createFolder('/', 'tmp', true, true); | |
} catch(e) {} | |
// Create the I/O devices. | |
var devFolder = FS.createFolder('/', 'dev', true, true); | |
var stdin = FS.createDevice(devFolder, 'stdin', input); | |
var stdout = FS.createDevice(devFolder, 'stdout', null, output); | |
var stderr = FS.createDevice(devFolder, 'stderr', null, error); | |
FS.createDevice(devFolder, 'tty', input, output); | |
// Create default streams. | |
FS.streams[1] = { | |
path: '/dev/stdin', | |
object: stdin, | |
position: 0, | |
isRead: true, | |
isWrite: false, | |
isAppend: false, | |
isTerminal: !stdinOverridden, | |
error: false, | |
eof: false, | |
ungotten: [] | |
}; | |
FS.streams[2] = { | |
path: '/dev/stdout', | |
object: stdout, | |
position: 0, | |
isRead: false, | |
isWrite: true, | |
isAppend: false, | |
isTerminal: !stdoutOverridden, | |
error: false, | |
eof: false, | |
ungotten: [] | |
}; | |
FS.streams[3] = { | |
path: '/dev/stderr', | |
object: stderr, | |
position: 0, | |
isRead: false, | |
isWrite: true, | |
isAppend: false, | |
isTerminal: !stderrOverridden, | |
error: false, | |
eof: false, | |
ungotten: [] | |
}; | |
assert(Math.max(_stdin, _stdout, _stderr) < 128); // make sure these are low, we flatten arrays with these | |
HEAP32[((_stdin)>>2)]=1; | |
HEAP32[((_stdout)>>2)]=2; | |
HEAP32[((_stderr)>>2)]=3; | |
// Other system paths | |
FS.createPath('/', 'dev/shm/tmp', true, true); // temp files | |
// Newlib initialization | |
for (var i = FS.streams.length; i < Math.max(_stdin, _stdout, _stderr) + 4; i++) { | |
FS.streams[i] = null; // Make sure to keep FS.streams dense | |
} | |
FS.streams[_stdin] = FS.streams[1]; | |
FS.streams[_stdout] = FS.streams[2]; | |
FS.streams[_stderr] = FS.streams[3]; | |
allocate([ allocate( | |
[0, 0, 0, 0, _stdin, 0, 0, 0, _stdout, 0, 0, 0, _stderr, 0, 0, 0], | |
'void*', ALLOC_STATIC) ], 'void*', ALLOC_NONE, __impure_ptr); | |
},quit:function () { | |
if (!FS.init.initialized) return; | |
// Flush any partially-printed lines in stdout and stderr. Careful, they may have been closed | |
if (FS.streams[2] && FS.streams[2].object.output.buffer.length > 0) FS.streams[2].object.output(10); | |
if (FS.streams[3] && FS.streams[3].object.output.buffer.length > 0) FS.streams[3].object.output(10); | |
},standardizePath:function (path) { | |
if (path.substr(0, 2) == './') path = path.substr(2); | |
return path; | |
},deleteFile:function (path) { | |
path = FS.analyzePath(path); | |
if (!path.parentExists || !path.exists) { | |
throw 'Invalid path ' + path; | |
} | |
delete path.parentObject.contents[path.name]; | |
}}; | |
function _pwrite(fildes, buf, nbyte, offset) { | |
// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html | |
var stream = FS.streams[fildes]; | |
if (!stream || stream.object.isDevice) { | |
___setErrNo(ERRNO_CODES.EBADF); | |
return -1; | |
} else if (!stream.isWrite) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
return -1; | |
} else if (stream.object.isFolder) { | |
___setErrNo(ERRNO_CODES.EISDIR); | |
return -1; | |
} else if (nbyte < 0 || offset < 0) { | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return -1; | |
} else { | |
var contents = stream.object.contents; | |
while (contents.length < offset) contents.push(0); | |
for (var i = 0; i < nbyte; i++) { | |
contents[offset + i] = HEAPU8[(((buf)+(i))|0)]; | |
} | |
stream.object.timestamp = Date.now(); | |
return i; | |
} | |
}function _write(fildes, buf, nbyte) { | |
// ssize_t write(int fildes, const void *buf, size_t nbyte); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html | |
var stream = FS.streams[fildes]; | |
if (!stream) { | |
___setErrNo(ERRNO_CODES.EBADF); | |
return -1; | |
} else if (!stream.isWrite) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
return -1; | |
} else if (nbyte < 0) { | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return -1; | |
} else { | |
if (stream.object.isDevice) { | |
if (stream.object.output) { | |
for (var i = 0; i < nbyte; i++) { | |
try { | |
stream.object.output(HEAP8[(((buf)+(i))|0)]); | |
} catch (e) { | |
___setErrNo(ERRNO_CODES.EIO); | |
return -1; | |
} | |
} | |
stream.object.timestamp = Date.now(); | |
return i; | |
} else { | |
___setErrNo(ERRNO_CODES.ENXIO); | |
return -1; | |
} | |
} else { | |
var bytesWritten = _pwrite(fildes, buf, nbyte, stream.position); | |
if (bytesWritten != -1) stream.position += bytesWritten; | |
return bytesWritten; | |
} | |
} | |
}function _fwrite(ptr, size, nitems, stream) { | |
// size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/fwrite.html | |
var bytesToWrite = nitems * size; | |
if (bytesToWrite == 0) return 0; | |
var bytesWritten = _write(stream, ptr, bytesToWrite); | |
if (bytesWritten == -1) { | |
if (FS.streams[stream]) FS.streams[stream].error = true; | |
return 0; | |
} else { | |
return Math.floor(bytesWritten / size); | |
} | |
} | |
function _fflush(stream) { | |
// int fflush(FILE *stream); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/fflush.html | |
var flush = function(filedes) { | |
// Right now we write all data directly, except for output devices. | |
if (FS.streams[filedes] && FS.streams[filedes].object.output) { | |
if (!FS.streams[filedes].isTerminal) { // don't flush terminals, it would cause a \n to also appear | |
FS.streams[filedes].object.output(null); | |
} | |
} | |
}; | |
try { | |
if (stream === 0) { | |
for (var i = 0; i < FS.streams.length; i++) if (FS.streams[i]) flush(i); | |
} else { | |
flush(stream); | |
} | |
return 0; | |
} catch (e) { | |
___setErrNo(ERRNO_CODES.EIO); | |
return -1; | |
} | |
} | |
function _ungetc(c, stream) { | |
// int ungetc(int c, FILE *stream); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/ungetc.html | |
if (FS.streams[stream]) { | |
c = unSign(c & 0xFF); | |
FS.streams[stream].ungotten.push(c); | |
return c; | |
} else { | |
return -1; | |
} | |
} | |
function _pread(fildes, buf, nbyte, offset) { | |
// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html | |
var stream = FS.streams[fildes]; | |
if (!stream || stream.object.isDevice) { | |
___setErrNo(ERRNO_CODES.EBADF); | |
return -1; | |
} else if (!stream.isRead) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
return -1; | |
} else if (stream.object.isFolder) { | |
___setErrNo(ERRNO_CODES.EISDIR); | |
return -1; | |
} else if (nbyte < 0 || offset < 0) { | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return -1; | |
} else { | |
var bytesRead = 0; | |
while (stream.ungotten.length && nbyte > 0) { | |
HEAP8[((buf++)|0)]=stream.ungotten.pop() | |
nbyte--; | |
bytesRead++; | |
} | |
var contents = stream.object.contents; | |
var size = Math.min(contents.length - offset, nbyte); | |
if (contents.subarray) { // typed array | |
HEAPU8.set(contents.subarray(offset, offset+size), buf); | |
} else | |
if (contents.slice) { // normal array | |
for (var i = 0; i < size; i++) { | |
HEAP8[(((buf)+(i))|0)]=contents[offset + i] | |
} | |
} else { | |
for (var i = 0; i < size; i++) { // LazyUint8Array from sync binary XHR | |
HEAP8[(((buf)+(i))|0)]=contents.get(offset + i) | |
} | |
} | |
bytesRead += size; | |
return bytesRead; | |
} | |
}function _read(fildes, buf, nbyte) { | |
// ssize_t read(int fildes, void *buf, size_t nbyte); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html | |
var stream = FS.streams[fildes]; | |
if (!stream) { | |
___setErrNo(ERRNO_CODES.EBADF); | |
return -1; | |
} else if (!stream.isRead) { | |
___setErrNo(ERRNO_CODES.EACCES); | |
return -1; | |
} else if (nbyte < 0) { | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return -1; | |
} else { | |
var bytesRead; | |
if (stream.object.isDevice) { | |
if (stream.object.input) { | |
bytesRead = 0; | |
while (stream.ungotten.length && nbyte > 0) { | |
HEAP8[((buf++)|0)]=stream.ungotten.pop() | |
nbyte--; | |
bytesRead++; | |
} | |
for (var i = 0; i < nbyte; i++) { | |
try { | |
var result = stream.object.input(); | |
} catch (e) { | |
___setErrNo(ERRNO_CODES.EIO); | |
return -1; | |
} | |
if (result === null || result === undefined) break; | |
bytesRead++; | |
HEAP8[(((buf)+(i))|0)]=result | |
} | |
return bytesRead; | |
} else { | |
___setErrNo(ERRNO_CODES.ENXIO); | |
return -1; | |
} | |
} else { | |
var ungotSize = stream.ungotten.length; | |
bytesRead = _pread(fildes, buf, nbyte, stream.position); | |
if (bytesRead != -1) { | |
stream.position += (stream.ungotten.length - ungotSize) + bytesRead; | |
} | |
return bytesRead; | |
} | |
} | |
}function _fgetc(stream) { | |
// int fgetc(FILE *stream); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/fgetc.html | |
if (!FS.streams[stream]) return -1; | |
var streamObj = FS.streams[stream]; | |
if (streamObj.eof || streamObj.error) return -1; | |
var ret = _read(stream, _fgetc.ret, 1); | |
if (ret == 0) { | |
streamObj.eof = true; | |
return -1; | |
} else if (ret == -1) { | |
streamObj.error = true; | |
return -1; | |
} else { | |
return HEAPU8[((_fgetc.ret)|0)]; | |
} | |
}var _getc=_fgetc; | |
function ___errno_location() { | |
return ___setErrNo.ret; | |
}var ___errno=___errno_location; | |
Module["_strcpy"] = _strcpy; | |
var ERRNO_MESSAGES={1:"Operation not permitted",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"Input/output error",6:"No such device or address",8:"Exec format error",9:"Bad file descriptor",10:"No child processes",11:"Resource temporarily unavailable",12:"Cannot allocate memory",13:"Permission denied",14:"Bad address",16:"Device or resource busy",17:"File exists",18:"Invalid cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Inappropriate ioctl for device",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read-only file system",31:"Too many links",32:"Broken pipe",33:"Numerical argument out of domain",34:"Numerical result out of range",35:"Resource deadlock avoided",36:"File name too long",37:"No locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many levels of symbolic links",42:"No message of desired type",43:"Identifier removed",60:"Device not a stream",61:"No data available",62:"Timer expired",63:"Out of streams resources",67:"Link has been severed",71:"Protocol error",72:"Multihop attempted",74:"Bad message",75:"Value too large for defined data type",84:"Invalid or incomplete multibyte or wide character",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Protocol not supported",95:"Operation not supported",97:"Address family not supported by protocol",98:"Address already in use",99:"Cannot assign requested address",100:"Network is down",101:"Network is unreachable",102:"Network dropped connection on reset",103:"Software caused connection abort",104:"Connection reset by peer",105:"No buffer space available",106:"Transport endpoint is already connected",107:"Transport endpoint is not connected",110:"Connection timed out",111:"Connection refused",113:"No route to host",114:"Operation already in progress",115:"Operation now in progress",116:"Stale NFS file handle",122:"Disk quota exceeded",125:"Operation canceled",130:"Owner died",131:"State not recoverable"};function _strerror_r(errnum, strerrbuf, buflen) { | |
if (errnum in ERRNO_MESSAGES) { | |
if (ERRNO_MESSAGES[errnum].length > buflen - 1) { | |
return ___setErrNo(ERRNO_CODES.ERANGE); | |
} else { | |
var msg = ERRNO_MESSAGES[errnum]; | |
for (var i = 0; i < msg.length; i++) { | |
HEAP8[(((strerrbuf)+(i))|0)]=msg.charCodeAt(i) | |
} | |
HEAP8[(((strerrbuf)+(i))|0)]=0 | |
return 0; | |
} | |
} else { | |
return ___setErrNo(ERRNO_CODES.EINVAL); | |
} | |
}function _strerror(errnum) { | |
if (!_strerror.buffer) _strerror.buffer = _malloc(256); | |
_strerror_r(errnum, _strerror.buffer, 256); | |
return _strerror.buffer; | |
} | |
function _abort() { | |
ABORT = true; | |
throw 'abort() at ' + (new Error().stack); | |
} | |
Module["_memmove"] = _memmove;var _llvm_memmove_p0i8_p0i8_i32=_memmove; | |
function ___cxa_rethrow() { | |
___cxa_end_catch.rethrown = true; | |
throw HEAP32[((_llvm_eh_exception.buf)>>2)] + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.";; | |
} | |
function __reallyNegative(x) { | |
return x < 0 || (x === 0 && (1/x) === -Infinity); | |
}function __formatString(format, varargs) { | |
var textIndex = format; | |
var argIndex = 0; | |
function getNextArg(type) { | |
// NOTE: Explicitly ignoring type safety. Otherwise this fails: | |
// int x = 4; printf("%c\n", (char)x); | |
var ret; | |
if (type === 'double') { | |
ret = (HEAP32[((tempDoublePtr)>>2)]=HEAP32[(((varargs)+(argIndex))>>2)],HEAP32[(((tempDoublePtr)+(4))>>2)]=HEAP32[(((varargs)+((argIndex)+(4)))>>2)],(+(HEAPF64[(tempDoublePtr)>>3]))); | |
} else if (type == 'i64') { | |
ret = [HEAP32[(((varargs)+(argIndex))>>2)], | |
HEAP32[(((varargs)+(argIndex+4))>>2)]]; | |
} else { | |
type = 'i32'; // varargs are always i32, i64, or double | |
ret = HEAP32[(((varargs)+(argIndex))>>2)]; | |
} | |
argIndex += Runtime.getNativeFieldSize(type); | |
return ret; | |
} | |
var ret = []; | |
var curr, next, currArg; | |
while(1) { | |
var startTextIndex = textIndex; | |
curr = HEAP8[(textIndex)]; | |
if (curr === 0) break; | |
next = HEAP8[((textIndex+1)|0)]; | |
if (curr == 37) { | |
// Handle flags. | |
var flagAlwaysSigned = false; | |
var flagLeftAlign = false; | |
var flagAlternative = false; | |
var flagZeroPad = false; | |
flagsLoop: while (1) { | |
switch (next) { | |
case 43: | |
flagAlwaysSigned = true; | |
break; | |
case 45: | |
flagLeftAlign = true; | |
break; | |
case 35: | |
flagAlternative = true; | |
break; | |
case 48: | |
if (flagZeroPad) { | |
break flagsLoop; | |
} else { | |
flagZeroPad = true; | |
break; | |
} | |
default: | |
break flagsLoop; | |
} | |
textIndex++; | |
next = HEAP8[((textIndex+1)|0)]; | |
} | |
// Handle width. | |
var width = 0; | |
if (next == 42) { | |
width = getNextArg('i32'); | |
textIndex++; | |
next = HEAP8[((textIndex+1)|0)]; | |
} else { | |
while (next >= 48 && next <= 57) { | |
width = width * 10 + (next - 48); | |
textIndex++; | |
next = HEAP8[((textIndex+1)|0)]; | |
} | |
} | |
// Handle precision. | |
var precisionSet = false; | |
if (next == 46) { | |
var precision = 0; | |
precisionSet = true; | |
textIndex++; | |
next = HEAP8[((textIndex+1)|0)]; | |
if (next == 42) { | |
precision = getNextArg('i32'); | |
textIndex++; | |
} else { | |
while(1) { | |
var precisionChr = HEAP8[((textIndex+1)|0)]; | |
if (precisionChr < 48 || | |
precisionChr > 57) break; | |
precision = precision * 10 + (precisionChr - 48); | |
textIndex++; | |
} | |
} | |
next = HEAP8[((textIndex+1)|0)]; | |
} else { | |
var precision = 6; // Standard default. | |
} | |
// Handle integer sizes. WARNING: These assume a 32-bit architecture! | |
var argSize; | |
switch (String.fromCharCode(next)) { | |
case 'h': | |
var nextNext = HEAP8[((textIndex+2)|0)]; | |
if (nextNext == 104) { | |
textIndex++; | |
argSize = 1; // char (actually i32 in varargs) | |
} else { | |
argSize = 2; // short (actually i32 in varargs) | |
} | |
break; | |
case 'l': | |
var nextNext = HEAP8[((textIndex+2)|0)]; | |
if (nextNext == 108) { | |
textIndex++; | |
argSize = 8; // long long | |
} else { | |
argSize = 4; // long | |
} | |
break; | |
case 'L': // long long | |
case 'q': // int64_t | |
case 'j': // intmax_t | |
argSize = 8; | |
break; | |
case 'z': // size_t | |
case 't': // ptrdiff_t | |
case 'I': // signed ptrdiff_t or unsigned size_t | |
argSize = 4; | |
break; | |
default: | |
argSize = null; | |
} | |
if (argSize) textIndex++; | |
next = HEAP8[((textIndex+1)|0)]; | |
// Handle type specifier. | |
switch (String.fromCharCode(next)) { | |
case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': { | |
// Integer. | |
var signed = next == 100 || next == 105; | |
argSize = argSize || 4; | |
var currArg = getNextArg('i' + (argSize * 8)); | |
var origArg = currArg; | |
var argText; | |
// Flatten i64-1 [low, high] into a (slightly rounded) double | |
if (argSize == 8) { | |
currArg = Runtime.makeBigInt(currArg[0], currArg[1], next == 117); | |
} | |
// Truncate to requested size. | |
if (argSize <= 4) { | |
var limit = Math.pow(256, argSize) - 1; | |
currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8); | |
} | |
// Format the number. | |
var currAbsArg = Math.abs(currArg); | |
var prefix = ''; | |
if (next == 100 || next == 105) { | |
if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], null); else | |
argText = reSign(currArg, 8 * argSize, 1).toString(10); | |
} else if (next == 117) { | |
if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], true); else | |
argText = unSign(currArg, 8 * argSize, 1).toString(10); | |
currArg = Math.abs(currArg); | |
} else if (next == 111) { | |
argText = (flagAlternative ? '0' : '') + currAbsArg.toString(8); | |
} else if (next == 120 || next == 88) { | |
prefix = flagAlternative ? '0x' : ''; | |
if (argSize == 8 && i64Math) { | |
if (origArg[1]) { | |
argText = (origArg[1]>>>0).toString(16); | |
var lower = (origArg[0]>>>0).toString(16); | |
while (lower.length < 8) lower = '0' + lower; | |
argText += lower; | |
} else { | |
argText = (origArg[0]>>>0).toString(16); | |
} | |
} else | |
if (currArg < 0) { | |
// Represent negative numbers in hex as 2's complement. | |
currArg = -currArg; | |
argText = (currAbsArg - 1).toString(16); | |
var buffer = []; | |
for (var i = 0; i < argText.length; i++) { | |
buffer.push((0xF - parseInt(argText[i], 16)).toString(16)); | |
} | |
argText = buffer.join(''); | |
while (argText.length < argSize * 2) argText = 'f' + argText; | |
} else { | |
argText = currAbsArg.toString(16); | |
} | |
if (next == 88) { | |
prefix = prefix.toUpperCase(); | |
argText = argText.toUpperCase(); | |
} | |
} else if (next == 112) { | |
if (currAbsArg === 0) { | |
argText = '(nil)'; | |
} else { | |
prefix = '0x'; | |
argText = currAbsArg.toString(16); | |
} | |
} | |
if (precisionSet) { | |
while (argText.length < precision) { | |
argText = '0' + argText; | |
} | |
} | |
// Add sign if needed | |
if (flagAlwaysSigned) { | |
if (currArg < 0) { | |
prefix = '-' + prefix; | |
} else { | |
prefix = '+' + prefix; | |
} | |
} | |
// Add padding. | |
while (prefix.length + argText.length < width) { | |
if (flagLeftAlign) { | |
argText += ' '; | |
} else { | |
if (flagZeroPad) { | |
argText = '0' + argText; | |
} else { | |
prefix = ' ' + prefix; | |
} | |
} | |
} | |
// Insert the result into the buffer. | |
argText = prefix + argText; | |
argText.split('').forEach(function(chr) { | |
ret.push(chr.charCodeAt(0)); | |
}); | |
break; | |
} | |
case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': { | |
// Float. | |
var currArg = getNextArg('double'); | |
var argText; | |
if (isNaN(currArg)) { | |
argText = 'nan'; | |
flagZeroPad = false; | |
} else if (!isFinite(currArg)) { | |
argText = (currArg < 0 ? '-' : '') + 'inf'; | |
flagZeroPad = false; | |
} else { | |
var isGeneral = false; | |
var effectivePrecision = Math.min(precision, 20); | |
// Convert g/G to f/F or e/E, as per: | |
// http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html | |
if (next == 103 || next == 71) { | |
isGeneral = true; | |
precision = precision || 1; | |
var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10); | |
if (precision > exponent && exponent >= -4) { | |
next = ((next == 103) ? 'f' : 'F').charCodeAt(0); | |
precision -= exponent + 1; | |
} else { | |
next = ((next == 103) ? 'e' : 'E').charCodeAt(0); | |
precision--; | |
} | |
effectivePrecision = Math.min(precision, 20); | |
} | |
if (next == 101 || next == 69) { | |
argText = currArg.toExponential(effectivePrecision); | |
// Make sure the exponent has at least 2 digits. | |
if (/[eE][-+]\d$/.test(argText)) { | |
argText = argText.slice(0, -1) + '0' + argText.slice(-1); | |
} | |
} else if (next == 102 || next == 70) { | |
argText = currArg.toFixed(effectivePrecision); | |
if (currArg === 0 && __reallyNegative(currArg)) { | |
argText = '-' + argText; | |
} | |
} | |
var parts = argText.split('e'); | |
if (isGeneral && !flagAlternative) { | |
// Discard trailing zeros and periods. | |
while (parts[0].length > 1 && parts[0].indexOf('.') != -1 && | |
(parts[0].slice(-1) == '0' || parts[0].slice(-1) == '.')) { | |
parts[0] = parts[0].slice(0, -1); | |
} | |
} else { | |
// Make sure we have a period in alternative mode. | |
if (flagAlternative && argText.indexOf('.') == -1) parts[0] += '.'; | |
// Zero pad until required precision. | |
while (precision > effectivePrecision++) parts[0] += '0'; | |
} | |
argText = parts[0] + (parts.length > 1 ? 'e' + parts[1] : ''); | |
// Capitalize 'E' if needed. | |
if (next == 69) argText = argText.toUpperCase(); | |
// Add sign. | |
if (flagAlwaysSigned && currArg >= 0) { | |
argText = '+' + argText; | |
} | |
} | |
// Add padding. | |
while (argText.length < width) { | |
if (flagLeftAlign) { | |
argText += ' '; | |
} else { | |
if (flagZeroPad && (argText[0] == '-' || argText[0] == '+')) { | |
argText = argText[0] + '0' + argText.slice(1); | |
} else { | |
argText = (flagZeroPad ? '0' : ' ') + argText; | |
} | |
} | |
} | |
// Adjust case. | |
if (next < 97) argText = argText.toUpperCase(); | |
// Insert the result into the buffer. | |
argText.split('').forEach(function(chr) { | |
ret.push(chr.charCodeAt(0)); | |
}); | |
break; | |
} | |
case 's': { | |
// String. | |
var arg = getNextArg('i8*') || nullString; | |
var argLength = _strlen(arg); | |
if (precisionSet) argLength = Math.min(argLength, precision); | |
if (!flagLeftAlign) { | |
while (argLength < width--) { | |
ret.push(32); | |
} | |
} | |
for (var i = 0; i < argLength; i++) { | |
ret.push(HEAPU8[((arg++)|0)]); | |
} | |
if (flagLeftAlign) { | |
while (argLength < width--) { | |
ret.push(32); | |
} | |
} | |
break; | |
} | |
case 'c': { | |
// Character. | |
if (flagLeftAlign) ret.push(getNextArg('i8')); | |
while (--width > 0) { | |
ret.push(32); | |
} | |
if (!flagLeftAlign) ret.push(getNextArg('i8')); | |
break; | |
} | |
case 'n': { | |
// Write the length written so far to the next parameter. | |
var ptr = getNextArg('i32*'); | |
HEAP32[((ptr)>>2)]=ret.length | |
break; | |
} | |
case '%': { | |
// Literal percent sign. | |
ret.push(curr); | |
break; | |
} | |
default: { | |
// Unknown specifiers remain untouched. | |
for (var i = startTextIndex; i < textIndex + 2; i++) { | |
ret.push(HEAP8[(i)]); | |
} | |
} | |
} | |
textIndex += 2; | |
// TODO: Support a/A (hex float) and m (last error) specifiers. | |
// TODO: Support %1${specifier} for arg selection. | |
} else { | |
ret.push(curr); | |
textIndex += 1; | |
} | |
} | |
return ret; | |
}function _snprintf(s, n, format, varargs) { | |
// int snprintf(char *restrict s, size_t n, const char *restrict format, ...); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html | |
var result = __formatString(format, varargs); | |
var limit = (n === undefined) ? result.length | |
: Math.min(result.length, Math.max(n - 1, 0)); | |
if (s < 0) { | |
s = -s; | |
var buf = _malloc(limit+1); | |
HEAP32[((s)>>2)]=buf; | |
s = buf; | |
} | |
for (var i = 0; i < limit; i++) { | |
HEAP8[(((s)+(i))|0)]=result[i]; | |
} | |
if (limit < n || (n === undefined)) HEAP8[(((s)+(i))|0)]=0; | |
return result.length; | |
} | |
function _wmemmove() { throw 'wmemmove not implemented' } | |
function _wmemset() { throw 'wmemset not implemented' } | |
function _wmemcpy() { throw 'wmemcpy not implemented' } | |
function _wcslen() { throw 'wcslen not implemented' } | |
function _isxdigit(chr) { | |
return (chr >= 48 && chr <= 57) || | |
(chr >= 97 && chr <= 102) || | |
(chr >= 65 && chr <= 70); | |
}var _isxdigit_l=_isxdigit; | |
function _isdigit(chr) { | |
return chr >= 48 && chr <= 57; | |
}var _isdigit_l=_isdigit; | |
function __isFloat(text) { | |
return !!(/^[+-]?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?$/.exec(text)); | |
}function __scanString(format, get, unget, varargs) { | |
if (!__scanString.whiteSpace) { | |
__scanString.whiteSpace = {}; | |
__scanString.whiteSpace[32] = 1; | |
__scanString.whiteSpace[9] = 1; | |
__scanString.whiteSpace[10] = 1; | |
__scanString.whiteSpace[' '] = 1; | |
__scanString.whiteSpace['\t'] = 1; | |
__scanString.whiteSpace['\n'] = 1; | |
} | |
// Supports %x, %4x, %d.%d, %lld, %s, %f, %lf. | |
// TODO: Support all format specifiers. | |
format = Pointer_stringify(format); | |
var soFar = 0; | |
if (format.indexOf('%n') >= 0) { | |
// need to track soFar | |
var _get = get; | |
get = function() { | |
soFar++; | |
return _get(); | |
} | |
var _unget = unget; | |
unget = function() { | |
soFar--; | |
return _unget(); | |
} | |
} | |
var formatIndex = 0; | |
var argsi = 0; | |
var fields = 0; | |
var argIndex = 0; | |
var next; | |
mainLoop: | |
for (var formatIndex = 0; formatIndex < format.length;) { | |
if (format[formatIndex] === '%' && format[formatIndex+1] == 'n') { | |
var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; | |
argIndex += Runtime.getNativeFieldSize('void*'); | |
HEAP32[((argPtr)>>2)]=soFar; | |
formatIndex += 2; | |
continue; | |
} | |
// TODO: Support strings like "%5c" etc. | |
if (format[formatIndex] === '%' && format[formatIndex+1] == 'c') { | |
var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; | |
argIndex += Runtime.getNativeFieldSize('void*'); | |
fields++; | |
next = get(); | |
HEAP8[(argPtr)]=next | |
formatIndex += 2; | |
continue; | |
} | |
// remove whitespace | |
while (1) { | |
next = get(); | |
if (next == 0) return fields; | |
if (!(next in __scanString.whiteSpace)) break; | |
} | |
unget(); | |
if (format[formatIndex] === '%') { | |
formatIndex++; | |
var maxSpecifierStart = formatIndex; | |
while (format[formatIndex].charCodeAt(0) >= 48 && | |
format[formatIndex].charCodeAt(0) <= 57) { | |
formatIndex++; | |
} | |
var max_; | |
if (formatIndex != maxSpecifierStart) { | |
max_ = parseInt(format.slice(maxSpecifierStart, formatIndex), 10); | |
} | |
var long_ = false; | |
var half = false; | |
var longLong = false; | |
if (format[formatIndex] == 'l') { | |
long_ = true; | |
formatIndex++; | |
if(format[formatIndex] == 'l') { | |
longLong = true; | |
formatIndex++; | |
} | |
} else if (format[formatIndex] == 'h') { | |
half = true; | |
formatIndex++; | |
} | |
var type = format[formatIndex]; | |
formatIndex++; | |
var curr = 0; | |
var buffer = []; | |
// Read characters according to the format. floats are trickier, they may be in an unfloat state in the middle, then be a valid float later | |
if (type == 'f' || type == 'e' || type == 'g' || type == 'E') { | |
var last = 0; | |
next = get(); | |
while (next > 0) { | |
buffer.push(String.fromCharCode(next)); | |
if (__isFloat(buffer.join(''))) { | |
last = buffer.length; | |
} | |
next = get(); | |
} | |
for (var i = 0; i < buffer.length - last + 1; i++) { | |
unget(); | |
} | |
buffer.length = last; | |
} else { | |
next = get(); | |
var first = true; | |
while ((curr < max_ || isNaN(max_)) && next > 0) { | |
if (!(next in __scanString.whiteSpace) && // stop on whitespace | |
(type == 's' || | |
((type === 'd' || type == 'u' || type == 'i') && ((next >= 48 && next <= 57) || | |
(first && next == 45))) || | |
(type === 'x' && (next >= 48 && next <= 57 || | |
next >= 97 && next <= 102 || | |
next >= 65 && next <= 70))) && | |
(formatIndex >= format.length || next !== format[formatIndex].charCodeAt(0))) { // Stop when we read something that is coming up | |
buffer.push(String.fromCharCode(next)); | |
next = get(); | |
curr++; | |
first = false; | |
} else { | |
break; | |
} | |
} | |
unget(); | |
} | |
if (buffer.length === 0) return 0; // Failure. | |
var text = buffer.join(''); | |
var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; | |
argIndex += Runtime.getNativeFieldSize('void*'); | |
switch (type) { | |
case 'd': case 'u': case 'i': | |
if (half) { | |
HEAP16[((argPtr)>>1)]=parseInt(text, 10); | |
} else if(longLong) { | |
(tempI64 = [parseInt(text, 10)>>>0,Math.min(Math.floor((parseInt(text, 10))/(+(4294967296))), (+(4294967295)))>>>0],HEAP32[((argPtr)>>2)]=tempI64[0],HEAP32[(((argPtr)+(4))>>2)]=tempI64[1]); | |
} else { | |
HEAP32[((argPtr)>>2)]=parseInt(text, 10); | |
} | |
break; | |
case 'x': | |
HEAP32[((argPtr)>>2)]=parseInt(text, 16) | |
break; | |
case 'f': | |
case 'e': | |
case 'g': | |
case 'E': | |
// fallthrough intended | |
if (long_) { | |
(HEAPF64[(tempDoublePtr)>>3]=parseFloat(text),HEAP32[((argPtr)>>2)]=((HEAP32[((tempDoublePtr)>>2)])|0),HEAP32[(((argPtr)+(4))>>2)]=((HEAP32[(((tempDoublePtr)+(4))>>2)])|0)) | |
} else { | |
HEAPF32[((argPtr)>>2)]=parseFloat(text) | |
} | |
break; | |
case 's': | |
var array = intArrayFromString(text); | |
for (var j = 0; j < array.length; j++) { | |
HEAP8[(((argPtr)+(j))|0)]=array[j] | |
} | |
break; | |
} | |
fields++; | |
} else if (format[formatIndex] in __scanString.whiteSpace) { | |
next = get(); | |
while (next in __scanString.whiteSpace) { | |
if (next <= 0) break mainLoop; // End of input. | |
next = get(); | |
} | |
unget(next); | |
formatIndex++; | |
} else { | |
// Not a specifier. | |
next = get(); | |
if (format[formatIndex].charCodeAt(0) !== next) { | |
unget(next); | |
break mainLoop; | |
} | |
formatIndex++; | |
} | |
} | |
return fields; | |
}function _sscanf(s, format, varargs) { | |
// int sscanf(const char *restrict s, const char *restrict format, ... ); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/scanf.html | |
var index = 0; | |
var get = function() { return HEAP8[(((s)+(index++))|0)]; }; | |
var unget = function() { index--; }; | |
return __scanString(format, get, unget, varargs); | |
} | |
function __Z7catopenPKci() { throw 'catopen not implemented' } | |
function __Z7catgetsP8_nl_catdiiPKc() { throw 'catgets not implemented' } | |
function __Z8catcloseP8_nl_catd() { throw 'catclose not implemented' } | |
function _newlocale(mask, locale, base) { | |
return 0; | |
} | |
function _freelocale(locale) {} | |
function ___ctype_b_loc() { | |
// http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/baselib---ctype-b-loc.html | |
var me = ___ctype_b_loc; | |
if (!me.ret) { | |
var values = [ | |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, | |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, | |
0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,8195,8194,8194,8194,8194,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,24577,49156,49156,49156, | |
49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,55304,55304,55304,55304,55304,55304,55304,55304, | |
55304,55304,49156,49156,49156,49156,49156,49156,49156,54536,54536,54536,54536,54536,54536,50440,50440,50440,50440,50440, | |
50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,49156,49156,49156,49156,49156, | |
49156,54792,54792,54792,54792,54792,54792,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696, | |
50696,50696,50696,50696,50696,50696,50696,49156,49156,49156,49156,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 | |
]; | |
var i16size = 2; | |
var arr = _malloc(values.length * i16size); | |
for (var i = 0; i < values.length; i++) { | |
HEAP16[(((arr)+(i * i16size))>>1)]=values[i] | |
} | |
me.ret = allocate([arr + 128 * i16size], 'i16*', ALLOC_NORMAL); | |
} | |
return me.ret; | |
} | |
function ___ctype_tolower_loc() { | |
// http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libutil---ctype-tolower-loc.html | |
var me = ___ctype_tolower_loc; | |
if (!me.ret) { | |
var values = [ | |
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,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187, | |
188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217, | |
218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247, | |
248,249,250,251,252,253,254,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32, | |
33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,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,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,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193, | |
194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223, | |
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253, | |
254,255 | |
]; | |
var i32size = 4; | |
var arr = _malloc(values.length * i32size); | |
for (var i = 0; i < values.length; i++) { | |
HEAP32[(((arr)+(i * i32size))>>2)]=values[i] | |
} | |
me.ret = allocate([arr + 128 * i32size], 'i32*', ALLOC_NORMAL); | |
} | |
return me.ret; | |
} | |
function ___ctype_toupper_loc() { | |
// http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libutil---ctype-toupper-loc.html | |
var me = ___ctype_toupper_loc; | |
if (!me.ret) { | |
var values = [ | |
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,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187, | |
188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217, | |
218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247, | |
248,249,250,251,252,253,254,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32, | |
33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,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,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,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,168,169,170,171,172,173,174, | |
175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204, | |
205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234, | |
235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255 | |
]; | |
var i32size = 4; | |
var arr = _malloc(values.length * i32size); | |
for (var i = 0; i < values.length; i++) { | |
HEAP32[(((arr)+(i * i32size))>>2)]=values[i] | |
} | |
me.ret = allocate([arr + 128 * i32size], 'i32*', ALLOC_NORMAL); | |
} | |
return me.ret; | |
} | |
function _strftime(s, maxsize, format, timeptr) { | |
// size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr); | |
// http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html | |
// TODO: Implement. | |
return 0; | |
}var _strftime_l=_strftime; | |
function _isspace(chr) { | |
return chr in { 32: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0 }; | |
} | |
function __parseInt64(str, endptr, base, min, max, unsign) { | |
var start = str; | |
// Skip space. | |
while (_isspace(HEAP8[(str)])) str++; | |
// Check for a plus/minus sign. | |
if (HEAP8[(str)] == 45) { | |
str++; | |
} else if (HEAP8[(str)] == 43) { | |
str++; | |
} | |
// Find base. | |
var ok = false; | |
var finalBase = base; | |
if (!finalBase) { | |
if (HEAP8[(str)] == 48) { | |
if (HEAP8[((str+1)|0)] == 120 || | |
HEAP8[((str+1)|0)] == 88) { | |
finalBase = 16; | |
str += 2; | |
} else { | |
finalBase = 8; | |
str++; | |
ok = true; // we saw an initial zero, perhaps the entire thing is just "0" | |
} | |
} | |
} | |
if (!finalBase) finalBase = 10; | |
// Get digits. | |
var chr; | |
while ((chr = HEAP8[(str)]) != 0) { | |
var digit = parseInt(String.fromCharCode(chr), finalBase); | |
if (isNaN(digit)) { | |
break; | |
} else { | |
str++; | |
ok = true; | |
} | |
} | |
if (!ok) { | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return ((asm.setTempRet0(0),0)|0); | |
} | |
// Set end pointer. | |
if (endptr) { | |
HEAP32[((endptr)>>2)]=str | |
} | |
try { | |
i64Math.fromString(Pointer_stringify(start, str - start), finalBase, min, max, unsign); | |
} catch(e) { | |
___setErrNo(ERRNO_CODES.ERANGE); // not quite correct | |
} | |
return ((asm.setTempRet0(((HEAP32[(((tempDoublePtr)+(4))>>2)])|0)),((HEAP32[((tempDoublePtr)>>2)])|0))|0); | |
}function _strtoull(str, endptr, base) { | |
return __parseInt64(str, endptr, base, 0, '18446744073709551615', true); // ULONG_MAX. | |
}var _strtoull_l=_strtoull; | |
function _strtoll(str, endptr, base) { | |
return __parseInt64(str, endptr, base, '-9223372036854775808', '9223372036854775807'); // LLONG_MIN, LLONG_MAX. | |
}var _strtoll_l=_strtoll; | |
function _uselocale(locale) { | |
return 0; | |
} | |
function _mbsrtowcs() { throw 'mbsrtowcs not implemented' } | |
function _mbrlen() { throw 'mbrlen not implemented' } | |
function ___locale_mb_cur_max() { throw '__locale_mb_cur_max not implemented' } | |
function _mbtowc(pwc, pmb, maxx) { | |
// XXX doesn't really handle multibyte at all | |
if (!pmb) return 0; | |
maxx = Math.min(85, maxx); | |
var i; | |
for (i = 0; i < maxx; i++) { | |
var curr = HEAP8[(pmb)]; | |
if (pwc) { | |
HEAP8[(pwc)]=curr; | |
HEAP8[(((pwc)+(1))|0)]=0; | |
pwc += 2; | |
} | |
pmb++; | |
if (!curr) break; | |
} | |
return i; | |
} | |
function _mbrtowc() { throw 'mbrtowc not implemented' } | |
function _mbsnrtowcs() { throw 'mbsnrtowcs not implemented' } | |
function _wcrtomb(s, wc, ps) { | |
// XXX doesn't really handle multibyte at all | |
if (s) { | |
HEAP8[(s)]=wc; | |
} | |
return 1; | |
} | |
function _wcsnrtombs() { throw 'wcsnrtombs not implemented' } | |
function _sprintf(s, format, varargs) { | |
// int sprintf(char *restrict s, const char *restrict format, ...); | |
// http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html | |
return _snprintf(s, undefined, format, varargs); | |
}function _asprintf(s, format, varargs) { | |
return _sprintf(-s, format, varargs); | |
}var _vasprintf=_asprintf; | |
function _llvm_va_end() {} | |
var _vsnprintf=_snprintf; | |
var _vsprintf=_sprintf; | |
var _vsscanf=_sscanf; | |
var _llvm_memset_p0i8_i64=_memset; | |
function _sysconf(name) { | |
// long sysconf(int name); | |
// http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html | |
switch(name) { | |
case 8: return PAGE_SIZE; | |
case 54: | |
case 56: | |
case 21: | |
case 61: | |
case 63: | |
case 22: | |
case 67: | |
case 23: | |
case 24: | |
case 25: | |
case 26: | |
case 27: | |
case 69: | |
case 28: | |
case 101: | |
case 70: | |
case 71: | |
case 29: | |
case 30: | |
case 199: | |
case 75: | |
case 76: | |
case 32: | |
case 43: | |
case 44: | |
case 80: | |
case 46: | |
case 47: | |
case 45: | |
case 48: | |
case 49: | |
case 42: | |
case 82: | |
case 33: | |
case 7: | |
case 108: | |
case 109: | |
case 107: | |
case 112: | |
case 119: | |
case 121: | |
return 200809; | |
case 13: | |
case 104: | |
case 94: | |
case 95: | |
case 34: | |
case 35: | |
case 77: | |
case 81: | |
case 83: | |
case 84: | |
case 85: | |
case 86: | |
case 87: | |
case 88: | |
case 89: | |
case 90: | |
case 91: | |
case 94: | |
case 95: | |
case 110: | |
case 111: | |
case 113: | |
case 114: | |
case 115: | |
case 116: | |
case 117: | |
case 118: | |
case 120: | |
case 40: | |
case 16: | |
case 79: | |
case 19: | |
return -1; | |
case 92: | |
case 93: | |
case 5: | |
case 72: | |
case 6: | |
case 74: | |
case 92: | |
case 93: | |
case 96: | |
case 97: | |
case 98: | |
case 99: | |
case 102: | |
case 103: | |
case 105: | |
return 1; | |
case 38: | |
case 66: | |
case 50: | |
case 51: | |
case 4: | |
return 1024; | |
case 15: | |
case 64: | |
case 41: | |
return 32; | |
case 55: | |
case 37: | |
case 17: | |
return 2147483647; | |
case 18: | |
case 1: | |
return 47839; | |
case 59: | |
case 57: | |
return 99; | |
case 68: | |
case 58: | |
return 2048; | |
case 0: return 2097152; | |
case 3: return 65536; | |
case 14: return 32768; | |
case 73: return 32767; | |
case 39: return 16384; | |
case 60: return 1000; | |
case 106: return 700; | |
case 52: return 256; | |
case 62: return 255; | |
case 2: return 100; | |
case 65: return 64; | |
case 36: return 20; | |
case 100: return 16; | |
case 20: return 6; | |
case 53: return 4; | |
case 10: return 1; | |
} | |
___setErrNo(ERRNO_CODES.EINVAL); | |
return -1; | |
} | |
function _sbrk(bytes) { | |
// Implement a Linux-like 'memory area' for our 'process'. | |
// Changes the size of the memory area by |bytes|; returns the | |
// address of the previous top ('break') of the memory area | |
// We need to make sure no one else allocates unfreeable memory! | |
// We must control this entirely. So we don't even need to do | |
// unfreeable allocations - the HEAP is ours, from STATICTOP up. | |
// TODO: We could in theory slice off the top of the HEAP when | |
// sbrk gets a negative increment in |bytes|... | |
var self = _sbrk; | |
if (!self.called) { | |
STATICTOP = alignMemoryPage(STATICTOP); // make sure we start out aligned | |
self.called = true; | |
_sbrk.DYNAMIC_START = STATICTOP; | |
} | |
var ret = STATICTOP; | |
if (bytes != 0) Runtime.staticAlloc(bytes); | |
return ret; // Previous break location. | |
} | |
function _llvm_lifetime_start() {} | |
function _llvm_lifetime_end() {} | |
var Browser={mainLoop:{scheduler:null,shouldPause:false,paused:false,queue:[],pause:function () { | |
Browser.mainLoop.shouldPause = true; | |
},resume:function () { | |
if (Browser.mainLoop.paused) { | |
Browser.mainLoop.paused = false; | |
Browser.mainLoop.scheduler(); | |
} | |
Browser.mainLoop.shouldPause = false; | |
},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'](''); | |
} | |
} | |
}},isFullScreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:function () { | |
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) : console.log("warning: cannot create object URLs"); | |
// Support for plugins that can process preloaded files. You can add more of these to | |
// your app by creating and appending to Module.preloadPlugins. | |
// | |
// Each plugin is asked if it can handle a file based on the file's name. If it can, | |
// it is given the file's raw data. When it is done, it calls a callback with the file's | |
// (possibly modified) data. For example, a plugin might decompress a file, or it | |
// might create some side data structure for use later (like an Image element, etc.). | |
function getMimetype(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(-3)]; | |
return ret; | |
} | |
if (!Module["preloadPlugins"]) Module["preloadPlugins"] = []; | |
var imagePlugin = {}; | |
imagePlugin['canHandle'] = function(name) { | |
return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/.exec(name); | |
}; | |
imagePlugin['handle'] = function(byteArray, name, onload, onerror) { | |
var b = null; | |
if (Browser.hasBlobConstructor) { | |
try { | |
b = new Blob([byteArray], { type: 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); // we need to pass a buffer, and must copy the array to get the right data range | |
b = bb.getBlob(); | |
} | |
var url = Browser.URLObject.createObjectURL(b); | |
var img = new Image(); | |
img.onload = function() { | |
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(event) { | |
console.log('Image ' + url + ' could not be decoded'); | |
if (onerror) onerror(); | |
}; | |
img.src = url; | |
}; | |
Module['preloadPlugins'].push(imagePlugin); | |
var audioPlugin = {}; | |
audioPlugin['canHandle'] = function(name) { | |
return !Module.noAudioDecoding && name.substr(-4) in { '.ogg': 1, '.wav': 1, '.mp3': 1 }; | |
}; | |
audioPlugin['handle'] = function(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(); // empty shim | |
if (onerror) onerror(); | |
} | |
if (Browser.hasBlobConstructor) { | |
try { | |
var b = new Blob([byteArray], { type: getMimetype(name) }); | |
} catch(e) { | |
return fail(); | |
} | |
var url = Browser.URLObject.createObjectURL(b); // XXX we never revoke this! | |
var audio = new Audio(); | |
audio.addEventListener('canplaythrough', function() { finish(audio) }, false); // use addEventListener due to chromium bug 124926 | |
audio.onerror = function(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)) & 0x3f; | |
leftbits -= 6; | |
ret += BASE[curr]; | |
} | |
} | |
if (leftbits == 2) { | |
ret += BASE[(leftchar&3) << 4]; | |
ret += PAD + PAD; | |
} else if (leftbits == 4) { | |
ret += BASE[(leftchar&0xf) << 2]; | |
ret += PAD; | |
} | |
return ret; | |
} | |
audio.src = 'data:audio/x-' + name.substr(-3) + ';base64,' + encode64(byteArray); | |
finish(audio); // we don't wait for confirmation this worked - but it's worth trying | |
}; | |
audio.src = url; | |
// workaround for chrome bug 124926 - we do not always get oncanplaythrough or onerror | |
setTimeout(function() { | |
finish(audio); // try to use it even though it is not necessarily ready to play | |
}, 10000); | |
} else { | |
return fail(); | |
} | |
}; | |
Module['preloadPlugins'].push(audioPlugin); | |
// Canvas event setup | |
var canvas = Module['canvas']; | |
canvas.requestPointerLock = canvas['requestPointerLock'] || | |
canvas['mozRequestPointerLock'] || | |
canvas['webkitRequestPointerLock']; | |
canvas.exitPointerLock = document['exitPointerLock'] || | |
document['mozExitPointerLock'] || | |
document['webkitExitPointerLock']; | |
canvas.exitPointerLock = canvas.exitPointerLock.bind(document); | |
function pointerLockChange() { | |
Browser.pointerLock = document['pointerLockElement'] === canvas || | |
document['mozPointerLockElement'] === canvas || | |
document['webkitPointerLockElement'] === canvas; | |
} | |
document.addEventListener('pointerlockchange', pointerLockChange, false); | |
document.addEventListener('mozpointerlockchange', pointerLockChange, false); | |
document.addEventListener('webkitpointerlockchange', 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) { | |
var ctx; | |
try { | |
if (useWebGL) { | |
ctx = canvas.getContext('experimental-webgl', { | |
alpha: false | |
}); | |
} else { | |
ctx = canvas.getContext('2d'); | |
} | |
if (!ctx) throw ':('; | |
} catch (e) { | |
Module.print('Could not create canvas - ' + e); | |
return null; | |
} | |
if (useWebGL) { | |
// Set the background of the WebGL canvas to black | |
canvas.style.backgroundColor = "black"; | |
// Warn on context loss | |
canvas.addEventListener('webglcontextlost', function(event) { | |
alert('WebGL context lost. You will need to reload the page.'); | |
}, false); | |
} | |
if (setInModule) { | |
Module.ctx = ctx; | |
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) { | |
this.lockPointer = lockPointer; | |
this.resizeCanvas = resizeCanvas; | |
if (typeof this.lockPointer === 'undefined') this.lockPointer = true; | |
if (typeof this.resizeCanvas === 'undefined') this.resizeCanvas = false; | |
var canvas = Module['canvas']; | |
function fullScreenChange() { | |
Browser.isFullScreen = false; | |
if ((document['webkitFullScreenElement'] || document['webkitFullscreenElement'] || | |
document['mozFullScreenElement'] || document['mozFullscreenElement'] || | |
document['fullScreenElement'] || document['fullscreenElement']) === canvas) { | |
canvas.cancelFullScreen = document['cancelFullScreen'] || | |
document['mozCancelFullScreen'] || | |
document['webkitCancelFullScreen']; | |
canvas.cancelFullScreen = canvas.cancelFullScreen.bind(document); | |
if (Browser.lockPointer) canvas.requestPointerLock(); | |
Browser.isFullScreen = true; | |
if (Browser.resizeCanvas) Browser.setFullScreenCanvasSize(); | |
} else if (Browser.resizeCanvas){ | |
Browser.setWindowedCanvasSize(); | |
} | |
if (Module['onFullScreen']) Module['onFullScreen'](Browser.isFullScreen); | |
} | |
if (!this.fullScreenHandlersInstalled) { | |
this.fullScreenHandlersInstalled = true; | |
document.addEventListener('fullscreenchange', fullScreenChange, false); | |
document.addEventListener('mozfullscreenchange', fullScreenChange, false); | |
document.addEventListener('webkitfullscreenchange', fullScreenChange, false); | |
} | |
canvas.requestFullScreen = canvas['requestFullScreen'] || | |
canvas['mozRequestFullScreen'] || | |
(canvas['webkitRequestFullScreen'] ? function() { canvas['webkitRequestFullScreen'](Element['ALLOW_KEYBOARD_INPUT']) } : null); | |
canvas.requestFullScreen(); | |
},requestAnimationFrame:function (func) { | |
if (!window.requestAnimationFrame) { | |
window.requestAnimationFrame = window['requestAnimationFrame'] || | |
window['mozRequestAnimationFrame'] || | |
window['webkitRequestAnimationFrame'] || | |
window['msRequestAnimationFrame'] || | |
window['oRequestAnimationFrame'] || | |
window['setTimeout']; | |
} | |
window.requestAnimationFrame(func); | |
},getMovementX:function (event) { | |
return event['movementX'] || | |
event['mozMovementX'] || | |
event['webkitMovementX'] || | |
0; | |
},getMovementY:function (event) { | |
return event['movementY'] || | |
event['mozMovementY'] || | |
event['webkitMovementY'] || | |
0; | |
},xhrLoad:function (url, onload, onerror) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); | |
xhr.responseType = 'arraybuffer'; | |
xhr.onload = function() { | |
if (xhr.status == 200) { | |
onload(xhr.response); | |
} else { | |
onerror(); | |
} | |
}; | |
xhr.onerror = onerror; | |
xhr.send(null); | |
},asyncLoad:function (url, onload, onerror, noRunDep) { | |
Browser.xhrLoad(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']; | |
canvas.width = width; | |
canvas.height = height; | |
if (!noUpdates) Browser.updateResizeListeners(); | |
},windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:function () { | |
var canvas = Module['canvas']; | |
this.windowedWidth = canvas.width; | |
this.windowedHeight = canvas.height; | |
canvas.width = screen.width; | |
canvas.height = screen.height; | |
var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]; | |
flags = flags | 0x00800000; // set SDL_FULLSCREEN flag | |
HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags | |
Browser.updateResizeListeners(); | |
},setWindowedCanvasSize:function () { | |
var canvas = Module['canvas']; | |
canvas.width = this.windowedWidth; | |
canvas.height = this.windowedHeight; | |
var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]; | |
flags = flags & ~0x00800000; // clear SDL_FULLSCREEN flag | |
HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags | |
Browser.updateResizeListeners(); | |
}}; | |
_llvm_eh_exception.buf = allocate(12, "void*", ALLOC_STATIC); | |
__ATINIT__.unshift({ func: function() { if (!Module["noFSInit"] && !FS.init.initialized) FS.init() } });__ATMAIN__.push({ func: function() { FS.ignorePermissions = false } });__ATEXIT__.push({ func: function() { FS.quit() } });Module["FS_createFolder"] = FS.createFolder;Module["FS_createPath"] = FS.createPath;Module["FS_createDataFile"] = FS.createDataFile;Module["FS_createPreloadedFile"] = FS.createPreloadedFile;Module["FS_createLazyFile"] = FS.createLazyFile;Module["FS_createLink"] = FS.createLink;Module["FS_createDevice"] = FS.createDevice; | |
___setErrNo(0); | |
_fgetc.ret = allocate([0], "i8", ALLOC_STATIC); | |
Module["requestFullScreen"] = function(lockPointer, resizeCanvas) { Browser.requestFullScreen(lockPointer, resizeCanvas) }; | |
Module["requestAnimationFrame"] = function(func) { Browser.requestAnimationFrame(func) }; | |
Module["pauseMainLoop"] = function() { Browser.mainLoop.pause() }; | |
Module["resumeMainLoop"] = function() { Browser.mainLoop.resume() }; | |
var Math_min = Math.min; | |
var i64Math_add = function(a, b, c, d) { i64Math.add(a, b, c, d) }; | |
var i64Math_subtract = function(a, b, c, d) { i64Math.subtract(a, b, c, d) }; | |
var i64Math_multiply = function(a, b, c, d) { i64Math.multiply(a, b, c, d) }; | |
var i64Math_divide = function(a, b, c, d, e) { i64Math.divide(a, b, c, d, e) }; | |
var i64Math_modulo = function(a, b, c, d, e) { i64Math.modulo(a, b, c, d, e) }; | |
function asmPrintInt(x, y) { | |
Module.print('int ' + x + ',' + y);// + ' ' + new Error().stack); | |
} | |
function asmPrintFloat(x, y) { | |
Module.print('float ' + x + ',' + y);// + ' ' + new Error().stack); | |
} | |
// 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._stdin|0;var n=env.__ZTVN10__cxxabiv117__class_type_infoE|0;var o=env.__ZTVN10__cxxabiv120__si_class_type_infoE|0;var p=env._stderr|0;var q=env._stdout|0;var r=env.___dso_handle|0;var s=+env.NaN;var t=+env.Infinity;var u=0;var v=0;var w=0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0,E=0.0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=0;var P=global.Math.floor;var Q=global.Math.abs;var R=global.Math.sqrt;var S=global.Math.pow;var T=global.Math.cos;var U=global.Math.sin;var V=global.Math.tan;var W=global.Math.acos;var X=global.Math.asin;var Y=global.Math.atan;var Z=global.Math.atan2;var _=global.Math.exp;var $=global.Math.log;var aa=global.Math.ceil;var ab=global.Math.imul;var ac=env.abort;var ad=env.assert;var ae=env.asmPrintInt;var af=env.asmPrintFloat;var ag=env.copyTempDouble;var ah=env.copyTempFloat;var ai=env.min;var aj=env.i64Math_add;var ak=env.i64Math_subtract;var al=env.i64Math_multiply;var am=env.i64Math_divide;var an=env.i64Math_modulo;var ao=env._llvm_va_end;var ap=env._rand;var aq=env._mbtowc;var ar=env._sscanf;var as=env._snprintf;var at=env._wmemmove;var au=env._fgetc;var av=env.___cxa_throw;var aw=env._srand;var ax=env._mbrtowc;var ay=env._strerror;var az=env._pthread_mutex_lock;var aA=env._atexit;var aB=env._abort;var aC=env._mbrlen;var aD=env.___cxa_end_catch;var aE=env.___cxa_free_exception;var aF=env._isdigit;var aG=env._pread;var aH=env._fflush;var aI=env._wmemcpy;var aJ=env.__reallyNegative;var aK=env._wcsnrtombs;var aL=env.__Z8catcloseP8_nl_catd;var aM=env._wcslen;var aN=env._sysconf;var aO=env._clock;var aP=env.___setErrNo;var aQ=env._fwrite;var aR=env.__Z7catgetsP8_nl_catdiiPKc;var aS=env._llvm_eh_exception;var aT=env._isxdigit;var aU=env._write;var aV=env.__scanString;var aW=env._sprintf;var aX=env._llvm_lifetime_end;var aY=env._asprintf;var aZ=env.___ctype_b_loc;var a_=env.___cxa_find_matching_catch;var a$=env._freelocale;var a0=env.__Z7catopenPKci;var a1=env.___cxa_allocate_exception;var a2=env._isspace;var a3=env._strtoll;var a4=env._strtoull;var a5=env._wmemset;var a6=env._read;var a7=env.__formatString;var a8=env._time;var a9=env.___cxa_is_number_type;var ba=env._pthread_cond_broadcast;var bb=env.___cxa_begin_catch;var bc=env.___ctype_toupper_loc;var bd=env.___cxa_guard_acquire;var be=env.___locale_mb_cur_max;var bf=env._mbsrtowcs;var bg=env.___cxa_does_inherit;var bh=env.___ctype_tolower_loc;var bi=env._pthread_mutex_unlock;var bj=env.___cxa_rethrow;var bk=env._mbsnrtowcs;var bl=env.__parseInt64;var bm=env.__ZSt18uncaught_exceptionv;var bn=env._pwrite;var bo=env.__isFloat;var bp=env._sbrk;var bq=env.___cxa_call_unexpected;var br=env.___cxa_guard_abort;var bs=env._newlocale;var bt=env.___errno_location;var bu=env.___gxx_personality_v0;var bv=env._pthread_cond_wait;var bw=env._strerror_r;var bx=env._uselocale;var by=env.___cxa_guard_release;var bz=env._ungetc;var bA=env._wcrtomb;var bB=env._strftime;var bC=env._llvm_lifetime_start; | |
// EMSCRIPTEN_START_FUNCS | |
function bV(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+3>>2<<2;return b|0}function bW(){return i|0}function bX(a){a=a|0;i=a}function bY(a){a=a|0;u=a}function bZ(a){a=a|0;F=a}function b_(a){a=a|0;G=a}function b$(a){a=a|0;H=a}function b0(a){a=a|0;I=a}function b1(a){a=a|0;J=a}function b2(a){a=a|0;K=a}function b3(a){a=a|0;L=a}function b4(a){a=a|0;M=a}function b5(a){a=a|0;N=a}function b6(a){a=a|0;O=a}function b7(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,A=0,B=0;k=i;l=d;d=i;i=i+4|0;c[d>>2]=c[l>>2]|0;l=g-e|0;m=h+12|0;h=c[m>>2]|0;n=(h|0)>(l|0)?h-l|0:0;L1:do{if(e>>>0<f>>>0){l=d|0;h=e;o=c[l>>2]|0;while(1){p=a[h]|0;do{if((o|0)==0){q=0}else{r=o+24|0;s=c[r>>2]|0;if((s|0)!=(c[o+28>>2]|0)){c[r>>2]=s+1|0;a[s]=p;q=o;break}if((bS[c[(c[o>>2]|0)+52>>2]&1023](o,p&255)|0)!=-1){q=o;break}c[l>>2]=0;q=0}}while(0);p=h+1|0;if((p|0)==(f|0)){t=f;break L1}else{h=p;o=q}}}else{t=e}}while(0);L13:do{if((n|0)!=0){e=d|0;q=j&255;f=n;o=c[e>>2]|0;while(1){do{if((o|0)==0){u=0}else{h=o+24|0;l=c[h>>2]|0;if((l|0)!=(c[o+28>>2]|0)){c[h>>2]=l+1|0;a[l]=j;u=o;break}if((bS[c[(c[o>>2]|0)+52>>2]&1023](o,q)|0)!=-1){u=o;break}c[e>>2]=0;u=0}}while(0);l=f-1|0;if((l|0)==0){break L13}else{f=l;o=u}}}}while(0);u=d|0;d=c[u>>2]|0;if(t>>>0<g>>>0){v=t;w=d;x=d}else{y=d;c[m>>2]=0;z=b|0;c[z>>2]=y;i=k;return}while(1){d=a[v]|0;do{if((w|0)==0){A=0;B=x}else{t=w+24|0;j=c[t>>2]|0;if((j|0)!=(c[w+28>>2]|0)){c[t>>2]=j+1|0;a[j]=d;A=w;B=x;break}if((bS[c[(c[w>>2]|0)+52>>2]&1023](w,d&255)|0)!=-1){A=w;B=x;break}c[u>>2]=0;A=0;B=0}}while(0);d=v+1|0;if((d|0)==(g|0)){y=B;break}else{v=d;w=A;x=B}}c[m>>2]=0;z=b|0;c[z>>2]=y;i=k;return}function b8(a){a=a|0;var b=0;c[a>>2]=5249092;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function b9(a){a=a|0;var b=0;c[a>>2]=5249092;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function ca(a){a=a|0;var b=0;c[a>>2]=5249024;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function cb(a){a=a|0;var b=0;c[a>>2]=5249024;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function cc(a){a=a|0;dL(5255056);dL(5255140);dM(5254700);dM(5254784);return}function cd(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249024;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function ce(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.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;b=i;i=i+36|0;a=b|0;d=b+12|0;e=b+24|0;aw(a8(0)|0);f=cf(5255056,5244652)|0;g=c[f+((c[(c[f>>2]|0)-12>>2]|0)+28|0)>>2]|0;h=g+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313740]|0)!=-1){c[e>>2]=5254960;c[e+4>>2]=24;c[e+8>>2]=0;cV(5254960,e,406)}e=(c[1313741]|0)-1|0;j=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-j>>2>>>0>e>>>0){k=c[j+(e<<2)>>2]|0;if((k|0)==0){break}l=bS[c[(c[k>>2]|0)+28>>2]&1023](k,10)|0;if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)==0){bG[c[(c[g>>2]|0)+8>>2]&1023](g)}d8(f,l);dL(f);m=+((aO()|0)>>>0>>>0);l=0;while(1){ap();ap();k=l+1|0;if((k|0)==1e9){break}else{l=k}}n=+((aO()|0)>>>0>>>0)/1.0e3-m/1.0e3;l=cf(5255056,5244648)|0;k=c[l+((c[(c[l>>2]|0)-12>>2]|0)+28|0)>>2]|0;o=k+4|0;D=c[o>>2]|0,c[o>>2]=D+1,D;if((c[1313740]|0)!=-1){c[d>>2]=5254960;c[d+4>>2]=24;c[d+8>>2]=0;cV(5254960,d,406)}p=(c[1313741]|0)-1|0;q=c[k+20>>2]|0;do{if((c[k+24>>2]|0)-q>>2>>>0>p>>>0){r=c[q+(p<<2)>>2]|0;if((r|0)==0){break}s=bS[c[(c[r>>2]|0)+28>>2]&1023](r,10)|0;if(((D=c[o>>2]|0,c[o>>2]=D+ -1,D)|0)==0){bG[c[(c[k>>2]|0)+8>>2]&1023](k)}d8(l,s);dL(l);s=dN(cf(5255056,5243844)|0,n)|0;r=c[s+((c[(c[s>>2]|0)-12>>2]|0)+28|0)>>2]|0;t=r+4|0;D=c[t>>2]|0,c[t>>2]=D+1,D;if((c[1313740]|0)!=-1){c[a>>2]=5254960;c[a+4>>2]=24;c[a+8>>2]=0;cV(5254960,a,406)}u=(c[1313741]|0)-1|0;v=c[r+20>>2]|0;do{if((c[r+24>>2]|0)-v>>2>>>0>u>>>0){w=c[v+(u<<2)>>2]|0;if((w|0)==0){break}x=bS[c[(c[w>>2]|0)+28>>2]&1023](w,10)|0;if(((D=c[t>>2]|0,c[t>>2]=D+ -1,D)|0)!=0){y=d8(s,x)|0;z=dL(s)|0;i=b;return 0}bG[c[(c[r>>2]|0)+8>>2]&1023](r);y=d8(s,x)|0;z=dL(s)|0;i=b;return 0}}while(0);s=a1(4)|0;c[s>>2]=5247516;av(s|0,5252752,514)}}while(0);l=a1(4)|0;c[l>>2]=5247516;av(l|0,5252752,514)}}while(0);b=a1(4)|0;c[b>>2]=5247516;av(b|0,5252752,514);return 0}function cf(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;e=i;i=i+16|0;f=e|0;g=e+8|0;h=e+12|0;j=f|0;a[j]=0;c[f+4>>2]=b;k=b;l=c[(c[k>>2]|0)-12>>2]|0;m=b;do{if((c[m+(l+16|0)>>2]|0)==0){n=c[m+(l+72|0)>>2]|0;if((n|0)!=0){dL(n)}a[j]=1;n=ju(d)|0;o=c[(c[k>>2]|0)-12>>2]|0;c[g>>2]=c[m+(o+24|0)>>2]|0;p=d+n|0;b7(h,g,d,(c[m+(o+4|0)>>2]&176|0)==32?p:d,p,m+o|0,a[m+(o+76|0)|0]|0);if((c[h>>2]|0)!=0){break}o=c[(c[k>>2]|0)-12>>2]|0;dp(m+o|0,c[m+(o+16|0)>>2]|5)}}while(0);dK(f);i=e;return b|0}function cg(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;e=i;i=i+12|0;f=e|0;g=b|0;c[g>>2]=5249024;h=b+4|0;j=c[hv()>>2]|0;c[h>>2]=j;k=j+4|0;D=c[k>>2]|0,c[k>>2]=D+1,D;k=b+8|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[g>>2]=5249360;c[b+32>>2]=d;d=b+36|0;g=c[h>>2]|0;h=g+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313666]|0)!=-1){c[f>>2]=5254664;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254664,f,406)}f=(c[1313667]|0)-1|0;k=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-k>>2>>>0>f>>>0){j=c[k+(f<<2)>>2]|0;if((j|0)==0){break}if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)!=0){l=j;c[d>>2]=l;m=b+40|0;n=m;o=0;p=0;q=n|0;c[q>>2]=o;r=n+4|0;c[r>>2]=p;s=b+48|0;t=j;u=c[t>>2]|0;v=u+28|0;w=c[v>>2]|0;x=bJ[w&1023](l)|0;y=x&1;a[s]=y;i=e;return}bG[c[(c[g>>2]|0)+8>>2]&1023](g|0);l=j;c[d>>2]=l;m=b+40|0;n=m;o=0;p=0;q=n|0;c[q>>2]=o;r=n+4|0;c[r>>2]=p;s=b+48|0;t=j;u=c[t>>2]|0;v=u+28|0;w=c[v>>2]|0;x=bJ[w&1023](l)|0;y=x&1;a[s]=y;i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function ch(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+12|0;f=e|0;bJ[c[(c[b>>2]|0)+24>>2]&1023](b);g=c[d>>2]|0;if((c[1313666]|0)!=-1){c[f>>2]=5254664;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254664,f,406)}f=(c[1313667]|0)-1|0;d=c[g+20>>2]|0;if((c[g+24>>2]|0)-d>>2>>>0<=f>>>0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}g=c[d+(f<<2)>>2]|0;if((g|0)==0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}else{h=g;c[b+36>>2]=h;a[b+48|0]=bJ[c[(c[g>>2]|0)+28>>2]&1023](h)&1;i=e;return}}function ci(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;b=i;i=i+12|0;d=b|0;e=b+8|0;f=a+36|0;g=a+40|0;h=d|0;j=d+8|0;k=d;d=a+32|0;while(1){a=c[f>>2]|0;l=bT[c[(c[a>>2]|0)+20>>2]&1023](a,g,h,j,e)|0;a=(c[e>>2]|0)-k|0;if((aQ(h|0,1,a|0,c[d>>2]|0)|0)!=(a|0)){m=-1;n=142;break}if((l|0)==2){m=-1;n=143;break}else if((l|0)!=1){n=140;break}}if((n|0)==140){m=((aH(c[d>>2]|0)|0)!=0)<<31>>31;i=b;return m|0}else if((n|0)==142){i=b;return m|0}else if((n|0)==143){i=b;return m|0}return 0}function cj(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;e=i;i=i+20|0;f=e|0;g=e+8|0;h=e+12|0;j=e+16|0;k=(d|0)==-1;if(!k){l=g+4|0;m=b+24|0;n=b+20|0;c[n>>2]=g;o=b+28|0;c[o>>2]=l;c[g>>2]=d;c[m>>2]=l;L150:do{if((a[b+48|0]&1)<<24>>24==0){p=f|0;c[h>>2]=p;q=b+36|0;r=b+40|0;s=f+8|0;t=f;u=b+32|0;v=g;w=l;while(1){x=c[q>>2]|0;y=bO[c[(c[x>>2]|0)+12>>2]&1023](x,r,v,w,j,p,s,h)|0;z=c[n>>2]|0;if((c[j>>2]|0)==(z|0)){A=-1;B=161;break}if((y|0)==3){B=151;break}if(y>>>0>=2){A=-1;B=163;break}x=(c[h>>2]|0)-t|0;if((aQ(p|0,1,x|0,c[u>>2]|0)|0)!=(x|0)){A=-1;B=164;break}if((y|0)!=1){break L150}y=c[j>>2]|0;x=c[m>>2]|0;c[n>>2]=y;c[o>>2]=x;C=y+(x-y>>2<<2)|0;c[m>>2]=C;v=y;w=C}if((B|0)==161){i=e;return A|0}else if((B|0)==151){if((aQ(z|0,1,1,c[u>>2]|0)|0)==1){break}else{A=-1}i=e;return A|0}else if((B|0)==163){i=e;return A|0}else if((B|0)==164){i=e;return A|0}}else{if((aQ(g|0,4,1,c[b+32>>2]|0)|0)==1){break}else{A=-1}i=e;return A|0}}while(0);c[m>>2]=0;c[n>>2]=0;c[o>>2]=0}A=k?0:d;i=e;return A|0}function ck(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249024;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function cl(a){a=a|0;return co(a,0)|0}function cm(a){a=a|0;return co(a,1)|0}function cn(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;e=i;i=i+20|0;f=e|0;g=e+8|0;h=e+12|0;if((d|0)==-1){j=-1;i=e;return j|0}c[h>>2]=d;k=c[b+36>>2]|0;l=f|0;m=bO[c[(c[k>>2]|0)+12>>2]&1023](k,b+40|0,h,h+4|0,e+16|0,l,f+8|0,g)|0;if((m|0)==3){a[l]=d&255;c[g>>2]=f+1|0}else if((m|0)==2|(m|0)==1){j=-1;i=e;return j|0}m=b+32|0;while(1){b=c[g>>2]|0;if(b>>>0<=l>>>0){j=d;n=180;break}f=b-1|0;c[g>>2]=f;if((bz(a[f]<<24>>24|0,c[m>>2]|0)|0)==-1){j=-1;n=181;break}}if((n|0)==180){i=e;return j|0}else if((n|0)==181){i=e;return j|0}return 0}function co(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;e=i;i=i+20|0;f=e|0;g=e+8|0;h=e+12|0;j=e+16|0;k=c[b+48>>2]|0;l=(k|0)>1?k:1;L192:do{if((l|0)>0){k=b+32|0;m=0;while(1){n=au(c[k>>2]|0)|0;if((n&255|0)==255){o=-1;break}a[f+m|0]=n&255;n=m+1|0;if((n|0)<(l|0)){m=n}else{break L192}}i=e;return o|0}}while(0);L199:do{if((a[b+52|0]&1)<<24>>24==0){m=b+40|0;k=m;n=b+36|0;p=f|0;q=g+4|0;r=b+32|0;s=l;while(1){t=c[k>>2]|0;u=c[k+4>>2]|0;v=c[n>>2]|0;w=f+s|0;x=bO[c[(c[v>>2]|0)+16>>2]&1023](v,m,p,w,h,g,q,j)|0;if((x|0)==2){o=-1;y=202;break}else if((x|0)==3){y=193;break}else if((x|0)!=1){z=s;break L199}c[k>>2]=t;c[k+4>>2]=u;if((s|0)==8){o=-1;y=203;break}u=au(c[r>>2]|0)|0;if((u&255|0)==255){o=-1;y=204;break}a[w]=u&255;s=s+1|0}if((y|0)==202){i=e;return o|0}else if((y|0)==203){i=e;return o|0}else if((y|0)==193){c[g>>2]=a[p]<<24>>24;z=s;break}else if((y|0)==204){i=e;return o|0}}else{c[g>>2]=a[f|0]<<24>>24;z=l}}while(0);L213:do{if(!d){l=b+32|0;y=z;while(1){if((y|0)<=0){break L213}j=y-1|0;if((bz(a[f+j|0]<<24>>24|0,c[l>>2]|0)|0)==-1){o=-1;break}else{y=j}}i=e;return o|0}}while(0);o=c[g>>2]|0;i=e;return o|0}function cp(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249092;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function cq(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;b=i;i=i+12|0;d=b|0;e=b+8|0;f=a+36|0;g=a+40|0;h=d|0;j=d+8|0;k=d;d=a+32|0;while(1){a=c[f>>2]|0;l=bT[c[(c[a>>2]|0)+20>>2]&1023](a,g,h,j,e)|0;a=(c[e>>2]|0)-k|0;if((aQ(h|0,1,a|0,c[d>>2]|0)|0)!=(a|0)){m=-1;n=218;break}if((l|0)==2){m=-1;n=219;break}else if((l|0)!=1){n=215;break}}if((n|0)==215){m=((aH(c[d>>2]|0)|0)!=0)<<31>>31;i=b;return m|0}else if((n|0)==218){i=b;return m|0}else if((n|0)==219){i=b;return m|0}return 0}function cr(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;e=i;i=i+12|0;f=e|0;g=b|0;c[g>>2]=5249024;h=b+4|0;j=c[hv()>>2]|0;c[h>>2]=j;k=j+4|0;D=c[k>>2]|0,c[k>>2]=D+1,D;k=b+8|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[g>>2]=5249736;c[b+32>>2]=d;d=b+40|0;c[d>>2]=0;c[d+4>>2]=0;d=c[h>>2]|0;h=d+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313666]|0)!=-1){c[f>>2]=5254664;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254664,f,406)}f=(c[1313667]|0)-1|0;g=c[d+20>>2]|0;do{if((c[d+24>>2]|0)-g>>2>>>0>f>>>0){k=c[g+(f<<2)>>2]|0;if((k|0)==0){break}j=k;l=b+36|0;c[l>>2]=j;m=b+48|0;c[m>>2]=bJ[c[(c[k>>2]|0)+24>>2]&1023](j)|0;j=c[l>>2]|0;a[b+52|0]=bJ[c[(c[j>>2]|0)+28>>2]&1023](j)&1;if((c[m>>2]|0)>>>0<=8){if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)!=0){i=e;return}bG[c[(c[d>>2]|0)+8>>2]&1023](d|0);i=e;return}m=a1(8)|0;c[m>>2]=5247540;j=m+4|0;if((j|0)!=0){l=jl(50)|0;c[l+4>>2]=37;c[l>>2]=37;k=l+12|0;c[j>>2]=k;c[l+8>>2]=0;jt(k,5243232,38)}av(m|0,5252764,186)}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function cs(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+12|0;f=e|0;g=c[d>>2]|0;if((c[1313666]|0)!=-1){c[f>>2]=5254664;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254664,f,406)}f=(c[1313667]|0)-1|0;d=c[g+20>>2]|0;if((c[g+24>>2]|0)-d>>2>>>0<=f>>>0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}g=c[d+(f<<2)>>2]|0;if((g|0)==0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}h=g;j=b+36|0;c[j>>2]=h;f=b+48|0;c[f>>2]=bJ[c[(c[g>>2]|0)+24>>2]&1023](h)|0;h=c[j>>2]|0;a[b+52|0]=bJ[c[(c[h>>2]|0)+28>>2]&1023](h)&1;if((c[f>>2]|0)>>>0>8){gD(5243232)}else{i=e;return}}function ct(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;e=i;i=i+12|0;f=e|0;g=b|0;c[g>>2]=5249092;h=b+4|0;j=c[hv()>>2]|0;c[h>>2]=j;k=j+4|0;D=c[k>>2]|0,c[k>>2]=D+1,D;k=b+8|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[g>>2]=5249428;c[b+32>>2]=d;d=b+36|0;g=c[h>>2]|0;h=g+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313668]|0)!=-1){c[f>>2]=5254672;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254672,f,406)}f=(c[1313669]|0)-1|0;k=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-k>>2>>>0>f>>>0){j=c[k+(f<<2)>>2]|0;if((j|0)==0){break}if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)!=0){l=j;c[d>>2]=l;m=b+40|0;n=m;o=0;p=0;q=n|0;c[q>>2]=o;r=n+4|0;c[r>>2]=p;s=b+48|0;t=j;u=c[t>>2]|0;v=u+28|0;w=c[v>>2]|0;x=bJ[w&1023](l)|0;y=x&1;a[s]=y;i=e;return}bG[c[(c[g>>2]|0)+8>>2]&1023](g|0);l=j;c[d>>2]=l;m=b+40|0;n=m;o=0;p=0;q=n|0;c[q>>2]=o;r=n+4|0;c[r>>2]=p;s=b+48|0;t=j;u=c[t>>2]|0;v=u+28|0;w=c[v>>2]|0;x=bJ[w&1023](l)|0;y=x&1;a[s]=y;i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function cu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+12|0;f=e|0;bJ[c[(c[b>>2]|0)+24>>2]&1023](b);g=c[d>>2]|0;if((c[1313668]|0)!=-1){c[f>>2]=5254672;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254672,f,406)}f=(c[1313669]|0)-1|0;d=c[g+20>>2]|0;if((c[g+24>>2]|0)-d>>2>>>0<=f>>>0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}g=c[d+(f<<2)>>2]|0;if((g|0)==0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}else{h=g;c[b+36>>2]=h;a[b+48|0]=bJ[c[(c[g>>2]|0)+28>>2]&1023](h)&1;i=e;return}}function cv(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;e=i;i=i+20|0;f=e|0;g=e+8|0;h=e+12|0;j=e+16|0;k=(d|0)==-1;if(!k){l=g+1|0;m=b+24|0;n=b+20|0;c[n>>2]=g;o=b+28|0;c[o>>2]=l;a[g]=d&255;c[m>>2]=l;L297:do{if((a[b+48|0]&1)<<24>>24==0){p=f|0;c[h>>2]=p;q=b+36|0;r=b+40|0;s=f+8|0;t=f;u=b+32|0;v=g;w=l;while(1){x=c[q>>2]|0;y=bO[c[(c[x>>2]|0)+12>>2]&1023](x,r,v,w,j,p,s,h)|0;z=c[n>>2]|0;if((c[j>>2]|0)==(z|0)){A=-1;B=297;break}if((y|0)==3){B=288;break}if(y>>>0>=2){A=-1;B=301;break}x=(c[h>>2]|0)-t|0;if((aQ(p|0,1,x|0,c[u>>2]|0)|0)!=(x|0)){A=-1;B=298;break}if((y|0)!=1){break L297}y=c[j>>2]|0;x=c[m>>2]|0;c[n>>2]=y;c[o>>2]=x;C=y+(x-y|0)|0;c[m>>2]=C;v=y;w=C}if((B|0)==301){i=e;return A|0}else if((B|0)==297){i=e;return A|0}else if((B|0)==298){i=e;return A|0}else if((B|0)==288){if((aQ(z|0,1,1,c[u>>2]|0)|0)==1){break}else{A=-1}i=e;return A|0}}else{if((aQ(g|0,1,1,c[b+32>>2]|0)|0)==1){break}else{A=-1}i=e;return A|0}}while(0);c[m>>2]=0;c[n>>2]=0;c[o>>2]=0}A=k?0:d;i=e;return A|0}function cw(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249092;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function cx(a){a=a|0;return cA(a,0)|0}function cy(a){a=a|0;return cA(a,1)|0}function cz(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;e=i;i=i+20|0;f=e|0;g=e+8|0;h=e+12|0;if((d|0)==-1){j=-1;i=e;return j|0}k=d&255;a[h]=k;l=c[b+36>>2]|0;m=f|0;n=bO[c[(c[l>>2]|0)+12>>2]&1023](l,b+40|0,h,h+1|0,e+16|0,m,f+8|0,g)|0;if((n|0)==2|(n|0)==1){j=-1;i=e;return j|0}else if((n|0)==3){a[m]=k;c[g>>2]=f+1|0}f=b+32|0;while(1){b=c[g>>2]|0;if(b>>>0<=m>>>0){j=d;o=319;break}k=b-1|0;c[g>>2]=k;if((bz(a[k]<<24>>24|0,c[f>>2]|0)|0)==-1){j=-1;o=317;break}}if((o|0)==317){i=e;return j|0}else if((o|0)==319){i=e;return j|0}return 0}function cA(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,w=0,x=0,y=0,z=0,A=0;f=i;i=i+20|0;g=f|0;h=f+8|0;j=f+12|0;k=f+16|0;l=c[b+48>>2]|0;m=(l|0)>1?l:1;L339:do{if((m|0)>0){l=b+32|0;n=0;while(1){o=au(c[l>>2]|0)|0;if((o&255|0)==255){p=-1;break}a[g+n|0]=o&255;o=n+1|0;if((o|0)<(m|0)){n=o}else{break L339}}i=f;return p|0}}while(0);L346:do{if((a[b+52|0]&1)<<24>>24==0){n=b+40|0;l=n;o=b+36|0;q=g|0;r=h+1|0;s=b+32|0;t=m;while(1){u=c[l>>2]|0;v=c[l+4>>2]|0;w=c[o>>2]|0;x=g+t|0;y=bO[c[(c[w>>2]|0)+16>>2]&1023](w,n,q,x,j,h,r,k)|0;if((y|0)==2){p=-1;z=343;break}else if((y|0)==3){z=330;break}else if((y|0)!=1){A=t;break L346}c[l>>2]=u;c[l+4>>2]=v;if((t|0)==8){p=-1;z=340;break}v=au(c[s>>2]|0)|0;if((v&255|0)==255){p=-1;z=339;break}a[x]=v&255;t=t+1|0}if((z|0)==343){i=f;return p|0}else if((z|0)==339){i=f;return p|0}else if((z|0)==330){a[h]=a[q]|0;A=t;break}else if((z|0)==340){i=f;return p|0}}else{a[h]=a[g|0]|0;A=m}}while(0);L360:do{if(!e){m=b+32|0;z=A;while(1){if((z|0)<=0){break L360}k=z-1|0;if((bz(a[g+k|0]<<24>>24|0,c[m>>2]|0)|0)==-1){p=-1;break}else{z=k}}i=f;return p|0}}while(0);p=d[h]|0;i=f;return p|0}function cB(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;e=i;i=i+12|0;f=e|0;g=b|0;c[g>>2]=5249092;h=b+4|0;j=c[hv()>>2]|0;c[h>>2]=j;k=j+4|0;D=c[k>>2]|0,c[k>>2]=D+1,D;k=b+8|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;c[g>>2]=5249804;c[b+32>>2]=d;d=b+40|0;c[d>>2]=0;c[d+4>>2]=0;d=c[h>>2]|0;h=d+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313668]|0)!=-1){c[f>>2]=5254672;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254672,f,406)}f=(c[1313669]|0)-1|0;g=c[d+20>>2]|0;do{if((c[d+24>>2]|0)-g>>2>>>0>f>>>0){k=c[g+(f<<2)>>2]|0;if((k|0)==0){break}j=k;l=b+36|0;c[l>>2]=j;m=b+48|0;c[m>>2]=bJ[c[(c[k>>2]|0)+24>>2]&1023](j)|0;j=c[l>>2]|0;a[b+52|0]=bJ[c[(c[j>>2]|0)+28>>2]&1023](j)&1;if((c[m>>2]|0)>>>0<=8){if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)!=0){i=e;return}bG[c[(c[d>>2]|0)+8>>2]&1023](d|0);i=e;return}m=a1(8)|0;c[m>>2]=5247540;j=m+4|0;if((j|0)!=0){l=jl(50)|0;c[l+4>>2]=37;c[l>>2]=37;k=l+12|0;c[j>>2]=k;c[l+8>>2]=0;jt(k,5243232,38)}av(m|0,5252764,186)}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function cC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+12|0;f=e|0;g=c[d>>2]|0;if((c[1313668]|0)!=-1){c[f>>2]=5254672;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254672,f,406)}f=(c[1313669]|0)-1|0;d=c[g+20>>2]|0;if((c[g+24>>2]|0)-d>>2>>>0<=f>>>0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}g=c[d+(f<<2)>>2]|0;if((g|0)==0){h=a1(4)|0;j=h;c[j>>2]=5247516;av(h|0,5252752,514)}h=g;j=b+36|0;c[j>>2]=h;f=b+48|0;c[f>>2]=bJ[c[(c[g>>2]|0)+24>>2]&1023](h)|0;h=c[j>>2]|0;a[b+52|0]=bJ[c[(c[h>>2]|0)+28>>2]&1023](h)&1;if((c[f>>2]|0)>>>0>8){gD(5243232)}else{i=e;return}}function cD(){var b=0,d=0,e=0,f=0,g=0,h=0,j=0,k=0,l=0,n=0,o=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0,ap=0,aq=0,ar=0,as=0,at=0,au=0,aw=0,ax=0,ay=0,az=0,aB=0,aC=0,aD=0,aE=0,aF=0,aG=0,aH=0,aI=0,aJ=0,aK=0,aL=0,aM=0,aN=0,aO=0,aP=0,aQ=0,aR=0,aS=0,aT=0;b=i;i=i+96|0;d=b|0;e=b+12|0;f=b+24|0;g=b+36|0;h=b+48|0;j=b+60|0;k=b+72|0;l=b+84|0;cB(5254456,c[m>>2]|0);aA(26,5254456,r|0);ct(5254352,c[q>>2]|0);aA(388,5254352,r|0);ct(5254404,c[p>>2]|0);aA(388,5254404,r|0);cr(5254296,c[m>>2]|0);aA(230,5254296,r|0);cg(5254192,c[q>>2]|0);aA(694,5254192,r|0);cg(5254244,c[p>>2]|0);aA(694,5254244,r|0);c[1313827]=5249296;c[1313829]=5249316;c[1313828]=0;c[1313835]=5254456;c[1313833]=0;c[1313834]=0;c[1313830]=4098;c[1313832]=0;c[1313831]=6;jv(5255348,0,40);n=c[hv()>>2]|0;c[1313836]=n;o=n+4|0;D=c[o>>2]|0,c[o>>2]=D+1,D;c[1313847]=0;o=c[1313836]|0;n=o+4|0;D=c[n>>2]|0,c[n>>2]=D+1,D;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;s=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-s>>2>>>0>l>>>0){t=c[s+(l<<2)>>2]|0;if((t|0)==0){break}u=bS[c[(c[t>>2]|0)+28>>2]&1023](t,32)|0;if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}a[5255392]=u;aA(282,5255308,r|0);c[1313764]=5249208;c[1313765]=5249228;c[1313771]=5254352;c[1313769]=0;c[1313770]=0;c[1313766]=4098;c[1313768]=0;c[1313767]=6;jv(5255092,0,40);u=c[hv()>>2]|0;c[1313772]=u;t=u+4|0;D=c[t>>2]|0,c[t>>2]=D+1,D;c[1313783]=0;t=c[1313772]|0;u=t+4|0;D=c[u>>2]|0,c[u>>2]=D+1,D;if((c[1313740]|0)!=-1){c[k>>2]=5254960;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254960,k,406)}v=(c[1313741]|0)-1|0;w=c[t+20>>2]|0;do{if((c[t+24>>2]|0)-w>>2>>>0>v>>>0){x=c[w+(v<<2)>>2]|0;if((x|0)==0){break}y=bS[c[(c[x>>2]|0)+28>>2]&1023](x,32)|0;if(((D=c[u>>2]|0,c[u>>2]=D+ -1,D)|0)==0){bG[c[(c[t>>2]|0)+8>>2]&1023](t)}a[5255136]=y;aA(616,5255056,r|0);c[1313806]=5249208;c[1313807]=5249228;c[1313813]=5254404;c[1313811]=0;c[1313812]=0;c[1313808]=4098;c[1313810]=0;c[1313809]=6;jv(5255260,0,40);y=c[hv()>>2]|0;c[1313814]=y;x=y+4|0;D=c[x>>2]|0,c[x>>2]=D+1,D;c[1313825]=0;x=c[1313814]|0;y=x+4|0;D=c[y>>2]|0,c[y>>2]=D+1,D;if((c[1313740]|0)!=-1){c[j>>2]=5254960;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254960,j,406)}z=(c[1313741]|0)-1|0;A=c[x+20>>2]|0;do{if((c[x+24>>2]|0)-A>>2>>>0>z>>>0){B=c[A+(z<<2)>>2]|0;if((B|0)==0){break}C=bS[c[(c[B>>2]|0)+28>>2]&1023](B,32)|0;if(((D=c[y>>2]|0,c[y>>2]=D+ -1,D)|0)==0){bG[c[(c[x>>2]|0)+8>>2]&1023](x)}a[5255304]=C;aA(616,5255224,r|0);c[1313785]=5249208;c[1313786]=5249228;c[1313792]=5254404;c[1313790]=0;c[1313791]=0;c[1313787]=4098;c[1313789]=0;c[1313788]=6;jv(5255176,0,40);C=c[hv()>>2]|0;c[1313793]=C;B=C+4|0;D=c[B>>2]|0,c[B>>2]=D+1,D;c[1313804]=0;B=c[1313793]|0;C=B+4|0;D=c[C>>2]|0,c[C>>2]=D+1,D;if((c[1313740]|0)!=-1){c[h>>2]=5254960;c[h+4>>2]=24;c[h+8>>2]=0;cV(5254960,h,406)}E=(c[1313741]|0)-1|0;F=c[B+20>>2]|0;do{if((c[B+24>>2]|0)-F>>2>>>0>E>>>0){G=c[F+(E<<2)>>2]|0;if((G|0)==0){break}H=bS[c[(c[G>>2]|0)+28>>2]&1023](G,32)|0;if(((D=c[C>>2]|0,c[C>>2]=D+ -1,D)|0)==0){bG[c[(c[B>>2]|0)+8>>2]&1023](B)}a[5255220]=H;aA(616,5255140,r|0);c[1313742]=5249252;c[1313744]=5249272;c[1313743]=0;c[1313750]=5254296;c[1313748]=0;c[1313749]=0;c[1313745]=4098;c[1313747]=0;c[1313746]=6;jv(5255008,0,40);H=c[hv()>>2]|0;c[1313751]=H;G=H+4|0;D=c[G>>2]|0,c[G>>2]=D+1,D;c[1313762]=0;G=c[1313751]|0;H=G+4|0;D=c[H>>2]|0,c[H>>2]=D+1,D;if((c[1313738]|0)!=-1){c[g>>2]=5254952;c[g+4>>2]=24;c[g+8>>2]=0;cV(5254952,g,406)}I=(c[1313739]|0)-1|0;J=c[G+20>>2]|0;do{if((c[G+24>>2]|0)-J>>2>>>0>I>>>0){K=c[J+(I<<2)>>2]|0;if((K|0)==0){break}L=bS[c[(c[K>>2]|0)+44>>2]&1023](K,32)|0;if(((D=c[H>>2]|0,c[H>>2]=D+ -1,D)|0)==0){bG[c[(c[G>>2]|0)+8>>2]&1023](G)}c[1313763]=L;aA(228,5254968,r|0);c[1313675]=5249164;c[1313676]=5249184;c[1313682]=5254192;c[1313680]=0;c[1313681]=0;c[1313677]=4098;c[1313679]=0;c[1313678]=6;jv(5254736,0,40);L=c[hv()>>2]|0;c[1313683]=L;K=L+4|0;D=c[K>>2]|0,c[K>>2]=D+1,D;c[1313694]=0;K=c[1313683]|0;L=K+4|0;D=c[L>>2]|0,c[L>>2]=D+1,D;if((c[1313738]|0)!=-1){c[f>>2]=5254952;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254952,f,406)}M=(c[1313739]|0)-1|0;N=c[K+20>>2]|0;do{if((c[K+24>>2]|0)-N>>2>>>0>M>>>0){O=c[N+(M<<2)>>2]|0;if((O|0)==0){break}P=bS[c[(c[O>>2]|0)+44>>2]&1023](O,32)|0;if(((D=c[L>>2]|0,c[L>>2]=D+ -1,D)|0)==0){bG[c[(c[K>>2]|0)+8>>2]&1023](K)}c[1313695]=P;aA(102,5254700,r|0);c[1313717]=5249164;c[1313718]=5249184;c[1313724]=5254244;c[1313722]=0;c[1313723]=0;c[1313719]=4098;c[1313721]=0;c[1313720]=6;jv(5254904,0,40);P=c[hv()>>2]|0;c[1313725]=P;O=P+4|0;D=c[O>>2]|0,c[O>>2]=D+1,D;c[1313736]=0;O=c[1313725]|0;P=O+4|0;D=c[P>>2]|0,c[P>>2]=D+1,D;if((c[1313738]|0)!=-1){c[e>>2]=5254952;c[e+4>>2]=24;c[e+8>>2]=0;cV(5254952,e,406)}Q=(c[1313739]|0)-1|0;R=c[O+20>>2]|0;do{if((c[O+24>>2]|0)-R>>2>>>0>Q>>>0){S=c[R+(Q<<2)>>2]|0;if((S|0)==0){break}T=bS[c[(c[S>>2]|0)+44>>2]&1023](S,32)|0;if(((D=c[P>>2]|0,c[P>>2]=D+ -1,D)|0)==0){bG[c[(c[O>>2]|0)+8>>2]&1023](O)}c[1313737]=T;aA(102,5254868,r|0);c[1313696]=5249164;c[1313697]=5249184;c[1313703]=5254244;c[1313701]=0;c[1313702]=0;c[1313698]=4098;c[1313700]=0;c[1313699]=6;jv(5254820,0,40);T=c[hv()>>2]|0;c[1313704]=T;S=T+4|0;D=c[S>>2]|0,c[S>>2]=D+1,D;c[1313715]=0;S=c[1313704]|0;T=S+4|0;D=c[T>>2]|0,c[T>>2]=D+1,D;if((c[1313738]|0)!=-1){c[d>>2]=5254952;c[d+4>>2]=24;c[d+8>>2]=0;cV(5254952,d,406)}U=(c[1313739]|0)-1|0;V=c[S+20>>2]|0;do{if((c[S+24>>2]|0)-V>>2>>>0>U>>>0){W=c[V+(U<<2)>>2]|0;if((W|0)==0){break}X=bS[c[(c[W>>2]|0)+44>>2]&1023](W,32)|0;if(((D=c[T>>2]|0,c[T>>2]=D+ -1,D)|0)!=0){c[1313716]=X;Y=aA(102,5254784,r|0)|0;Z=c[1313827]|0;_=Z-12|0;$=_;aa=c[$>>2]|0;ab=aa+72|0;ac=ab+5255308|0;ad=ac;c[ad>>2]=5255056;ae=c[1313806]|0;af=ae-12|0;ag=af;ah=c[ag>>2]|0;ai=ah+4|0;aj=ai+5255224|0;ak=aj;al=c[ak>>2]|0;am=al|8192;c[ak>>2]=am;an=c[1313806]|0;ao=an-12|0;ap=ao;aq=c[ap>>2]|0;ar=aq+72|0;as=ar+5255224|0;at=as;c[at>>2]=5255056;au=c[1313742]|0;aw=au-12|0;ax=aw;ay=c[ax>>2]|0;az=ay+72|0;aB=az+5254968|0;aC=aB;c[aC>>2]=5254700;aD=c[1313717]|0;aE=aD-12|0;aF=aE;aG=c[aF>>2]|0;aH=aG+4|0;aI=aH+5254868|0;aJ=aI;aK=c[aJ>>2]|0;aL=aK|8192;c[aJ>>2]=aL;aM=c[1313717]|0;aN=aM-12|0;aO=aN;aP=c[aO>>2]|0;aQ=aP+72|0;aR=aQ+5254868|0;aS=aR;c[aS>>2]=5254700;aT=aA(362,5255396,r|0)|0;i=b;return}bG[c[(c[S>>2]|0)+8>>2]&1023](S);c[1313716]=X;Y=aA(102,5254784,r|0)|0;Z=c[1313827]|0;_=Z-12|0;$=_;aa=c[$>>2]|0;ab=aa+72|0;ac=ab+5255308|0;ad=ac;c[ad>>2]=5255056;ae=c[1313806]|0;af=ae-12|0;ag=af;ah=c[ag>>2]|0;ai=ah+4|0;aj=ai+5255224|0;ak=aj;al=c[ak>>2]|0;am=al|8192;c[ak>>2]=am;an=c[1313806]|0;ao=an-12|0;ap=ao;aq=c[ap>>2]|0;ar=aq+72|0;as=ar+5255224|0;at=as;c[at>>2]=5255056;au=c[1313742]|0;aw=au-12|0;ax=aw;ay=c[ax>>2]|0;az=ay+72|0;aB=az+5254968|0;aC=aB;c[aC>>2]=5254700;aD=c[1313717]|0;aE=aD-12|0;aF=aE;aG=c[aF>>2]|0;aH=aG+4|0;aI=aH+5254868|0;aJ=aI;aK=c[aJ>>2]|0;aL=aK|8192;c[aJ>>2]=aL;aM=c[1313717]|0;aN=aM-12|0;aO=aN;aP=c[aO>>2]|0;aQ=aP+72|0;aR=aQ+5254868|0;aS=aR;c[aS>>2]=5254700;aT=aA(362,5255396,r|0)|0;i=b;return}}while(0);S=a1(4)|0;c[S>>2]=5247516;av(S|0,5252752,514)}}while(0);O=a1(4)|0;c[O>>2]=5247516;av(O|0,5252752,514)}}while(0);K=a1(4)|0;c[K>>2]=5247516;av(K|0,5252752,514)}}while(0);G=a1(4)|0;c[G>>2]=5247516;av(G|0,5252752,514)}}while(0);B=a1(4)|0;c[B>>2]=5247516;av(B|0,5252752,514)}}while(0);x=a1(4)|0;c[x>>2]=5247516;av(x|0,5252752,514)}}while(0);t=a1(4)|0;c[t>>2]=5247516;av(t|0,5252752,514)}}while(0);b=a1(4)|0;c[b>>2]=5247516;av(b|0,5252752,514)}function cE(a){a=a|0;return c[a+4>>2]|0}function cF(a){a=a|0;return c[a+4>>2]|0}function cG(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=d;c[a+4>>2]=b;return}function cH(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((c[b+4>>2]|0)!=(a|0)){e=0;return e|0}e=(c[b>>2]|0)==(d|0);return e|0}function cI(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5247588;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)-1|0)>=0){e=a;jo(e);return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a;jo(e);return}jp(d);e=a;jo(e);return}function cJ(a){a=a|0;var b=0;c[a>>2]=5247588;b=a+4|0;a=(c[b>>2]|0)-4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)-1|0)>=0){return}a=(c[b>>2]|0)-12|0;if((a|0)==0){return}jp(a);return}function cK(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5247540;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)-1|0)>=0){e=a;jo(e);return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a;jo(e);return}jp(d);e=a;jo(e);return}function cL(a){a=a|0;var b=0;c[a>>2]=5247540;b=a+4|0;a=(c[b>>2]|0)-4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)-1|0)>=0){return}a=(c[b>>2]|0)-12|0;if((a|0)==0){return}jp(a);return}function cM(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5247588;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)-1|0)>=0){e=a;jo(e);return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a;jo(e);return}jp(d);e=a;jo(e);return}function cN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+8|0;f=e|0;bE[c[(c[a>>2]|0)+12>>2]&1023](f,a,b);if((c[f+4>>2]|0)!=(c[d+4>>2]|0)){g=0;i=e;return g|0}g=(c[f>>2]|0)==(c[d>>2]|0);i=e;return g|0}function cO(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5247540;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)-1|0)>=0){e=a;jo(e);return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a;jo(e);return}jp(d);e=a;jo(e);return}function cP(a){a=a|0;var b=0;c[a>>2]=5247540;b=a+4|0;a=(c[b>>2]|0)-4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)-1|0)>=0){return}a=(c[b>>2]|0)-12|0;if((a|0)==0){return}jp(a);return}function cQ(b){b=b|0;if((a[b]&1)<<24>>24==0){return}jo(c[b+8>>2]|0);return}function cR(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;if((b|0)==(d|0)){return b|0}e=a[d]|0;if((e&1)<<24>>24==0){f=d+1|0}else{f=c[d+8>>2]|0}g=e&255;if((g&1|0)==0){h=g>>>1}else{h=c[d+4>>2]|0}d=b;g=b;e=a[g]|0;if((e&1)<<24>>24==0){i=10;j=e}else{e=c[b>>2]|0;i=(e&-2)-1|0;j=e&255}if(i>>>0<h>>>0){e=j&255;if((e&1|0)==0){k=e>>>1}else{k=c[b+4>>2]|0}dj(b,i,h-i|0,k,0,k,h,f);return b|0}if((j&1)<<24>>24==0){l=d+1|0}else{l=c[b+8>>2]|0}jx(l,f,h);a[l+h|0]=0;if((a[g]&1)<<24>>24==0){a[g]=h<<1&255;return b|0}else{c[b+4>>2]=h;return b|0}return 0}function cS(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;e=ju(d)|0;f=b;g=b;h=a[g]|0;if((h&1)<<24>>24==0){i=10;j=h}else{h=c[b>>2]|0;i=(h&-2)-1|0;j=h&255}if(i>>>0<e>>>0){h=j&255;if((h&1|0)==0){k=h>>>1}else{k=c[b+4>>2]|0}dj(b,i,e-i|0,k,0,k,e,d);return b|0}if((j&1)<<24>>24==0){l=f+1|0}else{l=c[b+8>>2]|0}jx(l,d,e);a[l+e|0]=0;if((a[g]&1)<<24>>24==0){a[g]=e<<1&255;return b|0}else{c[b+4>>2]=e;return b|0}return 0}function cT(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=i;i=i+12|0;h=g|0;j=e|0;k=c[j>>2]|0;l=f;do{if((k|0)!=0){m=d[l]|0;if((m&1|0)==0){n=m>>>1}else{n=c[f+4>>2]|0}if((n|0)==0){o=k}else{c8(f,5244372,2);o=c[j>>2]|0}m=c[e+4>>2]|0;bE[c[(c[m>>2]|0)+24>>2]&1023](h,m,o);m=h;p=a[m]|0;if((p&1)<<24>>24==0){q=h+1|0}else{q=c[h+8>>2]|0}r=p&255;if((r&1|0)==0){s=r>>>1}else{s=c[h+4>>2]|0}c8(f,q,s);if((a[m]&1)<<24>>24==0){break}jo(c[h+8>>2]|0)}}while(0);if((a[l]&1)<<24>>24==0){h=b;c[h>>2]=c[l>>2]|0;c[h+4>>2]=c[l+4>>2]|0;c[h+8>>2]=c[l+8>>2]|0;i=g;return}l=c[f+8>>2]|0;h=c[f+4>>2]|0;if((h|0)==-1){cW(0)}if(h>>>0<11){a[b]=h<<1&255;t=b+1|0}else{f=h+16&-16;s=jk(f)|0;c[b+8>>2]=s;c[b>>2]=f|1;c[b+4>>2]=h;t=s}jt(t,l,h);a[t+h|0]=0;i=g;return}function cU(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;f=i;i=i+24|0;g=d;d=i;i=i+8|0;c[d>>2]=c[g>>2]|0;c[d+4>>2]=c[g+4>>2]|0;g=f|0;h=f+12|0;j=ju(e)|0;if((j|0)==-1){cW(0)}if(j>>>0<11){a[h]=j<<1&255;k=h+1|0}else{l=j+16&-16;m=jk(l)|0;c[h+8>>2]=m;c[h>>2]=l|1;c[h+4>>2]=j;k=m}jt(k,e,j);a[k+j|0]=0;cT(g,d,h);j=b|0;c[j>>2]=5247540;k=b+4|0;e=g;if((k|0)!=0){if((a[e]&1)<<24>>24==0){n=g+1|0}else{n=c[g+8>>2]|0}m=ju(n)|0;l=jl(m+13|0)|0;c[l+4>>2]=m;c[l>>2]=m;m=l+12|0;c[k>>2]=m;c[l+8>>2]=0;jw(m,n)}if((a[e]&1)<<24>>24!=0){jo(c[g+8>>2]|0)}if((a[h]&1)<<24>>24==0){c[j>>2]=5249336;o=b+8|0;p=d;q=o;r=p|0;s=c[r>>2]|0;t=p+4|0;u=c[t>>2]|0;v=q|0;c[v>>2]=s;w=q+4|0;c[w>>2]=u;i=f;return}jo(c[h+8>>2]|0);c[j>>2]=5249336;o=b+8|0;p=d;q=o;r=p|0;s=c[r>>2]|0;t=p+4|0;u=c[t>>2]|0;v=q|0;c[v>>2]=s;w=q+4|0;c[w>>2]=u;i=f;return}function cV(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e;L694:do{if((c[a>>2]|0)==1){while(1){bv(5254516,5254512);if((c[a>>2]|0)!=1){break L694}}}}while(0);if((c[a>>2]|0)!=0){f;return}c[a>>2]=1;g;bG[d&1023](b);h;c[a>>2]=-1;i;ba(5254516);return}function cW(a){a=a|0;var b=0,d=0,e=0;a=a1(8)|0;c[a>>2]=5247588;b=a+4|0;if((b|0)!=0){d=jl(25)|0;c[d+4>>2]=12;c[d>>2]=12;e=d+12|0;c[b>>2]=e;c[d+8>>2]=0;jt(e,5243416,13)}c[a>>2]=5247564;av(a|0,5252776,248)}function cX(a,b){a=a|0;b=b|0;return}function cY(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function cZ(a){a=a|0;return 0}function c_(a){a=a|0;return 0}function c$(a){a=a|0;return-1|0}function c0(a,b){a=a|0;b=b|0;return-1|0}function c1(a,b){a=a|0;b=b|0;return-1|0}function c2(a,b){a=a|0;b=b|0;return}function c3(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function c4(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function c5(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;b=d;d=i;i=i+16|0;c[d>>2]=c[b>>2]|0;c[d+4>>2]=c[b+4>>2]|0;c[d+8>>2]=c[b+8>>2]|0;c[d+12>>2]=c[b+12>>2]|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;i=e;return}function c6(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function c7(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=i;b=d;d=i;i=i+16|0;c[d>>2]=c[b>>2]|0;c[d+4>>2]=c[b+4>>2]|0;c[d+8>>2]=c[b+8>>2]|0;c[d+12>>2]=c[b+12>>2]|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;i=e;return}function c8(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;f=b;g=a[f]|0;if((g&1)<<24>>24==0){h=10;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}g=i&255;if((g&1|0)==0){j=g>>>1}else{j=c[b+4>>2]|0}if((h-j|0)>>>0<e>>>0){dj(b,h,(e-h|0)+j|0,j,j,0,e,d);return b|0}if((e|0)==0){return b|0}if((i&1)<<24>>24==0){k=b+1|0}else{k=c[b+8>>2]|0}jt(k+j|0,d,e);d=j+e|0;if((a[f]&1)<<24>>24==0){a[f]=d<<1&255}else{c[b+4>>2]=d}a[k+d|0]=0;return b|0}function c9(b){b=b|0;if((a[b]&1)<<24>>24==0){return}jo(c[b+8>>2]|0);return}function da(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;f=b;g=a[f]|0;if((g&1)<<24>>24==0){h=1;i=g}else{g=c[b>>2]|0;h=(g&-2)-1|0;i=g&255}if(h>>>0<e>>>0){g=i&255;if((g&1|0)==0){j=g>>>1}else{j=c[b+4>>2]|0}dl(b,h,e-h|0,j,0,j,e,d);return b|0}if((i&1)<<24>>24==0){k=b+4|0}else{k=c[b+8>>2]|0}at(k|0,d|0,e|0);c[k+(e<<2)>>2]=0;if((a[f]&1)<<24>>24==0){a[f]=e<<1&255;return b|0}else{c[b+4>>2]=e;return b|0}return 0}function db(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;c[a>>2]=5248132;b=c[a+40>>2]|0;L776:do{if((b|0)!=0){d=a+32|0;e=a+36|0;f=b;while(1){g=f-1|0;bE[c[(c[d>>2]|0)+(g<<2)>>2]&1023](0,a,c[(c[e>>2]|0)+(g<<2)>>2]|0);if((g|0)==0){break L776}else{f=g}}}}while(0);b=c[a+28>>2]|0;f=b+4|0;if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[b>>2]|0)+8>>2]&1023](b)}jf(c[a+32>>2]|0);jf(c[a+36>>2]|0);jf(c[a+48>>2]|0);jf(c[a+60>>2]|0);return}function dc(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249092;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function dd(a){a=a|0;var b=0;c[a>>2]=5249092;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function de(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,l=0,m=0;f=b;if((e|0)<=0){g=0;return g|0}h=b+12|0;i=b+16|0;j=d;d=0;while(1){k=c[h>>2]|0;if(k>>>0<(c[i>>2]|0)>>>0){c[h>>2]=k+1|0;l=a[k]|0}else{k=bJ[c[(c[f>>2]|0)+40>>2]&1023](b)|0;if((k|0)==-1){g=d;m=779;break}l=k&255}a[j]=l;k=d+1|0;if((k|0)<(e|0)){j=j+1|0;d=k}else{g=k;m=778;break}}if((m|0)==778){return g|0}else if((m|0)==779){return g|0}return 0}function df(a){a=a|0;var b=0,e=0;if((bJ[c[(c[a>>2]|0)+36>>2]&1023](a)|0)==-1){b=-1;return b|0}e=a+12|0;a=c[e>>2]|0;c[e>>2]=a+1|0;b=d[a]|0;return b|0}function dg(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,l=0,m=0;f=b;if((e|0)<=0){g=0;return g|0}h=b+24|0;i=b+28|0;j=0;k=d;while(1){d=c[h>>2]|0;if(d>>>0<(c[i>>2]|0)>>>0){l=a[k]|0;c[h>>2]=d+1|0;a[d]=l}else{if((bS[c[(c[f>>2]|0)+52>>2]&1023](b,a[k]<<24>>24)|0)==-1){g=j;m=792;break}}l=j+1|0;if((l|0)<(e|0)){j=l;k=k+1|0}else{g=l;m=794;break}}if((m|0)==794){return g|0}else if((m|0)==792){return g|0}return 0}function dh(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5249024;b=c[a+4>>2]|0;d=b+4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){e=a;jo(e);return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);e=a;jo(e);return}function di(a){a=a|0;var b=0;c[a>>2]=5249024;b=c[a+4>>2]|0;a=b+4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)|0)!=0){return}bG[c[(c[b>>2]|0)+8>>2]&1023](b|0);return}function dj(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((-3-d|0)>>>0<e>>>0){cW(0)}if((a[b]&1)<<24>>24==0){k=b+1|0}else{k=c[b+8>>2]|0}do{if(d>>>0<2147483631){l=e+d|0;m=d<<1;n=l>>>0<m>>>0?m:l;if(n>>>0<11){o=11;break}o=n+16&-16}else{o=-2}}while(0);e=jk(o)|0;if((g|0)!=0){jt(e,k,g)}if((i|0)!=0){jt(e+g|0,j,i)}j=f-h|0;if((j|0)!=(g|0)){jt(e+(i+g|0)|0,k+(h+g|0)|0,j-g|0)}if((d|0)==10){p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+s|0;a[u]=0;return}jo(k);p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+s|0;a[u]=0;return}function dk(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,m=0,n=0,o=0,p=0,q=0;if((-3-d|0)>>>0<e>>>0){cW(0)}if((a[b]&1)<<24>>24==0){j=b+1|0}else{j=c[b+8>>2]|0}do{if(d>>>0<2147483631){k=e+d|0;l=d<<1;m=k>>>0<l>>>0?l:k;if(m>>>0<11){n=11;break}n=m+16&-16}else{n=-2}}while(0);e=jk(n)|0;if((g|0)!=0){jt(e,j,g)}m=f-h|0;if((m|0)!=(g|0)){jt(e+(i+g|0)|0,j+(h+g|0)|0,m-g|0)}if((d|0)==10){o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}jo(j);o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}function dl(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;if((1073741821-d|0)>>>0<e>>>0){cW(0)}if((a[b]&1)<<24>>24==0){k=b+4|0}else{k=c[b+8>>2]|0}do{if(d>>>0<536870895){l=e+d|0;m=d<<1;n=l>>>0<m>>>0?m:l;if(n>>>0<2){o=2;break}o=n+4&-4}else{o=1073741822}}while(0);e=jk(o<<2)|0;if((g|0)!=0){aI(e|0,k|0,g|0)}if((i|0)!=0){n=e+(g<<2)|0;aI(n|0,j|0,i|0)}j=f-h|0;if((j|0)!=(g|0)){f=j-g|0;n=e+(i+g<<2)|0;l=k+(h+g<<2)|0;aI(n|0,l|0,f|0)}if((d|0)==1){p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+(s<<2)|0;c[u>>2]=0;return}jo(k);p=b+8|0;c[p>>2]=e;q=o|1;r=b|0;c[r>>2]=q;s=j+i|0;t=b+4|0;c[t>>2]=s;u=e+(s<<2)|0;c[u>>2]=0;return}function dm(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,m=0,n=0,o=0,p=0,q=0;if((1073741821-d|0)>>>0<e>>>0){cW(0)}if((a[b]&1)<<24>>24==0){j=b+4|0}else{j=c[b+8>>2]|0}do{if(d>>>0<536870895){k=e+d|0;l=d<<1;m=k>>>0<l>>>0?l:k;if(m>>>0<2){n=2;break}n=m+4&-4}else{n=1073741822}}while(0);e=jk(n<<2)|0;if((g|0)!=0){aI(e|0,j|0,g|0)}m=f-h|0;if((m|0)!=(g|0)){f=m-g|0;m=e+(i+g<<2)|0;i=j+(h+g<<2)|0;aI(m|0,i|0,f|0)}if((d|0)==1){o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}jo(j);o=b+8|0;c[o>>2]=e;p=n|1;q=b|0;c[q>>2]=p;return}function dn(){bN[(D=c[1313867]|0,c[1313867]=D+0,D)&1023]();aB();return}function dp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=i;i=i+8|0;f=e|0;g=(c[b+24>>2]|0)==0;if(g){c[b+16>>2]=d|1}else{c[b+16>>2]=d}if(((g&1|d)&c[b+20>>2]|0)==0){i=e;return}e=a1(16)|0;do{if(a[5255548]<<24>>24==0){if((bd(5255548)|0)==0){break}c[1311660]=5248880}}while(0);b=f;d=jz(5246640,0,32);g=F;c[b>>2]=d&0|1;c[b+4>>2]=g&-1|0;cU(e,f,5243828);c[e>>2]=5248152;av(e|0,5253296,62)}function dq(a){a=a|0;return 0}function dr(a){a=a|0;return 0}function ds(a){a=a|0;return-1|0}function dt(a,b){a=a|0;b=b|0;return-1|0}function du(a,b){a=a|0;b=b|0;return-1|0}function dv(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;e=a;if((d|0)<=0){f=0;return f|0}g=a+12|0;h=a+16|0;i=b;b=0;while(1){j=c[g>>2]|0;if(j>>>0<(c[h>>2]|0)>>>0){c[g>>2]=j+4|0;k=c[j>>2]|0}else{j=bJ[c[(c[e>>2]|0)+40>>2]&1023](a)|0;if((j|0)==-1){f=b;l=910;break}else{k=j}}c[i>>2]=k;j=b+1|0;if((j|0)<(d|0)){i=i+4|0;b=j}else{f=j;l=909;break}}if((l|0)==910){return f|0}else if((l|0)==909){return f|0}return 0}function dw(a){a=a|0;var b=0,d=0;if((bJ[c[(c[a>>2]|0)+36>>2]&1023](a)|0)==-1){b=-1;return b|0}d=a+12|0;a=c[d>>2]|0;c[d>>2]=a+4|0;b=c[a>>2]|0;return b|0}function dx(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;e=a;if((d|0)<=0){f=0;return f|0}g=a+24|0;h=a+28|0;i=0;j=b;while(1){b=c[g>>2]|0;if(b>>>0<(c[h>>2]|0)>>>0){k=c[j>>2]|0;c[g>>2]=b+4|0;c[b>>2]=k}else{if((bS[c[(c[e>>2]|0)+52>>2]&1023](a,c[j>>2]|0)|0)==-1){f=i;l=924;break}}k=i+1|0;if((k|0)<(d|0)){i=k;j=j+4|0}else{f=k;l=926;break}}if((l|0)==926){return f|0}else if((l|0)==924){return f|0}return 0}function dy(a){a=a|0;db(a+8|0);jo(a);return}function dz(a){a=a|0;db(a+8|0);return}function dA(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;db(b+(d+8|0)|0);jo(b+d|0);return}function dB(a){a=a|0;db(a+((c[(c[a>>2]|0)-12>>2]|0)+8|0)|0);return}function dC(a){a=a|0;db(a+8|0);jo(a);return}function dD(a){a=a|0;db(a+8|0);return}function dE(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;db(b+(d+8|0)|0);jo(b+d|0);return}function dF(a){a=a|0;db(a+((c[(c[a>>2]|0)-12>>2]|0)+8|0)|0);return}function dG(a){a=a|0;db(a+4|0);jo(a);return}function dH(a){a=a|0;db(a+4|0);return}function dI(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;db(b+(d+4|0)|0);jo(b+d|0);return}function dJ(a){a=a|0;db(a+((c[(c[a>>2]|0)-12>>2]|0)+4|0)|0);return}function dK(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;a=c[b>>2]|0;d=c[(c[a>>2]|0)-12>>2]|0;e=a;if((c[e+(d+24|0)>>2]|0)==0){return}if((c[e+(d+16|0)>>2]|0)!=0){return}if((c[e+(d+4|0)>>2]&8192|0)==0){return}if(bm()|0){return}d=c[b>>2]|0;e=c[d+((c[(c[d>>2]|0)-12>>2]|0)+24|0)>>2]|0;if((bJ[c[(c[e>>2]|0)+24>>2]&1023](e)|0)!=-1){return}e=c[b>>2]|0;b=c[(c[e>>2]|0)-12>>2]|0;d=e;dp(d+b|0,c[d+(b+16|0)>>2]|1);return}function dL(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+8|0;e=d|0;f=b;g=c[(c[f>>2]|0)-12>>2]|0;h=b;if((c[h+(g+24|0)>>2]|0)==0){i=d;return b|0}j=e|0;a[j]=0;c[e+4>>2]=b;do{if((c[h+(g+16|0)>>2]|0)==0){k=c[h+(g+72|0)>>2]|0;if((k|0)!=0){dL(k)}a[j]=1;k=c[h+((c[(c[f>>2]|0)-12>>2]|0)+24|0)>>2]|0;if((bJ[c[(c[k>>2]|0)+24>>2]&1023](k)|0)!=-1){break}k=c[(c[f>>2]|0)-12>>2]|0;dp(h+k|0,c[h+(k+16|0)>>2]|1)}}while(0);dK(e);i=d;return b|0}function dM(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;i=i+8|0;e=d|0;f=b;g=c[(c[f>>2]|0)-12>>2]|0;h=b;if((c[h+(g+24|0)>>2]|0)==0){i=d;return b|0}j=e|0;a[j]=0;c[e+4>>2]=b;do{if((c[h+(g+16|0)>>2]|0)==0){k=c[h+(g+72|0)>>2]|0;if((k|0)!=0){dM(k)}a[j]=1;k=c[h+((c[(c[f>>2]|0)-12>>2]|0)+24|0)>>2]|0;if((bJ[c[(c[k>>2]|0)+24>>2]&1023](k)|0)!=-1){break}k=c[(c[f>>2]|0)-12>>2]|0;dp(h+k|0,c[h+(k+16|0)>>2]|1)}}while(0);d0(e);i=d;return b|0}function dN(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=i;i=i+28|0;f=e|0;g=e+12|0;h=e+16|0;j=e+24|0;k=h|0;a[k]=0;c[h+4>>2]=b;l=b;m=c[(c[l>>2]|0)-12>>2]|0;n=b;L1045:do{if((c[n+(m+16|0)>>2]|0)==0){o=c[n+(m+72|0)>>2]|0;if((o|0)!=0){dL(o)}a[k]=1;o=c[n+((c[(c[l>>2]|0)-12>>2]|0)+28|0)>>2]|0;p=o+4|0;D=c[p>>2]|0,c[p>>2]=D+1,D;if((c[1313656]|0)!=-1){c[f>>2]=5254624;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254624,f,406)}q=(c[1313657]|0)-1|0;r=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-r>>2>>>0>q>>>0){s=c[r+(q<<2)>>2]|0;if((s|0)==0){break}if(((D=c[p>>2]|0,c[p>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}t=c[(c[l>>2]|0)-12>>2]|0;u=a[n+(t+76|0)|0]|0;v=c[(c[s>>2]|0)+32>>2]|0;c[g>>2]=c[n+(t+24|0)>>2]|0;bK[v&1023](j,s,g,n+t|0,u,d);if((c[j>>2]|0)!=0){break L1045}u=c[(c[l>>2]|0)-12>>2]|0;dp(n+u|0,c[n+(u+16|0)>>2]|5);break L1045}}while(0);o=a1(4)|0;c[o>>2]=5247516;av(o|0,5252752,514)}}while(0);dK(h);i=e;return b|0}function dO(a){a=a|0;return 5243904}function dP(a){a=a|0;return}function dQ(a){a=a|0;return}function dR(a){a=a|0;return}function dS(a){a=a|0;return}function dT(a){a=a|0;return}function dU(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,i=0,j=0,k=0,l=0;L1072:do{if((e|0)==(f|0)){g=c}else{b=c;h=e;while(1){if((b|0)==(d|0)){i=-1;j=1047;break}k=a[b]|0;l=a[h]|0;if(k<<24>>24<l<<24>>24){i=-1;j=1050;break}if(l<<24>>24<k<<24>>24){i=1;j=1049;break}k=b+1|0;l=h+1|0;if((l|0)==(f|0)){g=k;break L1072}else{b=k;h=l}}if((j|0)==1049){return i|0}else if((j|0)==1047){return i|0}else if((j|0)==1050){return i|0}}}while(0);i=(g|0)!=(d|0)&1;return i|0}function dV(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if((c|0)==(d|0)){e=0;return e|0}else{f=c;g=0}while(1){c=(a[f]<<24>>24)+(g<<4)|0;b=c&-268435456;h=(b>>>24|b)^c;c=f+1|0;if((c|0)==(d|0)){e=h;break}else{f=c;g=h}}return e|0}function dW(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;L1091:do{if((e|0)==(f|0)){g=b}else{a=b;h=e;while(1){if((a|0)==(d|0)){i=-1;j=1065;break}k=c[a>>2]|0;l=c[h>>2]|0;if((k|0)<(l|0)){i=-1;j=1066;break}if((l|0)<(k|0)){i=1;j=1064;break}k=a+4|0;l=h+4|0;if((l|0)==(f|0)){g=k;break L1091}else{a=k;h=l}}if((j|0)==1064){return i|0}else if((j|0)==1066){return i|0}else if((j|0)==1065){return i|0}}}while(0);i=(g|0)!=(d|0)&1;return i|0}function dX(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if((b|0)==(d|0)){e=0;return e|0}else{f=b;g=0}while(1){b=(c[f>>2]|0)+(g<<4)|0;a=b&-268435456;h=(a>>>24|a)^b;b=f+4|0;if((b|0)==(d|0)){e=h;break}else{f=b;g=h}}return e|0}function dY(a){a=a|0;db(a+4|0);jo(a);return}function dZ(a){a=a|0;db(a+4|0);return}function d_(a){a=a|0;var b=0,d=0;b=a;d=c[(c[a>>2]|0)-12>>2]|0;db(b+(d+4|0)|0);jo(b+d|0);return}function d$(a){a=a|0;db(a+((c[(c[a>>2]|0)-12>>2]|0)+4|0)|0);return}function d0(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;a=c[b>>2]|0;d=c[(c[a>>2]|0)-12>>2]|0;e=a;if((c[e+(d+24|0)>>2]|0)==0){return}if((c[e+(d+16|0)>>2]|0)!=0){return}if((c[e+(d+4|0)>>2]&8192|0)==0){return}if(bm()|0){return}d=c[b>>2]|0;e=c[d+((c[(c[d>>2]|0)-12>>2]|0)+24|0)>>2]|0;if((bJ[c[(c[e>>2]|0)+24>>2]&1023](e)|0)!=-1){return}e=c[b>>2]|0;b=c[(c[e>>2]|0)-12>>2]|0;d=e;dp(d+b|0,c[d+(b+16|0)>>2]|1);return}function d1(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=5247540;b=a+4|0;d=(c[b>>2]|0)-4|0;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)-1|0)>=0){e=a;jo(e);return}d=(c[b>>2]|0)-12|0;if((d|0)==0){e=a;jo(e);return}jp(d);e=a;jo(e);return}function d2(a){a=a|0;var b=0;c[a>>2]=5247540;b=a+4|0;a=(c[b>>2]|0)-4|0;if(((D=c[a>>2]|0,c[a>>2]=D+ -1,D)-1|0)>=0){return}a=(c[b>>2]|0)-12|0;if((a|0)==0){return}jp(a);return}function d3(a){a=a|0;db(a);jo(a);return}function d4(a){a=a|0;jo(a);return}function d5(a){a=a|0;jo(a);return}function d6(a){a=a|0;jo(a);return}function d7(a){a=a|0;jo(a);return}function d8(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;e=i;i=i+8|0;f=e|0;g=f|0;a[g]=0;c[f+4>>2]=b;h=b;j=c[(c[h>>2]|0)-12>>2]|0;k=b;do{if((c[k+(j+16|0)>>2]|0)==0){l=c[k+(j+72|0)>>2]|0;if((l|0)!=0){dL(l)}a[g]=1;l=c[k+((c[(c[h>>2]|0)-12>>2]|0)+24|0)>>2]|0;m=l;if((l|0)==0){n=m}else{o=l+24|0;p=c[o>>2]|0;if((p|0)==(c[l+28>>2]|0)){q=bS[c[(c[l>>2]|0)+52>>2]&1023](m,d&255)|0}else{c[o>>2]=p+1|0;a[p]=d;q=d&255}n=(q|0)==-1?0:m}if((n|0)!=0){break}m=c[(c[h>>2]|0)-12>>2]|0;dp(k+m|0,c[k+(m+16|0)>>2]|1)}}while(0);dK(f);i=e;return b|0}function d9(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)==1){d=jk(48)|0;c[b+8>>2]=d;c[b>>2]=49;c[b+4>>2]=35;jt(d,5244428,35);a[d+35|0]=0;return}d=ay(e|0)|0;e=ju(d)|0;if((e|0)==-1){cW(0)}if(e>>>0<11){a[b]=e<<1&255;f=b+1|0}else{g=e+16&-16;h=jk(g)|0;c[b+8>>2]=h;c[b>>2]=g|1;c[b+4>>2]=e;f=h}jt(f,d,e);a[f+e|0]=0;return}function ea(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;d=e;g=f-d|0;if((g|0)==-1){cW(0)}if(g>>>0<11){a[b]=g<<1&255;h=b+1|0}else{i=g+16&-16;j=jk(i)|0;c[b+8>>2]=j;c[b>>2]=i|1;c[b+4>>2]=g;h=j}if((e|0)==(f|0)){k=h;a[k]=0;return}j=f+(-d|0)|0;d=h;g=e;while(1){a[d]=a[g]|0;e=g+1|0;if((e|0)==(f|0)){break}else{d=d+1|0;g=e}}k=h+j|0;a[k]=0;return}function eb(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;d=e;g=f-d|0;h=g>>2;if(h>>>0>1073741822){cW(0)}if(h>>>0<2){a[b]=g>>>1&255;i=b+4|0}else{g=h+4&-4;j=jk(g<<2)|0;c[b+8>>2]=j;c[b>>2]=g|1;c[b+4>>2]=h;i=j}if((e|0)==(f|0)){k=i;c[k>>2]=0;return}j=((f-4|0)+(-d|0)|0)>>>2;d=i;h=e;while(1){c[d>>2]=c[h>>2]|0;e=h+4|0;if((e|0)==(f|0)){break}else{d=d+4|0;h=e}}k=i+(j+1<<2)|0;c[k>>2]=0;return}function ec(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;k=i;i=i+68|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=k|0;m=k+12|0;n=k+24|0;o=k+28|0;p=k+32|0;q=k+36|0;r=k+40|0;s=k+64|0;if((c[g+4>>2]&1|0)==0){c[n>>2]=-1;t=c[(c[d>>2]|0)+16>>2]|0;u=e|0;c[p>>2]=c[u>>2]|0;c[q>>2]=c[f>>2]|0;bL[t&1023](o,d,p,q,g,h,n);q=c[o>>2]|0;c[u>>2]=q;u=c[n>>2]|0;if((u|0)==0){a[j]=0}else if((u|0)==1){a[j]=1}else{a[j]=1;c[h>>2]=4}c[b>>2]=q;i=k;return}q=g+28|0;g=c[q>>2]|0;u=g+4|0;D=c[u>>2]|0,c[u>>2]=D+1,D;if((c[1313740]|0)!=-1){c[m>>2]=5254960;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254960,m,406)}m=(c[1313741]|0)-1|0;n=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-n>>2>>>0>m>>>0){o=c[n+(m<<2)>>2]|0;if((o|0)==0){break}p=o;if(((D=c[u>>2]|0,c[u>>2]=D+ -1,D)|0)==0){bG[c[(c[g>>2]|0)+8>>2]&1023](g)}o=c[q>>2]|0;d=o+4|0;D=c[d>>2]|0,c[d>>2]=D+1,D;if((c[1313648]|0)!=-1){c[l>>2]=5254592;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254592,l,406)}t=(c[1313649]|0)-1|0;v=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-v>>2>>>0>t>>>0){w=c[v+(t<<2)>>2]|0;if((w|0)==0){break}x=w;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}y=r|0;z=w;bH[c[(c[z>>2]|0)+24>>2]&1023](y,x);bH[c[(c[z>>2]|0)+28>>2]&1023](r+12|0,x);c[s>>2]=c[f>>2]|0;a[j]=(ed(e,s,y,r+24|0,p,h,1)|0)==(y|0)&1;c[b>>2]=c[e>>2]|0;if((a[r+12|0]&1)<<24>>24!=0){jo(c[r+20>>2]|0)}if((a[r]&1)<<24>>24==0){i=k;return}jo(c[r+8>>2]|0);i=k;return}}while(0);p=a1(4)|0;c[p>>2]=5247516;av(p|0,5252752,514)}}while(0);k=a1(4)|0;c[k>>2]=5247516;av(k|0,5252752,514)}function ed(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,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,ab=0,ac=0,ad=0;l=i;i=i+100|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=(g-f|0)/12&-1;n=l|0;do{if(m>>>0>100){o=je(m)|0;if((o|0)!=0){p=o;q=o;break}o=a1(4)|0;c[o>>2]=5247492;av(o|0,5252740,66)}else{p=n;q=0}}while(0);n=(f|0)==(g|0);L1262:do{if(n){r=m;s=0}else{o=m;t=0;u=p;v=f;while(1){w=d[v]|0;if((w&1|0)==0){x=w>>>1}else{x=c[v+4>>2]|0}if((x|0)==0){a[u]=2;y=t+1|0;z=o-1|0}else{a[u]=1;y=t;z=o}w=v+12|0;if((w|0)==(g|0)){r=z;s=y;break L1262}else{o=z;t=y;u=u+1|0;v=w}}}}while(0);y=b|0;b=c[y>>2]|0;z=e|0;e=c[z>>2]|0;L1274:do{if((b|0)==0^(e|0)==0){x=h;m=r;v=s;u=0;t=e;o=b;while(1){if((m|0)==0){A=o;B=t;break L1274}w=c[o+12>>2]|0;if((w|0)==(c[o+16>>2]|0)){C=bJ[c[(c[o>>2]|0)+36>>2]&1023](o)|0}else{C=d[w]|0}w=C&255;if(k){D=w}else{D=bS[c[(c[x>>2]|0)+12>>2]&1023](h,w)|0}L1286:do{if(n){E=v;F=m}else{w=u+1|0;L1288:do{if(k){G=m;H=v;I=p;J=0;K=f;while(1){do{if(a[I]<<24>>24==1){L=K;if((a[L]&1)<<24>>24==0){M=K+1|0}else{M=c[K+8>>2]|0}if(D<<24>>24!=a[M+u|0]<<24>>24){a[I]=0;N=J;O=H;P=G-1|0;break}Q=d[L]|0;if((Q&1|0)==0){R=Q>>>1}else{R=c[K+4>>2]|0}if((R|0)!=(w|0)){N=1;O=H;P=G;break}a[I]=2;N=1;O=H+1|0;P=G-1|0}else{N=J;O=H;P=G}}while(0);Q=K+12|0;if((Q|0)==(g|0)){S=P;T=O;U=N;break L1288}G=P;H=O;I=I+1|0;J=N;K=Q}}else{K=m;J=v;I=p;H=0;G=f;while(1){do{if(a[I]<<24>>24==1){Q=G;if((a[Q]&1)<<24>>24==0){V=G+1|0}else{V=c[G+8>>2]|0}if(D<<24>>24!=bS[c[(c[x>>2]|0)+12>>2]&1023](h,a[V+u|0]|0)<<24>>24){a[I]=0;W=H;X=J;Y=K-1|0;break}L=d[Q]|0;if((L&1|0)==0){Z=L>>>1}else{Z=c[G+4>>2]|0}if((Z|0)!=(w|0)){W=1;X=J;Y=K;break}a[I]=2;W=1;X=J+1|0;Y=K-1|0}else{W=H;X=J;Y=K}}while(0);L=G+12|0;if((L|0)==(g|0)){S=Y;T=X;U=W;break L1288}K=Y;J=X;I=I+1|0;H=W;G=L}}}while(0);if((U&1)<<24>>24==0){E=T;F=S;break}w=c[y>>2]|0;G=w+12|0;H=c[G>>2]|0;I=w+16|0;J=c[I>>2]|0;do{if((H|0)==(J|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){_=1282;break}$=c[G>>2]|0;aa=c[I>>2]|0;_=1279;break}else{K=H+1|0;c[G>>2]=K;$=K;aa=J;_=1279;break}}while(0);do{if((_|0)==1279){_=0;if(($|0)!=(aa|0)){break}if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){_=1282;break}else{break}}}while(0);if((_|0)==1282){_=0;c[y>>2]=0}if((T+S|0)>>>0<2|n){E=T;F=S;break}w=u+1|0;J=T;G=p;H=f;while(1){do{if(a[G]<<24>>24==2){I=d[H]|0;if((I&1|0)==0){ab=I>>>1}else{ab=c[H+4>>2]|0}if((ab|0)==(w|0)){ac=J;break}a[G]=0;ac=J-1|0}else{ac=J}}while(0);I=H+12|0;if((I|0)==(g|0)){E=ac;F=S;break L1286}else{J=ac;G=G+1|0;H=I}}}}while(0);H=c[y>>2]|0;G=c[z>>2]|0;if((H|0)==0^(G|0)==0){m=F;v=E;u=u+1|0;t=G;o=H}else{A=H;B=G;break L1274}}}else{A=b;B=e}}while(0);if(!((A|0)==0^(B|0)==0)){c[j>>2]=c[j>>2]|2}L1356:do{if(n){_=1299}else{B=f;A=p;while(1){if(a[A]<<24>>24==2){ad=B;break L1356}e=B+12|0;if((e|0)==(g|0)){_=1299;break L1356}B=e;A=A+1|0}}}while(0);if((_|0)==1299){c[j>>2]=c[j>>2]|4;ad=g}if((q|0)==0){i=l;return ad|0}jf(q);i=l;return ad|0}function ee(b,e,f,g,h,i,j,k,l,m){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;var n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=c[g>>2]|0;o=(n|0)==(f|0);do{if(o){p=a[m+24|0]<<24>>24==b<<24>>24;if(!p){if(a[m+25|0]<<24>>24!=b<<24>>24){break}}c[g>>2]=f+1|0;a[f]=p?43:45;c[h>>2]=0;q=0;return q|0}}while(0);do{if(b<<24>>24==i<<24>>24){p=d[j]|0;if((p&1|0)==0){r=p>>>1}else{r=c[j+4>>2]|0}if((r|0)==0){break}p=c[l>>2]|0;if((p-k|0)>=160){q=0;return q|0}s=c[h>>2]|0;c[l>>2]=p+4|0;c[p>>2]=s;c[h>>2]=0;q=0;return q|0}}while(0);l=m+26|0;k=m;while(1){if((k|0)==(l|0)){t=l;break}if(a[k]<<24>>24==b<<24>>24){t=k;break}else{k=k+1|0}}k=t-m|0;if((k|0)>23){q=-1;return q|0}do{if((e|0)==16){if((k|0)<22){break}if(o){q=-1;return q|0}if((n-f|0)>=3){q=-1;return q|0}if(a[n-1|0]<<24>>24!=48){q=-1;return q|0}c[h>>2]=0;m=a[k+5255400|0]|0;t=c[g>>2]|0;c[g>>2]=t+1|0;a[t]=m;q=0;return q|0}else if((e|0)==8|(e|0)==10){if((k|0)<(e|0)){break}else{q=-1}return q|0}}while(0);if((n-f|0)<39){f=a[k+5255400|0]|0;c[g>>2]=n+1|0;a[n]=f}c[h>>2]=(c[h>>2]|0)+1|0;q=0;return q|0}function ef(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=b;h=b;i=a[h]|0;j=i&255;if((j&1|0)==0){k=j>>>1}else{k=c[b+4>>2]|0}if((k|0)==0){return}do{if((d|0)==(e|0)){l=i}else{k=e-4|0;if(k>>>0>d>>>0){m=d;n=k}else{l=i;break}while(1){k=c[m>>2]|0;c[m>>2]=c[n>>2]|0;c[n>>2]=k;k=m+4|0;j=n-4|0;if(k>>>0<j>>>0){m=k;n=j}else{break}}l=a[h]|0}}while(0);if((l&1)<<24>>24==0){o=g+1|0}else{o=c[b+8>>2]|0}g=l&255;if((g&1|0)==0){p=g>>>1}else{p=c[b+4>>2]|0}b=e-4|0;e=a[o]|0;g=e<<24>>24;l=e<<24>>24<1|e<<24>>24==127;L1437:do{if(b>>>0>d>>>0){e=o+p|0;h=o;n=d;m=g;i=l;while(1){if(!i){if((m|0)!=(c[n>>2]|0)){break}}j=(e-h|0)>1?h+1|0:h;k=n+4|0;q=a[j]|0;r=q<<24>>24;s=q<<24>>24<1|q<<24>>24==127;if(k>>>0<b>>>0){h=j;n=k;m=r;i=s}else{t=r;u=s;break L1437}}c[f>>2]=4;return}else{t=g;u=l}}while(0);if(u){return}u=c[b>>2]|0;if(!(t>>>0<u>>>0|(u|0)==0)){return}c[f>>2]=4;return}function eg(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;e=i;i=i+256|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+28|0;n=e+32|0;o=e+44|0;p=e+84|0;q=e+88|0;r=e+248|0;s=e+252|0;t=c[h+4>>2]&74;if((t|0)==64){u=8}else if((t|0)==0){u=0}else if((t|0)==8){u=16}else{u=10}t=l|0;ei(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L1460:do{if((f|0)==0^v){g=a[m]|0;w=f;L1462:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=d[y]|0}if((ee(A&255,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L1460}y=c[x>>2]|0;C=c[z>>2]|0;do{if((y|0)==(C|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){break}D=c[x>>2]|0;E=c[z>>2]|0;F=1390;break}else{G=y+1|0;c[x>>2]=G;D=G;E=C;F=1390;break}}while(0);do{if((F|0)==1390){F=0;if((D|0)==(E|0)){if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){break}}if((w|0)==0^v){w=w;continue L1462}else{B=w;break L1460}}}while(0);c[l>>2]=0;if(v){B=0;break L1460}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){H=l>>>1}else{H=c[n+4>>2]|0}do{if((H|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}E=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=E}}while(0);c[k>>2]=eh(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eh(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;g=i;i=i+4|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}k=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);l=a3(b|0,h|0,f|0,c[1311659]|0)|0;f=F;b=c[bt()>>2]|0;if((b|0)==0){c[bt()>>2]=k}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=-1;h=0;if((b|0)==34|((f|0)<(d|0)|(f|0)==(d|0)&l>>>0<-2147483648>>>0)|((f|0)>(h|0)|(f|0)==(h|0)&l>>>0>2147483647>>>0)){c[e>>2]=4;e=0;j=(f|0)>(e|0)|(f|0)==(e|0)&l>>>0>0>>>0?2147483647:-2147483648;i=g;return j|0}else{j=l;i=g;return j|0}return 0}function ei(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;g=i;i=i+24|0;h=g|0;j=g+12|0;k=c[d+28>>2]|0;d=k+4|0;D=c[d>>2]|0,c[d>>2]=D+1,D;if((c[1313740]|0)!=-1){c[j>>2]=5254960;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254960,j,406)}j=(c[1313741]|0)-1|0;l=k+24|0;m=k+20|0;n=c[m>>2]|0;do{if((c[l>>2]|0)-n>>2>>>0>j>>>0){o=c[n+(j<<2)>>2]|0;if((o|0)==0){break}bP[c[(c[o>>2]|0)+32>>2]&1023](o,5255400,5255426,e);if((c[1313648]|0)!=-1){c[h>>2]=5254592;c[h+4>>2]=24;c[h+8>>2]=0;cV(5254592,h,406)}o=(c[1313649]|0)-1|0;p=c[m>>2]|0;do{if((c[l>>2]|0)-p>>2>>>0>o>>>0){q=c[p+(o<<2)>>2]|0;if((q|0)==0){break}r=q;a[f]=bJ[c[(c[q>>2]|0)+16>>2]&1023](r)|0;bH[c[(c[q>>2]|0)+20>>2]&1023](b,r);if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){i=g;return}bG[c[(c[k>>2]|0)+8>>2]&1023](k);i=g;return}}while(0);o=a1(4)|0;c[o>>2]=5247516;av(o|0,5252752,514)}}while(0);g=a1(4)|0;c[g>>2]=5247516;av(g|0,5252752,514)}function ej(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,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0;e=i;i=i+256|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+28|0;n=e+32|0;o=e+44|0;p=e+84|0;q=e+88|0;r=e+248|0;s=e+252|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==64){u=8}else if((t|0)==8){u=16}else{u=10}t=l|0;ei(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L1550:do{if((f|0)==0^v){g=a[m]|0;w=f;L1552:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=d[y]|0}if((ee(A&255,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L1550}y=c[x>>2]|0;C=c[z>>2]|0;do{if((y|0)==(C|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){break}D=c[x>>2]|0;E=c[z>>2]|0;G=1471;break}else{H=y+1|0;c[x>>2]=H;D=H;E=C;G=1471;break}}while(0);do{if((G|0)==1471){G=0;if((D|0)==(E|0)){if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){break}}if((w|0)==0^v){w=w;continue L1552}else{B=w;break L1550}}}while(0);c[l>>2]=0;if(v){B=0;break L1550}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){I=l>>>1}else{I=c[n+4>>2]|0}do{if((I|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}E=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=E}}while(0);s=ek(h,c[p>>2]|0,j,u)|0;c[k>>2]=s;c[k+4>>2]=F;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function ek(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;g=i;i=i+4|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;k=0;i=g;return(F=j,k)|0}l=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=a3(b|0,h|0,f|0,c[1311659]|0)|0;f=F;b=c[bt()>>2]|0;if((b|0)==0){c[bt()>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;k=0;i=g;return(F=j,k)|0}if((b|0)!=34){j=f;k=m;i=g;return(F=j,k)|0}c[e>>2]=4;e=0;b=(f|0)>(e|0)|(f|0)==(e|0)&m>>>0>0>>>0;j=b?2147483647:-2147483648;k=b?-1:0;i=g;return(F=j,k)|0}function el(e,f,g,h,j,k,l){e=e|0;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,C=0,D=0,E=0,F=0,G=0,H=0,I=0;f=i;i=i+256|0;m=g;g=i;i=i+4|0;c[g>>2]=c[m>>2]|0;m=h;h=i;i=i+4|0;c[h>>2]=c[m>>2]|0;m=f|0;n=f+28|0;o=f+32|0;p=f+44|0;q=f+84|0;r=f+88|0;s=f+248|0;t=f+252|0;u=c[j+4>>2]&74;if((u|0)==0){v=0}else if((u|0)==64){v=8}else if((u|0)==8){v=16}else{v=10}u=m|0;ei(o,j,u,n);j=p|0;jv(j|0,0,40);c[q>>2]=j;p=r|0;c[s>>2]=p;c[t>>2]=0;m=g|0;g=c[m>>2]|0;w=(c[h>>2]|0)==0;L1615:do{if((g|0)==0^w){h=a[n]|0;x=g;L1617:while(1){y=x+12|0;z=c[y>>2]|0;A=x+16|0;if((z|0)==(c[A>>2]|0)){B=bJ[c[(c[x>>2]|0)+36>>2]&1023](x)|0}else{B=d[z]|0}if((ee(B&255,v,j,q,t,h,o,p,s,u)|0)!=0){C=x;break L1615}z=c[y>>2]|0;D=c[A>>2]|0;do{if((z|0)==(D|0)){if((bJ[c[(c[x>>2]|0)+40>>2]&1023](x)|0)==-1){break}E=c[y>>2]|0;F=c[A>>2]|0;G=1528;break}else{H=z+1|0;c[y>>2]=H;E=H;F=D;G=1528;break}}while(0);do{if((G|0)==1528){G=0;if((E|0)==(F|0)){if((bJ[c[(c[x>>2]|0)+36>>2]&1023](x)|0)==-1){break}}if((x|0)==0^w){x=x;continue L1617}else{C=x;break L1615}}}while(0);c[m>>2]=0;if(w){C=0;break L1615}else{x=0}}}else{C=g}}while(0);g=o;m=d[g]|0;if((m&1|0)==0){I=m>>>1}else{I=c[o+4>>2]|0}do{if((I|0)!=0){m=c[s>>2]|0;if((m-r|0)>=160){break}F=c[t>>2]|0;c[s>>2]=m+4|0;c[m>>2]=F}}while(0);b[l>>1]=em(j,c[q>>2]|0,k,v)|0;ef(o,p,c[s>>2]|0,k);if(!((C|0)==0^w)){c[k>>2]=c[k>>2]|2}c[e>>2]=C;if((a[g]&1)<<24>>24==0){i=f;return}jo(c[o+8>>2]|0);i=f;return}function em(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;g=i;i=i+4|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if(a[b]<<24>>24==45){c[e>>2]=4;j=0;i=g;return j|0}k=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);l=a4(b|0,h|0,f|0,c[1311659]|0)|0;f=F;b=c[bt()>>2]|0;if((b|0)==0){c[bt()>>2]=k}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&l>>>0>65535>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=l&65535;i=g;return j|0}return 0}function en(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;e=i;i=i+256|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+28|0;n=e+32|0;o=e+44|0;p=e+84|0;q=e+88|0;r=e+248|0;s=e+252|0;t=c[h+4>>2]&74;if((t|0)==8){u=16}else if((t|0)==64){u=8}else if((t|0)==0){u=0}else{u=10}t=l|0;ei(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L1685:do{if((f|0)==0^v){g=a[m]|0;w=f;L1687:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=d[y]|0}if((ee(A&255,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L1685}y=c[x>>2]|0;C=c[z>>2]|0;do{if((y|0)==(C|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){break}D=c[x>>2]|0;E=c[z>>2]|0;F=1589;break}else{G=y+1|0;c[x>>2]=G;D=G;E=C;F=1589;break}}while(0);do{if((F|0)==1589){F=0;if((D|0)==(E|0)){if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){break}}if((w|0)==0^v){w=w;continue L1687}else{B=w;break L1685}}}while(0);c[l>>2]=0;if(v){B=0;break L1685}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){H=l>>>1}else{H=c[n+4>>2]|0}do{if((H|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}E=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=E}}while(0);c[k>>2]=eo(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eo(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;g=i;i=i+4|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if(a[b]<<24>>24==45){c[e>>2]=4;j=0;i=g;return j|0}k=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);l=a4(b|0,h|0,f|0,c[1311659]|0)|0;f=F;b=c[bt()>>2]|0;if((b|0)==0){c[bt()>>2]=k}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&l>>>0>-1>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=l;i=g;return j|0}return 0}function ep(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;e=i;i=i+256|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+28|0;n=e+32|0;o=e+44|0;p=e+84|0;q=e+88|0;r=e+248|0;s=e+252|0;t=c[h+4>>2]&74;if((t|0)==64){u=8}else if((t|0)==0){u=0}else if((t|0)==8){u=16}else{u=10}t=l|0;ei(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L1755:do{if((f|0)==0^v){g=a[m]|0;w=f;L1757:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=d[y]|0}if((ee(A&255,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L1755}y=c[x>>2]|0;C=c[z>>2]|0;do{if((y|0)==(C|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){break}D=c[x>>2]|0;E=c[z>>2]|0;F=1650;break}else{G=y+1|0;c[x>>2]=G;D=G;E=C;F=1650;break}}while(0);do{if((F|0)==1650){F=0;if((D|0)==(E|0)){if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){break}}if((w|0)==0^v){w=w;continue L1757}else{B=w;break L1755}}}while(0);c[l>>2]=0;if(v){B=0;break L1755}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){H=l>>>1}else{H=c[n+4>>2]|0}do{if((H|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}E=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=E}}while(0);c[k>>2]=eq(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eq(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;g=i;i=i+4|0;h=g|0;if((b|0)==(d|0)){c[e>>2]=4;j=0;i=g;return j|0}if(a[b]<<24>>24==45){c[e>>2]=4;j=0;i=g;return j|0}k=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);l=a4(b|0,h|0,f|0,c[1311659]|0)|0;f=F;b=c[bt()>>2]|0;if((b|0)==0){c[bt()>>2]=k}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;i=g;return j|0}d=0;if((b|0)==34|(f>>>0>d>>>0|f>>>0==d>>>0&l>>>0>-1>>>0)){c[e>>2]=4;j=-1;i=g;return j|0}else{j=l;i=g;return j|0}return 0}function er(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,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0;e=i;i=i+256|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+28|0;n=e+32|0;o=e+44|0;p=e+84|0;q=e+88|0;r=e+248|0;s=e+252|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==64){u=8}else if((t|0)==8){u=16}else{u=10}t=l|0;ei(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L1825:do{if((f|0)==0^v){g=a[m]|0;w=f;L1827:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=d[y]|0}if((ee(A&255,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L1825}y=c[x>>2]|0;C=c[z>>2]|0;do{if((y|0)==(C|0)){if((bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0)==-1){break}D=c[x>>2]|0;E=c[z>>2]|0;G=1711;break}else{H=y+1|0;c[x>>2]=H;D=H;E=C;G=1711;break}}while(0);do{if((G|0)==1711){G=0;if((D|0)==(E|0)){if((bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0)==-1){break}}if((w|0)==0^v){w=w;continue L1827}else{B=w;break L1825}}}while(0);c[l>>2]=0;if(v){B=0;break L1825}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){I=l>>>1}else{I=c[n+4>>2]|0}do{if((I|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}E=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=E}}while(0);s=es(h,c[p>>2]|0,j,u)|0;c[k>>2]=s;c[k+4>>2]=F;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function es(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;g=i;i=i+4|0;h=g|0;do{if((b|0)==(d|0)){c[e>>2]=4;j=0;k=0}else{if(a[b]<<24>>24==45){c[e>>2]=4;j=0;k=0;break}l=c[bt()>>2]|0;c[bt()>>2]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=a4(b|0,h|0,f|0,c[1311659]|0)|0;n=F;o=c[bt()>>2]|0;if((o|0)==0){c[bt()>>2]=l}if((c[h>>2]|0)!=(d|0)){c[e>>2]=4;j=0;k=0;break}if((o|0)!=34){j=n;k=m;break}c[e>>2]=4;j=-1;k=-1}}while(0);i=g;return(F=j,k)|0}function et(b,e,f,h,j,k,l){b=b|0;e=e|0;f=f|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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0.0,O=0.0;e=i;i=i+276|0;m=f;f=i;i=i+4|0;c[f>>2]=c[m>>2]|0;m=h;h=i;i=i+4|0;c[h>>2]=c[m>>2]|0;m=e|0;n=e+36|0;o=e+40|0;p=e+44|0;q=e+96|0;r=e+100|0;s=e+260|0;t=e+264|0;u=e+268|0;v=e+272|0;w=e+4|0;ex(p,j,w,n,o);j=e+56|0;jv(j|0,0,40);c[q>>2]=j;x=r|0;c[s>>2]=x;c[t>>2]=0;a[u]=1;a[v]=69;y=f|0;f=c[y>>2]|0;z=h|0;h=(c[z>>2]|0)==0;L1884:do{if((f|0)==0^h){A=a[n]|0;B=a[o]|0;C=f;L1886:while(1){D=C+12|0;E=c[D>>2]|0;F=C+16|0;if((E|0)==(c[F>>2]|0)){G=bJ[c[(c[C>>2]|0)+36>>2]&1023](C)|0}else{G=d[E]|0}if((eu(G&255,u,v,j,q,A,B,p,x,s,t,w)|0)!=0){break L1884}E=c[D>>2]|0;H=c[F>>2]|0;do{if((E|0)==(H|0)){if((bJ[c[(c[C>>2]|0)+40>>2]&1023](C)|0)==-1){break}I=c[D>>2]|0;J=c[F>>2]|0;K=1761;break}else{L=E+1|0;c[D>>2]=L;I=L;J=H;K=1761;break}}while(0);do{if((K|0)==1761){K=0;if((I|0)==(J|0)){if((bJ[c[(c[C>>2]|0)+36>>2]&1023](C)|0)==-1){break}}if((C|0)==0^h){C=C;continue L1886}else{break L1884}}}while(0);c[y>>2]=0;if(h){break L1884}else{C=0}}}}while(0);h=p;J=d[h]|0;if((J&1|0)==0){M=J>>>1}else{M=c[p+4>>2]|0}do{if((M|0)!=0){if((a[u]&1)<<24>>24==0){break}J=c[s>>2]|0;if((J-r|0)>=160){break}I=c[t>>2]|0;c[s>>2]=J+4|0;c[J>>2]=I}}while(0);t=c[q>>2]|0;do{if((j|0)==(t|0)){c[k>>2]=4;N=0.0}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);O=+jr(j,m);if((c[m>>2]|0)==(t|0)){N=O;break}else{c[k>>2]=4;N=0.0;break}}}while(0);g[l>>2]=N;ef(p,x,c[s>>2]|0,k);s=c[y>>2]|0;if(!((s|0)==0^(c[z>>2]|0)==0)){c[k>>2]=c[k>>2]|2}c[b>>2]=s;if((a[h]&1)<<24>>24==0){i=e;return}jo(c[p+8>>2]|0);i=e;return}function eu(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,r=0,s=0,t=0;if(b<<24>>24==i<<24>>24){if((a[e]&1)<<24>>24==0){p=-1;return p|0}a[e]=0;i=c[h>>2]|0;c[h>>2]=i+1|0;a[i]=46;i=d[k]|0;if((i&1|0)==0){q=i>>>1}else{q=c[k+4>>2]|0}if((q|0)==0){p=0;return p|0}q=c[m>>2]|0;if((q-l|0)>=160){p=0;return p|0}i=c[n>>2]|0;c[m>>2]=q+4|0;c[q>>2]=i;p=0;return p|0}do{if(b<<24>>24==j<<24>>24){i=d[k]|0;if((i&1|0)==0){r=i>>>1}else{r=c[k+4>>2]|0}if((r|0)==0){break}if((a[e]&1)<<24>>24==0){p=-1;return p|0}i=c[m>>2]|0;if((i-l|0)>=160){p=0;return p|0}q=c[n>>2]|0;c[m>>2]=i+4|0;c[i>>2]=q;c[n>>2]=0;p=0;return p|0}}while(0);r=o+32|0;j=o;while(1){if((j|0)==(r|0)){s=r;break}if(a[j]<<24>>24==b<<24>>24){s=j;break}else{j=j+1|0}}j=s-o|0;if((j|0)>31){p=-1;return p|0}o=a[j+5255400|0]|0;s=c[h>>2]|0;if((s-g|0)<39){c[h>>2]=s+1|0;a[s]=o}if((j-22|0)>>>0<2){a[f]=80;p=0;return p|0}do{if((o&223|0)==(a[f]<<24>>24|0)){a[e]=0;s=d[k]|0;if((s&1|0)==0){t=s>>>1}else{t=c[k+4>>2]|0}if((t|0)==0){break}s=c[m>>2]|0;if((s-l|0)>=160){break}h=c[n>>2]|0;c[m>>2]=s+4|0;c[s>>2]=h}}while(0);if((j|0)>21){p=0;return p|0}c[n>>2]=(c[n>>2]|0)+1|0;p=0;return p|0}function ev(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0.0;e=i;i=i+276|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=g;g=i;i=i+4|0;c[g>>2]=c[n>>2]|0;n=e|0;o=e+36|0;p=e+40|0;q=e+44|0;r=e+96|0;s=e+100|0;t=e+260|0;u=e+264|0;v=e+268|0;w=e+272|0;x=e+4|0;ex(q,j,x,o,p);j=e+56|0;jv(j|0,0,40);c[r>>2]=j;y=s|0;c[t>>2]=y;c[u>>2]=0;a[v]=1;a[w]=69;z=f|0;f=c[z>>2]|0;A=g|0;g=(c[A>>2]|0)==0;L1995:do{if((f|0)==0^g){B=a[o]|0;C=a[p]|0;D=f;L1997:while(1){E=D+12|0;F=c[E>>2]|0;G=D+16|0;if((F|0)==(c[G>>2]|0)){H=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{H=d[F]|0}if((eu(H&255,v,w,j,r,B,C,q,y,t,u,x)|0)!=0){break L1995}F=c[E>>2]|0;I=c[G>>2]|0;do{if((F|0)==(I|0)){if((bJ[c[(c[D>>2]|0)+40>>2]&1023](D)|0)==-1){break}J=c[E>>2]|0;K=c[G>>2]|0;L=1850;break}else{M=F+1|0;c[E>>2]=M;J=M;K=I;L=1850;break}}while(0);do{if((L|0)==1850){L=0;if((J|0)==(K|0)){if((bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0)==-1){break}}if((D|0)==0^g){D=D;continue L1997}else{break L1995}}}while(0);c[z>>2]=0;if(g){break L1995}else{D=0}}}}while(0);g=q;K=d[g]|0;if((K&1|0)==0){N=K>>>1}else{N=c[q+4>>2]|0}do{if((N|0)!=0){if((a[v]&1)<<24>>24==0){break}K=c[t>>2]|0;if((K-s|0)>=160){break}J=c[u>>2]|0;c[t>>2]=K+4|0;c[K>>2]=J}}while(0);u=c[r>>2]|0;do{if((j|0)==(u|0)){c[l>>2]=4;O=0.0}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);P=+jr(j,n);if((c[n>>2]|0)==(u|0)){O=P;break}c[l>>2]=4;O=0.0}}while(0);h[k>>3]=O,c[m>>2]=c[k>>2]|0,c[m+4>>2]=c[k+4>>2]|0;ef(q,y,c[t>>2]|0,l);t=c[z>>2]|0;if(!((t|0)==0^(c[A>>2]|0)==0)){c[l>>2]=c[l>>2]|2}c[b>>2]=t;if((a[g]&1)<<24>>24==0){i=e;return}jo(c[q+8>>2]|0);i=e;return}function ew(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0.0;e=i;i=i+276|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=g;g=i;i=i+4|0;c[g>>2]=c[n>>2]|0;n=e|0;o=e+36|0;p=e+40|0;q=e+44|0;r=e+96|0;s=e+100|0;t=e+260|0;u=e+264|0;v=e+268|0;w=e+272|0;x=e+4|0;ex(q,j,x,o,p);j=e+56|0;jv(j|0,0,40);c[r>>2]=j;y=s|0;c[t>>2]=y;c[u>>2]=0;a[v]=1;a[w]=69;z=f|0;f=c[z>>2]|0;A=g|0;g=(c[A>>2]|0)==0;L2044:do{if((f|0)==0^g){B=a[o]|0;C=a[p]|0;D=f;L2046:while(1){E=D+12|0;F=c[E>>2]|0;G=D+16|0;if((F|0)==(c[G>>2]|0)){H=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{H=d[F]|0}if((eu(H&255,v,w,j,r,B,C,q,y,t,u,x)|0)!=0){break L2044}F=c[E>>2]|0;I=c[G>>2]|0;do{if((F|0)==(I|0)){if((bJ[c[(c[D>>2]|0)+40>>2]&1023](D)|0)==-1){break}J=c[E>>2]|0;K=c[G>>2]|0;L=1893;break}else{M=F+1|0;c[E>>2]=M;J=M;K=I;L=1893;break}}while(0);do{if((L|0)==1893){L=0;if((J|0)==(K|0)){if((bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0)==-1){break}}if((D|0)==0^g){D=D;continue L2046}else{break L2044}}}while(0);c[z>>2]=0;if(g){break L2044}else{D=0}}}}while(0);g=q;K=d[g]|0;if((K&1|0)==0){N=K>>>1}else{N=c[q+4>>2]|0}do{if((N|0)!=0){if((a[v]&1)<<24>>24==0){break}K=c[t>>2]|0;if((K-s|0)>=160){break}J=c[u>>2]|0;c[t>>2]=K+4|0;c[K>>2]=J}}while(0);u=c[r>>2]|0;do{if((j|0)==(u|0)){c[l>>2]=4;O=1.1125369292536007e-308}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);P=+jr(j,n);if((c[n>>2]|0)==(u|0)){O=P;break}else{c[l>>2]=4;O=1.1125369292536007e-308;break}}}while(0);h[k>>3]=O,c[m>>2]=c[k>>2]|0,c[m+4>>2]=c[k+4>>2]|0;ef(q,y,c[t>>2]|0,l);t=c[z>>2]|0;if(!((t|0)==0^(c[A>>2]|0)==0)){c[l>>2]=c[l>>2]|2}c[b>>2]=t;if((a[g]&1)<<24>>24==0){i=e;return}jo(c[q+8>>2]|0);i=e;return}function ex(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,r=0,s=0,t=0;h=i;i=i+24|0;j=h|0;k=h+12|0;l=c[d+28>>2]|0;d=l+4|0;D=c[d>>2]|0,c[d>>2]=D+1,D;if((c[1313740]|0)!=-1){c[k>>2]=5254960;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254960,k,406)}k=(c[1313741]|0)-1|0;m=l+24|0;n=l+20|0;o=c[n>>2]|0;do{if((c[m>>2]|0)-o>>2>>>0>k>>>0){p=c[o+(k<<2)>>2]|0;if((p|0)==0){break}bP[c[(c[p>>2]|0)+32>>2]&1023](p,5255400,5255432,e);if((c[1313648]|0)!=-1){c[j>>2]=5254592;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254592,j,406)}p=(c[1313649]|0)-1|0;q=c[n>>2]|0;do{if((c[m>>2]|0)-q>>2>>>0>p>>>0){r=c[q+(p<<2)>>2]|0;if((r|0)==0){break}s=r;t=r;a[f]=bJ[c[(c[t>>2]|0)+12>>2]&1023](s)|0;a[g]=bJ[c[(c[t>>2]|0)+16>>2]&1023](s)|0;bH[c[(c[r>>2]|0)+20>>2]&1023](b,s);if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)!=0){i=h;return}bG[c[(c[l>>2]|0)+8>>2]&1023](l);i=h;return}}while(0);p=a1(4)|0;c[p>>2]=5247516;av(p|0,5252752,514)}}while(0);h=a1(4)|0;c[h>>2]=5247516;av(h|0,5252752,514)}function ey(a){a=a|0;return}function ez(a){a=a|0;jo(a);return}function eA(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;e=i;i=i+52|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+12|0;n=e+40|0;o=n;p=i;i=i+40|0;q=i;i=i+4|0;r=i;i=i+160|0;s=i;i=i+4|0;t=i;i=i+4|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;u=c[h+28>>2]|0;h=u+4|0;D=c[h>>2]|0,c[h>>2]=D+1,D;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;v=c[u+20>>2]|0;do{if((c[u+24>>2]|0)-v>>2>>>0>l>>>0){x=c[v+(l<<2)>>2]|0;if((x|0)==0){break}y=m|0;bP[c[(c[x>>2]|0)+32>>2]&1023](x,5255400,5255426,y);if(((D=c[h>>2]|0,c[h>>2]=D+ -1,D)|0)==0){bG[c[(c[u>>2]|0)+8>>2]&1023](u)}x=p|0;jv(x|0,0,40);c[q>>2]=x;z=r|0;c[s>>2]=z;c[t>>2]=0;A=f|0;B=c[A>>2]|0;C=g|0;E=(c[C>>2]|0)==0;L2132:do{if((B|0)==0^E){F=B;L2133:while(1){G=F+12|0;H=c[G>>2]|0;I=F+16|0;if((H|0)==(c[I>>2]|0)){J=bJ[c[(c[F>>2]|0)+36>>2]&1023](F)|0}else{J=d[H]|0}if((ee(J&255,16,x,q,t,0,n,z,s,y)|0)!=0){break L2132}H=c[G>>2]|0;K=c[I>>2]|0;do{if((H|0)==(K|0)){if((bJ[c[(c[F>>2]|0)+40>>2]&1023](F)|0)==-1){break}L=c[G>>2]|0;M=c[I>>2]|0;N=1973;break}else{O=H+1|0;c[G>>2]=O;L=O;M=K;N=1973;break}}while(0);do{if((N|0)==1973){N=0;if((L|0)==(M|0)){if((bJ[c[(c[F>>2]|0)+36>>2]&1023](F)|0)==-1){break}}if((F|0)==0^E){F=F;continue L2133}else{break L2132}}}while(0);c[A>>2]=0;if(E){break L2132}else{F=0}}}}while(0);a[p+39|0]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((eB(x,c[1311659]|0,5243824,(w=i,i=i+4|0,c[w>>2]=k,w)|0)|0)!=1){c[j>>2]=4}E=c[A>>2]|0;if(!((E|0)==0^(c[C>>2]|0)==0)){c[j>>2]=c[j>>2]|2}c[b>>2]=E;if((a[o]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function eB(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+4|0;g=f|0;c[g>>2]=e;e=bx(b|0)|0;b=ar(a|0,d|0,c[g>>2]|0)|0;if((e|0)==0){i=f;return b|0}bx(e|0);i=f;return b|0}function eC(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;k=i;i=i+68|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=k|0;m=k+12|0;n=k+24|0;o=k+28|0;p=k+32|0;q=k+36|0;r=k+40|0;s=k+64|0;if((c[g+4>>2]&1|0)==0){c[n>>2]=-1;t=c[(c[d>>2]|0)+16>>2]|0;u=e|0;c[p>>2]=c[u>>2]|0;c[q>>2]=c[f>>2]|0;bL[t&1023](o,d,p,q,g,h,n);q=c[o>>2]|0;c[u>>2]=q;u=c[n>>2]|0;if((u|0)==1){a[j]=1}else if((u|0)==0){a[j]=0}else{a[j]=1;c[h>>2]=4}c[b>>2]=q;i=k;return}q=g+28|0;g=c[q>>2]|0;u=g+4|0;D=c[u>>2]|0,c[u>>2]=D+1,D;if((c[1313738]|0)!=-1){c[m>>2]=5254952;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254952,m,406)}m=(c[1313739]|0)-1|0;n=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-n>>2>>>0>m>>>0){o=c[n+(m<<2)>>2]|0;if((o|0)==0){break}p=o;if(((D=c[u>>2]|0,c[u>>2]=D+ -1,D)|0)==0){bG[c[(c[g>>2]|0)+8>>2]&1023](g)}o=c[q>>2]|0;d=o+4|0;D=c[d>>2]|0,c[d>>2]=D+1,D;if((c[1313646]|0)!=-1){c[l>>2]=5254584;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254584,l,406)}t=(c[1313647]|0)-1|0;v=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-v>>2>>>0>t>>>0){w=c[v+(t<<2)>>2]|0;if((w|0)==0){break}x=w;if(((D=c[d>>2]|0,c[d>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}y=r|0;z=w;bH[c[(c[z>>2]|0)+24>>2]&1023](y,x);bH[c[(c[z>>2]|0)+28>>2]&1023](r+12|0,x);c[s>>2]=c[f>>2]|0;a[j]=(eE(e,s,y,r+24|0,p,h,1)|0)==(y|0)&1;c[b>>2]=c[e>>2]|0;if((a[r+12|0]&1)<<24>>24!=0){jo(c[r+20>>2]|0)}if((a[r]&1)<<24>>24==0){i=k;return}jo(c[r+8>>2]|0);i=k;return}}while(0);p=a1(4)|0;c[p>>2]=5247516;av(p|0,5252752,514)}}while(0);k=a1(4)|0;c[k>>2]=5247516;av(k|0,5252752,514)}function eD(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,A=0,B=0,C=0,D=0,E=0;e=i;i=i+332|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+104|0;n=e+108|0;o=e+120|0;p=e+160|0;q=e+164|0;r=e+324|0;s=e+328|0;t=c[h+4>>2]&74;if((t|0)==64){u=8}else if((t|0)==8){u=16}else if((t|0)==0){u=0}else{u=10}t=l|0;eF(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L2224:do{if((f|0)==0^v){g=c[m>>2]|0;w=f;L2226:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=c[y>>2]|0}if((eG(A,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L2224}y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){C=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[x>>2]=y+4|0;C=c[y>>2]|0}do{if((C|0)!=-1){y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){D=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{D=c[y>>2]|0}if((D|0)==-1){break}if((w|0)==0^v){w=w;continue L2226}else{B=w;break L2224}}}while(0);c[l>>2]=0;if(v){B=0;break L2224}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){E=l>>>1}else{E=c[n+4>>2]|0}do{if((E|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}D=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=D}}while(0);c[k>>2]=eh(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eE(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,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,ab=0,ac=0,ad=0;l=i;i=i+100|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=(g-f|0)/12&-1;n=l|0;do{if(m>>>0>100){o=je(m)|0;if((o|0)!=0){p=o;q=o;break}o=a1(4)|0;c[o>>2]=5247492;av(o|0,5252740,66)}else{p=n;q=0}}while(0);n=(f|0)==(g|0);L2268:do{if(n){r=m;s=0}else{o=m;t=0;u=p;v=f;while(1){w=d[v]|0;if((w&1|0)==0){x=w>>>1}else{x=c[v+4>>2]|0}if((x|0)==0){a[u]=2;y=t+1|0;z=o-1|0}else{a[u]=1;y=t;z=o}w=v+12|0;if((w|0)==(g|0)){r=z;s=y;break L2268}else{o=z;t=y;u=u+1|0;v=w}}}}while(0);y=b|0;b=c[y>>2]|0;z=e|0;e=c[z>>2]|0;L2280:do{if((b|0)==0^(e|0)==0){x=h;m=r;v=s;u=0;t=e;o=b;while(1){if((m|0)==0){A=o;B=t;break L2280}w=c[o+12>>2]|0;if((w|0)==(c[o+16>>2]|0)){C=bJ[c[(c[o>>2]|0)+36>>2]&1023](o)|0}else{C=c[w>>2]|0}if(k){D=C}else{D=bS[c[(c[x>>2]|0)+28>>2]&1023](h,C)|0}L2292:do{if(n){E=v;F=m}else{w=u+1|0;L2294:do{if(k){G=m;H=v;I=p;J=0;K=f;while(1){do{if(a[I]<<24>>24==1){L=K;if((a[L]&1)<<24>>24==0){M=K+4|0}else{M=c[K+8>>2]|0}if((D|0)!=(c[M+(u<<2)>>2]|0)){a[I]=0;N=J;O=H;P=G-1|0;break}Q=d[L]|0;if((Q&1|0)==0){R=Q>>>1}else{R=c[K+4>>2]|0}if((R|0)!=(w|0)){N=1;O=H;P=G;break}a[I]=2;N=1;O=H+1|0;P=G-1|0}else{N=J;O=H;P=G}}while(0);Q=K+12|0;if((Q|0)==(g|0)){S=P;T=O;U=N;break L2294}G=P;H=O;I=I+1|0;J=N;K=Q}}else{K=m;J=v;I=p;H=0;G=f;while(1){do{if(a[I]<<24>>24==1){Q=G;if((a[Q]&1)<<24>>24==0){V=G+4|0}else{V=c[G+8>>2]|0}if((D|0)!=(bS[c[(c[x>>2]|0)+28>>2]&1023](h,c[V+(u<<2)>>2]|0)|0)){a[I]=0;W=H;X=J;Y=K-1|0;break}L=d[Q]|0;if((L&1|0)==0){Z=L>>>1}else{Z=c[G+4>>2]|0}if((Z|0)!=(w|0)){W=1;X=J;Y=K;break}a[I]=2;W=1;X=J+1|0;Y=K-1|0}else{W=H;X=J;Y=K}}while(0);L=G+12|0;if((L|0)==(g|0)){S=Y;T=X;U=W;break L2294}K=Y;J=X;I=I+1|0;H=W;G=L}}}while(0);if((U&1)<<24>>24==0){E=T;F=S;break}w=c[y>>2]|0;G=w+12|0;H=c[G>>2]|0;I=w+16|0;if((H|0)==(c[I>>2]|0)){_=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[G>>2]=H+4|0;_=c[H>>2]|0}do{if((_|0)==-1){$=2151}else{H=c[G>>2]|0;if((H|0)==(c[I>>2]|0)){aa=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{aa=c[H>>2]|0}if((aa|0)==-1){$=2151;break}else{break}}}while(0);if(($|0)==2151){$=0;c[y>>2]=0}if((T+S|0)>>>0<2|n){E=T;F=S;break}w=u+1|0;I=T;G=p;H=f;while(1){do{if(a[G]<<24>>24==2){J=d[H]|0;if((J&1|0)==0){ab=J>>>1}else{ab=c[H+4>>2]|0}if((ab|0)==(w|0)){ac=I;break}a[G]=0;ac=I-1|0}else{ac=I}}while(0);J=H+12|0;if((J|0)==(g|0)){E=ac;F=S;break L2292}else{I=ac;G=G+1|0;H=J}}}}while(0);H=c[y>>2]|0;G=c[z>>2]|0;if((H|0)==0^(G|0)==0){m=F;v=E;u=u+1|0;t=G;o=H}else{A=H;B=G;break L2280}}}else{A=b;B=e}}while(0);if(!((A|0)==0^(B|0)==0)){c[j>>2]=c[j>>2]|2}L2363:do{if(n){$=2168}else{B=f;A=p;while(1){if(a[A]<<24>>24==2){ad=B;break L2363}e=B+12|0;if((e|0)==(g|0)){$=2168;break L2363}B=e;A=A+1|0}}}while(0);if(($|0)==2168){c[j>>2]=c[j>>2]|4;ad=g}if((q|0)==0){i=l;return ad|0}jf(q);i=l;return ad|0}function eF(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,m=0,n=0,o=0,p=0,q=0;f=i;i=i+24|0;g=f|0;h=f+12|0;j=c[b+28>>2]|0;b=j+4|0;D=c[b>>2]|0,c[b>>2]=D+1,D;if((c[1313738]|0)!=-1){c[h>>2]=5254952;c[h+4>>2]=24;c[h+8>>2]=0;cV(5254952,h,406)}h=(c[1313739]|0)-1|0;k=j+24|0;l=j+20|0;m=c[l>>2]|0;do{if((c[k>>2]|0)-m>>2>>>0>h>>>0){n=c[m+(h<<2)>>2]|0;if((n|0)==0){break}bP[c[(c[n>>2]|0)+48>>2]&1023](n,5255400,5255426,d);if((c[1313646]|0)!=-1){c[g>>2]=5254584;c[g+4>>2]=24;c[g+8>>2]=0;cV(5254584,g,406)}n=(c[1313647]|0)-1|0;o=c[l>>2]|0;do{if((c[k>>2]|0)-o>>2>>>0>n>>>0){p=c[o+(n<<2)>>2]|0;if((p|0)==0){break}q=p;c[e>>2]=bJ[c[(c[p>>2]|0)+16>>2]&1023](q)|0;bH[c[(c[p>>2]|0)+20>>2]&1023](a,q);if(((D=c[b>>2]|0,c[b>>2]=D+ -1,D)|0)!=0){i=f;return}bG[c[(c[j>>2]|0)+8>>2]&1023](j);i=f;return}}while(0);n=a1(4)|0;c[n>>2]=5247516;av(n|0,5252752,514)}}while(0);f=a1(4)|0;c[f>>2]=5247516;av(f|0,5252752,514)}function eG(b,e,f,g,h,i,j,k,l,m){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;var n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=c[g>>2]|0;o=(n|0)==(f|0);do{if(o){p=(c[m+96>>2]|0)==(b|0);if(!p){if((c[m+100>>2]|0)!=(b|0)){break}}c[g>>2]=f+1|0;a[f]=p?43:45;c[h>>2]=0;q=0;return q|0}}while(0);do{if((b|0)==(i|0)){p=d[j]|0;if((p&1|0)==0){r=p>>>1}else{r=c[j+4>>2]|0}if((r|0)==0){break}p=c[l>>2]|0;if((p-k|0)>=160){q=0;return q|0}s=c[h>>2]|0;c[l>>2]=p+4|0;c[p>>2]=s;c[h>>2]=0;q=0;return q|0}}while(0);l=m+104|0;k=m;while(1){if((k|0)==(l|0)){t=l;break}if((c[k>>2]|0)==(b|0)){t=k;break}else{k=k+4|0}}k=t-m|0;m=k>>2;if((k|0)>92){q=-1;return q|0}do{if((e|0)==16){if((k|0)<88){break}if(o){q=-1;return q|0}if((n-f|0)>=3){q=-1;return q|0}if(a[n-1|0]<<24>>24!=48){q=-1;return q|0}c[h>>2]=0;t=a[m+5255400|0]|0;b=c[g>>2]|0;c[g>>2]=b+1|0;a[b]=t;q=0;return q|0}else if((e|0)==8|(e|0)==10){if((m|0)<(e|0)){break}else{q=-1}return q|0}}while(0);if((n-f|0)<39){f=a[m+5255400|0]|0;c[g>>2]=n+1|0;a[n]=f}c[h>>2]=(c[h>>2]|0)+1|0;q=0;return q|0}function eH(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,A=0,B=0,C=0,D=0,E=0;e=i;i=i+332|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+104|0;n=e+108|0;o=e+120|0;p=e+160|0;q=e+164|0;r=e+324|0;s=e+328|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==8){u=16}else if((t|0)==64){u=8}else{u=10}t=l|0;eF(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L2452:do{if((f|0)==0^v){g=c[m>>2]|0;w=f;L2454:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=c[y>>2]|0}if((eG(A,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L2452}y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){C=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[x>>2]=y+4|0;C=c[y>>2]|0}do{if((C|0)!=-1){y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){D=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{D=c[y>>2]|0}if((D|0)==-1){break}if((w|0)==0^v){w=w;continue L2454}else{B=w;break L2452}}}while(0);c[l>>2]=0;if(v){B=0;break L2452}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){E=l>>>1}else{E=c[n+4>>2]|0}do{if((E|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}D=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=D}}while(0);s=ek(h,c[p>>2]|0,j,u)|0;c[k>>2]=s;c[k+4>>2]=F;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eI(e,f,g,h,j,k,l){e=e|0;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,C=0,D=0,E=0,F=0;f=i;i=i+332|0;m=g;g=i;i=i+4|0;c[g>>2]=c[m>>2]|0;m=h;h=i;i=i+4|0;c[h>>2]=c[m>>2]|0;m=f|0;n=f+104|0;o=f+108|0;p=f+120|0;q=f+160|0;r=f+164|0;s=f+324|0;t=f+328|0;u=c[j+4>>2]&74;if((u|0)==64){v=8}else if((u|0)==0){v=0}else if((u|0)==8){v=16}else{v=10}u=m|0;eF(o,j,u,n);j=p|0;jv(j|0,0,40);c[q>>2]=j;p=r|0;c[s>>2]=p;c[t>>2]=0;m=g|0;g=c[m>>2]|0;w=(c[h>>2]|0)==0;L2496:do{if((g|0)==0^w){h=c[n>>2]|0;x=g;L2498:while(1){y=x+12|0;z=c[y>>2]|0;A=x+16|0;if((z|0)==(c[A>>2]|0)){B=bJ[c[(c[x>>2]|0)+36>>2]&1023](x)|0}else{B=c[z>>2]|0}if((eG(B,v,j,q,t,h,o,p,s,u)|0)!=0){C=x;break L2496}z=c[y>>2]|0;if((z|0)==(c[A>>2]|0)){D=bJ[c[(c[x>>2]|0)+40>>2]&1023](x)|0}else{c[y>>2]=z+4|0;D=c[z>>2]|0}do{if((D|0)!=-1){z=c[y>>2]|0;if((z|0)==(c[A>>2]|0)){E=bJ[c[(c[x>>2]|0)+36>>2]&1023](x)|0}else{E=c[z>>2]|0}if((E|0)==-1){break}if((x|0)==0^w){x=x;continue L2498}else{C=x;break L2496}}}while(0);c[m>>2]=0;if(w){C=0;break L2496}else{x=0}}}else{C=g}}while(0);g=o;m=d[g]|0;if((m&1|0)==0){F=m>>>1}else{F=c[o+4>>2]|0}do{if((F|0)!=0){m=c[s>>2]|0;if((m-r|0)>=160){break}E=c[t>>2]|0;c[s>>2]=m+4|0;c[m>>2]=E}}while(0);b[l>>1]=em(j,c[q>>2]|0,k,v)|0;ef(o,p,c[s>>2]|0,k);if(!((C|0)==0^w)){c[k>>2]=c[k>>2]|2}c[e>>2]=C;if((a[g]&1)<<24>>24==0){i=f;return}jo(c[o+8>>2]|0);i=f;return}function eJ(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,A=0,B=0,C=0,D=0,E=0;e=i;i=i+332|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+104|0;n=e+108|0;o=e+120|0;p=e+160|0;q=e+164|0;r=e+324|0;s=e+328|0;t=c[h+4>>2]&74;if((t|0)==0){u=0}else if((t|0)==8){u=16}else if((t|0)==64){u=8}else{u=10}t=l|0;eF(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L2540:do{if((f|0)==0^v){g=c[m>>2]|0;w=f;L2542:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=c[y>>2]|0}if((eG(A,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L2540}y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){C=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[x>>2]=y+4|0;C=c[y>>2]|0}do{if((C|0)!=-1){y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){D=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{D=c[y>>2]|0}if((D|0)==-1){break}if((w|0)==0^v){w=w;continue L2542}else{B=w;break L2540}}}while(0);c[l>>2]=0;if(v){B=0;break L2540}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){E=l>>>1}else{E=c[n+4>>2]|0}do{if((E|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}D=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=D}}while(0);c[k>>2]=eo(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eK(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,A=0,B=0,C=0,D=0,E=0;e=i;i=i+332|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+104|0;n=e+108|0;o=e+120|0;p=e+160|0;q=e+164|0;r=e+324|0;s=e+328|0;t=c[h+4>>2]&74;if((t|0)==64){u=8}else if((t|0)==0){u=0}else if((t|0)==8){u=16}else{u=10}t=l|0;eF(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L2584:do{if((f|0)==0^v){g=c[m>>2]|0;w=f;L2586:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=c[y>>2]|0}if((eG(A,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L2584}y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){C=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[x>>2]=y+4|0;C=c[y>>2]|0}do{if((C|0)!=-1){y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){D=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{D=c[y>>2]|0}if((D|0)==-1){break}if((w|0)==0^v){w=w;continue L2586}else{B=w;break L2584}}}while(0);c[l>>2]=0;if(v){B=0;break L2584}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){E=l>>>1}else{E=c[n+4>>2]|0}do{if((E|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}D=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=D}}while(0);c[k>>2]=eq(h,c[p>>2]|0,j,u)|0;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eL(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,A=0,B=0,C=0,D=0,E=0;e=i;i=i+332|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=g;g=i;i=i+4|0;c[g>>2]=c[l>>2]|0;l=e|0;m=e+104|0;n=e+108|0;o=e+120|0;p=e+160|0;q=e+164|0;r=e+324|0;s=e+328|0;t=c[h+4>>2]&74;if((t|0)==64){u=8}else if((t|0)==0){u=0}else if((t|0)==8){u=16}else{u=10}t=l|0;eF(n,h,t,m);h=o|0;jv(h|0,0,40);c[p>>2]=h;o=q|0;c[r>>2]=o;c[s>>2]=0;l=f|0;f=c[l>>2]|0;v=(c[g>>2]|0)==0;L2628:do{if((f|0)==0^v){g=c[m>>2]|0;w=f;L2630:while(1){x=w+12|0;y=c[x>>2]|0;z=w+16|0;if((y|0)==(c[z>>2]|0)){A=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{A=c[y>>2]|0}if((eG(A,u,h,p,s,g,n,o,r,t)|0)!=0){B=w;break L2628}y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){C=bJ[c[(c[w>>2]|0)+40>>2]&1023](w)|0}else{c[x>>2]=y+4|0;C=c[y>>2]|0}do{if((C|0)!=-1){y=c[x>>2]|0;if((y|0)==(c[z>>2]|0)){D=bJ[c[(c[w>>2]|0)+36>>2]&1023](w)|0}else{D=c[y>>2]|0}if((D|0)==-1){break}if((w|0)==0^v){w=w;continue L2630}else{B=w;break L2628}}}while(0);c[l>>2]=0;if(v){B=0;break L2628}else{w=0}}}else{B=f}}while(0);f=n;l=d[f]|0;if((l&1|0)==0){E=l>>>1}else{E=c[n+4>>2]|0}do{if((E|0)!=0){l=c[r>>2]|0;if((l-q|0)>=160){break}D=c[s>>2]|0;c[r>>2]=l+4|0;c[l>>2]=D}}while(0);s=es(h,c[p>>2]|0,j,u)|0;c[k>>2]=s;c[k+4>>2]=F;ef(n,o,c[r>>2]|0,j);if(!((B|0)==0^v)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;if((a[f]&1)<<24>>24==0){i=e;return}jo(c[n+8>>2]|0);i=e;return}function eM(b,e,f,h,j,k,l){b=b|0;e=e|0;f=f|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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0.0,L=0.0;e=i;i=i+372|0;m=f;f=i;i=i+4|0;c[f>>2]=c[m>>2]|0;m=h;h=i;i=i+4|0;c[h>>2]=c[m>>2]|0;m=e|0;n=e+132|0;o=e+136|0;p=e+140|0;q=e+192|0;r=e+196|0;s=e+356|0;t=e+360|0;u=e+364|0;v=e+368|0;w=e+4|0;eN(p,j,w,n,o);j=e+152|0;jv(j|0,0,40);c[q>>2]=j;x=r|0;c[s>>2]=x;c[t>>2]=0;a[u]=1;a[v]=69;y=f|0;f=c[y>>2]|0;z=h|0;h=(c[z>>2]|0)==0;L2667:do{if((f|0)==0^h){A=c[n>>2]|0;B=c[o>>2]|0;C=f;L2669:while(1){D=C+12|0;E=c[D>>2]|0;F=C+16|0;if((E|0)==(c[F>>2]|0)){G=bJ[c[(c[C>>2]|0)+36>>2]&1023](C)|0}else{G=c[E>>2]|0}if((eO(G,u,v,j,q,A,B,p,x,s,t,w)|0)!=0){break L2667}E=c[D>>2]|0;if((E|0)==(c[F>>2]|0)){H=bJ[c[(c[C>>2]|0)+40>>2]&1023](C)|0}else{c[D>>2]=E+4|0;H=c[E>>2]|0}do{if((H|0)!=-1){E=c[D>>2]|0;if((E|0)==(c[F>>2]|0)){I=bJ[c[(c[C>>2]|0)+36>>2]&1023](C)|0}else{I=c[E>>2]|0}if((I|0)==-1){break}if((C|0)==0^h){C=C;continue L2669}else{break L2667}}}while(0);c[y>>2]=0;if(h){break L2667}else{C=0}}}}while(0);h=p;I=d[h]|0;if((I&1|0)==0){J=I>>>1}else{J=c[p+4>>2]|0}do{if((J|0)!=0){if((a[u]&1)<<24>>24==0){break}I=c[s>>2]|0;if((I-r|0)>=160){break}H=c[t>>2]|0;c[s>>2]=I+4|0;c[I>>2]=H}}while(0);t=c[q>>2]|0;do{if((j|0)==(t|0)){c[k>>2]=4;K=0.0}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);L=+jr(j,m);if((c[m>>2]|0)==(t|0)){K=L;break}else{c[k>>2]=4;K=0.0;break}}}while(0);g[l>>2]=K;ef(p,x,c[s>>2]|0,k);s=c[y>>2]|0;if(!((s|0)==0^(c[z>>2]|0)==0)){c[k>>2]=c[k>>2]|2}c[b>>2]=s;if((a[h]&1)<<24>>24==0){i=e;return}jo(c[p+8>>2]|0);i=e;return}function eN(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;g=i;i=i+24|0;h=g|0;j=g+12|0;k=c[b+28>>2]|0;b=k+4|0;D=c[b>>2]|0,c[b>>2]=D+1,D;if((c[1313738]|0)!=-1){c[j>>2]=5254952;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254952,j,406)}j=(c[1313739]|0)-1|0;l=k+24|0;m=k+20|0;n=c[m>>2]|0;do{if((c[l>>2]|0)-n>>2>>>0>j>>>0){o=c[n+(j<<2)>>2]|0;if((o|0)==0){break}bP[c[(c[o>>2]|0)+48>>2]&1023](o,5255400,5255432,d);if((c[1313646]|0)!=-1){c[h>>2]=5254584;c[h+4>>2]=24;c[h+8>>2]=0;cV(5254584,h,406)}o=(c[1313647]|0)-1|0;p=c[m>>2]|0;do{if((c[l>>2]|0)-p>>2>>>0>o>>>0){q=c[p+(o<<2)>>2]|0;if((q|0)==0){break}r=q;s=q;c[e>>2]=bJ[c[(c[s>>2]|0)+12>>2]&1023](r)|0;c[f>>2]=bJ[c[(c[s>>2]|0)+16>>2]&1023](r)|0;bH[c[(c[q>>2]|0)+20>>2]&1023](a,r);if(((D=c[b>>2]|0,c[b>>2]=D+ -1,D)|0)!=0){i=g;return}bG[c[(c[k>>2]|0)+8>>2]&1023](k);i=g;return}}while(0);o=a1(4)|0;c[o>>2]=5247516;av(o|0,5252752,514)}}while(0);g=a1(4)|0;c[g>>2]=5247516;av(g|0,5252752,514)}function eO(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,r=0,s=0,t=0;if((b|0)==(i|0)){if((a[e]&1)<<24>>24==0){p=-1;return p|0}a[e]=0;i=c[h>>2]|0;c[h>>2]=i+1|0;a[i]=46;i=d[k]|0;if((i&1|0)==0){q=i>>>1}else{q=c[k+4>>2]|0}if((q|0)==0){p=0;return p|0}q=c[m>>2]|0;if((q-l|0)>=160){p=0;return p|0}i=c[n>>2]|0;c[m>>2]=q+4|0;c[q>>2]=i;p=0;return p|0}do{if((b|0)==(j|0)){i=d[k]|0;if((i&1|0)==0){r=i>>>1}else{r=c[k+4>>2]|0}if((r|0)==0){break}if((a[e]&1)<<24>>24==0){p=-1;return p|0}i=c[m>>2]|0;if((i-l|0)>=160){p=0;return p|0}q=c[n>>2]|0;c[m>>2]=i+4|0;c[i>>2]=q;c[n>>2]=0;p=0;return p|0}}while(0);r=o+128|0;j=o;while(1){if((j|0)==(r|0)){s=r;break}if((c[j>>2]|0)==(b|0)){s=j;break}else{j=j+4|0}}j=s-o|0;o=j>>2;if((j|0)>124){p=-1;return p|0}s=a[o+5255400|0]|0;b=c[h>>2]|0;if((b-g|0)<39){c[h>>2]=b+1|0;a[b]=s}do{if((o-22|0)>>>0<2){a[f]=80}else{if((s&223|0)!=(a[f]<<24>>24|0)){break}a[e]=0;b=d[k]|0;if((b&1|0)==0){t=b>>>1}else{t=c[k+4>>2]|0}if((t|0)==0){break}b=c[m>>2]|0;if((b-l|0)>=160){break}h=c[n>>2]|0;c[m>>2]=b+4|0;c[b>>2]=h}}while(0);if((j|0)>84){p=0;return p|0}c[n>>2]=(c[n>>2]|0)+1|0;p=0;return p|0}function eP(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0;e=i;i=i+372|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=g;g=i;i=i+4|0;c[g>>2]=c[n>>2]|0;n=e|0;o=e+132|0;p=e+136|0;q=e+140|0;r=e+192|0;s=e+196|0;t=e+356|0;u=e+360|0;v=e+364|0;w=e+368|0;x=e+4|0;eN(q,j,x,o,p);j=e+152|0;jv(j|0,0,40);c[r>>2]=j;y=s|0;c[t>>2]=y;c[u>>2]=0;a[v]=1;a[w]=69;z=f|0;f=c[z>>2]|0;A=g|0;g=(c[A>>2]|0)==0;L2801:do{if((f|0)==0^g){B=c[o>>2]|0;C=c[p>>2]|0;D=f;L2803:while(1){E=D+12|0;F=c[E>>2]|0;G=D+16|0;if((F|0)==(c[G>>2]|0)){H=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{H=c[F>>2]|0}if((eO(H,v,w,j,r,B,C,q,y,t,u,x)|0)!=0){break L2801}F=c[E>>2]|0;if((F|0)==(c[G>>2]|0)){I=bJ[c[(c[D>>2]|0)+40>>2]&1023](D)|0}else{c[E>>2]=F+4|0;I=c[F>>2]|0}do{if((I|0)!=-1){F=c[E>>2]|0;if((F|0)==(c[G>>2]|0)){J=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{J=c[F>>2]|0}if((J|0)==-1){break}if((D|0)==0^g){D=D;continue L2803}else{break L2801}}}while(0);c[z>>2]=0;if(g){break L2801}else{D=0}}}}while(0);g=q;J=d[g]|0;if((J&1|0)==0){K=J>>>1}else{K=c[q+4>>2]|0}do{if((K|0)!=0){if((a[v]&1)<<24>>24==0){break}J=c[t>>2]|0;if((J-s|0)>=160){break}I=c[u>>2]|0;c[t>>2]=J+4|0;c[J>>2]=I}}while(0);u=c[r>>2]|0;do{if((j|0)==(u|0)){c[l>>2]=4;L=0.0}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);M=+jr(j,n);if((c[n>>2]|0)==(u|0)){L=M;break}c[l>>2]=4;L=0.0}}while(0);h[k>>3]=L,c[m>>2]=c[k>>2]|0,c[m+4>>2]=c[k+4>>2]|0;ef(q,y,c[t>>2]|0,l);t=c[z>>2]|0;if(!((t|0)==0^(c[A>>2]|0)==0)){c[l>>2]=c[l>>2]|2}c[b>>2]=t;if((a[g]&1)<<24>>24==0){i=e;return}jo(c[q+8>>2]|0);i=e;return}function eQ(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0;e=i;i=i+372|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=g;g=i;i=i+4|0;c[g>>2]=c[n>>2]|0;n=e|0;o=e+132|0;p=e+136|0;q=e+140|0;r=e+192|0;s=e+196|0;t=e+356|0;u=e+360|0;v=e+364|0;w=e+368|0;x=e+4|0;eN(q,j,x,o,p);j=e+152|0;jv(j|0,0,40);c[r>>2]=j;y=s|0;c[t>>2]=y;c[u>>2]=0;a[v]=1;a[w]=69;z=f|0;f=c[z>>2]|0;A=g|0;g=(c[A>>2]|0)==0;L2850:do{if((f|0)==0^g){B=c[o>>2]|0;C=c[p>>2]|0;D=f;L2852:while(1){E=D+12|0;F=c[E>>2]|0;G=D+16|0;if((F|0)==(c[G>>2]|0)){H=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{H=c[F>>2]|0}if((eO(H,v,w,j,r,B,C,q,y,t,u,x)|0)!=0){break L2850}F=c[E>>2]|0;if((F|0)==(c[G>>2]|0)){I=bJ[c[(c[D>>2]|0)+40>>2]&1023](D)|0}else{c[E>>2]=F+4|0;I=c[F>>2]|0}do{if((I|0)!=-1){F=c[E>>2]|0;if((F|0)==(c[G>>2]|0)){J=bJ[c[(c[D>>2]|0)+36>>2]&1023](D)|0}else{J=c[F>>2]|0}if((J|0)==-1){break}if((D|0)==0^g){D=D;continue L2852}else{break L2850}}}while(0);c[z>>2]=0;if(g){break L2850}else{D=0}}}}while(0);g=q;J=d[g]|0;if((J&1|0)==0){K=J>>>1}else{K=c[q+4>>2]|0}do{if((K|0)!=0){if((a[v]&1)<<24>>24==0){break}J=c[t>>2]|0;if((J-s|0)>=160){break}I=c[u>>2]|0;c[t>>2]=J+4|0;c[J>>2]=I}}while(0);u=c[r>>2]|0;do{if((j|0)==(u|0)){c[l>>2]=4;L=1.1125369292536007e-308}else{do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);M=+jr(j,n);if((c[n>>2]|0)==(u|0)){L=M;break}else{c[l>>2]=4;L=1.1125369292536007e-308;break}}}while(0);h[k>>3]=L,c[m>>2]=c[k>>2]|0,c[m+4>>2]=c[k+4>>2]|0;ef(q,y,c[t>>2]|0,l);t=c[z>>2]|0;if(!((t|0)==0^(c[A>>2]|0)==0)){c[l>>2]=c[l>>2]|2}c[b>>2]=t;if((a[g]&1)<<24>>24==0){i=e;return}jo(c[q+8>>2]|0);i=e;return}function eR(a){a=a|0;return}function eS(a){a=a|0;jo(a);return}function eT(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+60|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+8|0;l=d+20|0;m=d+44|0;n=d+48|0;o=d+52|0;p=d+56|0;q=j|0;a[q]=a[5247348]|0;a[q+1|0]=a[5247349|0]|0;a[q+2|0]=a[5247350|0]|0;a[q+3|0]=a[5247351|0]|0;a[q+4|0]=a[5247352|0]|0;a[q+5|0]=a[5247353|0]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);v=eW(u,c[1311659]|0,q,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+v|0;q=c[s>>2]&176;do{if((q|0)==32){x=h}else if((q|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=k+1|0;break}if(!((v|0)>1&s<<24>>24==48)){y=2651;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=2651;break}x=k+2|0;break}else{y=2651}}while(0);if((y|0)==2651){x=u}y=l|0;l=o|0;k=c[f+28>>2]|0;c[l>>2]=k;v=k+4|0;D=c[v>>2]|0,c[v>>2]=D+1,D;e_(u,x,h,y,m,n,o);o=c[l>>2]|0;l=o+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;b7(b,p,y,C,E,f,g);i=d;return}bG[c[(c[o>>2]|0)+8>>2]&1023](o|0);z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;b7(b,p,y,C,E,f,g);i=d;return}function eU(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;d=i;i=i+128|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=f;f=i;i=i+4|0;c[f>>2]=c[k>>2]|0;k=d|0;l=d+12|0;m=d+116|0;n=m;o=i;i=i+40|0;p=i;i=i+4|0;q=i;i=i+160|0;r=i;i=i+4|0;s=i;i=i+4|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;t=c[g+28>>2]|0;g=t+4|0;D=c[g>>2]|0,c[g>>2]=D+1,D;if((c[1313738]|0)!=-1){c[k>>2]=5254952;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254952,k,406)}k=(c[1313739]|0)-1|0;u=c[t+20>>2]|0;do{if((c[t+24>>2]|0)-u>>2>>>0>k>>>0){v=c[u+(k<<2)>>2]|0;if((v|0)==0){break}x=l|0;bP[c[(c[v>>2]|0)+48>>2]&1023](v,5255400,5255426,x);if(((D=c[g>>2]|0,c[g>>2]=D+ -1,D)|0)==0){bG[c[(c[t>>2]|0)+8>>2]&1023](t)}v=o|0;jv(v|0,0,40);c[p>>2]=v;y=q|0;c[r>>2]=y;c[s>>2]=0;z=e|0;A=c[z>>2]|0;B=f|0;C=(c[B>>2]|0)==0;L2948:do{if((A|0)==0^C){E=A;L2949:while(1){F=E+12|0;G=c[F>>2]|0;H=E+16|0;if((G|0)==(c[H>>2]|0)){I=bJ[c[(c[E>>2]|0)+36>>2]&1023](E)|0}else{I=c[G>>2]|0}if((eG(I,16,v,p,s,0,m,y,r,x)|0)!=0){break L2948}G=c[F>>2]|0;if((G|0)==(c[H>>2]|0)){J=bJ[c[(c[E>>2]|0)+40>>2]&1023](E)|0}else{c[F>>2]=G+4|0;J=c[G>>2]|0}do{if((J|0)!=-1){G=c[F>>2]|0;if((G|0)==(c[H>>2]|0)){K=bJ[c[(c[E>>2]|0)+36>>2]&1023](E)|0}else{K=c[G>>2]|0}if((K|0)==-1){break}if((E|0)==0^C){E=E;continue L2949}else{break L2948}}}while(0);c[z>>2]=0;if(C){break L2948}else{E=0}}}}while(0);a[o+39|0]=0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((eB(v,c[1311659]|0,5243824,(w=i,i=i+4|0,c[w>>2]=j,w)|0)|0)!=1){c[h>>2]=4}C=c[z>>2]|0;if(!((C|0)==0^(c[B>>2]|0)==0)){c[h>>2]=c[h>>2]|2}c[b>>2]=C;if((a[n]&1)<<24>>24==0){i=d;return}jo(c[m+8>>2]|0);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function eV(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;j=i;i=i+28|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+12|0;m=j+16|0;if((c[f+4>>2]&1|0)==0){n=c[(c[d>>2]|0)+24>>2]|0;c[l>>2]=c[e>>2]|0;bR[n&1023](b,d,l,f,g,h&1);i=j;return}g=c[f+28>>2]|0;f=g+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313648]|0)!=-1){c[k>>2]=5254592;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254592,k,406)}k=(c[1313649]|0)-1|0;l=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-l>>2>>>0>k>>>0){d=c[l+(k<<2)>>2]|0;if((d|0)==0){break}n=d;if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[g>>2]|0)+8>>2]&1023](g)}o=c[d>>2]|0;if(h){bH[c[o+24>>2]&1023](m,n)}else{bH[c[o+28>>2]&1023](m,n)}n=m;o=m;d=a[o]|0;if((d&1)<<24>>24==0){p=n+1|0;q=p;r=p;s=m+8|0}else{p=m+8|0;q=c[p>>2]|0;r=n+1|0;s=p}p=e|0;n=m+4|0;t=q;u=d;while(1){v=(u&1)<<24>>24==0;if(v){w=r}else{w=c[s>>2]|0}d=u&255;if((t|0)==(w+((d&1|0)==0?d>>>1:c[n>>2]|0)|0)){break}d=a[t]|0;x=c[p>>2]|0;do{if((x|0)!=0){y=x+24|0;z=c[y>>2]|0;if((z|0)!=(c[x+28>>2]|0)){c[y>>2]=z+1|0;a[z]=d;break}if((bS[c[(c[x>>2]|0)+52>>2]&1023](x,d&255)|0)!=-1){break}c[p>>2]=0}}while(0);t=t+1|0;u=a[o]|0}c[b>>2]=c[p>>2]|0;if(v){i=j;return}jo(c[s>>2]|0);i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function eW(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+4|0;g=f|0;c[g>>2]=e;e=bx(b|0)|0;b=aW(a|0,d|0,c[g>>2]|0)|0;if((e|0)==0){i=f;return b|0}bx(e|0);i=f;return b|0}function eX(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+92|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=d|0;l=d+8|0;m=d+32|0;n=d+76|0;o=d+80|0;p=d+84|0;q=d+88|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}u=v+2|0;a[v]=108;a[v+1|0]=108;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=l|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);v=eW(u,c[1311659]|0,r,(w=i,i=i+8|0,c[w>>2]=h,c[w+4>>2]=j,w)|0)|0;j=l+v|0;h=c[s>>2]&176;do{if((h|0)==32){x=j}else if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=l+1|0;break}if(!((v|0)>1&s<<24>>24==48)){y=2773;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=2773;break}x=l+2|0;break}else{y=2773}}while(0);if((y|0)==2773){x=u}y=m|0;m=p|0;l=c[f+28>>2]|0;c[m>>2]=l;v=l+4|0;D=c[v>>2]|0,c[v>>2]=D+1,D;e_(u,x,j,y,n,o,p);p=c[m>>2]|0;m=p+4|0;if(((D=c[m>>2]|0,c[m>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;b7(b,q,y,C,E,f,g);i=d;return}bG[c[(c[p>>2]|0)+8>>2]&1023](p|0);z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;b7(b,q,y,C,E,f,g);i=d;return}function eY(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+60|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+8|0;l=d+20|0;m=d+44|0;n=d+48|0;o=d+52|0;p=d+56|0;q=j|0;a[q]=a[5247348]|0;a[q+1|0]=a[5247349|0]|0;a[q+2|0]=a[5247350|0]|0;a[q+3|0]=a[5247351|0]|0;a[q+4|0]=a[5247352|0]|0;a[q+5|0]=a[5247353|0]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=117}}while(0);u=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);v=eW(u,c[1311659]|0,q,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+v|0;q=c[s>>2]&176;do{if((q|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=k+1|0;break}if(!((v|0)>1&s<<24>>24==48)){y=2804;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=2804;break}x=k+2|0;break}else if((q|0)==32){x=h}else{y=2804}}while(0);if((y|0)==2804){x=u}y=l|0;l=o|0;q=c[f+28>>2]|0;c[l>>2]=q;k=q+4|0;D=c[k>>2]|0,c[k>>2]=D+1,D;e_(u,x,h,y,m,n,o);o=c[l>>2]|0;l=o+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;b7(b,p,y,C,E,f,g);i=d;return}bG[c[(c[o>>2]|0)+8>>2]&1023](o|0);z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;b7(b,p,y,C,E,f,g);i=d;return}function eZ(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+92|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=d|0;l=d+8|0;m=d+32|0;n=d+76|0;o=d+80|0;p=d+84|0;q=d+88|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}u=v+2|0;a[v]=108;a[v+1|0]=108;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=l|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);t=eW(u,c[1311659]|0,r,(w=i,i=i+8|0,c[w>>2]=h,c[w+4>>2]=j,w)|0)|0;j=l+t|0;h=c[s>>2]&176;do{if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=l+1|0;break}if(!((t|0)>1&s<<24>>24==48)){y=2835;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=2835;break}x=l+2|0;break}else if((h|0)==32){x=j}else{y=2835}}while(0);if((y|0)==2835){x=u}y=m|0;m=p|0;h=c[f+28>>2]|0;c[m>>2]=h;l=h+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;e_(u,x,j,y,n,o,p);p=c[m>>2]|0;m=p+4|0;if(((D=c[m>>2]|0,c[m>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;b7(b,q,y,C,E,f,g);i=d;return}bG[c[(c[p>>2]|0)+8>>2]&1023](p|0);z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;b7(b,q,y,C,E,f,g);i=d;return}function e_(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;l=i;i=i+36|0;m=l|0;n=l+12|0;o=l+24|0;p=k|0;k=c[p>>2]|0;if((c[1313740]|0)!=-1){c[n>>2]=5254960;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254960,n,406)}n=(c[1313741]|0)-1|0;q=c[k+20>>2]|0;if((c[k+24>>2]|0)-q>>2>>>0<=n>>>0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}k=c[q+(n<<2)>>2]|0;if((k|0)==0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}r=k;s=c[p>>2]|0;if((c[1313648]|0)!=-1){c[m>>2]=5254592;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254592,m,406)}m=(c[1313649]|0)-1|0;p=c[s+20>>2]|0;if((c[s+24>>2]|0)-p>>2>>>0<=m>>>0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}s=c[p+(m<<2)>>2]|0;if((s|0)==0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}t=s;bH[c[(c[s>>2]|0)+20>>2]&1023](o,t);u=o;m=o;p=d[m]|0;if((p&1|0)==0){v=p>>>1}else{v=c[o+4>>2]|0}L3163:do{if((v|0)==0){p=c[(c[k>>2]|0)+32>>2]|0;bP[p&1023](r,b,f,g);c[j>>2]=g+(f-b|0)|0}else{c[j>>2]=g;p=a[b]|0;if((p<<24>>24|0)==45|(p<<24>>24|0)==43){n=bS[c[(c[k>>2]|0)+28>>2]&1023](r,p)|0;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=n;w=b+1|0}else{w=b}do{if((f-w|0)>1){if(a[w]<<24>>24!=48){x=w;break}n=w+1|0;p=a[n]|0;if(!((p<<24>>24|0)==120|(p<<24>>24|0)==88)){x=w;break}p=k;q=bS[c[(c[p>>2]|0)+28>>2]&1023](r,48)|0;y=c[j>>2]|0;c[j>>2]=y+1|0;a[y]=q;q=bS[c[(c[p>>2]|0)+28>>2]&1023](r,a[n]|0)|0;n=c[j>>2]|0;c[j>>2]=n+1|0;a[n]=q;x=w+2|0}else{x=w}}while(0);L3178:do{if((x|0)!=(f|0)){q=f-1|0;if(x>>>0<q>>>0){z=x;A=q}else{break}while(1){q=a[z]|0;a[z]=a[A]|0;a[A]=q;q=z+1|0;n=A-1|0;if(q>>>0<n>>>0){z=q;A=n}else{break L3178}}}}while(0);n=bJ[c[(c[s>>2]|0)+16>>2]&1023](t)|0;L3184:do{if(x>>>0<f>>>0){q=u+1|0;p=k;y=o+4|0;B=o+8|0;C=0;D=0;E=x;while(1){F=(a[m]&1)<<24>>24==0;do{if(a[(F?q:c[B>>2]|0)+D|0]<<24>>24==0){G=D;H=C}else{if((C|0)!=(a[(F?q:c[B>>2]|0)+D|0]<<24>>24|0)){G=D;H=C;break}I=c[j>>2]|0;c[j>>2]=I+1|0;a[I]=n;I=d[m]|0;G=(D>>>0<(((I&1|0)==0?I>>>1:c[y>>2]|0)-1|0)>>>0&1)+D|0;H=0}}while(0);F=bS[c[(c[p>>2]|0)+28>>2]&1023](r,a[E]|0)|0;I=c[j>>2]|0;c[j>>2]=I+1|0;a[I]=F;F=E+1|0;if(F>>>0<f>>>0){C=H+1|0;D=G;E=F}else{break L3184}}}}while(0);n=g+(x-b|0)|0;E=c[j>>2]|0;if((n|0)==(E|0)){break}D=E-1|0;if(n>>>0<D>>>0){J=n;K=D}else{break}while(1){D=a[J]|0;a[J]=a[K]|0;a[K]=D;D=J+1|0;n=K-1|0;if(D>>>0<n>>>0){J=D;K=n}else{break L3163}}}}while(0);if((e|0)==(f|0)){L=c[j>>2]|0}else{L=g+(e-b|0)|0}c[h>>2]=L;if((a[m]&1)<<24>>24==0){i=l;return}jo(c[o+8>>2]|0);i=l;return}function e$(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=i;i=i+124|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=d|0;m=d+8|0;n=d+40|0;o=d+44|0;p=d+104|0;q=d+108|0;r=d+112|0;s=d+116|0;t=d+120|0;c[l>>2]=37;c[l+4>>2]=0;u=l;l=u+1|0;v=f+4|0;x=c[v>>2]|0;if((x&2048|0)==0){y=l}else{a[l]=43;y=u+2|0}if((x&1024|0)==0){z=y}else{a[y]=35;z=y+1|0}y=x&260;l=x>>>14;do{if((y|0)==260){if((l&1|0)==0){a[z]=97;A=0;break}else{a[z]=65;A=0;break}}else{a[z]=46;x=z+2|0;a[z+1|0]=42;if((y|0)==256){if((l&1|0)==0){a[x]=101;A=1;break}else{a[x]=69;A=1;break}}else if((y|0)==4){if((l&1|0)==0){a[x]=102;A=1;break}else{a[x]=70;A=1;break}}else{if((l&1|0)==0){a[x]=103;A=1;break}else{a[x]=71;A=1;break}}}}while(0);l=m|0;c[n>>2]=l;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=c[1311659]|0;if(A){B=e0(l,30,m,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{B=e0(l,30,m,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}do{if((B|0)>29){m=a[5255540]<<24>>24==0;if(A){do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}m=c[n>>2]|0;if((m|0)!=0){E=C;F=m;G=m;break}m=a1(4)|0;c[m>>2]=5247492;av(m|0,5252740,66)}else{E=B;F=0;G=c[n>>2]|0}}while(0);B=G+E|0;C=c[v>>2]&176;do{if((C|0)==16){v=a[G]|0;if((v<<24>>24|0)==45|(v<<24>>24|0)==43){H=G+1|0;break}if(!((E|0)>1&v<<24>>24==48)){I=2953;break}v=a[G+1|0]|0;if(!((v<<24>>24|0)==120|(v<<24>>24|0)==88)){I=2953;break}H=G+2|0;break}else if((C|0)==32){H=B}else{I=2953}}while(0);if((I|0)==2953){H=G}do{if((G|0)==(l|0)){J=o|0;K=0;L=l}else{I=je(E<<1)|0;if((I|0)!=0){J=I;K=I;L=c[n>>2]|0;break}I=a1(4)|0;c[I>>2]=5247492;av(I|0,5252740,66)}}while(0);n=r|0;E=c[f+28>>2]|0;c[n>>2]=E;l=E+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;e2(L,H,B,J,p,q,r);r=c[n>>2]|0;n=r+4|0;if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[r>>2]|0)+8>>2]&1023](r|0)}r=e|0;c[t>>2]=c[r>>2]|0;b7(s,t,J,c[p>>2]|0,c[q>>2]|0,f,g);g=c[s>>2]|0;c[r>>2]=g;c[b>>2]=g;if((K|0)!=0){jf(K)}if((F|0)==0){i=d;return}jf(F);i=d;return}function e0(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+4|0;h=g|0;c[h>>2]=f;f=bx(d|0)|0;d=as(a|0,b|0,e|0,c[h>>2]|0)|0;if((f|0)==0){i=g;return d|0}bx(f|0);i=g;return d|0}function e1(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+4|0;g=f|0;c[g>>2]=e;e=bx(b|0)|0;b=aY(a|0,d|0,c[g>>2]|0)|0;if((e|0)==0){i=f;return b|0}bx(e|0);i=f;return b|0}function e2(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,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;l=i;i=i+36|0;m=l|0;n=l+12|0;o=l+24|0;p=k|0;k=c[p>>2]|0;if((c[1313740]|0)!=-1){c[n>>2]=5254960;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254960,n,406)}n=(c[1313741]|0)-1|0;q=c[k+20>>2]|0;if((c[k+24>>2]|0)-q>>2>>>0<=n>>>0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}k=c[q+(n<<2)>>2]|0;if((k|0)==0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}r=k;s=c[p>>2]|0;if((c[1313648]|0)!=-1){c[m>>2]=5254592;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254592,m,406)}m=(c[1313649]|0)-1|0;p=c[s+20>>2]|0;if((c[s+24>>2]|0)-p>>2>>>0<=m>>>0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}s=c[p+(m<<2)>>2]|0;if((s|0)==0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}t=s;bH[c[(c[s>>2]|0)+20>>2]&1023](o,t);c[j>>2]=g;u=a[b]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){m=bS[c[(c[k>>2]|0)+28>>2]&1023](r,u)|0;u=c[j>>2]|0;c[j>>2]=u+1|0;a[u]=m;v=b+1|0}else{v=b}m=f;L3325:do{if((m-v|0)>1){if(a[v]<<24>>24!=48){w=v;x=3029;break}u=v+1|0;p=a[u]|0;if(!((p<<24>>24|0)==120|(p<<24>>24|0)==88)){w=v;x=3029;break}p=k;n=bS[c[(c[p>>2]|0)+28>>2]&1023](r,48)|0;q=c[j>>2]|0;c[j>>2]=q+1|0;a[q]=n;n=v+2|0;q=bS[c[(c[p>>2]|0)+28>>2]&1023](r,a[u]|0)|0;u=c[j>>2]|0;c[j>>2]=u+1|0;a[u]=q;q=n;while(1){if(q>>>0>=f>>>0){y=q;z=n;break L3325}u=a[q]|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((aT(u<<24>>24|0,c[1311659]|0)|0)==0){y=q;z=n;break L3325}else{q=q+1|0}}}else{w=v;x=3029}}while(0);L3340:do{if((x|0)==3029){while(1){x=0;if(w>>>0>=f>>>0){y=w;z=v;break L3340}q=a[w]|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((aF(q<<24>>24|0,c[1311659]|0)|0)==0){y=w;z=v;break L3340}else{w=w+1|0;x=3029}}}}while(0);x=o;w=o;v=d[w]|0;if((v&1|0)==0){A=v>>>1}else{A=c[o+4>>2]|0}L3355:do{if((A|0)==0){v=c[j>>2]|0;u=c[(c[k>>2]|0)+32>>2]|0;bP[u&1023](r,z,y,v);c[j>>2]=(c[j>>2]|0)+(y-z|0)|0}else{L3359:do{if((z|0)!=(y|0)){v=y-1|0;if(z>>>0<v>>>0){B=z;C=v}else{break}while(1){v=a[B]|0;a[B]=a[C]|0;a[C]=v;v=B+1|0;u=C-1|0;if(v>>>0<u>>>0){B=v;C=u}else{break L3359}}}}while(0);q=bJ[c[(c[s>>2]|0)+16>>2]&1023](t)|0;L3365:do{if(z>>>0<y>>>0){u=x+1|0;v=o+4|0;n=o+8|0;p=k;D=0;E=0;F=z;while(1){G=(a[w]&1)<<24>>24==0;do{if(a[(G?u:c[n>>2]|0)+E|0]<<24>>24>0){if((D|0)!=(a[(G?u:c[n>>2]|0)+E|0]<<24>>24|0)){H=E;I=D;break}J=c[j>>2]|0;c[j>>2]=J+1|0;a[J]=q;J=d[w]|0;H=(E>>>0<(((J&1|0)==0?J>>>1:c[v>>2]|0)-1|0)>>>0&1)+E|0;I=0}else{H=E;I=D}}while(0);G=bS[c[(c[p>>2]|0)+28>>2]&1023](r,a[F]|0)|0;J=c[j>>2]|0;c[j>>2]=J+1|0;a[J]=G;G=F+1|0;if(G>>>0<y>>>0){D=I+1|0;E=H;F=G}else{break L3365}}}}while(0);q=g+(z-b|0)|0;F=c[j>>2]|0;if((q|0)==(F|0)){break}E=F-1|0;if(q>>>0<E>>>0){K=q;L=E}else{break}while(1){E=a[K]|0;a[K]=a[L]|0;a[L]=E;E=K+1|0;q=L-1|0;if(E>>>0<q>>>0){K=E;L=q}else{break L3355}}}}while(0);L3379:do{if(y>>>0<f>>>0){L=k;K=y;while(1){z=a[K]|0;if(z<<24>>24==46){break}H=bS[c[(c[L>>2]|0)+28>>2]&1023](r,z)|0;z=c[j>>2]|0;c[j>>2]=z+1|0;a[z]=H;H=K+1|0;if(H>>>0<f>>>0){K=H}else{M=H;break L3379}}L=bJ[c[(c[s>>2]|0)+12>>2]&1023](t)|0;H=c[j>>2]|0;c[j>>2]=H+1|0;a[H]=L;M=K+1|0}else{M=y}}while(0);bP[c[(c[k>>2]|0)+32>>2]&1023](r,M,f,c[j>>2]|0);r=(c[j>>2]|0)+(m-M|0)|0;c[j>>2]=r;if((e|0)==(f|0)){N=r}else{N=g+(e-b|0)|0}c[h>>2]=N;if((a[w]&1)<<24>>24==0){i=l;return}jo(c[o+8>>2]|0);i=l;return}function e3(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=i;i=i+124|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=d|0;m=d+8|0;n=d+40|0;o=d+44|0;p=d+104|0;q=d+108|0;r=d+112|0;s=d+116|0;t=d+120|0;c[l>>2]=37;c[l+4>>2]=0;u=l;l=u+1|0;v=f+4|0;x=c[v>>2]|0;if((x&2048|0)==0){y=l}else{a[l]=43;y=u+2|0}if((x&1024|0)==0){z=y}else{a[y]=35;z=y+1|0}y=x&260;l=x>>>14;do{if((y|0)==260){a[z]=76;x=z+1|0;if((l&1|0)==0){a[x]=97;A=0;break}else{a[x]=65;A=0;break}}else{a[z]=46;a[z+1|0]=42;a[z+2|0]=76;x=z+3|0;if((y|0)==256){if((l&1|0)==0){a[x]=101;A=1;break}else{a[x]=69;A=1;break}}else if((y|0)==4){if((l&1|0)==0){a[x]=102;A=1;break}else{a[x]=70;A=1;break}}else{if((l&1|0)==0){a[x]=103;A=1;break}else{a[x]=71;A=1;break}}}}while(0);l=m|0;c[n>>2]=l;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=c[1311659]|0;if(A){B=e0(l,30,m,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{B=e0(l,30,m,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}do{if((B|0)>29){m=a[5255540]<<24>>24==0;if(A){do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}m=c[n>>2]|0;if((m|0)!=0){E=C;F=m;G=m;break}m=a1(4)|0;c[m>>2]=5247492;av(m|0,5252740,66)}else{E=B;F=0;G=c[n>>2]|0}}while(0);B=G+E|0;C=c[v>>2]&176;do{if((C|0)==16){v=a[G]|0;if((v<<24>>24|0)==45|(v<<24>>24|0)==43){H=G+1|0;break}if(!((E|0)>1&v<<24>>24==48)){I=3129;break}v=a[G+1|0]|0;if(!((v<<24>>24|0)==120|(v<<24>>24|0)==88)){I=3129;break}H=G+2|0;break}else if((C|0)==32){H=B}else{I=3129}}while(0);if((I|0)==3129){H=G}do{if((G|0)==(l|0)){J=o|0;K=0;L=l}else{I=je(E<<1)|0;if((I|0)!=0){J=I;K=I;L=c[n>>2]|0;break}I=a1(4)|0;c[I>>2]=5247492;av(I|0,5252740,66)}}while(0);n=r|0;E=c[f+28>>2]|0;c[n>>2]=E;l=E+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;e2(L,H,B,J,p,q,r);r=c[n>>2]|0;n=r+4|0;if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[r>>2]|0)+8>>2]&1023](r|0)}r=e|0;c[t>>2]=c[r>>2]|0;b7(s,t,J,c[p>>2]|0,c[q>>2]|0,f,g);g=c[s>>2]|0;c[r>>2]=g;c[b>>2]=g;if((K|0)!=0){jf(K)}if((F|0)==0){i=d;return}jf(F);i=d;return}function e4(a){a=a|0;return}function e5(a){a=a|0;jo(a);return}function e6(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+120|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+8|0;l=d+20|0;m=d+104|0;n=d+108|0;o=d+112|0;p=d+116|0;q=j|0;a[q]=a[5247348]|0;a[q+1|0]=a[5247349|0]|0;a[q+2|0]=a[5247350|0]|0;a[q+3|0]=a[5247351|0]|0;a[q+4|0]=a[5247352|0]|0;a[q+5|0]=a[5247353|0]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);v=eW(u,c[1311659]|0,q,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+v|0;q=c[s>>2]&176;do{if((q|0)==32){x=h}else if((q|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=k+1|0;break}if(!((v|0)>1&s<<24>>24==48)){y=3177;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=3177;break}x=k+2|0;break}else{y=3177}}while(0);if((y|0)==3177){x=u}y=l|0;l=o|0;k=c[f+28>>2]|0;c[l>>2]=k;v=k+4|0;D=c[v>>2]|0,c[v>>2]=D+1,D;fc(u,x,h,y,m,n,o);o=c[l>>2]|0;l=o+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;e9(b,p,y,C,E,f,g);i=d;return}bG[c[(c[o>>2]|0)+8>>2]&1023](o|0);z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;e9(b,p,y,C,E,f,g);i=d;return}function e7(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,x=0,y=0,z=0;d=i;i=i+84|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+20|0;l=d+40|0;m=d+80|0;n=d+12|0;a[n]=a[5247356]|0;a[n+1|0]=a[5247357|0]|0;a[n+2|0]=a[5247358|0]|0;a[n+3|0]=a[5247359|0]|0;a[n+4|0]=a[5247360|0]|0;a[n+5|0]=a[5247361|0]|0;o=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);p=eW(o,c[1311659]|0,n,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+p|0;n=c[f+4>>2]&176;do{if((n|0)==32){q=h}else if((n|0)==16){r=a[o]|0;if((r<<24>>24|0)==45|(r<<24>>24|0)==43){q=k+1|0;break}if(!((p|0)>1&r<<24>>24==48)){s=3198;break}r=a[k+1|0]|0;if(!((r<<24>>24|0)==120|(r<<24>>24|0)==88)){s=3198;break}q=k+2|0;break}else{s=3198}}while(0);if((s|0)==3198){q=o}s=c[f+28>>2]|0;n=s+4|0;D=c[n>>2]|0,c[n>>2]=D+1,D;if((c[1313740]|0)!=-1){c[j>>2]=5254960;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254960,j,406)}j=(c[1313741]|0)-1|0;r=c[s+20>>2]|0;do{if((c[s+24>>2]|0)-r>>2>>>0>j>>>0){t=c[r+(j<<2)>>2]|0;if((t|0)==0){break}if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[s>>2]|0)+8>>2]&1023](s)}u=l|0;bP[c[(c[t>>2]|0)+32>>2]&1023](t,o,h,u);t=l+p|0;if((q|0)==(h|0)){v=t;x=e|0;y=c[x>>2]|0;z=m|0;c[z>>2]=y;b7(b,m,u,v,t,f,g);i=d;return}v=l+(q-k|0)|0;x=e|0;y=c[x>>2]|0;z=m|0;c[z>>2]=y;b7(b,m,u,v,t,f,g);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function e8(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;j=i;i=i+28|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+12|0;m=j+16|0;if((c[f+4>>2]&1|0)==0){n=c[(c[d>>2]|0)+24>>2]|0;c[l>>2]=c[e>>2]|0;bR[n&1023](b,d,l,f,g,h&1);i=j;return}g=c[f+28>>2]|0;f=g+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313646]|0)!=-1){c[k>>2]=5254584;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254584,k,406)}k=(c[1313647]|0)-1|0;l=c[g+20>>2]|0;do{if((c[g+24>>2]|0)-l>>2>>>0>k>>>0){d=c[l+(k<<2)>>2]|0;if((d|0)==0){break}n=d;if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[g>>2]|0)+8>>2]&1023](g)}o=c[d>>2]|0;if(h){bH[c[o+24>>2]&1023](m,n)}else{bH[c[o+28>>2]&1023](m,n)}n=m;o=a[n]|0;if((o&1)<<24>>24==0){d=m+4|0;p=d;q=d;r=m+8|0}else{d=m+8|0;p=c[d>>2]|0;q=m+4|0;r=d}d=e|0;s=p;t=o;while(1){u=(t&1)<<24>>24==0;if(u){v=q}else{v=c[r>>2]|0}o=t&255;if((o&1|0)==0){w=o>>>1}else{w=c[q>>2]|0}if((s|0)==(v+(w<<2)|0)){break}o=c[s>>2]|0;x=c[d>>2]|0;do{if((x|0)!=0){y=x+24|0;z=c[y>>2]|0;if((z|0)==(c[x+28>>2]|0)){A=bS[c[(c[x>>2]|0)+52>>2]&1023](x,o)|0}else{c[y>>2]=z+4|0;c[z>>2]=o;A=o}if((A|0)!=-1){break}c[d>>2]=0}}while(0);s=s+4|0;t=a[n]|0}c[b>>2]=c[d>>2]|0;if(u){i=j;return}jo(c[r>>2]|0);i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function e9(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;j=i;k=b;b=i;i=i+4|0;c[b>>2]=c[k>>2]|0;k=f-d>>2;l=g+12|0;g=c[l>>2]|0;m=(g|0)>(k|0)?g-k|0:0;L3597:do{if(d>>>0<e>>>0){k=b|0;g=d;n=c[k>>2]|0;while(1){o=c[g>>2]|0;do{if((n|0)==0){p=0}else{q=n+24|0;r=c[q>>2]|0;if((r|0)==(c[n+28>>2]|0)){s=bS[c[(c[n>>2]|0)+52>>2]&1023](n,o)|0}else{c[q>>2]=r+4|0;c[r>>2]=o;s=o}if((s|0)!=-1){p=n;break}c[k>>2]=0;p=0}}while(0);o=g+4|0;if(o>>>0<e>>>0){g=o;n=p}else{t=o;break L3597}}}else{t=d}}while(0);L3610:do{if((m|0)!=0){d=b|0;p=m;e=c[d>>2]|0;while(1){do{if((e|0)==0){u=0}else{s=e+24|0;n=c[s>>2]|0;if((n|0)==(c[e+28>>2]|0)){v=bS[c[(c[e>>2]|0)+52>>2]&1023](e,h)|0}else{c[s>>2]=n+4|0;c[n>>2]=h;v=h}if((v|0)!=-1){u=e;break}c[d>>2]=0;u=0}}while(0);n=p-1|0;if((n|0)==0){break L3610}else{p=n;e=u}}}}while(0);u=b|0;b=c[u>>2]|0;if(t>>>0<f>>>0){w=t;x=b;y=b}else{z=b;c[l>>2]=0;A=a|0;c[A>>2]=z;i=j;return}while(1){b=c[w>>2]|0;do{if((x|0)==0){B=0;C=y}else{t=x+24|0;v=c[t>>2]|0;if((v|0)==(c[x+28>>2]|0)){D=bS[c[(c[x>>2]|0)+52>>2]&1023](x,b)|0}else{c[t>>2]=v+4|0;c[v>>2]=b;D=b}if((D|0)!=-1){B=x;C=y;break}c[u>>2]=0;B=0;C=0}}while(0);b=w+4|0;if(b>>>0<f>>>0){w=b;x=B;y=C}else{z=C;break}}c[l>>2]=0;A=a|0;c[A>>2]=z;i=j;return}function fa(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+212|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=d|0;l=d+8|0;m=d+32|0;n=d+196|0;o=d+200|0;p=d+204|0;q=d+208|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}u=v+2|0;a[v]=108;a[v+1|0]=108;v=t&74;do{if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else if((v|0)==64){a[u]=111}else{a[u]=100}}while(0);u=l|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);v=eW(u,c[1311659]|0,r,(w=i,i=i+8|0,c[w>>2]=h,c[w+4>>2]=j,w)|0)|0;j=l+v|0;h=c[s>>2]&176;do{if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=l+1|0;break}if(!((v|0)>1&s<<24>>24==48)){y=3306;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=3306;break}x=l+2|0;break}else if((h|0)==32){x=j}else{y=3306}}while(0);if((y|0)==3306){x=u}y=m|0;m=p|0;h=c[f+28>>2]|0;c[m>>2]=h;l=h+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;fc(u,x,j,y,n,o,p);p=c[m>>2]|0;m=p+4|0;if(((D=c[m>>2]|0,c[m>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;e9(b,q,y,C,E,f,g);i=d;return}bG[c[(c[p>>2]|0)+8>>2]&1023](p|0);z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;e9(b,q,y,C,E,f,g);i=d;return}function fb(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+120|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+8|0;l=d+20|0;m=d+104|0;n=d+108|0;o=d+112|0;p=d+116|0;q=j|0;a[q]=a[5247348]|0;a[q+1|0]=a[5247349|0]|0;a[q+2|0]=a[5247350|0]|0;a[q+3|0]=a[5247351|0]|0;a[q+4|0]=a[5247352|0]|0;a[q+5|0]=a[5247353|0]|0;r=j+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=r}else{a[r]=43;u=j+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}a[v]=108;u=v+1|0;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);t=eW(u,c[1311659]|0,q,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+t|0;q=c[s>>2]&176;do{if((q|0)==32){x=h}else if((q|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=k+1|0;break}if(!((t|0)>1&s<<24>>24==48)){y=3337;break}s=a[k+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=3337;break}x=k+2|0;break}else{y=3337}}while(0);if((y|0)==3337){x=u}y=l|0;l=o|0;k=c[f+28>>2]|0;c[l>>2]=k;t=k+4|0;D=c[t>>2]|0,c[t>>2]=D+1,D;fc(u,x,h,y,m,n,o);o=c[l>>2]|0;l=o+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;e9(b,p,y,C,E,f,g);i=d;return}bG[c[(c[o>>2]|0)+8>>2]&1023](o|0);z=e|0;A=c[z>>2]|0;B=p|0;c[B>>2]=A;C=c[m>>2]|0;E=c[n>>2]|0;e9(b,p,y,C,E,f,g);i=d;return}function fc(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;l=i;i=i+36|0;m=l|0;n=l+12|0;o=l+24|0;p=k|0;k=c[p>>2]|0;if((c[1313738]|0)!=-1){c[n>>2]=5254952;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254952,n,406)}n=(c[1313739]|0)-1|0;q=c[k+20>>2]|0;if((c[k+24>>2]|0)-q>>2>>>0<=n>>>0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}k=c[q+(n<<2)>>2]|0;if((k|0)==0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}r=k;s=c[p>>2]|0;if((c[1313646]|0)!=-1){c[m>>2]=5254584;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254584,m,406)}m=(c[1313647]|0)-1|0;p=c[s+20>>2]|0;if((c[s+24>>2]|0)-p>>2>>>0<=m>>>0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}s=c[p+(m<<2)>>2]|0;if((s|0)==0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}t=s;bH[c[(c[s>>2]|0)+20>>2]&1023](o,t);u=o;m=o;p=d[m]|0;if((p&1|0)==0){v=p>>>1}else{v=c[o+4>>2]|0}L3729:do{if((v|0)==0){p=c[(c[k>>2]|0)+48>>2]|0;bP[p&1023](r,b,f,g);c[j>>2]=g+(f-b<<2)|0}else{c[j>>2]=g;p=a[b]|0;if((p<<24>>24|0)==45|(p<<24>>24|0)==43){n=bS[c[(c[k>>2]|0)+44>>2]&1023](r,p)|0;p=c[j>>2]|0;c[j>>2]=p+4|0;c[p>>2]=n;w=b+1|0}else{w=b}do{if((f-w|0)>1){if(a[w]<<24>>24!=48){x=w;break}n=w+1|0;p=a[n]|0;if(!((p<<24>>24|0)==120|(p<<24>>24|0)==88)){x=w;break}p=k;q=bS[c[(c[p>>2]|0)+44>>2]&1023](r,48)|0;y=c[j>>2]|0;c[j>>2]=y+4|0;c[y>>2]=q;q=bS[c[(c[p>>2]|0)+44>>2]&1023](r,a[n]|0)|0;n=c[j>>2]|0;c[j>>2]=n+4|0;c[n>>2]=q;x=w+2|0}else{x=w}}while(0);L3742:do{if((x|0)!=(f|0)){q=f-1|0;if(x>>>0<q>>>0){z=x;A=q}else{break}while(1){q=a[z]|0;a[z]=a[A]|0;a[A]=q;q=z+1|0;n=A-1|0;if(q>>>0<n>>>0){z=q;A=n}else{break L3742}}}}while(0);n=bJ[c[(c[s>>2]|0)+16>>2]&1023](t)|0;L3748:do{if(x>>>0<f>>>0){q=u+1|0;p=k;y=o+4|0;B=o+8|0;C=0;D=0;E=x;while(1){F=(a[m]&1)<<24>>24==0;do{if(a[(F?q:c[B>>2]|0)+D|0]<<24>>24==0){G=D;H=C}else{if((C|0)!=(a[(F?q:c[B>>2]|0)+D|0]<<24>>24|0)){G=D;H=C;break}I=c[j>>2]|0;c[j>>2]=I+4|0;c[I>>2]=n;I=d[m]|0;G=(D>>>0<(((I&1|0)==0?I>>>1:c[y>>2]|0)-1|0)>>>0&1)+D|0;H=0}}while(0);F=bS[c[(c[p>>2]|0)+44>>2]&1023](r,a[E]|0)|0;I=c[j>>2]|0;c[j>>2]=I+4|0;c[I>>2]=F;F=E+1|0;if(F>>>0<f>>>0){C=H+1|0;D=G;E=F}else{break L3748}}}}while(0);n=g+(x-b<<2)|0;E=c[j>>2]|0;if((n|0)==(E|0)){break}D=E-4|0;if(n>>>0<D>>>0){J=n;K=D}else{break}while(1){D=c[J>>2]|0;c[J>>2]=c[K>>2]|0;c[K>>2]=D;D=J+4|0;n=K-4|0;if(D>>>0<n>>>0){J=D;K=n}else{break L3729}}}}while(0);if((e|0)==(f|0)){L=c[j>>2]|0}else{L=g+(e-b<<2)|0}c[h>>2]=L;if((a[m]&1)<<24>>24==0){i=l;return}jo(c[o+8>>2]|0);i=l;return}function fd(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0;d=i;i=i+220|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=d|0;l=d+8|0;m=d+32|0;n=d+204|0;o=d+208|0;p=d+212|0;q=d+216|0;c[k>>2]=37;c[k+4>>2]=0;r=k;k=r+1|0;s=f+4|0;t=c[s>>2]|0;if((t&2048|0)==0){u=k}else{a[k]=43;u=r+2|0}if((t&512|0)==0){v=u}else{a[u]=35;v=u+1|0}u=v+2|0;a[v]=108;a[v+1|0]=108;v=t&74;do{if((v|0)==64){a[u]=111}else if((v|0)==8){if((t&16384|0)==0){a[u]=120;break}else{a[u]=88;break}}else{a[u]=117}}while(0);u=l|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);t=eW(u,c[1311659]|0,r,(w=i,i=i+8|0,c[w>>2]=h,c[w+4>>2]=j,w)|0)|0;j=l+t|0;h=c[s>>2]&176;do{if((h|0)==16){s=a[u]|0;if((s<<24>>24|0)==45|(s<<24>>24|0)==43){x=l+1|0;break}if(!((t|0)>1&s<<24>>24==48)){y=3424;break}s=a[l+1|0]|0;if(!((s<<24>>24|0)==120|(s<<24>>24|0)==88)){y=3424;break}x=l+2|0;break}else if((h|0)==32){x=j}else{y=3424}}while(0);if((y|0)==3424){x=u}y=m|0;m=p|0;h=c[f+28>>2]|0;c[m>>2]=h;l=h+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;fc(u,x,j,y,n,o,p);p=c[m>>2]|0;m=p+4|0;if(((D=c[m>>2]|0,c[m>>2]=D+ -1,D)|0)!=0){z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;e9(b,q,y,C,E,f,g);i=d;return}bG[c[(c[p>>2]|0)+8>>2]&1023](p|0);z=e|0;A=c[z>>2]|0;B=q|0;c[B>>2]=A;C=c[n>>2]|0;E=c[o>>2]|0;e9(b,q,y,C,E,f,g);i=d;return}function fe(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=i;i=i+292|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=d|0;m=d+8|0;n=d+40|0;o=d+44|0;p=d+272|0;q=d+276|0;r=d+280|0;s=d+284|0;t=d+288|0;c[l>>2]=37;c[l+4>>2]=0;u=l;l=u+1|0;v=f+4|0;x=c[v>>2]|0;if((x&2048|0)==0){y=l}else{a[l]=43;y=u+2|0}if((x&1024|0)==0){z=y}else{a[y]=35;z=y+1|0}y=x&260;l=x>>>14;do{if((y|0)==260){if((l&1|0)==0){a[z]=97;A=0;break}else{a[z]=65;A=0;break}}else{a[z]=46;x=z+2|0;a[z+1|0]=42;if((y|0)==4){if((l&1|0)==0){a[x]=102;A=1;break}else{a[x]=70;A=1;break}}else if((y|0)==256){if((l&1|0)==0){a[x]=101;A=1;break}else{a[x]=69;A=1;break}}else{if((l&1|0)==0){a[x]=103;A=1;break}else{a[x]=71;A=1;break}}}}while(0);l=m|0;c[n>>2]=l;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=c[1311659]|0;if(A){B=e0(l,30,m,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{B=e0(l,30,m,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}do{if((B|0)>29){m=a[5255540]<<24>>24==0;if(A){do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}m=c[n>>2]|0;if((m|0)!=0){E=C;F=m;G=m;break}m=a1(4)|0;c[m>>2]=5247492;av(m|0,5252740,66)}else{E=B;F=0;G=c[n>>2]|0}}while(0);B=G+E|0;C=c[v>>2]&176;do{if((C|0)==16){v=a[G]|0;if((v<<24>>24|0)==45|(v<<24>>24|0)==43){H=G+1|0;break}if(!((E|0)>1&v<<24>>24==48)){I=3486;break}v=a[G+1|0]|0;if(!((v<<24>>24|0)==120|(v<<24>>24|0)==88)){I=3486;break}H=G+2|0;break}else if((C|0)==32){H=B}else{I=3486}}while(0);if((I|0)==3486){H=G}do{if((G|0)==(l|0)){J=o|0;K=0;L=l}else{I=je(E<<3)|0;C=I;if((I|0)!=0){J=C;K=C;L=c[n>>2]|0;break}C=a1(4)|0;c[C>>2]=5247492;av(C|0,5252740,66)}}while(0);n=r|0;E=c[f+28>>2]|0;c[n>>2]=E;l=E+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;ff(L,H,B,J,p,q,r);r=c[n>>2]|0;n=r+4|0;if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[r>>2]|0)+8>>2]&1023](r|0)}r=e|0;c[t>>2]=c[r>>2]|0;e9(s,t,J,c[p>>2]|0,c[q>>2]|0,f,g);g=c[s>>2]|0;c[r>>2]=g;c[b>>2]=g;if((K|0)!=0){jf(K)}if((F|0)==0){i=d;return}jf(F);i=d;return}function ff(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,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;l=i;i=i+36|0;m=l|0;n=l+12|0;o=l+24|0;p=k|0;k=c[p>>2]|0;if((c[1313738]|0)!=-1){c[n>>2]=5254952;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254952,n,406)}n=(c[1313739]|0)-1|0;q=c[k+20>>2]|0;if((c[k+24>>2]|0)-q>>2>>>0<=n>>>0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}k=c[q+(n<<2)>>2]|0;if((k|0)==0){r=a1(4)|0;s=r;c[s>>2]=5247516;av(r|0,5252752,514)}r=k;s=c[p>>2]|0;if((c[1313646]|0)!=-1){c[m>>2]=5254584;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254584,m,406)}m=(c[1313647]|0)-1|0;p=c[s+20>>2]|0;if((c[s+24>>2]|0)-p>>2>>>0<=m>>>0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}s=c[p+(m<<2)>>2]|0;if((s|0)==0){t=a1(4)|0;u=t;c[u>>2]=5247516;av(t|0,5252752,514)}t=s;bH[c[(c[s>>2]|0)+20>>2]&1023](o,t);c[j>>2]=g;u=a[b]|0;if((u<<24>>24|0)==45|(u<<24>>24|0)==43){m=bS[c[(c[k>>2]|0)+44>>2]&1023](r,u)|0;u=c[j>>2]|0;c[j>>2]=u+4|0;c[u>>2]=m;v=b+1|0}else{v=b}m=f;L3915:do{if((m-v|0)>1){if(a[v]<<24>>24!=48){w=v;x=3545;break}u=v+1|0;p=a[u]|0;if(!((p<<24>>24|0)==120|(p<<24>>24|0)==88)){w=v;x=3545;break}p=k;n=bS[c[(c[p>>2]|0)+44>>2]&1023](r,48)|0;q=c[j>>2]|0;c[j>>2]=q+4|0;c[q>>2]=n;n=v+2|0;q=bS[c[(c[p>>2]|0)+44>>2]&1023](r,a[u]|0)|0;u=c[j>>2]|0;c[j>>2]=u+4|0;c[u>>2]=q;q=n;while(1){if(q>>>0>=f>>>0){y=q;z=n;break L3915}u=a[q]|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((aT(u<<24>>24|0,c[1311659]|0)|0)==0){y=q;z=n;break L3915}else{q=q+1|0}}}else{w=v;x=3545}}while(0);L3930:do{if((x|0)==3545){while(1){x=0;if(w>>>0>=f>>>0){y=w;z=v;break L3930}q=a[w]|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);if((aF(q<<24>>24|0,c[1311659]|0)|0)==0){y=w;z=v;break L3930}else{w=w+1|0;x=3545}}}}while(0);x=o;w=o;v=d[w]|0;if((v&1|0)==0){A=v>>>1}else{A=c[o+4>>2]|0}L3945:do{if((A|0)==0){v=c[j>>2]|0;u=c[(c[k>>2]|0)+48>>2]|0;bP[u&1023](r,z,y,v);c[j>>2]=(c[j>>2]|0)+(y-z<<2)|0}else{L3947:do{if((z|0)!=(y|0)){v=y-1|0;if(z>>>0<v>>>0){B=z;C=v}else{break}while(1){v=a[B]|0;a[B]=a[C]|0;a[C]=v;v=B+1|0;u=C-1|0;if(v>>>0<u>>>0){B=v;C=u}else{break L3947}}}}while(0);q=bJ[c[(c[s>>2]|0)+16>>2]&1023](t)|0;L3953:do{if(z>>>0<y>>>0){u=x+1|0;v=o+4|0;n=o+8|0;p=k;D=0;E=0;F=z;while(1){G=(a[w]&1)<<24>>24==0;do{if(a[(G?u:c[n>>2]|0)+E|0]<<24>>24>0){if((D|0)!=(a[(G?u:c[n>>2]|0)+E|0]<<24>>24|0)){H=E;I=D;break}J=c[j>>2]|0;c[j>>2]=J+4|0;c[J>>2]=q;J=d[w]|0;H=(E>>>0<(((J&1|0)==0?J>>>1:c[v>>2]|0)-1|0)>>>0&1)+E|0;I=0}else{H=E;I=D}}while(0);G=bS[c[(c[p>>2]|0)+44>>2]&1023](r,a[F]|0)|0;J=c[j>>2]|0;c[j>>2]=J+4|0;c[J>>2]=G;G=F+1|0;if(G>>>0<y>>>0){D=I+1|0;E=H;F=G}else{break L3953}}}}while(0);q=g+(z-b<<2)|0;F=c[j>>2]|0;if((q|0)==(F|0)){break}E=F-4|0;if(q>>>0<E>>>0){K=q;L=E}else{break}while(1){E=c[K>>2]|0;c[K>>2]=c[L>>2]|0;c[L>>2]=E;E=K+4|0;q=L-4|0;if(E>>>0<q>>>0){K=E;L=q}else{break L3945}}}}while(0);L3969:do{if(y>>>0<f>>>0){L=k;K=y;while(1){z=a[K]|0;if(z<<24>>24==46){break}H=bS[c[(c[L>>2]|0)+44>>2]&1023](r,z)|0;z=c[j>>2]|0;c[j>>2]=z+4|0;c[z>>2]=H;H=K+1|0;if(H>>>0<f>>>0){K=H}else{M=H;break L3969}}L=bJ[c[(c[s>>2]|0)+12>>2]&1023](t)|0;H=c[j>>2]|0;c[j>>2]=H+4|0;c[H>>2]=L;M=K+1|0}else{M=y}}while(0);bP[c[(c[k>>2]|0)+48>>2]&1023](r,M,f,c[j>>2]|0);r=(c[j>>2]|0)+(m-M<<2)|0;c[j>>2]=r;if((e|0)==(f|0)){N=r}else{N=g+(e-b<<2)|0}c[h>>2]=N;if((a[w]&1)<<24>>24==0){i=l;return}jo(c[o+8>>2]|0);i=l;return}function fg(b,d,e,f,g,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;j=+j;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=i;i=i+292|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=d|0;m=d+8|0;n=d+40|0;o=d+44|0;p=d+272|0;q=d+276|0;r=d+280|0;s=d+284|0;t=d+288|0;c[l>>2]=37;c[l+4>>2]=0;u=l;l=u+1|0;v=f+4|0;x=c[v>>2]|0;if((x&2048|0)==0){y=l}else{a[l]=43;y=u+2|0}if((x&1024|0)==0){z=y}else{a[y]=35;z=y+1|0}y=x&260;l=x>>>14;do{if((y|0)==260){a[z]=76;x=z+1|0;if((l&1|0)==0){a[x]=97;A=0;break}else{a[x]=65;A=0;break}}else{a[z]=46;a[z+1|0]=42;a[z+2|0]=76;x=z+3|0;if((y|0)==4){if((l&1|0)==0){a[x]=102;A=1;break}else{a[x]=70;A=1;break}}else if((y|0)==256){if((l&1|0)==0){a[x]=101;A=1;break}else{a[x]=69;A=1;break}}else{if((l&1|0)==0){a[x]=103;A=1;break}else{a[x]=71;A=1;break}}}}while(0);l=m|0;c[n>>2]=l;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);m=c[1311659]|0;if(A){B=e0(l,30,m,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{B=e0(l,30,m,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}do{if((B|0)>29){m=a[5255540]<<24>>24==0;if(A){do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+12|0,c[w>>2]=c[f+8>>2]|0,h[k>>3]=j,c[w+4>>2]=c[k>>2]|0,c[w+8>>2]=c[k+4>>2]|0,w)|0)|0}else{do{if(m){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);C=e1(n,c[1311659]|0,u,(w=i,i=i+8|0,h[k>>3]=j,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0}m=c[n>>2]|0;if((m|0)!=0){E=C;F=m;G=m;break}m=a1(4)|0;c[m>>2]=5247492;av(m|0,5252740,66)}else{E=B;F=0;G=c[n>>2]|0}}while(0);B=G+E|0;C=c[v>>2]&176;do{if((C|0)==32){H=B}else if((C|0)==16){v=a[G]|0;if((v<<24>>24|0)==45|(v<<24>>24|0)==43){H=G+1|0;break}if(!((E|0)>1&v<<24>>24==48)){I=3645;break}v=a[G+1|0]|0;if(!((v<<24>>24|0)==120|(v<<24>>24|0)==88)){I=3645;break}H=G+2|0;break}else{I=3645}}while(0);if((I|0)==3645){H=G}do{if((G|0)==(l|0)){J=o|0;K=0;L=l}else{I=je(E<<3)|0;C=I;if((I|0)!=0){J=C;K=C;L=c[n>>2]|0;break}C=a1(4)|0;c[C>>2]=5247492;av(C|0,5252740,66)}}while(0);n=r|0;E=c[f+28>>2]|0;c[n>>2]=E;l=E+4|0;D=c[l>>2]|0,c[l>>2]=D+1,D;ff(L,H,B,J,p,q,r);r=c[n>>2]|0;n=r+4|0;if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[r>>2]|0)+8>>2]&1023](r|0)}r=e|0;c[t>>2]=c[r>>2]|0;e9(s,t,J,c[p>>2]|0,c[q>>2]|0,f,g);g=c[s>>2]|0;c[r>>2]=g;c[b>>2]=g;if((K|0)!=0){jf(K)}if((F|0)==0){i=d;return}jf(F);i=d;return}function fh(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,x=0,y=0,z=0;d=i;i=i+192|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=d|0;k=d+20|0;l=d+40|0;m=d+188|0;n=d+12|0;a[n]=a[5247356]|0;a[n+1|0]=a[5247357|0]|0;a[n+2|0]=a[5247358|0]|0;a[n+3|0]=a[5247359|0]|0;a[n+4|0]=a[5247360|0]|0;a[n+5|0]=a[5247361|0]|0;o=k|0;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);p=eW(o,c[1311659]|0,n,(w=i,i=i+4|0,c[w>>2]=h,w)|0)|0;h=k+p|0;n=c[f+4>>2]&176;do{if((n|0)==32){q=h}else if((n|0)==16){r=a[o]|0;if((r<<24>>24|0)==45|(r<<24>>24|0)==43){q=k+1|0;break}if(!((p|0)>1&r<<24>>24==48)){s=3681;break}r=a[k+1|0]|0;if(!((r<<24>>24|0)==120|(r<<24>>24|0)==88)){s=3681;break}q=k+2|0;break}else{s=3681}}while(0);if((s|0)==3681){q=o}s=c[f+28>>2]|0;n=s+4|0;D=c[n>>2]|0,c[n>>2]=D+1,D;if((c[1313738]|0)!=-1){c[j>>2]=5254952;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254952,j,406)}j=(c[1313739]|0)-1|0;r=c[s+20>>2]|0;do{if((c[s+24>>2]|0)-r>>2>>>0>j>>>0){t=c[r+(j<<2)>>2]|0;if((t|0)==0){break}if(((D=c[n>>2]|0,c[n>>2]=D+ -1,D)|0)==0){bG[c[(c[s>>2]|0)+8>>2]&1023](s)}u=l|0;bP[c[(c[t>>2]|0)+48>>2]&1023](t,o,h,u);t=l+(p<<2)|0;if((q|0)==(h|0)){v=t;x=e|0;y=c[x>>2]|0;z=m|0;c[z>>2]=y;e9(b,m,u,v,t,f,g);i=d;return}v=l+(q-k<<2)|0;x=e|0;y=c[x>>2]|0;z=m|0;c[z>>2]=y;e9(b,m,u,v,t,f,g);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function fi(a){a=a|0;return}function fj(a){a=a|0;return 2}function fk(a){a=a|0;jo(a);return}function fl(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;j=i;i=i+8|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;c[k>>2]=c[d>>2]|0;c[l>>2]=c[e>>2]|0;fm(a,b,k,l,f,g,h,5247340,5247348);i=j;return}function fm(e,f,g,h,j,k,l,m,n){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;var 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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0;o=i;i=i+24|0;p=g;g=i;i=i+4|0;c[g>>2]=c[p>>2]|0;p=h;h=i;i=i+4|0;c[h>>2]=c[p>>2]|0;p=o|0;q=o+12|0;r=o+16|0;s=o+20|0;t=c[j+28>>2]|0;u=t+4|0;D=c[u>>2]|0,c[u>>2]=D+1,D;if((c[1313740]|0)!=-1){c[p>>2]=5254960;c[p+4>>2]=24;c[p+8>>2]=0;cV(5254960,p,406)}p=(c[1313741]|0)-1|0;v=c[t+20>>2]|0;do{if((c[t+24>>2]|0)-v>>2>>>0>p>>>0){w=c[v+(p<<2)>>2]|0;if((w|0)==0){break}x=w;if(((D=c[u>>2]|0,c[u>>2]=D+ -1,D)|0)==0){bG[c[(c[t>>2]|0)+8>>2]&1023](t)}c[k>>2]=0;y=g|0;z=h|0;L4116:do{if((m|0)==(n|0)){A=3761}else{B=w;C=w+8|0;E=w;F=f;G=r|0;H=s|0;I=q|0;J=m;K=0;L4118:while(1){L=K;while(1){if((L|0)!=0){A=3761;break L4116}M=c[y>>2]|0;N=c[z>>2]|0;O=(N|0)==0;if(!((M|0)==0^O)){A=3715;break L4118}if(bD[c[(c[B>>2]|0)+36>>2]&1023](x,a[J]|0,0)<<24>>24==37){A=3720;break}P=a[J]|0;if(P<<24>>24>-1){Q=c[C>>2]|0;if((b[Q+(P<<24>>24<<1)>>1]&8192)<<16>>16!=0){R=J;A=3731;break}}S=M+12|0;P=c[S>>2]|0;T=M+16|0;if((P|0)==(c[T>>2]|0)){U=bJ[c[(c[M>>2]|0)+36>>2]&1023](M)|0}else{U=d[P]|0}P=bS[c[(c[E>>2]|0)+12>>2]&1023](x,U&255)|0;if(P<<24>>24==bS[c[(c[E>>2]|0)+12>>2]&1023](x,a[J]|0)<<24>>24){A=3752;break}c[k>>2]=4;L=4}L4133:do{if((A|0)==3720){A=0;L=J+1|0;if((L|0)==(n|0)){A=3721;break L4118}P=bD[c[(c[B>>2]|0)+36>>2]&1023](x,a[L]|0,0)|0;if((P<<24>>24|0)==69|(P<<24>>24|0)==48){V=J+2|0;if((V|0)==(n|0)){A=3724;break L4118}W=P;X=bD[c[(c[B>>2]|0)+36>>2]&1023](x,a[V]|0,0)|0;Y=V}else{W=0;X=P;Y=L}L=c[(c[F>>2]|0)+36>>2]|0;c[G>>2]=M;c[H>>2]=N;bI[L&1023](q,f,r,s,j,k,l,X,W);c[y>>2]=c[I>>2]|0;Z=Y+1|0}else if((A|0)==3752){A=0;L=c[S>>2]|0;P=c[T>>2]|0;do{if((L|0)==(P|0)){if((bJ[c[(c[M>>2]|0)+40>>2]&1023](M)|0)==-1){A=3758;break}_=c[S>>2]|0;$=c[T>>2]|0;A=3756;break}else{V=L+1|0;c[S>>2]=V;_=V;$=P;A=3756;break}}while(0);do{if((A|0)==3756){A=0;if((_|0)!=($|0)){break}if((bJ[c[(c[M>>2]|0)+36>>2]&1023](M)|0)==-1){A=3758;break}else{break}}}while(0);if((A|0)==3758){A=0;c[y>>2]=0}Z=J+1|0}else if((A|0)==3731){while(1){A=0;P=R+1|0;if((P|0)==(n|0)){aa=n;break}L=a[P]|0;if(L<<24>>24<=-1){aa=P;break}if((b[Q+(L<<24>>24<<1)>>1]&8192)<<16>>16==0){aa=P;break}else{R=P;A=3731}}P=M;L4156:while(1){L=P+12|0;V=c[L>>2]|0;ab=P+16|0;if((V|0)==(c[ab>>2]|0)){ac=bJ[c[(c[P>>2]|0)+36>>2]&1023](P)|0}else{ac=d[V]|0}V=ac<<24>>24;if(V>>>0>=128){Z=aa;break L4133}if((b[(c[C>>2]|0)+(V<<1)>>1]&8192)<<16>>16==0){Z=aa;break L4133}V=c[L>>2]|0;ad=c[ab>>2]|0;do{if((V|0)==(ad|0)){if((bJ[c[(c[P>>2]|0)+40>>2]&1023](P)|0)==-1){break}ae=c[L>>2]|0;af=c[ab>>2]|0;A=3744;break}else{ag=V+1|0;c[L>>2]=ag;ae=ag;af=ad;A=3744;break}}while(0);do{if((A|0)==3744){A=0;if((ae|0)==(af|0)){if((bJ[c[(c[P>>2]|0)+36>>2]&1023](P)|0)==-1){break}}if((P|0)==0^O){P=P;continue L4156}else{Z=aa;break L4133}}}while(0);c[y>>2]=0;if(O){Z=aa;break L4133}else{P=0}}}}while(0);if((Z|0)==(n|0)){A=3761;break L4116}J=Z;K=c[k>>2]|0}if((A|0)==3724){c[k>>2]=4;ah=M;ai=N;break}else if((A|0)==3721){c[k>>2]=4;ah=M;ai=N;break}else if((A|0)==3715){c[k>>2]=4;ah=M;ai=N;break}}}while(0);if((A|0)==3761){ah=c[y>>2]|0;ai=c[z>>2]|0}x=g|0;if((ah|0)==0^(ai|0)==0){aj=c[x>>2]|0;ak=e|0;c[ak>>2]=aj;i=o;return}c[k>>2]=c[k>>2]|2;aj=c[x>>2]|0;ak=e|0;c[ak>>2]=aj;i=o;return}}while(0);o=a1(4)|0;c[o>>2]=5247516;av(o|0,5252752,514)}function fn(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;k=i;i=i+20|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=k|0;m=k+12|0;n=k+16|0;o=c[g+28>>2]|0;p=o+4|0;D=c[p>>2]|0,c[p>>2]=D+1,D;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;q=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-q>>2>>>0>l>>>0){if((c[q+(l<<2)>>2]|0)==0){break}if(((D=c[p>>2]|0,c[p>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}r=d+8|0;s=bJ[c[(c[r>>2]|0)+20>>2]&1023](r)|0;c[m>>2]=c[e>>2]|0;c[n>>2]=c[f>>2]|0;r=s;t=a[s]|0;if((t&1)<<24>>24==0){u=r+1|0;v=r+1|0}else{r=c[s+8>>2]|0;u=r;v=r}r=t&255;if((r&1|0)==0){t=r>>>1;r=u+t|0;fm(b,d,m,n,g,h,j,v,r);i=k;return}else{t=c[s+4>>2]|0;r=u+t|0;fm(b,d,m,n,g,h,j,v,r);i=k;return}}}while(0);k=a1(4)|0;c[k>>2]=5247516;av(k|0,5252752,514)}function fo(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;j=i;i=i+16|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;m=c[f+28>>2]|0;f=m+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;n=c[m+20>>2]|0;do{if((c[m+24>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[m>>2]|0)+8>>2]&1023](m)}p=c[e>>2]|0;q=b+8|0;r=bJ[c[c[q>>2]>>2]&1023](q)|0;c[k>>2]=p;p=(ed(d,k,r,r+168|0,o,g,0)|0)-r|0;if((p|0)>=168){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+24>>2]=((p|0)/12&-1|0)%7;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function fp(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;j=i;i=i+16|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;m=c[f+28>>2]|0;f=m+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;n=c[m+20>>2]|0;do{if((c[m+24>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[m>>2]|0)+8>>2]&1023](m)}p=c[e>>2]|0;q=b+8|0;r=bJ[c[(c[q>>2]|0)+4>>2]&1023](q)|0;c[k>>2]=p;p=(ed(d,k,r,r+288|0,o,g,0)|0)-r|0;if((p|0)>=288){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+16>>2]=((p|0)/12&-1|0)%12;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function fq(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;b=i;i=i+16|0;j=d;d=i;i=i+4|0;c[d>>2]=c[j>>2]|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=b|0;k=b+4|0;l=c[f+28>>2]|0;f=l+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313740]|0)!=-1){c[k>>2]=5254960;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254960,k,406)}k=(c[1313741]|0)-1|0;m=c[l+20>>2]|0;do{if((c[l+24>>2]|0)-m>>2>>>0>k>>>0){n=c[m+(k<<2)>>2]|0;if((n|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[l>>2]|0)+8>>2]&1023](l)}c[j>>2]=c[e>>2]|0;o=fx(d,j,g,n,4)|0;if((c[g>>2]&4|0)!=0){p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}if((o|0)<69){s=o+2e3|0}else{s=(o-69|0)>>>0<31?o+1900|0:o}c[h+20>>2]=s-1900|0;p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}}while(0);b=a1(4)|0;c[b>>2]=5247516;av(b|0,5252752,514)}function fr(a,e,f,g,h){a=a|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;a=i;j=f;f=i;i=i+4|0;c[f>>2]=c[j>>2]|0;j=h+8|0;h=e|0;e=c[h>>2]|0;k=(c[f>>2]|0)==0;L4263:do{if((e|0)==0^k){f=e;while(1){l=c[f+12>>2]|0;if((l|0)==(c[f+16>>2]|0)){m=bJ[c[(c[f>>2]|0)+36>>2]&1023](f)|0}else{m=d[l]|0}l=m<<24>>24;if(l>>>0>=128){break}if((b[(c[j>>2]|0)+(l<<1)>>1]&8192)<<16>>16==0){break}l=c[h>>2]|0;n=l+12|0;o=c[n>>2]|0;p=l+16|0;q=c[p>>2]|0;do{if((o|0)==(q|0)){if((bJ[c[(c[l>>2]|0)+40>>2]&1023](l)|0)==-1){r=3850;break}s=c[n>>2]|0;t=c[p>>2]|0;r=3848;break}else{u=o+1|0;c[n>>2]=u;s=u;t=q;r=3848;break}}while(0);do{if((r|0)==3848){r=0;if((s|0)!=(t|0)){break}if((bJ[c[(c[l>>2]|0)+36>>2]&1023](l)|0)==-1){r=3850;break}else{break}}}while(0);if((r|0)==3850){r=0;c[h>>2]=0}l=c[h>>2]|0;if((l|0)==0^k){f=l}else{v=l;break L4263}}v=c[h>>2]|0}else{v=e}}while(0);if((v|0)==0^k){i=a;return}c[g>>2]=c[g>>2]|2;i=a;return}function fs(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;j=i;i=i+4|0;k=f;f=i;i=i+4|0;c[f>>2]=c[k>>2]|0;k=j|0;l=a+8|0;a=bJ[c[(c[l>>2]|0)+8>>2]&1023](l)|0;l=d[a]|0;if((l&1|0)==0){m=l>>>1}else{m=c[a+4>>2]|0}l=d[a+12|0]|0;if((l&1|0)==0){n=l>>>1}else{n=c[a+16>>2]|0}if((m|0)==(-n|0)){c[g>>2]=c[g>>2]|4;i=j;return}c[k>>2]=c[f>>2]|0;f=ed(e,k,a,a+24|0,h,g,0)|0;g=f-a|0;do{if((f|0)==(a|0)){if((c[b>>2]|0)!=12){break}c[b>>2]=0;i=j;return}}while(0);if((g|0)!=12){i=j;return}g=c[b>>2]|0;if((g|0)>=12){i=j;return}c[b>>2]=g+12|0;i=j;return}function ft(b,d,e,f,g,h,j,k,l){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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0;l=i;i=i+164|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=f;f=i;i=i+4|0;c[f>>2]=c[m>>2]|0;m=l|0;n=l+4|0;o=l+8|0;p=l+12|0;q=l+16|0;r=l+20|0;s=l+24|0;t=l+28|0;u=l+32|0;v=l+36|0;w=l+40|0;x=l+44|0;y=l+48|0;z=l+60|0;A=l+64|0;B=l+68|0;C=l+72|0;E=l+76|0;F=l+80|0;G=l+84|0;H=l+88|0;I=l+92|0;J=l+96|0;K=l+100|0;L=l+104|0;M=l+108|0;N=l+112|0;O=l+116|0;P=l+120|0;Q=l+124|0;R=l+128|0;S=l+132|0;T=l+136|0;U=l+140|0;V=l+144|0;W=l+148|0;X=l+152|0;Y=l+156|0;Z=l+160|0;c[h>>2]=0;_=c[g+28>>2]|0;$=_+4|0;D=c[$>>2]|0,c[$>>2]=D+1,D;if((c[1313740]|0)!=-1){c[y>>2]=5254960;c[y+4>>2]=24;c[y+8>>2]=0;cV(5254960,y,406)}y=(c[1313741]|0)-1|0;aa=c[_+20>>2]|0;do{if((c[_+24>>2]|0)-aa>>2>>>0>y>>>0){ab=c[aa+(y<<2)>>2]|0;if((ab|0)==0){break}ac=ab;if(((D=c[$>>2]|0,c[$>>2]=D+ -1,D)|0)==0){bG[c[(c[_>>2]|0)+8>>2]&1023](_)}ab=k<<24>>24;L4323:do{if((ab|0)==110|(ab|0)==116){c[J>>2]=c[f>>2]|0;fr(0,e,J,h,ac)}else if((ab|0)==99){ad=d+8|0;ae=bJ[c[(c[ad>>2]|0)+12>>2]&1023](ad)|0;ad=e|0;c[A>>2]=c[ad>>2]|0;c[B>>2]=c[f>>2]|0;af=ae;ag=a[ae]|0;if((ag&1)<<24>>24==0){ah=af+1|0;ai=af+1|0}else{af=c[ae+8>>2]|0;ah=af;ai=af}af=ag&255;if((af&1|0)==0){aj=af>>>1}else{aj=c[ae+4>>2]|0}fm(z,d,A,B,g,h,j,ai,ah+aj|0);c[ad>>2]=c[z>>2]|0}else if((ab|0)==97|(ab|0)==65){ad=c[f>>2]|0;ae=d+8|0;af=bJ[c[c[ae>>2]>>2]&1023](ae)|0;c[x>>2]=ad;ad=(ed(e,x,af,af+168|0,ac,h,0)|0)-af|0;if((ad|0)>=168){break}c[j+24>>2]=((ad|0)/12&-1|0)%7}else if((ab|0)==100|(ab|0)==101){ad=j+12|0;c[v>>2]=c[f>>2]|0;af=fx(e,v,h,ac,2)|0;ae=c[h>>2]|0;do{if((ae&4|0)==0){if((af-1|0)>>>0>=31){break}c[ad>>2]=af;break L4323}}while(0);c[h>>2]=ae|4}else if((ab|0)==70){af=e|0;c[H>>2]=c[af>>2]|0;c[I>>2]=c[f>>2]|0;fm(G,d,H,I,g,h,j,5247324,5247332);c[af>>2]=c[G>>2]|0}else if((ab|0)==98|(ab|0)==66|(ab|0)==104){af=c[f>>2]|0;ad=d+8|0;ag=bJ[c[(c[ad>>2]|0)+4>>2]&1023](ad)|0;c[w>>2]=af;af=(ed(e,w,ag,ag+288|0,ac,h,0)|0)-ag|0;if((af|0)>=288){break}c[j+16>>2]=((af|0)/12&-1|0)%12}else if((ab|0)==121){c[n>>2]=c[f>>2]|0;af=fx(e,n,h,ac,4)|0;if((c[h>>2]&4|0)!=0){break}if((af|0)<69){ak=af+2e3|0}else{ak=(af-69|0)>>>0<31?af+1900|0:af}c[j+20>>2]=ak-1900|0}else if((ab|0)==89){c[m>>2]=c[f>>2]|0;af=fx(e,m,h,ac,4)|0;if((c[h>>2]&4|0)!=0){break}c[j+20>>2]=af-1900|0}else if((ab|0)==114){af=e|0;c[M>>2]=c[af>>2]|0;c[N>>2]=c[f>>2]|0;fm(L,d,M,N,g,h,j,5247312,5247323);c[af>>2]=c[L>>2]|0}else if((ab|0)==72){c[u>>2]=c[f>>2]|0;af=fx(e,u,h,ac,2)|0;ag=c[h>>2]|0;if((ag&4|0)==0&(af|0)<24){c[j+8>>2]=af;break}else{c[h>>2]=ag|4;break}}else if((ab|0)==83){c[p>>2]=c[f>>2]|0;ag=fx(e,p,h,ac,2)|0;af=c[h>>2]|0;if((af&4|0)==0&(ag|0)<61){c[j>>2]=ag;break}else{c[h>>2]=af|4;break}}else if((ab|0)==82){af=e|0;c[P>>2]=c[af>>2]|0;c[Q>>2]=c[f>>2]|0;fm(O,d,P,Q,g,h,j,5247304,5247309);c[af>>2]=c[O>>2]|0}else if((ab|0)==106){c[s>>2]=c[f>>2]|0;af=fx(e,s,h,ac,3)|0;ag=c[h>>2]|0;if((ag&4|0)==0&(af|0)<366){c[j+28>>2]=af;break}else{c[h>>2]=ag|4;break}}else if((ab|0)==112){c[K>>2]=c[f>>2]|0;fs(d,j+8|0,e,K,h,ac)}else if((ab|0)==73){ag=j+8|0;c[t>>2]=c[f>>2]|0;af=fx(e,t,h,ac,2)|0;ad=c[h>>2]|0;do{if((ad&4|0)==0){if((af-1|0)>>>0>=12){break}c[ag>>2]=af;break L4323}}while(0);c[h>>2]=ad|4}else if((ab|0)==68){af=e|0;c[E>>2]=c[af>>2]|0;c[F>>2]=c[f>>2]|0;fm(C,d,E,F,g,h,j,5247332,5247340);c[af>>2]=c[C>>2]|0}else if((ab|0)==37){c[Z>>2]=c[f>>2]|0;fw(0,e,Z,h,ac)}else if((ab|0)==84){af=e|0;c[S>>2]=c[af>>2]|0;c[T>>2]=c[f>>2]|0;fm(R,d,S,T,g,h,j,5247296,5247304);c[af>>2]=c[R>>2]|0}else if((ab|0)==77){c[q>>2]=c[f>>2]|0;af=fx(e,q,h,ac,2)|0;ag=c[h>>2]|0;if((ag&4|0)==0&(af|0)<60){c[j+4>>2]=af;break}else{c[h>>2]=ag|4;break}}else if((ab|0)==119){c[o>>2]=c[f>>2]|0;ag=fx(e,o,h,ac,1)|0;af=c[h>>2]|0;if((af&4|0)==0&(ag|0)<7){c[j+24>>2]=ag;break}else{c[h>>2]=af|4;break}}else if((ab|0)==88){af=d+8|0;ag=bJ[c[(c[af>>2]|0)+24>>2]&1023](af)|0;af=e|0;c[X>>2]=c[af>>2]|0;c[Y>>2]=c[f>>2]|0;ae=ag;al=a[ag]|0;if((al&1)<<24>>24==0){am=ae+1|0;an=ae+1|0}else{ae=c[ag+8>>2]|0;am=ae;an=ae}ae=al&255;if((ae&1|0)==0){ao=ae>>>1}else{ao=c[ag+4>>2]|0}fm(W,d,X,Y,g,h,j,an,am+ao|0);c[af>>2]=c[W>>2]|0}else if((ab|0)==109){c[r>>2]=c[f>>2]|0;af=(fx(e,r,h,ac,2)|0)-1|0;ag=c[h>>2]|0;if((ag&4|0)==0&(af|0)<12){c[j+16>>2]=af;break}else{c[h>>2]=ag|4;break}}else if((ab|0)==120){ag=c[(c[d>>2]|0)+20>>2]|0;c[U>>2]=c[e>>2]|0;c[V>>2]=c[f>>2]|0;bL[ag&1023](b,d,U,V,g,h,j);i=l;return}else{c[h>>2]=c[h>>2]|4}}while(0);c[b>>2]=c[e>>2]|0;i=l;return}}while(0);l=a1(4)|0;c[l>>2]=5247516;av(l|0,5252752,514)}function fu(a){a=a|0;return}function fv(a){a=a|0;return 2}function fw(a,b,e,f,g){a=a|0;b=b|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;a=i;h=e;e=i;i=i+4|0;c[e>>2]=c[h>>2]|0;h=b|0;b=c[h>>2]|0;j=(c[e>>2]|0)==0;if(!((b|0)==0^j)){c[f>>2]=c[f>>2]|6;i=a;return}e=c[b+12>>2]|0;if((e|0)==(c[b+16>>2]|0)){k=bJ[c[(c[b>>2]|0)+36>>2]&1023](b)|0}else{k=d[e]|0}if(bD[c[(c[g>>2]|0)+36>>2]&1023](g,k&255,0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;i=a;return}k=c[h>>2]|0;g=k+12|0;e=c[g>>2]|0;b=k+16|0;l=c[b>>2]|0;do{if((e|0)==(l|0)){if((bJ[c[(c[k>>2]|0)+40>>2]&1023](k)|0)==-1){m=3970;break}n=c[g>>2]|0;o=c[b>>2]|0;m=3968;break}else{p=e+1|0;c[g>>2]=p;n=p;o=l;m=3968;break}}while(0);do{if((m|0)==3968){if((n|0)!=(o|0)){break}if((bJ[c[(c[k>>2]|0)+36>>2]&1023](k)|0)==-1){m=3970;break}else{break}}}while(0);if((m|0)==3970){c[h>>2]=0}if((c[h>>2]|0)==0^j){i=a;return}c[f>>2]=c[f>>2]|2;i=a;return}function fx(a,e,f,g,h){a=a|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,G=0,H=0,I=0,J=0,K=0,L=0;j=i;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=a|0;a=c[k>>2]|0;l=(c[e>>2]|0)==0;if(!((a|0)==0^l)){c[f>>2]=c[f>>2]|6;m=0;i=j;return m|0}e=c[a+12>>2]|0;if((e|0)==(c[a+16>>2]|0)){n=bJ[c[(c[a>>2]|0)+36>>2]&1023](a)|0}else{n=d[e]|0}e=n&255;a=n<<24>>24;do{if(a>>>0<128){n=g+8|0;if((b[(c[n>>2]|0)+(a<<1)>>1]&2048)<<16>>16==0){break}o=g;p=bD[c[(c[o>>2]|0)+36>>2]&1023](g,e,0)<<24>>24;q=c[k>>2]|0;r=q+12|0;s=c[r>>2]|0;t=q+16|0;u=c[t>>2]|0;do{if((s|0)==(u|0)){if((bJ[c[(c[q>>2]|0)+40>>2]&1023](q)|0)==-1){v=3992;break}w=c[r>>2]|0;x=c[t>>2]|0;v=3990;break}else{y=s+1|0;c[r>>2]=y;w=y;x=u;v=3990;break}}while(0);do{if((v|0)==3990){if((w|0)!=(x|0)){break}if((bJ[c[(c[q>>2]|0)+36>>2]&1023](q)|0)==-1){v=3992;break}else{break}}}while(0);if((v|0)==3992){c[k>>2]=0}q=p-48|0;u=h-1|0;r=c[k>>2]|0;s=(r|0)==0^l;L4454:do{if(s&(u|0)>0){t=q;y=u;z=r;while(1){A=c[z+12>>2]|0;if((A|0)==(c[z+16>>2]|0)){B=bJ[c[(c[z>>2]|0)+36>>2]&1023](z)|0}else{B=d[A]|0}A=B<<24>>24;if(A>>>0>=128){m=t;v=4011;break}if((b[(c[n>>2]|0)+(A<<1)>>1]&2048)<<16>>16==0){m=t;v=4010;break}A=(bD[c[(c[o>>2]|0)+36>>2]&1023](g,B&255,0)<<24>>24)+(t*10&-1)|0;C=c[k>>2]|0;D=C+12|0;E=c[D>>2]|0;F=C+16|0;G=c[F>>2]|0;do{if((E|0)==(G|0)){if((bJ[c[(c[C>>2]|0)+40>>2]&1023](C)|0)==-1){v=4005;break}H=c[D>>2]|0;I=c[F>>2]|0;v=4003;break}else{J=E+1|0;c[D>>2]=J;H=J;I=G;v=4003;break}}while(0);do{if((v|0)==4003){v=0;if((H|0)!=(I|0)){break}if((bJ[c[(c[C>>2]|0)+36>>2]&1023](C)|0)==-1){v=4005;break}else{break}}}while(0);if((v|0)==4005){v=0;c[k>>2]=0}C=A-48|0;G=y-1|0;D=c[k>>2]|0;E=(D|0)==0^l;if(E&(G|0)>0){t=C;y=G;z=D}else{K=C;L=E;break L4454}}if((v|0)==4011){i=j;return m|0}else if((v|0)==4010){i=j;return m|0}}else{K=q;L=s}}while(0);if(L){m=K;i=j;return m|0}c[f>>2]=c[f>>2]|2;m=K;i=j;return m|0}}while(0);c[f>>2]=c[f>>2]|4;m=0;i=j;return m|0}function fy(a){a=a|0;jo(a);return}function fz(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;j=i;i=i+8|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;c[k>>2]=c[d>>2]|0;c[l>>2]=c[e>>2]|0;fA(a,b,k,l,f,g,h,5247264,5247296);i=j;return}function fA(a,b,d,e,f,g,h,j,k){a=a|0;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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0;l=i;i=i+24|0;m=d;d=i;i=i+4|0;c[d>>2]=c[m>>2]|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=l|0;n=l+12|0;o=l+16|0;p=l+20|0;q=c[f+28>>2]|0;r=q+4|0;D=c[r>>2]|0,c[r>>2]=D+1,D;if((c[1313738]|0)!=-1){c[m>>2]=5254952;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254952,m,406)}m=(c[1313739]|0)-1|0;s=c[q+20>>2]|0;do{if((c[q+24>>2]|0)-s>>2>>>0>m>>>0){t=c[s+(m<<2)>>2]|0;if((t|0)==0){break}u=t;if(((D=c[r>>2]|0,c[r>>2]=D+ -1,D)|0)==0){bG[c[(c[q>>2]|0)+8>>2]&1023](q)}c[g>>2]=0;v=d|0;w=e|0;L4495:do{if((j|0)==(k|0)){x=4078}else{y=t;z=t;A=t;B=b;C=o|0;E=p|0;F=n|0;G=j;H=0;L4497:while(1){I=H;while(1){if((I|0)!=0){x=4078;break L4495}J=c[v>>2]|0;K=c[w>>2]|0;L=(K|0)==0;if(!((J|0)==0^L)){x=4031;break L4497}if(bD[c[(c[y>>2]|0)+52>>2]&1023](u,c[G>>2]|0,0)<<24>>24==37){x=4036;break}if(bD[c[(c[z>>2]|0)+12>>2]&1023](u,8192,c[G>>2]|0)|0){M=G;x=4046;break}N=J+12|0;O=c[N>>2]|0;P=J+16|0;if((O|0)==(c[P>>2]|0)){Q=bJ[c[(c[J>>2]|0)+36>>2]&1023](J)|0}else{Q=c[O>>2]|0}O=bS[c[(c[A>>2]|0)+28>>2]&1023](u,Q)|0;if((O|0)==(bS[c[(c[A>>2]|0)+28>>2]&1023](u,c[G>>2]|0)|0)){x=4067;break}c[g>>2]=4;I=4}L4510:do{if((x|0)==4036){x=0;I=G+4|0;if((I|0)==(k|0)){x=4037;break L4497}O=bD[c[(c[y>>2]|0)+52>>2]&1023](u,c[I>>2]|0,0)|0;if((O<<24>>24|0)==69|(O<<24>>24|0)==48){R=G+8|0;if((R|0)==(k|0)){x=4040;break L4497}S=O;T=bD[c[(c[y>>2]|0)+52>>2]&1023](u,c[R>>2]|0,0)|0;U=R}else{S=0;T=O;U=I}I=c[(c[B>>2]|0)+36>>2]|0;c[C>>2]=J;c[E>>2]=K;bI[I&1023](n,b,o,p,f,g,h,T,S);c[v>>2]=c[F>>2]|0;V=U+4|0}else if((x|0)==4067){x=0;I=c[N>>2]|0;if((I|0)==(c[P>>2]|0)){W=bJ[c[(c[J>>2]|0)+40>>2]&1023](J)|0}else{c[N>>2]=I+4|0;W=c[I>>2]|0}do{if((W|0)==-1){x=4075}else{I=c[N>>2]|0;if((I|0)==(c[P>>2]|0)){X=bJ[c[(c[J>>2]|0)+36>>2]&1023](J)|0}else{X=c[I>>2]|0}if((X|0)==-1){x=4075;break}else{break}}}while(0);if((x|0)==4075){x=0;c[v>>2]=0}V=G+4|0}else if((x|0)==4046){while(1){x=0;I=M+4|0;if((I|0)==(k|0)){Y=k;break}if(bD[c[(c[z>>2]|0)+12>>2]&1023](u,8192,c[I>>2]|0)|0){M=I;x=4046}else{Y=I;break}}I=J;L4535:while(1){O=I+12|0;R=c[O>>2]|0;Z=I+16|0;if((R|0)==(c[Z>>2]|0)){_=bJ[c[(c[I>>2]|0)+36>>2]&1023](I)|0}else{_=c[R>>2]|0}if(!(bD[c[(c[z>>2]|0)+12>>2]&1023](u,8192,_)|0)){V=Y;break L4510}R=c[O>>2]|0;if((R|0)==(c[Z>>2]|0)){$=bJ[c[(c[I>>2]|0)+40>>2]&1023](I)|0}else{c[O>>2]=R+4|0;$=c[R>>2]|0}do{if(($|0)!=-1){R=c[O>>2]|0;if((R|0)==(c[Z>>2]|0)){aa=bJ[c[(c[I>>2]|0)+36>>2]&1023](I)|0}else{aa=c[R>>2]|0}if((aa|0)==-1){break}if((I|0)==0^L){I=I;continue L4535}else{V=Y;break L4510}}}while(0);c[v>>2]=0;if(L){V=Y;break L4510}else{I=0}}}}while(0);if((V|0)==(k|0)){x=4078;break L4495}G=V;H=c[g>>2]|0}if((x|0)==4031){c[g>>2]=4;ab=J;ac=K;break}else if((x|0)==4037){c[g>>2]=4;ab=J;ac=K;break}else if((x|0)==4040){c[g>>2]=4;ab=J;ac=K;break}}}while(0);if((x|0)==4078){ab=c[v>>2]|0;ac=c[w>>2]|0}u=d|0;if((ab|0)==0^(ac|0)==0){ad=c[u>>2]|0;ae=a|0;c[ae>>2]=ad;i=l;return}c[g>>2]=c[g>>2]|2;ad=c[u>>2]|0;ae=a|0;c[ae>>2]=ad;i=l;return}}while(0);l=a1(4)|0;c[l>>2]=5247516;av(l|0,5252752,514)}function fB(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;k=i;i=i+20|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=k|0;m=k+12|0;n=k+16|0;o=c[g+28>>2]|0;p=o+4|0;D=c[p>>2]|0,c[p>>2]=D+1,D;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;q=c[o+20>>2]|0;do{if((c[o+24>>2]|0)-q>>2>>>0>l>>>0){if((c[q+(l<<2)>>2]|0)==0){break}if(((D=c[p>>2]|0,c[p>>2]=D+ -1,D)|0)==0){bG[c[(c[o>>2]|0)+8>>2]&1023](o)}r=d+8|0;s=bJ[c[(c[r>>2]|0)+20>>2]&1023](r)|0;c[m>>2]=c[e>>2]|0;c[n>>2]=c[f>>2]|0;r=a[s]|0;if((r&1)<<24>>24==0){t=s+4|0;u=s+4|0}else{v=c[s+8>>2]|0;t=v;u=v}v=r&255;if((v&1|0)==0){r=v>>>1;v=t+(r<<2)|0;fA(b,d,m,n,g,h,j,u,v);i=k;return}else{r=c[s+4>>2]|0;v=t+(r<<2)|0;fA(b,d,m,n,g,h,j,u,v);i=k;return}}}while(0);k=a1(4)|0;c[k>>2]=5247516;av(k|0,5252752,514)}function fC(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;j=i;i=i+16|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;m=c[f+28>>2]|0;f=m+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;n=c[m+20>>2]|0;do{if((c[m+24>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[m>>2]|0)+8>>2]&1023](m)}p=c[e>>2]|0;q=b+8|0;r=bJ[c[c[q>>2]>>2]&1023](q)|0;c[k>>2]=p;p=(eE(d,k,r,r+168|0,o,g,0)|0)-r|0;if((p|0)>=168){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+24>>2]=((p|0)/12&-1|0)%7;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function fD(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;j=i;i=i+16|0;k=d;d=i;i=i+4|0;c[d>>2]=c[k>>2]|0;k=e;e=i;i=i+4|0;c[e>>2]=c[k>>2]|0;k=j|0;l=j+4|0;m=c[f+28>>2]|0;f=m+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;n=c[m+20>>2]|0;do{if((c[m+24>>2]|0)-n>>2>>>0>l>>>0){o=c[n+(l<<2)>>2]|0;if((o|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[m>>2]|0)+8>>2]&1023](m)}p=c[e>>2]|0;q=b+8|0;r=bJ[c[(c[q>>2]|0)+4>>2]&1023](q)|0;c[k>>2]=p;p=(eE(d,k,r,r+288|0,o,g,0)|0)-r|0;if((p|0)>=288){s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}c[h+16>>2]=((p|0)/12&-1|0)%12;s=d|0;t=c[s>>2]|0;u=a|0;c[u>>2]=t;i=j;return}}while(0);j=a1(4)|0;c[j>>2]=5247516;av(j|0,5252752,514)}function fE(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;b=i;i=i+16|0;j=d;d=i;i=i+4|0;c[d>>2]=c[j>>2]|0;j=e;e=i;i=i+4|0;c[e>>2]=c[j>>2]|0;j=b|0;k=b+4|0;l=c[f+28>>2]|0;f=l+4|0;D=c[f>>2]|0,c[f>>2]=D+1,D;if((c[1313738]|0)!=-1){c[k>>2]=5254952;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254952,k,406)}k=(c[1313739]|0)-1|0;m=c[l+20>>2]|0;do{if((c[l+24>>2]|0)-m>>2>>>0>k>>>0){n=c[m+(k<<2)>>2]|0;if((n|0)==0){break}if(((D=c[f>>2]|0,c[f>>2]=D+ -1,D)|0)==0){bG[c[(c[l>>2]|0)+8>>2]&1023](l)}c[j>>2]=c[e>>2]|0;o=f8(d,j,g,n,4)|0;if((c[g>>2]&4|0)!=0){p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}if((o|0)<69){s=o+2e3|0}else{s=(o-69|0)>>>0<31?o+1900|0:o}c[h+20>>2]=s-1900|0;p=d|0;q=c[p>>2]|0;r=a|0;c[r>>2]=q;i=b;return}}while(0);b=a1(4)|0;c[b>>2]=5247516;av(b|0,5252752,514)}function fF(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;a=i;g=d;d=i;i=i+4|0;c[d>>2]=c[g>>2]|0;g=b|0;b=c[g>>2]|0;h=(c[d>>2]|0)==0;L4643:do{if((b|0)==0^h){d=f;j=b;L4645:while(1){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0)){l=bJ[c[(c[j>>2]|0)+36>>2]&1023](j)|0}else{l=c[k>>2]|0}k=bD[c[(c[d>>2]|0)+12>>2]&1023](f,8192,l)|0;m=c[g>>2]|0;if(!k){n=m;o=4172;break L4643}k=m+12|0;p=c[k>>2]|0;q=m+16|0;if((p|0)==(c[q>>2]|0)){r=bJ[c[(c[m>>2]|0)+40>>2]&1023](m)|0}else{c[k>>2]=p+4|0;r=c[p>>2]|0}do{if((r|0)!=-1){p=c[k>>2]|0;if((p|0)==(c[q>>2]|0)){s=bJ[c[(c[m>>2]|0)+36>>2]&1023](m)|0}else{s=c[p>>2]|0}if((s|0)==-1){break}p=c[g>>2]|0;if((p|0)==0^h){j=p;continue L4645}else{n=p;o=4172;break L4643}}}while(0);c[g>>2]=0;if(h){break}else{j=0}}if(h){break}i=a;return}else{n=b;o=4172}}while(0);do{if((o|0)==4172){if(!((n|0)==0^h)){break}i=a;return}}while(0);c[e>>2]=c[e>>2]|2;i=a;return}function fG(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var j=0,k=0,l=0,m=0,n=0;j=i;i=i+4|0;k=f;f=i;i=i+4|0;c[f>>2]=c[k>>2]|0;k=j|0;l=a+8|0;a=bJ[c[(c[l>>2]|0)+8>>2]&1023](l)|0;l=d[a]|0;if((l&1|0)==0){m=l>>>1}else{m=c[a+4>>2]|0}l=d[a+12|0]|0;if((l&1|0)==0){n=l>>>1}else{n=c[a+16>>2]|0}if((m|0)==(-n|0)){c[g>>2]=c[g>>2]|4;i=j;return}c[k>>2]=c[f>>2]|0;f=eE(e,k,a,a+24|0,h,g,0)|0;g=f-a|0;do{if((f|0)==(a|0)){if((c[b>>2]|0)!=12){break}c[b>>2]=0;i=j;return}}while(0);if((g|0)!=12){i=j;return}g=c[b>>2]|0;if((g|0)>=12){i=j;return}c[b>>2]=g+12|0;i=j;return}function fH(b,d,e,f,g,h,j,k,l){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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0;l=i;i=i+164|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=f;f=i;i=i+4|0;c[f>>2]=c[m>>2]|0;m=l|0;n=l+4|0;o=l+8|0;p=l+12|0;q=l+16|0;r=l+20|0;s=l+24|0;t=l+28|0;u=l+32|0;v=l+36|0;w=l+40|0;x=l+44|0;y=l+48|0;z=l+60|0;A=l+64|0;B=l+68|0;C=l+72|0;E=l+76|0;F=l+80|0;G=l+84|0;H=l+88|0;I=l+92|0;J=l+96|0;K=l+100|0;L=l+104|0;M=l+108|0;N=l+112|0;O=l+116|0;P=l+120|0;Q=l+124|0;R=l+128|0;S=l+132|0;T=l+136|0;U=l+140|0;V=l+144|0;W=l+148|0;X=l+152|0;Y=l+156|0;Z=l+160|0;c[h>>2]=0;_=c[g+28>>2]|0;$=_+4|0;D=c[$>>2]|0,c[$>>2]=D+1,D;if((c[1313738]|0)!=-1){c[y>>2]=5254952;c[y+4>>2]=24;c[y+8>>2]=0;cV(5254952,y,406)}y=(c[1313739]|0)-1|0;aa=c[_+20>>2]|0;do{if((c[_+24>>2]|0)-aa>>2>>>0>y>>>0){ab=c[aa+(y<<2)>>2]|0;if((ab|0)==0){break}ac=ab;if(((D=c[$>>2]|0,c[$>>2]=D+ -1,D)|0)==0){bG[c[(c[_>>2]|0)+8>>2]&1023](_)}ab=k<<24>>24;L4706:do{if((ab|0)==68){ad=e|0;c[E>>2]=c[ad>>2]|0;c[F>>2]=c[f>>2]|0;fA(C,d,E,F,g,h,j,5247232,5247264);c[ad>>2]=c[C>>2]|0}else if((ab|0)==100|(ab|0)==101){ad=j+12|0;c[v>>2]=c[f>>2]|0;ae=f8(e,v,h,ac,2)|0;af=c[h>>2]|0;do{if((af&4|0)==0){if((ae-1|0)>>>0>=31){break}c[ad>>2]=ae;break L4706}}while(0);c[h>>2]=af|4}else if((ab|0)==120){ae=c[(c[d>>2]|0)+20>>2]|0;c[U>>2]=c[e>>2]|0;c[V>>2]=c[f>>2]|0;bL[ae&1023](b,d,U,V,g,h,j);i=l;return}else if((ab|0)==89){c[m>>2]=c[f>>2]|0;ae=f8(e,m,h,ac,4)|0;if((c[h>>2]&4|0)!=0){break}c[j+20>>2]=ae-1900|0}else if((ab|0)==82){ae=e|0;c[P>>2]=c[ae>>2]|0;c[Q>>2]=c[f>>2]|0;fA(O,d,P,Q,g,h,j,5247136,5247156);c[ae>>2]=c[O>>2]|0}else if((ab|0)==83){c[p>>2]=c[f>>2]|0;ae=f8(e,p,h,ac,2)|0;ad=c[h>>2]|0;if((ad&4|0)==0&(ae|0)<61){c[j>>2]=ae;break}else{c[h>>2]=ad|4;break}}else if((ab|0)==88){ad=d+8|0;ae=bJ[c[(c[ad>>2]|0)+24>>2]&1023](ad)|0;ad=e|0;c[X>>2]=c[ad>>2]|0;c[Y>>2]=c[f>>2]|0;ag=a[ae]|0;if((ag&1)<<24>>24==0){ah=ae+4|0;ai=ae+4|0}else{aj=c[ae+8>>2]|0;ah=aj;ai=aj}aj=ag&255;if((aj&1|0)==0){ak=aj>>>1}else{ak=c[ae+4>>2]|0}fA(W,d,X,Y,g,h,j,ai,ah+(ak<<2)|0);c[ad>>2]=c[W>>2]|0}else if((ab|0)==106){c[s>>2]=c[f>>2]|0;ad=f8(e,s,h,ac,3)|0;ae=c[h>>2]|0;if((ae&4|0)==0&(ad|0)<366){c[j+28>>2]=ad;break}else{c[h>>2]=ae|4;break}}else if((ab|0)==77){c[q>>2]=c[f>>2]|0;ae=f8(e,q,h,ac,2)|0;ad=c[h>>2]|0;if((ad&4|0)==0&(ae|0)<60){c[j+4>>2]=ae;break}else{c[h>>2]=ad|4;break}}else if((ab|0)==84){ad=e|0;c[S>>2]=c[ad>>2]|0;c[T>>2]=c[f>>2]|0;fA(R,d,S,T,g,h,j,5247104,5247136);c[ad>>2]=c[R>>2]|0}else if((ab|0)==119){c[o>>2]=c[f>>2]|0;ad=f8(e,o,h,ac,1)|0;ae=c[h>>2]|0;if((ae&4|0)==0&(ad|0)<7){c[j+24>>2]=ad;break}else{c[h>>2]=ae|4;break}}else if((ab|0)==37){c[Z>>2]=c[f>>2]|0;f7(0,e,Z,h,ac)}else if((ab|0)==109){c[r>>2]=c[f>>2]|0;ae=(f8(e,r,h,ac,2)|0)-1|0;ad=c[h>>2]|0;if((ad&4|0)==0&(ae|0)<12){c[j+16>>2]=ae;break}else{c[h>>2]=ad|4;break}}else if((ab|0)==73){ad=j+8|0;c[t>>2]=c[f>>2]|0;ae=f8(e,t,h,ac,2)|0;aj=c[h>>2]|0;do{if((aj&4|0)==0){if((ae-1|0)>>>0>=12){break}c[ad>>2]=ae;break L4706}}while(0);c[h>>2]=aj|4}else if((ab|0)==70){ae=e|0;c[H>>2]=c[ae>>2]|0;c[I>>2]=c[f>>2]|0;fA(G,d,H,I,g,h,j,5247200,5247232);c[ae>>2]=c[G>>2]|0}else if((ab|0)==97|(ab|0)==65){ae=c[f>>2]|0;ad=d+8|0;af=bJ[c[c[ad>>2]>>2]&1023](ad)|0;c[x>>2]=ae;ae=(eE(e,x,af,af+168|0,ac,h,0)|0)-af|0;if((ae|0)>=168){break}c[j+24>>2]=((ae|0)/12&-1|0)%7}else if((ab|0)==110|(ab|0)==116){c[J>>2]=c[f>>2]|0;fF(0,e,J,h,ac)}else if((ab|0)==99){ae=d+8|0;af=bJ[c[(c[ae>>2]|0)+12>>2]&1023](ae)|0;ae=e|0;c[A>>2]=c[ae>>2]|0;c[B>>2]=c[f>>2]|0;ad=a[af]|0;if((ad&1)<<24>>24==0){al=af+4|0;am=af+4|0}else{ag=c[af+8>>2]|0;al=ag;am=ag}ag=ad&255;if((ag&1|0)==0){an=ag>>>1}else{an=c[af+4>>2]|0}fA(z,d,A,B,g,h,j,am,al+(an<<2)|0);c[ae>>2]=c[z>>2]|0}else if((ab|0)==98|(ab|0)==66|(ab|0)==104){ae=c[f>>2]|0;af=d+8|0;ag=bJ[c[(c[af>>2]|0)+4>>2]&1023](af)|0;c[w>>2]=ae;ae=(eE(e,w,ag,ag+288|0,ac,h,0)|0)-ag|0;if((ae|0)>=288){break}c[j+16>>2]=((ae|0)/12&-1|0)%12}else if((ab|0)==72){c[u>>2]=c[f>>2]|0;ae=f8(e,u,h,ac,2)|0;ag=c[h>>2]|0;if((ag&4|0)==0&(ae|0)<24){c[j+8>>2]=ae;break}else{c[h>>2]=ag|4;break}}else if((ab|0)==121){c[n>>2]=c[f>>2]|0;ag=f8(e,n,h,ac,4)|0;if((c[h>>2]&4|0)!=0){break}if((ag|0)<69){ao=ag+2e3|0}else{ao=(ag-69|0)>>>0<31?ag+1900|0:ag}c[j+20>>2]=ao-1900|0}else if((ab|0)==112){c[K>>2]=c[f>>2]|0;fG(d,j+8|0,e,K,h,ac)}else if((ab|0)==114){ag=e|0;c[M>>2]=c[ag>>2]|0;c[N>>2]=c[f>>2]|0;fA(L,d,M,N,g,h,j,5247156,5247200);c[ag>>2]=c[L>>2]|0}else{c[h>>2]=c[h>>2]|4}}while(0);c[b>>2]=c[e>>2]|0;i=l;return}}while(0);l=a1(4)|0;c[l>>2]=5247516;av(l|0,5252752,514)}function fI(a){a=a|0;return}function fJ(a){a=a|0;return 127}function fK(a){a=a|0;return 127}function fL(a){a=a|0;return 0}function fM(a){a=a|0;return}function fN(a){a=a|0;return 127}function fO(a){a=a|0;return 127}function fP(a){a=a|0;return 0}function fQ(a){a=a|0;return}function fR(a){a=a|0;return 2147483647}function fS(a){a=a|0;return 2147483647}function fT(a){a=a|0;return 0}function fU(a){a=a|0;return}function fV(a){a=a|0;return 2147483647}function fW(a){a=a|0;return 2147483647}function fX(a){a=a|0;return 0}function fY(a){a=a|0;return}function fZ(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f_(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f$(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f0(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f1(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f2(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f3(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f4(b,c){b=b|0;c=c|0;c=b;x=67109634;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;return}function f5(b,c){b=b|0;c=c|0;c=b;a[b]=2;a[c+1|0]=45;a[c+2|0]=0;return}function f6(b,c){b=b|0;c=c|0;c=b;a[b]=2;a[c+1|0]=45;a[c+2|0]=0;return}function f7(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;a=i;g=d;d=i;i=i+4|0;c[d>>2]=c[g>>2]|0;g=b|0;b=c[g>>2]|0;h=(c[d>>2]|0)==0;if(!((b|0)==0^h)){c[e>>2]=c[e>>2]|6;i=a;return}d=c[b+12>>2]|0;if((d|0)==(c[b+16>>2]|0)){j=bJ[c[(c[b>>2]|0)+36>>2]&1023](b)|0}else{j=c[d>>2]|0}if(bD[c[(c[f>>2]|0)+52>>2]&1023](f,j,0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;i=a;return}j=c[g>>2]|0;f=j+12|0;d=c[f>>2]|0;b=j+16|0;if((d|0)==(c[b>>2]|0)){k=bJ[c[(c[j>>2]|0)+40>>2]&1023](j)|0}else{c[f>>2]=d+4|0;k=c[d>>2]|0}do{if((k|0)==-1){l=4317}else{d=c[f>>2]|0;if((d|0)==(c[b>>2]|0)){m=bJ[c[(c[j>>2]|0)+36>>2]&1023](j)|0}else{m=c[d>>2]|0}if((m|0)==-1){l=4317;break}if(!((c[g>>2]|0)==0^h)){break}i=a;return}}while(0);do{if((l|0)==4317){c[g>>2]=0;if(h){break}i=a;return}}while(0);c[e>>2]=c[e>>2]|2;i=a;return}function f8(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,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=i;h=b;b=i;i=i+4|0;c[b>>2]=c[h>>2]|0;h=a|0;a=c[h>>2]|0;j=(c[b>>2]|0)==0;if(!((a|0)==0^j)){c[d>>2]=c[d>>2]|6;k=0;i=g;return k|0}b=c[a+12>>2]|0;if((b|0)==(c[a+16>>2]|0)){l=bJ[c[(c[a>>2]|0)+36>>2]&1023](a)|0}else{l=c[b>>2]|0}b=e;if(!(bD[c[(c[b>>2]|0)+12>>2]&1023](e,2048,l)|0)){c[d>>2]=c[d>>2]|4;k=0;i=g;return k|0}a=e;m=bD[c[(c[a>>2]|0)+52>>2]&1023](e,l,0)<<24>>24;l=c[h>>2]|0;n=l+12|0;o=c[n>>2]|0;p=l+16|0;if((o|0)==(c[p>>2]|0)){q=bJ[c[(c[l>>2]|0)+40>>2]&1023](l)|0}else{c[n>>2]=o+4|0;q=c[o>>2]|0}do{if((q|0)==-1){r=4342}else{o=c[n>>2]|0;if((o|0)==(c[p>>2]|0)){s=bJ[c[(c[l>>2]|0)+36>>2]&1023](l)|0}else{s=c[o>>2]|0}if((s|0)==-1){r=4342;break}t=c[h>>2]|0;break}}while(0);if((r|0)==4342){c[h>>2]=0;t=0}s=m-48|0;m=f-1|0;f=(t|0)==0^j;L4870:do{if(f&(m|0)>0){l=s;p=m;n=t;while(1){q=c[n+12>>2]|0;if((q|0)==(c[n+16>>2]|0)){u=bJ[c[(c[n>>2]|0)+36>>2]&1023](n)|0}else{u=c[q>>2]|0}if(!(bD[c[(c[b>>2]|0)+12>>2]&1023](e,2048,u)|0)){k=l;break}q=(bD[c[(c[a>>2]|0)+52>>2]&1023](e,u,0)<<24>>24)+(l*10&-1)|0;o=c[h>>2]|0;v=o+12|0;w=c[v>>2]|0;x=o+16|0;if((w|0)==(c[x>>2]|0)){y=bJ[c[(c[o>>2]|0)+40>>2]&1023](o)|0}else{c[v>>2]=w+4|0;y=c[w>>2]|0}do{if((y|0)==-1){r=4357}else{w=c[v>>2]|0;if((w|0)==(c[x>>2]|0)){z=bJ[c[(c[o>>2]|0)+36>>2]&1023](o)|0}else{z=c[w>>2]|0}if((z|0)==-1){r=4357;break}A=c[h>>2]|0;break}}while(0);if((r|0)==4357){r=0;c[h>>2]=0;A=0}o=q-48|0;x=p-1|0;v=(A|0)==0^j;if(v&(x|0)>0){l=o;p=x;n=A}else{B=o;C=v;break L4870}}i=g;return k|0}else{B=s;C=f}}while(0);if(C){k=B;i=g;return k|0}c[d>>2]=c[d>>2]|2;k=B;i=g;return k|0}function f9(a){a=a|0;var b=0,d=0;b=a;d=c[a+8>>2]|0;if((d|0)==0){jo(b);return}a$(d|0);jo(b);return}function ga(a){a=a|0;var b=0;b=c[a+8>>2]|0;if((b|0)==0){return}a$(b|0);return}function gb(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;g=i;i=i+104|0;f=e;e=i;i=i+4|0;c[e>>2]=c[f>>2]|0;f=g|0;l=g+4|0;m=l|0;n=f|0;a[n]=37;o=f+1|0;a[o]=j;p=f+2|0;a[p]=k;a[f+3|0]=0;if(k<<24>>24!=0){a[o]=k;a[p]=j}j=bB(m|0,100,n|0,h|0,c[d+8>>2]|0)|0;d=l+j|0;l=c[e>>2]|0;if((j|0)==0){q=l;r=b|0;c[r>>2]=q;i=g;return}else{s=l;t=m}while(1){m=a[t]|0;if((s|0)==0){u=0}else{l=s+24|0;j=c[l>>2]|0;if((j|0)==(c[s+28>>2]|0)){v=bS[c[(c[s>>2]|0)+52>>2]&1023](s,m&255)|0}else{c[l>>2]=j+1|0;a[j]=m;v=m&255}u=(v|0)==-1?0:s}m=t+1|0;if((m|0)==(d|0)){q=u;break}else{s=u;t=m}}r=b|0;c[r>>2]=q;i=g;return}function gc(a){a=a|0;var b=0,d=0;b=a;d=c[a+8>>2]|0;if((d|0)==0){jo(b);return}a$(d|0);jo(b);return}function gd(a){a=a|0;var b=0;b=c[a+8>>2]|0;if((b|0)==0){return}a$(b|0);return}function ge(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;f=i;i=i+404|0;e=d;d=i;i=i+4|0;c[d>>2]=c[e>>2]|0;e=f|0;k=f+400|0;l=e|0;c[k>>2]=e+400|0;gy(b+8|0,l,k,g,h,j);j=c[k>>2]|0;k=c[d>>2]|0;if((l|0)==(j|0)){m=k;n=a|0;c[n>>2]=m;i=f;return}else{o=k;p=l}while(1){l=c[p>>2]|0;if((o|0)==0){q=0}else{k=o+24|0;d=c[k>>2]|0;if((d|0)==(c[o+28>>2]|0)){r=bS[c[(c[o>>2]|0)+52>>2]&1023](o,l)|0}else{c[k>>2]=d+4|0;c[d>>2]=l;r=l}q=(r|0)==-1?0:o}l=p+4|0;if((l|0)==(j|0)){m=q;break}else{o=q;p=l}}n=a|0;c[n>>2]=m;i=f;return}function gf(a){a=a|0;jo(a);return}function gg(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gh(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gi(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gj(a){a=a|0;jo(a);return}function gk(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gl(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gm(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gn(a){a=a|0;jo(a);return}function go(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gp(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gq(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gr(b,d){b=b|0;d=d|0;a[b]=2;d=b+4|0;a5(d|0,45,1);c[d+4>>2]=0;return}function gs(a){a=a|0;jo(a);return}function gt(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gu(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gv(a,b){a=a|0;b=b|0;b=a;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}function gw(b,d){b=b|0;d=d|0;a[b]=2;d=b+4|0;a5(d|0,45,1);c[d+4>>2]=0;return}function gx(a){a=a|0;jo(a);return}function gy(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+116|0;k=j|0;l=j+104|0;m=j+112|0;n=j+4|0;o=k|0;a[o]=37;p=k+1|0;a[p]=g;q=k+2|0;a[q]=h;a[k+3|0]=0;if(h<<24>>24!=0){a[p]=h;a[q]=g}g=b|0;bB(n|0,100,o|0,f|0,c[g>>2]|0);f=l;c[f>>2]=0;c[f+4>>2]=0;c[m>>2]=n;n=bx(c[g>>2]|0)|0;g=bf(d|0,m|0,100,l|0)|0;if((n|0)!=0){bx(n|0)}if((g|0)==-1){gD(5243456)}else{c[e>>2]=d+(g<<2)|0;i=j;return}}function gz(a){a=a|0;return}function gA(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;d=i;i=i+248|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=d|0;m=d+12|0;n=d+112|0;o=d+120|0;p=d+124|0;q=d+128|0;r=d+132|0;s=d+136|0;t=d+148|0;u=n|0;c[u>>2]=m|0;v=n+4|0;c[v>>2]=414;x=p|0;y=c[h+28>>2]|0;c[x>>2]=y;z=y+4|0;D=c[z>>2]|0,c[z>>2]=D+1,D;z=c[x>>2]|0;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;y=c[z+20>>2]|0;do{if((c[z+24>>2]|0)-y>>2>>>0>l>>>0){A=c[y+(l<<2)>>2]|0;if((A|0)==0){break}B=A;a[q]=0;C=f|0;c[r>>2]=c[C>>2]|0;do{if(gB(e,r,g,p,c[h+4>>2]|0,j,q,B,n,o,m+100|0)|0){E=s|0;F=c[(c[A>>2]|0)+32>>2]|0;bP[F&1023](B,5247092,5247102,E);F=t|0;G=c[o>>2]|0;H=c[u>>2]|0;I=G-H|0;do{if(I>>>0>98){J=je(I+2|0)|0;if((J|0)!=0){K=J;L=J;break}J=a1(4)|0;c[J>>2]=5247492;av(J|0,5252740,66)}else{K=F;L=0}}while(0);if((a[q]&1)<<24>>24==0){M=K}else{a[K]=45;M=K+1|0}L4997:do{if(H>>>0<G>>>0){I=s+10|0;J=s;N=M;O=H;while(1){P=E;while(1){if((P|0)==(I|0)){Q=I;break}if(a[P]<<24>>24==a[O]<<24>>24){Q=P;break}else{P=P+1|0}}a[N]=a[5247092+(Q-J|0)|0]|0;P=O+1|0;R=N+1|0;if(P>>>0<(c[o>>2]|0)>>>0){N=R;O=P}else{S=R;break L4997}}}else{S=M}}while(0);a[S]=0;if((ar(F|0,5243820,(w=i,i=i+4|0,c[w>>2]=k,w)|0)|0)==1){if((L|0)==0){break}jf(L);break}E=a1(8)|0;c[E>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)==0)){if(ar){aj=bJ[c[(c[Y>>2]|0)+36>>2]&1023](Y)|0;as=c[g>>2]|0;at=aj;au=a[G]|0;av=as;aw=c[as+12>>2]|0;ax=c[as+16>>2]|0}else{at=d[ah]|0;au=af;av=Y;aw=ah;ax=aq}aq=av+12|0;as=av+16|0;aj=(aw|0)==(ax|0);if((at<<24>>24|0)==(a[(au&1)<<24>>24==0?M:c[O>>2]|0]<<24>>24|0)){do{if(aj){if((bJ[c[(c[av>>2]|0)+40>>2]&1023](av)|0)==-1){ad=4586;break}ay=c[aq>>2]|0;az=c[as>>2]|0;ad=4583;break}else{aA=aw+1|0;c[aq>>2]=aA;ay=aA;az=ax;ad=4583;break}}while(0);do{if((ad|0)==4583){ad=0;if((ay|0)!=(az|0)){break}if((bJ[c[(c[av>>2]|0)+36>>2]&1023](av)|0)==-1){ad=4586;break}else{break}}}while(0);if((ad|0)==4586){ad=0;c[g>>2]=0}aq=d[G]|0;ak=((aq&1|0)==0?aq>>>1:c[N>>2]|0)>>>0>1?y:r;al=E;am=W;an=V;ao=p;ap=U;break}if(aj){aB=bJ[c[(c[av>>2]|0)+36>>2]&1023](av)|0}else{aB=d[aw]|0}if((aB<<24>>24|0)!=(a[(a[H]&1)<<24>>24==0?J:c[L>>2]|0]<<24>>24|0)){ad=4602;break L5030}aq=c[g>>2]|0;as=aq+12|0;aA=c[as>>2]|0;aC=aq+16|0;aD=c[aC>>2]|0;do{if((aA|0)==(aD|0)){if((bJ[c[(c[aq>>2]|0)+40>>2]&1023](aq)|0)==-1){ad=4600;break}aE=c[as>>2]|0;aF=c[aC>>2]|0;ad=4597;break}else{aG=aA+1|0;c[as>>2]=aG;aE=aG;aF=aD;ad=4597;break}}while(0);do{if((ad|0)==4597){ad=0;if((aE|0)!=(aF|0)){break}if((bJ[c[(c[aq>>2]|0)+36>>2]&1023](aq)|0)==-1){ad=4600;break}else{break}}}while(0);if((ad|0)==4600){ad=0;c[g>>2]=0}a[l]=1;aq=d[H]|0;ak=((aq&1|0)==0?aq>>>1:c[K>>2]|0)>>>0>1?z:r;al=E;am=W;an=V;ao=p;ap=U;break}if(ai){if(ar){aq=bJ[c[(c[Y>>2]|0)+36>>2]&1023](Y)|0;aH=aq;aI=a[H]|0}else{aH=d[ah]|0;aI=ag}if((aH<<24>>24|0)!=(a[(aI&1)<<24>>24==0?J:c[L>>2]|0]<<24>>24|0)){ak=r;al=E;am=W;an=V;ao=p;ap=U;break}aq=c[g>>2]|0;aD=aq+12|0;as=c[aD>>2]|0;aA=aq+16|0;aC=c[aA>>2]|0;do{if((as|0)==(aC|0)){if((bJ[c[(c[aq>>2]|0)+40>>2]&1023](aq)|0)==-1){ad=4571;break}aJ=c[aD>>2]|0;aK=c[aA>>2]|0;ad=4568;break}else{aj=as+1|0;c[aD>>2]=aj;aJ=aj;aK=aC;ad=4568;break}}while(0);do{if((ad|0)==4568){ad=0;if((aJ|0)!=(aK|0)){break}if((bJ[c[(c[aq>>2]|0)+36>>2]&1023](aq)|0)==-1){ad=4571;break}else{break}}}while(0);if((ad|0)==4571){ad=0;c[g>>2]=0}a[l]=1;aq=d[H]|0;ak=((aq&1|0)==0?aq>>>1:c[K>>2]|0)>>>0>1?z:r;al=E;am=W;an=V;ao=p;ap=U;break}if(ar){aq=bJ[c[(c[Y>>2]|0)+36>>2]&1023](Y)|0;aL=aq;aM=a[G]|0}else{aL=d[ah]|0;aM=af}if((aL<<24>>24|0)!=(a[(aM&1)<<24>>24==0?M:c[O>>2]|0]<<24>>24|0)){a[l]=1;ak=r;al=E;am=W;an=V;ao=p;ap=U;break}aq=c[g>>2]|0;aC=aq+12|0;aD=c[aC>>2]|0;as=aq+16|0;aA=c[as>>2]|0;do{if((aD|0)==(aA|0)){if((bJ[c[(c[aq>>2]|0)+40>>2]&1023](aq)|0)==-1){ad=4555;break}aN=c[aC>>2]|0;aO=c[as>>2]|0;ad=4552;break}else{ag=aD+1|0;c[aC>>2]=ag;aN=ag;aO=aA;ad=4552;break}}while(0);do{if((ad|0)==4552){ad=0;if((aN|0)!=(aO|0)){break}if((bJ[c[(c[aq>>2]|0)+36>>2]&1023](aq)|0)==-1){ad=4555;break}else{break}}}while(0);if((ad|0)==4555){ad=0;c[g>>2]=0}aq=d[G]|0;ak=((aq&1|0)==0?aq>>>1:c[N>>2]|0)>>>0>1?y:r;al=E;am=W;an=V;ao=p;ap=U;break}else if((ae|0)==1){if((X|0)==3){$=p;aa=V;ab=W;ac=r;ad=4706;break L5030}aq=c[Y+12>>2]|0;if((aq|0)==(c[Y+16>>2]|0)){aP=bJ[c[(c[Y>>2]|0)+36>>2]&1023](Y)|0}else{aP=d[aq]|0}aq=aP<<24>>24;if(aq>>>0>=128){ad=4521;break L5030}if((b[(c[f>>2]|0)+(aq<<1)>>1]&8192)<<16>>16==0){ad=4521;break L5030}aq=c[g>>2]|0;aA=aq+12|0;aC=c[aA>>2]|0;aD=aq+16|0;as=c[aD>>2]|0;do{if((aC|0)==(as|0)){if((bJ[c[(c[aq>>2]|0)+40>>2]&1023](aq)|0)==-1){break}aQ=c[aA>>2]|0;aR=c[aD>>2]|0;ad=4517;break}else{af=aC+1|0;c[aA>>2]=af;aQ=af;aR=as;ad=4517;break}}while(0);if((ad|0)==4517){ad=0;if((aQ|0)!=(aR|0)){ad=4522;break}if((bJ[c[(c[aq>>2]|0)+36>>2]&1023](aq)|0)!=-1){ad=4522;break}}c[g>>2]=0;ad=4522;break}else if((ae|0)==2){if(!((r|0)!=0|X>>>0<2)){if((X|0)==2){aS=a[R]<<24>>24!=0}else{aS=0}if(!(P|aS)){ak=0;al=E;am=W;an=V;ao=p;ap=U;break}}c[B>>2]=0;c[j>>2]=Z;if((gI(e,C,x,Q,m,B,1)|0)==(x|0)|T){ak=r;al=E;am=W;an=V;ao=p;ap=U;break}else{ad=4609;break L5030}}else if((ae|0)==4){as=U;aA=p;aC=V;aD=W;af=E;ah=0;ar=Y;while(1){ag=c[ar+12>>2]|0;if((ag|0)==(c[ar+16>>2]|0)){aT=bJ[c[(c[ar>>2]|0)+36>>2]&1023](ar)|0}else{aT=d[ag]|0}ag=aT&255;ai=aT<<24>>24;do{if(ai>>>0<128){if((b[(c[f>>2]|0)+(ai<<1)>>1]&2048)<<16>>16==0){ad=4627;break}aj=c[o>>2]|0;if((aj|0)==(as|0)){aG=(c[t>>2]|0)!=414;aU=c[h>>2]|0;aV=as-aU|0;aW=aV>>>0<2147483647?aV<<1:-1;aX=jg(aG?aU:0,aW)|0;if((aX|0)==0){ad=4617;break L5030}do{if(aG){c[h>>2]=aX;aY=aX}else{aU=c[h>>2]|0;c[h>>2]=aX;if((aU|0)==0){aY=aX;break}bG[c[t>>2]&1023](aU);aY=c[h>>2]|0}}while(0);c[t>>2]=218;aX=aY+aV|0;c[o>>2]=aX;aZ=(c[h>>2]|0)+aW|0;a_=aX}else{aZ=as;a_=aj}c[o>>2]=a_+1|0;a[a_]=ag;a$=ah+1|0;a0=af;a1=aD;a2=aC;a3=aA;a4=aZ;break}else{ad=4627}}while(0);if((ad|0)==4627){ad=0;ag=d[w]|0;if(!((ah|0)!=0&(((ag&1|0)==0?ag>>>1:c[u>>2]|0)|0)!=0&(ai|0)==(n|0))){a5=as;a6=aA;a7=aC;a8=aD;a9=af;ba=ah;break}if((aD|0)==(af|0)){ag=af-aC|0;aX=ag>>>0<2147483647?ag<<1:-1;if((aA|0)==414){bb=0}else{bb=aC}aG=jg(bb,aX)|0;aU=aG;if((aG|0)==0){ad=4632;break L5030}bc=aU+(aX>>>2<<2)|0;bd=aU+(ag>>2<<2)|0;be=aU;bf=218}else{bc=af;bd=aD;be=aC;bf=aA}c[bd>>2]=ah;a$=0;a0=bc;a1=bd+4|0;a2=be;a3=bf;a4=as}aU=c[g>>2]|0;ag=aU+12|0;aX=c[ag>>2]|0;aG=aU+16|0;bg=c[aG>>2]|0;do{if((aX|0)==(bg|0)){if((bJ[c[(c[aU>>2]|0)+40>>2]&1023](aU)|0)==-1){ad=4645;break}bh=c[ag>>2]|0;bi=c[aG>>2]|0;ad=4641;break}else{bj=aX+1|0;c[ag>>2]=bj;bh=bj;bi=bg;ad=4641;break}}while(0);do{if((ad|0)==4641){ad=0;if((bh|0)!=(bi|0)){break}if((bJ[c[(c[aU>>2]|0)+36>>2]&1023](aU)|0)==-1){ad=4645;break}else{break}}}while(0);if((ad|0)==4645){ad=0;c[g>>2]=0}aU=c[g>>2]|0;if((aU|0)==0^(c[I>>2]|0)==0){as=a4;aA=a3;aC=a2;aD=a1;af=a0;ah=a$;ar=aU}else{a5=a4;a6=a3;a7=a2;a8=a1;a9=a0;ba=a$;break}}if((a7|0)==(a8|0)|(ba|0)==0){bk=a9;bl=a8;bm=a7;bn=a6}else{if((a8|0)==(a9|0)){ar=a9-a7|0;ah=ar>>>0<2147483647?ar<<1:-1;if((a6|0)==414){bo=0}else{bo=a7}af=jg(bo,ah)|0;aD=af;if((af|0)==0){ad=4651;break L5030}bp=aD+(ah>>>2<<2)|0;bq=aD+(ar>>2<<2)|0;br=aD;bs=218}else{bp=a9;bq=a8;br=a7;bs=a6}c[bq>>2]=ba;bk=bp;bl=bq+4|0;bm=br;bn=bs}aD=c[A>>2]|0;L5196:do{if((aD|0)>0){ar=c[g>>2]|0;ah=(c[I>>2]|0)==0;if(!((ar|0)==0^ah)){ad=4661;break L5030}af=c[ar+12>>2]|0;if((af|0)==(c[ar+16>>2]|0)){bt=bJ[c[(c[ar>>2]|0)+36>>2]&1023](ar)|0}else{bt=d[af]|0}if((bt<<24>>24|0)!=(S|0)){ad=4661;break L5030}af=c[g>>2]|0;ar=af+12|0;aC=c[ar>>2]|0;aA=af+16|0;as=c[aA>>2]|0;do{if((aC|0)==(as|0)){if((bJ[c[(c[af>>2]|0)+40>>2]&1023](af)|0)==-1){ad=4670;break}bu=c[ar>>2]|0;bv=c[aA>>2]|0;ad=4667;break}else{aq=aC+1|0;c[ar>>2]=aq;bu=aq;bv=as;ad=4667;break}}while(0);do{if((ad|0)==4667){ad=0;if((bu|0)!=(bv|0)){bw=a5;bx=aD;break}if((bJ[c[(c[af>>2]|0)+36>>2]&1023](af)|0)==-1){ad=4670;break}else{bw=a5;bx=aD;break}}}while(0);do{if((ad|0)==4670){ad=0;c[g>>2]=0;bw=a5;bx=aD;break}}while(0);while(1){af=c[g>>2]|0;if(!((af|0)==0^ah)){ad=4677;break L5030}as=c[af+12>>2]|0;if((as|0)==(c[af+16>>2]|0)){by=bJ[c[(c[af>>2]|0)+36>>2]&1023](af)|0}else{by=d[as]|0}as=by<<24>>24;if(as>>>0>=128){ad=4677;break L5030}if((b[(c[f>>2]|0)+(as<<1)>>1]&2048)<<16>>16==0){ad=4677;break L5030}as=c[o>>2]|0;if((as|0)==(bw|0)){af=(c[t>>2]|0)!=414;ar=c[h>>2]|0;aC=bw-ar|0;aA=aC>>>0<2147483647?aC<<1:-1;aq=jg(af?ar:0,aA)|0;if((aq|0)==0){ad=4680;break L5030}do{if(af){c[h>>2]=aq;bz=aq}else{ar=c[h>>2]|0;c[h>>2]=aq;if((ar|0)==0){bz=aq;break}bG[c[t>>2]&1023](ar);bz=c[h>>2]|0}}while(0);c[t>>2]=218;aq=bz+aC|0;c[o>>2]=aq;bA=(c[h>>2]|0)+aA|0;bB=aq}else{bA=bw;bB=as}aq=c[g>>2]|0;af=c[aq+12>>2]|0;if((af|0)==(c[aq+16>>2]|0)){aj=bJ[c[(c[aq>>2]|0)+36>>2]&1023](aq)|0;bC=aj;bD=c[o>>2]|0}else{bC=d[af]|0;bD=bB}c[o>>2]=bD+1|0;a[bD]=bC&255;af=bx-1|0;c[A>>2]=af;aj=c[g>>2]|0;aq=aj+12|0;aW=c[aq>>2]|0;aV=aj+16|0;ar=c[aV>>2]|0;do{if((aW|0)==(ar|0)){if((bJ[c[(c[aj>>2]|0)+40>>2]&1023](aj)|0)==-1){ad=4702;break}bE=c[aq>>2]|0;bF=c[aV>>2]|0;ad=4698;break}else{aU=aW+1|0;c[aq>>2]=aU;bE=aU;bF=ar;ad=4698;break}}while(0);do{if((ad|0)==4698){ad=0;if((bE|0)!=(bF|0)){break}if((bJ[c[(c[aj>>2]|0)+36>>2]&1023](aj)|0)==-1){ad=4702;break}else{break}}}while(0);if((ad|0)==4702){ad=0;c[g>>2]=0}if((af|0)>0){bw=bA;bx=af}else{bH=bA;break L5196}}}else{bH=a5}}while(0);if((c[o>>2]|0)==(c[h>>2]|0)){ad=4704;break L5030}else{ak=r;al=bk;am=bl;an=bm;ao=bn;ap=bH;break}}else if((ae|0)==0){ad=4522}else{ak=r;al=E;am=W;an=V;ao=p;ap=U}}while(0);L5252:do{if((ad|0)==4522){ad=0;if((X|0)==3){$=p;aa=V;ab=W;ac=r;ad=4706;break L5030}ae=c[g>>2]|0;if((ae|0)==0^_){bI=ae}else{ak=r;al=E;am=W;an=V;ao=p;ap=U;break}while(1){ae=c[bI+12>>2]|0;if((ae|0)==(c[bI+16>>2]|0)){bK=bJ[c[(c[bI>>2]|0)+36>>2]&1023](bI)|0}else{bK=d[ae]|0}ae=bK<<24>>24;if(ae>>>0>=128){ak=r;al=E;am=W;an=V;ao=p;ap=U;break L5252}if((b[(c[f>>2]|0)+(ae<<1)>>1]&8192)<<16>>16==0){ak=r;al=E;am=W;an=V;ao=p;ap=U;break L5252}ae=c[g>>2]|0;Y=ae+12|0;Z=c[Y>>2]|0;aD=ae+16|0;ah=c[aD>>2]|0;do{if((Z|0)==(ah|0)){if((bJ[c[(c[ae>>2]|0)+40>>2]&1023](ae)|0)==-1){ad=4538;break}bL=c[Y>>2]|0;bM=c[aD>>2]|0;ad=4534;break}else{aj=Z+1|0;c[Y>>2]=aj;bL=aj;bM=ah;ad=4534;break}}while(0);do{if((ad|0)==4534){ad=0;if((bL|0)!=(bM|0)){break}if((bJ[c[(c[ae>>2]|0)+36>>2]&1023](ae)|0)==-1){ad=4538;break}else{break}}}while(0);if((ad|0)==4538){ad=0;c[g>>2]=0}ae=c[g>>2]|0;if((ae|0)==0^_){bI=ae}else{ak=r;al=E;am=W;an=V;ao=p;ap=U;break L5252}}}}while(0);_=X+1|0;if(_>>>0<4){U=ap;p=ao;V=an;W=am;E=al;r=ak;X=_}else{$=ao;aa=an;ab=am;ac=ak;ad=4706;break}}L5276:do{if((ad|0)==4521){c[k>>2]=c[k>>2]|4;bN=0;bO=V;bP=p}else if((ad|0)==4617){js()}else if((ad|0)==4632){js()}else if((ad|0)==4609){c[k>>2]=c[k>>2]|4;bN=0;bO=V;bP=p}else if((ad|0)==4651){js()}else if((ad|0)==4661){c[k>>2]=c[k>>2]|4;bN=0;bO=bm;bP=bn}else if((ad|0)==4677){c[k>>2]=c[k>>2]|4;bN=0;bO=bm;bP=bn}else if((ad|0)==4602){c[k>>2]=c[k>>2]|4;bN=0;bO=V;bP=p}else if((ad|0)==4680){js()}else if((ad|0)==4704){c[k>>2]=c[k>>2]|4;bN=0;bO=bm;bP=bn}else if((ad|0)==4706){L5292:do{if((ac|0)!=0){ak=ac;am=ac+1|0;an=ac+8|0;ao=ac+4|0;X=1;while(1){r=a[ak]|0;al=r&255;if((al&1|0)==0){bQ=al>>>1}else{bQ=c[ao>>2]|0}if(X>>>0>=bQ>>>0){break L5292}al=c[g>>2]|0;if(!((al|0)==0^(c[I>>2]|0)==0)){break}E=c[al+12>>2]|0;if((E|0)==(c[al+16>>2]|0)){W=bJ[c[(c[al>>2]|0)+36>>2]&1023](al)|0;bR=W;bS=a[ak]|0}else{bR=d[E]|0;bS=r}if((bS&1)<<24>>24==0){bT=am}else{bT=c[an>>2]|0}if((bR<<24>>24|0)!=(a[bT+X|0]<<24>>24|0)){break}r=X+1|0;E=c[g>>2]|0;W=E+12|0;al=c[W>>2]|0;ap=E+16|0;U=c[ap>>2]|0;do{if((al|0)==(U|0)){if((bJ[c[(c[E>>2]|0)+40>>2]&1023](E)|0)==-1){break}bU=c[W>>2]|0;bV=c[ap>>2]|0;ad=4726;break}else{bI=al+1|0;c[W>>2]=bI;bU=bI;bV=U;ad=4726;break}}while(0);if((ad|0)==4726){ad=0;if((bU|0)!=(bV|0)){X=r;continue}if((bJ[c[(c[E>>2]|0)+36>>2]&1023](E)|0)!=-1){X=r;continue}}c[g>>2]=0;X=r}c[k>>2]=c[k>>2]|4;bN=0;bO=aa;bP=$;break L5276}}while(0);if((aa|0)==(ab|0)){bN=1;bO=ab;bP=$;break}c[D>>2]=0;ef(v,aa,ab,D);if((c[D>>2]|0)==0){bN=1;bO=aa;bP=$;break}c[k>>2]=c[k>>2]|4;bN=0;bO=aa;bP=$}}while(0);if((a[H]&1)<<24>>24!=0){jo(c[L>>2]|0)}if((a[G]&1)<<24>>24!=0){jo(c[O>>2]|0)}if((a[F]&1)<<24>>24!=0){jo(c[x+8>>2]|0)}if((a[w]&1)<<24>>24!=0){jo(c[v+8>>2]|0)}if((bO|0)==0){i=q;return bN|0}bG[bP&1023](bO);i=q;return bN|0}function gC(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,l=0,m=0,n=0;f=b;g=d;h=a[f]|0;i=h&255;if((i&1|0)==0){j=i>>>1}else{j=c[b+4>>2]|0}if((h&1)<<24>>24==0){k=10;l=h}else{h=c[b>>2]|0;k=(h&-2)-1|0;l=h&255}h=e-g|0;if((e|0)==(d|0)){return b|0}if((k-j|0)>>>0<h>>>0){dk(b,k,(j+h|0)-k|0,j,j,0,0);m=a[f]|0}else{m=l}if((m&1)<<24>>24==0){n=b+1|0}else{n=c[b+8>>2]|0}m=e+(j-g|0)|0;g=d;d=n+j|0;while(1){a[d]=a[g]|0;l=g+1|0;if((l|0)==(e|0)){break}else{g=l;d=d+1|0}}a[n+m|0]=0;m=j+h|0;if((a[f]&1)<<24>>24==0){a[f]=m<<1&255;return b|0}else{c[b+4>>2]=m;return b|0}return 0}function gD(a){a=a|0;var b=0,d=0,e=0,f=0;b=a1(8)|0;c[b>>2]=5247540;d=b+4|0;if((d|0)==0){av(b|0,5252764,186)}e=ju(a)|0;f=jl(e+13|0)|0;c[f+4>>2]=e;c[f>>2]=e;e=f+12|0;c[d>>2]=e;c[f+8>>2]=0;jw(e,a);av(b|0,5252764,186)}function gE(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,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+136|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=d|0;m=d+12|0;n=d+112|0;o=d+120|0;p=d+124|0;q=d+128|0;r=d+132|0;s=n|0;c[s>>2]=m|0;t=n+4|0;c[t>>2]=414;u=p|0;v=c[h+28>>2]|0;c[u>>2]=v;w=v+4|0;D=c[w>>2]|0,c[w>>2]=D+1,D;w=c[u>>2]|0;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;v=c[w+20>>2]|0;do{if((c[w+24>>2]|0)-v>>2>>>0>l>>>0){x=c[v+(l<<2)>>2]|0;if((x|0)==0){break}y=x;a[q]=0;z=c[f>>2]|0;c[r>>2]=z;if(gB(e,r,g,p,c[h+4>>2]|0,j,q,y,n,o,m+100|0)|0){A=k;if((a[A]&1)<<24>>24==0){a[k+1|0]=0;a[A]=0}else{a[c[k+8>>2]|0]=0;c[k+4>>2]=0}B=x;do{if((a[q]&1)<<24>>24!=0){x=bS[c[(c[B>>2]|0)+28>>2]&1023](y,45)|0;C=a[A]|0;if((C&1)<<24>>24==0){E=10;F=C}else{C=c[k>>2]|0;E=(C&-2)-1|0;F=C&255}C=F&255;if((C&1|0)==0){G=C>>>1}else{G=c[k+4>>2]|0}if((G|0)==(E|0)){dk(k,E,1,E,E,0,0);H=a[A]|0}else{H=F}if((H&1)<<24>>24==0){I=k+1|0}else{I=c[k+8>>2]|0}a[I+G|0]=x;x=G+1|0;a[I+x|0]=0;if((a[A]&1)<<24>>24==0){a[A]=x<<1&255;break}else{c[k+4>>2]=x;break}}}while(0);A=bS[c[(c[B>>2]|0)+28>>2]&1023](y,48)|0;x=c[o>>2]|0;C=x-1|0;J=c[s>>2]|0;while(1){if(J>>>0>=C>>>0){break}if(a[J]<<24>>24==A<<24>>24){J=J+1|0}else{break}}gC(k,J,x)}A=c[e>>2]|0;if(!((A|0)==0^(z|0)==0)){c[j>>2]=c[j>>2]|2}c[b>>2]=A;A=c[u>>2]|0;C=A+4|0;if(((D=c[C>>2]|0,c[C>>2]=D+ -1,D)|0)==0){bG[c[(c[A>>2]|0)+8>>2]&1023](A|0)}A=c[s>>2]|0;c[s>>2]=0;if((A|0)==0){i=d;return}bG[c[t>>2]&1023](A);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function gF(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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;n=i;i=i+128|0;o=n|0;p=n+12|0;q=n+24|0;r=n+28|0;s=n+40|0;t=n+52|0;u=n+64|0;v=n+76|0;w=n+80|0;y=n+92|0;z=n+104|0;A=n+116|0;if(b){b=c[d>>2]|0;if((c[1313863]|0)!=-1){c[p>>2]=5255452;c[p+4>>2]=24;c[p+8>>2]=0;cV(5255452,p,406)}p=(c[1313864]|0)-1|0;B=c[b+20>>2]|0;if((c[b+24>>2]|0)-B>>2>>>0<=p>>>0){C=a1(4)|0;D=C;c[D>>2]=5247516;av(C|0,5252752,514)}b=c[B+(p<<2)>>2]|0;if((b|0)==0){C=a1(4)|0;D=C;c[D>>2]=5247516;av(C|0,5252752,514)}C=b;bH[c[(c[b>>2]|0)+44>>2]&1023](q,C);D=e;x=c[q>>2]|0;a[D]=x&255;x=x>>8;a[D+1|0]=x&255;x=x>>8;a[D+2|0]=x&255;x=x>>8;a[D+3|0]=x&255;D=b;bH[c[(c[D>>2]|0)+32>>2]&1023](r,C);cR(l,r);if((a[r]&1)<<24>>24!=0){jo(c[r+8>>2]|0)}bH[c[(c[D>>2]|0)+28>>2]&1023](s,C);cR(k,s);if((a[s]&1)<<24>>24!=0){jo(c[s+8>>2]|0)}s=b;a[f]=bJ[c[(c[s>>2]|0)+12>>2]&1023](C)|0;a[g]=bJ[c[(c[s>>2]|0)+16>>2]&1023](C)|0;bH[c[(c[D>>2]|0)+20>>2]&1023](t,C);cR(h,t);if((a[t]&1)<<24>>24!=0){jo(c[t+8>>2]|0)}bH[c[(c[D>>2]|0)+24>>2]&1023](u,C);cR(j,u);if((a[u]&1)<<24>>24!=0){jo(c[u+8>>2]|0)}u=bJ[c[(c[b>>2]|0)+36>>2]&1023](C)|0;c[m>>2]=u;i=n;return}else{C=c[d>>2]|0;if((c[1313865]|0)!=-1){c[o>>2]=5255460;c[o+4>>2]=24;c[o+8>>2]=0;cV(5255460,o,406)}o=(c[1313866]|0)-1|0;d=c[C+20>>2]|0;if((c[C+24>>2]|0)-d>>2>>>0<=o>>>0){E=a1(4)|0;F=E;c[F>>2]=5247516;av(E|0,5252752,514)}C=c[d+(o<<2)>>2]|0;if((C|0)==0){E=a1(4)|0;F=E;c[F>>2]=5247516;av(E|0,5252752,514)}E=C;bH[c[(c[C>>2]|0)+44>>2]&1023](v,E);F=e;x=c[v>>2]|0;a[F]=x&255;x=x>>8;a[F+1|0]=x&255;x=x>>8;a[F+2|0]=x&255;x=x>>8;a[F+3|0]=x&255;F=C;bH[c[(c[F>>2]|0)+32>>2]&1023](w,E);cR(l,w);if((a[w]&1)<<24>>24!=0){jo(c[w+8>>2]|0)}bH[c[(c[F>>2]|0)+28>>2]&1023](y,E);cR(k,y);if((a[y]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}y=C;a[f]=bJ[c[(c[y>>2]|0)+12>>2]&1023](E)|0;a[g]=bJ[c[(c[y>>2]|0)+16>>2]&1023](E)|0;bH[c[(c[F>>2]|0)+20>>2]&1023](z,E);cR(h,z);if((a[z]&1)<<24>>24!=0){jo(c[z+8>>2]|0)}bH[c[(c[F>>2]|0)+24>>2]&1023](A,E);cR(j,A);if((a[A]&1)<<24>>24!=0){jo(c[A+8>>2]|0)}u=bJ[c[(c[C>>2]|0)+36>>2]&1023](E)|0;c[m>>2]=u;i=n;return}}function gG(a){a=a|0;return}function gH(a){a=a|0;jo(a);return}function gI(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,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;l=i;i=i+100|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=(g-f|0)/12&-1;n=l|0;do{if(m>>>0>100){o=je(m)|0;if((o|0)!=0){p=o;q=o;break}o=a1(4)|0;c[o>>2]=5247492;av(o|0,5252740,66)}else{p=n;q=0}}while(0);n=(f|0)==(g|0);L5492:do{if(n){r=m;s=0}else{o=m;t=0;u=p;v=f;while(1){w=d[v]|0;if((w&1|0)==0){x=w>>>1}else{x=c[v+4>>2]|0}if((x|0)==0){a[u]=2;y=t+1|0;z=o-1|0}else{a[u]=1;y=t;z=o}w=v+12|0;if((w|0)==(g|0)){r=z;s=y;break L5492}else{o=z;t=y;u=u+1|0;v=w}}}}while(0);y=b|0;b=c[y>>2]|0;z=e|0;e=c[z>>2]|0;L5504:do{if((b|0)==0^(e|0)==0){x=h;m=r;v=s;u=0;t=e;o=b;while(1){if((m|0)==0){A=o;B=t;break L5504}w=c[o+12>>2]|0;if((w|0)==(c[o+16>>2]|0)){C=bJ[c[(c[o>>2]|0)+36>>2]&1023](o)|0}else{C=d[w]|0}w=C&255;if(k){D=w}else{D=bS[c[(c[x>>2]|0)+12>>2]&1023](h,w)|0}L5516:do{if(n){E=v;F=m}else{w=u+1|0;G=m;H=v;I=p;J=0;K=f;while(1){do{if(a[I]<<24>>24==1){L=K;if((a[L]&1)<<24>>24==0){M=K+1|0}else{M=c[K+8>>2]|0}N=a[M+u|0]|0;if(k){O=N}else{O=bS[c[(c[x>>2]|0)+12>>2]&1023](h,N)|0}if(D<<24>>24!=O<<24>>24){a[I]=0;P=J;Q=H;R=G-1|0;break}N=d[L]|0;if((N&1|0)==0){S=N>>>1}else{S=c[K+4>>2]|0}if((S|0)!=(w|0)){P=1;Q=H;R=G;break}a[I]=2;P=1;Q=H+1|0;R=G-1|0}else{P=J;Q=H;R=G}}while(0);N=K+12|0;if((N|0)==(g|0)){break}G=R;H=Q;I=I+1|0;J=P;K=N}if((P&1)<<24>>24==0){E=Q;F=R;break}K=c[y>>2]|0;J=K+12|0;I=c[J>>2]|0;H=K+16|0;G=c[H>>2]|0;do{if((I|0)==(G|0)){if((bJ[c[(c[K>>2]|0)+40>>2]&1023](K)|0)==-1){T=4946;break}U=c[J>>2]|0;V=c[H>>2]|0;T=4943;break}else{w=I+1|0;c[J>>2]=w;U=w;V=G;T=4943;break}}while(0);do{if((T|0)==4943){T=0;if((U|0)!=(V|0)){break}if((bJ[c[(c[K>>2]|0)+36>>2]&1023](K)|0)==-1){T=4946;break}else{break}}}while(0);if((T|0)==4946){T=0;c[y>>2]=0}if((Q+R|0)>>>0<2|n){E=Q;F=R;break}K=u+1|0;G=Q;J=p;I=f;while(1){do{if(a[J]<<24>>24==2){H=d[I]|0;if((H&1|0)==0){W=H>>>1}else{W=c[I+4>>2]|0}if((W|0)==(K|0)){X=G;break}a[J]=0;X=G-1|0}else{X=G}}while(0);H=I+12|0;if((H|0)==(g|0)){E=X;F=R;break L5516}else{G=X;J=J+1|0;I=H}}}}while(0);I=c[y>>2]|0;J=c[z>>2]|0;if((I|0)==0^(J|0)==0){m=F;v=E;u=u+1|0;t=J;o=I}else{A=I;B=J;break L5504}}}else{A=b;B=e}}while(0);if(!((A|0)==0^(B|0)==0)){c[j>>2]=c[j>>2]|2}L5569:do{if(n){T=4963}else{B=f;A=p;while(1){if(a[A]<<24>>24==2){Y=B;break L5569}e=B+12|0;if((e|0)==(g|0)){T=4963;break L5569}B=e;A=A+1|0}}}while(0);if((T|0)==4963){c[j>>2]=c[j>>2]|4;Y=g}if((q|0)==0){i=l;return Y|0}jf(q);i=l;return Y|0}function gJ(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,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;d=i;i=i+576|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=d|0;m=d+12|0;n=d+412|0;o=d+420|0;p=d+424|0;q=d+428|0;r=d+432|0;s=d+436|0;t=d+476|0;u=n|0;c[u>>2]=m|0;v=n+4|0;c[v>>2]=414;x=p|0;y=c[h+28>>2]|0;c[x>>2]=y;z=y+4|0;D=c[z>>2]|0,c[z>>2]=D+1,D;z=c[x>>2]|0;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;y=c[z+20>>2]|0;do{if((c[z+24>>2]|0)-y>>2>>>0>l>>>0){A=c[y+(l<<2)>>2]|0;if((A|0)==0){break}B=A;a[q]=0;C=f|0;c[r>>2]=c[C>>2]|0;do{if(gK(e,r,g,p,c[h+4>>2]|0,j,q,B,n,o,m+400|0)|0){E=s|0;F=c[(c[A>>2]|0)+48>>2]|0;bP[F&1023](B,5247080,5247090,E);F=t|0;G=c[o>>2]|0;H=c[u>>2]|0;I=G-H>>2;do{if(I>>>0>98){J=je(I+2|0)|0;if((J|0)!=0){K=J;L=J;break}J=a1(4)|0;c[J>>2]=5247492;av(J|0,5252740,66)}else{K=F;L=0}}while(0);if((a[q]&1)<<24>>24==0){M=K}else{a[K]=45;M=K+1|0}L5600:do{if(H>>>0<G>>>0){I=s+160|0;J=s;N=M;O=H;while(1){P=E;while(1){if((P|0)==(I|0)){Q=I;break}if((c[P>>2]|0)==(c[O>>2]|0)){Q=P;break}else{P=P+4|0}}a[N]=a[5247080+(Q-J>>2)|0]|0;P=O+4|0;R=N+1|0;if(P>>>0<(c[o>>2]|0)>>>0){N=R;O=P}else{S=R;break L5600}}}else{S=M}}while(0);a[S]=0;if((ar(F|0,5243820,(w=i,i=i+4|0,c[w>>2]=k,w)|0)|0)==1){if((L|0)==0){break}jf(L);break}E=a1(8)|0;c[E>>2]=5247540;H=E+4|0;if((H|0)!=0){G=jl(28)|0;c[G+4>>2]=15;c[G>>2]=15;O=G+12|0;c[H>>2]=O;c[G+8>>2]=0;jt(O,5243804,16)}av(E|0,5252764,186)}}while(0);B=c[e>>2]|0;if(!((B|0)==0^(c[C>>2]|0)==0)){c[j>>2]=c[j>>2]|2}c[b>>2]=B;B=c[x>>2]|0;A=B+4|0;if(((D=c[A>>2]|0,c[A>>2]=D+ -1,D)|0)==0){bG[c[(c[B>>2]|0)+8>>2]&1023](B|0)}B=c[u>>2]|0;c[u>>2]=0;if((B|0)==0){i=d;return}bG[c[v>>2]&1023](B);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function gK(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=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=(V|0)==0;if(!((U|0)==0^W)){X=Q;Y=R;Z=S;_=r;$=5220;break}aa=a[s+T|0]<<24>>24;L5636:do{if((aa|0)==0){$=5048}else if((aa|0)==1){if((T|0)==3){X=Q;Y=R;Z=S;_=r;$=5220;break L5633}ab=c[U+12>>2]|0;if((ab|0)==(c[U+16>>2]|0)){ac=bJ[c[(c[U>>2]|0)+36>>2]&1023](U)|0}else{ac=c[ab>>2]|0}if(!(bD[c[(c[e>>2]|0)+12>>2]&1023](l,8192,ac)|0)){$=5047;break L5633}ab=c[f>>2]|0;ad=ab+12|0;ae=c[ad>>2]|0;af=ab+16|0;if((ae|0)==(c[af>>2]|0)){ag=bJ[c[(c[ab>>2]|0)+40>>2]&1023](ab)|0}else{c[ad>>2]=ae+4|0;ag=c[ae>>2]|0}if((ag|0)!=-1){ae=c[ad>>2]|0;if((ae|0)==(c[af>>2]|0)){ah=bJ[c[(c[ab>>2]|0)+36>>2]&1023](ab)|0}else{ah=c[ae>>2]|0}if((ah|0)!=-1){$=5048;break}}c[f>>2]=0;$=5048;break}else if((aa|0)==4){ae=Q;ab=R;af=S;ad=o;ai=0;aj=U;L5656:while(1){ak=c[aj+12>>2]|0;if((ak|0)==(c[aj+16>>2]|0)){al=bJ[c[(c[aj>>2]|0)+36>>2]&1023](aj)|0}else{al=c[ak>>2]|0}if(bD[c[(c[e>>2]|0)+12>>2]&1023](l,2048,al)|0){ak=c[n>>2]|0;if((ak|0)==(c[q>>2]|0)){gR(m,n,q);am=c[n>>2]|0}else{am=ak}c[n>>2]=am+4|0;c[am>>2]=al;an=ai+1|0;ao=ad;ap=af;aq=ab;ar=ae}else{ak=d[w]|0;if((((ak&1|0)==0?ak>>>1:c[P>>2]|0)|0)==0|(ai|0)==0){as=ae;at=ab;au=af;av=ad;aw=ai;break}if((al|0)!=(c[u>>2]|0)){as=ae;at=ab;au=af;av=ad;aw=ai;break}if((af|0)==(ad|0)){ak=(ae|0)!=414;ax=ad-ab|0;ay=ax>>>0<2147483647?ax<<1:-1;if(ak){az=ab}else{az=0}ak=jg(az,ay)|0;aA=ak;if((ak|0)==0){$=5152;break L5633}aB=aA+(ay>>>2<<2)|0;aC=aA+(ax>>2<<2)|0;aD=aA;aE=218}else{aB=ad;aC=af;aD=ab;aE=ae}c[aC>>2]=ai;an=0;ao=aB;ap=aC+4|0;aq=aD;ar=aE}aA=c[f>>2]|0;ax=aA+12|0;ay=c[ax>>2]|0;ak=aA+16|0;if((ay|0)==(c[ak>>2]|0)){aF=bJ[c[(c[aA>>2]|0)+40>>2]&1023](aA)|0}else{c[ax>>2]=ay+4|0;aF=c[ay>>2]|0}do{if((aF|0)!=-1){ay=c[ax>>2]|0;if((ay|0)==(c[ak>>2]|0)){aG=bJ[c[(c[aA>>2]|0)+36>>2]&1023](aA)|0}else{aG=c[ay>>2]|0}if((aG|0)==-1){break}ay=c[f>>2]|0;if((ay|0)==0^(c[H>>2]|0)==0){ae=ar;ab=aq;af=ap;ad=ao;ai=an;aj=ay;continue L5656}else{as=ar;at=aq;au=ap;av=ao;aw=an;break L5656}}}while(0);c[f>>2]=0;if((c[H>>2]|0)==0){as=ar;at=aq;au=ap;av=ao;aw=an;break}else{ae=ar;ab=aq;af=ap;ad=ao;ai=an;aj=0}}if((at|0)==(au|0)|(aw|0)==0){aH=av;aI=au;aJ=at;aK=as}else{if((au|0)==(av|0)){aj=(as|0)!=414;ai=av-at|0;ad=ai>>>0<2147483647?ai<<1:-1;if(aj){aL=at}else{aL=0}aj=jg(aL,ad)|0;af=aj;if((aj|0)==0){$=5173;break L5633}aM=af+(ad>>>2<<2)|0;aN=af+(ai>>2<<2)|0;aO=af;aP=218}else{aM=av;aN=au;aO=at;aP=as}c[aN>>2]=aw;aH=aM;aI=aN+4|0;aJ=aO;aK=aP}af=c[A>>2]|0;L5709:do{if((af|0)>0){ai=c[f>>2]|0;ad=(c[H>>2]|0)==0;if(!((ai|0)==0^ad)){$=5185;break L5633}aj=c[ai+12>>2]|0;if((aj|0)==(c[ai+16>>2]|0)){aQ=bJ[c[(c[ai>>2]|0)+36>>2]&1023](ai)|0}else{aQ=c[aj>>2]|0}if((aQ|0)!=(c[t>>2]|0)){$=5185;break L5633}aj=c[f>>2]|0;ai=aj+12|0;ab=c[ai>>2]|0;ae=aj+16|0;if((ab|0)==(c[ae>>2]|0)){aR=bJ[c[(c[aj>>2]|0)+40>>2]&1023](aj)|0}else{c[ai>>2]=ab+4|0;aR=c[ab>>2]|0}do{if((aR|0)==-1){$=5194}else{ab=c[ai>>2]|0;if((ab|0)==(c[ae>>2]|0)){aS=bJ[c[(c[aj>>2]|0)+36>>2]&1023](aj)|0}else{aS=c[ab>>2]|0}if((aS|0)==-1){$=5194;break}else{aT=af;break}}}while(0);do{if(($|0)==5194){$=0;c[f>>2]=0;aT=af;break}}while(0);while(1){aj=c[f>>2]|0;if(!((aj|0)==0^ad)){$=5201;break L5633}ae=c[aj+12>>2]|0;if((ae|0)==(c[aj+16>>2]|0)){aU=bJ[c[(c[aj>>2]|0)+36>>2]&1023](aj)|0}else{aU=c[ae>>2]|0}if(!(bD[c[(c[e>>2]|0)+12>>2]&1023](l,2048,aU)|0)){$=5201;break L5633}if((c[n>>2]|0)==(c[q>>2]|0)){gR(m,n,q)}ae=c[f>>2]|0;aj=c[ae+12>>2]|0;if((aj|0)==(c[ae+16>>2]|0)){aV=bJ[c[(c[ae>>2]|0)+36>>2]&1023](ae)|0}else{aV=c[aj>>2]|0}aj=c[n>>2]|0;c[n>>2]=aj+4|0;c[aj>>2]=aV;aj=aT-1|0;c[A>>2]=aj;ae=c[f>>2]|0;ai=ae+12|0;ab=c[ai>>2]|0;aA=ae+16|0;if((ab|0)==(c[aA>>2]|0)){aW=bJ[c[(c[ae>>2]|0)+40>>2]&1023](ae)|0}else{c[ai>>2]=ab+4|0;aW=c[ab>>2]|0}do{if((aW|0)==-1){$=5216}else{ab=c[ai>>2]|0;if((ab|0)==(c[aA>>2]|0)){aX=bJ[c[(c[ae>>2]|0)+36>>2]&1023](ae)|0}else{aX=c[ab>>2]|0}if((aX|0)==-1){$=5216;break}else{break}}}while(0);if(($|0)==5216){$=0;c[f>>2]=0}if((aj|0)>0){aT=aj}else{break L5709}}}}while(0);if((c[n>>2]|0)==(c[g>>2]|0)){$=5218;break L5633}else{aY=r;aZ=aH;a_=aI;a$=aJ;a0=aK;break}}else if((aa|0)==2){if(!((r|0)!=0|T>>>0<2)){if((T|0)==2){a1=a[O]<<24>>24!=0}else{a1=0}if(!(M|a1)){aY=0;aZ=o;a_=S;a$=R;a0=Q;break}}c[B>>2]=0;c[h>>2]=V;if((gQ(b,C,x,N,l,B,1)|0)==(x|0)|M^1){aY=r;aZ=o;a_=S;a$=R;a0=Q;break}else{$=5136;break L5633}}else if((aa|0)==3){af=a[F]|0;ad=af&255;ae=(ad&1|0)==0;aA=a[G]|0;ai=aA&255;ab=(ai&1|0)==0;if(((ae?ad>>>1:c[K>>2]|0)|0)==(-(ab?ai>>>1:c[I>>2]|0)|0)){aY=r;aZ=o;a_=S;a$=R;a0=Q;break}do{if(((ae?ad>>>1:c[K>>2]|0)|0)!=0){if(((ab?ai>>>1:c[I>>2]|0)|0)==0){break}ak=c[U+12>>2]|0;if((ak|0)==(c[U+16>>2]|0)){ax=bJ[c[(c[U>>2]|0)+36>>2]&1023](U)|0;a2=ax;a3=a[F]|0}else{a2=c[ak>>2]|0;a3=af}ak=c[f>>2]|0;ax=ak+12|0;ay=c[ax>>2]|0;a4=ak+16|0;a5=(ay|0)==(c[a4>>2]|0);if((a2|0)==(c[((a3&1)<<24>>24==0?K:c[L>>2]|0)>>2]|0)){if(a5){a6=bJ[c[(c[ak>>2]|0)+40>>2]&1023](ak)|0}else{c[ax>>2]=ay+4|0;a6=c[ay>>2]|0}do{if((a6|0)==-1){$=5113}else{a7=c[ax>>2]|0;if((a7|0)==(c[a4>>2]|0)){a8=bJ[c[(c[ak>>2]|0)+36>>2]&1023](ak)|0}else{a8=c[a7>>2]|0}if((a8|0)==-1){$=5113;break}else{break}}}while(0);if(($|0)==5113){$=0;c[f>>2]=0}a4=d[F]|0;aY=((a4&1|0)==0?a4>>>1:c[K>>2]|0)>>>0>1?y:r;aZ=o;a_=S;a$=R;a0=Q;break L5636}if(a5){a9=bJ[c[(c[ak>>2]|0)+36>>2]&1023](ak)|0}else{a9=c[ay>>2]|0}if((a9|0)!=(c[((a[G]&1)<<24>>24==0?I:c[J>>2]|0)>>2]|0)){$=5129;break L5633}a4=c[f>>2]|0;ax=a4+12|0;a7=c[ax>>2]|0;ba=a4+16|0;if((a7|0)==(c[ba>>2]|0)){bb=bJ[c[(c[a4>>2]|0)+40>>2]&1023](a4)|0}else{c[ax>>2]=a7+4|0;bb=c[a7>>2]|0}do{if((bb|0)==-1){$=5127}else{a7=c[ax>>2]|0;if((a7|0)==(c[ba>>2]|0)){bc=bJ[c[(c[a4>>2]|0)+36>>2]&1023](a4)|0}else{bc=c[a7>>2]|0}if((bc|0)==-1){$=5127;break}else{break}}}while(0);if(($|0)==5127){$=0;c[f>>2]=0}a[k]=1;a4=d[G]|0;aY=((a4&1|0)==0?a4>>>1:c[I>>2]|0)>>>0>1?z:r;aZ=o;a_=S;a$=R;a0=Q;break L5636}}while(0);ai=c[U+12>>2]|0;ab=(ai|0)==(c[U+16>>2]|0);if(((ae?ad>>>1:c[K>>2]|0)|0)==0){if(ab){a4=bJ[c[(c[U>>2]|0)+36>>2]&1023](U)|0;bd=a4;be=a[G]|0}else{bd=c[ai>>2]|0;be=aA}if((bd|0)!=(c[((be&1)<<24>>24==0?I:c[J>>2]|0)>>2]|0)){aY=r;aZ=o;a_=S;a$=R;a0=Q;break}a4=c[f>>2]|0;ba=a4+12|0;ax=c[ba>>2]|0;ay=a4+16|0;if((ax|0)==(c[ay>>2]|0)){bf=bJ[c[(c[a4>>2]|0)+40>>2]&1023](a4)|0}else{c[ba>>2]=ax+4|0;bf=c[ax>>2]|0}do{if((bf|0)==-1){$=5098}else{ax=c[ba>>2]|0;if((ax|0)==(c[ay>>2]|0)){bg=bJ[c[(c[a4>>2]|0)+36>>2]&1023](a4)|0}else{bg=c[ax>>2]|0}if((bg|0)==-1){$=5098;break}else{break}}}while(0);if(($|0)==5098){$=0;c[f>>2]=0}a[k]=1;a4=d[G]|0;aY=((a4&1|0)==0?a4>>>1:c[I>>2]|0)>>>0>1?z:r;aZ=o;a_=S;a$=R;a0=Q;break}if(ab){a4=bJ[c[(c[U>>2]|0)+36>>2]&1023](U)|0;bh=a4;bi=a[F]|0}else{bh=c[ai>>2]|0;bi=af}if((bh|0)!=(c[((bi&1)<<24>>24==0?K:c[L>>2]|0)>>2]|0)){a[k]=1;aY=r;aZ=o;a_=S;a$=R;a0=Q;break}a4=c[f>>2]|0;ay=a4+12|0;ba=c[ay>>2]|0;aA=a4+16|0;if((ba|0)==(c[aA>>2]|0)){bj=bJ[c[(c[a4>>2]|0)+40>>2]&1023](a4)|0}else{c[ay>>2]=ba+4|0;bj=c[ba>>2]|0}do{if((bj|0)==-1){$=5082}else{ba=c[ay>>2]|0;if((ba|0)==(c[aA>>2]|0)){bk=bJ[c[(c[a4>>2]|0)+36>>2]&1023](a4)|0}else{bk=c[ba>>2]|0}if((bk|0)==-1){$=5082;break}else{break}}}while(0);if(($|0)==5082){$=0;c[f>>2]=0}a4=d[F]|0;aY=((a4&1|0)==0?a4>>>1:c[K>>2]|0)>>>0>1?y:r;aZ=o;a_=S;a$=R;a0=Q;break}else{aY=r;aZ=o;a_=S;a$=R;a0=Q}}while(0);L5855:do{if(($|0)==5048){$=0;if((T|0)==3){X=Q;Y=R;Z=S;_=r;$=5220;break L5633}U=c[f>>2]|0;if((U|0)==0^W){bl=U}else{aY=r;aZ=o;a_=S;a$=R;a0=Q;break}L5858:while(1){U=c[bl+12>>2]|0;if((U|0)==(c[bl+16>>2]|0)){bm=bJ[c[(c[bl>>2]|0)+36>>2]&1023](bl)|0}else{bm=c[U>>2]|0}if(!(bD[c[(c[e>>2]|0)+12>>2]&1023](l,8192,bm)|0)){aY=r;aZ=o;a_=S;a$=R;a0=Q;break L5855}U=c[f>>2]|0;aa=U+12|0;V=c[aa>>2]|0;a4=U+16|0;if((V|0)==(c[a4>>2]|0)){bn=bJ[c[(c[U>>2]|0)+40>>2]&1023](U)|0}else{c[aa>>2]=V+4|0;bn=c[V>>2]|0}do{if((bn|0)!=-1){V=c[aa>>2]|0;if((V|0)==(c[a4>>2]|0)){bo=bJ[c[(c[U>>2]|0)+36>>2]&1023](U)|0}else{bo=c[V>>2]|0}if((bo|0)==-1){break}V=c[f>>2]|0;if((V|0)==0^W){bl=V;continue L5858}else{aY=r;aZ=o;a_=S;a$=R;a0=Q;break L5855}}}while(0);c[f>>2]=0;if(W){aY=r;aZ=o;a_=S;a$=R;a0=Q;break L5855}else{bl=0}}}}while(0);W=T+1|0;if(W>>>0<4){Q=a0;R=a$;S=a_;o=aZ;r=aY;T=W}else{X=a0;Y=a$;Z=a_;_=aY;$=5220;break}}L5879:do{if(($|0)==5047){c[j>>2]=c[j>>2]|4;bp=0;bq=R;br=Q}else if(($|0)==5201){c[j>>2]=c[j>>2]|4;bp=0;bq=aJ;br=aK}else if(($|0)==5185){c[j>>2]=c[j>>2]|4;bp=0;bq=aJ;br=aK}else if(($|0)==5136){c[j>>2]=c[j>>2]|4;bp=0;bq=R;br=Q}else if(($|0)==5129){c[j>>2]=c[j>>2]|4;bp=0;bq=R;br=Q}else if(($|0)==5173){js()}else if(($|0)==5152){js()}else if(($|0)==5218){c[j>>2]=c[j>>2]|4;bp=0;bq=aJ;br=aK}else if(($|0)==5220){L5891:do{if((_|0)!=0){aY=_;a_=_+4|0;a$=_+8|0;a0=1;while(1){T=a[aY]|0;r=T&255;if((r&1|0)==0){bs=r>>>1}else{bs=c[a_>>2]|0}if(a0>>>0>=bs>>>0){break L5891}r=c[f>>2]|0;if(!((r|0)==0^(c[H>>2]|0)==0)){break}aZ=c[r+12>>2]|0;if((aZ|0)==(c[r+16>>2]|0)){o=bJ[c[(c[r>>2]|0)+36>>2]&1023](r)|0;bt=o;bu=a[aY]|0}else{bt=c[aZ>>2]|0;bu=T}if((bu&1)<<24>>24==0){bv=a_}else{bv=c[a$>>2]|0}if((bt|0)!=(c[bv+(a0<<2)>>2]|0)){break}T=a0+1|0;aZ=c[f>>2]|0;o=aZ+12|0;r=c[o>>2]|0;S=aZ+16|0;if((r|0)==(c[S>>2]|0)){bw=bJ[c[(c[aZ>>2]|0)+40>>2]&1023](aZ)|0}else{c[o>>2]=r+4|0;bw=c[r>>2]|0}if((bw|0)!=-1){r=c[o>>2]|0;if((r|0)==(c[S>>2]|0)){bx=bJ[c[(c[aZ>>2]|0)+36>>2]&1023](aZ)|0}else{bx=c[r>>2]|0}if((bx|0)!=-1){a0=T;continue}}c[f>>2]=0;a0=T}c[j>>2]=c[j>>2]|4;bp=0;bq=Y;br=X;break L5879}}while(0);if((Y|0)==(Z|0)){bp=1;bq=Z;br=X;break}c[D>>2]=0;ef(v,Y,Z,D);if((c[D>>2]|0)==0){bp=1;bq=Y;br=X;break}c[j>>2]=c[j>>2]|4;bp=0;bq=Y;br=X}}while(0);if((a[G]&1)<<24>>24!=0){jo(c[J>>2]|0)}if((a[F]&1)<<24>>24!=0){jo(c[L>>2]|0)}if((a[E]&1)<<24>>24!=0){jo(c[x+8>>2]|0)}if((a[w]&1)<<24>>24!=0){jo(c[v+8>>2]|0)}if((bq|0)==0){i=p;return bp|0}bG[br&1023](bq);i=p;return bp|0} | |
function gL(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,l=0,m=0,n=0,o=0;f=b;g=d;h=a[f]|0;i=h&255;if((i&1|0)==0){j=i>>>1}else{j=c[b+4>>2]|0}if((h&1)<<24>>24==0){k=1;l=h}else{h=c[b>>2]|0;k=(h&-2)-1|0;l=h&255}h=e-g>>2;if((h|0)==0){return b|0}if((k-j|0)>>>0<h>>>0){dm(b,k,(j+h|0)-k|0,j,j,0,0);m=a[f]|0}else{m=l}if((m&1)<<24>>24==0){n=b+4|0}else{n=c[b+8>>2]|0}m=n+(j<<2)|0;if((d|0)==(e|0)){o=m}else{l=(j+(((e-4|0)+(-g|0)|0)>>>2)|0)+1|0;g=d;d=m;while(1){c[d>>2]=c[g>>2]|0;m=g+4|0;if((m|0)==(e|0)){break}else{g=m;d=d+4|0}}o=n+(l<<2)|0}c[o>>2]=0;o=j+h|0;if((a[f]&1)<<24>>24==0){a[f]=o<<1&255;return b|0}else{c[b+4>>2]=o;return b|0}return 0}function gM(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,E=0,F=0,G=0,H=0,I=0,J=0;d=i;i=i+436|0;l=e;e=i;i=i+4|0;c[e>>2]=c[l>>2]|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=d|0;m=d+12|0;n=d+412|0;o=d+420|0;p=d+424|0;q=d+428|0;r=d+432|0;s=n|0;c[s>>2]=m|0;t=n+4|0;c[t>>2]=414;u=p|0;v=c[h+28>>2]|0;c[u>>2]=v;w=v+4|0;D=c[w>>2]|0,c[w>>2]=D+1,D;w=c[u>>2]|0;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;v=c[w+20>>2]|0;do{if((c[w+24>>2]|0)-v>>2>>>0>l>>>0){x=c[v+(l<<2)>>2]|0;if((x|0)==0){break}y=x;a[q]=0;z=c[f>>2]|0;c[r>>2]=z;if(gK(e,r,g,p,c[h+4>>2]|0,j,q,y,n,o,m+400|0)|0){A=k;if((a[A]&1)<<24>>24==0){c[k+4>>2]=0;a[A]=0}else{c[c[k+8>>2]>>2]=0;c[k+4>>2]=0}B=x;do{if((a[q]&1)<<24>>24!=0){x=bS[c[(c[B>>2]|0)+44>>2]&1023](y,45)|0;C=a[A]|0;if((C&1)<<24>>24==0){E=1;F=C}else{C=c[k>>2]|0;E=(C&-2)-1|0;F=C&255}C=F&255;if((C&1|0)==0){G=C>>>1}else{G=c[k+4>>2]|0}if((G|0)==(E|0)){dm(k,E,1,E,E,0,0);H=a[A]|0}else{H=F}if((H&1)<<24>>24==0){I=k+4|0}else{I=c[k+8>>2]|0}c[I+(G<<2)>>2]=x;x=G+1|0;c[I+(x<<2)>>2]=0;if((a[A]&1)<<24>>24==0){a[A]=x<<1&255;break}else{c[k+4>>2]=x;break}}}while(0);A=bS[c[(c[B>>2]|0)+44>>2]&1023](y,48)|0;x=c[o>>2]|0;C=x-4|0;J=c[s>>2]|0;while(1){if(J>>>0>=C>>>0){break}if((c[J>>2]|0)==(A|0)){J=J+4|0}else{break}}gL(k,J,x)}A=c[e>>2]|0;if(!((A|0)==0^(z|0)==0)){c[j>>2]=c[j>>2]|2}c[b>>2]=A;A=c[u>>2]|0;C=A+4|0;if(((D=c[C>>2]|0,c[C>>2]=D+ -1,D)|0)==0){bG[c[(c[A>>2]|0)+8>>2]&1023](A|0)}A=c[s>>2]|0;c[s>>2]=0;if((A|0)==0){i=d;return}bG[c[t>>2]&1023](A);i=d;return}}while(0);d=a1(4)|0;c[d>>2]=5247516;av(d|0,5252752,514)}function gN(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,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;n=i;i=i+128|0;o=n|0;p=n+12|0;q=n+24|0;r=n+28|0;s=n+40|0;t=n+52|0;u=n+64|0;v=n+76|0;w=n+80|0;y=n+92|0;z=n+104|0;A=n+116|0;if(b){b=c[d>>2]|0;if((c[1313859]|0)!=-1){c[p>>2]=5255436;c[p+4>>2]=24;c[p+8>>2]=0;cV(5255436,p,406)}p=(c[1313860]|0)-1|0;B=c[b+20>>2]|0;if((c[b+24>>2]|0)-B>>2>>>0<=p>>>0){C=a1(4)|0;D=C;c[D>>2]=5247516;av(C|0,5252752,514)}b=c[B+(p<<2)>>2]|0;if((b|0)==0){C=a1(4)|0;D=C;c[D>>2]=5247516;av(C|0,5252752,514)}C=b;bH[c[(c[b>>2]|0)+44>>2]&1023](q,C);D=e;x=c[q>>2]|0;a[D]=x&255;x=x>>8;a[D+1|0]=x&255;x=x>>8;a[D+2|0]=x&255;x=x>>8;a[D+3|0]=x&255;D=b;bH[c[(c[D>>2]|0)+32>>2]&1023](r,C);q=r;p=a[q]|0;if((p&1)<<24>>24==0){E=r+4|0}else{E=c[r+8>>2]|0}B=p&255;if((B&1|0)==0){F=B>>>1}else{F=c[r+4>>2]|0}da(l,E,F);if((a[q]&1)<<24>>24!=0){jo(c[r+8>>2]|0)}bH[c[(c[D>>2]|0)+28>>2]&1023](s,C);r=s;q=a[r]|0;if((q&1)<<24>>24==0){G=s+4|0}else{G=c[s+8>>2]|0}F=q&255;if((F&1|0)==0){H=F>>>1}else{H=c[s+4>>2]|0}da(k,G,H);if((a[r]&1)<<24>>24!=0){jo(c[s+8>>2]|0)}s=b;c[f>>2]=bJ[c[(c[s>>2]|0)+12>>2]&1023](C)|0;c[g>>2]=bJ[c[(c[s>>2]|0)+16>>2]&1023](C)|0;bH[c[(c[b>>2]|0)+20>>2]&1023](t,C);cR(h,t);if((a[t]&1)<<24>>24!=0){jo(c[t+8>>2]|0)}bH[c[(c[D>>2]|0)+24>>2]&1023](u,C);D=u;t=a[D]|0;if((t&1)<<24>>24==0){I=u+4|0}else{I=c[u+8>>2]|0}b=t&255;if((b&1|0)==0){J=b>>>1}else{J=c[u+4>>2]|0}da(j,I,J);if((a[D]&1)<<24>>24!=0){jo(c[u+8>>2]|0)}u=bJ[c[(c[s>>2]|0)+36>>2]&1023](C)|0;c[m>>2]=u;i=n;return}else{C=c[d>>2]|0;if((c[1313861]|0)!=-1){c[o>>2]=5255444;c[o+4>>2]=24;c[o+8>>2]=0;cV(5255444,o,406)}o=(c[1313862]|0)-1|0;d=c[C+20>>2]|0;if((c[C+24>>2]|0)-d>>2>>>0<=o>>>0){K=a1(4)|0;L=K;c[L>>2]=5247516;av(K|0,5252752,514)}C=c[d+(o<<2)>>2]|0;if((C|0)==0){K=a1(4)|0;L=K;c[L>>2]=5247516;av(K|0,5252752,514)}K=C;bH[c[(c[C>>2]|0)+44>>2]&1023](v,K);L=e;x=c[v>>2]|0;a[L]=x&255;x=x>>8;a[L+1|0]=x&255;x=x>>8;a[L+2|0]=x&255;x=x>>8;a[L+3|0]=x&255;L=C;bH[c[(c[L>>2]|0)+32>>2]&1023](w,K);v=w;e=a[v]|0;if((e&1)<<24>>24==0){M=w+4|0}else{M=c[w+8>>2]|0}o=e&255;if((o&1|0)==0){N=o>>>1}else{N=c[w+4>>2]|0}da(l,M,N);if((a[v]&1)<<24>>24!=0){jo(c[w+8>>2]|0)}bH[c[(c[L>>2]|0)+28>>2]&1023](y,K);w=y;v=a[w]|0;if((v&1)<<24>>24==0){O=y+4|0}else{O=c[y+8>>2]|0}N=v&255;if((N&1|0)==0){P=N>>>1}else{P=c[y+4>>2]|0}da(k,O,P);if((a[w]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}y=C;c[f>>2]=bJ[c[(c[y>>2]|0)+12>>2]&1023](K)|0;c[g>>2]=bJ[c[(c[y>>2]|0)+16>>2]&1023](K)|0;bH[c[(c[C>>2]|0)+20>>2]&1023](z,K);cR(h,z);if((a[z]&1)<<24>>24!=0){jo(c[z+8>>2]|0)}bH[c[(c[L>>2]|0)+24>>2]&1023](A,K);L=A;z=a[L]|0;if((z&1)<<24>>24==0){Q=A+4|0}else{Q=c[A+8>>2]|0}h=z&255;if((h&1|0)==0){R=h>>>1}else{R=c[A+4>>2]|0}da(j,Q,R);if((a[L]&1)<<24>>24!=0){jo(c[A+8>>2]|0)}u=bJ[c[(c[y>>2]|0)+36>>2]&1023](K)|0;c[m>>2]=u;i=n;return}}function gO(a){a=a|0;return}function gP(a){a=a|0;jo(a);return}function gQ(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,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;l=i;i=i+100|0;m=e;e=i;i=i+4|0;c[e>>2]=c[m>>2]|0;m=(g-f|0)/12&-1;n=l|0;do{if(m>>>0>100){o=je(m)|0;if((o|0)!=0){p=o;q=o;break}o=a1(4)|0;c[o>>2]=5247492;av(o|0,5252740,66)}else{p=n;q=0}}while(0);n=(f|0)==(g|0);L6137:do{if(n){r=m;s=0}else{o=m;t=0;u=p;v=f;while(1){w=d[v]|0;if((w&1|0)==0){x=w>>>1}else{x=c[v+4>>2]|0}if((x|0)==0){a[u]=2;y=t+1|0;z=o-1|0}else{a[u]=1;y=t;z=o}w=v+12|0;if((w|0)==(g|0)){r=z;s=y;break L6137}else{o=z;t=y;u=u+1|0;v=w}}}}while(0);y=b|0;b=c[y>>2]|0;z=e|0;e=c[z>>2]|0;L6149:do{if((b|0)==0^(e|0)==0){x=h;m=r;v=s;u=0;t=e;o=b;while(1){if((m|0)==0){A=o;B=t;break L6149}w=c[o+12>>2]|0;if((w|0)==(c[o+16>>2]|0)){C=bJ[c[(c[o>>2]|0)+36>>2]&1023](o)|0}else{C=c[w>>2]|0}if(k){D=C}else{D=bS[c[(c[x>>2]|0)+28>>2]&1023](h,C)|0}L6161:do{if(n){E=v;F=m}else{w=u+1|0;G=m;H=v;I=p;J=0;K=f;while(1){do{if(a[I]<<24>>24==1){L=K;if((a[L]&1)<<24>>24==0){M=K+4|0}else{M=c[K+8>>2]|0}N=c[M+(u<<2)>>2]|0;if(k){O=N}else{O=bS[c[(c[x>>2]|0)+28>>2]&1023](h,N)|0}if((D|0)!=(O|0)){a[I]=0;P=J;Q=H;R=G-1|0;break}N=d[L]|0;if((N&1|0)==0){S=N>>>1}else{S=c[K+4>>2]|0}if((S|0)!=(w|0)){P=1;Q=H;R=G;break}a[I]=2;P=1;Q=H+1|0;R=G-1|0}else{P=J;Q=H;R=G}}while(0);N=K+12|0;if((N|0)==(g|0)){break}G=R;H=Q;I=I+1|0;J=P;K=N}if((P&1)<<24>>24==0){E=Q;F=R;break}K=c[y>>2]|0;J=K+12|0;I=c[J>>2]|0;H=K+16|0;if((I|0)==(c[H>>2]|0)){T=bJ[c[(c[K>>2]|0)+40>>2]&1023](K)|0}else{c[J>>2]=I+4|0;T=c[I>>2]|0}do{if((T|0)==-1){U=5491}else{I=c[J>>2]|0;if((I|0)==(c[H>>2]|0)){V=bJ[c[(c[K>>2]|0)+36>>2]&1023](K)|0}else{V=c[I>>2]|0}if((V|0)==-1){U=5491;break}else{break}}}while(0);if((U|0)==5491){U=0;c[y>>2]=0}if((Q+R|0)>>>0<2|n){E=Q;F=R;break}K=u+1|0;H=Q;J=p;I=f;while(1){do{if(a[J]<<24>>24==2){G=d[I]|0;if((G&1|0)==0){W=G>>>1}else{W=c[I+4>>2]|0}if((W|0)==(K|0)){X=H;break}a[J]=0;X=H-1|0}else{X=H}}while(0);G=I+12|0;if((G|0)==(g|0)){E=X;F=R;break L6161}else{H=X;J=J+1|0;I=G}}}}while(0);I=c[y>>2]|0;J=c[z>>2]|0;if((I|0)==0^(J|0)==0){m=F;v=E;u=u+1|0;t=J;o=I}else{A=I;B=J;break L6149}}}else{A=b;B=e}}while(0);if(!((A|0)==0^(B|0)==0)){c[j>>2]=c[j>>2]|2}L6215:do{if(n){U=5508}else{B=f;A=p;while(1){if(a[A]<<24>>24==2){Y=B;break L6215}e=B+12|0;if((e|0)==(g|0)){U=5508;break L6215}B=e;A=A+1|0}}}while(0);if((U|0)==5508){c[j>>2]=c[j>>2]|4;Y=g}if((q|0)==0){i=l;return Y|0}jf(q);i=l;return Y|0}function gR(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;e=a+4|0;f=(c[e>>2]|0)!=414;g=a|0;a=c[g>>2]|0;h=a;i=(c[d>>2]|0)-h|0;j=i>>>0<2147483647?i<<1:-1;i=(c[b>>2]|0)-h>>2;if(f){k=a}else{k=0}a=jg(k,j)|0;k=a;if((a|0)==0){js()}do{if(f){c[g>>2]=k;l=k}else{a=c[g>>2]|0;c[g>>2]=k;if((a|0)==0){l=k;break}bG[c[e>>2]&1023](a);l=c[g>>2]|0}}while(0);c[e>>2]=218;c[b>>2]=l+(i<<2)|0;c[d>>2]=(c[g>>2]|0)+(j>>>2<<2)|0;return}function gS(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=+m;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;e=i;i=i+244|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=e|0;o=e+112|0;p=e+216|0;q=e+220|0;r=e+224|0;s=e+228|0;t=e+232|0;u=t;v=i;i=i+12|0;x=v;y=i;i=i+12|0;z=y;A=i;i=i+4|0;B=i;i=i+100|0;C=i;i=i+4|0;E=i;i=i+4|0;F=i;i=i+4|0;G=e+12|0;c[o>>2]=G;H=e+116|0;I=as(G|0,100,5243796,(w=i,i=i+8|0,h[k>>3]=m,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0;do{if(I>>>0>99){do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);G=e1(o,c[1311659]|0,5243796,(w=i,i=i+8|0,h[k>>3]=m,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0;J=c[o>>2]|0;if((J|0)==0){K=a1(4)|0;c[K>>2]=5247492;av(K|0,5252740,66)}K=je(G)|0;if((K|0)!=0){L=K;M=G;N=J;O=K;break}K=a1(4)|0;c[K>>2]=5247492;av(K|0,5252740,66)}else{L=H;M=I;N=0;O=0}}while(0);I=p|0;H=c[j+28>>2]|0;c[I>>2]=H;K=H+4|0;D=c[K>>2]|0,c[K>>2]=D+1,D;K=c[I>>2]|0;if((c[1313740]|0)!=-1){c[n>>2]=5254960;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254960,n,406)}n=(c[1313741]|0)-1|0;H=c[K+20>>2]|0;do{if((c[K+24>>2]|0)-H>>2>>>0>n>>>0){J=c[H+(n<<2)>>2]|0;if((J|0)==0){break}G=J;P=c[o>>2]|0;bP[c[(c[J>>2]|0)+32>>2]&1023](G,P,P+M|0,L);if((M|0)==0){Q=0}else{Q=a[c[o>>2]|0]<<24>>24==45}c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;gT(g,Q,p,q,r,s,t,v,y,A);P=B|0;J=c[A>>2]|0;if((M|0)>(J|0)){R=d[z]|0;if((R&1|0)==0){S=R>>>1}else{S=c[y+4>>2]|0}R=d[x]|0;if((R&1|0)==0){T=R>>>1}else{T=c[v+4>>2]|0}U=((M-J<<1|1)+S|0)+T|0}else{R=d[z]|0;if((R&1|0)==0){V=R>>>1}else{V=c[y+4>>2]|0}R=d[x]|0;if((R&1|0)==0){W=R>>>1}else{W=c[v+4>>2]|0}U=(V+2|0)+W|0}R=U+J|0;do{if(R>>>0>100){X=je(R)|0;if((X|0)!=0){Y=X;Z=X;break}X=a1(4)|0;c[X>>2]=5247492;av(X|0,5252740,66)}else{Y=P;Z=0}}while(0);gV(Y,C,E,c[j+4>>2]|0,L,L+M|0,G,Q,q,a[r]|0,a[s]|0,t,v,y,J);c[F>>2]=c[f>>2]|0;b7(b,F,Y,c[C>>2]|0,c[E>>2]|0,j,l);if((Z|0)!=0){jf(Z)}if((a[z]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}if((a[x]&1)<<24>>24!=0){jo(c[v+8>>2]|0)}if((a[u]&1)<<24>>24!=0){jo(c[t+8>>2]|0)}P=c[I>>2]|0;R=P+4|0;if(((D=c[R>>2]|0,c[R>>2]=D+ -1,D)|0)==0){bG[c[(c[P>>2]|0)+8>>2]&1023](P|0)}if((O|0)!=0){jf(O)}if((N|0)==0){i=e;return}jf(N);i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function gT(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,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;n=i;i=i+28|0;o=n|0;p=n+12|0;q=n+24|0;r=q;s=i;i=i+12|0;t=i;i=i+4|0;u=t;v=i;i=i+12|0;w=i;i=i+12|0;y=i;i=i+12|0;z=i;i=i+4|0;A=z;B=i;i=i+12|0;C=i;i=i+4|0;D=C;E=i;i=i+12|0;F=i;i=i+12|0;G=i;i=i+12|0;H=c[e>>2]|0;if(b){if((c[1313863]|0)!=-1){c[p>>2]=5255452;c[p+4>>2]=24;c[p+8>>2]=0;cV(5255452,p,406)}p=(c[1313864]|0)-1|0;b=c[H+20>>2]|0;if((c[H+24>>2]|0)-b>>2>>>0<=p>>>0){I=a1(4)|0;J=I;c[J>>2]=5247516;av(I|0,5252752,514)}e=c[b+(p<<2)>>2]|0;if((e|0)==0){I=a1(4)|0;J=I;c[J>>2]=5247516;av(I|0,5252752,514)}I=e;J=c[e>>2]|0;do{if(d){bH[c[J+44>>2]&1023](r,I);p=f;x=c[q>>2]|0;a[p]=x&255;x=x>>8;a[p+1|0]=x&255;x=x>>8;a[p+2|0]=x&255;x=x>>8;a[p+3|0]=x&255;bH[c[(c[e>>2]|0)+32>>2]&1023](s,I);cR(l,s);if((a[s]&1)<<24>>24==0){break}jo(c[s+8>>2]|0)}else{bH[c[J+40>>2]&1023](u,I);p=f;x=c[t>>2]|0;a[p]=x&255;x=x>>8;a[p+1|0]=x&255;x=x>>8;a[p+2|0]=x&255;x=x>>8;a[p+3|0]=x&255;bH[c[(c[e>>2]|0)+28>>2]&1023](v,I);cR(l,v);if((a[v]&1)<<24>>24==0){break}jo(c[v+8>>2]|0)}}while(0);v=e;a[g]=bJ[c[(c[v>>2]|0)+12>>2]&1023](I)|0;a[h]=bJ[c[(c[v>>2]|0)+16>>2]&1023](I)|0;v=e;bH[c[(c[v>>2]|0)+20>>2]&1023](w,I);cR(j,w);if((a[w]&1)<<24>>24!=0){jo(c[w+8>>2]|0)}bH[c[(c[v>>2]|0)+24>>2]&1023](y,I);cR(k,y);if((a[y]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}y=bJ[c[(c[e>>2]|0)+36>>2]&1023](I)|0;c[m>>2]=y;i=n;return}else{if((c[1313865]|0)!=-1){c[o>>2]=5255460;c[o+4>>2]=24;c[o+8>>2]=0;cV(5255460,o,406)}o=(c[1313866]|0)-1|0;I=c[H+20>>2]|0;if((c[H+24>>2]|0)-I>>2>>>0<=o>>>0){K=a1(4)|0;L=K;c[L>>2]=5247516;av(K|0,5252752,514)}H=c[I+(o<<2)>>2]|0;if((H|0)==0){K=a1(4)|0;L=K;c[L>>2]=5247516;av(K|0,5252752,514)}K=H;L=c[H>>2]|0;do{if(d){bH[c[L+44>>2]&1023](A,K);o=f;x=c[z>>2]|0;a[o]=x&255;x=x>>8;a[o+1|0]=x&255;x=x>>8;a[o+2|0]=x&255;x=x>>8;a[o+3|0]=x&255;bH[c[(c[H>>2]|0)+32>>2]&1023](B,K);cR(l,B);if((a[B]&1)<<24>>24==0){break}jo(c[B+8>>2]|0)}else{bH[c[L+40>>2]&1023](D,K);o=f;x=c[C>>2]|0;a[o]=x&255;x=x>>8;a[o+1|0]=x&255;x=x>>8;a[o+2|0]=x&255;x=x>>8;a[o+3|0]=x&255;bH[c[(c[H>>2]|0)+28>>2]&1023](E,K);cR(l,E);if((a[E]&1)<<24>>24==0){break}jo(c[E+8>>2]|0)}}while(0);E=H;a[g]=bJ[c[(c[E>>2]|0)+12>>2]&1023](K)|0;a[h]=bJ[c[(c[E>>2]|0)+16>>2]&1023](K)|0;E=H;bH[c[(c[E>>2]|0)+20>>2]&1023](F,K);cR(j,F);if((a[F]&1)<<24>>24!=0){jo(c[F+8>>2]|0)}bH[c[(c[E>>2]|0)+24>>2]&1023](G,K);cR(k,G);if((a[G]&1)<<24>>24!=0){jo(c[G+8>>2]|0)}y=bJ[c[(c[H>>2]|0)+36>>2]&1023](K)|0;c[m>>2]=y;i=n;return}}function gU(a){a=a|0;return}function gV(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,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0,ap=0,aq=0,ar=0,as=0,at=0,au=0,av=0,aw=0,ax=0,ay=0,az=0,aA=0;c[f>>2]=d;s=j;t=q;u=q+1|0;v=q+8|0;w=q+4|0;q=p;x=(g&512|0)==0;y=p+1|0;z=p+4|0;A=p+8|0;p=j+8|0;B=(r|0)>0;C=o;D=o+1|0;E=o+8|0;F=o+4|0;o=-r|0;G=h;h=0;while(1){H=a[l+h|0]<<24>>24;L6378:do{if((H|0)==1){c[e>>2]=c[f>>2]|0;I=bS[c[(c[s>>2]|0)+28>>2]&1023](j,32)|0;J=c[f>>2]|0;c[f>>2]=J+1|0;a[J]=I;K=G}else if((H|0)==4){I=c[f>>2]|0;J=k?G+1|0:G;L=J;while(1){if(L>>>0>=i>>>0){break}M=a[L]|0;if(M<<24>>24<=-1){break}if((b[(c[p>>2]|0)+(M<<24>>24<<1)>>1]&2048)<<16>>16==0){break}else{L=L+1|0}}M=L;if(B){do{if(L>>>0>J>>>0){N=J+(-M|0)|0;O=N>>>0<o>>>0?o:N;N=O+r|0;P=L;Q=r;R=I;while(1){S=P-1|0;T=a[S]|0;c[f>>2]=R+1|0;a[R]=T;T=Q-1|0;U=(T|0)>0;if(!(S>>>0>J>>>0&U)){break}P=S;Q=T;R=c[f>>2]|0}R=L+O|0;if(U){V=N;W=R;X=5704;break}else{Y=0;Z=N;_=R;break}}else{V=r;W=L;X=5704}}while(0);if((X|0)==5704){X=0;Y=bS[c[(c[s>>2]|0)+28>>2]&1023](j,48)|0;Z=V;_=W}M=c[f>>2]|0;c[f>>2]=M+1|0;L6397:do{if((Z|0)>0){R=Z;Q=M;while(1){a[Q]=Y;P=R-1|0;T=c[f>>2]|0;c[f>>2]=T+1|0;if((P|0)>0){R=P;Q=T}else{$=T;break L6397}}}else{$=M}}while(0);a[$]=m;aa=_}else{aa=L}L6402:do{if((aa|0)==(J|0)){M=bS[c[(c[s>>2]|0)+28>>2]&1023](j,48)|0;Q=c[f>>2]|0;c[f>>2]=Q+1|0;a[Q]=M}else{M=a[C]|0;Q=M&255;if((Q&1|0)==0){ab=Q>>>1}else{ab=c[F>>2]|0}do{if((ab|0)==0){ac=aa;ad=0;ae=0;af=-1}else{if((M&1)<<24>>24==0){ag=D}else{ag=c[E>>2]|0}ac=aa;ad=0;ae=0;af=a[ag]<<24>>24;break}}while(0);while(1){do{if((ad|0)==(af|0)){M=c[f>>2]|0;c[f>>2]=M+1|0;a[M]=n;M=ae+1|0;Q=a[C]|0;R=Q&255;if((R&1|0)==0){ah=R>>>1}else{ah=c[F>>2]|0}if(M>>>0>=ah>>>0){ai=af;aj=M;ak=0;break}R=(Q&1)<<24>>24==0;if(R){al=D}else{al=c[E>>2]|0}if(a[al+M|0]<<24>>24==127){ai=-1;aj=M;ak=0;break}if(R){am=D}else{am=c[E>>2]|0}ai=a[am+M|0]<<24>>24;aj=M;ak=0}else{ai=af;aj=ae;ak=ad}}while(0);M=ac-1|0;R=a[M]|0;Q=c[f>>2]|0;c[f>>2]=Q+1|0;a[Q]=R;if((M|0)==(J|0)){break L6402}else{ac=M;ad=ak+1|0;ae=aj;af=ai}}}}while(0);L=c[f>>2]|0;if((I|0)==(L|0)){K=J;break}M=L-1|0;if(I>>>0<M>>>0){an=I;ao=M}else{K=J;break}while(1){M=a[an]|0;a[an]=a[ao]|0;a[ao]=M;M=an+1|0;L=ao-1|0;if(M>>>0<L>>>0){an=M;ao=L}else{K=J;break L6378}}}else if((H|0)==3){J=a[t]|0;I=J&255;if((I&1|0)==0){ap=I>>>1}else{ap=c[w>>2]|0}if((ap|0)==0){K=G;break}if((J&1)<<24>>24==0){aq=u}else{aq=c[v>>2]|0}J=a[aq]|0;I=c[f>>2]|0;c[f>>2]=I+1|0;a[I]=J;K=G}else if((H|0)==0){c[e>>2]=c[f>>2]|0;K=G}else if((H|0)==2){J=a[q]|0;I=J&255;L=(I&1|0)==0;if(L){ar=I>>>1}else{ar=c[z>>2]|0}if((ar|0)==0|x){K=G;break}if((J&1)<<24>>24==0){as=y;at=y}else{J=c[A>>2]|0;as=J;at=J}if(L){au=I>>>1}else{au=c[z>>2]|0}I=as+au|0;L=c[f>>2]|0;L6458:do{if((at|0)==(I|0)){av=L}else{J=at;M=L;while(1){a[M]=a[J]|0;R=J+1|0;Q=M+1|0;if((R|0)==(I|0)){av=Q;break L6458}else{J=R;M=Q}}}}while(0);c[f>>2]=av;K=G}else{K=G}}while(0);H=h+1|0;if((H|0)==4){break}else{G=K;h=H}}h=a[t]|0;t=h&255;K=(t&1|0)==0;if(K){aw=t>>>1}else{aw=c[w>>2]|0}if(aw>>>0>1){if((h&1)<<24>>24==0){ax=u;ay=u}else{u=c[v>>2]|0;ax=u;ay=u}if(K){az=t>>>1}else{az=c[w>>2]|0}w=ax+az|0;az=c[f>>2]|0;ax=ay+1|0;L6477:do{if((ax|0)==(w|0)){aA=az}else{ay=az;t=ax;while(1){a[ay]=a[t]|0;K=ay+1|0;u=t+1|0;if((u|0)==(w|0)){aA=K;break L6477}else{ay=K;t=u}}}}while(0);c[f>>2]=aA}aA=g&176;if((aA|0)==32){c[e>>2]=c[f>>2]|0;return}else if((aA|0)==16){return}else{c[e>>2]=d;return}}function gW(a){a=a|0;jo(a);return}function gX(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,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;e=i;i=i+40|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=e|0;m=e+12|0;n=e+16|0;o=e+20|0;p=e+24|0;q=e+28|0;r=q;s=i;i=i+12|0;t=s;u=i;i=i+12|0;v=u;w=i;i=i+4|0;x=i;i=i+100|0;y=i;i=i+4|0;z=i;i=i+4|0;A=i;i=i+4|0;B=m|0;C=c[h+28>>2]|0;c[B>>2]=C;E=C+4|0;D=c[E>>2]|0,c[E>>2]=D+1,D;E=c[B>>2]|0;if((c[1313740]|0)!=-1){c[l>>2]=5254960;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254960,l,406)}l=(c[1313741]|0)-1|0;C=c[E+20>>2]|0;do{if((c[E+24>>2]|0)-C>>2>>>0>l>>>0){F=c[C+(l<<2)>>2]|0;if((F|0)==0){break}G=F;H=k;I=k;J=a[I]|0;K=J&255;if((K&1|0)==0){L=K>>>1}else{L=c[k+4>>2]|0}if((L|0)==0){M=0}else{if((J&1)<<24>>24==0){N=H+1|0}else{N=c[k+8>>2]|0}J=a[N]|0;M=J<<24>>24==bS[c[(c[F>>2]|0)+28>>2]&1023](G,45)<<24>>24}c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;gT(g,M,m,n,o,p,q,s,u,w);F=x|0;J=a[I]|0;K=J&255;O=(K&1|0)==0;if(O){P=K>>>1}else{P=c[k+4>>2]|0}Q=c[w>>2]|0;if(P>>>0>Q>>>0){if(O){R=K>>>1}else{R=c[k+4>>2]|0}K=d[v]|0;if((K&1|0)==0){S=K>>>1}else{S=c[u+4>>2]|0}K=d[t]|0;if((K&1|0)==0){T=K>>>1}else{T=c[s+4>>2]|0}U=((R-Q<<1|1)+S|0)+T|0}else{K=d[v]|0;if((K&1|0)==0){V=K>>>1}else{V=c[u+4>>2]|0}K=d[t]|0;if((K&1|0)==0){W=K>>>1}else{W=c[s+4>>2]|0}U=(V+2|0)+W|0}K=U+Q|0;do{if(K>>>0>100){O=je(K)|0;if((O|0)!=0){X=O;Y=O;Z=a[I]|0;break}O=a1(4)|0;c[O>>2]=5247492;av(O|0,5252740,66)}else{X=F;Y=0;Z=J}}while(0);if((Z&1)<<24>>24==0){_=H+1|0;$=H+1|0}else{J=c[k+8>>2]|0;_=J;$=J}J=Z&255;if((J&1|0)==0){aa=J>>>1}else{aa=c[k+4>>2]|0}gV(X,y,z,c[h+4>>2]|0,$,_+aa|0,G,M,n,a[o]|0,a[p]|0,q,s,u,Q);c[A>>2]=c[f>>2]|0;b7(b,A,X,c[y>>2]|0,c[z>>2]|0,h,j);if((Y|0)!=0){jf(Y)}if((a[v]&1)<<24>>24!=0){jo(c[u+8>>2]|0)}if((a[t]&1)<<24>>24!=0){jo(c[s+8>>2]|0)}if((a[r]&1)<<24>>24!=0){jo(c[q+8>>2]|0)}J=c[B>>2]|0;F=J+4|0;if(((D=c[F>>2]|0,c[F>>2]=D+ -1,D)|0)!=0){i=e;return}bG[c[(c[J>>2]|0)+8>>2]&1023](J|0);i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function gY(b,e,f,g,j,l,m){b=b|0;e=e|0;f=f|0;g=g|0;j=j|0;l=l|0;m=+m;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;e=i;i=i+544|0;n=f;f=i;i=i+4|0;c[f>>2]=c[n>>2]|0;n=e|0;o=e+112|0;p=e+516|0;q=e+520|0;r=e+524|0;s=e+528|0;t=e+532|0;u=t;v=i;i=i+12|0;x=v;y=i;i=i+12|0;z=y;A=i;i=i+4|0;B=i;i=i+400|0;C=i;i=i+4|0;E=i;i=i+4|0;F=i;i=i+4|0;G=e+12|0;c[o>>2]=G;H=e+116|0;I=as(G|0,100,5243796,(w=i,i=i+8|0,h[k>>3]=m,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0;do{if(I>>>0>99){do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);G=e1(o,c[1311659]|0,5243796,(w=i,i=i+8|0,h[k>>3]=m,c[w>>2]=c[k>>2]|0,c[w+4>>2]=c[k+4>>2]|0,w)|0)|0;J=c[o>>2]|0;if((J|0)==0){K=a1(4)|0;c[K>>2]=5247492;av(K|0,5252740,66)}K=je(G<<2)|0;L=K;if((K|0)!=0){M=L;N=G;O=J;P=L;break}L=a1(4)|0;c[L>>2]=5247492;av(L|0,5252740,66)}else{M=H;N=I;O=0;P=0}}while(0);I=p|0;H=c[j+28>>2]|0;c[I>>2]=H;L=H+4|0;D=c[L>>2]|0,c[L>>2]=D+1,D;L=c[I>>2]|0;if((c[1313738]|0)!=-1){c[n>>2]=5254952;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254952,n,406)}n=(c[1313739]|0)-1|0;H=c[L+20>>2]|0;do{if((c[L+24>>2]|0)-H>>2>>>0>n>>>0){J=c[H+(n<<2)>>2]|0;if((J|0)==0){break}G=J;K=c[o>>2]|0;bP[c[(c[J>>2]|0)+48>>2]&1023](G,K,K+N|0,M);if((N|0)==0){Q=0}else{Q=a[c[o>>2]|0]<<24>>24==45}c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;gZ(g,Q,p,q,r,s,t,v,y,A);K=B|0;J=c[A>>2]|0;if((N|0)>(J|0)){R=d[z]|0;if((R&1|0)==0){S=R>>>1}else{S=c[y+4>>2]|0}R=d[x]|0;if((R&1|0)==0){T=R>>>1}else{T=c[v+4>>2]|0}U=((N-J<<1|1)+S|0)+T|0}else{R=d[z]|0;if((R&1|0)==0){V=R>>>1}else{V=c[y+4>>2]|0}R=d[x]|0;if((R&1|0)==0){W=R>>>1}else{W=c[v+4>>2]|0}U=(V+2|0)+W|0}R=U+J|0;do{if(R>>>0>100){X=je(R<<2)|0;Y=X;if((X|0)!=0){Z=Y;_=Y;break}Y=a1(4)|0;c[Y>>2]=5247492;av(Y|0,5252740,66)}else{Z=K;_=0}}while(0);g_(Z,C,E,c[j+4>>2]|0,M,M+(N<<2)|0,G,Q,q,c[r>>2]|0,c[s>>2]|0,t,v,y,J);c[F>>2]=c[f>>2]|0;e9(b,F,Z,c[C>>2]|0,c[E>>2]|0,j,l);if((_|0)!=0){jf(_)}if((a[z]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}if((a[x]&1)<<24>>24!=0){jo(c[v+8>>2]|0)}if((a[u]&1)<<24>>24!=0){jo(c[t+8>>2]|0)}K=c[I>>2]|0;R=K+4|0;if(((D=c[R>>2]|0,c[R>>2]=D+ -1,D)|0)==0){bG[c[(c[K>>2]|0)+8>>2]&1023](K|0)}if((P|0)!=0){jf(P)}if((O|0)==0){i=e;return}jf(O);i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function gZ(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,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;n=i;i=i+28|0;o=n|0;p=n+12|0;q=n+24|0;r=q;s=i;i=i+12|0;t=i;i=i+4|0;u=t;v=i;i=i+12|0;w=i;i=i+12|0;y=i;i=i+12|0;z=i;i=i+4|0;A=z;B=i;i=i+12|0;C=i;i=i+4|0;D=C;E=i;i=i+12|0;F=i;i=i+12|0;G=i;i=i+12|0;H=c[e>>2]|0;if(b){if((c[1313859]|0)!=-1){c[p>>2]=5255436;c[p+4>>2]=24;c[p+8>>2]=0;cV(5255436,p,406)}p=(c[1313860]|0)-1|0;b=c[H+20>>2]|0;if((c[H+24>>2]|0)-b>>2>>>0<=p>>>0){I=a1(4)|0;J=I;c[J>>2]=5247516;av(I|0,5252752,514)}e=c[b+(p<<2)>>2]|0;if((e|0)==0){I=a1(4)|0;J=I;c[J>>2]=5247516;av(I|0,5252752,514)}I=e;J=c[e>>2]|0;do{if(d){bH[c[J+44>>2]&1023](r,I);p=f;x=c[q>>2]|0;a[p]=x&255;x=x>>8;a[p+1|0]=x&255;x=x>>8;a[p+2|0]=x&255;x=x>>8;a[p+3|0]=x&255;bH[c[(c[e>>2]|0)+32>>2]&1023](s,I);p=s;b=a[p]|0;if((b&1)<<24>>24==0){K=s+4|0}else{K=c[s+8>>2]|0}L=b&255;if((L&1|0)==0){M=L>>>1}else{M=c[s+4>>2]|0}da(l,K,M);if((a[p]&1)<<24>>24==0){break}jo(c[s+8>>2]|0)}else{bH[c[J+40>>2]&1023](u,I);p=f;x=c[t>>2]|0;a[p]=x&255;x=x>>8;a[p+1|0]=x&255;x=x>>8;a[p+2|0]=x&255;x=x>>8;a[p+3|0]=x&255;bH[c[(c[e>>2]|0)+28>>2]&1023](v,I);p=v;L=a[p]|0;if((L&1)<<24>>24==0){N=v+4|0}else{N=c[v+8>>2]|0}b=L&255;if((b&1|0)==0){O=b>>>1}else{O=c[v+4>>2]|0}da(l,N,O);if((a[p]&1)<<24>>24==0){break}jo(c[v+8>>2]|0)}}while(0);v=e;c[g>>2]=bJ[c[(c[v>>2]|0)+12>>2]&1023](I)|0;c[h>>2]=bJ[c[(c[v>>2]|0)+16>>2]&1023](I)|0;bH[c[(c[e>>2]|0)+20>>2]&1023](w,I);cR(j,w);if((a[w]&1)<<24>>24!=0){jo(c[w+8>>2]|0)}bH[c[(c[e>>2]|0)+24>>2]&1023](y,I);e=y;w=a[e]|0;if((w&1)<<24>>24==0){P=y+4|0}else{P=c[y+8>>2]|0}O=w&255;if((O&1|0)==0){Q=O>>>1}else{Q=c[y+4>>2]|0}da(k,P,Q);if((a[e]&1)<<24>>24!=0){jo(c[y+8>>2]|0)}y=bJ[c[(c[v>>2]|0)+36>>2]&1023](I)|0;c[m>>2]=y;i=n;return}else{if((c[1313861]|0)!=-1){c[o>>2]=5255444;c[o+4>>2]=24;c[o+8>>2]=0;cV(5255444,o,406)}o=(c[1313862]|0)-1|0;I=c[H+20>>2]|0;if((c[H+24>>2]|0)-I>>2>>>0<=o>>>0){R=a1(4)|0;S=R;c[S>>2]=5247516;av(R|0,5252752,514)}H=c[I+(o<<2)>>2]|0;if((H|0)==0){R=a1(4)|0;S=R;c[S>>2]=5247516;av(R|0,5252752,514)}R=H;S=c[H>>2]|0;do{if(d){bH[c[S+44>>2]&1023](A,R);o=f;x=c[z>>2]|0;a[o]=x&255;x=x>>8;a[o+1|0]=x&255;x=x>>8;a[o+2|0]=x&255;x=x>>8;a[o+3|0]=x&255;bH[c[(c[H>>2]|0)+32>>2]&1023](B,R);o=B;I=a[o]|0;if((I&1)<<24>>24==0){T=B+4|0}else{T=c[B+8>>2]|0}v=I&255;if((v&1|0)==0){U=v>>>1}else{U=c[B+4>>2]|0}da(l,T,U);if((a[o]&1)<<24>>24==0){break}jo(c[B+8>>2]|0)}else{bH[c[S+40>>2]&1023](D,R);o=f;x=c[C>>2]|0;a[o]=x&255;x=x>>8;a[o+1|0]=x&255;x=x>>8;a[o+2|0]=x&255;x=x>>8;a[o+3|0]=x&255;bH[c[(c[H>>2]|0)+28>>2]&1023](E,R);o=E;v=a[o]|0;if((v&1)<<24>>24==0){V=E+4|0}else{V=c[E+8>>2]|0}I=v&255;if((I&1|0)==0){W=I>>>1}else{W=c[E+4>>2]|0}da(l,V,W);if((a[o]&1)<<24>>24==0){break}jo(c[E+8>>2]|0)}}while(0);E=H;c[g>>2]=bJ[c[(c[E>>2]|0)+12>>2]&1023](R)|0;c[h>>2]=bJ[c[(c[E>>2]|0)+16>>2]&1023](R)|0;bH[c[(c[H>>2]|0)+20>>2]&1023](F,R);cR(j,F);if((a[F]&1)<<24>>24!=0){jo(c[F+8>>2]|0)}bH[c[(c[H>>2]|0)+24>>2]&1023](G,R);H=G;F=a[H]|0;if((F&1)<<24>>24==0){X=G+4|0}else{X=c[G+8>>2]|0}j=F&255;if((j&1|0)==0){Y=j>>>1}else{Y=c[G+4>>2]|0}da(k,X,Y);if((a[H]&1)<<24>>24!=0){jo(c[G+8>>2]|0)}y=bJ[c[(c[E>>2]|0)+36>>2]&1023](R)|0;c[m>>2]=y;i=n;return}}function g_(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,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0,ap=0,aq=0,ar=0,as=0,at=0,au=0,av=0,aw=0,ax=0;c[e>>2]=b;r=i;s=p;t=p+4|0;u=p+8|0;p=o;v=(f&512|0)==0;w=o+4|0;x=o+8|0;o=i;y=(q|0)>0;z=n;A=n+1|0;B=n+8|0;C=n+4|0;n=g;g=0;while(1){D=a[k+g|0]<<24>>24;L6757:do{if((D|0)==1){c[d>>2]=c[e>>2]|0;E=bS[c[(c[r>>2]|0)+44>>2]&1023](i,32)|0;F=c[e>>2]|0;c[e>>2]=F+4|0;c[F>>2]=E;G=n}else if((D|0)==4){E=c[e>>2]|0;F=j?n+4|0:n;H=F;while(1){if(H>>>0>=h>>>0){break}if(bD[c[(c[o>>2]|0)+12>>2]&1023](i,2048,c[H>>2]|0)|0){H=H+4|0}else{break}}if(y){do{if(H>>>0>F>>>0){I=H;J=q;while(1){K=I-4|0;L=c[K>>2]|0;M=c[e>>2]|0;c[e>>2]=M+4|0;c[M>>2]=L;N=J-1|0;O=(N|0)>0;if(K>>>0>F>>>0&O){I=K;J=N}else{break}}if(O){P=N;Q=K;R=6043;break}else{S=0;T=N;U=K;break}}else{P=q;Q=H;R=6043}}while(0);if((R|0)==6043){R=0;S=bS[c[(c[r>>2]|0)+44>>2]&1023](i,48)|0;T=P;U=Q}J=c[e>>2]|0;c[e>>2]=J+4|0;L6773:do{if((T|0)>0){I=T;L=J;while(1){c[L>>2]=S;M=I-1|0;V=c[e>>2]|0;c[e>>2]=V+4|0;if((M|0)>0){I=M;L=V}else{W=V;break L6773}}}else{W=J}}while(0);c[W>>2]=l;X=U}else{X=H}L6778:do{if((X|0)==(F|0)){J=bS[c[(c[r>>2]|0)+44>>2]&1023](i,48)|0;L=c[e>>2]|0;c[e>>2]=L+4|0;c[L>>2]=J}else{J=a[z]|0;L=J&255;if((L&1|0)==0){Y=L>>>1}else{Y=c[C>>2]|0}do{if((Y|0)==0){Z=X;_=0;$=0;aa=-1}else{if((J&1)<<24>>24==0){ab=A}else{ab=c[B>>2]|0}Z=X;_=0;$=0;aa=a[ab]<<24>>24;break}}while(0);while(1){do{if((_|0)==(aa|0)){J=c[e>>2]|0;c[e>>2]=J+4|0;c[J>>2]=m;J=$+1|0;L=a[z]|0;I=L&255;if((I&1|0)==0){ac=I>>>1}else{ac=c[C>>2]|0}if(J>>>0>=ac>>>0){ad=aa;ae=J;af=0;break}I=(L&1)<<24>>24==0;if(I){ag=A}else{ag=c[B>>2]|0}if(a[ag+J|0]<<24>>24==127){ad=-1;ae=J;af=0;break}if(I){ah=A}else{ah=c[B>>2]|0}ad=a[ah+J|0]<<24>>24;ae=J;af=0}else{ad=aa;ae=$;af=_}}while(0);J=Z-4|0;I=c[J>>2]|0;L=c[e>>2]|0;c[e>>2]=L+4|0;c[L>>2]=I;if((J|0)==(F|0)){break L6778}else{Z=J;_=af+1|0;$=ae;aa=ad}}}}while(0);H=c[e>>2]|0;if((E|0)==(H|0)){G=F;break}J=H-4|0;if(E>>>0<J>>>0){ai=E;aj=J}else{G=F;break}while(1){J=c[ai>>2]|0;c[ai>>2]=c[aj>>2]|0;c[aj>>2]=J;J=ai+4|0;H=aj-4|0;if(J>>>0<H>>>0){ai=J;aj=H}else{G=F;break L6757}}}else if((D|0)==2){F=a[p]|0;E=F&255;H=(E&1|0)==0;if(H){ak=E>>>1}else{ak=c[w>>2]|0}if((ak|0)==0|v){G=n;break}if((F&1)<<24>>24==0){al=w;am=w;an=w}else{F=c[x>>2]|0;al=F;am=F;an=F}if(H){ao=E>>>1}else{ao=c[w>>2]|0}E=al+(ao<<2)|0;H=c[e>>2]|0;if((am|0)==(E|0)){ap=H}else{F=((al+(ao-1<<2)|0)+(-an|0)|0)>>>2;J=am;I=H;while(1){c[I>>2]=c[J>>2]|0;L=J+4|0;if((L|0)==(E|0)){break}J=L;I=I+4|0}ap=H+(F+1<<2)|0}c[e>>2]=ap;G=n}else if((D|0)==3){I=a[s]|0;J=I&255;if((J&1|0)==0){aq=J>>>1}else{aq=c[t>>2]|0}if((aq|0)==0){G=n;break}if((I&1)<<24>>24==0){ar=t}else{ar=c[u>>2]|0}I=c[ar>>2]|0;J=c[e>>2]|0;c[e>>2]=J+4|0;c[J>>2]=I;G=n}else if((D|0)==0){c[d>>2]=c[e>>2]|0;G=n}else{G=n}}while(0);D=g+1|0;if((D|0)==4){break}else{n=G;g=D}}g=a[s]|0;s=g&255;G=(s&1|0)==0;if(G){as=s>>>1}else{as=c[t>>2]|0}if(as>>>0>1){if((g&1)<<24>>24==0){at=t;au=t;av=t}else{g=c[u>>2]|0;at=g;au=g;av=g}if(G){aw=s>>>1}else{aw=c[t>>2]|0}t=at+(aw<<2)|0;s=c[e>>2]|0;G=au+4|0;if((G|0)==(t|0)){ax=s}else{au=(((at+(aw-2<<2)|0)+(-av|0)|0)>>>2)+1|0;av=s;aw=G;while(1){c[av>>2]=c[aw>>2]|0;G=aw+4|0;if((G|0)==(t|0)){break}else{av=av+4|0;aw=G}}ax=s+(au<<2)|0}c[e>>2]=ax}ax=f&176;if((ax|0)==32){c[d>>2]=c[e>>2]|0;return}else if((ax|0)==16){return}else{c[d>>2]=b;return}}function g$(a){a=a|0;return}function g0(a){a=a|0;return}function g1(a){a=a|0;jo(a);return}function g2(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((a[d]&1)<<24>>24==0){f=d+1|0}else{f=c[d+8>>2]|0}d=a0(f|0,200)|0;return d>>>(((d|0)!=-1&1)>>>0)|0}function g3(a,b){a=a|0;b=b|0;aL(((b|0)==-1?-1:b<<1)|0);return}function g4(a){a=a|0;jo(a);return}function g5(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((a[d]&1)<<24>>24==0){f=d+1|0}else{f=c[d+8>>2]|0}d=a0(f|0,200)|0;return d>>>(((d|0)!=-1&1)>>>0)|0}function g6(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,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;e=i;i=i+40|0;l=f;f=i;i=i+4|0;c[f>>2]=c[l>>2]|0;l=e|0;m=e+12|0;n=e+16|0;o=e+20|0;p=e+24|0;q=e+28|0;r=q;s=i;i=i+12|0;t=s;u=i;i=i+12|0;v=u;w=i;i=i+4|0;x=i;i=i+400|0;y=i;i=i+4|0;z=i;i=i+4|0;A=i;i=i+4|0;B=m|0;C=c[h+28>>2]|0;c[B>>2]=C;E=C+4|0;D=c[E>>2]|0,c[E>>2]=D+1,D;E=c[B>>2]|0;if((c[1313738]|0)!=-1){c[l>>2]=5254952;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254952,l,406)}l=(c[1313739]|0)-1|0;C=c[E+20>>2]|0;do{if((c[E+24>>2]|0)-C>>2>>>0>l>>>0){F=c[C+(l<<2)>>2]|0;if((F|0)==0){break}G=F;H=k;I=a[H]|0;J=I&255;if((J&1|0)==0){K=J>>>1}else{K=c[k+4>>2]|0}if((K|0)==0){L=0}else{if((I&1)<<24>>24==0){M=k+4|0}else{M=c[k+8>>2]|0}I=c[M>>2]|0;L=(I|0)==(bS[c[(c[F>>2]|0)+44>>2]&1023](G,45)|0)}c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;gZ(g,L,m,n,o,p,q,s,u,w);F=x|0;I=a[H]|0;J=I&255;N=(J&1|0)==0;if(N){O=J>>>1}else{O=c[k+4>>2]|0}P=c[w>>2]|0;if(O>>>0>P>>>0){if(N){Q=J>>>1}else{Q=c[k+4>>2]|0}J=d[v]|0;if((J&1|0)==0){R=J>>>1}else{R=c[u+4>>2]|0}J=d[t]|0;if((J&1|0)==0){S=J>>>1}else{S=c[s+4>>2]|0}T=((Q-P<<1|1)+R|0)+S|0}else{J=d[v]|0;if((J&1|0)==0){U=J>>>1}else{U=c[u+4>>2]|0}J=d[t]|0;if((J&1|0)==0){V=J>>>1}else{V=c[s+4>>2]|0}T=(U+2|0)+V|0}J=T+P|0;do{if(J>>>0>100){N=je(J<<2)|0;W=N;if((N|0)!=0){X=W;Y=W;Z=a[H]|0;break}W=a1(4)|0;c[W>>2]=5247492;av(W|0,5252740,66)}else{X=F;Y=0;Z=I}}while(0);if((Z&1)<<24>>24==0){_=k+4|0;$=k+4|0}else{I=c[k+8>>2]|0;_=I;$=I}I=Z&255;if((I&1|0)==0){aa=I>>>1}else{aa=c[k+4>>2]|0}g_(X,y,z,c[h+4>>2]|0,$,_+(aa<<2)|0,G,L,n,c[o>>2]|0,c[p>>2]|0,q,s,u,P);c[A>>2]=c[f>>2]|0;e9(b,A,X,c[y>>2]|0,c[z>>2]|0,h,j);if((Y|0)!=0){jf(Y)}if((a[v]&1)<<24>>24!=0){jo(c[u+8>>2]|0)}if((a[t]&1)<<24>>24!=0){jo(c[s+8>>2]|0)}if((a[r]&1)<<24>>24!=0){jo(c[q+8>>2]|0)}I=c[B>>2]|0;F=I+4|0;if(((D=c[F>>2]|0,c[F>>2]=D+ -1,D)|0)!=0){i=e;return}bG[c[(c[I>>2]|0)+8>>2]&1023](I|0);i=e;return}}while(0);e=a1(4)|0;c[e>>2]=5247516;av(e|0,5252752,514)}function g7(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,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;d=i;i=i+12|0;j=d|0;k=j;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;l=b;m=h;n=a[h]|0;if((n&1)<<24>>24==0){o=m+1|0;p=m+1|0}else{m=c[h+8>>2]|0;o=m;p=m}m=n&255;if((m&1|0)==0){q=m>>>1}else{q=c[h+4>>2]|0}h=o+q|0;do{if(p>>>0<h>>>0){q=j+1|0;o=j+8|0;m=j|0;n=j+4|0;r=p;s=0;while(1){t=a[r]|0;if((s&1)<<24>>24==0){u=10;v=s}else{w=c[m>>2]|0;u=(w&-2)-1|0;v=w&255}w=v&255;x=(w&1|0)==0?w>>>1:c[n>>2]|0;if((x|0)==(u|0)){if((u|0)==-3){y=6196;break}w=(v&1)<<24>>24==0?q:c[o>>2]|0;do{if(u>>>0<2147483631){z=u+1|0;A=u<<1;B=z>>>0<A>>>0?A:z;if(B>>>0<11){C=11;break}C=B+16&-16}else{C=-2}}while(0);B=jk(C)|0;jt(B,w,u);if((u|0)!=10){jo(w)}c[o>>2]=B;B=C|1;c[m>>2]=B;D=B&255}else{D=v}B=(D&1)<<24>>24==0?q:c[o>>2]|0;a[B+x|0]=t;z=x+1|0;a[B+z|0]=0;B=a[k]|0;if((B&1)<<24>>24==0){A=z<<1&255;a[k]=A;E=A}else{c[n>>2]=z;E=B}B=r+1|0;if(B>>>0<h>>>0){r=B;s=E}else{y=6209;break}}if((y|0)==6209){s=(e|0)==-1?-1:e<<1;if((E&1)<<24>>24==0){F=s;y=6214;break}G=c[j+8>>2]|0;H=s;break}else if((y|0)==6196){cW(0)}}else{F=(e|0)==-1?-1:e<<1;y=6214;break}}while(0);if((y|0)==6214){G=j+1|0;H=F}F=aR(H|0,f|0,g|0,G|0)|0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;G=ju(F)|0;g=F+G|0;L7011:do{if((G|0)>0){f=b+1|0;H=b+4|0;y=b+8|0;e=b|0;E=F;h=0;while(1){D=a[E]|0;if((h&1)<<24>>24==0){I=10;J=h}else{v=c[e>>2]|0;I=(v&-2)-1|0;J=v&255}v=J&255;if((v&1|0)==0){K=v>>>1}else{K=c[H>>2]|0}if((K|0)==(I|0)){dk(b,I,1,I,I,0,0);L=a[l]|0}else{L=J}if((L&1)<<24>>24==0){M=f}else{M=c[y>>2]|0}a[M+K|0]=D;D=K+1|0;a[M+D|0]=0;v=a[l]|0;if((v&1)<<24>>24==0){C=D<<1&255;a[l]=C;N=C}else{c[H>>2]=D;N=v}v=E+1|0;if(v>>>0<g>>>0){E=v;h=N}else{break L7011}}}}while(0);if((a[k]&1)<<24>>24==0){i=d;return}jo(c[j+8>>2]|0);i=d;return}function g8(a,b){a=a|0;b=b|0;aL(((b|0)==-1?-1:b<<1)|0);return}function g9(a){a=a|0;var b=0;c[a>>2]=5248496;b=c[a+8>>2]|0;if((b|0)==0){return}a$(b|0);return}function ha(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,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0;d=i;i=i+204|0;j=d|0;k=d+8|0;l=d+40|0;m=d+44|0;n=d+48|0;o=d+56|0;p=d+184|0;q=d+188|0;r=d+192|0;s=r;t=i;i=i+8|0;u=i;i=i+8|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=0;v=b;w=t|0;c[t+4>>2]=0;c[t>>2]=5248972;x=a[h]|0;if((x&1)<<24>>24==0){y=h+4|0;z=h+4|0}else{A=c[h+8>>2]|0;y=A;z=A}A=x&255;if((A&1|0)==0){B=A>>>1}else{B=c[h+4>>2]|0}h=y+(B<<2)|0;do{if(z>>>0<h>>>0){B=t;y=k|0;A=k+32|0;x=r+1|0;C=r+8|0;D=r|0;E=r+4|0;F=z;G=5248972;L7055:while(1){c[m>>2]=F;H=(bO[c[G+12>>2]&1023](w,j,F,h,m,y,A,l)|0)==2;I=c[m>>2]|0;if(H|(I|0)==(F|0)){J=6261;break}if(y>>>0<(c[l>>2]|0)>>>0){H=y;K=a[s]|0;while(1){L=a[H]|0;if((K&1)<<24>>24==0){M=10;N=K}else{O=c[D>>2]|0;M=(O&-2)-1|0;N=O&255}O=N&255;P=(O&1|0)==0?O>>>1:c[E>>2]|0;if((P|0)==(M|0)){if((M|0)==-3){J=6271;break L7055}O=(N&1)<<24>>24==0?x:c[C>>2]|0;do{if(M>>>0<2147483631){Q=M+1|0;R=M<<1;S=Q>>>0<R>>>0?R:Q;if(S>>>0<11){T=11;break}T=S+16&-16}else{T=-2}}while(0);S=jk(T)|0;jt(S,O,M);if((M|0)!=10){jo(O)}c[C>>2]=S;S=T|1;c[D>>2]=S;U=S&255}else{U=N}S=(U&1)<<24>>24==0?x:c[C>>2]|0;a[S+P|0]=L;Q=P+1|0;a[S+Q|0]=0;S=a[s]|0;if((S&1)<<24>>24==0){R=Q<<1&255;a[s]=R;V=R}else{c[E>>2]=Q;V=S}S=H+1|0;if(S>>>0<(c[l>>2]|0)>>>0){H=S;K=V}else{break}}W=c[m>>2]|0}else{W=I}if(W>>>0>=h>>>0){J=6287;break}F=W;G=c[B>>2]|0}if((J|0)==6287){B=(e|0)==-1?-1:e<<1;if((a[s]&1)<<24>>24==0){X=B;J=6294;break}Y=c[r+8>>2]|0;Z=B;break}else if((J|0)==6261){B=a1(8)|0;c[B>>2]=5247540;G=B+4|0;if((G|0)!=0){F=jl(33)|0;c[F+4>>2]=20;c[F>>2]=20;E=F+12|0;c[G>>2]=E;c[F+8>>2]=0;jt(E,5243456,21)}av(B|0,5252764,186)}else if((J|0)==6271){cW(0)}}else{X=(e|0)==-1?-1:e<<1;J=6294;break}}while(0);if((J|0)==6294){Y=r+1|0;Z=X}X=aR(Z|0,f|0,g|0,Y|0)|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;Y=u|0;c[u+4>>2]=0;c[u>>2]=5248920;g=ju(X)|0;f=X+g|0;L7101:do{if((g|0)>=1){Z=u;J=f;e=o|0;W=o+128|0;h=b+4|0;m=b+8|0;V=b|0;l=X;U=0;N=5248920;while(1){c[q>>2]=l;T=(bO[c[N+16>>2]&1023](Y,n,l,(J-l|0)>32?l+32|0:f,q,e,W,p)|0)==2;M=c[q>>2]|0;if(T|(M|0)==(l|0)){break}if(e>>>0<(c[p>>2]|0)>>>0){T=e;j=U;while(1){w=c[T>>2]|0;if((j&1)<<24>>24==0){_=1;$=j}else{z=c[V>>2]|0;_=(z&-2)-1|0;$=z&255}z=$&255;if((z&1|0)==0){aa=z>>>1}else{aa=c[h>>2]|0}if((aa|0)==(_|0)){dm(b,_,1,_,_,0,0);ab=a[v]|0}else{ab=$}if((ab&1)<<24>>24==0){ac=h}else{ac=c[m>>2]|0}c[ac+(aa<<2)>>2]=w;w=aa+1|0;c[ac+(w<<2)>>2]=0;z=a[v]|0;if((z&1)<<24>>24==0){k=w<<1&255;a[v]=k;ad=k}else{c[h>>2]=w;ad=z}z=T+4|0;if(z>>>0<(c[p>>2]|0)>>>0){T=z;j=ad}else{break}}ae=c[q>>2]|0;af=ad}else{ae=M;af=U}if(ae>>>0>=f>>>0){break L7101}l=ae;U=af;N=c[Z>>2]|0}Z=a1(8)|0;c[Z>>2]=5247540;N=Z+4|0;if((N|0)!=0){U=jl(33)|0;c[U+4>>2]=20;c[U>>2]=20;l=U+12|0;c[N>>2]=l;c[U+8>>2]=0;jt(l,5243456,21)}av(Z|0,5252764,186)}}while(0);if((a[s]&1)<<24>>24==0){i=d;return}jo(c[r+8>>2]|0);i=d;return}function hb(b){b=b|0;var d=0,e=0,f=0,g=0;b=a1(8)|0;c[b>>2]=5247588;d=b+4|0;if((d|0)==0){e=b;c[e>>2]=5247564;av(b|0,5252776,248)}f=jl(19)|0;c[f+4>>2]=6;c[f>>2]=6;g=f+12|0;c[d>>2]=g;c[f+8>>2]=0;a[g]=a[5243772]|0;a[g+1|0]=a[5243773|0]|0;a[g+2|0]=a[5243774|0]|0;a[g+3|0]=a[5243775|0]|0;a[g+4|0]=a[5243776|0]|0;a[g+5|0]=a[5243777|0]|0;a[g+6|0]=a[5243778|0]|0;e=b;c[e>>2]=5247564;av(b|0,5252776,248)}function hc(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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0,ap=0,aq=0;e=i;i=i+336|0;f=e|0;g=e+12|0;h=e+24|0;j=e+36|0;k=e+48|0;l=e+60|0;m=e+72|0;n=e+84|0;o=e+96|0;p=e+108|0;q=e+120|0;r=e+132|0;s=e+144|0;t=e+156|0;u=e+168|0;v=e+180|0;w=e+192|0;x=e+204|0;y=e+216|0;z=e+228|0;A=e+240|0;B=e+252|0;C=e+264|0;E=e+276|0;F=e+288|0;G=e+300|0;H=e+312|0;I=e+324|0;c[b+4>>2]=d-1|0;c[b>>2]=5248728;d=b+8|0;J=d;a[d]=2;a[J+1|0]=67;a[J+2|0]=0;J=b+20|0;d=J|0;K=b+24|0;a[b+144|0]=1;L=b+32|0;M=L;c[K>>2]=M;c[d>>2]=M;c[b+28>>2]=L+112|0;L=28;b=M;while(1){if((b|0)==0){N=0}else{c[b>>2]=0;N=c[K>>2]|0}M=N+4|0;c[K>>2]=M;O=L-1|0;if((O|0)==0){break}else{L=O;b=M}}c[K>>2]=c[d>>2]|0;c[1311709]=0;c[1311708]=5248460;if((c[1313664]|0)!=-1){c[I>>2]=5254656;c[I+4>>2]=24;c[I+8>>2]=0;cV(5254656,I,406)}I=c[1313665]|0;b=I-1|0;D=c[1311709]|0,c[1311709]=D+1,D;L=c[d>>2]|0;N=(c[K>>2]|0)-L>>2;do{if(N>>>0>b>>>0){P=L}else{if(N>>>0<I>>>0){iT(J,I-N|0);P=c[d>>2]|0;break}else{if(N>>>0<=I>>>0){P=L;break}c[K>>2]=L+(I<<2)|0;P=L;break}}}while(0);L=c[P+(b<<2)>>2]|0;do{if((L|0)!=0){P=L+4|0;if(((D=c[P>>2]|0,c[P>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246832;c[1311707]=0;c[1311706]=5248424;if((c[1313662]|0)!=-1){c[H>>2]=5254648;c[H+4>>2]=24;c[H+8>>2]=0;cV(5254648,H,406)}H=c[1313663]|0;b=H-1|0;D=c[1311707]|0,c[1311707]=D+1,D;L=c[d>>2]|0;P=(c[K>>2]|0)-L>>2;do{if(P>>>0>b>>>0){Q=L}else{if(P>>>0<H>>>0){iT(J,H-P|0);Q=c[d>>2]|0;break}else{if(P>>>0<=H>>>0){Q=L;break}c[K>>2]=L+(H<<2)|0;Q=L;break}}}while(0);L=c[Q+(b<<2)>>2]|0;do{if((L|0)!=0){Q=L+4|0;if(((D=c[Q>>2]|0,c[Q>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246824;c[1311759]=0;c[1311758]=5248824;c[1311760]=0;a[5247044]=0;c[1311760]=c[aZ()>>2]|0;if((c[1313740]|0)!=-1){c[G>>2]=5254960;c[G+4>>2]=24;c[G+8>>2]=0;cV(5254960,G,406)}G=c[1313741]|0;b=G-1|0;D=c[1311759]|0,c[1311759]=D+1,D;L=c[d>>2]|0;Q=(c[K>>2]|0)-L>>2;do{if(Q>>>0>b>>>0){R=L}else{if(Q>>>0<G>>>0){iT(J,G-Q|0);R=c[d>>2]|0;break}else{if(Q>>>0<=G>>>0){R=L;break}c[K>>2]=L+(G<<2)|0;R=L;break}}}while(0);L=c[R+(b<<2)>>2]|0;do{if((L|0)!=0){R=L+4|0;if(((D=c[R>>2]|0,c[R>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247032;c[1311757]=0;c[1311756]=5248752;if((c[1313738]|0)!=-1){c[F>>2]=5254952;c[F+4>>2]=24;c[F+8>>2]=0;cV(5254952,F,406)}F=c[1313739]|0;b=F-1|0;D=c[1311757]|0,c[1311757]=D+1,D;L=c[d>>2]|0;R=(c[K>>2]|0)-L>>2;do{if(R>>>0>b>>>0){S=L}else{if(R>>>0<F>>>0){iT(J,F-R|0);S=c[d>>2]|0;break}else{if(R>>>0<=F>>>0){S=L;break}c[K>>2]=L+(F<<2)|0;S=L;break}}}while(0);L=c[S+(b<<2)>>2]|0;do{if((L|0)!=0){S=L+4|0;if(((D=c[S>>2]|0,c[S>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247024;c[1311714]=0;c[1311713]=5248548;if((c[1313668]|0)!=-1){c[E>>2]=5254672;c[E+4>>2]=24;c[E+8>>2]=0;cV(5254672,E,406)}E=c[1313669]|0;b=E-1|0;D=c[1311714]|0,c[1311714]=D+1,D;L=c[d>>2]|0;S=(c[K>>2]|0)-L>>2;do{if(S>>>0>b>>>0){T=L}else{if(S>>>0<E>>>0){iT(J,E-S|0);T=c[d>>2]|0;break}else{if(S>>>0<=E>>>0){T=L;break}c[K>>2]=L+(E<<2)|0;T=L;break}}}while(0);L=c[T+(b<<2)>>2]|0;do{if((L|0)!=0){T=L+4|0;if(((D=c[T>>2]|0,c[T>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246852;c[1311711]=0;c[1311710]=5248496;c[1311712]=0;if((c[1313666]|0)!=-1){c[C>>2]=5254664;c[C+4>>2]=24;c[C+8>>2]=0;cV(5254664,C,406)}C=c[1313667]|0;b=C-1|0;D=c[1311711]|0,c[1311711]=D+1,D;L=c[d>>2]|0;T=(c[K>>2]|0)-L>>2;do{if(T>>>0>b>>>0){U=L}else{if(T>>>0<C>>>0){iT(J,C-T|0);U=c[d>>2]|0;break}else{if(T>>>0<=C>>>0){U=L;break}c[K>>2]=L+(C<<2)|0;U=L;break}}}while(0);L=c[U+(b<<2)>>2]|0;do{if((L|0)!=0){U=L+4|0;if(((D=c[U>>2]|0,c[U>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246840;c[1311716]=0;c[1311715]=5248600;if((c[1313670]|0)!=-1){c[B>>2]=5254680;c[B+4>>2]=24;c[B+8>>2]=0;cV(5254680,B,406)}B=c[1313671]|0;b=B-1|0;D=c[1311716]|0,c[1311716]=D+1,D;L=c[d>>2]|0;U=(c[K>>2]|0)-L>>2;do{if(U>>>0>b>>>0){V=L}else{if(U>>>0<B>>>0){iT(J,B-U|0);V=c[d>>2]|0;break}else{if(U>>>0<=B>>>0){V=L;break}c[K>>2]=L+(B<<2)|0;V=L;break}}}while(0);L=c[V+(b<<2)>>2]|0;do{if((L|0)!=0){V=L+4|0;if(((D=c[V>>2]|0,c[V>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246860;c[1311718]=0;c[1311717]=5248652;if((c[1313672]|0)!=-1){c[A>>2]=5254688;c[A+4>>2]=24;c[A+8>>2]=0;cV(5254688,A,406)}A=c[1313673]|0;b=A-1|0;D=c[1311718]|0,c[1311718]=D+1,D;L=c[d>>2]|0;V=(c[K>>2]|0)-L>>2;do{if(V>>>0>b>>>0){W=L}else{if(V>>>0<A>>>0){iT(J,A-V|0);W=c[d>>2]|0;break}else{if(V>>>0<=A>>>0){W=L;break}c[K>>2]=L+(A<<2)|0;W=L;break}}}while(0);L=c[W+(b<<2)>>2]|0;do{if((L|0)!=0){W=L+4|0;if(((D=c[W>>2]|0,c[W>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246868;c[1311689]=0;c[1311688]=5248016;a[5246760]=46;a[5246761]=44;c[1311691]=0;c[5246768>>2]=0;c[5246772>>2]=0;if((c[1313648]|0)!=-1){c[z>>2]=5254592;c[z+4>>2]=24;c[z+8>>2]=0;cV(5254592,z,406)}z=c[1313649]|0;b=z-1|0;D=c[1311689]|0,c[1311689]=D+1,D;L=c[d>>2]|0;W=(c[K>>2]|0)-L>>2;do{if(W>>>0>b>>>0){X=L}else{if(W>>>0<z>>>0){iT(J,z-W|0);X=c[d>>2]|0;break}else{if(W>>>0<=z>>>0){X=L;break}c[K>>2]=L+(z<<2)|0;X=L;break}}}while(0);L=c[X+(b<<2)>>2]|0;do{if((L|0)!=0){X=L+4|0;if(((D=c[X>>2]|0,c[X>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246752;c[1311682]=0;c[1311681]=5247972;c[1311683]=46;c[1311684]=44;c[1311685]=0;c[5246744>>2]=0;c[5246748>>2]=0;if((c[1313646]|0)!=-1){c[y>>2]=5254584;c[y+4>>2]=24;c[y+8>>2]=0;cV(5254584,y,406)}y=c[1313647]|0;b=y-1|0;D=c[1311682]|0,c[1311682]=D+1,D;L=c[d>>2]|0;X=(c[K>>2]|0)-L>>2;do{if(X>>>0>b>>>0){Y=L}else{if(X>>>0<y>>>0){iT(J,y-X|0);Y=c[d>>2]|0;break}else{if(X>>>0<=y>>>0){Y=L;break}c[K>>2]=L+(y<<2)|0;Y=L;break}}}while(0);L=c[Y+(b<<2)>>2]|0;do{if((L|0)!=0){Y=L+4|0;if(((D=c[Y>>2]|0,c[Y>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246724;c[1311705]=0;c[1311704]=5248356;if((c[1313660]|0)!=-1){c[x>>2]=5254640;c[x+4>>2]=24;c[x+8>>2]=0;cV(5254640,x,406)}x=c[1313661]|0;b=x-1|0;D=c[1311705]|0,c[1311705]=D+1,D;L=c[d>>2]|0;Y=(c[K>>2]|0)-L>>2;do{if(Y>>>0>b>>>0){Z=L}else{if(Y>>>0<x>>>0){iT(J,x-Y|0);Z=c[d>>2]|0;break}else{if(Y>>>0<=x>>>0){Z=L;break}c[K>>2]=L+(x<<2)|0;Z=L;break}}}while(0);L=c[Z+(b<<2)>>2]|0;do{if((L|0)!=0){Z=L+4|0;if(((D=c[Z>>2]|0,c[Z>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246816;c[1311703]=0;c[1311702]=5248288;if((c[1313658]|0)!=-1){c[w>>2]=5254632;c[w+4>>2]=24;c[w+8>>2]=0;cV(5254632,w,406)}w=c[1313659]|0;b=w-1|0;D=c[1311703]|0,c[1311703]=D+1,D;L=c[d>>2]|0;Z=(c[K>>2]|0)-L>>2;do{if(Z>>>0>b>>>0){_=L}else{if(Z>>>0<w>>>0){iT(J,w-Z|0);_=c[d>>2]|0;break}else{if(Z>>>0<=w>>>0){_=L;break}c[K>>2]=L+(w<<2)|0;_=L;break}}}while(0);L=c[_+(b<<2)>>2]|0;do{if((L|0)!=0){_=L+4|0;if(((D=c[_>>2]|0,c[_>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246808;c[1311701]=0;c[1311700]=5248232;if((c[1313656]|0)!=-1){c[v>>2]=5254624;c[v+4>>2]=24;c[v+8>>2]=0;cV(5254624,v,406)}v=c[1313657]|0;b=v-1|0;D=c[1311701]|0,c[1311701]=D+1,D;L=c[d>>2]|0;_=(c[K>>2]|0)-L>>2;do{if(_>>>0>b>>>0){$=L}else{if(_>>>0<v>>>0){iT(J,v-_|0);$=c[d>>2]|0;break}else{if(_>>>0<=v>>>0){$=L;break}c[K>>2]=L+(v<<2)|0;$=L;break}}}while(0);L=c[$+(b<<2)>>2]|0;do{if((L|0)!=0){$=L+4|0;if(((D=c[$>>2]|0,c[$>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246800;c[1311699]=0;c[1311698]=5248176;if((c[1313654]|0)!=-1){c[u>>2]=5254616;c[u+4>>2]=24;c[u+8>>2]=0;cV(5254616,u,406)}u=c[1313655]|0;b=u-1|0;D=c[1311699]|0,c[1311699]=D+1,D;L=c[d>>2]|0;$=(c[K>>2]|0)-L>>2;do{if($>>>0>b>>>0){aa=L}else{if($>>>0<u>>>0){iT(J,u-$|0);aa=c[d>>2]|0;break}else{if($>>>0<=u>>>0){aa=L;break}c[K>>2]=L+(u<<2)|0;aa=L;break}}}while(0);L=c[aa+(b<<2)>>2]|0;do{if((L|0)!=0){aa=L+4|0;if(((D=c[aa>>2]|0,c[aa>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246792;c[1311769]=0;c[1311768]=5249676;if((c[1313865]|0)!=-1){c[t>>2]=5255460;c[t+4>>2]=24;c[t+8>>2]=0;cV(5255460,t,406)}t=c[1313866]|0;b=t-1|0;D=c[1311769]|0,c[1311769]=D+1,D;L=c[d>>2]|0;aa=(c[K>>2]|0)-L>>2;do{if(aa>>>0>b>>>0){ab=L}else{if(aa>>>0<t>>>0){iT(J,t-aa|0);ab=c[d>>2]|0;break}else{if(aa>>>0<=t>>>0){ab=L;break}c[K>>2]=L+(t<<2)|0;ab=L;break}}}while(0);L=c[ab+(b<<2)>>2]|0;do{if((L|0)!=0){ab=L+4|0;if(((D=c[ab>>2]|0,c[ab>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247072;c[1311767]=0;c[1311766]=5249616;if((c[1313863]|0)!=-1){c[s>>2]=5255452;c[s+4>>2]=24;c[s+8>>2]=0;cV(5255452,s,406)}s=c[1313864]|0;b=s-1|0;D=c[1311767]|0,c[1311767]=D+1,D;L=c[d>>2]|0;ab=(c[K>>2]|0)-L>>2;do{if(ab>>>0>b>>>0){ac=L}else{if(ab>>>0<s>>>0){iT(J,s-ab|0);ac=c[d>>2]|0;break}else{if(ab>>>0<=s>>>0){ac=L;break}c[K>>2]=L+(s<<2)|0;ac=L;break}}}while(0);L=c[ac+(b<<2)>>2]|0;do{if((L|0)!=0){ac=L+4|0;if(((D=c[ac>>2]|0,c[ac>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247064;c[1311765]=0;c[1311764]=5249556;if((c[1313861]|0)!=-1){c[r>>2]=5255444;c[r+4>>2]=24;c[r+8>>2]=0;cV(5255444,r,406)}r=c[1313862]|0;b=r-1|0;D=c[1311765]|0,c[1311765]=D+1,D;L=c[d>>2]|0;ac=(c[K>>2]|0)-L>>2;do{if(ac>>>0>b>>>0){ad=L}else{if(ac>>>0<r>>>0){iT(J,r-ac|0);ad=c[d>>2]|0;break}else{if(ac>>>0<=r>>>0){ad=L;break}c[K>>2]=L+(r<<2)|0;ad=L;break}}}while(0);L=c[ad+(b<<2)>>2]|0;do{if((L|0)!=0){ad=L+4|0;if(((D=c[ad>>2]|0,c[ad>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247056;c[1311763]=0;c[1311762]=5249496;if((c[1313859]|0)!=-1){c[q>>2]=5255436;c[q+4>>2]=24;c[q+8>>2]=0;cV(5255436,q,406)}q=c[1313860]|0;b=q-1|0;D=c[1311763]|0,c[1311763]=D+1,D;L=c[d>>2]|0;ad=(c[K>>2]|0)-L>>2;do{if(ad>>>0>b>>>0){ae=L}else{if(ad>>>0<q>>>0){iT(J,q-ad|0);ae=c[d>>2]|0;break}else{if(ad>>>0<=q>>>0){ae=L;break}c[K>>2]=L+(q<<2)|0;ae=L;break}}}while(0);L=c[ae+(b<<2)>>2]|0;do{if((L|0)!=0){ae=L+4|0;if(((D=c[ae>>2]|0,c[ae>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5247048;c[1311668]=0;c[1311667]=5247708;if((c[1313636]|0)!=-1){c[p>>2]=5254544;c[p+4>>2]=24;c[p+8>>2]=0;cV(5254544,p,406)}p=c[1313637]|0;b=p-1|0;D=c[1311668]|0,c[1311668]=D+1,D;L=c[d>>2]|0;ae=(c[K>>2]|0)-L>>2;do{if(ae>>>0>b>>>0){af=L}else{if(ae>>>0<p>>>0){iT(J,p-ae|0);af=c[d>>2]|0;break}else{if(ae>>>0<=p>>>0){af=L;break}c[K>>2]=L+(p<<2)|0;af=L;break}}}while(0);L=c[af+(b<<2)>>2]|0;do{if((L|0)!=0){af=L+4|0;if(((D=c[af>>2]|0,c[af>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246668;c[1311666]=0;c[1311665]=5247676;if((c[1313634]|0)!=-1){c[o>>2]=5254536;c[o+4>>2]=24;c[o+8>>2]=0;cV(5254536,o,406)}o=c[1313635]|0;b=o-1|0;D=c[1311666]|0,c[1311666]=D+1,D;L=c[d>>2]|0;af=(c[K>>2]|0)-L>>2;do{if(af>>>0>b>>>0){ag=L}else{if(af>>>0<o>>>0){iT(J,o-af|0);ag=c[d>>2]|0;break}else{if(af>>>0<=o>>>0){ag=L;break}c[K>>2]=L+(o<<2)|0;ag=L;break}}}while(0);L=c[ag+(b<<2)>>2]|0;do{if((L|0)!=0){ag=L+4|0;if(((D=c[ag>>2]|0,c[ag>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246660;c[1311664]=0;c[1311663]=5247644;if((c[1313632]|0)!=-1){c[n>>2]=5254528;c[n+4>>2]=24;c[n+8>>2]=0;cV(5254528,n,406)}n=c[1313633]|0;b=n-1|0;D=c[1311664]|0,c[1311664]=D+1,D;L=c[d>>2]|0;ag=(c[K>>2]|0)-L>>2;do{if(ag>>>0>b>>>0){ah=L}else{if(ag>>>0<n>>>0){iT(J,n-ag|0);ah=c[d>>2]|0;break}else{if(ag>>>0<=n>>>0){ah=L;break}c[K>>2]=L+(n<<2)|0;ah=L;break}}}while(0);L=c[ah+(b<<2)>>2]|0;do{if((L|0)!=0){ah=L+4|0;if(((D=c[ah>>2]|0,c[ah>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246652;c[1311662]=0;c[1311661]=5247612;if((c[1313630]|0)!=-1){c[m>>2]=5254520;c[m+4>>2]=24;c[m+8>>2]=0;cV(5254520,m,406)}m=c[1313631]|0;b=m-1|0;D=c[1311662]|0,c[1311662]=D+1,D;L=c[d>>2]|0;ah=(c[K>>2]|0)-L>>2;do{if(ah>>>0>b>>>0){ai=L}else{if(ah>>>0<m>>>0){iT(J,m-ah|0);ai=c[d>>2]|0;break}else{if(ah>>>0<=m>>>0){ai=L;break}c[K>>2]=L+(m<<2)|0;ai=L;break}}}while(0);L=c[ai+(b<<2)>>2]|0;do{if((L|0)!=0){ai=L+4|0;if(((D=c[ai>>2]|0,c[ai>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246644;c[1311679]=0;c[1311678]=5247884;c[1311680]=5247932;if((c[1313644]|0)!=-1){c[l>>2]=5254576;c[l+4>>2]=24;c[l+8>>2]=0;cV(5254576,l,406)}l=c[1313645]|0;b=l-1|0;D=c[1311679]|0,c[1311679]=D+1,D;L=c[d>>2]|0;ai=(c[K>>2]|0)-L>>2;do{if(ai>>>0>b>>>0){aj=L}else{if(ai>>>0<l>>>0){iT(J,l-ai|0);aj=c[d>>2]|0;break}else{if(ai>>>0<=l>>>0){aj=L;break}c[K>>2]=L+(l<<2)|0;aj=L;break}}}while(0);L=c[aj+(b<<2)>>2]|0;do{if((L|0)!=0){aj=L+4|0;if(((D=c[aj>>2]|0,c[aj>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246712;c[1311676]=0;c[1311675]=5247796;c[1311677]=5247844;if((c[1313642]|0)!=-1){c[k>>2]=5254568;c[k+4>>2]=24;c[k+8>>2]=0;cV(5254568,k,406)}k=c[1313643]|0;b=k-1|0;D=c[1311676]|0,c[1311676]=D+1,D;L=c[d>>2]|0;aj=(c[K>>2]|0)-L>>2;do{if(aj>>>0>b>>>0){ak=L}else{if(aj>>>0<k>>>0){iT(J,k-aj|0);ak=c[d>>2]|0;break}else{if(aj>>>0<=k>>>0){ak=L;break}c[K>>2]=L+(k<<2)|0;ak=L;break}}}while(0);L=c[ak+(b<<2)>>2]|0;do{if((L|0)!=0){ak=L+4|0;if(((D=c[ak>>2]|0,c[ak>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246700;c[1311673]=0;c[1311672]=5248704;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);c[1311674]=c[1311659]|0;c[1311672]=5247768;if((c[1313640]|0)!=-1){c[j>>2]=5254560;c[j+4>>2]=24;c[j+8>>2]=0;cV(5254560,j,406)}j=c[1313641]|0;b=j-1|0;D=c[1311673]|0,c[1311673]=D+1,D;L=c[d>>2]|0;ak=(c[K>>2]|0)-L>>2;do{if(ak>>>0>b>>>0){al=L}else{if(ak>>>0<j>>>0){iT(J,j-ak|0);al=c[d>>2]|0;break}else{if(ak>>>0<=j>>>0){al=L;break}c[K>>2]=L+(j<<2)|0;al=L;break}}}while(0);L=c[al+(b<<2)>>2]|0;do{if((L|0)!=0){al=L+4|0;if(((D=c[al>>2]|0,c[al>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246688;c[1311670]=0;c[1311669]=5248704;do{if(a[5255540]<<24>>24==0){if((bd(5255540)|0)==0){break}c[1311659]=bs(1,5243860,0)|0}}while(0);c[1311671]=c[1311659]|0;c[1311669]=5247740;if((c[1313638]|0)!=-1){c[h>>2]=5254552;c[h+4>>2]=24;c[h+8>>2]=0;cV(5254552,h,406)}h=c[1313639]|0;b=h-1|0;D=c[1311670]|0,c[1311670]=D+1,D;L=c[d>>2]|0;al=(c[K>>2]|0)-L>>2;do{if(al>>>0>b>>>0){am=L}else{if(al>>>0<h>>>0){iT(J,h-al|0);am=c[d>>2]|0;break}else{if(al>>>0<=h>>>0){am=L;break}c[K>>2]=L+(h<<2)|0;am=L;break}}}while(0);L=c[am+(b<<2)>>2]|0;do{if((L|0)!=0){am=L+4|0;if(((D=c[am>>2]|0,c[am>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246676;c[1311697]=0;c[1311696]=5248096;if((c[1313652]|0)!=-1){c[g>>2]=5254608;c[g+4>>2]=24;c[g+8>>2]=0;cV(5254608,g,406)}g=c[1313653]|0;b=g-1|0;D=c[1311697]|0,c[1311697]=D+1,D;L=c[d>>2]|0;am=(c[K>>2]|0)-L>>2;do{if(am>>>0>b>>>0){an=L}else{if(am>>>0<g>>>0){iT(J,g-am|0);an=c[d>>2]|0;break}else{if(am>>>0<=g>>>0){an=L;break}c[K>>2]=L+(g<<2)|0;an=L;break}}}while(0);L=c[an+(b<<2)>>2]|0;do{if((L|0)!=0){an=L+4|0;if(((D=c[an>>2]|0,c[an>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0)}}while(0);c[(c[d>>2]|0)+(b<<2)>>2]=5246784;c[1311695]=0;c[1311694]=5248060;if((c[1313650]|0)!=-1){c[f>>2]=5254600;c[f+4>>2]=24;c[f+8>>2]=0;cV(5254600,f,406)}f=c[1313651]|0;b=f-1|0;D=c[1311695]|0,c[1311695]=D+1,D;L=c[d>>2]|0;an=(c[K>>2]|0)-L>>2;do{if(an>>>0>b>>>0){ao=L}else{if(an>>>0<f>>>0){iT(J,f-an|0);ao=c[d>>2]|0;break}else{if(an>>>0<=f>>>0){ao=L;break}c[K>>2]=L+(f<<2)|0;ao=L;break}}}while(0);L=c[ao+(b<<2)>>2]|0;if((L|0)==0){ap=c[d>>2]|0;aq=ap+(b<<2)|0;c[aq>>2]=5246776;i=e;return}ao=L+4|0;if(((D=c[ao>>2]|0,c[ao>>2]=D+ -1,D)|0)!=0){ap=c[d>>2]|0;aq=ap+(b<<2)|0;c[aq>>2]=5246776;i=e;return}bG[c[(c[L>>2]|0)+8>>2]&1023](L|0);ap=c[d>>2]|0;aq=ap+(b<<2)|0;c[aq>>2]=5246776;i=e;return}function hd(a,b){a=a|0;b=b|0;return b|0}function he(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 hf(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 hg(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 hh(a){a=a|0;return 1}function hi(a){a=a|0;return 1}function hj(a){a=a|0;return 1}function hk(a,b){a=a|0;b=b|0;return b<<24>>24|0}function hl(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<128?b&255:c)|0}function hm(a,b,c){a=a|0;b=b|0;c=c|0;return(b<<24>>24>-1?b:c)|0}function hn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=d-c|0;return(b>>>0<e>>>0?b:e)|0}function ho(a){a=a|0;c[a+4>>2]=(D=c[1313674]|0,c[1313674]=D+1,D)+1|0;return}function hp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((d|0)==(e|0)){g=d;return g|0}else{h=d;i=f}while(1){c[i>>2]=a[h]<<24>>24;f=h+1|0;if((f|0)==(e|0)){g=e;break}else{h=f;i=i+4|0}}return g|0}function hq(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;if((d|0)==(e|0)){h=d;return h|0}b=(((e-4|0)+(-d|0)|0)>>>2)+1|0;i=d;j=g;while(1){g=c[i>>2]|0;a[j]=g>>>0<128?g&255:f;g=i+4|0;if((g|0)==(e|0)){break}else{i=g;j=j+1|0}}h=d+(b<<2)|0;return h|0}function hr(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((c|0)==(d|0)){f=c;return f|0}else{g=c;h=e}while(1){a[h]=a[g]|0;e=g+1|0;if((e|0)==(d|0)){f=d;break}else{g=e;h=h+1|0}}return f|0}function hs(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,i=0;if((c|0)==(d|0)){g=c;return g|0}else{h=c;i=f}while(1){f=a[h]|0;a[i]=f<<24>>24>-1?f:e;f=h+1|0;if((f|0)==(d|0)){g=d;break}else{h=f;i=i+1|0}}return g|0}function ht(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]=5248728;d=b+24|0;e=c[d>>2]|0;f=b+20|0;g=c[f>>2]|0;L7628:do{if((e|0)==(g|0)){h=e}else{i=0;j=g;while(1){k=c[j+(i<<2)>>2]|0;do{if((k|0)!=0){l=k+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[k>>2]|0)+8>>2]&1023](k|0)}}while(0);k=i+1|0;l=c[f>>2]|0;if(k>>>0<(c[d>>2]|0)-l>>2>>>0){i=k;j=l}else{h=l;break L7628}}}}while(0);do{if((h|0)!=0){c[d>>2]=h;if((h|0)==(b+32|0)){a[b+144|0]=0;break}else{jo(h);break}}}while(0);if((a[b+8|0]&1)<<24>>24==0){m=b;jo(m);return}jo(c[b+16>>2]|0);m=b;jo(m);return}function hu(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c[b>>2]=5248728;d=b+24|0;e=c[d>>2]|0;f=b+20|0;g=c[f>>2]|0;L7647:do{if((e|0)==(g|0)){h=e}else{i=0;j=g;while(1){k=c[j+(i<<2)>>2]|0;do{if((k|0)!=0){l=k+4|0;if(((D=c[l>>2]|0,c[l>>2]=D+ -1,D)|0)!=0){break}bG[c[(c[k>>2]|0)+8>>2]&1023](k|0)}}while(0);k=i+1|0;l=c[f>>2]|0;if(k>>>0<(c[d>>2]|0)-l>>2>>>0){i=k;j=l}else{h=l;break L7647}}}}while(0);do{if((h|0)!=0){c[d>>2]=h;if((h|0)==(b+32|0)){a[b+144|0]=0;break}else{jo(h);break}}}while(0);if((a[b+8|0]&1)<<24>>24==0){return}jo(c[b+16>>2]|0);return}function hv(){var b=0,d=0,e=0;if(a[5255524]<<24>>24!=0){b=c[1311655]|0;return b|0}if((bd(5255524)|0)==0){b=c[1311655]|0;return b|0}do{if(a[5255532]<<24>>24==0){if((bd(5255532)|0)==0){break}hc(5246876,1);c[1311657]=5246876;c[1311656]=5246628}}while(0);d=c[c[1311656]>>2]|0;c[1311658]=d;e=d+4|0;D=c[e>>2]|0,c[e>>2]=D+1,D;c[1311655]=5246632;b=c[1311655]|0;return b|0}function hw(a){a=a|0;jo(a);return}function hx(a){a=a|0;jo(a);return}function hy(b){b=b|0;var d=0;c[b>>2]=5248824;d=c[b+8>>2]|0;do{if((d|0)!=0){if((a[b+12|0]&1)<<24>>24==0){break}jp(d)}}while(0);jo(b);return}function hz(b){b=b|0;var d=0;c[b>>2]=5248824;d=c[b+8>>2]|0;if((d|0)==0){return}if((a[b+12|0]&1)<<24>>24==0){return}jp(d);return}function hA(a){a=a|0;jo(a);return}function hB(a){a=a|0;var b=0,d=0;c[a>>2]=5248496;b=c[a+8>>2]|0;if((b|0)==0){d=a;jo(d);return}a$(b|0);d=a;jo(d);return}function hC(a){a=a|0;if((a|0)==0){return}bG[c[(c[a>>2]|0)+4>>2]&1023](a);return}function hD(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;if(e>>>0>=128){f=0;return f|0}f=(b[(c[aZ()>>2]|0)+(e<<1)>>1]&d)<<16>>16!=0;return f|0}function hE(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if((d|0)==(e|0)){g=d;return g|0}else{h=d;i=f}while(1){f=c[h>>2]|0;if(f>>>0<128){j=b[(c[aZ()>>2]|0)+(f<<1)>>1]|0}else{j=0}b[i>>1]=j;f=h+4|0;if((f|0)==(e|0)){g=e;break}else{h=f;i=i+2|0}}return g|0}function hF(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;if((e|0)==(f|0)){g=e;return g|0}else{h=e}while(1){e=c[h>>2]|0;if(e>>>0<128){if((b[(c[aZ()>>2]|0)+(e<<1)>>1]&d)<<16>>16!=0){g=h;i=6860;break}}e=h+4|0;if((e|0)==(f|0)){g=f;i=6859;break}else{h=e}}if((i|0)==6859){return g|0}else if((i|0)==6860){return g|0}return 0}function hG(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a=e;while(1){if((a|0)==(f|0)){g=f;h=6871;break}e=c[a>>2]|0;if(e>>>0>=128){g=a;h=6870;break}if((b[(c[aZ()>>2]|0)+(e<<1)>>1]&d)<<16>>16==0){g=a;h=6869;break}else{a=a+4|0}}if((h|0)==6870){return g|0}else if((h|0)==6871){return g|0}else if((h|0)==6869){return g|0}return 0}function hH(a,b){a=a|0;b=b|0;var d=0;if(b>>>0>=128){d=b;return d|0}d=c[(c[bc()>>2]|0)+(b<<2)>>2]|0;return d|0}function hI(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)==(d|0)){e=b;return e|0}else{f=b}while(1){b=c[f>>2]|0;if(b>>>0<128){g=c[(c[bc()>>2]|0)+(b<<2)>>2]|0}else{g=b}c[f>>2]=g;b=f+4|0;if((b|0)==(d|0)){e=d;break}else{f=b}}return e|0}function hJ(a,b){a=a|0;b=b|0;var d=0;if(b>>>0>=128){d=b;return d|0}d=c[(c[bh()>>2]|0)+(b<<2)>>2]|0;return d|0}function hK(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if((b|0)==(d|0)){e=b;return e|0}else{f=b}while(1){b=c[f>>2]|0;if(b>>>0<128){g=c[(c[bh()>>2]|0)+(b<<2)>>2]|0}else{g=b}c[f>>2]=g;b=f+4|0;if((b|0)==(d|0)){e=d;break}else{f=b}}return e|0}function hL(a,b){a=a|0;b=b|0;var d=0,e=0;a=b<<24>>24;if(b<<24>>24<=-1){d=a;e=d&255;return e|0}d=c[(c[bc()>>2]|0)+(a<<2)>>2]|0;e=d&255;return e|0}function hM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)==(e|0)){f=d;return f|0}else{g=d}while(1){d=a[g]|0;b=d<<24>>24;if(d<<24>>24>-1){h=c[(c[bc()>>2]|0)+(b<<2)>>2]|0}else{h=b}a[g]=h&255;b=g+1|0;if((b|0)==(e|0)){f=e;break}else{g=b}}return f|0}function hN(a,b){a=a|0;b=b|0;var d=0,e=0;a=b<<24>>24;if(b<<24>>24<=-1){d=a;e=d&255;return e|0}d=c[(c[bh()>>2]|0)+(a<<2)>>2]|0;e=d&255;return e|0}function hO(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)==(e|0)){f=d;return f|0}else{g=d}while(1){d=a[g]|0;b=d<<24>>24;if(d<<24>>24>-1){h=c[(c[bh()>>2]|0)+(b<<2)>>2]|0}else{h=b}a[g]=h&255;b=g+1|0;if((b|0)==(e|0)){f=e;break}else{g=b}}return f|0}function hP(a){a=a|0;return 0}function hQ(a){a=a|0;jo(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,l=0;b=i;i=i+8|0;a=b|0;k=b+4|0;c[a>>2]=d;c[k>>2]=g;l=h0(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d>>1<<1)|0;c[j>>2]=g+((c[k>>2]|0)-g|0)|0;i=b;return l|0}function hS(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=i;i=i+12|0;m=l|0;n=l+8|0;o=e;while(1){if((o|0)==(f|0)){p=f;break}if((c[o>>2]|0)==0){p=o;break}else{o=o+4|0}}c[k>>2]=h;c[g>>2]=e;L7814:do{if((e|0)==(f|0)|(h|0)==(j|0)){q=e}else{o=d;r=m;s=j;t=b+8|0;u=n|0;v=h;w=e;x=p;while(1){y=c[o+4>>2]|0;c[r>>2]=c[o>>2]|0;c[r+4>>2]=y;y=bx(c[t>>2]|0)|0;z=aK(v|0,g|0,x-w>>2|0,s-v|0,d|0)|0;if((y|0)!=0){bx(y|0)}if((z|0)==(-1|0)){A=6953;break}else if((z|0)==0){B=1;A=6989;break}y=(c[k>>2]|0)+z|0;c[k>>2]=y;if((y|0)==(j|0)){A=6986;break}if((x|0)==(f|0)){C=f;D=y;E=c[g>>2]|0}else{y=bx(c[t>>2]|0)|0;z=bA(u|0,0,d|0)|0;if((y|0)!=0){bx(y|0)}if((z|0)==-1){B=2;A=6992;break}y=c[k>>2]|0;if(z>>>0>(s-y|0)>>>0){B=1;A=6991;break}L7833:do{if((z|0)!=0){F=z;G=u;H=y;while(1){I=a[G]|0;c[k>>2]=H+1|0;a[H]=I;I=F-1|0;if((I|0)==0){break L7833}F=I;G=G+1|0;H=c[k>>2]|0}}}while(0);y=(c[g>>2]|0)+4|0;c[g>>2]=y;z=y;while(1){if((z|0)==(f|0)){J=f;break}if((c[z>>2]|0)==0){J=z;break}else{z=z+4|0}}C=J;D=c[k>>2]|0;E=y}if((E|0)==(f|0)|(D|0)==(j|0)){q=E;break L7814}else{v=D;w=E;x=C}}if((A|0)==6986){q=c[g>>2]|0;break}else if((A|0)==6953){c[k>>2]=v;L7846:do{if((w|0)==(c[g>>2]|0)){K=w}else{x=w;u=v;while(1){s=c[x>>2]|0;r=bx(c[t>>2]|0)|0;o=bA(u|0,s|0,m|0)|0;if((r|0)!=0){bx(r|0)}if((o|0)==-1){K=x;break L7846}r=(c[k>>2]|0)+o|0;c[k>>2]=r;o=x+4|0;if((o|0)==(c[g>>2]|0)){K=o;break L7846}else{x=o;u=r}}}}while(0);c[g>>2]=K;B=2;i=l;return B|0}else if((A|0)==6991){i=l;return B|0}else if((A|0)==6992){i=l;return B|0}else if((A|0)==6989){i=l;return B|0}}}while(0);B=(q|0)!=(f|0)&1;i=l;return B|0}function hT(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;l=i;i=i+8|0;m=l|0;n=e;while(1){if((n|0)==(f|0)){o=f;break}if(a[n]<<24>>24==0){o=n;break}else{n=n+1|0}}c[k>>2]=h;c[g>>2]=e;L7866:do{if((e|0)==(f|0)|(h|0)==(j|0)){p=e}else{n=d;q=m;r=j;s=b+8|0;t=h;u=e;v=o;while(1){w=c[n+4>>2]|0;c[q>>2]=c[n>>2]|0;c[q+4>>2]=w;x=v;w=bx(c[s>>2]|0)|0;y=bk(t|0,g|0,x-u|0,r-t>>2|0,d|0)|0;if((w|0)!=0){bx(w|0)}if((y|0)==(-1|0)){z=7008;break}else if((y|0)==0){A=2;z=7047;break}w=(c[k>>2]|0)+(y<<2)|0;c[k>>2]=w;if((w|0)==(j|0)){z=7040;break}y=c[g>>2]|0;if((v|0)==(f|0)){B=f;C=w;D=y}else{E=bx(c[s>>2]|0)|0;F=ax(w|0,y|0,1,d|0)|0;if((E|0)!=0){bx(E|0)}if((F|0)!=0){A=2;z=7044;break}c[k>>2]=(c[k>>2]|0)+4|0;F=(c[g>>2]|0)+1|0;c[g>>2]=F;E=F;while(1){if((E|0)==(f|0)){G=f;break}if(a[E]<<24>>24==0){G=E;break}else{E=E+1|0}}B=G;C=c[k>>2]|0;D=F}if((D|0)==(f|0)|(C|0)==(j|0)){p=D;break L7866}else{t=C;u=D;v=B}}if((z|0)==7040){p=c[g>>2]|0;break}else if((z|0)==7044){i=l;return A|0}else if((z|0)==7008){c[k>>2]=t;L7892:do{if((u|0)==(c[g>>2]|0)){H=u}else{v=t;r=u;while(1){q=bx(c[s>>2]|0)|0;n=ax(v|0,r|0,x-r|0,m|0)|0;if((q|0)!=0){bx(q|0)}if((n|0)==(-2|0)){z=7020;break}else if((n|0)==0){I=r+1|0}else if((n|0)==(-1|0)){z=7019;break}else{I=r+n|0}n=(c[k>>2]|0)+4|0;c[k>>2]=n;if((I|0)==(c[g>>2]|0)){H=I;break L7892}else{v=n;r=I}}if((z|0)==7020){c[g>>2]=r;A=1;i=l;return A|0}else if((z|0)==7019){c[g>>2]=r;A=2;i=l;return A|0}}}while(0);c[g>>2]=H;A=(H|0)!=(f|0)&1;i=l;return A|0}else if((z|0)==7047){i=l;return A|0}}}while(0);A=(p|0)!=(f|0)&1;i=l;return A|0}function hU(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;h=i;i=i+4|0;c[g>>2]=e;e=h|0;j=bx(c[b+8>>2]|0)|0;b=bA(e|0,0,d|0)|0;if((j|0)!=0){bx(j|0)}L7918:do{if((b|0)==(-1|0)|(b|0)==0){k=2}else{j=b-1|0;d=c[g>>2]|0;if(j>>>0>(f-d|0)>>>0){k=1;break}if((j|0)==0){k=0;break}else{l=j;m=e;n=d}while(1){d=a[m]|0;c[g>>2]=n+1|0;a[n]=d;d=l-1|0;if((d|0)==0){k=0;break L7918}l=d;m=m+1|0;n=c[g>>2]|0}}}while(0);i=h;return k|0}function hV(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+8|0;a=bx(c[b>>2]|0)|0;d=aq(0,0,1)|0;if((a|0)!=0){bx(a|0)}if((d|0)!=0){e=-1;return e|0}d=c[b>>2]|0;if((d|0)==0){e=1;return e|0}e=bx(d|0)|0;d=be()|0;if((e|0)==0){f=(d|0)==1;g=f&1;return g|0}bx(e|0);f=(d|0)==1;g=f&1;return g|0}function hW(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;if((f|0)==0|(d|0)==(e|0)){g=0;return g|0}h=e;i=a+8|0;a=d;d=0;j=0;while(1){k=bx(c[i>>2]|0)|0;l=aC(a|0,h-a|0,b|0)|0;if((k|0)!=0){bx(k|0)}if((l|0)==0){m=1;n=a+1|0}else if((l|0)==(-1|0)|(l|0)==(-2|0)){g=d;o=7105;break}else{m=l;n=a+l|0}l=m+d|0;k=j+1|0;if(k>>>0>=f>>>0|(n|0)==(e|0)){g=l;o=7104;break}else{a=n;d=l;j=k}}if((o|0)==7104){return g|0}else if((o|0)==7105){return g|0}return 0}function hX(a){a=a|0;var b=0,d=0,e=0;b=c[a+8>>2]|0;do{if((b|0)==0){d=1}else{a=bx(b|0)|0;e=be()|0;if((a|0)==0){d=e;break}bx(a|0);d=e}}while(0);return d|0}function hY(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 hZ(a){a=a|0;return 0}function h_(a){a=a|0;return 0}function h$(a){a=a|0;return 4}function h0(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,o=0,p=0,q=0,r=0;c[g>>2]=d;c[j>>2]=h;do{if((l&2|0)!=0){if((i-h|0)<3){m=1;return m|0}else{c[j>>2]=h+1|0;a[h]=-17;d=c[j>>2]|0;c[j>>2]=d+1|0;a[d]=-69;d=c[j>>2]|0;c[j>>2]=d+1|0;a[d]=-65;break}}}while(0);h=f;l=c[g>>2]|0;if(l>>>0>=f>>>0){m=0;return m|0}d=i;i=l;L7981:while(1){l=b[i>>1]|0;n=l&65535;if(n>>>0>k>>>0){m=2;o=7150;break}do{if((l&65535)<128){p=c[j>>2]|0;if((d-p|0)<1){m=1;o=7160;break L7981}c[j>>2]=p+1|0;a[p]=l&255}else{if((l&65535)<2048){p=c[j>>2]|0;if((d-p|0)<2){m=1;o=7154;break L7981}c[j>>2]=p+1|0;a[p]=(n>>>6|192)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n&63|128)&255;break}if((l&65535)<55296){p=c[j>>2]|0;if((d-p|0)<3){m=1;o=7157;break L7981}c[j>>2]=p+1|0;a[p]=(n>>>12|224)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n>>>6&63|128)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n&63|128)&255;break}if((l&65535)>=56320){if((l&65535)<57344){m=2;o=7159;break L7981}p=c[j>>2]|0;if((d-p|0)<3){m=1;o=7153;break L7981}c[j>>2]=p+1|0;a[p]=(n>>>12|224)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n>>>6&63|128)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n&63|128)&255;break}if((h-i|0)<4){m=1;o=7155;break L7981}p=i+2|0;q=e[p>>1]|0;if((q&64512|0)!=56320){m=2;o=7151;break L7981}if((d-(c[j>>2]|0)|0)<4){m=1;o=7156;break L7981}r=n&960;if(((r<<10)+65536|n<<10&64512|q&1023)>>>0>k>>>0){m=2;o=7149;break L7981}c[g>>2]=p;p=(r>>>6)+1|0;r=c[j>>2]|0;c[j>>2]=r+1|0;a[r]=(p>>>2|240)&255;r=c[j>>2]|0;c[j>>2]=r+1|0;a[r]=(n>>>2&15|p<<4&48|128)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(n<<4&48|q>>>6&15|128)&255;p=c[j>>2]|0;c[j>>2]=p+1|0;a[p]=(q&63|128)&255}}while(0);n=(c[g>>2]|0)+2|0;c[g>>2]=n;if(n>>>0<f>>>0){i=n}else{m=0;o=7161;break}}if((o|0)==7153){return m|0}else if((o|0)==7156){return m|0}else if((o|0)==7157){return m|0}else if((o|0)==7149){return m|0}else if((o|0)==7160){return m|0}else if((o|0)==7155){return m|0}else if((o|0)==7161){return m|0}else if((o|0)==7154){return m|0}else if((o|0)==7159){return m|0}else if((o|0)==7150){return m|0}else if((o|0)==7151){return m|0}return 0}function h1(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,t=0,u=0,v=0,w=0,x=0,y=0;c[g>>2]=e;c[j>>2]=h;h=c[g>>2]|0;do{if((l&4|0)==0){m=h}else{if((f-h|0)<=2){m=h;break}if(a[h]<<24>>24!=-17){m=h;break}if(a[h+1|0]<<24>>24!=-69){m=h;break}if(a[h+2|0]<<24>>24!=-65){m=h;break}e=h+3|0;c[g>>2]=e;m=e}}while(0);L8026:do{if(m>>>0<f>>>0){h=f;l=i;e=c[j>>2]|0;n=m;L8028:while(1){if(e>>>0>=i>>>0){o=n;break L8026}p=a[n]|0;q=p&255;if(q>>>0>k>>>0){r=2;s=7217;break}do{if(p<<24>>24>-1){b[e>>1]=p&255;c[g>>2]=(c[g>>2]|0)+1|0}else{if((p&255)<194){r=2;s=7213;break L8028}if((p&255)<224){if((h-n|0)<2){r=1;s=7209;break L8028}t=d[n+1|0]|0;if((t&192|0)!=128){r=2;s=7206;break L8028}u=t&63|q<<6&1984;if(u>>>0>k>>>0){r=2;s=7210;break L8028}b[e>>1]=u&65535;c[g>>2]=(c[g>>2]|0)+2|0;break}if((p&255)<240){if((h-n|0)<3){r=1;s=7214;break L8028}u=a[n+1|0]|0;t=a[n+2|0]|0;if((q|0)==224){if((u&-32)<<24>>24!=-96){r=2;s=7215;break L8028}}else if((q|0)==237){if((u&-32)<<24>>24!=-128){r=2;s=7220;break L8028}}else{if((u&-64)<<24>>24!=-128){r=2;s=7208;break L8028}}v=t&255;if((v&192|0)!=128){r=2;s=7203;break L8028}t=(u&255)<<6&4032|q<<12|v&63;if((t&65535)>>>0>k>>>0){r=2;s=7211;break L8028}b[e>>1]=t&65535;c[g>>2]=(c[g>>2]|0)+3|0;break}if((p&255)>=245){r=2;s=7205;break L8028}if((h-n|0)<4){r=1;s=7218;break L8028}t=a[n+1|0]|0;v=a[n+2|0]|0;u=a[n+3|0]|0;if((q|0)==240){if((t+112&255)>=48){r=2;s=7204;break L8028}}else if((q|0)==244){if((t&-16)<<24>>24!=-128){r=2;s=7219;break L8028}}else{if((t&-64)<<24>>24!=-128){r=2;s=7216;break L8028}}w=v&255;if((w&192|0)!=128){r=2;s=7207;break L8028}v=u&255;if((v&192|0)!=128){r=2;s=7223;break L8028}if((l-e|0)<4){r=1;s=7222;break L8028}u=q&7;x=t&255;t=w<<6;y=v&63;if((x<<12&258048|u<<18|t&4032|y)>>>0>k>>>0){r=2;s=7221;break L8028}b[e>>1]=(x<<2&60|w>>>4&3|((x>>>4&3|u<<2)<<6)+16320|55296)&65535;u=(c[j>>2]|0)+2|0;c[j>>2]=u;b[u>>1]=(y|t&960|56320)&65535;c[g>>2]=(c[g>>2]|0)+4|0}}while(0);q=(c[j>>2]|0)+2|0;c[j>>2]=q;p=c[g>>2]|0;if(p>>>0<f>>>0){e=q;n=p}else{o=p;break L8026}}if((s|0)==7213){return r|0}else if((s|0)==7214){return r|0}else if((s|0)==7215){return r|0}else if((s|0)==7216){return r|0}else if((s|0)==7217){return r|0}else if((s|0)==7218){return r|0}else if((s|0)==7219){return r|0}else if((s|0)==7220){return r|0}else if((s|0)==7203){return r|0}else if((s|0)==7221){return r|0}else if((s|0)==7222){return r|0}else if((s|0)==7223){return r|0}else if((s|0)==7208){return r|0}else if((s|0)==7209){return r|0}else if((s|0)==7210){return r|0}else if((s|0)==7211){return r|0}else if((s|0)==7204){return r|0}else if((s|0)==7205){return r|0}else if((s|0)==7206){return r|0}else if((s|0)==7207){return r|0}}else{o=m}}while(0);r=o>>>0<f>>>0&1;return r|0}function h2(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;do{if((g&4|0)==0){h=b}else{if((c-b|0)<=2){h=b;break}if(a[b]<<24>>24!=-17){h=b;break}if(a[b+1|0]<<24>>24!=-69){h=b;break}h=a[b+2|0]<<24>>24==-65?b+3|0:b}}while(0);L8095:do{if(h>>>0<c>>>0&(e|0)!=0){g=c;i=0;j=h;L8097:while(1){k=a[j]|0;l=k&255;if(l>>>0>f>>>0){m=j;break L8095}do{if(k<<24>>24>-1){n=j+1|0;o=i}else{if((k&255)<194){m=j;break L8095}if((k&255)<224){if((g-j|0)<2){m=j;break L8095}p=d[j+1|0]|0;if((p&192|0)!=128){m=j;break L8095}if((p&63|l<<6&1984)>>>0>f>>>0){m=j;break L8095}n=j+2|0;o=i;break}if((k&255)<240){q=j;if((g-q|0)<3){m=j;break L8095}p=d[j+1|0]|0;r=d[j+2|0]|0;s=p<<6&4032|l<<12&61440|r&63;if((l|0)==224){if((p&224|0)!=160){t=7244;break L8097}}else if((l|0)==237){if((p&224|0)!=128){t=7246;break L8097}}else{if((p&192|0)!=128){t=7248;break L8097}}if((r&192|0)!=128|s>>>0>f>>>0){m=j;break L8095}n=j+3|0;o=i;break}if((k&255)>=245){m=j;break L8095}u=j;if((g-u|0)<4){m=j;break L8095}if((e-i|0)>>>0<2){m=j;break L8095}s=a[j+1|0]|0;r=a[j+2|0]|0;p=a[j+3|0]|0;if((l|0)==244){if((s&-16)<<24>>24!=-128){t=7258;break L8097}}else if((l|0)==240){if((s+112&255)>=48){t=7256;break L8097}}else{if((s&-64)<<24>>24!=-128){t=7260;break L8097}}v=r&255;if((v&192|0)!=128){m=j;break L8095}r=p&255;if((r&192|0)!=128){m=j;break L8095}if(((s&255)<<12&258048|l<<18&1835008|v<<6&4032|r&63)>>>0>f>>>0){m=j;break L8095}n=j+4|0;o=i+1|0}}while(0);l=o+1|0;if(n>>>0<c>>>0&l>>>0<e>>>0){i=l;j=n}else{m=n;break L8095}}if((t|0)==7246){w=q-b|0;return w|0}else if((t|0)==7258){w=u-b|0;return w|0}else if((t|0)==7244){w=q-b|0;return w|0}else if((t|0)==7248){w=q-b|0;return w|0}else if((t|0)==7256){w=u-b|0;return w|0}else if((t|0)==7260){w=u-b|0;return w|0}}else{m=h}}while(0);w=m-b|0;return w|0}function h3(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;b=i;i=i+8|0;a=b|0;k=b+4|0;c[a>>2]=d;c[k>>2]=g;l=h1(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d|0)|0;c[j>>2]=g+((c[k>>2]|0)-g>>1<<1)|0;i=b;return l|0}function h4(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return h2(c,d,e,1114111,0)|0}function h5(a){a=a|0;jo(a);return}function h6(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;b=i;i=i+8|0;a=b|0;k=b+4|0;c[a>>2]=d;c[k>>2]=g;l=ib(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d>>2<<2)|0;c[j>>2]=g+((c[k>>2]|0)-g|0)|0;i=b;return l|0}function h7(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 h8(a){a=a|0;return 0}function h9(a){a=a|0;return 0}function ia(a){a=a|0;return 4}function ib(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,n=0;c[e>>2]=b;c[h>>2]=f;do{if((j&2|0)!=0){if((g-f|0)<3){k=1;return k|0}else{c[h>>2]=f+1|0;a[f]=-17;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=-69;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=-65;break}}}while(0);f=c[e>>2]|0;if(f>>>0>=d>>>0){k=0;return k|0}j=g;g=f;L8165:while(1){f=c[g>>2]|0;if((f&-2048|0)==55296|f>>>0>i>>>0){k=2;l=7302;break}do{if(f>>>0<128){b=c[h>>2]|0;if((j-b|0)<1){k=1;l=7307;break L8165}c[h>>2]=b+1|0;a[b]=f&255}else{if(f>>>0<2048){b=c[h>>2]|0;if((j-b|0)<2){k=1;l=7308;break L8165}c[h>>2]=b+1|0;a[b]=(f>>>6|192)&255;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=(f&63|128)&255;break}b=c[h>>2]|0;m=j-b|0;if(f>>>0<65536){if((m|0)<3){k=1;l=7303;break L8165}c[h>>2]=b+1|0;a[b]=(f>>>12|224)&255;n=c[h>>2]|0;c[h>>2]=n+1|0;a[n]=(f>>>6&63|128)&255;n=c[h>>2]|0;c[h>>2]=n+1|0;a[n]=(f&63|128)&255;break}else{if((m|0)<4){k=1;l=7309;break L8165}c[h>>2]=b+1|0;a[b]=(f>>>18|240)&255;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=(f>>>12&63|128)&255;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=(f>>>6&63|128)&255;b=c[h>>2]|0;c[h>>2]=b+1|0;a[b]=(f&63|128)&255;break}}}while(0);f=(c[e>>2]|0)+4|0;c[e>>2]=f;if(f>>>0<d>>>0){g=f}else{k=0;l=7304;break}}if((l|0)==7304){return k|0}else if((l|0)==7303){return k|0}else if((l|0)==7307){return k|0}else if((l|0)==7308){return k|0}else if((l|0)==7302){return k|0}else if((l|0)==7309){return k|0}return 0}function ic(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,r=0,s=0,t=0,u=0;c[f>>2]=b;c[i>>2]=g;g=c[f>>2]|0;do{if((k&4|0)==0){l=g}else{if((e-g|0)<=2){l=g;break}if(a[g]<<24>>24!=-17){l=g;break}if(a[g+1|0]<<24>>24!=-69){l=g;break}if(a[g+2|0]<<24>>24!=-65){l=g;break}b=g+3|0;c[f>>2]=b;l=b}}while(0);L8197:do{if(l>>>0<e>>>0){g=e;k=c[i>>2]|0;b=l;L8199:while(1){if(k>>>0>=h>>>0){m=b;break L8197}n=a[b]|0;o=n&255;do{if(n<<24>>24>-1){if(o>>>0>j>>>0){p=2;q=7358;break L8199}c[k>>2]=o;c[f>>2]=(c[f>>2]|0)+1|0}else{if((n&255)<194){p=2;q=7364;break L8199}if((n&255)<224){if((g-b|0)<2){p=1;q=7359;break L8199}r=d[b+1|0]|0;if((r&192|0)!=128){p=2;q=7357;break L8199}s=r&63|o<<6&1984;if(s>>>0>j>>>0){p=2;q=7356;break L8199}c[k>>2]=s;c[f>>2]=(c[f>>2]|0)+2|0;break}if((n&255)<240){if((g-b|0)<3){p=1;q=7362;break L8199}s=a[b+1|0]|0;r=a[b+2|0]|0;if((o|0)==237){if((s&-32)<<24>>24!=-128){p=2;q=7361;break L8199}}else if((o|0)==224){if((s&-32)<<24>>24!=-96){p=2;q=7368;break L8199}}else{if((s&-64)<<24>>24!=-128){p=2;q=7350;break L8199}}t=r&255;if((t&192|0)!=128){p=2;q=7355;break L8199}r=(s&255)<<6&4032|o<<12&61440|t&63;if(r>>>0>j>>>0){p=2;q=7366;break L8199}c[k>>2]=r;c[f>>2]=(c[f>>2]|0)+3|0;break}if((n&255)>=245){p=2;q=7354;break L8199}if((g-b|0)<4){p=1;q=7360;break L8199}r=a[b+1|0]|0;t=a[b+2|0]|0;s=a[b+3|0]|0;if((o|0)==244){if((r&-16)<<24>>24!=-128){p=2;q=7352;break L8199}}else if((o|0)==240){if((r+112&255)>=48){p=2;q=7365;break L8199}}else{if((r&-64)<<24>>24!=-128){p=2;q=7363;break L8199}}u=t&255;if((u&192|0)!=128){p=2;q=7351;break L8199}t=s&255;if((t&192|0)!=128){p=2;q=7353;break L8199}s=(r&255)<<12&258048|o<<18&1835008|u<<6&4032|t&63;if(s>>>0>j>>>0){p=2;q=7367;break L8199}c[k>>2]=s;c[f>>2]=(c[f>>2]|0)+4|0}}while(0);o=(c[i>>2]|0)+4|0;c[i>>2]=o;n=c[f>>2]|0;if(n>>>0<e>>>0){k=o;b=n}else{m=n;break L8197}}if((q|0)==7350){return p|0}else if((q|0)==7351){return p|0}else if((q|0)==7356){return p|0}else if((q|0)==7357){return p|0}else if((q|0)==7358){return p|0}else if((q|0)==7359){return p|0}else if((q|0)==7360){return p|0}else if((q|0)==7361){return p|0}else if((q|0)==7362){return p|0}else if((q|0)==7363){return p|0}else if((q|0)==7364){return p|0}else if((q|0)==7365){return p|0}else if((q|0)==7366){return p|0}else if((q|0)==7367){return p|0}else if((q|0)==7368){return p|0}else if((q|0)==7352){return p|0}else if((q|0)==7353){return p|0}else if((q|0)==7354){return p|0}else if((q|0)==7355){return p|0}}else{m=l}}while(0);p=m>>>0<e>>>0&1;return p|0}function id(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;do{if((g&4|0)==0){h=b}else{if((c-b|0)<=2){h=b;break}if(a[b]<<24>>24!=-17){h=b;break}if(a[b+1|0]<<24>>24!=-69){h=b;break}h=a[b+2|0]<<24>>24==-65?b+3|0:b}}while(0);L8264:do{if(h>>>0<c>>>0&(e|0)!=0){g=c;i=1;j=h;L8266:while(1){k=a[j]|0;l=k&255;do{if(k<<24>>24>-1){if(l>>>0>f>>>0){m=j;break L8264}n=j+1|0}else{if((k&255)<194){m=j;break L8264}if((k&255)<224){if((g-j|0)<2){m=j;break L8264}o=d[j+1|0]|0;if((o&192|0)!=128){m=j;break L8264}if((o&63|l<<6&1984)>>>0>f>>>0){m=j;break L8264}n=j+2|0;break}if((k&255)<240){p=j;if((g-p|0)<3){m=j;break L8264}o=a[j+1|0]|0;q=a[j+2|0]|0;if((l|0)==224){if((o&-32)<<24>>24!=-96){r=7390;break L8266}}else if((l|0)==237){if((o&-32)<<24>>24!=-128){r=7392;break L8266}}else{if((o&-64)<<24>>24!=-128){r=7394;break L8266}}s=q&255;if((s&192|0)!=128){m=j;break L8264}if(((o&255)<<6&4032|l<<12&61440|s&63)>>>0>f>>>0){m=j;break L8264}n=j+3|0;break}if((k&255)>=245){m=j;break L8264}t=j;if((g-t|0)<4){m=j;break L8264}s=a[j+1|0]|0;o=a[j+2|0]|0;q=a[j+3|0]|0;if((l|0)==240){if((s+112&255)>=48){r=7402;break L8266}}else if((l|0)==244){if((s&-16)<<24>>24!=-128){r=7404;break L8266}}else{if((s&-64)<<24>>24!=-128){r=7406;break L8266}}u=o&255;if((u&192|0)!=128){m=j;break L8264}o=q&255;if((o&192|0)!=128){m=j;break L8264}if(((s&255)<<12&258048|l<<18&1835008|u<<6&4032|o&63)>>>0>f>>>0){m=j;break L8264}n=j+4|0}}while(0);if(!(n>>>0<c>>>0&i>>>0<e>>>0)){m=n;break L8264}i=i+1|0;j=n}if((r|0)==7406){v=t-b|0;return v|0}else if((r|0)==7404){v=t-b|0;return v|0}else if((r|0)==7394){v=p-b|0;return v|0}else if((r|0)==7402){v=t-b|0;return v|0}else if((r|0)==7392){v=p-b|0;return v|0}else if((r|0)==7390){v=p-b|0;return v|0}}else{m=h}}while(0);v=m-b|0;return v|0}function ie(b){b=b|0;return a[b+8|0]|0}function ig(a){a=a|0;return c[a+8>>2]|0}function ih(b){b=b|0;return a[b+9|0]|0}function ii(a){a=a|0;return c[a+12>>2]|0}function ij(b,c){b=b|0;c=c|0;c=b;a[b]=8;b=c+1|0;x=1702195828;a[b]=x&255;x=x>>8;a[b+1|0]=x&255;x=x>>8;a[b+2|0]=x&255;x=x>>8;a[b+3|0]=x&255;a[c+5|0]=0;return}function ik(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;b=i;i=i+8|0;a=b|0;k=b+4|0;c[a>>2]=d;c[k>>2]=g;l=ic(d,e,a,g,h,k,1114111,0)|0;c[f>>2]=d+((c[a>>2]|0)-d|0)|0;c[j>>2]=g+((c[k>>2]|0)-g>>2<<2)|0;i=b;return l|0}function il(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return id(c,d,e,1114111,0)|0}function im(a){a=a|0;jo(a);return}function io(a){a=a|0;jo(a);return}function ip(b){b=b|0;var d=0;c[b>>2]=5248016;if((a[b+12|0]&1)<<24>>24==0){d=b;jo(d);return}jo(c[b+20>>2]|0);d=b;jo(d);return}function iq(b){b=b|0;c[b>>2]=5248016;if((a[b+12|0]&1)<<24>>24==0){return}jo(c[b+20>>2]|0);return}function ir(b){b=b|0;var d=0;c[b>>2]=5247972;if((a[b+16|0]&1)<<24>>24==0){d=b;jo(d);return}jo(c[b+24>>2]|0);d=b;jo(d);return}function is(b){b=b|0;c[b>>2]=5247972;if((a[b+16|0]&1)<<24>>24==0){return}jo(c[b+24>>2]|0);return}function it(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=d+12|0;if((a[e]&1)<<24>>24==0){f=b;c[f>>2]=c[e>>2]|0;c[f+4>>2]=c[e+4>>2]|0;c[f+8>>2]=c[e+8>>2]|0;return}e=c[d+20>>2]|0;f=c[d+16>>2]|0;if((f|0)==-1){cW(0)}if(f>>>0<11){a[b]=f<<1&255;g=b+1|0}else{d=f+16&-16;h=jk(d)|0;c[b+8>>2]=h;c[b>>2]=d|1;c[b+4>>2]=f;g=h}jt(g,e,f);a[g+f|0]=0;return}function iu(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=d+16|0;if((a[e]&1)<<24>>24==0){f=b;c[f>>2]=c[e>>2]|0;c[f+4>>2]=c[e+4>>2]|0;c[f+8>>2]=c[e+8>>2]|0;return}e=c[d+24>>2]|0;f=c[d+20>>2]|0;if((f|0)==-1){cW(0)}if(f>>>0<11){a[b]=f<<1&255;g=b+1|0}else{d=f+16&-16;h=jk(d)|0;c[b+8>>2]=h;c[b>>2]=d|1;c[b+4>>2]=f;g=h}jt(g,e,f);a[g+f|0]=0;return}function iv(b,c){b=b|0;c=c|0;c=b;a[b]=10;b=c+1|0;a[b]=a[5243744]|0;a[b+1|0]=a[5243745|0]|0;a[b+2|0]=a[5243746|0]|0;a[b+3|0]=a[5243747|0]|0;a[b+4|0]=a[5243748|0]|0;a[c+6|0]=0;return}function iw(b){b=b|0;var d=0;if(a[5255620]<<24>>24!=0){d=c[1311857]|0;return d|0}if((bd(5255620)|0)==0){d=c[1311857]|0;return d|0}do{if(a[5255508]<<24>>24==0){if((bd(5255508)|0)==0){break}jv(5246164,0,168);aA(298,0,r|0)}}while(0);cS(5246164,5243964);cS(5246176,5243956);cS(5246188,5243948);cS(5246200,5243936);cS(5246212,5243924);cS(5246224,5243916);cS(5246236,5243892);cS(5246248,5243888);cS(5246260,5243884);cS(5246272,5243880);cS(5246284,5243876);cS(5246296,5243872);cS(5246308,5243868);cS(5246320,5243864);c[1311857]=5246164;d=c[1311857]|0;return d|0}function ix(b){b=b|0;var d=0;if(a[5255564]<<24>>24!=0){d=c[1311842]|0;return d|0}if((bd(5255564)|0)==0){d=c[1311842]|0;return d|0}do{if(a[5255484]<<24>>24==0){if((bd(5255484)|0)==0){break}jv(5245420,0,168);aA(492,0,r|0)}}while(0);da(5245420,5244300,aM(5244300)|0);da(5245432,5244272,aM(5244272)|0);da(5245444,5244240,aM(5244240)|0);da(5245456,5244200,aM(5244200)|0);da(5245468,5244164,aM(5244164)|0);da(5245480,5244136,aM(5244136)|0);da(5245492,5244100,aM(5244100)|0);da(5245504,5244084,aM(5244084)|0);da(5245516,5244068,aM(5244068)|0);da(5245528,5244052,aM(5244052)|0);da(5245540,5244036,aM(5244036)|0);da(5245552,5244020,aM(5244020)|0);da(5245564,5244004,aM(5244004)|0);da(5245576,5243988,aM(5243988)|0);c[1311842]=5245420;d=c[1311842]|0;return d|0}function iy(b){b=b|0;var d=0;if(a[5255612]<<24>>24!=0){d=c[1311856]|0;return d|0}if((bd(5255612)|0)==0){d=c[1311856]|0;return d|0}do{if(a[5255500]<<24>>24==0){if((bd(5255500)|0)==0){break}jv(5245876,0,288);aA(382,0,r|0)}}while(0);cS(5245876,5244512);cS(5245888,5244500);cS(5245900,5244492);cS(5245912,5244484);cS(5245924,5244480);cS(5245936,5244472);cS(5245948,5244464);cS(5245960,5244420);cS(5245972,5244408);cS(5245984,5244400);cS(5245996,5244388);cS(5246008,5244376);cS(5246020,5244368);cS(5246032,5244364);cS(5246044,5244360);cS(5246056,5244356);cS(5246068,5244480);cS(5246080,5244352);cS(5246092,5244348);cS(5246104,5244344);cS(5246116,5244340);cS(5246128,5244336);cS(5246140,5244332);cS(5246152,5244328);c[1311856]=5245876;d=c[1311856]|0;return d|0}function iz(b){b=b|0;var d=0;if(a[5255556]<<24>>24!=0){d=c[1311841]|0;return d|0}if((bd(5255556)|0)==0){d=c[1311841]|0;return d|0}do{if(a[5255476]<<24>>24==0){if((bd(5255476)|0)==0){break}jv(5245132,0,288);aA(418,0,r|0)}}while(0);da(5245132,5243376,aM(5243376)|0);da(5245144,5243340,aM(5243340)|0);da(5245156,5243316,aM(5243316)|0);da(5245168,5243292,aM(5243292)|0);da(5245180,5244632,aM(5244632)|0);da(5245192,5243272,aM(5243272)|0);da(5245204,5243212,aM(5243212)|0);da(5245216,5243184,aM(5243184)|0);da(5245228,5243144,aM(5243144)|0);da(5245240,5243112,aM(5243112)|0);da(5245252,5243076,aM(5243076)|0);da(5245264,5243040,aM(5243040)|0);da(5245276,5243024,aM(5243024)|0);da(5245288,5243008,aM(5243008)|0);da(5245300,5242992,aM(5242992)|0);da(5245312,5242976,aM(5242976)|0);da(5245324,5244632,aM(5244632)|0);da(5245336,5244616,aM(5244616)|0);da(5245348,5244600,aM(5244600)|0);da(5245360,5244584,aM(5244584)|0);da(5245372,5244568,aM(5244568)|0);da(5245384,5244552,aM(5244552)|0);da(5245396,5244536,aM(5244536)|0);da(5245408,5244520,aM(5244520)|0);c[1311841]=5245132;d=c[1311841]|0;return d|0}function iA(b){b=b|0;var d=0;if(a[5255628]<<24>>24!=0){d=c[1311858]|0;return d|0}if((bd(5255628)|0)==0){d=c[1311858]|0;return d|0}do{if(a[5255516]<<24>>24==0){if((bd(5255516)|0)==0){break}jv(5246332,0,288);aA(420,0,r|0)}}while(0);cS(5246332,5243412);cS(5246344,5243408);c[1311858]=5246332;d=c[1311858]|0;return d|0}function iB(b){b=b|0;var d=0;if(a[5255572]<<24>>24!=0){d=c[1311843]|0;return d|0}if((bd(5255572)|0)==0){d=c[1311843]|0;return d|0}do{if(a[5255492]<<24>>24==0){if((bd(5255492)|0)==0){break}jv(5245588,0,288);aA(686,0,r|0)}}while(0);da(5245588,5243444,aM(5243444)|0);da(5245600,5243432,aM(5243432)|0);c[1311843]=5245588;d=c[1311843]|0;return d|0}function iC(b){b=b|0;var c=0;if(a[5255636]<<24>>24!=0){return 5247436}if((bd(5255636)|0)==0){return 5247436}a[5247436]=16;b=5247437;c=b|0;x=623865125;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;c=b+4|0;x=2032480100;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;a[5247445]=0;aA(718,5247436,r|0);return 5247436}function iD(b){b=b|0;var c=0;if(a[5255660]<<24>>24!=0){return 5247472}if((bd(5255660)|0)==0){return 5247472}a[5247472]=16;b=5247473;c=b|0;x=624576549;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;c=b+4|0;x=1394948685;a[c]=x&255;x=x>>8;a[c+1|0]=x&255;x=x>>8;a[c+2|0]=x&255;x=x>>8;a[c+3|0]=x&255;a[5247481]=0;aA(718,5247472,r|0);return 5247472}function iE(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;d=aM(5243752)|0;if(d>>>0>1073741822){cW(0)}if(d>>>0<2){a[b]=d<<1&255;e=b+4|0}else{f=d+4&-4;g=jk(f<<2)|0;c[b+8>>2]=g;c[b>>2]=f|1;c[b+4>>2]=d;e=g}aI(e|0,5243752,d|0);c[e+(d<<2)>>2]=0;return}function iF(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;d=aM(5243720)|0;if(d>>>0>1073741822){cW(0)}if(d>>>0<2){a[b]=d<<1&255;e=b+4|0}else{f=d+4&-4;g=jk(f<<2)|0;c[b+8>>2]=g;c[b>>2]=f|1;c[b+4>>2]=d;e=g}aI(e|0,5243720,d|0);c[e+(d<<2)>>2]=0;return}function iG(b){b=b|0;var d=0,e=0,f=0;if(a[5255580]<<24>>24!=0){return 5247376}if((bd(5255580)|0)==0){return 5247376}b=aM(5243684)|0;if(b>>>0>1073741822){cW(0)}if(b>>>0<2){a[5247376]=b<<1&255;d=5247380}else{e=b+4&-4;f=jk(e<<2)|0;c[1311846]=f;c[1311844]=e|1;c[1311845]=b;d=f}aI(d|0,5243684,b|0);c[d+(b<<2)>>2]=0;aA(486,5247376,r|0);return 5247376}function iH(b){b=b|0;if(a[5255652]<<24>>24!=0){return 5247460}if((bd(5255652)|0)==0){return 5247460}b=jk(32)|0;c[1311867]=b;c[1311865]=33;c[1311866]=20;jt(b,5243624,20);a[b+20|0]=0;aA(718,5247460,r|0);return 5247460}function iI(b){b=b|0;if(a[5255644]<<24>>24!=0){return 5247448}if((bd(5255644)|0)==0){return 5247448}b=jk(16)|0;c[1311864]=b;c[1311862]=17;c[1311863]=11;jt(b,5243528,11);a[b+11|0]=0;aA(718,5247448,r|0);return 5247448}function iJ(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;d=(c[a>>2]|0)+(c[b+4>>2]|0)|0;a=d;e=c[b>>2]|0;if((e&1|0)==0){b=e;bG[b&1023](a);return}else{b=c[(c[d>>2]|0)+(e-1|0)>>2]|0;bG[b&1023](a);return}}function iK(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;e=b+4|0;f=c[e>>2]|0;g=b|0;do{if((f|0)==(c[g>>2]|0)){h=b+8|0;i=c[h>>2]|0;j=b+12|0;k=c[j>>2]|0;l=k;if(i>>>0<k>>>0){k=i;m=((l-k>>2)+1|0)/2&-1;n=k-f|0;k=i+(m-(n>>2)<<2)|0;jx(k,f,n);c[e>>2]=k;c[h>>2]=(c[h>>2]|0)+(m<<2)|0;break}m=l-f>>1;l=(m|0)==0?1:m;m=c[b+16>>2]|0;k=m+112|0;if((a[k]&1)<<24>>24==0&l>>>0<29){a[k]=1;o=m}else{o=jk(l<<2)|0}n=o+((l+3|0)>>>2<<2)|0;i=o+(l<<2)|0;l=c[e>>2]|0;p=c[h>>2]|0;L8650:do{if((l|0)==(p|0)){q=n}else{r=l;s=n;while(1){if((s|0)==0){t=0}else{c[s>>2]=c[r>>2]|0;t=s}u=t+4|0;v=r+4|0;if((v|0)==(p|0)){q=u;break L8650}else{r=v;s=u}}}}while(0);p=c[g>>2]|0;c[g>>2]=o;c[e>>2]=n;c[h>>2]=q;c[j>>2]=i;if((p|0)==0){break}if((p|0)==(m|0)){a[k]=0;break}else{jo(p);break}}}while(0);q=c[e>>2]|0;o=q-4|0;if((o|0)==0){w=q;x=w-4|0;c[e>>2]=x;return}c[o>>2]=c[d>>2]|0;w=c[e>>2]|0;x=w-4|0;c[e>>2]=x;return}function iL(b){b=b|0;var d=0;b=5245876;while(1){d=b-12|0;if((a[d]&1)<<24>>24!=0){jo(c[b-12+8>>2]|0)}if((d|0)==5245588){break}else{b=d}}return}function iM(b){b=b|0;var d=0;b=5246620;while(1){d=b-12|0;if((a[d]&1)<<24>>24!=0){jo(c[b-12+8>>2]|0)}if((d|0)==5246332){break}else{b=d}}return}function iN(b){b=b|0;var d=0;b=5245420;while(1){d=b-12|0;if((a[d]&1)<<24>>24!=0){jo(c[b-12+8>>2]|0)}if((d|0)==5245132){break}else{b=d}}return}function iO(b){b=b|0;var d=0;b=5246164;while(1){d=b-12|0;if((a[d]&1)<<24>>24!=0){jo(c[b-12+8>>2]|0)}if((d|0)==5245876){break}else{b=d}}return}function iP(b){b=b|0;if((a[5245576]&1)<<24>>24!=0){jo(c[1311396]|0)}if((a[5245564]&1)<<24>>24!=0){jo(c[1311393]|0)}if((a[5245552]&1)<<24>>24!=0){jo(c[1311390]|0)}if((a[5245540]&1)<<24>>24!=0){jo(c[1311387]|0)}if((a[5245528]&1)<<24>>24!=0){jo(c[1311384]|0)}if((a[5245516]&1)<<24>>24!=0){jo(c[1311381]|0)}if((a[5245504]&1)<<24>>24!=0){jo(c[1311378]|0)}if((a[5245492]&1)<<24>>24!=0){jo(c[1311375]|0)}if((a[5245480]&1)<<24>>24!=0){jo(c[1311372]|0)}if((a[5245468]&1)<<24>>24!=0){jo(c[1311369]|0)}if((a[5245456]&1)<<24>>24!=0){jo(c[1311366]|0)}if((a[5245444]&1)<<24>>24!=0){jo(c[1311363]|0)}if((a[5245432]&1)<<24>>24!=0){jo(c[1311360]|0)}if((a[5245420]&1)<<24>>24==0){return}jo(c[1311357]|0);return}function iQ(b){b=b|0;var d=0,e=0,f=0;if(a[5255604]<<24>>24!=0){return 5247412}if((bd(5255604)|0)==0){return 5247412}b=aM(5243648)|0;if(b>>>0>1073741822){cW(0)}if(b>>>0<2){a[5247412]=b<<1&255;d=5247416}else{e=b+4&-4;f=jk(e<<2)|0;c[1311855]=f;c[1311853]=e|1;c[1311854]=b;d=f}aI(d|0,5243648,b|0);c[d+(b<<2)>>2]=0;aA(486,5247412,r|0);return 5247412}function iR(b){b=b|0;var d=0,e=0,f=0;if(a[5255596]<<24>>24!=0){return 5247400}if((bd(5255596)|0)==0){return 5247400}b=aM(5243540)|0;if(b>>>0>1073741822){cW(0)}if(b>>>0<2){a[5247400]=b<<1&255;d=5247404}else{e=b+4&-4;f=jk(e<<2)|0;c[1311852]=f;c[1311850]=e|1;c[1311851]=b;d=f}aI(d|0,5243540,b|0);c[d+(b<<2)>>2]=0;aA(486,5247400,r|0);return 5247400}function iS(b){b=b|0;var d=0,e=0,f=0;if(a[5255588]<<24>>24!=0){return 5247388}if((bd(5255588)|0)==0){return 5247388}b=aM(5243480)|0;if(b>>>0>1073741822){cW(0)}if(b>>>0<2){a[5247388]=b<<1&255;d=5247392}else{e=b+4&-4;f=jk(e<<2)|0;c[1311849]=f;c[1311847]=e|1;c[1311848]=b;d=f}aI(d|0,5243480,b|0);c[d+(b<<2)>>2]=0;aA(486,5247388,r|0);return 5247388}function iT(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,E=0,F=0;e=i;i=i+20|0;f=e|0;g=b+8|0;h=b+4|0;j=c[h>>2]|0;k=c[g>>2]|0;l=j;if(k-l>>2>>>0>=d>>>0){m=d;n=j;while(1){if((n|0)==0){o=0}else{c[n>>2]=0;o=c[h>>2]|0}j=o+4|0;c[h>>2]=j;p=m-1|0;if((p|0)==0){break}else{m=p;n=j}}i=e;return}n=b+12|0;m=b|0;o=c[m>>2]|0;j=l-o>>2;l=j+d|0;if(l>>>0>1073741823){hb(0)}p=k-o|0;do{if(p>>2>>>0>536870910){o=f+12|0;c[o>>2]=0;k=f+16|0;c[k>>2]=n;q=k;r=o;s=1073741823;t=7859;break}else{o=p>>1;k=o>>>0<l>>>0?l:o;o=f+12|0;c[o>>2]=0;u=f+16|0;c[u>>2]=n;if((k|0)==0){v=0;w=0;x=o;y=u;break}z=b+124|0;if(!((a[z]&1)<<24>>24==0&k>>>0<29)){q=u;r=o;s=k;t=7859;break}a[z]=1;v=n;w=k;x=o;y=u;break}}while(0);if((t|0)==7859){v=jk(s<<2)|0;w=s;x=r;y=q}q=f|0;c[q>>2]=v;r=v+(j<<2)|0;j=f+8|0;c[j>>2]=r;s=f+4|0;c[s>>2]=r;c[x>>2]=v+(w<<2)|0;w=d;d=r;while(1){if((d|0)==0){A=0}else{c[d>>2]=0;A=d}B=A+4|0;r=w-1|0;if((r|0)==0){break}else{w=r;d=B}}c[j>>2]=B;d=c[h>>2]|0;w=c[m>>2]|0;if(w>>>0<d>>>0){A=d;while(1){r=A-4|0;iK(f,r);C=c[m>>2]|0;if(C>>>0<r>>>0){A=r}else{break}}D=C;E=c[h>>2]|0;F=c[j>>2]|0}else{D=w;E=d;F=B}c[m>>2]=c[s>>2]|0;c[s>>2]=D;c[h>>2]=F;c[j>>2]=E;E=c[g>>2]|0;c[g>>2]=c[x>>2]|0;c[x>>2]=E;c[q>>2]=D;c[j>>2]=D;if((D|0)==0){i=e;return}j=c[y>>2]|0;if((D|0)==(j|0)){a[j+112|0]=0;i=e;return}else{jo(D);i=e;return}}function iU(a){a=a|0;return}function iV(a){a=a|0;return}function iW(a){a=a|0;return}function iX(){if(a[5255788]<<24>>24==0){c[1313947]=1;c[1313948]=0}if(a[5255780]<<24>>24==0){c[1313945]=1;c[1313946]=0}if(a[5255772]<<24>>24==0){c[1313943]=1;c[1313944]=0}if(a[5255764]<<24>>24==0){c[1313941]=1;c[1313942]=0}if(a[5255756]<<24>>24==0){c[1313939]=1;c[1313940]=0}if(a[5255748]<<24>>24==0){c[1313937]=1;c[1313938]=0}if(a[5255724]<<24>>24==0){c[1313931]=1;c[1313932]=0}if(a[5255716]<<24>>24==0){c[1313929]=1;c[1313930]=0}if(a[5255708]<<24>>24==0){c[1313927]=1;c[1313928]=0}if(a[5255700]<<24>>24==0){c[1313925]=1;c[1313926]=0}if(a[5255820]<<24>>24==0){c[1313955]=1;c[1313956]=0}if(a[5255812]<<24>>24==0){c[1313953]=1;c[1313954]=0}if(a[5255804]<<24>>24==0){c[1313951]=1;c[1313952]=0}if(a[5255796]<<24>>24==0){c[1313949]=1;c[1313950]=0}if(a[5255692]<<24>>24==0){c[1313923]=1;c[1313924]=0}if(a[5255684]<<24>>24==0){c[1313921]=1;c[1313922]=0}if(a[5255676]<<24>>24==0){c[1313919]=1;c[1313920]=0}if(a[5255668]<<24>>24==0){c[1313917]=1;c[1313918]=0}if(a[5255740]<<24>>24==0){c[1313935]=1;c[1313936]=0}if(a[5255732]<<24>>24!=0){return}c[1313933]=1;c[1313934]=0;return}function iY(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if((c[d+8>>2]|0)!=(b|0)){return}b=d+16|0;g=c[b>>2]|0;if((g|0)==0){c[b>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1;return}if((g|0)!=(e|0)){e=d+36|0;c[e>>2]=(c[e>>2]|0)+1|0;c[d+24>>2]=2;a[d+54|0]=1;return}e=d+24|0;if((c[e>>2]|0)!=2){return}c[e>>2]=f;return}function iZ(b){b=b|0;if((a[5246320]&1)<<24>>24!=0){jo(c[1311582]|0)}if((a[5246308]&1)<<24>>24!=0){jo(c[1311579]|0)}if((a[5246296]&1)<<24>>24!=0){jo(c[1311576]|0)}if((a[5246284]&1)<<24>>24!=0){jo(c[1311573]|0)}if((a[5246272]&1)<<24>>24!=0){jo(c[1311570]|0)}if((a[5246260]&1)<<24>>24!=0){jo(c[1311567]|0)}if((a[5246248]&1)<<24>>24!=0){jo(c[1311564]|0)}if((a[5246236]&1)<<24>>24!=0){jo(c[1311561]|0)}if((a[5246224]&1)<<24>>24!=0){jo(c[1311558]|0)}if((a[5246212]&1)<<24>>24!=0){jo(c[1311555]|0)}if((a[5246200]&1)<<24>>24!=0){jo(c[1311552]|0)}if((a[5246188]&1)<<24>>24!=0){jo(c[1311549]|0)}if((a[5246176]&1)<<24>>24!=0){jo(c[1311546]|0)}if((a[5246164]&1)<<24>>24==0){return}jo(c[1311543]|0);return}function i_(a){a=a|0;jo(a);return}function i$(a){a=a|0;jo(a);return}function i0(a){a=a|0;jo(a);return}function i1(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;i=i+56|0;f=e|0;do{if((a|0)==(b|0)){g=1}else{if((b|0)==0){g=0;break}h=i4(b,5254180,5254168,-1)|0;j=h;if((h|0)==0){g=0;break}jv(f|0,0,56);c[f>>2]=j;c[f+8>>2]=a;c[f+12>>2]=-1;c[f+48>>2]=1;bU[c[(c[h>>2]|0)+28>>2]&1023](j,f,c[d>>2]|0,1);if((c[f+24>>2]|0)!=1){g=0;break}c[d>>2]=c[f+16>>2]|0;g=1}}while(0);i=e;return g|0}function i2(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if((b|0)!=(c[d+8>>2]|0)){g=c[b+8>>2]|0;bU[c[(c[g>>2]|0)+28>>2]&1023](g,d,e,f);return}g=d+16|0;b=c[g>>2]|0;if((b|0)==0){c[g>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1;return}if((b|0)!=(e|0)){e=d+36|0;c[e>>2]=(c[e>>2]|0)+1|0;c[d+24>>2]=2;a[d+54|0]=1;return}e=d+24|0;if((c[e>>2]|0)!=2){return}c[e>>2]=f;return}function i3(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,l=0,m=0;if((b|0)==(c[d+8>>2]|0)){g=d+16|0;h=c[g>>2]|0;if((h|0)==0){c[g>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1;return}if((h|0)!=(e|0)){h=d+36|0;c[h>>2]=(c[h>>2]|0)+1|0;c[d+24>>2]=2;a[d+54|0]=1;return}h=d+24|0;if((c[h>>2]|0)!=2){return}c[h>>2]=f;return}h=c[b+12>>2]|0;g=b+16+(h<<3)|0;i=c[b+20>>2]|0;j=i>>8;if((i&1|0)==0){k=j}else{k=c[(c[e>>2]|0)+j>>2]|0}j=c[b+16>>2]|0;bU[c[(c[j>>2]|0)+28>>2]&1023](j,d,e+k|0,(i&2|0)!=0?f:2);if((h|0)<=1){return}h=d+54|0;i=e;k=b+24|0;while(1){b=c[k+4>>2]|0;j=b>>8;if((b&1|0)==0){l=j}else{l=c[(c[i>>2]|0)+j>>2]|0}j=c[k>>2]|0;bU[c[(c[j>>2]|0)+28>>2]&1023](j,d,e+l|0,(b&2|0)!=0?f:2);if((a[h]&1)<<24>>24!=0){m=8013;break}b=k+8|0;if(b>>>0<g>>>0){k=b}else{m=8014;break}}if((m|0)==8013){return}else if((m|0)==8014){return}}function i4(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,m=0,n=0,o=0;f=i;i=i+56|0;g=f|0;h=c[a>>2]|0;j=a+(c[h-8>>2]|0)|0;k=c[h-4>>2]|0;h=k;c[g>>2]=d;c[g+4>>2]=a;c[g+8>>2]=b;c[g+12>>2]=e;e=g+16|0;b=g+20|0;a=g+24|0;l=g+28|0;m=g+32|0;n=g+40|0;jv(e|0,0,39);if((k|0)==(d|0)){c[g+48>>2]=1;bR[c[(c[k>>2]|0)+20>>2]&1023](h,g,j,j,1,0);i=f;return((c[a>>2]|0)==1?j:0)|0}bF[c[(c[k>>2]|0)+24>>2]&1023](h,g,j,1,0);j=c[g+36>>2]|0;do{if((j|0)==1){if((c[a>>2]|0)!=1){if((c[n>>2]|0)!=0){o=0;break}if((c[l>>2]|0)!=1){o=0;break}if((c[m>>2]|0)!=1){o=0;break}}o=c[e>>2]|0}else if((j|0)==0){if((c[n>>2]|0)!=1){o=0;break}if((c[l>>2]|0)!=1){o=0;break}o=(c[m>>2]|0)==1?c[b>>2]|0:0}else{o=0}}while(0);i=f;return o|0}function i5(a){a=a|0;return}function i6(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((c[d+8>>2]|0)==(b|0)){if((c[d+4>>2]|0)!=(e|0)){return}g=d+28|0;if((c[g>>2]|0)==1){return}c[g>>2]=f;return}if((c[d>>2]|0)!=(b|0)){return}do{if((c[d+16>>2]|0)!=(e|0)){b=d+20|0;if((c[b>>2]|0)==(e|0)){break}c[d+32>>2]=f;c[b>>2]=e;b=d+40|0;c[b>>2]=(c[b>>2]|0)+1|0;do{if((c[d+36>>2]|0)==1){if((c[d+24>>2]|0)!=2){break}a[d+54|0]=1}}while(0);c[d+44>>2]=4;return}}while(0);if((f|0)!=1){return}c[d+32>>2]=1;return}function i7(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;if((c[d+8>>2]|0)!=(b|0)){return}a[d+53|0]=1;if((c[d+4>>2]|0)!=(f|0)){return}a[d+52|0]=1;f=d+16|0;b=c[f>>2]|0;if((b|0)==0){c[f>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((c[d+48>>2]|0)==1&(g|0)==1)){return}a[d+54|0]=1;return}if((b|0)!=(e|0)){e=d+36|0;c[e>>2]=(c[e>>2]|0)+1|0;a[d+54|0]=1;return}e=d+24|0;b=c[e>>2]|0;if((b|0)==2){c[e>>2]=g;i=g}else{i=b}if(!((c[d+48>>2]|0)==1&(i|0)==1)){return}a[d+54|0]=1;return}function i8(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,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;h=b|0;if((h|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)!=(e|0)){return}i=d+28|0;if((c[i>>2]|0)==1){return}c[i>>2]=f;return}if((h|0)==(c[d>>2]|0)){do{if((c[d+16>>2]|0)!=(e|0)){h=d+20|0;if((c[h>>2]|0)==(e|0)){break}c[d+32>>2]=f;i=d+44|0;if((c[i>>2]|0)==4){return}j=c[b+12>>2]|0;k=b+16+(j<<3)|0;L9105:do{if((j|0)>0){l=d+52|0;m=d+53|0;n=d+54|0;o=b+8|0;p=d+24|0;q=e;r=0;s=b+16|0;t=0;L9107:while(1){a[l]=0;a[m]=0;u=c[s+4>>2]|0;v=u>>8;if((u&1|0)==0){w=v}else{w=c[(c[q>>2]|0)+v>>2]|0}v=c[s>>2]|0;bR[c[(c[v>>2]|0)+20>>2]&1023](v,d,e,e+w|0,2-(u>>>1&1)|0,g);if((a[n]&1)<<24>>24!=0){x=t;y=r;break}do{if((a[m]&1)<<24>>24==0){z=t;A=r}else{if((a[l]&1)<<24>>24==0){if((c[o>>2]&1|0)==0){x=1;y=r;break L9107}else{z=1;A=r;break}}if((c[p>>2]|0)==1){break L9105}if((c[o>>2]&2|0)==0){break L9105}else{z=1;A=1}}}while(0);u=s+8|0;if(u>>>0<k>>>0){r=A;s=u;t=z}else{x=z;y=A;break}}if((y&1)<<24>>24==0){B=x;C=8093;break}else{D=x;C=8096;break}}else{B=0;C=8093}}while(0);do{if((C|0)==8093){c[h>>2]=e;k=d+40|0;c[k>>2]=(c[k>>2]|0)+1|0;if((c[d+36>>2]|0)!=1){D=B;C=8096;break}if((c[d+24>>2]|0)!=2){D=B;C=8096;break}a[d+54|0]=1;D=B;C=8096;break}}while(0);do{if((C|0)==8096){if((D&1)<<24>>24!=0){break}c[i>>2]=4;return}}while(0);c[i>>2]=3;return}}while(0);if((f|0)!=1){return}c[d+32>>2]=1;return}D=c[b+12>>2]|0;B=b+16+(D<<3)|0;x=c[b+20>>2]|0;y=x>>8;if((x&1|0)==0){E=y}else{E=c[(c[e>>2]|0)+y>>2]|0}y=c[b+16>>2]|0;bF[c[(c[y>>2]|0)+24>>2]&1023](y,d,e+E|0,(x&2|0)!=0?f:2,g);x=b+24|0;if((D|0)<=1){return}D=c[b+8>>2]|0;do{if((D&2|0)==0){b=d+36|0;if((c[b>>2]|0)==1){break}if((D&1|0)==0){E=d+54|0;y=e;A=x;while(1){if((a[E]&1)<<24>>24!=0){C=8140;break}if((c[b>>2]|0)==1){C=8139;break}z=c[A+4>>2]|0;w=z>>8;if((z&1|0)==0){F=w}else{F=c[(c[y>>2]|0)+w>>2]|0}w=c[A>>2]|0;bF[c[(c[w>>2]|0)+24>>2]&1023](w,d,e+F|0,(z&2|0)!=0?f:2,g);z=A+8|0;if(z>>>0<B>>>0){A=z}else{C=8131;break}}if((C|0)==8131){return}else if((C|0)==8139){return}else if((C|0)==8140){return}}A=d+24|0;y=d+54|0;E=e;i=x;while(1){if((a[y]&1)<<24>>24!=0){C=8134;break}if((c[b>>2]|0)==1){if((c[A>>2]|0)==1){C=8138;break}}z=c[i+4>>2]|0;w=z>>8;if((z&1|0)==0){G=w}else{G=c[(c[E>>2]|0)+w>>2]|0}w=c[i>>2]|0;bF[c[(c[w>>2]|0)+24>>2]&1023](w,d,e+G|0,(z&2|0)!=0?f:2,g);z=i+8|0;if(z>>>0<B>>>0){i=z}else{C=8137;break}}if((C|0)==8134){return}else if((C|0)==8137){return}else if((C|0)==8138){return}}}while(0);G=d+54|0;F=e;D=x;while(1){if((a[G]&1)<<24>>24!=0){C=8132;break}x=c[D+4>>2]|0;i=x>>8;if((x&1|0)==0){H=i}else{H=c[(c[F>>2]|0)+i>>2]|0}i=c[D>>2]|0;bF[c[(c[i>>2]|0)+24>>2]&1023](i,d,e+H|0,(x&2|0)!=0?f:2,g);x=D+8|0;if(x>>>0<B>>>0){D=x}else{C=8136;break}}if((C|0)==8132){return}else if((C|0)==8136){return}}function i9(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;h=b|0;if((h|0)==(c[d+8>>2]|0)){if((c[d+4>>2]|0)!=(e|0)){return}i=d+28|0;if((c[i>>2]|0)==1){return}c[i>>2]=f;return}if((h|0)!=(c[d>>2]|0)){h=c[b+8>>2]|0;bF[c[(c[h>>2]|0)+24>>2]&1023](h,d,e,f,g);return}do{if((c[d+16>>2]|0)!=(e|0)){h=d+20|0;if((c[h>>2]|0)==(e|0)){break}c[d+32>>2]=f;i=d+44|0;if((c[i>>2]|0)==4){return}j=d+52|0;a[j]=0;k=d+53|0;a[k]=0;l=c[b+8>>2]|0;bR[c[(c[l>>2]|0)+20>>2]&1023](l,d,e,e,1,g);do{if((a[k]&1)<<24>>24==0){m=0;n=8153}else{if((a[j]&1)<<24>>24==0){m=1;n=8153;break}else{break}}}while(0);L9206:do{if((n|0)==8153){c[h>>2]=e;j=d+40|0;c[j>>2]=(c[j>>2]|0)+1|0;do{if((c[d+36>>2]|0)==1){if((c[d+24>>2]|0)!=2){n=8156;break}a[d+54|0]=1;if(m){break L9206}else{break}}else{n=8156}}while(0);if((n|0)==8156){if(m){break}}c[i>>2]=4;return}}while(0);c[i>>2]=3;return}}while(0);if((f|0)!=1){return}c[d+32>>2]=1;return}function ja(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if((b|0)!=(c[d+8>>2]|0)){i=d+52|0;j=a[i]&1;k=d+53|0;l=a[k]&1;m=c[b+12>>2]|0;n=b+16+(m<<3)|0;a[i]=0;a[k]=0;o=c[b+20>>2]|0;p=o>>8;if((o&1|0)==0){q=p}else{q=c[(c[f>>2]|0)+p>>2]|0}p=c[b+16>>2]|0;bR[c[(c[p>>2]|0)+20>>2]&1023](p,d,e,f+q|0,(o&2|0)!=0?g:2,h);L9228:do{if((m|0)>1){o=d+24|0;q=b+8|0;p=d+54|0;r=f;s=b+24|0;while(1){if((a[p]&1)<<24>>24!=0){break L9228}do{if((a[i]&1)<<24>>24==0){if((a[k]&1)<<24>>24==0){break}if((c[q>>2]&1|0)==0){break L9228}}else{if((c[o>>2]|0)==1){break L9228}if((c[q>>2]&2|0)==0){break L9228}}}while(0);a[i]=0;a[k]=0;t=c[s+4>>2]|0;u=t>>8;if((t&1|0)==0){v=u}else{v=c[(c[r>>2]|0)+u>>2]|0}u=c[s>>2]|0;bR[c[(c[u>>2]|0)+20>>2]&1023](u,d,e,f+v|0,(t&2|0)!=0?g:2,h);t=s+8|0;if(t>>>0<n>>>0){s=t}else{break L9228}}}}while(0);a[i]=j;a[k]=l;return}a[d+53|0]=1;if((c[d+4>>2]|0)!=(f|0)){return}a[d+52|0]=1;f=d+16|0;l=c[f>>2]|0;if((l|0)==0){c[f>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((c[d+48>>2]|0)==1&(g|0)==1)){return}a[d+54|0]=1;return}if((l|0)!=(e|0)){e=d+36|0;c[e>>2]=(c[e>>2]|0)+1|0;a[d+54|0]=1;return}e=d+24|0;l=c[e>>2]|0;if((l|0)==2){c[e>>2]=g;w=g}else{w=l}if(!((c[d+48>>2]|0)==1&(w|0)==1)){return}a[d+54|0]=1;return}function jb(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;if((b|0)!=(c[d+8>>2]|0)){i=c[b+8>>2]|0;bR[c[(c[i>>2]|0)+20>>2]&1023](i,d,e,f,g,h);return}a[d+53|0]=1;if((c[d+4>>2]|0)!=(f|0)){return}a[d+52|0]=1;f=d+16|0;h=c[f>>2]|0;if((h|0)==0){c[f>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((c[d+48>>2]|0)==1&(g|0)==1)){return}a[d+54|0]=1;return}if((h|0)!=(e|0)){e=d+36|0;c[e>>2]=(c[e>>2]|0)+1|0;a[d+54|0]=1;return}e=d+24|0;h=c[e>>2]|0;if((h|0)==2){c[e>>2]=g;j=g}else{j=h}if(!((c[d+48>>2]|0)==1&(j|0)==1)){return}a[d+54|0]=1;return}function jc(a){a=a|0;jo(a);return}function jd(a){a=a|0;return 5243972}function je(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,M=0,N=0,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,ab=0,ac=0,ad=0,ae=0,af=0,ag=0,ah=0,ai=0,aj=0,ak=0,al=0,am=0,an=0,ao=0,ap=0,aq=0,ar=0,as=0,at=0,au=0,av=0,aw=0,ax=0,ay=0,az=0,aA=0,aC=0,aD=0,aE=0,aF=0,aG=0,aH=0;do{if(a>>>0<245){if(a>>>0<11){b=16}else{b=a+11&-8}d=b>>>3;e=c[1311165]|0;f=e>>>(d>>>0);if((f&3|0)!=0){g=(f&1^1)+d|0;h=g<<1;i=5244700+(h<<2)|0;j=5244700+(h+2<<2)|0;h=c[j>>2]|0;k=h+8|0;l=c[k>>2]|0;do{if((i|0)==(l|0)){c[1311165]=e&(1<<g^-1)}else{if(l>>>0<(c[1311169]|0)>>>0){aB();return 0}m=l+12|0;if((c[m>>2]|0)==(h|0)){c[m>>2]=i;c[j>>2]=l;break}else{aB();return 0}}}while(0);l=g<<3;c[h+4>>2]=l|3;j=h+(l|4)|0;c[j>>2]=c[j>>2]|1;n=k;return n|0}if(b>>>0<=(c[1311167]|0)>>>0){o=b;break}if((f|0)!=0){j=2<<d;l=f<<d&(j|-j);j=(l&-l)-1|0;l=j>>>12&16;i=j>>>(l>>>0);j=i>>>5&8;m=i>>>(j>>>0);i=m>>>2&4;p=m>>>(i>>>0);m=p>>>1&2;q=p>>>(m>>>0);p=q>>>1&1;r=(j|l|i|m|p)+(q>>>(p>>>0))|0;p=r<<1;q=5244700+(p<<2)|0;m=5244700+(p+2<<2)|0;p=c[m>>2]|0;i=p+8|0;l=c[i>>2]|0;do{if((q|0)==(l|0)){c[1311165]=e&(1<<r^-1)}else{if(l>>>0<(c[1311169]|0)>>>0){aB();return 0}j=l+12|0;if((c[j>>2]|0)==(p|0)){c[j>>2]=q;c[m>>2]=l;break}else{aB();return 0}}}while(0);l=r<<3;m=l-b|0;c[p+4>>2]=b|3;q=p;e=q+b|0;c[q+(b|4)>>2]=m|1;c[q+l>>2]=m;l=c[1311167]|0;if((l|0)!=0){q=c[1311170]|0;d=l>>>3;l=d<<1;f=5244700+(l<<2)|0;k=c[1311165]|0;h=1<<d;do{if((k&h|0)==0){c[1311165]=k|h;s=f;t=5244700+(l+2<<2)|0}else{d=5244700+(l+2<<2)|0;g=c[d>>2]|0;if(g>>>0>=(c[1311169]|0)>>>0){s=g;t=d;break}aB();return 0}}while(0);c[t>>2]=q;c[s+12>>2]=q;c[q+8>>2]=s;c[q+12>>2]=f}c[1311167]=m;c[1311170]=e;n=i;return n|0}l=c[1311166]|0;if((l|0)==0){o=b;break}h=(l&-l)-1|0;l=h>>>12&16;k=h>>>(l>>>0);h=k>>>5&8;p=k>>>(h>>>0);k=p>>>2&4;r=p>>>(k>>>0);p=r>>>1&2;d=r>>>(p>>>0);r=d>>>1&1;g=c[5244964+((h|l|k|p|r)+(d>>>(r>>>0))<<2)>>2]|0;r=g;d=g;p=(c[g+4>>2]&-8)-b|0;while(1){g=c[r+16>>2]|0;if((g|0)==0){k=c[r+20>>2]|0;if((k|0)==0){break}else{u=k}}else{u=g}g=(c[u+4>>2]&-8)-b|0;k=g>>>0<p>>>0;r=u;d=k?u:d;p=k?g:p}r=d;i=c[1311169]|0;if(r>>>0<i>>>0){aB();return 0}e=r+b|0;m=e;if(r>>>0>=e>>>0){aB();return 0}e=c[d+24>>2]|0;f=c[d+12>>2]|0;L9350:do{if((f|0)==(d|0)){q=d+20|0;g=c[q>>2]|0;do{if((g|0)==0){k=d+16|0;l=c[k>>2]|0;if((l|0)==0){v=0;break L9350}else{w=l;x=k;break}}else{w=g;x=q}}while(0);while(1){q=w+20|0;g=c[q>>2]|0;if((g|0)!=0){w=g;x=q;continue}q=w+16|0;g=c[q>>2]|0;if((g|0)==0){break}else{w=g;x=q}}if(x>>>0<i>>>0){aB();return 0}else{c[x>>2]=0;v=w;break}}else{q=c[d+8>>2]|0;if(q>>>0<i>>>0){aB();return 0}g=q+12|0;if((c[g>>2]|0)!=(d|0)){aB();return 0}k=f+8|0;if((c[k>>2]|0)==(d|0)){c[g>>2]=f;c[k>>2]=q;v=f;break}else{aB();return 0}}}while(0);L9372:do{if((e|0)!=0){f=d+28|0;i=5244964+(c[f>>2]<<2)|0;do{if((d|0)==(c[i>>2]|0)){c[i>>2]=v;if((v|0)!=0){break}c[1311166]=c[1311166]&(1<<c[f>>2]^-1);break L9372}else{if(e>>>0<(c[1311169]|0)>>>0){aB();return 0}q=e+16|0;if((c[q>>2]|0)==(d|0)){c[q>>2]=v}else{c[e+20>>2]=v}if((v|0)==0){break L9372}}}while(0);if(v>>>0<(c[1311169]|0)>>>0){aB();return 0}c[v+24>>2]=e;f=c[d+16>>2]|0;do{if((f|0)!=0){if(f>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[v+16>>2]=f;c[f+24>>2]=v;break}}}while(0);f=c[d+20>>2]|0;if((f|0)==0){break}if(f>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[v+20>>2]=f;c[f+24>>2]=v;break}}}while(0);if(p>>>0<16){e=p+b|0;c[d+4>>2]=e|3;f=r+(e+4|0)|0;c[f>>2]=c[f>>2]|1}else{c[d+4>>2]=b|3;c[r+(b|4)>>2]=p|1;c[r+(p+b|0)>>2]=p;f=c[1311167]|0;if((f|0)!=0){e=c[1311170]|0;i=f>>>3;f=i<<1;q=5244700+(f<<2)|0;k=c[1311165]|0;g=1<<i;do{if((k&g|0)==0){c[1311165]=k|g;y=q;z=5244700+(f+2<<2)|0}else{i=5244700+(f+2<<2)|0;l=c[i>>2]|0;if(l>>>0>=(c[1311169]|0)>>>0){y=l;z=i;break}aB();return 0}}while(0);c[z>>2]=e;c[y+12>>2]=e;c[e+8>>2]=y;c[e+12>>2]=q}c[1311167]=p;c[1311170]=m}f=d+8|0;if((f|0)==0){o=b;break}else{n=f}return n|0}else{if(a>>>0>4294967231){o=-1;break}f=a+11|0;g=f&-8;k=c[1311166]|0;if((k|0)==0){o=g;break}r=-g|0;i=f>>>8;do{if((i|0)==0){A=0}else{if(g>>>0>16777215){A=31;break}f=(i+1048320|0)>>>16&8;l=i<<f;h=(l+520192|0)>>>16&4;j=l<<h;l=(j+245760|0)>>>16&2;B=(14-(h|f|l)|0)+(j<<l>>>15)|0;A=g>>>((B+7|0)>>>0)&1|B<<1}}while(0);i=c[5244964+(A<<2)>>2]|0;L9420:do{if((i|0)==0){C=0;D=r;E=0}else{if((A|0)==31){F=0}else{F=25-(A>>>1)|0}d=0;m=r;p=i;q=g<<F;e=0;while(1){B=c[p+4>>2]&-8;l=B-g|0;if(l>>>0<m>>>0){if((B|0)==(g|0)){C=p;D=l;E=p;break L9420}else{G=p;H=l}}else{G=d;H=m}l=c[p+20>>2]|0;B=c[p+16+(q>>>31<<2)>>2]|0;j=(l|0)==0|(l|0)==(B|0)?e:l;if((B|0)==0){C=G;D=H;E=j;break L9420}else{d=G;m=H;p=B;q=q<<1;e=j}}}}while(0);if((E|0)==0&(C|0)==0){i=2<<A;r=k&(i|-i);if((r|0)==0){o=g;break}i=(r&-r)-1|0;r=i>>>12&16;e=i>>>(r>>>0);i=e>>>5&8;q=e>>>(i>>>0);e=q>>>2&4;p=q>>>(e>>>0);q=p>>>1&2;m=p>>>(q>>>0);p=m>>>1&1;I=c[5244964+((i|r|e|q|p)+(m>>>(p>>>0))<<2)>>2]|0}else{I=E}L9435:do{if((I|0)==0){J=D;K=C}else{p=I;m=D;q=C;while(1){e=(c[p+4>>2]&-8)-g|0;r=e>>>0<m>>>0;i=r?e:m;e=r?p:q;r=c[p+16>>2]|0;if((r|0)!=0){p=r;m=i;q=e;continue}r=c[p+20>>2]|0;if((r|0)==0){J=i;K=e;break L9435}else{p=r;m=i;q=e}}}}while(0);if((K|0)==0){o=g;break}if(J>>>0>=((c[1311167]|0)-g|0)>>>0){o=g;break}k=K;q=c[1311169]|0;if(k>>>0<q>>>0){aB();return 0}m=k+g|0;p=m;if(k>>>0>=m>>>0){aB();return 0}e=c[K+24>>2]|0;i=c[K+12>>2]|0;L9448:do{if((i|0)==(K|0)){r=K+20|0;d=c[r>>2]|0;do{if((d|0)==0){j=K+16|0;B=c[j>>2]|0;if((B|0)==0){L=0;break L9448}else{M=B;N=j;break}}else{M=d;N=r}}while(0);while(1){r=M+20|0;d=c[r>>2]|0;if((d|0)!=0){M=d;N=r;continue}r=M+16|0;d=c[r>>2]|0;if((d|0)==0){break}else{M=d;N=r}}if(N>>>0<q>>>0){aB();return 0}else{c[N>>2]=0;L=M;break}}else{r=c[K+8>>2]|0;if(r>>>0<q>>>0){aB();return 0}d=r+12|0;if((c[d>>2]|0)!=(K|0)){aB();return 0}j=i+8|0;if((c[j>>2]|0)==(K|0)){c[d>>2]=i;c[j>>2]=r;L=i;break}else{aB();return 0}}}while(0);L9470:do{if((e|0)!=0){i=K+28|0;q=5244964+(c[i>>2]<<2)|0;do{if((K|0)==(c[q>>2]|0)){c[q>>2]=L;if((L|0)!=0){break}c[1311166]=c[1311166]&(1<<c[i>>2]^-1);break L9470}else{if(e>>>0<(c[1311169]|0)>>>0){aB();return 0}r=e+16|0;if((c[r>>2]|0)==(K|0)){c[r>>2]=L}else{c[e+20>>2]=L}if((L|0)==0){break L9470}}}while(0);if(L>>>0<(c[1311169]|0)>>>0){aB();return 0}c[L+24>>2]=e;i=c[K+16>>2]|0;do{if((i|0)!=0){if(i>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[L+16>>2]=i;c[i+24>>2]=L;break}}}while(0);i=c[K+20>>2]|0;if((i|0)==0){break}if(i>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[L+20>>2]=i;c[i+24>>2]=L;break}}}while(0);do{if(J>>>0<16){e=J+g|0;c[K+4>>2]=e|3;i=k+(e+4|0)|0;c[i>>2]=c[i>>2]|1}else{c[K+4>>2]=g|3;c[k+(g|4)>>2]=J|1;c[k+(J+g|0)>>2]=J;i=J>>>3;if(J>>>0<256){e=i<<1;q=5244700+(e<<2)|0;r=c[1311165]|0;j=1<<i;do{if((r&j|0)==0){c[1311165]=r|j;O=q;P=5244700+(e+2<<2)|0}else{i=5244700+(e+2<<2)|0;d=c[i>>2]|0;if(d>>>0>=(c[1311169]|0)>>>0){O=d;P=i;break}aB();return 0}}while(0);c[P>>2]=p;c[O+12>>2]=p;c[k+(g+8|0)>>2]=O;c[k+(g+12|0)>>2]=q;break}e=m;j=J>>>8;do{if((j|0)==0){Q=0}else{if(J>>>0>16777215){Q=31;break}r=(j+1048320|0)>>>16&8;i=j<<r;d=(i+520192|0)>>>16&4;B=i<<d;i=(B+245760|0)>>>16&2;l=(14-(d|r|i)|0)+(B<<i>>>15)|0;Q=J>>>((l+7|0)>>>0)&1|l<<1}}while(0);j=5244964+(Q<<2)|0;c[k+(g+28|0)>>2]=Q;c[k+(g+20|0)>>2]=0;c[k+(g+16|0)>>2]=0;q=c[1311166]|0;l=1<<Q;if((q&l|0)==0){c[1311166]=q|l;c[j>>2]=e;c[k+(g+24|0)>>2]=j;c[k+(g+12|0)>>2]=e;c[k+(g+8|0)>>2]=e;break}if((Q|0)==31){R=0}else{R=25-(Q>>>1)|0}l=J<<R;q=c[j>>2]|0;while(1){if((c[q+4>>2]&-8|0)==(J|0)){break}S=q+16+(l>>>31<<2)|0;j=c[S>>2]|0;if((j|0)==0){T=8375;break}else{l=l<<1;q=j}}if((T|0)==8375){if(S>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[S>>2]=e;c[k+(g+24|0)>>2]=q;c[k+(g+12|0)>>2]=e;c[k+(g+8|0)>>2]=e;break}}l=q+8|0;j=c[l>>2]|0;i=c[1311169]|0;if(q>>>0<i>>>0){aB();return 0}if(j>>>0<i>>>0){aB();return 0}else{c[j+12>>2]=e;c[l>>2]=e;c[k+(g+8|0)>>2]=j;c[k+(g+12|0)>>2]=q;c[k+(g+24|0)>>2]=0;break}}}while(0);k=K+8|0;if((k|0)==0){o=g;break}else{n=k}return n|0}}while(0);K=c[1311167]|0;if(o>>>0<=K>>>0){S=K-o|0;J=c[1311170]|0;if(S>>>0>15){R=J;c[1311170]=R+o|0;c[1311167]=S;c[R+(o+4|0)>>2]=S|1;c[R+K>>2]=S;c[J+4>>2]=o|3}else{c[1311167]=0;c[1311170]=0;c[J+4>>2]=K|3;S=J+(K+4|0)|0;c[S>>2]=c[S>>2]|1}n=J+8|0;return n|0}J=c[1311168]|0;if(o>>>0<J>>>0){S=J-o|0;c[1311168]=S;J=c[1311171]|0;K=J;c[1311171]=K+o|0;c[K+(o+4|0)>>2]=S|1;c[J+4>>2]=o|3;n=J+8|0;return n|0}do{if((c[1310738]|0)==0){J=aN(8)|0;if((J-1&J|0)==0){c[1310740]=J;c[1310739]=J;c[1310741]=-1;c[1310742]=2097152;c[1310743]=0;c[1311276]=0;c[1310738]=a8(0)&-16^1431655768;break}else{aB();return 0}}}while(0);J=o+48|0;S=c[1310740]|0;K=o+47|0;R=S+K|0;Q=-S|0;S=R&Q;if(S>>>0<=o>>>0){n=0;return n|0}O=c[1311275]|0;do{if((O|0)!=0){P=c[1311273]|0;L=P+S|0;if(L>>>0<=P>>>0|L>>>0>O>>>0){n=0}else{break}return n|0}}while(0);L9562:do{if((c[1311276]&4|0)==0){O=c[1311171]|0;L9564:do{if((O|0)==0){T=8405}else{L=O;P=5245108;while(1){U=P|0;M=c[U>>2]|0;if(M>>>0<=L>>>0){V=P+4|0;if((M+(c[V>>2]|0)|0)>>>0>L>>>0){break}}M=c[P+8>>2]|0;if((M|0)==0){T=8405;break L9564}else{P=M}}if((P|0)==0){T=8405;break}L=R-(c[1311168]|0)&Q;if(L>>>0>=2147483647){W=0;break}q=bp(L|0)|0;e=(q|0)==((c[U>>2]|0)+(c[V>>2]|0)|0);X=e?q:-1;Y=e?L:0;Z=q;_=L;T=8414;break}}while(0);do{if((T|0)==8405){O=bp(0)|0;if((O|0)==-1){W=0;break}g=O;L=c[1310739]|0;q=L-1|0;if((q&g|0)==0){$=S}else{$=(S-g|0)+(q+g&-L)|0}L=c[1311273]|0;g=L+$|0;if(!($>>>0>o>>>0&$>>>0<2147483647)){W=0;break}q=c[1311275]|0;if((q|0)!=0){if(g>>>0<=L>>>0|g>>>0>q>>>0){W=0;break}}q=bp($|0)|0;g=(q|0)==(O|0);X=g?O:-1;Y=g?$:0;Z=q;_=$;T=8414;break}}while(0);L9584:do{if((T|0)==8414){q=-_|0;if((X|0)!=-1){aa=Y;ab=X;T=8425;break L9562}do{if((Z|0)!=-1&_>>>0<2147483647&_>>>0<J>>>0){g=c[1310740]|0;O=(K-_|0)+g&-g;if(O>>>0>=2147483647){ac=_;break}if((bp(O|0)|0)==-1){bp(q|0);W=Y;break L9584}else{ac=O+_|0;break}}else{ac=_}}while(0);if((Z|0)==-1){W=Y}else{aa=ac;ab=Z;T=8425;break L9562}}}while(0);c[1311276]=c[1311276]|4;ad=W;T=8422;break}else{ad=0;T=8422}}while(0);do{if((T|0)==8422){if(S>>>0>=2147483647){break}W=bp(S|0)|0;Z=bp(0)|0;if(!((Z|0)!=-1&(W|0)!=-1&W>>>0<Z>>>0)){break}ac=Z-W|0;Z=ac>>>0>(o+40|0)>>>0;Y=Z?W:-1;if((Y|0)==-1){break}else{aa=Z?ac:ad;ab=Y;T=8425;break}}}while(0);do{if((T|0)==8425){ad=(c[1311273]|0)+aa|0;c[1311273]=ad;if(ad>>>0>(c[1311274]|0)>>>0){c[1311274]=ad}ad=c[1311171]|0;L9604:do{if((ad|0)==0){S=c[1311169]|0;if((S|0)==0|ab>>>0<S>>>0){c[1311169]=ab}c[1311277]=ab;c[1311278]=aa;c[1311280]=0;c[1311174]=c[1310738]|0;c[1311173]=-1;S=0;while(1){Y=S<<1;ac=5244700+(Y<<2)|0;c[5244700+(Y+3<<2)>>2]=ac;c[5244700+(Y+2<<2)>>2]=ac;ac=S+1|0;if((ac|0)==32){break}else{S=ac}}S=ab+8|0;if((S&7|0)==0){ae=0}else{ae=-S&7}S=(aa-40|0)-ae|0;c[1311171]=ab+ae|0;c[1311168]=S;c[ab+(ae+4|0)>>2]=S|1;c[ab+(aa-36|0)>>2]=40;c[1311172]=c[1310742]|0}else{S=5245108;while(1){af=c[S>>2]|0;ag=S+4|0;ah=c[ag>>2]|0;if((ab|0)==(af+ah|0)){T=8437;break}ac=c[S+8>>2]|0;if((ac|0)==0){break}else{S=ac}}do{if((T|0)==8437){if((c[S+12>>2]&8|0)!=0){break}ac=ad;if(!(ac>>>0>=af>>>0&ac>>>0<ab>>>0)){break}c[ag>>2]=ah+aa|0;ac=c[1311171]|0;Y=(c[1311168]|0)+aa|0;Z=ac;W=ac+8|0;if((W&7|0)==0){ai=0}else{ai=-W&7}W=Y-ai|0;c[1311171]=Z+ai|0;c[1311168]=W;c[Z+(ai+4|0)>>2]=W|1;c[Z+(Y+4|0)>>2]=40;c[1311172]=c[1310742]|0;break L9604}}while(0);if(ab>>>0<(c[1311169]|0)>>>0){c[1311169]=ab}S=ab+aa|0;Y=5245108;while(1){aj=Y|0;if((c[aj>>2]|0)==(S|0)){T=8447;break}Z=c[Y+8>>2]|0;if((Z|0)==0){break}else{Y=Z}}do{if((T|0)==8447){if((c[Y+12>>2]&8|0)!=0){break}c[aj>>2]=ab;S=Y+4|0;c[S>>2]=(c[S>>2]|0)+aa|0;S=ab+8|0;if((S&7|0)==0){ak=0}else{ak=-S&7}S=ab+(aa+8|0)|0;if((S&7|0)==0){al=0}else{al=-S&7}S=ab+(al+aa|0)|0;Z=S;W=ak+o|0;ac=ab+W|0;_=ac;K=(S-(ab+ak|0)|0)-o|0;c[ab+(ak+4|0)>>2]=o|3;do{if((Z|0)==(c[1311171]|0)){J=(c[1311168]|0)+K|0;c[1311168]=J;c[1311171]=_;c[ab+(W+4|0)>>2]=J|1}else{if((Z|0)==(c[1311170]|0)){J=(c[1311167]|0)+K|0;c[1311167]=J;c[1311170]=_;c[ab+(W+4|0)>>2]=J|1;c[ab+(J+W|0)>>2]=J;break}J=aa+4|0;X=c[ab+(J+al|0)>>2]|0;if((X&3|0)==1){$=X&-8;V=X>>>3;L9649:do{if(X>>>0<256){U=c[ab+((al|8)+aa|0)>>2]|0;Q=c[ab+((aa+12|0)+al|0)>>2]|0;R=5244700+(V<<1<<2)|0;do{if((U|0)!=(R|0)){if(U>>>0<(c[1311169]|0)>>>0){aB();return 0}if((c[U+12>>2]|0)==(Z|0)){break}aB();return 0}}while(0);if((Q|0)==(U|0)){c[1311165]=c[1311165]&(1<<V^-1);break}do{if((Q|0)==(R|0)){am=Q+8|0}else{if(Q>>>0<(c[1311169]|0)>>>0){aB();return 0}q=Q+8|0;if((c[q>>2]|0)==(Z|0)){am=q;break}aB();return 0}}while(0);c[U+12>>2]=Q;c[am>>2]=U}else{R=S;q=c[ab+((al|24)+aa|0)>>2]|0;P=c[ab+((aa+12|0)+al|0)>>2]|0;L9670:do{if((P|0)==(R|0)){O=al|16;g=ab+(J+O|0)|0;L=c[g>>2]|0;do{if((L|0)==0){e=ab+(O+aa|0)|0;M=c[e>>2]|0;if((M|0)==0){an=0;break L9670}else{ao=M;ap=e;break}}else{ao=L;ap=g}}while(0);while(1){g=ao+20|0;L=c[g>>2]|0;if((L|0)!=0){ao=L;ap=g;continue}g=ao+16|0;L=c[g>>2]|0;if((L|0)==0){break}else{ao=L;ap=g}}if(ap>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[ap>>2]=0;an=ao;break}}else{g=c[ab+((al|8)+aa|0)>>2]|0;if(g>>>0<(c[1311169]|0)>>>0){aB();return 0}L=g+12|0;if((c[L>>2]|0)!=(R|0)){aB();return 0}O=P+8|0;if((c[O>>2]|0)==(R|0)){c[L>>2]=P;c[O>>2]=g;an=P;break}else{aB();return 0}}}while(0);if((q|0)==0){break}P=ab+((aa+28|0)+al|0)|0;U=5244964+(c[P>>2]<<2)|0;do{if((R|0)==(c[U>>2]|0)){c[U>>2]=an;if((an|0)!=0){break}c[1311166]=c[1311166]&(1<<c[P>>2]^-1);break L9649}else{if(q>>>0<(c[1311169]|0)>>>0){aB();return 0}Q=q+16|0;if((c[Q>>2]|0)==(R|0)){c[Q>>2]=an}else{c[q+20>>2]=an}if((an|0)==0){break L9649}}}while(0);if(an>>>0<(c[1311169]|0)>>>0){aB();return 0}c[an+24>>2]=q;R=al|16;P=c[ab+(R+aa|0)>>2]|0;do{if((P|0)!=0){if(P>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[an+16>>2]=P;c[P+24>>2]=an;break}}}while(0);P=c[ab+(J+R|0)>>2]|0;if((P|0)==0){break}if(P>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[an+20>>2]=P;c[P+24>>2]=an;break}}}while(0);aq=ab+(($|al)+aa|0)|0;ar=$+K|0}else{aq=Z;ar=K}J=aq+4|0;c[J>>2]=c[J>>2]&-2;c[ab+(W+4|0)>>2]=ar|1;c[ab+(ar+W|0)>>2]=ar;J=ar>>>3;if(ar>>>0<256){V=J<<1;X=5244700+(V<<2)|0;P=c[1311165]|0;q=1<<J;do{if((P&q|0)==0){c[1311165]=P|q;as=X;at=5244700+(V+2<<2)|0}else{J=5244700+(V+2<<2)|0;U=c[J>>2]|0;if(U>>>0>=(c[1311169]|0)>>>0){as=U;at=J;break}aB();return 0}}while(0);c[at>>2]=_;c[as+12>>2]=_;c[ab+(W+8|0)>>2]=as;c[ab+(W+12|0)>>2]=X;break}V=ac;q=ar>>>8;do{if((q|0)==0){au=0}else{if(ar>>>0>16777215){au=31;break}P=(q+1048320|0)>>>16&8;$=q<<P;J=($+520192|0)>>>16&4;U=$<<J;$=(U+245760|0)>>>16&2;Q=(14-(J|P|$)|0)+(U<<$>>>15)|0;au=ar>>>((Q+7|0)>>>0)&1|Q<<1}}while(0);q=5244964+(au<<2)|0;c[ab+(W+28|0)>>2]=au;c[ab+(W+20|0)>>2]=0;c[ab+(W+16|0)>>2]=0;X=c[1311166]|0;Q=1<<au;if((X&Q|0)==0){c[1311166]=X|Q;c[q>>2]=V;c[ab+(W+24|0)>>2]=q;c[ab+(W+12|0)>>2]=V;c[ab+(W+8|0)>>2]=V;break}if((au|0)==31){av=0}else{av=25-(au>>>1)|0}Q=ar<<av;X=c[q>>2]|0;while(1){if((c[X+4>>2]&-8|0)==(ar|0)){break}aw=X+16+(Q>>>31<<2)|0;q=c[aw>>2]|0;if((q|0)==0){T=8520;break}else{Q=Q<<1;X=q}}if((T|0)==8520){if(aw>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[aw>>2]=V;c[ab+(W+24|0)>>2]=X;c[ab+(W+12|0)>>2]=V;c[ab+(W+8|0)>>2]=V;break}}Q=X+8|0;q=c[Q>>2]|0;$=c[1311169]|0;if(X>>>0<$>>>0){aB();return 0}if(q>>>0<$>>>0){aB();return 0}else{c[q+12>>2]=V;c[Q>>2]=V;c[ab+(W+8|0)>>2]=q;c[ab+(W+12|0)>>2]=X;c[ab+(W+24|0)>>2]=0;break}}}while(0);n=ab+(ak|8)|0;return n|0}}while(0);Y=ad;W=5245108;while(1){ax=c[W>>2]|0;if(ax>>>0<=Y>>>0){ay=c[W+4>>2]|0;az=ax+ay|0;if(az>>>0>Y>>>0){break}}W=c[W+8>>2]|0}W=ax+(ay-39|0)|0;if((W&7|0)==0){aA=0}else{aA=-W&7}W=ax+((ay-47|0)+aA|0)|0;ac=W>>>0<(ad+16|0)>>>0?Y:W;W=ac+8|0;_=ab+8|0;if((_&7|0)==0){aC=0}else{aC=-_&7}_=(aa-40|0)-aC|0;c[1311171]=ab+aC|0;c[1311168]=_;c[ab+(aC+4|0)>>2]=_|1;c[ab+(aa-36|0)>>2]=40;c[1311172]=c[1310742]|0;c[ac+4>>2]=27;c[W>>2]=c[1311277]|0;c[W+4>>2]=c[5245112>>2]|0;c[W+8>>2]=c[5245116>>2]|0;c[W+12>>2]=c[5245120>>2]|0;c[1311277]=ab;c[1311278]=aa;c[1311280]=0;c[1311279]=W;W=ac+28|0;c[W>>2]=7;L9768:do{if((ac+32|0)>>>0<az>>>0){_=W;while(1){K=_+4|0;c[K>>2]=7;if((_+8|0)>>>0<az>>>0){_=K}else{break L9768}}}}while(0);if((ac|0)==(Y|0)){break}W=ac-ad|0;_=Y+(W+4|0)|0;c[_>>2]=c[_>>2]&-2;c[ad+4>>2]=W|1;c[Y+W>>2]=W;_=W>>>3;if(W>>>0<256){K=_<<1;Z=5244700+(K<<2)|0;S=c[1311165]|0;q=1<<_;do{if((S&q|0)==0){c[1311165]=S|q;aD=Z;aE=5244700+(K+2<<2)|0}else{_=5244700+(K+2<<2)|0;Q=c[_>>2]|0;if(Q>>>0>=(c[1311169]|0)>>>0){aD=Q;aE=_;break}aB();return 0}}while(0);c[aE>>2]=ad;c[aD+12>>2]=ad;c[ad+8>>2]=aD;c[ad+12>>2]=Z;break}K=ad;q=W>>>8;do{if((q|0)==0){aF=0}else{if(W>>>0>16777215){aF=31;break}S=(q+1048320|0)>>>16&8;Y=q<<S;ac=(Y+520192|0)>>>16&4;_=Y<<ac;Y=(_+245760|0)>>>16&2;Q=(14-(ac|S|Y)|0)+(_<<Y>>>15)|0;aF=W>>>((Q+7|0)>>>0)&1|Q<<1}}while(0);q=5244964+(aF<<2)|0;c[ad+28>>2]=aF;c[ad+20>>2]=0;c[ad+16>>2]=0;Z=c[1311166]|0;Q=1<<aF;if((Z&Q|0)==0){c[1311166]=Z|Q;c[q>>2]=K;c[ad+24>>2]=q;c[ad+12>>2]=ad;c[ad+8>>2]=ad;break}if((aF|0)==31){aG=0}else{aG=25-(aF>>>1)|0}Q=W<<aG;Z=c[q>>2]|0;while(1){if((c[Z+4>>2]&-8|0)==(W|0)){break}aH=Z+16+(Q>>>31<<2)|0;q=c[aH>>2]|0;if((q|0)==0){T=8555;break}else{Q=Q<<1;Z=q}}if((T|0)==8555){if(aH>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[aH>>2]=K;c[ad+24>>2]=Z;c[ad+12>>2]=ad;c[ad+8>>2]=ad;break}}Q=Z+8|0;W=c[Q>>2]|0;q=c[1311169]|0;if(Z>>>0<q>>>0){aB();return 0}if(W>>>0<q>>>0){aB();return 0}else{c[W+12>>2]=K;c[Q>>2]=K;c[ad+8>>2]=W;c[ad+12>>2]=Z;c[ad+24>>2]=0;break}}}while(0);ad=c[1311168]|0;if(ad>>>0<=o>>>0){break}W=ad-o|0;c[1311168]=W;ad=c[1311171]|0;Q=ad;c[1311171]=Q+o|0;c[Q+(o+4|0)>>2]=W|1;c[ad+4>>2]=o|3;n=ad+8|0;return n|0}}while(0);c[bt()>>2]=12;n=0;return n|0}function jf(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,M=0,N=0,O=0;if((a|0)==0){return}b=a-8|0;d=b;e=c[1311169]|0;if(b>>>0<e>>>0){aB()}f=c[a-4>>2]|0;g=f&3;if((g|0)==1){aB()}h=f&-8;i=a+(h-8|0)|0;j=i;L9821:do{if((f&1|0)==0){k=c[b>>2]|0;if((g|0)==0){return}l=-8-k|0;m=a+l|0;n=m;o=k+h|0;if(m>>>0<e>>>0){aB()}if((n|0)==(c[1311170]|0)){p=a+(h-4|0)|0;if((c[p>>2]&3|0)!=3){q=n;r=o;break}c[1311167]=o;c[p>>2]=c[p>>2]&-2;c[a+(l+4|0)>>2]=o|1;c[i>>2]=o;return}p=k>>>3;if(k>>>0<256){k=c[a+(l+8|0)>>2]|0;s=c[a+(l+12|0)>>2]|0;t=5244700+(p<<1<<2)|0;do{if((k|0)!=(t|0)){if(k>>>0<e>>>0){aB()}if((c[k+12>>2]|0)==(n|0)){break}aB()}}while(0);if((s|0)==(k|0)){c[1311165]=c[1311165]&(1<<p^-1);q=n;r=o;break}do{if((s|0)==(t|0)){u=s+8|0}else{if(s>>>0<e>>>0){aB()}v=s+8|0;if((c[v>>2]|0)==(n|0)){u=v;break}aB()}}while(0);c[k+12>>2]=s;c[u>>2]=k;q=n;r=o;break}t=m;p=c[a+(l+24|0)>>2]|0;v=c[a+(l+12|0)>>2]|0;L9855:do{if((v|0)==(t|0)){w=a+(l+20|0)|0;x=c[w>>2]|0;do{if((x|0)==0){y=a+(l+16|0)|0;z=c[y>>2]|0;if((z|0)==0){A=0;break L9855}else{B=z;C=y;break}}else{B=x;C=w}}while(0);while(1){w=B+20|0;x=c[w>>2]|0;if((x|0)!=0){B=x;C=w;continue}w=B+16|0;x=c[w>>2]|0;if((x|0)==0){break}else{B=x;C=w}}if(C>>>0<e>>>0){aB()}else{c[C>>2]=0;A=B;break}}else{w=c[a+(l+8|0)>>2]|0;if(w>>>0<e>>>0){aB()}x=w+12|0;if((c[x>>2]|0)!=(t|0)){aB()}y=v+8|0;if((c[y>>2]|0)==(t|0)){c[x>>2]=v;c[y>>2]=w;A=v;break}else{aB()}}}while(0);if((p|0)==0){q=n;r=o;break}v=a+(l+28|0)|0;m=5244964+(c[v>>2]<<2)|0;do{if((t|0)==(c[m>>2]|0)){c[m>>2]=A;if((A|0)!=0){break}c[1311166]=c[1311166]&(1<<c[v>>2]^-1);q=n;r=o;break L9821}else{if(p>>>0<(c[1311169]|0)>>>0){aB()}k=p+16|0;if((c[k>>2]|0)==(t|0)){c[k>>2]=A}else{c[p+20>>2]=A}if((A|0)==0){q=n;r=o;break L9821}}}while(0);if(A>>>0<(c[1311169]|0)>>>0){aB()}c[A+24>>2]=p;t=c[a+(l+16|0)>>2]|0;do{if((t|0)!=0){if(t>>>0<(c[1311169]|0)>>>0){aB()}else{c[A+16>>2]=t;c[t+24>>2]=A;break}}}while(0);t=c[a+(l+20|0)>>2]|0;if((t|0)==0){q=n;r=o;break}if(t>>>0<(c[1311169]|0)>>>0){aB()}else{c[A+20>>2]=t;c[t+24>>2]=A;q=n;r=o;break}}else{q=d;r=h}}while(0);d=q;if(d>>>0>=i>>>0){aB()}A=a+(h-4|0)|0;e=c[A>>2]|0;if((e&1|0)==0){aB()}do{if((e&2|0)==0){if((j|0)==(c[1311171]|0)){B=(c[1311168]|0)+r|0;c[1311168]=B;c[1311171]=q;c[q+4>>2]=B|1;if((q|0)==(c[1311170]|0)){c[1311170]=0;c[1311167]=0}if(B>>>0<=(c[1311172]|0)>>>0){return}jh(0);return}if((j|0)==(c[1311170]|0)){B=(c[1311167]|0)+r|0;c[1311167]=B;c[1311170]=q;c[q+4>>2]=B|1;c[d+B>>2]=B;return}B=(e&-8)+r|0;C=e>>>3;L9927:do{if(e>>>0<256){u=c[a+h>>2]|0;g=c[a+(h|4)>>2]|0;b=5244700+(C<<1<<2)|0;do{if((u|0)!=(b|0)){if(u>>>0<(c[1311169]|0)>>>0){aB()}if((c[u+12>>2]|0)==(j|0)){break}aB()}}while(0);if((g|0)==(u|0)){c[1311165]=c[1311165]&(1<<C^-1);break}do{if((g|0)==(b|0)){D=g+8|0}else{if(g>>>0<(c[1311169]|0)>>>0){aB()}f=g+8|0;if((c[f>>2]|0)==(j|0)){D=f;break}aB()}}while(0);c[u+12>>2]=g;c[D>>2]=u}else{b=i;f=c[a+(h+16|0)>>2]|0;t=c[a+(h|4)>>2]|0;L9929:do{if((t|0)==(b|0)){p=a+(h+12|0)|0;v=c[p>>2]|0;do{if((v|0)==0){m=a+(h+8|0)|0;k=c[m>>2]|0;if((k|0)==0){E=0;break L9929}else{F=k;G=m;break}}else{F=v;G=p}}while(0);while(1){p=F+20|0;v=c[p>>2]|0;if((v|0)!=0){F=v;G=p;continue}p=F+16|0;v=c[p>>2]|0;if((v|0)==0){break}else{F=v;G=p}}if(G>>>0<(c[1311169]|0)>>>0){aB()}else{c[G>>2]=0;E=F;break}}else{p=c[a+h>>2]|0;if(p>>>0<(c[1311169]|0)>>>0){aB()}v=p+12|0;if((c[v>>2]|0)!=(b|0)){aB()}m=t+8|0;if((c[m>>2]|0)==(b|0)){c[v>>2]=t;c[m>>2]=p;E=t;break}else{aB()}}}while(0);if((f|0)==0){break}t=a+(h+20|0)|0;u=5244964+(c[t>>2]<<2)|0;do{if((b|0)==(c[u>>2]|0)){c[u>>2]=E;if((E|0)!=0){break}c[1311166]=c[1311166]&(1<<c[t>>2]^-1);break L9927}else{if(f>>>0<(c[1311169]|0)>>>0){aB()}g=f+16|0;if((c[g>>2]|0)==(b|0)){c[g>>2]=E}else{c[f+20>>2]=E}if((E|0)==0){break L9927}}}while(0);if(E>>>0<(c[1311169]|0)>>>0){aB()}c[E+24>>2]=f;b=c[a+(h+8|0)>>2]|0;do{if((b|0)!=0){if(b>>>0<(c[1311169]|0)>>>0){aB()}else{c[E+16>>2]=b;c[b+24>>2]=E;break}}}while(0);b=c[a+(h+12|0)>>2]|0;if((b|0)==0){break}if(b>>>0<(c[1311169]|0)>>>0){aB()}else{c[E+20>>2]=b;c[b+24>>2]=E;break}}}while(0);c[q+4>>2]=B|1;c[d+B>>2]=B;if((q|0)!=(c[1311170]|0)){H=B;break}c[1311167]=B;return}else{c[A>>2]=e&-2;c[q+4>>2]=r|1;c[d+r>>2]=r;H=r}}while(0);r=H>>>3;if(H>>>0<256){d=r<<1;e=5244700+(d<<2)|0;A=c[1311165]|0;E=1<<r;do{if((A&E|0)==0){c[1311165]=A|E;I=e;J=5244700+(d+2<<2)|0}else{r=5244700+(d+2<<2)|0;h=c[r>>2]|0;if(h>>>0>=(c[1311169]|0)>>>0){I=h;J=r;break}aB()}}while(0);c[J>>2]=q;c[I+12>>2]=q;c[q+8>>2]=I;c[q+12>>2]=e;return}e=q;I=H>>>8;do{if((I|0)==0){K=0}else{if(H>>>0>16777215){K=31;break}J=(I+1048320|0)>>>16&8;d=I<<J;E=(d+520192|0)>>>16&4;A=d<<E;d=(A+245760|0)>>>16&2;r=(14-(E|J|d)|0)+(A<<d>>>15)|0;K=H>>>((r+7|0)>>>0)&1|r<<1}}while(0);I=5244964+(K<<2)|0;c[q+28>>2]=K;c[q+20>>2]=0;c[q+16>>2]=0;r=c[1311166]|0;d=1<<K;do{if((r&d|0)==0){c[1311166]=r|d;c[I>>2]=e;c[q+24>>2]=I;c[q+12>>2]=q;c[q+8>>2]=q}else{if((K|0)==31){L=0}else{L=25-(K>>>1)|0}A=H<<L;J=c[I>>2]|0;while(1){if((c[J+4>>2]&-8|0)==(H|0)){break}M=J+16+(A>>>31<<2)|0;E=c[M>>2]|0;if((E|0)==0){N=8734;break}else{A=A<<1;J=E}}if((N|0)==8734){if(M>>>0<(c[1311169]|0)>>>0){aB()}else{c[M>>2]=e;c[q+24>>2]=J;c[q+12>>2]=q;c[q+8>>2]=q;break}}A=J+8|0;B=c[A>>2]|0;E=c[1311169]|0;if(J>>>0<E>>>0){aB()}if(B>>>0<E>>>0){aB()}else{c[B+12>>2]=e;c[A>>2]=e;c[q+8>>2]=B;c[q+12>>2]=J;c[q+24>>2]=0;break}}}while(0);q=(c[1311173]|0)-1|0;c[1311173]=q;if((q|0)==0){O=5245116}else{return}while(1){q=c[O>>2]|0;if((q|0)==0){break}else{O=q+8|0}}c[1311173]=-1;return}function jg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if((a|0)==0){d=je(b)|0;return d|0}if(b>>>0>4294967231){c[bt()>>2]=12;d=0;return d|0}if(b>>>0<11){e=16}else{e=b+11&-8}f=ji(a-8|0,e)|0;if((f|0)!=0){d=f+8|0;return d|0}f=je(b)|0;if((f|0)==0){d=0;return d|0}e=c[a-4>>2]|0;g=(e&-8)-((e&3|0)==0?8:4)|0;jt(f,a,g>>>0<b>>>0?g:b);jf(a);d=f;return d|0}function jh(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;do{if((c[1310738]|0)==0){b=aN(8)|0;if((b-1&b|0)==0){c[1310740]=b;c[1310739]=b;c[1310741]=-1;c[1310742]=2097152;c[1310743]=0;c[1311276]=0;c[1310738]=a8(0)&-16^1431655768;break}else{aB();return 0}}}while(0);if(a>>>0>=4294967232){d=0;e=d&1;return e|0}b=c[1311171]|0;if((b|0)==0){d=0;e=d&1;return e|0}f=c[1311168]|0;do{if(f>>>0>(a+40|0)>>>0){g=c[1310740]|0;h=ab(((((((-40-a|0)-1|0)+f|0)+g|0)>>>0)/(g>>>0)>>>0)-1|0,g);i=b;j=5245108;while(1){k=c[j>>2]|0;if(k>>>0<=i>>>0){if((k+(c[j+4>>2]|0)|0)>>>0>i>>>0){l=j;break}}k=c[j+8>>2]|0;if((k|0)==0){l=0;break}else{j=k}}if((c[l+12>>2]&8|0)!=0){break}j=bp(0)|0;i=l+4|0;if((j|0)!=((c[l>>2]|0)+(c[i>>2]|0)|0)){break}k=bp(-(h>>>0>2147483646?-2147483648-g|0:h)|0)|0;m=bp(0)|0;if(!((k|0)!=-1&m>>>0<j>>>0)){break}k=j-m|0;if((j|0)==(m|0)){break}c[i>>2]=(c[i>>2]|0)-k|0;c[1311273]=(c[1311273]|0)-k|0;i=c[1311171]|0;n=(c[1311168]|0)-k|0;k=i;o=i+8|0;if((o&7|0)==0){p=0}else{p=-o&7}o=n-p|0;c[1311171]=k+p|0;c[1311168]=o;c[k+(p+4|0)>>2]=o|1;c[k+(n+4|0)>>2]=40;c[1311172]=c[1310742]|0;d=(j|0)!=(m|0);e=d&1;return e|0}}while(0);if((c[1311168]|0)>>>0<=(c[1311172]|0)>>>0){d=0;e=d&1;return e|0}c[1311172]=-1;d=0;e=d&1;return e|0}function ji(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;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a;h=g+f|0;i=h;j=c[1311169]|0;if(g>>>0<j>>>0){aB();return 0}k=e&3;if(!((k|0)!=1&g>>>0<h>>>0)){aB();return 0}l=g+(f|4)|0;m=c[l>>2]|0;if((m&1|0)==0){aB();return 0}if((k|0)==0){if(b>>>0<256){n=0;return n|0}do{if(f>>>0>=(b+4|0)>>>0){if((f-b|0)>>>0>c[1310740]<<1>>>0){break}else{n=a}return n|0}}while(0);n=0;return n|0}if(f>>>0>=b>>>0){k=f-b|0;if(k>>>0<=15){n=a;return n|0}c[d>>2]=e&1|b|2;c[g+(b+4|0)>>2]=k|3;c[l>>2]=c[l>>2]|1;jj(g+b|0,k);n=a;return n|0}if((i|0)==(c[1311171]|0)){k=(c[1311168]|0)+f|0;if(k>>>0<=b>>>0){n=0;return n|0}l=k-b|0;c[d>>2]=e&1|b|2;c[g+(b+4|0)>>2]=l|1;c[1311171]=g+b|0;c[1311168]=l;n=a;return n|0}if((i|0)==(c[1311170]|0)){l=(c[1311167]|0)+f|0;if(l>>>0<b>>>0){n=0;return n|0}k=l-b|0;if(k>>>0>15){c[d>>2]=e&1|b|2;c[g+(b+4|0)>>2]=k|1;c[g+l>>2]=k;o=g+(l+4|0)|0;c[o>>2]=c[o>>2]&-2;p=g+b|0;q=k}else{c[d>>2]=e&1|l|2;e=g+(l+4|0)|0;c[e>>2]=c[e>>2]|1;p=0;q=0}c[1311167]=q;c[1311170]=p;n=a;return n|0}if((m&2|0)!=0){n=0;return n|0}p=(m&-8)+f|0;if(p>>>0<b>>>0){n=0;return n|0}q=p-b|0;e=m>>>3;L10147:do{if(m>>>0<256){l=c[g+(f+8|0)>>2]|0;k=c[g+(f+12|0)>>2]|0;o=5244700+(e<<1<<2)|0;do{if((l|0)!=(o|0)){if(l>>>0<j>>>0){aB();return 0}if((c[l+12>>2]|0)==(i|0)){break}aB();return 0}}while(0);if((k|0)==(l|0)){c[1311165]=c[1311165]&(1<<e^-1);break}do{if((k|0)==(o|0)){r=k+8|0}else{if(k>>>0<j>>>0){aB();return 0}s=k+8|0;if((c[s>>2]|0)==(i|0)){r=s;break}aB();return 0}}while(0);c[l+12>>2]=k;c[r>>2]=l}else{o=h;s=c[g+(f+24|0)>>2]|0;t=c[g+(f+12|0)>>2]|0;L10168:do{if((t|0)==(o|0)){u=g+(f+20|0)|0;v=c[u>>2]|0;do{if((v|0)==0){w=g+(f+16|0)|0;x=c[w>>2]|0;if((x|0)==0){y=0;break L10168}else{z=x;A=w;break}}else{z=v;A=u}}while(0);while(1){u=z+20|0;v=c[u>>2]|0;if((v|0)!=0){z=v;A=u;continue}u=z+16|0;v=c[u>>2]|0;if((v|0)==0){break}else{z=v;A=u}}if(A>>>0<j>>>0){aB();return 0}else{c[A>>2]=0;y=z;break}}else{u=c[g+(f+8|0)>>2]|0;if(u>>>0<j>>>0){aB();return 0}v=u+12|0;if((c[v>>2]|0)!=(o|0)){aB();return 0}w=t+8|0;if((c[w>>2]|0)==(o|0)){c[v>>2]=t;c[w>>2]=u;y=t;break}else{aB();return 0}}}while(0);if((s|0)==0){break}t=g+(f+28|0)|0;l=5244964+(c[t>>2]<<2)|0;do{if((o|0)==(c[l>>2]|0)){c[l>>2]=y;if((y|0)!=0){break}c[1311166]=c[1311166]&(1<<c[t>>2]^-1);break L10147}else{if(s>>>0<(c[1311169]|0)>>>0){aB();return 0}k=s+16|0;if((c[k>>2]|0)==(o|0)){c[k>>2]=y}else{c[s+20>>2]=y}if((y|0)==0){break L10147}}}while(0);if(y>>>0<(c[1311169]|0)>>>0){aB();return 0}c[y+24>>2]=s;o=c[g+(f+16|0)>>2]|0;do{if((o|0)!=0){if(o>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[y+16>>2]=o;c[o+24>>2]=y;break}}}while(0);o=c[g+(f+20|0)>>2]|0;if((o|0)==0){break}if(o>>>0<(c[1311169]|0)>>>0){aB();return 0}else{c[y+20>>2]=o;c[o+24>>2]=y;break}}}while(0);if(q>>>0<16){c[d>>2]=p|c[d>>2]&1|2;y=g+(p|4)|0;c[y>>2]=c[y>>2]|1;n=a;return n|0}else{c[d>>2]=c[d>>2]&1|b|2;c[g+(b+4|0)>>2]=q|3;d=g+(p|4)|0;c[d>>2]=c[d>>2]|1;jj(g+b|0,q);n=a;return n|0}return 0}function jj(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;d=a;e=d+b|0;f=e;g=c[a+4>>2]|0;L10223:do{if((g&1|0)==0){h=c[a>>2]|0;if((g&3|0)==0){return}i=d+(-h|0)|0;j=i;k=h+b|0;l=c[1311169]|0;if(i>>>0<l>>>0){aB()}if((j|0)==(c[1311170]|0)){m=d+(b+4|0)|0;if((c[m>>2]&3|0)!=3){n=j;o=k;break}c[1311167]=k;c[m>>2]=c[m>>2]&-2;c[d+(4-h|0)>>2]=k|1;c[e>>2]=k;return}m=h>>>3;if(h>>>0<256){p=c[d+(8-h|0)>>2]|0;q=c[d+(12-h|0)>>2]|0;r=5244700+(m<<1<<2)|0;do{if((p|0)!=(r|0)){if(p>>>0<l>>>0){aB()}if((c[p+12>>2]|0)==(j|0)){break}aB()}}while(0);if((q|0)==(p|0)){c[1311165]=c[1311165]&(1<<m^-1);n=j;o=k;break}do{if((q|0)==(r|0)){s=q+8|0}else{if(q>>>0<l>>>0){aB()}t=q+8|0;if((c[t>>2]|0)==(j|0)){s=t;break}aB()}}while(0);c[p+12>>2]=q;c[s>>2]=p;n=j;o=k;break}r=i;m=c[d+(24-h|0)>>2]|0;t=c[d+(12-h|0)>>2]|0;L10257:do{if((t|0)==(r|0)){u=16-h|0;v=d+(u+4|0)|0;w=c[v>>2]|0;do{if((w|0)==0){x=d+u|0;y=c[x>>2]|0;if((y|0)==0){z=0;break L10257}else{A=y;B=x;break}}else{A=w;B=v}}while(0);while(1){v=A+20|0;w=c[v>>2]|0;if((w|0)!=0){A=w;B=v;continue}v=A+16|0;w=c[v>>2]|0;if((w|0)==0){break}else{A=w;B=v}}if(B>>>0<l>>>0){aB()}else{c[B>>2]=0;z=A;break}}else{v=c[d+(8-h|0)>>2]|0;if(v>>>0<l>>>0){aB()}w=v+12|0;if((c[w>>2]|0)!=(r|0)){aB()}u=t+8|0;if((c[u>>2]|0)==(r|0)){c[w>>2]=t;c[u>>2]=v;z=t;break}else{aB()}}}while(0);if((m|0)==0){n=j;o=k;break}t=d+(28-h|0)|0;l=5244964+(c[t>>2]<<2)|0;do{if((r|0)==(c[l>>2]|0)){c[l>>2]=z;if((z|0)!=0){break}c[1311166]=c[1311166]&(1<<c[t>>2]^-1);n=j;o=k;break L10223}else{if(m>>>0<(c[1311169]|0)>>>0){aB()}i=m+16|0;if((c[i>>2]|0)==(r|0)){c[i>>2]=z}else{c[m+20>>2]=z}if((z|0)==0){n=j;o=k;break L10223}}}while(0);if(z>>>0<(c[1311169]|0)>>>0){aB()}c[z+24>>2]=m;r=16-h|0;t=c[d+r>>2]|0;do{if((t|0)!=0){if(t>>>0<(c[1311169]|0)>>>0){aB()}else{c[z+16>>2]=t;c[t+24>>2]=z;break}}}while(0);t=c[d+(r+4|0)>>2]|0;if((t|0)==0){n=j;o=k;break}if(t>>>0<(c[1311169]|0)>>>0){aB()}else{c[z+20>>2]=t;c[t+24>>2]=z;n=j;o=k;break}}else{n=a;o=b}}while(0);a=c[1311169]|0;if(e>>>0<a>>>0){aB()}z=d+(b+4|0)|0;A=c[z>>2]|0;do{if((A&2|0)==0){if((f|0)==(c[1311171]|0)){B=(c[1311168]|0)+o|0;c[1311168]=B;c[1311171]=n;c[n+4>>2]=B|1;if((n|0)!=(c[1311170]|0)){return}c[1311170]=0;c[1311167]=0;return}if((f|0)==(c[1311170]|0)){B=(c[1311167]|0)+o|0;c[1311167]=B;c[1311170]=n;c[n+4>>2]=B|1;c[n+B>>2]=B;return}B=(A&-8)+o|0;s=A>>>3;L10322:do{if(A>>>0<256){g=c[d+(b+8|0)>>2]|0;t=c[d+(b+12|0)>>2]|0;h=5244700+(s<<1<<2)|0;do{if((g|0)!=(h|0)){if(g>>>0<a>>>0){aB()}if((c[g+12>>2]|0)==(f|0)){break}aB()}}while(0);if((t|0)==(g|0)){c[1311165]=c[1311165]&(1<<s^-1);break}do{if((t|0)==(h|0)){C=t+8|0}else{if(t>>>0<a>>>0){aB()}m=t+8|0;if((c[m>>2]|0)==(f|0)){C=m;break}aB()}}while(0);c[g+12>>2]=t;c[C>>2]=g}else{h=e;m=c[d+(b+24|0)>>2]|0;l=c[d+(b+12|0)>>2]|0;L10324:do{if((l|0)==(h|0)){i=d+(b+20|0)|0;p=c[i>>2]|0;do{if((p|0)==0){q=d+(b+16|0)|0;v=c[q>>2]|0;if((v|0)==0){D=0;break L10324}else{E=v;F=q;break}}else{E=p;F=i}}while(0);while(1){i=E+20|0;p=c[i>>2]|0;if((p|0)!=0){E=p;F=i;continue}i=E+16|0;p=c[i>>2]|0;if((p|0)==0){break}else{E=p;F=i}}if(F>>>0<a>>>0){aB()}else{c[F>>2]=0;D=E;break}}else{i=c[d+(b+8|0)>>2]|0;if(i>>>0<a>>>0){aB()}p=i+12|0;if((c[p>>2]|0)!=(h|0)){aB()}q=l+8|0;if((c[q>>2]|0)==(h|0)){c[p>>2]=l;c[q>>2]=i;D=l;break}else{aB()}}}while(0);if((m|0)==0){break}l=d+(b+28|0)|0;g=5244964+(c[l>>2]<<2)|0;do{if((h|0)==(c[g>>2]|0)){c[g>>2]=D;if((D|0)!=0){break}c[1311166]=c[1311166]&(1<<c[l>>2]^-1);break L10322}else{if(m>>>0<(c[1311169]|0)>>>0){aB()}t=m+16|0;if((c[t>>2]|0)==(h|0)){c[t>>2]=D}else{c[m+20>>2]=D}if((D|0)==0){break L10322}}}while(0);if(D>>>0<(c[1311169]|0)>>>0){aB()}c[D+24>>2]=m;h=c[d+(b+16|0)>>2]|0;do{if((h|0)!=0){if(h>>>0<(c[1311169]|0)>>>0){aB()}else{c[D+16>>2]=h;c[h+24>>2]=D;break}}}while(0);h=c[d+(b+20|0)>>2]|0;if((h|0)==0){break}if(h>>>0<(c[1311169]|0)>>>0){aB()}else{c[D+20>>2]=h;c[h+24>>2]=D;break}}}while(0);c[n+4>>2]=B|1;c[n+B>>2]=B;if((n|0)!=(c[1311170]|0)){G=B;break}c[1311167]=B;return}else{c[z>>2]=A&-2;c[n+4>>2]=o|1;c[n+o>>2]=o;G=o}}while(0);o=G>>>3;if(G>>>0<256){A=o<<1;z=5244700+(A<<2)|0;D=c[1311165]|0;b=1<<o;do{if((D&b|0)==0){c[1311165]=D|b;H=z;I=5244700+(A+2<<2)|0}else{o=5244700+(A+2<<2)|0;d=c[o>>2]|0;if(d>>>0>=(c[1311169]|0)>>>0){H=d;I=o;break}aB()}}while(0);c[I>>2]=n;c[H+12>>2]=n;c[n+8>>2]=H;c[n+12>>2]=z;return}z=n;H=G>>>8;do{if((H|0)==0){J=0}else{if(G>>>0>16777215){J=31;break}I=(H+1048320|0)>>>16&8;A=H<<I;b=(A+520192|0)>>>16&4;D=A<<b;A=(D+245760|0)>>>16&2;o=(14-(b|I|A)|0)+(D<<A>>>15)|0;J=G>>>((o+7|0)>>>0)&1|o<<1}}while(0);H=5244964+(J<<2)|0;c[n+28>>2]=J;c[n+20>>2]=0;c[n+16>>2]=0;o=c[1311166]|0;A=1<<J;if((o&A|0)==0){c[1311166]=o|A;c[H>>2]=z;c[n+24>>2]=H;c[n+12>>2]=n;c[n+8>>2]=n;return}if((J|0)==31){K=0}else{K=25-(J>>>1)|0}J=G<<K;K=c[H>>2]|0;while(1){if((c[K+4>>2]&-8|0)==(G|0)){break}L=K+16+(J>>>31<<2)|0;H=c[L>>2]|0;if((H|0)==0){M=9040;break}else{J=J<<1;K=H}}if((M|0)==9040){if(L>>>0<(c[1311169]|0)>>>0){aB()}c[L>>2]=z;c[n+24>>2]=K;c[n+12>>2]=n;c[n+8>>2]=n;return}L=K+8|0;M=c[L>>2]|0;J=c[1311169]|0;if(K>>>0<J>>>0){aB()}if(M>>>0<J>>>0){aB()}c[M+12>>2]=z;c[L>>2]=z;c[n+8>>2]=M;c[n+12>>2]=K;c[n+24>>2]=0;return}function jk(a){a=a|0;var b=0,d=0,e=0;b=(a|0)==0?1:a;while(1){d=je(b)|0;if((d|0)!=0){e=9084;break}a=(D=c[1313868]|0,c[1313868]=D+0,D);if((a|0)==0){break}bN[a&1023]()}if((e|0)==9084){return d|0}d=a1(4)|0;c[d>>2]=5247492;av(d|0,5252740,66);return 0}function jl(a){a=a|0;return jk(a)|0}function jm(a){a=a|0;return}function jn(a){a=a|0;return 5243780}function jo(a){a=a|0;if((a|0)!=0){jf(a)}return}function jp(a){a=a|0;jo(a);return}function jq(a){a=a|0;jo(a);return}function jr(b,d){b=b|0;d=d|0;var 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,s=0,t=0,u=0,v=0,w=0.0,x=0,y=0,z=0,A=0.0,B=0.0,C=0,D=0,E=0,F=0.0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0,R=0.0,S=0.0,T=0.0;e=b;while(1){f=e+1|0;if((a2(a[e]<<24>>24|0)|0)==0){break}else{e=f}}g=a[e]|0;if((g<<24>>24|0)==43){i=f;j=0}else if((g<<24>>24|0)==45){i=f;j=1}else{i=e;j=0}e=-1;f=0;g=i;while(1){l=a[g]|0;if(((l<<24>>24)-48|0)>>>0<10){m=e}else{if(l<<24>>24!=46|(e|0)>-1){break}else{m=f}}e=m;f=f+1|0;g=g+1|0}m=g+(-f|0)|0;i=(e|0)<0;n=((i^1)<<31>>31)+f|0;o=(n|0)>18;p=(o?-18:-n|0)+(i?f:e)|0;e=o?18:n;do{if((e|0)==0){q=b;r=0.0}else{do{if((e|0)>9){n=m;o=e;f=0;while(1){i=a[n]|0;s=n+1|0;if(i<<24>>24==46){t=a[s]|0;u=n+2|0}else{t=i;u=s}v=((f*10&-1)-48|0)+(t<<24>>24)|0;s=o-1|0;if((s|0)>9){n=u;o=s;f=v}else{break}}w=+(v|0)*1.0e9;x=9;y=u;z=9112;break}else{if((e|0)>0){w=0.0;x=e;y=m;z=9112;break}else{A=0.0;B=0.0;break}}}while(0);if((z|0)==9112){f=y;o=x;n=0;while(1){s=a[f]|0;i=f+1|0;if(s<<24>>24==46){C=a[i]|0;D=f+2|0}else{C=s;D=i}E=((n*10&-1)-48|0)+(C<<24>>24)|0;i=o-1|0;if((i|0)>0){f=D;o=i;n=E}else{break}}A=+(E|0);B=w}F=B+A;L10485:do{if((l<<24>>24|0)==69|(l<<24>>24|0)==101){n=g+1|0;o=a[n]|0;if((o<<24>>24|0)==43){G=g+2|0;H=0}else if((o<<24>>24|0)==45){G=g+2|0;H=1}else{G=n;H=0}n=a[G]|0;if(((n<<24>>24)-48|0)>>>0<10){I=G;J=0;K=n}else{L=0;M=G;N=H;break}while(1){n=((J*10&-1)-48|0)+(K<<24>>24)|0;o=I+1|0;f=a[o]|0;if(((f<<24>>24)-48|0)>>>0<10){I=o;J=n;K=f}else{L=n;M=o;N=H;break L10485}}}else{L=0;M=g;N=0}}while(0);o=p+((N|0)==0?L:-L|0)|0;n=(o|0)<0?-o|0:o;do{if((n|0)>511){c[bt()>>2]=34;O=1.0;P=5242880;Q=511;z=9129;break}else{if((n|0)==0){R=1.0;break}else{O=1.0;P=5242880;Q=n;z=9129;break}}}while(0);L10497:do{if((z|0)==9129){while(1){z=0;if((Q&1|0)==0){S=O}else{S=O*(c[k>>2]=c[P>>2]|0,c[k+4>>2]=c[P+4>>2]|0,+h[k>>3])}n=Q>>1;if((n|0)==0){R=S;break L10497}else{O=S;P=P+8|0;Q=n;z=9129}}}}while(0);if((o|0)>-1){q=M;r=F*R;break}else{q=M;r=F/R;break}}}while(0);if((d|0)!=0){c[d>>2]=q}if((j|0)==0){T=r;return+T}T=-0.0-r;return+T}function js(){var a=0;a=a1(4)|0;c[a>>2]=5247492;av(a|0,5252740,66)}function jt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=b|0;if((b&3)==(d&3)){while(b&3){if((e|0)==0)return f|0;a[b]=a[d]|0;b=b+1|0;d=d+1|0;e=e-1|0}while((e|0)>=4){c[b>>2]=c[d>>2]|0;b=b+4|0;d=d+4|0;e=e-4|0}}while((e|0)>0){a[b]=a[d]|0;b=b+1|0;d=d+1|0;e=e-1|0}return f|0}function ju(b){b=b|0;var c=0;c=b;while(a[c]|0!=0){c=c+1|0}return c-b|0}function jv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=b+e|0;if((e|0)>=20){d=d&255;e=b&3;g=d|d<<8|d<<16|d<<24;h=f&~3;if(e){e=b+4-e|0;while((b|0)<(e|0)){a[b]=d;b=b+1|0}}while((b|0)<(h|0)){c[b>>2]=g;b=b+4|0}}while((b|0)<(f|0)){a[b]=d;b=b+1|0}}function jw(b,c){b=b|0;c=c|0;var d=0;do{a[b+d|0]=a[c+d|0];d=d+1|0}while(a[c+(d-1)|0]|0!=0);return b|0}function jx(b,c,d){b=b|0;c=c|0;d=d|0;if((c|0)<(b|0)&(b|0)<(c+d|0)){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]=a[c]|0}}else{jt(b,c,d)}}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;c=b+d>>>0;if(e>>>0<a>>>0){c=c+1>>>0}return(F=c,e|0)|0}function jz(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}F=a<<c-32;return 0}function jA(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}F=0;return b>>>c-32|0}function jB(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}F=(b|0)<0?-1:0;return b>>c-32|0}function jC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return bD[a&1023](b|0,c|0,d|0)|0}function jD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bE[a&1023](b|0,c|0,d|0)}function jE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;bF[a&1023](b|0,c|0,d|0,e|0,f|0)}function jF(a,b){a=a|0;b=b|0;bG[a&1023](b|0)}function jG(a,b,c){a=a|0;b=b|0;c=c|0;bH[a&1023](b|0,c|0)}function jH(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;bI[a&1023](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0)}function jI(a,b){a=a|0;b=b|0;return bJ[a&1023](b|0)|0}function jJ(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;bK[a&1023](b|0,c|0,d|0,e|0,f|0,+g)}function jK(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;bL[a&1023](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function jL(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;bM[a&1023](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)}function jM(a){a=a|0;bN[a&1023]()}function jN(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 bO[a&1023](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function jO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return bP[a&1023](b|0,c|0,d|0,e|0)|0}function jP(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;bQ[a&1023](b|0,c|0,d|0,e|0,f|0,g|0,+h)}function jQ(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;bR[a&1023](b|0,c|0,d|0,e|0,f|0,g|0)}function jR(a,b,c){a=a|0;b=b|0;c=c|0;return bS[a&1023](b|0,c|0)|0}function jS(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 bT[a&1023](b|0,c|0,d|0,e|0,f|0)|0}function jT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;bU[a&1023](b|0,c|0,d|0,e|0)}function jU(a,b,c){a=a|0;b=b|0;c=c|0;ac(0);return 0}function jV(a,b,c){a=a|0;b=b|0;c=c|0;ac(1)}function jW(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ac(2)}function jX(a){a=a|0;ac(3)}function jY(a,b){a=a|0;b=b|0;ac(4)}function jZ(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;ac(5)}function j_(a){a=a|0;ac(6);return 0}function j$(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;ac(7)}function j0(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;ac(8)}function j1(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;ac(9)}function j2(){ac(10)}function j3(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;ac(11);return 0}function j4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ac(12);return 0}function j5(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;ac(13)}function j6(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;ac(14)}function j7(a,b){a=a|0;b=b|0;ac(15);return 0}function j8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ac(16);return 0}function j9(a,b,c,d){a=a|0;b=b|0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9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9,j9];return{_strlen:ju,_free:jf,_main:ce,_realloc:jg,_memmove:jx,__GLOBAL__I_a:cD,__GLOBAL__I_a285:iX,_memset:jv,_malloc:je,_memcpy:jt,_strcpy:jw,stackAlloc:bV,stackSave:bW,stackRestore:bX,setThrew:bY,setTempRet0:bZ,setTempRet1:b_,setTempRet2:b$,setTempRet3:b0,setTempRet4:b1,setTempRet5:b2,setTempRet6:b3,setTempRet7:b4,setTempRet8:b5,setTempRet9:b6,dynCall_iiii:jC,dynCall_viii:jD,dynCall_viiiii:jE,dynCall_vi:jF,dynCall_vii:jG,dynCall_viiiiiiiii:jH,dynCall_ii:jI,dynCall_viiiiif:jJ,dynCall_viiiiiii:jK,dynCall_viiiiiiii:jL,dynCall_v:jM,dynCall_iiiiiiiii:jN,dynCall_iiiii:jO,dynCall_viiiiiif:jP,dynCall_viiiiii:jQ,dynCall_iii:jR,dynCall_iiiiii:jS,dynCall_viiii:jT}}) | |
// EMSCRIPTEN_END_ASM | |
({ Math: Math, Int8Array: Int8Array, Int16Array: Int16Array, Int32Array: Int32Array, Uint8Array: Uint8Array, Uint16Array: Uint16Array, Uint32Array: Uint32Array, Float32Array: Float32Array, Float64Array: Float64Array }, { abort: abort, assert: assert, asmPrintInt: asmPrintInt, asmPrintFloat: asmPrintFloat, copyTempDouble: copyTempDouble, copyTempFloat: copyTempFloat, min: Math_min, i64Math_add: i64Math_add, i64Math_subtract: i64Math_subtract, i64Math_multiply: i64Math_multiply, i64Math_divide: i64Math_divide, i64Math_modulo: i64Math_modulo, _llvm_va_end: _llvm_va_end, _rand: _rand, _mbtowc: _mbtowc, _sscanf: _sscanf, _snprintf: _snprintf, _wmemmove: _wmemmove, _fgetc: _fgetc, ___cxa_throw: ___cxa_throw, _srand: _srand, _mbrtowc: _mbrtowc, _strerror: _strerror, _pthread_mutex_lock: _pthread_mutex_lock, _atexit: _atexit, _abort: _abort, _mbrlen: _mbrlen, ___cxa_end_catch: ___cxa_end_catch, ___cxa_free_exception: ___cxa_free_exception, _isdigit: _isdigit, _pread: _pread, _fflush: _fflush, _wmemcpy: _wmemcpy, __reallyNegative: __reallyNegative, _wcsnrtombs: _wcsnrtombs, __Z8catcloseP8_nl_catd: __Z8catcloseP8_nl_catd, _wcslen: _wcslen, _sysconf: _sysconf, _clock: _clock, ___setErrNo: ___setErrNo, _fwrite: _fwrite, __Z7catgetsP8_nl_catdiiPKc: __Z7catgetsP8_nl_catdiiPKc, _llvm_eh_exception: _llvm_eh_exception, _isxdigit: _isxdigit, _write: _write, __scanString: __scanString, _sprintf: _sprintf, _llvm_lifetime_end: _llvm_lifetime_end, _asprintf: _asprintf, ___ctype_b_loc: ___ctype_b_loc, ___cxa_find_matching_catch: ___cxa_find_matching_catch, _freelocale: _freelocale, __Z7catopenPKci: __Z7catopenPKci, ___cxa_allocate_exception: ___cxa_allocate_exception, _isspace: _isspace, _strtoll: _strtoll, _strtoull: _strtoull, _wmemset: _wmemset, _read: _read, __formatString: __formatString, _time: _time, ___cxa_is_number_type: ___cxa_is_number_type, _pthread_cond_broadcast: _pthread_cond_broadcast, ___cxa_begin_catch: ___cxa_begin_catch, ___ctype_toupper_loc: ___ctype_toupper_loc, ___cxa_guard_acquire: ___cxa_guard_acquire, ___locale_mb_cur_max: ___locale_mb_cur_max, _mbsrtowcs: _mbsrtowcs, ___cxa_does_inherit: ___cxa_does_inherit, ___ctype_tolower_loc: ___ctype_tolower_loc, _pthread_mutex_unlock: _pthread_mutex_unlock, ___cxa_rethrow: ___cxa_rethrow, _mbsnrtowcs: _mbsnrtowcs, __parseInt64: __parseInt64, __ZSt18uncaught_exceptionv: __ZSt18uncaught_exceptionv, _pwrite: _pwrite, __isFloat: __isFloat, _sbrk: _sbrk, ___cxa_call_unexpected: ___cxa_call_unexpected, ___cxa_guard_abort: ___cxa_guard_abort, _newlocale: _newlocale, ___errno_location: ___errno_location, ___gxx_personality_v0: ___gxx_personality_v0, _pthread_cond_wait: _pthread_cond_wait, _strerror_r: _strerror_r, _uselocale: _uselocale, ___cxa_guard_release: ___cxa_guard_release, _ungetc: _ungetc, _wcrtomb: _wcrtomb, _strftime: _strftime, _llvm_lifetime_start: _llvm_lifetime_start, STACKTOP: STACKTOP, STACK_MAX: STACK_MAX, tempDoublePtr: tempDoublePtr, ABORT: ABORT, NaN: NaN, Infinity: Infinity, _stdin: _stdin, __ZTVN10__cxxabiv117__class_type_infoE: __ZTVN10__cxxabiv117__class_type_infoE, __ZTVN10__cxxabiv120__si_class_type_infoE: __ZTVN10__cxxabiv120__si_class_type_infoE, _stderr: _stderr, _stdout: _stdout, ___dso_handle: ___dso_handle }, buffer); | |
var _strlen = Module["_strlen"] = asm._strlen; | |
var _free = Module["_free"] = asm._free; | |
var _main = Module["_main"] = asm._main; | |
var _realloc = Module["_realloc"] = asm._realloc; | |
var _memmove = Module["_memmove"] = asm._memmove; | |
var __GLOBAL__I_a = Module["__GLOBAL__I_a"] = asm.__GLOBAL__I_a; | |
var __GLOBAL__I_a285 = Module["__GLOBAL__I_a285"] = asm.__GLOBAL__I_a285; | |
var _memset = Module["_memset"] = asm._memset; | |
var _malloc = Module["_malloc"] = asm._malloc; | |
var _memcpy = Module["_memcpy"] = asm._memcpy; | |
var _strcpy = Module["_strcpy"] = asm._strcpy; | |
var dynCall_iiii = Module["dynCall_iiii"] = asm.dynCall_iiii; | |
var dynCall_viii = Module["dynCall_viii"] = asm.dynCall_viii; | |
var dynCall_viiiii = Module["dynCall_viiiii"] = asm.dynCall_viiiii; | |
var dynCall_vi = Module["dynCall_vi"] = asm.dynCall_vi; | |
var dynCall_vii = Module["dynCall_vii"] = asm.dynCall_vii; | |
var dynCall_viiiiiiiii = Module["dynCall_viiiiiiiii"] = asm.dynCall_viiiiiiiii; | |
var dynCall_ii = Module["dynCall_ii"] = asm.dynCall_ii; | |
var dynCall_viiiiif = Module["dynCall_viiiiif"] = asm.dynCall_viiiiif; | |
var dynCall_viiiiiii = Module["dynCall_viiiiiii"] = asm.dynCall_viiiiiii; | |
var dynCall_viiiiiiii = Module["dynCall_viiiiiiii"] = asm.dynCall_viiiiiiii; | |
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_viiiiiif = Module["dynCall_viiiiiif"] = asm.dynCall_viiiiiif; | |
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 = function(size) { return asm.stackAlloc(size) }; | |
Runtime.stackSave = function() { return asm.stackSave() }; | |
Runtime.stackRestore = function(top) { asm.stackRestore(top) }; | |
// TODO: strip out parts of this we do not need | |
//======= begin closure i64 code ======= | |
// Copyright 2009 The Closure Library Authors. All Rights Reserved. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS-IS" BASIS, | |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
// See the License for the specific language governing permissions and | |
// limitations under the License. | |
/** | |
* @fileoverview Defines a Long class for representing a 64-bit two's-complement | |
* integer value, which faithfully simulates the behavior of a Java "long". This | |
* implementation is derived from LongLib in GWT. | |
* | |
*/ | |
var i64Math = (function() { // Emscripten wrapper | |
var goog = { math: {} }; | |
/** | |
* Constructs a 64-bit two's-complement integer, given its low and high 32-bit | |
* values as *signed* integers. See the from* functions below for more | |
* convenient ways of constructing Longs. | |
* | |
* The internal representation of a long is the two given signed, 32-bit values. | |
* We use 32-bit pieces because these are the size of integers on which | |
* Javascript performs bit-operations. For operations like addition and | |
* multiplication, we split each number into 16-bit pieces, which can easily be | |
* multiplied within Javascript's floating-point representation without overflow | |
* or change in sign. | |
* | |
* In the algorithms below, we frequently reduce the negative case to the | |
* positive case by negating the input(s) and then post-processing the result. | |
* Note that we must ALWAYS check specially whether those values are MIN_VALUE | |
* (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as | |
* a positive number, it overflows back into a negative). Not handling this | |
* case would often result in infinite recursion. | |
* | |
* @param {number} low The low (signed) 32 bits of the long. | |
* @param {number} high The high (signed) 32 bits of the long. | |
* @constructor | |
*/ | |
goog.math.Long = function(low, high) { | |
/** | |
* @type {number} | |
* @private | |
*/ | |
this.low_ = low | 0; // force into 32 signed bits. | |
/** | |
* @type {number} | |
* @private | |
*/ | |
this.high_ = high | 0; // force into 32 signed bits. | |
}; | |
// NOTE: Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the | |
// from* methods on which they depend. | |
/** | |
* A cache of the Long representations of small integer values. | |
* @type {!Object} | |
* @private | |
*/ | |
goog.math.Long.IntCache_ = {}; | |
/** | |
* Returns a Long representing the given (32-bit) integer value. | |
* @param {number} value The 32-bit integer in question. | |
* @return {!goog.math.Long} The corresponding Long value. | |
*/ | |
goog.math.Long.fromInt = function(value) { | |
if (-128 <= value && value < 128) { | |
var cachedObj = goog.math.Long.IntCache_[value]; | |
if (cachedObj) { | |
return cachedObj; | |
} | |
} | |
var obj = new goog.math.Long(value | 0, value < 0 ? -1 : 0); | |
if (-128 <= value && value < 128) { | |
goog.math.Long.IntCache_[value] = obj; | |
} | |
return obj; | |
}; | |
/** | |
* Returns a Long representing the given value, provided that it is a finite | |
* number. Otherwise, zero is returned. | |
* @param {number} value The number in question. | |
* @return {!goog.math.Long} The corresponding Long value. | |
*/ | |
goog.math.Long.fromNumber = function(value) { | |
if (isNaN(value) || !isFinite(value)) { | |
return goog.math.Long.ZERO; | |
} else if (value <= -goog.math.Long.TWO_PWR_63_DBL_) { | |
return goog.math.Long.MIN_VALUE; | |
} else if (value + 1 >= goog.math.Long.TWO_PWR_63_DBL_) { | |
return goog.math.Long.MAX_VALUE; | |
} else if (value < 0) { | |
return goog.math.Long.fromNumber(-value).negate(); | |
} else { | |
return new goog.math.Long( | |
(value % goog.math.Long.TWO_PWR_32_DBL_) | 0, | |
(value / goog.math.Long.TWO_PWR_32_DBL_) | 0); | |
} | |
}; | |
/** | |
* Returns a Long representing the 64-bit integer that comes by concatenating | |
* the given high and low bits. Each is assumed to use 32 bits. | |
* @param {number} lowBits The low 32-bits. | |
* @param {number} highBits The high 32-bits. | |
* @return {!goog.math.Long} The corresponding Long value. | |
*/ | |
goog.math.Long.fromBits = function(lowBits, highBits) { | |
return new goog.math.Long(lowBits, highBits); | |
}; | |
/** | |
* Returns a Long representation of the given string, written using the given | |
* radix. | |
* @param {string} str The textual representation of the Long. | |
* @param {number=} opt_radix The radix in which the text is written. | |
* @return {!goog.math.Long} The corresponding Long value. | |
*/ | |
goog.math.Long.fromString = function(str, opt_radix) { | |
if (str.length == 0) { | |
throw Error('number format error: empty string'); | |
} | |
var radix = opt_radix || 10; | |
if (radix < 2 || 36 < radix) { | |
throw Error('radix out of range: ' + radix); | |
} | |
if (str.charAt(0) == '-') { | |
return goog.math.Long.fromString(str.substring(1), radix).negate(); | |
} else if (str.indexOf('-') >= 0) { | |
throw Error('number format error: interior "-" character: ' + str); | |
} | |
// Do several (8) digits each time through the loop, so as to | |
// minimize the calls to the very expensive emulated div. | |
var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 8)); | |
var result = goog.math.Long.ZERO; | |
for (var i = 0; i < str.length; i += 8) { | |
var size = Math.min(8, str.length - i); | |
var value = parseInt(str.substring(i, i + size), radix); | |
if (size < 8) { | |
var power = goog.math.Long.fromNumber(Math.pow(radix, size)); | |
result = result.multiply(power).add(goog.math.Long.fromNumber(value)); | |
} else { | |
result = result.multiply(radixToPower); | |
result = result.add(goog.math.Long.fromNumber(value)); | |
} | |
} | |
return result; | |
}; | |
// NOTE: the compiler should inline these constant values below and then remove | |
// these variables, so there should be no runtime penalty for these. | |
/** | |
* Number used repeated below in calculations. This must appear before the | |
* first call to any from* function below. | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_16_DBL_ = 1 << 16; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_24_DBL_ = 1 << 24; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_32_DBL_ = | |
goog.math.Long.TWO_PWR_16_DBL_ * goog.math.Long.TWO_PWR_16_DBL_; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_31_DBL_ = | |
goog.math.Long.TWO_PWR_32_DBL_ / 2; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_48_DBL_ = | |
goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_16_DBL_; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_64_DBL_ = | |
goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_32_DBL_; | |
/** | |
* @type {number} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_63_DBL_ = | |
goog.math.Long.TWO_PWR_64_DBL_ / 2; | |
/** @type {!goog.math.Long} */ | |
goog.math.Long.ZERO = goog.math.Long.fromInt(0); | |
/** @type {!goog.math.Long} */ | |
goog.math.Long.ONE = goog.math.Long.fromInt(1); | |
/** @type {!goog.math.Long} */ | |
goog.math.Long.NEG_ONE = goog.math.Long.fromInt(-1); | |
/** @type {!goog.math.Long} */ | |
goog.math.Long.MAX_VALUE = | |
goog.math.Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); | |
/** @type {!goog.math.Long} */ | |
goog.math.Long.MIN_VALUE = goog.math.Long.fromBits(0, 0x80000000 | 0); | |
/** | |
* @type {!goog.math.Long} | |
* @private | |
*/ | |
goog.math.Long.TWO_PWR_24_ = goog.math.Long.fromInt(1 << 24); | |
/** @return {number} The value, assuming it is a 32-bit integer. */ | |
goog.math.Long.prototype.toInt = function() { | |
return this.low_; | |
}; | |
/** @return {number} The closest floating-point representation to this value. */ | |
goog.math.Long.prototype.toNumber = function() { | |
return this.high_ * goog.math.Long.TWO_PWR_32_DBL_ + | |
this.getLowBitsUnsigned(); | |
}; | |
/** | |
* @param {number=} opt_radix The radix in which the text should be written. | |
* @return {string} The textual representation of this value. | |
*/ | |
goog.math.Long.prototype.toString = function(opt_radix) { | |
var radix = opt_radix || 10; | |
if (radix < 2 || 36 < radix) { | |
throw Error('radix out of range: ' + radix); | |
} | |
if (this.isZero()) { | |
return '0'; | |
} | |
if (this.isNegative()) { | |
if (this.equals(goog.math.Long.MIN_VALUE)) { | |
// We need to change the Long value before it can be negated, so we remove | |
// the bottom-most digit in this base and then recurse to do the rest. | |
var radixLong = goog.math.Long.fromNumber(radix); | |
var div = this.div(radixLong); | |
var rem = div.multiply(radixLong).subtract(this); | |
return div.toString(radix) + rem.toInt().toString(radix); | |
} else { | |
return '-' + this.negate().toString(radix); | |
} | |
} | |
// Do several (6) digits each time through the loop, so as to | |
// minimize the calls to the very expensive emulated div. | |
var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 6)); | |
var rem = this; | |
var result = ''; | |
while (true) { | |
var remDiv = rem.div(radixToPower); | |
var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt(); | |
var digits = intval.toString(radix); | |
rem = remDiv; | |
if (rem.isZero()) { | |
return digits + result; | |
} else { | |
while (digits.length < 6) { | |
digits = '0' + digits; | |
} | |
result = '' + digits + result; | |
} | |
} | |
}; | |
/** @return {number} The high 32-bits as a signed value. */ | |
goog.math.Long.prototype.getHighBits = function() { | |
return this.high_; | |
}; | |
/** @return {number} The low 32-bits as a signed value. */ | |
goog.math.Long.prototype.getLowBits = function() { | |
return this.low_; | |
}; | |
/** @return {number} The low 32-bits as an unsigned value. */ | |
goog.math.Long.prototype.getLowBitsUnsigned = function() { | |
return (this.low_ >= 0) ? | |
this.low_ : goog.math.Long.TWO_PWR_32_DBL_ + this.low_; | |
}; | |
/** | |
* @return {number} Returns the number of bits needed to represent the absolute | |
* value of this Long. | |
*/ | |
goog.math.Long.prototype.getNumBitsAbs = function() { | |
if (this.isNegative()) { | |
if (this.equals(goog.math.Long.MIN_VALUE)) { | |
return 64; | |
} else { | |
return this.negate().getNumBitsAbs(); | |
} | |
} else { | |
var val = this.high_ != 0 ? this.high_ : this.low_; | |
for (var bit = 31; bit > 0; bit--) { | |
if ((val & (1 << bit)) != 0) { | |
break; | |
} | |
} | |
return this.high_ != 0 ? bit + 33 : bit + 1; | |
} | |
}; | |
/** @return {boolean} Whether this value is zero. */ | |
goog.math.Long.prototype.isZero = function() { | |
return this.high_ == 0 && this.low_ == 0; | |
}; | |
/** @return {boolean} Whether this value is negative. */ | |
goog.math.Long.prototype.isNegative = function() { | |
return this.high_ < 0; | |
}; | |
/** @return {boolean} Whether this value is odd. */ | |
goog.math.Long.prototype.isOdd = function() { | |
return (this.low_ & 1) == 1; | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long equals the other. | |
*/ | |
goog.math.Long.prototype.equals = function(other) { | |
return (this.high_ == other.high_) && (this.low_ == other.low_); | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long does not equal the other. | |
*/ | |
goog.math.Long.prototype.notEquals = function(other) { | |
return (this.high_ != other.high_) || (this.low_ != other.low_); | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long is less than the other. | |
*/ | |
goog.math.Long.prototype.lessThan = function(other) { | |
return this.compare(other) < 0; | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long is less than or equal to the other. | |
*/ | |
goog.math.Long.prototype.lessThanOrEqual = function(other) { | |
return this.compare(other) <= 0; | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long is greater than the other. | |
*/ | |
goog.math.Long.prototype.greaterThan = function(other) { | |
return this.compare(other) > 0; | |
}; | |
/** | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {boolean} Whether this Long is greater than or equal to the other. | |
*/ | |
goog.math.Long.prototype.greaterThanOrEqual = function(other) { | |
return this.compare(other) >= 0; | |
}; | |
/** | |
* Compares this Long with the given one. | |
* @param {goog.math.Long} other Long to compare against. | |
* @return {number} 0 if they are the same, 1 if the this is greater, and -1 | |
* if the given one is greater. | |
*/ | |
goog.math.Long.prototype.compare = function(other) { | |
if (this.equals(other)) { | |
return 0; | |
} | |
var thisNeg = this.isNegative(); | |
var otherNeg = other.isNegative(); | |
if (thisNeg && !otherNeg) { | |
return -1; | |
} | |
if (!thisNeg && otherNeg) { | |
return 1; | |
} | |
// at this point, the signs are the same, so subtraction will not overflow | |
if (this.subtract(other).isNegative()) { | |
return -1; | |
} else { | |
return 1; | |
} | |
}; | |
/** @return {!goog.math.Long} The negation of this value. */ | |
goog.math.Long.prototype.negate = function() { | |
if (this.equals(goog.math.Long.MIN_VALUE)) { | |
return goog.math.Long.MIN_VALUE; | |
} else { | |
return this.not().add(goog.math.Long.ONE); | |
} | |
}; | |
/** | |
* Returns the sum of this and the given Long. | |
* @param {goog.math.Long} other Long to add to this one. | |
* @return {!goog.math.Long} The sum of this and the given Long. | |
*/ | |
goog.math.Long.prototype.add = function(other) { | |
// Divide each number into 4 chunks of 16 bits, and then sum the chunks. | |
var a48 = this.high_ >>> 16; | |
var a32 = this.high_ & 0xFFFF; | |
var a16 = this.low_ >>> 16; | |
var a00 = this.low_ & 0xFFFF; | |
var b48 = other.high_ >>> 16; | |
var b32 = other.high_ & 0xFFFF; | |
var b16 = other.low_ >>> 16; | |
var b00 = other.low_ & 0xFFFF; | |
var c48 = 0, c32 = 0, c16 = 0, c00 = 0; | |
c00 += a00 + b00; | |
c16 += c00 >>> 16; | |
c00 &= 0xFFFF; | |
c16 += a16 + b16; | |
c32 += c16 >>> 16; | |
c16 &= 0xFFFF; | |
c32 += a32 + b32; | |
c48 += c32 >>> 16; | |
c32 &= 0xFFFF; | |
c48 += a48 + b48; | |
c48 &= 0xFFFF; | |
return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32); | |
}; | |
/** | |
* Returns the difference of this and the given Long. | |
* @param {goog.math.Long} other Long to subtract from this. | |
* @return {!goog.math.Long} The difference of this and the given Long. | |
*/ | |
goog.math.Long.prototype.subtract = function(other) { | |
return this.add(other.negate()); | |
}; | |
/** | |
* Returns the product of this and the given long. | |
* @param {goog.math.Long} other Long to multiply with this. | |
* @return {!goog.math.Long} The product of this and the other. | |
*/ | |
goog.math.Long.prototype.multiply = function(other) { | |
if (this.isZero()) { | |
return goog.math.Long.ZERO; | |
} else if (other.isZero()) { | |
return goog.math.Long.ZERO; | |
} | |
if (this.equals(goog.math.Long.MIN_VALUE)) { | |
return other.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO; | |
} else if (other.equals(goog.math.Long.MIN_VALUE)) { | |
return this.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO; | |
} | |
if (this.isNegative()) { | |
if (other.isNegative()) { | |
return this.negate().multiply(other.negate()); | |
} else { | |
return this.negate().multiply(other).negate(); | |
} | |
} else if (other.isNegative()) { | |
return this.multiply(other.negate()).negate(); | |
} | |
// If both longs are small, use float multiplication | |
if (this.lessThan(goog.math.Long.TWO_PWR_24_) && | |
other.lessThan(goog.math.Long.TWO_PWR_24_)) { | |
return goog.math.Long.fromNumber(this.toNumber() * other.toNumber()); | |
} | |
// Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. | |
// We can skip products that would overflow. | |
var a48 = this.high_ >>> 16; | |
var a32 = this.high_ & 0xFFFF; | |
var a16 = this.low_ >>> 16; | |
var a00 = this.low_ & 0xFFFF; | |
var b48 = other.high_ >>> 16; | |
var b32 = other.high_ & 0xFFFF; | |
var b16 = other.low_ >>> 16; | |
var b00 = other.low_ & 0xFFFF; | |
var c48 = 0, c32 = 0, c16 = 0, c00 = 0; | |
c00 += a00 * b00; | |
c16 += c00 >>> 16; | |
c00 &= 0xFFFF; | |
c16 += a16 * b00; | |
c32 += c16 >>> 16; | |
c16 &= 0xFFFF; | |
c16 += a00 * b16; | |
c32 += c16 >>> 16; | |
c16 &= 0xFFFF; | |
c32 += a32 * b00; | |
c48 += c32 >>> 16; | |
c32 &= 0xFFFF; | |
c32 += a16 * b16; | |
c48 += c32 >>> 16; | |
c32 &= 0xFFFF; | |
c32 += a00 * b32; | |
c48 += c32 >>> 16; | |
c32 &= 0xFFFF; | |
c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; | |
c48 &= 0xFFFF; | |
return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32); | |
}; | |
/** | |
* Returns this Long divided by the given one. | |
* @param {goog.math.Long} other Long by which to divide. | |
* @return {!goog.math.Long} This Long divided by the given one. | |
*/ | |
goog.math.Long.prototype.div = function(other) { | |
if (other.isZero()) { | |
throw Error('division by zero'); | |
} else if (this.isZero()) { | |
return goog.math.Long.ZERO; | |
} | |
if (this.equals(goog.math.Long.MIN_VALUE)) { | |
if (other.equals(goog.math.Long.ONE) || | |
other.equals(goog.math.Long.NEG_ONE)) { | |
return goog.math.Long.MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE | |
} else if (other.equals(goog.math.Long.MIN_VALUE)) { | |
return goog.math.Long.ONE; | |
} else { | |
// At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. | |
var halfThis = this.shiftRight(1); | |
var approx = halfThis.div(other).shiftLeft(1); | |
if (approx.equals(goog.math.Long.ZERO)) { | |
return other.isNegative() ? goog.math.Long.ONE : goog.math.Long.NEG_ONE; | |
} else { | |
var rem = this.subtract(other.multiply(approx)); | |
var result = approx.add(rem.div(other)); | |
return result; | |
} | |
} | |
} else if (other.equals(goog.math.Long.MIN_VALUE)) { | |
return goog.math.Long.ZERO; | |
} | |
if (this.isNegative()) { | |
if (other.isNegative()) { | |
return this.negate().div(other.negate()); | |
} else { | |
return this.negate().div(other).negate(); | |
} | |
} else if (other.isNegative()) { | |
return this.div(other.negate()).negate(); | |
} | |
// Repeat the following until the remainder is less than other: find a | |
// floating-point that approximates remainder / other *from below*, add this | |
// into the result, and subtract it from the remainder. It is critical that | |
// the approximate value is less than or equal to the real value so that the | |
// remainder never becomes negative. | |
var res = goog.math.Long.ZERO; | |
var rem = this; | |
while (rem.greaterThanOrEqual(other)) { | |
// Approximate the result of division. This may be a little greater or | |
// smaller than the actual value. | |
var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); | |
// We will tweak the approximate result by changing it in the 48-th digit or | |
// the smallest non-fractional digit, whichever is larger. | |
var log2 = Math.ceil(Math.log(approx) / Math.LN2); | |
var delta = (log2 <= 48) ? 1 : Math.pow(2, log2 - 48); | |
// Decrease the approximation until it is smaller than the remainder. Note | |
// that if it is too large, the product overflows and is negative. | |
var approxRes = goog.math.Long.fromNumber(approx); | |
var approxRem = approxRes.multiply(other); | |
while (approxRem.isNegative() || approxRem.greaterThan(rem)) { | |
approx -= delta; | |
approxRes = goog.math.Long.fromNumber(approx); | |
approxRem = approxRes.multiply(other); | |
} | |
// We know the answer can't be zero... and actually, zero would cause | |
// infinite recursion since we would make no progress. | |
if (approxRes.isZero()) { | |
approxRes = goog.math.Long.ONE; | |
} | |
res = res.add(approxRes); | |
rem = rem.subtract(approxRem); | |
} | |
return res; | |
}; | |
/** | |
* Returns this Long modulo the given one. | |
* @param {goog.math.Long} other Long by which to mod. | |
* @return {!goog.math.Long} This Long modulo the given one. | |
*/ | |
goog.math.Long.prototype.modulo = function(other) { | |
return this.subtract(this.div(other).multiply(other)); | |
}; | |
/** @return {!goog.math.Long} The bitwise-NOT of this value. */ | |
goog.math.Long.prototype.not = function() { | |
return goog.math.Long.fromBits(~this.low_, ~this.high_); | |
}; | |
/** | |
* Returns the bitwise-AND of this Long and the given one. | |
* @param {goog.math.Long} other The Long with which to AND. | |
* @return {!goog.math.Long} The bitwise-AND of this and the other. | |
*/ | |
goog.math.Long.prototype.and = function(other) { | |
return goog.math.Long.fromBits(this.low_ & other.low_, | |
this.high_ & other.high_); | |
}; | |
/** | |
* Returns the bitwise-OR of this Long and the given one. | |
* @param {goog.math.Long} other The Long with which to OR. | |
* @return {!goog.math.Long} The bitwise-OR of this and the other. | |
*/ | |
goog.math.Long.prototype.or = function(other) { | |
return goog.math.Long.fromBits(this.low_ | other.low_, | |
this.high_ | other.high_); | |
}; | |
/** | |
* Returns the bitwise-XOR of this Long and the given one. | |
* @param {goog.math.Long} other The Long with which to XOR. | |
* @return {!goog.math.Long} The bitwise-XOR of this and the other. | |
*/ | |
goog.math.Long.prototype.xor = function(other) { | |
return goog.math.Long.fromBits(this.low_ ^ other.low_, | |
this.high_ ^ other.high_); | |
}; | |
/** | |
* Returns this Long with bits shifted to the left by the given amount. | |
* @param {number} numBits The number of bits by which to shift. | |
* @return {!goog.math.Long} This shifted to the left by the given amount. | |
*/ | |
goog.math.Long.prototype.shiftLeft = function(numBits) { | |
numBits &= 63; | |
if (numBits == 0) { | |
return this; | |
} else { | |
var low = this.low_; | |
if (numBits < 32) { | |
var high = this.high_; | |
return goog.math.Long.fromBits( | |
low << numBits, | |
(high << numBits) | (low >>> (32 - numBits))); | |
} else { | |
return goog.math.Long.fromBits(0, low << (numBits - 32)); | |
} | |
} | |
}; | |
/** | |
* Returns this Long with bits shifted to the right by the given amount. | |
* @param {number} numBits The number of bits by which to shift. | |
* @return {!goog.math.Long} This shifted to the right by the given amount. | |
*/ | |
goog.math.Long.prototype.shiftRight = function(numBits) { | |
numBits &= 63; | |
if (numBits == 0) { | |
return this; | |
} else { | |
var high = this.high_; | |
if (numBits < 32) { | |
var low = this.low_; | |
return goog.math.Long.fromBits( | |
(low >>> numBits) | (high << (32 - numBits)), | |
high >> numBits); | |
} else { | |
return goog.math.Long.fromBits( | |
high >> (numBits - 32), | |
high >= 0 ? 0 : -1); | |
} | |
} | |
}; | |
/** | |
* Returns this Long with bits shifted to the right by the given amount, with | |
* the new top bits matching the current sign bit. | |
* @param {number} numBits The number of bits by which to shift. | |
* @return {!goog.math.Long} This shifted to the right by the given amount, with | |
* zeros placed into the new leading bits. | |
*/ | |
goog.math.Long.prototype.shiftRightUnsigned = function(numBits) { | |
numBits &= 63; | |
if (numBits == 0) { | |
return this; | |
} else { | |
var high = this.high_; | |
if (numBits < 32) { | |
var low = this.low_; | |
return goog.math.Long.fromBits( | |
(low >>> numBits) | (high << (32 - numBits)), | |
high >>> numBits); | |
} else if (numBits == 32) { | |
return goog.math.Long.fromBits(high, 0); | |
} else { | |
return goog.math.Long.fromBits(high >>> (numBits - 32), 0); | |
} | |
} | |
}; | |
//======= begin jsbn ======= | |
var navigator = { appName: 'Modern Browser' }; // polyfill a little | |
// Copyright (c) 2005 Tom Wu | |
// All Rights Reserved. | |
// http://www-cs-students.stanford.edu/~tjw/jsbn/ | |
/* | |
* Copyright (c) 2003-2005 Tom Wu | |
* All Rights Reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, | |
* distribute, sublicense, and/or sell copies of the Software, and to | |
* permit persons to whom the Software is furnished to do so, subject to | |
* the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be | |
* included in all copies or substantial portions of the Software. | |
* | |
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | |
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | |
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | |
* | |
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, | |
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER | |
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF | |
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT | |
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
* | |
* In addition, the following condition applies: | |
* | |
* All redistributions must retain an intact copy of this copyright notice | |
* and disclaimer. | |
*/ | |
// Basic JavaScript BN library - subset useful for RSA encryption. | |
// Bits per digit | |
var dbits; | |
// JavaScript engine analysis | |
var canary = 0xdeadbeefcafe; | |
var j_lm = ((canary&0xffffff)==0xefcafe); | |
// (public) Constructor | |
function BigInteger(a,b,c) { | |
if(a != null) | |
if("number" == typeof a) this.fromNumber(a,b,c); | |
else if(b == null && "string" != typeof a) this.fromString(a,256); | |
else this.fromString(a,b); | |
} | |
// return new, unset BigInteger | |
function nbi() { return new BigInteger(null); } | |
// am: Compute w_j += (x*this_i), propagate carries, | |
// c is initial carry, returns final carry. | |
// c < 3*dvalue, x < 2*dvalue, this_i < dvalue | |
// We need to select the fastest one that works in this environment. | |
// am1: use a single mult and divide to get the high bits, | |
// max digit bits should be 26 because | |
// max internal value = 2*dvalue^2-2*dvalue (< 2^53) | |
function am1(i,x,w,j,c,n) { | |
while(--n >= 0) { | |
var v = x*this[i++]+w[j]+c; | |
c = Math.floor(v/0x4000000); | |
w[j++] = v&0x3ffffff; | |
} | |
return c; | |
} | |
// am2 avoids a big mult-and-extract completely. | |
// Max digit bits should be <= 30 because we do bitwise ops | |
// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31) | |
function am2(i,x,w,j,c,n) { | |
var xl = x&0x7fff, xh = x>>15; | |
while(--n >= 0) { | |
var l = this[i]&0x7fff; | |
var h = this[i++]>>15; | |
var m = xh*l+h*xl; | |
l = xl*l+((m&0x7fff)<<15)+w[j]+(c&0x3fffffff); | |
c = (l>>>30)+(m>>>15)+xh*h+(c>>>30); | |
w[j++] = l&0x3fffffff; | |
} | |
return c; | |
} | |
// Alternately, set max digit bits to 28 since some | |
// browsers slow down when dealing with 32-bit numbers. | |
function am3(i,x,w,j,c,n) { | |
var xl = x&0x3fff, xh = x>>14; | |
while(--n >= 0) { | |
var l = this[i]&0x3fff; | |
var h = this[i++]>>14; | |
var m = xh*l+h*xl; | |
l = xl*l+((m&0x3fff)<<14)+w[j]+c; | |
c = (l>>28)+(m>>14)+xh*h; | |
w[j++] = l&0xfffffff; | |
} | |
return c; | |
} | |
if(j_lm && (navigator.appName == "Microsoft Internet Explorer")) { | |
BigInteger.prototype.am = am2; | |
dbits = 30; | |
} | |
else if(j_lm && (navigator.appName != "Netscape")) { | |
BigInteger.prototype.am = am1; | |
dbits = 26; | |
} | |
else { // Mozilla/Netscape seems to prefer am3 | |
BigInteger.prototype.am = am3; | |
dbits = 28; | |
} | |
BigInteger.prototype.DB = dbits; | |
BigInteger.prototype.DM = ((1<<dbits)-1); | |
BigInteger.prototype.DV = (1<<dbits); | |
var BI_FP = 52; | |
BigInteger.prototype.FV = Math.pow(2,BI_FP); | |
BigInteger.prototype.F1 = BI_FP-dbits; | |
BigInteger.prototype.F2 = 2*dbits-BI_FP; | |
// Digit conversions | |
var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
var BI_RC = new Array(); | |
var rr,vv; | |
rr = "0".charCodeAt(0); | |
for(vv = 0; vv <= 9; ++vv) BI_RC[rr++] = vv; | |
rr = "a".charCodeAt(0); | |
for(vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv; | |
rr = "A".charCodeAt(0); | |
for(vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv; | |
function int2char(n) { return BI_RM.charAt(n); } | |
function intAt(s,i) { | |
var c = BI_RC[s.charCodeAt(i)]; | |
return (c==null)?-1:c; | |
} | |
// (protected) copy this to r | |
function bnpCopyTo(r) { | |
for(var i = this.t-1; i >= 0; --i) r[i] = this[i]; | |
r.t = this.t; | |
r.s = this.s; | |
} | |
// (protected) set from integer value x, -DV <= x < DV | |
function bnpFromInt(x) { | |
this.t = 1; | |
this.s = (x<0)?-1:0; | |
if(x > 0) this[0] = x; | |
else if(x < -1) this[0] = x+DV; | |
else this.t = 0; | |
} | |
// return bigint initialized to value | |
function nbv(i) { var r = nbi(); r.fromInt(i); return r; } | |
// (protected) set from string and radix | |
function bnpFromString(s,b) { | |
var k; | |
if(b == 16) k = 4; | |
else if(b == 8) k = 3; | |
else if(b == 256) k = 8; // byte array | |
else if(b == 2) k = 1; | |
else if(b == 32) k = 5; | |
else if(b == 4) k = 2; | |
else { this.fromRadix(s,b); return; } | |
this.t = 0; | |
this.s = 0; | |
var i = s.length, mi = false, sh = 0; | |
while(--i >= 0) { | |
var x = (k==8)?s[i]&0xff:intAt(s,i); | |
if(x < 0) { | |
if(s.charAt(i) == "-") mi = true; | |
continue; | |
} | |
mi = false; | |
if(sh == 0) | |
this[this.t++] = x; | |
else if(sh+k > this.DB) { | |
this[this.t-1] |= (x&((1<<(this.DB-sh))-1))<<sh; | |
this[this.t++] = (x>>(this.DB-sh)); | |
} | |
else | |
this[this.t-1] |= x<<sh; | |
sh += k; | |
if(sh >= this.DB) sh -= this.DB; | |
} | |
if(k == 8 && (s[0]&0x80) != 0) { | |
this.s = -1; | |
if(sh > 0) this[this.t-1] |= ((1<<(this.DB-sh))-1)<<sh; | |
} | |
this.clamp(); | |
if(mi) BigInteger.ZERO.subTo(this,this); | |
} | |
// (protected) clamp off excess high words | |
function bnpClamp() { | |
var c = this.s&this.DM; | |
while(this.t > 0 && this[this.t-1] == c) --this.t; | |
} | |
// (public) return string representation in given radix | |
function bnToString(b) { | |
if(this.s < 0) return "-"+this.negate().toString(b); | |
var k; | |
if(b == 16) k = 4; | |
else if(b == 8) k = 3; | |
else if(b == 2) k = 1; | |
else if(b == 32) k = 5; | |
else if(b == 4) k = 2; | |
else return this.toRadix(b); | |
var km = (1<<k)-1, d, m = false, r = "", i = this.t; | |
var p = this.DB-(i*this.DB)%k; | |
if(i-- > 0) { | |
if(p < this.DB && (d = this[i]>>p) > 0) { m = true; r = int2char(d); } | |
while(i >= 0) { | |
if(p < k) { | |
d = (this[i]&((1<<p)-1))<<(k-p); | |
d |= this[--i]>>(p+=this.DB-k); | |
} | |
else { | |
d = (this[i]>>(p-=k))&km; | |
if(p <= 0) { p += this.DB; --i; } | |
} | |
if(d > 0) m = true; | |
if(m) r += int2char(d); | |
} | |
} | |
return m?r:"0"; | |
} | |
// (public) -this | |
function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } | |
// (public) |this| | |
function bnAbs() { return (this.s<0)?this.negate():this; } | |
// (public) return + if this > a, - if this < a, 0 if equal | |
function bnCompareTo(a) { | |
var r = this.s-a.s; | |
if(r != 0) return r; | |
var i = this.t; | |
r = i-a.t; | |
if(r != 0) return (this.s<0)?-r:r; | |
while(--i >= 0) if((r=this[i]-a[i]) != 0) return r; | |
return 0; | |
} | |
// returns bit length of the integer x | |
function nbits(x) { | |
var r = 1, t; | |
if((t=x>>>16) != 0) { x = t; r += 16; } | |
if((t=x>>8) != 0) { x = t; r += 8; } | |
if((t=x>>4) != 0) { x = t; r += 4; } | |
if((t=x>>2) != 0) { x = t; r += 2; } | |
if((t=x>>1) != 0) { x = t; r += 1; } | |
return r; | |
} | |
// (public) return the number of bits in "this" | |
function bnBitLength() { | |
if(this.t <= 0) return 0; | |
return this.DB*(this.t-1)+nbits(this[this.t-1]^(this.s&this.DM)); | |
} | |
// (protected) r = this << n*DB | |
function bnpDLShiftTo(n,r) { | |
var i; | |
for(i = this.t-1; i >= 0; --i) r[i+n] = this[i]; | |
for(i = n-1; i >= 0; --i) r[i] = 0; | |
r.t = this.t+n; | |
r.s = this.s; | |
} | |
// (protected) r = this >> n*DB | |
function bnpDRShiftTo(n,r) { | |
for(var i = n; i < this.t; ++i) r[i-n] = this[i]; | |
r.t = Math.max(this.t-n,0); | |
r.s = this.s; | |
} | |
// (protected) r = this << n | |
function bnpLShiftTo(n,r) { | |
var bs = n%this.DB; | |
var cbs = this.DB-bs; | |
var bm = (1<<cbs)-1; | |
var ds = Math.floor(n/this.DB), c = (this.s<<bs)&this.DM, i; | |
for(i = this.t-1; i >= 0; --i) { | |
r[i+ds+1] = (this[i]>>cbs)|c; | |
c = (this[i]&bm)<<bs; | |
} | |
for(i = ds-1; i >= 0; --i) r[i] = 0; | |
r[ds] = c; | |
r.t = this.t+ds+1; | |
r.s = this.s; | |
r.clamp(); | |
} | |
// (protected) r = this >> n | |
function bnpRShiftTo(n,r) { | |
r.s = this.s; | |
var ds = Math.floor(n/this.DB); | |
if(ds >= this.t) { r.t = 0; return; } | |
var bs = n%this.DB; | |
var cbs = this.DB-bs; | |
var bm = (1<<bs)-1; | |
r[0] = this[ds]>>bs; | |
for(var i = ds+1; i < this.t; ++i) { | |
r[i-ds-1] |= (this[i]&bm)<<cbs; | |
r[i-ds] = this[i]>>bs; | |
} | |
if(bs > 0) r[this.t-ds-1] |= (this.s&bm)<<cbs; | |
r.t = this.t-ds; | |
r.clamp(); | |
} | |
// (protected) r = this - a | |
function bnpSubTo(a,r) { | |
var i = 0, c = 0, m = Math.min(a.t,this.t); | |
while(i < m) { | |
c += this[i]-a[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
if(a.t < this.t) { | |
c -= a.s; | |
while(i < this.t) { | |
c += this[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
c += this.s; | |
} | |
else { | |
c += this.s; | |
while(i < a.t) { | |
c -= a[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
c -= a.s; | |
} | |
r.s = (c<0)?-1:0; | |
if(c < -1) r[i++] = this.DV+c; | |
else if(c > 0) r[i++] = c; | |
r.t = i; | |
r.clamp(); | |
} | |
// (protected) r = this * a, r != this,a (HAC 14.12) | |
// "this" should be the larger one if appropriate. | |
function bnpMultiplyTo(a,r) { | |
var x = this.abs(), y = a.abs(); | |
var i = x.t; | |
r.t = i+y.t; | |
while(--i >= 0) r[i] = 0; | |
for(i = 0; i < y.t; ++i) r[i+x.t] = x.am(0,y[i],r,i,0,x.t); | |
r.s = 0; | |
r.clamp(); | |
if(this.s != a.s) BigInteger.ZERO.subTo(r,r); | |
} | |
// (protected) r = this^2, r != this (HAC 14.16) | |
function bnpSquareTo(r) { | |
var x = this.abs(); | |
var i = r.t = 2*x.t; | |
while(--i >= 0) r[i] = 0; | |
for(i = 0; i < x.t-1; ++i) { | |
var c = x.am(i,x[i],r,2*i,0,1); | |
if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1)) >= x.DV) { | |
r[i+x.t] -= x.DV; | |
r[i+x.t+1] = 1; | |
} | |
} | |
if(r.t > 0) r[r.t-1] += x.am(i,x[i],r,2*i,0,1); | |
r.s = 0; | |
r.clamp(); | |
} | |
// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20) | |
// r != q, this != m. q or r may be null. | |
function bnpDivRemTo(m,q,r) { | |
var pm = m.abs(); | |
if(pm.t <= 0) return; | |
var pt = this.abs(); | |
if(pt.t < pm.t) { | |
if(q != null) q.fromInt(0); | |
if(r != null) this.copyTo(r); | |
return; | |
} | |
if(r == null) r = nbi(); | |
var y = nbi(), ts = this.s, ms = m.s; | |
var nsh = this.DB-nbits(pm[pm.t-1]); // normalize modulus | |
if(nsh > 0) { pm.lShiftTo(nsh,y); pt.lShiftTo(nsh,r); } | |
else { pm.copyTo(y); pt.copyTo(r); } | |
var ys = y.t; | |
var y0 = y[ys-1]; | |
if(y0 == 0) return; | |
var yt = y0*(1<<this.F1)+((ys>1)?y[ys-2]>>this.F2:0); | |
var d1 = this.FV/yt, d2 = (1<<this.F1)/yt, e = 1<<this.F2; | |
var i = r.t, j = i-ys, t = (q==null)?nbi():q; | |
y.dlShiftTo(j,t); | |
if(r.compareTo(t) >= 0) { | |
r[r.t++] = 1; | |
r.subTo(t,r); | |
} | |
BigInteger.ONE.dlShiftTo(ys,t); | |
t.subTo(y,y); // "negative" y so we can replace sub with am later | |
while(y.t < ys) y[y.t++] = 0; | |
while(--j >= 0) { | |
// Estimate quotient digit | |
var qd = (r[--i]==y0)?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2); | |
if((r[i]+=y.am(0,qd,r,j,0,ys)) < qd) { // Try it out | |
y.dlShiftTo(j,t); | |
r.subTo(t,r); | |
while(r[i] < --qd) r.subTo(t,r); | |
} | |
} | |
if(q != null) { | |
r.drShiftTo(ys,q); | |
if(ts != ms) BigInteger.ZERO.subTo(q,q); | |
} | |
r.t = ys; | |
r.clamp(); | |
if(nsh > 0) r.rShiftTo(nsh,r); // Denormalize remainder | |
if(ts < 0) BigInteger.ZERO.subTo(r,r); | |
} | |
// (public) this mod a | |
function bnMod(a) { | |
var r = nbi(); | |
this.abs().divRemTo(a,null,r); | |
if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r); | |
return r; | |
} | |
// Modular reduction using "classic" algorithm | |
function Classic(m) { this.m = m; } | |
function cConvert(x) { | |
if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m); | |
else return x; | |
} | |
function cRevert(x) { return x; } | |
function cReduce(x) { x.divRemTo(this.m,null,x); } | |
function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } | |
function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); } | |
Classic.prototype.convert = cConvert; | |
Classic.prototype.revert = cRevert; | |
Classic.prototype.reduce = cReduce; | |
Classic.prototype.mulTo = cMulTo; | |
Classic.prototype.sqrTo = cSqrTo; | |
// (protected) return "-1/this % 2^DB"; useful for Mont. reduction | |
// justification: | |
// xy == 1 (mod m) | |
// xy = 1+km | |
// xy(2-xy) = (1+km)(1-km) | |
// x[y(2-xy)] = 1-k^2m^2 | |
// x[y(2-xy)] == 1 (mod m^2) | |
// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2 | |
// should reduce x and y(2-xy) by m^2 at each step to keep size bounded. | |
// JS multiply "overflows" differently from C/C++, so care is needed here. | |
function bnpInvDigit() { | |
if(this.t < 1) return 0; | |
var x = this[0]; | |
if((x&1) == 0) return 0; | |
var y = x&3; // y == 1/x mod 2^2 | |
y = (y*(2-(x&0xf)*y))&0xf; // y == 1/x mod 2^4 | |
y = (y*(2-(x&0xff)*y))&0xff; // y == 1/x mod 2^8 | |
y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff; // y == 1/x mod 2^16 | |
// last step - calculate inverse mod DV directly; | |
// assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints | |
y = (y*(2-x*y%this.DV))%this.DV; // y == 1/x mod 2^dbits | |
// we really want the negative inverse, and -DV < y < DV | |
return (y>0)?this.DV-y:-y; | |
} | |
// Montgomery reduction | |
function Montgomery(m) { | |
this.m = m; | |
this.mp = m.invDigit(); | |
this.mpl = this.mp&0x7fff; | |
this.mph = this.mp>>15; | |
this.um = (1<<(m.DB-15))-1; | |
this.mt2 = 2*m.t; | |
} | |
// xR mod m | |
function montConvert(x) { | |
var r = nbi(); | |
x.abs().dlShiftTo(this.m.t,r); | |
r.divRemTo(this.m,null,r); | |
if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r); | |
return r; | |
} | |
// x/R mod m | |
function montRevert(x) { | |
var r = nbi(); | |
x.copyTo(r); | |
this.reduce(r); | |
return r; | |
} | |
// x = x/R mod m (HAC 14.32) | |
function montReduce(x) { | |
while(x.t <= this.mt2) // pad x so am has enough room later | |
x[x.t++] = 0; | |
for(var i = 0; i < this.m.t; ++i) { | |
// faster way of calculating u0 = x[i]*mp mod DV | |
var j = x[i]&0x7fff; | |
var u0 = (j*this.mpl+(((j*this.mph+(x[i]>>15)*this.mpl)&this.um)<<15))&x.DM; | |
// use am to combine the multiply-shift-add into one call | |
j = i+this.m.t; | |
x[j] += this.m.am(0,u0,x,i,0,this.m.t); | |
// propagate carry | |
while(x[j] >= x.DV) { x[j] -= x.DV; x[++j]++; } | |
} | |
x.clamp(); | |
x.drShiftTo(this.m.t,x); | |
if(x.compareTo(this.m) >= 0) x.subTo(this.m,x); | |
} | |
// r = "x^2/R mod m"; x != r | |
function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); } | |
// r = "xy/R mod m"; x,y != r | |
function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } | |
Montgomery.prototype.convert = montConvert; | |
Montgomery.prototype.revert = montRevert; | |
Montgomery.prototype.reduce = montReduce; | |
Montgomery.prototype.mulTo = montMulTo; | |
Montgomery.prototype.sqrTo = montSqrTo; | |
// (protected) true iff this is even | |
function bnpIsEven() { return ((this.t>0)?(this[0]&1):this.s) == 0; } | |
// (protected) this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79) | |
function bnpExp(e,z) { | |
if(e > 0xffffffff || e < 1) return BigInteger.ONE; | |
var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1; | |
g.copyTo(r); | |
while(--i >= 0) { | |
z.sqrTo(r,r2); | |
if((e&(1<<i)) > 0) z.mulTo(r2,g,r); | |
else { var t = r; r = r2; r2 = t; } | |
} | |
return z.revert(r); | |
} | |
// (public) this^e % m, 0 <= e < 2^32 | |
function bnModPowInt(e,m) { | |
var z; | |
if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); | |
return this.exp(e,z); | |
} | |
// protected | |
BigInteger.prototype.copyTo = bnpCopyTo; | |
BigInteger.prototype.fromInt = bnpFromInt; | |
BigInteger.prototype.fromString = bnpFromString; | |
BigInteger.prototype.clamp = bnpClamp; | |
BigInteger.prototype.dlShiftTo = bnpDLShiftTo; | |
BigInteger.prototype.drShiftTo = bnpDRShiftTo; | |
BigInteger.prototype.lShiftTo = bnpLShiftTo; | |
BigInteger.prototype.rShiftTo = bnpRShiftTo; | |
BigInteger.prototype.subTo = bnpSubTo; | |
BigInteger.prototype.multiplyTo = bnpMultiplyTo; | |
BigInteger.prototype.squareTo = bnpSquareTo; | |
BigInteger.prototype.divRemTo = bnpDivRemTo; | |
BigInteger.prototype.invDigit = bnpInvDigit; | |
BigInteger.prototype.isEven = bnpIsEven; | |
BigInteger.prototype.exp = bnpExp; | |
// public | |
BigInteger.prototype.toString = bnToString; | |
BigInteger.prototype.negate = bnNegate; | |
BigInteger.prototype.abs = bnAbs; | |
BigInteger.prototype.compareTo = bnCompareTo; | |
BigInteger.prototype.bitLength = bnBitLength; | |
BigInteger.prototype.mod = bnMod; | |
BigInteger.prototype.modPowInt = bnModPowInt; | |
// "constants" | |
BigInteger.ZERO = nbv(0); | |
BigInteger.ONE = nbv(1); | |
// jsbn2 stuff | |
// (protected) convert from radix string | |
function bnpFromRadix(s,b) { | |
this.fromInt(0); | |
if(b == null) b = 10; | |
var cs = this.chunkSize(b); | |
var d = Math.pow(b,cs), mi = false, j = 0, w = 0; | |
for(var i = 0; i < s.length; ++i) { | |
var x = intAt(s,i); | |
if(x < 0) { | |
if(s.charAt(i) == "-" && this.signum() == 0) mi = true; | |
continue; | |
} | |
w = b*w+x; | |
if(++j >= cs) { | |
this.dMultiply(d); | |
this.dAddOffset(w,0); | |
j = 0; | |
w = 0; | |
} | |
} | |
if(j > 0) { | |
this.dMultiply(Math.pow(b,j)); | |
this.dAddOffset(w,0); | |
} | |
if(mi) BigInteger.ZERO.subTo(this,this); | |
} | |
// (protected) return x s.t. r^x < DV | |
function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); } | |
// (public) 0 if this == 0, 1 if this > 0 | |
function bnSigNum() { | |
if(this.s < 0) return -1; | |
else if(this.t <= 0 || (this.t == 1 && this[0] <= 0)) return 0; | |
else return 1; | |
} | |
// (protected) this *= n, this >= 0, 1 < n < DV | |
function bnpDMultiply(n) { | |
this[this.t] = this.am(0,n-1,this,0,0,this.t); | |
++this.t; | |
this.clamp(); | |
} | |
// (protected) this += n << w words, this >= 0 | |
function bnpDAddOffset(n,w) { | |
if(n == 0) return; | |
while(this.t <= w) this[this.t++] = 0; | |
this[w] += n; | |
while(this[w] >= this.DV) { | |
this[w] -= this.DV; | |
if(++w >= this.t) this[this.t++] = 0; | |
++this[w]; | |
} | |
} | |
// (protected) convert to radix string | |
function bnpToRadix(b) { | |
if(b == null) b = 10; | |
if(this.signum() == 0 || b < 2 || b > 36) return "0"; | |
var cs = this.chunkSize(b); | |
var a = Math.pow(b,cs); | |
var d = nbv(a), y = nbi(), z = nbi(), r = ""; | |
this.divRemTo(d,y,z); | |
while(y.signum() > 0) { | |
r = (a+z.intValue()).toString(b).substr(1) + r; | |
y.divRemTo(d,y,z); | |
} | |
return z.intValue().toString(b) + r; | |
} | |
// (public) return value as integer | |
function bnIntValue() { | |
if(this.s < 0) { | |
if(this.t == 1) return this[0]-this.DV; | |
else if(this.t == 0) return -1; | |
} | |
else if(this.t == 1) return this[0]; | |
else if(this.t == 0) return 0; | |
// assumes 16 < DB < 32 | |
return ((this[1]&((1<<(32-this.DB))-1))<<this.DB)|this[0]; | |
} | |
// (protected) r = this + a | |
function bnpAddTo(a,r) { | |
var i = 0, c = 0, m = Math.min(a.t,this.t); | |
while(i < m) { | |
c += this[i]+a[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
if(a.t < this.t) { | |
c += a.s; | |
while(i < this.t) { | |
c += this[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
c += this.s; | |
} | |
else { | |
c += this.s; | |
while(i < a.t) { | |
c += a[i]; | |
r[i++] = c&this.DM; | |
c >>= this.DB; | |
} | |
c += a.s; | |
} | |
r.s = (c<0)?-1:0; | |
if(c > 0) r[i++] = c; | |
else if(c < -1) r[i++] = this.DV+c; | |
r.t = i; | |
r.clamp(); | |
} | |
BigInteger.prototype.fromRadix = bnpFromRadix; | |
BigInteger.prototype.chunkSize = bnpChunkSize; | |
BigInteger.prototype.signum = bnSigNum; | |
BigInteger.prototype.dMultiply = bnpDMultiply; | |
BigInteger.prototype.dAddOffset = bnpDAddOffset; | |
BigInteger.prototype.toRadix = bnpToRadix; | |
BigInteger.prototype.intValue = bnIntValue; | |
BigInteger.prototype.addTo = bnpAddTo; | |
//======= end jsbn ======= | |
// Emscripten wrapper | |
var Wrapper = { | |
subtract: function(xl, xh, yl, yh) { | |
var x = new goog.math.Long(xl, xh); | |
var y = new goog.math.Long(yl, yh); | |
var ret = x.subtract(y); | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
}, | |
multiply: function(xl, xh, yl, yh) { | |
var x = new goog.math.Long(xl, xh); | |
var y = new goog.math.Long(yl, yh); | |
var ret = x.multiply(y); | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
}, | |
abs: function(l, h) { | |
var x = new goog.math.Long(l, h); | |
var ret; | |
if (x.isNegative()) { | |
ret = x.negate(); | |
} else { | |
ret = x; | |
} | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
}, | |
ensureTemps: function() { | |
if (Wrapper.ensuredTemps) return; | |
Wrapper.ensuredTemps = true; | |
Wrapper.two32 = new BigInteger(); | |
Wrapper.two32.fromString('4294967296', 10); | |
Wrapper.two64 = new BigInteger(); | |
Wrapper.two64.fromString('18446744073709551616', 10); | |
Wrapper.temp1 = new BigInteger(); | |
Wrapper.temp2 = new BigInteger(); | |
}, | |
lh2bignum: function(l, h) { | |
var a = new BigInteger(); | |
a.fromString(h.toString(), 10); | |
var b = new BigInteger(); | |
a.multiplyTo(Wrapper.two32, b); | |
var c = new BigInteger(); | |
c.fromString(l.toString(), 10); | |
var d = new BigInteger(); | |
c.addTo(b, d); | |
return d; | |
}, | |
divide: function(xl, xh, yl, yh, unsigned) { | |
Wrapper.ensureTemps(); | |
if (!unsigned) { | |
var x = new goog.math.Long(xl, xh); | |
var y = new goog.math.Long(yl, yh); | |
var ret = x.div(y); | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
} else { | |
// slow precise bignum division | |
var x = Wrapper.lh2bignum(xl >>> 0, xh >>> 0); | |
var y = Wrapper.lh2bignum(yl >>> 0, yh >>> 0); | |
var z = new BigInteger(); | |
x.divRemTo(y, z, null); | |
var l = new BigInteger(); | |
var h = new BigInteger(); | |
z.divRemTo(Wrapper.two32, h, l); | |
HEAP32[tempDoublePtr>>2] = parseInt(l.toString()) | 0; | |
HEAP32[tempDoublePtr+4>>2] = parseInt(h.toString()) | 0; | |
} | |
}, | |
modulo: function(xl, xh, yl, yh, unsigned) { | |
Wrapper.ensureTemps(); | |
if (!unsigned) { | |
var x = new goog.math.Long(xl, xh); | |
var y = new goog.math.Long(yl, yh); | |
var ret = x.modulo(y); | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
} else { | |
// slow precise bignum division | |
var x = Wrapper.lh2bignum(xl >>> 0, xh >>> 0); | |
var y = Wrapper.lh2bignum(yl >>> 0, yh >>> 0); | |
var z = new BigInteger(); | |
x.divRemTo(y, null, z); | |
var l = new BigInteger(); | |
var h = new BigInteger(); | |
z.divRemTo(Wrapper.two32, h, l); | |
HEAP32[tempDoublePtr>>2] = parseInt(l.toString()) | 0; | |
HEAP32[tempDoublePtr+4>>2] = parseInt(h.toString()) | 0; | |
} | |
}, | |
stringify: function(l, h, unsigned) { | |
var ret = new goog.math.Long(l, h).toString(); | |
if (unsigned && ret[0] == '-') { | |
// unsign slowly using jsbn bignums | |
Wrapper.ensureTemps(); | |
var bignum = new BigInteger(); | |
bignum.fromString(ret, 10); | |
ret = new BigInteger(); | |
Wrapper.two64.addTo(bignum, ret); | |
ret = ret.toString(10); | |
} | |
return ret; | |
}, | |
fromString: function(str, base, min, max, unsigned) { | |
Wrapper.ensureTemps(); | |
var bignum = new BigInteger(); | |
bignum.fromString(str, base); | |
var bigmin = new BigInteger(); | |
bigmin.fromString(min, 10); | |
var bigmax = new BigInteger(); | |
bigmax.fromString(max, 10); | |
if (unsigned && bignum.compareTo(BigInteger.ZERO) < 0) { | |
var temp = new BigInteger(); | |
bignum.addTo(Wrapper.two64, temp); | |
bignum = temp; | |
} | |
var error = false; | |
if (bignum.compareTo(bigmin) < 0) { | |
bignum = bigmin; | |
error = true; | |
} else if (bignum.compareTo(bigmax) > 0) { | |
bignum = bigmax; | |
error = true; | |
} | |
var ret = goog.math.Long.fromString(bignum.toString()); // min-max checks should have clamped this to a range goog.math.Long can handle well | |
HEAP32[tempDoublePtr>>2] = ret.low_; | |
HEAP32[tempDoublePtr+4>>2] = ret.high_; | |
if (error) throw 'range error'; | |
} | |
}; | |
return Wrapper; | |
})(); | |
//======= end closure i64 code ======= | |
// === Auto-generated postamble setup entry stuff === | |
Module.callMain = function callMain(args) { | |
var argc = args.length+1; | |
function pad() { | |
for (var i = 0; i < 4-1; i++) { | |
argv.push(0); | |
} | |
} | |
var argv = [allocate(intArrayFromString("/bin/this.program"), 'i8', ALLOC_STATIC) ]; | |
pad(); | |
for (var i = 0; i < argc-1; i = i + 1) { | |
argv.push(allocate(intArrayFromString(args[i]), 'i8', ALLOC_STATIC)); | |
pad(); | |
} | |
argv.push(0); | |
argv = allocate(argv, 'i32', ALLOC_STATIC); | |
var ret; | |
var initialStackTop = STACKTOP; | |
try { | |
ret = Module['_main'](argc, argv, 0); | |
} | |
catch(e) { | |
if (e.name == 'ExitStatus') { | |
return e.status; | |
} else if (e == 'SimulateInfiniteLoop') { | |
Module['noExitRuntime'] = true; | |
} else { | |
throw e; | |
} | |
} finally { | |
STACKTOP = initialStackTop; | |
} | |
return ret; | |
} | |
function run(args) { | |
args = args || Module['arguments']; | |
if (runDependencies > 0) { | |
Module.printErr('run() called, but dependencies remain, so not running'); | |
return 0; | |
} | |
if (Module['preRun']) { | |
if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']]; | |
var toRun = Module['preRun']; | |
Module['preRun'] = []; | |
for (var i = toRun.length-1; i >= 0; i--) { | |
toRun[i](); | |
} | |
if (runDependencies > 0) { | |
// a preRun added a dependency, run will be called later | |
return 0; | |
} | |
} | |
function doRun() { | |
var ret = 0; | |
calledRun = true; | |
if (Module['_main']) { | |
preMain(); | |
ret = Module.callMain(args); | |
if (!Module['noExitRuntime']) { | |
exitRuntime(); | |
} | |
} | |
if (Module['postRun']) { | |
if (typeof Module['postRun'] == 'function') Module['postRun'] = [Module['postRun']]; | |
while (Module['postRun'].length > 0) { | |
Module['postRun'].pop()(); | |
} | |
} | |
return ret; | |
} | |
if (Module['setStatus']) { | |
Module['setStatus']('Running...'); | |
setTimeout(function() { | |
setTimeout(function() { | |
Module['setStatus'](''); | |
}, 1); | |
doRun(); | |
}, 1); | |
return 0; | |
} else { | |
return doRun(); | |
} | |
} | |
Module['run'] = Module.run = run; | |
// {{PRE_RUN_ADDITIONS}} | |
if (Module['preInit']) { | |
if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']]; | |
while (Module['preInit'].length > 0) { | |
Module['preInit'].pop()(); | |
} | |
} | |
initRuntime(); | |
var shouldRunNow = true; | |
if (Module['noInitialRun']) { | |
shouldRunNow = false; | |
} | |
if (shouldRunNow) { | |
run(); | |
} | |
// {{POST_RUN_ADDITIONS}} | |
// {{MODULE_ADDITIONS}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment