TIC-80-guile/build/html/tic.js

29 lines
4.4 MiB
JavaScript
Raw Normal View History

2018-08-25 00:46:13 +02:00
var Module=typeof Module!=="undefined"?Module:{};window.addEventListener("keydown",(function(e){if(e.ctrlKey&&[82].indexOf(e.keyCode)>-1||[8,27,33,34,35,36,37,38,39,40,122,58,59,60,61,62].indexOf(e.keyCode)>-1)e.preventDefault()}),false);Module.printErr=(function(){});Module.saveAs=Module.saveAs||(function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=(function(){return e.URL||e.webkitURL||e}),r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,i=(function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}),a=/constructor/i.test(e.HTMLElement),f=/CriOS\/[\d]+/.test(navigator.userAgent),u=(function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)}),d="application/octet-stream",s=1e3*40,c=(function(e){var t=(function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}});setTimeout(t,s)}),l=(function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(i){u(i)}}}}),p=(function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e}),v=(function(t,u,s){if(!s){t=p(t)}var v=this,w=t.type,m=w===d,y,h=(function(){l(v,"writestart progress write writeend".split(" "))}),S=(function(){if((f||m&&a)&&e.FileReader){var r=new FileReader;r.onloadend=(function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()});r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)});v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout((function(){r.href=y;r.download=u;i(r);h();c(y);v.readyState=v.DONE}));return}S()}),w=v.prototype,m=(function(e,t,n){return new v(e,t||e.name||"download",n)});if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return(function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)})}w.abort=(function(){});w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m})(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define([],(function(){return saveAs}))}Module.showAddPopup=(function(callback){var modal=document.getElementById("add-modal");var span=document.getElementsByClassName("close")[0];modal.style.display="block";function cancel(){modal.style.display="none";callback(null,null)}span.onclick=cancel;window.onclick=(function(event){if(event.target==modal)cancel()});var uploadInput=document.getElementById("upload-input");uploadInput.onchange=(function(){var file=uploadInput.files[0];if(!file)return;var reader=new FileReader;reader.onload=(function(event){var rom=new Uint8Array(event.target.result);callback(file.name,rom);uploadInput.value="";modal.style.display="none"});reader.readAsArrayBuffer(file)})});var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof pr
2018-02-10 09:08:14 +01:00
var asm=(/** @suppress {uselessCode} */ function(global,env,buffer) {
2018-08-25 00:46:13 +02:00
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0;var z=0;var A=global.Math.floor;var B=global.Math.abs;var C=global.Math.sqrt;var D=global.Math.pow;var E=global.Math.cos;var F=global.Math.sin;var G=global.Math.tan;var H=global.Math.acos;var I=global.Math.asin;var J=global.Math.atan;var K=global.Math.atan2;var L=global.Math.exp;var M=global.Math.log;var N=global.Math.ceil;var O=global.Math.imul;var P=global.Math.min;var Q=global.Math.max;var R=global.Math.clz32;var S=env.abort;var T=env.assert;var U=env.enlargeMemory;var V=env.getTotalMemory;var W=env.abortOnCannotGrowMemory;var X=env.invoke_dd;var Y=env.invoke_ddd;var Z=env.invoke_di;var _=env.invoke_did;var $=env.invoke_i;var aa=env.invoke_ii;var ba=env.invoke_iii;var ca=env.invoke_iiii;var da=env.invoke_iiiii;var ea=env.invoke_iiiiidii;var fa=env.invoke_iiiiii;var ga=env.invoke_iiiiiii;var ha=env.invoke_iiiiiiii;var ia=env.invoke_iiiiiiiii;var ja=env.invoke_iiiiiiiiii;var ka=env.invoke_v;var la=env.invoke_vd;var ma=env.invoke_vdd;var na=env.invoke_vdddd;var oa=env.invoke_vdddddd;var pa=env.invoke_vdi;var qa=env.invoke_vi;var ra=env.invoke_vid;var sa=env.invoke_vidd;var ta=env.invoke_viddd;var ua=env.invoke_vidddd;var va=env.invoke_viddddddddddddii;var wa=env.invoke_vii;var xa=env.invoke_viid;var ya=env.invoke_viiddddddi;var za=env.invoke_viidddddi;var Aa=env.invoke_viiddddi;var Ba=env.invoke_viidddi;var Ca=env.invoke_viiddi;var Da=env.invoke_viii;var Ea=env.invoke_viiii;var Fa=env.invoke_viiiidd;var Ga=env.invoke_viiiiddd;var Ha=env.invoke_viiiidddd;var Ia=env.invoke_viiiiddddd;var Ja=env.invoke_viiiiddddddd;var Ka=env.invoke_viiiii;var La=env.invoke_viiiiii;var Ma=env.invoke_viiiiiii;var Na=env.invoke_viiiiiiii;var Oa=env.invoke_viiiiiiiii;var Pa=env.invoke_viiiiiiiiiii;var Qa=env.invoke_viiiiiiiiiiii;var Ra=env.invoke_viiiiiiiiiiiii;var Sa=env.___assert_fail;var Ta=env.___buildEnvironment;var Ua=env.___lock;var Va=env.___setErrNo;var Wa=env.___syscall10;var Xa=env.___syscall140;var Ya=env.___syscall145;var Za=env.___syscall146;var _a=env.___syscall15;var $a=env.___syscall195;var ab=env.___syscall197;var bb=env.___syscall220;var cb=env.___syscall221;var db=env.___syscall330;var eb=env.___syscall39;var fb=env.___syscall40;var gb=env.___syscall5;var hb=env.___syscall54;var ib=env.___syscall6;var jb=env.___syscall63;var kb=env.___syscall85;var lb=env.___unlock;var mb=env.__addDays;var nb=env.__arraySum;var ob=env.__emscripten_sample_gamepad_data;var pb=env.__isLeapYear;var qb=env.__registerRestoreOldStyle;var rb=env.__setLetterbox;var sb=env._abort;var tb=env._clock;var ub=env._clock_gettime;var vb=env._difftime;var wb=env._dlclose;var xb=env._dlerror;var yb=env._dlsym;var zb=env._eglBindAPI;var Ab=env._eglChooseConfig;var Bb=env._eglCreateContext;var Cb=env._eglCreateWindowSurface;var Db=env._eglDestroyContext;var Eb=env._eglDestroySurface;var Fb=env._eglGetConfigAttrib;var Gb=env._eglGetDisplay;var Hb=env._eglGetProcAddress;var Ib=env._eglInitialize;var Jb=env._eglMakeCurrent;var Kb=env._eglSwapBuffers;var Lb=env._eglSwapInterval;var Mb=env._eglTerminate;var Nb=env._eglWaitClient;var Ob=env._eglWaitGL;var Pb=env._eglWaitNative;var Qb=env._emscripten_asm_const_i;var Rb=env._emscripten_asm_const_ii;var Sb=env._emscripten_asm_const_iii;var Tb=env._emscripten_asm_const_iiii;var Ub=env._emscripten_asm_const_iiiii;var Vb=env._emscripten_async_wget;var Wb=env._emscripten_cancel_main_loop;var Xb=env._emscripten_do_request_fullscreen;var Yb=env._emscripten_exit_fullscreen;var Zb=env._emscripten_exit_pointerlock;var _b=env._emscripten_get_device_pixel_ratio;var $b=env._emscripten_get_element_css_size;var a
2018-02-10 09:08:14 +01:00
// EMSCRIPTEN_START_FUNCS
2018-08-25 00:46:13 +02:00
function XF(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=b+44|0;c[r>>2]=e;k=c[e+28>>2]|0;h=(c[e+32>>2]|0)+-1|0;i=k+(h*12|0)|0;g=c[i>>2]|0;f=c[k+(h*12|0)+8>>2]|0;h=c[(c[k+(h*12|0)+4>>2]|0)+16>>2]|0;k=g+1|0;a:while(1){p=h;q=i;o=k;g=a[g>>0]|0;b:while(1){i=g&255;switch(c[8364+(i<<2)>>2]|0){case 6:{e=2;m=88;break a}case 1:{m=10;break b}case 2:{m=6;break b}case 3:{m=7;break b}case 4:{m=8;break b}case 5:{m=2;break b}case 7:{m=84;break b}case 8:{m=78;break b}case 9:{m=74;break b}case 10:{m=70;break b}case 11:{m=66;break b}case 12:{m=59;break b}case 13:{m=58;break b}case 14:{m=3;break b}case 15:{m=9;break b}case 16:{m=33;break b}case 17:{m=34;break b}case 18:{m=35;break b}case 19:{m=36;break b}case 20:{m=4;break b}case 21:{m=37;break b}case 22:{m=38;break b}case 23:{m=39;break b}case 24:{m=5;break b}case 25:{m=11;break b}case 27:{m=52;break b}case 28:{m=51;break b}case 29:{m=47;break b}case 30:{m=43;break b}case 31:{m=42;break b}case 32:{m=41;break b}case 33:{m=40;break b}case 34:{m=12;break b}case 26:break;default:{m=91;break a}}l=c[(c[p+28>>2]|0)+(((d[o>>0]|0)<<8|(d[o+1>>0]|0))<<3)>>2]|0;k=WM(b,l)|0;n=RF(k)|0;j=e+20|0;m=c[j>>2]|0;c[j>>2]=m+8;c[m>>2]=n;c[m+4>>2]=z;l=l+48|0;m=q+4|0;n=q+8|0;j=0;g=o;while(1){i=g+2|0;h=g+3|0;g=a[i>>0]|0;if((j|0)>=(c[l>>2]|0)){o=h;continue b}h=a[h>>0]|0;if(!(g<<24>>24))c[k+20+(j<<2)>>2]=c[(c[m>>2]|0)+20+((h&255)<<2)>>2];else c[k+20+(j<<2)>>2]=dG(b,e,(c[n>>2]|0)+((h&255)<<3)|0)|0;j=j+1|0;g=i}}switch(m|0){case 2:{i=f+(i+-4<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+1|0;g=o;continue a}case 3:{i=f+((d[o>>0]|0)<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 4:{i=(c[f>>2]|0)+16+((d[o>>0]|0)<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 5:{h=e+20|0;c[h>>2]=(c[h>>2]|0)+-8;h=p;i=q;k=o+1|0;g=o;continue a}case 6:{i=e+20|0;h=c[i>>2]|0;c[i>>2]=h+8;c[h>>2]=1;c[h+4>>2]=2147221504;h=p;i=q;k=o+1|0;g=o;continue a}case 7:{i=e+20|0;h=c[i>>2]|0;c[i>>2]=h+8;c[h>>2]=2;c[h+4>>2]=2147221504;h=p;i=q;k=o+1|0;g=o;continue a}case 8:{i=e+20|0;h=c[i>>2]|0;c[i>>2]=h+8;c[h>>2]=3;c[h+4>>2]=2147221504;h=p;i=q;k=o+1|0;g=o;continue a}case 9:{k=(c[e+20>>2]|0)+-8|0;i=c[k+4>>2]|0;h=f+((d[o>>0]|0)<<3)|0;c[h>>2]=c[k>>2];c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 10:{i=(c[p+28>>2]|0)+(((d[o>>0]|0)<<8|(d[o+1>>0]|0))<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+3|0;g=o+2|0;continue a}case 11:{j=(d[o>>0]|0)<<8|(d[o+1>>0]|0);l=(c[e+20>>2]|0)+(23-i<<3)|0;k=l;g=o+2|0;k=YF(b,c[k>>2]|0,c[k+4>>2]|0)|0;i=i+-23|0;break}case 12:{g=o+4|0;k=c[(c[p+28>>2]|0)+(((d[o+2>>0]|0)<<8|(d[o+3>>0]|0))<<3)>>2]|0;l=(c[e+20>>2]|0)+(40-i<<3)|0;j=(d[o>>0]|0)<<8|(d[o+1>>0]|0);i=i+-40|0;break}case 33:{i=c[(c[(c[q+4>>2]|0)+20+((d[o>>0]|0)<<2)>>2]|0)+16>>2]|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 34:{k=(c[e+20>>2]|0)+-8|0;i=c[k+4>>2]|0;h=c[(c[(c[q+4>>2]|0)+20+((d[o>>0]|0)<<2)>>2]|0)+16>>2]|0;c[h>>2]=c[k>>2];c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 35:{i=(c[(c[p+40>>2]|0)+16>>2]|0)+(((d[o>>0]|0)<<8|(d[o+1>>0]|0))<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;g=e+20|0;h=c[g>>2]|0;c[g>>2]=h+8;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+3|0;g=o+2|0;continue a}case 36:{k=(c[e+20>>2]|0)+-8|0;i=c[k+4>>2]|0;h=(c[(c[p+40>>2]|0)+16>>2]|0)+(((d[o>>0]|0)<<8|(d[o+1>>0]|0))<<3)|0;c[h>>2]=c[k>>2];c[h+4>>2]=i;h=p;i=q;k=o+3|0;g=o+2|0;continue a}case 37:{k=(c[e+20>>2]|0)+-8|0;i=c[k+4>>2]|0;h=(c[f>>2]|0)+16+((d[o>>0]|0)<<3)|0;c[h>>2]=c[k>>2];c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 38:{i=a[o>>0]|0;g=e+20|0;n=c[g>>2]|0;h=n+-8|0;c[g>>2]=h;i=(c[h>>2]|0)+16+((i&255)<<3)|0;k=c[i>>2]|0;i=c[i+4>>2]|0;c[g>>2]=n;c[h>>2]=k;c[h+4>>2]=i;h=p;i=q;k=o+2|0;g=o+1|0;continue a}case 39:{h=a[o>>0]|0;i=e+20|0;k=c[i>>2]|0;g=k+-8|0;c[i>>2]=g;k=k+-16|0;i=c[k+4>>2]|0;h=(c[g>>2]|0)+16+((h&255)<<3)|0;c[h>>2]=c[k>>2];c[h+4>>2]=i;h=p;i=q;
function hA(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=b+12|0;w=c[v>>2]|0;j=w+61|0;switch(a[j>>0]|0){case 7:{e=w+16|0;c[e>>2]=c[w+32>>2]<<2;d=w+76|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;d=c[w+136>>2]|0;if(a[d+5>>0]&3)cA(w,d);if(c[w+48>>2]&64|0?(f=c[w+40>>2]|0,a[f+5>>0]&3):0)cA(w,f);iA(w);d=c[w+96>>2]|0;if(d|0)do{if(a[d+5>>0]&3)cA(w,d);d=c[d>>2]|0}while((d|0)!=0);a[j>>0]=0;w=c[e>>2]|0;return w|0}case 0:{d=w+16|0;c[d>>2]=0;jA(w);if(!(c[w+76>>2]|0))a[j>>0]=1;w=c[d>>2]|0;return w|0}case 1:{d=w+76|0;if(!(c[d>>2]|0))r=w;else{do jA(w);while((c[d>>2]|0)!=0);r=c[v>>2]|0}h=c[r+80>>2]|0;a[r+61>>0]=8;s=r+16|0;c[s>>2]=0;if(a[b+5>>0]&3)cA(r,b);if(c[r+48>>2]&64|0?(e=c[r+40>>2]|0,a[e+5>>0]&3):0)cA(r,e);iA(r);e=r+104|0;d=c[e>>2]|0;a:do if(d|0)do{while(1){f=d+32|0;if((a[d+5>>0]&7)==0?c[f>>2]|0:0)break;o=d+40|0;c[e>>2]=c[o>>2];c[o>>2]=d;d=c[f>>2]|0;if(d|0)do{f=d+8|0;g=f+4|0;if(c[g>>2]|0){d=c[d>>2]|0;if(c[d+8>>2]&64|0?(i=c[d>>2]|0,a[i+5>>0]&3):0)cA(r,i);c[g>>2]=0}d=c[f>>2]|0}while((d|0)!=0);d=c[e>>2]|0;if(!d)break a}e=d+40|0;d=c[e>>2]|0}while((d|0)!=0);while(0);j=r+76|0;if(c[j>>2]|0)do jA(r);while((c[j>>2]|0)!=0);f=c[s>>2]|0;c[j>>2]=h;if(h|0)do jA(r);while((c[j>>2]|0)!=0);c[s>>2]=0;i=r+88|0;while(1){d=c[i>>2]|0;c[i>>2]=0;e=0;b:while(1){do{if(!d)break b;o=d;d=c[d+28>>2]|0}while(!(kA(r,o)|0));if(!(c[j>>2]|0)){e=1;continue}while(1){jA(r);if(!(c[j>>2]|0)){e=1;continue b}}}if(!e)break}k=r+84|0;lA(r,c[k>>2]|0,0);l=r+92|0;lA(r,c[l>>2]|0,0);m=c[k>>2]|0;n=c[l>>2]|0;d=c[s>>2]|0;h=r+96|0;g=h;while(1){e=c[g>>2]|0;if(!e)break;else g=e}o=d+f|0;f=r+72|0;d=c[f>>2]|0;c:do if(d|0){e=g;while(1){g=d;while(1){if(!(a[g+5>>0]&3))break;c[f>>2]=c[g>>2];c[g>>2]=c[e>>2];c[e>>2]=g;d=c[f>>2]|0;if(!d)break c;else{e=g;g=d}}d=c[g>>2]|0;if(!d)break;else f=g}}while(0);c[r+120>>2]=1;d=c[h>>2]|0;if(d|0)do{if(a[d+5>>0]&3)cA(r,d);d=c[d>>2]|0}while((d|0)!=0);if(c[j>>2]|0)do jA(r);while((c[j>>2]|0)!=0);c[s>>2]=0;while(1){d=c[i>>2]|0;c[i>>2]=0;e=0;d:while(1){do{if(!d)break d;h=d;d=c[d+28>>2]|0}while(!(kA(r,h)|0));if(!(c[j>>2]|0)){e=1;continue}while(1){jA(r);if(!(c[j>>2]|0)){e=1;continue d}}}if(!e)break}d=c[i>>2]|0;if(d|0)do{j=a[d+7>>0]|0;e=c[d+16>>2]|0;i=e+(1<<(j&255)<<5)|0;if(j<<24>>24!=31)do{f=e+8|0;do if(c[f>>2]|0?(p=e+24|0,q=c[p>>2]|0,q&64|0):0){g=c[e+16>>2]|0;h=(a[g+5>>0]&3)==0;if((q&15|0)==4){if(h)break;cA(r,g);break}else{if(h)break;c[f>>2]=0;c[p>>2]=10;break}}while(0);e=e+32|0}while(e>>>0<i>>>0);d=c[d+28>>2]|0}while((d|0)!=0);d=c[l>>2]|0;if(d|0)do{q=a[d+7>>0]|0;e=c[d+16>>2]|0;i=e+(1<<(q&255)<<5)|0;if(q<<24>>24!=31)do{f=e+8|0;do if(c[f>>2]|0?(t=e+24|0,u=c[t>>2]|0,u&64|0):0){g=c[e+16>>2]|0;h=(a[g+5>>0]&3)==0;if((u&15|0)==4){if(h)break;cA(r,g);break}else{if(h)break;c[f>>2]=0;c[t>>2]=10;break}}while(0);e=e+32|0}while(e>>>0<i>>>0);d=c[d+28>>2]|0}while((d|0)!=0);lA(r,c[k>>2]|0,m);lA(r,c[l>>2]|0,n);d=r+144|0;f=0;do{e=r+280+(f<<2)|0;if(a[(c[e>>2]|0)+5>>0]&3)c[e>>2]=c[d>>2];f=f+1|0}while((f|0)!=127);h=r+60|0;a[h>>0]=a[h>>0]^3;h=c[s>>2]|0;d=c[v>>2]|0;a[d+61>>0]=2;e=d+64|0;g=0;do{g=g+1|0;f=eA(b,e,1)|0}while((f|0)==(e|0));c[d+68>>2]=f;c[w+20>>2]=(c[w+12>>2]|0)+(c[w+8>>2]|0);w=o+h+(g*5|0)|0;return w|0}case 2:{d=w+72|0;e=w+68|0;f=c[e>>2]|0;if(f|0?(u=w+12|0,v=c[u>>2]|0,b=eA(b,f,80)|0,c[e>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=3;c[e>>2]=d;w=0;return w|0}case 3:{d=w+96|0;e=w+68|0;f=c[e>>2]|0;if(f|0?(u=w+12|0,v=c[u>>2]|0,b=eA(b,f,80)|0,c[e>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=4;c[e>>2]=d;w=0;return w|0}case 4:{d=w+68|0;e=c[d>>2]|0;if(e|0?(u=w+12|0,v=c[u>>2]|0,b=eA(b,e,80)|0,c[d>>2]=b,w=w+20|0,c[w>>2]=(c[u>>2]|0)-v+(c[w>>2]|0),b|0):0){w=400;return w|0}a[j>>0]=5;c[d>>2]=0;w=0;return w|0}case 5:{v=(c[w+136>>2]|0)+5|0;a[v>>0]=a[w+60>>0]&3|a[v>>0]&-8;if((a[w+62>>0]|0)!=1){e=w+12|0;g=c[e>>2]|0;v=w+108|0;t=c[v>>2]|0;f=w+116|0;d=c[f>>2]|0;u=Uh[c[w>>2]&63](c[w+4>>2]|0,t,d,0)|0;d=(t|0?0-d|0:0)+(c[e>>2]|0)|0;c[e>>2]=d;c[v>>2]=u;c[f>>2]=0;f=c[w+32>>2]|0;if((c[w+28>>2]|0)<((f|0)/4|0|0)){SA(b,(f|0)/2|0);d=c[e>>2]|0}w=w+20|0;c[w>>2]=d-g+(c[w>>2]
function uv(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,t=0,u=0;u=l;l=l+80|0;i=u+64|0;k=u;r=a+68|0;e=c[r>>2]|0;t=a+64|0;m=e-(c[t>>2]|0)>>4;o=a+72|0;b=c[o>>2]|0;if(!b)g=0;else g=(c[b+52>>2]|0)>>>2&1;q=a+56|0;if(e>>>0>=(c[q>>2]|0)>>>0)pr(a,4604);f=Rr(a,40)|0;p=a+44|0;b=c[p>>2]|0;c[f>>2]=805322881;b=b+24|0;e=c[b>>2]|0;if(e|0)c[e+12>>2]=f;c[f+12>>2]=0;c[f+8>>2]=e;c[b>>2]=f;b=c[r>>2]|0;c[b>>2]=9;c[b+8>>2]=f;b=f+4|0;c[b>>2]=(c[b>>2]|0)+1;c[r>>2]=(c[r>>2]|0)+16;b=c[a+164>>2]|0;c[f+20>>2]=b;if(b|0){f=b+4|0;c[f>>2]=(c[f>>2]|0)+1}f=(g|0)!=0;if(!((m|0)!=0&f)){if(!(Pf(i|0,0)|0))d=+(c[i>>2]|0)*1.0e3+ +(c[i+4>>2]|0)/1.0e3;else d=0.0;d=+A(+d);h[j>>3]=d;b=c[j>>2]|0;e=c[j+4>>2]|0;p=e&2146435072;if(p>>>0<2146435072|(p|0)==2146435072&0<0?d>=-864.0e13&d<=864.0e13:0){d=+A(+(+B(+d)));d=(e|0)>-1|(e|0)==-1&b>>>0>4294967295?d:-d}else d=s;b=c[r>>2]|0;if(b>>>0>=(c[q>>2]|0)>>>0)pr(a,4215);q=b+16|0;c[r>>2]=q;c[b>>2]=0;h[b+8>>3]=d;t=c[t>>2]|0;b=q-t>>4;b=b>>>0>1?t+(b+-2<<4)|0:0;b=(b|0)==0?368:b;if((c[b>>2]|0)!=9)dr(a,2130,-2,342985);b=c[b+8>>2]|0;if(!b)dr(a,2130,-2,342985);Br(a,b,c[(c[a+304>>2]|0)+404>>2]|0,1);if(f){l=u;return 1}_r(a,-1)|0;l=u;return 1}if((m|0)==1){Lr(a,0,0);b=c[r>>2]|0;e=c[t>>2]|0;e=(b|0)!=(e|0)?e:0;e=(e|0)==0?368:e;if(((c[e>>2]|0)==8?(n=c[e+8>>2]|0,(n|0)!=0):0)?(c[n>>2]&512|0)==0:0){dz(a,n+28|0);f=c[t>>2]|0;b=(c[r>>2]|0)-f>>4;if(!b)Fr(a,376,-1);b=f+(b+-1<<4)|0;o=c[f>>2]|0;e=c[f+8>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[b>>2]=2;b=(c[r>>2]|0)+-16|0;c[r>>2]=b;if((o&8|0)!=0?(n=e+4|0,o=(c[n>>2]|0)+-1|0,c[n>>2]=o,(o|0)==0):0){tr(c[p>>2]|0,e);b=c[r>>2]|0}}e=c[t>>2]|0;if((b|0)==(e|0))Fr(a,300,0);d=+Dr(a,e);m=c[t>>2]|0;o=c[m>>2]|0;n=m+8|0;b=c[n>>2]|0;c[m>>2]=0;h[n>>3]=d;if(o&8|0?(n=b+4|0,o=(c[n>>2]|0)+-1|0,c[n>>2]=o,(o|0)==0):0)tr(c[p>>2]|0,b);h[j>>3]=d;b=c[j>>2]|0;e=c[j+4>>2]|0;p=e&2146435072;if(p>>>0<2146435072|(p|0)==2146435072&0<0?d>=-864.0e13&d<=864.0e13:0){d=+A(+(+B(+d)));d=(e|0)>-1|(e|0)==-1&b>>>0>4294967295?d:-d}else d=s;b=c[r>>2]|0;if(b>>>0>=(c[q>>2]|0)>>>0)pr(a,4215);q=b+16|0;c[r>>2]=q;c[b>>2]=0;h[b+8>>3]=d;t=c[t>>2]|0;b=q-t>>4;b=b>>>0>1?t+(b+-2<<4)|0:0;b=(b|0)==0?368:b;if((c[b>>2]|0)!=9)dr(a,2130,-2,342985);b=c[b+8>>2]|0;if(!b)dr(a,2130,-2,342985);Br(a,b,c[(c[a+304>>2]|0)+404>>2]|0,1);l=u;return 1}cz(a,k,m);d=+az(k,16);b=c[r>>2]|0;e=c[q>>2]|0;if(b>>>0>=e>>>0)pr(a,4215);f=b+16|0;c[r>>2]=f;c[b>>2]=0;h[b+8>>3]=d;if(f>>>0>=e>>>0)pr(a,1111);if((f-(c[t>>2]|0)|0)<16)Fr(a,1114,-1);c[r>>2]=b+32;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];if(c[f>>2]&8|0){n=(c[b+24>>2]|0)+4|0;c[n>>2]=(c[n>>2]|0)+1}b=c[r>>2]|0;f=b-(c[t>>2]|0)|0;n=f>>4;g=n+-3|0;if(n>>>0<=2)Fr(a,300,-3);e=c[(c[a+304>>2]|0)+404>>2]|0;if(b>>>0>=(c[q>>2]|0)>>>0)pr(a,4153);c[r>>2]=b+16;c[b>>2]=8;c[b+8>>2]=e;i=e+4|0;c[i>>2]=(c[i>>2]|0)+1;i=c[t>>2]|0;k=(c[r>>2]|0)-i>>4;f=((f|0)<48?k:0)+g|0;if(f>>>0>=k>>>0)Fr(a,376,g);if((k|0)==1)Fr(a,376,-2);e=k+-2|0;b=c[o>>2]|0;if(!b)b=1;else b=c[b+52>>2]&1;hs(a,i+(f<<4)|0,i+(k+-1<<4)|0,c[i+(e<<4)>>2]|0,c[i+(e<<4)+4>>2]|0,+h[i+(e<<4)+8>>3],b)|0;Qt(a);b=c[r>>2]|0;if((b|0)==(c[t>>2]|0))er(a,342642,50337407,342658);t=b+-16|0;c[r>>2]=t;a=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[t>>2]=2;if(!(a&8)){l=u;return 1}t=b+4|0;a=(c[t>>2]|0)+-1|0;c[t>>2]=a;if(a|0){l=u;return 1}tr(c[p>>2]|0,b);l=u;return 1}function vv(a){a=a|0;var b=0,d=0.0,e=0,f=0;f=l;l=l+16|0;b=f;if(!(Pf(b|0,0)|0))d=+(c[b>>2]|0)*1.0e3+ +(c[b+4>>2]|0)/1.0e3;else d=0.0;b=a+68|0;e=c[b>>2]|0;if(e>>>0<(c[a+56>>2]|0)>>>0){d=+A(+d);c[b>>2]=e+16;c[e>>2]=0;h[e+8>>3]=d;l=f;return 1}else pr(a,4215);return 0}function wv(a){a=a|0;dz(a,_r(a,0)|0);return 1}function xv(a){a=a|0;var b=0.0,d=0,e=0,f=0,g=0.0,i=0,j=0,k=0;k=l;l=l+64|0;d=k;j=a+68|0;f=c[j>>2]|0;e=f-(c[a+64>>2]|0)|0;if((e|0)<32)if(f>>>0<(c[a+56>>2]|0)>>>0){g=s;i=f}else pr(a,4286);else{cz(a,d,e>>>4);b=+az(d,0);d=c[j>>2]|0;if(d>>>0<(c[a+56>>2]|0)>>>0){g=b;i=d}else pr(a,4215)}c[j>>2]=i+16;c[i>>2]=0;h[i+8>>3]=g;l=k;return 1}function yv(a){a=a|0;var d=0,f=0,g=0,i=0.0,k=0,m=0;m=l;l=l+32|0;g=m;d=c[a+72>>2]|0;do if(d){f=c[d+16>>2]|0;if(!f){d=(c[d+4>>2]|0)>>>8<<24>>24;b
function gm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=b+65716|0;r=(c[b+28>>2]|0)-(O(a[s>>0]|0?4:6,c[b+44>>2]|0)|0)|0;f=(O(c[b+48>>2]|0,-7)|0)+(c[b+32>>2]|0)|0;g=c[b+4>>2]|0;n=b+12|0;q=c[n>>2]|0;o=b+8|0;e=c[o>>2]|0;p=q>>>0<e>>>0?q:e;q=q>>>0>e>>>0?q:e;l=a[g>>0]|0;if(!(l<<24>>24)){k=r;j=f;h=-1;i=0;f=-1}else{k=r;j=f;m=b+64|0;h=-1;i=0;f=-1;while(1){if((j+6|0)>>>0<142&(k+6|0)>>>0<246){if(!(g>>>0<q>>>0&(g>>>0>=p>>>0&(c[n>>2]|0)!=0))){if(a[(c[80]|0)+35>>0]|0){e=c[b>>2]|0;Xh[c[e+1262660>>2]&3](e,l,k+1|0,j+1|0,0,(a[s>>0]|0)!=0)|0}}else{e=c[b>>2]|0;Ai[c[e+1262692>>2]&15](e,k+-1|0,j+-1|0,7,7,a[(c[80]|0)+33>>0]|0)}e=c[b>>2]|0;Xh[c[e+1262660>>2]&3](e,l,k,j,a[m>>0]|0,(a[s>>0]|0)!=0)|0;e=c[o>>2]|0}t=(e|0)==(g|0);i=t?l:i;f=t?j:f;h=t?k:h;if(l<<24>>24==10){k=r;j=j+7|0}else k=(a[s>>0]|0?4:6)+k|0;g=g+1|0;l=a[g>>0]|0;if(!(l<<24>>24))break;else m=m+1|0}}e=(e|0)==(g|0);f=e?j:f;e=e?k:h;if(!((e|f|0)>-1&d))return;if((c[b+24>>2]|0)==0?(((c[b+65644>>2]|0)>>>0)%60|0)>>>0>=30:0)return;t=c[b>>2]|0;Ai[c[t+1262692>>2]&15](t,e+-1|0,f+-1|0,a[s>>0]|0?5:7,7,a[(c[80]|0)+34>>0]|0);if(!(i<<24>>24))return;t=c[b>>2]|0;Xh[c[t+1262660>>2]&3](t,i,e,f,a[(c[80]|0)+32>>0]|0,(a[s>>0]|0)!=0)|0;return}function hm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=u4(c)|0;a:do if(!d)b=0;else do{b=b+-1|0;if(b>>>0<a>>>0){b=0;break a}}while((i3(b,c,d)|0)!=0);while(0);return b|0}function im(a,b,c){a=a|0;b=b|0;c=c|0;return p5(b,c)|0}function jm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=c[b>>2]|0;Ai[c[g+1262692>>2]&15](g,0,7,240,7,8);g=c[b>>2]|0;Xh[c[g+1262668>>2]&3](g,d,0,8,15,0)|0;g=c[b>>2]|0;h=c[g+1262668>>2]|0;e=b+65660|0;f=(u4(d)|0)*6|0;Xh[h&3](g,e,f,8,15,0)|0;d=u4(d)|0;d=((u4(e)|0)+d|0)*6|0;if((c[b+24>>2]|0)==0?(((c[b+65644>>2]|0)>>>0)%60|0)>>>0>=30:0)return;g=c[b>>2]|0;h=b+65716|0;Ai[c[g+1262692>>2]&15](g,d+-1|0,7,a[h>>0]|0?5:7,7,a[(c[80]|0)+34>>0]|0);g=c[b>>2]|0;Xh[c[g+1262660>>2]&3](g,32,d,8,a[(c[80]|0)+32>>0]|0,(a[h>>0]|0)!=0)|0;return}function km(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+4|0;if((u4(c[h>>2]|0)|0)>>>0>65535)return;f=b+8|0;g=c[f>>2]|0;w6(g+1|0,g|0,(u4(g)|0)+1|0)|0;g=c[f>>2]|0;c[f>>2]=g+1;a[g>>0]=d;if(Ol(c[b+65648>>2]|0)|0)Ol(c[b+65652>>2]|0)|0;g=c[b+8>>2]|0;d=c[h>>2]|0;f=g;if(d>>>0<f>>>0){e=d;do{i=e;e=e+1|0;d=(a[i>>0]|0)==10?e:d}while((e|0)!=(f|0))}c[b+16>>2]=g-d;f=b+64|0;x6(f|0,a[(c[80]|0)+30>>0]|0,65536)|0;d=c[b>>2]|0;d=Rh[c[d+1262832>>2]&511](d)|0;e=c[d+24>>2]|0;if(!e)return;ti[e&63](d,c[h>>2]|0,f,(c[80]|0)+24|0);return}function lm(a,b){a=a|0;b=b|0;if(!(c[a+40>>2]|0)){b=1;return b|0}if(!(c[b+40>>2]|0)){b=-1;return b|0}b=h3(a,b)|0;return b|0}function mm(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;o=s;do if(c[(c[b>>2]|0)+65416>>2]|0){r=c[2]|0;if(Uh[c[r+1262808>>2]&63](r,60,20,3)|0){q=b+28|0;c[q>>2]=c[q>>2]&1^1;q=c[2]|0;r=(c[80]|0)+49536|0;r=d[r>>0]|d[r+1>>0]<<8;Ci[c[q+1262752>>2]&7](q,2,(r&65535)>>>8&15,r&7,-1,0,15,0);break}r=c[2]|0;if(!(Uh[c[r+1262808>>2]&63](r,61,20,3)|0)?(r=c[2]|0,!(Uh[c[r+1262808>>2]&63](r,49,20,3)|0)):0){r=c[2]|0;if(!(Uh[c[r+1262808>>2]&63](r,50,20,3)|0)?(r=c[2]|0,!(Uh[c[r+1262808>>2]&63](r,48,20,3)|0)):0)break;e=c[b+12>>2]|0;f=c[b+16>>2]|0;if(!(c[b+28>>2]|0)){li[e&511](1,f);Wi();break}else{li[e&511](0,f);Wi();break}}q=b+28|0;c[q>>2]=c[q>>2]&1^1;q=c[2]|0;r=(c[80]|0)+49536|0;r=d[r>>0]|d[r+1>>0]<<8;Ci[c[q+1262752>>2]&7](q,2,(r&65535)>>>8&15,r&7,-1,0,15,0)}while(0);e=b+4|0;if(!(a[e>>0]|0)){q=c[2]|0;r=(c[80]|0)+49404|0;r=d[r>>0]|d[r+1>>0]<<8;Ci[c[q+1262752>>2]&7](q,0,(r&65535)>>>8&15,r&7,-1,0,15,0);a[e>>0]=1}v6(c[b>>2]|0,c[b+8>>2]|0,16320)|0;p=c[b>>2]|0;f=b+32|0;q=60-(c[f>>2]|0)|0;g=b+36|0;r=37-(c[g>>2]|0)|0;h=r+-6|0;i=c[2]|0;j=d[i+65412>>0]|0;k=d[i+65413>>0]|0;if((((((j|0)>=(q|0)?(n=q+120|0,!((j|0)>=(n|0)|(k|0)<(h|0)|(k|0)>(r|0))):0)?(e=i+16379|0,a[e>>0]=a[e>>0]&-128|1,a[84]|0):0)?(e=c[22]|0,(e|0)>=(q|0)&(e|0)<(n|0)):0)?(n=c[23]|0,!((n|0)<(h|0)|(n|0)>(r|0))):0)?(m=b+48|0,(a[m>>0]|0)==0):0){c[b+40>>2]=(c[f>>2]|0)+j;c[b+44>>2]=(c[g>>2]|0)+k;a[m>>0]=1}e=b+48|0;if(a[e>>0]|0?(n=i+16379|0,a[n>>0]=a[n>>0]&-128|1,c[f>>2]=(c[b+40>>2]|0)-j,c[g>>2]=(c[b+44>>2]|0)-k,!((a[84]|0)!=
function Dt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,k=0.0,m=0,n=0,o=0,p=0;m=l;l=l+16|0;p=m+8|0;g=a+40|0;i=c[g>>2]|0;if(i|0){c[(c[a+72>>2]|0)+36>>2]=c[i>>2];c[g>>2]=0}o=a+44|0;i=c[o>>2]|0;n=i+72|0;if(c[n>>2]|0){c[n>>2]=0;g=c[a+248>>2]|0;if(!g){k=+(b|0);h[m>>3]=k;g=0}else{c[m>>2]=g;k=+h[m>>3];g=9}c[i+84>>2]=1;c[i+96>>2]=g;h[i+104>>3]=k;if(g&8|0){h[j>>3]=k;m=(c[j>>2]|0)+4|0;c[m>>2]=(c[m>>2]|0)+1}As(a)}c[n>>2]=1;g=a+68|0;m=c[a+52>>2]|0;i=(c[g>>2]|0)-m+528|0;m=m+i|0;n=a+56|0;do if((c[n>>2]|0)>>>0<m>>>0)if((c[a+60>>2]|0)>>>0<m>>>0){Hr(a,i,1)|0;break}else{c[n>>2]=m;break}while(0);c[p>>2]=d;kt(a,b|16777216,e,f,392312,p);ds(a,105);g=c[g>>2]|0;p=g+-16|0;f=c[o>>2]|0;c[f+84>>2]=1;f=f+96|0;c[f>>2]=c[p>>2];c[f+4>>2]=c[p+4>>2];c[f+8>>2]=c[p+8>>2];c[f+12>>2]=c[p+12>>2];if(c[p>>2]&8|0){p=(c[g+-8>>2]|0)+4|0;c[p>>2]=(c[p>>2]|0)+1}c[(c[o>>2]|0)+72>>2]=0;As(a)}function Et(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;j=k;e=a+68|0;d=c[e>>2]|0;f=c[a+64>>2]|0;g=(d-f>>4)-b|0;i=g+-1|0;h=f;if((i|b|0)<0)qr(a,342627,55);if(d>>>0>=(c[a+56>>2]|0)>>>0)pr(a,4162);d=d+16|0;c[e>>2]=d;d=d-f>>4;b=((g|0)<0?d:0)+g|0;if(b>>>0>=d>>>0)Fr(a,376,g);e=h+(b<<4)|0;b=h+(d+-1<<4)|0;d=b-e|0;if(!d){Or(a,i,0)|0;l=k;return};c[j>>2]=c[b>>2];c[j+4>>2]=c[b+4>>2];c[j+8>>2]=c[b+8>>2];c[j+12>>2]=c[b+12>>2];w6(e+16|0,e|0,d|0)|0;c[e>>2]=c[j>>2];c[e+4>>2]=c[j+4>>2];c[e+8>>2]=c[j+8>>2];c[e+12>>2]=c[j+12>>2];Or(a,i,0)|0;l=k;return}function Ft(a,b){a=a|0;b=b|0;jt(a,c[(c[a+68>>2]|0)+-8>>2]|0);return 0}function Gt(a,b){a=a|0;b=b|0;var d=0,e=0;if(c[a+56>>2]|0)return;d=c[b+8>>2]|0;e=c[b+12>>2]|0;if(!e)c[a+24>>2]=d;else c[e+8>>2]=d;if(d|0)c[d+12>>2]=e;if((c[b>>2]&384|0)==128){e=a+12|0;d=a+16|0;li[c[e>>2]&511](c[d>>2]|0,c[b+20>>2]|0)}else{e=a+12|0;d=a+16|0}li[c[e>>2]&511](c[d>>2]|0,b);return}function Ht(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0;j=a+68|0;i=a+64|0;f=c[i>>2]|0;g=(c[j>>2]|0)-f>>4;e=((b|0)<0?g:0)+b|0;if(e>>>0>=g>>>0)Fr(a,376,b);if(g>>>0<=1)Fr(a,376,-2);d=g+-1|0;b=c[a+72>>2]|0;if(!b)b=1;else b=c[b+52>>2]&1;hs(a,f+(e<<4)|0,f+(g+-2<<4)|0,c[f+(d<<4)>>2]|0,c[f+(d<<4)+4>>2]|0,+h[f+(d<<4)+8>>3],b)|0;d=c[j>>2]|0;if((d+-32|0)>>>0<(c[i>>2]|0)>>>0)er(a,342642,50337495,342658);b=d+-16|0;c[j>>2]=b;i=c[d+-16>>2]|0;d=c[d+-8>>2]|0;c[b>>2]=2;if((i&8|0)!=0?(g=d+4|0,i=(c[g>>2]|0)+-1|0,c[g>>2]=i,(i|0)==0):0){tr(c[a+44>>2]|0,d);b=c[j>>2]|0}i=b+-16|0;c[j>>2]=i;j=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[i>>2]=2;if(!(j&8))return;i=b+4|0;j=(c[i>>2]|0)+-1|0;c[i>>2]=j;if(j|0)return;tr(c[a+44>>2]|0,b);return}function It(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0;k=a+68|0;e=c[k>>2]|0;j=a+64|0;f=c[j>>2]|0;l=e-f>>4;g=((b|0)<0?l:0)+b|0;i=f;if(g>>>0>=l>>>0)Fr(a,300,b);if(e>>>0>=(c[a+56>>2]|0)>>>0)pr(a,4274);l=e+16|0;c[k>>2]=l;c[e>>2]=0;h[e+8>>3]=+(d>>>0);f=l-f>>4;d=((g|0)<0?f:0)+g|0;if(d>>>0>=f>>>0)Fr(a,376,g);if((f|0)==1)Fr(a,376,-2);e=f+-2|0;b=c[a+72>>2]|0;if(!b)b=1;else b=c[b+52>>2]&1;hs(a,i+(d<<4)|0,i+(f+-1<<4)|0,c[i+(e<<4)>>2]|0,c[i+(e<<4)+4>>2]|0,+h[i+(e<<4)+8>>3],b)|0;e=c[k>>2]|0;if((e+-32|0)>>>0<(c[j>>2]|0)>>>0)er(a,342642,50337495,342658);b=e+-16|0;c[k>>2]=b;l=c[e+-16>>2]|0;e=c[e+-8>>2]|0;c[b>>2]=2;if((l&8|0)!=0?(j=e+4|0,l=(c[j>>2]|0)+-1|0,c[j>>2]=l,(l|0)==0):0){tr(c[a+44>>2]|0,e);b=c[k>>2]|0}j=b+-16|0;c[k>>2]=j;l=c[b+-16>>2]|0;b=c[b+-8>>2]|0;c[j>>2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0;N=Y+64|0;M=Y+56|0;X=Y+40|0;W=Y+136|0;F=Y+8368|0;E=Y+8364|0;K=Y+8360|0;J=Y+8356|0;L=Y;G=Y+8352|0;H=Y+8348|0;I=Y+8344|0;i=b+16|0;e=c[c[i>>2]>>2]|0;f=e+16|0;k=b+8|0;d=c[k>>2]|0;f=f>>>0<d>>>0?f:412424;switch(c[f+8>>2]&15){case 4:{d=f;u=5;break}case 3:{if((c[(c[b+12>>2]|0)+12>>2]|0)>0){mA(b);e=c[c[i>>2]>>2]|0;d=c[k>>2]|0}u=e+16|0;d=u>>>0<d>>>0?u:412424;rA(b,d);u=5;break}default:{tB(b,1,361570);d=0}}if((u|0)==5)d=(c[d>>2]|0)+16|0;c[E>>2]=d;c[F>>2]=b;x=F+4|0;c[x>>2]=1;c[F+8>>2]=1;v=c[k>>2]|0;c[v+8>>2]=0;c[k>>2]=v+16;v=W+12|0;c[v>>2]=b;A=W+16|0;c[W>>2]=A;y=W+8|0;c[y>>2]=0;w=W+4|0;c[w>>2]=8192;if(!(a[d>>0]|0)){e=A;d=0}else{q=1;e=0;while(1){p=LD(F,e,E,K,J)|0;o=c[J>>2]|0;r=c[K>>2]|0;t=o+e+r|0;d=o+-1|0;c[J>>2]=d;if((o|0)>0){n=0-o|0;while(1){e=c[y>>2]|0;f=c[w>>2]|0;if(e>>>0>=f>>>0?(B=c[v>>2]|0,(f|0)==(e|0)):0){m=e<<1;m=(m|0)==(e|0)?e+1|0:m;if(m>>>0<e>>>0)rB(B,356340,M);i=Cz(B,m)|0;v6(i|0,c[W>>2]|0,c[y>>2]|0)|0;if((c[W>>2]|0)!=(A|0)){k=B+8|0;f=c[k>>2]|0;e=f+-16|0;f=f+-32|0;do{c[X>>2]=c[f>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];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(i?0:k)>>0]=o;do if((r|0)>1){if(i){d=o;e=p;f=1;while(1){d=p6(d|0,e|0,8)|0;a[m+f>>0]=d;f=f+1|0;if((f|0)==(r|0))break;else e=z}}else{d=o;e=p;f=1;while(1){d=p6(d|0,e|0,8)|0;a[m+(k-f)>>0]=d;f=f+1|0;if((f|0)==(r|0))break;else e=z}}if((p|0)<0&(r|0)>8)if(i){x6(m+8|0,-1,r+-8|0)|0;break}else{d=8;do{a[m+(k-d)>>0]=-1;d=d+1|0}while((d|0)!=(r|0))}}while(0);c[y>>2]=(c[y>>2]|0)+r;d=s;e=t;break}case 1:{f=vB(b,s)|0;d=z;if((r|0)<8?(q=q6(1,0,r<<3|0)|0,p=z,!(d>>>0<p>>>0|(d|0)==(p|0)&f>>>0<q>>>0)):0)qB(b,s,358319)|0;o=c[x>>2]|0;k=c[v>>2]|0;i=c[w>>2]|0;e=c[y>>2]|0;if((i-e|0)>>>0<r>>>0){n=i<<1;n=(n-e|0)>>>0<r>>>0?e+r|0:n;if(n>>>0<e>>>0|(n-e|0)>>>0<r>>>0)rB(k,356340,S);i=Cz(k,n)|0;v6(i|0,c[W>>2]|0,c[y>>2]|0)|0;if((c[W>>2]|0)!=(A|0)){m=k+8|0;k=c[m>>2]|0;e=k+-16|0;k=k+-32|0;do{c[X>>2]=c[k>>2];c[X+4>>2]=c[k+4>>2];c[X+8>>2]=c[k+8>>2];c[X+12>>2]=c[k+12>>2];c[k>>2]=c[e>>2];c[k+4>>2]=c[e+4>>2];c[k+8>>2]=c[e+8>>2];c[k+12>>2]=c[e+12>>2];c[e>>2]=c[X>>2];c[e+4>>2]=c[X+4>>2];c[e+8>>2]=c[X+8>>2];c[e+12>>2]=c[X+12>>2];k=k+16|0;e=e+-16|0}while(k>>>0<e>>>0);c[m>>2]=(c[m>>2]|0)+-16}c[W>>2]=i;c[w>>2]=n;e=c[y>>2]|0}else i=c[W>>2]|0;k=i+e|0;e=(o|0)!=0;i=r+-1|0;a[k+(e?0:i)>>0]=f;if((r|0)>1)if(e){e=1;while(1){f=p6(f|0,d|0,8)|0;a[k+e>>0]=f;e=e+1|0;if((e|0)==(r|0))break;else d=z}}else{e=1;while(1){f=p6(f|0,d|0,8)|0;a[k+(i-e)>>0]=f;e=e+1|0;if((e|0)==(r|0))break;else d=z}}c[y>>2]=(c[y>>2]|0)+r;d=s;e=t;break}case 2:{f=c[v>>2]|0;e=c[w>>2]|0;d=c[y>>2]|0;if((e-d|0)>>>0<r>>>0){k=e<<1;k=(k-d|0)>>>0<r>>>0?d+r|0:k;if(k>>>0<d>>>0|(k-d|0)>>>0<r>>>0)rB(f,356340,T);e=Cz(f,k)|0;v6(e|0,c[W>>2]
function Hi(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Ii(){return l|0}function Ji(a){a=a|0;l=a}function Ki(a,b){a=a|0;b=b|0;l=a;m=b}function Li(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Mi(a){a=a|0;z=a}function Ni(){return z|0}function Oi(){var b=0,d=0,e=0,f=0,g=0,h=0;b=Qh[c[(c[40>>2]|0)+64>>2]&15]()|0;if(b<<24>>24){h=b;return h|0}h=c[2]|0;e=h+65416|0;g=h+1262808|0;d=a[e>>0]|0;if(!((d+-1&255)<49?Uh[c[g>>2]&63](h,d,20,3)|0:0))f=10;do if((f|0)==10){b=a[e+1>>0]|0;if((b+-1&255)<49?Uh[c[g>>2]&63](h,b,20,3)|0:0){d=b;break}b=a[e+2>>0]|0;if((b+-1&255)<49?Uh[c[g>>2]&63](h,b,20,3)|0:0){d=b;break}b=a[e+3>>0]|0;if((b+-1&255)>=49){h=0;return h|0}if(Uh[c[g>>2]&63](h,b,20,3)|0)d=b;else{h=0;return h|0}}while(0);e=d&255;b=h+1262804|0;g=Sh[c[b>>2]&255](h,62)|0;b=Sh[c[b>>2]&255](h,64)|0;do if(g)if((d+-1&255)<26){b=b?40072:40122;break}else{b=b?40122:40072;break}else b=b?40122:40072;while(0);h=a[b+e>>0]|0;return h|0}function Pi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;m=n;if(!b){m=0;l=n;return m|0}if(!(Qh[c[(c[40>>2]|0)+4>>2]&15]()|0)){m=0;l=n;return m|0}j=Qh[c[(c[40>>2]|0)+8>>2]&15]()|0;if(!j){m=0;l=n;return m|0}if(f){i=u4(j)|0;if((i|0)>0){f=0;h=0;do{g=a[j+h>>0]|0;if(!(W2(g<<24>>24)|0)){a[j+f>>0]=g;f=f+1|0}h=h+1|0}while((h|0)!=(i|0))}else f=0;a[j+f>>0]=0}f=u4(j)|0;d=(f|0)==(d<<1|0);if(d?(a[m>>0]=a[40172]|0,a[m+1>>0]=a[40173]|0,a[m+2>>0]=a[40174]|0,a[m+3>>0]=a[40175]|0,a[m+4>>0]=a[40176]|0,k=(f|0)/2|0,(f|0)>1):0){i=m+(e?3:2)|0;h=m+(e?2:3)|0;f=j;g=0;while(1){a[i>>0]=a[f>>0]|0;a[h>>0]=a[f+1>>0]|0;a[b+g>>0]=_2(m)|0;g=g+1|0;if((g|0)>=(k|0))break;else f=f+2|0}}fi[c[(c[40>>2]|0)+12>>2]&511](j);m=d;l=n;return m|0}function Qi(){return (c[80]|0)+8|0}function Ri(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=0;o=-1;do{k=i*7|0;g=c[2]|0;h=d[g+65412>>0]|0;f=k+7|0;if((d[g+65413>>0]|0)<7&((h|0)>=(k|0)&(h|0)<(f|0))){h=g+16379|0;a[h>>0]=a[h>>0]&-128|1;C5(228,c[392+(i<<2)>>2]|0,39)|0;if(((((a[85]|0)!=0?(j=c[22]|0,(j|0)>=(k|0)):0)?(j|0)<(f|0)&(c[23]|0)>>>0<7:0)?(h=c[24]|0,(h|0)>=(k|0)&(h|0)<(f|0)&(c[25]|0)>>>0<7):0)?(a[85]=0,l=c[412+(i<<2)>>2]|0,m=c[18]|0,(m|0)!=(l|0)):0){f=c[2]|0;a:do if((m|0)==2){fi[c[f+1262788>>2]&511](f);h=c[2]|0;fi[c[h+1262784>>2]&511](h)}else{fi[c[f+1262784>>2]&511](f);switch(m|0){case 10:case 9:case 1:case 0:break a;case 11:{c[19]=3;break a}default:{c[19]=m;break a}}}while(0);switch(l|0){case 6:{Pl(c[79]|0,c[2]|0,c[284+((a[180]|0)*20|0)+8>>2]|0);break}case 2:{$j(c[78]|0,c[77]|0,c[2]|0);break}case 11:{h=c[83]|0;fi[c[h+44>>2]&511](h);break}default:{}}c[18]=l;f=3}else f=3}else f=10;o=(c[18]|0)==(c[412+(i<<2)>>2]|0)?i:o;g=(o|0)==(i|0);if(g){Si(k,0,40177,e);h=i<<3;Si(k,1,40185+h|0,0)}else h=i<<3;Si(k,0,40185+h|0,g?15:f);i=i+1|0}while((i|0)!=5);if((o|0)>-1)h=0;else return;do{g=h*7|0;i=g+144|0;f=c[2]|0;m=d[f+65412>>0]|0;g=g+151|0;b:do if((d[f+65413>>0]|0)<7&((m|0)>=(i|0)&(m|0)<(g|0))){f=f+16379|0;a[f>>0]=a[f>>0]&-128|1;f=c[472+(h<<2)>>2]&255;C5(228,c[492+(h<<2)>>2]|0,39)|0;if(a[84]|0?(m=c[22]|0,!((m|0)>=(g|0)|(m|0)<(i|0)|(c[23]|0)>>>0>6)):0){g=15;break}if((((a[85]|0)!=0?(n=c[22]|0,(n|0)>=(i|0)):0)?(n|0)<(g|0)&(c[23]|0)>>>0<7:0)?(m=c[24]|0,(m|0)>=(i|0)&(m|0)<(g|0)&(c[25]|0)>>>0<7):0){a[85]=0;g=c[18700+(h<<2)>>2]|0;switch(c[18]|0){case 3:{m=c[284+((a[178]|0)*20|0)>>2]|0;li[c[m+65728>>2]&511](m,g);g=f;f=15;break b}case 4:{m=c[284+((a[179]|0)*20|0)+4>>2]|0;li[c[m+68>>2]&511](m,g);g=f;f=15;break b}case 5:{m=c[284+((a[180]|0)*20|0)+8>>2]|0;li[c[m+120>>2]&511](m,g);g=f;f=15;break b}case 7:{m=c[284+((a[181]|0)*20|0)+12>>2]|0;li[c[m+40>>2]&511](m,g);g=f;f=15;break b}case 8:{m=c[284+((a[182]|0)*20|0)+16>>2]|0;li[c[m+96>>2]&511](m,g);g=f;f=15;break b}default:{g=f;f=15;break b}}}else{g=f;f=15}}else{g=10;f=15}while(0);Ai[c[(c[2]|0)+1262692>>2]&15](b,i,0,7,7,f);Si(i,0,40389+(h<<3)|0,g);h=h+1|0}while((h|0)!=5);if(a[176]|0)return;n=(u4(228)|0)==0;f=c[(c[2]|0)+1262664>>2]|0;if(n){Xh[f&3](b,c[432+(o<<2)>>2]|0,42,1,3,0)|0;return}else{Xh[f&3](b,228,42,1,0,0)|0;return}}function Si(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=b+7|0;l=b+1|0;m=b+2|0;n=b+3|0;o=b+4
function A_(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0.0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=l;l=l+32|0;s=C+24|0;z=C+16|0;r=C+8|0;q=C;n=e+320|0;p=c[n>>2]|0;i=c[p>>2]|0;a:do if(!i){k=p+4|0;A=c[k>>2]|0;c[p>>2]=A;i=A;if(!A){j=m_(c[e+188>>2]|0)|0;do if(j|0){c[k>>2]=j;c[p>>2]=j;i=c[c[n>>2]>>2]|0;if(!i)break a;J_(i,e+216|0);i=c[c[n>>2]>>2]|0;if(i|0)if(!(c[e+280>>2]|0)){y=c[i+8>>2]|0;A=c[i+12>>2]|0;c[i+36>>2]=0;c[i+40>>2]=0;c[i+44>>2]=y;c[i+48>>2]=A;break}else{J_(i,e+248|0);break}}while(0);i=c[p>>2]|0}if(!i){h=-1;l=C;return h|0}else j=i}else j=i;while(0);A=l;l=l+((1*(h<<3)|0)+15&-16)|0;i=c[e+216>>2]|0;k=c[e+220>>2]|0;y=(h|0)>0;if(!(k|i)){if(y){i=0;do{c[A+(i<<3)>>2]=~~+g[f+(i<<3)>>2];c[A+(i<<3)+4>>2]=~~+g[f+(i<<3)+4>>2];i=i+1|0}while((i|0)!=(h|0))}}else if(y){o=+(i|0);m=+(k|0);i=0;do{c[A+(i<<3)>>2]=~~(o+ +g[f+(i<<3)>>2]);c[A+(i<<3)+4>>2]=~~(m+ +g[f+(i<<3)+4>>2]);i=i+1|0}while((i|0)!=(h|0))}w=c[e+316>>2]|0;n=a[e+312>>0]|0;x=a[e+315>>0]|0;p=a[e+313>>0]|0;f=a[e+314>>0]|0;if(!w){v=j+4|0;i=c[v>>2]|0;u=U_(i,n,p,f,x)|0;if(!j){yV(393759,q);h=-1;l=C;return h|0}if((d[i+8>>0]|0)<8){yV(393881,r);h=-1;l=C;return h|0}q=c[j+36>>2]|0;r=(c[j+44>>2]|0)+q|0;s=c[j+40>>2]|0;t=(c[j+48>>2]|0)+s|0;if(!y){h=0;l=C;return h|0}f=u&255;e=j+20|0;j=j+16|0;k=u&65535;i=0;b:while(1){n=c[A+(i<<3)>>2]|0;p=c[A+(i<<3)+4>>2]|0;c:do if((p|0)<(t|0)&(((n|0)>=(r|0)|(n|0)<(q|0)|(p|0)<(s|0))^1))switch(a[(c[v>>2]|0)+9>>0]|0){case 3:break b;case 1:{a[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+n>>0]=f;break c}case 2:{b[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+(n<<1)>>1]=k;break c}case 4:{c[(c[e>>2]|0)+(O(c[j>>2]|0,p)|0)+(n<<2)>>2]=u;break c}default:break c}while(0);i=i+1|0;if((i|0)>=(h|0)){i=0;B=46;break}}if((B|0)==46){l=C;return i|0}yV(392575,z);h=-1;l=C;return h|0}else{if(j){i=c[j+4>>2]|0;k=a[i+8>>0]|0;if((k&255)<8)i=393835;else{if((w+-1|0)>>>0<2){t=x&255;v=(((O(t,n&255)|0)>>>0)/255|0)&255;u=(((O(t,p&255)|0)>>>0)/255|0)&255;t=(((O(t,f&255)|0)>>>0)/255|0)&255}else{v=n;u=p;t=f}switch(k<<24>>24){case 15:{if((c[i+12>>2]|0)==31744)s=6;else B=40;break}case 16:{if((c[i+12>>2]|0)==63488)s=7;else B=40;break}case 32:{if((c[i+12>>2]|0)==16711680)s=(c[i+24>>2]|0)==0?3:2;else B=40;break}default:B=40}if((B|0)==40)s=(c[i+24>>2]|0)==0?5:4;f=c[j+36>>2]|0;e=(c[j+44>>2]|0)+f|0;q=c[j+40>>2]|0;r=(c[j+48>>2]|0)+q|0;if(y){p=0;i=0}else{h=0;l=C;return h|0}do{k=c[A+(p<<3)>>2]|0;n=c[A+(p<<3)+4>>2]|0;if((n|0)<(r|0)&(((k|0)>=(e|0)|(k|0)<(f|0)|(n|0)<(q|0))^1))i=Zh[s&7](j,k,n,w,v,u,t,x)|0;p=p+1|0}while((p|0)!=(h|0));l=C;return i|0}}else i=393759;yV(i,s);h=-1;l=C;return h|0}return 0}function B_(e,f,h){e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=l;l=l+80|0;z=I+48|0;p=I+40|0;o=I+32|0;A=I+24|0;x=I+16|0;v=I+8|0;s=I;D=I+64|0;E=I+60|0;F=I+56|0;G=I+52|0;m=e+320|0;n=c[m>>2]|0;i=c[n>>2]|0;a:do if(!i){j=n+4|0;H=c[j>>2]|0;c[n>>2]=H;i=H;if(!H){k=m_(c[e+188>>2]|0)|0;do if(k|0){c[j>>2]=k;c[n>>2]=k;i=c[c[m>>2]>>2]|0;if(!i){H=k;break a}J_(i,e+216|0);i=c[c[m>>2]>>2]|0;if(i|0)if(!(c[e+280>>2]|0)){C=c[i+8>>2]|0;H=c[i+12>>2]|0;c[i+36>>2]=0;c[i+40>>2]=0;c[i+44>>2]=C;c[i+48>>2]=H;break}else{J_(i,e+248|0);break}}while(0);i=c[n>>2]|0}if(!i){H=-1;l=I;return H|0}else H=i}else H=i;while(0);C=l;l=l+((1*(h<<3)|0)+15&-16)|0;i=c[e+216>>2]|0;k=c[e+220>>2]|0;j=(h|0)>0;if(!(k|i)){if(j){i=0;do{c[C+(i<<3)>>2]=~~+g[f+(i<<3)>>2];c[C+(i<<3)+4>>2]=~~+g[f+(i<<3)+4>>2];i=i+1|0}while((i|0)!=(h|0))}}else if(j){r=+(i|0);q=+(k|0);i=0;do{c[C+(i<<3)>>2]=~~(r+ +g[f+(i<<3)>>2]);c[C+(i<<3)+4>>2]=~~(q+ +g[f+(i<<3)+4>>2]);i=i+1|0}while((i|0)!=(h|0))}t=c[e+316>>2]|0;i=a[e+312>>0]|0;u=a[e+315>>0]|0;j=a[e+313>>0]|0;k=a[e+314>>0]|0;if(!t){o=H+4|0;m=c[o>>2]|0;e=U_(m,i,j,k,u)|0;b:do if(H){switch(a[m+9>>0]|0){case 1:{if((d[m+8>>0]|0)<8)w=26;else f=6;break}case 2:{f=5;break}case 4:{f=7;break}default:w=26}if((w|0)==26){yV(393715,v);i=-1;break}if((h|0)>1){k=H+36|0;i=c[C>>2]|0;j=1;m=i;n=c[C+4>>2]|0;do{c[D>>2]=m;c[E>>2]=n;m=c[C+(j<<3)>>2]|0;c[F>>2]=m;n=c[C+(j<<3)+4>>2]|0;c[G>>2]=n;if(h$(k,D,E,F,G)|0){B=c[F>>2]|0;z=c[G>>2]|0;Bi[f&15](H,c[D>>2]|0,c[E>>2]|0,B,z,e,((z|0)!=(
function zs(b,f){b=b|0;f=f|0;var g=0,i=0,k=0.0,m=0,n=0.0,o=0,p=0,q=0,r=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;fa=l;l=l+32|0;da=fa;$=fa+8|0;aa=fa+4|0;S=b+44|0;T=$+4|0;U=$+8|0;V=$+4|0;W=$+12|0;b=0;a:while(1){ga=c[(c[S>>2]|0)+132>>2]|0;N=ga+40|0;c[N>>2]=aa;O=ga+72|0;I=c[O>>2]|0;H=(c[(c[I+16>>2]|0)+40>>2]|0)+24|0;c[aa>>2]=c[I+36>>2];I=ga+92|0;P=ga+64|0;R=ga+44|0;ha=ga+68|0;Q=ga+56|0;J=ga+304|0;K=ga+104|0;L=ga+112|0;M=ga+132|0;w=b;b:while(1){b=c[I>>2]|0;if((b|0)>0)c[I>>2]=b+-1;else{c[(c[O>>2]|0)+36>>2]=c[aa>>2];Gs(ga)}i=c[aa>>2]|0;g=i+4|0;c[aa>>2]=g;r=c[i>>2]|0;m=r&255;b=g;do switch((r&255)<<24>>24){case -87:{ea=2612;break a}case -86:{ea=2748;break a}case -3:case -4:case -5:case -6:case -7:case -8:case -9:case -10:case -11:case -12:case -13:case -14:case -15:case -16:case -17:case -18:case -19:case -20:case -21:case -22:case -23:case -24:case -25:case -26:case -27:case -28:case -29:case -30:case -31:case -32:case -33:case -34:case -35:case -36:case -37:case -38:case -39:case -40:case -41:case -42:case -43:case -44:case -49:case -2:case -1:{ea=2766;break a}case -50:{ea=2749;break a}case -99:{ea=2593;break b}case -97:{ea=2596;break b}case -96:{ea=2599;break b}case -98:{ea=2600;break b}case -93:{ea=2606;break b}case -92:{ea=2607;break b}case -88:{ea=2611;break b}case 0:{b=c[P>>2]|0;i=b+(r>>>4&4080)|0;b=b+(r>>>12&1048560)|0;if(c[b>>2]&8|0){G=(c[b+8>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}if(!(c[i>>2]&8)){c[i>>2]=c[b>>2];c[i+4>>2]=c[b+4>>2];c[i+8>>2]=c[b+8>>2];c[i+12>>2]=c[b+12>>2];G=w;w=G;continue b}g=c[i+8>>2]|0;c[i>>2]=c[b>>2];c[i+4>>2]=c[b+4>>2];c[i+8>>2]=c[b+8>>2];c[i+12>>2]=c[b+12>>2];F=g+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,g);G=w;w=G;continue b}case 1:{b=c[P>>2]|0;i=b+(r>>>4&4080)|0;b=b+(r>>>12&1048560)|0;if(c[i>>2]&8|0){G=(c[i+8>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}if(!(c[b>>2]&8)){c[b>>2]=c[i>>2];c[b+4>>2]=c[i+4>>2];c[b+8>>2]=c[i+8>>2];c[b+12>>2]=c[i+12>>2];G=w;w=G;continue b}g=c[b+8>>2]|0;c[b>>2]=c[i>>2];c[b+4>>2]=c[i+4>>2];c[b+8>>2]=c[i+8>>2];c[b+12>>2]=c[i+12>>2];F=g+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,g);G=w;w=G;continue b}case 3:{i=(c[P>>2]|0)+(r>>>4&4080)|0;g=H+(r>>>12&1048560)|0;if(c[g>>2]&8|0){G=(c[g+8>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}if(!(c[i>>2]&8)){c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];G=w;w=G;continue b}b=c[i+8>>2]|0;c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,b);G=w;w=G;continue b}case 4:{E=(c[P>>2]|0)+(r>>>4&4080)|0;G=c[E>>2]|0;F=E+8|0;b=c[F>>2]|0;c[E>>2]=0;h[F>>3]=+((r>>>16)+-32768|0);if(!(G&8)){G=w;w=G;continue b}F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,b);G=w;w=G;continue b}case 5:{E=(c[P>>2]|0)+(r>>>4&4080)|0;F=E+8|0;n=+h[F>>3];G=c[E>>2]|0;h[j>>3]=n;b=c[j>>2]|0;c[E>>2]=0;h[F>>3]=+(~~n<<16|r>>>16|0);if(!(G&8)){G=w;w=G;continue b}F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,b);G=w;w=G;continue b}case 6:{b=c[P>>2]|0;g=b+(r>>>12&1048560)|0;i=b+-16|0;if(c[i>>2]&8|0){G=(c[b+-8>>2]|0)+4|0;c[G>>2]=(c[G>>2]|0)+1}if(!(c[g>>2]&8)){c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];G=w;w=G;continue b}b=c[g+8>>2]|0;c[g>>2]=c[i>>2];c[g+4>>2]=c[i+4>>2];c[g+8>>2]=c[i+8>>2];c[g+12>>2]=c[i+12>>2];F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,b);G=w;w=G;continue b}case 7:{F=(c[P>>2]|0)+(r>>>12&1048560)|0;G=c[F>>2]|0;b=c[F+8>>2]|0;c[F>>2]=2;if(!(G&8)){G=w;w=G;continue b}F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>2]|0,b);G=w;w=G;continue b}case 8:{F=(c[P>>2]|0)+(r>>>12&1048560)|0;G=c[F>>2]|0;b=c[F+8>>2]|0;c[F>>2]=3;if(!(G&8)){G=w;w=G;continue b}F=b+4|0;G=(c[F>>2]|0)+-1|0;c[F>>2]=G;if(G|0){G=w;w=G;continue b}tr(c[R>>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0;h=Lc+16|0;g=Lc+8|0;qc=Lc+1448|0;rc=Lc+1440|0;sc=Lc+1432|0;yc=Lc+1428|0;zc=Lc+1456|0;Ac=Lc+1424|0;wc=Lc+1420|0;f=c[104292]|0;Bc=c[f+368>>2]|0;Fc=c[f+356>>2]|0;Ic=c[f+360>>2]|0;do if(!f){yV(386113,Lc);Ec=0}else{if(b|0?(c[b>>2]|0)==(f+280|0):0){Ec=c[b+48>>2]|0;break}yV(405341,g);Ec=0}while(0);if((Ec&2|0)==0|(Bc|0)!=4|(Fc|0)!=2|(Ic|0)!=0){f=c[104292]|0;if(!f){yV(386113,h);f=c[104292]|0;if(!f){yV(386113,i);f=c[104292]|0;if(!f)yV(386113,j);else Jc=14}else Jc=11}else{c[f+368>>2]=4;Jc=11}if((Jc|0)==11){c[f+356>>2]=2;Jc=14}if((Jc|0)==14)c[f+360>>2]=0;if((tV(b,Ec|2)|0)>=0){vc=1;Jc=16}}else{vc=0;Jc=16}if((Jc|0)==16){f=E2(324)|0;a:do if(!f)yV(392475,k);else{if(c[f+-4>>2]&3|0)x6(f|0,0,324)|0;tc=E2(308)|0;if(!tc){uV(f);yV(392475,m);break}if(c[tc+-4>>2]&3|0)x6(tc|0,0,308)|0;g=f+104|0;h=19492;i=g+84|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));hc=f+108|0;c[hc>>2]=10;uc=f+320|0;c[uc>>2]=tc;pc=f+188|0;c[pc>>2]=b;g=vV(b)|0;c[tc>>2]=g;if(!g){uV(f);break}if((wV(b,g)|0)<0){uV(f);break}h=c[104292]|0;b:do if(h){g=c[h+168>>2]|0;if(!g){yV(392391,p);Jc=
function EY(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;i=c[b+24>>2]|0;f=c[b+28>>2]|0;e=c[b>>2]|0;Y=(c[b+16>>2]|0)/4|0;d=c[b+20>>2]|0;X=c[b+36>>2]|0;y=c[b+48>>2]|0;b=f+-1|0;f=(f|0)==0;if(!y){if(f)return;g=(i+7|0)/8|0;f=i&255;a:while(1){switch(f&7){case 0:{h=g;k=d;d=7;break}case 7:{j=g;m=d;d=8;break}case 6:{l=g;o=d;d=9;break}case 5:{n=g;q=d;d=10;break}case 4:{p=g;s=d;d=11;break}case 3:{r=g;u=d;d=12;break}case 2:{t=g;w=d;d=13;break}case 1:{v=g;x=d;d=14;break}default:{d=15;break a}}while(1)if((d|0)==7){j=c[e>>2]|0;a[k>>0]=j>>>22&224|j>>>15&28|j>>>8&3;j=h;m=k+1|0;d=8;continue}else if((d|0)==8){l=c[e>>2]|0;a[m>>0]=l>>>22&224|l>>>15&28|l>>>8&3;l=j;o=m+1|0;d=9;continue}else if((d|0)==9){n=c[e>>2]|0;a[o>>0]=n>>>22&224|n>>>15&28|n>>>8&3;n=l;q=o+1|0;d=10;continue}else if((d|0)==10){p=c[e>>2]|0;a[q>>0]=p>>>22&224|p>>>15&28|p>>>8&3;p=n;s=q+1|0;d=11;continue}else if((d|0)==11){r=c[e>>2]|0;a[s>>0]=r>>>22&224|r>>>15&28|r>>>8&3;r=p;u=s+1|0;d=12;continue}else if((d|0)==12){t=c[e>>2]|0;a[u>>0]=t>>>22&224|t>>>15&28|t>>>8&3;t=r;w=u+1|0;d=13;continue}else if((d|0)==13){v=c[e>>2]|0;a[w>>0]=v>>>22&224|v>>>15&28|v>>>8&3;v=t;x=w+1|0;d=14;continue}else if((d|0)==14){W=c[e>>2]|0;d=x+1|0;a[x>>0]=W>>>22&224|W>>>15&28|W>>>8&3;if((v|0)>1){h=v+-1|0;k=d;d=7;continue}else break}if(!b){d=28;break}else{e=e+(Y<<2)|0;d=d+X|0;b=b+-1|0}}if((d|0)!=15)if((d|0)==28)return}else{if(f)return;h=(i+7|0)/8|0;g=i&255;b:while(1){switch(g&7){case 0:{z=h;B=d;K=e;d=18;break}case 7:{A=h;C=d;M=e;d=19;break}case 6:{D=d;J=h;O=e;d=20;break}case 5:{E=d;L=h;Q=e;d=21;break}case 4:{F=d;N=h;S=e;d=22;break}case 3:{G=d;P=h;U=e;d=23;break}case 2:{H=d;R=h;V=e;d=24;break}case 1:{I=d;T=h;W=e;d=25;break}default:{d=26;break b}}while(1)if((d|0)==18){A=c[K>>2]|0;a[B>>0]=a[y+(A>>>22&224|A>>>15&28|A>>>8&3)>>0]|0;A=z;C=B+1|0;M=K+4|0;d=19;continue}else if((d|0)==19){D=c[M>>2]|0;a[C>>0]=a[y+(D>>>22&224|D>>>15&28|D>>>8&3)>>0]|0;D=C+1|0;J=A;O=M+4|0;d=20;continue}else if((d|0)==20){E=c[O>>2]|0;a[D>>0]=a[y+(E>>>22&224|E>>>15&28|E>>>8&3)>>0]|0;E=D+1|0;L=J;Q=O+4|0;d=21;continue}else if((d|0)==21){F=c[Q>>2]|0;a[E>>0]=a[y+(F>>>22&224|F>>>15&28|F>>>8&3)>>0]|0;F=E+1|0;N=L;S=Q+4|0;d=22;continue}else if((d|0)==22){G=c[S>>2]|0;a[F>>0]=a[y+(G>>>22&224|G>>>15&28|G>>>8&3)>>0]|0;G=F+1|0;P=N;U=S+4|0;d=23;continue}else if((d|0)==23){H=c[U>>2]|0;a[G>>0]=a[y+(H>>>22&224|H>>>15&28|H>>>8&3)>>0]|0;H=G+1|0;R=P;V=U+4|0;d=24;continue}else if((d|0)==24){I=c[V>>2]|0;a[H>>0]=a[y+(I>>>22&224|I>>>15&28|I>>>8&3)>>0]|0;I=H+1|0;T=R;W=V+4|0;d=25;continue}else if((d|0)==25){d=c[W>>2]|0;f=I+1|0;a[I>>0]=a[y+(d>>>22&224|d>>>15&28|d>>>8&3)>>0]|0;d=W+4|0;if((T|0)>1){z=T+-1|0;B=f;K=d;d=18;continue}else break}if(!b){d=28;break}else{e=d+(Y<<2)|0;d=f+X|0;b=b+-1|0}}if((d|0)!=26)if((d|0)==28)return}}function FY(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=c[e+24>>2]|0;h=c[e+28>>2]|0;B=c[e+16>>2]|0;C=c[e+36>>2]|0;g=c[e+44>>2]|0;y=a[g+9>>0]|0;z=y&255;if(!h)return;A=(f+7|0)/8|0;x=f&255;q=g+28|0;r=g+32|0;s=g+29|0;t=g+33|0;u=g+30|0;v=g+34|0;w=g+31|0;p=g+35|0;f=c[e>>2]|0;g=c[e+20>>2]|0;a:while(1){h=h+-1|0;switch(x&7){case 0:{o=A;e=4;break}case 7:{o=A;e=10;break}case 6:{o=A;e=16;break}case 5:{o=A;e=22;break}case 4:{o=A;e=28;break}case 3:{o=A;e=34;break}case 2:{o=A;e=40;break}case 1:{o=A;e=46;break}default:{e=52;break a}}while(1)if((e|0)==4){n=c[f>>2]|0;e=n>>>22;i=e&255;j=n>>>12;k=j&255;l=n>>>2;m=l&255;n=d[386980+(n>>>30)>>0]|0;switch(y<<24>>24){case 1:{a[g>>0]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 2:{b[g>>1]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>(d[w>>0]|0)<<(d[p>>0]|0);break}case 3:{a[g+((d[r>>0]|0)>>>3&255)>>0]=e;a[g+((d[t>>0]|0)>>>3&255)>>0]=j;a[g+((d[v>>0]|0)>>>3&255)>>0]=l;break}case 4:{c[g>>2]=k>>>(d[s>>0]|0)<<(d[t>>0]|0)|i>>>(d[q>>0]|0)<<(d[r>>0]|0)|m>>>(d[u>>0]|0)<<(d[v>>0]|0)|n>>>
function ir(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;m=d+28|0;if(c[m>>2]|0){o=d+16|0;p=d+24|0;r=b+48|0;l=0;do{k=c[o>>2]|0;i=c[p>>2]|0;g=c[k+(i<<4)+(l<<2)>>2]|0;do if(g|0){h=c[g>>2]|0;do if(!(h&4)){c[g>>2]=h|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=h|12;e=k;g=i;h=k;i=k;break}f=e+1|0;c[r>>2]=f;if((h&3)==1){ir(b,g);e=c[o>>2]|0;j=e;g=c[p>>2]|0;f=c[r>>2]|0}else{j=k;g=i;e=k}c[r>>2]=f+-1;h=j;i=j}else{e=k;g=i;h=k;i=k}while(0);f=h+(l<<4)|0;if(!(a[h+(g*20|0)+l>>0]&8)){if(!f)break;if(!(c[f>>2]&8))break;f=c[h+(l<<4)+8>>2]|0;if(!f)break;g=c[f>>2]|0;if(g&4|0)break;c[f>>2]=g|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;break}e=e+1|0;c[r>>2]=e;if((g&3)==1){ir(b,f);e=c[r>>2]|0}c[r>>2]=e+-1;break}g=c[f>>2]|0;do if((g|0)!=0?(n=c[g>>2]|0,(n&4|0)==0):0){c[g>>2]=n|4;f=c[r>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=n|12;e=i;break}f=f+1|0;c[r>>2]=f;if((n&3)==1){ir(b,g);e=c[o>>2]|0;f=c[r>>2]|0}c[r>>2]=f+-1}else e=i;while(0);f=c[e+(l<<4)+4>>2]|0;if(f|0?(q=c[f>>2]|0,(q&4|0)==0):0){c[f>>2]=q|4;e=c[r>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=q|12;break}e=e+1|0;c[r>>2]=e;if((q&3)==1){ir(b,f);e=c[r>>2]|0}c[r>>2]=e+-1}}while(0);l=l+1|0}while(l>>>0<(c[m>>2]|0)>>>0)}k=d+32|0;e=c[k>>2]|0;if(e|0){h=d+16|0;i=d+24|0;j=b+48|0;g=0;do{f=c[i>>2]|0;f=(c[h>>2]|0)+(f*21|0)+(0-f&7)|0;r=f+(g<<4)|0;do if((((r|0)!=0?(c[r>>2]&8|0)!=0:0)?(s=c[f+(g<<4)+8>>2]|0,(s|0)!=0):0)?(t=c[s>>2]|0,(t&4|0)==0):0){c[s>>2]=t|4;f=c[j>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[s>>2]=t|12;break}f=f+1|0;c[j>>2]=f;if((t&3)==1){ir(b,s);e=c[k>>2]|0;f=c[j>>2]|0}c[j>>2]=f+-1}while(0);g=g+1|0}while(g>>>0<e>>>0)}f=c[d+20>>2]|0;do if(f|0?(u=c[f>>2]|0,(u&4|0)==0):0){c[f>>2]=u|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=u|12;break}e=e+1|0;c[g>>2]=e;if((u&3)==1){ir(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d>>2]|0;if(f&16384|0)return;if(f&2048|0){h=d+40|0;f=c[h>>2]|0;do if(f|0?(x=c[f>>2]|0,(x&4|0)==0):0){c[f>>2]=x|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=x|12;break}e=e+1|0;c[g>>2]=e;if((x&3)==1){ir(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+52>>2]|0;do if(f|0?(D=c[f>>2]|0,(D&4|0)==0):0){c[f>>2]=D|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=D|12;break}e=e+1|0;c[g>>2]=e;if((D&3)==1){ir(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+56>>2]|0;do if(f|0?(G=c[f>>2]|0,(G&4|0)==0):0){c[f>>2]=G|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=G|12;break}e=e+1|0;c[g>>2]=e;if((G&3)==1){ir(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);e=c[h>>2]|0;if(!e)return;f=e+24|0;h=d+44|0;e=c[h>>2]|0;if(f>>>0<e>>>0){i=b+48|0;do{do if(((f|0?c[f>>2]&8|0:0)?(J=c[f+8>>2]|0,J|0):0)?(K=c[J>>2]|0,(K&4|0)==0):0){c[J>>2]=K|4;g=c[i>>2]|0;if(g>>>0>255){c[b>>2]=c[b>>2]|1;c[J>>2]=K|12;break}g=g+1|0;c[i>>2]=g;if((K&3)==1){ir(b,J);g=c[i>>2]|0}c[i>>2]=g+-1}while(0);f=f+16|0}while(f>>>0<e>>>0);e=c[h>>2]|0}h=c[d+48>>2]|0;if(e>>>0>=h>>>0)return;i=b+48|0;do{g=c[e>>2]|0;do if(g|0?(P=c[g>>2]|0,(P&4|0)==0):0){c[g>>2]=P|4;f=c[i>>2]|0;if(f>>>0>255){c[b>>2]=c[b>>2]|1;c[g>>2]=P|12;break}f=f+1|0;c[i>>2]=f;if((P&3)==1){ir(b,g);f=c[i>>2]|0}c[i>>2]=f+-1}while(0);e=e+4|0}while(e>>>0<h>>>0);return}e=f>>>27;switch(e&31){case 16:{f=c[d+40>>2]|0;do if(f|0?(y=c[f>>2]|0,(y&4|0)==0):0){c[f>>2]=y|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=y|12;break}e=e+1|0;c[g>>2]=e;if((y&3)==1){ir(b,f);e=c[g>>2]|0}c[g>>2]=e+-1}while(0);f=c[d+44>>2]|0;if(!f)return;g=c[f>>2]|0;if(g&4|0)return;c[f>>2]=g|4;h=b+48|0;e=c[h>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;return}e=e+1|0;c[h>>2]=e;if((g&3)==1){ir(b,f);e=c[h>>2]|0}c[h>>2]=e+-1;return}case 15:{f=c[d+40>>2]|0;if(!f)return;g=c[f>>2]|0;if(g&4|0)return;c[f>>2]=g|4;h=b+48|0;e=c[h>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=g|12;return}e=e+1|0;c[h>>2]=e;if((g&3)==1){ir(b,f);e=c[h>>2]|0}c[h>>2]=e+-1;return}default:{if(f&8192|0){f=c[d+40>>2]|0;do if(f|0?(z=c[f>>2]|0,(z&4|0)==0):0){c[f>>2]=z|4;g=b+48|0;e=c[g>>2]|0;if(e>>>0>255){c[b>>2]=c[b>>2]|1;c[f>>2]=z|12;break}e=e+1|0;c[g
function W1(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;u=(j|0)/2|0;s=(k<<1)+j|0;if((i+1|0)>>>0<3|(j+1|0)>>>0<3)return;t=u<<1;r=h+(j<<2)+(k<<2)|0;p=(i|0)/2|0;while(1){q=e+t|0;m=u;n=e+j|0;o=r;k=f;i=g;l=h;while(1){m=m+-1|0;y=d[k>>0]|0;x=(c[a+(y<<2)>>2]|0)+256|0;v=d[i>>0]|0;y=(c[a+((y|256)<<2)>>2]|0)+1024+(c[a+((v|512)<<2)>>2]|0)|0;v=(c[a+((v|768)<<2)>>2]|0)+1792|0;w=d[e>>0]|0;c[l>>2]=c[b+(w+y<<2)>>2]|c[b+(w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k)break;else{m=m+4|0;n=n+4|0;o=o+4|0;p=p+4|0}}j=j+-1|0;if(!j)break;else{h=h+q|0;i=i+(r<<1)+(l<<1)|0;f=f+q|0}}return}function Z1(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;q=((k|0)/2|0)+j|0;r=(j|0)/2|0;if((i|0)==0|(j+1|0)>>>0<3)return;o=r<<2;p=r<<1;n=e;while(1){k=r;j=f;f=f+o|0;e=g;l=h;m=n;while(1){k=k+-1|0;w=d[j>>0]|0;v=(c[a+(w<<2)>>2]|0)+256|0;t=d[e>>0]|0;w=(c[a+((w|256)<<2)>>2]|0)+1024+(c[a+((t|512)<<2)>>2]|0)|0;t=(c[a+((t|768)<<2)>>2]|0)+1792|0;s=d[m>>0]|0;s=c[b+(s+w<<2)>>2]|c[b+(s+v<<2)>>2]|c[b+(s+t<<2)>>2];c[l+(q<<2)>>2]=s;c[l>>2]=s;s=l+4|0;u=d[m+2>>0]|0;t=c[b+(u+w<<2)>>2]|c[b+(u+v<<2)>>2]|c[b+(u+t<<2)>>2];c[s+(q<<2)>>2]=t;c[s>>2]=t;if(!k)break;else{j=j+4|0;e=e+4|0;l=l+8|0;m=m+4|0}}i=i+-1|0;if(!i)break;else{g=g+o|0;h=h+(p<<2)+(q<<2)|0;n=n+o|0}}return}function _1(b,e,f,g,h,i,j,k,l){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=(k|0)/2|0;r=l*3|0;if((j|0)==0|(k+1|0)>>>0<3)return;p=s<<2;q=s*6|0;o=f;while(1){l=s;k=g;g=g+p|0;f=h;m=i;n=o;while(1){l=l+-1|0;w=d[k>>0]|0;v=(c[b+(w<<2)>>2]|0)+256|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$W,aX,bX,cX,dX,eX,fX,gX,hX,iX,jX,kX,lX,mX,nX,oX,pX,qX,rX,sX,tX,uX,vX,wX,xX,yX,zX,AX,BX,CX,DX,EX,FX,GX,HX,IX,JX,KX,LX,MX,NX,OX,PX,QX,RX,SX,TX,UX,VX,WX,XX,YX,ZX,_X,$X,aY,bY,cY,dY,eY,fY,gY,hY,iY,jY,kY,lY,mY,nY,oY,pY,qY,rY,sY,tY,uY,vY,wY,xY,yY,NY,OY,PY,QY,LY,MY,jZ,kZ,lZ,mZ,fZ,gZ,hZ,iZ,tZ,uZ,vZ,wZ,pZ,qZ,rZ,sZ,mm,nm,rm,zm,Am,ck,fk,Ik,cl,ql,Al,Ql,Vl,Wl,Yl,om,qm,Dm,Fm,Gm,Km,Lm,Rl,Sl,Dk,jj,On,Pn,Qn,Yn,rq,sq,tq,uq,vq,wq,xq,yq,zq,Aq,Bq,Cq,Dq,Eq,Fq,Gq,H
2018-02-10 09:08:14 +01:00
// EMSCRIPTEN_END_ASM
2018-08-11 09:00:26 +02:00
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var ___divdi3=Module["___divdi3"]=asm["___divdi3"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___remdi3=Module["___remdi3"]=asm["___remdi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _emscripten_GetProcAddress=Module["_emscripten_GetProcAddress"]=asm["_emscripten_GetProcAddress"];var _free=Module["_free"]=asm["_free"];var _htonl=Module["_htonl"]=asm["_htonl"];var _htons=Module["_htons"]=asm["_htons"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _llvm_bswap_i16=Module["_llvm_bswap_i16"]=asm["_llvm_bswap_i16"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _main=Module["_main"]=asm["_main"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var _memset=Module["_memset"]=asm["_memset"];var _ntohs=Module["_ntohs"]=asm["_ntohs"];var _realloc=Module["_realloc"]=asm["_realloc"];var _round=Module["_round"]=asm["_round"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _strstr=Module["_strstr"]=asm["_strstr"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var setThrew=Module["setThrew"]=asm["setThrew"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var stackSave=Module["stackSave"]=asm["stackSave"];var dynCall_dd=Module["dynCall_dd"]=asm["dynCall_dd"];var dynCall_ddd=Module["dynCall_ddd"]=asm["dynCall_ddd"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_did=Module["dynCall_did"]=asm["dynCall_did"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_iiiiidii=Module["dynCall_iiiiidii"]=asm["dynCall_iiiiidii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=asm["dynCall_iiiiiiiiii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_vd=Module["dynCall_vd"]=asm["dynCall_vd"];var dynCall_vdd=Module["dynCall_vdd"]=asm["dynCall_vdd"];var dynCall_vdddd=Module["dynCall_vdddd"]=asm["dynCall_vdddd"];var dynCall_vdddddd=Module["dynCall_vdddddd"]=asm["dynCall_vdddddd"];var dynCall_vdi=Module["dynCall_vdi"]=asm["dynCall_vdi"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_vidd=Module["dynCall_vidd"]=asm["dynCall_vidd"];var dynCall_viddd=Module["dynCall_viddd"]=asm["dynCall_viddd"];var dynCall_vidddd=Module["dynCall_vidddd"]=asm["dynCall_vidddd"];var dynCall_viddddddddddddii=Module["dynCall_viddddddddddddii"]=asm["dynCall_viddddddddddddii"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viiddddddi=Module["dynCall_viiddddddi"]=asm["dynCall_viiddddddi"];var dynCall_viidddddi=Module["dynCall_viidddddi"]=asm["dynCall_viidddddi"];var dynCall_viiddddi=Module["dynCall_viiddddi"]=asm["dynCall_vii
2018-02-10 09:08:14 +01:00