function downloadMidiFromAbc(e,r){var t=abc2midi(e);download(t,r)}function abc2midi(e){var r="in.abc";try{FS.unlink(r)}catch(t){}FS.createDataFile("/",r,e,!0,!0);var i=(Module.ccall("abc2midiC","number",[],[]),"out.mid"),o=FS.stat(i),n=FS.open(i,"r"),a=new Uint8Array(o.size);return FS.read(n,a,0,o.size,0),FS.close(n),a}function download(e,r){var t=document.createElement("a"),i=btoa(String.fromCharCode.apply(null,e));t.setAttribute("href","data:application/octet-stream;base64,"+i),t.setAttribute("download",r),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}function globalEval(e){eval.call(null,e)}function assert(e,r){e||abort("Assertion failed: "+r)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(e){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}function setValue(e,r,t,i){switch(t=t||"i8","*"===t.charAt(t.length-1)&&(t="i32"),t){case"i1":HEAP8[e>>0]=r;break;case"i8":HEAP8[e>>0]=r;break;case"i16":HEAP16[e>>1]=r;break;case"i32":HEAP32[e>>2]=r;break;case"i64":tempI64=[r>>>0,(tempDouble=r,+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=r;break;case"double":HEAPF64[e>>3]=r;break;default:abort("invalid type for setValue: "+t)}}function getValue(e,r,t){switch(r=r||"i8","*"===r.charAt(r.length-1)&&(r="i32"),r){case"i1":return HEAP8[e>>0];case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":return HEAP32[e>>2];case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for setValue: "+r)}return null}function allocate(e,r,t,i){var o,n;"number"==typeof e?(o=!0,n=e):(o=!1,n=e.length);var a,f="string"==typeof r?r:null;if(a=t==ALLOC_NONE?i:[_malloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][void 0===t?ALLOC_STATIC:t](Math.max(n,f?1:r.length)),o){var s,i=a;for(assert(0==(3&a)),s=a+(-4&n);s>i;i+=4)HEAP32[i>>2]=0;for(s=a+n;s>i;)HEAP8[i++>>0]=0;return a}if("i8"===f)return e.subarray||e.slice?HEAPU8.set(e,a):HEAPU8.set(new Uint8Array(e),a),a;for(var u,l,c,d=0;n>d;){var h=e[d];"function"==typeof h&&(h=Runtime.getFunctionIndex(h)),u=f||r[d],0!==u?("i64"==u&&(u="i32"),setValue(a+d,h,u),c!==u&&(l=Runtime.getNativeTypeSize(u),c=u),d+=l):d++}return a}function getMemory(e){return staticSealed?"undefined"!=typeof _sbrk&&!_sbrk.called||!runtimeInitialized?Runtime.dynamicAlloc(e):_malloc(e):Runtime.staticAlloc(e)}function Pointer_stringify(e,r){if(0===r||!e)return"";for(var t,i=0,o=0;;){if(t=HEAPU8[e+o>>0],i|=t,0==t&&!r)break;if(o++,r&&o==r)break}r||(r=o);var n="";if(128>i){for(var a,f=1024;r>0;)a=String.fromCharCode.apply(String,HEAPU8.subarray(e,e+Math.min(r,f))),n=n?n+a:a,e+=f,r-=f;return n}return Module.UTF8ToString(e)}function AsciiToString(e){for(var r="";;){var t=HEAP8[e++>>0];if(!t)return r;r+=String.fromCharCode(t)}}function stringToAscii(e,r){return writeAsciiToMemory(e,r,!1)}function UTF8ArrayToString(e,r){for(var t,i,o,n,a,f,s="";;){if(t=e[r++],!t)return s;if(128&t)if(i=63&e[r++],192!=(224&t))if(o=63&e[r++],224==(240&t)?t=(15&t)<<12|i<<6|o:(n=63&e[r++],240==(248&t)?t=(7&t)<<18|i<<12|o<<6|n:(a=63&e[r++],248==(252&t)?t=(3&t)<<24|i<<18|o<<12|n<<6|a:(f=63&e[r++],t=(1&t)<<30|i<<24|o<<18|n<<12|a<<6|f))),65536>t)s+=String.fromCharCode(t);else{var u=t-65536;s+=String.fromCharCode(55296|u>>10,56320|1023&u)}else s+=String.fromCharCode((31&t)<<6|i);else s+=String.fromCharCode(t)}}function UTF8ToString(e){return UTF8ArrayToString(HEAPU8,e)}function stringToUTF8Array(e,r,t,i){if(!(i>0))return 0;for(var o=t,n=t+i-1,a=0;a<e.length;++a){var f=e.charCodeAt(a);if(f>=55296&&57343>=f&&(f=65536+((1023&f)<<10)|1023&e.charCodeAt(++a)),127>=f){if(t>=n)break;r[t++]=f}else if(2047>=f){if(t+1>=n)break;r[t++]=192|f>>6,r[t++]=128|63&f}else if(65535>=f){if(t+2>=n)break;r[t++]=224|f>>12,r[t++]=128|f>>6&63,r[t++]=128|63&f}else if(2097151>=f){if(t+3>=n)break;r[t++]=240|f>>18,r[t++]=128|f>>12&63,r[t++]=128|f>>6&63,r[t++]=128|63&f}else if(67108863>=f){if(t+4>=n)break;r[t++]=248|f>>24,r[t++]=128|f>>18&63,r[t++]=128|f>>12&63,r[t++]=128|f>>6&63,r[t++]=128|63&f}else{if(t+5>=n)break;r[t++]=252|f>>30,r[t++]=128|f>>24&63,r[t++]=128|f>>18&63,r[t++]=128|f>>12&63,r[t++]=128|f>>6&63,r[t++]=128|63&f}}return r[t]=0,t-o}function stringToUTF8(e,r,t){return stringToUTF8Array(e,HEAPU8,r,t)}function lengthBytesUTF8(e){for(var r=0,t=0;t<e.length;++t){var i=e.charCodeAt(t);i>=55296&&57343>=i&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++t)),127>=i?++r:r+=2047>=i?2:65535>=i?3:2097151>=i?4:67108863>=i?5:6}return r}function UTF16ToString(e){for(var r=0,t="";;){var i=HEAP16[e+2*r>>1];if(0==i)return t;++r,t+=String.fromCharCode(i)}}function stringToUTF16(e,r,t){if(void 0===t&&(t=2147483647),2>t)return 0;t-=2;for(var i=r,o=t<2*e.length?t/2:e.length,n=0;o>n;++n){var a=e.charCodeAt(n);HEAP16[r>>1]=a,r+=2}return HEAP16[r>>1]=0,r-i}function lengthBytesUTF16(e){return 2*e.length}function UTF32ToString(e){for(var r=0,t="";;){var i=HEAP32[e+4*r>>2];if(0==i)return t;if(++r,i>=65536){var o=i-65536;t+=String.fromCharCode(55296|o>>10,56320|1023&o)}else t+=String.fromCharCode(i)}}function stringToUTF32(e,r,t){if(void 0===t&&(t=2147483647),4>t)return 0;for(var i=r,o=i+t-4,n=0;n<e.length;++n){var a=e.charCodeAt(n);if(a>=55296&&57343>=a){var f=e.charCodeAt(++n);a=65536+((1023&a)<<10)|1023&f}if(HEAP32[r>>2]=a,r+=4,r+4>o)break}return HEAP32[r>>2]=0,r-i}function lengthBytesUTF32(e){for(var r=0,t=0;t<e.length;++t){var i=e.charCodeAt(t);i>=55296&&57343>=i&&++t,r+=4}return r}function demangle(e){function r(){s++,"K"===e[s]&&s++;for(var r=[];"E"!==e[s];)if("S"!==e[s])if("C"!==e[s]){var t=parseInt(e.substr(s)),i=t.toString().length;if(!t||!i){s--;break}var o=e.substr(s+i,t);r.push(o),l.push(o),s+=i+t}else r.push(r[r.length-1]),s+=2;else{s++;var n=e.indexOf("_",s),a=e.substring(s,n)||0;r.push(l[a]||"?"),s=n+1}return s++,r}function t(i,o,n){function a(){return"("+d.join(", ")+")"}o=o||1/0;var f,l="",d=[];if("N"===e[s]){if(f=r().join("::"),o--,0===o)return i?[f]:f}else{("K"===e[s]||c&&"L"===e[s])&&s++;var h=parseInt(e.substr(s));if(h){var b=h.toString().length;f=e.substr(s+b,h),s+=b+h}}if(c=!1,"I"===e[s]){s++;var k=t(!0),m=t(!0,1,!0);l+=m[0]+" "+f+"<"+k.join(", ")+">"}else l=f;e:for(;s<e.length&&o-->0;){var p=e[s++];if(p in u)d.push(u[p]);else switch(p){case"P":d.push(t(!0,1,!0)[0]+"*");break;case"R":d.push(t(!0,1,!0)[0]+"&");break;case"L":s++;var E=e.indexOf("E",s),h=E-s;d.push(e.substr(s,h)),s+=h+2;break;case"A":var h=parseInt(e.substr(s));if(s+=h.toString().length,"_"!==e[s])throw"?";s++,d.push(t(!0,1,!0)[0]+" ["+h+"]");break;case"E":break e;default:l+="?"+p;break e}}return n||1!==d.length||"void"!==d[0]||(d=[]),i?(l&&d.push(l+"?"),d):l+a()}var i=!!Module.___cxa_demangle;if(i)try{var o=_malloc(e.length);writeStringToMemory(e.substr(1),o);var n=_malloc(4),a=Module.___cxa_demangle(o,0,0,n);if(0===getValue(n,"i32")&&a)return Pointer_stringify(a)}catch(f){}finally{o&&_free(o),n&&_free(n),a&&_free(a)}var s=3,u={v:"void",b:"bool",c:"char",s:"short",i:"int",l:"long",f:"float",d:"double",w:"wchar_t",a:"signed char",h:"unsigned char",t:"unsigned short",j:"unsigned int",m:"unsigned long",x:"long long",y:"unsigned long long",z:"..."},l=[],c=!0,d=e;try{if("Object._main"==e||"_main"==e)return"main()";if("number"==typeof e&&(e=Pointer_stringify(e)),"_"!==e[0])return e;if("_"!==e[1])return e;if("Z"!==e[2])return e;switch(e[3]){case"n":return"operator new()";case"d":return"operator delete()"}d=t()}catch(f){d+="?"}return d.indexOf("?")>=0&&!i&&Runtime.warnOnce("warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling"),d}function demangleAll(e){return e.replace(/__Z[\w\d_]+/g,function(e){var r=demangle(e);return e===r?e:e+" ["+r+"]"})}function jsStackTrace(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(r){e=r}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}function alignMemoryPage(e){return e%4096>0&&(e+=4096-e%4096),e}function enlargeMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.")}function callRuntimeCallbacks(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.func;"number"==typeof t?void 0===r.arg?Runtime.dynCall("v",t):Runtime.dynCall("vi",t,[r.arg]):t(void 0===r.arg?null:r.arg)}else r()}}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPreMain(e){__ATMAIN__.unshift(e)}function addOnExit(e){__ATEXIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}function intArrayFromString(e,r,t){var i=t>0?t:lengthBytesUTF8(e)+1,o=new Array(i),n=stringToUTF8Array(e,o,0,o.length);return r&&(o.length=n),o}function intArrayToString(e){for(var r=[],t=0;t<e.length;t++){var i=e[t];i>255&&(i&=255),r.push(String.fromCharCode(i))}return r.join("")}function writeStringToMemory(e,r,t){for(var i=intArrayFromString(e,t),o=0;o<i.length;){var n=i[o];HEAP8[r+o>>0]=n,o+=1}}function writeArrayToMemory(e,r){for(var t=0;t<e.length;t++)HEAP8[r++>>0]=e[t]}function writeAsciiToMemory(e,r,t){for(var i=0;i<e.length;++i)HEAP8[r++>>0]=e.charCodeAt(i);t||(HEAP8[r>>0]=0)}function unSign(e,r,t){return e>=0?e:32>=r?2*Math.abs(1<<r-1)+e:Math.pow(2,r)+e}function reSign(e,r,t){if(0>=e)return e;var i=32>=r?Math.abs(1<<r-1):Math.pow(2,r-1);return e>=i&&(32>=r||e>i)&&(e=-2*i+e),e}function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var r=dependenciesFulfilled;dependenciesFulfilled=null,r()}}function copyTempFloat(e){HEAP8[tempDoublePtr]=HEAP8[e],HEAP8[tempDoublePtr+1]=HEAP8[e+1],HEAP8[tempDoublePtr+2]=HEAP8[e+2],HEAP8[tempDoublePtr+3]=HEAP8[e+3]}function copyTempDouble(e){HEAP8[tempDoublePtr]=HEAP8[e],HEAP8[tempDoublePtr+1]=HEAP8[e+1],HEAP8[tempDoublePtr+2]=HEAP8[e+2],HEAP8[tempDoublePtr+3]=HEAP8[e+3],HEAP8[tempDoublePtr+4]=HEAP8[e+4],HEAP8[tempDoublePtr+5]=HEAP8[e+5],HEAP8[tempDoublePtr+6]=HEAP8[e+6],HEAP8[tempDoublePtr+7]=HEAP8[e+7]}function ___setErrNo(e){return HEAP32[___errno_state>>2]=e,e}function _fflush(e){}function _lseek(e,r,t){var i=FS.getStream(e);if(!i)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{return FS.llseek(i,r,t)}catch(o){return FS.handleFSError(o),-1}}function _fileno(e){return e=FS.getStreamFromPtr(e),e?e.fd:-1}function _fseek(e,r,t){var i=_fileno(e),o=_lseek(i,r,t);return-1==o?-1:(e=FS.getStreamFromPtr(e),e.eof=!1,0)}function _sysconf(e){switch(e){case 30:return PAGE_SIZE;case 85:return totalMemory/PAGE_SIZE;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator?navigator.hardwareConcurrency||1:1}return ___setErrNo(ERRNO_CODES.EINVAL),-1}function _close(e){var r=FS.getStream(e);if(!r)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{return FS.close(r),0}catch(t){return FS.handleFSError(t),-1}}function _fclose(e){var r=_fileno(e);return _close(r)}function _strerror_r(e,r,t){if(e in ERRNO_MESSAGES){if(ERRNO_MESSAGES[e].length>t-1)return ___setErrNo(ERRNO_CODES.ERANGE);var i=ERRNO_MESSAGES[e];return writeAsciiToMemory(i,r),0}return ___setErrNo(ERRNO_CODES.EINVAL)}function _strerror(e){return _strerror.buffer||(_strerror.buffer=_malloc(256)),_strerror_r(e,_strerror.buffer,256),_strerror.buffer}function _abort(){Module.abort()}function _mkport(){throw"TODO"}function _send(e,r,t,i){var o=SOCKFS.getSocket(e);return o?_write(e,r,t):(___setErrNo(ERRNO_CODES.EBADF),-1)}function _pwrite(e,r,t,i){var o=FS.getStream(e);if(!o)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{var n=HEAP8;return FS.write(o,n,r,t,i)}catch(a){return FS.handleFSError(a),-1}}function _write(e,r,t){var i=FS.getStream(e);if(!i)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{var o=HEAP8;return FS.write(i,o,r,t)}catch(n){return FS.handleFSError(n),-1}}function _fwrite(e,r,t,i){var o=t*r;if(0==o)return 0;var n=_fileno(i),a=_write(n,e,o);if(-1==a){var f=FS.getStreamFromPtr(i);return f&&(f.error=!0),0}return a/r|0}function __reallyNegative(e){return 0>e||0===e&&1/e===-(1/0)}function __formatString(e,r){function t(e){var t;return f=Runtime.prepVararg(f,e),"double"===e?(HEAP32[tempDoublePtr>>2]=HEAP32[r+f>>2],HEAP32[tempDoublePtr+4>>2]=HEAP32[r+(f+4)>>2],t=+HEAPF64[tempDoublePtr>>3],f+=8):"i64"==e?(t=[HEAP32[r+f>>2],HEAP32[r+(f+4)>>2]],f+=8):(assert(0===(3&f)),e="i32",t=HEAP32[r+f>>2],f+=4),t}assert(0===(3&r));for(var i,o,n,a=e,f=0,s=[];;){var u=a;if(i=HEAP8[a>>0],0===i)break;if(o=HEAP8[a+1>>0],37==i){var l=!1,c=!1,d=!1,h=!1,b=!1;e:for(;;){switch(o){case 43:l=!0;break;case 45:c=!0;break;case 35:d=!0;break;case 48:if(h)break e;h=!0;break;case 32:b=!0;break;default:break e}a++,o=HEAP8[a+1>>0]}var k=0;if(42==o)k=t("i32"),a++,o=HEAP8[a+1>>0];else for(;o>=48&&57>=o;)k=10*k+(o-48),a++,o=HEAP8[a+1>>0];var m=!1,p=-1;if(46==o){if(p=0,m=!0,a++,o=HEAP8[a+1>>0],42==o)p=t("i32"),a++;else for(;;){var E=HEAP8[a+1>>0];if(48>E||E>57)break;p=10*p+(E-48),a++}o=HEAP8[a+1>>0]}0>p&&(p=6,m=!1);var w;switch(String.fromCharCode(o)){case"h":var S=HEAP8[a+2>>0];104==S?(a++,w=1):w=2;break;case"l":var S=HEAP8[a+2>>0];108==S?(a++,w=8):w=4;break;case"L":case"q":case"j":w=8;break;case"z":case"t":case"I":w=4;break;default:w=null}switch(w&&a++,o=HEAP8[a+1>>0],String.fromCharCode(o)){case"d":case"i":case"u":case"o":case"x":case"X":case"p":var v=100==o||105==o;w=w||4;var _,n=t("i"+8*w),g=n;if(8==w&&(n=Runtime.makeBigInt(n[0],n[1],117==o)),4>=w){var y=Math.pow(256,w)-1;n=(v?reSign:unSign)(n&y,8*w)}var F=Math.abs(n),M="";if(100==o||105==o)_=8==w&&i64Math?i64Math.stringify(g[0],g[1],null):reSign(n,8*w,1).toString(10);else if(117==o)_=8==w&&i64Math?i64Math.stringify(g[0],g[1],!0):unSign(n,8*w,1).toString(10),n=Math.abs(n);else if(111==o)_=(d?"0":"")+F.toString(8);else if(120==o||88==o){if(M=d&&0!=n?"0x":"",8==w&&i64Math)if(g[1]){_=(g[1]>>>0).toString(16);for(var O=(g[0]>>>0).toString(16);O.length<8;)O="0"+O;_+=O}else _=(g[0]>>>0).toString(16);else if(0>n){n=-n,_=(F-1).toString(16);for(var A=[],R=0;R<_.length;R++)A.push((15-parseInt(_[R],16)).toString(16));for(_=A.join("");_.length<2*w;)_="f"+_}else _=F.toString(16);88==o&&(M=M.toUpperCase(),_=_.toUpperCase())}else 112==o&&(0===F?_="(nil)":(M="0x",_=F.toString(16)));if(m)for(;_.length<p;)_="0"+_;for(n>=0&&(l?M="+"+M:b&&(M=" "+M)),"-"==_.charAt(0)&&(M="-"+M,_=_.substr(1));M.length+_.length<k;)c?_+=" ":h?_="0"+_:M=" "+M;_=M+_,_.split("").forEach(function(e){s.push(e.charCodeAt(0))});break;case"f":case"F":case"e":case"E":case"g":case"G":var _,n=t("double");if(isNaN(n))_="nan",h=!1;else if(isFinite(n)){var N=!1,T=Math.min(p,20);if(103==o||71==o){N=!0,p=p||1;var D=parseInt(n.toExponential(T).split("e")[1],10);p>D&&D>=-4?(o=(103==o?"f":"F").charCodeAt(0),p-=D+1):(o=(103==o?"e":"E").charCodeAt(0),p--),T=Math.min(p,20)}101==o||69==o?(_=n.toExponential(T),/[eE][-+]\d$/.test(_)&&(_=_.slice(0,-1)+"0"+_.slice(-1))):(102==o||70==o)&&(_=n.toFixed(T),0===n&&__reallyNegative(n)&&(_="-"+_));var P=_.split("e");if(N&&!d)for(;P[0].length>1&&-1!=P[0].indexOf(".")&&("0"==P[0].slice(-1)||"."==P[0].slice(-1));)P[0]=P[0].slice(0,-1);else for(d&&-1==_.indexOf(".")&&(P[0]+=".");p>T++;)P[0]+="0";_=P[0]+(P.length>1?"e"+P[1]:""),69==o&&(_=_.toUpperCase()),n>=0&&(l?_="+"+_:b&&(_=" "+_))}else _=(0>n?"-":"")+"inf",h=!1;for(;_.length<k;)c?_+=" ":_=!h||"-"!=_[0]&&"+"!=_[0]?(h?"0":" ")+_:_[0]+"0"+_.slice(1);97>o&&(_=_.toUpperCase()),_.split("").forEach(function(e){s.push(e.charCodeAt(0))});break;case"s":var C=t("i8*"),L=C?_strlen(C):"(null)".length;if(m&&(L=Math.min(L,p)),!c)for(;L<k--;)s.push(32);if(C)for(var R=0;L>R;R++)s.push(HEAPU8[C++>>0]);else s=s.concat(intArrayFromString("(null)".substr(0,L),!0));if(c)for(;L<k--;)s.push(32);break;case"c":for(c&&s.push(t("i8"));--k>0;)s.push(32);c||s.push(t("i8"));break;case"n":var B=t("i32*");HEAP32[B>>2]=s.length;break;case"%":s.push(i);break;default:for(var R=u;a+2>R;R++)s.push(HEAP8[R>>0])}a+=2}else s.push(i),a+=1}return s}function _fprintf(e,r,t){var i=__formatString(r,t),o=Runtime.stackSave(),n=_fwrite(allocate(i,"i8",ALLOC_STACK),1,i.length,e);return Runtime.stackRestore(o),n}function _printf(e,r){var t=HEAP32[_stdout>>2];return _fprintf(t,e,r)}function _recv(e,r,t,i){var o=SOCKFS.getSocket(e);return o?_read(e,r,t):(___setErrNo(ERRNO_CODES.EBADF),-1)}function _pread(e,r,t,i){var o=FS.getStream(e);if(!o)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{var n=HEAP8;return FS.read(o,n,r,t,i)}catch(a){return FS.handleFSError(a),-1}}function _read(e,r,t){var i=FS.getStream(e);if(!i)return ___setErrNo(ERRNO_CODES.EBADF),-1;try{var o=HEAP8;return FS.read(i,o,r,t)}catch(n){return FS.handleFSError(n),-1}}function _fread(e,r,t,i){var o=t*r;if(0==o)return 0;var n=0,a=FS.getStreamFromPtr(i);if(!a)return ___setErrNo(ERRNO_CODES.EBADF),0;for(;a.ungotten.length&&o>0;)HEAP8[e++>>0]=a.ungotten.pop(),o--,n++;var f=_read(a.fd,e,o);return-1==f?(a&&(a.error=!0),0):(n+=f,o>n&&(a.eof=!0),n/r|0)}function _fgetc(e){var r=FS.getStreamFromPtr(e);if(!r)return-1;if(r.eof||r.error)return-1;var t=_fread(_fgetc.ret,1,1,e);return 0==t?-1:-1==t?(r.error=!0,-1):HEAPU8[_fgetc.ret>>0]}function _fgets(e,r,t){var i=FS.getStreamFromPtr(t);if(!i)return 0;if(i.error||i.eof)return 0;for(var o,n=0;r-1>n&&10!=o;n++){if(o=_fgetc(t),-1==o){if(i.error||i.eof&&0==n)return 0;if(i.eof)break}HEAP8[e+n>>0]=o}return HEAP8[e+n>>0]=0,e}function _open(e,r,t){var i=HEAP32[t>>2];e=Pointer_stringify(e);try{var o=FS.open(e,r,i);return o.fd}catch(n){return FS.handleFSError(n),-1}}function _fopen(e,r){var t;if(r=Pointer_stringify(r),"r"==r[0])t=-1!=r.indexOf("+")?2:0;else if("w"==r[0])t=-1!=r.indexOf("+")?2:1,t|=64,t|=512;else{if("a"!=r[0])return ___setErrNo(ERRNO_CODES.EINVAL),0;t=-1!=r.indexOf("+")?2:1,t|=64,t|=1024}var i=_open(e,t,allocate([511,0,0,0],"i32",ALLOC_STACK));return-1===i?0:FS.getPtrForStream(FS.getStream(i))}function _feof(e){return e=FS.getStreamFromPtr(e),Number(e&&e.eof)}function _fputs(e,r){var t=_fileno(r);return _write(t,e,_strlen(e))}function _fputc(e,r){var t=unSign(255&e);HEAP8[_fputc.ret>>0]=t;var i=_fileno(r),o=_write(i,_fputc.ret,1);if(-1==o){var n=FS.getStreamFromPtr(r);return n&&(n.error=!0),-1}return t}function _puts(e){var r=HEAP32[_stdout>>2],t=_fputs(e,r);if(0>t)return t;var i=_fputc(10,r);return 0>i?-1:t+1}function _getc(){return _fgetc.apply(null,arguments)}function _ftell(e){return e=FS.getStreamFromPtr(e),e?FS.isChrdev(e.node.mode)?(___setErrNo(ERRNO_CODES.ESPIPE),-1):e.position:(___setErrNo(ERRNO_CODES.EBADF),-1)}function _emscripten_set_main_loop_timing(e,r){return Browser.mainLoop.timingMode=e,Browser.mainLoop.timingValue=r,Browser.mainLoop.func?(0==e?(Browser.mainLoop.scheduler=function(){setTimeout(Browser.mainLoop.runner,r)},Browser.mainLoop.method="timeout"):1==e&&(Browser.mainLoop.scheduler=function(){Browser.requestAnimationFrame(Browser.mainLoop.runner)},Browser.mainLoop.method="rAF"),0):1}function _emscripten_set_main_loop(e,r,t,i,o){Module.noExitRuntime=!0,assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Browser.mainLoop.func=e,Browser.mainLoop.arg=i;var n=Browser.mainLoop.currentlyRunningMainloop;if(Browser.mainLoop.runner=function(){if(!ABORT){if(Browser.mainLoop.queue.length>0){var r=(Date.now(),Browser.mainLoop.queue.shift());if(r.func(r.arg),Browser.mainLoop.remainingBlockers){var t=Browser.mainLoop.remainingBlockers,o=t%1==0?t-1:Math.floor(t);r.counted?Browser.mainLoop.remainingBlockers=o:(o+=.5,Browser.mainLoop.remainingBlockers=(8*t+o)/9)}return Browser.mainLoop.updateStatus(),void setTimeout(Browser.mainLoop.runner,0)}if(!(n<Browser.mainLoop.currentlyRunningMainloop)){if(Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0,1==Browser.mainLoop.timingMode&&Browser.mainLoop.timingValue>1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0)return void Browser.mainLoop.scheduler();"timeout"===Browser.mainLoop.method&&Module.ctx&&(Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Browser.mainLoop.method=""),Browser.mainLoop.runIter(function(){"undefined"!=typeof i?Runtime.dynCall("vi",e,[i]):Runtime.dynCall("v",e)}),n<Browser.mainLoop.currentlyRunningMainloop||("object"==typeof SDL&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Browser.mainLoop.scheduler())}}},o||(r&&r>0?_emscripten_set_main_loop_timing(0,1e3/r):_emscripten_set_main_loop_timing(1,1),Browser.mainLoop.scheduler()),t)throw"SimulateInfiniteLoop"}function _putc(){return _fputc.apply(null,arguments)}function __exit(e){Module.exit(e)}function _exit(e){__exit(e)}function _emscripten_memcpy_big(e,r,t){return HEAPU8.set(HEAPU8.subarray(r,r+t),e),e}function _putchar(e){return _fputc(e,HEAP32[_stdout>>2])}function _sbrk(e){var r=_sbrk;r.called||(DYNAMICTOP=alignMemoryPage(DYNAMICTOP),r.called=!0,assert(Runtime.dynamicAlloc),r.alloc=Runtime.dynamicAlloc,Runtime.dynamicAlloc=function(){abort("cannot dynamically allocate, sbrk now has control")});var t=DYNAMICTOP;if(0!=e){var i=r.alloc(e);if(!i)return-1>>>0}return t}function __getFloat(e){return/^[+-]?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?/.exec(e)}function __scanString(e,r,t,i){__scanString.whiteSpace||(__scanString.whiteSpace={},__scanString.whiteSpace[32]=1,__scanString.whiteSpace[9]=1,__scanString.whiteSpace[10]=1,__scanString.whiteSpace[11]=1,__scanString.whiteSpace[12]=1,__scanString.whiteSpace[13]=1),e=Pointer_stringify(e);var o=0;if(e.indexOf("%n")>=0){var n=r;r=function(){return o++,n()};var a=t;t=function(){return o--,a()}}var f,s=0,u=0,l=0;e:for(var s=0;s<e.length;)if("%"!==e[s]||"n"!=e[s+1]){if("%"===e[s]){var c=e.indexOf("c",s+1);if(c>0){var d=1;if(c>s+1){var h=e.substring(s+1,c);d=parseInt(h),d!=h&&(d=0)}if(d){l=Runtime.prepVararg(l,"*");var b=HEAP32[i+l>>2];l+=Runtime.getAlignSize("void*",null,!0),u++;for(var k=0;d>k;k++)if(f=r(),HEAP8[b++>>0]=f,0===f)return k>0?u:u-1;s+=c-s+1;continue}}}if("%"===e[s]&&e.indexOf("[",s+1)>0){var m=/\%([0-9]*)\[(\^)?(\]?[^\]]*)\]/.exec(e.substring(s));if(m){for(var p,E=parseInt(m[1])||1/0,w="^"===m[2],S=m[3];p=/([^\-])\-([^\-])/.exec(S);){for(var v=p[1].charCodeAt(0),_=p[2].charCodeAt(0),g="";_>=v;g+=String.fromCharCode(v++));S=S.replace(p[1]+"-"+p[2],g)}l=Runtime.prepVararg(l,"*");var b=HEAP32[i+l>>2];l+=Runtime.getAlignSize("void*",null,!0),u++;for(var k=0;E>k;k++)if(f=r(),w){if(!(S.indexOf(String.fromCharCode(f))<0)){t();break}HEAP8[b++>>0]=f}else{if(!(S.indexOf(String.fromCharCode(f))>=0)){t();break}HEAP8[b++>>0]=f}HEAP8[b++>>0]=0,s+=m[0].length;continue}}for(;;){if(f=r(),0==f)return u;if(!(f in __scanString.whiteSpace))break}if(t(),"%"===e[s]){s++;var y=!1;"*"==e[s]&&(y=!0,s++);for(var F=s;e[s].charCodeAt(0)>=48&&e[s].charCodeAt(0)<=57;)s++;var M;s!=F&&(M=parseInt(e.slice(F,s),10));var O=!1,A=!1,R=!1,N=!1;"l"==e[s]?(O=!0,s++,"l"==e[s]&&(N=!0,s++)):"h"==e[s]&&(A=!0,s++,"h"==e[s]&&(R=!0,s++));var T=e[s];s++;var D=0,P=[];if("f"==T||"e"==T||"g"==T||"F"==T||"E"==T||"G"==T){for(f=r();f>0&&!(f in __scanString.whiteSpace);)P.push(String.fromCharCode(f)),f=r();for(var C=__getFloat(P.join("")),L=C?C[0].length:0,k=0;k<P.length-L+1;k++)t();P.length=L}else{f=r();var B=!0;if(("x"==T||"X"==T)&&48==f){var I=r();120==I||88==I?f=r():t()}for(;(M>D||isNaN(M))&&f>0&&!(f in __scanString.whiteSpace||"s"!=T&&("d"!==T&&"u"!=T&&"i"!=T||!(f>=48&&57>=f||B&&45==f))&&("x"!==T&&"X"!==T||!(f>=48&&57>=f||f>=97&&102>=f||f>=65&&70>=f)))&&(s>=e.length||f!==e[s].charCodeAt(0));)P.push(String.fromCharCode(f)),f=r(),D++,B=!1;t()}if(0===P.length)return u;if(y)continue;var H=P.join("");l=Runtime.prepVararg(l,"*");var b=HEAP32[i+l>>2];l+=Runtime.getAlignSize("void*",null,!0);var x=10;switch(T){case"X":case"x":x=16;case"d":case"u":case"i":R?HEAP8[b>>0]=parseInt(H,x):A?HEAP16[b>>1]=parseInt(H,x):N?(tempI64=[parseInt(H,x)>>>0,(tempDouble=parseInt(H,x),+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[b>>2]=tempI64[0],HEAP32[b+4>>2]=tempI64[1]):HEAP32[b>>2]=parseInt(H,x);break;case"F":case"f":case"E":case"e":case"G":case"g":case"E":O?HEAPF64[b>>3]=parseFloat(H):HEAPF32[b>>2]=parseFloat(H);break;case"s":for(var U=intArrayFromString(H),z=0;z<U.length;z++)HEAP8[b+z>>0]=U[z]}u++}else if(e[s].charCodeAt(0)in __scanString.whiteSpace){for(f=r();f in __scanString.whiteSpace;){if(0>=f)break e;f=r()}t(f),s++}else{if(f=r(),e[s].charCodeAt(0)!==f){t(f);break e}s++}}else{l=Runtime.prepVararg(l,"*");var b=HEAP32[i+l>>2];l+=Runtime.getAlignSize("void*",null,!0),HEAP32[b>>2]=o,s+=2}return u}function _ungetc(e,r){return(r=FS.getStreamFromPtr(r))?-1===e?e:(e=unSign(255&e),r.ungotten.push(e),r.eof=!1,e):-1}function _fscanf(e,r,t){function i(){var r=_fgetc(e);return a.push(r),r}function o(){_ungetc(a.pop(),e)}var n=FS.getStreamFromPtr(e);if(!n)return-1;var a=[];return __scanString(r,i,o,t)}function ___errno_location(){return ___errno_state}function _time(e){var r=Date.now()/1e3|0;return e&&(HEAP32[e>>2]=r),r}function invoke_i(e){try{return Module.dynCall_i(e)}catch(r){if("number"!=typeof r&&"longjmp"!==r)throw r;asm.setThrew(1,0)}}function invoke_ii(e,r){try{return Module.dynCall_ii(e,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;asm.setThrew(1,0)}}function invoke_iiii(e,r,t,i){try{return Module.dynCall_iiii(e,r,t,i)}catch(o){if("number"!=typeof o&&"longjmp"!==o)throw o;asm.setThrew(1,0)}}function invoke_vi(e,r){try{Module.dynCall_vi(e,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;asm.setThrew(1,0)}}function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function run(e){function r(){Module.calledRun||(Module.calledRun=!0,ABORT||(ensureInitRuntime(),preMain(),ENVIRONMENT_IS_WEB&&null!==preloadStartTime&&Module.printErr("pre-main prep time: "+(Date.now()-preloadStartTime)+" ms"),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(e),postRun()))}e=e||Module.arguments,null===preloadStartTime&&(preloadStartTime=Date.now()),runDependencies>0||(preRun(),runDependencies>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),r()},1)):r()))}function exit(e,r){if(!r||!Module.noExitRuntime)throw Module.noExitRuntime||(ABORT=!0,EXITSTATUS=e,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(e)),ENVIRONMENT_IS_NODE?(process.stdout.once("drain",function(){process.exit(e)}),setTimeout(function(){process.exit(e)},500)):ENVIRONMENT_IS_SHELL&&"function"==typeof quit&&quit(e),new ExitStatus(e)}function abort(e){void 0!==e?(Module.print(e),Module.printErr(e),e=JSON.stringify(e)):e="",ABORT=!0,EXITSTATUS=1;var r="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.",t="abort("+e+") at "+stackTrace()+r;throw abortDecorators&&abortDecorators.forEach(function(r){t=r(t,e)}),t}var Module;Module||(Module=("undefined"!=typeof Module?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_NODE="object"==typeof process&&"function"==typeof require&&!ENVIRONMENT_IS_WEB,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){Module.print||(Module.print=function(e){process.stdout.write(e+"\n")}),Module.printErr||(Module.printErr=function(e){process.stderr.write(e+"\n")});var nodeFS=require("fs"),nodePath=require("path");Module.read=function(e,r){e=nodePath.normalize(e);var t=nodeFS.readFileSync(e);return t||e==nodePath.resolve(e)||(e=path.join(__dirname,"..","src",e),t=nodeFS.readFileSync(e)),t&&!r&&(t=t.toString()),t},Module.readBinary=function(e){return Module.read(e,!0)},Module.load=function(e){globalEval(read(e))},Module.thisProgram||(Module.thisProgram=process.argv.length>1?process.argv[1].replace(/\\/g,"/"):"unknown-program"),Module.arguments=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=Module),process.on("uncaughtException",function(e){if(!(e instanceof ExitStatus))throw e}),Module.inspect=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),Module.read="undefined"!=typeof read?read:function(){throw"no read() available (jsc?)"},Module.readBinary=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var r=read(e,"binary");return assert("object"==typeof r),r},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:"undefined"!=typeof arguments&&(Module.arguments=arguments);else{if(!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER)throw"Unknown runtime environment. Where are we?";if(Module.read=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},"undefined"!=typeof arguments&&(Module.arguments=arguments),"undefined"!=typeof console)Module.print||(Module.print=function(e){}),Module.printErr||(Module.printErr=function(e){});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&"undefined"!=typeof dump?function(e){
dump(e)}:function(e){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),"undefined"==typeof Module.setWindowTitle&&(Module.setWindowTitle=function(e){document.title=e})}!Module.load&&Module.read&&(Module.load=function(e){globalEval(Module.read(e))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[];for(var key in moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);var Runtime={setTempRet0:function(e){tempRet0=e},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(e){STACKTOP=e},getNativeTypeSize:function(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return Runtime.QUANTUM_SIZE;if("i"===e[0]){var r=parseInt(e.substr(1));return assert(r%8===0),r/8}return 0}},getNativeFieldSize:function(e){return Math.max(Runtime.getNativeTypeSize(e),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(e,r){return"double"===r||"i64"===r?7&e&&(assert(4===(7&e)),e+=4):assert(0===(3&e)),e},getAlignSize:function(e,r,t){return t||"i64"!=e&&"double"!=e?e?Math.min(r||(e?Runtime.getNativeFieldSize(e):0),Runtime.QUANTUM_SIZE):Math.min(r,8):8},dynCall:function(e,r,t){return t&&t.length?(t.splice||(t=Array.prototype.slice.call(t)),t.splice(0,0,r),Module["dynCall_"+e].apply(null,t)):Module["dynCall_"+e].call(null,r)},functionPointers:[],addFunction:function(e){for(var r=0;r<Runtime.functionPointers.length;r++)if(!Runtime.functionPointers[r])return Runtime.functionPointers[r]=e,2*(1+r);throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."},removeFunction:function(e){Runtime.functionPointers[(e-2)/2]=null},warnOnce:function(e){Runtime.warnOnce.shown||(Runtime.warnOnce.shown={}),Runtime.warnOnce.shown[e]||(Runtime.warnOnce.shown[e]=1,Module.printErr(e))},funcWrappers:{},getFuncWrapper:function(e,r){assert(r),Runtime.funcWrappers[r]||(Runtime.funcWrappers[r]={});var t=Runtime.funcWrappers[r];return t[e]||(t[e]=function(){return Runtime.dynCall(r,e,arguments)}),t[e]},getCompilerSetting:function(e){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"},stackAlloc:function(e){var r=STACKTOP;return STACKTOP=STACKTOP+e|0,STACKTOP=STACKTOP+15&-16,r},staticAlloc:function(e){var r=STATICTOP;return STATICTOP=STATICTOP+e|0,STATICTOP=STATICTOP+15&-16,r},dynamicAlloc:function(e){var r=DYNAMICTOP;if(DYNAMICTOP=DYNAMICTOP+e|0,DYNAMICTOP=DYNAMICTOP+15&-16,DYNAMICTOP>=TOTAL_MEMORY){var t=enlargeMemory();if(!t)return DYNAMICTOP=r,0}return r},alignMemory:function(e,r){var t=e=Math.ceil(e/(r?r:16))*(r?r:16);return t},makeBigInt:function(e,r,t){var i=t?+(e>>>0)+4294967296*+(r>>>0):+(e>>>0)+4294967296*+(0|r);return i},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var __THREW__=0,ABORT=!1,EXITSTATUS=0,undef=0,tempValue,tempInt,tempBigInt,tempInt2,tempBigInt2,tempPair,tempBigIntI,tempBigIntR,tempBigIntS,tempBigIntP,tempBigIntD,tempDouble,tempFloat,tempI64,tempI64b,tempRet0,tempRet1,tempRet2,tempRet3,tempRet4,tempRet5,tempRet6,tempRet7,tempRet8,tempRet9,globalScope=this,cwrap,ccall;!function(){function parseJSFunc(e){var r=e.toString().match(sourceRegex).slice(1);return{arguments:r[0],body:r[1],returnValue:r[2]}}var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(e){var r=Runtime.stackAlloc(e.length);return writeArrayToMemory(e,r),r},stringToC:function(e){var r=0;return null!==e&&void 0!==e&&0!==e&&(r=Runtime.stackAlloc((e.length<<2)+1),writeStringToMemory(e,r)),r}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(e,r,t,i,o){var n=getCFunc(e),a=[],f=0;if(i)for(var s=0;s<i.length;s++){var u=toC[t[s]];u?(0===f&&(f=Runtime.stackSave()),a[s]=u(i[s])):a[s]=i[s]}var l=n.apply(null,a);if("string"===r&&(l=Pointer_stringify(l)),0!==f){if(o&&o.async)return void EmterpreterAsync.asyncFinalizers.push(function(){Runtime.stackRestore(f)});Runtime.stackRestore(f)}return l};var sourceRegex=/^function\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/,JSsource={};for(var fun in JSfuncs)JSfuncs.hasOwnProperty(fun)&&(JSsource[fun]=parseJSFunc(JSfuncs[fun]));cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident),numericArgs=argTypes.every(function(e){return"number"===e}),numericRet="string"!==returnType;if(numericRet&&numericArgs)return cfunc;var argNames=argTypes.map(function(e,r){return"$"+r}),funcstr="(function("+argNames.join(",")+") {",nargs=argTypes.length;if(!numericArgs){funcstr+="var stack = "+JSsource.stackSave.body+";";for(var i=0;nargs>i;i++){var arg=argNames[i],type=argTypes[i];if("number"!==type){var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";",funcstr+=convertCode.body+";",funcstr+=arg+"="+convertCode.returnValue+";"}}}var cfuncname=parseJSFunc(function(){return cfunc}).returnValue;if(funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");",!numericRet){var strgfy=parseJSFunc(function(){return Pointer_stringify}).returnValue;funcstr+="ret = "+strgfy+"(ret);"}return numericArgs||(funcstr+=JSsource.stackRestore.body.replace("()","(stack)")+";"),funcstr+="return ret})",eval(funcstr)}}(),Module.cwrap=cwrap,Module.ccall=ccall,Module.setValue=setValue,Module.getValue=getValue;var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2,ALLOC_DYNAMIC=3,ALLOC_NONE=4;Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE,Module.allocate=allocate,Module.getMemory=getMemory,Module.Pointer_stringify=Pointer_stringify,Module.AsciiToString=AsciiToString,Module.stringToAscii=stringToAscii,Module.UTF8ArrayToString=UTF8ArrayToString,Module.UTF8ToString=UTF8ToString,Module.stringToUTF8Array=stringToUTF8Array,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.UTF16ToString=UTF16ToString,Module.stringToUTF16=stringToUTF16,Module.lengthBytesUTF16=lengthBytesUTF16,Module.UTF32ToString=UTF32ToString,Module.stringToUTF32=stringToUTF32,Module.lengthBytesUTF32=lengthBytesUTF32,Module.stackTrace=stackTrace;for(var PAGE_SIZE=4096,HEAP,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,STATIC_BASE=0,STATICTOP=0,staticSealed=!1,STACK_BASE=0,STACKTOP=0,STACK_MAX=0,DYNAMIC_BASE=0,DYNAMICTOP=0,TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||16777216,totalMemory=65536;TOTAL_MEMORY>totalMemory||2*TOTAL_STACK>totalMemory;)16777216>totalMemory?totalMemory*=2:totalMemory+=16777216;totalMemory!==TOTAL_MEMORY&&(Module.printErr("increasing TOTAL_MEMORY to "+totalMemory+" to be compliant with the asm.js spec (and given that TOTAL_STACK="+TOTAL_STACK+")"),TOTAL_MEMORY=totalMemory),assert("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&!!new Int32Array(1).subarray&&!!new Int32Array(1).set,"JS engine does not provide full typed array support");var buffer;buffer=new ArrayBuffer(TOTAL_MEMORY),HEAP8=new Int8Array(buffer),HEAP16=new Int16Array(buffer),HEAP32=new Int32Array(buffer),HEAPU8=new Uint8Array(buffer),HEAPU16=new Uint16Array(buffer),HEAPU32=new Uint32Array(buffer),HEAPF32=new Float32Array(buffer),HEAPF64=new Float64Array(buffer),HEAP32[0]=255,assert(255===HEAPU8[0]&&0===HEAPU8[3],"Typed arrays 2 must be run on a little-endian system"),Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;Module.addOnPreRun=Module.addOnPreRun=addOnPreRun,Module.addOnInit=Module.addOnInit=addOnInit,Module.addOnPreMain=Module.addOnPreMain=addOnPreMain,Module.addOnExit=Module.addOnExit=addOnExit,Module.addOnPostRun=Module.addOnPostRun=addOnPostRun,Module.intArrayFromString=intArrayFromString,Module.intArrayToString=intArrayToString,Module.writeStringToMemory=writeStringToMemory,Module.writeArrayToMemory=writeArrayToMemory,Module.writeAsciiToMemory=writeAsciiToMemory,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(e,r){var t=e>>>16,i=65535&e,o=r>>>16,n=65535&r;return i*n+(t*n+i*o<<16)|0}),Math.imul=Math.imul,Math.clz32||(Math.clz32=function(e){e>>>=0;for(var r=0;32>r;r++)if(e&1<<31-r)return r;return 32}),Math.clz32=Math.clz32;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_min=Math.min,Math_clz32=Math.clz32,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var memoryInitializer=null,ASM_CONSTS=[];STATIC_BASE=8,STATICTOP=STATIC_BASE+45920,__ATINIT__.push(),memoryInitializer="abc2midi.js.mem";var tempDoublePtr=Runtime.alignMemory(allocate(12,"i8",ALLOC_STATIC),8);assert(tempDoublePtr%8==0);var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86},ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can   access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},___errno_state=0,PATH={splitPath:function(e){var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return r.exec(e).slice(1)},normalizeArray:function(e,r){for(var t=0,i=e.length-1;i>=0;i--){var o=e[i];"."===o?e.splice(i,1):".."===o?(e.splice(i,1),t++):t&&(e.splice(i,1),t--)}if(r)for(;t--;t)e.unshift("..");return e},normalize:function(e){var r="/"===e.charAt(0),t="/"===e.substr(-1);return e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!r).join("/"),e||r||(e="."),e&&t&&(e+="/"),(r?"/":"")+e},dirname:function(e){var r=PATH.splitPath(e),t=r[0],i=r[1];return t||i?(i&&(i=i.substr(0,i.length-1)),t+i):"."},basename:function(e){if("/"===e)return"/";var r=e.lastIndexOf("/");return-1===r?e:e.substr(r+1)},extname:function(e){return PATH.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return PATH.normalize(e.join("/"))},join2:function(e,r){return PATH.normalize(e+"/"+r)},resolve:function(){for(var e="",r=!1,t=arguments.length-1;t>=-1&&!r;t--){var i=t>=0?arguments[t]:FS.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");if(!i)return"";e=i+"/"+e,r="/"===i.charAt(0)}return e=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!r).join("/"),(r?"/":"")+e||"."},relative:function(e,r){function t(e){for(var r=0;r<e.length&&""===e[r];r++);for(var t=e.length-1;t>=0&&""===e[t];t--);return r>t?[]:e.slice(r,t-r+1)}e=PATH.resolve(e).substr(1),r=PATH.resolve(r).substr(1);for(var i=t(e.split("/")),o=t(r.split("/")),n=Math.min(i.length,o.length),a=n,f=0;n>f;f++)if(i[f]!==o[f]){a=f;break}for(var s=[],f=a;f<i.length;f++)s.push("..");return s=s.concat(o.slice(a)),s.join("/")}},TTY={ttys:[],init:function(){},shutdown:function(){},register:function(e,r){TTY.ttys[e]={input:[],output:[],ops:r},FS.registerDevice(e,TTY.stream_ops)},stream_ops:{open:function(e){var r=TTY.ttys[e.node.rdev];if(!r)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);e.tty=r,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,r,t,i,o){if(!e.tty||!e.tty.ops.get_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var n=0,a=0;i>a;a++){var f;try{f=e.tty.ops.get_char(e.tty)}catch(s){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===f&&0===n)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null===f||void 0===f)break;n++,r[t+a]=f}return n&&(e.node.timestamp=Date.now()),n},write:function(e,r,t,i,o){if(!e.tty||!e.tty.ops.put_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var n=0;i>n;n++)try{e.tty.ops.put_char(e.tty,r[t+n])}catch(a){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return i&&(e.node.timestamp=Date.now()),n}},default_tty_ops:{get_char:function(e){if(!e.input.length){var r=null;if(ENVIRONMENT_IS_NODE){var t=256,i=new Buffer(t),o=0,n=process.stdin.fd,a=!1;try{n=fs.openSync("/dev/stdin","r"),a=!0}catch(f){}o=fs.readSync(n,i,0,t,null),a&&fs.closeSync(n),r=o>0?i.slice(0,o).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(r=window.prompt("Input: "),null!==r&&(r+="\n")):"function"==typeof readline&&(r=readline(),null!==r&&(r+="\n"));if(!r)return null;e.input=intArrayFromString(r,!0)}return e.input.shift()},put_char:function(e,r){null===r||10===r?(Module.print(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(Module.print(UTF8ArrayToString(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,r){null===r||10===r?(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[])}}},MEMFS={ops_table:null,mount:function(e){return MEMFS.createNode(null,"/",16895,0)},createNode:function(e,r,t,i){if(FS.isBlkdev(t)||FS.isFIFO(t))throw new FS.ErrnoError(ERRNO_CODES.EPERM);MEMFS.ops_table||(MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}});var o=FS.createNode(e,r,t,i);return FS.isDir(o.mode)?(o.node_ops=MEMFS.ops_table.dir.node,o.stream_ops=MEMFS.ops_table.dir.stream,o.contents={}):FS.isFile(o.mode)?(o.node_ops=MEMFS.ops_table.file.node,o.stream_ops=MEMFS.ops_table.file.stream,o.usedBytes=0,o.contents=null):FS.isLink(o.mode)?(o.node_ops=MEMFS.ops_table.link.node,o.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(o.mode)&&(o.node_ops=MEMFS.ops_table.chrdev.node,o.stream_ops=MEMFS.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[r]=o),o},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var r=[],t=0;t<e.usedBytes;++t)r.push(e.contents[t]);return r}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array},expandFileStorage:function(e,r){if(e.contents&&e.contents.subarray&&r>e.contents.length&&(e.contents=MEMFS.getFileDataAsRegularArray(e),e.usedBytes=e.contents.length),!e.contents||e.contents.subarray){var t=e.contents?e.contents.buffer.byteLength:0;if(t>=r)return;var i=1048576;r=Math.max(r,t*(i>t?2:1.125)|0),0!=t&&(r=Math.max(r,256));var o=e.contents;return e.contents=new Uint8Array(r),void(e.usedBytes>0&&e.contents.set(o.subarray(0,e.usedBytes),0))}for(!e.contents&&r>0&&(e.contents=[]);e.contents.length<r;)e.contents.push(0)},resizeFileStorage:function(e,r){if(e.usedBytes!=r){if(0==r)return e.contents=null,void(e.usedBytes=0);if(!e.contents||e.contents.subarray){var t=e.contents;return e.contents=new Uint8Array(new ArrayBuffer(r)),t&&e.contents.set(t.subarray(0,Math.min(r,e.usedBytes))),void(e.usedBytes=r)}if(e.contents||(e.contents=[]),e.contents.length>r)e.contents.length=r;else for(;e.contents.length<r;)e.contents.push(0);e.usedBytes=r}},node_ops:{getattr:function(e){var r={};return r.dev=FS.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,r.size=FS.isDir(e.mode)?4096:FS.isFile(e.mode)?e.usedBytes:FS.isLink(e.mode)?e.link.length:0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&MEMFS.resizeFileStorage(e,r.size)},lookup:function(e,r){throw FS.genericErrors[ERRNO_CODES.ENOENT]},mknod:function(e,r,t,i){return MEMFS.createNode(e,r,t,i)},rename:function(e,r,t){if(FS.isDir(e.mode)){var i;try{i=FS.lookupNode(r,t)}catch(o){}if(i)for(var n in i.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete e.parent.contents[e.name],e.name=t,r.contents[t]=e,e.parent=r},unlink:function(e,r){delete e.contents[r]},rmdir:function(e,r){var t=FS.lookupNode(e,r);for(var i in t.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);delete e.contents[r]},readdir:function(e){var r=[".",".."];for(var t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink:function(e,r,t){var i=MEMFS.createNode(e,r,41471,0);return i.link=t,i},readlink:function(e){if(!FS.isLink(e.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return e.link}},stream_ops:{read:function(e,r,t,i,o){var n=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,i);if(assert(a>=0),a>8&&n.subarray)r.set(n.subarray(o,o+a),t);else for(var f=0;a>f;f++)r[t+f]=n[o+f];return a},write:function(e,r,t,i,o,n){if(!i)return 0;var a=e.node;if(a.timestamp=Date.now(),r.subarray&&(!a.contents||a.contents.subarray)){if(n)return a.contents=r.subarray(t,t+i),a.usedBytes=i,i;if(0===a.usedBytes&&0===o)return a.contents=new Uint8Array(r.subarray(t,t+i)),a.usedBytes=i,i;if(o+i<=a.usedBytes)return a.contents.set(r.subarray(t,t+i),o),i}if(MEMFS.expandFileStorage(a,o+i),a.contents.subarray&&r.subarray)a.contents.set(r.subarray(t,t+i),o);else for(var f=0;i>f;f++)a.contents[o+f]=r[t+f];return a.usedBytes=Math.max(a.usedBytes,o+i),i},llseek:function(e,r,t){var i=r;if(1===t?i+=e.position:2===t&&FS.isFile(e.node.mode)&&(i+=e.node.usedBytes),0>i)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return i},allocate:function(e,r,t){MEMFS.expandFileStorage(e.node,r+t),e.node.usedBytes=Math.max(e.node.usedBytes,r+t)},mmap:function(e,r,t,i,o,n,a){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);var f,s,u=e.node.contents;if(2&a||u.buffer!==r&&u.buffer!==r.buffer){if((o>0||o+i<e.node.usedBytes)&&(u=u.subarray?u.subarray(o,o+i):Array.prototype.slice.call(u,o,o+i)),s=!0,f=_malloc(i),!f)throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);r.set(u,f)}else s=!1,f=u.byteOffset;return{ptr:f,allocated:s}},msync:function(e,r,t,i,o){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(2&o)return 0;MEMFS.stream_ops.write(e,r,0,i,t,!1);return 0}}},IDBFS={dbs:{},indexedDB:function(){if("undefined"!=typeof indexedDB)return indexedDB;var e=null;return"object"==typeof window&&(e=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),assert(e,"IDBFS used, but indexedDB not supported"),e},DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function(e){return MEMFS.mount.apply(null,arguments)},syncfs:function(e,r,t){IDBFS.getLocalSet(e,function(i,o){return i?t(i):void IDBFS.getRemoteSet(e,function(e,i){if(e)return t(e);var n=r?i:o,a=r?o:i;IDBFS.reconcile(n,a,t)})})},getDB:function(e,r){var t=IDBFS.dbs[e];if(t)return r(null,t);var i;try{i=IDBFS.indexedDB().open(e,IDBFS.DB_VERSION)}catch(o){return r(o)}i.onupgradeneeded=function(e){var r,t=e.target.result,i=e.target.transaction;r=t.objectStoreNames.contains(IDBFS.DB_STORE_NAME)?i.objectStore(IDBFS.DB_STORE_NAME):t.createObjectStore(IDBFS.DB_STORE_NAME),r.indexNames.contains("timestamp")||r.createIndex("timestamp","timestamp",{unique:!1})},i.onsuccess=function(){t=i.result,IDBFS.dbs[e]=t,r(null,t)},i.onerror=function(e){r(this.error),e.preventDefault()}},getLocalSet:function(e,r){function t(e){return"."!==e&&".."!==e}function i(e){return function(r){return PATH.join2(e,r)}}for(var o={},n=FS.readdir(e.mountpoint).filter(t).map(i(e.mountpoint));n.length;){var a,f=n.pop();try{a=FS.stat(f)}catch(s){return r(s)}FS.isDir(a.mode)&&n.push.apply(n,FS.readdir(f).filter(t).map(i(f))),o[f]={timestamp:a.mtime}}return r(null,{type:"local",entries:o})},getRemoteSet:function(e,r){var t={};IDBFS.getDB(e.mountpoint,function(e,i){if(e)return r(e);var o=i.transaction([IDBFS.DB_STORE_NAME],"readonly");o.onerror=function(e){r(this.error),e.preventDefault()};var n=o.objectStore(IDBFS.DB_STORE_NAME),a=n.index("timestamp");a.openKeyCursor().onsuccess=function(e){var o=e.target.result;return o?(t[o.primaryKey]={timestamp:o.key},void o["continue"]()):r(null,{type:"remote",db:i,entries:t})}})},loadLocalEntry:function(e,r){var t,i;try{var o=FS.lookupPath(e);i=o.node,t=FS.stat(e)}catch(n){return r(n)}return FS.isDir(t.mode)?r(null,{timestamp:t.mtime,mode:t.mode}):FS.isFile(t.mode)?(i.contents=MEMFS.getFileDataAsTypedArray(i),r(null,{timestamp:t.mtime,mode:t.mode,contents:i.contents})):r(new Error("node type not supported"))},storeLocalEntry:function(e,r,t){try{if(FS.isDir(r.mode))FS.mkdir(e,r.mode);else{if(!FS.isFile(r.mode))return t(new Error("node type not supported"));FS.writeFile(e,r.contents,{encoding:"binary",canOwn:!0})}FS.chmod(e,r.mode),FS.utime(e,r.timestamp,r.timestamp)}catch(i){return t(i)}t(null)},removeLocalEntry:function(e,r){try{var t=(FS.lookupPath(e),FS.stat(e));FS.isDir(t.mode)?FS.rmdir(e):FS.isFile(t.mode)&&FS.unlink(e)}catch(i){return r(i)}r(null)},loadRemoteEntry:function(e,r,t){var i=e.get(r);i.onsuccess=function(e){t(null,e.target.result)},i.onerror=function(e){t(this.error),e.preventDefault()}},storeRemoteEntry:function(e,r,t,i){var o=e.put(t,r);o.onsuccess=function(){i(null)},o.onerror=function(e){i(this.error),e.preventDefault()}},removeRemoteEntry:function(e,r,t){var i=e["delete"](r);i.onsuccess=function(){t(null)},i.onerror=function(e){t(this.error),e.preventDefault()}},reconcile:function(e,r,t){function i(e){return e?i.errored?void 0:(i.errored=!0,t(e)):++f>=o?t(null):void 0}var o=0,n=[];Object.keys(e.entries).forEach(function(t){var i=e.entries[t],a=r.entries[t];(!a||i.timestamp>a.timestamp)&&(n.push(t),o++)});var a=[];if(Object.keys(r.entries).forEach(function(t){var i=(r.entries[t],e.entries[t]);i||(a.push(t),o++)}),!o)return t(null);var f=0,s="remote"===e.type?e.db:r.db,u=s.transaction([IDBFS.DB_STORE_NAME],"readwrite"),l=u.objectStore(IDBFS.DB_STORE_NAME);u.onerror=function(e){i(this.error),e.preventDefault()},n.sort().forEach(function(e){"local"===r.type?IDBFS.loadRemoteEntry(l,e,function(r,t){return r?i(r):void IDBFS.storeLocalEntry(e,t,i)}):IDBFS.loadLocalEntry(e,function(r,t){return r?i(r):void IDBFS.storeRemoteEntry(l,e,t,i)})}),a.sort().reverse().forEach(function(e){"local"===r.type?IDBFS.removeLocalEntry(e,i):IDBFS.removeRemoteEntry(l,e,i)})}},NODEFS={isWindows:!1,staticInit:function(){NODEFS.isWindows=!!process.platform.match(/^win/)},mount:function(e){return assert(ENVIRONMENT_IS_NODE),NODEFS.createNode(null,"/",NODEFS.getMode(e.opts.root),0)},createNode:function(e,r,t,i){if(!FS.isDir(t)&&!FS.isFile(t)&&!FS.isLink(t))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var o=FS.createNode(e,r,t);return o.node_ops=NODEFS.node_ops,o.stream_ops=NODEFS.stream_ops,o},getMode:function(e){var r;try{r=fs.lstatSync(e),NODEFS.isWindows&&(r.mode=r.mode|(146&r.mode)>>1)}catch(t){if(!t.code)throw t;throw new FS.ErrnoError(ERRNO_CODES[t.code])}return r.mode},realPath:function(e){for(var r=[];e.parent!==e;)r.push(e.name),e=e.parent;return r.push(e.mount.opts.root),r.reverse(),PATH.join.apply(null,r)},flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:function(e){return e in NODEFS.flagsToPermissionStringMap?NODEFS.flagsToPermissionStringMap[e]:e},node_ops:{getattr:function(e){var r,t=NODEFS.realPath(e);try{r=fs.lstatSync(t)}catch(i){if(!i.code)throw i;throw new FS.ErrnoError(ERRNO_CODES[i.code])}return NODEFS.isWindows&&!r.blksize&&(r.blksize=4096),NODEFS.isWindows&&!r.blocks&&(r.blocks=(r.size+r.blksize-1)/r.blksize|0),{dev:r.dev,ino:r.ino,mode:r.mode,nlink:r.nlink,uid:r.uid,gid:r.gid,rdev:r.rdev,size:r.size,atime:r.atime,mtime:r.mtime,ctime:r.ctime,blksize:r.blksize,blocks:r.blocks}},setattr:function(e,r){var t=NODEFS.realPath(e);try{if(void 0!==r.mode&&(fs.chmodSync(t,r.mode),e.mode=r.mode),void 0!==r.timestamp){var i=new Date(r.timestamp);fs.utimesSync(t,i,i)}void 0!==r.size&&fs.truncateSync(t,r.size)}catch(o){if(!o.code)throw o;throw new FS.ErrnoError(ERRNO_CODES[o.code])}},lookup:function(e,r){var t=PATH.join2(NODEFS.realPath(e),r),i=NODEFS.getMode(t);return NODEFS.createNode(e,r,i)},mknod:function(e,r,t,i){var o=NODEFS.createNode(e,r,t,i),n=NODEFS.realPath(o);try{FS.isDir(o.mode)?fs.mkdirSync(n,o.mode):fs.writeFileSync(n,"",{mode:o.mode})}catch(a){if(!a.code)throw a;throw new FS.ErrnoError(ERRNO_CODES[a.code])}return o},rename:function(e,r,t){var i=NODEFS.realPath(e),o=PATH.join2(NODEFS.realPath(r),t);try{fs.renameSync(i,o)}catch(n){if(!n.code)throw n;throw new FS.ErrnoError(ERRNO_CODES[n.code])}},unlink:function(e,r){var t=PATH.join2(NODEFS.realPath(e),r);try{fs.unlinkSync(t)}catch(i){if(!i.code)throw i;throw new FS.ErrnoError(ERRNO_CODES[i.code])}},rmdir:function(e,r){var t=PATH.join2(NODEFS.realPath(e),r);try{fs.rmdirSync(t)}catch(i){if(!i.code)throw i;throw new FS.ErrnoError(ERRNO_CODES[i.code])}},readdir:function(e){var r=NODEFS.realPath(e);try{return fs.readdirSync(r)}catch(t){if(!t.code)throw t;throw new FS.ErrnoError(ERRNO_CODES[t.code])}},symlink:function(e,r,t){var i=PATH.join2(NODEFS.realPath(e),r);try{fs.symlinkSync(t,i)}catch(o){if(!o.code)throw o;throw new FS.ErrnoError(ERRNO_CODES[o.code])}},readlink:function(e){var r=NODEFS.realPath(e);try{return r=fs.readlinkSync(r),r=NODEJS_PATH.relative(NODEJS_PATH.resolve(e.mount.opts.root),r)}catch(t){if(!t.code)throw t;throw new FS.ErrnoError(ERRNO_CODES[t.code])}}},stream_ops:{open:function(e){var r=NODEFS.realPath(e.node);try{FS.isFile(e.node.mode)&&(e.nfd=fs.openSync(r,NODEFS.flagsToPermissionString(e.flags)))}catch(t){if(!t.code)throw t;throw new FS.ErrnoError(ERRNO_CODES[t.code])}},close:function(e){try{FS.isFile(e.node.mode)&&e.nfd&&fs.closeSync(e.nfd)}catch(r){if(!r.code)throw r;throw new FS.ErrnoError(ERRNO_CODES[r.code])}},read:function(e,r,t,i,o){if(0===i)return 0;var n,a=new Buffer(i);try{n=fs.readSync(e.nfd,a,0,i,o)}catch(f){throw new FS.ErrnoError(ERRNO_CODES[f.code])}if(n>0)for(var s=0;n>s;s++)r[t+s]=a[s];return n},write:function(e,r,t,i,o){var n,a=new Buffer(r.subarray(t,t+i));try{n=fs.writeSync(e.nfd,a,0,i,o)}catch(f){throw new FS.ErrnoError(ERRNO_CODES[f.code])}return n},llseek:function(e,r,t){var i=r;if(1===t)i+=e.position;else if(2===t&&FS.isFile(e.node.mode))try{var o=fs.fstatSync(e.nfd);i+=o.size}catch(n){throw new FS.ErrnoError(ERRNO_CODES[n.code])}if(0>i)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);

return i}}},_stdin=allocate(1,"i32*",ALLOC_STATIC),_stdout=allocate(1,"i32*",ALLOC_STATIC),_stderr=allocate(1,"i32*",ALLOC_STATIC),FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(e,r){if(e=PATH.resolve(FS.cwd(),e),r=r||{},!e)return{path:"",node:null};var t={follow_mount:!0,recurse_count:0};for(var i in t)void 0===r[i]&&(r[i]=t[i]);if(r.recurse_count>8)throw new FS.ErrnoError(ERRNO_CODES.ELOOP);for(var o=PATH.normalizeArray(e.split("/").filter(function(e){return!!e}),!1),n=FS.root,a="/",f=0;f<o.length;f++){var s=f===o.length-1;if(s&&r.parent)break;if(n=FS.lookupNode(n,o[f]),a=PATH.join2(a,o[f]),FS.isMountpoint(n)&&(!s||s&&r.follow_mount)&&(n=n.mounted.root),!s||r.follow)for(var u=0;FS.isLink(n.mode);){var l=FS.readlink(a);a=PATH.resolve(PATH.dirname(a),l);var c=FS.lookupPath(a,{recurse_count:r.recurse_count});if(n=c.node,u++>40)throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}return{path:a,node:n}},getPath:function(e){for(var r;;){if(FS.isRoot(e)){var t=e.mount.mountpoint;return r?"/"!==t[t.length-1]?t+"/"+r:t+r:t}r=r?e.name+"/"+r:e.name,e=e.parent}},hashName:function(e,r){for(var t=0,i=0;i<r.length;i++)t=(t<<5)-t+r.charCodeAt(i)|0;return(e+t>>>0)%FS.nameTable.length},hashAddNode:function(e){var r=FS.hashName(e.parent.id,e.name);e.name_next=FS.nameTable[r],FS.nameTable[r]=e},hashRemoveNode:function(e){var r=FS.hashName(e.parent.id,e.name);if(FS.nameTable[r]===e)FS.nameTable[r]=e.name_next;else for(var t=FS.nameTable[r];t;){if(t.name_next===e){t.name_next=e.name_next;break}t=t.name_next}},lookupNode:function(e,r){var t=FS.mayLookup(e);if(t)throw new FS.ErrnoError(t,e);for(var i=FS.hashName(e.id,r),o=FS.nameTable[i];o;o=o.name_next){var n=o.name;if(o.parent.id===e.id&&n===r)return o}return FS.lookup(e,r)},createNode:function(e,r,t,i){if(!FS.FSNode){FS.FSNode=function(e,r,t,i){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=FS.nextInode++,this.name=r,this.mode=t,this.node_ops={},this.stream_ops={},this.rdev=i},FS.FSNode.prototype={};var o=365,n=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:function(){return(this.mode&o)===o},set:function(e){e?this.mode|=o:this.mode&=~o}},write:{get:function(){return(this.mode&n)===n},set:function(e){e?this.mode|=n:this.mode&=~n}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}})}var a=new FS.FSNode(e,r,t,i);return FS.hashAddNode(a),a},destroyNode:function(e){FS.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768===(61440&e)},isDir:function(e){return 16384===(61440&e)},isLink:function(e){return 40960===(61440&e)},isChrdev:function(e){return 8192===(61440&e)},isBlkdev:function(e){return 24576===(61440&e)},isFIFO:function(e){return 4096===(61440&e)},isSocket:function(e){return 49152===(49152&e)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(e){var r=FS.flagModes[e];if("undefined"==typeof r)throw new Error("Unknown file open mode: "+e);return r},flagsToPermissionString:function(e){var r=2097155&e,t=["r","w","rw"][r];return 512&e&&(t+="w"),t},nodePermissions:function(e,r){return FS.ignorePermissions?0:(-1===r.indexOf("r")||292&e.mode)&&(-1===r.indexOf("w")||146&e.mode)&&(-1===r.indexOf("x")||73&e.mode)?0:ERRNO_CODES.EACCES},mayLookup:function(e){var r=FS.nodePermissions(e,"x");return r?r:e.node_ops.lookup?0:ERRNO_CODES.EACCES},mayCreate:function(e,r){try{{FS.lookupNode(e,r)}return ERRNO_CODES.EEXIST}catch(t){}return FS.nodePermissions(e,"wx")},mayDelete:function(e,r,t){var i;try{i=FS.lookupNode(e,r)}catch(o){return o.errno}var n=FS.nodePermissions(e,"wx");if(n)return n;if(t){if(!FS.isDir(i.mode))return ERRNO_CODES.ENOTDIR;if(FS.isRoot(i)||FS.getPath(i)===FS.cwd())return ERRNO_CODES.EBUSY}else if(FS.isDir(i.mode))return ERRNO_CODES.EISDIR;return 0},mayOpen:function(e,r){return e?FS.isLink(e.mode)?ERRNO_CODES.ELOOP:FS.isDir(e.mode)&&(0!==(2097155&r)||512&r)?ERRNO_CODES.EISDIR:FS.nodePermissions(e,FS.flagsToPermissionString(r)):ERRNO_CODES.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(e,r){e=e||0,r=r||FS.MAX_OPEN_FDS;for(var t=e;r>=t;t++)if(!FS.streams[t])return t;throw new FS.ErrnoError(ERRNO_CODES.EMFILE)},getStream:function(e){return FS.streams[e]},createStream:function(e,r,t){FS.FSStream||(FS.FSStream=function(){},FS.FSStream.prototype={},Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!==(2097155&this.flags)}},isWrite:{get:function(){return 0!==(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var i=new FS.FSStream;for(var o in e)i[o]=e[o];e=i;var n=FS.nextfd(r,t);return e.fd=n,FS.streams[n]=e,e},closeStream:function(e){FS.streams[e]=null},getStreamFromPtr:function(e){return FS.streams[e-1]},getPtrForStream:function(e){return e?e.fd+1:0},chrdev_stream_ops:{open:function(e){var r=FS.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,r){return e<<8|r},registerDevice:function(e,r){FS.devices[e]={stream_ops:r}},getDevice:function(e){return FS.devices[e]},getMounts:function(e){for(var r=[],t=[e];t.length;){var i=t.pop();r.push(i),t.push.apply(t,i.mounts)}return r},syncfs:function(e,r){function t(e){if(e){if(!t.errored)return t.errored=!0,r(e)}else++o>=i.length&&r(null)}"function"==typeof e&&(r=e,e=!1);var i=FS.getMounts(FS.root.mount),o=0;i.forEach(function(r){return r.type.syncfs?void r.type.syncfs(r,e,t):t(null)})},mount:function(e,r,t){var i,o="/"===t,n=!t;if(o&&FS.root)throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!o&&!n){var a=FS.lookupPath(t,{follow_mount:!1});if(t=a.path,i=a.node,FS.isMountpoint(i))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!FS.isDir(i.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var f={type:e,opts:r,mountpoint:t,mounts:[]},s=e.mount(f);return s.mount=f,f.root=s,o?FS.root=s:i&&(i.mounted=f,i.mount&&i.mount.mounts.push(f)),s},unmount:function(e){var r=FS.lookupPath(e,{follow_mount:!1});if(!FS.isMountpoint(r.node))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var t=r.node,i=t.mounted,o=FS.getMounts(i);Object.keys(FS.nameTable).forEach(function(e){for(var r=FS.nameTable[e];r;){var t=r.name_next;-1!==o.indexOf(r.mount)&&FS.destroyNode(r),r=t}}),t.mounted=null;var n=t.mount.mounts.indexOf(i);assert(-1!==n),t.mount.mounts.splice(n,1)},lookup:function(e,r){return e.node_ops.lookup(e,r)},mknod:function(e,r,t){var i=FS.lookupPath(e,{parent:!0}),o=i.node,n=PATH.basename(e);if(!n||"."===n||".."===n)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var a=FS.mayCreate(o,n);if(a)throw new FS.ErrnoError(a);if(!o.node_ops.mknod)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return o.node_ops.mknod(o,n,r,t)},create:function(e,r){return r=void 0!==r?r:438,r&=4095,r|=32768,FS.mknod(e,r,0)},mkdir:function(e,r){return r=void 0!==r?r:511,r&=1023,r|=16384,FS.mknod(e,r,0)},mkdev:function(e,r,t){return"undefined"==typeof t&&(t=r,r=438),r|=8192,FS.mknod(e,r,t)},symlink:function(e,r){if(!PATH.resolve(e))throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var t=FS.lookupPath(r,{parent:!0}),i=t.node;if(!i)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var o=PATH.basename(r),n=FS.mayCreate(i,o);if(n)throw new FS.ErrnoError(n);if(!i.node_ops.symlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return i.node_ops.symlink(i,o,e)},rename:function(e,r){var t,i,o,n=PATH.dirname(e),a=PATH.dirname(r),f=PATH.basename(e),s=PATH.basename(r);try{t=FS.lookupPath(e,{parent:!0}),i=t.node,t=FS.lookupPath(r,{parent:!0}),o=t.node}catch(u){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!i||!o)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(i.mount!==o.mount)throw new FS.ErrnoError(ERRNO_CODES.EXDEV);var l=FS.lookupNode(i,f),c=PATH.relative(e,a);if("."!==c.charAt(0))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(c=PATH.relative(r,n),"."!==c.charAt(0))throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);var d;try{d=FS.lookupNode(o,s)}catch(u){}if(l!==d){var h=FS.isDir(l.mode),b=FS.mayDelete(i,f,h);if(b)throw new FS.ErrnoError(b);if(b=d?FS.mayDelete(o,s,h):FS.mayCreate(o,s))throw new FS.ErrnoError(b);if(!i.node_ops.rename)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(l)||d&&FS.isMountpoint(d))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(o!==i&&(b=FS.nodePermissions(i,"w")))throw new FS.ErrnoError(b);try{FS.trackingDelegate.willMovePath&&FS.trackingDelegate.willMovePath(e,r)}catch(u){}FS.hashRemoveNode(l);try{i.node_ops.rename(l,o,s)}catch(u){throw u}finally{FS.hashAddNode(l)}try{FS.trackingDelegate.onMovePath&&FS.trackingDelegate.onMovePath(e,r)}catch(u){}}},rmdir:function(e){var r=FS.lookupPath(e,{parent:!0}),t=r.node,i=PATH.basename(e),o=FS.lookupNode(t,i),n=FS.mayDelete(t,i,!0);if(n)throw new FS.ErrnoError(n);if(!t.node_ops.rmdir)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(o))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(a){}t.node_ops.rmdir(t,i),FS.destroyNode(o);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(a){}},readdir:function(e){var r=FS.lookupPath(e,{follow:!0}),t=r.node;if(!t.node_ops.readdir)throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);return t.node_ops.readdir(t)},unlink:function(e){var r=FS.lookupPath(e,{parent:!0}),t=r.node,i=PATH.basename(e),o=FS.lookupNode(t,i),n=FS.mayDelete(t,i,!1);if(n)throw n===ERRNO_CODES.EISDIR&&(n=ERRNO_CODES.EPERM),new FS.ErrnoError(n);if(!t.node_ops.unlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(o))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(a){}t.node_ops.unlink(t,i),FS.destroyNode(o);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(a){}},readlink:function(e){var r=FS.lookupPath(e),t=r.node;if(!t)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!t.node_ops.readlink)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return PATH.resolve(FS.getPath(r.node.parent),t.node_ops.readlink(t))},stat:function(e,r){var t=FS.lookupPath(e,{follow:!r}),i=t.node;if(!i)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!i.node_ops.getattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return i.node_ops.getattr(i)},lstat:function(e){return FS.stat(e,!0)},chmod:function(e,r,t){var i;if("string"==typeof e){var o=FS.lookupPath(e,{follow:!t});i=o.node}else i=e;if(!i.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);i.node_ops.setattr(i,{mode:4095&r|-4096&i.mode,timestamp:Date.now()})},lchmod:function(e,r){FS.chmod(e,r,!0)},fchmod:function(e,r){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chmod(t.node,r)},chown:function(e,r,t,i){var o;if("string"==typeof e){var n=FS.lookupPath(e,{follow:!i});o=n.node}else o=e;if(!o.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,r,t){FS.chown(e,r,t,!0)},fchown:function(e,r,t){var i=FS.getStream(e);if(!i)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chown(i.node,r,t)},truncate:function(e,r){if(0>r)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var t;if("string"==typeof e){var i=FS.lookupPath(e,{follow:!0});t=i.node}else t=e;if(!t.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isDir(t.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!FS.isFile(t.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var o=FS.nodePermissions(t,"w");if(o)throw new FS.ErrnoError(o);t.node_ops.setattr(t,{size:r,timestamp:Date.now()})},ftruncate:function(e,r){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(0===(2097155&t.flags))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);FS.truncate(t.node,r)},utime:function(e,r,t){var i=FS.lookupPath(e,{follow:!0}),o=i.node;o.node_ops.setattr(o,{timestamp:Math.max(r,t)})},open:function(e,r,t,i,o){if(""===e)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);r="string"==typeof r?FS.modeStringToFlags(r):r,t="undefined"==typeof t?438:t,t=64&r?4095&t|32768:0;var n;if("object"==typeof e)n=e;else{e=PATH.normalize(e);try{var a=FS.lookupPath(e,{follow:!(131072&r)});n=a.node}catch(f){}}var s=!1;if(64&r)if(n){if(128&r)throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}else n=FS.mknod(e,t,0),s=!0;if(!n)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(FS.isChrdev(n.mode)&&(r&=-513),!s){var u=FS.mayOpen(n,r);if(u)throw new FS.ErrnoError(u)}512&r&&FS.truncate(n,0),r&=-641;var l=FS.createStream({node:n,path:FS.getPath(n),flags:r,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1},i,o);l.stream_ops.open&&l.stream_ops.open(l),!Module.logReadFiles||1&r||(FS.readFiles||(FS.readFiles={}),e in FS.readFiles||(FS.readFiles[e]=1,Module.printErr("read file: "+e)));try{if(FS.trackingDelegate.onOpenFile){var c=0;1!==(2097155&r)&&(c|=FS.tracking.openFlags.READ),0!==(2097155&r)&&(c|=FS.tracking.openFlags.WRITE),FS.trackingDelegate.onOpenFile(e,c)}}catch(f){}return l},close:function(e){try{e.stream_ops.close&&e.stream_ops.close(e)}catch(r){throw r}finally{FS.closeStream(e.fd)}},llseek:function(e,r,t){if(!e.seekable||!e.stream_ops.llseek)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);return e.position=e.stream_ops.llseek(e,r,t),e.ungotten=[],e.position},read:function(e,r,t,i,o){if(0>i||0>o)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(1===(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.read)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var n=!0;if("undefined"==typeof o)o=e.position,n=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var a=e.stream_ops.read(e,r,t,i,o);return n||(e.position+=a),a},write:function(e,r,t,i,o,n){if(0>i||0>o)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0===(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.write)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);1024&e.flags&&FS.llseek(e,0,2);var a=!0;if("undefined"==typeof o)o=e.position,a=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var f=e.stream_ops.write(e,r,t,i,o,n);a||(e.position+=f);try{e.path&&FS.trackingDelegate.onWriteToFile&&FS.trackingDelegate.onWriteToFile(e.path)}catch(s){}return f},allocate:function(e,r,t){if(0>r||0>=t)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0===(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(!FS.isFile(e.node.mode)&&!FS.isDir(node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(!e.stream_ops.allocate)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);e.stream_ops.allocate(e,r,t)},mmap:function(e,r,t,i,o,n,a){if(1===(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EACCES);if(!e.stream_ops.mmap)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);return e.stream_ops.mmap(e,r,t,i,o,n,a)},msync:function(e,r,t,i,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,r,t,i,o):0},munmap:function(e){return 0},ioctl:function(e,r,t){if(!e.stream_ops.ioctl)throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);return e.stream_ops.ioctl(e,r,t)},readFile:function(e,r){if(r=r||{},r.flags=r.flags||"r",r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'+r.encoding+'"');var t,i=FS.open(e,r.flags),o=FS.stat(e),n=o.size,a=new Uint8Array(n);return FS.read(i,a,0,n,0),"utf8"===r.encoding?t=UTF8ArrayToString(a,0):"binary"===r.encoding&&(t=a),FS.close(i),t},writeFile:function(e,r,t){if(t=t||{},t.flags=t.flags||"w",t.encoding=t.encoding||"utf8","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var i=FS.open(e,t.flags,t.mode);if("utf8"===t.encoding){var o=new Uint8Array(lengthBytesUTF8(r)+1),n=stringToUTF8Array(r,o,0,o.length);FS.write(i,o,0,n,0,t.canOwn)}else"binary"===t.encoding&&FS.write(i,r,0,r.length,0,t.canOwn);FS.close(i)},cwd:function(){return FS.currentPath},chdir:function(e){var r=FS.lookupPath(e,{follow:!0});if(!FS.isDir(r.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);var t=FS.nodePermissions(r.node,"x");if(t)throw new FS.ErrnoError(t);FS.currentPath=r.path},createDefaultDirectories:function(){FS.mkdir("/tmp"),FS.mkdir("/home"),FS.mkdir("/home/web_user")},createDefaultDevices:function(){FS.mkdir("/dev"),FS.registerDevice(FS.makedev(1,3),{read:function(){return 0},write:function(e,r,t,i,o){return i}}),FS.mkdev("/dev/null",FS.makedev(1,3)),TTY.register(FS.makedev(5,0),TTY.default_tty_ops),TTY.register(FS.makedev(6,0),TTY.default_tty1_ops),FS.mkdev("/dev/tty",FS.makedev(5,0)),FS.mkdev("/dev/tty1",FS.makedev(6,0));var e;if("undefined"!=typeof crypto){var r=new Uint8Array(1);e=function(){return crypto.getRandomValues(r),r[0]}}else e=ENVIRONMENT_IS_NODE?function(){return require("crypto").randomBytes(1)[0]}:function(){return 256*Math.random()|0};FS.createDevice("/dev","random",e),FS.createDevice("/dev","urandom",e),FS.mkdir("/dev/shm"),FS.mkdir("/dev/shm/tmp")},createStandardStreams:function(){Module.stdin?FS.createDevice("/dev","stdin",Module.stdin):FS.symlink("/dev/tty","/dev/stdin"),Module.stdout?FS.createDevice("/dev","stdout",null,Module.stdout):FS.symlink("/dev/tty","/dev/stdout"),Module.stderr?FS.createDevice("/dev","stderr",null,Module.stderr):FS.symlink("/dev/tty1","/dev/stderr");var e=FS.open("/dev/stdin","r");HEAP32[_stdin>>2]=FS.getPtrForStream(e),assert(0===e.fd,"invalid handle for stdin ("+e.fd+")");var r=FS.open("/dev/stdout","w");HEAP32[_stdout>>2]=FS.getPtrForStream(r),assert(1===r.fd,"invalid handle for stdout ("+r.fd+")");var t=FS.open("/dev/stderr","w");HEAP32[_stderr>>2]=FS.getPtrForStream(t),assert(2===t.fd,"invalid handle for stderr ("+t.fd+")")},ensureErrnoError:function(){FS.ErrnoError||(FS.ErrnoError=function(e,r){this.node=r,this.setErrno=function(e){this.errno=e;for(var r in ERRNO_CODES)if(ERRNO_CODES[r]===e){this.code=r;break}},this.setErrno(e),this.message=ERRNO_MESSAGES[e]},FS.ErrnoError.prototype=new Error,FS.ErrnoError.prototype.constructor=FS.ErrnoError,[ERRNO_CODES.ENOENT].forEach(function(e){FS.genericErrors[e]=new FS.ErrnoError(e),FS.genericErrors[e].stack="<generic error, no stack>"}))},staticInit:function(){FS.ensureErrnoError(),FS.nameTable=new Array(4096),FS.mount(MEMFS,{},"/"),FS.createDefaultDirectories(),FS.createDefaultDevices()},init:function(e,r,t){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),FS.init.initialized=!0,FS.ensureErrnoError(),Module.stdin=e||Module.stdin,Module.stdout=r||Module.stdout,Module.stderr=t||Module.stderr,FS.createStandardStreams()},quit:function(){FS.init.initialized=!1;for(var e=0;e<FS.streams.length;e++){var r=FS.streams[e];r&&FS.close(r)}},getMode:function(e,r){var t=0;return e&&(t|=365),r&&(t|=146),t},joinPath:function(e,r){var t=PATH.join.apply(null,e);return r&&"/"==t[0]&&(t=t.substr(1)),t},absolutePath:function(e,r){return PATH.resolve(r,e)},standardizePath:function(e){return PATH.normalize(e)},findObject:function(e,r){var t=FS.analyzePath(e,r);return t.exists?t.object:(___setErrNo(t.error),null)},analyzePath:function(e,r){try{var t=FS.lookupPath(e,{follow:!r});e=t.path}catch(i){}var o={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var t=FS.lookupPath(e,{parent:!0});o.parentExists=!0,o.parentPath=t.path,o.parentObject=t.node,o.name=PATH.basename(e),t=FS.lookupPath(e,{follow:!r}),o.exists=!0,o.path=t.path,o.object=t.node,o.name=t.node.name,o.isRoot="/"===t.path}catch(i){o.error=i.errno}return o},createFolder:function(e,r,t,i){var o=PATH.join2("string"==typeof e?e:FS.getPath(e),r),n=FS.getMode(t,i);return FS.mkdir(o,n)},createPath:function(e,r,t,i){e="string"==typeof e?e:FS.getPath(e);for(var o=r.split("/").reverse();o.length;){var n=o.pop();if(n){var a=PATH.join2(e,n);try{FS.mkdir(a)}catch(f){}e=a}}return a},createFile:function(e,r,t,i,o){var n=PATH.join2("string"==typeof e?e:FS.getPath(e),r),a=FS.getMode(i,o);return FS.create(n,a)},createDataFile:function(e,r,t,i,o,n){var a=r?PATH.join2("string"==typeof e?e:FS.getPath(e),r):e,f=FS.getMode(i,o),s=FS.create(a,f);if(t){if("string"==typeof t){for(var u=new Array(t.length),l=0,c=t.length;c>l;++l)u[l]=t.charCodeAt(l);t=u}FS.chmod(s,146|f);var d=FS.open(s,"w");FS.write(d,t,0,t.length,0,n),FS.close(d),FS.chmod(s,f)}return s},createDevice:function(e,r,t,i){var o=PATH.join2("string"==typeof e?e:FS.getPath(e),r),n=FS.getMode(!!t,!!i);FS.createDevice.major||(FS.createDevice.major=64);var a=FS.makedev(FS.createDevice.major++,0);return FS.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){i&&i.buffer&&i.buffer.length&&i(10)},read:function(e,r,i,o,n){for(var a=0,f=0;o>f;f++){var s;try{s=t()}catch(u){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===s&&0===a)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null===s||void 0===s)break;a++,r[i+f]=s}return a&&(e.node.timestamp=Date.now()),a},write:function(e,r,t,o,n){for(var a=0;o>a;a++)try{i(r[t+a])}catch(f){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return o&&(e.node.timestamp=Date.now()),a}}),FS.mkdev(o,n,a)},createLink:function(e,r,t,i,o){var n=PATH.join2("string"==typeof e?e:FS.getPath(e),r);return FS.symlink(t,n)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;var r=!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!Module.read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=intArrayFromString(Module.read(e.url),!0),e.usedBytes=e.contents.length}catch(t){r=!1}return r||___setErrNo(ERRNO_CODES.EIO),r},createLazyFile:function(e,r,t,i,o){function n(){this.lengthKnown=!1,this.chunks=[]}if(n.prototype.get=function(e){if(e>this.length-1||0>e)return void 0;var r=e%this.chunkSize,t=e/this.chunkSize|0;return this.getter(t)[r]},n.prototype.setDataGetter=function(e){this.getter=e},n.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",t,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+t+". Status: "+e.status);var r,i=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,n=1048576;o||(n=i);var a=function(e,r){if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>i-1)throw new Error("only "+i+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",t,!1),i!==n&&o.setRequestHeader("Range","bytes="+e+"-"+r),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+t+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):intArrayFromString(o.responseText||"",!0)},f=this;f.setDataGetter(function(e){var r=e*n,t=(e+1)*n-1;if(t=Math.min(t,i-1),"undefined"==typeof f.chunks[e]&&(f.chunks[e]=a(r,t)),"undefined"==typeof f.chunks[e])throw new Error("doXHR failed!");return f.chunks[e]}),this._length=i,this._chunkSize=n,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new n;Object.defineProperty(a,"length",{get:function(){return this.lengthKnown||this.cacheLength(),this._length}}),Object.defineProperty(a,"chunkSize",{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}});var f={isDevice:!1,contents:a}}else var f={isDevice:!1,url:t};var s=FS.createFile(e,r,f,i,o);f.contents?s.contents=f.contents:f.url&&(s.contents=null,s.url=f.url),Object.defineProperty(s,"usedBytes",{get:function(){return this.contents.length}});var u={},l=Object.keys(s.stream_ops);return l.forEach(function(e){var r=s.stream_ops[e];u[e]=function(){if(!FS.forceLoadFile(s))throw new FS.ErrnoError(ERRNO_CODES.EIO);return r.apply(null,arguments)}}),u.read=function(e,r,t,i,o){if(!FS.forceLoadFile(s))throw new FS.ErrnoError(ERRNO_CODES.EIO);var n=e.node.contents;if(o>=n.length)return 0;var a=Math.min(n.length-o,i);if(assert(a>=0),n.slice)for(var f=0;a>f;f++)r[t+f]=n[o+f];else for(var f=0;a>f;f++)r[t+f]=n.get(o+f);return a},s.stream_ops=u,s},createPreloadedFile:function(e,r,t,i,o,n,a,f,s,u){function l(t){function l(t){u&&u(),f||FS.createDataFile(e,r,t,i,o,s),n&&n(),removeRunDependency(d)}var h=!1;Module.preloadPlugins.forEach(function(e){h||e.canHandle(c)&&(e.handle(t,c,l,function(){a&&a(),removeRunDependency(d)}),h=!0)}),h||l(t)}Browser.init();var c=r?PATH.resolve(PATH.join2(e,r)):e,d=getUniqueRunDependency("cp "+c);addRunDependency(d),"string"==typeof t?Browser.asyncLoad(t,function(e){l(e)},a):l(t)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,r,t){r=r||function(){},t=t||function(){};var i=FS.indexedDB();try{var o=i.open(FS.DB_NAME(),FS.DB_VERSION)}catch(n){return t(n)}o.onupgradeneeded=function(){var e=o.result;e.createObjectStore(FS.DB_STORE_NAME)},o.onsuccess=function(){function i(){0==u?r():t()}var n=o.result,a=n.transaction([FS.DB_STORE_NAME],"readwrite"),f=a.objectStore(FS.DB_STORE_NAME),s=0,u=0,l=e.length;e.forEach(function(e){var r=f.put(FS.analyzePath(e).object.contents,e);r.onsuccess=function(){s++,s+u==l&&i()},r.onerror=function(){u++,s+u==l&&i()}}),a.onerror=t},o.onerror=t},loadFilesFromDB:function(e,r,t){r=r||function(){},t=t||function(){};var i=FS.indexedDB();try{var o=i.open(FS.DB_NAME(),FS.DB_VERSION)}catch(n){return t(n)}o.onupgradeneeded=t,o.onsuccess=function(){function i(){0==l?r():t()}var n=o.result;try{var a=n.transaction([FS.DB_STORE_NAME],"readonly")}catch(f){return void t(f)}var s=a.objectStore(FS.DB_STORE_NAME),u=0,l=0,c=e.length;e.forEach(function(e){var r=s.get(e);r.onsuccess=function(){FS.analyzePath(e).exists&&FS.unlink(e),FS.createDataFile(PATH.dirname(e),PATH.basename(e),r.result,!0,!0,!0),u++,u+l==c&&i()},r.onerror=function(){l++,u+l==c&&i()}}),a.onerror=t},o.onerror=t}};Module._i64Subtract=_i64Subtract,Module._memset=_memset,Module._bitshift64Shl=_bitshift64Shl;var SOCKFS={mount:function(e){return Module.websocket=Module.websocket&&"object"==typeof Module.websocket?Module.websocket:{},Module.websocket._callbacks={},Module.websocket.on=function(e,r){return"function"==typeof r&&(this._callbacks[e]=r),this},Module.websocket.emit=function(e,r){"function"==typeof this._callbacks[e]&&this._callbacks[e].call(this,r)},FS.createNode(null,"/",16895,0)},createSocket:function(e,r,t){var i=1==r;t&&assert(i==(6==t));var o={family:e,type:r,protocol:t,server:null,error:null,peers:{},pending:[],recv_queue:[],sock_ops:SOCKFS.websocket_sock_ops},n=SOCKFS.nextname(),a=FS.createNode(SOCKFS.root,n,49152,0);a.sock=o;var f=FS.createStream({path:n,node:a,flags:FS.modeStringToFlags("r+"),seekable:!1,stream_ops:SOCKFS.stream_ops});return o.stream=f,o},getSocket:function(e){var r=FS.getStream(e);return r&&FS.isSocket(r.node.mode)?r.node.sock:null},stream_ops:{poll:function(e){var r=e.node.sock;return r.sock_ops.poll(r)},ioctl:function(e,r,t){var i=e.node.sock;return i.sock_ops.ioctl(i,r,t)},read:function(e,r,t,i,o){var n=e.node.sock,a=n.sock_ops.recvmsg(n,i);return a?(r.set(a.buffer,t),a.buffer.length):0},write:function(e,r,t,i,o){var n=e.node.sock;return n.sock_ops.sendmsg(n,r,t,i)},close:function(e){var r=e.node.sock;r.sock_ops.close(r)}},nextname:function(){return SOCKFS.nextname.current||(SOCKFS.nextname.current=0),"socket["+SOCKFS.nextname.current++ +"]"},websocket_sock_ops:{createPeer:function(e,r,t){var i;if("object"==typeof r&&(i=r,r=null,t=null),i)if(i._socket)r=i._socket.remoteAddress,t=i._socket.remotePort;else{var o=/ws[s]?:\/\/([^:]+):(\d+)/.exec(i.url);if(!o)throw new Error("WebSocket URL must be in the format ws(s)://address:port");r=o[1],t=parseInt(o[2],10)}else try{var n=Module.websocket&&"object"==typeof Module.websocket,a="ws:#".replace("#","//");if(n&&"string"==typeof Module.websocket.url&&(a=Module.websocket.url),"ws://"===a||"wss://"===a){var f=r.split("/");a=a+f[0]+":"+t+"/"+f.slice(1).join("/")}var s="binary";n&&"string"==typeof Module.websocket.subprotocol&&(s=Module.websocket.subprotocol),s=s.replace(/^ +| +$/g,"").split(/ *, */);var u=ENVIRONMENT_IS_NODE?{protocol:s.toString()}:s,l=ENVIRONMENT_IS_NODE?require("ws"):window.WebSocket;i=new l(a,u),i.binaryType="arraybuffer"}catch(c){throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH)}var d={addr:r,port:t,socket:i,dgram_send_queue:[]};return SOCKFS.websocket_sock_ops.addPeer(e,d),SOCKFS.websocket_sock_ops.handlePeerEvents(e,d),2===e.type&&"undefined"!=typeof e.sport&&d.dgram_send_queue.push(new Uint8Array([255,255,255,255,"p".charCodeAt(0),"o".charCodeAt(0),"r".charCodeAt(0),"t".charCodeAt(0),(65280&e.sport)>>8,255&e.sport])),d},getPeer:function(e,r,t){return e.peers[r+":"+t]},addPeer:function(e,r){e.peers[r.addr+":"+r.port]=r},removePeer:function(e,r){delete e.peers[r.addr+":"+r.port]},handlePeerEvents:function(e,r){function t(t){assert("string"!=typeof t&&void 0!==t.byteLength),t=new Uint8Array(t);var o=i;if(i=!1,o&&10===t.length&&255===t[0]&&255===t[1]&&255===t[2]&&255===t[3]&&t[4]==="p".charCodeAt(0)&&t[5]==="o".charCodeAt(0)&&t[6]==="r".charCodeAt(0)&&t[7]==="t".charCodeAt(0)){var n=t[8]<<8|t[9];return SOCKFS.websocket_sock_ops.removePeer(e,r),r.port=n,void SOCKFS.websocket_sock_ops.addPeer(e,r)}e.recv_queue.push({addr:r.addr,port:r.port,data:t}),Module.websocket.emit("message",e.stream.fd)}var i=!0,o=function(){Module.websocket.emit("open",e.stream.fd);try{for(var t=r.dgram_send_queue.shift();t;)r.socket.send(t),t=r.dgram_send_queue.shift()}catch(i){r.socket.close()}};ENVIRONMENT_IS_NODE?(r.socket.on("open",o),r.socket.on("message",function(e,r){r.binary&&t(new Uint8Array(e).buffer)}),r.socket.on("close",function(){Module.websocket.emit("close",e.stream.fd)}),r.socket.on("error",function(r){e.error=ERRNO_CODES.ECONNREFUSED,Module.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])})):(r.socket.onopen=o,r.socket.onclose=function(){Module.websocket.emit("close",e.stream.fd)},r.socket.onmessage=function(e){t(e.data)},r.socket.onerror=function(r){e.error=ERRNO_CODES.ECONNREFUSED,Module.websocket.emit("error",[e.stream.fd,e.error,"ECONNREFUSED: Connection refused"])})},poll:function(e){if(1===e.type&&e.server)return e.pending.length?65:0;var r=0,t=1===e.type?SOCKFS.websocket_sock_ops.getPeer(e,e.daddr,e.dport):null;return(e.recv_queue.length||!t||t&&t.socket.readyState===t.socket.CLOSING||t&&t.socket.readyState===t.socket.CLOSED)&&(r|=65),(!t||t&&t.socket.readyState===t.socket.OPEN)&&(r|=4),(t&&t.socket.readyState===t.socket.CLOSING||t&&t.socket.readyState===t.socket.CLOSED)&&(r|=16),r},ioctl:function(e,r,t){switch(r){case 21531:var i=0;return e.recv_queue.length&&(i=e.recv_queue[0].data.length),HEAP32[t>>2]=i,0;default:return ERRNO_CODES.EINVAL}},close:function(e){if(e.server){try{e.server.close()}catch(r){}e.server=null}for(var t=Object.keys(e.peers),i=0;i<t.length;i++){var o=e.peers[t[i]];try{o.socket.close()}catch(r){}SOCKFS.websocket_sock_ops.removePeer(e,o)}return 0},bind:function(e,r,t){
if("undefined"!=typeof e.saddr||"undefined"!=typeof e.sport)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(e.saddr=r,e.sport=t||_mkport(),2===e.type){e.server&&(e.server.close(),e.server=null);try{e.sock_ops.listen(e,0)}catch(i){if(!(i instanceof FS.ErrnoError))throw i;if(i.errno!==ERRNO_CODES.EOPNOTSUPP)throw i}}},connect:function(e,r,t){if(e.server)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);if("undefined"!=typeof e.daddr&&"undefined"!=typeof e.dport){var i=SOCKFS.websocket_sock_ops.getPeer(e,e.daddr,e.dport);if(i)throw new FS.ErrnoError(i.socket.readyState===i.socket.CONNECTING?ERRNO_CODES.EALREADY:ERRNO_CODES.EISCONN)}var o=SOCKFS.websocket_sock_ops.createPeer(e,r,t);throw e.daddr=o.addr,e.dport=o.port,new FS.ErrnoError(ERRNO_CODES.EINPROGRESS)},listen:function(e,r){if(!ENVIRONMENT_IS_NODE)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);if(e.server)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var t=require("ws").Server,i=e.saddr;e.server=new t({host:i,port:e.sport}),Module.websocket.emit("listen",e.stream.fd),e.server.on("connection",function(r){if(1===e.type){var t=SOCKFS.createSocket(e.family,e.type,e.protocol),i=SOCKFS.websocket_sock_ops.createPeer(t,r);t.daddr=i.addr,t.dport=i.port,e.pending.push(t),Module.websocket.emit("connection",t.stream.fd)}else SOCKFS.websocket_sock_ops.createPeer(e,r),Module.websocket.emit("connection",e.stream.fd)}),e.server.on("closed",function(){Module.websocket.emit("close",e.stream.fd),e.server=null}),e.server.on("error",function(r){e.error=ERRNO_CODES.EHOSTUNREACH,Module.websocket.emit("error",[e.stream.fd,e.error,"EHOSTUNREACH: Host is unreachable"])})},accept:function(e){if(!e.server)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var r=e.pending.shift();return r.stream.flags=e.stream.flags,r},getname:function(e,r){var t,i;if(r){if(void 0===e.daddr||void 0===e.dport)throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);t=e.daddr,i=e.dport}else t=e.saddr||0,i=e.sport||0;return{addr:t,port:i}},sendmsg:function(e,r,t,i,o,n){if(2===e.type){if((void 0===o||void 0===n)&&(o=e.daddr,n=e.dport),void 0===o||void 0===n)throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ)}else o=e.daddr,n=e.dport;var a=SOCKFS.websocket_sock_ops.getPeer(e,o,n);if(1===e.type){if(!a||a.socket.readyState===a.socket.CLOSING||a.socket.readyState===a.socket.CLOSED)throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);if(a.socket.readyState===a.socket.CONNECTING)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}var f;if(f=r instanceof Array||r instanceof ArrayBuffer?r.slice(t,t+i):r.buffer.slice(r.byteOffset+t,r.byteOffset+t+i),2===e.type&&(!a||a.socket.readyState!==a.socket.OPEN))return a&&a.socket.readyState!==a.socket.CLOSING&&a.socket.readyState!==a.socket.CLOSED||(a=SOCKFS.websocket_sock_ops.createPeer(e,o,n)),a.dgram_send_queue.push(f),i;try{return a.socket.send(f),i}catch(s){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}},recvmsg:function(e,r){if(1===e.type&&e.server)throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);var t=e.recv_queue.shift();if(!t){if(1===e.type){var i=SOCKFS.websocket_sock_ops.getPeer(e,e.daddr,e.dport);if(i){if(i.socket.readyState===i.socket.CLOSING||i.socket.readyState===i.socket.CLOSED)return null;throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN)}throw new FS.ErrnoError(ERRNO_CODES.EAGAIN)}var o=t.data.byteLength||t.data.length,n=t.data.byteOffset||0,a=t.data.buffer||t.data,f=Math.min(r,o),s={buffer:new Uint8Array(a,n,f),addr:t.addr,port:t.port};if(1===e.type&&o>f){var u=o-f;t.data=new Uint8Array(a,n+f,u),e.recv_queue.unshift(t)}return s}}};Module._strlen=_strlen,Module._strncpy=_strncpy,Module._i64Add=_i64Add;var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null,Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var e=Browser.mainLoop.timingMode,r=Browser.mainLoop.timingValue,t=Browser.mainLoop.func;Browser.mainLoop.func=null,_emscripten_set_main_loop(t,0,!1,Browser.mainLoop.arg,!0),_emscripten_set_main_loop_timing(e,r),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var e=Module.statusMessage||"Please wait...",r=Browser.mainLoop.remainingBlockers,t=Browser.mainLoop.expectedBlockers;Module.setStatus(r?t>r?e+" ("+(t-r)+"/"+t+")":e:"")}},runIter:function(e){if(!ABORT){if(Module.preMainLoop){var r=Module.preMainLoop();if(r===!1)return}try{e()}catch(t){if(t instanceof ExitStatus)return;throw t&&"object"==typeof t&&t.stack&&Module.printErr("exception thrown: "+[t,t.stack]),t}Module.postMainLoop&&Module.postMainLoop()}}},isFullScreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init:function(){function e(){Browser.pointerLock=document.pointerLockElement===o||document.mozPointerLockElement===o||document.webkitPointerLockElement===o||document.msPointerLockElement===o}if(Module.preloadPlugins||(Module.preloadPlugins=[]),!Browser.initted){Browser.initted=!0;try{new Blob,Browser.hasBlobConstructor=!0}catch(r){Browser.hasBlobConstructor=!1}Browser.BlobBuilder="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Browser.hasBlobConstructor?null:void 0,Browser.URLObject="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,Module.noImageDecoding||"undefined"!=typeof Browser.URLObject||(Module.noImageDecoding=!0);var t={};t.canHandle=function(e){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(e)},t.handle=function(e,r,t,i){var o=null;if(Browser.hasBlobConstructor)try{o=new Blob([e],{type:Browser.getMimetype(r)}),o.size!==e.length&&(o=new Blob([new Uint8Array(e).buffer],{type:Browser.getMimetype(r)}))}catch(n){Runtime.warnOnce("Blob constructor present but fails: "+n+"; falling back to blob builder")}if(!o){var a=new Browser.BlobBuilder;a.append(new Uint8Array(e).buffer),o=a.getBlob()}var f=Browser.URLObject.createObjectURL(o),s=new Image;s.onload=function(){assert(s.complete,"Image "+r+" could not be decoded");var i=document.createElement("canvas");i.width=s.width,i.height=s.height;var o=i.getContext("2d");o.drawImage(s,0,0),Module.preloadedImages[r]=i,Browser.URLObject.revokeObjectURL(f),t&&t(e)},s.onerror=function(e){i&&i()},s.src=f},Module.preloadPlugins.push(t);var i={};i.canHandle=function(e){return!Module.noAudioDecoding&&e.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},i.handle=function(e,r,t,i){function o(i){a||(a=!0,Module.preloadedAudios[r]=i,t&&t(e))}function n(){a||(a=!0,Module.preloadedAudios[r]=new Audio,i&&i())}var a=!1;if(!Browser.hasBlobConstructor)return n();try{var f=new Blob([e],{type:Browser.getMimetype(r)})}catch(s){return n()}var u=Browser.URLObject.createObjectURL(f),l=new Audio;l.addEventListener("canplaythrough",function(){o(l)},!1),l.onerror=function(t){function i(e){for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="=",i="",o=0,n=0,a=0;a<e.length;a++)for(o=o<<8|e[a],n+=8;n>=6;){var f=o>>n-6&63;n-=6,i+=r[f]}return 2==n?(i+=r[(3&o)<<4],i+=t+t):4==n&&(i+=r[(15&o)<<2],i+=t),i}a||(l.src="data:audio/x-"+r.substr(-3)+";base64,"+i(e),o(l))},l.src=u,Browser.safeSetTimeout(function(){o(l)},1e4)},Module.preloadPlugins.push(i);var o=Module.canvas;o&&(o.requestPointerLock=o.requestPointerLock||o.mozRequestPointerLock||o.webkitRequestPointerLock||o.msRequestPointerLock||function(){},o.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},o.exitPointerLock=o.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",e,!1),document.addEventListener("mozpointerlockchange",e,!1),document.addEventListener("webkitpointerlockchange",e,!1),document.addEventListener("mspointerlockchange",e,!1),Module.elementPointerLock&&o.addEventListener("click",function(e){!Browser.pointerLock&&o.requestPointerLock&&(o.requestPointerLock(),e.preventDefault())},!1))}},createContext:function(e,r,t,i){if(r&&Module.ctx&&e==Module.canvas)return Module.ctx;var o,n;if(r){var a={antialias:!1,alpha:!1};if(i)for(var f in i)a[f]=i[f];n=GL.createContext(e,a),n&&(o=GL.getContext(n).GLctx),e.style.backgroundColor="black"}else o=e.getContext("2d");return o?(t&&(r||assert("undefined"==typeof GLctx,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),Module.ctx=o,r&&GL.makeContextCurrent(n),Module.useWebGL=r,Browser.moduleContextCreatedCallbacks.forEach(function(e){e()}),Browser.init()),o):null},destroyContext:function(e,r,t){},fullScreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullScreen:function(e,r,t){function i(){Browser.isFullScreen=!1;var e=o.parentNode;(document.webkitFullScreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.mozFullscreenElement||document.fullScreenElement||document.fullscreenElement||document.msFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement)===e?(o.cancelFullScreen=document.cancelFullScreen||document.mozCancelFullScreen||document.webkitCancelFullScreen||document.msExitFullscreen||document.exitFullscreen||function(){},o.cancelFullScreen=o.cancelFullScreen.bind(document),Browser.lockPointer&&o.requestPointerLock(),Browser.isFullScreen=!0,Browser.resizeCanvas&&Browser.setFullScreenCanvasSize()):(e.parentNode.insertBefore(o,e),e.parentNode.removeChild(e),Browser.resizeCanvas&&Browser.setWindowedCanvasSize()),Module.onFullScreen&&Module.onFullScreen(Browser.isFullScreen),Browser.updateCanvasDimensions(o)}Browser.lockPointer=e,Browser.resizeCanvas=r,Browser.vrDevice=t,"undefined"==typeof Browser.lockPointer&&(Browser.lockPointer=!0),"undefined"==typeof Browser.resizeCanvas&&(Browser.resizeCanvas=!1),"undefined"==typeof Browser.vrDevice&&(Browser.vrDevice=null);var o=Module.canvas;Browser.fullScreenHandlersInstalled||(Browser.fullScreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",i,!1),document.addEventListener("mozfullscreenchange",i,!1),document.addEventListener("webkitfullscreenchange",i,!1),document.addEventListener("MSFullscreenChange",i,!1));var n=document.createElement("div");o.parentNode.insertBefore(n,o),n.appendChild(o),n.requestFullScreen=n.requestFullScreen||n.mozRequestFullScreen||n.msRequestFullscreen||(n.webkitRequestFullScreen?function(){n.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),t?n.requestFullScreen({vrDisplay:t}):n.requestFullScreen()},nextRAF:0,fakeRequestAnimationFrame:function(e){var r=Date.now();if(0===Browser.nextRAF)Browser.nextRAF=r+1e3/60;else for(;r+2>=Browser.nextRAF;)Browser.nextRAF+=1e3/60;var t=Math.max(Browser.nextRAF-r,0);setTimeout(e,t)},requestAnimationFrame:function(e){"undefined"==typeof window?Browser.fakeRequestAnimationFrame(e):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||Browser.fakeRequestAnimationFrame),window.requestAnimationFrame(e))},safeCallback:function(e){return function(){return ABORT?void 0:e.apply(null,arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){if(Browser.allowAsyncCallbacks=!0,Browser.queuedAsyncCallbacks.length>0){var e=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[],e.forEach(function(e){e()})}},safeRequestAnimationFrame:function(e){return Browser.requestAnimationFrame(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))})},safeSetTimeout:function(e,r){return Module.noExitRuntime=!0,setTimeout(function(){ABORT||(Browser.allowAsyncCallbacks?e():Browser.queuedAsyncCallbacks.push(e))},r)},safeSetInterval:function(e,r){return Module.noExitRuntime=!0,setInterval(function(){ABORT||Browser.allowAsyncCallbacks&&e()},r)},getMimetype:function(e){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[e.substr(e.lastIndexOf(".")+1)]},getUserMedia:function(e){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(e)},getMovementX:function(e){return e.movementX||e.mozMovementX||e.webkitMovementX||0},getMovementY:function(e){return e.movementY||e.mozMovementY||e.webkitMovementY||0},getMouseWheelDelta:function(e){var r=0;switch(e.type){case"DOMMouseScroll":r=e.detail;break;case"mousewheel":r=e.wheelDelta;break;case"wheel":r=e.deltaY;break;default:throw"unrecognized mouse wheel event: "+e.type}return r},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(e){if(Browser.pointerLock)"mousemove"!=e.type&&"mozMovementX"in e?Browser.mouseMovementX=Browser.mouseMovementY=0:(Browser.mouseMovementX=Browser.getMovementX(e),Browser.mouseMovementY=Browser.getMovementY(e)),"undefined"!=typeof SDL?(Browser.mouseX=SDL.mouseX+Browser.mouseMovementX,Browser.mouseY=SDL.mouseY+Browser.mouseMovementY):(Browser.mouseX+=Browser.mouseMovementX,Browser.mouseY+=Browser.mouseMovementY);else{var r=Module.canvas.getBoundingClientRect(),t=Module.canvas.width,i=Module.canvas.height,o="undefined"!=typeof window.scrollX?window.scrollX:window.pageXOffset,n="undefined"!=typeof window.scrollY?window.scrollY:window.pageYOffset;if("touchstart"===e.type||"touchend"===e.type||"touchmove"===e.type){var a=e.touch;if(void 0===a)return;var f=a.pageX-(o+r.left),s=a.pageY-(n+r.top);f*=t/r.width,s*=i/r.height;var u={x:f,y:s};if("touchstart"===e.type)Browser.lastTouches[a.identifier]=u,Browser.touches[a.identifier]=u;else if("touchend"===e.type||"touchmove"===e.type){var l=Browser.touches[a.identifier];l||(l=u),Browser.lastTouches[a.identifier]=l,Browser.touches[a.identifier]=u}return}var c=e.pageX-(o+r.left),d=e.pageY-(n+r.top);c*=t/r.width,d*=i/r.height,Browser.mouseMovementX=c-Browser.mouseX,Browser.mouseMovementY=d-Browser.mouseY,Browser.mouseX=c,Browser.mouseY=d}},xhrLoad:function(e,r,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType="arraybuffer",i.onload=function(){200==i.status||0==i.status&&i.response?r(i.response):t()},i.onerror=t,i.send(null)},asyncLoad:function(e,r,t,i){Browser.xhrLoad(e,function(t){assert(t,'Loading data file "'+e+'" failed (no arrayBuffer).'),r(new Uint8Array(t)),i||removeRunDependency("al "+e)},function(r){if(!t)throw'Loading data file "'+e+'" failed.';t()}),i||addRunDependency("al "+e)},resizeListeners:[],updateResizeListeners:function(){var e=Module.canvas;Browser.resizeListeners.forEach(function(r){r(e.width,e.height)})},setCanvasSize:function(e,r,t){var i=Module.canvas;Browser.updateCanvasDimensions(i,e,r),t||Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e=8388608|e,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if("undefined"!=typeof SDL){var e=HEAPU32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2];e=-8388609&e,HEAP32[SDL.screen+0*Runtime.QUANTUM_SIZE>>2]=e}Browser.updateResizeListeners()},updateCanvasDimensions:function(e,r,t){r&&t?(e.widthNative=r,e.heightNative=t):(r=e.widthNative,t=e.heightNative);var i=r,o=t;if(Module.forcedAspectRatio&&Module.forcedAspectRatio>0&&(i/o<Module.forcedAspectRatio?i=Math.round(o*Module.forcedAspectRatio):o=Math.round(i/Module.forcedAspectRatio)),(document.webkitFullScreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.mozFullscreenElement||document.fullScreenElement||document.fullscreenElement||document.msFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement)===e.parentNode&&"undefined"!=typeof screen){var n=Math.min(screen.width/i,screen.height/o);i=Math.round(i*n),o=Math.round(o*n)}Browser.resizeCanvas?(e.width!=i&&(e.width=i),e.height!=o&&(e.height=o),"undefined"!=typeof e.style&&(e.style.removeProperty("width"),e.style.removeProperty("height"))):(e.width!=r&&(e.width=r),e.height!=t&&(e.height=t),"undefined"!=typeof e.style&&(i!=r||o!=t?(e.style.setProperty("width",i+"px","important"),e.style.setProperty("height",o+"px","important")):(e.style.removeProperty("width"),e.style.removeProperty("height"))))},wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:function(){var e=Browser.nextWgetRequestHandle;return Browser.nextWgetRequestHandle++,e}};Module._bitshift64Lshr=_bitshift64Lshr;var _BDtoILow=!0,_BDtoIHigh=!0;Module._memcpy=_memcpy;var _fabs=Math_abs,_BItoD=!0;if(Module._strcpy=_strcpy,FS.staticInit(),__ATINIT__.unshift(function(){Module.noFSInit||FS.init.initialized||FS.init()}),__ATMAIN__.push(function(){FS.ignorePermissions=!1}),__ATEXIT__.push(function(){FS.quit()}),Module.FS_createFolder=FS.createFolder,Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createLink=FS.createLink,Module.FS_createDevice=FS.createDevice,___errno_state=Runtime.staticAlloc(4),HEAP32[___errno_state>>2]=0,__ATINIT__.unshift(function(){TTY.init()}),__ATEXIT__.push(function(){TTY.shutdown()}),ENVIRONMENT_IS_NODE){var fs=require("fs"),NODEJS_PATH=require("path");NODEFS.staticInit()}__ATINIT__.push(function(){SOCKFS.root=FS.mount(SOCKFS,{},null)}),_fgetc.ret=allocate([0],"i8",ALLOC_STATIC),_fputc.ret=allocate([0],"i8",ALLOC_STATIC),Module.requestFullScreen=function(e,r,t){Browser.requestFullScreen(e,r,t)},Module.requestAnimationFrame=function(e){Browser.requestAnimationFrame(e)},Module.setCanvasSize=function(e,r,t){Browser.setCanvasSize(e,r,t)},Module.pauseMainLoop=function(){Browser.mainLoop.pause()},Module.resumeMainLoop=function(){Browser.mainLoop.resume()},Module.getUserMedia=function(){Browser.getUserMedia()},Module.createContext=function(e,r,t,i){return Browser.createContext(e,r,t,i)},STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP),staticSealed=!0,STACK_MAX=STACK_BASE+TOTAL_STACK,DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX),assert(TOTAL_MEMORY>DYNAMIC_BASE,"TOTAL_MEMORY not big enough for stack");var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_DYNAMIC);Module.asmGlobalArg={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:0/0,Infinity:1/0},Module.asmLibraryArg={abort:abort,assert:assert,invoke_i:invoke_i,invoke_ii:invoke_ii,invoke_iiii:invoke_iiii,invoke_vi:invoke_vi,_fabs:_fabs,_send:_send,_fread:_fread,_lseek:_lseek,__reallyNegative:__reallyNegative,_ungetc:_ungetc,_emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,_write:_write,_fflush:_fflush,_pwrite:_pwrite,_strerror_r:_strerror_r,_fscanf:_fscanf,_open:_open,_sbrk:_sbrk,__scanString:__scanString,_emscripten_memcpy_big:_emscripten_memcpy_big,_fileno:_fileno,_sysconf:_sysconf,_close:_close,_putc:_putc,__formatString:__formatString,_putchar:_putchar,_fseek:_fseek,_pread:_pread,_puts:_puts,_mkport:_mkport,_fclose:_fclose,_getc:_getc,_feof:_feof,_ftell:_ftell,___errno_location:___errno_location,_recv:_recv,_fgetc:_fgetc,_printf:_printf,__exit:__exit,_read:_read,_fputc:_fputc,_emscripten_set_main_loop:_emscripten_set_main_loop,_abort:_abort,_fwrite:_fwrite,_time:_time,_fprintf:_fprintf,_strerror:_strerror,_fgets:_fgets,_fputs:_fputs,_fopen:_fopen,_exit:_exit,__getFloat:__getFloat,___setErrNo:___setErrNo,STACKTOP:STACKTOP,STACK_MAX:STACK_MAX,tempDoublePtr:tempDoublePtr,ABORT:ABORT,cttz_i8:cttz_i8,_stdin:_stdin};var asm=function(e,r,t){"use asm";function i(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0,f=0;f=Wi,Wi=Wi+16|0,a=f,r=(zi[728]|0)/8|0,n=a+1|0,t=0,i=zi[50]|0,o=zi[46]|0;do e=o+i|0,o=(zi[48]|0)+o|0,e=(e|0)>16383?16383:e,i=(e|0)<0?0:e,xi[a>>0]=i&127,xi[n>>0]=i>>>7&127,dr(r,224,zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,a,2)|0,e=(zi[728]|0)-r|0,zi[728]=e,t=t+1|0;while((t|0)!=8);o=zi[3430]|0,xe(e,zi[12696+(o*20|0)+4>>2]|0,zi[12696+(o*20|0)+8>>2]|0),o=zi[50]|0,xi[a>>0]=o&127,xi[n>>0]=o>>>7&127,dr(zi[728]|0,224,zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,a,2)|0,Wi=f}function o(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+16|0,r=a,e=zi[728]|0,o=zi[822]|0,n=(e|0)/(o|0)|0,(o|0)>0){t=r+1|0,i=0,o=zi[50]|0;do e=(zi[3088+(i<<2)>>2]|0)+o|0,e=(e|0)>16383?16383:e,o=(e|0)<0?0:e,xi[r>>0]=o&127,xi[t>>0]=o>>>7&127,e=zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,i?(dr(n,224,e,r,2)|0,zi[728]=(zi[728]|0)-n):dr(0,224,e,r,2)|0,i=i+1|0;while((i|0)<(zi[822]|0));e=zi[728]|0}else t=r+1|0;n=zi[3430]|0,xe(e,zi[12696+(n*20|0)+4>>2]|0,zi[12696+(n*20|0)+8>>2]|0),zi[728]=0,n=zi[50]|0,xi[r>>0]=n&127,xi[t>>0]=n>>>7&127,dr(0,224,zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,r,2)|0,Wi=a}function n(){var e=0,r=0,t=0,i=0,o=0,n=0,f=0,s=0,u=0,l=0;s=Wi,Wi=Wi+32|0,f=s,zi[3622]=0,zi[3623]=1,zi[3624]=-1,e=zi[3618]|0,zi[3620]=1;e:do if(e){for(r=1;;){if(zi[3552]|0&&(l=zi[e+1024>>2]|0,u=zi[e+1036>>2]|0,i=zi[e+1040>>2]|0,t=zi[e+1044>>2]|0,o=zi[e+1048>>2]|0,n=zi[e+1068>>2]|0,r=zi[e+1072>>2]|0,zi[f>>2]=zi[e+1020>>2],zi[f+4>>2]=l,zi[f+8>>2]=u,zi[f+12>>2]=i,zi[f+16>>2]=t,zi[f+20>>2]=o,zi[f+24>>2]=n,zi[f+28>>2]=r,wo(27328,f|0)|0,r=zi[3620]|0),(r|0)>39)break;t=14488+(r*12|0)|0,zi[t>>2]=0,n=e+1024|0,i=zi[n>>2]|0,o=14488+(r*12|0)+4|0,zi[o>>2]=i,zi[14488+(r*12|0)+8>>2]=zi[e+1152>>2];do if(zi[e+1040>>2]|0){if(zi[3522]|0){r=r+1|0,zi[3620]=r,zi[14488+(r*12|0)>>2]=1,zi[14488+(r*12|0)+4>>2]=i;break}zi[t>>2]=2,zi[o>>2]=i;break}while(0);if(zi[e+1036>>2]|0&&(r=r+1|0,zi[3620]=r,zi[14488+(r*12|0)>>2]=3,zi[14488+(r*12|0)+4>>2]=zi[n>>2]),zi[e+1044>>2]|0&&(r=r+1|0,zi[3620]=r,zi[14488+(r*12|0)>>2]=4,zi[14488+(r*12|0)+4>>2]=zi[n>>2]),zi[e+1048>>2]|0&&(r=r+1|0,zi[3620]=r,zi[14488+(r*12|0)>>2]=5,zi[14488+(r*12|0)+4>>2]=zi[n>>2]),r=r+1|0,zi[3620]=r,e=zi[e+1156>>2]|0,!e)break e}a(27408)}while(0);return zi[3744]|zi[3742]|zi[3746]|zi[3748]|zi[3750]?void(Wi=s):(zi[3620]=1,void(Wi=s))}function a(e){e|=0;var r=0,t=0;r=Wi,Wi=Wi+16|0,t=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=t,zi[r+8>>2]=e,wo(27424,r|0)|0,Fo(1)}function f(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0;O=Wi,Wi=Wi+208|0,M=O,F=O+184|0,y=O+168|0,g=O+152|0,_=O+136|0,v=O+128|0,S=O+112|0,w=O+104|0,E=O+96|0,p=O+32|0,k=O+88|0,b=O+16|0,h=O+24|0,d=O+40|0,l=O+56|0,u=O+64|0,n=O+72|0,o=O+80|0,s=O+200|0,c=O+196|0,zi[3752]=(Mr(27456,e,r)|0)!=-1&1,zi[3754]=252,zi[3554]=0,(Mr(27464,e,r)|0)!=-1&&(zi[3554]=1,zi[3754]=8),i=Mr(27472,e,r)|0;do if((i|0)!=-1){if((i|0)>=(e|0)){zi[3552]=1;break}i=zi[r+(i<<2)>>2]|0,zi[o>>2]=s,(Et(i,27480,o)|0)>0&&(zi[3552]=zi[s>>2])}else zi[3552]=0;while(0);(Mr(27488,e,r)|0)!=-1&&(zi[n>>2]=27512,wo(27496,n|0)|0,Fo(0)),zi[3756]=(Mr(27544,e,r)|0)!=-1&1,zi[3518]=(Mr(27552,e,r)|0)!=-1&1,zi[3520]=(Mr(27560,e,r)|0)!=-1&1,zi[3758]=(Mr(27568,e,r)|0)!=-1&1,zi[3522]=(Mr(27576,e,r)|0)!=-1&1,zi[3526]=(Mr(27584,e,r)|0)!=-1&1,zi[3528]=(Mr(27592,e,r)|0)!=-1&1,i=Mr(27600,e,r)|0;do if((i|0)!=-1){if(zi[3530]=1,(i|0)>=(e|0)){zi[3760]=2;break}n=zi[r+(i<<2)>>2]|0,zi[u>>2]=s,(Et(n,27480,u)|0)>0&&(zi[3760]=zi[s>>2])}else zi[3530]=0,zi[3760]=0;while(0);i=Mr(27608,e,r)|0;do if((i|0)!=-1){if((i|0)<(e|0)?(s=zi[r+(i<<2)>>2]|0,zi[l>>2]=c,(Et(s,27616,l)|0)>=1):0){if(zi[3532]=1,A=+Vi[c>>2],f=+Ut(A/440)*12/.3010299956639812,ji[d>>3]=A,ji[d+8>>3]=f,wo(27680,d|0)|0,f>=1.001&&(ji[h>>3]=+Vi[c>>2],wo(27712,h|0)|0,zi[3532]=0),f<=-1.015){ji[b>>3]=+Vi[c>>2],wo(27752,b|0)|0,zi[3532]=0;break}if(!(zi[3532]|0))break;b=~~(f*8192)+8192|0,b=(b|0)>16383?16383:b,b=(b|0)<0?0:b,zi[3534]=b,zi[k>>2]=b,wo(27800,k|0)|0;break}ho(27624)|0}while(0);if((Mr(27816,e,r)|0)!=-1&&(zi[2200]=1),(Mr(27824,e,r)|0)!=-1&&(zi[3538]=1),zi[3762]=500,zi[3764]=pr(2e3)|0,zi[3766]=pr(zi[3762]<<2)|0,zi[3768]=pr(zi[3762]<<2)|0,zi[3770]=pr(zi[3762]<<2)|0,zi[3772]=pr(zi[3762]<<2)|0,zi[3774]=pr(zi[3762]<<2)|0,zi[3776]=pr(zi[3762]<<2)|0,zi[3778]=pr(zi[3762]<<2)|0,zi[3780]=pr(zi[3762]<<2)|0,(zi[3762]|0)>0){i=zi[3774]|0,o=zi[3772]|0,n=0;do zi[i+(n<<2)>>2]=0,zi[o+(n<<2)>>2]=0,n=n+1|0;while((n|0)<(zi[3762]|0))}i=15128,o=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(o|0));zi[3792]=pr(zi[3546]<<2)|0,zi[3794]=pr(zi[3612]<<2)|0,(e|0)<2|(Mr(27832,e,r)|0)!=-1&&(zi[p>>2]=27512,wo(27840,p|0)|0,wo(27864,E|0)|0,ho(27928)|0,ho(27944)|0,ho(28016)|0,ho(28064)|0,ho(28104)|0,ho(28144)|0,ho(28192)|0,ho(28240)|0,ho(28296)|0,ho(28360)|0,ho(28416)|0,ho(28464)|0,ho(28512)|0,ho(28560)|0,ho(28616)|0,ho(28672)|0,ho(28720)|0,ho(28760)|0,ho(28816)|0,ho(28872)|0,ho(28936)|0,ho(28984)|0,ho(29024)|0,ho(29088)|0,ho(29152)|0,ho(29216)|0,ho(29280)|0,ho(29344)|0,ho(29408)|0,Fo(0)),zi[3796]=0,((e|0)>2?(m=zi[r+8>>2]|0,((xi[m>>0]|0)+-48|0)>>>0<10):0)&&(zi[3796]=Ar(m)|0),n=r+4|0,zi[t>>2]=zi[n>>2],n=Er(zi[n>>2]|0)|0,zi[3610]=n,i=wi(n|0)|0;e:do if((i|0)>0){for(o=i;;){if(i=n+o|0,(xi[i>>0]|0)==46)break;if(!((o|0)>1))break e;o=o+-1|0}xi[i>>0]=0}while(0);i=Mr(29448,e,r)|0;do if((i|0)!=-1){if((i|0)>=(e|0)){w=zi[2428]|0,zi[S>>2]=zi[2602],zi[S+4>>2]=w,zi[S+8>>2]=29512,wo(27424,S|0)|0;break}zi[3754]=0,S=zi[r+(i<<2)>>2]|0,zi[w>>2]=15016,Et(S,27480,w)|0,((zi[3754]|0)+-3|0)>>>0>249&&a(29456)}while(0);i=Mr(29552,e,r)|0;do if((i|0)!=-1){if((i|0)>=(e|0)){v=zi[2428]|0,zi[_>>2]=zi[2602],zi[_+4>>2]=v,zi[_+8>>2]=29616,wo(27424,_|0)|0;break}_=zi[r+(i<<2)>>2]|0,zi[v>>2]=14256,Et(_,27480,v)|0,(zi[3564]|0)<3&&a(29560)}while(0);i=Mr(44168,e,r)|0;do if((i|0)!=-1){if((i|0)>=(e|0)){g=zi[2428]|0,zi[y>>2]=zi[2602],zi[y+4>>2]=g,zi[y+8>>2]=29728,wo(27424,y|0)|0;break}zi[3608]=Er(zi[r+(i<<2)>>2]|0)|0,zi[3606]=1,zi[3796]|0||(zi[3796]=-1),(zi[3554]|0)==1&&(y=zi[2428]|0,zi[g>>2]=zi[2602],zi[g+4>>2]=y,zi[g+8>>2]=29696,wo(29656,g|0)|0,zi[3554]=0)}while(0);i=Mr(29768,e,r)|0;do if((i|0)!=-1){if((i|0)>=(e|0)){F=zi[2428]|0,zi[M>>2]=zi[2602],zi[M+4>>2]=F,zi[M+8>>2]=29816,wo(27424,M|0)|0;break}M=Er(zi[r+(i<<2)>>2]|0)|0,zi[3614]=M,(xi[M>>0]|0)==45&&(M=zi[2428]|0,zi[F>>2]=zi[2602],zi[F+4>>2]=M,zi[F+8>>2]=29776,wo(27424,F|0)|0,zi[3614]=0)}while(0);return zi[3556]=Mr(29856,e,r)|0,zi[3558]=Mr(29864,e,r)|0,zi[3798]=0,Fr(),be(44152,3,29872),be(29888,3,29896),be(29912,4,29920),be(29936,4,29944),be(29960,4,29968),be(29984,4,29992),be(30008,4,30016),be(30032,4,30040),be(30056,4,30064),be(30080,3,30088),be(30104,3,30112),be(30128,4,30136),be(30152,3,30160),be(30176,4,30184),be(30200,5,30208),be(30232,5,30240),be(30264,5,30272),be(30296,5,30304),be(30328,6,30336),be(30360,5,30368),be(30392,3,30400),be(30416,3,30424),be(30440,3,30448),be(30464,4,30472),be(30488,4,30496),be(30512,2,30520),zi[3530]|0?(Fe(),void(Wi=O)):void(Wi=O)}function s(e){e|=0;var r=0,t=0,i=0;r=Wi,Wi=Wi+16|0,t=r,i=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=i,zi[t+8>>2]=e,wo(27424,t|0)|0,Wi=r}function u(e){e|=0;var r=0,t=0,i=0;r=Wi,Wi=Wi+16|0,t=r,i=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=i,zi[t+8>>2]=e,wo(29656,t|0)|0,Wi=r}function l(e){e|=0;var r=0,t=0,i=0,o=0;r=Wi,Wi=Wi+224|0,t=r+8|0,o=r,i=r+24|0,zi[o>>2]=e,Zt(i,200,30528,o)|0,e=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=e,zi[t+8>>2]=i,wo(29656,t|0)|0,Wi=r}function c(e){e|=0;var r=0,t=0,i=0,o=0;r=Wi,Wi=Wi+224|0,t=r+8|0,o=r,i=r+24|0,zi[o>>2]=e<<24>>24,Jt(i,30552,o)|0,e=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=e,zi[t+8>>2]=i,wo(29656,t|0)|0,Wi=r}function d(){zi[3800]=zi[3802]}function h(){zi[3800]=0,((zi[3544]|0)>0?1:(zi[(zi[3804]|0)+1072>>2]|0)!=-1)&&m()}function b(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,m=0,p=0,E=0;if(d=Wi,Wi=Wi+32|0,n=d,zi[3742]|0||k(40,1,0,0,(zi[3516]|0)+1|0),zi[3742]=1,c=zi[3804]|0,o=zi[c+1068>>2]|0,zi[130]=0,zi[136]=1,zi[c+1064>>2]=zi[3802],a=zi[c+1020>>2]|0,f=zi[c+1028>>2]|0,s=zi[c+1032>>2]|0,u=zi[c+1060>>2]|0,l=zi[c+1008>>2]|0,c=zi[c+1152>>2]|0,i=zi[3802]|0,(f|0)==(a|0)){e=i+-1|0;e:do if((i|0)>1)for(t=zi[3776]|0,r=e;;){switch(zi[t+(r<<2)>>2]|0){case 9:case 4:case 3:case 2:case 1:case 0:e=r;break e}if(e=r+-1|0,!((r|0)>1))break e;r=e}while(0);zi[3806]=e}return zi[(zi[3776]|0)+(i<<2)>>2]=0,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,e=zi[3762]|0,(t|0)>=(e|0)&&(zi[3762]=ke(e)|0),(o|0)==-1?(e=zi[3542]|0,zi[3542]=e+1,e=e+32|0,r=zi[3804]|0,zi[r+1068>>2]=e):(r=zi[3804]|0,e=o),E=r+80|0,zi[n>>2]=zi[E>>2],zi[n+4>>2]=zi[E+4>>2],zi[n+8>>2]=zi[E+8>>2],zi[n+12>>2]=zi[E+12>>2],zi[n+16>>2]=zi[E+16>>2],zi[n+20>>2]=zi[E+20>>2],zi[n+24>>2]=zi[E+24>>2],E=xi[r>>0]|0,p=xi[r+1>>0]|0,m=xi[r+2>>0]|0,b=xi[r+3>>0]|0,h=xi[r+4>>0]|0,i=xi[r+5>>0]|0,t=xi[r+6>>0]|0,o=me(e)|0,zi[3804]=o,xi[o>>0]=E,o=zi[3804]|0,zi[o+80>>2]=zi[n>>2],xi[o+1>>0]=p,o=zi[3804]|0,zi[o+84>>2]=zi[n+4>>2],xi[o+2>>0]=m,o=zi[3804]|0,zi[o+88>>2]=zi[n+8>>2],xi[o+3>>0]=b,o=zi[3804]|0,zi[o+92>>2]=zi[n+12>>2],xi[o+4>>0]=h,o=zi[3804]|0,zi[o+96>>2]=zi[n+16>>2],xi[o+5>>0]=i,o=zi[3804]|0,zi[o+100>>2]=zi[n+20>>2],xi[o+6>>0]=t,o=zi[3804]|0,zi[o+104>>2]=zi[n+24>>2],pe(o),o=zi[3804]|0,zi[o+1008>>2]=l,zi[3544]=(zi[3544]|0)+1,o=zi[o+1024>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=40,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=o,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)>=(e|0)&&(zi[3762]=ke(e)|0),r=zi[3804]|0,e=r+1072|0,(zi[e>>2]|0)==-1&&(zi[e>>2]=a,zi[r+1028>>2]=f,zi[r+1032>>2]=s,zi[r+1060>>2]=u,zi[r+1008>>2]=l),zi[15232+(zi[r+1024>>2]<<2)>>2]=1,zi[r+1152>>2]=c,e=zi[3800]|0,e?(Ee(r,e,1),void(Wi=d)):(Ee(r,zi[3806]|0,1),void(Wi=d))}function k(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0,a=0,f=0;if(n=(zi[3802]|0)+1|0,zi[3802]=n,a=zi[3762]|0,(n|0)>=(a|0)&&(zi[3762]=ke(a)|0,n=zi[3802]|0),(n|0)>(o|0)){do a=n,n=n+-1|0,f=zi[3776]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3764]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3778]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3772]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3774]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3780]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3766]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2],f=zi[3768]|0,zi[f+(a<<2)>>2]=zi[f+(n<<2)>>2];while((n|0)>(o|0));n=o}zi[(zi[3776]|0)+(o<<2)>>2]=e,zi[(zi[3764]|0)+(o<<2)>>2]=r,zi[(zi[3766]|0)+(n<<2)>>2]=t,zi[(zi[3768]|0)+(n<<2)>>2]=i,zi[(zi[3778]|0)+(n<<2)>>2]=0,zi[(zi[3780]|0)+(n<<2)>>2]=zi[2428],zi[(zi[3772]|0)+(n<<2)>>2]=0,zi[(zi[3774]|0)+(n<<2)>>2]=0}function m(){var e=0,r=0,t=0;if(e=zi[3804]|0,r=zi[e+1072>>2]|0,(r|0)>-1&(zi[3544]|0)>0)do e=me(r)|0,zi[3804]=e,r=zi[e+1072>>2]|0,t=zi[3544]|0,zi[3544]=t+-1;while((r|0)>-1&(t|0)>1);return t=zi[e+1024>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=40,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=t,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,e=zi[3762]|0,(t|0)<(e|0)?(t=zi[3804]|0,void pe(t)):(zi[3762]=ke(e)|0,t=zi[3804]|0,void pe(t))}function p(){var e=0,r=0;r=zi[2602]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=53,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)<(e|0)||(zi[3762]=ke(e)|0)}function E(){var e=0,r=0;zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=54,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)<(e|0)||(zi[3762]=ke(e)|0)}function w(e){e|=0;var r=0;zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=55,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,
zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)<(e|0)||(zi[3762]=ke(e)|0)}function S(e){e|=0;var r=0,t=0,i=0,o=0;if(o=Wi,Wi=Wi+16|0,r=o,!((zi[3758]|0)==0&(zi[3798]|0)!=0))return void(Wi=o);if(e=Er(e)|0,t=zi[3548]|0,zi[(zi[3792]|0)+(t<<2)>>2]=e,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=21,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=t,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,e=zi[3762]|0,(t|0)>=(e|0)&&(zi[3762]=ke(e)|0),i=(zi[3548]|0)+1|0,zi[3548]=i,t=zi[3546]|0,(i|0)<(t|0))return void(Wi=o);if(i=t<<1,(zi[3552]|0)>2&&(e=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=e,zi[r+8>>2]=30584,wo(29656,r|0)|0),e=pr(t<<3)|0,(t|0)>0){r=0;do zi[e+(r<<2)>>2]=zi[(zi[3792]|0)+(r<<2)>>2],r=r+1|0;while((r|0)!=(t|0))}ci(zi[3792]|0),zi[3792]=e,zi[3546]=i,Wi=o}function v(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0;a=Wi,Wi=Wi+256|0,n=a+8|0,o=a,t=a+56|0,r=a+20|0,i=a+24|0,zi[r>>2]=e,Or(r),jr(i,r,31),r=zi[3616]|0;e:do if((r|0)>0){e=0;do{if(!(ni(15496+(e<<5)|0,i)|0))break e;e=e+1|0}while((e|0)<(r|0))}else e=0;while(0);return(e|0)==(r|0)?(zi[o>>2]=i,Jt(t,30632,o)|0,o=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=o,zi[n+8>>2]=t,wo(27424,n|0)|0,n=30688,Wi=a,n|0):(n=zi[16136+(e<<2)>>2]|0,Wi=a,n|0)}function _(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,_=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0,H=0,x=0,U=0,z=0,q=0,V=0,j=0,W=0,Y=0,K=0,X=0,G=0,Z=0,J=0,Q=0,$=0,ee=0,re=0,te=0,ie=0,oe=0;if(te=Wi,Wi=Wi+1088|0,m=te,k=te+584|0,a=te+592|0,t=te+576|0,h=te+560|0,c=te+544|0,l=te+536|0,$=te+520|0,Z=te+504|0,G=te+488|0,X=te+472|0,W=te+456|0,K=te+384|0,Y=te+360|0,U=te+16|0,x=te+32|0,L=te+64|0,H=te+80|0,I=te+144|0,C=te+160|0,N=te+168|0,R=te+184|0,A=te+344|0,O=te+48|0,M=te+200|0,F=te+216|0,y=te+232|0,_=te+248|0,w=te+256|0,E=te+272|0,f=te+288|0,i=te+304|0,D=te+624|0,b=te+824|0,Q=te+1024|0,re=te+620|0,T=te+1064|0,P=te+320|0,B=te+328|0,V=te+336|0,q=te+604|0,z=te+608|0,j=te+612|0,u=te+616|0,!(zi[3514]|0))return g(e,r),void(Wi=te);if(!(ni(e,30696)|0))return(zi[3616]|0)>19?(J=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=J,zi[i+8>>2]=30608,wo(27424,i|0)|0):(zi[D>>2]=r,Or(D),jr(15496+(zi[3616]<<5)|0,D,31),Or(D),Z=Er(zi[D>>2]|0)|0,J=zi[3616]|0,zi[16136+(J<<2)>>2]=Z,zi[3616]=J+1),void(Wi=te);if(ni(e,30704)|0)d=e,ee=r;else{if(e=v(r)|0,!(ni(e,30688)|0))return void(Wi=te);d=30712,ee=e}if(ni(d,30712)|0){do if(ni(d,32528)|0)e=0;else{if(zi[re>>2]=ee,Or(re),zi[re>>2]=(zi[re>>2]|0)+1,Vr(Q,re,40),ni(Q,32536)|0){zi[t>>2]=d,zi[t+4>>2]=ee,(Zt(b,200,32592,t)|0)>>>0>200&&(J=zi[2428]|0,zi[a>>2]=zi[2602],zi[a+4>>2]=J,zi[a+8>>2]=32600,wo(29656,a|0)|0),S(b),e=0;break}if(Or(re),i=zi[re>>2]|0,e=xi[i>>0]|0,e<<24>>24){r=e,t=0,e=b;do{e:do if(r<<24>>24==92)switch(r=i+1|0,zi[re>>2]=r,r=xi[r>>0]|0,r<<24>>24|0){case 88:case 120:i=i+2|0,zi[re>>2]=i,zi[l>>2]=u,Et(i,32552,l)|0,xi[e>>0]=zi[u>>2],i=zi[re>>2]|0,r=xi[i>>0]|0;r:do if(r<<24>>24)do{if(J=(At(r<<24>>24)|0)==0,i=zi[re>>2]|0,J)break r;i=i+1|0,zi[re>>2]=i,r=xi[i>>0]|0}while(r<<24>>24!=0);while(0);zi[re>>2]=i+-1;break e;case 116:xi[e>>0]=9;break e;case 92:xi[e>>0]=r;break e;case 114:xi[e>>0]=13;break e;case 110:xi[e>>0]=10;break e;default:xi[e>>0]=r;break e}else xi[e>>0]=r;while(0);e=e+1|0,i=(zi[re>>2]|0)+1|0,zi[re>>2]=i,t=t+1|0,r=xi[i>>0]|0}while((t|0)<199&r<<24>>24!=0)}else e=b;if(xi[e>>0]=0,e=Er(b)|0,J=zi[3548]|0,zi[(zi[3792]|0)+(J<<2)>>2]=e,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=67,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=J,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],J=(zi[3802]|0)+1|0,zi[3802]=J,e=zi[3762]|0,(J|0)>=(e|0)&&(zi[3762]=ke(e)|0),J=(zi[3548]|0)+1|0,zi[3548]=J,r=zi[3546]|0,(J|0)>=(r|0)){if(t=r<<1,(zi[3552]|0)>2&&(J=zi[2428]|0,zi[c>>2]=zi[2602],zi[c+4>>2]=J,zi[c+8>>2]=30584,wo(29656,c|0)|0),e=pr(r<<3)|0,(r|0)>0){i=0;do zi[e+(i<<2)>>2]=zi[(zi[3792]|0)+(i<<2)>>2],i=i+1|0;while((i|0)!=(r|0))}ci(zi[3792]|0),zi[3792]=e,zi[3546]=t}xi[zi[re>>2]>>0]|0?(e=zi[2428]|0,zi[h>>2]=zi[2602],zi[h+4>>2]=e,zi[h+8>>2]=32560,wo(29656,h|0)|0,e=1):e=1}while(0);return ni(d,32640)|0?e?void(Wi=te):(zi[k>>2]=d,zi[k+4>>2]=ee,(Zt(b,200,32592,k)|0)>>>0>200&&(J=zi[2428]|0,zi[m>>2]=zi[2602],zi[m+4>>2]=J,zi[m+8>>2]=32704,wo(29656,m|0)|0),S(b),void(Wi=te)):(zi[re>>2]=ee+13,ho(32656)|0,zi[3504]=(ni(zi[re>>2]|0,32696)|0)==0&1,void(Wi=te))}if(zi[re>>2]=ee,Or(re),Vr(Q,re,40),ni(Q,30720)|0)e=0;else{Or(re),r=Nr(re)|0,i=r+-1|0,e=zi[3804]|0;do if(e){if(e=e+1160|0,(i|0)==9){zi[e>>2]=1;break}zi[e>>2]=0;break}while(0);(r|0)<1|(i|0)>15&&(i=zi[2428]|0,zi[f>>2]=zi[2602],zi[f+4>>2]=i,zi[f+8>>2]=30728,wo(27424,f|0)|0,i=1),zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=27,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],m=(zi[3802]|0)+1|0,zi[3802]=m,e=zi[3762]|0,(m|0)>=(e|0)&&(zi[3762]=ke(e)|0),e=zi[3804]|0,((e|0)!=0?(s=e+1152|0,(zi[s>>2]|0)==-1):0)?(zi[s>>2]=i,e=1):e=1}r=ni(Q,30760)|0,r=(r|0)==0;do if(r|(ni(Q,30776)|0)==0){if(Or(re),i=zi[re>>2]|0,e=xi[i>>0]|0,e<<24>>24==43&&(i=i+1|0,zi[re>>2]=i,e=xi[i>>0]|0),e<<24>>24==45?(zi[re>>2]=i+1,e=1):e=0,Or(re),i=Nr(re)|0,e=e?0-i|0:i,i=(zi[3776]|0)+(zi[3802]<<2)|0,r){if(zi[i>>2]=30,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],m=(zi[3802]|0)+1|0,zi[3802]=m,e=zi[3762]|0,(m|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1;break}if(zi[i>>2]=29,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],m=(zi[3802]|0)+1|0,zi[3802]=m,e=zi[3762]|0,(m|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1;break}while(0);ni(Q,43704)|0||(Or(re),zi[4054]=Nr(re)|0,e=1),ni(Q,30792)|0||(zi[4056]=0,e=1),ni(Q,30808)|0||(zi[4056]=1,e=1),ni(Q,30824)|0||(zi[3560]=1,e=1),ni(Q,30840)|0||(zi[3560]=0,e=1);e:do if((ni(Q,30864)|0)==0?(Or(re),p=zi[re>>2]|0,(ni(p,30880)|0)==0):0)for(ho(p|0)|0,zi[3536]=1,e=0,i=0;;){switch(zi[17720+(i<<2)>>2]=e,i|0){case 4:case 12:case 24:case 32:case 40:e=e+2|0;break;default:e=e+1|0}if(i=i+1|0,(i|0)==48){e=1;break e}}while(0);do if(!(ni(Q,30888)|0)){if(Or(re),e=Nr(re)|0,Or(re),i=Nr(re)|0,!((e|0)>0&(i|0)>0)){e=zi[2428]|0,zi[E>>2]=zi[2602],zi[E+4>>2]=e,zi[E+8>>2]=30896,wo(27424,E|0)|0,e=1;break}zi[4058]=i,zi[4060]=e,(((e|0)%2|0)+i|0)==1?(zi[4058]=i<<1,zi[4060]=e<<1,e=1):e=1}while(0);if(!(ni(Q,30912)|0)){Or(re),i=Nr(re)|0,e=zi[re>>2]|0,(xi[e>>0]|0)==47?zi[re>>2]=e+1:(E=zi[2428]|0,zi[w>>2]=zi[2602],zi[w+4>>2]=E,zi[w+8>>2]=30920,wo(27424,w|0)|0),e=Nr(re)|0;do if((i|0)<(e|0)&((i|0)>0&(e|0)>0)){if(!(zi[3872]|0)){zi[4062]=i,zi[4064]=e;break}zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=33,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],y=(zi[3802]|0)+1|0,zi[3802]=y,e=zi[3762]|0,(y|0)>=(e|0)&&(zi[3762]=ke(e)|0)}else zi[_>>2]=i,zi[_+4>>2]=e,Jt(D,30952,_)|0,_=zi[2428]|0,zi[y>>2]=zi[2602],zi[y+4>>2]=_,zi[y+8>>2]=D,wo(27424,y|0)|0;while(0);e=1}if(!(ni(Q,30992)|0)){if(Or(re),e=Nr(re)|0,(e|0)<2){i=D,r=31008,t=i+53|0;do xi[i>>0]=xi[r>>0]|0,i=i+1|0,r=r+1|0;while((i|0)<(t|0));y=zi[2428]|0,zi[F>>2]=zi[2602],zi[F+4>>2]=y,zi[F+8>>2]=D,wo(27424,F|0)|0}zi[3872]|0?(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=33,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=(zi[3802]|0)+1|0,zi[3802]=F,e=zi[3762]|0,(F|0)>=(e|0)&&(zi[3762]=ke(e)|0)):(zi[4064]=e,zi[4066]=0),e=1}do if(!(ni(Q,31064)|0)){if(Or(re),r=Nr(re)|0,e=zi[re>>2]|0,(xi[e>>0]|0)!=47){e=zi[2428]|0,zi[M>>2]=zi[2602],zi[M+4>>2]=e,zi[M+8>>2]=31072,wo(27424,M|0)|0,e=1;break}if(zi[re>>2]=e+1,i=Nr(re)|0,e=zi[3804]|0){if(O=to(zi[e+1008>>2]|0,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=35,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=r<<2,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=O,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],O=(zi[3802]|0)+1|0,zi[3802]=O,e=zi[3762]|0,(O|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1;break}if(e=zi[4320]|0,(e|0)==-1){e=zi[2428]|0,zi[O>>2]=zi[2602],zi[O+4>>2]=e,zi[O+8>>2]=31120,wo(27424,O|0)|0,e=1;break}if(O=to(e,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=35,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=r<<2,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=O,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],O=(zi[3802]|0)+1|0,zi[3802]=O,e=zi[3762]|0,(O|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1}while(0);do if(!(ni(Q,31184)|0)){if(Or(re),r=Nr(re)|0,e=zi[re>>2]|0,(xi[e>>0]|0)!=47){e=zi[2428]|0,zi[A>>2]=zi[2602],zi[A+4>>2]=e,zi[A+8>>2]=31192,wo(27424,A|0)|0,e=1;break}if(zi[re>>2]=e+1,i=Nr(re)|0,e=zi[3804]|0){if(R=to(zi[e+1008>>2]|0,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=36,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=r<<2,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=R,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],R=(zi[3802]|0)+1|0,zi[3802]=R,e=zi[3762]|0,(R|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1;break}if(e=zi[4320]|0,(e|0)==-1){e=zi[2428]|0,zi[R>>2]=zi[2602],zi[R+4>>2]=e,zi[R+8>>2]=31240,wo(27424,R|0)|0,e=1;break}if(R=to(e,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=36,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=r<<2,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=R,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],R=(zi[3802]|0)+1|0,zi[3802]=R,e=zi[3762]|0,(R|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1}while(0);ni(Q,31312)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=38,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],R=(zi[3802]|0)+1|0,zi[3802]=R,e=zi[3762]|0,(R|0)<(e|0)?e=1:(zi[3762]=ke(e)|0,e=1));do if(!(ni(Q,31328)|0)){if(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=39,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],R=(zi[3802]|0)+1|0,zi[3802]=R,e=zi[3762]|0,(R|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1}while(0);if(!(ni(Q,31344)|0)){Or(re),e=zi[re>>2]|0,i=xi[e>>0]|0;do if(i<<24>>24==0|i<<24>>24==32)i=0;else{if(xi[T>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=1;break}if(xi[T+1>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=2;break}if(xi[T+2>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=3;break}if(xi[T+3>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=4;break}if(xi[T+4>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=5;break}if(xi[T+5>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=6;break}if(xi[T+6>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=7;break}if(xi[T+7>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=8;break}if(xi[T+8>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=9;break}if(xi[T+9>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=10;break}if(xi[T+10>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=11;break}if(xi[T+11>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=12;break}if(xi[T+12>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=13;break}if(xi[T+13>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=14;break}if(xi[T+14>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=15;break}if(xi[T+15>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=16;break}if(xi[T+16>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=17;break}if(xi[T+17>>0]=i,e=e+1|0,zi[re>>2]=e,i=xi[e>>0]|0,i<<24>>24==0|i<<24>>24==32){i=18;break}xi[T+18>>0]=i,e=e+1|0,zi[re>>2]=e,i=19}while(0);if(xi[T+i>>0]=0,(xi[e>>0]|0)==32){Or(re),zi[D>>2]=Tr(re)|0;do if((xi[zi[re>>2]>>0]|0)==32){if(Or(re),zi[D+4>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=2;break}if(Or(re),zi[D+8>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=3;break}if(Or(re),zi[D+12>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=4;break}if(Or(re),zi[D+16>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=5;break}if(Or(re),zi[D+20>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=6;break}if(Or(re),zi[D+24>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=7;break}if(Or(re),zi[D+28>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=8;break}if(Or(re),zi[D+32>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=9;break}if(Or(re),zi[D+36>>2]=Tr(re)|0,(xi[zi[re>>2]>>0]|0)!=32){e=10;break}Or(re),zi[D+40>>2]=Tr(re)|0,e=11}else e=1;while(0);be(T,e,D)}else D=zi[2428]|0,zi[N>>2]=zi[2602],zi[N+4>>2]=D,zi[N+8>>2]=31360,wo(27424,N|0)|0;e=1}do if(!(ni(Q,31400)|0)){if(ji[P>>3]=0,ji[B>>3]=0,zi[3506]=1,zi[4054]=245760,D=zi[re>>2]|0,zi[C>>2]=P,zi[C+4>>2]=B,(Et(D,31424,C)|0)!=2){e=zi[2428]|0,zi[L>>2]=zi[2602],zi[L+4>>2]=e,zi[L+8>>2]=31616,wo(27424,L|0)|0,e=1;break}if(o=+ji[P>>3],L=~~(o*4096/100+.5),zi[3508]=L,n=+ji[B>>3],C=~~(n*4096/100+.5),zi[3510]=C,zi[3512]=(C*7|0)-(L<<2),!(zi[3552]|0)){e=1;break}ji[I>>3]=o,ji[I+8>>3]=n,wo(31440,I|0)|0,L=zi[3508]|0,n=+(L|0),C=zi[3510]|0,o=+(C|0),e=zi[3512]|0,zi[H>>2]=L,ji[H+8>>3]=n*100*.000244140625,zi[H+16>>2]=C,ji[H+24>>3]=o*100*.000244140625,zi[H+32>>2]=(C<<1)-L,ji[H+40>>3]=(o*2-n)*100*.000244140625,zi[H+48>>2]=e,ji[H+56>>3]=+(e|0)*100*.000244140625,wo(31480,H|0)|0,e=1}while(0);ni(Q,31664)|0||(r=zi[re>>2]|0,zi[x>>2]=q,zi[x+4>>2]=V,zi[x+8>>2]=z,zi[x+12>>2]=j,r=Et(r,31688,x)|0,(r|0)==4?(e=~~(+ji[V>>3]*4096/100+.5),zi[3508]=e,i=zi[z>>2]|0,(i|0)>0?(o=+(e|0),x=zi[q>>2]|0,n=o,e=x,o=+(i|0)*o/+(x|0)+.5):(x=77904-e|0,zi[3510]=x,ie=+(e|0),e=zi[q>>2]|0,o=+(e|0),n=ie,o=ie/o*+(~~(+(x|0)/ie*o+.5)|0)),zi[3510]=~~o,e=~~(+(zi[j>>2]|0)*n/+(e|0)+.5)):(r|0)==2?(e=~~(+ji[V>>3]*4096/100+.5),zi[3508]=e,n=+(e|0),ie=+(zi[q>>2]|0),x=~~(n/ie*+(~~(+(77904-e|0)/n*ie+.5)|0)),zi[3510]=x,e=(x*7|0)-(e<<2)|0):(r|0)==1?(zi[3508]=49152,ie=+(zi[q>>2]|0),e=~~(49152/ie*+(~~(ie*28752/49152+.5)|0)),zi[3510]=e,e=(e*7|0)+-196608|0):(r|0)==3?(i=~~(+ji[V>>3]*4096/100+.5),zi[3508]=i,e=zi[z>>2]|0,(e|0)>0?o=+(e|0)*+(i|0)/+(zi[q>>2]|0)+.5:(x=77904-i|0,zi[3510]=x,ie=+(i|0),o=+(zi[q>>2]|0),o=ie/o*+(~~(+(x|0)/ie*o+.5)|0)),e=~~o,zi[3510]=e,e=(e*7|0)-(i<<2)|0):(e=zi[2428]|0,zi[U>>2]=zi[2602],zi[U+4>>2]=e,zi[U+8>>2]=31704,wo(27424,U|0)|0,e=0),zi[3512]=e,zi[3552]|0&&(x=zi[q>>2]|0,ie=+ji[V>>3],H=zi[z>>2]|0,L=zi[j>>2]|0,zi[Y>>2]=r,zi[Y+4>>2]=x,ji[Y+8>>3]=ie,zi[Y+16>>2]=H,zi[Y+20>>2]=L,wo(31744,Y|0)|0,L=zi[q>>2]|0,H=zi[3508]|0,ie=+(H|0),x=zi[3510]|0,oe=+(x|0),o=+(L|0),Y=(x<<1)-H|0,n=+(e|0),zi[K>>2]=L,zi[K+4>>2]=H,ji[K+8>>3]=ie*100*.000244140625,zi[K+16>>2]=x,ji[K+24>>3]=oe*100*.000244140625,zi[K+32>>2]=~~(o*(oe/ie)+.5),zi[K+36>>2]=Y,ji[K+40>>3]=(oe*2-ie)*100*.000244140625,zi[K+48>>2]=~~(o*(+(Y|0)/ie)+.5),zi[K+52>>2]=e,ji[K+56>>3]=n*100*.000244140625,zi[K+64>>2]=~~(o*(n/ie)+.5),wo(31792,K|0)|0),(e|0)<0&&(K=zi[2428]|0,zi[W>>2]=zi[2602],zi[W+4>>2]=K,zi[W+8>>2]=31976,wo(29656,W|0)|0),zi[3506]=1,zi[4054]=245760,e=1),ni(Q,32256)|0||(zi[3506]=0,zi[2412]=0,zi[4054]=60,e=1),K=(ni(Q,32280)|0)==0;do if(K&(zi[3798]|0)!=0){if(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=44,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],K=(zi[3802]|0)+1|0,zi[3802]=K,e=zi[3762]|0,(K|0)>=(e|0)&&(zi[3762]=ke(e)|0),K=zi[3804]|0,zi[K+1044>>2]=1,zi[3748]=zi[K+1024>>2],K){e=1;break}e=zi[2428]|0,zi[X>>2]=zi[2602],zi[X+4>>2]=e,zi[X+8>>2]=32288,wo(27424,X|0)|0,e=1}while(0);do if(!(ni(Q,32344)|0)){if(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=45,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],X=(zi[3802]|0)+1|0,zi[3802]=X,e=zi[3762]|0,(X|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1}while(0);X=(ni(Q,32352)|0)==0;e:do if(X&(zi[3798]|0)!=0){zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=46,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],X=(zi[3802]|0)+1|0,zi[3802]=X,i=zi[3762]|0,(X|0)>=(i|0)&&(zi[3762]=ke(i)|0),i=zi[3804]|0,zi[i+1048>>2]=1,r=zi[3750]|0;do if(r){if((r|0)==(zi[i+1024>>2]|0)){e=i;break}i=zi[2428]|0,zi[G>>2]=zi[2602],zi[G+4>>2]=i,zi[G+8>>2]=32360,wo(29656,G|0)|0,i=zi[3804]|0,J=147}else J=147;while(0);do if((J|0)==147){if(i){e=i;break}J=zi[2428]|0,zi[Z>>2]=zi[2602],zi[Z+4>>2]=J,zi[Z+8>>2]=32424,wo(27424,Z|0)|0;break e}while(0);zi[3750]=zi[e+1024>>2],e=1}while(0);do if(!(ni(Q,32480)|0)){if(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=47,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],J=(zi[3802]|0)+1|0,zi[3802]=J,e=zi[3762]|0,(J|0)<(e|0)){e=1;break}zi[3762]=ke(e)|0,e=1}while(0);if(ni(Q,32496)|0||(Or(re),zi[3500]=Nr(re)|0,e=1),!(ni(Q,32512)|0))return Or(re),zi[3526]=Nr(re)|0,void(Wi=te);if(e)return void(Wi=te);if(e=Er(ee)|0,J=zi[3548]|0,zi[(zi[3792]|0)+(J<<2)>>2]=e,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=52,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=J,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],J=(zi[3802]|0)+1|0,zi[3802]=J,e=zi[3762]|0,(J|0)>=(e|0)&&(zi[3762]=ke(e)|0),J=(zi[3548]|0)+1|0,zi[3548]=J,t=zi[3546]|0,(J|0)<(t|0))return void(Wi=te);if(i=t<<1,(zi[3552]|0)>2&&(J=zi[2428]|0,zi[$>>2]=zi[2602],zi[$+4>>2]=J,zi[$+8>>2]=30584,wo(29656,$|0)|0),e=pr(t<<3)|0,(t|0)>0){r=0;do zi[e+(r<<2)>>2]=zi[(zi[3792]|0)+(r<<2)>>2],r=r+1|0;while((r|0)!=(t|0))}ci(zi[3792]|0),zi[3792]=e,zi[3546]=i,Wi=te}function g(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0;if(u=Wi,Wi=Wi+144|0,s=u+32|0,i=u,t=u+16|0,a=u+96|0,f=u+44|0,o=u+72|0,n=u+48|0,ni(e,30712)|0)return void(Wi=u);zi[f>>2]=r,Or(f),Vr(a,f,40),ni(a,43704)|0?e=0:(Or(f),zi[4360]=Nr(f)|0,e=1),ni(a,30792)|0||(zi[4362]=0,e=1),ni(a,30808)|0||(zi[4362]=1,e=1),ni(a,30824)|0||(zi[4364]=1,e=1),ni(a,30840)|0||(zi[4364]=0,e=1),ni(a,32512)|0||(Or(f),zi[3526]=Nr(f)|0,e=1);do if(!(ni(a,30888)|0)){if(Or(f),e=Nr(f)|0,Or(f),r=Nr(f)|0,!((e|0)>0&(r|0)>0)){e=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=e,zi[t+8>>2]=30896,wo(27424,t|0)|0,e=1;break}zi[4366]=r,zi[4368]=e,(((e|0)%2|0)+r|0)==1?(zi[4366]=r<<1,zi[4368]=e<<1,e=1):e=1}while(0);do if(!(ni(a,31344)|0)){Or(f),e=zi[f>>2]|0,r=xi[e>>0]|0;do if(r<<24>>24==0|r<<24>>24==32)r=0;else if(xi[o>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=1;else if(xi[o+1>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=2;else if(xi[o+2>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=3;else if(xi[o+3>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=4;else if(xi[o+4>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=5;else if(xi[o+5>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=6;else if(xi[o+6>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=7;else if(xi[o+7>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32)r=8;else{if(xi[o+8>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=9;break}if(xi[o+9>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=10;break}if(xi[o+10>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=11;break}if(xi[o+11>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=12;break}if(xi[o+12>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=13;break}if(xi[o+13>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=14;break}if(xi[o+14>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=15;break}if(xi[o+15>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=16;break}if(xi[o+16>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=17;break}if(xi[o+17>>0]=r,e=e+1|0,zi[f>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==32){r=18;break}xi[o+18>>0]=r,e=e+1|0,zi[f>>2]=e,r=19}while(0);if(xi[o+r>>0]=0,(xi[e>>0]|0)!=32){e=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=e,zi[i+8>>2]=31360,wo(27424,i|0)|0,e=1;break}Or(f),zi[n>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+4>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+8>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+12>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+16>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+20>>2]=Tr(f)|0,(xi[zi[f>>2]>>0]|0)==32?(Or(f),zi[n+24>>2]=Tr(f)|0,e=7):e=6):e=5):e=4):e=3):e=2):e=1,be(o,e,n),e=1}while(0);return ni(a,32496)|0?e?void(Wi=u):(a=zi[2428]|0,zi[s>>2]=zi[2602],zi[s+4>>2]=a,zi[s+8>>2]=32744,wo(29656,s|0)|0,void(Wi=u)):(Or(f),zi[3500]=Nr(f)|0,void(Wi=u))}function y(){zi[2412]=0}function F(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+272|0,n=a,i=a+256|0,zi[i>>2]=e,Or(i),e=zi[i>>2]|0,((ai(e,32800,3)|0)!=0?(ai(e,32808,3)|0)!=0:0)||(zi[i>>2]=e+3,Or(i),e=zi[i>>2]|0),r=xi[e>>0]|0,e=zi[3754]|0,r<<24>>24!=0&(e|0)>0){t=r,r=0;do t=(dt(t<<24>>24)|0)==0,e=zi[i>>2]|0,t||(xi[n+r>>0]=xi[e>>0]|0,r=r+1|0),t=e+1|0,zi[i>>2]=t,t=xi[t>>0]|0,e=zi[3754]|0;while(t<<24>>24!=0&(r|0)<(e|0));xi[n+r>>0]=0,r||(o=10)}else xi[n>>0]=0,o=10;return(o|0)==10&&(o=n,zi[o>>2]=1769238382,zi[o+4>>2]=6646900,xi[n+e>>0]=0),e=n+(wi(n|0)|0)|0,xi[e>>0]=xi[32816]|0,xi[e+1>>0]=xi[32817]|0,xi[e+2>>0]=xi[32818]|0,xi[e+3>>0]=xi[32819]|0,xi[e+4>>0]=xi[32820]|0,(e=zi[3608]|0)?(ci(e),n=Er(n)|0,zi[3608]=n,zi[4370]=1,void(Wi=a)):(n=Er(n)|0,zi[3608]=n,zi[4370]=1,void(Wi=a))}function M(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0;if(l=Wi,Wi=Wi+336|0,n=l+56|0,s=l,a=l+16|0,u=l+24|0,f=l+40|0,i=l+68|0,o=l+72|0,t=e<<24>>24,!(zi[3798]|0))return e<<24>>24!=84?void(Wi=l):(r=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=r,zi[n+8>>2]=32848,wo(29656,n|0)|0,void(Wi=l));if((t|0)==67){if(t=Er(r)|0,r=zi[3548]|0,zi[(zi[3792]|0)+(r<<2)>>2]=t,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=68,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,t=zi[3762]|0,(r|0)>=(t|0)&&(zi[3762]=ke(t)|0),r=(zi[3548]|0)+1|0,zi[3548]=r,o=zi[3546]|0,(r|0)<(o|0))return void(Wi=l);if(i=o<<1,(zi[3552]|0)>2&&(r=zi[2428]|0,zi[u>>2]=zi[2602],zi[u+4>>2]=r,zi[u+8>>2]=30584,wo(29656,u|0)|0),t=pr(o<<3)|0,(o|0)>0){e=0;do zi[t+(e<<2)>>2]=zi[(zi[3792]|0)+(e<<2)>>2],e=e+1|0;while((e|0)!=(o|0))}return ci(zi[3792]|0),zi[3792]=t,zi[3546]=i,void(Wi=l)}if((t|0)==82){if(zi[i>>2]=r,Si(17488,r|0,32)|0,Or(i),t=zi[i>>2]|0,ai(t,43472,8)|0){if(r=ai(t,32824,8)|0,zi[3530]|r)return void(Wi=l)}else if(zi[3530]|0)return void(Wi=l);return zi[4380]=1,void(Wi=l)}if((t|0)==84){if(t=Er(r)|0,n=zi[3548]|0,zi[(zi[3792]|0)+(n<<2)>>2]=t,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=26,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=n,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,t=zi[3762]|0,(n|0)>=(t|0)&&(zi[3762]=ke(t)|0),n=(zi[3548]|0)+1|0,zi[3548]=n,e=zi[3546]|0,(n|0)>=(e|0)){if(i=e<<1,(zi[3552]|0)>2&&(n=zi[2428]|0,zi[f>>2]=zi[2602],zi[f+4>>2]=n,zi[f+8>>2]=30584,wo(29656,f|0)|0),t=pr(e<<3)|0,(e|0)>0){o=0;do zi[t+(o<<2)>>2]=zi[(zi[3792]|0)+(o<<2)>>2],o=o+1|0;while((o|0)!=(e|0))}ci(zi[3792]|0),zi[3792]=t,zi[3546]=i}return(zi[3554]|0)==0|(zi[4370]|0)!=0?void(Wi=l):(F(r),void(Wi=l))}if((wi(r|0)|0)>>>0<256&&(zi[a>>2]=t,zi[a+4>>2]=r,Jt(o,32840,a)|0,t=Er(o)|0,r=zi[3548]|0,zi[(zi[3792]|0)+(r<<2)>>2]=t,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=21,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,t=zi[3762]|0,(r|0)>=(t|0)&&(zi[3762]=ke(t)|0),r=(zi[3548]|0)+1|0,zi[3548]=r,i=zi[3546]|0,(r|0)>=(i|0))){if(o=i<<1,(zi[3552]|0)>2&&(r=zi[2428]|0,zi[s>>2]=zi[2602],zi[s+4>>2]=r,zi[s+8>>2]=30584,wo(29656,s|0)|0),t=pr(i<<3)|0,(i|0)>0){e=0;do zi[t+(e<<2)>>2]=zi[(zi[3792]|0)+(e<<2)>>2],e=e+1|0;while((e|0)!=(i|0))}ci(zi[3792]|0),zi[3792]=t,zi[3546]=o}return void(Wi=l)}function O(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+32|0,n=a+16|0,i=a,zi[3744]=1,t=zi[3804]|0,!t)return n=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=n,zi[i+8>>2]=32896,wo(27424,i|0)|0,void(Wi=a);if(zi[t+1040>>2]=1,zi[4382]=zi[t+1024>>2],t=Er(e)|0,e=zi[4384]|0,zi[(zi[3794]|0)+(e<<2)>>2]=t,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=56,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,t=zi[3762]|0,(e|0)>=(t|0)&&(zi[3762]=ke(t)|0),((r|0)==0?(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=57,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,o=zi[3762]|0,(r|0)>=(o|0)):0)&&(zi[3762]=ke(o)|0),r=(zi[4384]|0)+1|0,zi[4384]=r,o=zi[3612]|0,(r|0)<(o|0))return void(Wi=a);if(e=o<<1,(zi[3552]|0)>2&&(r=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=r,zi[n+8>>2]=30584,wo(29656,n|0)|0),t=pr(o<<3)|0,(o|0)>0){i=0;do zi[t+(i<<2)>>2]=zi[(zi[3794]|0)+(i<<2)>>2],i=i+1|0;while((i|0)!=(o|0))}ci(zi[3794]|0),zi[3794]=t,zi[3612]=e,Wi=a}function A(e){e|=0,e=wr(zi[(zi[3794]|0)+((zi[4384]|0)+-1<<2)>>2]|0,e)|0,zi[(zi[3794]|0)+((zi[4384]|0)+-1<<2)>>2]=e}function R(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0;if(m=Wi,Wi=Wi+192|0,k=m+32|0,b=m+128|0,h=m+112|0,d=m+96|0,s=m+48|0,f=m+64|0,a=m+80|0,o=m+16|0,t=m,l=m+188|0,c=m+144|0,i=m+184|0,!(zi[3798]|0))return void(Wi=m);if(zi[i>>2]=e,Or(i),e=(zi[3872]|0)!=0,e&(zi[854]|0)==-1)return void(Wi=m);if(e)return e=zi[i>>2]|0,r=xi[e>>0]|0,(r+-65&255)>25?zi[3538]|0?void(Wi=m):(k=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=k,zi[t+8>>2]=32936,wo(27424,t|0)|0,void(Wi=m)):(((zi[4386]|0)==1?(xi[zi[4390]>>0]|0)==r<<24>>24:0)?(zi[4386]=0,zi[(zi[3776]|0)+(zi[3448+((xi[e>>0]|0)+-65<<2)>>2]<<2)>>2]=19):n=10,((n|0)==10?(zi[3448+((r<<24>>24)+-65<<2)>>2]|0)!=-1:0)&&(k=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=k,zi[o+8>>2]=32960,wo(27424,o|0)|0),e=zi[3802]|0,k=zi[i>>2]|0,zi[3448+((xi[k>>0]|0)+-65<<2)>>2]=e,k=xi[k>>0]|0,zi[(zi[3776]|0)+(e<<2)>>2]=12,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=k,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],k=(zi[3802]|0)+1|0,zi[3802]=k,e=zi[3762]|0,(k|0)>=(e|0)&&(zi[3762]=ke(e)|0),zi[4416]|0&&(k=zi[2428]|0,zi[a>>2]=zi[2602],zi[a+4>>2]=k,zi[a+8>>2]=32992,wo(27424,a|0)|0,zi[4416]=0),e=zi[3804]|0,zi[e+1080>>2]|0&&(e=zi[2428]|0,zi[f>>2]=zi[2602],zi[f+4>>2]=e,zi[f+8>>2]=33032,wo(27424,f|0)|0,j(1,1),e=zi[3804]|0),zi[e+1056>>2]|0&&(k=zi[2428]|0,zi[s>>2]=zi[2602],zi[s+4>>2]=k,zi[s+8>>2]=33072,wo(27424,s|0)|0,zi[(zi[3804]|0)+1056>>2]=0),zi[3804]=me(1)|0,void(Wi=m));zi[854]=0,r=zi[i>>2]|0,zi[l>>2]=r,i=0,e=0;e:for(;;){t=xi[r>>0]|0;r:do if((t+-65&255)>=26)switch(t<<24>>24){case 45:case 43:case 41:case 40:break r;case 46:t=r+1|0,zi[l>>2]=t,r=t,t=xi[t>>0]|0;break r;default:if((t+-48&255)<10)break r;break e}while(0);(t+-65&255)<26?(_r(t,17552),zi[854]=(zi[854]|0)+1,t=zi[l>>2]|0,f=xi[t>>0]|0,t=t+1|0,zi[l>>2]=t,r=t,t=xi[t>>0]|0):f=i,t<<24>>24==40&&((e|0)<10?(a=zi[4390]|0,zi[c+(e<<2)>>2]=a+(wi(a|0)|0),e=e+1|0):(r=zi[2428]|0,zi[d>>2]=zi[2602],zi[d+4>>2]=r,zi[d+8>>2]=33120,wo(27424,d|0)|0,r=zi[l>>2]|0),r=r+1|0,zi[l>>2]=r,t=xi[r>>0]|0);do if(t<<24>>24==41){if(r=r+1|0,zi[l>>2]=r,(e|0)<=0){a=zi[2428]|0,zi[h>>2]=zi[2602],zi[h+4>>2]=a,zi[h+8>>2]=33160,wo(27424,h|0)|0;break}if(((xi[r>>0]|0)+-48&255)>=10){e=e+-1|0;break}if(o=Nr(l)|0,e=e+-1|0,i=zi[c+(e<<2)>>2]|0,r=zi[4390]|0,(o|0)>1?(u=r+(wi(r|0)|0)-i|0,(u|0)>0):0){r=1;do{t=0;do _r(xi[i+t>>0]|0,17552),zi[854]=(zi[854]|0)+1,t=t+1|0;while((t|0)!=(u|0));r=r+1|0}while((r|0)!=(o|0))}}while(0);do if(((xi[zi[l>>2]>>0]|0)+-48&255)<10){if(r=Nr(l)|0,(zi[4388]|0)<=0){a=zi[2428]|0,zi[b>>2]=zi[2602],zi[b+4>>2]=a,zi[b+8>>2]=33200,wo(27424,b|0)|0;break}if((r|0)>1){t=1;do _r(f,17552),zi[854]=(zi[854]|0)+1,t=t+1|0;while((t|0)!=(r|0))}}while(0);r=zi[l>>2]|0,i=f}return e&&(b=zi[2428]|0,zi[k>>2]=zi[2602],zi[k+4>>2]=b,zi[k+8>>2]=33240,wo(27424,k|0)|0),(zi[854]|0)!=1?void(Wi=m):(zi[4386]=1,void(Wi=m))}function N(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0;return a=Wi,Wi=Wi+64|0,n=a+48|0,o=a,i=a+16|0,r=a+32|0,(zi[3742]|0)==0&(zi[3524]|0)!=0&&(f=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=f,zi[r+8>>2]=33280,wo(29656,r|0)|0,zi[3524]=0),zi[3742]=1,zi[3872]|0&&(zi[4416]|0&&(f=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=f,zi[i+8>>2]=32992,wo(27424,i|0)|0,zi[4416]=0),r=zi[3804]|0,zi[r+1080>>2]|0&&(r=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=r,zi[o+8>>2]=33032,wo(27424,o|0)|0,j(1,1),r=zi[3804]|0),zi[r+1056>>2]|0&&(o=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=o,zi[n+8>>2]=33072,wo(27424,n|0)|0,zi[(zi[3804]|0)+1056>>2]=0)),e=me(e)|0,zi[3804]=e,e=zi[e+1024>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=40,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,r=zi[3762]|0,(e|0)>=(r|0)&&(zi[3762]=ke(r)|0),r=zi[3804]|0,zi[15232+(zi[r+1024>>2]<<2)>>2]=0,(zi[t+4>>2]|0)==0|(zi[3798]|0)==0||(zi[r+1060>>2]=zi[t+28>>2]),zi[t+8>>2]|0?(t=zi[t+32>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=28,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=t,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,r=zi[3762]|0,(t|0)<(r|0)?void(Wi=a):(zi[3762]=ke(r)|0,void(Wi=a))):void(Wi=a)}function T(e){return e|=0,zi[3872]|0?void(zi[(zi[3804]|0)+1008>>2]=e):void(zi[4320]=e)}function D(e,r,t,i,o,n){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0;var a=0,f=0,s=0,u=0;u=Wi,Wi=Wi+16|0,a=u;e:do if(e)s=e,f=6;else if(o){for(n=0;;){if(!(oi(o,zi[14264+(n<<2)>>2]|0)|0))break;if(n=n+1|0,(n|0)>=19)break e}n=zi[14344+(n<<2)>>2]|0,n&&(s=n,f=6)}while(0);return((f|0)==6?(r|0)!=0&(t|0)==0:!0)?(i=zi[2428]|0,zi[a>>2]=zi[2602],zi[a+4>>2]=i,zi[a+8>>2]=33360,wo(27424,a|0)|0,void(Wi=u)):zi[3798]|0?zi[3872]|0?(zi[4392]=r,zi[4394]=t,zi[4396]=i,r?i&&(t=to(zi[4320]|0,t)|0):(t=zi[4320]|0,r=1),i=(to(t,6e7)|0)/(to(s<<2,r)|0)|0,r=~~(+(i|0)*480/+(zi[4398]|0)+.5),zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=13,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=i>>16,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=i&65535,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],i=(zi[3802]|0)+1|0,zi[3802]=i,r=zi[3762]|0,(i|0)<(r|0)?void(Wi=u):(zi[3762]=ke(r)|0,void(Wi=u))):(zi[4400]=s,zi[4392]=r,zi[4394]=t,zi[4396]=i,void(Wi=u)):void(Wi=u)}function P(e,r,t){e|=0,r|=0,t|=0;var i=0;if(zi[3798]|0){if(!(zi[3872]|0)){if(zi[4406]=e,zi[4408]=r,zi[4402]=e,zi[4404]=r,i=zi[3618]|0)do zi[i+1012>>2]=e,zi[i+1016>>2]=r,i=zi[i+1156>>2]|0;while((i|0)!=0);return zi[4410]=1,void(zi[4412]=t)}zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=14,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=t,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,i=zi[3762]|0,(t|0)>=(i|0)&&(zi[3762]=ke(i)|0),zi[4402]=e,zi[4404]=r,i=zi[3804]|0,i&&(zi[i+1012>>2]=e,zi[i+1016>>2]=r)}}function C(e,r){e|=0,r|=0;var t=0;do if((ni(e,33392)|0)==0?(t=Rr(r)|0,(zi[3798]|0)!=0):0){if(zi[3872]|0){zi[(zi[3804]|0)+1060>>2]=t;break}zi[4333]=t;break}while(0);((ni(e,30712)|0)!=0?(ni(e,30704)|0)!=0:0)||_(e,r)}function L(){var e=0,r=0,t=0,i=0;return t=Wi,Wi=Wi+32|0,r=t+16|0,e=t,zi[4414]|0?(r=zi[2428]|0,zi[e>>2]=zi[2602],zi[e+4>>2]=r,zi[e+8>>2]=33400,wo(27424,e|0)|0,void(Wi=t)):zi[(zi[3804]|0)+1080>>2]|0?(e=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=e,zi[r+8>>2]=33432,wo(27424,r|0)|0,void(Wi=t)):(zi[4414]=1,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=31,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)>=(e|0)&&(zi[3762]=ke(e)|0),i=zi[3804]|0,zi[i+1056>>2]=1,r=i+1096|0,zi[i+1124>>2]=zi[r>>2],zi[i+1128>>2]=zi[i+1100>>2],zi[i+1132>>2]=zi[i+1104>>2],zi[i+1136>>2]=zi[i+1108>>2],zi[i+1140>>2]=zi[i+1112>>2],zi[i+1144>>2]=zi[i+1116>>2],
e=i+1120|0,zi[i+1148>>2]=zi[e>>2],zi[e>>2]=-1,zi[r>>2]=-1,zi[r+4>>2]=-1,zi[r+8>>2]=-1,zi[r+12>>2]=-1,void(Wi=t))}function B(){var e=0,r=0,t=0,i=0,o=0;return i=Wi,Wi=Wi+32|0,t=i+16|0,e=i,zi[4414]|0?(zi[4414]=0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=32,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)>=(e|0)&&(zi[3762]=ke(e)|0),e=zi[3804]|0,zi[e+1056>>2]=0,r=e+1120|0,(zi[r>>2]|0)!=-1&&(o=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=o,zi[t+8>>2]=33496,wo(27424,t|0)|0),zi[e+1096>>2]=zi[e+1124>>2],zi[e+1100>>2]=zi[e+1128>>2],zi[e+1104>>2]=zi[e+1132>>2],zi[e+1108>>2]=zi[e+1136>>2],zi[e+1112>>2]=zi[e+1140>>2],zi[e+1116>>2]=zi[e+1144>>2],zi[r>>2]=zi[e+1148>>2],void(Wi=i)):(t=zi[2428]|0,zi[e>>2]=zi[2602],zi[e+4>>2]=t,zi[e+8>>2]=33472,wo(27424,e|0)|0,void(Wi=i))}function I(e){e|=0;var r=0,t=0,i=0,o=0,n=0;if(n=Wi,Wi=Wi+48|0,o=n+24|0,i=n,t=n+16|0,r=n+36|0,zi[t>>2]=r,zi[t+4>>2]=n+40,t=Et(e,33536,t)|0,!t)return o=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=o,zi[i+8>>2]=33552,wo(27424,i|0)|0,void(Wi=n);if(r=zi[r>>2]|0,(t|0)==1&(r|0)!=0)return zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=4,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,r=zi[3762]|0,(o|0)<(r|0)?void(Wi=n):(zi[3762]=ke(r)|0,void(Wi=n));if(r=Er(e)|0,e=zi[3548]|0,zi[(zi[3792]|0)+(e<<2)>>2]=r,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=4,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,r=zi[3762]|0,(e|0)>=(r|0)&&(zi[3762]=ke(r)|0),i=(zi[3548]|0)+1|0,zi[3548]=i,e=zi[3546]|0,(i|0)<(e|0))return void(Wi=n);if(i=e<<1,(zi[3552]|0)>2&&(t=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=t,zi[o+8>>2]=30584,wo(29656,o|0)|0),r=pr(e<<3)|0,(e|0)>0){t=0;do zi[r+(t<<2)>>2]=zi[(zi[3792]|0)+(t<<2)>>2],t=t+1|0;while((t|0)!=(e|0))}ci(zi[3792]|0),zi[3792]=r,zi[3546]=i,Wi=n}function H(e){e|=0;var r=0,t=0;return r=Wi,Wi=Wi+16|0,e=r,zi[(zi[3804]|0)+1052>>2]|0?(t=zi[2428]|0,zi[e>>2]=zi[2602],zi[e+4>>2]=t,zi[e+8>>2]=33584,wo(29656,e|0)|0,void(Wi=r)):(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=22,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=(zi[3802]|0)+1|0,zi[3802]=t,e=zi[3762]|0,(t|0)>=(e|0)&&(zi[3762]=ke(e)|0),zi[(zi[3804]|0)+1052>>2]=1,void(Wi=r))}function x(e){e|=0;var r=0;zi[(zi[3804]|0)+1052>>2]|0&&(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=23,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)>=(e|0)&&(zi[3762]=ke(e)|0),zi[(zi[3804]|0)+1052>>2]=0)}function U(){var e=0,r=0,t=0,i=0,o=0,n=0;if(!((zi[4414]|0)!=0&(zi[3520]|0)!=0)){if(e=zi[3802]|0,t=e+-1|0,i=zi[3776]|0,r=zi[i+(t<<2)>>2]|0,(r&-2|0)!=42){if(zi[i+(e<<2)>>2]=24,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,e=zi[3762]|0,(n|0)<(e|0))return;return void(zi[3762]=ke(e)|0)}if(o=zi[3502]|0,!((e|0)<=(o|0)))for(;;){if(((r|0)==18?(n=t+1|0,(zi[i+(n<<2)>>2]|0)!=24):0)&&k(24,0,0,0,n),e=t+-1|0,(t|0)<=(o|0))break;i=zi[3776]|0,r=zi[i+(e<<2)>>2]|0,t=e}}}function z(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;return a=Wi,Wi=Wi+32|0,n=a+16|0,o=a,t=zi[3804]|0,zi[t+1080>>2]|0?(n=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=n,zi[o+8>>2]=33608,wo(27424,o|0)|0,void(Wi=a)):zi[t+1056>>2]|0?(o=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=o,zi[n+8>>2]=33648,wo(27424,n|0)|0,void(Wi=a)):(((zi[4380]|0)!=0?(i=(zi[3802]|0)+-1|0,(zi[(zi[3776]|0)+(i<<2)>>2]|0)==51):0)&&(zi[3802]=i),zi[t+1112>>2]=e,zi[t+1116>>2]=r,zi[t+1120>>2]=0,void(Wi=a))}function q(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+32|0,o=a+16|0,i=a,(zi[4416]|0)>0)return n=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=n,zi[i+8>>2]=33696,wo(27424,i|0)|0,void(Wi=a);i=(t|0)==0,zi[4418]=i&1^1,zi[4416]=i?e:t;do if(r)zi[4420]=r,zi[4422]=e;else{if((e+-2|0)>>>0>7){n=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=n,zi[o+8>>2]=33712,wo(27424,o|0)|0,zi[4420]=1,zi[4422]=1,zi[4416]=0;break}switch(e|0){case 3:case 6:n=9;break;case 5:case 7:case 9:n=10;break;case 2:case 4:case 8:zi[4420]=3,(e|0)==3|(e|0)==6?n=9:(e|0)==7|(e|0)==5&&(n=10)}((n|0)==9?(zi[4420]=2,(e|0)==5):0)&&(n=10);do if((n|0)==10){if((zi[4406]|0)%3|0){zi[4420]=2;break}zi[4420]=3;break}while(0);zi[4422]=e}while(0);zi[4424]=0,zi[4426]=0,Wi=a}function V(){return zi[(zi[3804]|0)+1080>>2]|0?void j(1,1):void W(15128)}function j(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+16|0,i=a,zi[2424]=0,n=(e|0)==1&(r|0)==1,n&&(e=zi[3502]|0,r=zi[(zi[3768]|0)+(e<<2)>>2]|0,e=zi[(zi[3766]|0)+(e<<2)>>2]|0),o=zi[3804]|0,t=o+1080|0,!(zi[t>>2]|0))return n=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=n,zi[i+8>>2]=33744,wo(27424,i|0)|0,void(Wi=a);if(i=zi[4416]|0,(i|0)>0&&(e=to(zi[4420]|0,e)|0,r=to(zi[4422]|0,r)|0,zi[4424]|0||(zi[4424]=e,zi[4426]=r),((zi[4414]|0)==0?(zi[t>>2]|0)==0:0)&&(zi[4416]=i+-1)),n)e=zi[o+1088>>2]|0,n=zi[o+1092>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=42,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,o=zi[3766]|0,zi[o+(zi[3802]<<2)>>2]=e,e=zi[3768]|0,zi[e+(zi[3802]<<2)>>2]=n,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=zi[3802]|0,Ce(o+(n<<2)|0,e+(n<<2)|0),n=(zi[3802]|0)+1|0,zi[3802]=n,e=zi[3762]|0,(n|0)>=(e|0)&&(zi[3762]=ke(e)|0);else{r=to(zi[o+1008>>2]|0,r)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=43,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=e<<2,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,r=zi[3762]|0,(e|0)>=(r|0)&&(zi[3762]=ke(r)|0,e=zi[3802]|0),i=zi[3502]|0,o=e+-1|0;do if(!((zi[3562]|0)==0|(zi[3518]|0)!=0)){if(e=(zi[3766]|0)+(o<<2)|0,!(zi[3560]|0)){zi[e>>2]=zi[e>>2]<<1;break}r=(zi[3768]|0)+(o<<2)|0,t=(zi[r>>2]|0)+(zi[e>>2]|0)|0,zi[e>>2]=t,(t&zi[r>>2]|0)<0&&(zi[e>>2]=0-t,zi[r>>2]=0-(zi[r>>2]|0)),Ce(e,r)}while(0);if((i|0)<(o|0)){r=zi[3776]|0,e=i;do n=zi[r+(e<<2)>>2]|0,(n|0)==16|(n|0)==49|(n|0)==18&&(n=zi[3766]|0,zi[n+(e<<2)>>2]=zi[n+(o<<2)>>2],n=zi[3768]|0,zi[n+(e<<2)>>2]=zi[n+(o<<2)>>2]),e=e+1|0;while((e|0)!=(o|0))}zi[3562]=0}return e=zi[3804]|0,zi[e+1080>>2]=0,zi[e+1084>>2]=0,we(),e=zi[4416]|0,(e|0)<=0?void(Wi=a):(zi[4416]=e+-1,void(Wi=a))}function W(e){e|=0;var r=0,t=0,i=0;return t=Wi,Wi=Wi+16|0,r=t,zi[2424]=1,zi[3562]=zi[e+16>>2],zi[(zi[3804]|0)+1080>>2]|0?(e=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=e,zi[r+8>>2]=33768,wo(27424,r|0)|0,void(Wi=t)):(e=zi[3802]|0,zi[3502]=e,zi[3528]|0&&(i=zi[2602]|0,r=zi[2428]|0,zi[(zi[3776]|0)+(e<<2)>>2]=71,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,r=zi[3762]|0,(e|0)>=(r|0)&&(zi[3762]=ke(r)|0,e=zi[3802]|0)),zi[(zi[3776]|0)+(e<<2)>>2]=41,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],i=(zi[3802]|0)+1|0,zi[3802]=i,e=zi[3762]|0,(i|0)>=(e|0)&&(zi[3762]=ke(e)|0),r=zi[3804]|0,zi[r+1080>>2]=1,zi[r+1084>>2]=0,zi[r+1088>>2]=0,zi[r+1092>>2]=1,i=r+1104|0,zi[r+1096>>2]=zi[i>>2],zi[r+1100>>2]=zi[r+1108>>2],zi[i>>2]=(zi[3802]|0)+-1,void(Wi=t))}function Y(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,f=0,s=0;s=Wi,Wi=Wi+32|0,o=s,f=s+16|0,n=s+12|0,zi[f>>2]=r,zi[n>>2]=t;do if(!((zi[e+16>>2]|0)==0|(zi[3518]|0)!=0)){if(!(zi[3560]|0)){zi[f>>2]=r<<1;break}i=r+t|0,zi[f>>2]=i,(i&t|0)<0&&(zi[f>>2]=0-i,zi[n>>2]=0-t),Ce(f,n)}while(0);return i=zi[3804]|0,i||a(33792),zi[i+1080>>2]|0&&(r=i+1084|0,zi[r>>2]=(zi[r>>2]|0)+1),(zi[4416]|0)>0&&(i=to(zi[4420]|0,zi[f>>2]|0)|0,zi[f>>2]=i,e=to(zi[4422]|0,zi[n>>2]|0)|0,zi[n>>2]=e,r=zi[4424]|0,r?(r=to(r,e)|0,r=(r|0)==(to(zi[4426]|0,i)|0),r|(zi[4418]|0)!=0||(r=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=r,zi[o+8>>2]=33832,wo(29656,o|0)|0)):(zi[4424]=i,zi[4426]=e),i=zi[3804]|0,((zi[4414]|0)==0?(zi[i+1080>>2]|0)==0:0)&&(zi[4416]=(zi[4416]|0)+-1)),e=(zi[i+1084>>2]|0)==1,e&&(zi[i+1088>>2]=zi[f>>2]<<2,zi[i+1092>>2]=to(zi[i+1008>>2]|0,zi[n>>2]|0)|0),((zi[i+1056>>2]|0)==0?(zi[i+1080>>2]|0)==0|e:0)&&(Le(zi[f>>2]|0,to(zi[i+1008>>2]|0,zi[n>>2]|0)|0),i=zi[3804]|0),zi[4428]=3,o=zi[f>>2]<<2,f=to(zi[i+1008>>2]|0,zi[n>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=16,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,n=zi[3766]|0,zi[n+(zi[3802]<<2)>>2]=o,i=zi[3768]|0,zi[i+(zi[3802]<<2)>>2]=f,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],f=zi[3802]|0,Ce(n+(f<<2)|0,i+(f<<2)|0),f=(zi[3802]|0)+1|0,zi[3802]=f,i=zi[3762]|0,(f|0)>=(i|0)&&(zi[3762]=ke(i)|0),i=zi[3804]|0,zi[i+1080>>2]|0?void(Wi=s):(f=i+1104|0,zi[i+1096>>2]=zi[f>>2],zi[i+1100>>2]=zi[i+1108>>2],zi[f>>2]=(zi[3802]|0)+-1,we(),void(Wi=s))}function K(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0;return o=to(zi[e>>2]|0,i)|0,zi[e>>2]=(to(zi[r>>2]|0,t)|0)+o,i=to(zi[r>>2]|0,i)|0,zi[r>>2]=i,t=zi[e>>2]|0,(t&i|0)>=0?void Ce(e,r):(zi[e>>2]=0-t,zi[r>>2]=0-(zi[r>>2]|0),void Ce(e,r))}function X(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0;if(o=Wi,Wi=Wi+48|0,t=o,zi[t+16>>2]=0,(e|0)<=0)return void(Wi=o);r=e+-1|0,i=0;do n=to(zi[(zi[3804]|0)+1008>>2]|0,zi[4402]|0)|0,Y(t,n,zi[4404]|0,0),(i|0)!=(r|0)&&G(0,44152),i=i+1|0;while((i|0)!=(e|0));Wi=o}function G(e,r){e|=0,r|=0;var t=0,i=0;if((zi[3544]|0)>0&(zi[3800]|0)==0&&m(),i=(e&-2|0)==10?1:e,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,e=zi[3766]|0,zi[e+(zi[3802]<<2)>>2]=0,t=zi[3768]|0,zi[t+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],(i|0)==16|(i|0)==18|(i|0)==42&&(i=zi[3802]|0,Ce(e+(i<<2)|0,t+(i<<2)|0)),i=(zi[3802]|0)+1|0,zi[3802]=i,e=zi[3762]|0,(i|0)>=(e|0)&&(zi[3762]=ke(e)|0),pe(zi[3804]|0),zi[130]=0,zi[136]=1,xi[r>>0]|0&&I(r),!(zi[3800]|0)){if(e=zi[3804]|0,t=zi[e+1068>>2]|0,(t|0)!=-1)do r=me(t)|0,zi[3804]=r,zi[3544]=(zi[3544]|0)+1,r=zi[r+1024>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=40,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],r=(zi[3802]|0)+1|0,zi[3802]=r,e=zi[3762]|0,(r|0)>=(e|0)&&(zi[3762]=ke(e)|0),Ee(zi[3804]|0,0,0),e=zi[3804]|0,t=zi[e+1068>>2]|0;while((t|0)!=-1);((zi[3544]|0)>0?1:(zi[e+1072>>2]|0)!=-1)&&m()}}function Z(e,r,t,i,o,n){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0;var a=0,f=0;zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=31,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],a=(zi[3802]|0)+1|0,zi[3802]=a,f=zi[3762]|0,(a|0)>=(f|0)&&(zi[3762]=ke(f)|0,a=zi[3802]|0),zi[(zi[3772]|0)+(a<<2)>>2]=i,a=zi[(zi[3804]|0)+1008>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,i=zi[3766]|0,zi[i+(zi[3802]<<2)>>2]=4,f=zi[3768]|0,zi[f+(zi[3802]<<2)>>2]=a,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],a=zi[3802]|0,Ce(i+(a<<2)|0,f+(a<<2)|0),a=(zi[3802]|0)+1|0,zi[3802]=a,f=zi[3762]|0,(a|0)>=(f|0)&&(zi[3762]=ke(f)|0,a=zi[3802]|0),zi[(zi[3776]|0)+(a<<2)>>2]=32,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],a=(zi[3802]|0)+1|0,zi[3802]=a,f=zi[3762]|0,(a|0)>=(f|0)&&(zi[3762]=ke(f)|0,a=zi[3802]|0),zi[(zi[3772]|0)+(a<<2)>>2]=t,n=to(zi[(zi[3804]|0)+1008>>2]|0,n)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,t=zi[3766]|0,zi[t+(zi[3802]<<2)>>2]=o<<2,a=zi[3768]|0,zi[a+(zi[3802]<<2)>>2]=n,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=zi[3802]|0,Ce(t+(e<<2)|0,a+(e<<2)|0),e=(zi[3802]|0)+1|0,zi[3802]=e,a=zi[3762]|0,(e|0)<(a|0)||(zi[3762]=ke(a)|0)}function J(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0;zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=r,a=t<<1,n=i<<1,t=to(zi[(zi[3804]|0)+1008>>2]|0,n)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,f=zi[3766]|0,zi[f+(zi[3802]<<2)>>2]=a,o=zi[3768]|0,zi[o+(zi[3802]<<2)>>2]=t,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=zi[3802]|0,Ce(f+(t<<2)|0,o+(t<<2)|0),t=(zi[3802]|0)+1|0,zi[3802]=t,o=zi[3762]|0,(t|0)>=(o|0)&&(zi[3762]=ke(o)|0,t=zi[3802]|0),zi[(zi[3772]|0)+(t<<2)>>2]=r,t=to(zi[(zi[3804]|0)+1008>>2]|0,n)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,n=zi[3766]|0,zi[n+(zi[3802]<<2)>>2]=a,o=zi[3768]|0,zi[o+(zi[3802]<<2)>>2]=t,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=zi[3802]|0,Ce(n+(t<<2)|0,o+(t<<2)|0),t=(zi[3802]|0)+1|0,zi[3802]=t,o=zi[3762]|0,(t|0)>=(o|0)&&(zi[3762]=ke(o)|0,t=zi[3802]|0),zi[(zi[3772]|0)+(t<<2)>>2]=r,r=to(zi[(zi[3804]|0)+1008>>2]|0,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,i=zi[3766]|0,zi[i+(zi[3802]<<2)>>2]=a,t=zi[3768]|0,zi[t+(zi[3802]<<2)>>2]=r,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=zi[3802]|0,Ce(i+(e<<2)|0,t+(e<<2)|0),e=(zi[3802]|0)+1|0,zi[3802]=e,t=zi[3762]|0,(e|0)<(t|0)||(zi[3762]=ke(t)|0)}function Q(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0,s=0;zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=r,a=((t<<2)+-4|0)/2|0,f=i<<1,o=to(zi[(zi[3804]|0)+1008>>2]|0,f)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,s=zi[3766]|0,zi[s+(zi[3802]<<2)>>2]=a,n=zi[3768]|0,zi[n+(zi[3802]<<2)>>2]=o,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=zi[3802]|0,Ce(s+(o<<2)|0,n+(o<<2)|0),o=(zi[3802]|0)+1|0,zi[3802]=o,n=zi[3762]|0,(o|0)>=(n|0)&&(zi[3762]=ke(n)|0,o=zi[3802]|0),zi[(zi[3772]|0)+(o<<2)>>2]=r,o=to(zi[(zi[3804]|0)+1008>>2]|0,f)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,s=zi[3766]|0,zi[s+(zi[3802]<<2)>>2]=a,n=zi[3768]|0,zi[n+(zi[3802]<<2)>>2]=o,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=zi[3802]|0,Ce(s+(o<<2)|0,n+(o<<2)|0),o=(zi[3802]|0)+1|0,zi[3802]=o,n=zi[3762]|0,(o|0)>=(n|0)&&(zi[3762]=ke(n)|0,o=zi[3802]|0),zi[(zi[3772]|0)+(o<<2)>>2]=r,i=to(zi[(zi[3804]|0)+1008>>2]|0,i)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,r=zi[3766]|0,zi[r+(zi[3802]<<2)>>2]=(((t|0)/2|0)<<2)+4,o=zi[3768]|0,zi[o+(zi[3802]<<2)>>2]=i,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],t=zi[3802]|0,Ce(r+(t<<2)|0,o+(t<<2)|0),t=(zi[3802]|0)+1|0,zi[3802]=t,o=zi[3762]|0,(t|0)<(o|0)||(zi[3762]=ke(o)|0)}function $(e,r,t,i,o,n,f){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0,f|=0;var s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0;if(M=Wi,Wi=Wi+80|0,m=M+40|0,p=M,k=M+8|0,l=M+24|0,g=M+64|0,S=M+68|0,F=M+48|0,_=M+52|0,v=M+56|0,y=M+60|0,c=M+44|0,zi[(zi[3774]|0)+(zi[3802]<<2)>>2]=0,zi[3742]|0||(zi[3524]=1),s=zi[3804]|0,s||a(33864),(zi[4414]|0)!=0&(zi[3520]|0)!=0)return void(Wi=M);if(E=(zi[s+1060>>2]|0)+o|0,zi[v>>2]=n,zi[y>>2]=f,zi[s+1080>>2]|0&&(n=s+1084|0,zi[n>>2]=(zi[n>>2]|0)+1),(zi[4416]|0)>0&&(s=to(zi[4420]|0,zi[v>>2]|0)|0,zi[v>>2]=s,o=to(zi[4422]|0,zi[y>>2]|0)|0,zi[y>>2]=o,f=zi[4424]|0,f?(n=to(f,o)|0,n=(n|0)==(to(zi[4426]|0,s)|0),n|(zi[4418]|0)!=0||(n=zi[2428]|0,zi[l>>2]=zi[2602],zi[l+4>>2]=n,zi[l+8>>2]=33832,wo(29656,l|0)|0)):(zi[4424]=s,zi[4426]=o),s=zi[3804]|0,((zi[4414]|0)==0?(zi[s+1080>>2]|0)==0:0)&&(zi[4416]=(zi[4416]|0)+-1)),o=s+1056|0,(zi[o>>2]|0)==0?(zi[s+1080>>2]|0)==0:0){if(f=zi[v>>2]|0,n=to(zi[s+1008>>2]|0,zi[y>>2]|0)|0,l=zi[3802]|0,(zi[4380]|0)!=0&(l|0)>0?(zi[(zi[3776]|0)+(l+-1<<2)>>2]|0)!=51:0){l=to(zi[5782]|0,f)|0;do if(((f|0)==1?(l|0)==(to(zi[4428]|0,n)|0):0)?(u=zi[4406]|0,(to(u,n)|0)==32):0){if(l=zi[136]|0,(u|0)==4&(l|0)==8?0:!((u|0)==2&(l|0)==16))break;zi[s+1112>>2]=51,zi[s+1116>>2]=1,zi[s+1120>>2]=0}while(0);zi[4428]=f,zi[5782]=n}}else zi[4428]=3;do if(!(zi[o>>2]|0)){if((zi[s+1080>>2]|0)!=0?(zi[s+1084>>2]|0)!=1:0)break;Le(zi[v>>2]|0,to(zi[s+1008>>2]|0,zi[y>>2]|0)|0),s=zi[3804]|0}while(0);do{if(!(zi[s+1160>>2]|0)){if(o=i<<24>>24,s=r<<24>>24,(zi[3504]|0)==1){n=o,r=Se(o,s,t,E,0,21920)|0;break}n=o,r=Se(o,s,t,E,1,21920)|0;break}n=i<<24>>24,i=zi[33912+((ti(33904,n,8)|0)-33904<<2)>>2]|0,r=(r<<24>>24==95?0-t|0:0)+(r<<24>>24==94?t:0)+(E*12|0)+i+(zi[4054]|0)|0}while(0);f=Se(n,0,0,E,0,c)|0;do if(!((zi[e+16>>2]|0)==0|(zi[3518]|0)!=0)){if(s=zi[v>>2]|0,!(zi[3560]|0)){zi[v>>2]=s<<1;break}o=zi[y>>2]|0,s=o+s|0,zi[v>>2]=s,(s&o|0)<0&&(zi[v>>2]=0-s,zi[y>>2]=0-o),Ce(v,y)}while(0);if(s=zi[3804]|0,o=(zi[s+1084>>2]|0)==1,o&&(zi[s+1088>>2]=zi[v>>2]<<2,zi[s+1092>>2]=to(zi[s+1008>>2]|0,zi[y>>2]|0)|0),((zi[e+12>>2]|0)==0?(zi[e+20>>2]|0)==0:0)?(zi[e+24>>2]|0)==0:0){if((zi[e>>2]|0)==0?(zi[e+36>>2]|0)==0:0){zi[(zi[3778]|0)+(zi[3802]<<2)>>2]=f;do if((zi[3528]|0)!=0?(zi[s+1080>>2]|0)==0:0){if(s=zi[2602]|0,F=zi[2428]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=71,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=s,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0))break;zi[3762]=ke(s)|0}while(0);return zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],s=zi[v>>2]<<2,F=to(zi[(zi[3804]|0)+1008>>2]|0,zi[y>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)>=(s|0)&&(zi[3762]=ke(s)|0),s=zi[3804]|0,zi[s+1080>>2]|0||(F=s+1104|0,zi[s+1096>>2]=zi[F>>2],zi[s+1100>>2]=zi[s+1108>>2],zi[F>>2]=(zi[3802]|0)+-1,we(),s=zi[3804]|0),zi[s+1052>>2]|0?zi[s+1056>>2]|0?void(Wi=M):(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=48,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0)?void(Wi=M):(zi[3762]=ke(s)|0,void(Wi=M))):void(Wi=M)}return zi[s+1080>>2]|0?((o?(h=zi[v>>2]<<2,F=to(zi[s+1008>>2]|0,zi[y>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=16,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,g=zi[3766]|0,zi[g+(zi[3802]<<2)>>2]=h,h=zi[3768]|0,zi[h+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(g+(F<<2)|0,h+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,h=zi[3762]|0,(F|0)>=(h|0)):0)&&(zi[3762]=ke(h)|0),zi[(zi[3778]|0)+(zi[3802]<<2)>>2]=f,zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],s=zi[v>>2]<<2,F=to(zi[y>>2]<<1,zi[(zi[3804]|0)+1008>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0)?void(Wi=M):(zi[3762]=ke(s)|0,void(Wi=M))):(zi[(zi[3778]|0)+(zi[3802]<<2)>>2]=f,((zi[3528]|0)!=0?(b=zi[2602]|0,F=zi[2428]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=71,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=b,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=(zi[3802]|0)+1|0,zi[3802]=F,b=zi[3762]|0,(F|0)>=(b|0)):0)&&(zi[3762]=ke(b)|0),zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],s=zi[v>>2]<<2,F=to(zi[y>>2]<<1,zi[(zi[3804]|0)+1008>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,g=zi[3766]|0,zi[g+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(g+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)>=(s|0)&&(zi[3762]=ke(s)|0),F=zi[3804]|0,s=F+1104|0,zi[F+1096>>2]=zi[s>>2],zi[F+1100>>2]=zi[F+1108>>2],zi[s>>2]=(zi[3802]|0)+-1,s=zi[v>>2]<<2,F=to(zi[y>>2]<<1,zi[F+1008>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=16,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)>=(s|0)&&(zi[3762]=ke(s)|0),we(),void(Wi=M))}if(zi[s+1080>>2]|0)return s=zi[2428]|0,zi[k>>2]=zi[2602],zi[k+4>>2]=s,zi[k+8>>2]=33944,wo(27424,k|0)|0,zi[(zi[3778]|0)+(zi[3802]<<2)>>2]=f,zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],s=zi[v>>2]<<2,F=to(zi[y>>2]<<1,zi[(zi[3804]|0)+1008>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0)?void(Wi=M):(zi[3762]=ke(s)|0,void(Wi=M));if(((zi[3528]|0)!=0?(d=zi[2602]|0,k=zi[2428]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=71,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=d,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=k,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],k=(zi[3802]|0)+1|0,zi[3802]=k,d=zi[3762]|0,(k|0)>=(d|0)):0)&&(zi[3762]=ke(d)|0),zi[e+24>>2]|0)return zi[(zi[3774]|0)+(zi[3802]<<2)>>2]=zi[3540],s=((ti(33904,n,8)|0)+-33903|0)%7|0,f=xi[33904+s>>0]|0,s=Se(f,xi[(zi[3804]|0)+(f+-97)>>0]|0,1,((s|0)==0&1)+E|0,0,g)|0,f=pr(36)|0,zi[f+12>>2]=r,zi[f+4>>2]=zi[3802],zi[f+8>>2]=6,zi[f+16>>2]=s,zi[f+28>>2]=0,zi[f+32>>2]=zi[4320],zi[f+20>>2]=zi[g>>2],zi[f+24>>2]=zi[5480],s=zi[3540]|0,s>>>0>999?(zi[p>>2]=s,wo(33992,p|0)|0,s=zi[3540]|0,zi[17920+(s<<2)>>2]=f,(s|0)<1e3&&(w=57)):(zi[17920+(s<<2)>>2]=f,w=57),(w|0)==57&&(zi[3540]=s+1),s=zi[v>>2]<<2,F=to(zi[(zi[3804]|0)+1008>>2]|0,zi[y>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0)?void(Wi=M):(zi[3762]=ke(s)|0,void(Wi=M));if(!(zi[e+20>>2]|0))return zi[(zi[3774]|0)+(zi[3802]<<2)>>2]=zi[3540],s=(ti(33904,n,8)|0)-33904|0,F=(s+1|0)%7|0,s=(s+6|0)%7|0,_=xi[33904+F>>0]|0,f=xi[33904+s>>0]|0,F=Se(_,xi[(zi[3804]|0)+(_+-97)>>0]|0,1,((F|0)==0&1)+E|0,0,g)|0,s=Se(f,xi[(zi[3804]|0)+(f+-97)>>0]|0,1,(((s|0)==6)<<31>>31)+E|0,0,S)|0,f=pr(36)|0,zi[f+12>>2]=r,zi[f+4>>2]=zi[3802],zi[f+8>>2]=3,zi[f+16>>2]=F,zi[f+28>>2]=s,zi[f+20>>2]=zi[g>>2],zi[f+24>>2]=zi[S>>2],zi[f+32>>2]=zi[4320],s=zi[3540]|0,s>>>0>999?(zi[m>>2]=s,wo(33992,m|0)|0,s=zi[3540]|0,zi[17920+(s<<2)>>2]=f,(s|0)<1e3&&(w=77)):(zi[17920+(s<<2)>>2]=f,w=77),(w|0)==77&&(zi[3540]=s+1),zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],s=zi[v>>2]<<2,F=to(zi[(zi[3804]|0)+1008>>2]|0,zi[y>>2]|0)|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,y=zi[3766]|0,zi[y+(zi[3802]<<2)>>2]=s,s=zi[3768]|0,zi[s+(zi[3802]<<2)>>2]=F,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],F=zi[3802]|0,Ce(y+(F<<2)|0,s+(F<<2)|0),F=(zi[3802]|0)+1|0,zi[3802]=F,s=zi[3762]|0,(F|0)<(s|0)?void(Wi=M):(zi[3762]=ke(s)|0,void(Wi=M));u=zi[v>>2]|0,l=zi[y>>2]|0,f=(ti(33904,n,8)|0)-33904|0,s=(f+1|0)%7|0,f=(f+6|0)%7|0,n=xi[33904+s>>0]|0,o=xi[33904+f>>0]|0,zi[3526]|0?(zi[F>>2]=8192,zi[_>>2]=8192,o=r,n=r):(n=Se(n,xi[(zi[3804]|0)+(n+-97)>>0]|0,1,((s|0)==0&1)+E|0,0,F)|0,o=Se(o,xi[(zi[3804]|0)+(o+-97)>>0]|0,1,(((f|0)==6)<<31>>31)+E|0,0,_)|0),f=zi[3804]|0,y=f+1104|0,zi[f+1096>>2]=zi[y>>2],zi[f+1100>>2]=zi[f+1108>>2],zi[y>>2]=(zi[3802]|0)+-1,f=f+1008|0,zi[g>>2]=to(zi[f>>2]|0,u)|0,zi[S>>2]=to(zi[f>>2]|0,l)|0,Ce(g,S),f=(zi[3526]|0)!=0;do{if(!((zi[g>>2]|0)==3&(zi[S>>2]|0)==1)){if(s=zi[5480]|0,f){J(r,s,u,l);break}Z(r,n,s,zi[F>>2]|0,u,l);break}if(f){Q(r,zi[5480]|0,u,l);break}s=(u|0)/3|0,s=(s|0)<1?1:s,zi[(zi[3772]|0)+(zi[3802]<<2)>>2]=zi[5480],y=zi[(zi[3804]|0)+1008>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=18,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=r,g=zi[3766]|0,zi[g+(zi[3802]<<2)>>2]=s<<2,f=zi[3768]|0,zi[f+(zi[3802]<<2)>>2]=y,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],y=zi[3802]|0,Ce(g+(y<<2)|0,f+(y<<2)|0),y=(zi[3802]|0)+1|0,zi[3802]=y,f=zi[3762]|0,(y|0)>=(f|0)&&(zi[3762]=ke(f)|0),Z(r,n,zi[5480]|0,zi[F>>2]|0,s,l),Z(r,o,zi[5480]|0,zi[_>>2]|0,s,l)}while(0);we(),Wi=M}function ee(e,r,t){return e|=0,r|=0,t|=0,zi[2230]=to(r,e)|0,zi[2231]=t,r?(t=to(~~(+(r|0)*4096/+(t|0)+.5),e)|0,e=t+8192|0,zi[5480]=(t|0)<-8192?0:(e|0)>16383?16383:e,void(zi[2412]=1)):(zi[2412]=0,zi[2230]=0,void(zi[2231]=0))}function re(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0;if(h=Wi,Wi=Wi+272|0,l=h+40|0,c=h,n=h+8|0,t=h+24|0,u=h+256|0,s=h+56|0,r=xi[e>>0]|0,(r+-48&255)<6)return void(Wi=h);if(o=r<<24>>24==40?e+1|0:e,r=xi[o>>0]|0,(r+-65&255)>=7){if(!((r+-97&255)<7))return d=(ti(34024,r<<24>>24,6)|0)!=0,d|(zi[3538]|0)!=0?void(Wi=h):(d=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=d,zi[t+8>>2]=34032,wo(27424,t|0)|0,void(Wi=h));f=1}else f=0,r=(r&255)+32&255;i=o+1|0,e=xi[i>>0]|0,e<<24>>24==35?(a=o+2|0,e=xi[a>>0]|0,t=i,o=1,i=a):(t=o,o=0),a=e<<24>>24==98,t=a?t+2|0:i,a=(o&(a^1)&1)+(zi[33912+((ti(33904,r<<24>>24,8)|0)-33904<<2)>>2]|0)+(a<<31>>31)|0,r=xi[t>>0]|0;e:do switch(r<<24>>24){case 41:case 40:case 32:case 0:i=0,o=-1;break;case 47:i=0,r=t,d=11;break;default:switch(xi[u>>0]=r,r=t+1|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=1,o=-1;break e;case 47:i=1,d=11;break e}switch(xi[u+1>>0]=e,r=t+2|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=2,o=-1;break e;case 47:i=2,d=11;break e}switch(xi[u+2>>0]=e,r=t+3|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=3,o=-1;break e;case 47:i=3,d=11;break e}switch(xi[u+3>>0]=e,r=t+4|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=4,o=-1;break e;case 47:i=4,d=11;break e}switch(xi[u+4>>0]=e,r=t+5|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=5,o=-1;break e;case 47:i=5,d=11;break e}switch(xi[u+5>>0]=e,r=t+6|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=6,o=-1;break e;case 47:i=6,d=11;break e}switch(xi[u+6>>0]=e,r=t+7|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=7,o=-1;break e;case 47:i=7,d=11;break e}switch(xi[u+7>>0]=e,r=t+8|0,e=xi[r>>0]|0,e<<24>>24){case 41:case 40:case 32:case 0:i=8,o=-1;break e;case 47:i=8,d=11;break e}xi[u+8>>0]=e,r=t+9|0,(xi[r>>0]|0)==47?(i=9,d=11):(i=9,o=-1)}while(0);do if((d|0)==11){if(e=xi[r+1>>0]|0,t=e<<24>>24,(e+-65&255)<7){e=xi[r+2>>0]|0,e<<24>>24==35?(e=xi[r+3>>0]|0,r=1):r=0,o=e<<24>>24==98,o=(r&(o^1)&1)+(zi[33912+((ti(33904,(t<<24)+536870912>>24,8)|0)-33904<<2)>>2]|0)+(o<<31>>31)|0;break}if((e+-97&255)>=7){if(zi[3538]|0){o=-1;break}o=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=o,zi[n+8>>2]=34080,wo(27424,n|0)|0,o=-1;break}e=xi[r+2>>0]|0,e<<24>>24==35?(e=xi[r+3>>0]|0,r=1):r=0,o=e<<24>>24==98,o=(r&(o^1)&1)+(zi[33912+((ti(33904,t,8)|0)-33904<<2)>>2]|0)+(o<<31>>31)|0}while(0);if(xi[u+i>>0]=0,e=zi[3550]|0,(e|0)>0){for(r=1;;){if(t=(ni(u,23152+(r<<3)|0)|0)==0,i=(t&1^1)+r|0,t=(r|0)==0|t^1,!(t&(i|0)<=(e|0)))break;r=i}t?d=24:(c=zi[3804]|0,zi[c+1036>>2]=1,zi[3746]=zi[c+1024>>2])}else d=24;return(d|0)==24&&(zi[c>>2]=u,Jt(s,34128,c)|0,r=zi[2428]|0,zi[l>>2]=zi[2602],zi[l+4>>2]=r,zi[l+8>>2]=s,wo(27424,l|0)|0,r=1),zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=37,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=a,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=o,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=(f|0)==0?r:-1,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],d=(zi[3802]|0)+1|0,zi[3802]=d,r=zi[3762]|0,(d|0)<(r|0)?void(Wi=h):(zi[3762]=ke(r)|0,void(Wi=h))}function te(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0;for(c=Wi,Wi=Wi+592|0,l=c+24|0,u=c,a=c+8|0,o=c+16|0,s=c+80|0,f=c+36|0,n=c+40|0,zi[f>>2]=e,Or(f),r=zi[f>>2]|0;;){if(t=xi[r>>0]|0,!(t<<24>>24))break;if(t<<24>>24==32){i=4;break}r=r+1|0}(i|0)==4&&(xi[r>>0]=0);do if(zi[3756]|0)r=0;else{if(r=zi[f>>2]|0,ni(r,34232)|0?(t=r,r=0):(_(30712,34240),t=zi[f>>2]|0,r=1),ni(t,34256)|0||(_(30712,34264),t=zi[f>>2]|0,r=1),ni(t,34280)|0||(_(30712,34288),t=zi[f>>2]|0,r=1),ni(t,34304)|0||(_(30712,34312),t=zi[f>>2]|0,r=1),ni(t,34328)|0||(_(30712,34336),t=zi[f>>2]|0,r=1),ni(t,34352)|0||(_(30712,34360),t=zi[f>>2]|0,r=1),ni(t,34384)|0||(_(30712,34392),t=zi[f>>2]|0,r=1),ni(t,34416)|0||(_(30712,34424),t=zi[f>>2]|0,r=1),((((ni(t,34448)|0)!=0?(ni(t,34464)|0)!=0:0)?(ni(t,34472)|0)!=0:0)?(ni(t,34488)|0)!=0:0)||(zi[o>>2]=zi[3500],Jt(n,34496,o)|0,_(30712,n),t=zi[f>>2]|0,r=1),(((ni(t,34512)|0)!=0?(ni(t,34528)|0)!=0:0)?(ni(t,34536)|0)!=0:0)?(ni(t,34552)|0)!=0:0)break;zi[a>>2]=zi[3500],Jt(n,34560,a)|0,_(30712,n),r=1}while(0);return t=zi[f>>2]|0,ni(t,34576)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=44,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,r=zi[3762]|0,(n|0)>=(r|0)&&(zi[3762]=ke(r)|0),zi[3748]=zi[(zi[3804]|0)+1024>>2],t=zi[f>>2]|0,r=1),ni(t,34584)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=45,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,r=zi[3762]|0,(n|0)<(r|0)?r=1:(zi[3762]=ke(r)|0,r=1)),ni(e,34592)|0||(zi[2418]=1,r=1),ni(e,34600)|0||(zi[2420]=1,r=1),ni(zi[f>>2]|0,34608)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=69,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,r=zi[3762]|0,(n|0)<(r|0)?r=1:(zi[3762]=ke(r)|0,r=1)),ni(zi[f>>2]|0,34624)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=72,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],n=(zi[3802]|0)+1|0,zi[3802]=n,r=zi[3762]|0,(n|0)<(r|0)?r=1:(zi[3762]=ke(r)|0,r=1)),ni(zi[f>>2]|0,34632)|0||(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=73,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],f=(zi[3802]|0)+1|0,zi[3802]=f,r=zi[3762]|0,(f|0)<(r|0)?r=1:(zi[3762]=ke(r)|0,r=1)),ni(e,34640)|0||(zi[2423]=1,r=1),ni(e,34648)|0?(r|0)==0&(zi[3558]|0)==-1?(zi[u>>2]=e,Jt(s,34656,u)|0,u=zi[2428]|0,zi[l>>2]=zi[2602],zi[l+4>>2]=u,zi[l+8>>2]=s,wo(29656,l|0)|0,void(Wi=c)):void(Wi=c):(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=74,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=1,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],l=(zi[3802]|0)+1|0,zi[3802]=l,r=zi[3762]|0,(l|0)<(r|0)?void(Wi=c):(zi[3762]=ke(r)|0,void(Wi=c)))}function ie(e){return e|=0,uo(e<<24>>24|0,zi[5482]|0)|0}function oe(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0;y=Wi,Wi=Wi+112|0,g=y+56|0,_=y,v=y+104|0,S=y+100|0,h=y+96|0,d=y+92|0,k=y+88|0,b=y+108|0,w=y+76|0,E=y+72|0,p=y+68|0,m=y+64|0,c=y+80|0,l=y+84|0,zi[h>>2]=0,zi[d>>2]=1,u=1,s=0,f=zi[3776]|0,t=0,r=0,i=1,o=0;e:for(;;){a=zi[3764]|0;r:for(;;){n=e;t:for(;;){switch(e=n+1|0,zi[f+(e<<2)>>2]|0){case 49:case 18:a=t;break r;case 16:if(!(zi[a+(e<<2)>>2]|0)){a=t;break r}break;case 43:case 42:t=0,r=0,i=u,o=s;continue r;case 41:n=e,t=1,r=0;continue t;case 3:case 9:case 2:case 1:case 0:break e}n=e}}r||(r=zi[(zi[3768]|0)+(e<<2)>>2]|0,t=(to(u,zi[(zi[3766]|0)+(e<<2)>>2]|0)|0)+(to(s,r)|0)|0,zi[h>>2]=t,r=to(u,r)|0,zi[d>>2]=r,(t&r|0)<0&&(zi[h>>2]=0-t,zi[d>>2]=0-r),Ce(h,d),Ce(h,d),zi[v>>2]=to(zi[610]|0,o)|0,zi[S>>2]=to(i<<2,zi[612]|0)|0,Ce(v,S),zi[k>>2]=to(zi[610]|0,zi[h>>2]|0)|0,zi[b>>2]=to(zi[d>>2]<<2,zi[612]|0)|0,Ce(k,b),je(zi[v>>2]|0,zi[S>>2]|0,w,E),je(zi[k>>2]|0,zi[b>>2]|0,p,m),u=zi[m>>2]|0,t=zi[E>>2]|0,r=(to(t,zi[p>>2]|0)|0)-(to(zi[w>>2]|0,u)|0)|0,zi[c>>2]=r,t=to(u,t)|0,zi[l>>2]=t,(r&t|0)<0&&(zi[c>>2]=0-r,zi[l>>2]=0-t),Ce(c,l),Ce(c,l),r=a),(zi[3552]|0)>1&&(N=zi[v>>2]|0,R=zi[S>>2]|0,A=zi[h>>2]|0,O=zi[d>>2]|0,M=zi[k>>2]|0,F=zi[b>>2]|0,f=zi[w>>2]|0,t=zi[E>>2]|0,s=zi[p>>2]|0,u=zi[m>>2]|0,zi[_>>2]=zi[(zi[3764]|0)+(e<<2)>>2],zi[_+4>>2]=o,zi[_+8>>2]=i,zi[_+12>>2]=N,zi[_+16>>2]=R,zi[_+20>>2]=A,zi[_+24>>2]=O,zi[_+28>>2]=M,zi[_+32>>2]=F,zi[_+36>>2]=f,zi[_+40>>2]=t,zi[_+44>>2]=s,zi[_+48>>2]=u,wo(34688,_|0)|0,u=zi[l>>2]|0,zi[g>>2]=zi[c>>2],zi[g+4>>2]=u,wo(34760,g|0)|0),zi[(zi[3766]|0)+(e<<2)>>2]=zi[c>>2],zi[(zi[3768]|0)+(e<<2)>>2]=zi[l>>2],zi[(zi[3770]|0)+(e<<2)>>2]=zi[2592+(((zi[v>>2]|0)/(zi[S>>2]|0)|0)<<2)>>2],R=(r|0)==0,N=zi[h>>2]|0,A=zi[d>>2]|0,f=zi[3776]|0,e=(zi[f+(e<<2)>>2]|0)==49?n+2|0:e,u=A,s=N,t=a,i=R?A:i,o=R?N:o}Wi=y}function ne(){var e=0,r=0;e=zi[4406]|0,r=zi[4408]|0,(e|0)==2&(r|0)==2&&(Be(34776),
e=zi[4406]|0,r=zi[4408]|0),((e|0)==2|(e|0)==4)&(r|0)==4&&(Be(34776),r=zi[4408]|0,e=zi[4406]|0),(e|0)==3&(r|0)==4&&(Be(34792),e=zi[4406]|0,r=zi[4408]|0),(e|0)==6&(r|0)==8&&(Be(34800),e=zi[4406]|0,r=zi[4408]|0),(e|0)==9&(r|0)==8&&(Be(34808),e=zi[4406]|0,r=zi[4408]|0),(e|0)==12&(r|0)==8&&Be(34824)}function ae(e,r,t,i,o,n,a,f,s,u,l,c,d,h){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0,a|=0,f|=0,s|=0,u|=0,l|=0,c|=0,d|=0,h|=0;var b=0,k=0,m=0,p=0,E=0;if(E=Wi,Wi=Wi+32|0,r=E+16|0,s=E,m=(t+-1|0)>>>0<3&1,!((a|0)!=0&(zi[3798]|0)!=0))return void(Wi=E);if(zi[3872]|0){do if(!h){if(k=zi[3804]|0,xi[k>>0]=61,zi[k+80>>2]=1,h=k+1|0,xi[h>>0]=61,zi[k+84>>2]=1,s=k+2|0,xi[s>>0]=61,zi[k+88>>2]=1,f=k+3|0,xi[f>>0]=61,zi[k+92>>2]=1,r=k+4|0,xi[r>>0]=61,zi[k+96>>2]=1,t=k+5|0,xi[t>>0]=61,zi[k+100>>2]=1,b=k+6|0,xi[b>>0]=61,zi[k+104>>2]=1,(e|0)>0){if(xi[t>>0]=94,(e|0)<=1)break;if(xi[s>>0]=94,(e|0)<=2)break;if(xi[b>>0]=94,(e|0)<=3)break;if(xi[f>>0]=94,(e|0)<=4)break;if(xi[k>>0]=94,(e|0)<=5)break;if(xi[r>>0]=94,(e|0)<=6)break;xi[h>>0]=94;break}(((((((e|0)<0?(xi[h>>0]=95,(e|0)<-1):0)?(xi[r>>0]=95,(e|0)<-2):0)?(xi[k>>0]=95,(e|0)<-3):0)?(xi[f>>0]=95,(e|0)<-4):0)?(xi[b>>0]=95,(e|0)<-5):0)?(xi[s>>0]=95,(e|0)<-6):0)&&(xi[t>>0]=95)}while(0);ve(zi[3804]|0,i,o,n),pe(zi[3804]|0),zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=15,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=m,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],e=(zi[3802]|0)+1|0,zi[3802]=e,s=zi[3762]|0,(e|0)>=(s|0)&&(zi[3762]=ke(s)|0),((d|0)!=0?(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=28,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=l,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],l=(zi[3802]|0)+1|0,zi[3802]=l,p=zi[3762]|0,(l|0)>=(p|0)):0)&&(zi[3762]=ke(p)|0)}else{((d|0)!=0?(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=30,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=l,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],l=(zi[3802]|0)+1|0,zi[3802]=l,b=zi[3762]|0,(l|0)>=(b|0)):0)&&(zi[3762]=ke(b)|0);do if(!h){if(xi[16272]=61,zi[4088]=1,xi[16273]=61,zi[4089]=1,xi[16274]=61,zi[4090]=1,xi[16275]=61,zi[4091]=1,xi[16276]=61,zi[4092]=1,xi[16277]=61,zi[4093]=1,xi[16278]=61,zi[4094]=1,(e|0)>0){if(xi[16277]=94,(e|0)<=1)break;if(xi[16274]=94,(e|0)<=2)break;if(xi[16278]=94,(e|0)<=3)break;if(xi[16275]=94,(e|0)<=4)break;if(xi[16272]=94,(e|0)<=5)break;if(xi[16276]=94,(e|0)<=6)break;xi[16273]=94;break}(((((((e|0)<0?(xi[16273]=95,(e|0)<-1):0)?(xi[16276]=95,(e|0)<-2):0)?(xi[16272]=95,(e|0)<-3):0)?(xi[16275]=95,(e|0)<-4):0)?(xi[16278]=95,(e|0)<-5):0)?(xi[16274]=95,(e|0)<-6):0)&&(xi[16277]=95)}while(0);ve(16272,i,o,n),zi[4319]=1,pe(16272),zi[5484]=e,zi[5486]=m,((zi[4386]|0)==1?(k=zi[3802]|0,l=zi[4390]|0,zi[3448+((xi[l>>0]|0)+-65<<2)>>2]=k,l=xi[l>>0]|0,zi[(zi[3776]|0)+(k<<2)>>2]=12,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=l,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],l=(zi[3802]|0)+1|0,zi[3802]=l,k=zi[3762]|0,(l|0)>=(k|0)):0)&&(zi[3762]=ke(k)|0),zi[3872]=1,zi[4414]=0,zi[4410]|0||(l=zi[2428]|0,zi[s>>2]=zi[2602],zi[s+4>>2]=l,zi[s+8>>2]=34840,wo(29656,s|0)|0);do if((zi[4320]|0)==-1){if(+(zi[4406]|0)/+(zi[4408]|0)<.75){zi[4320]=16;break}zi[4320]=8;break}while(0);if(s=zi[3618]|0)do f=s+1008|0,(zi[f>>2]|0)==-1&&(zi[f>>2]=zi[4320]),s=zi[s+1156>>2]|0;while((s|0)!=0);zi[130]=0,zi[136]=1,He(zi[4406]|0,zi[4408]|0);do if(zi[4380]|0){if((zi[4408]|0)==4?(l=zi[4406]|0,(l|0)==2|(l|0)==4):0)break;l=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=l,zi[r+8>>2]=34872,wo(27424,r|0)|0,zi[4380]=0}while(0);f=zi[4392]|0,f?(s=zi[4394]|0,zi[4396]|0&&(s=to(zi[4320]|0,s)|0)):(s=zi[4320]|0,f=1),l=to(s,6e7)|0,zi[4398]=(l|0)/(to(f<<2,zi[4400]|0)|0)|0,zi[832]=zi[2],zi[3742]=0,zi[3804]=me(1)|0,zi[2464]|0||(zi[3516]=zi[3802])}return(c|0)==0|(zi[3798]|0)==0?void(Wi=E):zi[3872]|0?(zi[(zi[3804]|0)+1060>>2]=u,void(Wi=E)):(zi[4333]=u,void(Wi=E))}function fe(){var e=0,r=0,t=0,i=0,o=0,n=0;for(zi[5616]=0,pi(21952,0,256)|0,pi(22208,0,256)|0,r=zi[3802]|0,t=zi[3776]|0,i=0;;){if((i|0)>=(r|0))break;if(e=i+1|0,(zi[t+(i<<2)>>2]|0)==54){n=4;break}i=e}if((n|0)==4&&(k(1,0,0,0,e),zi[5488]=e,r=zi[3802]|0),(r|0)>0){i=zi[3776]|0,n=0,e=0;do t=zi[i+(n<<2)>>2]|0,(t|0)==12&(zi[854]|0)!=-1&&(pi(21952,0,256)|0,pi(22208,0,256)|0,zi[5488]=n),(t|0)==2?zi[22208+(e<<2)>>2]=1:(t|0)==40?(e=zi[(zi[3764]|0)+(n<<2)>>2]|0,t=21952+(e<<2)|0,zi[t>>2]|0||(zi[t>>2]=n)):((t|0)==3|(t|0)==9?(o=22208+(e<<2)|0,(zi[o>>2]|0)==0):0)&&(t=zi[5616]|0,zi[22472+(t<<2)>>2]=(zi[21952+(e<<2)>>2]|0)+1,zi[5616]=t+1,zi[o>>2]=1),n=n+1|0;while((n|0)<(r|0))}if(e=zi[5616]|0,(e|0)>0)do{o=e,e=e+-1|0,r=22472+(e<<2)|0,k(2,0,0,0,zi[r>>2]|0),r=zi[r>>2]|0,n=0;do t=3448+(n<<2)|0,i=zi[t>>2]|0,(i|0)>(r|0)&&(zi[t>>2]=i+1),n=n+1|0;while((n|0)!=26)}while((o|0)>1);(zi[3552]|0)<=3||ho(34912)|0}function se(e){e|=0;var r=0,t=0,i=0,o=0,n=0;for(zi[(zi[3776]|0)+(e<<2)>>2]=18,n=0;;){if(t=zi[3776]|0,(zi[t+(e<<2)>>2]|0)==16){o=zi[(zi[3764]|0)+(e<<2)>>2]|0,r=zi[3802]|0;e:do if((r|0)>(e|0))for(r=e;;){if(i=r+1|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3764]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3766]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3768]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3778]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3772]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3774]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],t=zi[3780]|0,zi[t+(r<<2)>>2]=zi[t+(i<<2)>>2],r=zi[3802]|0,(i|0)>=(r|0))break e;t=zi[3776]|0,r=i}while(0);if(zi[3802]=r+-1,o){e=9;break}}else e=e+1|0;if(n=n+1|0,(n|0)>=6){e=9;break}}}function ue(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0;if(b=Wi,Wi=Wi+32|0,h=b,d=b+16|0,c=b+4|0,s=b+8|0,u=b+12|0,(zi[3802]|0)>0){l=0;do{e=zi[3774]|0,r=zi[e+(l<<2)>>2]|0;do if(r){if((zi[(zi[3776]|0)+(l<<2)>>2]|0)==49&&(se(l),e=zi[3774]|0,r=zi[e+(l<<2)>>2]|0,!r))break;if((zi[(zi[3776]|0)+(l<<2)>>2]|0)==18){if(t=zi[17920+(r<<2)>>2]|0,r=zi[t+8>>2]|0,(r|0)==3){o=zi[t+12>>2]|0,r=zi[t+28>>2]|0,f=zi[t+16>>2]|0,zi[5480]=zi[(zi[3772]|0)+(l<<2)>>2],i=zi[t+20>>2]|0,n=zi[t+24>>2]|0,t=zi[t+32>>2]|0,zi[d>>2]=to(zi[(zi[3766]|0)+(l<<2)>>2]|0,t)|0,zi[c>>2]=zi[(zi[3768]|0)+(l<<2)>>2]<<2,Ce(d,c),zi[s>>2]=zi[d>>2]<<2,zi[u>>2]=to(t*5|0,zi[c>>2]|0)|0,Ce(s,u),t=zi[s>>2]|0,a=zi[u>>2]|0,zi[(zi[3776]|0)+(l<<2)>>2]=18,zi[(zi[3764]|0)+(l<<2)>>2]=o,zi[(zi[3766]|0)+(l<<2)>>2]=t,zi[(zi[3768]|0)+(l<<2)>>2]=a,a=l+1|0,k(18,f,zi[s>>2]|0,zi[u>>2]|0,a),zi[(zi[3772]|0)+(a<<2)>>2]=i,a=l+2|0,k(18,o,zi[s>>2]|0,zi[u>>2]|0,a),zi[(zi[3772]|0)+(a<<2)>>2]=zi[5480],a=l+3|0,k(18,r,zi[s>>2]|0,zi[u>>2]|0,a),zi[(zi[3772]|0)+(a<<2)>>2]=n,a=l+4|0,k(18,o,zi[s>>2]|0,zi[u>>2]|0,a),zi[(zi[3772]|0)+(a<<2)>>2]=zi[5480];break}if((r|0)==6){if(n=zi[t+12>>2]|0,a=zi[t+16>>2]|0,i=zi[t+32>>2]|0,f=zi[t+20>>2]|0,zi[5480]=zi[t+24>>2],zi[d>>2]=to(zi[(zi[3766]|0)+(l<<2)>>2]|0,i)|0,zi[c>>2]=zi[(zi[3768]|0)+(l<<2)>>2]<<2,Ce(d,c),e=zi[3802]|0,(e|0)>(l|0)){r=l;do e=r,r=r+1|0,o=zi[3776]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3764]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3766]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3768]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3778]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3772]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3774]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],o=zi[3780]|0,zi[o+(e<<2)>>2]=zi[o+(r<<2)>>2],e=zi[3802]|0;while((r|0)<(e|0))}if(zi[3802]=e+-1,zi[s>>2]=4,e=to(zi[c>>2]|0,i)|0,zi[u>>2]=e,r=zi[d>>2]|0,i=zi[4398]<<2,((i|0)/(e|0)|0|0)>1e5){do r<<=1,e<<=1;while(((i|0)/(e|0)|0|0)>1e5);zi[u>>2]=e}if(Ce(s,u),(r|0)>0)for(e=l,o=0;;){if(t=zi[s>>2]|0,i=zi[u>>2]|0,o&1?(k(18,n,t,i,e),zi[(zi[3772]|0)+(e<<2)>>2]=zi[5480]):(k(18,a,t,i,e),zi[(zi[3772]|0)+(e<<2)>>2]=f),o=o+1|0,(o|0)==(r|0))break;e=e+1|0}break}zi[h>>2]=e,wo(34952,h|0)|0;break}}while(0);l=l+1|0}while((l|0)<(zi[3802]|0))}return(zi[3552]|0)<=3?void(Wi=b):(ho(34976)|0,void(Wi=b))}function le(){zi[3798]|0&&(zi[3538]|0||Br(),_e(),Fr(),zi[3798]=0)}function ce(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0;f=Wi,Wi=Wi+304|0,a=f+8|0,i=f,n=f+272|0,o=f+16|0,zi[3514]=1,zi[3524]=0,zi[3798]|0&&(_e(),Fr(),zi[3798]=0),r=zi[3796]|0;do{if((r|0)!=(e|0)){if(!r)break;if((r|0)==-1){t=6;break}return void(Wi=f)}(e|0)==-1&&(t=6)}while(0);(t|0)==6&&(zi[3796]=-2),yr(),zi[3798]=1,t=ge(1)|0,zi[3804]=t,zi[3618]=t,zi[5718]=t,zi[22872+(zi[t+1024>>2]<<2)>>2]=t,zi[3872]=0,zi[3606]|0||(r=zi[3608]|0,r&&ci(r),zi[i>>2]=e,Jt(n,27480,i)|0,i=wi(n|0)|0,e=zi[3754]|0,r=e+-1|0,(i|0)>(r|0)&&(xi[n+r>>0]=0),r=zi[3610]|0,i=wi(r|0)|0,t=wi(n|0)|0,(t+i|0)>(e|0)?(Si(o|0,r|0,e-t|0)|0,a=zi[3754]|0,yi(o+(a-(wi(n|0)|0))|0,n|0)|0,a=o+(wi(o|0)|0)|0,xi[a>>0]=xi[32816]|0,xi[a+1>>0]=xi[32817]|0,xi[a+2>>0]=xi[32818]|0,xi[a+3>>0]=xi[32819]|0,xi[a+4>>0]=xi[32820]|0):(zi[a>>2]=r,zi[a+4>>2]=n,Jt(o,35008,a)|0),zi[3608]=Er(o)|0),zi[3552]|0&&ho(35024)|0,zi[5484]=0,zi[5486]=0,xi[16272]=61,zi[4088]=1,xi[16273]=61,zi[4089]=1,xi[16274]=61,zi[4090]=1,xi[16275]=61,zi[4091]=1,xi[16276]=61,zi[4092]=1,xi[16277]=61,zi[4093]=1,xi[16278]=61,zi[4094]=1,pe(16272),zi[4333]=0,zi[4319]=0,zi[5786]=0,zi[3618]=0,pi(22872,0,256)|0,zi[3804]=0,zi[4370]=0,zi[4406]=4,zi[4408]=4,zi[4402]=4,zi[4404]=4,zi[4410]=0,zi[4412]=1,zi[4320]=-1,D(zi[3564]|0,1,4,0,0,0),zi[3802]=0,zi[3548]=0,zi[4062]=1,zi[4064]=4,zi[4380]=0,zi[3744]=0,zi[3542]=0,zi[3544]=0,zi[3516]=-1,zi[4056]=zi[4362],zi[3560]=zi[4364],(zi[3556]|0)==-1?(zi[4058]=zi[4366],r=zi[4368]|0):(zi[4058]=2,r=6),zi[4060]=r,zi[4384]=0,zi[854]=-1,zi[4054]=zi[4360],zi[3506]=0,r=3448,t=r+104|0;do zi[r>>2]=-1,r=r+4|0;while((r|0)<(t|0));zi[4386]=0,Sr(17552),r=2992,t=r+64|0;do zi[r>>2]=0,r=r+4|0;while((r|0)<(t|0));Be(35040),zi[3746]=0,Ie(35048),zi[3748]=0,zi[4382]=0,zi[3540]=1,Wi=f}function de(){zi[3798]|0&&(zi[3798]=0,Fr(),_e()),zi[3552]|0&&ho(35056)|0,ci(zi[3764]|0),ci(zi[3778]|0),ci(zi[3772]|0),ci(zi[3766]|0),ci(zi[3768]|0),ci(zi[3776]|0),ci(zi[3794]|0),ci(zi[3608]|0),ci(zi[3610]|0)}function he(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0;n=Wi,Wi=Wi+16|0,o=n,zi[2200]=0,t=9656,i=t+40|0;do zi[t>>2]=0,t=t+4|0;while((t|0)<(i|0));return pi(15232,0,256)|0,f(e,r,o),r=zi[3614]|0,r&&lt(r),(e|0)<2?(Wi=n,0):(Kr(),zi[3538]|0||ho(27512)|0,$r(zi[o>>2]|0),Gr(),Wi=n,0)}function be(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;if(a=Wi,Wi=Wi+48|0,n=a+32|0,o=a,i=a+16|0,(wi(e|0)|0)>>>0>7)return r=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=r,zi[i+8>>2]=36424,wo(27424,i|0)|0,void(Wi=a);if((r|0)>10)return r=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=r,zi[o+8>>2]=36464,wo(27424,o|0)|0,void(Wi=a);if(o=zi[3550]|0,(o|0)>0){e:do{if((r|0)>0){for(i=0;;){if(!(ni(e,23152+(i<<3)|0)|0))break;if(i=i+1|0,(i|0)>=(o|0))break e}zi[26992+(i<<2)>>2]=r,o=0;do zi[23792+(i*40|0)+(o<<2)>>2]=zi[t+(o<<2)>>2],o=o+1|0;while((o|0)!=(r|0));return void(Wi=a)}for(i=0;;){if(!(ni(e,23152+(i<<3)|0)|0))break;if(i=i+1|0,(i|0)>=(o|0))break e}return zi[26992+(i<<2)>>2]=r,void(Wi=a)}while(0);if((o|0)>78)return r=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=r,zi[n+8>>2]=36512,wo(27424,n|0)|0,void(Wi=a)}if(i=o+1|0,zi[3550]=i,yi(23152+(i<<3)|0,e|0)|0,i=zi[3550]|0,zi[26992+(i<<2)>>2]=r,!((r|0)>0))return void(Wi=a);o=0;do zi[23792+(i*40|0)+(o<<2)>>2]=zi[t+(o<<2)>>2],o=o+1|0;while((o|0)!=(r|0));Wi=a}function ke(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0;if(m=Wi,Wi=Wi+16|0,r=m,(zi[3552]|0)>2&&(k=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=k,zi[r+8>>2]=36400,wo(29656,r|0)|0),k=e<<1,h=e<<3,r=pr(h)|0,b=(e|0)>0){t=0;do zi[r+(t<<2)>>2]=zi[(zi[3776]|0)+(t<<2)>>2],t=t+1|0;while((t|0)!=(e|0))}if(ci(zi[3776]|0),zi[3776]=r,f=pr(h)|0,s=pr(h)|0,u=pr(h)|0,l=pr(h)|0,c=pr(h)|0,b){r=0;do zi[u+(r<<2)>>2]=0,zi[l+(r<<2)>>2]=0,r=r+1|0;while((r|0)<(k|0));if(b){r=zi[3764]|0,t=zi[3778]|0,i=zi[3772]|0,o=zi[3774]|0,n=zi[3780]|0,a=0;do zi[f+(a<<2)>>2]=zi[r+(a<<2)>>2],zi[s+(a<<2)>>2]=zi[t+(a<<2)>>2],zi[u+(a<<2)>>2]=zi[i+(a<<2)>>2],zi[l+(a<<2)>>2]=zi[o+(a<<2)>>2],zi[c+(a<<2)>>2]=zi[n+(a<<2)>>2],a=a+1|0;while((a|0)!=(e|0))}else d=7}else d=7;if((d|0)==7&&(r=zi[3764]|0),ci(r),ci(zi[3778]|0),ci(zi[3772]|0),ci(zi[3774]|0),ci(zi[3780]|0),zi[3764]=f,zi[3778]=s,zi[3772]=u,zi[3774]=l,zi[3780]=c,i=pr(h)|0,b){r=zi[3766]|0,t=0;do zi[i+(t<<2)>>2]=zi[r+(t<<2)>>2],t=t+1|0;while((t|0)!=(e|0))}else r=zi[3766]|0;if(ci(r),zi[3766]=i,i=pr(h)|0,b){r=zi[3768]|0,t=0;do zi[i+(t<<2)>>2]=zi[r+(t<<2)>>2],t=t+1|0;while((t|0)!=(e|0))}else r=zi[3768]|0;if(ci(r),zi[3768]=i,i=pr(h)|0,!b)return e=zi[3770]|0,ci(e),zi[3770]=i,Wi=m,k|0;r=zi[3770]|0,t=0;do zi[i+(t<<2)>>2]=zi[r+(t<<2)>>2],t=t+1|0;while((t|0)!=(e|0));return ci(r),zi[3770]=i,Wi=m,k|0}function me(e){e|=0;var r=0,t=0;r=zi[3618]|0;e:do if(r){for(;;){if((zi[r+1020>>2]|0)==(e|0)){t=r;break e}if(t=zi[r+1156>>2]|0,!t)break;r=t}t=ge(e)|0,zi[r+1156>>2]=t}else t=ge(e)|0;while(0);if(zi[3618]|0||(zi[3618]=t),r=t+1004|0,!((zi[r>>2]|0)==0&(zi[4319]|0)!=0))return e=t+1012|0,e=zi[e>>2]|0,zi[4402]=e,e=t+1016|0,e=zi[e>>2]|0,zi[4404]=e,t|0;zi[r>>2]=1,r=0;do xi[t+r>>0]=xi[16272+r>>0]|0,zi[t+80+(r<<2)>>2]=zi[16352+(r<<2)>>2],xi[t+7+(r*10|0)>>0]=xi[16279+(r*10|0)>>0]|0,zi[t+108+(r*40|0)>>2]=zi[16380+(r*40|0)>>2],xi[t+7+(r*10|0)+1>>0]=xi[16279+(r*10|0)+1>>0]|0,zi[t+108+(r*40|0)+4>>2]=zi[16380+(r*40|0)+4>>2],xi[t+7+(r*10|0)+2>>0]=xi[16279+(r*10|0)+2>>0]|0,zi[t+108+(r*40|0)+8>>2]=zi[16380+(r*40|0)+8>>2],xi[t+7+(r*10|0)+3>>0]=xi[16279+(r*10|0)+3>>0]|0,zi[t+108+(r*40|0)+12>>2]=zi[16380+(r*40|0)+12>>2],xi[t+7+(r*10|0)+4>>0]=xi[16279+(r*10|0)+4>>0]|0,zi[t+108+(r*40|0)+16>>2]=zi[16380+(r*40|0)+16>>2],xi[t+7+(r*10|0)+5>>0]=xi[16279+(r*10|0)+5>>0]|0,zi[t+108+(r*40|0)+20>>2]=zi[16380+(r*40|0)+20>>2],xi[t+7+(r*10|0)+6>>0]=xi[16279+(r*10|0)+6>>0]|0,zi[t+108+(r*40|0)+24>>2]=zi[16380+(r*40|0)+24>>2],xi[t+7+(r*10|0)+7>>0]=xi[16279+(r*10|0)+7>>0]|0,zi[t+108+(r*40|0)+28>>2]=zi[16380+(r*40|0)+28>>2],xi[t+7+(r*10|0)+8>>0]=xi[16279+(r*10|0)+8>>0]|0,zi[t+108+(r*40|0)+32>>2]=zi[16380+(r*40|0)+32>>2],xi[t+7+(r*10|0)+9>>0]=xi[16279+(r*10|0)+9>>0]|0,zi[t+108+(r*40|0)+36>>2]=zi[16380+(r*40|0)+36>>2],r=r+1|0;while((r|0)!=7);return e=t+1012|0,e=zi[e>>2]|0,zi[4402]=e,e=t+1016|0,e=zi[e>>2]|0,zi[4404]=e,t|0}function pe(e){e|=0;var r=0,t=0,i=0,o=0,n=0;r=0;do n=e+r|0,o=e+80+(r<<2)|0,i=e+388+(r<<3)|0,t=e+388+(r<<3)+4|0,xi[e+7+(r*10|0)>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)>>2]=zi[o>>2],zi[e+444+(r*80|0)>>2]=zi[i>>2],zi[e+444+(r*80|0)+4>>2]=zi[t>>2],xi[e+7+(r*10|0)+1>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+4>>2]=zi[o>>2],zi[e+444+(r*80|0)+8>>2]=zi[i>>2],zi[e+444+(r*80|0)+12>>2]=zi[t>>2],xi[e+7+(r*10|0)+2>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+8>>2]=zi[o>>2],zi[e+444+(r*80|0)+16>>2]=zi[i>>2],zi[e+444+(r*80|0)+20>>2]=zi[t>>2],xi[e+7+(r*10|0)+3>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+12>>2]=zi[o>>2],zi[e+444+(r*80|0)+24>>2]=zi[i>>2],zi[e+444+(r*80|0)+28>>2]=zi[t>>2],xi[e+7+(r*10|0)+4>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+16>>2]=zi[o>>2],zi[e+444+(r*80|0)+32>>2]=zi[i>>2],zi[e+444+(r*80|0)+36>>2]=zi[t>>2],xi[e+7+(r*10|0)+5>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+20>>2]=zi[o>>2],zi[e+444+(r*80|0)+40>>2]=zi[i>>2],zi[e+444+(r*80|0)+44>>2]=zi[t>>2],xi[e+7+(r*10|0)+6>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+24>>2]=zi[o>>2],zi[e+444+(r*80|0)+48>>2]=zi[i>>2],zi[e+444+(r*80|0)+52>>2]=zi[t>>2],xi[e+7+(r*10|0)+7>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+28>>2]=zi[o>>2],zi[e+444+(r*80|0)+56>>2]=zi[i>>2],zi[e+444+(r*80|0)+60>>2]=zi[t>>2],xi[e+7+(r*10|0)+8>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+32>>2]=zi[o>>2],zi[e+444+(r*80|0)+64>>2]=zi[i>>2],zi[e+444+(r*80|0)+68>>2]=zi[t>>2],xi[e+7+(r*10|0)+9>>0]=xi[n>>0]|0,zi[e+108+(r*40|0)+36>>2]=zi[o>>2],zi[e+444+(r*80|0)+72>>2]=zi[i>>2],zi[e+444+(r*80|0)+76>>2]=zi[t>>2],r=r+1|0;while((r|0)!=7)}function Ee(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0;E=Wi,Wi=Wi+176|0,p=E+24|0,m=E,k=E+16|0,d=E+44|0,l=E+128|0,c=E+48|0,b=E+40|0,h=E+36|0,a=zi[e+1028>>2]|0,s=zi[e+1032>>2]|0,zi[b>>2]=0,zi[h>>2]=1,f=e+1076|0,e=zi[f>>2]|0;e:do if((a|0)!=1|(e|0)>2)if(o=zi[3802]|0,(o|0)>(e|0))for(n=zi[3776]|0,i=zi[3764]|0;;){if((zi[n+(e<<2)>>2]|0)==40?(zi[i+(e<<2)>>2]|0)==(s|0):0){n=o;break e}if(e=e+1|0,(e|0)>=(o|0)){n=o;break}}else n=o;else n=zi[3802]|0,e=e+1|0;while(0);if(a=(t|0)==0?n+-1|0:r,(e|0)>(a|0))return p=n,p=p+-1|0,zi[f>>2]=p,void(Wi=E);for(t=0,r=e;;){o=zi[3776]|0,i=zi[o+(r<<2)>>2]|0;e:do switch(i|0){case 40:if(n=zi[3764]|0,(zi[n+(r<<2)>>2]|0)!=(s|0)?(u=zi[3802]|0,(u|0)>(r|0)):0)for(i=40,e=r;;){if((i|0)==40?(zi[n+(e<<2)>>2]|0)==(s|0):0){i=t;break e}if(e=e+1|0,(e|0)>=(u|0)){i=t;break e}i=zi[o+(e<<2)>>2]|0}else i=t,e=r;break;case 14:n=zi[(zi[3764]|0)+(r<<2)>>2]|0,i=zi[(zi[3766]|0)+(r<<2)>>2]|0,e=zi[(zi[3768]|0)+(r<<2)>>2]|0,zi[o+(zi[3802]<<2)>>2]=14,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=n,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)<(e|0)?(i=t,e=r):(zi[3762]=ke(e)|0,i=t,e=r);break;case 4:if(e=r+-1|0,i=zi[o+(e<<2)>>2]|0,!((i|0)==40|(i|0)==3|(i|0)==0)){zi[k>>2]=zi[216+(i<<2)>>2],zi[k+4>>2]=e,Jt(c,36312,k)|0,i=zi[2428]|0,zi[m>>2]=zi[2602],zi[m+4>>2]=i,zi[m+8>>2]=c,wo(27424,m|0)|0,i=t,e=r;break e}e=zi[(zi[3768]|0)+(r<<2)>>2]|0,zi[o+(zi[3802]<<2)>>2]=4,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)<(e|0)?(i=t,e=r):(zi[3762]=ke(e)|0,i=t,e=r);break;case 43:case 42:i=0,e=r;break;case 31:zi[4414]=1,i=t,e=r;break;case 52:if(zi[d>>2]=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(r<<2)>>2]<<2)>>2],Or(d),Vr(l,d,40),ni(l,36392)|0)i=t,e=r;else if(e=Er(zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(r<<2)>>2]<<2)>>2]|0)|0,o=zi[3548]|0,zi[(zi[3792]|0)+(o<<2)>>2]=e,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=52,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=o,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)>=(e|0)&&(zi[3762]=ke(e)|0),o=(zi[3548]|0)+1|0,zi[3548]=o,e=zi[3546]|0,(o|0)>=(e|0)){if(i=e<<1,(zi[3552]|0)>2&&(o=zi[2428]|0,zi[p>>2]=zi[2602],zi[p+4>>2]=o,zi[p+8>>2]=30584,wo(29656,p|0)|0),o=pr(e<<3)|0,(e|0)>0){n=0;do zi[o+(n<<2)>>2]=zi[(zi[3792]|0)+(n<<2)>>2],n=n+1|0;while((n|0)!=(e|0))}ci(zi[3792]|0),zi[3792]=o,zi[3546]=i,i=t,e=r}else i=t,e=r;break;case 35:n=zi[(zi[3764]|0)+(r<<2)>>2]|0,i=zi[(zi[3766]|0)+(r<<2)>>2]|0,e=zi[(zi[3768]|0)+(r<<2)>>2]|0,zi[o+(zi[3802]<<2)>>2]=35,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=n,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=i,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)<(e|0)?(i=t,e=r):(zi[3762]=ke(e)|0,i=t,e=r);break;case 32:zi[4414]=0,i=t,e=r;break;case 16:case 49:case 18:(t|0)>1|(zi[4414]|0)!=0||(i=zi[(zi[3768]|0)+(r<<2)>>2]|0,e=to(zi[b>>2]|0,i)|0,o=zi[h>>2]|0,e=(to(o,zi[(zi[3766]|0)+(r<<2)>>2]|0)|0)+e|0,zi[b>>2]=e,i=to(o,i)|0,zi[h>>2]=i,(e&i|0)<0&&(zi[b>>2]=0-e,zi[h>>2]=0-i),Ce(b,h)),i=(t|0)==0?0:t+1|0,e=r;break;case 9:case 3:case 2:case 1:case 0:e=zi[b>>2]|0,(e|0)>0?(n=zi[h>>2]|0,zi[o+(zi[3802]<<2)>>2]=16,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,i=zi[3766]|0,zi[i+(zi[3802]<<2)>>2]=e,e=zi[3768]|0,zi[e+(zi[3802]<<2)>>2]=n,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=zi[3802]|0,Ce(i+(o<<2)|0,e+(o<<2)|0),o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)>=(e|0)&&(zi[3762]=ke(e)|0),zi[b>>2]=0,zi[h>>2]=1,o=zi[3776]|0,e=o,o=zi[o+(r<<2)>>2]|0):(e=o,o=i),n=zi[(zi[3768]|0)+(r<<2)>>2]|0,zi[e+(zi[3802]<<2)>>2]=o,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,e=zi[3766]|0,zi[e+(zi[3802]<<2)>>2]=0,i=zi[3768]|0,zi[i+(zi[3802]<<2)>>2]=n,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],(o|0)==16|(o|0)==18|(o|0)==42&&(o=zi[3802]|0,Ce(e+(o<<2)|0,i+(o<<2)|0)),o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)<(e|0)?(i=t,e=r):(zi[3762]=ke(e)|0,i=t,e=r);break;case 41:i=1,e=r;break;case 27:e=zi[(zi[3764]|0)+(r<<2)>>2]|0,zi[o+(zi[3802]<<2)>>2]=27,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=e,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],o=(zi[3802]|0)+1|0,zi[3802]=o,e=zi[3762]|0,(o|0)<(e|0)?(i=t,e=r):(zi[3762]=ke(e)|0,i=t,e=r);break;default:i=t,e=r}while(0);if(!((e|0)<(a|0)))break;t=i,r=e+1|0}p=zi[3802]|0,p=p+-1|0,zi[f>>2]=p,Wi=E}function we(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0;if(l=Wi,Wi=Wi+16|0,a=l,o=zi[3802]|0,f=o+-1|0,e=zi[3804]|0,zi[e+1108>>2]=f,t=e+1120|0,i=zi[t>>2]|0,(i|0)==-1)return void(Wi=l);if(zi[t>>2]=i+1,i)return void(Wi=l);if(t=zi[e+1116>>2]|0,(t|0)==1?(i=zi[4060]|0,t=zi[4058]|0):(t|0)==3?(i=15,t=1):(i=7,t=1),s=(i+t|0)/2|0,c=(zi[e+1112>>2]|0)==50,u=c?i:t,t=c?t:i,i=zi[e+1096>>2]|0,(((i|0)!=-1?(n=zi[e+1100>>2]|0,(n|0)!=-1):0)?(r=zi[e+1104>>2]|0,(r|0)==-1|(o|0)==0):!0)?0:(c=zi[3766]|0,o=zi[3768]|0,d=to(zi[o+(r<<2)>>2]|0,zi[c+(i<<2)>>2]|0)|0,(d|0)==(to(zi[o+(i<<2)>>2]|0,zi[c+(r<<2)>>2]|0)|0))){if((i|0)>(n|0))t=f;else{for(r=i;;){if(d=zi[(zi[3776]|0)+(r<<2)>>2]|0,(d|0)==43|(d|0)==42|(d|0)==16|(d|0)==18&&(d=(zi[3766]|0)+(r<<2)|0,zi[d>>2]=to(zi[d>>2]|0,t)|0,e=(zi[3768]|0)+(r<<2)|0,zi[e>>2]=to(zi[e>>2]|0,s)|0,Ce(d,e),e=zi[3804]|0),!((r|0)<(zi[e+1100>>2]|0)))break;r=r+1|0}r=zi[e+1104>>2]|0,t=zi[e+1108>>2]|0}if((r|0)<=(t|0))for(;;){if(d=zi[(zi[3776]|0)+(r<<2)>>2]|0,(d|0)==43|(d|0)==42|(d|0)==16|(d|0)==18&&(d=(zi[3766]|0)+(r<<2)|0,zi[d>>2]=to(zi[d>>2]|0,u)|0,e=(zi[3768]|0)+(r<<2)|0,zi[e>>2]=to(zi[e>>2]|0,s)|0,Ce(d,e),e=zi[3804]|0),!((r|0)<(zi[e+1108>>2]|0)))break;r=r+1|0}}else e=zi[2428]|0,zi[a>>2]=zi[2602],zi[a+4>>2]=e,zi[a+8>>2]=36280,wo(27424,a|0)|0,e=zi[3804]|0;zi[e+1120>>2]=-1,Wi=l}function Se(e,r,t,i,o,n){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0;var a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0;d=Wi,Wi=Wi+32|0,u=d,f=r&255,l=zi[3512]|0,zi[u>>2]=0,h=zi[3510]|0,b=zi[3508]|0,zi[u+4>>2]=(h<<1)-b,s=b<<1,zi[u+8>>2]=(h<<2)-s,zi[u+12>>2]=b-h,zi[u+16>>2]=h,zi[u+20>>2]=(h*3|0)-b,zi[u+24>>2]=(h*5|0)-s,s=e<<24>>24,e=s+-97|0;do{if(!((r&255|0)!=32|(zi[2412]|0)!=0)){if(b=i+4|0,h=zi[3804]|0,f=xi[h+7+(e*10|0)+b>>0]|0,t=zi[h+108+(e*40|0)+(b<<2)>>2]|0,r=zi[h+444+(e*80|0)+(b<<3)>>2]|0,e=zi[h+444+(e*80|0)+(b<<3)+4>>2]|0,zi[2230]=r,zi[2231]=e,r){h=~~(+(r|0)*4096/+(e|0)+.5),b=h+8192|0,zi[5480]=(h|0)<-8192?0:(b|0)>16383?16383:b,zi[2412]=1;break}zi[2412]=0,zi[2230]=0,zi[2231]=0;break}(o|0)!=0&(zi[4056]|0)!=0&&(b=i+4|0,xi[(zi[3804]|0)+7+(e*10|0)+b>>0]=f,h=zi[3804]|0,zi[h+108+(e*40|0)+(b<<2)>>2]=t,zi[h+444+(e*80|0)+(b<<3)>>2]=zi[2230],zi[h+444+(e*80|0)+(b<<3)+4>>2]=zi[2231])}while(0);if(e=(ti(33904,s,8)|0)-33904|0,zi[3506]|0?(h=to(t,l)|0,b=to(zi[3508]|0,i)|0,e=(f<<24>>24==95?0-h|0:0)+(f<<24>>24==94?h:0)+(zi[u+(e<<2)>>2]|0)+b+(zi[4054]|0)|0,zi[2412]|0&&(b=zi[2231]|0,e=~~(+(zi[2230]|0)/+(b|0)*((b|0)==100?4096:+(l|0)))+e|0,zi[2412]=0,zi[2231]=0,zi[2230]=0,zi[5480]=8192),b=((e+526336|0)/4096|0)+-128|0,c=e-(b<<12)|0,t=c+8192|0,e=b,t=(c|0)<-8192?0:(t|0)>16383?16383:t,c=12):(b=zi[2412]|0,h=(b|0)!=0,e=(zi[33912+(e<<2)>>2]|0)+(i*12|0)+(zi[4054]|0)+(f<<24>>24!=94|h?0:t)+(f<<24>>24!=95|h?0:0-t|0)|0,b||(t=8192,c=12)),(c|0)==12&&(zi[n>>2]=t),!(zi[3536]|0))return b=e,zi[2412]=0,zi[2230]=0,zi[2231]=0,Wi=d,b|0;switch(a=(+(zi[n>>2]|0)+-8192)*.000244140625,k=+(e|0)+a,b=(~~(k*4)|0)%48|0,e=(zi[17720+(b<<2)>>2]|0)+(~~(k/12)*53|0)|0,b|0){case 4:case 12:case 24:case 32:case 40:k=a,e=((k>1.1|k<-.8)&1)+e|0}return k=+(e|0)*.22641508281230927,b=~~k,zi[n>>2]=~~((k-+(b|0))*4096)+8192,zi[2412]=0,zi[2230]=0,zi[2231]=0,Wi=d,b|0}function ve(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0;o=xi[r>>0]|0,o<<24>>24!=32&&(xi[e>>0]=o,zi[e+80>>2]=zi[t>>2],zi[e+388>>2]=zi[i>>2],zi[e+392>>2]=zi[i+4>>2]),o=xi[r+1>>0]|0,o<<24>>24!=32&&(xi[e+1>>0]=o,zi[e+84>>2]=zi[t+4>>2],zi[e+396>>2]=zi[i+8>>2],zi[e+400>>2]=zi[i+12>>2]),o=xi[r+2>>0]|0,o<<24>>24!=32&&(xi[e+2>>0]=o,zi[e+88>>2]=zi[t+8>>2],zi[e+404>>2]=zi[i+16>>2],zi[e+408>>2]=zi[i+20>>2]),o=xi[r+3>>0]|0,o<<24>>24!=32&&(xi[e+3>>0]=o,zi[e+92>>2]=zi[t+12>>2],zi[e+412>>2]=zi[i+24>>2],zi[e+416>>2]=zi[i+28>>2]),o=xi[r+4>>0]|0,o<<24>>24!=32&&(xi[e+4>>0]=o,zi[e+96>>2]=zi[t+16>>2],zi[e+420>>2]=zi[i+32>>2],zi[e+424>>2]=zi[i+36>>2]),o=xi[r+5>>0]|0,o<<24>>24!=32&&(xi[e+5>>0]=o,zi[e+100>>2]=zi[t+20>>2],zi[e+428>>2]=zi[i+40>>2],zi[e+432>>2]=zi[i+44>>2]),o=xi[r+6>>0]|0,o<<24>>24!=32&&(xi[e+6>>0]=o,zi[e+104>>2]=zi[t+24>>2],zi[e+436>>2]=zi[i+48>>2],zi[e+440>>2]=zi[i+52>>2])}function _e(){var e=0,r=0,t=0,i=0,o=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0,H=0,x=0,U=0,z=0,q=0,V=0,j=0,W=0;if(j=Wi,Wi=Wi+496|0,V=j+16|0,I=j+360|0,B=j+344|0,L=j+328|0,U=j+312|0,x=j+296|0,H=j+280|0,P=j+264|0,D=j+248|0,T=j+232|0,N=j+216|0,F=j+208|0,y=j+8|0,g=j,v=j+72|0,S=j+192|0,w=j+24|0,E=j+40|0,p=j+56|0,m=j+80|0,k=j+96|0,b=j+112|0,h=j+128|0,_=j+144|0,l=j+160|0,t=j+176|0,R=j+424|0,A=j+372|0,O=j+376|0,d=j+416|0,e=zi[3618]|0,zi[3804]=e,e)do e=zi[e+1068>>2]|0,(e|0)>-1&&(i=me(e)|0,c=zi[i+1024>>2]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=40,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=c,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],c=(zi[3802]|0)+1|0,zi[3802]=c,e=zi[3762]|0,(c|0)>=(e|0)&&(zi[3762]=ke(e)|0),Ee(i,0,0),e=zi[130]|0,((e|0)>0?(c=zi[136]|0,zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=16,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=0,s=zi[3766]|0,zi[s+(zi[3802]<<2)>>2]=e<<2,r=zi[3768]|0,zi[r+(zi[3802]<<2)>>2]=c,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],c=zi[3802]|0,Ce(s+(c<<2)|0,r+(c<<2)|0),c=(zi[3802]|0)+1|0,zi[3802]=c,r=zi[3762]|0,(c|0)>=(r|0)):0)&&(zi[3762]=ke(r)|0)),e=zi[(zi[3804]|0)+1156>>2]|0,zi[3804]=e;while((e|0)!=0);if(n(),e=zi[3618]|0)do c=e,e=zi[e+1156>>2]|0,ci(c);while((e|0)!=0);if(zi[3618]=0,Ze(),!(zi[3872]|0))return H=zi[2428]|0,zi[t>>2]=zi[2602],zi[t+4>>2]=H,zi[t+8>>2]=35352,wo(27424,t|0)|0,void(Wi=j);if(fe(),((zi[854]|0)>-1?(zi[(zi[3776]|0)+(zi[3802]<<2)>>2]=12,zi[(zi[3764]|0)+(zi[3802]<<2)>>2]=32,zi[(zi[3766]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3768]|0)+(zi[3802]<<2)>>2]=0,zi[(zi[3780]|0)+(zi[3802]<<2)>>2]=zi[2428],c=(zi[3802]|0)+1|0,zi[3802]=c,u=zi[3762]|0,(c|0)>=(u|0)):0)&&(zi[3762]=ke(u)|0),(zi[4386]|0)!=1|(zi[3538]|0)!=0||(c=zi[2428]|0,zi[l>>2]=zi[2602],zi[l+4>>2]=c,zi[l+8>>2]=35400,wo(27424,l|0)|0),(zi[3552]|0)>1&&ho(35448)|0,e=zi[3802]|0,(e|0)>0){r=zi[3776]|0,c=0;do{do if((zi[r+(c<<2)>>2]|0)==31){if(zi[4066]|0){e:do if((e|0)>(c|0))for(t=31,r=c;;){if(i=(t|0)==31?r:-1,(t|0)==32&&(e=zi[2428]|0,zi[_>>2]=zi[2602],zi[_+4>>2]=e,zi[_+8>>2]=35472,wo(27424,_|0)|0,e=zi[3802]|0),r=r+1|0,!((i|0)==-1&(r|0)<(e|0)))break e;t=zi[(zi[3776]|0)+(r<<2)>>2]|0}else r=c,i=-1;while(0);if((r|0)<(e|0)){f=i+-1|0;do s=zi[(zi[3776]|0)+(r<<2)>>2]|0,t=(s|0)==32?r:-1,(r|0)==(f|0)|(s|0)!=31||(e=zi[2428]|0,zi[h>>2]=zi[2602],zi[h+4>>2]=e,zi[h+8>>2]=35496,wo(27424,h|0)|0,e=zi[3802]|0),r=r+1|0;while((t|0)==-1&(r|0)<(e|0));s=t}else s=-1;do if((r|0)<(e|0)){for(u=zi[3776]|0,l=0;;){t=zi[u+(r<<2)>>2]|0;do if((t|0)==16|(t|0)==18)o=u,u=r;else{if((t|0)!=31){o=u,u=-1;break}o=zi[2428]|0,zi[b>>2]=zi[2602],zi[b+4>>2]=o,zi[b+8>>2]=35520,wo(27424,b|0)|0,o=zi[3776]|0,t=zi[o+(r<<2)>>2]|0,e=zi[3802]|0,u=-1}while(0);if(t=(t|0)==41?1:l,r=r+1|0,f=(u|0)==-1,l=(r|0)<(e|0),!(f&l))break;u=o,l=t}if(t=(t|0)==0,t|l^1)t=t?u:-1;else do t=(zi[o+(r<<2)>>2]&-2|0)==42?r:-1,r=r+1|0;while((r|0)<(e|0)&(t|0)==-1);if(f)C=43;else{zi[O>>2]=0,zi[d>>2]=1,l=(i|0)>(s|0);e:do if(!l)for(e=o,r=i;;){if(o=zi[e+(r<<2)>>2]|0,(o|0)==16|(o|0)==18&&(f=(zi[3768]|0)+(r<<2)|0,e=to(zi[f>>2]|0,zi[O>>2]|0)|0,o=zi[d>>2]|0,zi[O>>2]=(to(zi[(zi[3766]|0)+(r<<2)>>2]|0,o)|0)+e,zi[d>>2]=to(zi[f>>2]|0,o)|0,Ce(O,d)),(r|0)>=(s|0))break e;e=zi[3776]|0,r=r+1|0}while(0);if((u|0)>(t|0))r=0,e=0;else for(r=0,e=0;;){if(o=zi[(zi[3776]|0)+(u<<2)>>2]|0,(o|0)==43|(o|0)==42|(o|0)==16|(o|0)==18&&(f=(zi[3766]|0)+(u<<2)|0,e=zi[f>>2]|0,o=(zi[3768]|0)+(u<<2)|0,r=zi[o>>2]|0,zi[f>>2]=to((zi[4064]|0)-(zi[4062]|0)|0,e)|0,zi[o>>2]=to(zi[4064]|0,r)|0,Ce(f,o)),!((u|0)<(t|0)))break;u=u+1|0}if(o=to(zi[d>>2]|0,e)|0,zi[R>>2]=to(o,zi[4062]|0)|0,o=to(zi[O>>2]|0,r)|0,zi[A>>2]=to(o,zi[4064]|0)|0,Ce(R,A),l)break;for(;;){if(e=zi[A>>2]|0,o=zi[(zi[3776]|0)+(i<<2)>>2]|0,(o|0)==43|(o|0)==42|(o|0)==16|(o|0)==18&&(f=(zi[3766]|0)+(i<<2)|0,zi[f>>2]=to(zi[f>>2]|0,zi[R>>2]|0)|0,o=(zi[3768]|0)+(i<<2)|0,zi[o>>2]=to(zi[o>>2]|0,e)|0,Ce(f,o)),!((i|0)<(s|0)))break;i=i+1|0}}}else C=43;while(0);(C|0)==43&&(C=0,s=zi[2428]|0,zi[k>>2]=zi[2602],zi[k+4>>2]=s,zi[k+8>>2]=35568,wo(27424,k|0)|0);break}e:do if((e|0)>(c|0))for(t=31,r=c;;){if(i=(t|0)==31?r:-1,(t|0)==32&&(e=zi[2428]|0,zi[m>>2]=zi[2602],zi[m+4>>2]=e,zi[m+8>>2]=35472,wo(27424,m|0)|0,e=zi[3802]|0),r=r+1|0,!((i|0)==-1&(r|0)<(e|0)))break e;t=zi[(zi[3776]|0)+(r<<2)>>2]|0}else r=c,i=-1;while(0);if((r|0)<(e|0)){f=i+-1|0;do s=zi[(zi[3776]|0)+(r<<2)>>2]|0,t=(s|0)==32?r:-1,(r|0)==(f|0)|(s|0)!=31||(e=zi[2428]|0,zi[p>>2]=zi[2602],zi[p+4>>2]=e,zi[p+8>>2]=35496,wo(27424,p|0)|0,e=zi[3802]|0),r=r+1|0;while((t|0)==-1&(r|0)<(e|0));s=t}else s=-1;do if((r|0)<(e|0)){for(l=zi[3776]|0,u=0;;){if(t=zi[l+(r<<2)>>2]|0,(t|0)==16|(t|0)==18?(f=l,o=r):(t|0)==31?(f=zi[2428]|0,zi[E>>2]=zi[2602],zi[E+4>>2]=f,zi[E+8>>2]=35520,wo(27424,E|0)|0,f=zi[3776]|0,t=zi[f+(r<<2)>>2]|0,e=zi[3802]|0,o=-1):(f=l,o=-1),u=(t|0)==41?1:u,r=r+1|0,l=(o|0)==-1,t=(r|0)<(e|0),!(l&t))break;l=f}if(u=(u|0)==0,u|t^1)t=u?o:-1;else do t=(zi[f+(r<<2)>>2]&-2|0)==42?r:-1,r=r+1|0;while((r|0)<(e|0)&(t|0)==-1);if(l)C=77;else{if(zi[O>>2]=0,zi[d>>2]=1,l=(s|0)<(i|0))f=1,r=0;else{for(e=f,r=i;;){if(f=zi[e+(r<<2)>>2]|0,(f|0)==16|(f|0)==18&&(u=(zi[3768]|0)+(r<<2)|0,e=to(zi[u>>2]|0,zi[O>>2]|0)|0,f=zi[d>>2]|0,zi[O>>2]=(to(zi[(zi[3766]|0)+(r<<2)>>2]|0,f)|0)+e,zi[d>>2]=to(zi[u>>2]|0,f)|0,Ce(O,d)),(r|0)>=(s|0))break;e=zi[3776]|0,r=r+1|0}f=zi[d>>2]|0,r=zi[O>>2]|0}if(u=to(zi[(zi[3766]|0)+(o<<2)>>2]|0,f)|0,e=zi[4064]|0,u=to(u,e)|0,W=zi[(zi[3768]|0)+(o<<2)>>2]|0,u=u-(to(W,r)|0)|0,r=to(to(e,f)|0,W)|0,(u|0)<1){if(r=s-i+1|0,e=zi[3802]|0,(e|0)>(i|0))do W=i+r|0,e=zi[3776]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3764]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3766]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3768]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3778]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3772]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3774]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],e=zi[3780]|0,zi[e+(i<<2)>>2]=zi[e+(W<<2)>>2],i=i+1|0,e=zi[3802]|0;while((i|0)<(e|0));if(zi[3802]=e-r,(zi[3558]|0)!=-1)break;W=zi[2428]|0,zi[S>>2]=zi[2602],zi[S+4>>2]=W,zi[S+8>>2]=35608,wo(29656,S|0)|0;break}if((o|0)<=(t|0)){for(e=o;;){if(W=zi[(zi[3776]|0)+(e<<2)>>2]|0,(W|0)==43|(W|0)==42|(W|0)==16|(W|0)==18&&(o=(zi[3766]|0)+(e<<2)|0,zi[o>>2]=u,W=(zi[3768]|0)+(e<<2)|0,zi[W>>2]=r,Ce(o,W)),!((e|0)<(t|0)))break;e=e+1|0}e=zi[4064]|0}if(zi[R>>2]=1,zi[A>>2]=e,Ce(R,A),l)break;for(;;){if(e=zi[A>>2]|0,W=zi[(zi[3776]|0)+(i<<2)>>2]|0,(W|0)==43|(W|0)==42|(W|0)==16|(W|0)==18&&(o=(zi[3766]|0)+(i<<2)|0,zi[o>>2]=to(zi[o>>2]|0,zi[R>>2]|0)|0,W=(zi[3768]|0)+(i<<2)|0,zi[W>>2]=to(zi[W>>2]|0,e)|0,Ce(o,W)),!((i|0)<(s|0)))break;i=i+1|0}}}else C=77;while(0);(C|0)==77&&(C=0,W=zi[2428]|0,zi[w>>2]=zi[2602],zi[w+4>>2]=W,zi[w+8>>2]=35568,wo(27424,w|0)|0)}while(0);r=zi[3776]|0,i=r+(c<<2)|0,e=zi[i>>2]|0,(e|0)==33&&(zi[4066]=zi[(zi[3764]|0)+(c<<2)>>2],zi[4062]=zi[(zi[3766]|0)+(c<<2)>>2],zi[4064]=zi[(zi[3768]|0)+(c<<2)>>2],e=zi[i>>2]|0),(e|0)==53&&(zi[2602]=zi[(zi[3764]|0)+(c<<2)>>2]),c=c+1|0,e=zi[3802]|0}while((c|0)<(e|0))}if((zi[3552]|0)>3&&ho(35672)|0,zi[3530]|0){Me(17488),zi[3552]|0&&(W=zi[610]|0,zi[v>>2]=zi[612],zi[v+4>>2]=W,wo(35696,v|0)|0);e:do if((zi[3802]|0)>0)for(e=0,r=0;;){switch(zi[(zi[3776]|0)+(r<<2)>>2]|0){case 9:case 3:case 2:case 1:case 0:e=e+1|0,(zi[3552]|0)>1&&(zi[g>>2]=e,wo(35736,g|0)|0),(zi[44]|0)==2&&oe(r);break;case 52:if(zi[A>>2]=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(r<<2)>>2]<<2)>>2],Or(A),Vr(O,A,40),!(ni(O,35744)|0)&&(Or(A),i=Nr(A)|0,zi[44]=i,zi[3760]=i,zi[3552]|0&&(zi[y>>2]=O,zi[y+4>>2]=i,wo(35760,y|0)|0,i=zi[44]|0),(i|0)==1))break e;ni(O,35768)|0||(Or(A),Si(R|0,zi[A>>2]|0,60)|0,zi[3552]|0&&(zi[F>>2]=R,wo(35784,F|0)|0),(ze(R)|0)==-1&&qe(R),Ve(),zi[44]=2,i=zi[3760]|0,(i|0)==2|(i|0)==0||(zi[44]=i))}if(r=r+1|0,(r|0)>=(zi[3802]|0))break e}while(0)}e:do if((zi[3802]|0)>0)for(w=0,r=0,t=0,S=0,E=1;;){switch(f=zi[3776]|0,zi[f+(S<<2)>>2]|0){case 40:e=zi[(zi[3764]|0)+(S<<2)>>2]|0,C=200;break;case 53:zi[2602]=zi[(zi[3764]|0)+(S<<2)>>2],i=w,e=E;break;case 41:i=w,r=-1,t=1,e=E;break;case 18:(r|0)==-1&(t|0)!=0?(i=zi[(zi[3768]|0)+(S<<2)>>2]|0,r=zi[(zi[3766]|0)+(S<<2)>>2]|0,e=E):(i=w,e=E);break;case 24:if((S|0)>0){for(i=24,o=S;;){if((i|0)==16|(i|0)==18)break;if(e=o+-1|0,i=zi[f+(e<<2)>>2]|0,!((o|0)>1&(i|0)!=40)){
o=e;break}o=e}if(e=f+(o<<2)|0,(zi[e>>2]|0)==18){if(zi[e>>2]=49,zi[(zi[3776]|0)+(S<<2)>>2]=16,s=o+1|0,(zi[(zi[3776]|0)+(s<<2)>>2]|0)==52){if(i=(zi[3792]|0)+(zi[(zi[3764]|0)+(s<<2)>>2]<<2)|0,ht(xi[zi[i>>2]>>0]|0)|0){e=0;do W=zi[i>>2]|0,xi[O+e>>0]=xi[W+e>>0]|0,e=e+1|0;while((e|0)<39&(ht(xi[W+e>>0]|0)|0)!=0)}else e=0;if(xi[O+e>>0]=0,ni(O,35840)|0)f=S;else{if(e=zi[3802]|0,(e|0)>(s|0)){i=s;do e=i,i=i+1|0,W=zi[3776]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3764]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3766]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3768]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3778]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3772]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3774]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3780]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],e=zi[3802]|0;while((i|0)<(e|0))}zi[3802]=e+-1,f=S+-1|0}}else f=S;e=zi[3776]|0;do if((zi[e+(s<<2)>>2]|0)==48?(M=o+2|0,(zi[e+(M<<2)>>2]|0)==52):0){if(i=(zi[3792]|0)+(zi[(zi[3764]|0)+(M<<2)>>2]<<2)|0,ht(xi[zi[i>>2]>>0]|0)|0){e=0;do W=zi[i>>2]|0,xi[O+e>>0]=xi[W+e>>0]|0,e=e+1|0;while((e|0)<39&(ht(xi[W+e>>0]|0)|0)!=0)}else e=0;if(xi[O+e>>0]=0,ni(O,35840)|0){p=f;break}if(e=zi[3802]|0,(e|0)>(M|0)){i=M;do e=i,i=i+1|0,W=zi[3776]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3764]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3766]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3768]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3778]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3772]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3774]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],W=zi[3780]|0,zi[W+(e<<2)>>2]=zi[W+(i<<2)>>2],e=zi[3802]|0;while((i|0)<(e|0))}zi[3802]=e+-1,p=f+-1|0}else p=f;while(0);F=zi[3766]|0,e=F+(o<<2)|0,zi[F+(p<<2)>>2]=zi[e>>2],F=zi[3768]|0,W=F+(o<<2)|0,zi[F+(p<<2)>>2]=zi[W>>2],e=zi[e>>2]|0,zi[R>>2]=e,zi[A>>2]=zi[W>>2];r:do if((e|0)>-1&(p|0)<(zi[3802]|0))for(h=e,k=t,b=-1,u=p,i=E,l=0,m=p,c=t,e=1;;){t:do switch(zi[(zi[3776]|0)+(m<<2)>>2]|0){case 24:if((i|0)!=(E|0)){s=0,d=k,f=b;break t}if((b|0)==-1){s=zi[2428]|0,zi[D>>2]=zi[2602],zi[D+4>>2]=s,zi[D+8>>2]=35880,wo(27424,D|0)|0,s=0,d=k,f=-1,i=E;break t}if(W=zi[3764]|0,!((c|0)==0?(zi[W+(b<<2)>>2]|0)==(zi[W+(o<<2)>>2]|0):0)){s=0,d=k,f=b,i=E;break t}s=0,d=k,f=b,u=m,i=E,c=(k|0)!=0&1,e=1;break;case 41:s=0,d=(i|0)==(E|0)?1:k,f=b;break;case 40:s=0,d=k,f=b,i=zi[(zi[3764]|0)+(m<<2)>>2]|0;break;case 43:case 42:if((i|0)!=(E|0)){s=0,d=k,f=b,c=0;break t}f=zi[(zi[3768]|0)+(m<<2)>>2]|0,i=to(f,h)|0,W=zi[A>>2]|0,i=i-(to(W,zi[(zi[3766]|0)+(m<<2)>>2]|0)|0)|0,zi[R>>2]=i,f=to(W,f)|0,zi[A>>2]=f,(i&f|0)<0&&(zi[R>>2]=0-i,zi[A>>2]=0-f),Ce(R,A),s=0,d=0,f=b,i=E,c=0;break;case 18:if((i|0)!=(E|0)){s=0,d=k,f=b;break t}s=(e|h|0)==0&1,W=zi[3778]|0,((l|0)!=0?(zi[W+(m<<2)>>2]|0)==(zi[W+(o<<2)>>2]|0):0)?(c|0)==0&(e|0)==1&&(C=166):(W=zi[3764]|0,(c|0)==0&((e|0)==1?(zi[W+(m<<2)>>2]|0)==(zi[W+(o<<2)>>2]|0):0)&&(C=166));do if((C|0)==166){if(C=0,h&&(W=zi[2428]|0,zi[T>>2]=zi[2602],zi[T+4>>2]=W,zi[T+8>>2]=35856,wo(27424,T|0)|0),i=zi[3764]|0,zi[i+(m<<2)>>2]=zi[i+(o<<2)>>2],i=zi[(zi[3768]|0)+(m<<2)>>2]|0,e=to(zi[R>>2]|0,i)|0,W=zi[A>>2]|0,e=(to(W,zi[(zi[3766]|0)+(m<<2)>>2]|0)|0)+e|0,zi[R>>2]=e,i=to(W,i)|0,zi[A>>2]=i,(e&i|0)<0&&(zi[R>>2]=0-e,zi[A>>2]=0-i),Ce(R,A),F=zi[3766]|0,e=F+(o<<2)|0,W=zi[3768]|0,i=W+(o<<2)|0,W=zi[W+(m<<2)>>2]|0,f=to(zi[e>>2]|0,W)|0,zi[e>>2]=(to(zi[i>>2]|0,zi[F+(m<<2)>>2]|0)|0)+f,W=to(zi[i>>2]|0,W)|0,zi[i>>2]=W,f=zi[e>>2]|0,(f&W|0)<0&&(zi[e>>2]=0-f,zi[i>>2]=0-(zi[i>>2]|0)),Ce(e,i),zi[(zi[3776]|0)+(m<<2)>>2]=16,(u|0)==(p|0)){e=0;break}zi[(zi[3776]|0)+(u<<2)>>2]=20,e=0}while(0);if(k){d=k,f=m,i=E;break t}f=zi[(zi[3768]|0)+(m<<2)>>2]|0,i=to(zi[R>>2]|0,f)|0,W=zi[A>>2]|0,i=i-(to(W,zi[(zi[3766]|0)+(m<<2)>>2]|0)|0)|0,zi[R>>2]=i,f=to(W,f)|0,zi[A>>2]=f,(i&f|0)<0&&(zi[R>>2]=0-i,zi[A>>2]=0-f),Ce(R,A),d=0,f=m,i=E;break;case 1:case 3:case 2:case 0:s=0,d=k,f=b,l=(e|0)!=0&1;break;case 16:if((i|0)!=(E|0)){s=0,d=k,f=b;break t}if(s=(e|h|0)==0&1,k){d=k,f=b,i=E;break t}f=zi[(zi[3768]|0)+(m<<2)>>2]|0,i=to(f,h)|0,W=zi[A>>2]|0,i=i-(to(W,zi[(zi[3766]|0)+(m<<2)>>2]|0)|0)|0,zi[R>>2]=i,f=to(W,f)|0,zi[A>>2]=f,(i&f|0)<0&&(zi[R>>2]=0-i,zi[A>>2]=0-f),Ce(R,A),d=0,f=b,i=E;break;default:s=0,d=k,f=b}while(0);if(m=m+1|0,h=zi[R>>2]|0,!((s|0)==0&((m|0)<(zi[3802]|0)&(h|0)>-1)))break r;k=d,b=f}else e=1;while(0);(e|0)!=1|(zi[3538]|0)!=0||(W=zi[2428]|0,zi[P>>2]=zi[2602],zi[P+4>>2]=W,zi[P+8>>2]=35920,wo(27424,P|0)|0)}else C=143}else C=143;(C|0)==143&&(C=0,W=zi[2428]|0,zi[N>>2]=zi[2602],zi[N+4>>2]=W,zi[N+8>>2]=35808,wo(27424,N|0)|0),i=w,e=E;break;case 43:i=w,t=0,e=E;break;case 16:(r|0)==-1&(t|0)!=0?(i=zi[(zi[3768]|0)+(S<<2)>>2]|0,r=zi[(zi[3766]|0)+(S<<2)>>2]|0,e=E):(i=w,e=E);break;case 42:(r|0)==-1|(t|0)==0?(i=w,t=0,e=E):(zi[(zi[3766]|0)+(S<<2)>>2]=r,zi[(zi[3768]|0)+(S<<2)>>2]=w,i=w,t=0,e=E);break;default:e=E,C=200}if((C|0)==200&&(C=0,i=w),S=S+1|0,(S|0)>=(zi[3802]|0))break e;w=i,E=e}while(0);(zi[3552]|0)>3&&ho(35952)|0;e:do if((zi[854]|0)==-1&(zi[5786]|0)==1&&((zi[3552]|0)>1&&ho(35968)|0,(zi[3802]|0)>0))for(e=0,o=0,i=0,t=0;;){r:do switch(zi[(zi[3776]|0)+(o<<2)>>2]|0){case 1:r=i,t=o;break;case 3:(i|0)<1&(e|0)==0?(ye(t),e=0,r=i,t=o):(e=0,r=i,t=o);break;case 9:e?(e=1,r=i):((zi[3558]|0)==-1&&(W=zi[2428]|0,zi[I>>2]=zi[2602],zi[I+4>>2]=W,zi[I+8>>2]=36136,wo(27424,I|0)|0),ye(t),e=1,r=i);break;case 4:e|i||((zi[3558]|0)==-1&&(W=zi[2428]|0,zi[B>>2]=zi[2602],zi[B+4>>2]=W,zi[B+8>>2]=36104,wo(27424,B|0)|0),ye(t)),r=i+1|0;break;case 2:if(e){do if((zi[3558]|0)==-1){if(W=zi[2428]|0,zi[H>>2]=zi[2602],zi[H+4>>2]=W,zi[H+8>>2]=35984,wo(27424,H|0)|0,(zi[3558]|0)!=-1)break;W=zi[2428]|0,zi[x>>2]=zi[2602],zi[x+4>>2]=W,zi[x+8>>2]=36016,wo(29656,x|0)|0}while(0);if(e=(zi[3776]|0)+(o<<2)|0,r=zi[e>>2]|0){if((r|0)==2){zi[e>>2]=9,e=zi[2428]|0,zi[U>>2]=zi[2602],zi[U+4>>2]=e,zi[U+8>>2]=36032,wo(29656,U|0)|0,e=1,r=i;break r}if((r|0)==1){zi[e>>2]=3,e=1,r=i;break r}e=zi[2428]|0,zi[L>>2]=zi[2602],zi[L+4>>2]=e,zi[L+8>>2]=36072,wo(27424,L|0)|0,e=1,r=i;break r}zi[e>>2]=3,e=1,r=i;break r}e=1,r=i;break;default:r=i}while(0);if(o=o+1|0,(o|0)>=(zi[3802]|0))break e;i=r}while(0);if(ue(),zi[5784]=0,(zi[854]|0)>-1?(z=zi[3802]|0,(z|0)>0):0){e=zi[3776]|0,r=0;do((zi[e+(r<<2)>>2]|0)==12?(q=(zi[(zi[3764]|0)+(r<<2)>>2]|0)+-65|0,q>>>0<26):0)&&(zi[3448+(q<<2)>>2]=r),r=r+1|0;while((r|0)!=(z|0))}(zi[3552]|0)>5&&Qe(0,zi[3802]|0);do if(zi[3752]|0){if(zi[2102]=1,zi[6828]=zi[4406],zi[6830]=zi[4408],e=zi[3620]|0,(e|0)==1){Je(0)|0;break}if((e|0)>0){e=0;do Je(e)|0,e=e+1|0;while((e|0)<(zi[3620]|0))}}else e=yo(zi[3608]|0,36160)|0,zi[5482]=e,e||a(36168),zi[3538]|0||(zi[V>>2]=zi[3608],wo(36192,V|0)|0,e=zi[5482]|0),zi[2102]=2,zi[2104]=3,zi[6828]=zi[4406],zi[6830]=zi[4408],r=zi[3620]|0,t=zi[2]|0,(r|0)==1?lr(0,1,t,e):lr(1,r,t,e),bo(zi[5482]|0)|0;while(0);if((zi[3548]|0)>0){e=0;do ci(zi[(zi[3792]|0)+(e<<2)>>2]|0),e=e+1|0;while((e|0)<(zi[3548]|0))}if((zi[4384]|0)>0){e=0;do ci(zi[(zi[3794]|0)+(e<<2)>>2]|0),e=e+1|0;while((e|0)<(zi[4384]|0))}if(gr(17552),!((zi[3540]|0)>1))return void(Wi=j);e=1;do ci(zi[17920+(e<<2)>>2]|0),e=e+1|0;while((e|0)<(zi[3540]|0));Wi=j}function ge(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0;f=Wi,Wi=Wi+16|0,a=f,n=pr(1164)|0,zi[5786]=(zi[5786]|0)+1,zi[n+1020>>2]=e,zi[n+1024>>2]=zi[5786],zi[n+1028>>2]=e,zi[n+1032>>2]=zi[5786],zi[n+1008>>2]=zi[4320],zi[n+1012>>2]=zi[4406],zi[n+1016>>2]=zi[4408],zi[4402]=zi[4406],zi[4404]=zi[4408],e=n+1036|0,zi[n+1080>>2]=0,zi[n+1084>>2]=0,zi[e>>2]=0,zi[e+4>>2]=0,zi[e+8>>2]=0,zi[e+12>>2]=0,zi[e+16>>2]=0,zi[e+20>>2]=0,zi[n+1064>>2]=-1,e=n+1096|0,zi[n+1120>>2]=-1,zi[n+1068>>2]=-1,zi[n+1072>>2]=-1,zi[e>>2]=-1,zi[e+4>>2]=-1,zi[e+8>>2]=-1,zi[e+12>>2]=-1,zi[n+1076>>2]=0,zi[n+1156>>2]=0,e=n+388|0,r=n+108|0,t=n+444|0,i=0;do{xi[n+i>>0]=xi[16272+i>>0]|0,zi[n+(i+20<<2)>>2]=zi[16352+(i<<2)>>2],zi[e+(i<<3)>>2]=zi[16660+(i<<3)>>2],zi[e+(i<<3)+4>>2]=zi[16660+(i<<3)+4>>2],o=0;do xi[n+7+(i*10|0)+o>>0]=xi[16279+(i*10|0)+o>>0]|0,zi[r+(i*40|0)+(o<<2)>>2]=zi[16380+(i*40|0)+(o<<2)>>2],zi[t+(i*80|0)+(o<<3)>>2]=zi[16716+(i*80|0)+(o<<3)>>2],zi[t+(i*80|0)+(o<<3)+4>>2]=zi[16716+(i*80|0)+(o<<3)+4>>2],o=o+1|0;while((o|0)!=10);i=i+1|0}while((i|0)!=7);return zi[n+1004>>2]=zi[4319],zi[n+1060>>2]=zi[4333],zi[n+1160>>2]=0,zi[n+1152>>2]=-1,e=zi[5786]|0,e>>>0<=63?(a=e,a=22872+(a<<2)|0,zi[a>>2]=n,Wi=f,n|0):(zi[a>>2]=e,wo(35320,a|0)|0,a=zi[5786]|0,a=22872+(a<<2)|0,zi[a>>2]=n,Wi=f,n|0)}function ye(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0;switch(f=Wi,Wi=Wi+80|0,o=f+64|0,i=f,a=f+16|0,n=f+32|0,r=f+48|0,(zi[3558]|0)==-1&&(t=zi[2428]|0,zi[r>>2]=zi[2602],zi[r+4>>2]=t,zi[r+8>>2]=36016,wo(29656,r|0)|0),r=zi[3776]|0,t=r+(e<<2)|0,zi[t>>2]|0){case 9:return(zi[3558]|0)!=-1?void(Wi=f):(e=zi[2428]|0,zi[i>>2]=zi[2602],zi[i+4>>2]=e,zi[i+8>>2]=36256,wo(27424,i|0)|0,void(Wi=f));case 1:return zi[t>>2]=2,void(Wi=f);case 2:return(zi[3558]|0)!=-1?void(Wi=f):(e=zi[2428]|0,zi[a>>2]=zi[2602],zi[a+4>>2]=e,zi[a+8>>2]=36256,wo(27424,a|0)|0,void(Wi=f));case 0:return zi[t>>2]=2,void(Wi=f);case 3:return(zi[3558]|0)==-1&&(r=zi[2428]|0,zi[n>>2]=zi[2602],zi[n+4>>2]=r,zi[n+8>>2]=36216,wo(29656,n|0)|0,r=zi[3776]|0),zi[r+(e<<2)>>2]=9,void(Wi=f);default:return e=zi[2428]|0,zi[o>>2]=zi[2602],zi[o+4>>2]=e,zi[o+8>>2]=36072,wo(27424,o|0)|0,void(Wi=f)}}function Fe(){return(zi[9140]|0)==43472?void(ho(43488)|0):(zi[9140]=43472,zi[9141]=43520,zi[9142]=8,zi[9143]=2,zi[9144]=110,zi[9145]=90,Vi[9160]=1.399999976158142,Vi[9161]=.6000000238418579,zi[9176]=43472,zi[9177]=43528,zi[9178]=8,zi[9179]=2,zi[9180]=110,zi[9181]=90,Vi[9196]=1.399999976158142,Vi[9197]=.6000000238418579,zi[9212]=43472,zi[9213]=43536,zi[9214]=8,zi[9215]=2,zi[9216]=110,zi[9217]=90,Vi[9232]=1.399999976158142,Vi[9233]=.6000000238418579,zi[9248]=43472,zi[9249]=43544,zi[9250]=9,zi[9251]=3,zi[9252]=110,zi[9253]=80,zi[9254]=100,Vi[9268]=1.399999976158142,Vi[9269]=.6000000238418579,Vi[9270]=1,zi[9284]=43472,zi[9285]=43552,zi[9286]=12,zi[9287]=2,zi[9288]=110,zi[9289]=90,Vi[9304]=1.399999976158142,Vi[9305]=.6000000238418579,zi[9320]=43472,zi[9321]=43560,zi[9322]=12,zi[9323]=3,zi[9324]=110,zi[9325]=80,zi[9326]=100,Vi[9340]=1.399999976158142,Vi[9341]=.6000000238418579,Vi[9342]=1,zi[9356]=43568,zi[9357]=43584,zi[9358]=12,zi[9359]=6,zi[9360]=110,zi[9361]=80,zi[9362]=80,zi[9363]=105,zi[9364]=80,zi[9365]=80,Vi[9376]=1.2000000476837158,Vi[9377]=.8999999761581421,Vi[9378]=.8999999761581421,Vi[9379]=1.2000000476837158,Vi[9380]=.8999999761581421,Vi[9381]=.8999999761581421,zi[9392]=43592,zi[9393]=43520,zi[9394]=8,zi[9395]=2,zi[9396]=120,zi[9397]=60,Vi[9412]=1.100000023841858,Vi[9413]=.8999999761581421,zi[9428]=43592,zi[9429]=43528,zi[9430]=8,zi[9431]=8,zi[9432]=80,zi[9433]=60,zi[9434]=120,zi[9435]=60,zi[9436]=80,zi[9437]=60,zi[9438]=120,zi[9439]=60,Vi[9448]=1.100000023841858,Vi[9449]=.8999999761581421,Vi[9450]=1.100000023841858,Vi[9451]=.8999999761581421,Vi[9452]=1.100000023841858,Vi[9453]=.8999999761581421,Vi[9454]=1.100000023841858,Vi[9455]=.8999999761581421,zi[9464]=43592,zi[9465]=43536,zi[9466]=8,zi[9467]=2,zi[9468]=120,zi[9469]=60,Vi[9484]=1.100000023841858,Vi[9485]=.8999999761581421,zi[9500]=43600,zi[9501]=43616,zi[9502]=9,zi[9503]=3,zi[9504]=110,zi[9505]=70,zi[9506]=80,Vi[9520]=1.399999976158142,Vi[9521]=.5,Vi[9522]=1.100000023841858,zi[9536]=43624,zi[9537]=43640,zi[9538]=6,zi[9539]=3,zi[9540]=110,zi[9541]=70,zi[9542]=80,Vi[9556]=1.2000000476837158,Vi[9557]=.699999988079071,Vi[9558]=1.100000023841858,zi[9572]=43648,zi[9573]=43640,zi[9574]=6,zi[9575]=3,zi[9576]=110,zi[9577]=80,zi[9578]=90,Vi[9592]=1.2000000476837158,Vi[9593]=.699999988079071,Vi[9594]=1.100000023841858,zi[9608]=43664,zi[9609]=43640,zi[9610]=6,zi[9611]=3,zi[9612]=110,zi[9613]=80,zi[9614]=90,Vi[9628]=1.2999999523162842,Vi[9629]=.800000011920929,Vi[9630]=.8999999761581421,zi[9644]=43672,zi[9645]=43640,zi[9646]=6,zi[9647]=3,zi[9648]=110,zi[9649]=80,zi[9650]=90,Vi[9664]=1.2000000476837158,Vi[9665]=.699999988079071,Vi[9666]=1.100000023841858,zi[9680]=43680,zi[9681]=43560,zi[9682]=12,zi[9683]=3,zi[9684]=110,zi[9685]=70,zi[9686]=90,Vi[9700]=1.399999976158142,Vi[9701]=.6000000238418579,Vi[9702]=1,zi[9716]=43688,zi[9717]=43704,zi[9718]=8,zi[9719]=2,zi[9720]=120,zi[9721]=80,Vi[9736]=1,Vi[9737]=1,zi[9752]=43712,zi[9753]=43704,zi[9754]=8,zi[9755]=2,zi[9756]=110,zi[9757]=90,Vi[9772]=1.399999976158142,Vi[9773]=.6000000238418579,zi[9788]=43720,zi[9789]=43520,zi[9790]=8,zi[9791]=2,zi[9792]=110,zi[9793]=90,Vi[9808]=1.399999976158142,Vi[9809]=.6000000238418579,zi[9824]=43720,zi[9825]=43528,zi[9826]=8,zi[9827]=2,zi[9828]=110,zi[9829]=90,Vi[9844]=1.399999976158142,Vi[9845]=.6000000238418579,zi[9860]=43736,zi[9861]=43744,zi[9862]=3,zi[9863]=3,zi[9864]=110,zi[9865]=70,zi[9866]=70,Vi[9880]=1.0399999618530273,Vi[9881]=.9800000190734863,Vi[9882]=.9800000190734863,zi[9896]=43752,zi[9897]=43528,zi[9898]=8,zi[9899]=3,zi[9900]=115,zi[9901]=85,zi[9902]=100,zi[9903]=85,Vi[9916]=1.100000023841858,Vi[9917]=.8999999761581421,Vi[9918]=1.100000023841858,Vi[9919]=.8999999761581421,zi[9932]=43752,zi[9933]=43704,zi[9934]=8,zi[9935]=3,zi[9936]=115,zi[9937]=85,zi[9938]=100,zi[9939]=85,Vi[9952]=1.100000023841858,Vi[9953]=.8999999761581421,Vi[9954]=1.100000023841858,Vi[9955]=.8999999761581421,zi[9968]=43768,zi[9969]=43528,zi[9970]=8,zi[9971]=2,zi[9972]=115,zi[9973]=85,Vi[9988]=1.100000023841858,Vi[9989]=.8999999761581421,zi[10004]=43768,zi[10005]=43704,zi[10006]=8,zi[10007]=4,zi[10008]=115,zi[10009]=85,zi[10010]=100,zi[10011]=85,Vi[10024]=1.100000023841858,Vi[10025]=.8999999761581421,Vi[10026]=1.100000023841858,Vi[10027]=.8999999761581421,zi[10040]=43768,zi[10041]=43640,zi[10042]=8,zi[10043]=3,zi[10044]=110,zi[10045]=70,zi[10046]=80,Vi[10060]=1.100000023841858,Vi[10061]=.949999988079071,Vi[10062]=.949999988079071,zi[10076]=43768,zi[10077]=43536,zi[10078]=8,zi[10079]=2,zi[10080]=115,zi[10081]=85,Vi[10096]=1.100000023841858,Vi[10097]=.8999999761581421,zi[10112]=43776,zi[10113]=43744,zi[10114]=3,zi[10115]=3,zi[10116]=90,zi[10117]=110,zi[10118]=100,Vi[10132]=.75,Vi[10133]=1.25,Vi[10134]=1,zi[10148]=43792,zi[10149]=43520,zi[10150]=8,zi[10151]=2,zi[10152]=110,zi[10153]=90,Vi[10168]=1.399999976158142,Vi[10169]=.6000000238418579,zi[10184]=43800,zi[10185]=43744,zi[10186]=6,zi[10187]=6,zi[10188]=115,zi[10189]=85,zi[10190]=120,zi[10191]=85,zi[10192]=115,zi[10193]=85,Vi[10204]=1.2000000476837158,Vi[10205]=.800000011920929,Vi[10206]=1.2999999523162842,Vi[10207]=.699999988079071,Vi[10208]=1.100000023841858,Vi[10209]=.8999999761581421,zi[10220]=43808,zi[10221]=43744,zi[10222]=9,zi[10223]=3,zi[10224]=110,zi[10225]=80,zi[10226]=100,Vi[10240]=1.2999999523162842,Vi[10241]=.699999988079071,Vi[10242]=1,zi[10256]=43824,zi[10257]=43536,zi[10258]=8,zi[10259]=4,zi[10260]=110,zi[10261]=90,zi[10262]=90,zi[10263]=100,Vi[10276]=1.600000023841858,Vi[10277]=.800000011920929,Vi[10278]=.800000011920929,void(Vi[10279]=.800000011920929))}function Me(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0;u=Wi,Wi=Wi+48|0,s=u+16|0,o=u,n=u+8|0,f=u+36|0,a=u+32|0,Vi[680]=0,r=2464,i=r+128|0;do zi[r>>2]=0,r=r+4|0;while((r|0)<(i|0));r=2592,i=r+128|0;do zi[r>>2]=0,r=r+4|0;while((r|0)<(i|0));if(zi[682]=0,(wi(e|0)|0)>>>0<2)return zi[44]=0,void(Wi=u);r=zi[9138]|0;e:do if((r|0)>0){for(i=0;;){if((oi(e,zi[36560+(i*144|0)>>2]|0)|0)==0?(oi(9864,zi[36560+(i*144|0)+4>>2]|0)|0)==0:0)break;if(i=i+1|0,(i|0)>=(r|0))break e}if((i|0)!=-1){if(n=zi[3760]|0,zi[44]=(n|0)==0?2:n,n=zi[36560+(i*144|0)+8>>2]|0,zi[614]=n,o=zi[36560+(i*144|0)+12>>2]|0,zi[612]=zi[4406],zi[610]=to(zi[4408]|0,n)|0,Ce(2448,2440),zi[f>>2]=zi[610],zi[a>>2]=zi[612]<<2,Ce(f,a),!((zi[614]|0)>-1))return void(Wi=u);for(n=0;;){if(e=(n|0)%(o|0)|0,r=zi[36560+(i*144|0)+16+(e<<2)>>2]|0,zi[2592+(n<<2)>>2]=r,t=+Vi[36560+(i*144|0)+80+(e<<2)>>2],e=2464+(n<<2)|0,Vi[e>>2]=t,zi[3552]|0&&(zi[s>>2]=r,ji[s+8>>3]=t,wo(43896,s|0)|0,t=+Vi[e>>2]),l=+Vi[680],Vi[680]=l>t?l:t,(n|0)>0&&(e=n+-1|0,Vi[2728+(n<<2)>>2]=+Vi[2728+(e<<2)>>2]+ +Vi[2464+(e<<2)>>2]*+(zi[a>>2]|0)/+(zi[f>>2]|0)),!((n|0)<(zi[614]|0)))break;n=n+1|0}return void(Wi=u)}}while(0);if(zi[n>>2]=e,zi[n+4>>2]=9864,wo(43832,n|0)|0,(zi[9138]|0)>0){r=0;do a=zi[36560+(r*144|0)+4>>2]|0,zi[o>>2]=zi[36560+(r*144|0)>>2],zi[o+4>>2]=a,wo(43888,o|0)|0,((r|0)%5|0|0)==4&&lo(10)|0,r=r+1|0;while((r|0)<(zi[9138]|0))}lo(10)|0,zi[44]=0,Wi=u}function Oe(e){e|=0;var r=0;return r=Wi,Wi=Wi+e|0,Wi=Wi+15&-16,r|0}function Ae(){return Wi|0}function Re(e){e|=0,Wi=e}function Ne(e,r){e|=0,r|=0,Wi=e,Yi=r}function Te(e,r){e|=0,r|=0,Zi||(Zi=e,Ji=r)}function De(e){e|=0,eo=e}function Pe(){return eo|0}function Ce(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;if(t=zi[e>>2]|0,(t|0)<0?(t=0-t|0,zi[e>>2]=t,n=-1):n=1,i=zi[r>>2]|0,a=(t|0)>(i|0),o=a?t:i,i=a?i:t)for(;;){if(o=(o|0)%(i|0)|0,!o)break;a=i,i=o,o=a}else i=o;zi[e>>2]=to((t|0)/(i|0)|0,n)|0,zi[r>>2]=(zi[r>>2]|0)/(i|0)|0}function Le(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0;if(o=zi[132]|0,i=to(to(zi[130]|0,r)|0,o)|0,e=to(zi[134]|0,e)|0,t=zi[136]|0,e=(to(e,t)|0)+i|0,zi[130]=e,o=to(to(t,r)|0,o)|0,zi[136]=o,(e|0)<0?(e=0-e|0,zi[130]=e,i=-1):i=1,r=(e|0)>(o|0),t=r?e:o,r=r?o:e)for(;;){if(t=(t|0)%(r|0)|0,!t)break;n=r,r=t,t=n}else r=t;zi[130]=to((e|0)/(r|0)|0,i)|0,zi[136]=(o|0)/(r|0)|0}function Be(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,u=0;if(u=Wi,Wi=Wi+16|0,a=u,zi[a>>2]=e,r=xi[e>>0]|0,r<<24>>24==0|(ti(4128,r<<24>>24,14)|0)==0)r=0,f=6;else{for(o=r,t=e,n=0,e=0;;){if(xi[624+n>>0]=o,r=t+1|0,zi[a>>2]=r,((xi[r>>0]|0)+-48&255)<10?(t=Nr(a)|0,i=zi[a>>2]|0):(t=1,i=r),zi[664+(n<<2)>>2]=t,e=t+e|0,r=n+1|0,o=xi[i>>0]|0,o<<24>>24==0|((n|0)>37|(ti(4128,o<<24>>24,14)|0)==0))break;t=i,n=r}e||(f=6)}if((f|0)==6&&(s(4144),xi[624]=122,zi[166]=1,e=1),xi[624+r>>0]=0,(r|0)==39&&s(4160),r=to(zi[4402]<<2,zi[206]|0)|0,zi[208]=r,o=to(zi[4404]|0,e)|0,zi[210]=o,(r|0)<0?(r=0-r|0,zi[208]=r,i=-1):i=1,e=(r|0)>(o|0),t=e?r:o,e=e?o:r,!e)return a=t,n=(r|0)/(a|0)|0,n=to(n,i)|0,zi[208]=n,a=(o|0)/(a|0)|0,zi[210]=a,void(Wi=u);for(;;){if(t=(t|0)%(e|0)|0,!t)break;a=e,e=t,t=a}a=(r|0)/(e|0)|0,a=to(a,i)|0,zi[208]=a,a=(o|0)/(e|0)|0,zi[210]=a,Wi=u}function Ie(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,u=0,l=0;for(l=Wi,Wi=Wi+16|0,u=l,zi[u>>2]=e,t=0,o=0,n=0;;){if(i=xi[e>>0]|0,i<<24>>24==122){if((t|0)>=39){r=t,e=n;break}}else if(!((t|0)<39&i<<24>>24==100)){r=t,e=n;break}xi[848+t>>0]=i,e=e+1|0,zi[u>>2]=e,((xi[e>>0]|0)+-48&255)<10?(r=Nr(u)|0,e=zi[u>>2]|0):r=1,zi[888+(t<<2)>>2]=r,t=t+1|0,o=(i<<24>>24==100&1)+o|0,n=r+n|0}if(xi[848+r>>0]=0,e?f=e:(s(4192),xi[848]=122,zi[222]=1,f=1),(r|0)!=39?(r|0)>0&&(e=0,a=13):(s(4216),e=0,a=13),(a|0)==13)for(;;){if(zi[1048+(e<<2)>>2]=35,zi[1208+(e<<2)>>2]=80,e=e+1|0,(e|0)==(r|0))break;a=13}if(Or(u),((xi[zi[u>>2]>>0]|0)+-48|0)>>>0<10){n=r<<1,e=0,r=0;do{i=Nr(u)|0;do{if((e|0)<(o|0)){for(t=r;;){if(r=t+1|0,(xi[848+t>>0]|0)==100)break;t=r}if((i|0)>127){s(4248);break}zi[1048+(t<<2)>>2]=i;break}if((e|0)<(n|0)){for(t=(e|0)==(o|0)?0:r;;){if(r=t+1|0,(xi[848+t>>0]|0)==100)break;t=r}if((i+-1|0)>>>0>126){s(4288);break}zi[1208+(t<<2)>>2]=i;break}}while(0);e=e+1|0,Or(u)}while(((xi[zi[u>>2]>>0]|0)+-48|0)>>>0<10)}else e=0;if((e|0)>(o<<1|0)&&s(4336),e=to(zi[4402]<<2,zi[342]|0)|0,zi[344]=e,o=to(zi[4404]|0,f)|0,zi[346]=o,(e|0)<0?(e=0-e|0,zi[344]=e,i=-1):i=1,r=(e|0)>(o|0),t=r?e:o,r=r?o:e,!r)return a=t,n=(e|0)/(a|0)|0,n=to(n,i)|0,zi[344]=n,a=(o|0)/(a|0)|0,zi[346]=a,void(Wi=l);for(;;){if(t=(t|0)%(r|0)|0,!t)break;a=r,r=t,t=a}a=(e|0)/(r|0)|0,a=to(a,i)|0,zi[344]=a,a=(o|0)/(r|0)|0,zi[346]=a,Wi=l}function He(e,r){e|=0,r|=0,zi[4402]=e,zi[4404]=r,zi[4406]=e,zi[4408]=r,zi[348]=e;do{if((e|0)%3|0){if(e&1){zi[350]=e;break}zi[350]=2;break}zi[350]=3}while(0);return(r|0)>4?(zi[134]=(r|0)/4|0,e=1,void(zi[132]=e)):(zi[134]=1,e=4/(r|0)|0,void(zi[132]=e))}function xe(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;return o=Wi,Wi=Wi+16|0,i=o,(t|0)==9&&(r=zi[1408+(r<<2)>>2]|0),xi[i>>0]=r,xi[i+1>>0]=0,(zi[608]|0)>15?(s(4376),void(Wi=o)):(dr(e,128,t,i,2)|0,void(Wi=o))}function Ue(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0;if(y=Wi,Wi=Wi+64|0,g=y+40|0,_=y,i=zi[3766]|0,t=zi[3768]|0,u=zi[t+(e<<2)>>2]|0,v=to(zi[132]|0,zi[130]|0)|0,S=to(zi[134]|0,zi[136]|0)|0,s=(to(S,zi[i+(e<<2)>>2]|0)|0)+(to(v,u)|0)|0,u=to(S,u)|0,f=(s|0)<0?0-s|0:s,s=s>>31|1,n=(f|0)>(u|0),a=n?f:u,n=n?u:f)for(;;){if(a=(a|0)%(n|0)|0,!a)break;w=n,n=a,a=w}else n=a;if(w=to((f|0)/(n|0)|0,s)|0,E=(u|0)/(n|0)|0,c=zi[610]|0,a=to(c,v)|0,d=zi[612]|0,s=to(S<<2,d)|0,u=(a|0)<0?0-a|0:a,a=a>>31|1,n=(u|0)>(s|0),f=n?u:s,n=n?s:u)for(;;){if(f=(f|0)%(n|0)|0,!f)break;p=n,n=f,f=p}else n=f;if(p=to((u|0)/(n|0)|0,a)|0,m=(s|0)/(n|0)|0,k=(p|0)/(m|0)|0,b=(p|0)%(m|0)|0,a=to(c,w)|0,s=to(E<<2,d)|0,f=(a|0)<0?0-a|0:a,a=a>>31|1,u=(f|0)>(s|0),n=u?f:s,u=u?s:f)for(;;){if(n=(n|0)%(u|0)|0,!n)break;d=u,u=n,n=d}else u=n;if(d=to((f|0)/(u|0)|0,a)|0,a=(s|0)/(u|0)|0,n=(d|0)/(a|0)|0,f=(d|0)%(a|0)|0,(n-k|0)>2|(n|0)>(zi[614]|0))return void(Wi=y);if((n|0)==(k|0))o=+Vi[2464+(k<<2)>>2];else{if((n|0)>(k|0))if(h=+(m-b|0)/+(m|0),c=2464+(k<<2)|0,b){l=0,u=k,o=0;do(u|0)==(k|0)?(l=h*+Vi[c>>2],o=h):(l+=+Vi[2464+(u<<2)>>2],o+=1),u=u+1|0;while((u|0)!=(n|0))}else{l=0,u=k,o=0;do(u|0)==(k|0)?(l=+Vi[c>>2],o=1):(l+=+Vi[2464+(u<<2)>>2],o+=1),u=u+1|0;while((u|0)!=(n|0))}else l=0,o=0;f&&(h=+(f|0)/+(a|0),l+=h*+Vi[2464+(f<<2)>>2],o+=h),o=l/o}u=zi[2592+(k<<2)>>2]|0,o/=+Vi[680],(zi[3552]|0)>1&&(zi[_>>2]=zi[(zi[3764]|0)+(e<<2)>>2],zi[_+4>>2]=v,zi[_+8>>2]=S,zi[_+12>>2]=p,zi[_+16>>2]=m,zi[_+20>>2]=w,zi[_+24>>2]=E,zi[_+28>>2]=d,zi[_+32>>2]=a,wo(4400,_|0)|0,ji[g>>3]=o,zi[g+8>>2]=u,wo(4440,g|0)|0,i=zi[3766]|0,t=zi[3768]|0),zi[r>>2]=u,zi[32]=~~((1-o)*+(zi[i+(e<<2)>>2]|0)*100),zi[34]=~~(+(~~+(zi[t+(e<<2)>>2]|0)|0)*100),Wi=y}function ze(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0;if(s=Wi,Wi=Wi+32|0,f=s+8|0,a=s,n=s+24|0,t=+ri(e,n),i=zi[n>>2]|0,t==0|(xi[i>>0]|0)==0)return a=-1,Wi=s,a|0;r=~~(+(~~t|0)+1e-4),zi[614]=r,e=2464,o=e+128|0;do zi[e>>2]=0,e=e+4|0;while((e|0)<(o|0));e=2592,o=e+128|0;do zi[e>>2]=0,e=e+4|0;while((e|0)<(o|0));if((r|0)>31)return a=-1,Wi=s,a|0;if((xi[i>>0]|0)!=0&(r|0)>0){e=0;do r=~~(+(~~+ri(i,n)|0)+1e-4),zi[2592+(e<<2)>>2]=r,r>>>0>127&&(zi[a>>2]=e,zi[a+4>>2]=r,wo(4464,a|0)|0),t=+ri(zi[n>>2]|0,n),Vi[2464+(e<<2)>>2]=t,r=zi[614]|0,t<0|t>+(r|0)&&(zi[f>>2]=e,ji[f+8>>3]=t,wo(4536,f|0)|0,r=zi[614]|0),i=zi[n>>2]|0,e=e+1|0;while((xi[i>>0]|0)!=0&(e|0)<(r|0))}else e=0;return a=((e|0)!=(r|0))<<31>>31,Wi=s,a|0}function qe(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0;if(f=Wi,Wi=Wi+48|0,a=f+24|0,n=f,r=f+8|0,t=f+16|0,Vi[680]=0,o=yo(e|0,43904)|0,!o)return zi[r>>2]=e,wo(43912,r|0)|0,void(Wi=f);e=2464,r=e+128|0;do zi[e>>2]=0,e=e+4|0;while((e|0)<(r|0));e=2592,r=e+128|0;do zi[e>>2]=0,e=e+4|0;while((e|0)<(r|0));if(zi[682]=0,zi[44]=2,zi[t>>2]=2456,no(o|0,27480,t|0)|0,e=zi[614]|0,(e|0)<=31?(e|0)>-1&&(t=0,i=6):(zi[614]=31,t=0,i=6),(i|0)==6)for(;;){if(e=2592+(t<<2)|0,r=2464+(t<<2)|0,zi[n>>2]=e,zi[n+4>>2]=r,no(o|0,44128,n|0)|0,zi[3552]|0&&(s=+Vi[r>>2],zi[a>>2]=zi[e>>2],ji[a+8>>3]=s,wo(43896,a|0)|0),!((t|0)<(zi[614]|0)))break;t=t+1|0,i=6}bo(o|0)|0,Wi=f}function Ve(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0;if(b=Wi,Wi=Wi+32|0,h=b+16|0,d=b,c=b+8|0,t=zi[4406]|0,zi[612]=t,r=zi[614]|0,s=to(r,zi[4408]|0)|0,zi[610]=s,(t|0)<0?(t=0-t|0,zi[612]=t,f=-1):f=1,i=(t|0)>(s|0),o=i?t:s,i=i?s:t)for(;;){if(o=(o|0)%(i|0)|0,!o)break;l=i,i=o,o=l}else i=o;if(l=to((t|0)/(i|0)|0,f)|0,zi[612]=l,u=(s|0)/(i|0)|0,zi[610]=u,s=l<<2,f=(u|0)<0?0-u|0:u,o=u>>31|1,i=(f|0)>(s|0),t=i?f:s,i=i?s:f)for(;;){if(t=(t|0)%(i|0)|0,!t)break;k=i,i=t,t=k}else i=t;o=to((f|0)/(i|0)|0,o)|0,f=(s|0)/(i|0)|0,(zi[3552]|0)>1&&(zi[c>>2]=l,zi[c+4>>2]=u,wo(4608,c|0)|0,r=zi[614]|0);e:do if((r|0)>-1){for(n=+(f|0),a=+(o|0),i=0;;){if(m=+Vi[680],e=+Vi[2464+(i<<2)>>2],Vi[680]=m>e?m:e,(i|0)>0?(k=i+-1|0,e=+Vi[2728+(k<<2)>>2]+n*+Vi[2464+(k<<2)>>2]/a,Vi[2728+(i<<2)>>2]=e):e=+Vi[2728+(i<<2)>>2],e>+(r|0)+.05){t=15;break}if((zi[2592+(i<<2)>>2]|0)>>>0>127){t=17;break}if((zi[3552]|0)>1&&(ji[d>>3]=e,wo(4848,d|0)|0,r=zi[614]|0),!((i|0)<(r|0)))break e;i=i+1|0}if((t|0)==15)return ho(4640)|0,zi[44]=0,void(Wi=b);if((t|0)==17)return ho(4752)|0,zi[44]=0,void(Wi=b)}while(0);return(zi[3552]|0)>1&&(ho(4856)|0,r=zi[614]|0),e=+(f|0)*+(r|0)/+(o|0),+Vi[2728+(r<<2)>>2]==e?void(Wi=b):(zi[h>>2]=r,wo(4872,h|0)|0,Vi[2728+(zi[614]<<2)>>2]=e,void(Wi=b))}function je(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0,s=0,u=0,l=0;if(l=Wi,Wi=Wi+16|0,u=l,zi[t>>2]=0,a=(e|0)/(r|0)|0,o=zi[614]|0,(a|0)>(o|0)?(o=~~(+Vi[2728+(o<<2)>>2]*1e3+0),zi[t>>2]=o,s=zi[614]|0,f=s,a=(a|0)%(s|0)|0):(f=o,o=0),s=a+1|0,e=(e|0)%(r|0)|0,e?((a|0)>=(f|0)&&(zi[u>>2]=s,wo(4960,u|0)|0,o=zi[t>>2]|0),n=+(e|0)/+(r|0),n=(1-n)*+Vi[2728+(a<<2)>>2]+n*+Vi[2728+(s<<2)>>2]):n=+Vi[2728+(a<<2)>>2],zi[t>>2]=~~(n*1e3+.5)+o,zi[i>>2]=1e3,o=zi[t>>2]|0,(o|0)<0?(o=0-o|0,zi[t>>2]=o,a=zi[i>>2]|0,f=-1):(a=1e3,f=1),u=(o|0)>(a|0),e=u?o:a,a=u?a:o,!a)return u=e,s=(o|0)/(u|0)|0,f=to(s,f)|0,zi[t>>2]=f,f=zi[i>>2]|0,u=(f|0)/(u|0)|0,zi[i>>2]=u,void(Wi=l);for(;;){if(e=(e|0)%(a|0)|0,!e)break;u=a,a=e,e=u}u=(o|0)/(a|0)|0,u=to(u,f)|0,zi[t>>2]=u,u=zi[i>>2]|0,u=(u|0)/(a|0)|0,zi[i>>2]=u,Wi=l}function We(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0;if(k=Wi,Wi=Wi+16|0,r=k,b=k+4|0,(zi[714]|0)!=(e|0))return void(Wi=k);if((wi(624)|0)<=(e|0))return void(Wi=k);d=xi[624+e>>0]|0,h=zi[664+(e<<2)>>2]|0,e=d<<24>>24==99&(zi[142]|0)==-1?102:d<<24>>24;e:do switch(e|0){case 102:if((zi[716]|0)!=0&(zi[718]|0)!=0){if(e=zi[140]|0,l=to(zi[208]|0,h)|0,o=zi[210]|0,(e|0)==-1){if(f=(zi[720]|0)+(zi[144]|0)|0,i=zi[721]|0,n=zi[722]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(f<<2)>>2],xi[b+1>>0]=n,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(l,o,f,9,0,-1);break e}t=(zi[834]|0)+f+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=n,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(l,o,(zi[834]|0)+f+(zi[6]|0)|0,i,0,-1);break e}if(f=(zi[720]|0)+e|0,i=zi[721]|0,n=zi[722]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(f<<2)>>2],xi[b+1>>0]=n,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(l,o,f,9,0,-1);break e}t=(zi[834]|0)+f+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=n,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(l,o,(zi[834]|0)+f+(zi[6]|0)|0,i,0,-1);break e}break;case 99:c=56;break;case 98:if((zi[716]|0)!=0&(zi[718]|0)!=0){if(e=zi[140]|0,f=to(zi[208]|0,h)|0,l=zi[210]|0,(e|0)==-1){if(o=(zi[720]|0)+(zi[144]|0)|0,t=zi[721]|0,n=zi[722]|0,(t|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=n,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,l,o,9,0,-1),c=56;break e}i=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,t,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=i,xi[r>>0]=n,dr(e,144,t,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,l,(zi[834]|0)+o+(zi[6]|0)|0,t,0,-1),c=56;break e}if(n=(zi[720]|0)+e|0,i=zi[721]|0,o=zi[722]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(n<<2)>>2],xi[b+1>>0]=o,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,l,n,9,0,-1),c=56;break e}t=(zi[834]|0)+n+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=o,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,l,(zi[834]|0)+n+(zi[6]|0)|0,i,0,-1),c=56;break e}c=56;break;case 104:if((zi[138]|0)>1&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=zi[151]|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 106:if((zi[138]|0)>3&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=zi[153]|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 103:if((zi[138]|0)>0&(zi[716]|0)!=0&(zi[718]|0)!=0){if(n=to(zi[208]|0,h)|0,o=zi[210]|0,a=zi[150]|0,i=zi[147]|0,f=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(a<<2)>>2],xi[b+1>>0]=f,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(n,o,a,9,0,-1);break e}t=(zi[834]|0)+a+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=f,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(n,o,(zi[834]|0)+a+(zi[6]|0)|0,i,0,-1)}break;case 105:if((zi[138]|0)>2&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=zi[152]|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 71:if((zi[138]|0)>0&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=(zi[150]|0)+-12|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 74:if((zi[138]|0)>3&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=(zi[153]|0)+-12|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 73:if((zi[138]|0)>2&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=(zi[152]|0)+-12|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;case 120:zi[42]|0||(zi[42]=1,u(5032));break;case 122:break;case 72:if((zi[138]|0)>1&(zi[716]|0)!=0&(zi[718]|0)!=0){if(f=to(zi[208]|0,h)|0,n=zi[210]|0,o=(zi[151]|0)+-12|0,i=zi[147]|0,a=zi[148]|0,(i|0)==9){e=zi[728]|0,
(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(o<<2)>>2],xi[b+1>>0]=a,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,o,9,0,-1);break e}t=(zi[834]|0)+o+(zi[6]|0)|0,e=zi[728]|0,r=zi[608]|0,(r|0)>15?s(5008):((zi[3928+(r<<2)>>2]|0)==8192?r=b+1|0:(xi[b>>0]=0,r=b+1|0,xi[r>>0]=64,zi[50]=8192,dr(e,224,i,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[r>>0]=a,dr(e,144,i,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(f,n,(zi[834]|0)+o+(zi[6]|0)|0,i,0,-1)}break;default:zi[r>>2]=e,wo(5072,r|0)|0}while(0);if((c|0)==56?(zi[716]|0)!=0&(zi[718]|0)!=0&(zi[138]|0)>0:0){f=b+1|0,n=b+1|0,d=0;do o=to(zi[208]|0,h)|0,a=zi[210]|0,l=zi[600+(d<<2)>>2]|0,r=zi[147]|0,c=zi[148]|0,(r|0)==9?(e=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[b>>0]=zi[1408+(l<<2)>>2],xi[f>>0]=c,dr(e,144,9,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(o,a,l,9,0,-1)):(t=(zi[834]|0)+l+(zi[6]|0)|0,e=zi[728]|0,i=zi[608]|0,(i|0)>15?s(5008):((zi[3928+(i<<2)>>2]|0)!=8192&&(xi[b>>0]=0,xi[n>>0]=64,zi[50]=8192,dr(e,224,r,b,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,e=0),xi[b>>0]=t,xi[n>>0]=c,dr(e,144,r,b,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(o,a,(zi[834]|0)+l+(zi[6]|0)|0,r,0,-1)),d=d+1|0;while((d|0)<(zi[138]|0))}b=(zi[714]|0)+1|0,zi[714]=b,h=to(zi[208]|0,h)|0,nt(h,zi[210]|0,-1,b,0,0),Wi=k}function Ye(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0;return f=Wi,Wi=Wi+16|0,n=f,(zi[724]|0)!=(e|0)?void(Wi=f):(wi(848)|0)<=(e|0)?void(Wi=f):(a=zi[888+(e<<2)>>2]|0,(xi[848+e>>0]|0)==100&(zi[726]|0)!=0&&(t=to(zi[344]|0,a)|0,i=zi[346]|0,o=zi[1048+(e<<2)>>2]|0,e=zi[1208+(e<<2)>>2]|0,r=zi[728]|0,(zi[608]|0)>15?s(5008):(xi[n>>0]=zi[1408+(o<<2)>>2],xi[n+1>>0]=e,dr(r,144,9,n,2)|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,nt(t,i,o,9,0,-1),e=zi[724]|0),n=e+1|0,zi[724]=n,a=to(zi[344]|0,a)|0,nt(a,zi[346]|0,-1,n,0,0),void(Wi=f))}function Ke(){var e=0,r=0,t=0,i=0,o=0,n=0,a=0;return a=Wi,Wi=Wi+16|0,n=a,e=zi[728]|0,t=zi[11]|0,o=e-t|0,t||(r=zi[10]|0,xi[n>>0]=zi[12],(r|0)>15?s(4376):dr(e,192,r,n,1)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0),e=(zi[6]|0)+(zi[13]|0)|0,t=zi[10]|0,i=zi[14]|0,r=zi[608]|0,(r|0)>15?s(5008):(((t|0)!=9?(zi[3928+(r<<2)>>2]|0)!=8192:0)?(xi[n>>0]=0,xi[n+1>>0]=64,zi[50]=8192,dr(o,224,t,n,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,r=0):r=o,(t|0)==9&&(e=zi[1408+(e<<2)>>2]|0),xi[n>>0]=e,xi[n+1>>0]=i,dr(r,144,t,n,2)|0),e=(zi[6]|0)+(zi[15]|0)|0,i=zi[10]|0,t=zi[16]|0,r=zi[608]|0,(r|0)>15?(s(5008),n=zi[728]|0,zi[11]=n,void(Wi=a)):(((i|0)!=9?(zi[3928+(r<<2)>>2]|0)!=8192:0)?(xi[n>>0]=0,xi[n+1>>0]=64,zi[50]=8192,dr(o,224,i,n,2)|0,zi[3928+(zi[608]<<2)>>2]=8192,r=0):r=o,(i|0)==9&&(e=zi[1408+(e<<2)>>2]|0),xi[n>>0]=e,xi[n+1>>0]=t,dr(r,144,i,n,2)|0,n=zi[728]|0,zi[11]=n,void(Wi=a))}function Xe(){var e=0,r=0,t=0,i=0,o=0,n=0;return n=Wi,Wi=Wi+16|0,o=n,r=(zi[728]|0)-(zi[11]|0)|0,e=(zi[6]|0)+(zi[13]|0)|0,t=zi[10]|0,(t|0)==9&&(e=zi[1408+(e<<2)>>2]|0),xi[o>>0]=e,i=o+1|0,xi[i>>0]=0,(zi[608]|0)>15?s(4376):dr(r,128,t,o,2)|0,e=(zi[6]|0)+(zi[15]|0)|0,r=zi[10]|0,(r|0)==9&&(e=zi[1408+(e<<2)>>2]|0),xi[o>>0]=e,xi[i>>0]=0,(zi[608]|0)>15?(s(4376),o=zi[728]|0,zi[11]=o,void(Wi=n)):(dr(0,128,r,o,2)|0,o=zi[728]|0,zi[11]=o,void(Wi=n))}function Ge(e){e|=0,zi[730]|0&&We(e),zi[732]|0&&Ye(e)}function Ze(){var e=0;e=0;do zi[1408+(e<<2)>>2]=e,e=e+1|0;while((e|0)!=256)}function Je(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0,H=0,x=0,U=0,z=0,q=0,V=0,j=0,W=0,Y=0,X=0,G=0,Z=0,J=0,Q=0,$=0,ee=0,re=0,te=0,ie=0,oe=0,ae=0,fe=0,se=0,ue=0,le=0,ce=0,de=0,he=0,be=0,ke=0,me=0,pe=0,Ee=0,we=0,Se=0,ve=0,_e=0,ge=0,ye=0,Fe=0,Me=0;Me=Wi,Wi=Wi+992|0,Fe=Me+192|0,ge=Me+256|0,_e=Me+248|0,ve=Me+240|0,Se=Me+184|0,we=Me+176|0,Ee=Me+168|0,pe=Me+160|0,me=Me+152|0,ke=Me+144|0,be=Me+136|0,he=Me+128|0,de=Me+120|0,ce=Me+56|0,le=Me,ue=Me+16|0,v=Me+40|0,S=Me+48|0,w=Me+72|0,E=Me+80|0,p=Me+88|0,m=Me+96|0,k=Me+104|0,_=Me+112|0,b=Me+232|0,h=Me+216|0,d=Me+224|0,ye=Me+408|0,ae=Me+304|0,W=Me+896|0,Q=Me+640|0,ie=Me+296|0,oe=Me+292|0,q=Me+280|0,G=Me+620|0,V=Me+276|0,j=Me+272|0,J=Me+976|0,z=Me+268|0,$=Me+264|0,Z=Me+612|0,X=Me+608|0,te=Me+260|0,re=Me+288|0,se=Me+284|0,fe=Me+300|0,ee=Me+616|0,Y=Me+617|0,zi[734]=e,zi[736]=0,zi[728]=1,zi[738]=0,zi[740]=0,zi[742]=1,zi[730]=0,zi[744]=0,zi[732]=0,zi[746]=0,zi[20]=zi[24],zi[22]=zi[26],zi[32]=0,zi[34]=1,zi[757]=1,zi[342]=1,zi[206]=1,zi[768]=0,zi[770]=0,zi[52]=1,zi[50]=8192,a=3088,n=a+64|0;do zi[a>>2]=0,a=a+4|0;while((a|0)<(n|0));if(zi[822]=0,U=(e|0)==0,U&(zi[3744]|0)!=0?(hr(1,1,5096,19)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,xi[ye>>0]=xi[5120]|0,xi[ye+1>>0]=xi[5121]|0,xi[ye+2>>0]=xi[5122]|0,(zi[3802]|0)>0):0){t=ye+2|0,r=3,i=0;do i=i+1|0,o=zi[(zi[3776]|0)+(i<<2)>>2]|0,(o|0)==26&&(o=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(i<<2)>>2]<<2)>>2]|0,hr(0,3,o,wi(o|0)|0)|0,yi(t|0,zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(i<<2)>>2]<<2)>>2]|0)|0,o=zi[728]|0,hr(o,1,ye,wi(ye|0)|0)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=zi[(zi[3776]|0)+(i<<2)>>2]|0,r=r+-1|0),(o|0)==68&&(yi(t|0,zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(i<<2)>>2]<<2)>>2]|0)|0,o=zi[728]|0,hr(o,1,ye,wi(ye|0)|0)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=zi[(zi[3776]|0)+(i<<2)>>2]|0,r=r+-1|0),(o|0)==67&&(yi(t|0,zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(i<<2)>>2]<<2)>>2]|0)|0,H=zi[728]|0,hr(H,1,ye,wi(ye|0)|0)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,r=r+-1|0);while((r|0)>0&(i|0)<(zi[3802]|0))}if(i=14488+(e*12|0)|0,r=zi[i>>2]|0,r?o=e:(zi[824]=0,zi[742]=1,zi[740]=0,hr(0,1,5128,10)|0,r=zi[i>>2]|0,o=zi[14488+(e*12|0)+4>>2]|0),(r|0)==1?(zi[824]=0,zi[742]=0,zi[740]=1,zi[730]=0,hr(0,1,5144,11)|0,r=zi[i>>2]|0,l=0,o=zi[14488+(e*12|0)+4>>2]|0):l=1,(r|0)==2&&(zi[824]=0,zi[742]=1,zi[740]=1,hr(0,1,5160,17)|0,r=zi[i>>2]|0,o=zi[14488+(e*12|0)+4>>2]|0),(r|0)==3){zi[742]=0,zi[730]=1,zi[732]=0,zi[746]=0,zi[744]=0,hr(0,1,5184,12)|0,o=zi[14488+(e*12|0)+4>>2]|0,r=zi[6828]|0,t=zi[6830]|0,zi[4402]=r,zi[4404]=t,zi[4406]=r,zi[4408]=t,zi[348]=r;do{if((r|0)%3|0){if(r&1){zi[350]=r;break}zi[350]=2;break}zi[350]=3}while(0);(t|0)>4?(zi[134]=(t|0)/4|0,r=1):(zi[134]=1,r=4/(t|0)|0),zi[132]=r,ne(),r=zi[i>>2]|0}if((r|0)==4&&(zi[742]=0,zi[730]=0,zi[732]=1,zi[746]=0,zi[744]=0,hr(0,1,5200,10)|0,r=zi[i>>2]|0,o=zi[14488+(e*12|0)+4>>2]|0),(r|0)==5&&(zi[742]=0,zi[730]=0,zi[732]=0,zi[746]=1,zi[744]=0,hr(0,1,5216,11)|0,o=zi[14488+(e*12|0)+4>>2]|0),zi[8]=0,U){br(zi[4398]|0),i=zi[5486]|0,xi[X>>0]=zi[5484],xi[X+1>>0]=i,hr(0,89,X,2)|0,i=zi[4406]|0,n=zi[4408]|0,zi[4402]=i,zi[4404]=n,zi[348]=i;do{if((i|0)%3|0){if(i&1){zi[350]=i;break}zi[350]=2;break}zi[350]=3}while(0);if((n|0)<=4?(zi[134]=1,zi[132]=4/(n|0)|0,(n|0)>1?(r=0,t=n,x=41):r=0):(zi[134]=(n|0)/4|0,zi[132]=1,r=0,t=n,x=41),(x|0)==41){for(;;){if(x=0,r=r+1|0,!((t|0)>3))break;t=(t|0)/2|0,x=41}r&=255}xi[Z>>0]=i,xi[Z+1>>0]=r,xi[Z+2>>0]=(to((i&1|0)==0?48:24,i)|0)/(n|0)|0,xi[Z+3>>0]=8,hr(0,88,Z,4)|0,zi[730]=0,zi[744]=1,(zi[3620]|0)>1?(zi[742]=0,l=0,c=0,H=1):(c=1,H=o)}else c=1,H=o;zi[946]=105,zi[948]=95,zi[950]=80,xi[3816]=0,zi[952]=1,zi[980]=0,zi[834]=0,r=zi[6828]|0,o=zi[6830]|0,zi[4402]=r,zi[4404]=o,zi[4406]=r,zi[4408]=o,zi[348]=r;do{if((r|0)%3|0){if(r&1){zi[350]=r;break}zi[350]=2;break}zi[350]=3}while(0);(o|0)>4?(zi[134]=(o|0)/4|0,r=1):(zi[134]=1,r=4/(o|0)|0),zi[132]=r,zi[832]=zi[2],zi[718]=1,zi[858]=-1,zi[860]=-1,zi[716]=0,zi[714]=0,zi[724]=0,ut(),zi[742]|0?(r=14488+(e*12|0)+8|0,L=zi[r>>2]|0,zi[608]=L,((L|0)==-1?(f=$e()|0,zi[608]=f,zi[r>>2]=f,(zi[3552]|0)!=0):0)&&(zi[d>>2]=f,zi[d+4>>2]=e,wo(5232,d|0)|0),zi[3532]|0&&er(zi[608]|0)):zi[608]=0,zi[730]|0&&(nt(0,zi[210]|0,-1,zi[714]|0,0,0),zi[720]=36,zi[722]=80,zi[146]=48,zi[148]=75,r=$e()|0,zi[721]=r,zi[2992+(r<<2)>>2]=1,zi[3552]|0&&(zi[h>>2]=r,wo(5272,h|0)|0),r=$e()|0,zi[147]=r,zi[3552]|0&&(zi[b>>2]=r,wo(5312,b|0)|0),((zi[3532]|0)!=0?(er(zi[721]|0),(zi[3532]|0)!=0):0)&&er(zi[147]|0)),zi[732]|0&&(zi[724]=0,nt(0,zi[346]|0,-1,0,0,0)),zi[746]|0&&(zi[11]=0,r=$e()|0,zi[10]=r,zi[3552]|0&&(zi[_>>2]=r,wo(5360,_|0)|0),zi[3532]|0&&er(zi[10]|0)),zi[1030]=0,zi[944]=0,zi[1014]=-1,zi[852]=0,zi[848]=0,zi[1026]=0,zi[1024]=0,a=3552,n=a+104|0;do zi[a>>2]=0,a=a+4|0;while((a|0)<(n|0));a=3992,n=a+64|0;do zi[a>>2]=0,a=a+4|0;while((a|0)<(n|0));zi[982]=8192,zi[983]=8192,zi[984]=8192,zi[985]=8192,zi[986]=8192,zi[987]=8192,zi[988]=8192,zi[989]=8192,zi[990]=8192,zi[991]=8192,zi[992]=8192,zi[993]=8192,zi[994]=8192,zi[995]=8192,zi[996]=8192,zi[997]=8192,zi[3552]|0&&(zi[k>>2]=H,zi[k+4>>2]=e,wo(5392,k|0)|0,zi[742]|0&&wo(5424,m|0)|0,zi[740]|0&&wo(5440,p|0)|0,zi[730]|0&&wo(5456,E|0)|0,zi[732]|0&&wo(5472,w|0)|0,zi[746]|0&&wo(5488,S|0)|0,zi[744]|0&&wo(5504,v|0)|0,lo(10)|0),t=zi[3802]|0;e:do if((H|0)!=1&(zi[3742]|0)!=0&(t|0)>0){r=0;do{for(o=zi[3776]|0,n=zi[3764]|0;;){if(i=zi[o+(r<<2)>>2]|0,(i|0)==40){if((zi[n+(r<<2)>>2]|0)==(H|0))break e}else if((i|0)==12)break;if(r=r+1|0,(r|0)>=(t|0))break e}r=(rr(e,H,r)|0)+1|0,t=zi[3802]|0}while((r|0)<(t|0))}else r=0;while(0);if(zi[826]=0,zi[130]=0,zi[136]=1,zi[828]=0,zi[830]=1,(r|0)<(t|0)){for(I=(H|0)==1,B=I&1^1,I^=1,T=(l|0)==0,D=(e|0)<2,P=Z+1|0,C=J+1|0,L=X+1|0,M=(c|0)==0,O=Z+2|0,A=Z+3|0,R=Y+1|0,N=Y+2|0,F=r,S=r,g=0,_=zi[832]|0,d=zi[834]|0,h=zi[608]|0,k=zi[2602]|0,m=0,t=0,p=0,v=0,b=0,y=2,r=1,E=0;;){(zi[3552]|0)>4&&(a=zi[216+(zi[(zi[3776]|0)+(S<<2)>>2]<<2)>>2]|0,n=zi[(zi[3764]|0)+(S<<2)>>2]|0,f=zi[(zi[3766]|0)+(S<<2)>>2]|0,w=zi[(zi[3768]|0)+(S<<2)>>2]|0,zi[ue>>2]=S,zi[ue+4>>2]=a,zi[ue+8>>2]=n,zi[ue+12>>2]=f,zi[ue+16>>2]=w,wo(5520,ue|0)|0),zi[2428]=zi[(zi[3780]|0)+(S<<2)>>2],o=zi[3776]|0;e:do switch(zi[o+(S<<2)>>2]|0){case 29:zi[6]=(zi[6]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]|0),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 28:zi[834]=zi[(zi[3764]|0)+(S<<2)>>2],o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 30:zi[6]=zi[(zi[3764]|0)+(S<<2)>>2],o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 22:o=S,n=_,a=g,i=F,l=v,c=y,f=1;break;case 35:if(w=zi[(zi[3766]|0)+(S<<2)>>2]|0,zi[32]=w,zi[34]=zi[(zi[3768]|0)+(S<<2)>>2],(w|0)>0){zi[30]=1,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[30]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e;case 67:if(!U){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2]|0,hr(zi[728]|0,2,o,wi(o|0)|0)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 23:o=S,n=_,a=g,i=F,l=v,c=y,f=0;break;case 36:if(w=zi[(zi[3766]|0)+(S<<2)>>2]|0,zi[38]=w,zi[40]=zi[(zi[3768]|0)+(S<<2)>>2],(w|0)>0){zi[30]=0,zi[36]=1,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[36]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e;case 71:if(!((zi[742]|0)==1?(zi[(zi[3764]|0)+(S<<2)>>2]|0)==0:0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}n=zi[(zi[3766]|0)+(S<<2)>>2]|0,o=(zi[(zi[3768]|0)+(S<<2)>>2]|0)+1|0,xi[Z>>0]=110,xi[P>>0]=n>>>14&127,dr(0,176,0,Z,2)|0,xi[Z>>0]=111,xi[P>>0]=n>>>7&127,dr(0,176,0,Z,2)|0,xi[Z>>0]=112,xi[P>>0]=n&127,dr(0,176,0,Z,2)|0,xi[Z>>0]=113,xi[P>>0]=o>>>7&127,dr(0,176,0,Z,2)|0,xi[Z>>0]=114,xi[P>>0]=o&127,dr(0,176,0,Z,2)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 72:xi[Z>>0]=64,xi[P>>0]=127,o=zi[608]|0,(o|0)>15?s(4376):dr(0,176,o,Z,2)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 14:if(M){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[4412]=zi[(zi[3764]|0)+(S<<2)>>2],l=zi[(zi[3766]|0)+(S<<2)>>2]|0,a=zi[(zi[3768]|0)+(S<<2)>>2]|0,zi[4402]=l,zi[4404]=a,zi[4406]=l,zi[4408]=a,zi[348]=l;do{if((l|0)%3|0){if(l&1){zi[350]=l;break}zi[350]=2;break}zi[350]=3}while(0);if((a|0)<=4?(zi[134]=1,zi[132]=4/(a|0)|0,(a|0)>1?(o=0,i=a,x=491):o=0):(zi[134]=(a|0)/4|0,zi[132]=1,o=0,i=a,x=491),(x|0)==491){for(;;){if(x=0,o=o+1|0,!((i|0)>3))break;i=(i|0)/2|0,x=491}o&=255}xi[Z>>0]=l,xi[P>>0]=o,xi[O>>0]=(to((l&1|0)==0?48:24,l)|0)/(a|0)|0,xi[A>>0]=8,hr(0,88,Z,4)|0,ne(),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 13:if(!(zi[744]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}if(xi[Y>>0]=zi[(zi[3766]|0)+(S<<2)>>2],w=zi[(zi[3768]|0)+(S<<2)>>2]|0,xi[R>>0]=w>>>8,xi[N>>0]=w,(zi[3620]|0)==1){hr(zi[728]|0,81,Y,3)|0,zi[728]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}hr(zi[738]|0,81,Y,3)|0,zi[736]=(zi[738]|0)+(zi[736]|0),zi[738]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e;case 27:zi[608]=zi[(zi[3764]|0)+(S<<2)>>2],o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 15:if(M){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=zi[(zi[3768]|0)+(S<<2)>>2]|0,xi[X>>0]=zi[(zi[3764]|0)+(S<<2)>>2],xi[L>>0]=o,hr(0,89,X,2)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 9:zi[848]=0;do if(zi[4412]|0){if(v=(zi[130]|0)>=(to(zi[136]|0,zi[348]|0)|0),!(v|(zi[826]|0)<1))break;ar(r)}while(0);if((r|0)>1){o=S,k=zi[2602]|0,h=zi[608]|0,d=zi[834]|0,n=zi[832]|0,a=zi[826]|0,i=S,t=1,l=0,c=2,r=1,f=E;break e}if(t){zi[826]=g,zi[832]=_,zi[834]=d,zi[608]=h,zi[2602]=k,o=F,n=_,a=g,i=F,l=0,c=y,r=r+1|0,f=0;break e}s(5880),o=S,k=zi[2602]|0,h=zi[608]|0,d=zi[834]|0,n=zi[832]|0,a=zi[826]|0,i=S,t=1,l=0,c=y,r=1,f=E;break e;case 47:if(!(zi[746]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}Xe(),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 44:if(!(zi[732]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[726]=1,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 52:w=zi[742]|0,zi[ae>>2]=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2],Or(ae),Vr(W,ae,40),Or(ae),(zi[3552]|0)>1&&(zi[he>>2]=zi[734],zi[he+4>>2]=W,wo(5904,he|0)|0);do if(ni(W,5944)|0)o=0;else{if(Or(ae),i=Nr(ae)|0,(i|0)<1|(zi[3620]|0)!=1&(zi[734]|0)==0){o=1;break}if(n=(i|0)>9?9:i,f=zi[608]|0,o=zi[3992+(f<<2)>>2]|0,zi[838]=f,(zi[3552]|0)>1&&(zi[be>>2]=n,wo(5968,be|0)|0),(n|0)>=1){a=o&255,l=(i|0)<9?i+1|0:10,i=1;do o=$e()|0,zi[3352+(i<<2)>>2]=o,xi[ye>>0]=a,(o|0)>15?s(4376):dr(zi[728]|0,192,o,ye,1)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,i=i+1|0;while((i|0)!=(l|0))}zi[8]=n,o=1}while(0);do if(!(ni(W,36392)|0)){if(Or(ae),i=Nr(ae)|0,o=zi[608]|0,Or(ae),((xi[zi[ae>>2]>>0]|0)+-48&255)<10&&(o=i+-1|0,i=Nr(ae)|0),!w){o=1;break}zi[3992+(o<<2)>>2]=i,xi[ye>>0]=i,(o|0)>15?s(4376):dr(zi[728]|0,192,o,ye,1)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=1}while(0);ni(W,6e3)|0||(Be(zi[ae>>2]|0),o=1),ni(W,34576)|0||(Ie(zi[ae>>2]|0),o=1),ni(W,6008)|0||(o=Nr(ae)|0,o=(o+-1|0)>>>0>9?1:o,zi[342]=o,zi[768]=o+-1,o=1),ni(W,6024)|0||(o=Nr(ae)|0,o=(o+-1|0)>>>0>9?1:o,zi[206]=o,zi[770]=o+-1,o=1);do if(!(ni(W,6040)|0)){if(o=Nr(ae)|0,!(zi[730]|0)){o=1;break}if(i=zi[147]|0,xi[ye>>0]=o,(i|0)>15?s(4376):dr(zi[728]|0,192,i,ye,1)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=yt(zi[ae>>2]|0,6056)|0,zi[ae>>2]=o,!o){o=1;break}f=o+7|0,zi[ae>>2]=f,zi[ke>>2]=ie,f=(Et(f,27480,ke)|0)==1,o=zi[ie>>2]|0,f&(o+2|0)>>>0<5?(o=(o*12|0)+48|0,zi[146]=o):o=zi[146]|0,zi[me>>2]=o,wo(6064,me|0)|0,o=1}while(0);do if(!(ni(W,6088)|0)){if(o=Nr(ae)|0,!(zi[730]|0)){o=1;break}if(i=zi[721]|0,xi[ye>>0]=o,(i|0)>15?s(4376):dr(zi[728]|0,192,i,ye,1)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=yt(zi[ae>>2]|0,6056)|0,zi[ae>>2]=o,!o){o=1;break}f=o+7|0,zi[ae>>2]=f,zi[pe>>2]=oe,f=(Et(f,27480,pe)|0)==1,o=zi[oe>>2]|0,f&(o+2|0)>>>0<5?(o=(o*12|0)+36|0,zi[720]=o):o=zi[720]|0,zi[Ee>>2]=o,wo(6104,Ee|0)|0,o=1}while(0);ni(W,6120)|0||(zi[148]=Nr(ae)|0,o=1),ni(W,6136)|0||(zi[722]=Nr(ae)|0,o=1),ni(W,6144)|0||(zi[48]=0,zi[46]=0,Or(ae),zi[46]=Tr(ae)|0,Or(ae),zi[48]=Tr(ae)|0,zi[52]=1,o=1);do if(!(ni(W,6160)|0)){for(i=0;;){if(zi[3088+(i<<2)>>2]=Tr(ae)|0,Or(ae),o=i+1|0,(o|0)<50?(xi[zi[ae>>2]>>0]|0)==0:!0)break;i=o}if(zi[822]=o,i){zi[52]=2,o=1;break}zi[52]=3,o=1;break}while(0);do if(!(ni(W,6176)|0)){if(Or(ae),o=Nr(ae)|0,(o|0)>0&&(zi[12]=o),Or(ae),o=Nr(ae)|0,(o|0)>0&&(zi[13]=o),Or(ae),o=Nr(ae)|0,(o|0)>0&&(zi[15]=o),Or(ae),o=Nr(ae)|0,(o|0)>0&&(zi[14]=o),Or(ae),o=Nr(ae)|0,(o|0)>0&&(zi[16]=o),(zi[12]|0)>127&&s(6184),(zi[13]|0)>127&&s(6224),(zi[14]|0)>127&&s(6264),(zi[15]|0)>127&&s(6224),(zi[16]|0)<=127){o=1;break}s(6264),o=1}while(0);do if(!(ni(W,6304)|0)){if(Or(ae),zi[946]=Nr(ae)|0,Or(ae),zi[948]=Nr(ae)|0,Or(ae),zi[950]=Nr(ae)|0,Or(ae),f=Nr(ae)|0,zi[350]=f,f){o=1;break}zi[350]=zi[348],o=1}while(0);do if(!(ni(W,6312)|0)){if(Or(ae),i=Tr(ae)|0,zi[4]=i,o=(zi[946]|0)+i|0,zi[946]=o,a=(zi[948]|0)+i|0,zi[948]=a,i=(zi[950]|0)+i|0,zi[950]=i,(o|0)>127&&(zi[946]=127,o=127),(a|0)>127&&(zi[948]=127,a=127),(i|0)>127&&(zi[950]=127,i=127),(o|0)<0&&(zi[946]=0),(a|0)<0&&(zi[948]=0),(i|0)>=0){o=1;break}zi[950]=0,o=1}while(0);if(!(ni(W,6320)|0)){Or(ae),a=zi[ae>>2]|0,o=0;do{if(i=xi[a>>0]|0,!(ti(6336,i<<24>>24,7)|0))break;xi[3816+o>>0]=i,o=o+1|0,a=a+1|0,zi[ae>>2]=a}while((o|0)<99);xi[3816+o>>0]=0,xi[3816]|0||s(6344),zi[980]=wi(3816)|0,o=1}do if(!(ni(W,6392)|0)){f=fr(q,zi[ae>>2]|0)|0,zi[ae>>2]=f;r:do if(((xi[f>>0]|0)+-48&255)<10){o=0;do if(i=Nr(ae)|0,(i|0)>127&&(s(6400),i=0),xi[G+o>>0]=i,o=o+1|0,Or(ae),(o|0)>=20)break r;while(((xi[zi[ae>>2]>>0]|0)+-48&255)<10)}else o=0;while(0);if(i=zi[q>>2]|0,(i|0)>15){s(4376),o=1;break}dr(0,176,i,G,o)|0,o=1;break}while(0);ni(W,6440)|0||(zi[952]=1,zi[44]=0,o=1),ni(W,6456)|0||(zi[952]=0,o=1);do if(!(ni(W,6472)|0)){if(zi[ae>>2]=fr(V,zi[ae>>2]|0)|0,xi[Z>>0]=65,xi[P>>0]=127,i=zi[V>>2]|0,a=(i|0)>15,a?s(4376):dr(0,176,i,Z,2)|0,xi[Z>>0]=5,o=Nr(ae)|0,(o|0)>63&&(s(6488),o=0),xi[P>>0]=o,a){s(4376),o=1;break}dr(0,176,i,Z,2)|0,o=1;break}while(0);do if(!(ni(W,6528)|0)){if(zi[ae>>2]=fr(j,zi[ae>>2]|0)|0,xi[J>>0]=65,xi[C>>0]=0,o=zi[j>>2]|0,(o|0)>15){s(4376),o=1;break}dr(0,176,o,J,2)|0,o=1;break}while(0);do if(!(ni(W,35840)|0)){f=fr(z,zi[ae>>2]|0)|0,zi[ae>>2]=f,xi[X>>0]=0,xi[L>>0]=0;do if(((xi[f>>0]|0)+-48&255)<10){if(o=Nr(ae)|0,(o|0)>255&&(s(6544),o=0),xi[X>>0]=o,Or(ae),((xi[zi[ae>>2]>>0]|0)+-48&255)>=10)break;o=Nr(ae)|0,(o|0)>255&&(s(6544),o=0),xi[L>>0]=o,Or(ae)}while(0);if(!w){o=1;break}o=zi[z>>2]|0,(o|0)>15?s(4376):dr(0,224,o,X,2)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0,o=1}while(0);if(ni(W,6584)|0||(o=Nr(ae)|0,f=zi[ae>>2]|0,zi[we>>2]=$,Et(f,27616,we)|0,kr(o,+Vi[$>>2]),o=1),ni(W,6592)|0||(o=Nr(ae)|0,zi[24]=o,zi[20]=o,o=1),ni(W,6608)|0||(o=Nr(ae)|0,zi[26]=o,zi[22]=o,o=1),!(ni(W,6632)|0)){l=zi[ae>>2]|0,a=xi[l>>0]|0,o=a<<24>>24;do if((o|0)==95){if(o=l+1|0,zi[ae>>2]=o,(xi[o>>0]|0)!=95){f=1;break}o=l+2|0,zi[ae>>2]=o,f=2}else if((o|0)==94){if(o=l+1|0,zi[ae>>2]=o,(xi[o>>0]|0)!=94){f=1;break}o=l+2|0,zi[ae>>2]=o,f=2}else{if((o|0)==61){if(o=l+1|0,zi[ae>>2]=o,i=xi[o>>0]|0,i<<24>>24==94){o=l+2|0,zi[ae>>2]=o,a=94,f=1;break}if(i<<24>>24==95){o=l+2|0,zi[ae>>2]=o,a=95,f=1;break}f=1;break}o=l,a=32,f=1}while(0);c=xi[o>>0]|0,n=c<<24>>24;r:do if((c+-97&255)<7)for(o=o+1|0,zi[ae>>2]=o,l=1;;){if(i=xi[o>>0]|0,i<<24>>24==39){if(l=l+1|0,o=o+1|0,zi[ae>>2]=o,(xi[o>>0]|0)!=44)continue}else if(i<<24>>24!=44){o=c;break r}zi[Se>>2]=n,Jt(ye,11336,Se)|0,s(ye),o=(zi[ae>>2]|0)+1|0,zi[ae>>2]=o,l=l+-1|0}else{if((c+-65&255)>=7){o=32,l=0;break}for(n=n+32|0,o=o+1|0,zi[ae>>2]=o,c=(n<<24>>24)+-32|0,l=0;;){if(i=xi[o>>0]|0,i<<24>>24==44){if(l=l+-1|0,o=o+1|0,zi[ae>>2]=o,(xi[o>>0]|0)!=39)continue}else if(i<<24>>24!=39)break;zi[ve>>2]=c,Jt(ye,11376,ve)|0,s(ye),o=(zi[ae>>2]|0)+1|0,zi[ae>>2]=o,l=l+1|0}o=n&255}while(0);o=(ti(33904,o<<24>>24,8)|0)-33904|0;do if(o>>>0>6)s(6640);else{if(o=(a<<24>>24==94?f|60:60)+(a<<24>>24==95?0-f|0:0)+(l*12|0)+(zi[33912+(o<<2)>>2]|0)|0,Or(ae),i=Nr(ae)|0,!i){s(6696);break}(i+-35|0)>>>0>46&&u(6760),zi[1408+(o<<2)>>2]=i}while(0);o=1}ni(W,35768)|0||(Or(ae),Si(Q|0,zi[ae>>2]|0,250)|0,zi[3552]|0&&(zi[_e>>2]=Q,wo(35784,_e|0)|0),(ze(Q)|0)==-1&&qe(Q),Ve(),o=zi[3760]|0,zi[44]=o>>>0>1?o:1,o=1);do if(ni(W,35744)|0){if(o)break;zi[ge>>2]=W,Jt(ye,6888,ge)|0,s(ye)}else{if(zi[3530]|0)break;ho(6824)|0}while(0);((zi[740]|0)+w+(zi[730]|0)+(zi[732]|0)|0)==(0-(zi[746]|0)|0)&&(zi[728]=0),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 37:if(n=zi[(zi[3764]|0)+(S<<2)>>2]|0,zi[144]=n,o=zi[(zi[3766]|0)+(S<<2)>>2]|0,zi[140]=o,f=zi[(zi[3768]|0)+(S<<2)>>2]|0,zi[142]=f,zi[716]=1,zi[138]=0,c=zi[26992+(f<<2)>>2]|0,(o|0)==-1)l=0;else{if((c|0)<=0){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=(o|0)%12|0,l=0,i=0;do l=(((zi[23792+(f*40|0)+(i<<2)>>2]|0)+n|0)%12|0|0)==(o|0)?i:l,i=i+1|0;while((i|0)!=(c|0))}if((c|0)<=0){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=zi[146]|0,i=(c|0)>1,a=0;do w=(zi[23792+(f*40|0)+(a<<2)>>2]|0)+n|0,zi[600+(a<<2)>>2]=((a|0)<(l|0)?w+12|0:w)+o,a=a+1|0;while((a|0)!=(c|0));zi[138]=i?c:1,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 46:if(!(zi[746]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}Ke(),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 45:zi[726]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 69:zi[20]=(zi[24]|0)*3,zi[22]=(zi[26]|0)*3,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 39:zi[718]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 32:o=S,n=_,a=g,i=F,p=0,l=v,c=y,f=E;break;case 38:if(!(zi[730]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[718]=1,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 31:o=S,n=_,a=g,i=F,p=1,l=v,c=y,f=E;break;case 18:zi[836]=0,zi[740]|0&&tr(),i=zi[8]|0,(i|0)>0&&(zi[608]=zi[838]);do if(zi[742]|0){do if(b){if(w=zi[18]|0,o=w+1|0,zi[18]=o,(w|0)<=0)break;if(n=zi[22]|0,(n|0)>0&&(zi[20]=~~(+(n|0)*+(Wt()|0)*4.656612873077393e-10),i=zi[8]|0,o=zi[18]|0),w=zi[20]|0,zi[728]=(zi[728]|0)+w,zi[28]=(zi[28]|0)+w,(o|0)>(i+1|0))break;zi[608]=zi[3352+(o+-1<<2)>>2]}while(0);if(ir(S),(zi[608]|0)==9){nt(zi[(zi[3766]|0)+(S<<2)>>2]|0,zi[(zi[3768]|0)+(S<<2)>>2]|0,zi[1408+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2]|0,9,0,~zi[28]);break}do if((zi[18]|0)>1){if(a=zi[te>>2]|0,i=zi[3768]|0,n=zi[i+(S<<2)>>2]|0,w=to(n,a)|0,f=zi[re>>2]|0,o=zi[3766]|0,l=zi[o+(S<<2)>>2]|0,(w|0)==(to(l,f)|0))break;zi[le>>2]=a,zi[le+4>>2]=f,zi[le+8>>2]=l,zi[le+12>>2]=n,Jt(ye,5536,le)|0,zi[3538]|0||u(ye),o=zi[3766]|0,zi[o+(S<<2)>>2]=zi[te>>2],i=zi[3768]|0,zi[i+(S<<2)>>2]=zi[re>>2]}else o=zi[3766]|0,i=zi[3768]|0;while(0);if(l=zi[o+(S<<2)>>2]|0,zi[te>>2]=l,o=zi[i+(S<<2)>>2]|0,zi[re>>2]=o,a=E?(zi[(zi[3776]|0)+(S+2<<2)>>2]|0)==23?0:E:0,(a|p|0)!=0|(zi[30]|0)==0){if(zi[36]|0){zi[se>>2]=l,zi[fe>>2]=o,K(se,fe,zi[38]|0,zi[40]|0),nt(zi[se>>2]|0,zi[fe>>2]|0,(zi[834]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]|0)+(zi[6]|0)|0,zi[608]|0,m,~zi[28]),E=a;break}nt(l,o,(zi[834]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]|0)+(zi[6]|0)|0,zi[608]|0,m,~zi[28]),E=a;break}zi[se>>2]=l,zi[fe>>2]=o,i=zi[32]|0,n=zi[34]|0,(to(n,l)|0)>(to(i,o)|0)?(K(se,fe,0-i|0,n),i=zi[se>>2]|0,o=zi[fe>>2]|0):i=l,nt(i,o,(zi[834]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]|0)+(zi[6]|0)|0,zi[608]|0,m,~zi[28]),E=a;break}while(0);if(b){o=S,n=_,a=g,i=F,m=0,l=v,c=y,f=E;break e}if(c=zi[(zi[3768]|0)+(S<<2)>>2]|0,m=to(zi[832]|0,zi[(zi[3766]|0)+(S<<2)>>2]|0)|0,f=(m|0)/(c|0)|0,o=to(zi[828]|0,c)|0,w=zi[830]|0,o=(to(w,(m|0)%(c|0)|0)|0)+o|0,zi[828]=o,c=to(w,c)|0,zi[830]=c,(o|0)<0?(o=0-o|0,zi[828]=o,l=-1):l=1,i=(o|0)>(c|0),a=i?o:c,i=i?c:o)for(;;){if(n=(a|0)%(i|0)|0,!n)break;a=i,i=n}else i=a;if(m=to((o|0)/(i|0)|0,l)|0,w=(c|0)/(i|0)|0,zi[830]=w,zi[828]=(m|0)%(w|0)|0,st(((m|0)/(w|0)|0)+f|0,0),w=zi[(zi[3768]|0)+(S<<2)>>2]|0,m=zi[132]|0,o=to(to(zi[130]|0,w)|0,m)|0,b=to(zi[134]|0,zi[(zi[3766]|0)+(S<<2)>>2]|0)|0,a=zi[136]|0,o=(to(b,a)|0)+o|0,zi[130]=o,a=to(to(m,w)|0,a)|0,zi[136]=a,(o|0)<0?(o=0-o|0,zi[130]=o,l=-1):l=1,i=(o|0)>(a|0),n=i?o:a,i=i?a:o)for(;;){if(n=(n|0)%(i|0)|0,!n)break;w=i,i=n,n=w}else i=n;zi[130]=to((o|0)/(i|0)|0,l)|0,zi[136]=(a|0)/(i|0)|0,zi[18]=0,zi[28]=0,o=S,n=_,a=g,i=F,m=0,l=v,b=0,c=y,f=E;break;case 49:if(zi[836]=1,zi[740]|0&&(tr(),zi[848]=0,tr()),!(zi[742]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}if(ir(S),o=zi[608]|0,i=zi[(zi[3766]|0)+(S<<2)>>2]|0,n=zi[(zi[3768]|0)+(S<<2)>>2]|0,a=zi[(zi[3764]|0)+(S<<2)>>2]|0,(o|0)==9){nt(i,n,zi[1408+(a<<2)>>2]|0,9,0,~zi[28]),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}nt(i,n,(zi[834]|0)+a+(zi[6]|0)|0,o,0,~zi[28]),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e;case 54:if(!(zi[740]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[850]=S,zi[852]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 53:zi[2602]=zi[(zi[3764]|0)+(S<<2)>>2],o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 20:if(!(zi[740]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}tr(),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 41:o=S,n=_,a=g,i=F,l=v,b=1,c=y,f=E;break;case 16:if(b){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}if(n=zi[(zi[3768]|0)+(S<<2)>>2]|0,b=to(zi[832]|0,zi[(zi[3766]|0)+(S<<2)>>2]|0)|0,c=(b|0)/(n|0)|0,o=to(zi[828]|0,n)|0,w=zi[830]|0,o=(to(w,(b|0)%(n|0)|0)|0)+o|0,zi[828]=o,n=to(w,n)|0,zi[830]=n,(o|0)<0?(o=0-o|0,zi[828]=o,l=-1):l=1,i=(o|0)>(n|0),a=i?o:n,i=i?n:o)for(;;){if(a=(a|0)%(i|0)|0,!a)break;w=i,i=a,a=w}else i=a;if(b=to((o|0)/(i|0)|0,l)|0,w=(n|0)/(i|0)|0,zi[830]=w,zi[828]=(b|0)%(w|0)|0,st(((b|0)/(w|0)|0)+c|0,0),w=zi[(zi[3768]|0)+(S<<2)>>2]|0,b=zi[132]|0,o=to(to(zi[130]|0,w)|0,b)|0,f=to(zi[134]|0,zi[(zi[3766]|0)+(S<<2)>>2]|0)|0,c=zi[136]|0,o=(to(f,c)|0)+o|0,zi[130]=o,c=to(to(b,w)|0,c)|0,zi[136]=c,(o|0)<0?(o=0-o|0,zi[130]=o,l=-1):l=1,i=(o|0)>(c|0),a=i?o:c,i=i?c:o)for(;;){if(a=(a|0)%(i|0)|0,!a)break;w=i,i=a,a=w}else i=a;zi[130]=to((o|0)/(i|0)|0,l)|0,zi[136]=(c|0)/(i|0)|0,o=S,n=_,a=g,i=F,l=v,b=0,c=y,f=E;break;case 43:case 42:if(zi[740]|0&&tr(),n=zi[(zi[3768]|0)+(S<<2)>>2]|0,b=to(zi[832]|0,zi[(zi[3766]|0)+(S<<2)>>2]|0)|0,c=(b|0)/(n|0)|0,o=to(zi[828]|0,n)|0,w=zi[830]|0,o=(to(w,(b|0)%(n|0)|0)|0)+o|0,zi[828]=o,n=to(w,n)|0,zi[830]=n,(o|0)<0?(o=0-o|0,zi[828]=o,l=-1):l=1,i=(o|0)>(n|0),a=i?o:n,i=i?n:o)for(;;){if(a=(a|0)%(i|0)|0,!a)break;w=i,i=a,a=w}else i=a;if(f=to((o|0)/(i|0)|0,l)|0,n=(n|0)/(i|0)|0,zi[830]=n,zi[828]=(f|0)%(n|0)|0,st(((f|0)/(n|0)|0)+c|0,0),zi[28]=0,zi[18]=0,zi[20]=zi[24],zi[22]=zi[26],n=zi[(zi[3766]|0)+(S<<2)>>2]|0,zi[te>>2]=n,f=zi[(zi[3768]|0)+(S<<2)>>2]|0,zi[re>>2]=f,w=zi[132]|0,o=to(to(zi[130]|0,f)|0,w)|0,b=to(zi[134]|0,n)|0,a=zi[136]|0,o=(to(b,a)|0)+o|0,zi[130]=o,a=to(to(w,f)|0,a)|0,zi[136]=a,(o|0)<0?(o=0-o|0,zi[130]=o,c=-1):c=1,i=(o|0)>(a|0),l=i?o:a,i=i?a:o)for(;;){if(l=(l|0)%(i|0)|0,!l)break;w=i,i=l,l=w}else i=l;if(zi[130]=to((o|0)/(i|0)|0,c)|0,zi[136]=(a|0)/(i|0)|0,!(zi[30]|0)){o=S,n=_,a=g,i=F,l=v,b=0,c=y,f=E;break e}if(o=zi[32]|0,i=zi[34]|0,(to(i,n)|0)<=(to(o,f)|0)){o=S,n=_,a=g,i=F,l=v,b=0,c=y,f=E;break e}K(te,re,0-o|0,i),o=S,n=_,a=g,i=F,l=v,b=0,c=y,f=E;break;case 55:if(!(zi[740]|0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}for(;;)if(o=or(zi[1016]|0)|0,(o|0)>0)zi[1024]=(zi[1024]|0)+o;else{if(o=nr(zi[1014]|0)|0,zi[1014]=o,(o|0)==-1)break;zi[1016]=zi[(zi[3764]|0)+(o<<2)>>2]}o=zi[1024]|0,(zi[836]|0)==1&&(o=o+1|0,zi[1024]=o),i=zi[1026]|0;do if((o|0)!=(i|0)){if(zi[ce>>2]=(zi[944]|0)+1,zi[ce+4>>2]=i,zi[ce+8>>2]=o,Jt(ye,5584,ce)|0,!(zi[3552]|0))break;s(ye)}while(0);(zi[836]|0)==1&&(zi[836]=0,zi[1028]=0),zi[1024]=0,zi[1026]=0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 40:i=zi[3802]|0;r:do if((i|0)>(S|0))for(c=o,o=S;;){for(l=zi[3764]|0;;){if(a=zi[c+(o<<2)>>2]|0,(a|0)==12)break;if((a|0)==40?(zi[l+(o<<2)>>2]|0)==(H|0):0)break r;if(o=o+1|0,(o|0)>=(i|0))break r}if(o=(rr(e,H,o)|0)+B|0,i=zi[3802]|0,!((o|0)<(i|0)&I))break r;c=zi[3776]|0}else o=S;while(0);if(!(zi[740]|0)){n=_,a=g,i=F,l=v,c=y,f=E;break e}zi[850]=o+1,zi[852]=0,n=_,a=g,i=F,l=v,c=y,f=E;break;case 12:if(o=rr(e,H,S)|0,(zi[854]|0)!=-1){n=_,a=g,i=F,l=0,c=y,f=E;break e}xi[ee>>0]=zi[(zi[3764]|0)+(o<<2)>>2],hr(0,6,ee,1)|0,n=_,a=g,i=F,l=0,c=y,f=E;break;case 3:zi[848]=0;do if(zi[4412]|0){if(v=(zi[130]|0)>=(to(zi[136]|0,zi[348]|0)|0),!(v|(zi[826]|0)<1))break;ar(r)}while(0);if((r|0)!=1){if((r|0)>=(y|0)){o=S,n=_,a=g,i=F,l=0,c=y,f=E;break e}zi[826]=g,zi[832]=_,zi[834]=d,zi[608]=h,zi[2602]=k,o=F,n=_,a=g,i=F,t=0,l=0,c=y,r=r+1|0,f=0;break e}if(t){zi[826]=g,zi[832]=_,zi[834]=d,zi[608]=h,zi[2602]=k,o=F,n=_,a=g,i=F,t=0,l=0,c=y,r=2,f=0;break e}s(5680),o=S,n=_,a=g,i=F,t=0,l=0,c=y,r=1,f=E;break e;case 26:if(!(D&(zi[3744]|0)==0)){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2]|0,hr(0,3,o,wi(o|0)|0)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 2:zi[848]=0;do if(zi[4412]|0){if(F=(zi[130]|0)>=(to(zi[136]|0,zi[348]|0)|0),!(F|(zi[826]|0)<1))break;ar(r)}while(0);(r|0)==1&(t|0)!=0&&s(5640),o=S,k=zi[2602]|0,h=zi[608]|0,d=zi[834]|0,n=zi[832]|0,a=zi[826]|0,i=S,t=1,l=0,c=2,r=1,f=E;break;case 21:if(T){o=S,n=_,a=g,i=F,l=v,c=y,f=E;break e}o=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2]|0,hr(0,1,o,wi(o|0)|0)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 4:v&&s(5704),(r|0)==-1|(r|0)<2&(t|0)==0?(s(5760),l=1):l=r,o=zi[(zi[3768]|0)+(S<<2)>>2]|0;r:do if(o)o=(o|0)==(l|0)&1,x=237;else{for(o=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2]|0,zi[ye>>2]=o;;){if(o=xi[o>>0]|0,!(o<<24>>24))break;if(((o<<24>>24)+-48|0)>>>0<10?o=0:(zi[de>>2]=zi[(zi[3792]|0)+(zi[(zi[3764]|0)+(S<<2)>>2]<<2)>>2],Jt(ae,5800,de)|0,s(ae),o=1),n=Nr(ye)|0,o=(n|0)==(l|0)?1:o,i=zi[ye>>2]|0,a=xi[i>>0]|0,a<<24>>24==45&&(zi[ye>>2]=i+1,x=(n|0)>(l|0)|(Nr(ye)|0)<(l|0),i=zi[ye>>2]|0,a=xi[i>>0]|0,o=x?o:1),a<<24>>24==44&&(i=i+1|0,zi[ye>>2]=i),o){x=237;break r}o=i}x=238}while(0);do if((x|0)==237){if(x=0,(o|0)!=1){x=238;break}o=S,l=1,c=(y|0)<4?r+1|0:y}while(0);do if((x|0)==238){x=0,n=S+1|0,i=zi[3776]|0,o=zi[3802]|0;r:do if((o|0)>(n|0)?(zi[i+(n<<2)>>2]|0)==40:0)for(;;){for(l=zi[3764]|0;;){if(a=zi[i+(n<<2)>>2]|0,(a|0)==40){if((zi[l+(n<<2)>>2]|0)==(H|0)){i=n;break r}}else if((a|0)==12){o=n;break}if(n=n+1|0,(n|0)>=(o|0)){i=n;break r}}if(n=(rr(e,H,o)|0)+B|0,o=zi[3802]|0,!((n|0)<(o|0)&I)){i=n;break r}i=zi[3776]|0}else i=n;while(0);r:do if((i|0)<(o|0))for(;;){switch(n=zi[3776]|0,zi[n+(i<<2)>>2]|0){case 4:case 11:case 10:case 1:case 12:case 2:case 3:break r}i=i+1|0;t:do if((o|0)>(i|0)?(zi[n+(i<<2)>>2]|0)==40:0)for(;;){for(l=zi[3764]|0;;){if(a=zi[n+(i<<2)>>2]|0,(a|0)==40){if((zi[l+(i<<2)>>2]|0)==(H|0))break t}else if((a|0)==12){o=i;break}if(i=i+1|0,(i|0)>=(o|0))break t}if(i=(rr(e,H,o)|0)+B|0,o=zi[3802]|0,!((i|0)<(o|0)&I))break t;n=zi[3776]|0}while(0);if((i|0)>=(o|0))break r}while(0);if(zi[826]=(zi[826]|0)+1,(i|0)==(o|0)){a=W,i=5824,n=a+51|0;do xi[a>>0]=xi[i>>0]|0,a=a+1|0,i=i+1|0;while((a|0)<(n|0));s(W),l=v,c=y;break}o=(((zi[(zi[3776]|0)+(i<<2)>>2]|0)==12)<<31>>31)+i|0,l=v,c=y;break}while(0);n=_,a=g,i=F,f=E;break;case 0:zi[848]=0,ar(r),o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;case 1:if(zi[848]=0,!(zi[4412]|0)){o=S,n=_,a=g,i=F,l=0,c=y,f=E;break e}if(v=(zi[130]|0)>=(to(zi[136]|0,zi[348]|0)|0),!(v|(zi[826]|0)<1)){o=S,n=_,a=g,i=F,l=0,c=y,f=E;break e}ar(r),o=S,n=_,a=g,i=F,l=0,c=y,f=E;break;case 74:o=S,n=_,a=g,i=F,m=zi[52]|0,l=v,c=y,f=E;break;case 73:xi[Z>>0]=64,xi[P>>0]=0,o=zi[608]|0,(o|0)>15?s(4376):dr(0,176,o,Z,2)|0,o=S,n=_,a=g,i=F,l=v,c=y,f=E;break;default:o=S,n=_,a=g,i=F,l=v,c=y,f=E}while(0);if(S=o+1|0,(S|0)>=(zi[3802]|0))break;F=i,g=a,_=n,v=l,y=c,E=f}(r|0)!=1|(t|0)==0|(zi[3538]|0)!=0||s(6928)}return ft(),r=zi[728]|0,t=r+(zi[736]|0)|0,zi[736]=t,e?(e|0)==1?(zi[856]=t,e=r,Wi=Me,e|0):(i=zi[856]|0,(t|0)==(i|0)?(e=r,Wi=Me,e|0):(zi[Fe>>2]=e,ji[Fe+8>>3]=+(t|0)/480,ji[Fe+16>>3]=+(i|0)/480,Jt(ye,6960,Fe)|0,u(ye),e=zi[728]|0,Wi=Me,e|0)):(e=r,Wi=Me,e|0)}function Qe(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0;if(n=Wi,Wi=Wi+48|0,o=n+8|0,i=n,(e|0)>(r|0))return void(Wi=n);for(;;){if(t=zi[(zi[3776]|0)+(e<<2)>>2]|0,t>>>0>73?(zi[i>>2]=e,zi[i+4>>2]=t,wo(7008,i|0)|0):(c=zi[216+(t<<2)>>2]|0,l=zi[(zi[3764]|0)+(e<<2)>>2]|0,u=zi[(zi[3772]|0)+(e<<2)>>2]|0,s=zi[(zi[3774]|0)+(e<<2)>>2]|0,f=zi[(zi[3766]|0)+(e<<2)>>2]|0,a=zi[(zi[3768]|0)+(e<<2)>>2]|0,t=zi[(zi[3780]|0)+(e<<2)>>2]|0,zi[o>>2]=e,zi[o+4>>2]=c,zi[o+8>>2]=l,zi[o+12>>2]=u,zi[o+16>>2]=s,zi[o+20>>2]=f,zi[o+24>>2]=a,zi[o+28>>2]=t,wo(7040,o|0)|0),!((e|0)<(r|0)))break;e=e+1|0}Wi=n}function $e(){var e=0;return zi[748]|0?zi[749]|0?zi[750]|0?zi[751]|0?zi[752]|0?zi[753]|0?zi[754]|0?zi[755]|0?zi[756]|0?zi[757]|0?zi[758]|0?zi[759]|0?zi[760]|0?zi[761]|0?zi[762]|0?zi[763]|0?zi[5784]|0?e=16:(s(8368),zi[5784]=1,e=0):e=15:e=14:e=13:e=12:e=11:e=10:e=9:e=8:e=7:e=6:e=5:e=4:e=3:e=2:e=1:e=0,zi[2992+(e<<2)>>2]=1,e|0}function er(e){e|=0;var r=0,t=0,i=0;return i=Wi,Wi=Wi+16|0,t=i,r=t+1|0,xi[t>>0]=101,xi[r>>0]=0,(e|0)>15?(s(4376),s(4376),s(4376),xi[t>>0]=38,xi[r>>0]=zi[3534]&127,s(4376),void(Wi=i)):(dr(0,176,e,t,2)|0,xi[t>>0]=100,xi[r>>0]=1,dr(0,176,e,t,2)|0,xi[t>>0]=6,xi[r>>0]=(zi[3534]|0)>>>7&127,dr(0,176,e,t,2)|0,xi[t>>0]=38,xi[r>>0]=zi[3534]&127,dr(0,176,e,t,2)|0,void(Wi=i))}function rr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0,u=0,l=0,c=0,d=0;if(d=Wi,Wi=Wi+160|0,c=d+48|0,u=d,n=d+24|0,o=d+40|0,l=d+60|0,zi[15232+(r<<2)>>2]|0)return c=t,Wi=d,c|0;if((e|0)>0){i=zi[860]|0,(i+1|0)>>>0>26&&(zi[o>>2]=i,wo(8176,o|0)|0,i=zi[860]|0),a=zi[728]|0,f=a+(zi[736]|0)|0,o=(e|0)==1;do if((i|0)==-1){if(o){zi[914]=f,i=f;break}if(i=zi[914]|0,!f){zi[728]=i+a;break}(f|0)==(i|0)?i=f:(zi[n>>2]=i,zi[n+4>>2]=r,zi[n+8>>2]=f,Jt(l,8224,n)|0,s(l),i=f)}else{if(e=zi[916]|0,n=f-e|0,o){zi[3672+(i<<2)>>2]=n,i=f;break}if(o=zi[3672+(i<<2)>>2]|0,(f|0)==(e|0)){zi[728]=o+a,i=o+f|0;break}(n|0)==(o|0)?i=f:(zi[u>>2]=e,zi[u+4>>2]=o+e,zi[u+8>>2]=r,zi[u+12>>2]=(i<<24)+1090519040>>24,zi[u+16>>2]=n,Jt(l,8264,u)|0,s(l),i=f)}while(0);zi[916]=i}i=zi[854]|0;do if((i|0)!=-1){t=(zi[858]|0)+1|0,zi[858]=t;e:do if((t|0)<(i|0)?(r=(xi[(zi[4390]|0)+t>>0]|0)+-65|0,zi[860]=r,(zi[3448+(r<<2)>>2]|0)==-1):0)for(;;){if(zi[3538]|0||(s(8312),t=zi[858]|0,i=zi[854]|0),t=t+1|0,zi[858]=t,(t|0)>=(i|0)){
o=t;break e}if(r=(xi[(zi[4390]|0)+t>>0]|0)+-65|0,zi[860]=r,(zi[3448+(r<<2)>>2]|0)!=-1){o=t;break}}else o=t;while(0);if((o|0)>=(i|0)){t=zi[3802]|0;break}t=zi[860]|0,r=3552+(t<<2)|0,f=zi[r>>2]|0,zi[944]=f,zi[r>>2]=f+1,t=zi[3448+(t<<2)>>2]|0,zi[3552]|0&&(zi[c>>2]=xi[(zi[4390]|0)+o>>0],zi[c+4>>2]=o,zi[c+8>>2]=i,wo(8336,c|0)|0)}while(0);return zi[860]=(zi[(zi[3764]|0)+(t<<2)>>2]|0)+-65,c=t,Wi=d,c|0}function tr(){var e=0,r=0;if(zi[1026]=(zi[1026]|0)+1,zi[848]|0)return void(zi[1024]=(zi[1024]|0)+1);if(!(zi[852]|0||((zi[1014]|0)==-1?(zi[1014]=nr(zi[850]|0)|0,(zi[852]|0)!=0):0))){e=zi[1022]|0;e:for(;;){do if(e)r=0;else{if(e=or(zi[1016]|0)|0,zi[1022]=e,r=(e|0)==0,zi[848]|0){if(r){r=10;break e}r=1;break}r?(r=nr(zi[1014]|0)|0,zi[1014]=r,e=zi[1022]|0,r=(r|0)==-1&1):r=0}while(0);if((e|0)>0){r=14;break}if(r){r=16;break}}return(r|0)==10?void(zi[1024]=(zi[1024]|0)+1):(r|0)==14?(zi[1022]=e+-1,void(zi[1024]=(zi[1024]|0)+1)):void 0}}function ir(e){e|=0;var r=0,t=0,i=0,o=0,n=0;n=Wi,Wi=Wi+16|0,o=n,zi[o>>2]=0,r=zi[44]|0;do{if(!r){if(!(zi[952]|0)){r=zi[948]|0,zi[o>>2]=r;break}if(i=zi[980]|0,r=zi[130]|0,(i|0)>0){if(r=to(r,i)|0,t=to(zi[348]|0,zi[136]|0)|0,(r|0)%(t|0)|0){r=zi[950]|0,zi[o>>2]=r;break}if(r=xi[3816+(((r|0)/(t|0)|0|0)%(i|0)|0)>>0]|0,(r|0)==70|(r|0)==102){r=zi[946]|0,zi[o>>2]=r;break}if((r|0)==77|(r|0)==109){r=zi[948]|0,zi[o>>2]=r;break}r=zi[950]|0,zi[o>>2]=r;break}if(!r){r=zi[946]|0,zi[o>>2]=r;break}if((zi[136]|0)==1?((r|0)%(zi[350]|0)|0|0)==0:0){r=zi[948]|0,zi[o>>2]=r;break}r=zi[950]|0,zi[o>>2]=r;break}(r|0)==2?(r=zi[(zi[3770]|0)+(e<<2)>>2]|0,zi[o>>2]=r):(Ue(e,o),r=zi[o>>2]|0)}while(0);do if(!r){if(!(zi[952]|0)){r=zi[948]|0,zi[o>>2]=r;break}if(i=zi[980]|0,r=zi[130]|0,(i|0)>0){if(r=to(r,i)|0,t=to(zi[348]|0,zi[136]|0)|0,(r|0)%(t|0)|0){r=zi[950]|0,zi[o>>2]=r;break}if(r=xi[3816+(((r|0)/(t|0)|0|0)%(i|0)|0)>>0]|0,(r|0)==77|(r|0)==109){r=zi[948]|0,zi[o>>2]=r;break}if((r|0)==70|(r|0)==102){r=zi[946]|0,zi[o>>2]=r;break}r=zi[950]|0,zi[o>>2]=r;break}if(!r){r=zi[946]|0,zi[o>>2]=r;break}if((zi[136]|0)==1?((r|0)%(zi[350]|0)|0|0)==0:0){r=zi[948]|0,zi[o>>2]=r;break}r=zi[950]|0,zi[o>>2]=r;break}while(0);return t=zi[608]|0,i=zi[(zi[3764]|0)+(e<<2)>>2]|0,(t|0)==9?(sr(i,zi[(zi[3772]|0)+(e<<2)>>2]|0,9,r),void(Wi=n)):(sr((zi[834]|0)+i+(zi[6]|0)|0,zi[(zi[3772]|0)+(e<<2)>>2]|0,t,r),void(Wi=n))}function or(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0;if(u=Wi,Wi=Wi+208|0,s=u,(zi[4384]|0)<=(e|0))return xi[s>>0]=0,f=0,Wi=u,f|0;for(t=zi[1020]|0,t?r=0:(xi[s>>0]=(e&1|0)==0?47:92,r=1),zi[824]|0&&(xi[s+r>>0]=32,r=r+1|0),i=zi[3794]|0,a=t,f=i,i=(zi[i+(e<<2)>>2]|0)+t|0,n=0,t=0;;){if(i=xi[i>>0]|0,(t|0)==2|(t|0)==4)break;o=s+r|0,xi[o>>0]=i;e:do if(n)i=a+1|0,zi[1020]=i,n=f,r=r+1|0,o=0;else switch(i&255|0){case 126:xi[o>>0]=32,i=a+1|0,zi[1020]=i,zi[1028]=0,n=f,r=r+1|0,o=0,t=1;break e;case 0:if(!t){n=f,i=a,o=0,t=4;break e}zi[824]=1,n=f,i=a,o=0,t=2;break e;case 42:t?t=a:(t=a+1|0,zi[1020]=t),zi[1028]=0,n=f,i=t,o=0,t=2;break e;case 45:if((zi[1028]|0)==1){i=a+1|0,zi[1020]=i,n=f,r=r+1|0,o=0,t=2;break e}i=a+1|0,zi[1020]=i,(t|0)==1&&(zi[824]=0,t=2),zi[1028]=1,n=f,o=0;break e;case 92:if(i=a+1|0,(xi[(zi[f+(e<<2)>>2]|0)+i>>0]|0)==45){xi[o>>0]=45,i=a+2|0,zi[1020]=i,n=f,r=r+1|0,o=0,t=1;break e}zi[1020]=i,a=(r|0)>0,n=f,r=(a&1)+r|0,o=0,t=a?1:t;break e;case 95:t?t=a:(t=a+1|0,zi[1020]=t),zi[1028]=0,n=f,i=t,o=0,t=2;break e;case 124:i=a+1|0,zi[1020]=i,t?(zi[824]=1,t=2):t=4,zi[848]=1,zi[1028]=0,n=f,o=0;break e;case 32:if(i=a+1|0,zi[1020]=i,!t){n=f,o=0,t=0;break e}zi[824]=1,n=f,o=0,t=2;break e;default:zi[1028]=0,i=(i&255)>160,o=i&1,((r|0)<=0?!(i|(ht(xi[s>>0]|0)|0)!=0):0)||(r=r+1|0,t=1),i=(zi[1020]|0)+1|0,zi[1020]=i,n=zi[3794]|0;break e}while(0);a=i,f=n,i=(zi[n+(e<<2)>>2]|0)+i|0,n=o}if(xi[s+r>>0]=0,(t|0)==4)return f=0,Wi=u,f|0;if(xi[s>>0]|0&&(f=zi[728]|0,hr(f,1,s,wi(s|0)|0)|0,zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0),(t+-3|0)>>>0<=1)return f=1,Wi=u,f|0;o=(t+-3|0)>>>0>1,r=1;e:for(;;){i=zi[(zi[3794]|0)+(e<<2)>>2]|0,t=zi[1020]|0;r:for(;;)switch(qi[i+t>>0]|0){case 124:if(zi[848]|0){i=53;break e}f=t+1|0,zi[1020]=f,zi[848]=1,t=f;continue r;case 95:i=51;break r;case 32:f=t+1|0,zi[1020]=f,t=f;continue r;case 9:f=t+1|0,zi[1020]=f,t=f;continue r;case 45:i=50;break r;default:i=53;break e}if((i|0)==50?(zi[1020]=t+1,zi[824]=0):(i|0)==51&&(zi[1020]=t+1),r=r+1|0,!o){i=53;break}}return(i|0)==53?(Wi=u,r|0):0}function nr(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0;if(zi[852]=0,d=zi[944]|0,b=zi[850]|0,h=(b|0)==(e|0),(b|0)==-1)return s(8032),k=-1,k|0;c=zi[3802]|0,b=h&1^1,l=d,i=h?0:d;e:for(;;){for(o=0,n=0,r=-1,t=e;;){a=zi[3776]|0,f=(i|0)==(l|0);r:for(;;){t:for(;;){if(t=t+1|0,!((o|0)==0&(t|0)<(c|0)))break e;switch(zi[a+(t<<2)>>2]|0){case 54:case 40:case 12:o=1,a=n;break r;case 56:break t;case 57:k=11;break r;default:o=0}}if(f){k=10;break}o=0,n=1}if((k|0)==10?(k=0,zi[1018]=t,zi[1016]=zi[(zi[3764]|0)+(t<<2)>>2],zi[1020]=0,o=1,a=1,r=t,i=l):(k|0)==11&&(k=0,o=b,a=0,i=((n|0)!=0&1)+i|0),h&((o|0)!=0&(r|0)==-1&(i|0)>0)){r=i;break}n=a}l=(d|0)%(r|0)|0,i=0}return(r|0)!=-1?(k=r,k|0):(zi[852]=1,zi[1024]|0?(k=-1,k|0):(u(8088),k=-1,k|0))}function ar(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0;if(s=Wi,Wi=Wi+112|0,a=s+24|0,n=s,i=s+8|0,f=s+32|0,(((zi[4412]|0)!=0?(zi[742]|0)!=0&(zi[944]|0)==0:0)?(t=zi[130]|0,(t|0)!=0?(t|0)!=(to(zi[136]|0,zi[348]|0)|0):0):0)?(o=(e|0)==2,r=zi[826]|0,o|(r|0)!=0):0){if(zi[i>>2]=zi[734],zi[i+4>>2]=r,zi[i+8>>2]=t,Jt(f,7960,i)|0,r=zi[136]|0,(r|0)!=1&&(e=f+(wi(f|0)|0)|0,zi[n>>2]=r,Jt(e,7984,n)|0),n=f+(wi(f|0)|0)|0,zi[a>>2]=zi[348],Jt(n,7992,a)|0,o){r=f+(wi(f|0)|0)|0,t=8016,e=r+11|0;do xi[r>>0]=xi[t>>0]|0,r=r+1|0,t=t+1|0;while((r|0)<(e|0))}(zi[3558]|0)==-1&&u(f)}return(zi[130]|0)>0&&(zi[826]=(zi[826]|0)+1),zi[130]=0,zi[136]=1,zi[730]|0&&(r=zi[770]|0,(r|0)<1&&(zi[714]=0,nt(0,zi[210]|0,-1,0,0,0),r=zi[206]|0,zi[770]=r),zi[770]=r+-1),zi[732]|0?(r=zi[768]|0,(r|0)<1&&(zi[724]=0,nt(0,zi[346]|0,-1,0,0,0),r=zi[342]|0,zi[768]=r),zi[768]=r+-1,void(Wi=s)):void(Wi=s)}function fr(e,r){e|=0,r|=0;var t=0,i=0,o=0;return o=Wi,Wi=Wi+48|0,i=o+8|0,t=o,zi[t>>2]=r,Or(t),zi[e>>2]=zi[608],ht(xi[zi[t>>2]>>0]|0)|0&&(Vr(i,t,40),Or(t),ni(i,10592)|0||(zi[e>>2]=zi[721]),ni(i,7952)|0||(zi[e>>2]=zi[147])),Wi=o,zi[t>>2]|0}function sr(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0;return f=Wi,Wi=Wi+16|0,a=f,o=zi[728]|0,n=zi[608]|0,(n|0)>15?(s(5008),i=zi[736]|0,a=zi[728]|0,i=a+i|0,zi[736]=i,zi[728]=0,void(Wi=f)):(r>>>0>16383&&(s(8120),n=zi[608]|0),((t|0)!=9?(zi[3928+(n<<2)>>2]|0)!=(r|0):0)&&(xi[a>>0]=r&127,xi[a+1>>0]=r>>>7&127,zi[50]=r,dr(o,224,t,a,2)|0,zi[3928+(zi[608]<<2)>>2]=r,o=0),(t|0)==9&&(e=zi[1408+(e<<2)>>2]|0),xi[a>>0]=e,xi[a+1>>0]=i,dr(o,144,t,a,2)|0,i=zi[736]|0,a=zi[728]|0,i=a+i|0,zi[736]=i,zi[728]=0,void(Wi=f))}function ur(e){e|=0;var r=0,t=0;t=Wi,Wi=Wi+16|0,r=zi[2100]|0,r?(Ro[r&0](e),Fo(1)):(zi[t>>2]=e,wo(8432,t|0)|0,Fo(1))}function lr(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;if(zi[2102]|0||ur(8464),zi[2104]|0||ur(8512),mr(1297377380),mr(6),o=zi[2102]|0,o||ur(8560),(Oo[o&3](e>>>8<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2102]|0,o||ur(8560),(Oo[o&3](e<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2102]|0,o||ur(8560),(Oo[o&3](r>>>8<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2102]|0,o||ur(8560),(Oo[o&3](r<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2102]|0,o||ur(8560),(Oo[o&3](t>>>8<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2102]|0,o||ur(8560),(Oo[o&3](t<<24>>24)|0)==-1&&ur(8584),n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999&&(ho(8608)|0,Fo(1)),o=zi[2106]|0,(e|0)==1&(o|0)!=0&&Mo[o&0]()|0,(r|0)>0){n=0;e:for(;;){e=po(i|0)|0,mr(1297379947),mr(0),zi[2150]=0,o=zi[2104]|0;do if(o){if(o=Oo[o&3](n)|0,t=o&127,o>>=7,(o|0)<=0)break;do t=o&127|t<<8|128,o>>=7;while((o|0)>0)}else t=0;while(0);for(;;){if(o=zi[2102]|0,!o){o=48;break e}if((Oo[o&3](t<<24>>24)|0)==-1){o=50;break e}if(o=zi[2150]|0,zi[2150]=o+1,(o|0)>499999){o=52;break e}if(!(t&128))break;t>>=8}if(o=zi[2102]|0,!o){o=55;break}if((Oo[o&3](-1)|0)==-1){o=57;break}if(t=zi[2150]|0,zi[2150]=t+1,(t|0)>499999){o=59;break}if(o=zi[2102]|0,!o){o=61;break}if((Oo[o&3](47)|0)==-1){o=63;break}if(t=zi[2150]|0,zi[2150]=t+1,(t|0)>499999){o=65;break}if(o=zi[2102]|0,!o){o=67;break}if((Oo[o&3](0)|0)==-1){o=69;break}if(t=zi[2150]|0,zi[2150]=t+1,(t|0)>499999){o=71;break}if(o=po(i|0)|0,(co(i|0,e|0,0)|0)<0){o=73;break}if(e=zi[2150]|0,mr(1297379947),mr(e),co(i|0,o|0,0)|0,n=n+1|0,(n|0)>=(r|0)){o=75;break}}switch(o|0){case 48:ur(8560);break;case 50:ur(8584);break;case 52:ho(8608)|0,Fo(1);break;case 55:ur(8560);break;case 57:ur(8584);break;case 59:ho(8608)|0,Fo(1);break;case 61:ur(8560);break;case 63:ur(8584);break;case 65:ho(8608)|0,Fo(1);break;case 67:ur(8560);break;case 69:ur(8584);break;case 71:ho(8608)|0,Fo(1);break;case 73:ur(8664);break;case 75:return}}}function cr(e){return e|=0,e&255|0}function dr(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0;if(n=e&127,e>>=7,(e|0)>0)do n=e&127|n<<8|128,e>>=7;while((e|0)>0);for(;;){if(e=zi[2102]|0,!e){e=4;break}if((Oo[e&3](n<<24>>24)|0)==-1){e=6;break}if(e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999){e=8;break}if(!(n&128)){e=10;break}n>>=8}if((e|0)==4)ur(8560);else if((e|0)==6)ur(8584);else if((e|0)==8)ho(8608)|0,Fo(1);else if((e|0)==10){if((t|0)>15&&ur(8712),e=zi[2102]|0,e||ur(8560),(Oo[e&3]((t|r)<<24>>24)|0)==-1&&ur(8584),t=zi[2150]|0,zi[2150]=t+1,(t|0)>499999&&(ho(8608)|0,Fo(1)),!((o|0)>0))return o|0;for(n=0;;){if(e=zi[2102]|0,!e){e=21;break}if((Oo[e&3](xi[i+n>>0]|0)|0)==-1){e=23;break}if(t=zi[2150]|0,zi[2150]=t+1,n=n+1|0,(t|0)>499999){e=25;break}if((n|0)>=(o|0)){e=26;break}}if((e|0)==21)ur(8560);else if((e|0)==23)ur(8584);else if((e|0)==25)ho(8608)|0,Fo(1);else if((e|0)==26)return o|0}return 0}function hr(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;if(o=e&127,e>>=7,(e|0)>0)do o=e&127|o<<8|128,e>>=7;while((e|0)>0);for(;;){if(e=zi[2102]|0,!e){e=4;break}if((Oo[e&3](o<<24>>24)|0)==-1){e=6;break}if(e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999){e=8;break}if(!(o&128)){e=10;break}o>>=8}if((e|0)==4)ur(8560);else if((e|0)==6)ur(8584);else if((e|0)==8)ho(8608)|0,Fo(1);else if((e|0)==10){if(e=zi[2102]|0,e||ur(8560),(Oo[e&3](-1)|0)==-1&&ur(8584),o=zi[2150]|0,zi[2150]=o+1,(o|0)>499999&&(ho(8608)|0,Fo(1)),e=zi[2102]|0,e||ur(8560),(Oo[e&3](r<<24>>24)|0)==-1&&ur(8584),o=zi[2150]|0,zi[2150]=o+1,(o|0)>499999&&(ho(8608)|0,Fo(1)),o=i&127,e=i>>7,(e|0)>0)do o=e&127|o<<8|128,e>>=7;while((e|0)>0);for(;;){if(e=zi[2102]|0,!e){e=25;break}if((Oo[e&3](o<<24>>24)|0)==-1){e=27;break}if(r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999){e=29;break}if(!(o&128)){e=31;break}o>>=8}if((e|0)==25)ur(8560);else if((e|0)==27)ur(8584);else if((e|0)==29)ho(8608)|0,Fo(1);else if((e|0)==31){if(!((i|0)>0))return t=i,t|0;for(r=0;;){if(o=t+r|0,e=zi[2102]|0,!e){e=34;break}if(e=Oo[e&3](xi[o>>0]|0)|0,(e|0)==-1){e=36;break}if(n=zi[2150]|0,zi[2150]=n+1,(n|0)>499999){e=38;break}if(r=r+1|0,(e|0)!=(qi[o>>0]|0)){i=-1,e=40;break}if((r|0)>=(i|0)){e=40;break}}if((e|0)==34)ur(8560);else if((e|0)==36)ur(8584);else if((e|0)==38)ho(8608)|0,Fo(1);else if((e|0)==40)return i|0}}return 0}function br(e){e|=0;var r=0;r=zi[2102]|0,r||ur(8560),(Oo[r&3](0)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](-1)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](81)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](3)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e>>>16<<24>>24)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e>>>8<<24>>24)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e<<24>>24)|0)==-1&&ur(8584),e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999&&(ho(8608)|0,Fo(1))}function kr(e,r){e|=0,r=+r;var t=0,i=0;t=zi[2102]|0,t||ur(8560),(Oo[t&3](0)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](-16)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](11)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](127)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](0)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](8)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](2)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](0)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](1)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](e&127)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),e=~~r,r-=+(e|0),i=~~((r<0?-r:r)*16384),t=zi[2102]|0,t||ur(8560),(Oo[t&3](e&127)|0)==-1&&ur(8584),e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](((i|0)/128|0)&127)|0)==-1&&ur(8584),e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](i&127)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1)),t=zi[2102]|0,t||ur(8560),(Oo[t&3](-9)|0)==-1&&ur(8584),i=zi[2150]|0,zi[2150]=i+1,(i|0)>499999&&(ho(8608)|0,Fo(1))}function mr(e){e|=0;var r=0;r=zi[2102]|0,r||ur(8560),(Oo[r&3](e>>24)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e>>>16<<24>>24)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e>>>8<<24>>24)|0)==-1&&ur(8584),r=zi[2150]|0,zi[2150]=r+1,(r|0)>499999&&(ho(8608)|0,Fo(1)),r=zi[2102]|0,r||ur(8560),(Oo[r&3](e<<24>>24)|0)==-1&&ur(8584),e=zi[2150]|0,zi[2150]=e+1,(e|0)>499999&&(ho(8608)|0,Fo(1))}function pr(e){return e|=0,(e=li(e)|0)?e|0:(ho(10416)|0,Fo(0),0)}function Er(e){e|=0;var r=0;return(r=li((wi(e|0)|0)+1|0)|0)?(yi(r|0,e|0)|0,r|0):(ho(10416)|0,Fo(0),0)}function wr(e,r){e|=0,r|=0;var t=0,i=0,o=0;return o=Wi,Wi=Wi+16|0,i=o,t=wi(e|0)|0,(t=li(t+1+(wi(r|0)|0)|0)|0)?(zi[i>>2]=e,zi[i+4>>2]=r,Zt(t,4,10456,i)|0,Wi=o,t|0):(ho(10416)|0,Fo(0),0)}function Sr(e){e|=0;var r=0;return zi[e>>2]=0,zi[e+4>>2]=40,(r=li(41)|0)?(zi[e+8>>2]=r,void(xi[r>>0]=0)):(ho(10416)|0,void Fo(0))}function vr(e){e|=0;var r=0,t=0;return r=e+4|0,t=zi[r>>2]|0,(t|0)>0?(t<<=1,zi[r>>2]=t,r=li(t|1)|0,r||(ho(10416)|0,Fo(0)),e=e+8|0,yi(r|0,zi[e>>2]|0)|0,ci(zi[e>>2]|0),void(zi[e>>2]=r)):(zi[e>>2]=0,zi[r>>2]=40,r=li(41)|0,r||(ho(10416)|0,Fo(0)),zi[e+8>>2]=r,void(xi[r>>0]=0))}function _r(e,r){e|=0,r|=0;var t=0,i=0;t=zi[r>>2]|0,(t|0)>=(zi[r+4>>2]|0)&&(vr(r),t=zi[r>>2]|0),i=r+8|0,xi[(zi[i>>2]|0)+t>>0]=e,xi[(zi[i>>2]|0)+((zi[r>>2]|0)+1)>>0]=0,zi[r>>2]=(zi[r>>2]|0)+1}function gr(e){e|=0;var r=0,t=0;r=e+8|0,t=zi[r>>2]|0,t&&(ci(t),zi[r>>2]=0),zi[e>>2]=0,zi[e+4>>2]=0}function yr(){zi[2226]=1,zi[2228]=0,zi[2188]=1}function Fr(){zi[2226]=0,zi[2228]=0}function Mr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0;if(!((r|0)>0))return e=-1,e|0;o=0,i=-1;do n=(ni(e,zi[t+(o<<2)>>2]|0)|0)==0,o=o+1|0,i=n?o:i;while((o|0)!=(r|0));return i|0}function Or(e){e|=0;var r=0,t=0;for(r=zi[e>>2]|0;;){if(t=xi[r>>0]|0,!(t<<24>>24==9|t<<24>>24==32))break;t=r+1|0,zi[e>>2]=t,r=t}}function Ar(e){e|=0;var r=0,t=0;if(r=xi[e>>0]|0,((r<<24>>24)+-48|0)>>>0>=10&&(s(10464),r=xi[e>>0]|0),!((r+-48&255)<10))return t=0,t|0;t=r,r=0;do r=(r*10|0)+-48+(t<<24>>24)|0,e=e+1|0,t=xi[e>>0]|0;while((t+-48&255)<10);return r|0}function Rr(e){e|=0;var r=0,t=0;if(r=xi[e>>0]|0,r<<24>>24!=45){if(((r<<24>>24)+-48|0)>>>0>=10&&(s(10464),r=xi[e>>0]|0),!((r+-48&255)<10))return t=0,t|0;t=e,e=0;do e=(r<<24>>24)+-48+(e*10|0)|0,t=t+1|0,r=xi[t>>0]|0;while((r+-48&255)<10);return e|0}do e=e+1|0,r=xi[e>>0]|0;while(r<<24>>24==9|r<<24>>24==32);if(((r<<24>>24)+-48|0)>>>0>=10&&(s(10464),r=xi[e>>0]|0),(r+-48&255)<10){t=0;do t=(r<<24>>24)+-48+(t*10|0)|0,e=e+1|0,r=xi[e>>0]|0;while((r+-48&255)<10);e=t}else e=0;return t=0-e|0,t|0}function Nr(e){e|=0;var r=0,t=0,i=0;if(t=zi[e>>2]|0,r=xi[t>>0]|0,!((r+-48&255)<10))return i=0,i|0;i=r,r=0;do r=(r*10|0)+-48+(i<<24>>24)|0,t=t+1|0,zi[e>>2]=t,i=xi[t>>0]|0;while((i+-48&255)<10);return r|0}function Tr(e){e|=0;var r=0,t=0,i=0;if(r=zi[e>>2]|0,t=xi[r>>0]|0,t<<24>>24!=45){if(!((t+-48&255)<10))return i=0,i|0;i=r,r=0;do r=(t<<24>>24)+-48+(r*10|0)|0,i=i+1|0,zi[e>>2]=i,t=xi[i>>0]|0;while((t+-48&255)<10);return r|0}do r=r+1|0,zi[e>>2]=r,t=xi[r>>0]|0;while(t<<24>>24==9|t<<24>>24==32);if((t+-48&255)<10){i=r,r=0;do r=(t<<24>>24)+-48+(r*10|0)|0,i=i+1|0,zi[e>>2]=i,t=xi[i>>0]|0;while((t+-48&255)<10)}else r=0;return i=0-r|0,i|0}function Dr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;if(i=zi[t>>2]|0,o=xi[i>>0]|0,(xi[i+1>>0]|0)==124){if(o<<24>>24==99|o<<24>>24==67)return zi[e>>2]=2,void(zi[r>>2]=2)}else if(o<<24>>24==99|o<<24>>24==67)return zi[e>>2]=4,void(zi[r>>2]=4);if((o+-48&255)<10){n=o,o=0;do o=(n<<24>>24)+-48+(o*10|0)|0,i=i+1|0,zi[t>>2]=i,n=xi[i>>0]|0;while((n+-48&255)<10)}else o=0;if(zi[e>>2]=o,(xi[i>>0]|0)==47?(o=i+1|0,zi[t>>2]=o):(s(10480),o=zi[t>>2]|0),i=xi[o>>0]|0,(i+-48&255)<10){n=i,i=0;do i=(n<<24>>24)+-48+(i*10|0)|0,o=o+1|0,zi[t>>2]=o,n=xi[o>>0]|0;while((n+-48&255)<10);if(zi[r>>2]=i,!((i|0)==0|(zi[e>>2]|0)==0)){if((i|0)<=1)return;for(;;){if(i&1)break;if(!((i|0)>3)){a=20;break}i=(i|0)/2|0}if((a|0)==20)return;return s(10528),void(zi[r>>2]=0)}}else zi[r>>2]=0;s(10496)}function Pr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0;if(o=zi[t>>2]|0,i=xi[o>>0]|0,(i+-48&255)<10){n=0;do n=(i<<24>>24)+-48+(n*10|0)|0,o=o+1|0,zi[t>>2]=o,i=xi[o>>0]|0;while((i+-48&255)<10);i=n}else i=0;if(zi[e>>2]=(i|0)==0?1:i,zi[r>>2]=1,(xi[o>>0]|0)==47){if(o=o+1|0,zi[t>>2]=o,i=xi[o>>0]|0,(i+-48&255)<10){n=i,i=0;do i=(n<<24>>24)+-48+(i*10|0)|0,o=o+1|0,zi[t>>2]=o,n=xi[o>>0]|0;while((n+-48&255)<10);zi[r>>2]=i,n=i?10:8}else zi[r>>2]=0,n=8;if((n|0)==8)if(zi[r>>2]=2,(xi[o>>0]|0)==47){i=2;do i<<=1,zi[r>>2]=i,o=o+1|0,zi[t>>2]=o;while((xi[o>>0]|0)==47);n=10}else i=2;if(!((n|0)==10&&(i|0)<=1)){for(;;){if(i&1)break;if(!((i|0)>3)){n=14;break}i=(i|0)/2|0}(n|0)!=14&&u(10560)}}}function Cr(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0;if(i=zi[e>>2]|0,t=xi[i>>0]|0,(t+-48&255)<10){o=i,i=0;do i=(t<<24>>24)+-48+(i*10|0)|0,o=o+1|0,zi[e>>2]=o,t=xi[o>>0]|0;while((t+-48&255)<10)}else o=i,i=0;if(n=(i|0)==0?1:i,t<<24>>24==47){if(o=o+1|0,zi[e>>2]=o,t=xi[o>>0]|0,(t+-48&255)<10){i=t,t=0;do t=(i<<24>>24)+-48+(t*10|0)|0,o=o+1|0,zi[e>>2]=o,i=xi[o>>0]|0;while((i+-48&255)<10);t?o=9:(t=i,i=o,o=7)}else i=o,o=7;if((o|0)==7)if(t<<24>>24==47){t=2;do t<<=1,i=i+1|0,zi[e>>2]=i;while((xi[i>>0]|0)==47);o=9}else t=2,o=10;if((o|0)==9&&(t|0)>1&&(o=10),(o|0)==10)for(i=t;;){if(!((i|0)>3&(i&1|0)==0))break;i=(i|0)/2|0}if((t|0)!=1)return ee(r,n,t),r=1,r|0}return zi[2230]=0,zi[2231]=0,r=0,r|0}function Lr(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;return o=(ai(e,10592,4)|0)==0&1,ai(e,10600,6)|0||((((zi[3498]|0)==0?(zi[r>>2]|0)!=1:0)?(zi[t>>2]|0)!=1:0)?(u(10608),zi[r>>2]=1,zi[t>>2]=0,o=1):o=1),ai(e,10648,8)|0||((((zi[3498]|0)==0?(zi[r>>2]|0)!=1:0)?(zi[t>>2]|0)!=1:0)?(u(10608),zi[r>>2]=1,zi[t>>2]=1,o=1):o=1),ai(e,10664,8)|0||((((zi[3498]|0)==0?(zi[r>>2]|0)==1:0)?(zi[t>>2]|0)!=-1:0)?(u(10608),zi[r>>2]=1,zi[t>>2]=-1,o=1):o=1),n=(ai(e,10680,8)|0)==0,n|=(ai(e,10696,5)|0)==0,o=n?1:o,ai(e,10704,7)|0||((((zi[3498]|0)==0?(zi[r>>2]|0)==1:0)?(zi[t>>2]|0)!=-1:0)?(u(10608),zi[r>>2]=1,zi[t>>2]=-1,o=1):o=1),t=(ai(e,10712,4)|0)==0,t|=(ai(e,10720,5)|0)==0,t=(ai(e,10728,7)|0)==0|t,n=qi[e>>0]|0,o=(n+-112|i|0)==0|((n+-71|i|0)==0|((n+-103|i|0)==0|((n+-70|i|0)==0|(t|(n+-102|i|0)==0))))?1:o,o|i?(n=o,n|0):(u(10736),n=1,n|0)}function Br(){var e=0,r=0,t=0;if(t=Wi,Wi=Wi+16|0,r=t,!(zi[2196]|0))return void(Wi=t);if(ho(10776)|0,(zi[2196]|0)>0){e=0;do((e|0)%4|0|0)==3&&lo(10)|0,zi[r>>2]=8928+(e*30|0),e=e+1|0,zi[r+4>>2]=e,wo(10792,r|0)|0;while((e|0)<(zi[2196]|0))}lo(10)|0,Wi=t}function Ir(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0;for(f=Wi,Wi=Wi+128|0,o=f,n=f+88|0,i=f+8|0,r=0;;){if(t=xi[e>>0]|0,t<<24>>24==9|t<<24>>24==32|t<<24>>24==0)break;if((r|0)!=0&t<<24>>24==61)break;if((r|0)>1){if((t&-2)<<24>>24==94)break;(r|0)<29&&(a=7)}else a=7;(a|0)==7&&(a=0,xi[n+r>>0]=t,r=r+1|0),e=e+1|0}if(xi[n+r>>0]=0,r=xi[e>>0]|0,r<<24>>24==93|r<<24>>24==32|r<<24>>24==0||(zi[o>>2]=r<<24>>24,Jt(i,10808,o)|0,s(i)),!(xi[n>>0]|0))return a=0,Wi=f,a|0;if(e=zi[2196]|0,!e)return yi(8928,n|0)|0,a=(zi[2196]|0)+1|0,zi[2196]=a,Wi=f,a|0;if((e|0)>0){r=0;do if(o=r,r=r+1|0,!(ni(n,8928+(o*30|0)|0)|0)){a=19;break}while((r|0)<(e|0));if((a|0)==19)return Wi=f,r|0;if((e|0)>22)return a=-1,Wi=f,a|0}return yi(8928+(e*30|0)|0,n|0)|0,a=(zi[2196]|0)+1|0,zi[2196]=a,Wi=f,a|0}function Hr(e,r,t,i,o,n){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0;var a=0,f=0,u=0,l=0,c=0;for(a=zi[e>>2]|0;;){if(f=xi[a>>0]|0,!(f<<24>>24==9|f<<24>>24==32)){u=0;break}u=a+1|0,zi[e>>2]=u,a=u}for(;;){if(f<<24>>24==9|f<<24>>24==32|f<<24>>24==0){f=u;break}if((u|0)!=0&f<<24>>24==61){f=u;break}if((u|0)>1){if((f&-2)<<24>>24==94){f=u;break}(u|0)<29&&(l=9)}else l=9;(l|0)==9&&(l=0,xi[r+u>>0]=f,u=u+1|0),c=a+1|0,f=xi[c>>0]|0,a=c}if(xi[r+f>>0]=0,zi[e>>2]=a,oi(r,10848)|0)return Lr(r,o,n,1)|0?(zi[t>>2]=1,yi(i|0,r|0)|0,c=1,c|0):(c=0,c|0);for(;;){if(f=xi[a>>0]|0,f<<24>>24==61)break;if(!(f<<24>>24==9|f<<24>>24==32)){l=14;break}c=a+1|0,zi[e>>2]=c,a=c}if((l|0)==14)return s(10856),c=1,c|0;do a=a+1|0,zi[e>>2]=a,f=xi[a>>0]|0;while(f<<24>>24==9|f<<24>>24==32);for(u=0;;){if(f<<24>>24==9|f<<24>>24==32|f<<24>>24==0){f=u;break}if((u|0)!=0&f<<24>>24==61){f=u;break}if((u|0)>1){if((f&-2)<<24>>24==94){f=u;break}(u|0)<29&&(l=21)}else l=21;(l|0)==21&&(l=0,xi[i+u>>0]=f,u=u+1|0),c=a+1|0,f=xi[c>>0]|0,a=c}return xi[i+f>>0]=0,zi[e>>2]=a,Lr(i,o,n,0)|0?(zi[t>>2]=1,c=1,c|0):(c=1,c|0)}function xr(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0,a=0,f=0,s=0,u=0;if(!(xi[r>>0]|0))return i=0,i|0;if((wi(i|0)|0)>>>0<o>>>0&&gt(i,r,o)|0,n=zi[e>>2]|0,(xi[n>>0]|0)==61){for(f=61,a=0;;){if(f<<24>>24==9|f<<24>>24==32|f<<24>>24==0)break;if((a|0)!=0&f<<24>>24==61)break;if((a|0)>1){if((f&-2)<<24>>24==94)break;(a|0)<29&&(s=10)}else s=10;(s|0)==10&&(s=0,xi[r+a>>0]=f,a=a+1|0),u=n+1|0,f=xi[u>>0]|0,n=u}xi[r+a>>0]=0,zi[e>>2]=n,(wi(i|0)|0)>>>0<o>>>0&&gt(i,r,o)|0}return gt(i,11048,o)|0,zi[t>>2]=1,u=1,u|0}function Ur(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0,H=0,x=0,U=0,z=0,q=0,V=0,j=0,W=0,Y=0,K=0,X=0,G=0,Z=0,J=0,Q=0,$=0,ee=0,re=0,te=0,ie=0;if(ie=Wi,Wi=Wi+352|0,re=ie+40|0,W=ie,V=ie+8|0,q=ie+24|0,z=ie+32|0,U=ie+140|0,te=ie+280|0,Z=ie+148|0,X=ie+250|0,x=ie+310|0,ee=ie+168|0,J=ie+156|0,$=ie+104|0,Q=ie+48|0,K=ie+132|0,G=ie+136|0,B=ie+152|0,I=ie+144|0,H=ie+248|0,xi[X>>0]=0,xi[x>>0]=0,zi[U>>2]=e,zi[Z>>2]=0,zi[K>>2]=0,zi[G>>2]=0,xi[J>>0]=32,xi[J+1>>0]=32,xi[J+2>>0]=32,xi[J+3>>0]=32,xi[J+4>>0]=32,xi[J+5>>0]=32,xi[J+6>>0]=32,zi[$>>2]=1,zi[Q>>2]=0,zi[Q+4>>2]=0,zi[$+4>>2]=1,zi[Q+8>>2]=0,zi[Q+12>>2]=0,zi[$+8>>2]=1,zi[Q+16>>2]=0,zi[Q+20>>2]=0,zi[$+12>>2]=1,zi[Q+24>>2]=0,zi[Q+28>>2]=0,zi[$+16>>2]=1,zi[Q+32>>2]=0,zi[Q+36>>2]=0,zi[$+20>>2]=1,zi[Q+40>>2]=0,zi[Q+44>>2]=0,zi[$+24>>2]=1,zi[Q+48>>2]=0,zi[Q+52>>2]=0,xi[e>>0]|0){N=te+1|0,T=te+2|0,b=0,h=0,E=0,w=0,S=0,k=0,A=0,R=0,m=-1;e:for(;;){n=Hr(U,te,Z,X,K,G)|0;r:do if(n)M=E,O=w,d=m;else{if(!(oi(te,30760)|0)){for(n=zi[U>>2]|0;;){if(d=xi[n>>0]|0,d<<24>>24==61)break;if(!(d<<24>>24==9|d<<24>>24==32)){v=8;break}O=n+1|0,zi[U>>2]=O,n=O}if((v|0)==8){v=0,s(10888),M=E,O=w,n=1,d=m;break}for(;;){if(n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0,d<<24>>24==45)break;if(!(d<<24>>24==9|d<<24>>24==32)){v=14;break}}if((v|0)==14){if(v=0,!((d+-48&255)<10)){h=0,M=1,O=w,n=1,d=m;break}for(h=0;;)if(h=(d<<24>>24)+-48+(h*10|0)|0,n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0,(d+-48&255)>=10){M=1,O=w,n=1,d=m;break r}}do n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0;while(d<<24>>24==9|d<<24>>24==32);if((d+-48&255)<10){h=0;do h=(d<<24>>24)+-48+(h*10|0)|0,n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0;while((d+-48&255)<10);n=h}else n=0;h=0-n|0,M=1,O=w,n=1,d=m;break}if(oi(te,33392)|0){if(O=(oi(te,11056)|0)==0,d=O?2:m,n=O?1:k,O){M=E,O=w,k=n,n=1;break}if(oi(te,11064)|0){M=E,O=w,k=n,n=0;break}zi[2198]=1,M=E,O=w,k=1,n=1,d=0;break}for(n=zi[U>>2]|0;;){if(d=xi[n>>0]|0,d<<24>>24==61)break;if(!(d<<24>>24==9|d<<24>>24==32)){v=20;break}O=n+1|0,zi[U>>2]=O,n=O}if((v|0)==20){v=0,s(10928),M=E,O=w,n=1,d=m;break}for(;;)if(n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0,!(d<<24>>24==9|d<<24>>24==32)){if(d<<24>>24==45)break;v=26;break}if((v|0)==26){if(v=0,!((d+-48&255)<10)){M=E,O=1,b=0,n=1,d=m;break}for(b=0;;)if(b=(d<<24>>24)+-48+(b*10|0)|0,n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0,(d+-48&255)>=10){M=E,O=1,n=1,d=m;break r}}do n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0;while(d<<24>>24==9|d<<24>>24==32);if((d+-48&255)<10){b=0;do b=(d<<24>>24)+-48+(b*10|0)|0,n=n+1|0,zi[U>>2]=n,d=xi[n>>0]|0;while((d+-48&255)<10)}else b=0;M=E,O=1,b=0-b|0,n=1,d=m}while(0);y=(oi(te,11072)|0)==0,F=y?1:S,n=y?1:n;do if(n)v=59;else if(n=xi[te>>0]|0,(n+-65&255)<7){if(d=(ti(11080,n<<24>>24,8)|0)-11080|0,n=xi[N>>0]|0,n<<24>>24==35?(n=2,m=d+6|0):(m=n<<24>>24==98,n=m?2:1,m=(m?-8:-1)+d|0),(wi(te|0)|0)!=(n|0)){if(g=te+n|0,yi(x|0,g|0)|0,n=xi[x>>0]|0,n<<24>>24){d=x;do Ot(n<<24>>24)|0&&(xi[d>>0]=(qi[d>>0]|0)+32),d=d+1|0,n=xi[d>>0]|0;while(n<<24>>24!=0)}if(_=(ai(x,zi[2206]|0,3)|0)==0,d=m+(_?zi[2216]|0:0)|0,n=(ai(x,zi[2207]|0,3)|0)==0,d=d+(n?zi[2217]|0:0)|0,k=(ai(x,zi[2208]|0,3)|0)==0,d=d+(k?zi[2218]|0:0)|0,m=(ai(x,zi[2209]|0,3)|0)==0,d=d+(m?zi[2219]|0:0)|0,p=(ai(x,zi[2210]|0,3)|0)==0,d=d+(p?zi[2220]|0:0)|0,E=(ai(x,zi[2211]|0,3)|0)==0,d=d+(E?zi[2221]|0:0)|0,w=(ai(x,zi[2212]|0,3)|0)==0,d=d+(w?zi[2222]|0:0)|0,S=(ai(x,zi[2213]|0,3)|0)==0,d=d+(S?zi[2223]|0:0)|0,v=(ai(x,zi[2214]|0,3)|0)==0,d=d+(v?zi[2224]|0:0)|0,!(ai(x,zi[2215]|0,3)|0)){g=1,k=9,n=1,d=(zi[2225]|0)+d|0,v=60;break}if(_|(v|(S|(w|(E|(p|(m|(k|n)))))))){g=1,k=v?8:S?7:w?6:E?5:p?4:m?3:k?2:n?1:_?0:A,n=1,v=60;break}zi[z>>2]=g,Jt(ee,11088,z)|0,s(ee),g=1,k=0,n=1,v=60;break}for(k=zi[U>>2]|0;;){if(n=xi[k>>0]|0,!(n<<24>>24==9|n<<24>>24==32)){d=0;break}y=k+1|0,zi[U>>2]=y,k=y}for(;;){if(n<<24>>24==9|n<<24>>24==32|n<<24>>24==0){n=d;break}if((d|0)!=0&n<<24>>24==61){n=d;break}if((d|0)>1){if((n&-2)<<24>>24==94){n=d;break}(d|0)<29&&(v=45)}else v=45;(v|0)==45&&(v=0,xi[x+d>>0]=n,d=d+1|0),y=k+1|0,n=xi[y>>0]|0,k=y}if(xi[x+n>>0]=0,n=xi[x>>0]|0,n<<24>>24){d=x;do Ot(n<<24>>24)|0&&(xi[d>>0]=(qi[d>>0]|0)+32),d=d+1|0,n=xi[d>>0]|0;while(n<<24>>24!=0)}if(y=(ai(x,zi[2206]|0,3)|0)==0,d=m+(y?zi[2216]|0:0)|0,m=(ai(x,zi[2207]|0,3)|0)==0,d=d+(m?zi[2217]|0:0)|0,p=(ai(x,zi[2208]|0,3)|0)==0,d=d+(p?zi[2218]|0:0)|0,E=(ai(x,zi[2209]|0,3)|0)==0,d=d+(E?zi[2219]|0:0)|0,w=(ai(x,zi[2210]|0,3)|0)==0,d=d+(w?zi[2220]|0:0)|0,S=(ai(x,zi[2211]|0,3)|0)==0,d=d+(S?zi[2221]|0:0)|0,v=(ai(x,zi[2212]|0,3)|0)==0,d=d+(v?zi[2222]|0:0)|0,_=(ai(x,zi[2213]|0,3)|0)==0,d=d+(_?zi[2223]|0:0)|0,g=(ai(x,zi[2214]|0,3)|0)==0,d=d+(g?zi[2224]|0:0)|0,n=g?8:_?7:v?6:S?5:w?4:E?3:p?2:m?1:y?0:A,ai(x,zi[2215]|0,3)|0){if(!(y|(g|(_|(v|(S|(w|(E|(p|m))))))))){g=1,k=n,n=1,v=60;break}}else n=9,d=(zi[2225]|0)+d|0;zi[U>>2]=k,g=1,k=n,n=1,v=60}else n=0,v=59;while(0);(v|0)==59&&(v=0,k?(g=k,k=A,v=60):(g=0,p=A,m=d));do if((v|0)==60){if((d|0)>7){u(11112),p=k,m=d+-12|0;break}(d|0)<-7?(u(11112),p=k,m=d+12|0):(p=k,m=d)}while(0);k=xi[te>>0]|0;do if(k<<24>>24==61|k<<24>>24==95|k<<24>>24==94){if((wi(te|0)|0)==2?(D=xi[N>>0]|0,(D+-97&255)<7):0){d=(D<<24>>24)+-97|0,xi[J+d>>0]=k,zi[$+(d<<2)>>2]=1,d=1,n=1,v=73;break}(wi(te|0)|0)==3?k<<24>>24!=61?(k<<24>>24==(xi[N>>0]|0)?(P=xi[T>>0]|0,(P+-97&255)<7):0)?(d=(P<<24>>24)+-97|0,xi[J+d>>0]=k,zi[$+(d<<2)>>2]=2,d=1,n=1,v=73):(d=1,v=73):v=74:(d=1,v=73)}else d=R,v=73;while(0);(v|0)==73&&(v=0,k<<24>>24==61|k<<24>>24==95|k<<24>>24==94&&(v=74));do if((v|0)==74){if(v=0,((wi(te|0)|0)==2?(C=xi[N>>0]|0,(C+-65&255)<7):0)?(n=(C<<24>>24)+-65|0,xi[J+n>>0]=k,zi[$+(n<<2)>>2]=1,n=1):(R=k<<24>>24!=61&(wi(te|0)|0)==3,(R&k<<24>>24==(xi[N>>0]|0)?(L=xi[T>>0]|0,(L+-65&255)<7):0)&&(n=(L<<24>>24)+-65|0,xi[J+n>>0]=k,zi[$+(n<<2)>>2]=2,n=1)),zi[q>>2]=I,zi[q+4>>2]=H,(Et(N,11144,q)|0)<=0){if(zi[V>>2]=B,zi[V+4>>2]=I,zi[V+8>>2]=H,(Et(N,11152,V)|0)<=0){d=1;break}}else zi[B>>2]=1;if(R=xi[H>>0]|0,n=R+-65|0,n=(n|0)>7?R+-97|0:n,n>>>0>7){v=85;break e}k=xi[te>>0]|0,d=zi[B>>2]|0,k<<24>>24==95&&(d=0-d|0,zi[B>>2]=d),xi[J+n>>0]=k,zi[Q+(n<<3)>>2]=d,zi[Q+(n<<3)+4>>2]=zi[I>>2],d=1,n=1}while(0);if(!(xi[zi[U>>2]>>0]|0)){Y=F,f=h,l=M,c=O,a=b,o=g,i=p,t=d,j=n,r=m;break}E=M,w=O,S=F,k=g,A=p,R=d}if((v|0)==85&&(zi[W>>2]=n,wo(11160,W|0)|0,Fo(-1)),j)return x=c,W=l,H=f,R=a,D=Y,Y=o,C=i,T=t,P=r,K=zi[K>>2]|0,K=(K|0)==0,L=zi[G>>2]|0,x=K?x:1,L=K?R:L,G=(Y|0)==0,G&=1,G&=T,G=(G|0)==0,K=G?D:1,G=G?P:0,Z=zi[Z>>2]|0,ae(G,e,C,J,$,Q,Y,Z,X,L,H,x,W,K),Wi=ie,Y|0;n=Y}else c=0,l=0,f=0,a=0,n=0,o=0,i=0,t=0,r=-1;return xi[te>>0]|0?(zi[re>>2]=te,Jt(ee,11176,re)|0,u(ee),x=c,W=l,H=f,R=a,D=n,Y=o,C=i,T=t,P=r,K=zi[K>>2]|0,K=(K|0)==0,L=zi[G>>2]|0,x=K?x:1,L=K?R:L,G=(Y|0)==0,G&=1,G&=T,G=(G|0)==0,K=G?D:1,G=G?P:0,Z=zi[Z>>2]|0,ae(G,e,C,J,$,Q,Y,Z,X,L,H,x,W,K),Wi=ie,Y|0):(x=c,W=l,H=f,R=a,D=n,Y=o,C=i,T=t,P=r,K=zi[K>>2]|0,K=(K|0)==0,L=zi[G>>2]|0,x=K?x:1,L=K?R:L,G=(Y|0)==0,G&=1,G&=T,G=(G|0)==0,K=G?D:1,G=G?P:0,Z=zi[Z>>2]|0,ae(G,e,C,J,$,Q,Y,Z,X,L,H,x,W,K),Wi=ie,Y|0)}function zr(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0;for(g=Wi,Wi=Wi+416|0,u=g+372|0,_=g,p=g+376|0,v=g+368|0,S=g+364|0,zi[u>>2]=e,l=_+32|0,zi[l>>2]=0,c=_+8|0,zi[c>>2]=0,E=_+28|0,zi[E>>2]=0,w=_+4|0,zi[w>>2]=0,zi[_>>2]=0,zi[S>>2]=0,zi[v>>2]=0,d=_+12|0,h=_+16|0,b=_+20|0,k=_+24|0,m=_+296|0,xi[m>>0]=0,zi[d>>2]=0,zi[d+4>>2]=0,zi[d+8>>2]=0,zi[d+12>>2]=0;;){if(r=xi[e>>0]|0,!(r<<24>>24==9|r<<24>>24==32))break;a=e+1|0,zi[u>>2]=a,e=a}for(;;){if(r<<24>>24==0|r<<24>>24==9|r<<24>>24==32){f=7;break}if(!((e|0)>47&(e|0)<58)){f=9;break}r=e+1|0,zi[u>>2]=r,e=r,r=xi[r>>0]|0}e:do if((f|0)==7)if((r+-48&255)<10){t=0;do t=(r<<24>>24)+-48+(t*10|0)|0,e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0;while((r+-48&255)<10)}else t=0;else if((f|0)==9)for(r=Ir(e)|0,r?(r|0)==-1?(s(11256),t=0):t=r:(s(11216),t=0);;){if(r=xi[e>>0]|0,r<<24>>24==0|r<<24>>24==9|r<<24>>24==32)break e;a=e+1|0,zi[u>>2]=a,e=a}while(0);for(;;){if(!(r<<24>>24)){f=96;break}if(!(r<<24>>24==9|r<<24>>24==32))break;a=e+1|0,zi[u>>2]=a,r=xi[a>>0]|0,e=a}if((f|0)==96)return N(t,e,_),void(Wi=g);o=_+36|0,n=_+101|0,a=_+166|0;do{do if(!(Hr(u,p,_,o,S,v)|0)){if(!(oi(p,30760)|0)){for(e=zi[u>>2]|0;;){if(r=xi[e>>0]|0,r<<24>>24==61)break;if(!(r<<24>>24==9|r<<24>>24==32)){f=24;break}r=e+1|0,zi[u>>2]=r,e=r}if((f|0)==24){f=0,s(10888);break}for(;;)if(e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0,!(r<<24>>24==9|r<<24>>24==32)){if(r<<24>>24==45){f=26;break}f=30;break}if((f|0)==26){for(;;){if(f=0,e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0,!(r<<24>>24==9|r<<24>>24==32))break;f=26}if((r+-48&255)<10){i=0;do i=(r<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0;while((r+-48&255)<10);e=i}else e=0;e=0-e|0}else if((f|0)==30)if(f=0,(r+-48&255)<10){i=e,e=0;do e=(r<<24>>24)+-48+(e*10|0)|0,i=i+1|0,zi[u>>2]=i,r=xi[i>>0]|0;while((r+-48&255)<10)}else e=0;zi[l>>2]=e,zi[c>>2]=1;break}if(!(oi(p,33392)|0)){for(e=zi[u>>2]|0;;){if(r=xi[e>>0]|0,r<<24>>24==61)break;if(!(r<<24>>24==9|r<<24>>24==32)){f=37;break}r=e+1|0,zi[u>>2]=r,e=r}if((f|0)==37){f=0,s(10928);break}for(;;){if(e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0,r<<24>>24==45){f=39;break}if(!(r<<24>>24==9|r<<24>>24==32)){f=43;break}}if((f|0)==39){for(;;){if(f=0,e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0,!(r<<24>>24==9|r<<24>>24==32))break;f=39}if((r+-48&255)<10){i=0;do i=(r<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0;while((r+-48&255)<10);e=i}else e=0;e=0-e|0}else if((f|0)==43)if(f=0,(r+-48&255)<10){i=e,e=0;do e=(r<<24>>24)+-48+(e*10|0)|0,i=i+1|0,zi[u>>2]=i,r=xi[i>>0]|0;while((r+-48&255)<10)}else e=0;zi[E>>2]=e,zi[w>>2]=1;break}if(!(oi(p,10960)|0)){for(e=zi[u>>2]|0;;){if(r=xi[e>>0]|0,r<<24>>24==61)break;if(!(r<<24>>24==9|r<<24>>24==32)){f=50;break}r=e+1|0,zi[u>>2]=r,e=r}if((f|0)==50){f=0,s(10968);break}for(;;){if(i=e+1|0,
zi[u>>2]=i,r=xi[i>>0]|0,!(r<<24>>24==9|r<<24>>24==32)){if(r<<24>>24==34){f=52;break}e=0,f=59;break}e=i}if((f|0)==52){for(f=0,xi[n>>0]=34,i=e+2|0,zi[u>>2]=i,r=xi[i>>0]|0,e=1;;){if(r<<24>>24==34){f=56;break}if(xi[_+101+e>>0]=r,!(r<<24>>24))break;if(i=i+1|0,zi[u>>2]=i,e=e+1|0,r=xi[i>>0]|0,(e|0)>=64){f=57;break}}(f|0)==56?(f=0,xi[_+101+e>>0]=34):(f|0)==57&&(f=0,xi[_+101+e>>0]=r),xi[e+1+(_+101)>>0]=0}else if((f|0)==59){for(;;){if(f=0,r<<24>>24==0|r<<24>>24==32)break;if(xi[_+101+e>>0]=r,i=i+1|0,zi[u>>2]=i,e=e+1|0,(e|0)>=64)break;r=xi[i>>0]|0,f=59}xi[_+101+e>>0]=0}zi[d>>2]=1;break}if(oi(p,11e3)|0){if(oi(p,11008)|0){xr(u,p,k,m,64)|0;break}for(e=zi[u>>2]|0;;){if(r=xi[e>>0]|0,r<<24>>24==61)break;if(!(r<<24>>24==9|r<<24>>24==32)){f=86;break}r=e+1|0,zi[u>>2]=r,e=r}if((f|0)==86){f=0,s(11016);break}do e=e+1|0,zi[u>>2]=e,r=xi[e>>0]|0;while(r<<24>>24==9|r<<24>>24==32);for(i=e,e=0;;){if(r<<24>>24==0|r<<24>>24==32)break;if(xi[_+231+e>>0]=r,i=i+1|0,zi[u>>2]=i,e=e+1|0,(e|0)>=64)break;r=xi[i>>0]|0}xi[_+231+e>>0]=0,zi[b>>2]=1;break}for(e=zi[u>>2]|0;;){if(r=xi[e>>0]|0,r<<24>>24==61)break;if(!(r<<24>>24==9|r<<24>>24==32)){f=68;break}r=e+1|0,zi[u>>2]=r,e=r}if((f|0)==68){f=0,s(10968);break}for(;;){if(i=e+1|0,zi[u>>2]=i,r=xi[i>>0]|0,r<<24>>24==34){f=70;break}if(!(r<<24>>24==9|r<<24>>24==32)){e=0,f=77;break}e=i}if((f|0)==70){for(f=0,xi[a>>0]=34,i=e+2|0,zi[u>>2]=i,r=xi[i>>0]|0,e=1;;){if(r<<24>>24==34){f=74;break}if(xi[_+166+e>>0]=r,!(r<<24>>24))break;if(i=i+1|0,zi[u>>2]=i,e=e+1|0,r=xi[i>>0]|0,(e|0)>=64){f=75;break}}(f|0)==74?(f=0,xi[_+166+e>>0]=34):(f|0)==75&&(f=0,xi[_+166+e>>0]=r),xi[e+1+(_+166)>>0]=0}else if((f|0)==77){for(;;){if(f=0,r<<24>>24==0|r<<24>>24==32)break;if(xi[_+166+e>>0]=r,i=i+1|0,zi[u>>2]=i,e=e+1|0,(e|0)>=64)break;r=xi[i>>0]|0,f=77}xi[_+166+e>>0]=0}zi[h>>2]=1}while(0);e=zi[u>>2]|0}while((xi[e>>0]|0)!=0);return(zi[S>>2]|0)!=0&(zi[w>>2]|0)==0?(zi[w>>2]=1,zi[E>>2]=zi[v>>2],v=e,N(t,v,_),void(Wi=g)):(v=e,N(t,v,_),void(Wi=g))}function qr(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0;if(p=Wi,Wi=Wi+144|0,d=p+8|0,c=p,b=p+24|0,m=p+12|0,k=p+16|0,h=p+64|0,zi[2412]=0,zi[2424]|0){o=b,t=9656,i=o+40|0;do zi[o>>2]=zi[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(i|0))}else zi[b>>2]=zi[2414],zi[2414]=0,zi[b+4>>2]=zi[2415],zi[2415]=0,zi[b+8>>2]=zi[2416],zi[2416]=0,zi[b+12>>2]=zi[2417],zi[2417]=0,zi[b+16>>2]=zi[2418],zi[2418]=0,zi[b+20>>2]=zi[2419],zi[2419]=0,zi[b+24>>2]=zi[2420],zi[2420]=0,zi[b+28>>2]=zi[2421],zi[2421]=0,zi[b+32>>2]=zi[2422],zi[2422]=0,zi[b+36>>2]=zi[2423],zi[2423]=0;if(t=zi[e>>2]|0,i=xi[t>>0]|0,o=vt(8768,i<<24>>24)|0)do zi[b+(o-8768<<2)>>2]=1,t=t+1|0,zi[e>>2]=t,i=xi[t>>0]|0,o=vt(8768,i<<24>>24)|0;while((o|0)!=0);if(i<<24>>24==91){zi[2428]=t-(zi[2426]|0),(zi[3498]|0)==2&&u(11304),o=9720,t=b,i=o+40|0;do zi[o>>2]=zi[t>>2],o=o+4|0,t=t+4|0;while((o|0)<(i|0));if(W(9720),(zi[3498]|0)==1){o=b,i=o+40|0;do zi[o>>2]=0,o=o+4|0;while((o|0)<(i|0))}zi[2440]=1,t=zi[e>>2]|0;do t=t+1|0,zi[e>>2]=t,i=xi[t>>0]|0;while(i<<24>>24==9|i<<24>>24==32);o=1}else o=zi[2440]|0;if((o|0)!=0&(zi[3498]|0)!=1&&(zi[b>>2]=zi[2430]|zi[b>>2],i=b+4|0,zi[i>>2]=zi[2431]|zi[i>>2],i=b+8|0,zi[i>>2]=zi[2432]|zi[i>>2],i=b+12|0,zi[i>>2]=zi[2433]|zi[i>>2],i=b+16|0,zi[i>>2]=zi[2434]|zi[i>>2],i=b+20|0,zi[i>>2]=zi[2435]|zi[i>>2],i=b+24|0,zi[i>>2]=zi[2436]|zi[i>>2],i=b+28|0,zi[i>>2]=zi[2437]|zi[i>>2],i=b+32|0,zi[i>>2]=zi[2438]|zi[i>>2],i=b+36|0,zi[i>>2]=zi[2439]|zi[i>>2],i=xi[t>>0]|0),i<<24>>24==120)return zi[e>>2]=t+1,Pr(m,k,e),Y(b,zi[m>>2]|0,zi[k>>2]|0,1),void(Wi=p);if(i<<24>>24==122)return zi[e>>2]=t+1,Pr(m,k,e),Y(b,zi[m>>2]|0,zi[k>>2]|0,0),void(Wi=p);o=i<<24>>24;do if((o|0)==95)f=t+1|0,zi[e>>2]=f,(xi[f>>0]|0)==95?(zi[e>>2]=t+2,o=2):o=1,f=Cr(e,-1)|0,zi[2412]=f,f&&(f=(o|0)==2,i=f?i:32,o=f?1:o);else{if((o|0)==61){if(o=t+1|0,zi[e>>2]=o,o=xi[o>>0]|0,o<<24>>24==94){zi[e>>2]=t+2,zi[2412]=Cr(e,1)|0,i=94,o=1;break}if(o<<24>>24==95){zi[e>>2]=t+2,zi[2412]=Cr(e,-1)|0,i=95,o=1;break}o=1;break}(o|0)==94?(f=t+1|0,zi[e>>2]=f,(xi[f>>0]|0)==94?(zi[e>>2]=t+2,o=2):o=1,f=Cr(e,1)|0,zi[2412]=f,f&&(f=(o|0)==2,i=f?i:32,o=f?1:o)):(zi[2412]=Cr(e,1)|0,i=32,o=1)}while(0);t=zi[e>>2]|0,a=xi[t>>0]|0,f=a<<24>>24;e:do if((a+-97&255)>=7){if((a+-65&255)<7){for(f=f+32|0,n=t+1|0,zi[e>>2]=n,a=(f<<24>>24)+-32|0,r=0;;){if(t=xi[n>>0]|0,t<<24>>24!=39){if(t<<24>>24!=44)break;n=n+1|0,zi[e>>2]=n,t=xi[n>>0]|0,r=r+-1|0}t<<24>>24==39&&(zi[d>>2]=a,Jt(h,11376,d)|0,s(h),n=(zi[e>>2]|0)+1|0,zi[e>>2]=n,r=r+1|0)}l=f&255,n=44}}else for(n=t+1|0,zi[e>>2]=n,r=1;;){if(t=xi[n>>0]|0,t<<24>>24==39)n=n+1|0,zi[e>>2]=n,t=xi[n>>0]|0,r=r+1|0;else if(t<<24>>24!=44){l=a,n=44;break e}t<<24>>24==44&&(zi[c>>2]=f,Jt(h,11336,c)|0,s(h),n=(zi[e>>2]|0)+1|0,zi[e>>2]=n,r=r+-1|0)}while(0);return((n|0)==44?l<<24>>24!=32:0)?(Pr(m,k,e),$(b,i,o,l,r,zi[m>>2]|0,zi[k>>2]|0),zi[2412]|0?void(Wi=p):(y(),void(Wi=p))):(s(11416),void(Wi=p))}function Vr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;if(i=t+-1|0,!((t|0)>1&(ht(xi[zi[r>>2]>>0]|0)|0)!=0))return r=0,r=e+r|0,void(xi[r>>0]=0);t=0;do xi[e+t>>0]=xi[zi[r>>2]>>0]|0,t=t+1|0,o=(zi[r>>2]|0)+1|0,zi[r>>2]=o;while((t|0)<(i|0)&(ht(xi[o>>0]|0)|0)!=0);o=e+t|0,xi[o>>0]=0}function jr(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;e:do if(Mt(xi[zi[r>>2]>>0]|0)|0)t=0;else{o=t+-1|0,t=0;do{if(i=xi[zi[r>>2]>>0]|0,!((t|0)<(o|0)&i<<24>>24!=0))break e;xi[e+t>>0]=i,t=t+1|0,i=(zi[r>>2]|0)+1|0,zi[r>>2]=i}while((Mt(xi[i>>0]|0)|0)==0)}while(0);xi[e+t>>0]=0}function Wr(e){e|=0;var r=0,t=0,i=0;if(i=Wi,Wi=Wi+48|0,r=i,t=i+8|0,zi[r>>2]=8808,Et(e,11480,r)|0,(xi[e>>0]|0)!=37)return S(e),void(Wi=i);if(e=e+1|0,ht(xi[e>>0]|0)|0){r=0;do xi[t+r>>0]=xi[e>>0]|0,r=r+1|0,e=e+1|0;while((r|0)<39&(ht(xi[e>>0]|0)|0)!=0)}else r=0;xi[t+r>>0]=0,_(t,e),Wi=i}function Yr(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0;do if((xi[e>>0]|0)==34){for(o=e+1|0,t=e,r=o;;){if(i=xi[r>>0]|0,!(i<<24>>24)){l=5;break}if(i<<24>>24==34){l=6;break}t=r,r=r+1|0}if((l|0)==5){s(11504),t=e;break}if((l|0)==6){xi[r>>0]=0,r=t+2|0,t=r;break}}else t=e,r=e,o=0;while(0);for(;;){if(i=xi[r>>0]|0,i<<24>>24==61){l=10;break}if(!(i<<24>>24)){f=1,a=4,n=0;break}r=r+1|0}if((l|0)==10){for(;;){if(l=0,r=xi[t>>0]|0,!(r<<24>>24==9|r<<24>>24==32))break;t=t+1|0,l=10}if(n=((r&-33)+-65&255)<7,t=n?t+1|0:t,n&=1,r=xi[t>>0]|0,(r+-48&255)<10){i=0;do i=(r<<24>>24)+-48+(i*10|0)|0,t=t+1|0,r=xi[t>>0]|0;while((r+-48&255)<10)}else i=0;f=(i|0)==0?1:i;e:do if(r<<24>>24==47){if(t=t+1|0,r=xi[t>>0]|0,(r+-48&255)<10){i=0;do i=(r<<24>>24)+-48+(i*10|0)|0,t=t+1|0,r=xi[t>>0]|0;while((r+-48&255)<10);i?(r=i,l=20):l=18}else l=18;if((l|0)==18)if(r<<24>>24==47){r=2;do r<<=1,t=t+1|0;while((xi[t>>0]|0)==47);l=20}else r=2;if((l|0)==20&&(r|0)<=1)break;for(i=r;;){if(i&1)break;if(!((i|0)>3))break e;i=(i|0)/2|0}u(10560)}else r=1;while(0);for(;;){if(i=xi[t>>0]|0,i<<24>>24==61)break;if(!(i<<24>>24==9|i<<24>>24==32)){l=28;break}t=t+1|0}(l|0)==28&&s(11536),a=r,t=t+1|0}for(;;){if(r=xi[t>>0]|0,!(r<<24>>24==9|r<<24>>24==32))break;t=t+1|0}if((r+-48&255)<10){i=0;do i=(r<<24>>24)+-48+(i*10|0)|0,t=t+1|0,r=xi[t>>0]|0;while((r+-48&255)<10)}else i=0;if(r<<24>>24!=34)return l=0,void D(i,f,a,n,o,l);for(t=t+1|0,e=t;;){if(r=xi[e>>0]|0,r<<24>>24==34){l=40;break}if(!(r<<24>>24)){l=39;break}e=e+1|0}return(l|0)==39?(s(11504),l=t,void D(i,f,a,n,o,l)):(l|0)==40?(xi[e>>0]=0,l=t,void D(i,f,a,n,o,l)):void 0}function Kr(){var e=0,r=0;e=9768,r=e+72|0;do zi[e>>2]=0,e=e+4|0;while((e|0)<(r|0))}function Xr(e){return e|=0,(e+-72&255)>18?(e=0,e|0):(e=zi[9768+((e<<24>>24)+-72<<2)>>2]|0,e|0)}function Gr(){var e=0,r=0;r=0;do e=zi[9768+(r<<2)>>2]|0,e&&ci(e),r=r+1|0;while((r|0)!=19)}function Zr(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,d=0,h=0,b=0,k=0;if(k=Wi,Wi=Wi+32|0,c=k+16|0,n=k,f=k+4|0,a=k+8|0,t=k+12|0,o=e&255,b=e<<24>>24,(b|0)==88){for(;;){if(e=xi[r>>0]|0,!(e<<24>>24==9|e<<24>>24==32))break;r=r+1|0}if(((e<<24>>24)+-48|0)>>>0>=10&&(s(10464),e=xi[r>>0]|0),(e+-48&255)<10){t=e,e=0;do e=(t<<24>>24)+-48+(e*10|0)|0,r=r+1|0,t=xi[r>>0]|0;while((t+-48&255)<10)}else e=0;return zi[2462]|0&&s(11608),ce(e),xi[8928]=0,xi[8958]=0,xi[8988]=0,xi[9018]=0,xi[9048]=0,xi[9078]=0,xi[9108]=0,xi[9138]=0,xi[9168]=0,xi[9198]=0,xi[9228]=0,xi[9258]=0,xi[9288]=0,xi[9318]=0,xi[9348]=0,xi[9378]=0,xi[9408]=0,xi[9438]=0,xi[9468]=0,xi[9498]=0,xi[9528]=0,xi[9558]=0,xi[9588]=0,xi[9618]=0,zi[2196]=0,zi[2462]=1,zi[2464]=0,zi[2440]=0,void(Wi=k)}if(!(zi[2226]|0))return void(Wi=k);for(((zi[2464]|0)!=0?(ti(11640,b,16)|0)==0:0)?(s(11656),e=r):e=r;;){if(i=xi[e>>0]|0,!(i<<24>>24)){d=e,h=0;break}if(i<<24>>24==37){l=17;break}e=e+1|0}for((l|0)==17&&(xi[e>>0]=0,d=e+1|0,h=1);;){if(zi[c>>2]=r,e=xi[r>>0]|0,!(e<<24>>24==9|e<<24>>24==32))break;r=r+1|0}e:do switch(b|0){case 43:(xi[8816]|0)==119&&A(r);break;case 119:t=(wi(r|0)|0)+-1|0,e=r+t|0;r:do if((t|0)>-1)for(i=e;;){if(e=r+t|0,(xi[i>>0]|0)!=32)break r;if(xi[e>>0]=0,t=t+-1|0,e=r+t|0,!((t|0)>-1))break;i=e}while(0);r:do if((xi[e>>0]|0)==92)if(u(11560),xi[e>>0]=0,(t|0)>0)for(;;){if(i=t,t=t+-1|0,e=r+t|0,(xi[e>>0]|0)!=32){e=1;break r}if(xi[e>>0]=0,(i|0)<=1){e=1;break}}else e=1;else e=0;while(0);O(r,e);break;case 115:M(o,r);break;case 100:M(o,r);break;case 81:Yr(r);break;case 85:for(;;){if(!(e<<24>>24==9|e<<24>>24==32)){n=e;break}a=r+1|0,zi[c>>2]=a,e=xi[a>>0]|0,r=a}if(f=n+-72<<24>>24,(f&255)>=19){u(11960);break e}for(;;){if(i=r+1|0,zi[c>>2]=i,e=xi[i>>0]|0,!(e<<24>>24==9|e<<24>>24==32)){if(e<<24>>24==61){t=i;break}l=66;break}r=i}if((l|0)==66){s(11928);break e}for(;;){if(i=t+1|0,zi[c>>2]=i,e=xi[i>>0]|0,e<<24>>24==33){l=49;break}if(!(e<<24>>24==9|e<<24>>24==32)){l=48;break}r=t,t=i}if((l|0)==48){if(dt(e<<24>>24)|0){e=i;do e=e+1|0,zi[c>>2]=e;while((dt(xi[e>>0]|0)|0)!=0)}else e=i;xi[e>>0]=0}else if((l|0)==49){i=r+3|0,zi[c>>2]=i;r:do if(bt(xi[i>>0]|0)|0)e=i;else{e=i;do{if((xi[e>>0]|0)==33)break r;e=e+1|0,zi[c>>2]=e}while((bt(xi[e>>0]|0)|0)==0)}while(0);(xi[e>>0]|0)!=33&&s(11864),xi[e>>0]=0}if(!(xi[i>>0]|0)){s(11896);break e}do if((f&255)<=18){if(r=9768+((n<<24>>24)+-72<<2)|0,e=zi[r>>2]|0,e&&ci(e),e=li((wi(i|0)|0)+1|0)|0){yi(e|0,i|0)|0,zi[r>>2]=e;break}ho(10416)|0,Fo(0)}while(0);break;case 76:if(Dr(a,t,c),(zi[a>>2]|0)!=1){s(11808);break e}if(e=zi[t>>2]|0,(e|0)>0){T(e);break e}s(11840);break e;case 86:zr(r);break;case 80:R(r);break;case 75:if(e=Ur(r)|0,r=zi[2462]|0,!(zi[2464]|r)){s(11736);break e}if(e){zi[2464]=1,zi[2462]=0;break e}r&&s(11688);break;case 77:if(Si(9864,r|0,16)|0,!(ai(r,11064,4)|0)){P(4,4,0);break e}Dr(n,f,c),c=xi[zi[c>>2]>>0]|0,c<<24>>24==108|c<<24>>24==115&&s(11768),r=zi[n>>2]|0,e=zi[f>>2]|0,(r|0)!=0&(e|0)!=0&&P(r,e,1);break;case 73:et(r);break;default:M(o,r)}while(0);return h&&Wr(d),(b|0)==119?(xi[8816]=119,void(Wi=k)):(xi[8816]=32,void(Wi=k))}function Jr(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,l=0,c=0,k=0,m=0,p=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,K=0,Z=0,J=0,Q=0,$=0,ee=0,re=0,te=0,ie=0,oe=0,ne=0,ae=0,fe=0,se=0,ue=0,le=0,ce=0,de=0,he=0,be=0,ke=0,me=0,pe=0;pe=Wi,Wi=Wi+192|0,me=pe,be=pe+68|0,ke=pe+112|0,ue=pe+16|0,ce=pe+56|0,de=pe+4|0,he=pe+72|0,i=ue,t=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(t|0));for(E(),r=e;;){if(t=xi[r>>0]|0,!(t<<24>>24)){ae=0;break}if(t<<24>>24==37){l=4;break}r=r+1|0}for((l|0)==4&&(xi[r>>0]=0,r=r+1|0,ae=1),t=e;;){if(zi[be>>2]=t,e=xi[t>>0]|0,!(e<<24>>24)){le=32;break}if(!(e<<24>>24==9|e<<24>>24==32)){l=7;break}t=t+1|0}e:do if((l|0)==7){re=ce+4|0,te=ce+8|0,ie=ue+16|0,oe=de+4|0,ne=de+8|0,k=ue+4|0,m=ue+8|0,p=ue+12|0,S=ue+20|0,v=ue+24|0,_=ue+28|0,g=ue+32|0,y=ue+36|0,F=ue+4|0,M=ue+8|0,O=ue+12|0,A=ue+20|0,R=ue+24|0,N=ue+28|0,T=ue+32|0,D=ue+36|0,P=ue+4|0,C=ue+8|0,K=ue+12|0,Z=ue+20|0,J=ue+24|0,Q=ue+28|0,$=ue+32|0,ee=ue+36|0,c=32;r:for(;;){if(zi[2428]=t-(zi[2426]|0),e=xi[t>>0]|0,e<<24>>24==46?(e=t+1|0,(xi[e>>0]|0)==40?(zi[be>>2]=e,H(1),t=(zi[be>>2]|0)+1|0,zi[be>>2]=t,e=xi[t>>0]|0,l=12):(e=46,l=13)):l=12,(l|0)==12)switch(e<<24>>24){case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 97:case 98:case 99:case 100:case 101:case 102:case 103:l=15;break;default:l=13}t:do if((l|0)==13)if(l=0,i=e<<24>>24,(ti(12024,i,4)|0)==0?(vt(8768,i)|0)==0:0){do switch(i|0){case 34:if(i=t+1|0,zi[be>>2]=i,zi[ce>>2]=0,zi[re>>2]=40,e=li(41)|0,!e){l=20;break r}for(zi[te>>2]=e,xi[e>>0]=0,o=0;;){if(i=xi[i>>0]|0,i<<24>>24==34){l=27;break}if(!(i<<24>>24)){t=e,l=26;break}(o|0)<(zi[re>>2]|0)?t=o:(vr(ce),e=zi[te>>2]|0,t=zi[ce>>2]|0),xi[e+t>>0]=i,e=zi[te>>2]|0,o=(zi[ce>>2]|0)+1|0,xi[e+o>>0]=0,zi[ce>>2]=o,t=zi[be>>2]|0,i=t+1|0,zi[be>>2]=i}(l|0)==26?(l=0,s(12032)):(l|0)==27&&(l=0,zi[be>>2]=t+2,t=e),rt(t),t&&(ci(t),zi[te>>2]=0),zi[ce>>2]=0,zi[re>>2]=0,e=c;break t;case 58:if(e=t+1|0,zi[be>>2]=e,e=xi[e>>0]|0,(e|0)==124){a=t+2|0,zi[be>>2]=a,f=0,o=0;i:for(;;)if(t=xi[a>>0]|0,i=(o|0)>0,e=a+1|0,n=i&t<<24>>24==44,((t<<24>>24)+-48|0)>>>0<10){if(xi[ke+f>>0]=t,t=f+1|0,(f|0)>49){l=62;break}f=t,o=o+1|0,a=e}else{do if(t<<24>>24==45){if(n){if(((xi[e>>0]|0)+-48|0)>>>0<10)break;t=f,e=a;break i}if(!i){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}else{if(!n){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}while(0);if(xi[ke+f>>0]=t,t=f+1|0,(f|0)>49){l=64;break}f=t,o=0,a=e}if((l|0)==62?(l=0,s(11456)):(l|0)==64&&(l=0,s(11456)),xi[ke+t>>0]=0,zi[be>>2]=e,G(3,ke),t=zi[be>>2]|0,(xi[t>>0]|0)!=93){e=c;break t}zi[be>>2]=t+1,e=c;break t}if((e|0)==58){G(9,44152),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}s(12072),e=c;break t;case 60:if(e<<24>>24==60){for(e=0;;){if(i=e+1|0,t=t+1|0,zi[be>>2]=t,(xi[t>>0]|0)!=60){t=i;break}e=i}if((e|0)>2){s(12160),e=c;break t}}else t=0;z(50,t),e=c;break t;case 124:if(e=t+1|0,zi[be>>2]=e,i=xi[e>>0]|0,t=i<<24>>24,(t|0)==93){G(11,44152),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}if((t|0)==124){G(1,44152),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}if((t|0)==58){G(2,44152),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}f=0,o=0,a=e;i:for(;;){if(t=(o|0)>0,e=a+1|0,n=t&i<<24>>24==44,((i<<24>>24)+-48|0)>>>0<10){if(xi[ke+f>>0]=i,t=f+1|0,(f|0)>49){l=46;break}o=o+1|0}else{do if(i<<24>>24==45){if(n){if(((xi[e>>0]|0)+-48|0)>>>0<10)break;t=f,e=a;break i}if(!t){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}else{if(!n){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}while(0);if(xi[ke+f>>0]=i,t=f+1|0,(f|0)>49){l=48;break}o=0}i=xi[e>>0]|0,f=t,a=e}(l|0)==46?(l=0,s(11456)):(l|0)==48&&(l=0,s(11456)),xi[ke+t>>0]=0,zi[be>>2]=e,G(0,ke),e=c;break t;case 62:if(e<<24>>24==62){for(e=0;;){if(i=e+1|0,t=t+1|0,zi[be>>2]=t,(xi[t>>0]|0)!=62){t=i;break}e=i}if((e|0)>2){s(12144),e=c;break t}}else t=0;z(51,t),e=c;break t;case 9:for(t=zi[be>>2]|0;;){if(a=xi[t>>0]|0,!(a<<24>>24==9|a<<24>>24==32)){e=c;break t}a=t+1|0,zi[be>>2]=a,t=a}case 91:if(e=t+1|0,zi[be>>2]=e,i=xi[e>>0]|0,i<<24>>24==124){zi[be>>2]=t+2,G(10,44152),t=zi[be>>2]|0,(xi[t>>0]|0)==58&&(G(2,44152),t=zi[be>>2]|0),zi[be>>2]=t+1,e=c;break t}if(t=i<<24>>24,!((t+-48|0)>>>0<10)){if(a=(ht(t)|0)==0,i=zi[be>>2]|0,a?0:(xi[i+1>>0]|0)==58){for(t=i;;){if(a=xi[t>>0]|0,e=a<<24>>24==93,o=t+1|0,!(a<<24>>24!=0&(e^1)))break;t=o}e?(xi[t>>0]=0,Zr(xi[i>>0]|0,i+2|0),t=o):(s(12e3),Zr(xi[i>>0]|0,i+2|0)),zi[be>>2]=t,e=c;break t}zi[2428]=i-(zi[2426]|0),zi[2430]=zi[2414]|zi[ue>>2],zi[2431]=zi[2415]|zi[k>>2],zi[2432]=zi[2416]|zi[m>>2],zi[2433]=zi[2417]|zi[p>>2],zi[2434]=zi[2418]|zi[ie>>2],zi[2435]=zi[2419]|zi[S>>2],zi[2436]=zi[2420]|zi[v>>2],zi[2437]=zi[2421]|zi[_>>2],zi[2438]=zi[2422]|zi[g>>2],zi[2439]=zi[2423]|zi[y>>2],W(9720),zi[2440]=1,e=c;break t}f=0,o=0,a=e;i:for(;;){if(t=(o|0)>0,e=a+1|0,n=t&i<<24>>24==44,((i<<24>>24)+-48|0)>>>0<10){if(xi[ke+f>>0]=i,t=f+1|0,(f|0)>49){l=105;break}o=o+1|0}else{do if(i<<24>>24==45){if(n){if(((xi[e>>0]|0)+-48|0)>>>0<10)break;t=f,e=a;break i}if(!t){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}else{if(!n){t=f,e=a;break i}if(((xi[e>>0]|0)+-48|0)>>>0>=10){t=f,e=a;break i}}while(0);if(xi[ke+f>>0]=i,t=f+1|0,(f|0)>49){l=107;break}o=0}i=xi[e>>0]|0,f=t,a=e}(l|0)==105?(l=0,s(11456)):(l|0)==107&&(l=0,s(11456)),xi[ke+t>>0]=0,zi[be>>2]=e,I(ke),e=c;break t;case 93:zi[be>>2]=t+1,Pr(10392,10400,be),j(zi[2598]|0,zi[2600]|0),zi[2440]=0,i=9720,t=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(t|0));i=9656,t=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(t|0));e=c;break t;case 123:zi[be>>2]=t+1,L(),zi[2190]=1,e=c;break t;case 125:zi[be>>2]=t+1,B(),zi[2190]=0,e=c;break t;case 120:if(i=t+1|0,zi[be>>2]=i,e=xi[i>>0]|0,(e+-48&255)<10)for(t=i,i=0;;){if(i=(e<<24>>24)+-48+(i*10|0)|0,o=t+1|0,zi[be>>2]=o,e=xi[o>>0]|0,!((e+-48&255)<10))break;t=o}else i=0;f=(i|0)==0?1:i;i:do if(e<<24>>24==47){if(e=t+2|0,zi[be>>2]=e,t=xi[e>>0]|0,(t+-48&255)<10){i=0;do i=(t<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[be>>2]=e,t=xi[e>>0]|0;while((t+-48&255)<10);i?(t=i,l=127):l=125}else l=125;if((l|0)==125)if(l=0,t<<24>>24==47){t=2;do t<<=1,e=e+1|0,zi[be>>2]=e;while((xi[e>>0]|0)==47);l=127}else t=2;if((l|0)==127&&(l=0,(t|0)<=1))break;for(i=t;;){if(i&1)break;if(!((i|0)>3))break i;i=(i|0)/2|0}u(10560)}else t=1;while(0);zi[ue>>2]=zi[2414],zi[2414]=0,zi[F>>2]=zi[2415],zi[2415]=0,zi[M>>2]=zi[2416],zi[2416]=0,zi[O>>2]=zi[2417],zi[2417]=0,zi[ie>>2]=zi[2418],zi[2418]=0,zi[A>>2]=zi[2419],zi[2419]=0,zi[R>>2]=zi[2420],zi[2420]=0,zi[N>>2]=zi[2421],zi[2421]=0,zi[T>>2]=zi[2422],zi[2422]=0,zi[D>>2]=zi[2423],zi[2423]=0,Y(ue,f,t,1),zi[ie>>2]=0,e=c;break t;case 41:zi[be>>2]=t+1,x(0),e=c;break t;case 40:if(i=t+1|0,zi[be>>2]=i,e=xi[i>>0]|0,(e+-48&255)<10){for(o=0;;){if(o=(e<<24>>24)+-48+(o*10|0)|0,n=i+1|0,zi[be>>2]=n,e=xi[n>>0]|0,!((e+-48&255)<10))break;t=i,i=n}if(o){if(e<<24>>24==58){if(i=t+3|0,zi[be>>2]=i,t=xi[i>>0]|0,(t+-48&255)<10){e=i,i=0;do i=(t<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[be>>2]=e,t=xi[e>>0]|0;while((t+-48&255)<10);n=i}else e=i,n=0;if(t<<24>>24==58?(fe=e+1|0,zi[be>>2]=fe,se=xi[fe>>0]|0,(se+-48&255)<10):0){t=se,e=fe,i=0;do i=(t<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[be>>2]=e,t=xi[e>>0]|0;while((t+-48&255)<10);t=n}else t=n,i=0}else t=0,i=0;q(o,t,i),e=c;break t}t=i}if(e<<24>>24==38){zi[be>>2]=t+2,d(),e=c;break t}H(1),e=c;break t;case 32:for(t=zi[be>>2]|0;;){if(a=xi[t>>0]|0,!(a<<24>>24==9|a<<24>>24==32)){e=c;break t}a=t+1|0,zi[be>>2]=a,t=a}case 121:if(i=t+1|0,zi[be>>2]=i,e=xi[i>>0]|0,(e+-48&255)<10)for(t=i,o=0;;){if(o=(e<<24>>24)+-48+(o*10|0)|0,i=t+1|0,zi[be>>2]=i,e=xi[i>>0]|0,(e+-48&255)>=10)break;t=i}i:do if(e<<24>>24==47){if(i=t+2|0,zi[be>>2]=i,t=xi[i>>0]|0,(t+-48&255)<10){e=t,t=0;do t=(e<<24>>24)+-48+(t*10|0)|0,i=i+1|0,zi[be>>2]=i,e=xi[i>>0]|0;while((e+-48&255)<10);t?l=155:(t=e,e=i,l=153)}else e=i,l=153;if((l|0)==153)if(l=0,t<<24>>24==47){t=2;do t<<=1,e=e+1|0,zi[be>>2]=e;while((xi[e>>0]|0)==47);l=155}else t=2;if((l|0)==155&&(l=0,(t|0)<=1))break;for(;;){if(t&1)break;if(!((t|0)>3))break i;t=(t|0)/2|0}u(10560)}while(0);e=c;break t;case 122:if(i=t+1|0,zi[be>>2]=i,e=xi[i>>0]|0,(e+-48&255)<10)for(t=i,i=0;;){if(i=(e<<24>>24)+-48+(i*10|0)|0,o=t+1|0,zi[be>>2]=o,e=xi[o>>0]|0,!((e+-48&255)<10))break;t=o}else i=0;f=(i|0)==0?1:i;i:do if(e<<24>>24==47){if(e=t+2|0,zi[be>>2]=e,t=xi[e>>0]|0,(t+-48&255)<10){i=0;do i=(t<<24>>24)+-48+(i*10|0)|0,e=e+1|0,zi[be>>2]=e,t=xi[e>>0]|0;while((t+-48&255)<10);i?(t=i,l=141):l=139}else l=139;if((l|0)==139)if(l=0,t<<24>>24==47){t=2;do t<<=1,e=e+1|0,zi[be>>2]=e;while((xi[e>>0]|0)==47);l=141}else t=2;if((l|0)==141&&(l=0,(t|0)<=1))break;for(i=t;;){if(i&1)break;if(!((i|0)>3))break i;i=(i|0)/2|0}u(10560)}else t=1;while(0);zi[ue>>2]=zi[2414],zi[2414]=0,zi[P>>2]=zi[2415],zi[2415]=0,zi[C>>2]=zi[2416],zi[2416]=0,zi[K>>2]=zi[2417],zi[2417]=0,zi[ie>>2]=zi[2418],zi[2418]=0,zi[Z>>2]=zi[2419],zi[2419]=0,zi[J>>2]=zi[2420],zi[2420]=0,zi[Q>>2]=zi[2421],zi[2421]=0,zi[$>>2]=zi[2422],zi[2422]=0,zi[ee>>2]=zi[2423],zi[2423]=0,Y(ue,f,t,0),zi[ie>>2]=0,e=c;break t;case 88:case 90:if(e=t+1|0,zi[be>>2]=e,i=xi[e>>0]|0,(i+-48&255)<10)for(t=e,e=0;;){if(e=(i<<24>>24)+-48+(e*10|0)|0,o=t+1|0,zi[be>>2]=o,i=xi[o>>0]|0,!((i+-48&255)<10))break;t=o}else e=0;if(f=(e|0)==0?1:e,i<<24>>24==47){if(i=t+2|0,zi[be>>2]=i,t=xi[i>>0]|0,(t+-48&255)<10){e=0;do e=(t<<24>>24)+-48+(e*10|0)|0,i=i+1|0,zi[be>>2]=i,t=xi[i>>0]|0;while((t+-48&255)<10);e?(t=e,l=169):l=167}else l=167;if((l|0)==167)if(t<<24>>24==47){t=2;do t<<=1,i=i+1|0,zi[be>>2]=i;while((xi[i>>0]|0)==47);l=169}else t=2,l=170;(l|0)==169&&(l=0,(t|0)>1&&(l=170));i:do if((l|0)==170){for(l=0,i=t;;){if(i&1)break;if(!((i|0)>3))break i;i=(i|0)/2|0}u(10560)}while(0);(t|0)!=1?s(12096):t=1}else t=1;X(f,t),zi[ie>>2]=0,e=c;break t;case 33:break;case 47:if(zi[be>>2]=t+1,zi[2190]|0){e=c;break t}s(12280),e=c;break t;case 115:e=zi[2228]|0,e=(e|0)==0?1:e+-1|0,zi[2228]=e,it(e),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t;case 43:if(zi[2200]|0){if(zi[2428]=t-(zi[2426]|0),V(),a=1-(zi[2440]|0)|0,zi[2440]=a,!a){i=9720,t=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(t|0))}zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}break;case 42:if(t=t+1|0,zi[be>>2]=t,e=xi[t>>0]|0,e<<24>>24==42)for(i=1;;){if(t=t+1|0,zi[be>>2]=t,e=xi[t>>0]|0,e<<24>>24!=42)break;i=i+1|0}for(;;){if(!(e<<24>>24)){l=218;break}if(!(e<<24>>24==9|e<<24>>24==32)){l=219;break}e=t+1|0,t=e,e=xi[e>>0]|0}if((l|0)==218){l=0,e=42;break t}if((l|0)==219){l=0,s(12248),e=c;break t}break;case 45:U(),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t;case 92:for(e=t+1|0,zi[be>>2]=e;;){if(t=xi[e>>0]|0,!(t<<24>>24)){l=190;break}if(!(t<<24>>24==9|t<<24>>24==32)){l=191;break}e=e+1|0}if((l|0)==190){l=0,e=92;break t}if((l|0)==191){l=0,s(12176),e=c;break t}break;case 38:if(a=t+1|0,zi[be>>2]=a,(xi[a>>0]|0)==41){zi[be>>2]=t+2,h(),e=c;break t}b(),e=c;break t;default:(e+-72&255)<19?ot(e):(zi[me>>2]=i,Jt(he,12312,me)|0,s(he)),zi[be>>2]=(zi[be>>2]|0)+1,e=c;break t}while(0);if(a=t+1|0,zi[be>>2]=a,zi[de>>2]=0,zi[oe>>2]=40,t=li(41)|0,!t){l=197;break r}zi[ne>>2]=t,xi[t>>0]=0,n=xi[a>>0]|0,i=n<<24>>24==e<<24>>24;i:do if(n<<24>>24!=0&(i^1))for(i=0,f=40,o=n;;){if((i|0)>=(f|0)&&(vr(de),t=zi[ne>>2]|0,i=zi[de>>2]|0),xi[t+i>>0]=o,n=zi[ne>>2]|0,t=(zi[de>>2]|0)+1|0,xi[n+t>>0]=0,zi[de>>2]=t,o=(zi[be>>2]|0)+1|0,zi[be>>2]=o,o=xi[o>>0]|0,i=o<<24>>24==e<<24>>24,!(o<<24>>24!=0&(i^1)))break i;i=t,f=zi[oe>>2]|0,t=n}else n=t;while(0);do if(i)tt(n),zi[be>>2]=(zi[be>>2]|0)+1,e=c;else{for(zi[be>>2]=a,e=a;;){if(t=xi[e>>0]|0,!(t<<24>>24)){l=207;break}if(!(t<<24>>24==9|t<<24>>24==32)){l=208;break}e=e+1|0}if((l|0)==207){l=0,e=33;break}if((l|0)==208){l=0,s(12208),e=c;break}}while(0);n&&(ci(n),zi[ne>>2]=0),zi[de>>2]=0,zi[oe>>2]=0}else l=15;while(0);if((l|0)==15&&(qr(be),e=c),t=zi[be>>2]|0,!(xi[t>>0]|0)){le=e;break e}c=e}(l|0)==20?(ho(10416)|0,Fo(0)):(l|0)==197&&(ho(10416)|0,Fo(0))}while(0);return w(le),ae?(Wr(r),void(Wi=pe)):void(Wi=pe)}function Qr(e){e|=0;var r=0,t=0,i=0,o=0,n=0;Si(9880,e|0,512)|0,zi[2426]=e,zi[2190]=0,r=e;e:for(;;){switch(t=xi[r>>0]|0,t<<24>>24){case 0:n=4;break e;case 37:n=7;break e;case 9:case 32:break;case 92:n=5;break e;default:n=9;break e}r=r+1|0}if((n|0)==4)return le(),zi[2462]=0,void(zi[2464]=0);if((n|0)==5)return void!(zi[2226]|0);if((n|0)==7){if(Wr(r+1|0),zi[2226]|0)return;return void p()}if((n|0)==9){if(!(ti(12344,t<<24>>24,29)|0)){if(t=(zi[2226]|0)!=0,zi[2464]|0){if(!t)return;return void Jr(r)}if(!t)return;return void l(r)}for(t=r;;){if(i=t+1|0,o=xi[i>>0]|0,o<<24>>24==58)break;if(!(o<<24>>24==9|o<<24>>24==32)){n=20;break}t=i}if((n|0)==20){if(t=(zi[2226]|0)!=0,zi[2464]|0){if(!t)return;return void Jr(r)}if(!t)return;return void l(r)}if((xi[e+1>>0]|0)!=58&&u(12376),t=t+2|0,e=xi[t>>0]|0,!(e<<24>>24==124|e<<24>>24==58))return void Zr(xi[r>>0]|0,t);if(u(12408),t=(zi[2226]|0)!=0,zi[2464]|0){if(!t)return;return void Jr(r)}if(!t)return;return void l(r)}}function $r(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,u=0,l=0,c=0;c=Wi,Wi=Wi+16|0,r=c,l=c+4|0,u=((ni(e,12504)|0)!=0?(ni(e,12512)|0)!=0:0)?yo(e|0,43904)|0:zi[Gi>>2]|0,u||(zi[r>>2]=e,wo(43912,r|0)|0,Fo(1)),zi[2462]=0,zi[2464]=0,zi[2226]=0,zi[2228]=0,f=l+4|0,zi[l>>2]=0,zi[f>>2]=40,e=li(41)|0,e||(ho(10416)|0,Fo(0)),a=l+8|0,zi[a>>2]=e,xi[e>>0]=0,t=0,r=1,i=0;e:for(;;){n=0;r:for(;;){for(;;){if(o=ko(u|0)|0,(o|0)==-1)break e;if(!((o|0)==10|(o|0)==13)){i=o;break r}if(!n){i=o;break}if((i|0)==13&(o|0)==10)n=0,i=10;else{if(!((i|0)==10&(o|0)==13)){i=o;break}n=0,i=13}}Qr(e),xi[e>>0]=0,zi[l>>2]=0,r=r+1|0,zi[2602]=r,zi[2226]|0?(p(),t=0,n=1):(t=0,n=1)}(t|0)>=(zi[f>>2]|0)&&(vr(l),e=zi[a>>2]|0,t=zi[l>>2]|0),xi[e+t>>0]=i,e=zi[a>>2]|0,t=(zi[l>>2]|0)+1|0,xi[e+t>>0]=0,zi[l>>2]=t}return((t|0)>0?(Qr(e),zi[2602]=r+1,(zi[2226]|0)!=0):0)&&p(),bo(u|0)|0,de(),e=zi[a>>2]|0,e&&(ci(e),zi[a>>2]=0),zi[l>>2]=0,zi[f>>2]=0,zi[2188]|0?void(Wi=c):(s(12520),void(Wi=c))}function et(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,u=0,l=0,c=0;c=Wi,Wi=Wi+16|0,l=c,zi[l>>2]=e,n=1,i=0,f=0,t=0,u=0;e:for(;;)if(r=xi[e>>0]|0,n){for(;;){if(!(r<<24>>24)){e=20;break e}for(Or(l),o=zi[l>>2]|0,e=o;;){if(a=xi[e>>0]|0,a<<24>>24==61|a<<24>>24==32|a<<24>>24==0)break;a=e+1|0,zi[l>>2]=a,e=a}if(Or(l),t=zi[l>>2]|0,r=xi[t>>0]|0,r<<24>>24==61){i=e,e=t,r=o;break}}zi[l>>2]=e+1,Or(l),u=zi[l>>2]|0,e=u,n=0,f=r,t=u}else{if(!(r<<24>>24)){e=20;break}for(n=0,a=t;;){for(Or(l),e=zi[l>>2]|0;;){if(o=xi[e>>0]|0,o<<24>>24==61|o<<24>>24==32|o<<24>>24==0)break;o=e+1|0,zi[l>>2]=o,e=o}if(Or(l),t=zi[l>>2]|0,r=xi[t>>0]|0,r<<24>>24){if(r<<24>>24==61){o=e,e=n,r=a;break}}else xi[i>>0]=0,xi[e>>0]=0,C(f,u),r=xi[zi[l>>2]>>0]|0;if(!(r<<24>>24)){e=20;break e}n=e,a=t}xi[i>>0]=0,e?(xi[e>>0]=0,C(f,u)):s(12648),zi[l>>2]=(zi[l>>2]|0)+1,Or(l),u=zi[l>>2]|0,e=u,n=0,i=o,f=r}return(e|0)==20?void(Wi=c):void 0}function rt(e){e|=0;var r=0,t=0;e:for(;;){for(r=e;;){if(t=xi[r>>0]|0,t<<24>>24==59)break;if(!(t<<24>>24))break e;r=r+1|0}xi[r>>0]=0,re(e),e=r+1|0}re(e)}function tt(e){e|=0;var r=0,t=0;e:for(;;){for(r=e;;){if(t=xi[r>>0]|0,t<<24>>24==59)break;if(!(t<<24>>24))break e;r=r+1|0}xi[r>>0]=0,te(e),e=r+1|0}te(e)}function it(e){return e|=0,e?void H(1):void x(0)}function ot(e){e|=0;var r=0;return r=Xr(e)|0,r?void te(r):void c(e)}function nt(e,r,t,i,o,n){e|=0,r|=0,t|=0,i|=0,o|=0,n|=0;var a=0,f=0,u=0;if(u=zi[3172]|0,(u|0)==-1)return void s(13736);n=((to(zi[832]|0,e)|0)/(r|0)|0)+n|0,f=12696+(u*20|0)+16|0,zi[3172]=zi[f>>2],zi[12696+(u*20|0)+4>>2]=t,zi[12696+(u*20|0)+8>>2]=i,zi[12696+(u*20|0)+12>>2]=o,a=12696+(u*20|0)|0,o=zi[20]|0,r=zi[3430]|0;e:do{if((r|0)!=-1){for(e=13720;;){if(i=12696+(r*20|0)|0,t=zi[i>>2]|0,(n|0)<(t|0))break;if(n=n-t|0,e=12696+(r*20|0)+16|0,r=zi[e>>2]|0,(r|0)==-1)break e}return o=t-n-o|0,zi[i>>2]=(o|0)<0?0:o,zi[f>>2]=r,zi[a>>2]=n,void(zi[e>>2]=u)}e=13720}while(0);zi[e>>2]=u,zi[f>>2]=-1,zi[a>>2]=n}function at(e){e|=0;var r=0,t=0,i=0,o=0,n=0,f=0,s=0,u=0,l=0,c=0,d=0;if(f=Wi,Wi=Wi+64|0,l=f+56|0,u=f,n=f+8|0,o=f+24|0,r=f+40|0,t=zi[3430]|0,(e|0)==-1){d=zi[3172]|0,c=zi[3432]|0,zi[r>>2]=t,zi[r+4>>2]=d,zi[r+8>>2]=c,wo(13792,r|0)|0,r=zi[3430]|0,wo(13832,f+32|0)|0,(r|0)==-1?(lo(10)|0,a(13856)):i=r;do d=zi[12696+(i*20|0)>>2]|0,zi[o>>2]=zi[12696+(i*20|0)+4>>2],zi[o+4>>2]=d,wo(13840,o|0)|0,i=zi[12696+(i*20|0)+16>>2]|0;while((i|0)!=-1);lo(10)|0,a(13856)}if(!(zi[12696+(t*20|0)>>2]|0))return d=12696+(e*20|0)+16|0,zi[3430]=zi[d>>2],zi[d>>2]=zi[3172],zi[3172]=e,void(Wi=f);d=zi[3172]|0,r=zi[3432]|0,zi[n>>2]=t,zi[n+4>>2]=d,zi[n+8>>2]=r,wo(13792,n|0)|0,r=zi[3430]|0,wo(13832,u|0)|0,(r|0)==-1?(lo(10)|0,a(13904)):s=r;do d=zi[12696+(s*20|0)>>2]|0,zi[l>>2]=zi[12696+(s*20|0)+4>>2],zi[l+4>>2]=d,wo(13840,l|0)|0,s=zi[12696+(s*20|0)+16>>2]|0;while((s|0)!=-1);lo(10)|0,a(13904)}function ft(){var e=0,r=0,t=0,i=0;r=zi[3430]|0;e:do if((r|0)==-1)e=-1;else{for(e=0;;){if((zi[12696+(r*20|0)+4>>2]|0)!=-1)break;if(e=(zi[12696+(r*20|0)>>2]|0)+e|0,i=12696+(r*20|0)+16|0,t=r,r=zi[i>>2]|0,zi[3430]=r,zi[i>>2]=zi[3172],zi[3172]=t,(r|0)==-1){t=5;break e}}st(e,1),t=5}while(0);for(;;){if((t|0)==5&&(e=zi[3430]|0),(e|0)==-1)break;s(13952),st((zi[12696+((zi[3430]|0)*20|0)>>2]|0)+1|0,1),t=5}st(25,0)}function st(e,r){e|=0,r|=0;var t=0,n=0,a=0,f=0,s=0;if(s=Wi,Wi=Wi+16|0,f=s,t=zi[3430]|0,(t|0)==-1)return r=e,f=zi[728]|0,f=f+r|0,a=zi[28]|0,f=f-a|0,zi[728]=f,f=zi[738]|0,a=r-a|0,f=a+f|0,zi[738]=f,void(Wi=s);a=f+1|0;e:do{if(r){do{if(r=12696+(t*20|0)|0,n=zi[r>>2]|0,(e|0)<=(n|0))break e;zi[728]=(zi[728]|0)+n,zi[738]=(zi[738]|0)+n,e=e-n|0,zi[r>>2]=0,n=zi[12696+(t*20|0)+4>>2]|0;do if((n|0)!=-1){if(r=zi[12696+(t*20|0)+12>>2]|0,!r){xe(zi[728]|0,n,zi[12696+(t*20|0)+8>>2]|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0;break}zi[736]=(zi[728]|0)+(zi[736]|0),(r|0)==3?(r=(zi[772]|0)+(zi[50]|0)|0,r=(r|0)>16383?16383:r,r=(r|0)<0?0:r,xi[f>>0]=r&127,xi[a>>0]=r>>>7&127,dr(0,224,zi[12696+(t*20|0)+8>>2]|0,f,2)|0,r=zi[3430]|0,xe(zi[728]|0,zi[12696+(r*20|0)+4>>2]|0,zi[12696+(r*20|0)+8>>2]|0),r=zi[50]|0,xi[f>>0]=r&127,xi[a>>0]=r>>>7&127,dr(0,224,zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,f,2)|0):(r|0)==1?i():(r|0)==2&&o(),zi[728]=0}while(0);at(zi[3430]|0),t=zi[3430]|0}while((t|0)!=-1);return f=zi[728]|0,f=f+e|0,a=zi[28]|0,f=f-a|0,zi[728]=f,f=zi[738]|0,a=e-a|0,f=a+f|0,zi[738]=f,void(Wi=s)}do{if(r=12696+(t*20|0)|0,n=zi[r>>2]|0,(e|0)<=(n|0))break e;zi[728]=(zi[728]|0)+n,zi[738]=(zi[738]|0)+n,e=e-n|0,zi[r>>2]=0,r=zi[12696+(t*20|0)+4>>2]|0;do if((r|0)==-1)Ge(zi[12696+(t*20|0)+8>>2]|0);else{if(n=zi[12696+(t*20|0)+12>>2]|0,!n){xe(zi[728]|0,r,zi[12696+(t*20|0)+8>>2]|0),zi[736]=(zi[728]|0)+(zi[736]|0),zi[728]=0;break}zi[736]=(zi[728]|0)+(zi[736]|0),(n|0)==1?i():(n|0)==3?(r=(zi[772]|0)+(zi[50]|0)|0,r=(r|0)>16383?16383:r,r=(r|0)<0?0:r,xi[f>>0]=r&127,xi[a>>0]=r>>>7&127,dr(0,224,zi[12696+(t*20|0)+8>>2]|0,f,2)|0,r=zi[3430]|0,xe(zi[728]|0,zi[12696+(r*20|0)+4>>2]|0,zi[12696+(r*20|0)+8>>2]|0),r=zi[50]|0,xi[f>>0]=r&127,xi[a>>0]=r>>>7&127,dr(0,224,zi[12696+((zi[3430]|0)*20|0)+8>>2]|0,f,2)|0):(n|0)==2&&o(),zi[728]=0}while(0);at(zi[3430]|0),t=zi[3430]|0}while((t|0)!=-1);return f=zi[728]|0,f=f+e|0,a=zi[28]|0,f=f-a|0,zi[728]=f,f=zi[738]|0,a=e-a|0,f=a+f|0,zi[738]=f,void(Wi=s)}while(0);r=12696+(t*20|0)|0,zi[r>>2]=(zi[r>>2]|0)-e,r=e,f=zi[728]|0,f=f+r|0,a=zi[28]|0,f=f-a|0,zi[728]=f,f=zi[738]|0,a=r-a|0,f=a+f|0,zi[738]=f,Wi=s}function ut(){zi[3430]=-1,zi[3172]=0,zi[3178]=1,zi[3183]=2,zi[3188]=3,zi[3193]=4,zi[3198]=5,zi[3203]=6,zi[3208]=7,zi[3213]=8,zi[3218]=9,zi[3223]=10,zi[3228]=11,zi[3233]=12,zi[3238]=13,zi[3243]=14,zi[3248]=15,zi[3253]=16,zi[3258]=17,zi[3263]=18,zi[3268]=19,zi[3273]=20,zi[3278]=21,zi[3283]=22,zi[3288]=23,zi[3293]=24,zi[3298]=25,zi[3303]=26,zi[3308]=27,zi[3313]=28,zi[3318]=29,zi[3323]=30,zi[3328]=31,zi[3333]=32,zi[3338]=33,zi[3343]=34,zi[3348]=35,zi[3353]=36,zi[3358]=37,zi[3363]=38,zi[3368]=39,zi[3373]=40,zi[3378]=41,zi[3383]=42,zi[3388]=43,zi[3393]=44,zi[3398]=45,zi[3403]=46,zi[3408]=47,zi[3413]=48,zi[3418]=49,zi[3423]=-1,zi[3432]=49}function lt(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0;if(p=Wi,Wi=Wi+176|0,b=p+8|0,h=p+96|0,w=p+88|0,d=p+24|0,c=p+40|0,l=p+48|0,m=p+64|0,k=p+72|0,t=p+80|0,r=p,E=p+136|0,a=p+124|0,u=p+120|0,f=p+112|0,s=p+108|0,n=p+104|0,o=p+116|0,Fe(),i=yo(e|0,43904)|0,i||(zi[r>>2]=e,wo(43912,r|0)|0,Fo(1)),(zi[3552]|0)>0&&(zi[t>>2]=e,wo(43936,t|0)|0),mo(i|0)|0)return void(Wi=p);e:for(;;){if(mo(i|0)|0){r=33;break}if(zi[k>>2]=E,(no(i|0,43952,k|0)|0)==-1){r=33;break}zi[m>>2]=a,no(i|0,43952,m|0)|0,e=zi[9138]|0;r:do if((e|0)>0)for(r=0;;){if((oi(E,zi[36560+(r*144|0)>>2]|0)|0)==0?(oi(a,zi[36560+(r*144|0)+4>>2]|0)|0)==0:0)break r;if(r=r+1|0,(r|0)>=(e|0)){r=-1;break}}else r=-1;while(0);if((zi[3552]|0)>1&&(zi[l>>2]=E,zi[l+4>>2]=a,zi[l+8>>2]=r,wo(43960,l|0)|0),zi[c>>2]=f,zi[c+4>>2]=s,e=no(i|0,43984,c|0)|0,(zi[3552]|0)>2&&(S=zi[f>>2]|0,t=zi[s>>2]|0,zi[d>>2]=e,zi[d+4>>2]=S,zi[d+8>>2]=t,wo(43992,d|0)|0),(e|0)!=2){r=18;break}if(e=zi[s>>2]|0,(e|0)>16){r=20;break}if((r|0)<0){if(r=zi[9138]|0,(r|0)>47){r=23;break}zi[9138]=r+1,S=36560+(r*144|0)|0,zi[S>>2]=pr((wi(E|0)|0)+1|0)|0,e=36560+(r*144|0)+4|0,zi[e>>2]=pr((wi(a|0)|0)+1|0)|0,yi(zi[S>>2]|0,E|0)|0,yi(zi[e>>2]|0,a|0)|0,e=zi[s>>2]|0}zi[36560+(r*144|0)+8>>2]=zi[f>>2],zi[36560+(r*144|0)+12>>2]=e;r:do if((e|0)>0){t=0;do{if(zi[h>>2]=n,zi[h+4>>2]=o,e=no(i|0,44128,h|0)|0,(zi[3552]|0)>2&&(v=+Vi[o>>2],zi[b>>2]=zi[n>>2],ji[b+8>>3]=v,wo(43896,b|0)|0),(e|0)!=2){r=29;break e}if(mo(i|0)|0)break r;zi[36560+(r*144|0)+16+(t<<2)>>2]=zi[n>>2],zi[36560+(r*144|0)+80+(t<<2)>>2]=zi[o>>2],t=t+1|0}while((t|0)<(zi[s>>2]|0))}while(0);if(go(u|0,3,i|0)|0,mo(i|0)|0){r=33;break}}if((r|0)==18)Fo(-1);else if((r|0)==20)zi[w>>2]=e,zi[w+4>>2]=E,wo(44024,w|0)|0,Fo(-1);else{if((r|0)==23)return ho(44080)|0,void(Wi=p);if((r|0)==29)Fo(1);else if((r|0)==33)return void(Wi=p)}}function ct(){var e=0,r=0;return r=Wi,Wi=Wi+16|0,e=r,zi[e>>2]=zi[11034],zi[e+4>>2]=zi[11035],zi[e+8>>2]=zi[11036],zi[e+12>>2]=zi[11037],e=he(4,e)|0,Wi=r,e|0}function dt(e){return e|=0,((e+-48|0)>>>0<10|(ht(e)|0)!=0)&1|0}function ht(e){return e|=0,((e|32)+-97|0)>>>0<26|0;

}function bt(e){return e|=0,(e>>>0<32|(e|0)==127)&1|0}function kt(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0,s=0;s=Wi,Wi=Wi+16|0,o=s,zi[o>>2]=e,f=(i|0)==0?44392:i,i=zi[f>>2]|0;e:do{if(r){if(e?a=e:(zi[o>>2]=o,a=o),!t)return f=-2,Wi=s,f|0;do{if(!i){if(i=xi[r>>0]|0,o=i&255,i<<24>>24<=-1){if(i=o+-194|0,i>>>0>50)break e;if(i=zi[44184+(i<<2)>>2]|0,o=t+-1|0){r=r+1|0,n=11;break}break}return zi[a>>2]=o,f=i<<24>>24!=0&1,Wi=s,f|0}o=t,n=11}while(0);r:do if((n|0)==11){if(e=xi[r>>0]|0,n=(e&255)>>>3,(n+-16|n+(i>>26))>>>0>7)break e;for(;;){if(r=r+1|0,i=(e&255)+-128|i<<6,o=o+-1|0,(i|0)>=0)break;if(!o)break r;if(e=xi[r>>0]|0,(e&-64)<<24>>24!=-128)break e}return zi[f>>2]=0,zi[a>>2]=i,f=t-o|0,Wi=s,f|0}while(0);return zi[f>>2]=i,f=-2,Wi=s,f|0}if(!i)return f=0,Wi=s,f|0}while(0);return zi[f>>2]=0,zi[(Eo()|0)>>2]=84,f=-1,Wi=s,f|0}function mt(e){return e|=0,e=e?(zi[e>>2]|0)==0:1,e&1|0}function pt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;return i=e+84|0,n=zi[i>>2]|0,a=t+256|0,o=ti(n,0,a)|0,o=(o|0)==0?a:o-n|0,t=o>>>0<t>>>0?o:t,gi(r|0,n|0,t|0)|0,zi[e+4>>2]=n+t,r=n+o|0,zi[e+8>>2]=r,zi[i>>2]=r,t|0}function Et(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;return i=Wi,Wi=Wi+16|0,o=i,zi[o>>2]=t,t=St(e,r,o)|0,Wi=i,t|0}function wt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0;if(P=Wi,Wi=Wi+304|0,M=P+16|0,A=P,O=P+33|0,R=P+8|0,E=P+32|0,i=xi[r>>0]|0,!(i<<24>>24))return D=0,Wi=P,D|0;N=e+4|0,T=e+100|0,v=e+108|0,_=e+8|0,g=O+10|0,y=O+33|0,F=A+4|0,w=O+46|0,S=O+94|0,u=i,i=0,d=0,n=0,o=0;e:for(;;){r:do if(Mt(u&255)|0){for(;;){if(a=r+1|0,!(Mt(qi[a>>0]|0)|0))break;r=a}Dt(e,0);do a=zi[N>>2]|0,a>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=a+1,a=qi[a>>0]|0):a=Pt(e)|0;while((Mt(a)|0)!=0);a=zi[N>>2]|0,zi[T>>2]|0&&(a=a+-1|0,zi[N>>2]=a),c=(zi[v>>2]|0)+d+a-(zi[_>>2]|0)|0}else{f=(xi[r>>0]|0)==37;t:do if(f){u=r+1|0,a=xi[u>>0]|0;do{if(a<<24>>24==37)break t;if(a<<24>>24==42)a=0,u=r+2|0;else{if(f=(a&255)+-48|0,f>>>0<10?(xi[r+2>>0]|0)==36:0){for(zi[M>>2]=zi[t>>2];;){if(p=(zi[M>>2]|0)+3&-4,a=zi[p>>2]|0,zi[M>>2]=p+4,!(f>>>0>1))break;f=f+-1|0}u=r+3|0;break}p=(zi[t>>2]|0)+3&-4,a=zi[p>>2]|0,zi[t>>2]=p+4}}while(0);if(r=xi[u>>0]|0,f=r&255,(f+-48|0)>>>0<10)for(r=0;;){if(l=(r*10|0)+-48+f|0,u=u+1|0,r=xi[u>>0]|0,f=r&255,(f+-48|0)>>>0>=10)break;r=l}else l=0;switch(r<<24>>24==109?(u=u+1|0,c=xi[u>>0]|0,r=(a|0)!=0&1,n=0,o=0):(c=r,r=0),f=u+1|0,c&255|0){case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:f=0;break;case 104:p=(xi[f>>0]|0)==104,u=p?u+2|0:f,f=p?-2:-1;break;case 76:u=f,f=2;break;case 108:p=(xi[f>>0]|0)==108,u=p?u+2|0:f,f=p?3:1;break;case 116:case 122:u=f,f=1;break;case 106:u=f,f=3;break;default:D=164;break e}if(c=qi[u>>0]|0,b=(c&47|0)==3,c=b?c|32:c,b=b?1:f,(c|0)==91)p=d,m=l;else if((c|0)==110){if(!a){r=u,c=d;break r}switch(b|0){case-2:xi[a>>0]=d,r=u,c=d;break r;case-1:Ui[a>>1]=d,r=u,c=d;break r;case 3:r=a,zi[r>>2]=d,zi[r+4>>2]=((d|0)<0)<<31>>31,r=u,c=d;break r;case 0:zi[a>>2]=d,r=u,c=d;break r;case 1:zi[a>>2]=d,r=u,c=d;break r;default:r=u,c=d;break r}}else if((c|0)==99)p=d,m=(l|0)<1?1:l;else{Dt(e,0);do f=zi[N>>2]|0,f>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=f+1,f=qi[f>>0]|0):f=Pt(e)|0;while((Mt(f)|0)!=0);f=zi[N>>2]|0,zi[T>>2]|0&&(f=f+-1|0,zi[N>>2]=f),p=(zi[v>>2]|0)+d+f-(zi[_>>2]|0)|0,m=l}if(Dt(e,m),f=zi[N>>2]|0,l=zi[T>>2]|0,f>>>0<l>>>0)zi[N>>2]=f+1;else{if((Pt(e)|0)<0){D=164;break e}l=zi[T>>2]|0}l&&(zi[N>>2]=(zi[N>>2]|0)+-1);i:do switch(c|0){case 91:case 99:case 115:k=(c|0)==99;o:do if((c&239|0)==99)pi(O|0,-1,257)|0,xi[O>>0]=0,(c|0)==115&&(xi[y>>0]=0,xi[g>>0]=0,xi[g+1>>0]=0,xi[g+2>>0]=0,xi[g+3>>0]=0,xi[g+4>>0]=0);else for(h=u+1|0,c=(xi[h>>0]|0)==94,f=c&1,d=c?h:u,u=c?u+2|0:h,pi(O|0,c&1|0,257)|0,xi[O>>0]=0,c=xi[u>>0]|0,c<<24>>24==93?(h=(f^1)&255,xi[S>>0]=h,u=d+2|0):c<<24>>24==45?(h=(f^1)&255,xi[w>>0]=h,u=d+2|0):h=(f^1)&255;;){if(c=xi[u>>0]|0,c<<24>>24==45)if(f=u+1|0,c=xi[f>>0]|0,c<<24>>24==93|c<<24>>24==0)c=45;else if(u=xi[u+-1>>0]|0,(u&255)<(c&255)){u&=255;do u=u+1|0,xi[O+u>>0]=h,c=xi[f>>0]|0;while((u|0)<(c&255|0));u=f}else u=f;else{if(c<<24>>24==93)break o;if(!(c<<24>>24)){D=164;break e}}xi[O+((c&255)+1)>>0]=h,u=u+1|0}while(0);f=k?m+1|0:31,d=(b|0)==1,h=(r|0)!=0;o:do if(d){if(h){if(o=li(f<<2)|0,!o){n=0,D=164;break e}}else o=a;zi[A>>2]=0,zi[F>>2]=0,n=0;n:for(;;){if(o){if(!h){D=86;break}for(;;){for(;;){if(c=zi[N>>2]|0,c>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=c+1,c=qi[c>>0]|0):c=Pt(e)|0,!(xi[O+(c+1)>>0]|0))break n;if(xi[E>>0]=c,c=kt(R,E,1,A)|0,(c|0)==-1){n=0,D=164;break e}if((c|0)!=-2)break}if(zi[o+(n<<2)>>2]=zi[R>>2],n=n+1|0,(n|0)==(f|0)){n=f;break}}}else for(l=h&(n|0)==(f|0);;){if(c=zi[N>>2]|0,c>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=c+1,c=qi[c>>0]|0):c=Pt(e)|0,!(xi[O+(c+1)>>0]|0)){o=0;break n}if(xi[E>>0]=c,c=kt(R,E,1,A)|0,(c|0)!=-2){if((c|0)==-1){n=0,o=0,D=164;break e}if(l)break}}if(c=f<<1|1,l=di(o,c<<2)|0,!l){n=0,D=164;break e}f=c,o=l}n:do if((D|0)==86)for(D=0,c=n;;){for(;;){if(n=zi[N>>2]|0,n>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0,!(xi[O+(n+1)>>0]|0)){n=c;break n}if(xi[E>>0]=n,n=kt(R,E,1,A)|0,(n|0)==-1){r=0,n=0,D=164;break e}if((n|0)!=-2)break}zi[o+(c<<2)>>2]=zi[R>>2],c=c+1|0}while(0);if(!(mt(A)|0)){n=0,D=164;break e}f=n,n=0}else{if(h){if(n=li(f)|0,!n){n=0,o=0,D=164;break e}for(c=0;;){do{if(o=zi[N>>2]|0,o>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=o+1,o=qi[o>>0]|0):o=Pt(e)|0,!(xi[O+(o+1)>>0]|0)){f=c,o=0;break o}xi[n+c>>0]=o,c=c+1|0}while((c|0)!=(f|0));if(o=f<<1|1,c=di(n,o)|0,!c){o=0,D=164;break e}b=f,f=o,n=c,c=b}}if(a)for(n=0;;){if(o=zi[N>>2]|0,o>>>0<l>>>0?(zi[N>>2]=o+1,o=qi[o>>0]|0):o=Pt(e)|0,!(xi[O+(o+1)>>0]|0)){f=n,n=a,o=0;break o}xi[a+n>>0]=o,l=zi[T>>2]|0,n=n+1|0}else for(n=l;;){if(o=zi[N>>2]|0,o>>>0<n>>>0?(zi[N>>2]=o+1,o=qi[o>>0]|0):o=Pt(e)|0,!(xi[O+(o+1)>>0]|0)){f=0,n=0,o=0;break o}n=zi[T>>2]|0}}while(0);if(l=zi[N>>2]|0,zi[T>>2]|0&&(l=l+-1|0,zi[N>>2]=l),c=l-(zi[_>>2]|0)+(zi[v>>2]|0)|0,!c)break e;if(!((c|0)==(m|0)|k^1))break e;do if(h){if(d){zi[a>>2]=o;break}zi[a>>2]=n;break}while(0);k?r=u:(o&&(zi[o+(f<<2)>>2]=0),n?(xi[n+f>>0]=0,r=u):(r=u,n=0));break;case 117:case 100:f=10,D=146;break;case 105:f=0,D=146;break;case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:if(s=+Tt(e,b,0),(zi[v>>2]|0)==((zi[_>>2]|0)-(zi[N>>2]|0)|0))break e;if(a){if((b|0)==1){ji[a>>3]=s,r=u;break i}if((b|0)==2){ji[a>>3]=s,r=u;break i}if(b){r=u;break i}Vi[a>>2]=s,r=u;break i}r=u;break;case 111:f=8,D=146;break;case 120:case 88:case 112:f=16,D=146;break;default:r=u}while(0);i:do if((D|0)==146){if(D=0,f=Nt(e,f,0,-1,-1)|0,(zi[v>>2]|0)==((zi[_>>2]|0)-(zi[N>>2]|0)|0))break e;if((a|0)!=0&(c|0)==112){zi[a>>2]=f,r=u;break}if(a)switch(b|0){case-1:Ui[a>>1]=f,r=u;break i;case 1:zi[a>>2]=f,r=u;break i;case-2:xi[a>>0]=f,r=u;break i;case 3:r=a,zi[r>>2]=f,zi[r+4>>2]=eo,r=u;break i;case 0:zi[a>>2]=f,r=u;break i;default:r=u;break i}else r=u}while(0);i=((a|0)!=0&1)+i|0,c=(zi[v>>2]|0)+p+(zi[N>>2]|0)-(zi[_>>2]|0)|0;break r}while(0);if(f=r+(f&1)|0,Dt(e,0),r=zi[N>>2]|0,r>>>0<(zi[T>>2]|0)>>>0?(zi[N>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|0)!=(qi[f>>0]|0)){D=19;break e}r=f,c=d+1|0}while(0);if(r=r+1|0,u=xi[r>>0]|0,!(u<<24>>24)){D=168;break}d=c}if((D|0)==19){if(zi[T>>2]|0&&(zi[N>>2]=(zi[N>>2]|0)+-1),(i|0)!=0|(r|0)>-1)return D=i,Wi=P,D|0;i=0,D=165}else if((D|0)==164)i||(i=r,D=165);else if((D|0)==168)return Wi=P,i|0;return(D|0)==165&&(r=i,i=-1),r?(ci(n),ci(o),D=i,Wi=P,D|0):(D=i,Wi=P,D|0)}function St(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;n=Wi,Wi=Wi+112|0,i=n,o=i,a=o+112|0;do zi[o>>2]=0,o=o+4|0;while((o|0)<(a|0));return zi[i+32>>2]=2,zi[i+44>>2]=e,zi[i+76>>2]=-1,zi[i+84>>2]=e,a=wt(i,r,t)|0,Wi=n,a|0}function vt(e,r){return e|=0,r|=0,e=_t(e,r)|0,((xi[e>>0]|0)==(r&255)<<24>>24?e:0)|0}function _t(e,r){e|=0,r|=0;var t=0,i=0,o=0;if(i=r&255,!i)return i=e+(wi(e|0)|0)|0,i|0;e:do if(e&3){for(t=r&255;;){if(o=xi[e>>0]|0,o<<24>>24==0?1:o<<24>>24==t<<24>>24)break;if(e=e+1|0,!(e&3))break e}return e|0}while(0);i=to(i,16843009)|0,t=zi[e>>2]|0;e:do if(!((t&-2139062144^-2139062144)&t+-16843009))do{if(o=t^i,(o&-2139062144^-2139062144)&o+-16843009)break e;e=e+4|0,t=zi[e>>2]|0}while(((t&-2139062144^-2139062144)&t+-16843009|0)==0);while(0);for(t=r&255;;){if(o=xi[e>>0]|0,o<<24>>24==0?1:o<<24>>24==t<<24>>24)break;e=e+1|0}return e|0}function gt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0;i=e+(wi(e|0)|0)|0;e:do if(t)for(o=i;;){if(n=xi[r>>0]|0,!(n<<24>>24)){i=o;break e}if(t=t+-1|0,i=o+1|0,xi[o>>0]=n,!t)break;r=r+1|0,o=i}while(0);return xi[i>>0]=0,e|0}function yt(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0;if(m=Wi,Wi=Wi+1056|0,b=m+1024|0,k=m,u=xi[r>>0]|0,!(u<<24>>24))return k=e,Wi=m,k|0;if(h=vt(e,u<<24>>24)|0,!h)return k=0,Wi=m,k|0;if(i=xi[r+1>>0]|0,!(i<<24>>24))return k=h,Wi=m,k|0;if(t=h+1|0,f=xi[t>>0]|0,!(f<<24>>24))return k=0,Wi=m,k|0;if(s=xi[r+2>>0]|0,!(s<<24>>24)){for(a=i&255|(u&255)<<8,e=f,n=h,i=qi[h>>0]<<8|f&255;;){if(o=i&65535,(o|0)==(a|0)){t=n;break}if(e=t+1|0,i=xi[e>>0]|0,!(i<<24>>24)){e=0;break}n=t,t=e,e=i,i=i&255|o<<8}return k=e<<24>>24!=0?t:0,Wi=m,k|0}if(t=h+2|0,a=xi[t>>0]|0,!(a<<24>>24))return k=0,Wi=m,k|0;if(o=xi[r+3>>0]|0,!(o<<24>>24)){if(o=(i&255)<<16|(u&255)<<24|(s&255)<<8,e=(a&255)<<8|(f&255)<<16|qi[h>>0]<<24,(e|0)==(o|0))e=a;else{i=e;do t=t+1|0,e=xi[t>>0]|0,i=(e&255|i)<<8;while(!(e<<24>>24==0|(i|0)==(o|0)))}return k=e<<24>>24!=0?t+-2|0:0,Wi=m,k|0}if(t=h+3|0,e=xi[t>>0]|0,!(e<<24>>24))return k=0,Wi=m,k|0;if(!(xi[r+4>>0]|0)){if(o=(i&255)<<16|(u&255)<<24|(s&255)<<8|o&255,i=(a&255)<<8|(f&255)<<16|e&255|qi[h>>0]<<24,(i|0)!=(o|0))do t=t+1|0,e=xi[t>>0]|0,i=e&255|i<<8;while(!(e<<24>>24==0|(i|0)==(o|0)));return k=e<<24>>24!=0?t+-3|0:0,Wi=m,k|0}for(zi[b>>2]=0,zi[b+4>>2]=0,zi[b+8>>2]=0,zi[b+12>>2]=0,zi[b+16>>2]=0,zi[b+20>>2]=0,zi[b+24>>2]=0,zi[b+28>>2]=0,e=u,t=0;;){if(!(xi[h+t>>0]|0)){e=0;break}if(o=b+(((e&255)>>>5&255)<<2)|0,zi[o>>2]=zi[o>>2]|1<<(e&31),o=t+1|0,zi[k+((e&255)<<2)>>2]=o,e=xi[r+o>>0]|0,!(e<<24>>24)){n=23;break}t=o}e:do if((n|0)==23){r:do if(o>>>0>1){i=1,f=-1,e=0;t:for(;;){for(u=1;;){i:for(;;){for(a=1;;){if(n=xi[r+(a+f)>>0]|0,s=xi[r+i>>0]|0,n<<24>>24!=s<<24>>24){u=i,a=n,i=s;break i}if((a|0)==(u|0))break;if(a=a+1|0,i=a+e|0,i>>>0>=o>>>0){e=f,c=u;break t}}if(e=e+u|0,i=e+1|0,i>>>0>=o>>>0){e=f,c=u;break t}}if(s=u-f|0,(a&255)<=(i&255))break;if(e=u+1|0,!(e>>>0<o>>>0)){e=f,c=s;break t}i=e,e=u,u=s}if(i=e+2|0,i>>>0>=o>>>0){c=1;break}f=e,e=e+1|0}for(a=1,n=-1,i=0;;){for(f=i,i=1;;){l=f;t:for(;;){for(f=1;;){if(u=xi[r+(f+n)>>0]|0,s=xi[r+a>>0]|0,u<<24>>24!=s<<24>>24){f=a,a=l;break t}if((f|0)==(i|0))break;if(f=f+1|0,a=f+l|0,a>>>0>=o>>>0){a=c;break r}}if(l=l+i|0,a=l+1|0,a>>>0>=o>>>0){a=c;break r}}if(i=f-n|0,(u&255)>=(s&255)){i=a;break}if(a=f+1|0,a>>>0>=o>>>0){a=c;break r}}if(a=i+2|0,a>>>0>=o>>>0){n=i,a=c,i=1;break}n=i,i=i+1|0}}else e=-1,n=-1,a=1,i=1;while(0);if(d=(n+1|0)>>>0>(e+1|0)>>>0,l=d?i:a,d=d?n:e,c=d+1|0,ii(r,r+l|0,c)|0)f=o-d+-1|0,u=o|63,f=(d>>>0>f>>>0?d:f)+1|0;else if(f=o-l|0,u=o|63,(o|0)==(l|0))f=o;else{e=h,n=0,a=h;r:for(;;){s=e;do if((a-s|0)>>>0<o>>>0){if(i=ti(a,0,u)|0){if((i-s|0)>>>0<o>>>0){e=0;break e}a=i;break}a=a+u|0;break}while(0);if(i=xi[e+t>>0]|0,1<<(i&31)&zi[b+(((i&255)>>>5&255)<<2)>>2])if(h=zi[k+((i&255)<<2)>>2]|0,i=o-h|0,(o|0)==(h|0)){i=c>>>0>n>>>0?c:n,s=xi[r+i>>0]|0;t:do{if(s<<24>>24){for(;;){if(s<<24>>24!=(xi[e+i>>0]|0))break;if(i=i+1|0,s=xi[r+i>>0]|0,!(s<<24>>24)){i=c;break t}}e=e+(i-d)|0,n=0;continue r}i=c}while(0);do{if(i>>>0<=n>>>0)break e;i=i+-1|0}while((xi[r+i>>0]|0)==(xi[e+i>>0]|0));e=e+l|0,n=f}else e=e+((n|0)!=0&i>>>0<l>>>0?f:i)|0,n=0;else e=e+o|0,n=0}}s=r+c|0,e=h,n=h;r:for(;;){i=e;do{if((n-i|0)>>>0<o>>>0){if(a=ti(n,0,u)|0){if((a-i|0)>>>0<o>>>0){e=0;break e}break}a=n+u|0;break}a=n}while(0);if(i=xi[e+t>>0]|0,1<<(i&31)&zi[b+(((i&255)>>>5&255)<<2)>>2])if(i=zi[k+((i&255)<<2)>>2]|0,(o|0)==(i|0)){i=xi[s>>0]|0;t:do{if(i<<24>>24){for(n=c;;){if(i<<24>>24!=(xi[e+n>>0]|0)){i=n;break}if(n=n+1|0,i=xi[r+n>>0]|0,!(i<<24>>24)){i=c;break t}}e=e+(i-d)|0,n=a;continue r}i=c}while(0);do{if(!i)break e;i=i+-1|0}while((xi[r+i>>0]|0)==(xi[e+i>>0]|0));e=e+f|0,n=a}else e=e+(o-i)|0,n=a;else e=e+o|0,n=a}}while(0);return k=e,Wi=m,k|0}function Ft(e,r,t){return e|=0,r|=0,t|=0,pt(e,r,t)|0}function Mt(e){return e|=0,((e|0)==32|(e+-9|0)>>>0<5)&1|0}function Ot(e){return e|=0,(e+-65|0)>>>0<26|0}function At(e){return e|=0,(e+-48|0)>>>0<10?(e=1,e&=1,e|0):(e=((e|32)+-97|0)>>>0<6,e&=1,e|0)}function Rt(e){e|=0;var r=0;return r=(Ot(e)|0)==0,(r?e:e|32)|0}function Nt(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0;if(r>>>0>36)return zi[(Eo()|0)>>2]=22,h=0,b=0,eo=h,b|0;b=e+4|0,h=e+100|0;do n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0;while((Mt(n)|0)!=0);do{if((n|0)==43|(n|0)==45){if(f=((n|0)==45)<<31>>31,n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0){zi[b>>2]=n+1,n=qi[n>>0]|0,d=f;break}n=Pt(e)|0,d=f;break}d=0}while(0);a=(r|0)==0;do if((r&-17|0)==0&(n|0)==48){if(f=zi[b>>2]|0,f>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=f+1,n=qi[f>>0]|0):n=Pt(e)|0,(n|32|0)!=120){if(a){r=8,l=46;break}l=32;break}if(r=zi[b>>2]|0,r>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=r+1,n=qi[r>>0]|0):n=Pt(e)|0,(qi[44400+(n+1)>>0]|0)>15)return r=(zi[h>>2]|0)==0,r||(zi[b>>2]=(zi[b>>2]|0)+-1),t?r?(h=0,b=0,eo=h,b|0):(zi[b>>2]=(zi[b>>2]|0)+-1,h=0,b=0,eo=h,b|0):(Dt(e,0),h=0,b=0,eo=h,b|0);r=16,l=46}else{if(r=a?10:r,!((qi[44400+(n+1)>>0]|0)>>>0<r>>>0))return zi[h>>2]|0&&(zi[b>>2]=(zi[b>>2]|0)+-1),Dt(e,0),zi[(Eo()|0)>>2]=22,h=0,b=0,eo=h,b|0;l=32}while(0);if((l|0)==32)if((r|0)==10){if(r=n+-48|0,r>>>0<10){f=r,r=0;do r=(r*10|0)+f|0,n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0,f=n+-48|0;while(f>>>0<10&r>>>0<429496729);f=0}else r=0,f=0;if(a=n+-48|0,a>>>0<10){for(;;){if(s=Oi(r|0,f|0,10,0)|0,t=eo,u=((a|0)<0)<<31>>31,c=~u,t>>>0>c>>>0|(t|0)==(c|0)&s>>>0>~a>>>0){s=r;break}if(r=vi(s|0,t|0,a|0,u|0)|0,f=eo,n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0,a=n+-48|0,!(a>>>0<10&(f>>>0<429496729|(f|0)==429496729&r>>>0<2576980378))){s=r;break}}a>>>0>9?r=s:(r=10,l=72)}}else l=46;e:do if((l|0)==46){if(!(r+-1&r)){if(l=xi[44664+((r*23|0)>>>5&7)>>0]|0,f=xi[44400+(n+1)>>0]|0,a=f&255,a>>>0<r>>>0){for(f=0;;){if(s=a|f<<l,f=zi[b>>2]|0,f>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=f+1,n=qi[f>>0]|0):n=Pt(e)|0,f=xi[44400+(n+1)>>0]|0,a=f&255,!(s>>>0<134217728&a>>>0<r>>>0))break;f=s}a=0}else a=0,s=0;if(t=_i(-1,-1,l|0)|0,u=eo,(f&255)>>>0>=r>>>0|(a>>>0>u>>>0|(a|0)==(u|0)&s>>>0>t>>>0)){f=a,l=72;break}for(n=a;;){if(s=Ei(s|0,n|0,l|0)|0,a=eo,s=f&255|s,f=zi[b>>2]|0,f>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=f+1,n=qi[f>>0]|0):n=Pt(e)|0,f=xi[44400+(n+1)>>0]|0,(f&255)>>>0>=r>>>0|(a>>>0>u>>>0|(a|0)==(u|0)&s>>>0>t>>>0)){f=a,l=72;break e}n=a}}if(a=xi[44400+(n+1)>>0]|0,f=a&255,f>>>0<r>>>0){for(n=0;;){if(s=f+(to(n,r)|0)|0,n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0,a=xi[44400+(n+1)>>0]|0,f=a&255,!(s>>>0<119304647&f>>>0<r>>>0))break;n=s}f=0}else s=0,f=0;if((a&255)>>>0<r>>>0)for(l=Ai(-1,-1,r|0,0)|0,c=eo;;){if(f>>>0>c>>>0|(f|0)==(c|0)&s>>>0>l>>>0){l=72;break e}if(t=Oi(s|0,f|0,r|0,0)|0,u=eo,a&=255,u>>>0>4294967295|(u|0)==-1&t>>>0>~a>>>0){l=72;break e}if(s=vi(a|0,0,t|0,u|0)|0,f=eo,n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0,a=xi[44400+(n+1)>>0]|0,(a&255)>>>0>=r>>>0){l=72;break}}else l=72}while(0);if((l|0)==72)if((qi[44400+(n+1)>>0]|0)>>>0<r>>>0){do n=zi[b>>2]|0,n>>>0<(zi[h>>2]|0)>>>0?(zi[b>>2]=n+1,n=qi[n>>0]|0):n=Pt(e)|0;while((qi[44400+(n+1)>>0]|0)>>>0<r>>>0);zi[(Eo()|0)>>2]=34,f=o,r=i}else r=s;if(zi[h>>2]|0&&(zi[b>>2]=(zi[b>>2]|0)+-1),!(f>>>0<o>>>0|(f|0)==(o|0)&r>>>0<i>>>0)){if(!((i&1|0)!=0|!1|(d|0)!=0))return zi[(Eo()|0)>>2]=34,b=vi(i|0,o|0,-1,-1)|0,h=eo,eo=h,b|0;if(f>>>0>o>>>0|(f|0)==(o|0)&r>>>0>i>>>0)return zi[(Eo()|0)>>2]=34,h=o,b=i,eo=h,b|0}return b=((d|0)<0)<<31>>31,b=mi(r^d|0,f^b|0,d|0,b|0)|0,h=eo,eo=h,b|0}function Tt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0;if(N=Wi,Wi=Wi+512|0,M=N,(r|0)==1)R=53,O=-1074;else if((r|0)==2)R=53,O=-1074;else{if(r)return b=0,Wi=N,+b;R=24,O=-149}g=e+4|0,_=e+100|0;do r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0;while((Mt(r)|0)!=0);do{if((r|0)==43|(r|0)==45){if(o=1-(((r|0)==45&1)<<1)|0,r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0){zi[g>>2]=r+1,r=qi[r>>0]|0,A=o;break}r=Pt(e)|0,A=o;break}A=1}while(0);o=0;do{if((r|32|0)!=(xi[44680+o>>0]|0))break;do if(o>>>0<7){if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0){zi[g>>2]=r+1,r=qi[r>>0]|0;break}r=Pt(e)|0;break}while(0);o=o+1|0}while(o>>>0<8);do if((o|0)==3)S=23;else if((o|0)!=8){if(u=(t|0)!=0,u&o>>>0>3){if((o|0)==8)break;S=23;break}do if(!o){if((r|32|0)==110){if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|32|0)!=97)break;if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|32|0)!=110)break;if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|0)!=40)return zi[_>>2]|0?(zi[g>>2]=(zi[g>>2]|0)+-1,b=Qi,Wi=N,+b):(b=Qi,Wi=N,+b);for(o=1;;){if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r+-48|0)>>>0<10|(r+-65|0)>>>0<26?0:!((r|0)==95|(r+-97|0)>>>0<26))break;o=o+1|0}if((r|0)==41)return b=Qi,Wi=N,+b;if(r=(zi[_>>2]|0)==0,r||(zi[g>>2]=(zi[g>>2]|0)+-1),!u)return zi[(Eo()|0)>>2]=22,Dt(e,0),b=0,Wi=N,+b;if((o|0)==0|r)return b=Qi,Wi=N,+b;r=zi[g>>2]|0;do o=o+-1|0,r=r+-1|0;while((o|0)!=0);return zi[g>>2]=r,b=Qi,Wi=N,+b}do if((r|0)==48){if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|32|0)!=120){if(!(zi[_>>2]|0)){r=48;break}zi[g>>2]=(zi[g>>2]|0)+-1,r=48;break}for(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,u=qi[r>>0]|0,l=0):(u=Pt(e)|0,l=0);;){if((u|0)==46){S=71;break}if((u|0)!=48){r=0,E=0,f=0,o=0,c=0,p=0,s=1,a=0,i=0;break}r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,u=qi[r>>0]|0,l=1):(u=Pt(e)|0,l=1)}if((S|0)==71)if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,u=qi[r>>0]|0):u=Pt(e)|0,(u|0)==48){f=0,o=0;do r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,u=qi[r>>0]|0):u=Pt(e)|0,f=vi(f|0,o|0,-1,-1)|0,o=eo;while((u|0)==48);r=0,E=0,l=1,c=1,p=0,s=1,a=0,i=0}else r=0,E=0,f=0,o=0,c=1,p=0,s=1,a=0,i=0;for(;;){if(k=u+-48|0,d=u|32,k>>>0>=10){if(m=(u|0)==46,!(m|(d+-97|0)>>>0<6)){d=E;break}if(m){if(c){d=E,u=46;break}f=E,o=r,k=E,c=1,d=p,n=s}else S=83}else S=83;if((S|0)==83){S=0,u=(u|0)>57?d+-87|0:k;do if((r|0)<0|(r|0)==0&E>>>0<8)d=p,n=s,a=u+(a<<4)|0;else{if((r|0)<0|(r|0)==0&E>>>0<14){b=s*.0625,d=p,n=b,i+=b*+(u|0);break}(p|0)!=0|(u|0)==0?(d=p,n=s):(d=1,n=s,i+=s*.5)}while(0);k=vi(E|0,r|0,1,0)|0,r=eo,l=1}u=zi[g>>2]|0,u>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=u+1,E=k,u=qi[u>>0]|0,p=d,s=n):(E=k,u=Pt(e)|0,p=d,s=n)}if(!l)return r=(zi[_>>2]|0)==0,r||(zi[g>>2]=(zi[g>>2]|0)+-1),t?(r?0:(w=zi[g>>2]|0,zi[g>>2]=w+-1,(c|0)!=0))&&(zi[g>>2]=w+-2):Dt(e,0),b=+(A|0)*0,Wi=N,+b;if(c=(c|0)==0,l=c?d:f,c=c?r:o,(r|0)<0|(r|0)==0&d>>>0<8){o=d;do a<<=4,o=vi(o|0,r|0,1,0)|0,r=eo;while((r|0)<0|(r|0)==0&o>>>0<8)}do if((u|32|0)==112){if(o=fi(e,t)|0,r=eo,(o|0)==0&(r|0)==-2147483648){if(t){if(!(zi[_>>2]|0)){o=0,r=0;break}zi[g>>2]=(zi[g>>2]|0)+-1,o=0,r=0;break}return Dt(e,0),b=0,Wi=N,+b}}else zi[_>>2]|0?(zi[g>>2]=(zi[g>>2]|0)+-1,o=0,r=0):(o=0,r=0);while(0);if(M=Ei(l|0,c|0,2)|0,M=vi(M|0,eo|0,-32,-1)|0,r=vi(M|0,eo|0,o|0,r|0)|0,o=eo,!a)return b=+(A|0)*0,Wi=N,+b;if((o|0)>0|(o|0)==0&r>>>0>(0-O|0)>>>0)return zi[(Eo()|0)>>2]=34,b=+(A|0)*1.7976931348623157e308*1.7976931348623157e308,Wi=N,+b;if(M=O+-106|0,F=((M|0)<0)<<31>>31,(o|0)<(F|0)|(o|0)==(F|0)&r>>>0<M>>>0)return zi[(Eo()|0)>>2]=34,b=+(A|0)*2.2250738585072014e-308*2.2250738585072014e-308,Wi=N,+b;if((a|0)>-1){do F=!(i>=.5),M=F&1|a<<1,a=M^1,i+=F?i:i+-1,r=vi(r|0,o|0,-1,-1)|0,o=eo;while((M|0)>-1);u=r,s=i}else u=r,s=i;r=mi(32,0,O|0,((O|0)<0)<<31>>31|0)|0,r=vi(u|0,o|0,r|0,eo|0)|0,O=eo,0>(O|0)|0==(O|0)&R>>>0>r>>>0?(r|0)<0?(o=0,S=124):S=122:(r=R,S=122);do if((S|0)==122){if((r|0)<53){o=r,S=124;break}n=+(A|0),i=0}while(0);return(S|0)==124&&(i=+(A|0),r=o,n=i,i=+Lt(+zt(1,84-o|0),i)),R=(a&1|0)==0&(s!=0&(r|0)<32),i=n*(R?0:s)+(i+n*+(((R&1)+a|0)>>>0))-i,i==0&&(zi[(Eo()|0)>>2]=34),b=+qt(i,u),Wi=N,+b}while(0);for(y=O+R|0,F=0-y|0,u=0;;){if((r|0)==46){S=135;break}if((r|0)!=48){o=0,k=0,d=0;break}r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0,u=1):(r=Pt(e)|0,u=1)}if((S|0)==135)if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|0)==48)for(o=0,r=0;;){if(o=vi(o|0,r|0,-1,-1)|0,u=eo,r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,(r|0)!=48){k=u,u=1,d=1;break}r=u}else o=0,k=0,d=1;zi[M>>2]=0,l=r+-48|0,c=(r|0)==46;e:do if(c|l>>>0<10){v=M+496|0,E=0,w=0,a=0,f=0,S=0;r:for(;;){do if(c){if(d){d=k,r=E,l=w,c=S;break r}o=E,k=w,d=1,m=S}else{if(m=vi(E|0,w|0,1,0)|0,c=eo,p=(r|0)!=48,(f|0)>=125){if(!p){E=m,w=c,m=S;break}zi[v>>2]=zi[v>>2]|1,E=m,w=c,m=S;break}u=M+(f<<2)|0,a&&(l=r+-48+((zi[u>>2]|0)*10|0)|0),zi[u>>2]=l,a=a+1|0,l=(a|0)==9,E=m,w=c,u=1,a=l?0:a,f=(l&1)+f|0,m=p?m:S}while(0);if(r=zi[g>>2]|0,r>>>0<(zi[_>>2]|0)>>>0?(zi[g>>2]=r+1,r=qi[r>>0]|0):r=Pt(e)|0,l=r+-48|0,c=(r|0)==46,!(c|l>>>0<10)){l=w,c=m,S=158;break e}S=m}u=(u|0)!=0,S=166}else E=0,l=0,a=0,f=0,c=0,S=158;while(0);do if((S|0)==158){if(d=(d|0)==0,o=d?E:o,d=d?l:k,u=(u|0)!=0,!((r|32|0)==101&u)){if((r|0)>-1){r=E,S=166;break}r=E,k=u,u=d,S=168;break}if(r=fi(e,t)|0,u=eo,(r|0)==0&(u|0)==-2147483648){if(!t){Dt(e,0),i=0;break}zi[_>>2]|0?(zi[g>>2]=(zi[g>>2]|0)+-1,r=0,u=0):(r=0,u=0)}o=vi(r|0,u|0,o|0,d|0)|0,r=E,d=eo,S=170}while(0);(S|0)==166&&(zi[_>>2]|0?(zi[g>>2]=(zi[g>>2]|0)+-1,S=u?170:169):(k=u,u=d,S=168)),(S|0)==168&&(k?(d=u,S=170):S=169);do if((S|0)==169)zi[(Eo()|0)>>2]=22,Dt(e,0),i=0;else if((S|0)==170){if(u=zi[M>>2]|0,!u){i=+(A|0)*0;break}if(((l|0)<0|(l|0)==0&r>>>0<10)&((o|0)==(r|0)&(d|0)==(l|0))?R>>>0>30|(u>>>R|0)==0:0){i=+(A|0)*+(u>>>0);break}if(e=(O|0)/-2|0,g=((e|0)<0)<<31>>31,(d|0)>(g|0)|(d|0)==(g|0)&o>>>0>e>>>0){zi[(Eo()|0)>>2]=34,i=+(A|0)*1.7976931348623157e308*1.7976931348623157e308;break}if(e=O+-106|0,g=((e|0)<0)<<31>>31,(d|0)<(g|0)|(d|0)==(g|0)&o>>>0<e>>>0){zi[(Eo()|0)>>2]=34,i=+(A|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(a){if((a|0)<9){u=M+(f<<2)|0,r=zi[u>>2]|0;do r=r*10|0,a=a+1|0;while((a|0)!=9);zi[u>>2]=r}f=f+1|0}if((c|0)<9?(c|0)<=(o|0)&(o|0)<18:0){if((o|0)==9){i=+(A|0)*+((zi[M>>2]|0)>>>0);break}if((o|0)<9){i=+(A|0)*+((zi[M>>2]|0)>>>0)/+(zi[44696+(8-o<<2)>>2]|0);break}if(e=R+27+(to(o,-3)|0)|0,r=zi[M>>2]|0,(e|0)>30|(r>>>e|0)==0){i=+(A|0)*+(r>>>0)*+(zi[44696+(o+-10<<2)>>2]|0);break}}if(r=(o|0)%9|0){if(d=(o|0)>-1?r:r+9|0,u=zi[44696+(8-d<<2)>>2]|0,f){c=1e9/(u|0)|0,a=0,r=0,l=0;do _=M+(l<<2)|0,g=zi[_>>2]|0,e=((g>>>0)/(u>>>0)|0)+r|0,zi[_>>2]=e,r=to((g>>>0)%(u>>>0)|0,c)|0,e=(l|0)==(a|0)&(e|0)==0,l=l+1|0,o=e?o+-9|0:o,a=e?l&127:a;while((l|0)!=(f|0));r&&(zi[M+(f<<2)>>2]=r,f=f+1|0)}else a=0,f=0;r=0,o=9-d+o|0}else a=0,r=0;e:for(;;){if(k=M+(a<<2)|0,(o|0)<18){do{for(l=0,u=f+127|0;;){if(d=u&127,c=M+(d<<2)|0,u=Ei(zi[c>>2]|0,0,29)|0,u=vi(u|0,eo|0,l|0,0)|0,l=eo,l>>>0>0|(l|0)==0&u>>>0>1e9?(e=Ai(u|0,l|0,1e9,0)|0,u=Ri(u|0,l|0,1e9,0)|0,l=e):l=0,zi[c>>2]=u,e=(d|0)==(a|0),f=(d|0)!=(f+127&127|0)|e?f:(u|0)==0?d:f,e){u=l;break}u=d+-1|0}r=r+-29|0}while((u|0)==0)}else{if((o|0)!=18)break;do{if((zi[k>>2]|0)>>>0>=9007199){o=18;break e}for(u=0,l=f+127|0;;){if(d=l&127,c=M+(d<<2)|0,l=Ei(zi[c>>2]|0,0,29)|0,l=vi(l|0,eo|0,u|0,0)|0,u=eo,u>>>0>0|(u|0)==0&l>>>0>1e9?(e=Ai(l|0,u|0,1e9,0)|0,l=Ri(l|0,u|0,1e9,0)|0,u=e):u=0,zi[c>>2]=l,e=(d|0)==(a|0),f=(d|0)!=(f+127&127|0)|e?f:(l|0)==0?d:f,e)break;l=d+-1|0}r=r+-29|0}while((u|0)==0)}a=a+127&127,(a|0)==(f|0)&&(e=f+127&127,f=M+((f+126&127)<<2)|0,zi[f>>2]=zi[f>>2]|zi[M+(e<<2)>>2],f=e),zi[M+(a<<2)>>2]=u,o=o+9|0}e:for(;;){for(E=f+1&127,p=M+((f+127&127)<<2)|0;;){for(k=(o|0)==18,m=(o|0)>27?9:1,d=k^1;;){u=a&127,l=(u|0)==(f|0);do if(l)S=220;else{if(c=zi[M+(u<<2)>>2]|0,c>>>0<9007199){S=220;break}if(c>>>0>9007199)break;if(c=a+1&127,(c|0)==(f|0)){S=220;break}if(c=zi[M+(c<<2)>>2]|0,c>>>0<254740991){S=220;break}if(!(c>>>0>254740991|d))break e}while(0);if((S|0)==220?(S=0,k):0){S=221;break e}if(r=r+m|0,(a|0)!=(f|0))break;a=f}for(d=(1<<m)+-1|0,k=1e9>>>m,c=a,u=0,l=a;;){if(g=M+(l<<2)|0,e=zi[g>>2]|0,a=(e>>>m)+u|0,zi[g>>2]=a,u=to(e&d,k)|0,a=(l|0)==(c|0)&(a|0)==0,l=l+1&127,o=a?o+-9|0:o,a=a?l:c,(l|0)==(f|0))break;c=a}if(u){if((E|0)!=(a|0))break;zi[p>>2]=zi[p>>2]|1}}zi[M+(f<<2)>>2]=u,f=E}(S|0)==221&&l&&(zi[M+(E+-1<<2)>>2]=0,u=f,f=E),i=+((zi[M+(u<<2)>>2]|0)>>>0),o=a+1&127,(o|0)==(f|0)&&(f=a+2&127,zi[M+(f+-1<<2)>>2]=0),b=+(A|0),n=b*(i*1e9+ +((zi[M+(o<<2)>>2]|0)>>>0)),k=r+53|0,l=k-O|0,d=(l|0)<(R|0),o=d&1,c=d?(l|0)<0?0:l:R,(c|0)<53?(T=+Lt(+zt(1,105-c|0),n),s=+It(n,+zt(1,53-c|0)),h=T,i=s,s=T+(n-s)):(h=0,i=0,s=n),u=a+2&127;do if((u|0)==(f|0))n=i;else{u=zi[M+(u<<2)>>2]|0;do{if(u>>>0>=5e8){if(u>>>0>5e8){i=b*.75+i;break}if((a+3&127|0)==(f|0)){i=b*.5+i;break}i=b*.75+i;break}if((u|0)==0?(a+3&127|0)==(f|0):0)break;i=b*.25+i}while(0);if((53-c|0)<=1){n=i;break}if(+It(i,1)!=0){n=i;break}n=i+1}while(0);i=s+n-h;do if((k&2147483647|0)>(-2-y|0)){if(+ro(+i)>=9007199254740992&&(o=d&(c|0)==(l|0)?0:o,r=r+1|0,i*=.5),(r+50|0)<=(F|0)?!(n!=0&(o|0)!=0):0)break;zi[(Eo()|0)>>2]=34}while(0);i=+qt(i,r)}while(0);return b=i,Wi=N,+b}while(0);return zi[_>>2]|0&&(zi[g>>2]=(zi[g>>2]|0)+-1),zi[(Eo()|0)>>2]=22,Dt(e,0),b=0,Wi=N,+b}while(0);if((S|0)==23&&(r=(zi[_>>2]|0)==0,r||(zi[g>>2]=(zi[g>>2]|0)+-1),!(o>>>0<4|(t|0)==0|r))){r=zi[g>>2]|0;do r=r+-1|0,o=o+-1|0;while(o>>>0>3);zi[g>>2]=r}return b=+(A|0)*$i,Wi=N,+b}function Dt(e,r){e|=0,r|=0;var t=0,i=0,o=0;return zi[e+104>>2]=r,t=zi[e+4>>2]|0,i=zi[e+8>>2]|0,o=i-t|0,zi[e+108>>2]=o,(r|0)!=0&(o|0)>(r|0)?void(zi[e+100>>2]=t+r):void(zi[e+100>>2]=i)}function Pt(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0;return r=e+104|0,i=zi[r>>2]|0,((i|0)!=0?(zi[e+108>>2]|0)>=(i|0):0)||(n=3),((n|0)==3?(a=Xt(e)|0,(a|0)>=0):0)?(i=zi[r>>2]|0,r=e+8|0,i?(t=zi[r>>2]|0,o=zi[e+4>>2]|0,r=t,i=i-(zi[e+108>>2]|0)+-1|0,(r-o|0)>(i|0)?zi[e+100>>2]=o+i:n=9):(t=zi[r>>2]|0,r=t,n=9),(n|0)==9&&(zi[e+100>>2]=r),r=zi[e+4>>2]|0,t&&(e=e+108|0,zi[e>>2]=t+1-r+(zi[e>>2]|0)),r=r+-1|0,(qi[r>>0]|0|0)==(a|0)?a|0:(xi[r>>0]=a,a|0)):(zi[e+100>>2]=0,a=-1,a|0)}function Ct(e,r){e=+e,r=+r;var t=0,i=0;return ji[Ki>>3]=e,i=zi[Ki>>2]|0,t=zi[Ki+4>>2]|0,ji[Ki>>3]=r,t=zi[Ki+4>>2]&-2147483648|t&2147483647,zi[Ki>>2]=i,zi[Ki+4>>2]=t,+ +ji[Ki>>3]}function Lt(e,r){return e=+e,r=+r,+ +Ct(e,r)}function Bt(e,r){e=+e,r=+r;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0;if(ji[Ki>>3]=e,s=zi[Ki>>2]|0,u=zi[Ki+4>>2]|0,ji[Ki>>3]=r,l=zi[Ki>>2]|0,c=zi[Ki+4>>2]|0,i=_i(s|0,u|0,52)|0,i&=2047,n=_i(l|0,c|0,52)|0,n&=2047,d=u&-2147483648,a=Ei(l|0,c|0,1)|0,f=eo,(a|0)==0&(f|0)==0?0:(o=c&2147483647,!(o>>>0>2146435072|(o|0)==2146435072&l>>>0>0|(i|0)==2047))){if(t=Ei(s|0,u|0,1)|0,o=eo,!(o>>>0>f>>>0|(o|0)==(f|0)&t>>>0>a>>>0))return+((t|0)==(a|0)&(o|0)==(f|0)?e*0:e);if(i)f=u&1048575|1048576;else{if(t=Ei(s|0,u|0,12)|0,i=eo,(i|0)>-1|(i|0)==-1&t>>>0>4294967295){o=i,i=0;do i=i+-1|0,t=Ei(t|0,o|0,1)|0,o=eo;while((o|0)>-1|(o|0)==-1&t>>>0>4294967295)}else i=0;s=Ei(s|0,u|0,1-i|0)|0,f=eo}if(n)u=c&1048575|1048576;else{if(t=Ei(l|0,c|0,12)|0,o=eo,(o|0)>-1|(o|0)==-1&t>>>0>4294967295){n=0;do n=n+-1|0,t=Ei(t|0,o|0,1)|0,o=eo;while((o|0)>-1|(o|0)==-1&t>>>0>4294967295)}else n=0;l=Ei(l|0,c|0,1-n|0)|0,u=eo}t=mi(s|0,f|0,l|0,u|0)|0,o=eo,a=(o|0)>-1|(o|0)==-1&t>>>0>4294967295;e:do if((i|0)>(n|0)){for(;;){if(a){if((s|0)==(l|0)&(f|0)==(u|0))break}else t=s,o=f;if(s=Ei(t|0,o|0,1)|0,f=eo,i=i+-1|0,t=mi(s|0,f|0,l|0,u|0)|0,o=eo,a=(o|0)>-1|(o|0)==-1&t>>>0>4294967295,(i|0)<=(n|0))break e}return e*=0,+e}while(0);if(a){if((s|0)==(l|0)&(f|0)==(u|0))return e*=0,+e}else o=f,t=s;if(o>>>0<1048576|(o|0)==1048576&t>>>0<0)do t=Ei(t|0,o|0,1)|0,o=eo,i=i+-1|0;while(o>>>0<1048576|(o|0)==1048576&t>>>0<0);return(i|0)>0?(c=vi(t|0,o|0,0,-1048576)|0,t=eo,i=Ei(i|0,0,52)|0,t|=eo,i=c|i):(i=_i(t|0,o|0,1-i|0)|0,t=eo),zi[Ki>>2]=i,zi[Ki+4>>2]=t|d,e=+ji[Ki>>3],+e}return e*=r,e/=e,+e}function It(e,r){return e=+e,r=+r,+ +Bt(e,r)}function Ht(e,r){e=+e,r|=0;var t=0,i=0,o=0;return ji[Ki>>3]=e,t=zi[Ki>>2]|0,i=zi[Ki+4>>2]|0,o=_i(t|0,i|0,52)|0,o&=2047,(o|0)==2047?+e:o?(zi[r>>2]=o+-1022,zi[Ki>>2]=t,zi[Ki+4>>2]=i&-2146435073|1071644672,e=+ji[Ki>>3],+e):(e!=0?(e=+Ht(e*0x10000000000000000,r),t=(zi[r>>2]|0)+-64|0):t=0,zi[r>>2]=t,+e)}function xt(e,r){return e=+e,r|=0,+ +Ht(e,r)}function Ut(e){e=+e;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0;ji[Ki>>3]=e,t=zi[Ki>>2]|0,r=zi[Ki+4>>2]|0,i=(r|0)<0;do{if(i|r>>>0<1048576){if((t|0)==0&(r&2147483647|0)==0)return e=-1/(e*e),+e;if(!i){ji[Ki>>3]=e*0x40000000000000,r=zi[Ki+4>>2]|0,i=zi[Ki>>2]|0,t=-1077;break}return e=(e-e)/0,+e}if(r>>>0>2146435071)return+e;if((t|0)==0&!0&(r|0)==1072693248)return e=0,+e;i=t,t=-1023}while(0);return r=r+614242|0,zi[Ki>>2]=i,zi[Ki+4>>2]=(r&1048575)+1072079006,s=+ji[Ki>>3]+-1,e=s*s*.5,a=s/(s+2),f=a*a,n=f*f,ji[Ki>>3]=s-e,i=zi[Ki+4>>2]|0,zi[Ki>>2]=0,zi[Ki+4>>2]=i,o=+ji[Ki>>3],e=a*(e+(n*(n*(n*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(n*(n*(n*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(s-o-e),s=o*.4342944818781689,n=+(t+(r>>>20)|0),f=n*.30102999566361177,a=f+s,e=a+(s+(f-a)+(e*.4342944818781689+(n*3.694239077158931e-13+(o+e)*2.5082946711645275e-11))),+e}function zt(e,r){e=+e,r|=0;var t=0;return(r|0)>1023?(e*=8.98846567431158e307,t=r+-1023|0,(t|0)>1023&&(t=r+-2046|0,t=(t|0)>1023?1023:t,e*=8.98846567431158e307)):(r|0)<-1022?(e*=2.2250738585072014e-308,t=r+1022|0,(t|0)<-1022&&(t=r+2044|0,t=(t|0)<-1022?-1022:t,e*=2.2250738585072014e-308)):t=r,t=Ei(t+1023|0,0,52)|0,r=eo,zi[Ki>>2]=t,zi[Ki+4>>2]=r,+(e*+ji[Ki>>3])}function qt(e,r){return e=+e,r|=0,+ +zt(e,r)}function Vt(e,r){return e|=0,r|=0,e=e?jt(e,r,0)|0:0,e|0}function jt(e,r,t){return e|=0,r|=0,t|=0,e?r>>>0<128?(xi[e>>0]=r,r=1,r|0):r>>>0<2048?(xi[e>>0]=r>>>6|192,xi[e+1>>0]=r&63|128,r=2,r|0):r>>>0<55296|(r&-8192|0)==57344?(xi[e>>0]=r>>>12|224,xi[e+1>>0]=r>>>6&63|128,xi[e+2>>0]=r&63|128,r=3,r|0):(r+-65536|0)>>>0<1048576?(xi[e>>0]=r>>>18|240,xi[e+1>>0]=r>>>12&63|128,xi[e+2>>0]=r>>>6&63|128,xi[e+3>>0]=r&63|128,r=4,r|0):(zi[(Eo()|0)>>2]=84,r=-1,r|0):(r=1,r|0)}function Wt(){var e=0,r=0,t=0;return r=44728,r=Oi(zi[r>>2]|0,zi[r+4>>2]|0,1284865837,1481765933)|0,r=vi(r|0,eo|0,1,0)|0,e=eo,t=44728,zi[t>>2]=r,zi[t+4>>2]=e,e=_i(r|0,e|0,33)|0,e|0}function Yt(e){e|=0;var r=0,t=0;return r=e+74|0,t=xi[r>>0]|0,xi[r>>0]=t+255|t,r=e+20|0,t=e+44|0,(zi[r>>2]|0)>>>0>(zi[t>>2]|0)>>>0&&Ao[zi[e+36>>2]&3](e,0,0)|0,zi[e+16>>2]=0,zi[e+28>>2]=0,zi[r>>2]=0,r=zi[e>>2]|0,r&20?r&4?(zi[e>>2]=r|32,e=-1,e|0):(e=-1,e|0):(t=zi[t>>2]|0,zi[e+8>>2]=t,zi[e+4>>2]=t,e=0,e|0)}function Kt(e){e|=0;var r=0,t=0;return r=e+74|0,t=xi[r>>0]|0,xi[r>>0]=t+255|t,r=zi[e>>2]|0,r&8?(zi[e>>2]=r|32,t=-1,t|0):(zi[e+8>>2]=0,zi[e+4>>2]=0,t=zi[e+44>>2]|0,zi[e+28>>2]=t,zi[e+20>>2]=t,zi[e+16>>2]=t+(zi[e+48>>2]|0),t=0,t|0)}function Xt(e){e|=0;var r=0,t=0;return t=Wi,Wi=Wi+16|0,r=t,r=((zi[e+8>>2]|0)==0?(Yt(e)|0)!=0:0)?-1:(Ao[zi[e+32>>2]&3](e,r,1)|0)==1?qi[r>>0]|0:-1,Wi=t,r|0}function Gt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;i=t+16|0,o=zi[i>>2]|0;do if(!o){if(Kt(t)|0)return a=0,a|0;o=zi[i>>2]|0;break}while(0);if(a=t+20|0,n=zi[a>>2]|0,(o-n|0)>>>0<r>>>0)return a=Ao[zi[t+36>>2]&3](t,e,r)|0,a|0;e:do{if((xi[t+75>>0]|0)>-1){for(i=r;;){if(!i){o=n,i=0;break e}if(o=i+-1|0,(xi[e+o>>0]|0)==10)break;i=o}if((Ao[zi[t+36>>2]&3](t,e,i)|0)>>>0<i>>>0)return a=i,a|0;r=r-i|0,e=e+i|0,o=zi[a>>2]|0;break}o=n,i=0}while(0);return gi(o|0,e|0,r|0)|0,zi[a>>2]=(zi[a>>2]|0)+r,a=i+r|0,a|0}function Zt(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;return o=Wi,Wi=Wi+16|0,n=o,zi[n>>2]=i,e=$t(e,r,t,n)|0,Wi=o,e|0}function Jt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;return i=Wi,Wi=Wi+16|0,o=i,zi[o>>2]=t,t=ei(e,r,o)|0,Wi=i,t|0}function Qt(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0;h=Wi,Wi=Wi+224|0,u=h+120|0,d=h+80|0,c=h,l=h+136|0,i=d,o=i+40|0;do zi[i>>2]=0,i=i+4|0;while((i|0)<(o|0));return zi[u>>2]=zi[t>>2],(si(0,r,u,c,d)|0)<0?(e=-1,Wi=h,e|0):(o=e+48|0,zi[o>>2]|0?t=si(e,r,u,c,d)|0:(n=e+44|0,a=zi[n>>2]|0,zi[n>>2]=l,f=e+28|0,zi[f>>2]=l,s=e+20|0,zi[s>>2]=l,zi[o>>2]=80,i=e+16|0,zi[i>>2]=l+80,t=si(e,r,u,c,d)|0,a&&(Ao[zi[e+36>>2]&3](e,0,0)|0,t=(zi[s>>2]|0)==0?-1:t,zi[n>>2]=a,zi[o>>2]=0,zi[i>>2]=0,zi[f>>2]=0,zi[s>>2]=0)),e=t,Wi=h,e|0)}function $t(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0,a=0,f=0,s=0,u=0;

u=Wi,Wi=Wi+128|0,o=u+112|0,s=u,n=s,a=44736,f=n+112|0;do zi[n>>2]=zi[a>>2],n=n+4|0,a=a+4|0;while((n|0)<(f|0));if((r+-1|0)>>>0>2147483646){if(r)return zi[(Eo()|0)>>2]=75,i=-1,Wi=u,i|0;e=o,r=1}return a=-2-e|0,a=r>>>0>a>>>0?a:r,zi[s+48>>2]=a,o=s+20|0,zi[o>>2]=e,zi[s+44>>2]=e,r=e+a|0,e=s+16|0,zi[e>>2]=r,zi[s+28>>2]=r,r=Qt(s,t,i)|0,a?(i=zi[o>>2]|0,xi[i+(((i|0)==(zi[e>>2]|0))<<31>>31)>>0]=0,i=r,Wi=u,i|0):(i=r,Wi=u,i|0)}function ei(e,r,t){return e|=0,r|=0,t|=0,$t(e,2147483647,r,t)|0}function ri(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;a=Wi,Wi=Wi+112|0,n=a,t=n,o=t+112|0;do zi[t>>2]=0,t=t+4|0;while((t|0)<(o|0));return o=n+4|0,zi[o>>2]=e,t=n+8|0,zi[t>>2]=-1,zi[n+44>>2]=e,zi[n+76>>2]=-1,Dt(n,0),i=+Tt(n,1,1),t=(zi[o>>2]|0)-(zi[t>>2]|0)+(zi[n+108>>2]|0)|0,r?(zi[r>>2]=(t|0)!=0?e+t|0:e,Wi=a,+i):(Wi=a,+i)}function ti(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;n=r&255,i=(t|0)!=0;e:do if(i&(e&3|0)!=0)for(o=r&255;;){if((xi[e>>0]|0)==o<<24>>24){a=6;break e}if(e=e+1|0,t=t+-1|0,i=(t|0)!=0,!(i&(e&3|0)!=0)){a=5;break}}else a=5;while(0);(a|0)==5&&(i?a=6:t=0);e:do if((a|0)==6&&(o=r&255,(xi[e>>0]|0)!=o<<24>>24)){i=to(n,16843009)|0;r:do if(t>>>0>3)for(;;){if(n=zi[e>>2]^i,(n&-2139062144^-2139062144)&n+-16843009)break;if(e=e+4|0,t=t+-4|0,t>>>0<=3){a=11;break r}}else a=11;while(0);if((a|0)==11&&!t){t=0;break}for(;;){if((xi[e>>0]|0)==o<<24>>24)break e;if(e=e+1|0,t=t+-1|0,!t){t=0;break}}}while(0);return((t|0)!=0?e:0)|0}function ii(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0;if(!t)return n=0,n|0;for(o=t,i=e;;){if(e=xi[i>>0]|0,t=xi[r>>0]|0,e<<24>>24!=t<<24>>24)break;if(o=o+-1|0,!o){t=0,n=5;break}i=i+1|0,r=r+1|0}return(n|0)==5?t|0:(n=(e&255)-(t&255)|0,n|0)}function oi(e,r){e|=0,r|=0;var t=0,i=0,o=0;t=xi[e>>0]|0;e:do if(t<<24>>24){for(o=t,i=t&255;;){if(t=xi[r>>0]|0,!(t<<24>>24)){e=o;break e}if(o<<24>>24!=t<<24>>24?(o=Rt(i)|0,(o|0)!=(Rt(qi[r>>0]|0)|0)):0)break;if(e=e+1|0,r=r+1|0,t=xi[e>>0]|0,!(t<<24>>24)){e=0;break e}o=t,i=t&255}e=xi[e>>0]|0}else e=0;while(0);return o=Rt(e&255)|0,o-(Rt(qi[r>>0]|0)|0)|0}function ni(e,r){e|=0,r|=0;var t=0,i=0;if(i=xi[e>>0]|0,t=xi[r>>0]|0,i<<24>>24==0?1:i<<24>>24!=t<<24>>24)r=i;else{do e=e+1|0,r=r+1|0,i=xi[e>>0]|0,t=xi[r>>0]|0;while(!(i<<24>>24==0?1:i<<24>>24!=t<<24>>24));r=i}return(r&255)-(t&255)|0}function ai(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;if(!t)return i=0,i|0;i=xi[e>>0]|0;e:do if(i<<24>>24)for(;;){if(t=t+-1|0,o=xi[r>>0]|0,!(i<<24>>24==o<<24>>24&((t|0)!=0&o<<24>>24!=0)))break e;if(e=e+1|0,r=r+1|0,i=xi[e>>0]|0,!(i<<24>>24)){i=0;break}}else i=0;while(0);return o=(i&255)-(qi[r>>0]|0)|0,o|0}function fi(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0;if(n=e+4|0,t=zi[n>>2]|0,a=e+100|0,t>>>0<(zi[a>>2]|0)>>>0?(zi[n>>2]=t+1,t=qi[t>>0]|0):t=Pt(e)|0,(t|0)==43|(t|0)==45?(i=(t|0)==45&1,t=zi[n>>2]|0,t>>>0<(zi[a>>2]|0)>>>0?(zi[n>>2]=t+1,t=qi[t>>0]|0):t=Pt(e)|0,((r|0)!=0&(t+-48|0)>>>0>9?(zi[a>>2]|0)!=0:0)?(zi[n>>2]=(zi[n>>2]|0)+-1,o=i):o=i):o=0,(t+-48|0)>>>0>9)return zi[a>>2]|0?(zi[n>>2]=(zi[n>>2]|0)+-1,a=-2147483648,e=0,eo=a,e|0):(a=-2147483648,e=0,eo=a,e|0);i=0;do i=t+-48+(i*10|0)|0,t=zi[n>>2]|0,t>>>0<(zi[a>>2]|0)>>>0?(zi[n>>2]=t+1,t=qi[t>>0]|0):t=Pt(e)|0;while((t+-48|0)>>>0<10&(i|0)<214748364);if(r=((i|0)<0)<<31>>31,(t+-48|0)>>>0<10)do r=Oi(i|0,r|0,10,0)|0,i=eo,t=vi(t|0,((t|0)<0)<<31>>31|0,-48,-1)|0,i=vi(t|0,eo|0,r|0,i|0)|0,r=eo,t=zi[n>>2]|0,t>>>0<(zi[a>>2]|0)>>>0?(zi[n>>2]=t+1,t=qi[t>>0]|0):t=Pt(e)|0;while((t+-48|0)>>>0<10&((r|0)<21474836|(r|0)==21474836&i>>>0<2061584302));if((t+-48|0)>>>0<10)do t=zi[n>>2]|0,t>>>0<(zi[a>>2]|0)>>>0?(zi[n>>2]=t+1,t=qi[t>>0]|0):t=Pt(e)|0;while((t+-48|0)>>>0<10);return zi[a>>2]|0&&(zi[n>>2]=(zi[n>>2]|0)+-1),n=(o|0)!=0,e=mi(0,0,i|0,r|0)|0,a=n?eo:r,e=n?e:i,eo=a,e|0}function si(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0,H=0,x=0,U=0,z=0,q=0,V=0,j=0,W=0,Y=0,K=0,X=0,G=0,Z=0,J=0,Q=0,$=0,ee=0,re=0,te=0,ie=0,oe=0,ne=0,ae=0,fe=0,se=0,ue=0,le=0,ce=0,de=0,he=0,be=0,ke=0,me=0,pe=0,Ee=0,we=0,Se=0,ve=0,_e=0,ge=0,ye=0,Fe=0,Me=0,Oe=0,Ae=0,Re=0,Ne=0,Te=0,De=0,Pe=0,Ce=0,Le=0,Be=0,Ie=0,He=0,xe=0,Ue=0,ze=0,qe=0,Ve=0,je=0,We=0,Ye=0,Ke=0,Xe=0;Xe=Wi,Wi=Wi+864|0,Re=Xe+16|0,De=Xe,Ne=Xe+832|0,te=Ne,Me=Xe+816|0,xe=Xe+520|0,_e=Xe+776|0,We=Xe+8|0,Be=Xe+828|0,ie=(e|0)!=0,me=_e+40|0,we=me,_e=_e+39|0,ge=We+4|0,ye=We,Fe=Me+12|0,Me=Me+11|0,Oe=Fe,oe=Oe-te|0,ne=-2-te|0,ce=Oe+2|0,de=Re+288|0,he=Ne+9|0,be=he,ke=Ne+8|0,w=0,S=0,h=0,u=0,b=0;e:for(;;){do{if((h|0)>-1){if((u|0)>(2147483647-h|0)){zi[(Eo()|0)>>2]=75,W=-1;break}W=u+h|0;break}W=h}while(0);if(u=xi[r>>0]|0,!(u<<24>>24)){Te=W,Le=b,D=344;break}for(s=r;;){if(u<<24>>24==37){Ce=s,Ye=s,D=9;break}if(!(u<<24>>24)){ee=s,G=s;break}N=s+1|0,u=xi[N>>0]|0,s=N}r:do if((D|0)==9)for(;;){if(D=0,(xi[Ce+1>>0]|0)!=37){ee=Ce,G=Ye;break r}if(s=Ye+1|0,u=Ce+2|0,(xi[u>>0]|0)!=37){ee=u,G=s;break}Ce=u,Ye=s}while(0);if(u=G-r|0,ie&&Gt(r,u,e)|0,(G|0)==(r|0)){d=ee+1|0,s=xi[d>>0]|0,l=(s<<24>>24)+-48|0,l>>>0<10?(N=(xi[ee+2>>0]|0)==36,d=N?ee+3|0:d,s=xi[d>>0]|0,E=N?l:-1,b=N?1:b):E=-1,l=s<<24>>24;r:do if((l&-32|0)==32){h=0;do{if(!(1<<l+-32&75913))break r;h=1<<(s<<24>>24)+-32|h,d=d+1|0,s=xi[d>>0]|0,l=s<<24>>24}while((l&-32|0)==32)}else h=0;while(0);do if(s<<24>>24==42){if(l=d+1|0,s=(xi[l>>0]|0)+-48|0,s>>>0<10?(xi[d+2>>0]|0)==36:0)zi[o+(s<<2)>>2]=10,b=1,s=d+3|0,d=zi[i+((xi[l>>0]|0)+-48<<3)>>2]|0;else{if(b){Ke=-1,D=363;break e}if(!ie){s=l,b=0,N=0;break}b=(zi[t>>2]|0)+3&-4,d=zi[b>>2]|0,zi[t>>2]=b+4,b=0,s=l}(d|0)<0?(h|=8192,N=0-d|0):N=d}else if(l=(s<<24>>24)+-48|0,l>>>0<10){s=d,d=0;do d=(d*10|0)+l|0,s=s+1|0,l=(xi[s>>0]|0)+-48|0;while(l>>>0<10);if((d|0)<0){Ke=-1,D=363;break e}N=d}else s=d,N=0;while(0);r:do if((xi[s>>0]|0)==46){if(d=s+1|0,l=xi[d>>0]|0,l<<24>>24!=42){if(l=(l<<24>>24)+-48|0,!(l>>>0<10)){s=d,v=0;break}for(s=d,d=0;;)if(d=(d*10|0)+l|0,s=s+1|0,l=(xi[s>>0]|0)+-48|0,l>>>0>=10){v=d;break r}}if(l=s+2|0,d=(xi[l>>0]|0)+-48|0,d>>>0<10?(xi[s+3>>0]|0)==36:0){zi[o+(d<<2)>>2]=10,s=s+4|0,v=zi[i+((xi[l>>0]|0)+-48<<3)>>2]|0;break}if(b){Ke=-1,D=363;break e}ie?(s=(zi[t>>2]|0)+3&-4,v=zi[s>>2]|0,zi[t>>2]=s+4,s=l):(s=l,v=0)}else v=-1;while(0);for(m=0;;){if(d=(xi[s>>0]|0)+-65|0,d>>>0>57){Ke=-1,D=363;break e}if(l=s+1|0,d=xi[44848+(m*58|0)+d>>0]|0,k=d&255,!((k+-1|0)>>>0<8)){T=l;break}s=l,m=k}if(!(d<<24>>24)){Ke=-1,D=363;break}l=(E|0)>-1;r:do if(d<<24>>24==19){if(l){Ke=-1,D=363;break e}ae=w,fe=S,D=62}else{if(l){zi[o+(E<<2)>>2]=k,fe=i+(E<<3)|0,ae=zi[fe+4>>2]|0,fe=zi[fe>>2]|0,D=62;break}if(!ie){Ke=0,D=363;break e}if((d&255)>20)pe=S,Ee=w;else do switch(k|0){case 9:Ee=(zi[t>>2]|0)+3&-4,pe=zi[Ee>>2]|0,zi[t>>2]=Ee+4,Ee=w;break r;case 10:pe=(zi[t>>2]|0)+3&-4,Ee=zi[pe>>2]|0,zi[t>>2]=pe+4,pe=Ee,Ee=((Ee|0)<0)<<31>>31;break r;case 11:Ee=(zi[t>>2]|0)+3&-4,pe=zi[Ee>>2]|0,zi[t>>2]=Ee+4,Ee=0;break r;case 12:R=(zi[t>>2]|0)+7&-8,Ee=R,pe=zi[Ee>>2]|0,Ee=zi[Ee+4>>2]|0,zi[t>>2]=R+8;break r;case 13:pe=(zi[t>>2]|0)+3&-4,Ee=zi[pe>>2]|0,zi[t>>2]=pe+4,pe=Ee<<16>>16,Ee=(((Ee&65535)<<16>>16|0)<0)<<31>>31;break r;case 14:Ee=(zi[t>>2]|0)+3&-4,pe=zi[Ee>>2]|0,zi[t>>2]=Ee+4,pe&=65535,Ee=0;break r;case 15:pe=(zi[t>>2]|0)+3&-4,Ee=zi[pe>>2]|0,zi[t>>2]=pe+4,pe=Ee<<24>>24,Ee=(((Ee&255)<<24>>24|0)<0)<<31>>31;break r;case 16:Ee=(zi[t>>2]|0)+3&-4,pe=zi[Ee>>2]|0,zi[t>>2]=Ee+4,pe&=255,Ee=0;break r;case 17:pe=(zi[t>>2]|0)+7&-8,p=+ji[pe>>3],zi[t>>2]=pe+8,ji[Ki>>3]=p,pe=zi[Ki>>2]|0,Ee=zi[Ki+4>>2]|0;break r;case 18:pe=(zi[t>>2]|0)+7&-8,p=+ji[pe>>3],zi[t>>2]=pe+8,ji[Ki>>3]=p,pe=zi[Ki>>2]|0,Ee=zi[Ki+4>>2]|0;break r;default:pe=S,Ee=w;break r}while(0)}while(0);if((D|0)==62){if(D=0,!ie){w=ae,S=fe,h=W,r=T;continue}pe=fe,Ee=ae}F=xi[s>>0]|0,F=(m|0)!=0&(F&15|0)==3?F&-33:F,d=h&-65537,R=(h&8192|0)==0?h:d;r:do switch(F|0){case 109:Ae=_o(zi[(Eo()|0)>>2]|0)|0,D=94;break;case 115:Ae=(pe|0)!=0?pe:45344,D=94;break;case 112:Pe=R|8,Ie=v>>>0>8?v:8,je=120,D=73;break;case 83:r=pe,v?(se=r,ue=pe,He=v,D=97):(V=pe,j=r,q=0,D=102);break;case 88:case 120:Pe=R,Ie=v,je=F,D=73;break;case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:zi[Ki>>2]=pe,zi[Ki+4>>2]=Ee,c=+ji[Ki>>3],zi[De>>2]=0,(Ee|0)>=0?R&2048?(M=1,O=45355):(O=R&1,M=O,O=(O|0)==0?45353:45358):(c=-c,M=1,O=45352),ji[Ki>>3]=c,A=zi[Ki+4>>2]&2146435072;do if(A>>>0<2146435072|(A|0)==2146435072&!1){if(p=+xt(c,De)*2,d=p!=0,d&&(zi[De>>2]=(zi[De>>2]|0)+-1),_=F|32,(_|0)==97){s=F&32,S=(s|0)==0?O:O+9|0,w=M|2,r=12-v|0;do{if(!(v>>>0>11|(r|0)==0)){c=8;do r=r+-1|0,c*=16;while((r|0)!=0);if((xi[S>>0]|0)==45){c=-(c+(-p-c));break}c=p+c-c;break}c=p}while(0);if(d=zi[De>>2]|0,d=(d|0)<0?0-d|0:d,(d|0)<0)for(r=Fe,u=d,h=((d|0)<0)<<31>>31;;){if(d=Ri(u|0,h|0,10,0)|0,r=r+-1|0,xi[r>>0]=d|48,d=Ai(u|0,h|0,10,0)|0,!(h>>>0>9|(h|0)==9&u>>>0>4294967295))break;u=d,h=eo}else r=Fe;if(d)for(;;){if(r=r+-1|0,xi[r>>0]=(d>>>0)%10|0|48,d>>>0<10)break;d=(d>>>0)/10|0}if((r|0)==(Fe|0)&&(xi[Me>>0]=48,r=Me),xi[r+-1>>0]=(zi[De>>2]>>31&2)+43,E=r+-2|0,xi[E>>0]=F+15,R&8){r=Ne;do A=~~c,d=r+1|0,xi[r>>0]=qi[45312+A>>0]|s,c=(c-+(A|0))*16,(d-te|0)==1?(xi[d>>0]=46,r=r+2|0):r=d;while(c!=0)}else if((v|0)<1){r=Ne;do A=~~c,d=r+1|0,xi[r>>0]=qi[45312+A>>0]|s,c=(c-+(A|0))*16,(d-te|0)!=1|c==0?r=d:(xi[d>>0]=46,r=r+2|0);while(c!=0)}else{r=Ne;do A=~~c,d=r+1|0,xi[r>>0]=qi[45312+A>>0]|s,c=(c-+(A|0))*16,(d-te|0)==1?(xi[d>>0]=46,r=r+2|0):r=d;while(c!=0)}if(h=(v|0)!=0&(ne+r|0)<(v|0)?ce+v-E|0:oe-E+r|0,m=h+w|0,l=R&73728,k=(N|0)>(m|0),(l|0)==0&k){if(d=N-m|0,pi(xe|0,32,(d>>>0>256?256:d)|0)|0,d>>>0>255){u=d;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);d&=255}Gt(xe,d,e)|0}if(Gt(S,w,e)|0,(l|0)==65536&k){if(u=N-m|0,pi(xe|0,48,(u>>>0>256?256:u)|0)|0,u>>>0>255){s=u;do Gt(xe,256,e)|0,s=s+-256|0;while(s>>>0>255);u&=255}Gt(xe,u,e)|0}if(r=r-te|0,Gt(Ne,r,e)|0,d=Oe-E|0,r=h-d-r|0,(r|0)>0){if(pi(xe|0,48,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}if(Gt(E,d,e)|0,(l|0)==8192&k){if(r=N-m|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}u=k?N:m;break}r=(v|0)<0?6:v,d?(d=(zi[De>>2]|0)+-28|0,zi[De>>2]=d,c=p*268435456):(c=p,d=zi[De>>2]|0),A=(d|0)<0?Re:de,y=A,h=A;do g=~~c>>>0,zi[h>>2]=g,h=h+4|0,c=(c-+(g>>>0))*1e9;while(c!=0);if(d=zi[De>>2]|0,(d|0)>0){u=d,d=A;do{l=(u|0)>29?29:u,s=h+-4|0;do if(s>>>0>=d>>>0){u=0;do g=Ei(zi[s>>2]|0,0,l|0)|0,g=vi(g|0,eo|0,u|0,0)|0,u=eo,v=Ri(g|0,u|0,1e9,0)|0,zi[s>>2]=v,u=Ai(g|0,u|0,1e9,0)|0,s=s+-4|0;while(s>>>0>=d>>>0);if(!u)break;d=d+-4|0,zi[d>>2]=u}while(0);for(;;){if(h>>>0<=d>>>0)break;if(u=h+-4|0,zi[u>>2]|0)break;h=u}u=(zi[De>>2]|0)-l|0,zi[De>>2]=u}while((u|0)>0)}else u=d,d=A;t:do if((u|0)<0){if(w=((r+25|0)/9|0)+1|0,(_|0)!=102)for(;;){m=0-u|0,m=(m|0)>9?9:m;do if(d>>>0<h>>>0){s=(1<<m)+-1|0,l=1e9>>>m,u=0,k=d;do g=zi[k>>2]|0,zi[k>>2]=(g>>>m)+u,u=to(g&s,l)|0,k=k+4|0;while(k>>>0<h>>>0);if(d=(zi[d>>2]|0)==0?d+4|0:d,!u)break;zi[h>>2]=u,h=h+4|0}else d=(zi[d>>2]|0)==0?d+4|0:d;while(0);if(h=(h-d>>2|0)>(w|0)?d+(w<<2)|0:h,u=(zi[De>>2]|0)+m|0,zi[De>>2]=u,(u|0)>=0)break t}E=A+(w<<2)|0;do{m=0-u|0,m=(m|0)>9?9:m;do if(d>>>0<h>>>0){s=(1<<m)+-1|0,l=1e9>>>m,u=0,k=d;do g=zi[k>>2]|0,zi[k>>2]=(g>>>m)+u,u=to(g&s,l)|0,k=k+4|0;while(k>>>0<h>>>0);if(d=(zi[d>>2]|0)==0?d+4|0:d,!u)break;zi[h>>2]=u,h=h+4|0}else d=(zi[d>>2]|0)==0?d+4|0:d;while(0);h=(h-y>>2|0)>(w|0)?E:h,u=(zi[De>>2]|0)+m|0,zi[De>>2]=u}while((u|0)<0)}while(0);do if(d>>>0<h>>>0){if(u=(y-d>>2)*9|0,l=zi[d>>2]|0,l>>>0<10){w=u;break}s=10;do s=s*10|0,u=u+1|0;while(l>>>0>=s>>>0);w=u}else w=0;while(0);if(S=(_|0)==103,v=(r|0)!=0,u=r-((_|0)!=102?w:0)+((v&S)<<31>>31)|0,(u|0)<(((h-y>>2)*9|0)+-9|0)){if(l=u+9216|0,m=(l|0)/9|0,u=A+(m+-1023<<2)|0,l=((l|0)%9|0)+1|0,(l|0)<9){s=10;do s=s*10|0,l=l+1|0;while((l|0)!=9);E=s}else E=10;l=zi[u>>2]|0,k=(l>>>0)%(E>>>0)|0,((k|0)==0?(A+(m+-1022<<2)|0)==(h|0):0)?(z=d,U=u,x=w):D=221;do if((D|0)==221){D=0,p=(((l>>>0)/(E>>>0)|0)&1|0)==0?9007199254740992:9007199254740994,s=(E|0)/2|0;do if(k>>>0<s>>>0)c=.5;else{if((k|0)==(s|0)?(A+(m+-1022<<2)|0)==(h|0):0){c=1;break}c=1.5}while(0);do if(M){if((xi[O>>0]|0)!=45)break;p=-p,c=-c}while(0);if(s=l-k|0,zi[u>>2]=s,p+c==p){z=d,U=u,x=w;break}if(U=s+E|0,zi[u>>2]=U,U>>>0>999999999)for(;;){if(s=u+-4|0,zi[u>>2]=0,s>>>0<d>>>0&&(d=d+-4|0,zi[d>>2]=0),U=(zi[s>>2]|0)+1|0,zi[s>>2]=U,!(U>>>0>999999999)){u=s;break}u=s}if(s=(y-d>>2)*9|0,k=zi[d>>2]|0,k>>>0<10){z=d,U=u,x=s;break}l=10;do l=l*10|0,s=s+1|0;while(k>>>0>=l>>>0);z=d,U=u,x=s}while(0);g=U+4|0,d=z,w=x,h=h>>>0>g>>>0?g:h}for(m=0-w|0;;){if(h>>>0<=d>>>0){g=0;break}if(u=h+-4|0,zi[u>>2]|0){g=1;break}h=u}do{if(S){if(r=(v&1^1)+r|0,(r|0)>(w|0)&(w|0)>-5?(k=F+-1|0,r=r+-1-w|0):(k=F+-2|0,r=r+-1|0),u=R&8){v=u;break}do if(g){if(u=zi[h+-4>>2]|0,!u){s=9;break}if((u>>>0)%10|0){s=0;break}l=10,s=0;do l=l*10|0,s=s+1|0;while(((u>>>0)%(l>>>0)|0|0)==0)}else s=9;while(0);if(u=((h-y>>2)*9|0)+-9|0,(k|32|0)==102){v=u-s|0,v=(v|0)<0?0:v,r=(r|0)<(v|0)?r:v,v=0;break}v=u+w-s|0,v=(v|0)<0?0:v,r=(r|0)<(v|0)?r:v,v=0;break}k=F,v=R&8}while(0);if(_=r|v,E=(_|0)!=0&1,S=(k|32|0)==102)u=(w|0)>0?w:0,w=0;else{if(s=(w|0)<0?m:w,(s|0)<0)for(u=Fe,m=s,l=((s|0)<0)<<31>>31;;){if(s=Ri(m|0,l|0,10,0)|0,u=u+-1|0,xi[u>>0]=s|48,s=Ai(m|0,l|0,10,0)|0,!(l>>>0>9|(l|0)==9&m>>>0>4294967295))break;m=s,l=eo}else u=Fe;if(s)for(;;){if(u=u+-1|0,xi[u>>0]=(s>>>0)%10|0|48,s>>>0<10)break;s=(s>>>0)/10|0}if((Oe-u|0)<2)do u=u+-1|0,xi[u>>0]=48;while((Oe-u|0)<2);xi[u+-1>>0]=(w>>31&2)+43,w=u+-2|0,xi[w>>0]=k,u=Oe-w|0}if(F=M+1+r+E+u|0,E=R&73728,y=(N|0)>(F|0),(E|0)==0&y){if(u=N-F|0,pi(xe|0,32,(u>>>0>256?256:u)|0)|0,u>>>0>255){s=u;do Gt(xe,256,e)|0,s=s+-256|0;while(s>>>0>255);u&=255}Gt(xe,u,e)|0}if(Gt(O,M,e)|0,(E|0)==65536&y){if(u=N-F|0,pi(xe|0,48,(u>>>0>256?256:u)|0)|0,u>>>0>255){s=u;do Gt(xe,256,e)|0,s=s+-256|0;while(s>>>0>255);u&=255}Gt(xe,u,e)|0}if(S){l=d>>>0>A>>>0?A:d,u=l;do{if(s=zi[u>>2]|0)for(d=he;;){if(d=d+-1|0,xi[d>>0]=(s>>>0)%10|0|48,s>>>0<10)break;s=(s>>>0)/10|0}else d=he;do if((u|0)==(l|0)){if((d|0)!=(he|0))break;xi[ke>>0]=48,d=ke}else{if(d>>>0<=Ne>>>0)break;do d=d+-1|0,xi[d>>0]=48;while(d>>>0>Ne>>>0)}while(0);Gt(d,be-d|0,e)|0,u=u+4|0}while(u>>>0<=A>>>0);if(_&&Gt(45408,1,e)|0,(r|0)>0&u>>>0<h>>>0){s=u;do{if(d=zi[s>>2]|0){for(u=he;;){if(u=u+-1|0,xi[u>>0]=(d>>>0)%10|0|48,d>>>0<10)break;d=(d>>>0)/10|0}u>>>0>Ne>>>0?(qe=u,D=289):re=u}else qe=he,D=289;if((D|0)==289)for(;;){if(D=0,u=qe+-1|0,xi[u>>0]=48,!(u>>>0>Ne>>>0)){re=u;break}qe=u}R=(r|0)>9,Gt(re,R?9:r,e)|0,s=s+4|0,r=r+-9|0}while(R&s>>>0<h>>>0)}if((r|0)>0){if(pi(xe|0,48,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}}else{m=g?h:d+4|0;do if((r|0)>-1){k=(v|0)==0,l=d;do{if(h=zi[l>>2]|0){for(u=he,s=h;;){if(h=u+-1|0,xi[h>>0]=(s>>>0)%10|0|48,s>>>0<10)break;u=h,s=(s>>>0)/10|0}(h|0)!=(he|0)?(le=u,Ve=h):D=303}else D=303;(D|0)==303&&(D=0,xi[ke>>0]=48,le=he,Ve=ke);do if((l|0)==(d|0)){if(Gt(Ve,1,e)|0,k&(r|0)<1){h=le;break}Gt(45408,1,e)|0,h=le}else{if(!(Ve>>>0>Ne>>>0)){h=Ve;break}h=Ve;do h=h+-1|0,xi[h>>0]=48;while(h>>>0>Ne>>>0)}while(0);R=be-h|0,Gt(h,(r|0)>(R|0)?R:r,e)|0,r=r-R|0,l=l+4|0}while(l>>>0<m>>>0&(r|0)>-1);if((r|0)<=0)break;if(pi(xe|0,48,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}while(0);Gt(w,Oe-w|0,e)|0}if((E|0)==8192&y){if(r=N-F|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}u=y?N:F}else{if(s=(F&32|0)!=0,h=c!=c|!1,d=h?0:M,s=h?s?45392:45400:s?45376:45384,h=d+3|0,l=(N|0)>(h|0),(R&8192|0)==0&l){if(r=N-h|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}if(Gt(O,d,e)|0,Gt(s,3,e)|0,(R&73728|0)==8192&l){if(r=N-h|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}u=l?N:h}while(0);w=Ee,S=pe,h=W,r=T;continue e;case 111:if(s=(pe|0)==0&(Ee|0)==0)a=me;else{a=me,r=pe,u=Ee;do a=a+-1|0,xi[a>>0]=r&7|48,r=_i(r|0,u|0,3)|0,u=eo;while(!((r|0)==0&(u|0)==0))}B=(R&8|0)==0|s,I=pe,H=Ee,P=R,C=v,L=B&1^1,B=B?45328:45333,D=89;break;case 99:xi[_e>>0]=pe,J=Ee,Q=pe,$=_e,f=d,Y=1,K=0,X=45328,Z=me;break;case 110:switch(m|0){case 3:Ui[pe>>1]=W,w=Ee,S=pe,h=W,r=T;continue e;case 0:zi[pe>>2]=W,w=Ee,S=pe,h=W,r=T;continue e;case 7:w=pe,zi[w>>2]=W,zi[w+4>>2]=((W|0)<0)<<31>>31,w=Ee,S=pe,h=W,r=T;continue e;case 1:zi[pe>>2]=W,w=Ee,S=pe,h=W,r=T;continue e;case 6:zi[pe>>2]=W,w=Ee,S=pe,h=W,r=T;continue e;case 2:w=pe,zi[w>>2]=W,zi[w+4>>2]=((W|0)<0)<<31>>31,w=Ee,S=pe,h=W,r=T;continue e;case 4:xi[pe>>0]=W,w=Ee,S=pe,h=W,r=T;continue e;default:w=Ee,S=pe,h=W,r=T;continue e}case 67:zi[We>>2]=pe,zi[ge>>2]=0,se=We,ue=ye,He=-1,D=97;break;case 105:case 100:if((Ee|0)<0){ve=mi(0,0,pe|0,Ee|0)|0,Se=eo,Ue=1,ze=45328,D=84;break r}R&2048?(Se=Ee,ve=pe,Ue=1,ze=45329,D=84):(ze=R&1,Se=Ee,ve=pe,Ue=ze,ze=(ze|0)==0?45328:45330,D=84);break;case 117:Se=Ee,ve=pe,Ue=0,ze=45328,D=84;break;default:J=Ee,Q=pe,$=r,f=R,Y=v,K=0,X=45328,Z=me}while(0);if((D|0)==73)if(a=je&32,(pe|0)==0&(Ee|0)==0)I=pe,H=Ee,a=me,P=Pe,C=Ie,L=0,B=45328,D=89;else{r=me,s=pe,u=Ee;do r=r+-1|0,xi[r>>0]=qi[45312+(s&15)>>0]|a,s=_i(s|0,u|0,4)|0,u=eo;while(!((s|0)==0&(u|0)==0));Pe&8?(I=pe,H=Ee,a=r,P=Pe,C=Ie,L=2,B=45328+(je>>4)|0,D=89):(I=pe,H=Ee,a=r,P=Pe,C=Ie,L=0,B=45328,D=89)}else if((D|0)==84){if(Se>>>0>0|(Se|0)==0&ve>>>0>4294967295)for(a=me,u=ve,s=Se;;){if(r=Ri(u|0,s|0,10,0)|0,a=a+-1|0,xi[a>>0]=r|48,r=Ai(u|0,s|0,10,0)|0,!(s>>>0>9|(s|0)==9&u>>>0>4294967295))break;u=r,s=eo}else a=me,r=ve;if(r)for(;;){if(a=a+-1|0,xi[a>>0]=(r>>>0)%10|0|48,r>>>0<10){I=ve,H=Se,P=R,C=v,L=Ue,B=ze,D=89;break}r=(r>>>0)/10|0}else I=ve,H=Se,P=R,C=v,L=Ue,B=ze,D=89}else if((D|0)==94)D=0,Z=ti(Ae,0,v)|0,A=(Z|0)==0,J=Ee,Q=pe,$=Ae,f=d,Y=A?v:Z-Ae|0,K=0,X=45328,Z=A?Ae+v|0:Z;else if((D|0)==97){for(u=0,r=0,l=se;;){if(s=zi[l>>2]|0,!s)break;if(r=Vt(Be,s)|0,(r|0)<0|r>>>0>(He-u|0)>>>0)break;if(u=r+u|0,!(He>>>0>u>>>0))break;l=l+4|0}if((r|0)<0){Ke=-1,D=363;break}V=ue,j=se,q=u,D=102}if((D|0)==89)D=0,f=(C|0)>-1?P&-65537:P,r=(I|0)!=0|(H|0)!=0,r|(C|0)!=0?(Y=(r&1^1)+(we-a)|0,J=H,Q=I,$=a,Y=(C|0)>(Y|0)?C:Y,K=L,X=B,Z=me):(J=H,Q=I,$=me,Y=0,K=L,X=B,Z=me);else if((D|0)==102){if(D=0,d=R&73728,l=(N|0)>(q|0),(d|0)==0&l){if(r=N-q|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}r:do if(q)for(u=0,s=j;;){if(r=zi[s>>2]|0,!r)break r;if(r=Vt(Be,r)|0,u=r+u|0,(u|0)>(q|0))break r;if(Gt(Be,r,e)|0,u>>>0>=q>>>0)break;s=s+4|0}while(0);if((d|0)==8192&l){if(r=N-q|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}w=Ee,S=V,h=W,r=T,u=l?N:q;continue}if(k=Z-$|0,h=(Y|0)<(k|0)?k:Y,l=K+h|0,m=(N|0)<(l|0)?l:N,d=f&73728,s=(m|0)>(l|0),(d|0)==0&s){if(r=m-l|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}if(Gt(X,K,e)|0,(d|0)==65536&s){if(r=m-l|0,pi(xe|0,48,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}if((h|0)>(k|0)){if(r=h-k|0,pi(xe|0,48,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}if(Gt($,k,e)|0,(d|0)==8192&s){if(r=m-l|0,pi(xe|0,32,(r>>>0>256?256:r)|0)|0,r>>>0>255){u=r;do Gt(xe,256,e)|0,u=u+-256|0;while(u>>>0>255);r&=255}Gt(xe,r,e)|0}w=J,S=Q,h=W,r=T,u=m}else h=W,r=ee}if((D|0)==344){if(e)return o=Te,Wi=Xe,o|0;if(!Le)return o=0,Wi=Xe,o|0;for(r=1;;){if(a=zi[o+(r<<2)>>2]|0,!a){n=r;break}f=i+(r<<3)|0;e:do if(a>>>0<=20)do switch(a|0){case 11:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,Ye=f,zi[Ye>>2]=We,zi[Ye+4>>2]=0;break e;case 16:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,Ye=f,zi[Ye>>2]=We&255,zi[Ye+4>>2]=0;break e;case 13:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,We=(We&65535)<<16>>16,Ye=f,zi[Ye>>2]=We,zi[Ye+4>>2]=((We|0)<0)<<31>>31;break e;case 17:Ye=(zi[t>>2]|0)+7&-8,p=+ji[Ye>>3],zi[t>>2]=Ye+8,ji[f>>3]=p;break e;case 9:We=(zi[t>>2]|0)+3&-4,Ye=zi[We>>2]|0,zi[t>>2]=We+4,zi[f>>2]=Ye;break e;case 15:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,We=(We&255)<<24>>24,Ye=f,zi[Ye>>2]=We,zi[Ye+4>>2]=((We|0)<0)<<31>>31;break e;case 12:Ye=(zi[t>>2]|0)+7&-8,We=Ye,je=zi[We>>2]|0,We=zi[We+4>>2]|0,zi[t>>2]=Ye+8,Ye=f,zi[Ye>>2]=je,zi[Ye+4>>2]=We;break e;case 18:Ye=(zi[t>>2]|0)+7&-8,p=+ji[Ye>>3],zi[t>>2]=Ye+8,ji[f>>3]=p;break e;case 14:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,Ye=f,zi[Ye>>2]=We&65535,zi[Ye+4>>2]=0;break e;case 10:Ye=(zi[t>>2]|0)+3&-4,We=zi[Ye>>2]|0,zi[t>>2]=Ye+4,Ye=f,zi[Ye>>2]=We,zi[Ye+4>>2]=((We|0)<0)<<31>>31;break e;default:break e}while(0);while(0);if(r=r+1|0,(r|0)>=10){Ke=1,D=363;break}}if((D|0)==363)return Wi=Xe,Ke|0;if((n|0)>=10)return o=1,Wi=Xe,o|0;for(;;){if(zi[o+(n<<2)>>2]|0){Ke=-1,D=363;break}if(n=n+1|0,(n|0)>=10){Ke=1,D=363;break}}if((D|0)==363)return Wi=Xe,Ke|0}else if((D|0)==363)return Wi=Xe,Ke|0;return 0}function ui(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0;return i=e+20|0,o=zi[i>>2]|0,e=(zi[e+16>>2]|0)-o|0,e=e>>>0>t>>>0?t:e,gi(o|0,r|0,e|0)|0,zi[i>>2]=(zi[i>>2]|0)+e,t|0}function li(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0,S=0,v=0,_=0,g=0,y=0,F=0,M=0,O=0,A=0,R=0,N=0,T=0,D=0,P=0,C=0,L=0,B=0,I=0;do if(e>>>0<245){if(h=e>>>0<11?16:e+11&-8,e=h>>>3,u=zi[11354]|0,o=u>>>e,o&3){t=(o&1^1)+e|0,o=t<<1,i=45456+(o<<2)|0,o=45456+(o+2<<2)|0,n=zi[o>>2]|0,a=n+8|0,f=zi[a>>2]|0;do if((i|0)!=(f|0)){if(f>>>0<(zi[11358]|0)>>>0&&So(),r=f+12|0,(zi[r>>2]|0)==(n|0)){zi[r>>2]=i,zi[o>>2]=f;break}So()}else zi[11354]=u&~(1<<t);while(0);return B=t<<3,zi[n+4>>2]=B|3,B=n+(B|4)|0,zi[B>>2]=zi[B>>2]|1,B=a,B|0}if(f=zi[11356]|0,h>>>0>f>>>0){if(o){i=2<<e,i=o<<e&(i|0-i),i=(i&0-i)+-1|0,s=i>>>12&16,i>>>=s,a=i>>>5&8,i>>>=a,n=i>>>2&4,i>>>=n,t=i>>>1&2,i>>>=t,o=i>>>1&1,o=(a|s|n|t|o)+(i>>>o)|0,i=o<<1,t=45456+(i<<2)|0,i=45456+(i+2<<2)|0,n=zi[i>>2]|0,s=n+8|0,a=zi[s>>2]|0;do if((t|0)!=(a|0)){if(a>>>0<(zi[11358]|0)>>>0&&So(),r=a+12|0,(zi[r>>2]|0)==(n|0)){zi[r>>2]=t,zi[i>>2]=a,l=zi[11356]|0;break}So()}else zi[11354]=u&~(1<<o),l=f;while(0);return B=o<<3,f=B-h|0,zi[n+4>>2]=h|3,e=n+h|0,zi[n+(h|4)>>2]=f|1,zi[n+B>>2]=f,l&&(a=zi[11359]|0,t=l>>>3,r=t<<1,i=45456+(r<<2)|0,o=zi[11354]|0,t=1<<t,o&t?(o=45456+(r+2<<2)|0,r=zi[o>>2]|0,r>>>0<(zi[11358]|0)>>>0?So():(c=o,d=r)):(zi[11354]=o|t,c=45456+(r+2<<2)|0,d=i),zi[c>>2]=a,zi[d+12>>2]=a,zi[a+8>>2]=d,zi[a+12>>2]=i),zi[11356]=f,zi[11359]=e,B=s,B|0}if(e=zi[11355]|0){for(t=(e&0-e)+-1|0,L=t>>>12&16,t>>>=L,D=t>>>5&8,t>>>=D,B=t>>>2&4,t>>>=B,o=t>>>1&2,t>>>=o,i=t>>>1&1,i=zi[45720+((D|L|B|o|i)+(t>>>i)<<2)>>2]|0,t=(zi[i+4>>2]&-8)-h|0,o=i;;){if(r=zi[o+16>>2]|0,!r&&(r=zi[o+20>>2]|0,!r)){u=t;break}o=(zi[r+4>>2]&-8)-h|0,B=o>>>0<t>>>0,t=B?o:t,o=r,i=B?r:i}e=zi[11358]|0,i>>>0<e>>>0&&So(),f=i+h|0,i>>>0>=f>>>0&&So(),s=zi[i+24>>2]|0,t=zi[i+12>>2]|0;do if((t|0)==(i|0)){if(o=i+20|0,r=zi[o>>2]|0,!r&&(o=i+16|0,r=zi[o>>2]|0,!r)){n=0;break}for(;;)if(t=r+20|0,a=zi[t>>2]|0)r=a,o=t;else{if(t=r+16|0,a=zi[t>>2]|0,!a)break;r=a,o=t}if(!(o>>>0<e>>>0)){zi[o>>2]=0,n=r;break}So()}else{if(a=zi[i+8>>2]|0,a>>>0<e>>>0&&So(),r=a+12|0,(zi[r>>2]|0)!=(i|0)&&So(),o=t+8|0,(zi[o>>2]|0)==(i|0)){zi[r>>2]=t,zi[o>>2]=a,n=t;break}So()}while(0);do if(s){if(r=zi[i+28>>2]|0,o=45720+(r<<2)|0,(i|0)==(zi[o>>2]|0)){if(zi[o>>2]=n,!n){zi[11355]=zi[11355]&~(1<<r);break}}else if(s>>>0<(zi[11358]|0)>>>0&&So(),r=s+16|0,(zi[r>>2]|0)==(i|0)?zi[r>>2]=n:zi[s+20>>2]=n,!n)break;o=zi[11358]|0,n>>>0<o>>>0&&So(),zi[n+24>>2]=s,r=zi[i+16>>2]|0;do if(r){if(!(r>>>0<o>>>0)){zi[n+16>>2]=r,zi[r+24>>2]=n;break}So()}while(0);if(r=zi[i+20>>2]|0){if(!(r>>>0<(zi[11358]|0)>>>0)){zi[n+20>>2]=r,zi[r+24>>2]=n;break}So()}}while(0);return u>>>0<16?(B=u+h|0,zi[i+4>>2]=B|3,B=i+(B+4)|0,zi[B>>2]=zi[B>>2]|1):(zi[i+4>>2]=h|3,zi[i+(h|4)>>2]=u|1,zi[i+(u+h)>>2]=u,r=zi[11356]|0,r&&(n=zi[11359]|0,t=r>>>3,r=t<<1,a=45456+(r<<2)|0,o=zi[11354]|0,t=1<<t,o&t?(r=45456+(r+2<<2)|0,o=zi[r>>2]|0,o>>>0<(zi[11358]|0)>>>0?So():(b=r,k=o)):(zi[11354]=o|t,b=45456+(r+2<<2)|0,k=a),zi[b>>2]=n,zi[k+12>>2]=n,zi[n+8>>2]=k,zi[n+12>>2]=a),zi[11356]=u,zi[11359]=f),B=i+8|0,B|0}k=h}else k=h}else if(e>>>0<=4294967231)if(e=e+11|0,c=e&-8,l=zi[11355]|0){o=0-c|0,e>>>=8,e?c>>>0>16777215?u=31:(k=(e+1048320|0)>>>16&8,S=e<<k,b=(S+520192|0)>>>16&4,S<<=b,u=(S+245760|0)>>>16&2,u=14-(b|k|u)+(S<<u>>>15)|0,u=c>>>(u+7|0)&1|u<<1):u=0,e=zi[45720+(u<<2)>>2]|0;e:do if(e)for(a=o,t=0,n=c<<((u|0)==31?0:25-(u>>>1)|0),f=e,e=0;;){if(s=zi[f+4>>2]&-8,o=s-c|0,o>>>0<a>>>0){if((s|0)==(c|0)){s=f,e=f,S=90;break e}e=f}else o=a;if(S=zi[f+20>>2]|0,f=zi[f+16+(n>>>31<<2)>>2]|0,t=(S|0)==0|(S|0)==(f|0)?t:S,!f){S=86;break}a=o,n<<=1}else t=0,e=0,S=86;while(0);if((S|0)==86){if((t|0)==0&(e|0)==0){if(e=2<<u,e=l&(e|0-e),!e){k=c;break}e=(e&0-e)+-1|0,d=e>>>12&16,e>>>=d,l=e>>>5&8,e>>>=l,b=e>>>2&4,e>>>=b,k=e>>>1&2,e>>>=k,t=e>>>1&1,t=zi[45720+((l|d|b|k|t)+(e>>>t)<<2)>>2]|0,e=0}t?(s=t,S=90):(n=o,f=e)}if((S|0)==90)for(;;)if(S=0,k=(zi[s+4>>2]&-8)-c|0,t=k>>>0<o>>>0,o=t?k:o,e=t?s:e,t=zi[s+16>>2]|0)s=t,S=90;else{if(s=zi[s+20>>2]|0,!s){n=o,f=e;break}S=90}if((f|0)!=0?n>>>0<((zi[11356]|0)-c|0)>>>0:0){e=zi[11358]|0,f>>>0<e>>>0&&So(),a=f+c|0,f>>>0>=a>>>0&&So(),s=zi[f+24>>2]|0,t=zi[f+12>>2]|0;do if((t|0)==(f|0)){if(o=f+20|0,r=zi[o>>2]|0,!r&&(o=f+16|0,r=zi[o>>2]|0,!r)){h=0;break}for(;;)if(t=r+20|0,i=zi[t>>2]|0)r=i,o=t;else{if(t=r+16|0,i=zi[t>>2]|0,!i)break;r=i,o=t}if(!(o>>>0<e>>>0)){zi[o>>2]=0,h=r;break}So()}else{if(i=zi[f+8>>2]|0,i>>>0<e>>>0&&So(),r=i+12|0,(zi[r>>2]|0)!=(f|0)&&So(),o=t+8|0,(zi[o>>2]|0)==(f|0)){zi[r>>2]=t,zi[o>>2]=i,h=t;break}So()}while(0);do if(s){if(r=zi[f+28>>2]|0,o=45720+(r<<2)|0,(f|0)==(zi[o>>2]|0)){if(zi[o>>2]=h,!h){zi[11355]=zi[11355]&~(1<<r);break}}else if(s>>>0<(zi[11358]|0)>>>0&&So(),r=s+16|0,(zi[r>>2]|0)==(f|0)?zi[r>>2]=h:zi[s+20>>2]=h,!h)break;o=zi[11358]|0,h>>>0<o>>>0&&So(),zi[h+24>>2]=s,r=zi[f+16>>2]|0;do if(r){if(!(r>>>0<o>>>0)){zi[h+16>>2]=r,zi[r+24>>2]=h;break}So()}while(0);if(r=zi[f+20>>2]|0){if(!(r>>>0<(zi[11358]|0)>>>0)){zi[h+20>>2]=r,zi[r+24>>2]=h;break}So()}}while(0);e:do if(n>>>0>=16){if(zi[f+4>>2]=c|3,zi[f+(c|4)>>2]=n|1,zi[f+(n+c)>>2]=n,r=n>>>3,n>>>0<256){o=r<<1,i=45456+(o<<2)|0,t=zi[11354]|0,r=1<<r,t&r?(r=45456+(o+2<<2)|0,o=zi[r>>2]|0,o>>>0<(zi[11358]|0)>>>0?So():(p=r,E=o)):(zi[11354]=t|r,p=45456+(o+2<<2)|0,E=i),zi[p>>2]=a,zi[E+12>>2]=a,zi[f+(c+8)>>2]=E,zi[f+(c+12)>>2]=i;break}if(r=n>>>8,r?n>>>0>16777215?i=31:(L=(r+1048320|0)>>>16&8,B=r<<L,D=(B+520192|0)>>>16&4,B<<=D,i=(B+245760|0)>>>16&2,i=14-(D|L|i)+(B<<i>>>15)|0,i=n>>>(i+7|0)&1|i<<1):i=0,r=45720+(i<<2)|0,zi[f+(c+28)>>2]=i,zi[f+(c+20)>>2]=0,zi[f+(c+16)>>2]=0,o=zi[11355]|0,t=1<<i,!(o&t)){zi[11355]=o|t,zi[r>>2]=a,zi[f+(c+24)>>2]=r,zi[f+(c+12)>>2]=a,zi[f+(c+8)>>2]=a;break}r=zi[r>>2]|0;r:do if((zi[r+4>>2]&-8|0)!=(n|0)){for(i=n<<((i|0)==31?0:25-(i>>>1)|0);;){if(t=r+16+(i>>>31<<2)|0,o=zi[t>>2]|0,!o)break;if((zi[o+4>>2]&-8|0)==(n|0)){g=o;break r}i<<=1,r=o}if(!(t>>>0<(zi[11358]|0)>>>0)){zi[t>>2]=a,zi[f+(c+24)>>2]=r,zi[f+(c+12)>>2]=a,zi[f+(c+8)>>2]=a;break e}So()}else g=r;while(0);if(r=g+8|0,t=zi[r>>2]|0,B=zi[11358]|0,t>>>0>=B>>>0&g>>>0>=B>>>0){zi[t+12>>2]=a,zi[r>>2]=a,zi[f+(c+8)>>2]=t,zi[f+(c+12)>>2]=g,zi[f+(c+24)>>2]=0;break}So()}else B=n+c|0,zi[f+4>>2]=B|3,B=f+(B+4)|0,zi[B>>2]=zi[B>>2]|1;while(0);return B=f+8|0,B|0}k=c}else k=c;else k=-1;while(0);if(e=zi[11356]|0,e>>>0>=k>>>0)return r=e-k|0,t=zi[11359]|0,r>>>0>15?(zi[11359]=t+k,zi[11356]=r,zi[t+(k+4)>>2]=r|1,zi[t+e>>2]=r,zi[t+4>>2]=k|3):(zi[11356]=0,zi[11359]=0,zi[t+4>>2]=e|3,B=t+(e+4)|0,zi[B>>2]=zi[B>>2]|1),B=t+8|0,B|0;if(e=zi[11357]|0,e>>>0>k>>>0)return L=e-k|0,zi[11357]=L,B=zi[11360]|0,zi[11360]=B+k,zi[B+(k+4)>>2]=L|1,zi[B+4>>2]=k|3,B=B+8|0,B|0;do if(!(zi[11472]|0)){if(e=so(30)|0,!(e+-1&e)){zi[11474]=e,zi[11473]=e,zi[11475]=-1,zi[11476]=-1,zi[11477]=0,zi[11465]=0,zi[11472]=(vo(0)|0)&-16^1431655768;break}So()}while(0);if(f=k+48|0,n=zi[11474]|0,u=k+47|0,a=n+u|0,n=0-n|0,l=a&n,l>>>0<=k>>>0)return B=0,B|0;if(e=zi[11464]|0,(e|0)!=0?(E=zi[11462]|0,g=E+l|0,g>>>0<=E>>>0|g>>>0>e>>>0):0)return B=0,B|0;e:do if(zi[11465]&4)e=0,S=191;else{e=zi[11360]|0;r:do if(e){for(t=45864;;){if(o=zi[t>>2]|0,o>>>0<=e>>>0?(m=t+4|0,(o+(zi[m>>2]|0)|0)>>>0>e>>>0):0){s=t,e=m;break}if(t=zi[t+8>>2]|0,!t){S=174;break r}}if(o=a-(zi[11357]|0)&n,o>>>0<2147483647)if(t=ao(o|0)|0,g=(t|0)==((zi[s>>2]|0)+(zi[e>>2]|0)|0),e=g?o:0,g){if((t|0)!=-1){v=t,b=e,S=194;break e}}else S=184;else e=0}else S=174;while(0);do if((S|0)==174)if(s=ao(0)|0,(s|0)!=-1)if(e=s,o=zi[11473]|0,t=o+-1|0,o=t&e?l-e+(t+e&0-o)|0:l,e=zi[11462]|0,t=e+o|0,o>>>0>k>>>0&o>>>0<2147483647){if(g=zi[11464]|0,(g|0)!=0?t>>>0<=e>>>0|t>>>0>g>>>0:0){e=0;break}if(t=ao(o|0)|0,g=(t|0)==(s|0),e=g?o:0,g){v=s,b=e,S=194;break e}S=184}else e=0;else e=0;while(0);r:do if((S|0)==184){s=0-o|0;do if(f>>>0>o>>>0&(o>>>0<2147483647&(t|0)!=-1)?(w=zi[11474]|0,w=u-o+w&0-w,w>>>0<2147483647):0){if((ao(w|0)|0)==-1){ao(s|0)|0;break r}o=w+o|0;break}while(0);if((t|0)!=-1){v=t,b=o,S=194;break e}}while(0);zi[11465]=zi[11465]|4,S=191}while(0);if(((((S|0)==191?l>>>0<2147483647:0)?(v=ao(l|0)|0,_=ao(0)|0,v>>>0<_>>>0&((v|0)!=-1&(_|0)!=-1)):0)?(y=_-v|0,F=y>>>0>(k+40|0)>>>0):0)&&(b=F?y:e,S=194),(S|0)==194){e=(zi[11462]|0)+b|0,zi[11462]=e,e>>>0>(zi[11463]|0)>>>0&&(zi[11463]=e),n=zi[11360]|0;e:do if(n){s=45864;do{if(e=zi[s>>2]|0,o=s+4|0,t=zi[o>>2]|0,(v|0)==(e+t|0)){M=e,O=o,A=t,R=s,S=204;break}s=zi[s+8>>2]|0}while((s|0)!=0);if(((S|0)==204?(zi[R+12>>2]&8|0)==0:0)?n>>>0<v>>>0&n>>>0>=M>>>0:0){zi[O>>2]=A+b,B=(zi[11357]|0)+b|0,L=n+8|0,L=(L&7|0)==0?0:0-L&7,D=B-L|0,zi[11360]=n+L,zi[11357]=D,zi[n+(L+4)>>2]=D|1,zi[n+(B+4)>>2]=40,zi[11361]=zi[11476];break}for(e=zi[11358]|0,v>>>0<e>>>0&&(zi[11358]=v,e=v),o=v+b|0,a=45864;;){if((zi[a>>2]|0)==(o|0)){t=a,o=a,S=212;break}if(a=zi[a+8>>2]|0,!a){t=45864;break}}if((S|0)==212){if(!(zi[o+12>>2]&8)){zi[t>>2]=v,d=o+4|0,zi[d>>2]=(zi[d>>2]|0)+b,d=v+8|0,d=(d&7|0)==0?0:0-d&7,u=v+(b+8)|0,u=(u&7|0)==0?0:0-u&7,r=v+(u+b)|0,c=d+k|0,h=v+c|0,l=r-(v+d)-k|0,zi[v+(d+4)>>2]=k|3;r:do if((r|0)!=(n|0)){if((r|0)==(zi[11359]|0)){B=(zi[11356]|0)+l|0,zi[11356]=B,zi[11359]=h,zi[v+(c+4)>>2]=B|1,zi[v+(B+c)>>2]=B;break}if(n=b+4|0,o=zi[v+(n+u)>>2]|0,(o&3|0)==1){f=o&-8,a=o>>>3;t:do if(o>>>0>=256){s=zi[v+((u|24)+b)>>2]|0,t=zi[v+(b+12+u)>>2]|0;do if((t|0)==(r|0)){if(i=u|16,t=v+(n+i)|0,o=zi[t>>2]|0,!o&&(t=v+(i+b)|0,o=zi[t>>2]|0,!o)){C=0;break}for(;;)if(i=o+20|0,a=zi[i>>2]|0)o=a,t=i;else{if(i=o+16|0,a=zi[i>>2]|0,!a)break;o=a,t=i}if(!(t>>>0<e>>>0)){zi[t>>2]=0,C=o;break}So()}else{if(i=zi[v+((u|8)+b)>>2]|0,i>>>0<e>>>0&&So(),e=i+12|0,(zi[e>>2]|0)!=(r|0)&&So(),o=t+8|0,(zi[o>>2]|0)==(r|0)){zi[e>>2]=t,zi[o>>2]=i,C=t;break}So()}while(0);if(!s)break;e=zi[v+(b+28+u)>>2]|0,o=45720+(e<<2)|0;do{if((r|0)==(zi[o>>2]|0)){if(zi[o>>2]=C,C)break;zi[11355]=zi[11355]&~(1<<e);break t}if(s>>>0<(zi[11358]|0)>>>0&&So(),e=s+16|0,(zi[e>>2]|0)==(r|0)?zi[e>>2]=C:zi[s+20>>2]=C,!C)break t}while(0);o=zi[11358]|0,C>>>0<o>>>0&&So(),zi[C+24>>2]=s,r=u|16,e=zi[v+(r+b)>>2]|0;do if(e){if(!(e>>>0<o>>>0)){zi[C+16>>2]=e,zi[e+24>>2]=C;break}So()}while(0);if(r=zi[v+(n+r)>>2]|0,!r)break;if(!(r>>>0<(zi[11358]|0)>>>0)){zi[C+20>>2]=r,zi[r+24>>2]=C;break}So()}else{t=zi[v+((u|8)+b)>>2]|0,i=zi[v+(b+12+u)>>2]|0,o=45456+(a<<1<<2)|0;do if((t|0)!=(o|0)){if(t>>>0<e>>>0&&So(),(zi[t+12>>2]|0)==(r|0))break;So()}while(0);if((i|0)==(t|0)){zi[11354]=zi[11354]&~(1<<a);break}do if((i|0)==(o|0))N=i+8|0;else{if(i>>>0<e>>>0&&So(),e=i+8|0,(zi[e>>2]|0)==(r|0)){N=e;break}So()}while(0);zi[t+12>>2]=i,zi[N>>2]=t}while(0);r=v+((f|u)+b)|0,e=f+l|0}else e=l;if(r=r+4|0,zi[r>>2]=zi[r>>2]&-2,zi[v+(c+4)>>2]=e|1,zi[v+(e+c)>>2]=e,r=e>>>3,e>>>0<256){o=r<<1,i=45456+(o<<2)|0,t=zi[11354]|0,r=1<<r;do if(t&r){if(r=45456+(o+2<<2)|0,o=zi[r>>2]|0,o>>>0>=(zi[11358]|0)>>>0){L=r,B=o;break}So()}else zi[11354]=t|r,L=45456+(o+2<<2)|0,B=i;while(0);zi[L>>2]=h,zi[B+12>>2]=h,zi[v+(c+8)>>2]=B,zi[v+(c+12)>>2]=i;break}r=e>>>8;do if(r){if(e>>>0>16777215){i=31;break}L=(r+1048320|0)>>>16&8,B=r<<L,D=(B+520192|0)>>>16&4,B<<=D,i=(B+245760|0)>>>16&2,i=14-(D|L|i)+(B<<i>>>15)|0,i=e>>>(i+7|0)&1|i<<1}else i=0;while(0);if(r=45720+(i<<2)|0,zi[v+(c+28)>>2]=i,zi[v+(c+20)>>2]=0,zi[v+(c+16)>>2]=0,o=zi[11355]|0,t=1<<i,!(o&t)){zi[11355]=o|t,zi[r>>2]=h,zi[v+(c+24)>>2]=r,zi[v+(c+12)>>2]=h,zi[v+(c+8)>>2]=h;break}r=zi[r>>2]|0;t:do if((zi[r+4>>2]&-8|0)!=(e|0)){for(i=e<<((i|0)==31?0:25-(i>>>1)|0);;){if(t=r+16+(i>>>31<<2)|0,o=zi[t>>2]|0,!o)break;if((zi[o+4>>2]&-8|0)==(e|0)){I=o;break t}i<<=1,r=o}if(!(t>>>0<(zi[11358]|0)>>>0)){zi[t>>2]=h,zi[v+(c+24)>>2]=r,zi[v+(c+12)>>2]=h,zi[v+(c+8)>>2]=h;break r}So()}else I=r;while(0);if(r=I+8|0,t=zi[r>>2]|0,B=zi[11358]|0,t>>>0>=B>>>0&I>>>0>=B>>>0){
zi[t+12>>2]=h,zi[r>>2]=h,zi[v+(c+8)>>2]=t,zi[v+(c+12)>>2]=I,zi[v+(c+24)>>2]=0;break}So()}else B=(zi[11357]|0)+l|0,zi[11357]=B,zi[11360]=h,zi[v+(c+4)>>2]=B|1;while(0);return B=v+(d|8)|0,B|0}t=45864}for(;;){if(o=zi[t>>2]|0,o>>>0<=n>>>0?(r=zi[t+4>>2]|0,i=o+r|0,i>>>0>n>>>0):0)break;t=zi[t+8>>2]|0}if(e=o+(r+-39)|0,o=o+(r+-47+((e&7|0)==0?0:0-e&7))|0,e=n+16|0,o=o>>>0<e>>>0?n:o,r=o+8|0,t=v+8|0,t=(t&7|0)==0?0:0-t&7,B=b+-40-t|0,zi[11360]=v+t,zi[11357]=B,zi[v+(t+4)>>2]=B|1,zi[v+(b+-36)>>2]=40,zi[11361]=zi[11476],t=o+4|0,zi[t>>2]=27,zi[r>>2]=zi[11466],zi[r+4>>2]=zi[11467],zi[r+8>>2]=zi[11468],zi[r+12>>2]=zi[11469],zi[11466]=v,zi[11467]=b,zi[11469]=0,zi[11468]=r,r=o+28|0,zi[r>>2]=7,(o+32|0)>>>0<i>>>0)do B=r,r=r+4|0,zi[r>>2]=7;while((B+8|0)>>>0<i>>>0);if((o|0)!=(n|0)){if(a=o-n|0,zi[t>>2]=zi[t>>2]&-2,zi[n+4>>2]=a|1,zi[o>>2]=a,r=a>>>3,a>>>0<256){o=r<<1,i=45456+(o<<2)|0,t=zi[11354]|0,r=1<<r,t&r?(r=45456+(o+2<<2)|0,t=zi[r>>2]|0,t>>>0<(zi[11358]|0)>>>0?So():(T=r,D=t)):(zi[11354]=t|r,T=45456+(o+2<<2)|0,D=i),zi[T>>2]=n,zi[D+12>>2]=n,zi[n+8>>2]=D,zi[n+12>>2]=i;break}if(r=a>>>8,r?a>>>0>16777215?i=31:(L=(r+1048320|0)>>>16&8,B=r<<L,D=(B+520192|0)>>>16&4,B<<=D,i=(B+245760|0)>>>16&2,i=14-(D|L|i)+(B<<i>>>15)|0,i=a>>>(i+7|0)&1|i<<1):i=0,o=45720+(i<<2)|0,zi[n+28>>2]=i,zi[n+20>>2]=0,zi[e>>2]=0,r=zi[11355]|0,t=1<<i,!(r&t)){zi[11355]=r|t,zi[o>>2]=n,zi[n+24>>2]=o,zi[n+12>>2]=n,zi[n+8>>2]=n;break}r=zi[o>>2]|0;r:do if((zi[r+4>>2]&-8|0)!=(a|0)){for(o=a<<((i|0)==31?0:25-(i>>>1)|0);;){if(t=r+16+(o>>>31<<2)|0,i=zi[t>>2]|0,!i)break;if((zi[i+4>>2]&-8|0)==(a|0)){P=i;break r}o<<=1,r=i}if(!(t>>>0<(zi[11358]|0)>>>0)){zi[t>>2]=n,zi[n+24>>2]=r,zi[n+12>>2]=n,zi[n+8>>2]=n;break e}So()}else P=r;while(0);if(r=P+8|0,t=zi[r>>2]|0,B=zi[11358]|0,t>>>0>=B>>>0&P>>>0>=B>>>0){zi[t+12>>2]=n,zi[r>>2]=n,zi[n+8>>2]=t,zi[n+12>>2]=P,zi[n+24>>2]=0;break}So()}}else{B=zi[11358]|0,(B|0)==0|v>>>0<B>>>0&&(zi[11358]=v),zi[11466]=v,zi[11467]=b,zi[11469]=0,zi[11363]=zi[11472],zi[11362]=-1,r=0;do B=r<<1,L=45456+(B<<2)|0,zi[45456+(B+3<<2)>>2]=L,zi[45456+(B+2<<2)>>2]=L,r=r+1|0;while((r|0)!=32);B=v+8|0,B=(B&7|0)==0?0:0-B&7,L=b+-40-B|0,zi[11360]=v+B,zi[11357]=L,zi[v+(B+4)>>2]=L|1,zi[v+(b+-36)>>2]=40,zi[11361]=zi[11476]}while(0);if(r=zi[11357]|0,r>>>0>k>>>0)return L=r-k|0,zi[11357]=L,B=zi[11360]|0,zi[11360]=B+k,zi[B+(k+4)>>2]=L|1,zi[B+4>>2]=k|3,B=B+8|0,B|0}return zi[(Eo()|0)>>2]=12,B=0,B|0}function ci(e){e|=0;var r=0,t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0,w=0;if(e){r=e+-8|0,f=zi[11358]|0,r>>>0<f>>>0&&So(),o=zi[e+-4>>2]|0,t=o&3,(t|0)==1&&So(),h=o&-8,k=e+(h+-8)|0;do if(o&1)w=r,n=h;else{if(r=zi[r>>2]|0,!t)return;if(s=-8-r|0,l=e+s|0,c=r+h|0,l>>>0<f>>>0&&So(),(l|0)==(zi[11359]|0)){if(r=e+(h+-4)|0,o=zi[r>>2]|0,(o&3|0)!=3){w=l,n=c;break}return zi[11356]=c,zi[r>>2]=o&-2,zi[e+(s+4)>>2]=c|1,void(zi[k>>2]=c)}if(i=r>>>3,r>>>0<256){if(t=zi[e+(s+8)>>2]|0,o=zi[e+(s+12)>>2]|0,r=45456+(i<<1<<2)|0,(t|0)!=(r|0)&&(t>>>0<f>>>0&&So(),(zi[t+12>>2]|0)!=(l|0)&&So()),(o|0)==(t|0)){zi[11354]=zi[11354]&~(1<<i),w=l,n=c;break}(o|0)!=(r|0)?(o>>>0<f>>>0&&So(),r=o+8|0,(zi[r>>2]|0)==(l|0)?a=r:So()):a=o+8|0,zi[t+12>>2]=o,zi[a>>2]=t,w=l,n=c;break}a=zi[e+(s+24)>>2]|0,t=zi[e+(s+12)>>2]|0;do if((t|0)==(l|0)){if(o=e+(s+20)|0,r=zi[o>>2]|0,!r&&(o=e+(s+16)|0,r=zi[o>>2]|0,!r)){u=0;break}for(;;)if(t=r+20|0,i=zi[t>>2]|0)r=i,o=t;else{if(t=r+16|0,i=zi[t>>2]|0,!i)break;r=i,o=t}if(!(o>>>0<f>>>0)){zi[o>>2]=0,u=r;break}So()}else{if(i=zi[e+(s+8)>>2]|0,i>>>0<f>>>0&&So(),r=i+12|0,(zi[r>>2]|0)!=(l|0)&&So(),o=t+8|0,(zi[o>>2]|0)==(l|0)){zi[r>>2]=t,zi[o>>2]=i,u=t;break}So()}while(0);if(a){if(r=zi[e+(s+28)>>2]|0,o=45720+(r<<2)|0,(l|0)==(zi[o>>2]|0)){if(zi[o>>2]=u,!u){zi[11355]=zi[11355]&~(1<<r),w=l,n=c;break}}else if(a>>>0<(zi[11358]|0)>>>0&&So(),r=a+16|0,(zi[r>>2]|0)==(l|0)?zi[r>>2]=u:zi[a+20>>2]=u,!u){w=l,n=c;break}o=zi[11358]|0,u>>>0<o>>>0&&So(),zi[u+24>>2]=a,r=zi[e+(s+16)>>2]|0;do if(r){if(!(r>>>0<o>>>0)){zi[u+16>>2]=r,zi[r+24>>2]=u;break}So()}while(0);if(r=zi[e+(s+20)>>2]|0){if(!(r>>>0<(zi[11358]|0)>>>0)){zi[u+20>>2]=r,zi[r+24>>2]=u,w=l,n=c;break}So()}else w=l,n=c}else w=l,n=c}while(0);if(w>>>0>=k>>>0&&So(),r=e+(h+-4)|0,o=zi[r>>2]|0,o&1||So(),o&2)zi[r>>2]=o&-2,zi[w+4>>2]=n|1,zi[w+n>>2]=n;else{if((k|0)==(zi[11360]|0)){if(E=(zi[11357]|0)+n|0,zi[11357]=E,zi[11360]=w,zi[w+4>>2]=E|1,(w|0)!=(zi[11359]|0))return;return zi[11359]=0,void(zi[11356]=0)}if((k|0)==(zi[11359]|0))return E=(zi[11356]|0)+n|0,zi[11356]=E,zi[11359]=w,zi[w+4>>2]=E|1,void(zi[w+E>>2]=E);n=(o&-8)+n|0,i=o>>>3;do if(o>>>0>=256){a=zi[e+(h+16)>>2]|0,r=zi[e+(h|4)>>2]|0;do if((r|0)==(k|0)){if(o=e+(h+12)|0,r=zi[o>>2]|0,!r&&(o=e+(h+8)|0,r=zi[o>>2]|0,!r)){b=0;break}for(;;)if(t=r+20|0,i=zi[t>>2]|0)r=i,o=t;else{if(t=r+16|0,i=zi[t>>2]|0,!i)break;r=i,o=t}if(!(o>>>0<(zi[11358]|0)>>>0)){zi[o>>2]=0,b=r;break}So()}else{if(o=zi[e+h>>2]|0,o>>>0<(zi[11358]|0)>>>0&&So(),t=o+12|0,(zi[t>>2]|0)!=(k|0)&&So(),i=r+8|0,(zi[i>>2]|0)==(k|0)){zi[t>>2]=r,zi[i>>2]=o,b=r;break}So()}while(0);if(a){if(r=zi[e+(h+20)>>2]|0,o=45720+(r<<2)|0,(k|0)==(zi[o>>2]|0)){if(zi[o>>2]=b,!b){zi[11355]=zi[11355]&~(1<<r);break}}else if(a>>>0<(zi[11358]|0)>>>0&&So(),r=a+16|0,(zi[r>>2]|0)==(k|0)?zi[r>>2]=b:zi[a+20>>2]=b,!b)break;o=zi[11358]|0,b>>>0<o>>>0&&So(),zi[b+24>>2]=a,r=zi[e+(h+8)>>2]|0;do if(r){if(!(r>>>0<o>>>0)){zi[b+16>>2]=r,zi[r+24>>2]=b;break}So()}while(0);if(r=zi[e+(h+12)>>2]|0){if(!(r>>>0<(zi[11358]|0)>>>0)){zi[b+20>>2]=r,zi[r+24>>2]=b;break}So()}}}else{if(t=zi[e+h>>2]|0,o=zi[e+(h|4)>>2]|0,r=45456+(i<<1<<2)|0,(t|0)!=(r|0)&&(t>>>0<(zi[11358]|0)>>>0&&So(),(zi[t+12>>2]|0)!=(k|0)&&So()),(o|0)==(t|0)){zi[11354]=zi[11354]&~(1<<i);break}(o|0)!=(r|0)?(o>>>0<(zi[11358]|0)>>>0&&So(),r=o+8|0,(zi[r>>2]|0)==(k|0)?d=r:So()):d=o+8|0,zi[t+12>>2]=o,zi[d>>2]=t}while(0);if(zi[w+4>>2]=n|1,zi[w+n>>2]=n,(w|0)==(zi[11359]|0))return void(zi[11356]=n)}if(r=n>>>3,n>>>0<256)return t=r<<1,o=45456+(t<<2)|0,i=zi[11354]|0,r=1<<r,i&r?(r=45456+(t+2<<2)|0,t=zi[r>>2]|0,t>>>0<(zi[11358]|0)>>>0?So():(m=r,p=t)):(zi[11354]=i|r,m=45456+(t+2<<2)|0,p=o),zi[m>>2]=w,zi[p+12>>2]=w,zi[w+8>>2]=p,void(zi[w+12>>2]=o);r=n>>>8,r?n>>>0>16777215?o=31:(m=(r+1048320|0)>>>16&8,p=r<<m,k=(p+520192|0)>>>16&4,p<<=k,o=(p+245760|0)>>>16&2,o=14-(k|m|o)+(p<<o>>>15)|0,o=n>>>(o+7|0)&1|o<<1):o=0,r=45720+(o<<2)|0,zi[w+28>>2]=o,zi[w+20>>2]=0,zi[w+16>>2]=0,t=zi[11355]|0,i=1<<o;e:do if(t&i){r=zi[r>>2]|0;r:do if((zi[r+4>>2]&-8|0)!=(n|0)){for(o=n<<((o|0)==31?0:25-(o>>>1)|0);;){if(t=r+16+(o>>>31<<2)|0,i=zi[t>>2]|0,!i)break;if((zi[i+4>>2]&-8|0)==(n|0)){E=i;break r}o<<=1,r=i}if(!(t>>>0<(zi[11358]|0)>>>0)){zi[t>>2]=w,zi[w+24>>2]=r,zi[w+12>>2]=w,zi[w+8>>2]=w;break e}So()}else E=r;while(0);if(r=E+8|0,t=zi[r>>2]|0,p=zi[11358]|0,t>>>0>=p>>>0&E>>>0>=p>>>0){zi[t+12>>2]=w,zi[r>>2]=w,zi[w+8>>2]=t,zi[w+12>>2]=E,zi[w+24>>2]=0;break}So()}else zi[11355]=t|i,zi[r>>2]=w,zi[w+24>>2]=r,zi[w+12>>2]=w,zi[w+8>>2]=w;while(0);if(w=(zi[11362]|0)+-1|0,zi[11362]=w,!w){for(r=45872;;){if(r=zi[r>>2]|0,!r)break;r=r+8|0}zi[11362]=-1}}}function di(e,r){e|=0,r|=0;var t=0,i=0;return e?r>>>0>4294967231?(zi[(Eo()|0)>>2]=12,e=0,e|0):(t=hi(e+-8|0,r>>>0<11?16:r+11&-8)|0)?(e=t+8|0,e|0):(t=li(r)|0)?(i=zi[e+-4>>2]|0,i=(i&-8)-((i&3|0)==0?8:4)|0,gi(t|0,e|0,(i>>>0<r>>>0?i:r)|0)|0,ci(e),e=t,e|0):(e=0,e|0):(e=li(r)|0,e|0)}function hi(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0;if(h=e+4|0,b=zi[h>>2]|0,s=b&-8,l=e+s|0,f=zi[11358]|0,t=b&3,(t|0)!=1&e>>>0>=f>>>0&e>>>0<l>>>0||So(),i=e+(s|4)|0,n=zi[i>>2]|0,n&1||So(),!t)return r>>>0<256?(e=0,e|0):(s>>>0>=(r+4|0)>>>0?(s-r|0)>>>0<=zi[11474]<<1>>>0:0)?e|0:(e=0,e|0);if(s>>>0>=r>>>0)return t=s-r|0,t>>>0<=15?e|0:(zi[h>>2]=b&1|r|2,zi[e+(r+4)>>2]=t|3,zi[i>>2]=zi[i>>2]|1,bi(e+r|0,t),e|0);if((l|0)==(zi[11360]|0))return t=(zi[11357]|0)+s|0,t>>>0<=r>>>0?(e=0,e|0):(d=t-r|0,zi[h>>2]=b&1|r|2,zi[e+(r+4)>>2]=d|1,zi[11360]=e+r,zi[11357]=d,e|0);if((l|0)==(zi[11359]|0))return i=(zi[11356]|0)+s|0,i>>>0<r>>>0?(e=0,e|0):(t=i-r|0,t>>>0>15?(zi[h>>2]=b&1|r|2,zi[e+(r+4)>>2]=t|1,zi[e+i>>2]=t,i=e+(i+4)|0,zi[i>>2]=zi[i>>2]&-2,i=e+r|0):(zi[h>>2]=b&1|i|2,i=e+(i+4)|0,zi[i>>2]=zi[i>>2]|1,i=0,t=0),zi[11356]=t,zi[11359]=i,e|0);if(n&2)return e=0,e|0;if(c=(n&-8)+s|0,c>>>0<r>>>0)return e=0,e|0;d=c-r|0,o=n>>>3;do if(n>>>0>=256){a=zi[e+(s+24)>>2]|0,n=zi[e+(s+12)>>2]|0;do if((n|0)==(l|0)){if(i=e+(s+20)|0,t=zi[i>>2]|0,!t&&(i=e+(s+16)|0,t=zi[i>>2]|0,!t)){u=0;break}for(;;)if(o=t+20|0,n=zi[o>>2]|0)t=n,i=o;else{if(n=t+16|0,o=zi[n>>2]|0,!o)break;t=o,i=n}if(!(i>>>0<f>>>0)){zi[i>>2]=0,u=t;break}So()}else{if(o=zi[e+(s+8)>>2]|0,o>>>0<f>>>0&&So(),t=o+12|0,(zi[t>>2]|0)!=(l|0)&&So(),i=n+8|0,(zi[i>>2]|0)==(l|0)){zi[t>>2]=n,zi[i>>2]=o,u=n;break}So()}while(0);if(a){if(t=zi[e+(s+28)>>2]|0,i=45720+(t<<2)|0,(l|0)==(zi[i>>2]|0)){if(zi[i>>2]=u,!u){zi[11355]=zi[11355]&~(1<<t);break}}else if(a>>>0<(zi[11358]|0)>>>0&&So(),t=a+16|0,(zi[t>>2]|0)==(l|0)?zi[t>>2]=u:zi[a+20>>2]=u,!u)break;i=zi[11358]|0,u>>>0<i>>>0&&So(),zi[u+24>>2]=a,t=zi[e+(s+16)>>2]|0;do if(t){if(!(t>>>0<i>>>0)){zi[u+16>>2]=t,zi[t+24>>2]=u;break}So()}while(0);if(t=zi[e+(s+20)>>2]|0){if(!(t>>>0<(zi[11358]|0)>>>0)){zi[u+20>>2]=t,zi[t+24>>2]=u;break}So()}}}else{if(n=zi[e+(s+8)>>2]|0,i=zi[e+(s+12)>>2]|0,t=45456+(o<<1<<2)|0,(n|0)!=(t|0)&&(n>>>0<f>>>0&&So(),(zi[n+12>>2]|0)!=(l|0)&&So()),(i|0)==(n|0)){zi[11354]=zi[11354]&~(1<<o);break}(i|0)!=(t|0)?(i>>>0<f>>>0&&So(),t=i+8|0,(zi[t>>2]|0)==(l|0)?a=t:So()):a=i+8|0,zi[n+12>>2]=i,zi[a>>2]=n}while(0);return d>>>0<16?(zi[h>>2]=c|b&1|2,r=e+(c|4)|0,zi[r>>2]=zi[r>>2]|1,e|0):(zi[h>>2]=b&1|r|2,zi[e+(r+4)>>2]=d|3,b=e+(c|4)|0,zi[b>>2]=zi[b>>2]|1,bi(e+r|0,d),e|0)}function bi(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0,k=0,m=0,p=0,E=0;k=e+r|0,t=zi[e+4>>2]|0;do if(t&1)E=e,a=r;else{if(u=zi[e>>2]|0,!(t&3))return;if(d=e+(0-u)|0,c=u+r|0,s=zi[11358]|0,d>>>0<s>>>0&&So(),(d|0)==(zi[11359]|0)){if(n=e+(r+4)|0,t=zi[n>>2]|0,(t&3|0)!=3){E=d,a=c;break}return zi[11356]=c,zi[n>>2]=t&-2,zi[e+(4-u)>>2]=c|1,void(zi[k>>2]=c)}if(o=u>>>3,u>>>0<256){if(i=zi[e+(8-u)>>2]|0,n=zi[e+(12-u)>>2]|0,t=45456+(o<<1<<2)|0,(i|0)!=(t|0)&&(i>>>0<s>>>0&&So(),(zi[i+12>>2]|0)!=(d|0)&&So()),(n|0)==(i|0)){zi[11354]=zi[11354]&~(1<<o),E=d,a=c;break}(n|0)!=(t|0)?(n>>>0<s>>>0&&So(),t=n+8|0,(zi[t>>2]|0)==(d|0)?f=t:So()):f=n+8|0,zi[i+12>>2]=n,zi[f>>2]=i,E=d,a=c;break}f=zi[e+(24-u)>>2]|0,i=zi[e+(12-u)>>2]|0;do if((i|0)==(d|0)){if(i=16-u|0,n=e+(i+4)|0,t=zi[n>>2]|0,!t&&(n=e+i|0,t=zi[n>>2]|0,!t)){l=0;break}for(;;)if(i=t+20|0,o=zi[i>>2]|0)t=o,n=i;else{if(i=t+16|0,o=zi[i>>2]|0,!o)break;t=o,n=i}if(!(n>>>0<s>>>0)){zi[n>>2]=0,l=t;break}So()}else{if(o=zi[e+(8-u)>>2]|0,o>>>0<s>>>0&&So(),t=o+12|0,(zi[t>>2]|0)!=(d|0)&&So(),n=i+8|0,(zi[n>>2]|0)==(d|0)){zi[t>>2]=i,zi[n>>2]=o,l=i;break}So()}while(0);if(f){if(t=zi[e+(28-u)>>2]|0,n=45720+(t<<2)|0,(d|0)==(zi[n>>2]|0)){if(zi[n>>2]=l,!l){zi[11355]=zi[11355]&~(1<<t),E=d,a=c;break}}else if(f>>>0<(zi[11358]|0)>>>0&&So(),t=f+16|0,(zi[t>>2]|0)==(d|0)?zi[t>>2]=l:zi[f+20>>2]=l,!l){E=d,a=c;break}i=zi[11358]|0,l>>>0<i>>>0&&So(),zi[l+24>>2]=f,t=16-u|0,n=zi[e+t>>2]|0;do if(n){if(!(n>>>0<i>>>0)){zi[l+16>>2]=n,zi[n+24>>2]=l;break}So()}while(0);if(t=zi[e+(t+4)>>2]|0){if(!(t>>>0<(zi[11358]|0)>>>0)){zi[l+20>>2]=t,zi[t+24>>2]=l,E=d,a=c;break}So()}else E=d,a=c}else E=d,a=c}while(0);if(s=zi[11358]|0,k>>>0<s>>>0&&So(),t=e+(r+4)|0,n=zi[t>>2]|0,n&2)zi[t>>2]=n&-2,zi[E+4>>2]=a|1,zi[E+a>>2]=a;else{if((k|0)==(zi[11360]|0)){if(p=(zi[11357]|0)+a|0,zi[11357]=p,zi[11360]=E,zi[E+4>>2]=p|1,(E|0)!=(zi[11359]|0))return;return zi[11359]=0,void(zi[11356]=0)}if((k|0)==(zi[11359]|0))return p=(zi[11356]|0)+a|0,zi[11356]=p,zi[11359]=E,zi[E+4>>2]=p|1,void(zi[E+p>>2]=p);a=(n&-8)+a|0,o=n>>>3;do if(n>>>0>=256){f=zi[e+(r+24)>>2]|0,i=zi[e+(r+12)>>2]|0;do if((i|0)==(k|0)){if(n=e+(r+20)|0,t=zi[n>>2]|0,!t&&(n=e+(r+16)|0,t=zi[n>>2]|0,!t)){b=0;break}for(;;)if(i=t+20|0,o=zi[i>>2]|0)t=o,n=i;else{if(i=t+16|0,o=zi[i>>2]|0,!o)break;t=o,n=i}if(!(n>>>0<s>>>0)){zi[n>>2]=0,b=t;break}So()}else{if(o=zi[e+(r+8)>>2]|0,o>>>0<s>>>0&&So(),t=o+12|0,(zi[t>>2]|0)!=(k|0)&&So(),n=i+8|0,(zi[n>>2]|0)==(k|0)){zi[t>>2]=i,zi[n>>2]=o,b=i;break}So()}while(0);if(f){if(t=zi[e+(r+28)>>2]|0,n=45720+(t<<2)|0,(k|0)==(zi[n>>2]|0)){if(zi[n>>2]=b,!b){zi[11355]=zi[11355]&~(1<<t);break}}else if(f>>>0<(zi[11358]|0)>>>0&&So(),t=f+16|0,(zi[t>>2]|0)==(k|0)?zi[t>>2]=b:zi[f+20>>2]=b,!b)break;n=zi[11358]|0,b>>>0<n>>>0&&So(),zi[b+24>>2]=f,t=zi[e+(r+16)>>2]|0;do if(t){if(!(t>>>0<n>>>0)){zi[b+16>>2]=t,zi[t+24>>2]=b;break}So()}while(0);if(t=zi[e+(r+20)>>2]|0){if(!(t>>>0<(zi[11358]|0)>>>0)){zi[b+20>>2]=t,zi[t+24>>2]=b;break}So()}}}else{if(i=zi[e+(r+8)>>2]|0,n=zi[e+(r+12)>>2]|0,t=45456+(o<<1<<2)|0,(i|0)!=(t|0)&&(i>>>0<s>>>0&&So(),(zi[i+12>>2]|0)!=(k|0)&&So()),(n|0)==(i|0)){zi[11354]=zi[11354]&~(1<<o);break}(n|0)!=(t|0)?(n>>>0<s>>>0&&So(),t=n+8|0,(zi[t>>2]|0)==(k|0)?h=t:So()):h=n+8|0,zi[i+12>>2]=n,zi[h>>2]=i}while(0);if(zi[E+4>>2]=a|1,zi[E+a>>2]=a,(E|0)==(zi[11359]|0))return void(zi[11356]=a)}if(t=a>>>3,a>>>0<256)return n=t<<1,o=45456+(n<<2)|0,i=zi[11354]|0,t=1<<t,i&t?(t=45456+(n+2<<2)|0,i=zi[t>>2]|0,i>>>0<(zi[11358]|0)>>>0?So():(m=t,p=i)):(zi[11354]=i|t,m=45456+(n+2<<2)|0,p=o),zi[m>>2]=E,zi[p+12>>2]=E,zi[E+8>>2]=p,void(zi[E+12>>2]=o);if(t=a>>>8,t?a>>>0>16777215?n=31:(m=(t+1048320|0)>>>16&8,p=t<<m,k=(p+520192|0)>>>16&4,p<<=k,n=(p+245760|0)>>>16&2,n=14-(k|m|n)+(p<<n>>>15)|0,n=a>>>(n+7|0)&1|n<<1):n=0,t=45720+(n<<2)|0,zi[E+28>>2]=n,zi[E+20>>2]=0,zi[E+16>>2]=0,i=zi[11355]|0,o=1<<n,!(i&o))return zi[11355]=i|o,zi[t>>2]=E,zi[E+24>>2]=t,zi[E+12>>2]=E,void(zi[E+8>>2]=E);t=zi[t>>2]|0;e:do if((zi[t+4>>2]&-8|0)!=(a|0)){for(n=a<<((n|0)==31?0:25-(n>>>1)|0);;){if(i=t+16+(n>>>31<<2)|0,o=zi[i>>2]|0,!o)break;if((zi[o+4>>2]&-8|0)==(a|0)){t=o;break e}n<<=1,t=o}return i>>>0<(zi[11358]|0)>>>0&&So(),zi[i>>2]=E,zi[E+24>>2]=t,zi[E+12>>2]=E,void(zi[E+8>>2]=E)}while(0);i=t+8|0,o=zi[i>>2]|0,p=zi[11358]|0,o>>>0>=p>>>0&t>>>0>=p>>>0||So(),zi[o+12>>2]=E,zi[i>>2]=E,zi[E+8>>2]=o,zi[E+12>>2]=t,zi[E+24>>2]=0}function ki(){}function mi(e,r,t,i){return e|=0,r|=0,t|=0,i|=0,i=r-i-(t>>>0>e>>>0|0)>>>0,eo=i,e-t>>>0|0|0}function pi(e,r,t){e|=0,r|=0,t|=0;var i=0,o=0,n=0,a=0;if(i=e+t|0,(t|0)>=20){if(r&=255,n=e&3,a=r|r<<8|r<<16|r<<24,o=i&-4,n)for(n=e+4-n|0;(e|0)<(n|0);)xi[e>>0]=r,e=e+1|0;for(;(e|0)<(o|0);)zi[e>>2]=a,e=e+4|0}for(;(e|0)<(i|0);)xi[e>>0]=r,e=e+1|0;return e-t|0}function Ei(e,r,t){return e|=0,r|=0,t|=0,(t|0)<32?(eo=r<<t|(e&(1<<t)-1<<32-t)>>>32-t,e<<t):(eo=e<<t-32,0)}function wi(e){e|=0;var r=0;for(r=e;xi[r>>0]|0;)r=r+1|0;return r-e|0}function Si(e,r,t){e|=0,r|=0,t|=0;for(var i=0,o=0;(i|0)<(t|0);)xi[e+i>>0]=o?0:xi[r+i>>0]|0,o=o?1:(xi[r+i>>0]|0)==0,i=i+1|0;return e|0}function vi(e,r,t,i){return e|=0,r|=0,t|=0,i|=0,t=e+t>>>0,eo=r+i+(t>>>0<e>>>0|0)>>>0,t|0|0}function _i(e,r,t){return e|=0,r|=0,t|=0,(t|0)<32?(eo=r>>>t,e>>>t|(r&(1<<t)-1)<<32-t):(eo=0,r>>>t-32|0)}function gi(e,r,t){e|=0,r|=0,t|=0;var i=0;if((t|0)>=4096)return fo(e|0,r|0,t|0)|0;if(i=e|0,(e&3)==(r&3)){for(;e&3;){if(!t)return i|0;xi[e>>0]=xi[r>>0]|0,e=e+1|0,r=r+1|0,t=t-1|0}for(;(t|0)>=4;)zi[e>>2]=zi[r>>2],e=e+4|0,r=r+4|0,t=t-4|0}for(;(t|0)>0;)xi[e>>0]=xi[r>>0]|0,e=e+1|0,r=r+1|0,t=t-1|0;return i|0}function yi(e,r){e|=0,r|=0;var t=0;do xi[e+t>>0]=xi[r+t>>0],t=t+1|0;while(xi[r+(t-1)>>0]|0);return e|0}function Fi(e){e|=0;var r=0;return r=xi[Xi+(e&255)>>0]|0,(r|0)<8?r|0:(r=xi[Xi+(e>>8&255)>>0]|0,(r|0)<8?r+8|0:(r=xi[Xi+(e>>16&255)>>0]|0,(r|0)<8?r+16|0:(xi[Xi+(e>>>24)>>0]|0)+24|0))}function Mi(e,r){e|=0,r|=0;var t=0,i=0,o=0,n=0;return n=e&65535,o=r&65535,t=to(o,n)|0,i=e>>>16,e=(t>>>16)+(to(o,i)|0)|0,o=r>>>16,r=to(o,n)|0,eo=(e>>>16)+(to(o,i)|0)+(((e&65535)+r|0)>>>16)|0,e+r<<16|t&65535|0|0}function Oi(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;return o=e,n=t,t=Mi(o,n)|0,e=eo,eo=(to(r,n)|0)+(to(i,o)|0)+e|e&0,t|0|0|0}function Ai(e,r,t,i){return e|=0,r|=0,t|=0,i|=0,Ni(e,r,t,i,0)|0}function Ri(e,r,t,i){e|=0,r|=0,t|=0,i|=0;var o=0,n=0;return n=Wi,Wi=Wi+8|0,o=n|0,Ni(e,r,t,i,o)|0,Wi=n,eo=zi[o+4>>2]|0,zi[o>>2]|0|0}function Ni(e,r,t,i,o){e|=0,r|=0,t|=0,i|=0,o|=0;var n=0,a=0,f=0,s=0,u=0,l=0,c=0,d=0,h=0,b=0;if(d=e,c=r,l=c,f=t,h=i,a=h,!l)return n=(o|0)!=0,a?n?(zi[o>>2]=e|0,zi[o+4>>2]=r&0,h=0,o=0,eo=h,o|0):(h=0,o=0,eo=h,o|0):(n&&(zi[o>>2]=(d>>>0)%(f>>>0),zi[o+4>>2]=0),h=0,o=(d>>>0)/(f>>>0)>>>0,eo=h,o|0);n=(a|0)==0;do{if(f){if(!n){if(n=(io(a|0)|0)-(io(l|0)|0)|0,n>>>0<=31){r=n+1|0,a=31-n|0,u=n-31>>31,f=r,s=d>>>(r>>>0)&u|l<<a,u=l>>>(r>>>0)&u,n=0,a=d<<a;break}return o?(zi[o>>2]=e|0,zi[o+4>>2]=c|r&0,h=0,o=0,eo=h,o|0):(h=0,o=0,eo=h,o|0)}if(n=f-1|0,n&f){a=(io(f|0)|0)+33-(io(l|0)|0)|0,b=64-a|0,r=32-a|0,e=r>>31,c=a-32|0,u=c>>31,f=a,s=r-1>>31&l>>>(c>>>0)|(l<<r|d>>>(a>>>0))&u,u&=l>>>(a>>>0),n=d<<b&e,a=(l<<b|d>>>(c>>>0))&e|d<<r&a-33>>31;break}return o&&(zi[o>>2]=n&d,zi[o+4>>2]=0),(f|0)==1?(o=c|r&0,b=e|0|0,eo=o,b|0):(b=Fi(f|0)|0,o=l>>>(b>>>0)|0,b=l<<32-b|d>>>(b>>>0)|0,eo=o,b|0)}if(n)return o&&(zi[o>>2]=(l>>>0)%(f>>>0),zi[o+4>>2]=0),o=0,b=(l>>>0)/(f>>>0)>>>0,eo=o,b|0;if(!d)return o&&(zi[o>>2]=0,zi[o+4>>2]=(l>>>0)%(a>>>0)),o=0,b=(l>>>0)/(a>>>0)>>>0,eo=o,b|0;if(n=a-1|0,!(n&a))return o&&(zi[o>>2]=e|0,zi[o+4>>2]=n&l|r&0),o=0,b=l>>>((Fi(a|0)|0)>>>0),eo=o,b|0;if(n=(io(a|0)|0)-(io(l|0)|0)|0,n>>>0<=30){u=n+1|0,a=31-n|0,f=u,s=l<<a|d>>>(u>>>0),u=l>>>(u>>>0),n=0,a=d<<a;break}return o?(zi[o>>2]=e|0,zi[o+4>>2]=c|r&0,o=0,b=0,eo=o,b|0):(o=0,b=0,eo=o,b|0)}while(0);if(f){t=t|0|0,r=h|i&0,l=vi(t|0,r|0,-1,-1)|0,c=eo,e=0;do d=a,a=n>>>31|a<<1,n=e|n<<1,d=s<<1|d>>>31|0,i=s>>>31|u<<1|0,mi(l,c,d,i)|0,b=eo,h=b>>31|((b|0)<0?-1:0)<<1,e=h&1,s=mi(d,i,h&t,(((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1)&r)|0,u=eo,f=f-1|0;while((f|0)!=0);c=a,f=0}else c=a,f=0,e=0;return a=0,o&&(zi[o>>2]=s,zi[o+4>>2]=u),o=(n|0)>>>31|(c|a)<<1|(a<<1|n>>>31)&0|f,b=(n<<1|0)&-2|e,eo=o,b|0}function Ti(e){return e|=0,Mo[e&0]()|0}function Di(e,r){return e|=0,r|=0,Oo[e&3](r|0)|0}function Pi(e,r,t,i){return e|=0,r|=0,t|=0,i|=0,Ao[e&3](r|0,t|0,i|0)|0}function Ci(e,r){e|=0,r|=0,Ro[e&0](r|0)}function Li(){return oo(0),0}function Bi(e){return e|=0,oo(1),0}function Ii(e,r,t){return e|=0,r|=0,t|=0,oo(2),0}function Hi(e){e|=0,oo(3)}var xi=new e.Int8Array(t),Ui=new e.Int16Array(t),zi=new e.Int32Array(t),qi=new e.Uint8Array(t),Vi=(new e.Uint16Array(t),new e.Uint32Array(t),new e.Float32Array(t)),ji=new e.Float64Array(t),Wi=r.STACKTOP|0,Yi=r.STACK_MAX|0,Ki=r.tempDoublePtr|0,Xi=(r.ABORT|0,r.cttz_i8|0),Gi=r._stdin|0,Zi=0,Ji=0,Qi=e.NaN,$i=e.Infinity,eo=0,ro=(e.Math.floor,e.Math.abs),to=(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,e.Math.imul),io=(e.Math.min,e.Math.clz32),oo=r.abort,no=(r.assert,r.invoke_i,r.invoke_ii,r.invoke_iiii,r.invoke_vi,r._fabs,r._send,r._fread,r._lseek,r.__reallyNegative,r._ungetc,r._emscripten_set_main_loop_timing,r._write,r._fflush,r._pwrite,r._strerror_r,r._fscanf),ao=(r._open,r._sbrk),fo=(r.__scanString,r._emscripten_memcpy_big),so=(r._fileno,r._sysconf),uo=(r._close,r._putc),lo=(r.__formatString,r._putchar),co=r._fseek,ho=(r._pread,r._puts),bo=(r._mkport,r._fclose),ko=r._getc,mo=r._feof,po=r._ftell,Eo=r.___errno_location,wo=(r._recv,r._fgetc,r._printf),So=(r.__exit,r._read,r._fputc,r._emscripten_set_main_loop,r._abort),vo=(r._fwrite,r._time),_o=(r._fprintf,r._strerror),go=r._fgets,yo=(r._fputs,r._fopen),Fo=r._exit,Mo=(r.__getFloat,r.___setErrNo,[Li]),Oo=[Bi,cr,ie,Je],Ao=[Ii,ui,Ft,Ii],Ro=[Hi];return{_i64Subtract:mi,_free:ci,_main:he,_strncpy:Si,_strlen:wi,_memset:pi,_malloc:li,_i64Add:vi,_abc2midiC:ct,_bitshift64Lshr:_i,_memcpy:gi,_strcpy:yi,_bitshift64Shl:Ei,runPostSets:ki,stackAlloc:Oe,stackSave:Ae,stackRestore:Re,establishStackSpace:Ne,setThrew:Te,setTempRet0:De,getTempRet0:Pe,dynCall_i:Ti,dynCall_ii:Di,dynCall_iiii:Pi,dynCall_vi:Ci}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),_i64Subtract=Module._i64Subtract=asm._i64Subtract,_free=Module._free=asm._free,_main=Module._main=asm._main,_strncpy=Module._strncpy=asm._strncpy,_memset=Module._memset=asm._memset,runPostSets=Module.runPostSets=asm.runPostSets,_malloc=Module._malloc=asm._malloc,_i64Add=Module._i64Add=asm._i64Add,_abc2midiC=Module._abc2midiC=asm._abc2midiC,_strlen=Module._strlen=asm._strlen,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_memcpy=Module._memcpy=asm._memcpy,_strcpy=Module._strcpy=asm._strcpy,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,dynCall_i=Module.dynCall_i=asm.dynCall_i,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi;Runtime.stackAlloc=asm.stackAlloc,Runtime.stackSave=asm.stackSave,Runtime.stackRestore=asm.stackRestore,Runtime.establishStackSpace=asm.establishStackSpace,Runtime.setTempRet0=asm.setTempRet0,Runtime.getTempRet0=asm.getTempRet0;var i64Math=function(){function e(e,r,t){null!=e&&("number"==typeof e?this.fromNumber(e,r,t):null==r&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,r))}function r(){return new e(null)}function t(e,r,t,i,o,n){for(;--n>=0;){var a=r*this[e++]+t[i]+o;o=Math.floor(a/67108864),t[i++]=67108863&a}return o}function i(e,r,t,i,o,n){for(var a=32767&r,f=r>>15;--n>=0;){var s=32767&this[e],u=this[e++]>>15,l=f*s+u*a;s=a*s+((32767&l)<<15)+t[i]+(1073741823&o),o=(s>>>30)+(l>>>15)+f*u+(o>>>30),t[i++]=1073741823&s}return o}function o(e,r,t,i,o,n){for(var a=16383&r,f=r>>14;--n>=0;){var s=16383&this[e],u=this[e++]>>14,l=f*s+u*a;s=a*s+((16383&l)<<14)+t[i]+o,o=(s>>28)+(l>>14)+f*u,t[i++]=268435455&s}return o}function n(e){return ne.charAt(e)}function a(e,r){var t=ae[e.charCodeAt(r)];return null==t?-1:t}function f(e){for(var r=this.t-1;r>=0;--r)e[r]=this[r];e.t=this.t,e.s=this.s}function s(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+DV:this.t=0}function u(e){var t=r();return t.fromInt(e),t}function l(r,t){var i;if(16==t)i=4;else if(8==t)i=3;else if(256==t)i=8;else if(2==t)i=1;else if(32==t)i=5;else{if(4!=t)return void this.fromRadix(r,t);i=2}this.t=0,this.s=0;for(var o=r.length,n=!1,f=0;--o>=0;){var s=8==i?255&r[o]:a(r,o);0>s?"-"==r.charAt(o)&&(n=!0):(n=!1,0==f?this[this.t++]=s:f+i>this.DB?(this[this.t-1]|=(s&(1<<this.DB-f)-1)<<f,this[this.t++]=s>>this.DB-f):this[this.t-1]|=s<<f,f+=i,f>=this.DB&&(f-=this.DB))}8==i&&0!=(128&r[0])&&(this.s=-1,f>0&&(this[this.t-1]|=(1<<this.DB-f)-1<<f)),this.clamp(),n&&e.ZERO.subTo(this,this)}function c(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function d(e){if(this.s<0)return"-"+this.negate().toString(e);var r;if(16==e)r=4;else if(8==e)r=3;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return this.toRadix(e);r=2}var t,i=(1<<r)-1,o=!1,a="",f=this.t,s=this.DB-f*this.DB%r;if(f-->0)for(s<this.DB&&(t=this[f]>>s)>0&&(o=!0,a=n(t));f>=0;)r>s?(t=(this[f]&(1<<s)-1)<<r-s,t|=this[--f]>>(s+=this.DB-r)):(t=this[f]>>(s-=r)&i,0>=s&&(s+=this.DB,--f)),t>0&&(o=!0),o&&(a+=n(t));return o?a:"0"}function h(){var t=r();return e.ZERO.subTo(this,t),t}function b(){return this.s<0?this.negate():this}function k(e){var r=this.s-e.s;if(0!=r)return r;var t=this.t;if(r=t-e.t,0!=r)return this.s<0?-r:r;for(;--t>=0;)if(0!=(r=this[t]-e[t]))return r;return 0}function m(e){var r,t=1;return 0!=(r=e>>>16)&&(e=r,t+=16),0!=(r=e>>8)&&(e=r,t+=8),0!=(r=e>>4)&&(e=r,t+=4),0!=(r=e>>2)&&(e=r,t+=2),0!=(r=e>>1)&&(e=r,t+=1),t}function p(){return this.t<=0?0:this.DB*(this.t-1)+m(this[this.t-1]^this.s&this.DM)}function E(e,r){var t;for(t=this.t-1;t>=0;--t)r[t+e]=this[t];for(t=e-1;t>=0;--t)r[t]=0;r.t=this.t+e,r.s=this.s}function w(e,r){for(var t=e;t<this.t;++t)r[t-e]=this[t];r.t=Math.max(this.t-e,0),r.s=this.s}function S(e,r){var t,i=e%this.DB,o=this.DB-i,n=(1<<o)-1,a=Math.floor(e/this.DB),f=this.s<<i&this.DM;for(t=this.t-1;t>=0;--t)r[t+a+1]=this[t]>>o|f,f=(this[t]&n)<<i;for(t=a-1;t>=0;--t)r[t]=0;r[a]=f,r.t=this.t+a+1,r.s=this.s,r.clamp()}function v(e,r){r.s=this.s;var t=Math.floor(e/this.DB);if(t>=this.t)return void(r.t=0);var i=e%this.DB,o=this.DB-i,n=(1<<i)-1;r[0]=this[t]>>i;for(var a=t+1;a<this.t;++a)r[a-t-1]|=(this[a]&n)<<o,r[a-t]=this[a]>>i;i>0&&(r[this.t-t-1]|=(this.s&n)<<o),r.t=this.t-t,r.clamp()}function _(e,r){for(var t=0,i=0,o=Math.min(e.t,this.t);o>t;)i+=this[t]-e[t],r[t++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;t<this.t;)i+=this[t],r[t++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;t<e.t;)i-=e[t],r[t++]=i&this.DM,i>>=this.DB;i-=e.s}r.s=0>i?-1:0,-1>i?r[t++]=this.DV+i:i>0&&(r[t++]=i),r.t=t,r.clamp()}function g(r,t){var i=this.abs(),o=r.abs(),n=i.t;for(t.t=n+o.t;--n>=0;)t[n]=0;for(n=0;n<o.t;++n)t[n+i.t]=i.am(0,o[n],t,n,0,i.t);t.s=0,t.clamp(),this.s!=r.s&&e.ZERO.subTo(t,t)}function y(e){for(var r=this.abs(),t=e.t=2*r.t;--t>=0;)e[t]=0;for(t=0;t<r.t-1;++t){var i=r.am(t,r[t],e,2*t,0,1);(e[t+r.t]+=r.am(t+1,2*r[t],e,2*t+1,i,r.t-t-1))>=r.DV&&(e[t+r.t]-=r.DV,e[t+r.t+1]=1)}e.t>0&&(e[e.t-1]+=r.am(t,r[t],e,2*t,0,1)),e.s=0,e.clamp()}function F(t,i,o){var n=t.abs();if(!(n.t<=0)){var a=this.abs();if(a.t<n.t)return null!=i&&i.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=r());var f=r(),s=this.s,u=t.s,l=this.DB-m(n[n.t-1]);l>0?(n.lShiftTo(l,f),a.lShiftTo(l,o)):(n.copyTo(f),a.copyTo(o));var c=f.t,d=f[c-1];if(0!=d){var h=d*(1<<this.F1)+(c>1?f[c-2]>>this.F2:0),b=this.FV/h,k=(1<<this.F1)/h,p=1<<this.F2,E=o.t,w=E-c,S=null==i?r():i;for(f.dlShiftTo(w,S),o.compareTo(S)>=0&&(o[o.t++]=1,o.subTo(S,o)),e.ONE.dlShiftTo(c,S),S.subTo(f,f);f.t<c;)f[f.t++]=0;for(;--w>=0;){var v=o[--E]==d?this.DM:Math.floor(o[E]*b+(o[E-1]+p)*k);if((o[E]+=f.am(0,v,o,w,0,c))<v)for(f.dlShiftTo(w,S),o.subTo(S,o);o[E]<--v;)o.subTo(S,o)}null!=i&&(o.drShiftTo(c,i),s!=u&&e.ZERO.subTo(i,i)),o.t=c,o.clamp(),l>0&&o.rShiftTo(l,o),0>s&&e.ZERO.subTo(o,o)}}}function M(t){var i=r();return this.abs().divRemTo(t,null,i),this.s<0&&i.compareTo(e.ZERO)>0&&t.subTo(i,i),i}function O(e){this.m=e}function A(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function R(e){return e}function N(e){e.divRemTo(this.m,null,e)}function T(e,r,t){e.multiplyTo(r,t),this.reduce(t)}function D(e,r){e.squareTo(r),this.reduce(r)}function P(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var r=3&e;return r=r*(2-(15&e)*r)&15,r=r*(2-(255&e)*r)&255,r=r*(2-((65535&e)*r&65535))&65535,r=r*(2-e*r%this.DV)%this.DV,r>0?this.DV-r:-r}function C(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function L(t){var i=r();return t.abs().dlShiftTo(this.m.t,i),i.divRemTo(this.m,null,i),t.s<0&&i.compareTo(e.ZERO)>0&&this.m.subTo(i,i),i}function B(e){var t=r();return e.copyTo(t),this.reduce(t),t}function I(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var r=0;r<this.m.t;++r){var t=32767&e[r],i=t*this.mpl+((t*this.mph+(e[r]>>15)*this.mpl&this.um)<<15)&e.DM;for(t=r+this.m.t,e[t]+=this.m.am(0,i,e,r,0,this.m.t);e[t]>=e.DV;)e[t]-=e.DV,e[++t]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function H(e,r){e.squareTo(r),this.reduce(r)}function x(e,r,t){e.multiplyTo(r,t),this.reduce(t)}function U(){return 0==(this.t>0?1&this[0]:this.s)}function z(t,i){if(t>4294967295||1>t)return e.ONE;var o=r(),n=r(),a=i.convert(this),f=m(t)-1;for(a.copyTo(o);--f>=0;)if(i.sqrTo(o,n),(t&1<<f)>0)i.mulTo(n,a,o);else{var s=o;o=n,n=s}return i.revert(o)}function q(e,r){var t;return t=256>e||r.isEven()?new O(r):new C(r),this.exp(e,t)}function V(r,t){this.fromInt(0),null==t&&(t=10);for(var i=this.chunkSize(t),o=Math.pow(t,i),n=!1,f=0,s=0,u=0;u<r.length;++u){var l=a(r,u);0>l?"-"==r.charAt(u)&&0==this.signum()&&(n=!0):(s=t*s+l,++f>=i&&(this.dMultiply(o),this.dAddOffset(s,0),f=0,s=0))}f>0&&(this.dMultiply(Math.pow(t,f)),this.dAddOffset(s,0)),n&&e.ZERO.subTo(this,this)}function j(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function W(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Y(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function K(e,r){if(0!=e){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=e;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r]}}function X(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return"0";var t=this.chunkSize(e),i=Math.pow(e,t),o=u(i),n=r(),a=r(),f="";for(this.divRemTo(o,n,a);n.signum()>0;)f=(i+a.intValue()).toString(e).substr(1)+f,n.divRemTo(o,n,a);return a.intValue().toString(e)+f}function G(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Z(e,r){for(var t=0,i=0,o=Math.min(e.t,this.t);o>t;)i+=this[t]+e[t],r[t++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;t<this.t;)i+=this[t],r[t++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;t<e.t;)i+=e[t],r[t++]=i&this.DM,i>>=this.DB;i+=e.s}r.s=0>i?-1:0,i>0?r[t++]=i:-1>i&&(r[t++]=this.DV+i),r.t=t,r.clamp()}var J={math:{}};J.math.Long=function(e,r){this.low_=0|e,this.high_=0|r},J.math.Long.IntCache_={},J.math.Long.fromInt=function(e){if(e>=-128&&128>e){var r=J.math.Long.IntCache_[e];if(r)return r}var t=new J.math.Long(0|e,0>e?-1:0);return e>=-128&&128>e&&(J.math.Long.IntCache_[e]=t),t},J.math.Long.fromNumber=function(e){return isNaN(e)||!isFinite(e)?J.math.Long.ZERO:e<=-J.math.Long.TWO_PWR_63_DBL_?J.math.Long.MIN_VALUE:e+1>=J.math.Long.TWO_PWR_63_DBL_?J.math.Long.MAX_VALUE:0>e?J.math.Long.fromNumber(-e).negate():new J.math.Long(e%J.math.Long.TWO_PWR_32_DBL_|0,e/J.math.Long.TWO_PWR_32_DBL_|0)},J.math.Long.fromBits=function(e,r){return new J.math.Long(e,r)},J.math.Long.fromString=function(e,r){if(0==e.length)throw Error("number format error: empty string");var t=r||10;if(2>t||t>36)throw Error("radix out of range: "+t);if("-"==e.charAt(0))return J.math.Long.fromString(e.substring(1),t).negate();if(e.indexOf("-")>=0)throw Error('number format error: interior "-" character: '+e);for(var i=J.math.Long.fromNumber(Math.pow(t,8)),o=J.math.Long.ZERO,n=0;n<e.length;n+=8){var a=Math.min(8,e.length-n),f=parseInt(e.substring(n,n+a),t);if(8>a){var s=J.math.Long.fromNumber(Math.pow(t,a));o=o.multiply(s).add(J.math.Long.fromNumber(f))}else o=o.multiply(i),o=o.add(J.math.Long.fromNumber(f))}return o},J.math.Long.TWO_PWR_16_DBL_=65536,J.math.Long.TWO_PWR_24_DBL_=1<<24,J.math.Long.TWO_PWR_32_DBL_=J.math.Long.TWO_PWR_16_DBL_*J.math.Long.TWO_PWR_16_DBL_,J.math.Long.TWO_PWR_31_DBL_=J.math.Long.TWO_PWR_32_DBL_/2,J.math.Long.TWO_PWR_48_DBL_=J.math.Long.TWO_PWR_32_DBL_*J.math.Long.TWO_PWR_16_DBL_,J.math.Long.TWO_PWR_64_DBL_=J.math.Long.TWO_PWR_32_DBL_*J.math.Long.TWO_PWR_32_DBL_,J.math.Long.TWO_PWR_63_DBL_=J.math.Long.TWO_PWR_64_DBL_/2,J.math.Long.ZERO=J.math.Long.fromInt(0),J.math.Long.ONE=J.math.Long.fromInt(1),J.math.Long.NEG_ONE=J.math.Long.fromInt(-1),J.math.Long.MAX_VALUE=J.math.Long.fromBits(-1,2147483647),J.math.Long.MIN_VALUE=J.math.Long.fromBits(0,-2147483648),J.math.Long.TWO_PWR_24_=J.math.Long.fromInt(1<<24),J.math.Long.prototype.toInt=function(){return this.low_},J.math.Long.prototype.toNumber=function(){return this.high_*J.math.Long.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},J.math.Long.prototype.toString=function(e){var r=e||10;if(2>r||r>36)throw Error("radix out of range: "+r);if(this.isZero())return"0";if(this.isNegative()){if(this.equals(J.math.Long.MIN_VALUE)){var t=J.math.Long.fromNumber(r),i=this.div(t),o=i.multiply(t).subtract(this);return i.toString(r)+o.toInt().toString(r)}return"-"+this.negate().toString(r)}for(var n=J.math.Long.fromNumber(Math.pow(r,6)),o=this,a="";;){var f=o.div(n),s=o.subtract(f.multiply(n)).toInt(),u=s.toString(r);if(o=f,o.isZero())return u+a;for(;u.length<6;)u="0"+u;a=""+u+a}},J.math.Long.prototype.getHighBits=function(){return this.high_},J.math.Long.prototype.getLowBits=function(){return this.low_},J.math.Long.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:J.math.Long.TWO_PWR_32_DBL_+this.low_},J.math.Long.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(J.math.Long.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,r=31;r>0&&0==(e&1<<r);r--);return 0!=this.high_?r+33:r+1},J.math.Long.prototype.isZero=function(){return 0==this.high_&&0==this.low_},J.math.Long.prototype.isNegative=function(){return this.high_<0},J.math.Long.prototype.isOdd=function(){return 1==(1&this.low_)},J.math.Long.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},J.math.Long.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},J.math.Long.prototype.lessThan=function(e){
return this.compare(e)<0},J.math.Long.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},J.math.Long.prototype.greaterThan=function(e){return this.compare(e)>0},J.math.Long.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},J.math.Long.prototype.compare=function(e){if(this.equals(e))return 0;var r=this.isNegative(),t=e.isNegative();return r&&!t?-1:!r&&t?1:this.subtract(e).isNegative()?-1:1},J.math.Long.prototype.negate=function(){return this.equals(J.math.Long.MIN_VALUE)?J.math.Long.MIN_VALUE:this.not().add(J.math.Long.ONE)},J.math.Long.prototype.add=function(e){var r=this.high_>>>16,t=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,n=e.high_>>>16,a=65535&e.high_,f=e.low_>>>16,s=65535&e.low_,u=0,l=0,c=0,d=0;return d+=o+s,c+=d>>>16,d&=65535,c+=i+f,l+=c>>>16,c&=65535,l+=t+a,u+=l>>>16,l&=65535,u+=r+n,u&=65535,J.math.Long.fromBits(c<<16|d,u<<16|l)},J.math.Long.prototype.subtract=function(e){return this.add(e.negate())},J.math.Long.prototype.multiply=function(e){if(this.isZero())return J.math.Long.ZERO;if(e.isZero())return J.math.Long.ZERO;if(this.equals(J.math.Long.MIN_VALUE))return e.isOdd()?J.math.Long.MIN_VALUE:J.math.Long.ZERO;if(e.equals(J.math.Long.MIN_VALUE))return this.isOdd()?J.math.Long.MIN_VALUE:J.math.Long.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(J.math.Long.TWO_PWR_24_)&&e.lessThan(J.math.Long.TWO_PWR_24_))return J.math.Long.fromNumber(this.toNumber()*e.toNumber());var r=this.high_>>>16,t=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,n=e.high_>>>16,a=65535&e.high_,f=e.low_>>>16,s=65535&e.low_,u=0,l=0,c=0,d=0;return d+=o*s,c+=d>>>16,d&=65535,c+=i*s,l+=c>>>16,c&=65535,c+=o*f,l+=c>>>16,c&=65535,l+=t*s,u+=l>>>16,l&=65535,l+=i*f,u+=l>>>16,l&=65535,l+=o*a,u+=l>>>16,l&=65535,u+=r*s+t*f+i*a+o*n,u&=65535,J.math.Long.fromBits(c<<16|d,u<<16|l)},J.math.Long.prototype.div=function(e){if(e.isZero())throw Error("division by zero");if(this.isZero())return J.math.Long.ZERO;if(this.equals(J.math.Long.MIN_VALUE)){if(e.equals(J.math.Long.ONE)||e.equals(J.math.Long.NEG_ONE))return J.math.Long.MIN_VALUE;if(e.equals(J.math.Long.MIN_VALUE))return J.math.Long.ONE;var r=this.shiftRight(1),t=r.div(e).shiftLeft(1);if(t.equals(J.math.Long.ZERO))return e.isNegative()?J.math.Long.ONE:J.math.Long.NEG_ONE;var i=this.subtract(e.multiply(t)),o=t.add(i.div(e));return o}if(e.equals(J.math.Long.MIN_VALUE))return J.math.Long.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var n=J.math.Long.ZERO,i=this;i.greaterThanOrEqual(e);){for(var t=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),a=Math.ceil(Math.log(t)/Math.LN2),f=48>=a?1:Math.pow(2,a-48),s=J.math.Long.fromNumber(t),u=s.multiply(e);u.isNegative()||u.greaterThan(i);)t-=f,s=J.math.Long.fromNumber(t),u=s.multiply(e);s.isZero()&&(s=J.math.Long.ONE),n=n.add(s),i=i.subtract(u)}return n},J.math.Long.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},J.math.Long.prototype.not=function(){return J.math.Long.fromBits(~this.low_,~this.high_)},J.math.Long.prototype.and=function(e){return J.math.Long.fromBits(this.low_&e.low_,this.high_&e.high_)},J.math.Long.prototype.or=function(e){return J.math.Long.fromBits(this.low_|e.low_,this.high_|e.high_)},J.math.Long.prototype.xor=function(e){return J.math.Long.fromBits(this.low_^e.low_,this.high_^e.high_)},J.math.Long.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var r=this.low_;if(32>e){var t=this.high_;return J.math.Long.fromBits(r<<e,t<<e|r>>>32-e)}return J.math.Long.fromBits(0,r<<e-32)},J.math.Long.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var r=this.high_;if(32>e){var t=this.low_;return J.math.Long.fromBits(t>>>e|r<<32-e,r>>e)}return J.math.Long.fromBits(r>>e-32,r>=0?0:-1)},J.math.Long.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var r=this.high_;if(32>e){var t=this.low_;return J.math.Long.fromBits(t>>>e|r<<32-e,r>>>e)}return 32==e?J.math.Long.fromBits(r,0):J.math.Long.fromBits(r>>>e-32,0)};var Q,$={appName:"Modern Browser"},ee=0xdeadbeefcafe,re=15715070==(16777215&ee);re&&"Microsoft Internet Explorer"==$.appName?(e.prototype.am=i,Q=30):re&&"Netscape"!=$.appName?(e.prototype.am=t,Q=26):(e.prototype.am=o,Q=28),e.prototype.DB=Q,e.prototype.DM=(1<<Q)-1,e.prototype.DV=1<<Q;var te=52;e.prototype.FV=Math.pow(2,te),e.prototype.F1=te-Q,e.prototype.F2=2*Q-te;var ie,oe,ne="0123456789abcdefghijklmnopqrstuvwxyz",ae=new Array;for(ie="0".charCodeAt(0),oe=0;9>=oe;++oe)ae[ie++]=oe;for(ie="a".charCodeAt(0),oe=10;36>oe;++oe)ae[ie++]=oe;for(ie="A".charCodeAt(0),oe=10;36>oe;++oe)ae[ie++]=oe;O.prototype.convert=A,O.prototype.revert=R,O.prototype.reduce=N,O.prototype.mulTo=T,O.prototype.sqrTo=D,C.prototype.convert=L,C.prototype.revert=B,C.prototype.reduce=I,C.prototype.mulTo=x,C.prototype.sqrTo=H,e.prototype.copyTo=f,e.prototype.fromInt=s,e.prototype.fromString=l,e.prototype.clamp=c,e.prototype.dlShiftTo=E,e.prototype.drShiftTo=w,e.prototype.lShiftTo=S,e.prototype.rShiftTo=v,e.prototype.subTo=_,e.prototype.multiplyTo=g,e.prototype.squareTo=y,e.prototype.divRemTo=F,e.prototype.invDigit=P,e.prototype.isEven=U,e.prototype.exp=z,e.prototype.toString=d,e.prototype.negate=h,e.prototype.abs=b,e.prototype.compareTo=k,e.prototype.bitLength=p,e.prototype.mod=M,e.prototype.modPowInt=q,e.ZERO=u(0),e.ONE=u(1),e.prototype.fromRadix=V,e.prototype.chunkSize=j,e.prototype.signum=W,e.prototype.dMultiply=Y,e.prototype.dAddOffset=K,e.prototype.toRadix=X,e.prototype.intValue=G,e.prototype.addTo=Z;var fe={abs:function(e,r){var t,i=new J.math.Long(e,r);t=i.isNegative()?i.negate():i,HEAP32[tempDoublePtr>>2]=t.low_,HEAP32[tempDoublePtr+4>>2]=t.high_},ensureTemps:function(){fe.ensuredTemps||(fe.ensuredTemps=!0,fe.two32=new e,fe.two32.fromString("4294967296",10),fe.two64=new e,fe.two64.fromString("18446744073709551616",10),fe.temp1=new e,fe.temp2=new e)},lh2bignum:function(r,t){var i=new e;i.fromString(t.toString(),10);var o=new e;i.multiplyTo(fe.two32,o);var n=new e;n.fromString(r.toString(),10);var a=new e;return n.addTo(o,a),a},stringify:function(r,t,i){var o=new J.math.Long(r,t).toString();if(i&&"-"==o[0]){fe.ensureTemps();var n=new e;n.fromString(o,10),o=new e,fe.two64.addTo(n,o),o=o.toString(10)}return o},fromString:function(r,t,i,o,n){fe.ensureTemps();var a=new e;a.fromString(r,t);var f=new e;f.fromString(i,10);var s=new e;if(s.fromString(o,10),n&&a.compareTo(e.ZERO)<0){var u=new e;a.addTo(fe.two64,u),a=u}var l=!1;a.compareTo(f)<0?(a=f,l=!0):a.compareTo(s)>0&&(a=s,l=!0);var c=J.math.Long.fromString(a.toString());if(HEAP32[tempDoublePtr>>2]=c.low_,HEAP32[tempDoublePtr+4>>2]=c.high_,l)throw"range error"}};return fe}();if(memoryInitializer)if("function"==typeof Module.locateFile?memoryInitializer=Module.locateFile(memoryInitializer):Module.memoryInitializerPrefixURL&&(memoryInitializer=Module.memoryInitializerPrefixURL+memoryInitializer),ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module.readBinary(memoryInitializer);HEAPU8.set(data,STATIC_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(e){e.byteLength&&(e=new Uint8Array(e)),HEAPU8.set(e,STATIC_BASE),removeRunDependency("memory initializer")},request=Module.memoryInitializerRequest;request?request.response?setTimeout(function(){applyMemoryInitializer(request.response)},0):request.addEventListener("load",function(){200!==request.status&&0!==request.status,!request.response||"object"!=typeof request.response||!request.response.byteLength,applyMemoryInitializer(request.response)}):Browser.asyncLoad(memoryInitializer,applyMemoryInitializer,function(){throw"could not load memory initializer "+memoryInitializer})}ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var initialStackTop,preloadStartTime=null,calledMain=!1;dependenciesFulfilled=function e(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=e)},Module.callMain=Module.callMain=function(e){function r(){for(var e=0;3>e;e++)i.push(0)}assert(0==runDependencies,"cannot call main when async dependencies remain! (listen on __ATMAIN__)"),assert(0==__ATPRERUN__.length,"cannot call main when preRun functions remain to be called"),e=e||[],ensureInitRuntime();var t=e.length+1,i=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];r();for(var o=0;t-1>o;o+=1)i.push(allocate(intArrayFromString(e[o]),"i8",ALLOC_NORMAL)),r();i.push(0),i=allocate(i,"i32",ALLOC_NORMAL),initialStackTop=STACKTOP;try{var n=Module._main(t,i,0);exit(n,!0)}catch(a){if(a instanceof ExitStatus)return;if("SimulateInfiniteLoop"==a)return void(Module.noExitRuntime=!0);throw a&&"object"==typeof a&&a.stack&&Module.printErr("exception thrown: "+[a,a.stack]),a}finally{calledMain=!0}},Module.run=Module.run=run,Module.exit=Module.exit=exit;var abortDecorators=[];if(Module.abort=Module.abort=abort,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!1;Module.noInitialRun&&(shouldRunNow=!1),run();