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

29 lines
4.3 MiB
JavaScript
Raw Normal View History

2018-02-26 12:06:23 +01: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-02-26 12:06:23 +01: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_iiiiiiii;var ha=env.invoke_iiiiiiiii;var ia=env.invoke_iiiiiiiiii;var ja=env.invoke_v;var ka=env.invoke_vd;var la=env.invoke_vdd;var ma=env.invoke_vdddd;var na=env.invoke_vdddddd;var oa=env.invoke_vdi;var pa=env.invoke_vi;var qa=env.invoke_vid;var ra=env.invoke_vidd;var sa=env.invoke_viddd;var ta=env.invoke_vidddd;var ua=env.invoke_viddddddddddddii;var va=env.invoke_vii;var wa=env.invoke_viid;var xa=env.invoke_viiddddddi;var ya=env.invoke_viidddddi;var za=env.invoke_viiddddi;var Aa=env.invoke_viidddi;var Ba=env.invoke_viiddi;var Ca=env.invoke_viii;var Da=env.invoke_viiii;var Ea=env.invoke_viiiidd;var Fa=env.invoke_viiiiddd;var Ga=env.invoke_viiiidddd;var Ha=env.invoke_viiiiddddd;var Ia=env.invoke_viiiiddddddd;var Ja=env.invoke_viiiii;var Ka=env.invoke_viiiiii;var La=env.invoke_viiiiiii;var Ma=env.invoke_viiiiiiii;var Na=env.invoke_viiiiiiiii;var Oa=env.invoke_viiiiiiiiiii;var Pa=env.invoke_viiiiiiiiiiii;var Qa=env.invoke_viiiiiiiiiiiii;var Ra=env.___assert_fail;var Sa=env.___buildEnvironment;var Ta=env.___lock;var Ua=env.___setErrNo;var Va=env.___syscall10;var Wa=env.___syscall140;var Xa=env.___syscall145;var Ya=env.___syscall146;var Za=env.___syscall15;var _a=env.___syscall195;var $a=env.___syscall197;var ab=env.___syscall220;var bb=env.___syscall221;var cb=env.___syscall330;var db=env.___syscall39;var eb=env.___syscall40;var fb=env.___syscall5;var gb=env.___syscall54;var hb=env.___syscall6;var ib=env.___syscall63;var jb=env.___syscall85;var kb=env.___unlock;var lb=env.__addDays;var mb=env.__arraySum;var nb=env.__emscripten_sample_gamepad_data;var ob=env.__isLeapYear;var pb=env.__registerRestoreOldStyle;var qb=env.__setLetterbox;var rb=env._abort;var sb=env._clock;var tb=env._clock_gettime;var ub=env._difftime;var vb=env._dlclose;var wb=env._dlerror;var xb=env._dlsym;var yb=env._eglBindAPI;var zb=env._eglChooseConfig;var Ab=env._eglCreateContext;var Bb=env._eglCreateWindowSurface;var Cb=env._eglDestroyContext;var Db=env._eglDestroySurface;var Eb=env._eglGetConfigAttrib;var Fb=env._eglGetDisplay;var Gb=env._eglGetProcAddress;var Hb=env._eglInitialize;var Ib=env._eglMakeCurrent;var Jb=env._eglSwapBuffers;var Kb=env._eglSwapInterval;var Lb=env._eglTerminate;var Mb=env._eglWaitClient;var Nb=env._eglWaitGL;var Ob=env._eglWaitNative;var Pb=env._emscripten_asm_const_i;var Qb=env._emscripten_asm_const_ii;var Rb=env._emscripten_asm_const_iii;var Sb=env._emscripten_asm_const_iiii;var Tb=env._emscripten_asm_const_iiiii;var Ub=env._emscripten_async_wget;var Vb=env._emscripten_cancel_main_loop;var Wb=env._emscripten_do_request_fullscreen;var Xb=env._emscripten_exit_fullscreen;var Yb=env._emscripten_exit_pointerlock;var Zb=env._emscripten_get_device_pixel_ratio;var _b=env._emscripten_get_element_css_size;var $b=env._emscripten_get_game
2018-02-10 09:08:14 +01:00
// EMSCRIPTEN_START_FUNCS
2018-02-26 12:06:23 +01:00
function IF(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[6840+(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=GM(b,l)|0;n=CF(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]=QF(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=JF(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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b;return b|0}o=f+-1|0;while(1){g=h+5|0;f=d[g>>0]|0;a:do if(!((f^3)&s)){c[e>>2]=c[h>>2];switch(a[h+4>>0]|0){case 9:{Oz(b,h);break a}case 6:{j=h+6|0;g=a[j>>0]|0;if(!(g<<24>>24))g=g&255;else{i=0;while(1){f=c[h+16+(i<<2)>>2]|0;if(((f|0)!=0?(m=f+4|0,n=(c[m>>2]|0)+-1|0,c[m>>2]=n,(n|0)==0):0)?(c[f>>2]|0)==(f+8|0):0){n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,f,24,0)|0;f=n+12|0;c[f>>2]=(c[f>>2]|0)+-24;f=a[j>>0]|0}else f=g;i=i+1|0;g=f&255;if((i|0)>=(g|0))break;else g=f}}m=g<<2;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,m+16|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-16-m|0:0)+(c[n>>2]|0);break a}case 38:{m=d[h+6>>0]<<4;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,m+16|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-16-m|0:0)+(c[n>>2]|0);break a}case 5:{g=c[h+16>>2]|0;if((g|0)!=348144){m=32<<d[h+7>>0];n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,g,m,0)|0;n=n+12|0;c[n>>2]=(g|0?0-m|0:0)+(c[n>>2]|0)}l=c[h+12>>2]|0;m=c[h+8>>2]<<4;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,l,m,0)|0;n=n+12|0;c[n>>2]=(l|0?0-m|0:0)+(c[n>>2]|0);n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,32,0)|0;n=n+12|0;c[n>>2]=(h|0?-32:0)+(c[n>>2]|0);break a}case 8:{n=h+-4|0;m=h+28|0;g=c[m>>2]|0;k=h+32|0;f=c[k>>2]|0;if(f){l=h+12|0;do{i=c[f>>2]|0;if(i>>>0<g>>>0)break;j=f+8|0;c[k>>2]=c[j>>2];if(c[f+4>>2]|0){c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[f>>2]=j;if((c[f+16>>2]&64|0?(q=c[l>>2]|0,r=c[j>>2]|0,(d[q+61>>0]|0)<2):0)?a[r+5>>0]&3:0)Pz(q,r)}else{j=c[l>>2]|0;Th[c[j>>2]&63](c[j+4>>2]|0,f,24,0)|0;j=j+12|0;c[j>>2]=(f|0?-24:0)+(c[j>>2]|0)}f=c[k>>2]|0}while((f|0)!=0);g=c[m>>2]|0}if(g|0){c[h+16>>2]=h+48;l=h+60|0;i=c[l>>2]|0;c[l>>2]=0;if(!i)f=h+12|0;else{f=h+12|0;g=i;do{k=g;g=c[g+12>>2]|0;l=c[f>>2]|0;Th[c[l>>2]&63](c[l+4>>2]|0,k,36,0)|0;l=l+12|0;c[l>>2]=(k|0?-36:0)+(c[l>>2]|0)}while((g|0)!=0);g=c[m>>2]|0}l=c[h+92>>2]<<4;m=c[f>>2]|0;Th[c[m>>2]&63](c[m+4>>2]|0,g,l,0)|0;m=m+12|0;c[m>>2]=(g|0?0-l|0:0)+(c[m>>2]|0)}m=c[p>>2]|0;Th[c[m>>2]&63](c[m+4>>2]|0,n,116,0)|0;n=m+12|0;c[n>>2]=(c[n>>2]|0)+-116;break a}case 7:{m=c[h+12>>2]|0;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,m+24|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-24-m|0:0)+(c[n>>2]|0);break a}case 4:{i=c[p>>2]|0;g=(c[i+24>>2]|0)+(((c[i+32>>2]|0)+-1&c[h+8>>2])<<2)|0;f=c[g>>2]|0;if((f|0)!=(h|0))do{g=f+12|0;f=c[g>>2]|0}while((f|0)!=(h|0));c[g>>2]=c[h+12>>2];m=i+28|0;c[m>>2]=(c[m>>2]|0)+-1;m=d[h+7>>0]|0;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,m+17|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-17-m|0:0)+(c[n>>2]|0);break a}case 20:{m=c[h+12>>2]|0;n=c[p>>2]|0;Th[c[n>>2]&63](c[n+4>>2]|0,h,m+17|0,0)|0;n=n+12|0;c[n>>2]=(h|0?-17-m|0:0)+(c[n>>2]|0);break a}default:break a}}else{a[g>>0]=f&248|t;e=h}while(0);h=c[e>>2]|0;g=(h|0)==0;f=g^1;if(!((o|0)!=0&f))break;else o=(f<<31>>31)+o|0}b=g?0:e;return b|0}function Sz(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;m=l;l=l+16|0;n=m;k=c[b+12>>2]|0;f=k+96|0;h=c[f>>2]|0;c[f>>2]=c[h>>2];f=k+64|0;c[h>>2]=c[f>>2];c[f>>2]=h;f=h+5|0;g=d[f>>0]|0;a[f>>0]=g&247;if(((a[k+61>>0]|0)+-2&255)<4)a[f>>0]=a[k+60>>0]&3|g&240;i=h;g=a[h+4>>0]|0;j=(g|64)&255;switch(g&15){case 5:{f=h+24|0;break}case 7:{f=h+8|0;break}default:f=k+244+((j&15)<<2)|0}f=c[f>>2]|0;a:do if(!f)f=348128;else{h=c[k+156>>2]|0;f=(c[f+16>>2]|0)+(((1<<(d[f+7>>0]|0))+-1&c[h+8>>2])<<5)|0;while(1){if((c[f+24>>2]|0)==68?(c[f+16>>2]|0)==(h|0):0)break;g=c[f+28>>2]|0;if(!g){f=348128;break a}f=f+(g<<5)|0}}while(0);if((c[f+8>>2]&15|0)!=6){l=m;return}o=b+109|0;p=a[o>>0]|0;k=k+63|0;h=a[k>>0]|0;a[o>>0]=0;a[k>>0]=0;g=b+8|0;q=c[g>>2]|0;c[q>>2]=c[f>>2];c[q+4>>2]=c[f+4>>2];c[q+8>>2]=c[f+8>>2];c[q+12>>2]=c[f+12>>2];f=c[g>>2]|0;c[f+16>>2]=i;c[f+24>>2]=j;f=c[g>>2]|0;c[g>>2]=f+32;f=Hz(b,194,0,f-(c[b+28>>2]|0)|0,0)|0;a[o>>0]=p;a[k>>0]=h;if(!((e|0)!=0&(f|0)!=0)){l=m;return}if((f|0)!=2){q=f;xz(b,q)}f=c[g>>2]|0;if((c[f+-8>>2]&15|0)==4)f=(c[f+-16>>2]|0)+16|0;else f=289846;c[n>>2]=f;eA(b,289857,n)|0;q=5;xz(b,q)}function Tz(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;e=h;f=(c[a+8>>2]|0)+-32|0;g=a+106|0;d
function dv(e){e=e|0;var f=0,i=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+32|0;o=H+8|0;C=H;f=c[e+72>>2]|0;do if(f){k=c[f+16>>2]|0;if(!k){u=(c[f+4>>2]|0)>>>8<<24>>24;break}if(c[k>>2]&4096)u=b[k+46>>1]|0;else u=0}else u=0;while(0);p=u&7;v=u&8;q=Wx(e,3)|0;s=c[q+52>>2]|0;F=(u&32|0)!=0;a:do if(F){f=Yr(e,2)|0;k=e+68|0;m=e+64|0;n=c[m>>2]|0;switch((c[k>>2]|0)-n>>4|0){case 0:{qr(e,376,0);break}case 1:{qr(e,376,1);break}default:{y=n+16|0;c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];c[n>>2]=c[y>>2];c[n+4>>2]=c[y+4>>2];c[n+8>>2]=c[y+8>>2];c[n+12>>2]=c[y+12>>2];c[y>>2]=c[o>>2];c[y+4>>2]=c[o+4>>2];c[y+8>>2]=c[o+8>>2];c[y+12>>2]=c[o+12>>2];y=(f|0)==0&1;w=0;x=k;D=m;G=k;break a}}}else{G=e+68|0;y=v;w=Yr(e,(p|0)==5?3:2)|0;x=G;D=e+64|0}while(0);bu(e,1);m=c[x>>2]|0;n=c[D>>2]|0;o=n;k=m-o>>4;f=k>>>0>1?n+16|0:0;f=(f|0)==0?368:f;if((c[f>>2]|0)==0?(i=+h[f+8>>3],(w4(i)|0)!=0):0)if(!(i<-2147483648.0))if(i>2147483647.0)E=2147483647;else E=~~i;else E=-2147483648;else E=0;if((p|0)==5){f=k>>>0>2?n+32|0:0;f=(f|0)==0?368:f;if((c[f>>2]|0)==0?(r=+h[f+8>>3],(w4(r)|0)!=0):0)if(!(r<-2147483648.0)){k=~~r;if(!(r>2147483647.0)){if(!((E|0)<0|(k+-1|0)>>>0>5))t=24}else k=2147483647}else k=-2147483648;else k=0}else{k=d[289302+p>>0]|0;if((E|0)>=0)t=24}b:do if((t|0)==24){if((m|0)==(o|0))qr(e,300,0);r=+or(e,n);o=c[D>>2]|0;t=c[o>>2]|0;p=o+8|0;f=c[p>>2]|0;c[o>>2]=0;h[p>>3]=r;if(t&8|0?(p=f+4|0,t=(c[p>>2]|0)+-1|0,c[p>>2]=t,(t|0)==0):0)er(c[e+44>>2]|0,f);f=c[q+40>>2]|0;n=c[q+48>>2]|0;t=c[f+16>>2]|0;m=t-n|0;m=t>>>0<n>>>0?0:m>>>0>=s>>>0?s:m;if(f){if(!(c[f>>2]&128))f=f+24|0;else f=c[f+20>>2]|0;n=f+n|0;switch(u&7){case 0:{if((E+1|0)>>>0>m>>>0)break b;a[n+E>>0]=ft(e,0)|0;break}case 1:{if((E+2|0)>>>0>m>>>0)break b;x=(ft(e,0)|0)&65535;D=a6(x|0)|0;y=(y|0)==0?x:D;b[C>>1]=y;D=n+E|0;a[D>>0]=y;a[D+1>>0]=y>>8;break}case 2:{if((E+4|0)>>>0>m>>>0)break b;x=ft(e,0)|0;D=b6(x|0)|0;y=(y|0)==0?x:D;c[C>>2]=y;D=n+E|0;a[D>>0]=y;a[D+1>>0]=y>>8;a[D+2>>0]=y>>16;a[D+3>>0]=y>>24;break}case 3:{if((E+4|0)>>>0>m>>>0)break b;f=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)==0):0)er(c[e+44>>2]|0,f);o=n+E|0;n=~~i>>>0;f=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;while(1){m=q+m|0;a[o+m>>0]=n;n=Z5(n|0,f|0,8)|0;if((m|0)==(p|0))break;else f=z}break}default:break b}if(F){e=0;l=H;return e|0}f=c[G>>2]|0;if(f>>>0>=(c[e+56>>2]|0)>>>0)ar(e,4274);c[G>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+((k+E|0)>>>0);e=1;l=H;return e|0}}while(0);if(!w)Rq(e,288136,50334425,279560);if(F){e=0;l=H;return e|0}f=c[G>>2]|0;if(f>>>0>=(c[e+56>>2]|0)>>>0)ar(e,4274);c[G>>2]=f+16;c[f>>2]=0;h[f+8>>3]=+((k+E|0)>>>0);e=1;l=H;return e|0}function ev(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0.0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0;b=c[a+72>>2]|0;if(!b)Rq(a,278331,100663686,288163);if(!(c[b+52>>2]&4))Rq(a,278331,100663686,288163);n=a+68|0;j=a+64|0;b=c[j>>2]|0;if((c[n>>2]|0)==(b|0))qr(a,376,0);switch(c[b>>2]|0){case 9:{b=c[b+8>>2]|0;d=c[b>>2]|0;if(!(d&8192))Rq(a,288136,100663514,288152);el
function km(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=l;l=l+4128|0;v=B+32|0;w=B;x=b+16|0;c[x>>2]=(c[x>>2]|0)+1;i=c[b>>2]|0;h=i+65416|0;if(c[h>>2]|0?(j=b+28|0,(c[j>>2]|0)>=0):0){u=c[2]|0;do if(!(Th[c[u+2439804>>2]&63](u,66,20,3)|0)){e=c[2]|0;f=e+65416|0;g=e+2439804|0;if(((!(Th[c[g>>2]&63](e,a[f>>0]|0,20,3)|0)?!(Th[c[g>>2]&63](e,a[f+1>>0]|0,20,3)|0):0)?!(Th[c[g>>2]&63](e,a[f+2>>0]|0,20,3)|0):0)?!(Th[c[g>>2]&63](e,a[f+3>>0]|0,20,3)|0):0)break;f=i+2439804|0;e=a[h>>0]|0;if(!(Th[c[f>>2]&63](i,e,-1,-1)|0)){e=a[h+1>>0]|0;if(!(Th[c[f>>2]&63](i,e,-1,-1)|0)){e=a[h+2>>0]|0;if(!(Th[c[f>>2]&63](i,e,-1,-1)|0)){e=a[h+3>>0]|0;if(!(Th[c[f>>2]&63](i,e,-1,-1)|0))break}}}a[144+(c[j>>2]|0)>>0]=e;s=c[b+4>>2]|0;u=s+4096|0;j4(v,u)|0;g6(u|0,0,4096)|0;qk(s,90342,144,32,1)|0;j4(u,v)|0}while(0);c[j>>2]=-1}if((c[18]|0)!=10){l=B;return}e=b+8|0;if(!(a[e>>0]|0)){s=c[2]|0;u=s+1309616|0;u=d[u>>0]|d[u+1>>0]<<8;Ai[c[s+2439748>>2]&7](s,0,(u&65535)>>>8&15,u&7,-1,0,15,0);a[e>>0]=1}e6(c[b>>2]|0,c[b+12>>2]|0,16320)|0;i=b+52|0;switch(c[i>>2]|0){case 0:{z=c[b>>2]|0;if(Th[c[z+2439796>>2]&63](z,0,30,5)|0){e=b+20|0;f=c[e>>2]|0;do{f=(f|0)<1?4:(f+-1|0)%5|0;c[e>>2]=f}while(!(a[c[1840+(f<<2)>>2]>>0]|0));y=c[2]|0;z=y+1309748|0;z=d[z>>0]|d[z+1>>0]<<8;Ai[c[y+2439748>>2]&7](y,2,(z&65535)>>>8&15,z&7,-1,0,15,0)}z=c[b>>2]|0;s=b+20|0;if(Th[c[z+2439796>>2]&63](z,1,30,5)|0){e=c[s>>2]|0;do{e=(e+1|0)%5|0;c[s>>2]=e}while(!(a[c[1840+(e<<2)>>2]>>0]|0));y=c[2]|0;z=y+1309748|0;z=d[z>>0]|d[z+1>>0]<<8;Ai[c[y+2439748>>2]&7](y,2,(z&65535)>>>8&15,z&7,-1,0,15,0)}z=c[b>>2]|0;if(Th[c[z+2439796>>2]&63](z,4,-1,-1)|0)di[c[1860+(c[s>>2]<<2)>>2]&511](b);m=c[b>>2]|0;lm(b);n=82-(c[b+32>>2]|0)|0;o=53-(c[b+36>>2]|0)|0;p=m+2439660|0;q=n+-7|0;r=n+86|0;e=0;while(1){j=c[1840+(e<<2)>>2]|0;if(a[j>>0]|0){k=o+(e*7|0)|0;f=c[2]|0;z=d[f+65412>>0]|0;g=d[f+65413>>0]|0;if(!((z|0)>=(r|0)|(z|0)<(n|0)|(g|0)<(k|0))?(t=k+7|0,(g|0)<(t|0)):0){z=f+16379|0;a[z>>0]=a[z>>0]&-128|1;if(((a[84]|0)!=0?(z=c[22]|0,(z|0)>=(n|0)&(z|0)<(r|0)):0)?(z=c[23]|0,(z|0)>=(k|0)&(z|0)<(t|0)):0){c[s>>2]=e;f=1}else f=0;if((((a[85]|0?(z=c[22]|0,(z|0)>=(n|0)&(z|0)<(r|0)):0)?(z=c[23]|0,(z|0)>=(k|0)&(z|0)<(t|0)):0)?(z=c[24]|0,(z|0)>=(n|0)&(z|0)<(r|0)):0)?(z=c[25]|0,(z|0)>=(k|0)&(z|0)<(t|0)):0)break;g=c[p>>2]|0;i=k+1|0;if(f)Vh[g&31](m,j,n,i,10)|0;else{h=10;f=i;A=44}}else{h=15;g=c[p>>2]|0;f=k+1|0;A=44}if((A|0)==44){A=0;Vh[g&31](m,j,n,f,0)|0;Vh[c[p>>2]&31](m,j,n,k,h)|0}if((e|0)==(c[s>>2]|0)){Qi(q,k+1|0,90360,0);Qi(q,k,90360,15)}}e=e+1|0;if(e>>>0>=5){A=85;break}}if((A|0)==85){l=B;return}a[85]=0;di[c[1860+(e<<2)>>2]&511](b);l=B;return}case 1:{u=b+28|0;if((c[u>>2]|0)<0?(t=c[b>>2]|0,Th[c[t+2439796>>2]&63](t,4,-1,-1)|0):0){c[i>>2]=0;s=c[2]|0;t=s+1309748|0;t=d[t>>0]|d[t+1>>0]<<8;Ai[c[s+2439748>>2]&7](s,2,(t&65535)>>>8&15,t&7,-1,0,15,0)}lm(b);j=c[b>>2]|0;n=60-(c[b+32>>2]|0)|0;o=37-(c[b+36>>2]|0)|0;k=n+25|0;m=o+49|0;g=c[2]|0;e=d[g+65412>>0]|0;f=d[g+65413>>0]|0;if(((e|0)>=(k|0)?(p=n+49|0,!((e|0)>=(p|0)|(f|0)<(m|0))):0)?(q=o+55|0,(f|0)<(q|0)):0){t=g+16379|0;a[t>>0]=a[t>>0]&-128|1;if((a[84]|0)!=0?(t=c[22]|0,(t|0)>=(k|0)&(t|0)<(p|0)):0){h=c[23]|0;h=(h|0)<(q|0)&(h|0)>=(m|0)}else h=0;if((((a[85]|0?(t=c[22]|0,(t|0)>=(k|0)&(t|0)<(p|0)):0)?(t=c[23]|0,(t|0)>=(m|0)&(t|0)<(q|0)):0)?(t=c[24]|0,(t|0)>=(k|0)&(t|0)<(p|0)):0)?(t=c[25]|0,(t|0)>=(m|0)&(t|0)<(q|0)):0){a[85]=0;c[u>>2]=-1;c[i>>2]=0;b=g+1309748|0;b=d[b>>0]|d[b+1>>0]<<8;Ai[c[g+2439748>>2]&7](g,2,(b&65535)>>>8&15,b&7,-1,0,15,0);l=B;return}f=j+2439660|0;g=c[f>>2]|0;e=o+50|0;if(h)Vh[g&31](j,90368,k,e,10)|0;else{h=10;A=67}}else{f=j+2439660|0;h=15;e=o+50|0;g=c[f>>2]|0;A=67}if((A|0)==67){Vh[g&31](j,90368,k,e,0)|0;Vh[c[f>>2]&31](j,90368,k,m,h)|0}r=n+18|0;Qi(r,e,90373,0);Qi(r,m,90373,15);r=o+4|0;t=c[b>>2]|0;s=t+2439688|0;yi[c[s>>2]&15](t,k,r,90,41,15);j=t+2439676|0;ri[c[j>>2]&63](t,k,r,8);i=n+114|0;ri[c[j>>2]&63](t,i,r,8);r=o+44|0;ri[c[j>>2]&63](t,k,r,0);ri[c[j>>2]&63](t,i,r,0);yi[c[s>>2]&15](t,n+26|0,o+45|0,88,1,0);t=b+24|0;s=o+47|0;ri[((c[t>>2]|0)==0?6:5)&63](b,n+98|0,s,0);ri[((c[t>>2]|0)==1?6:5)&63](b,n+82|0,s,1);ri[((c[t>>2]|0)==2?6:5)&63](b,n+66|0,s,2);ri[((c
function lt(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;t=b+68|0;o=c[t>>2]|0;q=b+64|0;e=c[q>>2]|0;f=o-e>>4;s=((d|0)<0?f:0)+d|0;if(s>>>0>=f>>>0)qr(b,300,d);r=(s|0)<0;d=(r?f:0)+s|0;d=d>>>0<f>>>0?e+(d<<4)|0:0;d=(d|0)==0?368:d;if((c[d>>2]|0)!=8)Qq(b,2101,s,297274);d=c[d+8>>2]|0;if(!d)Qq(b,2101,s,297274);l=d+28|0;k=l+(c[d+20>>2]|0)|0;a:do if(l>>>0<k>>>0){h=l;b:while(1){if(h>>>0<l>>>0){n=25;break}e=h+1|0;d=a[h>>0]|0;f=d&255;do if(d<<24>>24<=-1){if((d&255)<192){n=25;break b}if((d&255)<224){g=1;d=f&31;break}if((d&255)<240){g=2;d=f&15;break}if((d&255)<248){g=3;d=f&7;break}if((d&255)<252){g=4;d=f&3;break}if((d&255)>=254)if(d<<24>>24==-1){n=25;break b}else{g=6;d=0;break}else{g=5;d=f&1;break}}else{g=0;d=f&127}while(0);if((e+g|0)>>>0>k>>>0){n=25;break}if(g)while(1){f=e+1|0;d=a[e>>0]&63|d<<6;if((g|0)>1){e=f;g=g+-1|0}else{e=f;break}}c:do switch(d>>8|0){case 0:{switch((d&255)<<24>>24){case -96:case 32:case 12:case 11:case 9:break;default:n=31}break}case 32:{if((d&255)>>>0>=11)switch((d&255)<<24>>24){case 47:case 95:break;default:n=31}break}default:{if((d|0)<8232)if((d|0)<5760)switch(d|0){case 10:case 13:break c;default:{i=h;n=33;break b}}else switch(d|0){case 5760:case 6158:break c;default:{i=h;n=33;break b}}if((d|0)<12288)switch(d|0){case 8232:case 8233:break c;default:{i=h;n=33;break b}}if((d|0)<65279)switch(d|0){case 12288:break c;default:{i=h;n=33;break b}}else switch(d|0){case 65279:break c;default:{i=h;n=33;break b}}}}while(0);d:do if((n|0)==31){n=0;if((d|0)<8232)switch(d|0){case 10:case 13:break d;default:{i=h;n=33;break b}}else switch(d|0){case 8232:case 8233:break d;default:{i=h;n=33;break b}}}while(0);if(e>>>0<k>>>0)h=e;else{i=e;n=33;break}}if((n|0)==25)rr(b,279731,282);else if((n|0)==33){if((i|0)==(k|0)){m=k;p=k;break}else j=k;e:while(1){d=j;do{if(d>>>0<=l>>>0)break;d=d+-1|0}while((a[d>>0]&-64)<<24>>24==-128);if(!(d>>>0>=l>>>0&d>>>0<k>>>0)){n=55;break}h=d+1|0;e=a[d>>0]|0;f=e&255;do if(e<<24>>24<=-1){if((e&255)<192){n=55;break e}if((e&255)<224){g=1;e=f&31;break}if((e&255)<240){g=2;e=f&15;break}if((e&255)<248){g=3;e=f&7;break}if((e&255)<252){g=4;e=f&3;break}if((e&255)>=254)if(e<<24>>24==-1){n=55;break e}else{g=6;e=0;break}else{g=5;e=f&1;break}}else{g=0;e=f&127}while(0);if((h+g|0)>>>0>k>>>0){n=55;break}if(g)while(1){e=a[h>>0]&63|e<<6;if((g|0)>1){h=h+1|0;g=g+-1|0}else break}f:do switch(e>>8|0){case 0:{switch((e&255)<<24>>24){case -96:case 32:case 12:case 11:case 9:break;default:n=61}break}case 32:{if((e&255)>>>0>=11)switch((e&255)<<24>>24){case 47:case 95:break;default:n=61}break}default:{if((e|0)<8232)if((e|0)<5760)switch(e|0){case 10:case 13:break f;default:{m=j;p=i;break a}}else switch(e|0){case 5760:case 6158:break f;default:{m=j;p=i;break a}}if((e|0)<12288)switch(e|0){case 8232:case 8233:break f;default:{m=j;p=i;break a}}if((e|0)<65279)switch(e|0){case 12288:break f;default:{m=j;p=i;break a}}else switch(e|0){case 65279:break f;default:{m=j;p=i;break a}}}}while(0);g:do if((n|0)==61){n=0;if((e|0)<8232)switch(e|0){case 10:case 13:break g;default:{m=j;p=i;break a}}else switch(e|0){case 8232:case 8233:break g;default:{m=j;p=i;break a}}}while(0);if(d>>>0>l>>>0)j=d;else{m=d;p=i;break a}}if((n|0)==55)rr(b,279731,282)}}else{m=k;p=l}while(0);d=m>>>0<p>>>0?p:m;if((p|0)==(l|0)&(d|0)==(k|0))return;if(o>>>0>=(c[b+56>>2]|0)>>>0)ar(b,4300);d=(p|0)==0?0:d-p|0;if((d|0)<0)Rq(b,278346,50335961,278708);e=Vr(b,p,d)|0;f=c[t>>2]|0;c[t>>2]=f+16;c[f>>2]=8;c[f+8>>2]=e;e=e+4|0;c[e>>2]=(c[e>>2]|0)+1;e=c[q>>2]|0;f=(c[t>>2]|0)-e>>4;if(!f)qr(b,376,-1);g=e+(f+-1<<4)|0;d=(r?f:0)+s|0;if(d>>>0>=f>>>0)qr(b,376,s);r=e+(d<<4)|0;s=c[r>>2]|0;d=c[e+(d<<4)+8>>2]|0;c[r>>2]=c[g>>2];c[r+4>>2]=c[g+4>>2];c[r+8>>2]=c[g+8>>2];c[r+12>>2]=c[g+12>>2];c[g>>2]=2;c[t>>2]=(c[t>>2]|0)+-16;if(!(s&8))return;s=d+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;er(c[b+44>>2]|0,d);return}function mt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=a+68|0;e=c[a+64>>2]|0;f=(c[i>>2]|0)-e|0;g=f>>4;h=g+-1|0;if(!g)qr(a,300,-1);f=((f|0)<16?g:0)+h|0;e=f>>>0<g>>>0?e+(f<<4)|0:0;e=(e|0)==0?368:e;if((c[e>>2]|0)!=8)Qq(a,2101,h,297274);e=c[e+8>>2]|0;if(!e)Qq(
function tD(b){b=b|0;var d=0,e=0,f=0,i=0,j=0.0,k=0,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f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[d>>2]=c[X>>2];c[d+4>>2]=c[X+4>>2];c[d+8>>2]=c[X+8>>2];c[d+12>>2]=c[X+12>>2];f=f+16|0;d=d+-16|0}while(f>>>0<d>>>0);c[i>>2]=(c[i>>2]|0)+-16}c[W>>2]=e;c[w>>2]=k;d=c[y>>2]|0}else e=c[W>>2]|0;m=e+d|0;i=(n|0)!=0;k=r+-1|0;a[m+(i?0:k)>>0]=o;do if((r|0)>1){if(i){d=o;e=p;f=1;while(1){d=_5(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=_5(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){g6(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=gB(b,s)|0;d=z;if((r|0)<8?(q=$5(1,0,r<<3|0)|0,p=z,!(d>>>0<p>>>0|(d|0)==(p|0)&f>>>0<q>>>0)):0)bB(b,s,294023)|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)cB(k,292044,S);i=nz(k,n)|0;e6(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=_5(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=_5(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)cB(f,292044,T);e=nz(f,k)|0;e6(e|0,c[W>>2]
function Fi(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Gi(){return l|0}function Hi(a){a=a|0;l=a}function Ii(a,b){a=a|0;b=b|0;l=a;m=b}function Ji(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ki(a){a=a|0;z=a}function Li(){return z|0}function Mi(){var b=0,d=0,e=0,f=0,g=0;g=c[2]|0;e=g+65416|0;f=g+2439804|0;b=a[e>>0]|0;if(!((b+-1&255)<48?Th[c[f>>2]&63](g,b,20,3)|0:0))d=4;do if((d|0)==4){b=a[e+1>>0]|0;if((b+-1&255)<48?Th[c[f>>2]&63](g,b,20,3)|0:0)break;b=a[e+2>>0]|0;if((b+-1&255)<48?Th[c[f>>2]&63](g,b,20,3)|0:0)break;b=a[e+3>>0]|0;if((b+-1&255)>=48){g=0;return g|0}if(!(Th[c[f>>2]&63](g,b,20,3)|0)){g=0;return g|0}}while(0);g=Rh[c[g+2439800>>2]&255](g,64)|0;g=a[(g?38597:38548)+((b&255)+-1)>>0]|0;return g|0}function Ni(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(!(Ph[c[(c[36>>2]|0)+4>>2]&15]()|0)){m=0;l=n;return m|0}j=Ph[c[(c[36>>2]|0)+8>>2]&15]()|0;if(!j){m=0;l=n;return m|0}if(f){i=d4(j)|0;if((i|0)>0){f=0;h=0;do{g=a[j+h>>0]|0;if(!(F2(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=d4(j)|0;d=(f|0)==(d<<1|0);if(d?(a[m>>0]=a[38646]|0,a[m+1>>0]=a[38647]|0,a[m+2>>0]=a[38648]|0,a[m+3>>0]=a[38649]|0,a[m+4>>0]=a[38650]|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]=J2(m)|0;g=g+1|0;if((g|0)>=(k|0))break;else f=f+2|0}}o2(j);m=d;l=n;return m|0}function Oi(){return (c[80]|0)+8|0}function Pi(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;l5(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){di[c[f+2439784>>2]&511](f);h=c[2]|0;di[c[h+2439780>>2]&511](h)}else{di[c[f+2439780>>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:{Hl(c[79]|0,c[2]|0,c[284+((a[180]|0)*20|0)+8>>2]|0);break}case 2:{Wj(c[78]|0,c[77]|0,c[2]|0);break}case 11:{h=c[83]|0;di[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){Qi(k,0,38651,e);h=i<<3;Qi(k,1,38659+h|0,0)}else h=i<<3;Qi(k,0,38659+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;l5(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[17176+(h<<2)>>2]|0;switch(c[18]|0){case 3:{m=c[284+((a[178]|0)*20|0)>>2]|0;ji[c[m+65724>>2]&255](m,g);g=f;f=15;break b}case 4:{m=c[284+((a[179]|0)*20|0)+4>>2]|0;ji[c[m+68>>2]&255](m,g);g=f;f=15;break b}case 5:{m=c[284+((a[180]|0)*20|0)+8>>2]|0;ji[c[m+120>>2]&255](m,g);g=f;f=15;break b}case 7:{m=c[284+((a[181]|0)*20|0)+12>>2]|0;ji[c[m+40>>2]&255](m,g);g=f;f=15;break b}case 8:{m=c[284+((a[182]|0)*20|0)+16>>2]|0;ji[c[m+96>>2]&255](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);yi[c[(c[2]|0)+2439688>>2]&15](b,i,0,7,7,f);Qi(i,0,38863+(h<<3)|0,g);h=h+1|0}while((h|0)!=5);if(a[176]|0)return;n=(d4(228)|0)==0;f=c[(c[2]|0)+2439660>>2]|0;if(n){Vh[f&31](b,c[432+(o<<2)>>2]|0,42,1,3)|0;return}else{Vh[f&31](b,228,42,1,0)|0;return}}function Qi(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|0;p=b+5|0;j=b+6|0;i=0;while(1){h=i+d|0;g=a[e>>0]|0;if(g&1){g=c[2]|0;ri[c[g+2439676>>2]&63](g,k,h,f);g=a[e>>0]|0}if(g&2){g=c[2]|0;ri[c[g+2439676>>2]&63](g,j,h,f);g=a[e>>0]|0}if(g&4){g=c[2]|0;ri[c[g+2439676>>2]&63](g,p,h,f);g=a[e>>0]|0
function $Z(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;k=l;l=l+32|0;b=k+28|0;e=k+24|0;f=k+20|0;g=k+16|0;h=k+12|0;if(!(wZ(c[d+4>>2]|0,b,e,f,g,h)|0)){iV(329630,k);m=-1;l=k;return m|0}b=B_(c[b>>2]|0,c[e>>2]|0,c[f>>2]|0,c[g>>2]|0,c[h>>2]|0)|0;if(!b){iV(328970,k+8|0);b=0}else b=C_(c[d+12>>2]|0,c[d+16>>2]|0,b)|0;i=d+68|0;c[i>>2]=b;e=a[d+28>>0]|0;f=a[d+29>>0]|0;g=a[d+30>>0]|0;do if(b){h=c[b+52>>2]|0;a[h+76>>0]=e;a[h+77>>0]=f;a[h+78>>0]=g;o=h+68|0;n=c[o>>2]|0;g=(f&e)<<24>>24==-1&g<<24>>24==-1?n&-2:n|1;c[o>>2]=g;if(!((g|0)==(n|0)|(h|0)==0)){b=c[h>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)LV(b);c[h>>2]=0;c[h+84>>2]=0;c[h+80>>2]=0;b=h+64|0;o2(c[b>>2]|0);c[b>>2]=0;b=c[i>>2]|0;if(!b){b=0;break}else e=a[d+31>>0]|0}else e=a[d+31>>0]|0;f=c[b+52>>2]|0;a[f+79>>0]=e;h=f+68|0;o=c[h>>2]|0;n=e<<24>>24!=-1?o|2:o&-3;c[h>>2]=n;if(!((n|0)==(o|0)|(f|0)==0)){b=c[f>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)LV(b);c[f>>2]=0;c[f+84>>2]=0;c[f+80>>2]=0;b=f+64|0;o2(c[b>>2]|0);c[b>>2]=0;b=c[i>>2]|0}}else b=0;while(0);y_(b,c[d+24>>2]|0)|0;if(((c[d+8>>2]|0)==0?(j=c[i>>2]|0,j|0):0)?(m=c[j+52>>2]|0,j=m+68|0,o=c[j>>2]|0,n=o|4096,c[j>>2]=n,!((n|0)==(o|0)|(m|0)==0)):0){b=c[m>>2]|0;if(b|0?(n=b+56|0,o=c[n>>2]|0,c[n>>2]=o+-1,(o|0)<2):0)LV(b);c[m>>2]=0;c[m+84>>2]=0;c[m+80>>2]=0;o=m+64|0;o2(c[o>>2]|0);c[o>>2]=0}o=((c[i>>2]|0)==0)<<31>>31;l=k;return o|0}function a_(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;j=c[d+68>>2]|0;g=d+28|0;f=a[g>>0]|0;h=d+29|0;e=a[h>>0]|0;i=d+30|0;b=a[i>>0]|0;if((j|0)==0?1:(e&f&b)<<24>>24==-1){if(!j){j=-1;return j|0}}else{d=c[j+52>>2]|0;m=d+68|0;k=c[m>>2]|0;l=k&-4097;c[m>>2]=l;if(!((l|0)==(k|0)|(d|0)==0)){b=c[d>>2]|0;if(b|0?(l=b+56|0,m=c[l>>2]|0,c[l>>2]=m+-1,(m|0)<2):0)LV(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;f=d+64|0;o2(c[f>>2]|0);c[f>>2]=0;f=a[g>>0]|0;e=a[h>>0]|0;b=a[i>>0]|0}}d=c[j+52>>2]|0;a[d+76>>0]=f;a[d+77>>0]=e;a[d+78>>0]=b;k=d+68|0;m=c[k>>2]|0;l=(e&f)<<24>>24==-1&b<<24>>24==-1?m&-2:m|1;c[k>>2]=l;if((l|0)==(m|0)|(d|0)==0){m=0;return m|0}b=c[d>>2]|0;if(b|0?(l=b+56|0,m=c[l>>2]|0,c[l>>2]=m+-1,(m|0)<2):0)LV(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;m=d+64|0;o2(c[m>>2]|0);c[m>>2]=0;m=0;return m|0}function b_(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=c[d+68>>2]|0;d=d+31|0;b=a[d>>0]|0;if(b<<24>>24==-1)if(!f){f=-1;return f|0}else b=-1;else if((c[(c[f+4>>2]|0)+24>>2]|0)!=0?(e=c[f+52>>2]|0,i=e+68|0,g=c[i>>2]|0,h=g&-4097,c[i>>2]=h,!((h|0)==(g|0)|(e|0)==0)):0){b=c[e>>2]|0;if(b|0?(h=b+56|0,i=c[h>>2]|0,c[h>>2]=i+-1,(i|0)<2):0)LV(b);c[e>>2]=0;c[e+84>>2]=0;c[e+80>>2]=0;b=e+64|0;o2(c[b>>2]|0);c[b>>2]=0;b=a[d>>0]|0}d=c[f+52>>2]|0;a[d+79>>0]=b;g=d+68|0;i=c[g>>2]|0;h=b<<24>>24!=-1?i|2:i&-3;c[g>>2]=h;if((h|0)==(i|0)|(d|0)==0){i=0;return i|0}b=c[d>>2]|0;if(b|0?(h=b+56|0,i=c[h>>2]|0,c[h>>2]=i+-1,(i|0)<2):0)LV(b);c[d>>2]=0;c[d+84>>2]=0;c[d+80>>2]=0;i=d+64|0;o2(c[i>>2]|0);c[i>>2]=0;i=0;return i|0}function c_(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b+68>>2]|0;b=b+24|0;a=c[b>>2]|0;switch(a|0){case 4:case 2:{if((d|0)!=0?(e=c[d+52>>2]|0,h=e+68|0,f=c[h>>2]|0,g=f&-4097,c[h>>2]=g,!((g|0)==(f|0)|(e|0)==0)):0){a=c[e>>2]|0;if(a|0?(g=a+56|0,h=c[g>>2]|0,c[g>>2]=h+-1,(h|0)<2):0)LV(a);c[e>>2]=0;c[e+84>>2]=0;c[e+80>>2]=0;a=e+64|0;o2(c[a>>2]|0);c[a>>2]=0;a=c[b>>2]|0}break}default:{}}return y_(d,a)|0}function d_(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=c[b+68>>2]|0;a=c[l>>2]|0;if(a&2){h=l+28|0;b=c[h>>2]|0;if(!b){KV(l,1);a=c[l>>2]|2;c[l>>2]=a;b=c[h>>2]|0}c[h>>2]=b+1}i=l+16|0;b=d[(c[l+4>>2]|0)+9>>0]|0;j=O(c[e+8>>2]|0,b)|0;k=e+12|0;if((c[k>>2]|0)>0){a=(c[l+20>>2]|0)+(O(c[i>>2]|0,c[e+4>>2]|0)|0)|0;h=0;b=a+(O(b,c[e>>2]|0)|0)|0;a=f;while(1){e6(b|0,a|0,j|0)|0;h=h+1|0;if((h|0)>=(c[k>>2]|0))break;else{b=b+(c[i>>2]|0)|0;a=a+g|0}}a=c[l>>2]|0}if(!(a&2))return 0;b=l+28|0;h=c[b>>2]|0;if(!h)return 0;c[b>>2]=h+-1;if((h|0)>1)return 0;c[l>>2]=a&-3;OV(l)|0;return 0}function e_(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0;a=c[b+68>>2]|0;b=c[a+16>>2]|0;h=(c[a+20>>2]|0)+(O(b,c[e+4>>2]|0)|0)|0;c[f>>2]=h+(O(d[(c[a+4>>2]|0)+9>>0]|0,c[e>>2]|0)|0);c[g>>2]=b;return 0}function f_(a,b){a=a|0;b=b|0;return}func
function ks(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];rs(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}er(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}er(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}er(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}er(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}er(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]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;$=Lc+376|0;_=Lc+368|0;Z=Lc+360|0;Y=Lc+352|0;X=Lc+344|0;W=Lc+336|0;V=Lc+328|0;U=Lc+320|0;T=Lc+312|0;S=Lc+304|0;R=Lc+296|0;Q=Lc+288|0;P=Lc+280|0;O=Lc+272|0;N=Lc+264|0;M=Lc+256|0;L=Lc+248|0;K=Lc+240|0;J=Lc+232|0;I=Lc+224|0;H=Lc+216|0;G=Lc+208|0;F=Lc+200|0;E=Lc+192|0;D=Lc+184|0;C=Lc+176|0;B=Lc+168|0;A=Lc+160|0;z=Lc+152|0;y=Lc+144|0;x=Lc+136|0;w=Lc+128|0;v=Lc+120|0;u=Lc+112|0;t=Lc+104|0;s=Lc+96|0;r=Lc+88|0;q=Lc+80|0;p=Lc+72|0;o=Lc+64|0;n=Lc+56|0;m=Lc+48|0;k=Lc+40|0;j=Lc+32|0;i=Lc+24|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[88216]|0;Bc=c[f+368>>2]|0;Fc=c[f+356>>2]|0;Ic=c[f+360>>2]|0;do if(!f){iV(321817,Lc);Ec=0}else{if(b|0?(c[b>>2]|0)==(f+280|0):0){Ec=c[b+48>>2]|0;break}iV(341045,g);Ec=0}while(0);if((Ec&2|0)==0|(Bc|0)!=4|(Fc|0)!=2|(Ic|0)!=0){f=c[88216]|0;if(!f){iV(321817,h);f=c[88216]|0;if(!f){iV(321817,i);f=c[88216]|0;if(!f)iV(321817,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((dV(b,Ec|2)|0)>=0){vc=1;Jc=16}}else{vc=0;Jc=16}if((Jc|0)==16){f=n2(324)|0;a:do if(!f)iV(328179,k);else{if(c[f+-4>>2]&3|0)g6(f|0,0,324)|0;tc=n2(308)|0;if(!tc){eV(f);iV(328179,m);break}if(c[tc+-4>>2]&3|0)g6(tc|0,0,308)|0;g=f+104|0;h=17968;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=fV(b)|0;c[tc>>2]=g;if(!g){eV(f);break}if((gV(b,g)|0)<0){eV(f);break}h=c[88216]|0;b:do if(h){g=c[h+168>>2]|0;if(!g){iV(328095,p);Jc=34;br
function nY(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>>>16&224|j>>>11&28|j>>>6&3;j=h;m=k+1|0;d=8;continue}else if((d|0)==8){l=c[e>>2]|0;a[m>>0]=l>>>16&224|l>>>11&28|l>>>6&3;l=j;o=m+1|0;d=9;continue}else if((d|0)==9){n=c[e>>2]|0;a[o>>0]=n>>>16&224|n>>>11&28|n>>>6&3;n=l;q=o+1|0;d=10;continue}else if((d|0)==10){p=c[e>>2]|0;a[q>>0]=p>>>16&224|p>>>11&28|p>>>6&3;p=n;s=q+1|0;d=11;continue}else if((d|0)==11){r=c[e>>2]|0;a[s>>0]=r>>>16&224|r>>>11&28|r>>>6&3;r=p;u=s+1|0;d=12;continue}else if((d|0)==12){t=c[e>>2]|0;a[u>>0]=t>>>16&224|t>>>11&28|t>>>6&3;t=r;w=u+1|0;d=13;continue}else if((d|0)==13){v=c[e>>2]|0;a[w>>0]=v>>>16&224|v>>>11&28|v>>>6&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>>>16&224|W>>>11&28|W>>>6&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>>>16&224|A>>>11&28|A>>>6&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>>>16&224|D>>>11&28|D>>>6&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>>>16&224|E>>>11&28|E>>>6&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>>>16&224|F>>>11&28|F>>>6&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>>>16&224|G>>>11&28|G>>>6&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>>>16&224|H>>>11&28|H>>>6&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>>>16&224|I>>>11&28|I>>>6&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>>>16&224|d>>>11&28|d>>>6&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 oY(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}els
function Xq(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;l=d+16|0;e=c[l>>2]|0;i=d+24|0;f=c[i>>2]|0;j=e+(f<<4)|0;k=e+(f*20|0)|0;g=c[d+28>>2]|0;if(g){h=b+44|0;do{g=g+-1|0;f=c[j+(g<<2)>>2]|0;do if(f|0){t=f+4|0;s=(c[t>>2]|0)+-1|0;c[t>>2]=s;if(!s)fs(c[h>>2]|0,f);if(!(a[k+g>>0]&8)){if(!(c[e+(g<<4)>>2]&8))break;f=c[e+(g<<4)+8>>2]|0;s=f+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)break;jr(c[h>>2]|0,f);break}f=c[e+(g<<4)>>2]|0;if(f|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,f);f=c[e+(g<<4)+4>>2]|0;if(f|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,f)}while(0)}while((g|0)!=0);f=c[i>>2]|0;e=c[l>>2]|0}g=e+(f*21|0)+(0-f&7)|0;e=c[d+32>>2]|0;if(e|0){f=b+44|0;do{e=e+-1|0;if(c[g+(e<<4)>>2]&8|0?(m=c[g+(e<<4)+8>>2]|0,s=m+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)jr(c[f>>2]|0,m)}while((e|0)!=0)}e=c[d+20>>2]|0;if(e|0?(s=e+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[b+44>>2]|0,e);f=c[d>>2]|0;if(f&16384|0)return;if(f&2048|0){i=d+40|0;e=c[i>>2]|0;if(e|0){f=e+24|0;h=d+44|0;e=c[h>>2]|0;if(f>>>0<e>>>0){g=b+44|0;do{if(c[f>>2]&8|0?(q=c[f+8>>2]|0,s=q+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)jr(c[g>>2]|0,q);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){g=b+44|0;do{f=c[e>>2]|0;s=f+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(!t)lr(c[g>>2]|0,f);e=e+4|0}while(e>>>0<h>>>0)}}e=c[d+52>>2]|0;if(e|0?(s=e+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)er(c[b+44>>2]|0,e);e=c[d+56>>2]|0;if(e|0?(s=e+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)er(c[b+44>>2]|0,e);e=c[i>>2]|0;if(!e)return;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;er(c[b+44>>2]|0,e);return}e=f>>>27;switch(e&31){case 16:{e=c[d+40>>2]|0;if(e|0?(s=e+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[b+44>>2]|0,e);e=c[d+44>>2]|0;if(!e)return;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;lr(c[b+44>>2]|0,e);return}case 15:{e=c[d+40>>2]|0;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;lr(c[b+44>>2]|0,e);return}default:{if(f&8192|0){e=c[d+40>>2]|0;if(e|0?(s=e+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)rt(c[b+44>>2]|0,e);e=c[d+44>>2]|0;if(!e)return;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;lr(c[b+44>>2]|0,e);return}if(f&1024|0){if(c[d+40>>2]&8|0?(n=c[d+48>>2]|0,s=n+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)jr(c[b+44>>2]|0,n);e=d+56|0;if(c[e>>2]&8|0?(o=c[e+8>>2]|0,s=o+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)jr(c[b+44>>2]|0,o);e=c[d+76>>2]|0;if((e|0)<=0)return;h=b+44|0;g=c[d+72>>2]|0;while(1){f=e;e=e+-1|0;if(c[g>>2]&8|0?(p=c[g+8>>2]|0,s=p+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)jr(c[h>>2]|0,p);if((f|0)<=1)break;else g=g+16|0}return}if(f&33554432|0){e=c[d+40>>2]|0;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(!t)lr(c[b+44>>2]|0,e);e=c[d+44>>2]|0;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;lr(c[b+44>>2]|0,e);return}if((e|0)!=18)return;f=c[d+52>>2]|0;g=d+68|0;e=c[g>>2]|0;h=b+44|0;if(f>>>0<e>>>0)do{if((c[f>>2]&8|0)!=0?(r=c[f+8>>2]|0,s=r+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0){jr(c[h>>2]|0,r);e=c[g>>2]|0}f=f+16|0}while(f>>>0<e>>>0);e=c[d+72>>2]|0;if(e|0)do{f=c[e+16>>2]|0;if(f|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,f);f=c[e+24>>2]|0;if(f|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,f);f=c[e+28>>2]|0;if(f|0?(s=f+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,f);e=c[e+20>>2]|0}while((e|0)!=0);f=d+100|0;e=0;do{g=c[f+(e<<2)>>2]|0;if(g|0?(s=g+4|0,t=(c[s>>2]|0)+-1|0,c[s>>2]=t,(t|0)==0):0)lr(c[h>>2]|0,g);e=e+1|0}while((e|0)!=51);e=c[d+84>>2]|0;if(!e)return;s=e+4|0;t=(c[s>>2]|0)+-1|0;c[s>>2]=t;if(t|0)return;lr(c[h>>2]|0,e);return}}}function Yq(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;g=a+52|0;h=a+64|0;i=a+68|0;j=a+56|0;k=a+60|0;f=b<<4;e=c[a+44>>2]|0;a=e+44|0;d=c[a>>2]|0;c[a>>2]=d+-1;if((d|0)<1)Tq(e,2);b=e+8|0;d=e+16|0;a=Sh[c[b>>2]&63](c[d>>2]|0,c[g>>2]|0,f)|0;if((f|0)==0|(a|0)!=0){if(!a){k=0;return k|0}}else{Tq(e,0);a=Sh[c[b>>2]&63](c[d>>2]|0,c[g>>2]|0,f)|0;if(!a){Tq(e,0);a=Sh[c[b>>2]&63](c[d>>2]|0,c[g>>2]|0,f)|0;if(!a){Tq(e,1);a=Sh[c[b>>2]&63](c[d>>2]|0,c[g>>2]|0,f)|0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:08:14 +01:00
// EMSCRIPTEN_END_ASM
2018-02-26 12:06:23 +01: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_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_viiddddi"];var dynCall_viidddi=Module["dynCall_viidddi"]=asm["dynCall_vi
2018-02-10 09:08:14 +01:00