-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraco_encoder.js
1 lines (1 loc) · 813 KB
/
draco_encoder.js
1
var DracoEncoderModule=function(e){var r=void 0!==(e=e||{})?e:{},i=!1,f=!1;r.onRuntimeInitialized=function(){i=!0,f&&"function"==typeof r.onModuleLoaded&&r.onModuleLoaded(r)},r.onModuleParsed=function(){f=!0,i&&"function"==typeof r.onModuleLoaded&&r.onModuleLoaded(r)},r.isVersionSupported=function(e){if("string"!=typeof e)return!1;const r=e.split(".");return!(r.length<2||r.length>3)&&(1==r[0]&&r[1]>=0&&r[1]<=3||!(0!=r[0]||r[1]>10))};var A,t={};for(A in r)r.hasOwnProperty(A)&&(t[A]=r[A]);r.arguments=[],r.thisProgram="./this.program",r.quit=function(e,r){throw r},r.preRun=[],r.postRun=[];var a,o,n=!1,b=!1,l=!1,c=!1;if(r.ENVIRONMENT)if("WEB"===r.ENVIRONMENT)n=!0;else if("WORKER"===r.ENVIRONMENT)b=!0;else if("NODE"===r.ENVIRONMENT)l=!0;else{if("SHELL"!==r.ENVIRONMENT)throw new Error("Module['ENVIRONMENT'] value is not valid. must be one of: WEB|WORKER|NODE|SHELL.");c=!0}else n="object"==typeof window,b="function"==typeof importScripts,l="object"==typeof process&&"function"==typeof require&&!n&&!b,c=!n&&!l&&!b;for(A in l?(r.read=function(e,r){var i;return(i=he(e))||(a||(a=require("fs")),o||(o=require("path")),e=o.normalize(e),i=a.readFileSync(e)),r?i:i.toString()},r.readBinary=function(e){var i=r.read(e,!0);return i.buffer||(i=new Uint8Array(i)),_(i.buffer),i},process.argv.length>1&&(r.thisProgram=process.argv[1].replace(/\\/g,"/")),r.arguments=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof ui))throw e})),process.on("unhandledRejection",(function(e,r){process.exit(1)})),r.inspect=function(){return"[Emscripten Module object]"}):c?("undefined"!=typeof read&&(r.read=function(e){var r=he(e);return r?de(r):read(e)}),r.readBinary=function(e){var r;return(r=he(e))?r:"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(_("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?r.arguments=scriptArgs:void 0!==arguments&&(r.arguments=arguments),"function"==typeof quit&&(r.quit=function(e,r){quit(e)})):(n||b)&&(r.read=function(e){try{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText}catch(r){var i=he(e);if(i)return de(i);throw r}},b&&(r.readBinary=function(e){try{var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}catch(r){var i=he(e);if(i)return i;throw r}}),r.readAsync=function(e,r,i){var f=new XMLHttpRequest;f.open("GET",e,!0),f.responseType="arraybuffer",f.onload=function(){if(200==f.status||0==f.status&&f.response)r(f.response);else{var A=he(e);A?r(A.buffer):i()}},f.onerror=i,f.send(null)},r.setWindowTitle=function(e){document.title=e}),r.print="undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null,r.printErr="undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||r.print,r.print=r.print,r.printErr=r.printErr,t)t.hasOwnProperty(A)&&(r[A]=t[A]);function u(e){_(!E);var r=B;return B=B+e+15&-16,r}function s(e){_(F);var r=Z[F>>2],i=r+e+15&-16;return Z[F>>2]=i,i>=Q&&!j()?(Z[F>>2]=r,0):r}function k(e,r){return r||(r=16),Math.ceil(e/r)*r}t=void 0,new Array(0);var d=0;function _(e,r){e||ki("Assertion failed: "+r)}var h="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function p(e,r){for(var i=r;e[i];)++i;if(i-r>16&&e.subarray&&h)return h.decode(e.subarray(r,i));for(var f,A,t,a,o,n="";;){if(!(f=e[r++]))return n;if(128&f)if(A=63&e[r++],192!=(224&f))if(t=63&e[r++],224==(240&f)?f=(15&f)<<12|A<<6|t:(a=63&e[r++],240==(248&f)?f=(7&f)<<18|A<<12|t<<6|a:(o=63&e[r++],f=248==(252&f)?(3&f)<<24|A<<18|t<<12|a<<6|o:(1&f)<<30|A<<24|t<<18|a<<12|o<<6|63&e[r++])),f<65536)n+=String.fromCharCode(f);else{var b=f-65536;n+=String.fromCharCode(55296|b>>10,56320|1023&b)}else n+=String.fromCharCode((31&f)<<6|A);else n+=String.fromCharCode(f)}}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var w,v,y,m,Z,R,B,E,W,V,N,G,F,U,g=65536,Y=16777216,M=16777216;function T(e,r){return e%r>0&&(e+=r-e%r),e}function I(){r.HEAP8=v=new Int8Array(w),r.HEAP16=m=new Int16Array(w),r.HEAP32=Z=new Int32Array(w),r.HEAPU8=y=new Uint8Array(w),r.HEAPU16=new Uint16Array(w),r.HEAPU32=new Uint32Array(w),r.HEAPF32=R=new Float32Array(w),r.HEAPF64=new Float64Array(w)}function j(){var e=r.usingWasm?g:Y,i=2147483648-e;if(Z[F>>2]>i)return!1;var f=Q;for(Q=Math.max(Q,M);Q<Z[F>>2];)Q=Q<=536870912?T(2*Q,e):Math.min(T((3*Q+2147483648)/4,e),i);var A,t=r.reallocBuffer(Q);return t&&t.byteLength==Q?(A=t,r.buffer=w=A,I(),!0):(Q=f,!1)}B=V=F=0,E=!1,r.reallocBuffer||(r.reallocBuffer=function(e){var r;try{if(ArrayBuffer.transfer)r=ArrayBuffer.transfer(w,e);else{var i=v;r=new ArrayBuffer(e),new Int8Array(r).set(i)}}catch(e){return!1}return!!fi(r)&&r});try{(U=Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get))(new ArrayBuffer(4))}catch(Ti){U=function(e){return e.byteLength}}var C=r.TOTAL_STACK||5242880,Q=r.TOTAL_MEMORY||16777216;if(Q<C&&r.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+Q+"! (TOTAL_STACK="+C+")"),r.buffer?w=r.buffer:(w=new ArrayBuffer(Q),r.buffer=w),I(),Z[0]=1668509029,m[1]=25459,115!==y[2]||99!==y[3])throw"Runtime error: expected the system to be little-endian!";function X(e){for(;e.length>0;){var i=e.shift();if("function"!=typeof i){var f=i.func;"number"==typeof f?void 0===i.arg?r.dynCall_v(f):r.dynCall_vi(f,i.arg):f(void 0===i.arg?null:i.arg)}else i()}}var J=[],z=[],O=[],S=[],H=[],D=!1,x=Math.abs,P=(Math.cos,Math.sin,Math.tan,Math.acos,Math.asin,Math.atan,Math.atan2,Math.exp,Math.log,Math.sqrt,Math.ceil),L=Math.floor,K=(Math.pow,Math.imul,Math.fround,Math.round,Math.min,Math.max,Math.clz32,Math.trunc,0),q=null,$=null;r.preloadedImages={},r.preloadedAudios={};var ee=null,re="data:application/octet-stream;base64,";function ie(e){return String.prototype.startsWith?e.startsWith(re):0===e.indexOf(re)}B=18648,z.push(),ee="data:application/octet-stream;base64,vBoAACwbAADkGgAAehsAACAAAAAAAAAAvBoAAKEbAADkGgAAvhsAACAAAAAAAAAAvBoAAOcbAADkGgAAAxwAADgAAAAAAAAAvBoAACUcAADkGgAAShwAADgAAAAAAAAA5BoAAI4mAABQAAAAAAAAAOQaAAB6HAAAiAAAAAAAAADkGgAA0xwAAJgAAAAAAAAA5BoAACcdAACoAAAAAAAAAOQaAABbHQAAuAAAAAAAAAC8GgAAhh0AAOQaAACqHQAA0AAAAAAAAAC8GgAASB4AAOQaAADmHgAA6AAAAAAAAADkGgAAfh8AAIgAAAAAAAAA5BoAAAcgAADoAAAAAAAAAOQaAAChIAAA6AAAAAAAAADkGgAARyEAAOgAAAAAAAAA5BoAAN0hAAA4AQAAAAAAALwaAACIIgAA5BoAADMjAABQAQAAAAAAAOQaAADYIwAAiAAAAAAAAADkGgAAbiQAAFABAAAAAAAA5BoAABUlAABQAQAAAAAAAOQaAADIJQAAUAEAAAAAAADkGgAAqDEAAGgAAAAAAAAA5BoAALomAACwAQAAAAAAAOQaAAArJwAAmAAAAAAAAADkGgAAlycAANABAAAAAAAAvBoAAE0oAADkGgAAAykAAOgBAAAAAAAA5BoAALMpAACwAQAAAAAAAOQaAABU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Zm9ybWF0aW9uAABpbmZpbml0eQBuYW4AJWQAJWYAdGVybWluYXRpbmcgd2l0aCAlcyBleGNlcHRpb24gb2YgdHlwZSAlczogJXMAdGVybWluYXRpbmcgd2l0aCAlcyBleGNlcHRpb24gb2YgdHlwZSAlcwB0ZXJtaW5hdGluZyB3aXRoICVzIGZvcmVpZ24gZXhjZXB0aW9uAHRlcm1pbmF0aW5nAHVuY2F1Z2h0AFN0OWV4Y2VwdGlvbgBOMTBfX2N4eGFiaXYxMTZfX3NoaW1fdHlwZV9pbmZvRQBTdDl0eXBlX2luZm8ATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQBwdGhyZWFkX29uY2UgZmFpbHVyZSBpbiBfX2N4YV9nZXRfZ2xvYmFsc19mYXN0KCkAY2Fubm90IGNyZWF0ZSBwdGhyZWFkIGtleSBmb3IgX19jeGFfZ2V0X2dsb2JhbHMoKQBjYW5ub3QgemVybyBvdXQgdGhyZWFkIHZhbHVlIGZvciBfX2N4YV9nZXRfZ2xvYmFscygpAHRlcm1pbmF0ZV9oYW5kbGVyIHVuZXhwZWN0ZWRseSByZXR1cm5lZABTdDExbG9naWNfZXJyb3IAU3QxMmxlbmd0aF9lcnJvcgBOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX3BiYXNlX3R5cGVfaW5mb0U=";var fe=B;function Ae(){return!!Ae.uncaught_exception}B+=16;var te={last:0,caught:[],infos:{},deAdjust:function(e){if(!e||te.infos[e])return e;for(var r in te.infos)if(te.infos[r].adjusted===e)return r;return e},addRef:function(e){e&&te.infos[e].refcount++},decRef:function(e){if(e){var i=te.infos[e];_(i.refcount>0),i.refcount--,0!==i.refcount||i.rethrown||(i.destructor&&r.dynCall_vi(i.destructor,e),delete te.infos[e],___cxa_free_exception(e))}},clearRef:function(e){e&&(te.infos[e].refcount=0)}},ae=function(e,r,i,f){var A,t;"number"==typeof e?(A=!0,t=e):(A=!1,t=e.length);var a,o=r;if(a=["function"==typeof Ai?Ai:u,ai,u,s][2](Math.max(t,o?1:2)),A){var n;for(f=a,_(0==(3&a)),n=a+(-4&t);f<n;f+=4)Z[f>>2]=0;for(n=a+t;f<n;)v[f++>>0]=0;return a}return e.subarray||e.slice?y.set(e,a):y.set(new Uint8Array(e),a),a}([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8"),oe={varargs:0,get:function(e){return oe.varargs+=4,Z[oe.varargs-4>>2]},getStr:function(){return function(e,r){if(0===r||!e)return"";for(var i,f=0,A=0;f|=i=y[e+A>>0],(0!=i||r)&&(A++,!r||A!=r););r||(r=A);var t="";if(f<128){for(var a,o=1024;r>0;)a=String.fromCharCode.apply(String,y.subarray(e,e+Math.min(r,o))),t=t?t+a:a,e+=o,r-=o;return t}return function(e){return p(y,e)}(e)}(oe.get())},get64:function(){var e=oe.get(),r=oe.get();return _(e>=0?0===r:-1===r),e},getZero:function(){_(0===oe.get())}};function ne(e,i){oe.varargs=i;try{var f=oe.get(),A=oe.get(),t=oe.get(),a=0;ne.buffers||(ne.buffers=[null,[],[]],ne.printChar=function(e,i){var f=ne.buffers[e];_(f),0===i||10===i?((1===e?r.print:r.printErr)(p(f,0)),f.length=0):f.push(i)});for(var o=0;o<t;o++){for(var n=Z[A+8*o>>2],b=Z[A+(8*o+4)>>2],l=0;l<b;l++)ne.printChar(f,y[n+l]);a+=b}return a}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ki(e),-e.errno}}var be=P,le=x,ce=L,ue={},se=1;F=u(4),W=V=k(B),G=k(N=W+C),Z[F>>2]=G,E=!0;var ke=!1;function de(e){for(var r=[],i=0;i<e.length;i++){var f=e[i];f>255&&(ke&&_(!1,"Character code "+f+" ("+String.fromCharCode(f)+") at offset "+i+" not in 0x00-0xFF."),f&=255),r.push(String.fromCharCode(f))}return r.join("")}var _e="function"==typeof atob?atob:function(e){var r,i,f,A,t,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="",b=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{r=o.indexOf(e.charAt(b++))<<2|(A=o.indexOf(e.charAt(b++)))>>4,i=(15&A)<<4|(t=o.indexOf(e.charAt(b++)))>>2,f=(3&t)<<6|(a=o.indexOf(e.charAt(b++))),n+=String.fromCharCode(r),64!==t&&(n+=String.fromCharCode(i)),64!==a&&(n+=String.fromCharCode(f))}while(b<e.length);return n};function he(e){if(ie(e))return function(e){if("boolean"==typeof l&&l){var r;try{r=Buffer.from(e,"base64")}catch(i){r=new Buffer(e,"base64")}return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}try{for(var i=_e(e),f=new Uint8Array(i.length),A=0;A<i.length;++A)f[A]=i.charCodeAt(A);return f}catch(e){throw new Error("Converting base64 string to bytes failed.")}}(e.slice(re.length))}r.asmGlobalArg={Math,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Float32Array,Float64Array,NaN:NaN,Infinity:1/0,byteLength:U},r.asmLibraryArg={abort:ki,assert:_,enlargeMemory:j,getTotalMemory:function(){return Q},abortOnCannotGrowMemory:function(){ki("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+Q+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")},invoke_ii:function(e,i){try{return r.dynCall_ii(e,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_iii:function(e,i,f){try{return r.dynCall_iii(e,i,f)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_iiii:function(e,i,f,A){try{return r.dynCall_iiii(e,i,f,A)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_iiiiiii:function(e,i,f,A,t,a,o){try{return r.dynCall_iiiiiii(e,i,f,A,t,a,o)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_v:function(e){try{r.dynCall_v(e)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_vi:function(e,i){try{r.dynCall_vi(e,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_vii:function(e,i,f){try{r.dynCall_vii(e,i,f)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_viii:function(e,i,f,A){try{r.dynCall_viii(e,i,f,A)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_viiii:function(e,i,f,A,t){try{r.dynCall_viiii(e,i,f,A,t)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_viiiii:function(e,i,f,A,t,a){try{r.dynCall_viiiii(e,i,f,A,t,a)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},invoke_viiiiii:function(e,i,f,A,t,a,o){try{r.dynCall_viiiiii(e,i,f,A,t,a,o)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;r.setThrew(1,0)}},__ZSt18uncaught_exceptionv:Ae,___cxa_allocate_exception:function(e){return Ai(e)},___cxa_begin_catch:function(e){var r=te.infos[e];return r&&!r.caught&&(r.caught=!0,Ae.uncaught_exception--),r&&(r.rethrown=!1),te.caught.push(e),te.addRef(te.deAdjust(e)),e},___cxa_find_matching_catch:function e(){var i=te.last;if(!i)return 0|(ti(0),0);var f=te.infos[i],A=f.type;if(!A)return 0|(ti(0),i);var t=Array.prototype.slice.call(arguments);r.___cxa_is_pointer_type(A),e.buffer||(e.buffer=Ai(4)),Z[e.buffer>>2]=i,i=e.buffer;for(var a=0;a<t.length;a++)if(t[a]&&r.___cxa_can_catch(t[a],A,i))return i=Z[i>>2],f.adjusted=i,0|(ti(t[a]),i);return i=Z[i>>2],0|(ti(A),i)},___cxa_pure_virtual:function(){throw d=!0,"Pure virtual function called!"},___cxa_throw:function(e,r,i){throw te.infos[e]={ptr:e,adjusted:e,type:r,destructor:i,refcount:0,caught:!1,rethrown:!1},te.last=e,"uncaught_exception"in Ae?Ae.uncaught_exception++:Ae.uncaught_exception=1,e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."},___gxx_personality_v0:function(){},___resumeException:function(e){throw te.last||(te.last=e),e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."},___setErrNo:function(e){return r.___errno_location&&(Z[r.___errno_location()>>2]=e),e},___syscall140:function(e,r){oe.varargs=r;try{var i=oe.getStreamFromFD(),f=(oe.get(),oe.get()),A=oe.get(),t=oe.get(),a=f;return FS.llseek(i,a,t),Z[A>>2]=i.position,i.getdents&&0===a&&0===t&&(i.getdents=null),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ki(e),-e.errno}},___syscall146:ne,___syscall6:function(e,r){oe.varargs=r;try{var i=oe.getStreamFromFD();return FS.close(i),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ki(e),-e.errno}},_abort:function(){r.abort()},_emscripten_memcpy_big:function(e,r,i){return y.set(y.subarray(r,r+i),e),e},_llvm_ceil_f64:be,_llvm_fabs_f64:le,_llvm_floor_f64:ce,_llvm_trap:function(){ki("trap!")},_pthread_getspecific:function(e){return ue[e]||0},_pthread_key_create:function(e,r){return 0==e?22:(Z[e>>2]=se,ue[se]=0,se++,0)},_pthread_once:function e(i,f){e.seen||(e.seen={}),i in e.seen||(r.dynCall_v(f),e.seen[i]=1)},_pthread_setspecific:function(e,r){return e in ue?(ue[e]=r,0):22},flush_NO_FILESYSTEM:function(){var e=r._fflush;e&&e(0);var i=ne.printChar;if(i){var f=ne.buffers;f[1].length&&i(1,10),f[2].length&&i(2,10)}},DYNAMICTOP_PTR:F,tempDoublePtr:fe,ABORT:d,STACKTOP:V,STACK_MAX:N,cttz_i8:ae};var pe=function(e,r,i){var f=e.Int8Array,A=new f(i),t=e.Int16Array,a=new t(i),o=e.Int32Array,n=new o(i),b=e.Uint8Array,l=new b(i),c=e.Uint16Array,u=new c(i),s=e.Uint32Array,k=(new s(i),e.Float32Array),d=new k(i),_=e.Float64Array,h=new _(i),p=e.byteLength,w=0|r.DYNAMICTOP_PTR,v=0|r.tempDoublePtr,y=(r.ABORT,0|r.STACKTOP),m=(r.STACK_MAX,0|r.cttz_i8),Z=0,R=e.NaN,B=e.Infinity,E=0,W=e.Math.floor,V=e.Math.abs,N=(e.Math.sqrt,e.Math.pow,e.Math.cos,e.Math.sin,e.Math.tan,e.Math.acos,e.Math.asin,e.Math.atan,e.Math.atan2,e.Math.exp,e.Math.log,e.Math.ceil),G=e.Math.imul,F=e.Math.min,U=(e.Math.max,e.Math.clz32),g=e.Math.fround,Y=r.abort,M=(r.assert,r.enlargeMemory),T=r.getTotalMemory,I=r.abortOnCannotGrowMemory,j=(r.invoke_ii,r.invoke_iii,r.invoke_iiii,r.invoke_iiiiiii,r.invoke_v,r.invoke_vi,r.invoke_vii,r.invoke_viii,r.invoke_viiii,r.invoke_viiiii,r.invoke_viiiiii,r.__ZSt18uncaught_exceptionv,r.___cxa_allocate_exception),C=(r.___cxa_begin_catch,r.___cxa_find_matching_catch,r.___cxa_pure_virtual),Q=r.___cxa_throw,X=(r.___gxx_personality_v0,r.___resumeException,r.___setErrNo),J=r.___syscall140,z=r.___syscall146,O=r.___syscall6,S=r._abort,H=r._emscripten_memcpy_big,D=(r._llvm_ceil_f64,r._llvm_fabs_f64,r._llvm_floor_f64,r._llvm_trap),x=r._pthread_getspecific,P=r._pthread_key_create,L=r._pthread_once,K=r._pthread_setspecific;r.flush_NO_FILESYSTEM,g(0);const q=g(0);function $(e){var r,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(e|=0){i=e+-8|0,f=0|n[4516],r=i+(e=-8&(A=0|n[e+-4>>2]))|0;do{if(1&A)c=i,u=e,s=i;else{if(t=0|n[i>>2],!(3&A))return;if(o=t+e|0,(a=i+(0-t)|0)>>>0<f>>>0)return;if((0|n[4517])==(0|a)){if(3!=(3&(l=0|n[(b=r+4|0)>>2])|0)){c=a,u=o,s=a;break}return n[4514]=o,n[b>>2]=-2&l,n[a+4>>2]=1|o,void(n[a+o>>2]=o)}if(l=t>>>3,t>>>0<256){if(t=0|n[a+8>>2],(0|(b=0|n[a+12>>2]))==(0|t)){n[4512]=n[4512]&~(1<<l),c=a,u=o,s=a;break}n[t+12>>2]=b,n[b+8>>2]=t,c=a,u=o,s=a;break}t=0|n[a+24>>2],b=0|n[a+12>>2];do{if((0|b)==(0|a)){if(d=0|n[(k=4+(l=a+16|0)|0)>>2])p=d,w=k;else{if(!(_=0|n[l>>2])){h=0;break}p=_,w=l}for(;;)if(0|(d=0|n[(k=p+20|0)>>2]))p=d,w=k;else{if(!(d=0|n[(k=p+16|0)>>2]))break;p=d,w=k}n[w>>2]=0,h=p}else k=0|n[a+8>>2],n[k+12>>2]=b,n[b+8>>2]=k,h=b}while(0);if(t){if(b=0|n[a+28>>2],(0|n[(k=18352+(b<<2)|0)>>2])==(0|a)){if(n[k>>2]=h,!h){n[4513]=n[4513]&~(1<<b),c=a,u=o,s=a;break}}else if(n[t+16+(((0|n[t+16>>2])!=(0|a)&1)<<2)>>2]=h,!h){c=a,u=o,s=a;break}n[h+24>>2]=t,0|(k=0|n[(b=a+16|0)>>2])&&(n[h+16>>2]=k,n[k+24>>2]=h),(k=0|n[b+4>>2])?(n[h+20>>2]=k,n[k+24>>2]=h,c=a,u=o,s=a):(c=a,u=o,s=a)}else c=a,u=o,s=a}}while(0);if(!(s>>>0>=r>>>0)&&1&(e=0|n[(i=r+4|0)>>2])){if(2&e)n[i>>2]=-2&e,n[c+4>>2]=1|u,n[s+u>>2]=u,Z=u;else{if((0|n[4518])==(0|r)){if(h=(0|n[4515])+u|0,n[4515]=h,n[4518]=c,n[c+4>>2]=1|h,(0|c)!=(0|n[4517]))return;return n[4517]=0,void(n[4514]=0)}if((0|n[4517])==(0|r))return h=(0|n[4514])+u|0,n[4514]=h,n[4517]=s,n[c+4>>2]=1|h,void(n[s+h>>2]=h);h=(-8&e)+u|0,p=e>>>3;do{if(e>>>0<256){if(w=0|n[r+8>>2],(0|(f=0|n[r+12>>2]))==(0|w)){n[4512]=n[4512]&~(1<<p);break}n[w+12>>2]=f,n[f+8>>2]=w;break}w=0|n[r+24>>2],f=0|n[r+12>>2];do{if((0|f)==(0|r)){if(b=0|n[(k=4+(A=r+16|0)|0)>>2])y=b,m=k;else{if(!(d=0|n[A>>2])){v=0;break}y=d,m=A}for(;;)if(0|(b=0|n[(k=y+20|0)>>2]))y=b,m=k;else{if(!(b=0|n[(k=y+16|0)>>2]))break;y=b,m=k}n[m>>2]=0,v=y}else k=0|n[r+8>>2],n[k+12>>2]=f,n[f+8>>2]=k,v=f}while(0);if(0|w){if(f=0|n[r+28>>2],(0|n[(a=18352+(f<<2)|0)>>2])==(0|r)){if(n[a>>2]=v,!v){n[4513]=n[4513]&~(1<<f);break}}else if(n[w+16+(((0|n[w+16>>2])!=(0|r)&1)<<2)>>2]=v,!v)break;n[v+24>>2]=w,0|(a=0|n[(f=r+16|0)>>2])&&(n[v+16>>2]=a,n[a+24>>2]=v),0|(a=0|n[f+4>>2])&&(n[v+20>>2]=a,n[a+24>>2]=v)}}while(0);if(n[c+4>>2]=1|h,n[s+h>>2]=h,(0|c)==(0|n[4517]))return void(n[4514]=h);Z=h}if(u=Z>>>3,Z>>>0<256)return s=18088+(u<<1<<2)|0,(e=0|n[4512])&(i=1<<u)?(R=0|n[(i=s+8|0)>>2],B=i):(n[4512]=e|i,R=s,B=s+8|0),n[B>>2]=c,n[R+12>>2]=c,n[c+8>>2]=R,void(n[c+12>>2]=s);E=(s=Z>>>8)?Z>>>0>16777215?31:Z>>>(7+(e=14-((s=(520192+(B=s<<(R=(s+1048320|0)>>>16&8))|0)>>>16&4)|R|(B=(245760+(i=B<<s)|0)>>>16&2))+(i<<B>>>15)|0)|0)&1|e<<1:0,e=18352+(E<<2)|0,n[c+28>>2]=E,n[c+20>>2]=0,n[c+16>>2]=0,B=0|n[4513],i=1<<E;do{if(B&i){for(R=Z<<(31==(0|E)?0:25-(E>>>1)|0),s=0|n[e>>2];;){if((-8&n[s+4>>2]|0)==(0|Z)){W=73;break}if(!(u=0|n[(V=s+16+(R>>>31<<2)|0)>>2])){W=72;break}R<<=1,s=u}if(72==(0|W)){n[V>>2]=c,n[c+24>>2]=s,n[c+12>>2]=c,n[c+8>>2]=c;break}if(73==(0|W)){w=0|n[(R=s+8|0)>>2],n[w+12>>2]=c,n[R>>2]=c,n[c+8>>2]=w,n[c+12>>2]=s,n[c+24>>2]=0;break}}else n[4513]=B|i,n[e>>2]=c,n[c+24>>2]=e,n[c+12>>2]=c,n[c+8>>2]=c}while(0);if(c=(0|n[4520])-1|0,n[4520]=c,!c){for(N=18504;c=0|n[N>>2];)N=c+8|0;n[4520]=-1}}}}function ee(e,r){e|=0;var i,f,t,a,o=0,b=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,F=0,U=0,Y=0,M=0,T=0;if(c=(b=(o=0|A[11+(r|=0)>>0])<<24>>24<0)?0|n[r>>2]:r,(i=b?0|n[r+4>>2]:255&o)>>>0>3){for(o=c,b=i,u=i;s=0|G(l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24,1540483477),b=(0|G(s>>>24^s,1540483477))^(0|G(b,1540483477)),!((u=u+-4|0)>>>0<=3);)o=o+4|0;k=(o=i+-4|0)-(u=-4&o)|0,_=c+(u+4)|0,h=b}else k=i,_=c,h=i;switch(0|k){case 3:p=l[_+2>>0]<<16^h,w=6;break;case 2:p=h,w=6;break;case 1:v=h,w=7;break;default:y=h}6==(0|w)&&(v=l[_+1>>0]<<8^p,w=7),7==(0|w)&&(y=0|G(v^l[_>>0],1540483477)),y=(_=0|G(y>>>13^y,1540483477))>>>15^_,p=0==(0|(v=0|n[(_=e+4|0)>>2]));e:do{if(p)Z=0;else if(m=(k=0==((h=v+-1|0)&v|0))?y&h:y>>>0<v>>>0?y:(y>>>0)%(v>>>0)|0,0!=(0|(b=0|n[(0|n[e>>2])+(m<<2)>>2]))&&0!=(0|(u=0|n[b>>2]))){if(b=0==(0|i),k){if(b){for(k=u;;){if(!((0|(o=0|n[k+4>>2]))==(0|y)|(o&h|0)==(0|m))){Z=m;break e}if(!(0|((o=0|A[k+8+11>>0])<<24>>24<0?0|n[k+12>>2]:255&o))){R=k;break}if(!(k=0|n[k>>2])){Z=m;break e}}return 0|R+20}B=u;r:for(;;){if(!((0|(k=0|n[B+4>>2]))==(0|y)|(k&h|0)==(0|m))){Z=m;break e}s=(o=0|A[11+(k=B+8|0)>>0])<<24>>24<0,E=255&o;do{if((0|(s?0|n[B+12>>2]:E))==(0|i)){if(o=0|n[k>>2],s){if(0|Wa(o,c,i))break;R=B,w=63;break r}if((0|A[c>>0])==(255&o)<<24>>24){o=k,W=E,V=c;do{if(o=o+1|0,!(W=W+-1|0)){R=B,w=63;break r}V=V+1|0}while((0|A[o>>0])==(0|A[V>>0]))}}}while(0);if(!(B=0|n[B>>2])){Z=m;break e}}if(63==(0|w))return 0|R+20}if(b){for(h=u;;){if((0|(E=0|n[h+4>>2]))!=(0|y)&&(0|(E>>>0<v>>>0?E:(E>>>0)%(v>>>0)|0))!=(0|m)){Z=m;break e}if(!(0|((E=0|A[h+8+11>>0])<<24>>24<0?0|n[h+12>>2]:255&E))){R=h;break}if(!(h=0|n[h>>2])){Z=m;break e}}return 0|R+20}F=u;r:for(;;){if((0|(h=0|n[F+4>>2]))!=(0|y)&&(0|(h>>>0<v>>>0?h:(h>>>0)%(v>>>0)|0))!=(0|m)){Z=m;break e}E=(b=0|A[11+(h=F+8|0)>>0])<<24>>24<0,k=255&b;do{if((0|(E?0|n[F+12>>2]:k))==(0|i)){if(b=0|n[h>>2],E){if(0|Wa(b,c,i))break;R=F,w=63;break r}if((0|A[c>>0])==(255&b)<<24>>24){b=h,s=k,V=c;do{if(b=b+1|0,!(s=s+-1|0)){R=F,w=63;break r}V=V+1|0}while((0|A[b>>0])==(0|A[V>>0]))}}}while(0);if(!(F=0|n[F>>2])){Z=m;break e}}if(63==(0|w))return 0|R+20}else Z=m}while(0);YA(8+(m=0|Uo(24))|0,r),n[m+20>>2]=0,n[m+4>>2]=y,n[m>>2]=0,f=g((1+(0|n[(r=e+12|0)>>2])|0)>>>0),t=g(v>>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>>2]=b+1,R=0|l[b>>0]):R=0|kA(e),48==(0|R))for(b=0,o=0;;){if((B=0|n[t>>2])>>>0<(0|n[a>>2])>>>0?(n[t>>2]=B+1,W=0|l[B>>0]):W=0|kA(e),B=0|Ho(0|b,0|o,-1,-1),V=E,48!=(0|W)){s=1,k=0,d=1,_=0,h=0,p=W,w=1,v=0,y=0,m=B,Z=V;break}b=B,o=V}else s=1,k=0,d=1,_=0,h=0,p=R,w=c,v=0,y=0,m=0,Z=0;for(;;){if(R=32|p,(c=p+-48|0)>>>0>=10){if(!((W=46==(0|p))|(R+-97|0)>>>0<6)){N=p;break}if(W){if(s){N=46;break}G=1,F=k,U=d,g=_,Y=h,M=w,T=y,I=v,j=y,C=v}else u=20}else u=20;if(20==(0|u)){u=0,W=(0|p)>57?R+-87|0:c;do{if(!((0|v)<0|0==(0|v)&y>>>0<8)){if((0|v)<0|0==(0|v)&y>>>0<14){X=k,J=Q=.0625*d,z=_+Q*+(0|W),O=h;break}X=(c=0!=(0|k)|0==(0|W))?k:1,J=d,z=c?_:_+.5*d,O=h;break}X=k,J=d,z=_,O=W+(h<<4)|0}while(0);G=s,F=X,U=J,g=z,Y=O,M=1,T=m,I=Z,j=W=0|Ho(0|y,0|v,1,0),C=E}(W=0|n[t>>2])>>>0<(0|n[a>>2])>>>0?(n[t>>2]=W+1,s=G,k=F,d=U,_=g,h=Y,p=0|l[W>>0],w=M,v=C,y=j,m=T,Z=I):(s=G,k=F,d=U,_=g,h=Y,p=0|kA(e),w=M,v=C,y=j,m=T,Z=I)}do{if(w){if(T=(I=0==(0|s))?y:m,j=I?v:Z,(0|v)<0|0==(0|v)&y>>>0<8)for(I=h,C=y,M=v;;){if(p=I<<4,Y=C,C=0|Ho(0|C,0|M,1,0),!((0|M)<0|0==(0|M)&Y>>>0<7)){H=p;break}I=p,M=E}else H=h;if(112==(32|N))if(0==(0|(M=0|yr(e,A)))&-2147483648==(0|(I=E))){if(!A){Zo(e,0),S=0;break}0|n[a>>2]?(n[t>>2]=(0|n[t>>2])-1,D=0,x=0):(D=0,x=0)}else D=M,x=I;else 0|n[a>>2]?(n[t>>2]=(0|n[t>>2])-1,D=0,x=0):(D=0,x=0);if(M=0|Ho(0|(I=0|So(0|T,0|j,2)),0|E,-32,-1),I=0|Ho(0|M,0|E,0|D,0|x),M=E,!H){S=0*+(0|f);break}if((0|M)>(0|(p=((0|(C=0-i|0))<0)<<31>>31))|(0|M)==(0|p)&I>>>0>C>>>0){n[(C=18544)>>2]=34,S=17976931348623157e292*+(0|f)*17976931348623157e292;break}if((0|M)<(0|(p=((0|(C=i+-106|0))<0)<<31>>31))|(0|M)==(0|p)&I>>>0<C>>>0){n[(C=18544)>>2]=34,S=22250738585072014e-324*+(0|f)*22250738585072014e-324;break}if((0|H)>-1)for(g=_,C=H,p=I,Y=M;;){if(k=C<<1|1&(1^(F=!(g>=.5))),U=g+(F?g:g+-1),F=0|Ho(0|p,0|Y,-1,-1),G=E,!((0|k)>-1)){P=U,L=k,K=F,q=G;break}g=U,C=k,p=F,Y=G}else P=_,L=H,K=I,q=M;Y=((0|r)<0)<<31>>31,C=0|Ho(0|(p=0|Do(32,0,0|i,((0|i)<0)<<31>>31|0)),0|E,0|K,0|q),(0|(p=E))<(0|Y)|(0|p)==(0|Y)&C>>>0<r>>>0?(0|C)>0?($=C,u=59):(ee=0,re=84,u=61):($=r,u=59),59==(0|u)&&((0|$)<53?(ee=$,re=84-$|0,u=61):(ie=0,fe=$,Ae=+(0|f))),61==(0|u)&&(g=+(0|f),ie=+rb(+na(1,re),g),fe=ee,Ae=g),0==(g=((C=0==(1&L|0)&0!=P&(0|fe)<32)?0:P)*Ae+(ie+Ae*+((L+(1&C)|0)>>>0))-ie)&&(n[(C=18544)>>2]=34),S=+ib(g,K)}else(I=0==(0|n[a>>2]))||(n[t>>2]=(0|n[t>>2])-1),A?(I||(n[t>>2]=(0|n[t>>2])-1),0==(0|s)|I||(n[t>>2]=(0|n[t>>2])-1)):Zo(e,0),S=0*+(0|f)}while(0);return+S}function ie(e,r,i,f){r|=0,f|=0;var t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0;if(t=y,y=y+16|0,a=t+4|0,o=t,!(0|function(e,r){e|=0;var i,f,t=0,a=0,o=0,b=0;return i=y,y=y+16|0,f=i,(r|=0)?(a=0|n[(t=e+84|0)>>2],(0|(b=0|n[(o=e+88|0)>>2]))!=(0|a)&&(n[o>>2]=b+(~((b+-4-a|0)>>>2)<<2)),n[t>>2]=0,n[o>>2]=0,n[e+92>>2]=0,0|a&&_b(a),o=0|n[(a=e+72|0)>>2],(0|n[(t=e+76|0)>>2])!=(0|o)&&(n[t>>2]=o),n[a>>2]=0,n[t>>2]=0,n[e+80>>2]=0,0|o&&_b(o),t=(0|n[(o=r+4|0)>>2])-(0|n[r>>2])>>2,A[f>>0]=0,rf(e,t,f),t=r+24|0,b=(0|n[(a=r+28|0)>>2])-(0|n[t>>2])>>2,A[f>>0]=0,rf(e+12|0,b,f),di(e+28|0,(0|n[o>>2])-(0|n[r>>2])>>2,5868),la(e+52|0,(0|n[a>>2])-(0|n[t>>2])>>2),la(e+40|0,(0|n[a>>2])-(0|n[t>>2])>>2),n[e+64>>2]=r,A[e+24>>0]=1,y=i,0|1):(y=i,0)}(e|=0,i|=0)))return y=t,0;if(b=0|n[(i=e+84|0)>>2],(0|(c=0|n[(l=e+88|0)>>2]))!=(0|b)&&(n[l>>2]=c+(~((c+-4-b|0)>>>2)<<2)),n[i>>2]=0,n[l>>2]=0,n[e+92>>2]=0,0|b&&_b(b),l=0|n[(b=e+72|0)>>2],(0|n[(i=e+76|0)>>2])!=(0|l)&&(n[i>>2]=l),n[b>>2]=0,n[i>>2]=0,n[e+80>>2]=0,0|l&&_b(l),i=0|n[(l=e+64|0)>>2],(0|n[i+4>>2])!=(0|n[i>>2])){b=e+12|0,c=f+84|0,u=f+68|0,s=r+96|0,k=e+24|0,d=0,_=i;do{n[o>>2]=(d>>>0)/3|0,n[a>>2]=n[o>>2],i=0|Aa(_,a),_=0|n[l>>2];do{if(!i){if(-1==(0|(h=0|n[(0|n[_+12>>2])+(d<<2)>>2]))){p=(0|n[e>>2])+(d>>>5<<2)|0,n[p>>2]=n[p>>2]|1<<(31&d),v=-1==(0|(w=0==(0|((p=d+1|0)>>>0)%3)?d+-2|0:p))?-1:0|n[(0|n[_>>2])+(w<<2)>>2],w=(0|n[b>>2])+(v>>>5<<2)|0,n[w>>2]=n[w>>2]|1<<(31&v),m=-1==(0|(w=(0==(0|(d>>>0)%3)?2:-1)+d|0))?-1:0|n[(0|n[_>>2])+(w<<2)>>2],w=(0|n[b>>2])+(m>>>5<<2)|0,n[w>>2]=n[w>>2]|1<<(31&m);break}if(h>>>0>=d>>>0){if(Z=h+(0==(0|(h>>>0)%3)?2:-1)|0,R=-1==(0|(p=0==(0|((w=d+1|0)>>>0)%3)?d+-2|0:w)),0|A[c>>0]){if((0|(R?-1:0|n[(0|n[s>>2])+(12*((0|p)/3|0)|0)+(((0|p)%3|0)<<2)>>2]))==(0|((E=-1==(0|Z))?-1:0|n[(0|n[s>>2])+(12*((0|Z)/3|0)|0)+(((0|Z)%3|0)<<2)>>2]))){N=p+1|0,Y=R?-1:0==(0|(N>>>0)%3)?p+-2|0:N;do{if(!E){if((Z>>>0)%3|0){M=Z+-1|0;break}M=Z+2|0;break}M=-1}while(0);if((0|(-1==(0|Y)?-1:0|n[(0|n[s>>2])+(12*((0|Y)/3|0)|0)+(((0|Y)%3|0)<<2)>>2]))==(0|(-1==(0|M)?-1:0|n[(0|n[s>>2])+(12*((0|M)/3|0)|0)+(((0|M)%3|0)<<2)>>2])))break}}else if(B=R?-1:0|n[(0|n[s>>2])+(12*((0|p)/3|0)|0)+(((0|p)%3|0)<<2)>>2],W=(E=-1==(0|Z))?-1:0|n[(0|n[s>>2])+(12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[a>>2]=-1,N=U;break}n[a>>2]=-1,N=w}else N=w}while(0);n[(0|n[d>>2])+(N<<2)>>2]=v,(0|(w=0|n[h>>2]))==(0|n[p>>2])?sA(_,t):(n[w>>2]=n[t>>2],n[h>>2]=w+4),w=0|n[b>>2],W=0|n[t>>2];e:do{if(-1!=(0|W)&&(G=(0==(0|(W>>>0)%3)?2:-1)+W|0,-1!=(0|G))&&(F=0|n[(0|n[w+12>>2])+(G<<2)>>2],-1!=(0|F)))if(G=F+(0==(0|(F>>>0)%3)?2:-1)|0,n[a>>2]=G,-1!=(0|G)&(0|G)!=(0|W)){for(F=E,g=v,Y=G;;){M=0==(0|((G=Y+1|0)>>>0)%3)?Y+-2|0:G;do{if(n[(0|n[e>>2])+(M>>>5<<2)>>2]&1<<(31&M)){if(G=F+1|0,T=0|n[(0|n[l>>2])+(12*((0|Y)/3|0)|0)+(((0|Y)%3|0)<<2)>>2],I=0|A[c>>0]?T:0|n[(0|n[u>>2])+(T<<2)>>2],n[o>>2]=I,(T=0|n[i>>2])>>>0<(0|n[s>>2])>>>0?(n[T>>2]=I,n[i>>2]=T+4):sA(r,o),(0|(T=0|n[h>>2]))==(0|n[p>>2])){sA(_,a),j=G,C=F;break}n[T>>2]=n[a>>2],n[h>>2]=T+4,j=G,C=F;break}j=F,C=g}while(0);if(n[(0|n[d>>2])+(n[a>>2]<<2)>>2]=C,Q=0|n[b>>2],-1==(0|(M=0|n[a>>2])))break;if(-1==(0|(G=(0==(0|(M>>>0)%3)?2:-1)+M|0)))break;if(-1==(0|(M=0|n[(0|n[Q+12>>2])+(G<<2)>>2])))break;if(Y=M+(0==(0|(M>>>0)%3)?2:-1)|0,n[a>>2]=Y,-1==(0|Y)||(0|Y)==(0|n[t>>2])){X=j,J=Q;break e}F=j,g=C}n[a>>2]=-1,X=j,J=Q}else X=E,J=w;else z=28}while(0);28==(0|z)&&(z=0,n[a>>2]=-1,X=E,J=w),R=X,B=J}if((m=m+1|0)>>>0>=(0|n[B+28>>2])-(0|n[B+24>>2])>>2>>>0)break;v=R,Z=B}y=f}else y=f}(e,r,f),y=t,1):(function(e,r,i){r|=0,i|=0;var f,A,t,a,o,b,l,c,u,s,k,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0;if(i=y,y=y+16|0,r=i+8|0,f=i+4|0,A=i,d=0|n[(t=(e|=0)+64|0)>>2],(0|n[d+28>>2])!=(0|n[d+24>>2])){for(a=e+52|0,o=e+56|0,b=e+60|0,l=e+12|0,c=e+28|0,u=e+40|0,s=e+44|0,k=e+48|0,_=0,h=0,p=d;;){if(-1==(0|(d=0|n[(0|n[p+24>>2])+(h<<2)>>2])))w=_,v=p;else{m=_+1|0,n[r>>2]=_,(0|(Z=0|n[o>>2]))==(0|n[b>>2])?sA(a,r):(n[Z>>2]=_,n[o>>2]=Z+4),n[f>>2]=d,n[A>>2]=0;e:do{if(n[(0|n[l>>2])+(h>>>5<<2)>>2]&1<<(31&h)){if(-1!=(0|(B=0==(0|((Z=d+1|0)>>>0)%3)?d+-2|0:Z))&&0==(n[(0|n[e>>2])+(B>>>5<<2)>>2]&1<<(31&B)|0)&&(B=1+(Z=0|n[(0|n[12+(0|n[t>>2])>>2])+(B<<2)>>2])|0,-1!=(0|Z))){if(E=0==(0|(B>>>0)%3)?Z+-2|0:B,n[A>>2]=E,-1==(0|E)){R=d;break}for(W=E;n[f>>2]=W,!(-1==(0|(B=0==(0|((E=W+1|0)>>>0)%3)?W+-2|0:E))||n[(0|n[e>>2])+(B>>>5<<2)>>2]&1<<(31&B)|0||(B=1+(E=0|n[(0|n[12+(0|n[t>>2])>>2])+(B<<2)>>2])|0,-1==(0|E)));){if(Z=0==(0|(B>>>0)%3)?E+-2|0:B,n[A>>2]=Z,-1==(0|Z)){R=W;break e}W=Z}n[A>>2]=-1,R=W;break}n[A>>2]=-1,R=d}else R=d}while(0);n[(0|n[c>>2])+(R<<2)>>2]=n[r>>2],(0|(d=0|n[s>>2]))==(0|n[k>>2])?sA(u,f):(n[d>>2]=n[f>>2],n[s>>2]=d+4),d=0|n[t>>2],Z=0|n[f>>2];e:do{if(-1!=(0|Z)&&(B=(0==(0|(Z>>>0)%3)?2:-1)+Z|0,-1!=(0|B))&&(E=0|n[(0|n[d+12>>2])+(B<<2)>>2],-1!=(0|E)))if(B=E+(0==(0|(E>>>0)%3)?2:-1)|0,n[A>>2]=B,-1!=(0|B)&(0|B)!=(0|Z)){for(E=m,V=B;;){N=0==(0|((B=V+1|0)>>>0)%3)?V+-2|0:B;do{if(n[(0|n[e>>2])+(N>>>5<<2)>>2]&1<<(31&N)){if(B=E+1|0,n[r>>2]=E,(0|(G=0|n[o>>2]))==(0|n[b>>2])?sA(a,r):(n[G>>2]=E,n[o>>2]=G+4),(0|(G=0|n[s>>2]))==(0|n[k>>2])){sA(u,A),F=B;break}n[G>>2]=n[A>>2],n[s>>2]=G+4,F=B;break}F=E}while(0);if(n[(0|n[c>>2])+(n[A>>2]<<2)>>2]=n[r>>2],U=0|n[t>>2],-1==(0|(N=0|n[A>>2])))break;if(-1==(0|(B=(0==(0|(N>>>0)%3)?2:-1)+N|0)))break;if(-1==(0|(N=0|n[(0|n[U+12>>2])+(B<<2)>>2])))break;if(V=N+(0==(0|(N>>>0)%3)?2:-1)|0,n[A>>2]=V,-1==(0|V)||(0|V)==(0|n[f>>2])){g=F,Y=U;break e}E=F}n[A>>2]=-1,g=F,Y=U}else g=m,Y=d;else M=26}while(0);26==(0|M)&&(M=0,n[A>>2]=-1,g=m,Y=d),w=g,v=Y}if((h=h+1|0)>>>0>=(0|n[v+28>>2])-(0|n[v+24>>2])>>2>>>0)break;_=w,p=v}y=i}else y=i}(e,0,0),y=t,1)}function fe(e,r,i,f,t){e|=0,f|=0,t|=0;var a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,g=0,Y=0,M=0;if(a=y,y=y+48|0,o=a+28|0,b=a+24|0,s=a+12|0,l=a+40|0,(0|(r|=0))<0)return y=a,0;if(!r)return y=a,1;if(c=(k=(0|(i|=0))>1)?i:1,n[(u=a)>>2]=0,n[(i=u+4|0)>>2]=0,n[u+8>>2]=0,la(u,r),d=u+8|0,k)for(k=0,_=0;;){h=1,p=0|n[e+(_<<2)>>2];do{p=p>>>0<(w=0|n[e+(h+_<<2)>>2])>>>0?w:p,h=h+1|0}while((0|h)!=(0|c));if(h=31^(0|U(0|p)),w=p>>>0>k>>>0?p:k,v=0==(0|p)?1:h+1|0,n[o>>2]=v,(h=0|n[i>>2])>>>0<(0|n[d>>2])>>>0?(n[h>>2]=v,n[i>>2]=h+4):sA(u,o),(0|(_=_+c|0))>=(0|r)){m=w;break}k=w}else for(k=0,_=0;;){if(w=0|n[e+(k<<2)>>2],h=31^(0|U(0|w)),v=w>>>0>_>>>0?w:_,Z=0==(0|w)?1:h+1|0,n[o>>2]=Z,(h=0|n[i>>2])>>>0<(0|n[d>>2])>>>0?(n[h>>2]=Z,n[i>>2]=h+4):sA(u,o),(0|(k=k+c|0))>=(0|r)){m=v;break}_=v}if(n[s>>2]=0,n[(_=s+4|0)>>2]=0,n[s+8>>2]=0,k=0|n[u>>2],v=(d=(0|n[i>>2])-k|0)>>2)if(v>>>0>1073741823&&On(),h=0|Uo(d),n[_>>2]=h,n[s>>2]=h,n[s+8>>2]=h+(v<<2),v=h,(0|d)>0)if(Z=h+(d>>>2<<2)|0,qi(0|h,0|k,0|d),n[_>>2]=Z,d=Z-v>>2,(0|Z)==(0|h))R=d,B=h,W=0,V=0;else for(Z=0,k=0,w=0;;){if(N=0|Ho(0|k,0|w,0|n[h+(Z<<2)>>2],0),G=E,(Z=Z+1|0)>>>0>=d>>>0){R=d,B=h,W=N,V=G;break}k=N,w=G}else F=v,g=18;else F=0,g=18;if(18==(0|g)&&(R=0,B=F,W=0,V=0),F=0|Yi(B,R,32,o),R=E,v=0|So(0|(B=n[o>>2]<<3),((0|B)<0)<<31>>31|0,1),B=E,V=0|Ho(0|F,0|R,0|(w=0|To(0|W,0|V,0|c,0)),0|E),w=0|Ho(0|V,0|E,0|v,0|B),B=E,0|(v=0|n[s>>2])&&((0|(s=0|n[_>>2]))!=(0|v)&&(n[_>>2]=s+(~((s+-4-v|0)>>>2)<<2)),_b(v)),v=0|Yi(e,r,m,o),_=((m-(s=0|n[o>>2])|0)/64|0)+s<<3,R=0|Ho(0|v,0|E,0|(V=s<<3),((0|V)<0)<<31>>31|0),V=0|Ho(0|R,0|E,0|_,((0|_)<0)<<31>>31|0),_=E,R=30^(0|U(0|(m>>>0>1?m:1))),f){n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,v=0|Uo(32),n[o>>2]=v,n[o+8>>2]=-2147483616,n[o+4>>2]=22,W=13044,k=(F=v)+22|0;do{A[F>>0]=0|A[W>>0],F=F+1|0,W=W+1|0}while((0|F)<(0|k));if(A[v+22>>0]=0,v=0==(0|hf(f,o)),(0|A[o+11>>0])<0&&_b(0|n[o>>2]),v)g=32;else{n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,v=0|Uo(32),n[o>>2]=v,n[o+8>>2]=-2147483616,n[o+4>>2]=22,W=13044,k=(F=v)+22|0;do{A[F>>0]=0|A[W>>0],F=F+1|0,W=W+1|0}while((0|F)<(0|k));A[v+22>>0]=0,v=0|Ra(f,o),(0|A[o+11>>0])<0&&_b(0|n[o>>2]),Y=v}}else g=32;switch(32==(0|g)&&(Y=R>>>0<18&((0|B)>(0|_)|(0|B)==(0|_)&w>>>0>=V>>>0)&1),A[l>>0]=Y,(0|(w=0|n[4+(V=t+16|0)>>2]))>0|0==(0|w)&(0|n[V>>2])>>>0>0||(n[b>>2]=n[t+4>>2],n[o>>2]=n[b>>2],hr(t,o,l,l+1|0)),0|Y){case 0:M=0|Fe(e,r,c,u,t);break;case 1:M=0|function(e,r,i,f,t,a){e|=0,r|=0,i|=0,t|=0,a|=0;var o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0;if(o=y,y=y+32|0,b=o+4|0,l=o,c=o+16|0,u=31^(0|U(0|(f|=0))),(0|f)>0){if(u>>>0>17)return y=o,0;k=u+1|0}else k=1;do{if(t){u=0|Uo(48),n[b>>2]=u,n[b+8>>2]=-2147483600,n[b+4>>2]=33,d=13067,_=(f=u)+33|0;do{A[f>>0]=0|A[d>>0],f=f+1|0,d=d+1|0}while((0|f)<(0|_));if(A[u+33>>0]=0,h=0==(0|hf(t,b)),(0|A[b+11>>0])<0&&_b(0|n[b>>2]),!h){h=0|Uo(48),n[b>>2]=h,n[b+8>>2]=-2147483600,n[b+4>>2]=33,d=13067,_=(f=h)+33|0;do{A[f>>0]=0|A[d>>0],f=f+1|0,d=d+1|0}while((0|f)<(0|_));if(A[h+33>>0]=0,d=0|Ra(t,b),(0|A[b+11>>0])<0&&_b(0|n[b>>2]),(0|d)<4){p=k+-2|0;break}if((0|d)<6){p=k+-1|0;break}if((0|d)>9){p=k+2|0;break}p=k+((0|d)>7&1)|0;break}p=k}else p=k}while(0);switch(p=(0|(k=(0|p)>1?p:1))<18?k:18,A[c>>0]=p,(0|(t=0|n[(k=a+16|0)+4>>2]))>0|0==(0|t)&(0|n[k>>2])>>>0>0||(n[l>>2]=n[a+4>>2],n[b>>2]=n[l>>2],hr(a,b,c,c+1|0)),31&p){case 1:case 0:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(Be(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 2:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(Re(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 3:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(Ze(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 4:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(me(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 5:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ye(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 6:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ve(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 7:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(we(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 8:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(pe(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=16384,i){i=r,r=16384;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<12)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return li(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 9:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(he(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=32768,i){i=r,r=32768;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<13)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return function(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=(e|=0)+40|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])+-32768|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-16384|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+8355840|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1073774592|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 10:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(_e(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=131072,i){i=r,r=131072;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<15)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return function(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=(e|=0)+40|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])+-131072|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-114688|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+8257536|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1073872896|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 11:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(de(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=262144,i){i=r,r=262144;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<16)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return function(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=(e|=0)+40|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])+-262144|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-245760|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+8126464|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1074003968|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 12:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ke(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=1048576,i){i=r,r=1048576;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<18)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return function(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=(e|=0)+40|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])+-1048576|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1032192|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+7340032|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1074790400|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 13:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(se(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=2097152,i){i=r,r=2097152;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<19)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return function(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=(e|=0)+40|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])+-2097152|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-2080768|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+6291456|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1075838976|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 14:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ue(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=4194304,i){i=r,r=4194304;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<20)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return fi(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 15:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ce(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=4194304,i){i=r,r=4194304;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<20)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return fi(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 16:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(le(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=4194304,i){i=r,r=4194304;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<20)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return fi(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 17:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(be(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=4194304,i){i=r,r=4194304;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<20)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return fi(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;case 18:return s=0|function(e,r,i,f){e|=0,r|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;t=y,y=y+64|0,b=t,l=1+(i|=0)|0,n[(o=t+48|0)>>2]=0,n[(a=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l){if(!(l>>>0>536870911)){c=0|Uo(l<<3),n[o>>2]=c,u=c+(l<<3)|0,n[o+8>>2]=u,IA(0|c,0,8+(i<<3)|0),n[a>>2]=u,s=c,k=u;break}On()}else s=0,k=0}while(0);if(i=(0|r)>0){l=0;do{u=s+(n[e+(l<<2)>>2]<<3)|0,d=0|Ho(0|n[(c=u)>>2],0|n[c+4>>2],1,0),n[(c=u)>>2]=d,n[c+4>>2]=E,l=l+1|0}while((0|l)!=(0|r))}n[(c=l=b+40|0)>>2]=0,n[c+4>>2]=0,d=(c=b)+36|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|d));if(ne(b,s,k-s>>3,f),k=0|So(0|n[(s=b+16|0)>>2],0|n[s+4>>2],1),s=(0|n[f+4>>2])-(0|n[f>>2])|0,n[(c=l)>>2]=s,n[c+4>>2]=0,c=0|Ho(0|k,0|E,39,0),c=0|Ho(0|(k=0|xo(0|c,0|E,3)),0|E,8,0),xa(f,k=0|Ho(0|c,0|E,0|s,0),E),n[(k=b+24|0)>>2]=(0|n[f>>2])+(0|n[l>>2]),n[(l=b+28|0)>>2]=0,n[(s=b+32|0)>>2]=4194304,i){i=r,r=4194304;do{if(c=i,d=0|n[e+((i=i+-1|0)<<2)>>2],u=0|n[b>>2],r>>>0<(h=(_=0|n[u+(d<<3)>>2])<<10)>>>0)p=r;else for(w=r;;){if(v=0|n[k>>2],m=0|n[l>>2],n[l>>2]=m+1,A[v+m>>0]=w,m=(0|n[s>>2])>>>8,n[s>>2]=m,m>>>0<h>>>0){p=m;break}w=m}r=(((p>>>0)/(_>>>0)|0)<<20)+((p>>>0)%(_>>>0)|0)+(0|n[u+(d<<3)+4>>2])|0,n[s>>2]=r}while((0|c)>1)}return fi(b,f),0|(f=0|n[b>>2])&&((0|(b=0|n[(r=b+4|0)>>2]))!=(0|f)&&(n[r>>2]=b+(~((b+-8-f|0)>>>3)<<3)),_b(f)),(f=0|n[o>>2])?((0|(o=0|n[a>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-8-f|0)>>>3)<<3)),_b(f),y=t,1):(y=t,1)}(e,r,i,a),y=o,0|s;default:return y=o,0}return 0}(e,r,m,s,f,t);break;default:M=0}return 0|(t=0|n[u>>2])&&((0|(u=0|n[i>>2]))!=(0|t)&&(n[i>>2]=u+(~((u+-4-t|0)>>>2)<<2)),_b(t)),y=a,0|M}function Ae(e,r){e|=0;var i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0;if(!((0|(r|=0))<0||(f=0|n[(i=e+12|0)>>2],t=A=0|n[e+8>>2],a=f,f-A>>2>>>0<=r>>>0))){if(f=0|n[56+(0|n[(A=t+(r<<2)|0)>>2])>>2],o=0|n[60+(0|n[t+(r<<2)>>2])>>2],(0|(t=A+4|0))!=(0|a)){b=t,t=A;do{l=0|n[b>>2],n[b>>2]=0,c=0|n[t>>2],n[t>>2]=l,0|c&&(u=0|n[(l=c+88|0)>>2],n[l>>2]=0,0|u&&(0|(l=0|n[u+8>>2])&&((0|n[(s=u+12|0)>>2])!=(0|l)&&(n[s>>2]=l),_b(l)),_b(u)),0|(u=0|n[c+68>>2])&&((0|(s=0|n[(l=c+72|0)>>2]))!=(0|u)&&(n[l>>2]=s+(~((s+-4-u|0)>>>2)<<2)),_b(u)),s=0|n[(u=c+64|0)>>2],n[u>>2]=0,0|s&&(0|(u=0|n[s>>2])&&((0|n[(l=s+4|0)>>2])!=(0|u)&&(n[l>>2]=u),_b(u)),_b(s)),_b(c)),b=b+4|0,t=t+4|0}while((0|b)!=(0|a));(0|(b=0|n[i>>2]))!=(0|t)&&(k=t,d=b,_=24)}else k=A,d=a,_=24;if(24==(0|_)){_=d;do{d=_+-4|0,n[i>>2]=d,a=0|n[d>>2],n[d>>2]=0,0|a&&(A=0|n[(d=a+88|0)>>2],n[d>>2]=0,0|A&&(0|(d=0|n[A+8>>2])&&((0|n[(b=A+12|0)>>2])!=(0|d)&&(n[b>>2]=d),_b(d)),_b(A)),0|(A=0|n[a+68>>2])&&((0|(b=0|n[(d=a+72|0)>>2]))!=(0|A)&&(n[d>>2]=b+(~((b+-4-A|0)>>>2)<<2)),_b(A)),b=0|n[(A=a+64|0)>>2],n[A>>2]=0,0|b&&(0|(A=0|n[b>>2])&&((0|n[(d=b+4|0)>>2])!=(0|A)&&(n[d>>2]=A),_b(A)),_b(b)),_b(a)),_=0|n[i>>2]}while((0|_)!=(0|k))}k=0|n[e+4>>2];e:do{if(0|k){for(i=0|n[(_=k+44|0)>>2],a=0|n[k+40>>2];;){if((0|a)==(0|i))break e;if(h=a+4|0,(0|n[40+(0|n[a>>2])>>2])==(0|o))break;a=h}if((0|h)!=(0|i)){b=h,A=a;do{d=0|n[b>>2],n[b>>2]=0,t=0|n[A>>2],n[A>>2]=d,0|t&&(RA(t),_b(t)),b=b+4|0,A=A+4|0}while((0|b)!=(0|i));if((0|(b=0|n[_>>2]))==(0|A))break;p=A,w=b}else p=a,w=i;b=w;do{t=b+-4|0,n[_>>2]=t,d=0|n[t>>2],n[t>>2]=0,0|d&&(RA(d),_b(d)),b=0|n[_>>2]}while((0|b)!=(0|p))}}while(0);e:do{if((0|f)<5){p=0|n[e+20+(12*f|0)>>2],o=h=0|n[(w=e+20+(12*f|0)+4|0)>>2];r:do{if((0|p)==(0|h))v=p;else for(k=p;;){if((0|n[k>>2])==(0|r)){v=k;break r}if((0|(k=k+4|0))==(0|h))break e}}while(0);(0|v)!=(0|h)&&((b=(k=o-(p=v+4|0)|0)>>2)?(no(0|v,0|p,0|k),y=0|n[w>>2]):y=h,(0|y)!=(0|(k=v+(b<<2)|0))&&(n[w>>2]=y+(~((y+-4-k|0)>>>2)<<2)))}}while(0);if(y=0|n[e+24>>2],f=v=0|n[e+20>>2],(0|y)!=(0|v)){k=y-v>>2,v=0;do{(0|(b=0|n[(y=f+(v<<2)|0)>>2]))>(0|r)&&(n[y>>2]=b+-1),v=v+1|0}while(v>>>0<k>>>0)}if(k=0|n[e+36>>2],f=v=0|n[e+32>>2],(0|k)!=(0|v)){b=k-v>>2,v=0;do{(0|(y=0|n[(k=f+(v<<2)|0)>>2]))>(0|r)&&(n[k>>2]=y+-1),v=v+1|0}while(v>>>0<b>>>0)}if(b=0|n[e+48>>2],f=v=0|n[e+44>>2],(0|b)!=(0|v)){y=b-v>>2,v=0;do{(0|(k=0|n[(b=f+(v<<2)|0)>>2]))>(0|r)&&(n[b>>2]=k+-1),v=v+1|0}while(v>>>0<y>>>0)}if(y=0|n[e+60>>2],f=v=0|n[e+56>>2],(0|y)!=(0|v)){k=y-v>>2,v=0;do{(0|(b=0|n[(y=f+(v<<2)|0)>>2]))>(0|r)&&(n[y>>2]=b+-1),v=v+1|0}while(v>>>0<k>>>0)}if(k=0|n[e+72>>2],e=v=0|n[e+68>>2],(0|k)!=(0|v)){f=k-v>>2,v=0;do{(0|(b=0|n[(k=e+(v<<2)|0)>>2]))>(0|r)&&(n[k>>2]=b+-1),v=v+1|0}while(v>>>0<f>>>0)}}}function te(e,r,i){r|=0,i|=0;var f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0;f=8+(e|=0)|0;e:do{if(0|n[f>>2]&&(t=0|n[e>>2],a=e+4|0,n[e>>2]=a,n[8+(0|n[a>>2])>>2]=0,n[a>>2]=0,n[f>>2]=0,o=0|n[t+4>>2],b=0==(0|o)?t:o,0|b)){for(o=e+4|0,t=b,b=0|n[r>>2];(0|b)!=(0|n[i>>2]);){ao(l=t+16|0,b+16|0),ao(t+28|0,b+28|0),u=0|n[(c=t+8|0)>>2];do{if(u){if((0|(s=0|n[u>>2]))==(0|t)){if(n[u>>2]=0,!(k=0|n[u+4>>2])){d=u;break}for(_=k;;)if(0|(k=0|n[_>>2]))_=k;else{if(!(k=0|n[_+4>>2]))break;_=k}d=_;break}if(n[u+4>>2]=0,!s){d=u;break}for(h=s;;)if(0|(k=0|n[h>>2]))h=k;else{if(!(k=0|n[h+4>>2]))break;h=k}d=h;break}d=0}while(0);u=0|n[a>>2];do{if(u){for(p=(k=(s=0|A[l+11>>0])<<24>>24<0)?0|n[t+20>>2]:255&s,s=k?0|n[l>>2]:l,k=u;;){if(22==(0|(R=0!=(0|(v=(m=(y=(v=0|A[11+(w=k+16|0)>>0])<<24>>24<0)?0|n[k+20>>2]:255&v)>>>0<p>>>0?m:p))&&0!=(0|(Z=0|Wa(s,y?0|n[w>>2]:w,v)))?(0|Z)<0?22:24:p>>>0<m>>>0?22:24))){if(R=0,!(m=0|n[k>>2])){R=23;break}B=m}else if(24==(0|R)){if(R=0,!(m=0|n[(E=k+4|0)>>2])){R=26;break}B=m}k=B}if(23==(0|R)){R=0,W=k,V=k;break}if(26==(0|R)){R=0,W=E,V=k;break}}else W=a,V=a}while(0);if(n[t>>2]=0,n[t+4>>2]=0,n[c>>2]=V,n[W>>2]=t,(u=0|n[n[e>>2]>>2])?(n[e>>2]=u,N=0|n[W>>2]):N=t,pr(0|n[o>>2],N),n[f>>2]=1+(0|n[f>>2]),u=0|n[b+4>>2]){for(p=u;c=0|n[p>>2];)p=c;G=p}else if(p=0|n[(l=b+8|0)>>2],(0|n[p>>2])==(0|b))G=p;else{p=l;do{l=0|n[p>>2],s=0|n[(p=l+8|0)>>2]}while((0|n[s>>2])!=(0|l));G=s}if(n[r>>2]=G,!d)break e;t=d,b=G}if(b=0|n[t+8>>2]){for(o=b;b=0|n[o+8>>2];)o=b;F=o}else F=t;zA(e,F)}}while(0);if((0|(F=0|n[r>>2]))!=(0|(G=0|n[i>>2])))for(U=F;;){if(Ur(e,U+16|0),F=0|n[U+4>>2]){for(d=F;o=0|n[d>>2];)d=o;g=d}else if(d=0|n[(i=U+8|0)>>2],(0|n[d>>2])==(0|U))g=d;else{d=i;do{i=0|n[d>>2],f=0|n[(d=i+8|0)>>2]}while((0|n[f>>2])!=(0|i));g=f}if(n[r>>2]=g,(0|g)==(0|G))break;U=g}}function ae(e){var r,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(r=y,y=y+32|0,i=r+4|0,f=r,(t=0|n[(A=16+(e|=0)|0)>>2])>>>0>112){n[A>>2]=t+-113,A=0|n[(t=e+4|0)>>2],a=0|n[A>>2],o=A+4|0,n[t>>2]=o,b=0|n[(A=e+8|0)>>2],u=c=0|n[(l=e+12|0)>>2];do{if((0|b)==(0|c)){if(k=s=0|n[e>>2],o>>>0>s>>>0){h=o+((_=(1+((d=o)-k>>2)|0)/-2|0)<<2)|0,(d=(p=b-d|0)>>2)?(no(0|h,0|o,0|p),w=0|n[t>>2]):w=o,p=h+(d<<2)|0,n[A>>2]=p,n[t>>2]=w+(_<<2),v=p;break}if((k=0==(0|(p=u-k>>1))?1:p)>>>0>1073741823&&(_n(p=0|j(8),14941),n[p>>2]=6944,Q(0|p,1080,114)),_=p=0|Uo(k<<2),h=d=p+(k>>>2<<2)|0,m=p+(k<<2)|0,(0|o)==(0|b))Z=h,R=s;else{s=d,d=h,k=o;do{n[s>>2]=n[k>>2],d=s=d+4|0,k=k+4|0}while((0|k)!=(0|b));Z=d,R=0|n[e>>2]}n[e>>2]=_,n[t>>2]=h,n[A>>2]=Z,n[l>>2]=m,R?(_b(R),v=0|n[A>>2]):v=Z}else v=b}while(0);return n[v>>2]=a,n[A>>2]=4+(0|n[A>>2]),void(y=r)}if((b=(a=0|n[(A=e+8|0)>>2])-(0|n[(v=e+4|0)>>2])|0)>>>0>=(l=(Z=0|n[(R=e+12|0)>>2])-(0|n[e>>2])|0)>>>0){for(l=0==(0|(t=l>>1))?1:t,n[i+12>>2]=0,n[i+16>>2]=e+12,l>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(l<<2),n[i>>2]=t,o=t+(b>>2<<2)|0,n[(b=i+8|0)>>2]=o,n[(u=i+4|0)>>2]=o,n[(o=i+12|0)>>2]=t+(l<<2),l=0|Uo(4068),n[f>>2]=l,Ni(i,f),f=0|n[A>>2];(0|f)!=(0|(B=0|n[v>>2]));)Bi(i,l=f+-4|0),f=l;return l=B,B=0|n[e>>2],n[e>>2]=n[i>>2],n[i>>2]=B,n[v>>2]=n[u>>2],n[u>>2]=l,u=0|n[A>>2],n[A>>2]=n[b>>2],n[b>>2]=u,t=0|n[R>>2],n[R>>2]=n[o>>2],n[o>>2]=t,(0|f)!=(0|(t=u))&&(n[b>>2]=t+(~((t+-4-l|0)>>>2)<<2)),0|B&&_b(B),void(y=r)}if((0|Z)!=(0|a))return a=0|Uo(4068),n[i>>2]=a,Ni(e,i),void(y=r);a=0|Uo(4068),n[i>>2]=a,Bi(e,i),i=0|n[v>>2],a=0|n[i>>2],Z=i+4|0,n[v>>2]=Z,i=0|n[A>>2],l=B=0|n[R>>2];do{if((0|i)==(0|B)){if(b=t=0|n[e>>2],Z>>>0>t>>>0){o=Z+((u=(1+((f=Z)-b>>2)|0)/-2|0)<<2)|0,(f=(w=i-f|0)>>2)?(no(0|o,0|Z,0|w),E=0|n[v>>2]):E=Z,w=o+(f<<2)|0,n[A>>2]=w,n[v>>2]=E+(u<<2),W=w;break}if((b=0==(0|(w=l-b>>1))?1:w)>>>0>1073741823&&(_n(w=0|j(8),14941),n[w>>2]=6944,Q(0|w,1080,114)),u=w=0|Uo(b<<2),o=f=w+(b>>>2<<2)|0,c=w+(b<<2)|0,(0|Z)==(0|i))V=o,N=t;else{t=f,f=o,b=Z;do{n[t>>2]=n[b>>2],f=t=f+4|0,b=b+4|0}while((0|b)!=(0|i));V=f,N=0|n[e>>2]}n[e>>2]=u,n[v>>2]=o,n[A>>2]=V,n[R>>2]=c,N?(_b(N),W=0|n[A>>2]):W=V}else W=i}while(0);n[W>>2]=a,n[A>>2]=4+(0|n[A>>2]),y=r}function oe(e,r,i){e|=0,i|=0;var f=0,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,E=0,W=0,V=0,N=0,G=0,F=0;switch(0|(r|=0)){case 0:f=-149,t=24,a=4;break;case 1:case 2:f=-1074,t=53,a=4;break;default:o=0}e:do{if(4==(0|a)){r=e+4|0,b=e+100|0;do{(c=0|n[r>>2])>>>0<(0|n[b>>2])>>>0?(n[r>>2]=c+1,u=0|l[c>>0]):u=0|kA(e)}while(0!=(0|Pn(u)));r:do{switch(0|u){case 43:case 45:if(c=1-((45==(0|u)&1)<<1)|0,(s=0|n[r>>2])>>>0<(0|n[b>>2])>>>0){n[r>>2]=s+1,k=0|l[s>>0],d=c;break r}k=0|kA(e),d=c;break r;default:k=u,d=1}}while(0);for(c=0,s=k;;){if((32|s)!=(0|A[17452+c>>0])){_=c,h=s;break}do{if(c>>>0<7){if((p=0|n[r>>2])>>>0<(0|n[b>>2])>>>0){n[r>>2]=p+1,w=0|l[p>>0];break}w=0|kA(e);break}w=s}while(0);if(!((p=c+1|0)>>>0<8)){_=p,h=w;break}c=p,s=w}r:do{switch(0|_){case 8:break;case 3:a=23;break;default:if((s=0!=(0|i))&_>>>0>3){if(8==(0|_))break r;a=23;break r}i:do{if(_)v=_,y=h;else for(c=0,p=h;;){if((32|p)!=(0|A[17461+c>>0])){v=c,y=p;break i}do{if(c>>>0<2){if((m=0|n[r>>2])>>>0<(0|n[b>>2])>>>0){n[r>>2]=m+1,Z=0|l[m>>0];break}Z=0|kA(e);break}Z=p}while(0);if(!((m=c+1|0)>>>0<3)){v=m,y=Z;break}c=m,p=Z}}while(0);switch(0|v){case 3:if((p=0|n[r>>2])>>>0<(0|n[b>>2])>>>0?(n[r>>2]=p+1,E=0|l[p>>0]):E=0|kA(e),40!=(0|E)){if(!(0|n[b>>2])){o=R;break e}n[r>>2]=(0|n[r>>2])-1,o=R;break e}for(W=1;(p=0|n[r>>2])>>>0<(0|n[b>>2])>>>0?(n[r>>2]=p+1,V=0|l[p>>0]):V=0|kA(e),(V+-48|0)>>>0<10|(V+-65|0)>>>0<26||95==(0|V)|(V+-97|0)>>>0<26;)W=W+1|0;if(41==(0|V)){o=R;break e}if((p=0==(0|n[b>>2]))||(n[r>>2]=(0|n[r>>2])-1),!s){n[(c=18544)>>2]=22,Zo(e,0),o=0;break e}if(!W){o=R;break e}for(N=W;;)if(N=N+-1|0,p||(n[r>>2]=(0|n[r>>2])-1),!N){o=R;break e}break;case 0:if(48==(0|y)){if((p=0|n[r>>2])>>>0<(0|n[b>>2])>>>0?(n[r>>2]=p+1,G=0|l[p>>0]):G=0|kA(e),120==(32|G)){o=+re(e,t,f,d,i);break e}0|n[b>>2]?(n[r>>2]=(0|n[r>>2])-1,F=48):F=48}else F=y;o=+DA(e,F,t,f,d,i);break e;default:0|n[b>>2]&&(n[r>>2]=(0|n[r>>2])-1),n[(p=18544)>>2]=22,Zo(e,0),o=0;break e}}}while(0);if(23==(0|a)&&((p=0==(0|n[b>>2]))||(n[r>>2]=(0|n[r>>2])-1),0!=(0|i)&_>>>0>3)){s=_;do{p||(n[r>>2]=(0|n[r>>2])-1),s=s+-1|0}while(s>>>0>3)}o=+g(g(0|d)*g(B))}}while(0);return+o}function ne(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*1048576+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(1048576==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,et(B,G,t);e:do{if((0|Z)<1048576)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=1048576-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>1048576;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-1048576|0,u=Z;;){for(v=1048576/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,1048576==(0|(l=i-k|0))){g=d,Y=1048576;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(1048576!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(9.5367431640625e-7*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function be(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*1048576+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(1048576==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,rt(B,G,t);e:do{if((0|Z)<1048576)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=1048576-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>1048576;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-1048576|0,u=Z;;){for(v=1048576/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,1048576==(0|(l=i-k|0))){g=d,Y=1048576;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(1048576!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(9.5367431640625e-7*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function le(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*1048576+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(1048576==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,it(B,G,t);e:do{if((0|Z)<1048576)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=1048576-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>1048576;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-1048576|0,u=Z;;){for(v=1048576/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,1048576==(0|(l=i-k|0))){g=d,Y=1048576;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(1048576!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(9.5367431640625e-7*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function ce(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*1048576+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(1048576==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,ft(B,G,t);e:do{if((0|Z)<1048576)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=1048576-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>1048576;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-1048576|0,u=Z;;){for(v=1048576/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,1048576==(0|(l=i-k|0))){g=d,Y=1048576;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(1048576!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(9.5367431640625e-7*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function ue(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*1048576+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(1048576==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,At(B,G,t);e:do{if((0|Z)<1048576)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=1048576-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>1048576;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-1048576|0,u=Z;;){for(v=1048576/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,1048576==(0|(l=i-k|0))){g=d,Y=1048576;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(1048576!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(9.5367431640625e-7*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function se(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*524288+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(524288==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,nt(B,G,t);e:do{if((0|Z)<524288)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=524288-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>524288;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-524288|0,u=Z;;){for(v=524288/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,524288==(0|(l=i-k|0))){g=d,Y=524288;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(524288!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(19073486328125e-19*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function ke(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*262144+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(262144==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,tt(B,G,t);e:do{if((0|Z)<262144)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=262144-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>262144;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-262144|0,u=Z;;){for(v=262144/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,262144==(0|(l=i-k|0))){g=d,Y=262144;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(262144!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(3814697265625e-18*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function de(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*65536+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(65536==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,at(B,G,t);e:do{if((0|Z)<65536)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=65536-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>65536;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-65536|0,u=Z;;){for(v=65536/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,65536==(0|(l=i-k|0))){g=d,Y=65536;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(65536!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(152587890625e-16*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function _e(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*32768+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(32768==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,ot(B,G,t);e:do{if((0|Z)<32768)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=32768-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>32768;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-32768|0,u=Z;;){for(v=32768/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,32768==(0|(l=i-k|0))){g=d,Y=32768;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(32768!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(30517578125e-15*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function he(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*8192+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(8192==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,bt(B,G,t);e:do{if((0|Z)<8192)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=8192-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>8192;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-8192|0,u=Z;;){for(v=8192/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,8192==(0|(l=i-k|0))){g=d,Y=8192;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(8192!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.0001220703125*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function pe(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,lt(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function we(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,ct(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function ve(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,ut(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function ye(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,st(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function me(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,kt(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function Ze(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,dt(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function Re(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,_t(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function Be(e,r,i,f){e|=0,r|=0,f|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,G=0,U=0,g=0,Y=0,M=0,T=0,I=0;if(A=y,y=y+16|0,t=A,a=A+4|0,(0|(i|=0))>0)for(o=0,b=0,l=0,c=0;;){if(u=0|Ho(0|(s=0|n[(u=r+(b<<3)|0)>>2]),0|(k=0|n[u+4>>2]),0|l,0|c),d=E,_=0==(0|s)&0==(0|k)?o:b,(0|(b=b+1|0))==(0|i)){h=_,p=d,w=u;break}o=_,l=u,c=d}else h=0,p=0,w=0;if(c=h+1|0,n[e+12>>2]=c,b=(o=0|n[(l=e+4|0)>>2])-(i=0|n[e>>2])>>3,d=i,i=o,c>>>0<=b>>>0?c>>>0<b>>>0&&(0|(o=d+(c<<3)|0))!=(0|i)&&(n[l>>2]=i+(~((i+-8-o|0)>>>3)<<3)):of(e,c-b|0),v=+(w>>>0)+4294967296*+(p>>>0),p=(0|h)<0)Z=0,R=12;else{w=0|n[e>>2],b=0,o=0;do{u=(0!=(0|(l=0|n[(i=r+(o<<3)|0)>>2]))|0!=(0|(d=0|n[i+4>>2])))&0==(0|(i=~~((+(l>>>0)+4294967296*+(d>>>0))/v*4096+.5)>>>0))?1:i,n[w+(o<<3)>>2]=u,b=u+b|0,o=o+1|0}while((0|o)!=(0|c));if(4096==(0|b)){if(p)return y=A,0}else Z=b,R=12}if(12==(0|R)){n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0;do{if(c){if(!(c>>>0>1073741823)){w=0|Uo(o=c<<2),n[a>>2]=w,u=w+(c<<2)|0,n[a+8>>2]=u,IA(0|w,0,0|o),n[b>>2]=u,B=w,G=u;break}On()}else B=0,G=0}while(0);if(!p&&(n[B>>2]=0,0|h)){u=1;do{n[B+(u<<2)>>2]=u,u=u+1|0}while((0|u)!=(0|c))}n[t>>2]=e,ht(B,G,t);e:do{if((0|Z)<4096)t=(0|n[e>>2])+(n[(0|n[b>>2])-4>>2]<<3)|0,n[t>>2]=4096-Z+(0|n[t>>2]),U=0;else{if(t=0|n[a>>2],(0|h)<=0)for(G=(0|Z)>4096;;)if(!G){U=0;break e}for(G=0|n[e>>2],B=Z+-4096|0,u=Z;;){for(v=4096/+(0|u),w=h,o=B,i=u;;){if(d=G+(n[t+(w<<2)>>2]<<3)|0,(l=0|n[d>>2])>>>0<2){R=28;break}if(k=(0|(_=(0|(k=0==(0|(_=l-~~+W(+v*+(l>>>0))|0))?1:_))<(0|l)?k:l+-1|0))>(0|o)?o:_,n[d>>2]=l-k,d=o-k|0,4096==(0|(l=i-k|0))){g=d,Y=4096;break}if(!((0|w)>1)){g=d,Y=l;break}w=w+-1|0,o=d,i=l}if(28==(0|R)){if(R=0,(0|w)==(0|h)){U=1;break e}g=o,Y=i}if(!((0|g)>0)){U=0;break}B=g,u=Y}}}while(0);if(0|(Y=0|n[a>>2])&&((0|(a=0|n[b>>2]))!=(0|Y)&&(n[b>>2]=a+(~((a+-4-Y|0)>>>2)<<2)),_b(Y)),0!=(0|U)|p)return y=A,0}U=0|n[e>>2],Y=0,a=0;do{n[U+(Y<<3)+4>>2]=a,a=(0|n[U+(Y<<3)>>2])+a|0,Y=Y+1|0}while((0|Y)!=(0|c));if(4096!=(0|a))return y=A,0;if(p)M=0;else for(p=0|n[e>>2],a=0,v=0;;){if((Y=0|n[p+(a<<3)>>2])?(I=+((0|n[(U=r+(a<<3)|0)>>2])>>>0)+4294967296*+((0|n[U+4>>2])>>>0),T=v+ +Oi(.000244140625*+(Y>>>0))*I):T=v,(0|(a=a+1|0))==(0|c)){M=T;break}v=T}return T=+N(+-M),c=+V(T)>=1?T>0?~~+F(+W(T/4294967296),4294967295)>>>0:~~+N((T-+(~~T>>>0))/4294967296)>>>0:0,n[(a=e+16|0)>>2]=~~T>>>0,n[a+4>>2]=c,m=0|_r(e,f),y=A,0|m}function Ee(e,r){r|=0;var i,f,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0;if(i=y,y=y+32|0,a=i,f=i+20|0,o=i+24|0,t=i+8|0,l=8+(b=0|n[(e|=0)>>2])|0,c=0|Ho(0|(b=0|n[(c=b)>>2]),0|(u=0|n[c+4>>2]),0|n[l>>2],0|n[l+4>>2]),l=(s=(l=~~((+(b>>>0)+4294967296*+(u>>>0))/(+((s=0|Ho(0|c,0|(l=E),0==(0|c)&0==(0|l)&1|0,0))>>>0)+4294967296*+(E>>>0))*256+.5)>>>0)>>>0<255?l:255)+(0==(0|s)&1)&255,A[o>>0]=l,s=e+12|0,b=64+((0|n[(u=e+16|0)>>2])-(0|n[s>>2])<<1)|0,n[t>>2]=0,n[(c=t+4|0)>>2]=0,n[t+8>>2]=0,b){(0|b)<0&&On(),d=0|Uo(b),n[c>>2]=d,n[t>>2]=d,n[t+8>>2]=d+b,_=b,b=d;do{A[b>>0]=0,b=1+(0|n[c>>2])|0,n[c>>2]=b,_=_+-1|0}while(0!=(0|_));k=0|n[t>>2]}else k=0;b=(0|n[(_=e+28|0)>>2])-1|0;e:do{if((0|b)>-1)for(d=e+24|0,h=b,p=0,w=4096,v=l;;){if(w>>>0<(Z=255&((m=0!=(n[d>>2]&1<<h|0))?0-(255&v)&255:v))<<12>>>0?(R=p,B=w):(A[k+p>>0]=w,R=p+1|0,B=w>>>8),To(0|n[3780+(Z<<3)>>2],0,0|B,0),W=B+(m?0:0-v&255)+(0|G((B+E|0)>>>(0|n[3780+(Z<<3)+4>>2]),256-Z|0))|0,(0|(Z=h+-1|0))<=-1){V=R,N=W;break e}h=Z,p=R,w=W,v=0|A[o>>0]}else V=0,N=4096}while(0);if(R=0|n[u>>2],(0|n[s>>2])==(0|R))F=V,U=N;else for(B=V,V=N,N=R;;){for(R=0|n[(N=N+-4|0)>>2],l=31,b=B,v=V;w=0|A[o>>0],v>>>0<(h=255&((p=0!=(1<<l&R|0))?0-(255&w)&255:w))<<12>>>0?(g=b,Y=v):(A[k+b>>0]=v,g=b+1|0,Y=v>>>8),To(0|n[3780+(h<<3)>>2],0,0|Y,0),v=Y+(p?0:0-w&255)+(0|G((Y+E|0)>>>(0|n[3780+(h<<3)+4>>2]),256-h|0))|0,!((0|l)<=0);)l=l+-1|0,b=g;if((0|n[s>>2])==(0|N)){F=g,U=v;break}B=g,V=v}V=U+-4096|0;do{if(V>>>0>=64){if(V>>>0<16384){B=U+12288|0,A[(g=k+F|0)>>0]=B,M=2,T=B>>>8,I=g+1|0,j=25;break}V>>>0<4194304?(B=U+8384512|0,A[(g=k+F|0)>>0]=B,A[g+1>>0]=B>>>8,M=3,T=B>>>16,I=g+2|0,j=25):C=F}else M=1,T=V,I=k+F|0,j=25}while(0);25==(0|j)&&(A[I>>0]=T,C=M+F|0),(0|(T=0|n[4+(M=F=r+16|0)>>2]))>0|0==(0|T)&(0|n[M>>2])>>>0>0||(n[f>>2]=n[r+4>>2],n[a>>2]=n[f>>2],hr(r,a,o,o+1|0)),Mf(C,r),o=0|n[t>>2],(0|(F=0|n[(M=F)+4>>2]))>0|0==(0|F)&(0|n[M>>2])>>>0>0||(n[f>>2]=n[r+4>>2],n[a>>2]=n[f>>2],hr(r,a,o,o+C|0)),n[(C=a)>>2]=0,n[C+4>>2]=0,Jr(e,2,a),a=0|n[e+12>>2],(0|(C=0|n[u>>2]))!=(0|a)&&(n[u>>2]=C+(~((C+-4-a|0)>>>2)<<2)),n[e+24>>2]=0,n[_>>2]=0,(_=0|n[t>>2])?((0|n[c>>2])!=(0|_)&&(n[c>>2]=_),_b(_),y=i):y=i}function We(e,r){r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0;i=y,y=y+16|0,f=i+8|0,A=i+4|0,t=i,n[(l=124+(e|=0)|0)>>2]=1+(0|n[l>>2]),l=e+88|0,u=1+(a=0|n[(c=e+120|0)>>2])|0;do{if(-1!=(0|a)){if(s=0==(0|(u>>>0)%3)?a+-2|0:u,(a>>>0)%3|0){k=a+-1|0,d=s;break}k=a+2|0,d=s;break}k=-1,d=-1}while(0);switch(u=e+104|0,o=(_=0|n[(s=e+92|0)>>2])+(d<<2)|0,p=(h=0|n[u>>2])+(n[o>>2]<<2)|0,w=0|n[p>>2],0|r){case 1:case 0:if(n[p>>2]=w+-1,p=h+(n[_+(k<<2)>>2]<<2)|0,n[p>>2]=(0|n[p>>2])-1,1==(0|r)){if(-1!=(0|k)&&-1!=(0|(p=0|n[(0|n[12+(0|n[l>>2])>>2])+(k<<2)>>2]))){for(v=e+64|0,m=1,Z=p;;){if(p=0|n[v>>2],R=0|n[36+(0|n[p>>2])>>2],n[A>>2]=(Z>>>0)/3|0,n[f>>2]=n[A>>2],0|mb[127&R](p,f)){B=m;break}if(-1==(0|(R=0==(0|((p=Z+1|0)>>>0)%3)?Z+-2|0:p))){E=12;break}if(Z=0|n[(0|n[12+(0|n[l>>2])>>2])+(R<<2)>>2],R=m+1|0,-1==(0|Z)){B=R;break}m=R}12==(0|E)&&(B=m+1|0),W=B,V=0|n[u>>2],N=0|n[s>>2]}else W=1,V=h,N=_;if(n[V+(n[N+(n[c>>2]<<2)>>2]<<2)>>2]=W,N=(c=0|n[(W=e+108|0)>>2])-V>>2,V=c,-1!=(0|d)&&-1!=(0|(c=0|n[(0|n[12+(0|n[l>>2])>>2])+(d<<2)>>2]))){for(d=e+64|0,B=1,m=c;;){if(c=0|n[d>>2],Z=0|n[36+(0|n[c>>2])>>2],n[t>>2]=(m>>>0)/3|0,n[f>>2]=n[t>>2],0|mb[127&Z](c,f)){G=B;break}if(c=m+1|0,n[(0|n[s>>2])+((0==(0|(c>>>0)%3)?m+-2|0:c)<<2)>>2]=N,-1==(0|(c=(0==(0|(m>>>0)%3)?2:-1)+m|0))){E=20;break}if(m=0|n[(0|n[12+(0|n[l>>2])>>2])+(c<<2)>>2],c=B+1|0,-1==(0|m)){G=c;break}B=c}20==(0|E)&&(G=B+1|0),F=G,U=0|n[W>>2]}else F=1,U=V;n[f>>2]=F,U>>>0<(0|n[e+112>>2])>>>0?(n[U>>2]=F,n[W>>2]=U+4):sA(u,f)}break;case 5:u=h+(n[_+(a<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-1,u=h+(n[o>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-1,u=h+(n[_+(k<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-2;break;case 3:u=h+(n[_+(a<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-1,u=h+(n[o>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-2,u=h+(n[_+(k<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-1;break;case 7:u=h+(n[_+(a<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-2,u=h+(n[o>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-2,u=h+(n[_+(k<<2)>>2]<<2)|0,n[u>>2]=(0|n[u>>2])-2}if(-1==(0|(k=0|n[(u=e+116|0)>>2])))return n[u>>2]=r,void(y=i);w=((0|w)<(0|(_=0|n[e+128>>2]))?_:(0|w)>(0|(h=0|n[e+132>>2]))?h:w)-_|0,_=0|n[e+136>>2],e=0|n[3384+(k<<2)>>2],n[f>>2]=e,(b=0|n[(k=_+(12*w|0)+4|0)>>2])>>>0<(0|n[_+(12*w|0)+8>>2])>>>0?(n[b>>2]=e,n[k>>2]=b+4):sA(_+(12*w|0)|0,f),n[u>>2]=r,y=i}function Ve(e,r){var i,f,A=0,t=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=t,0|o&&_b(o),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((o=0|n[(A=e+8|0)>>2])&&(t=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=A,A=0|n[o>>2])){l=b,c=o,u=A,s=o;e:for(;;){o=c,A=u,b=s;r:for(;;){i:do{if(f)for(t=A;;){if((0|(k=n[t+4>>2]&i))==(0|l)){d=t;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=t,p=k,w=_;break r}v=2+(_=t+8|0)|0,y=t+12|0,m=_+6|0,Z=0|n[t>>2];f:do{if(Z)for(B=0|a[_>>1],E=t,W=Z;;){if(B<<16>>16!=(0|a[(V=W+8|0)>>1])){R=E;break f}if((0|a[v>>1])!=(0|a[V+2>>1])){R=E;break f}if((0|a[y>>1])!=(0|a[W+12>>1])){R=E;break f}if((0|a[m>>1])!=(0|a[V+6>>1])){R=E;break f}if(!(V=0|n[W>>2])){R=W;break}N=W,W=V,E=N}else R=t}while(0);if(n[b>>2]=n[R>>2],n[R>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}else for(t=A;;){if((0|(G=(m=0|n[t+4>>2])>>>0<r>>>0?m:(m>>>0)%(r>>>0)|0))==(0|l)){d=t;break i}if(m=(0|n[e>>2])+(G<<2)|0,!(0|n[m>>2])){h=t,p=G,w=m;break r}y=2+(m=t+8|0)|0,v=t+12|0,Z=m+6|0,_=0|n[t>>2];f:do{if(_)for(E=0|a[m>>1],W=t,B=_;;){if(E<<16>>16!=(0|a[(N=B+8|0)>>1])){F=W;break f}if((0|a[y>>1])!=(0|a[N+2>>1])){F=W;break f}if((0|a[v>>1])!=(0|a[B+12>>1])){F=W;break f}if((0|a[Z>>1])!=(0|a[N+6>>1])){F=W;break f}if(!(N=0|n[B>>2])){F=B;break}V=B,B=N,W=V}else F=t}while(0);if(n[b>>2]=n[F>>2],n[F>>2]=n[n[(0|n[e>>2])+(G<<2)>>2]>>2],n[n[(0|n[e>>2])+(G<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}}while(0);if(!(A=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function Ne(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){l=b,c=o,u=t,s=o;e:for(;;){o=c,t=u,b=s;r:for(;;){i:do{if(f)for(a=t;;){if((0|(k=n[a+4>>2]&i))==(0|l)){d=a;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=a,p=k,w=_;break r}v=1+(_=a+8|0)|0,y=_+2|0,m=_+3|0,Z=0|n[a>>2];f:do{if(Z)for(B=0|A[_>>0],E=a,W=Z;;){if(B<<24>>24!=(0|A[(V=W+8|0)>>0])){R=E;break f}if((0|A[v>>0])!=(0|A[V+1>>0])){R=E;break f}if((0|A[y>>0])!=(0|A[V+2>>0])){R=E;break f}if((0|A[m>>0])!=(0|A[V+3>>0])){R=E;break f}if(!(V=0|n[W>>2])){R=W;break}N=W,W=V,E=N}else R=a}while(0);if(n[b>>2]=n[R>>2],n[R>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}else for(a=t;;){if((0|(G=(m=0|n[a+4>>2])>>>0<r>>>0?m:(m>>>0)%(r>>>0)|0))==(0|l)){d=a;break i}if(m=(0|n[e>>2])+(G<<2)|0,!(0|n[m>>2])){h=a,p=G,w=m;break r}y=1+(m=a+8|0)|0,v=m+2|0,Z=m+3|0,_=0|n[a>>2];f:do{if(_)for(E=0|A[m>>0],W=a,B=_;;){if(E<<24>>24!=(0|A[(N=B+8|0)>>0])){F=W;break f}if((0|A[y>>0])!=(0|A[N+1>>0])){F=W;break f}if((0|A[v>>0])!=(0|A[N+2>>0])){F=W;break f}if((0|A[Z>>0])!=(0|A[N+3>>0])){F=W;break f}if(!(N=0|n[B>>2])){F=B;break}V=B,B=N,W=V}else F=a}while(0);if(n[b>>2]=n[F>>2],n[F>>2]=n[n[(0|n[e>>2])+(G<<2)>>2]>>2],n[n[(0|n[e>>2])+(G<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}}while(0);if(!(t=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function Ge(e,r){var i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),a=0|n[e>>2],n[e>>2]=t,0|a&&_b(a),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((a=0|n[(A=e+8|0)>>2])&&(t=0|n[a+4>>2],o=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(o<<2)>>2]=A,A=0|n[a>>2])){b=o,l=a,c=A,u=a;e:for(;;){a=l,A=c,o=u;r:for(;;){i:do{if(f)for(t=A;;){if((0|(s=n[t+4>>2]&i))==(0|b)){k=t;break i}if(d=(0|n[e>>2])+(s<<2)|0,!(0|n[d>>2])){_=t,h=s,p=d;break r}d=t+12|0,w=t+16|0,v=t+20|0,y=0|n[t>>2];f:do{if(y)for(Z=0|n[t+8>>2],R=t,B=y;;){if((0|Z)!=(0|n[B+8>>2])){m=R;break f}if((0|n[d>>2])!=(0|n[B+12>>2])){m=R;break f}if((0|n[w>>2])!=(0|n[B+16>>2])){m=R;break f}if((0|n[v>>2])!=(0|n[B+20>>2])){m=R;break f}if(!(E=0|n[B>>2])){m=B;break}W=B,B=E,R=W}else m=t}while(0);if(n[o>>2]=n[m>>2],n[m>>2]=n[n[(0|n[e>>2])+(s<<2)>>2]>>2],n[n[(0|n[e>>2])+(s<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}else for(t=A;;){if((0|(V=(v=0|n[t+4>>2])>>>0<r>>>0?v:(v>>>0)%(r>>>0)|0))==(0|b)){k=t;break i}if(v=(0|n[e>>2])+(V<<2)|0,!(0|n[v>>2])){_=t,h=V,p=v;break r}v=t+12|0,w=t+16|0,d=t+20|0,y=0|n[t>>2];f:do{if(y)for(R=0|n[t+8>>2],B=t,Z=y;;){if((0|R)!=(0|n[Z+8>>2])){N=B;break f}if((0|n[v>>2])!=(0|n[Z+12>>2])){N=B;break f}if((0|n[w>>2])!=(0|n[Z+16>>2])){N=B;break f}if((0|n[d>>2])!=(0|n[Z+20>>2])){N=B;break f}if(!(W=0|n[Z>>2])){N=Z;break}E=Z,Z=W,B=E}else N=t}while(0);if(n[o>>2]=n[N>>2],n[N>>2]=n[n[(0|n[e>>2])+(V<<2)>>2]>>2],n[n[(0|n[e>>2])+(V<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}}while(0);if(!(A=0|n[k>>2]))break e;a=k,o=k}if(n[p>>2]=o,!(c=0|n[_>>2]))break;b=h,l=_,u=_}}}function Fe(e,r,i,f,t){e|=0,r|=0,i|=0,f|=0,t|=0;var a,o,b,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0;if(a=y,y=y+352|0,o=a+340|0,b=a+336|0,c=a+48|0,s=a,IA(0|(u=a+80|0),0,256),k=0|n[f+4>>2],_=d=0|n[f>>2],(0|k)!=(0|d)){h=k-d>>2,d=0;do{k=u+(n[_+(d<<2)>>2]<<3)|0,w=0|Ho(0|n[(p=k)>>2],0|n[p+4>>2],1,0),n[(p=k)>>2]=w,n[p+4>>2]=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1)<<j|0|l[C>>0],T=1+(0|n[Y>>2])|0,n[Y>>2]=T,M=M+1|0}while((0|M)!=(0|F))}W=W+1|0}while((0|W)!=(0|i))}v=v-i|0}while((0|v)>-1)}return li(s,t),ki(c),v=0|n[c>>2],i=c+4|0,(0|(h=0|n[4+(k=t+16|0)>>2]))>0|0==(0|h)&(0|n[k>>2])>>>0>0||(k=(0|n[i>>2])-v|0,n[b>>2]=n[u>>2],n[o>>2]=n[b>>2],hr(t,o,v,v+k|0)),0|(k=0|n[s>>2])&&((0|(s=0|n[(v=s+4|0)>>2]))!=(0|k)&&(n[v>>2]=s+(~((s+-8-k|0)>>>3)<<3)),_b(k)),s=0|n[(k=c+12|0)>>2],n[k>>2]=0,0|s&&_b(s),(s=0|n[c>>2])?((0|n[i>>2])!=(0|s)&&(n[i>>2]=s),_b(s),y=a,1):(y=a,1)}function Ue(e,r){var i,f,A=0,t=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=t,0|o&&_b(o),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((o=0|n[(A=e+8|0)>>2])&&(t=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=A,A=0|n[o>>2])){l=b,c=o,u=A,s=o;e:for(;;){o=c,A=u,b=s;r:for(;;){i:do{if(f)for(t=A;;){if((0|(k=n[t+4>>2]&i))==(0|l)){d=t;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=t,p=k,w=_;break r}_=t+8|0,v=t+12|0,y=0|n[t>>2];f:do{if(y)for(Z=0|a[_>>1],R=_+2|0,B=t,E=y;;){if(Z<<16>>16!=(0|a[(W=E+8|0)>>1])){m=B;break f}if((0|a[R>>1])!=(0|a[W+2>>1])){m=B;break f}if((0|a[v>>1])!=(0|a[E+12>>1])){m=B;break f}if(!(W=0|n[E>>2])){m=E;break}V=E,E=W,B=V}else m=t}while(0);if(n[b>>2]=n[m>>2],n[m>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}else for(t=A;;){if((0|(N=(v=0|n[t+4>>2])>>>0<r>>>0?v:(v>>>0)%(r>>>0)|0))==(0|l)){d=t;break i}if(v=(0|n[e>>2])+(N<<2)|0,!(0|n[v>>2])){h=t,p=N,w=v;break r}v=t+8|0,y=t+12|0,_=0|n[t>>2];f:do{if(_)for(B=0|a[v>>1],E=v+2|0,R=t,Z=_;;){if(B<<16>>16!=(0|a[(V=Z+8|0)>>1])){G=R;break f}if((0|a[E>>1])!=(0|a[V+2>>1])){G=R;break f}if((0|a[y>>1])!=(0|a[Z+12>>1])){G=R;break f}if(!(V=0|n[Z>>2])){G=Z;break}W=Z,Z=V,R=W}else G=t}while(0);if(n[b>>2]=n[G>>2],n[G>>2]=n[n[(0|n[e>>2])+(N<<2)>>2]>>2],n[n[(0|n[e>>2])+(N<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}}while(0);if(!(A=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function ge(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){l=b,c=o,u=t,s=o;e:for(;;){o=c,t=u,b=s;r:for(;;){i:do{if(f)for(a=t;;){if((0|(k=n[a+4>>2]&i))==(0|l)){d=a;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=a,p=k,w=_;break r}v=1+(_=a+8|0)|0,y=_+2|0,m=0|n[a>>2];f:do{if(m)for(R=0|A[_>>0],B=a,E=m;;){if(R<<24>>24!=(0|A[(W=E+8|0)>>0])){Z=B;break f}if((0|A[v>>0])!=(0|A[W+1>>0])){Z=B;break f}if((0|A[y>>0])!=(0|A[W+2>>0])){Z=B;break f}if(!(W=0|n[E>>2])){Z=E;break}V=E,E=W,B=V}else Z=a}while(0);if(n[b>>2]=n[Z>>2],n[Z>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}else for(a=t;;){if((0|(N=(y=0|n[a+4>>2])>>>0<r>>>0?y:(y>>>0)%(r>>>0)|0))==(0|l)){d=a;break i}if(y=(0|n[e>>2])+(N<<2)|0,!(0|n[y>>2])){h=a,p=N,w=y;break r}v=1+(y=a+8|0)|0,m=y+2|0,_=0|n[a>>2];f:do{if(_)for(B=0|A[y>>0],E=a,R=_;;){if(B<<24>>24!=(0|A[(V=R+8|0)>>0])){G=E;break f}if((0|A[v>>0])!=(0|A[V+1>>0])){G=E;break f}if((0|A[m>>0])!=(0|A[V+2>>0])){G=E;break f}if(!(V=0|n[R>>2])){G=R;break}W=R,R=V,E=W}else G=a}while(0);if(n[b>>2]=n[G>>2],n[G>>2]=n[n[(0|n[e>>2])+(N<<2)>>2]>>2],n[n[(0|n[e>>2])+(N<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}}while(0);if(!(t=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function Ye(e,r){var i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),a=0|n[e>>2],n[e>>2]=t,0|a&&_b(a),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((a=0|n[(A=e+8|0)>>2])&&(t=0|n[a+4>>2],o=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(o<<2)>>2]=A,A=0|n[a>>2])){b=o,l=a,c=A,u=a;e:for(;;){a=l,A=c,o=u;r:for(;;){i:do{if(f)for(t=A;;){if((0|(s=n[t+4>>2]&i))==(0|b)){k=t;break i}if(d=(0|n[e>>2])+(s<<2)|0,!(0|n[d>>2])){_=t,h=s,p=d;break r}d=t+12|0,w=t+16|0,v=0|n[t>>2];f:do{if(v)for(m=0|n[t+8>>2],Z=t,R=v;;){if((0|m)!=(0|n[R+8>>2])){y=Z;break f}if((0|n[d>>2])!=(0|n[R+12>>2])){y=Z;break f}if((0|n[w>>2])!=(0|n[R+16>>2])){y=Z;break f}if(!(B=0|n[R>>2])){y=R;break}E=R,R=B,Z=E}else y=t}while(0);if(n[o>>2]=n[y>>2],n[y>>2]=n[n[(0|n[e>>2])+(s<<2)>>2]>>2],n[n[(0|n[e>>2])+(s<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}else for(t=A;;){if((0|(W=(w=0|n[t+4>>2])>>>0<r>>>0?w:(w>>>0)%(r>>>0)|0))==(0|b)){k=t;break i}if(w=(0|n[e>>2])+(W<<2)|0,!(0|n[w>>2])){_=t,h=W,p=w;break r}w=t+12|0,d=t+16|0,v=0|n[t>>2];f:do{if(v)for(Z=0|n[t+8>>2],R=t,m=v;;){if((0|Z)!=(0|n[m+8>>2])){V=R;break f}if((0|n[w>>2])!=(0|n[m+12>>2])){V=R;break f}if((0|n[d>>2])!=(0|n[m+16>>2])){V=R;break f}if(!(E=0|n[m>>2])){V=m;break}B=m,m=E,R=B}else V=t}while(0);if(n[o>>2]=n[V>>2],n[V>>2]=n[n[(0|n[e>>2])+(W<<2)>>2]>>2],n[n[(0|n[e>>2])+(W<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}}while(0);if(!(A=0|n[k>>2]))break e;a=k,o=k}if(n[p>>2]=o,!(c=0|n[_>>2]))break;b=h,l=_,u=_}}}function Me(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){l=b,c=o,u=t,s=o;e:for(;;){o=c,t=u,b=s;r:for(;;){for(k=t;a=0|n[k+4>>2],(0|(d=f?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0))!=(0|l);){if(_=(0|n[e>>2])+(d<<2)|0,!(0|n[_>>2]))break r;a=0|n[k>>2];i:do{if(a){if(y=255&(w=0|A[11+(p=k+8|0)>>0]),m=0==(0|(w=(v=w<<24>>24<0)?0|n[k+12>>2]:y)),v)for(v=k,Z=a;;){if((0|w)!=(0|((E=(B=0|A[11+(R=Z+8|0)>>0])<<24>>24<0)?0|n[Z+12>>2]:255&B))){h=v;break i}if(!m&&0|Wa(0|n[p>>2],E?0|n[R>>2]:R,w)){h=v;break i}if(!(R=0|n[Z>>2])){h=Z;break i}E=Z,Z=R,v=E}if(m)for(v=k,Z=a;;){if(0|((E=0|A[Z+8+11>>0])<<24>>24<0?0|n[Z+12>>2]:255&E)){h=v;break i}if(!(E=0|n[Z>>2])){h=Z;break i}R=Z,Z=E,v=R}for(v=k,Z=a;;){if((0|w)!=(0|((E=(R=0|A[11+(m=Z+8|0)>>0])<<24>>24<0)?0|n[Z+12>>2]:255&R))){h=v;break i}if(R=E?0|n[m>>2]:m,(0|A[R>>0])!=(255&n[p>>2])<<24>>24){h=v;break i}for(W=p,V=y,N=R;W=W+1|0,V=V+-1|0;)if(N=N+1|0,(0|A[W>>0])!=(0|A[N>>0])){h=v;break i}if(!(R=0|n[Z>>2])){h=Z;break}m=Z,Z=R,v=m}}else h=k}while(0);if(n[b>>2]=n[h>>2],n[h>>2]=n[n[(0|n[e>>2])+(d<<2)>>2]>>2],n[n[(0|n[e>>2])+(d<<2)>>2]>>2]=k,!(a=0|n[o>>2]))break e;k=a}if(!(t=0|n[k>>2]))break e;o=k,b=k}if(n[_>>2]=b,!(u=0|n[k>>2]))break;l=d,c=k,s=k}}}function Te(e,r){r|=0;var i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0;if(i=y,y=y+48|0,f=i+8|0,A=i+4|0,t=i,Mf(0|n[(a=44+(e|=0)|0)>>2],r),0|n[a>>2]){if(Io(f),da(f),(0|(o=0|n[a>>2]))>0){a=e+40|0,b=o;do{o=b,b=b+-1|0,VA(f,0!=(n[(0|n[a>>2])+(b>>>5<<2)>>2]&1<<(31&b)|0))}while((0|o)>1)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+56|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(a=0|n[b>>2]))>1){b=e+52|0,o=a;do{a=o,o=o+-2|0,VA(f,0!=(n[(0|n[b>>2])+(o>>>5<<2)>>2]&1<<(31&o)|0)),l=a+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|a)>3)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+68|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(o=0|n[b>>2]))>2){b=e+64|0,a=o;do{o=a,a=a+-3|0,VA(f,0!=(n[(0|n[b>>2])+(a>>>5<<2)>>2]&1<<(31&a)|0)),l=o+-2|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=o+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|o)>5)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+80|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(a=0|n[b>>2]))>3){b=e+76|0,o=a;do{a=o,o=o+-4|0,VA(f,0!=(n[(0|n[b>>2])+(o>>>5<<2)>>2]&1<<(31&o)|0)),l=a+-3|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=a+-2|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=a+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|a)>7)}Ee(f,r),OA(f)}return n[t>>2]=n[e+12>>2],a=0|n[(o=b=r+16|0)>>2],(0|(l=0|n[o+4>>2]))>0|0==(0|l)&a>>>0>0?(c=l,u=a):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(a=b)+4>>2],u=0|n[a>>2]),n[t>>2]=n[e+20>>2],(0|c)>0|0==(0|c)&u>>>0>0?(y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),y=i,1)}function Ie(e,r){r|=0;var i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0;if(i=y,y=y+48|0,f=i+8|0,A=i+4|0,t=i,Mf(0|n[(a=64+(e|=0)|0)>>2],r),0|n[a>>2]){if(Io(f),da(f),(0|(o=0|n[a>>2]))>0){a=e+60|0,b=o;do{o=b,b=b+-1|0,VA(f,0!=(n[(0|n[a>>2])+(b>>>5<<2)>>2]&1<<(31&b)|0))}while((0|o)>1)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+76|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(a=0|n[b>>2]))>1){b=e+72|0,o=a;do{a=o,o=o+-2|0,VA(f,0!=(n[(0|n[b>>2])+(o>>>5<<2)>>2]&1<<(31&o)|0)),l=a+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|a)>3)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+88|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(o=0|n[b>>2]))>2){b=e+84|0,a=o;do{o=a,a=a+-3|0,VA(f,0!=(n[(0|n[b>>2])+(a>>>5<<2)>>2]&1<<(31&a)|0)),l=o+-2|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=o+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|o)>5)}Ee(f,r),OA(f)}if(Mf(0|n[(b=e+100|0)>>2],r),0|n[b>>2]){if(Io(f),da(f),(0|(a=0|n[b>>2]))>3){b=e+96|0,o=a;do{a=o,o=o+-4|0,VA(f,0!=(n[(0|n[b>>2])+(o>>>5<<2)>>2]&1<<(31&o)|0)),l=a+-3|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=a+-2|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)),l=a+-1|0,VA(f,0!=(n[(0|n[b>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0))}while((0|a)>7)}Ee(f,r),OA(f)}return n[t>>2]=n[e+12>>2],a=0|n[(o=b=r+16|0)>>2],(0|(l=0|n[o+4>>2]))>0|0==(0|l)&a>>>0>0?(c=l,u=a):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(a=b)+4>>2],u=0|n[a>>2]),n[t>>2]=n[e+16>>2],(0|c)>0|0==(0|c)&u>>>0>0?(y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),y=i,1)}function je(e,r){var i,f,A=0,t=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=t,0|o&&_b(o),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((o=0|n[(A=e+8|0)>>2])&&(t=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=A,A=0|n[o>>2])){l=b,c=o,u=A,s=o;e:for(;;){o=c,A=u,b=s;r:for(;;){i:do{if(f)for(t=A;;){if((0|(k=n[t+4>>2]&i))==(0|l)){d=t;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=t,p=k,w=_;break r}_=t+8|0,v=0|n[t>>2];f:do{if(v)for(m=0|a[_>>1],Z=_+2|0,R=t,B=v;;){if(m<<16>>16!=(0|a[(E=B+8|0)>>1])){y=R;break f}if((0|a[Z>>1])!=(0|a[E+2>>1])){y=R;break f}if(!(E=0|n[B>>2])){y=B;break}W=B,B=E,R=W}else y=t}while(0);if(n[b>>2]=n[y>>2],n[y>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}else for(t=A;;){if((0|(V=(v=0|n[t+4>>2])>>>0<r>>>0?v:(v>>>0)%(r>>>0)|0))==(0|l)){d=t;break i}if(v=(0|n[e>>2])+(V<<2)|0,!(0|n[v>>2])){h=t,p=V,w=v;break r}v=t+8|0,_=0|n[t>>2];f:do{if(_)for(R=0|a[v>>1],B=v+2|0,Z=t,m=_;;){if(R<<16>>16!=(0|a[(W=m+8|0)>>1])){N=Z;break f}if((0|a[B>>1])!=(0|a[W+2>>1])){N=Z;break f}if(!(W=0|n[m>>2])){N=m;break}E=m,m=W,Z=E}else N=t}while(0);if(n[b>>2]=n[N>>2],n[N>>2]=n[n[(0|n[e>>2])+(V<<2)>>2]>>2],n[n[(0|n[e>>2])+(V<<2)>>2]>>2]=t,!(t=0|n[o>>2]))break e}}while(0);if(!(A=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function Ce(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){l=b,c=o,u=t,s=o;e:for(;;){o=c,t=u,b=s;r:for(;;){i:do{if(f)for(a=t;;){if((0|(k=n[a+4>>2]&i))==(0|l)){d=a;break i}if(_=(0|n[e>>2])+(k<<2)|0,!(0|n[_>>2])){h=a,p=k,w=_;break r}_=a+8|0,v=0|n[a>>2];f:do{if(v)for(m=0|A[_>>0],Z=_+1|0,R=a,B=v;;){if(m<<24>>24!=(0|A[(E=B+8|0)>>0])){y=R;break f}if((0|A[Z>>0])!=(0|A[E+1>>0])){y=R;break f}if(!(E=0|n[B>>2])){y=B;break}W=B,B=E,R=W}else y=a}while(0);if(n[b>>2]=n[y>>2],n[y>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}else for(a=t;;){if((0|(V=(v=0|n[a+4>>2])>>>0<r>>>0?v:(v>>>0)%(r>>>0)|0))==(0|l)){d=a;break i}if(v=(0|n[e>>2])+(V<<2)|0,!(0|n[v>>2])){h=a,p=V,w=v;break r}v=a+8|0,_=0|n[a>>2];f:do{if(_)for(R=0|A[v>>0],B=v+1|0,Z=a,m=_;;){if(R<<24>>24!=(0|A[(W=m+8|0)>>0])){N=Z;break f}if((0|A[B>>0])!=(0|A[W+1>>0])){N=Z;break f}if(!(W=0|n[m>>2])){N=m;break}E=m,m=W,Z=E}else N=a}while(0);if(n[b>>2]=n[N>>2],n[N>>2]=n[n[(0|n[e>>2])+(V<<2)>>2]>>2],n[n[(0|n[e>>2])+(V<<2)>>2]>>2]=a,!(a=0|n[o>>2]))break e}}while(0);if(!(t=0|n[d>>2]))break e;o=d,b=d}if(n[w>>2]=b,!(u=0|n[h>>2]))break;l=p,c=h,s=h}}}function Qe(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0;if(i=y,y=y+48|0,t=i+32|0,a=i+28|0,f=i+16|0,A=i,0|(b=0|n[(o=16+(e|=0)|0)>>2])){l=0|n[r>>2],c=o,u=b;e:for(;;){for(b=u;!((0|n[b+16>>2])>=(0|l));){if(!(s=0|n[b+4>>2])){k=c;break e}b=s}if(!(u=0|n[b>>2])){k=b;break}c=b}if((0|k)!=(0|o)&&(0|l)>=(0|n[k+16>>2]))return y=i,0|k+20}if(Vn(f),n[A>>2]=n[r>>2],r=A+4|0,n[A+8>>2]=0,n[(k=A+12|0)>>2]=0,l=A+8|0,n[r>>2]=l,(0|(c=0|n[f>>2]))!=(0|(u=f+4|0)))for(s=l,d=c;;){if(c=d+16|0,n[a>>2]=s,n[t>>2]=n[a>>2],ef(r,t,c,c),c=0|n[d+4>>2]){for(h=c;b=0|n[h>>2];)h=b;p=h}else if(h=0|n[(_=d+8|0)>>2],(0|n[h>>2])==(0|d))p=h;else{h=_;do{_=0|n[h>>2],w=0|n[(h=_+8|0)>>2]}while((0|n[w>>2])!=(0|_));p=w}if((0|p)==(0|u))break;d=p}p=e+12|0,d=0|n[o>>2];do{if(d){for(t=0|n[A>>2],a=e+16|0,s=d;;){if((0|t)<(0|(c=0|n[s+16>>2]))){if(!(b=0|n[s>>2])){v=23;break}m=s,Z=b}else{if((0|c)>=(0|t)){v=27;break}if(!(c=0|n[(R=s+4|0)>>2])){v=26;break}m=R,Z=c}a=m,s=Z}if(23==(0|v)){B=s,E=s;break}if(26==(0|v)){B=s,E=R;break}if(27==(0|v)){B=s,E=a;break}}else B=o,E=o}while(0);return(o=0|n[E>>2])?V=o:(v=0|Uo(32),n[v+16>>2]=n[A>>2],n[(R=v+20|0)>>2]=n[r>>2],Z=v+24|0,m=0|n[A+8>>2],n[Z>>2]=m,d=0|n[k>>2],n[v+28>>2]=d,d?(n[m+8>>2]=Z,n[r>>2]=l,n[l>>2]=0,n[k>>2]=0):n[R>>2]=Z,n[v>>2]=0,n[v+4>>2]=0,n[v+8>>2]=B,n[E>>2]=v,(B=0|n[n[p>>2]>>2])?(n[p>>2]=B,W=0|n[E>>2]):W=v,pr(0|n[e+16>>2],W),n[(W=e+20|0)>>2]=1+(0|n[W>>2]),V=v),zA(A+4|0,0|n[l>>2]),zA(f,0|n[u>>2]),y=i,0|V+20}function Xe(e,r){e|=0;var i,f,t,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;if(i=(o=(a=0|A[11+(r|=0)>>0])<<24>>24<0)?0|n[r>>2]:r,(f=o?0|n[r+4>>2]:255&a)>>>0>3){for(a=i,r=f,o=f;b=0|G(l[a>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24,1540483477),r=(0|G(b>>>24^b,1540483477))^(0|G(r,1540483477)),!((o=o+-4|0)>>>0<=3);)a=a+4|0;c=(a=f+-4|0)-(o=-4&a)|0,u=i+(o+4)|0,s=r}else c=f,u=i,s=f;switch(0|c){case 3:k=l[u+2>>0]<<16^s,d=6;break;case 2:k=s,d=6;break;case 1:_=s,d=7;break;default:h=s}if(6==(0|d)&&(_=l[u+1>>0]<<8^k,d=7),7==(0|d)&&(h=0|G(_^l[u>>0],1540483477)),h=(u=0|G(h>>>13^h,1540483477))>>>15^u,!(u=0|n[e+4>>2]))return 0;if(t=(k=0==((_=u+-1|0)&u|0))?h&_:h>>>0<u>>>0?h:(h>>>0)%(u>>>0)|0,!(s=0|n[(0|n[e>>2])+(t<<2)>>2]))return 0;if(!(e=0|n[s>>2]))return 0;if(s=0==(0|f),k){k=e;e:for(;;){if(!((r=(0|(c=0|n[k+4>>2]))==(0|h))|(c&_|0)==(0|t))){p=0,d=40;break}do{if(r&&(b=255&(o=0|A[11+(c=k+8|0)>>0]),(0|((a=o<<24>>24<0)?0|n[k+12>>2]:b))==(0|f))){if(o=0|n[c>>2],w=a?o:c,a){if(s){p=k,d=40;break e}if(0|Wa(w,i,f))break;p=k,d=40;break e}if(s){p=k,d=40;break e}if((0|A[i>>0])==(255&o)<<24>>24){o=c,c=b,b=i;do{if(o=o+1|0,!(c=c+-1|0)){p=k,d=40;break e}b=b+1|0}while((0|A[o>>0])==(0|A[b>>0]))}}}while(0);if(!(k=0|n[k>>2])){p=0,d=40;break}}if(40==(0|d))return 0|p}else v=e;e:for(;;){e=0|n[v+4>>2];do{if((0|e)==(0|h)){if(b=255&(_=0|A[11+(k=v+8|0)>>0]),(0|((r=_<<24>>24<0)?0|n[v+12>>2]:b))==(0|f)){if(_=0|n[k>>2],o=r?_:k,r){if(s){p=v,d=40;break e}if(0|Wa(o,i,f))break;p=v,d=40;break e}if(s){p=v,d=40;break e}if((0|A[i>>0])==(255&_)<<24>>24){_=k,k=b,b=i;do{if(_=_+1|0,!(k=k+-1|0)){p=v,d=40;break e}b=b+1|0}while((0|A[_>>0])==(0|A[b>>0]))}}}else if((0|(e>>>0<u>>>0?e:(e>>>0)%(u>>>0)|0))!=(0|t)){p=0,d=40;break e}}while(0);if(!(v=0|n[v>>2])){p=0,d=40;break}}return 40==(0|d)?0|p:0}function Je(e,r){var i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),a=0|n[e>>2],n[e>>2]=t,0|a&&_b(a),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((a=0|n[(A=e+8|0)>>2])&&(t=0|n[a+4>>2],o=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(o<<2)>>2]=A,A=0|n[a>>2])){b=o,l=a,c=A,u=a;e:for(;;){a=l,A=c,o=u;r:for(;;){i:do{if(f)for(t=A;;){if((0|(s=n[t+4>>2]&i))==(0|b)){k=t;break i}if(d=(0|n[e>>2])+(s<<2)|0,!(0|n[d>>2])){_=t,h=s,p=d;break r}d=t+12|0,w=0|n[t>>2];f:do{if(w)for(y=0|n[t+8>>2],m=t,Z=w;;){if((0|y)!=(0|n[Z+8>>2])){v=m;break f}if((0|n[d>>2])!=(0|n[Z+12>>2])){v=m;break f}if(!(R=0|n[Z>>2])){v=Z;break}B=Z,Z=R,m=B}else v=t}while(0);if(n[o>>2]=n[v>>2],n[v>>2]=n[n[(0|n[e>>2])+(s<<2)>>2]>>2],n[n[(0|n[e>>2])+(s<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}else for(t=A;;){if((0|(E=(d=0|n[t+4>>2])>>>0<r>>>0?d:(d>>>0)%(r>>>0)|0))==(0|b)){k=t;break i}if(d=(0|n[e>>2])+(E<<2)|0,!(0|n[d>>2])){_=t,h=E,p=d;break r}d=t+12|0,w=0|n[t>>2];f:do{if(w)for(m=0|n[t+8>>2],Z=t,y=w;;){if((0|m)!=(0|n[y+8>>2])){W=Z;break f}if((0|n[d>>2])!=(0|n[y+12>>2])){W=Z;break f}if(!(B=0|n[y>>2])){W=y;break}R=y,y=B,Z=R}else W=t}while(0);if(n[o>>2]=n[W>>2],n[W>>2]=n[n[(0|n[e>>2])+(E<<2)>>2]>>2],n[n[(0|n[e>>2])+(E<<2)>>2]>>2]=t,!(t=0|n[a>>2]))break e}}while(0);if(!(A=0|n[k>>2]))break e;a=k,o=k}if(n[p>>2]=o,!(c=0|n[_>>2]))break;b=h,l=_,u=_}}}function ze(e,r,i,f,t){i|=0,f|=0,t|=0;var a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0;o=4+(e|=0)|0,r=a=0|n[(r|=0)>>2];do{if((0|a)!=(0|o)){if(0!=(0|(d=(l=(u=(c=(l=0|A[11+(b=a+16|0)>>0])<<24>>24<0)?0|n[a+20>>2]:255&l)>>>0<(k=(s=(l=0|A[t+11>>0])<<24>>24<0)?0|n[t+4>>2]:255&l)>>>0)?u:k))&&0!=(0|(_=0|Wa(s?0|n[t>>2]:t,c?0|n[b>>2]:b,d)))){if((0|_)<0)break}else h=4;if(4==(0|h)&&k>>>0<u>>>0)break;if(0!=(0|(_=k>>>0<u>>>0?k:u))&&0!=(0|(u=0|Wa(c?0|n[b>>2]:b,s?0|n[t>>2]:t,_)))?(0|u)>=0&&(h=37):h=21,21!=(0|h)||l||(h=37),37==(0|h))return n[i>>2]=r,n[f>>2]=r,0|f;if(u=0==(0|(l=0|n[a+4>>2])))if(b=0|n[(_=a+8|0)>>2],(0|n[b>>2])==(0|a))p=b;else{b=_;do{_=0|n[b>>2],c=0|n[(b=_+8|0)>>2]}while((0|n[c>>2])!=(0|_));p=c}else{for(b=l;c=0|n[b>>2];)b=c;p=b}do{if((0|p)!=(0|o)){if(0!=(0|(c=(d=(_=(c=0|A[11+(l=p+16|0)>>0])<<24>>24<0)?0|n[p+20>>2]:255&c)>>>0<k>>>0?d:k))&&0!=(0|(w=0|Wa(s?0|n[t>>2]:t,_?0|n[l>>2]:l,c)))){if((0|w)<0)break}else h=31;if(31==(0|h)&&k>>>0<d>>>0)break;return 0|Vi(e,i,t)}}while(0);return u?(n[i>>2]=r,0|a+4):(n[i>>2]=p,0|p)}}while(0);p=0|n[a>>2];do{if((0|n[e>>2])!=(0|a)){if(p)for(o=p;;){if(!(u=0|n[o+4>>2])){y=o;break}o=u}else for(o=a;;){if(f=0|n[o+8>>2],(0|n[f>>2])!=(0|o)){y=f;break}o=f}if(o=y,u=y+16|0,0!=(0|(f=(s=(k=(f=0|A[t+11>>0])<<24>>24<0)?0|n[t+4>>2]:255&f)>>>0<(d=(b=(f=0|A[u+11>>0])<<24>>24<0)?0|n[y+20>>2]:255&f)>>>0?s:d))&&0!=(0|(w=0|Wa(b?0|n[u>>2]:u,k?0|n[t>>2]:t,f)))){if((0|w)<0){v=o;break}}else h=13;if(13==(0|h)&&d>>>0<s>>>0){v=o;break}return 0|Vi(e,i,t)}v=r}while(0);return p?(n[i>>2]=v,0|v+4):(n[i>>2]=a,0|a)}function Oe(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if(t=y,y=y+16|0,a=t,n[48+(r|=0)>>2]=i,n[r+44>>2]=f,f=0|n[r+8>>2],(0|(b=0|n[(o=r+12|0)>>2]))!=(0|f)){l=b;do{b=l+-4|0,n[o>>2]=b,c=0|n[b>>2],n[b>>2]=0,0|c&&Eb[127&n[4+(0|n[c>>2])>>2]](c),l=0|n[o>>2]}while((0|l)!=(0|f))}if(f=0|n[r+20>>2],(0|(o=0|n[(l=r+24|0)>>2]))!=(0|f)&&(n[l>>2]=o+(~((o+-4-f|0)>>>2)<<2)),f=0|n[r+32>>2],(0|(l=0|n[(o=r+36|0)>>2]))!=(0|f)&&(n[o>>2]=l+(~((l+-4-f|0)>>>2)<<2)),!(0|n[r+4>>2])){f=0|Uo(32),n[a>>2]=f,n[a+8>>2]=-2147483616,n[a+4>>2]=23,s=14670,k=(u=f)+23|0;do{A[u>>0]=0|A[s>>0],u=u+1|0,s=s+1|0}while((0|u)<(0|k));return A[f+23>>0]=0,n[e>>2]=-1,YA(e+4|0,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=t)}if(qe(e,r),0|n[e>>2])y=t;else if((0|A[(l=11+(f=e+4|0)|0)>>0])<0&&_b(0|n[f>>2]),function(e,r){e|=0;var i,f,t=0,a=0,o=0;if(i=y,y=y+16|0,f=i,!(t=0|n[4+(0|n[(r|=0)+4>>2])>>2]))return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);if(0|function(e,r,i){e|=0,r|=0;var f=0,A=0,t=0;if(!(i|=0))return 0;if(f=i+40|0,Mf((0|n[(A=i+44|0)>>2])-(0|n[f>>2])>>2,r),(0|(t=0|n[f>>2]))!=(0|(f=0|n[A>>2]))){A=t;do{0|(t=0|n[A>>2])&&(Mf(0|n[t+40>>2],r),pi(e,r,t)),A=A+4|0}while((0|A)!=(0|f))}return pi(e,r,i),0|1}(i+12|0,0|n[r+44>>2],t))n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0;else{t=0|Uo(32),n[f>>2]=t,n[f+8>>2]=-2147483616,n[f+4>>2]=26,a=14822,o=(r=t)+26|0;do{A[r>>0]=0|A[a>>0],r=r+1|0,a=a+1|0}while((0|r)<(0|o));A[t+26>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2])}y=i}(e,r),0|n[e>>2])y=t;else{if((0|A[l>>0])<0&&_b(0|n[f>>2]),!(0|yb[127&n[16+(0|n[r>>2])>>2]](r))){o=0|Uo(32),n[a>>2]=o,n[a+8>>2]=-2147483616,n[a+4>>2]=29,s=14694,k=(u=o)+29|0;do{A[u>>0]=0|A[s>>0],u=u+1|0,s=s+1|0}while((0|u)<(0|k));return A[o+29>>0]=0,n[e>>2]=-1,YA(f,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=t)}if(!(0|yb[127&n[20+(0|n[r>>2])>>2]](r))){o=0|Uo(32),n[a>>2]=o,n[a+8>>2]=-2147483616,n[a+4>>2]=31,s=14724,k=(u=o)+31|0;do{A[u>>0]=0|A[s>>0],u=u+1|0,s=s+1|0}while((0|u)<(0|k));return A[o+31>>0]=0,n[e>>2]=-1,YA(f,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=t)}if(Wb[15&n[24+(0|n[r>>2])>>2]](e,r),0|n[e>>2])y=t;else{if((0|A[l>>0])<0&&_b(0|n[f>>2]),!(0|yb[127&n[28+(0|n[r>>2])>>2]](r))){l=0|Uo(48),n[a>>2]=l,n[a+8>>2]=-2147483600,n[a+4>>2]=34,s=14756,k=(u=l)+34|0;do{A[u>>0]=0|A[s>>0],u=u+1|0,s=s+1|0}while((0|u)<(0|k));return A[l+34>>0]=0,n[e>>2]=-1,YA(f,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=t)}f=0|Uo(32),n[a>>2]=f,n[a+8>>2]=-2147483616,n[a+4>>2]=30,s=14791,k=(u=f)+30|0;do{A[u>>0]=0|A[s>>0],u=u+1|0,s=s+1|0}while((0|u)<(0|k));A[f+30>>0]=0,f=0|ia(i,a,0),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),f&&Eb[127&n[48+(0|n[r>>2])>>2]](r),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,y=t}}}function Se(e,r,i,f,A){A|=0;var t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,g=0,Y=0;if(a=e|=0,t=i|=0,c=l=f|=0,!(b=o=r|=0))return u=0!=(0|A),c?u?(n[A>>2]=0|e,n[A+4>>2]=0&r,0|(E=s=0,k=0)):0|(E=s=0,k=0):(u&&(n[A>>2]=(a>>>0)%(t>>>0),n[A+4>>2]=0),0|(E=s=0,k=(a>>>0)/(t>>>0)>>>0));u=0==(0|c);do{if(t){if(!u){if((d=(0|U(0|c))-(0|U(0|b))|0)>>>0<=31){w=_=d+1|0,v=a>>>(_>>>0)&(p=d-31>>31)|b<<(h=31-d|0),y=b>>>(_>>>0)&p,m=0,Z=a<<h;break}return A?(n[A>>2]=0|e,n[A+4>>2]=o|0&r,0|(E=s=0,k=0)):0|(E=s=0,k=0)}if((h=t-1|0)&t|0){w=p=33+(0|U(0|t))-(0|U(0|b))|0,v=(d=32-p|0)-1>>31&b>>>((B=p-32|0)>>>0)|(b<<d|a>>>(p>>>0))&(W=B>>31),y=W&b>>>(p>>>0),m=a<<(_=64-p|0)&(R=d>>31),Z=(b<<_|a>>>(B>>>0))&R|a<<d&p-33>>31;break}return 0|A&&(n[A>>2]=h&a,n[A+4>>2]=0),1==(0|t)?0|(E=s=o|0&r,k=0|e):(h=0|lo(0|t),0|(E=s=b>>>(h>>>0)|0,k=b<<32-h|a>>>(h>>>0)|0))}if(u)return 0|A&&(n[A>>2]=(b>>>0)%(t>>>0),n[A+4>>2]=0),0|(E=s=0,(b>>>0)/(t>>>0)>>>0);if(!a)return 0|A&&(n[A>>2]=0,n[A+4>>2]=(b>>>0)%(c>>>0)),0|(E=s=0,(b>>>0)/(c>>>0)>>>0);if(!((h=c-1|0)&c))return 0|A&&(n[A>>2]=0|e,n[A+4>>2]=h&b|0&r),s=0,k=b>>>((0|lo(0|c))>>>0),0|(E=s,k);if((h=(0|U(0|c))-(0|U(0|b))|0)>>>0<=30){w=p=h+1|0,v=b<<(d=31-h|0)|a>>>(p>>>0),y=b>>>(p>>>0),m=0,Z=a<<d;break}return A?(n[A>>2]=0|e,n[A+4>>2]=o|0&r,0|(E=s=0,k=0)):0|(E=s=0,k=0)}while(0);if(w){f=0|Ho(0|(r=0|i),0|(i=l|0&f),-1,-1),l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|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=t,0|o&&_b(o),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((o=0|n[(A=e+8|0)>>2])&&(t=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=A,A=0|n[o>>2])){l=b,c=o,u=A,s=o;e:for(;;){r:do{if(f)for(o=c,A=u,b=s;;){for(t=A;(0|(k=n[t+4>>2]&i))!=(0|l);){if(d=(0|n[e>>2])+(k<<2)|0,!(0|n[d>>2])){_=t,h=b,p=k,w=d;break r}for(d=t+8|0,v=t;(y=0|n[v>>2])&&(0|a[d>>1])==(0|a[y+8>>1]);)v=y;if(n[b>>2]=y,n[v>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=t,!(d=0|n[o>>2]))break e;t=d}if(!(A=0|n[t>>2]))break e;o=t,b=t}else for(b=c,o=u,A=s;;){for(d=o;(0|(Z=(m=0|n[d+4>>2])>>>0<r>>>0?m:(m>>>0)%(r>>>0)|0))!=(0|l);){if(m=(0|n[e>>2])+(Z<<2)|0,!(0|n[m>>2])){_=d,h=A,p=Z,w=m;break r}for(m=d+8|0,R=d;(B=0|n[R>>2])&&(0|a[m>>1])==(0|a[B+8>>1]);)R=B;if(n[A>>2]=B,n[R>>2]=n[n[(0|n[e>>2])+(Z<<2)>>2]>>2],n[n[(0|n[e>>2])+(Z<<2)>>2]>>2]=d,!(m=0|n[b>>2]))break e;d=m}if(!(o=0|n[d>>2]))break e;b=d,A=d}}while(0);if(n[w>>2]=h,!(u=0|n[_>>2]))break;l=p,c=_,s=_}}}function xe(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){l=b,c=o,u=t,s=o;e:for(;;){r:do{if(f)for(o=c,t=u,b=s;;){for(a=t;(0|(k=n[a+4>>2]&i))!=(0|l);){if(d=(0|n[e>>2])+(k<<2)|0,!(0|n[d>>2])){_=a,h=b,p=k,w=d;break r}for(d=a+8|0,v=a;(y=0|n[v>>2])&&(0|A[d>>0])==(0|A[y+8>>0]);)v=y;if(n[b>>2]=y,n[v>>2]=n[n[(0|n[e>>2])+(k<<2)>>2]>>2],n[n[(0|n[e>>2])+(k<<2)>>2]>>2]=a,!(d=0|n[o>>2]))break e;a=d}if(!(t=0|n[a>>2]))break e;o=a,b=a}else for(b=c,o=u,t=s;;){for(d=o;(0|(Z=(m=0|n[d+4>>2])>>>0<r>>>0?m:(m>>>0)%(r>>>0)|0))!=(0|l);){if(m=(0|n[e>>2])+(Z<<2)|0,!(0|n[m>>2])){_=d,h=t,p=Z,w=m;break r}for(m=d+8|0,R=d;(B=0|n[R>>2])&&(0|A[m>>0])==(0|A[B+8>>0]);)R=B;if(n[t>>2]=B,n[R>>2]=n[n[(0|n[e>>2])+(Z<<2)>>2]>>2],n[n[(0|n[e>>2])+(Z<<2)>>2]>>2]=d,!(m=0|n[b>>2]))break e;d=m}if(!(o=0|n[d>>2]))break e;b=d,t=d}}while(0);if(n[w>>2]=h,!(u=0|n[_>>2]))break;l=p,c=_,s=_}}}function Pe(e,r,i,f,A,t){e|=0,r|=0,f|=0,A|=0,t|=0;var a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0;if(a=(t=0|n[(i|=0)>>2])-(i=0|n[r>>2])|0,b=0|n[(o=e+8|0)>>2],a>>>0<64){if(b>>>0<=1)return 0;for(c=0|n[A>>2],u=0,s=1;;){if(k=(0|n[c+(u<<2)>>2])>>>0>(0|n[c+(s<<2)>>2])>>>0?s:u,(s=s+1|0)>>>0>=b>>>0){l=k;break}u=k}return 0|l}if(b){if(b=0|n[e+1128>>2],u=0|n[A>>2],A=0|n[e+1140>>2],s=0|n[f>>2],f=r+4|0,c=r+8|0,(0|t)==(0|i)){r=0;do{n[(k=b+(r<<2)|0)>>2]=0,d=(0|n[e>>2])-(0|n[u+(r<<2)>>2])|0,n[A+(r<<2)>>2]=d,0|d&&(_=a-(d=0|n[k>>2])|0,n[k>>2]=_>>>0<d>>>0?d:_),r=r+1|0,_=0|n[o>>2]}while(r>>>0<_>>>0);h=_}else{r=0;do{if(n[(_=b+(r<<2)|0)>>2]=0,d=(0|n[e>>2])-(0|n[u+(r<<2)>>2])|0,n[A+(r<<2)>>2]=d,0|d){k=(0|n[s+(r<<2)>>2])+(1<<d+-1)|0,d=0|n[c>>2],p=0|n[24+(0|n[f>>2])>>2],w=i,v=0|n[_>>2];do{y=p+((0|G(w,d))<<2)+(r<<2)|0,v=v+((0|n[y>>2])>>>0<k>>>0&1)|0,n[_>>2]=v,w=w+1|0}while((0|w)!=(0|t));w=a-v|0,n[_>>2]=w>>>0<v>>>0?v:w}r=r+1|0,w=0|n[o>>2]}while(r>>>0<w>>>0);h=w}if(h)for(r=0|n[e+1140>>2],o=e+1128|0,a=0,t=0,i=0;;){if(0|n[r+(t<<2)>>2]?(m=(c=a>>>0<(f=0|n[(0|n[o>>2])+(t<<2)>>2])>>>0)?f:a,Z=c?t:i):(m=a,Z=i),(t=t+1|0)>>>0>=h>>>0){R=Z;break}a=m,i=Z}else R=0}else R=0;return Z=e+1088|0,(0|(a=32-(m=0|n[(i=e+1104|0)>>2])|0))<4?(h=15&R,t=4-a|0,n[i>>2]=t,o=n[(a=e+1100|0)>>2]|h>>>t,n[a>>2]=o,(0|(r=0|n[(t=e+1092|0)>>2]))==(0|n[e+1096>>2])?sA(Z,a):(n[r>>2]=o,n[t>>2]=r+4),n[a>>2]=h<<32-(0|n[i>>2]),0|(l=R)):(a=n[(h=e+1100|0)>>2]|R<<28>>>m,n[h>>2]=a,r=m+4|0,n[i>>2]=r,32!=(0|r)||((0|(m=0|n[(r=e+1092|0)>>2]))==(0|n[e+1096>>2])?sA(Z,h):(n[m>>2]=a,n[r>>2]=m+4),n[h>>2]=0,n[i>>2]=0),0|(l=R))}function Le(e,r){var i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0;if(A=4+(e|=0)|0,!(r|=0))return t=0|n[e>>2],n[e>>2]=0,0|t&&_b(t),void(n[A>>2]=0);r>>>0>1073741823&&(_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)),t=0|Uo(r<<2),a=0|n[e>>2],n[e>>2]=t,0|a&&_b(a),n[A>>2]=r,A=0;do{n[(0|n[e>>2])+(A<<2)>>2]=0,A=A+1|0}while((0|A)!=(0|r));if((a=0|n[(A=e+8|0)>>2])&&(t=0|n[a+4>>2],o=(f=0==((i=r+-1|0)&r|0))?t&i:t>>>0<r>>>0?t:(t>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(o<<2)>>2]=A,A=0|n[a>>2])){b=o,l=a,c=A,u=a;e:for(;;){r:do{if(f)for(a=l,A=c,o=u;;){for(t=A;(0|(s=n[t+4>>2]&i))!=(0|b);){if(k=(0|n[e>>2])+(s<<2)|0,!(0|n[k>>2])){d=t,_=o,h=s,p=k;break r}for(k=t+8|0,w=t;(v=0|n[w>>2])&&(0|n[k>>2])==(0|n[v+8>>2]);)w=v;if(n[o>>2]=v,n[w>>2]=n[n[(0|n[e>>2])+(s<<2)>>2]>>2],n[n[(0|n[e>>2])+(s<<2)>>2]>>2]=t,!(k=0|n[a>>2]))break e;t=k}if(!(A=0|n[t>>2]))break e;a=t,o=t}else for(o=l,a=c,A=u;;){for(k=a;(0|(m=(y=0|n[k+4>>2])>>>0<r>>>0?y:(y>>>0)%(r>>>0)|0))!=(0|b);){if(y=(0|n[e>>2])+(m<<2)|0,!(0|n[y>>2])){d=k,_=A,h=m,p=y;break r}for(y=k+8|0,Z=k;(R=0|n[Z>>2])&&(0|n[y>>2])==(0|n[R+8>>2]);)Z=R;if(n[A>>2]=R,n[Z>>2]=n[n[(0|n[e>>2])+(m<<2)>>2]>>2],n[n[(0|n[e>>2])+(m<<2)>>2]>>2]=k,!(y=0|n[o>>2]))break e;k=y}if(!(a=0|n[k>>2]))break e;o=k,A=k}}while(0);if(n[p>>2]=_,!(c=0|n[d>>2]))break;b=h,l=d,u=d}}}function Ke(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(t=4+(e|=0)|0,!(r|=0))return a=0|n[e>>2],n[e>>2]=0,0|a&&_b(a),void(n[t>>2]=0);r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=0|Uo(r<<2),o=0|n[e>>2],n[e>>2]=a,0|o&&_b(o),n[t>>2]=r,t=0;do{n[(0|n[e>>2])+(t<<2)>>2]=0,t=t+1|0}while((0|t)!=(0|r));if((o=0|n[(t=e+8|0)>>2])&&(a=0|n[o+4>>2],b=(f=0==((i=r+-1|0)&r|0))?a&i:a>>>0<r>>>0?a:(a>>>0)%(r>>>0)|0,n[(0|n[e>>2])+(b<<2)>>2]=t,t=0|n[o>>2])){a=e+24|0,l=b,b=o,c=t,t=o;e:for(;;){o=b,u=c,s=t;r:for(;;){for(k=u;d=0|n[k+4>>2],(0|(_=f?d&i:d>>>0<r>>>0?d:(d>>>0)%(r>>>0)|0))!=(0|l);){if(h=(0|n[e>>2])+(_<<2)|0,!(0|n[h>>2]))break r;d=0|n[k>>2];i:do{if(d){if(w=0|n[k+8>>2],v=0|n[a>>2],y=0|n[v+8>>2],m=(0|n[v+12>>2])-y|0,v=y,y=m>>>2,(0|m)>0)Z=k,R=d;else for(m=d;;){if(!(B=0|n[m>>2])){p=m;break i}m=B}for(;;){m=0|n[R+8>>2],B=0;do{if(E=0|n[v+(B<<2)>>2],0|A[E+84>>0]?(V=m,N=w):(W=0|n[E+68>>2],V=0|n[W+(m<<2)>>2],N=0|n[W+(w<<2)>>2]),B=B+1|0,(0|N)!=(0|V)){p=Z;break i}}while((0|B)<(0|y));if(!(B=0|n[R>>2])){p=R;break}m=R,R=B,Z=m}}else p=k}while(0);if(n[s>>2]=n[p>>2],n[p>>2]=n[n[(0|n[e>>2])+(_<<2)>>2]>>2],n[n[(0|n[e>>2])+(_<<2)>>2]>>2]=k,!(d=0|n[o>>2]))break e;k=d}if(!(u=0|n[k>>2]))break e;o=k,s=k}if(n[h>>2]=s,!(c=0|n[k>>2]))break;l=_,b=k,t=k}}}function qe(e,r){e|=0;var i,f,t,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;if(i=y,y=y+16|0,f=i+4|0,t=i,o=i+12|0,l=i+11|0,c=i+10|0,b=i+8|0,s=0|n[(u=44+(r|=0)|0)>>2],(0|(d=0|n[4+(k=s+16|0)>>2]))>0|0==(0|d)&(0|n[k>>2])>>>0>0||(n[t>>2]=n[s+4>>2],n[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R),w=w+1|0}while((0|w)!=(0|o));p=p+1|0}while(p>>>0<s>>>0)}}while(0);if(i<<24>>24>0)for(i=0|n[b>>2],b=0,R=g(d[t>>2]);;){if(Z=g(d[h+(b<<2)>>2]),(v=g(Z-g(d[i+(b<<2)>>2])))>R?(d[t>>2]=v,B=v):B=R,(0|(b=b+1|0))==(0|o)){W=B;break}R=B}else W=g(d[t>>2]);return W==g(0)&&(d[t>>2]=g(1)),db(k),db(h),y=f,1}function er(e,r,i,f){r|=0,i|=0,f|=0;var A,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0;if(l=A=0|n[(e|=0)>>2],r=A+((c=(0|n[r>>2])-l|0)>>2<<2)|0,k=u=0|n[i>>2],t=i=0|n[f>>2],(0|(f=i-u|0))<=0)return 0|r;if((0|(s=f>>2))<=((_=0|n[(f=e+8|0)>>2])-(b=o=0|n[(a=e+4|0)>>2])>>2|0)){if((0|s)>(0|(w=(p=b-(h=r)|0)>>2))){if(w=v=k+(w<<2)|0,(0|v)==(0|t))y=o;else{for(m=t+-4-w|0,Z=v,v=o;n[v>>2]=n[Z>>2],(0|(Z=Z+4|0))!=(0|t);)v=v+4|0;v=o+(1+(m>>>2)<<2)|0,n[a>>2]=v,y=v}if(!((0|p)>0))return 0|r;R=w,B=y}else R=i,B=o;if((y=r+((i=B-(r+(s<<2))>>2)<<2)|0)>>>0<o>>>0){for(w=(o+(0-i<<2)+~h|0)>>>2,h=y,p=B;n[p>>2]=n[h>>2],!((h=h+4|0)>>>0>=o>>>0);)p=p+4|0;n[a>>2]=B+(w+1<<2)}if(0|i){i=y,y=B;do{i=i+-4|0,n[(y=y+-4|0)>>2]=n[i>>2]}while((0|i)!=(0|r))}if((0|k)==(0|(i=R)))return 0|r;for(E=r,W=k;;){if(n[E>>2]=n[W>>2],(0|(W=W+4|0))==(0|i)){d=r;break}E=E+4|0}return 0|d}(E=(b-l>>2)+s|0)>>>0>1073741823&&On(),l=(s=_-l|0)>>1,_=s>>2>>>0<536870911?l>>>0<E>>>0?E:l:1073741823,l=r,E=c>>2;do{if(_){if(!(_>>>0>1073741823)){V=s=0|Uo(_<<2),N=s;break}_n(s=0|j(8),14941),n[s>>2]=6944,Q(0|s,1080,114)}else V=0,N=0}while(0);if(s=N+(E<<2)|0,E=N+(_<<2)|0,(0|t)==(0|k))G=s;else{for(_=1+((t+-4-u|0)>>>2)|0,u=k,k=s;n[k>>2]=n[u>>2],(0|(u=u+4|0))!=(0|t);)k=k+4|0;G=s+(_<<2)|0}return(0|c)>0&&qi(0|V,0|A,0|c),(0|(c=b-l|0))>0?(qi(0|G,0|r,0|c),F=G+(c>>>2<<2)|0):F=G,n[e>>2]=N,n[a>>2]=F,n[f>>2]=E,A?(_b(A),0|(d=s)):0|(d=s)}function rr(e,r,i,f,A,t,a){e|=0,f|=0,A|=0,t|=0,a|=0;var o=0;switch(0|(i|=0)){case 1:return i=0|Uo(60),n[i>>2]=1528,n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[a+16>>2]=n[A+16>>2],n[a+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(a=i+44|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=1948,o=i,void(n[e>>2]=o);case 4:return function(e,r,i,f){r|=0,i|=0,f|=0,n[(e|=0)>>2]=1528,n[e+4>>2]=r,n[(r=e+8|0)>>2]=n[i>>2],n[r+4>>2]=n[i+4>>2],n[r+8>>2]=n[i+8>>2],n[r+12>>2]=n[i+12>>2],n[r+16>>2]=n[i+16>>2],n[r+20>>2]=n[i+20>>2],ba(e+32|0,i+24|0),n[e>>2]=2144,n[(i=e+44|0)>>2]=n[f>>2],n[i+4>>2]=n[f+4>>2],n[i+8>>2]=n[f+8>>2],n[i+12>>2]=n[f+12>>2],n[e>>2]=2200,f=e+112|0,r=(i=e+60|0)+52|0;do{n[i>>2]=0,i=i+4|0}while((0|i)<(0|r));Ro(f),n[e+152>>2]=0,n[e+156>>2]=0,n[e+160>>2]=0}(i=0|Uo(168),f,A,t),o=i,void(n[e>>2]=o);case 5:return i=0|Uo(104),n[i>>2]=1528,n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[a+16>>2]=n[A+16>>2],n[a+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(a=i+44|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2004,n[i+60>>2]=0,n[i+64>>2]=0,n[i+76>>2]=0,n[i+80>>2]=0,n[i+84>>2]=0,n[(a=i+88|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],o=i,void(n[e>>2]=o);case 6:return i=0|Uo(140),n[i>>2]=1528,n[i+4>>2]=f,n[(f=i+8|0)>>2]=n[A>>2],n[f+4>>2]=n[A+4>>2],n[f+8>>2]=n[A+8>>2],n[f+12>>2]=n[A+12>>2],n[f+16>>2]=n[A+16>>2],n[f+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(A=i+44|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i>>2]=2060,n[i+64>>2]=0,n[i+68>>2]=0,n[(A=i+72|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i+60>>2]=2116,n[i+88>>2]=1,n[(t=i+92|0)>>2]=-1,n[t+4>>2]=-1,n[t+8>>2]=-1,n[t+12>>2]=-1,Io(i+108|0),o=i,void(n[e>>2]=o);default:return o=0,void(n[e>>2]=o)}}function ir(e,r,i,f,A,t,a){e|=0,f|=0,A|=0,t|=0,a|=0;var o=0;switch(0|(i|=0)){case 1:return i=0|Uo(60),n[i>>2]=1528,n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[a+16>>2]=n[A+16>>2],n[a+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(a=i+44|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=1640,o=i,void(n[e>>2]=o);case 4:return function(e,r,i,f){r|=0,i|=0,f|=0,n[(e|=0)>>2]=1528,n[e+4>>2]=r,n[(r=e+8|0)>>2]=n[i>>2],n[r+4>>2]=n[i+4>>2],n[r+8>>2]=n[i+8>>2],n[r+12>>2]=n[i+12>>2],n[r+16>>2]=n[i+16>>2],n[r+20>>2]=n[i+20>>2],ba(e+32|0,i+24|0),n[e>>2]=1836,n[(i=e+44|0)>>2]=n[f>>2],n[i+4>>2]=n[f+4>>2],n[i+8>>2]=n[f+8>>2],n[i+12>>2]=n[f+12>>2],n[e>>2]=1892,f=e+112|0,r=(i=e+60|0)+52|0;do{n[i>>2]=0,i=i+4|0}while((0|i)<(0|r));Ro(f),n[e+152>>2]=0,n[e+156>>2]=0,n[e+160>>2]=0}(i=0|Uo(168),f,A,t),o=i,void(n[e>>2]=o);case 5:return i=0|Uo(104),n[i>>2]=1528,n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[a+16>>2]=n[A+16>>2],n[a+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(a=i+44|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=1696,n[i+60>>2]=0,n[i+64>>2]=0,n[i+76>>2]=0,n[i+80>>2]=0,n[i+84>>2]=0,n[(a=i+88|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],o=i,void(n[e>>2]=o);case 6:return i=0|Uo(140),n[i>>2]=1528,n[i+4>>2]=f,n[(f=i+8|0)>>2]=n[A>>2],n[f+4>>2]=n[A+4>>2],n[f+8>>2]=n[A+8>>2],n[f+12>>2]=n[A+12>>2],n[f+16>>2]=n[A+16>>2],n[f+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[(A=i+44|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i>>2]=1752,n[i+64>>2]=0,n[i+68>>2]=0,n[(A=i+72|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i+60>>2]=1808,n[i+88>>2]=1,n[(t=i+92|0)>>2]=-1,n[t+4>>2]=-1,n[t+8>>2]=-1,n[t+12>>2]=-1,Io(i+108|0),o=i,void(n[e>>2]=o);default:return o=0,void(n[e>>2]=o)}}function fr(e,r,i,f,A,t,a){e|=0,r|=0,f|=0,A|=0,t|=0,a|=0;var o=0,b=0;switch(0|(i|=0)){case 1:return i=0|Uo(40),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2628,o=i,void(n[e>>2]=o);case 4:i=0|Uo(152),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2684,a=i+96|0,b=52+(r=i+40|0)|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|b));return Ro(a),n[i+136>>2]=0,n[i+140>>2]=0,n[i+144>>2]=0,o=i,void(n[e>>2]=o);case 5:return i=0|Uo(84),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2740,n[i+40>>2]=0,n[i+44>>2]=0,n[i+56>>2]=0,n[i+60>>2]=0,n[i+64>>2]=0,n[(a=i+68|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],o=i,void(n[e>>2]=o);case 6:return i=0|Uo(120),n[i+4>>2]=f,n[(f=i+8|0)>>2]=n[A>>2],n[f+4>>2]=n[A+4>>2],n[f+8>>2]=n[A+8>>2],n[f+12>>2]=n[A+12>>2],n[(A=i+24|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i>>2]=2796,n[i+44>>2]=0,n[i+48>>2]=0,n[(A=i+52|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i+40>>2]=2852,n[i+68>>2]=1,n[(t=i+72|0)>>2]=-1,n[t+4>>2]=-1,n[t+8>>2]=-1,n[t+12>>2]=-1,Io(i+88|0),o=i,void(n[e>>2]=o);default:return o=0,void(n[e>>2]=o)}}function Ar(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0;switch((r|=0)-(e|=0)>>2|0){case 2:return A=0|n[(f=r+-4|0)>>2],t=0|n[e>>2],a=0|n[i>>2],o=0|n[a>>2],(b=(0|n[a+4>>2])-o>>3)>>>0<=A>>>0&&On(),l=o,b>>>0<=t>>>0&&On(),(0|n[l+(A<<3)>>2])>>>0>=(0|n[l+(t<<3)>>2])>>>0||(n[e>>2]=A,n[f>>2]=t),1;case 3:return Ji(e,e+4|0,r+-4|0,i),1;case 4:return Ki(e,e+4|0,e+8|0,r+-4|0,i),1;case 5:return _i(e,e+4|0,e+8|0,e+12|0,r+-4|0,i),1;case 1:case 0:return 1;default:Ji(e,e+4|0,t=e+8|0,i),f=e+12|0;e:do{if((0|f)!=(0|r)){A=0|n[i>>2],l=0|n[A>>2],a=(0|n[A+4>>2])-l>>3,b=l,l=f,o=0,c=t;r:for(;;){if(u=0|n[l>>2],s=0|n[c>>2],a>>>0<=u>>>0){k=14;break}if(a>>>0<=s>>>0){k=16;break}if((0|n[(d=b+(u<<3)|0)>>2])>>>0<(0|n[b+(s<<3)>>2])>>>0){for(_=c,h=l,p=s;;){if(n[h>>2]=p,(0|_)==(0|e)){w=e;break}if(a>>>0<=(p=0|n[(s=_+-4|0)>>2])>>>0){k=20;break r}if((0|n[d>>2])>>>0>=(0|n[b+(p<<3)>>2])>>>0){w=_;break}v=_,_=s,h=v}if(n[w>>2]=u,8==(0|(h=o+1|0))){y=0,m=(l+4|0)==(0|r);break e}Z=h}else Z=o;if((0|(h=l+4|0))==(0|r)){y=1,m=0;break e}_=l,l=h,o=Z,c=_}(14==(0|k)||16==(0|k)||20==(0|k))&&On()}else y=1,m=0}while(0);return m|y|0}return 0}function tr(e,r,i,f,A,t,a){e|=0,r|=0,f|=0,A|=0,t|=0,a|=0;var o=0,b=0;switch(0|(i|=0)){case 1:return i=0|Uo(40),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2376,o=i,void(n[e>>2]=o);case 4:i=0|Uo(152),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2432,a=i+96|0,b=52+(r=i+40|0)|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|b));return Ro(a),n[i+136>>2]=0,n[i+140>>2]=0,n[i+144>>2]=0,o=i,void(n[e>>2]=o);case 5:return i=0|Uo(84),n[i+4>>2]=f,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[(a=i+24|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[i>>2]=2488,n[i+40>>2]=0,n[i+44>>2]=0,n[i+56>>2]=0,n[i+60>>2]=0,n[i+64>>2]=0,n[(a=i+68|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],o=i,void(n[e>>2]=o);case 6:return i=0|Uo(120),n[i+4>>2]=f,n[(f=i+8|0)>>2]=n[A>>2],n[f+4>>2]=n[A+4>>2],n[f+8>>2]=n[A+8>>2],n[f+12>>2]=n[A+12>>2],n[(A=i+24|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i>>2]=2544,n[i+44>>2]=0,n[i+48>>2]=0,n[(A=i+52|0)>>2]=n[t>>2],n[A+4>>2]=n[t+4>>2],n[A+8>>2]=n[t+8>>2],n[A+12>>2]=n[t+12>>2],n[i+40>>2]=2600,n[i+68>>2]=1,n[(t=i+72|0)>>2]=-1,n[t+4>>2]=-1,n[t+8>>2]=-1,n[t+12>>2]=-1,Io(i+88|0),o=i,void(n[e>>2]=o);default:return o=0,void(n[e>>2]=o)}}function ar(e,r){e|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0;i=0|n[(r|=0)>>2],f=0==(0|(o=0|n[(r=e+4|0)>>2]));e:do{if(f)s=0;else{if(c=(l=0==((b=o+-1|0)&o|0))?b&i:i>>>0<o>>>0?i:(i>>>0)%(o>>>0)|0,u=0|n[(0|n[e>>2])+(c<<2)>>2]){if(l){for(l=u;;){if(!(k=0|n[l>>2])){s=c;break e}if(!((0|(_=0|n[k+4>>2]))==(0|i)|(_&b|0)==(0|c))){s=c;break e}if((0|n[k+8>>2])==(0|i)){h=k;break}l=k}return 0|h+12}for(p=u;;){if(!(l=0|n[p>>2])){s=c;break e}if((0|(b=0|n[l+4>>2]))!=(0|i)&&(0|(w=b>>>0<o>>>0?b:(b>>>0)%(o>>>0)|0))!=(0|c)){s=c;break e}if((0|n[l+8>>2])==(0|i)){h=l;break}p=l}return 0|h+12}s=c}}while(0);p=0|Uo(16),n[p+8>>2]=i,n[p+12>>2]=0,n[p+4>>2]=i,n[p>>2]=0,A=g((1+(0|n[(c=e+12|0)>>2])|0)>>>0),t=g(o>>>0),a=g(d[e+16>>2]);do{if(f|g(a*t)<A){if(aA(e,(w=o<<1|1&(o>>>0<3|0!=(o+-1&o|0)))>>>0<(u=~~g(N(g(A/a)))>>>0)>>>0?u:w),!((u=(w=0|n[r>>2])-1|0)&w)){v=w,y=u&i;break}i>>>0<w>>>0?(v=w,y=i):(v=w,y=(i>>>0)%(w>>>0)|0)}else v=o,y=s}while(0);return s=(0|n[e>>2])+(y<<2)|0,(y=0|n[s>>2])?(n[p>>2]=n[y>>2],Z=y,R=30):(o=e+8|0,n[p>>2]=n[o>>2],n[o>>2]=p,n[s>>2]=o,0|(o=0|n[p>>2])&&(s=0|n[o+4>>2],m=(o=v+-1|0)&v?s>>>0<v>>>0?s:(s>>>0)%(v>>>0)|0:s&o,Z=(0|n[e>>2])+(m<<2)|0,R=30)),30==(0|R)&&(n[Z>>2]=p),n[c>>2]=1+(0|n[c>>2]),0|(h=p)+12}function or(e,r){r|=0;var i,f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;i=y,y=y+16|0,f=i+4|0,t=i,o=i+9|0,a=i+8|0,b=255&n[(0|n[184+(e|=0)>>2])+(r<<2)>>2],A[o>>0]=b,l=0|n[44+(0|n[(r=e+4|0)>>2])>>2],(0|(u=0|n[4+(c=l+16|0)>>2]))>0|0==(0|u)&(0|n[c>>2])>>>0>0?s=b:(n[t>>2]=n[l+4>>2],n[f>>2]=n[t>>2],hr(l,f,o,o+1|0),s=0|A[o>>0]);e:do{if(s<<24>>24>-1){switch(b=0|n[(0|n[(l=e+172|0)>>2])+(136*(s<<24>>24)|0)>>2],c=56+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,u=0|A[o>>0],k=0|n[l>>2],l=0|n[k+(136*u|0)+132>>2],0|n[(0|n[84+(0|n[c>>2])>>2])+(b<<2)>>2]){case 0:d=l,_=7;break e;case 1:if(0|A[k+(136*u|0)+28>>0]){d=l,_=7;break e}}u=0|n[44+(0|n[r>>2])>>2],A[a>>0]=1,(0|(b=0|n[4+(k=u+16|0)>>2]))>0|0==(0|b)&(0|n[k>>2])>>>0>0||(n[t>>2]=n[u+4>>2],n[f>>2]=n[t>>2],hr(u,f,a,a+1|0)),h=l}else d=0|n[e+68>>2],_=7}while(0);return 7==(0|_)&&(_=0|n[44+(0|n[r>>2])>>2],A[a>>0]=0,(0|(o=0|n[4+(e=_+16|0)>>2]))>0|0==(0|o)&(0|n[e>>2])>>>0>0||(n[t>>2]=n[_+4>>2],n[f>>2]=n[t>>2],hr(_,f,a,a+1|0)),h=d),d=0|n[44+(0|n[r>>2])>>2],A[a>>0]=h,(0|(r=0|n[4+(h=d+16|0)>>2]))>0|0==(0|r)&(0|n[h>>2])>>>0>0?(y=i,1):(n[t>>2]=n[d+4>>2],n[f>>2]=n[t>>2],hr(d,f,a,a+1|0),y=i,1)}function nr(e){var r,i,f,A,t,a,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0;if(r=y,y=y+16|0,i=r+4|0,f=r,c=0|n[(A=12+(e|=0)|0)>>2],!(t=(0|n[c+4>>2])-(0|n[c>>2])>>2))return y=r,1;for(a=e+152|0,o=e+140|0,b=e+144|0,l=e+148|0,e=0,u=c;;){if(n[f>>2]=(e>>>0)/3|0,n[i>>2]=n[f>>2],!(0|Aa(u,i))&&(c=0|n[A>>2],-1==(0|n[(0|n[c+12>>2])+(e<<2)>>2]))&&(d=-1==(0|(k=0==(0|((s=e+1|0)>>>0)%3)?e+-2|0:s))?-1:0|n[(0|n[c>>2])+(k<<2)>>2],k=0|n[a>>2],-1==(0|n[k+(d<<2)>>2]))){if((0|(c=0|n[b>>2]))==((s=0|n[l>>2])<<5|0)){if((c+1|0)<0){_=11;break}h=s<<6,s=c+32&-32,Lf(o,c>>>0<1073741823?h>>>0<s>>>0?s:h:2147483647),p=0|n[b>>2],w=0|n[a>>2]}else p=c,w=k;if(n[b>>2]=p+1,k=(0|n[o>>2])+(p>>>5<<2)|0,n[k>>2]=n[k>>2]&~(1<<(31&p)),-1==(0|n[(k=w+(d<<2)|0)>>2]))for(h=e,s=k;;){n[s>>2]=c,k=h+1|0;e:do{if(-1!=(0|h)&&(v=0==(0|(k>>>0)%3)?h+-2|0:k,-1!=(0|v))){for(m=0|n[A>>2],Z=0|n[m+12>>2],R=v;-1!=(0|(v=0|n[Z+(R<<2)>>2]));){if(-1==(0|(E=0==(0|((B=v+1|0)>>>0)%3)?v+-2|0:B))){W=-1,V=-1;break e}R=E}-1==(0|(E=0==(0|((Z=R+1|0)>>>0)%3)?R+-2|0:Z))?(W=R,V=-1):(W=R,V=0|n[(0|n[m>>2])+(E<<2)>>2])}else W=-1,V=-1}while(0);if(-1!=(0|n[(s=w+(V<<2)|0)>>2]))break;h=W}}if((h=e+1|0)>>>0>=t>>>0){_=3;break}e=h,u=0|n[A>>2]}return 3==(0|_)?(y=r,1):(11==(0|_)&&On(),0)}function br(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;return e=y,y=y+48|0,a=e+24|0,o=e+12|0,b=e,(r|=0)?(n[(t=e+36|0)>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,(l=0|zt(i))>>>0>4294967279&&On(),l>>>0<11?(A[t+11>>0]=l,l?(u=t,s=7):c=t):(d=0|Uo(k=l+16&-16),n[t>>2]=d,n[t+8>>2]=-2147483648|k,n[t+4>>2]=l,u=d,s=7),7==(0|s)&&(qi(0|u,0|i,0|l),c=u),A[c+l>>0]=0,n[a>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,(l=0|zt(f))>>>0>4294967279&&On(),l>>>0<11?(A[a+11>>0]=l,l?(h=a,s=13):_=a):(u=0|Uo(c=l+16&-16),n[a>>2]=u,n[a+8>>2]=-2147483648|c,n[a+4>>2]=l,h=u,s=13),13==(0|s)&&(qi(0|h,0|f,0|l),_=h),A[_+l>>0]=0,n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,(l=0|zt(i))>>>0>4294967279&&On(),l>>>0<11?(A[o+11>>0]=l,l?(w=o,s=19):p=o):(h=0|Uo(_=l+16&-16),n[o>>2]=h,n[o+8>>2]=-2147483648|_,n[o+4>>2]=l,w=h,s=19),19==(0|s)&&(qi(0|w,0|i,0|l),p=w),A[p+l>>0]=0,n[b>>2]=0,n[b+4>>2]=0,n[b+8>>2]=0,(l=0|zt(f))>>>0>4294967279&&On(),l>>>0<11?(A[b+11>>0]=l,l?(m=b,s=25):v=b):(w=0|Uo(p=l+16&-16),n[b>>2]=w,n[b+8>>2]=-2147483648|p,n[b+4>>2]=l,m=w,s=25),25==(0|s)&&(qi(0|m,0|f,0|l),v=m),A[v+l>>0]=0,function(e,r,i){Nt(e|=0,r|=0,i|=0)}(r,o,b),(0|A[b+11>>0])<0&&_b(0|n[b>>2]),(0|A[o+11>>0])<0&&_b(0|n[o>>2]),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),y=e,1):(y=e,0)}function lr(e,r){r|=0;var i=0,f=0,t=0;n[(e|=0)>>2]=n[r>>2],i=r+4|0,n[e+4>>2]=n[i>>2],f=r+8|0,n[e+8>>2]=n[f>>2],t=r+12|0,n[e+12>>2]=n[t>>2],n[i>>2]=0,n[f>>2]=0,n[t>>2]=0,t=r+16|0,n[e+16>>2]=n[t>>2],f=r+20|0,n[e+20>>2]=n[f>>2],i=r+24|0,n[e+24>>2]=n[i>>2],n[t>>2]=0,n[f>>2]=0,n[i>>2]=0,A[e+28>>0]=0|A[r+28>>0],f=r+32|0,n[(i=e+32|0)>>2]=0,n[(t=e+36|0)>>2]=0,n[e+40>>2]=0,n[i>>2]=n[f>>2],i=r+36|0,n[t>>2]=n[i>>2],t=r+40|0,n[e+40>>2]=n[t>>2],n[t>>2]=0,n[i>>2]=0,n[f>>2]=0,i=r+44|0,n[(f=e+44|0)>>2]=0,n[(t=e+48|0)>>2]=0,n[e+52>>2]=0,n[f>>2]=n[i>>2],f=r+48|0,n[t>>2]=n[f>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(e,r){r|=0;var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if((((f=0|n[(i=8+(e|=0)|0)>>2])-(a=0|n[(t=e+4|0)>>2])|0)/136|0)>>>0>=r>>>0){o=r,b=a;do{n[b>>2]=-1,Ba(b+4|0),A[b+100>>0]=1,n[(l=b+104|0)>>2]=0,n[l+4>>2]=0,n[l+8>>2]=0,n[l+12>>2]=0,n[l+16>>2]=0,n[l+20>>2]=0,n[l+24>>2]=0,b=136+(0|n[t>>2])|0,n[t>>2]=b,o=o+-1|0}while(0!=(0|o))}else{(a=(b=(a-(o=0|n[e>>2])|0)/136|0)+r|0)>>>0>31580641&&On(),o=(l=(f-o|0)/136|0)<<1,f=l>>>0<15790320?o>>>0<a>>>0?a:o:31580641;do{if(f){if(!(f>>>0>31580641)){c=0|Uo(136*f|0);break}_n(o=0|j(8),14941),n[o>>2]=6944,Q(0|o,1080,114)}else c=0}while(0);a=c+(136*f|0)|0,f=r,r=b=o=c+(136*b|0)|0,c=o;do{n[c>>2]=-1,Ba(c+4|0),A[c+100>>0]=1,n[(l=c+104|0)>>2]=0,n[l+4>>2]=0,n[l+8>>2]=0,n[l+12>>2]=0,n[l+16>>2]=0,n[l+20>>2]=0,n[l+24>>2]=0,r=c=r+136|0,f=f+-1|0}while(0!=(0|f));if(f=0|n[e>>2],(0|(c=0|n[t>>2]))==(0|f))u=b,s=f,k=f;else{l=c,c=b,b=o;do{lr(b+-136|0,l=l+-136|0),c=b=c+-136|0}while((0|l)!=(0|f));u=c,s=0|n[e>>2],k=0|n[t>>2]}if(n[e>>2]=u,n[t>>2]=r,n[i>>2]=a,(0|k)!=(0|(a=s))){i=k;do{0|(k=0|n[i+-20>>2])&&((0|(t=0|n[(r=i+-16|0)>>2]))!=(0|k)&&(n[r>>2]=t+(~((t+-4-k|0)>>>2)<<2)),_b(k)),0|(k=0|n[i+-32>>2])&&((0|(r=0|n[(t=i+-28|0)>>2]))!=(0|k)&&(n[t>>2]=r+(~((r+-4-k|0)>>>2)<<2)),_b(k)),lA(i+-132|0),i=i+-136|0}while((0|i)!=(0|a))}s&&_b(s)}}function sr(e,r){e|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0;f=0|n[(r|=0)>>2],r=e+12|0,A=-1==(0|f),t=f+1|0;do{if(!A){if(a=0==(0|(t>>>0)%3)?f+-2|0:t,(f>>>0)%3|0){o=a,b=f+-1|0;break}o=a,b=f+2|0;break}o=-1,b=-1}while(0);if(t=A?-1:(f>>>0)/3|0,l=(0|n[(a=e+28|0)>>2])+(t>>>5<<2)|0,n[l>>2]=1<<(31&t)|n[l>>2],l=e+172|0,t=e+176|0,i=e+280|0,!A&&-1!=(0|(A=0|n[(0|n[12+(0|n[r>>2])>>2])+(f<<2)>>2]))&&(e=(A>>>0)/3|0,0==(n[(0|n[a>>2])+(e>>>5<<2)>>2]&1<<(31&e)|0))&&(e=0|n[l>>2],(0|n[t>>2])!=(0|e))){A=f>>>5,c=1<<(31&f),f=0,u=e;do{e=(0|n[i>>2])+(f<<5)|0,c&n[(0|n[u+(136*f|0)+4>>2])+(A<<2)>>2]?VA(e,1):VA(e,0),f=f+1|0,u=0|n[l>>2]}while(f>>>0<(((0|n[t>>2])-u|0)/136|0)>>>0)}if(-1!=(0|o)&&-1!=(0|(u=0|n[(0|n[12+(0|n[r>>2])>>2])+(o<<2)>>2]))&&(f=(u>>>0)/3|0,0==(n[(0|n[a>>2])+(f>>>5<<2)>>2]&1<<(31&f)|0))&&(f=0|n[l>>2],(0|n[t>>2])!=(0|f))){u=o>>>5,A=1<<(31&o),o=0,c=f;do{f=(0|n[i>>2])+(o<<5)|0,A&n[(0|n[c+(136*o|0)+4>>2])+(u<<2)>>2]?VA(f,1):VA(f,0),o=o+1|0,c=0|n[l>>2]}while(o>>>0<(((0|n[t>>2])-c|0)/136|0)>>>0)}if(-1==(0|b))return 1;if(-1==(0|(c=0|n[(0|n[12+(0|n[r>>2])>>2])+(b<<2)>>2])))return 1;if(r=(c>>>0)/3|0,n[(0|n[a>>2])+(r>>>5<<2)>>2]&1<<(31&r)|0)return 1;if(r=0|n[l>>2],(0|n[t>>2])==(0|r))return 1;a=b>>>5,c=1<<(31&b),b=0,o=r;do{r=(0|n[i>>2])+(b<<5)|0,c&n[(0|n[o+(136*b|0)+4>>2])+(a<<2)>>2]?VA(r,1):VA(r,0),b=b+1|0,o=0|n[l>>2]}while(b>>>0<(((0|n[t>>2])-o|0)/136|0)>>>0);return 1}function kr(e,r){r|=0;var i,f,t,a,o,b,l,c,u,s,k,d,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0;if(i=y,y=y+16|0,f=i+4|0,t=i,a=i+8|0,o=4+(e|=0)|0,Mf((0|n[(b=e+8|0)>>2])-(0|n[o>>2])>>2,r),_=0|n[o>>2],(0|n[b>>2])==(0|_))return y=i,1;l=e+32|0,e=r+16|0,c=r+4|0,u=a+1|0,s=a+1|0,k=a+1|0,d=a+1|0,h=0,p=_;do{_=0|n[(0|n[8+(0|n[l>>2])>>2])+(n[p+(h<<2)>>2]<<2)>>2],A[a>>0]=n[_+56>>2],v=0|n[(w=e)>>2],(0|(m=0|n[w+4>>2]))>0|0==(0|m)&v>>>0>0?(Z=m,R=v):(n[t>>2]=n[c>>2],n[f>>2]=n[t>>2],hr(r,f,a,d),Z=0|n[(v=e)+4>>2],R=0|n[v>>2]),A[a>>0]=n[_+28>>2],(0|Z)>0|0==(0|Z)&R>>>0>0?(B=Z,E=R):(n[t>>2]=n[c>>2],n[f>>2]=n[t>>2],hr(r,f,a,k),B=0|n[(v=e)+4>>2],E=0|n[v>>2]),A[a>>0]=0|A[_+24>>0],(0|B)>0|0==(0|B)&E>>>0>0?(W=B,V=E):(n[t>>2]=n[c>>2],n[f>>2]=n[t>>2],hr(r,f,a,s),W=0|n[(v=e)+4>>2],V=0|n[v>>2]),A[a>>0]=0|A[_+32>>0],(0|W)>0|0==(0|W)&V>>>0>0||(n[t>>2]=n[c>>2],n[f>>2]=n[t>>2],hr(r,f,a,u)),Mf(0|n[_+60>>2],r),h=h+1|0,p=0|n[o>>2]}while(h>>>0<(0|n[b>>2])-p>>2>>>0);return y=i,1}function dr(e,r,i){r|=0,i|=0;var f,A,t,a,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0;if(f=y,y=y+32|0,A=f+16|0,t=f+12|0,a=f+8|0,o=f+4|0,b=f,Vn(e|=0),n[e+16>>2]=0,n[e+20>>2]=0,n[e+12>>2]=e+16,Vn(c=e+24|0),(0|e)!=(0|(u=r+4|0))&&(n[a>>2]=n[u>>2],n[o>>2]=r+8,n[t>>2]=n[a>>2],n[A>>2]=n[o>>2],te(e,t,A)),(0|c)!=(0|(u=r+28|0))&&(n[a>>2]=n[u>>2],n[o>>2]=r+32,n[t>>2]=n[a>>2],n[A>>2]=n[o>>2],te(c,t,A)),n[b>>2]=0,c=i+8|0,((i=0|n[(u=i+12|0)>>2])-(s=0|n[c>>2])|0)<=0)y=f;else{for(l=r+20|0,r=s,s=i,i=0;;){if(k=0|n[56+(0|n[r+(i<<2)>>2])>>2],d=0|n[l>>2]){_=l,h=d;e:for(;;){for(d=h;!((0|n[d+16>>2])>=(0|k));){if(!(p=0|n[d+4>>2])){w=_;break e}d=p}if(!(h=0|n[d>>2])){w=d;break}_=d}(0|w)!=(0|l)&&(0|k)>=(0|n[w+16>>2])?(_=w+20|0,(0|(h=0|Qe(e,b)))!=(0|_)&&(n[a>>2]=n[_>>2],n[o>>2]=w+24,n[t>>2]=n[a>>2],n[A>>2]=n[o>>2],te(h,t,A)),v=0|n[b>>2],m=0|n[c>>2],Z=0|n[u>>2]):(v=i,m=r,Z=s)}else v=i,m=r,Z=s;if(i=v+1|0,n[b>>2]=i,(0|i)>=(Z-m>>2|0))break;r=m,s=Z}y=f}}function _r(e,r){r|=0;var i,f,t,a,o,b,l,c,u,s,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0;if(i=y,y=y+16|0,f=i+4|0,t=i,a=i+8|0,Mf(0|n[(o=12+(e|=0)|0)>>2],r),!(0|n[o>>2]))return y=i,1;for(b=r+16|0,l=r+4|0,c=a+1|0,u=a+1|0,s=a+1|0,d=0;;){if(_=0|n[e>>2],(h=0|n[_+(d<<3)>>2])>>>0>63)if(h>>>0>16383){if(h>>>0>4194303){k=0,p=20;break}w=2,p=13}else w=1,p=13;else if(h)w=0,p=13;else{for(v=d+1|0,m=0;;){if(0|n[_+(v+m<<3)>>2]){Z=m;break}if(!((R=m+1|0)>>>0<63)){Z=R;break}m=R}A[a>>0]=Z<<2|3,(0|(v=0|n[(m=b)+4>>2]))>0|0==(0|v)&(0|n[m>>2])>>>0>0||(n[t>>2]=n[l>>2],n[f>>2]=n[t>>2],hr(r,f,a,s)),B=Z+d|0}if(13==(0|p))if(p=0,A[a>>0]=w|h<<2,(0|(v=0|n[(m=b)+4>>2]))>0|0==(0|v)&(0|n[m>>2])>>>0>0||(n[t>>2]=n[l>>2],n[f>>2]=n[t>>2],hr(r,f,a,u)),w){m=0;do{m=m+1|0,A[a>>0]=h>>>((m<<3)-2|0),(0|(_=0|n[(v=b)+4>>2]))>0|0==(0|_)&(0|n[v>>2])>>>0>0||(n[t>>2]=n[l>>2],n[f>>2]=n[t>>2],hr(r,f,a,c))}while((0|m)<(0|w));B=d}else B=d;if((d=B+1|0)>>>0>=(0|n[o>>2])>>>0){k=1,p=20;break}}return 20==(0|p)?(y=i,0|k):0}function hr(e,r,i,f){r|=0,i|=0,f|=0;var t,a,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0;if(u=c=0|n[(e|=0)>>2],r=c+(s=(0|n[r>>2])-u|0)|0,(0|(k=f-i|0))<=0)return 0|r;if((0|k)<=((_=0|n[(t=e+8|0)>>2])-(b=o=0|n[(a=e+4|0)>>2])|0)){if((0|k)>(0|(h=b-r|0))){if((0|(p=i+h|0))==(0|f))w=o;else for(v=p,y=o;;){if(A[y>>0]=0|A[v>>0],v=v+1|0,m=1+(0|n[a>>2])|0,n[a>>2]=m,(0|v)==(0|f)){w=m;break}y=m}if(!((0|h)>0))return 0|r;Z=p,R=w}else Z=f,R=o;if((p=r+(w=R-(r+k)|0)|0)>>>0<o>>>0){h=p,p=R;do{A[p>>0]=0|A[h>>0],h=h+1|0,p=1+(0|n[a>>2])|0,n[a>>2]=p}while((0|h)!=(0|o))}if(0|w&&no(R+(0-w)|0,0|r,0|w),(0|Z)==(0|i))return 0|r;for(B=i,E=r;;){if(A[E>>0]=0|A[B>>0],(0|(B=B+1|0))==(0|Z)){d=r;break}E=E+1|0}return 0|d}if((0|(E=b-u+k|0))<0&&On(),u=(k=_-u|0)<<1,_=k>>>0<1073741823?u>>>0<E>>>0?E:u:2147483647,u=r,s=E=(l=_?0|Uo(_):0)+s|0,k=l+_|0,(0|i)==(0|f))W=s,V=c;else{c=i,i=s,s=E;do{A[s>>0]=0|A[c>>0],i=s=i+1|0,c=c+1|0}while((0|c)!=(0|f));W=i,V=0|n[e>>2]}return f=E+(0-(i=u-V|0))|0,(0|i)>0&&qi(0|f,0|V,0|i),(0|(i=(0|n[a>>2])-u|0))>0?(qi(0|(u=W),0|r,0|i),N=u+i|0,G=0|n[e>>2]):(N=W,G=V),n[e>>2]=f,n[a>>2]=N,n[t>>2]=k,G?(_b(G),0|(d=E)):0|(d=E)}function pr(e,r){var i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;if(i=(0|(r|=0))==(0|(e|=0)),A[r+12>>0]=1&i,!i){for(f=r;;){if(a=0|n[(t=f+8|0)>>2],0|A[(r=a+12|0)>>0]){o=23;break}if(l=0|n[(b=a+8|0)>>2],(0|(i=0|n[l>>2]))==(0|a)){if(!(c=0|n[l+4>>2])){o=7;break}if(0|A[(u=c+12|0)>>0]){o=7;break}s=u}else{if(!i){o=16;break}if(0|A[(u=i+12|0)>>0]){o=16;break}s=u}if(A[r>>0]=1,r=(0|l)==(0|e),A[l+12>>0]=1&r,A[s>>0]=1,r){o=23;break}f=l}if(7==(0|o))return(0|n[a>>2])==(0|f)?(k=a,d=l):(e=0|n[(s=a+4|0)>>2],r=0|n[e>>2],n[s>>2]=r,r?(n[r+8>>2]=a,_=0|n[b>>2]):_=l,n[e+8>>2]=_,_=0|n[b>>2],n[((0|n[_>>2])==(0|a)?_:_+4|0)>>2]=e,n[e>>2]=a,n[b>>2]=e,k=e,d=0|n[e+8>>2]),A[k+12>>0]=1,A[d+12>>0]=0,k=0|n[d>>2],_=0|n[(e=k+4|0)>>2],n[d>>2]=_,0|_&&(n[_+8>>2]=d),_=d+8|0,n[k+8>>2]=n[_>>2],r=0|n[_>>2],n[((0|n[r>>2])==(0|d)?r:r+4|0)>>2]=k,n[e>>2]=d,void(n[_>>2]=k);if(16==(0|o))return(0|n[a>>2])==(0|f)?(_=0|n[(k=f+4|0)>>2],n[a>>2]=_,_?(n[_+8>>2]=a,h=0|n[b>>2]):h=l,n[t>>2]=h,h=0|n[b>>2],n[((0|n[h>>2])==(0|a)?h:h+4|0)>>2]=f,n[k>>2]=a,n[b>>2]=f,p=f,w=0|n[f+8>>2]):(p=a,w=l),A[p+12>>0]=1,A[w+12>>0]=0,l=0|n[(p=w+4|0)>>2],a=0|n[l>>2],n[p>>2]=a,0|a&&(n[a+8>>2]=w),a=w+8|0,n[l+8>>2]=n[a>>2],p=0|n[a>>2],n[((0|n[p>>2])==(0|w)?p:p+4|0)>>2]=l,n[l>>2]=w,void(n[a>>2]=l)}}function wr(e,r,i,f,t){e|=0,r|=0,t|=0;var a,o,b,l,c,u,s,k,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,V=q,N=q;if(a=y,y=y+16|0,o=a,_=4+(f|=0)|0,b=(h=0|A[24+(i|=0)>>0])<<24>>24,Zf(e,r,(0|n[_>>2])-(0|n[f>>2])>>2,b,t,i,1),t=0|n[e>>2],e=(0|n[n[t>>2]>>2])+(0|n[t+48>>2])|0,t=0|n[r+4>>2],xn(o),an(o,g(d[r+20>>2]),(1<<t)-1|0),t=0|kb(b>>>0>1073741823?-1:b<<2),p=0|n[_>>2],f=_=0|n[f>>2],(0|p)==(0|_))return db(t),void(y=a);if(l=i+68|0,c=i+48|0,u=i+40|0,s=r+8|0,r=0==(0|A[i+84>>0]),k=p-_>>2,!(h<<24>>24>0)){h=0;do{_=0|n[f+(h<<2)>>2],m=r?0|n[(0|n[l>>2])+(_<<2)>>2]:_,p=0|n[(_=c)>>2],Z=0|n[_+4>>2],_=0|Ho(0|To(0|(R=0|n[(_=u)>>2]),0|n[_+4>>2],0|m,0),0|E,0|p,0|Z),qi(0|t,(0|n[n[i>>2]>>2])+_|0,0|R),h=h+1|0}while(h>>>0<k>>>0);return db(t),void(y=a)}for(w=0,v=0;;){for(h=0|n[f+(w<<2)>>2],B=r?0|n[(0|n[l>>2])+(h<<2)>>2]:h,m=0|n[(h=c)>>2],R=0|n[h+4>>2],h=0|Ho(0|(Z=0|To(0|(_=0|n[(h=u)>>2]),0|n[h+4>>2],0|B,0)),0|E,0|m,0|R),qi(0|t,(0|n[n[i>>2]>>2])+h|0,0|_),_=0|n[s>>2],V=g(d[o>>2]),h=0,R=v;N=g(d[t+(h<<2)>>2]),m=~~g(W(g(g(V*g(N-g(d[_+(h<<2)>>2])))+g(.5)))),n[e+(R<<2)>>2]=m,(0|(h=h+1|0))!=(0|b);)R=R+1|0;if((w=w+1|0)>>>0>=k>>>0)break;v=v+b|0}db(t),y=a}function vr(e,r,i){e|=0,i|=0;var f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0;A=0|n[(r|=0)>>2],r=e+12|0,f=-1==(0|A);do{if(f)t=1,a=-1,o=-1;else{if(-1!=(0|(b=A+(0==(0|(A>>>0)%3)?2:-1)|0))){for(l=0|n[12+(0|n[r>>2])>>2],c=b;;){if(-1==(0|(b=0|n[l+(c<<2)>>2]))){u=0,s=c;break}if(-1==(0|(c=0==(0|((k=b+1|0)>>>0)%3)?b+-2|0:k))){u=1,s=-1;break}}if(f){t=u,a=-1,o=s;break}d=u,_=s}else d=1,_=-1;t=d,a=0|n[(0|n[n[r>>2]>>2])+(A<<2)>>2],o=_}}while(0);if(i?(i=(0|n[e+84>>2])+(a>>>5<<2)|0,n[i>>2]=n[i>>2]|1<<(31&a),h=1):h=0,i=0|n[(0|n[e+152>>2])+(a<<2)>>2],_=(0|n[e+140>>2])+(i>>>5<<2)|0,n[_>>2]=n[_>>2]|1<<(31&i),t?(p=-1,w=-1):-1==(0|(t=(0==(0|(o>>>0)%3)?2:-1)+o|0))?(p=-1,w=o):(p=0|n[(0|n[n[r>>2]>>2])+(t<<2)>>2],w=o),(0|p)==(0|a))return 0|h;for(o=0|n[e+84>>2],e=h,h=p,p=w;;){n[(w=o+(h>>>5<<2)|0)>>2]=n[w>>2]|1<<(31&h),w=e+1|0,t=p+1|0;e:do{if(-1!=(0|p)&&(i=0==(0|(t>>>0)%3)?p+-2|0:t,-1!=(0|i))){for(_=0|n[r>>2],A=0|n[_+12>>2],d=i;-1!=(0|(i=0|n[A+(d<<2)>>2]));){if(-1==(0|(u=0==(0|((s=i+1|0)>>>0)%3)?i+-2|0:s))){y=-1,m=-1;break e}d=u}-1==(0|(A=(0==(0|(d>>>0)%3)?2:-1)+d|0))?(y=-1,m=d):(y=0|n[(0|n[_>>2])+(A<<2)>>2],m=d)}else y=-1,m=-1}while(0);if((0|y)==(0|a)){v=w;break}e=w,h=y,p=m}return 0|v}function yr(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0;switch((A=0|n[(f=4+(e|=0)|0)>>2])>>>0<(0|n[(i=e+100|0)>>2])>>>0?(n[f>>2]=A+1,t=0|l[A>>0]):t=0|kA(e),0|t){case 43:case 45:A=45==(0|t)&1,(a=0|n[f>>2])>>>0<(0|n[i>>2])>>>0?(n[f>>2]=a+1,o=0|l[a>>0]):o=0|kA(e),0!=(0|r)&(o+-48|0)>>>0>9&&0!=(0|n[i>>2])?(n[f>>2]=(0|n[f>>2])-1,b=A,c=o):(b=A,c=o);break;default:b=0,c=t}if((c+-48|0)>>>0>9)0|n[i>>2]?(n[f>>2]=(0|n[f>>2])-1,u=-2147483648,s=0):(u=-2147483648,s=0);else{for(t=0,o=c;t=o+-48+(10*t|0)|0,(c=0|n[f>>2])>>>0<(0|n[i>>2])>>>0?(n[f>>2]=c+1,k=0|l[c>>0]):k=0|kA(e),(k+-48|0)>>>0<10&(0|t)<214748364;)o=k;if(o=((0|t)<0)<<31>>31,(k+-48|0)>>>0<10)for(c=k,A=t,r=o;;){if(a=0|To(0|A,0|r,10,0),d=E,_=0|Ho(0|c,((0|c)<0)<<31>>31|0,-48,-1),h=0|Ho(0|_,0|E,0|a,0|d),d=E,(a=0|n[f>>2])>>>0<(0|n[i>>2])>>>0?(n[f>>2]=a+1,p=0|l[a>>0]):p=0|kA(e),!((p+-48|0)>>>0<10&((0|d)<21474836|21474836==(0|d)&h>>>0<2061584302))){w=p,v=h,y=d;break}c=p,A=h,r=d}else w=k,v=t,y=o;if((w+-48|0)>>>0<10)do{(w=0|n[f>>2])>>>0<(0|n[i>>2])>>>0?(n[f>>2]=w+1,m=0|l[w>>0]):m=0|kA(e)}while((m+-48|0)>>>0<10);0|n[i>>2]&&(n[f>>2]=(0|n[f>>2])-1),f=0!=(0|b),b=0|Do(0,0,0|v,0|y),u=f?E:y,s=f?b:v}return E=u,0|s}function mr(e){var r=0,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0;if(0|(i=0|n[(r=1176+(e|=0)|0)>>2])){if((0|(A=0|n[(f=e+1180|0)>>2]))==(0|i))t=i;else{for(a=A;A=a+-12|0,n[f>>2]=A,(o=0|n[A>>2])?((0|(l=0|n[(A=a+-8|0)>>2]))!=(0|o)&&(n[A>>2]=l+(~((l+-4-o|0)>>>2)<<2)),_b(o),b=0|n[f>>2]):b=A,(0|b)!=(0|i);)a=b;t=0|n[r>>2]}_b(t)}if(0|(r=0|n[(t=e+1164|0)>>2])){if((0|(a=0|n[(b=e+1168|0)>>2]))==(0|r))c=r;else{for(i=a;a=i+-12|0,n[b>>2]=a,(f=0|n[a>>2])?((0|(o=0|n[(a=i+-8|0)>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-4-f|0)>>>2)<<2)),_b(f),u=0|n[b>>2]):u=a,(0|u)!=(0|r);)i=u;c=0|n[t>>2]}_b(c)}if(0|(c=0|n[e+1152>>2])&&((0|(u=0|n[(t=e+1156|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c)),0|(c=0|n[e+1140>>2])&&((0|(t=0|n[(u=e+1144|0)>>2]))!=(0|c)&&(n[u>>2]=t+(~((t+-4-c|0)>>>2)<<2)),_b(c)),!(c=0|n[e+1128>>2]))return Ta(e+1108|0),Ta(e+1088|0),Ta(e+1068|0),OA(e+1036|0),void yf(e+12|0);(0|(u=0|n[(t=e+1132|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c),Ta(e+1108|0),Ta(e+1088|0),Ta(e+1068|0),OA(e+1036|0),yf(e+12|0)}function Zr(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(e|=0)>>2]=0,n[e+8>>2]=r,function(e){Io(e|=0),Io(e+32|0),Io(e+64|0),Io(e+96|0),Io(e+128|0),Io(e+160|0),Io(e+192|0),Io(e+224|0),Io(e+256|0),Io(e+288|0),Io(e+320|0),Io(e+352|0),Io(e+384|0),Io(e+416|0),Io(e+448|0),Io(e+480|0),Io(e+512|0),Io(e+544|0),Io(e+576|0),Io(e+608|0),Io(e+640|0),Io(e+672|0),Io(e+704|0),Io(e+736|0),Io(e+768|0),Io(e+800|0),Io(e+832|0),Io(e+864|0),Io(e+896|0),Io(e+928|0),Io(e+960|0),Io(e+992|0)}(e+12|0),Io(e+1036|0),An(e+1068|0),An(e+1088|0),An(e+1108|0),n[(A=e+1128|0)>>2]=0,n[(t=e+1132|0)>>2]=0,n[e+1136>>2]=0,a=0==(0|r);do{if(!a){if(!(r>>>0>1073741823)){b=0|Uo(o=r<<2),n[A>>2]=b,l=b+(r<<2)|0,n[e+1136>>2]=l,IA(0|b,0,0|o),n[t>>2]=l;break}On()}}while(0);n[(t=e+1140|0)>>2]=0,n[(A=e+1144|0)>>2]=0,n[e+1148>>2]=0,a||(o=0|Uo(l=r<<2),n[t>>2]=o,t=o+(r<<2)|0,n[e+1148>>2]=t,IA(0|o,0,0|l),n[A>>2]=t),n[(t=e+1152|0)>>2]=0,n[(A=e+1156|0)>>2]=0,n[e+1160>>2]=0,a||(o=0|Uo(l=r<<2),n[t>>2]=o,t=o+(r<<2)|0,n[e+1160>>2]=t,IA(0|o,0,0|l),n[A>>2]=t),t=r<<5|1,n[f>>2]=0,n[(A=f+4|0)>>2]=0,n[f+8>>2]=0,a||(o=0|Uo(l=r<<2),n[f>>2]=o,b=o+(r<<2)|0,n[f+8>>2]=b,IA(0|o,0,0|l),n[A>>2]=b),sa(e+1164|0,t,f),0|(b=0|n[f>>2])&&((0|(l=0|n[A>>2]))!=(0|b)&&(n[A>>2]=l+(~((l+-4-b|0)>>>2)<<2)),_b(b)),n[f>>2]=0,n[(b=f+4|0)>>2]=0,n[f+8>>2]=0,a||(l=0|Uo(a=r<<2),n[f>>2]=l,A=l+(r<<2)|0,n[f+8>>2]=A,IA(0|l,0,0|a),n[b>>2]=A),sa(e+1176|0,t,f),(t=0|n[f>>2])?((0|(f=0|n[b>>2]))!=(0|t)&&(n[b>>2]=f+(~((f+-4-t|0)>>>2)<<2)),_b(t),y=i):y=i}function Rr(e,r,i,f,A){i|=0,f|=0,A|=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0<=20)switch(0|r){case 9:f=3+(0|n[i>>2])&-4,A=0|n[f>>2],n[i>>2]=f+4,n[e>>2]=A;break e;case 10:A=3+(0|n[i>>2])&-4,f=0|n[A>>2],n[i>>2]=A+4,n[(A=e)>>2]=f,n[A+4>>2]=((0|f)<0)<<31>>31;break e;case 11:f=3+(0|n[i>>2])&-4,A=0|n[f>>2],n[i>>2]=f+4,n[(f=e)>>2]=A,n[f+4>>2]=0;break e;case 12:f=7+(0|n[i>>2])&-8,t=0|n[(A=f)>>2],a=0|n[A+4>>2],n[i>>2]=f+8,n[(f=e)>>2]=t,n[f+4>>2]=a;break e;case 13:a=3+(0|n[i>>2])&-4,f=0|n[a>>2],n[i>>2]=a+4,a=(65535&f)<<16>>16,n[(f=e)>>2]=a,n[f+4>>2]=((0|a)<0)<<31>>31;break e;case 14:a=3+(0|n[i>>2])&-4,f=0|n[a>>2],n[i>>2]=a+4,n[(a=e)>>2]=65535&f,n[a+4>>2]=0;break e;case 15:a=3+(0|n[i>>2])&-4,f=0|n[a>>2],n[i>>2]=a+4,a=(255&f)<<24>>24,n[(f=e)>>2]=a,n[f+4>>2]=((0|a)<0)<<31>>31;break e;case 16:a=3+(0|n[i>>2])&-4,f=0|n[a>>2],n[i>>2]=a+4,n[(a=e)>>2]=255&f,n[a+4>>2]=0;break e;case 17:case 18:a=7+(0|n[i>>2])&-8,o=+h[a>>3],n[i>>2]=a+8,h[e>>3]=o;break e;default:break e}}while(0)}function Er(e,r){Ee(e|=0,r|=0),Ee(e+32|0,r),Ee(e+64|0,r),Ee(e+96|0,r),Ee(e+128|0,r),Ee(e+160|0,r),Ee(e+192|0,r),Ee(e+224|0,r),Ee(e+256|0,r),Ee(e+288|0,r),Ee(e+320|0,r),Ee(e+352|0,r),Ee(e+384|0,r),Ee(e+416|0,r),Ee(e+448|0,r),Ee(e+480|0,r),Ee(e+512|0,r),Ee(e+544|0,r),Ee(e+576|0,r),Ee(e+608|0,r),Ee(e+640|0,r),Ee(e+672|0,r),Ee(e+704|0,r),Ee(e+736|0,r),Ee(e+768|0,r),Ee(e+800|0,r),Ee(e+832|0,r),Ee(e+864|0,r),Ee(e+896|0,r),Ee(e+928|0,r),Ee(e+960|0,r),Ee(e+992|0,r),Ee(e+1024|0,r)}function Wr(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b,l,c,u,s,k,d=0,_=0,h=0,p=0,w=0;f=y,y=y+64|0,t=f+60|0,a=f,o=0|Uo(80),b=0|n[r+8>>2],n[o+4>>2]=0,n[o>>2]=3232,l=o+8|0,_=44+(d=o+12|0)|0;do{n[d>>2]=0,d=d+4|0}while((0|d)<(0|_));n[l>>2]=3256,n[(c=o+56|0)>>2]=0,n[o+60>>2]=0,n[o+64>>2]=0,n[o+68>>2]=b,n[o+72>>2]=i,n[(u=o+76|0)>>2]=0,h=o,s=0|n[r+12>>2],_=40+(d=4+(p=a+4|0)|0)|0;do{n[d>>2]=0,d=d+4|0}while((0|d)<(0|_));n[a>>2]=3256,n[(d=a+48|0)>>2]=0,n[(_=a+52|0)>>2]=0,n[a+56>>2]=0,k=s,n[p>>2]=k,w=((0|n[k+4>>2])-(0|n[s>>2])>>2>>>0)/3|0,A[t>>0]=0,rf(a+24|0,w,t),w=0|n[p>>2],p=(0|n[w+28>>2])-(0|n[w+24>>2])>>2,A[t>>0]=0,rf(a+36|0,p,t),n[a+8>>2]=s,n[a+12>>2]=i,n[a+16>>2]=b,n[a+20>>2]=o,n[u>>2]=r+72,Or(l,a),wi(c,0|n[d>>2],0|n[_>>2]),n[e>>2]=h,n[a>>2]=3256,0|(h=0|n[d>>2])&&((0|(d=0|n[_>>2]))!=(0|h)&&(n[_>>2]=d+(~((d+-4-h|0)>>>2)<<2)),_b(h)),n[a>>2]=3276,0|(h=0|n[a+36>>2])&&_b(h),(h=0|n[a+24>>2])?(_b(h),y=f):y=f}function Vr(e,r){r|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0;i=y,y=y+32|0,f=i,A=4+(e|=0)|0,o=0|n[e>>2],(l=1+(b=(0|n[A>>2])-o>>2)|0)>>>0>1073741823&&On(),o=(c=(0|n[(t=e+8|0)>>2])-o|0)>>1,u=c>>2>>>0<536870911?o>>>0<l>>>0?l:o:1073741823,n[f+12>>2]=0,n[f+16>>2]=e+8;do{if(u){if(!(u>>>0>1073741823)){s=0|Uo(u<<2);break}_n(o=0|j(8),14941),n[o>>2]=6944,Q(0|o,1080,114)}else s=0}while(0);if(n[f>>2]=s,o=s+(b<<2)|0,b=f+8|0,n[(l=f+4|0)>>2]=o,c=s+(u<<2)|0,n[(u=f+12|0)>>2]=c,s=0|n[r>>2],n[r>>2]=0,n[o>>2]=s,s=o+4|0,n[b>>2]=s,r=0|n[e>>2],(0|(a=0|n[A>>2]))==(0|r))return d=u,_=b,h=r,p=s,w=a,v=c,m=k=o,n[e>>2]=m,n[l>>2]=h,n[A>>2]=p,n[_>>2]=w,Z=0|n[t>>2],n[t>>2]=v,n[d>>2]=Z,n[f>>2]=h,Qf(f),void(y=i);R=a,B=o;do{o=0|n[(R=R+-4|0)>>2],n[R>>2]=0,n[B+-4>>2]=o,B=(0|n[l>>2])-4|0,n[l>>2]=B}while((0|R)!=(0|r));k=B,d=u,_=b,h=0|n[e>>2],p=0|n[b>>2],w=0|n[A>>2],v=0|n[u>>2],m=k,n[e>>2]=m,n[l>>2]=h,n[A>>2]=p,n[_>>2]=w,Z=0|n[t>>2],n[t>>2]=v,n[d>>2]=Z,n[f>>2]=h,Qf(f),y=i}function Nr(e,r){e|=0;var i,f,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;if(i=y,y=y+32|0,u=i+12|0,f=i,t=0|function(e,r){e|=0;var i;return-1==(0|(r|=0))|(0|r)>4?0:(i=0|n[e+20+(12*r|0)>>2],((0|n[e+20+(12*r|0)+4>>2])-i|0)<=0?0:-1==(0|(r=0|n[i>>2]))?0:0|(0|n[(0|n[e+8>>2])+(r<<2)>>2]))}(r|=0,0),!t)return n[e>>2]=0,void(y=i);b=(0|(r=(a=0|n[r+100>>2])-(o=0|n[r+96>>2])|0))/12|0,n[u>>2]=0,n[(l=u+4|0)>>2]=0,n[u+8>>2]=0,c=o;do{if(r){if(!(b>>>0>357913941)){s=0|Uo(r),n[u>>2]=s,n[u+8>>2]=s+(12*b|0),IA(0|s,0,0|r),n[l>>2]=s+r,k=s;break}On()}else k=0}while(0);n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0;e:do{if((0|a)!=(0|o)){if(r=f+4|0,s=f+8|0,0|A[t+84>>0])for(d=0;;)if(_=c+(12*d|0)|0,n[f>>2]=n[_>>2],n[f+4>>2]=n[_+4>>2],n[f+8>>2]=n[_+8>>2],n[k+(12*d|0)>>2]=n[f>>2],n[k+(12*d|0)+4>>2]=n[r>>2],n[k+(12*d|0)+8>>2]=n[s>>2],(d=d+1|0)>>>0>=b>>>0)break e;d=0|n[t+68>>2],_=0;do{h=0|n[d+(n[c+(12*_|0)>>2]<<2)>>2],n[f>>2]=h,p=0|n[d+(n[c+(12*_|0)+4>>2]<<2)>>2],n[r>>2]=p,w=0|n[d+(n[c+(12*_|0)+8>>2]<<2)>>2],n[s>>2]=w,n[k+(12*_|0)>>2]=h,n[k+(12*_|0)+4>>2]=p,n[k+(12*_|0)+8>>2]=w,_=_+1|0}while(_>>>0<b>>>0)}}while(0);Pt(e,u),0|(e=0|n[u>>2])&&((0|(u=0|n[l>>2]))!=(0|e)&&(n[l>>2]=u+(12*~(((u+-12-e|0)>>>0)/12|0)|0)),_b(e)),y=i}function Gr(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(e|=0)>>2]=0,n[e+8>>2]=r,Io(e+12|0),An(e+44|0),An(e+64|0),An(e+84|0),n[(A=e+104|0)>>2]=0,n[(t=e+108|0)>>2]=0,n[e+112>>2]=0,a=0==(0|r);do{if(!a){if(!(r>>>0>1073741823)){b=0|Uo(o=r<<2),n[A>>2]=b,l=b+(r<<2)|0,n[e+112>>2]=l,IA(0|b,0,0|o),n[t>>2]=l;break}On()}}while(0);n[(t=e+116|0)>>2]=0,n[(A=e+120|0)>>2]=0,n[e+124>>2]=0,a||(o=0|Uo(l=r<<2),n[t>>2]=o,t=o+(r<<2)|0,n[e+124>>2]=t,IA(0|o,0,0|l),n[A>>2]=t),n[(t=e+128|0)>>2]=0,n[(A=e+132|0)>>2]=0,n[e+136>>2]=0,a||(o=0|Uo(l=r<<2),n[t>>2]=o,t=o+(r<<2)|0,n[e+136>>2]=t,IA(0|o,0,0|l),n[A>>2]=t),t=r<<5|1,n[f>>2]=0,n[(A=f+4|0)>>2]=0,n[f+8>>2]=0,a||(o=0|Uo(l=r<<2),n[f>>2]=o,b=o+(r<<2)|0,n[f+8>>2]=b,IA(0|o,0,0|l),n[A>>2]=b),sa(e+140|0,t,f),0|(b=0|n[f>>2])&&((0|(l=0|n[A>>2]))!=(0|b)&&(n[A>>2]=l+(~((l+-4-b|0)>>>2)<<2)),_b(b)),n[f>>2]=0,n[(b=f+4|0)>>2]=0,n[f+8>>2]=0,a||(l=0|Uo(a=r<<2),n[f>>2]=l,A=l+(r<<2)|0,n[f+8>>2]=A,IA(0|l,0,0|a),n[b>>2]=A),sa(e+152|0,t,f),(t=0|n[f>>2])?((0|(f=0|n[b>>2]))!=(0|t)&&(n[b>>2]=f+(~((f+-4-t|0)>>>2)<<2)),_b(t),y=i):y=i}function Fr(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(e|=0)>>2]=0,n[e+8>>2]=r,An(e+12|0),An(e+32|0),An(e+52|0),An(e+72|0),n[(A=e+92|0)>>2]=0,n[(t=e+96|0)>>2]=0,n[e+100>>2]=0,a=0==(0|r);do{if(!a){if(!(r>>>0>1073741823)){b=0|Uo(o=r<<2),n[A>>2]=b,l=b+(r<<2)|0,n[e+100>>2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b))&&0!=(0|(k=0|Wa(a,u?0|n[l>>2]:l,c)))?(0|k)<0?7:9:b>>>0<s>>>0?7:9))){if(d=0,!(s=0|n[o>>2])){d=8;break}_=s}else if(9==(0|d)){if(d=0,!(s=0|n[(h=o+4|0)>>2])){d=11;break}_=s}o=_}if(8==(0|d)){p=o,w=o;break}if(11==(0|d)){p=o,w=h;break}}else p=r,w=r}while(0);return n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=p,n[w>>2]=i,(p=0|n[n[e>>2]>>2])?(n[e>>2]=p,v=0|n[w>>2],pr(0|n[(e+4|0)>>2],v),m=1+(0|n[(y=e+8|0)>>2])|0,n[y>>2]=m,0|i):(v=i,pr(0|n[(e+4|0)>>2],v),m=1+(0|n[(y=e+8|0)>>2])|0,n[y>>2]=m,0|i)}function gr(e,r,i,f){var t,a,o,b,l,c,u,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=q,V=q;if(t=y,y=y+16|0,a=t,Zf(e|=0,r|=0,f|=0,o=(s=0|A[24+(i|=0)>>0])<<24>>24,0,i,1),k=0|n[e>>2],e=(0|n[n[k>>2]>>2])+(0|n[k+48>>2])|0,k=0|n[r+4>>2],xn(a),an(a,g(d[r+20>>2]),(1<<k)-1|0),k=0|kb(o>>>0>1073741823?-1:o<<2),!f)return db(k),void(y=t);if(b=i+68|0,l=i+48|0,c=i+40|0,u=r+8|0,r=0==(0|A[i+84>>0]),!(s<<24>>24>0)){s=0;do{p=r?0|n[(0|n[b>>2])+(s<<2)>>2]:s,v=0|n[(w=l)>>2],m=0|n[w+4>>2],w=0|Ho(0|To(0|(Z=0|n[(w=c)>>2]),0|n[w+4>>2],0|p,0),0|E,0|v,0|m),qi(0|k,(0|n[n[i>>2]>>2])+w|0,0|Z),s=s+1|0}while((0|s)!=(0|f));return db(k),void(y=t)}for(_=0,h=0;;){for(R=r?0|n[(0|n[b>>2])+(h<<2)>>2]:h,p=0|n[(s=l)>>2],Z=0|n[s+4>>2],s=0|Ho(0|(m=0|To(0|(w=0|n[(s=c)>>2]),0|n[s+4>>2],0|R,0)),0|E,0|p,0|Z),qi(0|k,(0|n[n[i>>2]>>2])+s|0,0|w),w=0|n[u>>2],B=g(d[a>>2]),s=0,Z=_;V=g(d[k+(s<<2)>>2]),p=~~g(W(g(g(B*g(V-g(d[w+(s<<2)>>2])))+g(.5)))),n[e+(Z<<2)>>2]=p,(0|(s=s+1|0))!=(0|o);)Z=Z+1|0;if((0|(h=h+1|0))==(0|f))break;_=_+o|0}db(k),y=t}function Yr(e){var r=0,i=0,f=0;if(n[(e|=0)>>2]=3340,function(e){var r,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0;if(0|(r=0|n[(i=(e|=0)+136|0)>>2])){if((0|(A=0|n[(f=e+140|0)>>2]))==(0|r))t=r;else{for(a=A;A=a+-12|0,n[f>>2]=A,(o=0|n[A>>2])?((0|(l=0|n[(A=a+-8|0)>>2]))!=(0|o)&&(n[A>>2]=l+(~((l+-4-o|0)>>>2)<<2)),_b(o),b=0|n[f>>2]):b=A,(0|b)!=(0|r);)a=b;t=0|n[i>>2]}_b(t)}0|(t=0|n[e+104>>2])&&((0|(b=0|n[(i=e+108|0)>>2]))!=(0|t)&&(n[i>>2]=b+(~((b+-4-t|0)>>>2)<<2)),_b(t)),(t=0|n[e+92>>2])?((0|(i=0|n[(b=e+96|0)>>2]))!=(0|t)&&(n[b>>2]=i+(~((i+-4-t|0)>>>2)<<2)),_b(t),jA(e)):jA(e)}(e+200|0),0|(r=0|n[e+184>>2])&&((0|(f=0|n[(i=e+188|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),FA(e+172|0),0|(r=0|n[e+152>>2])&&((0|(i=0|n[(f=e+156|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+140>>2])&&_b(r),0|(r=0|n[e+128>>2])){i=r;do{r=i,i=0|n[i>>2],_b(r)}while(0!=(0|i))}r=0|n[(i=e+120|0)>>2],n[i>>2]=0,0|r&&_b(r),0|(r=0|n[e+108>>2])&&((0|(f=0|n[(i=e+112|0)>>2]))!=(0|r)&&(n[i>>2]=f+(12*~(((f+-12-r|0)>>>0)/12|0)|0)),_b(r)),0|(r=0|n[e+96>>2])&&((0|(i=0|n[(f=e+100|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+84>>2])&&_b(r),0|(r=0|n[e+72>>2])&&((0|(f=0|n[(i=e+76|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+52>>2])&&((0|(i=0|n[(f=e+56|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+40>>2])&&((0|(f=0|n[(i=e+44|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+28>>2])&&_b(r),0|(r=0|n[e+16>>2])&&((0|(i=0|n[(f=e+20|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),e=0|n[(r=e+12|0)>>2],n[r>>2]=0,e&&(oA(e),_b(e))}function Mr(e){var r=0,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0;if(0|(i=0|n[(r=140+(e|=0)|0)>>2])){if((0|(A=0|n[(f=e+144|0)>>2]))==(0|i))t=i;else{for(a=A;A=a+-12|0,n[f>>2]=A,(o=0|n[A>>2])?((0|(l=0|n[(A=a+-8|0)>>2]))!=(0|o)&&(n[A>>2]=l+(~((l+-4-o|0)>>>2)<<2)),_b(o),b=0|n[f>>2]):b=A,(0|b)!=(0|i);)a=b;t=0|n[r>>2]}_b(t)}if(0|(r=0|n[(t=e+128|0)>>2])){if((0|(a=0|n[(b=e+132|0)>>2]))==(0|r))c=r;else{for(i=a;a=i+-12|0,n[b>>2]=a,(f=0|n[a>>2])?((0|(o=0|n[(a=i+-8|0)>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-4-f|0)>>>2)<<2)),_b(f),u=0|n[b>>2]):u=a,(0|u)!=(0|r);)i=u;c=0|n[t>>2]}_b(c)}if(0|(c=0|n[e+116>>2])&&((0|(u=0|n[(t=e+120|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c)),0|(c=0|n[e+104>>2])&&((0|(t=0|n[(u=e+108|0)>>2]))!=(0|c)&&(n[u>>2]=t+(~((t+-4-c|0)>>>2)<<2)),_b(c)),!(c=0|n[e+92>>2]))return Ta(e+72|0),Ta(e+52|0),Ta(e+32|0),void Ta(e+12|0);(0|(u=0|n[(t=e+96|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c),Ta(e+72|0),Ta(e+52|0),Ta(e+32|0),Ta(e+12|0)}function Tr(e){var r=0,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0;if(0|(i=0|n[(r=152+(e|=0)|0)>>2])){if((0|(A=0|n[(f=e+156|0)>>2]))==(0|i))t=i;else{for(a=A;A=a+-12|0,n[f>>2]=A,(o=0|n[A>>2])?((0|(l=0|n[(A=a+-8|0)>>2]))!=(0|o)&&(n[A>>2]=l+(~((l+-4-o|0)>>>2)<<2)),_b(o),b=0|n[f>>2]):b=A,(0|b)!=(0|i);)a=b;t=0|n[r>>2]}_b(t)}if(0|(r=0|n[(t=e+140|0)>>2])){if((0|(a=0|n[(b=e+144|0)>>2]))==(0|r))c=r;else{for(i=a;a=i+-12|0,n[b>>2]=a,(f=0|n[a>>2])?((0|(o=0|n[(a=i+-8|0)>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-4-f|0)>>>2)<<2)),_b(f),u=0|n[b>>2]):u=a,(0|u)!=(0|r);)i=u;c=0|n[t>>2]}_b(c)}if(0|(c=0|n[e+128>>2])&&((0|(u=0|n[(t=e+132|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c)),0|(c=0|n[e+116>>2])&&((0|(t=0|n[(u=e+120|0)>>2]))!=(0|c)&&(n[u>>2]=t+(~((t+-4-c|0)>>>2)<<2)),_b(c)),!(c=0|n[e+104>>2]))return Ta(e+84|0),Ta(e+64|0),Ta(e+44|0),void OA(e+12|0);(0|(u=0|n[(t=e+108|0)>>2]))!=(0|c)&&(n[t>>2]=u+(~((u+-4-c|0)>>>2)<<2)),_b(c),Ta(e+84|0),Ta(e+64|0),Ta(e+44|0),OA(e+12|0)}function Ir(e){var r=0,i=0,f=0;if(n[(e|=0)>>2]=3080,jA(e+200|0),0|(r=0|n[e+184>>2])&&((0|(f=0|n[(i=e+188|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),FA(e+172|0),0|(r=0|n[e+152>>2])&&((0|(i=0|n[(f=e+156|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+140>>2])&&_b(r),0|(r=0|n[e+128>>2])){i=r;do{r=i,i=0|n[i>>2],_b(r)}while(0!=(0|i))}r=0|n[(i=e+120|0)>>2],n[i>>2]=0,0|r&&_b(r),0|(r=0|n[e+108>>2])&&((0|(f=0|n[(i=e+112|0)>>2]))!=(0|r)&&(n[i>>2]=f+(12*~(((f+-12-r|0)>>>0)/12|0)|0)),_b(r)),0|(r=0|n[e+96>>2])&&((0|(i=0|n[(f=e+100|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+84>>2])&&_b(r),0|(r=0|n[e+72>>2])&&((0|(f=0|n[(i=e+76|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+52>>2])&&((0|(i=0|n[(f=e+56|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+40>>2])&&((0|(f=0|n[(i=e+44|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+28>>2])&&_b(r),0|(r=0|n[e+16>>2])&&((0|(i=0|n[(f=e+20|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),e=0|n[(r=e+12|0)>>2],n[r>>2]=0,e&&(oA(e),_b(e))}function jr(e,r){e|=0,r|=0;var i,f,A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0;if(i=y,y=y+48|0,f=i+44|0,A=i+40|0,t=i+36|0,a=i,n[(b=i+32|0)>>2]=n[e+60>>2],(0|(c=0|n[4+(l=o=r+16|0)>>2]))>0|0==(0|c)&(0|n[l>>2])>>>0>0||(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,b,b+4|0)),Io(a),da(a),(0|n[b>>2])>0){l=e+56|0,c=1,u=0;do{VA(a,c^(c=0!=(n[(0|n[l>>2])+(u>>>5<<2)>>2]&1<<(31&u)|0))^1),u=u+1|0}while((0|u)<(0|n[b>>2]))}return Ee(a,r),n[t>>2]=n[e+12>>2],u=0|n[(b=o)>>2],(0|(c=0|n[b+4>>2]))>0|0==(0|c)&u>>>0>0?(s=c,k=u):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),s=0|n[(u=o)+4>>2],k=0|n[u>>2]),n[t>>2]=n[e+20>>2],(0|s)>0|0==(0|s)&k>>>0>0?(OA(a),y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),OA(a),y=i,1)}function Cr(e,r){e|=0;var i,f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0;for(i=0|n[(r|=0)>>2],r=0|n[i>>2],f=0|n[e+4>>2],b=0|n[i+4>>2],o=(a=0==((t=f+-1|0)&f|0))?t&b:b>>>0<f>>>0?b:(b>>>0)%(f>>>0)|0,b=(0|n[e>>2])+(o<<2)|0,l=0|n[b>>2];(0|(c=0|n[l>>2]))!=(0|i);)l=c;(0|l)!=(e+8|0)?(c=0|n[l+4>>2],(0|(u=a?c&t:c>>>0<f>>>0?c:(c>>>0)%(f>>>0)|0))==(0|o)?(s=r,k=21):k=13):k=13;do{if(13==(0|k)){if(0|r&&(u=0|n[r+4>>2],(0|(a?u&t:u>>>0<f>>>0?u:(u>>>0)%(f>>>0)|0))==(0|o))){d=r,_=r,k=22;break}n[b>>2]=0,s=0|n[i>>2],k=21}}while(0);return 21==(0|k)&&(b=s,s?(d=s,_=b,k=22):h=b),22==(0|k)&&(k=0|n[d+4>>2],(0|(p=a?k&t:k>>>0<f>>>0?k:(k>>>0)%(f>>>0)|0))==(0|o)?h=_:(n[(0|n[e>>2])+(p<<2)>>2]=l,h=0|n[i>>2])),n[l>>2]=h,n[i>>2]=0,n[(h=e+12|0)>>2]=(0|n[h>>2])-1,i?(h=i+8|0,0|(e=0|n[i+20>>2])&&((0|n[(l=i+24|0)>>2])!=(0|e)&&(n[l>>2]=e),_b(e)),(0|A[h+11>>0])<0&&_b(0|n[h>>2]),_b(i),0|r):0|r}function Qr(e,r){e|=0,r|=0;var i,f,A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0;if(i=y,y=y+48|0,f=i+44|0,A=i+40|0,t=i+36|0,a=i,n[(b=i+32|0)>>2]=n[e+80>>2],(0|(c=0|n[4+(l=o=r+16|0)>>2]))>0|0==(0|c)&(0|n[l>>2])>>>0>0||(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,b,b+4|0)),Io(a),da(a),(0|n[b>>2])>0){l=e+76|0,c=1,u=0;do{VA(a,c^(c=0!=(n[(0|n[l>>2])+(u>>>5<<2)>>2]&1<<(31&u)|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ci(e+8|0,a),u=a),a=0|n[u>>2],n[u>>2]=0,0|a&&Eb[127&n[4+(0|n[a>>2])>>2]](a),a=0|n[o>>2],n[o>>2]=0,a?(Eb[127&n[4+(0|n[a>>2])>>2]](a),y=i,1):(y=i,1))}function Jr(e,r,i){r|=0,i|=0;var f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;A=0|n[(f=8+(e|=0)|0)>>2],a=t=0|n[e>>2];do{if(A-t>>3>>>0>=r>>>0){if(s=b=0|n[(o=e+4|0)>>2],0|(u=(c=(l=b-t>>3)>>>0<r>>>0)?l:r))for(b=u,u=a;d=0|n[(k=i)+4>>2],n[(_=u)>>2]=n[k>>2],n[_+4>>2]=d,b=b+-1|0;)u=u+8|0;if(c){for(b=u=r-l|0,d=s;k=0|n[(_=i)+4>>2],n[(w=d)>>2]=n[_>>2],n[w+4>>2]=k,b=b+-1|0;)d=d+8|0;h=o,p=s+(u<<3)|0;break}if((0|(u=a+(r<<3)|0))==(0|s))return;h=o,p=s+(~((s+-8-u|0)>>>3)<<3)|0;break}for(d=t,t?((0|(l=0|n[(b=e+4|0)>>2]))!=(0|a)&&(n[b>>2]=l+(~((l+-8-t|0)>>>3)<<3)),_b(d),n[f>>2]=0,n[b>>2]=0,n[e>>2]=0,v=0):v=A,r>>>0>536870911&&On(),b=v>>2,(d=v>>3>>>0<268435455?b>>>0<r>>>0?r:b:536870911)>>>0>536870911&&On(),b=0|Uo(d<<3),n[(l=e+4|0)>>2]=b,n[e>>2]=b,n[f>>2]=b+(d<<3),d=r,c=b;w=0|n[(k=i)+4>>2],n[(_=c)>>2]=n[k>>2],n[_+4>>2]=w,d=d+-1|0;)c=c+8|0;h=l,p=b+(r<<3)|0}while(0);n[h>>2]=p}function zr(e,r,i,f){e|=0,i|=0,f|=0;var A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,y=0;A=+g(d[(r|=0)>>2]),o=+V(+A),t=+g(d[r+4>>2]),b=o+ +V(+t),o=+g(d[r+8>>2]),r=(l=b+ +V(+o))>1e-6,b=1/l,_=((c=(0|(k=(a=0|n[e+12>>2])-((s=(0|(c=~~+W(+((r?b*A:1)*(l=+(0|a))+.5))))>-1)?c:0-c|0)-((0|(u=~~+W(+((r?b*t:0)*l+.5))))>-1?u:0-u|0)|0))<0)?(0|u)>0?k:0-k|0:0)+u|0,u=c?0:k,k=(r?b*o:0)<0?0-u|0:u;do{if(!s){if(h=(0|_)<0?(0|k)>-1?k:0-k|0:(0|n[e+8>>2])-((0|k)>-1?k:0-k|0)|0,(0|k)<0){p=(0|_)>-1?_:0-_|0,w=h;break}p=(0|n[e+8>>2])-((0|_)>-1?_:0-_|0)|0,w=h;break}p=a+k|0,w=a+_|0}while(0);return _=0==(0|w),k=0==(0|p),h=0|n[e+8>>2],p|w?_&(e=(0|h)==(0|p))?(v=p,y=p,n[i>>2]=v,void(n[f>>2]=y)):k&(s=(0|h)==(0|w))?(v=w,y=w,n[i>>2]=v,void(n[f>>2]=y)):_&(0|a)<(0|p)?(v=0,y=(a<<1)-p|0,n[i>>2]=v,void(n[f>>2]=y)):s&(0|a)>(0|p)?(v=w,y=(a<<1)-p|0,n[i>>2]=v,void(n[f>>2]=y)):e&(0|a)>(0|w)?(v=(a<<1)-w|0,y=p,n[i>>2]=v,void(n[f>>2]=y)):k?(v=(0|a)<(0|w)?(a<<1)-w|0:w,y=0,n[i>>2]=v,void(n[f>>2]=y)):(v=w,y=p,n[i>>2]=v,void(n[f>>2]=y)):(v=h,y=h,n[i>>2]=v,void(n[f>>2]=y))}function Or(e,r){var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(A=4+(r|=0)|0,n[(f=4+(e|=0)|0)>>2]=n[A>>2],n[f+4>>2]=n[A+4>>2],n[f+8>>2]=n[A+8>>2],n[f+12>>2]=n[A+12>>2],n[f+16>>2]=n[A+16>>2],A=e+24|0,f=r+24|0,(0|e)==(0|r))return 0|e;if(i=0|n[(t=r+28|0)>>2]){o=e+32|0;do{if(i>>>0>n[o>>2]<<5>>>0){if((b=0|n[A>>2])?(_b(b),n[A>>2]=0,n[o>>2]=0,n[e+28>>2]=0,l=0|n[t>>2]):l=i,!((0|l)<0)){c=0|Uo((b=1+((l+-1|0)>>>5)|0)<<2),n[A>>2]=c,n[e+28>>2]=0,n[o>>2]=b,u=0|n[t>>2],s=c;break}On()}else u=i,s=0|n[A>>2]}while(0);no(0|s,0|n[f>>2],4+((u+-1|0)>>>5<<2)|0),a=0|n[t>>2]}else a=0;if(n[e+28>>2]=a,a=e+36|0,t=r+36|0,r=0|n[(u=r+40|0)>>2]){f=e+44|0;do{if(r>>>0>n[f>>2]<<5>>>0){if((s=0|n[a>>2])?(_b(s),n[a>>2]=0,n[f>>2]=0,n[e+40>>2]=0,d=0|n[u>>2]):d=r,!((0|d)<0)){A=0|Uo((s=1+((d+-1|0)>>>5)|0)<<2),n[a>>2]=A,n[e+40>>2]=0,n[f>>2]=s,_=0|n[u>>2],h=A;break}On()}else _=r,h=0|n[a>>2]}while(0);no(0|h,0|n[t>>2],4+((_+-1|0)>>>5<<2)|0),k=0|n[u>>2]}else k=0;return n[e+40>>2]=k,0|e}function Sr(e,r,i,f,A){r|=0,i|=0,f|=0,A|=0;var t,a,o,b=0,l=0,c=0,u=0;return t=y,y=y+32|0,a=t+12|0,o=t,n[(e|=0)>>2]=n[f>>2],n[(f=e+4|0)>>2]=(0|n[i>>2])-(0|n[r>>2]),(0|(c=0|n[4+(l=b=A+16|0)>>2]))>0|0==(0|c)&(0|n[l>>2])>>>0>0||(l=A+4|0,n[o>>2]=n[l>>2],n[a>>2]=n[o>>2],hr(A,a,e,e+4|0),(0|(b=0|n[(c=b)+4>>2]))>0|0==(0|b)&(0|n[c>>2])>>>0>0)||(n[o>>2]=n[l>>2],n[a>>2]=n[o>>2],hr(A,a,f,f+4|0)),u=o,0|n[f>>2]?(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2],S=0|n[O+(((z>>>0)/113|0)<<2)>>2],z=0|n[S+(36*(H=(z>>>0)%113|0)|0)>>2],D=0|n[S+(36*H|0)+12>>2],x=0|n[S+(36*H|0)+24>>2],P=0|n[S+(36*H|0)+32>>2],n[s>>2]=J,(1-X-W+(0==(0|(H=(J=0|n[_>>2])-O>>2))?0:(113*H|0)-1|0)|0)>>>0>225&&(_b(0|n[J+-4>>2]),n[_>>2]=(0|n[_>>2])-4),n[r>>2]=z,n[i>>2]=D,H=(J=0|n[u>>2])+(12*P|0)|0,W=(0|n[v>>2])+(12*P|0)|0,n[t>>2]=n[r>>2],n[t+4>>2]=n[r+4>>2],n[t+8>>2]=n[r+8>>2],n[A>>2]=n[i>>2],n[A+4>>2]=n[i+4>>2],n[A+8>>2]=n[i+8>>2],O=0|Pe(e,t,A,H,W,x),x=D-z|0,S=(0|n[e>>2])-(0|n[(0|n[W>>2])+(O<<2)>>2])|0;e:do{if(S){if(x>>>0<3){if(L=0|n[R>>2],n[L>>2]=O,(K=0|n[o>>2])>>>0>1)for(q=1,$=K,ee=O;;){if(ee=(0|ee)==($+-1|0)?0:ee+1|0,n[L+(q<<2)>>2]=ee,(q=q+1|0)>>>0>=(re=0|n[o>>2])>>>0){ie=re;break}$=re}else ie=K;if(!x){fe=87;break}for(Ae=0,te=ie;;){if($=(0|n[j>>2])+((0|G(0|n[I>>2],z+Ae|0))<<2)|0,te){q=0;do{ee=0|n[(0|n[R>>2])+(q<<2)>>2],L=(0|n[e>>2])-(0|n[(0|n[W>>2])+(ee<<2)>>2])|0;do{if(0|L){if(ne=32-(re=0|n[E>>2])|0,be=32-L|0,le=n[$+(ee<<2)>>2]<<be,(0|L)>(0|ne)){ce=le>>>be,be=L-ne|0,n[E>>2]=be,ne=n[b>>2]|ce>>>be,n[b>>2]=ne,(0|(be=0|n[c>>2]))==(0|n[k>>2])?sA(d,b):(n[be>>2]=ne,n[c>>2]=be+4),n[b>>2]=ce<<32-(0|n[E>>2]);break}if(ce=n[b>>2]|le>>>re,n[b>>2]=ce,le=re+L|0,n[E>>2]=le,32!=(0|le))break;(0|(le=0|n[c>>2]))==(0|n[k>>2])?sA(d,b):(n[le>>2]=ce,n[c>>2]=le+4),n[b>>2]=0,n[E>>2]=0}}while(0);q=q+1|0,L=0|n[o>>2]}while(q>>>0<L>>>0);oe=L}else oe=0;if((Ae=Ae+1|0)>>>0>=x>>>0){fe=87;break e}te=oe}}K=P+1|0,(0|($=(q=0|n[u>>2])+(12*K|0)|0))==(0|H)?ue=q:(gi($,0|n[H>>2],0|n[J+(12*P|0)+4>>2]),ue=0|n[u>>2]),$=(0|n[ue+(12*K|0)>>2])+(O<<2)|0,q=(0|n[$>>2])+(1<<S+-1)|0,n[$>>2]=q,$=0|n[V>>2],L=0|n[N>>2];r:do{if((0|D)==(0|z))se=z;else{if(ee=0|n[C>>2],$)_e=D,he=z;else{if((0|n[ee+(O<<2)>>2])>>>0<q>>>0){se=D;break}for(ke=D,de=z;;){le=ke;do{if((0|de)==(0|(le=le+-1|0))){se=de;break r}ce=(0|n[Q>>2])+((0|G(le,L))<<2)+(O<<2)|0}while((0|n[ce>>2])>>>0>=q>>>0);if((0|(de=de+1|0))==(0|le)){se=le;break r}ke=le}}for(;;){for(ce=he;;){if(pe=ee+((0|G(ce,$))<<2)|0,(0|n[pe+(O<<2)>>2])>>>0>=q>>>0){we=_e;break}if((0|(re=ce+1|0))==(0|_e)){se=_e;break r}ce=re}for(;;){if((0|ce)==(0|(we=we+-1|0))){se=ce;break r}if(ve=(0|n[Q>>2])+((0|G(we,L))<<2)|0,(0|n[ve+(O<<2)>>2])>>>0<q>>>0){ye=0;break}}do{re=ve+(ye<<2)|0,be=0|n[(le=pe+(ye<<2)|0)>>2],n[le>>2]=n[re>>2],n[re>>2]=be,ye=ye+1|0}while((0|ye)!=(0|$));if((0|(he=ce+1|0))==(0|we)){se=we;break}_e=we}}}while(0);if(q=31^(0|U(0|x)),be=(L=se-z|0)>>>0<(ee=D-se|0)>>>0,(0|L)!=(0|ee)&&(re=0|n[F>>2],be&&(n[g>>2]=n[g>>2]|1<<31-re),le=re+1|0,n[F>>2]=le,32==(0|le)&&((0|(le=0|n[Y>>2]))==(0|n[M>>2])?sA(T,g):(n[le>>2]=n[g>>2],n[Y>>2]=le+4),n[F>>2]=0,n[g>>2]=0)),le=x>>>1,be){if(be=le-L|0,0|q)for(re=0,ne=1<<q+-1;VA(e+12+(re<<5)|0,0!=(ne&be|0)),(0|(re=re+1|0))!=(0|q);)ne>>>=1}else if(ne=le-ee|0,0|q)for(re=0,be=1<<q+-1;VA(e+12+(re<<5)|0,0!=(be&ne|0)),(0|(re=re+1|0))!=(0|q);)be>>>=1;be=0|n[v>>2],q=0|n[be+(12*P|0)>>2],n[(re=q+(O<<2)|0)>>2]=1+(0|n[re>>2]),gi(be+(12*K|0)|0,q,0|n[be+(12*P|0)+4>>2]),(0|se)!=(0|z)&&(re=(be=0|n[_>>2])-(q=0|n[m>>2])>>2,ne=0|n[Z>>2],(0|(0==(0|re)?0:(113*re|0)-1|0))==((le=0|n[s>>2])+ne|0)?(ae(a),me=0|n[Z>>2],Ze=0|n[s>>2],Re=0|n[_>>2],Be=0|n[m>>2]):(me=ne,Ze=le,Re=be,Be=q),q=Ze+me|0,Ee=(0|Re)==(0|Be)?0:(0|n[Be+(((q>>>0)/113|0)<<2)>>2])+(36*((q>>>0)%113|0)|0)|0,n[Ee>>2]=z,n[(q=Ee+4|0)>>2]=w,n[q+4>>2]=B,n[Ee+12>>2]=se,n[Ee+16>>2]=l,n[Ee+20>>2]=$,n[Ee+24>>2]=O,n[Ee+28>>2]=L,n[Ee+32>>2]=P,n[s>>2]=1+(0|n[s>>2])),(0|D)!=(0|se)?(le=(q=0|n[_>>2])-(be=0|n[m>>2])>>2,ne=0|n[Z>>2],(0|(0==(0|le)?0:(113*le|0)-1|0))==((re=0|n[s>>2])+ne|0)?(ae(a),We=0|n[Z>>2],Ve=0|n[s>>2],Ne=0|n[_>>2],Ge=0|n[m>>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(a=B+4|0)>>2]=h,n[a+4>>2]=Z,n[B+12>>2]=R,n[(a=B+16|0)>>2]=d,n[a+4>>2]=_,n[B+24>>2]=0,n[B+28>>2]=R-m,n[B+32>>2]=0,B=1+(0|n[c>>2])|0,n[c>>2]=B,0|B)for(m=e+1152|0,R=e+1084|0,a=e+1080|0,b=e+1072|0,u=e+1076|0,s=e+1068|0,E=r+8|0,W=i+8|0,V=e+1124|0,N=e+1120|0,F=e+1112|0,g=e+1116|0,Y=e+1108|0,M=o+4|0,T=o+24|0,I=o+24|0,j=d+24|0,C=B;;){X=(Q=C+-1|0)+(B=0|n[v>>2])|0,J=0|n[w>>2],z=0|n[J+(((X>>>0)/113|0)<<2)>>2],X=0|n[z+(36*(O=(X>>>0)%113|0)|0)>>2],S=0|n[z+(36*O|0)+12>>2],H=0|n[z+(36*O|0)+24>>2],D=0|n[z+(36*O|0)+32>>2],n[c>>2]=Q,(1-C-B+(0==(0|(O=(Q=0|n[k>>2])-J>>2))?0:(113*O|0)-1|0)|0)>>>0>225&&(_b(0|n[Q+-4>>2]),n[k>>2]=(0|n[k>>2])-4),n[r>>2]=X,n[i>>2]=S,Q=0|n[l>>2],O=((0|n[t>>2])-1|0)==(0|H)?0:H+1|0,H=(0|n[p>>2])+(12*D|0)|0,B=S-X|0,J=(0|n[e>>2])-(0|n[(0|n[H>>2])+(O<<2)>>2])|0;e:do{if(J){if(B>>>0<3){if(z=0|n[m>>2],n[z>>2]=O,(x=0|n[t>>2])>>>0>1)for(P=1,L=x,K=O;;){if(K=(0|K)==(L+-1|0)?0:K+1|0,n[z+(P<<2)>>2]=K,(P=P+1|0)>>>0>=(q=0|n[t>>2])>>>0){$=q;break}L=q}else $=x;if(!B){ee=85;break}for(re=0,ie=$;;){if(L=(0|n[T>>2])+((0|G(0|n[M>>2],X+re|0))<<2)|0,ie){P=0;do{K=0|n[(0|n[m>>2])+(P<<2)>>2],z=(0|n[e>>2])-(0|n[(0|n[H>>2])+(K<<2)>>2])|0;do{if(0|z){if(Ae=32-(q=0|n[R>>2])|0,te=32-z|0,oe=n[L+(K<<2)>>2]<<te,(0|z)>(0|Ae)){ne=oe>>>te,te=z-Ae|0,n[R>>2]=te,Ae=n[a>>2]|ne>>>te,n[a>>2]=Ae,(0|(te=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[te>>2]=Ae,n[b>>2]=te+4),n[a>>2]=ne<<32-(0|n[R>>2]);break}if(ne=n[a>>2]|oe>>>q,n[a>>2]=ne,oe=q+z|0,n[R>>2]=oe,32!=(0|oe))break;(0|(oe=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[oe>>2]=ne,n[b>>2]=oe+4),n[a>>2]=0,n[R>>2]=0}}while(0);P=P+1|0,z=0|n[t>>2]}while(P>>>0<z>>>0);fe=z}else fe=0;if((re=re+1|0)>>>0>=B>>>0){ee=85;break e}ie=fe}}gi(Q+(12*(x=D+1|0)|0)|0,0|n[Q+(12*D|0)>>2],0|n[Q+(12*D|0)+4>>2]),P=(0|n[(0|n[l>>2])+(12*x|0)>>2])+(O<<2)|0,L=(0|n[P>>2])+(1<<J+-1)|0,n[P>>2]=L,P=0|n[E>>2],z=0|n[W>>2];r:do{if((0|S)==(0|X))be=X;else{if(K=0|n[I>>2],P)ue=S,se=X;else{if((0|n[K+(O<<2)>>2])>>>0<L>>>0){be=S;break}for(le=S,ce=X;;){oe=le;do{if((0|ce)==(0|(oe=oe+-1|0))){be=ce;break r}ne=(0|n[j>>2])+((0|G(oe,z))<<2)+(O<<2)|0}while((0|n[ne>>2])>>>0>=L>>>0);if((0|(ce=ce+1|0))==(0|oe)){be=oe;break r}le=oe}}for(;;){for(ne=se;;){if(ke=K+((0|G(ne,P))<<2)|0,(0|n[ke+(O<<2)>>2])>>>0>=L>>>0){de=ue;break}if((0|(q=ne+1|0))==(0|ue)){be=ue;break r}ne=q}for(;;){if((0|ne)==(0|(de=de+-1|0))){be=ne;break r}if(_e=(0|n[j>>2])+((0|G(de,z))<<2)|0,(0|n[_e+(O<<2)>>2])>>>0<L>>>0){he=0;break}}do{q=_e+(he<<2)|0,te=0|n[(oe=ke+(he<<2)|0)>>2],n[oe>>2]=n[q>>2],n[q>>2]=te,he=he+1|0}while((0|he)!=(0|P));if((0|(se=ne+1|0))==(0|de)){be=de;break}ue=de}}}while(0);if(L=31^(0|U(0|B)),te=(z=be-X|0)>>>0<(K=S-be|0)>>>0,(0|z)!=(0|K)&&(q=0|n[V>>2],te&&(n[N>>2]=n[N>>2]|1<<31-q),oe=q+1|0,n[V>>2]=oe,32==(0|oe)&&((0|(oe=0|n[F>>2]))==(0|n[g>>2])?sA(Y,N):(n[oe>>2]=n[N>>2],n[F>>2]=oe+4),n[V>>2]=0,n[N>>2]=0)),oe=B>>>1,te){if(te=oe-z|0,0|L)for(q=0,Ae=1<<L+-1;VA(e+12+(q<<5)|0,0!=(Ae&te|0)),(0|(q=q+1|0))!=(0|L);)Ae>>>=1}else if(Ae=oe-K|0,0|L)for(q=0,te=1<<L+-1;VA(e+12+(q<<5)|0,0!=(te&Ae|0)),(0|(q=q+1|0))!=(0|L);)te>>>=1;te=0|n[p>>2],L=0|n[te+(12*D|0)>>2],n[(q=L+(O<<2)|0)>>2]=1+(0|n[q>>2]),gi(te+(12*x|0)|0,L,0|n[te+(12*D|0)+4>>2]),(0|be)!=(0|X)&&(q=(te=0|n[k>>2])-(L=0|n[w>>2])>>2,Ae=0|n[v>>2],(0|(0==(0|q)?0:(113*q|0)-1|0))==((oe=0|n[c>>2])+Ae|0)?(ae(A),pe=0|n[v>>2],we=0|n[c>>2],ve=0|n[k>>2],ye=0|n[w>>2]):(pe=Ae,we=oe,ve=te,ye=L),L=we+pe|0,me=(0|ve)==(0|ye)?0:(0|n[ye+(((L>>>0)/113|0)<<2)>>2])+(36*((L>>>0)%113|0)|0)|0,n[me>>2]=X,n[(L=me+4|0)>>2]=h,n[L+4>>2]=Z,n[me+12>>2]=be,n[me+16>>2]=o,n[me+20>>2]=P,n[me+24>>2]=O,n[me+28>>2]=z,n[me+32>>2]=D,n[c>>2]=1+(0|n[c>>2])),(0|S)!=(0|be)?(oe=(L=0|n[k>>2])-(te=0|n[w>>2])>>2,Ae=0|n[v>>2],(0|(0==(0|oe)?0:(113*oe|0)-1|0))==((q=0|n[c>>2])+Ae|0)?(ae(A),Ze=0|n[v>>2],Re=0|n[c>>2],Be=0|n[k>>2],Ee=0|n[w>>2]):(Ze=Ae,Re=q,Be=L,Ee=te),te=Re+Ze|0,We=(0|Be)==(0|Ee)?0:(0|n[Ee+(((te>>>0)/113|0)<<2)>>2])+(36*((te>>>0)%113|0)|0)|0,n[We>>2]=be,n[We+4>>2]=o,n[We+8>>2]=P,n[We+12>>2]=S,n[(te=We+16|0)>>2]=d,n[te+4>>2]=_,n[We+24>>2]=O,n[We+28>>2]=K,n[We+32>>2]=x,te=1+(0|n[c>>2])|0,n[c>>2]=te,Ve=te):ee=85}else ee=85}while(0);if(85==(0|ee)&&(ee=0,Ve=0|n[c>>2]),!Ve)break;C=Ve}We=(Ve=0|n[w>>2])+((((C=0|n[v>>2])>>>0)/113|0)<<2)|0,d=_=0|n[k>>2],o=Ve,(0|_)==(0|Ve)?(Ne=0,Ge=0):(Ne=be=(0|n[We>>2])+(36*((C>>>0)%113|0)|0)|0,Ge=be),be=We,We=Ge;e:for(;;){Ge=We;do{if((0|Ne)==(0|(C=Ge)))break e;Ge=C+36|0}while(4068!=(Ge-(0|n[be>>2])|0));be=Ge=be+4|0,We=0|n[Ge>>2]}if(n[c>>2]=0,(c=d-o>>2)>>>0>2){o=Ve;do{_b(0|n[o>>2]),o=4+(0|n[w>>2])|0,n[w>>2]=o,Ue=(Fe=0|n[k>>2])-o>>2}while(Ue>>>0>2);ge=Ue,Ye=o,Me=Fe}else ge=c,Ye=Ve,Me=_;switch(0|ge){case 1:Te=56,ee=99;break;case 2:Te=113,ee=99}if(99==(0|ee)&&(n[v>>2]=Te),(0|Ye)!=(0|Me)){Te=Ye;do{_b(0|n[Te>>2]),Te=Te+4|0}while((0|Te)!=(0|Me));Me=0|n[w>>2],(0|(w=0|n[k>>2]))!=(0|Me)&&(n[k>>2]=w+(~((w+-4-Me|0)>>>2)<<2))}(Me=0|n[A>>2])?(_b(Me),y=f):y=f}(e,o,a),Er(f,A),Gi(u,A),Gi(l,A),Gi(c,A),y=t,1):(y=t,1)}function Dr(e,r,i,f,t){r|=0,i|=0,f|=0,t|=0;var a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0;if(i=y,y=y+16|0,a=i,o=0|n[124+(e|=0)>>2])if(u=(l=0==((b=o+-1|0)&o|0))?b&t:o>>>0>t>>>0?t:(t>>>0)%(o>>>0)|0,s=0|n[(0|n[e+120>>2])+(u<<2)>>2])if(c=0|n[s>>2]){e:do{if(l){for(s=c;;){if(!((d=(0|(k=0|n[s+4>>2]))==(0|t))|(k&b|0)==(0|u))){_=24;break}if(d&&(0|n[s+8>>2])==(0|t)){h=s;break e}if(!(s=0|n[s>>2])){_=24;break}}if(24==(0|_))return void(y=i)}else{for(s=c;;){if((0|(d=0|n[s+4>>2]))==(0|t)){if((0|n[s+8>>2])==(0|t)){h=s;break e}}else if((0|(d>>>0<o>>>0?d:(d>>>0)%(o>>>0)|0))!=(0|u)){_=24;break}if(!(s=0|n[s>>2])){_=24;break}}if(24==(0|_))return void(y=i)}}while(0);-1!=(0|(_=0|n[h+12>>2]))?(n[a>>2]=_,n[a+4>>2]=r,A[a+8>>0]=1&f,(0|(r=0|n[(f=e+112|0)>>2]))==(0|n[e+116>>2])?function(e,r){r|=0;var i,f,A,t,a,o,b,l,c=0,u=0;i=(e|=0)+4|0,f=0|n[e>>2],(a=(t=(0|(A=(0|n[i>>2])-f|0))/12|0)+1|0)>>>0>357913941&&On(),c=(b=((0|n[(o=e+8|0)>>2])-f|0)/12|0)<<1,l=b>>>0<178956970?c>>>0<a>>>0?a:c:357913941;do{if(l){if(!(l>>>0>357913941)){u=0|Uo(12*l|0);break}_n(c=0|j(8),14941),n[c>>2]=6944,Q(0|c,1080,114)}else u=0}while(0);n[(c=u+(12*t|0)|0)>>2]=n[r>>2],n[c+4>>2]=n[r+4>>2],n[c+8>>2]=n[r+8>>2],r=c+(12*((0|A)/-12|0)|0)|0,(0|A)>0&&qi(0|r,0|f,0|A),n[e>>2]=r,n[i>>2]=c+12,n[o>>2]=u+(12*l|0),f&&_b(f)}(e+108|0,a):(n[r>>2]=n[a>>2],n[r+4>>2]=n[a+4>>2],n[r+8>>2]=n[a+8>>2],n[f>>2]=12+(0|n[f>>2])),y=i):y=i}else y=i;else y=i;else y=i}function xr(e,r){e|=0;var i,f,A,t,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0;if(r=239+(239+(239+(65535&(318^(i=0|a[(r|=0)>>1])))^65535&(f=0|a[r+2>>1]))^65535&(A=0|a[r+4>>1]))^65535&(t=0|a[r+6>>1]),!(o=0|n[e+4>>2]))return 0;if(l=(u=0==((b=o+-1|0)&o|0))?r&b:r>>>0<o>>>0?r:(r>>>0)%(o>>>0)|0,!(s=0|n[(0|n[e>>2])+(l<<2)>>2]))return 0;if(!(e=0|n[s>>2]))return 0;if(u){for(u=e;;){if(!((k=(0|(s=0|n[u+4>>2]))==(0|r))|(s&b|0)==(0|l))){c=0,d=25;break}if(k&&(0|a[(k=u+8|0)>>1])==i<<16>>16&&(0|a[k+2>>1])==f<<16>>16&&(0|a[u+12>>1])==A<<16>>16&&(0|a[k+6>>1])==t<<16>>16){c=u,d=25;break}if(!(u=0|n[u>>2])){c=0,d=25;break}}if(25==(0|d))return 0|c}else _=e;for(;;){if((0|(e=0|n[_+4>>2]))==(0|r)){if((0|a[(u=_+8|0)>>1])==i<<16>>16&&(0|a[u+2>>1])==f<<16>>16&&(0|a[_+12>>1])==A<<16>>16&&(0|a[u+6>>1])==t<<16>>16){c=_,d=25;break}}else if((0|(e>>>0<o>>>0?e:(e>>>0)%(o>>>0)|0))!=(0|l)){c=0,d=25;break}if(!(_=0|n[_>>2])){c=0,d=25;break}}return 25==(0|d)?0|c:0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+(36*((a>>>0)%113|0)|0)|0,n[B>>2]=m,n[(a=B+4|0)>>2]=h,n[a+4>>2]=Z,n[B+12>>2]=R,n[(a=B+16|0)>>2]=d,n[a+4>>2]=_,n[B+24>>2]=0,n[B+28>>2]=R-m,n[B+32>>2]=0,B=1+(0|n[c>>2])|0,n[c>>2]=B,0|B)for(m=e+116|0,R=e+48|0,a=e+44|0,b=e+36|0,u=e+40|0,s=e+32|0,E=r+8|0,W=i+8|0,V=e+28|0,N=e+24|0,F=e+16|0,g=e+20|0,Y=e+12|0,M=e+88|0,T=e+84|0,I=e+76|0,j=e+80|0,C=e+72|0,Q=o+4|0,X=o+24|0,J=o+24|0,z=d+24|0,O=B;;){H=(S=O+-1|0)+(B=0|n[v>>2])|0,D=0|n[w>>2],x=0|n[D+(((H>>>0)/113|0)<<2)>>2],H=0|n[x+(36*(P=(H>>>0)%113|0)|0)>>2],L=0|n[x+(36*P|0)+12>>2],K=0|n[x+(36*P|0)+24>>2],q=0|n[x+(36*P|0)+32>>2],n[c>>2]=S,(1-O-B+(0==(0|(P=(S=0|n[k>>2])-D>>2))?0:(113*P|0)-1|0)|0)>>>0>225&&(_b(0|n[S+-4>>2]),n[k>>2]=(0|n[k>>2])-4),n[r>>2]=H,n[i>>2]=L,S=0|n[l>>2],P=((0|n[t>>2])-1|0)==(0|K)?0:K+1|0,K=(0|n[p>>2])+(12*q|0)|0,B=L-H|0,D=(0|n[e>>2])-(0|n[(0|n[K>>2])+(P<<2)>>2])|0;e:do{if(D){if(B>>>0<3){if(x=0|n[m>>2],n[x>>2]=P,($=0|n[t>>2])>>>0>1)for(ee=1,re=$,ie=P;;){if(ie=(0|ie)==(re+-1|0)?0:ie+1|0,n[x+(ee<<2)>>2]=ie,(ee=ee+1|0)>>>0>=(fe=0|n[t>>2])>>>0){Ae=fe;break}re=fe}else Ae=$;if(!B){te=99;break}for(oe=0,ne=Ae;;){if(re=(0|n[X>>2])+((0|G(0|n[Q>>2],H+oe|0))<<2)|0,ne){ee=0;do{ie=0|n[(0|n[m>>2])+(ee<<2)>>2],x=(0|n[e>>2])-(0|n[(0|n[K>>2])+(ie<<2)>>2])|0;do{if(0|x){if(le=32-(fe=0|n[R>>2])|0,ce=32-x|0,ue=n[re+(ie<<2)>>2]<<ce,(0|x)>(0|le)){se=ue>>>ce,ce=x-le|0,n[R>>2]=ce,le=n[a>>2]|se>>>ce,n[a>>2]=le,(0|(ce=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[ce>>2]=le,n[b>>2]=ce+4),n[a>>2]=se<<32-(0|n[R>>2]);break}if(se=n[a>>2]|ue>>>fe,n[a>>2]=se,ue=fe+x|0,n[R>>2]=ue,32!=(0|ue))break;(0|(ue=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[ue>>2]=se,n[b>>2]=ue+4),n[a>>2]=0,n[R>>2]=0}}while(0);ee=ee+1|0,x=0|n[t>>2]}while(ee>>>0<x>>>0);be=x}else be=0;if((oe=oe+1|0)>>>0>=B>>>0){te=99;break e}ne=be}}gi(S+(12*($=q+1|0)|0)|0,0|n[S+(12*q|0)>>2],0|n[S+(12*q|0)+4>>2]),ee=(0|n[(0|n[l>>2])+(12*$|0)>>2])+(P<<2)|0,re=(0|n[ee>>2])+(1<<D+-1)|0,n[ee>>2]=re,ee=0|n[E>>2],x=0|n[W>>2];r:do{if((0|L)==(0|H))ke=H;else{if(ie=0|n[J>>2],ee)he=L,pe=H;else{if((0|n[ie+(P<<2)>>2])>>>0<re>>>0){ke=L;break}for(de=L,_e=H;;){ue=de;do{if((0|_e)==(0|(ue=ue+-1|0))){ke=_e;break r}se=(0|n[z>>2])+((0|G(ue,x))<<2)+(P<<2)|0}while((0|n[se>>2])>>>0>=re>>>0);if((0|(_e=_e+1|0))==(0|ue)){ke=ue;break r}de=ue}}for(;;){for(se=pe;;){if(we=ie+((0|G(se,ee))<<2)|0,(0|n[we+(P<<2)>>2])>>>0>=re>>>0){ve=he;break}if((0|(fe=se+1|0))==(0|he)){ke=he;break r}se=fe}for(;;){if((0|se)==(0|(ve=ve+-1|0))){ke=se;break r}if(ye=(0|n[z>>2])+((0|G(ve,x))<<2)|0,(0|n[ye+(P<<2)>>2])>>>0<re>>>0){me=0;break}}do{fe=ye+(me<<2)|0,ce=0|n[(ue=we+(me<<2)|0)>>2],n[ue>>2]=n[fe>>2],n[fe>>2]=ce,me=me+1|0}while((0|me)!=(0|ee));if((0|(pe=se+1|0))==(0|ve)){ke=ve;break}he=ve}}}while(0);re=31^(0|U(0|B)),ce=(x=ke-H|0)>>>0<(ie=L-ke|0)>>>0,(0|x)!=(0|ie)&&(fe=0|n[M>>2],ce&&(n[T>>2]=n[T>>2]|1<<31-fe),ue=fe+1|0,n[M>>2]=ue,32==(0|ue)&&((0|(ue=0|n[I>>2]))==(0|n[j>>2])?sA(C,T):(n[ue>>2]=n[T>>2],n[I>>2]=ue+4),n[M>>2]=0,n[T>>2]=0)),ue=B>>>1;do{if(ce){if(Re=ue-x<<(Ze=32-re|0),(0|re)>(0|(le=32-(fe=0|n[V>>2])|0))){Be=Re>>>Ze,Ze=re-le|0,n[V>>2]=Ze,le=n[N>>2]|Be>>>Ze,n[N>>2]=le,(0|(Ze=0|n[F>>2]))==(0|n[g>>2])?sA(Y,N):(n[Ze>>2]=le,n[F>>2]=Ze+4),n[N>>2]=Be<<32-(0|n[V>>2]);break}Be=n[N>>2]|Re>>>fe,n[N>>2]=Be,Re=fe+re|0,n[V>>2]=Re,32==(0|Re)&&((0|(Re=0|n[F>>2]))==(0|n[g>>2])?sA(Y,N):(n[Re>>2]=Be,n[F>>2]=Re+4),n[N>>2]=0,n[V>>2]=0)}else{if(Ze=ue-ie<<(fe=32-re|0),(0|re)>(0|(Be=32-(Re=0|n[V>>2])|0))){le=Ze>>>fe,fe=re-Be|0,n[V>>2]=fe,Be=n[N>>2]|le>>>fe,n[N>>2]=Be,(0|(fe=0|n[F>>2]))==(0|n[g>>2])?sA(Y,N):(n[fe>>2]=Be,n[F>>2]=fe+4),n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[Me+8>>2]=ee,n[Me+12>>2]=L,n[(re=Me+16|0)>>2]=d,n[re+4>>2]=_,n[Me+24>>2]=P,n[Me+28>>2]=ie,n[Me+32>>2]=$,re=1+(0|n[c>>2])|0,n[c>>2]=re,Te=re):te=99}else te=99}while(0);if(99==(0|te)&&(te=0,Te=0|n[c>>2]),!Te)break;O=Te}Me=(Te=0|n[w>>2])+((((O=0|n[v>>2])>>>0)/113|0)<<2)|0,d=_=0|n[k>>2],o=Te,(0|_)==(0|Te)?(Ie=0,je=0):(Ie=ke=(0|n[Me>>2])+(36*((O>>>0)%113|0)|0)|0,je=ke),ke=Me,Me=je;e:for(;;){je=Me;do{if((0|Ie)==(0|(O=je)))break e;je=O+36|0}while(4068!=(je-(0|n[ke>>2])|0));ke=je=ke+4|0,Me=0|n[je>>2]}if(n[c>>2]=0,(c=d-o>>2)>>>0>2){o=Te;do{_b(0|n[o>>2]),o=4+(0|n[w>>2])|0,n[w>>2]=o,Qe=(Ce=0|n[k>>2])-o>>2}while(Qe>>>0>2);Xe=Qe,Je=o,ze=Ce}else Xe=c,Je=Te,ze=_;switch(0|Xe){case 1:Oe=56,te=113;break;case 2:Oe=113,te=113}if(113==(0|te)&&(n[v>>2]=Oe),(0|Je)!=(0|ze)){Oe=Je;do{_b(0|n[Oe>>2]),Oe=Oe+4|0}while((0|Oe)!=(0|ze));ze=0|n[w>>2],(0|(w=0|n[k>>2]))!=(0|ze)&&(n[k>>2]=w+(~((w+-4-ze|0)>>>2)<<2))}(ze=0|n[A>>2])?(_b(ze),y=f):y=f}(e,o,a),Gi(f,A),Gi(u,A),Gi(l,A),Gi(c,A),y=t,1):(y=t,1)}function Lr(e,r,i,f,A){r|=0,i|=0,f|=0,A|=0;var t,a,o,b=0,l=0,c=0,u=0;return t=y,y=y+32|0,a=t+12|0,o=t,n[(e|=0)>>2]=n[f>>2],n[(f=e+4|0)>>2]=(0|n[i>>2])-(0|n[r>>2]),(0|(c=0|n[4+(l=b=A+16|0)>>2]))>0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e+52|0,s=e+44|0,E=r+8|0,W=i+8|0,V=e+12|0,N=e+100|0,F=e+96|0,g=e+88|0,Y=e+92|0,M=e+84|0,T=o+4|0,I=o+24|0,j=o+24|0,C=d+24|0,Q=B;;){J=(X=Q+-1|0)+(B=0|n[v>>2])|0,z=0|n[w>>2],O=0|n[z+(((J>>>0)/113|0)<<2)>>2],J=0|n[O+(36*(S=(J>>>0)%113|0)|0)>>2],H=0|n[O+(36*S|0)+12>>2],D=0|n[O+(36*S|0)+24>>2],x=0|n[O+(36*S|0)+32>>2],n[c>>2]=X,(1-Q-B+(0==(0|(S=(X=0|n[k>>2])-z>>2))?0:(113*S|0)-1|0)|0)>>>0>225&&(_b(0|n[X+-4>>2]),n[k>>2]=(0|n[k>>2])-4),n[r>>2]=J,n[i>>2]=H,X=0|n[l>>2],S=((0|n[t>>2])-1|0)==(0|D)?0:D+1|0,D=(0|n[p>>2])+(12*x|0)|0,B=H-J|0,z=(0|n[e>>2])-(0|n[(0|n[D>>2])+(S<<2)>>2])|0;e:do{if(z){if(B>>>0<3){if(O=0|n[m>>2],n[O>>2]=S,(P=0|n[t>>2])>>>0>1)for(L=1,K=P,q=S;;){if(q=(0|q)==(K+-1|0)?0:q+1|0,n[O+(L<<2)>>2]=q,(L=L+1|0)>>>0>=($=0|n[t>>2])>>>0){ee=$;break}K=$}else ee=P;if(!B){re=81;break}for(ie=0,fe=ee;;){if(K=(0|n[I>>2])+((0|G(0|n[T>>2],J+ie|0))<<2)|0,fe){L=0;do{q=0|n[(0|n[m>>2])+(L<<2)>>2],O=(0|n[e>>2])-(0|n[(0|n[D>>2])+(q<<2)>>2])|0;do{if(0|O){if(te=32-($=0|n[R>>2])|0,oe=32-O|0,ne=n[K+(q<<2)>>2]<<oe,(0|O)>(0|te)){be=ne>>>oe,oe=O-te|0,n[R>>2]=oe,te=n[a>>2]|be>>>oe,n[a>>2]=te,(0|(oe=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[oe>>2]=te,n[b>>2]=oe+4),n[a>>2]=be<<32-(0|n[R>>2]);break}if(be=n[a>>2]|ne>>>$,n[a>>2]=be,ne=$+O|0,n[R>>2]=ne,32!=(0|ne))break;(0|(ne=0|n[b>>2]))==(0|n[u>>2])?sA(s,a):(n[ne>>2]=be,n[b>>2]=ne+4),n[a>>2]=0,n[R>>2]=0}}while(0);L=L+1|0,O=0|n[t>>2]}while(L>>>0<O>>>0);Ae=O}else Ae=0;if((ie=ie+1|0)>>>0>=B>>>0){re=81;break e}fe=Ae}}gi(X+(12*(P=x+1|0)|0)|0,0|n[X+(12*x|0)>>2],0|n[X+(12*x|0)+4>>2]),L=(0|n[(0|n[l>>2])+(12*P|0)>>2])+(S<<2)|0,K=(0|n[L>>2])+(1<<z+-1)|0,n[L>>2]=K,L=0|n[E>>2],O=0|n[W>>2];r:do{if((0|H)==(0|J))le=J;else{if(q=0|n[j>>2],L)se=H,ke=J;else{if((0|n[q+(S<<2)>>2])>>>0<K>>>0){le=H;break}for(ce=H,ue=J;;){ne=ce;do{if((0|ue)==(0|(ne=ne+-1|0))){le=ue;break r}be=(0|n[C>>2])+((0|G(ne,O))<<2)+(S<<2)|0}while((0|n[be>>2])>>>0>=K>>>0);if((0|(ue=ue+1|0))==(0|ne)){le=ne;break r}ce=ne}}for(;;){for(be=ke;;){if(de=q+((0|G(be,L))<<2)|0,(0|n[de+(S<<2)>>2])>>>0>=K>>>0){_e=se;break}if((0|($=be+1|0))==(0|se)){le=se;break r}be=$}for(;;){if((0|be)==(0|(_e=_e+-1|0))){le=be;break r}if(he=(0|n[C>>2])+((0|G(_e,O))<<2)|0,(0|n[he+(S<<2)>>2])>>>0<K>>>0){pe=0;break}}do{$=he+(pe<<2)|0,oe=0|n[(ne=de+(pe<<2)|0)>>2],n[ne>>2]=n[$>>2],n[$>>2]=oe,pe=pe+1|0}while((0|pe)!=(0|L));if((0|(ke=be+1|0))==(0|_e)){le=_e;break}se=_e}}}while(0);K=31^(0|U(0|B)),oe=(O=le-J|0)>>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Ve+8>>2]=L,n[Ve+12>>2]=H,n[(K=Ve+16|0)>>2]=d,n[K+4>>2]=_,n[Ve+24>>2]=S,n[Ve+28>>2]=q,n[Ve+32>>2]=P,q=1+(0|n[c>>2])|0,n[c>>2]=q,Ne=q):re=81}else re=81}while(0);if(81==(0|re)&&(re=0,Ne=0|n[c>>2]),!Ne)break;Q=Ne}Ve=(Ne=0|n[w>>2])+((((Q=0|n[v>>2])>>>0)/113|0)<<2)|0,d=_=0|n[k>>2],o=Ne,(0|_)==(0|Ne)?(Ge=0,Fe=0):(Ge=le=(0|n[Ve>>2])+(36*((Q>>>0)%113|0)|0)|0,Fe=le),le=Ve,Ve=Fe;e:for(;;){Fe=Ve;do{if((0|Ge)==(0|(Q=Fe)))break e;Fe=Q+36|0}while(4068!=(Fe-(0|n[le>>2])|0));le=Fe=le+4|0,Ve=0|n[Fe>>2]}if(n[c>>2]=0,(c=d-o>>2)>>>0>2){o=Ne;do{_b(0|n[o>>2]),o=4+(0|n[w>>2])|0,n[w>>2]=o,ge=(Ue=0|n[k>>2])-o>>2}while(ge>>>0>2);Ye=ge,Me=o,Te=Ue}else Ye=c,Me=Ne,Te=_;switch(0|Ye){case 1:Ie=56,re=95;break;case 2:Ie=113,re=95}if(95==(0|re)&&(n[v>>2]=Ie),(0|Me)!=(0|Te)){Ie=Me;do{_b(0|n[Ie>>2]),Ie=Ie+4|0}while((0|Ie)!=(0|Te));Te=0|n[w>>2],(0|(w=0|n[k>>2]))!=(0|Te)&&(n[k>>2]=w+(~((w+-4-Te|0)>>>2)<<2))}(Te=0|n[A>>2])?(_b(Te),y=f):y=f}(e,o,a),Ee(f,A),Gi(u,A),Gi(l,A),Gi(c,A),y=t,1):(y=t,1)}function Kr(e,r,i){e|=0,r|=0;var f,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;if(e=y,y=y+16|0,f=e+4|0,t=e,u=e+8|0,s=(o=0|A[(a=11+(i|=0)|0)>>0])<<24>>24<0){if((k=0|n[i+4>>2])>>>0>255)return y=e,0;d=k}else d=255&o;return d?(k=0|n[(d=i+4|0)>>2],A[u>>0]=s?k:255&o,l=0|n[(b=s=r+16|0)>>2],(0|(c=0|n[b+4>>2]))>0|0==(0|c)&l>>>0>0?(_=o,h=c,p=l,w=k):(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,u,u+1|0),u=s,_=0|A[a>>0],h=0|n[u+4>>2],p=0|n[u>>2],w=0|n[d>>2]),u=(d=_<<24>>24<0)?0|n[i>>2]:i,(0|h)>0|0==(0|h)&p>>>0>0||(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,u,u+(d?w:255&_)|0)),y=e,1):(A[u>>0]=0,(0|(k=0|n[4+(d=r+16|0)>>2]))>0|0==(0|k)&(0|n[d>>2])>>>0>0||(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,u,u+1|0)),y=e,1)}function qr(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;i=4+(e|=0)|0,f=0|n[e>>2],(t=1+(A=((0|n[i>>2])-f|0)/24|0)|0)>>>0>178956970&&On(),f=(o=((0|n[(a=e+8|0)>>2])-f|0)/24|0)<<1,b=o>>>0<89478485?f>>>0<t>>>0?t:f:178956970;do{if(b){if(!(b>>>0>178956970)){l=0|Uo(24*b|0);break}_n(f=0|j(8),14941),n[f>>2]=6944,Q(0|f,1080,114)}else l=0}while(0);if(t=f=l+(24*A|0)|0,o=l+(24*b|0)|0,n[f>>2]=1180,n[l+(24*A|0)+4>>2]=n[r+4>>2],ba(l+(24*A|0)+8|0,r+8|0),n[l+(24*A|0)+20>>2]=n[r+20>>2],r=f+24|0,A=0|n[e>>2],(0|(l=0|n[i>>2]))==(0|A))c=t,u=A,s=A;else{b=l,l=t,t=f;do{n[t+-24>>2]=1180,n[t+-20>>2]=n[b+-20>>2],k=b+-16|0,n[(f=t+-16|0)>>2]=0,n[(d=t+-12|0)>>2]=0,n[t+-8>>2]=0,n[f>>2]=n[k>>2],f=b+-12|0,n[d>>2]=n[f>>2],d=b+-8|0,n[t+-8>>2]=n[d>>2],n[d>>2]=0,n[f>>2]=0,n[k>>2]=0,n[t+-4>>2]=n[b+-4>>2],b=b+-24|0,l=t=l+-24|0}while((0|b)!=(0|A));c=l,u=0|n[e>>2],s=0|n[i>>2]}if(n[e>>2]=c,n[i>>2]=r,n[a>>2]=o,(0|s)!=(0|(o=u))){a=s;do{Eb[127&n[n[(a=a+-24|0)>>2]>>2]](a)}while((0|a)!=(0|o))}u&&_b(u)}function $r(e,r){e|=0;var i,f,t,a,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0;if(r=239+(239+(239+(255&(i=0|A[(r|=0)>>0])^318)^255&(f=0|A[r+1>>0]))^255&(t=0|A[r+2>>0]))^255&(a=0|A[r+3>>0]),!(o=0|n[e+4>>2]))return 0;if(l=(u=0==((b=o+-1|0)&o|0))?r&b:r>>>0<o>>>0?r:(r>>>0)%(o>>>0)|0,!(s=0|n[(0|n[e>>2])+(l<<2)>>2]))return 0;if(!(e=0|n[s>>2]))return 0;if(u){for(u=e;;){if(!((k=(0|(s=0|n[u+4>>2]))==(0|r))|(s&b|0)==(0|l))){c=0,d=25;break}if(k&&(0|A[(k=u+8|0)>>0])==i<<24>>24&&(0|A[k+1>>0])==f<<24>>24&&(0|A[k+2>>0])==t<<24>>24&&(0|A[k+3>>0])==a<<24>>24){c=u,d=25;break}if(!(u=0|n[u>>2])){c=0,d=25;break}}if(25==(0|d))return 0|c}else _=e;for(;;){if((0|(e=0|n[_+4>>2]))==(0|r)){if((0|A[(u=_+8|0)>>0])==i<<24>>24&&(0|A[u+1>>0])==f<<24>>24&&(0|A[u+2>>0])==t<<24>>24&&(0|A[u+3>>0])==a<<24>>24){c=_,d=25;break}}else if((0|(e>>>0<o>>>0?e:(e>>>0)%(o>>>0)|0))!=(0|l)){c=0,d=25;break}if(!(_=0|n[_>>2])){c=0,d=25;break}}return 25==(0|d)?0|c:0}function ei(e,r,i,f,A,t){e|=0,i|=0,f|=0,A|=0,t|=0;var a,o,b,l,c=0,u=0,s=0;a=y,y=y+32|0,o=a,b=a+16|0,l=0|n[(0|n[8+(0|n[4+(r|=0)>>2])>>2])+(f<<2)>>2];do{if((i+-1|0)>>>0<6&1==(0|yb[127&n[8+(0|n[r>>2])>>2]](r))){if(0==(0|(c=0|yb[127&n[52+(0|n[r>>2])>>2]](r)))|0==(0|(u=0|mb[127&n[60+(0|n[r>>2])>>2]](r,f))))return n[e>>2]=0,void(y=a);if(s=0|mb[127&n[56+(0|n[r>>2])>>2]](r,f)){if(n[o>>2]=n[r+56>>2],n[o+4>>2]=s,n[o+12>>2]=u,n[o+8>>2]=u+12,fr(e,b,i,l,A,o,t),!(0|n[e>>2])){n[e>>2]=0;break}return void(y=a)}if(n[o>>2]=n[r+56>>2],n[o+4>>2]=c,n[o+12>>2]=u,n[o+8>>2]=u+12,tr(e,b,i,l,A,o,t),!(0|n[e>>2])){n[e>>2]=0;break}return void(y=a)}}while(0);n[e>>2]=0,y=a}function ri(e,r,i){e|=0,i|=0;var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(a=0|n[(r|=0)>>2],o=(r=0|n[i>>2])-a>>2,l=0|n[(b=e+8|0)>>2],A=f=0|n[e>>2],t=r,o>>>0<=l-f>>2>>>0){if(0|(u=(r=(k=(s=o>>>0>(u=(0|n[(c=e+4|0)>>2])-f>>2)>>>0)?a+(u<<2)|0:r)-a|0)>>2)&&no(0|f,0|a,0|r),r=A+(u<<2)|0,!s){if((0|(s=0|n[c>>2]))==(0|r))return;return void(n[c>>2]=s+(~((s+-4-r|0)>>>2)<<2))}if((0|(r=0|n[i>>2]))==(0|(i=k)))return;for(u=r+-4-k|0,k=i,i=s=0|n[c>>2];n[i>>2]=n[k>>2],(0|(k=k+4|0))!=(0|r);)i=i+4|0;n[c>>2]=s+(1+(u>>>2)<<2)}else if(u=f,f?((0|(s=0|n[(l=e+4|0)>>2]))!=(0|A)&&(n[l>>2]=s+(~((s+-4-f|0)>>>2)<<2)),_b(u),n[b>>2]=0,n[l>>2]=0,n[e>>2]=0,d=0):d=l,o>>>0>1073741823&&On(),l=d>>1,(u=d>>2>>>0<536870911?l>>>0<o>>>0?o:l:1073741823)>>>0>1073741823&&On(),l=0|Uo(u<<2),n[(o=e+4|0)>>2]=l,n[e>>2]=l,n[b>>2]=l+(u<<2),(0|t)!=(0|(u=a))){for(b=t+-4-a|0,a=u,u=l;n[u>>2]=n[a>>2],(0|(a=a+4|0))!=(0|t);)u=u+4|0;n[o>>2]=l+(1+(b>>>2)<<2)}}function ii(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b,l,c,u=0,s=0,k=0,d=0;f=y,y=y+112|0,t=f+100|0,a=f,o=0|Uo(120),b=0|n[r+8>>2],n[o+4>>2]=0,n[o>>2]=3296,u=o+8|0,k=44+(s=o+12|0)|0;do{n[s>>2]=0,s=s+4|0}while((0|s)<(0|k));n[u>>2]=3320,k=36+(s=o+56|0)|0;do{n[s>>2]=0,s=s+4|0}while((0|s)<(0|k));n[o+96>>2]=0,n[o+100>>2]=0,n[o+104>>2]=0,n[o+108>>2]=b,n[o+112>>2]=i,n[(u=o+116|0)>>2]=0,l=o,c=0|n[r+12>>2],k=40+(s=4+(d=a+4|0)|0)|0;do{n[s>>2]=0,s=s+4|0}while((0|s)<(0|k));n[a>>2]=3320,k=36+(s=a+48|0)|0;do{n[s>>2]=0,s=s+4|0}while((0|s)<(0|k));n[a+88>>2]=0,n[a+92>>2]=0,n[a+96>>2]=0,s=c,n[d>>2]=s,k=((0|n[s+4>>2])-(0|n[c>>2])>>2>>>0)/3|0,A[t>>0]=0,rf(a+24|0,k,t),k=0|n[d>>2],d=(0|n[k+28>>2])-(0|n[k+24>>2])>>2,A[t>>0]=0,rf(a+36|0,d,t),n[a+8>>2]=c,n[a+12>>2]=i,n[a+16>>2]=b,n[a+20>>2]=o,n[u>>2]=r+72,function(e,r){var i;Or(i=(e|=0)+8|0,r|=0),(0|i)==(0|r)?n[e+92>>2]=n[r+84>>2]:(wi(e+56|0,0|n[r+48>>2],0|n[r+52>>2]),wi(e+68|0,0|n[r+60>>2],0|n[r+64>>2]),wi(e+80|0,0|n[r+72>>2],0|n[r+76>>2]),n[e+92>>2]=n[r+84>>2],gi(e+96|0,0|n[r+88>>2],0|n[r+92>>2]))}(o,a),n[e>>2]=l,_A(a),y=f}function fi(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=40+(e|=0)|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])-4194304|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-4177920|0,A[u>>0]=s,A[u+1>>0]=s>>>8,k=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,s=(0|n[o>>2])+(0|n[c>>2])|0,u=b+4194304|0,A[s>>0]=u,A[s+1>>0]=u>>>8,A[s+2>>0]=u>>>16,k=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,s=b+-1077936128|0,A[u>>0]=s,A[u+1>>0]=s>>>8,A[u+2>>0]=s>>>16,A[u+3>>0]=s>>>24,k=4+(0|n[c>>2])|0;break}k=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,k=1+(0|n[c>>2])|0}while(0);l=((0|k)<0)<<31>>31,Jo(f),nf(k,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|k),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|k,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}function Ai(e,r,i,f,t,a,o){e|=0,i|=0,f|=0,t|=0,a|=0,o|=0;var b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;if(e=y,y=y+96|0,!(r|=0))return y=e,-1;if(yo(b=e),St(b,i,0,255&t,o,0,t<<1,0,0,0),o=0|wf(r,b,1,f),i=0|n[(0|n[r+8>>2])+(o<<2)>>2],0|f){l=i+84|0,c=i+68|0,u=i+40|0,s=i+64|0,i=0;do{k=0|A[l>>0]?i:0|n[(0|n[c>>2])+(i<<2)>>2],d=a+((0|G(i,t))<<1)|0,p=0|To(0|(h=0|n[(_=u)>>2]),0|n[_+4>>2],0|k,0),qi((0|n[n[s>>2]>>2])+p|0,0|d,0|h),i=i+1|0}while((0|i)!=(0|f))}return(r=0|n[(i=r+80|0)>>2])?(0|r)==(0|f)?w=10:v=-1:(n[i>>2]=f,w=10),10==(0|w)&&(v=o),w=0|n[(o=b+88|0)>>2],n[o>>2]=0,0|w&&(0|(o=0|n[w+8>>2])&&((0|n[(f=w+12|0)>>2])!=(0|o)&&(n[f>>2]=o),_b(o)),_b(w)),0|(w=0|n[b+68>>2])&&((0|(f=0|n[(o=b+72|0)>>2]))!=(0|w)&&(n[o>>2]=f+(~((f+-4-w|0)>>>2)<<2)),_b(w)),b=0|n[(w=b+64|0)>>2],n[w>>2]=0,0|b&&(0|(w=0|n[b>>2])&&((0|n[(f=b+4|0)>>2])!=(0|w)&&(n[f>>2]=w),_b(w)),_b(b)),y=e,0|v}function ti(e,r,i,f,t,a,o){e|=0,i|=0,f|=0,t|=0,a|=0,o|=0;var b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;if(e=y,y=y+96|0,!(r|=0))return y=e,-1;if(yo(b=e),St(b,i,0,255&t,o,0,t<<2,0,0,0),o=0|wf(r,b,1,f),i=0|n[(0|n[r+8>>2])+(o<<2)>>2],0|f){l=i+84|0,c=i+68|0,u=i+40|0,s=i+64|0,i=0;do{k=0|A[l>>0]?i:0|n[(0|n[c>>2])+(i<<2)>>2],d=a+((0|G(i,t))<<2)|0,p=0|To(0|(h=0|n[(_=u)>>2]),0|n[_+4>>2],0|k,0),qi((0|n[n[s>>2]>>2])+p|0,0|d,0|h),i=i+1|0}while((0|i)!=(0|f))}return(r=0|n[(i=r+80|0)>>2])?(0|r)==(0|f)?w=10:v=-1:(n[i>>2]=f,w=10),10==(0|w)&&(v=o),w=0|n[(o=b+88|0)>>2],n[o>>2]=0,0|w&&(0|(o=0|n[w+8>>2])&&((0|n[(f=w+12|0)>>2])!=(0|o)&&(n[f>>2]=o),_b(o)),_b(w)),0|(w=0|n[b+68>>2])&&((0|(f=0|n[(o=b+72|0)>>2]))!=(0|w)&&(n[o>>2]=f+(~((f+-4-w|0)>>>2)<<2)),_b(w)),b=0|n[(w=b+64|0)>>2],n[w>>2]=0,0|b&&(0|(w=0|n[b>>2])&&((0|n[(f=b+4|0)>>2])!=(0|w)&&(n[f>>2]=w),_b(w)),_b(b)),y=e,0|v}function ai(e,r){e|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0;if(r=239+(239+(239+(318^(i=0|n[(r|=0)>>2]))^(f=0|n[r+4>>2]))^(A=0|n[r+8>>2]))^(t=0|n[r+12>>2]),!(a=0|n[e+4>>2]))return 0;if(b=(c=0==((o=a+-1|0)&a|0))?r&o:r>>>0<a>>>0?r:(r>>>0)%(a>>>0)|0,!(u=0|n[(0|n[e>>2])+(b<<2)>>2]))return 0;if(!(e=0|n[u>>2]))return 0;if(c){for(c=e;;){if(!((s=(0|(u=0|n[c+4>>2]))==(0|r))|(u&o|0)==(0|b))){l=0,k=25;break}if(s&&(0|n[c+8>>2])==(0|i)&&(0|n[c+12>>2])==(0|f)&&(0|n[c+16>>2])==(0|A)&&(0|n[c+20>>2])==(0|t)){l=c,k=25;break}if(!(c=0|n[c>>2])){l=0,k=25;break}}if(25==(0|k))return 0|l}else d=e;for(;;){if((0|(e=0|n[d+4>>2]))==(0|r)){if((0|n[d+8>>2])==(0|i)&&(0|n[d+12>>2])==(0|f)&&(0|n[d+16>>2])==(0|A)&&(0|n[d+20>>2])==(0|t)){l=d,k=25;break}}else if((0|(e>>>0<a>>>0?e:(e>>>0)%(a>>>0)|0))!=(0|b)){l=0,k=25;break}if(!(d=0|n[d>>2])){l=0,k=25;break}}return 25==(0|k)?0|l:0}function oi(e,r,i,f,t,a,o){e|=0,i|=0,f|=0,t|=0,a|=0,o|=0;var b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;if(e=y,y=y+96|0,!(r|=0))return y=e,-1;if(yo(b=e),St(b,i,0,255&t,o,0,t,0,0,0),o=0|wf(r,b,1,f),i=0|n[(0|n[r+8>>2])+(o<<2)>>2],0|f){l=i+84|0,c=i+68|0,u=i+40|0,s=i+64|0,i=0;do{k=0|A[l>>0]?i:0|n[(0|n[c>>2])+(i<<2)>>2],d=a+(0|G(i,t))|0,p=0|To(0|(h=0|n[(_=u)>>2]),0|n[_+4>>2],0|k,0),qi((0|n[n[s>>2]>>2])+p|0,0|d,0|h),i=i+1|0}while((0|i)!=(0|f))}return(r=0|n[(i=r+80|0)>>2])?(0|r)==(0|f)?w=10:v=-1:(n[i>>2]=f,w=10),10==(0|w)&&(v=o),w=0|n[(o=b+88|0)>>2],n[o>>2]=0,0|w&&(0|(o=0|n[w+8>>2])&&((0|n[(f=w+12|0)>>2])!=(0|o)&&(n[f>>2]=o),_b(o)),_b(w)),0|(w=0|n[b+68>>2])&&((0|(f=0|n[(o=b+72|0)>>2]))!=(0|w)&&(n[o>>2]=f+(~((f+-4-w|0)>>>2)<<2)),_b(w)),b=0|n[(w=b+64|0)>>2],n[w>>2]=0,0|b&&(0|(w=0|n[b>>2])&&((0|n[(f=b+4|0)>>2])!=(0|w)&&(n[f>>2]=w),_b(w)),_b(b)),y=e,0|v}function ni(e,r,i,f,A,t){e|=0,i|=0,f|=0,A|=0,t|=0;var a,o,b,l=0,c=0,u=0;a=y,y=y+32|0,o=a,b=0|n[(0|n[8+(0|n[4+(r|=0)>>2])>>2])+(f<<2)>>2];do{if((i+-1|0)>>>0<6&1==(0|yb[127&n[8+(0|n[r>>2])>>2]](r))){if(0==(0|(l=0|yb[127&n[52+(0|n[r>>2])>>2]](r)))|0==(0|(c=0|mb[127&n[60+(0|n[r>>2])>>2]](r,f))))return n[e>>2]=0,void(y=a);if(u=0|mb[127&n[56+(0|n[r>>2])>>2]](r,f)){if(n[o>>2]=n[r+56>>2],n[o+4>>2]=u,n[o+12>>2]=c,n[o+8>>2]=c+12,rr(e,0,i,b,A,o,t),!(0|n[e>>2])){n[e>>2]=0;break}return void(y=a)}if(n[o>>2]=n[r+56>>2],n[o+4>>2]=l,n[o+12>>2]=c,n[o+8>>2]=c+12,ir(e,0,i,b,A,o,t),!(0|n[e>>2])){n[e>>2]=0;break}return void(y=a)}}while(0);n[e>>2]=0,y=a}function bi(e,r,i){e|=0,r|=0;var f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0;if((0|(f=0|n[(i|=0)>>2]))==(0|(t=0|n[i+4>>2])))a=0,o=e+12|0,b=e+8|0;else for(i=0|n[r>>2],r=e+8|0,l=e+12|0,e=0,c=f;;){if(f=0|n[c>>2],(u=0|n[i+(f<<2)>>2])>>>0<e>>>0)s=e;else{if(_=k=0|n[r>>2],(0|(d=(0|n[l>>2])-k|0))>0){k=d>>>2,d=0;do{h=0|n[_+(d<<2)>>2],p=0|n[h+68>>2],w=0|A[h+84>>0]?f:0|n[p+(f<<2)>>2],n[p+(u<<2)>>2]=w,d=d+1|0}while((0|d)<(0|k))}s=u+1|0}if((0|(c=c+4|0))==(0|t)){a=s,o=l,b=r;break}e=s}if(((s=0|n[o>>2])-(e=0|n[b>>2])|0)>0)for(v=0,y=e,m=s;s=0|n[y+(v<<2)>>2],A[s+84>>0]=0,e=s+68|0,t=(s=0|n[(r=s+72|0)>>2])-(l=0|n[e>>2])>>2,c=l,l=s,a>>>0<=t>>>0?a>>>0<t>>>0&&(0|(s=c+(a<<2)|0))!=(0|l)?(n[r>>2]=l+(~((l+-4-s|0)>>>2)<<2),Z=y,R=m):(Z=y,R=m):(cf(e,a-t|0,5908),Z=0|n[b>>2],R=0|n[o>>2]),!((0|(v=v+1|0))>=(R-Z>>2|0));)y=Z,m=R}function li(e,r){var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+32|0,f=i,t=40+(e|=0)|0,a=(0|n[(r|=0)>>2])+(0|n[t>>2])|0,o=e+24|0,l=(b=0|n[e+32>>2])-16384|0;do{if(l>>>0>=64){if(l>>>0<16384){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,A[u>>0]=b,A[u+1>>0]=b>>>8,s=2+(0|n[c>>2])|0;break}if(l>>>0<4194304){c=e+28|0,u=(0|n[o>>2])+(0|n[c>>2])|0,k=b+8372224|0,A[u>>0]=k,A[u+1>>0]=k>>>8,A[u+2>>0]=k>>>16,s=3+(0|n[c>>2])|0;break}if(l>>>0<1073741824){c=e+28|0,k=(0|n[o>>2])+(0|n[c>>2])|0,u=b+-1073758208|0,A[k>>0]=u,A[k+1>>0]=u>>>8,A[k+2>>0]=u>>>16,A[k+3>>0]=u>>>24,s=4+(0|n[c>>2])|0;break}s=0|n[e+28>>2];break}c=e+28|0,A[(0|n[o>>2])+(0|n[c>>2])>>0]=l,s=1+(0|n[c>>2])|0}while(0);l=((0|s)<0)<<31>>31,Jo(f),nf(s,l,f),no(a+(e=(0|n[(o=f+4|0)>>2])-(0|n[f>>2])|0)|0,0|a,0|s),qi(0|a,0|n[f>>2],0|e),t=0|n[(a=t)>>2],b=0|n[a+4>>2],a=0|Ho(0|e,0,0|s,0|l),xa(r,l=0|Ho(0|a,0|E,0|t,0|b),E),r=0|n[(l=f+12|0)>>2],n[l>>2]=0,0|r&&_b(r),(r=0|n[f>>2])?((0|n[o>>2])!=(0|r)&&(n[o>>2]=r),_b(r),y=i):y=i}function ci(e,r,i){var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(o=(i|=0)-(a=r|=0)>>2,b=0|n[(f=8+(e|=0)|0)>>2],t=A=0|n[e>>2],o>>>0<=b-A>>2>>>0){if(s=r+((c=(0|n[(l=e+4|0)>>2])-A>>2)<<2)|0,0|(_=(d=(k=c=(u=o>>>0>c>>>0)?s:i)-a|0)>>2)&&no(0|A,0|r,0|d),d=t+(_<<2)|0,!u){if((0|(u=0|n[l>>2]))==(0|d))return;return void(n[l>>2]=u+(~((u+-4-d|0)>>>2)<<2))}if((0|c)==(0|i))return;for(d=i+-4-k|0,k=s,s=c=0|n[l>>2];n[s>>2]=n[k>>2],(0|(k=k+4|0))!=(0|i);)s=s+4|0;n[l>>2]=c+(1+(d>>>2)<<2)}else if(d=A,A?((0|(c=0|n[(b=e+4|0)>>2]))!=(0|t)&&(n[b>>2]=c+(~((c+-4-A|0)>>>2)<<2)),_b(d),n[f>>2]=0,n[b>>2]=0,n[e>>2]=0,h=0):h=b,o>>>0>1073741823&&On(),b=h>>1,(d=h>>2>>>0<536870911?b>>>0<o>>>0?o:b:1073741823)>>>0>1073741823&&On(),b=0|Uo(d<<2),n[(o=e+4|0)>>2]=b,n[e>>2]=b,n[f>>2]=b+(d<<2),(0|r)!=(0|i)){for(d=i+-4-a|0,a=r,r=b;n[r>>2]=n[a>>2],(0|(a=a+4|0))!=(0|i);)r=r+4|0;n[o>>2]=b+(1+(d>>>2)<<2)}}function ui(e,r){r|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0;if(i=y,y=y+16|0,f=i+4|0,A=i,o=0|n[(t=4+(e|=0)|0)>>2],(0|(b=0|n[(a=e+8|0)>>2]))==(0|o)?l=o:(c=b+(~((b+-4-o|0)>>>2)<<2)|0,n[a>>2]=c,l=c),s=o=0|n[(c=e+16|0)>>2],(0|(u=0|n[(b=e+20|0)>>2]))!=(0|o)&&(n[b>>2]=u+(~((u+-4-s|0)>>>2)<<2)),(0|(u=0|n[r>>2]))!=(0|(o=0|n[r+4>>2]))){for(r=e+12|0,e=u,u=l,l=s;s=0|n[e>>2],n[f>>2]=s,(0|u)==(0|n[r>>2])?(sA(t,f),k=0|n[c>>2]):(n[u>>2]=s,n[a>>2]=u+4,k=l),h=k,(0|(s=0|n[f>>2]))<(0|(_=(d=0|n[b>>2])-k>>2))?(p=h,w=s,v=k):(m=s+1|0,n[A>>2]=-1,Z=d,m>>>0<=_>>>0?m>>>0<_>>>0&&(0|(d=h+(m<<2)|0))!=(0|Z)?(n[b>>2]=Z+(~((Z+-4-d|0)>>>2)<<2),R=s,B=h,E=k):(R=s,B=h,E=k):(cf(c,m-_|0,A),_=0|n[c>>2],R=0|n[f>>2],B=_,E=_),p=B,w=R,v=E),u=0|n[a>>2],n[p+(w<<2)>>2]=(u-(0|n[t>>2])>>2)-1,(0|(e=e+4|0))!=(0|o);)l=v;y=i}else y=i}function si(e,r){e|=0;var i,f,A,t,o,b,l=0,c=0,u=0,s=0,k=0,d=0;if(r=239+(239+(65535&(318^(i=0|a[(r|=0)>>1])))^65535&(f=0|a[r+2>>1]))^65535&(A=0|a[r+4>>1]),!(t=0|n[e+4>>2]))return 0;if(b=(c=0==((o=t+-1|0)&t|0))?r&o:r>>>0<t>>>0?r:(r>>>0)%(t>>>0)|0,!(u=0|n[(0|n[e>>2])+(b<<2)>>2]))return 0;if(!(e=0|n[u>>2]))return 0;if(c){for(c=e;;){if(!((s=(0|(u=0|n[c+4>>2]))==(0|r))|(u&o|0)==(0|b))){l=0,k=23;break}if(s&&(0|a[(s=c+8|0)>>1])==i<<16>>16&&(0|a[s+2>>1])==f<<16>>16&&(0|a[c+12>>1])==A<<16>>16){l=c,k=23;break}if(!(c=0|n[c>>2])){l=0,k=23;break}}if(23==(0|k))return 0|l}else d=e;for(;;){if((0|(e=0|n[d+4>>2]))==(0|r)){if((0|a[(c=d+8|0)>>1])==i<<16>>16&&(0|a[c+2>>1])==f<<16>>16&&(0|a[d+12>>1])==A<<16>>16){l=d,k=23;break}}else if((0|(e>>>0<t>>>0?e:(e>>>0)%(t>>>0)|0))!=(0|b)){l=0,k=23;break}if(!(d=0|n[d>>2])){l=0,k=23;break}}return 23==(0|k)?0|l:0}function ki(e){var r,i,f,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;r=y,y=y+32|0,i=r,o=0|n[(a=f=16+(e|=0)|0)>>2],(0|(b=0|n[a+4>>2]))>0|0==(0|b)&o>>>0>0?(t=0|xo(0|(a=0|Ho(0|n[4+(0|n[e+12>>2])>>2],0,7,0)),0|E,3),a=E,0|A[e+24>>0]?(b=(_=(l=0|n[e>>2])+((0|n[(d=e+4|0)>>2])-l)|0)+(0-(l=0|Ho(0|o,0|b,8,0)))|0,n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,A[i+24>>0]=0,nf(t,a,i),no(b+(_=(0|n[(l=i+4|0)>>2])-(0|n[i>>2])|0)|0,b+8|0,0|t),qi(0|b,0|n[i>>2],0|_),o=0|Ho(0|n[(b=f)>>2],0|n[b+4>>2],8-_|0,0),n[(_=f)>>2]=o,n[_+4>>2]=E,o=0|n[(_=i+12|0)>>2],n[_>>2]=0,0|o&&_b(o),0|(o=0|n[i>>2])&&((0|n[l>>2])!=(0|o)&&(n[l>>2]=o),_b(o)),c=d,u=d,s=0|n[(o=f)>>2],k=0|n[o+4>>2]):(c=l=e+4|0,u=l,s=o,k=b),d=(o=0|n[c>>2])-(c=0|n[e>>2])|0,k=0|Ho(0|(l=0|Do(0|t,0|a,0|s,0|k)),0|E,0|d,0),l=c,c=o,d>>>0>=k>>>0?d>>>0>k>>>0&&(0|(o=l+k|0))!=(0|c)&&(n[u>>2]=o):AA(e,k-d|0),n[(d=f)>>2]=0,n[d+4>>2]=0,y=r):y=r}function di(e,r,i){r|=0,i|=0;var f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;A=0|n[(f=8+(e|=0)|0)>>2],a=t=0|n[e>>2];do{if(A-t>>2>>>0>=r>>>0){if(s=b=0|n[(o=e+4|0)>>2],0|(u=(c=(l=b-t>>2)>>>0<r>>>0)?l:r))for(b=u,u=a;n[u>>2]=n[i>>2],b=b+-1|0;)u=u+4|0;if(c){for(b=u=r-l|0,_=s;n[_>>2]=n[i>>2],b=b+-1|0;)_=_+4|0;k=o,d=s+(u<<2)|0;break}if((0|(u=a+(r<<2)|0))==(0|s))return;k=o,d=s+(~((s+-4-u|0)>>>2)<<2)|0;break}for(_=t,t?((0|(l=0|n[(b=e+4|0)>>2]))!=(0|a)&&(n[b>>2]=l+(~((l+-4-t|0)>>>2)<<2)),_b(_),n[f>>2]=0,n[b>>2]=0,n[e>>2]=0,h=0):h=A,r>>>0>1073741823&&On(),b=h>>1,(_=h>>2>>>0<536870911?b>>>0<r>>>0?r:b:1073741823)>>>0>1073741823&&On(),b=0|Uo(_<<2),n[(l=e+4|0)>>2]=b,n[e>>2]=b,n[f>>2]=b+(_<<2),_=r,c=b;n[c>>2]=n[i>>2],_=_+-1|0;)c=c+4|0;k=l,d=b+(r<<2)|0}while(0);n[k>>2]=d}function _i(e,r,i,f,A,t){A|=0;var a,o,b,l,c,u=0;return a=0|Ki(e|=0,r|=0,i|=0,f|=0,t|=0),o=0|n[A>>2],u=0|n[f>>2],b=0|n[t>>2],t=0|n[b>>2],(l=(0|n[b+4>>2])-t>>3)>>>0<=o>>>0&&On(),c=t,l>>>0<=u>>>0&&On(),(0|n[c+(o<<3)>>2])>>>0>=(0|n[c+(u<<3)>>2])>>>0?0|a:(n[f>>2]=o,n[A>>2]=u,u=0|n[f>>2],A=0|n[i>>2],l>>>0<=u>>>0&&On(),l>>>0<=A>>>0&&On(),(0|n[c+(u<<3)>>2])>>>0>=(0|n[c+(A<<3)>>2])>>>0?0|a+1:(n[i>>2]=u,n[f>>2]=A,A=0|n[i>>2],f=0|n[r>>2],l>>>0<=A>>>0&&On(),l>>>0<=f>>>0&&On(),(0|n[c+(A<<3)>>2])>>>0>=(0|n[c+(f<<3)>>2])>>>0?0|a+2:(n[r>>2]=A,n[i>>2]=f,f=0|n[r>>2],i=0|n[e>>2],l>>>0<=f>>>0&&On(),l>>>0<=i>>>0&&On(),(0|n[c+(f<<3)>>2])>>>0>=(0|n[c+(i<<3)>>2])>>>0?0|a+3:(n[e>>2]=f,n[r>>2]=i,0|a+4))))}function hi(e,r){e|=0;var i,f,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0;if(r=239+(239+(255&(i=0|A[(r|=0)>>0])^318)^255&(f=0|A[r+1>>0]))^255&(t=0|A[r+2>>0]),!(a=0|n[e+4>>2]))return 0;if(b=(c=0==((o=a+-1|0)&a|0))?r&o:r>>>0<a>>>0?r:(r>>>0)%(a>>>0)|0,!(u=0|n[(0|n[e>>2])+(b<<2)>>2]))return 0;if(!(e=0|n[u>>2]))return 0;if(c){for(c=e;;){if(!((s=(0|(u=0|n[c+4>>2]))==(0|r))|(u&o|0)==(0|b))){l=0,k=23;break}if(s&&(0|A[(s=c+8|0)>>0])==i<<24>>24&&(0|A[s+1>>0])==f<<24>>24&&(0|A[s+2>>0])==t<<24>>24){l=c,k=23;break}if(!(c=0|n[c>>2])){l=0,k=23;break}}if(23==(0|k))return 0|l}else d=e;for(;;){if((0|(e=0|n[d+4>>2]))==(0|r)){if((0|A[(c=d+8|0)>>0])==i<<24>>24&&(0|A[c+1>>0])==f<<24>>24&&(0|A[c+2>>0])==t<<24>>24){l=d,k=23;break}}else if((0|(e>>>0<a>>>0?e:(e>>>0)%(a>>>0)|0))!=(0|b)){l=0,k=23;break}if(!(d=0|n[d>>2])){l=0,k=23;break}}return 23==(0|k)?0|l:0}function pi(e,r,i){e|=0,r|=0;var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;f=y,y=y+16|0,a=f+4|0,A=f,Mf(0|n[12+(i|=0)>>2],r),t=0|n[i+8>>2];e:do{if(0|t){for(o=r+16|0,b=r+4|0,l=t;;){if(!(0|Kr(0,r,(c=l)+8|0))){u=0;break}if(s=c+20|0,Mf(k=(0|n[c+24>>2])-(0|n[s>>2])|0,r),c=0|n[s>>2],(0|(d=0|n[(s=o)+4>>2]))>0|0==(0|d)&(0|n[s>>2])>>>0>0||(n[A>>2]=n[b>>2],n[a>>2]=n[A>>2],hr(r,a,c,c+k|0)),!(l=0|n[l>>2]))break e}return y=f,0|u}}while(0);if(Mf(0|n[i+32>>2],r),!(a=0|n[i+28>>2]))return y=f,1;for(_=a;;){if(!(0|Kr(0,r,(a=_)+8|0))){u=0,h=10;break}if(pi(e,r,0|n[a+20>>2]),!(_=0|n[_>>2])){u=1,h=10;break}}return 10==(0|h)?(y=f,0|u):0}function wi(e,r,i){var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(b=(o=(f=i|=0)-(a=r|=0)|0)>>2,l=0|n[(A=8+(e|=0)|0)>>2],t=c=0|n[e>>2],b>>>0>l-c>>2>>>0){if(u=c,c?((0|(k=0|n[(l=e+4|0)>>2]))!=(0|t)&&(n[l>>2]=k+(~((k+-4-c|0)>>>2)<<2)),_b(u),n[A>>2]=0,n[l>>2]=0,n[e>>2]=0,s=0):s=l,b>>>0>1073741823&&On(),l=s>>1,(u=s>>2>>>0<536870911?l>>>0<b>>>0?b:l:1073741823)>>>0>1073741823&&On(),l=0|Uo(u<<2),n[(s=e+4|0)>>2]=l,n[e>>2]=l,n[A>>2]=l+(u<<2),(0|o)<=0)return;return qi(0|l,0|r,0|o),void(n[s>>2]=l+(o>>>2<<2))}if(b=(c=b>>>0>(l=(e=0|n[(o=e+4|0)>>2])-c>>2)>>>0)?r+(l<<2)|0:i,i=e,l=e,(0|b)==(0|r))d=t;else{for(e=b+-4-a|0,a=r,r=t;n[r>>2]=n[a>>2],(0|(a=a+4|0))!=(0|b);)r=r+4|0;d=t+(1+(e>>>2)<<2)|0}if(c){if((0|(c=f-b|0))<=0)return;return qi(0|l,0|b,0|c),void(n[o>>2]=(0|n[o>>2])+(c>>>2<<2))}(0|d)!=(0|i)&&(n[o>>2]=i+(~((i+-4-d|0)>>>2)<<2))}function vi(e,r,i,f){var t,a,o;e|=0,r|=0,f|=0,t=y,y=y+96|0,o=t,wo(a=t+40|0,i|=0),dr(o,r,i),pf(a,o),zA(o+24|0,0|n[o+28>>2]),Lt(o+12|0,0|n[o+16>>2]),zA(o,0|n[o+4>>2]),BA(e,a,f),0|n[e>>2]||((0|A[11+(f=e+4|0)>>0])<0&&_b(0|n[f>>2]),n[r+40>>2]=n[a+40>>2],n[r+44>>2]=n[a+44>>2],n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0),n[a>>2]=2968,zA(a+28|0,0|n[a+32>>2]),Lt(a+16|0,0|n[a+20>>2]),zA(a+4|0,0|n[a+8>>2]),y=t}function yi(e,r){e|=0;var i,f,A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0;if(r=239+(239+(318^(i=0|n[(r|=0)>>2]))^(f=0|n[r+4>>2]))^(A=0|n[r+8>>2]),!(t=0|n[e+4>>2]))return 0;if(o=(l=0==((a=t+-1|0)&t|0))?r&a:r>>>0<t>>>0?r:(r>>>0)%(t>>>0)|0,!(c=0|n[(0|n[e>>2])+(o<<2)>>2]))return 0;if(!(e=0|n[c>>2]))return 0;if(l){for(l=e;;){if(!((u=(0|(c=0|n[l+4>>2]))==(0|r))|(c&a|0)==(0|o))){b=0,s=23;break}if(u&&(0|n[l+8>>2])==(0|i)&&(0|n[l+12>>2])==(0|f)&&(0|n[l+16>>2])==(0|A)){b=l,s=23;break}if(!(l=0|n[l>>2])){b=0,s=23;break}}if(23==(0|s))return 0|b}else k=e;for(;;){if((0|(e=0|n[k+4>>2]))==(0|r)){if((0|n[k+8>>2])==(0|i)&&(0|n[k+12>>2])==(0|f)&&(0|n[k+16>>2])==(0|A)){b=k,s=23;break}}else if((0|(e>>>0<t>>>0?e:(e>>>0)%(t>>>0)|0))!=(0|o)){b=0,s=23;break}if(!(k=0|n[k>>2])){b=0,s=23;break}}return 23==(0|s)?0|b:0}function mi(e,r,i){var f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(o=(i|=0)-(f=r|=0)|0,b=0|n[(t=8+(e|=0)|0)>>2],a=l=0|n[e>>2],o>>>0>(b-l|0)>>>0){if(l?((0|n[(b=e+4|0)>>2])!=(0|a)&&(n[b>>2]=a),_b(a),n[t>>2]=0,n[b>>2]=0,n[e>>2]=0,c=0):c=b,(0|o)<0&&On(),b=c<<1,(0|(u=c>>>0<1073741823?b>>>0<o>>>0?o:b:2147483647))<0&&On(),b=0|Uo(u),n[(c=e+4|0)>>2]=b,n[e>>2]=b,n[t>>2]=b+u,(0|r)==(0|i))return;s=r,k=b;do{A[k>>0]=0|A[s>>0],s=s+1|0,k=1+(0|n[c>>2])|0,n[c>>2]=k}while((0|s)!=(0|i))}else{if(l=o>>>0>(e=(0|n[(s=e+4|0)>>2])-l|0)>>>0,o=r+e|0,(0|(e=l?o:i))==(0|r))d=a;else{for(k=r,r=a;A[r>>0]=0|A[k>>0],(0|(k=k+1|0))!=(0|e);)r=r+1|0;d=a+(e-f)|0}if(l){if((0|e)!=(0|i)){e=o,o=0|n[s>>2];do{A[o>>0]=0|A[e>>0],e=e+1|0,o=1+(0|n[s>>2])|0,n[s>>2]=o}while((0|e)!=(0|i))}}else{if((0|n[s>>2])==(0|d))return;n[s>>2]=d}}}function Zi(e,r,i){e|=0;var f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;t=(r|=0)-(i=(0|G(((t=((i=(f=((i=(A=(i=(A=(i|=0)>>>1&1431655765|i<<1&-1431655766)>>>2&858993459|A<<2&-858993460)>>>4&252645135|i<<4&-252645136)>>>8&16711935|A<<8&-16711936)>>>16|i<<16)>>>(A=32-r|0))-(f>>>1&1431655765)|0)>>>2&858993459)+(858993459&i)|0)>>>4)+t&252645135,16843009))>>>24)|0,a=0|n[e>>2],b=0|Ho(0|n[(o=a)>>2],0|n[o+4>>2],0|t,((0|t)<0)<<31>>31|0),n[(t=a)>>2]=b,n[t+4>>2]=E,b=0|Ho(0|n[(a=t=a+8|0)>>2],0|n[a+4>>2],0|i,0),n[(i=t)>>2]=b,n[i+4>>2]=E,t=32-(b=0|n[(i=e+28|0)>>2])|0,a=e+24|0;do{if((0|t)>=(0|r)){if(o=-1>>>A<<b,l=n[a>>2]&~o|o&f<<b,n[a>>2]=l,o=b+r|0,n[i>>2]=o,32!=(0|o))return;if((0|(c=0|n[(o=e+16|0)>>2]))==(0|n[e+20>>2])){sA(e+12|0,a),u=0,s=0;break}n[c>>2]=l,n[o>>2]=c+4,u=0,s=0;break}c=-1>>>b<<b,o=n[a>>2]&~c|c&f<<b,n[a>>2]=o,(0|(l=0|n[(c=e+16|0)>>2]))==(0|n[e+20>>2])?sA(e+12|0,a):(n[l>>2]=o,n[c>>2]=l+4),u=l=r-t|0,s=-1>>>(32-l|0)&f>>>t}while(0);n[a>>2]=s,n[i>>2]=u}function Ri(e,r,i){e|=0;var f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0;f=255&(r|=0),t=0!=(0|(i|=0));e:do{if(t&0!=(3&e|0))for(a=255&r,o=e,b=i;;){if((0|A[o>>0])==a<<24>>24){l=o,c=b,u=6;break e}if(!((d=0!=(0|(k=b+-1|0)))&0!=(3&(s=o+1|0)|0))){_=s,h=k,p=d,u=5;break}o=s,b=k}else _=e,h=i,p=t,u=5}while(0);5==(0|u)&&(p?(l=_,c=h,u=6):(w=_,v=0));e:do{if(6==(0|u))if(_=255&r,(0|A[l>>0])==_<<24>>24)w=l,v=c;else{h=0|G(f,16843009);r:do{if(c>>>0>3){for(p=l,t=c;!((-2139062144&(i=n[p>>2]^h)^-2139062144)&i+-16843009|0);){if(i=p+4|0,!((e=t+-4|0)>>>0>3)){y=i,m=e,u=11;break r}p=i,t=e}Z=p,R=t}else y=l,m=c,u=11}while(0);if(11==(0|u)){if(!m){w=y,v=0;break}Z=y,R=m}for(;;){if((0|A[Z>>0])==_<<24>>24){w=Z,v=R;break e}if(h=Z+1|0,!(R=R+-1|0)){w=h,v=0;break}Z=h}}}while(0);return 0|(0|v?w:0)}function Bi(e,r){r|=0;var i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0;f=0|n[(i=4+(e|=0)|0)>>2],t=A=0|n[e>>2];do{if((0|f)==(0|A)){if(o=0|n[(a=e+8|0)>>2],c=l=0|n[(b=e+12|0)>>2],o>>>0<l>>>0){d=(s=o+((u=(1+(c-(l=o)>>2)|0)/2|0)<<2)|0)+(0-(l=(k=l-f|0)>>2)<<2)|0,l?(no(0|d,0|f,0|k),_=d,h=0|n[a>>2]):(_=s,h=o),n[i>>2]=_,n[a>>2]=h+(u<<2),p=_;break}if((c=0==(0|(u=c-t>>1))?1:u)>>>0>1073741823&&(_n(u=0|j(8),14941),n[u>>2]=6944,Q(0|u,1080,114)),d=u=0|Uo(c<<2),s=k=u+((c+3|0)>>>2<<2)|0,l=u+(c<<2)|0,(0|f)==(0|o))w=s,v=f;else{c=k,u=s,y=f;do{n[c>>2]=n[y>>2],u=c=u+4|0,y=y+4|0}while((0|y)!=(0|o));w=u,v=0|n[e>>2]}n[e>>2]=d,n[i>>2]=s,n[a>>2]=w,n[b>>2]=l,v?(_b(v),p=0|n[i>>2]):p=k}else p=f}while(0);n[p+-4>>2]=n[r>>2],n[i>>2]=(0|n[i>>2])-4}function Ei(e,r){r|=0;var i,f,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0;return i=y,y=y+16|0,f=i+4|0,t=i,a=i+8|0,-1==(0|n[(o=4+(e|=0)|0)>>2])?(y=i,0):(u=0|n[e+8>>2],l=0|n[(s=b=r+16|0)>>2],(0|(c=0|n[s+4>>2]))>0|0==(0|c)&l>>>0>0?(_=c,h=l):(s=(0|n[e+12>>2])-u|0,k=r+4|0,n[t>>2]=n[k>>2],n[f>>2]=n[t>>2],hr(r,f,u,u+s|0),u=0|n[(s=b)>>2],d=0|n[s+4>>2],s=e+20|0,(0|d)>0|0==(0|d)&u>>>0>0?(_=d,h=u):(n[t>>2]=n[k>>2],n[f>>2]=n[t>>2],hr(r,f,s,s+4|0),_=0|n[(s=b)+4>>2],h=0|n[s>>2])),A[a>>0]=n[o>>2],(0|_)>0|0==(0|_)&h>>>0>0||(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,a,a+1|0)),y=i,1)}function Wi(e,r,i){e|=0,i|=0;var f,A=0,t=0,a=0,o=0,b=0,l=0,c=0;if(-1==(0|(A=3*(0|n[(r|=0)>>2])|0)))return t=0,a=-1,n[i>>2]=a,0|t;if(r=0|n[e+12>>2],f=0|n[r+12>>2],-1==(0|n[f+(A<<2)>>2]))return t=0,a=A,n[i>>2]=a,0|t;if(o=0|n[r>>2],r=0|n[e+152>>2],-1==(0|n[r+(n[o+(A<<2)>>2]<<2)>>2])){if(-1==(0|(b=0==(0|((e=A+1|0)>>>0)%3)?A+-2|0:e)))return t=0,a=-1,n[i>>2]=a,0|t;if(-1==(0|n[f+(b<<2)>>2]))return t=0,a=b,n[i>>2]=a,0|t;if(-1==(0|n[r+(n[o+(b<<2)>>2]<<2)>>2])){if(-1==(0|(l=0==(0|((e=b+1|0)>>>0)%3)?b+-2|0:e)))return t=0,a=-1,n[i>>2]=a,0|t;if(-1==(0|n[f+(l<<2)>>2]))return t=0,a=l,n[i>>2]=a,0|t;if(-1==(0|n[r+(n[o+(l<<2)>>2]<<2)>>2]))return t=1,a=0==(0|((o=l+1|0)>>>0)%3)?l+-2|0:o,n[i>>2]=a,0|t;c=l}else c=b}else c=A;for(;-1!=(0|(A=(0==(0|(c>>>0)%3)?2:-1)+c|0))&&-1!=(0|(b=0|n[f+(A<<2)>>2]))&&-1!=(0|(A=b+(0==(0|(b>>>0)%3)?2:-1)|0));)c=A;return t=0,a=(0==(0|(c>>>0)%3)?2:-1)+c|0,n[i>>2]=a,0|t}function Vi(e,r,i){r|=0,i|=0;var f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(!(a=0|n[(t=4+(e|=0)|0)>>2]))return n[r>>2]=t,0|t;for(f=(o=(t=0|A[i+11>>0])<<24>>24<0)?0|n[i+4>>2]:255&t,t=o?0|n[i>>2]:i,i=e+4|0,e=a;;){if(8==(0|(s=0!=(0|(c=(o=(l=(b=(o=0|A[11+(a=e+16|0)>>0])<<24>>24<0)?0|n[e+20>>2]:255&o)>>>0<f>>>0)?l:f))&&0!=(0|(u=0|Wa(t,b?0|n[a>>2]:a,c)))?(0|u)<0?8:10:f>>>0<l>>>0?8:10))){if(s=0,!(u=0|n[e>>2])){s=9;break}k=e,d=u}else if(10==(0|s)){if(s=0,0!=(0|(u=f>>>0<l>>>0?f:l))&&0!=(0|(l=0|Wa(b?0|n[a>>2]:a,t,u)))){if((0|l)>=0){s=16;break}}else s=12;if(12==(0|s)&&(s=0,!o)){s=16;break}if(!(o=0|n[(_=e+4|0)>>2])){s=15;break}k=_,d=o}i=k,e=d}return 9==(0|s)?(n[r>>2]=e,0|e):15==(0|s)?(n[r>>2]=e,0|_):16==(0|s)?(n[r>>2]=e,0|i):0}function Ni(e,r){r|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;f=0|n[(i=8+(e|=0)|0)>>2],a=t=0|n[(A=e+12|0)>>2];do{if((0|f)==(0|t)){if(b=0|n[(o=e+4|0)>>2],c=l=0|n[e>>2],b>>>0>l>>>0){k=b+((s=(1+((u=b)-c>>2)|0)/-2|0)<<2)|0,(u=(d=f-u|0)>>2)?(no(0|k,0|b,0|d),_=0|n[o>>2]):_=b,d=k+(u<<2)|0,n[i>>2]=d,n[o>>2]=_+(s<<2),h=d;break}if((c=0==(0|(d=a-c>>1))?1:d)>>>0>1073741823&&(_n(d=0|j(8),14941),n[d>>2]=6944,Q(0|d,1080,114)),s=d=0|Uo(c<<2),k=u=d+(c>>>2<<2)|0,p=d+(c<<2)|0,(0|b)==(0|f))w=k,v=l;else{l=u,u=k,c=b;do{n[l>>2]=n[c>>2],u=l=u+4|0,c=c+4|0}while((0|c)!=(0|f));w=u,v=0|n[e>>2]}n[e>>2]=s,n[o>>2]=k,n[i>>2]=w,n[A>>2]=p,v?(_b(v),h=0|n[i>>2]):h=w}else h=f}while(0);n[h>>2]=n[r>>2],n[i>>2]=4+(0|n[i>>2])}function Gi(e,r){r|=0;var i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(i=y,y=y+16|0,f=i+8|0,a=i+4|0,o=i,A=12+(e|=0)|0,(0|(b=0|n[(t=e+4|0)>>2]))==(0|n[e+8>>2])?(sA(e,A),l=0|n[t>>2]):(n[b>>2]=n[A>>2],c=b+4|0,n[t>>2]=c,l=c),c=0|n[e>>2],n[o>>2]=l-c,(0|(u=0|n[4+(b=l=r+16|0)>>2]))>0|0==(0|u)&(0|n[b>>2])>>>0>0?s=c:(n[a>>2]=n[r+4>>2],n[f>>2]=n[a>>2],hr(r,f,o,o+4|0),b=0|n[e>>2],u=0|n[o>>2],(0|(l=0|n[(o=l)+4>>2]))>0|0==(0|l)&(0|n[o>>2])>>>0>0?s=b:(n[a>>2]=n[r+4>>2],n[f>>2]=n[a>>2],hr(r,f,b,b+u|0),s=0|n[e>>2])),(0|(a=0|n[t>>2]))==(0|s))return n[A>>2]=0,n[(e+16|0)>>2]=0,void(y=i);n[t>>2]=a+(~((a+-4-s|0)>>>2)<<2),n[A>>2]=0,n[(e+16|0)>>2]=0,y=i}function Fi(e){da(e|=0),da(e+32|0),da(e+64|0),da(e+96|0),da(e+128|0),da(e+160|0),da(e+192|0),da(e+224|0),da(e+256|0),da(e+288|0),da(e+320|0),da(e+352|0),da(e+384|0),da(e+416|0),da(e+448|0),da(e+480|0),da(e+512|0),da(e+544|0),da(e+576|0),da(e+608|0),da(e+640|0),da(e+672|0),da(e+704|0),da(e+736|0),da(e+768|0),da(e+800|0),da(e+832|0),da(e+864|0),da(e+896|0),da(e+928|0),da(e+960|0),da(e+992|0),da(e+1024|0)}function Ui(e,r,i,f,t,a){e|=0,r|=0,i|=0,f|=0,t|=0,a=g(a);var o,b,l,c=0,u=0,s=0;o=y,y=y+16|0,l=o+4|0,n[(b=o)>>2]=r,r=e+4|0,e=0|Uo(32),n[l>>2]=e,n[l+8>>2]=-2147483616,n[l+4>>2]=17,u=12932,s=(c=e)+17|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));A[e+17>>0]=0,ra(0|Qe(r,b),l,i),(0|A[l+11>>0])<0&&_b(0|n[l>>2]),i=0|Uo(32),n[l>>2]=i,n[l+8>>2]=-2147483616,n[l+4>>2]=19,u=13005,s=(c=i)+19|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));A[i+19>>0]=0,Hf(0|Qe(r,b),l,t,f),(0|A[l+11>>0])<0&&_b(0|n[l>>2]),f=0|Uo(32),n[l>>2]=f,n[l+8>>2]=-2147483616,n[l+4>>2]=18,u=13025,s=(c=f)+18|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));A[f+18>>0]=0,function(e,r,i){e|=0,r|=0,i=g(i);var f,t,a;f=y,y=y+16|0,Ma(t=f,i),a=0|$f(e,r),(0|A[(r=a+11|0)>>0])<0?(A[n[a>>2]>>0]=0,n[a+4>>2]=0):(A[a>>0]=0,A[r>>0]=0),xi(a,0),n[a>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],y=f}(0|Qe(r,b),l,a),(0|A[l+11>>0])>=0||_b(0|n[l>>2]),y=o}function gi(e,r,i){var f,A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(l=(A=(f=i|=0)-(b=r|=0)|0)>>2,c=0|n[(t=8+(e|=0)|0)>>2],o=a=0|n[e>>2],l>>>0<=c-a>>2>>>0){if(0|(b=(s=(i=d=(k=l>>>0>(s=(0|n[(u=e+4|0)>>2])-a>>2)>>>0)?r+(s<<2)|0:i)-b|0)>>2)&&no(0|a,0|r,0|s),s=o+(b<<2)|0,k){if((0|(k=f-i|0))<=0)return;return qi(0|n[u>>2],0|d,0|k),void(n[u>>2]=(0|n[u>>2])+(k>>>2<<2))}if((0|(k=0|n[u>>2]))==(0|s))return;n[u>>2]=k+(~((k+-4-s|0)>>>2)<<2)}else s=a,a?((0|(k=0|n[(c=e+4|0)>>2]))!=(0|o)&&(n[c>>2]=k+(~((k+-4-a|0)>>>2)<<2)),_b(s),n[t>>2]=0,n[c>>2]=0,n[e>>2]=0,_=0):_=c,l>>>0>1073741823&&On(),c=_>>1,(s=_>>2>>>0<536870911?c>>>0<l>>>0?l:c:1073741823)>>>0>1073741823&&On(),c=0|Uo(s<<2),n[(l=e+4|0)>>2]=c,n[e>>2]=c,n[t>>2]=c+(s<<2),(0|A)<=0||(qi(0|c,0|r,0|A),n[l>>2]=c+(A>>>2<<2))}function Yi(e,r,i,f){e|=0,r|=0,f|=0;var A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;A=y,y=y+16|0,t=1+(i|=0)|0,n[(b=A)>>2]=0,n[(a=b+4|0)>>2]=0,n[b+8>>2]=0;do{if(t){if(!(t>>>0>1073741823)){l=0|Uo(t<<2),n[b>>2]=l,c=l+(t<<2)|0,n[b+8>>2]=c,IA(0|l,0,4+(i<<2)|0),n[a>>2]=c,u=l,s=c,k=l;break}On()}else u=0,s=0,k=0}while(0);if((0|r)>0){b=0;do{l=u+(n[e+(b<<2)>>2]<<2)|0,n[l>>2]=1+(0|n[l>>2]),b=b+1|0}while((0|b)!=(0|r))}if(o=+(0|r),(0|i)<0)d=0,_=0;else for(i=0,h=0,r=0;;){if(p=+(0|(b=0|n[u+(r<<2)>>2])),(0|b)>0?(w=i+1|0,v=h+ +Oi(p/o)*p):(w=i,v=h),(0|(r=r+1|0))==(0|t)){d=w,_=v;break}i=w,h=v}return 0|f&&(n[f>>2]=d),d=~~(v=-_)>>>0,f=+V(v)>=1?v>0?~~+F(+W(v/4294967296),4294967295)>>>0:~~+N((v-+(~~v>>>0))/4294967296)>>>0:0,u?((0|s)!=(0|u)&&(n[a>>2]=s+(~((s+-4-u|0)>>>2)<<2)),_b(k),E=f,y=A,0|d):(E=f,y=A,0|d)}function Mi(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0;if(f=y,y=y+16|0,t=f+4|0,a=f,b=0|Uo(32),n[e>>2]=b,n[e+4>>2]=r+4,A[(r=e+8|0)>>0]=0,n[b+16>>2]=n[i>>2],e=b+20|0,n[b+24>>2]=0,n[b+28>>2]=0,l=b+24|0,n[e>>2]=l,(0|(b=0|n[i+4>>2]))==(0|(o=i+8|0)))return A[r>>0]=1,void(y=f);for(i=l,l=b;;){if(b=l+16|0,n[a>>2]=i,n[t>>2]=n[a>>2],ef(e,t,b,b),b=0|n[l+4>>2]){for(u=b;k=0|n[u>>2];)u=k;s=u}else if(u=0|n[(c=l+8|0)>>2],(0|n[u>>2])==(0|l))s=u;else{u=c;do{c=0|n[u>>2],k=0|n[(u=c+8|0)>>2]}while((0|n[k>>2])!=(0|c));s=k}if((0|s)==(0|o))break;l=s}A[r>>0]=1,y=f}function Ti(e,r,i){e|=0,r|=0,i|=0;var f,A,t=0,a=0,o=0,b=0;f=y,y=y+16|0,n[(t=f)>>2]=r,A=e+8|0,((0|n[e+12>>2])-(0|n[A>>2])>>2|0)<=(0|r)&&function(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0;if(a=f=0|n[(i=(e|=0)+4|0)>>2],(t=f-(A=0|n[e>>2])>>2)>>>0<r>>>0)!function(e,r){r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0;if(i=y,y=y+32|0,f=i,l=0|n[(A=8+(e|=0)|0)>>2],c=a=0|n[(t=e+4|0)>>2],l-a>>2>>>0>=r>>>0)return IA(0|a,0,r<<2|0),n[t>>2]=a+(r<<2),void(y=i);b=o=0|n[e>>2],(s=(u=a-o>>2)+r|0)>>>0>1073741823&&On(),d=(k=l-o|0)>>1,_=k>>2>>>0<536870911?d>>>0<s>>>0?s:d:1073741823,n[f+12>>2]=0,n[f+16>>2]=e+8;do{if(_){if(!(_>>>0>1073741823)){h=0|Uo(_<<2);break}_n(d=0|j(8),14941),n[d>>2]=6944,Q(0|d,1080,114)}else h=0}while(0);if(n[f>>2]=h,d=h+(u<<2)|0,u=f+8|0,n[(s=f+4|0)>>2]=d,k=h+(_<<2)|0,n[(_=f+12|0)>>2]=k,h=d+(r<<2)|0,IA(0|d,0,r<<2|0),n[u>>2]=h,(0|c)==(0|b))p=d,w=_,v=u,m=o,Z=h,R=a,B=k,E=l;else{l=c,c=d;do{d=0|n[(l=l+-4|0)>>2],n[l>>2]=0,n[c+-4>>2]=d,c=(0|n[s>>2])-4|0,n[s>>2]=c}while((0|l)!=(0|b));p=c,w=_,v=u,m=0|n[e>>2],Z=0|n[u>>2],R=0|n[t>>2],B=0|n[_>>2],E=0|n[A>>2]}n[e>>2]=p,n[s>>2]=m,n[t>>2]=Z,n[v>>2]=R,n[A>>2]=B,n[w>>2]=E,n[f>>2]=m,Qf(f),y=i}(e,r-t|0);else if(!(t>>>0<=r>>>0)&&(0|(t=A+(r<<2)|0))!=(0|a)){o=a;do{a=o+-4|0,n[i>>2]=a,r=0|n[a>>2],n[a>>2]=0,0|r&&(A=0|n[(a=r+88|0)>>2],n[a>>2]=0,0|A&&(0|(a=0|n[A+8>>2])&&((0|n[(e=A+12|0)>>2])!=(0|a)&&(n[e>>2]=a),_b(a)),_b(A)),0|(A=0|n[r+68>>2])&&((0|(e=0|n[(a=r+72|0)>>2]))!=(0|A)&&(n[a>>2]=e+(~((e+-4-A|0)>>>2)<<2)),_b(A)),e=0|n[(A=r+64|0)>>2],n[A>>2]=0,0|e&&(0|(A=0|n[e>>2])&&((0|n[(a=e+4|0)>>2])!=(0|A)&&(n[a>>2]=A),_b(A)),_b(e)),_b(r)),o=0|n[i>>2]}while((0|o)!=(0|t))}}(A,r+1|0),a=0|n[56+(0|n[i>>2])>>2];do{if((0|a)<5){if((0|(b=0|n[(o=e+20+(12*a|0)+4|0)>>2]))==(0|n[e+20+(12*a|0)+8>>2])){sA(e+20+(12*a|0)|0,t);break}n[b>>2]=r,n[o>>2]=b+4;break}}while(0);r=0|n[i>>2],a=0|n[t>>2],n[r+60>>2]=a,t=(0|n[A>>2])+(a<<2)|0,n[i>>2]=0,i=0|n[t>>2],n[t>>2]=r,i?(t=0|n[(r=i+88|0)>>2],n[r>>2]=0,0|t&&(0|(r=0|n[t+8>>2])&&((0|n[(a=t+12|0)>>2])!=(0|r)&&(n[a>>2]=r),_b(r)),_b(t)),0|(t=0|n[i+68>>2])&&((0|(a=0|n[(r=i+72|0)>>2]))!=(0|t)&&(n[r>>2]=a+(~((a+-4-t|0)>>>2)<<2)),_b(t)),a=0|n[(t=i+64|0)>>2],n[t>>2]=0,0|a&&(0|(t=0|n[a>>2])&&((0|n[(r=a+4|0)>>2])!=(0|t)&&(n[r>>2]=t),_b(t)),_b(a)),_b(i),y=f):y=f}function Ii(e){var r=0,i=0,f=0,A=0,t=0,a=0,o=0;if(n[(e|=0)>>2]=5880,0|(r=0|n[e+68>>2])&&((0|(f=0|n[(i=e+72|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+56>>2])&&((0|(i=0|n[(f=e+60|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+44>>2])&&((0|(f=0|n[(i=e+48|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+32>>2])&&((0|(i=0|n[(f=e+36|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+20>>2])&&((0|(f=0|n[(i=e+24|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),jf(e+8|0),e=0|n[(r=e+4|0)>>2],n[r>>2]=0,e){if(0|(f=0|n[(r=e+40|0)>>2])){if((0|(A=0|n[(i=e+44|0)>>2]))==(0|f))t=f;else{a=A;do{A=a+-4|0,n[i>>2]=A,o=0|n[A>>2],n[A>>2]=0,0|o&&(RA(o),_b(o)),a=0|n[i>>2]}while((0|a)!=(0|f));t=0|n[r>>2]}_b(t)}RA(e),_b(e)}}function ji(e){var r,i,f,t=0,a=0,o=0,b=0,l=0,c=0;if(r=12+(e|=0)|0,i=0|n[e>>2],a=-1==(0|(t=0|n[(f=e+8|0)>>2])),0|A[r>>0]){if(l=t+1|0,a||-1==(0|(a=0==(0|(l>>>0)%3)?t+-2|0:l))||0!=(n[(0|n[i>>2])+(a>>>5<<2)>>2]&1<<(31&a)|0)||(a=1+(l=0|n[(0|n[12+(0|n[i+64>>2])>>2])+(a<<2)>>2])|0,-1==(0|l)))n[f>>2]=-1;else if(t=0==(0|(a>>>0)%3)?l+-2|0:a,n[f>>2]=t,-1!=(0|t)){if((0|t)!=(0|n[e+4>>2]))return;return void(n[f>>2]=-1)}t=0|n[e+4>>2];do{if(-1!=(0|t)&&-1!=(0|(e=(0==(0|(t>>>0)%3)?2:-1)+t|0))&&0==(n[(0|n[i>>2])+(e>>>5<<2)>>2]&1<<(31&e)|0)&&-1!=(0|(a=0|n[(0|n[12+(0|n[i+64>>2])>>2])+(e<<2)>>2]))){if((a>>>0)%3|0){c=a+-1|0;break}c=a+2|0;break}c=-1}while(0);n[f>>2]=c,A[r>>0]=0}else{do{if(!a&&-1!=(0|(o=(0==(0|(t>>>0)%3)?2:-1)+t|0))&&0==(n[(0|n[i>>2])+(o>>>5<<2)>>2]&1<<(31&o)|0)&&-1!=(0|(b=0|n[(0|n[12+(0|n[i+64>>2])>>2])+(o<<2)>>2]))){if((b>>>0)%3|0){l=b+-1|0;break}l=b+2|0;break}l=-1}while(0);n[f>>2]=l}}function Ci(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;i=4+(e|=0)|0,f=0|n[e>>2],(t=1+(A=(0|n[i>>2])-f>>2)|0)>>>0>1073741823&&On(),f=(o=(0|n[(a=e+8|0)>>2])-f|0)>>1,b=o>>2>>>0<536870911?f>>>0<t>>>0?t:f:1073741823;do{if(b){if(!(b>>>0>1073741823)){l=0|Uo(b<<2);break}_n(f=0|j(8),14941),n[f>>2]=6944,Q(0|f,1080,114)}else l=0}while(0);if(A=f=l+(A<<2)|0,t=l+(b<<2)|0,b=0|n[r>>2],n[r>>2]=0,n[f>>2]=b,b=f+4|0,r=0|n[e>>2],(0|(l=0|n[i>>2]))==(0|r))c=A,u=r,s=r;else{o=l,l=A,A=f;do{f=0|n[(o=o+-4|0)>>2],n[o>>2]=0,n[A+-4>>2]=f,l=A=l+-4|0}while((0|o)!=(0|r));c=l,u=0|n[e>>2],s=0|n[i>>2]}if(n[e>>2]=c,n[i>>2]=b,n[a>>2]=t,(0|s)!=(0|(t=u))){a=s;do{s=0|n[(a=a+-4|0)>>2],n[a>>2]=0,0|s&&Eb[127&n[4+(0|n[s>>2])>>2]](s)}while((0|a)!=(0|t))}u&&_b(u)}function Qi(e,r){r|=0;var i,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;e=0|n[(i=4+(e|=0)|0)>>2];do{if(0|e){a=(t=(f=0|A[r+11>>0])<<24>>24<0)?0|n[r+4>>2]:255&f,f=t?0|n[r>>2]:r,t=i,o=e;e:for(;;){for(b=o;;){if(0!=(0|(c=a>>>0<(s=(u=(c=0|A[11+(l=b+16|0)>>0])<<24>>24<0)?0|n[b+20>>2]:255&c)>>>0?a:s))&&0!=(0|(k=0|Wa(u?0|n[l>>2]:l,f,c)))){if((0|k)>=0)break}else d=6;if(6==(0|d)&&(d=0,s>>>0>=a>>>0))break;if(!(s=0|n[b+4>>2])){_=t;break e}b=s}if(!(o=0|n[b>>2])){_=b;break}t=b}if((0|_)!=(0|i)){if(0|(o=(k=(s=(o=0|A[11+(t=_+16|0)>>0])<<24>>24<0)?0|n[_+20>>2]:255&o)>>>0<a>>>0?k:a)&&0|(c=0|Wa(f,s?0|n[t>>2]:t,o))){if((0|c)<0)break;return 0|_}if(a>>>0>=k>>>0)return 0|_}}}while(0);return 0|i}function Xi(e,r,i){r|=0,i|=0;var f,A,t,a=0,o=0,b=0,l=0,c=0;if((((a=0|n[(f=8+(e|=0)|0)>>2])-(o=0|n[(A=e+4|0)>>2])|0)/12|0)>>>0>=r>>>0){b=r,l=o;do{n[l>>2]=n[i>>2],n[l+4>>2]=n[i+4>>2],n[l+8>>2]=n[i+8>>2],l=12+(0|n[A>>2])|0,n[A>>2]=l,b=b+-1|0}while(0!=(0|b))}else{(o=(l=(o-(b=0|n[e>>2])|0)/12|0)+r|0)>>>0>357913941&&On(),b=(t=(a-b|0)/12|0)<<1,a=t>>>0<178956970?b>>>0<o>>>0?o:b:357913941;do{if(a){if(!(a>>>0>357913941)){c=0|Uo(12*a|0);break}_n(b=0|j(8),14941),n[b>>2]=6944,Q(0|b,1080,114)}else c=0}while(0);b=c+(12*l|0)|0,l=c+(12*a|0)|0,a=r,r=b,c=b;do{n[r>>2]=n[i>>2],n[r+4>>2]=n[i+4>>2],n[r+8>>2]=n[i+8>>2],c=r=c+12|0,a=a+-1|0}while(0!=(0|a));a=0|n[e>>2],i=b+(12*((0|(r=(0|n[A>>2])-a|0))/-12|0)|0)|0,(0|r)>0&&qi(0|i,0|a,0|r),n[e>>2]=i,n[A>>2]=c,n[f>>2]=l,a&&_b(a)}}function Ji(e,r,i,f){e|=0,i|=0,f|=0;var A,t,a,o,b,l,c,u=0;return u=0|n[(r|=0)>>2],A=0|n[e>>2],t=0|n[f>>2],f=0|n[t>>2],(a=(0|n[t+4>>2])-f>>3)>>>0<=u>>>0&&On(),o=f,a>>>0<=A>>>0&&On(),f=0|n[o+(u<<3)>>2],a>>>0<=(b=0|n[i>>2])>>>0&&On(),l=o+(A<<3)|0,c=(0|n[o+(b<<3)>>2])>>>0<f>>>0,f>>>0<(0|n[l>>2])>>>0?c?(n[e>>2]=b,n[i>>2]=A,1):(n[e>>2]=u,n[r>>2]=A,a>>>0<=(f=0|n[i>>2])>>>0&&On(),(0|n[o+(f<<3)>>2])>>>0>=(0|n[l>>2])>>>0?1:(n[r>>2]=f,n[i>>2]=A,2)):c?(n[r>>2]=b,n[i>>2]=u,u=0|n[r>>2],i=0|n[e>>2],a>>>0<=u>>>0&&On(),a>>>0<=i>>>0&&On(),(0|n[o+(u<<3)>>2])>>>0>=(0|n[o+(i<<3)>>2])>>>0?1:(n[e>>2]=u,n[r>>2]=i,2)):0}function zi(e,r,i,f){var A,t,a;e|=0,r|=0,f|=0,A=y,y=y+96|0,a=A,ho(t=A+40|0,i|=0),dr(a,r,i),pf(t,a),zA(a+24|0,0|n[a+28>>2]),Lt(a+12|0,0|n[a+16>>2]),zA(a,0|n[a+4>>2]),BA(e,t,f),n[t>>2]=2968,zA(t+28|0,0|n[t+32>>2]),Lt(t+16|0,0|n[t+20>>2]),zA(t+4|0,0|n[t+8>>2]),y=A}function Oi(e){e=+e;var r,i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;h[v>>3]=e,r=0|n[v>>2],f=(0|(i=0|n[v+4>>2]))<0;do{if(f|i>>>0<1048576){if(0==(0|r)&0==(2147483647&i|0)){A=-1/(e*e);break}if(f){A=(e-e)/0;break}h[v>>3]=0x40000000000000*e,t=-1077,a=0|n[v+4>>2],o=0|n[v>>2],b=9;break}i>>>0<=2146435071?0==(0|r)&!0&1072693248==(0|i)?A=0:(t=-1023,a=i,o=r,b=9):A=e}while(0);return 9==(0|b)&&(b=a+614242|0,n[v>>2]=o,n[v+4>>2]=1072079006+(1048575&b),l=(e=+h[v>>3]-1)*e*.5,s=(u=(c=e/(e+2))*c)*u,h[v>>3]=e-l,o=0|n[v+4>>2],n[v>>2]=0,n[v+4>>2]=o,d=e-(k=+h[v>>3])-l+c*(l+(s*(s*(.15313837699209373*s+.22222198432149784)+.3999999999940942)+u*(s*(s*(.14798198605116586*s+.1818357216161805)+.2857142874366239)+.6666666666666735))),A=(l=(s=1.4426950407214463*k)+(u=+(t+(b>>>20)|0)))+(s+(u-l)+(1.4426950407214463*d+1.6751713164886512e-10*(d+k)))),+A}function Si(e,r){e|=0,r|=0;var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;i=y,y=y+16|0,f=i,t=0|Uo(32),n[f>>2]=t,n[f+8>>2]=-2147483616,n[f+4>>2]=17,o=12804,b=(a=t)+17|0;do{A[a>>0]=0|A[o>>0],a=a+1|0,o=o+1|0}while((0|a)<(0|b));if(A[t+17>>0]=0,o=0|n[(t=r+16|0)>>2]){a=t,b=o;e:for(;;){for(o=b;!((0|n[o+16>>2])>=(0|e));){if(!(l=0|n[o+4>>2])){c=a;break e}o=l}if(!(b=0|n[o>>2])){c=o;break}a=o}(0|c)!=(0|t)&&(0|n[c+16>>2])<=(0|e)&&0!=(0|hf(e=c+20|0,f))?u=e:s=10}else s=10;return 10==(0|s)&&(u=r),r=0|ya(u,f,-1),(0|A[f+11>>0])>=0?(k=r>>>0>6?-2:r,y=i,0|(-1==(0|r)?-1:k)):(_b(0|n[f>>2]),k=r>>>0>6?-2:r,y=i,0|(-1==(0|r)?-1:k))}function Hi(e){var r,i,f,t=0,a=0,o=0,b=0,c=0,u=0;if(r=108+(e|=0)|0,Mf(i=(0|(t=(0|n[e+112>>2])-(0|n[r>>2])|0))/12|0,0|n[44+(0|n[(f=e+4|0)>>2])>>2]),!t)return 1;for(t=0,e=0;a=0|n[r>>2],Mf((0|n[(o=a+(12*t|0)+4|0)>>2])-e|0,0|n[44+(0|n[f>>2])>>2]),Mf((0|n[o>>2])-(0|n[a+(12*t|0)>>2])|0,0|n[44+(0|n[f>>2])>>2]),!((t=t+1|0)>>>0>=i>>>0);)e=0|n[o>>2];qf(0|n[44+(0|n[f>>2])>>2],i,0,0),e=0;do{t=0|n[44+(0|n[f>>2])>>2],(0|(a=0|n[4+(o=t+16|0)>>2]))>0|0==(0|a)&(0|n[o>>2])>>>0>0&&(o=0|n[t+12>>2],a=0|n[(t=o+4|0)>>2],b=1&A[(0|n[r>>2])+(12*e|0)+8>>0],c=a>>>3,u=7&a,a=(0|n[o>>2])+c|0,A[a>>0]=(1<<u^255)&(0|l[a>>0]),a=(0|n[o>>2])+c|0,A[a>>0]=b<<u|0|l[a>>0],n[t>>2]=1+(0|n[t>>2])),e=e+1|0}while(e>>>0<i>>>0);return ki(0|n[44+(0|n[f>>2])>>2]),1}function Di(e,r){e|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0;i=y,y=y+32|0,o=i+12|0,f=i,A=(0|(r=(b=0|n[100+(r|=0)>>2])-(l=0|n[r+96>>2])|0))/12|0,n[o>>2]=0,n[(t=o+4|0)>>2]=0,n[o+8>>2]=0,a=l;do{if(r){if(!(A>>>0>357913941)){c=0|Uo(r),n[o>>2]=c,n[o+8>>2]=c+(12*A|0),IA(0|c,0,0|r),n[t>>2]=c+r,u=c;break}On()}else u=0}while(0);if(n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,(0|b)!=(0|l)){l=f+4|0,b=f+8|0,r=0;do{c=a+(12*r|0)|0,n[f>>2]=n[c>>2],n[f+4>>2]=n[c+4>>2],n[f+8>>2]=n[c+8>>2],n[u+(12*r|0)>>2]=n[f>>2],n[u+(12*r|0)+4>>2]=n[l>>2],n[u+(12*r|0)+8>>2]=n[b>>2],r=r+1|0}while(r>>>0<A>>>0)}Pt(e,o),(e=0|n[o>>2])?((0|(o=0|n[t>>2]))!=(0|e)&&(n[t>>2]=o+(12*~(((o+-12-e|0)>>>0)/12|0)|0)),_b(e),y=i):y=i}function xi(e,r){e|=0;var i,f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0;(r|=0)>>>0>4294967279&&On(),(t=(f=0|A[(i=e+11|0)>>0])<<24>>24<0)?(o=0|n[e+4>>2],b=(2147483647&n[e+8>>2])-1|0):(o=255&f,b=10),a=(r=(l=o>>>0>r>>>0?o:r)>>>0<11)?10:(l+16&-16)-1|0;do{if((0|a)!=(0|b)){do{if(!r){if(d=0|Uo(l=a+1|0),t){c=1,u=0|n[e>>2],s=d,k=13;break}sn(d,e,1+(255&f)|0),_=d,h=l,p=e+4|0,k=15;break}l=0|n[e>>2],t?(c=0,u=l,s=e,k=13):(sn(e,l,1+(255&f)|0),_b(l),k=16)}while(0);if(13==(0|k)&&(sn(s,u,1+(0|n[(l=e+4|0)>>2])|0),_b(u),c?(_=s,h=a+1|0,p=l,k=15):k=16),15==(0|k)){n[e+8>>2]=-2147483648|h,n[p>>2]=o,n[e>>2]=_;break}if(16==(0|k)){A[i>>0]=o;break}}}while(0)}function Pi(e,r){e|=0;var i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if(-1==(0|(i=0|n[(r|=0)>>2])))return-1;if(-1==(0|(r=0|n[(0|n[e+24>>2])+(i<<2)>>2])))return 0;i=e+12|0,e=0,A=0,t=r;e:for(;;){r:do{if(A){if(a=e+1|0,-1==(0|(o=(0==(0|(t>>>0)%3)?2:-1)+t|0))){f=a,b=15;break e}if(-1==(0|(l=0|n[(0|n[i>>2])+(o<<2)>>2]))){f=a,b=15;break e}if((l>>>0)%3|0){c=l+-1|0,u=a;break}c=l+2|0,u=a;break}for(a=e,l=t;;){if(o=a+1|0,-1==(0|(k=0==(0|((s=l+1|0)>>>0)%3)?l+-2|0:s))){c=r,u=o;break r}if(k=1+(s=0|n[(0|n[i>>2])+(k<<2)>>2])|0,-1==(0|s)){c=r,u=o;break r}if(-1==(0|(l=0==(0|(k>>>0)%3)?s+-2|0:k))){c=r,u=o;break r}if((0|l)==(0|r)){f=o,b=15;break e}a=o}}while(0);if(-1==(0|c)){f=u,b=15;break}e=u,A=1,t=c}return 15==(0|b)?0|f:0}function Li(e,r,i){r|=0;var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(Ji(e|=0,e+4|0,a=e+8|0,i|=0),(0|(o=e+12|0))!=(0|r)){f=0|n[i>>2],i=0|n[f>>2],A=(0|n[f+4>>2])-i>>3,t=i,i=o,o=a;e:for(;;){if(a=0|n[i>>2],b=0|n[o>>2],A>>>0<=a>>>0){l=5;break}if(A>>>0<=b>>>0){l=7;break}if((0|n[(c=t+(a<<3)|0)>>2])>>>0<(0|n[t+(b<<3)>>2])>>>0){for(u=o,s=i,k=b;;){if(n[s>>2]=k,(0|u)==(0|e)){d=e;break}if(A>>>0<=(k=0|n[(b=u+-4|0)>>2])>>>0){l=11;break e}if((0|n[c>>2])>>>0>=(0|n[t+(k<<3)>>2])>>>0){d=u;break}_=u,u=b,s=_}n[d>>2]=a}if((0|(s=i+4|0))==(0|r)){l=3;break}u=i,i=s,o=u}3!=(0|l)&&(5==(0|l)||7==(0|l)||11==(0|l))&&On()}}function Ki(e,r,i,f,A){f|=0;var t,a,o,b,l,c=0;return t=0|Ji(e|=0,r|=0,i|=0,A|=0),a=0|n[f>>2],c=0|n[i>>2],o=0|n[A>>2],A=0|n[o>>2],(b=(0|n[o+4>>2])-A>>3)>>>0<=a>>>0&&On(),l=A,b>>>0<=c>>>0&&On(),(0|n[l+(a<<3)>>2])>>>0>=(0|n[l+(c<<3)>>2])>>>0?0|t:(n[i>>2]=a,n[f>>2]=c,c=0|n[i>>2],f=0|n[r>>2],b>>>0<=c>>>0&&On(),b>>>0<=f>>>0&&On(),(0|n[l+(c<<3)>>2])>>>0>=(0|n[l+(f<<3)>>2])>>>0?0|t+1:(n[r>>2]=c,n[i>>2]=f,f=0|n[r>>2],i=0|n[e>>2],b>>>0<=f>>>0&&On(),b>>>0<=i>>>0&&On(),(0|n[l+(f<<3)>>2])>>>0>=(0|n[l+(i<<3)>>2])>>>0?0|t+2:(n[e>>2]=f,n[r>>2]=i,0|t+3)))}function qi(e,r,i){e|=0,r|=0;var f,t,a=0;if((0|(i|=0))>=8192)return 0|H(0|e,0|r,0|i);if(f=0|e,t=e+i|0,(3&e)==(3&r)){for(;3&e;){if(!i)return 0|f;A[e>>0]=0|A[r>>0],e=e+1|0,r=r+1|0,i=i-1|0}for(i=(a=-4&t|0)-64|0;(0|e)<=(0|i);)n[e>>2]=n[r>>2],n[e+4>>2]=n[r+4>>2],n[e+8>>2]=n[r+8>>2],n[e+12>>2]=n[r+12>>2],n[e+16>>2]=n[r+16>>2],n[e+20>>2]=n[r+20>>2],n[e+24>>2]=n[r+24>>2],n[e+28>>2]=n[r+28>>2],n[e+32>>2]=n[r+32>>2],n[e+36>>2]=n[r+36>>2],n[e+40>>2]=n[r+40>>2],n[e+44>>2]=n[r+44>>2],n[e+48>>2]=n[r+48>>2],n[e+52>>2]=n[r+52>>2],n[e+56>>2]=n[r+56>>2],n[e+60>>2]=n[r+60>>2],e=e+64|0,r=r+64|0;for(;(0|e)<(0|a);)n[e>>2]=n[r>>2],e=e+4|0,r=r+4|0}else for(a=t-4|0;(0|e)<(0|a);)A[e>>0]=0|A[r>>0],A[e+1>>0]=0|A[r+1>>0],A[e+2>>0]=0|A[r+2>>0],A[e+3>>0]=0|A[r+3>>0],e=e+4|0,r=r+4|0;for(;(0|e)<(0|t);)A[e>>0]=0|A[r>>0],e=e+1|0,r=r+1|0;return 0|f}function $i(e,r){r|=0;var i,f,A,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0;if(i=y,y=y+16|0,f=i+4|0,A=i,n[(e|=0)>>2]=1216,n[(u=e+4|0)>>2]=0,n[u+4>>2]=0,n[u+8>>2]=0,n[u+12>>2]=0,n[u+16>>2]=0,n[u+20>>2]=0,n[u+24>>2]=0,n[u+28>>2]=0,n[f>>2]=r,u=e+8|0,sA(r=e+4|0,f),t=0|n[f>>2],s=0|n[(a=e+20|0)>>2],l=e=0|n[(o=e+16|0)>>2],(0|t)<(0|(b=s-e>>2)))return k=l,d=t,_=(((0|n[u>>2])-(0|n[r>>2])|0)>>2)-1|0,n[(k+(d<<2)|0)>>2]=_,void(y=i);e=t+1|0,n[A>>2]=-1,c=s,e>>>0<=b>>>0?e>>>0<b>>>0&&(0|(s=l+(e<<2)|0))!=(0|c)?(n[a>>2]=c+(~((c+-4-s|0)>>>2)<<2),h=t,p=l):(h=t,p=l):(cf(o,e-b|0,A),h=0|n[f>>2],p=0|n[o>>2]),k=p,d=h,_=(((0|n[u>>2])-(0|n[r>>2])|0)>>2)-1|0,n[(k+(d<<2)|0)>>2]=_,y=i}function ef(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var A,t,a,o=0,b=0;return A=y,y=y+16|0,t=A+12|0,a=A+8|0,n[(o=A)>>2]=n[r>>2],n[t>>2]=n[o>>2],o=0|ze(e,t,a,A+4|0,i),0|(i=0|n[o>>2])?(y=A,0|i):(YA(16+(i=0|Uo(40))|0,f),YA(i+28|0,f+12|0),f=0|n[a>>2],n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=f,n[o>>2]=i,(f=0|n[n[e>>2]>>2])?(n[e>>2]=f,b=0|n[o>>2]):b=i,pr(0|n[e+4>>2],b),n[(b=e+8|0)>>2]=1+(0|n[b>>2]),y=A,0|i)}function rf(e,r,i){r|=0,i|=0;var f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if(f=y,y=y+16|0,o=f,n[(b=4+(e|=0)|0)>>2]=0,r)return(a=(l=0|n[(t=e+8|0)>>2])<<5)>>>0<r>>>0?(n[o>>2]=0,n[(c=o+4|0)>>2]=0,n[(u=o+8|0)>>2]=0,(0|r)<0&&On(),s=l<<6,l=r+31&-32,Lf(o,a>>>0<1073741823?s>>>0<l>>>0?l:s:2147483647),s=0|n[e>>2],n[e>>2]=n[o>>2],n[o>>2]=s,o=0|n[b>>2],n[b>>2]=r,n[c>>2]=o,o=0|n[t>>2],n[t>>2]=n[u>>2],n[u>>2]=o,0|s&&_b(s),k=e):(n[b>>2]=r,k=e),k=e=0|n[k>>2],b=e,s=(e=r>>>5)<<2,0|A[i>>0]?(IA(0|b,-1,0|s),(s=31&r)?(n[(r=k+(e<<2)|0)>>2]=n[r>>2]|-1>>>(32-s|0),void(y=f)):void(y=f)):(IA(0|b,0,0|s),(i=31&r)?(n[(o=k+(e<<2)|0)>>2]=n[o>>2]&~(-1>>>(32-i|0)),void(y=f)):void(y=f));y=f}function ff(e,r){e|=0,r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0;return i=y,y=y+16|0,f=i+8|0,A=i+4|0,n[(t=i)>>2]=n[e+12>>2],l=0|n[(o=a=r+16|0)>>2],(0|(b=0|n[o+4>>2]))>0|0==(0|b)&l>>>0>0?(c=b,u=l):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(l=a)+4>>2],u=0|n[l>>2]),n[t>>2]=n[e+20>>2],(0|c)>0|0==(0|c)&u>>>0>0?(Ee(e+88|0,r),y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),Ee(e+88|0,r),y=i,1)}function Af(e,r){e|=0,r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0;return i=y,y=y+16|0,f=i+8|0,A=i+4|0,n[(t=i)>>2]=n[e+12>>2],l=0|n[(o=a=r+16|0)>>2],(0|(b=0|n[o+4>>2]))>0|0==(0|b)&l>>>0>0?(c=b,u=l):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(l=a)+4>>2],u=0|n[l>>2]),n[t>>2]=n[e+16>>2],(0|c)>0|0==(0|c)&u>>>0>0?(Ee(e+108|0,r),y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),Ee(e+108|0,r),y=i,1)}function tf(e){var r,i,f,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(r=32+(e|=0)|0,t=0|n[e+64>>2],a=56+(0|yb[127&n[40+(0|n[t>>2])>>2]](t))|0,t=0|n[a>>2],qf(r,3*(((0|n[t+100>>2])-(0|n[t+96>>2])|0)/12|0)|0,0,1),a=0|n[(t=e+68|0)>>2],(0|(o=(0|n[e+72>>2])-a|0))<=0)ki(r);else{for(i=e+48|0,f=e+44|0,e=(o>>>2)-1|0,o=a;;){if(a=0|n[o+(e<<2)>>2],b=0|n[3124+(a<<2)>>2],(0|(u=0|n[(c=i)+4>>2]))>0|0==(0|u)&(0|n[c>>2])>>>0>0&&(c=0|n[f>>2],171>>>a&1|0)){s=0,k=0|n[(u=c+4|0)>>2];do{d=k>>>3,_=7&k,h=(0|n[c>>2])+d|0,A[h>>0]=(1<<_^255)&(0|l[h>>0]),h=(0|n[c>>2])+d|0,A[h>>0]=(a>>>s&1)<<_|0|l[h>>0],k=1+(0|n[u>>2])|0,n[u>>2]=k,s=s+1|0}while((0|s)!=(0|b))}if((0|(b=e+-1|0))<=-1)break;e=b,o=0|n[t>>2]}ki(r)}}function af(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o=0,b=0,l=0,c=0;if(t=y,y=y+48|0,o=t+32|0,!(r|=0))return y=t,0;Jo(a=t);do{if(-1!=(0|oo(r,0))){if(i){if(!(0|yb[127&n[16+(0|n[r>>2])>>2]](r))){b=0;break}Eb[127&n[20+(0|n[r>>2])>>2]](r)}zi(o,e,r,a),l=0==(0|n[o>>2]),(0|A[11+(c=o+4|0)>>0])<0&&_b(0|n[c>>2]),l?(mi(f,l=0|n[a>>2],l+((0|n[(c=a+4|0)>>2])-l)|0),b=(0|n[c>>2])-(0|n[a>>2])|0):b=0}else b=0}while(0);return o=0|n[(f=a+12|0)>>2],n[f>>2]=0,0|o&&_b(o),0|(o=0|n[a>>2])&&((0|n[(f=a+4|0)>>2])!=(0|o)&&(n[f>>2]=o),_b(o)),y=t,0|b}function of(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0,b=0,l=0;if((A=0|n[(i=8+(e|=0)|0)>>2])-(t=0|n[(f=e+4|0)>>2])>>3>>>0>=r>>>0){a=r,o=t;do{n[(b=o)>>2]=0,n[b+4>>2]=0,o=8+(0|n[f>>2])|0,n[f>>2]=o,a=a+-1|0}while(0!=(0|a))}else{(t=(o=t-(a=0|n[e>>2])>>3)+r|0)>>>0>536870911&&On(),a=(b=A-a|0)>>2,A=b>>3>>>0<268435455?a>>>0<t>>>0?t:a:536870911;do{if(A){if(!(A>>>0>536870911)){l=0|Uo(A<<3);break}_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)}else l=0}while(0);a=l+(o<<3)|0,o=l+(A<<3)|0,A=r,r=a,l=a;do{n[(t=r)>>2]=0,n[t+4>>2]=0,l=r=l+8|0,A=A+-1|0}while(0!=(0|A));A=0|n[e>>2],t=a+(0-((r=(0|n[f>>2])-A|0)>>3)<<3)|0,(0|r)>0&&qi(0|t,0|A,0|r),n[e>>2]=t,n[f>>2]=l,n[i>>2]=o,A&&_b(A)}}function nf(e,r,i){r|=0,i|=0;var f,t,a,o,b,l=0,c=0,u=0;f=y,y=y+16|0,t=f+4|0,a=f,b=255&(e|=0),A[(o=f+8|0)>>0]=127&b;do{if(r>>>0>0|0==(0|r)&e>>>0>127){if(A[o>>0]=-128|b,(0|(c=0|n[4+(l=i+16|0)>>2]))>0|0==(0|c)&(0|n[l>>2])>>>0>0){u=0;break}n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,o,o+1|0),u=0|nf(l=0|xo(0|e,0|r,7),E,i);break}if((0|(c=0|n[4+(l=i+16|0)>>2]))>0|0==(0|c)&(0|n[l>>2])>>>0>0){u=0;break}return n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,o,o+1|0),y=f,1}while(0);return y=f,0|u}function bf(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;f=y,y=y+224|0,t=f+120|0,a=f,b=f+136|0,c=40+(l=o=f+80|0)|0;do{n[l>>2]=0,l=l+4|0}while((0|l)<(0|c));return n[t>>2]=n[i>>2],(0|PA(0,r,t,a,o))<0?u=-1:(s=(0|n[e+76>>2])>-1?0|wb():0,l=32&(i=0|n[e>>2]),(0|A[e+74>>0])<1&&(n[e>>2]=-33&i),0|n[(i=e+48|0)>>2]?p=0|PA(e,r,t,a,o):(k=0|n[(c=e+44|0)>>2],n[c>>2]=b,n[(d=e+28|0)>>2]=b,n[(_=e+20|0)>>2]=b,n[i>>2]=80,n[(h=e+16|0)>>2]=b+80,b=0|PA(e,r,t,a,o),k?(Zb[31&n[e+36>>2]](e,0,0),w=0==(0|n[_>>2])?-1:b,n[c>>2]=k,n[i>>2]=0,n[h>>2]=0,n[d>>2]=0,n[_>>2]=0,p=w):p=b),o=0|n[e>>2],n[e>>2]=o|l,0|s&&pb(),u=0==(32&o|0)?p:-1),y=f,0|u}function lf(e,r,i){var f,A,t=0,a=0;return f=y,y=y+16|0,A=f,0|go(e|=0,r|=0,i|=0)?(0|yb[127&n[32+(0|n[e>>2])>>2]](e))<<24>>24==1&&((0|n[28+(0|n[e+8>>2])>>2])-1|0)>>>0>=6?(y=f,0):(t=0|Si(i,0|n[r+48>>2]),Vb[15&n[48+(0|n[e>>2])>>2]](A,e,t),t=e+36|0,r=0|n[A>>2],n[A>>2]=0,i=0|n[t>>2],n[t>>2]=r,i?(Eb[127&n[4+(0|n[i>>2])>>2]](i),i=0|n[A>>2],n[A>>2]=0,0|i&&Eb[127&n[4+(0|n[i>>2])>>2]](i),a=0|n[t>>2]):(n[A>>2]=0,a=r),a?0|mb[127&n[36+(0|n[e>>2])>>2]](e,a)?(y=f,1):(a=0|n[t>>2],n[t>>2]=0,a?(Eb[127&n[4+(0|n[a>>2])>>2]](a),y=f,1):(y=f,1)):(y=f,1)):(y=f,0)}function cf(e,r,i){r|=0,i|=0;var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if(a=0|n[(f=8+(e|=0)|0)>>2],b=o=0|n[(A=e+4|0)>>2],a-o>>2>>>0>=r>>>0){for(l=r,c=b;n[c>>2]=n[i>>2],l=l+-1|0;)c=c+4|0;n[A>>2]=b+(r<<2)}else{(l=(o=(c=o-(b=0|n[e>>2])|0)>>2)+r|0)>>>0>1073741823&&On(),a=(t=a-b|0)>>1,u=t>>2>>>0<536870911?a>>>0<l>>>0?l:a:1073741823;do{if(u){if(!(u>>>0>1073741823)){s=a=0|Uo(u<<2),k=a;break}_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)}else s=0,k=0}while(0);for(a=s+(o<<2)|0,o=s+(u<<2)|0,u=r,l=a;n[l>>2]=n[i>>2],u=u+-1|0;)l=l+4|0;(0|c)>0&&qi(0|k,0|b,0|c),n[e>>2]=s,n[A>>2]=a+(r<<2),n[f>>2]=o,b&&_b(b)}}function uf(e,r,i){r|=0,i|=0;var f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;f=1794895138+(0|n[(e|=0)>>2])|0,t=0|Rn(0|n[e+8>>2],f),a=0|Rn(0|n[e+12>>2],f),o=0|Rn(0|n[e+16>>2],f);e:do{if(t>>>0<r>>>2>>>0&&(b=r-(t<<2)|0,a>>>0<b>>>0&o>>>0<b>>>0)&&0==(3&(o|a)|0)){for(b=a>>>2,l=o>>>2,c=0,u=t;;){if(h=0|Rn(0|n[e+((_=(d=(k=c+(s=u>>>1)|0)<<1)+b|0)<<2)>>2],f),!((p=0|Rn(0|n[e+(_+1<<2)>>2],f))>>>0<r>>>0&h>>>0<(r-p|0)>>>0)){w=0;break e}if(0|A[e+(p+h)>>0]){w=0;break e}if(!(h=0|Ya(i,e+p|0)))break;if(p=(0|h)<0,1==(0|u)){w=0;break e}c=p?c:k,u=p?s:u-s|0}c=0|Rn(0|n[e+((u=d+l|0)<<2)>>2],f),w=(b=0|Rn(0|n[e+(u+1<<2)>>2],f))>>>0<r>>>0&c>>>0<(r-b|0)>>>0&&0==(0|A[e+(b+c)>>0])?e+b|0:0}else w=0}while(0);return 0|w}function sf(e,r,i,f){r|=0,i|=0,f|=0;var t,o,b,l,c,u,s,k=0,d=0,_=0;t=y,y=y+64|0,o=t,k=0|n[(e|=0)>>2],b=e+(0|n[k+-8>>2])|0,l=0|n[k+-4>>2],n[o>>2]=i,n[o+4>>2]=e,n[o+8>>2]=r,n[o+12>>2]=f,r=o+20|0,e=o+24|0,k=o+28|0,c=o+32|0,u=o+40|0,s=36+(d=f=o+16|0)|0;do{n[d>>2]=0,d=d+4|0}while((0|d)<(0|s));a[f+36>>1]=0,A[f+38>>0]=0;e:do{if(0|Zn(l,i))n[o+48>>2]=1,Fb[3&n[20+(0|n[l>>2])>>2]](l,o,b,b,1,0),_=1==(0|n[e>>2])?b:0;else{switch(Gb[3&n[24+(0|n[l>>2])>>2]](l,o,b,1,0),0|n[o+36>>2]){case 0:_=1==(0|n[u>>2])&1==(0|n[k>>2])&1==(0|n[c>>2])?0|n[r>>2]:0;break e;case 1:break;default:_=0;break e}if(1!=(0|n[e>>2])&&!(0==(0|n[u>>2])&1==(0|n[k>>2])&1==(0|n[c>>2]))){_=0;break}_=0|n[f>>2]}}while(0);return y=t,0|_}function kf(e){var r,i,f,t=0,a=0,o=0,b=0,l=0,c=0;if(r=12+(e|=0)|0,i=0|n[e>>2],a=-1==(0|(t=0|n[(f=e+8|0)>>2])),0|A[r>>0]){if(l=t+1|0,a||-1==(0|(a=0==(0|(l>>>0)%3)?t+-2|0:l))||(a=1+(l=0|n[(0|n[i+12>>2])+(a<<2)>>2])|0,-1==(0|l)))n[f>>2]=-1;else if(t=0==(0|(a>>>0)%3)?l+-2|0:a,n[f>>2]=t,-1!=(0|t)){if((0|t)!=(0|n[e+4>>2]))return;return void(n[f>>2]=-1)}t=0|n[e+4>>2];do{if(-1!=(0|t)&&-1!=(0|(e=(0==(0|(t>>>0)%3)?2:-1)+t|0))&&-1!=(0|(a=0|n[(0|n[i+12>>2])+(e<<2)>>2]))){if((a>>>0)%3|0){c=a+-1|0;break}c=a+2|0;break}c=-1}while(0);n[f>>2]=c,A[r>>0]=0}else{do{if(!a&&-1!=(0|(o=(0==(0|(t>>>0)%3)?2:-1)+t|0))&&-1!=(0|(b=0|n[(0|n[i+12>>2])+(o<<2)>>2]))){if((b>>>0)%3|0){l=b+-1|0;break}l=b+2|0;break}l=-1}while(0);n[f>>2]=l}}function df(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ke(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+20>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ke(e,A))}function _f(e,r,i){r|=0,i|=0;var f,t,a,o,b=0,l=0,c=0;if(f=y,y=y+48|0,t=f,a=f+32|0,!(o=0|n[(b=4+(e|=0)|0)>>2]))return y=f,0;do{if(r){if(0|yb[127&n[16+(0|n[o>>2])>>2]](o)){l=0|n[b>>2],Eb[127&n[20+(0|n[l>>2])>>2]](l);break}return y=f,0}}while(0);return Jo(t),BA(a,0|n[e>>2],t),e=0==(0|n[a>>2]),(0|A[11+(b=a+4|0)>>0])<0&&_b(0|n[b>>2]),e?(mi(i,e=0|n[t>>2],e+((0|n[(b=t+4|0)>>2])-e)|0),c=(0|n[b>>2])-(0|n[t>>2])|0):c=0,e=0|n[(b=t+12|0)>>2],n[b>>2]=0,0|e&&_b(e),0|(e=0|n[t>>2])&&((0|n[(b=t+4|0)>>2])!=(0|e)&&(n[b>>2]=e),_b(e)),y=f,0|c}function hf(e,r){r|=0;var i,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(!(f=0|n[4+(e|=0)>>2]))return 0;for(i=(a=(e=0|A[r+11>>0])<<24>>24<0)?0|n[r+4>>2]:255&e,e=a?0|n[r>>2]:r,r=f;;){if(7==(0|(u=0!=(0|(l=(a=(b=(o=(a=0|A[11+(f=r+16|0)>>0])<<24>>24<0)?0|n[r+20>>2]:255&a)>>>0<i>>>0)?b:i))&&0!=(0|(c=0|Wa(e,o?0|n[f>>2]:f,l)))?(0|c)<0?7:8:i>>>0<b>>>0?7:8)))u=0,s=r;else if(8==(0|u)){if(u=0,0!=(0|(c=i>>>0<b>>>0?i:b))&&0!=(0|(b=0|Wa(o?0|n[f>>2]:f,e,c)))){if((0|b)>=0){t=1,u=14;break}}else u=10;if(10==(0|u)&&(u=0,!a)){t=1,u=14;break}s=r+4|0}if(!(r=0|n[s>>2])){t=0,u=14;break}}return 14==(0|u)?0|t:0}function pf(e,r){var i,f,A,t,a,o,b;i=y,y=y+16|0,f=i+12|0,A=i+8|0,t=i+4|0,a=i,(b=(0|(o=4+(e|=0)|0))==(0|(r|=0)))||(n[t>>2]=n[r>>2],n[a>>2]=r+4,n[A>>2]=n[t>>2],n[f>>2]=n[a>>2],te(o,A,f)),b||(n[t>>2]=n[r+12>>2],n[a>>2]=r+16,n[A>>2]=n[t>>2],n[f>>2]=n[a>>2],function(e,r,i){r|=0,i|=0;var f,A,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0;f=y,y=y+32|0,A=f+12|0,t=f+8|0,a=f+4|0,o=f,b=8+(e|=0)|0;e:do{if(0|n[b>>2]&&(l=0|n[e>>2],c=e+4|0,n[e>>2]=c,n[8+(0|n[c>>2])>>2]=0,n[c>>2]=0,n[b>>2]=0,u=0|n[l+4>>2],s=0==(0|u)?l:u,0|s)){for(u=e+4|0,l=s,s=0|n[r>>2];(0|s)!=(0|n[i>>2]);){n[(k=l+16|0)>>2]=n[s+16>>2],(0|l)!=(0|s)&&(n[a>>2]=n[s+20>>2],n[o>>2]=s+24,n[t>>2]=n[a>>2],n[A>>2]=n[o>>2],te(l+20|0,t,A)),_=0|n[(d=l+8|0)>>2];do{if(_){if((0|(h=0|n[_>>2]))==(0|l)){if(n[_>>2]=0,!(p=0|n[_+4>>2])){w=_;break}for(v=p;;)if(0|(p=0|n[v>>2]))v=p;else{if(!(p=0|n[v+4>>2]))break;v=p}w=v;break}if(n[_+4>>2]=0,!h){w=_;break}for(m=h;;)if(0|(p=0|n[m>>2]))m=p;else{if(!(p=0|n[m+4>>2]))break;m=p}w=m;break}w=0}while(0);_=0|n[c>>2];do{if(_){for(h=0|n[k>>2],p=_;;){if((0|h)<(0|n[p+16>>2])){if(!(Z=0|n[p>>2])){R=22;break}B=Z}else{if(!(Z=0|n[(E=p+4|0)>>2])){R=25;break}B=Z}p=B}if(22==(0|R)){R=0,W=p,V=p;break}if(25==(0|R)){R=0,W=p,V=E;break}}else W=c,V=c}while(0);if(n[l>>2]=0,n[l+4>>2]=0,n[d>>2]=W,n[V>>2]=l,(_=0|n[n[e>>2]>>2])?(n[e>>2]=_,N=0|n[V>>2]):N=l,pr(0|n[u>>2],N),n[b>>2]=1+(0|n[b>>2]),_=0|n[s+4>>2]){for(h=_;d=0|n[h>>2];)h=d;G=h}else if(h=0|n[(k=s+8|0)>>2],(0|n[h>>2])==(0|s))G=h;else{h=k;do{k=0|n[h>>2],Z=0|n[(h=k+8|0)>>2]}while((0|n[Z>>2])!=(0|k));G=Z}if(n[r>>2]=G,!w)break e;l=w,s=G}if(s=0|n[l+8>>2]){for(u=s;s=0|n[u+8>>2];)u=s;F=u}else F=l;Lt(e,F)}}while(0);if((0|(F=0|n[r>>2]))!=(0|(G=0|n[i>>2]))){for(i=e+4|0,w=e+4|0,N=F;;){Mi(A,e,N+16|0),F=0|n[i>>2];do{if(F){for(V=0|n[A>>2],W=0|n[V+16>>2],E=F;;){if((0|W)<(0|n[E+16>>2])){if(!(B=0|n[E>>2])){R=43;break}U=B}else{if(!(B=0|n[(g=E+4|0)>>2])){R=46;break}U=B}E=U}if(43==(0|R)){R=0,Y=E,M=E,T=V;break}if(46==(0|R)){R=0,Y=E,M=g,T=V;break}}else Y=i,M=i,T=0|n[A>>2]}while(0);if(n[T>>2]=0,n[T+4>>2]=0,n[T+8>>2]=Y,n[M>>2]=T,(F=0|n[n[e>>2]>>2])?(n[e>>2]=F,I=0|n[M>>2]):I=T,pr(0|n[w>>2],I),n[b>>2]=1+(0|n[b>>2]),F=0|n[N+4>>2]){for(W=F;h=0|n[W>>2];)W=h;j=W}else if(W=0|n[(u=N+8|0)>>2],(0|n[W>>2])==(0|N))j=W;else{W=u;do{u=0|n[W>>2],h=0|n[(W=u+8|0)>>2]}while((0|n[h>>2])!=(0|u));j=h}if(n[r>>2]=j,(0|j)==(0|G))break;N=j}y=f}else y=f}(e+16|0,A,f)),b||(n[t>>2]=n[r+24>>2],n[a>>2]=r+28,n[A>>2]=n[t>>2],n[f>>2]=n[a>>2],te(e+28|0,A,f)),y=i}function wf(e,r,i,f){var A,t,a=0,o=0;return A=y,y=y+16|0,a=A,Df(t=A+4|0,e|=0,r|=0,i|=0,f|=0),(f=0|n[t>>2])?(n[t>>2]=0,n[a>>2]=f,f=0|function(e,r){r|=0;var i,f,A,t,a=0,o=0,b=0,l=0,c=0;return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&&Eb[127&n[4+(0|n[i>>2])>>2]](i),0|(i=0|n[e+60>>2])&&((0|(f=0|n[(r=e+64|0)>>2]))!=(0|i)&&(n[r>>2]=f+(~((f+-4-i|0)>>>2)<<2)),_b(i)),0|(i=0|n[e+48>>2])&&_b(i),0|(f=0|n[(i=e+36|0)>>2])){if((0|(A=0|n[(r=e+40|0)>>2]))==(0|f))t=f;else{a=A;do{A=a+-4|0,n[r>>2]=A,o=0|n[A>>2],n[A>>2]=0,0|o&&Eb[127&n[4+(0|n[o>>2])>>2]](o),a=0|n[r>>2]}while((0|a)!=(0|f));t=0|n[i>>2]}_b(t)}n[e>>2]=1216,0|(t=0|n[e+16>>2])&&((0|(f=0|n[(i=e+20|0)>>2]))!=(0|t)&&(n[i>>2]=f+(~((f+-4-t|0)>>>2)<<2)),_b(t)),(t=0|n[e+4>>2])&&((0|(e=0|n[(f=e+8|0)>>2]))!=(0|t)&&(n[f>>2]=e+(~((e+-4-t|0)>>>2)<<2)),_b(t))}function yf(e){OA(992+(e|=0)|0),OA(e+960|0),OA(e+928|0),OA(e+896|0),OA(e+864|0),OA(e+832|0),OA(e+800|0),OA(e+768|0),OA(e+736|0),OA(e+704|0),OA(e+672|0),OA(e+640|0),OA(e+608|0),OA(e+576|0),OA(e+544|0),OA(e+512|0),OA(e+480|0),OA(e+448|0),OA(e+416|0),OA(e+384|0),OA(e+352|0),OA(e+320|0),OA(e+288|0),OA(e+256|0),OA(e+224|0),OA(e+192|0),OA(e+160|0),OA(e+128|0),OA(e+96|0),OA(e+64|0),OA(e+32|0),OA(e)}function mf(e,r,i,f){r|=0,i|=0,f|=0;var A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(n[(e|=0)>>2]=f,A=e+24|0,b=(a=0|n[(t=e+28|0)>>2])-(o=0|n[A>>2])>>2,l=o,o=a,b>>>0>=f>>>0?b>>>0>f>>>0&&(0|(a=l+(f<<2)|0))!=(0|o)&&(n[t>>2]=o+(~((o+-4-a|0)>>>2)<<2)):rA(A,f-b|0),i){if(b=0|n[r>>2],(0|i)>1)for(f=b,A=b,a=1;;){if(l=(t=(0|(o=0|n[r+(a<<2)>>2]))<(0|A))?o:A,c=t?f:(0|o)>(0|f)?o:f,(0|(a=a+1|0))==(0|i)){u=c,s=l;break}f=c,A=l}else u=b,s=b;n[e+4>>2]=s,n[e+8>>2]=u,b=0|Do(0|u,((0|u)<0)<<31>>31|0,0|s,((0|s)<0)<<31>>31|0),(s=E)>>>0<0|0==(0|s)&b>>>0<2147483647&&(s=b+1|0,n[e+12>>2]=s,b=(0|s)/2|0,n[(u=e+16|0)>>2]=b,n[e+20>>2]=0-b,1&s|0||(n[u>>2]=b+-1))}}function Zf(e,r,i,f,t,a,o){e|=0,r|=0,i|=0,f|=0,t|=0,a|=0;var b=0,l=0;return r=y,y=y+64|0,l=(o|=0)?6:5,qa(b=r),St(b,o=0|n[a+56>>2],0,255&f,l,0,a=0|G(0|to(l),f),((0|a)<0)<<31>>31,0,0),Ja(a=0|Uo(96),b),n[e>>2]=a,JA(a,i),i=a+84|0,t?(A[i>>0]=0,i=a+68|0,f=a=0|n[(e=a+72|0)>>2],(b=a-(l=0|n[i>>2])>>2)>>>0<t>>>0?(cf(i,t-b|0,1200),void(y=r)):void(b>>>0<=t>>>0?y=r:(0|(b=l+(t<<2)|0))!=(0|f)?(n[e>>2]=f+(~((f+-4-b|0)>>>2)<<2),y=r):y=r)):(A[i>>0]=1,e=0|n[a+68>>2],(0|(l=0|n[(b=a+72|0)>>2]))==(0|e)||(n[b>>2]=l+(~((l+-4-e|0)>>>2)<<2)),void(y=r))}function Rf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ve(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ve(e,A))}function Bf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ue(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ue(e,A))}function Ef(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?je(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||je(e,A))}function Wf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?De(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||De(e,A))}function Vf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ge(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ge(e,A))}function Nf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ye(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ye(e,A))}function Gf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Je(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Je(e,A))}function Ff(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ne(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ne(e,A))}function Uf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?ge(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||ge(e,A))}function gf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Ce(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Ce(e,A))}function Yf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?xe(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||xe(e,A))}function Mf(e,r){e|=0,r|=0;var i,f,t,a,o=0,b=0,l=0;i=y,y=y+16|0,f=i+4|0,t=i,A[(a=i+8|0)>>0]=127&e;do{if(e>>>0>127){if(A[a>>0]=128|e,(0|(b=0|n[4+(o=r+16|0)>>2]))>0|0==(0|b)&(0|n[o>>2])>>>0>0){l=0;break}n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,a,a+1|0),l=0|Mf(e>>>7,r);break}if((0|(b=0|n[4+(o=r+16|0)>>2]))>0|0==(0|b)&(0|n[o>>2])>>>0>0){l=0;break}return n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,a,a+1|0),y=i,1}while(0);return y=i,0|l}function Tf(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Me(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Me(e,A))}function If(e,r,i){e|=0,i|=0;var f,t,a,o=0;return f=y,y=y+48|0,a=f+32|0,(r|=0)?(Jo(t=f),-1!=(0|oo(r,0))&&0|yb[127&n[16+(0|n[r>>2])>>2]](r)?(Eb[127&n[20+(0|n[r>>2])>>2]](r),vi(a,e,r,t),r=0==(0|n[a>>2]),(0|A[11+(e=a+4|0)>>0])<0&&_b(0|n[e>>2]),r?(mi(i,r=0|n[t>>2],r+((0|n[(e=t+4|0)>>2])-r)|0),o=(0|n[e>>2])-(0|n[t>>2])|0):o=0):o=0,r=0|n[(e=t+12|0)>>2],n[e>>2]=0,0|r&&_b(r),0|(r=0|n[t>>2])&&((0|n[(e=t+4|0)>>2])!=(0|r)&&(n[e>>2]=r),_b(r)),y=f,0|o):(y=f,0)}function jf(e){var r,i,f=0,A=0,t=0,a=0,o=0,b=0;if(r=0|n[(e|=0)>>2]){if((0|(f=0|n[(i=e+4|0)>>2]))==(0|r))A=r;else{t=f;do{f=t+-4|0,n[i>>2]=f,a=0|n[f>>2],n[f>>2]=0,0|a&&(o=0|n[(f=a+88|0)>>2],n[f>>2]=0,0|o&&(0|(f=0|n[o+8>>2])&&((0|n[(b=o+12|0)>>2])!=(0|f)&&(n[b>>2]=f),_b(f)),_b(o)),0|(o=0|n[a+68>>2])&&((0|(b=0|n[(f=a+72|0)>>2]))!=(0|o)&&(n[f>>2]=b+(~((b+-4-o|0)>>>2)<<2)),_b(o)),b=0|n[(o=a+64|0)>>2],n[o>>2]=0,0|b&&(0|(o=0|n[b>>2])&&((0|n[(f=b+4|0)>>2])!=(0|o)&&(n[f>>2]=o),_b(o)),_b(b)),_b(a)),t=0|n[i>>2]}while((0|t)!=(0|r));A=0|n[e>>2]}_b(A)}}function Cf(e){var r,i,f,t=0,a=0,o=0;r=y,y=y+16|0,i=r,Vn(e|=0),n[e+16>>2]=0,n[e+20>>2]=0,n[e+12>>2]=e+16,Vn(f=e+24|0),n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,e=0|Uo(32),n[i>>2]=e,n[i+8>>2]=-2147483616,n[i+4>>2]=20,a=13101,o=(t=e)+20|0;do{A[t>>0]=0|A[a>>0],t=t+1|0,a=a+1|0}while((0|t)<(0|o));A[e+20>>0]=0,ea(f,i,1),(0|A[i+11>>0])<0&&_b(0|n[i>>2]),n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,e=0|Uo(32),n[i>>2]=e,n[i+8>>2]=-2147483616,n[i+4>>2]=22,a=13122,o=(t=e)+22|0;do{A[t>>0]=0|A[a>>0],t=t+1|0,a=a+1|0}while((0|t)<(0|o));A[e+22>>0]=0,ea(f,i,1),(0|A[i+11>>0])>=0||_b(0|n[i>>2]),y=r}function Qf(e){var r,i=0,f=0,A=0,t=0,a=0,o=0;if(i=0|n[4+(e|=0)>>2],(0|(f=0|n[(r=e+8|0)>>2]))!=(0|i)){A=f;do{f=A+-4|0,n[r>>2]=f,t=0|n[f>>2],n[f>>2]=0,0|t&&(a=0|n[(f=t+88|0)>>2],n[f>>2]=0,0|a&&(0|(f=0|n[a+8>>2])&&((0|n[(o=a+12|0)>>2])!=(0|f)&&(n[o>>2]=f),_b(f)),_b(a)),0|(a=0|n[t+68>>2])&&((0|(o=0|n[(f=t+72|0)>>2]))!=(0|a)&&(n[f>>2]=o+(~((o+-4-a|0)>>>2)<<2)),_b(a)),o=0|n[(a=t+64|0)>>2],n[a>>2]=0,0|o&&(0|(a=0|n[o>>2])&&((0|n[(f=o+4|0)>>2])!=(0|a)&&(n[f>>2]=a),_b(a)),_b(o)),_b(t)),A=0|n[r>>2]}while((0|A)!=(0|i))}(i=0|n[e>>2])&&_b(i)}function Xf(e){e|=0;var r,i,f=0,t=0,a=0,o=0,b=0,l=0;r=y,y=y+16|0,i=r,f=0|Uo(16),n[i>>2]=f,n[i+8>>2]=-2147483632,n[i+4>>2]=14,a=12975,o=(t=f)+14|0;do{A[t>>0]=0|A[a>>0],t=t+1|0,a=a+1|0}while((0|t)<(0|o));A[f+14>>0]=0,f=0|ya(e,i,-1),(0|A[i+11>>0])<0&&_b(0|n[i>>2]),b=0|Uo(16),n[i>>2]=b,n[i+8>>2]=-2147483632,n[i+4>>2]=14,a=12990,o=(t=b)+14|0;do{A[t>>0]=0|A[a>>0],t=t+1|0,a=a+1|0}while((0|t)<(0|o));return A[b+14>>0]=0,b=0|ya(e,i,-1),(0|A[i+11>>0])>=0?(y=r,0|(-1==(0|(l=(0|f)<(0|b)?b:f))?5:l)):(_b(0|n[i>>2]),y=r,0|(-1==(0|(l=(0|f)<(0|b)?b:f))?5:l))}function Jf(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var t,a,o,b=0,l=0,c=0,u=0,s=0;b=0|Uo(32),n[e>>2]=b,n[e+4>>2]=r+8,A[(r=e+8|0)>>0]=0,n[(l=b+8|0)>>2]=n[f>>2],n[l+4>>2]=n[f+4>>2],n[l+8>>2]=n[f+8>>2],n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,t=f+12|0,n[(l=b+20|0)>>2]=0,n[b+24>>2]=0,n[b+28>>2]=0,(o=(f=0|n[(b=f+16|0)>>2])-(a=0|n[t>>2])|0)?(AA(l,o),c=0|n[t>>2],u=0|n[b>>2],s=0|n[l>>2]):(c=a,u=f,s=0),qi(0|s,0|c,u-c|0),A[r>>0]=1,r=0|n[e>>2],n[r+4>>2]=i,n[r>>2]=0}function zf(e){var r,i=0,f=0,A=0,t=0,a=0,o=0,b=0;if(Ee(e|=0,r=e+32|0),0|(f=0|n[(i=e+80|0)>>2])&&(0|n[(A=e+84|0)>>2])>0&&(Ee(f,r),(0|n[A>>2])>1)){f=1;do{Ee((0|n[i>>2])+(f<<5)|0,r),f=f+1|0}while((0|f)<(0|n[A>>2]))}if(f=e+140|0,e=0|n[(A=e+136|0)>>2],(0|n[f>>2])!=(0|e))for(i=0,t=e;Mf((0|n[(e=t)+(12*i|0)+4>>2])-(0|n[e+(12*i|0)>>2])>>2,r),e=0|n[A>>2],a=0|n[e+(12*i|0)>>2],(o=(0|n[e+(12*i|0)+4>>2])-a>>2)?(fe(a,o,1,0,r),b=0|n[A>>2]):b=e,!((i=i+1|0)>>>0>=(((0|n[f>>2])-b|0)/12|0)>>>0);)t=b}function Of(e,r,i){e|=0,r|=0;var f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;(t=0|n[(f=16+(i|=0)|0)>>2])?(a=t,o=5):0|Oa(i)?b=0:(a=0|n[f>>2],o=5);e:do{if(5==(0|o)){if(l=f=0|n[(t=i+20|0)>>2],(a-f|0)>>>0<r>>>0){b=0|Zb[31&n[i+36>>2]](i,e,r);break}r:do{if((0|A[i+75>>0])>-1){for(f=r;;){if(!f){c=0,u=e,s=r,k=l;break r}if(10==(0|A[e+(d=f+-1|0)>>0]))break;f=d}if((d=0|Zb[31&n[i+36>>2]](i,e,f))>>>0<f>>>0){b=d;break e}c=f,u=e+f|0,s=r-f|0,k=0|n[t>>2]}else c=0,u=e,s=r,k=l}while(0);qi(0|k,0|u,0|s),n[t>>2]=(0|n[t>>2])+s,b=c+s|0}}while(0);return 0|b}function Sf(e){var r,i=0,f=0,t=0,a=0,o=0;if(r=0|n[(i=12+(e|=0)|0)>>2],n[i>>2]=0,0|r){if(0|(i=0|n[r+28>>2])){f=i;do{i=f,f=0|n[f>>2],Sf(i+8|0),_b(i)}while(0!=(0|f))}if(i=0|n[(f=r+20|0)>>2],n[f>>2]=0,0|i&&_b(i),0|(i=0|n[r+8>>2])){f=i;do{i=f,f=0|n[f>>2],t=i+8|0,0|(a=0|n[i+20>>2])&&((0|n[(o=i+24|0)>>2])!=(0|a)&&(n[o>>2]=a),_b(a)),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),_b(i)}while(0!=(0|f))}f=0|n[r>>2],n[r>>2]=0,0|f&&_b(f),_b(r)}(0|A[e+11>>0])>=0||_b(0|n[e>>2])}function Hf(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var t,a,o,b=0,l=0,c=0,u=0,s=0;if(t=y,y=y+32|0,o=t,n[(a=t+12|0)>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,(0|f)>0){b=o+11|0,l=o+4|0,c=0;do{(0|c)>0&&jo(a,12890),Ma(o,g(d[i+(c<<2)>>2])),UA(a,(s=(u=0|A[b>>0])<<24>>24<0)?0|n[o>>2]:o,s?0|n[l>>2]:255&u),(0|A[b>>0])<0&&_b(0|n[o>>2]),c=c+1|0}while((0|c)<(0|f))}ao(0|$f(e,r),a),(0|A[a+11>>0])>=0||_b(0|n[a>>2]),y=t}function Df(e,r,i,f,t){e|=0,r|=0,f|=0,t|=0;var a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(-1==(0|n[56+(i|=0)>>2]))return o=0,void(n[e>>2]=o);Ja(a=0|Uo(96),i),i=a;do{if(f)A[a+84>>0]=1,k=0|n[a+68>>2],(0|(c=0|n[(d=a+72|0)>>2]))!=(0|k)&&(n[d>>2]=c+(~((c+-4-k|0)>>>2)<<2)),n[a+80>>2]=n[r+80>>2];else{if(b=0|n[r+80>>2],A[a+84>>0]=0,l=a+68|0,d=u=0|n[(c=a+72|0)>>2],b>>>0>(k=u-(s=0|n[l>>2])>>2)>>>0){cf(l,b-k|0,5908);break}b>>>0<k>>>0&&(0|(k=s+(b<<2)|0))!=(0|d)&&(n[c>>2]=d+(~((d+-4-k|0)>>>2)<<2))}}while(0);if(!t)return o=i,void(n[e>>2]=o);JA(a,t),o=i,n[e>>2]=o}function xf(e,r){r|=0;var i,f,A,t,a,o,b=0,l=0,c=0,u=0,s=0;i=4+(e|=0)|0,f=0|n[e>>2],(l=1+(b=(A=(0|n[i>>2])-f|0)>>3)|0)>>>0>536870911&&On(),c=(a=(0|n[(t=e+8|0)>>2])-f|0)>>2,o=a>>3>>>0<268435455?c>>>0<l>>>0?l:c:536870911;do{if(o){if(!(o>>>0>536870911)){u=c=0|Uo(o<<3),s=c;break}_n(c=0|j(8),14941),n[c>>2]=6944,Q(0|c,1080,114)}else u=0,s=0}while(0);c=u+(b<<3)|0,r=0|n[(b=r)+4>>2],n[(l=c)>>2]=n[b>>2],n[l+4>>2]=r,(0|A)>0&&qi(0|s,0|f,0|A),n[e>>2]=u,n[i>>2]=c+8,n[t>>2]=u+(o<<3),f&&_b(f)}function Pf(e){var r=0,i=0,f=0,A=0,t=0,a=0;if(n[(e|=0)>>2]=1276,jf(e+60|0),0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(f=0|n[(r=e+36|0)>>2])){if((0|(A=0|n[(i=e+40|0)>>2]))==(0|f))t=f;else{a=A;do{A=a+-24|0,n[i>>2]=A,Eb[127&n[n[A>>2]>>2]](A),a=0|n[i>>2]}while((0|a)!=(0|f));t=0|n[r>>2]}_b(t)}n[e>>2]=1216,0|(t=0|n[e+16>>2])&&((0|(f=0|n[(r=e+20|0)>>2]))!=(0|t)&&(n[r>>2]=f+(~((f+-4-t|0)>>>2)<<2)),_b(t)),(t=0|n[e+4>>2])&&((0|(e=0|n[(f=e+8|0)>>2]))!=(0|t)&&(n[f>>2]=e+(~((e+-4-t|0)>>>2)<<2)),_b(t))}function Lf(e,r){r|=0;var i,f,A,t,a,o,b=0,l=0,c=0;i=y,y=y+32|0,b=i+16|0,f=i+8|0,l=i,n[(A=8+(e|=0)|0)>>2]<<5>>>0>=r>>>0||(n[b>>2]=0,n[(t=b+4|0)>>2]=0,n[(a=b+8|0)>>2]=0,(0|r)<0&&On(),r=0|Uo((c=1+((r+-1|0)>>>5)|0)<<2),n[b>>2]=r,n[t>>2]=0,n[a>>2]=c,c=0|n[e>>2],n[f>>2]=c,n[f+4>>2]=0,o=0|n[(r=e+4|0)>>2],n[l>>2]=c+(o>>>5<<2),n[l+4>>2]=31&o,function(e,r,i){r|=0,i|=0;var f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0;if(f=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n[t>>2]=b,b=0|n[A>>2],n[A>>2]=n[a>>2],n[a>>2]=b,0|l&&_b(l)),y=i}function Kf(e){var r,i=0,f=0,t=0;n[(e|=0)>>2]=3340,r=e+72|0,i=e+136|0,t=64+(f=e+4|0)|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|t));t=(f=r)+64|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|t));d[i>>2]=g(1),n[(i=e+140|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,n[e+164>>2]=-1,n[(i=e+168|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,n[i+24>>2]=0,Io(e+200|0),Jo(e+232|0),i=e+316|0,t=52+(f=e+264|0)|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|t));n[i>>2]=-1,n[e+320>>2]=-1,n[e+324>>2]=0,n[e+328>>2]=2,n[e+332>>2]=7,n[e+336>>2]=0,n[e+340>>2]=0,n[e+344>>2]=0,A[e+352>>0]=0}function qf(e,r,i,f){f|=0;var t=0,a=0,o=0,b=0,l=0,c=0,u=0;return(0|(i|=0))<0|0==(0|i)&(r|=0)>>>0<1|(0|(o=0|n[4+(a=t=16+(e|=0)|0)>>2]))>0|0==(0|o)&(0|n[a>>2])>>>0>0?0:(A[e+24>>0]=1&f,i=0|ma(0|(a=0|Ho(0|r,0|i,7,0)),0|E,8,0),a=E,n[(r=t)>>2]=i,n[r+4>>2]=a,l=0|Ho(0|(b=(t=0|n[(r=e+4|0)>>2])-(o=0|n[e>>2])|0),0,8,0),l=0|Ho(0|(c=f?l:b),0|(f?E:0),0|i,0|a),a=o,o=t,b>>>0>=l>>>0?b>>>0>l>>>0&&(0|(t=a+l|0))!=(0|o)?(n[r>>2]=t,u=a):u=a:(AA(e,l-b|0),u=0|n[e>>2]),b=0|Uo(8),n[b>>2]=u+c,n[b+4>>2]=0,e=0|n[(c=e+12|0)>>2],n[c>>2]=b,e?(_b(e),1):1)}function $f(e,r){var i,f,A,t=0,a=0;return i=y,y=y+16|0,A=0|Vi(e|=0,f=i,r|=0),0|(t=0|n[A>>2])?(y=i,0|t+28):(YA(16+(t=0|Uo(40))|0,r),n[(r=t+28|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,r=0|n[f>>2],n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=r,n[A>>2]=t,(r=0|n[n[e>>2]>>2])?(n[e>>2]=r,a=0|n[A>>2]):a=t,pr(0|n[e+4>>2],a),n[(a=e+8|0)>>2]=1+(0|n[a>>2]),y=i,0|t+28)}function eA(e,r,i,f,t,a,o,b){e|=0,f|=0,t|=0,a|=0,o|=0,b|=0;var l,c,u,s=0,k=0,d=0;l=y,y=y+16|0,c=l,(-18-(r|=0)|0)>>>0<(i|=0)>>>0&&On(),u=(0|A[e+11>>0])<0?0|n[e>>2]:e,d=r>>>0<2147483623?(k=(s=i+r|0)>>>0<(i=r<<1)>>>0?i:s)>>>0<11?11:k+16&-16:-17,k=0|Uo(d),0|t&&sn(k,u,t),0|o&&sn(k+t|0,b,o),0|(f=(b=f-a|0)-t|0)&&sn(k+t+o|0,u+t+a|0,f),10!=(0|r)&&_b(u),n[e>>2]=k,n[e+8>>2]=-2147483648|d,d=b+o|0,n[e+4>>2]=d,A[c>>0]=0,Un(k+d|0,c),y=l}function rA(e,r){r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0,s=0;if((l=0|n[(i=8+(e|=0)|0)>>2])-(c=0|n[(f=e+4|0)>>2])>>2>>>0>=r>>>0)return IA(0|c,0,r<<2|0),void(n[f>>2]=c+(r<<2));(a=(c=(t=c-(A=0|n[e>>2])|0)>>2)+r|0)>>>0>1073741823&&On(),l=(o=l-A|0)>>1,b=o>>2>>>0<536870911?l>>>0<a>>>0?a:l:1073741823;do{if(b){if(!(b>>>0>1073741823)){u=l=0|Uo(b<<2),s=l;break}_n(l=0|j(8),14941),n[l>>2]=6944,Q(0|l,1080,114)}else u=0,s=0}while(0);IA(0|(l=u+(c<<2)|0),0,r<<2|0),(0|t)>0&&qi(0|s,0|A,0|t),n[e>>2]=u,n[f>>2]=l+(r<<2),n[i>>2]=u+(b<<2),A&&_b(A)}function iA(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var t,a,o,b,l=0,c=0,u=0,s=0;l=0|Uo(32),n[e>>2]=l,n[e+4>>2]=r+8,A[(r=e+8|0)>>0]=0,YA(l+8|0,f),a=f+12|0,n[(t=l+20|0)>>2]=0,n[l+24>>2]=0,n[l+28>>2]=0,(b=(f=0|n[(l=f+16|0)>>2])-(o=0|n[a>>2])|0)?(AA(t,b),c=0|n[a>>2],u=0|n[l>>2],s=0|n[t>>2]):(c=o,u=f,s=0),qi(0|s,0|c,u-c|0),A[r>>0]=1,r=0|n[e>>2],n[r+4>>2]=i,n[r>>2]=0}function fA(e,r,i){e|=0,r|=0,i=g(i);var f,t,a,o,b,l=0,c=0,u=0,s=0,k=0;for(f=y,y=y+16|0,t=f,b=+i,c=l=(o=0|A[(a=r+11|0)>>0])<<24>>24<0?0|n[r+4>>2]:255&o,l=o;;){if(u=l<<24>>24<0?0|n[r>>2]:r,h[t>>3]=b,(0|(s=0|Co(u,c+1|0,17468,t)))>-1){if(!(s>>>0>c>>>0))break;k=s}else k=c<<1|1;Ot(r,k,0),c=k,l=0|A[a>>0]}for(Ot(r,s,0),n[e>>2]=n[r>>2],n[e+4>>2]=n[r+4>>2],n[e+8>>2]=n[r+8>>2],e=0;3!=(0|e);)n[r+(e<<2)>>2]=0,e=e+1|0;y=f}function AA(e,r){r|=0;var i,f,t,a=0,o=0,b=0,l=0,c=0;if(((a=0|n[(i=8+(e|=0)|0)>>2])-(o=0|n[(f=e+4|0)>>2])|0)>>>0>=r>>>0){b=r,l=o;do{A[l>>0]=0,l=1+(0|n[f>>2])|0,n[f>>2]=l,b=b+-1|0}while(0!=(0|b))}else{(0|(o=(l=o-(b=0|n[e>>2])|0)+r|0))<0&&On(),b=(t=a-b|0)<<1,b=(c=(a=t>>>0<1073741823?b>>>0<o>>>0?o:b:2147483647)?0|Uo(a):0)+l|0,l=c+a|0,a=r,r=b,c=b;do{A[c>>0]=0,r=c=r+1|0,a=a+-1|0}while(0!=(0|a));a=0|n[e>>2],o=b+(0-(c=(0|n[f>>2])-a|0))|0,(0|c)>0&&qi(0|o,0|a,0|c),n[e>>2]=o,n[f>>2]=r,n[i>>2]=l,a&&_b(a)}}function tA(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0;if(a=f=0|n[(i=4+(e|=0)|0)>>2],(t=(f-(A=0|n[e>>2])|0)/136|0)>>>0<r>>>0)ur(e,r-t|0);else if(!(t>>>0<=r>>>0)&&(0|(t=A+(136*r|0)|0))!=(0|a)){o=a;do{n[i>>2]=o+-136,0|(a=0|n[o+-20>>2])&&((0|(A=0|n[(r=o+-16|0)>>2]))!=(0|a)&&(n[r>>2]=A+(~((A+-4-a|0)>>>2)<<2)),_b(a)),0|(a=0|n[o+-32>>2])&&((0|(r=0|n[(A=o+-28|0)>>2]))!=(0|a)&&(n[A>>2]=r+(~((r+-4-a|0)>>>2)<<2)),_b(a)),lA(o+-132|0),o=0|n[i>>2]}while((0|o)!=(0|t))}}function aA(e,r){e|=0;var i,f,A=0,t=0;(f=1!=(0|(r|=0))?r+-1&r?0|HA(r):r:2)>>>0>(r=0|n[e+4>>2])>>>0?Le(e,f):f>>>0>=r>>>0||(i=g((0|n[e+12>>2])>>>0),A=~~g(N(g(i/g(d[e+16>>2]))))>>>0,(A=f>>>0<(t=r>>>0>2&0==(r+-1&r|0)?1<<32-(0|U(A+-1|0)):0|HA(A))>>>0?t:f)>>>0>=r>>>0||Le(e,A))}function oA(e){var r=0,i=0,f=0;0|(r=0|n[76+(e|=0)>>2])&&((0|(f=0|n[(i=e+80|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+64>>2])&&((0|n[(f=e+68|0)>>2])!=(0|r)&&(n[f>>2]=r),_b(r)),0|(r=0|n[e+48>>2])&&((0|(i=0|n[(f=e+52|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+24>>2])&&((0|(f=0|n[(i=e+28|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+12>>2])&&((0|(i=0|n[(f=e+16|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),(r=0|n[e>>2])&&((0|(e=0|n[(i=e+4|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))}function nA(e,r,i){e|=0,i|=0;var f,t,a,o,b=0,l=0,c=0,u=0,s=0;for(f=y,y=y+16|0,t=f,l=b=(o=0|A[(a=11+(r|=0)|0)>>0])<<24>>24<0?0|n[r+4>>2]:255&o,b=o;;){if(c=b<<24>>24<0?0|n[r>>2]:r,n[t>>2]=i,(0|(u=0|Co(c,l+1|0,17465,t)))>-1){if(!(u>>>0>l>>>0))break;s=u}else s=l<<1|1;Ot(r,s,0),l=s,b=0|A[a>>0]}for(Ot(r,u,0),n[e>>2]=n[r>>2],n[e+4>>2]=n[r+4>>2],n[e+8>>2]=n[r+8>>2],e=0;3!=(0|e);)n[r+(e<<2)>>2]=0,e=e+1|0;y=f}function bA(e,r){e|=0,r|=0;var i,f,t=0,a=0,o=0,b=0;i=y,y=y+16|0,f=i,t=0|Uo(32),n[f>>2]=t,n[f+8>>2]=-2147483616,n[f+4>>2]=30,o=14791,b=(a=t)+30|0;do{A[a>>0]=0|A[o>>0],a=a+1|0,o=o+1|0}while((0|a)<(0|b));A[t+30>>0]=0,ea(t=e+4|0,f,r),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),e=0|Uo(32),n[f>>2]=e,n[f+8>>2]=-2147483616,n[f+4>>2]=29,o=14510,b=(a=e)+29|0;do{A[a>>0]=0|A[o>>0],a=a+1|0,o=o+1|0}while((0|a)<(0|b));A[e+29>>0]=0,ea(t,f,r),(0|A[f+11>>0])>=0||_b(0|n[f>>2]),y=i}function lA(e){var r=0,i=0,f=0;0|(r=0|n[84+(e|=0)>>2])&&((0|(f=0|n[(i=e+88|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+72>>2])&&((0|n[(f=e+76|0)>>2])!=(0|r)&&(n[f>>2]=r),_b(r)),0|(r=0|n[e+52>>2])&&((0|(i=0|n[(f=e+56|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+40>>2])&&((0|(f=0|n[(i=e+44|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+28>>2])&&((0|(i=0|n[(f=e+32|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+12>>2])&&_b(r),(r=0|n[e>>2])&&_b(r)}function cA(e){var r=0,i=0,f=0,A=0;n[(e|=0)>>2]=1336,i=0|n[(r=e+32|0)>>2],n[r>>2]=0,0|i&&(f=0|n[(r=i+88|0)>>2],n[r>>2]=0,0|f&&(0|(r=0|n[f+8>>2])&&((0|n[(A=f+12|0)>>2])!=(0|r)&&(n[A>>2]=r),_b(r)),_b(f)),0|(f=0|n[i+68>>2])&&((0|(A=0|n[(r=i+72|0)>>2]))!=(0|f)&&(n[r>>2]=A+(~((A+-4-f|0)>>>2)<<2)),_b(f)),A=0|n[(f=i+64|0)>>2],n[f>>2]=0,0|A&&(0|(f=0|n[A>>2])&&((0|n[(r=A+4|0)>>2])!=(0|f)&&(n[r>>2]=f),_b(f)),_b(A)),_b(i)),(i=0|n[e+16>>2])&&((0|(e=0|n[(A=e+20|0)>>2]))!=(0|i)&&(n[A>>2]=e+(~((e+-4-i|0)>>>2)<<2)),_b(i))}function uA(e,r,i){e|=0,r|=0;var f=0;do{if(e){if(r>>>0<128){A[e>>0]=r,f=1;break}if(!(0|n[n[6228>>2]>>2])){if(57216==(-128&r|0)){A[e>>0]=r,f=1;break}n[18544>>2]=84,f=-1;break}if(r>>>0<2048){A[e>>0]=r>>>6|192,A[e+1>>0]=63&r|128,f=2;break}if(r>>>0<55296|57344==(-8192&r|0)){A[e>>0]=r>>>12|224,A[e+1>>0]=r>>>6&63|128,A[e+2>>0]=63&r|128,f=3;break}if((r+-65536|0)>>>0<1048576){A[e>>0]=r>>>18|240,A[e+1>>0]=r>>>12&63|128,A[e+2>>0]=r>>>6&63|128,A[e+3>>0]=63&r|128,f=4;break}n[18544>>2]=84,f=-1;break}f=1}while(0);return 0|f}function sA(e,r){r|=0;var i,f,A,t,a,o,b,l,c=0,u=0,s=0;i=4+(e|=0)|0,f=0|n[e>>2],(a=1+(t=(A=(0|n[i>>2])-f|0)>>2)|0)>>>0>1073741823&&On(),c=(b=(0|n[(o=e+8|0)>>2])-f|0)>>1,l=b>>2>>>0<536870911?c>>>0<a>>>0?a:c:1073741823;do{if(l){if(!(l>>>0>1073741823)){u=c=0|Uo(l<<2),s=c;break}_n(c=0|j(8),14941),n[c>>2]=6944,Q(0|c,1080,114)}else u=0,s=0}while(0);n[(c=u+(t<<2)|0)>>2]=n[r>>2],(0|A)>0&&qi(0|s,0|f,0|A),n[e>>2]=u,n[i>>2]=c+4,n[o>>2]=u+(l<<2),f&&_b(f)}function kA(e){var r=0,i=0,f=0,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0;return 0!=(0|(i=0|n[(r=104+(e|=0)|0)>>2]))&&(0|n[e+108>>2])>=(0|i)?f=4:(i=0|function(e){var r,i,f;return r=y,y=y+16|0,i=r,f=0==(0|wa(e|=0))&&1==(0|Zb[31&n[e+32>>2]](e,i,1))?0|l[i>>0]:-1,y=r,0|f}(e),(0|i)>=0?(t=0|n[r>>2],r=e+8|0,t?(a=0|n[r>>2],o=0|n[e+4>>2],b=t-(0|n[e+108>>2])|0,t=a,(a-o|0)<(0|b)?(c=t,u=t):(c=o+(b+-1)|0,u=t)):(c=t=0|n[r>>2],u=t),n[e+100>>2]=c,c=e+4|0,u?(t=0|n[c>>2],n[(c=e+108|0)>>2]=u+1-t+(0|n[c>>2]),s=t):s=0|n[c>>2],(0|i)==(0|l[(t=s+-1|0)>>0])||(A[t>>0]=i),k=i):f=4),4==(0|f)&&(n[e+100>>2]=0,k=-1),0|k}function dA(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o=0,b=0,l=0;f=y,y=y+16|0,t=f,a=0|Uo(16),n[t>>2]=a,n[t+8>>2]=-2147483632,n[t+4>>2]=14,b=12975,l=(o=a)+14|0;do{A[o>>0]=0|A[b>>0],o=o+1|0,b=b+1|0}while((0|o)<(0|l));A[a+14>>0]=0,ra(e,t,r),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),r=0|Uo(16),n[t>>2]=r,n[t+8>>2]=-2147483632,n[t+4>>2]=14,b=12990,l=(o=r)+14|0;do{A[o>>0]=0|A[b>>0],o=o+1|0,b=b+1|0}while((0|o)<(0|l));A[r+14>>0]=0,ra(e,t,i),(0|A[t+11>>0])>=0||_b(0|n[t>>2]),y=f}function _A(e){var r=0,i=0,f=0;n[(e|=0)>>2]=3320,0|(r=0|n[e+88>>2])&&((0|(f=0|n[(i=e+92|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+72>>2])&&((0|(i=0|n[(f=e+76|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+60>>2])&&((0|(f=0|n[(i=e+64|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+48>>2])&&((0|(i=0|n[(f=e+52|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=3276,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])&&_b(r)}function hA(e){var r=0,i=0,f=0;n[(e|=0)>>2]=2200,0|(r=0|n[e+152>>2])&&((0|(f=0|n[(i=e+156|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+112>>2])&&((0|(i=0|n[(f=e+116|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+96>>2])&&_b(r),0|(r=0|n[e+84>>2])&&_b(r),0|(r=0|n[e+72>>2])&&_b(r),0|(r=0|n[e+60>>2])&&_b(r),n[e>>2]=1528,(r=0|n[e+32>>2])&&((0|(e=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))}function pA(e,r){e|=0;var i,f,A=0;if((0|Xf(0|n[(i=48+(r|=0)|0)>>2]))>9)return 0;if(1!=(0|yb[127&n[8+(0|n[r>>2])>>2]](r)))return 0;r=56+(0|n[(0|n[8+(0|n[(f=r+4|0)>>2])>>2])+(e<<2)>>2])|0,e=0|n[r>>2];do{if(3==(0|e)){if((0|Xf(0|n[i>>2]))<4)return 5;A=0|n[r>>2];break}A=e}while(0);return e=0|Xf(0|n[i>>2]),1==(0|A)?0|((0|e)<4?6:0):(0|e)>7?0:(0|Xf(0|n[i>>2]))>1?1:0|((0|n[80+(0|n[f>>2])>>2])>>>0<40?1:4)}function wA(e){var r=0,i=0,f=0;n[(e|=0)>>2]=1892,0|(r=0|n[e+152>>2])&&((0|(f=0|n[(i=e+156|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+112>>2])&&((0|(i=0|n[(f=e+116|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+96>>2])&&_b(r),0|(r=0|n[e+84>>2])&&_b(r),0|(r=0|n[e+72>>2])&&_b(r),0|(r=0|n[e+60>>2])&&_b(r),n[e>>2]=1528,(r=0|n[e+32>>2])&&((0|(e=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))}function vA(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0;t=y,y=y+128|0,b=t+124|0,c=6284,o=(l=a=t)+124|0;do{n[l>>2]=n[c>>2],l=l+4|0,c=c+4|0}while((0|l)<(0|o));return(r+-1|0)>>>0>2147483646?r?(n[(b=18544)>>2]=75,d=-1):(u=b,s=1,k=4):(u=e,s=r,k=4),4==(0|k)&&(r=s>>>0>(k=-2-u|0)>>>0?k:s,n[a+48>>2]=r,n[(s=a+20|0)>>2]=u,n[a+44>>2]=u,k=u+r|0,n[(u=a+16|0)>>2]=k,n[a+28>>2]=k,k=0|bf(a,i,f),r?(r=0|n[s>>2],A[r+(((0|r)==(0|n[u>>2]))<<31>>31)>>0]=0,d=k):d=k),y=t,0|d}function yA(e){var r,i=0,f=0,t=0;n[(e|=0)>>2]=3080,r=e+72|0,i=e+136|0,t=64+(f=e+4|0)|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|t));t=(f=r)+64|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|t));d[i>>2]=g(1),n[(i=e+140|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,n[e+164>>2]=-1,n[(i=e+168|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,n[i+24>>2]=0,Io(e+200|0),Jo(e+232|0),n[(i=e+264|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0,A[i+24>>0]=0}function mA(e,r,i,f){e|=0,i|=0,f=+f;var t,a,o=0,b=0,l=0,c=0,u=0;return e=y,y=y+16|0,(r|=0)?(n[(t=e)>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,(a=0|zt(i))>>>0>4294967279&&On(),a>>>0<11?(A[t+11>>0]=a,a?(b=t,l=7):o=t):(u=0|Uo(c=a+16&-16),n[t>>2]=u,n[t+8>>2]=-2147483648|c,n[t+4>>2]=a,b=u,l=7),7==(0|l)&&(qi(0|b,0|i,0|a),o=b),A[o+a>>0]=0,function(e,r,i){e|=0,r|=0,i=+i;var f,A;f=y,y=y+16|0,h[(A=f)>>3]=i,Wt(e,r,A),y=f}(r,t,f),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),y=e,1):(y=e,0)}function ZA(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o=0,b=0,l=0,c=0,u=0;return e=y,y=y+16|0,(r|=0)?(n[(t=e)>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,(a=0|zt(i))>>>0>4294967279&&On(),a>>>0<11?(A[t+11>>0]=a,a?(b=t,l=7):o=t):(u=0|Uo(c=a+16&-16),n[t>>2]=u,n[t+8>>2]=-2147483648|c,n[t+4>>2]=a,b=u,l=7),7==(0|l)&&(qi(0|b,0|i,0|a),o=b),A[o+a>>0]=0,function(e,r,i){e|=0,r|=0,i|=0;var f,A;f=y,y=y+16|0,n[(A=f)>>2]=i,Ft(e,r,A),y=f}(r,t,f),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),y=e,1):(y=e,0)}function RA(e){var r=0,i=0,f=0,t=0,a=0;if(0|(r=0|n[28+(e|=0)>>2])){i=r;do{r=i,i=0|n[i>>2],f=r+8|0,a=0|n[(t=r+20|0)>>2],n[t>>2]=0,0|a&&(RA(a),_b(a)),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),_b(r)}while(0!=(0|i))}if(r=0|n[(i=e+20|0)>>2],n[i>>2]=0,0|r&&_b(r),0|(r=0|n[e+8>>2])){i=r;do{r=i,i=0|n[i>>2],f=r+8|0,0|(a=0|n[r+20>>2])&&((0|n[(t=r+24|0)>>2])!=(0|a)&&(n[t>>2]=a),_b(a)),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),_b(r)}while(0!=(0|i))}i=0|n[e>>2],n[e>>2]=0,i&&_b(i)}function BA(e,r,i){e|=0,i|=0;var f,t,a=0,o=0,b=0,l=0,c=0;if(f=y,y=y+16|0,a=f,!(t=0|n[48+(r|=0)>>2])){o=0|Uo(32),n[a>>2]=o,n[a+8>>2]=-2147483616,n[a+4>>2]=23,l=14670,c=(b=o)+23|0;do{A[b>>0]=0|A[l>>0],b=b+1|0,l=l+1|0}while((0|b)<(0|c));return A[o+23>>0]=0,n[e>>2]=-1,YA(e+4|0,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=f)}return(a=0|n[r+52>>2])?(function(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0;t=y,y=y+16|0,o=4+(r|=0)|0,n[(a=t)>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,l=0|Uo(16),n[a>>2]=l,n[a+8>>2]=-2147483632,n[a+4>>2]=15,u=12916,b=(c=l)+15|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|b));switch(A[l+15>>0]=0,l=0|ya(o,a,-1),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),0|l){case-1:s=10==(0|Xf(o))?6:5;break;case 1:s=5;break;default:s=6}if(5==(0|s)?(function(e){nn(e|=0),n[e>>2]=3e3,n[e+64>>2]=0}(l=0|Uo(68)),k=l):6==(0|s)&&(function(e){nn(e|=0),n[e>>2]=3504}(s=0|Uo(64)),k=s),function(e,r){r|=0,n[56+(e|=0)>>2]=r,En(e,r)}(k,i),Oe(e,k,o,f),0|n[e>>2])return d=0|n[k>>2],_=0|n[(d+4|0)>>2],Eb[127&_](k),void(y=t);(0|A[11+(f=e+4|0)>>0])<0&&_b(0|n[f>>2]),n[r+40>>2]=n[k+52>>2],n[r+44>>2]=n[k+60>>2],n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,d=0|n[k>>2],_=0|n[(d+4|0)>>2],Eb[127&_](k),y=t}(e,r,a,i),void(y=f)):(function(e,r,i,f){e|=0,i|=0,f|=0;var t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0;t=y,y=y+16|0,o=4+(r|=0)|0,n[(a=t)>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,b=0|Uo(16),n[a>>2]=b,n[a+8>>2]=-2147483632,n[a+4>>2]=15,c=12916,u=(l=b)+15|0;do{A[l>>0]=0|A[c>>0],l=l+1|0,c=c+1|0}while((0|l)<(0|u));switch(A[b+15>>0]=0,b=0|ya(o,a,-1),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),0|b){case 0:u=56+(l=s=0|Uo(56))|0;do{n[l>>2]=0,l=l+4|0}while((0|l)<(0|u));Xo(s),k=3728,d=s;break;case-1:if(10==(0|Xf(o))){u=56+(l=s=0|Uo(56))|0;do{n[l>>2]=0,l=l+4|0}while((0|l)<(0|u));Xo(s),k=3728,d=s}else _=6;break;default:_=6}e:do{if(6==(0|_)){s=i+8|0,p=0|n[(h=i+12|0)>>2],w=0|n[s>>2];r:do{if((p-w|0)>0){v=a+8|0,m=a+4|0,Z=r+20|0,R=a+11|0,B=0,E=w,W=p;i:for(;;){switch(0|(V=0|n[28+(0|n[E+(B<<2)>>2])>>2])){case 9:_=12;break;case 6:case 5:case 4:case 2:N=E,G=W;break;default:if(3!=(2|V))break i;9==(0|V)?_=12:(N=E,G=W)}if(12==(0|_)){_=0,n[a>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,V=0|Uo(32),n[a>>2]=V,n[v>>2]=-2147483616,n[m>>2]=17,c=12932,u=(l=V)+17|0;do{A[l>>0]=0|A[c>>0],l=l+1|0,c=c+1|0}while((0|l)<(0|u));if(A[V+17>>0]=0,F=0|n[Z>>2]){U=Z,g=F;f:for(;;){for(F=g;!((0|n[F+16>>2])>=0);){if(!(Y=0|n[F+4>>2])){M=U;break f}F=Y}if(!(g=0|n[F>>2])){M=F;break}U=F}(0|M)!=(0|Z)&&(0|n[M+16>>2])<=0&&0!=(0|hf(U=M+20|0,a))?T=0|ya(U,a,-1):_=21}else _=21;if(21==(0|_)&&(_=0,T=0|ya(o,a,-1)),(0|A[R>>0])<0&&_b(0|n[a>>2]),(0|T)<1)break;N=0|n[s>>2],G=0|n[h>>2]}if((0|(B=B+1|0))>=(G-N>>2|0))break r;E=N,W=G}if(1!=(0|b)){u=56+(l=W=0|Uo(56))|0;do{n[l>>2]=0,l=l+4|0}while((0|l)<(0|u));Xo(W),k=3728,d=W;break e}n[a>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,E=0|Uo(32),n[a>>2]=E,n[a+8>>2]=-2147483616,n[a+4>>2]=24,c=12950,u=(l=E)+24|0;do{A[l>>0]=0|A[c>>0],l=l+1|0,c=c+1|0}while((0|l)<(0|u));return A[E+24>>0]=0,n[e>>2]=-1,YA(e+4|0,a),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),void(y=t)}}while(0);u=56+(l=h=0|Uo(56))|0;do{n[l>>2]=0,l=l+4|0}while((0|l)<(0|u));Xo(h),k=3668,d=h}}while(0);n[d>>2]=k,En(d,i),Oe(e,d,o,f),0|n[e>>2]||((0|A[11+(f=e+4|0)>>0])<0&&_b(0|n[f>>2]),n[r+40>>2]=n[d+52>>2],n[r+44>>2]=0,n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0),Eb[127&n[4+(0|n[d>>2])>>2]](d),y=t}(e,r,t,i),void(y=f))}function EA(e){var r,i=0,f=0,A=0,t=0,a=0;if(da(e|=0),!((0|(i=0|n[(r=e+84|0)>>2]))<=0)){A=0|kb(i>>>0>134217727|(f=i<<5)>>>0>4294967291?-1:f+4|0),n[A>>2]=i,A=(f=A+4|0)+(i<<5)|0,i=f;do{Io(i),i=i+32|0}while((0|i)!=(0|A));if(e=0|n[(A=e+80|0)>>2],n[A>>2]=f,0|e){if(0|(i=0|n[(f=e+-4|0)>>2])){t=e+(i<<5)|0;do{OA(t=t+-32|0)}while((0|t)!=(0|e))}db(f)}if((0|n[r>>2])>0){a=0;do{da((0|n[A>>2])+(a<<5)|0),a=a+1|0}while((0|a)<(0|n[r>>2]))}}}function WA(e,r,i){e|=0,i|=0;var f=0,A=0,t=0,a=0,o=0;if(!(r|=0))return 0;if(0|n[r+4>>2])return 0;if(yt(e=0|Uo(52),i),n[e+40>>2]=0,n[e+44>>2]=0,n[e+48>>2]=0,r=0|n[(i=r+4|0)>>2],n[i>>2]=e,!r)return 1;if(0|(i=0|n[(e=r+40|0)>>2])){if((0|(A=0|n[(f=r+44|0)>>2]))==(0|i))t=i;else{a=A;do{A=a+-4|0,n[f>>2]=A,o=0|n[A>>2],n[A>>2]=0,0|o&&(RA(o),_b(o)),a=0|n[f>>2]}while((0|a)!=(0|i));t=0|n[e>>2]}_b(t)}return RA(r),_b(r),1}function VA(e,r){r|=0;var i,f=0,A=0,t=0,a=0;i=0|n[(e|=0)>>2],r?(A=0|Ho(0|n[(f=r=i+8|0)>>2],0|n[f+4>>2],1,0),n[(f=r)>>2]=A,n[f+4>>2]=E,A=0|n[(f=e+28|0)>>2],n[(r=e+24|0)>>2]=n[r>>2]|1<<A,t=f,a=A):(f=0|Ho(0|n[(A=i)>>2],0|n[A+4>>2],1,0),n[(A=i)>>2]=f,n[A+4>>2]=E,t=A=e+28|0,a=0|n[A>>2]),A=a+1|0,n[t>>2]=A,32==(0|A)&&(A=e+24|0,(0|(f=0|n[(a=e+16|0)>>2]))==(0|n[e+20>>2])?sA(e+12|0,A):(n[f>>2]=n[A>>2],n[a>>2]=f+4),n[t>>2]=0,n[A>>2]=0)}function NA(e,r){var i=0,f=0;i=32+(e|=0)|0,e=0|n[(r|=0)>>2],n[r>>2]=0,r=0|n[i>>2],n[i>>2]=e,r&&(i=0|n[(e=r+88|0)>>2],n[e>>2]=0,0|i&&(0|(e=0|n[i+8>>2])&&((0|n[(f=i+12|0)>>2])!=(0|e)&&(n[f>>2]=e),_b(e)),_b(i)),0|(i=0|n[r+68>>2])&&((0|(f=0|n[(e=r+72|0)>>2]))!=(0|i)&&(n[e>>2]=f+(~((f+-4-i|0)>>>2)<<2)),_b(i)),f=0|n[(i=r+64|0)>>2],n[i>>2]=0,0|f&&(0|(i=0|n[f>>2])&&((0|n[(e=f+4|0)>>2])!=(0|i)&&(n[e>>2]=i),_b(i)),_b(f)),_b(r))}function GA(e,r,i){e|=0,i|=0;var f,t,a=0,o=0,b=0,l=0,c=0,u=0;return f=y,y=y+16|0,t=f,0|(r|=0)&&((o=0|A[(a=e+11|0)>>0])<<24>>24<0?(b=0|n[e+4>>2],l=(2147483647&n[e+8>>2])-1|0):(b=255&o,l=10),(l-b|0)>>>0<r>>>0?(function(e,r,i,f,t,a,o){e|=0,f|=0,t|=0;var b,l,c=0,u=0;(-17-(r|=0)|0)>>>0<(i|=0)>>>0&&On(),b=(0|A[e+11>>0])<0?0|n[e>>2]:e,l=r>>>0<2147483623?(u=(c=i+r|0)>>>0<(i=r<<1)>>>0?i:c)>>>0<11?11:u+16&-16:-17,u=0|Uo(l),0|t&&sn(u,b,t),0|(c=f-0-t|0)&&sn(u+t+0|0,b+t+0|0,c),10!=(0|r)&&_b(b),n[e>>2]=u,n[e+8>>2]=-2147483648|l}(e,l,r-l+b|0,b,b),c=0|A[a>>0]):c=o,function(e,r,i){0|(r|=0)&&IA(0|(e|=0),255&(0|function(e){return 255&(e|=0)|0}(i|=0))|0,0|r)}((u=c<<24>>24<0?0|n[e>>2]:e)+b|0,r,i),i=b+r|0,(0|A[a>>0])<0?n[e+4>>2]=i:A[a>>0]=i,A[t>>0]=0,Un(u+i|0,t)),y=f,0|e}function FA(e){var r,i,f=0,A=0,t=0,a=0,o=0;if(r=0|n[(e|=0)>>2]){if((0|(f=0|n[(i=e+4|0)>>2]))==(0|r))A=r;else{t=f;do{n[i>>2]=t+-136,0|(f=0|n[t+-20>>2])&&((0|(o=0|n[(a=t+-16|0)>>2]))!=(0|f)&&(n[a>>2]=o+(~((o+-4-f|0)>>>2)<<2)),_b(f)),0|(f=0|n[t+-32>>2])&&((0|(a=0|n[(o=t+-28|0)>>2]))!=(0|f)&&(n[o>>2]=a+(~((a+-4-f|0)>>>2)<<2)),_b(f)),lA(t+-132|0),t=0|n[i>>2]}while((0|t)!=(0|r));A=0|n[e>>2]}_b(A)}}function UA(e,r,i){r|=0,i|=0;var f,t,a,o,b=0,l=0,c=0,u=0;return f=y,y=y+16|0,t=f,(b=(o=0|A[(a=11+(e|=0)|0)>>0])<<24>>24<0)?(l=0|n[e+4>>2],c=(2147483647&n[e+8>>2])-1|0):(l=255&o,c=10),(c-l|0)>>>0>=i>>>0?0|i&&(sn((u=b?0|n[e>>2]:e)+l|0,r,i),b=l+i|0,(0|A[a>>0])<0?n[e+4>>2]=b:A[a>>0]=b,A[t>>0]=0,Un(u+b|0,t)):eA(e,c,i-c+l|0,l,l,0,i,r),y=f,0|e}function gA(e){var r=0,i=0,f=0,A=0,t=0,a=0;if(n[(e|=0)>>2]=3608,0|(r=0|n[e+32>>2])&&((0|(f=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+20>>2])&&((0|(i=0|n[(f=e+24|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),i=0|n[(r=e+8|0)>>2]){if((0|(e=0|n[(f=e+12|0)>>2]))==(0|i))A=i;else{t=e;do{e=t+-4|0,n[f>>2]=e,a=0|n[e>>2],n[e>>2]=0,0|a&&Eb[127&n[4+(0|n[a>>2])>>2]](a),t=0|n[f>>2]}while((0|t)!=(0|i));A=0|n[r>>2]}_b(A)}}function YA(e,r){r|=0;var i,f,t=0,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,(0|A[r+11>>0])<0?(t=0|n[r>>2],(a=0|n[r+4>>2])>>>0>4294967279&&On(),a>>>0<11?(A[e+11>>0]=a,o=e):(l=0|Uo(b=a+16&-16),n[e>>2]=l,n[e+8>>2]=-2147483648|b,n[e+4>>2]=a,o=l),sn(o,t,a),A[f>>0]=0,Un(o+a|0,f)):(n[e>>2]=n[r>>2],n[e+4>>2]=n[r+4>>2],n[e+8>>2]=n[r+8>>2]),y=i}function MA(e,r){var i,f,A,t,a,o;if(e|=0,r|=0,i=y,y=y+16|0,f=i+8|0,A=i+4|0,n[(t=i)>>2]=n[80+(0|n[r+4>>2])>>2],a=0|n[r+44>>2],(0|(o=0|n[4+(r=a+16|0)>>2]))>0|0==(0|o)&(0|n[r>>2])>>>0>0)return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);n[A>>2]=n[a+4>>2],n[f>>2]=n[A>>2],hr(a,f,t,t+4|0),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,y=i}function TA(e,r,i,f,t){e|=0,i|=0,f|=0,t|=0;var a=0,o=0;A[53+(r|=0)>>0]=1;do{if((0|n[r+4>>2])==(0|f)){if(A[r+52>>0]=1,!(a=0|n[(e=r+16|0)>>2])){if(n[e>>2]=i,n[r+24>>2]=t,n[r+36>>2]=1,1!=(0|t)||1!=(0|n[r+48>>2]))break;A[r+54>>0]=1;break}if((0|a)!=(0|i)){n[(a=r+36|0)>>2]=1+(0|n[a>>2]),A[r+54>>0]=1;break}2==(0|(e=0|n[(a=r+24|0)>>2]))?(n[a>>2]=t,o=t):o=e,1==(0|o)&&1==(0|n[r+48>>2])&&(A[r+54>>0]=1)}}while(0)}function IA(e,r,i){r|=0;var f,t=0,a=0,o=0;if(f=(e|=0)+(i|=0)|0,r&=255,(0|i)>=67){for(;3&e;)A[e>>0]=r,e=e+1|0;for(a=(t=-4&f|0)-64|0,o=r|r<<8|r<<16|r<<24;(0|e)<=(0|a);)n[e>>2]=o,n[e+4>>2]=o,n[e+8>>2]=o,n[e+12>>2]=o,n[e+16>>2]=o,n[e+20>>2]=o,n[e+24>>2]=o,n[e+28>>2]=o,n[e+32>>2]=o,n[e+36>>2]=o,n[e+40>>2]=o,n[e+44>>2]=o,n[e+48>>2]=o,n[e+52>>2]=o,n[e+56>>2]=o,n[e+60>>2]=o,e=e+64|0;for(;(0|e)<(0|t);)n[e>>2]=o,e=e+4|0}for(;(0|e)<(0|f);)A[e>>0]=r,e=e+1|0;return f-i|0}function jA(e){var r=0,i=0,f=0,A=0;if(i=0|n[(r=80+(e|=0)|0)>>2],n[r>>2]=0,0|i){if(0|(f=0|n[(r=i+-4|0)>>2])){A=i+(f<<5)|0;do{OA(A=A+-32|0)}while((0|A)!=(0|i))}db(r)}0|(r=0|n[e+68>>2])&&((0|(A=0|n[(i=e+72|0)>>2]))!=(0|r)&&(n[i>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r)),A=0|n[(r=e+44|0)>>2],n[r>>2]=0,0|A&&_b(A),(A=0|n[e+32>>2])?((0|n[(r=e+36|0)>>2])!=(0|A)&&(n[r>>2]=A),_b(A),OA(e)):OA(e)}function CA(e){var r=0,i=0,f=0;n[(e|=0)>>2]=2684,0|(r=0|n[e+136>>2])&&((0|(f=0|n[(i=e+140|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+96>>2])&&((0|(i=0|n[(f=e+100|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+76>>2])&&_b(r),0|(r=0|n[e+64>>2])&&_b(r),0|(r=0|n[e+52>>2])&&_b(r),(r=0|n[e+40>>2])&&_b(r)}function QA(e){var r=0,i=0,f=0;n[(e|=0)>>2]=2432,0|(r=0|n[e+136>>2])&&((0|(f=0|n[(i=e+140|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+96>>2])&&((0|(i=0|n[(f=e+100|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r)),0|(r=0|n[e+76>>2])&&_b(r),0|(r=0|n[e+64>>2])&&_b(r),0|(r=0|n[e+52>>2])&&_b(r),(r=0|n[e+40>>2])&&_b(r)}function XA(e,r){return e|=0,(r|=0)?(XA(e,0|n[r>>2]),XA(e,0|n[r+4>>2]),zA(r+20|0,0|n[r+24>>2]),void _b(r)):void 0}function JA(e,r){r|=0;var i,f=0,t=0,a=0;return 0==(0|n[(i=64+(e|=0)|0)>>2])&&(function(e){var r;n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[(r=e+16|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0}(f=0|Uo(32)),t=0|n[i>>2],n[i>>2]=f,0|t)&&(0|(f=0|n[t>>2])&&((0|n[(a=t+4|0)>>2])!=(0|f)&&(n[a>>2]=f),_b(f)),_b(t)),t=0|to(0|n[e+28>>2]),t=((0|(f=0|G(t,0|A[e+24>>0])))<0)<<31>>31,0|function(e,r,i,f){e|=0,r|=0,i|=0;var A,t=0,a=0,o=0,b=0,l=0,c=0;A=(0|(f|=0))<0;do{if(r){if(A)return 0;o=(t=0|n[(b=e+4|0)>>2])-(a=0|n[e>>2])|0;do{if(0<(0|f)|0==(0|f)&o>>>0<i>>>0){if(o>>>0<i>>>0){AA(e,i-o|0);break}o>>>0>i>>>0&&(0|(l=a+i|0))!=(0|t)?(n[b>>2]=l,c=15):c=15}else c=15}while(0);if(15==(0|c)&&0==(0|i))break;no(0|n[e>>2],0|r,0|i)}else{if(A)return 0;if((b=(a=0|n[(t=e+4|0)>>2])-(o=0|n[e>>2])|0)>>>0<i>>>0){AA(e,i-b|0);break}b>>>0>i>>>0&&(0|(b=o+i|0))!=(0|a)&&(n[t>>2]=b)}}while(0);return r=0|Ho(0|n[(e=i=e+24|0)>>2],0|n[e+4>>2],1,0),n[(e=i)>>2]=r,n[e+4>>2]=E,1}(a=0|n[i>>2],0,0|To(0|f,0|t,0|r,0),E)?(function(e,r,i,f,A,t){r|=0,i|=0,f|=0;var a,o=0,b=0;n[(e|=0)>>2]=r,o=0|n[(a=r+16|0)+4>>2],n[(b=e+8|0)>>2]=n[a>>2],n[b+4>>2]=o,r=0|n[(o=r+24|0)+4>>2],n[(b=e+16|0)>>2]=n[o>>2],n[b+4>>2]=r,n[(r=e+40|0)>>2]=i,n[r+4>>2]=f,n[(f=e+48|0)>>2]=0,n[f+4>>2]=0}(e,0|n[i>>2],f,t),n[e+80>>2]=r,1):0}function zA(e,r){var i;e|=0,(r|=0)&&(zA(e,0|n[r>>2]),zA(e,0|n[r+4>>2]),e=r+16|0,(0|A[11+(i=r+28|0)>>0])<0&&_b(0|n[i>>2]),(0|A[e+11>>0])<0&&_b(0|n[e>>2]),_b(r))}function OA(e){e|=0;var r,i,f=0,A=0,t=0,a=0;r=y,y=y+16|0,n[(A=f=r)>>2]=0,n[A+4>>2]=0,Jr(e,2,f),f=0|n[e+12>>2],(0|(i=0|n[(A=e+16|0)>>2]))==(0|f)?t=f:(a=i+(~((i+-4-f|0)>>>2)<<2)|0,n[A>>2]=a,t=a),n[e+24>>2]=0,n[e+28>>2]=0,0|f&&((0|t)!=(0|f)&&(n[A>>2]=t+(~((t+-4-f|0)>>>2)<<2)),_b(f)),(f=0|n[e>>2])?((0|(e=0|n[(t=e+4|0)>>2]))!=(0|f)&&(n[t>>2]=e+(~((e+-8-f|0)>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>>2],_=o):(n[4512]=k|o,d=c,_=c+8|0),n[_>>2]=s,n[d+12>>2]=s,n[s+8>>2]=d,n[s+12>>2]=c),n[4514]=b,n[4517]=l,y=r,0|A;if(A=0|n[4513]){if(h=0|n[18352+(((l=(c=(l=(A&0-A)-1|0)>>>(b=l>>>12&16))>>>5&8)|b|(c=(s=c>>>l)>>>2&4)|(s=(o=s>>>c)>>>1&2)|(o=(a=o>>>s)>>>1&1))+(a>>>o)<<2)>>2],o=(-8&n[h+4>>2])-f|0,a=0|n[h+16+((0==(0|n[h+16>>2])&1)<<2)>>2])for(s=h,h=o,o=a;;){if(b=(c=(a=(-8&n[o+4>>2])-f|0)>>>0<h>>>0)?a:h,a=c?o:s,!(o=0|n[o+16+((0==(0|n[o+16>>2])&1)<<2)>>2])){p=a,w=b;break}s=a,h=b}else p=h,w=o;if((h=p+f|0)>>>0>p>>>0){s=0|n[p+24>>2],o=0|n[p+12>>2];do{if((0|o)==(0|p)){if(a=0|n[(b=p+20|0)>>2])m=a,Z=b;else{if(!(l=0|n[(c=p+16|0)>>2])){v=0;break}m=l,Z=c}for(;;)if(0|(a=0|n[(b=m+20|0)>>2]))m=a,Z=b;else{if(!(a=0|n[(b=m+16|0)>>2]))break;m=a,Z=b}n[Z>>2]=0,v=m}else b=0|n[p+8>>2],n[b+12>>2]=o,n[o+8>>2]=b,v=o}while(0);do{if(0|s){if(o=0|n[p+28>>2],(0|p)==(0|n[(b=18352+(o<<2)|0)>>2])){if(n[b>>2]=v,!v){n[4513]=A&~(1<<o);break}}else if(n[s+16+(((0|n[s+16>>2])!=(0|p)&1)<<2)>>2]=v,!v)break;n[v+24>>2]=s,0|(o=0|n[p+16>>2])&&(n[v+16>>2]=o,n[o+24>>2]=v),0|(o=0|n[p+20>>2])&&(n[v+20>>2]=o,n[o+24>>2]=v)}}while(0);return w>>>0<16?(s=w+f|0,n[p+4>>2]=3|s,n[(A=p+s+4|0)>>2]=1|n[A>>2]):(n[p+4>>2]=3|f,n[h+4>>2]=1|w,n[h+w>>2]=w,0|u&&(A=0|n[4517],o=18088+((s=u>>>3)<<1<<2)|0,t&(b=1<<s)?(R=0|n[(b=o+8|0)>>2],B=b):(n[4512]=t|b,R=o,B=o+8|0),n[B>>2]=A,n[R+12>>2]=A,n[A+8>>2]=R,n[A+12>>2]=o),n[4514]=w,n[4517]=h),y=r,0|p+8}E=f}else E=f}else E=f}else if(e>>>0<=4294967231)if(A=-8&(o=e+11|0),b=0|n[4513]){s=0-A|0,W=(a=o>>>8)?A>>>0>16777215?31:A>>>(7+(V=14-((a=(520192+(c=a<<(o=(a+1048320|0)>>>16&8))|0)>>>16&4)|o|(c=(245760+(l=c<<a)|0)>>>16&2))+(l<<c>>>15)|0)|0)&1|V<<1:0,V=0|n[18352+(W<<2)>>2];e:do{if(V)for(c=0,l=s,o=V,a=A<<(31==(0|W)?0:25-(W>>>1)|0),g=0;;){if((Y=(-8&n[o+4>>2])-A|0)>>>0<l>>>0){if(!Y){M=0,T=o,I=o,U=61;break e}j=o,C=Y}else j=c,C=l;if(Q=0==(0|(Y=0|n[o+20>>2]))|(0|Y)==(0|(o=0|n[o+16+(a>>>31<<2)>>2]))?g:Y,Y=0==(0|o)){N=Q,G=j,F=C,U=57;break}c=j,l=C,a<<=1&(1^Y),g=Q}else N=0,G=0,F=s,U=57}while(0);if(57==(0|U)){if(0==(0|N)&0==(0|G)){if(!(s=b&((V=2<<W)|0-V))){E=A;break}X=0,J=0|n[18352+(((V=(f=(V=(s&0-s)-1|0)>>>(s=V>>>12&16))>>>5&8)|s|(f=(h=f>>>V)>>>2&4)|(h=(t=h>>>f)>>>1&2)|(t=(u=t>>>h)>>>1&1))+(u>>>t)<<2)>>2]}else X=G,J=N;J?(M=F,T=J,I=X,U=61):(z=X,O=F)}if(61==(0|U))for(;;){if(U=0,h=(u=(t=(-8&n[T+4>>2])-A|0)>>>0<M>>>0)?t:M,t=u?T:I,!(T=0|n[T+16+((0==(0|n[T+16>>2])&1)<<2)>>2])){z=t,O=h;break}M=h,I=t,U=61}if(0!=(0|z)&&O>>>0<((0|n[4514])-A|0)>>>0){if((t=z+A|0)>>>0<=z>>>0)return y=r,0;h=0|n[z+24>>2],u=0|n[z+12>>2];do{if((0|u)==(0|z)){if(s=0|n[(f=z+20|0)>>2])H=s,D=f;else{if(!(g=0|n[(V=z+16|0)>>2])){S=0;break}H=g,D=V}for(;;)if(0|(s=0|n[(f=H+20|0)>>2]))H=s,D=f;else{if(!(s=0|n[(f=H+16|0)>>2]))break;H=s,D=f}n[D>>2]=0,S=H}else f=0|n[z+8>>2],n[f+12>>2]=u,n[u+8>>2]=f,S=u}while(0);do{if(h){if(u=0|n[z+28>>2],(0|z)==(0|n[(f=18352+(u<<2)|0)>>2])){if(n[f>>2]=S,!S){f=b&~(1<<u),n[4513]=f,x=f;break}}else if(n[h+16+(((0|n[h+16>>2])!=(0|z)&1)<<2)>>2]=S,!S){x=b;break}n[S+24>>2]=h,0|(f=0|n[z+16>>2])&&(n[S+16>>2]=f,n[f+24>>2]=S),(f=0|n[z+20>>2])?(n[S+20>>2]=f,n[f+24>>2]=S,x=b):x=b}else x=b}while(0);do{if(O>>>0>=16){if(n[z+4>>2]=3|A,n[t+4>>2]=1|O,n[t+O>>2]=O,b=O>>>3,O>>>0<256){h=18088+(b<<1<<2)|0,(f=0|n[4512])&(u=1<<b)?(P=0|n[(u=h+8|0)>>2],L=u):(n[4512]=f|u,P=h,L=h+8|0),n[L>>2]=t,n[P+12>>2]=t,n[t+8>>2]=P,n[t+12>>2]=h;break}if(K=(h=O>>>8)?O>>>0>16777215?31:O>>>(7+(s=14-((h=(520192+(f=h<<(u=(h+1048320|0)>>>16&8))|0)>>>16&4)|u|(f=(245760+(b=f<<h)|0)>>>16&2))+(b<<f>>>15)|0)|0)&1|s<<1:0,s=18352+(K<<2)|0,n[t+28>>2]=K,n[4+(f=t+16|0)>>2]=0,n[f>>2]=0,!(x&(f=1<<K))){n[4513]=x|f,n[s>>2]=t,n[t+24>>2]=s,n[t+12>>2]=t,n[t+8>>2]=t;break}for(f=O<<(31==(0|K)?0:25-(K>>>1)|0),b=0|n[s>>2];;){if((-8&n[b+4>>2]|0)==(0|O)){U=97;break}if(!(s=0|n[(q=b+16+(f>>>31<<2)|0)>>2])){U=96;break}f<<=1,b=s}if(96==(0|U)){n[q>>2]=t,n[t+24>>2]=b,n[t+12>>2]=t,n[t+8>>2]=t;break}if(97==(0|U)){s=0|n[(f=b+8|0)>>2],n[s+12>>2]=t,n[f>>2]=t,n[t+8>>2]=s,n[t+12>>2]=b,n[t+24>>2]=0;break}}else s=O+A|0,n[z+4>>2]=3|s,n[(f=z+s+4|0)>>2]=1|n[f>>2]}while(0);return y=r,0|z+8}E=A}else E=A;else E=-1}while(0);if((z=0|n[4514])>>>0>=E>>>0)return O=z-E|0,q=0|n[4517],O>>>0>15?(K=q+E|0,n[4517]=K,n[4514]=O,n[K+4>>2]=1|O,n[q+z>>2]=O,n[q+4>>2]=3|E):(n[4514]=0,n[4517]=0,n[q+4>>2]=3|z,n[(O=q+z+4|0)>>2]=1|n[O>>2]),y=r,0|q+8;if((q=0|n[4515])>>>0>E>>>0)return O=q-E|0,n[4515]=O,K=(z=0|n[4518])+E|0,n[4518]=K,n[K+4>>2]=1|O,n[z+4>>2]=3|E,y=r,0|z+8;if(0|n[4630]?$=0|n[4632]:(n[4632]=4096,n[4631]=4096,n[4633]=-1,n[4634]=-1,n[4635]=0,n[4623]=0,n[4630]=-16&i^1431655768,$=4096),i=E+48|0,($=(O=$+(z=E+47|0)|0)&(K=0-$|0))>>>0<=E>>>0)return y=r,0;if(0|(x=0|n[4622])&&(L=(P=0|n[4620])+$|0)>>>0<=P>>>0|L>>>0>x>>>0)return y=r,0;e:do{if(4&n[4623])ae=0,U=133;else{x=0|n[4518];r:do{if(x){for(L=18496;!((P=0|n[L>>2])>>>0<=x>>>0&&(P+(0|n[(ee=L+4|0)>>2])|0)>>>0>x>>>0);){if(!(P=0|n[L+8>>2])){U=118;break r}L=P}if((b=O-q&K)>>>0<2147483647)if((0|(P=0|io(0|b)))==((0|n[L>>2])+(0|n[ee>>2])|0)){if(-1!=(0|P)){ie=b,fe=P,U=135;break e}re=b}else Ae=P,te=b,U=126;else re=0}else U=118}while(0);do{if(118==(0|U))if(-1!=(0|(x=0|io(0)))&&(A=x,b=(S=(0==((P=(b=0|n[4631])-1|0)&A|0)?0:(P+A&0-b)-A|0)+$|0)+(A=0|n[4620])|0,S>>>0>E>>>0&S>>>0<2147483647)){if(0|(P=0|n[4622])&&b>>>0<=A>>>0|b>>>0>P>>>0){re=0;break}if((0|(P=0|io(0|S)))==(0|x)){ie=S,fe=x,U=135;break e}Ae=P,te=S,U=126}else re=0}while(0);do{if(126==(0|U)){if(S=0-te|0,!(i>>>0>te>>>0&te>>>0<2147483647&-1!=(0|Ae))){if(-1==(0|Ae)){re=0;break}ie=te,fe=Ae,U=135;break e}if((x=z-te+(P=0|n[4632])&0-P)>>>0>=2147483647){ie=te,fe=Ae,U=135;break e}if(-1==(0|io(0|x))){io(0|S),re=0;break}ie=x+te|0,fe=Ae,U=135;break e}}while(0);n[4623]=4|n[4623],ae=re,U=133}}while(0);if(133==(0|U)&&$>>>0<2147483647&&!(-1==(0|(re=0|io(0|$)))|1^(te=(Ae=($=0|io(0))-re|0)>>>0>(E+40|0)>>>0)|re>>>0<$>>>0&-1!=(0|re)&-1!=(0|$)^1)&&(ie=te?Ae:ae,fe=re,U=135),135==(0|U)){re=(0|n[4620])+ie|0,n[4620]=re,re>>>0>(0|n[4621])>>>0&&(n[4621]=re),re=0|n[4518];do{if(re){for(ae=18496;;){if((0|fe)==((oe=0|n[ae>>2])+(be=0|n[(ne=ae+4|0)>>2])|0)){U=143;break}if(!(Ae=0|n[ae+8>>2]))break;ae=Ae}if(143==(0|U)&&0==(8&n[ae+12>>2]|0)&&fe>>>0>re>>>0&oe>>>0<=re>>>0){n[ne>>2]=be+ie,te=re+($=0==(7&(te=re+8|0)|0)?0:0-te&7)|0,z=(Ae=(0|n[4515])+ie|0)-$|0,n[4518]=te,n[4515]=z,n[te+4>>2]=1|z,n[re+Ae+4>>2]=40,n[4519]=n[4634];break}for(fe>>>0<(0|n[4516])>>>0&&(n[4516]=fe),Ae=fe+ie|0,z=18496;;){if((0|n[z>>2])==(0|Ae)){U=151;break}if(!(te=0|n[z+8>>2])){le=18496;break}z=te}if(151==(0|U)){if(!(8&n[z+12>>2])){n[z>>2]=fe,n[(ae=z+4|0)>>2]=(0|n[ae>>2])+ie,te=fe+(0==(7&(ae=fe+8|0)|0)?0:0-ae&7)|0,$=Ae+(0==(7&(ae=Ae+8|0)|0)?0:0-ae&7)|0,ae=te+E|0,i=$-te-E|0,n[te+4>>2]=3|E;do{if((0|re)!=(0|$)){if((0|n[4517])==(0|$)){ee=(0|n[4514])+i|0,n[4514]=ee,n[4517]=ae,n[ae+4>>2]=1|ee,n[ae+ee>>2]=ee;break}if(1==(3&(ee=0|n[$+4>>2])|0)){K=-8&ee,q=ee>>>3;e:do{if(ee>>>0<256){if(O=0|n[$+8>>2],(0|(x=0|n[$+12>>2]))==(0|O)){n[4512]=n[4512]&~(1<<q);break}n[O+12>>2]=x,n[x+8>>2]=O;break}O=0|n[$+24>>2],x=0|n[$+12>>2];do{if((0|x)==(0|$)){if(b=0|n[(P=4+(S=$+16|0)|0)>>2])ue=b,se=P;else{if(!(A=0|n[S>>2])){ce=0;break}ue=A,se=S}for(;;)if(0|(b=0|n[(P=ue+20|0)>>2]))ue=b,se=P;else{if(!(b=0|n[(P=ue+16|0)>>2]))break;ue=b,se=P}n[se>>2]=0,ce=ue}else P=0|n[$+8>>2],n[P+12>>2]=x,n[x+8>>2]=P,ce=x}while(0);if(!O)break;P=18352+((x=0|n[$+28>>2])<<2)|0;do{if((0|n[P>>2])==(0|$)){if(n[P>>2]=ce,0|ce)break;n[4513]=n[4513]&~(1<<x);break e}if(n[O+16+(((0|n[O+16>>2])!=(0|$)&1)<<2)>>2]=ce,!ce)break e}while(0);if(n[ce+24>>2]=O,0|(P=0|n[(x=$+16|0)>>2])&&(n[ce+16>>2]=P,n[P+24>>2]=ce),!(P=0|n[x+4>>2]))break;n[ce+20>>2]=P,n[P+24>>2]=ce}while(0);ke=$+K|0,de=K+i|0}else ke=$,de=i;if(n[(q=ke+4|0)>>2]=-2&n[q>>2],n[ae+4>>2]=1|de,n[ae+de>>2]=de,q=de>>>3,de>>>0<256){ee=18088+(q<<1<<2)|0,(L=0|n[4512])&(P=1<<q)?(_e=0|n[(P=ee+8|0)>>2],he=P):(n[4512]=L|P,_e=ee,he=ee+8|0),n[he>>2]=ae,n[_e+12>>2]=ae,n[ae+8>>2]=_e,n[ae+12>>2]=ee;break}ee=de>>>8;do{if(ee){if(de>>>0>16777215){pe=31;break}pe=de>>>(7+(b=14-((q=(520192+(L=ee<<(P=(ee+1048320|0)>>>16&8))|0)>>>16&4)|P|(L=(245760+(x=L<<q)|0)>>>16&2))+(x<<L>>>15)|0)|0)&1|b<<1}else pe=0}while(0);if(ee=18352+(pe<<2)|0,n[ae+28>>2]=pe,n[4+(K=ae+16|0)>>2]=0,n[K>>2]=0,!((K=0|n[4513])&(b=1<<pe))){n[4513]=K|b,n[ee>>2]=ae,n[ae+24>>2]=ee,n[ae+12>>2]=ae,n[ae+8>>2]=ae;break}for(b=de<<(31==(0|pe)?0:25-(pe>>>1)|0),K=0|n[ee>>2];;){if((-8&n[K+4>>2]|0)==(0|de)){U=192;break}if(!(ee=0|n[(we=K+16+(b>>>31<<2)|0)>>2])){U=191;break}b<<=1,K=ee}if(191==(0|U)){n[we>>2]=ae,n[ae+24>>2]=K,n[ae+12>>2]=ae,n[ae+8>>2]=ae;break}if(192==(0|U)){ee=0|n[(b=K+8|0)>>2],n[ee+12>>2]=ae,n[b>>2]=ae,n[ae+8>>2]=ee,n[ae+12>>2]=K,n[ae+24>>2]=0;break}}else ee=(0|n[4515])+i|0,n[4515]=ee,n[4518]=ae,n[ae+4>>2]=1|ee}while(0);return y=r,0|te+8}le=18496}for(;!((ae=0|n[le>>2])>>>0<=re>>>0&&(ve=ae+(0|n[le+4>>2])|0)>>>0>re>>>0);)le=0|n[le+8>>2];i=(te=(i=(te=ve+-47|0)+(0==(7&(ae=te+8|0)|0)?0:0-ae&7)|0)>>>0<(ae=re+16|0)>>>0?re:i)+8|0,Ae=fe+(z=0==(7&(Ae=fe+8|0)|0)?0:0-Ae&7)|0,ee=($=ie+-40|0)-z|0,n[4518]=Ae,n[4515]=ee,n[Ae+4>>2]=1|ee,n[fe+$+4>>2]=40,n[4519]=n[4634],n[($=te+4|0)>>2]=27,n[i>>2]=n[4624],n[i+4>>2]=n[4625],n[i+8>>2]=n[4626],n[i+12>>2]=n[4627],n[4624]=fe,n[4625]=ie,n[4627]=0,n[4626]=i,i=te+24|0;do{ee=i,n[(i=i+4|0)>>2]=7}while((ee+8|0)>>>0<ve>>>0);if((0|te)!=(0|re)){if(i=te-re|0,n[$>>2]=-2&n[$>>2],n[re+4>>2]=1|i,n[te>>2]=i,ee=i>>>3,i>>>0<256){Ae=18088+(ee<<1<<2)|0,(z=0|n[4512])&(b=1<<ee)?(ye=0|n[(b=Ae+8|0)>>2],me=b):(n[4512]=z|b,ye=Ae,me=Ae+8|0),n[me>>2]=re,n[ye+12>>2]=re,n[re+8>>2]=ye,n[re+12>>2]=Ae;break}if(Ze=(Ae=i>>>8)?i>>>0>16777215?31:i>>>(7+(L=14-((Ae=(520192+(z=Ae<<(b=(Ae+1048320|0)>>>16&8))|0)>>>16&4)|b|(z=(245760+(ee=z<<Ae)|0)>>>16&2))+(ee<<z>>>15)|0)|0)&1|L<<1:0,L=18352+(Ze<<2)|0,n[re+28>>2]=Ze,n[re+20>>2]=0,n[ae>>2]=0,!((z=0|n[4513])&(ee=1<<Ze))){n[4513]=z|ee,n[L>>2]=re,n[re+24>>2]=L,n[re+12>>2]=re,n[re+8>>2]=re;break}for(ee=i<<(31==(0|Ze)?0:25-(Ze>>>1)|0),z=0|n[L>>2];;){if((-8&n[z+4>>2]|0)==(0|i)){U=213;break}if(!(L=0|n[(Re=z+16+(ee>>>31<<2)|0)>>2])){U=212;break}ee<<=1,z=L}if(212==(0|U)){n[Re>>2]=re,n[re+24>>2]=z,n[re+12>>2]=re,n[re+8>>2]=re;break}if(213==(0|U)){i=0|n[(ee=z+8|0)>>2],n[i+12>>2]=re,n[ee>>2]=re,n[re+8>>2]=i,n[re+12>>2]=z,n[re+24>>2]=0;break}}}else 0==(0|(i=0|n[4516]))|fe>>>0<i>>>0&&(n[4516]=fe),n[4624]=fe,n[4625]=ie,n[4627]=0,n[4521]=n[4630],n[4520]=-1,n[4525]=18088,n[4524]=18088,n[4527]=18096,n[4526]=18096,n[4529]=18104,n[4528]=18104,n[4531]=18112,n[4530]=18112,n[4533]=18120,n[4532]=18120,n[4535]=18128,n[4534]=18128,n[4537]=18136,n[4536]=18136,n[4539]=18144,n[4538]=18144,n[4541]=18152,n[4540]=18152,n[4543]=18160,n[4542]=18160,n[4545]=18168,n[4544]=18168,n[4547]=18176,n[4546]=18176,n[4549]=18184,n[4548]=18184,n[4551]=18192,n[4550]=18192,n[4553]=18200,n[4552]=18200,n[4555]=18208,n[4554]=18208,n[4557]=18216,n[4556]=18216,n[4559]=18224,n[4558]=18224,n[4561]=18232,n[4560]=18232,n[4563]=18240,n[4562]=18240,n[4565]=18248,n[4564]=18248,n[4567]=18256,n[4566]=18256,n[4569]=18264,n[4568]=18264,n[4571]=18272,n[4570]=18272,n[4573]=18280,n[4572]=18280,n[4575]=18288,n[4574]=18288,n[4577]=18296,n[4576]=18296,n[4579]=18304,n[4578]=18304,n[4581]=18312,n[4580]=18312,n[4583]=18320,n[4582]=18320,n[4585]=18328,n[4584]=18328,n[4587]=18336,n[4586]=18336,ee=fe+(ae=0==(7&(ee=fe+8|0)|0)?0:0-ee&7)|0,te=(i=ie+-40|0)-ae|0,n[4518]=ee,n[4515]=te,n[ee+4>>2]=1|te,n[fe+i+4>>2]=40,n[4519]=n[4634]}while(0);if((fe=0|n[4515])>>>0>E>>>0)return ie=fe-E|0,n[4515]=ie,re=(fe=0|n[4518])+E|0,n[4518]=re,n[re+4>>2]=1|ie,n[fe+4>>2]=3|E,y=r,0|fe+8}return n[(fe=18544)>>2]=12,y=r,0}function HA(e){e|=0;var r,i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,F=0;r=y,y=y+16|0,i=r,A=r+4|0,n[(f=r+8|0)>>2]=e;do{if(e>>>0>=212){a=210*(t=(e>>>0)/210|0)|0,n[A>>2]=e-a,o=0,b=t,t=(0|Ka(6640,6832,A,i))-6640>>2,l=a;e:for(;;){for(c=(0|n[6640+(t<<2)>>2])+l|0,a=5;;){if(a>>>0>=47){u=211,s=o,k=8;break}if((_=(c>>>0)/((d=0|n[6448+(a<<2)>>2])>>>0)|0)>>>0<d>>>0){k=106;break e}if((0|c)==(0|G(_,d))){h=o;break}a=a+1|0}r:do{if(8==(0|k)){i:for(;;){k=0,a=(c>>>0)/(u>>>0)|0;do{if(a>>>0>=u>>>0)if((0|c)!=(0|G(a,u)))if((_=(c>>>0)/((d=u+10|0)>>>0)|0)>>>0>=d>>>0)if((0|c)!=(0|G(_,d)))if((p=(c>>>0)/((_=u+12|0)>>>0)|0)>>>0>=_>>>0)if((0|c)!=(0|G(p,_)))if((w=(c>>>0)/((p=u+16|0)>>>0)|0)>>>0>=p>>>0)if((0|c)!=(0|G(w,p)))if((v=(c>>>0)/((w=u+18|0)>>>0)|0)>>>0>=w>>>0)if((0|c)!=(0|G(v,w)))if((m=(c>>>0)/((v=u+22|0)>>>0)|0)>>>0>=v>>>0)if((0|c)!=(0|G(m,v)))if((Z=(c>>>0)/((m=u+28|0)>>>0)|0)>>>0>=m>>>0)if((0|c)==(0|G(Z,m)))R=m,B=9,E=s;else{if((W=(c>>>0)/((Z=u+30|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+36|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+40|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+42|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+46|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+52|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+58|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+60|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+66|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+70|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+72|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+78|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+82|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+88|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+96|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+100|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+102|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+106|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+108|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+112|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+120|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+126|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+130|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+136|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+138|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+142|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+148|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+150|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+156|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+162|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+166|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+168|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+172|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+178|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+180|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+186|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+190|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+192|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+196|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}if((W=(c>>>0)/((Z=u+198|0)>>>0)|0)>>>0<Z>>>0){R=Z,B=1,E=c;break}if((0|c)==(0|G(W,Z))){R=Z,B=9,E=s;break}R=(V=(W=(c>>>0)/((Z=u+208|0)>>>0)|0)>>>0<Z>>>0)|(N=(0|c)==(0|G(W,Z)))?Z:u+210|0,B=V?1:N?9:0,E=V?c:s}else R=m,B=1,E=c;else R=v,B=9,E=s;else R=v,B=1,E=c;else R=w,B=9,E=s;else R=w,B=1,E=c;else R=p,B=9,E=s;else R=p,B=1,E=c;else R=_,B=9,E=s;else R=_,B=1,E=c;else R=d,B=9,E=s;else R=d,B=1,E=c;else R=u,B=9,E=s;else R=u,B=1,E=c}while(0);switch(15&B){case 9:h=E;break r;case 0:u=R,s=E,k=8;break;default:break i}}if(B){k=107;break e}h=E}}while(0);o=h,b=_=b+(1&(d=48==(0|(a=t+1|0))))|0,t=d?0:a,l=210*_|0}if(106==(0|k)){n[f>>2]=c,F=c;break}if(107==(0|k)){n[f>>2]=c,F=E;break}}else l=0|Ka(6448,6640,f,i),F=0|n[l>>2]}while(0);return y=r,0|F}function DA(e,r,i,f,A,t){A|=0,t|=0;var a,o,b,c,u,s,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,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=v,T=0,I=0;r:for(;;){do{if(U){if(R)break r;j=m,C=k,Q=1,X=B,J=W,z=T,O=I,S=T,H=I}else{if(D=0|Ho(0|T,0|I,1,0),x=E,P=48!=(0|F),(0|k)>=125){if(!P){j=m,C=k,Q=R,X=B,J=W,z=Y,O=M,S=D,H=x;break}n[N>>2]=1|n[N>>2],j=m,C=k,Q=R,X=B,J=W,z=Y,O=M,S=D,H=x;break}L=o+(k<<2)|0,K=m?F+-48+(10*(0|n[L>>2])|0)|0:g,n[L>>2]=K,j=(q=9==(0|(L=m+1|0)))?0:L,C=k+(1&q)|0,Q=R,X=P?D:B,J=1,z=Y,O=M,S=D,H=x}}while(0);if((x=0|n[u>>2])>>>0<(0|n[s>>2])>>>0?(n[u>>2]=x+1,$=0|l[x>>0]):$=0|kA(e),!((U=46==(0|$))|(g=$+-48|0)>>>0<10)){ee=j,re=C,ie=X,fe=Q,Ae=$,te=J,ae=S,oe=z,ne=H,be=O,d=29;break e}m=j,k=C,B=X,R=Q,W=J,F=$,Y=z,M=O,T=S,I=H}le=m,ce=k,ue=B,se=T,ke=I,de=Y,_e=M,he=0!=(0|W),d=37}else ee=0,re=0,ie=0,fe=_,Ae=h,te=p,ae=0,oe=w,ne=0,be=v,d=29}while(0);do{if(29==(0|d)){if(w=(v=0==(0|fe))?ae:oe,p=v?ne:be,!((v=0!=(0|te))&101==(32|Ae))){if((0|Ae)>-1){le=ee,ce=re,ue=ie,se=ae,ke=ne,de=w,_e=p,he=v,d=37;break}pe=ee,we=re,ve=ie,ye=ae,me=ne,Ze=v,Re=w,Be=p,d=39;break}if(0==(0|(v=0|yr(e,t)))&-2147483648==(0|(h=E))){if(!t){Zo(e,0),Ee=0;break}0|n[s>>2]?(n[u>>2]=(0|n[u>>2])-1,We=0,Ve=0):(We=0,Ve=0)}else We=v,Ve=h;Ne=ee,Ge=re,Fe=ie,Ue=h=0|Ho(0|We,0|Ve,0|w,0|p),ge=ae,Ye=E,Me=ne,d=41}}while(0);37==(0|d)&&(0|n[s>>2]?(n[u>>2]=(0|n[u>>2])-1,he?(Ne=le,Ge=ce,Fe=ue,Ue=de,ge=se,Ye=_e,Me=ke,d=41):d=40):(pe=le,we=ce,ve=ue,ye=se,me=ke,Ze=he,Re=de,Be=_e,d=39)),39==(0|d)&&(Ze?(Ne=pe,Ge=we,Fe=ve,Ue=Re,ge=ye,Ye=Be,Me=me,d=41):d=40);do{if(40==(0|d))n[(me=18544)>>2]=22,Zo(e,0),Ee=0;else if(41==(0|d)){if(!(me=0|n[o>>2])){Ee=0*+(0|A);break}if((0|Ue)==(0|ge)&(0|Ye)==(0|Me)&((0|Me)<0|0==(0|Me)&ge>>>0<10)&&(0|i)>30|0==(me>>>i|0)){Ee=+(0|A)*+(me>>>0);break}if((0|Ye)>(0|(Be=((0|(me=(0|f)/-2|0))<0)<<31>>31))|(0|Ye)==(0|Be)&Ue>>>0>me>>>0){n[(me=18544)>>2]=34,Ee=17976931348623157e292*+(0|A)*17976931348623157e292;break}if((0|Ye)<(0|(Be=((0|(me=f+-106|0))<0)<<31>>31))|(0|Ye)==(0|Be)&Ue>>>0<me>>>0){n[(me=18544)>>2]=34,Ee=22250738585072014e-324*+(0|A)*22250738585072014e-324;break}if(Ne){if((0|Ne)<9){for(Be=Ne,ye=0|n[(me=o+(Ge<<2)|0)>>2];ye=10*ye|0,!((0|Be)>=8);)Be=Be+1|0;n[me>>2]=ye}Te=Ge+1|0}else Te=Ge;if((0|Fe)<9&&(0|Fe)<=(0|Ue)&(0|Ue)<18){if(9==(0|Ue)){Ee=+(0|A)*+((0|n[o>>2])>>>0);break}if((0|Ue)<9){Ee=+(0|A)*+((0|n[o>>2])>>>0)/+(0|n[6408+(8-Ue<<2)>>2]);break}if((0|(Be=i+27+(0|G(Ue,-3))|0))>30|0==((W=0|n[o>>2])>>>Be|0)){Ee=+(0|A)*+(W>>>0)*+(0|n[6408+(Ue+-10<<2)>>2]);break}}if(W=(0|Ue)%9|0){if(W=0|n[6408+(8-(Be=(0|Ue)>-1?W:W+9|0)<<2)>>2],Te){M=1e9/(0|W)|0,Y=0,I=0,T=Ue,B=0;do{Re=(((m=0|n[(k=o+(B<<2)|0)>>2])>>>0)/(W>>>0)|0)+Y|0,n[k>>2]=Re,Y=0|G(M,(m>>>0)%(W>>>0)|0),T=(m=(0|B)==(0|I)&0==(0|Re))?T+-9|0:T,I=m?I+1&127:I,B=B+1|0}while((0|B)!=(0|Te));Y?(n[o+(Te<<2)>>2]=Y,Xe=I,Je=Te+1|0,ze=T):(Xe=I,Je=Te,ze=T)}else Xe=0,Je=0,ze=Ue;Ie=0,je=Je,Ce=Xe,Qe=9-Be+ze|0}else Ie=0,je=Te,Ce=0,Qe=Ue;e:for(;;){for(B=(0|Qe)<18,W=18==(0|Qe),M=o+(Ce<<2)|0,ye=Ie,me=je;;){if(!B){if(!W){Oe=ye,Se=Ce,He=Qe,De=me;break e}if((0|n[M>>2])>>>0>=9007199){Oe=ye,Se=Ce,He=18,De=me;break e}}for(m=0,xe=me,Re=me+127|0;pe=0|Ho(0|(we=0|So(0|n[(ve=o+((k=127&Re)<<2)|0)>>2],0,29)),0|E,0|m,0),(we=E)>>>0>0|0==(0|we)&pe>>>0>1e9?(Pe=Ze=0|Wn(0|pe,0|we,1e9,0),Le=_e=0|Go(0|pe,0|we,1e9,0)):(Pe=0,Le=pe),n[ve>>2]=Le,xe=0==(0|Le)&(1^((0|k)!=(xe+127&127|0)|(ve=(0|k)==(0|Ce))))?k:xe,!ve;)m=Pe,Re=k+-1|0;if(ye=ye+-29|0,0|Pe)break;me=xe}M=xe+127&127,W=o+((xe+126&127)<<2)|0,(0|(me=Ce+127&127))==(0|xe)?(n[W>>2]=n[W>>2]|n[o+(M<<2)>>2],Ke=M):Ke=xe,n[o+(me<<2)>>2]=Pe,Ie=ye,je=Ke,Ce=me,Qe=Qe+9|0}e:for(;;){for(Be=De+1&127,T=o+((De+127&127)<<2)|0,I=Oe,Y=Se,me=He;;){for(M=18==(0|me),W=(0|me)>27?9:1,qe=I,$e=Y;;){for(B=0;;){if((0|(Re=B+$e&127))==(0|De)){er=2,d=88;break}if((m=0|n[o+(Re<<2)>>2])>>>0<(Re=0|n[6440+(B<<2)>>2])>>>0){er=2,d=88;break}if(m>>>0>Re>>>0)break;if(Re=B+1|0,!((0|B)<1)){er=Re,d=88;break}B=Re}if(88==(0|d)&&(d=0,M&2==(0|er))){rr=0,ir=0,fr=De;break e}if(Ar=W+qe|0,(0|$e)!=(0|De))break;qe=Ar,$e=De}M=(1<<W)-1|0,B=1e9>>>W,tr=0,ar=$e,or=me,Re=$e;do{ve=((k=0|n[(m=o+(Re<<2)|0)>>2])>>>W)+tr|0,n[m>>2]=ve,tr=0|G(k&M,B),or=(k=(0|Re)==(0|ar)&0==(0|ve))?or+-9|0:or,ar=k?ar+1&127:ar,Re=Re+1&127}while((0|Re)!=(0|De));if(tr){if((0|Be)!=(0|ar))break;n[T>>2]=1|n[T>>2],I=Ar,Y=ar,me=or}else I=Ar,Y=ar,me=or}n[o+(De<<2)>>2]=tr,Oe=Ar,Se=ar,He=or,De=Be}for(;Y=fr+1&127,(0|(me=ir+$e&127))==(0|fr)?(n[o+(Y+-1<<2)>>2]=0,nr=Y):nr=fr,rr=1e9*rr+ +((0|n[o+(me<<2)>>2])>>>0),2!=(0|(ir=ir+1|0));)fr=nr;if(lr=rr*(br=+(0|A)),(0|(T=(I=(0|(Y=(me=qe+53|0)-f|0))<(0|i))?(0|Y)>0?Y:0:i))<53?(sr=cr=+rb(+na(1,105-T|0),lr),kr=ur=+lb(lr,+na(1,53-T|0)),dr=cr+(lr-ur)):(sr=0,kr=0,dr=lr),(0|(ye=$e+2&127))!=(0|nr)){Re=0|n[o+(ye<<2)>>2];do{if(Re>>>0>=5e8){if(5e8!=(0|Re)){_r=.75*br+kr;break}if(($e+3&127|0)==(0|nr)){_r=.5*br+kr;break}_r=.75*br+kr;break}if(0==(0|Re)&&($e+3&127|0)==(0|nr)){_r=kr;break}_r=.25*br+kr}while(0);hr=(53-T|0)>1&&0==+lb(_r,1)?_r+1:_r}else hr=kr;br=dr+hr-sr;do{if((2147483647&me|0)>(-2-b|0)){if(lr=(Re=!(+V(+br)>=9007199254740992))?br:.5*br,(50+(ye=qe+(1&(1^Re))|0)|0)<=(0|c)&&!(0!=hr&I&((0|T)!=(0|Y)|Re))){pr=lr,wr=ye;break}n[(Re=18544)>>2]=34,pr=lr,wr=ye}else pr=br,wr=qe}while(0);Ee=+ib(pr,wr)}}while(0);return y=a,+Ee}function xA(e,r,i,f,t,a){e|=0,r=+r,i|=0,f|=0,t|=0,a|=0;var o,b,c,u,s,k,d,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0,de=0,_e=0,he=0,pe=0,we=0,ve=0,ye=0,me=0,Ze=0,Re=0,Be=0,Ee=0,We=0,Ve=0,Ne=0,Ge=0,Fe=0;o=y,y=y+560|0,b=o+8|0,s=u=o+524|0,k=o+512|0,n[(c=o)>>2]=0,d=k+12|0,tn(r),(0|E)<0?(_=-r,h=1,p=15511):(_=r,h=0!=(2049&t|0)&1,p=0==(2048&t|0)?0==(1&t|0)?15512:15517:15514),tn(_);do{if(!0&2146435072==(2146435072&E|0))w=0!=(32&a|0),Ea(e,32,i,v=h+3|0,-65537&t),vn(e,p,h),vn(e,_!=_|!1?w?17461:15538:w?15530:15534,3),Ea(e,32,i,v,8192^t),m=v;else{if((v=0!=(r=2*+fb(_,c)))&&(n[c>>2]=(0|n[c>>2])-1),97==(0|(w=32|a))){R=0==(0|(Z=32&a))?p:p+9|0,B=2|h,W=12-f|0;do{if(!(f>>>0>11|0==(0|W))){V=8,N=W;do{N=N+-1|0,V*=16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Z}else H=U,D=N,x=J;if((0|x)<0)for(B=1+((Y+25|0)/9|0)|0,W=102==(0|w),v=H,Z=D,T=x;;){if(O=(0|(z=0-T|0))<9?z:9,v>>>0<Z>>>0){z=(1<<O)-1|0,P=1e9>>>O,L=0,K=v;do{q=0|n[K>>2],n[K>>2]=(q>>>O)+L,L=0|G(q&z,P),K=K+4|0}while(K>>>0<Z>>>0);K=0==(0|n[v>>2])?v+4|0:v,L?(n[Z>>2]=L,$=K,ee=Z+4|0):($=K,ee=Z)}else $=0==(0|n[v>>2])?v+4|0:v,ee=Z;if(P=(ee-(K=W?U:$)>>2|0)>(0|B)?K+(B<<2)|0:ee,T=(0|n[c>>2])+O|0,n[c>>2]=T,(0|T)>=0){re=$,ie=P;break}v=$,Z=P}else re=H,ie=D;if(Z=U,re>>>0<ie>>>0)if(v=9*(Z-re>>2)|0,(T=0|n[re>>2])>>>0<10)fe=v;else for(B=v,v=10;;){if(W=B+1|0,T>>>0<(v=10*v|0)>>>0){fe=W;break}B=W}else fe=0;if((0|(T=Y-(102!=(0|w)?fe:0)+(((v=0!=(0|Y))&(B=103==(0|w)))<<31>>31)|0))<((9*(ie-Z>>2)|0)-9|0)){if(T=U+4+(((0|(W=T+9216|0))/9|0)-1024<<2)|0,(0|(N=(0|W)%9|0))<8)for(W=N,N=10;;){if(P=10*N|0,!((0|W)<7)){Ae=P;break}W=W+1|0,N=P}else Ae=10;if((w=(T+4|0)==(0|ie))&0==(0|(W=((N=0|n[T>>2])>>>0)%(Ae>>>0)|0)))le=T,ce=fe,ue=re;else if(V=0==(1&((N>>>0)/(Ae>>>0)|0)|0)?9007199254740992:9007199254740994,M=W>>>0<(P=(0|Ae)/2|0)>>>0?.5:w&(0|W)==(0|P)?1:1.5,h?(te=(P=45==(0|A[p>>0]))?-M:M,ae=P?-V:V):(te=M,ae=V),P=N-W|0,n[T>>2]=P,ae+te!=ae){if(W=P+Ae|0,n[T>>2]=W,W>>>0>999999999)for(W=re,P=T;;){if(N=P+-4|0,n[P>>2]=0,N>>>0<W>>>0?(n[(w=W+-4|0)>>2]=0,oe=w):oe=W,w=1+(0|n[N>>2])|0,n[N>>2]=w,!(w>>>0>999999999)){ne=oe,be=N;break}W=oe,P=N}else ne=re,be=T;if(P=9*(Z-ne>>2)|0,(W=0|n[ne>>2])>>>0<10)le=be,ce=P,ue=ne;else for(N=P,P=10;;){if(w=N+1|0,W>>>0<(P=10*P|0)>>>0){le=be,ce=w,ue=ne;break}N=w}}else le=T,ce=fe,ue=re;se=ce,ke=ie>>>0>(N=le+4|0)>>>0?N:ie,de=ue}else se=fe,ke=ie,de=re;for(N=ke;;){if(N>>>0<=de>>>0){_e=0;break}if(0|n[(P=N+-4|0)>>2]){_e=1;break}N=P}T=0-se|0;do{if(B){if((0|(P=Y+(1&(1^v))|0))>(0|se)&(0|se)>-5?(he=a+-1|0,pe=P+-1-se|0):(he=a+-2|0,pe=P+-1|0),!(P=8&t)){if(_e&&0!=(0|(W=0|n[N+-4>>2])))if((W>>>0)%10|0)we=0;else for(w=0,K=10;;){if(z=w+1|0,0|(W>>>0)%((K=10*K|0)>>>0)){we=z;break}w=z}else we=9;if(w=(9*(N-Z>>2)|0)-9|0,102==(32|he)){ve=he,ye=(0|pe)<(0|(W=(0|(K=w-we|0))>0?K:0))?pe:W,me=0;break}ve=he,ye=(0|pe)<(0|(w=(0|(W=w+se-we|0))>0?W:0))?pe:w,me=0;break}ve=he,ye=pe,me=P}else ve=a,ye=Y,me=8&t}while(0);if(Z=0!=(0|(Y=ye|me))&1,v=102==(32|ve))Ze=0,Re=(0|se)>0?se:0;else{if(w=0|qt(B=(0|se)<0?T:se,((0|B)<0)<<31>>31,d),((B=d)-w|0)<2)for(W=w;;){if(A[(K=W+-1|0)>>0]=48,!((B-K|0)<2)){Be=K;break}W=K}else Be=w;A[Be+-1>>0]=43+(se>>31&2),A[(W=Be+-2|0)>>0]=ve,Ze=W,Re=B-W|0}if(Ea(e,32,i,W=h+1+ye+Z+Re|0,t),vn(e,p,h),Ea(e,48,i,W,65536^t),v){O=K=u+9|0,L=u+8|0,z=T=de>>>0>U>>>0?U:de;do{if(I=0|qt(0|n[z>>2],0,K),(0|z)==(0|T))(0|I)==(0|K)?(A[L>>0]=48,Ee=L):Ee=I;else if(I>>>0>u>>>0)for(IA(0|u,48,I-s|0),R=I;;){if(!((q=R+-1|0)>>>0>u>>>0)){Ee=q;break}R=q}else Ee=I;vn(e,Ee,O-Ee|0),z=z+4|0}while(z>>>0<=U>>>0);if(0|Y&&vn(e,15558,1),z>>>0<N>>>0&(0|ye)>0)for(U=ye,O=z;;){if((L=0|qt(0|n[O>>2],0,K))>>>0>u>>>0)for(IA(0|u,48,L-s|0),T=L;;){if(!((v=T+-1|0)>>>0>u>>>0)){We=v;break}T=v}else We=L;if(vn(e,We,(0|U)<9?U:9),T=U+-9|0,!((O=O+4|0)>>>0<N>>>0&(0|U)>9)){Ve=T;break}U=T}else Ve=ye;Ea(e,48,Ve+9|0,9,0)}else{if(U=_e?N:de+4|0,(0|ye)>-1)for(K=0==(0|me),z=O=u+9|0,Y=0-s|0,T=u+8|0,I=ye,v=de;;){(0|(Z=0|qt(0|n[v>>2],0,O)))==(0|O)?(A[T>>0]=48,Ne=T):Ne=Z;do{if((0|v)==(0|de)){if(Z=Ne+1|0,vn(e,Ne,1),K&(0|I)<1){Ge=Z;break}vn(e,15558,1),Ge=Z}else{if(Ne>>>0<=u>>>0){Ge=Ne;break}for(IA(0|u,48,Ne+Y|0),Z=Ne;;){if(!((B=Z+-1|0)>>>0>u>>>0)){Ge=B;break}Z=B}}}while(0);if(vn(e,Ge,(0|I)>(0|(L=z-Ge|0))?L:I),!((v=v+4|0)>>>0<U>>>0&(0|(Z=I-L|0))>-1)){Fe=Z;break}I=Z}else Fe=ye;Ea(e,48,Fe+18|0,18,0),vn(e,Ze,d-Ze|0)}Ea(e,32,i,W,8192^t),m=W}}while(0);return y=o,0|((0|m)<(0|i)?i:m)}function PA(e,r,i,f,t){e|=0,r|=0,i|=0,f|=0,t|=0;var o,b,l,c,u,s,k,d,_=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0,de=0,_e=0,he=0,pe=0,we=0,ve=0,ye=0,me=0,Ze=0,Re=0,Be=0,Ee=0,We=0,Ve=0,Ne=0,Ge=0,Fe=0,Ue=0,ge=0,Ye=0;o=y,y=y+64|0,l=o,_=o+24|0,c=o+8|0,u=o+20|0,n[(b=o+16|0)>>2]=r,r=0!=(0|e),k=s=_+40|0,d=_+39|0,_=c+4|0,p=0,w=0,v=0;e:for(;;){do{if((0|w)>-1){if((0|p)>(2147483647-w|0)){n[(m=18544)>>2]=75,Z=-1;break}Z=p+w|0;break}Z=w}while(0);if(m=0|n[b>>2],!((R=0|A[m>>0])<<24>>24)){B=88;break}W=R,V=m;r:for(;;){switch(W<<24>>24){case 37:N=V,G=V,B=9;break r;case 0:F=V;break r}R=V+1|0,n[b>>2]=R,W=0|A[R>>0],V=R}r:do{if(9==(0|B))for(;;){if(B=0,37!=(0|A[G+1>>0])){F=N;break r}if(R=N+1|0,G=G+2|0,n[b>>2]=G,37!=(0|A[G>>0])){F=R;break}N=R,B=9}}while(0);if(R=F-m|0,r&&vn(e,m,R),0|R)p=R,w=Z;else{if(R=0==(0|nb(0|A[1+(0|n[b>>2])>>0])),U=0|n[b>>2],R||36!=(0|A[U+2>>0])?(g=-1,Y=v,M=1):(g=(0|A[U+1>>0])-48|0,Y=1,M=3),R=U+M|0,n[b>>2]=R,(T=((U=0|A[R>>0])<<24>>24)-32|0)>>>0>31|0==(1<<T&75913|0))I=0,j=U,C=R;else for(T=0,Q=U,U=R;;){if(R=1<<(Q<<24>>24)-32|T,X=U+1|0,n[b>>2]=X,(z=((J=0|A[X>>0])<<24>>24)-32|0)>>>0>31|0==(1<<z&75913|0)){I=R,j=J,C=X;break}T=R,Q=J,U=X}if(j<<24>>24==42){if(0!=(0|nb(0|A[C+1>>0]))&&(U=0|n[b>>2],36==(0|A[U+2>>0])))n[t+((0|A[(Q=U+1|0)>>0])-48<<2)>>2]=10,O=0|n[f+((0|A[Q>>0])-48<<3)>>2],S=1,H=U+3|0;else{if(0|Y){D=-1;break}r?(U=3+(0|n[i>>2])&-4,Q=0|n[U>>2],n[i>>2]=U+4,x=Q):x=0,O=x,S=0,H=1+(0|n[b>>2])|0}n[b>>2]=H,P=(Q=(0|O)<0)?0-O|0:O,L=Q?8192|I:I,K=S,q=H}else{if((0|(Q=0|$a(b)))<0){D=-1;break}P=Q,L=I,K=Y,q=0|n[b>>2]}do{if(46==(0|A[q>>0])){if(42!=(0|A[q+1>>0])){n[b>>2]=q+1,$=Q=0|$a(b),ee=0|n[b>>2];break}if(0|nb(0|A[q+2>>0])&&(Q=0|n[b>>2],36==(0|A[Q+3>>0]))){n[t+((0|A[(U=Q+2|0)>>0])-48<<2)>>2]=10,T=0|n[f+((0|A[U>>0])-48<<3)>>2],U=Q+4|0,n[b>>2]=U,$=T,ee=U;break}if(0|K){D=-1;break e}r?(U=3+(0|n[i>>2])&-4,T=0|n[U>>2],n[i>>2]=U+4,re=T):re=0,T=2+(0|n[b>>2])|0,n[b>>2]=T,$=re,ee=T}else $=-1,ee=q}while(0);for(T=0,U=ee;;){if(((0|A[U>>0])-65|0)>>>0>57){D=-1;break e}if(Q=U,U=U+1|0,n[b>>2]=U,((fe=255&(ie=0|A[(0|A[Q>>0])-65+(15030+(58*T|0))>>0]))-1|0)>>>0>=8)break;T=fe}if(!(ie<<24>>24)){D=-1;break}Q=(0|g)>-1;do{if(ie<<24>>24==19){if(Q){D=-1;break e}B=50}else{if(Q){n[t+(g<<2)>>2]=fe,J=0|n[4+(X=f+(g<<3)|0)>>2],n[(R=l)>>2]=n[X>>2],n[R+4>>2]=J,B=50;break}if(!r){D=0;break e}Br(l,fe,i),Ae=0|n[b>>2]}}while(0);if(50==(0|B)){if(B=0,!r){p=0,w=Z,v=K;continue}Ae=U}J=0!=(0|T)&3==(15&(Q=0|A[Ae+-1>>0])|0)?-33&Q:Q,Q=-65537&L,R=0==(8192&L|0)?L:Q;r:do{switch(0|J){case 110:switch((255&T)<<24>>24){case 0:case 1:case 6:n[n[l>>2]>>2]=Z,p=0,w=Z,v=K;continue e;case 2:case 7:X=0|n[l>>2],n[X>>2]=Z,n[X+4>>2]=((0|Z)<0)<<31>>31,p=0,w=Z,v=K;continue e;case 3:a[n[l>>2]>>1]=Z,p=0,w=Z,v=K;continue e;case 4:A[n[l>>2]>>0]=Z,p=0,w=Z,v=K;continue e;default:p=0,w=Z,v=K;continue e}break;case 112:te=120,ae=$>>>0>8?$:8,oe=8|R,B=62;break;case 88:case 120:te=J,ae=$,oe=R,B=62;break;case 111:le=X=0|fo(z=0|n[(X=l)>>2],ne=0|n[X+4>>2],s),ce=0,ue=15494,se=0==(8&R|0)|(0|$)>(0|(be=k-X|0))?$:be+1|0,ke=R,de=z,_e=ne,B=68;break;case 105:case 100:if(z=0|n[(ne=l)>>2],(0|(be=0|n[ne+4>>2]))<0){ne=0|Do(0,0,0|z,0|be),X=E,n[(he=l)>>2]=ne,n[he+4>>2]=X,pe=1,we=15494,ve=ne,ye=X,B=67;break r}pe=0!=(2049&R|0)&1,we=0==(2048&R|0)?0==(1&R|0)?15494:15496:15495,ve=z,ye=be,B=67;break r;case 117:pe=0,we=15494,ve=0|n[(be=l)>>2],ye=0|n[be+4>>2],B=67;break;case 99:A[d>>0]=n[l>>2],me=d,Ze=0,Re=15494,Be=s,Ee=1,We=Q;break;case 109:Ve=0|yn(0|n[(be=18544)>>2]),B=72;break;case 115:Ve=0|(be=0|n[l>>2])?be:15504,B=72;break;case 67:n[c>>2]=n[l>>2],n[_>>2]=0,n[l>>2]=c,Ne=-1,Ge=c,B=76;break;case 83:be=0|n[l>>2],$?(Ne=$,Ge=be,B=76):(Ea(e,32,P,0,R),Fe=0,B=85);break;case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:p=0|xA(e,+h[l>>3],P,$,R,J),w=Z,v=K;continue e;default:me=m,Ze=0,Re=15494,Be=s,Ee=$,We=R}}while(0);r:do{if(62==(0|B))B=0,le=m=0|za(J=0|n[(m=l)>>2],T=0|n[m+4>>2],s,32&te),ce=(U=0==(8&oe|0)|0==(0|J)&0==(0|T))?0:2,ue=U?15494:15494+(te>>4)|0,se=ae,ke=oe,de=J,_e=T,B=68;else if(67==(0|B))B=0,le=0|qt(ve,ye,s),ce=pe,ue=we,se=$,ke=R,de=ve,_e=ye,B=68;else if(72==(0|B))B=0,me=Ve,Ze=0,Re=15494,Be=(J=0==(0|(T=0|Ri(Ve,0,$))))?Ve+$|0:T,Ee=J?$:T-Ve|0,We=Q;else if(76==(0|B)){for(B=0,T=Ge,J=0,U=0;;){if(!(m=0|n[T>>2])){Ue=J,ge=U;break}if((0|(be=0|hn(u,m)))<0|be>>>0>(Ne-J|0)>>>0){Ue=J,ge=be;break}if(!(Ne>>>0>(m=be+J|0)>>>0)){Ue=m,ge=be;break}T=T+4|0,J=m,U=be}if((0|ge)<0){D=-1;break e}if(Ea(e,32,P,Ue,R),Ue)for(U=Ge,J=0;;){if(!(T=0|n[U>>2])){Fe=Ue,B=85;break r}if((0|(J=(be=0|hn(u,T))+J|0))>(0|Ue)){Fe=Ue,B=85;break r}if(vn(e,u,be),J>>>0>=Ue>>>0){Fe=Ue,B=85;break}U=U+4|0}else Fe=0,B=85}}while(0);if(68==(0|B))B=0,J=k-le+(1&(1^(Q=0!=(0|de)|0!=(0|_e))))|0,me=(U=0!=(0|se)|Q)?le:s,Ze=ce,Re=ue,Be=s,Ee=U?(0|se)>(0|J)?se:J:se,We=(0|se)>-1?-65537&ke:ke;else if(85==(0|B)){B=0,Ea(e,32,P,Fe,8192^R),p=(0|P)>(0|Fe)?P:Fe,w=Z,v=K;continue}Ea(e,32,be=(0|P)<(0|(Q=(U=(0|Ee)<(0|(J=Be-me|0))?J:Ee)+Ze|0))?Q:P,Q,We),vn(e,Re,Ze),Ea(e,48,be,Q,65536^We),Ea(e,48,U,J,0),vn(e,me,J),Ea(e,32,be,Q,8192^We),p=be,w=Z,v=K}}e:do{if(88==(0|B))if(e)D=Z;else if(v){for(K=1;;){if(!(w=0|n[t+(K<<2)>>2])){Ye=K;break}if(Br(f+(K<<3)|0,w,i),w=K+1|0,!((0|K)<9)){Ye=w;break}K=w}if((0|Ye)<10)for(K=Ye;;){if(0|n[t+(K<<2)>>2]){D=-1;break e}if(!((0|K)<9)){D=1;break}K=K+1|0}else D=1}else D=0}while(0);return y=o,0|D}function LA(e,r,i,f){i|=0,f|=0;var t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0;t=y,y=y+80|0,a=t+76|0,o=t+72|0,b=t+48|0,l=t+24|0,c=t,u=32+(e|=0)|0,r=1+(s=0|n[(r|=0)>>2])|0,-1!=(0|s)?(k=0==(0|(r>>>0)%3)?s+-2|0:r,r=(0==(0|(s>>>0)%3)?2:-1)+s|0,d=-1==(0|k)?-1:0|n[(0|n[n[u>>2]>>2])+(k<<2)>>2],-1==(0|r)?(_=d,h=-1):(_=d,h=0|n[(0|n[n[u>>2]>>2])+(r<<2)>>2])):(_=-1,h=-1),r=0|n[e+36>>2],u=0|n[r>>2],(d=(0|n[r+4>>2])-u>>2)>>>0<=_>>>0&&On(),u=0|n[(k=u)+(_<<2)>>2],d>>>0<=h>>>0&&On(),r=0|n[k+(h<<2)>>2],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g,0|p),j=E,U=0|Do(0|V,0|F,0|Y,0|N),F=E,V=0|To(0|S,0|j,0|S,0|j),j=E,F=0|Ho(0|(S=0|To(0|U,0|F,0|U,0|F)),0|E,0|V,0|j),j=E,V=e+16|0,X=(0|(U=0|n[(S=e+20|0)>>2]))==((Q=0|n[e+24>>2])<<5|0),M>>>0<j>>>0|(0|M)==(0|j)&H>>>0<F>>>0){do{if(X){if(!((U+1|0)<0)){F=Q<<6,H=U+32&-32,Lf(V,U>>>0<1073741823?F>>>0<H>>>0?H:F:2147483647),fe=0|n[S>>2];break}On()}else fe=U}while(0);n[S>>2]=fe+1,I=(0|n[V>>2])+(fe>>>5<<2)|0,n[I>>2]=n[I>>2]|1<<(31&fe),Ae=Z,te=d}else{do{if(X){if(!((U+1|0)<0)){I=Q<<6,C=U+32&-32,Lf(V,U>>>0<1073741823?I>>>0<C>>>0?C:I:2147483647),ae=0|n[S>>2];break}On()}else ae=U}while(0);n[S>>2]=ae+1,U=(0|n[V>>2])+(ae>>>5<<2)|0,n[U>>2]=n[U>>2]&~(1<<(31&ae)),Ae=g,te=Y}return n[e+8>>2]=Ae,n[e+12>>2]=te,y=t,1}}while(0);do{if(!h){if((0|f)>0){oe=(f<<1)-2|0;break}return n[(te=e+8|0)>>2]=0,n[te+4>>2]=0,y=t,1}oe=u<<1}while(0);return n[e+8>>2]=n[i+(oe<<2)>>2],n[e+12>>2]=n[i+(oe+1<<2)>>2],y=t,1}function KA(e,r,i,f){i|=0,f|=0;var t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0;t=y,y=y+80|0,a=t+76|0,o=t+72|0,b=t+48|0,l=t+24|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=E,F=0|Do(0|z,0|k,0|g,0|N),N=E,g=0|ma(0|Y,0|p,0|C,0|I),p=E,Y=0|ma(0|F,0|N,0|C,0|I),N=E,j=((0|(U=0|n[i+((F=f<<1)<<2)>>2]))<0)<<31>>31,F=((0|(V=0|n[i+((1|F)<<2)>>2]))<0)<<31>>31,Q=0|Do(0|U,0|j,0|Z,0|G),M=E,X=0|Do(0|V,0|F,0|r,0|T),H=E,S=0|To(0|Q,0|M,0|Q,0|M),M=E,H=0|Ho(0|(Q=0|To(0|X,0|H,0|X,0|H)),0|E,0|S,0|M),M=E,S=0|Do(0|U,0|j,0|g,0|p),j=E,U=0|Do(0|V,0|F,0|Y,0|N),F=E,V=0|To(0|S,0|j,0|S,0|j),j=E,F=0|Ho(0|(S=0|To(0|U,0|F,0|U,0|F)),0|E,0|V,0|j),j=E,V=e+16|0,X=(0|(U=0|n[(S=e+20|0)>>2]))==((Q=0|n[e+24>>2])<<5|0),M>>>0<j>>>0|(0|M)==(0|j)&H>>>0<F>>>0){do{if(X){if(!((U+1|0)<0)){F=Q<<6,H=U+32&-32,Lf(V,U>>>0<1073741823?F>>>0<H>>>0?H:F:2147483647),fe=0|n[S>>2];break}On()}else fe=U}while(0);n[S>>2]=fe+1,I=(0|n[V>>2])+(fe>>>5<<2)|0,n[I>>2]=n[I>>2]|1<<(31&fe),Ae=Z,te=r}else{do{if(X){if(!((U+1|0)<0)){I=Q<<6,C=U+32&-32,Lf(V,U>>>0<1073741823?I>>>0<C>>>0?C:I:2147483647),ae=0|n[S>>2];break}On()}else ae=U}while(0);n[S>>2]=ae+1,U=(0|n[V>>2])+(ae>>>5<<2)|0,n[U>>2]=n[U>>2]&~(1<<(31&ae)),Ae=g,te=Y}return n[e+8>>2]=Ae,n[e+12>>2]=te,y=t,1}}while(0);do{if(!_){if((0|f)>0){oe=(f<<1)-2|0;break}return n[(te=e+8|0)>>2]=0,n[te+4>>2]=0,y=t,1}oe=s<<1}while(0);return n[e+8>>2]=n[i+(oe<<2)>>2],n[e+12>>2]=n[i+(oe+1<<2)>>2],y=t,1}function qA(e,r,i,f){r|=0,i|=0;var t=0,o=0,b=0,c=0,s=0,k=0,_=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,G=0,U=q,Y=0,M=0,T=0,I=0;if(!(f|=0))return 0;switch(0|n[28+(e|=0)>>2]){case 1:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(b=0|n[n[e>>2]>>2])+(k=0|Ho(0|(s=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,k=0;;){if(b=0|A[c>>0],n[(s=f+(k<<3)|0)>>2]=b,n[s+4>>2]=((0|b)<0)<<31>>31,(0|(k=k+1|0))>=(((b=0|A[t>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){_=b;break}c=c+1|0}else _=o;return _<<24>>24>=i<<24>>24||IA(f+((c=_<<24>>24)<<3)|0,0,(i<<24>>24)-c<<3|0),1;case 2:if(((k=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(s=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(n[(t=f+(p<<3)|0)>>2]=l[b>>0],n[t+4>>2]=0,(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){w=t;break}b=b+1|0}else w=k;return w<<24>>24>=i<<24>>24||IA(f+((b=w<<24>>24)<<3)|0,0,(i<<24>>24)-b<<3|0),1;case 3:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(s=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,s=0;;){if(c=0|a[o>>1],n[(t=f+(s<<3)|0)>>2]=c,n[t+4>>2]=((0|c)<0)<<31>>31,(0|(s=s+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){v=c;break}o=o+2|0}else v=p;return v<<24>>24>=i<<24>>24||IA(f+((o=v<<24>>24)<<3)|0,0,(i<<24>>24)-o<<3|0),1;case 4:if(((s=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:s)<<24>>24>0)for(k=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(k=e+40|0)>>2],0|n[k+4>>2],0|n[r>>2],0)),0|E,0|n[(k=e+48|0)>>2],0|n[k+4>>2]))|0,t=0;;){if(n[(b=f+(t<<3)|0)>>2]=u[k>>1],n[b+4>>2]=0,(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){y=b;break}k=k+2|0}else y=s;return y<<24>>24>=i<<24>>24||IA(f+((k=y<<24>>24)<<3)|0,0,(i<<24>>24)-k<<3|0),1;case 5:if(((t=0|A[(k=e+24|0)>>0])<<24>>24>i<<24>>24?i:t)<<24>>24>0)for(p=(o=0|n[n[e>>2]>>2])+(c=0|Ho(0|(b=0|To(0|n[(p=e+40|0)>>2],0|n[p+4>>2],0|n[r>>2],0)),0|E,0|n[(p=e+48|0)>>2],0|n[p+4>>2]))|0,c=0;;){if(o=0|n[p>>2],n[(b=f+(c<<3)|0)>>2]=o,n[b+4>>2]=((0|o)<0)<<31>>31,(0|(c=c+1|0))>=(((o=0|A[k>>0])<<24>>24>i<<24>>24?i:o)<<24>>24|0)){m=o;break}p=p+4|0}else m=t;return m<<24>>24>=i<<24>>24||IA(f+((p=m<<24>>24)<<3)|0,0,(i<<24>>24)-p<<3|0),1;case 6:if(((c=0|A[(p=e+24|0)>>0])<<24>>24>i<<24>>24?i:c)<<24>>24>0)for(s=(k=0|n[n[e>>2]>>2])+(b=0|Ho(0|(o=0|To(0|n[(s=e+40|0)>>2],0|n[s+4>>2],0|n[r>>2],0)),0|E,0|n[(s=e+48|0)>>2],0|n[s+4>>2]))|0,b=0;;){if(n[(k=f+(b<<3)|0)>>2]=n[s>>2],n[k+4>>2]=0,(0|(b=b+1|0))>=(((k=0|A[p>>0])<<24>>24>i<<24>>24?i:k)<<24>>24|0)){Z=k;break}s=s+4|0}else Z=c;return Z<<24>>24>=i<<24>>24||IA(f+((s=Z<<24>>24)<<3)|0,0,(i<<24>>24)-s<<3|0),1;case 7:if(((b=0|A[(s=e+24|0)>>0])<<24>>24>i<<24>>24?i:b)<<24>>24>0)for(t=(p=0|n[n[e>>2]>>2])+(o=0|Ho(0|(k=0|To(0|n[(t=e+40|0)>>2],0|n[t+4>>2],0|n[r>>2],0)),0|E,0|n[(t=e+48|0)>>2],0|n[t+4>>2]))|0,o=0;;){if(k=0|n[(p=t)+4>>2],n[(R=f+(o<<3)|0)>>2]=n[p>>2],n[R+4>>2]=k,(0|(o=o+1|0))>=(((k=0|A[s>>0])<<24>>24>i<<24>>24?i:k)<<24>>24|0)){B=k;break}t=t+8|0}else B=b;return B<<24>>24>=i<<24>>24||IA(f+((t=B<<24>>24)<<3)|0,0,(i<<24>>24)-t<<3|0),1;case 8:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(s=0|n[n[e>>2]>>2])+(R=0|Ho(0|(k=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,R=0;;){if(k=0|n[(s=c)+4>>2],n[(p=f+(R<<3)|0)>>2]=n[s>>2],n[p+4>>2]=k,(0|(R=R+1|0))>=(((k=0|A[t>>0])<<24>>24>i<<24>>24?i:k)<<24>>24|0)){G=k;break}c=c+8|0}else G=o;return G<<24>>24>=i<<24>>24||IA(f+((c=G<<24>>24)<<3)|0,0,(i<<24>>24)-c<<3|0),1;case 9:if(((R=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:R)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(k=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(U=g(d[b>>2]),t=+V(+U)>=1?+U>0?~~+F(+W(+U/4294967296),4294967295)>>>0:~~+N((+U-+(~~+U>>>0))/4294967296)>>>0:0,n[(k=f+(p<<3)|0)>>2]=~~+U>>>0,n[k+4>>2]=t,(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){Y=t;break}b=b+4|0}else Y=R;return Y<<24>>24>=i<<24>>24||IA(f+((b=Y<<24>>24)<<3)|0,0,(i<<24>>24)-b<<3|0),1;case 10:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(k=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,k=0;;){if(M=+h[o>>3],c=+V(M)>=1?M>0?~~+F(+W(M/4294967296),4294967295)>>>0:~~+N((M-+(~~M>>>0))/4294967296)>>>0:0,n[(t=f+(k<<3)|0)>>2]=~~M>>>0,n[t+4>>2]=c,(0|(k=k+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){T=c;break}o=o+8|0}else T=p;return T<<24>>24>=i<<24>>24||IA(f+((o=T<<24>>24)<<3)|0,0,(i<<24>>24)-o<<3|0),1;case 11:if(((k=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(R=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(R=e+40|0)>>2],0|n[R+4>>2],0|n[r>>2],0)),0|E,0|n[(R=e+48|0)>>2],0|n[R+4>>2]))|0,t=0;;){if(n[(b=f+(t<<3)|0)>>2]=l[R>>0],n[b+4>>2]=0,(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){I=b;break}R=R+1|0}else I=k;return I<<24>>24>=i<<24>>24||IA(f+((R=I<<24>>24)<<3)|0,0,(i<<24>>24)-R<<3|0),1;default:return 0}return 0}function $A(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0;if(i=y,y=y+16|0,f=i+8|0,A=i,(0|n[92+(e|=0)>>2])==(0|n[e+88>>2]))return y=i,1;if((0|(a=0|n[(t=e+52|0)>>2]))==(0|n[e+56>>2])?(sA(e+48|0,r),o=r):(n[a>>2]=n[r>>2],n[t>>2]=a+4,o=r),n[(r=e+84|0)>>2]=0,t=0|n[(a=e+4|0)>>2],l=1+(b=0|n[o>>2])|0,-1!=(0|b)?(u=-1==(0|(c=0==(0|(l>>>0)%3)?b+-2|0:l))?-1:0|n[(0|n[t>>2])+(c<<2)>>2],-1==(0|(c=(0==(0|(b>>>0)%3)?2:-1)+b|0))?(s=u,k=-1):(s=u,k=0|n[(0|n[t>>2])+(c<<2)>>2])):(s=-1,k=-1),t=0|n[(c=e+36|0)>>2],b=1<<(31&s),(l=0|n[(u=t+(s>>>5<<2)|0)>>2])&b?h=t:(n[u>>2]=l|b,l=1+(b=0|n[o>>2])|0,d=-1==(0|b)?-1:0==(0|(l>>>0)%3)?b+-2|0:l,n[A>>2]=d,l=0|n[(0|n[96+(0|n[e+16>>2])>>2])+(12*((d>>>0)/3|0)|0)+(((d>>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4>>2],(0|(d=0|n[(k=p+4|0)>>2]))==(0|n[p+8>>2])?sA(p,f):(n[d>>2]=w,n[k>>2]=d+4),k=0|n[(d=e+12|0)>>2],(0|(p=0|n[(w=k+4|0)>>2]))==(0|n[k+8>>2])?(sA(k,A),m=0|n[d>>2]):(n[p>>2]=n[A>>2],n[w>>2]=p+4,m=k),k=m+24|0,n[(0|n[m+12>>2])+(v<<2)>>2]=n[k>>2],n[k>>2]=1+(0|n[k>>2])),k=0|n[r>>2];e:do{if((0|k)<3){for(v=e+24|0,m=e+16|0,p=e+20|0,w=e+12|0,d=e+88|0,h=k;;){for(t=h;R=0|n[(Z=e+48+(12*t|0)+4|0)>>2],(0|n[e+48+(12*t|0)>>2])==(0|R);){if(!((0|t)<2))break e;t=t+1|0}if(_=0|n[(s=R+-4|0)>>2],n[Z>>2]=s,n[r>>2]=t,n[o>>2]=_,-1==(0|_))break;s=(_>>>0)/3|0,b=0|n[v>>2];do{if(n[b+(s>>>5<<2)>>2]&1<<(31&s))J=t;else{l=_,u=b;r:for(;;){if(n[(E=u+((B=(l>>>0)/3|0)>>>5<<2)|0)>>2]=1<<(31&B)|n[E>>2],W=-1==(0|(E=0|n[o>>2]))?-1:0|n[(0|n[n[a>>2]>>2])+(E<<2)>>2],B=(0|n[c>>2])+(W>>>5<<2)|0,(V=1<<(31&W))&(N=0|n[B>>2])?U=E:(n[B>>2]=N|V,V=0|n[o>>2],n[A>>2]=V,N=0|n[(0|n[96+(0|n[m>>2])>>2])+(12*((V>>>0)/3|0)|0)+(((V>>>0)%3|0)<<2)>>2],V=0|n[p>>2],n[f>>2]=N,B=0|n[V+4>>2],(0|(G=0|n[(V=B+4|0)>>2]))==(0|n[B+8>>2])?sA(B,f):(n[G>>2]=N,n[V>>2]=G+4),G=0|n[w>>2],(0|(N=0|n[(V=G+4|0)>>2]))==(0|n[G+8>>2])?(sA(G,A),F=0|n[w>>2]):(n[N>>2]=n[A>>2],n[V>>2]=N+4,F=G),G=F+24|0,n[(0|n[F+12>>2])+(W<<2)>>2]=n[G>>2],n[G>>2]=1+(0|n[G>>2]),U=0|n[o>>2]),E=0|n[a>>2],-1==(0|U)){g=93;break}Y=-1==(0|(N=0==(0|((G=U+1|0)>>>0)%3)?U+-2|0:G))?-1:0|n[(0|n[E+12>>2])+(N<<2)>>2],M=-1==(0|(N=(0==(0|(U>>>0)%3)?2:-1)+U|0))?-1:0|n[(0|n[E+12>>2])+(N<<2)>>2],G=(N=-1==(0|Y))?-1:(Y>>>0)/3|0,B=(V=-1==(0|M))?-1:(M>>>0)/3|0,T=N?1:0!=(n[(0|n[v>>2])+(G>>>5<<2)>>2]&1<<(31&G)|0);do{if(V){if(T){g=93;break r}g=82}else{if(n[(0|n[v>>2])+(B>>>5<<2)>>2]&1<<(31&B)|0){if(T){g=93;break r}g=82;break}if(1<<(31&(G=0|n[(0|n[E>>2])+(M<<2)>>2]))&n[(0|n[c>>2])+(G>>>5<<2)>>2]?j=0:(I=(0|n[d>>2])+(G<<2)|0,G=0|n[I>>2],n[I>>2]=G+1,j=(0|G)>0?1:2),T&&(0|j)<=(0|n[r>>2])){C=M;break}if(n[f>>2]=M,(0|(I=0|n[(G=e+48+(12*j|0)+4|0)>>2]))==(0|n[e+48+(12*j|0)+8>>2])?sA(e+48+(12*j|0)|0,f):(n[I>>2]=M,n[G>>2]=I+4),(0|n[r>>2])>(0|j)&&(n[r>>2]=j),T){g=93;break r}g=82}}while(0);if(82==(0|g)){if(g=0,1<<(31&(Q=N?-1:0|n[(0|n[n[a>>2]>>2])+(Y<<2)>>2]))&n[(0|n[c>>2])+(Q>>>5<<2)>>2]?X=0:(E=(0|n[d>>2])+(Q<<2)|0,B=0|n[E>>2],n[E>>2]=B+1,X=(0|B)>0?1:2),(0|X)>(0|n[r>>2]))break;C=Y}n[o>>2]=C,l=C,u=0|n[v>>2]}if(93==(0|g)){g=0,J=0|n[r>>2];break}n[f>>2]=Y,(0|(l=0|n[(u=e+48+(12*X|0)+4|0)>>2]))==(0|n[e+48+(12*X|0)+8>>2])?sA(e+48+(12*X|0)|0,f):(n[l>>2]=Y,n[u>>2]=l+4),(0|(l=0|n[r>>2]))>(0|X)?(n[r>>2]=X,z=X):z=l,J=z}}while(0);if(!((0|J)<3))break e;h=J}return y=i,1}}while(0);return n[o>>2]=-1,y=i,1}function et(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}et(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,et(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function rt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}rt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,rt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function it(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}it(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,it(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function ft(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}ft(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,ft(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function At(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}At(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,At(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function tt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}tt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,tt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function at(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}at(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,at(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function ot(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}ot(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,ot(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function nt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}nt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,nt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function bt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}bt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,bt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function lt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}lt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,lt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function ct(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}ct(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,ct(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function ut(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}ut(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,ut(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function st(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}st(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,st(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function kt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}kt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,kt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function dt(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}dt(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,dt(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function _t(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}_t(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,_t(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function ht(e,r,i){i|=0;var f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0;f=e|=0,e=r|=0;e:for(;;){for(r=e,A=e+-4|0,t=f;;){a=t;r:for(;;){switch(0|(l=(b=r-(o=a)|0)>>2)){case 2:c=5;break e;case 3:c=11;break e;case 4:c=12;break e;case 5:c=13;break e;case 1:case 0:c=84;break e}if((0|b)<124){c=15;break e}if(u=a+(((0|l)/2|0)<<2)|0,s=(0|b)>3996?0|_i(a,a+((b=(0|l)/4|0)<<2)|0,u,u+(b<<2)|0,A,i):0|Ji(a,u,A,i),k=0|n[a>>2],b=0|n[u>>2],d=0|n[i>>2],l=0|n[d>>2],(_=(0|n[d+4>>2])-l>>3)>>>0<=k>>>0){c=20;break e}if(h=l,_>>>0<=b>>>0){c=22;break e}if((l=0|n[h+(k<<3)>>2])>>>0<(p=0|n[h+(b<<3)>>2])>>>0){w=A,v=s;break}for(y=A;(0|a)!=(0|(y=y+-4|0));){if(_>>>0<=(m=0|n[y>>2])>>>0){c=51;break e}if((0|n[h+(m<<3)>>2])>>>0<p>>>0){c=53;break r}}if(p=a+4|0,_>>>0<=(b=0|n[A>>2])>>>0){c=26;break e}if(l>>>0<(0|n[h+(b<<3)>>2])>>>0)Z=p;else{if((0|p)==(0|A)){c=84;break e}for(R=p;;){if(_>>>0<=(B=0|n[R>>2])>>>0){c=32;break e}if(l>>>0<(0|n[h+(B<<3)>>2])>>>0)break;if((0|(p=R+4|0))==(0|A)){c=84;break e}R=p}n[R>>2]=b,n[A>>2]=B,Z=R+4|0}if((0|Z)==(0|A)){c=84;break e}if(h=0|n[a>>2],E=0|n[i>>2],l=0|n[E>>2],(_=(0|n[E+4>>2])-l>>3)>>>0<=h>>>0){c=38;break e}for(p=l,l=A,W=Z,V=h;;){for(h=p+(V<<3)|0,N=_>>>0>V>>>0,G=W;;){if(_>>>0<=(F=0|n[G>>2])>>>0){c=40;break e}if((U=0|n[h>>2])>>>0<(0|n[p+(F<<3)>>2])>>>0)break;if(!N){c=38;break e}G=G+4|0}if(!(_>>>0>V>>>0)){c=46;break e}g=l;do{if(_>>>0<=(Y=0|n[(g=g+-4|0)>>2])>>>0){c=47;break e}}while(U>>>0<(0|n[p+(Y<<3)>>2])>>>0);if(G>>>0>=g>>>0){a=G;continue r}if(N=0|n[G>>2],n[G>>2]=Y,n[g>>2]=N,_>>>0<=(V=0|n[a>>2])>>>0){c=38;break e}l=g,W=G+4|0}}53==(0|c)&&(c=0,n[a>>2]=m,n[y>>2]=k,w=y,v=s+1|0),W=a+4|0;r:do{if(W>>>0<w>>>0){if(l=0|n[W>>2],V=0|n[i>>2],_=0|n[V>>2],!((p=(0|n[V+4>>2])-_>>3)>>>0>l>>>0)){V,c=57;break e}for(M=w,T=W,I=v,j=u,C=p,Q=_,X=V,J=l;;){for(l=4+(V=0|n[i>>2])|0,_=0|n[j>>2],p=T,b=Q,N=C,z=X,h=J;;){if(F=b,N>>>0<=_>>>0){c=59;break e}if((0|n[F+(h<<3)>>2])>>>0>=(0|n[F+(_<<3)>>2])>>>0)break;if(O=0|n[(F=p+4|0)>>2],b=0|n[V>>2],(N=(0|n[l>>2])-b>>3)>>>0<=O>>>0){V,c=57;break e}p=F,z=V,h=O}if(V=0|n[j>>2],b=(N=Q=0|n[z>>2])+(V<<3)|0,!((C=(0|n[z+4>>2])-Q>>3)>>>0>V>>>0)){c=65;break e}S=M;do{if(C>>>0<=(H=0|n[(S=S+-4|0)>>2])>>>0){c=66;break e}}while((0|n[N+(H<<3)>>2])>>>0>=(0|n[b>>2])>>>0);if(p>>>0>S>>>0){D=j,x=I,P=p;break r}if(n[p>>2]=H,n[S>>2]=h,C>>>0<=(J=0|n[(T=p+4|0)>>2])>>>0){z,c=57;break e}M=S,I=I+1|0,j=(0|j)==(0|p)?S:j,X=z}}else D=u,x=v,P=W}while(0);if((0|P)!=(0|D)){if(W=0|n[D>>2],b=0|n[P>>2],L=0|n[i>>2],N=0|n[L>>2],(V=(0|n[L+4>>2])-N>>3)>>>0<=W>>>0){c=72;break e}if(l=N,V>>>0<=b>>>0){c=74;break e}(0|n[l+(W<<3)>>2])>>>0<(0|n[l+(b<<3)>>2])>>>0?(n[P>>2]=W,n[D>>2]=b,K=x+1|0):K=x}else K=x;if(!K){if(q=0|Ar(a,P,i),0|Ar(b=P+4|0,e,i)){c=83;break}if(q){t=b;continue}}if(((b=P)-o|0)>=(r-b|0)){c=82;break}ht(a,P,i),t=P+4|0}if(82!=(0|c))if(83!=(0|c));else{if(c=0,q){c=84;break}f=a,e=P}else c=0,ht(P+4|0,e,i),f=a,e=P}switch(0|c){case 5:if(c=0|n[A>>2],P=0|n[a>>2],f=0|n[i>>2],q=0|n[f>>2],(o=(0|n[f+4>>2])-q>>3)>>>0<=c>>>0&&On(),K=q,o>>>0<=P>>>0&&On(),(0|n[K+(c<<3)>>2])>>>0>=(0|n[K+(P<<3)>>2])>>>0)return;return n[a>>2]=c,void(n[A>>2]=P);case 11:return void Ji(a,a+4|0,A,i);case 12:return void Ki(a,a+4|0,a+8|0,A,i);case 13:return void _i(a,a+4|0,a+8|0,a+12|0,A,i);case 15:return void Li(a,e,i);case 20:case 22:case 26:case 32:case 51:case 38:case 40:case 46:case 47:case 57:case 59:case 66:case 72:case 74:On();break;case 65:n[M+-4>>2],On();break;case 84:return}}function pt(e,r,i,f){r|=0,i|=0;var t=0,o=0,b=0,c=0,s=0,k=0,_=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0;if(!(f|=0))return 0;switch(0|n[28+(e|=0)>>2]){case 1:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(b=0|n[n[e>>2]>>2])+(k=0|Ho(0|(s=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,k=0;;){if(n[f+(k<<2)>>2]=A[c>>0],(0|(k=k+1|0))>=(((b=0|A[t>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){_=b;break}c=c+1|0}else _=o;return _<<24>>24>=i<<24>>24||IA(f+((c=_<<24>>24)<<2)|0,0,(i<<24>>24)-c<<2|0),1;case 2:if(((k=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(s=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(n[f+(p<<2)>>2]=l[b>>0],(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){w=t;break}b=b+1|0}else w=k;return w<<24>>24>=i<<24>>24||IA(f+((b=w<<24>>24)<<2)|0,0,(i<<24>>24)-b<<2|0),1;case 3:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(s=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,s=0;;){if(n[f+(s<<2)>>2]=a[o>>1],(0|(s=s+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){v=c;break}o=o+2|0}else v=p;return v<<24>>24>=i<<24>>24||IA(f+((o=v<<24>>24)<<2)|0,0,(i<<24>>24)-o<<2|0),1;case 4:if(((s=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:s)<<24>>24>0)for(k=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(k=e+40|0)>>2],0|n[k+4>>2],0|n[r>>2],0)),0|E,0|n[(k=e+48|0)>>2],0|n[k+4>>2]))|0,t=0;;){if(n[f+(t<<2)>>2]=u[k>>1],(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){y=b;break}k=k+2|0}else y=s;return y<<24>>24>=i<<24>>24||IA(f+((k=y<<24>>24)<<2)|0,0,(i<<24>>24)-k<<2|0),1;case 5:if(((t=0|A[(k=e+24|0)>>0])<<24>>24>i<<24>>24?i:t)<<24>>24>0)for(p=(o=0|n[n[e>>2]>>2])+(c=0|Ho(0|(b=0|To(0|n[(p=e+40|0)>>2],0|n[p+4>>2],0|n[r>>2],0)),0|E,0|n[(p=e+48|0)>>2],0|n[p+4>>2]))|0,c=0;;){if(n[f+(c<<2)>>2]=n[p>>2],(0|(c=c+1|0))>=(((o=0|A[k>>0])<<24>>24>i<<24>>24?i:o)<<24>>24|0)){m=o;break}p=p+4|0}else m=t;return m<<24>>24>=i<<24>>24||IA(f+((p=m<<24>>24)<<2)|0,0,(i<<24>>24)-p<<2|0),1;case 6:if(((c=0|A[(p=e+24|0)>>0])<<24>>24>i<<24>>24?i:c)<<24>>24>0)for(s=(k=0|n[n[e>>2]>>2])+(b=0|Ho(0|(o=0|To(0|n[(s=e+40|0)>>2],0|n[s+4>>2],0|n[r>>2],0)),0|E,0|n[(s=e+48|0)>>2],0|n[s+4>>2]))|0,b=0;;){if(n[f+(b<<2)>>2]=n[s>>2],(0|(b=b+1|0))>=(((k=0|A[p>>0])<<24>>24>i<<24>>24?i:k)<<24>>24|0)){Z=k;break}s=s+4|0}else Z=c;return Z<<24>>24>=i<<24>>24||IA(f+((s=Z<<24>>24)<<2)|0,0,(i<<24>>24)-s<<2|0),1;case 7:if(((b=0|A[(s=e+24|0)>>0])<<24>>24>i<<24>>24?i:b)<<24>>24>0)for(t=(p=0|n[n[e>>2]>>2])+(o=0|Ho(0|(k=0|To(0|n[(t=e+40|0)>>2],0|n[t+4>>2],0|n[r>>2],0)),0|E,0|n[(t=e+48|0)>>2],0|n[t+4>>2]))|0,o=0;;){if(n[f+(o<<2)>>2]=n[t>>2],(0|(o=o+1|0))>=(((p=0|A[s>>0])<<24>>24>i<<24>>24?i:p)<<24>>24|0)){R=p;break}t=t+8|0}else R=b;return R<<24>>24>=i<<24>>24||IA(f+((t=R<<24>>24)<<2)|0,0,(i<<24>>24)-t<<2|0),1;case 8:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(s=0|n[n[e>>2]>>2])+(k=0|Ho(0|(p=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,k=0;;){if(n[f+(k<<2)>>2]=n[c>>2],(0|(k=k+1|0))>=(((s=0|A[t>>0])<<24>>24>i<<24>>24?i:s)<<24>>24|0)){B=s;break}c=c+8|0}else B=o;return B<<24>>24>=i<<24>>24||IA(f+((c=B<<24>>24)<<2)|0,0,(i<<24>>24)-c<<2|0),1;case 9:if(((k=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(s=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(t=~~g(d[b>>2])>>>0,n[f+(p<<2)>>2]=t,(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){W=t;break}b=b+4|0}else W=k;return W<<24>>24>=i<<24>>24||IA(f+((b=W<<24>>24)<<2)|0,0,(i<<24>>24)-b<<2|0),1;case 10:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(s=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,s=0;;){if(n[f+(s<<2)>>2]=~~+h[o>>3]>>>0,(0|(s=s+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){V=c;break}o=o+8|0}else V=p;return V<<24>>24>=i<<24>>24||IA(f+((o=V<<24>>24)<<2)|0,0,(i<<24>>24)-o<<2|0),1;case 11:if(((s=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:s)<<24>>24>0)for(k=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(k=e+40|0)>>2],0|n[k+4>>2],0|n[r>>2],0)),0|E,0|n[(k=e+48|0)>>2],0|n[k+4>>2]))|0,t=0;;){if(n[f+(t<<2)>>2]=l[k>>0],(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){N=b;break}k=k+1|0}else N=s;return N<<24>>24>=i<<24>>24||IA(f+((k=N<<24>>24)<<2)|0,0,(i<<24>>24)-k<<2|0),1;default:return 0}return 0}function wt(e,r,i,f){r|=0,i|=0;var t=0,o=0,b=0,c=0,s=0,k=0,_=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0;if(!(f|=0))return 0;switch(0|n[28+(e|=0)>>2]){case 1:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(b=0|n[n[e>>2]>>2])+(k=0|Ho(0|(s=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,k=0;;){if(n[f+(k<<2)>>2]=A[c>>0],(0|(k=k+1|0))>=(((b=0|A[t>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){_=b;break}c=c+1|0}else _=o;return _<<24>>24>=i<<24>>24||IA(f+((c=_<<24>>24)<<2)|0,0,(i<<24>>24)-c<<2|0),1;case 2:if(((k=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(s=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(n[f+(p<<2)>>2]=l[b>>0],(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){w=t;break}b=b+1|0}else w=k;return w<<24>>24>=i<<24>>24||IA(f+((b=w<<24>>24)<<2)|0,0,(i<<24>>24)-b<<2|0),1;case 3:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(s=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,s=0;;){if(n[f+(s<<2)>>2]=a[o>>1],(0|(s=s+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){v=c;break}o=o+2|0}else v=p;return v<<24>>24>=i<<24>>24||IA(f+((o=v<<24>>24)<<2)|0,0,(i<<24>>24)-o<<2|0),1;case 4:if(((s=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:s)<<24>>24>0)for(k=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(k=e+40|0)>>2],0|n[k+4>>2],0|n[r>>2],0)),0|E,0|n[(k=e+48|0)>>2],0|n[k+4>>2]))|0,t=0;;){if(n[f+(t<<2)>>2]=u[k>>1],(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){y=b;break}k=k+2|0}else y=s;return y<<24>>24>=i<<24>>24||IA(f+((k=y<<24>>24)<<2)|0,0,(i<<24>>24)-k<<2|0),1;case 5:if(((t=0|A[(k=e+24|0)>>0])<<24>>24>i<<24>>24?i:t)<<24>>24>0)for(p=(o=0|n[n[e>>2]>>2])+(c=0|Ho(0|(b=0|To(0|n[(p=e+40|0)>>2],0|n[p+4>>2],0|n[r>>2],0)),0|E,0|n[(p=e+48|0)>>2],0|n[p+4>>2]))|0,c=0;;){if(n[f+(c<<2)>>2]=n[p>>2],(0|(c=c+1|0))>=(((o=0|A[k>>0])<<24>>24>i<<24>>24?i:o)<<24>>24|0)){m=o;break}p=p+4|0}else m=t;return m<<24>>24>=i<<24>>24||IA(f+((p=m<<24>>24)<<2)|0,0,(i<<24>>24)-p<<2|0),1;case 6:if(((c=0|A[(p=e+24|0)>>0])<<24>>24>i<<24>>24?i:c)<<24>>24>0)for(s=(k=0|n[n[e>>2]>>2])+(b=0|Ho(0|(o=0|To(0|n[(s=e+40|0)>>2],0|n[s+4>>2],0|n[r>>2],0)),0|E,0|n[(s=e+48|0)>>2],0|n[s+4>>2]))|0,b=0;;){if(n[f+(b<<2)>>2]=n[s>>2],(0|(b=b+1|0))>=(((k=0|A[p>>0])<<24>>24>i<<24>>24?i:k)<<24>>24|0)){Z=k;break}s=s+4|0}else Z=c;return Z<<24>>24>=i<<24>>24||IA(f+((s=Z<<24>>24)<<2)|0,0,(i<<24>>24)-s<<2|0),1;case 7:if(((b=0|A[(s=e+24|0)>>0])<<24>>24>i<<24>>24?i:b)<<24>>24>0)for(t=(p=0|n[n[e>>2]>>2])+(o=0|Ho(0|(k=0|To(0|n[(t=e+40|0)>>2],0|n[t+4>>2],0|n[r>>2],0)),0|E,0|n[(t=e+48|0)>>2],0|n[t+4>>2]))|0,o=0;;){if(n[f+(o<<2)>>2]=n[t>>2],(0|(o=o+1|0))>=(((p=0|A[s>>0])<<24>>24>i<<24>>24?i:p)<<24>>24|0)){R=p;break}t=t+8|0}else R=b;return R<<24>>24>=i<<24>>24||IA(f+((t=R<<24>>24)<<2)|0,0,(i<<24>>24)-t<<2|0),1;case 8:if(((o=0|A[(t=e+24|0)>>0])<<24>>24>i<<24>>24?i:o)<<24>>24>0)for(c=(s=0|n[n[e>>2]>>2])+(k=0|Ho(0|(p=0|To(0|n[(c=e+40|0)>>2],0|n[c+4>>2],0|n[r>>2],0)),0|E,0|n[(c=e+48|0)>>2],0|n[c+4>>2]))|0,k=0;;){if(n[f+(k<<2)>>2]=n[c>>2],(0|(k=k+1|0))>=(((s=0|A[t>>0])<<24>>24>i<<24>>24?i:s)<<24>>24|0)){B=s;break}c=c+8|0}else B=o;return B<<24>>24>=i<<24>>24||IA(f+((c=B<<24>>24)<<2)|0,0,(i<<24>>24)-c<<2|0),1;case 9:if(((k=0|A[(c=e+24|0)>>0])<<24>>24>i<<24>>24?i:k)<<24>>24>0)for(b=(t=0|n[n[e>>2]>>2])+(p=0|Ho(0|(s=0|To(0|n[(b=e+40|0)>>2],0|n[b+4>>2],0|n[r>>2],0)),0|E,0|n[(b=e+48|0)>>2],0|n[b+4>>2]))|0,p=0;;){if(t=~~g(d[b>>2]),n[f+(p<<2)>>2]=t,(0|(p=p+1|0))>=(((t=0|A[c>>0])<<24>>24>i<<24>>24?i:t)<<24>>24|0)){W=t;break}b=b+4|0}else W=k;return W<<24>>24>=i<<24>>24||IA(f+((b=W<<24>>24)<<2)|0,0,(i<<24>>24)-b<<2|0),1;case 10:if(((p=0|A[(b=e+24|0)>>0])<<24>>24>i<<24>>24?i:p)<<24>>24>0)for(o=(c=0|n[n[e>>2]>>2])+(s=0|Ho(0|(t=0|To(0|n[(o=e+40|0)>>2],0|n[o+4>>2],0|n[r>>2],0)),0|E,0|n[(o=e+48|0)>>2],0|n[o+4>>2]))|0,s=0;;){if(n[f+(s<<2)>>2]=~~+h[o>>3],(0|(s=s+1|0))>=(((c=0|A[b>>0])<<24>>24>i<<24>>24?i:c)<<24>>24|0)){V=c;break}o=o+8|0}else V=p;return V<<24>>24>=i<<24>>24||IA(f+((o=V<<24>>24)<<2)|0,0,(i<<24>>24)-o<<2|0),1;case 11:if(((s=0|A[(o=e+24|0)>>0])<<24>>24>i<<24>>24?i:s)<<24>>24>0)for(k=(b=0|n[n[e>>2]>>2])+(t=0|Ho(0|(c=0|To(0|n[(k=e+40|0)>>2],0|n[k+4>>2],0|n[r>>2],0)),0|E,0|n[(k=e+48|0)>>2],0|n[k+4>>2]))|0,t=0;;){if(n[f+(t<<2)>>2]=l[k>>0],(0|(t=t+1|0))>=(((b=0|A[o>>0])<<24>>24>i<<24>>24?i:b)<<24>>24|0)){N=b;break}k=k+1|0}else N=s;return N<<24>>24>=i<<24>>24||IA(f+((k=N<<24>>24)<<2)|0,0,(i<<24>>24)-k<<2|0),1;default:return 0}return 0}function vt(e,r){e|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0;if(i=y,y=y+16|0,f=i+8|0,A=i,-1==(0|(o=0|n[(r|=0)>>2])))return y=i,1;if(l=(o>>>0)/3|0,n[(0|n[(t=e+24|0)>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)return y=i,1;c=0|n[(l=e+48|0)>>2],(0|(u=0|n[(a=e+52|0)>>2]))==(0|c)?s=c:(k=u+(~((u+-4-c|0)>>>2)<<2)|0,n[a>>2]=k,s=k),(0|s)==(0|n[(k=e+56|0)>>2])?sA(l,r):(n[s>>2]=o,n[a>>2]=s+4),o=0|n[(s=e+4|0)>>2],u=1+(c=0|n[r>>2])|0;do{if(-1!=(0|c)){if(d=0|n[o+28>>2],_=0|n[d+((0==(0|(u>>>0)%3)?c+-2|0:u)<<2)>>2],(c>>>0)%3|0){h=_,p=c+-1|0,w=d;break}h=_,p=c+2|0,w=d;break}d=0|n[o+28>>2],h=0|n[d+-4>>2],p=-1,w=d}while(0);if(-1==(0|h)|-1==(0|(o=0|n[w+(p<<2)>>2])))return y=i,0;if(w=0|n[(p=e+36|0)>>2],u=1<<(31&h),(d=0|n[(c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0,e=o,o=R;e:for(;;){if(R=0|n[e+-4>>2],n[r>>2]=R,w=(R>>>0)/3|0,-1!=(0|R)&&(R=(0|n[t>>2])+(w>>>5<<2)|0,h=1<<(31&w),0==((w=0|n[R>>2])&h|0))){if(n[R>>2]=w|h,h=0|n[s>>2],w=0|n[r>>2],-1==(0|(R=0|n[(0|n[h+28>>2])+(w<<2)>>2]))){b=0,E=79;break}W=R,V=h,N=w;r:for(;;){w=(0|n[p>>2])+(W>>>5<<2)|0,h=1<<(31&W),R=0|n[w>>2];do{if(R&h)U=N,g=V,E=59;else{if(G=-1==(0|(m=0|n[(0|n[V+40>>2])+(W<<2)>>2]))?1:0!=(1<<(31&(u=0|n[(0|n[n[V+64>>2]>>2])+(m<<2)>>2]))&n[(0|n[V+12>>2])+(u>>>5<<2)>>2]|0),n[w>>2]=R|h,u=0|n[r>>2],n[A>>2]=u,m=0|n[(0|n[96+(0|n[B>>2])>>2])+(12*((u>>>0)/3|0)|0)+(((u>>>0)%3|0)<<2)>>2],u=0|n[v>>2],n[f>>2]=m,d=0|n[u+4>>2],(0|(c=0|n[(u=d+4|0)>>2]))==(0|n[d+8>>2])?sA(d,f):(n[c>>2]=m,n[u>>2]=c+4),c=0|n[Z>>2],(0|(m=0|n[(u=c+4|0)>>2]))==(0|n[c+8>>2])?(sA(c,A),F=0|n[Z>>2]):(n[m>>2]=n[A>>2],n[u>>2]=m+4,F=c),c=F+24|0,n[(0|n[F+12>>2])+(W<<2)>>2]=n[c>>2],n[c>>2]=1+(0|n[c>>2]),c=0|n[s>>2],m=0|n[r>>2],G){U=m,g=c,E=59;break}u=m+1|0;do{if(-1==(0|m))Y=-1;else{if(-1==(0|(d=0==(0|(u>>>0)%3)?m+-2|0:u))){Y=-1;break}if(n[(0|n[c>>2])+(d>>>5<<2)>>2]&1<<(31&d)|0){Y=-1;break}Y=0|n[(0|n[12+(0|n[c+64>>2])>>2])+(d<<2)>>2]}}while(0);n[r>>2]=Y,M=(Y>>>0)/3|0,T=c}}while(0);if(59==(0|E)){if(E=0,h=U+1|0,-1==(0|U)){E=60;break}R=0==(0|(h>>>0)%3)?U+-2|0:h;do{if(-1==(0|R))I=-1;else{if(n[(0|n[g>>2])+(R>>>5<<2)>>2]&1<<(31&R)|0){I=-1;break}I=0|n[(0|n[12+(0|n[g+64>>2])>>2])+(R<<2)>>2]}}while(0);n[f>>2]=I,R=(0==(0|(U>>>0)%3)?2:-1)+U|0;do{if(-1==(0|R))j=-1;else{if(n[(0|n[g>>2])+(R>>>5<<2)>>2]&1<<(31&R)|0){j=-1;break}j=0|n[(0|n[12+(0|n[g+64>>2])>>2])+(R<<2)>>2]}}while(0);h=(I>>>0)/3|0,w=(R=-1==(0|I))?-1:h,m=(j>>>0)/3|0,d=(u=-1==(0|j))?-1:m;do{if(R)E=69;else{if(_=0|n[t>>2],n[_+(w>>>5<<2)>>2]&1<<(31&w)|0){E=69;break}if(u){C=I,Q=h;break}if(!(n[_+(d>>>5<<2)>>2]&1<<(31&d))){E=74;break r}C=I,Q=h}}while(0);if(69==(0|E)){if(E=0,u){E=71;break}if(n[(0|n[t>>2])+(d>>>5<<2)>>2]&1<<(31&d)){E=71;break}C=j,Q=m}n[r>>2]=C,M=Q,T=g}if(h=(0|n[t>>2])+(M>>>5<<2)|0,n[h>>2]=n[h>>2]|1<<(31&M),N=0|n[r>>2],-1==(0|(W=0|n[(0|n[T+28>>2])+(N<<2)>>2]))){b=0,E=79;break e}V=T}do{if(60==(0|E))E=0,n[f>>2]=-1,E=71;else if(74==(0|E)){if(E=0,h=0|n[a>>2],n[h+-4>>2]=j,(0|h)==(0|n[k>>2])){sA(l,f),X=0|n[a>>2];break}n[h>>2]=n[f>>2],w=h+4|0,n[a>>2]=w,X=w;break}}while(0);71==(0|E)&&(E=0,w=(0|n[a>>2])-4|0,n[a>>2]=w,X=w),J=0|n[l>>2],z=X}else w=e+-4|0,n[a>>2]=w,J=o,z=w;if((0|J)==(0|z)){b=1,E=79;break}e=z,o=J}return 79==(0|E)?(y=i,0|b):0}function yt(e,r){r|=0;var i,f,t,a,o=0,b=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,F=0,U=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=q,x=q,P=q,L=0,K=0,$=0,re=0;i=y,y=y+16|0,o=i,f=16+(e|=0)|0,n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,d[f>>2]=g(1),n[(t=e+20|0)>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,n[t+12>>2]=0,d[e+36>>2]=g(1),a=0|n[r+8>>2];e:do{if(0|a)for(b=e+4|0,c=e+12|0,u=e+8|0,s=a,k=a;;){if(w=(p=(h=0|A[11+(_=s+8|0)>>0])<<24>>24<0)?0|n[_>>2]:_,(v=p?0|n[s+12>>2]:255&h)>>>0>3){for(h=w,p=v,m=v;Z=0|G(l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24,1540483477),p=(0|G(Z>>>24^Z,1540483477))^(0|G(p,1540483477)),!((m=m+-4|0)>>>0<=3);)h=h+4|0;R=(h=v+-4|0)-(m=-4&h)|0,B=w+(m+4)|0,E=p}else R=v,B=w,E=v;switch(0|R){case 3:W=l[B+2>>0]<<16^E,V=8;break;case 2:W=E,V=8;break;case 1:F=E,V=9;break;default:U=E}8==(0|V)&&(V=0,F=l[B+1>>0]<<8^W,V=9),9==(0|V)&&(V=0,U=0|G(F^l[B>>0],1540483477)),h=(m=0|G(U>>>13^U,1540483477))>>>15^m,Z=0==(0|(m=0|n[b>>2]));r:do{if(Z)Q=0,V=50;else if(T=(M=0==((Y=m+-1|0)&m|0))?h&Y:h>>>0<m>>>0?h:(h>>>0)%(m>>>0)|0,0!=(0|(I=0|n[(0|n[e>>2])+(T<<2)>>2]))&&0!=(0|(j=0|n[I>>2]))){if(I=0==(0|v),M){if(I)for(M=j;;){if(!((0|(C=0|n[M+4>>2]))==(0|h)|(C&Y|0)==(0|T))){Q=T,V=50;break r}if(!(0|((C=0|A[M+8+11>>0])<<24>>24<0?0|n[M+12>>2]:255&C)))break r;if(!(M=0|n[M>>2])){Q=T,V=50;break r}}else X=j;for(;;){if(!((0|(M=0|n[X+4>>2]))==(0|h)|(M&Y|0)==(0|T))){Q=T,V=50;break r}J=(C=0|A[11+(M=X+8|0)>>0])<<24>>24<0,z=255&C;do{if((0|(J?0|n[X+12>>2]:z))==(0|v)){if(C=0|n[M>>2],J){if(0|Wa(C,w,v))break;break r}if((0|A[w>>0])==(255&C)<<24>>24){C=M,O=z,S=w;do{if(C=C+1|0,!(O=O+-1|0))break r;S=S+1|0}while((0|A[C>>0])==(0|A[S>>0]))}}}while(0);if(!(X=0|n[X>>2])){Q=T,V=50;break r}}}if(I)for(Y=j;;){if((0|(z=0|n[Y+4>>2]))!=(0|h)&&(0|(z>>>0<m>>>0?z:(z>>>0)%(m>>>0)|0))!=(0|T)){Q=T,V=50;break r}if(!(0|((z=0|A[Y+8+11>>0])<<24>>24<0?0|n[Y+12>>2]:255&z)))break r;if(!(Y=0|n[Y>>2])){Q=T,V=50;break r}}else H=j;for(;;){if((0|(Y=0|n[H+4>>2]))!=(0|h)&&(0|(Y>>>0<m>>>0?Y:(Y>>>0)%(m>>>0)|0))!=(0|T)){Q=T,V=50;break r}z=(I=0|A[11+(Y=H+8|0)>>0])<<24>>24<0,M=255&I;do{if((0|(z?0|n[H+12>>2]:M))==(0|v)){if(I=0|n[Y>>2],z){if(0|Wa(I,w,v))break;break r}if((0|A[w>>0])==(255&I)<<24>>24){I=Y,J=M,S=w;do{if(I=I+1|0,!(J=J+-1|0))break r;S=S+1|0}while((0|A[I>>0])==(0|A[S>>0]))}}}while(0);if(!(H=0|n[H>>2])){Q=T,V=50;break}}}else Q=T,V=50}while(0);if(50==(0|V)){V=0,iA(o,e,h,_),D=g((1+(0|n[c>>2])|0)>>>0),x=g(m>>>0),P=g(d[f>>2]);do{if(Z|g(P*x)<D){if(Tf(e,(w=m<<1|1&(m>>>0<3|0!=(m+-1&m|0)))>>>0<(v=~~g(N(g(D/P)))>>>0)>>>0?v:w),!((v=(w=0|n[b>>2])-1|0)&w)){L=w,K=v&h;break}h>>>0<w>>>0?(L=w,K=h):(L=w,K=(h>>>0)%(w>>>0)|0)}else L=m,K=Q}while(0);(m=0|n[(0|n[e>>2])+(K<<2)>>2])?(n[n[o>>2]>>2]=n[m>>2],n[m>>2]=n[o>>2]):(n[n[o>>2]>>2]=n[u>>2],n[u>>2]=n[o>>2],n[(0|n[e>>2])+(K<<2)>>2]=u,h=0|n[o>>2],0|(Z=0|n[h>>2])&&(_=0|n[Z+4>>2],$=(Z=L+-1|0)&L?_>>>0<L>>>0?_:(_>>>0)%(L>>>0)|0:_&Z,n[(0|n[e>>2])+($<<2)>>2]=h)),n[c>>2]=1+(0|n[c>>2])}if(!(m=0|n[k>>2]))break e;s=m,k=m}}while(0);if(o=0|n[r+28>>2]){re=o;do{if(o=re,yt(r=0|Uo(40),0|n[o+20>>2]),$=0|ee(t,o+8|0),o=0|n[$>>2],n[$>>2]=r,0|o){if(0|(r=0|n[o+28>>2])){$=r;do{r=$,$=0|n[$>>2],Sf(r+8|0),_b(r)}while(0!=(0|$))}if(r=0|n[($=o+20|0)>>2],n[$>>2]=0,0|r&&_b(r),0|(r=0|n[o+8>>2])){$=r;do{r=$,$=0|n[$>>2],e=r+8|0,0|(L=0|n[r+20>>2])&&((0|n[(K=r+24|0)>>2])!=(0|L)&&(n[K>>2]=L),_b(L)),(0|A[e+11>>0])<0&&_b(0|n[e>>2]),_b(r)}while(0!=(0|$))}$=0|n[o>>2],n[o>>2]=0,0|$&&_b($),_b(o)}re=0|n[re>>2]}while(0!=(0|re));y=i}else y=i}function mt(e,r,i){e|=0,r|=0,i|=0;var f,t,o,b,c,u,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,G=0,F=0,U=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,$=0,ee=0,re=0,ie=0,fe=q,Ae=q,te=q,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0;if(f=y,y=y+48|0,o=f+12|0,s=f,b=16+(t=f+16|0)|0,n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,n[t+12>>2]=0,d[b>>2]=g(1),k=0|n[(c=e+80|0)>>2],n[s>>2]=0,n[(u=s+4|0)>>2]=0,n[s+8>>2]=0,k){for(k>>>0>1073741823&&On(),h=0|Uo(_=k<<2),n[s>>2]=h,p=h+(k<<2)|0,n[s+8>>2]=p,IA(0|h,0,0|_),n[u>>2]=p,p=r+48|0,_=r+40|0,k=t+4|0,w=t+12|0,v=t+8|0,m=e+40|0,Z=e+64|0,R=0|n[i>>2],i=h,B=0,W=0,V=h,G=h,F=0,U=h;;){Y=0|n[(h=p)>>2],M=0|n[h+4>>2],h=0|Ho(0|(T=0|To(0|n[(h=_)>>2],0|n[h+4>>2],R+B|0,0)),0|E,0|Y,0|M),M=(0|n[n[r>>2]>>2])+h|0,h=l[M>>0]|l[M+1>>0]<<8|l[M+2>>0]<<16|l[M+3>>0]<<24,n[o>>2]=h,M=65535&h,T=65535&(Y=h>>>16),I=239+(65535&h^318)^Y,Y=0==(0|F);e:do{if(Y)ee=0,H=46;else{Q=(C=0==((j=F+-1|0)&F|0))?I&j:I>>>0<F>>>0?I:(I>>>0)%(F>>>0)|0,X=0|n[(0|n[t>>2])+(Q<<2)>>2];do{if(0|X&&0|(J=0|n[X>>2])){r:do{if(C)for(z=J;;){if(!((S=(0|(O=0|n[z+4>>2]))==(0|I))|(O&j|0)==(0|Q))){H=27;break r}if(S&&(0|a[(S=z+8|0)>>1])==M<<16>>16&&(0|a[S+2>>1])==T<<16>>16){D=z,H=26;break r}if(!(z=0|n[z>>2])){H=27;break}}else for(z=J;;){if((0|(S=0|n[z+4>>2]))==(0|I)){if((0|a[(O=z+8|0)>>1])==M<<16>>16&&(0|a[O+2>>1])==T<<16>>16){D=z,H=26;break r}}else if((0|(S>>>0<F>>>0?S:(S>>>0)%(F>>>0)|0))!=(0|Q)){H=27;break r}if(!(z=0|n[z>>2])){H=27;break}}}while(0);if(26==(0|H)){H=0,n[U+(B<<2)>>2]=n[D+12>>2],x=i,P=W,L=G,K=V,$=U;break e}if(27==(0|H)){if(H=0,Y){ee=0,H=46;break e}break}}}while(0);if(re=(C=0==((j=F+-1|0)&F|0))?j&I:I>>>0<F>>>0?I:(I>>>0)%(F>>>0)|0,0!=(0|(X=0|n[(0|n[t>>2])+(re<<2)>>2]))&&0!=(0|(J=0|n[X>>2]))){if(C)for(C=J;;){if(!((0|(X=0|n[C+4>>2]))==(0|I)|(X&j|0)==(0|re))){ee=re,H=46;break e}if((0|a[(X=C+8|0)>>1])==M<<16>>16&&(0|a[X+2>>1])==T<<16>>16){H=61;break e}if(!(C=0|n[C>>2])){ee=re,H=46;break e}}else ie=J;for(;;){if((0|(C=0|n[ie+4>>2]))!=(0|I)&&(0|(C>>>0<F>>>0?C:(C>>>0)%(F>>>0)|0))!=(0|re)){ee=re,H=46;break e}if((0|a[(C=ie+8|0)>>1])==M<<16>>16&&(0|a[C+2>>1])==T<<16>>16){H=61;break e}if(!(ie=0|n[ie>>2])){ee=re,H=46;break}}}else ee=re,H=46}}while(0);if(46==(0|H)){H=0,T=0|Uo(16),a[(M=T+8|0)>>1]=h,a[M+2>>1]=h>>>16,n[T+12>>2]=W,n[T+4>>2]=I,n[T>>2]=0,fe=g((1+(0|n[w>>2])|0)>>>0),Ae=g(F>>>0),te=g(d[b>>2]);do{if(Y|g(te*Ae)<fe){if(Ef(t,(M=F<<1|1&(F>>>0<3|0!=(F+-1&F|0)))>>>0<(J=~~g(N(g(fe/te)))>>>0)>>>0?J:M),!((J=(M=0|n[k>>2])-1|0)&M)){ae=M,oe=J&I;break}I>>>0<M>>>0?(ae=M,oe=I):(ae=M,oe=(I>>>0)%(M>>>0)|0)}else ae=F,oe=ee}while(0);I=(0|n[t>>2])+(oe<<2)|0,(Y=0|n[I>>2])?(n[T>>2]=n[Y>>2],be=Y,H=59):(n[T>>2]=n[v>>2],n[v>>2]=T,n[I>>2]=v,0|(I=0|n[T>>2])&&(h=0|n[I+4>>2],ne=(I=ae+-1|0)&ae?h>>>0<ae>>>0?h:(h>>>0)%(ae>>>0)|0:h&I,be=(0|n[t>>2])+(ne<<2)|0,H=59)),59==(0|H)&&(H=0,n[be>>2]=T),n[w>>2]=1+(0|n[w>>2]),H=61}if(61==(0|H)&&(H=0,h=0|To(0|(I=0|n[(Y=m)>>2]),0|n[Y+4>>2],0|W,0),qi((0|n[n[Z>>2]>>2])+h|0,0|o,0|I),I=0|n[s>>2],n[I+(B<<2)>>2]=W,x=I,P=W+1|0,L=I,K=I,$=I),(I=B+1|0)>>>0>=(le=0|n[c>>2])>>>0)break;i=x,B=I,W=P,V=K,G=L,F=0|n[k>>2],U=$}if((0|P)==(0|le))ce=K;else{if(0|A[(K=e+84|0)>>0])if(A[K>>0]=0,K=e+68|0,L=(F=0|n[(x=e+72|0)>>2])-(U=0|n[K>>2])>>2,k=U,U=F,le>>>0<=L>>>0?le>>>0<L>>>0&&(0|(F=k+(le<<2)|0))!=(0|U)?(n[x>>2]=U+(~((U+-4-F|0)>>>2)<<2),se=le):se=le:(cf(K,le-L|0,1204),se=0|n[c>>2]),L=0|n[s>>2],se){s=0|n[e+68>>2],e=0;do{n[s+(e<<2)>>2]=n[L+(e<<2)>>2],e=e+1|0}while(e>>>0<se>>>0);ue=L}else ue=L;else if($=0|n[e+72>>2],k=U=0|n[e+68>>2],(0|$)==(0|U))ue=x;else{F=$-U>>2,U=0;do{n[($=k+(U<<2)|0)>>2]=n[L+(n[$>>2]<<2)>>2],U=U+1|0}while(U>>>0<F>>>0);ue=x}n[c>>2]=P,ce=ue}ce?((0|(ue=0|n[u>>2]))!=(0|ce)&&(n[u>>2]=ue+(~((ue+-4-ce|0)>>>2)<<2)),_b(ce),ke=P):ke=P}else ke=0;if(0|(P=0|n[t+8>>2])){ce=P;do{P=ce,ce=0|n[ce>>2],_b(P)}while(0!=(0|ce))}return ce=0|n[t>>2],n[t>>2]=0,ce?(_b(ce),y=f,0|ke):(y=f,0|ke)}function Zt(e,r){e|=0;var i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0;if(i=y,y=y+16|0,f=i+8|0,A=i,-1==(0|(o=0|n[(r|=0)>>2])))return y=i,1;if(l=(o>>>0)/3|0,n[(0|n[(t=e+24|0)>>2])+(l>>>5<<2)>>2]&1<<(31&l)|0)return y=i,1;if(c=0|n[(l=e+48|0)>>2],(0|(u=0|n[(a=e+52|0)>>2]))==(0|c)?s=c:(k=u+(~((u+-4-c|0)>>>2)<<2)|0,n[a>>2]=k,s=k),(0|s)==(0|n[(k=e+56|0)>>2])?sA(l,r):(n[s>>2]=o,n[a>>2]=s+4),o=0|n[(s=e+4|0)>>2],-1==(0|(c=0|n[r>>2])))return y=i,0;if(_=-1==(0|(d=0==(0|((u=c+1|0)>>>0)%3)?c+-2|0:u))?-1:0|n[(0|n[o>>2])+(d<<2)>>2],-1==(0|(d=(0==(0|(c>>>0)%3)?2:-1)+c|0)))return y=i,0;if(-1==(0|_)|-1==(0|(c=0|n[(0|n[o>>2])+(d<<2)>>2])))return y=i,0;if(o=0|n[(d=e+36|0)>>2],h=1<<(31&_),(p=0|n[(u=o+(_>>>5<<2)|0)>>2])&h?m=o:(n[u>>2]=p|h,p=1+(h=0|n[r>>2])|0,w=-1==(0|h)?-1:0==(0|(p>>>0)%3)?h+-2|0:p,n[A>>2]=w,p=0|n[(0|n[96+(0|n[e+16>>2])>>2])+(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Z>>2]=o|_,-1==(0|(_=0|n[r>>2]))){b=0,B=80;break}o=0|n[s>>2],Z=_;r:for(;;){if(-1==(0|(_=0|n[(0|n[o>>2])+(Z<<2)>>2]))){b=0,B=80;break e}v=(0|n[d>>2])+(_>>>5<<2)|0,h=1<<(31&_),p=0|n[v>>2];do{if(p&h)F=Z,U=o,B=64;else{E=1+(u=0|n[(0|n[o+24>>2])+(_<<2)>>2])|0;do{if(-1==(0|u))W=1;else{if(-1==(0|(V=0==(0|(E>>>0)%3)?u+-2|0:E))){W=1;break}if(V=1+(N=0|n[(0|n[o+12>>2])+(V<<2)>>2])|0,-1==(0|N)){W=1;break}W=-1==(0|(0==(0|(V>>>0)%3)?N+-2|0:V))}}while(0);if(n[v>>2]=p|h,E=0|n[r>>2],n[A>>2]=E,u=0|n[(0|n[96+(0|n[R>>2])>>2])+(12*((E>>>0)/3|0)|0)+(((E>>>0)%3|0)<<2)>>2],E=0|n[w>>2],n[f>>2]=u,V=0|n[E+4>>2],(0|(N=0|n[(E=V+4|0)>>2]))==(0|n[V+8>>2])?sA(V,f):(n[N>>2]=u,n[E>>2]=N+4),N=0|n[m>>2],(0|(u=0|n[(E=N+4|0)>>2]))==(0|n[N+8>>2])?(sA(N,A),G=0|n[m>>2]):(n[u>>2]=n[A>>2],n[E>>2]=u+4,G=N),N=G+24|0,n[(0|n[G+12>>2])+(_<<2)>>2]=n[N>>2],n[N>>2]=1+(0|n[N>>2]),N=0|n[s>>2],u=0|n[r>>2],W){if(-1==(0|u)){B=63;break r}F=u,U=N,B=64;break}do{if(-1==(0|u))g=-1;else{if(-1==(0|(V=0==(0|((E=u+1|0)>>>0)%3)?u+-2|0:E))){g=-1;break}g=0|n[(0|n[N+12>>2])+(V<<2)>>2]}}while(0);n[r>>2]=g,Y=(g>>>0)/3|0,M=N}}while(0);if(64==(0|B)){B=0,T=-1==(0|(h=0==(0|((_=F+1|0)>>>0)%3)?F+-2|0:_))?-1:0|n[(0|n[U+12>>2])+(h<<2)>>2],n[f>>2]=T,I=-1==(0|(h=(0==(0|(F>>>0)%3)?2:-1)+F|0))?-1:0|n[(0|n[U+12>>2])+(h<<2)>>2],_=(T>>>0)/3|0,p=(h=-1==(0|T))?-1:_,u=(I>>>0)/3|0,V=(v=-1==(0|I))?-1:u;do{if(h)B=70;else{if(E=0|n[t>>2],n[E+(p>>>5<<2)>>2]&1<<(31&p)|0){B=70;break}if(v){j=T,C=_;break}if(!(n[E+(V>>>5<<2)>>2]&1<<(31&V))){B=75;break r}j=T,C=_}}while(0);if(70==(0|B)){if(B=0,v){B=72;break}if(n[(0|n[t>>2])+(V>>>5<<2)>>2]&1<<(31&V)){B=72;break}j=I,C=u}n[r>>2]=j,Y=C,M=U}if(_=(0|n[t>>2])+(Y>>>5<<2)|0,n[_>>2]=n[_>>2]|1<<(31&Y),-1==(0|(Z=0|n[r>>2]))){b=0,B=80;break e}o=M}do{if(63==(0|B))B=0,n[f>>2]=-1,B=72;else if(75==(0|B)){if(B=0,o=0|n[a>>2],n[o+-4>>2]=I,(0|o)==(0|n[k>>2])){sA(l,f),Q=0|n[a>>2];break}n[o>>2]=n[f>>2],Z=o+4|0,n[a>>2]=Z,Q=Z;break}}while(0);72==(0|B)&&(B=0,Z=(0|n[a>>2])-4|0,n[a>>2]=Z,Q=Z),X=0|n[l>>2],J=Q}else Z=e+-4|0,n[a>>2]=Z,X=c,J=Z;if((0|X)==(0|J)){b=1,B=80;break}e=J,c=X}return 80==(0|B)?(y=i,0|b):0}function Rt(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b,c,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,G=0,F=0,U=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,$=0,ee=0,re=q,ie=q,fe=q,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0;if(f=y,y=y+48|0,a=f,u=f+8|0,o=16+(t=f+20|0)|0,n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,n[t+12>>2]=0,d[o>>2]=g(1),s=0|n[(b=e+80|0)>>2],n[u>>2]=0,n[(c=u+4|0)>>2]=0,n[u+8>>2]=0,s){for(s>>>0>1073741823&&On(),_=0|Uo(k=s<<2),n[u>>2]=_,h=_+(s<<2)|0,n[u+8>>2]=h,IA(0|_,0,0|k),n[c>>2]=h,h=r+48|0,k=r+40|0,s=t+4|0,p=t+12|0,w=t+8|0,v=e+40|0,m=e+64|0,Z=0|n[i>>2],i=_,R=0,B=0,W=_,V=_,G=_,_=0;;){U=0|n[(F=h)>>2],Y=0|n[F+4>>2],F=0|Ho(0|(M=0|To(0|n[(F=k)>>2],0|n[F+4>>2],Z+R|0,0)),0|E,0|U,0|Y),Y=(0|n[n[r>>2]>>2])+F|0,U=l[(F=Y)>>0]|l[F+1>>0]<<8|l[F+2>>0]<<16|l[F+3>>0]<<24,Y=l[(F=Y+4|0)>>0]|l[F+1>>0]<<8|l[F+2>>0]<<16|l[F+3>>0]<<24,n[(F=a)>>2]=U,n[F+4>>2]=Y,F=239+(318^U)^Y,M=0==(0|_);e:do{if(M)K=0,O=46;else{j=(I=0==((T=_+-1|0)&_|0))?F&T:F>>>0<_>>>0?F:(F>>>0)%(_>>>0)|0,C=0|n[(0|n[t>>2])+(j<<2)>>2];do{if(0|C&&0|(Q=0|n[C>>2])){r:do{if(I)for(X=Q;;){if(!((z=(0|(J=0|n[X+4>>2]))==(0|F))|(J&T|0)==(0|j))){O=27;break r}if(z&&(0|n[X+8>>2])==(0|U)&&(0|n[X+12>>2])==(0|Y)){S=X,O=26;break r}if(!(X=0|n[X>>2])){O=27;break}}else for(X=Q;;){if((0|(z=0|n[X+4>>2]))==(0|F)){if((0|n[X+8>>2])==(0|U)&&(0|n[X+12>>2])==(0|Y)){S=X,O=26;break r}}else if((0|(z>>>0<_>>>0?z:(z>>>0)%(_>>>0)|0))!=(0|j)){O=27;break r}if(!(X=0|n[X>>2])){O=27;break}}}while(0);if(26==(0|O)){O=0,n[W+(R<<2)>>2]=n[S+16>>2],H=i,D=B,x=G,P=V,L=W;break e}if(27==(0|O)){if(O=0,M){K=0,O=46;break e}break}}}while(0);if($=(I=0==((T=_+-1|0)&_|0))?T&F:F>>>0<_>>>0?F:(F>>>0)%(_>>>0)|0,0!=(0|(C=0|n[(0|n[t>>2])+($<<2)>>2]))&&0!=(0|(Q=0|n[C>>2]))){if(I)for(I=Q;;){if(!((0|(C=0|n[I+4>>2]))==(0|F)|(C&T|0)==(0|$))){K=$,O=46;break e}if((0|n[I+8>>2])==(0|U)&&(0|n[I+12>>2])==(0|Y)){O=61;break e}if(!(I=0|n[I>>2])){K=$,O=46;break e}}else ee=Q;for(;;){if((0|(I=0|n[ee+4>>2]))!=(0|F)&&(0|(I>>>0<_>>>0?I:(I>>>0)%(_>>>0)|0))!=(0|$)){K=$,O=46;break e}if((0|n[ee+8>>2])==(0|U)&&(0|n[ee+12>>2])==(0|Y)){O=61;break e}if(!(ee=0|n[ee>>2])){K=$,O=46;break}}}else K=$,O=46}}while(0);if(46==(0|O)){O=0,Q=0|Uo(20),n[(I=Q+8|0)>>2]=U,n[I+4>>2]=Y,n[Q+16>>2]=B,n[Q+4>>2]=F,n[Q>>2]=0,re=g((1+(0|n[p>>2])|0)>>>0),ie=g(_>>>0),fe=g(d[o>>2]);do{if(M|g(fe*ie)<re){if(Gf(t,(I=_<<1|1&(_>>>0<3|0!=(_+-1&_|0)))>>>0<(T=~~g(N(g(re/fe)))>>>0)>>>0?T:I),!((T=(I=0|n[s>>2])-1|0)&I)){Ae=I,te=T&F;break}F>>>0<I>>>0?(Ae=I,te=F):(Ae=I,te=(F>>>0)%(I>>>0)|0)}else Ae=_,te=K}while(0);F=(0|n[t>>2])+(te<<2)|0,(M=0|n[F>>2])?(n[Q>>2]=n[M>>2],oe=M,O=59):(n[Q>>2]=n[w>>2],n[w>>2]=Q,n[F>>2]=w,0|(F=0|n[Q>>2])&&(Y=0|n[F+4>>2],ae=(F=Ae+-1|0)&Ae?Y>>>0<Ae>>>0?Y:(Y>>>0)%(Ae>>>0)|0:Y&F,oe=(0|n[t>>2])+(ae<<2)|0,O=59)),59==(0|O)&&(O=0,n[oe>>2]=Q),n[p>>2]=1+(0|n[p>>2]),O=61}if(61==(0|O)&&(O=0,Y=0|To(0|(F=0|n[(M=v)>>2]),0|n[M+4>>2],0|B,0),qi((0|n[n[m>>2]>>2])+Y|0,0|a,0|F),F=0|n[u>>2],n[F+(R<<2)>>2]=B,H=F,D=B+1|0,x=F,P=F,L=F),(F=R+1|0)>>>0>=(ne=0|n[b>>2])>>>0)break;i=H,R=F,B=D,W=L,V=P,G=x,_=0|n[s>>2]}if((0|D)==(0|ne))be=P;else{if(0|A[(P=e+84|0)>>0])if(A[P>>0]=0,P=e+68|0,x=(V=0|n[(H=e+72|0)>>2])-(_=0|n[P>>2])>>2,G=_,_=V,ne>>>0<=x>>>0?ne>>>0<x>>>0&&(0|(V=G+(ne<<2)|0))!=(0|_)?(n[H>>2]=_+(~((_+-4-V|0)>>>2)<<2),ce=ne):ce=ne:(cf(P,ne-x|0,1204),ce=0|n[b>>2]),x=0|n[u>>2],ce){u=0|n[e+68>>2],e=0;do{n[u+(e<<2)>>2]=n[x+(e<<2)>>2],e=e+1|0}while(e>>>0<ce>>>0);le=x}else le=x;else if(s=0|n[e+72>>2],G=_=0|n[e+68>>2],(0|s)==(0|_))le=H;else{V=s-_>>2,_=0;do{n[(s=G+(_<<2)|0)>>2]=n[x+(n[s>>2]<<2)>>2],_=_+1|0}while(_>>>0<V>>>0);le=H}n[b>>2]=D,be=le}be?((0|(le=0|n[c>>2]))!=(0|be)&&(n[c>>2]=le+(~((le+-4-be|0)>>>2)<<2)),_b(be),ue=D):ue=D}else ue=0;if(0|(D=0|n[t+8>>2])){be=D;do{D=be,be=0|n[be>>2],_b(D)}while(0!=(0|be))}return be=0|n[t>>2],n[t>>2]=0,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==(0|Q))){H=27;break r}if(S&&(0|A[(S=z+8|0)>>0])==M<<24>>24&&(0|A[S+1>>0])==T<<24>>24){D=z,H=26;break r}if(!(z=0|n[z>>2])){H=27;break}}else for(z=J;;){if((0|(S=0|n[z+4>>2]))==(0|I)){if((0|A[(O=z+8|0)>>0])==M<<24>>24&&(0|A[O+1>>0])==T<<24>>24){D=z,H=26;break r}}else if((0|(S>>>0<F>>>0?S:(S>>>0)%(F>>>0)|0))!=(0|Q)){H=27;break r}if(!(z=0|n[z>>2])){H=27;break}}}while(0);if(26==(0|H)){H=0,n[U+(B<<2)>>2]=n[D+12>>2],x=i,P=W,L=G,K=V,$=U;break e}if(27==(0|H)){if(H=0,Y){ee=0,H=46;break e}break}}}while(0);if(re=(C=0==((j=F+-1|0)&F|0))?j&I:F>>>0>I>>>0?I:(I>>>0)%(F>>>0)|0,0!=(0|(X=0|n[(0|n[t>>2])+(re<<2)>>2]))&&0!=(0|(J=0|n[X>>2]))){if(C)for(C=J;;){if(!((0|(X=0|n[C+4>>2]))==(0|I)|(X&j|0)==(0|re))){ee=re,H=46;break e}if((0|A[(X=C+8|0)>>0])==M<<24>>24&&(0|A[X+1>>0])==T<<24>>24){H=61;break e}if(!(C=0|n[C>>2])){ee=re,H=46;break e}}else ie=J;for(;;){if((0|(C=0|n[ie+4>>2]))!=(0|I)&&(0|(C>>>0<F>>>0?C:(C>>>0)%(F>>>0)|0))!=(0|re)){ee=re,H=46;break e}if((0|A[(C=ie+8|0)>>0])==M<<24>>24&&(0|A[C+1>>0])==T<<24>>24){H=61;break e}if(!(ie=0|n[ie>>2])){ee=re,H=46;break}}}else ee=re,H=46}}while(0);if(46==(0|H)){H=0,T=0|Uo(16),A[(M=T+8|0)>>0]=h,A[M+1>>0]=h>>8,n[T+12>>2]=W,n[T+4>>2]=I,n[T>>2]=0,fe=g((1+(0|n[w>>2])|0)>>>0),Ae=g(F>>>0),te=g(d[b>>2]);do{if(Y|g(te*Ae)<fe){if(gf(t,(M=F<<1|1&(F>>>0<3|0!=(F+-1&F|0)))>>>0<(J=~~g(N(g(fe/te)))>>>0)>>>0?J:M),!((J=(M=0|n[k>>2])-1|0)&M)){ae=M,oe=J&I;break}M>>>0>I>>>0?(ae=M,oe=I):(ae=M,oe=(I>>>0)%(M>>>0)|0)}else ae=F,oe=ee}while(0);I=(0|n[t>>2])+(oe<<2)|0,(Y=0|n[I>>2])?(n[T>>2]=n[Y>>2],be=Y,H=59):(n[T>>2]=n[v>>2],n[v>>2]=T,n[I>>2]=v,0|(I=0|n[T>>2])&&(h=0|n[I+4>>2],ne=(I=ae+-1|0)&ae?h>>>0<ae>>>0?h:(h>>>0)%(ae>>>0)|0:h&I,be=(0|n[t>>2])+(ne<<2)|0,H=59)),59==(0|H)&&(H=0,n[be>>2]=T),n[w>>2]=1+(0|n[w>>2]),H=61}if(61==(0|H)&&(H=0,h=0|To(0|(I=0|n[(Y=m)>>2]),0|n[Y+4>>2],0|W,0),qi((0|n[n[Z>>2]>>2])+h|0,0|o,0|I),I=0|n[s>>2],n[I+(B<<2)>>2]=W,x=I,P=W+1|0,L=I,K=I,$=I),(I=B+1|0)>>>0>=(le=0|n[c>>2])>>>0)break;i=x,B=I,W=P,V=K,G=L,F=0|n[k>>2],U=$}if((0|P)==(0|le))ce=K;else{if(0|A[(K=e+84|0)>>0])if(A[K>>0]=0,K=e+68|0,L=(F=0|n[(x=e+72|0)>>2])-(U=0|n[K>>2])>>2,k=U,U=F,le>>>0<=L>>>0?le>>>0<L>>>0&&(0|(F=k+(le<<2)|0))!=(0|U)?(n[x>>2]=U+(~((U+-4-F|0)>>>2)<<2),se=le):se=le:(cf(K,le-L|0,1204),se=0|n[c>>2]),L=0|n[s>>2],se){s=0|n[e+68>>2],e=0;do{n[s+(e<<2)>>2]=n[L+(e<<2)>>2],e=e+1|0}while(e>>>0<se>>>0);ue=L}else ue=L;else if($=0|n[e+72>>2],k=U=0|n[e+68>>2],(0|$)==(0|U))ue=x;else{F=$-U>>2,U=0;do{n[($=k+(U<<2)|0)>>2]=n[L+(n[$>>2]<<2)>>2],U=U+1|0}while(U>>>0<F>>>0);ue=x}n[c>>2]=P,ce=ue}ce?((0|(ue=0|n[u>>2]))!=(0|ce)&&(n[u>>2]=ue+(~((ue+-4-ce|0)>>>2)<<2)),_b(ce),ke=P):ke=P}else ke=0;if(0|(P=0|n[t+8>>2])){ce=P;do{P=ce,ce=0|n[ce>>2],_b(P)}while(0!=(0|ce))}return ce=0|n[t>>2],n[t>>2]=0,ce?(_b(ce),y=f,0|ke):(y=f,0|ke)}function Et(e,r){r|=0;var i,f,A,t,a,o,b,l,c,u,s,k,d,_,h,p,w,v,m,Z,R,B,E,W,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0;if(i=y,y=y+16|0,f=i+8|0,A=i,t=i+4|0,V=0|n[(a=16+(e|=0)|0)>>2],(0|(N=0|n[(o=e+20|0)>>2]))==(0|V)?G=V:(F=N+(~((N+-4-V|0)>>>2)<<2)|0,n[o>>2]=F,G=F),(0|G)==(0|n[(F=e+24|0)>>2])?(sA(a,r),U=0|n[a>>2],g=0|n[o>>2]):(n[G>>2]=n[r>>2],N=G+4|0,n[o>>2]=N,U=V,g=N),N=0|n[e+8>>2],N=(0|(V=(0|n[N+100>>2])-(0|n[N+96>>2])|0))/12|0,(0|U)==(0|g))return y=i,1;U=e+28|0,G=(0|V)>0,V=e+164|0,b=e+12|0,l=e+76|0,c=e+80|0,u=e+72|0,s=e+200|0,k=e+320|0,d=e+152|0,_=e+84|0,h=e+324|0,p=e+292|0,w=e+304|0,v=e+316|0,m=e+328|0,Z=e+336|0,R=e+332|0,B=e+168|0,E=e+140|0,W=e+120|0,Y=g;do{g=0|n[Y+-4>>2],n[r>>2]=g;e:do{if(-1!=(0|g)&&(M=(g>>>0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2])+($<<2)>>2]:-1,n[r>>2]=ee}}while(0);if(38==(0|H)){if(H=0,j=S+1|0,-1==(0|S)){H=43;break}if(re=-1==(0|(z=0==(0|(j>>>0)%3)?S+-2|0:j))?-1:0|n[(0|n[12+(0|n[b>>2])>>2])+(z<<2)>>2],n[A>>2]=re,ie=-1==(0|(z=(0==(0|(S>>>0)%3)?2:-1)+S|0))?-1:0|n[(0|n[12+(0|n[b>>2])>>2])+(z<<2)>>2],O=(z=-1==(0|re))?-1:(re>>>0)/3|0,Ae=(fe=-1==(0|ie))?-1:(ie>>>0)/3|0,-1!=(0|(J=0==(0|(j>>>0)%3)?S+-2|0:j))&&(j=0|n[12+(0|n[b>>2])>>2],-1!=(0|($=0|n[j+(J<<2)>>2])))&&(J=($>>>0)/3|0,$=0|n[U>>2],0==(n[$+(J>>>5<<2)>>2]&1<<(31&J)|0))){J=(0==(0|(S>>>0)%3)?2:-1)+S|0;do{if(-1!=(0|J)){if(-1==(0|(D=0|n[j+(J<<2)>>2])))break;if(!(n[$+((q=(D>>>0)/3|0)>>>5<<2)>>2]&1<<(31&q))){H=62;break r}}}while(0);fe||Dr(e,0|n[V>>2],C,0,Ae),We(s,3),te=0|n[A>>2]}else{if(z)ae=S;else{if(Dr(e,0|n[V>>2],C,1,O),-1==(0|($=0|n[r>>2]))){H=52;break}ae=$}if(-1==(0|($=(0==(0|(ae>>>0)%3)?2:-1)+ae|0))){H=52;break}if(-1==(0|(J=0|n[(0|n[12+(0|n[b>>2])>>2])+($<<2)>>2]))){H=52;break}if($=(J>>>0)/3|0,n[(0|n[U>>2])+($>>>5<<2)>>2]&1<<(31&$)|0){H=52;break}We(s,5),te=ie}n[r>>2]=te}if((0|T)>=(0|N))break e;M=T,I=0|n[U>>2]}do{if(43==(0|H))H=0,n[A>>2]=-1,H=54;else if(52==(0|H))H=0,fe||Dr(e,0|n[V>>2],C,0,Ae),H=54;else if(62==(0|H)){if(H=0,We(s,1),n[B>>2]=1+(0|n[B>>2]),X&&0==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),qi(0|h,0|k,_-k|0),r=(h=(_=0|A[(k=o+11|0)>>0])<<24>>24<0)?0|n[o>>2]:o,(s=h?0|n[o+4>>2]:255&_)>>>0>3){for(_=r,h=s,u=s;i=0|G(l[_>>0]|l[_+1>>0]<<8|l[_+2>>0]<<16|l[_+3>>0]<<24,1540483477),h=(0|G(i>>>24^i,1540483477))^(0|G(h,1540483477)),!((u=u+-4|0)>>>0<=3);)_=_+4|0;p=(_=s+-4|0)-(u=-4&_)|0,w=r+(u+4)|0,v=h}else p=s,w=r,v=s;switch(0|p){case 3:m=l[w+2>>0]<<16^v,Z=10;break;case 2:m=v,Z=10;break;case 1:R=v,Z=11;break;default:B=v}10==(0|Z)&&(R=l[w+1>>0]<<8^m,Z=11),11==(0|Z)&&(B=0|G(R^l[w>>0],1540483477)),B=(w=0|G(B>>>13^B,1540483477))>>>15^w,m=0==(0|(R=0|n[(w=e+4|0)>>2]));e:do{if(m)W=0,Z=52;else if(E=(p=0==((v=R+-1|0)&R|0))?B&v:B>>>0<R>>>0?B:(B>>>0)%(R>>>0)|0,0!=(0|(h=0|n[(0|n[e>>2])+(E<<2)>>2]))&&0!=(0|(u=0|n[h>>2]))){if(h=0==(0|s),p){if(h)for(p=u;;){if(!((0|(_=0|n[p+4>>2]))==(0|B)|(_&v|0)==(0|E))){W=E,Z=52;break e}if(!(0|((_=0|A[p+8+11>>0])<<24>>24<0?0|n[p+12>>2]:255&_)))break e;if(!(p=0|n[p>>2])){W=E,Z=52;break e}}else V=u;for(;;){if(!((0|(p=0|n[V+4>>2]))==(0|B)|(p&v|0)==(0|E))){W=E,Z=52;break e}i=(_=0|A[11+(p=V+8|0)>>0])<<24>>24<0,F=255&_;do{if((0|(i?0|n[V+12>>2]:F))==(0|s)){if(_=0|n[p>>2],i){if(0|Wa(_,r,s))break;break e}if((0|A[r>>0])==(255&_)<<24>>24){_=p,U=F,Y=r;do{if(_=_+1|0,!(U=U+-1|0))break e;Y=Y+1|0}while((0|A[_>>0])==(0|A[Y>>0]))}}}while(0);if(!(V=0|n[V>>2])){W=E,Z=52;break e}}}if(h)for(v=u;;){if((0|(F=0|n[v+4>>2]))!=(0|B)&&(0|(F>>>0<R>>>0?F:(F>>>0)%(R>>>0)|0))!=(0|E)){W=E,Z=52;break e}if(!(0|((F=0|A[v+8+11>>0])<<24>>24<0?0|n[v+12>>2]:255&F)))break e;if(!(v=0|n[v>>2])){W=E,Z=52;break e}}else M=u;for(;;){if((0|(v=0|n[M+4>>2]))!=(0|B)&&(0|(v>>>0<R>>>0?v:(v>>>0)%(R>>>0)|0))!=(0|E)){W=E,Z=52;break e}F=(h=0|A[11+(v=M+8|0)>>0])<<24>>24<0,p=255&h;do{if((0|(F?0|n[M+12>>2]:p))==(0|s)){if(h=0|n[v>>2],F){if(0|Wa(h,r,s))break;break e}if((0|A[r>>0])==(255&h)<<24>>24){h=v,i=p,Y=r;do{if(h=h+1|0,!(i=i+-1|0))break e;Y=Y+1|0}while((0|A[h>>0])==(0|A[Y>>0]))}}}while(0);if(!(M=0|n[M>>2])){W=E,Z=52;break}}}else W=E,Z=52}while(0);if(52==(0|Z)){Jf(t,e,B,o),T=g((1+(0|n[(Z=e+12|0)>>2])|0)>>>0),I=g(R>>>0),j=g(d[e+16>>2]);do{if(m|g(j*I)<T){if(Tf(e,(E=R<<1|1&(R>>>0<3|0!=(R+-1&R|0)))>>>0<(M=~~g(N(g(T/j)))>>>0)>>>0?M:E),!((M=(E=0|n[w>>2])-1|0)&E)){C=E,Q=M&B;break}B>>>0<E>>>0?(C=E,Q=B):(C=E,Q=(B>>>0)%(E>>>0)|0)}else C=R,Q=W}while(0);(W=0|n[(0|n[e>>2])+(Q<<2)>>2])?(n[n[t>>2]>>2]=n[W>>2],n[W>>2]=n[t>>2],X=t):(R=e+8|0,n[n[t>>2]>>2]=n[R>>2],n[R>>2]=n[t>>2],n[(0|n[e>>2])+(Q<<2)>>2]=R,R=0|n[t>>2],(Q=0|n[R>>2])?(B=0|n[Q+4>>2],J=(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>2],qA(p,t,v,o),e=0==(0|n[(v=e+28|0)>>2]);e:do{if(s)ke=e,de=0,_e=0,he=0,pe=0,we=0,ve=0;else{for(p=b+8|0,w=o+8|0,m=b+16|0,Z=o+16|0,R=l+8|0,B=l+16|0,W=u,V=u,N=0,G=0,F=0,U=0,g=0,Y=0,M=e,T=u;;){do{if(!M){if(I=0==(0|((J=V+1|0)>>>0)%3)?V+-2|0:J,(V>>>0)%3|0){z=W,O=V+-1|0,S=I,H=T,D=19;break}z=W,O=V+2|0,S=I,H=T,D=19;break}if(I=T+1|0,-1==(0|T)){j=W,C=-1,Q=-1,X=-1;break}if(J=0==(0|(I>>>0)%3)?T+-2|0:I,-1!=(0|W)){if((W>>>0)%3|0){z=W,O=W+-1|0,S=J,H=W,D=19;break}z=W,O=W+2|0,S=J,H=W,D=19;break}z=-1,O=-1,S=J,H=-1,D=19}while(0);if(19==(0|D)&&(D=0,-1==(0|S)?(j=z,C=-1,Q=O,X=H):(j=z,C=0|n[(0|n[n[c>>2]>>2])+(S<<2)>>2],Q=O,X=H)),x=0|n[d>>2],I=0|n[x>>2],(0|n[x+4>>2])-I>>2>>>0<=C>>>0){D=22;break}if(J=0|n[(0|n[h>>2])+(n[I+(C<<2)>>2]<<2)>>2],I=0|n[_>>2],P=0|A[I+84>>0]?J:0|n[(0|n[I+68>>2])+(J<<2)>>2],n[b>>2]=0,n[b+4>>2]=0,n[b+8>>2]=0,n[b+12>>2]=0,n[b+16>>2]=0,n[b+20>>2]=0,n[a>>2]=P,J=0|A[I+24>>0],n[t>>2]=n[a>>2],qA(I,t,J,b),L=-1==(0|Q)?-1:0|n[(0|n[n[c>>2]>>2])+(Q<<2)>>2],K=0|n[d>>2],J=0|n[K>>2],(0|n[K+4>>2])-J>>2>>>0<=L>>>0){D=28;break}if(I=0|n[(0|n[h>>2])+(n[J+(L<<2)>>2]<<2)>>2],J=0|n[_>>2],q=0|A[J+84>>0]?I:0|n[(0|n[J+68>>2])+(I<<2)>>2],n[l>>2]=0,n[l+4>>2]=0,n[l+8>>2]=0,n[l+12>>2]=0,n[l+16>>2]=0,n[l+20>>2]=0,n[a>>2]=q,I=0|A[J+24>>0],n[t>>2]=n[a>>2],qA(J,t,I,l),I=b,$=0|n[(J=o)>>2],ee=0|n[J+4>>2],J=0|Do(0|n[I>>2],0|n[I+4>>2],0|$,0|ee),I=E,re=p,fe=0|n[(ie=w)>>2],Ae=0|n[ie+4>>2],ie=0|Do(0|n[re>>2],0|n[re+4>>2],0|fe,0|Ae),re=E,te=m,oe=0|n[(ae=Z)>>2],ne=0|n[ae+4>>2],ae=0|Do(0|n[te>>2],0|n[te+4>>2],0|oe,0|ne),te=E,le=0|Do(0|n[(be=l)>>2],0|n[be+4>>2],0|$,0|ee),ee=E,be=0|Do(0|n[($=R)>>2],0|n[$+4>>2],0|fe,0|Ae),Ae=E,oe=0|To(0|($=0|Do(0|n[(fe=B)>>2],0|n[fe+4>>2],0|oe,0|ne)),0|(ne=E),0|ie,0|re),fe=E,ce=0|To(0|be,0|Ae,0|ae,0|te),ue=E,se=0|To(0|le,0|ee,0|ae,0|te),te=E,ae=0|To(0|$,0|ne,0|J,0|I),ne=E,$=0|To(0|be,0|Ae,0|J,0|I),I=E,J=0|To(0|le,0|ee,0|ie,0|re),re=E,ue=0|Ho(0|(ie=0|Do(0|N,0|G,0|ce,0|ue)),0|E,0|oe,0|fe),fe=E,te=0|Do(0|(oe=0|Ho(0|se,0|te,0|F,0|U)),0|E,0|ae,0|ne),ne=E,re=0|Ho(0|(ae=0|Do(0|g,0|Y,0|J,0|re)),0|E,0|$,0|I),I=E,kf(k),V=0|n[r>>2],$=0==(0|n[v>>2]),-1==(0|V)){ke=$,de=fe,_e=ue,he=ne,pe=te,we=I,ve=re;break e}W=j,N=ue,G=fe,F=te,U=ne,g=re,Y=I,M=$,T=X}(22==(0|D)||28==(0|D))&&On()}}while(0);return e=(0|de)>-1|-1==(0|de)&_e>>>0>4294967295,K=0|Do(0,0,0|_e,0|de),D=e?de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h=0|A[s>>0],p=0|n[k>>2],w=0|n[a>>2]):(h=o,p=b,w=0),qi(0|w,0|((k=h<<24>>24<0)?0|n[i>>2]:i),0|(k?p:255&h)),YA(c,r),n[(r=c+12|0)>>2]=0,n[(h=c+16|0)>>2]=0,n[c+20>>2]=0,(i=(p=0|n[u>>2])-(k=0|n[a>>2])|0)?(AA(r,i),v=0|n[a>>2],m=0|n[u>>2],Z=0|n[r>>2]):(v=k,m=p,Z=0),qi(0|Z,0|v,m-v|0),r=(Z=(m=0|A[(v=c+11|0)>>0])<<24>>24<0)?0|n[c>>2]:c,(i=Z?0|n[c+4>>2]:255&m)>>>0>3){for(m=r,Z=i,p=i;k=0|G(l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24,1540483477),Z=(0|G(k>>>24^k,1540483477))^(0|G(Z,1540483477)),!((p=p+-4|0)>>>0<=3);)m=m+4|0;R=(m=i+-4|0)-(p=-4&m)|0,B=r+(p+4)|0,E=Z}else R=i,B=r,E=i;switch(0|R){case 3:W=l[B+2>>0]<<16^E,V=12;break;case 2:W=E,V=12;break;case 1:F=E,V=13;break;default:U=E}12==(0|V)&&(F=l[B+1>>0]<<8^W,V=13),13==(0|V)&&(U=0|G(F^l[B>>0],1540483477)),U=(B=0|G(U>>>13^U,1540483477))>>>15^B,W=0==(0|(F=0|n[(B=e+4|0)>>2]));e:do{if(W)M=0,V=54;else if(Y=(R=0==((E=F+-1|0)&F|0))?U&E:U>>>0<F>>>0?U:(U>>>0)%(F>>>0)|0,0!=(0|(Z=0|n[(0|n[e>>2])+(Y<<2)>>2]))&&0!=(0|(p=0|n[Z>>2]))){if(Z=0==(0|i),R){if(Z)for(R=p;;){if(!((0|(m=0|n[R+4>>2]))==(0|U)|(m&E|0)==(0|Y))){M=Y,V=54;break e}if(!(0|((m=0|A[R+8+11>>0])<<24>>24<0?0|n[R+12>>2]:255&m)))break e;if(!(R=0|n[R>>2])){M=Y,V=54;break e}}else T=p;for(;;){if(!((0|(R=0|n[T+4>>2]))==(0|U)|(R&E|0)==(0|Y))){M=Y,V=54;break e}k=(m=0|A[11+(R=T+8|0)>>0])<<24>>24<0,w=255&m;do{if((0|(k?0|n[T+12>>2]:w))==(0|i)){if(m=0|n[R>>2],k){if(0|Wa(m,r,i))break;break e}if((0|A[r>>0])==(255&m)<<24>>24){m=R,s=w,_=r;do{if(m=m+1|0,!(s=s+-1|0))break e;_=_+1|0}while((0|A[m>>0])==(0|A[_>>0]))}}}while(0);if(!(T=0|n[T>>2])){M=Y,V=54;break e}}}if(Z)for(E=p;;){if((0|(w=0|n[E+4>>2]))!=(0|U)&&(0|(w>>>0<F>>>0?w:(w>>>0)%(F>>>0)|0))!=(0|Y)){M=Y,V=54;break e}if(!(0|((w=0|A[E+8+11>>0])<<24>>24<0?0|n[E+12>>2]:255&w)))break e;if(!(E=0|n[E>>2])){M=Y,V=54;break e}}else I=p;for(;;){if((0|(E=0|n[I+4>>2]))!=(0|U)&&(0|(E>>>0<F>>>0?E:(E>>>0)%(F>>>0)|0))!=(0|Y)){M=Y,V=54;break e}w=(Z=0|A[11+(E=I+8|0)>>0])<<24>>24<0,R=255&Z;do{if((0|(w?0|n[I+12>>2]:R))==(0|i)){if(Z=0|n[E>>2],w){if(0|Wa(Z,r,i))break;break e}if((0|A[r>>0])==(255&Z)<<24>>24){Z=E,k=R,_=r;do{if(Z=Z+1|0,!(k=k+-1|0))break e;_=_+1|0}while((0|A[Z>>0])==(0|A[_>>0]))}}}while(0);if(!(I=0|n[I>>2])){M=Y,V=54;break}}}else M=Y,V=54}while(0);if(54==(0|V)){Jf(t,e,U,c),j=g((1+(0|n[(V=e+12|0)>>2])|0)>>>0),C=g(F>>>0),Q=g(d[e+16>>2]);do{if(W|g(Q*C)<j){if(Tf(e,(Y=F<<1|1&(F>>>0<3|0!=(F+-1&F|0)))>>>0<(I=~~g(N(g(j/Q)))>>>0)>>>0?I:Y),!((I=(Y=0|n[B>>2])-1|0)&Y)){X=Y,J=I&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4|0,w=t+12|0,v=t+8|0,m=e+40|0,Z=e+64|0,R=0|n[i>>2],i=0,B=h,W=0,V=0,G=h,F=h,U=h;;){Y=0|n[(h=p)>>2],M=0|n[h+4>>2],h=0|Ho(0|(T=0|To(0|n[(h=_)>>2],0|n[h+4>>2],R+W|0,0)),0|E,0|Y,0|M),M=(0|n[n[r>>2]>>2])+h|0,h=l[M>>0]|l[M+1>>0]<<8,a[o>>1]=h,M=65535&(318^h);e:do{if(i){I=(T=0==((Y=i+-1|0)&i|0))?Y&M:i>>>0>M>>>0?M:(M>>>0)%(i>>>0)|0,j=0|n[t>>2],C=0|n[j+(I<<2)>>2];r:do{if(0|C&&(Q=0|n[C>>2],0|Q)){i:do{if(T)for(X=Q;;){if(!((z=(0|(J=0|n[X+4>>2]))==(0|M))|(J&Y|0)==(0|I)))break r;if(z&&(0|a[X+8>>1])==h<<16>>16){O=X;break i}if(!(X=0|n[X>>2]))break r}else for(X=Q;;){if((0|(z=0|n[X+4>>2]))==(0|M)){if((0|a[X+8>>1])==h<<16>>16){O=X;break i}}else if((0|(z>>>0<i>>>0?z:(z>>>0)%(i>>>0)|0))!=(0|I))break r;if(!(X=0|n[X>>2]))break r}}while(0);n[U+(W<<2)>>2]=n[O+12>>2],S=B,H=V,D=F,x=G,P=U;break e}}while(0);if(C=0|n[j+((L=T?Y&M:i>>>0>M>>>0?M:(M>>>0)%(i>>>0)|0)<<2)>>2]){if(T)for(Q=C;;){if(!(Q=0|n[Q>>2])){K=L,$=i,ee=0,re=40;break e}if(!((0|(X=0|n[Q+4>>2]))==(0|M)|(X&Y|0)==(0|L))){K=L,$=i,ee=0,re=40;break e}if((0|a[Q+8>>1])==h<<16>>16){re=55;break e}}else ie=C;for(;;){if(!(ie=0|n[ie>>2])){K=L,$=i,ee=0,re=40;break e}if((0|(Q=0|n[ie+4>>2]))!=(0|M)&&(0|(Q>>>0<i>>>0?Q:(Q>>>0)%(i>>>0)|0))!=(0|L)){K=L,$=i,ee=0,re=40;break e}if((0|a[ie+8>>1])==h<<16>>16){re=55;break}}}else K=L,$=i,ee=0,re=40}else K=0,$=0,ee=1,re=40}while(0);if(40==(0|re)){re=0,C=0|Uo(16),a[C+8>>1]=h,n[C+12>>2]=V,n[C+4>>2]=M,n[C>>2]=0,fe=g((1+(0|n[w>>2])|0)>>>0),Ae=g($>>>0),te=g(d[b>>2]);do{if(ee|g(te*Ae)<fe){if(Wf(t,(Q=$<<1|1&($>>>0<3|0!=($+-1&$|0)))>>>0<(Y=~~g(N(g(fe/te)))>>>0)>>>0?Y:Q),!((Y=(Q=0|n[k>>2])-1|0)&Q)){ae=Q,oe=Y&M;break}Q>>>0>M>>>0?(ae=Q,oe=M):(ae=Q,oe=(M>>>0)%(Q>>>0)|0)}else ae=$,oe=K}while(0);M=(0|n[t>>2])+(oe<<2)|0,(h=0|n[M>>2])?(n[C>>2]=n[h>>2],be=h,re=53):(n[C>>2]=n[v>>2],n[v>>2]=C,n[M>>2]=v,0|(M=0|n[C>>2])&&(Q=0|n[M+4>>2],ne=(M=ae+-1|0)&ae?Q>>>0<ae>>>0?Q:(Q>>>0)%(ae>>>0)|0:Q&M,be=(0|n[t>>2])+(ne<<2)|0,re=53)),53==(0|re)&&(re=0,n[be>>2]=C),n[w>>2]=1+(0|n[w>>2]),re=55}if(55==(0|re)&&(re=0,Q=0|To(0|(M=0|n[(h=m)>>2]),0|n[h+4>>2],0|V,0),qi((0|n[n[Z>>2]>>2])+Q|0,0|o,0|M),M=0|n[s>>2],n[M+(W<<2)>>2]=V,S=M,H=V+1|0,D=M,x=M,P=M),(M=W+1|0)>>>0>=(le=0|n[c>>2])>>>0)break;i=0|n[k>>2],B=S,W=M,V=H,G=x,F=D,U=P}if((0|H)==(0|le))ce=x;else{if(0|A[(x=e+84|0)>>0])if(A[x>>0]=0,x=e+68|0,D=(G=0|n[(S=e+72|0)>>2])-(U=0|n[x>>2])>>2,F=U,U=G,le>>>0<=D>>>0?le>>>0<D>>>0&&(0|(G=F+(le<<2)|0))!=(0|U)?(n[S>>2]=U+(~((U+-4-G|0)>>>2)<<2),se=le):se=le:(cf(x,le-D|0,1204),se=0|n[c>>2]),D=0|n[s>>2],se){s=0|n[e+68>>2],e=0;do{n[s+(e<<2)>>2]=n[D+(e<<2)>>2],e=e+1|0}while(e>>>0<se>>>0);ue=D}else ue=D;else if(P=0|n[e+72>>2],F=U=0|n[e+68>>2],(0|P)==(0|U))ue=S;else{G=P-U>>2,U=0;do{n[(P=F+(U<<2)|0)>>2]=n[D+(n[P>>2]<<2)>>2],U=U+1|0}while(U>>>0<G>>>0);ue=S}n[c>>2]=H,ce=ue}ce?((0|(ue=0|n[u>>2]))!=(0|ce)&&(n[u>>2]=ue+(~((ue+-4-ce|0)>>>2)<<2)),_b(ce),ke=H):ke=H}else ke=0;if(0|(H=0|n[t+8>>2])){ce=H;do{H=ce,ce=0|n[ce>>2],_b(H)}while(0!=(0|ce))}return ce=0|n[t>>2],n[t>>2]=0,ce?(_b(ce),y=f,0|ke):(y=f,0|ke)}function Ft(e,r,i){i|=0;var f,t,a,o=0,b=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,F=0,U=0,Y=0,M=0,T=q,I=q,j=q,C=0,Q=0,X=0,J=0;if(f=y,y=y+64|0,t=f+40|0,o=f+16|0,a=f,0|(b=0|Xe(e|=0,r|=0))&&(n[o>>2]=b,n[t>>2]=n[o>>2],Cr(e,t)),n[a>>2]=0,n[(b=a+4|0)>>2]=0,n[a+8>>2]=0,AA(a,4),c=0|n[a>>2],u=l[i>>0]|l[i+1>>0]<<8|l[i+2>>0]<<16|l[i+3>>0]<<24,A[c>>0]=u,A[c+1>>0]=u>>8,A[c+2>>0]=u>>16,A[c+3>>0]=u>>24,YA(o,r),n[(r=o+12|0)>>2]=0,n[(u=o+16|0)>>2]=0,n[o+20>>2]=0,(s=(c=0|n[b>>2])-(i=0|n[a>>2])|0)?(AA(r,s),k=0|n[a>>2],_=0|n[b>>2],h=0|n[r>>2]):(k=i,_=c,h=0),qi(0|h,0|k,_-k|0),r=(h=(_=0|A[(k=o+11|0)>>0])<<24>>24<0)?0|n[o>>2]:o,(s=h?0|n[o+4>>2]:255&_)>>>0>3){for(_=r,h=s,c=s;i=0|G(l[_>>0]|l[_+1>>0]<<8|l[_+2>>0]<<16|l[_+3>>0]<<24,1540483477),h=(0|G(i>>>24^i,1540483477))^(0|G(h,1540483477)),!((c=c+-4|0)>>>0<=3);)_=_+4|0;p=(_=s+-4|0)-(c=-4&_)|0,w=r+(c+4)|0,v=h}else p=s,w=r,v=s;switch(0|p){case 3:m=l[w+2>>0]<<16^v,Z=10;break;case 2:m=v,Z=10;break;case 1:R=v,Z=11;break;default:B=v}10==(0|Z)&&(R=l[w+1>>0]<<8^m,Z=11),11==(0|Z)&&(B=0|G(R^l[w>>0],1540483477)),B=(w=0|G(B>>>13^B,1540483477))>>>15^w,m=0==(0|(R=0|n[(w=e+4|0)>>2]));e:do{if(m)W=0,Z=52;else if(E=(p=0==((v=R+-1|0)&R|0))?B&v:B>>>0<R>>>0?B:(B>>>0)%(R>>>0)|0,0!=(0|(h=0|n[(0|n[e>>2])+(E<<2)>>2]))&&0!=(0|(c=0|n[h>>2]))){if(h=0==(0|s),p){if(h)for(p=c;;){if(!((0|(_=0|n[p+4>>2]))==(0|B)|(_&v|0)==(0|E))){W=E,Z=52;break e}if(!(0|((_=0|A[p+8+11>>0])<<24>>24<0?0|n[p+12>>2]:255&_)))break e;if(!(p=0|n[p>>2])){W=E,Z=52;break e}}else V=c;for(;;){if(!((0|(p=0|n[V+4>>2]))==(0|B)|(p&v|0)==(0|E))){W=E,Z=52;break e}i=(_=0|A[11+(p=V+8|0)>>0])<<24>>24<0,F=255&_;do{if((0|(i?0|n[V+12>>2]:F))==(0|s)){if(_=0|n[p>>2],i){if(0|Wa(_,r,s))break;break e}if((0|A[r>>0])==(255&_)<<24>>24){_=p,U=F,Y=r;do{if(_=_+1|0,!(U=U+-1|0))break e;Y=Y+1|0}while((0|A[_>>0])==(0|A[Y>>0]))}}}while(0);if(!(V=0|n[V>>2])){W=E,Z=52;break e}}}if(h)for(v=c;;){if((0|(F=0|n[v+4>>2]))!=(0|B)&&(0|(F>>>0<R>>>0?F:(F>>>0)%(R>>>0)|0))!=(0|E)){W=E,Z=52;break e}if(!(0|((F=0|A[v+8+11>>0])<<24>>24<0?0|n[v+12>>2]:255&F)))break e;if(!(v=0|n[v>>2])){W=E,Z=52;break e}}else M=c;for(;;){if((0|(v=0|n[M+4>>2]))!=(0|B)&&(0|(v>>>0<R>>>0?v:(v>>>0)%(R>>>0)|0))!=(0|E)){W=E,Z=52;break e}F=(h=0|A[11+(v=M+8|0)>>0])<<24>>24<0,p=255&h;do{if((0|(F?0|n[M+12>>2]:p))==(0|s)){if(h=0|n[v>>2],F){if(0|Wa(h,r,s))break;break e}if((0|A[r>>0])==(255&h)<<24>>24){h=v,i=p,Y=r;do{if(h=h+1|0,!(i=i+-1|0))break e;Y=Y+1|0}while((0|A[h>>0])==(0|A[Y>>0]))}}}while(0);if(!(M=0|n[M>>2])){W=E,Z=52;break}}}else W=E,Z=52}while(0);if(52==(0|Z)){Jf(t,e,B,o),T=g((1+(0|n[(Z=e+12|0)>>2])|0)>>>0),I=g(R>>>0),j=g(d[e+16>>2]);do{if(m|g(j*I)<T){if(Tf(e,(E=R<<1|1&(R>>>0<3|0!=(R+-1&R|0)))>>>0<(M=~~g(N(g(T/j)))>>>0)>>>0?M:E),!((M=(E=0|n[w>>2])-1|0)&E)){C=E,Q=M&B;break}B>>>0<E>>>0?(C=E,Q=B):(C=E,Q=(B>>>0)%(E>>>0)|0)}else C=R,Q=W}while(0);(W=0|n[(0|n[e>>2])+(Q<<2)>>2])?(n[n[t>>2]>>2]=n[W>>2],n[W>>2]=n[t>>2],X=t):(R=e+8|0,n[n[t>>2]>>2]=n[R>>2],n[R>>2]=n[t>>2],n[(0|n[e>>2])+(Q<<2)>>2]=R,R=0|n[t>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^318;e:do{if(i){M=(Y=0==((F=i+-1|0)&i|0))?F&k:k>>>0<i>>>0?k:(k>>>0)%(i>>>0)|0,T=0|n[t>>2],I=0|n[T+(M<<2)>>2];r:do{if(0|I&&(j=0|n[I>>2],0|j)){i:do{if(Y)for(C=j;;){if(!((X=(0|(Q=0|n[C+4>>2]))==(0|k))|(Q&F|0)==(0|M)))break r;if(X&&(0|A[C+8>>0])==U<<24>>24){J=C;break i}if(!(C=0|n[C>>2]))break r}else for(C=j;;){if((0|(X=0|n[C+4>>2]))==(0|k)){if((0|A[C+8>>0])==U<<24>>24){J=C;break i}}else if((0|(X>>>0<i>>>0?X:(X>>>0)%(i>>>0)|0))!=(0|M))break r;if(!(C=0|n[C>>2]))break r}}while(0);n[G+(R<<2)>>2]=n[J+12>>2],z=Z,O=B,S=V,H=W,D=G;break e}}while(0);if(I=0|n[T+((x=Y?F&k:k>>>0<i>>>0?k:(k>>>0)%(i>>>0)|0)<<2)>>2]){if(Y)for(j=I;;){if(!(j=0|n[j>>2])){P=x,L=i,K=0,$=40;break e}if(!((0|(C=0|n[j+4>>2]))==(0|k)|(C&F|0)==(0|x))){P=x,L=i,K=0,$=40;break e}if((0|A[j+8>>0])==U<<24>>24){$=55;break e}}else ee=I;for(;;){if(!(ee=0|n[ee>>2])){P=x,L=i,K=0,$=40;break e}if((0|(j=0|n[ee+4>>2]))!=(0|k)&&(0|(j>>>0<i>>>0?j:(j>>>0)%(i>>>0)|0))!=(0|x)){P=x,L=i,K=0,$=40;break e}if((0|A[ee+8>>0])==U<<24>>24){$=55;break}}}else P=x,L=i,K=0,$=40}else P=0,L=0,K=1,$=40}while(0);if(40==(0|$)){$=0,I=0|Uo(16),A[I+8>>0]=U,n[I+12>>2]=B,n[I+4>>2]=k,n[I>>2]=0,re=g((1+(0|n[h>>2])|0)>>>0),ie=g(L>>>0),fe=g(d[o>>2]);do{if(K|g(fe*ie)<re){if(Yf(t,(j=L<<1|1&(L>>>0<3|0!=(L+-1&L|0)))>>>0<(F=~~g(N(g(re/fe)))>>>0)>>>0?F:j),!((F=(j=0|n[u>>2])-1|0)&j)){Ae=j,te=F&k;break}k>>>0<j>>>0?(Ae=j,te=k):(Ae=j,te=(k>>>0)%(j>>>0)|0)}else Ae=L,te=P}while(0);k=(0|n[t>>2])+(te<<2)|0,(U=0|n[k>>2])?(n[I>>2]=n[U>>2],oe=U,$=53):(n[I>>2]=n[p>>2],n[p>>2]=I,n[k>>2]=p,0|(k=0|n[I>>2])&&(j=0|n[k+4>>2],ae=(k=Ae+-1|0)&Ae?j>>>0<Ae>>>0?j:(j>>>0)%(Ae>>>0)|0:j&k,oe=(0|n[t>>2])+(ae<<2)|0,$=53)),53==(0|$)&&($=0,n[oe>>2]=I),n[h>>2]=1+(0|n[h>>2]),$=55}if(55==(0|$)&&($=0,j=0|To(0|(k=0|n[(U=w)>>2]),0|n[U+4>>2],0|B,0),qi((0|n[n[v>>2]>>2])+j|0,0|a,0|k),k=0|n[c>>2],n[k+(R<<2)>>2]=B,z=k,O=B+1|0,S=k,H=k,D=k),(k=R+1|0)>>>0>=(ne=0|n[b>>2])>>>0)break;i=0|n[u>>2],Z=z,R=k,B=O,W=H,V=S,G=D}if((0|O)==(0|ne))be=H;else{if(0|A[(H=e+84|0)>>0])if(A[H>>0]=0,H=e+68|0,S=(W=0|n[(z=e+72|0)>>2])-(G=0|n[H>>2])>>2,V=G,G=W,ne>>>0<=S>>>0?ne>>>0<S>>>0&&(0|(W=V+(ne<<2)|0))!=(0|G)?(n[z>>2]=G+(~((G+-4-W|0)>>>2)<<2),ce=ne):ce=ne:(cf(H,ne-S|0,1204),ce=0|n[b>>2]),S=0|n[c>>2],ce){c=0|n[e+68>>2],e=0;do{n[c+(e<<2)>>2]=n[S+(e<<2)>>2],e=e+1|0}while(e>>>0<ce>>>0);le=S}else le=S;else if(D=0|n[e+72>>2],V=G=0|n[e+68>>2],(0|D)==(0|G))le=z;else{W=D-G>>2,G=0;do{n[(D=V+(G<<2)|0)>>2]=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]=_,Y=318^_;e:do{if(i){T=(M=0==((U=i+-1|0)&i|0))?U&Y:Y>>>0<i>>>0?Y:(Y>>>0)%(i>>>0)|0,I=0|n[t>>2],j=0|n[I+(T<<2)>>2];r:do{if(0|j&&(C=0|n[j>>2],0|C)){i:do{if(M)for(Q=C;;){if(!((J=(0|(X=0|n[Q+4>>2]))==(0|Y))|(X&U|0)==(0|T)))break r;if(J&&(0|n[Q+8>>2])==(0|_)){z=Q;break i}if(!(Q=0|n[Q>>2]))break r}else for(Q=C;;){if((0|(J=0|n[Q+4>>2]))==(0|Y)){if((0|n[Q+8>>2])==(0|_)){z=Q;break i}}else if((0|(J>>>0<i>>>0?J:(J>>>0)%(i>>>0)|0))!=(0|T))break r;if(!(Q=0|n[Q>>2]))break r}}while(0);n[F+(B<<2)>>2]=n[z+12>>2],O=R,S=W,H=G,D=V,x=F;break e}}while(0);if(j=0|n[I+((P=M?U&Y:Y>>>0<i>>>0?Y:(Y>>>0)%(i>>>0)|0)<<2)>>2]){if(M)for(C=j;;){if(!(C=0|n[C>>2])){L=P,K=i,$=0,ee=40;break e}if(!((0|(Q=0|n[C+4>>2]))==(0|Y)|(Q&U|0)==(0|P))){L=P,K=i,$=0,ee=40;break e}if((0|n[C+8>>2])==(0|_)){ee=55;break e}}else re=j;for(;;){if(!(re=0|n[re>>2])){L=P,K=i,$=0,ee=40;break e}if((0|(C=0|n[re+4>>2]))!=(0|Y)&&(0|(C>>>0<i>>>0?C:(C>>>0)%(i>>>0)|0))!=(0|P)){L=P,K=i,$=0,ee=40;break e}if((0|n[re+8>>2])==(0|_)){ee=55;break}}}else L=P,K=i,$=0,ee=40}else L=0,K=0,$=1,ee=40}while(0);if(40==(0|ee)){ee=0,j=0|Uo(16),n[j+8>>2]=_,n[j+12>>2]=W,n[j+4>>2]=Y,n[j>>2]=0,ie=g((1+(0|n[p>>2])|0)>>>0),fe=g(K>>>0),Ae=g(d[o>>2]);do{if($|g(Ae*fe)<ie){if(aA(t,(C=K<<1|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ce=O;else{V=x-F>>2,F=0;do{n[(x=G+(F<<2)|0)>>2]=n[H+(n[x>>2]<<2)>>2],F=F+1|0}while(F>>>0<V>>>0);ce=O}n[b>>2]=S,le=ce}le?((0|(ce=0|n[c>>2]))!=(0|le)&&(n[c>>2]=ce+(~((ce+-4-le|0)>>>2)<<2)),_b(le),se=S):se=S}else se=0;if(0|(S=0|n[t+8>>2])){le=S;do{S=le,le=0|n[le>>2],_b(S)}while(0!=(0|le))}return le=0|n[t>>2],n[t>>2]=0,le?(_b(le),y=f,0|se):(y=f,0|se)}function Yt(e,r,i){r|=0,i|=0;var f,t,a,o,b,l,c,u,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0,de=0,_e=0,he=0;f=y,y=y+96|0,t=f+92|0,a=f+88|0,s=f+72|0,o=f+48|0,b=f+24|0,l=f,k=0|n[(c=16+(e|=0)|0)>>2],u=0|n[r>>2],n[s>>2]=k,n[s+4>>2]=u,n[(r=s+8|0)>>2]=u,A[s+12>>0]=1,d=0|n[(0|n[k+28>>2])+(u<<2)>>2],_=0|n[(k=e+20|0)>>2],h=0|n[_>>2],(0|n[_+4>>2])-h>>2>>>0<=d>>>0&&On(),p=0|n[(0|n[(_=e+8|0)>>2])+(n[h+(d<<2)>>2]<<2)>>2],h=0|n[(d=e+4|0)>>2],w=0|A[h+84>>0]?p:0|n[(0|n[h+68>>2])+(p<<2)>>2],n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,n[o+12>>2]=0,n[o+16>>2]=0,n[o+20>>2]=0,n[a>>2]=w,w=0|A[h+24>>0],n[t>>2]=n[a>>2],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A(O,t,I,l),I=b,T=0|n[(O=o)>>2],x=0|n[O+4>>2],O=0|Do(0|n[I>>2],0|n[I+4>>2],0|T,0|x),I=E,P=h,K=0|n[(L=p)>>2],q=0|n[L+4>>2],L=0|Do(0|n[P>>2],0|n[P+4>>2],0|K,0|q),P=E,$=v,re=0|n[(ee=m)>>2],ie=0|n[ee+4>>2],ee=0|Do(0|n[$>>2],0|n[$+4>>2],0|re,0|ie),$=E,Ae=0|Do(0|n[(fe=l)>>2],0|n[fe+4>>2],0|T,0|x),x=E,fe=0|Do(0|n[(T=Z)>>2],0|n[T+4>>2],0|K,0|q),q=E,re=0|To(0|(T=0|Do(0|n[(K=R)>>2],0|n[K+4>>2],0|re,0|ie)),0|(ie=E),0|L,0|P),K=E,te=0|To(0|fe,0|q,0|ee,0|$),ae=E,oe=0|To(0|Ae,0|x,0|ee,0|$),$=E,ee=0|To(0|T,0|ie,0|O,0|I),ie=E,T=0|To(0|fe,0|q,0|O,0|I),I=E,O=0|To(0|Ae,0|x,0|L,0|P),P=E,ae=0|Ho(0|(L=0|Do(0|V,0|N,0|te,0|ae)),0|E,0|re,0|K),K=E,$=0|Do(0|(re=0|Ho(0|oe,0|$,0|G,0|F)),0|E,0|ee,0|ie),ie=E,P=0|Ho(0|(ee=0|Do(0|U,0|g,0|O,0|P)),0|E,0|T,0|I),I=E,ji(s),W=0|n[r>>2],T=0==(0|n[w>>2]),-1==(0|W)){ne=T,be=K,le=ae,ce=ie,ue=$,se=I,ke=P;break e}B=j,V=ae,N=K,G=$,F=ie,U=P,g=I,Y=T,M=X}(17==(0|z)||21==(0|z))&&On()}else ne=e,be=0,le=0,ce=0,ue=0,se=0,ke=0}while(0);return e=(0|be)>-1|-1==(0|be)&le>>>0>4294967295,H=0|Do(0,0,0|le,0|be),z=e?be:E,J=(0|ce)>-1|-1==(0|ce)&ue>>>0>4294967295,X=0|Do(0,0,0|ue,0|ce),j=J?ce:E,w=(0|se)>-1|-1==(0|se)&ke>>>0>4294967295,r=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(0|p,0,0|h),n[u>>2]=w,w=0|n[i>>2],i=r+48|0,h=r+40|0,p=t+4|0,_=t+12|0,v=t+8|0,m=e+40|0,Z=e+64|0,R=0,B=0;;){if(V=0|n[(W=i)>>2],G=0|n[W+4>>2],W=0|Ho(0|(F=0|To(0|n[(W=h)>>2],0|n[W+4>>2],w+R|0,0)),0|E,0|V,0|G),G=(0|n[n[r>>2]>>2])+W|0,V=l[(W=G)>>0]|l[W+1>>0]<<8|l[W+2>>0]<<16|l[W+3>>0]<<24,G=l[(W=G+4|0)>>0]|l[W+1>>0]<<8|l[W+2>>0]<<16|l[W+3>>0]<<24,n[(W=s)>>2]=V,n[W+4>>2]=G,n[(W=o)>>2]=V,n[W+4>>2]=G,G=0|xr(t,o))T=0|n[k>>2],n[T+(R<<2)>>2]=n[G+16>>2],re=B,ie=T;else{V=0|n[(W=o)>>2],F=0|n[W+4>>2],W=65535&V,Y=65535&(U=0|xo(0|V,0|F,16)),M=65535&F,I=65535&(T=0|xo(0|V,0|F,48)),j=239+(239+(239+(65535&(318^W))^65535&U)^65535&F)^65535&T,U=0==(0|(T=0|n[p>>2]));e:do{if(U)O=0,S=31;else if(X=(Q=0==((C=T+-1|0)&T|0))?j&C:j>>>0<T>>>0?j:(j>>>0)%(T>>>0)|0,0!=(0|(J=0|n[(0|n[t>>2])+(X<<2)>>2]))&&0!=(0|(z=0|n[J>>2]))){if(Q)for(Q=z;;){if(!((0|(J=0|n[Q+4>>2]))==(0|j)|(J&C|0)==(0|X))){O=X,S=31;break e}if((0|a[(J=Q+8|0)>>1])==W<<16>>16&&(0|a[J+2>>1])==Y<<16>>16&&(0|a[Q+12>>1])==M<<16>>16&&(0|a[J+6>>1])==I<<16>>16)break e;if(!(Q=0|n[Q>>2])){O=X,S=31;break e}}else H=z;for(;;){if((0|(Q=0|n[H+4>>2]))!=(0|j)&&(0|(Q>>>0<T>>>0?Q:(Q>>>0)%(T>>>0)|0))!=(0|X)){O=X,S=31;break e}if((0|a[(Q=H+8|0)>>1])==W<<16>>16&&(0|a[Q+2>>1])==Y<<16>>16&&(0|a[H+12>>1])==M<<16>>16&&(0|a[Q+6>>1])==I<<16>>16)break e;if(!(H=0|n[H>>2])){O=X,S=31;break}}}else O=X,S=31}while(0);if(31==(0|S)){S=0,I=0|Uo(20),a[(Y=M=I+8|0)>>1]=V,a[Y+2>>1]=V>>>16,a[(Y=M+4|0)>>1]=F,a[Y+2>>1]=F>>>16,n[I+16>>2]=B,n[I+4>>2]=j,n[I>>2]=0,D=g((1+(0|n[_>>2])|0)>>>0),x=g(T>>>0),P=g(d[b>>2]);do{if(U|g(P*x)<D){if(Rf(t,(Y=T<<1|1&(T>>>0<3|0!=(T+-1&T|0)))>>>0<(M=~~g(N(g(D/P)))>>>0)>>>0?M:Y),!((M=(Y=0|n[p>>2])-1|0)&Y)){L=Y,K=M&j;break}j>>>0<Y>>>0?(L=Y,K=j):(L=Y,K=(j>>>0)%(Y>>>0)|0)}else L=T,K=O}while(0);T=(0|n[t>>2])+(K<<2)|0,(j=0|n[T>>2])?(n[I>>2]=n[j>>2],ee=j,S=44):(n[I>>2]=n[v>>2],n[v>>2]=I,n[T>>2]=v,0|(T=0|n[I>>2])&&(U=0|n[T+4>>2],$=(T=L+-1|0)&L?U>>>0<L>>>0?U:(U>>>0)%(L>>>0)|0:U&T,ee=(0|n[t>>2])+($<<2)|0,S=44)),44==(0|S)&&(S=0,n[ee>>2]=I),n[_>>2]=1+(0|n[_>>2])}U=0|To(0|(T=0|n[(j=m)>>2]),0|n[j+4>>2],0|B,0),qi((0|n[n[Z>>2]>>2])+U|0,0|s,0|T),T=0|n[k>>2],n[T+(R<<2)>>2]=B,re=B+1|0,ie=T}if((R=R+1|0)>>>0>=(fe=0|n[c>>2])>>>0)break;B=re}if((0|re)==(0|fe))Ae=ie;else{if(0|A[(B=e+84|0)>>0])if(A[B>>0]=0,B=e+68|0,Z=(m=0|n[(ie=e+72|0)>>2])-(s=0|n[B>>2])>>2,R=s,s=m,fe>>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n[Z+100>>2])-(0|n[Z+96>>2])|0))/12|0,(0|E)==(0|W))return y=i,1;E=e+28|0,R=(0|m)>0,m=e+164|0,b=e+12|0,l=e+76|0,c=e+80|0,u=e+72|0,s=e+152|0,k=e+84|0,d=e+272|0,_=e+276|0,h=e+268|0,p=e+168|0,w=e+140|0,v=e+120|0,V=W;do{W=0|n[V+-4>>2],n[r>>2]=W;e:do{if(-1!=(0|W)&&(N=(W>>>0)/3|0,G=0|n[E>>2],0==(n[G+(N>>>5<<2)>>2]&1<<(31&N)|0))){if(R){N=0,F=G;r:for(;;){G=N+1|0,n[m>>2]=1+(0|n[m>>2]),U=0|n[r>>2],n[(U=F+((g=-1==(0|U)?-1:(U>>>0)/3|0)>>>5<<2)|0)>>2]=1<<(31&g)|n[U>>2],(0|(U=0|n[l>>2]))==(0|n[c>>2])?sA(u,r):(n[U>>2]=n[r>>2],n[l>>2]=U+4),Y=-1==(0|(U=0|n[r>>2]))?-1:0|n[(0|n[n[b>>2]>>2])+(U<<2)>>2],M=-1!=(0|n[(0|n[s>>2])+(Y<<2)>>2]),T=(0|n[k>>2])+(Y>>>5<<2)|0,I=1<<(31&Y),j=0|n[T>>2];do{if(j&I)C=U,Q=30;else{if(n[T>>2]=j|I,M){C=0|n[r>>2],Q=30;break}n[f>>2]=0,(0|(X=0|n[d>>2]))==(0|n[_>>2])?sA(h,f):(n[X>>2]=0,n[d>>2]=X+4),J=1+(X=0|n[r>>2])|0,O=-1!=(0|X)&&-1!=(0|(z=0==(0|(J>>>0)%3)?X+-2|0:J))?0|n[(0|n[12+(0|n[b>>2])>>2])+(z<<2)>>2]:-1,n[r>>2]=O}}while(0);if(30==(0|Q)){if(Q=0,U=C+1|0,-1==(0|C)){Q=35;break}if(S=-1==(0|(I=0==(0|(U>>>0)%3)?C+-2|0:U))?-1:0|n[(0|n[12+(0|n[b>>2])>>2])+(I<<2)>>2],n[A>>2]=S,H=-1==(0|(I=(0==(0|(C>>>0)%3)?2:-1)+C|0))?-1:0|n[(0|n[12+(0|n[b>>2])>>2])+(I<<2)>>2],j=(I=-1==(0|S))?-1:(S>>>0)/3|0,x=(D=-1==(0|H))?-1:(H>>>0)/3|0,-1!=(0|(T=0==(0|(U>>>0)%3)?C+-2|0:U))&&(U=0|n[12+(0|n[b>>2])>>2],-1!=(0|(z=0|n[U+(T<<2)>>2])))&&(T=(z>>>0)/3|0,z=0|n[E>>2],0==(n[z+(T>>>5<<2)>>2]&1<<(31&T)|0))){T=(0==(0|(C>>>0)%3)?2:-1)+C|0;do{if(-1!=(0|T)){if(-1==(0|(J=0|n[U+(T<<2)>>2])))break;if(!(n[z+((X=(J>>>0)/3|0)>>>5<<2)>>2]&1<<(31&X))){Q=63;break r}}}while(0);D||Dr(e,0|n[m>>2],g,0,x),n[f>>2]=3,(0|(z=0|n[d>>2]))==(0|n[_>>2])?sA(h,f):(n[z>>2]=3,n[d>>2]=z+4),P=0|n[A>>2]}else{if(I)L=C;else{if(Dr(e,0|n[m>>2],g,1,j),-1==(0|(z=0|n[r>>2]))){Q=44;break}L=z}if(-1==(0|(z=(0==(0|(L>>>0)%3)?2:-1)+L|0))){Q=44;break}if(-1==(0|(T=0|n[(0|n[12+(0|n[b>>2])>>2])+(z<<2)>>2]))){Q=44;break}if(z=(T>>>0)/3|0,n[(0|n[E>>2])+(z>>>5<<2)>>2]&1<<(31&z)|0){Q=44;break}n[f>>2]=5,(0|(z=0|n[d>>2]))==(0|n[_>>2])?sA(h,f):(n[z>>2]=5,n[d>>2]=z+4),P=H}n[r>>2]=P}if((0|G)>=(0|Z))break e;N=G,F=0|n[E>>2]}do{if(35==(0|Q))Q=0,n[A>>2]=-1,Q=46;else if(44==(0|Q))Q=0,D||Dr(e,0|n[m>>2],g,0,x),Q=46;else if(63==(0|Q)){if(Q=0,n[f>>2]=1,(0|(F=0|n[d>>2]))==(0|n[_>>2])?sA(h,f):(n[F>>2]=1,n[d>>2]=F+4),n[p>>2]=1+(0|n[p>>2]),M&&0==(1<<(31&(F=0|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>>2],0|n[B+4>>2],p+Z|0,0)),0|E,0|W,0|V),V=(0|n[n[r>>2]>>2])+B|0,B=l[V>>0]|l[V+1>>0]<<8|l[V+2>>0]<<16|l[V+3>>0]<<24,n[u>>2]=B,n[a>>2]=B,B=0|$r(t,a))M=0|n[s>>2],n[M+(Z<<2)>>2]=n[B+12>>2],re=R,ie=M;else{W=255&(V=0|n[a>>2]),F=255&(G=V>>>8),Y=255&(U=V>>>16),T=255&(M=V>>>24),U=239+(239+(239+(255&V^318)^(I=255&G))^(G=255&U))^M,j=0==(0|(M=0|n[h>>2]));e:do{if(j)O=0,S=31;else if(X=(Q=0==((C=M+-1|0)&M|0))?U&C:U>>>0<M>>>0?U:(U>>>0)%(M>>>0)|0,0!=(0|(J=0|n[(0|n[t>>2])+(X<<2)>>2]))&&0!=(0|(z=0|n[J>>2]))){if(Q)for(Q=z;;){if(!((0|(J=0|n[Q+4>>2]))==(0|U)|(J&C|0)==(0|X))){O=X,S=31;break e}if((0|A[(J=Q+8|0)>>0])==W<<24>>24&&(0|A[J+1>>0])==F<<24>>24&&(0|A[J+2>>0])==Y<<24>>24&&(0|A[J+3>>0])==T<<24>>24)break e;if(!(Q=0|n[Q>>2])){O=X,S=31;break e}}else H=z;for(;;){if((0|(Q=0|n[H+4>>2]))!=(0|U)&&(0|(Q>>>0<M>>>0?Q:(Q>>>0)%(M>>>0)|0))!=(0|X)){O=X,S=31;break e}if((0|A[(Q=H+8|0)>>0])==W<<24>>24&&(0|A[Q+1>>0])==F<<24>>24&&(0|A[Q+2>>0])==Y<<24>>24&&(0|A[Q+3>>0])==T<<24>>24)break e;if(!(H=0|n[H>>2])){O=X,S=31;break}}}else O=X,S=31}while(0);if(31==(0|S)){S=0,T=0|Uo(16),F=-16776961&V|G<<16|I<<8,A[(Y=T+8|0)>>0]=F,A[Y+1>>0]=F>>8,A[Y+2>>0]=F>>16,A[Y+3>>0]=F>>24,n[T+12>>2]=R,n[T+4>>2]=U,n[T>>2]=0,D=g((1+(0|n[k>>2])|0)>>>0),x=g(M>>>0),P=g(d[o>>2]);do{if(j|g(P*x)<D){if(Ff(t,(F=M<<1|1&(M>>>0<3|0!=(M+-1&M|0)))>>>0<(Y=~~g(N(g(D/P)))>>>0)>>>0?Y:F),!((Y=(F=0|n[h>>2])-1|0)&F)){L=F,K=Y&U;break}U>>>0<F>>>0?(L=F,K=U):(L=F,K=(U>>>0)%(F>>>0)|0)}else L=M,K=O}while(0);M=(0|n[t>>2])+(K<<2)|0,(U=0|n[M>>2])?(n[T>>2]=n[U>>2],ee=U,S=44):(n[T>>2]=n[w>>2],n[w>>2]=T,n[M>>2]=w,0|(M=0|n[T>>2])&&(j=0|n[M+4>>2],$=(M=L+-1|0)&L?j>>>0<L>>>0?j:(j>>>0)%(L>>>0)|0:j&M,ee=(0|n[t>>2])+($<<2)|0,S=44)),44==(0|S)&&(S=0,n[ee>>2]=T),n[k>>2]=1+(0|n[k>>2])}j=0|To(0|(M=0|n[(U=v)>>2]),0|n[U+4>>2],0|R,0),qi((0|n[n[m>>2]>>2])+j|0,0|u,0|M),M=0|n[s>>2],n[M+(Z<<2)>>2]=R,re=R+1|0,ie=M}if((Z=Z+1|0)>>>0>=(fe=0|n[b>>2])>>>0)break;R=re}if((0|re)==(0|fe))Ae=ie;else{if(0|A[(R=e+84|0)>>0])if(A[R>>0]=0,R=e+68|0,m=(v=0|n[(ie=e+72|0)>>2])-(u=0|n[R>>2])>>2,Z=u,u=v,fe>>>0<=m>>>0?fe>>>0<m>>>0&&(0|(v=Z+(fe<<2)|0))!=(0|u)?(n[ie>>2]=u+(~((u+-4-v|0)>>>2)<<2),ae=fe):ae=fe:(cf(R,fe-m|0,1204),ae=0|n[b>>2]),m=0|n[s>>2],ae){s=0|n[e+68>>2],e=0;do{n[s+(e<<2)>>2]=n[m+(e<<2)>>2],e=e+1|0}while(e>>>0<ae>>>0);te=m}else te=m;else if(Z=0|n[e+72>>2],m=u=0|n[e+68>>2],(0|Z)==(0|u))te=ie;else{v=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+16|0;do{A[V>>0]=0|A[G>>0],V=V+1|0,G=G+1|0}while((0|V)<(0|U));if(no(0|a,0|F,16),G=0|ai(t,a))I=0|n[u>>2],n[I+(W<<2)>>2]=n[G+24>>2],re=B,ie=I;else{T=239+(239+(239+(318^(V=0|n[a>>2]))^(U=0|n[_>>2]))^(Y=0|n[s>>2]))^(M=0|n[p>>2]),j=0==(0|(I=0|n[w>>2]));e:do{if(j)O=0,S=31;else if(X=(Q=0==((C=I+-1|0)&I|0))?T&C:T>>>0<I>>>0?T:(T>>>0)%(I>>>0)|0,0!=(0|(J=0|n[(0|n[t>>2])+(X<<2)>>2]))&&0!=(0|(z=0|n[J>>2]))){if(Q)for(Q=z;;){if(!((0|(J=0|n[Q+4>>2]))==(0|T)|(J&C|0)==(0|X))){O=X,S=31;break e}if((0|n[Q+8>>2])==(0|V)&&(0|n[Q+12>>2])==(0|U)&&(0|n[Q+16>>2])==(0|Y)&&(0|n[Q+20>>2])==(0|M))break e;if(!(Q=0|n[Q>>2])){O=X,S=31;break e}}else H=z;for(;;){if((0|(Q=0|n[H+4>>2]))!=(0|T)&&(0|(Q>>>0<I>>>0?Q:(Q>>>0)%(I>>>0)|0))!=(0|X)){O=X,S=31;break e}if((0|n[H+8>>2])==(0|V)&&(0|n[H+12>>2])==(0|U)&&(0|n[H+16>>2])==(0|Y)&&(0|n[H+20>>2])==(0|M))break e;if(!(H=0|n[H>>2])){O=X,S=31;break}}}else O=X,S=31}while(0);if(31==(0|S)){S=0,F=0|Uo(28),n[F+8>>2]=V,n[F+12>>2]=U,n[F+16>>2]=Y,n[F+20>>2]=M,n[F+24>>2]=B,n[F+4>>2]=T,n[F>>2]=0,D=g((1+(0|n[v>>2])|0)>>>0),x=g(I>>>0),P=g(d[o>>2]);do{if(j|g(P*x)<D){if(Vf(t,(z=I<<1|1&(I>>>0<3|0!=(I+-1&I|0)))>>>0<(Q=~~g(N(g(D/P)))>>>0)>>>0?Q:z),!((Q=(z=0|n[w>>2])-1|0)&z)){L=z,K=Q&T;break}T>>>0<z>>>0?(L=z,K=T):(L=z,K=(T>>>0)%(z>>>0)|0)}else L=I,K=O}while(0);I=(0|n[t>>2])+(K<<2)|0,(T=0|n[I>>2])?(n[F>>2]=n[T>>2],ee=T,S=44):(n[F>>2]=n[m>>2],n[m>>2]=F,n[I>>2]=m,0|(I=0|n[F>>2])&&(j=0|n[I+4>>2],$=(I=L+-1|0)&L?j>>>0<L>>>0?j:(j>>>0)%(L>>>0)|0:j&I,ee=(0|n[t>>2])+($<<2)|0,S=44)),44==(0|S)&&(S=0,n[ee>>2]=F),n[v>>2]=1+(0|n[v>>2])}j=0|To(0|(I=0|n[(T=Z)>>2]),0|n[T+4>>2],0|B,0),qi((0|n[n[R>>2]>>2])+j|0,0|c,0|I),I=0|n[u>>2],n[I+(W<<2)>>2]=B,re=B+1|0,ie=I}if((W=W+1|0)>>>0>=(fe=0|n[b>>2])>>>0)break;B=re}if((0|re)==(0|fe))Ae=ie;else{if(0|A[(B=e+84|0)>>0])if(A[B>>0]=0,B=e+68|0,R=(Z=0|n[(ie=e+72|0)>>2])-(c=0|n[B>>2])>>2,W=c,c=Z,fe>>>0<=R>>>0?fe>>>0<R>>>0&&(0|(Z=W+(fe<<2)|0))!=(0|c)?(n[ie>>2]=c+(~((c+-4-Z|0)>>>2)<<2),ae=fe):ae=fe:(cf(B,fe-R|0,1204),ae=0|n[b>>2]),R=0|n[u>>2],ae){u=0|n[e+68>>2],e=0;do{n[u+(e<<2)>>2]=n[R+(e<<2)>>2],e=e+1|0}while(e>>>0<ae>>>0);te=R}else te=R;else if(W=0|n[e+72>>2],R=c=0|n[e+68>>2],(0|W)==(0|c))te=ie;else{Z=W-c>>2,c=0;do{n[(W=R+(c<<2)|0)>>2]=n[ie+(n[W>>2]<<2)>>2],c=c+1|0}while(c>>>0<Z>>>0);te=ie}n[b>>2]=re,Ae=te}Ae?((0|(te=0|n[l>>2]))!=(0|Ae)&&(n[l>>2]=te+(~((te+-4-Ae|0)>>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;else{Y=239+(239+(65535&(318^(V=0|a[o>>1])))^65535&(G=0|a[h>>1]))^65535&(U=0|a[k>>1]),T=0==(0|(M=0|n[w>>2]));e:do{if(T)J=0,z=29;else if(C=(j=0==((I=M+-1|0)&M|0))?Y&I:Y>>>0<M>>>0?Y:(Y>>>0)%(M>>>0)|0,0!=(0|(Q=0|n[(0|n[t>>2])+(C<<2)>>2]))&&0!=(0|(X=0|n[Q>>2]))){if(j)for(j=X;;){if(!((0|(Q=0|n[j+4>>2]))==(0|Y)|(Q&I|0)==(0|C))){J=C,z=29;break e}if((0|a[(Q=j+8|0)>>1])==V<<16>>16&&(0|a[Q+2>>1])==G<<16>>16&&(0|a[j+12>>1])==U<<16>>16)break e;if(!(j=0|n[j>>2])){J=C,z=29;break e}}else O=X;for(;;){if((0|(j=0|n[O+4>>2]))!=(0|Y)&&(0|(j>>>0<M>>>0?j:(j>>>0)%(M>>>0)|0))!=(0|C)){J=C,z=29;break e}if((0|a[(j=O+8|0)>>1])==V<<16>>16&&(0|a[j+2>>1])==G<<16>>16&&(0|a[O+12>>1])==U<<16>>16)break e;if(!(O=0|n[O>>2])){J=C,z=29;break}}}else J=C,z=29}while(0);if(29==(0|z)){z=0,X=0|Uo(20),a[X+8>>1]=V,a[X+10>>1]=G,a[X+12>>1]=U,n[X+16>>2]=B,n[X+4>>2]=Y,n[X>>2]=0,S=g((1+(0|n[v>>2])|0)>>>0),H=g(M>>>0),D=g(d[b>>2]);do{if(T|g(D*H)<S){if(Bf(t,(j=M<<1|1&(M>>>0<3|0!=(M+-1&M|0)))>>>0<(I=~~g(N(g(S/D)))>>>0)>>>0?I:j),!((I=(j=0|n[w>>2])-1|0)&j)){x=j,P=I&Y;break}Y>>>0<j>>>0?(x=j,P=Y):(x=j,P=(Y>>>0)%(j>>>0)|0)}else x=M,P=J}while(0);M=(0|n[t>>2])+(P<<2)|0,(Y=0|n[M>>2])?(n[X>>2]=n[Y>>2],K=Y,z=42):(n[X>>2]=n[m>>2],n[m>>2]=X,n[M>>2]=m,0|(M=0|n[X>>2])&&(T=0|n[M+4>>2],L=(M=x+-1|0)&x?T>>>0<x>>>0?T:(T>>>0)%(x>>>0)|0:T&M,K=(0|n[t>>2])+(L<<2)|0,z=42)),42==(0|z)&&(z=0,n[K>>2]=X),n[v>>2]=1+(0|n[v>>2])}T=0|To(0|(M=0|n[(Y=Z)>>2]),0|n[Y+4>>2],0|B,0),qi((0|n[n[R>>2]>>2])+T|0,0|u,0|M),M=0|n[s>>2],n[M+(W<<2)>>2]=B,$=B+1|0,ee=M}if((W=W+1|0)>>>0>=(re=0|n[l>>2])>>>0)break;B=$}if((0|$)==(0|re))ie=ee;else{if(0|A[(B=e+84|0)>>0])if(A[B>>0]=0,B=e+68|0,R=(Z=0|n[(ee=e+72|0)>>2])-(u=0|n[B>>2])>>2,W=u,u=Z,re>>>0<=R>>>0?re>>>0<R>>>0&&(0|(Z=W+(re<<2)|0))!=(0|u)?(n[ee>>2]=u+(~((u+-4-Z|0)>>>2)<<2),Ae=re):Ae=re:(cf(B,re-R|0,1204),Ae=0|n[l>>2]),R=0|n[s>>2],Ae){s=0|n[e+68>>2],e=0;do{n[s+(e<<2)>>2]=n[R+(e<<2)>>2],e=e+1|0}while(e>>>0<Ae>>>0);fe=R}else fe=R;else if(W=0|n[e+72>>2],R=u=0|n[e+68>>2],(0|W)==(0|u))fe=ee;else{Z=W-u>>2,u=0;do{n[(W=R+(u<<2)|0)>>2]=n[ee+(n[W>>2]<<2)>>2],u=u+1|0}while(u>>>0<Z>>>0);fe=ee}n[l>>2]=$,ie=fe}ie?((0|(fe=0|n[c>>2]))!=(0|ie)&&(n[c>>2]=fe+(~((fe+-4-ie|0)>>>2)<<2)),_b(ie),te=$):te=$}else te=0;if(0|($=0|n[t+8>>2])){ie=$;do{$=ie,ie=0|n[ie>>2],_b($)}while(0!=(0|ie))}return ie=0|n[t>>2],n[t>>2]=0,ie?(_b(ie),y=f,0|te):(y=f,0|te)}function Qt(e,r,i){e|=0,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q;;){if(!((0|(C=0|n[I+4>>2]))==(0|U)|(C&T|0)==(0|j))){X=j,J=29;break e}if((0|A[(C=I+8|0)>>0])==W<<24>>24&&(0|A[C+1>>0])==V<<24>>24&&(0|A[C+2>>0])==F<<24>>24)break e;if(!(I=0|n[I>>2])){X=j,J=29;break e}}else z=Q;for(;;){if((0|(I=0|n[z+4>>2]))!=(0|U)&&(0|(I>>>0<Y>>>0?I:(I>>>0)%(Y>>>0)|0))!=(0|j)){X=j,J=29;break e}if((0|A[(I=z+8|0)>>0])==W<<24>>24&&(0|A[I+1>>0])==V<<24>>24&&(0|A[I+2>>0])==F<<24>>24)break e;if(!(z=0|n[z>>2])){X=j,J=29;break}}}else X=j,J=29}while(0);if(29==(0|J)){J=0,Q=0|Uo(16),A[Q+8>>0]=W,A[Q+9>>0]=V,A[Q+10>>0]=F,n[Q+12>>2]=B,n[Q+4>>2]=U,n[Q>>2]=0,O=g((1+(0|n[w>>2])|0)>>>0),S=g(Y>>>0),H=g(d[o>>2]);do{if(M|g(H*S)<O){if(Uf(t,(I=Y<<1|1&(Y>>>0<3|0!=(Y+-1&Y|0)))>>>0<(T=~~g(N(g(O/H)))>>>0)>>>0?T:I),!((T=(I=0|n[p>>2])-1|0)&I)){D=I,x=T&U;break}U>>>0<I>>>0?(D=I,x=U):(D=I,x=(U>>>0)%(I>>>0)|0)}else D=Y,x=X}while(0);Y=(0|n[t>>2])+(x<<2)|0,(U=0|n[Y>>2])?(n[Q>>2]=n[U>>2],L=U,J=42):(n[Q>>2]=n[v>>2],n[v>>2]=Q,n[Y>>2]=v,0|(Y=0|n[Q>>2])&&(M=0|n[Y+4>>2],P=(Y=D+-1|0)&D?M>>>0<D>>>0?M:(M>>>0)%(D>>>0)|0:M&Y,L=(0|n[t>>2])+(P<<2)|0,J=42)),42==(0|J)&&(J=0,n[L>>2]=Q),n[w>>2]=1+(0|n[w>>2])}M=0|To(0|(Y=0|n[(U=m)>>2]),0|n[U+4>>2],0|B,0),qi((0|n[n[Z>>2]>>2])+M|0,0|c,0|Y),Y=0|n[u>>2],n[Y+(R<<2)>>2]=B,K=B+1|0,$=Y}if((R=R+1|0)>>>0>=(ee=0|n[b>>2])>>>0)break;B=K}if((0|K)==(0|ee))re=$;else{if(0|A[(B=e+84|0)>>0])if(A[B>>0]=0,B=e+68|0,Z=(m=0|n[($=e+72|0)>>2])-(c=0|n[B>>2])>>2,R=c,c=m,ee>>>0<=Z>>>0?ee>>>0<Z>>>0&&(0|(m=R+(ee<<2)|0))!=(0|c)?(n[$>>2]=c+(~((c+-4-m|0)>>>2)<<2),fe=ee):fe=ee:(cf(B,ee-Z|0,1204),fe=0|n[b>>2]),Z=0|n[u>>2],fe){u=0|n[e+68>>2],e=0;do{n[u+(e<<2)>>2]=n[Z+(e<<2)>>2],e=e+1|0}while(e>>>0<fe>>>0);ie=Z}else ie=Z;else if(R=0|n[e+72>>2],Z=c=0|n[e+68>>2],(0|R)==(0|c))ie=$;else{m=R-c>>2,c=0;do{n[(R=Z+(c<<2)|0)>>2]=n[$+(n[R>>2]<<2)>>2],c=c+1|0}while(c>>>0<m>>>0);ie=$}n[b>>2]=K,re=ie}re?((0|(ie=0|n[l>>2]))!=(0|re)&&(n[l>>2]=ie+(~((ie+-4-re|0)>>>2)<<2)),_b(re),Ae=K):Ae=K}else Ae=0;if(0|(K=0|n[t+8>>2])){re=K;do{K=re,re=0|n[re>>2],_b(K)}while(0!=(0|re))}return re=0|n[t>>2],n[t>>2]=0,re?(_b(re),y=f,0|Ae):(y=f,0|Ae)}function Xt(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b,l,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,W=0,V=0,G=0,F=0,U=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=q,H=q,D=q,x=0,P=0,L=0,K=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0;if(f=y,y=y+64|0,c=f+24|0,a=f+12|0,u=f,o=16+(t=f+36|0)|0,n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,n[t+12>>2]=0,d[o>>2]=g(1),s=0|n[(b=e+80|0)>>2],n[u>>2]=0,n[(l=u+4|0)>>2]=0,n[u+8>>2]=0,s){for(s>>>0>1073741823&&On(),_=0|Uo(k=s<<2),n[u>>2]=_,h=_+(s<<2)|0,n[u+8>>2]=h,IA(0|_,0,0|k),n[l>>2]=h,h=0|n[i>>2],i=r+48|0,k=r+40|0,_=a+4|0,s=a+8|0,p=t+4|0,w=t+12|0,v=t+8|0,m=e+40|0,Z=e+64|0,R=0,B=0;;){V=0|n[(W=i)>>2],G=0|n[W+4>>2],W=0|Ho(0|(F=0|To(0|n[(W=k)>>2],0|n[W+4>>2],h+B|0,0)),0|E,0|V,0|G),V=G=(0|n[n[r>>2]>>2])+W|0,F=(W=c)+12|0;do{A[W>>0]=0|A[V>>0],W=W+1|0,V=V+1|0}while((0|W)<(0|F));if(no(0|a,0|G,12),V=0|yi(t,a))M=0|n[u>>2],n[M+(B<<2)>>2]=n[V+20>>2],$=R,ee=M;else{Y=239+(239+(318^(W=0|n[a>>2]))^(F=0|n[_>>2]))^(U=0|n[s>>2]),T=0==(0|(M=0|n[p>>2]));e:do{if(T)J=0,z=29;else if(C=(j=0==((I=M+-1|0)&M|0))?Y&I:Y>>>0<M>>>0?Y:(Y>>>0)%(M>>>0)|0,0!=(0|(Q=0|n[(0|n[t>>2])+(C<<2)>>2]))&&0!=(0|(X=0|n[Q>>2]))){if(j)for(j=X;;){if(!((0|(Q=0|n[j+4>>2]))==(0|Y)|(Q&I|0)==(0|C))){J=C,z=29;break e}if((0|n[j+8>>2])==(0|W)&&(0|n[j+12>>2])==(0|F)&&(0|n[j+16>>2])==(0|U))break e;if(!(j=0|n[j>>2])){J=C,z=29;break e}}else O=X;for(;;){if((0|(j=0|n[O+4>>2]))!=(0|Y)&&(0|(j>>>0<M>>>0?j:(j>>>0)%(M>>>0)|0))!=(0|C)){J=C,z=29;break e}if((0|n[O+8>>2])==(0|W)&&(0|n[O+12>>2])==(0|F)&&(0|n[O+16>>2])==(0|U))break e;if(!(O=0|n[O>>2])){J=C,z=29;break}}}else J=C,z=29}while(0);if(29==(0|z)){z=0,G=0|Uo(24),n[G+8>>2]=W,n[G+12>>2]=F,n[G+16>>2]=U,n[G+20>>2]=R,n[G+4>>2]=Y,n[G>>2]=0,S=g((1+(0|n[w>>2])|0)>>>0),H=g(M>>>0),D=g(d[o>>2]);do{if(T|g(D*H)<S){if(Nf(t,(X=M<<1|1&(M>>>0<3|0!=(M+-1&M|0)))>>>0<(j=~~g(N(g(S/D)))>>>0)>>>0?j:X),!((j=(X=0|n[p>>2])-1|0)&X)){x=X,P=j&Y;break}Y>>>0<X>>>0?(x=X,P=Y):(x=X,P=(Y>>>0)%(X>>>0)|0)}else x=M,P=J}while(0);M=(0|n[t>>2])+(P<<2)|0,(Y=0|n[M>>2])?(n[G>>2]=n[Y>>2],K=Y,z=42):(n[G>>2]=n[v>>2],n[v>>2]=G,n[M>>2]=v,0|(M=0|n[G>>2])&&(T=0|n[M+4>>2],L=(M=x+-1|0)&x?T>>>0<x>>>0?T:(T>>>0)%(x>>>0)|0:T&M,K=(0|n[t>>2])+(L<<2)|0,z=42)),42==(0|z)&&(z=0,n[K>>2]=G),n[w>>2]=1+(0|n[w>>2])}T=0|To(0|(M=0|n[(Y=m)>>2]),0|n[Y+4>>2],0|R,0),qi((0|n[n[Z>>2]>>2])+T|0,0|c,0|M),M=0|n[u>>2],n[M+(B<<2)>>2]=R,$=R+1|0,ee=M}if((B=B+1|0)>>>0>=(re=0|n[b>>2])>>>0)break;R=$}if((0|$)==(0|re))ie=ee;else{if(0|A[(R=e+84|0)>>0])if(A[R>>0]=0,R=e+68|0,Z=(m=0|n[(ee=e+72|0)>>2])-(c=0|n[R>>2])>>2,B=c,c=m,re>>>0<=Z>>>0?re>>>0<Z>>>0&&(0|(m=B+(re<<2)|0))!=(0|c)?(n[ee>>2]=c+(~((c+-4-m|0)>>>2)<<2),Ae=re):Ae=re:(cf(R,re-Z|0,1204),Ae=0|n[b>>2]),Z=0|n[u>>2],Ae){u=0|n[e+68>>2],e=0;do{n[u+(e<<2)>>2]=n[Z+(e<<2)>>2],e=e+1|0}while(e>>>0<Ae>>>0);fe=Z}else fe=Z;else if(B=0|n[e+72>>2],Z=c=0|n[e+68>>2],(0|B)==(0|c))fe=ee;else{m=B-c>>2,c=0;do{n[(B=Z+(c<<2)|0)>>2]=n[ee+(n[B>>2]<<2)>>2],c=c+1|0}while(c>>>0<m>>>0);fe=ee}n[b>>2]=$,ie=fe}ie?((0|(fe=0|n[l>>2]))!=(0|ie)&&(n[l>>2]=fe+(~((fe+-4-ie|0)>>>2)<<2)),_b(ie),te=$):te=$}else te=0;if(0|($=0|n[t+8>>2])){ie=$;do{$=ie,ie=0|n[ie>>2],_b($)}while(0!=(0|ie))}return ie=0|n[t>>2],n[t>>2]=0,ie?(_b(ie),y=f,0|te):(y=f,0|te)}function Jt(e,r,i){e|=0,i|=0;var f,t,a,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;switch(f=y,y=y+32|0,t=f+16|0,a=f+12|0,o=f+8|0,b=f+4|0,l=f,0|n[28+(r|=0)>>2]){case 9:switch(c=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=c,n[t>>2]=n[a>>2],u=0|gt(e,r,t);break;case 2:n[o>>2]=c,n[t>>2]=n[o>>2],u=0|Rt(e,r,t);break;case 3:n[b>>2]=c,n[t>>2]=n[b>>2],u=0|Xt(e,r,t);break;case 4:n[l>>2]=c,n[t>>2]=n[l>>2],u=0|jt(e,r,t);break;default:u=0}s=u;break;case 1:switch(u=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=u,n[t>>2]=n[a>>2],k=0|Ut(e,r,t);break;case 2:n[o>>2]=u,n[t>>2]=n[o>>2],k=0|Bt(e,r,t);break;case 3:n[b>>2]=u,n[t>>2]=n[b>>2],k=0|Qt(e,r,t);break;case 4:n[l>>2]=u,n[t>>2]=n[l>>2],k=0|It(e,r,t);break;default:k=0}s=k;break;case 11:case 2:switch(k=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=k,n[t>>2]=n[a>>2],d=0|Ut(e,r,t);break;case 2:n[o>>2]=k,n[t>>2]=n[o>>2],d=0|Bt(e,r,t);break;case 3:n[b>>2]=k,n[t>>2]=n[b>>2],d=0|Qt(e,r,t);break;case 4:n[l>>2]=k,n[t>>2]=n[l>>2],d=0|It(e,r,t);break;default:d=0}s=d;break;case 4:switch(d=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=d,n[t>>2]=n[a>>2],_=0|Gt(e,r,t);break;case 2:n[o>>2]=d,n[t>>2]=n[o>>2],_=0|mt(e,r,t);break;case 3:n[b>>2]=d,n[t>>2]=n[b>>2],_=0|Ct(e,r,t);break;case 4:n[l>>2]=d,n[t>>2]=n[l>>2],_=0|Mt(e,r,t);break;default:_=0}s=_;break;case 3:switch(_=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=_,n[t>>2]=n[a>>2],h=0|Gt(e,r,t);break;case 2:n[o>>2]=_,n[t>>2]=n[o>>2],h=0|mt(e,r,t);break;case 3:n[b>>2]=_,n[t>>2]=n[b>>2],h=0|Ct(e,r,t);break;case 4:n[l>>2]=_,n[t>>2]=n[l>>2],h=0|Mt(e,r,t);break;default:h=0}s=h;break;case 6:switch(h=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=h,n[t>>2]=n[a>>2],p=0|gt(e,r,t);break;case 2:n[o>>2]=h,n[t>>2]=n[o>>2],p=0|Rt(e,r,t);break;case 3:n[b>>2]=h,n[t>>2]=n[b>>2],p=0|Xt(e,r,t);break;case 4:n[l>>2]=h,n[t>>2]=n[l>>2],p=0|jt(e,r,t);break;default:p=0}s=p;break;case 5:switch(p=0|n[i>>2],0|A[r+24>>0]){case 1:n[a>>2]=p,n[t>>2]=n[a>>2],w=0|gt(e,r,t);break;case 2:n[o>>2]=p,n[t>>2]=n[o>>2],w=0|Rt(e,r,t);break;case 3:n[b>>2]=p,n[t>>2]=n[b>>2],w=0|Xt(e,r,t);break;case 4:n[l>>2]=p,n[t>>2]=n[l>>2],w=0|jt(e,r,t);break;default:w=0}s=w;break;default:return y=f,-1}return y=f,0|(0==(0|s)?-1:s)}function zt(e){var r,i=0,f=0,t=0,a=0,o=0,b=0,l=0,c=0;r=e|=0;e:do{if(3&r)for(t=e,a=r;;){if(!(0|A[t>>0])){o=a;break e}if(!(3&(a=b=t+1|0))){i=b,f=4;break}t=b}else i=e,f=4}while(0);if(4==(0|f)){for(f=i;!((-2139062144&(l=0|n[f>>2])^-2139062144)&l+-16843009);)f=f+4|0;if((255&l)<<24>>24)for(l=f;;){if(!(0|A[(f=l+1|0)>>0])){c=f;break}l=f}else c=f;o=c}return o-r|0}function Ot(e,r,i){r|=0,i|=0;var f,t,a,o,b,l=0;f=y,y=y+16|0,t=f,b=(o=(l=0|A[(a=11+(e|=0)|0)>>0])<<24>>24<0)?0|n[e+4>>2]:255&l;do{if(b>>>0>=r>>>0){if(o){l=(0|n[e>>2])+r|0,A[t>>0]=0,Un(l,t),n[e+4>>2]=r;break}A[t>>0]=0,Un(e+r|0,t),A[a>>0]=r;break}GA(e,r-b|0,i)}while(0);y=f}function St(e,r,i,f,t,a,o,b,l,c){r|=0,i|=0,f|=0,t|=0,a|=0,o|=0,b|=0,l|=0,c|=0;var u=0,s=0,k=0;n[(e|=0)>>2]=i,0|i&&(s=0|n[4+(u=i+16|0)>>2],n[(k=e+8|0)>>2]=n[u>>2],n[k+4>>2]=s,i=0|n[4+(s=i+24|0)>>2],n[(k=e+16|0)>>2]=n[s>>2],n[k+4>>2]=i),A[e+24>>0]=f,n[e+28>>2]=t,A[e+32>>0]=1&a,n[(a=e+40|0)>>2]=o,n[a+4>>2]=b,n[(b=e+48|0)>>2]=l,n[b+4>>2]=c,n[e+56>>2]=r}function Ht(e,r){e|=0;var i=0,f=0,t=0,a=0,o=0,b=0,l=0;(0|n[76+(r|=0)>>2])>=0&&0!=(0|wb())?(i=255&e,(0|(f=255&e))!=(0|A[r+75>>0])&&(a=0|n[(t=r+20|0)>>2])>>>0<(0|n[r+16>>2])>>>0?(n[t>>2]=a+1,A[a>>0]=i,o=f):o=0|xt(r,e),pb(),b=o):l=3;do{if(3==(0|l)){if(o=255&e,(0|(f=255&e))!=(0|A[r+75>>0])&&(a=0|n[(i=r+20|0)>>2])>>>0<(0|n[r+16>>2])>>>0){n[i>>2]=a+1,A[a>>0]=o,b=f;break}b=0|xt(r,e)}}while(0);return 0|b}function Dt(e,r){r|=0;var i,f,t,a,o=0;return i=y,y=y+16|0,f=i+4|0,t=i,a=i+8|0,-1==(0|(o=0|n[4+(e|=0)>>2]))?(y=i,0):(A[a>>0]=o,(0|(e=0|n[4+(o=r+16|0)>>2]))>0|0==(0|e)&(0|n[o>>2])>>>0>0||(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,a,a+1|0)),y=i,1)}function xt(e,r){e|=0;var i,f,t,a=0,o=0,b=0,c=0,u=0,s=0;i=y,y=y+16|0,t=255&(r|=0),A[(f=i)>>0]=t,(o=0|n[(a=e+16|0)>>2])?(b=o,c=4):0|Oa(e)?u=-1:(b=0|n[a>>2],c=4);do{if(4==(0|c)){if((a=0|n[(o=e+20|0)>>2])>>>0<b>>>0&&(0|(s=255&r))!=(0|A[e+75>>0])){n[o>>2]=a+1,A[a>>0]=t,u=s;break}u=1==(0|Zb[31&n[e+36>>2]](e,f,1))?0|l[f>>0]:-1}}while(0);return y=i,0|u}function Pt(e,r){e|=0,r|=0;var i,f,A=0,t=0;A=60+(i=0|Uo(88))|0,f=(t=i)+60|0;do{n[t>>2]=0,t=t+4|0}while((0|t)<(0|f));n[A>>2]=i,n[(A=i+64|0)>>2]=0,n[A+4>>2]=0,n[A+8>>2]=0,n[A+12>>2]=0,n[A+16>>2]=0,n[A+20>>2]=0,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)|0)<<2),n[i>>2]=k,n[u>>2]=b,n[c>>2]=l,IA(0|k,0,(c=l>>>5)<<2|0),b=31&l,l=k+(c<<2)|0,0|b&&(n[l>>2]=n[l>>2]&~(-1>>>(32-b|0)))),n[t>>2]=0,n[(b=t+4|0)>>2]=0,n[t+8>>2]=0,l=e+12|0,c=f+4|0,k=t+8|0,u=s,s=a,a=o;(0|s)!=(0|a);){for(d=0,_=0,h=a,p=u;;){o=0|n[i>>2];do{if(n[o+(_>>>5<<2)>>2]&1<<(31&_))z=d,O=h;else{for(w=0|n[t>>2],(0|(v=0|n[b>>2]))==(0|w)?m=w:(Z=v+(~((v+-8-w|0)>>>3)<<3)|0,n[b>>2]=Z,m=Z),Z=_;;){if(-1==(0|(R=0==(0|((v=Z+1|0)>>>0)%3)?Z+-2|0:v))){B=Z,E=h,W=o,V=p,N=w,G=m;break}if(R=1+(v=0|n[(0|n[l>>2])+(R<<2)>>2])|0,-1==(0|v)){B=Z,E=h,W=o,V=p,N=w,G=m;break}if(!((0|(F=0==(0|(R>>>0)%3)?v+-2|0:R))!=(0|_)&-1!=(0|F))){B=Z,E=h,W=o,V=p,N=w,G=m;break}if(n[o+(F>>>5<<2)>>2]&1<<(31&F)){B=Z,E=h,W=o,V=p,N=w,G=m;break}Z=F}e:for(;;){if(n[(w=W+(B>>>5<<2)|0)>>2]=n[w>>2]|1<<(31&B),w=0|n[V+((F=0==(0|((w=B+1|0)>>>0)%3)?B+-2|0:w)<<2)>>2],U=(0==(0|(B>>>0)%3)?2:-1)+B|0,(0|N)!=(0|G))if(-1==(0|U)){R=N;do{if((0|n[R>>2])==(0|w)&&-1!=(0|(v=0|n[R+4>>2]))){g=v,Y=-1,M=-1,T=25;break e}R=R+8|0}while((0|R)!=(0|G))}else{R=N;do{if((0|n[R>>2])==(0|w)&&(I=0|n[R+4>>2],(0|(j=0|n[(0|n[l>>2])+(U<<2)>>2]))!=(0|I))){T=24;break e}R=R+8|0}while((0|R)!=(0|G))}if(n[f>>2]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4|0)>>2]=0,n[(l=A+8|0)>>2]=0;do{if(_)if((0|d)<0&&On(),m=0|Uo((v=1+((_+-1|0)>>>5)|0)<<2),n[A>>2]=m,n[l>>2]=v,n[b>>2]=_,IA(0|m,0,(v=_>>>5)<<2|0),R=m+(v<<2)|0,0|(Z=31&_)&&(n[R>>2]=n[R>>2]&~(-1>>>(32-Z|0))),_>>>0>2){Z=e+12|0,R=e+32|0,v=e+52|0,m=e+56|0,B=e+48|0,E=r,W=u,V=0,N=p,G=w;e:for(;;){if(F=W,-1!=(0|(U=3*V|0)))if(g=0|n[F+(U<<2)>>2],T=-1==(0|(M=0==(0|((Y=U+1|0)>>>0)%3)?U+-2|0:Y))?-1:0|n[F+(M<<2)>>2],I=-1==(0|(M=(0==(0|(U>>>0)%3)?2:-1)+U|0))?-1:0|n[F+(M<<2)>>2],(0|g)==(0|T)||(0|g)==(0|I)|(0|T)==(0|I))ie=E,fe=N,Ae=G;else for(g=0,M=E,F=G,Y=N;;){if(j=g+U|0,n[(0|n[A>>2])+(j>>>5<<2)>>2]&1<<(31&j))$=M,ee=Y,re=F;else{if(C=0|n[(0|n[e>>2])+(j<<2)>>2],n[t>>2]=C,n[F+(C>>>5<<2)>>2]&1<<(31&C)){if((0|(C=0|n[o>>2]))==(0|n[R>>2])?sA(a,5828):(n[C>>2]=-1,n[o>>2]=C+4),(0|(C=0|n[v>>2]))==(0|n[m>>2])?sA(B,t):(n[C>>2]=n[t>>2],n[v>>2]=C+4),(0|(C=0|n[s>>2]))==((z=0|n[c>>2])<<5|0)){if((C+1|0)<0){O=50;break e}S=z<<6,z=C+32&-32,Lf(f,C>>>0<1073741823?S>>>0<z>>>0?z:S:2147483647),H=0|n[s>>2]}else H=C;n[s>>2]=H+1,C=(0|n[f>>2])+(H>>>5<<2)|0,n[C>>2]=n[C>>2]&~(1<<(31&H)),n[t>>2]=M,Q=1,X=M+1|0,J=M}else Q=0,X=M,J=C;C=0|n[f>>2],n[(S=C+(J>>>5<<2)|0)>>2]=n[S>>2]|1<<(31&J),S=C;r:do{if(Q)for(z=j;;){if(-1==(0|z)){O=64;break r}D=(0|n[A>>2])+(z>>>5<<2)|0,n[D>>2]=n[D>>2]|1<<(31&z),D=0|n[t>>2],n[(0|n[a>>2])+(D<<2)>>2]=z,n[(0|n[e>>2])+(z<<2)>>2]=D,x=0==(0|((D=z+1|0)>>>0)%3)?z+-2|0:D;do{if(-1==(0|x))P=-1;else{if(L=1+(D=0|n[(0|n[Z>>2])+(x<<2)>>2])|0,-1==(0|D)){P=-1;break}P=0==(0|(L>>>0)%3)?D+-2|0:L}}while(0);if((0|P)==(0|j))break;z=P}else for(z=j;;){if(-1==(0|z)){O=64;break r}x=(0|n[A>>2])+(z>>>5<<2)|0,n[x>>2]=n[x>>2]|1<<(31&z),n[(0|n[a>>2])+(n[t>>2]<<2)>>2]=z,L=0==(0|((x=z+1|0)>>>0)%3)?z+-2|0:x;do{if(-1==(0|L))K=-1;else{if(D=1+(x=0|n[(0|n[Z>>2])+(L<<2)>>2])|0,-1==(0|x)){K=-1;break}K=0==(0|(D>>>0)%3)?x+-2|0:D}}while(0);if((0|K)==(0|j))break;z=K}}while(0);r:do{if(64==(0|O)){if(O=0,-1==(0|j))break;if(-1==(0|(z=(0==(0|(j>>>0)%3)?2:-1)+j|0)))break;if(-1==(0|(L=0|n[(0|n[Z>>2])+(z<<2)>>2])))break;if(-1==(0|(z=L+(0==(0|(L>>>0)%3)?2:-1)|0)))break;if(!Q)for(L=z;;){if(D=(0|n[A>>2])+(L>>>5<<2)|0,n[D>>2]=n[D>>2]|1<<(31&L),-1==(0|(D=(0==(0|(L>>>0)%3)?2:-1)+L|0)))break r;if(-1==(0|(x=0|n[(0|n[Z>>2])+(D<<2)>>2])))break r;if(-1==(0|(L=x+(0==(0|(x>>>0)%3)?2:-1)|0)))break r}L=0|n[e>>2],x=z;do{if(D=(0|n[A>>2])+(x>>>5<<2)|0,n[D>>2]=n[D>>2]|1<<(31&x),n[L+(x<<2)>>2]=n[t>>2],-1==(0|(D=(0==(0|(x>>>0)%3)?2:-1)+x|0)))break r;if(-1==(0|(q=0|n[(0|n[Z>>2])+(D<<2)>>2])))break r;x=q+(0==(0|(q>>>0)%3)?2:-1)|0}while(-1!=(0|x))}}while(0);$=X,ee=S,re=C}if(!((0|g)<2)){ie=$,fe=ee,Ae=re;break}g=g+1|0,M=$,F=re,Y=ee}else ie=E,fe=N,Ae=G;if(V=V+1|0,W=0|n[e>>2],V>>>0>=(((0|n[k>>2])-W>>2>>>0)/3|0)>>>0){O=18;break}E=ie,N=fe,G=Ae}if(18==(0|O)){te=fe,ae=0|n[s>>2];break}50==(0|O)&&On()}else te=p,ae=h;else te=p,ae=h}while(0);n[(h=e+44|0)>>2]=0,p=(e=te)+((te=ae>>>5)<<2)|0,O=31&ae,ae=0!=(0|te);e:do{if(te|O|0)if(O){if(ae)for(Ae=0,fe=e,s=0;;){if(1&n[fe>>2]?(Qe=s,Xe=Ae):(k=s+1|0,n[h>>2]=k,Qe=k,Xe=k),2&n[fe>>2]?(Je=Qe,ze=Xe):(k=Qe+1|0,n[h>>2]=k,Je=k,ze=k),4&n[fe>>2]?(Oe=Je,Se=ze):(k=Je+1|0,n[h>>2]=k,Oe=k,Se=k),8&n[fe>>2]?(He=Oe,De=Se):(k=Oe+1|0,n[h>>2]=k,He=k,De=k),16&n[fe>>2]?(xe=He,Pe=De):(k=He+1|0,n[h>>2]=k,xe=k,Pe=k),32&n[fe>>2]?(Le=xe,Ke=Pe):(k=xe+1|0,n[h>>2]=k,Le=k,Ke=k),64&n[fe>>2]?(qe=Le,$e=Ke):(k=Le+1|0,n[h>>2]=k,qe=k,$e=k),128&n[fe>>2]?(er=qe,rr=$e):(k=qe+1|0,n[h>>2]=k,er=k,rr=k),256&n[fe>>2]?(ir=er,fr=rr):(k=er+1|0,n[h>>2]=k,ir=k,fr=k),512&n[fe>>2]?(Ar=ir,tr=fr):(k=ir+1|0,n[h>>2]=k,Ar=k,tr=k),1024&n[fe>>2]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n[h>>2]=ie,ve=ie),16384&n[s>>2]?ye=ve:(ie=ve+1|0,n[h>>2]=ie,ye=ie),32768&n[s>>2]?me=ye:(ie=ye+1|0,n[h>>2]=ie,me=ie),65536&n[s>>2]?Ze=me:(ie=me+1|0,n[h>>2]=ie,Ze=ie),131072&n[s>>2]?Re=Ze:(ie=Ze+1|0,n[h>>2]=ie,Re=ie),262144&n[s>>2]?Be=Re:(ie=Re+1|0,n[h>>2]=ie,Be=ie),524288&n[s>>2]?Ee=Be:(ie=Be+1|0,n[h>>2]=ie,Ee=ie),1048576&n[s>>2]?We=Ee:(ie=Ee+1|0,n[h>>2]=ie,We=ie),2097152&n[s>>2]?Ve=We:(ie=We+1|0,n[h>>2]=ie,Ve=ie),4194304&n[s>>2]?Ne=Ve:(ie=Ve+1|0,n[h>>2]=ie,Ne=ie),8388608&n[s>>2]?Ge=Ne:(ie=Ne+1|0,n[h>>2]=ie,Ge=ie),16777216&n[s>>2]?Fe=Ge:(ie=Ge+1|0,n[h>>2]=ie,Fe=ie),33554432&n[s>>2]?Ue=Fe:(ie=Fe+1|0,n[h>>2]=ie,Ue=ie),67108864&n[s>>2]?ge=Ue:(ie=Ue+1|0,n[h>>2]=ie,ge=ie),134217728&n[s>>2]?Ye=ge:(ie=ge+1|0,n[h>>2]=ie,Ye=ie),268435456&n[s>>2]?Me=Ye:(ie=Ye+1|0,n[h>>2]=ie,Me=ie),536870912&n[s>>2]?Te=Me:(ie=Me+1|0,n[h>>2]=ie,Te=ie),1073741824&n[s>>2]?Ie=Te:(ie=Te+1|0,n[h>>2]=ie,Ie=ie),(0|n[s>>2])<=-1){je=Ie;break}ie=Ie+1|0,n[h>>2]=ie,je=ie}else for(ie=0,k=fe;;){if(n[s>>2]&1<<ie?Ce=k:(re=k+1|0,n[h>>2]=re,Ce=re),31==(0|ie)){je=Ce;break r}if(!(ie=ie+1|0))break e;k=Ce}}while(0);if((0|p)==(0|(s=s+4|0)))break;fe=je,Ae=1}}while(0);if(0|(qr=0|n[A>>2])&&_b(qr),!(qr=0|n[f>>2]))return y=i,1;_b(qr),y=i}(e,0|n[f>>2]),y=i,1):(y=i,0)}(i,r),n[e>>2]=A?i:0,e=A?0:i,A||(oA(e),_b(e))}function Lt(e,r){return e|=0,(r|=0)?(Lt(e,0|n[r>>2]),Lt(e,0|n[r+4>>2]),zA(r+20|0,0|n[r+24>>2]),void _b(r)):void 0}function Kt(e,r,i){e|=0,r|=0,i|=0;var f,t,a,o,b=0,l=0;f=y,y=y+16|0,a=f+4|0,n[(t=f)>>2]=r,r=e+4|0,e=0|Uo(32),n[a>>2]=e,n[a+8>>2]=-2147483616,n[a+4>>2]=17,l=12932,o=(b=e)+17|0;do{A[b>>0]=0|A[l>>0],b=b+1|0,l=l+1|0}while((0|b)<(0|o));A[e+17>>0]=0,ra(0|Qe(r,t),a,i),(0|A[a+11>>0])>=0||_b(0|n[a>>2]),y=f}function qt(e,r,i){i|=0;var f=0,t=0,a=0,o=0,n=0,b=0;if((r|=0)>>>0>0|0==(0|r)&(e|=0)>>>0>4294967295){for(f=i,t=e,a=r;r=0|Go(0|t,0|a,10,0),A[(f=f+-1|0)>>0]=255&r|48,r=t,t=0|Wn(0|t,0|a,10,0),a>>>0>9|9==(0|a)&r>>>0>4294967295;)a=E;o=t,n=f}else o=e,n=i;if(o)for(i=o,o=n;;){if(A[(n=o+-1|0)>>0]=48|(i>>>0)%10,i>>>0<10){b=n;break}i=(i>>>0)/10|0,o=n}else b=n;return 0|b}function $t(e){var r=0,i=0,f=0,t=0,a=0,o=0,n=0,b=0;for(r=e|=0;i=r+1|0,0|Pn(0|A[r>>0]);)r=i;switch((e=0|A[r>>0])<<24>>24|0){case 45:f=1,t=5;break;case 43:f=0,t=5;break;default:a=0,o=r,n=e}if(5==(0|t)&&(a=f,o=i,n=0|A[i>>0]),0|nb(n<<24>>24))for(n=0,i=o;;){if(o=48+(10*n|0)-(0|A[i>>0])|0,!(0|nb(0|A[(i=i+1|0)>>0]))){b=o;break}n=o}else b=0;return 0|(0|a?b:0-b|0)}function ea(e,r,i){var f,t;e|=0,r|=0,f=y,y=y+16|0,Ia(t=f,1&(i|=0)),i=0|$f(e,r),(0|A[(r=i+11|0)>>0])<0?(A[n[i>>2]>>0]=0,n[i+4>>2]=0):(A[i>>0]=0,A[r>>0]=0),xi(i,0),n[i>>2]=n[t>>2],n[i+4>>2]=n[t+4>>2],n[i+8>>2]=n[t+8>>2],y=f}function ra(e,r,i){var f,t;e|=0,r|=0,f=y,y=y+16|0,Ia(t=f,i|=0),i=0|$f(e,r),(0|A[(r=i+11|0)>>0])<0?(A[n[i>>2]>>0]=0,n[i+4>>2]=0):(A[i>>0]=0,A[r>>0]=0),xi(i,0),n[i>>2]=n[t>>2],n[i+4>>2]=n[t+4>>2],n[i+8>>2]=n[t+8>>2],y=f}function ia(e,r,i){i|=0;var f,t=0,a=0;return(0|(f=0|Qi(e|=0,r|=0)))==(e+4|0)?(a=0!=(0|(t=-1)),0|(-1==(0|t)?i:a)):(a=0!=(0|(t=0|$t((0|A[11+(e=f+28|0)>>0])<0?0|n[e>>2]:e))),0|(-1==(0|t)?i:a))}function fa(e){n[(e|=0)>>2]=1136,zA(e+28|0,0|n[e+32>>2]),XA(e+16|0,0|n[e+20>>2]),zA(e+4|0,0|n[e+8>>2]),_b(e)}function Aa(e,r){e|=0;var i,f=0,A=0,t=0,a=0;return-1==(0|(f=0|n[(r|=0)>>2]))||-1==(0|(r=3*f|0))?1:(f=0|n[e>>2],e=0|n[f+(r<<2)>>2],t=-1==(0|(A=0==(0|((i=r+1|0)>>>0)%3)?r+-2|0:i))?-1:0|n[f+(A<<2)>>2],a=-1==(0|(A=(0==(0|(r>>>0)%3)?2:-1)+r|0))?-1:0|n[f+(A<<2)>>2],(0|e)==(0|t)?1:(0|e)==(0|a)|(0|t)==(0|a)|0)}function ta(e,r){e|=0,r|=0;var i=0,f=0,t=0,a=0,o=0,b=0;for(i=0;;){if((0|l[15560+i>>0])==(0|e)){f=2;break}if(87==(0|(t=i+1|0))){a=15648,o=87,f=5;break}i=t}if(2==(0|f)&&(i?(a=15648,o=i,f=5):b=15648),5==(0|f))for(;;){f=0,i=a;do{e=i,i=i+1|0}while(0!=(0|A[e>>0]));if(!(o=o+-1|0)){b=i;break}a=i,f=5}return 0|function(e,r){return 0|function(e,r){e|=0;var i;return 0|(0|(i=(r|=0)?0|uf(0|n[r>>2],0|n[r+4>>2],e):0)?i:e)}(e|=0,r|=0)}(b,0|n[r+20>>2])}function aa(e,r){e=+e,r|=0;var i,f,A,t=0,a=0,o=0;switch(h[v>>3]=e,2047&(A=0|xo(0|(i=0|n[v>>2]),0|(f=0|n[v+4>>2]),52))){case 0:0!=e?(t=+aa(0x10000000000000000*e,r),a=(0|n[r>>2])-64|0):(t=e,a=0),n[r>>2]=a,o=t;break;case 2047:o=e;break;default:n[r>>2]=(2047&A)-1022,n[v>>2]=i,n[v+4>>2]=-2146435073&f|1071644672,o=+h[v>>3]}return+o}function oa(e){n[(e|=0)>>2]=2968,zA(e+28|0,0|n[e+32>>2]),Lt(e+16|0,0|n[e+20>>2]),zA(e+4|0,0|n[e+8>>2]),_b(e)}function na(e,r){e=+e;var i=0,f=0,A=0,t=0,a=0;return(0|(r|=0))<=1023?(0|r)<-1022?(i=22250738585072014e-324*e,A=r+2044|0,t=(f=(0|r)<-2044)?22250738585072014e-324*i:i,a=f?(0|A)>-1022?A:-1022:r+1022|0):(t=e,a=r):(i=898846567431158e293*e,f=r+-2046|0,t=(A=(0|r)>2046)?898846567431158e293*i:i,a=A?(0|f)<1023?f:1023:r+-1023|0),r=0|So(a+1023|0,0,52),a=E,n[v>>2]=r,n[v+4>>2]=a,+t*+h[v>>3]}function ba(e,r){r|=0;var i,f,A,t,a=0;n[(e|=0)>>2]=0,n[(i=e+4|0)>>2]=0,n[e+8>>2]=0,(a=(A=(0|n[(f=r+4|0)>>2])-(0|n[r>>2])|0)>>2)&&(a>>>0>1073741823&&On(),t=0|Uo(A),n[i>>2]=t,n[e>>2]=t,n[e+8>>2]=t+(a<<2),a=0|n[r>>2],(0|(r=(0|n[f>>2])-a|0))<=0||(qi(0|t,0|a,0|r),n[i>>2]=t+(r>>>2<<2)))}function la(e,r){r|=0;var i,f,A,t,a=0;i=8+(e|=0)|0,f=0|n[e>>2],(0|n[i>>2])-f>>2>>>0>=r>>>0||(A=e+4|0,r>>>0>1073741823&&(_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)),a=(0|n[A>>2])-f|0,t=0|Uo(r<<2),(0|a)>0&&qi(0|t,0|f,0|a),n[e>>2]=t,n[A>>2]=t+(a>>2<<2),n[i>>2]=t+(r<<2),f&&_b(f))}function ca(e,r){e|=0,r|=0;var i,f,t,a,o=0,b=0;i=y,y=y+16|0,f=i,t=0|Uo(16),n[f>>2]=t,n[f+8>>2]=-2147483632,n[f+4>>2]=15,b=12916,a=(o=t)+15|0;do{A[o>>0]=0|A[b>>0],o=o+1|0,b=b+1|0}while((0|o)<(0|a));A[t+15>>0]=0,ra(e+4|0,f,r),(0|A[f+11>>0])>=0||_b(0|n[f>>2]),y=i}function ua(e,r){r|=0;var i,f=0,t=0,a=0;if(f=0|n[176+(e|=0)>>2],e=t=0|n[e+172>>2],(0|f)==(0|t))return 0;for(i=(f-t|0)/136|0,t=0;;){if((0|n[e+(136*t|0)>>2])==(0|r)){a=4;break}if(!((f=t+1|0)>>>0<i>>>0)){a=6;break}t=f}return 4==(0|a)?0|(0==(0|A[e+(136*t|0)+100>>0])?0:e+(136*t|0)+4|0):0}function sa(e,r,i){var f,A;if(r|=0,i|=0,n[(e|=0)>>2]=0,n[(f=e+4|0)>>2]=0,n[e+8>>2]=0,r){r>>>0>357913941&&On(),A=0|Uo(12*r|0),n[f>>2]=A,n[e>>2]=A,n[e+8>>2]=A+(12*r|0),e=r,r=A;do{ba(r,i),r=12+(0|n[f>>2])|0,n[f>>2]=r,e=e+-1|0}while(0!=(0|e))}}function ka(e,r,i){e|=0,r|=0,i=g(i);var f,t=q,a=0;return(0|(f=0|Qi(e,r)))==(e+4|0)?g(t=i):(a=(0|A[11+(e=f+28|0)>>0])<0?0|n[e>>2]:e,t=g(+function(e){return+ +function(e,r){return 0,+ +ha(e|=0,0,1)}(e|=0)}(a)),g(t))}function da(e){e|=0;var r,i,f=0,A=0;if(r=y,y=y+16|0,n[(A=f=r)>>2]=0,n[A+4>>2]=0,Jr(e,2,f),f=0|n[e+12>>2],(0|(i=0|n[(A=e+16|0)>>2]))==(0|f))return n[(e+24|0)>>2]=0,n[(e+28|0)>>2]=0,void(y=r);n[A>>2]=i+(~((i+-4-f|0)>>>2)<<2),n[(e+24|0)>>2]=0,n[(e+28|0)>>2]=0,y=r}function _a(e,r){r|=0;var i,f,A,t=0,a=0,o=0;i=0|n[176+(e|=0)>>2],A=f=0|n[e+172>>2];e:do{if((0|i)!=(0|f)){for(t=(i-f|0)/136|0,a=0;(0|n[A+(136*a|0)>>2])!=(0|r);){if(!((o=a+1|0)>>>0<t>>>0))break e;a=o}return 0|A+(136*a|0)+104}}while(0);return 0|e+40}function ha(e,r,i){e|=0,r|=0,i|=0;var f,A,t,a=0,o=0;f=y,y=y+128|0,o=(a=A=f)+124|0;do{n[a>>2]=0,a=a+4|0}while((0|a)<(0|o));return n[(a=A+4|0)>>2]=e,n[(o=A+8|0)>>2]=-1,n[A+44>>2]=e,n[A+76>>2]=-1,Zo(A,0),t=+oe(A,i,1),i=(0|n[a>>2])-(0|n[o>>2])+(0|n[A+108>>2])|0,0|r&&(n[r>>2]=0|i?e+i|0:e),y=f,+t}function pa(e,r,i,f){e|=0,i|=0,f|=0;var t,a=0;t=0|n[(e=16+(r|=0)|0)>>2];do{if(t){if((0|t)!=(0|i)){n[(a=r+36|0)>>2]=1+(0|n[a>>2]),n[r+24>>2]=2,A[r+54>>0]=1;break}2==(0|n[(a=r+24|0)>>2])&&(n[a>>2]=f)}else n[e>>2]=i,n[r+24>>2]=f,n[r+36>>2]=1}while(0)}function wa(e){var r=0,i=0,f=0;return i=0|A[(r=74+(e|=0)|0)>>0],A[r>>0]=i+255|i,r=e+28|0,(0|n[(i=e+20|0)>>2])>>>0>(0|n[r>>2])>>>0&&Zb[31&n[e+36>>2]](e,0,0),n[e+16>>2]=0,n[r>>2]=0,n[i>>2]=0,4&(i=0|n[e>>2])?(n[e>>2]=32|i,f=-1):(r=(0|n[e+44>>2])+(0|n[e+48>>2])|0,n[e+8>>2]=r,n[e+4>>2]=r,f=i<<27>>31),0|f}function va(e,r){var i;return(0|(i=0|Qi(e|=0,r|=0)))==(e+4|0)?0:0|(1+(0|$t((0|A[11+(e=i+28|0)>>0])<0?0|n[e>>2]:e))|0)>>>0>1}function ya(e,r,i){var f;return i|=0,(0|(f=0|Qi(e|=0,r|=0)))==(e+4|0)?0|i:0|$t((0|A[11+(i=f+28|0)>>0])<0?0|n[i>>2]:i)}function ma(e,r,i,f){i|=0;var A,t,a,o,n=0;return t=(f|=0)>>31|((0|f)<0?-1:0)<<1,a=((0|f)<0?-1:0)>>31|((0|f)<0?-1:0)<<1,o=0|Do((n=(r|=0)>>31|((0|r)<0?-1:0)<<1)^(e|=0)|0,(A=((0|r)<0?-1:0)>>31|((0|r)<0?-1:0)<<1)^r|0,0|n,0|A),e=t^n,n=a^A,0|Do((0|Se(o,r=E,0|Do(t^i|0,a^f|0,0|t,0|a),E,0))^e|0,E^n|0,0|e,0|n)}function Za(e,r,i){r|=0,i|=0;var f,A=0,t=0,a=0;a=(A=0|n[(i=4+(e|=0)|0)>>2])-(t=0|n[e>>2])|0,f=t,t=A,a>>>0>=r>>>0?a>>>0>r>>>0&&(0|(A=f+r|0))!=(0|t)&&(n[i>>2]=A):AA(e,r-a|0),r=0|Ho(0|n[(e=a=e+24|0)>>2],0|n[e+4>>2],1,0),n[(e=a)>>2]=r,n[e+4>>2]=E}function Ra(e,r){var i;return(0|(i=0|Qi(e|=0,r|=0)))==(e+4|0)?-1:0|$t((0|A[11+(e=i+28|0)>>0])<0?0|n[e>>2]:e)}function Ba(e){var r,i=0,f=0;n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,n[e+16>>2]=0,n[e+20>>2]=0,A[e+24>>0]=1,i=e+68|0,r=40+(f=e+28|0)|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|r));n[i>>2]=e,n[(i=e+72|0)>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,n[i+12>>2]=0,n[i+16>>2]=0,n[i+20>>2]=0}function Ea(e,r,i,f,A){e|=0,r|=0;var t,a,o=0;if(t=y,y=y+256|0,a=t,(0|(i|=0))>(0|(f|=0))&0==(73728&(A|=0)|0)){if(IA(0|a,r<<24>>24|0,0|((A=i-f|0)>>>0<256?A:256)),A>>>0>255){r=i-f|0,f=A;do{vn(e,a,256),f=f+-256|0}while(f>>>0>255);o=255&r}else o=A;vn(e,a,o)}y=t}function Wa(e,r,i){e|=0,r|=0,i|=0;var f=0,t=0,a=0,o=0,n=0,b=0;e:do{if(i){for(t=e,a=i,o=r;(n=0|A[t>>0])<<24>>24==(b=0|A[o>>0])<<24>>24;){if(!(a=a+-1|0)){f=0;break e}t=t+1|0,o=o+1|0}f=(255&n)-(255&b)|0}else f=0}while(0);return 0|f}function Va(e){return 0|n[44+(e|=0)>>2]&&0|n[e+48>>2]&&0|n[e+24>>2]&&0|n[e+28>>2]&&0|n[e+32>>2]?0!=(0|n[e+36>>2])|0:0}function Na(e){var r=0;for(n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,r=0;3!=(0|r);)n[e+(r<<2)>>2]=0,r=r+1|0;Ot(e,(0|A[e+11>>0])<0?(2147483647&n[e+8>>2])-1|0:10,0)}function Ga(e){var r,i,f=0,A=0;return(0|(r=0|n[8+(e|=0)>>2]))<2?(E=f=0,0):(i=+Oi(A=+(0|r))*A,A=+N(+(i-+h[e>>3])),f=+V(A)>=1?A>0?~~+F(+W(A/4294967296),4294967295)>>>0:~~+N((A-+(~~A>>>0))/4294967296)>>>0:0,E=f,0|~~A>>>0)}function Fa(e){return 0|n[64+(e|=0)>>2]&&0|n[e+68>>2]&&0|n[e+44>>2]&&0|n[e+48>>2]&&0|n[e+52>>2]?0!=(0|n[e+56>>2])|0:0}function Ua(e,r){e|=0;var i=0;return(0|(r|=0))<0?0:(i=0|n[e+4>>2],((0|n[i+12>>2])-(0|n[i+8>>2])>>2|0)<=(0|r)?0:(i=0|n[(0|n[e+8>>2])+(n[(0|n[e+20>>2])+(r<<2)>>2]<<2)>>2],0|mb[127&n[36+(0|n[i>>2])>>2]](i,r)))}function ga(e,r){e|=0;var i=0;return(0|(r|=0))<0?0:(i=0|n[e+4>>2],((0|n[i+12>>2])-(0|n[i+8>>2])>>2|0)<=(0|r)?0:(i=0|n[(0|n[e+8>>2])+(n[(0|n[e+20>>2])+(r<<2)>>2]<<2)>>2],0|mb[127&n[32+(0|n[i>>2])>>2]](i,r)))}function Ya(e,r){r|=0;var i=0,f=0,t=0,a=0;if(i=0|A[(e|=0)>>0],f=0|A[r>>0],i<<24>>24==0||i<<24>>24!=f<<24>>24)t=f,a=i;else{i=r,r=e;do{i=i+1|0,e=0|A[(r=r+1|0)>>0],f=0|A[i>>0]}while(e<<24>>24!=0&&e<<24>>24==f<<24>>24);t=f,a=e}return(255&a)-(255&t)|0}function Ma(e,r){var i,f;e|=0,r=g(r),i=y,y=y+16|0,Na(f=i),fA(e,f,r),ln(f),y=i}function Ta(e){var r,i,f,A=0,t=0;r=0|n[(e|=0)>>2],(0|(f=0|n[(i=e+4|0)>>2]))==(0|r)?A=r:(t=f+(~((f+-4-r|0)>>>2)<<2)|0,n[i>>2]=t,A=t),n[e+12>>2]=0,n[e+16>>2]=0,r&&((0|A)!=(0|r)&&(n[i>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r))}function Ia(e,r){var i,f;e|=0,r|=0,i=y,y=y+16|0,Na(f=i),nA(e,f,r),ln(f),y=i}function ja(e){return 0|n[40+(e|=0)>>2]&&0|n[e+24>>2]&&0|n[e+28>>2]&&0|n[e+32>>2]?0!=(0|n[e+36>>2])|0:0}function Ca(e){return 0|n[24+(e|=0)>>2]&&0|n[e+28>>2]&&0|n[e+32>>2]?0|0!=(0|n[e+36>>2]):0}function Qa(e){return 0|n[60+(e|=0)>>2]&&0|n[e+44>>2]&&0|n[e+48>>2]&&0|n[e+52>>2]?0!=(0|n[e+56>>2])|0:0}function Xa(e,r,i){r|=0;var f=0;$i(e|=0,i|=0),n[e>>2]=1392,i=e+72|0,e=36+(f=e+36|0)|0;do{n[f>>2]=0,f=f+4|0}while((0|f)<(0|e));f=0|n[r>>2],n[r>>2]=0,n[i>>2]=f}function Ja(e,r){var i=0,f=0;f=r|=0,r=64+(i=e|=0)|0;do{n[i>>2]=n[f>>2],i=i+4|0,f=f+4|0}while((0|i)<(0|r));f=e+64|0,n[e+88>>2]=0,n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,n[f+12>>2]=0,n[f+16>>2]=0,A[f+20>>0]=0}function za(e,r,i,f){i|=0,f|=0;var t=0,a=0;if(0==(0|(e|=0))&0==(0|(r|=0)))t=i;else for(a=i,i=r,r=e;;){if(A[(e=a+-1|0)>>0]=0|l[15542+(15&r)>>0]|f,0==(0|(r=0|xo(0|r,0|i,4)))&0==(0|(i=E))){t=e;break}a=e}return 0|t}function Oa(e){var r=0,i=0,f=0;return i=0|A[(r=74+(e|=0)|0)>>0],A[r>>0]=i+255|i,8&(i=0|n[e>>2])?(n[e>>2]=32|i,f=-1):(n[e+8>>2]=0,n[e+4>>2]=0,r=0|n[e+44>>2],n[e+28>>2]=r,n[e+20>>2]=r,n[e+16>>2]=r+(0|n[e+48>>2]),f=0),0|f}function Sa(e){return 0|n[44+(e|=0)>>2]&&0|n[e+48>>2]&&0|n[e+52>>2]?0|0!=(0|n[e+56>>2]):0}function Ha(e,r){return e|=0,0|n[56+(r|=0)>>2]||3!=(0|A[r+24>>0])?0:(n[e+40>>2]=r,1)}function Da(e,r){return e|=0,0|n[56+(r|=0)>>2]||3!=(0|A[r+24>>0])?0:(n[e+44>>2]=r,1)}function xa(e,r,i){r|=0,i|=0;var f,A,t=0;(t=(f=0|n[(i=4+(e|=0)|0)>>2])-(A=0|n[e>>2])|0)>>>0<r>>>0?AA(e,r-t|0):t>>>0<=r>>>0||(0|(t=A+r|0))!=(0|f)&&(n[i>>2]=t)}function Pa(e,r,i,f,A){e|=0,r|=0,i|=0,f|=0,A=g(A),n[e+4>>2]=r,function(e,r,i){var f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(o=(i|=0)-(a=r|=0)>>2,b=0|n[(f=8+(e|=0)|0)>>2],t=A=0|n[e>>2],o>>>0<=b-A>>2>>>0){if(s=r+((c=(0|n[(l=e+4|0)>>2])-A>>2)<<2)|0,0|(_=(d=(k=c=(u=o>>>0>c>>>0)?s:i)-a|0)>>2)&&no(0|A,0|r,0|d),d=t+(_<<2)|0,!u){if((0|(u=0|n[l>>2]))==(0|d))return;return void(n[l>>2]=u+(~((u+-4-d|0)>>>2)<<2))}if((0|c)==(0|i))return;for(d=1+((i+-4-k|0)>>>2)|0,k=s,s=c=0|n[l>>2];n[s>>2]=n[k>>2],(0|(k=k+4|0))!=(0|i);)s=s+4|0;n[l>>2]=c+(d<<2)}else if(d=A,A?((0|(c=0|n[(b=e+4|0)>>2]))!=(0|t)&&(n[b>>2]=c+(~((c+-4-A|0)>>>2)<<2)),_b(d),n[f>>2]=0,n[b>>2]=0,n[e>>2]=0,h=0):h=b,o>>>0>1073741823&&On(),b=h>>1,(d=h>>2>>>0<536870911?b>>>0<o>>>0?o:b:1073741823)>>>0>1073741823&&On(),b=0|Uo(d<<2),n[(o=e+4|0)>>2]=b,n[e>>2]=b,n[f>>2]=b+(d<<2),(0|r)!=(0|i)){for(d=1+((i+-4-a|0)>>>2)|0,a=r,r=b;n[r>>2]=n[a>>2],(0|(a=a+4|0))!=(0|i);)r=r+4|0;n[o>>2]=b+(d<<2)}}(e+8|0,i,i+(f<<2)|0),d[e+20>>2]=A}function La(e,r){e|=0,r|=0;var i,f,A=0;return i=y,y=y+16|0,f=i+4|0,n[(A=i)>>2]=0,n[f>>2]=n[A>>2],A=0|Jt(e,r,f),y=i,0|A}function Ka(e,r,i,f){e|=0,r|=0,f|=0;var A=0,t=0;for(f=0|n[(i|=0)>>2],i=e,A=r-e>>2;A;)i=(t=(0|n[(r=i+((e=(0|A)/2|0)<<2)|0)>>2])>>>0<f>>>0)?r+4|0:i,A=t?A+-1-e|0:e;return 0|i}function qa(e){var r=0;n[(e|=0)>>2]=0,n[(r=e+8|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,A[e+24>>0]=1,n[e+28>>2]=9,n[(r=e+40|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,n[e+56>>2]=-1,n[e+60>>2]=0}function $a(e){var r=0,i=0,f=0,t=0,a=0;if(0|nb(0|A[n[(e|=0)>>2]>>0]))for(i=0;;){if(f=0|n[e>>2],t=(10*i|0)-48+(0|A[f>>0])|0,a=f+1|0,n[e>>2]=a,!(0|nb(0|A[a>>0]))){r=t;break}i=t}else r=0;return 0|r}function eo(e,r){return e|=0,0|n[56+(r|=0)>>2]||3!=(0|A[r+24>>0])?0:(n[e+60>>2]=r,1)}function ro(e,r){return e|=0,0|n[56+(r|=0)>>2]||3!=(0|A[r+24>>0])?0:(n[e+64>>2]=r,1)}function io(e){var r,i;return(0|(e|=0))>0&(0|(i=(r=0|n[w>>2])+e|0))<(0|r)|(0|i)<0?(I(),X(12),-1):(n[w>>2]=i,(0|i)>(0|T())&&0==(0|M())?(n[w>>2]=r,X(12),-1):0|r)}function fo(e,r,i){i|=0;var f=0,t=0;if(0==(0|(e|=0))&0==(0|(r|=0)))f=i;else for(t=i,i=r,r=e;;){if(A[(e=t+-1|0)>>0]=7&r|48,0==(0|(r=0|xo(0|r,0|i,3)))&0==(0|(i=E))){f=e;break}t=e}return 0|f}function Ao(e){var r,i,f;n[(e|=0)>>2]=1528,(r=0|n[e+32>>2])?((0|(f=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r),_b(e)):_b(e)}function to(e){var r=0;switch(0|(e|=0)){case 11:case 2:case 1:r=1;break;case 4:case 3:r=2;break;case 6:case 5:case 9:r=4;break;case 8:case 7:case 10:r=8;break;default:r=-1}return 0|r}function ao(e,r){var i=0,f=0;return(0|(e|=0))!=(0|(r|=0))&&function(e,r,i){r|=0,i|=0;var f,t,a,o,b,l,c=0,u=0;f=y,y=y+16|0,t=f,l=(b=(o=0|A[(a=11+(e|=0)|0)>>0])<<24>>24<0)?(2147483647&n[e+8>>2])-1|0:10;do{if(l>>>0>=i>>>0){if(un(c=b?0|n[e>>2]:e,r,i),A[t>>0]=0,Un(c+i|0,t),(0|A[a>>0])<0){n[e+4>>2]=i;break}A[a>>0]=i;break}eA(e,l,i-l|0,u=b?0|n[e+4>>2]:255&o,0,u,i,r)}while(0);y=f}(e,(f=(i=0|A[r+11>>0])<<24>>24<0)?0|n[r>>2]:r,f?0|n[r+4>>2]:255&i),0|e}function oo(e,r){var i;return e|=0,-1==(0|(r|=0))|(0|r)>4?-1:(i=0|n[e+20+(12*r|0)>>2],((0|n[e+20+(12*r|0)+4>>2])-i|0)<=0?-1:0|n[i>>2])}function no(e,r,i){var f=0;if((0|(r|=0))<(0|(e|=0))&(0|e)<(r+(i|=0)|0)){for(f=e,r=r+i|0,e=e+i|0;(0|i)>0;)r=r-1|0,i=i-1|0,A[(e=e-1|0)>>0]=0|A[r>>0];e=f}else qi(e,r,i);return 0|e}function bo(e,r){return(r|=0)>>>0>=2?0:(n[(e|=0)+28>>2]=r,1)}function lo(e){var r=0;return(0|(r=0|A[m+(255&(e|=0))>>0]))<8?0|r:(0|(r=0|A[m+(e>>8&255)>>0]))<8?r+8|0:(0|(r=0|A[m+(e>>16&255)>>0]))<8?r+16|0:24+(0|A[m+(e>>>24)>>0])|0}function co(e,r){var i,f;return(e|=0)?0==(0|(r|=0))|(0|e)==(0|r)?0:(f=1-(i=+(r>>>0)/+(e>>>0)),+-(i*+Oi(i)+f*+Oi(f))):0}function uo(e){var r,i=0;return i=0|n[16+(e|=0)>>2],0|Ho(0|(r=((1+(0|n[e+12>>2])-i|0)/64|0)+i<<3),((0|r)<0)<<31>>31|0,0|(e=i<<3),((0|e)<0)<<31>>31|0)}function so(e){var r,i;n[(e|=0)>>2]=1460,i=0|n[(r=e+36|0)>>2],n[r>>2]=0,0|i&&Eb[127&n[4+(0|n[i>>2])>>2]](i),cA(e),_b(e)}function ko(e){var r;n[(e|=0)>>2]=1336,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=-1,r=e+16|0,n[e+32>>2]=0,n[r>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,A[r+12>>0]=0}function _o(e){var r,i;n[(e|=0)>>2]=1460,i=0|n[(r=e+36|0)>>2],n[r>>2]=0,0|i&&Eb[127&n[4+(0|n[i>>2])>>2]](i),cA(e)}function ho(e,r){r|=0,n[(e|=0)>>2]=2968,Cf(e+4|0),n[e+40>>2]=0,n[e+44>>2]=0,n[e>>2]=2984,n[e+48>>2]=r,n[e+52>>2]=0}function po(e){var r,i,f;r=0|n[(e|=0)>>2],(0|(f=0|n[(i=e+4|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),n[e+12>>2]=0,n[e+16>>2]=0}function wo(e,r){r|=0,n[(e|=0)>>2]=2968,Cf(e+4|0),n[e+40>>2]=0,n[e+44>>2]=0,n[e>>2]=2984,n[e+48>>2]=r,n[e+52>>2]=r}function vo(e,r){var i;return e|=0,0!=(1<<(31&(i=0|n[(r|=0)>>2]))&n[(0|n[e+28>>2])+(i>>>5<<2)>>2]|0)|0}function yo(e){var r;qa(e|=0),r=e+64|0,n[e+88>>2]=0,n[r>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,n[r+16>>2]=0,A[r+20>>0]=0}function mo(e,r,i,f){i|=0,f|=0,(0|n[4+(r|=0)>>2])==(0|i)&&1!=(0|n[(i=r+28|0)>>2])&&(n[i>>2]=f)}function Zo(e,r){var i,f,A;r|=0,n[104+(e|=0)>>2]=r,A=(i=0|n[e+8>>2])-(f=0|n[e+4>>2])|0,n[e+108>>2]=A,n[e+100>>2]=0!=(0|r)&(0|A)>(0|r)?f+r|0:i}function Ro(e){var r;n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[(r=e+16|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,n[r+16>>2]=0}function Bo(e,r,i,f,A,t){e|=0,r|=0,i|=0,f|=0,A|=0,t=g(t),Ui(0|n[e>>2],r,i,f,A,t)}function Eo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|ti(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,6)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function Wo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|Ai(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,4)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function Vo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|oi(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,2)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function No(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|Ai(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,3)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function Go(e,r,i,f){var A,t;return A=y,y=y+16|0,Se(e|=0,r|=0,i|=0,f|=0,t=0|A),y=A,0|(E=0|n[t+4>>2],0|n[t>>2])}function Fo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|oi(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,1)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function Uo(e){var r,i=0;for(r=0==(0|(e|=0))?1:e;;){if(0|(e=0|SA(r))){i=e;break}if(!(e=0|Cn())){i=0;break}Bb[3&e]()}return 0|i}function go(e,r,i){return r|=0,i|=0,n[4+(e|=0)>>2]=r,n[e+8>>2]=n[(0|n[8+(0|n[r+4>>2])>>2])+(i<<2)>>2],n[e+12>>2]=i,1}function Yo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|ti(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,5)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function Mo(e,r,i,f,A,t){return 0|function(e,r,i,f,A,t){return 0|ti(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0,9)}(e|=0,r|=0,i|=0,f|=0,A|=0,t|=0)}function To(e,r,i,f){var A,t;return r|=0,f|=0,i=0|function(e,r){var i,f,A,t=0;return e=((f=0|G(t=65535&(r|=0),i=65535&(e|=0)))>>>16)+(0|G(t,A=e>>>16))|0,r=0|G(t=r>>>16,i),0|(E=(e>>>16)+(0|G(t,A))+(((65535&e)+r|0)>>>16)|0,e+r<<16|65535&f|0)}(A=e|=0,e=i|=0),t=E,0|(E=(0|G(r,e))+(0|G(f,A))+t|0&t,0|i)}function Io(e){n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,n[e+16>>2]=0,n[e+20>>2]=0,n[e+24>>2]=0,n[e+28>>2]=0}function jo(e,r){return 0|UA(e|=0,r|=0,0|function(e){return 0|zt(e|=0)}(r))}function Co(e,r,i,f){var A,t;return e|=0,r|=0,i|=0,f|=0,A=y,y=y+16|0,n[(t=A)>>2]=f,f=0|vA(e,r,i,t),y=A,0|f}function Qo(e,r,i,f){return 0|function(e,r,i,f){e|=0;var A,t,a,o=0,b=0;return e=y,y=y+16|0,A=e,(0|(i|=0))<0|0==(0|(r|=0))|0==(0|(f|=0))?(y=e,0):(t=0|n[r+8>>2],((0|n[r+12>>2])-t>>2|0)<=(0|i)?(y=e,0):(0|n[(a=r+4|0)>>2]||(o=0|Uo(52),n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,n[o+12>>2]=0,d[o+16>>2]=g(1),n[(b=o+20|0)>>2]=0,n[b+4>>2]=0,n[b+8>>2]=0,n[b+12>>2]=0,d[o+36>>2]=g(1),n[o+40>>2]=0,n[o+44>>2]=0,n[o+48>>2]=0,n[r+4>>2]=o),o=0|n[60+(0|n[t+(i<<2)>>2])>>2],yt(i=0|Uo(44),f),n[i+40>>2]=o,o=0|n[a>>2],n[A>>2]=i,function(e,r){var i,f,A;if(e|=0,!(i=0|n[(r|=0)>>2]))return 0;(A=0|n[(f=e+44|0)>>2])>>>0<(0|n[e+48>>2])>>>0?(n[r>>2]=0,n[A>>2]=i,n[f>>2]=4+(0|n[f>>2])):function(e,r){r|=0;var i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;i=4+(e|=0)|0,f=0|n[e>>2],(t=1+(A=(0|n[i>>2])-f>>2)|0)>>>0>1073741823&&On(),f=(o=(0|n[(a=e+8|0)>>2])-f|0)>>1,b=o>>2>>>0<536870911?f>>>0<t>>>0?t:f:1073741823;do{if(b){if(!(b>>>0>1073741823)){l=0|Uo(b<<2);break}_n(f=0|j(8),14941),n[f>>2]=6944,Q(0|f,1080,114)}else l=0}while(0);if(A=f=l+(A<<2)|0,t=l+(b<<2)|0,b=0|n[r>>2],n[r>>2]=0,n[f>>2]=b,b=f+4|0,r=0|n[e>>2],(0|(l=0|n[i>>2]))==(0|r))c=A,u=r,s=r;else{o=l,l=A,A=f;do{f=0|n[(o=o+-4|0)>>2],n[o>>2]=0,n[A+-4>>2]=f,l=A=l+-4|0}while((0|o)!=(0|r));c=l,u=0|n[e>>2],s=0|n[i>>2]}if(n[e>>2]=c,n[i>>2]=b,n[a>>2]=t,(0|s)!=(0|(t=u))){a=s;do{s=0|n[(a=a+-4|0)>>2],n[a>>2]=0,0|s&&(RA(s),_b(s))}while((0|a)!=(0|t))}u&&_b(u)}(e+40|0,r)}(o,A),o=0|n[A>>2],n[A>>2]=0,o?(RA(o),_b(o),y=e,1):(y=e,1)))}(e|=0,r|=0,i|=0,f|=0)}function Xo(e){var r=0;n[(e|=0)>>2]=3608,n[e+52>>2]=0,e=44+(r=e+4|0)|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|e))}function Jo(e){n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,n[e+16>>2]=0,n[e+20>>2]=0,A[e+24>>0]=0}function zo(e,r){var i,f;e|=0,r|=0,i=y,y=y+16|0,n[(f=i)>>2]=r,bf(r=0|n[1478],e,f),Ht(10,r),S()}function Oo(e){return 4}function So(e,r,i){return e|=0,(0|(i|=0))<32?(E=(r|=0)<<i|(e&(1<<i)-1<<32-i)>>>32-i,e<<i):(E=e<<i-32,0)}function Ho(e,r,i,f){var A;return 0|(E=(r|=0)+(f|=0)+((A=(e|=0)+(i|=0)>>>0)>>>0<e>>>0|0)>>>0,0|A)}function Do(e,r,i,f){return 0|(E=(r|=0)-(f|=0)-((i|=0)>>>0>(e|=0)>>>0|0)>>>0,e-i>>>0|0)}function xo(e,r,i){return r|=0,(0|(i|=0))<32?(E=r>>>i,(e|=0)>>>i|(r&(1<<i)-1)<<32-i):(E=0,r>>>i-32|0)}function Po(e){return 5}function Lo(e){var r=0;n[(e|=0)>>2]=5880,e=80+(r=e+4|0)|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|e))}function Ko(e){return 6}function qo(e,r,i,f){Rr(e|=0,r|=0,i|=0,f|=0,1)}function $o(e,r,i,f){Rr(e|=0,r|=0,i|=0,f|=0,0)}function en(e,r,i){return r|=0,i|=0,n[28+(e|=0)>>2]=r,n[e+32>>2]=i,1}function rn(e,r,i){return 0|WA(e|=0,r|=0,i|=0)}function fn(e){var r=0;return(e|=0)>>>0>4294963200?(n[4636]=0-e,r=-1):r=e,0|r}function An(e){n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,n[e+16>>2]=0}function tn(e){var r;return e=+e,h[v>>3]=e,r=0|n[v>>2],E=0|n[v+4>>2],0|r}function an(e,r,i){var f;e|=0,r=g(r),f=g(g(0|(i|=0))/r),d[e>>2]=f}function on(e){ko(e|=0),n[e>>2]=1460,n[e+36>>2]=0}function nn(e){Xo(e|=0),n[e>>2]=3424,n[e+56>>2]=0,n[e+60>>2]=0}function bn(e,r,i){dA(4+(e|=0)|0,r|=0,i|=0)}function ln(e){(0|A[11+(e|=0)>>0])<0&&_b(0|n[e>>2])}function cn(e){(e|=0)&&Eb[127&n[4+(0|n[e>>2])>>2]](e)}function un(e,r,i){return e|=0,0|(i|=0)&&no(0|e,0|(r|=0),0|i),0|e}function sn(e,r,i){return e|=0,0|(i|=0)&&qi(0|e,0|(r|=0),0|i),0|e}function kn(e){n[52+(e|=0)>>2]=n[80+(0|n[e+4>>2])>>2]}function dn(e,r){return-1}function _n(e,r){r|=0,n[(e|=0)>>2]=6924,function(e,r){var i,f,A;e|=0,f=0|Uo(13+(i=0|zt(r|=0))|0),n[f>>2]=i,n[f+4>>2]=i,n[f+8>>2]=0,A=0|function(e){return 12+(e|=0)|0}(f),qi(0|A,0|r,i+1|0),n[e>>2]=A}(e+4|0,r)}function hn(e,r){return 0|((e|=0)?0|uA(e,r|=0):0)}function pn(e){return 0|n[12+(e|=0)>>2]}function wn(e){return 0|n[4+(e|=0)>>2]}function vn(e,r,i){r|=0,i|=0,32&n[(e|=0)>>2]||Of(r,i,e)}function yn(e){return 6228,0|ta(e|=0,0|n[1557])}function mn(e,r,i,f,A,t){return Y(3),0}function Zn(e,r,i){return(0|(e|=0))==(0|(r|=0))|0}function Rn(e,r){var i;return r|=0,i=0|Fn(0|(e|=0)),0|(0==(0|r)?e:i)}function Bn(e){return(0|n[12+(e|=0)>>2])-(0|n[e+8>>2])>>2|0}function En(e,r){r|=0,n[4+(e|=0)>>2]=r}function Wn(e,r,i,f){return 0|Se(e|=0,r|=0,i|=0,f|=0,0)}function Vn(e){n[4+(e|=0)>>2]=0,n[e+8>>2]=0,n[e>>2]=e+4}function Nn(e){n[(e|=0)>>2]=6924,function(e){var r=0,i=0;0|eb(e|=0)&&(r=0|function(e){return(e|=0)-12|0}(0|n[e>>2]),i=0|n[(e=r+8|0)>>2],n[e>>2]=i+-1,(i+-1|0)<0)&&_b(r)}(e+4|0)}function Gn(e,r,i,f,A,t){Y(10)}function Fn(e){return(255&(e|=0))<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function Un(e,r){r|=0,A[(e|=0)>>0]=0|A[r>>0]}function gn(e,r){return r|=0,0|A[(0|n[(e|=0)>>2])+r>>0]}function Yn(e){gA(e|=0),_b(e)}function Mn(e){(e|=0)&&_b(e)}function Tn(e){A[28+(e|=0)>>0]=1}function In(e,r){return 1}function jn(e,r,i,f,A){Y(9)}function Cn(){var e;return e=0|n[4655],n[4655]=e+0,0|e}function Qn(e){pb(e|=0),_b(e)}function Xn(e,r){return 0}function Jn(e){return 0|n[28+(e|=0)>>2]}function zn(e){Nn(e|=0),_b(e)}function On(e){S()}function Sn(e){return 0|n[40+(e|=0)>>2]}function Hn(e,r){return g(+ha(e|=0,r|=0,0))}function Dn(e){return 3}function xn(e){d[(e|=0)>>2]=g(1)}function Pn(e){return 1&(32==(0|(e|=0))|(e+-9|0)>>>0<5)|0}function Ln(e){return 0|n[80+(e|=0)>>2]}function Kn(e,r,i,f){Y(8)}function qn(e,r,i){return Y(2),0}function $n(e){return 2}function eb(e){return 1}function rb(e,r){return+ +function(e,r){var i,f,A;return e=+e,r=+r,h[v>>3]=e,i=0|n[v>>2],f=0|n[v+4>>2],h[v>>3]=r,A=-2147483648&n[v+4>>2]|2147483647&f,n[v>>2]=i,n[v+4>>2]=A,+ +h[v>>3]}(e=+e,r=+r)}function ib(e,r){return+ +na(e=+e,r|=0)}function fb(e,r){return+ +aa(e=+e,r|=0)}function Ab(e,r,i){Y(7)}function tb(){return 0}function ab(){return-1}function ob(){return 0|Uo(1)}function nb(e){return((e|=0)-48|0)>>>0<10|0}function bb(){return 1}function lb(e,r){return+ +function(e,r){e=+e,r=+r;var i,f,A,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,p=0,w=0,y=0,m=0,Z=0,R=0,B=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0;h[v>>3]=e,i=0|n[v>>2],f=0|n[v+4>>2],h[v>>3]=r,A=0|n[v>>2],t=0|n[v+4>>2],a=2047&(0|xo(0|i,0|f,52)),o=2047&(0|xo(0|A,0|t,52)),c=-2147483648&f,b=0|So(0|A,0|t,1),l=E;e:do{if(0==(0|b)&0==(0|l)||(u=0|tn(r),s=2147483647&E,2047==(0|a)|s>>>0>2146435072|2146435072==(0|s)&u>>>0>0))ee=3;else{if(u=0|So(0|i,0|f,1),!((s=E)>>>0>l>>>0|(0|s)==(0|l)&u>>>0>b>>>0))return+((0|u)==(0|b)&(0|s)==(0|l)?0*e:e);if(a)p=a,w=i,y=1048575&f|1048576;else{if(s=0|So(0|i,0|f,12),(0|(u=E))>-1|-1==(0|u)&s>>>0>4294967295)for(k=0,d=s,s=u;;){if(u=k+-1|0,d=0|So(0|d,0|s,1),!((0|(s=E))>-1|-1==(0|s)&d>>>0>4294967295)){_=u;break}k=u}else _=0;p=_,w=k=0|So(0|i,0|f,1-_|0),y=E}if(o)Z=o,R=A,B=1048575&t|1048576;else{if(k=0|So(0|A,0|t,12),(0|(d=E))>-1|-1==(0|d)&k>>>0>4294967295)for(s=0,u=k,k=d;;){if(d=s+-1|0,u=0|So(0|u,0|k,1),!((0|(k=E))>-1|-1==(0|k)&u>>>0>4294967295)){m=d;break}s=d}else m=0;Z=m,R=s=0|So(0|A,0|t,1-m|0),B=E}s=0|Do(0|w,0|y,0|R,0|B),k=(0|(u=E))>-1|-1==(0|u)&s>>>0>4294967295;r:do{if((0|p)>(0|Z)){for(d=p,W=u,V=k,N=w,G=y,F=s;;){if(V){if(0==(0|F)&0==(0|W))break;U=F,g=W}else U=N,g=G;if(T=d+-1|0,I=0|Do(0|(Y=0|So(0|U,0|g,1)),0|(M=E),0|R,0|B),C=(0|(j=E))>-1|-1==(0|j)&I>>>0>4294967295,!((0|T)>(0|Z))){Q=T,X=C,J=I,z=j,O=Y,S=M;break r}d=T,W=j,V=C,N=Y,G=M,F=I}H=0*e;break e}Q=p,X=k,J=s,z=u,O=w,S=y}while(0);if(X){if(0==(0|J)&0==(0|z)){H=0*e;break}D=z,x=J}else D=S,x=O;if(D>>>0<1048576|1048576==(0|D)&x>>>0<0)for(u=Q,s=x,k=D;;){if(F=0|So(0|s,0|k,1),N=u+-1|0,!((G=E)>>>0<1048576|1048576==(0|G)&F>>>0<0)){P=N,L=F,K=G;break}u=N,s=F,k=G}else P=Q,L=x,K=D;(0|P)>0?(k=0|Ho(0|L,0|K,0,-1048576),s=E,u=0|So(0|P,0,52),q=s|E,$=k|u):(u=0|xo(0|L,0|K,1-P|0),q=E,$=u),n[v>>2]=$,n[v+4>>2]=q|c,H=+h[v>>3]}}while(0);return 3==(0|ee)&&(H=(re=e*r)/re),+H}(e=+e,r=+r)}function cb(e,r){return Y(1),0}function ub(e){D()}function sb(e,r){Y(6)}function kb(e){return 0|Uo(e|=0)}function db(e){_b(e|=0)}function _b(e){$(e|=0)}function hb(e){return Y(0),0}function pb(e){}function wb(e){return 0}function vb(e){Y(5)}var yb=[hb,$n,eb,eb,$n,function(e){var r,i,f,t,a,o,b,l,c,u,s,k,_,h,p,w,v,m,Z,R,B,E,W,V,N,G,F,U,Y,M,T,I,j,C,Q,X,J,z,O,S,H,D,x,P,L,K,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0,de=0,_e=0,he=0,pe=0,we=0,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=0,ue=0|Uo(32),n[i>>2]=ue,n[oe>>2]=-2147483616,n[re>>2]=17,ke=12932,de=(se=ue)+17|0;do{A[se>>0]=0|A[ke>>0],se=se+1|0,ke=ke+1|0}while((0|se)<(0|de));if(A[ue+17>>0]=0,he=0|n[(_e=ce+16|0)>>2]){pe=_e,we=he;r:for(;;){for(he=we;!((0|n[he+16>>2])>=(0|$));){if(!(ve=0|n[he+4>>2])){ye=pe;break r}he=ve}if(!(we=0|n[he>>2])){ye=he;break}pe=he}(0|ye)!=(0|_e)&&(0|$)>=(0|n[ye+16>>2])&&0!=(0|hf(pe=ye+20|0,i))?me=0|ya(pe,i,-1):Ze=17}else Ze=17;if(17==(0|Ze)&&(Ze=0,me=0|ya(ce,i,-1)),(0|A[ae>>0])<0&&_b(0|n[i>>2]),(0|me)<1)Re=1;else{pe=0|n[48+(0|n[b>>2])>>2],n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,we=0|Uo(32),n[i>>2]=we,n[k>>2]=-2147483616,n[_>>2]=19,ke=13005,de=(se=we)+19|0;do{A[se>>0]=0|A[ke>>0],se=se+1|0,ke=ke+1|0}while((0|se)<(0|de));if(A[we+19>>0]=0,_e=0|n[(ce=pe+16|0)>>2]){ue=ce,ve=_e;r:for(;;){for(_e=ve;!((0|n[_e+16>>2])>=(0|$));){if(!(Be=0|n[_e+4>>2])){Ee=ue;break r}_e=Be}if(!(ve=0|n[_e>>2])){Ee=_e;break}ue=_e}(0|Ee)!=(0|ce)&&(0|$)>=(0|n[Ee+16>>2])?We=Ee+20|0:Ze=29}else Ze=29;if(29==(0|Ze)&&(Ze=0,We=pe),0|hf(We,i)){ue=0|n[48+(0|n[b>>2])>>2],n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,ve=0|Uo(32),n[f>>2]=ve,n[X>>2]=-2147483616,n[J>>2]=18,ke=13025,de=(se=ve)+18|0;do{A[se>>0]=0|A[ke>>0],se=se+1|0,ke=ke+1|0}while((0|se)<(0|de));if(A[ve+18>>0]=0,ce=0|n[(pe=ue+16|0)>>2]){we=pe,he=ce;r:for(;;){for(ce=he;!((0|n[ce+16>>2])>=(0|$));){if(!(Be=0|n[ce+4>>2])){Ne=we;break r}ce=Be}if(!(he=0|n[ce>>2])){Ne=ce;break}we=ce}(0|Ne)!=(0|pe)&&(0|$)>=(0|n[Ne+16>>2])?Ge=Ne+20|0:Ze=39}else Ze=39;39==(0|Ze)&&(Ze=0,Ge=ue),we=0!=(0|hf(Ge,f)),(0|A[z>>0])<0&&_b(0|n[f>>2]),Ve=we}else Ve=0;if((0|A[h>>0])<0&&_b(0|n[i>>2]),Ve){if(ve=(he=0|A[(we=le+24|0)>>0])<<24>>24,n[a>>2]=0,n[p>>2]=0,n[w>>2]=0,he<<24>>24){if(he<<24>>24<0){Ze=48;break e}_e=0|Uo(he=ve<<2),n[a>>2]=_e,Be=_e+(ve<<2)|0,n[F>>2]=Be,IA(0|_e,0,0|he),n[p>>2]=Be,Fe=_e}else Fe=0;_e=0|n[48+(0|n[b>>2])>>2],n[o>>2]=0,n[o+4>>2]=0,n[o+8>>2]=0,Be=0|Uo(32),n[o>>2]=Be,n[v>>2]=-2147483616,n[m>>2]=19,ke=13005,de=(se=Be)+19|0;do{A[se>>0]=0|A[ke>>0],se=se+1|0,ke=ke+1|0}while((0|se)<(0|de));if(A[Be+19>>0]=0,pe=(ue=0|A[we>>0])<<24>>24,ve=0|n[(he=_e+16|0)>>2]){Ue=he,ge=ve;r:for(;;){for(ve=ge;!((0|n[ve+16>>2])>=(0|$));){if(!(Ye=0|n[ve+4>>2])){Me=Ue;break r}ve=Ye}if(!(ge=0|n[ve>>2])){Me=ve;break}Ue=ve}if((0|Me)!=(0|he)&&(0|$)>=(0|n[Me+16>>2])&&0!=(0|hf(Ue=Me+20|0,o))){if((0|(ge=0|Qi(Ue,o)))!=(Me+24|0)){if(YA(i,ge+28|0),0|((Ue=(ge=0|A[N>>0])<<24>>24<0)?0|n[G>>2]:255&ge)){if(ue<<24>>24>0){Be=Ue?0|n[i>>2]:i,Ue=0;do{if(Ie=g(Hn(Be,f)),(0|(ce=Be))==(0|(Be=0|n[f>>2])))break;d[Fe+(Ue<<2)>>2]=Ie,Ue=Ue+1|0}while((0|Ue)<(0|pe));je=0|A[N>>0]}else je=ge;Te=je}else Te=ge;Te<<24>>24<0&&_b(0|n[i>>2])}}else Ze=69}else Ze=69;if(69==(0|Ze)&&(Ze=0,(0|(Ue=0|Qi(_e,o)))!=(_e+4|0))){if(YA(i,Ue+28|0),0|((Be=(Ue=0|A[Z>>0])<<24>>24<0)?0|n[R>>2]:255&Ue)){if(ue<<24>>24>0){he=Be?0|n[i>>2]:i,Be=0;do{if(Ie=g(Hn(he,f)),(0|(ce=he))==(0|(he=0|n[f>>2])))break;d[Fe+(Be<<2)>>2]=Ie,Be=Be+1|0}while((0|Be)<(0|pe));Qe=0|A[Z>>0]}else Qe=Ue;Ce=Qe}else Ce=Ue;Ce<<24>>24<0&&_b(0|n[i>>2])}(0|A[B>>0])<0&&_b(0|n[o>>2]),pe=0|n[48+(0|n[b>>2])>>2],n[i>>2]=0,n[i+4>>2]=0,n[i+8>>2]=0,Be=0|Uo(32),n[i>>2]=Be,n[E>>2]=-2147483616,n[W>>2]=18,ke=13025,de=(se=Be)+18|0;do{A[se>>0]=0|A[ke>>0],se=se+1|0,ke=ke+1|0}while((0|se)<(0|de));A[Be+18>>0]=0,se=0|n[(ke=pe+16|0)>>2];do{if(se){de=ke,Ue=se;r:for(;;){for(he=Ue;!((0|n[he+16>>2])>=(0|$));){if(!(ue=0|n[he+4>>2])){Xe=de;break r}he=ue}if(!(Ue=0|n[he>>2])){Xe=he;break}de=he}if((0|Xe)!=(0|ke)&&(0|$)>=(0|n[Xe+16>>2])){if(!(0|hf(de=Xe+20|0,i))){Ze=91;break}Je=g(ka(de,i,g(1)))}else Ze=91}else Ze=91}while(0);91==(0|Ze)&&(Ze=0,Je=g(ka(pe,i,g(1)))),(0|A[V>>0])<0&&_b(0|n[i>>2]),Pa(t,me,0|n[a>>2],0|A[we>>0],Je),0|($=0|n[a>>2])&&((0|(ke=0|n[p>>2]))!=(0|$)&&(n[p>>2]=ke+(~((ke+-4-$|0)>>>2)<<2)),_b($))}else $e(t,le,me);if((0|($=0|n[U>>2]))==(0|n[Y>>2]))qr(M,t);else{if(n[$>>2]=1180,n[$+4>>2]=n[fe>>2],n[(ze=$+8|0)>>2]=0,n[(ke=$+12|0)>>2]=0,n[$+16>>2]=0,0|(Be=(se=(0|n[s>>2])-(0|n[C>>2])|0)>>2)){if(Be>>>0>1073741823){Ze=103;break e}de=0|Uo(se),n[ke>>2]=de,n[ze>>2]=de,n[$+16>>2]=de+(Be<<2),Be=0|n[C>>2],(0|(se=(0|n[s>>2])-Be|0))>0&&(qi(0|de,0|Be,0|se),n[ke>>2]=de+(se>>>2<<2))}n[$+20>>2]=n[Q>>2],n[U>>2]=24+(0|n[U>>2])}gr(i,t,le,l),($=0|n[T>>2])>>>0<(0|n[I>>2])>>>0?(se=0|n[i>>2],n[i>>2]=0,n[$>>2]=se,n[T>>2]=$+4):Vr(j,i),$=0|n[i>>2],n[i>>2]=0,0|$&&(de=0|n[(se=$+88|0)>>2],n[se>>2]=0,0|de&&(0|(se=0|n[de+8>>2])&&((0|n[(ke=de+12|0)>>2])!=(0|se)&&(n[ke>>2]=se),_b(se)),_b(de)),0|(de=0|n[$+68>>2])&&((0|(ke=0|n[(se=$+72|0)>>2]))!=(0|de)&&(n[se>>2]=ke+(~((ke+-4-de|0)>>>2)<<2)),_b(de)),ke=0|n[(de=$+64|0)>>2],n[de>>2]=0,0|ke&&(0|(de=0|n[ke>>2])&&((0|n[(se=ke+4|0)>>2])!=(0|de)&&(n[se>>2]=de),_b(de)),_b(ke)),_b($)),Re=0}if(n[t>>2]=1180,0|($=0|n[ie>>2])&&((0|(ke=0|n[s>>2]))!=(0|$)&&(n[s>>2]=ke+(~((ke+-4-$|0)>>>2)<<2)),_b($)),0|Re){te=0,Ze=169;break e}break;case 1:case 3:case 5:if(de=(ke=0|A[($=le+24|0)>>0])<<24>>24,n[t>>2]=0,n[O>>2]=0,n[S>>2]=0,ke<<24>>24){if(ke<<24>>24<0){Ze=137;break e}for(ke=0|Uo(de<<2),n[O>>2]=ke,n[t>>2]=ke,se=ke+(de<<2)|0,n[e>>2]=se,Be=de,de=ke;n[de>>2]=2147483647,Be=Be+-1|0;)de=de+4|0;n[O>>2]=se,Oe=0|A[$>>0]}else Oe=0;if(de=Oe<<24>>24,n[a>>2]=0,n[H>>2]=0,n[D>>2]=0,Oe<<24>>24){if(Oe<<24>>24<0){Ze=144;break e}we=0|Uo(Be=de<<2),n[a>>2]=we,pe=we+(de<<2)|0,n[x>>2]=pe,IA(0|we,0,0|Be),n[H>>2]=pe,Se=we}else Se=0;we=le+80|0,pe=0|A[$>>0];r:do{if(0|n[we>>2])for(Be=0,de=pe,ke=Se;;){if(n[f>>2]=Be,n[i>>2]=n[f>>2],wt(le,i,de,ke),(Ue=0|A[$>>0])<<24>>24>0){ve=0|n[t>>2],ue=0|n[a>>2],_e=Ue<<24>>24,ge=0;do{ce=ve+(ge<<2)|0,Ye=0|n[ue+(ge<<2)>>2],(0|n[ce>>2])>(0|Ye)&&(n[ce>>2]=Ye),ge=ge+1|0}while((0|ge)<(0|_e))}if((_e=Be+1|0)>>>0>=(0|n[we>>2])>>>0){He=Ue;break r}Be=_e,de=Ue,ke=0|n[a>>2]}else He=pe}while(0);if(He<<24>>24>0)for(we=0,le=He;pe=(0|n[t>>2])+(we<<2)|0,(0|(se=0|n[P>>2]))==(0|n[L>>2])?(sA(K,pe),De=0|A[$>>0]):(n[se>>2]=n[pe>>2],n[P>>2]=se+4,De=le),!((0|(we=we+1|0))>=(De<<24>>24|0));)le=De;0|(le=0|n[a>>2])&&((0|(we=0|n[H>>2]))!=(0|le)&&(n[H>>2]=we+(~((we+-4-le|0)>>>2)<<2)),_b(le)),0|(le=0|n[t>>2])&&((0|(we=0|n[O>>2]))!=(0|le)&&(n[O>>2]=we+(~((we+-4-le|0)>>>2)<<2)),_b(le))}if(le=ne+1|0,we=0|n[c>>2],le>>>0>=(0|n[u>>2])-we>>2>>>0){te=1,Ze=169;break}$=0|n[b>>2],ne=le,be=we,Ae=0|n[$+4>>2],ee=$}if(48==(0|Ze))On();else if(103==(0|Ze))On();else if(137==(0|Ze))On();else if(144==(0|Ze))On();else if(169==(0|Ze))return y=r,0|te;return 0},wb,wb,wb,function(e){var r,i,f,A=0,t=0,a=0,o=0;if(i=40+(e|=0)|0,A=0|n[(r=e+36|0)>>2],(0|n[i>>2])==(0|A))return 1;for(f=e+60|0,e=0,a=A;;){if(A=0|n[a+(e<<2)>>2],e=e+1|0,!(0|mb[127&n[16+(0|n[A>>2])>>2]](A,f))){t=0,o=5;break}if(a=0|n[r>>2],e>>>0>=(0|n[i>>2])-a>>2>>>0){t=1,o=5;break}}return 5==(0|o)?0|t:0},function(e){var r,i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(r=y,y=y+16|0,i=r,f=36+(e|=0)|0,A=e+4|0,a=(0|n[(t=e+8|0)>>2])-(0|n[A>>2])>>2,c=(b=0|n[(o=e+40|0)>>2])-(l=0|n[f>>2])>>2,u=l,l=b,a>>>0<=c>>>0){if(a>>>0<c>>>0&&(0|(b=u+(a<<2)|0))!=(0|l)){u=l;do{l=u+-4|0,n[o>>2]=l,s=0|n[l>>2],n[l>>2]=0,0|s&&Eb[127&n[4+(0|n[s>>2])>>2]](s),u=0|n[o>>2]}while((0|u)!=(0|b))}}else!function(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(a=0|n[(t=(e|=0)+8|0)>>2],b=o=0|n[(i=e+4|0)>>2],a-o>>2>>>0>=r>>>0)return IA(0|o,0,r<<2|0),void(n[i>>2]=o+(r<<2));f=l=0|n[e>>2],(o=(c=o-l>>2)+r|0)>>>0>1073741823&&On(),a=(A=a-l|0)>>1,u=A>>2>>>0<536870911?a>>>0<o>>>0?o:a:1073741823;do{if(u){if(!(u>>>0>1073741823)){s=0|Uo(u<<2);break}_n(a=0|j(8),14941),n[a>>2]=6944,Q(0|a,1080,114)}else s=0}while(0);if(IA(0|(a=s+(c<<2)|0),0,r<<2|0),r=a,c=s+(u<<2)|0,u=s+(o<<2)|0,(0|b)==(0|f))k=r,d=l,_=b;else{l=b,b=r,r=a;do{a=0|n[(l=l+-4|0)>>2],n[l>>2]=0,n[r+-4>>2]=a,b=r=b+-4|0}while((0|l)!=(0|f));k=b,d=0|n[e>>2],_=0|n[i>>2]}if(n[e>>2]=k,n[i>>2]=u,n[t>>2]=c,(0|_)!=(0|(c=d))){t=_;do{_=0|n[(t=t+-4|0)>>2],n[t>>2]=0,0|_&&Eb[127&n[4+(0|n[_>>2])>>2]](_)}while((0|t)!=(0|c))}d&&_b(d)}(f,a-c|0);if((0|n[t>>2])==(0|n[A>>2]))return y=r,1;for(c=e+52|0,a=e+48|0,b=0;;){if(Vb[15&n[56+(0|n[e>>2])>>2]](i,e,b),u=(0|n[f>>2])+(b<<2)|0,o=0|n[i>>2],n[i>>2]=0,s=0|n[u>>2],n[u>>2]=o,0|s&&Eb[127&n[4+(0|n[s>>2])>>2]](s),s=0|n[i>>2],n[i>>2]=0,0|s&&Eb[127&n[4+(0|n[s>>2])>>2]](s),!(s=0|n[(0|n[f>>2])+(b<<2)>>2])){k=0,d=19;break}if(b>>>0<(0|n[c>>2])>>>0&&n[(0|n[a>>2])+(b>>>5<<2)>>2]&1<<(31&b)|0&&Tn(s),(b=b+1|0)>>>0>=(0|n[t>>2])-(0|n[A>>2])>>2>>>0){k=1,d=19;break}}return 19==(0|d)?(y=r,0|k):0},eb,wn,wb,wb,eb,wb,eb,eb,Sa,Po,Qa,eb,Ko,Fa,eb,Jn,Oo,Sa,eb,Sa,Po,Qa,eb,Ko,Fa,eb,Jn,Oo,Sa,eb,Dn,wb,wn,eb,wb,eb,Dn,eb,Ca,Oo,Ca,Po,ja,eb,Ko,Va,eb,Jn,eb,Ca,Oo,Ca,Po,ja,eb,Ko,Va,eb,Jn,eb,$n,eb,eb,function(e){var r,i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;r=y,y=y+32|0,t=r+4|0,i=r,a=r+16|0,b=0|n[(o=48+(e|=0)|0)>>2],l=0|Uo(32),n[t>>2]=l,n[t+8>>2]=-2147483616,n[t+4>>2]=20,u=13101,s=(c=l)+20|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));A[l+20>>0]=0,l=0|va(b+24|0,t),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),b=0|n[o>>2],k=0|Uo(32),n[t>>2]=k,n[t+8>>2]=-2147483616,n[t+4>>2]=22,u=13122,s=(c=k)+22|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));A[k+22>>0]=0,k=0|va(b+24|0,t),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),d=0|n[(b=e+64|0)>>2],n[b>>2]=0,0|d&&Eb[127&n[4+(0|n[d>>2])>>2]](d),d=0|n[e+56>>2],f=(((0|n[d+100>>2])-(0|n[d+96>>2])|0)/12|0)>>>0<1e3,d=0|n[o>>2],_=0|Uo(32),n[t>>2]=_,n[t+8>>2]=-2147483616,n[t+4>>2]=18,u=13145,s=(c=_)+18|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));switch(A[_+18>>0]=0,_=0|ya(d,t,-1),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),0|_){case-1:h=l&&f|(0|Xf(0|n[o>>2]))>4|1^k?13:17;break;case 0:h=l?13:21;break;case 2:h=17;break;default:h=21}if(13==(0|h)?(l=0|n[e+44>>2],A[a>>0]=0,(0|(o=0|n[4+(k=l+16|0)>>2]))>0|0==(0|o)&(0|n[k>>2])>>>0>0||(n[i>>2]=n[l+4>>2],n[t>>2]=n[i>>2],hr(l,t,a,a+1|0)),yA(l=0|Uo(296)),k=0|n[b>>2],n[b>>2]=l,k?(Eb[127&n[4+(0|n[k>>2])>>2]](k),h=21):p=l):17==(0|h)&&(k=0|n[e+44>>2],A[a>>0]=2,(0|(o=0|n[4+(l=k+16|0)>>2]))>0|0==(0|o)&(0|n[l>>2])>>>0>0||(n[i>>2]=n[k+4>>2],n[t>>2]=n[i>>2],hr(k,t,a,a+1|0)),Kf(a=0|Uo(360)),t=0|n[b>>2],n[b>>2]=a,t?(Eb[127&n[4+(0|n[t>>2])>>2]](t),h=21):p=a),21==(0|h)){if(!(h=0|n[b>>2]))return y=r,0;p=h}return w=0|mb[127&n[8+(0|n[p>>2])>>2]](p,e),y=r,0|w},eb,function(e){var r,i,f,t,a,o,b,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0;if(r=y,y=y+16|0,l=r+4|0,i=r,c=r+8|0,!(0|yb[127&n[32+(0|n[(e|=0)>>2])>>2]](e)))return y=r,0;s=0|n[(f=e+44|0)>>2],k=e+8|0,t=0|n[(d=e+12|0)>>2],a=0|n[k>>2],A[c>>0]=(t-a|0)>>>2,(0|(b=0|n[4+(o=s+16|0)>>2]))>0|0==(0|b)&(0|n[o>>2])>>>0>0?(_=k,h=a,p=t):(n[i>>2]=n[s+4>>2],n[l>>2]=n[i>>2],hr(s,l,c,c+1|0),_=k,h=0|n[k>>2],p=0|n[d>>2]);e:do{if((0|h)!=(0|p)){for(d=e+4|0,k=h;;){if(c=0|n[k>>2],k=k+4|0,!(0|Zb[31&n[8+(0|n[c>>2])>>2]](c,e,0|n[d>>2]))){u=0;break}if((0|k)==(0|p))break e}return y=r,0|u}}while(0);if(!(0|function(e){var r,i,f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q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2)>>2],j=O>>>5,R=1<<(31&O),n[(0|n[f>>2])+(j<<2)>>2]&R)x=S,P=H;else{for(m=0,Z=1,g=B;;){if((0|m)>=(0|mb[127&n[24+(0|n[g>>2])>>2]](g,Y))){D=Z;break}if(B=0|n[(0|n[t>>2])+(E<<2)>>2],F=0|Zb[31&n[28+(0|n[B>>2])>>2]](B,Y,m),F=Z&(B=0!=(n[(0|n[f>>2])+(F>>>5<<2)>>2]&1<<(31&F)|0)),!B){D=F;break}m=m+1|0,Z=F,g=0|n[(0|n[t>>2])+(E<<2)>>2]}D?(n[(0|n[o>>2])+(H<<2)>>2]=O,g=(0|n[f>>2])+(j<<2)|0,n[g>>2]=n[g>>2]|R,x=1,P=H+1|0):(x=S,P=H)}if((0|(O=O+1|0))>=(0|c))break;S=x,H=P}if(!(x|(0|P)>=(0|c))){Q=0;break e}z=P}ui(0|n[(0|n[t>>2])+(E<<2)>>2],o),X=0|n[t>>2],J=0|n[a>>2]}if((e=e+1|0)>>>0>=J-X>>2>>>0){Q=1;break}I=X,T=X,M=J}}while(0);0|(J=0|n[f>>2])&&_b(J),0|(J=0|n[o>>2])&&((0|(o=0|n[W>>2]))!=(0|J)&&(n[W>>2]=o+(~((o+-4-J|0)>>>2)<<2)),_b(J)),C=Q}return(Q=0|n[i>>2])?(_b(Q),y=r,0|C):(y=r,0|C)}(e)))return y=r,0;h=0|n[(p=e+32|0)>>2],d=0|n[(k=e+36|0)>>2];e:do{if((0|h)!=(0|d)){c=h;do{if(!(0|mb[127&n[40+(0|n[e>>2])>>2]](e,0|n[c>>2]))){u=0,w=18;break}c=c+4|0}while((0|c)!=(0|d));if(18==(0|w))return y=r,0|u;if((0|(c=0|n[p>>2]))!=(0|(l=0|n[k>>2]))){for(s=c;;){if(c=0|n[(0|n[_>>2])+(n[s>>2]<<2)>>2],s=s+4|0,!(0|mb[127&n[12+(0|n[c>>2])>>2]](c,0|n[f>>2]))){u=0;break}if((0|s)==(0|l))break e}return y=r,0|u}}}while(0);return u=0|yb[127&n[44+(0|n[e>>2])>>2]](e),y=r,0|u},function(e){var r=0,i=0,f=0,A=0,t=0,a=0,o=0,b=0,l=0;i=0|n[(r=4+(e|=0)|0)>>2],i=(f=(0|n[i+12>>2])-(0|n[i+8>>2])|0)>>2;e:do{if((0|f)>0){for(A=0;;){if(!(0|mb[127&n[36+(0|n[e>>2])>>2]](e,A))){t=0;break}if(A=A+1|0,a=0|n[r>>2],(0|A)>=(0|(o=(0|n[a+12>>2])-(0|n[a+8>>2])>>2))){b=o;break e}}return 0|t}b=i}while(0);if(i=e+20|0,o=(f=0|n[(r=e+24|0)>>2])-(A=0|n[i>>2])>>2,a=A,A=f,b>>>0<=o>>>0?b>>>0<o>>>0&&(0|(f=a+(b<<2)|0))!=(0|A)&&(n[r>>2]=A+(~((A+-4-f|0)>>>2)<<2)):rA(i,b-o|0),o=0|n[e+12>>2],e=b=0|n[e+8>>2],(0|o)==(0|b))return 1;f=o-b>>2,b=0;do{if(o=0|n[e+(b<<2)>>2],A=0|n[o+8>>2],o=r=0|n[o+4>>2],(0|A)!=(0|r)&&(a=0|n[i>>2],l=A-r>>2,n[a+(n[o>>2]<<2)>>2]=b,l>>>0>1)){r=1;do{n[a+(n[o+(r<<2)>>2]<<2)>>2]=b,r=r+1|0}while(r>>>0<l>>>0)}b=b+1|0}while(b>>>0<f>>>0);return 1},function(e){var r,i,f,A=0,t=0,a=0;if((0|(A=0|n[32+(e|=0)>>2]))==(0|(r=0|n[e+36>>2])))return 1;for(i=e+8|0,f=e+44|0,e=A;;){if(A=0|n[(0|n[i>>2])+(n[e>>2]<<2)>>2],e=e+4|0,!(0|mb[127&n[20+(0|n[A>>2])>>2]](A,0|n[f>>2]))){t=0,a=5;break}if((0|e)==(0|r)){t=1,a=5;break}}return 5==(0|a)?0|t:0},function(e){var r;return r=0|n[64+(e|=0)>>2],0|yb[127&n[32+(0|n[r>>2])>>2]](r)},pn,wn,function(e){var r,i,f,A,t=0,a=0,o=0,b=0,l=0;if(r=y,y=y+16|0,i=r+4|0,f=r,A=8+(e|=0)|0,a=0|n[(t=e+12|0)>>2],la(0|n[e+4>>2],(0|n[a+56>>2])-(0|n[a+52>>2])>>2),e=0|n[(a=e+76|0)>>2]){if(o=0|n[e>>2],(0|n[e+4>>2])==(0|o))return y=r,1;for(e=0,t=o;;){if(n[f>>2]=n[t+(e<<2)>>2],n[i>>2]=n[f>>2],e=e+1|0,!(0|vt(A,i))){b=0,l=10;break}if(o=0|n[a>>2],t=0|n[o>>2],e>>>0>=(0|n[o+4>>2])-t>>2>>>0){b=1,l=10;break}}if(10==(0|l))return y=r,0|b}else{if(o=0|n[64+(0|n[t>>2])>>2],o=((t=(0|n[o+4>>2])-(0|n[o>>2])>>2)>>>0)/3|0,t>>>0<=2)return y=r,1;for(t=0;;){if(n[f>>2]=3*t,n[i>>2]=n[f>>2],t=t+1|0,!(0|vt(A,i))){b=0,l=10;break}if((0|t)>=(0|o)){b=1,l=10;break}}if(10==(0|l))return y=r,0|b}return 0},function(e){var r,i,f,A,t=0,a=0,o=0,b=0,l=0;if(r=y,y=y+16|0,i=r+4|0,f=r,A=8+(e|=0)|0,a=0|n[(t=e+12|0)>>2],la(0|n[e+4>>2],(0|n[a+28>>2])-(0|n[a+24>>2])>>2),e=0|n[(a=e+76|0)>>2]){if(o=0|n[e>>2],(0|n[e+4>>2])==(0|o))return y=r,1;for(e=0,t=o;;){if(n[f>>2]=n[t+(e<<2)>>2],n[i>>2]=n[f>>2],e=e+1|0,!(0|Zt(A,i))){b=0,l=10;break}if(o=0|n[a>>2],t=0|n[o>>2],e>>>0>=(0|n[o+4>>2])-t>>2>>>0){b=1,l=10;break}}if(10==(0|l))return y=r,0|b}else{if(o=0|n[t>>2],o=((t=(0|n[o+4>>2])-(0|n[o>>2])>>2)>>>0)/3|0,t>>>0<=2)return y=r,1;for(t=0;;){if(n[f>>2]=3*t,n[i>>2]=n[f>>2],t=t+1|0,!(0|Zt(A,i))){b=0,l=10;break}if((0|t)>=(0|o)){b=1,l=10;break}}if(10==(0|l))return y=r,0|b}return 0},function(e){var r,i,f,A,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(r=y,y=y+16|0,i=r+4|0,f=r,A=8+(e|=0)|0,o=0|n[(a=e+12|0)>>2],la(0|n[e+4>>2],(0|n[o+28>>2])-(0|n[o+24>>2])>>2),o=e+96|0,b=0|n[a>>2],l=(0|n[b+28>>2])-(0|n[b+24>>2])>>2,n[i>>2]=0,s=(c=0|n[(b=e+100|0)>>2])-(u=0|n[o>>2])>>2,t=u,u=c,l>>>0<=s>>>0?l>>>0<s>>>0&&(0|(c=t+(l<<2)|0))!=(0|u)&&(n[b>>2]=u+(~((u+-4-c|0)>>>2)<<2)):cf(o,l-s|0,i),e=0|n[(s=e+116|0)>>2]){if(l=0|n[e>>2],(0|n[e+4>>2])==(0|l))return y=r,1;for(e=0,a=l;;){if(n[f>>2]=n[a+(e<<2)>>2],n[i>>2]=n[f>>2],e=e+1|0,!(0|$A(A,i))){k=0,d=15;break}if(l=0|n[s>>2],a=0|n[l>>2],e>>>0>=(0|n[l+4>>2])-a>>2>>>0){k=1,d=15;break}}if(15==(0|d))return y=r,0|k}else{if(l=0|n[a>>2],l=((a=(0|n[l+4>>2])-(0|n[l>>2])>>2)>>>0)/3|0,a>>>0<=2)return y=r,1;for(a=0;;){if(n[f>>2]=3*a,n[i>>2]=n[f>>2],a=a+1|0,!(0|$A(A,i))){k=0,d=15;break}if((0|a)>=(0|l)){k=1,d=15;break}}if(15==(0|d))return y=r,0|k}return 0},pn,wn,eb,wb,wb,function(e){var r,i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0;if((0|(A=0|n[(f=8+(e|=0)|0)>>2]))<0)return 0;if(e=0|n[(a=e+4|0)>>2],l=(o=0|n[(r=e+4|0)>>2])-(b=0|n[e>>2])>>2,i=b,b=o,A>>>0<=l>>>0?A>>>0<l>>>0&&(0|(o=i+(A<<2)|0))!=(0|b)?(n[r>>2]=b+(~((b+-4-o|0)>>>2)<<2),c=A):c=A:(rA(e,A-l|0),c=0|n[f>>2]),(0|c)<=0)return 1;for(f=0|n[a>>2],a=0|n[f>>2],l=(0|n[f+4>>2])-a>>2,A=a,a=0;;){if(l>>>0<=a>>>0){u=10;break}if(n[A+(a<<2)>>2]=a,(0|(a=a+1|0))>=(0|c)){t=1,u=12;break}}if(10==(0|u))On();else if(12==(0|u))return 0|t;return 0},wb,eb,wb,function(e){var r,i,f=0,A=0,t=0,a=0;if(!(0|n[80+(e|=0)>>2]))return 0;if(i=e+12|0,e=0|n[(r=e+8|0)>>2],!(((0|n[i>>2])-e|0)>0))return 1;for(A=0,t=e;;){if(e=0|n[t+(A<<2)>>2],A=A+1|0,!(0|La(e,e))){f=0,a=5;break}if(t=0|n[r>>2],(0|A)>=((0|n[i>>2])-t>>2|0)){f=1,a=5;break}}return 5==(0|a)?0|f:0},function(e){var r,i,f=0;return r=y,y=y+16|0,i=r,f=0|function(e){return 0|(e|=0)}(0|n[60+(e|=0)>>2]),n[i>>2]=f,f=0|fn(0|O(6,0|i)),y=r,0|f},function(e){return 0|function(e){return 0|n[(e|=0)>>2]}(4+(e|=0)|0)},hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb,hb],mb=[cb,function(e,r){var i;return e|=0,(i=0|n[88+(r|=0)>>2])?2!=(0|n[i>>2])?0:(r=0|n[i+8>>2],n[e+4>>2]=l[r>>0]|l[r+1>>0]<<8|l[r+2>>0]<<16|l[r+3>>0]<<24,1):0},function(e,r){e|=0;var i,f,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(!(t=0|n[88+(r|=0)>>2]))return 0;if(1!=(0|n[t>>2]))return 0;if(t=0|n[(a=t+8|0)>>2],n[e+4>>2]=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24,o=e+8|0,c=(r=0|A[(b=r+24|0)>>0])<<24>>24,k=(u=0|n[(i=e+12|0)>>2])-(s=0|n[o>>2])>>2,f=s,s=u,k>>>0>=c>>>0?k>>>0>c>>>0&&(0|(u=f+(c<<2)|0))!=(0|s)?(n[i>>2]=s+(~((s+-4-u|0)>>>2)<<2),d=r,_=t):(d=r,_=t):(rA(o,c-k|0),d=0|A[b>>0],_=0|n[a>>2]),b=l[(a=_+4|0)>>0]|l[a+1>>0]<<8|l[a+2>>0]<<16|l[a+3>>0]<<24,d<<24>>24>0)for(a=0|n[o>>2],o=d<<24>>24,d=b,k=4,c=0;;){if(n[a+(c<<2)>>2]=d,c=c+1|0,r=l[(t=_+(k=k+4|0)|0)>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24,(0|c)>=(0|o)){h=r;break}d=r}else h=b;return n[e+20>>2]=h,1},kr,function(e,r){return r|=0,0|yb[127&n[40+(0|n[(e|=0)>>2])>>2]](e)&&0|mb[127&n[44+(0|n[e>>2])>>2]](e,r)?0|mb[127&n[48+(0|n[e>>2])>>2]](e,r):0},Xn,Xn,Xn,In,function(e,r){r|=0;var i,f,t,a,o,b,l,c,u,s,k,d,_,h,p,w,v,m,Z,R,B,W=0,V=0,N=0,F=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,ie=0,fe=0,Ae=0,te=0,ae=0,oe=0,ne=0,be=0,le=0,ce=0,ue=0,se=0,ke=0,de=0,_e=0,he=0,pe=0,we=0,ve=0,ye=0,me=0,Ze=0,Re=0,Be=0,Ee=0,We=0,Ve=0,Ne=0,Ge=0,Fe=0,Ue=0,ge=0,Ye=0,Me=0,Te=0;i=y,y=y+1424|0,f=i+1408|0,t=i+1396|0,a=i+1420|0,W=i+1200|0,V=i+12|0,o=i,b=i+1384|0,l=i+1372|0,c=i+1360|0,u=i+1348|0,s=i+1336|0,k=i+1324|0,d=i+1312|0,_=i+1300|0,h=i+1288|0,p=i+1276|0,w=i+1264|0,v=i+1252|0,m=i+1240|0,Z=i+1228|0,g=(0|(F=10-(0|Xf(0|n[48+(0|n[(N=28+(e|=0)|0)>>2])>>2]))|0))<6?F:6,A[a>>0]=g,6==(255&g|0)&&(0|n[e+72>>2])>15&&(A[a>>0]=5),(0|(F=0|n[4+(g=r+16|0)>>2]))>0|0==(0|F)&(0|n[g>>2])>>>0>0||(n[t>>2]=n[r+4>>2],n[f>>2]=n[t>>2],hr(r,f,a,a+1|0)),g=0|n[N>>2],F=0|n[80+(0|n[g+4>>2])>>2],M=0|n[(Y=e+72|0)>>2],n[W>>2]=F,n[(R=W+4|0)>>2]=M,n[W+8>>2]=M<<2,T=W+12|0,I=0|G(M,F),n[T>>2]=0,n[(B=W+16|0)>>2]=0,n[W+20>>2]=0;do{if(I){if(!(I>>>0>1073741823)){C=0|Uo(j=I<<2),n[T>>2]=C,Q=C+(I<<2)|0,n[W+20>>2]=Q,IA(0|C,0,0|j),n[B>>2]=Q,X=C;break}On()}else X=0}while(0);n[(I=W+24|0)>>2]=X,C=e+8|0,Q=0|n[(T=e+4|0)>>2];e:do{if((0|n[C>>2])!=(0|Q)){j=V+4|0,J=V+8|0,z=V+8|0,O=0==(0|F),S=V+4|0,H=V+8|0,D=o+4|0,x=o+8|0,P=o+8|0,L=e+48|0,K=V+8|0,q=e+60|0,$=0,ee=0,re=0,ie=0,fe=Q,Ae=g;r:for(;;){switch(te=0|n[(0|n[8+(0|n[Ae+4>>2])>>2])+(n[fe+(ie<<2)>>2]<<2)>>2],0|n[te+28>>2]){case 1:case 3:case 5:case 2:case 4:case 6:ae=te,oe=ee;break;case 9:ae=0|n[(0|n[q>>2])+(ee<<2)>>2],oe=ee+1|0;break;default:ne=0;break e}if(!ae){ne=0;break e}i:do{switch(0|n[ae+28>>2]){case 6:if(O){be=re,le=ae+24|0;break i}te=ae+84|0,ce=ae+68|0,ue=ae+48|0,se=ae+40|0,ke=ae+24|0,de=0;do{_e=0|A[te>>0]?de:0|n[(0|n[ce>>2])+(de<<2)>>2],pe=0|n[(he=ue)>>2],we=0|n[he+4>>2],he=0|Ho(0|To(0|n[(he=se)>>2],0|n[he+4>>2],0|_e,0),0|E,0|pe,0|we),qi((0|n[I>>2])+((0|G(0|n[R>>2],de))<<2)+($<<2)|0,(0|n[n[ae>>2]>>2])+he|0,A[ke>>0]<<2|0),de=de+1|0}while((0|de)!=(0|F));be=re,le=ke;break;case 1:case 3:case 5:if(se=(de=0|A[(ke=ae+24|0)>>0])<<24>>24,n[V>>2]=0,n[S>>2]=0,n[H>>2]=0,de<<24>>24){if(de<<24>>24<0){ye=24;break r}ue=0|Uo(de=se<<2),n[V>>2]=ue,ce=ue+(se<<2)|0,n[K>>2]=ce,IA(0|ue,0,0|de),n[S>>2]=ce,ve=0|A[ke>>0]}else ve=0;if(ce=ve<<24>>24,n[o>>2]=0,n[D>>2]=0,n[x>>2]=0,ve<<24>>24){if(ve<<24>>24<0){ye=30;break r}ue=0|Uo(de=ce<<2),n[o>>2]=ue,se=ue+(ce<<2)|0,n[P>>2]=se,IA(0|ue,0,0|de),n[D>>2]=se,me=ue,Ze=ue}else me=0,Ze=0;if(O)Re=Ze,Be=me;else{ue=ae+84|0,se=ae+68|0,de=0;do{if(Ee=0|A[ue>>0]?de:0|n[(0|n[se>>2])+(de<<2)>>2],ce=0|n[V>>2],n[t>>2]=Ee,te=0|A[ke>>0],n[f>>2]=n[t>>2],wt(ae,f,te,ce),te=(ce=0|A[ke>>0])<<24>>24,ce<<24>>24>0){ce=0|n[V>>2],he=0|n[L>>2],we=0|n[o>>2],pe=0;do{n[we+(pe<<2)>>2]=(0|n[ce+(pe<<2)>>2])-(0|n[he+(pe+re<<2)>>2]),pe=pe+1|0}while((0|pe)<(0|te));We=we}else We=0|n[o>>2];qi((0|n[I>>2])+((0|G(0|n[R>>2],de))<<2)+($<<2)|0,0|We,te<<2|0),de=de+1|0}while(de>>>0<F>>>0);Re=de=0|n[o>>2],Be=de}de=re+(0|A[ke>>0])|0,0|Re&&((0|(se=0|n[D>>2]))!=(0|Re)&&(n[D>>2]=se+(~((se+-4-Re|0)>>>2)<<2)),_b(Be)),0|(se=0|n[V>>2])&&((0|(ue=0|n[S>>2]))!=(0|se)&&(n[S>>2]=ue+(~((ue+-4-se|0)>>>2)<<2)),_b(se)),be=de,le=ke;break;default:if(ue=(se=0|A[(de=ae+24|0)>>0])<<24>>24,n[V>>2]=0,n[j>>2]=0,n[J>>2]=0,se<<24>>24){if(se<<24>>24<0){ye=53;break r}we=0|Uo(se=ue<<2),n[V>>2]=we,pe=we+(ue<<2)|0,n[z>>2]=pe,IA(0|we,0,0|se),n[j>>2]=pe,Ve=we,Ne=we}else Ve=0,Ne=0;if(O)Ge=Ne,Fe=Ve;else{we=ae+84|0,pe=ae+68|0,se=0;do{Ue=0|A[we>>0]?se:0|n[(0|n[pe>>2])+(se<<2)>>2],ue=0|n[V>>2],n[t>>2]=Ue,he=0|A[de>>0],n[f>>2]=n[t>>2],pt(ae,f,he,ue),qi((0|n[I>>2])+((0|G(0|n[R>>2],se))<<2)+($<<2)|0,0|n[V>>2],A[de>>0]<<2|0),se=se+1|0}while(se>>>0<F>>>0);Ge=se=0|n[V>>2],Fe=se}0|Ge&&((0|(se=0|n[j>>2]))!=(0|Ge)&&(n[j>>2]=se+(~((se+-4-Ge|0)>>>2)<<2)),_b(Fe)),be=re,le=de}}while(0);if(se=ie+1|0,pe=0|n[T>>2],se>>>0>=(0|n[C>>2])-pe>>2>>>0){ye=66;break}$=$+(0|A[le>>0])|0,ee=oe,re=be,ie=se,fe=pe,Ae=0|n[N>>2]}if(24==(0|ye))On();else if(30==(0|ye))On();else if(53==(0|ye))On();else if(66==(0|ye)){ge=0|n[Y>>2],Ye=0|n[I>>2],ye=67;break}}else ge=M,Ye=X,ye=67}while(0);e:do{if(67==(0|ye)){if((0|(X=0|G(ge,F)))>0)for(M=0,I=0;;){if(Me=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+8>>2],n[f>>2]=n[_>>2],n[f+4>>2]=n[_+4>>2],n[f+8>>2]=n[_+8>>2],I=0|Lr(V,t,f,o,r),Tr(V),!I){ne=0;break e}break;case 2:if(Gr(V,ge),n[h>>2]=0,n[h+4>>2]=W,I=0|n[R>>2],n[h+8>>2]=I,n[p>>2]=n[W>>2],n[p+4>>2]=W,n[p+8>>2]=I,n[o>>2]=Te,n[t>>2]=n[h>>2],n[t+4>>2]=n[h+4>>2],n[t+8>>2]=n[h+8>>2],n[f>>2]=n[p>>2],n[f+4>>2]=n[p+4>>2],n[f+8>>2]=n[p+8>>2],I=0|Lr(V,t,f,o,r),Tr(V),!I){ne=0;break e}break;case 1:if(Fr(V,ge),n[w>>2]=0,n[w+4>>2]=W,I=0|n[R>>2],n[w+8>>2]=I,n[v>>2]=n[W>>2],n[v+4>>2]=W,n[v+8>>2]=I,n[o>>2]=Te,n[t>>2]=n[w>>2],n[t+4>>2]=n[w+4>>2],n[t+8>>2]=n[w+8>>2],n[f>>2]=n[v>>2],n[f+4>>2]=n[v+4>>2],n[f+8>>2]=n[v+8>>2],I=0|Pr(V,t,f,o,r),Mr(V),!I){ne=0;break e}break;case 0:if(Fr(V,ge),n[m>>2]=0,n[m+4>>2]=W,I=0|n[R>>2],n[m+8>>2]=I,n[Z>>2]=n[W>>2],n[Z+4>>2]=W,n[Z+8>>2]=I,n[o>>2]=Te,n[t>>2]=n[m>>2],n[t+4>>2]=n[m+4>>2],n[t+8>>2]=n[m+8>>2],n[f>>2]=n[Z>>2],n[f+4>>2]=n[Z+4>>2],n[f+8>>2]=n[Z+8>>2],I=0|Pr(V,t,f,o,r),Mr(V),!I){ne=0;break e}break;default:ne=0;break e}ne=1}}while(0);return(V=0|n[W+12>>2])?((0|(W=0|n[B>>2]))!=(0|V)&&(n[B>>2]=W+(~((W+-4-V|0)>>>2)<<2)),_b(V),y=i,0|ne):(y=i,0|ne)},function(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0,b=0;if(A=40+(e|=0)|0,f=0|n[(i=e+36|0)>>2],(0|n[A>>2])!=(0|f)){t=0,a=f;do{Ei(a+(24*t|0)|0,r),t=t+1|0,a=0|n[i>>2]}while(t>>>0<(((0|n[A>>2])-a|0)/24|0)>>>0)}if(A=e+52|0,e=0|n[(a=e+48|0)>>2],(0|n[A>>2])==(0|e))return 1;o=0,b=e;do{Mf((e=0|n[b+(o<<2)>>2])<<1^e>>31,r),o=o+1|0,b=0|n[a>>2]}while(o>>>0<(0|n[A>>2])-b>>2>>>0);return 1},function(e,r){return r|=0,n[8+(e|=0)>>2]=r,n[e+12>>2]=-1,1},In,In,function(e,r){e|=0;var i,f,A,t,a,o,b=0,l=0,c=0,u=0;if(i=y,y=y+16|0,f=i,(0|yb[127&n[20+(0|n[(r|=0)>>2])>>2]](r))<=0)return y=i,1;for(A=e+4|0,t=e+20|0,a=e+24|0,o=e+16|0,e=0;c=0|oo(l=0|n[4+(0|n[A>>2])>>2],0|mb[127&n[24+(0|n[r>>2])>>2]](r,e)),n[f>>2]=c,-1!=(0|c);)if((0|(l=0|n[t>>2]))==(0|n[a>>2])?sA(o,f):(n[l>>2]=c,n[t>>2]=l+4),ga(0|n[A>>2],0|n[f>>2]),(0|(e=e+1|0))>=(0|yb[127&n[20+(0|n[r>>2])>>2]](r))){b=1,u=9;break}return 9==(0|u)?(y=i,0|b):(y=i,0|(b=0))},function(e,r){var i,f=0,A=0,t=0,a=0,o=0;if(i=4+(e|=0)|0,(0|yb[127&n[20+(0|n[(r|=0)>>2])>>2]](r))<=0)return 1;for(e=0;;){if(-1==(0|(t=0|oo(A=0|n[4+(0|n[i>>2])>>2],0|mb[127&n[24+(0|n[r>>2])>>2]](r,e))))){f=0,a=6;break}if(A=0|n[28+(0|n[r>>2])>>2],o=0|Ua(0|n[i>>2],t),e=e+1|0,!(0|mb[127&A](r,o))){f=0,a=6;break}if((0|e)>=(0|yb[127&n[20+(0|n[r>>2])>>2]](r))){f=1,a=6;break}}return 6==(0|a)?0|f:0},function(e,r){var i,f,t,a,o,b,l,c,u,s=0,k=0,d=0;if(i=y,y=y+16|0,f=i+4|0,t=i,a=i+8|0,!(0|kr(e|=0,r|=0)))return y=i,0;if(b=e+40|0,e=0|n[(o=e+36|0)>>2],(0|n[b>>2])==(0|e))return y=i,1;l=r+16|0,c=r+4|0,u=a+1|0,s=0,k=e;do{e=0|n[k+(s<<2)>>2],d=0|yb[127&n[32+(0|n[e>>2])>>2]](e),A[a>>0]=d,(0|(e=0|n[(d=l)+4>>2]))>0|0==(0|e)&(0|n[d>>2])>>>0>0||(n[t>>2]=n[c>>2],n[f>>2]=n[t>>2],hr(r,f,a,u)),s=s+1|0,k=0|n[o>>2]}while(s>>>0<(0|n[b>>2])-k>>2>>>0);return y=i,1},function(e,r){var i;return r|=0,(i=0|n[72+(e|=0)>>2])?(n[i+4>>2]=e+60,0|yb[127&n[12+(0|n[i>>2])>>2]](i)&&0|yb[127&n[40+(0|n[e>>2])>>2]](e)&&0|mb[127&n[44+(0|n[e>>2])>>2]](e,r)?0|mb[127&n[48+(0|n[e>>2])>>2]](e,r):0):0},function(e,r){var i,f;return r|=0,i=0|n[16+(e|=0)>>2],((0|n[e+20>>2])-i>>2|0)<=(0|r)||(0|(f=0|n[i+(r<<2)>>2]))<0?0:(r=0|n[(0|n[e+36>>2])+(f<<2)>>2],0|(0|n[r+20>>2])-(0|n[r+16>>2])>>2)},function(e,r){r|=0;var i,f=0;return f=0|n[16+(e|=0)>>2],((0|n[e+20>>2])-f>>2|0)<=(0|r)||(0|(i=0|n[f+(r<<2)>>2]))<0?0:(r=e+48|0,(0|n[e+52>>2])>>>0<=i>>>0&&function(e,r,i){r|=0,i|=0;var f,A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0;f=y,y=y+32|0,o=f+8|0,b=f,(l=0|n[(A=4+(e|=0)|0)>>2])>>>0>=r>>>0?(n[A>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r,i+1|0,0),f=(0|n[r>>2])+(i>>>5<<2)|0,n[f>>2]=n[f>>2]|1<<(31&i),f=0|n[e+36>>2],(0|n[e+40>>2])-f>>2>>>0<=i>>>0||Tn(0|n[f+(i<<2)>>2]),1)},function(e,r){r|=0;var i,f=0;return i=0|n[16+(e|=0)>>2],((0|n[e+20>>2])-i>>2|0)<=(0|r)||(0|(f=0|n[i+(r<<2)>>2]))<0?0:(r=0|n[(0|n[e+36>>2])+(f<<2)>>2],0|(f=0|n[r+32>>2])?0|f:0|n[r+8>>2])},function(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0;if(f=40+(e|=0)|0,t=0|n[(i=e+36|0)>>2],(0|n[f>>2])==(0|t))return 1;for(A=e+60|0,e=0,o=t;;){if(t=0|n[o+(e<<2)>>2],e=e+1|0,!(0|Zb[31&n[20+(0|n[t>>2])>>2]](t,A,r))){a=0,b=5;break}if(o=0|n[i>>2],e>>>0>=(0|n[f>>2])-o>>2>>>0){a=1,b=5;break}}return 5==(0|b)?0|a:0},function(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0;if(f=40+(e|=0)|0,e=0|n[(i=e+36|0)>>2],(0|n[f>>2])==(0|e))return 1;for(t=0,a=e;;){if(e=0|n[a+(t<<2)>>2],t=t+1|0,!(0|mb[127&n[24+(0|n[e>>2])>>2]](e,r))){A=0,o=4;break}if(a=0|n[i>>2],t>>>0>=(0|n[f>>2])-a>>2>>>0){A=1,o=4;break}}return 4==(0|o)?0|A:0},function(e,r){r|=0;var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0;if(i=y,y=y+16|0,t=i,o=0|n[(a=4+(e|=0)|0)>>2],b=0|n[52+(0|n[e>>2])>>2],o){if(!(0|Zb[31&b](e,r,0|n[80+(0|n[o+4>>2])>>2])))return y=i,0}else if(!(0|Zb[31&b](e,r,0)))return y=i,0;if(!(0|A[e+28>>0]))return y=i,1;o=0|n[e+8>>2],b=0|n[e+32>>2],e=0|n[o+80>>2],n[t>>2]=0,n[(f=t+4|0)>>2]=0,n[t+8>>2]=0;do{if(e){if(!(e>>>0>1073741823)){c=0|Uo(l=e<<2),n[t>>2]=c,u=c+(e<<2)|0,n[t+8>>2]=u,IA(0|c,0,0|l),n[f>>2]=u,s=c,k=u,d=c;break}On()}else s=0,k=0,d=0}while(0);t=0|n[r+4>>2],r=e=0|n[r>>2];e:do{if((0|t)!=(0|e)){if(c=t-e>>2,0|A[o+84>>0])for(u=0;;)if(n[s+(n[r+(u<<2)>>2]<<2)>>2]=u,(u=u+1|0)>>>0>=c>>>0)break e;u=0|n[o+68>>2],l=0;do{n[s+(n[u+(n[r+(l<<2)>>2]<<2)>>2]<<2)>>2]=l,l=l+1|0}while(l>>>0<c>>>0)}}while(0);r=0|n[80+(0|n[4+(0|n[a>>2])>>2])>>2];e:do{if(0|r){if(a=0|n[b+68>>2],0|A[o+84>>0])for(e=0;;)if(n[a+(e<<2)>>2]=n[s+(e<<2)>>2],(e=e+1|0)>>>0>=r>>>0)break e;e=0|n[o+68>>2],t=0;do{n[a+(t<<2)>>2]=n[s+(n[e+(t<<2)>>2]<<2)>>2],t=t+1|0}while(t>>>0<r>>>0)}}while(0);return 0|s&&((0|k)!=(0|s)&&(n[f>>2]=k+(~((k+-4-s|0)>>>2)<<2)),_b(d)),y=i,1},dn,Xn,function(e,r){e|=0,r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0;return i=y,y=y+16|0,f=i+8|0,A=i+4|0,n[(t=i)>>2]=n[e+12>>2],l=0|n[(o=a=r+16|0)>>2],(0|(b=0|n[o+4>>2]))>0|0==(0|b)&l>>>0>0?(c=b,u=l):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(l=a)+4>>2],u=0|n[l>>2]),n[t>>2]=n[e+16>>2],(0|c)>0|0==(0|c)&u>>>0>0?(y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),y=i,1)},Xn,eo,Qr,Xn,ro,Af,bo,Ie,Xn,eo,Qr,Xn,ro,Af,bo,Ie,function(e,r){return 0|Dt(40+(e|=0)|0,r|=0)},dn,Xn,function(e,r){e|=0,r|=0;var i,f,A,t,a,o,b,l=0,c=0,u=0;return i=y,y=y+16|0,f=i+8|0,A=i+4|0,n[(t=i)>>2]=n[e+12>>2],l=0|n[(o=a=r+16|0)>>2],(0|(b=0|n[o+4>>2]))>0|0==(0|b)&l>>>0>0?(c=b,u=l):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),c=0|n[(l=a)+4>>2],u=0|n[l>>2]),n[t>>2]=n[e+20>>2],(0|c)>0|0==(0|c)&u>>>0>0?(y=i,1):(n[A>>2]=n[r+4>>2],n[f>>2]=n[A>>2],hr(r,f,t,t+4|0),y=i,1)},Te,Xn,Ha,jr,Xn,Da,ff,bo,Te,Xn,Ha,jr,Xn,Da,ff,bo,function(e,r){return 0|Ei(40+(e|=0)|0,r|=0)},function(e,r){var i;return r|=0,i=0|n[64+(e|=0)>>2],0|mb[127&n[20+(0|n[i>>2])>>2]](i,r)},function(e,r){var i;return r|=0,i=0|n[64+(e|=0)>>2],0|mb[127&n[24+(0|n[i>>2])>>2]](i,r)},function(e,r){var i;return r|=0,i=0|n[64+(e|=0)>>2],0|mb[127&n[12+(0|n[i>>2])>>2]](i,r)},function(e,r){var i;return r|=0,i=0|n[64+(e|=0)>>2],0|mb[127&n[16+(0|n[i>>2])>>2]](i,r)},function(e,r){r|=0;var i,f,t,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(t=4+(e|=0)|0)>>2]=r,n[e+8>>2]=n[r+56>>2],a=0|n[e+184>>2],(0|(b=0|n[(o=e+188|0)>>2]))!=(0|a)&&(n[o>>2]=b+(~((b+-4-a|0)>>>2)<<2)),a=0|n[r+48>>2],r=0|Uo(32),n[f>>2]=r,n[f+8>>2]=-2147483616,n[f+4>>2]=19,o=14285,l=(b=r)+19|0;do{A[b>>0]=0|A[o>>0],b=b+1|0,o=o+1|0}while((0|b)<(0|l));if(A[r+19>>0]=0,r=0==(0|hf(a,f)),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),a=0|n[48+(0|n[t>>2])>>2],r)return r=(0|Xf(a))>5&1,A[e+288>>0]=r,y=i,1;r=0|Uo(32),n[f>>2]=r,n[f+8>>2]=-2147483616,n[f+4>>2]=19,o=14285,l=(b=r)+19|0;do{A[b>>0]=0|A[o>>0],b=b+1|0,o=o+1|0}while((0|b)<(0|l));return A[r+19>>0]=0,r=1&(0|ia(a,f,0)),A[e+288>>0]=r,(0|A[f+11>>0])<0&&_b(0|n[f>>2]),y=i,1},ua,_a,function(e,r){r|=0;var i,f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0;if(i=y,y=y+80|0,f=i+72|0,t=i+64|0,a=i,b=i+68|0,l=i+60|0,0|A[(o=288+(e|=0)|0)>>0]&&(c=0|yb[127&n[40+(0|n[e>>2])>>2]](e),((0|n[c+12>>2])-(0|n[c+8>>2])|0)>0))return c=8+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,u=0|n[n[c>>2]>>2],n[f>>2]=r,c=u+4|0,(0|(k=0|n[(s=u+8|0)>>2]))==(0|n[u+12>>2])?sA(c,f):(n[k>>2]=r,n[s>>2]=k+4),k=0|n[f>>2],d=u+16|0,u=0|n[(_=u+20|0)>>2],w=h=0|n[d>>2],(0|k)<(0|(p=u-h>>2))?(v=w,m=k):(h=k+1|0,n[t>>2]=-1,Z=u,h>>>0<=p>>>0?h>>>0<p>>>0&&(0|(u=w+(h<<2)|0))!=(0|Z)?(n[_>>2]=Z+(~((Z+-4-u|0)>>>2)<<2),R=k,B=w):(R=k,B=w):(cf(d,h-p|0,t),R=0|n[f>>2],B=0|n[d>>2]),v=B,m=R),n[v+(m<<2)>>2]=((0|n[s>>2])-(0|n[c>>2])>>2)-1,y=i,1;c=56+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,s=0|n[(0|n[84+(0|n[c>>2])>>2])+(r<<2)>>2],c=4+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,m=0|n[(0|n[8+(0|n[c>>2])>>2])+(r<<2)>>2],n[t>>2]=-1,c=e+172|0,v=0|n[e+176>>2],B=R=0|n[c>>2];e:do{if((0|v)==(0|R))E=-1;else{for(d=(v-R|0)/136|0,p=0;(0|n[B+(136*p|0)>>2])!=(0|r);){if(!((h=p+1|0)>>>0<d>>>0)){E=-1;break e}p=h}n[t>>2]=p,E=p}}while(0);e:do{if(0|A[o>>0])g=24;else{R=0==(0|n[m+56>>2]);do{if(!(0==(0|s)|R)){if(1==(0|s)&&0|A[B+(136*E|0)+28>>0])break;v=B+(136*E|0)+104|0,d=B+(136*E|0)+4|0,h=(0|n[B+(136*E|0)+60>>2])-(0|n[B+(136*E|0)+56>>2])>>2,n[f>>2]=-1,di(B+(136*E|0)+116|0,h,f),h=0|Uo(80),w=0|n[e+8>>2],n[h+4>>2]=0,n[h>>2]=3164,k=h+8|0,Z=44+(u=h+12|0)|0;do{n[u>>2]=0,u=u+4|0}while((0|u)<(0|Z));n[k>>2]=3188,n[(_=h+56|0)>>2]=0,n[h+60>>2]=0,n[h+64>>2]=0,n[h+68>>2]=w,n[h+72>>2]=v,n[(W=h+76|0)>>2]=0,Z=40+(u=4+(V=a+4|0)|0)|0;do{n[u>>2]=0,u=u+4|0}while((0|u)<(0|Z));n[a>>2]=3188,n[(u=a+48|0)>>2]=0,n[(Z=a+52|0)>>2]=0,n[a+56>>2]=0,n[V>>2]=d,N=0|n[B+(136*E|0)+68>>2],G=((0|n[N+4>>2])-(0|n[N>>2])>>2>>>0)/3|0,A[f>>0]=0,rf(a+24|0,G,f),G=0|n[V>>2],N=(0|n[G+56>>2])-(0|n[G+52>>2])>>2,A[f>>0]=0,rf(a+36|0,N,f),n[a+8>>2]=d,n[a+12>>2]=v,n[a+16>>2]=w,n[a+20>>2]=h,n[W>>2]=e+72,Or(k,a),wi(_,0|n[u>>2],0|n[Z>>2]),N=h,n[a>>2]=3188,0|(G=0|n[u>>2])&&((0|(u=0|n[Z>>2]))!=(0|G)&&(n[Z>>2]=u+(~((u+-4-G|0)>>>2)<<2)),_b(G)),n[a>>2]=3208,0|(G=0|n[a+36>>2])&&_b(G),0|(G=0|n[a+24>>2])&&_b(G),F=0,U=N,g=42;break e}}while(0);R?g=24:(p=0|n[e+12>>2],N=(0|n[p+28>>2])-(0|n[p+24>>2])>>2,n[f>>2]=-1,di(B+(136*E|0)+116|0,N,f),A[(0|n[c>>2])+(136*(0|n[t>>2])|0)+100>>0]=0,Y=B+(136*E|0)+104|0,g=26)}}while(0);if(24==(0|g)&&(Y=e+40|0,g=26),26==(0|g)){E=48+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0;do{if(0==(0|Xf(0|n[E>>2]))&&0==(0|n[m+56>>2])){if(0|A[o>>0]&&(B=0|n[e+8>>2],((0|n[B+12>>2])-(0|n[B+8>>2])|0)>=5)){g=31;break}ii(f,e,Y),M=1,T=0|n[f>>2]}else g=31}while(0);31==(0|g)&&(Wr(f,e,Y),M=0,T=0|n[f>>2]),T?(F=M,U=T,g=42):I=0}return 42==(0|g)&&(j=-1==(0|(g=0|n[t>>2]))?e+68|0:(0|n[c>>2])+(136*g|0)+132|0,n[j>>2]=F,F=0|Uo(76),n[b>>2]=U,Xa(F,b,r),r=F,F=0|n[b>>2],n[b>>2]=0,0|F&&Eb[127&n[4+(0|n[F>>2])>>2]](F),(0|(b=0|n[(F=e+188|0)>>2]))==(0|n[e+192>>2])?sA(e+184|0,t):(n[b>>2]=n[t>>2],n[F>>2]=b+4),b=0|yb[127&n[40+(0|n[e>>2])>>2]](e),n[l>>2]=r,(F=0|n[(e=b+12|0)>>2])>>>0<(0|n[b+16>>2])>>>0?(n[l>>2]=0,n[F>>2]=r,n[e>>2]=F+4,C=l):(Ci(b+8|0,l),C=l),l=0|n[C>>2],n[C>>2]=0,l?(Eb[127&n[4+(0|n[l>>2])>>2]](l),I=1):I=1),y=i,0|I},or,vo,function(e,r){r|=0;var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(t=0|n[12+(e|=0)>>2],o=0|n[(a=e+68|0)>>2],b=0|n[o+80>>2],A[r+84>>0]=0,l=r+68|0,s=(c=0|n[(i=r+72|0)>>2])-(u=0|n[l>>2])>>2,f=u,u=c,b>>>0<=s>>>0?b>>>0<s>>>0&&(0|(c=f+(b<<2)|0))!=(0|u)?(n[i>>2]=u+(~((u+-4-c|0)>>>2)<<2),k=o,d=b):(k=o,d=b):(cf(l,b-s|0,3220),k=s=0|n[a>>2],d=0|n[s+80>>2]),a=(0|(s=(0|n[k+100>>2])-(0|n[k+96>>2])|0))/12|0,!s)return 1;for(s=e+72|0,e=r+68|0,r=0|n[k+96>>2],k=0|n[t+28>>2],t=0;;){if(-1==(0|(l=0|n[k+((b=3*t|0)<<2)>>2]))){_=0,h=11;break}if(o=0|n[12+(0|n[s>>2])>>2],(c=0|n[o+(l<<2)>>2])>>>0>=d>>>0){_=0,h=11;break}if(l=0|n[e>>2],n[l+(n[r+(12*t|0)>>2]<<2)>>2]=c,-1==(0|(c=0|n[k+(b+1<<2)>>2]))){_=0,h=11;break}if((u=0|n[o+(c<<2)>>2])>>>0>=d>>>0){_=0,h=11;break}if(n[l+(n[r+(12*t|0)+4>>2]<<2)>>2]=u,-1==(0|(u=0|n[k+(b+2<<2)>>2]))){_=0,h=11;break}if((b=0|n[o+(u<<2)>>2])>>>0>=d>>>0){_=0,h=11;break}if(n[l+(n[r+(12*t|0)+8>>2]<<2)>>2]=b,(t=t+1|0)>>>0>=a>>>0){_=1,h=11;break}}return 11==(0|h)?0|_:0},function(e,r){r|=0;var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(i=0|n[12+(e|=0)>>2],a=0|n[(t=e+68|0)>>2],o=0|n[a+80>>2],A[r+84>>0]=0,b=r+68|0,s=(c=0|n[(l=r+72|0)>>2])-(u=0|n[b>>2])>>2,f=u,u=c,o>>>0<=s>>>0?o>>>0<s>>>0&&(0|(c=f+(o<<2)|0))!=(0|u)?(n[l>>2]=u+(~((u+-4-c|0)>>>2)<<2),k=a,d=o):(k=a,d=o):(cf(b,o-s|0,3220),k=s=0|n[t>>2],d=0|n[s+80>>2]),t=(0|(s=(0|n[k+100>>2])-(0|n[k+96>>2])|0))/12|0,!s)return 1;for(s=e+72|0,e=r+68|0,r=0|n[k+96>>2],k=0;;){if(-1==(0|(o=3*k|0))){_=0,h=12;break}if(b=0|n[i>>2],-1==(0|(a=0|n[b+(o<<2)>>2]))){_=0,h=12;break}if(c=0|n[12+(0|n[s>>2])>>2],(u=0|n[c+(a<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(a=0|n[e>>2],n[a+(n[r+(12*k|0)>>2]<<2)>>2]=u,-1==(0|(u=o+1|0))){_=0,h=12;break}if(-1==(0|(l=0|n[b+(u<<2)>>2]))){_=0,h=12;break}if((u=0|n[c+(l<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(n[a+(n[r+(12*k|0)+4>>2]<<2)>>2]=u,-1==(0|(u=o+2|0))){_=0,h=12;break}if(-1==(0|(o=0|n[b+(u<<2)>>2]))){_=0,h=12;break}if((u=0|n[c+(o<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(n[a+(n[r+(12*k|0)+8>>2]<<2)>>2]=u,(k=k+1|0)>>>0>=t>>>0){_=1,h=12;break}}return 12==(0|h)?0|_:0},function(e,r){r|=0;var i,f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;if(i=0|n[12+(e|=0)>>2],a=0|n[(t=e+108|0)>>2],o=0|n[a+80>>2],A[r+84>>0]=0,b=r+68|0,s=(c=0|n[(l=r+72|0)>>2])-(u=0|n[b>>2])>>2,f=u,u=c,o>>>0<=s>>>0?o>>>0<s>>>0&&(0|(c=f+(o<<2)|0))!=(0|u)?(n[l>>2]=u+(~((u+-4-c|0)>>>2)<<2),k=a,d=o):(k=a,d=o):(cf(b,o-s|0,3220),k=s=0|n[t>>2],d=0|n[s+80>>2]),t=(0|(s=(0|n[k+100>>2])-(0|n[k+96>>2])|0))/12|0,!s)return 1;for(s=e+112|0,e=r+68|0,r=0|n[k+96>>2],k=0;;){if(-1==(0|(o=3*k|0))){_=0,h=12;break}if(b=0|n[i>>2],-1==(0|(a=0|n[b+(o<<2)>>2]))){_=0,h=12;break}if(c=0|n[12+(0|n[s>>2])>>2],(u=0|n[c+(a<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(a=0|n[e>>2],n[a+(n[r+(12*k|0)>>2]<<2)>>2]=u,-1==(0|(u=o+1|0))){_=0,h=12;break}if(-1==(0|(l=0|n[b+(u<<2)>>2]))){_=0,h=12;break}if((u=0|n[c+(l<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(n[a+(n[r+(12*k|0)+4>>2]<<2)>>2]=u,-1==(0|(u=o+2|0))){_=0,h=12;break}if(-1==(0|(o=0|n[b+(u<<2)>>2]))){_=0,h=12;break}if((u=0|n[c+(o<<2)>>2])>>>0>=d>>>0){_=0,h=12;break}if(n[a+(n[r+(12*k|0)+8>>2]<<2)>>2]=u,(k=k+1|0)>>>0>=t>>>0){_=1,h=12;break}}return 12==(0|h)?0|_:0},function(e,r){r|=0;var i,f,t,a=0,o=0,b=0,l=0;i=y,y=y+16|0,f=i,n[(t=4+(e|=0)|0)>>2]=r,n[e+8>>2]=n[r+56>>2],a=0|n[e+184>>2],(0|(b=0|n[(o=e+188|0)>>2]))!=(0|a)&&(n[o>>2]=b+(~((b+-4-a|0)>>>2)<<2)),a=0|n[r+48>>2],r=0|Uo(32),n[f>>2]=r,n[f+8>>2]=-2147483616,n[f+4>>2]=19,o=14285,l=(b=r)+19|0;do{A[b>>0]=0|A[o>>0],b=b+1|0,o=o+1|0}while((0|b)<(0|l));if(A[r+19>>0]=0,r=0==(0|hf(a,f)),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),a=0|n[48+(0|n[t>>2])>>2],r)return r=(0|Xf(a))>5&1,A[e+352>>0]=r,y=i,1;r=0|Uo(32),n[f>>2]=r,n[f+8>>2]=-2147483616,n[f+4>>2]=19,o=14285,l=(b=r)+19|0;do{A[b>>0]=0|A[o>>0],b=b+1|0,o=o+1|0}while((0|b)<(0|l));return A[r+19>>0]=0,r=1&(0|ia(a,f,0)),A[e+352>>0]=r,(0|A[f+11>>0])<0&&_b(0|n[f>>2]),y=i,1},ua,_a,function(e,r){r|=0;var i,f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0;if(i=y,y=y+80|0,f=i+72|0,t=i+64|0,a=i,b=i+68|0,l=i+60|0,0|A[(o=352+(e|=0)|0)>>0]&&(c=0|yb[127&n[40+(0|n[e>>2])>>2]](e),((0|n[c+12>>2])-(0|n[c+8>>2])|0)>0))return c=8+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,u=0|n[n[c>>2]>>2],n[f>>2]=r,c=u+4|0,(0|(k=0|n[(s=u+8|0)>>2]))==(0|n[u+12>>2])?sA(c,f):(n[k>>2]=r,n[s>>2]=k+4),k=0|n[f>>2],d=u+16|0,u=0|n[(_=u+20|0)>>2],w=h=0|n[d>>2],(0|k)<(0|(p=u-h>>2))?(v=w,m=k):(h=k+1|0,n[t>>2]=-1,Z=u,h>>>0<=p>>>0?h>>>0<p>>>0&&(0|(u=w+(h<<2)|0))!=(0|Z)?(n[_>>2]=Z+(~((Z+-4-u|0)>>>2)<<2),R=k,B=w):(R=k,B=w):(cf(d,h-p|0,t),R=0|n[f>>2],B=0|n[d>>2]),v=B,m=R),n[v+(m<<2)>>2]=((0|n[s>>2])-(0|n[c>>2])>>2)-1,y=i,1;c=56+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,s=0|n[(0|n[84+(0|n[c>>2])>>2])+(r<<2)>>2],c=4+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0,m=0|n[(0|n[8+(0|n[c>>2])>>2])+(r<<2)>>2],n[t>>2]=-1,c=e+172|0,v=0|n[e+176>>2],B=R=0|n[c>>2];e:do{if((0|v)==(0|R))E=-1;else{for(d=(v-R|0)/136|0,p=0;(0|n[B+(136*p|0)>>2])!=(0|r);){if(!((h=p+1|0)>>>0<d>>>0)){E=-1;break e}p=h}n[t>>2]=p,E=p}}while(0);e:do{if(0|A[o>>0])g=24;else{R=0==(0|n[m+56>>2]);do{if(!(0==(0|s)|R)){if(1==(0|s)&&0|A[B+(136*E|0)+28>>0])break;v=B+(136*E|0)+104|0,d=B+(136*E|0)+4|0,h=(0|n[B+(136*E|0)+60>>2])-(0|n[B+(136*E|0)+56>>2])>>2,n[f>>2]=-1,di(B+(136*E|0)+116|0,h,f),h=0|Uo(80),w=0|n[e+8>>2],n[h+4>>2]=0,n[h>>2]=3164,k=h+8|0,Z=44+(u=h+12|0)|0;do{n[u>>2]=0,u=u+4|0}while((0|u)<(0|Z));n[k>>2]=3188,n[(_=h+56|0)>>2]=0,n[h+60>>2]=0,n[h+64>>2]=0,n[h+68>>2]=w,n[h+72>>2]=v,n[(W=h+76|0)>>2]=0,Z=40+(u=4+(V=a+4|0)|0)|0;do{n[u>>2]=0,u=u+4|0}while((0|u)<(0|Z));n[a>>2]=3188,n[(u=a+48|0)>>2]=0,n[(Z=a+52|0)>>2]=0,n[a+56>>2]=0,n[V>>2]=d,N=0|n[B+(136*E|0)+68>>2],G=((0|n[N+4>>2])-(0|n[N>>2])>>2>>>0)/3|0,A[f>>0]=0,rf(a+24|0,G,f),G=0|n[V>>2],N=(0|n[G+56>>2])-(0|n[G+52>>2])>>2,A[f>>0]=0,rf(a+36|0,N,f),n[a+8>>2]=d,n[a+12>>2]=v,n[a+16>>2]=w,n[a+20>>2]=h,n[W>>2]=e+72,Or(k,a),wi(_,0|n[u>>2],0|n[Z>>2]),N=h,n[a>>2]=3188,0|(G=0|n[u>>2])&&((0|(u=0|n[Z>>2]))!=(0|G)&&(n[Z>>2]=u+(~((u+-4-G|0)>>>2)<<2)),_b(G)),n[a>>2]=3208,0|(G=0|n[a+36>>2])&&_b(G),0|(G=0|n[a+24>>2])&&_b(G),F=0,U=N,g=42;break e}}while(0);R?g=24:(p=0|n[e+12>>2],N=(0|n[p+28>>2])-(0|n[p+24>>2])>>2,n[f>>2]=-1,di(B+(136*E|0)+116|0,N,f),A[(0|n[c>>2])+(136*(0|n[t>>2])|0)+100>>0]=0,Y=B+(136*E|0)+104|0,g=26)}}while(0);if(24==(0|g)&&(Y=e+40|0,g=26),26==(0|g)){E=48+(0|yb[127&n[40+(0|n[e>>2])>>2]](e))|0;do{if(0==(0|Xf(0|n[E>>2]))&&0==(0|n[m+56>>2])){if(0|A[o>>0]&&(B=0|n[e+8>>2],((0|n[B+12>>2])-(0|n[B+8>>2])|0)>=5)){g=31;break}ii(f,e,Y),M=1,T=0|n[f>>2]}else g=31}while(0);31==(0|g)&&(Wr(f,e,Y),M=0,T=0|n[f>>2]),T?(F=M,U=T,g=42):I=0}return 42==(0|g)&&(j=-1==(0|(g=0|n[t>>2]))?e+68|0:(0|n[c>>2])+(136*g|0)+132|0,n[j>>2]=F,F=0|Uo(76),n[b>>2]=U,Xa(F,b,r),r=F,F=0|n[b>>2],n[b>>2]=0,0|F&&Eb[127&n[4+(0|n[F>>2])>>2]](F),(0|(b=0|n[(F=e+188|0)>>2]))==(0|n[e+192>>2])?sA(e+184|0,t):(n[b>>2]=n[t>>2],n[F>>2]=b+4),b=0|yb[127&n[40+(0|n[e>>2])>>2]](e),n[l>>2]=r,(F=0|n[(e=b+12|0)>>2])>>>0<(0|n[b+16>>2])>>>0?(n[l>>2]=0,n[F>>2]=r,n[e>>2]=F+4,C=l):(Ci(b+8|0,l),C=l),l=0|n[C>>2],n[C>>2]=0,l?(Eb[127&n[4+(0|n[l>>2])>>2]](l),I=1):I=1),y=i,0|I},or,vo,In,Xn,Xn,Xr,function(e,r){var i;return e|=0,A[84+(r|=0)>>0]=1,e=0|n[r+68>>2],(0|(r=0|n[(i=r+72|0)>>2]))==(0|e)||(n[i>>2]=r+(~((r+-4-e|0)>>>2)<<2)),1},function(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0;return i=y,y=y+16|0,f=i+8|0,A=i+4|0,t=i,o=12+(e|=0)|0,b=0|n[(a=e+8|0)>>2],(0|n[o>>2])==(0|b)?(function(e,r){$i(e|=0,r|=0),n[e>>2]=1276,e=(r=e+36|0)+40|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|e))}(l=0|Uo(76),r),c=l,n[t>>2]=c,(l=0|n[o>>2])>>>0<(0|n[e+16>>2])>>>0?(n[t>>2]=0,n[l>>2]=c,n[o>>2]=l+4,u=t):(Ci(a,t),u=t),t=0|n[u>>2],n[u>>2]=0,t?(Eb[127&n[4+(0|n[t>>2])>>2]](t),y=i,1):(y=i,1)):(t=0|n[b>>2],n[f>>2]=r,b=t+4|0,(0|(a=0|n[(u=t+8|0)>>2]))==(0|n[t+12>>2])?sA(b,f):(n[a>>2]=r,n[u>>2]=a+4),a=0|n[f>>2],r=t+16|0,t=0|n[(l=t+20|0)>>2],e=o=0|n[r>>2],(0|a)<(0|(c=t-o>>2))?(s=e,k=a):(o=a+1|0,n[A>>2]=-1,d=t,o>>>0<=c>>>0?o>>>0<c>>>0&&(0|(t=e+(o<<2)|0))!=(0|d)?(n[l>>2]=d+(~((d+-4-t|0)>>>2)<<2),_=a,h=e):(_=a,h=e):(cf(r,o-c|0,A),_=0|n[f>>2],h=0|n[r>>2]),s=h,k=_),n[s+(k<<2)>>2]=((0|n[u>>2])-(0|n[b>>2])>>2)-1,y=i,1)},Xr,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb,cb],Zb=[qn,en,function(e,r,i){return-1},go,function(e,r,i){return r|=0,i|=0,0|Zb[31&n[44+(0|n[(e|=0)>>2])>>2]](e,r,i)},function(e,r,i){r|=0,i|=0;var f,t,a,o,b,l,c,u,s,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0;if(f=y,y=y+16|0,t=f+4|0,a=f,e=0|n[(o=8+(e|=0)|0)>>2],b=0|kb((0|(k=0|n[e+40>>2]))>-1?k:-1),(0|(d=0|n[(l=r+4|0)>>2]))==(0|(_=0|n[r>>2])))return db(b),y=f,1;for(c=i+16|0,u=i+4|0,s=b+k|0,k=0,h=_,_=e,p=e,e=d;d=0|n[h+(k<<2)>>2],w=0|A[_+84>>0]?d:0|n[(0|n[_+68>>2])+(d<<2)>>2],v=0|n[(d=p+48|0)>>2],m=0|n[d+4>>2],d=0|Ho(0|To(0|(Z=0|n[(d=p+40|0)>>2]),0|n[d+4>>2],0|w,0),0|E,0|v,0|m),qi(0|b,(0|n[n[p>>2]>>2])+d|0,0|Z),(0|(d=0|n[(Z=c)+4>>2]))>0|0==(0|d)&(0|n[Z>>2])>>>0>0?(R=h,B=e):(n[a>>2]=n[u>>2],n[t>>2]=n[a>>2],hr(i,t,b,s),R=0|n[r>>2],B=0|n[l>>2]),!((Z=k+1|0)>>>0>=B-R>>2>>>0);)k=Z,h=R,_=d=0|n[o>>2],p=d,e=B;return db(b),y=f,1},function(e,r,i){var f,A,t=0,a=0,o=0,b=0;if(!(0|en(e|=0,r|=0,i|=0)))return 0;if(!(0|yb[127&n[52+(0|n[e>>2])>>2]](e)))return 0;if(f=e+8|0,a=0|n[(i=e+4|0)>>2],(0|n[f>>2])==(0|a))return 1;for(A=e+36|0,e=0,o=a;;){if(a=0|n[(0|n[A>>2])+(e<<2)>>2],!(0|Zb[31&n[8+(0|n[a>>2])>>2]](a,r,0|n[o+(e<<2)>>2]))){t=0,b=7;break}if(e=e+1|0,o=0|n[i>>2],e>>>0>=(0|n[f>>2])-o>>2>>>0){t=1,b=7;break}}return 7==(0|b)?0|t:0},function(e,r,i){var f,A;return r|=0,i|=0,f=0|n[16+(e|=0)>>2],((0|n[e+20>>2])-f>>2|0)<=(0|r)||(0|(A=0|n[f+(r<<2)>>2]))<0?-1:0|n[(0|n[16+(0|n[(0|n[e+36>>2])+(A<<2)>>2])>>2])+(i<<2)>>2]},lf,function(e,r,i){r|=0,i|=0;var f,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;if(f=y,y=y+32|0,t=f+16|0,a=f+12|0,b=f+29|0,l=f,c=f+28|0,!(0|n[80+(0|n[8+(e|=0)>>2])>>2]))return y=f,1;if(A[b>>0]=-2,(u=0|n[(o=e+36|0)>>2])?0|mb[127&n[40+(0|n[e>>2])>>2]](e,u)?(u=0|n[o>>2],s=255&(0|yb[127&n[8+(0|n[u>>2])>>2]](u)),A[b>>0]=s,k=5):d=0:k=5,5==(0|k)){(0|(_=0|n[4+(u=s=i+16|0)>>2]))>0|0==(0|_)&(0|n[u>>2])>>>0>0||(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,b,b+1|0)),0|(b=0|n[o>>2])&&(u=255&(0|yb[127&n[36+(0|n[b>>2])>>2]](b)),A[l>>0]=u,!((0|(b=0|n[(u=s)+4>>2]))>0|0==(0|b)&(0|n[u>>2])>>>0>0))&&(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,l,l+1|0)),u=0|n[e+32>>2],b=0|A[u+24>>0],_=0|G(0|n[u+80>>2],b),h=(0|n[n[u>>2]>>2])+(0|n[u+48>>2])|0,n[l>>2]=0,n[(u=l+4|0)>>2]=0,n[l+8>>2]=0,p=0==(0|_);do{if(p)Z=0;else{if(!(_>>>0>1073741823)){v=0|Uo(w=_<<2),n[l>>2]=v,m=v+(_<<2)|0,n[l+8>>2]=m,IA(0|v,0,0|w),n[u>>2]=m,Z=v;break}On()}}while(0);v=0|n[o>>2];do{if(v){if(Rb[31&n[44+(0|n[v>>2])>>2]](v,h,Z,_,b,0|n[r>>2]),!(m=0|n[o>>2])){R=h,B=0|n[l>>2],k=20;break}0|yb[127&n[32+(0|n[m>>2])>>2]](m)||(m=0|n[l>>2],R=0|n[o>>2]?m:h,B=m,k=20)}else R=h,B=Z,k=20}while(0);20==(0|k)&&function(e,r,i){e|=0,i|=0;var f=0,A=0;if((0|(r|=0))>0){f=0;do{A=0|n[e+(f<<2)>>2],n[i+(f<<2)>>2]=A<<1^A>>31,f=f+1|0}while((0|f)!=(0|r))}}(R,_,B),e=0|n[(B=e+4|0)>>2];do{if(e){R=0|n[e+48>>2],n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,Z=0|Uo(48),n[t>>2]=Z,n[t+8>>2]=-2147483600,n[t+4>>2]=34,v=9835,m=(h=Z)+34|0;do{A[h>>0]=0|A[v>>0],h=h+1|0,v=v+1|0}while((0|h)<(0|m));if(A[Z+34>>0]=0,v=0|ia(R,t,1),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),v)k=27;else{if(p)E=1;else{v=0|n[l>>2],h=0,m=0;do{m=n[v+(h<<2)>>2]|m,h=h+1|0}while((0|h)!=(0|_));E=m?1+((0|U(0|m))>>>3^3)|0:1}if(A[c>>0]=0,v=0|n[(h=s)>>2],(0|(R=0|n[h+4>>2]))>0|0==(0|R)&v>>>0>0?(W=R,V=v):(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,c,c+1|0),W=0|n[(v=s)+4>>2],V=0|n[v>>2]),A[c>>0]=E,(0|W)>0|0==(0|W)&V>>>0>0||(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,c,c+1|0)),(0|E)==(0|to(5))){v=0|n[l>>2],(0|(h=0|n[(R=s)+4>>2]))>0|0==(0|h)&(0|n[R>>2])>>>0>0||(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,v,v+(_<<2)|0)),k=48;break}if(p)k=48;else{v=i+4|0,R=0;do{h=(0|n[l>>2])+(R<<2)|0,(0|(w=0|n[(Z=s)+4>>2]))>0|0==(0|w)&(0|n[Z>>2])>>>0>0||(n[a>>2]=n[v>>2],n[t>>2]=n[a>>2],hr(i,t,h,h+E|0)),R=R+1|0}while(R>>>0<_>>>0);k=48}}}else k=27}while(0);27==(0|k)&&(A[c>>0]=1,(0|(s=0|n[(_=s)+4>>2]))>0|0==(0|s)&(0|n[_>>2])>>>0>0||(n[a>>2]=n[i+4>>2],n[t>>2]=n[a>>2],hr(i,t,c,c+1|0)),Vn(t),0|(c=0|n[B>>2])&&function(e,r){e|=0;var i,f,t,a,o=0,b=0;if(i=y,y=y+16|0,f=i,(r|=0)>>>0>10)return y=i,0;t=0|Uo(48),n[f>>2]=t,n[f+8>>2]=-2147483600,n[f+4>>2]=33,b=13067,a=(o=t)+33|0;do{A[o>>0]=0|A[b>>0],o=o+1|0,b=b+1|0}while((0|o)<(0|a));A[t+33>>0]=0,ra(e,f,r),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),y=i}(t,10-(0|Xf(0|n[c+48>>2]))|0),c=0|fe(0|n[l>>2],0|G((0|n[r+4>>2])-(0|n[r>>2])>>2,b),b,t,i),zA(t,0|n[t+4>>2]),c?k=48:N=0),48==(0|k)&&((k=0|n[o>>2])?(mb[127&n[40+(0|n[k>>2])>>2]](k,i),N=1):N=1),0|(i=0|n[l>>2])&&((0|(l=0|n[u>>2]))!=(0|i)&&(n[u>>2]=l+(~((l+-4-i|0)>>>2)<<2)),_b(i)),d=N}return y=f,0|d},function(e,r,i){r|=0,i|=0;var f,t,a,o,b,l,c,u=0,s=0,k=0,d=0,_=0,h=0;if(f=y,y=y+16|0,t=f+4|0,a=f,o=0|n[8+(e|=0)>>2],l=0|A[(b=o+24|0)>>0],function(e,r,i,f){e|=0,r|=0,i|=0,f|=0;var t,a=0,o=0,b=0;if(t=y,y=y+80|0,o=t+64|0,qa(a=t),St(a,0|n[56+(0|n[e+8>>2])>>2],0,255&i,5,0,b=0|G(0|to(5),i),((0|b)<0)<<31>>31,0,0),Ja(b=0|Uo(96),a),JA(b,r),n[o>>2]=b,NA(e,o),b=0|n[o>>2],n[o>>2]=0,0|b&&(r=0|n[(o=b+88|0)>>2],n[o>>2]=0,0|r&&(0|(o=0|n[r+8>>2])&&((0|n[(a=r+12|0)>>2])!=(0|o)&&(n[a>>2]=o),_b(o)),_b(r)),0|(r=0|n[b+68>>2])&&((0|(a=0|n[(o=b+72|0)>>2]))!=(0|r)&&(n[o>>2]=a+(~((a+-4-r|0)>>>2)<<2)),_b(r)),a=0|n[(r=b+64|0)>>2],n[r>>2]=0,0|a&&(0|(r=0|n[a>>2])&&((0|n[(o=a+4|0)>>2])!=(0|r)&&(n[o>>2]=r),_b(r)),_b(a)),_b(b)),f){if(b=0|n[e+32>>2],A[b+84>>0]=0,e=b+68|0,i=b=0|n[(a=b+72|0)>>2],(o=b-(r=0|n[e>>2])>>2)>>>0<f>>>0)return cf(e,f-o|0,1516),void(y=t);o>>>0<=f>>>0?y=t:(0|(o=r+(f<<2)|0))!=(0|i)?(n[a>>2]=i+(~((i+-4-o|0)>>>2)<<2),y=t):y=t}else y=t}(e,(0|n[(u=r+4|0)>>2])-(0|n[r>>2])>>2,l,i),i=0|n[e+32>>2],e=(0|n[n[i>>2]>>2])+(0|n[i+48>>2])|0,(0|(i=0|n[r>>2]))==(0|(r=0|n[u>>2])))return y=f,1;for(u=o+84|0,c=o+68|0,k=0,d=i;;){if(i=0|n[d>>2],_=0|A[u>>0]?i:0|n[(0|n[c>>2])+(i<<2)>>2],n[a>>2]=_,i=0|A[b>>0],n[t>>2]=n[a>>2],!(0|wt(o,t,i,e+(k<<2)|0))){s=0,h=7;break}if((0|(d=d+4|0))==(0|r)){s=1,h=7;break}k=k+l|0}return 7==(0|h)?(y=f,0|s):0},function(e,r,i){var f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0;if(f=y,y=y+16|0,t=f,!(0|lf(e|=0,r|=0,i|=0)))return y=f,0;if(3!=(0|A[24+(0|n[e+8>>2])>>0]))return y=f,0;a=0|n[r+48>>2],r=0|Uo(32),n[t>>2]=r,n[t+8>>2]=-2147483616,n[t+4>>2]=17,b=12932,l=(o=r)+17|0;do{A[o>>0]=0|A[b>>0],o=o+1|0,b=b+1|0}while((0|o)<(0|l));if(A[r+17>>0]=0,b=0|n[(r=a+16|0)>>2]){o=r,l=b;e:for(;;){for(b=l;!((0|n[b+16>>2])>=(0|i));){if(!(c=0|n[b+4>>2])){u=o;break e}b=c}if(!(l=0|n[b>>2])){u=b;break}o=b}(0|u)!=(0|r)&&(0|n[u+16>>2])<=(0|i)&&0!=(0|hf(i=u+20|0,t))?s=0|ya(i,t,-1):k=12}else k=12;return 12==(0|k)&&(s=0|ya(a,t,-1)),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),(0|s)<1?(y=f,0):(En(e+40|0,s),y=f,1)},function(e,r,i){r|=0,i|=0;var f,A=0;return f=y,y=y+16|0,cr(A=f,40+(e|=0)|0,0|n[e+8>>2],r,i),NA(e,A),e=0|n[A>>2],n[A>>2]=0,e?(i=0|n[(A=e+88|0)>>2],n[A>>2]=0,0|i&&(0|(A=0|n[i+8>>2])&&((0|n[(r=i+12|0)>>2])!=(0|A)&&(n[r>>2]=A),_b(A)),_b(i)),0|(i=0|n[e+68>>2])&&((0|(r=0|n[(A=e+72|0)>>2]))!=(0|i)&&(n[A>>2]=r+(~((r+-4-i|0)>>>2)<<2)),_b(i)),r=0|n[(i=e+64|0)>>2],n[i>>2]=0,0|r&&(0|(i=0|n[r>>2])&&((0|n[(A=r+4|0)>>2])!=(0|i)&&(n[A>>2]=i),_b(i)),_b(r)),_b(e),y=f,1):(y=f,1)},function(e,r,i){var f,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,Y=q,M=0,T=0,I=0,j=0,C=q;if(f=y,y=y+48|0,t=f+36|0,a=f+24|0,o=f+12|0,b=f,!(0|lf(e|=0,r|=0,i|=0)))return y=f,0;if(l=0|n[(0|n[8+(0|n[r+4>>2])>>2])+(i<<2)>>2],9!=(0|n[l+28>>2]))return y=f,0;r=0|n[(c=r+48|0)>>2],u=0|Uo(32),n[t>>2]=u,n[t+8>>2]=-2147483616,n[t+4>>2]=17,k=12932,_=(s=u)+17|0;do{A[s>>0]=0|A[k>>0],s=s+1|0,k=k+1|0}while((0|s)<(0|_));if(A[u+17>>0]=0,h=0|n[(u=r+16|0)>>2]){p=u,w=h;e:for(;;){for(h=w;!((0|n[h+16>>2])>=(0|i));){if(!(v=0|n[h+4>>2])){m=p;break e}h=v}if(!(w=0|n[h>>2])){m=h;break}p=h}(0|m)!=(0|u)&&(0|n[m+16>>2])<=(0|i)&&0!=(0|hf(u=m+20|0,t))?Z=0|ya(u,t,-1):R=12}else R=12;if(12==(0|R)&&(Z=0|ya(r,t,-1)),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),(0|Z)<1)return y=f,0;r=0|n[c>>2],u=0|Uo(32),n[t>>2]=u,n[t+8>>2]=-2147483616,n[t+4>>2]=19,k=13005,_=(s=u)+19|0;do{A[s>>0]=0|A[k>>0],s=s+1|0,k=k+1|0}while((0|s)<(0|_));if(A[u+19>>0]=0,m=0|n[(u=r+16|0)>>2]){p=u,w=m;e:for(;;){for(m=w;!((0|n[m+16>>2])>=(0|i));){if(!(v=0|n[m+4>>2])){B=p;break e}m=v}if(!(w=0|n[m>>2])){B=m;break}p=m}(0|B)!=(0|u)&&(0|n[B+16>>2])<=(0|i)?E=B+20|0:R=24}else R=24;if(24==(0|R)&&(E=r),0|hf(E,t)){E=0|n[c>>2],n[a>>2]=0,n[a+4>>2]=0,n[a+8>>2]=0,r=0|Uo(32),n[a>>2]=r,n[a+8>>2]=-2147483616,n[a+4>>2]=18,k=13025,_=(s=r)+18|0;do{A[s>>0]=0|A[k>>0],s=s+1|0,k=k+1|0}while((0|s)<(0|_));if(A[r+18>>0]=0,B=0|n[(r=E+16|0)>>2]){u=r,p=B;e:for(;;){for(B=p;!((0|n[B+16>>2])>=(0|i));){if(!(w=0|n[B+4>>2])){V=u;break e}B=w}if(!(p=0|n[B>>2])){V=B;break}u=B}(0|V)!=(0|r)&&(0|n[V+16>>2])<=(0|i)?N=V+20|0:R=34}else R=34;34==(0|R)&&(N=E),E=0!=(0|hf(N,a)),(0|A[a+11>>0])<0&&_b(0|n[a>>2]),W=E}else W=0;if((0|A[t+11>>0])<0&&_b(0|n[t>>2]),!W)return $e(e+40|0,l,Z),y=f,1;E=(l=0|A[(W=l+24|0)>>0])<<24>>24,n[o>>2]=0,n[(N=o+4|0)>>2]=0,n[o+8>>2]=0;do{if(l<<24>>24){if(!(l<<24>>24<0)){r=0|Uo(V=E<<2),n[o>>2]=r,u=r+(E<<2)|0,n[o+8>>2]=u,IA(0|r,0,0|V),n[N>>2]=u,G=r;break}On()}else G=0}while(0);E=0|n[c>>2],n[b>>2]=0,n[b+4>>2]=0,n[b+8>>2]=0,l=0|Uo(32),n[b>>2]=l,n[b+8>>2]=-2147483616,n[b+4>>2]=19,k=13005,_=(s=l)+19|0;do{A[s>>0]=0|A[k>>0],s=s+1|0,k=k+1|0}while((0|s)<(0|_));if(A[l+19>>0]=0,r=(l=0|A[W>>0])<<24>>24,V=0|n[(u=E+16|0)>>2]){p=u,m=V;e:for(;;){for(V=m;!((0|n[V+16>>2])>=(0|i));){if(!(w=0|n[V+4>>2])){F=p;break e}V=w}if(!(m=0|n[V>>2])){F=V;break}p=V}if((0|F)!=(0|u)&&(0|n[F+16>>2])<=(0|i)&&0!=(0|hf(u=F+20|0,b))){if((0|(p=0|Qi(u,b)))!=(F+24|0)){if(YA(t,p+28|0),0|((u=(F=0|A[(p=t+11|0)>>0])<<24>>24<0)?0|n[t+4>>2]:255&F)){if(l<<24>>24>0){m=u?0|n[t>>2]:t,u=0;do{if(Y=g(Hn(m,a)),(0|(B=m))==(0|(m=0|n[a>>2])))break;d[G+(u<<2)>>2]=Y,u=u+1|0}while((0|u)<(0|r));M=0|A[p>>0]}else M=F;U=M}else U=F;U<<24>>24<0&&_b(0|n[t>>2])}}else R=64}else R=64;if(64==(0|R)&&(0|(U=0|Qi(E,b)))!=(E+4|0)){if(YA(t,U+28|0),0|((M=(E=0|A[(U=t+11|0)>>0])<<24>>24<0)?0|n[t+4>>2]:255&E)){if(l<<24>>24>0){l=M?0|n[t>>2]:t,M=0;do{if(Y=g(Hn(l,a)),(0|(F=l))==(0|(l=0|n[a>>2])))break;d[G+(M<<2)>>2]=Y,M=M+1|0}while((0|M)<(0|r));I=0|A[U>>0]}else I=E;T=I}else T=E;T<<24>>24<0&&_b(0|n[t>>2])}(0|A[b+11>>0])<0&&_b(0|n[b>>2]),b=0|n[c>>2],n[t>>2]=0,n[t+4>>2]=0,n[t+8>>2]=0,c=0|Uo(32),n[t>>2]=c,n[t+8>>2]=-2147483616,n[t+4>>2]=18,k=13025,_=(s=c)+18|0;do{A[s>>0]=0|A[k>>0],s=s+1|0,k=k+1|0}while((0|s)<(0|_));if(A[c+18>>0]=0,k=0|n[(c=b+16|0)>>2]){s=c,_=k;e:for(;;){for(k=_;!((0|n[k+16>>2])>=(0|i));){if(!(T=0|n[k+4>>2])){j=s;break e}k=T}if(!(_=0|n[k>>2])){j=k;break}s=k}(0|j)!=(0|c)&&(0|n[j+16>>2])<=(0|i)&&0!=(0|hf(i=j+20|0,t))?C=g(ka(i,t,g(1))):R=86}else R=86;return 86==(0|R)&&(C=g(ka(b,t,g(1)))),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),Pa(e+40|0,Z,0|n[o>>2],0|A[W>>0],C),0|(W=0|n[o>>2])&&((0|(o=0|n[N>>2]))!=(0|W)&&(n[N>>2]=o+(~((o+-4-W|0)>>>2)<<2)),_b(W)),y=f,1},function(e,r,i){r|=0,i|=0;var f,A=0;return f=y,y=y+16|0,wr(A=f,40+(e|=0)|0,0|n[e+8>>2],r,i),NA(e,A),e=0|n[A>>2],n[A>>2]=0,e?(i=0|n[(A=e+88|0)>>2],n[A>>2]=0,0|i&&(0|(A=0|n[i+8>>2])&&((0|n[(r=i+12|0)>>2])!=(0|A)&&(n[r>>2]=A),_b(A)),_b(i)),0|(i=0|n[e+68>>2])&&((0|(r=0|n[(A=e+72|0)>>2]))!=(0|i)&&(n[A>>2]=r+(~((r+-4-i|0)>>>2)<<2)),_b(i)),r=0|n[(i=e+64|0)>>2],n[i>>2]=0,0|r&&(0|(i=0|n[r>>2])&&((0|n[(A=r+4|0)>>2])!=(0|i)&&(n[A>>2]=i),_b(i)),_b(r)),_b(e),y=f,1):(y=f,1)},function(e,r,i){r|=0,i|=0;var f,A,t,a,o,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0;f=y,y=y+48|0,A=f+16|0,b=f,t=f+32|0,l=0|n[(a=28+(e|=0)|0)>>2],n[t>>2]=l,c=(0|n[(o=e+20|0)>>2])-l|0,n[t+4>>2]=c,n[t+8>>2]=r,n[t+12>>2]=i,r=c+i|0,c=e+60|0,n[b>>2]=n[c>>2],n[b+4>>2]=t,n[b+8>>2]=2,l=0|fn(0|z(146,0|b));e:do{if((0|r)!=(0|l)){for(b=2,u=r,s=t,k=l;!((0|k)<0);){if(u=u-k|0,p=b+((_=k>>>0>(d=0|n[s+4>>2])>>>0)<<31>>31)|0,w=k-(_?d:0)|0,n[(h=_?s+8|0:s)>>2]=(0|n[h>>2])+w,n[(d=h+4|0)>>2]=(0|n[d>>2])-w,n[A>>2]=n[c>>2],n[A+4>>2]=h,n[A+8>>2]=p,(0|u)==(0|(k=0|fn(0|z(146,0|A))))){v=3;break e}b=p,s=h}n[e+16>>2]=0,n[a>>2]=0,n[o>>2]=0,n[e>>2]=32|n[e>>2],m=2==(0|b)?0:i-(0|n[s+4>>2])|0}else v=3}while(0);return 3==(0|v)&&(v=0|n[e+44>>2],n[e+16>>2]=v+(0|n[e+48>>2]),e=v,n[a>>2]=e,n[o>>2]=e,m=i),y=f,0|m},function(e,r,i){e|=0,r|=0,i|=0;var f,A,t,a=0;return f=y,y=y+32|0,t=f+20|0,n[(A=f)>>2]=n[e+60>>2],n[A+4>>2]=0,n[A+8>>2]=r,n[A+12>>2]=t,n[A+16>>2]=i,(0|fn(0|J(140,0|A)))<0?(n[t>>2]=-1,a=-1):a=0|n[t>>2],y=f,0|a},function(e,r,i){var f,A,t;return r|=0,i|=0,qi(0|(A=0|n[(f=20+(e|=0)|0)>>2]),0|r,0|(e=(t=(0|n[e+16>>2])-A|0)>>>0>i>>>0?i:t)),n[f>>2]=(0|n[f>>2])+e,0|i},function(e,r,i){i|=0;var f,A,t=0,a=0,o=0,b=0;if(f=y,y=y+64|0,A=f,0|Zn(e|=0,r|=0))b=1;else if(0!=(0|r)&&0!=(0|(t=0|sf(r,1024,1008,0)))){a=52+(r=A+4|0)|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|a));n[A>>2]=t,n[A+8>>2]=e,n[A+12>>2]=-1,n[A+48>>2]=1,Nb[7&n[28+(0|n[t>>2])>>2]](t,A,0|n[i>>2],1),1==(0|n[A+24>>2])?(n[i>>2]=n[A+16>>2],o=1):o=0,b=o}else b=0;return y=f,0|b},qn,qn,qn,qn,qn,qn,qn,qn,qn,qn,qn,qn,qn],Rb=[mn,function(e,r,i,f,A,t){i|=0,t|=0;var a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,y=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0;if(mf(t=8+(e|=0)|0,r|=0,f|=0,A|=0),(0|(a=f-A|0))>0)for(f=0-A|0,o=e+16|0,b=e+32|0,l=e+12|0,c=e+28|0,u=e+20|0,s=e+24|0,k=a,a=0|n[t>>2];;){if(d=r+(k<<2)|0,_=i+(k<<2)|0,(0|a)>0)for(h=0,p=d+(f<<2)|0,w=a;;){if((0|w)>0){v=0;do{(0|(y=0|n[p+(v<<2)>>2]))>(0|(m=0|n[o>>2]))?(Z=0|n[b>>2],n[Z+(v<<2)>>2]=m,R=Z):(Z=0|n[l>>2],m=0|n[b>>2],n[m+(v<<2)>>2]=(0|y)<(0|Z)?Z:y,R=m),v=v+1|0}while((0|v)<(0|n[t>>2]));B=R}else B=0|n[b>>2];if(v=(0|n[d+(h<<2)>>2])-(0|n[B+(h<<2)>>2])|0,n[(m=_+(h<<2)|0)>>2]=v,(0|v)>=(0|n[c>>2])?(0|v)>(0|n[s>>2])&&(E=v-(0|n[u>>2])|0,W=31):(E=(0|n[u>>2])+v|0,W=31),31==(0|W)&&(W=0,n[m>>2]=E),(0|(h=h+1|0))>=(0|(m=0|n[t>>2]))){V=m;break}p=B,w=m}else V=a;if((0|(k=k-A|0))<=0){N=V;break}a=V}else N=0|n[t>>2];if(IA(0|(A=0|kb(V=A>>>0>1073741823?-1:A<<2)),0,0|V),(0|N)<=0)return db(A),1;for(V=e+16|0,a=e+32|0,k=e+12|0,B=e+28|0,E=e+20|0,u=e+24|0,e=0,s=A,c=N;;){if((0|c)>0){N=0;do{(0|(b=0|n[s+(N<<2)>>2]))>(0|(R=0|n[V>>2]))?(l=0|n[a>>2],n[l+(N<<2)>>2]=R,G=l):(l=0|n[k>>2],R=0|n[a>>2],n[R+(N<<2)>>2]=(0|b)<(0|l)?l:b,G=R),N=N+1|0}while((0|N)<(0|n[t>>2]));F=G}else F=0|n[a>>2];if(N=(0|n[r+(e<<2)>>2])-(0|n[F+(e<<2)>>2])|0,n[(R=i+(e<<2)|0)>>2]=N,(0|N)>=(0|n[B>>2])?(0|N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!=(0|A))}if(N=r+(B<<2)|0,W=i+(B<<2)|0,(0|(V=0|n[t>>2]))>0)for(F=0,R=a,E=V;;){if((0|E)>0){V=0;do{(0|(Y=0|n[R+(V<<2)>>2]))>(0|(M=0|n[s>>2]))?(T=0|n[k>>2],n[T+(V<<2)>>2]=M,I=T):(T=0|n[d>>2],M=0|n[k>>2],n[M+(V<<2)>>2]=(0|Y)<(0|T)?T:Y,I=M),V=V+1|0}while((0|V)<(0|n[t>>2]));j=I}else j=0|n[k>>2];if(V=(0|n[N+(F<<2)>>2])-(0|n[j+(F<<2)>>2])|0,n[(M=W+(F<<2)|0)>>2]=V,(0|V)>=(0|n[_>>2])?(0|V)>(0|n[p>>2])&&(C=V-(0|n[h>>2])|0,Q=42):(C=(0|n[h>>2])+V|0,Q=42),42==(0|Q)&&(Q=0,n[M>>2]=C),(0|(F=F+1|0))>=(0|(E=0|n[t>>2])))break;R=j}}else Q=16;else Q=16;if(16==(0|Q)&&(Q=0,R=r+(B<<2)|0,E=i+(B<<2)|0,(0|(F=0|n[t>>2]))>0))for(W=0,N=r+((0|G(Z+-2|0,A))<<2)|0,M=F;;){if((0|M)>0){F=0;do{(0|(V=0|n[N+(F<<2)>>2]))>(0|(Y=0|n[s>>2]))?(T=0|n[k>>2],n[T+(F<<2)>>2]=Y,X=T):(T=0|n[d>>2],Y=0|n[k>>2],n[Y+(F<<2)>>2]=(0|V)<(0|T)?T:V,X=Y),F=F+1|0}while((0|F)<(0|n[t>>2]));J=X}else J=0|n[k>>2];if(F=(0|n[R+(W<<2)>>2])-(0|n[J+(W<<2)>>2])|0,n[(Y=E+(W<<2)|0)>>2]=F,(0|F)>=(0|n[_>>2])?(0|F)>(0|n[p>>2])&&(z=F-(0|n[h>>2])|0,Q=29):(z=(0|n[h>>2])+F|0,Q=29),29==(0|Q)&&(Q=0,n[Y>>2]=z),(0|(W=W+1|0))>=(0|(M=0|n[t>>2])))break;N=J}if((0|Z)<=2)break e}On()}}while(0);if((0|A)>0&&IA(0|a,0,A<<2|0),(0|(A=0|n[t>>2]))<=0)return db(a),1;for(l=e+16|0,J=e+32|0,z=e+12|0,X=e+28|0,j=e+20|0,C=e+24|0,e=0,I=a,g=A;;){if((0|g)>0){A=0;do{(0|(U=0|n[I+(A<<2)>>2]))>(0|(f=0|n[l>>2]))?(c=0|n[J>>2],n[c+(A<<2)>>2]=f,O=c):(c=0|n[z>>2],f=0|n[J>>2],n[f+(A<<2)>>2]=(0|U)<(0|c)?c:U,O=f),A=A+1|0}while((0|A)<(0|n[t>>2]));S=O}else S=0|n[J>>2];if(A=(0|n[r+(e<<2)>>2])-(0|n[S+(e<<2)>>2])|0,n[(f=i+(e<<2)|0)>>2]=A,(0|A)>=(0|n[X>>2])?(0|A)>(0|n[C>>2])&&(H=A-(0|n[j>>2])|0,Q=56):(H=(0|n[j>>2])+A|0,Q=56),56==(0|Q)&&(Q=0,n[f>>2]=H),(0|(e=e+1|0))>=(0|(g=0|n[t>>2])))break;I=S}return db(a),1},function(e,r,i,f,A,t){r|=0,i|=0,f|=0,A|=0,t|=0;var a,o,b,l,c,u,s,k,d,_,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,F=0,U=0,g=0;if(a=y,y=y+16|0,o=a+4|0,b=a,l=60+(e|=0)|0,n[e+64>>2]=t,mf(t=e+8|0,r,f,A),h=0|n[(f=e+56|0)>>2],(0|(v=(p=0|n[h+4>>2])-(w=0|n[h>>2])|0))<=0)return y=a,1;for(m=(v>>>2)-1|0,v=e+68|0,c=e+16|0,u=e+32|0,s=e+12|0,k=e+28|0,d=e+20|0,_=e+24|0,p-w>>2>>>0>m>>>0?(Z=m,R=w):On(h);;){if(n[b>>2]=n[R+(Z<<2)>>2],n[o>>2]=n[b>>2],LA(l,o,r,Z),w=r+((h=0|G(Z,A))<<2)|0,m=i+(h<<2)|0,(0|(h=0|n[t>>2]))>0)for(p=0,e=v,B=h;;){if((0|B)>0){h=0;do{(0|(E=0|n[e+(h<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|n[cr>>2])+(0|n[br+(lr<<2)>>2]),lr=lr+1|0}while((0|lr)!=(0|t));ur=255&(1<<or|255&nr)}if((0|(or=or+1|0))==(0|ge)){sr=ur;break}nr=ur}else for(nr=0,or=0;;){if(kr=0|A[c+nr>>0]?or:255&(1<<nr|255&or),(0|(nr=nr+1|0))==(0|ge)){sr=kr;break}or=kr}or=0|n[U>>2];do{if(D){if(n[or>>2]=(0|n[or>>2])/(0|tr)|0,se)dr=0|n[K>>2];else{nr=1;do{n[(ar=or+(nr<<2)|0)>>2]=(0|n[ar>>2])/(0|tr)|0,nr=nr+1|0}while((0|nr)!=(0|t));if(nr=0|n[K>>2],!D){_r=0,hr=nr;break}dr=nr}for(nr=0,ar=0;;){if(br=((0|(lr=(0|n[or+(nr<<2)>>2])-(0|n[We+(nr<<2)>>2])|0))>-1?lr:0-lr|0)+ar|0,n[Qe+(nr<<2)>>2]=lr,n[dr+(nr<<2)>>2]=lr<<1^lr>>31,(0|(nr=nr+1|0))==(0|t)){_r=br,hr=dr;break}ar=br}}else _r=0,hr=0|n[K>>2]}while(0);if($o(o,q,hr,t),or=0|Ga(o),ar=E,br=0|Ho(0|(nr=0|uo(o)),0|E,0|or,0|ar),ar=E,ke?(nr=0|Ho(0|n[(or=je)>>2],0|n[or+4>>2],0|tr,0),lr=0|n[(or=Fe)>>2],cr=0|n[or+4>>2],pr=cr=0|Ho(0|br,0|ar,~~(De=+N(+ +co(lr,nr)*(+(lr>>>0)+4294967296*+(0|cr))))>>>0|0,0|(+V(De)>=1?De>0?~~+F(+W(De/4294967296),4294967295)>>>0:~~+N((De-+(~~De>>>0))/4294967296)>>>0:0))):pr=br,(0|pr)>=(0|(br=0|n[d>>2]))&&!((0|pr)<=(0|br)&&(0|_r)<(0|n[x>>2]))||(n[(br=d)>>2]=pr,n[br+4>>2]=_r,A[P>>0]=sr,n[L>>2]=tr,n[p>>2]=n[U>>2],n[w>>2]=n[T>>2],n[b>>2]=n[p>>2],n[o>>2]=n[w>>2],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B=I}}else C=13;if(13==(0|C)&&(C=0,B=r+(E<<2)|0,V=i+(E<<2)|0,(0|(U=0|n[t>>2]))>0))for(W=0,F=r+((0|G(R+-2|0,A))<<2)|0,Y=U;;){if((0|Y)>0){U=0;do{(0|(N=0|n[F+(U<<2)>>2]))>(0|(g=0|n[s>>2]))?(M=0|n[k>>2],n[M+(U<<2)>>2]=g,Q=M):(M=0|n[d>>2],g=0|n[k>>2],n[g+(U<<2)>>2]=(0|N)<(0|M)?M:N,Q=g),U=U+1|0}while((0|U)<(0|n[t>>2]));X=Q}else X=0|n[k>>2];if(U=(0|n[B+(W<<2)>>2])-(0|n[X+(W<<2)>>2])|0,n[(g=V+(W<<2)|0)>>2]=U,(0|U)>=(0|n[_>>2])?(0|U)>(0|n[p>>2])&&(J=U-(0|n[h>>2])|0,C=26):(J=(0|n[h>>2])+U|0,C=26),26==(0|C)&&(C=0,n[g>>2]=J),(0|(W=W+1|0))>=(0|(Y=0|n[t>>2])))break;F=X}if((0|R)<=2)break e}On()}}while(0);if((0|A)>0&&IA(0|a,0,A<<2|0),(0|(A=0|n[t>>2]))<=0)return db(a),1;for(o=e+16|0,X=e+32|0,J=e+12|0,Q=e+28|0,I=e+20|0,j=e+24|0,e=0,T=a,f=A;;){if((0|f)>0){A=0;do{(0|(c=0|n[T+(A<<2)>>2]))>(0|(b=0|n[o>>2]))?(l=0|n[X>>2],n[l+(A<<2)>>2]=b,z=l):(l=0|n[J>>2],b=0|n[X>>2],n[b+(A<<2)>>2]=(0|c)<(0|l)?l:c,z=b),A=A+1|0}while((0|A)<(0|n[t>>2]));O=z}else O=0|n[X>>2];if(A=(0|n[r+(e<<2)>>2])-(0|n[O+(e<<2)>>2])|0,n[(b=i+(e<<2)|0)>>2]=A,(0|A)>=(0|n[Q>>2])?(0|A)>(0|n[j>>2])&&(S=A-(0|n[I>>2])|0,C=53):(S=(0|n[I>>2])+A|0,C=53),53==(0|C)&&(C=0,n[b>>2]=S),(0|(e=e+1|0))>=(0|(f=0|n[t>>2])))break;T=O}return db(a),1},function(e,r,i,f,A,t){r|=0,i|=0,f|=0,A|=0,t|=0;var a,o,b,l,c,u,s,k,d,_,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,F=0,U=0,g=0;if(a=y,y=y+16|0,o=a+4|0,b=a,l=60+(e|=0)|0,n[e+64>>2]=t,mf(t=e+8|0,r,f,A),h=0|n[(f=e+56|0)>>2],(0|(v=(p=0|n[h+4>>2])-(w=0|n[h>>2])|0))<=0)return y=a,1;for(m=(v>>>2)-1|0,v=e+68|0,c=e+16|0,u=e+32|0,s=e+12|0,k=e+28|0,d=e+20|0,_=e+24|0,p-w>>2>>>0>m>>>0?(Z=m,R=w):On(h);;){if(n[b>>2]=n[R+(Z<<2)>>2],n[o>>2]=n[b>>2],KA(l,o,r,Z),w=r+((h=0|G(Z,A))<<2)|0,m=i+(h<<2)|0,(0|(h=0|n[t>>2]))>0)for(p=0,e=v,B=h;;){if((0|B)>0){h=0;do{(0|(E=0|n[e+(h<<2)>>2]))>(0|(W=0|n[c>>2]))?(V=0|n[u>>2],n[V+(h<<2)>>2]=W,N=V):(V=0|n[s>>2],W=0|n[u>>2],n[W+(h<<2)>>2]=(0|E)<(0|V)?V:E,N=W),h=h+1|0}while((0|h)<(0|n[t>>2]));F=N}else F=0|n[u>>2];if(h=(0|n[w+(p<<2)>>2])-(0|n[F+(p<<2)>>2])|0,n[(W=m+(p<<2)|0)>>2]=h,(0|h)>=(0|n[k>>2])?(0|h)>(0|n[_>>2])&&(U=h-(0|n[d>>2])|0,g=18):(U=(0|n[d>>2])+h|0,g=18),18==(0|g)&&(g=0,n[W>>2]=U),(0|(p=p+1|0))>=(0|(B=0|n[t>>2])))break;e=F}if((0|(Z=Z+-1|0))<=-1){g=3;break}if(e=0|n[f>>2],R=0|n[e>>2],(0|n[e+4>>2])-R>>2>>>0<=Z>>>0){e,g=4;break}}return 3==(0|g)?(y=a,1):(4==(0|g)&&On(),0)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+(ge>>>0)+4294967296*+(0|Ye))))>>>0|0,0|(+V(De)>=1?De>0?~~+F(+W(De/4294967296),4294967295)>>>0:~~+N((De-+(~~De>>>0))/4294967296)>>>0:0))):xe=Ne,n[(Ne=d)>>2]=xe,n[Ne+4>>2]=He,A[L>>0]=0,n[K>>2]=0,ci(ee,Fe,Fe+(t<<2)|0),n[_>>2]=ve,n[h>>2]=ye,n[b>>2]=n[_>>2],n[o>>2]=n[h>>2],ri(re,b,o),(0|Te)<1)Pe=Be,Le=Re,Ke=Ze,qe=me,$e=ye,er=ve,rr=ve;else for(Ne=c+Te|0,ge=u+((Ve=Te+-1|0)<<3)|0,de=s+(Ve<<3)|0,Ve=Ye=0|n[k>>2],je=(0|(Me=Ne+-1|0))==(0|c),ze=ue>>>0<(Xe=Ne+-2|0)>>>0,Ce=Te+2+((0|(Ie=~Te))>-2?Ie:-2)|0,Ie=Je=0|n[C>>2],Qe=Me>>>0>c>>>0,ir=0,fr=1;;){ir=ir+1|0,IA(0|c,1,0|Ce),IA(0|c,0,0|ir);i:for(;;){if(x)for(IA(0|n[U>>2],0,0|se),Ar=0|n[U>>2],tr=0,ar=0;;){if(0|A[c+tr>>0])lr=ar;else{or=0|n[B+(12*tr|0)>>2],nr=0;do{n[(br=Ar+(nr<<2)|0)>>2]=(0|n[br>>2])+(0|n[or+(nr<<2)>>2]),nr=nr+1|0}while((0|nr)!=(0|t));lr=255&(1<<tr|255&ar)}if((0|(tr=tr+1|0))==(0|Te)){cr=lr;break}ar=lr}else for(ar=0,tr=0;;){if(ur=0|A[c+ar>>0]?tr:255&(1<<ar|255&tr),(0|(ar=ar+1|0))==(0|Te)){cr=ur;break}tr=ur}tr=0|n[U>>2];do{if(x){if(n[tr>>2]=(0|n[tr>>2])/(0|fr)|0,ke)sr=0|n[q>>2];else{ar=1;do{n[(Ar=tr+(ar<<2)|0)>>2]=(0|n[Ar>>2])/(0|fr)|0,ar=ar+1|0}while((0|ar)!=(0|t));if(ar=0|n[q>>2],!x){kr=0,dr=ar;break}sr=ar}for(ar=0,Ar=0;;){if(or=((0|(nr=(0|n[tr+(ar<<2)>>2])-(0|n[Ge+(ar<<2)>>2])|0))>-1?nr:0-nr|0)+Ar|0,n[Ye+(ar<<2)>>2]=nr,n[sr+(ar<<2)>>2]=nr<<1^nr>>31,(0|(ar=ar+1|0))==(0|t)){kr=or,dr=sr;break}Ar=or}}else kr=0,dr=0|n[q>>2]}while(0);if($o(o,$,dr,t),tr=0|Ga(o),Ar=E,or=0|Ho(0|(ar=0|uo(o)),0|E,0|tr,0|Ar),Ar=E,We?(ar=0|Ho(0|n[(tr=ge)>>2],0|n[tr+4>>2],0|fr,0),nr=0|n[(tr=de)>>2],br=0|n[tr+4>>2],_r=br=0|Ho(0|or,0|Ar,~~(De=+N(+ +co(nr,ar)*(+(nr>>>0)+4294967296*+(0|br))))>>>0|0,0|(+V(De)>=1?De>0?~~+F(+W(De/4294967296),4294967295)>>>0:~~+N((De-+(~~De>>>0))/4294967296)>>>0:0))):_r=or,(0|_r)>=(0|(or=0|n[d>>2]))&&!((0|_r)<=(0|or)&&(0|kr)<(0|n[P>>2]))||(n[(or=d)>>2]=_r,n[or+4>>2]=kr,A[L>>0]=cr,n[K>>2]=fr,n[p>>2]=n[U>>2],n[w>>2]=n[T>>2],n[b>>2]=n[p>>2],n[o>>2]=n[w>>2],ri(ee,b,o),n[v>>2]=Ve,n[m>>2]=Je,n[b>>2]=n[v>>2],n[o>>2]=n[m>>2],ri(re,b,o)),je)break;for(or=-1,br=hr=0|A[Me>>0];nr=br,!((255&(br=0|A[(pr=Ne+(Ar=or+-1|0)|0)>>0]))<(255&nr));){if((0|pr)==(0|c)){wr=86;break i}or=Ar}if(Ar=Ne+or|0,(255&br)<(255&hr))vr=Me,yr=hr;else for(nr=Ne,ar=Me;;){if(tr=ar+-1|0,(255&br)<(0|l[nr+-2>>0])){vr=tr,yr=1;break}mr=ar,ar=tr,nr=mr}if(A[pr>>0]=yr,A[vr>>0]=br,(0|or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<3)|0,Ze=Ie=0|n[k>>2],je=(0|(We=Ne+-1|0))==(0|c),Ye=be>>>0<(Fe=Ne+-2|0)>>>0,er=Ge+2+((0|(ge=~Ge))>-2?ge:-2)|0,ge=Te=0|n[C>>2],rr=We>>>0>c>>>0,ir=0,fr=1;;){ir=ir+1|0,IA(0|c,1,0|er),IA(0|c,0,0|ir);i:for(;;){if(D)for(IA(0|n[U>>2],0,0|le),Ar=0|n[U>>2],tr=0,ar=0;;){if(0|A[c+tr>>0])lr=ar;else{or=0|n[B+(12*tr|0)>>2],nr=0;do{n[(br=Ar+(nr<<2)|0)>>2]=(0|n[br>>2])+(0|n[or+(nr<<2)>>2]),nr=nr+1|0}while((0|nr)!=(0|t));lr=255&(1<<tr|255&ar)}if((0|(tr=tr+1|0))==(0|Ge)){cr=lr;break}ar=lr}else for(ar=0,tr=0;;){if(ur=0|A[c+ar>>0]?tr:255&(1<<ar|255&tr),(0|(ar=ar+1|0))==(0|Ge)){cr=ur;break}tr=ur}tr=0|n[U>>2];do{if(D){if(n[tr>>2]=(0|n[tr>>2])/(0|fr)|0,ce)sr=0|n[K>>2];else{ar=1;do{n[(Ar=tr+(ar<<2)|0)>>2]=(0|n[Ar>>2])/(0|fr)|0,ar=ar+1|0}while((0|ar)!=(0|t));if(ar=0|n[K>>2],!D){kr=0,dr=ar;break}sr=ar}for(ar=0,Ar=0;;){if(or=((0|(nr=(0|n[tr+(ar<<2)>>2])-(0|n[Re+(ar<<2)>>2])|0))>-1?nr:0-nr|0)+Ar|0,n[Ie+(ar<<2)>>2]=nr,n[sr+(ar<<2)>>2]=nr<<1^nr>>31,(0|(ar=ar+1|0))==(0|t)){kr=or,dr=sr;break}Ar=or}}else kr=0,dr=0|n[K>>2]}while(0);if($o(f,q,dr,t),tr=0|Ga(f),Ar=E,or=0|Ho(0|(ar=0|uo(f)),0|E,0|tr,0|Ar),Ar=E,ue?(ar=0|Ho(0|n[(tr=Me)>>2],0|n[tr+4>>2],0|fr,0),nr=0|n[(tr=Ve)>>2],br=0|n[tr+4>>2],_r=br=0|Ho(0|or,0|Ar,~~(Oe=+N(+ +co(nr,ar)*(+(nr>>>0)+4294967296*+(0|br))))>>>0|0,0|(+V(Oe)>=1?Oe>0?~~+F(+W(Oe/4294967296),4294967295)>>>0:~~+N((Oe-+(~~Oe>>>0))/4294967296)>>>0:0))):_r=or,(0|_r)>=(0|(or=0|n[d>>2]))&&!((0|_r)<=(0|or)&&(0|kr)<(0|n[x>>2]))||(n[(or=d)>>2]=_r,n[or+4>>2]=kr,A[P>>0]=cr,n[L>>2]=fr,n[p>>2]=n[U>>2],n[w>>2]=n[T>>2],n[o>>2]=n[p>>2],n[f>>2]=n[w>>2],ri($,o,f),n[v>>2]=Ze,n[m>>2]=Te,n[o>>2]=n[v>>2],n[f>>2]=n[m>>2],ri(ee,o,f)),je)break;for(or=-1,br=hr=0|A[We>>0];nr=br,!((255&(br=0|A[(pr=Ne+(Ar=or+-1|0)|0)>>0]))<(255&nr));){if((0|pr)==(0|c)){wr=86;break i}or=Ar}if(Ar=Ne+or|0,(255&br)<(255&hr))vr=We,yr=hr;else for(nr=Ne,ar=We;;){if(tr=ar+-1|0,(255&br)<(0|l[nr+-2>>0])){vr=tr,yr=1;break}mr=ar,ar=tr,nr=mr}if(A[pr>>0]=yr,A[vr>>0]=br,(0|or)<-1)for(Zr=Ar,Rr=We;;){if(nr=0|A[Zr>>0],A[Zr>>0]=0|A[Rr>>0],A[Rr>>0]=nr,!((nr=Zr+1|0)>>>0<(ar=Rr+-1|0)>>>0))continue i;Zr=nr,Rr=ar}}if(86==(0|wr)&&(wr=0,rr)&&(Ar=0|A[c>>0],A[c>>0]=hr,A[We>>0]=Ar,Ye)){Ar=Fe,or=be;do{br=0|A[or>>0],A[or>>0]=0|A[Ar>>0],A[Ar>>0]=br,or=or+1|0,Ar=Ar+-1|0}while(or>>>0<Ar>>>0)}if((0|fr)>=(0|Ge)){De=ge,xe=Ie,Pe=ge,Le=Ie,Ke=Te,qe=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|0)|0,X=j?Q:0-Q|0,J=g,z=I,O=C),n[J>>2]=X,C=0|n[b>>2];do{if((0|C)<=-1){if((0|z)<0?(H=(0|(I=0|n[g>>2]))>-1?I:0-I|0,D=I):(I=0|n[g>>2],H=(0|n[_>>2])-((0|I)>-1?I:0-I|0)|0,D=I),(0|D)<0){x=(0|z)>-1?z:0-z|0,P=H,L=D;break}x=(0|n[_>>2])-((0|z)>-1?z:0-z|0)|0,P=H,L=D;break}x=(I=0|n[g>>2])+O|0,P=O+z|0,L=I}while(0);I=0==(0|P),Q=0==(0|x),j=0|n[_>>2];do{if(x|P)if(I&(Y=(0|j)==(0|x)))K=x,q=x;else if(Q&(F=(0|j)==(0|P)))K=P,q=P;else{if(I&(0|O)<(0|x)){K=0,q=(O<<1)-x|0;break}if(F&(0|O)>(0|x)){K=P,q=(O<<1)-x|0;break}if(Y&(0|O)>(0|P)){K=(O<<1)-P|0,q=x;break}Q?(K=(0|O)<(0|P)?(O<<1)-P|0:P,q=0):(K=P,q=x)}else K=j,q=j}while(0);Q=0-z|0,I=0-L|0,n[b>>2]=0-C,n[U>>2]=Q,n[g>>2]=I,(0|C)<1?($=O-L|0,ee=O-z|0):(Y=(0|L)<1?I:L,I=(0|z)<1?Q:z,$=(0|L)>0?I:j-I|0,ee=(0|z)>0?Y:j-Y|0),Y=0==(0|ee),I=0==(0|$);do{if(0==($|ee|0)||Y&(Q=(0|j)==(0|$))||I&(F=(0|j)==(0|ee)))re=j,ie=j;else{if(Y&(0|O)<(0|$)){re=0,ie=(O<<1)-$|0;break}if(F&(0|O)>(0|$)){re=j,ie=(O<<1)-$|0;break}if(Q&(0|O)>(0|ee)){re=(O<<1)-ee|0,ie=j;break}I?(re=(0|O)<(0|ee)?(O<<1)-ee|0:ee,ie=0):(re=ee,ie=$)}}while(0);if(C=0|n[(Y=4+(I=r+((j=M<<1)<<2)|0)|0)>>2],n[a>>2]=n[I>>2],n[h>>2]=C,n[o>>2]=K,n[p>>2]=q,He(f,s,a,o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,sr=0|n[q>>2]}while(0);if($o(f,$,sr,t),fr=0|Ga(f),ir=E,tr=0|Ho(0|(Ar=0|uo(f)),0|E,0|fr,0|ir),ir=E,Re?(Ar=0|Ho(0|n[(fr=Ge)>>2],0|n[fr+4>>2],0|rr,0),ar=0|n[(fr=se)>>2],or=0|n[fr+4>>2],kr=or=0|Ho(0|tr,0|ir,~~(Oe=+N(+ +co(ar,Ar)*(+(ar>>>0)+4294967296*+(0|or))))>>>0|0,0|(+V(Oe)>=1?Oe>0?~~+F(+W(Oe/4294967296),4294967295)>>>0:~~+N((Oe-+(~~Oe>>>0))/4294967296)>>>0:0))):kr=tr,(0|kr)>=(0|(tr=0|n[d>>2]))&&!((0|kr)<=(0|tr)&&(0|ur)<(0|n[P>>2]))||(n[(tr=d)>>2]=kr,n[tr+4>>2]=ur,A[L>>0]=br,n[K>>2]=rr,n[p>>2]=n[U>>2],n[w>>2]=n[T>>2],n[o>>2]=n[p>>2],n[f>>2]=n[w>>2],ri(ee,o,f),n[v>>2]=Be,n[m>>2]=Ce,n[o>>2]=n[v>>2],n[f>>2]=n[m>>2],ri(re,o,f)),Me)break;for(tr=-1,or=dr=0|A[Ue>>0];ar=or,!((255&(or=0|A[(_r=Ee+(ir=tr+-1|0)|0)>>0]))<(255&ar));){if((0|_r)==(0|c)){hr=86;break i}tr=ir}if(ir=Ee+tr|0,(255&or)<(255&dr))pr=Ue,wr=dr;else for(ar=Ee,Ar=Ue;;){if(fr=Ar+-1|0,(255&or)<(0|l[ar+-2>>0])){pr=fr,wr=1;break}vr=Ar,Ar=fr,ar=vr}if(A[_r>>0]=wr,A[pr>>0]=or,(0|tr)<-1)for(yr=ir,mr=Ue;;){if(ar=0|A[yr>>0],A[yr>>0]=0|A[mr>>0],A[mr>>0]=ar,!((ar=yr+1|0)>>>0<(Ar=mr+-1|0)>>>0))continue i;yr=ar,mr=Ar}}if(86==(0|hr)&&(hr=0,Ie)&&(ir=0|A[c>>0],A[c>>0]=dr,A[Ue>>0]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)<0)<<31>>31|0),0|E,0|F,0|Q),n[b>>2]=Y,I=0|ma(0|To(0|C,0|S,0|I,((0|I)<0)<<31>>31|0),0|E,0|F,0|Q),n[U>>2]=I,Q=C-((0|Y)>-1?Y:0-Y|0)-((0|I)>-1?I:0-I|0)|0,X=j?Q:0-Q|0,J=g,z=I,O=C),n[J>>2]=X,C=0|n[b>>2];do{if((0|C)<=-1){if((0|z)<0?(H=(0|(I=0|n[g>>2]))>-1?I:0-I|0,D=I):(I=0|n[g>>2],H=(0|n[_>>2])-((0|I)>-1?I:0-I|0)|0,D=I),(0|D)<0){x=(0|z)>-1?z:0-z|0,P=H,L=D;break}x=(0|n[_>>2])-((0|z)>-1?z:0-z|0)|0,P=H,L=D;break}x=(I=0|n[g>>2])+O|0,P=O+z|0,L=I}while(0);I=0==(0|P),Q=0==(0|x),j=0|n[_>>2];do{if(x|P)if(I&(Y=(0|j)==(0|x)))K=x,q=x;else if(Q&(F=(0|j)==(0|P)))K=P,q=P;else{if(I&(0|O)<(0|x)){K=0,q=(O<<1)-x|0;break}if(F&(0|O)>(0|x)){K=P,q=(O<<1)-x|0;break}if(Y&(0|O)>(0|P)){K=(O<<1)-P|0,q=x;break}Q?(K=(0|O)<(0|P)?(O<<1)-P|0:P,q=0):(K=P,q=x)}else K=j,q=j}while(0);Q=0-z|0,I=0-L|0,n[b>>2]=0-C,n[U>>2]=Q,n[g>>2]=I,(0|C)<1?($=O-L|0,ee=O-z|0):(Y=(0|L)<1?I:L,I=(0|z)<1?Q:z,$=(0|L)>0?I:j-I|0,ee=(0|z)>0?Y:j-Y|0),Y=0==(0|ee),I=0==(0|$);do{if(0==($|ee|0)||Y&(Q=(0|j)==(0|$))||I&(F=(0|j)==(0|ee)))re=j,ie=j;else{if(Y&(0|O)<(0|$)){re=0,ie=(O<<1)-$|0;break}if(F&(0|O)>(0|$)){re=j,ie=(O<<1)-$|0;break}if(Q&(0|O)>(0|ee)){re=(O<<1)-ee|0,ie=j;break}I?(re=(0|O)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C()},function(){var e,r,i,f,A=0,t=0,a=0,o=0,b=0,l=0;A=y,y=y+48|0,e=A+32|0,r=A+24|0,i=A+16|0,f=A,t=A+36|0,0|(A=0|function(){var e,r=0;return e=y,y=y+16|0,0|L(18612,3)?(zo(17746,e),0):(r=0|x(0|n[4654]),y=e,0|r)}())&&0|(a=0|n[A>>2])&&(1126902528==(-256&(o=0|n[(A=a+48|0)>>2])|0)&1129074247==(0|(b=0|n[A+4>>2]))||(n[r>>2]=17607,zo(17557,r)),l=1126902529==(0|o)&1129074247==(0|b)?0|n[a+44>>2]:a+80|0,n[t>>2]=l,l=0|n[a>>2],a=0|n[l+4>>2],0|Zb[31&n[16+(0|n[250])>>2]](1e3,l,t)?(l=0|n[t>>2],t=0|yb[127&n[8+(0|n[l>>2])>>2]](l),n[f>>2]=17607,n[f+4>>2]=a,n[f+8>>2]=t,zo(17471,f)):(n[i>>2]=17607,n[i+4>>2]=a,zo(17516,i))),zo(17595,e)},function(){var e;e=y,y=y+16|0,0|P(18616,117)?zo(17795,e):y=e}],Eb=[vb,function(e){n[(e|=0)>>2]=1136,zA(e+28|0,0|n[e+32>>2]),XA(e+16|0,0|n[e+20>>2]),zA(e+4|0,0|n[e+8>>2])},fa,pb,db,function(e){var r,i;n[(e|=0)>>2]=1180,(r=0|n[e+8>>2])&&((0|(e=0|n[(i=e+12|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))},function(e){var r,i,f;n[(e|=0)>>2]=1180,(r=0|n[e+8>>2])?((0|(f=0|n[(i=e+12|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r),_b(e)):_b(e)},function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=1216,0|(r=0|n[e+16>>2])&&((0|(f=0|n[(i=e+20|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),(r=0|n[e+4>>2])&&((0|(e=0|n[(f=e+8|0)>>2]))!=(0|r)&&(n[f>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))},ub,Pf,function(e){Pf(e|=0),_b(e)},cA,function(e){cA(e|=0),_b(e)},vf,function(e){vf(e|=0),_b(e)},_o,so,function(e){var r,i;n[(e|=0)>>2]=1528,(r=0|n[e+32>>2])&&((0|(e=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))},ub,Ao,Ao,function(e){var r,i=0;n[(e|=0)>>2]=1696,0|(i=0|n[e+76>>2])&&_b(i),n[e>>2]=1528,(i=0|n[e+32>>2])&&((0|(e=0|n[(r=e+36|0)>>2]))!=(0|i)&&(n[r>>2]=e+(~((e+-4-i|0)>>>2)<<2)),_b(i))},function(e){var r,i,f=0;n[(e|=0)>>2]=1696,0|(f=0|n[e+76>>2])&&_b(f),n[e>>2]=1528,(f=0|n[e+32>>2])?((0|(i=0|n[(r=e+36|0)>>2]))!=(0|f)&&(n[r>>2]=i+(~((i+-4-f|0)>>>2)<<2)),_b(f),_b(e)):_b(e)},function(e){var r,i;n[(e|=0)>>2]=1752,OA(e+108|0),n[e>>2]=1528,(r=0|n[e+32>>2])&&((0|(e=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))},function(e){var r,i,f;n[(e|=0)>>2]=1752,OA(e+108|0),n[e>>2]=1528,(r=0|n[e+32>>2])?((0|(f=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r),_b(e)):_b(e)},pb,db,ub,wA,function(e){wA(e|=0),_b(e)},Ao,function(e){var r,i=0;n[(e|=0)>>2]=2004,0|(i=0|n[e+76>>2])&&_b(i),n[e>>2]=1528,(i=0|n[e+32>>2])&&((0|(e=0|n[(r=e+36|0)>>2]))!=(0|i)&&(n[r>>2]=e+(~((e+-4-i|0)>>>2)<<2)),_b(i))},function(e){var r,i,f=0;n[(e|=0)>>2]=2004,0|(f=0|n[e+76>>2])&&_b(f),n[e>>2]=1528,(f=0|n[e+32>>2])?((0|(i=0|n[(r=e+36|0)>>2]))!=(0|f)&&(n[r>>2]=i+(~((i+-4-f|0)>>>2)<<2)),_b(f),_b(e)):_b(e)},function(e){var r,i;n[(e|=0)>>2]=2060,OA(e+108|0),n[e>>2]=1528,(r=0|n[e+32>>2])&&((0|(e=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=e+(~((e+-4-r|0)>>>2)<<2)),_b(r))},function(e){var r,i,f;n[(e|=0)>>2]=2060,OA(e+108|0),n[e>>2]=1528,(r=0|n[e+32>>2])?((0|(f=0|n[(i=e+36|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r),_b(e)):_b(e)},pb,db,ub,hA,function(e){hA(e|=0),_b(e)},_o,so,pb,db,db,QA,function(e){QA(e|=0),_b(e)},function(e){var r;n[(e|=0)>>2]=2488,(r=0|n[e+56>>2])&&_b(r)},function(e){var r;n[(e|=0)>>2]=2488,(r=0|n[e+56>>2])?(_b(r),_b(e)):_b(e)},function(e){n[(e|=0)>>2]=2544,OA(e+88|0)},function(e){n[(e|=0)>>2]=2544,OA(e+88|0),_b(e)},pb,db,db,CA,function(e){CA(e|=0),_b(e)},function(e){var r;n[(e|=0)>>2]=2740,(r=0|n[e+56>>2])&&_b(r)},function(e){var r;n[(e|=0)>>2]=2740,(r=0|n[e+56>>2])?(_b(r),_b(e)):_b(e)},function(e){n[(e|=0)>>2]=2796,OA(e+88|0)},function(e){n[(e|=0)>>2]=2796,OA(e+88|0),_b(e)},pb,db,function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=2880,n[e+40>>2]=1180,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=1460,f=0|n[(r=e+36|0)>>2],n[r>>2]=0,f?(Eb[127&n[4+(0|n[f>>2])>>2]](f),cA(e)):cA(e)},function(e){var r=0,i=0,f=0;if(n[(e|=0)>>2]=2880,n[e+40>>2]=1180,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=1460,f=0|n[(r=e+36|0)>>2],n[r>>2]=0,!f)return cA(e),void _b(e);Eb[127&n[4+(0|n[f>>2])>>2]](f),cA(e),_b(e)},fa,function(e){n[(e|=0)>>2]=2968,zA(e+28|0,0|n[e+32>>2]),Lt(e+16|0,0|n[e+20>>2]),zA(e+4|0,0|n[e+8>>2])},oa,oa,function(e){var r,i;n[(e|=0)>>2]=3e3,i=0|n[(r=e+64|0)>>2],n[r>>2]=0,i?(Eb[127&n[4+(0|n[i>>2])>>2]](i),gA(e)):gA(e)},function(e){var r,i;n[(e|=0)>>2]=3e3,i=0|n[(r=e+64|0)>>2],n[r>>2]=0,0|i&&Eb[127&n[4+(0|n[i>>2])>>2]](i),gA(e),_b(e)},function(e){var r,i,f=0,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0;if(r=y,y=y+16|0,f=r+4|0,A=r,t=0|n[64+(e|=0)>>2])if(a=0|yb[127&n[32+(0|n[t>>2])>>2]](t)){if(t=a+24|0,i=((0|n[(o=a+28|0)>>2])-(0|n[t>>2])>>2)-(0|n[a+44>>2])|0,l=0|n[(b=e+56|0)>>2],((0|n[l+12>>2])-(0|n[l+8>>2])|0)>4){for(n[f>>2]=0,n[(c=f+4|0)>>2]=0,n[f+8>>2]=0,u=f+8|0,s=0,k=l;;){if(0|n[56+(0|n[(0|n[k+8>>2])+(s<<2)>>2])>>2]){l=0|mb[127&n[56+(0|n[e>>2])>>2]](e,s),n[A>>2]=l,_=l;do{if(0|l){if((0|(h=0|n[c>>2]))==(0|n[u>>2])){sA(f,A);break}n[h>>2]=_,n[c>>2]=4+(0|n[c>>2]);break}}while(0);d=0|n[b>>2]}else d=k;if((0|(s=s+1|0))>=((0|n[d+12>>2])-(0|n[d+8>>2])>>2|0))break;k=d}if(k=0|n[o>>2],t=o=0|n[t>>2],(0|k)==(0|o))p=i,w=0|n[f>>2];else for(s=k-o>>2,o=a+12|0,f=(0|(a=0|n[c>>2]))==(0|(k=0|n[f>>2])),b=k,A=a-k>>2,k=d+96|0,d=i,a=0;;){if(-1==(0|(u=0|n[t+(a<<2)>>2])))v=d;else{_=0|n[k>>2],l=0|n[_+(12*((0|u)/3|0)|0)+(((0|u)%3|0)<<2)>>2],h=(0==(0|(u>>>0)%3)?2:-1)+u|0;e:do{if(-1!=(0|h)&&(m=0|n[(0|n[o>>2])+(h<<2)>>2],-1!=(0|m))&&(Z=m+(0==(0|(m>>>0)%3)?2:-1)|0,-1!=(0|Z))){if(f)for(m=0,R=Z,B=l;;){if(E=B,W=m+((0|(B=0|n[_+(12*((0|R)/3|0)|0)+(((0|R)%3|0)<<2)>>2]))!=(0|E)&1)|0,(0|R)==(0|u)){V=W;break e}if(-1==(0|(E=(0==(0|(R>>>0)%3)?2:-1)+R|0))){V=W;break e}if(-1==(0|(N=0|n[(0|n[o>>2])+(E<<2)>>2]))){V=W;break e}if(-1==(0|(R=N+(0==(0|(N>>>0)%3)?2:-1)|0))){V=W;break e}m=W}else G=0,F=Z,U=u,g=l;for(;;){m=0|n[_+(12*((0|F)/3|0)|0)+(((0|F)%3|0)<<2)>>2];r:do{if((0|m)==(0|g))for(R=0;;){if(B=0|n[28+(0|n[b+(R<<2)>>2])>>2],R=R+1|0,(0|n[B+(F<<2)>>2])!=(0|n[B+(U<<2)>>2])){Y=g,M=28;break r}if(R>>>0>=A>>>0){T=g,I=G;break}}else Y=m,M=28}while(0);if(28==(0|M)&&(M=0,T=Y,I=G+1|0),(0|F)==(0|u)){V=I;break e}if(-1==(0|(m=(0==(0|(F>>>0)%3)?2:-1)+F|0))){V=I;break e}if(-1==(0|(R=0|n[(0|n[o>>2])+(m<<2)>>2]))){V=I;break e}if(-1==(0|(m=R+(0==(0|(R>>>0)%3)?2:-1)|0))){V=I;break}R=F,G=I,F=m,g=T,U=R}}else V=0}while(0);_=1+(u=0|n[t+(a<<2)>>2])|0,v=V+d+((0!=(0|V)&(1^(-1!=(0|u)&&-1!=(0|(l=0==(0|(_>>>0)%3)?u+-2|0:_))&&(l=1+(_=0|n[(0|n[o>>2])+(l<<2)>>2])|0,-1!=(0|_))?-1==(0|(0==(0|(l>>>0)%3)?_+-2|0:l)):1)))<<31>>31)|0}if((a=a+1|0)>>>0>=s>>>0){p=v,w=b;break}d=v}0|w&&((0|(v=0|n[c>>2]))!=(0|w)&&(n[c>>2]=v+(~((v+-4-w|0)>>>2)<<2)),_b(w)),j=p}else j=i;n[e+52>>2]=j,y=r}else y=r;else y=r},function(e){var r,i;(r=0|n[64+(e|=0)>>2])&&(i=0|yb[127&n[32+(0|n[r>>2])>>2]](r))&&(n[e+60>>2]=(((0|n[i+4>>2])-(0|n[i>>2])>>2>>>0)/3|0)-(0|n[i+40>>2]))},Ir,function(e){Ir(e|=0),_b(e)},function(e){var r,i=0,f=0,A=0;n[(e|=0)>>2]=3164,n[(i=e+8|0)>>2]=3188,0|(r=0|n[e+56>>2])&&((0|(A=0|n[(f=e+60|0)>>2]))!=(0|r)&&(n[f>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r)),n[i>>2]=3208,0|(i=0|n[e+44>>2])&&_b(i),(i=0|n[e+32>>2])&&_b(i)},function(e){var r,i=0,f=0,A=0;n[(e|=0)>>2]=3164,n[(i=e+8|0)>>2]=3188,0|(r=0|n[e+56>>2])&&((0|(A=0|n[(f=e+60|0)>>2]))!=(0|r)&&(n[f>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r)),n[i>>2]=3208,0|(i=0|n[e+44>>2])&&_b(i),(i=0|n[e+32>>2])?(_b(i),_b(e)):_b(e)},function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=3188,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=3208,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])&&_b(r)},function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=3188,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=3208,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])?(_b(r),_b(e)):_b(e)},function(e){var r=0;n[(e|=0)>>2]=3208,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])&&_b(r)},function(e){var r=0;n[(e|=0)>>2]=3208,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])?(_b(r),_b(e)):_b(e)},function(e){var r,i=0,f=0,A=0;n[(e|=0)>>2]=3232,n[(i=e+8|0)>>2]=3256,0|(r=0|n[e+56>>2])&&((0|(A=0|n[(f=e+60|0)>>2]))!=(0|r)&&(n[f>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r)),n[i>>2]=3276,0|(i=0|n[e+44>>2])&&_b(i),(i=0|n[e+32>>2])&&_b(i)},function(e){var r,i=0,f=0,A=0;n[(e|=0)>>2]=3232,n[(i=e+8|0)>>2]=3256,0|(r=0|n[e+56>>2])&&((0|(A=0|n[(f=e+60|0)>>2]))!=(0|r)&&(n[f>>2]=A+(~((A+-4-r|0)>>>2)<<2)),_b(r)),n[i>>2]=3276,0|(i=0|n[e+44>>2])&&_b(i),(i=0|n[e+32>>2])?(_b(i),_b(e)):_b(e)},function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=3256,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=3276,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])&&_b(r)},function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=3256,0|(r=0|n[e+48>>2])&&((0|(f=0|n[(i=e+52|0)>>2]))!=(0|r)&&(n[i>>2]=f+(~((f+-4-r|0)>>>2)<<2)),_b(r)),n[e>>2]=3276,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])?(_b(r),_b(e)):_b(e)},function(e){var r=0;n[(e|=0)>>2]=3276,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])&&_b(r)},function(e){var r=0;n[(e|=0)>>2]=3276,0|(r=0|n[e+36>>2])&&_b(r),(r=0|n[e+24>>2])?(_b(r),_b(e)):_b(e)},function(e){n[(e|=0)>>2]=3296,_A(e+8|0)},function(e){n[(e|=0)>>2]=3296,_A(e+8|0),_b(e)},_A,function(e){_A(e|=0),_b(e)},Yr,function(e){Yr(e|=0),_b(e)},gA,ub,Yn,function(e){n[52+(e|=0)>>2]=n[80+(0|n[e+56>>2])>>2]},function(e){var r;r=0|n[56+(e|=0)>>2],n[e+60>>2]=((0|n[r+100>>2])-(0|n[r+96>>2])|0)/12|0},pb,db,ub,Yn,kn,Yn,kn,function(e){var r=0,i=0,f=0;n[(e|=0)>>2]=5840,0|(r=0|n[e+96>>2])&&((0|(f=0|n[(i=e+100|0)>>2]))!=(0|r)&&(n[i>>2]=f+(12*~(((f+-12-r|0)>>>0)/12|0)|0)),_b(r)),(r=0|n[e+84>>2])?((0|(i=0|n[(f=e+88|0)>>2]))!=(0|r)&&(n[f>>2]=i+(~((i+-4-r|0)>>>2)<<2)),_b(r),Ii(e)):Ii(e)},function(e){var r=0,i=0,f=0;if(n[(e|=0)>>2]=5840,0|(r=0|n[e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V+68>>2])+(v<<2)>>2])+239^W,(0|(E=E+1|0))>=(0|Z)){G=V;break}W=V}else G=0;Z=0==(0|(W=0|n[_>>2]));e:do{if(Z)C=44;else if(F=(V=0==((E=W+-1|0)&W|0))?E&G:G>>>0<W>>>0?G:(G>>>0)%(W>>>0)|0,0!=(0|(U=0|n[(0|n[i>>2])+(F<<2)>>2]))&&0!=(0|(Y=0|n[U>>2]))){M=8+(U=0|n[p>>2])|0,T=U+12|0;r:do{if(V)for(U=Y;;){if(!((j=(0|(I=0|n[U+4>>2]))==(0|G))|(I&E|0)==(0|F))){C=44;break e}i:do{if(j){if(I=0|n[U+8>>2],J=Q=0|n[M>>2],(0|(X=(0|n[T>>2])-Q|0))<=0){z=U;break r}for(Q=X>>>2,X=0;;){if(O=0|n[J+(X<<2)>>2],0|A[O+84>>0]?(H=v,D=I):(S=0|n[O+68>>2],H=0|n[S+(v<<2)>>2],D=0|n[S+(I<<2)>>2]),X=X+1|0,(0|D)!=(0|H))break i;if((0|X)>=(0|Q)){x=U,C=42;break r}}}}while(0);if(!(U=0|n[U>>2])){C=44;break e}}else for(U=Y;;){j=0|n[U+4>>2];i:do{if((0|j)!=(0|G)){if((0|(j>>>0<W>>>0?j:(j>>>0)%(W>>>0)|0))!=(0|F)){C=44;break e}}else{if(Q=0|n[U+8>>2],J=X=0|n[M>>2],(0|(I=(0|n[T>>2])-X|0))<=0){z=U;break r}for(X=I>>>2,I=0;;){if(S=0|n[J+(I<<2)>>2],0|A[S+84>>0]?(P=v,L=Q):(O=0|n[S+68>>2],P=0|n[O+(v<<2)>>2],L=0|n[O+(Q<<2)>>2]),I=I+1|0,(0|L)!=(0|P))break i;if((0|I)>=(0|X)){x=U,C=42;break r}}}}while(0);if(!(U=0|n[U>>2])){C=44;break e}}}while(0);if(42==(0|C)){if(C=0,!x){C=44;break}z=x}n[(0|n[o>>2])+(v<<2)>>2]=n[z+12>>2],K=w}else C=44}while(0);do{if(44==(0|C)){if(C=0,m)for(T=R>>>2,M=0,Y=0;;){if(E=0|n[B+(M<<2)>>2],E=(0|A[E+84>>0]?v:0|n[(0|n[E+68>>2])+(v<<2)>>2])+239^Y,(0|(M=M+1|0))>=(0|T)){$=E;break}Y=E}else $=0;e:do{if(Z)re=0,C=76;else if(ee=(T=0==((Y=W+-1|0)&W|0))?Y&$:$>>>0<W>>>0?$:($>>>0)%(W>>>0)|0,0!=(0|(M=0|n[(0|n[i>>2])+(ee<<2)>>2]))&&0!=(0|(E=0|n[M>>2]))){if(V=8+(M=0|n[p>>2])|0,U=M+12|0,T)for(T=E;;){if(!((0|(M=0|n[T+4>>2]))==(0|$)|(M&Y|0)==(0|ee))){re=ee,C=76;break e}if(M=0|n[T+8>>2],I=j=0|n[V>>2],(0|(X=(0|n[U>>2])-j|0))<=0){ie=v;break e}for(j=X>>>2,X=0;Q=0|n[I+(X<<2)>>2],0|A[Q+84>>0]?(fe=v,Ae=M):(J=0|n[Q+68>>2],fe=0|n[J+(v<<2)>>2],Ae=0|n[J+(M<<2)>>2]),X=X+1|0,(0|Ae)==(0|fe);)if((0|X)>=(0|j)){ie=v;break e}if(!(T=0|n[T>>2])){re=ee,C=76;break e}}else te=E;for(;;){if((0|(T=0|n[te+4>>2]))!=(0|$)&&(0|(T>>>0<W>>>0?T:(T>>>0)%(W>>>0)|0))!=(0|ee)){re=ee,C=76;break e}if(T=0|n[te+8>>2],X=Y=0|n[V>>2],(0|(j=(0|n[U>>2])-Y|0))<=0){ie=v;break e}for(Y=j>>>2,j=0;M=0|n[X+(j<<2)>>2],0|A[M+84>>0]?(ae=v,oe=T):(I=0|n[M+68>>2],ae=0|n[I+(v<<2)>>2],oe=0|n[I+(T<<2)>>2]),j=j+1|0,(0|oe)==(0|ae);)if((0|j)>=(0|Y)){ie=v;break e}if(!(te=0|n[te>>2])){re=ee,C=76;break}}}else re=ee,C=76}while(0);if(76==(0|C)){C=0,U=0|Uo(16),n[U+8>>2]=v,n[U+12>>2]=w,n[U+4>>2]=$,n[U>>2]=0,ne=g((1+(0|n[s>>2])|0)>>>0),be=g(W>>>0),le=g(d[a>>2]);do{if(Z|g(le*be)<ne){if(df(i,(V=W<<1|1&(W>>>0<3|0!=(W+-1&W|0)))>>>0<(E=~~g(N(g(ne/le)))>>>0)>>>0?E:V),!((E=(V=0|n[_>>2])-1|0)&V)){ce=V,ue=E&$;break}$>>>0<V>>>0?(ce=V,ue=$):(ce=V,ue=($>>>0)%(V>>>0)|0)}else ce=W,ue=re}while(0);V=(0|n[i>>2])+(ue<<2)|0,(E=0|n[V>>2])?(n[U>>2]=n[E>>2],ke=E,C=89):(n[U>>2]=n[k>>2],n[k>>2]=U,n[V>>2]=k,0|(V=0|n[U>>2])&&(Y=0|n[V+4>>2],se=(V=ce+-1|0)&ce?Y>>>0<ce>>>0?Y:(Y>>>0)%(ce>>>0)|0:Y&V,ke=(0|n[i>>2])+(se<<2)|0,C=89)),89==(0|C)&&(C=0,n[ke>>2]=U),n[s>>2]=1+(0|n[s>>2]),ie=0|n[f>>2]}if(E=w+1|0,n[(0|n[o>>2])+(ie<<2)>>2]=w,(0|(V=0|n[c>>2]))==(0|n[h>>2])){sA(b,f),K=E;break}n[V>>2]=n[f>>2],n[c>>2]=V+4,K=E;break}}while(0);if(v=1+(0|n[f>>2])|0,n[f>>2]=v,v>>>0>=(de=0|n[t>>2])>>>0)break;w=K}(0|K)!=(0|de)&&(Vb[15&n[24+(0|n[e>>2])>>2]](e,o,b),n[t>>2]=K)}if(0|(K=0|n[b>>2])&&((0|(b=0|n[c>>2]))!=(0|K)&&(n[c>>2]=b+(~((b+-4-K|0)>>>2)<<2)),_b(K)),0|(K=0|n[o>>2])&&((0|(o=0|n[l>>2]))!=(0|K)&&(n[l>>2]=o+(~((o+-4-K|0)>>>2)<<2)),_b(K)),0|(K=0|n[i+8>>2])){o=K;do{K=o,o=0|n[o>>2],_b(K)}while(0!=(0|o))}o=0|n[i>>2],n[i>>2]=0,o?(_b(o),y=r):y=r},Ii,function(e){Ii(e|=0),_b(e)},pb,Qn,pb,pb,Qn,Nn,zn,zn,function(e){var r;r=y,y=y+16|0,$(e|=0),0|K(0|n[4654],0)?zo(17845,r):y=r},vb,vb,vb,vb,vb,vb,vb,vb,vb,vb],Wb=[sb,function(e,r){e|=0;var i,f=0,t=0,a=0;n[(r|=0)>>2]=2,i=e+4|0,f=0|n[(e=r+8|0)>>2],(t=(0|n[r+12>>2])-f|0)>>>0<4294967292?(Za(e,t+4|0,0),a=0|n[e>>2]):a=f,f=a+t|0,t=l[i>>0]|l[i+1>>0]<<8|l[i+2>>0]<<16|l[i+3>>0]<<24,A[f>>0]=t,A[f+1>>0]=t>>8,A[f+2>>0]=t>>16,A[f+3>>0]=t>>24},function(e,r){e|=0;var i,f,t=0,a=0,o=0,b=0,c=0,u=0,s=0,k=0,d=0;if(n[(r|=0)>>2]=1,t=e+4|0,f=r+12|0,r=0|n[(i=r+8|0)>>2],(a=(0|n[f>>2])-r|0)>>>0<4294967292?(Za(i,a+4|0,0),o=0|n[i>>2]):o=r,r=o+a|0,a=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24,A[r>>0]=a,A[r+1>>0]=a>>8,A[r+2>>0]=a>>16,A[r+3>>0]=a>>24,r=e+12|0,t=0|n[(a=e+8|0)>>2],(0|n[r>>2])!=(0|t)){o=0,b=t;do{t=b+(o<<2)|0,c=0|n[i>>2],(u=(0|n[f>>2])-c|0)>>>0<4294967292?(Za(i,u+4|0,0),s=0|n[i>>2]):s=c,c=s+u|0,u=l[t>>0]|l[t+1>>0]<<8|l[t+2>>0]<<16|l[t+3>>0]<<24,A[c>>0]=u,A[c+1>>0]=u>>8,A[c+2>>0]=u>>16,A[c+3>>0]=u>>24,o=o+1|0,b=0|n[a>>2]}while(o>>>0<(0|n[r>>2])-b>>2>>>0)}return b=e+20|0,e=0|n[i>>2],(r=(0|n[f>>2])-e|0)>>>0<4294967292?(Za(i,r+4|0,0),k=(0|n[i>>2])+r|0,d=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24,A[k>>0]=d,A[k+1>>0]=d>>8,A[k+2>>0]=d>>16,void(A[k+3>>0]=d>>24)):(k=e+r|0,d=l[b>>0]|l[b+1>>0]<<8|l[b+2>>0]<<16|l[b+3>>0]<<24,A[k>>0]=d,A[k+1>>0]=d>>8,A[k+2>>0]=d>>16,void(A[k+3>>0]=d>>24))},function(e,r){e|=0;var i,f,t,a=0,o=0,b=0,l=0;if(i=y,y=y+16|0,f=i,Wb[15&n[64+(0|n[(r|=0)>>2])>>2]](e,r),0|n[e>>2])y=i;else{(0|A[11+(a=e+4|0)>>0])<0&&_b(0|n[a>>2]),a=0|n[r+48>>2],o=0|Uo(32),n[f>>2]=o,n[f+8>>2]=-2147483616,n[f+4>>2]=29,l=14510,t=(b=o)+29|0;do{A[b>>0]=0|A[l>>0],b=b+1|0,l=l+1|0}while((0|b)<(0|t));A[o+29>>0]=0,o=0|ia(a,f,0),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),o&&Eb[127&n[68+(0|n[r>>2])>>2]](r),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,y=i}},function(e,r){var i;e|=0,i=0|n[64+(r|=0)>>2],Wb[15&n[28+(0|n[i>>2])>>2]](e,i)},function(e,r){e|=0;var i,f,t,a,o,b,l,c,u,s,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0,C=0,Q=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,fe=0,Ae=0;if(i=y,y=y+80|0,f=i+56|0,k=i+52|0,t=i+48|0,d=i+68|0,_=i,a=i+44|0,o=i+40|0,b=i+36|0,h=i+32|0,p=i+28|0,l=i+24|0,c=i+20|0,u=i+16|0,s=i+12|0,0|A[288+(r|=0)>>0]?(Di(f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r+112|0)>>2]))!=(0|N)&&(n[G>>2]=F+(12*~(((F+-12-N|0)>>>0)/12|0)|0)),0|n[(N=r+132|0)>>2]){if(0|(G=0|n[(F=r+128|0)>>2])){U=G;do{G=U,U=0|n[U>>2],_b(G)}while(0!=(0|U))}if(n[F>>2]=0,0|(F=0|n[r+124>>2])){U=r+120|0,G=0;do{n[(0|n[U>>2])+(G<<2)>>2]=0,G=G+1|0}while((0|G)!=(0|F))}n[N>>2]=0}if(n[r+144>>2]=0,N=0|n[w>>2],F=(0|n[N+28>>2])-(0|n[N+24>>2])>>2,n[f>>2]=-1,di(r+152|0,F,f),N=0|n[(F=r+72|0)>>2],(0|(U=0|n[(G=r+76|0)>>2]))!=(0|N)&&(n[G>>2]=U+(~((U+-4-N|0)>>>2)<<2)),N=0|n[w>>2],la(F,((0|n[N+4>>2])-(0|n[N>>2])>>2>>>0)/3|0),n[r+64>>2]=0,!(0|nr(r))){N=0|Uo(32),n[f>>2]=N,n[f+8>>2]=-2147483616,n[f+4>>2]=29,Y=13227,M=(g=N)+29|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));return A[N+29>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),void(y=i)}if(!(0|function(e){var r,i,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(0|A[288+(e|=0)>>0])return 1;if(f=0|n[(r=e+8|0)>>2],tA(i=e+172|0,(f=(t=(0|n[f+12>>2])-(0|n[f+8>>2])|0)>>2)-1|0),!(1!=(0|f)&(0|t)>0))return 1;for(t=e+12|0,e=0,a=0;o=0|n[(0|n[8+(0|n[r>>2])>>2])+(e<<2)>>2],0|n[o+56>>2]?(l=0|n[i>>2],n[l+(136*a|0)>>2]=e,c=0|n[l+(136*a|0)+104>>2],(0|(s=0|n[(u=l+(136*a|0)+108|0)>>2]))!=(0|c)&&(n[u>>2]=s+(~((s+-4-c|0)>>>2)<<2)),c=0|n[t>>2],la(l+(136*a|0)+104|0,(0|n[c+4>>2])-(0|n[c>>2])>>2),c=0|n[i>>2],n[c+(136*a|0)+128>>2]=0,ie(c+(136*a|0)+4|0,0|n[r>>2],0|n[t>>2],o),b=a+1|0):b=a,!((0|(e=e+1|0))>=(0|f));)a=b;return 1}(r))){N=0|Uo(48),n[f>>2]=N,n[f+8>>2]=-2147483600,n[f+4>>2]=36,Y=13257,M=(g=N)+36|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));return A[N+36>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),void(y=i)}N=r+172|0,T=255&(((0|n[(U=r+176|0)>>2])-(0|n[N>>2])|0)/136|0),A[d>>0]=T,I=0|n[44+(0|n[Z>>2])>>2],(0|(C=0|n[4+(j=I+16|0)>>2]))>0|0==(0|C)&(0|n[j>>2])>>>0>0?Q=T:(n[k>>2]=n[I+4>>2],n[f>>2]=n[k>>2],hr(I,f,d,d+1|0),Q=0|A[d>>0]),n[(d=r+284|0)>>2]=255&Q,Q=0|n[w>>2],Q=(I=(0|n[Q+4>>2])-(0|n[Q>>2])|0)>>2,EA(m),n[_>>2]=0,n[(T=_+4|0)>>2]=0,n[_+8>>2]=0;e:do{if((0|I)>0){j=r+104|0,C=_+8|0,X=0;r:for(;;){if(z=(J=(X>>>0)/3|0)>>>5,O=1<<(31&J),0==(n[(0|n[v>>2])+(z<<2)>>2]&O|0)&&(S=0|n[w>>2],n[a>>2]=J,n[f>>2]=n[a>>2],!(0|Aa(S,f)))){n[k>>2]=0,n[o>>2]=J,n[f>>2]=n[o>>2],VA(m,J=0|Wi(r,f,k)),H=-1==(0|(S=0|n[k>>2]));do{if(J){do{if(H)D=-1,x=-1,P=-1;else{if(L=0|n[n[w>>2]>>2],K=0|n[L+(S<<2)>>2],ee=-1==(0|($=0==(0|((q=S+1|0)>>>0)%3)?S+-2|0:q))?-1:0|n[L+($<<2)>>2],-1==(0|($=(0==(0|(S>>>0)%3)?2:-1)+S|0))){D=-1,x=ee,P=K;break}D=0|n[L+($<<2)>>2],x=ee,P=K}}while(0);if(K=0|n[V>>2],n[($=K+(P>>>5<<2)|0)>>2]=n[$>>2]|1<<(31&P),n[($=K+(x>>>5<<2)|0)>>2]=n[$>>2]|1<<(31&x),n[($=K+(D>>>5<<2)|0)>>2]=n[$>>2]|1<<(31&D),n[f>>2]=1,($=0|n[W>>2])>>>0<(0|n[j>>2])>>>0?(n[$>>2]=1,n[W>>2]=$+4):sA(E,f),$=(0|n[v>>2])+(z<<2)|0,n[$>>2]=n[$>>2]|O,$=S+1|0,re=H?-1:0==(0|($>>>0)%3)?S+-2|0:$,n[f>>2]=re,(K=0|n[T>>2])>>>0<(0|n[C>>2])>>>0?(n[K>>2]=re,n[T>>2]=K+4):sA(_,f),H)break;if(-1==(0|(K=0==(0|($>>>0)%3)?S+-2|0:$)))break;if(L=(K=-1==(0|($=0|n[(0|n[12+(0|n[w>>2])>>2])+(K<<2)>>2])))?-1:($>>>0)/3|0,K)break;if(n[(0|n[v>>2])+(L>>>5<<2)>>2]&1<<(31&L)|0)break;if(n[b>>2]=$,n[f>>2]=n[b>>2],!(0|Tt(r,f))){fe=65;break r}}else if($=S+1|0,Ae=H?-1:0==(0|($>>>0)%3)?S+-2|0:$,n[h>>2]=Ae,n[f>>2]=n[h>>2],vr(r,f,1),n[p>>2]=n[k>>2],n[f>>2]=n[p>>2],!(0|Tt(r,f))){fe=71;break r}}while(0)}if((0|(X=X+1|0))>=(0|Q)){fe=77;break e}}if(65==(0|fe)){n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,X=0|Uo(48),n[f>>2]=X,n[f+8>>2]=-2147483600,n[f+4>>2]=32,Y=13294,M=(g=X)+32|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[X+32>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0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0)>>2]))>0|0==(0|Ae)&(0|n[p>>2])>>>0>0||(p=(0|n[r+236>>2])-C|0,n[k>>2]=n[h+4>>2],n[f>>2]=n[k>>2],hr(h,f,C,C+p|0)),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0;break}n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,p=0|Uo(32),n[f>>2]=p,n[f+8>>2]=-2147483616,n[f+4>>2]=28,Y=13327,M=(g=p)+28|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[p+28>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]);break}}while(0);return 0|(k=0|n[_>>2])&&((0|(_=0|n[T>>2]))!=(0|k)&&(n[T>>2]=_+(~((_+-4-k|0)>>>2)<<2)),_b(k)),void(y=i)}k=0|Uo(32),n[f>>2]=k,n[f+8>>2]=-2147483616,n[f+4>>2]=29,Y=13197,M=(g=k)+29|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[k+29>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),y=i},function(e,r){e|=0;var i,f,t,a,o,b,l,c,u,s,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,C=0,X=0,J=0,z=0,O=0,S=0,H=0,D=0,x=0,P=0,L=0,K=0,q=0,$=0,ee=0,re=0,fe=0,Ae=0,te=0;if(i=y,y=y+80|0,f=i+56|0,k=i+52|0,t=i+48|0,d=i+68|0,_=i,a=i+44|0,o=i+40|0,b=i+36|0,h=i+32|0,p=i+28|0,l=i+24|0,c=i+20|0,u=i+16|0,s=i+12|0,0|A[352+(r|=0)>>0]?(Di(f,0|n[r+8>>2]),m=r+12|0,v=0|n[f>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?(n[a>>2]=k+(~((k+-4-h|0)>>>2)<<2),w=p,v=c):(w=p,v=c):(rA(l,t-u|0),w=u=0|n[r>>2],v=0|n[u>>2]),(0|(u=0|n[w+4>>2]))!=(0|v)){v=0|n[l>>2],w=u-(l=0|n[w>>2])>>2,u=0;do{n[v+(u<<2)>>2]=n[l+(u<<2)>>2],u=u+1|0}while(u>>>0<w>>>0)}if(w=(0|n[b>>2])-(0|n[o>>2])+1|0,o=e+136|0,v=e=0|n[(b=e+140|0)>>2],w>>>0>(l=(e-(u=0|n[o>>2])|0)/12|0)>>>0)return function(e,r){r|=0;var i,f,A=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(t=0|n[(A=8+(e|=0)|0)>>2],b=o=0|n[(a=e+4|0)>>2],((t-o|0)/12|0)>>>0>=r>>>0)return IA(0|o,0,12*r|0),void(n[a>>2]=b+(12*r|0));i=l=0|n[e>>2],(o=(c=(o-l|0)/12|0)+r|0)>>>0>357913941&&On(),t=(f=(t-l|0)/12|0)<<1,u=f>>>0<178956970?t>>>0<o>>>0?o:t:357913941;do{if(u){if(!(u>>>0>357913941)){s=0|Uo(12*u|0);break}_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)}else s=0}while(0);if(c=t=s+(12*c|0)|0,o=s+(12*u|0)|0,IA(0|t,0,12*r|0),u=t+(12*r|0)|0,(0|b)==(0|i))k=c,d=l,_=b;else{l=b,b=c,c=t;do{r=l,l=l+-12|0,n[(t=c+-12|0)>>2]=0,n[(s=c+-8|0)>>2]=0,n[c+-4>>2]=0,n[t>>2]=n[l>>2],t=r+-8|0,n[s>>2]=n[t>>2],s=r+-4|0,n[c+-4>>2]=n[s>>2],n[s>>2]=0,n[t>>2]=0,n[l>>2]=0,b=c=b+-12|0}while((0|l)!=(0|i));k=b,d=0|n[e>>2],_=0|n[a>>2]}if(n[e>>2]=k,n[a>>2]=u,n[A>>2]=o,(0|_)!=(0|(o=d))){A=_;do{_=A,0|(u=0|n[(A=A+-12|0)>>2])&&((0|(_=0|n[(a=_+-8|0)>>2]))!=(0|u)&&(n[a>>2]=_+(~((_+-4-u|0)>>>2)<<2)),_b(u))}while((0|A)!=(0|o))}d&&_b(d)}(o,w-l|0),y=i,1;if(w>>>0>=l>>>0)return y=i,1;if((0|(l=u+(12*w|0)|0))==(0|v))return y=i,1;for(m=v;v=m+-12|0,n[b>>2]=v,(w=0|n[v>>2])?((0|(u=0|n[(v=m+-8|0)>>2]))!=(0|w)&&(n[v>>2]=u+(~((u+-4-w|0)>>>2)<<2)),_b(w),Z=0|n[b>>2]):Z=v,(0|Z)!=(0|l);)m=Z;y=i}(v=r+200|0,r),m=0|n[w>>2],Z=r+4|0,Mf(((0|n[m+28>>2])-(0|n[m+24>>2])>>2)-(0|n[m+44>>2])|0,0|n[44+(0|n[Z>>2])>>2]),m=0|n[w>>2],Mf((((0|n[m+4>>2])-(0|n[m>>2])>>2>>>0)/3|0)-(0|n[m+40>>2])|0,0|n[44+(0|n[Z>>2])>>2]),m=r+28|0,B=0|n[(R=r+8|0)>>2],E=((0|n[B+100>>2])-(0|n[B+96>>2])|0)/12|0,A[f>>0]=0,rf(m,E,f),E=0|n[w>>2],B=(0|n[E+28>>2])-(0|n[E+24>>2])>>2,n[f>>2]=-1,di(r+52|0,B,f),E=0|n[(B=r+40|0)>>2],(0|(V=0|n[(W=r+44|0)>>2]))!=(0|E)&&(n[W>>2]=V+(~((V+-4-E|0)>>>2)<<2)),E=0|n[w>>2],la(B,(V=(0|n[E+4>>2])-(0|n[E>>2])>>2)-((V>>>0)%3|0)|0),V=r+84|0,B=0|n[w>>2],E=(0|n[B+28>>2])-(0|n[B+24>>2])>>2,A[f>>0]=0,rf(V,E,f),B=0|n[(E=r+96|0)>>2],(0|(N=0|n[(W=r+100|0)>>2]))!=(0|B)&&(n[W>>2]=N+(~((N+-4-B|0)>>>2)<<2)),n[r+164>>2]=-1,n[(B=r+168|0)>>2]=0,N=0|n[r+108>>2],(0|(F=0|n[(G=r+112|0)>>2]))!=(0|N)&&(n[G>>2]=F+(12*~(((F+-12-N|0)>>>0)/12|0)|0)),0|n[(N=r+132|0)>>2]){if(0|(G=0|n[(F=r+128|0)>>2])){U=G;do{G=U,U=0|n[U>>2],_b(G)}while(0!=(0|U))}if(n[F>>2]=0,0|(F=0|n[r+124>>2])){U=r+120|0,G=0;do{n[(0|n[U>>2])+(G<<2)>>2]=0,G=G+1|0}while((0|G)!=(0|F))}n[N>>2]=0}if(n[r+144>>2]=0,N=0|n[w>>2],F=(0|n[N+28>>2])-(0|n[N+24>>2])>>2,n[f>>2]=-1,di(r+152|0,F,f),N=0|n[(F=r+72|0)>>2],(0|(U=0|n[(G=r+76|0)>>2]))!=(0|N)&&(n[G>>2]=U+(~((U+-4-N|0)>>>2)<<2)),N=0|n[w>>2],la(F,((0|n[N+4>>2])-(0|n[N>>2])>>2>>>0)/3|0),n[r+64>>2]=0,!(0|nr(r))){N=0|Uo(32),n[f>>2]=N,n[f+8>>2]=-2147483616,n[f+4>>2]=29,Y=13227,M=(g=N)+29|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));return A[N+29>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),void(y=i)}if(!(0|function(e){var r,i,f=0,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(0|A[352+(e|=0)>>0])return 1;if(f=0|n[(r=e+8|0)>>2],tA(i=e+172|0,(f=(t=(0|n[f+12>>2])-(0|n[f+8>>2])|0)>>2)-1|0),!(1!=(0|f)&(0|t)>0))return 1;for(t=e+12|0,e=0,a=0;o=0|n[(0|n[8+(0|n[r>>2])>>2])+(e<<2)>>2],0|n[o+56>>2]?(l=0|n[i>>2],n[l+(136*a|0)>>2]=e,c=0|n[l+(136*a|0)+104>>2],(0|(s=0|n[(u=l+(136*a|0)+108|0)>>2]))!=(0|c)&&(n[u>>2]=s+(~((s+-4-c|0)>>>2)<<2)),c=0|n[t>>2],la(l+(136*a|0)+104|0,(0|n[c+4>>2])-(0|n[c>>2])>>2),c=0|n[i>>2],n[c+(136*a|0)+128>>2]=0,ie(c+(136*a|0)+4|0,0|n[r>>2],0|n[t>>2],o),b=a+1|0):b=a,!((0|(e=e+1|0))>=(0|f));)a=b;return 1}(r))){N=0|Uo(48),n[f>>2]=N,n[f+8>>2]=-2147483600,n[f+4>>2]=36,Y=13257,M=(g=N)+36|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));return A[N+36>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),void(y=i)}N=r+172|0,T=255&(((0|n[(U=r+176|0)>>2])-(0|n[N>>2])|0)/136|0),A[d>>0]=T,I=0|n[44+(0|n[Z>>2])>>2],(0|(X=0|n[4+(C=I+16|0)>>2]))>0|0==(0|X)&(0|n[C>>2])>>>0>0?J=T:(n[k>>2]=n[I+4>>2],n[f>>2]=n[k>>2],hr(I,f,d,d+1|0),J=0|A[d>>0]),n[r+284>>2]=255&J,J=0|n[w>>2],J=(d=(0|n[J+4>>2])-(0|n[J>>2])|0)>>2,EA(v),n[_>>2]=0,n[(I=_+4|0)>>2]=0,n[_+8>>2]=0;e:do{if((0|d)>0){T=r+104|0,C=_+8|0,X=0;r:for(;;){if(O=(z=(X>>>0)/3|0)>>>5,S=1<<(31&z),0==(n[(0|n[m>>2])+(O<<2)>>2]&S|0)&&(H=0|n[w>>2],n[a>>2]=z,n[f>>2]=n[a>>2],!(0|Aa(H,f)))){n[k>>2]=0,n[o>>2]=z,n[f>>2]=n[o>>2],VA(v,z=0|Wi(r,f,k)),D=-1==(0|(H=0|n[k>>2]));do{if(z){do{if(D)x=-1,P=-1,L=-1;else{if(K=0|n[n[w>>2]>>2],q=0|n[K+(H<<2)>>2],re=-1==(0|(ee=0==(0|(($=H+1|0)>>>0)%3)?H+-2|0:$))?-1:0|n[K+(ee<<2)>>2],-1==(0|(ee=(0==(0|(H>>>0)%3)?2:-1)+H|0))){x=-1,P=re,L=q;break}x=0|n[K+(ee<<2)>>2],P=re,L=q}}while(0);if(q=0|n[V>>2],n[(ee=q+(L>>>5<<2)|0)>>2]=n[ee>>2]|1<<(31&L),n[(ee=q+(P>>>5<<2)|0)>>2]=n[ee>>2]|1<<(31&P),n[(ee=q+(x>>>5<<2)|0)>>2]=n[ee>>2]|1<<(31&x),n[f>>2]=1,(ee=0|n[W>>2])>>>0<(0|n[T>>2])>>>0?(n[ee>>2]=1,n[W>>2]=ee+4):sA(E,f),ee=(0|n[m>>2])+(O<<2)|0,n[ee>>2]=n[ee>>2]|S,ee=H+1|0,fe=D?-1:0==(0|(ee>>>0)%3)?H+-2|0:ee,n[f>>2]=fe,(q=0|n[I>>2])>>>0<(0|n[C>>2])>>>0?(n[q>>2]=fe,n[I>>2]=q+4):sA(_,f),D)break;if(-1==(0|(q=0==(0|(ee>>>0)%3)?H+-2|0:ee)))break;if(K=(q=-1==(0|(ee=0|n[(0|n[12+(0|n[w>>2])>>2])+(q<<2)>>2])))?-1:(ee>>>0)/3|0,q)break;if(n[(0|n[m>>2])+(K>>>5<<2)>>2]&1<<(31&K)|0)break;if(n[b>>2]=ee,n[f>>2]=n[b>>2],!(0|Et(r,f))){Ae=65;break r}}else if(ee=H+1|0,te=D?-1:0==(0|(ee>>>0)%3)?H+-2|0:ee,n[h>>2]=te,n[f>>2]=n[h>>2],vr(r,f,1),n[p>>2]=n[k>>2],n[f>>2]=n[p>>2],!(0|Et(r,f))){Ae=71;break r}}while(0)}if((0|(X=X+1|0))>=(0|J)){Ae=77;break e}}if(65==(0|Ae)){n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,X=0|Uo(48),n[f>>2]=X,n[f+8>>2]=-2147483600,n[f+4>>2]=32,Y=13294,M=(g=X)+32|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[X+32>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2])}else if(71==(0|Ae)){n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,C=0|Uo(48),n[f>>2]=C,n[f+8>>2]=-2147483600,n[f+4>>2]=32,Y=13294,M=(g=C)+32|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[C+32>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2])}}else Ae=77}while(0);do{if(77==(0|Ae)){if(J=0|n[F>>2],h=p=0|n[G>>2],(0|J)!=(0|p)&&J>>>0<(te=p+-4|0)>>>0){p=J,J=te;do{te=0|n[p>>2],n[p>>2]=n[J>>2],n[J>>2]=te,p=p+4|0,J=J+-4|0}while(p>>>0<J>>>0)}if(n[l>>2]=h,n[c>>2]=n[_>>2],n[u>>2]=n[I>>2],n[t>>2]=n[l>>2],n[k>>2]=n[c>>2],n[f>>2]=n[u>>2],er(F,t,k,f),(0|n[U>>2])!=(0|n[N>>2])&&(J=0|n[R>>2],p=((0|n[J+100>>2])-(0|n[J+96>>2])|0)/12|0,A[f>>0]=0,rf(m,p,f),(0|(p=0|n[F>>2]))!=(0|(J=0|n[G>>2])))){C=p;do{n[s>>2]=n[C>>2],n[f>>2]=n[s>>2],sr(r,f),C=C+4|0}while((0|C)!=(0|J))}if(zf(v),Mf(0|n[r+324>>2],0|n[44+(0|n[Z>>2])>>2]),Mf(0|n[B>>2],0|n[44+(0|n[Z>>2])>>2]),0|Hi(r)){J=0|n[44+(0|n[Z>>2])>>2],C=0|n[r+232>>2],(0|(p=0|n[4+(h=J+16|0)>>2]))>0|0==(0|p)&(0|n[h>>2])>>>0>0||(h=(0|n[r+236>>2])-C|0,n[k>>2]=n[J+4>>2],n[f>>2]=n[k>>2],hr(J,f,C,C+h|0)),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0;break}n[f>>2]=0,n[f+4>>2]=0,n[f+8>>2]=0,h=0|Uo(32),n[f>>2]=h,n[f+8>>2]=-2147483616,n[f+4>>2]=28,Y=13327,M=(g=h)+28|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[h+28>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]);break}}while(0);return 0|(k=0|n[_>>2])&&((0|(_=0|n[I>>2]))!=(0|k)&&(n[I>>2]=_+(~((_+-4-k|0)>>>2)<<2)),_b(k)),void(y=i)}k=0|Uo(32),n[f>>2]=k,n[f+8>>2]=-2147483616,n[f+4>>2]=29,Y=13197,M=(g=k)+29|0;do{A[g>>0]=0|A[Y>>0],g=g+1|0,Y=Y+1|0}while((0|g)<(0|M));A[k+29>>0]=0,n[e>>2]=-1,YA(e+4|0,f),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),y=i},function(e,r){e|=0;var i,f,t,o,b,l,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0,G=0,F=0,U=0,g=0,Y=0,M=0,T=0,I=0,j=0;i=y,y=y+32|0,f=i+4|0,t=i,o=i+16|0,c=0|n[(b=56+(r|=0)|0)>>2],Mf(c=(0|(u=(0|n[c+100>>2])-(0|n[c+96>>2])|0))/12|0,0|n[(l=r+44|0)>>2]),Mf(0|n[80+(0|n[b>>2])>>2],0|n[l>>2]),s=0|n[r+48>>2],k=0|Uo(32),n[f>>2]=k,n[f+8>>2]=-2147483616,n[f+4>>2]=21,_=14562,h=(d=k)+21|0;do{A[d>>0]=0|A[_>>0],d=d+1|0,_=_+1|0}while((0|d)<(0|h));if(A[k+21>>0]=0,k=0|ia(s,f,0),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),s=0|n[l>>2],k)return A[o>>0]=0,(0|(_=0|n[4+(k=s+16|0)>>2]))>0|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[4+(r=s+16|0)>>2]))>0|0==(0|k)&(0|n[r>>2])>>>0>0||(n[t>>2]=n[s+4>>2],n[f>>2]=n[t>>2],hr(s,f,o,o+1|0)),s=0|n[b>>2],(r=0|n[s+80>>2])>>>0<256){if(!u)return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);for(k=o+1|0,_=o+1|0,d=o+1|0,h=0,p=s;w=0|n[p+96>>2],v=0|n[l>>2],A[o>>0]=n[w+(12*h|0)>>2],Z=0|n[(m=v+16|0)>>2],(0|(R=0|n[m+4>>2]))>0|0==(0|R)&Z>>>0>0?(B=Z,E=v,W=R):(n[t>>2]=n[v+4>>2],n[f>>2]=n[t>>2],hr(v,f,o,d),v=0|n[l>>2],B=0|n[(R=v+16|0)>>2],E=v,W=0|n[R+4>>2]),A[o>>0]=n[w+(12*h|0)+4>>2],(0|W)>0|0==(0|W)&B>>>0>0?(V=W,N=B,G=E):(n[t>>2]=n[E+4>>2],n[f>>2]=n[t>>2],hr(E,f,o,_),R=0|n[l>>2],V=0|n[4+(v=R+16|0)>>2],N=0|n[v>>2],G=R),A[o>>0]=n[w+(12*h|0)+8>>2],(0|V)>0|0==(0|V)&N>>>0>0||(n[t>>2]=n[G+4>>2],n[f>>2]=n[t>>2],hr(G,f,o,k)),!((w=h+1|0)>>>0>=c>>>0);)h=w,p=0|n[b>>2];return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i)}if(r>>>0<65536){if(!u)return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);for(p=o+2|0,h=o+2|0,k=o+2|0,G=0,N=s;V=0|n[N+96>>2],_=0|n[l>>2],a[o>>1]=n[V+(12*G|0)>>2],B=0|n[(E=_+16|0)>>2],(0|(W=0|n[E+4>>2]))>0|0==(0|W)&B>>>0>0?(F=W,U=B,g=_):(n[t>>2]=n[_+4>>2],n[f>>2]=n[t>>2],hr(_,f,o,k),_=0|n[l>>2],F=0|n[4+(B=_+16|0)>>2],U=0|n[B>>2],g=_),a[o>>1]=n[V+(12*G|0)+4>>2],(0|F)>0|0==(0|F)&U>>>0>0?(Y=F,M=U,T=g):(n[t>>2]=n[g+4>>2],n[f>>2]=n[t>>2],hr(g,f,o,h),_=0|n[l>>2],Y=0|n[4+(B=_+16|0)>>2],M=0|n[B>>2],T=_),a[o>>1]=n[V+(12*G|0)+8>>2],(0|Y)>0|0==(0|Y)&M>>>0>0||(n[t>>2]=n[T+4>>2],n[f>>2]=n[t>>2],hr(T,f,o,p)),!((V=G+1|0)>>>0>=c>>>0);)G=V,N=0|n[b>>2];return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i)}if(N=0!=(0|u),r>>>0<2097152){if(!N)return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);for(I=0,j=s;r=0|n[j+96>>2],Mf(0|n[r+(12*I|0)>>2],0|n[l>>2]),Mf(0|n[r+(12*I|0)+4>>2],0|n[l>>2]),Mf(0|n[r+(12*I|0)+8>>2],0|n[l>>2]),!((r=I+1|0)>>>0>=c>>>0);)I=r,j=0|n[b>>2];return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i)}if(!N)return n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,void(y=i);for(N=0,j=s;s=(0|n[j+96>>2])+(12*N|0)|0,I=0|n[l>>2],(0|(u=0|n[4+(r=I+16|0)>>2]))>0|0==(0|u)&(0|n[r>>2])>>>0>0||(n[t>>2]=n[I+4>>2],n[f>>2]=n[t>>2],hr(I,f,s,s+12|0)),!((s=N+1|0)>>>0>=c>>>0);)N=s,j=0|n[b>>2];n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,y=i},function(e,r){n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0},MA,MA,function(e,r){var i,f,A,t=0,a=0;Ae(e|=0,r|=0),(0|r)<=-1||((f=0|n[(i=e+88|0)>>2])-(t=0|n[e+84>>2])>>2|0)<=(0|r)||((A=(t=f-(r=4+(e=t+(r<<2)|0)|0)|0)>>2)?(no(0|e,0|r,0|t),a=0|n[i>>2]):a=f,(0|a)!=(0|(t=e+(A<<2)|0))&&(n[i>>2]=a+(~((a+-4-t|0)>>>2)<<2)))},Ae,sb,sb,sb],Vb=[Ab,function(e,r,i){e|=0,i|=0;var f,t,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0;switch(f=y,y=y+16|0,t=f,a=0|n[(0|n[4+(r|=0)>>2])+(i<<2)>>2],i=0|n[r+28>>2],r=0|n[(0|n[8+(0|n[i+4>>2])>>2])+(a<<2)>>2],0|n[r+28>>2]){case 5:case 6:case 3:case 4:case 1:case 2:return on(o=0|Uo(40)),b=o,n[e>>2]=b,void(y=f);case 9:l=3}if(3==(0|l)){o=0|n[i+48>>2],i=0|Uo(32),n[t>>2]=i,n[t+8>>2]=-2147483616,n[t+4>>2]=17,u=12932,s=(c=i)+17|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));if(A[i+17>>0]=0,u=0|n[(i=o+16|0)>>2]){k=i,d=u;e:for(;;){for(u=d;!((0|n[u+16>>2])>=(0|a));){if(!(_=0|n[u+4>>2])){h=k;break e}u=_}if(!(d=0|n[u>>2])){h=u;break}k=u}(0|h)!=(0|i)&&(0|a)>=(0|n[h+16>>2])&&0!=(0|hf(a=h+20|0,t))?p=0|ya(a,t,-1):l=12}else l=12;if(12==(0|l)&&(p=0|ya(o,t,-1)),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),(0|p)>0){if(1==(0|n[r+56>>2])){s=48+(c=r=0|Uo(48))|0;do{n[c>>2]=0,c=c+4|0}while((0|c)<(0|s));return on(r),n[r>>2]=2256,n[r+40>>2]=1152,n[r+44>>2]=-1,b=r,n[e>>2]=b,void(y=f)}return function(e){var r;on(e|=0),n[e>>2]=2880,n[e+40>>2]=1180,n[e+44>>2]=-1,n[(r=e+48|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0}(r=0|Uo(64)),b=r,n[e>>2]=b,void(y=f)}}ko(r=0|Uo(36)),b=r,n[e>>2]=b,y=f},function(e,r,i){e|=0,i|=0;var f,A,t,a=0,o=0,b=0,l=0;f=y,y=y+48|0,a=f+4|0,A=f,o=0|n[12+(r|=0)>>2],b=0|n[r+4>>2],t=(r=a)+36|0;do{n[r>>2]=0,r=r+4|0}while((0|r)<(0|t));if(function(e,r,i,f,A){e|=0,r|=0,i|=0,A|=0;var t,a=0,o=0;if(a=0|n[(0|n[8+(0|n[4+(f|=0)>>2])>>2])+(i<<2)>>2],-2==(0|(t=-1==(0|r)?0|pA(i,f):r)))o=0;else{do{if(1==(0|yb[127&n[8+(0|n[f>>2])>>2]](f))){if(ni(e,f,t,i,A,514),0|n[e>>2])return;n[e>>2]=0;break}}while(0);i=0|Uo(44),n[i>>2]=1528,n[i+4>>2]=a,n[(a=i+8|0)>>2]=n[A>>2],n[a+4>>2]=n[A+4>>2],n[a+8>>2]=n[A+8>>2],n[a+12>>2]=n[A+12>>2],n[a+16>>2]=n[A+16>>2],n[a+20>>2]=n[A+20>>2],ba(i+32|0,A+24|0),n[i>>2]=1584,o=i}n[e>>2]=o}(A,i,o,b,a),!(b=0|n[a+24>>2]))return l=0|n[A>>2],n[e>>2]=l,void(y=f);(0|(a=0|n[(o=a+28|0)>>2]))!=(0|b)&&(n[o>>2]=a+(~((a+-4-b|0)>>>2)<<2)),_b(b),l=0|n[A>>2],n[e>>2]=l,y=f},Vt,Yt,function(e,r,i){e|=0,i|=0;var f,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0,h=0,p=0,w=0,v=0,m=0,Z=0,R=0,B=0,E=0,W=0,V=0,N=0;i=y,y=y+32|0,t=i+16|0,f=i,o=0|n[48+(0|n[(a=4+(r|=0)|0)>>2])>>2],r=0|n[(b=r+12|0)>>2],l=0|Uo(32),n[t>>2]=l,n[t+8>>2]=-2147483616,n[t+4>>2]=17,u=12932,s=(c=l)+17|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));if(A[l+17>>0]=0,k=0|n[(l=o+16|0)>>2]){d=l,_=k;e:for(;;){for(k=_;!((0|n[k+16>>2])>=(0|r));){if(!(h=0|n[k+4>>2])){p=d;break e}k=h}if(!(_=0|n[k>>2])){p=k;break}d=k}(0|p)!=(0|l)&&(0|r)>=(0|n[p+16>>2])&&0!=(0|hf(r=p+20|0,t))?w=0|ya(r,t,-1):v=10}else v=10;10==(0|v)&&(w=0|ya(o,t,-1)),(0|A[t+11>>0])<0&&_b(0|n[t>>2]),o=(1<<w)-1|0,n[t>>2]=-1,n[t+4>>2]=-1,n[t+8>>2]=-1,n[t+12>>2]=-1,1&o|0&&((w=31^(0|U(0|o)))-1|0)>>>0<=28&&(n[t>>2]=w+1,o=2<<w,n[t+4>>2]=o+-1,w=o+-2|0,n[t+8>>2]=w,n[t+12>>2]=(0|w)/2|0),w=0|pA(0|n[b>>2],0|n[a>>2]),o=0|n[48+(0|n[a>>2])>>2],r=0|n[b>>2],p=0|Uo(32),n[f>>2]=p,n[f+8>>2]=-2147483616,n[f+4>>2]=17,u=12804,s=(c=p)+17|0;do{A[c>>0]=0|A[u>>0],c=c+1|0,u=u+1|0}while((0|c)<(0|s));if(A[p+17>>0]=0,u=0|n[(p=o+16|0)>>2]){c=p,s=u;e:for(;;){for(u=s;!((0|n[u+16>>2])>=(0|r));){if(!(l=0|n[u+4>>2])){m=c;break e}u=l}if(!(s=0|n[u>>2])){m=u;break}c=u}(0|m)!=(0|p)&&(0|r)>=(0|n[m+16>>2])&&0!=(0|hf(r=m+20|0,f))?Z=0|ya(r,f,w):v=25}else v=25;switch(25==(0|v)&&(Z=0|ya(o,f,w)),(0|A[f+11>>0])<0&&_b(0|n[f>>2]),0|Z){case 6:Z=0|n[b>>2],w=0|n[a>>2],o=0|n[(0|n[8+(0|n[w+4>>2])>>2])+(Z<<2)>>2];do{if(1==(0|yb[127&n[8+(0|n[w>>2])>>2]](w))){if(ei(f,w,6,Z,t,514),r=0|n[f>>2]){B=f,E=r;break}n[f>>2]=0,R=f,v=34;break}R=f,v=34}while(0);return 34==(0|v)&&(Z=0|Uo(24),n[Z+4>>2]=o,n[(o=Z+8|0)>>2]=n[t>>2],n[o+4>>2]=n[t+4>>2],n[o+8>>2]=n[t+8>>2],n[o+12>>2]=n[t+12>>2],n[Z>>2]=2320,o=Z,n[f>>2]=o,B=R,E=o),n[e>>2]=E,n[B>>2]=0,void(y=i);case 0:B=0|n[b>>2],b=0|n[a>>2],a=0|n[(0|n[8+(0|n[b+4>>2])>>2])+(B<<2)>>2];do{if(1==(0|yb[127&n[8+(0|n[b>>2])>>2]](b))){if(ei(f,b,0,B,t,514),E=0|n[f>>2]){V=f,N=E;break}n[f>>2]=0,W=f,v=41;break}W=f,v=41}while(0);return 41==(0|v)&&(v=0|Uo(24),n[v+4>>2]=a,n[(a=v+8|0)>>2]=n[t>>2],n[a+4>>2]=n[t+4>>2],n[a+8>>2]=n[t+8>>2],n[a+12>>2]=n[t+12>>2],n[v>>2]=2320,t=v,n[f>>2]=t,V=W,N=t),n[e>>2]=N,n[V>>2]=0,void(y=i);default:return n[e>>2]=0,void(y=i)}},Vt,Yt,function(e,r,i){r|=0,i|=0;var f,t,a=0,o=0;f=y,y=y+16|0,a=f,n[(o=4+(e|=0)|0)>>2]=r,t=0|n[r+64>>2],r=((0|n[t+4>>2])-(0|n[t>>2])>>2>>>0)/3|0,A[a>>0]=0,rf(e+24|0,r,a),r=0|n[o>>2],o=(0|n[r+56>>2])-(0|n[r+52>>2])>>2,A[a>>0]=0,rf(e+36|0,o,a),n[(a=e+8|0)>>2]=n[i>>2],n[a+4>>2]=n[i+4>>2],n[a+8>>2]=n[i+8>>2],n[a+12>>2]=n[i+12>>2],y=f},function(e,r,i){r|=0,i|=0;var f,t=0,a=0,o=0;f=y,y=y+16|0,t=f,n[(a=4+(e|=0)|0)>>2]=r,o=((0|n[r+4>>2])-(0|n[r>>2])>>2>>>0)/3|0,A[t>>0]=0,rf(e+24|0,o,t),o=0|n[a>>2],a=(0|n[o+28>>2])-(0|n[o+24>>2])>>2,A[t>>0]=0,rf(e+36|0,a,t),n[(t=e+8|0)>>2]=n[i>>2],n[t+4>>2]=n[i+4>>2],n[t+8>>2]=n[i+8>>2],n[t+12>>2]=n[i+12>>2],y=f},function(e,r,i){e|=0,r|=0;var f,A,t=0,a=0,o=0;if(f=y,y=y+16|0,t=f,a=0|n[(i|=0)>>2],n[i>>2]=0,n[t>>2]=a,Ti(e,r,t),a=0|n[t>>2],n[t>>2]=0,0|a&&(i=0|n[(t=a+88|0)>>2],n[t>>2]=0,0|i&&(0|(t=0|n[i+8>>2])&&((0|n[(o=i+12|0)>>2])!=(0|t)&&(n[o>>2]=t),_b(t)),_b(i)),0|(i=0|n[a+68>>2])&&((0|(o=0|n[(t=a+72|0)>>2]))!=(0|i)&&(n[t>>2]=o+(~((o+-4-i|0)>>>2)<<2)),_b(i)),o=0|n[(i=a+64|0)>>2],n[i>>2]=0,0|o&&(0|(i=0|n[o>>2])&&((0|n[(t=o+4|0)>>2])!=(0|i)&&(n[t>>2]=i),_b(i)),_b(o)),_b(a)),a=e+84|0,(0|(t=(e=0|n[(o=e+88|0)>>2])-(i=0|n[a>>2])>>2))>(0|r))y=f;else{if(A=r+1|0,r=e,A>>>0>t>>>0)return function(e,r){r|=0;var i,f,A,t=0,a=0,o=0,b=0,l=0,c=0,u=0,s=0;if(t=0|n[(i=(e|=0)+8|0)>>2],o=a=0|n[(f=e+4|0)>>2],t-a>>2>>>0>=r>>>0){for(b=r,l=o;n[l>>2]=1,b=b+-1|0;)l=l+4|0;n[f>>2]=o+(r<<2)}else{(b=(a=(l=a-(o=0|n[e>>2])|0)>>2)+r|0)>>>0>1073741823&&On(),t=(A=t-o|0)>>1,c=A>>2>>>0<536870911?t>>>0<b>>>0?b:t:1073741823;do{if(c){if(!(c>>>0>1073741823)){u=t=0|Uo(c<<2),s=t;break}_n(t=0|j(8),14941),n[t>>2]=6944,Q(0|t,1080,114)}else u=0,s=0}while(0);for(t=u+(a<<2)|0,a=u+(c<<2)|0,c=r,b=t;n[b>>2]=1,c=c+-1|0;)b=b+4|0;(0|l)>0&&qi(0|s,0|o,0|l),n[e>>2]=u,n[f>>2]=t+(r<<2),n[i>>2]=a,o&&_b(o)}}(a,A-t|0),void(y=f);A>>>0>=t>>>0?y=f:(0|(t=i+(A<<2)|0))!=(0|r)?(n[o>>2]=r+(~((r+-4-t|0)>>>2)<<2),y=f):y=f}},function(e,r,i){var f,A=0;if(bi(e|=0,r|=0,i|=0),i=0|n[e+100>>2],e=A=0|n[e+96>>2],(0|i)!=(0|A)){f=0|n[r>>2],r=(i-A|0)/12|0,A=0;do{n[(i=e+(12*A|0)|0)>>2]=n[f+(n[i>>2]<<2)>>2],n[(i=e+(12*A|0)+4|0)>>2]=n[f+(n[i>>2]<<2)>>2],n[(i=e+(12*A|0)+8|0)>>2]=n[f+(n[i>>2]<<2)>>2],A=A+1|0}while(A>>>0<r>>>0)}},Ti,bi,Ab,Ab],Nb=[Kn,zi,vi,function(e,r,i,f){i|=0,f|=0,0|Zn(e|=0,0|n[8+(r|=0)>>2])&&pa(0,r,i,f)},function(e,r,i,f){i|=0,f|=0;var A=0;0|Zn(e|=0,0|n[8+(r|=0)>>2])?pa(0,r,i,f):(A=0|n[e+8>>2],Nb[7&n[28+(0|n[A>>2])>>2]](A,r,i,f))},Kn,Kn,Kn],Gb=[jn,function(e,r,i,f,t){e|=0,r|=0,i|=0,f|=0;var a=0;do{if(0|Zn(e,0|n[r+8>>2]))mo(0,r,i,f);else if(0|Zn(e,0|n[r>>2])){if((0|n[r+16>>2])!=(0|i)&&(0|n[(a=r+20|0)>>2])!=(0|i)){n[r+32>>2]=f,n[a>>2]=i,n[(a=r+40|0)>>2]=1+(0|n[a>>2]),1==(0|n[r+36>>2])&&2==(0|n[r+24>>2])&&(A[r+54>>0]=1),n[r+44>>2]=4;break}1==(0|f)&&(n[r+32>>2]=1)}}while(0)},function(e,r,i,f,t){e|=0,r|=0,i|=0,f|=0,t|=0;var a=0,o=0,b=0,l=0,c=0,u=0,s=0,k=0;do{if(0|Zn(e,0|n[r+8>>2]))mo(0,r,i,f);else{if(!(0|Zn(e,0|n[r>>2]))){a=0|n[e+8>>2],Gb[3&n[24+(0|n[a>>2])>>2]](a,r,i,f,t);break}if((0|n[r+16>>2])!=(0|i)&&(0|n[(a=r+20|0)>>2])!=(0|i)){if(n[r+32>>2]=f,4==(0|n[(o=r+44|0)>>2]))break;A[(b=r+52|0)>>0]=0,A[(l=r+53|0)>>0]=0,c=0|n[e+8>>2],Fb[3&n[20+(0|n[c>>2])>>2]](c,r,i,i,1,t),0|A[l>>0]?0|A[b>>0]?k=3:(u=3,s=11):(u=4,s=11),11==(0|s)&&(n[a>>2]=i,n[(a=r+40|0)>>2]=1+(0|n[a>>2]),1==(0|n[r+36>>2])&&2==(0|n[r+24>>2])?(A[r+54>>0]=1,k=u):k=u),n[o>>2]=k;break}1==(0|f)&&(n[r+32>>2]=1)}}while(0)},jn],Fb=[Gn,function(e,r,i,f,A,t){i|=0,f|=0,A|=0,0,0|Zn(e|=0,0|n[8+(r|=0)>>2])&&TA(0,r,i,f,A)},function(e,r,i,f,A,t){i|=0,f|=0,A|=0,t|=0;var a=0;0|Zn(e|=0,0|n[8+(r|=0)>>2])?TA(0,r,i,f,A):(a=0|n[e+8>>2],Fb[3&n[20+(0|n[a>>2])>>2]](a,r,i,f,A,t))},Gn];return{___cxa_can_catch:function(e,r,i){var f,A,t;return e|=0,r|=0,i|=0,f=y,y=y+16|0,n[(A=f)>>2]=n[i>>2],(t=0|Zb[31&n[16+(0|n[e>>2])>>2]](e,r,A))&&(n[i>>2]=n[A>>2]),y=f,1&t|0},___cxa_is_pointer_type:function(e){return 0|((e|=0)?0!=(0|sf(e,1024,1112,0))&1:0)},___divdi3:ma,___muldi3:To,___udivdi3:Wn,___uremdi3:Go,_bitshift64Lshr:xo,_bitshift64Shl:So,_emscripten_bind_DracoInt8Array_DracoInt8Array_0:function(){var e;return function(e){n[(e|=0)>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0}(e=0|Uo(12)),0|e},_emscripten_bind_DracoInt8Array_GetValue_1:function(e,r){return(0|gn(e|=0,r|=0))<<24>>24|0},_emscripten_bind_DracoInt8Array___destroy___0:function(e){var r,i=0;(e|=0)&&(0|(r=0|n[e>>2])&&((0|n[(i=e+4|0)>>2])!=(0|r)&&(n[i>>2]=r),_b(r)),_b(e))},_emscripten_bind_DracoInt8Array_size_0:function(e){return(0|n[4+(e|=0)>>2])-(0|n[e>>2])|0},_emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2:function(e,r,i){return 0|If(e|=0,r|=0,i|=0)},_emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3:function(e,r,i,f){return 0|af(e|=0,r|=0,i|=0,f|=0)},_emscripten_bind_Encoder_Encoder_0:function(){var e;return function(e){(function(e){n[(e|=0)>>2]=1136,Cf(e+4|0),n[e+40>>2]=0,n[e+44>>2]=0,n[e>>2]=2944})(e|=0)}(e=0|Uo(48)),0|e},_emscripten_bind_Encoder_GetNumberOfEncodedFaces_0:function(e){return 0|function(e){return 0|n[(e|=0)+44>>2]}(e|=0)},_emscripten_bind_Encoder_GetNumberOfEncodedPoints_0:function(e){return 0|Sn(e|=0)},_emscripten_bind_Encoder_SetAttributeExplicitQuantization_5:function(e,r,i,f,A,t){!function(e,r,i,f,A,t){Ui(e|=0,r|=0,i|=0,f|=0,A|=0,t=g(t))}(e|=0,r|=0,i|=0,f|=0,A|=0,t=g(t))},_emscripten_bind_Encoder_SetAttributeQuantization_2:function(e,r,i){!function(e,r,i){Kt(e|=0,r|=0,i|=0)}(e|=0,r|=0,i|=0)},_emscripten_bind_Encoder_SetEncodingMethod_1:function(e,r){!function(e,r){ca(e|=0,r|=0)}(e|=0,r|=0)},_emscripten_bind_Encoder_SetSpeedOptions_2:function(e,r,i){!function(e,r,i){bn(e|=0,r|=0,i|=0)}(e|=0,r|=0,i|=0)},_emscripten_bind_Encoder_SetTrackEncodedProperties_1:function(e,r){!function(e,r){bA(e|=0,r|=0)}(e|=0,r|=0)},_emscripten_bind_Encoder___destroy___0:function(e){(e|=0)&&(n[e>>2]=1136,zA(e+28|0,0|n[e+32>>2]),XA(e+16|0,0|n[e+20>>2]),zA(e+4|0,0|n[e+8>>2]),_b(e))},_emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2:function(e,r,i){return 0|_f(e|=0,r|=0,i|=0)},_emscripten_bind_ExpertEncoder_ExpertEncoder_1:function(e){var r;return e|=0,function(e,r){r|=0;var i=0,f=0;if(n[(e|=0)>>2]=0,n[e+4>>2]=r,0|r&&0|(i=0|sf(r,992,976,0))){if(wo(f=0|Uo(56),i),i=0|n[e>>2],n[e>>2]=f,!i)return;Eb[127&n[4+(0|n[i>>2])>>2]](i)}else ho(i=0|Uo(56),r),r=0|n[e>>2],n[e>>2]=i,r&&Eb[127&n[4+(0|n[r>>2])>>2]](r)}(r=0|Uo(8),e),0|r},_emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0:function(e){return 0|function(e){return 0|n[44+(0|n[(e|=0)>>2])>>2]}(e|=0)},_emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0:function(e){return 0|function(e){return 0|n[40+(0|n[(e|=0)>>2])>>2]}(e|=0)},_emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5:function(e,r,i,f,A,t){Bo(e|=0,r|=0,i|=0,f|=0,A|=0,t=g(t))},_emscripten_bind_ExpertEncoder_SetAttributeQuantization_2:function(e,r,i){!function(e,r,i){r|=0,i|=0,Kt(0|n[(e|=0)>>2],r,i)}(e|=0,r|=0,i|=0)},_emscripten_bind_ExpertEncoder_SetEncodingMethod_1:function(e,r){!function(e,r){r|=0,ca(0|n[(e|=0)>>2],r)}(e|=0,r|=0)},_emscripten_bind_ExpertEncoder_SetSpeedOptions_2:function(e,r,i){!function(e,r,i){r|=0,i|=0,bn(0|n[(e|=0)>>2],r,i)}(e|=0,r|=0,i|=0)},_emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1:function(e,r){!function(e,r){r|=0,bA(0|n[(e|=0)>>2],r)}(e|=0,r|=0)},_emscripten_bind_ExpertEncoder___destroy___0:function(e){var r;(e|=0)&&(r=0|n[e>>2],n[e>>2]=0,0|r&&Eb[127&n[4+(0|n[r>>2])>>2]](r),_b(e))},_emscripten_bind_GeometryAttribute_GeometryAttribute_0:function(){var e;return qa(e=0|Uo(64)),0|e},_emscripten_bind_GeometryAttribute___destroy___0:Mn,_emscripten_bind_MeshBuilder_AddFacesToMesh_3:function(e,r,i,f){return 0|function(e,r,i,f){e|=0,i|=0,f|=0;var A,t,a,o=0,b=0,l=0,c=0,u=0,s=0,k=0,d=0,_=0;if(e=y,y=y+16|0,!(r|=0))return y=e,0;if(t=r+96|0,a=r+100|0,n[(A=e)>>2]=0,n[A+4>>2]=0,n[A+8>>2]=0,l=((r=0|n[a>>2])-(b=0|n[t>>2])|0)/12|0,c=b,b=r,l>>>0>=i>>>0){if(l>>>0>i>>>0&&(0|(r=c+(12*i|0)|0))!=(0|b)&&(n[a>>2]=b+(12*~(((b+-12-r|0)>>>0)/12|0)|0)),!i)return y=e,1}else Xi(t,i-l|0,A);for(l=0,r=0|n[t>>2];;){if(c=0|n[f+((b=3*l|0)<<2)>>2],u=0|n[f+(b+1<<2)>>2],s=0|n[f+(b+2<<2)>>2],k=l,l=l+1|0,k>>>0<(b=((0|n[a>>2])-r|0)/12|0)>>>0?(d=r,_=r):(n[A>>2]=0,n[A+4>>2]=0,n[A+8>>2]=0,Xi(t,l-b|0,A),d=b=0|n[t>>2],_=b),n[d+(12*k|0)>>2]=c,n[d+(12*k|0)+4>>2]=u,n[d+(12*k|0)+8>>2]=s,(0|l)==(0|i)){o=1;break}r=_}return y=e,0|o}(e|=0,r|=0,i|=0,f|=0)},_emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5:Mo,_emscripten_bind_MeshBuilder_AddFloatAttribute_5:Mo,_emscripten_bind_MeshBuilder_AddInt16Attribute_5:No,_emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5:Yo,_emscripten_bind_MeshBuilder_AddInt32Attribute_5:Yo,_emscripten_bind_MeshBuilder_AddInt8Attribute_5:Fo,_emscripten_bind_MeshBuilder_AddMetadataToMesh_2:function(e,r,i){return 0|function(e,r,i){return 0|WA(0,r|=0,i|=0)}(0,r|=0,i|=0)},_emscripten_bind_MeshBuilder_AddMetadata_2:rn,_emscripten_bind_MeshBuilder_AddUInt16Attribute_5:Wo,_emscripten_bind_MeshBuilder_AddUInt32Attribute_5:Eo,_emscripten_bind_MeshBuilder_AddUInt8Attribute_5:Vo,_emscripten_bind_MeshBuilder_MeshBuilder_0:ob,_emscripten_bind_MeshBuilder_SetMetadataForAttribute_3:Qo,_emscripten_bind_MeshBuilder___destroy___0:Mn,_emscripten_bind_Mesh_Mesh_0:function(){var e;return function(e){var r;Lo(e|=0),n[e>>2]=5840,n[(r=e+84|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,n[r+16>>2]=0,n[r+20>>2]=0}(e=0|Uo(108)),0|e},_emscripten_bind_Mesh___destroy___0:cn,_emscripten_bind_Mesh_num_attributes_0:Bn,_emscripten_bind_Mesh_num_faces_0:function(e){return 0|((0|n[100+(e|=0)>>2])-(0|n[e+96>>2])|0)/12},_emscripten_bind_Mesh_num_points_0:Ln,_emscripten_bind_Mesh_set_num_points_1:function(e,r){r|=0,n[80+(e|=0)>>2]=r},_emscripten_bind_MetadataBuilder_AddDoubleEntry_3:function(e,r,i,f){return 0|mA(e|=0,r|=0,i|=0,f=+f)},_emscripten_bind_MetadataBuilder_AddIntEntry_3:function(e,r,i,f){return 0|ZA(e|=0,r|=0,i|=0,f|=0)},_emscripten_bind_MetadataBuilder_AddStringEntry_3:function(e,r,i,f){return 0|br(e|=0,r|=0,i|=0,f|=0)},_emscripten_bind_MetadataBuilder_MetadataBuilder_0:ob,_emscripten_bind_MetadataBuilder___destroy___0:Mn,_emscripten_bind_Metadata_Metadata_0:function(){var e,r;return e=0|Uo(40),n[e>>2]=0,n[e+4>>2]=0,n[e+8>>2]=0,n[e+12>>2]=0,d[e+16>>2]=g(1),n[(r=e+20|0)>>2]=0,n[r+4>>2]=0,n[r+8>>2]=0,n[r+12>>2]=0,d[e+36>>2]=g(1),0|e},_emscripten_bind_Metadata___destroy___0:function(e){(e|=0)&&(RA(e),_b(e))},_emscripten_bind_PointAttribute_PointAttribute_0:function(){var e;return yo(e=0|Uo(96)),0|e},_emscripten_bind_PointAttribute___destroy___0:function(e){var r=0,i=0,f=0;(e|=0)&&(i=0|n[(r=e+88|0)>>2],n[r>>2]=0,0|i&&(0|(r=0|n[i+8>>2])&&((0|n[(f=i+12|0)>>2])!=(0|r)&&(n[f>>2]=r),_b(r)),_b(i)),0|(i=0|n[e+68>>2])&&((0|(f=0|n[(r=e+72|0)>>2]))!=(0|i)&&(n[r>>2]=f+(~((f+-4-i|0)>>>2)<<2)),_b(i)),f=0|n[(i=e+64|0)>>2],n[i>>2]=0,0|f&&(0|(i=0|n[f>>2])&&((0|n[(r=f+4|0)>>2])!=(0|i)&&(n[r>>2]=i),_b(i)),_b(f)),_b(e))},_emscripten_bind_PointAttribute_attribute_type_0:function(e){return 0|n[56+(e|=0)>>2]},_emscripten_bind_PointAttribute_byte_offset_0:function(e){return 0|n[48+(e|=0)>>2]},_emscripten_bind_PointAttribute_byte_stride_0:Sn,_emscripten_bind_PointAttribute_data_type_0:Jn,_emscripten_bind_PointAttribute_normalized_0:function(e){return 0!=(0|A[32+(e|=0)>>0])|0},_emscripten_bind_PointAttribute_num_components_0:function(e){return 0|A[24+(e|=0)>>0]},_emscripten_bind_PointAttribute_size_0:Ln,_emscripten_bind_PointAttribute_unique_id_0:function(e){return 0|n[60+(e|=0)>>2]},_emscripten_bind_PointCloudBuilder_AddFloatAttribute_5:Mo,_emscripten_bind_PointCloudBuilder_AddInt16Attribute_5:No,_emscripten_bind_PointCloudBuilder_AddInt32Attribute_5:Yo,_emscripten_bind_PointCloudBuilder_AddInt8Attribute_5:Fo,_emscripten_bind_PointCloudBuilder_AddMetadata_2:rn,_emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5:Wo,_emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5:Eo,_emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5:Vo,_emscripten_bind_PointCloudBuilder_PointCloudBuilder_0:ob,_emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3:Qo,_emscripten_bind_PointCloudBuilder___destroy___0:Mn,_emscripten_bind_PointCloud_PointCloud_0:function(){var e;return Lo(e=0|Uo(84)),0|e},_emscripten_bind_PointCloud___destroy___0:cn,_emscripten_bind_PointCloud_num_attributes_0:Bn,_emscripten_bind_PointCloud_num_points_0:Ln,_emscripten_bind_VoidPtr___destroy___0:Mn,_emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE:ab,_emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD:tb,_emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH:bb,_emscripten_enum_draco_GeometryAttribute_Type_COLOR:function(){return 2},_emscripten_enum_draco_GeometryAttribute_Type_GENERIC:function(){return 4},_emscripten_enum_draco_GeometryAttribute_Type_INVALID:ab,_emscripten_enum_draco_GeometryAttribute_Type_NORMAL:bb,_emscripten_enum_draco_GeometryAttribute_Type_POSITION:tb,_emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD:function(){return 3},_emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING:bb,_emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING:tb,_emscripten_replace_memory:function(e){return!(16777215&p(e)||p(e)<=16777215||p(e)>2147483648||(A=new f(e),a=new t(e),n=new o(e),l=new b(e),u=new c(e),new s(e),d=new k(e),h=new _(e),i=e,0))},_free:$,_i64Add:Ho,_i64Subtract:Do,_llvm_bswap_i32:Fn,_malloc:SA,_memcpy:qi,_memmove:no,_memset:IA,_sbrk:io,dynCall_ii:function(e,r){return r|=0,0|yb[127&(e|=0)](0|r)},dynCall_iii:function(e,r,i){return r|=0,i|=0,0|mb[127&(e|=0)](0|r,0|i)},dynCall_iiii:function(e,r,i,f){return r|=0,i|=0,f|=0,0|Zb[31&(e|=0)](0|r,0|i,0|f)},dynCall_iiiiiii:function(e,r,i,f,A,t,a){return r|=0,i|=0,f|=0,A|=0,t|=0,a|=0,0|Rb[31&(e|=0)](0|r,0|i,0|f,0|A,0|t,0|a)},dynCall_v:function(e){Bb[3&(e|=0)]()},dynCall_vi:function(e,r){r|=0,Eb[127&(e|=0)](0|r)},dynCall_vii:function(e,r,i){r|=0,i|=0,Wb[15&(e|=0)](0|r,0|i)},dynCall_viii:function(e,r,i,f){r|=0,i|=0,f|=0,Vb[15&(e|=0)](0|r,0|i,0|f)},dynCall_viiii:function(e,r,i,f,A){r|=0,i|=0,f|=0,A|=0,Nb[7&(e|=0)](0|r,0|i,0|f,0|A)},dynCall_viiiii:function(e,r,i,f,A,t){r|=0,i|=0,f|=0,A|=0,t|=0,Gb[3&(e|=0)](0|r,0|i,0|f,0|A,0|t)},dynCall_viiiiii:function(e,r,i,f,A,t,a){r|=0,i|=0,f|=0,A|=0,t|=0,a|=0,Fb[3&(e|=0)](0|r,0|i,0|f,0|A,0|t,0|a)},establishStackSpace:function(e,r){y=e|=0,0},getTempRet0:function(){return 0|E},runPostSets:function(){},setTempRet0:function(e){E=e|=0},setThrew:function(e,r){0,Z||(Z=e|=0)},stackAlloc:function(e){var r;return r=y,y=15+(y=y+(e|=0)|0)&-16,0|r},stackRestore:function(e){y=e|=0},stackSave:function(){return 0|y}}}(r.asmGlobalArg,r.asmLibraryArg,w),we=(r.___cxa_can_catch=pe.___cxa_can_catch,r.___cxa_is_pointer_type=pe.___cxa_is_pointer_type,r.___divdi3=pe.___divdi3,r.___muldi3=pe.___muldi3,r.___udivdi3=pe.___udivdi3,r.___uremdi3=pe.___uremdi3,r._bitshift64Lshr=pe._bitshift64Lshr,r._bitshift64Shl=pe._bitshift64Shl,r._emscripten_bind_DracoInt8Array_DracoInt8Array_0=pe._emscripten_bind_DracoInt8Array_DracoInt8Array_0),ve=r._emscripten_bind_DracoInt8Array_GetValue_1=pe._emscripten_bind_DracoInt8Array_GetValue_1,ye=r._emscripten_bind_DracoInt8Array___destroy___0=pe._emscripten_bind_DracoInt8Array___destroy___0,me=r._emscripten_bind_DracoInt8Array_size_0=pe._emscripten_bind_DracoInt8Array_size_0,Ze=r._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=pe._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2,Re=r._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=pe._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3,Be=r._emscripten_bind_Encoder_Encoder_0=pe._emscripten_bind_Encoder_Encoder_0,Ee=r._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=pe._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0,We=r._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=pe._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0,Ve=r._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=pe._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5,Ne=r._emscripten_bind_Encoder_SetAttributeQuantization_2=pe._emscripten_bind_Encoder_SetAttributeQuantization_2,Ge=r._emscripten_bind_Encoder_SetEncodingMethod_1=pe._emscripten_bind_Encoder_SetEncodingMethod_1,Fe=r._emscripten_bind_Encoder_SetSpeedOptions_2=pe._emscripten_bind_Encoder_SetSpeedOptions_2,Ue=r._emscripten_bind_Encoder_SetTrackEncodedProperties_1=pe._emscripten_bind_Encoder_SetTrackEncodedProperties_1,ge=r._emscripten_bind_Encoder___destroy___0=pe._emscripten_bind_Encoder___destroy___0,Ye=r._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=pe._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2,Me=r._emscripten_bind_ExpertEncoder_ExpertEncoder_1=pe._emscripten_bind_ExpertEncoder_ExpertEncoder_1,Te=r._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=pe._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0,Ie=r._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=pe._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0,je=r._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=pe._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5,Ce=r._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=pe._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2,Qe=r._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=pe._emscripten_bind_ExpertEncoder_SetEncodingMethod_1,Xe=r._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=pe._emscripten_bind_ExpertEncoder_SetSpeedOptions_2,Je=r._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=pe._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1,ze=r._emscripten_bind_ExpertEncoder___destroy___0=pe._emscripten_bind_ExpertEncoder___destroy___0,Oe=r._emscripten_bind_GeometryAttribute_GeometryAttribute_0=pe._emscripten_bind_GeometryAttribute_GeometryAttribute_0,Se=r._emscripten_bind_GeometryAttribute___destroy___0=pe._emscripten_bind_GeometryAttribute___destroy___0,He=r._emscripten_bind_MeshBuilder_AddFacesToMesh_3=pe._emscripten_bind_MeshBuilder_AddFacesToMesh_3,De=r._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=pe._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5,xe=r._emscripten_bind_MeshBuilder_AddFloatAttribute_5=pe._emscripten_bind_MeshBuilder_AddFloatAttribute_5,Pe=r._emscripten_bind_MeshBuilder_AddInt16Attribute_5=pe._emscripten_bind_MeshBuilder_AddInt16Attribute_5,Le=r._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=pe._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5,Ke=r._emscripten_bind_MeshBuilder_AddInt32Attribute_5=pe._emscripten_bind_MeshBuilder_AddInt32Attribute_5,qe=r._emscripten_bind_MeshBuilder_AddInt8Attribute_5=pe._emscripten_bind_MeshBuilder_AddInt8Attribute_5,$e=r._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=pe._emscripten_bind_MeshBuilder_AddMetadataToMesh_2,er=r._emscripten_bind_MeshBuilder_AddMetadata_2=pe._emscripten_bind_MeshBuilder_AddMetadata_2,rr=r._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=pe._emscripten_bind_MeshBuilder_AddUInt16Attribute_5,ir=r._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=pe._emscripten_bind_MeshBuilder_AddUInt32Attribute_5,fr=r._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=pe._emscripten_bind_MeshBuilder_AddUInt8Attribute_5,Ar=r._emscripten_bind_MeshBuilder_MeshBuilder_0=pe._emscripten_bind_MeshBuilder_MeshBuilder_0,tr=r._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=pe._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3,ar=r._emscripten_bind_MeshBuilder___destroy___0=pe._emscripten_bind_MeshBuilder___destroy___0,or=r._emscripten_bind_Mesh_Mesh_0=pe._emscripten_bind_Mesh_Mesh_0,nr=r._emscripten_bind_Mesh___destroy___0=pe._emscripten_bind_Mesh___destroy___0,br=r._emscripten_bind_Mesh_num_attributes_0=pe._emscripten_bind_Mesh_num_attributes_0,lr=r._emscripten_bind_Mesh_num_faces_0=pe._emscripten_bind_Mesh_num_faces_0,cr=r._emscripten_bind_Mesh_num_points_0=pe._emscripten_bind_Mesh_num_points_0,ur=r._emscripten_bind_Mesh_set_num_points_1=pe._emscripten_bind_Mesh_set_num_points_1,sr=r._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=pe._emscripten_bind_MetadataBuilder_AddDoubleEntry_3,kr=r._emscripten_bind_MetadataBuilder_AddIntEntry_3=pe._emscripten_bind_MetadataBuilder_AddIntEntry_3,dr=r._emscripten_bind_MetadataBuilder_AddStringEntry_3=pe._emscripten_bind_MetadataBuilder_AddStringEntry_3,_r=r._emscripten_bind_MetadataBuilder_MetadataBuilder_0=pe._emscripten_bind_MetadataBuilder_MetadataBuilder_0,hr=r._emscripten_bind_MetadataBuilder___destroy___0=pe._emscripten_bind_MetadataBuilder___destroy___0,pr=r._emscripten_bind_Metadata_Metadata_0=pe._emscripten_bind_Metadata_Metadata_0,wr=r._emscripten_bind_Metadata___destroy___0=pe._emscripten_bind_Metadata___destroy___0,vr=r._emscripten_bind_PointAttribute_PointAttribute_0=pe._emscripten_bind_PointAttribute_PointAttribute_0,yr=r._emscripten_bind_PointAttribute___destroy___0=pe._emscripten_bind_PointAttribute___destroy___0,mr=r._emscripten_bind_PointAttribute_attribute_type_0=pe._emscripten_bind_PointAttribute_attribute_type_0,Zr=r._emscripten_bind_PointAttribute_byte_offset_0=pe._emscripten_bind_PointAttribute_byte_offset_0,Rr=r._emscripten_bind_PointAttribute_byte_stride_0=pe._emscripten_bind_PointAttribute_byte_stride_0,Br=r._emscripten_bind_PointAttribute_data_type_0=pe._emscripten_bind_PointAttribute_data_type_0,Er=r._emscripten_bind_PointAttribute_normalized_0=pe._emscripten_bind_PointAttribute_normalized_0,Wr=r._emscripten_bind_PointAttribute_num_components_0=pe._emscripten_bind_PointAttribute_num_components_0,Vr=r._emscripten_bind_PointAttribute_size_0=pe._emscripten_bind_PointAttribute_size_0,Nr=r._emscripten_bind_PointAttribute_unique_id_0=pe._emscripten_bind_PointAttribute_unique_id_0,Gr=r._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=pe._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5,Fr=r._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5,Ur=r._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5,gr=r._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5,Yr=r._emscripten_bind_PointCloudBuilder_AddMetadata_2=pe._emscripten_bind_PointCloudBuilder_AddMetadata_2,Mr=r._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5,Tr=r._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5,Ir=r._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=pe._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5,jr=r._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=pe._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0,Cr=r._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=pe._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3,Qr=r._emscripten_bind_PointCloudBuilder___destroy___0=pe._emscripten_bind_PointCloudBuilder___destroy___0,Xr=r._emscripten_bind_PointCloud_PointCloud_0=pe._emscripten_bind_PointCloud_PointCloud_0,Jr=r._emscripten_bind_PointCloud___destroy___0=pe._emscripten_bind_PointCloud___destroy___0,zr=r._emscripten_bind_PointCloud_num_attributes_0=pe._emscripten_bind_PointCloud_num_attributes_0,Or=r._emscripten_bind_PointCloud_num_points_0=pe._emscripten_bind_PointCloud_num_points_0,Sr=r._emscripten_bind_VoidPtr___destroy___0=pe._emscripten_bind_VoidPtr___destroy___0,Hr=r._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=pe._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE,Dr=r._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=pe._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD,xr=r._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=pe._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH,Pr=r._emscripten_enum_draco_GeometryAttribute_Type_COLOR=pe._emscripten_enum_draco_GeometryAttribute_Type_COLOR,Lr=r._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=pe._emscripten_enum_draco_GeometryAttribute_Type_GENERIC,Kr=r._emscripten_enum_draco_GeometryAttribute_Type_INVALID=pe._emscripten_enum_draco_GeometryAttribute_Type_INVALID,qr=r._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=pe._emscripten_enum_draco_GeometryAttribute_Type_NORMAL,$r=r._emscripten_enum_draco_GeometryAttribute_Type_POSITION=pe._emscripten_enum_draco_GeometryAttribute_Type_POSITION,ei=r._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=pe._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD,ri=r._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=pe._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING,ii=r._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=pe._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING,fi=r._emscripten_replace_memory=pe._emscripten_replace_memory,Ai=(r._free=pe._free,r._i64Add=pe._i64Add,r._i64Subtract=pe._i64Subtract,r._llvm_bswap_i32=pe._llvm_bswap_i32,r._malloc=pe._malloc),ti=(r._memcpy=pe._memcpy,r._memmove=pe._memmove,r._memset=pe._memset,r._sbrk=pe._sbrk,r.establishStackSpace=pe.establishStackSpace,r.getTempRet0=pe.getTempRet0,r.runPostSets=pe.runPostSets,r.setTempRet0=pe.setTempRet0),ai=(r.setThrew=pe.setThrew,r.stackAlloc=pe.stackAlloc);if(r.stackRestore=pe.stackRestore,r.stackSave=pe.stackSave,r.dynCall_ii=pe.dynCall_ii,r.dynCall_iii=pe.dynCall_iii,r.dynCall_iiii=pe.dynCall_iiii,r.dynCall_iiiiiii=pe.dynCall_iiiiiii,r.dynCall_v=pe.dynCall_v,r.dynCall_vi=pe.dynCall_vi,r.dynCall_vii=pe.dynCall_vii,r.dynCall_viii=pe.dynCall_viii,r.dynCall_viiii=pe.dynCall_viiii,r.dynCall_viiiii=pe.dynCall_viiiii,r.dynCall_viiiiii=pe.dynCall_viiiiii,r.asm=pe,ee)if(ie(ee)||("function"==typeof r.locateFile?ee=r.locateFile(ee):r.memoryInitializerPrefixURL&&(ee=r.memoryInitializerPrefixURL+ee)),l||c){var oi=r.readBinary(ee);y.set(oi,8)}else{K++,r.monitorRunDependencies&&r.monitorRunDependencies(K);var ni=function(e){e.byteLength&&(e=new Uint8Array(e)),y.set(e,8),r.memoryInitializerRequest&&delete r.memoryInitializerRequest.response,function(e){if(K--,r.monitorRunDependencies&&r.monitorRunDependencies(K),0==K&&(null!==q&&(clearInterval(q),q=null),$)){var i=$;$=null,i()}}()};function bi(){r.readAsync(ee,ni,(function(){throw"could not load memory initializer "+ee}))}var li=he(ee);if(li)ni(li.buffer);else if(r.memoryInitializerRequest){function ci(){var e=r.memoryInitializerRequest,i=e.response;if(200!==e.status&&0!==e.status){var f=he(r.memoryInitializerRequestURL);if(!f)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+e.status+", retrying "+ee),void bi();i=f.buffer}ni(i)}r.memoryInitializerRequest.response?setTimeout(ci,0):r.memoryInitializerRequest.addEventListener("load",ci)}else bi()}function ui(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function si(e){function i(){r.calledRun||(r.calledRun=!0,d||(D||(D=!0,X(z)),X(O),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),H.unshift(e);var e;X(H)}()))}e=e||r.arguments,K>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),J.unshift(e);var e;X(J)}(),K>0||r.calledRun||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),i()}),1)):i()))}function ki(e){throw r.onAbort&&r.onAbort(e),void 0!==e?(r.print(e),r.printErr(e),e=JSON.stringify(e)):e="",d=!0,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(r.then=function(e){if(r.calledRun)e(r);else{var i=r.onRuntimeInitialized;r.onRuntimeInitialized=function(){i&&i(),e(r)}}return r},ui.prototype=new Error,ui.prototype.constructor=ui,$=function e(){r.calledRun||si(),r.calledRun||($=e)},r.run=si,r.exit=function(e,i){i&&r.noExitRuntime&&0===e||(r.noExitRuntime||(d=!0,V=void 0,X(S),r.onExit&&r.onExit(e)),l&&process.exit(e),r.quit(e,new ui(e)))},r.abort=ki,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();function di(){}function _i(e){return(e||di).__cache__}function hi(e,r){var i=_i(r),f=i[e];return f||((f=Object.create((r||di).prototype)).ptr=e,i[e]=f)}r.noExitRuntime=!0,si(),di.prototype=Object.create(di.prototype),di.prototype.constructor=di,di.prototype.__class__=di,di.__cache__={},r.WrapperObject=di,r.getCache=_i,r.wrapPointer=hi,r.castObject=function(e,r){return hi(e.ptr,r)},r.NULL=hi(0),r.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete _i(e.__class__)[e.ptr]},r.compare=function(e,r){return e.ptr===r.ptr},r.getPointer=function(e){return e.ptr},r.getClass=function(e){return e.__class__};var pi={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(pi.needed){for(var e=0;e<pi.temps.length;e++)r._free(pi.temps[e]);pi.temps.length=0,r._free(pi.buffer),pi.buffer=0,pi.size+=pi.needed,pi.needed=0}pi.buffer||(pi.size+=128,pi.buffer=r._malloc(pi.size),_(pi.buffer)),pi.pos=0},alloc:function(e,i){_(pi.buffer);var f,A=i.BYTES_PER_ELEMENT,t=e.length*A;return t=t+7&-8,pi.pos+t>=pi.size?(_(t>0),pi.needed+=t,f=r._malloc(t),pi.temps.push(f)):(f=pi.buffer+pi.pos,pi.pos+=t),f},copy:function(e,r,i){var f=i;switch(r.BYTES_PER_ELEMENT){case 2:f>>=1;break;case 4:f>>=2;break;case 8:f>>=3}for(var A=0;A<e.length;A++)r[f+A]=e[A]}};function wi(e){if("string"==typeof e){var r=(A=function(e){for(var r=0,i=0;i<e.length;++i){var f=e.charCodeAt(i);f>=55296&&f<=57343&&(f=65536+((1023&f)<<10)|1023&e.charCodeAt(++i)),f<=127?++r:r+=f<=2047?2:f<=65535?3:f<=2097151?4:f<=67108863?5:6}return r}(f=e)+1,function(e,r,i,f){if(!(f>0))return 0;for(var A=i,t=i+f-1,a=0;a<e.length;++a){var o=e.charCodeAt(a);if(o>=55296&&o<=57343&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++a)),o<=127){if(i>=t)break;r[i++]=o}else if(o<=2047){if(i+1>=t)break;r[i++]=192|o>>6,r[i++]=128|63&o}else if(o<=65535){if(i+2>=t)break;r[i++]=224|o>>12,r[i++]=128|o>>6&63,r[i++]=128|63&o}else if(o<=2097151){if(i+3>=t)break;r[i++]=240|o>>18,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}else if(o<=67108863){if(i+4>=t)break;r[i++]=248|o>>24,r[i++]=128|o>>18&63,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}else{if(i+5>=t)break;r[i++]=252|o>>30,r[i++]=128|o>>24&63,r[i++]=128|o>>18&63,r[i++]=128|o>>12&63,r[i++]=128|o>>6&63,r[i++]=128|63&o}}return r[i]=0,i-A}(f,t=new Array(A),0,t.length),t),i=pi.alloc(r,v);return pi.copy(r,v,i),i}var f,A,t;return e}function vi(e){if("object"==typeof e){var r=pi.alloc(e,v);return pi.copy(e,v,r),r}return e}function yi(e){if("object"==typeof e){var r=pi.alloc(e,m);return pi.copy(e,m,r),r}return e}function mi(e){if("object"==typeof e){var r=pi.alloc(e,Z);return pi.copy(e,Z,r),r}return e}function Zi(e){if("object"==typeof e){var r=pi.alloc(e,R);return pi.copy(e,R,r),r}return e}function Ri(){this.ptr=Xr(),_i(Ri)[this.ptr]=this}function Bi(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=Me(e),_i(Bi)[this.ptr]=this}function Ei(){this.ptr=vr(),_i(Ei)[this.ptr]=this}function Wi(){this.ptr=Be(),_i(Wi)[this.ptr]=this}function Vi(){this.ptr=Ar(),_i(Vi)[this.ptr]=this}function Ni(){this.ptr=we(),_i(Ni)[this.ptr]=this}function Gi(){this.ptr=_r(),_i(Gi)[this.ptr]=this}function Fi(){this.ptr=Oe(),_i(Fi)[this.ptr]=this}function Ui(){this.ptr=or(),_i(Ui)[this.ptr]=this}function gi(){this.ptr=jr(),_i(gi)[this.ptr]=this}function Yi(){throw"cannot construct a VoidPtr, no constructor in IDL"}function Mi(){this.ptr=pr(),_i(Mi)[this.ptr]=this}return Ri.prototype=Object.create(di.prototype),Ri.prototype.constructor=Ri,Ri.prototype.__class__=Ri,Ri.__cache__={},r.PointCloud=Ri,Ri.prototype.num_attributes=Ri.prototype.num_attributes=function(){var e=this.ptr;return zr(e)},Ri.prototype.num_points=Ri.prototype.num_points=function(){var e=this.ptr;return Or(e)},Ri.prototype.__destroy__=Ri.prototype.__destroy__=function(){var e=this.ptr;Jr(e)},Bi.prototype=Object.create(di.prototype),Bi.prototype.constructor=Bi,Bi.prototype.__class__=Bi,Bi.__cache__={},r.ExpertEncoder=Bi,Bi.prototype.SetEncodingMethod=Bi.prototype.SetEncodingMethod=function(e){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Qe(r,e)},Bi.prototype.SetAttributeQuantization=Bi.prototype.SetAttributeQuantization=function(e,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Ce(i,e,r)},Bi.prototype.SetAttributeExplicitQuantization=Bi.prototype.SetAttributeExplicitQuantization=function(e,r,i,f,A){var t=this.ptr;pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),"object"==typeof f&&(f=Zi(f)),A&&"object"==typeof A&&(A=A.ptr),je(t,e,r,i,f,A)},Bi.prototype.SetSpeedOptions=Bi.prototype.SetSpeedOptions=function(e,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Xe(i,e,r)},Bi.prototype.SetTrackEncodedProperties=Bi.prototype.SetTrackEncodedProperties=function(e){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Je(r,e)},Bi.prototype.EncodeToDracoBuffer=Bi.prototype.EncodeToDracoBuffer=function(e,r){var i=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Ye(i,e,r)},Bi.prototype.GetNumberOfEncodedPoints=Bi.prototype.GetNumberOfEncodedPoints=function(){var e=this.ptr;return Ie(e)},Bi.prototype.GetNumberOfEncodedFaces=Bi.prototype.GetNumberOfEncodedFaces=function(){var e=this.ptr;return Te(e)},Bi.prototype.__destroy__=Bi.prototype.__destroy__=function(){var e=this.ptr;ze(e)},Ei.prototype=Object.create(di.prototype),Ei.prototype.constructor=Ei,Ei.prototype.__class__=Ei,Ei.__cache__={},r.PointAttribute=Ei,Ei.prototype.size=Ei.prototype.size=function(){var e=this.ptr;return Vr(e)},Ei.prototype.attribute_type=Ei.prototype.attribute_type=function(){var e=this.ptr;return mr(e)},Ei.prototype.data_type=Ei.prototype.data_type=function(){var e=this.ptr;return Br(e)},Ei.prototype.num_components=Ei.prototype.num_components=function(){var e=this.ptr;return Wr(e)},Ei.prototype.normalized=Ei.prototype.normalized=function(){var e=this.ptr;return!!Er(e)},Ei.prototype.byte_stride=Ei.prototype.byte_stride=function(){var e=this.ptr;return Rr(e)},Ei.prototype.byte_offset=Ei.prototype.byte_offset=function(){var e=this.ptr;return Zr(e)},Ei.prototype.unique_id=Ei.prototype.unique_id=function(){var e=this.ptr;return Nr(e)},Ei.prototype.__destroy__=Ei.prototype.__destroy__=function(){var e=this.ptr;yr(e)},Wi.prototype=Object.create(di.prototype),Wi.prototype.constructor=Wi,Wi.prototype.__class__=Wi,Wi.__cache__={},r.Encoder=Wi,Wi.prototype.SetEncodingMethod=Wi.prototype.SetEncodingMethod=function(e){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Ge(r,e)},Wi.prototype.SetAttributeQuantization=Wi.prototype.SetAttributeQuantization=function(e,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Ne(i,e,r)},Wi.prototype.SetAttributeExplicitQuantization=Wi.prototype.SetAttributeExplicitQuantization=function(e,r,i,f,A){var t=this.ptr;pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),"object"==typeof f&&(f=Zi(f)),A&&"object"==typeof A&&(A=A.ptr),Ve(t,e,r,i,f,A)},Wi.prototype.SetSpeedOptions=Wi.prototype.SetSpeedOptions=function(e,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Fe(i,e,r)},Wi.prototype.SetTrackEncodedProperties=Wi.prototype.SetTrackEncodedProperties=function(e){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Ue(r,e)},Wi.prototype.EncodeMeshToDracoBuffer=Wi.prototype.EncodeMeshToDracoBuffer=function(e,r){var i=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),Ze(i,e,r)},Wi.prototype.EncodePointCloudToDracoBuffer=Wi.prototype.EncodePointCloudToDracoBuffer=function(e,r,i){var f=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),Re(f,e,r,i)},Wi.prototype.GetNumberOfEncodedPoints=Wi.prototype.GetNumberOfEncodedPoints=function(){var e=this.ptr;return We(e)},Wi.prototype.GetNumberOfEncodedFaces=Wi.prototype.GetNumberOfEncodedFaces=function(){var e=this.ptr;return Ee(e)},Wi.prototype.__destroy__=Wi.prototype.__destroy__=function(){var e=this.ptr;ge(e)},Vi.prototype=Object.create(di.prototype),Vi.prototype.constructor=Vi,Vi.prototype.__class__=Vi,Vi.__cache__={},r.MeshBuilder=Vi,Vi.prototype.AddFacesToMesh=Vi.prototype.AddFacesToMesh=function(e,r,i){var f=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),"object"==typeof i&&(i=mi(i)),!!He(f,e,r,i)},Vi.prototype.AddFloatAttributeToMesh=Vi.prototype.AddFloatAttributeToMesh=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=Zi(A)),De(t,e,r,i,f,A)},Vi.prototype.AddInt32AttributeToMesh=Vi.prototype.AddInt32AttributeToMesh=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=mi(A)),Le(t,e,r,i,f,A)},Vi.prototype.AddMetadataToMesh=Vi.prototype.AddMetadataToMesh=function(e,r){var i=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!$e(i,e,r)},Vi.prototype.AddFloatAttribute=Vi.prototype.AddFloatAttribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=Zi(A)),xe(t,e,r,i,f,A)},Vi.prototype.AddInt8Attribute=Vi.prototype.AddInt8Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=vi(A)),qe(t,e,r,i,f,A)},Vi.prototype.AddUInt8Attribute=Vi.prototype.AddUInt8Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=vi(A)),fr(t,e,r,i,f,A)},Vi.prototype.AddInt16Attribute=Vi.prototype.AddInt16Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=yi(A)),Pe(t,e,r,i,f,A)},Vi.prototype.AddUInt16Attribute=Vi.prototype.AddUInt16Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=yi(A)),rr(t,e,r,i,f,A)},Vi.prototype.AddInt32Attribute=Vi.prototype.AddInt32Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=mi(A)),Ke(t,e,r,i,f,A)},Vi.prototype.AddUInt32Attribute=Vi.prototype.AddUInt32Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=mi(A)),ir(t,e,r,i,f,A)},Vi.prototype.AddMetadata=Vi.prototype.AddMetadata=function(e,r){var i=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!er(i,e,r)},Vi.prototype.SetMetadataForAttribute=Vi.prototype.SetMetadataForAttribute=function(e,r,i){var f=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),!!tr(f,e,r,i)},Vi.prototype.__destroy__=Vi.prototype.__destroy__=function(){var e=this.ptr;ar(e)},Ni.prototype=Object.create(di.prototype),Ni.prototype.constructor=Ni,Ni.prototype.__class__=Ni,Ni.__cache__={},r.DracoInt8Array=Ni,Ni.prototype.GetValue=Ni.prototype.GetValue=function(e){var r=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),ve(r,e)},Ni.prototype.size=Ni.prototype.size=function(){var e=this.ptr;return me(e)},Ni.prototype.__destroy__=Ni.prototype.__destroy__=function(){var e=this.ptr;ye(e)},Gi.prototype=Object.create(di.prototype),Gi.prototype.constructor=Gi,Gi.prototype.__class__=Gi,Gi.__cache__={},r.MetadataBuilder=Gi,Gi.prototype.AddStringEntry=Gi.prototype.AddStringEntry=function(e,r,i){var f=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r=r&&"object"==typeof r?r.ptr:wi(r),i=i&&"object"==typeof i?i.ptr:wi(i),!!dr(f,e,r,i)},Gi.prototype.AddIntEntry=Gi.prototype.AddIntEntry=function(e,r,i){var f=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r=r&&"object"==typeof r?r.ptr:wi(r),i&&"object"==typeof i&&(i=i.ptr),!!kr(f,e,r,i)},Gi.prototype.AddDoubleEntry=Gi.prototype.AddDoubleEntry=function(e,r,i){var f=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r=r&&"object"==typeof r?r.ptr:wi(r),i&&"object"==typeof i&&(i=i.ptr),!!sr(f,e,r,i)},Gi.prototype.__destroy__=Gi.prototype.__destroy__=function(){var e=this.ptr;hr(e)},Fi.prototype=Object.create(di.prototype),Fi.prototype.constructor=Fi,Fi.prototype.__class__=Fi,Fi.__cache__={},r.GeometryAttribute=Fi,Fi.prototype.__destroy__=Fi.prototype.__destroy__=function(){var e=this.ptr;Se(e)},Ui.prototype=Object.create(di.prototype),Ui.prototype.constructor=Ui,Ui.prototype.__class__=Ui,Ui.__cache__={},r.Mesh=Ui,Ui.prototype.num_faces=Ui.prototype.num_faces=function(){var e=this.ptr;return lr(e)},Ui.prototype.num_attributes=Ui.prototype.num_attributes=function(){var e=this.ptr;return br(e)},Ui.prototype.num_points=Ui.prototype.num_points=function(){var e=this.ptr;return cr(e)},Ui.prototype.set_num_points=Ui.prototype.set_num_points=function(e){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),ur(r,e)},Ui.prototype.__destroy__=Ui.prototype.__destroy__=function(){var e=this.ptr;nr(e)},gi.prototype=Object.create(di.prototype),gi.prototype.constructor=gi,gi.prototype.__class__=gi,gi.__cache__={},r.PointCloudBuilder=gi,gi.prototype.AddFloatAttribute=gi.prototype.AddFloatAttribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=Zi(A)),Gr(t,e,r,i,f,A)},gi.prototype.AddInt8Attribute=gi.prototype.AddInt8Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=vi(A)),gr(t,e,r,i,f,A)},gi.prototype.AddUInt8Attribute=gi.prototype.AddUInt8Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=vi(A)),Ir(t,e,r,i,f,A)},gi.prototype.AddInt16Attribute=gi.prototype.AddInt16Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=yi(A)),Fr(t,e,r,i,f,A)},gi.prototype.AddUInt16Attribute=gi.prototype.AddUInt16Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=yi(A)),Mr(t,e,r,i,f,A)},gi.prototype.AddInt32Attribute=gi.prototype.AddInt32Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=mi(A)),Ur(t,e,r,i,f,A)},gi.prototype.AddUInt32Attribute=gi.prototype.AddUInt32Attribute=function(e,r,i,f,A){var t=this.ptr;return pi.prepare(),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),f&&"object"==typeof f&&(f=f.ptr),"object"==typeof A&&(A=mi(A)),Tr(t,e,r,i,f,A)},gi.prototype.AddMetadata=gi.prototype.AddMetadata=function(e,r){var i=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!Yr(i,e,r)},gi.prototype.SetMetadataForAttribute=gi.prototype.SetMetadataForAttribute=function(e,r,i){var f=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),i&&"object"==typeof i&&(i=i.ptr),!!Cr(f,e,r,i)},gi.prototype.__destroy__=gi.prototype.__destroy__=function(){var e=this.ptr;Qr(e)},Yi.prototype=Object.create(di.prototype),Yi.prototype.constructor=Yi,Yi.prototype.__class__=Yi,Yi.__cache__={},r.VoidPtr=Yi,Yi.prototype.__destroy__=Yi.prototype.__destroy__=function(){var e=this.ptr;Sr(e)},Mi.prototype=Object.create(di.prototype),Mi.prototype.constructor=Mi,Mi.prototype.__class__=Mi,Mi.__cache__={},r.Metadata=Mi,Mi.prototype.__destroy__=Mi.prototype.__destroy__=function(){var e=this.ptr;wr(e)},function(){function e(){r.MESH_SEQUENTIAL_ENCODING=ii(),r.MESH_EDGEBREAKER_ENCODING=ri(),r.INVALID_GEOMETRY_TYPE=Hr(),r.POINT_CLOUD=Dr(),r.TRIANGULAR_MESH=xr(),r.INVALID=Kr(),r.POSITION=$r(),r.NORMAL=qr(),r.COLOR=Pr(),r.TEX_COORD=ei(),r.GENERIC=Lr()}var i;r.calledRun?e():(i=e,O.unshift(i))}(),"function"==typeof r.onModuleParsed&&r.onModuleParsed(),e};"object"==typeof exports&&"object"==typeof module?module.exports=DracoEncoderModule:"function"==typeof define&&define.amd?define([],(function(){return DracoEncoderModule})):"object"==typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule);